OSDN Git Service

1998-10-18 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
[pf3gnuchains/gcc-fork.git] / gcc / ChangeLog
1 1998-10-18 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
2
3         * reorg.c (steal_delay_list_from_target) Check for insns that
4         modify the condition codes and effect the direction of the jump
5         in the sequence.
6
7 Sat Oct 17 13:09:09 1998  Graham  <grahams@rcp.co.uk>
8
9         * function.c (purge_addressof_1): Replace call to
10         emit_insns_before() with emit_insn_before().
11
12 Mon Oct 19 19:34:03 1998  Mike Stump <mrs@wrs.com>
13
14         * libgcc2.c (__pure_virtual): Call __terminate instead of _exit.
15
16 Mon Oct 19 13:26:24 1998  Bernd Schmidt <crux@pool.informatik.rwth-aachen.de> 
17
18         * jump.c (sets_cc0_p): Compile only if HAVE_cc0.
19
20 Mon Oct 19 11:40:56 1998  Jeffrey A Law  (law@cygnus.com)
21
22         * loop.c (scan_loop): Be more selective about what invariants are
23         moved out of a loop.
24
25 Mon Oct 19 10:46:58 PDT 1998 Jeff Law  (law@cygnus.com)
26
27         * version.c: Bump for snapshot.
28
29 Mon Oct 19 11:40:56 1998  Jeffrey A Law  (law@cygnus.com)
30
31         * libgcc2.c (eh_context_static): Do not call malloc to allocate the
32         static eh_context structure.
33
34 Mon Oct 19 10:45:40 1998  Bernd Schmidt <crux@pool.informatik.rwth-aachen.de> 
35
36         * combine.c (recog_for_combine): Lose PADDED_SCRATCHES arg.  All
37         callers changed.
38         (try_combine): Don't update max_scratch.
39         * flow.c (max_scratch, num_scratch): Delete variables.
40         (life_analysis_1): Don't initialize max_scratch.
41         (propagate_block): Don't update max_scratch.
42         (mark_set_1): Don't increment num_scratch.
43         * regs.h (max_scratch): Delete declaration.
44
45 Mon Oct 19 10:28:15 1998  Jeffrey A Law  (law@cygnus.com)
46
47         * reload1.c (reload_reg_free_before_p): Hack.  Return 0 if EQUIV
48         is nonzero.  This is temporary!
49
50         * sched.c (update_flow_info): Handle death notes made invalid by
51         instruction splitting.  Partially reverts Oct 15, 1998 patch.
52         * haifa-sched.c (update_flow_info): Likewise.
53
54 Sun Oct 18 17:31:26 1998  Jeffrey A Law  (law@cygnus.com)
55
56         * function.c (uninitialized_vars_warning): Do not warn for a VAR_DECL
57         if it has a nonzero DECL_INITIAL.
58
59 Sat Oct 17 23:18:08 1998  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
60
61         * Makefile.in (flow.o): Depend on recog.h.
62
63         * cpplib.h (directive_table): Add missing initializiers.
64         (finclude): Change type of variable `bsize' to size_t.
65         
66         * cse.c (rtx_cost): Mark parameter `outer_code' with ATTRIBUTE_UNUSED.
67
68         * dwarfout.h (dwarfout_label): Wrap prototype in macro RTX_CODE.
69
70         * fix-header.c (lookup_std_proto): Cast the result of `strlen' to
71         `int' when comparing against one.
72         (cpp_file_line_for_message): Mark parameter `pfile' with
73         ATTRIBUTE_UNUSED.
74         (cpp_fatal): Mark parameter `pfile' with ATTRIBUTE_UNUSED.
75
76         * flow.c: Include recog.h.
77         (sbitmap_copy): Cast arguments 1 & 2 of `bcopy' to (PTR).
78
79         * function.c (thread_prologue_and_epilogue_insns): Mark parameter
80         `f' with ATTRIBUTE_UNUSED.
81         (reposition_prologue_and_epilogue_notes): Likewise.
82
83         * genopinit.c (gen_insn): Cast argument of ctype functions to
84         `unsigned char'.
85
86         * haifa-sched.c: Include recog.h.
87         (blockage_range): Cast result of UNIT_BLOCKED macro to (int) when
88         comparing against one.
89
90         * libgcc2.a (__throw): Revert ATTRIBUTE_UNUSED change for now.
91
92         * mips-tfile.c (parse_end): Cast the argument of ctype function to
93         `unsigned char'.
94         (parse_ent): Likewise.
95         (parse_input): Likewise.
96
97         * optabs.c (init_libfuncs): Likewise.
98
99         * protoize.c (find_rightmost_formals_list): Likewise.
100
101         * recog.h (const_double_operand): Fix typo in prototype.
102
103         * tlink.c (scan_linker_output): Cast the argument of ctype
104         function to `unsigned char'.
105
106         * toplev.c (check_lang_option): Cast the result of `strlen' to
107         `int' when comparing against one.
108
109 >>>>>>> 1.2327
110 Sat Oct 17 13:09:09 1998  Graham  <grahams@rcp.co.uk>
111
112         * gcse.c (dump_cuid_table): Correct typo.
113
114 Sat Oct 17 11:02:47 1998  Nick Clifton  <nickc@cygnus.com>
115
116         * toplev.c (display_help): Prepend '-m' to target specific
117         options. 
118         (check_lang_option): Ignore text after end of first word of a
119         language specific option.
120
121 Sat Oct 17 02:26:03 1998  Bernd Schmidt <crux@pool.informatik.rwth-aachen.de> 
122
123         * reload1.c (reg_used_by_pseudo): New static variable.
124         (choose_reload_regs): Initialize it.
125         Use it instead of testing spill_reg_order to determine whether a
126         pseudo is live in a hard register across the current insn.
127         Fix a typo in a reference to reload_reg_rtx.
128
129         * flow.c (propagate_block): Replace code that computes and uses
130         regs_sometimes_live with simpler code that just walks the set of
131         currently live registers.
132
133         * Makefile.in (insn-extract.o): Fix dependencies.
134         * genextract.c (main): Generate includes for insn-config.h and
135         recog.h.
136         Delete generation of declarations which are now in recog.h.
137         * genrecog.c (main): Delete generation of definitions which are
138         now in recog.c.
139         * local-alloc.c (block_alloc): Use extract_insn and the variables
140         it sets up instead of looking up values by insn_code.
141         * recog.c (recog_operand, recog_operand_loc, recog_dup_loc,
142         recog_dup_num): Define here instead of generating the definition in
143         genrecog.c.
144         (recog_n_operands, recog_n_dups, recog_n_alternatives,
145         recog_operand_mode, recog_constraints, recog_operand_address_p):
146         New variables.
147         (extract_insn): New function.
148         * recog.h (extract_insn): Declare function.
149         (which_alternative, recog_n_operands, recog_n_dups,
150         recog_n_alternatives, recog_operand_mode, recog_constraints,
151         recog_operand_address_p): Declare variables.
152         * regclass.c (n_occurrences): New static function.
153         * reload.c (n_occurrences): Delete function.
154         (find_reloads): Use extract_insn.
155         * reload.h (n_occurrences): Delete declaration.
156
157 Sat Oct 17 01:17:51 1998  Jeffrey A Law  (law@cygnus.com)
158
159         * reload1.c (reload_as_needed): Fix test for when to call
160         update_eliminable_offsets.
161
162 Fri Oct 16 20:40:50 1998  J"orn Rennecke <amylaar@cygnus.co.uk>
163
164         Fix consistency problems with reg_equiv_{mem,address};
165         Improve reload inheritance;
166
167         * reload.c (reload_out_reg): New variable.
168         (loc_mentioned_in_p, remove_address_replacements): New functions.
169         (remove_replacements): Deleted.
170         (push_reload): Set reload_out_reg[i].
171         When merging, also set reload_{in,out}_reg[i], and remove
172         duplicate address reloads.
173         (combine_reloads): Copy reload_out_reg[i].
174         (find_reloads): Do make_memloc substitution also when
175         reg_equiv_memory_loc[regno] and num_not_at_initial_offset
176         are both nonzero.
177         Include *recog_operand_loc in commutativity operand changes.
178         Generate optional output reloads.
179         Delete reference to n_memlocs.  Don't set *recog_operand_loc before
180         processing operands.  Call make_memloc in reg_equiv_address code.
181         Set *recog_operand_loc only after processing operands, and only
182         if replace is true.  Return a value.
183         When changing address reload types for operands that didn't get
184         reloaded, use RELOAD_FOR_OPADDR_ADDRESS for
185         RELOAD_FOR_INPADDR_ADDRESS / RELOAD_FOR_OUTADDR_ADDRESS reloads.
186         Don't emit USEs for pseudo SUBREGs when not replacing.
187         (find_reloads_address): Do make_memloc substitution also when
188         reg_equiv_memory_loc[regno] and num_not_at_initial_offset
189         are both nonzero.
190         (find_reloads_toplev): Likewise.
191         Call make_memloc in reg_equiv_address code.
192         (debug_reload_to_stream): Add code to output reload_out_reg.
193         (make_memloc): Delete local variable i, ifdefed out code, and
194         references to memlocs and n_memlocs.
195         (memlocs, n_memlocs): Delete.
196         (push_secondary_reload): Clear reload_out_reg.
197         (find_reloads_address_1): Provide memrefloc argument to all calls
198         to find_reloads_address.
199         In AUTO_INC code, handle non-directly addressable equivalences properly.
200         * reload.h (reload_out_reg, num_not_at_initial_offset): Declare.
201         (find_reloads): Add return type.
202         (remove_address_replacements, deallocate_reload_reg): Declare.
203         * reload1.c (num_not_at_initial_offset): No longer static.
204         (delete_address_reloads, delete_address_reloads_1): Likewise.
205         (deallocate_reload_reg): New function.
206         (spill_reg_stored_to): New array.
207         (eliminate_regs): Don't substitute from reg_equiv_memory_loc.
208         (eliminate_regs_in_insn): Move assignments of previous_offset and
209         max_offset fields, and recalculation of num_not_at_initial_offset
210         into new static function:
211         (update_eliminable_offsets) .
212         (reload_as_needed): Call update_eliminable_offsetss after calling
213         find_reloads.
214         Call forget_old_reloads_1 with contents of reloaded auto_inc
215         expressions if the actual addressing can't be changed to match the
216         auto_inc.
217         (choose_reload_regs): For inheritance, replace
218         reload_reg_free_before_p test with reload_reg_used_at_all test, and
219         remove stand-alone reload_reg_used_at_all test.
220         Use reload_out_reg to determine which reload regs have output reloads.
221         Treat reload_override_in more similar to inherited reloads.
222         Handle (subreg (reg... for inheritance.
223         For flag_expensive_optimizations, add an extra pass to remove
224         unnecessary reloads from known working inheritance.
225         Delete obsolete code for pseudos replaced with MEMs.
226         Handle inheritance from auto_inc expressions.
227         (emit_reload_insns): If reload_in is a MEM, set OLD to 
228         reload_in_reg[j].
229         Don't reload directly from oldequiv; if it's a pseudo with a
230         stack slot, use reload_in[j].
231         Check that reload_in_reg[j] is a MEM before replacing reload_in
232         from reg_reloaded_contents.
233         Include non-spill registers in reload inheritance processing.
234         Also try to use reload_out_reg to set spill_reg_store /
235         reg_last_reload_reg.
236         In code to set new_spill_reg_store, use single_set to find out if
237         there is a single set.
238         Add code that allows to delete optional output reloads.
239         Add code to allow deletion of output reloads that use no spill reg.
240         At the end, set reload_override_in to oldequiv.
241         Also call delete_output_reload if reload_out_reg is equal to old
242         in oldequiv code.
243         Add code to call delete_output_reload for stores with no matching load.
244         Set / use spill_reg_stored_to.
245         Handle case where secondary output reload uses a temporary, but
246         actual store isn't found.
247         When looking for a store of a value not loaded in order to call
248         delete_output_reload, count_occurences should return 0 for no
249         loads; but discount inherited input reloadill_reg_stored_to.
250         Do checks for extra uses of REG.  Changed all
251         callers.
252         Use delete_address_reloads.
253         (reload): Take return value of find_reloads into account.
254         If a no-op set needs more than one reload, delete it.
255         (reload_reg_free_before_p): RELOAD_FOR_INPUT
256         can ignore RELOAD_FOR_INPUT_ADDRESS / RELOAD_FOR_INPADDR_ADDRESS
257         for the same operand.
258         (clear_reload_reg_in_use): Check for other reloads that keep a
259         register in use.
260         (reload_reg_free_for_value_p): handle RELOAD_FOR_OPERAND_ADDRESS /
261         RELOAD_FOR_OPADDR_ADDR.
262         Take into account when an address address reload is only needed
263         for the address reload we are considering.
264         (count_occurrences): Use rtx_equal_p for MEMs.
265         (inc_for_reload): Return instruction that stores into RELOADREG.
266         New argument two, IN, and rtx.  Changed all callers.
267         (calculate_needs_all_insns, reload_as_needed):
268         Don't clear after_call for a CLOBBER.
269         Keep track of how many hard registers need to be copied from
270         after_call, and don't clear after_call before we have seen
271         that much copies, or we see a different instruction.
272
273 Fri Oct 16 10:58:23 1998  Jeffrey A Law  (law@cygnus.com)
274
275         * flow.c (find_basic_blocks_1): Do not delete unreachable blocks
276         after reload has completed.
277
278 Fri Oct 16 17:26:10 1998  Dave Brolley  <brolley@cygnus.com>
279
280         * cpplib.c (cpp_get_token): Replace whitespace that occurs between
281         a macro name and the next token with a single blank if that whitespace
282         is in a macro buffer and the next token is not '('.
283
284 Fri Oct 16 15:44:02 1998  Dave Brolley  <brolley@cygnus.com>
285
286         * cccp.c (rescan): Handle multibyte chartacters ending in backslash.
287         (rescan): Ditto.
288         (skip_if_group): Ditto.
289         (skip_to_end_of_comment): Ditto.
290         (macarg1): Ditto.
291         (discard_comments): Ditto.
292         (change_newlines): Ditto.
293
294 Fri Oct 16 15:26:24 1998  Dave Brolley  <brolley@cygnus.com>
295
296         * c-lex.c (yylex): Fix unaligned access of wchar_t.
297
298 >>>>>>> 1.2326
299 Fri Oct 16 10:47:53 1998  Nick Clifton  <nickc@cygnus.com>
300
301         * config/arm/arm.h (TARGET_SWITCHES): Add --help documentation.
302         (TARGET_OPTIONS): Add --help documentation.
303
304 Fri Oct 16 11:49:01 1998  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
305
306         * rtl.h (sets_cc0_p): Revert Oct 14 ATTRIBUTE_NORETURN change.
307
308 Fri Oct 16 07:08:46 1998  Bruce Korb <korb@datadesign.com>
309         
310         * fixinc/* Moved in from ../contrib directory in preparation
311         for integrating it into the normal build process.  In particular,
312         fixinc/Makefile.in must be config-ed into the build directory
313         as fixinc/Makefile.  Proposed patches to ./Makefile.in and
314         ./configure.in will be "in the mail" momentarily.
315
316 Fri Oct 16 08:13:46 1998  David S. Miller  <davem@pierdol.cobaltnet.com>
317
318         * cse.c (cse_basic_block): Fixup hash flushing loop so we do not
319         accidently walk into the free list.  Comment how that can happen.
320         (invalidate): Fix indentation.
321
322 Thu Oct 15 23:53:29 1998 Bernd Schmidt <crux@pool.informatik.rwth-aachen.de>
323                          Jeffrey A Law  (law@cygnus.com)
324
325         * flow.c (life_analysis_1): Do not clobber regs_ever_live after
326         reload.  Never perform rescans of the insn chain after reload.
327         (propagate_block): Do not delete insn or create new autoinc addressing
328         modes after reload.
329
330         * jump.c (jump_optimize): Unconditionally use the code that was
331         previously conditional on PRESERVE_DEATH_INFO_REGNO_P.
332         * reload1.c (reload): When reloading is finished, delete all
333         REG_DEAD and REG_UNUSED notes.
334         (emit_reload_insns): Delete all code that was conditional on
335         PRESERVE_DEATH_INFO_REGNO_P.
336         (no_longer_dead_regs): Delete variable.
337         (reload_cse_delete_death_notes): Delete function.
338         (reload_cse_no_longer_dead): Delete function.
339         (reload_cse_regs_1): Delete all code to handle deletion of death
340         notes.
341         (reload_cse_noop_set_p): Likewise.
342         (reload_cse_simplify_set): Likewise.
343         (reload_cse_simplify_operands): Likewise.
344         (reload_cse_move2add): Likewise.
345         * reorg.c (used_spill_regs): Delete declaration.
346         (max_label_num_after_reload): Delete declaration.
347         (find_dead_or_set_registers): Don't assume that spill regs are
348         dead at a CODE_LABEL.
349         * rtlanal.c (dead_or_set_regno_p): Death notes are always accurate,
350         even after reload.
351         * sched.c (sched_analyze_insn): Likewise.
352         (update_flow_info): Likewise.
353         * haifa-sched.c (sched_analyze_insn): Likewise.
354         (update_flow_info): Likewise.
355         * tm.texi (PRESERVE_DEATH_INFO_REGNO_P): Delete documentation.
356         * toplev.c (max_label_num_after_reload): Delete variable.
357         (rest_of_compilation): Don't set max_label_num_after_reload.
358         Call life_analysis after reload_cse_regs if optimizing.
359         * config/gmicro/gmicro.h: Delete comment referring to
360         PRESERVE_DEATH_INFO_REGNO_P.
361         * config/i386/i386.h: Likewise.
362         * config/m88k/m88k.h: Likewise.
363         * config/m32r/m32r.h (PRESERVE_DEATH_INFO_REGNO_P): Delete definition.
364         * config/sh/sh.h: Likewise.
365
366 Thu Oct 15 19:48:41 1998  David Edelsohn  <edelsohn@mhpcc.edu>
367
368         * loop.c (strength_reduce): Restore marking bct_p as
369         ATTRIBUTE_UNUSED.
370         * rs6000.c (optimization_options): Change #ifdef HAIFA to
371         HAVE_decrement_and_branch_on_count.
372         (small_data_operand): Remove TARGET_ELF condition for marking
373         parameters ATTRIBUTE_UNUSED.
374         
375 Thu Oct 15 11:45:51 1998  Robert Lipe  <robertl@dgii.com>
376
377         * config/i386/sco5.h (MAX_OFILE_ALIGNMENT):  Define.
378         (SELECT_SECTION): Resync with svr4.h.
379
380 Thu Oct 15 12:42:13 1998  David Edelsohn  <edelsohn@mhpcc.edu>
381
382         * loop.c (strength_reduce): Undo Oct 14 change marking bct_p
383         ATTRIBUTE_UNUSED.
384
385 Thu Oct 15 00:57:55 1998  Robert Lipe  <robertl@dgii.com>
386
387         * c-pragma.c (handle_pragma_token): Test for null tree before
388         dereferencing TREE_CODE.
389
390 Thu Oct 15 17:36:48 1998  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
391
392         * config/c4x/c4x.c: Convert to use GEN_INT.
393         (c4x_parallel_process): Rework to handle new repeat loop structure.
394
395         * config/c4x/c4x.md: Convert to use GEN_INT. 
396         (rptb_end): Convert to use GE test.  Replace uses with clobbers.
397         (decrement_and_branch_on_count): Likewise.
398
399         * config/c4x/c4x.h (REPEAT_BLOCK_PROCESS): Deleted hook now that
400         loop.c has the desired functionality.
401         (rc_reg_operand): New prototype.
402
403         * config/c4x/t-c4x: Can now build all front ends.
404
405 Wed Oct 14 23:27:08 1998  Didier FORT (didier.fort@fedex.com)
406
407         * fixincludes: Fix up rpc/{clnt,svr,xdr}.h for SunOS.
408
409 Wed Oct 14 22:13:28 1998  Joel Sherrill (joel@OARcorp.com)
410
411         * Makefile.in (stmp-fixinc): Do not install assert.h if not desired.
412         * config/t-rtems: Do not install assert.h -- use newlib's.
413
414 Wed Oct 14 21:57:08 1998  J"orn Rennecke <amylaar@cygnus.co.uk>
415
416         * combine.c (combine_instructions): When finished, call init_recog.
417         * regmove.c (optimize_reg_copy_3): Reject volatile MEMs.
418
419 Wed Oct 14 16:10:22 1998  Per Bothner  <bothner@cygnus.com>
420
421         * toplev.c:  If flag_syntax_only, don't open or write assembler file.
422
423 Wed Oct 14 13:26:05 1998  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
424
425         * cppalloc.c (memory_full): Mark function prototype with
426         ATTRIBUTE_NORETURN.
427
428         * demangle.h (collect_exit): Likewise.
429
430         * fix-header.c (v_fatal, fatal): Likewise.
431
432         * gcc.c (pfatal_with_name, pfatal_pexecute, fatal, fancy_abort):
433         Likewise.
434
435         * gcov.c (print_usage): Likewise.
436
437         * genattr.c (fatal, fancy_abort): Likewise.
438
439         * genattrtab.c (fatal, fancy_abort): Likewise.
440
441         * gencodes.c (fatal, fancy_abort): Likewise.
442
443         * genconfig.c (fatal, fancy_abort): Likewise.
444
445         * genemit.c (fatal, fancy_abort): Likewise.
446
447         * genextract.c (fatal, fancy_abort): Likewise.
448
449         * genflags.c (fatal, fancy_abort): Likewise.
450
451         * genopinit.c (fatal, fancy_abort): Likewise.
452
453         * genoutput.c (fatal, fancy_abort): Likewise.
454
455         * genpeep.c (fatal, fancy_abort): Likewise.
456
457         * genrecog.c (fatal, fancy_abort): Likewise.
458
459         * libgcc2.c (__eprintf, __default_terminate, __sjthrow,
460         __sjpopnthrow, __throw): Likewise.
461
462         * objc/objc-act.c (objc_fatal): Likewise.
463
464         * protoize.c (usage, aux_info_corrupted,
465         declare_source_confusing): Likewise.
466
467         * rtl.c (dump_and_abort): Likewise.
468
469         * rtl.h (sets_cc0_p): Likewise.
470
471         * toplev.c (float_signal, pipe_closed): Likewise.
472         
473 1998-10-14  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
474
475         * dwarf2out.c (expand_builtin_dwarf_reg_size): Look at all ranges
476         when generating the decision tree for the general case.
477
478         * config/m68k/m68k.h (HARD_REGNO_MODE_OK): Don't accept modes
479         wider that 12 bytes in fpu regs or wider than 8 byte in fpa regs.
480
481 Wed Oct 14 11:14:02 1998  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
482
483         * Makefile.in (sched.o): Depend on recog.h.
484
485         * alias.c (REG_BASE_VALUE): Cast the result of REGNO() macro to
486         (unsigned) when comparing against one.
487         (find_base_value): Likewise.
488         (record_base_value): Cast variable `regno' to (unsigned) when
489         comparing against one.  Cast the result of REGNO() macro to
490         (unsigned) when comparing against one.
491         (memrefs_conflict_p): Change type of variables `r_x' and `r_y'  to
492         unsigned.
493         (init_alias_analysis): Add unsigned variable `ui'.  Use it as loop
494         variable where an unsigned index is needed.
495
496         * caller-save.c (init_caller_save): Cast `-1' to (enum insn_code)
497         before comparing against one.
498
499         * collect2.c: Add prototypes for functions `error', `fatal' and
500         `fatal_perror'.  Make these functions take variable arguments
501         instead of faking it with a fixed number of args.
502         (write_c_file_stat): Cast the argument of ctype macro to (unsigned
503         char).
504
505         * combine.c (can_combine_p): Mark parameter `pred' with
506         ATTRIBUTE_UNUSED.
507         (find_split_point): Cast variable `src' to (unsigned
508         HOST_WIDE_INT) when comparing against one.
509         (simplify_rtx): Cast 1 to (unsigned HOST_WIDE_INT) in shift.
510         (simplify_logical): Likewise.
511         (force_to_mode): Cast result of INTVAL() macro to (unsigned
512         HOST_WIDE_INT) when comparing against one.  Cast 1 to (unsigned
513         HOST_WIDE_INT) in shift.
514         (simplify_and_const_int): Cast result of INTVAL() macro to
515         `unsigned HOST_WIDE_INT' when comparing against one.
516         (merge_outer_ops): Cast variable const0 to `unsigned
517         HOST_WIDE_INT' when comparing against the result of
518         GET_MODE_MASK() macro.
519         (simplify_comparison): Likewise for variable `c0'.  Cast variable
520         `const_op' to `unsigned HOST_WIDE_INT' when comparing against
521         one.  Cast `1' to `unsigned HOST_WIDE_INT' in shift.  Cast the
522         result of `GET_MODE_MASK()/2' to `HOST_WIDE_INT' when comparing
523         against one.  Cast `1' to `unsigned HOST_WIDE_INT' in shift.  Cast
524         result of INTVAL() macro to `unsigned HOST_WIDE_INT' when
525         comparing against one.
526         (distribute_notes): Wrap variable `cc0_setter' in macro `HAVE_cc0'.
527
528         config/mips/mips.c (gen_int_relational): Cast result of INTVAL()
529         macro to `unsigned HOST_WIDE_INT' when comparing against one.
530         (output_block_move): Cast `sizeof' expression to (int) when
531         comparing against one.
532         (function_arg): Cast BITS_PER_WORD to `unsigned' when comparing
533         against one.
534         (save_restore_insns): Cast `base_offset' to `long' to match format
535         specifier in fprintf.
536
537         * config/mips/mips.h (Pmode): Cast the result of `Pmode' macro
538         to `enum machine_mode'.
539
540         * flow.c (life_analysis_1): Remove unused variable `insn'.
541
542         * gcc.c (translate_options): Move variables `j' and `k' into the
543         scope in which they are used.  Change their types to `size_t'.
544         (set_spec): Cast the argument of ctype macro to `unsigned char'.
545         (read_specs): Likewise.
546         (process_command): Cast `sizeof' to (int) when comparing against one.
547         (do_spec_1): Cast the argument of ctype macro to `unsigned char'.
548         (handle_braces): Cast both sides of `==' expression to `long' to
549         ensure sign matching.
550         (main): Cast variable `i' to `int' when comparing against one.
551
552         * gcov-io.h (__fetch_long): Change type of parameter `bytes' from
553         int to size_t.  Cast variable `i' to size_t when comparing against
554         one.
555
556         * genattrtab.c (convert_set_attr_alternative): Remove unused
557         parameter `insn_code'.  All callers changed.
558         (convert_set_attr): Likewise.
559
560         * genrecog.c (add_to_sequence): Cast result of XVECLEN() macro to
561         size_t when comparing against one.  Likewise for variable `len'.
562
563         * global.c (global_alloc): Cast variable `max_regno' to size_t
564         when comparing against one.  Likewise for variable `max_allocno'.
565
566         * jump.c (sets_cc0_p): Mark parameter `x' with ATTRIBUTE_UNUSED.
567
568         * local-alloc.c (validate_equiv_mem_from_store): Mark parameter
569         `set' with ATTRIBUTE_UNUSED.
570         (find_free_reg): Cast `sizeof' expression to (int) when comparing
571         against one.
572
573         * loop.c (count_loop_regs_set): Remove unused variable `dest'.
574         (strength_reduce): Mark parameter `bct_p' with ATTRIBUTE_UNUSED.
575         (get_condition): Cast variable `const_val' to `unsigned
576         HOST_WIDE_INT' when comparing against one.  Cast unsigned
577         expression to HOST_WIDE_INT when comparing against one.
578         (insert_loop_mem): Mark parameter `data' with ATTRIBUTE_UNUSED.
579         (load_mems_and_recount_loop_regs_set): Cast variable `nregs' to
580         `unsigned' when comparing against one.
581
582         * protoize.c (is_id_char): Change type of parameter `ch' to
583         unsigned char.
584         (munge_compile_params): Cast argument of ctype macro to (const
585         unsigned char).
586         (process_aux_info_file): Cast variable `aux_info_size' to int when
587         comparing against one.
588         (forward_to_next_token_char): Cast argument of ctype macro to
589         `const unsigned char'.
590         (edit_formals_lists): Likewise.
591         (find_rightmost_formals_list): Likewise.
592         (add_local_decl): Likewise.
593         (add_global_decls): Likewise.
594         (edit_fn_definition): Likewise.
595         (do_cleaning): Likewise.
596         (scan_for_missed_items): Likewise.
597         (edit_file): Cast variable `orig_size' to (int) when comparing
598         against one.
599         (main): Cast argument of ctype macro to `const unsigned char'.
600
601         * recog.c (const_int_operand): Mark parameter `mode' with
602         ATTRIBUTE_UNUSED.
603
604         * regclass.c (record_reg_classes): Change type of variable `c' to
605         `unsigned char'.  Cast `char' array index to `unsigned char'.
606
607         * reload.c (push_secondary_reload): Cast argument to
608         REG_CLASS_FROM_LETTER() macro to `unsigned char'.
609
610         * reload1.c (calculate_needs): Cast `char' array index to
611         `unsigned char'.
612         (set_label_offsets): Change type of variable `i' to unsigned int.
613         Cast result of XVECLEN() macro to unsigned when comparing against
614         one.
615         (mark_not_eliminable): Change type of variable `i' to unsigned.
616         (order_regs_for_reload): Likewise.  Cast `max_regno' to unsigned
617         when comparing against one.
618         (reload_as_needed): Cast macro NUM_ELIMINABLE_REGS to (int) when
619         comparing against one.
620         (choose_reload_regs): Hide unused label `fail'.
621         (reload_cse_simplify_operands): Cast `char' array index to
622         `unsigned char'.
623         (reload_combine_note_store): Mark parameter `set' with
624         ATTRIBUTE_UNUSED.  Cast UNITS_PER_WORD to unsigned when comparing
625         against one.
626         (reload_cse_move2add): Remove unused variable `src2'.
627
628         * sched.c: Include recog.h.
629         (sched_note_set): Remove unused parameter `b'.  All callers
630         changed.
631         (split_hard_reg_notes): Likewise for parameter `orig_insn'.
632         (blockage_range): Cast result of UNIT_BLOCKED() macro to (int)
633         when comparing against one.
634
635         * stupid.c (stupid_find_reg): Mark parameter `changes_size' with
636         ATTRIBUTE_UNUSED.  Cast `sizeof' expression to (int) when
637         comparing against one.
638
639         * unroll.c (precondition_loop_p): Remove unused parameter
640         `loop_end'.  All callers changed.
641
642 Tue Oct 13 22:12:11 1998  Bernd Schmidt <crux@pool.informatik.rwth-aachen.de>
643
644         * reload1.c (maybe_fix_stack_asms): New static function.
645         (reload): Call it.
646
647         * reload.h (compute_use_by_pseudos): Declare.
648
649         * reload1.c (spilled_pseudos, insns_need_reload): New variables.
650         (something_needs_reloads): Delete variable.
651         (finish_spills): New function.
652         (compute_use_by_pseudos): New function.
653
654         (delete_caller_save_insns): Lose argument FIRST.  All callers changed.
655         Use the reload_insn_chain instead of walking the rtl directly.
656
657         (reload): Allocate and free spilled_pseudos.
658         Ensure that all calls of spill_hard_reg are followed by a call to
659         finish_spills.
660         Use the insns_need_reload list instead of something_needs_reloads
661         to find out if reload_as_needed must be called.
662         Clear unused_insn_chains at the end.
663
664         (calculate_needs_all_insns): Lose FIRST parameter.  All callers
665         changed.
666         Delete code to keep track of current basic block.
667         Walk reload_insn_chain instead of the rtl structure.  Build the
668         insns_need_reload chain.
669         Remember which insns need reloading/elimination by setting the
670         appropriate fields in struct insn_chain, not by putting modes on the
671         insn.
672
673         (calculate_needs): Lose THIS_BLOCK arg.  Accept arg CHAIN instead of
674         arg INSN.  All callers changed.
675         Delete declaration of struct needs.
676         Don't set something_needs_reloads.
677         Record insn needs in the CHAIN argument.
678
679         (spill_hard_reg): Record the affected pseudos in spilled_pseudos.
680
681         (reload_as_needed): Lose FIRST arg.  All callers changed.
682         Walk the reload_insn_chain instead of the rtx structure.
683         Delete code to keep track of current basic block.
684         Rename one of the NEXT variables to OLD_NEXT.
685
686         (allocate_reload_reg): Accept arg CHAIN instead of arg INSN.  All
687         callers changed.
688         (choose_reload_regs): Likewise.
689
690         (emit_reload_insns): Replace INSN and BB args with arg CHAIN.  All
691         callers changed.
692         
693         * caller-save.c (MOVE_MAX_WORDS): New macro.  Use it throughout
694         instead of (MOVE_MAX / UNITS_PER_WORD) computation.
695         (hard_regs_live, hard_regs_need_restore): Delete variables.
696         (n_regs_saved): Now static.
697         (referenced_regs, this_insn_sets): New variables.
698
699         (setup_save_areas): Restructure the code a bit.
700
701         (restore_referenced_regs): Delete function.
702         (mark_referenced_regs): New function, similar to the old
703         restore_referenced_regs, but mark registers in referenced_regs.
704
705         (clear_reg_live): Delete function.
706         (mark_set_regs): Renamed from set_reg_live.  All callers changed.
707         Only mark registers in this_insn_sets.
708
709         (save_call_clobbered_regs): Rework this function to walk the
710         reload_insn_chain instead of using the list of instructions directly.
711         Delete code to keep track of register lives, compute live regs on the
712         fly from information in the chain.
713         Instead of calling restore_referenced_regs, use mark_referenced_regs,
714         then walk the set it computes and call insert_restore as appropriate.
715
716         (insert_restore): Lose INSN and BLOCK args.  Add CHAIN arg.  All
717         callers changed.
718         Restructure the code a bit.  Test hard_regs_saved instead of
719         hard_regs_need_restore.
720         (insert_save): Lose INSN and BLOCK args.  Add CHAIN and TO_SAVE
721         args.  All callers changed.
722         Restructure the code a bit.  Use TO_SAVE to determine which regs to
723         save instead of more complicated test.
724         (insert_one_arg): Lose INSN and BLOCK args.  Add CHAIN arg.  All
725         callers changed.
726         Create a new insn_chain structure for the new insn and place it
727         into the chain.
728
729         * rtl.texi: Update documentation to reflect that reload no longer
730         puts modes on the insns.
731
732 1998-10-14  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
733
734         * function.c (purge_addressof_1): Force the first argument of a
735         CALL insn to memory.
736
737 Wed Oct 14 00:38:40 1998  Jeffrey A Law  (law@cygnus.com)
738
739         * rtl.h: Delete duplicate prototypes.  Add some missing
740         prototypes.
741         * rtlanal.c: (for_each_rtx): Formatting tweak.
742
743 1998-10-13 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
744
745         * real.c (emdnorm and etoasc): Disable round to even for c4x target
746         to be compatible with TI compiler.
747
748         * Makefile.in (USER_H): Add va-c4x.h to definition.
749
750 Tue Oct 13 23:03:37 1998  Richard Henderson  <rth@cygnus.com>
751
752         * function.c (purge_addressof_1): Fix typo in inequality: do
753         bitfield optimization for equal mode sizes.
754         * expmed.c (store_bit_field): Don't take subregs of subregs in
755         the movstrict case.  Tidy a potential problem in the multi-word case.
756         (extract_bit_field): Likewise.
757
758 Tue Oct 13 22:12:11 1998  Bernd Schmidt <crux@pool.informatik.rwth-aachen.de>
759
760         * flow.c (find_basic_blocks): Emit NOPs after normal calls in this
761         function.
762         Compute max_uid_for_flow by calling get_max_uid after the scan.
763         (find_basic_blocks_1): Don't emit NOPs here.
764
765 Tue Oct 13 22:05:49 1998  Richard Henderson  <rth@cygnus.com>
766
767         * alias.c (base_alias_check): Accept new args for the modes of the
768         two references.  Use them to determine if an AND can overlap.  Update
769         all callers.
770         (memrefs_conflict_p): Assume sizes are aligned, and uses them
771         to determine if an AND can overlap.
772
773 Tue Oct 13 17:51:04 1998  Jim Wilson  <wilson@cygnus.com>
774
775         * config/m68k/m68k.h (HARD_REGNO_MODE_OK): For FP regs, add REGNO >= 16
776         check.  Add comment to document problems with TARGET_SUN_FPA version
777         of this macro.
778         * config/m68k/m68k.md (movxf+1): Support 'r'/'r' moves.
779
780 Tue Oct 13 17:46:18 1998  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
781
782         * Makefile.in (gencheck.o): Depend on gansidecl.h.
783
784         * c-common.c (print_char_table): Add missing initializers.
785         (scan_char_table): Likewise.
786         (time_char_table): Likewise.
787
788         * c-decl.c (c_decode_option): Mark parameter `argc' with
789         ATTRIBUTE_UNUSED.
790         (declare_parm_level): Mark parameter `definition_flag' with
791         ATTRIBUTE_UNUSED.
792
793         * c-lex.c (readescape): Use `(unsigned)1' in shift.
794         (yylex): Likewise.  Cast `sizeof' to an (int) when comparing
795         against one.
796
797         * calls.c (store_one_arg): Remove unused parameter `fndecl'.  All
798         callers changed.
799         (emit_call_1): Mark parameters `fndecl' and `funtype' with
800         ATTRIBUTE_UNUSED.
801         (expand_call): Cast result of MIN() to (unsigned int) when
802         comparing against an unsigned value.
803
804         * cccp.c (pcfinclude): Remove unused parameter `limit'.  All
805         callers changed.
806         (make_definition): Remove unused parameter `op'.  All callers
807         changed.
808         (create_definition): Cast REST_EXTENSION_LENGTH to (long) when
809         comparing against the result of pointer arithmetic.
810
811         * config/mips/mips.h (FUNCTION_ARG_BOUNDARY): Cast to (unsigned)
812         when comparing against one.
813
814         * dwarf2out.c (dwarf2out_frame_debug): Cast REGNO() and
815         HARD_FRAME_POINTER_REGNUM to (unsigned) when comparing against
816         one.
817         (output_die): Move variable `i' into the scope in which it is
818         used.  Change its type to `unsigned'.
819         (output_die): Cast the result of `strlen' to (int) when passing it
820         to ASM_OUTPUT_ASCII().
821         (output_pubnames): Likewise.
822         (output_line_info): Likewise.
823
824         * emit-rtl.c (global_rtl): Add missing initializers.
825
826         * explow.c (promote_mode): Mark parameter `for_call' with
827         ATTRIBUTE_UNUSED.
828
829         * expmed.c (expand_shift): Cast the result of GET_MODE_BITSIZE to
830         `unsigned HOST_WIDE_INT' when comparing against one.
831         (synth_mult): Change type of variable `cost' to int.
832         (emit_store_flag): Use `(unsigned HOST_WIDE_INT) 1' in shift.
833
834         * expr.c (copy_blkmode_from_reg): Cast BITS_PER_WORD to (unsigned)
835         when comparing against one.
836         (get_inner_reference): Change variable `alignment' to unsigned.
837         (expand_expr): Cast the result of GET_MODE_ALIGNMENT to (unsigned
838         int) when comparing against one.
839         (expand_builtin_setjmp): Change type of variable `i' to size_t.
840
841         * fold-const.c (div_and_round_double): Cast BASE to
842         (HOST_WIDE_INT) when comparing against one.
843
844         * gencheck.c: Include gansidecl.h.
845         (main): Mark parameter `argv' with ATTRIBUTE_UNUSED.
846
847         * optabs.c (gen_cond_trap): Mark parameters `code', `op2' and
848         `tcode' with ATTRIBUTE_UNUSED.
849
850         * real.c (edivm): Cast constant value to (unsigned long) in
851         expression compared against an unsigned value.
852
853         * stmt.c (expand_return): Cast BITS_PER_WORD to (unsigned) when
854         comparing against one.
855         (expand_end_case): Cast CASE_VALUES_THRESHOLD to (unsigned int)
856         when comparing against one.
857
858         * stor-layout.c (mode_for_size): Cast MAX_FIXED_MODE_SIZE to
859         (unsigned int) when comparing against one.  Likewise for
860         GET_MODE_BITSIZE.
861         (smallest_mode_for_size): Likewise.
862         (save_storage_status): Mark parameter `p' with ATTRIBUTE_UNUSED.
863         (restore_storage_status): Likewise.
864         
865         * toplev.c (debug_args): Add missing initializer.
866         (f_options): Spelling correction.  Add missing initializers.
867         (documented_lang_options): Likewise.
868         (debug_end_source_file): Mark parameter `lineno' with
869         ATTRIBUTE_UNUSED.
870
871         * tree.c (valid_machine_attribute): Mark parameters `attr_args',
872         `decl' and `type' with ATTRIBUTE_UNUSED.
873
874         * varasm.c (decode_reg_name): Cast `sizeof' expression to (int)
875         when comparing against one.
876         (assemble_variable): Mark parameter `top_level' with
877         ATTRIBUTE_UNUSED.
878         (assemble_external_libcall): Mark parameter `fun' with
879         ATTRIBUTE_UNUSED.
880         (output_constant_pool): Mark parameters `fnname' and `fndecl' with
881         ATTRIBUTE_UNUSED.
882
883 Tue Oct 13 12:51:04 1998  Nick Clifton  <nickc@cygnus.com>
884
885         * config/v850/lib1funcs.asm (_udivsi3): Add .type declaration.
886         Replace use of r5 with use of r19.
887
888         * config/v850/v850.h (LINK_POINTER_REGNUM): Define.
889
890         * config/v850/v850.c (compute_register_save_size): Allow for the
891         fact that helper functions save all registers, not just those used
892         by the function.
893         
894         Replace constant 31 with macro LINK_POINTER_REGNUM.
895
896         * config/v850/v850.md: Use 'indirect_operand' rather than
897         'memory_operand' for bit test/set/clear patterns.
898
899 Tue Oct 13 11:49:14 1998  Jason Merrill  <jason@yorick.cygnus.com>
900
901         * mips/iris6.h (ASM_OUTPUT_WEAK_ALIAS): Call ASM_GLOBALIZE_LABEL.
902         * varasm.c (assemble_start_function et al): Don't call
903         ASM_GLOBALIZE_LABEL for weak symbols.
904
905 Tue Oct 13 11:37:45 1998  Nick Clifton  <nickc@cygnus.com>
906
907         * cse.c (equiv_constant): Check for NULL return from
908         gen_lowpart_if_possible().
909
910 Tue Oct 13 11:24:51 1998  Jeffrey A Law  (law@cygnus.com)
911
912         * mn10200.md (addsi3, subsi3, negsi2): Only allow register operands.
913
914         * collect2.c (main): Pass -EL/-EB through to the compiler.
915
916 1998-10-12 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
917         
918         * expr.c (push_block): Handle targets where the stack grows
919         to higher addresses, but args grow to lower addresses and
920         ACCUMULATE_OUTGOING_ARGS is not defined.
921
922 Tue Oct 13 08:00:52 1998  Catherine Moore  <clm@cygnus.com>
923
924         * config/v850/v850.c (print_operand):  Extend meaning
925         of 'c' operands to support .vtinherit.
926
927 Tue Oct 13 21:38:35 1998  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
928
929         * config/c4x/c4x.c:  Convert to gen_rtx_FOO.
930         Added ATTRIBUTE_UNUSED to unused function arguments.
931         (rc_reg_operand): New predicate.
932         (c4x_rptb_insert): New function.
933         (c4x_rptb_nop_p): Recognize modified rptb_top pattern.
934         (c4x_optimization_options): New function.
935
936         * config/c4x/c4x.md: Convert to gen_rtx_FOO.
937          (decrement_and_branch_on_count): New pattern.
938          (rptb_top): Modified pattern to work with BCT optimization.
939         
940         * config/c4x/c4x.h (RC_REG): New register class.
941         (rc_reg_operand): Define prototype.
942         (IS_RC_REG): New macro.
943         (IS_RC_OR_PSEUDO_REG): New macro.
944         (IS_RC_OR_PSEUDO_REGNO): New macro.
945         (OPTIMIZATION_OPTIONS): Define.
946
947 Mon Oct 12 19:57:34 1998  Jason Merrill  <jason@yorick.cygnus.com>
948
949         * collect2.c (extract_init_priority): No priority is 65535.
950
951 Mon Oct 12 12:10:37 1998  Alexandre Oliva  <oliva@dcc.unicamp.br>
952         
953         * Makefile.in (build_tooldir): new variable, same as old
954         $(tooldir), but without depending on $(libdir)/$(unlibsubdir)
955         (GCC_FOR_TARGET): add -B$(build_tooldir)/bin/
956         (bootstrap, bootstrap2, bootstrap3, bootstrap4): ditto
957         
958         * configure.in (gxx_include_dir): set default based on unlibsubdir
959         * Makefile.in (tooldir): ditto
960         (cccp.o, cpplib.o): use unlibsubdir implicitly through
961         gxx_include_dir, includedir and tooldir
962         (protoize.o, unprotoize.o): ditto
963         
964 Mon Oct 12 10:50:44 1998  Nick Clifton  <nickc@cygnus.com>
965
966         * config/arm/arm.md: Replace (reg 24) with (reg:CC 24).
967
968         * config/arm/thumb.c (thumb_override_options): Add warning about
969         PIC code not being supported just yet.
970
971 Sun Oct 11 16:49:15 EDT 1998  John Wehle  (john@feith.com)
972
973         * flow.c: Update comment.
974         (notice_stack_pointer_modification): New static function.
975         (record_volatile_insns): Use it.
976         (mark_regs_live_at_end): Mark the stack pointer as alive
977         at the end of the function if current_function_sp_is_unchanging
978         is set.
979         (life_analysis_1): Set current_function_sp_is_unchanging.
980         * function.c: Define it.
981         (init_function_start): Initialize it.
982         * output.h: Declare it.
983         * reorg.c (fill_simple_delay_slots, dbr_schedule): Mark
984         the stack pointer as alive at the end of the function if
985         current_function_sp_is_unchanging is set.
986         * i386.c (ix86_epilogue): Optimize the restoring
987         of the stack pointer.
988
989 Mon Oct 12 01:22:53 PDT 1998 Jeff Law  (law@cygnus.com)
990
991         * version.c: Bump for snapshot.
992
993 Sun Oct 11 23:04:30 1998  Robert Lipe  <robertl@dgii.com>
994
995         * c-pragma.c (handle_pragma_token): If passed a token instead
996         of a tree, use that as the pack value.
997
998 Sun Oct 11 14:21:14 1998  Mark Mitchell  <mark@markmitchell.com>
999
1000         * flow.c (find_basic_blocks_1): Fix prototype.
1001
1002 Sun Oct 11 05:03:41 1998  Ken Raeburn  <raeburn@cygnus.com>
1003
1004         * tree.h (DECL_NO_CHECK_MEMORY_USAGE): New macros.
1005         (struct tree_decl): New fields no_check_memory_usage.
1006         * c-common.c (enum attrs): Add A_NO_CHECK_MEMORY_USAGE.
1007         (init_attributes): Register it as a new attribute.
1008         (decl_attributes): Set flags on functions given that attribute.
1009         * c-decl.c (duplicate_decls): Merge new attribute.
1010         * expr.h (current_function_check_memory_usage): Declare new var.
1011         * calls.c, expr.c, function.c, stmt.c, alpha.c, clipper.c, m88k.c,
1012         pa.c, sparc.c: Replace uses of flag_check_memory_usage with
1013         current_function_check_memory_usage.
1014         * function.h: Add field to struct function.
1015         * function.c (current_function_check_memory_usage): Define it.
1016         (push_function_context_to, pop_function_context_from): Save and
1017         restore it.
1018         (expand_function_start): Set it, based on global flag and function
1019         attribute.
1020
1021         * expr.c (expand_expr, case VAR_DECL): In memory-checking code, do
1022         check non-automatic variables, to permit detection of writes to
1023         read-only locations in embedded systems without memory management.
1024         * calls.c (store_one_arg): Use ARGS_SIZE_RTX to get size of argument
1025         when emitting chkr_set_right_libfunc call, even if the argument is
1026         BLKmode or variable-sized; don't abort.
1027
1028         * optabs.c (init_optabs): Create Checker and __cyg_profile_*
1029         symbols in Pmode, not VOIDmode.
1030
1031 Sun Oct 11 01:03:05 1998  Zack Weinberg  <zack@rabi.phys.columbia.edu>
1032
1033         * cppexp.c: When forcing unsigned comparisons, cast both sides
1034         of the operation.
1035
1036         * cpphash.h: Move static declaration of hashtab[]...
1037         * cpphash.c: ...here.
1038
1039         * cpplib.c: Cast difference of two pointers to size_t before
1040         comparing it to size_t.  Cast signed to unsigned
1041         before comparing to size_t. (FIXME: struct argdata should use
1042         unsigned buffer sizes.)
1043         * cpplib.h (struct cpp_reader): Declare token_buffer_size as
1044         unsigned int. (CPP_WRITTEN): Cast return value to size_t.
1045         (CPP_RESERVE): Parenthesize N for evaluation order, cast to
1046         size_t before comparison.
1047
1048 Sun Oct 11 00:15:29 1998  Jeffrey A Law  (law@cygnus.com)
1049
1050         * flow.c (find_basic_blocks): Delete "live_reachable_p" argument.
1051         (find_basic_blocks_1): Similarly.
1052         * output.h (find_basic_blocks): Fix prototype.
1053         * gcse.c, toplev.c: Don't pass "live_reachable_p" argument to
1054         find_basic_blocks anymore.
1055
1056 Sat Oct 10 22:00:34 1998  Richard Henderson  <rth@cygnus.com>
1057
1058         * basic-block.h (EXECUTE_IF_SET_IN_SBITMAP): New macro.
1059         (sbitmap_free, sbitmap_vector_free): New macros.
1060         * output.h (rtl_dump_file): Declare.
1061
1062 Sat Oct 10 17:01:42 1998  Jeffrey A Law  (law@cygnus.com)
1063
1064         * regmove.c (optimize_reg_copy_3): Honor TRULY_NOOP_TRUNCATION.
1065
1066 Fri Oct  9 22:08:05 1998  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1067
1068         * fp-bit.c (SFtype): Don't implicitly use int in declaration.
1069         (DFtype): Likewise.
1070         (_fpdiv_parts): Remove unused parameter `tmp', all callers changed.
1071         (divide): Remove unused variable `tmp'.
1072         (si_to_float): Cast numeric constant to (SItype) before comparing
1073         it against one.
1074
1075 Fri Oct  9 16:03:19 1998  Graham  <grahams@rcp.co.uk>
1076
1077         * flow.c (print_rtl_with_bb): Changed type of in_bb_p to match use.
1078         * gcc.c (add_preprocessor_option): Correct typo when allocating
1079         memory, sizeof() argument had one too many `*'.
1080         (add_assembler_option): Likewise.
1081         (add_linker_option): Likewise.
1082         * gcov.c (output_data): Likewise.
1083         * local-alloc.c (memref_used_between_p): Likewise.
1084         (update_equiv_regs): Likewise.
1085         * loop.c (strength_reduce): Likewise.
1086         * reg-stack.c (record_asm_reg_life): Likewise.
1087         (subst_asm_stack_reg): Likewise.
1088         * reorg.c (dbr_schedule): Likewise.
1089
1090 Fri Oct  9 15:57:51 1998  Bernd Schmidt <crux@Pool.Informatik.RWTH-Aachen.DE>
1091
1092         * flow.c (life_analysis_1): Break out some functions.
1093         (find_basic_blocks_1): Likewise.  Also move some variables out and
1094         make them static.
1095         Rename NONLOCAL_LABEL_LIST arg to NONLOCAL_LABELS and initialize
1096         new static var nonlocal_label_list with it.
1097         (active_eh_region, nested_eh_region, label_value_list,
1098         nonlocal_label_list): New static variables.
1099         (make_edges, delete_unreachable_blocks, delete_block): New static
1100         functions, broken out of find_basic_blocks_1.
1101         (record_volatile_insns, mark_regs_live_at_end, set_noop_p,
1102         noop_move_p): New static functions, broken out of life_analysis_1.
1103
1104 Fri Oct  9 15:49:29 1998  Richard Henderson  <rth@cygnus.com>
1105
1106         * expmed.c (store_bit_field): Pun non-integral str_rtx modes.
1107         Take extra care for op0 now possibly being a subreg.
1108         (extract_bit_field): Likewise.
1109         * function.c (purge_addressof_1): Revert Oct 4 change.  Drop
1110         the reg to memory if there is no equal sized integral mode.
1111         * stor-layout.c (int_mode_for_mode): New function.
1112         * machmode.h: Prototype it.
1113
1114 Fri Oct  9 14:26:44 1998  Jeffrey A Law  (law@cygnus.com)
1115
1116         * global.c (build_insn_chain): Verify no real insns exist past the
1117         end of the last basic block, then exit the loop.
1118
1119 Fri Oct  9 11:44:47 1998  David Edelsohn  <edelsohn@mhpcc.edu>
1120
1121         * loop.c (insert_bct): Ensure loop_iteration_var non-zero before use.
1122
1123 Thu Oct  8 21:59:47 1998  Dave Brolley  <brolley@cygnus.com>
1124
1125         * emit-rtl.c (init_emit_once): Call INIT_EXPANDERS.
1126
1127 Thu Oct  8 22:03:45 1998  David Edelsohn  <edelsohn@mhpcc.edu>
1128
1129         * rs6000.h (RTX_COSTS): Add PROCESSOR_PPC604e cases.
1130
1131 Thu Oct  8 17:00:18 1998  Richard Henderson  <rth@cygnus.com>
1132
1133         * flow.c (find_basic_blocks): Correctly determine when a call
1134         is within an exception region.
1135
1136 Thu Oct  8 17:15:04 1998  Jeffrey A Law  (law@cygnus.com)
1137
1138         * toplev.c (output_file_directive): Use DIR_SEPARATOR, not '/'.
1139
1140         * cpplib.h: Protect from multiple inclusions.
1141         * cpplib.c: Fix minor formatting problems.
1142
1143         * i386/xm-cygwin32.h: Only define POSIX if it is not already defined.
1144
1145         * jump.c (jump_optimize): Revert accidental patch.
1146
1147         * Makefile.in (cpplib.o): Use unlibsubdir.
1148
1149 Thu Oct  8 12:50:47 1998  Jim Wilson  <wilson@cygnus.com>
1150
1151         * loop.c (get_condition): Allow combine when either compare is
1152         VOIDmode.
1153
1154 Thu Oct 8 11:31:01 PDT 1998 Jeff Law  (law@cygnus.com)
1155
1156         * version.c: Bump for snapshot.
1157
1158 Thu Oct  8 12:21:14 1998  Richard Frith-Macdonald <richard@brainstorm.co.uk>
1159
1160         * c-lex.c (remember_protocol_qualifiers): Handle RID_BYREF.
1161         (init_lex): Initialize ridpointers[RID_BYREF].
1162         * c-lex.h (enum rid): Add RID_BYREF.
1163         * c-parse.gperf: Add RID_BYREF as a type qualifier.
1164         * objc/objc-act.c (is_objc_type_qualifiers): Handle RID_BYREF.
1165         (encode_type_qualifiers): Similarly
1166         * c-gperf.h: Rebuilt.
1167
1168 Thu Oct  8 05:56:00 1998  Jeffrey A Law  (law@cygnus.com)
1169
1170         * c-common.c (type_for_mode): Only return TItype nodes when
1171         HOST_BITS_PER_WIDE_INT is >= 64 bits.
1172         * c-decl.c (intTI_type_node, unsigned_intTI_type_node): Only declare
1173         when HOST_BITS_PER_WIDE_INT is >= 64 bits.
1174         (init_decl_processing): Only create TItype nodes when
1175         HOST_BITS_PER_WIDE_INT is >= 64 bits.
1176         * c-tree.h (intTI_type_node, unsigned_intTI_type_node): Only declare
1177         when HOST_BITS_PER_WIDE_INT is >= 64 bits.
1178
1179 Thu Oct  8 05:05:34 1998  Bernd Schmidt <crux@Pool.Informatik.RWTH-Aachen.DE>
1180
1181         * stmt.c (n_occurrences): New static function.
1182         (expand_asm_operands): Verify that all constrains match in the
1183         number of alternatives.
1184         Verify that '+' or '=' are at the beginning of an output constraint.
1185         Don't allow '&' for input operands.
1186         Verify that '%' isn't written for the last operand.
1187         * reload.c (find_reloads): Abort if an asm is found with invalid
1188         constraints; all possible problems ought to be checked for earlier.
1189
1190 Thu Oct  8 04:26:20 1998  Michael Hayes <m.hayes@elec.canterbury.ac.nz>
1191
1192         * flags.h (flag_branch_on_count_reg): Always declare 
1193         * toplev.c (flag_branch_on_count_reg): Likewise.
1194         * toplev.c: Fix typos.
1195
1196         * real.c (c4xtoe): Remove unused variables.  Add some missing parens.
1197         (toc4x): Similarly.
1198
1199 Thu Oct  8 01:25:22 1998  Richard Henderson  <rth@cygnus.com>
1200
1201         * flow.c (find_basic_blocks): Calc upper bound for extra nops in
1202         max_uids_for_flow.
1203         (find_basic_blocks_1): Add a nop to the end of a basic block when
1204         a trailing call insn does not have abnormal control flow.
1205         * gcse.c (pre_transpout): New variable.
1206         (alloc_pre_mem, free_pre_mem, dump_pre_data): Bookkeeping for it.
1207         (compute_pre_transpout): Calculate it.
1208         (compute_pre_ppinout): Use it to eliminate impossible placements
1209         due to abnormal control flow through calls.
1210         (compute_pre_data): Call compute_pre_transpout.
1211
1212 Wed Oct  7 21:40:24 1998  David S. Miller  <davem@pierdol.cobaltmicro.com>
1213
1214         * config/sparc/sol2-sld-64.h (ASM_CPU_SPEC): Fix typo.
1215
1216 Wed Oct  7 21:19:46 1998  Ken Raeburn  <raeburn@cygnus.com>
1217
1218         * config/mips/mips.md (tablejump_internal3, tablejump_internal4
1219         and matching define_insns): Tack on a `use' of the table label, so
1220         flow analysis will recognize a tablejump.
1221
1222 Wed Oct  7 17:33:39 1998  Richard Henderson  <rth@cygnus.com>
1223
1224         * gcse.c (pre_insert_insn): Tweek to notice that calls do not
1225         always end basic blocks for abnormal edge reasons.
1226
1227 Wed Oct  7 14:40:43 1998  Nick Clifton  <nickc@cygnus.com>
1228
1229         * config/i386/i386.h: Remove definition of
1230         HANDLE_PRAGMA_PACK_PUSH_POP.
1231         
1232         * config/i386/go32.h: Add definition of
1233         HANDLE_PRAGMA_PACK_PUSH_POP.
1234         
1235         * config/i386/win32.h: Add definition of
1236         HANDLE_PRAGMA_PACK_PUSH_POP.
1237         
1238         * config/i386/cygwin32.h: Add definition of
1239         HANDLE_PRAGMA_PACK_PUSH_POP.
1240
1241         * c-pragma.c (insert_pack_attributes): Do not insert
1242         attributes unless #pragma pack(push,<n>) is in effect.
1243
1244 Wed Oct  7 12:10:46 1998  Jim Wilson  <wilson@cygnus.com>
1245
1246         * expr.c (emit_group_store): Handle a PARALLEL destination.
1247
1248 Wed Oct  7 10:07:29 1998  Richard Henderson  <rth@cygnus.com>
1249
1250         * gcse.c (pre_insert_insn): When a call ends a bb, insert
1251         the new insns before the argument regs are loaded.
1252
1253 Wed Oct  7 12:55:26 1998  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1254
1255         * Makefile.in (c-gperf.h): Add -L KR-C -F ', 0, 0' flags to gperf.
1256         (c-parse.gperf): Update comments describing invocation flags.
1257         (c-gperf.h): Regenerate using gperf 2.7.1 (19981006 egcs).
1258
1259 1998-10-07  Manfred Hollstein  <manfred@s-direktnet.de>
1260
1261         * reload1.c (reload): Call free before clobbering the memory
1262         locations or constants pointers.
1263
1264 Wed Oct  7 02:05:20 1998  David S. Miller  <davem@pierdol.cobaltmicro.com>
1265
1266         * config/sparc/sol2-sld-64.h (TRANSFER_FROM_TRAMPOLINE): Rework
1267         for efficiency by checking whether we need to modify the current
1268         stack permission at all.
1269         (ASM_OUTPUT_CONSTRUCTOR, ASM_OUTPUT_DESTRUCTOR): Define.
1270         * config/sparc/sparc.c (sparc_initialize_trampoline): Emit
1271         __enable_execute_stack libcall here too if
1272         TRANSFER_FROM_TRAMPOLINE is defined.
1273         * config/sparc/sparc.h: Set TARGET_ARCH32 to a constant if
1274         IN_LIBGCC2.
1275
1276 Wed Oct  7 02:27:52 1998  Jeffrey A Law  (law@cygnus.com)
1277
1278         * Makefile.in (DRIVER_DEFINES): Remove last change.
1279         
1280 Wed Oct  7 01:08:43 1998  Bernd Schmidt <crux@Pool.Informatik.RWTH-Aachen.DE>
1281
1282         * jump.c (duplicate_loop_exit_test): Strip REG_WAS_0 notes off all
1283         insns we're going to copy.
1284         * regclass.c (reg_scan_mark_refs): Don't test X for NULL_RTX.
1285
1286         * loop.c (count_one_set): Add prototype.
1287
1288         * caller-save.c (restore_referenced_regs): Lose mode argument.
1289         (insert_save): Lose mode argument.
1290         (insert_restore): Lose mode argument.
1291         (insert_one_insn): Lose mode argument.
1292         (save_call_clobbered_regs): Lose mode argument.
1293         (setup_save_areas): Take no argument and return void.  All callers
1294         changed.
1295         Don't verify validity of memory addresses.
1296         * reload.h (setup_save_ares): Adjust prototype.
1297         (save_call_clobbered_regs): Likewise.
1298         * reload1.c (delete_caller_save_insns): New function.
1299         (caller_save_spill_class): Delete variable.
1300         (caller_save_group_size): Delete variable.
1301         (reload): Call setup_save_areas and save_call_clobbered_regs
1302         in the main loop, before calling calculate_needs_all_insns.
1303         Don't call save_call_clobbered_regs after the loop.
1304         Call delete_caller_save_insns at the end of an iteration if
1305         something changed.
1306         Delete code to manage caller_save_spill_class.
1307         Emit the final note before setting reload_first_uid.
1308         Simplify test that determines whether reload_as_needed gets run.
1309         (calculate_needs): Delete code to manage caller_save_spill_class.
1310
1311 Tue Oct  6 15:42:27 1998  Richard Henderson  <rth@cygnus.com>
1312
1313         * collect2.c (main): Initialize ld_file_name.
1314
1315 Tue Oct  6 15:45:15 1998  Catherine Moore  <clm@cygnus.com>
1316  
1317         * config/sparc/sysv4.h (ASM_OUTPUT_SECTION_NAME):  Don't
1318         check for flag_function_sections.
1319
1320 Tue Oct  6 20:02:31 1998  J"orn Rennecke <amylaar@cygnus.co.uk>
1321
1322         * cse.c (insert_regs): Fix bug in Sep 24 change.
1323
1324 Tue Oct  6 17:00:42 1998  J"orn Rennecke <amylaar@cygnus.co.uk>
1325
1326         * flags.h (flag_dump_unnumbered): Declare.
1327         * toplev.c (flag_dump_unnumbered): Don't declare.
1328         * print-rtl.c (flags.h): Include.
1329         (print_rtl_single): Add return value.
1330         * rtl.h (print_rtl_single): Update declaration.
1331         * flow.c (flag_dump_unnumbered): Don't declare.
1332         (print_rtl_with_bb): Use return value of print_rtl_single.
1333
1334 Tue Oct  6 01:36:00 1998  Bernd Schmidt <crux@Pool.Informatik.RWTH-Aachen.DE>
1335
1336         * loop.c (count_one_set): New static function, broken out of
1337         count_loop_regs_set
1338         (count_loop_regs_set): Call it.
1339         * global.c (mark_reg_store): Handle clobbers here by not calling
1340         set_preference.
1341         (mark_reg_clobber): Just call mark_reg_store after ensuring SETTER
1342         is in fact a clobber.
1343         * integrate.c (process_reg_param): New function, broken out of
1344         expand_inline_function.
1345         (expand_inline_function): Call it.
1346
1347
1348         * i386.md (addsidi3_1): Delete unused variable temp.
1349         (addsidi3_2): Likewise.
1350         (clstrstrsi): Delete unused variable addr1.
1351
1352         * rtl.h: Don't declare any functions also declared in recog.h.
1353
1354         * Makefile.in (stupid.o): Update dependencies.
1355         (global.o): Likewise.
1356
1357         * global.c: Include reload.h
1358         (reg_becomes_live): New function.
1359         (reg_dies): New function.
1360         (build_insn_chain): New function.
1361         (global_alloc): Call build_insn_chain before calling reload.
1362
1363         * reload.h (struct needs): New structure definition.
1364         (struct insn_chain): Likewise.
1365         (reload_insn_chain): Declare variable.
1366         (new_insn_chain): Declare function.
1367
1368
1369         * reload1.c (reload_startobj): New variable.
1370         (reload_insn_chain): New variable.
1371         (unused_insn_chains): New variable.
1372         (new_insn_chain): New function.
1373         (init_reload): Initialize reload_startobj, not reload_firstobj.
1374         (reload): Initialize reload_firstobj.
1375         Before returning, free everything on the reload_obstack.
1376
1377         * stupid.c: Include insn-config.h, reload.h and basic-block.h.
1378         (reg_where_dead_chain, reg_where_born_exact, reg_where_born_clobber,
1379         current_chain): New variables.
1380         (reg_where_born): Delete variable.
1381         (REG_WHERE_BORN): New macro.
1382         (find_clobbered_regs): New function.
1383         (stupid_life_analysis): Don't allocate/free reg_where_born.
1384         Allocate and free reg_where_born_exact, reg_where_born_clobber,
1385         reg_where_dead_chain.
1386         Use REG_WHERE_BORN instead of reg_where_born.
1387         While processing the insns, build the reload_insn_chain with
1388         information about register lifetimes.
1389         (stupid_reg_compare): Use REG_WHERE_BORN instead of reg_where_born.
1390         (stupid_mark_refs): Replace arg INSN with arg CHAIN.  All callers
1391         changed.
1392         Compute and information about birth and death of pseudo registers in
1393         reg_where_dead_chain, reg_where_born_exact and reg_where_born_clobber.
1394         Delete code to set elements of reg_where_born.  
1395
1396 Mon Oct  5 22:34:30 1998  Alexandre Petit-Bianco  <apbianco@cygnus.com>
1397
1398         * tree.def (GOTO_EXPR): Modified documentation.
1399         * expr.c (expand_expr): Expand GOTO_EXPR into a goto or a computed
1400         goto.
1401
1402 Mon Oct  5 22:43:36 1998  David Edelsohn  <edelsohn@mhpcc.edu>
1403
1404         * unroll.c (loop_iteration_var, loop_initial_value, loop_increment
1405         loop_final_value, loop_comparison_code): No longer static.
1406         (unroll_loop): Delete loop_start_value update.
1407         * loop.h (loop_iteration_var, loop_initial_value, loop_increment,
1408         loop_final_value, loop_comparison_code): Extern.
1409         (loop_start_value): Delete extern.
1410         * loop.c (loop_can_insert_bct, loop_increment, loop_start_value,
1411         loop_comparison_value, loop_comparison_code): Delete.
1412         (loop_optimize): Remove initialization for deleted variables.
1413         (strength_reduce): Delete analyze_loop_iterations call.  Only call
1414         insert_bct if flag_branch_count_on_reg set.
1415         (analyze_loop_iterations): Delete.
1416         (insert_bct): Remove iteration count calculation.  Move checks for
1417         viable BCT optimization to here.  Obtain iteration count from
1418         loop_iterations and correct for unrolling.  Check for enough
1419         iteration to be beneficial.  Comment out runtime iteration count
1420         case.
1421         (insert_bct): Print iteration count in dump file.  Remove
1422         loop_var_mode and use word_mode directly.
1423
1424         * rs6000.h (processor_type): Add PROCESSOR_PPC604e.
1425         * rs6000.c (rs6000_override_options): Use it.
1426         (optimization_options): Enable use of flag_branch_on_count_reg.
1427         * rs6000.md (define_function_unit): Describe 604e.
1428
1429 1998-10-05 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
1430
1431         * loop.c (move_movables): Corrected threshold calculation for
1432         moved_once registers.
1433
1434 Mon Oct  5 21:18:45 1998  Bernd Schmidt <crux@Pool.Informatik.RWTH-Aachen.DE>
1435
1436         * loop.c (combine_givs_p): Fix test for identical givs.
1437
1438 Mon Oct  5 10:11:28 1998  Nick Clifton  <nickc@cygnus.com>
1439
1440         * dwarf2out.c (gen_subprogram_die): If errorcount nonzero, don't
1441         call abort if the function is already defined.
1442
1443 Mon Oct  5 10:02:36 1998  Jeffrey A Law  (law@cygnus.com)
1444
1445         * combine.c (simplify_rtx): Do not replace TRUNCATE with a SUBREG if
1446         truncation is not a no-op.
1447
1448 Mon Oct 5 09:02:04 PDT 1998 Jeff Law  (law@cygnus.com)
1449
1450         * version.c: Bump for snapshot.
1451
1452 Mon Oct 5 08:19:55 PDT 1998 Jeff Law  (law@cygnus.com)
1453
1454         * version.c: Bump for snapshot.
1455
1456 Mon Oct  5 01:07:23 1998  Torbjorn Granlund  <tege@matematik.su.se>
1457
1458         * expmed.c (expand_divmod): Don't widen for computing remainder
1459         if we seem to have a divmod pattern for needed mode.
1460
1461 Mon Oct  5 01:01:42 1998  Zack Weinberg  <zack@rabi.phys.columbia.edu>  
1462
1463         * cpplib.c (macroexpand): Correct off-by-one error in handling
1464         of escapes.
1465
1466 Sun Oct  4 23:58:30 1998  Richard Henderson  <rth@cygnus.com>
1467
1468         * combine.c (expand_field_assignment): Don't do bitwise operations
1469         on MODE_FLOAT; pun to MODE_INT if possible.
1470
1471 Sun Oct  4 18:33:24 1998  Jason Merrill  <jason@yorick.cygnus.com>
1472                           scott snyder  <snyder@d0sgif.fnal.gov>
1473
1474         * tlink.c (scan_linker_output): Recognize errors from irix 6.2
1475         linker.  Recognize mangled names in quotes.
1476
1477 Sun Oct  4 02:58:20 1998  Jakub Jelinek  <jj@sunsite.ms.mff.cuni.cz>
1478
1479         * config/sparc/sparc.md (ashldi3+1): Name it ashldi3_sp64.
1480         (ashlsi3_const1, ashldi3_const1): New combiner patterns.
1481         (ashrsi3_extend, ashrsi3_extend2): New combiner patterns.
1482         (lshrsi3_extend, lshrsi3_extend2): Ditto.
1483
1484 Sun Oct  4 00:23:00 1998  David S. Miller  <davem@pierdol.cobaltmicro.com>
1485
1486         * function.c (purge_addressof_1): If trying to take a sub-word
1487         integral piece of a floating point mode, put it on the stack.
1488
1489 Sat Oct  3 19:01:03 1998  Richard Henderson  <rth@cygnus.com>
1490
1491         * alpha/linux.h (CPP_PREDEFINES): Define __alpha__ for imake.
1492
1493 Sat Oct  3 14:42:19 1998  Jason Merrill  <jason@yorick.cygnus.com>
1494
1495         * PROJECTS: Remove template friends.
1496
1497         * collect2.c (sort_ids): Remove unused variable.
1498
1499         * tm.texi (MATH_LIBRARY): Document.
1500         (NEED_MATH_LIBRARY): Remove.
1501
1502         * varasm.c (assemble_start_function, assemble_variable, weak_finish,
1503         assemble_alias): Do ASM_GLOBALIZE_LABEL for weak symbols, too.
1504
1505 Sat Oct  3 16:14:44 1998  John Carr  <jfc@mit.edu>
1506
1507         * dwarf2out.c (expand_builtin_dwarf_reg_size):  Initialize
1508         last_end to 0x7fffffff.
1509
1510 Fri Oct  2 19:14:20 1998  David S. Miller  <davem@pierdol.cobaltmicro.com>
1511
1512         * function.c (purge_addressof_1): Do not perform endianness
1513         corrections on bitpos, who we call will do it for us.
1514
1515 Fri Oct  2 11:52:35 1998  Jeffrey A Law  (law@cygnus.com)
1516
1517         * h8300.c (WORD_REG_USED): Fix typo.
1518         (initial_offset): Use WORD_REG_USED.
1519
1520         * h8300.c (handle_pragma): Fix typo.
1521
1522 Fri Oct  2 10:51:35 1998  Bernd Schmidt <crux@Pool.Informatik.RWTH-Aachen.DE>
1523
1524         * caller-save.c (insert_save_restore): Break this function up
1525         into new functions insert_restore, insert_save and insert_one_insn.
1526         All callers changed.
1527         (insert_restore): New function, mostly broken out of
1528         insert_save_restore.
1529         (insert_save): Likewise.
1530         (insert_one_insn): Likewise.
1531         (restore_referenced_regs): New argument BLOCK.  All callers changed.
1532         (save_call_clobbered_regs): Don't keep track of basic block boundaries
1533         in this function, do it in insert_one_insn instead.
1534
1535         * reload1.c (reload): Break out some more pieces into separate
1536         functions.
1537         (dump_needs): New function, broken out of reload.
1538         (set_initial_elim_offsets): Likewise.
1539         (init_elim_table): Likewise.
1540         (update_eliminables): Likewise.
1541
1542         * global.c (global_alloc): Delete code to manage the scratch_list.
1543         * local-alloc.c (qty_scratch_rtx): Delete.
1544         (scratch_block): Delete.
1545         (scratch_list): Delete.
1546         (scratch_list_length): Delete.
1547         (scratch_index): Delete.
1548         (alloc_qty_for_scratch): Delete.
1549         (local-alloc): Update initialization of max_qty.
1550         Delete code to manage the scratch list.
1551         Delete code to allocate/initialize qty_scratch_rtx.
1552         (block_alloc): Don't allocate quantities for scratches.
1553         Delete code to manage the scratch list.
1554         * regs.h (scratch_list): Delete declaration.
1555         (scratch_block): Delete declaration.
1556         (scratch_list_length): Delete declaration.
1557         * reload1.c (reload): Delete code to manage the scratch list.
1558         (spill_hard_reg): Likewise.
1559         (mark_scratch_live): Delete.
1560
1561         * recog.c (alter_subreg): Delete declaration.
1562
1563 1998-10-02  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
1564
1565         * Makefile.in (cccp.o): Fix typo in last patch.
1566
1567 Fri Oct  2 16:13:12 1998  J"orn Rennecke <amylaar@cygnus.co.uk>
1568
1569         * t-sh (LIB1ASMFUNCS): Add _set_fpscr .
1570         * config/sh/lib1funcs.asm (___set_fpscr): Add.
1571
1572 Fri Oct  2 02:01:59 1998  Jeffrey A Law  (law@cygnus.com)
1573
1574         * regclass.c (reg_scan_mark_refs): Return immediately if passed a
1575         NULL_RTX as an argument.
1576
1577         * Makefile.in (unlibsubdir): Define.
1578         (DRIVER_DEFINES): Use unlibsubdir.
1579         (cccp.o, cpplib.o, protoize.o, unprotoize.o): Similarly.
1580         (stmp-fixinc): Similarly.
1581
1582 Thu Oct  1 19:58:30 1998  Bernd Schmidt <crux@Pool.Informatik.RWTH-Aachen.DE>
1583
1584         * regmove.c (regmove_optimize): Add variable old_max_uid.
1585         At the end of the function, update basic_block_end.
1586
1587 Thu Oct  1 17:58:25 1998  David S. Miller  <davem@pierdol.cobaltmicro.com>
1588
1589         * dwarf2out.c (expand_builtin_dwarf_reg_size): Use
1590         FIRST_PSEUDO_REGISTER as upper bound for last_end, not an
1591         arbitrary constant.
1592
1593 Thu Oct  1 17:57:14 1998  Nick Clifton  <nickc@cygnus.com>
1594
1595         * config/arm/arm.c: Improve interworking support.
1596
1597 Thu Oct  1 18:43:35 1998  J"orn Rennecke <amylaar@cygnus.co.uk>
1598
1599         * reload1.c (choose_reload_regs): Fix test if reload_reg_rtx[r] was
1600         copied from reload_out[r] .
1601
1602 Thu Oct  1 19:20:09 1998  John Carr  <jfc@mit.edu>
1603
1604         * dwarf2out.c (expand_builtin_dwarf_reg_size): Fix to work
1605         with more than three size ranges.
1606
1607         * flow.c (sbitmap_copy): Use bcopy to copy bitmap.
1608
1609         * rtl.c (mode_name): Add a null string at the end of the array.
1610         (mode_wider_mode): Change type to unsigned char.
1611         (mode_mask_array): New variable.
1612         (init_rtl): Update for mode_wider_mode type change.
1613
1614         * rtl.h (mode_wider_mode): Change type to unsigned char.
1615         (mode_mask_array): Declare.
1616         (GET_MODE_MASK): Use mode_mask_array.
1617
1618 Thu Oct  1 15:56:01 1998  Gavin Romig-Koch  <gavin@cygnus.com>
1619
1620         * calls.c (expand_call) : Encapsulate code into 
1621         copy_blkmode_from_reg.
1622         * expr.c (copy_blkmode_from_reg): New function.
1623         * expr.h (copy_blkmode_from_reg): New function.
1624         * integrate.c (function_cannot_inline_p): We can inline
1625         these now.
1626         (expand_inline_function): Use copy_blkmode_from_reg
1627         if needed.  Avoid creating BLKmode REGs.
1628         (copy_rtx_and_substitute): Don't try to SUBREG a BLKmode
1629         object.
1630
1631 Thu Oct  1 10:42:27 1998  Nick Clifton  <nickc@cygnus.com>
1632
1633         * config/v850/v850.c: Add function prototypes.
1634         Add support for v850 special data areas.
1635
1636         * config/v850/v850.h: Add support for v850 special data areas.
1637         
1638         * c-pragma.c: Add support for HANDLE_PRAGMA_PACK and
1639         HANDLE_PRAGMA_PACK_PUSH_POP.
1640         (push_alignment): New function: Cache an alignment requested
1641         by a #pragma pack(push,<n>).
1642         (pop_alignment): New function: Pop an alignment from the
1643         alignment stack.
1644         (insert_pack_attributes): New function: Generate __packed__
1645         and __aligned__ attributes for new decls whilst a #pragma pack
1646         is in effect. 
1647         (add_weak): New function: Cache a #pragma weak directive.
1648         (handle_pragma_token): Document calling conventions.  Add
1649         support for #pragma pack(push,<n>) and #pragma pack (pop).
1650
1651         * c-pragma.h: If HANDLE_SYSV_PRAGMA or HANDLE_PRAGMA_PACK_PUSH_POP
1652         are defined enable HANDLE_PRAGMA_PACK.
1653         Move 'struct weak_syms' here (from varasm.c).
1654         Add pragma states for push and pop pragmas.
1655
1656         * c-common.c (decl_attributes): Call PRAGMA_INSERT_ATTRIBUTES
1657         if it is defined.
1658
1659         * c-lex.c: Replace occurances of HANDLE_SYSV_PRAGMA with
1660         HANDLE_GENERIC_PRAGMAS.
1661         
1662         * varasm.c: Move definition of 'struct weak_syms' into
1663         c-pragma.h. 
1664         (handle_pragma_weak): Deleted.
1665
1666         * config/i386/i386.h: Define HANDLE_PRAGMA_PACK_PUSH_POP.
1667
1668         * config/winnt/win-nt.h: Define HANDLE_PRAGMA_PACK_PUSH_POP.
1669
1670         * c-decl.c (start_function): Add invocation of
1671         SET_DEFAULT_DECL_ATTRIBUTES, if defined.
1672
1673         * tm.texi: Remove description of non-existant macro
1674         SET_DEFAULT_SECTION_NAME.
1675         
1676         (HANDLE_SYSV_PRAGMA): Document.
1677         (HANDLE_PRAGMA_PACK_PUSH_POP): Document.
1678
1679 Wed Sep 30 22:27:53 1998  Robert Lipe  <robertl@dgii.com>
1680
1681         * config.sub: Recognize i[34567]86-pc-udk as new target.
1682         * configure.in: Likewise.
1683         * config/i386/t-udk: New file.
1684         * config/i386/udk.h: New file.
1685
1686 Wed Sep 30 19:33:07 1998  Jeffrey A Law  (law@cygnus.com)
1687
1688         * reorg.c (check_annul_list_true_false): Remove unused variables.
1689         (steal_delay_list_from_target): Add missing "used_annul" variable.
1690         (try_merge_delay_insns): Close out half formed comment.
1691
1692 Wed Sep 30 19:13:20 1998 Zack Weinberg  <zack@rabi.phys.columbia.edu>  
1693
1694         * cpplib.c (macroexpand): If arg->raw_before or
1695         arg->raw_after, remove any no-reexpansion escape at the
1696         beginning of the pasted token.  Correct handling of whitespace
1697         markers and no-reexpand markers at the end if arg->raw_after.
1698
1699         * toplev.c (documented_lang_options): Recognize -include,
1700         -imacros, -iwithprefix, -iwithprefixbefore.
1701         * cpplib.c (cpp_start_read): Process -imacros and -include
1702         switches at the same time and in command-line order, after
1703         initializing the dependency-output code.  Emit properly nested
1704         #line directives for them.  Emit a #line for the main file
1705         before processing these switches, and don't do it again
1706         afterward.
1707
1708 Wed Sep 30 18:03:22 1998  Richard Henderson  <rth@cygnus.com>
1709
1710         * function.c (purge_addressof_1): Use bitfield manipulation
1711         routines to handle mem mode < reg mode.
1712
1713 Wed Sep 30 18:43:32 1998  Herman ten Brugge <Haj.Ten.Brugge@net.HCC.nl> 
1714
1715         * reorg.c (try_merge_delay_insns): Account for resources referenced
1716         in each instruction in INSN's delay list before trying to eliminate
1717         useless instructions.  Similarly when looking at a trial insn's delay
1718         slots.
1719
1720         * reorg.c (check_annul_list_true_false): New function.
1721         (steal_delay_list_from_{target,fallthrough}): Call it and also
1722         refine tests for when we may annul if already filled a slot.
1723         (fill_slots_from_thread): Likewise.
1724         (delete_from_delay_slot): Return newly-created thread.
1725         (try_merge_delay_isns): Use its new return value.
1726
1727 Wed Sep 30 18:29:26 1998  Jeffrey A Law  (law@cygnus.com)
1728
1729         * loop.c (check_dbra_loop): Use a vanilla loop reversal if the biv is
1730         used to compute a giv or as some other non-counting use.
1731
1732 Wed Sep 30 18:19:27 1998  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
1733
1734         * regs.h (HARD_REGNO_CALL_PART_CLOBBERED):  New macro.
1735         * local-alloc.c (find_free_reg): Use it.
1736         * global.c (find_reg): Likewise.
1737         * tm.texi: Document HARD_REGNO_CALL_PART_CLOBBERED.
1738
1739         * regs.h (HARD_REGNO_CALLER_SAVE_MODE): New macro.
1740         * caller-save.c (init_caller_save): Use it.
1741         * tm.texi: Document HARD_REGNO_CALLER_SAVE_MODE.
1742
1743 Wed Sep 30 12:57:30 1998 Zack Weinberg  <zack@rabi.phys.columbia.edu>  
1744
1745         * configure.in: Add --enable-cpplib option which uses cpplib
1746         for cpp, but doesn't link cpplib into cc1.  Make help text
1747         capitalization consistent.
1748         * configure: Rebuilt.
1749
1750 Wed Sep 30 10:09:39 1998  Mark Mitchell  <mark@markmitchell.com>
1751
1752         * function.c (gen_mem_addressof): If the address REG is
1753         REG_USERVAR_P make the new REG be so also.
1754         * loop.c (scan_loop): Apply DeMorgan's laws and add documentation
1755         in an attempt to clarify slightly.
1756
1757 Wed Sep 30 09:57:40 1998  Jeffrey A Law  (law@cygnus.com)
1758
1759         * expr.c (expand_expr): Handle COMPONENT_REF, BIT_FIELD_REF ARRAY_REF
1760         and INDIRECT_REF in code to check MAX_INTEGER_COMPUTATION_MODE.
1761
1762 Wed Sep 30 10:13:39 1998  Catherine Moore  <clm@cygnus.com>
1763
1764         * toplev.c:  Fix last patch.
1765
1766 Tue Sep 29 20:03:18 1998  Jim Wilson  <wilson@cygnus.com>
1767
1768         * loop.c (get_condition): Fix typo in May 9 change.
1769
1770 Tue Sep 29 11:11:38 EDT 1998  Andrew MacLeod  <amacleod@cygnus.com>
1771
1772         * invoke.texi (-fexceptions): Merge 2 different descriptions.
1773
1774 Mon Sep 28 22:08:52 1998  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1775
1776         * toplev.c (documented_lang_options): Spelling corrections.
1777
1778 Mon Sep 28 19:41:24 1998  Alexandre Oliva  <oliva@dcc.unicamp.br>
1779
1780         * configure.in: new flags --with-ld and --with-as, equivalent
1781         to setting LD and AS environment variables.  Test whether
1782         specified arguments are GNU commands, and report them with
1783         checking messages.  Use the specified AS for configure
1784         tests too.
1785         * configure: ditto
1786         * acconfig.h: add DEFAULT_ASSEMBLER and DEFAULT_LINKER
1787         * config.in: ditto
1788         * gcc.c (find_a_file): when looking for `as' and `ld', return
1789         the DEFAULT program if it exists
1790         * collect2.c (main): use DEFAULT_LINKER if it exists
1791
1792         * gcc.c (find_a_file): the test for existence of a full
1793         pathname was reversed
1794
1795 Mon Sep 28 17:34:35 1998  Michael Meissner  <meissner@cygnus.com>
1796
1797         * rs6000.h (ASM_OUTPUT_MI_THUNK): Only define on ELF systems.
1798         * rs6000.c (output_mi_thunk): Always use a raw jump for now.
1799
1800 Mon Sep 28 14:24:03 1998  Mark Mitchell  <mark@markmitchell.com>
1801
1802         * tree.h (TYPE_BINFO): Document.
1803
1804 Mon Sep 28 12:55:49 1998   Stan Cox  <scox@cygnus.com>
1805
1806         * i386-coff.h (dbxcoff.h): Added.
1807
1808 Mon Sep 28 12:51:00 1998  Catherine Moore  <clm@cygnus.com>
1809
1810         * toplev.c:  fix bad patch around flag_data_sections.
1811
1812 Mon Sep 28 10:32:28 1998  Nick Clifton  <nickc@cygnus.com>
1813
1814         * reload1.c (reload): Use reload_address_index_reg_class and 
1815         reload_address_base_reg_class when setting
1816         caller_save_spill_class.  (Patch generated by Jim Wilson:
1817         wilson@cygnus.com).
1818
1819 Mon Sep 28 07:43:34 1998  Mark Mitchell  <mark@markmitchell.com>
1820
1821         * c-common.c (c_get_alias_set): Tighten slightly for FUNCTION_TYPEs
1822         and ARRAY_TYPEs.  Tidy up.  Improve support for type-punning. 
1823         * expr.c (store_field): Add alias_set parameter.  Set the
1824         MEM_ALIAS_SET accordingly, if the target is a MEM.
1825         (expand_assignment): Use it.
1826         (store_constructor_field): Pass 0.
1827         (expand_expr): Likewise.
1828
1829 Mon Sep 28 07:54:03 1998  Catherine Moore  <clm@cygnus.com>
1830  
1831         * flags.h:  Add flag_data_sections.
1832         * toplev.c:  Add option -fdata-sections.  Add flag_data_sections.
1833         (compile_file):  Error if flag_data_sections not supported.
1834         * varasm.c (assemble_variable):  Handle flag_data_sections.
1835         * config/svr4.h:  Modify prefixes for UNIQUE_SECTION_NAME.
1836         * config/mips/elf.h:  Likewise.
1837         * config/mips/elf64.h:  Likewise.
1838         * invoke.texi:  Describe -fdata-sections.
1839  
1840 Mon Sep 28 04:15:44 1998  Craig Burley  <burley@melange.gnu.org>
1841
1842         * invoke.texi (-ffloat-store): Clarify that this option
1843         does not affect intermediate results -- only variables.
1844
1845 Mon Sep 28 04:11:35 1998  Jeffrey A Law  (law@cygnus.com)
1846
1847         * cpp.texi: Update for Fortran usage from Craig.
1848
1849 Fri Sep 25 22:09:47 1998  David Edelsohn  <edelsohn@mhpcc.edu>
1850
1851         * rs6000.c (function_arg_boundary): Revert accidental change on
1852         September 18.
1853
1854 Fri Sep 25 20:30:00 1998  Michael Meissner  <meissner@cygnus.com>
1855
1856         * rs6000.h (ASM_OUTPUT_MI_THUNK): Declare, call output_mi_thunk.
1857         (output_mi_thunk): Declare.
1858
1859         * rs6000.c (output_mi_thunk): Function to create thunks for MI.
1860         (output_function_profiler): Use r12 for temp, instead of r11 so
1861         that we preserve the static chain register.
1862         
1863 Fri Sep 25 14:18:33 1998  Jim Wilson  <wilson@cygnus.com>
1864
1865         * sdbout.c (sdbout_one_type): Don't look at TYPE_BINFO field of enums.
1866
1867 Fri Sep 25 19:30:19 1998  J"orn Rennecke <amylaar@cygnus.co.uk>
1868
1869         * sh.c (gen_shl_sext): Fix case 5.
1870
1871 Fri Sep 25 17:35:23 1998  J"orn Rennecke <amylaar@cygnus.co.uk>
1872
1873         * reload1.c (reload_combine): Re-add line that got accidentally lost.
1874
1875 Fri Sep 25 10:43:47 1998  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1876
1877         * cccp.c (pedwarn_with_file_and_line): For !__STDC__ case, avoid
1878         accessing variables until they are initialized via va_arg().
1879
1880 Thu Sep 24 22:12:16 1998  David S. Miller  <davem@pierdol.cobaltmicro.com>
1881
1882         * reload1.c (reload_combine): Initialize set before using.
1883
1884 Thu Sep 24 18:53:20 1998  Jason Merrill  <jason@yorick.cygnus.com>
1885
1886         * sdbout.c (sdbout_field_types): Don't emit the types of fields we
1887         won't be emitting.
1888
1889 Thu Sep 24 17:05:30 1998  Nick Clifton  <nickc@cygnus.com>
1890
1891         * config/arm/arm.md (insv): Add comment.  In CONST_INT case, and
1892         operand3 with mask before using it.  Patch provided by Jim Wilson.
1893
1894 Thu Sep 24 15:08:08 1998  Jakub Jelinek  <jj@sunsite.ms.mff.cuni.cz>
1895
1896         * config/sparc/sparc.c (function_value): Perform the equivalent of
1897         PROMOTE_MODE for ARCH64.
1898         (eligible_for_epilogue_delay): Allow DImode operations in delay
1899         slot of a return for ARCH64.
1900
1901 Thu Sep 24 22:17:54 1998  J"orn Rennecke <amylaar@cygnus.co.uk>
1902
1903         * sh.md (sqrtsf2): Fix mode of sqrt.
1904
1905 Thu Sep 24 21:48:51 1998  J"orn Rennecke <amylaar@cygnus.co.uk>
1906
1907         * reload1.c (choose_reload_regs): Also try inheritance when
1908         reload_in is a stack slot of a pseudo, even if we already got a
1909         reload reg.
1910
1911 Thu Sep 24 21:22:39 1998  J"orn Rennecke <amylaar@cygnus.co.uk>
1912
1913         * reload1.c (reload_cse_regs_1): Renamed from reload_cse_regs.
1914         (reload_cse_regs): New function body: call reload_cse_regs_1,
1915         reload_combine, reload_cse_move2add.
1916         When doing expensive_optimizations, call reload_cse_regs_1 a
1917         second time after reload_cse_move2add.
1918         (reload_combine, reload_combine_note_store): New functions.
1919         (reload_combine_note_use): New function.
1920         (reload_cse_move2add, move2add_note_store): New functions.
1921
1922 Thu Sep 24 18:48:43 1998  J"orn Rennecke <amylaar@cygnus.co.uk>
1923
1924         * reload.c (find_reloads): In code to promote RELOAD_FOR_X_ADDR_ADDR
1925         reloads to RELOAD_FOR_X_ADDRESS reloads, test for reload sharing.
1926
1927         Properly keep track of first RELOAD_FOR_X_ADDRESS also for
1928         more than 3 such reloads.
1929
1930         If there is not more than one RELOAD_FOR_X_ADDRESS, don't change
1931         RELOAD_FOR_X_ADDR_ADDR reload.
1932
1933 Thu Sep 24 17:45:55 1998  J"orn Rennecke <amylaar@cygnus.co.uk>
1934
1935         * expr.c (store_constructor): When initializing a field that is smaller
1936         than a word, at the start of a word, try to widen it to a full word.
1937
1938         * cse.c (cse_insn): When we are about to change a register,
1939         remove any invalid references to it.
1940
1941         (remove_invalid_subreg_refs): New function.
1942         (mention_regs): Special treatment for SUBREGs.
1943         (insert_regs): Don't strip SUBREG for call to mention_regs.
1944         Check if reg_tick needs to be bumped up before that call.
1945         (lookup_as_function): Try to match known word_mode constants when
1946         looking for a norrower constant.
1947         (canon_hash): Special treatment for SUBREGs.
1948
1949 Thu Sep 24 01:35:34 1998  David S. Miller  <davem@pierdol.cobaltmicro.com>
1950
1951         * config/sparc/sol2-sld-64.h (TRANSFER_FROM_TRAMPOLINE): Define.
1952         * config/sparc/sparc.c (sparc64_initialize_trampoline): If that is
1953         defined, emit libcall to __enable_execute_stack.  Also fix opcodes
1954         and offsets in actual stack trampoline code so they match the
1955         commentary and actually work.
1956
1957 Thu Sep 24 01:19:02 1998  Jakub Jelinek  <jj@sunsite.ms.mff.cuni.cz>
1958
1959         * configure.in (sparcv9-*-solaris): Use t-sol2 and t-sol2-64 for
1960         tmake_file.
1961         (sparc64-*-linux): Use t-linux and sparc/t-linux64 for
1962         tmake_file.  Set extra_parts to needed crt objects.
1963         * configure: Rebuilt.
1964         * config/sparc/linux64.h (SPARC_BI_ARCH): Define.
1965         (TARGET_DEFAULT): Set if default is v9 or ultra.
1966         (STARTFILE_SPEC32, STARTFILE_SPEC64): New macros.
1967         (STARTFILE_SPEC): Set to those upon SPARC_BI_ARCH.
1968         (ENDFILE_SPEC32, ENDFILE_SPEC64, ENDFILE_SPEC): Likewise.
1969         (SUBTARGET_EXTRA_SPECS, LINK_ARCH32_SPEC, LINK_ARCH64_SPEC,
1970         LINK_SPEC, LINK_ARCH_SPEC): Likewise.
1971         (TARGET_VERSION): Define.
1972         (MULTILIB_DEFAULT): Define.
1973         * config/sparc/sparc.h (CPP_CPU_DEFAULT_SPEC): Rearrange so that
1974         mixed 32/64 bit compilers based upon SPARC_BI_ARCH work.
1975         (CPP_CPU64_DEFAULT_SPEC, CPP_CPU32_DEFAULT_SEC): Define
1976         appropriately.
1977         (TARGET_SWITCHES): Allow ptr32/ptr64 options once more.
1978         * config/sparc/sparc.c (sparc_override_options): If arch and
1979         pointer size disagree, emit diagnostic and fix it up.  If
1980         SPARC_BI_ARCH and TARGET_ARCH32, set cmodel to CM_32.  Turn off
1981         V8PLUS in 64-bit mode.
1982         * config/sparc/t-linux64: New file.
1983         * config/sparc/t-sol2-64: New file.
1984         * config/sparc/t-sol2: Adjust build rules to use MULTILIB_CFLAGS.
1985         * config/sparc/sol2-sld-64.h (SPARC_BI_ARCH): Define.
1986         (ASM_CPU32_DEFAULT_SPEC, ASM_CPU64_DEFAULT_SPEC,
1987         CPP_CPU32_DEFAULT_SPEC, CPP_CPU64_DEFAULT_SPEC): Define.
1988         (ASM_SPEC, CPP_CPU_SPEC): Set appropriately based upon those.
1989         (STARTFILE_SPEC32, STARTFILE_SPEC32, STARTFILE_ARCH_SPEC):
1990         Define.
1991         (STARTFILE_SPEC): Set approriately based upon those.
1992         (CPP_CPU_DEFAULT_SPEC, ASM_CPU_DEFAULT_SPEC): Set based upon
1993         disposition of DEFAULT_ARCH32_P.
1994         (LINK_ARCH32_SPEC, LINK_ARCH64_SPEC): Define.
1995         (LINK_ARCH_SPEC, LINK_ARCH_DEFAULT_SPEC): Set based upon those.
1996         (CC1_SPEC, MULTILIB_DEFAULTS): Set based upon DEFAULT_ARCH32_P.
1997         (MD_STARTFILE_PREFIX): Set correctly based upon SPARC_BI_ARCH.
1998         * config/sparc/xm-sysv4-64.h (HOST_BITS_PER_LONG): Only set on
1999         arch64/v9.
2000         * config/sparc/xm-sp64.h (HOST_BITS_PER_LONG): Likewise.
2001         
2002 Wed Sep 23 22:32:31 1998  Mark Mitchell  <mark@markmitchell.com>
2003
2004         * rtl.h (init_virtual_regs): New function.
2005         * emit-rtl.c (init_virtual_regs): Define.
2006         (insn_emit): Use it.
2007         * integrate.c (save_for_inline_copying): Likewise.
2008
2009 Wed Sep 23 16:22:01 1998  Nick Clifton  <nickc@cygnus.com>
2010
2011         * config/arm/thumb.h: The following patches were made by Jim Wilson:
2012         (enum reg_class): Add NONARG_LO_REGS support.
2013         (REG_CLASS_NAMES, REG_CLASS_CONTENTS, REGNO_REG_CLASS,
2014         PREFERRED_RELOAD_CLASS, SECONDARY_RELOAD_CLASS): Likewise.
2015         (GO_IF_LEGITIMATE_ADDRESS): Disable REG+REG addresses before reload
2016         completes.  Re-enable HImode REG+OFFSET addresses.
2017         (LEGITIMIZE_RELOAD_ADDRESS): Define.
2018
2019         * expmed.c (extract_bit_field): Add comment from Jim Wilson. 
2020
2021 Wed Sep 23 13:26:02 1998  Richard Henderson  <rth@cygnus.com>
2022
2023         * alpha.c (get_aligned_mem): Revert Sep 20 change.
2024         (alpha_set_memflags, alpha_set_memflags_1): Likewise.
2025         (alpha_align_insns): Properly calculate initial offset wrt max_align.
2026
2027 Wed Sep 23 10:45:44 1998  Richard Earnshaw (rearnsha@arm.com)
2028
2029         * arm.c (find_barrier): Revert change of Apr 23.  Handle table
2030         jumps as a single entity, taking into account the size of the
2031         table.
2032
2033 Tue Sep 22 15:13:34 1998  Alexandre Petit-Bianco  <apbianco@cygnus.com>
2034
2035         * tree.def (SWITCH_EXPR): New tree node definition.
2036
2037 Mon Sep 21 23:40:38 PDT 1998 Jeff Law  (law@cygnus.com)
2038
2039         * version.c: Bump for snapshot.
2040
2041 Mon Sep 21 22:31:14 PDT 1998 Jeff Law  (law@cygnus.com)
2042
2043         * version.c: Bump for snapshot.
2044
2045 Mon Sep 21 22:48:09 1998  Jeffrey A Law  (law@cygnus.com)
2046
2047         * configure.in: Recognize i[34567]86-*-openbsd* and handle it like
2048         NetBSD.
2049
2050 Mon Sep 21 22:05:28 1998  Jeffrey A Law  (law@cygnus.com)
2051
2052         * Revert this patch.
2053         * reload.c (find_reloads): Do not replace a pseudo with
2054         (MEM (reg_equiv_addr)) in the initializing insn for the
2055         pseudo.
2056
2057 Mon Sep 21 20:19:41 1998  John Carr  <jfc@mit.edu>
2058
2059         * final.c (final_scan_insn): Disable tracking CC across branches.
2060
2061 Mon Sep 21 17:15:26 EDT 1998  Andrew MacLeod  <amacleod@cygnus.com>
2062
2063         * expr.h (eh_rtime_match_libfunc): New extern declaration.
2064         * optabs.c (init_optabs): Set eh_rtime_match_libfunc.
2065         * except.c (start_catch_handler): Use eh_rtime_match_libfunc.
2066         * libgcc2.c (__eh_rtime_match): Always return 0 if the matcher is
2067         NULL. Only include <stdio.h> if inhibit_libc is not defined.
2068
2069 Mon Sep 21 14:10:51 1998  Jason Merrill  <jason@yorick.cygnus.com>
2070
2071         * toplev.c (rest_of_compilation): Skip compiling anything with
2072         DECL_EXTERNAL set, not just if it has DECL_INLINE as well.
2073
2074 Mon Sep 21 13:51:05 1998  Jim Wilson  <wilson@cygnus.com>
2075
2076         * flow.c (find_basic_blocks): Delete check for in_libcall_block when
2077         prev_code is a CALL_INSN.  Change check for REG_RETVAL note to
2078         use in_libcall_block.
2079         (find_basic_blocks_1): Delete check for in_libcall_block when prev_code
2080         is a CALL_INSN.  If CALL_INSN and in_libcall_block, then change code
2081         to INSN.
2082
2083 Mon Sep 21 14:02:23 1998
2084
2085         * i386.h: (TARGET_SWITCHES) Improve doc for align-double.  Fix
2086         typo in no-fancy-math-387 description.
2087
2088 Mon Sep 21 09:27:18 PDT 1998 Jeff Law  (law@cygnus.com)
2089
2090         * version.c: Bump for snapshot.
2091
2092 Mon Sep 21 09:24:49 1998   Stan Cox  <scox@cygnus.com>
2093
2094         * i386-coff.h (DBX_DEBUGGING_INFO): Added.
2095
2096 Mon Sep 21 09:14:49 1998   Robert Lipe  <robertl@dgii.com>
2097
2098         * i386.h: (TARGET_SWITCHES) Add description fields for flags 
2099         documented in install.texi.
2100         (TARGET_OPTIONS) Likewise.
2101
2102 Mon Sep 21 01:39:03 PDT 1998 Jeff Law  (law@cygnus.com)
2103
2104         * version.c: Bump for snapshot.
2105
2106 Mon Sep 21 01:53:05 1998  Felix Lee  <flee@cygnus.com>
2107
2108         * c-lex.c (init_lex): Use getenv ("LANG"), not GET_ENVIRONMENT ().
2109         * cccp.c (main): Likewise.
2110
2111         * cccp.c, collect2.c, cpplib.c, gcc.c, config/i386/xm-cygwin32.h:
2112         Rename GET_ENVIRONMENT to GET_ENV_PATH_LIST, and fix some
2113         macro-use bugs.
2114
2115 Mon Sep 21 00:52:12 1998  Per Bothner  <bothner@cygnus.com>
2116
2117         * Makefile.in (LIBS):  Link in libiberty.a.
2118         * c-common.c, gcc.c, toplev.c:  Replace (some) bcopy calls by memcpy.
2119
2120 Sun Sep 20 23:28:11 1998  Richard Henderson  <rth@cygnus.com>
2121
2122         * reload1.c (emit_reload_insns): Accept a new arg for the bb.  Use
2123         it to update bb boundaries.  Update caller.
2124         * function.c (reposition_prologue_and_epilogue_notes): Update
2125         bb boundaries wrt the moved note.
2126
2127 Sun Sep 20 20:57:02 1998  Robert Lipe  <robertl@dgii.com>
2128         
2129         * configure.in (i*86-*-sysv5*): Use fixinc.svr4 to patch byteorder
2130         problems.
2131         * configure: Regenerate.
2132
2133 Sun Sep 20 19:01:51 1998  Richard Henderson  <rth@cygnus.com>
2134
2135         * alpha.c (alpha_sr_alias_set): New variable.
2136         (override_options): Set it.
2137         (alpha_expand_prologue, alpha_expand_epilogue): Use it.
2138         (mode_mask_operand): Fix signed-unsigned comparision warning.
2139         (alpha_expand_block_move): Likewise.
2140         (print_operand): Likewise.
2141         (get_aligned_mem): Use change_address.
2142         (alpha_set_memflags, alpha_set_memflags_1): Set the alias set.
2143         (alphaev4_insn_pipe, alphaev4_next_group): New functions.
2144         (alphaev4_next_nop, alphaev5_next_nop): New functions.
2145         (alpha_align_insns): Remade from old alphaev5_align_insns
2146         to handle multiple processors.
2147         (alpha_reorg): Call alpha_align_insns for both ev4 and ev5.
2148         * output.h (label_to_alignment): Prototype.
2149
2150         * tree.c (new_alias_set): New function.
2151         * tree.h (new_alias_set): Declare it.
2152         * c-common.c (c_get_alias_set): Use it.
2153
2154 Sun Sep 20 12:35:55 1998  Richard Henderson  <rth@cygnus.com>
2155
2156         * fold-const.c (fold): Yet another COND_EXPR bug: when folding 
2157         to an ABS expr, convert an unsigned input to signed.
2158         
2159 Sun Sep 20 12:14:45 1998  Jeffrey A Law  (law@cygnus.com)
2160
2161         * fold-const.c (fold): Fix another type in COND_EXPR handling code.
2162
2163 1998-09-20  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
2164
2165         * configure.in: Add support for c4x targets.
2166         * configure: Rebuilt.
2167
2168 Sun Sep 20 00:00:51 1998  Richard Henderson  <rth@cygnus.com>
2169
2170         * combine.c (distribute_notes): If an insn is a cc0 user, only
2171         delete it if we can also delete the cc0 setter.
2172
2173 Sun Sep 20 00:22:23 1998  Michael Tiemann  <michael@impact.tiemann.org>
2174
2175         * fold-const.c (fold): Fix typo in COND_EXPR handling code.
2176         (invert_truthvalue): Enable truthvalue inversion for
2177         floating-point operands if -ffast-math.
2178
2179 Sat Sep 19 23:58:07 1998  Melissa O'Neill <oneill@cs.sfu.ca>
2180                          
2181         * configure.in: Disable collect2 for nextstep.  Instead use
2182         crtbegin/crtend.
2183         * configure: Rebuilt.
2184         * config/nextstep.h (STARTFILE_SPEC): Add crtbegin.
2185         (ENDFILE_SPEC): Define.
2186         (OBJECT_FORMAT_MACHO): Define.
2187         (EH_FRAME_SECTION_ASM_OP): Define.
2188         * crtstuff.c: Handle MACHO.
2189
2190 Sun Sep 20 00:24:24 1998  Robert Lipe  <robertl@dgii.com>
2191
2192         * config/i386/sco5.h (TARGET_MEM_FUNCTIONS):  Define.
2193
2194 1998-09-19  Torbjorn Granlund  <tege@matematik.su.se>
2195
2196         * fp-bit.c (pack_d): Do not clear SIGN when fraction is 0.
2197         (_fpadd_parts): Get sign right for 0.
2198
2199 1998-09-19  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
2200
2201         * ginclude/varargs.h: Add support for C4x target.
2202         * ginclude/stdargs.h: Likewise.
2203
2204 Sat Sep 19 12:05:09 1998  Richard Henderson  <rth@cygnus.com>
2205
2206         * alpha.c (alpha_return_addr): SET should be VOIDmode.
2207         (alpha_emit_set_long_const): Rewrite to be callable from reload
2208         and 32-bit hosts.
2209         (alpha_expand_epilogue): Update for alpha_emit_set_long_const.
2210         * alpha.md (movdi): Likewise.
2211
2212 Sat Sep 19 07:33:36 1998  Richard Earnshaw (rearnsha@arm.com)
2213
2214         * arm.c (add_constant): New parameter address_only, change caller.
2215         Set it non-zero if taking the address of an item in the pool.
2216         (arm_reorg): Handle cases where we need the address of an item in
2217         the pool.
2218
2219         * arm.c (bad_signed_byte_operand): Check both arms of a sum in
2220         a memory address.
2221         * arm.md (splits for *extendqihi_insn and *extendqisi_insn): Handle
2222         memory addresses that are not in standard canonical form.
2223
2224 Sat Sep 19 01:00:32 1998  Michael Hayes  (mph@elec.canterbury.ac.nz)
2225
2226         * README.C4X: New file with information about the c4x ports.
2227         * ginclude/va-c4x.h: New file for c4x varargs support.
2228         * config/c4x: New directory with c4x port files.
2229
2230 Fri Sep 18 22:52:05 1998  Jeffrey A Law  (law@cygnus.com)
2231
2232         * reload.c (find_reloads): Do not replace a pseudo with 
2233         (MEM (reg_equiv_addr)) in the initializing insn for the
2234         pseudo.
2235
2236 Fri Sep 18 23:50:56 1998  David Edelsohn  <edelsohn@mhpcc.edu>
2237
2238         * toplev.c (rest_of_compilation): Set bct_p on second call to
2239         loop_optimize.
2240         * loop.c (loop_optimize, scan_loop, strength_reduce): New argument
2241         bct_p.
2242         (strength_reduce): Only call analyze_loop_iterations and
2243         insert_bct if bct_p set.
2244         (check_dbra_loop): Fix typo.
2245         (insert_bct): Use word_mode instead of SImode.
2246         (instrument_loop_bct): Likewise.  Do not delete iteration count
2247         condition code generation insn.  Initialize iteration count before
2248         loop start.
2249         * rtl.h (loop_optimize): Update prototype.
2250
2251         * ginclude/va-ppc.h (va_arg): longlong types in overflow area are
2252         not doubleword aligned.
2253
2254         * rs6000.c (optimization_options): New function.
2255         (secondary_reload_class): Only call true_regnum for PSEUDO_REGs.
2256         * rs6000.h (OPTIMIZATION_OPTIONS): Define.
2257         (REG_ALLOC_ORDER): Allocate highest numbered condition regsiters
2258         first; cr1 can be used for FP record condition insns.
2259
2260 Fri Sep 18 09:44:55 1998  Nick Clifton  <nickc@cygnus.com>
2261
2262         * config/m32r/m32r.h (m32r_block_immediate_operand): Add to
2263         PREDICATE_CODES.
2264
2265         * config/m32r/m32r.md: Add "movstrsi" and "movstrsi_internal"
2266         patterns.
2267
2268         * config/m32r/m32r.c (m32r_print_operand): Add 's' and 'p'
2269         operators.
2270         (block_move_call): New function: Call a library routine to copy a
2271         block of memory.
2272         (m32r_expand_block_move): New function: Expand a "movstrsi"
2273         pattern into a sequence of insns.
2274         (m32r_output_block_move): New function: Expand a
2275         "movstrsi_internal" pattern into a sequence of assembler opcodes.
2276         (m32r_block_immediate_operand): New function: Return true if the
2277         RTL is an integer constant, less than or equal to MAX_MOVE_BYTES.
2278         
2279 Thu Sep 17 16:42:16 EDT 1998  Andrew MacLeod  <amacleod@cygnus.com>
2280
2281         * except.c (start_catch_handler): Issue 'fatal' instead of 'error' and
2282         re-align some code.
2283         * libgcc2.c (__eh_rtime_match): fprintf a runtime error. Use <stdio.h>.
2284
2285 Thu Sep 17 12:24:33 1998  J"orn Rennecke <amylaar@cygnus.co.uk>
2286
2287         * regmove.c (copy_src_to_dest): Check that modes match.
2288
2289 Wed Sep 16 22:10:42 1998  Robert Lipe  <robertl@dgii.com>
2290
2291         * config/i386/sco5.h (SUPPORTS_WEAK): True only if targeting ELF.
2292
2293 Wed Sep 16 15:24:54 1998  Richard Henderson  <rth@cygnus.com>
2294
2295         * i386.h (PREFERRED_RELOAD_CLASS): Respect an existing class
2296         narrower than FLOAT_REGS.
2297
2298 Wed Sep 16 17:51:00 1998  Alexandre Oliva  <oliva@dcc.unicamp.br>
2299
2300         * cpplib.c: removed OLD_GPLUSPLUS_INCLUDE_DIR
2301         * cccp.c: ditto
2302         * Makefile.in (old_gxx_include_dir): removed
2303
2304 Wed Sep 16 12:29:22 1998  Nick Clifton  <nickc@cygnus.com>
2305
2306         * config/sh/sh.h: Update definition of HANDLE_PRAGMA to match
2307         new specification.
2308
2309         * config/sh/sh.c (handle_pragma): Rename to sh_handle_pragma().
2310         (sh_handle_pragma): Change function arguments to match new
2311         specification for HANDLE_PRAGMA. 
2312
2313 Wed Sep 16 12:43:19 1998  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2314
2315         * gen-protos.c (parse_fn_proto): Cast argument of ISALNUM to
2316         `unsigned char'.
2317         (main): Mark parameter `argc' with ATTRIBUTE_UNUSED.
2318         When generating output, initialize missing struct member to zero.
2319
2320 Wed Sep 16 14:47:43 1998  J"orn Rennecke <amylaar@cygnus.co.uk>
2321
2322         * regmove.c (copy_src_to_dest): Don't copy if that requires
2323         (a) new register(s).
2324
2325 Wed Sep 16 01:29:12 1998  Bernd Schmidt <crux@pool.informatik.rwth-aachen.de>
2326
2327         * global.c (reg_allocno): Now static.
2328         * reload1.c (reg_allocno): Delete declaration.
2329         (order_regs_for_reload): Take no arguments.  Don't treat regs
2330         allocated by global differently than those allocated by local-alloc.
2331
2332 Wed Sep 16 01:09:01 1998  Kamil Iskra  <iskra@student.uci.agh.edu.pl>
2333
2334         * m68k/m68k.c (output_function_prologue): Reverse NO_ADDSUB_Q
2335         condition, fix format strings.
2336         (output_function_epilogue): Likewise.
2337
2338         * m68k/m68k.c: Don't include <stdlib.h> directly.
2339
2340 Wed Sep 16 00:30:56 1998  Geoff Keating  <geoffk@ozemail.com.au>
2341
2342         * gcse.c: New definition NEVER_SET for reg_first_set, reg_last_set,
2343         mem_first_set, mem_last_set; because 0 can be a CUID.
2344         (oprs_unchanged_p): Use new definition.
2345         (record_last_reg_set_info): Likewise.
2346         (record_last_mem_set_info): Likewise.
2347         (compute_hash_table): Likewise.
2348
2349 Tue Sep 15 22:59:52 1998  Jeffrey A Law  (law@cygnus.com)
2350
2351         * rs6000.c (output_epilogue): Handle Chill.
2352
2353         * mn10200.h (ASM_OUTPUT_DWARF2_ADDR_CONST): Define.
2354         * mn10300.h (ASM_OUTPUT_DWARF2_ADDR_CONST): Define.
2355
2356         * combine.c (make_extraction): If no mode is specified for
2357         an operand of insv, extv, or extzv, default it to word_mode.
2358         (simplify_comparison): Similarly.
2359         * expmed.c (store_bit_field): Similarly.
2360         (extract_bit_field): Similarly.
2361         * function.c (fixup_var_regs_1): Similarly.
2362         * recog.c (validate_replace_rtx_1): Similarly.
2363         * mips.md (extv, extzv, insv expanders): Default modes for most
2364         operands.  Handle TARGET_64BIT.
2365         (movdi_uld, movdi_usd): New patterns.
2366
2367         * pa.c (emit_move_sequence): Do not replace a pseudo with its
2368         equivalent memory location unless we have been provided a scratch
2369         register.  Similarly do not call find_replacement unless a
2370         scratch register has been provided.
2371
2372 Tue Sep 15 19:23:01 1998  Bernd Schmidt <crux@pool.informatik.rwth-aachen.de>
2373
2374         * i386.h (PREFERRED_RELOAD_CLASS): For standard 387 constants,
2375         return FLOAT_REGS.
2376
2377 Tue Sep 15 19:09:06 1998  Richard Henderson  <rth@cygnus.com>
2378
2379         * tree.h (BUILT_IN_CALLER_RETURN_ADDRESS): Unused.  Kill.
2380         (BUILT_IN_FP, BUILT_IN_SP, BUILT_IN_SET_RETURN_ADDR_REG): Kill.
2381         (BUILT_IN_EH_STUB_OLD, BUILT_IN_EH_STUB, BUILT_IN_SET_EH_REGS): Kill.
2382         (BUILT_IN_EH_RETURN, BUILT_IN_DWARF_CFA): New.
2383         * c-decl.c (init_decl_processing): Update accordingly.
2384         * expr.c (expand_builtin): Likewise.
2385
2386         * rtl.h (global_rtl): Add cfa entry.
2387         (virtual_cfa_rtx, VIRTUAL_CFA_REGNUM): New.
2388         (LAST_VIRTUAL_REGISTER): Update.
2389         * emit-rtl.c (global_rtl): Add cfa entry.
2390         (init_emit): Initialize it.
2391         * function.c (cfa_offset): New.
2392         (instantiate_virtual_regs): Initialize it.
2393         (instantiate_virtual_regs_1): Instantiate virtual_cfa_rtx.
2394         (expand_function_end): Call expand_eh_return.
2395         * tm.texi (ARG_POINTER_CFA_OFFSET): New.
2396
2397         * except.c (current_function_eh_stub_label): Kill.
2398         (current_function_eh_old_stub_label): Likwise; update all references.
2399         (expand_builtin_set_return_addr_reg): Kill.
2400         (expand_builtin_eh_stub_old, expand_builtin_eh_stub): Kill.
2401         (expand_builtin_set_eh_regs): Kill.
2402         (eh_regs): Produce a third reg for the actual handler address.
2403         (eh_return_context, eh_return_stack_adjust): New.
2404         (eh_return_handler, eh_return_stub_label): New.
2405         (init_eh_for_function): Initialize them.
2406         (expand_builtin_eh_return, expand_eh_return): New.
2407         * except.h: Update prototypes.
2408         * flow.c (find_basic_blocks_1): Update references to the stub label.
2409         * function.h (struct function): Kill stub label elements.
2410
2411         * libgcc2.c (in_reg_window): For REG_SAVED_REG, check that the
2412         register number is one that would be in the previous window.
2413         Provide a dummy definition for non-windowed targets.
2414         (get_reg_addr): New function.
2415         (get_reg, put_reg, copy_reg): Use it.
2416         (__throw): Rely on in_reg_window, not INCOMING_REGNO.  Kill stub
2417         generating code and use __builtin_eh_return.  Use __builtin_dwarf_cfa.
2418
2419         * alpha.c (alpha_eh_epilogue_sp_ofs): New.
2420         (alpha_init_expanders): Initialize it.
2421         (alpha_expand_epilogue): Use it.
2422         * alpha.h: Declare it.
2423         * alpha.md (eh_epilogue): New.
2424
2425         * m68h.h (ARG_POINTER_CFA_OFFSET): New.
2426         * sparc.h (ARG_POINTER_CFA_OFFSET): New.
2427
2428 Tue Sep 15 19:31:58 1998  Michael Meissner  <meissner@cygnus.com>
2429
2430         * i960.h (CONST_COSTS): Fix thinko.  Test flag, not the constant
2431         flag bit mask.
2432
2433 Tue Sep 15 14:10:54 EDT 1998  Andrew MacLeod  <amacleod@cygnus.com>
2434
2435         * except.h (struct eh_entry): Add false_label field.
2436         (end_catch_handler): Add prototype.
2437         * except.c (push_eh_entry): Set false_label field to NULL_RTX.
2438         (start_catch_handler): When using old style exceptions, issue
2439         runtime typematch code before continuing with the handler.
2440         (end_catch_handler): New function, generates label after handler
2441         if needed by older style exceptions.
2442         (expand_start_all_catch): No need to check for new style exceptions.
2443         (output_exception_table_entry): Only output the first handler label
2444         for old style exceptions.
2445         * libgcc2.c (__eh_rtime_match): New routine to lump runtime matching
2446         mechanism into one function, if a runtime matcher is provided.
2447
2448 Tue Sep 15 13:53:59 EDT 1998  Andrew MacLeod  <amacleod@cygnus.com>
2449
2450         * config/i960/i960.h (SLOW_BYTE_ACCESS): Change definition to 1.
2451
2452 Tue Sep 15 09:59:01 1998  Mark Mitchell  <mark@markmitchell.com>
2453
2454         * integrate.c (copy_decl_list): Fix typo.
2455
2456 Tue Sep 15 04:18:52 1998  David S. Miller  <davem@pierdol.cobaltmicro.com>
2457
2458         * config/sparc/sparc.md (movdf_const_intreg_sp32): Fix length
2459         attribute.
2460
2461 Mon Sep 14 14:02:53 PDT 1998 Jeff Law  (law@cygnus.com)
2462
2463         * version.c: Bump for snapshot.
2464
2465 Mon Sep 14 10:33:56 PDT 1998 Jeff Law  (law@cygnus.com)
2466
2467         * version.c: Bump for snapshot.
2468
2469 Mon Sep 14 09:51:05 PDT 1998 Jeff Law  (law@cygnus.com)
2470
2471         * version.c: Bump for snapshot.
2472
2473 Sun Sep 13 22:10:18 1998  David S. Miller  <davem@pierdol.cobaltmicro.com>
2474
2475         * invoke.texi (C Dialect Options): Put back missing @end itemize.
2476
2477 Mon Sep 14 02:33:46 1998  Alexandre Oliva  <oliva@dcc.unicamp.br>
2478
2479         * configure.in: remove usage of `!' to negate the result of a
2480         command; some common shells do not support it
2481
2482 Sun Sep 13 19:17:35 1998  David S. Miller  <davem@pierdol.cobaltmicro.com>
2483
2484         * configure.in: in sparc9-sol2 config, use 'if test' not
2485         brackets.
2486         * configure: Rebuilt.
2487
2488         * config/sparc/sol2-sld-64.h (SPARC_DEFAULT_CMODEL): Change to
2489         CM_MEDANY.
2490         (CPP_CPU_SPEC): Do not define _LP64, header files do this.
2491         (CPP_CPU_DEFAULT_SPEC): Likewise.
2492         * config/sparc/sol2.h (INIT_SUBTARGET_OPTABS): Get the names right
2493         for arch64 libfuncs.
2494         
2495         * config/sparc/sparc.md (goto_handler_and_restore): Allow any mode
2496         for operand zero.
2497
2498 Sun Sep 13 09:11:59 1998  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2499
2500         * acconfig.h (NEED_DECLARATION_STRSIGNAL): Provide a stub.
2501
2502         * collect2.c: Don't declare `sys_siglist' here.
2503         (my_strsignal): Prototype and define new function.  Use it in
2504         place of `sys_siglist' hacks.
2505
2506         * mips_tfile.c:  Likewise.
2507
2508         * configure.in (AC_CHECK_FUNCS): Check for strsignal.
2509         (GCC_NEED_DECLARATIONS): Likewise.
2510
2511         * system.h (strsignal): Prototype it, if necessary.
2512         (sys_siglist): Declare it, if necessary.
2513
2514 Sun Sep 13 04:37:28 1998  David S. Miller  <davem@pierdol.cobaltmicro.com>
2515
2516         * loop.c (move_movables): While removing insn sequences, preserve
2517         the next pointer of the most recently deleted insn when we skip
2518         over a NOTE.
2519
2520 Sun Sep 13 08:13:39 1998  Ben Elliston  <bje@cygnus.com>
2521
2522         * objc/config-lang.in: Do not output the name of the selected
2523         thread file when building the front-end.  The Makefile for the
2524         runtime library will do this.
2525
2526         * objc/Make-lang.in: Do not build the runtime library or install
2527         the Objective C header files.  The Makefile for the runtime
2528         library will do this.
2529
2530         * objc/Makefile.in (all.indirect): Only build the front-end.
2531         (compiler): Rename to `frontend'.
2532         (obj-runtime): Remove target.
2533         (copy-headers): Likewise.
2534         (clean): No need to remove `libobjc.a' any longer.
2535
2536 Sat Sep 12 11:37:19 1998  Michael Meissner  <meissner@cygnus.com>
2537
2538         * rs6000.h ({ASM,CPP}_CPU_SPEC): Add support for all machines
2539         supported with -mcpu=xxx.
2540
2541 Fri Sep 11 23:55:54 1998  David S. Miller  <davem@pierdol.cobaltmicro.com>
2542
2543         * flow.c (mark_set_1): Recognize multi-register structure return
2544         values in CALL insns.
2545         (mark_used_regs): Likewise.
2546         (count_reg_sets_1): Likewise.
2547         (count_reg_references): Likewise.
2548         * rtlanal.c (note_stores): Likewise.
2549         (reg_overlap_mentioned_p): Likewise.
2550         * haifa-sched.c (check_live_1): Likewise.
2551         (update_live_1): Likewise.
2552         (sched_analyze_1): Likewise.
2553         (sched_note_set): Likewise.
2554         (birthing_insn_p): Likewise.
2555         (attach_deaths): Likewise.
2556
2557         * config/sparc/sparc.md (movdf_const_intreg_sp64): Disable.
2558
2559
2560 Fri Sep 11 22:57:55 1998  Eric Dumazet  <dumazet@cosmosbay.com>
2561
2562         * config/i386/sco5.h (ASM_WEAKEN_LABEL): Defined as in svr4.h.
2563
2564 Thu Sep 10 22:02:04 1998  David S. Miller  <davem@pierdol.cobaltmicro.com>
2565
2566         * glimits.h (__LONG_MAX__): Recognize __sparcv9 too.
2567
2568 Thu Sep 10 21:19:10 1998  Jakub Jelinek  <jj@sunsite.ms.mff.cuni.cz>
2569
2570         * configure.in: Add check for GAS subsection -1 support.
2571         * acconfig.h (HAVE_GAS_SUBSECTION_ORDERING): Add.
2572         * configure config.in: Rebuilt.
2573         * config/sparc/sparc.h (CASE_VECTOR_MODE): For V9 flag_pic, use
2574         SImode is subsection -1 works, else use DImode.
2575         (ASM_OUTPUT_ADDR_VEC_START, ASM_OUTPUT_ADDR_VEC_END): Define if
2576         subsection -1 works.
2577         * config/sparc/sparc.c (sparc_output_addr_vec,
2578         sparc_output_addr_diff_vec): Use them if defined.
2579
2580 Thu Sep 10 10:46:01 1998  Mark Mitchell  <mark@markmitchell.com>
2581
2582         * tree.h (DECL_ORIGIN): New macro.
2583         * integrate.c (copy_and_set_decl_abstract_origin): New function.
2584         (copy_decl_list): Use it.
2585         (integrate_parm_decls): Likewise.
2586         (integrate_decl_tree): Likewise.
2587         * dwarf2out.c (decl_ultimate_origin): Simplify.
2588         * dwarfout.c (decl_ultimate_origin): Likewise.
2589         * c-decl.c (duplicate_decls): Use DECL_ORIGIN.
2590         (pushdecl): Likewise.
2591
2592 Thu Sep 10 08:01:31 1998  Anthony Green  <green@cygnus.com>
2593
2594         * config/rs6000/rs6000.c (output_epilog): Add Java support.
2595
2596 Thu Sep 10 14:48:59 1998  Martin von Löwis  <loewis@informatik.hu-berlin.de>
2597
2598         * invoke.texi (C++ Dialect Options): Document -fhonor-std.
2599
2600 Thu Sep 10 01:38:05 1998  Jeffrey A Law  (law@cygnus.com)
2601
2602         * reg-stack.c (straighten_stack): Do nothing if the virtual stack is
2603         empty or has a single entry.
2604
2605         * toplev.c (rest_of_compilation): Open up the dump file for reg-stack
2606         before calling reg_to_stack.
2607
2608 Thu Sep 10 00:03:34 1998  Richard Henderson  <rth@cygnus.com>
2609
2610         * alpha.c (alphaev5_insn_pipe): Abort on default case.
2611         (alphaev5_next_group): Swallow CLOBBERs and USEs.
2612
2613         * c-tree.h (warn_long_long): Declare it.
2614
2615 Wed Sep  9 23:31:36 1998  (Stephen L Moshier) <moshier@world.std.com>
2616
2617         * emit-rtl.c (gen_lowpart_common): Disable optimization of
2618         initialized float-int union if the value is a NaN.
2619
2620 Wed Sep  9 23:00:48 1998  Nathan Sidwell  <nathan@acm.org>
2621
2622         * c-lex.c (real_yylex): Don't warn about long long constants if 
2623         we're allowing long long
2624
2625 Wed Sep  9 21:58:41 1998  Bernd Schmidt <crux@pool.informatik.rwth-aachen.de>
2626
2627         * except.h (current_function_eh_stub_label): Declare.
2628         (current_function_eh_old_stub_label): Declare.
2629         * function.h (struct function): New members eh_stub_label and
2630         eh_old_stub_label.
2631         * except.c (current_function_eh_stub_label): New variable.
2632         (current_function_eh_old_stub_label): New variable.
2633         (init_eh_for_function): Clear them.
2634         (save_eh_status): Save them.
2635         (restore_eh_status): Restore them.
2636         (expand_builtin_eh_stub): Set current_function_eh_stub_label.
2637         (expand_builtin_eh_stub_old): Set current_function_eh_old_stub_label.
2638         * flow.c (find_basic_blocks_1): When handling a REG_LABEL note, don't
2639         make an edge from the block that contains it to the block starting
2640         with the label if this label is one of the eh stub labels.
2641         If eh stub labels exist, show they are reachable from the last block
2642         in the function.
2643
2644         * reload1.c (reload): Break out several subroutines and make some
2645         variables global.
2646         (calculate_needs_all_insns): New function, broken out of reload.
2647         (calculate_needs): Likewise.
2648         (find_reload_regs): Likewise.
2649         (find_group): Likewise.
2650         (find_tworeg_group): Likewise.
2651         (something_needs_reloads): New global variable, formerly in reload.
2652         (something_needs_elimination): Likewise.
2653         (caller_save_spill_class): Likewise.
2654         (caller_save_group_size): Likewise.
2655         (max_needs): Likewise.
2656         (group_size): Likewise.
2657         (max_groups): Likewise.
2658         (max_nongroups): Likewise.
2659         (group_mode): Likewise.
2660         (max_needs_insn): Likewise.
2661         (max_groups_insn): Likewise.
2662         (max_nongroups_insn): Likewise.
2663         (failure): Likewise.
2664
2665         * print-rtl.c (print_rtx): For MEMs, print MEM_ALIAS_SET.
2666
2667 Wed Sep  9 13:14:41 1998  Richard Henderson  <rth@cygnus.com>
2668
2669         * loop.c (load_mems): Copy rtx for output mem.
2670
2671 Wed Sep  9 15:16:58 1998  Gavin Romig-Koch  <gavin@cygnus.com>
2672
2673         * mips/abi64.h (LONG_MAX_SPEC): Don't set LONG_MAX for
2674         mips1 or mips2 either.
2675
2676 Wed Sep  9 12:31:35 1998  Jeffrey A Law  (law@cygnus.com)
2677
2678         * pa.c (pa_reorg): New marking scheme for jumps inside switch
2679         tables.
2680         (pa_adjust_insn_length): Update to work with new marking scheme
2681         for jumps inside switch tables. 
2682         * pa.md (switch_jump): Remove pattern.
2683         (jump): Handle jumps inside jump tables.
2684
2685         * Makefile.in (profile.o): Depend on insn-config.h
2686
2687 Wed Sep  9 09:36:51 1998  Jim Wilson  <wilson@cygnus.com>
2688
2689         * iris6.h (DWARF2_UNWIND_INFO): Undef.
2690
2691 Wed Sep  9 01:32:01 1998  David S. Miller  <davem@pierdol.cobaltmicro.com>
2692
2693         Add preliminary native sparcv9 Solaris support.
2694         * configure.in: Recognize sparv9-*-solaris2*
2695         * configure: rebuilt
2696         * config.sub: Recognize sparcv9 just like sparc64.
2697         * config/sparc/sol2-c1.asm config/sparc/sol2-ci.asm
2698         config/sparc/sol2-cn.asm: Macroize so it can be shared between
2699         32-bit and 64-bit Solaris systems.
2700         * config/sparc/t-sol2: Assemble those with cpp.
2701         * config/sparc/sparc.h (TARGET_CPU_sparcv9): New alias for v9.
2702         (*TF*_LIBCALL): If ARCH64 use V9 names.
2703         * config/sparc/{xm-sysv4-64,sol2-sld-64}.h: New files.
2704
2705 Wed Sep  9 01:07:30 1998  Jakub Jelinek  <jj@sunsite.ms.mff.cuni.cz>
2706
2707         * config/sparc/sparc.h (TARGET_CM_MEDMID): Fix documentation.
2708         (CASE_VECTOR_MODE): Set to SImode even if PTR64, when MEDLOW and
2709         not doing pic.
2710         (ASM_OUTPUT_ADDR_{VEC,DIFF}_ELT): Check CASE_VECTOR_MODE not
2711         Pmode.
2712         * config/sparc/sparc.md (tablejump): Likewise, and sign extend op0
2713         to Pmode if CASE_VECTOR_MODE is something else.
2714
2715 Wed Sep  9 00:10:31 1998  Jeffrey A Law  (law@cygnus.com)
2716
2717         * prefix.c (update_path): Correctly handle cases where PATH is
2718         a substring of the builtin prefix, but specifies a different
2719         directory location.
2720
2721 Tue Sep  8 23:46:04 1998  Hans-Peter Nilsson  <hp@axis.se>
2722
2723         * expr.c: Corrected comment about what MOVE_RATIO does.
2724         * config/alpha/alpha.h: Ditto.
2725         * config/1750a/1750a.h: Ditto.
2726         * config/clipper/clipper.h: Ditto.
2727         * config/i386/i386.h: Ditto.
2728
2729 Tue Sep  8 22:56:12 1998  Jeffrey A Law  (law@cygnus.com)
2730
2731         * configure.in (m68k-next-nextstep3*): Use collect2.
2732         Similarly for x86 NeXT configurations.
2733         * configure: Rebuilt.
2734
2735 Tue Sep  8 01:38:57 1998  Nathan Sidwell  <nathan@acm.org>
2736
2737         * configure.in: Don't assume srcdir is .../gcc
2738         * configure: Rebuilt.
2739
2740 Sat Sep  5 16:34:34 EDT 1998  John Wehle  (john@feith.com)
2741
2742         * global.c: Update comments.
2743         (global_alloc): Assign allocation-numbers
2744         even for registers allocated by local_alloc in case
2745         they are later spilled and retry_global_alloc is called.
2746         (mark_reg_store, mark_reg_clobber,
2747         mark_reg_conflicts, mark_reg_death): Always record a
2748         conflict with a pseudo register even if it has been
2749         assigned to a hard register.
2750         (dump_conflicts): Don't list pseudo registers already assigned to
2751         a hard register as needing to be allocated, but do list their
2752         conflicts.
2753         * local-alloc.c: Update comment.
2754
2755 Mon Sep  7 23:38:01 1998  Jeffrey A Law  (law@cygnus.com)
2756
2757         * configure.in: Check for bogus GCC_EXEC_PREFIX and LIBRARY_PATH.
2758         * configure: Rebuilt.
2759
2760 Mon Sep  7 22:41:46 1998  Michael Meissner  <meissner@cygnus.com>
2761
2762         * rs6000.c (rs6000_override_options): Fix name for ec603e, to add
2763         missing 'c'.
2764         * t-ppccomm (MULTILIB_MATCHES_FLOAT): Add support for -mcpu=xxx
2765         for all targets that set -msoft-float.
2766
2767 Mon Sep  7 23:30:07 1998  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2768
2769         * toplev.c (print_switch_values): Make static to match prototype.
2770
2771 Mon Sep  7 19:13:59 1998  Jeffrey A Law  (law@cygnus.com)
2772
2773         * configure.in: If we are unable to find the "gnatbind" program,
2774         then do not configure the ada subdir.
2775         * configure: Rebuilt.
2776
2777 Sun Sep 6 14:03:58 PDT 1998 Jeff Law  (law@cygnus.com)
2778
2779         * version.c: Bump for snapshot.
2780
2781 Sun Sep 6 13:28:07 PDT 1998 Jeff Law  (law@cygnus.com)
2782
2783         * version.c: Bump for snapshot.
2784
2785 Sun Sep  6 08:54:14 1998  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2786
2787         * Makefile.in (toplev.o): Depend on $(EXPR_H).
2788         (insn-extract.o, insn-attrtab.o): Depend on toplev.h.
2789
2790         * gansidecl.h: Define ATTRIBUTE_NORETURN.
2791
2792         * genattrtab.c: Have insn-attrtab.c include toplev.h.
2793
2794         * genextract.c: Have insn-extract.c include toplev.h.
2795
2796         * rtl.h: Don't prototype `fatal_insn_not_found' and `fatal_insn'.
2797
2798         * toplev.c: Include expr.h.
2799         (really_sorry, fancy_abort): Remove prototypes.
2800         (set_target_switch): Add argument in prototype.
2801         (vfatal): Mark prototype with ATTRIBUTE_NORETURN.
2802         (v_really_sorry): Likewise.
2803         (print_version, print_single_switch, print_switch_values): Make
2804         static and add prototype arguments.
2805         (decl_printable_name): Add prototype arguments.
2806         (lang_expand_expr_t): New typedef.
2807         (lang_expand_expr): Declare as a lang_expand_expr_t.
2808         (incomplete_decl_finalize_hook): Add prototype argument.
2809         (decl_name): Mark variable `verbosity' with ATTRIBUTE_UNUSED.
2810         (botch): Likewise for variable `s'.
2811         (rest_of_type_compilation): Mark variables `type' and `toplev'
2812         with ATTRIBUTE_UNUSED if none of DBX_DEBUGGING_INFO,
2813         XCOFF_DEBUGGING_INFO or SDB_DEBUGGING_INFO are defined.
2814         (display_help): Make variable `i' an `unsigned long'.
2815         (main): Remove unused parameter `envp'.
2816         Cast assignment to `lang_expand_expr' to a `lang_expand_expr_t'.
2817         Cast -1 when comparing it with a `size_t'.
2818
2819         * toplev.h (fatal, fatal_io_error, pfatal_with_name): Mark
2820         prototype with ATTRIBUTE_NORETURN.
2821         (fatal_insn_not_found, fatal_insn, really_sorry,
2822         push_float_handler, pop_float_handler): Add prototypes.
2823         (fancy_abort): Mark prototype with ATTRIBUTE_NORETURN.
2824         (do_abort, botch): Add prototypes.
2825         
2826 Sat Sep  6 12:05:18 1998  John Carr  <jfc@mit.edu>
2827
2828         * final.c (final): If a label is reached only from a single jump,
2829         call NOTICE_UPDATE_CC on the jump and its predecessor before
2830         emitting the insn after the label.
2831         
2832         * i386.h: Add AMD K6 support.
2833         Change TARGET_* macros to use table lookup.
2834         (INITIALIZE_TRAMPOLINE): Improve trampoline code.
2835         (ADJUST_COST): Change definition to call function in i386.c.
2836         (ISSUE_RATE): Define as 2 for anything newer than an 80486.
2837         * i386.c: Add AMD K6 support.
2838         Add constants for feature tests used by TARGET_* macros.
2839         (split_di): If before reload, call gen_lowpart and gen_highpart.
2840         (x86_adjust_cost): New function.
2841         (put_jump_code): New function.
2842         (print_operand): New codes 'D' and 'd'.
2843         * i386.md: New insn types.  New insn attribute "memory".
2844         Redefine scheduling parameters to use new types and add AMD K6
2845         support.  Explicitly set type of most insns.
2846         (move insns): K6 prefers movl $0,reg to xorl reg,reg.  Pentium
2847         Pro and K6 prefer movl $1,reg to incl reg.
2848         (adddi3, subdi3): Set cc_status.
2849         (DImode shift patterns): Change label counters from HOST_WIDE_INT
2850         to int; x86 can't have more than 2^31 DImode shifts per file.
2851         (setcc): Combine all setcc patterns.  Allow writing memory.
2852         Combine all jump patterns using match_operator.
2853         (*bzero): Name pattern.  Emit mutliple stos instructions when that
2854         is faster than rep stos.
2855         (xordi3, anddi3, iordi3): Simplify DImode logical patterns and
2856         add define_split.
2857
2858 Sun Sep  6 11:17:20 1998  Dave Love  <d.love@dl.ac.uk>
2859
2860         * config/m68k/x-next (BOOT_LDFLAGS): Define suitably for f771
2861         linking.
2862
2863 Sat Sep  5 22:05:25 1998  Richard Henderson  <rth@cygnus.com>
2864
2865         * alpha.c (alpha_ra_ever_killed): Inspect the topmost sequence,
2866         not whatever we're generating now.
2867
2868         * alpha.c (set_frame_related_p, FRP): New.
2869         (alpha_expand_prologue): Mark frame related insns.
2870         (alpha_expand_epilogue): Likewise, but with a null FRP.
2871         * alpha.h (INCOMING_RETURN_ADDR_RTX): New.
2872         * alpha.md (exception_receiver): New.
2873         * alpha/crtbegin.asm (.eh_frame): New beginning.
2874         (__do_frame_setup, __do_frame_takedown): New.
2875         * alpha/crtend.asm (.eh_frame): New ending.
2876         * alpha/elf.h (DWARF2_DEBUGGING_INFO): Define.
2877         (ASM_SPEC): Don't emit both dwarf2 and mdebug.
2878         (ASM_FILE_START): Don't emit .file for dwarf2.
2879
2880         * rtl.h (enum reg_note): Add REG_FRAME_RELATED_EXPR.
2881         * rtl.c (reg_note_name): Likewise.
2882         * rtl.texi (REG_NOTES): Likewise.
2883         * dwarf2out.c (dwarf2out_frame_debug): Use it.  Recognize a store
2884         without an offset.
2885
2886 Sat Sep  5 14:47:17 1998  Richard Henderson  <rth@cygnus.com>
2887
2888         * i386.h (PREFERRED_RELOAD_CLASS): Standard fp constants load to TOS.
2889         * i386.md (movsf, movdf, movxf): Validate memory address returned
2890         from force_const_mem.  Kill useless REG_EQUAL setting code.
2891
2892 Sat Sep  5 14:23:31 1998  Torbjorn Granlund <tege@matematik.su.se>
2893
2894         * m68k.md (zero_extendsidi2): Fix typo.
2895
2896 Sat Sep  5 13:40:24 1998  Krister Walfridsson  <cato@df.lth.se>
2897
2898         * configure.in: Removed references to the removed file
2899         * config/xm-netbsd.h. Use ${cpu_type}/xm-netbsd.h for
2900         * arm*-*-netbsd* and ns32k-*-netbsd*.
2901         * config/i386/xm-netbsd.h: Removed unnecessary file.
2902         * config/m68k/xm-netbsd.h: Likewise.
2903         * config/sparc/xm-netbsd.h: Likewise.
2904         * config/mips/xm-netbsd.h: Likewise.
2905
2906 Sat Aug 29 13:32:58 1998  Mumit Khan  <khan@xraylith.wisc.edu>
2907
2908         * i386/cygwin32.h (BIGGEST_ALIGNMENT): Define.
2909         (PCC_BITFIELD_TYPE_MATTERS): Define to be 0.
2910
2911         * i386/cygwin32.h (ASM_OUTPUT_SECTION_NAME): Don't check for
2912         for exact section attributions.
2913
2914         * i386/mingw32.h (CPP_PREDEFINES): Add __MSVCRT__ for msvc
2915         runtime.
2916         * i386/crtdll.h (CPP_PREDEFINES): Define.
2917
2918 Sat Sep  5 03:23:05 1998  Jeffrey A Law  (law@cygnus.com)
2919
2920         * m68k.md (5200 movqi): Do not allow byte sized memory references
2921         using address regs.
2922         * m68k.c (output_move_qimode): Do not use byte sized operations on
2923         address registers.
2924
2925         * Makefile.in (pexecute.o): Use pexecute.c from libiberty.  Provide
2926         explicit rules for building.  Similarly for alloca, vfprintf,
2927         choose-temp and mkstemp, getopt, getopt1, and obstack.
2928         (INCLUDES): Add $(srcdir)/../include.
2929         * pexecute.c, alloca.c, vfprintf.c, choose-temp.c, mkstemp.c: Delete.
2930         * getopt.h, getopt.c getopt1.c, obstack.c, obstack.h: Likewise.
2931
2932 Fri Sep  4 11:57:50 1998  Tom Tromey  <tromey@cygnus.com>
2933
2934         * gcc.c (do_spec_1): [case 'o'] Account for
2935         lang_specific_extra_outfiles.
2936         (main): Correctly clear all slots in outfiles for
2937         lang_specific_extra_outfiles.  Set input_file_number before
2938         calling lang_specific_pre_link.
2939
2940 Fri Sep  4 10:37:07 1998  Jim Wilson  <wilson@cygnus.com>
2941
2942         * loop.c (load_mems): Fix JUMP_LABEL field after for_each_rtx call.
2943
2944 Fri Sep  4 02:01:05 1998  David S. Miller  <davem@pierdol.cobaltmicro.com>
2945
2946         * config/sparc/sparc.c (output_double_int): In all V9 symbolic
2947         cases, use xword.
2948         (sparc_output_deferred_case_vectors): If no work to do, return.
2949         Fix thinko in Sept 1 change.
2950
2951 1998-09-03  SL Baur  <steve@altair.xemacs.org>
2952
2953         * Makefile.in: add semicolon in BISON definition for portability.
2954
2955 Thu Sep  3 13:34:41 1998  Toon Moene  <toon@moene.indiv.nluug.nl>
2956
2957         * config/nextstep.c (handle_pragma): Correct name of third
2958         argument.
2959
2960 Tue Sep  1 11:30:33 1998  Nick Clifton  <nickc@cygnus.com>
2961
2962         * config/m32r/m32r.md: Change (reg:CC 17) to (reg:SI 17).
2963         * config/m32r/m32r.h: Make register 17 be fixed.
2964         * config/m32r/m32r.c: Use SImode for cc operations.
2965
2966 Thu Sep  3 18:17:34 1998 Benjamin Kosnik  <bkoz@cygnus.com>
2967
2968         * invoke.texi (Warning Options): Add -Wnon-template-friend
2969         documentation.
2970
2971 Thu Sep  3 18:16:16 1998  Michael Meissner  <meissner@cygnus.com>
2972
2973         * rs6000.c (rs6000_override_options): Add -mcpu={401,e603e}.
2974
2975 Thu Sep  3 18:05:16 1998  David Edelsohn  <edelsohn@mhpcc.edu>
2976
2977         * rs6000.md (movsf): Disable explicit secondary-reload-like
2978         functionality if TARGET_POWERPC64.
2979         (movdf): Remove TARGET_POWERPC64 explicit secondary-reload-like
2980         functionality.
2981
2982 Thu Sep  3 11:41:40 1998  Robert Lipe   <robertl@dgii.com>
2983
2984         * fixinc.sco: Borrow code to wrap 'bool' typedefs from tinfo.h
2985         and term.h from fixinc.wrap.
2986
2987 Thu Sep  3 09:47:31 1998  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2988
2989         * aclocal.m4 (GCC_HEADER_STRING): New macro to detect if it is
2990         safe to include both string.h and strings.h together.
2991         (GCC_NEED_DECLARATION): Test STRING_WITH_STRINGS when deciding
2992         which headers to search for function declarations.  Continue to
2993         prefer string.h over strings.h when both are not acceptable.
2994
2995         * acconfig.h (STRING_WITH_STRINGS): Add stub.
2996
2997         * configure.in: Call GCC_HEADER_STRING.
2998
2999         * system.h: Test STRING_WITH_STRINGS when deciding which headers
3000         to include.  Continue to prefer string.h over strings.h when both
3001         are not acceptable.
3002
3003 Wed Sep  2 23:56:29 1998  David S. Miller  <davem@pierdol.cobaltmicro.com>
3004
3005         * config/sparc/sparc.c (output_double_int): If V9 and MEDLOW, do
3006         not assume top 32-bits of symbolic addresses are zero if
3007         flag_pic.
3008
3009 Thu Sep  3 00:23:21 1998  Richard Henderson  <rth@cygnus.com>
3010
3011         * ginclude/va-alpha.h: Protect entire second portion of the
3012         file against double inclusion.
3013
3014 Thu Sep  3 00:37:55 1998  Ovidiu Predescu  <ovidiu@aracnet.com>
3015
3016         Added support for the Boehm's garbage collector.
3017         * configure.in: Handle --enable-objc-gc.
3018         * configure: Rebuilt.
3019         * Makefile.in (CHECK_TARGETS): Add check-objc.
3020         (check-objc): New rule.
3021         * objc/Make-lang.in: Build a different Objective-C library that
3022         runs with the Boehm's collector.
3023         * objc/encoding.c (objc_round_acc_size_for_types): New function.
3024         * objc/encoding.c: Correctly compute the size of compound types in
3025         the presence of bitfields. Skip the variable name of the type if
3026         any. Added support for long long.
3027         * objc/encoding.h (_C_GCINVISIBLE): New specifier.
3028         (_F_GCINVISIBLE): New mask.
3029         * objc/gc.c: New file. Compute the type memory mask associated with
3030         a class based on the runtime information.
3031         * objc/misc.c: Added the hooks that use the Boehm's collector
3032         allocation functions.
3033         * objc/objc-act.c (build_class_template): Generate a new class
3034         member (gc_object_type) to hold the class' type memory mask.
3035         (build_shared_structure_initializer): Initialize the new member to
3036         NULL.
3037         (encode_complete_bitfield): New function. Generate the new
3038         encoding.
3039         (encode_field_decl): Generate the new encoding only for the GNU
3040         runtime.
3041         * objc/objc-api.h (_C_LNG_LNG, _C_ULNG_LNG): New specifiers for the
3042         long long types.
3043         (class_get_gc_object_type): New function to mark a pointer instance
3044         variable as a weak pointer.
3045         * objc/objc-features.texi: New file.
3046         * objc/objc.h (gc_object_type): New class member.
3047         * objc/objects.c (class_create_instance): Create a typed memory
3048         object when compiled with Boehm's collector support.
3049         * objc/sendmsg.c (__objc_init_install_dtable): Call
3050         __objc_send_initialize instead of setting the initialize flag.
3051         (__objc_send_initialize): Call __objc_generate_gc_type_description
3052         to generate the class type memory mask. Rewrite the code that
3053         sends the +initialize so that it is called only once (bug report
3054         and fix from Ronald Pijnacker <Ronald.Pijnacker@best.ms.philips.com>).
3055         * testsuite/objc: New testsuite for Objective-C type encoding.
3056         * testsuite/lib/objc-torture.exp: New file.
3057         * testsuite/lib/objc.exp: New file.
3058
3059 Wed Sep  2 14:47:36 1998  Jim Wilson  <wilson@cygnus.com>
3060
3061         * jump.c (jump_optimize): In if/then/else transformations, add
3062         another call to modified_between_p for the jump insn.
3063
3064 Wed Sep  2 14:16:49 1998  Jeffrey A Law  (law@cygnus.com)
3065
3066         * fix-header.c (symlink): Treat like readlink.
3067
3068 Wed Sep  2 19:30:06 1998  J"orn Rennecke <amylaar@cygnus.co.uk>
3069
3070         * dwarfout.c (fundamental_type_code): Encode 32 bit floats/doubles
3071         as FT_float.
3072
3073 Wed Sep  2 10:06:07 1998  Nick Clifton  <nickc@cygnus.com>
3074
3075         * config/nextstep.h:    Update HANDLE_PRAGMA macro.
3076         * config/h8300/h8300.h: Update HANDLE_PRAGMA macro.
3077         * config/i960/i960.h:   Update HANDLE_PRAGMA macro.
3078         
3079         * config/nextstep.c (handle_pragma): Take three arguments, as per
3080         the new HANDLE_PRAGMA macro specification.
3081         * config/h8300/h8300.c (handle_pragma): Take three arguments, as
3082         per the new HANDLE_PRAGMA macro specification.
3083         * config/i960/i960.c (process_pragma): Take three arguments, as
3084         per the new HANDLE_PRAGMA macro specification.
3085
3086 Wed Sep  2 09:25:29 1998  Nick Clifton  <nickc@cygnus.com>
3087
3088         * c-lex.c (check_newline):  Call HANDLE_PRAGMA before
3089         HANDLE_SYSV_PRAGMA if both are defined.  Generate warning messages
3090         if unknown pragmas are encountered.
3091         (handle_sysv_pragma): Interpret return code from
3092         handle_pragma_token ().  Return success/failure indication rather
3093         than next unprocessed character. 
3094         (pragma_getc): New function: retrieves characters from the
3095         input stream.  Defined when HANDLE_PRAGMA is enabled.
3096         (pragma_ungetc): New function: replaces characters back into the
3097         input stream.  Defined when HANDLE_PRAGMA is enabled.
3098         
3099         * c-pragma.c (handle_pragma_token): Return success/failure status
3100         of the parse.
3101         
3102         * c-pragma.h: Change prototype of handle_pragma_token().
3103
3104         * varasm.c: (handle_pragma_weak): Only create this function if
3105         HANDLE_PRAGMA_WEAK is defined.
3106
3107         * c-common,c (decl_attributes): If defined call the expression
3108         contained within the INSERT_ATTRIBUTES macro before adding
3109         attributes to a decl.
3110
3111         * tm.texi (HANDLE_PRAGMA): Document the new verion of
3112         HANDLE_PRAGMA, which takes three arguments.
3113         (INSERT_ATTRIBUTES): Document this new macro.  
3114
3115         * LANGUAGES: Document the new version of HANDLE_PRAGMA and the
3116         new INSERT_ATTRIBUTES macro.
3117
3118 Wed Sep  2 02:03:23 1998  David S. Miller  <davem@pierdol.cobaltmicro.com>
3119
3120         * config/sparc/sparc.md (movdf): Only generate special RTL for
3121         LABEL_REFs when PIC.
3122         (move_label_di): Remove
3123         (movdi_pic_label_ref, movdi_high_pic_label_ref,
3124         movdi_lo_sum_pic_label_ref): New patterns for 64-bit label
3125         references when PIC.
3126         * config/sparc/sparc.h (ASM_OUTPUT_ADDR_VEC_ELT,
3127         ASM_OUTPUT_ADDR_DIFF_ELT): Don't do anything special for MEDLOW,
3128         output an .xword for all 64-bit cases.
3129         
3130 Tue Sep  1 15:55:17 1998  David S. Miller  <davem@pierdol.cobaltmicro.com>
3131
3132         * config/sparc/sparc.c (finalize_pic): Don't output arbitrary
3133         alignment, use FUNCTION_BOUNDARY instead.
3134         (sparc_output_deferred_case_vectors): Likewise.
3135
3136 Mon Aug 31 17:25:41 1998  David S. Miller  <davem@pierdol.cobaltmicro.com>
3137
3138         * config/sparc/sparc.md (movsf_const_intreg): Kill warning.
3139         (movtf_insn_sp64, movtf_no_e_insn_sp64): Reorder alternatives.
3140
3141 Mon Aug 31 13:57:55 1998  Richard Henderson  <rth@cygnus.com>
3142
3143         * alpha/va_list.h: New file.
3144         * alpha/x-alpha (EXTRA_HEADERS): New.  Add va_list.h.
3145
3146 Mon Aug 31 14:55:02 1998  Jeffrey A Law  (law@cygnus.com)
3147
3148         * NEWS: Add SCO Openserver and Unixware 7 notes.
3149
3150         * NEWS: Fix typos.
3151
3152 Mon Aug 31 15:42:18 1998  Dave Brolley  <brolley@cygnus.com>
3153
3154         * varasm.c (compare_constant_1): Handle RANGE_EXPR.
3155         (record_constant_1): Handle RANGE_EXPR.
3156
3157 Mon Aug 31 10:54:03 1998  Richard Henderson  <rth@cygnus.com>
3158
3159         * print-rtl.c (print_rtx): NOTE_INSN_LIVE has an rtx not a bitmap.
3160         * haifa-sched.c (sched_analyze): Handle NOTE_INSN_RANGE_START
3161         and NOTE_INSN_RANGE_END specially.
3162         (reemit_notes): Likewise.
3163
3164 Mon Aug 31 10:18:52 1998  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
3165
3166         * sparc.c (TMASK, UMASK): Use `(unsigned)1' not `1U'.
3167         (ultrasparc_sched_init): Remove unneeded &.
3168
3169 Mon Aug 31 10:47:16 1998  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3170
3171         * config/m68k/m68k.h (TARGET_SWITCHES): Don't remove MASK_68040
3172         for m68020-60, to prevent the use of fintrz.
3173
3174 Sun Aug 30 22:17:20 1998  Mark Mitchell  <mark@markmitchell.com>
3175
3176         * configure.in: If the native compiler is GCC use $(WARN_CFLAGS) 
3177         even in stage1. 
3178         * Makefile.in: Likewise.
3179         * configure: Regenerated.
3180
3181 Sun Aug 30 22:15:41 1998  H.J. Lu  (hjl@gnu.org)
3182
3183         * configure.in (gxx_include_dir): Changed to
3184         '${prefix}/include/g++'-${libstdcxx_interface}.
3185         * configure: Rebuilt.
3186
3187 Sun Aug 30 20:19:43 1998  Hans-Peter Nilsson  <hp@axis.se>
3188
3189         * expr.c (expand_expr): Change ">" to ">=" making MOVE_RATIO use
3190         consistent.
3191         * tm.texi (Costs): Say MOVE_RATIO is number of mem-mem move
3192         *sequences* *below* which scalar moves will be used.
3193
3194 Sun Aug 30 17:18:43 1998  Jeffrey A Law  (law@cygnus.com)
3195
3196         * collect2.c (mktemp): Delete unused declaration.
3197
3198         * config/xm-netbsd.h: Remove unnecessary file.
3199         * config/*/xm-netbsd.h: Do not include the generic xm-netbsd.h
3200         file anymore, it is not needed.
3201
3202 Sun Aug 30 16:05:45 1998  Mark Mitchell  <mark@markmitchell.com>
3203
3204         * convert.c (convert_to_integer): Issue an error on conversions to
3205         incomplete types.
3206
3207 Sun Aug 30 16:47:20 1998  Martin von Lvwis  <loewis@informatik.hu-berlin.de>
3208
3209         * Makefile.in: Add lang_tree_files and gencheck.h.
3210         * configure.in: Generate them.
3211         * gencheck.c: Include gencheck.h.
3212
3213 Sat Aug 29 21:38:24 1998  David S. Miller  <davem@pierdol.cobaltmicro.com>
3214
3215         * config/sparc/sparc.md (pic_lo_sum_di, pic_sethi_di): Rename to
3216         movdi_lo_sum_pic and movdi_high_pic and make visible.
3217         * config/sparc/sparc.c (legitimize_pic_address): For -fPIC,
3218         emit these when Pmode is not SImode.
3219         * config/sparc/linux64.h (SPARC_DEFAULT_CMODEL): Make CM_MEDLOW.
3220
3221 Sat Aug 29 14:59:32 1998  Mumit Khan  <khan@xraylith.wisc.edu>
3222
3223         * i386/cygwin32.h (ASM_OUTPUT_SECTION_NAME): Don't emit
3224         .linkonce directive after the first time.
3225
3226 Sat Aug 29 12:39:56 1998  Jeffrey A Law  (law@cygnus.com)
3227
3228         * m68k.md (beq0_di): Generate correct (and more efficient) code when
3229         the clobbered operand overlaps with an input.
3230         (bne0_di): Similarly.
3231
3232         * Makefile.in (INSTALL): Remove "--no-header" argument.
3233
3234         * NEWS: Various updates.
3235
3236 Fri Aug 28 19:00:44 1998  David S. Miller  <davem@pierdol.cobaltmicro.com>
3237
3238         * config/sparc/sparc.c (arith_operand, const64_operand,
3239         const64_high_operand, arith_double_4096_operand): Mark mode as
3240         unused.
3241         (create_simple_focus_bits): Remove unused arg highest_bit_set, all
3242         callers changed.
3243         (sparc_emit_set_const64): Remove unused variable i.
3244         (sparc_splitdi_legitimate): Likewise for addr_part.
3245         (ultra_code_from_mask): Likewise for mask.
3246         (ultra_cmove_results_ready_p): Fixup entry modulo calc. and
3247         reverse return values so it matches usage and comments.
3248         (ultra_flush_pipeline): Likewise.
3249         (ultra_fpmode_conflict_exists): Likewise, remove unused variable
3250         this_type, and allow loads and stores of differing FP modes as
3251         they do not create a conflict.
3252         (ultra_find_type): Initialize fpmode to SFmode, fix
3253         parenthesization thinkos in large conditional.
3254         (ultrasparc_sched_init): Mark dump and sched_verbose as unused.
3255         Init free_slot_mask after ultra_cur_hist is reset, not before.
3256         (ultrasparc_rescan_pipeline_state): Remove unused variable ucode.
3257         (ultrasparc_sched_reorder): Don't bzero current pipeline state,
3258         use ultra_flush_pipeline instead, then re-init group pointer.
3259         Fix statement with no effect.  If no progress made in, and no
3260         instructions scheduled at all, advance to new pipeline cycle else
3261         we get into an endless loop.
3262         (ultrasparc_adjust_cost): Remove previous arg.
3263         * config/sparc/sparc.h (ADJUST_COST): Update to reflect that.
3264         
3265 Fri Aug 28 13:52:35 1998  Jim Wilson  <wilson@cygnus.com>
3266
3267         * sparc.md (DImode, DFmode, TFmode splits): Delete self_reference
3268         code.  Use reg_overlap_mentioned_p to detect when source and
3269         destination overlap.
3270         (negtf2_notv9+1): Use DFmode instead of SFmode in last two operands.
3271
3272 1998-08-28  Brendan Kehoe  <brendan@cygnus.com>
3273
3274         * loop.c (check_dbra_loop): Pass COMPARISON_VALUE, not
3275         COMPARISON_VAL, into invariant_p.
3276
3277 Fri Aug 28 15:13:25 1998  J"orn Rennecke <amylaar@cygnus.co.uk>
3278
3279         * regmove.c (regclass_compatible_p): New function.
3280         (regmove_optimize): Use it.
3281
3282         Use NREGS parameter insted of calling max_reg_num.
3283
3284         (fixup_match_1): Don't use code = MINUS when later tieing with
3285         a hard register is likely.
3286
3287 Fri Aug 28 14:54:07 1998  J"orn Rennecke <amylaar@cygnus.co.uk>
3288
3289         * loop.c (check_dbra_loop): Fix calculation of FINAL_VALUE when
3290         COMPARISON_VAL was normalized.
3291
3292 Thu Aug 27 20:10:46 1998  Jeffrey A Law  (law@cygnus.com)
3293
3294         * loop.c (check_dbra_loop): The loop ending comparison value
3295         must be an invariant or we can not reverse the loop.
3296
3297         * loop.c (scan_loop): Count down from max_reg_num - 1 to
3298         FIRST_PSEUDO_REGISTER to avoid calling max_reg_num each iteration
3299         of the loop.
3300         (load_mems_and_recount_loop_regs_set): Likewise.
3301
3302         * i386.c (print_operand): Remove obsolete 'c' docs.
3303
3304 Wed Aug 26 17:13:37 1998  Tom Tromey  <tromey@cygnus.com>
3305
3306         * gthr.h: Document __GTHREAD_MUTEX_INIT_FUNCTION.
3307         * frame.c (init_object_mutex): New function.
3308         (init_object_mutex_once): Likewise.
3309         (find_fde): Call it.
3310         (__register_frame_info): Likewise.
3311         (__register_frame_info_table): Likewise.
3312         (__deregister_frame_info): Likewise.
3313
3314 Thu Aug 27 15:14:18 1998  Jeffrey A Law  (law@cygnus.com)
3315
3316         * haifa-sched.c (sched_analyze_insn): Fix thinko in last change.
3317
3318 Thu Aug 27 16:34:51 1998  J"orn Rennecke <amylaar@cygnus.co.uk>
3319
3320         * loop.c (check_dbra_loop): Enable code for reversal
3321         of some loops without a known constant loop end.
3322
3323 Wed Aug 26 18:38:15 1998  Richard Henderson  <rth@cygnus.com>
3324
3325         * haifa-sched.c (last_clock_var): New.
3326         (schedule_block): Initialize it.
3327         (schedule_insn): Use it to fill insn modes with issue information.
3328
3329         * alpha.c (alpha_handle_trap_shadows): Remove do-nothing exit.
3330         Tag trapb and next insn with TImode.
3331         (alphaev5_insn_pipe, alphaev5_next_group, alphaev5_align_insns): New.
3332         (alpha_reorg): Add conditional for alpha_handle_trap_shadows.
3333         Invoke alphaev5_align_insns as appropriate.
3334         * alpha.h (LABEL_ALIGN_AFTER_BARRIER): Was ALIGN_LABEL_AFTER_BARRIER.
3335         (MD_SCHED_VARIABLE_ISSUE): New.
3336         * alpha.md (attr type): Add multi.
3337         (define_asm_attributes): New.
3338         (prologue_stack_probe_loop, builtin_setjmp_receiver): Set type multi.
3339         (arg_home): Likewise.
3340         (fnop, unop, realign): New.
3341
3342 Wed Aug 26 15:55:41 1998  Jim Wilson  <wilson@cygnus.com>
3343
3344         * iris5.h (PREFERRED_DEBUGGING_TYPE): Undef.
3345         * iris5gas.h (PREFERRED_DEBUGGING_TYPE): Define.
3346
3347         * configure.in (powerpc-ibm-aix4.[12]*): Change from 4.[12].*.
3348         (rs6000-ibm-aix4.[12]*): Likewise.
3349         * configure: Regnerate.
3350
3351 Wed Aug 26 09:30:59 1998  Nick Clifton  <nickc@cygnus.com>
3352
3353         * config/arm/thumb.c (thumb_exit): Do not move a4 into lr if it
3354         already contains the return address.
3355
3356 Wed Aug 26 12:57:09 1998  Jeffrey A Law  (law@cygnus.com)
3357
3358         * calls.c (expand_call): Use bitfield instructions to extract/deposit
3359         word sized hunks when loading unaligned args into registers.
3360
3361         * haifa-sched.c (sched_analyze_insn): Only create scheduling
3362         barriers for LOOP, EH and SETJMP notes on the loop_notes list.
3363
3364         * mn10300.h (RTX_COSTS): Handle UDIV and UMOD too.
3365
3366 Wed Aug 26 16:35:37 1998  J"orn Rennecke <amylaar@cygnus.co.uk>
3367
3368         * loop.c (check_dbra_loop): Add some code that would allow reversal
3369         of some loops without a known constant loop end if it were enabled.
3370
3371 Wed Aug 26 11:08:44 1998  Gavin Romig-Koch  <gavin@cygnus.com>
3372
3373         * mips.md (lshrsi3_internal2+2): Fix type-o.
3374
3375 Wed Aug 26 10:53:03 1998  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
3376
3377         * system.h: Include stdarg.h/varargs.h, make sure they are ordered
3378         correctly with regards to stdio.h.
3379         
3380         * calls.c: Remove stdarg.h/varargs.h.
3381         * cccp.c: Likewise.
3382         * cexp.y: Likewise.
3383         * combine.c: Likewise.
3384         * cpperror.c: Likewise.
3385         * cpplib.c: Likewise.
3386         * cpplib.h: Likewise.
3387         * doprint.c: Likewise.
3388         * emit-rtl.c: Likewise.
3389         * final.c: Likewise.
3390         * fix-header.c: Likewise.
3391         * gcc.c: Likewise.
3392         * genattr.c: Likewise.
3393         * genattrtab.c: Likewise.
3394         * gencodes.c: Likewise.
3395         * genconfig.c: Likewise.
3396         * genemit.c: Likewise.
3397         * genextract.c: Likewise.
3398         * genflags.c: Likewise.
3399         * genopinit.c: Likewise.
3400         * genoutput.c: Likewise.
3401         * genpeep.c: Likewise.
3402         * genrecog.c: Likewise.
3403         * mips-tfile.c: Likewise.
3404         * prefix.c: Likewise.
3405         * protoize.c: Likewise.
3406         * regmove.c: Likewise.
3407         * toplev.c: Likewise.
3408         * tree.c: Likewise.
3409
3410 Wed Aug 26 05:09:27 1998  Jakub Jelinek  <jj@sunsite.ms.mff.cuni.cz>
3411
3412         * config/sparc/sparc.c (sparc_override_options): If not
3413         TARGET_FPU, turn off TARGET_VIS.
3414         * config/sparc/sparc.h (TARGET_SWITCHES): Add no-vis.
3415         (LEGITIMATE_CONSTANT_P): Allow SF/DF mode zero when TARGET_VIS.
3416         * config/sparc/sparc.md (movsi_insn): Use fzeros not fzero.
3417         (movdi_insn_sp64): Add VIS fzero alternative.
3418         (clear_sf, clear_df): New VIS patterns.
3419         (movsf, movdf expanders): Allow fp_zero_operand flat out when
3420         TARGET_VIS.
3421         (one_cmpldi2_sp64): Provide new fnot1 VIS alternative.
3422         
3423 Tue Aug 25 10:57:41 1998  Mark Mitchell  <mark@markmitchell.com>
3424
3425         * loop.c (n_times_set, n_times_used, may_not_optimize,
3426         reg_single_usage): Convert to varrays.  All uses changed.
3427         (insert_loop_mem): Return a value.
3428         (scan_loop): Tweak AVOID_CC_MODE_COPIES code.
3429         (load_mems_and_recount_loop_regs_set): Likewise.  Grow the arrays, if
3430         necessary.
3431
3432 Tue Aug 25 23:57:12 1998  Jeffrey A Law  (law@cygnus.com)
3433
3434         * From Alexandre:
3435         * configure.in: Do not set thread_file to "irix" since no such
3436         support exists yet.
3437
3438         * sparc.md (float abs/neg splits): Check reload_completed before
3439         calling alter_subreg.
3440
3441 Tue Aug 25 19:17:59 1998  David S. Miller  <davem@pierdol.cobaltmicro.com>
3442
3443         * config/sparc/sparc.c (sparc_absnegfloat_split_legitimate): New
3444         function.
3445         * config/sparc/sparc.h: Declare it.
3446         * config/sparc/sparc.md (float abs/neg splits): Use it.
3447         (all other splits): Handle SUBREGs properly where necessary.
3448         (unnamed (1<<x)-1 V8PLUS pattern): Disable for now.
3449
3450 Tue Aug 25 19:48:46 1998  Jeffrey A Law  (law@cygnus.com)
3451
3452         * reorg.c (fill_simple_delay_slots): Do not abort if we encounter
3453         an insn on the unfilled_slots_list that has no delay slots.
3454         (fill_eager_delay_slots): Similarly.
3455
3456 Tue Aug 25 13:35:20 1998  Nick Clifton  <nickc@cygnus.com>
3457
3458         * config/v850/v850.c (movsi_source_operand): Treat CONSTANT_P_RTX
3459         as an ordinary operand.
3460
3461 Tue Aug 25 12:54:57 1998  Jason Merrill  <jason@yorick.cygnus.com>
3462
3463         * tree.c (valid_machine_attribute): Don't apply attributes to both
3464         decl and type.
3465
3466 Tue Aug 25 12:23:20 PDT 1998  Richard Henderson  <rth@cygnus.com>
3467
3468         * reload.c (operands_match_p): Handle rtvecs.
3469
3470         * i386.c (legitimate_pic_address_disp_p): New.
3471         (legitimate_address_p): Use it.
3472         (legitimize_pic_address): Use unspecs to represent @GOT and @GOTOFF.
3473         Handle constant pool symbols just like statics.
3474         (emit_pic_move): Use Pmode not SImode for clarity.
3475         (output_pic_addr_const) [SYMBOL_REF]: Remove @GOT and @GOTOFF hacks.
3476         [UNSPEC]: New, handling what we killed above.
3477         [PLUS]: Detect and abort on invalid symbol arithmetic.
3478         * i386.h (CONSTANT_ADDRESS_P): Remove HIGH.
3479
3480 Tue Aug 25 12:02:23 1998  Mark Mitchell  <mark@markmitchell.com>
3481
3482         * alias.c: Include output.h.
3483         (DIFFERENT_ALIAS_SETS_P): Don't treat alias sets as
3484         different if we're in a varargs function.
3485         * Makefile.in (alias.o): Depend on output.h
3486         
3487 Tue Aug 25 19:20:12 1998  J"orn Rennecke <amylaar@cygnus.co.uk>
3488
3489         * sh.h (GIV_SORT_CRITERION): Delete.
3490
3491 Tue Aug 25 13:19:46 1998  Dave Brolley  <brolley@cygnus.com>
3492
3493         * regclass.c (regclass): Use xmalloc/free instead of alloca.
3494         * stupid.c (stupid_life_analysis): Ditto.
3495         * reload1.c (reload): Ditto.
3496
3497 Tue Aug 25 05:48:18 1998  Jakub Jelinek  <jj@sunsite.ms.mff.cuni.cz>
3498
3499         * config/sparc/sparc.c (arith_4096_operand, arith_add_operand,
3500         arith_double_4096_operand, arith_double_add_operand): New
3501         predicates.
3502         * config/sparc/sparc.h (PREDICATE_CODES): Add them, declare them.
3503         * config/sparc/sparc.md (adddi3, addsi3, subdi3, subsi3): Use
3504         them to transform add/sub 4096 into add/sub -4096.
3505
3506 Mon Aug 24 23:31:03 1998  David S. Miller  <davem@pierdol.cobaltmicro.com>
3507
3508         * loop.c (scan_loop): Allocate some slop to handle pseudos
3509         generated by move_movables.
3510         (load_mems_and_recount_loop_regs_set): Honor AVOID_CC_MODE_COPIES
3511         here too.
3512
3513 Mon Aug 24 19:45:40 1998  Jim Wilson  <wilson@cygnus.com>
3514
3515         * tree.def (DECL_RESULT): Correct documentation.
3516
3517 Tue Aug 25 01:15:27 1998  J"orn Rennecke <amylaar@cygnus.co.uk>
3518
3519         * reload1.c (reload_reg_free_before_p): New argument EQUIV;  Changed
3520         all callers.  Abort for RELOAD_FOR_INSN.  RELOAD_FOR_OUTADDR_ADDR:
3521         conflicts will all RELOAD_FOR_OUTPUT reloads.
3522
3523         * reload1.c (reload_cse_regs_1): When deleting a no-op move that
3524         loads the function result, substitute with a USE.
3525
3526 Mon Aug 24 15:20:19 1998  David Edelsohn  <edelsohn@mhpcc.edu>
3527
3528         * rs6000.h (GO_IF_LEGITIMATE_ADDRESS): Use TARGET_POWERPC64
3529         when testing LEGITIMATE_INDEXED_ADDRESS_P DFmode and DImode.
3530         (LEGITIMIZE_ADDRESS): Use TARGET_POWERPC64 for INDEXED fixup.
3531         * rs6000.c (print_operand, case 'L'): Add UNITS_PER_WORD, not 4.
3532         (print_operand, cases 'O' and 'T'): Fix typos in lossage strings.
3533         * rs6000.md (fix_truncdfsi2_store): Remove %w from non-CONST_INT
3534         operand. 
3535         (movdf_softfloat32, movdf_hardfloat64, movdf_softfloat64): Change
3536         'o' to 'm' for GPR variant constraints.
3537
3538 Mon Aug 24 10:25:46 1998  Jeffrey A Law  (law@cygnus.com)
3539
3540         * loop.c (scan_loop): Honor AVOID_CC_MODE_COPIES.
3541
3542         * h8300.h (STRIP_NAME_ENCODING): Fix typo.
3543
3544         * sparc.md (TFmode splits): Use reg_overlap_mentioned_p to detect
3545         when the source and destination overlap.
3546
3547         * stmt.c (emit_case_nodes): Change rtx_function to rtx_fn to avoid
3548         clash with global type.
3549
3550 Mon Aug 24 00:53:53 1998  Jason Merrill  <jason@yorick.cygnus.com>
3551
3552         * fixinc.irix: Add curses.h handling from fixinc.wrap.
3553
3554         * c-common.c (combine_strings): Also set TREE_READONLY.
3555         Change warn_write_strings to flag_const_strings.
3556         * c-decl.c, c-tree.h: Likewise.
3557
3558 Sun Aug 23 18:39:11 1998  David S. Miller  <davem@pierdol.cobaltmicro.com>
3559
3560         * config/sparc/sparc.c (sparc_emit_set_const32): If outputting a
3561         CONST_INT, not a symbolic reference, don't use a HIGH/LO_SUM
3562         sequence, use SET/IOR instead so CSE can see it.
3563         * config/sparc/sparc.md (movhi_const64_special,
3564         movsi_const64_special): New patterns necessitated by that change.
3565         (movhi_high): Remove.
3566         (movhi_lo_sum): Change to match an IOR.
3567         (movdf_insn_sp32): Test TARGET_V9 not TARGET_ARCH64.
3568         (movdf_insn_v9only): New pattern for when V9 but not ARCH64.
3569         (movdf_insn_sp64): Test both TARGET_V9 and TARGET_ARCH64.
3570         (movdf splits): Allow when not V9 or when not ARCH64 and integer
3571         registers are involved.
3572         (snesi_zero_extend split): Remove reload_completed test.
3573         (unnamed plus and minus zero_extend sidi splits): Add it.
3574
3575 Sun Aug 23 11:56:08 1998  Mark Mitchell  <mark@markmitchell.com>
3576
3577         * extend.texi: Remove description of extension to explicit
3578         instantiation that is now endorsed by standard C++.
3579
3580 Sun Aug 23 09:39:09 1998  David S. Miller  <davem@pierdol.cobaltmicro.com>
3581
3582         * config/arc/arc.c (arc_initialize_pic): Remove.
3583         * config/arc/arc.h (INITIALIZE_PIC): Similarly, this routine does
3584         nothing on any platform and is invoked by no-one, it does not even
3585         appear in the documentation.
3586         * config/sparc/sparc.h (INITIALIZE_PIC): Likewise.
3587         * config/sparc/sparc.c (initialize_pic): Likewise.
3588         (find_addr_reg): Remove this as well, no longer referenced after
3589         my rewrite.
3590
3591 Sun Aug 23 00:17:14 1998  Jeffrey A Law  (law@cygnus.com)
3592
3593         * recog.c (validate_replace_rtx_group): New function.
3594         * recog.h (validate_replace_rtx_group): Declare it.
3595         * regmove.c (optimize_reg_copy_3): If any substitution fails, then undo
3596         the entire group of substitutions.
3597
3598 Sat Aug 22 23:31:00 1998  Klaus-Georg Adams  (Klaus-Georg.Adams@chemie.uni-karlsruhe.de)
3599
3600         * loop.c (load_mems): Fix initializers.
3601
3602 Fri Aug 21 23:07:46 1998  David S. Miller  <davem@pierdol.cobaltmicro.com>
3603
3604         * config/sparc/sparc.md (TFmode splits): Handle destination
3605         registers being referenced in the address correctly.
3606
3607         * expmed.c (make_tree) [CONST_INT]: Sign extend even if
3608         TREE_UNSIGNED, when bitsize of type's mode is larger than
3609         HOST_BITS_PER_WIDE_INT.
3610
3611 Fri Aug 21 19:31:31 1998  Alexandre Petit-Bianco <apbianco@cygnus.com>
3612
3613         * tree.def (LABELED_BLOCK_EXPR, EXIT_BLOCK_EXPR): New tree nodes.
3614         * tree.h (LABELED_BLOCK_LABEL, LABELED_BLOCK_BODY,
3615         EXIT_BLOCK_LABELED_BLOCK, EXIT_BLOCK_RETURN, LOOP_EXPR_BODY): New
3616         macros.
3617         * expr.c (expand_expr): Handle LABELED_BLOCK_EXPR and
3618         EXIT_BLOCK_EXPR.
3619
3620 Thu Aug 20 19:43:44 1998  Jeffrey A Law  (law@cygnus.com)
3621
3622         * h8300.c (h8300_encode_label): Use '&' for tiny data items.
3623         * h8300.h (TINY_DATA_NAME_P): Likewise.
3624         (STRIP_NAME_ENCODING): Handle '&'.
3625
3626         * mn10200.h (REG_OK_FOR_INDEX_P): Do not check the mode of the
3627         register (it could be accessed via an outer SUBREG).
3628         (REG_OK_FOR_BASE_P): Likewwise.
3629         (GO_IF_LEGITIMATE_ADDRESS): Consistently use REGNO_OK_FOR_BASE_P.
3630
3631         * remove.c (optimize_reg_copy_3): Abort instead of silently generating
3632         bogus rtl.
3633
3634         * jump.c (rtx_renumbered_equal_p): Do not consider PLUS commutative.
3635
3636 Thu Aug 20 17:35:20 1998  David S. Miller  <davem@pierdol.cobaltmicro.com>
3637
3638         * config/sparc/sparc.md (movtf_insn_sp32): All memory operands
3639         must be offsettable so the splits can be made.
3640
3641 Thu Aug 20 13:56:53 1998  Michael Meissner  <meissner@cygnus.com>
3642
3643         * config/i386/winnt.c: Include system.h, not stdio.h to get
3644         sys/param.h pulled in before rtl.h in case the system defines MIN
3645         and MAX.
3646
3647 Thu Aug 20 13:44:20 1998  David Edelsohn  <edelsohn@mhpcc.edu>
3648
3649         * rs6000.md (movqi, movhi): Add CONSTANT_P_RTX.
3650
3651 Thu Aug 20 13:15:11 1998  Dave Brolley  <brolley@cygnus.com>
3652
3653         * stor-layout.c (layout_type): Compute TYPE_SIZE_UNIT correctly for
3654         arrays of bits.
3655         * cpplib.c (cpp_define): Handle macros with parameters.
3656
3657 Wed Aug 19 21:33:19 1998  David Edelsohn  <edelsohn@mhpcc.edu>
3658
3659         * rs6000.c (rs6000_output_load_toc_table): Use ld for 64-bit.
3660         (output_toc): Use single TOC slot or llong minimal-toc for DFmode
3661         and DImode 64-bit.  Use llong for minimal-toc SFmode and
3662         SYMBOL_REF / LABEL_REF 64-bit.
3663         (output_function_profiler): Use llong for profiler label and ld to
3664         load 64-bit label address.
3665
3666 Wed Aug 19 17:52:27 1998  Nick Clifton  (nickc@cygnus.com)
3667
3668         * config/arm/thumb.md (extendqisi2_insn): Cope with REG +
3669         OFFSET addressing.
3670
3671 Wed Aug 19 14:13:31 PDT 1998 Jeff Law  (law@cygnus.com)
3672
3673         * version.c: Bump for snapshot.
3674
3675 Wed Aug 19 13:10:30 PDT 1998 Jeff Law  (law@cygnus.com)
3676
3677         * version.c: Bump for snapshot.
3678
3679 Wed Aug 19 13:06:47 1998  Jason Merrill  <jason@yorick.cygnus.com>
3680
3681         * collect2.c (extract_init_priority): Use atoi instead of strtoul.
3682
3683 Wed Aug 19 13:51:35 1998  Hans-Peter Nilsson  <hp@axis.se>
3684
3685         * tm.texi (Misc): Fix typo "teh".
3686
3687         * tm.texi (PIC): Fix typo "PPIC".
3688
3689         * tm.texi (Caller Saves): Say that DEFAULT_CALLER_SAVES has no
3690         effect when -O2 and higher.
3691         * invoke.texi (Optimize Options): Likewise for -fcaller-saves.
3692
3693 1998-08-19  Michael Hayes  <michaelh@ongaonga.chch.cri.nz>
3694
3695         * regclass.c: Changed register set documentation to be consistent
3696         with GCC behaviour.
3697
3698         * final.c (final_start_function) Removed redundant test for
3699         call_fixed_regs.
3700
3701 Wed Aug 19 13:28:41 1998  Mark Mitchell  <mark@markmitchell.com>
3702
3703         * rtl.h (rtx_function): New type.
3704         (for_each_rtx): New function.
3705         * rtlanal.c (for_each_rtx): Define it.
3706         
3707         * recog.c (change_t): New type.
3708         (change_objects, change_old_codes, change_locs, change_olds):
3709         Replace with ...
3710         (changes): New variable.
3711         (validate_change): Dynamically allocate room for more changes, if
3712         necessary.  Uses changes array instead of change_objects, etc.
3713         (apply_change_group):  Use changes array instead of
3714         change_objects, etc.
3715         
3716         * loop.c (loop_mem_info): New type.
3717         (loop_mems): New variable.
3718         (loop_mems_idx): Likewise.
3719         (looop_mems_allocated): Likewise.
3720         (scan_loop): Remove nregs parameter.
3721         (next_insn_in_loop): New function.
3722         (load_mems_and_recount_loop_regs_set): Likewise.
3723         (load_mems): Likewise.
3724         (insert_loop_mem): Likewise.
3725         (replace_loop_mem): Likewise.
3726         (replace_label): Likewise.
3727         (INSN_IN_RANGE_P): New macro.
3728         (loop_optimize): Don't pass max_reg_num() to scan_loop.
3729         (scan_loop): Remove nregs parameter, compute it after any new
3730         registers are created by load_mems.  Use INSN_IN_RANGE_P and
3731         next_insn_in_loop rather than expanding them inline.  Call
3732         load_mems to load memory into pseudos, if appropriate.
3733         (prescan_loop): Figure out whether or not there are jumps from the
3734         loop to targets other than the label immediately following the
3735         loop.  Call insert_loop_mem to notice all the MEMs used in the
3736         loop, if it could be safe to pull MEMs into REGs for the duration
3737         of the loop.
3738         (strength_reduce): Use next_insn_in_loop.  Tweak comments.
3739
3740 Wed Aug 19 08:29:44 1998  Richard Earnshaw (rearnsha@arm.com)
3741
3742         * arm.c (arm_override_options): Remove lie about ignoring PIC flag.
3743
3744 Wed Aug 19 07:08:15 1998  David S. Miller  <davem@pierdol.cobaltmicro.com>
3745
3746         * config/sparc/sparc.c (finalize_pic): Check for the correct
3747         nonlocal_goto_receiver UNSPEC number.
3748         * config/sparc/sparc.md (nonlocal_goto_receiver): Add comment
3749         making note of this dependency existing in sparc.c
3750         (negtf2_notv9 split): Give NEG SFmode.
3751         (negsf2): Fix insn output string.
3752         
3753 Tue Aug 18 12:40:27 1998  Richard Henderson  <rth@cygnus.com>
3754
3755         * c-common.c (decl_attributes): Issue an error if the argument
3756         to alias is not a string.
3757
3758 Tue Aug 18 10:33:30 1998  Jeffrey A Law  (law@cygnus.com)
3759
3760         * haifa-sched.c (sched_analyze): Put all JUMP_INSNs on the last
3761         pending memory flush list.
3762
3763         * combine.c (can_combine_p): Allow combining insns with REG_RETVAL
3764         notes.
3765         (try_combine): Allow combining insns with REG_LIBCALL notes.
3766
3767         * expr.c (emit_block_move): Do not call memcpy as a libcall
3768         instead build up a CALL_EXPR and call it like any other
3769         function.
3770         (clear_storage): Similarly for memset.
3771
3772         * regmove.c (fixup_match_2): Do not call reg_overlap_mentioned_p
3773         on notes.
3774
3775         * Makefile.in (cplus-dem.o): Provide explicit rules for building
3776         cplus-dem.o
3777
3778         * regmove.c (optimize_reg_copy_1): Update REG_N_CALLS_CROSSED
3779         and REG_LIVE_LENGTH as successful substitutions are made.
3780
3781 Tue Aug 18 07:15:27 1998  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
3782
3783         * config/sparc/sparc.c (ultra_find_type): Add empty semicolon
3784         statement after end of loop label.
3785
3786 Tue Aug 18 07:13:27 1998  David S. Miller  <davem@pierdol.cobaltmicro.com>
3787
3788         * config/sparc/sparc.c (ultra_types_avail): New variable.
3789         (ultra_build_types_avail): New function to record mask of insn
3790         types in ready list at this cycle.
3791         (ultrasparc_sched_reorder): Call it.
3792         (ultra_find_type): Use it to quicken the search.  Also simplif
3793         dependency check, don't use rtx_equal_p because we know exactly
3794         what we are looking for.
3795
3796 Tue Aug 18 03:20:53 1998  Richard Earnshaw  (rearnsha@arm.com)
3797
3798         * arm.h (SECONDARY_INPUT_RELOAD_CLASS): Return NO_REGS if compiling
3799         for architecture v4.
3800
3801 Mon Aug 17 21:26:38 1998  David S. Miller  <davem@pierdol.cobaltmicro.com>
3802
3803         * config/sparc/sparc.md (sltu, sgeu): Don't FAIL, call
3804         gen_compare_reg.
3805         (movsf_const_intreg, movsf_const_high, movsf_const_lo,
3806         movdf_const_intreg and helper splits): New patterns to move float
3807         constants into integer registers.
3808         (negtf2, negdf2, abstf2, absdf2): Rework using new patterns and
3809         splits.
3810
3811 Mon Aug 17 11:46:19 1998  Jeffrey A Law  (law@cygnus.com)
3812
3813         * From Graham
3814         * tree.c (build_index_type): Copy TYPE_SIZE_UNIT from sizetype
3815         to itype.
3816         * c-decl.c (finish_enum): Copy TYPE_SIZ_UNIT from enumtype to tem.
3817
3818         * rs6000.c (secondary_reload_class): For TARGET_ELF, indicate that
3819         a BASE_REGS register is needed as an intermediate when copying
3820         a symbolic value into any register class other than BASE_REGS.
3821
3822         * expr.c (move_by_pieces): No longer static.  Remove prototype.
3823         * rtl.h (move_by_pieces): Add extern prototype.
3824         * mips.c (expand_block_move): Handle aligned straight line copy by
3825         calling move_by_pieces.
3826
3827         * expr.c (expand_expr): Allow assignments from TImode PARM_DECLs
3828         and VAR_DECLs.
3829
3830 Mon Aug 17 10:28:52 1998  Mark Mitchell  <mark@markmitchell.com>
3831
3832         * stmt.c (expand_end_loop): Tidy.  Allow unconditional
3833         jumps out of the loop to be treated as part of the exit test.
3834
3835 Mon Aug 17 10:06:11 1998  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
3836                           Jeff Law <law@cygnus.com>
3837
3838         * Makefile.in (cplus-dep.o): Use cplus-dem.c from libiberty.
3839         * cplus-dem.c: Delete.
3840
3841         * Makefile.in (fold-const.o): depend on $(RTL_H).
3842
3843         * fold-const.c: Include rtl.h to get the prototype for
3844         `set_identifier_local_value'.
3845
3846         * loop.c (express_from_1): Remove unused variable `tmp'.
3847         (combine_givs): cast the first argument of bzero to char *.
3848
3849         * toplev.c (display_help): Remove unused variable `looking_for_start'.
3850
3851         * c-decl.c (init_decl_processing): Remove unneeded &.
3852
3853         * alpha.h (alpha_initialize_trampoline): Provide prototype.
3854         
3855         * except.c (set_exception_lang_code, set_exception_version_code):
3856         Change parameter from `short' to `int' to avoid using a gcc
3857         extension.
3858
3859         * except.h (set_exception_lang_code, set_exception_version_code):
3860         Likewise for prototypes.
3861
3862         * flow.c (count_reg_references): Remove unused variables `regno'
3863         and `i'.
3864
3865         * gcse.c (hash_scan_insn): Declare parameter `in_libcall_block'.
3866
3867         * prefix.c (translate_name): Cast the result of `alloca'.
3868
3869         * varray.h (VARRAY_FREE): Reimplement as a `do-while(0)' statement.
3870
3871 Mon Aug 17 09:23:42 1998  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
3872
3873         * config/m68k/m68k.c: Include "system.h" instead of <stdio.h>.
3874         Include "toplev.h".
3875         (valid_dbcc_comparison_p): Mark mode argument as unused.
3876         (symbolic_operand): Likewise.
3877         (legitimize_pic_address): Likewise.
3878         (const_uint32_operand): Likewise.
3879         (const_sint32_operand): Likewise.
3880         * sched.c [!INSN_SCHEDULING]: Define only dummy function
3881         schedule_insns and comment out rest of file.
3882
3883         * m68k.c (output_move_simode_const): Use subl to move a zero into an
3884         address register.
3885         (output_move_[hq]imode): Likewise.
3886
3887 Mon Aug 17 09:15:47 1998  Jeffrey A Law  (law@cygnus.com)
3888
3889         * toplev.c (main): Enable -fstrict-aliasing for -O2 and above.
3890         * invoke.texi: Corresponding changes.
3891
3892 Mon Aug 17 02:03:55 1998  Richard Henderson  <rth@cygnus.com>
3893
3894         * regclass.c (allocate_reg_info): Respect MIN when clearing data.
3895
3896 Sun Aug 16 17:37:06 1998  David S. Miller  <davem@pierdol.cobaltmicro.com>
3897
3898         * config/sparc/sparc.c (ultra_code_from_mask,
3899         ultra_cmove_results_ready_p, ultra_fpmode_conflict_exists,
3900         ultra_find_type, ultra_schedule_insn, ultra_flush_pipeline,
3901         ultrasparc_sched_init, ultrasparc_variable_issue,
3902         ultra_rescan_pipeline_state, ultrasparc_sched_reorder): New
3903         functions to describe UltraSPARC pipeline exactly to Haifa.
3904         (ultrasparc_adjust_cost): Indicate IMUL type insns have zero cost,
3905         as there is nothing the scheduler can do about it.  Indicate that
3906         REG_DEP_OUTPUT's collide.  Fixup formatting.
3907         * config/sparc/sparc.h (RTX_COSTS): Fixup integer multiply and
3908         divide costs on Ultra for DImode.
3909         (MD_SCHED_INIT, MD_SCHED_REORDER, MD_SCHED_VARIABLE_ISSUE):
3910         Define.
3911         * config/sparc/sparc.md (ieu_unnamed function unit): Rename to
3912         ieuN and add call_no_delay_slot to type list.
3913         (cti function unit): New unit for branches on UltraSPARC.
3914         (subx/addx insns): Set type to misc.
3915         (sidi zero/sign extension insns on arch64): Set type to shift.
3916         (sign_extendhidi2_insn): Set type to sload.
3917
3918 Sun Aug 16 13:52:00 1998  David Edelsohn  <edelsohn@mhpcc.edu>
3919
3920         * rs6000.c (rs6000_stack_info): Use if == 0 for sizes.
3921         (output_epilog): Use if != 0 for offset.
3922         (rs6000_fatal_bad_address): Prepare for Intl.
3923         * rs6000.h (rs6000_fatal_bad_address): Declare.
3924         * rs6000.md (movsfcc, movdfcc): Use else if.
3925         (elf_high): Use {liu|lis}.
3926         (elf_low): Use {cal|la}.  Remove %a template from old mnemonics.
3927         (movsi): Use rs6000_fatal_bad_address.
3928         
3929 Sun Aug 16 01:53:21 1998  Richard Henderson  <rth@cygnus.com>
3930
3931         * reload.c (find_equiv_reg): Reject equivalences separated
3932         by a volatile instruction.
3933
3934 Sun Aug 16 00:21:44 1998 Franz Sirl <Franz.Sirl-kernel@lauterbach.com> 
3935
3936         * rs6000/linux.h (CPP_OS_DEFAULT_SPEC): Define.
3937
3938 Sat Aug 15 20:51:35 1998  Richard Henderson  <rth@cygnus.com>
3939
3940         * alpha.md (movsicc): Fix mode mismatch.
3941
3942 Sat Aug 15 20:22:33 1998  H.J. Lu  (hjl@gnu.org)
3943
3944         * config/alpha/alpha.h (ASM_OUTPUT_MI_THUNK): Handle aggregated
3945         return type.
3946         * config/alpha/win-nt.h (ASM_OUTPUT_MI_THUNK): Likewise.
3947
3948 Sat Aug 15 08:39:49 1998  David S. Miller  <davem@pierdol.cobaltmicro.com>
3949
3950         * config/sparc/sparc.md (movsi_lo_sum_pic_label_reg): Remove
3951         write-only modifier from operand 1 constraint.
3952
3953 Sat Aug 15 06:28:19 1998  David S. Miller  <davem@pierdol.cobaltmicro.com>
3954
3955         * config/sparc/sparc.c (sparc_emit_set_const64_quick1): If
3956         emitting a XOR of -1 at the end, emit a NOT instead for combine's
3957         sake.
3958         (sparc_emit_set_const64): Likewise, also when computing trailing
3959         bits do not negate low_bits and make fast_int an int.
3960
3961 Fri Aug 14 21:07:03 1998  Jeffrey A Law  (law@cygnus.com)
3962
3963         * loop.c (add_label_notes): Do not ignore references to labels
3964         before dispatch tables.  Mirrors Apr 8 change to mark_jump_label.
3965         * gcse.c (add_label_notes): Similarly.
3966
3967         * pa.h (ASM_OUTPUT_MI_THUNK): Strip name encoding.
3968
3969         * m68k.md (adddi_dilshr32): One of the operands must be a register.
3970         (adddi_dishl32): Similarly.
3971
3972 Fri Aug 14 14:12:59 1998  Jason Merrill  <jason@yorick.cygnus.com>
3973
3974         * i386.h (MODES_TIEABLE_P): Reorganize to shut up warnings.
3975         * alias.c (memrefs_conflict_p): Add braces to shut up warnings.
3976         * cse.c (cse_basic_block): Add parens to shut up warnings.
3977
3978 Fri Aug 14 12:58:21 1998  David S. Miller  <davem@pierdol.cobaltmicro.com>
3979
3980         * config/sparc/sparc.c (sparc_emit_set_const64_quick2,
3981         sparc_emit_set_const64_longway, const64_is_2insns,
3982         create_simple_focus_bits, sparc_emit_set_const64): Fix more bugs
3983         in 64-bit constant formation.
3984         * config/sparc/sparc.md (snesi_zero_extend split): Generate
3985         rtl for addx not subx.
3986         (define_insn movdi_const64_special): Make available even when
3987         HOST_BITS_PER_WIDE_INT is not 64.
3988         (movdi_lo_sum_sp64_cint, movdi_high_sp64_cint): Remove.
3989         (losum_di_medlow, sethm, setlo): Make op2 symbolic_operand.
3990         (cmp_siqi_trunc_set, cmp_diqi_trunc_set): Encapsulate both
3991         instances of operand 1 inside a QI subreg.
3992         (xordi3_sp64_dbl): Remove '%' constraint for op1.
3993         (one_cmpldi2_sp64): Fix output string.
3994         (one_cmplsi2_not_liveg0): Rewrite to remove unneeded extra
3995         alternative case.
3996         (unnamed arch64 ashift DI): Truncate shift count if greater than
3997         63, not 31.
3998
3999 Fri Aug 14 21:52:53 1998  J"orn Rennecke <amylaar@cygnus.co.uk>
4000
4001         * expr.c (store_expr): Don't optimize away load-store pair
4002         when either source or destination have a side effect.
4003
4004 Fri Aug 14 16:50:10 1998  John Carr  <jfc@mit.edu>
4005
4006         * genrecog.c (add_to_sequence): Fatal error if the modes of the
4007         operands of SET are incompatible.
4008
4009         * alpha.md: Fix max and min patterns so modes of SET operands match.
4010
4011 Fri Aug 14 12:22:55 1998  Ian Lance Taylor  <ian@cygnus.com>
4012
4013         * configure.in: Avoid [[ by using test and changequote.
4014         * configure: Rebuild.
4015
4016 Fri Aug 14 01:22:31 1998  David S. Miller  <davem@pierdol.cobaltmicro.com>
4017
4018         * rtl.def (CONSTANT_P_RTX): Fix typo in string name.
4019
4020         * config/sparc/sparc.md (seqdi_special_trunc, snedi_special_trunc,
4021         seqsi_special_extend, snesi_special_extend, snesi_zero_extend and
4022         split, snedi_zero_trunc and split, seqsi_zero_extend and split,
4023         seqdi_zero_trunc and split, pic_lo_sum_di, pic_sethi_di,
4024         movdi_cc_sp64_trunc, movdi_cc_reg_sp64_trunc, addx_extend_sp32 and
4025         split, addx_extend_sp64, subx_extend_sp64, subx_extend and split):
4026         Fix mismatching modes in SET operands.
4027         (conditional move patterns): Fix formatting.
4028         (unnamed subx arch64 pattern): Remove duplicate insn.
4029         
4030 Fri Aug 14 00:34:34 1998  David S. Miller  <davem@pierdol.cobaltmicro.com>
4031
4032         * config/sparc/sparc.c (const64_operand, const64_high_operand):
4033         Get it right when HOST_BITS_PER_WIDE_INT is not 64.
4034         (input_operand): Fixup test for what we accept for constant
4035         integers.
4036         (sparc_emit_set_const32, sparc_emit_set_symbolic_const64): Give
4037         set VOIDmode.
4038         (safe_constDI): Remove.
4039         (sparc_emit_set_safe_HIGH64, gen_safe_SET64, gen_safe_OR64,
4040         gen_safe_XOR64): New functions.
4041         (sparc_emit_set_const64_quick1, sparc_emit_set_const64_quick2,
4042         sparc_emit_set_const64_longway, sparc_emit_set_const64): Use
4043         them.
4044         * config/sparc/sparc.md (define_insn xordi3_sp64_dbl): Only make
4045         available when HOST_BITS_PER_WIDE_INT is not 64.
4046         (define_insn movdi_sp64_dbl, movdi_const64_special): Likewise and
4047         move before movdi_insn_sp64 pattern.
4048         (define_insn movdi_lo_sum_sp64_dbl, movdi_high_sp64_dbl): Remove.
4049         (define_insn sethi_di_medlow, seth44, setm44, sethh): Use
4050         symbolic_operand as predicate for second operand.
4051         (DImode minus split on arch32, negsi2 expander, one_cmplsi2
4052         expander): Give set VOIDmode.
4053         
4054 Fri Aug 14 01:45:06 1998  Mumit Khan  <khan@xraylith.wisc.edu>
4055
4056         * i386/cygwin32 (DEFAULT_PCC_STRUCT_RETURN): Define.
4057
4058 Fri Aug 14 01:40:21 1998  Geoffrey Keating  <geoffk@ozemail.com.au>
4059
4060         * rs6000/linux.h (LINK_SPEC): Pass -G args to the linker.
4061
4062 Fri Aug 14 01:23:23 1998  Richard Earnshaw (rearnsha@arm.com)
4063
4064         * arm/netbsd.h (TARGET_DEFAULT): Default includes software floating 
4065         point.
4066         (CPP_FLOAT_DEFAULT_SPEC): Re-define accordingly.
4067
4068 Fri Aug 14 01:19:08 1998  Robert Lipe  <robertl@dgii.com>
4069
4070         * install.texi: Various SCO OpenServer tweaks.
4071
4072 Thu Aug 13 20:14:40 1998  Jim Wilson  <wilson@cygnus.com>
4073
4074         * reload1.c (eliminate_regs_in_insn): Handle another case when
4075         eliminating the frame pointer to the hard frame pointer.  Add
4076         missing ep->to_rtx check to one existing case.
4077
4078         * mips/mips.md (movhi_internal2+2): Fix typo mem:SI -> mem:HI.
4079
4080 Thu Aug 13 17:08:11 1998  Jason Merrill  <jason@yorick.cygnus.com>
4081
4082         * tree.h: De-conditionalize init_priority code.
4083
4084         * mips.h (NM_FLAGS): Change from -Bp to -Bn.
4085         * collect2.c (NM_FLAGS): Change from -p to -n.
4086
4087         * configure.in: Turn on collect2 for mipstx39-elf.
4088         Handle use_collect2=no properly.
4089
4090         * c-common.c: De-conditionalize init_priority code.
4091         * collect2.c (extract_init_priority, sort_ids): New fns.
4092         (main): Call sort_ids.
4093         Move sequence_number to file scope.
4094
4095         * configure.in: Handle --enable-init-priority.
4096         * c-common.c (attrs): Add A_INIT_PRIORITY.
4097         (init_attributes, decl_attributes): Likewise.
4098         * tree.h (DEFAULT_INIT_PRIORITY, MAX_INIT_PRIORITY): New macros.
4099         * tree.c (get_file_function_name_long): Split out...
4100         (get_file_function_name): ...from here.
4101
4102 Thu Aug 13 16:09:53 1998  Martin von Loewis  <loewis@informatik.hu-berlin.de>
4103
4104         * expr.c (safe_from_p): Change code to ERROR_MARK only when not
4105         accessing nodes.
4106
4107 Thu Aug 13 15:24:48 1998  Jason Merrill  <jason@yorick.cygnus.com>
4108
4109         * toplev.c (display_help): Add braces to shut up warnings.
4110         * tree.c (simple_cst_equal): Likewise.
4111
4112         * fold-const.c (non_lvalue): Don't deal with null pointer 
4113         constants here.
4114         (fold, case COMPOUND_EXPR): Wrap a constant 0 in a NOP_EXPR.
4115
4116         * c-typeck.c (initializer_constant_valid_p): Allow conversion of 0
4117         of any size to a pointer.
4118
4119 Thu Aug 13 12:53:13 1998  Jim Wilson  <wilson@cygnus.com>
4120
4121         * i386/winnt.c (i386_pe_asm_file_end): Check TREE_SYMBOL_REFERENCED.
4122
4123 Wed Aug 12 17:25:18 1998  Jeffrey A Law  (law@cygnus.com)
4124
4125         * mn10300.c (REG_SAVE_BYTES): Only reserve space for registers
4126         which will be saved.
4127         * mn10300.md (prologue insn): Only save registers which need saving.
4128         (epilogue insn): Similarly.
4129
4130         * mn10300.c, mn10300.h, mn10300.md: Remove "global zero register"
4131         optimizations.
4132
4133 Wed Aug 12 12:39:16 1998  Gavin Romig-Koch  <gavin@cygnus.com>
4134
4135         * mips/mips.h (ENCODE_SECTION_INFO): Set SYMBOL_REF_FLAG for
4136         VAR_DECL's in gp addressable sections.
4137
4138 Tue Aug 11 23:02:31 1998  John Carr  <jfc@mit.edu>
4139
4140         * sparc.c: Change return <exp> to <exp>; return; in functions
4141         returning void.
4142         * sparc.md: Add empty semicolon statement after final label in
4143         move expanders.
4144
4145 Tue Aug 11 22:42:01 1998  David S. Miller  <davem@pierdol.cobaltmicro.com>
4146
4147         * config/sparc/sparc.md (define_insn addx_extend): Rename to
4148         addx_extend_sp64, only allow when TARGET_ARCH64.
4149         (define_insn addx_extend_sp32 and split): Version that works when
4150         not TARGET_ARCH64.
4151         (define_insn subx_extend): Likewise.
4152         (define_split adddi3 and subdi3 with zero extension): Fixup and
4153         correct bugs when not TARGET_ARCH64.
4154
4155 Tue Aug 11 16:04:34 1998  John Carr  <jfc@mit.edu>
4156
4157         * except.c (set_exception_lang_code, set_exception_version_code):
4158         Use prototype-style definition if __STDC__, to match declaration
4159         in except.h.
4160
4161         * genemit.c: Change FAIL and DONE macros not to use loops.
4162
4163 Tue Aug 11 12:27:03 1998  Jim Wilson  <wilson@cygnus.com>
4164
4165         * dwarf2out.c (ASM_OUTPUT_DWARF_ADDR_CONST): Use
4166         ASM_OUTPUT_DWARF2_ADDR_CONST if defined.
4167
4168         * mips/mips.md (reload_outsi): Use M16_REG_P when TARGET_MIPS16.
4169
4170 Tue Aug 11 18:12:53 1998  Dave Love  <d.love@dl.ac.uk>
4171
4172         * README.g77: Update from Craig.
4173
4174 Tue Aug 11 04:46:01 1998  David S. Miller  <davem@pierdol.cobaltmicro.com>
4175
4176         * config/sparc/sparc.c (sparc_emit_set_const32): INTVAL is of
4177         type HOST_WIDE_INT.
4178         (safe_constDI sparc_emit_set_const64_quick1,
4179         sparc_emit_set_const64_quick2, sparc_emit_set_const64_longway,
4180         analyze_64bit_constant, const64_is_2insns,
4181         create_simple_focus_bits): Fix some bugs when compiled on real
4182         64-bit hosts.
4183         (function_arg_record_value_3, function_arg_record_value_2,
4184         function_arg_record_value): Add fully prototyped forward decls.
4185         * config/sparc/sparc.md (define_insn cmpsi_insn_sp32): Rename back
4186         to cmpsi_insn and use on both 64 and 32 bit targets.
4187         (define_insn cmpsi_insn_sp64): Remove.
4188         (define_expand zero_extendsidi2): Allow for 32-bit target too.
4189         (define_insn zero_extendsidi2_insn): Rename to
4190         zero_extendsidi2_insn_sp64.
4191         (define_insn zero_extendsidi2_insn_sp32): New pattern and
4192         assosciated forced split for it.
4193
4194         * config/sparc/sparc.c (const64_operand, const64_high_operand):
4195         New predicates.
4196         * config/sparc/sparc.h: Declare them.
4197         (PREDICATE_CODES): Add them.
4198         * config/sparc/sparc.md (movdi_lo_sum_sp64_dbl,
4199         movdi_high_sp64_dbl, xordi3_sp64_dbl): Use them.
4200
4201 Mon Aug 10 22:57:24 1998  John Carr  <jfc@mit.edu>
4202
4203         * config/sparc/sparc.md (define_insn jump): Output ba,pt not b,pt
4204         in v9 case as the latter makes the Solaris assembler crash.
4205
4206 Mon Aug 10 22:39:09 1998  David S. Miller  <davem@pierdol.cobaltmicro.com>
4207
4208         * config/sparc/sparc.c (input_operand): Do not accept a LO_SUM MEM
4209         for TFmode when !v9.  We require offsettable memory addresses.
4210         * config/sparc/sparc.h (ALTER_HARD_SUBREG): Handle TFmode to
4211         DFmode register number conversions.
4212         * config/sparc/sparc.md (define_split DFmode moves): If register
4213         is a SUBREG do alter_subreg on it before using.
4214         (define_expand movtf): Fixup comment about alignment on v9.
4215         (define_split TFmode moves): Don't use gen_{high,low}part, create
4216         explicit SUBREGs instead.
4217
4218 Mon Aug 10 19:02:55 1998  John Carr  <jfc@mit.edu>
4219
4220         * Makefile.in (mbchar.o): Depend on mbchar.c.
4221
4222 Mon Aug 10 04:28:13 1998  David S. Miller  <davem@pierdol.cobaltmicro.com>
4223                           Richard Henderson  <rth@cygnus.com>
4224         
4225         Rewrite Sparc backend for better code generation and
4226         improved sparc64 support.
4227         * config/sparc/sp64-elf.h: Set JUMP_TABLES_IN_TEXT_SECTION to
4228         zero.
4229         * config/sparc/sysv4.h: Likewise.
4230         * config/sparc/sparc.c (v8plus_regcmp_p, sparc_operand,
4231         move_operand, v8plus_regcmp_op, emit_move_sequence,
4232         singlemove_string, doublemove_string, mem_aligned_8,
4233         output_move_double, output_move_quad, output_fp_move_double,
4234         move_quad_direction, output_fp_move_quad, output_scc_insn):
4235         Remove.
4236         (small_int_or_double): New predicate.
4237         (gen_compare_reg): Remove TARGET_V8PLUS cmpdi_v8plus emission.
4238         (legitimize_pic_address): Emit movsi_{high,lo_sum}_pic instead of
4239         old pic_{sethi,lo_sum}_si patterns.
4240         (mem_min_alignment): New generic function to replace
4241         mem_aligned_8, which uses REGNO_POINTER_ALIGN information when
4242         available and can test for arbitrary alignments.  All callers
4243         changed.
4244         (save_regs, restore_regs, build_big_number,
4245         output_function_prologue, output_cbranch, output_return,
4246         sparc_flat_save_restore, sparc_flat_output_function_prologue,
4247         sparc_flat_output_function_epilogue): Prettify
4248         insn output.
4249         (output_function_epilogue): Likewise and add code to output
4250         deferred case vectors.
4251         (output_v9branch): Likewise, add new arg INSN and use it to tack
4252         on branch prediction settings.  All callers changed.
4253         (print_operand): Likewise and output %l44 for LO_SUMs when
4254         TARGET_CM_MEDMID.
4255         (sparc_splitdi_legitimate): New function to make sure DImode
4256         splits can be run properly when !arch64.
4257         (sparc_initialize_trampoline, sparc64_initialize_trampoline):
4258         Reformat example code in comments.
4259         (set_extends): Remove UNSPEC/v8plus_clear_high case.
4260         (sparc_addr_diff_list, sparc_addr_list): New statics to keep track
4261         of deferred case vectors we need to output.
4262         (sparc_defer_case_vector): Record a case vector.
4263         (sparc_output_addr_vec, sparc_output_addr_diff_vec,
4264         sparc_output_deferred_case_vectors): New functions to output them.
4265         (sparc_emit_set_const32): New function to form 32-bit constants in
4266         registers when that requires more than one instruction.
4267         (safe_constDI, sparc_emit_set_const64_quick1,
4268         sparc_emit_set_const64_quick2, sparc_emit_set_const64_longway,
4269         analyze_64bit_constant, const64_is_2insns,
4270         create_simple_focus_bits, sparc_emit_set_const64): New functions
4271         which do the same for 64-bit constants when arch64.
4272         (sparc_emit_set_symbolic_const64): New function to emit address
4273         loading for all code models on v9.
4274         * config/sparc/sparc.h (CONDITIONAL_REGISTER_USAGE): Do not make
4275         %g1 fixed when arch64, unfix %g0 when TARGET_LIVE_G0.
4276         (ALTER_HARD_SUBREG): Fix thinko, return REGNO + 1 not 1.
4277         (SECONDARY_INPUT_RELOAD_CLASS, SECONDARY_OUTPUT_RELOAD_CLASS): Fix
4278         inaccuracies in comments, add symbolic and text_segment operands
4279         when TARGET_CM_MEDANY and TARGET_CM_EMBMEDANY respectively.  Use
4280         GENERAL_REGS in these cases as a temp REG is needed to load these
4281         addresses into a register properly.
4282         (EXTRA_CONSTRAINT): Document more accurately, remove Q case as it
4283         is no longer used.
4284         (GO_IF_LEGITIMATE_ADDRESS): Allow TFmode for LO_SUM on v9 since fp
4285         quads are guarenteed to have 16-byte alignment.
4286         (LEGITIMIZE_ADDRESS): For SYMBOL_REF, CONST, and LABEL_REF use
4287         copy_to_suggested_reg instead of explicit LO_SUM and HIGH.
4288         (ASM_OUTPUT_ADDR_VEC, ASM_OUTPUT_ADDR_DIFF_VEC): New macros for
4289         deferred case vector implementation.
4290         (ASM_OUTPUT_ADDR_VEC_ELT): Use fputc to output newline.
4291         (ASM_OUTPUT_ADDR_DIFF_ELT): Parenthesize LABEL in macro calls.
4292         Generate "internal label - label" instead of "label - 1b".
4293         (PRINT_OPERAND_ADDRESS): For LO_SUM use %l44 on TARGET_CM_MEDMID.
4294         (PREDICATE_CODES): Remove sparc_operand, move_operand,
4295         v8plus_regcmp_op.  Add small_int_or_double, input_operand, and
4296         zero_operand.
4297         (doublemove_string, output_block_move, output_fp_move_double,
4298         output_fp_move_quad, output_move_double, output_move_quad,
4299         output_scc_insn, singlemove_string, mem_aligned_8, move_operand,
4300         sparc_operand, v8plus_regcmp_op, v8plus_regcmp_p): Remove externs.
4301         (sparc_emit_set_const32, sparc_emit_set_const64,
4302         sparc_emit_set_symbolic_const64, input_operand, zero_operand,
4303         mem_min_alignment, small_int_or_double): Add externs.
4304         * config/sparc/sparc.md: Document the many uses of UNSPEC and
4305         UNSPEC_VOLATILE in this backend.
4306         (define_function_unit ieu): Rename to ieu_unnamed.  Add move and
4307         unary to types which execute in it.
4308         (define_function_unit ieu_shift): Rename to ieu0.
4309         (define_function_unit ieu1): New, executes compare, call, and
4310         uncond_branch type insns.
4311         (define_function_units for type fdivs, fdivd, fsqrt): These
4312         execute in the fpu multiply unit not the adder on UltraSparc.
4313         (define_expand cmpdi): Disallow TARGET_V8PLUS.
4314         (define_insn cmpsi_insn): Rename to cmpsi_insn_sp32.
4315         (define_insn cmpsi_insn_sp64): New, same as sp32 variant except it
4316         allows the arith_double_operand predicate and rHI constraint when
4317         TARGET_ARCH64.
4318         (define_insn cmpdi_sp64, cmpsf_fpe, cmpdf_fpe, cmptf_fpe,
4319         cmpsf_fp, cmpdf_fp, cmptf_fp, sltu_insn, neg_sltu_insn,
4320         neg_sltu_minux_x, neg_sltu_plus_x, sgeu_insn, neg_sgeu_insn,
4321         sltu_plus_x, sltu_plus_x, sltu_plus_x_plus_y, x_minus_sltu,
4322         sgeu_plus_x, x_minus_sgeu, movqi_cc_sp64, movhi_cc_sp64,
4323         movsi_cc_sp64, movdi_cc_sp64, movsf_cc_sp64, movdf_cc_sp64,
4324         movtf_cc_sp64, movqi_cc_reg_sp64, movhi_cc_reg_sp64,
4325         movsi_cc_reg_sp64, movdi_cc_reg_sp64, movsf_cc_reg_sp64,
4326         movdf_cc_reg_sp64, movtf_cc_reg_sp64, zero_extendhisi2_insn,
4327         cmp_siqi_trunc, cmp_siqi_trunc_set, sign_extendhisi2_insn,
4328         sign_extendqihi2_insn, sign_extendqisi2_insn,
4329         sign_extendqidi2_insn, sign_extendhidi2_insn,
4330         extendsfdf2, extendsftf2, extenddftf2, truncdfsf2, trunctfsf2,
4331         trunctfdf2, floatsisf2, floatsidf2, floatsitf2, floatdisf2,
4332         floatdidf2, floatditf2, fix_truncsfsi2, fix_truncdfsi2,
4333         fix_trunctfsi2, fix_truncsfdi2, fix_truncdfdi2, fix_trunctfdi2,
4334         adddi3_sp64, addsi3, cmp_ccx_plus, cmp_cc_plus_set, subdi_sp64,
4335         subsi3, cmp_minus_ccx, cmp_minus_ccx_set, mulsi3, muldi3,
4336         muldi3_v8plus, cmp_mul_set, mulsidi3, mulsidi3_v8plus,
4337         const_mulsidi3_v8plus, mulsidi3_sp32, const_mulsidi3,
4338         smulsi3_highpart_v8plus, unnamed subreg mult,
4339         const_smulsi3_highpart_v8plus, smulsi3_highpart_sp32,
4340         const_smulsi3_highpart, umulsidi3_v8plus, umulsidi3_sp32,
4341         const_umulsidi3, const_umulsidi3_v8plus, umulsi3_highpart_v8plus,
4342         const_umulsi3_highpart_v8plus, umulsi3_highpart_sp32,
4343         const_umulsi3_highpart, divsi3, divdi3, cmp_sdiv_cc_set, udivsi3,
4344         udivdi3, cmp_udiv_cc_set, smacsi, smacdi, umacdi, anddi3_sp64,
4345         andsi3, and_not_di_sp64, and_not_si, iordi3_sp64, iorsi3,
4346         or_not_di_sp64, or_not_si, xordi3_sp64, xorsi3, xor_not_di_sp64,
4347         xor_not_si, cmp_cc_arith_op, cmp_ccx_arith_op,
4348         cmp_cc_arith_op_set, cmp_ccx_arith_op_set, cmp_ccx_xor_not,
4349         cmp_cc_xor_not_set, cmp_ccx_xor_not_set, cmp_cc_arith_op_not,
4350         cmp_ccx_arith_op_not, cmp_cc_arith_op_not_set,
4351         cmp_ccx_arith_op_not_set, negdi2_sp64, cmp_cc_neg, cmp_ccx_neg,
4352         cmp_cc_set_neg, cmp_ccx_set_neg, one_cmpldi2_sp64, cmp_cc_not,
4353         cmp_ccx_not, cmp_cc_set_not, cmp_ccx_set_not, addtf3, adddf3,
4354         addsf3, subtf3, subdf3, subsf3, multf3, muldf3, mulsf3,
4355         muldf3_extend, multf3_extend, divtf3, divdf3, divsf3, negtf2,
4356         negdf2, negsf2, abstf2, absdf2, abssf2, sqrttf2, sqrtdf2, sqrtsf2,
4357         ashlsi3, ashldi3, unnamed DI ashift, cmp_cc_ashift_1,
4358         cmp_cc_set_ashift_1, ashrsi3, ashrdi3, unnamed DI ashiftrt,
4359         ashrdi3_v8plus, lshrsi3, lshrdi3, unnamed DI lshiftrt,
4360         lshrdi3_v8plus, tablejump_sp32, tablejump_sp64, call_address_sp32,
4361         call_symbolic_sp32, call_address_sp64, call_symbolic_sp64,
4362         call_address_struct_value_sp32, call_symbolic_struct_value_sp32,
4363         call_address_untyped_struct_value_sp32,
4364         call_symbolic_untyped_struct_value_sp32, call_value_address_sp32,
4365         call_value_symbolic_sp32, call_value_address_sp64,
4366         call_value_symbolic_sp64, branch_sp32, branch_sp64,
4367         flush_register_windows, goto_handler_and_restore,
4368         goto_handler_and_restore_v9, goto_handler_and_restore_v9_sp64,
4369         flush, all ldd/std peepholes, return_qi, return_hi, return_si,
4370         return_addsi, return_di, return_adddi, return_sf, all call+jump
4371         peepholes, trap, unnamed trap insns): Prettify output strings.
4372         (define_insn anddi3_sp32, and_not_di_sp32, iordi3_sp32,
4373         or_not_di_sp32, xordi3_sp32, xor_not_di_sp32, one_cmpldi2):
4374         Likewise and force + implement splits for integer cases.
4375         (define_insn return_sf_no_fpu): Likewise and allow to match when
4376         no-fpu because of our subreg SFmode splits.
4377         (define_insn zero_extendqihi2, zero_extendqisi2_insn,
4378         zero_extendqidi2_insn, zero_extendhidi2_insn,
4379         zero_extendsidi2_insn, sign_extendsidi2_insn): Likewise and use
4380         input_operand for second operand.
4381         (cmp_minus_cc, cmp_minus_cc_set): Likewise and use
4382         reg_or_0_operand for operand 2 so new splits can use it.
4383         (cmp_zero_extendqisi2, cmp_zero_extendqisi2_set, cmp_cc_plus,
4384         cmp_cc_xor_not): Likewise and don't forget to check TARGET_LIVE_G0
4385         too.
4386         (cmp_zero_extract, cmp_zero_extract_sp64): Likewise and allow
4387         CONST_DOUBLEs for operand 2.
4388         (define_insn move_label_di): Likewise and label distance
4389         optimization because it no longer works with new deferred case
4390         vector scheme.  To be revisited.
4391         (define_insn x_minus_y_minus_sltu, x_minus_sltu_plus_y): Likewise
4392         and allow reg_or_0_operand and J constraint for second operand.
4393         (define_insn jump): Set branch predict taken on V9.
4394         (define_insn tablejump): Emit LABEL_REF + PLUS memory address for
4395         new deferred case vector scheme.
4396         (define_insn pic_tablejump_32, pic_tablejump_64): Remove.
4397         (define_insn negdi2_sp32): Force + implement splits.
4398         (define_insn negsi2, one_cmplsi2): Rename to negsi2_not_liveg0 and
4399         one_cmplsi2_not_liveg0 respectively, and create expander of original
4400         names which emit special rtl for TARGET_LIVE_G0.
4401         (define_insn cmpdi_v8plus, scc_si, scc_di): Remove.
4402         (define_insn seq, sne, slt, sge, sle, sltu, sgeu): Don't do
4403         gen_compare_reg, FAIL instead.
4404         (define_insn sgtu, sleu): Likewise and check gen_s*() return
4405         values when trying to reverse condition codes, if they FAIL then
4406         do likewise.
4407         (define_insn snesi_zero, neg_snesi_zero, snesi_zero_extend,
4408         snedi_zero, neg_snedi_zero, snedi_zero_trunc, seqsi_zero,
4409         neg_seqsi_zero, seqsi_zero_extend, seqdi_zero, neg_seqdi_zero,
4410         seqdi_zero_trunc, x_plus_i_ne_0, x_minus_i_ne_0, x_plus_i_eq_0,
4411         x_minus_i_eq_0): Add new splits to perform these multi-insn cases,
4412         set output string to # to indicate they are mandatory splits.
4413         (define_insn pic_lo_sum_si, pic_sethi_si, pic_lo_sum_di,
4414         pic_sethi_di, move_pic_label_si): Remove.
4415         (define_insn movsi_low_sum, movsi_high, movsi_lo_sum_pic,
4416         movsi_high_pic, movsi_pic_label_reg): New patterns to take their
4417         place.
4418         (define_expand movsi_pic_label_ref, define_insn
4419         movsi_high_pic_label_ref, movsi_lo_sum_pic_label_ref): New
4420         expander and insns to handle PIC label references and deferred
4421         case vectors.
4422         (define_insn get_pc_via_rdpc): Comment out as it is no longer
4423         used.
4424         (define_expand movqi, movhi, movsi, movdi, movsf, movdf, movtf):
4425         Rewrite to not use emit_move_sequence, make use of new constant
4426         formation code, and new splits for all multi-insn cases.
4427         (define_insn movqi_insn): Remove sethi case, it can never happen.
4428         Use reg_or_zero_operand instead of const0_rtx explicit test,
4429         use input_operand instead of move_operand for source, and use
4430         general_operand now for dest.
4431         (define_insn movhi_insn): Similar but leave sethi case.
4432         (define_insn lo_sum_qi, store_qi, store_hi): Remove.
4433         (define_insn sethi_hi lo_sum_hi): Rename to movhi_high and
4434         movhi_lo_sum respectively, prettify output string.
4435         (define_insn movsi_zero_liveg0): New pattern to put zero into a
4436         register when needed on TARGET_LIVE_G0.
4437         (define_insn movsi_insn): Use general_operand and input_operand
4438         for dest and src respectively.  Simplify applicability test.
4439         Prettify output strings, and add clr alternative for J
4440         constraint.
4441         (define_insn movdi_sp32_v9, movdi_sp32, define_splits for
4442         deprecated std and reg-reg DI moves): Remove and...
4443         (define_insn movdi_insn_sp32, movdi_insn_sp64): Replace with new
4444         implementation which uses forced splits for all non-single insn
4445         cases.
4446         (define_split DI move cases on !arch64): New splits to handle all
4447         situations of 64-bit double register DImode on 32bit, and
4448         unaligned registers and memory addresses for all subtargets.
4449         (define_insn movsf_const_insn, movdf_const_insn, store_sf):
4450         Remove.
4451         (define_insn movsf_insn, movsf_no_f_insn): Use general_operand and
4452         input_operand for dest and src respectively, prettify output
4453         strings.
4454         (define_insn movdf_insn, movdf_no_e_insn, store_df,
4455         movtf_const_insn, movtf_insn, movtf_no_e_insn, store_tf): Remove
4456         and...
4457         (define_insn movdf_insn_sp32, movdf_no_e_insn_sp32,
4458         movdf_insn_sp64, movdf_no_e_insn_sp64, movtf_insn,
4459         movtf_no_e_insn_sp32, movtf_insn_hq_sp64, movtf_insn_sp64,
4460         movtf_no_e_insn_sp64) Replace with new
4461         implementation which uses forced splits for all non-single insn
4462         cases.
4463         (define_split DF move cases): New splits in similar vein to DI
4464         move counterparts.
4465         (define_insn sethi_di_medlow, sethi_di_medium_pic,
4466         sethi_di_embmedany_data, sethi_di_embmedany_text, sethi_di_sp64,
4467         movdi_sp64_insn): Remove old v9 code model and constant loading
4468         support insns and..
4469         (define_insn pic_lo_sum_di, pic_sethi_di,
4470         sethi_di_medlow_embmedany_pic, sethi_di_medlow, losum_di_medlow,
4471         seth44, setm44, setl44, sethh, setlm, sethm, setlo,
4472         embmedany_sethi, embmedany_losum, embmedany_brsum,
4473         embmedany_textuhi, embmedany_texthi, embmedany_textulo,
4474         embmedany_textlo, movdi_lo_sum_sp64_cint, movdi_lo_sum_sp64_dbl,
4475         movdi_high_sp64_cint, movdi_high_sp64_dbl): Replace with new
4476         scheme, using unspecs, secondary reloads, and one to one sparc
4477         insn to rtl insn mapping for better scheduling and code gen.
4478         (define_expand reload_indi, reload_outdi): Reload helpers for
4479         MEDANY and EMBMEDANY symbol address loading cases which require a
4480         temporary register.
4481         (define_expand movsicc): Remove v8plus_regcmp cases.
4482         (define_insn movdi_cc_sp64_trunc, movdi_cc_reg_sp64_trunc,
4483         cmp_zero_extendqidi2, cmp_zero_extendqidi2_set, cmp_qidi_trunc,
4484         cmp_diqi_trunc_set): New patterns used by some of the new scc
4485         splits on arch64.
4486         (define_insn xordi3_sp64_dbl): New pattern used for constant
4487         formation when crossing from 32-bit targets.
4488         (define_insn movsi_cc_reg_v8plus, v8plus_clear_high, and helper
4489         split): Remove.
4490         (define_insn addx, subx): Make visible and prettify.
4491         (define_insn adddi3_insn_sp32): Likewise and force split.
4492         (define_insn addx_extend, subx_extend, unnamed): New patterns for
4493         64bit scc split usage.
4494         (define_insn unnamed plusDI zero_extend, unnamed minusDI
4495         zero_extend, subdi3): Force and implement splits.
4496         
4497         * final.c (final_scan_insn): Don't output labels if target
4498         specifies ASM_OUTPUT_ADDR_{DIFF}_VEC.  Do these macro operations
4499         instead.
4500         
4501         * reorg.c (dbr_schedule): When taking on BR_PRED notes at the end,
4502         don't forget to walk inside SEQUENCESs too as these are what the
4503         delay slot scheduler will create.
4504         
4505 Mon Aug 10 01:21:01 1998  Richard Henderson  <rth@cygnus.com>
4506
4507         * alpha.md (extxl+1,+2): New patterns to work around
4508         combine lossage.
4509
4510 Sat Aug  8 19:20:22 1998 Gary Thomas (gdt@linuxppc.org)
4511
4512         * rs6000.c (rs6000_allocate_stack_space) Fix typo which
4513         caused bad assembly code to be generated.
4514
4515 Sat Aug  8 18:53:28 1998  Jeffrey A Law  (law@cygnus.com)
4516
4517         * netbsd.h: Fix typo.
4518
4519 Mon Aug  3 00:06:42 1998  Robert Lipe  <robertl@dgii.com> 
4520
4521         * config.sub: Fix typo.
4522
4523 Sun Aug  2 22:39:08 1998  Hans-Peter Nilsson  <hp@axis.se>
4524
4525         * invoke.texi (Environment Variables): Typo: Change "ascpects"
4526         into "aspects".
4527         (Running Protoize): Typo: Change "ther" into "other".
4528
4529 Sun Aug  2 00:42:50 1998  Jeffrey A Law  (law@cygnus.com)
4530
4531         * i386/netbsd.h: Undo previous change to DWARF2_UNWIND_INFO.
4532         * m68k/netbsd.h: Likewise.
4533         * ns32k/netbsd.h: Likewise.
4534         * sparc/netbsd.h: Likewise.
4535
4536 Sat Aug  1 17:59:30 1998  Richard Henderson  <rth@cygnus.com>
4537
4538         * ginclude/va-alpha.h (va_list): Use a typedef, not a define.
4539         * ginclude/va-clipper.h (va_list): Likewise.
4540
4541 Fri Jul 31 20:22:02 1998  Michael Meissner  <meissner@cygnus.com>
4542
4543         * rs6000.c (rs6000_override_options): If big endian and -Os, use
4544         load/store multiple instructions unless user overrides.
4545
4546 Fri Jul 31 17:08:59 1998  Jeffrey A Law  (law@cygnus.com)
4547
4548         * ns32k/netbsd.h: Fix typo.
4549
4550 Fri Jul 31 10:23:55 1998  Doug Evans  <devans@canuck.cygnus.com>
4551
4552         * m32r/m32r.h (ASM_OUTPUT_SOURCE_LINE): Always output line number
4553         labels with .debugsym if no parallel insns.
4554
4555 Thu Jul 30 19:15:53 1998  Richard Henderson  <rth@cygnus.com>
4556
4557         * alpha.md (fp cmp): Replicate patterns for ALPHA_TP_INSN.
4558         (fcmov): Remove ALPHA_TP_INSN patterns -- fcmov doesn't trap.
4559
4560 Thu Jul 30 19:50:15 1998  David Edelsohn  <edelsohn@mhpcc.edu>
4561
4562         * rs6000/x-aix43 (AR_FOR_TARGET_FLAGS): Delete.
4563         (AR_FOR_TARGET): Define.
4564
4565 Thu Jul 30 12:29:12 1998  Mark Mitchell  <mark@markmitchell.com>
4566
4567         * dyn-string.h: New file.
4568         * dyn-string.c: Likewise.
4569         * Makefile.in (OBJS): Add dyn-string.o.
4570         (dwarf2out.o): Add dyn-string.h dependency.
4571         (dyn-string.o): List dependencies.
4572         * dwarf2out.c: Include dyn-string.h.
4573         (ASM_NAME_TO_STRING): Use dyn_string_append, rather than strcpy.
4574         (addr_const_to_string): Take a dyn_string_t, not a char* as a
4575         prototype.  Use dyn_string_append rather than strcat, throughout.
4576         (addr_to_string): Use dyn_string_t.
4577
4578 Thu Jul 30 13:08:07 1998  Ken Raeburn  <raeburn@cygnus.com>
4579
4580         Function entry/exit profiling instrumentation:
4581         * expr.h (profile_function_entry_libfunc,
4582         profile_function_exit_libfunc): Declare new variables.
4583         * optabs.c: Define them here.
4584         (init_optabs): Initialize them.
4585         * tree.h (struct tree_decl): New flag
4586         no_instrument_function_entry_exit.
4587         (DECL_NO_INSTRUMENT_FUNCTION_ENTRY_EXIT): New accessor macro.
4588         * c-decl.c (duplicate_decls): Merge it.
4589         * c-common.c (enum attrs): New value A_NO_INSTRUMENT_FUNCTION.
4590         (init_attributes): Use it for "no_instrument_function".
4591         (decl_attributes): Handle it, for functions that have not yet been
4592         compiled.  Set decl flag.
4593         * flags.h (flag_instrument_function_entry_exit): Declare new
4594         variable.
4595         * toplev.c (flag_instrument_function_entry_exit): Define it here.
4596         (f_options): New option "instrument-functions".
4597         * function.h (struct function): New field instrument_entry_exit.
4598         * function.c (current_function_instrument_entry_exit): New
4599         variable.
4600         (push_function_context_to, pop_function_context_from): Save and
4601         restore.
4602         (expand_function_start): Set current_ variable, maybe emit return
4603         label and entry profile call.
4604         (expand_function_end): Maybe emit exit profile call.
4605
4606 Thu Jul 30 00:58:34 1998  Jeffrey A Law  (law@cygnus.com)
4607
4608         * i386.md (movqi): When optimizing a load of (const_int 1) into a
4609         NON_QI_REG_P, pretend the register is SImode.
4610
4611 Wed Jul 29 23:49:23 1998  Todd Vierling <tv@netbsd.org>
4612
4613         * configure.in: Use xm-netbsd.h as the NetBSD xm file (not xm-siglist).
4614         Accept arm32 as arm, m68k4k as m68k, mipsle as mips-dec, and any
4615         manufacturer id for ns32k.
4616         * configure: Regenerated.
4617         * config/netbsd.h: When using ASM_WEAKEN_LABEL, make it global too.
4618         * config/t-netbsd: Don't compile libgcc1-test as the fns are in libc.
4619         * config/i386/netbsd.h: Undefine DWARF2_UNWIND_INFO, not define as 0.
4620         * config/m68k/netbsd.h: Same.
4621         * config/ns32k/netbsd.h: Same.
4622         * config/sparc/netbsd.h: Same.
4623
4624 Wed Jul 29 22:39:21 1998  Jeffrey A Law  (law@cygnus.com)
4625
4626         * unroll.c (unroll_loop): Do not abort for an UNROLL_MODULO
4627         or UNROLL_COMPLETELY loop that starts with a jump to its
4628         exit code.
4629
4630 Wed Jul 29 22:18:14 1998  David Edelsohn  <edelsohn@mhpcc.edu>
4631
4632         * rs6000/rs6000.md (absdi2 define_split): Swap operands of MINUS.
4633         * rs6000/rs6000.c (mask64_operand): Use HOST_BITS_PER_WIDE_INT.
4634         (print_operand, case 'B'): Don't fall through.
4635         (print_operand, case 'S'): Correct mask begin/end computation.
4636         Use HOST_BITS_PER_WIDE_INT.
4637         * rs6000/rs6000.h (CPP_PREDEFINES): Define _LONG_LONG.
4638         (CONDITIONAL_REGISTER_USAGE): GPR13 fixed if TARGET_64BIT.
4639         * rs6000/aix41.h (CPP_PREDEFINES): Same.
4640         * rs6000/aix43.h (CPP_PREDEFINES): Same.
4641
4642 Wed Jul 29 11:47:10 1998  Nick Clifton  <nickc@cygnus.com>
4643
4644         * config/arm/thumb.md (extendqisi2_insn): Remove earlyclobber
4645         constraint from second alternative.
4646
4647 Tue Jul 28 23:29:04 1998  Jason Merrill  <jason@yorick.cygnus.com>
4648
4649         * configure.in: Fix --without/--disable cases for local-prefix, 
4650         gxx-include-dir and checking.
4651
4652 Tue Jul 28 22:01:23 1998  David S. Miller  <davem@pierdol.cobaltmicro.com>
4653
4654         * configure.in (enable_haifa): Set by default for sparc64 too.
4655         configure: Rebuilt.
4656
4657 Tue Jul 28 23:29:04 1998  Jason Merrill  <jason@yorick.cygnus.com>
4658
4659         * i386/cygwin32.h (VALID_MACHINE_TYPE_ATTRIBUTE): New macro.
4660         * i386/winnt.c (associated_type): New fn.
4661         (i386_pe_valid_type_attribute_p): New fn.
4662         (i386_pe_check_vtable_importexport): Remove.
4663         (i386_pe_dllexport_p): Use associated_type.
4664         (i386_pe_dllimport_p): Likewise.
4665
4666         From Antonio M. O. Neto <anmendes@cruzeironet.com.br>:
4667         * i386.c (i386_valid_type_attribute_p): Also accept
4668         attributes for METHOD_TYPEs.
4669
4670 Tue Jul 28 23:17:39 1998  Peter Gerwinski <peter@gerwinski.de>
4671
4672         * tree.c (build_range_type): Copy TYPE_SIZE_UNIT.
4673
4674 Tue Jul 28 22:31:12 1998  Craig Burley  <burley@gnu.org>
4675
4676         * gcc.c: Fix commentary describing %g, %u, %U, and %O.
4677
4678         * gcc.c (do_spec_1): Fix handling of %g%O and %U%O to prevent
4679         them from generating a new base name for each occurence of
4680         a specific suffix.
4681
4682 1998-07-28  Vladimir N. Makarov  <vmakarov@cygnus.com>
4683
4684         * cse.c (cse_insn): Enable subsitution inside libcall only for REG,
4685         SUBREG, MEM.
4686         * rtlanal.c (replace_rtx): Prohibit replaces in CONST_DOUBLE. 
4687
4688
4689
4690         * cplus-dem.c (type_kind_t): New type.
4691         (demangle_template_value_parm): Add type_kind_t parameter.  Rely
4692         on this paramter, rather than demangling the type again.
4693         (demangle_integral_value): Pass tk_integral.
4694         (demangle_template_: Pass the value returned from do_type.
4695         (do_type): Return a type_kind_t.  Pass tk_integral to
4696         demangle_template_value_parm for array bounds.
4697         (demangle_fund_type): Likewise.
4698         
4699 Mon Jul 27 00:54:41 1998  Jason Merrill  <jason@yorick.cygnus.com>
4700
4701         * tree.c (simple_cst_equal, case CONSTRUCTOR): OK if the elts are
4702         identical.
4703
4704 Mon Jul 27 22:18:36 1998  Jeffrey A Law  (law@cygnus.com)
4705
4706         * pa.c (move_operand): Accept CONSTANT_P_RTX.
4707
4708 Mon Jul 27 17:18:52 1998  Dave Brolley  <brolley@cygnus.com>
4709
4710         * stor-layout.c (layout_type): Handle arrays of bits, for Chill.
4711
4712         * expr.c (get_inner_reference): Handle zero-based, unsigned, array
4713         index conversion.
4714
4715 Mon Jul 27 14:51:33 1998  Jeffrey A Law  (law@cygnus.com)
4716
4717         * mn10300.h (DEBUGGER_AUTO_OFFSET): Define.
4718         (DEBUGGER_ARG_OFFSET): Likewise.
4719
4720         * mn10300.md (movsf): Remove last change.  Not needed.
4721
4722 Mon Jul 27 14:22:36 1998  Dave Brolley  <brolley@cygnus.com>
4723
4724         * c-lex.c (yylex): Fix boundary conditions in character literal and
4725         string literal loops.
4726
4727 Mon Jul 27 11:43:54 1998  Stan Cox  <scox@cygnus.com>
4728
4729         * longlong.h (count_leading_zeros): Sparclite scan instruction was
4730         being invoked incorrectly.
4731
4732         * i386.c (ix86_prologue): Added SUBTARGET_PROLOGUE invocation.
4733         * i386/cygwin32.h (STARTFILE_SPEC, LIB_SPEC, SUBTARGET_PROLOGUE): 
4734         Add -pg support. 
4735         * i386/win32.h: New file.  Hybrid mingw32.h/cygwin32.h configuration.
4736         * configure.in: Added i[34567]86-*-win32
4737         * config.sub: Ditto.
4738         * configure: Rebuilt.
4739         
4740 Sun Jul 26 01:11:12 1998  H.J. Lu  (hjl@gnu.org)
4741
4742         * i386.h (CONST_DOUBLE_OK_FOR_LETTER_P): Return 0 when eliminating
4743         the frame pointer and compiling PIC code and reload has not completed.
4744
4745         * i386.c (output_to_reg): Add code to emulate non-popping DImode
4746         case.
4747
4748 Sun Jul 26 01:01:32 1998  Jeffrey A Law  (law@cygnus.com)
4749
4750         * regmove.c (regmove_optimize): Fix typo initializing regmove_bb_head.
4751
4752 Sat Jul 25 23:29:23 1998  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
4753
4754         * Makefile.in (install-info): Only try to update the info
4755         directory file if it exists in the first place.
4756
4757 Fri Jul 24 18:58:37 1998  Klaus Espenlaub  <kespenla@student.informatik.uni-ulm.de>
4758
4759         * rs6000.h (ASM_OUTPUT_CONSTRUCTOR, ASM_OUTPUT_DESTRUCTOR): Delete.
4760
4761 Fri Jul 24 14:20:26 1998  Jeffrey A Law  (law@cygnus.com)
4762
4763         * mn10300.md (movqi, movhi, movsi, movsf): Correctly handle
4764         CONST_DOUBLE source.
4765
4766 Fri Jul 24 11:17:04 1998  Nick Clifton  <nickc@cygnus.com>
4767
4768         * config/arm/thumb.c (thumb_print_operand): Decode %_ in asm
4769         strings as the insertion of USER_LABEL_PREFIX.
4770         * config/arm/thumb.h (PRINT_OPERAND_PUNCT_VALID_P): Accept _ as a
4771         valid code.
4772         * config/arm/thumb.md: Use %_ as a prefix to gcc library function
4773         calls. 
4774
4775 Thu Jul 23 18:53:20 1998  Jim Wilson  <wilson@cygnus.com>
4776
4777         * dbxout.c (dbxout_range_type): Only call dbxout_type_index for
4778         already defined type.
4779
4780 Thu Jul 23 13:49:41 1998  Jeffrey A Law  (law@cygnus.com)
4781
4782         * expr.c (check_max_integer_computation_mode): Allow conversions
4783         of constant integers to MAX_INTEGER_COMPUTATION_MODE.
4784         (expand_expr): Likewise.
4785
4786 Thu Jul 23 11:12:06 1998  Alexandre Petit-Bianco  <apbianco@cygnus.com>
4787
4788         * expr.c (expand_expr): Expand RETURN_EXPR.
4789
4790 Thu Jul 23 11:00:29 1998  Jim Wilson  <wilson@cygnus.com>
4791
4792         * dwarf2out.c (dwarf2out_finish): Call stripattributes on TEXT_SECTION.
4793
4794 Wed Jul 22 19:10:00 1998  Catherine Moore  <clm@cygnus.com>
4795
4796         * dwarf2out.c (output_aranges):  Call stripattributes
4797         for TEXT_SECTION references.
4798         (output_line_info): Likewise.
4799
4800 Wed Jul 22 14:08:54 1998  David S. Miller  <davem@pierdol.cobaltmicro.com>
4801
4802         * profile.c (branch_prob): Call allocate_reg_info after outputting
4803         profile rtl in instrument_arcs.
4804
4805 Wed Jul 22 12:47:49 1998  Jim Wilson  <wilson@cygnus.com>
4806
4807         * fixinc.irix (math.h): Install wrapper instead of copying.
4808
4809 Wed Jul 22 12:37:14 1998  Alexandre Petit-Bianco <apbianco@cygnus.com>
4810
4811         * tree.def (EXPR_WITH_FILE_LOCATION): Defined as an 'e' expression
4812         so WFL are expanded correctly when contained in a COMPOUND_EXPR.
4813         * tree.h (EXPR_WFL_EMIT_LINE_NOTE): Change macro not to use
4814         lang_flag_0. Added documentation in the flag table.
4815
4816 Tue Jul 21 23:28:35 1998  Klaus Kaempf <kkaempf@rmi.de>
4817
4818         * cccp.c (do_include): Fix vax c style include handling.
4819
4820 Tue Jul 21 13:28:19 1998  Jason Merrill  <jason@yorick.cygnus.com>
4821
4822         * cplus-dem.c (do_type): Use demangle_template_value_parm for arrays.
4823
4824 Sun Jul 12 01:27:05 1998  Jason Merrill  <jason@yorick.cygnus.com>
4825
4826         * fold-const.c (non_lvalue): Don't deal with null pointer 
4827         constants here.
4828         (fold, case COMPOUND_EXPR): Wrap a constant 0 in a NOP_EXPR.
4829
4830 Tue Jul 21 15:49:31 1998  David Edelsohn  <edelsohn@mhpcc.edu>
4831
4832         * rs6000.h (PREDICATE_CODES): Add CONSTANT_P_RTX.
4833         * rs6000.md (movsi, movdi): Add CONSTANT_P_RTX.
4834         * rs6000.c (short_cint_operand): Add CONSTANT_P_RTX.
4835         (u_short_cint_operand): Same.
4836         (reg_or_cint_operand): Same.
4837         (logical_operand): Same.
4838         (input_operand): Same.
4839         (reg_or_short_operand): Use u_short_cint_operand.
4840
4841 Tue Jul 21 08:56:42 1998  Richard Henderson  <rth@cygnus.com>
4842
4843         * alpha.md (fix_truncdfsi2, fix_truncsfsi2): Remove the define_expands,
4844         but keep the insns and splits.  Adjust so when the ultimate destination
4845         is memory, use cvtql.
4846
4847 Tue Jul 21 08:55:09 1998  Richard Henderson  <rth@cygnus.com>
4848
4849         * flow.c (regno_uninitialized): Fixed regs are never uninitialized.
4850
4851 Tue Jul 21 00:31:01 1998  Jeffrey A Law  (law@cygnus.com)
4852
4853         * gcc.c (do_spec): Call "error" not "warning".
4854
4855         * configure.in: Fix minor problems with gas feature detection code.
4856         * configure: Rebuilt.
4857
4858         * gcc.c (do_spec): Issue a warning for '%[]' usage.
4859
4860         * Undo this change.
4861         * gcc.c: Delete %[spec] support.
4862         (do_spec_1, case '('): Likewise.
4863         (do_spec_1, case '['): Call error.
4864
4865 Mon Jul 20 22:34:17 1998  Richard Henderson  <rth@cygnus.com>
4866
4867         * alpha.h (CPP_SPEC): Tidy.  Hook to cpp_cpu and cpp_subtarget.
4868         (CPP_SUBTARGET_SPEC): Default to empty string.
4869         (CPP_AM_*, CPP_IM_*, CPP_CPU_*, CPP_CPU_SPEC): New.
4870         (EXTRA_SPECS, SUBTARGET_EXTRA_SPECS): New.
4871         * alpha/elf.h (LD_SPEC): Use %(elf_dynamic_linker).
4872         * alpha/linux-elf.h (SUBTARGET_EXTRA_SPECS): New.
4873         (LIB_SPEC): Tidy.
4874         * alpha/linux.h (CPP_PREDEFINES): Tidy.
4875         * alpha/netbsd-elf.h (SUBTARGET_EXTRA_SPECS): New.
4876         * alpha/netbsd.h (CPP_PREDEFINES): Tidy.
4877         * alpha/osf.h (CPP_PREDEFINES): Remove bits subsumed by CPP_CPU_SPEC.
4878         * alpha/win-nt.h (CPP_PREDEFINES): Likewise.
4879         * alpha/vsf.h (CPP_PREDEFINES): Likewise.
4880         (CPP_SUBTARGET_SPEC): New.  Do this instead of overriding CPP_SPEC.
4881         * alpha/vxworks.h: Likewise.
4882
4883 Mon Jul 20 22:51:57 1998  Ken Raeburn  <raeburn@cygnus.com>
4884
4885         * mips.md (reload_outsi): Added missing REGNO call.
4886         (smulsi3_highpart, umulsi3_highpart): Provide prototype for
4887         function pointer.
4888         (mul_acc_di, mul_acc_64bit_di): Don't use match_op_dup, use
4889         another match_operator and compare the codes.
4890
4891         * mips.h (MASK_DEBUG_E, MASK_DEBUG_I): Set to zero.
4892
4893         * MIPS multiply pattern fixes:
4894         * mips.h (enum reg_class, REG_CLASS_NAMES, REG_CLASS_CONTENTS):
4895         Add union classes for HI, LO, or HILO plus general registers.
4896         (GENERATE_MADD): Deleted.
4897         * mips.md (mulsi3_mult3): Don't disparage output-LO alternative.
4898         Add TARGET_MAD to condition.
4899         (mulsi3): Test HAVE_mulsi3_mult3, not specific flags.
4900         (mul_acc_si): Expand GENERATE_MADD here; it's the only use.  Use
4901         "*d" for accumulator, to give preference to LO initially but not
4902         during reload.
4903
4904 Mon Jul 20 16:16:38 1998  Dave Brolley  <brolley@cygnus.com>
4905
4906         * configure.in (enable_c_mbchar): New configure option.
4907         (extra_cpp_objs): Always available now.
4908
4909         * cexp.y (mbchar.h): #include it.
4910         (yylex): Handle Multibyte characters in character literals.
4911
4912         * cccp.c (mbchar.h): #include it.
4913         (main): Set character set based on LANG environment variable.
4914         (rescan): Handle multibyte characters in comments.
4915         (skip_if_group): See above.
4916         (validate_else): See above.
4917         (skip_to_end_of_comment): See above.
4918         (macarg1): See above.
4919         (discard_comments): See above.
4920         (rescan): Handle multibyte characters in string and character literals.
4921         (collect_expansion): See above.
4922         (skip_quoted_string): See above.
4923         (macroexpand): See above.
4924         (macarg1): See above.
4925         (discard_comments): See above.
4926         (change_newlines): See above.
4927
4928         * c-lex.c (mbchar.h): #include it.
4929         (GET_ENVIRONMENT): New macro.
4930         (init_lex): Set character set based on LANG environment variable.
4931         (yylex): Handle multibyte characters in character literals.
4932         (yylex): Handle multibyte characters in string literals.
4933
4934         * Makefile.in (mbchar.o): New target.
4935         (cccp$(exeext)): @extra_cpp_objs@ is always available.
4936         (cppmain$(exeext)): @extra_cpp_objs@ is always available.
4937
4938         * mbchar.[ch]: New files for multibyte character handling.
4939
4940 Mon Jul 20 01:11:11 1998  David S. Miller  <davem@pierdol.cobaltmicro.com>
4941
4942         * jump.c (jump_optimize): When simplifying noop moves and
4943         PUSH_ROUNDING, fix thinko so we use same criterion for identifying
4944         the PUSHes to rewrite in second loop as we did in the first.
4945
4946 Sun Jul 19 08:23:53 1998  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
4947
4948         * cplus-dem.c (demangle_nested_args): Make function definition
4949         static to match the prototype.
4950
4951 Fri Jul 17 14:58:44 1998  Richard Henderson  <rth@cygnus.com>
4952
4953         * alloca.c: Respect USE_C_ALLOCA.
4954         * gencheck.c (xmalloc): Ignore __GNUC__ for definition.
4955         * gengenrtl.c (xmalloc): Likewise.
4956
4957 Fri Jul 17 14:18:14 1998  Richard Henderson  <rth@cygnus.com>
4958
4959         * loop.h (struct induction): Add no_const_addval.
4960         * loop.c (the_movables, reg_address_cost): New variables.
4961         (init_loop): Init reg_address_cost.
4962         (loop_optimize): Call end_alias_analysis.
4963         (scan_loop): Init the_movables.
4964         (record_giv): Init induction->no_const_addval.
4965         (basic_induction_var) [PLUS]: Use rtx_equal_p instead of ==.
4966         [REG]: Rearrange loop search test to catch more cases.
4967         (general_induction_var): Return success not benefit; take an extra
4968         argument for that.  Change all callers.
4969         (simplify_giv_expr) [PLUS]: Always combine invariants.  Use sge_plus.
4970         [MULT]: Use rtx_equal_p instead of ==.  Combine simple invariants.
4971         [default]: Search the_movables for additional combinations.
4972         (sge_plus_constant, sge_plus): New functions.
4973         (express_from_1): New function.
4974         (express_from): Always define.  Rewrite using express_from_1.
4975         (combine_givs_p): Handle more cases.  Ignore address cost.
4976         (cmp_combine_givs_stats): New function.
4977         (combine_givs_used_once, combine_givs_benefit_from): New functions.
4978         (combine_givs): Rewrite to do best-fit combination.
4979
4980         * fold-const.c (operand_equal_p): Handle RTL_EXPR.
4981         (fold): Do a complete (A*C)+(B*C) association check.
4982
4983 Fri Jul 17 11:21:55 1998  Jim Wilson  <wilson@cygnus.com>
4984
4985         * function.c (fixup_var_refs_insns): Handle CLOBBER of a CONCAT.
4986
4987 Fri Jul 17 11:48:55 1998  Jeffrey A Law  (law@cygnus.com)
4988
4989         * mn10300.c (MODES_TIEABLE_P): Fix typo.
4990
4991 Fri Jul 17 03:26:12 1998  Rihcard Earnshaw (rearnsha@arm.com)
4992
4993         * tree.c (valid_machine_attribute): Only create a new type variant if
4994         there is a decl to use it.
4995
4996 Thu Jul 16 14:48:04 1998  Nick Clifton  <nickc@cygnus.com>
4997
4998         * gcc.c (do_spec_1): Cope with %g/%u/%U options which do not have
4999         a suffix.
5000
5001 Fri Jul 17 03:24:40 1998  Hans-Peter Nilsson  <hp@axis.se>
5002
5003         * extend.texi (Explicit Reg Vars): Typo: change "may deleted" into "may
5004         be deleted" 
5005
5006 Thu Jul 16 14:48:47 1998  Jeffrey A Law  (law@cygnus.com)
5007
5008         * mn10300.c (count_tst_insns): New arg oreg_countp.  Callers changed.
5009         Simplify tests for clearing an address register.
5010         (expand_prologue): Corresponding changes.
5011
5012         * mn10300.md (movXX patterns): Make sure the destination is an
5013         ADDRESS_REG when substituting "zero_areg" for (const_int 0).
5014         (logical patterns): Split into expanders + patterns
5015         (zero and sign extension patterns): Similarly.
5016         (shift patterns): Similarly.
5017
5018 Thu Jul 16 01:17:44 1998  Richard Henderson  <rth@cygnus.com>
5019
5020         * loop.c (emit_iv_add_mult): Scan the entire insn list generated
5021         for the sequence, recording base values.
5022
5023 Wed Jul 15 10:49:55 1998  Richard Henderson  <rth@cygnus.com>
5024
5025         * i386.h (CPP_CPU_SPEC): Remove -Asystem(unix).
5026
5027 Tue Jul 14 14:15:30 1998  Nick Clifton  <nickc@cygnus.com>
5028
5029         * gcc.c: Remove ANSI-C ism from --help code.
5030
5031         * toplev.c: Support --help with USE_CPPLIB.
5032
5033 Tue Jul 14 14:46:08 1998  Jeffrey A Law  (law@cygnus.com)
5034
5035         * configure.in: Rework gas feature code to work with symlink based
5036         source trees.
5037
5038         * extend.texi: Clarify some issues related to local variables
5039         assigned to explicit registers.
5040
5041         * mn10300.md (mulsi): Turn into expander + pattern.
5042
5043         * mn10300.md (movsi, movsf, movdi, movdf): Remove "x" from I -> a
5044         alternative.
5045
5046 Tue Jul 14 07:41:59 1998  Richard Earnshaw (rearnsha@arm.com)
5047
5048         * arm/tcoff.h (USER_LABEL_PREFIX): Make it empty to match coff.h.
5049
5050 Tue Jul 14 03:02:44 1998  Jeffrey A Law  (law@cygnus.com)
5051
5052         * version.c: Bump again to distinguish mainline tree from the
5053         egcs-1.1 branch.
5054
5055 See ChangeLog.0 for earlier changes.
5056
5057 Local Variables:
5058 add-log-time-format: current-time-string
5059 End: