OSDN Git Service

8693fb902760eb31558384609064547a5113fd5d
[pf3gnuchains/gcc-fork.git] / gcc / ChangeLog
1 Thu Apr  8 09:37:40 1999  Nick Clifton  <nickc@cygnus.com>
2
3         * config/arm/arm.c (arm_print_operand): Undo previous change -
4         always print large constants in decimal.
5
6 Thu Apr  8 10:22:23 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7
8         * configure.in (host_xm_file, build_xm_file): Include hwint.h.
9         Use case statements instead of "if test -a ... -a ... -a ..."
10
11         * machmode.h: Don't define HOST_WIDE_INT, etc. Wrap use of
12         HOST_WIDE_INT in #ifdef.
13
14         * mips.h: Include hwint.h instead of providing definitions for
15         HOST_WIDE_INT, etc.  Wrap uses of HOST_WIDE_INT in #ifdef.
16
17 Thu Apr  8 06:16:14 EDT 1999  John Wehle  (john@feith.com)
18
19         * i386.md (truncdfsf2, truncxfsf2,
20         truncxfdf2): Rewrite using a splitter.
21
22 Thu Apr  8 01:26:05 1999  Arg Haas (ahaas@neosoft.com)
23                           Jeffrey A Law  (law@cygnus.com)
24
25         * freebsd-elf.h (ASM_OUTPUT_MAX_SKIP_ALIGN): Avoid ambigious
26         else statement.
27         * gas.h (ASM_OUTPUT_MAX_SKIP_ALIGN): Likewise.
28         * linux.h (ASM_OUTPUT_MAX_SKIP_ALIGN): Likewise.
29         * openbsd.h (ASM_OUTPUT_MAX_SKIP_ALIGN): Likewise.
30
31 Wed Apr  7 22:40:19 1999  Jim Wilson  <wilson@cygnus.com>
32
33         * i960/i960.c (i960_function_prologue): Don't save static chain
34         pointer.
35         * i960/i960.h (STACK_CHAIN_REGNUM): Change from r3 to g12.
36         (TRAMPOLINE_TEMPLATE): Likewise.
37         (FRAME_POINTER_REQUIRED): Check current_function_has_nonlocal_goto.
38         * i960/i960.md (nonlocal_goto): Rewrite.
39         
40 Tue Apr  6 17:49:49 1999  Philip Blundell  <pb@nexus.co.uk>
41
42         * config/arm/lib1funcs.asm: Test for __ELF__ not __elf__.
43
44 Wed Apr  7 14:07:34 1999  Jeffrey A Law  (law@cygnus.com)
45
46         * h8300.c (h8300_adjust_insn_length): Also avoid recognizing
47         ADDR_VEC and ADDR_DIFF_VEC insns.
48
49         * h8300.c (h8300_adjust_insn_length): Avoid trying to recognize
50         USE, CLOBBER or SEQUENCE insns.
51
52         * unroll.c (unroll_loop): For HAVE_cc0 machines, adjust copy_end_luid
53         to account for the uncopied insn that sets cc0 at the end of the loop.
54
55         * unroll.c (copy_loop_body): Always ensure at least two insns
56         are in the copied loop.
57
58 Wed Apr  7 14:52:18 1999  Catherine Moore  <clm@cygnus.com>
59
60         * config/mips/elf.h (MAKE_DECL_ONE_ONLY): Define.
61         (UNIQUE_SECTION_P): Define.
62
63 1999-04-07 11:50 -0800  Bruce Korb <ddsinc09@ix.netcom.com>
64
65         * fixinc/inclhack.tpl & fixincl.tpl:
66         Remove dynamic content from generated files
67
68 Wed Apr  7 13:16:22 EDT 1999  John Wehle  (john@feith.com)
69
70         * i386.c (output_move_memory): Remove.
71         * i386.h: Likewise.
72
73         * i386.md (movsi, movhi, movstricthi, movqi, movstrictqi,
74         movsf, movdf, movxf, movdi): Check no_new_pseudos instead
75         of (reload_in_progress | reload_completed).
76
77 Wed Apr  7 03:16:45 1999  Richard Henderson  <rth@cygnus.com>
78
79         * alpha.c (reg_no_subreg_operand): New function.
80         * alpha.h (PREDICATE_CODES): Add it.
81         * alpha.md (floatdi?f patterns): Use it for op1.
82
83         * alpha.c (alpha_end_function): Don't flag weak functions.
84
85 Wed Apr  7 02:11:55 1999  Richard Henderson  <rth@cygnus.com>
86
87         * expr.c (expand_builtin) [BUILT_IN_RETURN_ADDRESS]: Use
88         copy_to_mode_reg; don't force constants into a register.
89
90 Tue Apr  6 22:55:25 1999  Richard Henderson  <rth@cygnus.com>
91
92         * toplev.c (compile_file): Typo flow_dump -> flow2_dump.
93
94 1999-04-06  Joseph S. Myers  <jsm28@cam.ac.uk>
95
96         * pdp11.c (simple_memory_operand): Add default case in switch.
97         * pdp11.h (TARGET_SWITCHES): Add help strings.
98         (NOTICE_UPDATE_CC): Don't include excess argument to format.
99         (ASM_OUTPUT_DOUBLE_INT): Remove.
100
101 Tue Apr  6 22:09:40 1999  Richard Henderson  <rth@cygnus.com>
102
103         * expr.c (expand_builtin_setjmp): Put setjmp return label on
104         nonlocal_goto_handler_labels for flow.
105
106 Tue Apr  6 22:05:21 1999  Jan Hubicka  <hubicka@paru.cas.cz>
107                           Richard Henderson  <rth@cygnus.com>
108
109         * flow.c (verify_flow_info): New function.
110         (find_basic_blocks): Call it if ENABLE_CHECKING.
111         (merge_blocks): Don't merge if there are non-deletable labels.
112         * toplev.c (fatal_insn): Allow a printf-style arg list.
113         * toplev.h (fatal_insn): Update prototype.
114
115 Tue Apr  6 16:18:58 1999  Jan Hubicka  <hubicka@paru.cas.cz>
116
117         * flow.c (split_edge) update correctly flow graph, disable
118         EDGE_CRITICAL flag on the split edge, update NUSES for new label.
119
120 Tue Apr  6 15:47:51 1999  Richard Henderson  <rth@cygnus.com>
121
122         * emit-rtl.c (gen_rtx_CONST_DOUBLE): Use XWINT not XINT.
123         Clear third and following slots, if they exist.
124
125 Tue Apr  6 15:45:28 1999  Richard Henderson  <rth@cygnus.com>
126
127         * flow.c (create_basic_block): Make sure the bb note is in the block.
128         (can_delete_note_p): Rename from delete_note_p.
129         (delete_insn_chain): Preserve undeleteable labels too.
130         (tidy_fallthru_edge): Use next_real_insn instead of confusing
131         inline code.
132
133 1999-04-06 12:56 -0400  Zack Weinberg  <zack@rabi.columbia.edu>
134
135         * cppexp.c (parse_charconst): Initialize c.
136         (cpp_parse_expr): Initialize rprio.
137         * cppfiles.c (merge_include_chains): Initialize prev.
138         (finclude) Set fp->line_base to fp->buf before returning.
139         * cpphash.c (macroexpand): Initialize token.
140         * cppspec.c (lang_specific_driver): Change suff to 
141         const char *const *.
142
143 1999-04-06 12:51 -0400  Zack Weinberg  <zack@rabi.columbia.edu>
144
145         * cppinit.c (install_predefs): Delete function.
146         (cpp_start_read): Don't call install_predefs.
147         (cpp_handle_option): Remove case 'u' and all refs to
148         opts->inhibit_predefs.
149         (print_help): Don't mention -undef.
150         (initialize_builtins): Define __HAVE_BUILTIN_SETJMP__, to
151         match cccp.
152         * cpplib.h (struct cpp_options): Remove inhibit_predefs
153         member.
154
155         * cccp.c (predefs): Delete variable.
156         (main): Remove case 'u' in argument parse loop,
157         'inhibit_predefs' variable, and the code block that would
158         process CPP_PREDEFINES.
159         (initialize_builtins): Don't define __OBJC__, the driver will
160         do that.
161
162         * gcc.c (default_compilers): Remove -undef from all specs that
163         invoke a C preprocessor.
164         * ch/lang-specs.h: Likewise.
165         * cp/lang-specs.h: Likewise.
166         * f/lang-specs.h: Likewise.
167         * objc/lang-specs.h: Likewise.
168
169 Mon Apr  5 11:55:31 1999  Donn Terry (donn@interix.com)
170
171         * Makefile.in (SUBDIR_FLAGS_TO_PASS): Fix misapplied patch.
172
173 Mon Apr  5 11:51:38 1999  Jeffrey A Law  (law@cygnus.com)
174
175         * m68k.md (movdf): Hide GPR sources & destinations from regclass.
176
177 Mon Apr 5 09:54:42 PDT 1999 Jeff Law  (law@cygnus.com)
178
179         * version.c: Bump for snapshot.
180
181 Mon Apr 5 05:55:15 PDT 1999 Bruce Korb <ddsinc09@ix.netcom.com>
182
183         * fixincl.tpl: Separate "-e" from its argument, a la
184         the Sat Apr  3 17:05:13 1999 fix.
185         * genfixes: Ensure that the server shell is _NOT_ csh.
186
187 Mon Apr 5 03:52:30 PDT 1999 Jeff Law  (law@cygnus.com)
188
189         * version.c: Bump for snapshot.
190
191 Mon Apr  5 04:47:14 1999  Jeffrey A Law  (law@cygnus.com)
192
193         * i386.c (x86_double_with_add): Turn off for Pentium and PPro.
194         (small_shift_operand, output_ashlsi3): New functions.
195         * i386.h (small_shift_operand, output_ashlsi3): Declare.
196         * i386.md (ashlsi3): Simplify ahlsi3 patterns.  Remove splitters
197         that are no longer needed.
198
199 Sun Apr  4 04:05:04 1999  Jeffrey A Law  (law@cygnus.com)
200
201         * stmt.c (expand_loop_end): When copying the loop exit test,
202         do not walk into a nested loop.
203
204 Sun Apr  4 00:14:54 1999  Jeffrey A Law  (law@cygnus.com)
205
206         * fixinc/hackshell.tpl: Skip links to directories, to avoid
207         removing them.
208         * fixinc/inclhack.tpl: Likewise.
209         * fixinc/fixinc.sh, fixinc/fixincl.x, fixinc/inclhack.sh: Rebuilt.
210
211 Sat Apr  3 23:46:13 1999  David Edelsohn  <edelsohn@gnu.org>
212         
213         * rs6000.md (addsi3, iorsi3, xorsi3, adddi3, iordi3, xordi3,
214         movsi_got, movsi, movsf): Use no_new_pseudos.
215         * rs6000.c (rs6000_got_register): Likewise.
216         (offsettable_mem_opereand): Use || not |.
217
218 Sat Apr  3 22:02:56 1999  Jeffrey A Law  (law@cygnus.com)
219
220         * acconfig.h (ENABLE_CHECKING): Remove redundant #undef.
221         * config.in: Rebuilt.
222
223 Sat Apr  3 16:22:59 1999  Toshiyasu Morita  (tm@netcom.com)
224
225         * gcc.texi: Add info on regmove pass
226
227         * regmove.c (fixup_match_1): Consistently evaluate
228         HAVE_POST_INCREMENT and HAVE_POST_DECREMENT.
229
230 Sat Apr  3 19:21:05 1999  Alexandre Oliva  <oliva@dcc.unicamp.br>
231
232         * configure.in (DEFAULT_LINKER, DEFAULT_ASSEMBLER): Use grep
233         instead of test and sed to check whether they're GNU programs.
234         * configure: Rebuilt.
235
236 Sat Apr  3 17:57:35 1999  Alexandre Oliva  <oliva@dcc.unicamp.br>
237
238         * Makefile.in (install-headers-tar, install-headers-cpio): avoid
239         problems with CDPATH
240         Reported by Ralf Canis <canis@bigfoot.com>
241
242 Sat Apr  3 13:50:16 1999  Jeffrey A Law  (law@cygnus.com)
243
244         * fixinc.x86-linux-gnu: Deleted.
245
246 Sat Apr  3 17:05:13 1999  Alexandre Oliva  <oliva@dcc.unicamp.br>
247
248         * inclhack.tpl: insert spaces between `sed -e' and '...'
249         Reported by Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
250         * fixinc/fixincl.sh, fixinc/fixincl.x, fixinc/inclhack.sh: regen 
251         
252 Sat Apr  3 14:54:46 1999  Craig Burley  <craig@jcb-sc.com>
253
254         * tree.def (BLOCK): Fix typo in comment.
255
256 Sat Apr  3 00:53:29 EST 1999  John Wehle  (john@feith.com)
257
258         * i386.md (floatsisf2, floatdisf2, floatsidf2, floatdidf2,
259         floatsixf2, floatdixf2): Rewrite using a splitter.
260
261 Fri Apr  2 17:36:10 1999  Nick Clifton  <nickc@cygnus.com>
262
263         * config/arm/arm.c (arm_print_operand): Print large constants in
264         hex rather than decimal.
265
266 Fri Apr  2 17:23:58 1999  Nick Clifton  <nickc@cygnus.com>
267
268         * print-rtl.c (print_rtx): Use both HOST_WIDE_INT_PRINT_DEC
269         and HOST_WIDE_INT_PRINT_HEX to display constants.
270
271 1999-04-02 20:16 -0500  Zack Weinberg  <zack@rabi.columbia.edu>
272
273         * config/i386/i386.h: Document all TARGET_SWITCHES or add
274         explicit null initializer.
275
276         * config/i386/cygwin.h: Document all SUBTARGET_SWITCHES.
277         * config/i386/dgux.h: Likewise.
278         * config/i386/osf1elf.h: Likewise.
279         * config/i386/win32.h: Likewise.
280         * config/i386/osfrose.h: Likewise.  Drop obsolete -mno-ident option.
281
282 Fri Apr  2 17:49:44 1999  Toshiyasu Morita <tm@netcom.com>
283
284         * regmove.c (fixup_match_1): Remove now useless if (0).
285
286 Sat Apr  3 11:37:20 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
287
288         * tm.texi (USE_LOAD_POST_DECREMENT, USE_LOAD_PRE_DECREMENT,
289         USE_STORE_POST_DECREMENT, USE_STORE_PRE_DECREMENT): Document.
290         (USE_LOAD_POST_INCREMENT, USE_LOAD_PRE_INCREMENT,
291         USE_STORE_POST_INCREMENT, USE_STORE_PRE_INCREMENT): Fix documentation.
292
293         * rtl.h (USE_LOAD_POST_DECREMENT, USE_LOAD_PRE_DECREMENT,
294         USE_STORE_POST_DECREMENT, USE_STORE_PRE_DECREMENT,
295         USE_LOAD_POST_INCREMENT, USE_LOAD_PRE_INCREMENT,
296         USE_STORE_POST_INCREMENT, USE_STORE_PRE_INCREMENT): Provide default
297         definition.
298
299         * expr.c: (USE_LOAD_POST_INCREMENT, USE_LOAD_PRE_INCREMENT,
300         USE_STORE_POST_INCREMENT, USE_STORE_PRE_INCREMENT): Delete default
301         definition.
302
303 Fri Apr  2 16:03:05 1999  Jeffrey A Law  (law@cygnus.com)
304
305         * fixinc.dgux, fixinc.interix, fixinc.irix, fixinc.ptx: Deleted.
306         * fixinc.sco, fixinc.svr4, fixinc.winnt, fixinc.wrap: Likewise.
307
308 Fri Apr  2 15:46:25 1999  Donn Terry (donn@interix.com)
309
310         * configure.in: Set and substitute quoted_cc_set_by_configure.
311         * configure: Rebuilt.
312         * Makefile.in (SUBDIR_FLAGS_TO_PASS): Fix quoting problem with ``.
313
314 Fri Apr  2 14:35:45 1999  Stan Cox  <scox@cygnus.com>
315
316         * config/i386/cygwin.h (CPP_SPEC): Use mingw_include_path instead
317         of a hardcoded path for -mno-cygwin.
318         (mingw_include_path): New.
319
320 1999-04-02  Joseph S. Myers  <jsm28@cam.ac.uk>
321
322         * pdp11.c: Include "recog.h".
323         (output_function_prologue): Remove unused variables `nregs', `i',
324         `offset'.
325         (output_function_epilogue): Remove unused variables
326         `may_call_alloca', `nregs', `regno', `adjust_fp'.
327         (output_ascii): Mark as returning void.
328         (print_operand_address: Likewise.
329         (simple_memory_operand): Remove unused variables `plus0', `plus1',
330         `offset'.
331         * pdp11.h: Declare functions `arith_operand',
332         `const_immediate_operand', `expand_shift_operand',
333         `legitimate_address_p', `notice_update_cc_on_set', `output_ascii',
334         `output_function_epilogue', `output_function_prologue',
335         `print_operand_address', `register_move_cost',
336         `simple_memory_operand'.
337         (HARD_REGNO_MODE_OK): Parenthesise `REGNO' arg.
338         (REGNO_REG_CLASS): Likewise.
339         * pdp11.md: Add explicit `int' to `static count' (in two places).
340         (addhi3): Add explicit braces to avoid ambiguous else.
341         (addqi3): Likewise.
342         (ashlhi3): Likewise.
343
344 Fri Apr  2 14:17:10 1999  Jerry James <jerry@cs.ucsb.edu>
345
346         * gcc/invoke.texi: Add documentation for additional supported
347         MIPS CPU types, options -mips16 and -mentry, and ABI and ISA
348         defaults.
349
350 Fri Apr  2 14:12:06 EST 1999  John Wehle  (john@feith.com)
351
352         * i386.md: Delete floating point compare, add, subtract,
353         multiply, and divide patterns which allowed integer
354         operands.
355         * i386.c (output_386_binary_op): Delete unused code.
356         (output_float_compare): Likewise.
357
358 Fri Apr  2 11:53:37 1999  John Wehle  (john@feith.com)
359
360         * i386.md (movsf+1, movdf+1, movxf+1): Update constraints
361         so that SECONDARY_MEMORY_RELOAD is used.  Remove dead code.
362
363 1999-04-02  Bruce Korb <ddsinc09@ix.netcom.com>
364
365         * fixinc/mkfixinc.sh:  added support for x86-interix
366         * fixinc/fixinc.interix:  fixincludes script, slight chages
367         from ./fixinc.interix.  Untested (needs interix box).
368         * fixinc/inclhack.def:
369         Complete the change to the 'fixinc.tmp' file
370         Fixed regex for finding C++ headers
371         * fixincl.x, fixincl.sh, inclhack.sh: regenerate
372
373 Fri Apr  2 11:36:12 1999  Jan Hubicka  (hubicka@paru.cas.cz)
374
375         * i386.c (print_operand_address, case REG): Do not use ESI addressing
376         mode for the K6.
377
378         * i386.c (print_operand_address, case MULT): Use more efficient
379         encoding (mult (reg) (const_int 2)).
380
381 Thu Apr  1 17:01:50 1999  Richard Henderson  <rth@cygnus.com>
382
383         Move over patch from Bernd Schmidt from GC branch:
384         * emit-rtl.c (gen_rtx_CONST_DOUBLE): New function.
385         (gen_rtx): Call it.  Tidy cases.
386         * rtl.h (gen_rtx_CONST_DOUBLE): Prototype it.
387         * gengenrtl.c: Add commentary.
388         (special_rtx): Also match CONST_DOUBLE.
389         (gencode): Emit call to memset instead of bzero.
390
391 Fri Apr  2 12:58:26 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
392
393         * config/c4x/c4x.md (ashlhi3, lshrhi3, ashrhi3): Force operand 1
394         into a register if shift count not constant.
395         (ashlhi3_reg, lshrhi3_reg, ashrhi3_reg): Ensure that operand 1
396         is a register.
397
398 Fri Apr  2 12:19:17 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
399
400         * config/c4x/c4x.md (*db): Enable pattern if TARGET_LOOP_UNSIGNED
401         is non-zero.
402         (movstrqi_small, movstrqi_large, *cmpstrqi): Add + modifier to address
403         register constraints.
404         (*movhi_clobber+1): Modify splitter pattern to handle destination
405         register that is used in the source address.
406         (*xorhi3_clobber): Replace AND with XOR in call to legitimize_operands.
407
408 Fri Apr  2 12:16:15 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
409
410         * config/c4x/c4x.h: Added more comments.
411
412 Fri Apr  2 11:58:22 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
413
414         * config/c4x/c4x.c (c4x_emit_move_sequence): Force invalid QImode
415         constants into memory if we get called directly from gen_move_insn
416         rather than emit_move_insn.
417         (c4x_legitimize_address): Fix up LABEL_REF addresses.
418
419 Thu Apr  1 12:04:05 1999  Jim Wilson  <wilson@cygnus.com>
420
421         * expr.c (store_field): When check direct_store, assume all complex
422         modes can be directly stored.
423
424 1999-04-01  Bruce Korb <ddsinc09@ix.netcom.com>
425
426         * fixinc/genfixes:  new shell script that runs autogen
427         to create the generated files.
428
429 1999-04-01  Manfred Hollstein  <manfred@s-direktnet.de>
430
431         * Makefile.in (cppmain$(exeext)): Depend on intl.o.  Link in intl.o.
432
433 Thu Apr  1 03:48:34 1999  H.J. Lu  (hjl@gnu.org)
434
435         * i386.c (output_fp_conditional_move): Abort for LT, LE, GE, and GT
436         signed integer comparisons.
437
438         * i386.c (output_int_conditional_move): Use "enum rtx_code" for code
439         type.
440
441         * i386.c (notice_update_cc): No need to check the INT mode for
442         conditional moves since FLOAT conditional moves don't affect cc0.
443
444 Thu Apr  1 02:17:18 1999  Jeffrey A Law  (law@cygnus.com)
445
446         * fixinc/inclhack.def (zzz_ki_syscalls, zzz_time): Fix trigger
447         string to only match on hpux11.
448         * fixinc/fixincl.x, fixinc/inclhack.sh, fixinc/fixinc.sh: Rebuilt.
449
450 Thu Apr  1 01:09:27 1999  Alexandre Oliva  <oliva@dcc.unicamp.br>
451
452         * fixinc/hackshell.tpl: Complete transition to fixinc.tmp.
453         * fixinc/inclhack.sh: Rebuilt.
454
455         * fixinc/inclhack.def: Fix typos in c_asm.h fix.
456         * fixinc/fixincl.x, fixinc/inclhack.sh, fixinc/fixinc.sh: Rebuilt.
457
458 Wed Mar 31 17:20:11 1999  Jeffrey A Law  (law@cygnus.com)
459
460         * toplev.c (rest_of_compilation): Allow dbr_schedule to write to
461         the dump file too.
462
463 Wed Mar 31 12:32:43 1999  Richard Henderson  <rth@cygnus.com>
464
465         * flow.c (find_basic_blocks): New argument `do_cleanup'.
466         Conditionally call delete_unreachable_blocks.
467         (free_basic_block_vars): Zero ENTRY/EXIT data.
468         (allocate_for_life_analysis): Kill.  Split into...
469         (allocate_bb_life_data, allocate_reg_life_data): ... new functions.
470         (life_analysis_1): Update.
471         * gcse.c (gcse_main): Update find_basic_blocks call.
472         * toplev.c (rest_of_compilation): Likewise.
473         * stupid.c (stupid_life_analysis): Update life data calls.
474         * rtl.h, output.h: Update prototypes.
475
476 Wed Mar 31 12:10:00 1999  Bruce Korb <ddsinc09@ix.netcom.com>
477
478         * inclhack.def (several): added spaces in tests to ensure
479         correct shell syntax.  Added c_asm.h fix from fixincludes.
480         Also corrected the corrected fix to C++ comments :-}
481
482         * inclhack.tpl: changed method of traversing symlink trees
483         so that file name matching will work correctly.
484
485         * fixincl.c, hackshell.tpl:  fallout from above
486         * fixincl.x, inclhack.sh, fixincl.sh: Rebuilt.
487
488 Tue Mar 30 10:43:49 1999  Philip Blundell  <pb@nexus.co.uk>
489
490         * config/arm/aout.h (DBX_DEBUGGING_INFO): Avoid redefinition if
491         dbxelf.h was previously included.
492         (CPP_APCS_PC_DEFAULT_SPEC): No need to undefine.
493         
494         * config/arm/linux-elf.h (FP_DEFAULT): Correctly override the
495         definition from arm.h.
496
497 Wed Mar 31 10:33:37 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
498
499         * Makefile.in (c-gperf.h): Generate using gperf language 'C', not
500         'KR-C', so gperf uses the `const' keyword on strings.
501          
502         * c-parse.gperf (resword): Const-ify a char*.
503
504 Wed Mar 31 01:49:31 1999  Ian Lance Taylor  <ian@zembu.com>
505
506         * t-rtems (LIMITS_H_TEST, LIBGCC2_INCLUDES): Define.
507
508 Wed Mar 31 00:50:48 1999  Jeffrey A Law  (law@cygnus.com)
509
510         * system.h (STDERR_FILENO): Fix typo.
511
512         * inclhack.def (bool): Also fix bogus bool in curses_colr/curses.h
513         * fixincl.x, inclhack.sh, fixincl.sh: Rebuilt.
514
515 Tue Mar 30 20:51:40 1999  Mark Mitchell  <mark@codesourcery.com>
516
517         * alias.c (alias_set_compare): Remove.
518         (record_alias_subset): Use splay_tree_compare_ints instaed of
519         alias_set_compare.
520         (init_alias_once): Likewise.
521         * cse.c: Include splay-tree.h.
522         (reg_qty): Remove.
523         (reg_tick): Likewise.
524         (reg_table): Likewise.
525         (cse_reg_info): New structure.
526         (cse_reg_info_free_list): New variable.
527         (cse_reg_info_tree): Likewise.
528         (cached_regno): Likewise.
529         (cached_cse_reg_info): Likewise.
530         (all_minus_one): Remove.
531         (consec_ints): Likewise.
532         (GET_CSE_REG_INFO): New macro.
533         (REG_TICK): Likewise.  Use throughout instead of reg_tick.
534         (REG_IN_TABLE): Likewise.  Use throughout instead of reg_in_table.
535         (REG_QTY): Likewise.  Use throughout instead of reg_qty.
536         (get_cse_reg_info): New function.
537         (free_cse_reg_info): Likewise.
538         (new_basic_block): Reinitialize cse_reg_info_tree instead of
539         reg_tick, all_minus_one, and consec_ints.
540         * Makefile.in (cse.o): Depend on splay-tree.h
541
542 Tue Mar 30 13:19:36 1999  Jason Merrill  <jason@yorick.cygnus.com>
543
544         * libgcc2.c (throw_helper): Just return the SP offset, rather than
545         a whole udata.  Include args_size in the offset.
546         (__throw, __rethrow): Adjust.
547
548 Tue Mar 30 11:39:27 1999  Craig Burley  <craig@jcb-sc.com>
549
550         * extend.texi (Extended Asm): Delete spurious `b' before
551         `@end example', which was confusing texi2html.
552
553 Tue Mar 30 00:26:34 1999  Jason Merrill  <jason@yorick.cygnus.com>
554
555         * dwarf2out.c (output_line_info): Don't emit redundant info.
556         Do start a new row if the file changes and the line # doesn't.
557
558 Mon Mar 29 15:48:39 1999  Jason Merrill  <jason@yorick.cygnus.com>
559
560         * invoke.texi (Invoking G++, C++ Dialect Options): Update.
561
562 Mon Mar 29 15:05:39 1999  Richard Henderson  <rth@cygnus.com>
563
564         * except.c (start_dynamic_handler): Force jmp_buf address to 
565         and operand before moving to memory.
566
567 Mon Mar 29 15:11:10 1999  Craig Burley  <craig@jcb-sc.com>
568
569         * invoke.texi (Code Gen Options): Attempt to clarify
570         -fcheck-memory-usage.  Minor edits to -fprefix-function-name.
571
572 Mon Mar 29 20:52:47 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
573
574         * loop.c (maybe_eliminate_biv): For libcalls that set a giv, skip to
575         end of libcall.
576
577 Mon Mar 29 20:35:49 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
578
579         * sh.md (mulsi3): Tag an extra REG_EQUAL note to the middle insn.
580
581 Mon Mar 29 11:50:34 1999  Jerry Quinn <jquinn@nortelnetworks.com>
582
583         * pa.h (HAVE_PRE_INCREMENT): Disable when optimizing for a PA8000
584         class machine.
585         (HAVE_PRE_DECREMENT, HAVE_POST_INCREMENT): Likewise.
586         (HAVE_POST_DECREMENT): Likewise.
587
588 Mon Mar 29 08:24:43 1999  Bruce Korb <korb@datadesign.com>
589
590         * fixinc/mkfixinc.sh:  Fix portability problems with old shells.
591
592         * fixinc/README:  Updated for release announcement
593
594 Sun Mar 28 20:26:55 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
595
596         * recog.h (insn_outfun, insn_operand_predicate): Add prototype
597         arguments.
598
599         * rtl.h (note_stores): Likewise.
600
601         * rtlanal.c (note_stores): Likewise.
602
603 Sun Mar 28 15:34:28 1999  Richard Henderson  <rth@cygnus.com>
604
605         * varasm.c (output_constant_pool): Always mark the constant pool.
606
607 Sun Mar 28 16:09:01 1999  "Jerry Quinn" <jquinn@nortelnetworks.com>
608
609         * pa.md (pa7100LCshiftmem, pa7100LCalu): Change simultaneity.  Use
610         shift/mem ops in pa7100LCalu.
611
612         * pa.c (pa_adjust_cost): Don't do cost adjustments on pa8000.
613         (pa_reorg): Don't call pa_combine_instructions on pa8000.
614
615 Sun Mar 28 15:27:26 1999  Jeffrey A Law  (law@cygnus.com)
616
617         * reload1.c (reload): Remove accidental code duplication.
618
619 Sun Mar 28 12:22:12 1999  Robert Lipe  (robertlipe@usa.net)
620
621         * i386/sysv5.h: New file to describe UnixWare7/SVR5.
622         * configure.in (i?86-UnixWare7*-sysv): Use it.      
623         * i386/udk.h: Use sysv5.h.   Now uses Dwarf-2.
624
625 Sun Mar 28 01:15:04 PST 1999 Jeff Law  (law@cygnus.com)
626
627         * version.c: Bump for snapshot.
628
629 Sun Mar 28 00:44:27 1999  Jeffrey A Law  (law@cygnus.com)
630
631         * sdbout.c (sdbout_symbol): Do not call build_pointer_type, build
632         one on the fly and do not cache the result.
633
634         * gcc.cps, cpp.cps: Delete unwanted files.
635
636 Sat Mar 27 23:37:40 EST 1999  John Wehle  (john@feith.com)
637
638         * i386.md (movdicc+3, movdicc+4): Rewrite using split_di.
639         * i386.c (output_int_conditional_move): Delete unused code.
640
641 Sat Mar 27 21:17:36 1999  David Edelsohn  <edelsohn@gnu.org>
642
643         * rs6000/{aix41.h,aix43.h} (ASM_CPU_SPEC): Add 604e.
644
645 Sat Mar 27 16:13:50 1999  Jeffrey A Law  (law@cygnus.com)
646
647         * flow.c (mark_used_regs): Improve handling of ASMs.
648
649 1999-03-26 Zack Weinberg  <zack@rabi.columbia.edu>
650
651         * Makefile.in (xcpp, cppspec.o): New targets.
652         (CPP_INSTALL_NAME): New macro.
653         (install-cpp): Install xcpp.  Use CPP_INSTALL_NAME.
654         (all.build, start.encap): Build xcpp.
655
656         * cppspec.c: New file, implements argument filtering for a
657         user-visible C preprocessor.
658         * cpp.sh: Removed.
659
660 Fri Mar 26 20:41:46 1999  Jim Wilson  <wilson@cygnus.com>
661
662         * Makefile.in (stmp-fixinc): Use tooldir instead of gcc_tooldir.
663
664 Fri Mar 26 16:02:37 1999  Nick Clifton  <nickc@cygnus.com>
665
666         * configure.in (arm-*-vxworks*): Just include arm/vxarm.h
667         * configure: Regenerate.
668         * config/arm/vxarm.h: Define SUBTARGET_CPU_DEFAULT before
669         including arm/coff.h
670
671 1999-02-16  Scott Bambrough <scottb@corelcomputer.com>
672
673         * configure.in (arm*-*-linux-gnu*): Set thread_file to 'posix' if
674         --enable-threads[={yes,pthreads,posix}] is passed as a command
675         line parameter to configure. 
676
677         * configure: Regenerate.
678         
679         * gcc/config/arm/t-linux (TARGET_LIBGCC2_CFLAGS): Include -fPIC.
680
681 Fri Mar 26 19:42:19 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
682
683         * loop.c (combine_givs): Fix index into can_combine when doing
684         benefit adjustment for remaining givs when having combined a giv.
685
686 Fri Mar 26 11:38:01 1999  Nick Clifton  <nickc@cygnus.com>
687
688         * config/arm/t-arm-elf (EXTRA_MULTILIB_PARTS): Define.
689
690 Fri Mar 26 10:48:27 1999  Nick Clifton  <nickc@cygnus.com>
691
692         * config/arm/linux-elf.h: Include dbxelf.h
693
694 Fri Mar 26 10:43:47 1999  Nick Clifton  <nickc@cygnus.com>
695
696         * config/svr4.h: Include new header file dbxelf.h.
697         (DBX_DEBUGGING_INFO): Remove definition.
698         (DBX_USE_BINCL): Remove definition.
699         (DBX_BLOCKS_FUNCTION_RELATIVE): Remove definition.
700         (ASM_IDENTIFY_GCC): Remove definition.
701         (ASM_IDENTIFY_GCC_AFTER_SOURCE): Remove definition.
702         (ASM_OUTPUT_SOURCE_LINE): Remove definition.
703         (DBX_FUNCTION_FIRST): Remove definition.
704         (DBX_OUTPUT_MAIN_SOURCE_FILE_END): Remove definition.
705
706         * config/elfos.h: Include new header file dbxelf.h.
707         (DBX_DEBUGGING_INFO): Remove definition.
708         (DBX_BLOCKS_FUNCTION_RELATIVE): Remove definition.
709         (ASM_IDENTIFY_GCC): Remove definition.
710         (ASM_IDENTIFY_GCC_AFTER_SOURCE): Remove definition.
711         (ASM_OUTPUT_SOURCE_LINE): Remove definition.
712         (DBX_FUNCTION_FIRST): Remove definition.
713
714         * config/dbxelf.h: New header file.
715         (DBX_DEBUGGING_INFO): Define.
716         (DBX_BLOCKS_FUNCTION_RELATIVE): Define.
717         (DBX_FUNCTION_FIRST): Define.
718         (DBX_USE_BINCL): Define.
719         (DBX_CONTIN_LENGTH): Define.
720         (ASM_IDENTIFY_GCC): Define.
721         (ASM_IDENTIFY_GCC_AFTER_SOURCE): Define.
722         (ASM_OUTPUT_SOURCE_LINE): Define.
723         (DBX_OUTPUT_MAIN_SOURCE_FILE_END): Define.
724
725 Fri Mar 26 01:59:15 1999  "Charles M. Hannum" <root@ihack.net>
726
727         * fold-const.c (fold_truthop): Optimize bitfield references with
728         different masks as long as their size and bit position are the same.
729
730         * fold-const.c (fold_truthop): Build a type for both the lhs and
731         rhs and use it appropriately.
732
733         * fold-const.c (fold_truthop): Mask the lhs and rhs after merging
734         adjacent bitfield references. 
735
736         * fold-const.c (fold_truthop): Verify that the lhs and rhs are
737         in the same bit position when optimizing bitfield references
738         which have the same mask.
739
740 Thu Mar 25 22:53:27 1999  Martin von Löwis  <loewis@informatik.hu-berlin.de>
741
742         * gcc.texi (Copy Assignment): New node.
743
744 1999-03-25 Zack Weinberg  <zack@rabi.columbia.edu>
745
746         * gcc.c: Compile unconditionally all code formerly dependent
747         on #ifdef LANG_SPECIFIC_DRIVER.
748         * gccspec.c: New file with stub lang_specific_driver,
749         lang_specific_pre_link.
750         * Makefile.in: Link gccspec.o into xgcc.  Add rule to compile
751
752 Thu Mar 25 21:08:02 1999  Jason Merrill  <jason@yorick.cygnus.com>
753
754         * gcc.texi (Temporaries): Update.
755
756 Thu Mar 25 16:53:53 1999  Richard Henderson  <rth@cygnus.com>
757
758         * combine.c (distribute_notes): Place REG_LABEL also where
759         REG_EQUAL indicates.
760
761 Thu Mar 25 12:46:37 1999  Jim Wilson  <wilson@cygnus.com>
762
763         * a29k/a29k.h (TARGET_SWITCHES): Add doc strings.
764         * i960/i960.h (TARGET_SWITCHES): Add doc strings.
765         * invoke.texi (a29k): Add documentation for -mno-multm option.
766
767 Thu Mar 25 14:04:54 EST 1999  Andrew MacLeod  <amacleod@cygnus.com>
768
769         * rtl.texi (RTX_FRAME_RELATED_P): Add documentation.
770         * rtl.h (struct rtx_def): Update comment for frame_related field.
771         (set_unique_reg_note): Declare prototype.
772         * dwarf2out.c (dwarf2out_frame_debug_expr): Split out from
773         'dwarf2out_frame_debug' to handle only expressions, and process
774         component parts of a PARALLEL expression.
775         (dwarf2out_frame_debug): Process insns only, and call
776         new function 'dwarf2out_frame_debug_expr' for patterns.
777         * emit-rtl.c (set_unique_reg_note): New function to add a reg note,
778         but if there is an existingone, deletes it first.
779         * expmed.c (expand_mult, expand_divmod): Use set_unique_reg_note.
780         * optabs.c (add_equal_note, expand_binop): Use set_unique_reg_note.
781         (emit_no_conflict_block, emit_libcall_block): Use set_unique_reg_note.
782         (expand_fix):  Use set_unique_reg_note.
783
784 Thu Mar 25 11:47:49 1999  Art Haas <ahaas@neosoft.com>
785
786         * tlink.c (symbol_hash_newfunc): Remove redundant call to
787         hash_newfunc.
788         (file_hash_newfunc, demangled_hash_newfunc): Likewise.
789
790 Thu Mar 25 10:05:56 1999  Richard Henderson  <rth@cygnus.com>
791
792         * i386.h (PREFERRED_STACK_BOUNDARY): Set to 128.
793
794 1999-03-25  Philip Blundell  <pb@nexus.co.uk>
795
796         Based on patch from Jim Studt <jim@federated.com>:
797         * config/arm/linux-elf.h (STARTFILE_SPEC, ENDFILE_SPEC): Copy
798         definitions from config/linux.h.
799         (DBX_BLOCKS_FUNCTION_RELATIVE): Define to 1.
800
801 Thu Mar 25 02:12:42 1999  Finn Hakansson  <finn@axis.com>
802
803         * loop.c (strength_reduce): Correct a comment.
804
805         * rtl.h (MEM_COPY_ATTRIBUTES): Remove unnecessary ending backslash.
806
807 Thu Mar 25 02:02:13 1999  Axel Thimm <Axel.Thimm@physik.fu-berlin.de>
808
809         * Makefile.in (RANLIB_TEST): Improve test.
810
811 Thu Mar 25 01:15:33 1999  Donn Terry  <donn@interix.com>
812
813         * combine.c (force_to_mode, case PLUS): Use sign extended mask
814         when masking the low bits out of a constant.
815
816 Tue Mar 23 15:45:25 1999  Richard Earnshaw (rearnsha@arm.com)
817                           Jeff Law <law@cygnus.com>
818
819         * fold-const.c (make_range): If orig_type is unset, set it as soon
820         as we know the type.  Remove now unnecessary set of orig_type for
821         conversions.
822
823 Wed Mar 24 23:27:25 1999  Mark Elbrecht  <snowball3@usa.net>
824                           Jeff Law <law@cygnus.com>
825
826         * system.h (STDIN_FILENO): Provide default definition if one is not
827         provided by the system header files.
828         (STDOUT_FILENO, STDERR_FILENO): Likewise.
829
830         * i386/xm-djgpp.h (COLLECT2_HOST_INITIALIZATION): New macro.
831         * collect2.c (main): Use it.
832         (pexecute_pid): New variable. Holds return value from call to pexecute.
833         (collect2_execute): Rework to use pexecute instead of fork.
834         (collect2_wait): Use pwait() instead of wait().
835
836         * i386/djgpp.h: Fix typo.
837
838 Wed Mar 24 23:24:30 1999  Jeffrey A Law  (law@cygnus.com)
839
840         * fixinc/mkfixinc.sh: Recognize cygwin* instead of only
841         cygwin32.
842
843 Wed Mar 24 15:44:12 1999  Nick Clifton  <nickc@cygnus.com>
844
845         * config/m32r/m32r.c (init_idents): Accept both NAME and __NAME__
846         versions of attribute names and values.
847         (m32r_valid_machine_decl_attribute): Ditto.
848         (m32r_encode_section_info): Ditto.
849
850 Wed Mar 24 21:42:15 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
851
852         * reload1.c (choose_reload_regs): If output-reloading for a
853         simple move insn, try to inherit an equivalence for the input.
854
855 1999-02-24  Mike Stump  <mrs@wrs.com>
856
857         * arm/aout.h (DBX_OUTPUT_MAIN_SOURCE_FILENAME): Fix quoting.
858
859 1999-03-24  Jim Blandy  <jimb@zwingli.cygnus.com>
860
861         * libgcc2.c (__CTOR_LIST__, __DTOR_LIST__): Initialize on all
862         platforms.
863
864 Wed Mar 24 01:35:01 1999  Geoff Keating  <geoffk@ozemail.com.au>
865
866         * fold-const.c (fold): Recognise a rotate by an unsigned amount.
867
868 Tue Mar 23 23:32:14 1999  Jeffrey A Law  (law@cygnus.com)
869
870         * pa.md (rotlsi3): New expander.  Synthesize a variable rotate
871         left using a variable rotate right.  Provide anonymous pattern for
872         rotate left by a constant value.
873
874         * expr.c (expand_assignment): Do not try to optimize a aggregate
875         address which has VOIDmode.
876
877 Tue Mar 23 22:51:48 1999  Mumit Khan  <khan@xraylith.wisc.edu>
878                           Donn Terry  <donn@interix.com>
879
880         * protoize.c (abspath): Preserve multiple leading slashes for
881         _WIN32 and Interix.
882
883 1999-01-23  Mike Stump  <mrs@wrs.com>
884
885         * arm/vxarm.h: Split out vxWorks support into separate headerfile
886         and vxify.
887         * arm/arm.c (cpu_defaults): Allow arm710 as default.
888         
889         * configure.in: Split out vxWorks support for Arm.
890         * configure: Rebuilt.
891
892 Tue Mar 23 11:20:03 1999  Per Bothner  <bothner@cygnus.com>
893
894         * tree.c (first_rtl_op, has_cleanups):  Handle GOTO_SUBROUTINE_EXPR.
895
896 Tue Mar 23 09:00:39 1999  Nick Clifton  <nickc@cygnus.com>
897
898         * config/arm/riscix1.h (SUBTARGET_SWITCHES): Add doc string.
899         * config/arm/riscix1-1.h (SUBTARGET_SWITCHES): Add doc string.
900
901 Tue Mar 23 07:50:20 1999  Mark Mitchell  <mark@codesourcery.com>
902
903         * function.c: Include hash.h.
904         (insns_for_mem_entry): New struct.
905         (put_reg_into_stack): Take an optional hash-table mapping MEMs to
906         the INSNs that use them.
907         (fixup_var_refs): Likewise.
908         (put_addressof_into_stack): Likewise.
909         (purge_addressof_1): Likewise.  Keep the hash-table up to date if
910         we add new instructions.
911         (fixup_var_refs_insns): Use it to avoid searching the entire
912         instruction chain.
913         (insns_for_mem_newfunc): New function.
914         (insns_for_mem_comp): Likewise.
915         (insns_for_mem_walk): Likewise.
916         (compute_insns_for_mem): Likewise.
917         (pop_function_context_from): Pass NULL for the hash-table.
918         (put_var_into_stack): Likewise.
919         (gen_mem_addressof): Likewise.
920         (flush_addressof): Likewise.
921         (purge_addressof): Call compute_insns_for_mem to pre-compute the
922         hash table.
923         * Makefile.in (OBJS): Include hash.o.
924         (function.o): Depend on hash.h.
925         
926 Tue Mar 23 00:39:14 1999  Jeffrey A Law  (law@cygnus.com)
927
928         * i386/openbsd.h (TARGET_DEFAULT): Use symbolic names instead of
929         numbers.
930         * i386/netbsd.h, i386/freebsd.h: Likewise.
931
932         * crtstuff.c: Use ANSI function definitions.  Fix minor whitespace
933         problems.
934
935         * i386/openbsd.h (TARGET_DEFAULT): Define.
936         * configure.in: Do not set TARGET_CPU_DEFAULT for x86 OpenBSD
937         configurations.
938         * configure: Rebuilt.
939
940 Tue Mar 23 00:39:10 1999  John Wehle  (john@feith.com)
941
942         * i386/freebsd.h (TARGET_DEFAULT): Define instead
943         of TARGET_CPU_DEFAULT.
944         * i386/netbsd.h (TARGET_DEFAULT): Likewise.
945
946 Mon Mar 22 23:52:01 1999  Mumit Khan  <khan@xraylith.wisc.edu>
947                           Donn Terry  <donn@interix.com>
948
949         * sdbout.c (syms.h): Don't include on Interix.
950         * toplev.c (main): No sbrk on Interix.
951
952         * configure.in: Add i386-pc-interix support.
953         * configure: Regenerate.
954         * fixinc.interix: New file.
955         * config/interix.h: New file.
956         * config/x-interix: New file.
957         * config/xm-interix.h: New file.
958         * i386/interix.h: New file.
959         * i386/interix.c: New file.
960         * i386/t-interix: New file.
961
962 Mon Mar 22 23:41:49 1999  Jeffrey A Law  (law@cygnus.com)
963
964         * i386.h (PREFERRED_STACK_BOUNDARY): Define.
965
966 Mon Mar 22 23:41:31 1999  John Wehle  (john@feith.com)
967
968         * i386.c (ix86_compute_frame_size): New function.
969         (ix86_prologue, ix86_epilogue): Use it.
970         * i386.h (INITIAL_ELIMINATION_OFFSET): Likewise.
971         * reload1.c: Provide default for PREFERRED_STACK_BOUNDARY.
972
973 Mon Mar 22 18:06:59 1999  Jim Wilson  <wilson@cygnus.com>
974
975         * mips/mips.h (TARGET_SWITCHES, TARGET_OPTIONS): Add option doc
976         strings.
977         * mips/abi64.h (SUBTARGET_TARGET_OPTIONS): Likewise.
978
979 Mon Mar 22 16:18:27 1999  Nick Clifton  <nickc@cygnus.com>
980
981         * config/arm/elf.h (VALID_MACHINE_DECL_ATTRIBUTE): Do not bother
982         passing ATTRIBUTES to arm_valid_machine_decl_attribute.
983         
984         * config/arm/coff.h (VALID_MACHINE_DECL_ATTRIBUTE): Do not bother 
985         passing ATTRIBUTES to arm_valid_machine_decl_attribute.
986         
987         * config/arm/arm.h (DEFAULT_RTX_COSTS): Do not bother passing
988         OUTER_CODE to arm_rtx_costs - it is not used.
989         (arm_compare_fp): Delete declaration.
990         (FINAL_PRESCAN_INSN): Do not bother passing OPVEC or NOPERANDS to
991         arm_final_prescan_insn - they are not used.
992         (const_ok_for_op): Remove prototype.
993         (arm_rtx_costs): Fix prototype.
994         (arm_valid_machine_decl_attribute): Fix prototype.
995         (final_prescan_insn): Fix prototype.
996
997         * config/arm/arm.md: Remove references to arm_compare_fp.
998
999         * config/arm/arm.c (arm_compare_fp): Delete.
1000         (const_ok_for_op): Make function static.  Add prototype.  Remove
1001         mode parameter - it is unused.
1002         (arm_rtx_costs): Remove outer_code parameter.
1003         (reload_memory_operand): Declare mode parameter unused.
1004         (power_of_two_operand): Declare mode parameter unused.
1005         (equality_operator): Declare mode parameter unused.
1006         (load_multiple_operation): Declare mode parameter unused.
1007         (store_multiple_operation): Declare mode parameter unused.
1008         (multi_register_push): Declare mode parameter unused.
1009         (arm_valid_machine_decl_attribute): Remove attributes parameter -
1010         it is unused.
1011         (select_dominance_cc_mode): Remove op parameter - it is unused.
1012         (gen_compare_reg): Remove fp parameter - it is unused.
1013         (final_prescan_insn): Remove opvec and noperands parameters - they
1014         are unused.
1015         
1016 Mon Mar 22 14:35:28 1999  Nick Clifton  <nickc@cygnus.com>
1017
1018         * tm.texi (MD_SCHED_INIT): Add missing closing parenthesis.
1019
1020 Mon Mar 22 22:24:30 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
1021
1022         * reload1.c (reload_as_needed): Set reload_is_output_reload /
1023         reload_has_output_reload for auto_inc expressions that could be
1024         reloaded.  Call forget_old_reloads for REG_INC notes.
1025
1026 Mon Mar 22 21:51:57 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
1027
1028         * cse.c (cse_insn): Don't change the result register of a libcall.
1029
1030 Mon Mar 22 21:08:59 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
1031
1032         * rtl.h (shallow_copy_rtx): Declare.
1033         * rtl.c (shallow_copy_rtx): New function.
1034         * reload.c (find_reloads_toplev): Use shallow_copy_rtx instead of
1035         copy_rtx.
1036
1037 Mon Mar 22 10:44:33 1999  Vladimir Makarov  <vmakarov@tofu.to.cygnus.com>
1038
1039         * config/h8300/h8300.md (adjust_length): New attribute.
1040         (modhi3+1, andsi3+1, iorsi3+1, extzv+1, extzv+2): Change insn
1041         default value of attribute "adjust_length" onto "no".
1042
1043         * config/h8300/h8300.c (h8300_adjust_insn_length): Adust
1044         length only if the attribute "adjust_length" value is "yes".
1045         Use 0 if the shift is negative.
1046
1047         * final.c (shorten_branches): Check insn length after its
1048         adjusting.
1049
1050 Sun Mar 21 17:33:48 1999  Jeffrey A Law  (law@cygnus.com)
1051
1052         * i860.h (TARGET_SWITCHES): Add documentation for default case.
1053         * i860/paragon.h (TARGET_SWITCHES): Add documentation for default case.
1054         * i370.h (TARGET_SWITCHES): Add documentation for default case.
1055         * fx80.h (TARGET_SWITCHES): Add documentation for default case.
1056         * elxsi.h (TARGET_SWITCHES): Add documentation for default case.
1057         * clipper.h (TARGET_SWITCHES): Add documentation for default case.
1058         * 1750a.h (TARGET_SWITCHES): Add documentation for default case.
1059         * pa.h (TARGET_SWITCHES): Add documentation for default case.
1060         (TARGET_OPTIONS): Likewise for default case.
1061         * mn10300.h (TARGET_SWITCHES): Add documentation for default case.
1062         * h8300.h (TARGET_SWITCHES): Add documentation for default case.
1063
1064         * gcse.c (dump_hash_table): Fix whitespace in declaration.
1065         (compute_transpout): Renamed from pre_compute_transpout.
1066         (compute_pre_*): Deleted
1067         (pre_expr_reaches_here_p): New argument, CHECK_PRE_COMP.  All
1068         callers changed.
1069         (insert_insn_end_bb): Renamed from pre_insert_insn.
1070         (pre_*): Delete unused variables.  Only leave local properties and
1071         global redundant/optimal computation points.
1072         (alloc_pre_mem, free_pre_mem): Corresponding changes.
1073         (compute_pre_data): Simplify and call pre_lcm to run the lazy
1074         code motion dataflow analysis.
1075         (pre_insert, pre_insert_copies, pre_delete): Revamp to use LCM
1076         based redundant and optimal computation points.
1077
1078         * basic-block.h (pre_lcm, pre_rev_lcm): Declare.
1079
1080         * toplev.c (main): A debug option without a level defaults to
1081         level 2.
1082
1083 Sun Mar 21 12:13:01 1999  Nick Clifton  <nickc@cygnus.com>
1084
1085         * flow.c (can_delete_label_p): Do not allow user specified
1086         labels to be deleted.
1087         * dwarf2out.c (gen_label_die): Generate addresses for deleted
1088         (programmer specified) labels. 
1089         * dwarfout.c (output_label_die): Generate addresses for deleted
1090         (programmer specified) labels.
1091
1092 1999-03-21  Manfred Hollstein  <manfred@s-direktnet.de>
1093
1094         * Makefile.in (xgcc$(exeext)): Add intl.o to list of files to be
1095         linked with.
1096
1097 Sun Mar 21 01:15:03 PST 1999 Jeff Law  (law@cygnus.com)
1098
1099         * version.c: Bump for snapshot.
1100
1101 Sat Mar 20 22:26:23 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1102
1103         * sparc.h (TARGET_SWITCHES): Add null description to default case.
1104
1105 Sat Mar 20 21:46:06 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1106
1107         * c-lex.c (yylex): Remove unused variable `bytes'.
1108
1109         * flow.c (print_rtl_with_bb): Cast the return value of alloca.
1110
1111         * function.c (assign_parms): Wrap variable `varargs_setup' in
1112         macro SETUP_INCOMING_VARARGS.
1113         (thread_prologue_and_epilogue_insns): Mark parameter `f' with
1114         ATTRIBUTE_UNUSED.
1115
1116         * local-alloc.c (no_equiv): Likewise for parameter `store'.
1117
1118         * sched.c (schedule_insns): Remove unused variables `insn' and `next'.
1119
1120         * tlink.c (symbol_hash_newfunc, symbol_hash_lookup,
1121         file_hash_newfunc, file_hash_lookup, demangled_hash_newfunc,
1122         demangled_hash_lookup, symbol_push, symbol_pop, file_push,
1123         file_pop, tlink_init, tlink_execute, frob_extension,
1124         obstack_fgets, tfgets, pfgets, freadsym, read_repo_file,
1125         maybe_tweak, recompile_files, read_repo_files,
1126         demangle_new_symbols, scan_linker_output): Add static prototype.
1127
1128         (symbol_hash_newfunc, file_hash_newfunc, demangled_hash_newfunc):
1129         Make the third argument a `hash_table_key'.
1130
1131         * toplev.c (debug_start_source_file): Mark parameter `filename'
1132         with ATTRIBUTE_UNUSED.
1133
1134 Sun Mar 21 02:28:21 1999  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
1135
1136         * tm.texi (Varargs): Don't split argument of @item across lines.
1137
1138         * invoke.texi: Fix use of @item vs @itemx.
1139
1140 Sun Mar 21 09:59:54 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
1141
1142         * config/c4x/c4x.h (TARGET_SWITCHES): Add null description to
1143         default case.
1144
1145 Sat Mar 20 23:33:54 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
1146
1147         * loop.c (check_dbra_loop): Fix debug message.
1148
1149 Sat Mar 20 15:54:35 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
1150
1151         * config/c4x/c4x.md (decrement_and_branch_on_count): Emit rptb_end
1152         pattern instead of decrement_and_branch_until_zero pattern.
1153
1154 Sat Mar 20 11:39:58 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
1155
1156         * config/c4x/c4x.h (TARGET_SWITCHES): Add documentation.
1157         * config/c4x/c4x.h (TARGET_OPTIONS): Add documentation.
1158
1159 Fre Mar 19 23:26:29 1999  Martin von Löwis  <loewis@informatik.hu-berlin.de>
1160
1161         * expr.c (expand_expr): Handle ERROR_MARK much earlier.
1162
1163 Fri Mar 19 15:28:38 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1164
1165         * cccp.c (create_definition): Cast to U_CHAR* when assigning to one.
1166
1167         * cppfiles.c (read_and_prescan): Likewise.
1168         Start a #define in column 0.
1169
1170         * cpplib.c (cpp_define): Cast to U_CHAR* when assigning to one.
1171         (cpp_push_buffer): Likewise for cpp_buffer*.
1172         (do_include): Change the type of `fbeg' and `fend' to unsigned char*.
1173         (do_endif): Cast to char* when assigning to one.
1174         (do_assert): Likewise.
1175         (do_unassert): Likewise.
1176         (cpp_read_check_assertion): Change the type of `name' to U_CHAR*.
1177         Don't do unnecessary cast to char* anymore.
1178
1179         * genrecog.c (make_insn_sequence): Cast to char** when assigning
1180         to one.  Cast the first argument of bzero to PTR.
1181
1182         * loop.c (strength_reduce): Remove unused variable `note'.
1183
1184         * reload1.c (new_insn_chain): Cast to struct insn_chain* when
1185         assigning to one.
1186
1187         * rtl.c (copy_rtx): Use memcpy instead of bcopy.
1188
1189 Fri Mar 19 11:19:31 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1190
1191         * calls.c (initialize_argument_information): Mark parameters
1192         `num_actuals' and `n_named_args' with ATTRIBUTE_UNUSED.
1193
1194         * dbxout.c (dbxout_start_new_source_file): Likewise for parameter
1195         `filename'.
1196         (dbxout_finish): Likewise for parameters `file' and `filename'.
1197         (dbxout_prepare_symbol): Likewise for parameter `decl'.
1198         (dbxout_begin_function): Likewise.
1199
1200         * explow.c (hard_function_value): Likewise for parameter `func'.
1201
1202         * function.c (locate_and_pad_parm): Likewise for parameter `fndecl'.
1203         
1204         * expmed.c (expand_divmod): Omit unused argument to `expand_abs'.
1205         * expr.c (expand_expr): Likewise.
1206         * expr.h (expand_abs): Delete unused argument from prototype.
1207         * optabs.c (expand_abs): Remove unused parameter `unsignedp'.
1208
1209         * sdbout.c (sdbout_init): Mark parameter `syms' with ATTRIBUTE_UNUSED.
1210         (sdbout_end_block): Likewise for parameter `n'.
1211         
1212         * toplev.c (debug_define): Likewise for parameters `lineno' and
1213         `buffer'.
1214         (debug_undef): Likewise.
1215         
1216         * varasm.c (named_section): Likewise for parameter 'reloc'.
1217         (assemble_external): Likewise for parameter `decl'.
1218         (assemble_alias): Likewise for parameter `target'.
1219         
1220 Fri Mar 19 01:54:30 1999  Theodore Papadopoulo  <Theodore.Papadopoulo@sophia.inria.fr>
1221
1222         * toplev.c (read_integral_parameter): Constify.  Better control of
1223         error messages.
1224         (main): Use read_integral_parameter to set optimize, id_clash_len,
1225         larger_than_size, and the debugging level.
1226         * toplev.h (read_integral_parameter): Update prototype.
1227
1228 Fri Mar 19 01:42:05 1999  Zack Weinberg  <zack@rabi.phys.columbia.edu>
1229
1230         * system.h: Use putc_unlocked, fputc_unlocked, and
1231         fputs_unlocked only if putc_unlocked has a prototype already.
1232         Prototype fputs_unlocked if necessary.
1233         * configure.in: Check for prototypes of putc_unlocked and
1234         fputs_unlocked. 
1235         * acconfig.h: Updated.
1236         * config.in, configure: Rebuilt.
1237
1238 Fri Mar 19 02:45:12 1999  Alexandre Oliva  <oliva@dcc.unicamp.br>
1239
1240         * Makefile.in (INTL_TARGETS): new macro
1241         ($(INTL_TARGETS)): depend on generated sources; drop dependencies
1242         on cp/parse.c and objc/objc-parse.c
1243         ($(srcdir)/cp/parse.c): move to cp/Make-lang.in
1244         * objc/Make-lang.in ($(INTL_TARGETS)): depend on objc/objc-parse.c 
1245
1246 Thu Mar 18 22:28:53 1999  Jeffrey A Law  (law@cygnus.com)
1247
1248         * i860.h (TARGET_SWITCHES): Add documentation.
1249         * i860/paragon.h (TARGET_SWITCHES): Add documentation.
1250         * i370.h (TARGET_SWITCHES): Add documentation.
1251         * fx80.h (TARGET_SWITCHES): Add documentation.
1252         * elxsi.h (TARGET_SWITCHES): Add documentation.
1253         * clipper.h (TARGET_SWITCHES): Add documentation.
1254         * 1750a.h (TARGET_SWITCHES): Add documentation.
1255         * pa.h (TARGET_SWITCHES): Add documentation.
1256         (TARGET_OPTIONS): Likewise.
1257         * mn10300.h (TARGET_SWITCHES): Add documentation.
1258         * h8300.h (TARGET_SWITCHES): Add documentation.
1259
1260 Thu Mar 18 15:58:26 1999  Nick Clifton  <nickc@cygnus.com>
1261
1262         * loop.c (strength_reduce): Do not perform pseudo replacements
1263         if the loop contains volatile memory references.
1264
1265 Thu Mar 18 19:09:50 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
1266
1267         * reload.c (find_reloads_toplev): When processing X recursively,
1268         don't alter it destructively except by filling in constants.
1269
1270 Thu Mar 18 10:14:18 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1271
1272         * cccp.c (default_include): Initialize structure memebers.
1273         (pass_thru_directive): Change the type of 'keyword_length' to int.
1274         (main): Cast `bindtextdomain' and `textdomain' to (void).
1275
1276         * collect2.c (main): Likewise.
1277
1278         * cppmain.c (main): Likewise.
1279
1280         * gcc.c (main): Likewise.
1281
1282         * gcov.c (main): Likewise.
1283
1284         * protoize.c (main): Likewise.
1285
1286         * toplev.c (main): Likewise.
1287
1288 1999-03-18  Gavin Romig-Koch  <gavin@cygnus.com>
1289
1290         * config/mips/mips.c (mips_explicit_type_size_string): Correct
1291        its type.
1292
1293 Thu Mar 18 01:24:25 1999  Jeffrey A Law  (law@cygnus.com)
1294
1295         * configure.in: Use "exit 1", not "exit (1)".
1296         * configure: Rebuilt.
1297
1298 Wed Mar 17 23:17:42 1999  Mark Kettenis  <kettenis@gnu.org>
1299
1300         * config/t-gnu (SYSTEM_HEADER_DIR): New variable.  Set to
1301         `/include' in order to find the system's limits.h.
1302
1303 Wed Mar 17 23:00:18 1999  Robert Lipe <robertlipe@usa.net>
1304
1305         * fixinc/fixincl.c: Include auto-host.h instead of config.h
1306         * fixinc/procopen.c: Likewise.
1307         * fixinc/regex.c: Likewise.
1308         * fixinc/server.c: Likewise.
1309
1310 Wed Mar 17 22:46:13 1999  Mark Elbrecht  <snowball3@usa.net.
1311
1312         * config/i386/go32.h: Delete.
1313         * config/i386/djgpp.h: New. Renamed from go32.h.
1314         Added -DDJGPP=2 to CPP_PREDEFINES.
1315         * config/i386/go32-rtems.h: Delete.
1316         * config/i386/djgpp-rtems.h: New. Renamed from go32-rtems.h.
1317         Added -DDJGPP=2 to CPP_PREDEFINES.
1318         * config/i386/xm-go32.h: Delete.
1319         * config/i386/xm-djgpp.h: New. Renamed from xm-go32.h.
1320         * config/i386/x-go32: Delete.
1321         * config/i386/x-djgpp: New. Renamed from x-go32.
1322         * config/i386/t-go32: Delete.
1323         * config/i386/t-djgpp: New. Renamed from t-go32.
1324         * configure.in(pc-msdosdjgpp): Set xm_file to i386/xm-djgpp.h.
1325         Set tm_file to i386/djgpp.h. Set tmake_file to i386/t-djgpp.
1326         Set xmake_file to i386/x-djgpp.
1327         (*-go32-msdos, *-go32*): Remove entries.  Warn that GO32/DJGPP V1.X
1328         is now unsupported and *-pc-msdosdjgpp for DJGPP V2.X should be
1329         used instead.
1330         * configure: Rebuilt.
1331
1332         * gcc.c (process_command): Dump link_command_spec too.
1333
1334 Wed Mar 17 20:38:08 1999  Jerry Quinn <jquinn@nortelnetworks.com>
1335                           Jeff Law <law@cygnus.com>
1336
1337         * pa.md: Add real PA8000 scheduling information.
1338
1339         * pa.h (processor_type):  Add PROCESSOR_8000 symbol.
1340         (ISSUE_RATE):  Revamp, including PA8000 support.
1341         * pa.c (override_options):  Add 8000 as -mschedule= option.
1342         Do not call strcmp if pa_cpu_string is null.
1343         * pa.md (attr cpu):  Add 8000.
1344         * invoke.texi: Add documentation for PA8000 scheduling.
1345         
1346 Wed Mar 17 18:20:24 1999  David S. Miller  <davem@redhat.com>
1347
1348         * config/sparc/sparc.h (TARGET_SWITCHES, TARGET_OPTIONS):
1349         Add descriptions.
1350         * config/sparc/sp64-elf.h (SUBTARGET_SWITCHES): Likewise.
1351         * config/sparc/splet.h (SUBTARGET_SWITCHES): Likewise.
1352
1353 Wed Mar 17 14:51:19 1999  Richard Henderson  <rth@cygnus.com>
1354
1355         * flow.c (compute_immediate_dominators): New function.
1356         * basic-block.h (compute_immediate_dominators): Declare it.
1357
1358         * alpha.h (HARD_REGNO_MODE_OK): Allow only 4 and 8 byte unit modes
1359         in FP regs.
1360         (MODES_TIEABLE_P): Define asymmetricly wrt modes illegal in FP regs.
1361
1362 Wed Mar 17 14:41:41 1999  Nick Clifton  <nickc@cygnus.com>
1363
1364         * config/arm/aout.h (ASM_GENERATE_INTERNAL_LABEL): Fix compile
1365         time warning.   
1366         * config/arm/arm.md: Fix various compile time warnings.
1367         * config/arm/arm.h: Fix various compile time warnings.  Add
1368         function prototypes.
1369         * config/arm/arm.c: Fix various compile time warnings.
1370         (arm_override_options): Reorganise to seperate tuning from
1371         targetting.
1372         (bit_count): New function: Return a count of the number of bits
1373         set in a word.
1374
1375 Wed Mar 17 21:29:12 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
1376
1377         * reload1.c (eliminate_regs): Don't keep REG_DEAD notes around for
1378         things that were eliminated.
1379
1380 Wed Mar 17 12:16:26 1999  Richard Henderson  <rth@cygnus.com>
1381
1382         * function.c (fixup_var_refs_1): First try moving the expression
1383         directly into a register.  Don't separate cc0 setter and user.
1384
1385 Wed Mar 17 11:20:29 1999  Dave Brolley  <brolley@cygnus.com>
1386
1387         * cppfiles.c (PIPE_BUF): #define PIPE_BUF if not defined already.
1388
1389 Wed Mar 17 09:25:06 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1390
1391         * c-lex.c: Don't include setjmp.h.
1392         (parse_float): New static function.
1393         (pf_args): New struct.
1394         (yylex): Use them in call to `do_float_handler'.
1395
1396 1999-03-16  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
1397
1398         * cexp.y (yyerror): Call verror to get a usefull error message.
1399         * cexp.c: Rebuilt.
1400
1401         * .gdbinit: Move command to put breakpoint at abort to end of file
1402         so that gdb does not bail out early.
1403
1404 Tue Mar 16 15:30:19 1999  Nick Clifton  <nickc@cygnus.com>
1405
1406         * rtl.h: Rename prototype for free_bb_memory to free_bb_mem. 
1407
1408 Tue Mar 16 23:40:09 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
1409
1410         * sh.md (movsi_i): Move t/r alternative after r/rI alternative.
1411
1412 Tue Mar 16 13:44:50 1999  Jim Wilson  <wilson@cygnus.com>
1413
1414         * mn10200/mn10200.md (addsi3, subsi3, ashlsi3, lshrsi3, ashrsi3):
1415         Delete emit_library_call_value declaration.
1416
1417 1999-03-16 16:06 -0500  Zack Weinberg  <zack@rabi.columbia.edu>
1418
1419         * cppfiles.c (read_and_prescan): Map backslash-newline to '\r'
1420         (which cannot otherwise appear in the processed buffer) and
1421         move it out of tokens that it appears in the middle of.
1422         Improve performance.
1423         (find_position): New function.
1424
1425         * cpplib.c: \r (one character) indicates backslash
1426         newline, not \\\n (two characters).  It cannot appear in the
1427         middle of a token.  Call CPP_BUMP_LINE (pfile) whenever
1428         parsing moves past \n or \r.  Increment pfile->lineno whenever
1429         a \n is placed into token_buffer.  Only one mark can exist at
1430         a time, and CPP_BUMP_LINE must not be used while it is
1431         active.  It is automatically cleared by cpp_pop_buffer and
1432         parse_goto_mark.  \r is not in is_hor_space or is_space.
1433
1434         (NEWLINE_FIX, NEWLINE_FIX1, adjust_position,
1435         update_position, count_newlines, parse_move_mark): Removed.
1436         (parse_string, copy_comment): New functions.
1437         (parse_name): Returns void.
1438         (parse_set_mark, parse_clear_mark, parse_goto_mark): Take only
1439         one argument, a cpp_reader *.  Change for new marking scheme.
1440         (skip_comment): Handle CHILL line comments too.  Second
1441         argument is now first character of comment marker; all callers
1442         changed.  Issue error for unterminated block comment here.
1443         (cpp_skip_hspace): Recognize CHILL comments.
1444         (copy_rest_of_line): Likewise.  Call skip_comment and
1445         parse_string directly, don't go through cpp_get_token.  Emit
1446         "/**/" for block comments if -traditional (create_definition
1447         needs this).
1448         (do_define): Don't play with put_out_comments.
1449         (cpp_push_buffer): Initialize ->mark to -1.
1450         (cpp_buf_line_and_col): Just read out the values in the buffer
1451         structure.
1452         (output_line_command): Use cpp_buf_line_and_col.  Fix
1453         formatting.  Remove stale code.
1454         (cpp_get_token): Break out string parsing code to
1455         parse_string.  Use skip_comment for CHILL comments too.  Use
1456         copy_comment for put_out_comments instead of dinking with
1457         marks.  Remove stale code.  Don't call output_line_command
1458         unless it's necessary.
1459
1460         * cpplib.h (parse_marker): Removed.
1461         (struct cpp_buffer): line_base is now a unsigned char *; add
1462         `mark' [long], remove `marks' [struct parse_marker *].
1463         (parse_set_mark, parse_clear_mark, parse_goto_mark): Update
1464         prototypes.
1465         (CPP_BUMP_LINE, CPP_BUMP_BUFFER_LINE): New macros.
1466         * cppinit.c (is_hor_space, is_space): '\r' is not considered
1467         whitespace.
1468         * cppexp.c (cpp_parse_expression): Use cpp_skip_hspace, not
1469         SKIP_WHITE_SPACE.
1470         * cpphash.c (macarg): Disable line commands while expanding.
1471
1472 Tue Mar 16 11:30:19 1999  Gavin Romig-Koch  <gavin@cygnus.com>
1473
1474         * c-lex.c (yylex) : Remove warning for integer literals being
1475         larger than the largest target int.  Add warning for integer
1476         literal being larger than than its choosen type.
1477
1478 Tue Mar 16 10:53:17 1999  Gavin Romig-Koch  <gavin@cygnus.com>
1479
1480         * invoke.texi: Add -mlong32 documentation.
1481         * config/mips/mips.h (mips_explicit_type_size_string): New.
1482         (TARGET_SWITCHES): Add 'long32'.
1483         (TARGET_OPTIONS): Add 'explicit-type-size'.
1484         (CC1_SPECS): Set -mexplicit-type-size.
1485         (LONG_MAX_SPEC): Change a use of 'no-long64' to 'long32'.
1486         * config/mips/abi64.h (LONG_MAX_SPEC): Same.  Add 'mabi=32'.
1487         * config/mips/mips.c (mips_explicit_type_size_string): New.
1488         (override_options): Use it.
1489         * config/mips/osfrose.h (CC1_SPECS): Set -mexplicit-type-size.
1490
1491         * config/mips/mips.h (SUBTARGET_CPP_SIZE_SPEC): 
1492         Pointer size now depends on both size longs and size of GP
1493         registers.
1494
1495 Tue Mar 16 10:22:22 1999  Gavin Romig-Koch  <gavin@cygnus.com>
1496
1497         * config/mips/iris.h (CTORS_SECTION_ASM_OP,DTORS_SECTION_ASM_OP,
1498         dtors_section): Use Pmode == DImode rather than TARGET_LONG64.
1499         * config/mips/mips.c (override_options): Allow -mlong64 and
1500         -mint64 with -mips2 or less.
1501         * config/mips/mips.h (MASK_LONG64): Fix comment.
1502         (POINTER_SIZE): Use Pmode == DImode rather than TARGET_LONG64.
1503         (Pmode): Make Pmode the smaller of longs or gp registers.
1504         * invoke.texi: Note the new size for pointers.
1505
1506 Mon Mar 15 22:45:25 1999  David Edelsohn  <edelsohn@gnu.org>
1507
1508         * rs6000.h (ASM_OUTPUT_{DOUBLE,FLOAT}): Always generate IEEE 754
1509         bit-pattern directly.
1510         (ASM_OUTPUT_REG_{PUSH,POP}): Delete.
1511         * rs6000.c (first_reg_to_save): If profiling and context needed,
1512         allocate a reg to save static chain for all ABIs.  For AIX
1513         profiling, calculate parameter registers to save based on need.
1514         (output_function_profiler): Save and restore static chain around
1515         profile call for all ABIs. 
1516
1517 1999-03-15 21:39 -0500  Zack Weinberg  <zack@rabi.columbia.edu>
1518
1519         * cppinit.c: Instead of one pending list, keep separate lists
1520         for each category of pending option: -D/-U, -A, -include,
1521         -imacros.  Move the four partial include-path lists into the
1522         pending block.  Use head and tail pointers so we don't ever
1523         have to reverse the lists.
1524
1525         (cpp_start_read): Break out blocks of code to their own
1526         functions: install_predefs and initialize_dependency_output.
1527         Use path_include for C_INCLUDE_PATH and friends as well as
1528         CPATH.  Remove include_defaults gunk.  Warn about the
1529         combination of -lang-chill and -trigraphs.  Optimize string
1530         bashing.  Walk each pending list once, deallocating as we go.
1531
1532         (append_include_chain): Brought over from cppfiles.c.  Mark
1533         dirs as system include dirs if and only if appending to
1534         system include path. If opts->verbose, print a notice when a
1535         dir is dropped from the include path because it doesn't
1536         exist.  Fix memory leak: this function is not supposed to copy
1537         its DIR argument.
1538
1539         (nreverse_pending, push_pending): Removed.
1540         (APPEND): New macro for adding to pending lists.
1541         (path_include): Can now add to any partial include path.
1542         (base_name): Bring over from cccp.c.
1543         (cpp_options_init): Allocate the pending block.
1544         (cpp_handle_option): Add --version.  Exit after --help.  Fix
1545         formatting.  Order -ifoo options by frequency of usage.
1546         (install_predefs): New function, simplified version of code
1547         that was in cpp_start_read.
1548         (initialize_dependency_output): Likewise.  Understand OBJECT_SUFFIX.
1549
1550         * cppfiles.c (simplify_pathname): Export.
1551         (merge_include_chains):  Don't nreverse the lists.  If
1552         opts->verbose, print a notice when a duplicate dir is detected
1553         and dropped from the include path.
1554         (finclude): Fix excessive cleverness in setting
1555         fp->system_header_p.
1556         (actual_directory): Set x->sysp from
1557         CPP_BUFFER (pfile)->system_header_p so that one system header
1558         may include another with "".
1559         (deps_output): Fix double adjustment of deps_size which would
1560         cause all dependencies after the first two lines to be lost.
1561
1562         * cpplib.c (cpp_unassert): New function.
1563         * cpplib.h: Lay out struct cpp_pending here.  Adjust
1564         prototypes.  Add include_prefix_len to struct cpp_options.
1565
1566 Mon Mar 15 16:01:52 1999  Jim Wilson  <wilson@cygnus.com>
1567
1568         * config/misp/mips.h (REGISTER_MOVE_COST): Make the cost of moving
1569         from HI/LO/HILO/MD into general registers the same as for one
1570         of moving general registers to HI/LO/HILO/MD.
1571
1572 Mon Mar 15 12:39:38 1999  Nick Clifton  <nickc@cygnus.com>
1573
1574         * config/m32r/m32r.c (init_idents): New function.  Initialise
1575         static tree nodes for m32r specific attribute identifiers.  Remove
1576         leading and trailing double underscores from the attribute names.
1577         (m32r_valid_machine_decl_attribute): Call init_idents.
1578         (m32r_encode_section_info): Call init_idents.
1579
1580 Mon Mar 15 10:20:20 1999  Mark Mitchell  <mark@markmitchell.com>
1581
1582         * reload.c (find_reloads): Add a REG_LABEL note if we substitute a
1583         LABEL_REF for something else.
1584
1585 Mon Mar 15 08:24:17 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1586
1587         * fold-const.c (exact_real_inverse): Move variable `float_error'
1588         into the scope where it is used.
1589         (const_binop_1): New static function.
1590         (cb_args): New struct.
1591         (const_binop): Use them in call to `do_float_handler'.
1592         (fold_convert_1): New static function.
1593         (fc_args): New struct.
1594         (fold_convert): Use them in call to `do_float_handler'.
1595
1596 Mon Mar 15 22:50:18 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
1597
1598         * rtlanal.c (auto_inc_p): New function.
1599         * rtl.h (auto_inc_p): Prototype it.
1600         * reload1.c (add_auto_inc_notes): New function.
1601         (reload): Strip REG_INC notes and call add_auto_inc_notes
1602         for each insn to restore them correctly.
1603
1604 1999-03-15  Manfred Hollstein  <manfred@s-direktnet.de>
1605
1606         * fixinc/Makefile.in (procopen.o): List the actual
1607         dependencies.
1608
1609 Sun Mar 14 16:22:10 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1610
1611         * cse.c (check_fold_consts): New static function.
1612         (cfc_args): New struct.
1613         (simplify_relational_operation): Use them in call to
1614         `do_float_handler'.
1615         
1616         * toplev.c (do_float_handler): New function to wrap calls to
1617         setjmp/set_float_handler.
1618
1619         * toplev.h (do_float_handler): Add extern prototype.
1620
1621         * tree.c (build_real_from_int_cst_1): New static function.
1622         (brfic_args): New struct.
1623         (build_real_from_int_cst): Use them in call to
1624         `do_float_handler'.
1625
1626 Sun Mar 14 01:15:06 PST 1999 Jeff Law  (law@cygnus.com)
1627
1628         * version.c: Bump for snapshot.
1629
1630 Sat Mar 13 17:37:18 1999  Richard Henderson  <rth@cygnus.com>
1631
1632         * haifa-sched.c (sched_analyze_1): Only clear reg_last_uses on a SET.
1633
1634 Sat Mar 13 11:36:16 1999  Richard Earnshaw (rearnsha@arm.com)
1635
1636         * arm.c (arm_split_constant): Don't try to force a constant to
1637         memory after arm_reorg has run.
1638         (after_arm_reorg): New static variable.
1639         (arm_reorg): Set it.
1640         (output_func_epilogue): Clear it.
1641
1642 Fri Mar 12 20:26:32 1999  David Edelsohn  <edelsohn@gnu.org>
1643
1644         * configure.in ({rs6000,powerpc}-ibm-aix*): Set float_format to none.
1645         * configure: Rebuilt.
1646
1647 Fri Mar 12 20:45:30 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
1648
1649         * unroll.c (loop_iterations): Don't return a final value for EQ
1650         comparison loops.
1651
1652 Fri Mar 12 12:35:01 1999  Jim Wilson  <wilson@cygnus.com>
1653
1654         * reload1.c (calculate_needs_all_insns): When ignore equivalence
1655         setting insn, clear need_elim, need_reload, and need_operand_change.
1656
1657 Fri Mar 12 07:54:43 1999  Bruce Korb <korb@datadesign.com>
1658
1659         * fixinc/fixinc.*: Some changes from the fixincl-branch
1660         were not applied (??!!).  Corrected.
1661
1662         * fixinc/Makefile.in: same thing.
1663
1664 Fri Mar 12 00:51:43 1999  Jeffrey A Law  (law@cygnus.com)
1665
1666         * expr.c (expand_expr): Allow a CALL_EXPR with a mode wider than
1667         MAX_INTEGER_COMPUTATION_MODE.
1668
1669 Thu Mar 11 14:00:58 1999  Richard Henderson  <rth@cygnus.com>
1670
1671         * alpha.h (HARD_REGNO_MODE_OK): Disallow QI/HImode in fp regs.
1672         (MODES_TIEABLE_P): Update.
1673
1674         * alpha.md (ev5_e0): Conflict loads and stores.
1675
1676 Thu Mar 11 13:55:52 1999  Richard Henderson  <rth@cygnus.com>
1677
1678         * machmode.h (smallest_mode_for_size): Prototype.
1679         * stor-layout.c (smallest_mode_for_size): Remove static.
1680
1681 Thu Mar 11 21:25:59 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
1682
1683         * loop.c (strength_reduce): Don't do biv increment -> DEST_REG giv
1684         conversion if we don't know the lifetime.
1685
1686 Thu Mar 11 20:37:59 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
1687
1688         * reload.1c (delete_address_reloads_1):  Check for reloads of
1689         CURRENT_INSN even if it sets DST.
1690
1691 Thu Mar 11 10:29:50 1999  Jason Merrill  <jason@yorick.cygnus.com>
1692
1693         * dwarf2out.c (add_AT_lbl_offset): Rename from add_AT_section_offset.
1694         (print_die, size_of_die, value_format, output_die): Adjust.
1695
1696 Thu Mar 11 10:27:42 1999  Robert Lipe  <robertlipe@usa.net>
1697
1698         * dwarf2out.c (TEXT_SECTION_LAABEL, DEBUG_LINE_SECTION_LABEL,
1699         DEBUG_INFO_SECTION_LABEL, ABBREV_SECTION_LABEL, 
1700         text_section_laabel, debug_line_section_label,
1701         debug_info_section_label, abbrev_section_label): New.
1702         (output_compilation_unit_header):  Emit label associated
1703         with section instead of section name itself.
1704         (out_pubnames, output_aranges, output_line_info, 
1705         dwarf2out_finish): Likewise.
1706         (dwarf2out_init): Build internal label names for sections
1707         from static labels.
1708
1709 Thu Mar 11 17:28:32 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
1710
1711         * sh.md (mulsi3): End mul.l sequence with a no-op move.
1712
1713 Thu Mar 11 08:52:02 1999  Bruce Korb <korb@datadesign.com>
1714
1715         * Makefile.in: activated fixinc/mkfixinc.sh
1716         * configure.in: activated fixinc/mkfixinc.sh
1717
1718 Thu Mar 11 01:38:02 1999  Mumit Khan  <khan@xraylith.wisc.edu>
1719
1720         * cppfiles.c (INO_T_EQ): Handle UWIN.
1721
1722         * c-common.c (decl_attributes): Flag unrecognized attribute
1723         functions as warnings instead of as errors.
1724
1725         Support for i386-pc-uwin.
1726         * i386/uwin.h: New file.
1727         * i386/xm-uwin.h: New file.
1728         * i386/t-uwin: New file.
1729         * i386/uwin.asm: New file.
1730         * configure.in (i[3456]86-*-uwin*): Define.
1731         Add Workaround for vfork bug when hosted on uwin.
1732         * configure: Regenerate.
1733
1734         * cccp.c (INO_T_EQ): Undefine. UWIN has inodes.
1735         (absolute_filename): UWIN uses POSIX pathnames only.
1736         * libgcc2.c (getpagesize): Do not define for UWIN.
1737         (mprotect): Likewise.
1738         * protoize.c (dirent.h): Conditionally include.
1739         (fputc): Prototype only if it's not a macro.
1740
1741 Wed Mar 10 02:49:04 1999  Jason Merrill  <jason@yorick.cygnus.com>
1742
1743         * configure.in: Remove init_priority stuff.
1744
1745 1999-03-11  Colin Smith <colin@wrs.com>
1746
1747         * sdbout.c (plain_type_1): Make boolean types work better with sdb.
1748
1749 Thu Mar 11 00:20:52 1999  Alexandre Oliva <oliva@dcc.unicamp.br>
1750
1751         * gcc.texi: Update bug reporting instructions to match
1752         current ezmlm list reality.
1753
1754 Wed Mar 10 23:11:19 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1755
1756         * gcc.c (print_file_name, print_prog_name, spec_machine,
1757         read_specs, set_spec, lookup_compiler, build_search_list,
1758         putenv_from_prefixes, find_a_file, record_temp_file,
1759         delete_if_ordinary, handle_braces, do_spec, do_spec_1, find_file,
1760         is_directory, validate_switches, used_arg, default_arg,
1761         pfatal_with_name, perror_with_name, pfatal_pexecute, fatal, error,
1762         notice, add_preprocessor_option, add_assembler_option,
1763         add_linker_option, process_command, execute,
1764         unused_prefix_warnings, clear_args, fatal_error,
1765         lang_specific_driver, user_specs, compiler, link_command_spec,
1766         option_map, translate_options, make_temp_file, temp_name,
1767         programname, path_prefix, machine_suffix, just_machine_suffix,
1768         gcc_exec_prefix, standard_exec_prefix, standard_exec_prefix_1,
1769         md_exec_prefix, md_startfile_prefix, md_startfile_prefix_1,
1770         standard_startfile_prefix, standard_startfile_prefix_1,
1771         standard_startfile_prefix_2, tooldir_base_prefix, tooldir_prefix,
1772         multilib_dir, temp_filename, temp_file, command, switchstr,
1773         infile, outfiles, input_filename, input_basename, input_suffix,
1774         check_live_switch, main): Qualify a char* with the `const' keyword.
1775
1776 Wed Mar 10 20:28:29 1999  Jeffrey A Law  (law@cygnus.com)
1777
1778         * lcm.c: New file.
1779         * Makefile.in (OBJS): Add lcm.o
1780         (lcm.o): Add dependencies.
1781
1782         * gcse.c (compute_pre_local_properties): Delete.
1783         (compute_pre_data): Use compute_local_properties instead of
1784         compute_pre_local_properties.
1785
1786         * gcse.c: More comments, whitespace and similar fixes.
1787         (dump_cuid_table, maybe_set_rd_gen, dump_cprop_data): Delete.
1788         (dump_pre_data, compute_cprop_local_properties): Likewise.
1789         (one_classic_gcse_pass): Lose unused argument.  All callers changed.
1790         (compute_hash_table, compute_expr_hash_table): Likewise.
1791         (compute_set_hash_table, one_pre_gcse_pass, mark_call): Likewise.
1792         (cprop_insn, cprop, one_cprop_pass): Add new argument ALTER_JUMPS.
1793         All callers changed.  Only alter jumps if ALTER_JUMPS is nonzero.
1794         Lose unused argument.
1795         (gcse_main): Always run a cprop pass after finishing global cse.
1796         (compute_local_properties): New function.
1797         (hash_scan_pat, hash_scan_insn): No longer call maybe_set_rd_gen.
1798         (compute_cprop_data): Use compute_local_properties.
1799
1800         * gcse.c: Update various comments.
1801         (current_function_calls_longjmp): Delete declaration.
1802
1803         * gcse.c (run_jump_opt_after_gcse): New variable.
1804         (gcse_main): Returns an integer.
1805         (hash_scan_set): Record initializations from CONST_DOUBLEs too.
1806         (try_replace_reg): Update some comments.
1807         (cprop_insn): Allow propagation into some JUMP_INSNs too.
1808         * rtl.h (gcse_main): Update prototype.
1809         * toplev.c (rest_of_compilation): If gcse_main returns nonzero,
1810         then run a jump optimization pass.
1811         * jump.c (delete_barrier_successors): Delete nop jumps too.
1812
1813 Wed Mar 10 19:04:31 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
1814
1815         * sh.c (fp_arith_reg_operand): Actually test if reg is suitable
1816         for FP arithmetic.  Changed caller.
1817         * sh.md (subsf3, subsf_i): Use fp_arith_reg_operand.
1818
1819 Wed Mar 10 18:56:31 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
1820
1821         * reload1.c (choose_reload_regs): When inheriting from the frame
1822         pointer, don't clobber it.
1823
1824 Wed Mar 10 08:01:52 1999  Bruce Korb <korb@datadesign.com>
1825
1826         * fixinc/fixinc.*: Resync-ed with the files in this
1827         directory.
1828
1829         * fixinc/mkfixinc.sh: the machine case elements were
1830         out-of-order.  (the ix86-*-linux-gnu* entry needed to
1831         be earlier).
1832
1833 Wed Mar 10 00:01:24 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
1834
1835         * reload1.c (reload_combine_note_store): Fix calculation of number
1836         of affected registers.
1837
1838 Tue Mar  9 15:48:15 1999  Richard Henderson  <rth@cygnus.com>
1839
1840         * flow.c (tidy_fallthru_edge): Be more careful finding the last
1841         BARRIER of a list.  Delete the cc0 setter as well as a cond jump.
1842
1843 Tue Mar  9 15:26:02 1999  Hans-Peter Nilsson  <hp@bitrange.com>
1844
1845         * i386.md (ashlsi3 splitter): Fix typo in last change.
1846
1847 Tue Mar  9 11:35:20 1999  Richard Henderson  <rth@cygnus.com>
1848
1849         * reg-stack.c (stack_reg_life_analysis): Use returnjump_p
1850         instead of an explicit test for RETURN.
1851
1852 Tue Mar  9 09:33:16 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1853
1854         * Makefile.in (toplev.o): Depend on $(BASIC_BLOCK_H).
1855
1856         * toplev.c: Include basic-block.h.
1857
1858 Tue Mar  9 02:08:17 1999  Jeffrey A Law  (law@cygnus.com)
1859
1860         * calls.c (load_register_parameters): New function.
1861         (expand_call): Use it.
1862
1863         * calls.c (expand_call): Slightly reorganize code.
1864
1865         * calls.c (compute_argument_addresses): New function.
1866         (rtx_for_function_call): New function.
1867         (expand_call): Use them.
1868
1869         * i386.md (zero_extendhisi2): Split into an expander and anonymous
1870         pattern.  Add new anonymous pattern for use when optimizing for
1871         size or for the PPro.
1872         (zero_extendqihi2, zero_extendqisi2): Likewise.
1873
1874 Mon Mar  8 23:43:47 1999  Richard Henderson  <rth@cygnus.com>
1875
1876         * haifa-sched.c (sched_analyze_1): Fix last change -- add clobber
1877         dependancies to sets in the non-hard-reg case too.
1878
1879 Mon Mar  8 18:55:21 1999  Marc Espie <espie@cvs.openbsd.org>
1880
1881         * config/openbsd.h (HANDLE_SYSV_PRAGMA): Define.
1882
1883 Mon Mar  8 16:04:44 1999  Jim Wilson  <wilson@cygnus.com>
1884
1885         * local-alloc.c (combine_regs): Don't combine if we have a hard reg
1886         for which CLASS_LIKELY_SPILLED_P is true.
1887
1888         * unroll.c (loop_iterations): Only call loop_find_equiv_value if we
1889         have a REG or SUBREG.
1890
1891 Mon Mar  8 15:27:42 1999  Jeffrey A Law  (law@cygnus.com)
1892
1893         * i386.md (ashlsi3): Revise comments.  Provide new anonymous
1894         pattern for Pentium and PPro/PII.  Reverse constraints in 
1895         generic ashlsi3 anonymous pattern.
1896
1897         * calls.c (initialize_argument_info): Accept a pointer to 
1898         CUMULATIVE_ARGS.
1899         (expand_call): Pass the address of CUMULATIVE_ARGS.
1900
1901         * rs6000/xm-sysv4.h (HOST_BITS_PER_LONGLONG): Remove #if 0.
1902
1903         * mn10300.h (CASE_DROPS_THROUGH): Delete.
1904         * mn10200.h (CASE_DROPS_THROUGH): Delete.
1905         * h8300.h (CASE_DROPS_THROUGH): Delete.
1906
1907         * flow.c (merge_blocks_nomove): For HAVE_cc0 targets, make sure
1908         to also delete the cc0 setter when deleting a conditional branch
1909         to the next block.
1910
1911 Mon Mar  8 18:47:11 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
1912
1913         * regmove.c (copy_src_to_dest): New argument max_old_uid.
1914
1915 Mon Mar  8 08:23:00 1999  Bruce Korb <korb@datadesign.com>
1916
1917         * ChangeLog: merged entries from fixincl-branch
1918
1919 Sun Mar  7 11:48:56 1999  Richard Henderson  <rth@cygnus.com>
1920
1921         * haifa-sched.c (ENCODE_BLOCKAGE): Don't shift unit too far.
1922         (print_exp): Special case addition of a constant.
1923         (print_value) [CONST_INT]: Use HOST_WIDE_INT_PRINT_HEX.
1924
1925 Sun Mar  7 11:21:02 1999  Richard Henderson  <rth@cygnus.com>
1926
1927         * haifa-sched.c (reg_last_clobbers): New.
1928         (reg_pending_clobbers, bb_reg_last_clobbers): New.
1929         (compute_block_backward_dependences): Allocate memory for them.
1930         (schedule_region): Likewise.
1931         (sched_analyze_1): Clobbers don't interfere with one another.
1932         They do interfere with sets ...
1933         (sched_analyze_2): ... and uses.
1934         (sched_analyze): Likewise.
1935         (sched_analyze_insn): Update reg_last_clobbers appropriately.
1936
1937 Sun Mar  7 08:30:37 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1938
1939         * gmon-sol2.c: Include config.h and system.h.  Don't redundantly
1940         include system header files.
1941         (sccsid): Remove.
1942         (moncontrol, monstartup, _mcleanup, internal_mcount): Prototype.
1943         (_mcleanup): Add the `const' keyword to a char*.
1944         (internal_mcount): Declare `etext' as a char[] not a function.
1945         Cast `etext' to char* when calling `monstartup'.
1946
1947         * sparc.c (frame_base_name, save_regs, restore_regs,
1948         build_big_number, sparc_cmodel_string, sparc_align_loops_string,
1949         sparc_align_jumps_string, sparc_align_funcs_string, code_model,
1950         cpu_default, cpu_table, output_function_prologue,
1951         output_function_epilogue, output_return,
1952         sparc_flat_output_function_prologue, ultra_code_names,
1953         sparc_flat_output_function_epilogue): Constify a char*.
1954         (hypersparc_adjust_cost): Add a default case in a switch.
1955
1956         * sparc.h (sparc_cmodel_string, OVERRIDE_OPTIONS,
1957         sparc_cpu_select, sparc_align_loops_string,
1958         sparc_align_jumps_string, sparc_align_funcs_string,
1959         output_return): Constify a char*.
1960
1961         * sparc.md (movdi): Change the comparison of HOST_BITS_PER_WIDE_INT
1962         so that we check "== 32", instead of "!= 64".  Cast a value to
1963         HOST_WIDE_INT when comparing against one.  Hide the declaration
1964         for variable `chain'.
1965
1966 Sun Mar  7 08:05:27 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1967
1968         * system.h (const, inline): Move the stage2 handling of these
1969         keywords-as-macros from here...
1970
1971         * gansidecl.h (const, inline): ...to here.
1972
1973 Sun Mar  7 02:44:15 1999  Richard Henderson  <rth@cygnus.com>
1974
1975         * recog.c (push_operand, pop_operand): VOIDmode needn't match modes.
1976
1977 Sun Mar  7 01:58:47 1999  Richard Henderson  <rth@cygnus.com>
1978
1979         * cse.c (canon_hash): Never reject hard regs in CCmode.
1980
1981 Sun Mar 7 01:15:04 PST 1999 Jeff Law  (law@cygnus.com)
1982
1983         * version.c: Bump for snapshot.
1984
1985 Sat Mar  6 17:18:44 1999  Richard Earnshaw  (rearnsha@arm.com)
1986                           Richard Henderson  <rth@cygnus.com>
1987
1988         * flow.c (make_edges): Handle casesi that jump to default branch.
1989         If CASE_DROPS_THROUGH, force fallthru to block after casesi.
1990
1991 Sat Mar  6 07:49:23 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1992
1993         * c-aux-info.c (data_type, affix_data_type, gen_decl, 
1994         gen_formal_list_for_type, gen_formal_list_for_func_def, gen_type):
1995         Qualify a char* with the `const' keyword.
1996
1997         * c-common.c (declare_hidden_char_array, add_attribute, if_elt,
1998         declare_function_name, decl_attributes, format_char_info,
1999         check_format_info, binary_op_error): Likewise.
2000         
2001         * cexp.y (yyerror, error, pedwarn, warning, token): Likewise.
2002
2003         * gcse.c (dump_hash_table): Likewise.
2004
2005         * integrate.c (function_cannot_inline_p): Likewise
2006
2007         * optabs.c: Include insn-config.h earlier.
2008         (init_libfuncs, init_integral_libfuncs, init_floating_libfuncs):
2009         Qualify a char* with the `const' keyword.
2010         
2011         * real.c (asctoe24, asctoe53, asctoe64, asctoe113, asctoe,
2012         asctoeg, mtherr, ereal_atof): Likewise.
2013
2014         * real.h (ereal_atof): Likewise.
2015
2016         * sbitmap.c (dump_sbitmap_vector): Likewise.
2017
2018         * sbitmap.h (dump_sbitmap_vector): Likewise.
2019
2020         * stmt.c (nesting, n_occurrences, expand_start_case): Likewise.
2021
2022         * toplev.c (rest_of_compilation): Likewise.
2023
2024         * tree.h (function_cannot_inline_p, expand_start_case): Likewise.
2025         
2026 Fri Mar  5 23:16:42 1999  David Edelsohn  <edelsohn@gnu.org>
2027
2028         * rs6000.h (ASM_OUTPUT_REG_{PUSH,POP}): Add 64-bit support and do
2029         not overwrite AIX link register save area.
2030
2031 Fri Mar  5 23:08:01 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
2032
2033         * reload.c (find_reloads_subreg_address): Actually create the USE
2034         for the register, not the new memory location.
2035
2036 Fri Mar  5 21:41:07 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
2037
2038         * reload1.c (emit_reload_insns): If pseudo that can't be replaced
2039         with its equivalent constant, fall back to reload_in.
2040
2041 Fri Mar  5 13:20:39 1999  Richard Henderson  <rth@cygnus.com>
2042
2043         * Makefile.in: Delete .flow2 debugging files.
2044
2045 Fri Mar  5 11:36:11 1999  Nick Clifton  <nickc@cygnus.com>
2046
2047         * config/arm/arm.c (arm_override_options): Change default target
2048         cpu selection so that enabling TARGET_APCS_32 does not override
2049         default target CPU.
2050
2051 Fri Mar  5 19:26:23 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
2052
2053         * sh.h (SLOW_BYTE_ACCESS): Define to 1.
2054         (BOOL_TYPE_SIZE): Define.
2055
2056 Fri Mar  5 02:14:54 1999  John Wehle  (john@feith.com)
2057
2058         * function.c (assign_stack_temp_for_type): Abort
2059         if mode == Blkmode and align is less than
2060         BIGGEST_ALIGNMENT / BITS_PER_UNIT.
2061         (assign_stack_temp_for_type): Round the size parameter
2062         passed to assign_stack_local instead of size itself.
2063
2064 Thu Mar  4 15:00:35 1999  Richard Henderson  <rth@cygnus.com>
2065
2066         * flow.c (delete_unreachable_blocks): Mark blocks as they
2067         are put on to the worklist, not as they are taken off.
2068
2069 Thu Mar  4 00:05:44 1999  Jeffrey A Law  (law@cygnus.com)
2070
2071         * function.c (current_function_has_computed_jump): Remove duplicate
2072         definition.
2073
2074 Wed Mar  3 19:09:11 1999  Jim Wilson  <wilson@cygnus.com>
2075
2076         * m68k/m68020-elf.h (INIT_SECTION_ASM_OP, FINI_SECTION_ASM_OP): Undef.
2077         (STARTFILE_SPEC, ENDFILE_SPEC): Define to empty string.
2078
2079         * sparc/elf.h (MULDI3_LIBCALL, DIVDI3_LIBCALL, UDIVDI3_LIBCALL,
2080         MODDI3_LIBCALL, UMODDI3_LIBCALL, STDC_0_IN_SYSTEM_HEADERS): Undef.
2081         (INIT_SUBTARGET_OPTABS): Define to empty.       
2082
2083 Wed Mar  3 00:00:37 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
2084
2085         * sh.c (force_into): New function.
2086         (expand_block_move): Use it.
2087
2088 Tue Mar  2 10:39:43 1999  Nick Clifton  <nickc@cygnus.com>
2089
2090         * cccp.c (struct default_include): Add 'included' field.
2091         (main): Set 'included' field when a default include directory
2092         is added to the chain.  If -v is specified list all default
2093         include directories which do not get appended to the chain.
2094
2095 Tue Mar  2 09:24:10 1999  Nick Clifton  <nickc@cygnus.com>
2096
2097         * configure.in (gxx_include_dir): Rename to
2098         gcc_gxx_include_dir in order to prevent it being overridden by
2099         a top level Makefile.
2100         (gcc_tooldir): If $exec_prefix != $prefix then use the
2101         difference between the two as the basis for gcc_tooldir.
2102
2103         * configure: Rebuild.
2104
2105         * Makefile.in: Rename gxx_include_dir to gcc_gxx_include_dir.
2106
2107 Tue Mar  2 16:45:31 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
2108
2109         * unroll.c (copy_loop_body): Don't make extra copies of
2110         NOTE_INSN_LOOP_CONT notes.
2111
2112 Tue Mar  2 07:44:56 1999  Mark Mitchell  <mark@markmitchell.com>
2113
2114         * tree.c (save_tree_status): Don't treat functions with no context
2115         as nested.
2116
2117 Tue Mar  2 09:37:05 1999  Robert Lipe  <robertlipe@usa.net>
2118
2119         * Makefile.in (MAKEINFO): Use makeinfo built from sibling
2120         tree when available.
2121
2122 Tue Mar  2 10:12:48 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2123
2124         * alpha.c (alpha_cpu_name, alpha_cpu_string, alpha_tp_string,
2125         alpha_fprm_string, alpha_fptm_string, alpha_mlat_string,
2126         current_function_file): Add the `const' keyword.
2127         (normal_memory_operand): Mark parameter `mode' with
2128         ATTRIBUTE_UNUSED.
2129         (alpha_expand_unaligned_load): Add a default case to a switch.
2130
2131         * alpha.h (alpha_cpu_string, alpha_fprm_string, alpha_fptm_string,
2132         alpha_tp_string, alpha_mlat_string): Add the `const' keyword.
2133         (normal_memory_operand): Add prototype.
2134         
2135         * alpha.md: Cast an expression to `unsigned HOST_WIDE_INT' when
2136         comparing against one.
2137
2138 Tue Mar  2 10:00:21 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2139
2140         * mips.c (abort_with_insn): Make function static, add a prototype,
2141         constify 2nd parameter and mark with ATTRIBUTE_NORETURN.
2142         (current_function_file, mips_cpu_string, mips_isa_string,
2143         mips_abi_string, mips_no_mips16_string, mips_entry_string,
2144         mips_move_1word, mips_move_2words, output_block_move, load_store,
2145         override_options, make_temp_file, mips16_fp_args): Qualify a char*
2146         with the `const' keyword.
2147
2148         * mips.h (current_function_file, mips_cpu_string, mips_isa_string,
2149         mips_abi_string, mips_entry_string, mips_no_mips16_string,
2150         mips_move_1word, mips_move_2words, output_block_move): Likewise.
2151         (abort_with_insn): Remove extern prototype.
2152
2153         * mips.md: Qualify a char* with the `const' keyword.
2154         Remove many unused variables named `label'.
2155
2156 Tue Mar  2 01:27:52 1999  H.J. Lu  (hjl@gnu.org)
2157
2158         * Makefile.in (cpp_install_dir, INSTALL_CPP, UNINSTALL_CPP): New
2159         variables.
2160         (install-cpp, uninstall-cpp): New targets.
2161         (install-normal): Depend on $(INSTALL_CPP).
2162         (uninstall): Depend on $(UNINSTALL_CPP).
2163         * configure.in (cpp_install_dir): New, substitute.
2164         (tmake_file): Added t-install-cpp for --enable-cpp.
2165         * configure: Rebuilt.
2166         * cpp.sh: New cpp script.
2167         * config/t-install-cpp: New target fragment.
2168
2169 Tue Mar  2 01:40:01 1999  Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
2170                           Jeffrey A Law  (law@cygnus.com)
2171
2172         * cse.c (fold_rtx): Update comments for (const (minus (label) (label)))
2173         case.
2174         (cse_insn): Avoid creating a bogus REG_EQUAL note for
2175         (const (minus (label) (label)))
2176         (record_jump_cond): Fix mismatched paren in comment.
2177
2178 Tue Mar  2 01:07:12 1999  Dan Nicolaescu  <dann@godzilla.ics.uci.edu>
2179
2180         * final.c (end_final): There are 11 words in the "main header"
2181         structure, not 10.
2182
2183 Tue Mar  2 00:09:18 1999  Marc Espie <espie@cvs.openbsd.org>
2184
2185         * extend.texi: Reference __extension__ in the index.
2186
2187 Mon Mar  1 19:09:32 1999  Jim Wilson  <wilson@cygnus.com>
2188
2189         * Makefile.in (CROSS_FLOAT_H): Delete.
2190         (FLOAT_H): Use float_h_file.
2191         (rest.cross, stmp-int-hdrs): Delete gfloat.h dependency.
2192         (gfloat.h): Delete.
2193         (stmp-int-hdrs): Use FLOAT_H instead of gfloat.h.
2194         (mostlyclean): Delete gloat.h reference.
2195         (install-cross-rest, install-float-h-cross, stmp-headers): Update
2196         comments.
2197         * configure.in (sparcv9-*-solaris2*): Set float_format to none.
2198         (sparc-*-solaris2*): Set float_format to none for 2.5 and higher.
2199         (float_h_file): Set from float_format.  Substitute into Makefile.in.
2200         (float_format): No longer substitute into Makefile.in.  
2201         * cross-make (FLOAT_H): Delete.
2202         * config/mips/t-cross64 (FLOAT_H): Delete.
2203         * configure: Rebuilt.
2204         
2205 Mon Mar  1 16:36:18 1999  Jeffrey A Law  (law@cygnus.com)
2206
2207         * mips.md (div_trap_normal, div_trap_mips16): Require the dependent
2208         insn to be an INSN before looking at its pattern.
2209
2210 Mon Mar  1 15:03:51 1999  Jim Wilson  <wilson@cygnus.com>
2211
2212         * config/m68k/lb1sf68.asm (udivsi3): Change jmi to jcs.  Fix comments.
2213         * config/m68k/m68k.h (LEGITIMATE_INDEX_REG_P): Reject SIGN_EXTEND of
2214         HImode reg when TARGET_5200.
2215
2216 Mon Mar  1 21:44:30 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
2217
2218         From Toshiyasu Morita:
2219         * sh.h (CACHE_LOG): SH2 has cache, too.
2220
2221 Mon Mar  1 14:23:36 1999  Catherine Moore  <clm@cygnus.com>
2222  
2223         * toplev.c (compile_file):  Disable -ffunction-sections and
2224         debugging warning if the object format is elf.
2225  
2226 Mon Mar  1 11:46:25 1999  Vladimir N. Makarov  <vmakarov@cygnus.com>
2227
2228         * config/h8300/h8300.c (print_operand):  Use 16 bit addressing
2229         when the data in 8-bit area and can not be addressed by 8-bit.
2230
2231 Sun Feb 28 16:40:00 1999  Richard Henderson  <rth@cygnus.com>
2232
2233         * flow.c (create_basic_block): Disregard integrated bb notes.
2234
2235 Sun Feb 28 15:57:06 1999  Richard Henderson  <rth@cygnus.com>
2236
2237         * sparc.md (blockage, nonlocal_goto_receiver): Set length to 0.
2238
2239 Sun Feb 28 14:47:53 1999  Arturo Montes  <mitosys@colomsat.com.co>
2240
2241         * config/i386/t-sco5gas (crti.o): New target.
2242
2243 Sun Feb 28 15:10:17 1999  David Edelsohn  <edelsohn@gnu.org>
2244
2245         * rs6000.md (elf_high, movsi_got, *movsi_got_internal,
2246         *movsi_got_internal_mem, GOT splitter, movdf_hardfloat32,
2247         movdf_softfloat32, movdf_hardfloat64, movdf_softfloat64,
2248         load_multiple, allocate_stack, call_indirect_aix32,
2249         call_indirect_aix64, call_value_indirect_aix32,
2250         call_value_indirect_aix64, call_indirect_nt,
2251         call_value_indirect_nt): Use gpc_reg_operand instead of
2252         register_operand. 
2253
2254 Sun Feb 28 15:10:17 1999  Michael Meissner  <meissner@cygnus.com>
2255
2256         * rs6000.md (one_cmplsi2, andsi3, iorsi3, xorsi3, *eqvsi3,
2257         *andcsi3, *iorcsi3, *nandsi3, *norsi3): Add alternatives to use CR
2258         other than cr0.
2259         * rs6000.c (and{,64}_operand): If the user did -ffixed-cr0, don't
2260         allow andi. or andis. which always set cr0.
2261
2262 Sun Feb 28 01:15:04 PST 1999 Jeff Law  (law@cygnus.com)
2263
2264         * version.c: Bump for snapshot.
2265
2266 Sun Feb 28 02:00:38 1999  Jeffrey A Law  (law@cygnus.com)
2267
2268         * invoke.texi: Update information for PA scheduling.
2269
2270 Sat Feb 27 23:21:47 1999  Jerry Quinn <jquinn@nortelnetworks.com>
2271                           Mike Stump <mrs@wrs.com>
2272
2273         * pa.c (override_options): Change default to 7100LC
2274
2275         * pa.h (REG_ALLOC_ORDER): Change order to allocate left half of
2276         float regs before right half of float regs.
2277
2278 Sat Feb 27 22:48:38 1999  H.J. Lu  (hjl@gnu.org)
2279                           Jeffrey A Law  (law@cygnus.com)
2280
2281         * frame.h: Update some comments.
2282         * defaults.h (TARGET_ATTRIBUTE_WEAK): Define.
2283         * crtstuff.c (__register_frame_info, __deregister_frame_info): Declare
2284         using TARGET_WEAK_ATTRIBUTE.
2285         (__do_global_dtors_aux): Check if __deregister_frame_info is
2286         zero before calling it.
2287         (__do_global_dtors): Likewise.
2288         (frame_dummy): Check if __register_frame_info is zero before
2289         calling it.
2290         (__frame_dummy): Likewise.
2291
2292 Sat Feb 27 19:18:24 1999  Jeffrey A Law  (law@cygnus.com)
2293
2294         * SERVICE: Update from the FSF.
2295
2296 Sat Feb 27 14:31:22 1999  Arturo Montes  <mitosys@colomsat.com.co>
2297
2298         * config/i386/t-sco5 (crti.o): New target.
2299         * config/i386/sco5.h (STARTFILE_SPEC): Include crti.o when 
2300         linking -shared.
2301         * configure.in (i[34567]86-*-sco3.2v5*): Add crti.o.
2302
2303 Sat Feb 27 01:12:40 1999  Jeffrey A Law  (law@cygnus.com)
2304
2305         * md.texi (prologue,epilogue): Document named patterns.
2306
2307 Fri Feb 26 19:31:25 1999  Dave Love  <fx@gnu.org>
2308
2309         * md.texi, invoke.texi: Fix unterminated @xrefs.
2310
2311 Fri Feb 26 15:33:45 1999  Richard Henderson  <rth@cygnus.com>
2312
2313         * genattrtab.c (simplify_knowing): Fix uninitialized read
2314         in Feb 21 change.
2315
2316         * genextract.c (main): Clear recog_operands before extracting.
2317
2318 Fri Feb 26 02:24:57 1999  Jeffrey A Law  (law@cygnus.com)
2319
2320         * c-pragma.c (add_weak); Delete.  Moved into...
2321         * varasm.c (add_weak): New external function.
2322         (declare_weak): If HANDLE_PRAGMA_WEAK, then add the function to
2323         the list of weak functions.
2324         * c-pragma (add_weak): Declare.
2325
2326 Thu Feb 25 23:43:59 1999  Richard Henderson  <rth@cygnus.com>
2327
2328         Flow rewrite to use basic block structures and edge lists:
2329
2330         * basic-block.h (x_basic_block_head, x_basic_block_end): Kill.
2331         (basic_block_computed_jump_target, basic_block_live_at_start): Kill.
2332         (struct edge_def): New.
2333         (struct basic_block_def): New.
2334         (basic_block_info): New.
2335         (BLOCK_HEAD, BLOCK_END): Update.
2336         (ENTRY_BLOCK_PTR, EXIT_BLOCK_PTR): New.
2337         (uid_block_number): Kill.
2338         (basic_block_for_insn, BLOCK_FOR_INSN): New.
2339         (BLOCK_NUM): Update.
2340         * flow.c (XNMALLOC): Kill.
2341         (max_uid_for_flow): Kill.
2342         (uid_block_number): Kill.
2343         (uid_volatile): Turn into a bitmap.
2344         (SET_INSN_VOLATILE): New.
2345         (basic_block_info): New.
2346         (entry_exit_blocks): New.
2347         (x_basic_block_head, x_basic_block_end): Kill.
2348         (basic_block_computed_jump_target, basic_block_live_at_start): Kill.
2349         (flow_int_list_blocks, basic_block_succ, basic_block_pred): Kill.
2350         (basic_block_loop_depth): Kill.
2351         (basic_block_for_insn): New.
2352         (find_basic_blocks): Split out initial block counting into 
2353         count_basic_blocks.  Call functions split out of find_basic_blocks_1.
2354         (count_basic_blocks): New.
2355         (find_basic_blocks_1): Split out edge recognition, unreachable
2356         block deletion.
2357         (create_basic_block): New.
2358         (compute_bb_for_insn): New.
2359         (clear_edges): New.
2360         (free_bb_memory): Kill.
2361         (add_edge, add_edge_to_label): Kill.
2362         (mark_label_ref): Kill.
2363         (make_edges): Rewrite to use edge lists.
2364         (make_edge, make_label_edge): New.
2365         (mark_critical_edges): New.
2366         (split_edge, insert_insn_on_edge): New.
2367         (commit_one_edge_insertion, commit_edge_insertions): New.
2368         (delete_unreachable_blocks): Rewrite to use edge lists.  
2369         Split out EH region manipulation into delete_eh_regions.
2370         Call tidy_fallthru_edge and merge_blocks.
2371         (delete_eh_regions): New.
2372         (delete_note_p): New.
2373         (delete_insn_chain): New.
2374         (delete_block): Split out code into delete_insn_chain and
2375         tidy_fallthru_edge.  Update edge lists.
2376         (expunge_block): New.
2377         (flow_delete_insn): New?
2378         (can_delete_label_p): New?
2379         (merge_blocks_nomove, merge_blocks): New.
2380         (tidy_fallthru_edge): New.
2381         (calculate_loop_depth): New.
2382         (life_analysis): Allocate and free uid_volatile.
2383         (free_basic_block_vars): Update for new structures.
2384         (record_volatile_insns): Use SET_INSN_VOLATILE.
2385         (mark_regs_live_at_end): Tidy EXIT_IGNORE_STACK usage.
2386         (mark_used_regs): Likewise.
2387         (life_analysis_1): Use bb global_live_at_start, global_live_at_end, 
2388         local_set regsets.  Use bb->aux to store new_live_at_end.  Begin
2389         life propagation from EXIT_BLOCK rather than last block.  Clear
2390         regs_ever_live after mark_regs_live_at_end.
2391         (allocate_for_life_analysis): Update for new structures.
2392         (propagate_block): Split out loop depth calculation to
2393         calculate_loop_depth.
2394         (regno_uninitialized): Use bb->global_live_at_start.
2395         (regno_clobbered_at_setjmp): Likewise.
2396         (dump_bb_data): Likewise.
2397         (find_auto_inc): Use BLOCK_FOR_INSN instead of BLOCK_NUM.
2398         (dump_flow_info): Update for new structures.
2399         (dump_edge_info): New.
2400         (print_rtl_with_bb): Update for new structues.
2401         (compute_preds_succs): Do no work -- convert edge lists.
2402         (set_block_for_insn): From corpse of old set_block_num.
2403         (set_block_num): Call it.
2404
2405         * rtl.c (note_insn_name): Add NOTE_INSN_BASIC_BLOCK.
2406         * rtl.h (rtunion_def): Add bb entry.
2407         (NOTE_BASIC_BLOCK): New.
2408         (NOTE_INSN_BASIC_BLOCK): New.
2409
2410         * varray.h (varray_data_tag): Add bb entry.
2411         (VARRAY_BB_INIT, VARRAY_BB): New.
2412
2413         * emit-rtl.c (emit_label_before): New.
2414
2415         * except.c (expand_rethrow): Delete insns following the call to
2416         rethrow.  Put the REG_EH_RETHROW on the call.
2417
2418         * jump.c (returnjump_p, returnjump_p_1): New.
2419
2420         * expr.h (nonlocal_goto_handler_labels): New declaration.
2421         * function.c (nonlocal_goto_handler_labels): Define it.
2422         (push_function_context_to): Save it.
2423         (pop_function_context_from): Restore it.
2424         (init_function_start): Clear it.
2425         (nonlocal_label_rtx_list): Kill.
2426         * function.h (struct function): Add storage space for it.
2427         * stmt.c (expand_nl_handler_label): Return the new label.
2428         (expand_nl_goto_receivers): Collect a list of them in
2429         nonlocal_goto_handler_labels.
2430
2431         * Makefile.in (print-rtl.o): Depend on basic-block.h.
2432         (flow.o): Depend on insn-flags.h.
2433
2434         * function.c (thread_prologue_and_epilogue_insns): Do not
2435         half-heartedly update bb structures.
2436
2437         * toplev.c: Add flow2 dump as -dw.
2438         (rest_of_compilation): Finish .greg before flow2.
2439
2440         * graph.c (draw_edge): Handle class 3.
2441         (print_rtl_graph_with_bb): Make abnormal edges red class 2, 
2442         change non-fall-thru but adjacent to green class 3.  Update 
2443         to use new structures.
2444
2445         * print-rtl.c (print_rtx): Handle NOTE_INSN_BASIC_BLOCK.
2446
2447         * reg-stack.c (BLOCK_NUM): Convert to function.  Abort if
2448         block_number is -1.
2449         (reg_to_stack): Initialize block_num to -1.
2450
2451         * combine.c (set_nonzero_bits_and_sign_copies): Update reference
2452         to basic_block_live_at_start to bb->global_live_at_start.
2453         (try_combine): Likewise.
2454         (reg_dead_at_p): Likewise.
2455         * global.c (global_conflicts): Likewise.
2456         Handle stack regs on all abnormal edges, not just computed jumps.
2457         (mark_elimination): Update reference to basic_block_live_at_start.
2458         (build_insn_chain): Likewise.
2459         * haifa-sched.c (haifa_edge): Rename from edge for conflict.
2460         (is_cfg_nonregular): Look at nonlocal_goto_handler_labels instead
2461         of nonlocal_label_rtx_list.
2462         (check_live_1): Update reference to basic_block_live_at_start.
2463         (update_live_1): Likewise.
2464         (find_pre_sched_live): Likewise.
2465         (find_post_sched_live): Likewise.
2466         * local-alloc.c (update_equiv_regs): Likewise.
2467         (block_alloc): Likewise.
2468         * reload1.c (reload, reload_combine): Likewise.
2469         * regmove.c (mark_flags_life_zones): Likewise.
2470         * resource.c (mark_target_live_regs): Likewise.
2471         * sched.c (schedule_block): Likewise.
2472
2473         * regclass.c (regset_release_memory): Don't free
2474         basic_block_live_at_start.
2475
2476         * unroll.c (copy_loop_body): Don't duplicate NOTE_INSN_BASIC_BLOCK.
2477
2478 Thu Feb 25 21:32:34 1999  Jason Merrill  <jason@yorick.cygnus.com>
2479
2480         * fixinc.wrap: Also handle struct queue in sys/stream.h.
2481         * fixinc.svr4: Likewise.
2482
2483         * dwarf2out.c (scope_die_for): Set scope_die to comp_unit_die
2484         rather than asserting it.
2485
2486 Thu Feb 25 23:33:06 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2487
2488         * cppexp.c (left_shift, right_shift, parse_charconst, COMPARE,
2489         cpp_parse_expr): Replace uses of long/HOST_BITS_PER_LONG with
2490         HOST_WIDEST_INT/HOST_BITS_PER_WIDEST_INT.
2491
2492
2493         * Makefile.in (cppmain.o, cpplib.o, cpphash.o, cppalloc.o,
2494         cpperror.o, cppexp.o, cppfiles.o, cppinit.o, fix-header.o,
2495         scan-decls.o): Don't depend on machmode.h.
2496         
2497         * cppexp.c: Don't define CHAR_BIT or HOST_BITS_PER_WIDE_INT anymore.
2498         Replace all instances of HOST_WIDE_INT with HOST_WIDEST_INT.
2499         
2500         * cppfiles.c: Likewise.
2501
2502         * cpplib.c: Likewise.
2503          
2504         * cpplib.h: Likewise.  Also don't include machmode.h anymore.
2505
2506 Thu Feb 25 18:46:26 1999  Richard Henderson  <rth@cygnus.com>
2507
2508         * gcc.c (default_compilers): Define __FAST_MATH__ when appropriate.
2509         * objc/lang-specs.h: Likewise.
2510
2511 Thu Feb 25 16:19:43 1999  Jeffrey A Law  (law@cygnus.com)
2512
2513         * pa.md (call patterns): Lose unused argument to output_call.
2514
2515         * print-rtl.c (print_rtl): Print /j and /c for the jump/call flags.
2516
2517 1999-02-25 17:14 -0500  Zack Weinberg  <zack@rabi.columbia.edu>
2518
2519         * cpphash.c (install): Rename to cpp_install, add cpp_reader*
2520         first argument.  All callers changed.
2521         (hashtab): Removed.
2522         (cpp_lookup, cpp_install): Change all refs to hashtab to
2523         pfile->hashtab.
2524         (cpp_hash_cleanup): Removed.
2525         * cpphash.h: Adjust prototypes.
2526         * cpplib.h (struct cpp_reader): Add hashtab pointer.
2527         * cppinit.c (cpp_reader_init): Also allocate space for the
2528         hashtab.
2529         (cpp_cleanup): Delete all macros and free the hashtab.
2530
2531 Thu Feb 25 21:52:54 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
2532
2533         * sh.h (PASS_IN_REG_P):  For TARGET_HITACHI, don't pass structures
2534         in registers.
2535
2536         * expr.h (PRETEND_OUTGOING_VARARGS_NAMED): Provide default definition.
2537         * function.c (assign_parms): Honour PRETEND_OUTGOING_VARARGS_NAMED.
2538         * calls.c (expand_call): Likewise.
2539
2540         * sh.c (sh_expand_prologue): For TARGET_HITACHI, don't push varargs /
2541         stdarg arguments.
2542         * sh.h (CPP_SPEC): Add -D__HITACHI__ for -mhitachi.
2543         (FUNCTION_ARG):  For TARGET_HITACHI, don't pass unnamed
2544         arguments in registers.
2545         (PRETEND_OUTGOING_VARARGS_NAMED): Define.
2546         * va-sh.h (entire file): If __HITACHI__ is defined, use sh[123]
2547         flavour varargs.
2548
2549 Thu Feb 25 14:32:40 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2550
2551         * cse.c (dump_class): Revert last change and make the prototype
2552         extern.
2553
2554 Thu Feb 25 19:13:42 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
2555
2556         * rtl.h (insn_first_p): Don't declare.
2557         * rtlanal.c (insn_first_p): Delete.
2558         * loop.c (loop_insn_first_p): Faster implementation.
2559
2560 Thu Feb 25 10:44:35 1999  Richard Earnshaw (rearnsha@arm.com)
2561
2562         * arm.h (TARGET_SWITCHES): Delete deprecated switches -m[236].
2563         (TARGET_3, TARGET_6): Delete.
2564         (ARM_FLAG_ARM[36]): Delete.
2565         (CPP_CPU_ARCH_SPEC): No need to handle -m[236] any more.
2566         (CC1_SPEC): Don't expand -m[236] into new equivalents.
2567         (CPP_APCS_PC_SPEC): No need to handle -m[236] any more.
2568         * arm.c (arm_override_options): Delete warnings about deprecated
2569         options -m[236].
2570
2571         * arm.c (arm_finalize_pic): Build the label into the special pic
2572         adjustment insn instead of issuing it separately.
2573         * arm.md (pic_add_dot_plus_eight): Rework to contain the label
2574         that is needed.
2575
2576         * arm.md (*zeroextractqi_compare0_scratch): Delete.
2577         (*ne_zeroextractsi): New pattern.
2578
2579 Thu Feb 25 18:40:06 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
2580
2581         * stmt.c (expand_end_loop): Grok code emitted by
2582         expand_exit_loop_if_false.
2583
2584 Thu Feb 25 10:17:32 1999  Nick Clifton  <nickc@cygnus.com>
2585
2586         * config/arm/arm.c (return_in_memory): Float fields in unions
2587         force a return in memory.
2588         (load_multiple_sequence): Add comment explaining why two LDR
2589         instructions can be better than an LDMIA instruction.
2590
2591         * config/arm/arm.h (TARGET_SHORT_BY_BYTES): Add comment
2592         describing the real meaning of this option.
2593         (FIXED_REGISTERS): Default r10 to not-fixed.
2594         (CALL_USED_REGISTERS): Default r10 to not-call-used.
2595         (SUBTARGET_CONDITIONAL_REGISTER_USAGE): If not defined, define
2596         as empty. 
2597         (CONDITIONAL_REGISTER_USAGE): Fix r10 if TARGET_APCS_STACK is
2598         true.  Invoke SUBTARGET_CONDITIONAL_REGISTER_USAGE after
2599         performing other checks.
2600
2601         * config/arm/arm.md (zero_extendhisi2): Undo previous change.
2602         (extendhisi2): Undo previous change.
2603         Also add comments describing why TARGET_SHORT_BY_BYTES can be
2604         ignored for armv4(t) architectures. 
2605
2606         * config/arm/riscix.h (SUBTARGET_CONDITIONAL_REGISTER_USAGE):
2607         Define to fix r10.
2608
2609         * config/arm/riscix1-1.h
2610         (SUBTARGET_CONDITIONAL_REGISTER_USAGE): Define to fix r10. 
2611
2612 Thu Feb 25 12:09:04 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2613
2614         * cse.c (dump_class): Make the function definition static to match
2615         the prototype.
2616
2617 Wed Feb 24 17:47:28 1999  Jim Wilson  <wilson@cygnus.com>
2618
2619         * dbxout.c (gstab.h): Use if CROSS_COMPILE.
2620
2621         * dwarf2out.c (add_location_or_const_value_attribute):  Add big
2622         endian correction for parms passed in regs but living on the stack.
2623
2624 Wed Feb 24 14:03:54 1999  Jeffrey A Law  (law@cygnus.com)
2625
2626         * calls.c (initialize_argument_information): New function extracted
2627         from expand_call.
2628         (expand_call): Use initialize_argument_information.  Remove variables
2629         which are no longer used due to cleanups.
2630
2631         * calls.c (compute_argument_block_size): New function, extracted from
2632         expand_calls.
2633         (expand_calls): Use compute_argument_block_size.  Delete
2634         original_args_size, use unadjusted_args_size instead.
2635
2636         * calls.c (precompute_arguments): New function, extracted from
2637         expand_call.
2638         (expand_call): Use precompute_arguments.
2639
2640         * calls.c (finalize_must_preallocate): New function, extracted from
2641         expand_call.
2642         (expand_call): Use finalize_must_preallocate.
2643
2644         * calls.c (store_one_arg): Mark "variable_size" as possibly unused.
2645
2646         * regclass.c (record_reg_classes, case 'p'): Set classes appropriately.
2647         An alternative always fails if it needs a pseudo and no suitable
2648         register class can be found.
2649
2650 Wed Feb 24 19:47:56 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
2651
2652         * loop.h (loop_insn_first_p): Declare.
2653         * loop.c (loop_insn_first_p): No longer static.
2654         * unroll.c (iteration_info) Fix comparison to
2655         reg_iv_type->num_elements.
2656         Before accessing reg_biv_class, check index against
2657         max_reg_before_loop.
2658         Fix and enable code for giv iterators.
2659         (loop_iterations): Compare with reg_iv_type->num_elements instead
2660         of with max_reg_before_loop.
2661
2662 Wed Feb 24 19:17:11 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
2663
2664         * unroll.c (unroll_loop): Avoid out-of-bounds index for local_regno.
2665
2666 Wed Feb 24 11:26:41 1999  Vladimir N. Makarov  <vmakarov@cygnus.com>
2667
2668         * config/sparc/sparc.h (CONDITIONAL_REGISTER_USAGE): Don't use
2669         PIC_OFFSET_TABLE_REGNUM for register allocation when -fPIC.
2670
2671 Tue Feb 23 16:24:19 CET 1999 Marc Lehmann <pcg@goof.com>
2672
2673         * config/i386/i386.md: fix typoe.
2674
2675 Mon Feb 22 19:36:33 1999  Andrew Cagney  <cagney@b1.cygnus.com>
2676
2677         * config/mips/mips.c (mips_debugger_offset): When TARGET_MIPS16 &&
2678         frame_pointer_needed adjust frame size.
2679         (function_prologue): Don't MIPS16 .mask GPOFFSET. Already adjusted
2680         in .frame pseudo-op.
2681         Frm Jim Wilson  <wilson@cygnus.com>:
2682         * mips.c (function_prologue): Adjust frame size in .frame pseudo-op
2683         when TARGET_MIPS16 && frame_pointer_needed.
2684
2685 1999-02-22  Nick Clifton  <nickc@cygnus.com>
2686
2687         * config/arm/arm.h: Add TARGET_CPU_strongarm1100.
2688         Add -mno-sched command line switch to disable scheduling of
2689         instructions into the function's prologue.
2690         (enum processor_type): Remove.
2691         (TARGET_OPTIONS): Add "fpe=" option to match documentation.
2692         (struct arm_cpu_select): Replace 'set_tune_p' and 'set_arch_p'
2693         fields with 'processors' field.
2694         (CONDITIONAL_REGISTER_USAGE): Allow r10 to be used if stack
2695         checking is not enabled.
2696         (RETURN_IN_MEMORY): Always call arm_return_in_memory.
2697         
2698         * config/arm/arm.c: (arm_cpu): Remove.
2699         (tune_flags): Remove.
2700         (arm_is_strong): New variable: true iff the target processor is a 
2701         StrongARM.
2702         (arm_is_6_or_7): New variable: true iff the target processor is an
2703         ARM6 or and ARM7.
2704         (arm_select): Fields reorganised.
2705         (struct processors): processor_type field removed.
2706         (all_procs): Remove.
2707         (all_cores): New array: Definitions of all known ARM cpu cores.
2708         (all_architectures): New array: Definitions of all known ARM
2709         architectures. 
2710         (streq): New macro.
2711         (FL_SCHED): New processor flag: processor required load
2712         scheduling.
2713         (FL_STRONG): New processor flag: processor is a StrongARM.
2714         (arm_override_options): Reorganised to make code clearer.
2715         (use_return_insn): Test for "not (TARGET_APCS and
2716         frame_pointer_needed)".
2717         (arm_return_in_memory): Improve handling of structures.
2718         
2719         * config/arm/arm.md: Remove "cpu" attribute.  Replace with
2720         "is_strongarm" and "is_arm_6_or_7" attributes.
2721         (zero_extendhisi2): Check for TARGET_SHORT_BY_BYTES before
2722         arm_arch4.
2723         (extendhisi2):  Check for TARGET_SHORT_BY_BYTES before arm_arch4. 
2724
2725         * invoke.texi (ARM Options): Document -mtune= and -mfp= options.
2726         
2727 1999-02-22  Philip Blundell  <philb@gnu.org>
2728
2729         * config/arm/linux-gas.h (INITIALIZE_TRAMPOLINE): Replace default
2730         definition with one including cache synchronisation.
2731         (CLEAR_INSN_CACHE): Correct syscall number and enable definition.
2732         Move definition of inhibit_libc to...
2733         * config/arm/xm-linux.h: ... here.
2734
2735         * config/arm/t-linux: Disable multilib configurations since the
2736         only effect for most people is to cause builds to fail.
2737         
2738         * config/arm/elf.h (ASM_FILE_START): Add .file directive.
2739         (ASM_SPEC): Translate -mapcs-float to -mfloat for the assembler.
2740
2741         * config/arm/linux-elf.h (DEFAULT_VTABLE_THUNKS): Define.
2742         (HANDLE_SYSV_PRAGMA): Likewise.
2743         (LIB_SPEC): Copy definition from generic Linux files.
2744         (LIBGCC_SPEC): Include -lfloat if -msoft-float was given.
2745         (FP_DEFAULT): Set to SOFT3 on 32-bit targets.
2746         (DWARF2_DEBUGGING_INFO): Define.
2747         (PREFERRED_DEBUGGING_TYPE): Define as DBX_DEBUG.
2748
2749 Mon Feb 22 16:54:18 EST 1999  Andrew MacLeod  <amacleod@cygnus.com>
2750
2751         * loop.c (libcall_other_regs): Make extern.
2752         * rtl.h (find_last_value): Add parameter to prototype.
2753         (libcall_other_reg): Add extern declaration.
2754         * rtlanal.c (find_last_value): Add another parameter to allow
2755         a definition using a hardware register to be found as well.
2756
2757 Mon Feb 22 13:33:47 1999  Mark Mitchell  <mark@markmitchell.com>
2758
2759         * cse.c (dump_class): New function.
2760         (invalidate_memory): Fix typo in comment.
2761         * function.c (temp_slot): Add an alias set field.  
2762         (assign_stack_temp): Only reuse slots if they will have the
2763         same alias set as before.
2764         (combine_temp_slots): Don't combine if -fstrict-aliasing;
2765         that's unsafe.
2766         * rtl.c (copy_rtx): Copy all the flags (in particular,
2767         MEM_SCALAR_P).
2768
2769 Mon Feb 22 14:13:23 1999  Vladimir N. Makarov  <vmakarov@cygnus.com>
2770
2771         * configure.in (i[34567]86-*-linux-gnu*,
2772         i[34567]86-*-linux-gnulibc1, i[34567]86-*-linux-gnuaout*,
2773         i[34567]86-*-linux-gnuoldld*): Use fixinc.x86-linux-gnu as
2774         fixincludes.
2775
2776         * configure: Rebuilt.
2777
2778         * fixinc.x86-linux-gnu: New script for fixing asm-statements bug
2779         on x86 linux.
2780
2781         * fixinc/fixinc.x86-linux-gnu: Copy of the previous one.
2782
2783         * fixinc/mkfixinc.sh (i[34567]86-*-linux-gnu*,
2784         i[34567]86-*-linux-gnulibc1, i[34567]86-*-linux-gnuaout*,
2785         i[34567]86-*-linux-gnuoldld*): Use fixinc.x86-linux-gnu as
2786         fixincludes.
2787
2788 Mon Feb 22 08:55:05 1999  Ovidiu Predescu  <ovidiu@cup.hp.com>
2789
2790         * objc/objc-act.c (encode_type): Temporary revert to the old
2791         behavior of encoding types as the new one seems to break the
2792         encoding of bitfields.
2793
2794 Mon Feb 22 11:40:44 1999  Craig Burley  <craig@jcb-sc.com>
2795 Sat Feb 20 09:59:36 1999  Craig Burley  <craig@jcb-sc.com>
2796
2797         * Makefile.in (all.internal, all.cross): Depend on `doc'
2798         target, to ensure docs get made before installation.
2799
2800
2801         Decrease spurious warnings from -fsyntax-only:
2802         * stmt.c (expand_expr_stmt): Expand expr even when -fsyntax-only.
2803
2804 Mon Feb 22 10:55:00 1999  Gavin Romig-Koch  <gavin@cygnus.com>
2805
2806         * c-lex.c (yylex): Replace warning about integer constants being
2807         larger than long-longs, with a warning about integer constants 
2808         being larger than the largest target integer.
2809
2810 Mon Feb 22 08:35:38 1999  Craig Burley  <craig@jcb-sc.com>
2811
2812         Fix -fsyntax-only ICEs:
2813         * varasm.c (assemble_zeros, assemble_variable,
2814         output_constant_def): Do nothing when -fsyntax-only.
2815
2816 Fri Feb 19 18:18:56 1999  Don Bowman  <don@pixstream.com>
2817
2818         * configure.in (mips*-*-vxworks*): Enable gthreads vxworks support.
2819         * configure: Rebuilt.
2820
2821 Sun Feb 21 20:34:44 PST 1999 Jeff Law  (law@cygnus.com)
2822
2823         * version.c: Bump for snapshot.
2824
2825 Sun Feb 21 20:35:10 1999  Jeffrey A Law  (law@cygnus.com)
2826
2827         * config/aoutos.h (ASM_OUTPUT_CONSTRUCTOR): Delete.
2828         (ASM_OUTPUT_DESTRUCTOR, ASM_OUTPUT_GC_ENTRY): Likewise.
2829         * tm.texi: Update docs for constructors and destructors.
2830
2831 Sun Feb 21 17:11:18 1999  Richard Henderson  <rth@cygnus.com>
2832
2833         * genattrtab.c (check_attr_value): Allow negative const_int if
2834         negative_ok.  Accept integral arithmetic operators.  Accept
2835         direct references to other attributes.  Accept symbol_ref in
2836         non-constant attributes.
2837         (max_attr_value): Add new argument `unknownp'.  Update all callers.
2838         (or_attr_value): Likewise.
2839         (simplify_knowing): Don't optimize if max_attr_value unknown.
2840         (write_length_unit_log): Likewise with or_attr_value.
2841         (find_and_mark_used_attributes): Don't fallthru case.
2842         (write_attr_set): Pass thru all non-cond expressions.
2843         (write_attr_value): Handle symbol_ref, attr, and arithmetic.
2844
2845 Sun Feb 21 13:16:44 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
2846
2847         * regmove.c (discover_flags_reg): Use word_mode instead of SImode.
2848
2849 Sun Feb 21 13:15:40 1999  Richard Henderson  <rth@cygnus.com>
2850
2851         * regmove.c (discover_flags_reg): Remove cc0 code.
2852         (mark_flags_life_zones) [HAVE_cc0]: Force use of cc0; bail if
2853         a potential flags register was identified.
2854
2855 Sat Feb 20 16:16:07 1998  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
2856
2857         * rs6000.md (scc plus ltu): Fix typo in last change.
2858
2859 Sat Feb 20 09:08:44 1999  Richard Earnshaw  (rearnsha@arm.com)
2860
2861         * xm-arm.h (HOST_BITS_PER_LONGLONG): Define.
2862
2863 Fri Feb 19 23:02:02 1999  Richard Henderson  <rth@cygnus.com>
2864
2865         * regmove.c (discover_flags_reg): New function.
2866         (flags_set_1, mark_flags_life_zones): New functions.
2867         (regmove_optimize): Call them.
2868         (fixup_match_1): Use insn modes rather than sets_cc0_p.
2869
2870 Fri Feb 19 22:47:01 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
2871
2872         * rtlanal.c (insn_first_p): Fix return value for insn == reference.
2873
2874         * loop.c (strength_reduce, check_final_value, check_dbra_loop):
2875         Use loop_insn_first_p.
2876
2877 Fri Feb 19 15:49:26 1999  Michael Meissner  <meissner@cygnus.com>
2878                           David Edelsohn  <edelsohn@gnu.org>
2879
2880         * rs6000.md (scc plus eq): Fix output template.
2881         (scc plus ltu): Fix output template and collapse variants
2882         correcting early clobbers.
2883         (scc plus geu): Fix output template.
2884         (scc plus gt): Fix output template.
2885         (scc plus gtu): Fix output template and collapse variants.
2886
2887 Fri Feb 19 15:43:59 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2888
2889         * cppinit.c (print_help): Remove unescaped newline in string.
2890
2891 Fri Feb 19 19:55:06 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
2892
2893         * loop.c (strength_reduce): Check for intervening jumps when
2894         converting biv increment to giv.
2895
2896 Thu Feb 18 16:36:58 1999  Per Bothner  <bothner@cygnus.com>
2897
2898         * tree.def (TRY_FINALLY_EXPR, GOTO_SUBROUTINE_EXPR):  New tree nodes,
2899         * expr.c (expand_expr):  Support new tree nodes.
2900
2901 Fri Feb 19 10:17:56 1999  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
2902
2903         * config/m68k/m68k.c (m68k_align_loops_string,
2904         m68k_align_jumps_string, m68k_align_funcs_string): Add const.
2905         * config/m68k/m68k.h (m68k_align_loops_string,
2906         m68k_align_jumps_string, m68k_align_funcs_string): Likewise.
2907
2908 Thu Feb 18 23:28:35 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2909
2910         * bitmap.c (bitmap_print): Qualify a char* with the `const' keyword.
2911          
2912         * bitmap.h (bitmap_print): Likewise.
2913          
2914         * c-decl.c (builtin_function, grokdeclarator, grokfield): Likewise.
2915          
2916         * c-lang.c (build_objc_string): Likewise.
2917          
2918         * c-lex.c (yyerror, extend_token_buffer): Likewise.  Don't include
2919         limits.h or ctype.h.  Remove unused variable `p'.
2920          
2921         * c-lex.h (yyerror): Qualify a char* with the `const' keyword.
2922          
2923         * c-pragma.c (handle_pragma_token): Likewise.
2924          
2925         * c-pragma.h (handle_pragma_token): Likewise.
2926          
2927         * c-tree.h (build_objc_string, builtin_function, grokfield,
2928         build_indirect_ref, lvalue_or_else, readonly_warning, error_init,
2929         pedwarn_init): Likewise.
2930          
2931         * c-typeck.c (convert_for_assignment, warn_for_assignment,
2932         push_string, warning_init, incomplete_type_error,
2933         build_indirect_ref, lvalue_or_else, readonly_warning,
2934         build_c_cast, spelling, push_member_name, print_spelling,
2935         error_init, pedwarn_init, start_init): Likewise.
2936          
2937         * objc/objc-act.c (build_objc_string): Likewise.
2938          
2939         * print-tree.c (print_node_brief, print_node): Likewise.
2940          
2941         * tree.h (lvalue_or_else, print_node, print_node_brief): Likewise.
2942
2943 Thu Feb 18 20:44:21 1999  David Edelsohn  <edelsohn@gnu.org>
2944
2945         * regclass.c (record_reg_classes): Correctly handle 'p' constraint.
2946
2947 Thu Feb 18 19:59:37 1999  Marc Espie <espie@cvs.openbsd.org>
2948
2949         * configure.in :Handle OpenBSD platforms.
2950         * configure: Rebuilt.
2951         * config/openbsd.h: New file.
2952         * config/xm-openbsd.h: New file.
2953         * config/t-openbsd: New file.
2954         * config/t-openbsd-thread: New file.
2955
2956 Thu Feb 18 18:47:09 1999  Jeffrey A Law  (law@cygnus.com)
2957
2958         * function.c (assign_stack_temp_for_type): Round SIZE before calling
2959         assign_stack_local for BLKmode slots.
2960
2961 Fri Feb 19 01:45:06 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
2962
2963         * loop.c (strength_reduce): For derived givs, replace the
2964         giv this was derived from with its new_reg.
2965         (recombine_givs): Don't set new_reg for derived giv.
2966         And don't print it, print SUM instead.
2967
2968 Thu Feb 18 15:52:49 1999  Jim Wilson  <wilson@cygnus.com>
2969
2970         * m68kelf.h (ASM_RETURN_CASE_JUMP): Add 5200 support.
2971
2972 1999-02-18 18:32 -0500  Zack Weinberg  <zack@rabi.columbia.edu>
2973
2974         * cpplib.c: Kill define of STDC_VALUE.  Don't include output.h
2975           or prefix.h. Change CPP_IS_MACRO_BUFFER to not refer to
2976           macro_cleanup.
2977           (GET_ENV_PATH_LIST, PATH_SEPARATOR, STANDARD_INCLUDE_DIR,
2978           predefs, SIZE_TYPE, PTRDIFF_TYPE, WCHAR_TYPE,
2979           CPP_WCHAR_TYPE, USER_LABEL_PREFIX, REGISTER_PREFIX, struct
2980           cpp_pending, version_string, struct default_include,
2981           include_defaults_array, path_include, cpp_options_init,
2982           dump_special_to_buffer, initialize_builtins, cpp_start_read,
2983           cpp_reader_init, nreverse_pending, push_pending, print_help,
2984           cpp_handle_option, cpp_handle_options, cpp_finish,
2985           cpp_cleanup): Move to cppinit.c.
2986           (macro_cleanup, struct arglist, collect_expansion,
2987           create_definition, compare_defs, comp_def_part, ARG_BASE,
2988           struct argdata, macarg, change_newlines, timestamp,
2989           monthnames, special_symbol, unsafe_chars, macroexpand,
2990           push_macro_expansion): Move to cpphash.c.
2991           (quote_string, check_macro_name, cpp_expand_to_buffer,
2992           output_line_command, cpp_undef): Export.
2993           (null_underflow, null_cleanup, handle_directive): Make static.
2994
2995         * cpplib.h: Prototype now-exported functions.  Adjust decls of
2996           syntax tables so we can include cpplib.h in cppinit.c.
2997         * cpphash.h: Prototype all functions exported by cpphash.c.
2998         * cppinit.c: Make syntax tables initialized data if possible
2999           (uses GCC designated-initializer extension).
3000         * cppexp.c:  Make cpp_lex static.
3001         * Makefile.in: Move -D switches for the various include dirs
3002           from cpplib.o rule to cppinit.o rule.  Adjust dependencies.
3003
3004 Thu Feb 18 13:15:56 1999  Marc Espie <espie@cvs.openbsd.org>
3005
3006         * alpha/openbsd.h: New file.
3007         * alpha/xm-openbsd.h: New file.
3008         * sparc/openbsd.h: New file.
3009         * sparc/xm-openbsd.h: New file.
3010         * m68k/openbsd.h: New file.
3011         * m68k/xm-openbsd.h: New file.
3012         * i386/openbsd.h: New file, originally from netbsd.
3013         * i386/xm-openbsd.h: New file.
3014
3015 1999-02-17 14:49 -0500  Zack Weinberg  <zack@rabi.columbia.edu>
3016
3017         * Makefile.in: Correct dependencies for cpplib object files.
3018
3019 Wed Feb 17 14:04:18 1999  Michael Meissner  <meissner@cygnus.com>
3020
3021         * rs6000.md ({add,sub}si3 `.'): Add alternatives to use CR other
3022         than cr0.
3023
3024 Wed Feb 17 16:59:28 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
3025
3026         * loop.c (strength_reduce): Don't move giv insn for biv turned giv
3027         below scan_start.
3028
3029 Wed Feb 17 10:56:24 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
3030
3031         * tree.c (tree_node_kind_names, print_obstack_name,
3032         get_identifier, maybe_get_identifier, build_string,
3033         build_expr_wfl, is_attribute_p, lookup_attribute,
3034         print_obstack_statistics, get_file_function_name_long, tree_check,
3035         tree_class_check, expr_check): Qualify a char* with the `const'
3036         keyword.
3037
3038         * tree.h (get_identifier, maybe_get_identifier, build_string,
3039         build_expr_wfl, is_attribute_p, lookup_attribute,
3040         print_obstack_statistics, print_obstack_name, tree_check,
3041         tree_class_check, expr_check): Likewise.
3042
3043 Tue Feb 16 21:29:38 1999  Jeffrey A Law  (law@cygnus.com)
3044
3045         * i386/freebsd-elf.h, i386/gas.h, i386/linux.h: Fix minor spacing
3046         errors.
3047
3048         * calls.c (store_one_arg): Mark any slots used for the argument
3049         as in-use immediately after we're done saving any slots which
3050         will be overwritten by this argument. 
3051
3052 Tue Feb 16 21:02:07 1999  Anton Hartl <toni@devsoft.com>
3053
3054         * rs6000.md (call_value): Fix typo.
3055
3056 Wed Feb 17 01:29:07 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
3057
3058         * loop.c (strength_reduce): Calculate maybe_dead before
3059         calling recombine_givs.
3060
3061 Wed Feb 17 00:43:12 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
3062
3063         * loop.c (strength_reduce): Dump biv increment -> giv conversions.
3064
3065 Tue Feb 16 15:31:39 1999  Ovidiu Predescu  <ovidiu@cup.hp.com>
3066
3067         * objc/objc-act.c (encode_type): Encode the type instead of
3068         encoding the mode of the type (patch from Richard Frith-Macdonald
3069         <richard@brainstorm.co.uk>).
3070
3071 Tue Feb 16 10:53:51 1999  Richard Earnshaw (rearnsha@arm.com)
3072
3073         * config/arm/arm.md (*zeroextractqi_compare0_scratch): Re-add load
3074         instruction killed in previous change.  Simplify mask generation.
3075         (*zeroextractsi_compare0_scratch): Simpify mask generation.
3076
3077 Tue Feb 16 09:52:26 1999  Nick Clifton  <nickc@cygnus.com>
3078
3079         * config/arm/arm.md (zeroextractqi_compare0_scratch): Ensure that
3080         bitfield does not overflow a byte boundary.
3081
3082 Tue Feb 16 01:37:33 1999  Charles G Waldman  <cgw@alum.mit.edu>
3083
3084         * c-common.c (shorten_compare): Get the min/max value from the
3085         underlying type of an enumeration, not the enumerated type itself.
3086
3087 Mon Feb 15 23:04:48 1999  Jeffrey A Law  (law@cygnus.com)
3088
3089         * jump.c: Include insn-attr.h.
3090         (delete_computation): If reload has completed and insn scheduling
3091         after reload is enabled, then do not depend on REG_DEAD notes.
3092         * Makefile.in (jump.o): Depend on insn-attr.h.
3093
3094 Mon Feb 15 16:57:38 1999  Richard Henderson  <rth@cygnus.com>
3095
3096         * i386.md (addsi3): Allow lea for any constant_p.
3097
3098 1999-02-15 17:11 -0500  Zack Weinberg  <zack@rabi.columbia.edu>
3099
3100         * toplev.c (documented_lang_options): Remove -fident and
3101           -fnoident, which are now handled by the language independent
3102           option parser.
3103
3104 1999-02-15 16:59 -0500  Zack Weinberg  <zack@rabi.columbia.edu>
3105
3106         * c-common.c (UNGETC [USE_CPPLIB=1]): Do nothing if c is EOF.
3107         * c-lex.c: Likewise.
3108         * cpplib.c (cpp_push_buffer, cpp_pop_buffer): Use a linked
3109         list in malloced memory for the buffer stack.
3110         (cpp_get_token): Don't pop the last buffer off the stack.
3111         Calls after CPP_EOF has been returned produce CPP_EOF with no
3112         state change.
3113         (cpp_finish): Pop last buffer here.
3114         (do_line): Don't free ip->last_nominal_fname if it is equal to
3115         ip->fname.
3116         (special_symbol): If a T_CONST is the empty string, push a
3117         single `@ ' escape instead.
3118         (macroexpand): Special symbol buffers have escapes too.
3119         * cpplib.h (struct cpp_buffer): Remove unused fields, add prev
3120         buffer pointer.
3121         (struct cpp_reader): Remove buffer_stack.  Add
3122         buffer_stack_depth.
3123         (CPP_PREV_BUFFER, CPP_NULL_BUFFER): Buffer stack is now a
3124         linked list.
3125
3126 Mon Feb 15 14:44:53 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
3127
3128         * cccp.c: Don't define HOST_WIDE_INT.  Replace all occurrences of
3129         WIDE_INT with WIDEST_INT.
3130
3131         * cexp.y: Likewise.
3132         Don't define unsigned_HOST_WIDE_INT, CHAR_BIT or
3133         HOST_BITS_PER_WIDE_INT.  Replace occurrences of PRINTF_PROTO_1()
3134         style with PVPROTO() ATTRIBUTE_PRINTF_1 style macros.  Replace
3135         occurrences of "unsigned_HOST" with "unsigned HOST".  Provide a
3136         definition of variable `c89' when compiling a test binary and set it.
3137
3138         * system.h: Don't define the PRINTF_PROTO_* macros.
3139
3140 Mon Feb 15 11:33:51 1999  Jeffrey A Law  (law@cygnus.com)
3141
3142         * loop.c (mark_loop_jump): Handle LO_SUM.  If we encounter something
3143         we do not understand, mark the loop and containing loops as invalid.
3144
3145 Mon Feb 15 00:40:45 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
3146
3147         * alias.c (init_alias_analysis): Avoid self-referential value
3148         when setting reg_known_value from REG_EQUAL notes.
3149
3150 Sun Feb 14 23:12:10 1999  Richard Henderson  <rth@cygnus.com>
3151
3152         * i386.c (legitimate_address_p): Verify modes of base and index.
3153
3154 Sun Feb 14 23:01:28 1999  Richard Henderson  <rth@cygnus.com>
3155
3156         * i386.c (legitimate_pic_address_disp_p): Remove static.
3157         * i386.h (LEGITIMATE_PIC_OPERAND_P): Use it instead of
3158         open-coding cases.
3159
3160 Sun Feb 14 21:03:28 1999  Jeffrey A Law  (law@cygnus.com)
3161
3162         * except.c (start_catch_handler): Use emit_cmp_and_jump_insns.
3163         * explow.c (probe_stack_range): Likewise.
3164         * expmed.c (do_cmp_and_jump): Likewise.
3165         * expr.c (store_expr, expand_expr, expand_builtin): Likewise.
3166         (do_tablejump): Likewise.
3167         * stmt.c (expand_expr_stmt, expand_end_case): Likewise.
3168         (do_jump_if_equal, emit_case_nodes): Likewise.
3169         * optabs.c (emit_cmp_and_jump_insns): Clarify comments.  If UNSIGNEDP,
3170         then convert comparison to an unsigned code before emitting the jump.
3171         (expand_float, expand_fix): Use emit_cmp_and_jump_insns.
3172
3173 Sun Feb 14 02:24:15 PST 1999 Jeff Law  (law@cygnus.com)
3174
3175         * version.c: Bump for snapshot.
3176
3177 Sun Feb 14 01:15:04 PST 1999 Jeff Law  (law@cygnus.com)
3178
3179         * version.c: Bump for snapshot.
3180
3181 Sun Feb 14 00:45:50 1999  Jeffrey A Law  (law@cygnus.com)
3182
3183         * loop.c: Disable recent loop changes.  Temporary as Joern
3184         continues to fix problems.
3185
3186 Sat Feb 13 23:29:42 1999  Richard Henderson  <rth@cygnus.com>
3187
3188         * loop.c (combine_givs_used_by_other): Delete.
3189         (combine_givs_benefit_from): Delete.
3190         (combine_givs): Deny combination of givs only used once.  Simplify
3191         code with the death of combine_givs_benefit_from.
3192
3193 Sun Feb 14 11:24:05 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
3194
3195         * loop.c (scan_loop): Call reg_in_basic_block_p before
3196         loop_reg_used_before_p.
3197
3198 Sat Feb 13 05:32:00 1999  Richard Earnshaw (rearnsha@arm.com)
3199
3200         * arm.md: Use gen_rtx_FOO instead of gen_rtx (FOO, ...).
3201         * arm.h: Likewise.
3202         * arm.c: Likewise.
3203
3204         * arm.h (TARGET_OPTIONS): Reformat for clarity.
3205         (GO_IF_LEGITIMATE_ADDRESS): When generating PIC, references to symbols
3206         in the constant pool aren't valid.
3207         (LEGITIMATE_PIC_OPERAND_P): Likewise.
3208
3209         * arm.c: Include "system.h", not stdio.h and string.h.
3210
3211 Fri Feb 12 13:06:28 1999  Jim Wilson  <wilson@cygnus.com>
3212
3213         * stmt.c (expand_return): Return if optimize_tail_recursion succeeded.
3214         (optimize_tail_recursion): Change return type from void to int.
3215         Add return statements.
3216         * tree.h (optimize_tail_recursion): Change prototype to match.
3217
3218 Fri Feb 12 21:09:51 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
3219
3220         * reload.c (find_reloads_subreg_address): New function, broken out of
3221         find_reloads_toplev.
3222         (find_reloads_toplev, find_reloads_address_1): Use it.
3223
3224 Fri Feb 12 13:20:52 1999  Jeffrey A Law  (law@cygnus.com)
3225
3226         * h8300.md (zero_extendhisi2 H8/300 variant): Correctly handle
3227         extending a CONST_INT.
3228
3229         * h8300.md (peephole for combining memrefs): Delete incorrect peephole.
3230
3231 Fri Feb 12 18:29:11 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
3232
3233         * loop.c (loop_insn_first_p, biv_elimination_giv_has_0_offset):
3234         New functions.
3235         (maybe_eliminate_biv_1): Use biv_elimination_giv_has_0_offset.
3236
3237 Fri Feb 12 16:56:10 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
3238
3239         * loop.c (load_mems): Don't guess how to do a load / store, use
3240         emit_move_insn.
3241
3242 Fri Feb 12 09:24:26 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
3243
3244         * system.h: Provide a definition for HOST_WIDEST_INT, etc.
3245
3246 Fri Feb 12 23:37:26 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
3247
3248         * config/c4x/c4x.c (c4x_address_cost): Revert 9 Feb change. 
3249
3250 Fri Feb 12 00:51:26 1999  Jeffrey A Law  (law@cygnus.com)
3251
3252         * reload.c (find_reloads_address_1): Fix handling of an autoincremented
3253         pseudo which is homed in the stack.
3254
3255         * mips.c (save_restore_insns): Fix loop to save/restore FP registers.
3256         (compute_frame_size): Change loop over FP regs to be consistent
3257         with the loop in save_restore_insns.
3258
3259 Thu Feb 11 17:38:40 1999  Jim Wilson  <wilson@cygnus.com>
3260
3261         * i960/i960.h (OVERRIDE_OPTIONS): Warn if -mlong-double-64 is used.
3262         (LONG_DOUBLE_TYPE_SIZE): Undef then unconditionally define to 96.
3263
3264 Thu Feb 11 15:11:35 1999  Jeffrey A Law  (law@cygnus.com)
3265
3266         * mn10200.md (bset); Re-enable.
3267
3268 Thu Feb 11 15:20:49 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
3269
3270         * sh.md (is_sfunc): New attribute.
3271         * sh.h (INSN_SETS_ARE_DELAYED, INSN_REFERENCES_ARE_DELAYED): Use it.
3272
3273 Thu Feb 11 01:06:49 1999  Nathan Sidwell  <nathan@acm.org>
3274
3275         * fold-const.c (range_binop): Take account of the bounded nature
3276         of fixed length arithmetic when comparing unbounded ranges.
3277
3278 Thu Feb 11 00:08:17 1999  John Wehle  (john@feith.com)
3279
3280         * function.c (assign_stack_temp_for_type): Clear best_p
3281         when an exact match is found.
3282
3283         * i386.h (LOCAL_ALIGNMENT): Define.
3284         * function.c (assign_stack_local, assign_outer_stack_local): Use it.
3285         (assign_stack_temp_for_type): New function based on assign_stack_temp.
3286         (assign_stack_temp): Call it.
3287         (assign_temp): Use assign_stack_temp_for_type, not assign_stack_temp.
3288         * stmt.c: Use assign_temp, not assign_stack_temp.
3289         * tm.texi: Document LOCAL_ALIGNMENT.
3290
3291 Wed Feb 10 23:28:28 1999  Jeffrey A Law  (law@cygnus.com)
3292
3293         * reorg.c: Finish deleting half-deleted comment.
3294
3295 Wed Feb 10 17:12:21 1999  Jim Wilson  <wilson@cygnus.com>
3296
3297         * emit-rtl.c (operand_subword): Sign extend REAL_VALUE_TO_TARGET_SINGLE
3298         result.
3299         * final.c (split_double): Sign extend REAL_VALUE_TO_TARGET_DOUBLE
3300         result.
3301         * real.c (endian): Delete sign extension code.
3302         * config/m32r/m32r.md (movsf_insn+1): REAL_VALUE_TO_TARGET_SINGLE call
3303         replaced with operand_subword call.
3304
3305 Wed Feb 10 15:16:39 1999  Richard Henderson  <rth@cygnus.com>
3306
3307         * alpha.md (cmov compound patterns): Delete.  Jump can now
3308         create the correct constructs in the first place.
3309
3310 Wed Feb 10 11:03:22 1999  Richard Henderson  <rth@cygnus.com>
3311
3312         * configure.in (alphaev6*): Fix typo in target_cpu_default2.
3313
3314 Wed Feb 10 13:59:18 1999  Dave Brolley  <brolley@cygnus.com>
3315
3316         * mbchar.c (local_mb_cur_max): Handle the case where MB_CUR_MAX is 0.
3317
3318 Wed Feb 10 10:35:05 1999  Jim Wilson  <wilson@cygnus.com>
3319
3320         * tmp-emsgids.c: Delete.
3321
3322 Wed Feb 10 09:57:08 1999  Mark Mitchell  <mark@markmitchell.com>
3323
3324         * rtlanal.c (for_each_rtx): Fix declaration to conform to GNU
3325         coding standards.
3326
3327 Wed Feb 10 10:09:41 1999  Jeffrey A Law  (law@cygnus.com)
3328
3329         * mn10200.md (bset, bclr): Operand 0 is a read/write operand.
3330
3331         * reload1.c (reload_combine_note_store): Second argument is no
3332         longer unused/ignored.  Handle multi-register hard regs.
3333         (move2add_note_store): Simplify.
3334
3335 Wed Feb 10 10:05:23 1999  Mumit Khan  <khan@xraylith.wisc.edu>
3336
3337         * collect2.c (collect_execute): Remove cygwin-specific code.
3338
3339 Tue Feb  9 17:27:29 GMT 1999  Nathan Sidwell  <nathan@acm.org>
3340
3341         * system.h (_, N_): Remove dummy i18n macros.
3342         * protoize.c: Move inclusion of intl.h to after system.h.
3343         * cexp.y: Include intl.h.
3344         * cexp.c: Rebuilt.
3345
3346 Tue Feb  9 16:52:22 1999  Mumit Khan  <khan@xraylith.wisc.edu>
3347
3348         * i386/cygwin.h (SUBTARGET_OVERRIDE_OPTIONS): New macro to ignore 
3349         fpic/fPIC for windows32 targets.
3350         * i386/xm-cygwin.h (GET_ENV_PATH_LIST): Replace '\\' in windows32
3351         paths with '/'.
3352         * i386/mingw32.h (CPP_SPEC): Define.
3353         (CPP_PREDEFINES): Add MINGW32 version id.
3354         * i386/crtdll.h (CPP_PREDEFINES): Likewise.
3355
3356         * Makefile.in (collect2$(exeext)): Delete redundant dependency and
3357         add missing exeext to target.
3358
3359         * gcc.c (convert_filename): Handle null filename argument.
3360
3361 Wed Feb 10 15:46:10 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
3362
3363         * config/c4x/c4x.md (*movhf_noclobber, *movhi_noclobber): Use
3364         m constraint instead of QT.
3365
3366 1999-02-09  Brendan Kehoe  <brendan@cygnus.com>
3367
3368         * cpplib.c (special_symbol): Move IP to be declared in function
3369         scope, rather than individual case statements.
3370
3371 1999-02-09 16:42 -0500  Zack Weinberg  <zack@rabi.columbia.edu>
3372
3373         * cppfiles.c (finclude):  Handle pipes properly under old BSD
3374           derivatives.
3375
3376 1999-02-09 16:42 -0500  Melissa O'Neill <oneill@cs.sfu.ca>
3377
3378         * system.h: Provide fallback definitions for S_ISCHR,
3379           S_ISSOCK, S_ISFIFO, O_NONBLOCK, and O_NOCTTY.
3380
3381 1999-02-09 10:30 -0500  Zack Weinberg  <zack@rabi.columbia.edu>
3382
3383         * cpplib.c (do_define): Allow redefining __STDC__ with -D.
3384
3385 1999-02-09  Jim Blandy  <jimb@zwingli.cygnus.com>
3386
3387         * configure.in: For PowerPC configurations, accept "401", "ec603e",
3388         "740", and "750" as valid arguments to --with-cpu.
3389         * configure: Rebuilt.
3390
3391 Tue Feb  9 00:00:14 1999  Mark Kettenis  <kettenis@gnu.org>
3392
3393         * configure.in (i[34567]86-*gnu*): Set float_format to i386.
3394         * configure: Rebuilt.
3395
3396 Mon Feb  8 22:38:24 1999  Jeffrey A Law  (law@cygnus.com)
3397
3398         * rs6000.md: Revert "alternate use of crs if cr0 not available"
3399         patches from 01-22-1999, 01-24-1999, 01-26-1999, and 02-08-1999.
3400
3401 Mon Feb  8 21:36:44 1999  Richard Henderson  <rth@cygnus.com>
3402
3403         * output.h (current_function_has_computed_jump): Rename from
3404         current_function_addresses_labels.
3405         * function.h (struct function): Likewise for addresses_labels member.
3406         * rtl.h (FUNCTION_FLAGS_HAS_COMPUTED_JUMP): Likewise.
3407         * function.c (current_function_has_computed_jump): Likewise.
3408         Update all references.
3409         * integrate.c (function_cannot_inline_p):
3410         Test current_function_has_computed_jump instead of addresses_labels.
3411         (initialize_for_inline): Likewise save.
3412         (output_inline_function): Likewise restore.
3413
3414         * expr.c (expand_expr): Don't reference addresses_labels variables.
3415         * stmt.c (expand_computed_goto): Set has_computed_jump.
3416
3417 1999-02-08  Michael Meissner  <meissner@cygnus.com>
3418
3419         This is being installed only to get it into the repository to help
3420         with the revert, resubmit & review process for the massive rs6000.md
3421         changes.
3422         * rs6000.md (andsi3_internal1 splitter): Don't split if using the
3423         rlwinm instruction.
3424         (anddi3_internal1): Ditto.
3425         (andsi3_internal{2,3}): Correct some insn lengths.
3426         (anddi3*): Restore missing TARGET_POWERPC64, and don't emit old
3427         mnemonics.
3428
3429 Mon Feb  8 21:31:06 1999  Richard Henderson  <rth@cygnus.com>
3430
3431         * loop.c (reg_single_usage): New file-scope variable ...
3432         (scan_loop): ... moved out of here.  Always initialize.
3433         Test loop_has_call instead of reg_single_usage not zero.
3434         Free reg_single_usage after strength reduction.
3435         (count_loop_regs_set): Assume single_usage non-zero.
3436         (combine_givs_used_by_other): Test reg_single_usage.
3437         (load_mems_and_recount_loop_regs_set): Remove reg_single_usage
3438         as a parameter.  Assume non-zero.
3439         
3440 1999-02-08 23:25 -0500  Zack Weinberg  <zack@midnite.ec.rhno.columbia.edu>
3441
3442         * cpplib.c (special_symbol): Rewrite.  Don't copy things
3443           multiple times.  Handle __STDC__ specially.  T_CONST
3444           indicates a constant /string/.  Don't handle T_*_TYPE and
3445           T_SPEC_DEFINED.  Use cpp_buf_line_and_col instead of
3446           adjust_position.  Determine the file buffer only if needed.
3447           (initialize_builtins): Handle __SIZE_TYPE__,
3448           __PTRDIFF_TYPE__, __WCHAR_TYPE__, __USER_LABEL_PREFIX__, and
3449           __REGISTER_PREFIX__ with T_CONST special hashtab entries.
3450           Don't provide __OBJC__; the driver does that.  Provide
3451           __STDC_VERSION__, using T_CONST.  Use T_STDC for
3452           __STDC__.  Give install the length of all symbols defined.
3453           (eval_if_expression): Drop code to insert and remove the
3454           "defined" special symbol.
3455
3456         * cpplib.h: Remove SELF_DIR_DUMMY (no longer used).  Remove
3457           T_*_TYPE and T_SPEC_DEFINED from enum node_type; add T_STDC.
3458
3459         * cpphash.c (install): Drop the `ivalue' parameter.  Constify
3460           the `value' parameter.  All callers changed.
3461         * cpphash.h (install): Change prototype to match.
3462           (union hashval): Remove `ival' member.
3463         * cppexp.c (cpp_lex): Handle `defined' here.
3464
3465 Mon Feb  8 17:29:42 1999  Jeffrey A Law  (law@cygnus.com)
3466
3467         * pa.h (EXTRA_CONSTRAINT): Fix comment.
3468
3469 Mon Feb  8 18:57:45 1999  Vladimir N. Makarov  <vmakarov@cygnus.com>
3470
3471         * c-typeck.c (check_init_type_bitfields): Use nonincremental
3472         initialization of unions whose first member is a bitfield.
3473         Remove unnecessary code for checking the declaration mode
3474         after DECL_C_BIT_FIELD.
3475
3476         * varasm.c (output_constructor): Additional comment about the
3477         constructor of bitfield union initialization.
3478
3479 Tue Feb  9 11:55:04 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
3480
3481         * config/c4x/c4x.md (*movhi_stik): New pattern.
3482         (movhi): Allow some immediate constants to be directly
3483         stored in memory.
3484
3485 Tue Feb  9 11:34:15 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
3486
3487         * config/c4x/c4x.md (all call patterns): Add constraints "Ur".
3488         (call, call_value): Force address into a register if not valid
3489         for a call instruction.
3490         (load_immed_address): Emit a USE of the SYMBOL_REF that is
3491         forced into memory.
3492         * config/c4x/c4x.c (c4x_print_operand): Fix 'C' and 'U' modifiers.
3493
3494 Tue Feb  9 11:08:41 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
3495
3496         * config/c4x/c4x.c (call_address_operand, symbolic_address_operand):
3497         Rename from call_operand and symbolic_operand respectively.  All
3498         callers changed.
3499         * config/c4x/c4x.md (call_address_operand, symbolic_address_operand): 
3500         Likewise.
3501         * config/c4x/c4x.h (call_address_operand, symbolic_address_operand): 
3502         Likewise.
3503         (PREDICATE_CODES): Allow CONST, LABEL_REF for call_address_operand.
3504
3505 Tue Feb  9 10:52:27 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
3506
3507         * config/c4x/c4x.c (c4x_legitimize_address): Don't generate a
3508         LO_SUM address for HImode or HFmode but instead force address into
3509         a register so that it is offsettable.
3510         (c4x_emit_move_sequence): Handle LO_SUM immediate address.
3511
3512 Tue Feb  9 10:46:42 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
3513
3514         * config/c4x/c4x.c (c4x_address_cost): Return cost of 1 for
3515         REG+REG addressing if strength reduction enabled.
3516
3517 Tue Feb  9 10:10:31 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
3518
3519         * config/c4x/t-c4x  (LIBGCC2_CFLAGS): Delete.
3520         (TARGET_LIBGCC2_CFLAGS): Define.
3521         
3522 1999-02-08  Nick Clifton  <nickc@cygnus.com>
3523
3524         * config/v850/v850.md: Replace \\n\\t with \\;
3525         
3526         * config/v850/v850.md: Enforce TARGET_LONG_CALLS option.
3527         * config/v850/v850.c (construct_restore_jr, construct_save_jarl):
3528         Enforce TARGET_LONG_CALLS option. 
3529
3530 Mon Feb  8 11:43:07 1999  Donn Terry <donn@interix.com>
3531
3532         * real.c (PUT_REAL) [XFmode]: Zero the balance of the structure.
3533
3534 Mon Feb  8 11:37:24 1999  Marc Espie (espie@cvs.openbsd.org)
3535
3536         * m88k/t-luna-gas: Remove bash dependency.
3537
3538 Mon Feb  8 11:34:44 1999  Graham <grahams@rcp.co.uk>
3539
3540         * collect2.c (xrealloc): Fix typo in last change.
3541
3542 Mon Feb 8 09:13:38 PST 1999 Jeff Law  (law@cygnus.com)
3543
3544         * version.c: Bump for snapshot.
3545
3546 Sun Feb  7 22:18:42 1999  Robert Lipe  <robertlipe@usa.net>
3547
3548         * tree.h (TYPE_CHECK): Make it clear to the preprocessor
3549         that we do not want macro replacement within a character constant.
3550         (TYPE_CHECK1): Likewise.
3551
3552 Sun Feb  7 15:37:10 1999  Jason Merrill  <jason@yorick.cygnus.com>
3553
3554         * tree.h (DECL_P): New macro.
3555
3556 Sun Feb 7 01:15:04 PST 1999 Jeff Law  (law@cygnus.com)
3557
3558         * version.c: Bump for snapshot.
3559
3560 Sat Feb  6 18:14:46 1999  Jeffrey A Law  (law@cygnus.com)
3561
3562         * mn10300.md (reload_insi): Do not earlyclobber the output operand.
3563
3564         * README.g77, gcc.c, gcc.texi: Update email addresses.
3565         * invoke.texi system.h: Likewise.
3566
3567 Sat Feb  6 11:04:08 1999  Jim Wilson  <wilson@cygnus.com>
3568
3569         * unroll.c (find_splittable_givs): After express_from, call replace_rtx
3570         to convert dest_reg to new_reg.
3571
3572 Sat Feb  6 10:31:35 1999  Jeffrey A Law  (law@cygnus.com)
3573
3574         * reload1.c (reload_combine_note_store): Be more careful with
3575         STRICT_LOW_PART, ZERO_EXTRACT and SIGN_EXTRACT.
3576         (move2add_note_store): Likewise.
3577
3578 Sat Feb  6 10:18:01 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
3579
3580         * cppfiles.c (read_and_prescan): Cast the result of `xrealloc' to
3581         U_CHAR* when assigning to one.  Ensure the values of a ?: operator
3582         have the same type.
3583
3584         * cppinit.c (initialize_char_syntax): Use K&R function definition.
3585
3586 Sat Feb  6 11:17:03 1999  Richard Earnshaw <rearnsha@arm.com>
3587
3588         Support for ARM9
3589         * config/arm/arm.c (all_procs): Add arm9 and arm9tdmi.
3590         * config/arm/arm.h ((TARGET_CPU_arm9, TARGET_CPUD_arm9tdmi): Define.
3591         (TARGET_CPU_DEFAULT): Rework to support ARM9.
3592         (CPP_CPU_ARCH_SPEC): Likewise.
3593         (enum processor_type): Likewise.
3594         * config/arm/arm.md (attr cpu): Add arm9.
3595
3596         General scheduling changes 
3597         * config/arm/arm.c (MAX_INSNS_SKIPPED): Delete.
3598         (max_insns_skipped): New variable.
3599         (arm_override_options): If generating hard floating point code for
3600         the FPA, emit code for version 3.
3601         When optimizing for space, don't synthesize constants.
3602         Reword several flags based on the requested processor and optimization
3603         level.
3604         (use_return_insn): New argument iscond, all callers changed.  Don't
3605         use a return insn if it will be conditional and that would be 
3606         expensive; eg on StrongARM.
3607         (arm_adjust_cost): Anti- and output- dependencies normally have no
3608         cost.
3609         (load_multiple_sequence): Newer ARMs don't benefit from ldm if
3610         the sequence is short.
3611         (final_prescan_insn): Use max_insns_skipped instead of 
3612         MAX_INSNS_SKIPPED.  Note whether we will make a return instruction
3613         conditional, and aviod this if it would be expensive.
3614         * config/arm/arm.md (scheduling attributes and function units):
3615         Rewrite to better describe ARM8, 9 and StrongARM.
3616
3617         * config/arm/arm.md (*movhi_insn_littleend): Make op0 predicate 
3618         s_register_operand.
3619         (*ifcompare_plus_move): Use arm_rhs_operand in place of 
3620         arm_rhsm_operand.  Rework constraints.
3621         (*if_plus_move): Likewise.
3622         (*ifcompare_move_plus): Likewise.
3623         (*if_move_plus): Likewise.
3624         (*ifcompre_arith_move): Likewise.
3625         (*if_arith_move): Likewise.
3626         (*ifcompare_move_arith): Likewise.
3627         (*if_move_arith): Likewise.
3628
3629         * config/arm/xm-netbsd.h: Don't include arm/xm-arm.h.
3630         
3631 1999-02-05  Michael Meissner  <meissner@cygnus.com>
3632
3633         * loop.c (check_dbra_loop): A store using an address giv for which
3634         we have no life information is not reversible.
3635
3636 Fri Feb  5 17:08:01 1999  Dave Brolley  <brolley@cygnus.com>
3637
3638         * function.c (fixup_var_refs): Scan catch_clauses too.
3639
3640 Fri Feb  5 11:49:49 1999  Benjamin Kosnik  <bkoz@loony.cygnus.com>
3641
3642         * c-common.c (decl_attributes): Fix reserved space for init_priority.
3643         * tree.h (MAX_RESERVED_INIT_PRIORITY): New macro.
3644
3645 Fri Feb  5 12:37:05 1999  Jeffrey A Law  (law@cygnus.com)
3646
3647         * loop.c (strength_reduce): Clear not_every_iteration when 
3648         passing the NOTE_INSN_LOOP_CONT note.
3649
3650         * haifa-sched.c (add_dependence): Do not add a dependency on a
3651         note.
3652
3653 Fri Feb  5 10:55:43 1999  Nick Clifton  <nickc@cygnus.com>
3654
3655         * recog.c (split_block_insns): Only call update_flow_info if
3656         instruction scheduling is enabled.
3657
3658 1999-02-05 11:22 -0500  Zack Weinberg  <zack@rabi.columbia.edu>
3659
3660         * Makefile.in (gen-protos): Use libcpp.a like everyone else.
3661
3662 Fri Feb  5 07:09:29 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
3663
3664         * loop.c (first_loop_store_insn): New file-scope variable.
3665         (prescan_loop): Set it.
3666         (check_dbra_loop): Check if a store depends on a register
3667         that is set after the store.
3668
3669 Fri Feb  5 06:55:15 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
3670
3671         * unroll.c (entire file): Remove tabs / spaces at end of lines.
3672         Replace spaces with tabs where appropriate.
3673
3674 Thu Feb  4 15:12:41 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
3675
3676         * loop.c (scan_loop): New argument loop_cont.  Changed caller.
3677         (strength_reduce): New argument loop_cont. Changed caller.
3678         Before clearing not_every_iteration after a label, check if
3679         we are not already past LOOP_CONT.
3680
3681 1999-02-04 16:04 -0500  Zack Weinberg  <zack@rabi.columbia.edu>
3682
3683         * cpperror.c (cpp_print_containing_files): Fix formatting 
3684         bug induced by merge.
3685
3686 1999-02-04 14:33 -0500  Zack Weinberg  <zack@rabi.phys.columbia.edu>
3687
3688         * cpplib.c (initialize_char_syntax): Move to cppinit.c.
3689         (cpp_define): Remove redundant syntax checks.
3690         (make_assertion): Rename cpp_assert, remove redundant syntax
3691         checks, export.
3692         (cpp_options_init): Don't init things to zero twice.
3693         (cpp_expand_to_buffer): Use memcpy, not a char-by-char loop.
3694         (do_include): Kill excessively verbose #import warning that
3695         snuck back in in the gcc2 merge.
3696         (convert_string): Removed.
3697         (do_line): Rewrite with simple last-name-used cache instead of
3698         private hashtable.
3699         (cpp_start_read): Call initialize_char_syntax here, not...
3700         (cpp_reader_init): ...here.
3701         (cpp_handle_options): Support the -std switch.
3702         * cpplib.h (cpp_buffer): Add last_nominal_fname member.
3703         (cpp_options): Add c9x flag.
3704         Declare all the is_* tables and trigraph table here, as const.
3705         Prototype cpp_assert and initialize_char_syntax.
3706         * cppinit.c: New file.
3707         * cppfiles.c (read_and_prescan): Optimize.
3708         * Makefile.in (LIBCPP_OBJS): Add cppinit.o.
3709
3710 Thu Feb  4 10:46:30 1999  Gavin Romig-Koch  <gavin@cygnus.com>
3711
3712        * config/mips/mips.md ([u]divmodsi4,[u]divmoddi4,[u]divsi3,[u]divdi3,
3713         [u]modsi3,[u]moddi3) : Don't copy the "zero" argument to a register
3714         before calling gen_div_trap.
3715
3716 Wed Feb  3 21:56:27 1999  Jeffrey A Law  (law@cygnus.com)
3717
3718         * configure.in (hppa1.1-*-*, hppa2*-*): Use symbolic value rather
3719         than numeric value for target_cpu_default..
3720         * configure: Rebuilt.
3721
3722 Wed Feb  3 21:55:56 1999  Marc Espie <Marc.Espie@liafa.jussieu.fr>
3723
3724         * Makefile.in (xgcc$(exeext)): Remove choose-temp, pexecute and
3725         mkstemp.  Get them from libiberty.
3726         (COLLECT2_OBJS): Similarly for choose-temp, cplus-dem and mkstemp.
3727         (PROTO_OBJS): Similarly for choose-temp, getopt, getopt1 and pexecute.
3728         (cplus-dem.o, pexecute.o, choose-temp.o): Remove build rules.
3729         (mkstemp.o, getopt1.o, getopt.o): Likewise.
3730
3731         * pa-gas.h (TARGET_DEFAULT): Use symbolic values rather than numeric
3732         values.
3733         * pa-hpux.h (LINK_SPEC): Likewise.
3734         * pa-hpux10.h (LINK_SPEC): Likewise.
3735         * pa-hpux9.h (LINK_SPEC): Likewise.
3736         * pa-osf.h: (LINK_SPEC): Likewise.
3737         * pa-pro.h (TARGET_DEFAULT): Likewise.
3738         * pa1.h (TARGET_DEFAULT): Likewise.
3739         * pa.h (MASK_*): New defines.
3740         (TARGET_*): Use symbolic values rather than numeric values.
3741         (TARGET_SWITCHES): Likewise.
3742         (TARGET_DEFAULT): likewise.
3743         (CPP_SPEC): likewise.
3744
3745 Wed Feb  3 21:07:38 1999  Bernd Schmidt <crux@pool.informatik.rwth-aachen.de>
3746
3747         * reload1.c (reload_cse_regs_1): Undo Jan 16 patch.
3748         * reload.c (find_reusable_reload): New function, broken out of
3749         push_reload.  Add code to verify that none of the involved
3750         outputs are subject to earlyclobbers.
3751         (push_reload): Break out new function find_reusable_reload.
3752         Delete "register" keyword for IN, OUT args.
3753
3754 Wed Feb  3 15:51:04 1999  Gavin Romig-Koch  <gavin@cygnus.com>
3755
3756         * config/mips/mips.c (true_reg_or_0_operand) : New function.
3757         * config/mips/mips.h (PREDICATE_CODES): Add true_reg_or_0_operand.
3758         * config/mips/mips.md (div_trap,div_trap_normal,div_trap_mips16): 
3759         Use true_reg_or_0_operand for div_trap.
3760
3761 Wed Feb  3 20:44:59 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
3762
3763         * loop.h (express_from): Declare.
3764         (struct induction): Replace derived flag with derived_from pointer.
3765         * loop.c (strength_reduce, record_giv, recombine_givs): Likewise.
3766         (express_from): No longer static.
3767         * unroll.c (find_splittable_givs): Replace derived with derived_from.
3768         When processing an address giv with which another giv has been
3769         combined that has also been derived from a third giv, handle like
3770         having combined with the third giv.
3771         Set splittable_regs_updates appropriately for derived givs.
3772
3773 Wed Feb  3 15:26:58 1999  Gavin Romig-Koch  <gavin@cygnus.com>
3774
3775         * config/mips/mips.md (div_trap_mips16): Remove nop's after branches.
3776
3777 Wed Feb  3 11:56:23 1999  Jeffrey A Law  (law@cygnus.com)
3778
3779         * pa.c (insn_sets_and_refs_are_delayed): New function.
3780         * pa.h (INSN_SETS_ARE_DELAYED): Use it.
3781         (INSN_REFERENCES_ARE_DELAYED): Likewise.
3782  
3783 Wed Feb  3 06:24:49 1999  Richard Earnshaw (rearnsha@arm.com)
3784
3785         * config/arm/t-arm-elf (LIBGCC2_CFLAGS): Delete.
3786         * config/arm/t-linux (LIBGCC2_CFLAGS): Delete.
3787         (TARGET_LIBGCC2_CFLAGS): Define.
3788         (LIBGCC2_DEBUG_CFLAGS): Define.
3789         * config/arm/t-netbsd: Likewise.
3790         * config/arm/t-semi: Likewise.
3791         * config/arm/t-semiaof: Likewise.
3792         * config/arm/t-riscix: Likewise.
3793
3794 Wed Feb  3 10:59:07 1999  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
3795
3796         * config/m68k/m68k.c (print_operand_address): When printing a
3797         SYMBOL_REF that ends in `.<letter>' put parentheses around it.
3798
3799 Tue Feb  2 23:38:35 1999  David O'Brien <obrien@FreeBSD.org>
3800
3801         * i386/freebsd*.h now allows '$' in label names and does not use the
3802         PCC struct return method.
3803
3804 Tue Feb  2 22:38:23 1999  Jim Wilson  <wilson@cygnus.com>
3805
3806         * Makefile.in: Change all uses of AR to AR_FOR_TARGET.  Change all uses
3807         of HOST_AR to AR.  Likewise for AR_FLAGS, RANLIB, and RANLIB_TEST.
3808         (RANLIB_TEST): Test to see if ranlib exists.  Only test absolute file
3809         names if host == target.
3810         (HOST_AR, HOST_AR_FLAGS, HOST_RANLIB, HOST_RANLIB_TEST): Delete.
3811         (AR_FLAGS_FOR_TARGET): Renamed from AR_FOR_TARGET_FLAGS.
3812         (AR, AR_FLAGS, OLDAR, OLDAR_FLAGS, RANLIB, RANLIB_TEST): Delete rules
3813         setting them to *_FOR_TARGET.
3814         * cross-make (AR, AR_FLAGS, OLDAR, OLDAR_FLAGS, RANLIB, RANLIB_TEST):
3815         Delete.
3816
3817 Tue Feb  2 22:38:19 1999  Theodore Papadopoulo <Theodore.Papadopoulo@sophia.inria.fr>
3818
3819         * toplev.h (read_integral_parameter): Declare.
3820         * toplev.c (read_integral_parameter): New function.
3821
3822 Fri Jan 29 21:00:56 1999  Bob Manson  <manson@charmed.cygnus.com>
3823
3824         * resource.c, resource.h: New files.
3825         * Makefile.in (OBJS): Add it.
3826
3827         * haifa-sched.c (regno_use_in): Moved to rtlanal.c.
3828         (split_block_insns): Moved to recog.c.
3829         (update_flow_info): Make public.
3830         * rtl.h: Declare them.
3831
3832         * reorg.c: Moved the functions dealing with computing resource
3833         usage to resource.c.
3834
3835         * sched.c (regno_use_in): Moved to rtlanal.c.
3836         (update_flow_info): Make public.
3837         (schedule_insns): Use split_block_insns.
3838
3839         * recog.c (split_block_insns): New function.
3840
3841 Tue Feb  2 22:03:26 1999  David Edelsohn  <edelsohn@gnu.org>
3842
3843         * rs6000/linux.h (LINK_START_DEFAULT_SPEC): Delete, unused.
3844         (LINK_OS_DEFAULT_SPEC): Delete, unused.
3845
3846 Tue Feb  2 20:29:34 1999  Catherine Moore  <clm@cygnus.com>
3847  
3848         * configure.in (arm-*-oabi):  Support.
3849         * configure:  Regenerate.
3850         * config/arm/unknown-elf-oabi.h:  New file.
3851  
3852 Tue Feb  2 19:43:59 1999  Jeffrey A Law  (law@cygnus.com)
3853
3854         * i386.md (ashlsi3): Turn into a define_expand an anonymous pattern.
3855         Make the anonymous pattern match when ! optimize_size.
3856         (ashlsi3 size optimizer): New pattern.
3857
3858         * intl/Makefile.in (uninstall): Add missing "; \".
3859
3860 Tue Feb  2 18:21:23 1999  Stan Cox  <scox@cygnus.com>
3861
3862         * sparc.h (TARGET_CPU_sparc86x): Added. TARGET_CPU_sparclite86x
3863         synonym.
3864
3865 Tue Feb  2 20:24:11 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
3866
3867         * loop.c (loop_optimize): Fix value max_uid_for_loop is reset
3868         to after find_and_verify_loops call.
3869
3870 Tue Feb  2 19:48:29 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
3871
3872         * (recombine_givs): Don't use a giv that's likely to be dead to
3873         derive others.
3874
3875         * loop.c (recombine_givs): Fix test for lifetime overlaps / loop
3876         wrap around when deriving givs.
3877
3878 Mon Feb  1 20:00:40 1999  Richard Henderson  <rth@cygnus.com>
3879
3880         * recog.c (check_asm_operands): Treat indeterminate operand ok
3881         results as success.  Try harder to resolve a matching constraint.
3882         * stmt.c (expand_asm_operands): Recognize when an output operand's
3883         constraint does not allow memory.  Treat indeterminate operand ok
3884         results as failure.  Try harder to resolve a matching constraint.
3885         
3886 Mon Feb  1 15:00:02 1999  Ken Raeburn  <raeburn@cygnus.com>
3887
3888         Use varrays for constant-equivalence data:
3889
3890         * varray.h (struct const_equiv_data): New type.
3891         (union varray_data_tag): New element const_equiv.
3892         (VARRAY_CONST_EQUIV_INIT, VARRAY_CONST_EQUIV): New macros.
3893         (VARRAY_SIZE): New macro, returns number of elements.
3894         * integrate.h: Include varray.h.
3895         (struct inline_remap): Replace const_equiv_map, const_age_map and
3896         const_equiv_map_size with a const_equiv_varray element.
3897         (MAYBE_EXTEND_CONST_EQUIV_VARRAY): New macro; grows varray if
3898         needed.
3899         (SET_CONST_EQUIV_DATA): New macro; sets rtx and age fields
3900         simultaneously, growing the varray if needed.
3901
3902         * integrate.c (global_const_equiv_map,
3903         global_const_equiv_map_size): Deleted, replaced by....
3904         (global_const_equiv_varray): New variable.
3905         (expand_inline_function): References changed.
3906         * integrate.h: Update declarations.
3907
3908         * integrate.c (process_reg_parm, expand_inline_function,
3909         copy_rtx_and_substitute, try_constants, subst_constants,
3910         mark_stores): Use varray allocation and accessor macros, new
3911         integrate.h macros, and global_const_equiv_varray.  Don't
3912         conditionalize non-NULL stores on array size; instead, expand the
3913         array as needed.
3914         * unroll.c (unroll_loop): Likewise.
3915
3916         * unroll.c (unroll_loop): Initialize const_equiv_varray element to
3917         zero.  After allocating varray, always exit through bottom of
3918         function, where it can be deallocated if needed.  Don't explicitly
3919         reallocate const_equiv_map storage; instead, just ensure the
3920         varray has been initialized, and update the global reference.
3921
3922 Mon Feb  1 09:40:25 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
3923
3924         * system.h (inline, const): Handle these for stage2 (and later) gcc.
3925
3926         * dwarf2out.c (inline): Don't define.
3927
3928         * dwarfout.c (inline): Likewise.
3929
3930 Sun Jan 31 22:04:37 1999  Richard Henderson  <rth@cygnus.com>
3931
3932         * loop.c (recombine_givs): Dump recombination and derivation data.
3933
3934 Sun Jan 31 20:34:29 1999  Zack Weinberg  <zack@rabi.columbia.edu>
3935
3936         * flags.h: Declare flag_no_ident.
3937         * toplev.c: Define flag_no_ident.  Process -f(no-)ident here.
3938         * c-tree.h: Don't declare flag_no_ident.
3939         * c-decl.c: Don't define flag_no_ident.  Don't process
3940           -f(no-)ident switches here.
3941
3942         * config/elfos.h (ASM_FILE_END): Output final .ident directive
3943           only if !flag_no_ident.
3944         * config/ptx4.h: Likewise.
3945         * config/svr4.h: Likewise.
3946         * config/alpha/elf.h: Likewise.
3947         * config/arm/linux-elf.h: Likewise.
3948         * config/i386/sco5.h: Likewise.
3949         * config/i860/fx2800.h: Likewise.
3950         * config/mips/gnu.h: Likewise.
3951         * config/i386/osfrose.h: Likewise.
3952
3953         * gcc.c (C specs): Map -Qn to -fno-ident.
3954         * objc/lang-specs.h: Likewise.
3955
3956 Mon Feb  1 10:52:07 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
3957
3958         * configure.in: Don't remove loop.o and unroll.o when
3959         enable-haifa is selected.
3960         * configure: Rebuilt.
3961
3962 Sun Jan 31 13:22:02 1999  John Wehle  (john@feith.com)
3963
3964         * i386.md (movsicc, movhicc, movsfcc, movdfcc,
3965         movxfcc, movdicc): Delete unconstrained alternatives.
3966         * i386.c (output_fp_conditional_move,
3967         output_int_conditional_move): Delete unused case.
3968
3969 Sun Jan 31 01:15:04 PST 1999 Jeff Law  (law@cygnus.com)
3970
3971         * version.c: Bump for snapshot.
3972
3973 Sun Jan 31 00:52:37 1999  Richard Henderson  <rth@cygnus.com>
3974
3975         * alpha.md (mov patterns): Emit the assembler aliases mov and fmov
3976         instead of bis and cpys.  Combine alternatives where possible.
3977
3978 Sat Jan 30 23:14:13 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
3979
3980         * gcov.c (fnotice): Add missing FILE* parameter.
3981         (function_summary): Fix format specifiers in calls to `fnotice'.
3982         (output_data): Likewise.
3983
3984         * toplev.c (fnotice): Constify char* parameter.
3985
3986         * toplev.h (fnotice): Add prototype.
3987         Wrap prototype with BUFSIZ to protect FILE* usage.
3988         
3989 Sun Jan 31 15:33:09 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
3990
3991         * config/c4x/c4x.h (RTX_COSTS): Explicitly define c4x costs.
3992         
3993 Sat Jan 30 08:27:23 1999  Jeffrey A Law  (law@cygnus.com)
3994
3995         * combine.c (distribute_notes): Handle REG_EH_REGION notes.
3996
3997         * alias.c (fixed_scalar_and_varying_struct_p): Add "static" to
3998         function definition.
3999         (aliases_everything_p, write_dependence_p):Likewise.
4000
4001         * install.texi: Fix merge lossages.
4002
4003         * cccp.c (main): Only call setlocale (LC_MESSAGES, ...) if LC_MESSAGES
4004         is defined.
4005         * collect2.c (main): Likewise.
4006         * cppmain.c (main): Likewise.
4007         * gcc.c (main): Likewise.
4008         * gcov.c (main): Likewise.
4009         * protoize.c (main): Likewise.
4010         * toplev.c (main): Likewise.
4011
4012         * pa.md (parallel shift and shiftadd): Mark output of shift as an
4013         earlyclobber.
4014
4015         * loop.c: Disable recent loop changes.  Temporary as Joern
4016         continues to fix problems.
4017
4018 Sat Jan 30 03:24:37 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
4019
4020         * loop.c (strength_reduce): Size reg_map according to reg_iv_type.
4021
4022 Fri Jan 29 18:26:07 1999  Dave Brolley  <brolley@cygnus.com>
4023
4024         * emit-rtl.c (remove_insn): New function.
4025         * rtl.h (remove_insn): Add prototype.
4026         * function.c (reposition_prologue_and_epilogue_notes): Call remove_insn.
4027
4028 Fri Jan 29 22:34:41 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
4029
4030         * loop.c (recombine_givs): Don't try to derive givs that have combined.
4031
4032 Fri Jan 29 15:00:39 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
4033
4034         * toplev.c (notice, fnotice): Check ANSI_PROTOTYPES, not __STDC__,
4035         when declaring arguments and calling va_arg() to initialize them.
4036
4037         * collect2.c (notice): Likewise.
4038
4039         * loop.c (find_life_end): Use PROTO() macro in the prototype.
4040
4041 Fri Jan 29 14:36:11 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
4042
4043         * collect2.c (error): Fix typo in declaration.
4044
4045         * cpperror.c (cpp_message): Likewise.
4046
4047         * cpplib.c (cpp_warning): Likewise.
4048
4049         * cpplib.h (cpp_notice): Use PVPROTO not VPROTO, also add
4050         ATTRIBUTE_PRINTF_1.
4051
4052         * toplev.c (error): Fix typo in declaration.
4053
4054 Fri Jan 29 15:44:13 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
4055
4056         * loop.c (strength_reduce): Fix HAVE_cc0 handling when scanning
4057         forward from cont dominator.
4058
4059 Fri Jan 29 07:10:27 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
4060
4061         * cccp.c (eprint_string): Constify a char*.
4062         (notice): Likewise.  Use PVPROTO not VPROTO, add ATTRIBUTE_PRINTF_1.
4063         (vnotice): Constify a char*.
4064         (error): Likewise.  Use PVPROTO not VPROTO, add ATTRIBUTE_PRINTF_1.
4065         (verror): Constify a char*.
4066         (warning): Likewise.  Use PVPROTO not VPROTO, add ATTRIBUTE_PRINTF_1.
4067         (vwarning): Constify a char*.
4068         (error_with_line): Likewise.  Use PVPROTO not VPROTO, add
4069         ATTRIBUTE_PRINTF_2.
4070         (verror_with_line): Constify a char*.
4071         (vwarning_with_line): Likewise.
4072         (warning_with_line): Likewise.  Use PVPROTO not VPROTO, add
4073         ATTRIBUTE_PRINTF_2.
4074         (pedwarn): Constify a char*.  Use PVPROTO not VPROTO, add
4075         ATTRIBUTE_PRINTF_1.
4076         (pedwarn_with_line): Likewise with ATTRIBUTE_PRINTF_2.
4077         (pedwarn_with_file_and_line): Likewise with ATTRIBUTE_PRINTF_4.
4078         Also correct typo in parameter name declaration.
4079         (make_assertion): Constify a char*.
4080         (quote_string_for_make): Likewise.
4081         (deps_output): Likewise.
4082         (fatal): Likewise.  Use PVPROTO not VPROTO, add
4083         ATTRIBUTE_PRINTF_1.  Use ATTRIBUTE_NORETURN not an explicit
4084         "__attribute__ ((noreturn))".
4085         (fancy_abort): Likewise for ATTRIBUTE_NORETURN.
4086         (pfatal_with_name): Likewise.
4087         (pipe_closed): Likewise.
4088         (memory_full): Likewise.
4089
4090 Fri Jan 29 00:14:55 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
4091
4092         * loop.c (strength_reduce): Grow set_in_loop / n_times_set /
4093         may_not_optimize to proper size when converting biv increments
4094         into givs.
4095         If necessary, reallocate reg_iv_type / reg_iv_info before calling
4096         recombine_givs.
4097
4098 Thu Jan 28 23:24:08 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
4099
4100         * loop.c (recombine_givs): New parameter unroll_p.  If set, don't
4101         generate complex adds.  Changed caller.
4102         Don't generate adds that cost more than the original one.
4103         (strength_reduce): Warning fixes.
4104
4105 Thu Jan 28 09:41:11 1999  Jeffrey A Law  (law@cygnus.com)
4106
4107         * configure.in (hppa1.0-hp-hpux10*): Use t-pa.
4108         * configure: Rebuilt.
4109
4110 Wed Jan 27 23:39:53 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
4111
4112         * rtl.h (insn_first_p, no_jumps_between_p): Declare.
4113         * rtlanal.c (insn_first_p, no_jumps_between_p): New function.
4114         * loop.h (varray.h): Include.
4115         (struct induction): Change combined_with to unsigned.
4116         New members derived, ix and last_use.
4117         (reg_iv_type, reg_iv_info): Now varray_type.  All references changed.
4118         (REG_IV_TYPE, REG_IV_INFO): Define.
4119         (first_increment_giv, last_increment_giv): Declare.
4120         * loop.c (loop_number_loop_cont): New static variable.
4121         (loop_number_cont_dominator): Likewise.
4122         (reg_iv_type, reg_iv_info): Now varray_type.
4123         (first_increment_giv, last_increment_giv): New variables.
4124         (compute_luids, verify_dominator, find_life_end): New functions.
4125         (cmp_recombine_givs_stats, recombine_givs): Likewise.
4126         (loop_optimize): Allocate loop_number_loop_cont and
4127         loop_number_cont_dominator.  Use compute_luids.
4128         (find_and_verify_loops): Initialize loop_number_loop_cont and
4129         loop_number_cont_dominator.
4130         (strength_reduce): Try to find bivs that can be expressed as givs
4131         of another biv, and to convert biv increments into givs.
4132         Call recombine_givs.  Handle derived givs.
4133         (record_biv): New argument location.  All callers changed.
4134         (record_giv): Initialize derived and last_use fields.
4135         (basic_induction_var): New argument location.  All callers changed.
4136         (combine_givs): Don't combine a DEST_REG giv with a DEST_ADDR giv.
4137         Increment combined_with instead of setting to 1.
4138         * unroll.c (derived_regs): New static variable.
4139         (unroll_loop): Initialize it.
4140         Allocate local_regno according to max_reg_num.
4141         (copy_loop_body): Cope with derived givs.
4142         (find_splittable_givs): Check for Givs made from biv increments.
4143         Set derived_regs for givs.
4144         * Makefile.in (stmt.o, loop.o, unroll.o): Depend on loop.h .
4145
4146 Wed Jan 27 19:31:36 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
4147
4148         * function.c (purge_addressof_1): Handle case when a register
4149         has been used in a wider mode.
4150
4151 1999-01-27  Bruce Korb  <autogen@linuxbox.com>
4152
4153         * fixinc/fixincl.c, fixinc/server.[ch]:
4154         Removed the last of the capitalized variable and proc names.
4155
4156         * fixinc/server.c:  Removed the process open code
4157         * fixinc/procopen.c: New file containing the proc open code
4158         * fixinc/inclhack.tpl: Added code to bypass a readability test
4159         when a file is not present.  A problem on some systems.
4160         * fixinc/inclhack.sh, fixinc/fixincl.sh:  regenerated
4161
4162 Wed Jan 27 11:58:18 1999  Dave Brolley  <brolley@cygnus.com>
4163
4164         * cpplib.h (cpp_notice): Add prototype.
4165
4166 Wed Jan 27 02:20:48 1999  Jeffrey A Law  (law@cygnus.com)
4167
4168         * Merge gcc2 snapshot 19980929.
4169
4170         * cccp.c (PRINTF_PROTO): Remove.
4171         (PRINTF_PROTO_{1,2,3,4}: Likewise.
4172         * cexp.y: Likewise.
4173         * system.h: Add PRINTF_PROTO and PRINTF_PROTO_{1,2,3,4}.
4174
4175         * fix-header.c (cpp_file_lin_for_message): Delete.  In libcpp.
4176         (cpp_print_containing_files, v_cpp_message, cpp_message): Likewise.
4177         (cpp_fatal, cpp-Pfatal_with_name): Likewise.
4178
4179         * gen-protos.c (hashf): Delete in cpphash.o
4180         * gen-protos.c (hashf): Delete in cpphash.o
4181
4182         * expr.c: Do not merge SAVE_STACKAREA_MODE changes.
4183         * expmed.c: Likewise.
4184         * rs6000.md: Likewise.
4185
4186         * rs6000.c, rs6000.md: Do not merge formatting changes yet.
4187
4188 Wed Jan 27 01:13:42 1999  Richard Henderson  <rth@cygnus.com>
4189
4190         * rs6000.c (input_operand): Don't expect CONST around CONSTANT_P_RTX.
4191         * rs6000.md (movsi, movdi): Likewise.
4192
4193 Tue Jan 26 13:31:38 1999  Jim Wilson  <wilson@cygnus.com>
4194
4195         * function.c (expand_function_end): Pass arg_pointer_save_area to
4196         validize_mem before using it.  Emit code into a sequence.
4197
4198 Tue Jan 26 13:41:38 1999  David Edelsohn  <edelsohn@gnu.org>
4199
4200         * rs6000.md (doz + set cr and or + set cr patterns): Add missing
4201         '#' to split patterns.  Correct indentation of some new patterns.
4202
4203 1999-01-26 12:11 -0500  Zack Weinberg  <zack@midnite.ec.rhno.columbia.edu>
4204
4205         * cppfiles.c (safe_read): Deleted.  
4206         (read_and_prescan): New function, replaces safe_read, converts
4207         and/or warns about trigraphs, silently converts odd line
4208         terminators (\r, \n\r, \r\n).  Warns about no newline at EOF.
4209         (finclude): Use read_and_prescan; turn off nonblocking mode on
4210         the input descriptor; remove file-size-examination and
4211         no-newline-at-EOF gunk which is longer necessary; be more
4212         careful about checking that we've been handed a legitimate
4213         file to read (only real files, pipes, and ttys are acceptable).
4214         * cpplib.h (cpp_options): Rename no_trigraphs flag to 
4215         `trigraphs' and invert its sense.
4216         (trigraph_table): Declare.
4217         (cpp_warning_with_line): Prototype.
4218         * cpplib.c: Remove all references to trigraph_pcp. Define
4219         trigraph_table; initialize it in initialize_char_syntax.  Open
4220         files in nonblocking mode.  s/no_trigraphs/trigraphs/
4221         throughout, and invert sense.  Put cpp_warning_with_line back
4222         in and export it.
4223
4224 Tue Jan 26 23:21:49 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
4225
4226         * config/c4x/c4x.h (COUNTER_REGS): New register class.
4227         * config/c4x/c4x.md (*rptb_init): Change constraints.
4228         (rptb_end): Emit alternate looping instructions if 
4229         RC register not allocated for loop counter.
4230         (decrement_and_branch_on_count): Allow other registers
4231         for loop counter.
4232
4233 1999-01-25 14:26 -0500  Zack Weinberg  <zack@rabi.columbia.edu>
4234
4235         * cppexp.c (struct arglist): Removed.
4236         (parse_number): Use HOST_WIDE_INT for the accumulator.
4237         Allow two `l' suffixes unless C89.  Clean up.  Make static.
4238         (parse_charconst): New function broken out of cpp_lex.
4239         Code cleaned up drastically.  Don't use a token_buffer.
4240         (token_buffer): Removed.
4241         (cpp_lex): Don't call parse_number on a constant string.
4242         Use parse_charconst.
4243         (cpp_parse_expr): Properly handle an ERROR op returned by
4244         cpp_lex. 
4245
4246 1999-01-25 14:10 -0500  Zack Weinberg  <zack@rabi.phys.columbia.edu>
4247
4248         * cpplib.c: Don't include signal.h, sys/times.h, or
4249         sys/resource.h. Don't declare localtime.
4250         (macroexpand): Handle special symbols here.
4251         (push_macro_expansion): Chop off the trailing '@ ' if possible
4252         here.
4253         (cpp_get_token): Don't do either of the above two things here.
4254         Move `string' label just after case '"' so that wide strings
4255         don't crash the preprocessor.
4256
4257 Sun Jan 24 20:13:45 1999  David Edelsohn  <edelsohn@gnu.org>
4258
4259         * rs6000.md (left shift + set cr patterns): Add missing '#' to
4260         split patterns.
4261         (move register + set cr pattern): Ditto.
4262         (movdi, !TARGET_POWERPC64 splitters): Add back in Jan. 15th patch,
4263         inadvertently deleted.
4264
4265 Sun Jan 24 08:07:59 1999  Jeffrey A Law  (law@cygnus.com)
4266
4267         * stmt.c (stmt_loop_nest_empty): New function.
4268         * tree.h (stmt_loop_nest_empty): Declare it.
4269         * rtl.def (CALL_PLACEHOLDER): New rtx code.
4270
4271 Sun Jan 24 21:24:43 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
4272
4273         * config/c4x/c4x.c (c4x_emit_move_sequence, c4x_encode_section_info):
4274         New functions.
4275         (c4x_check_legit_addr): Remove USE and PLUS, allow
4276         LO_SUM, and disable SYMBOL_REF, LABEL_REF, and CONST cases.
4277         (c4x_legitimize_address): Penalise SYMBOL_REF, LABEL_REF, and 
4278         CONST cases.  Add LO_SUM.
4279         (c4x_print_operand): Modified 'C' and 'R' cases for calls.
4280         Added 'U' case.  Remove dependence on SYMBOL_REF_FLAG.
4281         (c4x_print_operand_address): Handle LO_SUM.
4282         (c4x_scan_for_ldp): Delete.  Hooray!
4283         (c4x_process_after_reload): Remove call to c4x_scan_for_ldp.
4284         Split all insns.
4285         (c4x_immed_int_constant): Renamed from c4x_int_constant.  All callers
4286         changed.
4287         (c4x_immed_float_constant): Renamed from c4x_float_constant.  All
4288         callers changed.
4289         (c4x_T_constraint): Allow LO_SUM, disable SYMBOL_REF, LABEL_REF, 
4290         and CONST.
4291         (c4x_U_constraint, symbolic_operand): New functions.
4292         (src_operand): Allow 'I' constants in HImode.  Allow LO_SUM,
4293         disable SYMBOL_REF, LABEL_REF, and CONST.
4294         (lsrc_operand, tsrc_operand): Call src_operand instead of
4295         general_operand.
4296         (c4x_operand_subword): Update comments.
4297
4298         * config/c4x/c4x.c (TARGET_LOAD_ADDRESS): New macro.
4299         (LEGITIMATE_CONSTANT_P): Allow SYMBOL_REF, LABEL_REF, CONST,
4300         plus HIGH and LO_SUM for the C40.
4301         (ENCODE_SECTION_INFO): Define macro.
4302         (symbolic_operand, c4x_U_constraint, c4x_emit_move_sequence): New
4303         prototypes.
4304         (PREDICATE_CODES): Add symbolic_operand.
4305
4306         * config/c4x/c4x.md (movqi, movgqf, movhi, movhi): Call
4307         c4x_emit_move_sequence.
4308         (floatunsqiqf2, fixuns_truncqfqi2): Rework emitted RTL
4309         to avoid symbol references.
4310         (all patterns with g constraint): Replace 'g' constraint with 'rIm'.
4311         (set_high): Renamed from set_high_use.
4312         (set_lo_sum): Renamed from set_ior_lo_use.
4313         (all call patterns): Make MEM explicit in call address operands.
4314         Modified output templates to use 'U' modifier.
4315         
4316 Sun Jan 24 01:15:05 PST 1999 Jeff Law  (law@cygnus.com)
4317
4318         * version.c: Bump for snapshot.
4319
4320 Sat Jan 23 22:34:57 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
4321
4322         * final.c (bb_str): Qualify a char* with the keyword `const'.
4323         (add_bb_string, final_scan_insn, output_asm_insn): Likewise.
4324
4325         * fix-header.c (read_scan_file): Likewise.
4326
4327         * genoutput.c (output_epilogue, process_template): Likewise.
4328         
4329         * local-alloc.c (requires_inout, block_alloc): Likewise.
4330
4331         * output.h (output_asm_insn, assemble_string): Likewise.
4332
4333         * recog.c (recog_constraints, check_asm_operands,
4334         decode_asm_operands, extract_insn, preprocess_constraints,
4335         constrain_operands): Likewise.
4336
4337         * recog.h (operand_alternative, recog_constraints, insn_template,
4338         insn_outfun, insn_operand_constraint, insn_name): Likewise.
4339
4340         * regclass.c (record_reg_classes, scan_one_insn): Likewise.
4341
4342         * regmove.c (find_matches): Likewise.
4343
4344         * reload.c (alternative_allows_memconst): Likewise.
4345
4346         * reload1.c (constraint_accepts_reg_p,
4347         reload_cse_simplify_operands): Likewise.
4348
4349         * rtl.h (decode_asm_operands): Likewise.
4350
4351         * scan.h (fn_decl): Likewise.
4352
4353         * varasm.c (assemble_string): Likewise.
4354
4355 Sat Jan 23 01:37:36 1999  Jeffrey A Law  (law@cygnus.com)
4356
4357         * configure.in (gcc_tooldir): Handle case where exec_prefix has
4358         not been explicitly set.
4359         * configure: Rebuilt.
4360
4361         * fold-const.c (lshift_double): Mark 'prec' arguments as possibly
4362         unused.
4363
4364         * bitmap.h (bitmap_head_def): Make indx field unsigned.
4365
4366         * configure.in (gcc_tooldir): When not making a relative gcc_tooldir,
4367         use $exec_prefix/$target_alias for gcc_tooldir.
4368         * configure: Rebuilt.
4369
4370 Fri Jan 22 11:48:56 1999  Richard Henderson  <rth@cygnus.com>
4371
4372         * cppp.c (xrealloc): Fix typo last change.
4373         * cppalloc.c, gcc.c, genattr.c, genattrtab.c, gencodes.c: Likewise.
4374         * genconfig.c, genemit.c, genextract.c, genflags.c: Likewise.
4375         * genopinit.c, genoutput.c, genpeep.c, genrecog.c: Likewise.
4376
4377 1999-01-22  Michael Meissner  <meissner@cygnus.com>
4378
4379         * rs6000.h (CR0_REGNO_P): New macro to test if cr0.
4380         (CR_REGNO_NOT_CR0_P): New macro to test if cr, but not cr0.
4381         (PREDICATE_CODES): Add cc_reg_not_cr0_operand.
4382         (cc_reg_not_cr0_operand): Add declaration.
4383
4384         * rs6000.c (cc_reg_not_cr0_operand): Return true if register is a
4385         pseudo register, or a control register that is not CR0.
4386
4387         * rs6000.md (all combiner patterns building . instructions): For
4388         all `.' instructions that do something and set cr0, add an
4389         alternative that does the operation, and then sets a different
4390         flag, in order to avoid using the costly mcrf instruction and also
4391         allow cr0 to be clobbered in asm statements.  Also fix a few
4392         patterns that used the wrong register.
4393
4394         * rs6000.h (rs6000_cpu_select): Make string, names be const char *.
4395         (rs6000_debug_name): Make const char *, not char *.
4396
4397         * sysv4.h (rs6000_{abi,sdata}_name): Make const char *.
4398         
4399         * rs6000.c (rs6000_{debug,abi,sdata}_name): Make const char *.
4400         (rs6000_select): Use const char * in casts.
4401
4402 Fri Jan 22 07:43:01 1999  Jeffrey A Law  (law@cygnus.com)
4403         
4404         * Makefile.in (gcc_tooldir): Move before first reference.
4405         Let autoconf substitute in a value.
4406         * configure.in (gcc_tooldir): Only use a relative path to the
4407         tool directory if $exec_prefix == $prefix.
4408         * configure: Rebuilt.
4409
4410         * Makefile.in (tooldir): Replace with gcc_tooldir.
4411
4412 Thu Jan 21 23:21:57 1999  Jeffrey A Law  (law@cygnus.com)
4413
4414         * m68k.md (ashldi_const): Disable for !TARGET_5200.  Fix indention.
4415         (ashldi3 expander): Similarly.  Update comments.
4416         (ashrdi_const, lshrdi_const): Fix indention.
4417         (ashrdi3, lshrdi3): FIx indention.  Update comments.
4418
4419 Thu Jan 21 21:53:36 1999  Richard Henderson  <rth@cygnus.com>
4420
4421         * emit-rtl.c (try_split): Don't try to split non-instructions.
4422
4423 Thu Jan 21 23:47:30 EST 1999  Andrew MacLeod  <amacleod@cygnus.com>
4424
4425         * expr.c (emit_push_insn): Fix dumb typo.
4426
4427 Thu Jan 21 20:24:02 1999  Richard Henderson  <rth@cygnus.com>
4428
4429         * rs6000.h (LEGITIMIZE_RELOAD_ADDRESS): Recognize and accept
4430         transformations that we have performed earlier.
4431         * alpha.h (LEGITIMIZE_RELOAD_ADDRESS): Likewise.
4432
4433         * alpha.md (prologue_stack_probe_loop): Don't do our own label
4434         handling, call gen_label_rtx instead.
4435
4436 Thu Jan 21 17:45:18 1999  Richard Henderson  <rth@cygnus.com>
4437
4438         * configure.in ({rs6000|powerpc}-ibm-aix4.[12]*): Add missing `then'.
4439
4440         * cccp.c (xrealloc): Call malloc given a NULL old pointer.
4441         * collect2.c, cppalloc.c, gcc.c, genattr.c, genattrtab.c: Likewise.
4442         * gencodes.c, genconfig.c, genemit.c, genextract.c: Likewise.
4443         * genflags.c, genopinit.c, genoutput.c, genpeep.c: Likewise.
4444         * genrecog.c, mips-tfile.c, protoize.c: Likewise.
4445
4446 Thu Jan 21 19:44:55 1999  Michael Meissner  <meissner@cygnus.com>
4447
4448         * configure.in ({rs6000|powerpc}-ibm-aix4.[12]*): If
4449         --with-gnu-ld, use x-aix41-gld instead of x-aix41 to suppress
4450         adding -Wl,-bbigtoc to BOOT_LDFLAGS.
4451         * configure: Regenerate.
4452
4453         * config/rs6000/x-aix41-gld: New file, don't set BOOT_LDFLAGS.
4454
4455 Thu Jan 21 15:48:03 1999  Dave Brolley  <brolley@cygnus.com>
4456
4457         * cppexp.c (cpp_lex): Allocate token_buffer dynamically.
4458
4459 Thu Jan 21 14:18:04 EST 1999  Andrew MacLeod  <amacleod@cygnus.com>
4460
4461         * expr.c (MOVE_BY_PIECES_P): Define condition for deciding to use
4462         move_by_pieces.
4463         (MOVE_MAX_PIECES): Define maximum number of bytes to move at once.
4464         (USE_LOAD_POST_INCREMENT, USE_LOAD_PRE_DECREMENT): Define defaults.
4465         (USE_STORE_POST_INCREMENT, USE_STORE_PRE_DECREMENT): Define defaults.
4466         (move_by_pieces): Use new macros.
4467         (emit_block_move): Use new macros.
4468         (clear_by_pieces): Use new macros.
4469         (clear_storage): Use new macros.
4470         (emit_push_insn): Use new macros.
4471         (expand_expr): Use new macros.
4472         * config/sh/sh.h (USE_LOAD_POST_INCREMENT, USE_LOAD_PRE_DECREMENT): 
4473         Define.
4474         (USE_STORE_POST_INCREMENT, USE_STORE_PRE_DECREMENT): Define.
4475         (MOVE_BY_PIECES_P): Define based on alignment and TARGET_SMALLCODE.
4476         (MOVE_MAX_PIECES): move 8 bytes on SH4.
4477         * tm.texi(MOVE_BY_PIECES_P, MOVE_MAX_PIECES, USE_LOAD_POST_INCREMENT,
4478         USE_LOAD_PRE_DECREMENT, USE_STORE_POST_INCREMENT, 
4479         USE_STORE_PRE_DECREMENT): Describe new macros.
4480
4481 Thu Jan 21 14:13:31 1999  Vladimir N. Makarov  <vmakarov@cygnus.com>
4482
4483         * varasm.c (output_constant_pool): Use floor_log2 instead of
4484         exact_log2 for ASM_OUTPUT_ALIGN.
4485
4486         * stor-layout.c (layout_type): Do machine-dependent extra alignment.
4487
4488         * emit-rtl.c (operand_subword): Handle case when a subword outside
4489         the operand.
4490
4491         * tm.texi (ROUND_TYPE_{SIZE,ALIGN}): More accurate descriptions of
4492         the macros.
4493
4494 Thu Jan 21 01:59:30 1999  Richard Henderson  <rth@cygnus.com>
4495
4496         * cse.c (fold_rtx): Revert 29 Dec change.
4497         (cse_insn): Revert 12 Jan change.
4498         * expr.c (expand_builtin): Don't emit CONST around CONSTANT_P_RTX.
4499         * regclass.c (reg_scan_mark_refs): Revert 29 Dec change.
4500         * rtl.def: Likewise.
4501         * rtl.h (CONSTANT_P): Likewise.
4502
4503         * expr.c (emit_move_insn): Never try to flush CONSTANT_P_RTX
4504         to memory.
4505         * recog.c (immediate_operand): Accept CONSTANT_P_RTX.
4506         * alpha.c (input_operand): Likewise.
4507         * c4x.c (const_operand): Likewise.
4508
4509         * explow.c (allocate_dynamic_stack_space): Use register_operand
4510         instead of arith_operand, which does not exist.
4511
4512         * 1750a.h: Fix comment closure.
4513         * a29k.c (a29k_set_memflags): Fix typo in 19 Jan change.
4514         * arc.md (one_cmplsi2_set_cc_insn): Fix set mode mismatch.
4515         * arm.h (TARGET_SWITCHES): Fix typo.
4516         * i370.md (anon mult and div patterns): Fix set mode mismatch.
4517         * i860.c (output_delayed_branch): Fix operands to constrain_operands.
4518         (output_delay_insn): Likewise.
4519         * m88k.md (anon rotate insns): Fix set mode mismatch.
4520         (anon BLKmode moves): Commonize and fix set mode mismatches.
4521         * ns32k.md (udivmoddi[shq]i4_internal): Fix mode mismatch.
4522         * romp.md (movdf): Fix typo.
4523
4524 Thu Jan 21 00:29:35 1999  Nathan Sidwell  <nathan@acm.org>
4525
4526         * Makefile.in (install-common): Remove extraneous chmod for gcov
4527         install.
4528
4529 Wed Jan 20 18:15:08 1999  Dave Brolley  <brolley@cygnus.com>
4530
4531         * function.c (assign_parms): Save and restore setting of
4532         TREE_USED (parm).
4533
4534 Wed Jan 20 12:51:42 1999  Mark Mitchell  <mark@markmitchell.com>
4535
4536         * arm.md: Use MEM_COPY_ATTRIBUTES where appropriate throughout.
4537         Pass MEM_SCALAR_P to arm_gen_store_multiple where appropriate.
4538
4539 Tue Jan 19 21:20:52 1999  Richard Henderson  <rth@cygnus.com>
4540
4541         * recog.c (pop_operand): New function.
4542         * recog.h (pop_operand): Declare it.
4543         * genrecog.c (preds): Define it.
4544
4545         * expr.c (do_jump_for_compare): Handle conditional branch expanders
4546         emitting multiple jump instructions.
4547         * jump.c (condjump_label): New function.
4548         * rtl.h (condjump_label): Declare it.
4549
4550 Tue Jan 19 21:08:20 1999  Richard Henderson  <rth@cygnus.com>
4551
4552         * expr.c (emit_move_insn_1): Revert 17 Dec change.  Don't emit
4553         clobber during or after reload.
4554
4555 Tue Jan 19 16:56:03 1999  Richard Henderson  <rth@cygnus.com>
4556
4557         * genoutput.c (name_for_index): New function.
4558         (scan_operands, validate_insn_alternatives): Use it.
4559         * genrecog.c (insn_name_ptr_size): New variable.
4560         (make_insn_sequence): Fill in insn_name_ptr.
4561         (merge_trees): Use it.
4562
4563 Tue Jan 19 16:37:36 1999  Richard Henderson  <rth@cygnus.com>
4564
4565         * i386/isc.h (TARGET_DEFAULT): Define symbolicly.
4566         * i386/isccoff.h, i386/next.h, i386/sco.h, i386/sco5.h: Likewise.
4567         * i386/scodbx.h, i386/sequent.h, i386.unix.h: Likewise.
4568
4569 Tue Jan 19 15:00:10 1999  Jeffrey A Law  (law@cygnus.com)
4570
4571         * loop.c (NUM_STORES): Delete.
4572         (loop_store_mems): Turn into an EXPR_LIST of MEMs.
4573         (prescan_loop): Properly initialize loop_mems_idx.
4574         (note_addr_stored): Simplify using list structure instead of
4575         fixed sized array.
4576         (invariant_p, check_dbra_loop, load_mems): Similarly.
4577
4578         * flow.c (invalidate_from_autoinc): New function.
4579         (mark_set_1, mark_used_regs): Use it.
4580
4581         * Makefile.in (protoize.o, unprotoize.o): Depend on Makefile.
4582
4583 1999-01-19  Vladimir N. Makarov  <vmakarov@cygnus.com>
4584
4585         * invoke.texi (-mlong-double-64): New option description.
4586
4587 1999-01-19  Jim Wilson  <wilson@cygnus.com>
4588
4589         * libgcc2.c: Change all uses of LONG_DOUBLE_TYPE_SIZE to
4590         LIBGCC2_LONG_DOUBLE_TYPE_SIZE.
4591         (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): New.  Set to LONG_DOUBLE_TYPE_SIZE
4592         if not defined.
4593         * i960/i960.h (MULTILIB_DEFAULTS): Define to mnumerics.
4594         (CPP_SPECS): Add -mlong-double-64 support.
4595         (TARGET_FLAG_LONG_DOUBLE_64, TARGET_LONG_DOUBLE_64): New.
4596         (TARGET_SWITCHES): Add -mlong-double-64 support.
4597         (LONG_DOUBLE_TYPE_SIZE): Likewise.
4598         (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Define.
4599         * i960/vx960-coff.h (MULTILIB_DEFAULTS): Define to msoft-float.
4600         (CPP_SPECS): Add -mlong-double-64 support.
4601         * i960/t-960bare (MULTILIB_OPTIONS): Add mlong-double-64.
4602         (MULTILIB_DIRNAMES): Add ld64.
4603         * i960/t-vxworks960 (MULTILIB_OPTIONS, MULTILIB_DIRNAMES): Likewise.
4604
4605 Tue Jan 19 11:54:04 1999  Jason Merrill  <jason@yorick.cygnus.com>
4606
4607         * calls.c (expand_call): Strip a TARGET_EXPR if we're passing by
4608         invisible reference.
4609
4610 Tue Jan 19 14:51:36 1999  David Edelsohn  <edelsohn@gnu.org>
4611
4612         * rs6000.c (offsettable_addr_operand): Delete.
4613         (offsettable_mem_operand): New function.
4614         * rs6000.h (PREDICATE_CODES): Reflect function change.
4615         (RS6000_SAVE_TOC): Represent address as MEM.
4616         * win-nt.h (RS6000_SAVE_TOC): Same.
4617         * rs6000.md (indirect calls): Change offsettable address parameter
4618         to offsettable memory parameter.
4619
4620 Tue Jan 19 10:24:53 1999  Mark Mitchell  <mark@markmitchell.com>
4621
4622         * rtl.h (rtx_def): Update documentation.
4623         (MEM_IN_STRUCT_P): Likewise.
4624         (MEM_SCALAR_P): New macro.
4625         (MEM_COPY_ATTRIBUTES): Likewise.
4626         (MEM_SET_IN_STRUCT_P): Likewise.
4627         * rtl.texi (MEM_SCALAR_P): Document.
4628         * alias.c (canon_rtx): Use MEM_COPY_ATTRIBUTES.
4629         (fixed_scalar_and_varying_struct_p): New function.  Use
4630         MEM_SCALAR_P rather than !MEM_IN_STRUCT_P.
4631         (aliases_everything_p): Likewise.
4632         (true_dependence): Use them.
4633         (write_dependence_p): New function, containing code common to
4634         anti_dependence and output_dependence.
4635         (anti_dependence): Use it.
4636         (output_dependence): Likewise.
4637         * calls.c (save_fixed_argument_area): Don't clear
4638         MEM_IN_STRUCT_P. 
4639         (expand_call): Use MEM_SET_IN_STRUCT_P.
4640         (emit_library_call): Don't clear MEM_IN_STRUCT_P.
4641         (emit_library_call_value): Likewise.
4642         (store_one_arg): Use MEM_SET_IN_STRUCT_P.
4643         * combine.c (simplify_rtx): Use MEM_COPY_ATTRIBUTES.
4644         (make_extraction): Likewise.
4645         (simplify_shift_const): Likewise.
4646         (gen_lowpart_for_combine): Likewise.
4647         * cse.c (gen_lowpart_if_possible): Use MEM_COPY_ATTRIBUTES.
4648         * emit-rtl.c (operand_subword): Likewise.
4649         (change_address): Likewise.
4650         * explow.c (stabilize): Use MEM_COPY_ATTRIBUTES.
4651         * expr.c (protect_from_queue): Use MEM_COPY_ATTRIBUTES.
4652         (emit_group_store): Use MEM_SET_IN_STRUCT_P.
4653         (copy_blkmode_from_reg): Likewise.
4654         (store_field): Likewise.
4655         (expand_expr): Remove bogus guesswork setting MEM_IN_STRUCT_P
4656         heuristically.  Use MEM_SET_IN_STRUCT_P.
4657         (get_memory_rtx): Likewise.
4658         * final.c (alter_subreg): Use MEM_COPY_ATTRIBUTES.
4659         * function.c (assign_stack_temp): Clear MEM_SCALAR_P and
4660         MEM_ALIAS_SET on newly returned MEMs.
4661         (assign_temp): Use MEM_SET_IN_STRUCT_P.
4662         (put_reg_into_stack): Likewise.
4663         (fixup_var_refs1): Use MEM_COPY_ATTRIBUTES.
4664         (gen_mem_addressof): Use MEM_SET_IN_STRUCT_P.
4665         (assign_parms): Likewise.
4666         (expand_function): Likewise.
4667         * integrate.c (expand_inline_function): Likewise.
4668         (copy_rtx_and_substitute): Use MEM_COPY_ATTRIBUTES.
4669         * loop.c (note_addr_stored): Remove check on MEM_IN_STRUCT_P.
4670         * optabs.c (gen_move_insn): Use MEM_COPY_ATTRIBUTES.
4671         * print-rtl.c (print_rtx): Print /f for frame_related.
4672         * recog.c (validate_replace_rtx_1): Use MEM_COPY_ATTRIBUTES.
4673         * reload1.c (reload): Copy MEM_SCALAR_P as well.
4674         * stmt.c (expand_decl): Use MEM_SET_IN_STRUCT_P.
4675         (expand_anon_union_decl): Use MEM_COPY_ATTRIBUTES.
4676         * varasm.c (make_decl_rtl): Use MEM_SET_IN_STRUCT_P.
4677         (output_constant_def): Likewise.
4678         * a29k.c (a29k_set_memflags_1): Take scalar_p.
4679         Set MEM_SCALAR_P.
4680         (a29k_set_memflags): Use it.
4681         * alpha.c (get_aligned_mem): Use MEM_COPY_ATTRIBUTES.
4682         * c4x.c (c4x_scan_for_ld): Likewise.
4683         * h8300.c (fix_bit_operand): Likewise.
4684         * m88k.c (legitimize_address): Likewise.
4685         (block_move_loop): Likewise.
4686         (block_move_no_loop): Likewise.
4687         (block_move_sequence): Likewise.
4688         (m88k_builtin_saveregs): Use MEM_SET_IN_STRUCT_P.
4689         * mips/abi64.h (SETUP_INCOMING_VARARGS): Likewise.
4690         * rs6000.c (expand_block_move_insn): Use MEM_COPY_ATTRIBUTES.
4691         * sh.c (sh_builtin_saveregs): Use MEM_SET_IN_STRUCT_P.
4692         * arm.h (arm_gen_load_multiple): Take scalar_p.
4693         (arm_store_load_multiple): Likewise.
4694         * arm.c (arm_gen_load_multiple): Likewise.
4695         (arm_gen_store_multiple): Likewise.
4696         (arm_gen_movstrqi): Treat MEM_SCALAR_P like MEM_IN_STRUCT_P.
4697         
4698 Tue Jan 19 12:30:37 EST 1999  Andrew MacLeod  <amacleod@cygnus.com>
4699
4700         * optabs.c (emit_libcall_block): Add a REG_EH_REGION reg note to all
4701         calls within a libcall block to indicate no throws are possible.
4702         * flow.c (find_basic_blocks, find_basic_blocks_1): Don't look for 
4703         libcall blocks. Don't add edges to exception handlers if we see 
4704         a REG_EH_REGION note with a value of 0.
4705         (make_edges): Override active_eh_region vector if the call has a note
4706         indicating the call does not throw.
4707
4708 1999-01-19  Vladimir N. Makarov  <vmakarov@cygnus.com>
4709
4710         * config/rs6000/sysv4.h (CC1_SPEC): Fix correct numbers of {}.
4711
4712 Tue Jan 19 06:26:30 1999  Jeffrey A Law  (law@cygnus.com)
4713
4714         * Makefile.in (cccp.o, cpplib.o): Depend on Makefile.
4715
4716 Mon Jan 18 09:56:41 1999  Jason Merrill  <jason@yorick.cygnus.com>
4717
4718         * invoke.texi (C++ Dialect Options): Document -fno-rtti.
4719
4720 1999-01-18  Vladimir N. Makarov  <vmakarov@cygnus.com>
4721
4722         *  invoke.texi (-mcpu=740, -mcpu=750): New options.
4723         (-m(no-)multiple, -m(no-)string): Describe cases for PPC740 &
4724         PPC750.
4725
4726 1999-01-18  Michael Meissner  <meissner@cygnus.com>
4727
4728         * rs6000.h ({ASM,CPP}_CPU_SPEC): Add support for all machines
4729         supported with -mcpu=xxx.
4730         (processor_type): Add PROCESSOR_PPC750.
4731         (ADJUST_PRIORITY): Call rs6000_adjust_priority.
4732         (RTX_COSTS): Supply costs for 750 multiply/divide operations.
4733         (rs6000_adjust_priority): Add declaration.
4734         
4735         * rs6000.c (rs6000_override_options): -mcpu={750,740} now sets the
4736         processor type as 750, not 603.  Allow -mmultiple and -mstring on
4737         little endian 750 systems.
4738         (rs6000_adjust_priority): Stub for now.
4739         (get_issue_rate): The PowerPC 750 can issue 2 instructions/cycle.
4740
4741         * rs6000.md (function/cpu attributes): Add initial ppc750 support.
4742
4743         * sysv4.h (STRICT_ALIGNMENT): Don't force strict alignment if
4744         little endian.
4745         (CC1_SPEC): Pass -mstrict-align if little endian, and not
4746         overridden.
4747         (CC1_ENDIAN_{LITTLE,BIG,DEFAULT}_SPEC): Endian specific configs.
4748         (SUBTARGET_EXTRA_SPECS): Add cc1 endian specs.
4749
4750         * {sysv4,eabi}le.h (CC1_ENDIAN_DEFAULT_SPEC): Override, default is
4751         little endian.
4752
4753         * t-ppcgas (MULTILIB_*): Delete obsolete Solaris multilibs.
4754
4755 Mon Jan 18 12:03:08 1999  Gavin Romig-Koch  <gavin@cygnus.com>
4756
4757         * config/mips/mips.md (div_trap): Split div_trap_mips16
4758         from div_trap.  
4759         (div_trap_normal,div_trap_mips16): Correct the length attributes.
4760
4761 Mon Jan 18 11:48:28 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
4762
4763         * cpplib.c (special_symbol): Qualify a char* with the `const' keyword.
4764         Instead of writing to const char *buf directly, use a non-const
4765         variable `wbuf' to allocate and write a string, then set buf = wbuf.
4766
4767         * cppulp.c (user_label_prefix): Qualify a char* with the `const'
4768         keyword.
4769
4770         * dyn-string.c (dyn_string_append): Likewise.
4771
4772         * dyn-string.h (dyn_string_append): Likewise.
4773
4774         * final.c (end_final, output_operand_lossage, asm_fprintf): Likewise.
4775
4776         * output.h (end_final, output_operand_lossage, asm_fprintf,
4777         named_section, decode_reg_name, make_decl_rtl, user_label_prefix):
4778         Likewise.
4779
4780         * profile.c (init_branch_prob): Likewise.
4781
4782         * toplev.c (set_target_switch, vmessage,
4783         v_message_with_file_and_line, v_message_with_decl,
4784         v_error_with_file_and_line, v_error_with_decl, v_error_for_asm,
4785         verror, vfatal, v_warning_with_file_and_line, v_warning_with_decl,
4786         v_warning_for_asm, vwarning, vpedwarn, v_pedwarn_with_decl,
4787         v_pedwarn_with_file_and_line, vsorry, v_really_sorry,
4788         open_dump_file, dump_rtl, clean_dump_file, 
4789         print_version, print_single_switch, print_switch_values,
4790         dump_base_name, debug_args, lang_independent_options,
4791         user_label_prefix, documented_lang_options, target_switches,
4792         target_options, print_time, pfatal_with_name, fatal_io_error,
4793         fatal_insn, default_print_error_function, print_error_function,
4794         report_error_function, error_with_file_and_line, error_with_decl,
4795         error_for_asm, error, fatal, warning_with_file_and_line,
4796         warning_with_decl, warning_for_asm, warning, pedwarn,
4797         pedwarn_with_decl, pedwarn_with_file_and_line, sorry,
4798         really_sorry, botch, output_quoted_string, output_file_directive,
4799         open_dump_file, rest_of_decl_compilation, display_help, main):
4800         Likewise.
4801
4802         * toplev.h (print_time, fatal, fatal_io_error, pfatal_with_name,
4803         fatal_insn, warning, error, pedwarn, pedwarn_with_file_and_line,
4804         warning_with_file_and_line, error_with_file_and_line, sorry,
4805         really_sorry, default_print_error_function, report_error_function,
4806         rest_of_decl_compilation, pedwarn_with_decl, warning_with_decl,
4807         error_with_decl, error_for_asm, warning_for_asm, output_quoted_string,
4808         output_file_directive, botch): Likewise.
4809
4810         * tree.h (make_decl_rtl): Likewise.
4811
4812         * varasm.c (strip_reg_name, named_section, decode_reg_name,
4813         make_decl_rtl): Likewise.
4814         
4815 Mon Jan 18 11:35:49 1999  Gavin Romig-Koch  <gavin@cygnus.com>
4816
4817         * Makefile.in (TCL_LIBRARY): Use 'cd' to find the library
4818         directory logically rather than physically. 
4819
4820 Mon Jan 18 09:05:37 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
4821
4822         * loop.c (insert_bct): Hide the definition of variables
4823         `increment_direction', `compare_direction', `add_iteration' and
4824         `loop_var_mode'.
4825
4826         * recog.c (mode_dependent_address_p): Mark parameter `addr' with
4827         ATTRIBUTE_UNUSED.  Mark label `win' with ATTRIBUTE_UNUSED_LABEL.
4828         (mode_independent_operand): Mark label `lose' with
4829         ATTRIBUTE_UNUSED_LABEL.
4830
4831         * regclass.c (n_occurrences): Remove prototype and definition.
4832
4833         * reload.c (find_reloads_address_1): Mark variable `tem' with
4834         ATTRIBUTE_UNUSED.
4835
4836         * reload1.c (reload): Cast the first two arguments of `bcopy' to PTR.
4837
4838         * sbitmap.c (sbitmap_copy): Likewise.
4839
4840         * scan-decls.c (scan_decls): Hide label `handle_comma'.
4841
4842         * toplev.c (output_lang_identify): Mark prototype with
4843         ATTRIBUTE_UNUSED.
4844
4845         * tree.c (make_node): Cast the first argument of `bzero' to PTR.
4846         (make_tree_vec): Likewise.
4847         (build1): Likewise.
4848
4849         * varasm.c (assemble_static_space): Mark variable `tem' with
4850         ATTRIBUTE_UNUSED.
4851
4852 Mon Jan 18 04:28:36 1999  Nathan Sidwell  <nathan@acm.org>
4853
4854         * Makefile.in (GCOV_INSTALL_NAME): New macro.
4855         (install-common): Use it.
4856         (uninstall): Use it.
4857         (uninstall): Use correct names for protoize and unprotoize.
4858
4859 Mon Jan 18 03:52:56 1999  Christian Bruel <Christian.Bruel@st.com>
4860                           Jeffrey A Law  (law@cygnus.com)
4861
4862         * flow.c (last_mem_set): Delete variable.  References removed.
4863         (mem_set_list): New variable.
4864         (life_analysis): Initialize and finalize alias analysis.
4865         (propagate_block); Initialize mem_set_list.  Clear for CALL_INSNs.
4866         (insn_dead_p): For a store to memory, search the entire mem_set_list
4867         for a match.
4868         (mark_set_1): Kill entries on the mem_set_list for aliased writes or
4869         changes to their addresses.  Add new entries to the mem_set_list for
4870         memory writes writes.
4871         (mark_used_regs): Kill entries on the mem_set_list which may be
4872         referenced by a load operation.
4873
4874 Mon Jan 18 01:01:02 1999  Jeffrey A Law  (law@cygnus.com)
4875
4876         * alias.c (base_alias_check): Add missing return for differing
4877         symbols case.
4878
4879 Mon Jan 18 00:36:13 1999  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
4880
4881         * mips-tdump.c (print_file_desc): Handle unknown filenames and
4882         missing local symbols.
4883
4884 Sun Jan 17 21:04:31 1999  Richard Henderson  <rth@cygnus.com>
4885
4886         * jump.c (rtx_renumbered_equal_p): Special case CODE_LABEL.
4887
4888         * system.h (bcopy): Implement with memmove not memcpy.
4889
4890 Sun Jan 17 19:23:20 1999  Jeffrey A Law  (law@cygnus.com)
4891
4892         * Makefile.in (cppulp.o): Add dependencies.
4893
4894         * i386.md (integer conditional moves): Add missing earlyclobbers.
4895
4896         * regmove.c (optimize_reg_copy_1): Undo Aug 18 change.  Update
4897         REG_N_CALLS_CROSSED and REG_LIVE_LENGH if and only if we change
4898         where a register is live.
4899
4900 Sun Jan 17 03:20:47 1999  H.J. Lu  (hjl@gnu.org)
4901
4902         * reg-stack.c (subst_stack_regs_pat): Abort if the destination
4903         of a FP conditional move is not on the FP register stack.
4904
4905 Sun Jan 17 01:15:04 PST 1999 Jeff Law  (law@cygnus.com)
4906
4907         * version.c: Bump for snapshot.
4908
4909 Sat Jan 16 23:40:33 1999  Jeffrey A Law  (law@cygnus.com)
4910
4911         * reload1.c (reload_cse_regs_1): Do not call
4912         reload_cse_simplify_operands for an insn with asm operands.
4913
4914         * cccp.c (print_help): Fix typos.
4915         * cpplib.c (print_help): Fix typos.
4916         * toplev.c (f_optiosn): Fix typos.
4917         (documented_lang_options): Fix typos.
4918
4919 Sat Jan 16 21:48:17 1999  Marc Espie (Marc.Espie@openbsd.org)
4920
4921         * gcc.c: (do_spec_1): Fix obvious typo.
4922
4923 Sat Jan 16 19:31:07 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
4924
4925         * c-decl.c (duplicate_decls): If `warn_traditional', warn when
4926         a non-static function declaration follows a static one.
4927
4928         * invoke.texi (-Wtraditional): Document the extra check now done
4929         by this flag.
4930
4931 Sat Jan 16 15:13:46 1999  Jeffrey A Law  (law@cygnus.com)
4932
4933         * pa.md (shadd): Create shadd insns, even if the result of the shift is
4934         needed without the addition.
4935
4936 Sat Jan 16 10:48:16 1999  J"orn Rennecke <amylaar@cygnus.co.uk>
4937
4938         * sh.md (movdf, movsf): Temporary workaround for no_new_pseudos lossage.
4939
4940 Fri Jan 15 23:44:37 1999  Richard Henderson  <rth@cygnus.com>
4941
4942         * sparc.c (sparc_issue): Add hypersparc/sparclite86x entries.
4943
4944 Fri Jan 15 22:30:04 1999  David Edelsohn  <edelsohn@gnu.org>
4945
4946         * rs6000.h (CONST_OK_FOR_LETTER_P): Do not assume 32-bit CONST_INT.
4947         * rs6000.c (u_short_cint_operand, add_operand, logical_operand,
4948         non_add_cint_operand, non_logical_cint_operand): Likewise.
4949         (get_issue_rate): Add CPU_PPC604E case.
4950         * rs6000.md (movdi, !TARGET_POWERPC64 splitters): Handle 64-bit hosts.
4951         
4952 Fri Jan 15 18:42:12 1999  Richard Henderson  <rth@cygnus.com>
4953
4954         * expr.c (queued_subexp_p): Make public.
4955         * expr.h (queued_subexp_p): Declare it.
4956         * recog.c (asm_operand_ok): New function.
4957         (check_asm_operands): Use it.  After reload, use constrain_operands 
4958         instead.
4959         * recog.h (asm_operand_ok): Declare it.
4960         * stmt.c (expand_asm_operands): Use it to try harder to make
4961         asms initially satisfy their constraints.
4962
4963 Fri Jan 15 17:43:59 1999  Jeffrey A. Law  <law@rtl.cygnus.com>
4964
4965         * sparc.h (LEGITIMIZE_RELOAD_ADDRESS): Do not create
4966         (mem (lo_sum (...)) for TFmode unless TARGET_V9.
4967
4968 Sat Jan 16 12:47:15 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
4969
4970         * config/c4x/c4x.md (not_repeat_reg): Allow ldp instruction
4971         in delay slot of RPTBD.
4972
4973 Sat Jan 16 12:26:40 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
4974
4975         * config/c4x/libgcc.S (___divhi3, ___modhi3): Fix long long
4976         divide and modulo sign problem.
4977
4978 Fri Jan 15 11:02:31 1999   Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
4979
4980         * unroll.c (loop_iterations): Return 0 if the last loop insn
4981         is not a jump insn or if the loop has multiple back edges.
4982
4983 1999-01-15  Manfred Hollstein  <manfred@s-direktnet.de>
4984
4985         * configure.in (fixinc_defs): Do not define for m[68]8k-motorola-sysv{,3};
4986         it's working properly now.  Remove comment saying "see m68k-motorola-sysv
4987         as an example".
4988         * configure: Regenerate using autoconf.
4989
4990         * fixinc/fixincl.c (main): Do not ignore SIGCHLD.
4991
4992 Thu Jan 14 22:38:41 1999  Jeffrey A Law  (law@cygnus.com)
4993
4994         * unroll.c (find_splittable_givs): For a DEST_ADDR giv, do not share
4995         a register with another DEST_ADDR giv if the address is not valid.
4996
4997         * pa.c (hppa_expand_epilogue): Save and restore the static chain
4998         around the call to mcount.
4999
5000         * h8300.h (ASM_OUTPUT_LABELREF): Use asm_fprintf, not fprintf.
5001
5002         * stmt.c (expand_end_case): Use emit_cmp_and_jump_insns to avoid
5003         generating non-canonical rtl.
5004
5005 1999-01-14  Vladimir N. Makarov  <vmakarov@cygnus.com>
5006
5007         * config/i960/i960.c (i960_output_move_double_zero,
5008         i960_output_move_quad_zero): New functions for moving zeros.
5009         (i960_output_move_double, i960_output_move_quad): Additional code
5010         for situation when moving unaligned register group.
5011         
5012         * config/i960/i960.h (i960_output_move_double_zero,
5013         i960_output_move_quad_zero): The function definitions.
5014
5015         * config/i960/i960.md (movdi+1, movti+1): Usage of the functions.
5016
5017 1999-01-13  Vladimir N. Makarov  <vmakarov@cygnus.com>
5018
5019         * config/i960/i960.c (i960_function_prologue): New code (optimal
5020         solution) for saving global registers in local registers.
5021         (form_reg_groups, reg_group_compare, split_reg_group): New
5022         functions used by the code.
5023         (reg_group): New structure definition for the new code.
5024
5025 1999-01-13  Manfred Hollstein  <manfred@s-direktnet.de>
5026
5027         * fixinc/fixincl.c (create_file): Pass file creation mask as
5028         third parameter to "open".  Use O_TRUNC flag to open instead of
5029         explicitly unlink'ing the file.
5030         (process): and forget about the "chmod" stuff.
5031
5032 Wed Jan 13 20:12:37 1999  Richard Henderson  <rth@cygnus.com>
5033
5034         * integrate.c (expand_inline_function): Recognize (mem (addressof))
5035         and substitute.  Copy the return value from there into a new pseudo.
5036
5037 Wed Jan 13 16:47:00 1999  Catherine Moore  <clm@cygnus.com>
5038
5039         * config/arm.c (output_func_epilogue):  Check TARGET_ABORT_NORETURN
5040         before generating a call to abort for volatile functions.
5041         * config/arm.h (ARM_FLAG_ABORT_NORETURN):  Define.
5042         (TARGET_ABORT_NORETURN):  Define.
5043         (abort-on-noreturn):  New option.
5044
5045 Thu Jan 14 13:52:42 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
5046
5047         * config/c4x/c4x.md (in_annul_slot_3): Correctly allow unarycc 
5048         and binarycc operations in 3rd annulled delay slot!
5049
5050 Wed Jan 13 16:16:44 1999  Catherine Moore  <clm@cygnus.com>
5051
5052         * config/arm.c (output_func_epilogue):  Check TARGET_ABORT_NORETURN
5053         before generating a call to abort for volatile functions.
5054         * config/arm.h (ARM_FLAG_ABORT_NORETURN):  Define.
5055         (TARGET_ABORT_NORETURN):  Define.
5056         (abort-on-noreturn):  New option.
5057
5058 Wed Jan 13 13:30:08 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
5059
5060         * cccp.c (xstrdup): Renamed from `savestring'.  All callers changed.
5061         Remove prototype which we get from libiberty.h.
5062
5063         * collect2.c (xstrdup): Likewise.
5064
5065         * genextract.c (xstrdup): Likewise for `copystr'.
5066         (mybzero): Remove it and use `memset' instead.
5067
5068         * genoutput.c (mybcopy, mybzero): Remove these.  All callers changed
5069         to use `memcpy' and `memset' instead.
5070
5071         * genrecog.c (xstrdup): Renamed from `copystr'.  All callers
5072         changed.  Remove prototype.
5073         (mybcopy, mybzero): Remove these and use memcpy/memset.
5074
5075 Wed Jan 13 00:59:04 1999  Jeffrey A Law  (law@cygnus.com)
5076
5077         * mips.h (LOAD_EXTEND_OP): Correct for SImode and CCmode moves when
5078         generating code for TARGET_64BIT.
5079
5080 Tue Jan 12 14:05:37 1999   David Edelsohn  <edelsohn@gnu.org>
5081
5082         * rs6000.c (print_operand, cases 'm' and 'M'): Do not depend on
5083         HOST_WIDE_INT word-size.
5084         (rs6000_stack_info): Remove redundant alignment of fpmem.
5085
5086 Tue Jan 12 14:05:37 1999   Richard Henderson  <rth@cygnus.com>
5087
5088         * rs6000.c (short_cint_operand): Remove CONSTANT_P_RTX handling.
5089         (u_short_cint_operand, reg_or_cint_operand, logical_operand): Likewise.
5090         (input_operand): Adjust CONSTANT_P_RTX handling.
5091         * rs6000.h (PREDICATE_CODES): Remove CONSTANT_P_RTX references.
5092         * rs6000.md (movsi): Adjust CONSTANT_P_RTX handling.
5093         (movhi, movqi): Remove CONSANT_P_RTX handling.
5094         (movdi): Adjust CONSTANT_P_RTX handling.
5095
5096 1999-01-12  Manfred Hollstein  <manfred@s-direktnet.de>
5097
5098         * configure: Regenerate using autoconf.
5099
5100         * fixinc/Makefile.in (INCLUDES): Add -I$(srcdir)/../../include.
5101         * fixinc/fixincl.c (SIGCHLD): Use SIGCLD on (very) old systems.
5102         (process): "fchmod" isn't available on all systems, use "chmod"
5103         instead.
5104         * fixinc/server.c: Add #include <sys/types.h>.
5105         (STDIN_FILENO): Add default definition if no include file defines
5106         it already.
5107         (STDOUT_FILENO): Likewise.
5108
5109 Tue Jan 12 10:23:24 1999  Stan Cox  <scox@cygnus.com>
5110
5111         * mips.md (call_value_internal3c): New pattern for -mips16 -mlong-calls.
5112
5113 1999-01-12  Manfred Hollstein  <manfred@s-direktnet.de>
5114
5115         * m68k/mot3300.h (ADD_MISSING_POSIX, ADD_MISSING_XOPEN): Define to
5116         ensure all prototypes necessary for building libio will be available.
5117         * m68k/xm-mot3300.h (ADD_MISSING_POSIX, ADD_MISSING_XOPEN): Remove
5118         definitions here as they are not host specific.
5119         * m88k/sysv3.h, m88k/xm-sysv3.h: Likewise.
5120
5121 Tue Jan 12 02:53:46 1999  Richard Henderson  <rth@cygnus.com>
5122
5123         * cse.c (cse_insn): Never prefer (const (constant_p_rtx)).
5124
5125 Tue Jan 12 02:36:10 PST 1999 Jeff Law  (law@cygnus.com)
5126
5127         * version.c: Bump for snapshot.
5128
5129 Tue Jan 12 01:30:19 1999  Richard Henderson  <rth@cygnus.com>
5130
5131         * rtl.c (rtx_alloc): Use memset instead of inline loop.
5132
5133         * recog.h (recog_op_alt): Declare extern.
5134
5135 Tue Jan 12 00:23:31 1999  Richard Henderson  <rth@cygnus.com>
5136
5137         * function.c (purge_addressof_1): If the note accesses a mem+addressof
5138         in a wider mode than any replacement, adjust the cached replacement.
5139         Cache trivial substitutions as well.
5140
5141 Tue Jan 12 00:06:00 1999  Richard Henderson  <rth@cygnus.com>
5142
5143         * Makefile.in (OBJECTS): Add sbitmap.o.
5144         (BASIC_BLOCK_H): Add sbitmap.h.
5145         * basic-block.h: Move simple bitmap code to sbitmap.h.
5146         * flow.c: Move simple bitmap code to sbitmap.c
5147         * sbitmap.h, sbitmap.c: New files.
5148
5149 Mon Jan 11 23:51:50 1999  Richard Henderson  <rth@cygnus.com>
5150
5151         * alpha.h (TARGET_SWITCHES): Document switches.
5152         (TARGET_OPTIONS): Likewise.
5153
5154         * alpha/elf.h (ASM_FINISH_DECLARE_OBJECT): Use HOST_WIDE_INT_PRINT_DEC.
5155
5156 Mon Jan 11 22:54:14 1999  Richard Henderson  <rth@cygnus.com>
5157
5158         * tree.c (new_alias_set): Return zero if !flag_strict_aliasing.
5159
5160 Mon Jan 11 22:36:01 1999  Richard Henderson  <rth@cygnus.com>
5161
5162         * basic-block.h (basic_block_head): Rename to x_basic_block_head.
5163         (basic_block_end): Rename to x_basic_block_end.
5164         (BLOCK_HEAD, BLOCK_END): Update.
5165
5166         * caller-save.c: Change basic_block_head/end references to 
5167         BLOCK_HEAD/END.
5168         * combine.c, flow.c, function.c, gcse.c, global.c: Likewise.
5169         * graph.c, haifa-sched.c, local-alloc.c, regclass.c: Likewise.
5170         * regmove.c, reload1.c, reorg.c, sched.c: Likewise.
5171
5172 Sat Jan  9 23:54:09 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
5173
5174         * gcc.c (xstrerror): Renamed from my_strerror.  All callers
5175         changed.  Remove prototype since we get that from libiberty.h.
5176
5177         * protoize.c (xstrerror): Likewise.
5178
5179 Sat Jan  9 23:22:04 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
5180
5181         * gcc.c (read_specs): Ensure format specifiers match their arguments.
5182
5183 Sat Jan  9 20:04:24 1999  Richard Henderson  <rth@cygnus.com>
5184
5185         * tree.c (copy_node): Oops.  That would be copy not zero
5186         in that last change.
5187
5188 Sun Jan 10 15:35:41 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
5189
5190         * config/c4x/c4x.c: Include system.h.
5191         (c4x_caller_save_map): Disable caller save for RC.
5192         (c4x_optimization_options): Disable scheduling before reload.
5193         (valid_parallel_load_store) : Define return type as int.  
5194         Remove unused variable regs.
5195         * config/c4x/c4x.h (REGISTER_MOVE_COST): Make independent of register
5196         class.
5197         * config/c4x/c4x.md (rotlqi3, rotrqi3): Fix up emitted RTL to
5198         handle rotations.
5199         (*db, decrement_and_branch_until_zero): Fix up constraints
5200         to keep reload happy.
5201
5202 Sat Jan  9 18:35:29 1999  Richard Henderson  <rth@cygnus.com>
5203
5204         * tree.c (make_node): Call bzero instead of inline clear.
5205         (copy_node, make_tree_vec, build1): Likewise.
5206         (get_identifier): Call strlen instead of inline count.
5207         (maybe_get_identifier): Likewise.
5208
5209 Sun Jan 10 14:04:51 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
5210
5211         * config/c4x/c4x.md: (in_annul_slot_3): Allow unarycc and binarycc
5212         operations in 3rd annulled delay slot.
5213         (*lshrqi3_const_set): Disallow c constraint for operand0.
5214         (modhi3+1, modhi3+2): Set attribute type to multi.
5215         * config/c4x/c4x.c (c4x_S_constraint): Removed space in middle of 
5216         != operator.
5217
5218 Sat Jan  9 11:44:55 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
5219
5220         * gansidecl.h: Allow attribute unused on labels only when we are
5221         version 2.93 or higher.  Not all versions of 2.92 have this feature.
5222
5223         * version.c: Bump minor number to 93.
5224
5225 Fri Jan  8 10:51:13 1999  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
5226
5227         * config/m68k/m68k.h: Declare output_function_epilogue.
5228         * recog.h: Declare next_insn_tests_no_inequality.
5229
5230 Fri Jan  8 01:43:53 1999  Jeffrey A Law  (law@cygnus.com)
5231
5232         * stmt.c (optimize_tail_recursion): New function, extracted from ...
5233         (expand_return): Use optimize_tail_recursion.
5234         * tree.h (optimize_tail_recursion): Declare.
5235
5236         * toplev.c (compile_file): Move call to output_func_start_profiler
5237         to after the loop to emit deferred functions.
5238
5239 Thu Jan  7 19:52:53 1999  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
5240
5241         * system.h (abort): Supply more detailed information on how to
5242         report an Internal Compiler Error.
5243
5244 Thu Jan 7  9:25:58 PST 1999 Bruce Korb (korb@datadesign.com)
5245
5246         * fixinc/fixincl.c (*): more decapitalization of variables
5247         plus some explanitory comments
5248
5249         * fixinc/Makefile.in fixinc/mkfixinc.sh:
5250         When the fixincl program does not work for a certain system,
5251         we substitute a shell script.  Added user commentary when
5252         this happens.
5253
5254 Thu Jan  7 11:26:17 1999  Mark Mitchell  <mark@markmitchell.com>
5255
5256         * calls.c (store_unaligned_arguments_into_pseudos): Use xmalloc to
5257         allocate memory that will live beyond this function.
5258         (expand_call): Free it here.
5259
5260 Thu Jan  7 03:08:17 1999  Richard Henderson  <rth@cygnus.com>
5261
5262         * sparc.h (PREFERRED_RELOAD_CLASS): Select GENERAL_REGS for 
5263         integer data not destined for fp regs.
5264         (LEGITIMIZE_RELOAD_ADDRESS): New.
5265
5266 Thu Jan  7 03:03:42 1999  Stan Cox  <scox@cygnus.com>
5267                           Richard Henderson  <rth@cygnus.com>
5268
5269         Support for Hypersparc and Sparclite86x:
5270         * sparc.h (TARGET_CPU_hypersparc, TARGET_CPU_sparclite86x): New.
5271         (CPP_CPU32_DEFAULT_SPEC): Fix up for the new targets.
5272         (ASM_CPU32_DEFAULT_SPEC): Likewise.
5273         (TARGET_CPU_DEFAULT): Likewise.
5274         (enum processor_type): Likewise.
5275         (CPP_ENDIAN_SPEC): Handle little endian data.
5276         (LIBGCC2_WORDS_BIG_ENDIAN): Likewise.
5277         (ADJUST_COST): Call sparc_adjust_cost.
5278         * sparc.c (sparc_override_options): Fix up for the new targets.
5279         (supersparc_adjust_cost): Make static.
5280         (hypersparc_adjust_cost): New.
5281         (ultrasparc_adjust_cost): Make static.
5282         (sparc_adjust_cost): New.
5283         * sparc.md (attr cpu): Add hypersparc and sparclite86x.
5284         (function_unit): Add hypersparc scheduling rules.
5285
5286         * configure.in (with_cpu handler): Recognize hypersparc.
5287
5288 Thu Jan  7 23:54:05 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
5289
5290         * config/c4x/c4x.c: Added space after negation operator.
5291         * config/c4x/c4x.h: Likewise.
5292         * config/c4x/c4x.md: Likewise.
5293
5294 Thu Jan  7 23:39:27 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
5295
5296         * config/c4x/c4x.c (c4x_preferred_reload_class): Always return class.
5297
5298 Thu Jan  7 00:29:25 199  Bernd Schmidt <crux@pool.informatik.rwth-aachen.de>
5299
5300         * combine.c (num_sign_bit_copies): In NEG, MULT, DIV and MOD cases,
5301         when a test can't be performed due to limited width of
5302         HOST_BITS_PER_WIDE_INT, use the more conservative approximation.
5303         Fix UDIV case for cases where the first operand has the highest bit
5304         set.
5305
5306 Thu Jan  7 00:01:38 1999  Lutz Vieweg <lkv@mania.robin.de>
5307
5308         * pa.h (reg_class): Add FPUPPER_REGS.
5309         (REG_CLASS_NAMES): Similarly.
5310         (REG_CLASS_CONTENTS): Similarly
5311         (REGNO_REG_CLASS): Handle FPUPPER_REGS.
5312         (FP_REG_CLASS_P): Likewise.
5313         (REG_CLASS_FROM_LETTER): Similarly.
5314         (CLASS_MAX_NREGS): Similarly.
5315
5316 1999-01-06  Brendan Kehoe  <brendan@cygnus.com>
5317
5318         * fixincludes: For HP/UX 10.20, also look in curses_colr/curses.h
5319         for a typedef of bool.  Make sure to have a copy of the file is
5320         in place before we look to fix it.  Fix typo in variable name to
5321         FILE.
5322
5323 Wed Jan  6 07:51:05 1999  Richard Henderson  <rth@cygnus.com>
5324
5325         * expr.c (expand_builtin) [case BUILT_IN_CONSTANT_P]: Use
5326         value_mode for the return mode.
5327
5328 Wed Jan  6 17:55:19 1999  Robert Lipe  <robertlipe@usa.net>
5329
5330         * configure.in: New flag --with-dwarf2.   If set, enables DWARF-2
5331         debugging as default.
5332
5333         * config/tm-dwarf2.h: New file.
5334
5335 Wed Jan  6 16:08:54 1999  Jeffrey A Law  (law@cygnus.com)
5336
5337         * h8300.h (ASM_OUTPUT_LABELREF): Define.
5338
5339         * pa.h (DONT_RECORD_EQUIVALENCE): Kill.
5340         * local-alloc.c (update_equiv_regs): Corresponding changes.
5341         * tm.texi (DONT_RECORD_EQUIVALENCE): Kill.
5342
5343         * calls.c (special_function_p): Push alloca test inside the large
5344         conditional which excludes functions not at file scope or not
5345         extern.  
5346
5347         * calls.c (special_function_p): New function broken out of
5348         expand_call.
5349         (precompute_register_parameters): Likewise.
5350         (store_one_arg): Likewise.
5351         (store_unaligned_argumetns_into_pseudos): Likewise.
5352         (save_fixed_argument_area): Likewise.
5353         (restore_fixed_argument_area): Likewise.
5354         (expand_call): Corresponding changes.
5355
5356 Thu Jan  7 00:12:24 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
5357
5358         * config/c4x/c4x.md (addqi3): If the destination operand is
5359         a hard register other than an extended precision register,
5360         emit addqi3_noclobber.
5361         (*addqi3_noclobber_reload): New pattern added so that reload
5362         will recognise a store of a pseudo, equivalent to the sum
5363         of the frame pointer and a constant, as an add insn.
5364
5365 1999-01-06  Manfred Hollstein  <manfred@s-direktnet.de>
5366
5367         * fixinc/fixincl.c: Re-indent according to the GNU standards.
5368         fixinc/server.c: Likewise.
5369         fixinc/server.h: Likewise.
5370
5371 Wed Jan  6 10:43:29 1999  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
5372
5373         * config/m68k/m68k.c (const_uint32_operand): Remove CONSTANT_P_RTX
5374         handling.
5375         (const_sint32_operand): Likewise.
5376
5377 Wed Jan  6 09:44:51 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
5378
5379         * toplev.h: In addition to checking _JBLEN, also check if `setjmp'
5380         is a macro when deciding if we can use `jmp_buf' in prototypes.
5381
5382 Wed Jan  6 03:18:53 1999  Mark Elbrecht  <snowball3@usa.net>
5383
5384         * configure.in (pc-msdosdjgpp): Set x_make to x-go32.
5385         * configure: Rebuilt.
5386         * i386/xm-go32.h: Define LIBSTDCXX.
5387         * i386/x-go32: New.
5388         * i386/go32.h (MD_EXEC_PREFIX): Define.
5389         (FILE_NAME_ABSOLUTE_P): Define.
5390         (LINK_COMMAND_SPEC): Define.
5391
5392 Wed Jan  6 02:23:36 1999  "Charles M. Hannum" <root@ihack.net>
5393
5394         * expr.c (store_expr): If the lhs is a memory location pointed
5395         to be a postincremented (or postdecremented) pointer, always
5396         force the rhs to be evaluated into a pseudo.
5397
5398 Wed Jan  6 00:54:21 1999  Geoff Keating  <geoffk@ozemail.com.au>
5399
5400         * real.c (mtherr): Print more reasonable warning messages.
5401
5402 Tue Jan  5 21:57:42 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
5403
5404         * Makefile.in (gcc.o, prefix.o, cccp.o, cpplib.o): Depend on prefix.h.
5405
5406         * cccp.c: Include prefix.h, don't prototype prefix.c functions.
5407         (new_include_prefix): Constify char* parameters.
5408
5409         * cppfiles.c (read_name_map): Likewise.
5410         (append_include_chain): Likewise.  Also, use a writable char* copy
5411         of parameter `dir' which we then modify, rather than using the
5412         parameter itself to store the new writable string.
5413         (remap_filename): Constify some variables.  Also, use a writable
5414         char* to store an allocated string which we will be modifying.
5415
5416         * cpplib.c: Include prefix.h, don't prototype prefix.c functions.
5417         (cpp_start_read): Constify variable `str'.
5418
5419         * cpplib.h (append_include_chain): Constify a char* parameter.
5420
5421         * gcc.c Include prefix.h, don't prototype prefix.c functions.
5422         (add_prefix, save_string): Constify char* parameters.
5423         (fatal, error): Add ATTRIBUTE_PRINTF_1 to prototypes.
5424
5425         * prefix.c: Include prefix.h.
5426         (get_key_value, translate_name, save_string, update_path,
5427         set_std_prefix): Constify various char* parameters and variables.
5428         (save_string): Use xmalloc, not malloc.
5429         (translate_name): Use a writable temporary variable to create and
5430         modify a string before setting it to a const char*.
5431         
5432         * prefix.h: New file to prototype functions exported from prefix.c.
5433
5434 Tue Jan 5  8:52:18 PST 1999 Bruce Korb (korb@datadesign.com)
5435
5436         * fixinc/fixincl.c (various): added debug code so
5437         Manfred can trace the processing.
5438
5439         * fixinc/inclhack.def (sys/utsname.h): Provide forward declaration of
5440         struct utsname on Ultrix V4.[35].
5441
5442         * fixinc/{fixincl.x|fixincl.sh|inclhack.sh} : regenerated
5443
5444 Mon Jan  4 15:37:30 1999  Zack Weinberg  <zack@rabi.phys.columbia.edu>
5445
5446         * cpplib.c (skip_if_group): Split out the logic that handles
5447         directive recognition to its own function.  Don't use
5448         parse markers; use a bare pointer into the buffer.  Use
5449         copy/skip_rest_of_line instead of doing it by hand.  Remove
5450         `return on any directive' mode which was never used, and take
5451         only one argument.
5452         (consider_directive_while_skipping): New function, subroutine
5453         of skip_if_group.  Logic streamlined a bit.
5454         (conditional_skip, do_elif, do_else): Call skip_if_group with
5455         only one argument.
5456
5457 Mon Jan  4 15:27:30 1999  Zack Weinberg  <zack@rabi.phys.columbia.edu>
5458
5459         * cpplib.c (do_undef): EOF immediately after '#undef FOO' is not an
5460         error.
5461
5462 Mon Jan  4 11:55:51 1999  Jason Merrill  <jason@yorick.cygnus.com>
5463
5464         * extend.texi (Bound member functions): Document.
5465
5466 Mon Jan  4 11:01:48 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
5467
5468         * mips-tdump.c (st_to_string, sc_to_string, glevel_to_string,
5469         lang_to_string, type_to_string): Make return type const char*.
5470         (print_symbol): Apply `const' keyword to a char*.
5471         (print_file_desc): Cast structure member `crfd' to ulong when
5472         comparing against one.
5473
5474         * mips-tfile.c (pfatal_with_name): Apply `const' keyword to char*.
5475         (fatal, error): Add ATTRIBUTE_PRINTF_1 to prototypes.
5476         (progname, input_name): Apply `const' keyword to a char*.
5477         Don't redundantly include sys/stat.h.
5478         (alloc_info): Apply `const' keyword to a char*.
5479         (st_to_string, sc_to_string): Likewise.
5480         (hash_string): Cast variable `hash_string' to a symint_t when
5481         comparing against one.
5482         (add_string): Cast PAGE_USIZE to Ptrdiff_t when comparing against one.
5483         Likewise cast it to long when comparing against one.
5484         (add_local_symbol): Apply `const' keyword to a char*.
5485         (add_ext_symbol): Likewise.
5486         (add_unknown_tag): Likewise.
5487         (add_procedure): Cast a printf-style field width to an int.
5488         (add_file): Cast PAGE_USIZE to long when comparing against one
5489         (parse_begin): Cast a printf-style field width to an int.
5490         (parse_bend): Likewise.
5491         (parse_def): Likewise.
5492         (parse_end): Likewise.
5493         (mark_stabs): Mark parameter `start' with ATTRIBUTE_UNUSED.
5494         (parse_stabs_common): Fix format specifier.
5495         (parse_input): Change type of variable `i' to Size_t.
5496         (write_object): Fix arguments to match format specifiers.
5497         Cast variable `num_write' to long when comparing against one.
5498         (read_seek): Cast variable `sys_read' to symint_t when comparing
5499         against one.  Fix arguments to match format specifiers.  Cast
5500         variable `size' to long when comparing against one.
5501         (copy_object): Cast result of `sizeof' to int when comparing
5502         against one.  Fix arguments to match format specifiers.  Cast
5503         variable `ifd' to long when comparing against a signed value.
5504         Likewise, likewise.
5505         
5506 Mon Jan  4 10:30:33 1999  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
5507
5508         * c-common.c (decl_attributes): Allow applying attribute `unused'
5509         on a LABEL_DECL.
5510
5511         * c-parse.in (label): Parse attributes after a label, and call
5512         `decl_attributes' to handle them.
5513
5514         * gansidecl.h (ATTRIBUTE_UNUSED_LABEL): Define.
5515
5516         * genrecog.c (OUTPUT_LABEL, write_tree_1, write_tree): When
5517         generating labels, mark them with ATTRIBUTE_UNUSED_LABEL.
5518
5519         * invoke.texi: Note that labels can be marked `unused'.
5520
5521 Sun Jan 3 23:32:18 PST 1999 Jeff Law  (law@cygnus.com)
5522
5523         * version.c: Bump for snapshot.
5524
5525 Sun Jan  3 23:00:42 1999  Jeffrey A Law  (law@cygnus.com)
5526
5527         * optabs.c (emit_cmp_and_jump_insns): Use CONSTANT_P canonicalizing
5528         RTL for a compare/jump sequence.
5529         
5530 Sun Jan  3 22:58:15 1999  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
5531
5532         * optabs.c (emit_cmp_insn): Abort if asked to emit non-canonical RTL
5533         for a target with HAVE_cc0 defined.
5534         (emit_cmp_and_jump_insns): New function.
5535         * expr.h (emit_cmp_and_jump_insns): Prototype it.
5536         * loop.c (check_dbra_loop): Use it to replace calls
5537         to emit_cmp_insn and emit_jump_insn and to canonicalise
5538         the comparison if necessary.
5539         * unroll.c (unroll_loop): Likewise.
5540
5541 Sun Jan  3 21:01:04 1999  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
5542
5543         * fixincludes (sys/utsname.h): Provide forward declaration of
5544         struct utsname on Ultrix V4.[35].
5545
5546         * mips.md (div_trap): Use local labels instead of dot-relative
5547         branches.
5548
5549 Sun Jan  3 20:40:34 1999  Jeffrey A Law  (law@cygnus.com)
5550
5551         * pa.md (branch, negated branch): Handle (const_int 0) as first
5552         source operand.
5553         * pa.c (output_cbranch): Likewise.
5554
5555 Sun Jan  3 03:20:38 1999  David Edelsohn  <edelsohn@gnu.org>
5556
5557         * rs6000.c (rs6000_stack_info): Undo spurious part of last
5558         change.
5559
5560 1999-01-01  Manfred Hollstein  <manfred@s-direktnet.de>
5561
5562         * extend.texi (__builtin_constant_p): Add missing @smallexample.
5563
5564 Fri Jan  1 11:48:20 1999  Jeffrey A Law  (law@cygnus.com)
5565
5566         * i386.md (doubleword shifts): Fix dumb mistakes in previous change.
5567
5568 Wed Dec 30 23:38:55 1998  Jeffrey A Law  (law@cygnus.com)
5569
5570         * m68k.md (adddi_dilshr32): Allow all operands to be registers too.
5571         (adddi_dishl32): Similarly.
5572
5573         * cse.c (invalidate_skipped_block): Call invalidate_from_clobbers
5574         for each insn in the skipped block.
5575
5576         * reload1.c (reload_as_needed): Verify that the insn satisfies its
5577         constraints after replacing a register address with an autoincrement
5578         address for reload inheritance purposes.
5579
5580         * i386.md (doubleword shifts): Avoid namespace pollution.
5581
5582 Wed Dec 30 23:00:28 1998  David O'Brien <obrien@NUXI.com>
5583
5584         * configure.in (FreeBSD ELF): Needs special crt files.
5585
5586 Wed Dec 30 22:50:13 1998  Geoffrey Noer  <noer@cygnus.com>
5587
5588         * i386/xm-cygwin.h: change DIR_SEPARATOR to forward slash.
5589
5590 1998-12-30  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
5591
5592         * loop.c (check_dbra_loop): While reversing the loop, if the
5593         comparison value has a VOID mode use the mode of the other operand
5594         to compute the mask.
5595
5596 Wed Dec 30 22:24:00 1998  Michael Meissner  <meissner@cygnus.com>
5597
5598         * rs6000.md ({save,restore}_stack_function): Take 2 operands to
5599         avoid warnings in compiling explow.c.
5600
5601         (patch from Ken Raeburn, raeburn@cygnus.com)
5602         * rs6000.c (rs6000_stack_info): Force 8-byte alignment of
5603         fpmem_offset.  Compute total size after that, and then
5604         rs6000_fpmem_offset using both values.
5605
5606 Mon Dec 28 19:26:32 1998  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
5607
5608         * gcc.texi (Non-bugs): ``Empty'' loops will be optimized away in
5609         the future; indeed that already happens in some cases.
5610
5611 Tue Dec 29 11:58:53 1998  Richard Henderson  <rth@cygnus.com>
5612
5613         * sparc.c (input_operand): Recognize (const (constant_p_rtx)).
5614         (arith_operand): Remove constant_p_rtx handling.
5615         (const64_operand, const64_high_operand): Likewise.
5616         (arith11_operand, arith10_operand, arith_double_operand): Likewise.
5617         (arith11_double_operand, arith10_double_operand, small_int): Likewise.
5618         (small_int_or_double, uns_small_int, zero_operand): Likewise.
5619         * sparc.h (PREDICATE_CODES): Likewise.
5620
5621         * rtl.h (CONSTANT_P): Remove CONSTANT_P_RTX.
5622
5623 Tue Dec 29 11:32:54 1998  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>:
5624
5625         * rtl.def (CONSTANT_P_RTX): Clarify commentary.
5626         * expr.c (expand_builtin, case BUILT_IN_CONSTANT_P): Rework to
5627         consider constant CONSTRUCTOR constant and to defer some cases
5628         to cse.
5629         * cse.c (fold_rtx, case CONST): Add handling for CONSTANT_P_RTX.
5630         * regclass.c (reg_scan_mark_refs, case CONST): Likewise.
5631
5632 Tue Dec 29 11:30:10 1998  Richard Henderson  <rth@cygnus.com>
5633
5634         * expr.c (init_expr_once): Kill can_handle_constant_p recognition.
5635         * cse.c (fold_rtx, case 'x'): Remove standalone CONSTANT_P_RTX code.
5636
5637         * alpha.c (reg_or_6bit_operand): Remove CONSTANT_P_RTX handling.
5638         (reg_or_8bit_operand, cint8_operand, add_operand): Likewise.
5639         (sext_add_operand, and_operand, or_operand): Likewise.
5640         (reg_or_cint_operand, some_operand, input_operand): Likewise.
5641         * alpha.h (PREDICATE_CODES): Likewise.
5642
5643 Sat Dec 26 23:26:26 PST 1998 Jeff Law  (law@cygnus.com)
5644
5645         * version.c: Bump for snapshot.
5646
5647 Sat Dec 26 09:17:04 1998  Jeffrey A Law  (law@cygnus.com)
5648
5649         * gengenrtl.c (gencode): Always use bzero to clear memory instead
5650         of dangerous casts and stores.
5651
5652         * Makefile.in (compare, gnucompare): Add missing else true clauses.
5653
5654 Fri Dec 25 23:00:56 1998  Jeffrey A Law  (law@cygnus.com)
5655
5656         * alpha.md (builtin_longjmp): Add missing "DONE".
5657
5658 Thu Dec 24 10:39:57 1998  Stan Cox  <scox@cygnus.com>
5659
5660         * gcc.c (execute): Enable -pipe with win32.
5661
5662 Wed Dec 23 10:27:44 1998  Nick Clifton  <nickc@cygnus.com>
5663
5664         * config/arm/t-arm-elf: Add multiplib option for leading
5665         underscores.
5666
5667         * config/arm/thumb.h (ASM_OUTPUT_LABELREF): Use variable
5668         'user_label_prefix' rather than macro USER_LABEL_PREFIX.
5669
5670         (thumb_shiftable_const): Use macro 'BASE_REG_CLASS' rather
5671         than variable 'reload_address_base_reg_class'.  [Note this
5672         change is unrelated to the others in this patch].
5673
5674         * config/arm/unknown-elf.h (USER_LABEL_PREFIX): Default to no
5675         leading underscore.
5676
5677 Wed Dec 23 09:51:32 1998  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
5678
5679         * alias.c (record_alias_subset): Remove ignored `&'.
5680         (init_alias_once): Likewise.
5681
5682         * c-lex.c (UNGETC): Cast first argument of comma expression to void.
5683
5684         * config/mips/mips.c (mips_asm_file_end): Cast the result of
5685         fwrite to `int' when comparing against one.
5686
5687         * config/mips/mips.h (CAN_ELIMINATE): Add parens around && within ||.
5688         (INITIAL_ELIMINATION_OFFSET): Add braces to avoid ambiguous `else'.
5689
5690         * cse.c (rehash_using_reg): Change type of variable `i' to
5691         unsigned int.
5692
5693         * dwarf2out.c (initial_return_save): Cast -1 to unsigned before
5694         assigning it to one.
5695
5696         * except.c (duplicate_eh_handlers): Remove unused variable `tmp'.
5697
5698         * final.c (final_scan_insn): Likewise for variable `i'.
5699         (output_asm_insn): Cast a char to unsigned char when used as an
5700         array index.
5701
5702         * gcse.c (compute_pre_ppinout): Cast -1 to SBITMAP_ELT_TYPE when
5703         assigning it to one.
5704
5705         * loop.c (strength_reduce): Remove unused variables `count' and `temp'.
5706
5707         * recog.c (preprocess_constraints): Cast a char to unsigned char
5708         when used as an array index.
5709
5710         * regmove.c (find_matches): Likewise.
5711
5712         * reload1.c (calculate_needs): Add default case in switch.
5713         (eliminate_regs_in_insn): Initialize variable `offset'.
5714         (set_offsets_for_label): Change type of variable `i' to unsigned.
5715         (reload_as_needed): Wrap variable `i' in macro check on
5716         AUTO_INC_DEC || INSN_CLOBBERS_REGNO_P.
5717
5718         * scan-decls.c (scan_decls): Mark parameters `argc' and `argv'
5719         with ATTRIBUTE_UNUSED.  Cast variable `start_written' to size_t
5720         when comparing against one.
5721
5722         * stor-layout.c (layout_decl): Cast maximum_field_alignment to
5723         unsigned when comparing against one.  Likewise for
5724         GET_MODE_ALIGNMENT().
5725         (layout_record): Cast record_align to int when comparing against a
5726         signed value. 
5727         (layout_type): Cast TYPE_ALIGN() to int when comparing against a
5728         signed value.
5729
5730         * tree.c (get_identifier): Cast variable `len' to unsigned when
5731         comparing against one.
5732         (maybe_get_identifier): Likewise
5733
5734 Wed Dec 23 00:10:01 1998  Jeffrey A Law  (law@cygnus.com)
5735
5736         * toplev.c (rest_of_compilation): Do not set reload_completed.
5737         * reload1.c (reload): Set reload_completed before calling
5738         cleanup_subreg_operands.
5739
5740 Tue Dec 22 23:58:31 1998  Richard Henderson  <rth@cygnus.com>
5741
5742         * reload1.c (emit_reload_insns): Check `set' not null before use.
5743
5744 Tue Dec 22 15:15:45 1998  Nick Clifton  <nickc@cygnus.com>
5745
5746         * rtlanal.c (multiple_sets): Change type of 'found' from 'rtx' to
5747         'int'. 
5748
5749 Tue Dec 22 13:55:44 1998  Theodore Papadopoulo <Theodore.Papadopoulo@sophia.inria.fr>
5750
5751         * halfpic.c (half_pic_encode): Delete redundant code.
5752
5753 Tue Dec 22 13:02:22 1998  Michael Meissner  <meissner@cygnus.com>
5754
5755         * toplev.c (main): Delete handling of -dM as a preprocessor
5756         option.
5757
5758 Mon Dec 21 17:39:38 1998  Michael Meissner  <meissner@cygnus.com>
5759
5760         * toplev.c (main): Don't emit any warnings when using -dD, -dM, or
5761         -dI, which are handled by the preprocessor.
5762
5763 Sun Dec 20 16:13:44 1998  John F. Carr  <jfc@mit.edu>
5764
5765         * configure.in: Handle Digital UNIX 5.x the same as 4.x.
5766         * i386/sol2.h: Define LOCAL_LABEL_PREFIX as ".".
5767
5768 Sun Dec 20 07:39:52 PST 1998 Jeff Law  (law@cygnus.com)
5769
5770         * version.c: Bump for snapshot.
5771
5772 Sat Dec 19 22:24:22 PST 1998 Jeff Law  (law@cygnus.com)
5773
5774         * version.c: Bump for snapshot.
5775
5776 Sat Dec 19 21:41:32 PST 1998 Jeff Law  (law@cygnus.com)
5777
5778         * version.c: Bump for snapshot.
5779
5780 Sat Dec 19 09:52:27 1998  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
5781
5782         * genattr.c (fatal): Qualify a char* with the `const' keyword.
5783         
5784         * genattrtab.c (fatal, attr_printf, attr_string, write_attr_set,
5785         write_unit_name, write_eligible_delay, expand_units,
5786         make_length_attrs, write_attr_case, find_attr,
5787         make_internal_attr): Likewise.
5788         * gencheck.c (tree_codes): Likewise.
5789         * gencodes.c (fatal): Likewise.
5790         * genconfig.c (fatal): Likewise.
5791         * genemit.c (fatal): Likewise.
5792         * genextract.c (fatal, walk_rtx, copystr): Likewise.
5793         * genflags.c (fatal): Likewise.
5794         * genopinit.c (fatal, optabs, gen_insn): Likewise.
5795         * genoutput.c (fatal, error, predicates): Likewise.
5796         * genpeep.c (fatal): Likewise.
5797         * genrecog.c (fatal, decision, pred_table, add_to_sequence,
5798         write_tree_1, write_tree, change_state, copystr, indents): Likewise.
5799
5800 Thu Dec 17 18:21:49 1998  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
5801
5802         * configure.in (with-fast-fixincludes): Fix whitespace.
5803         * configure: Rebuilt.
5804
5805         * fixincludes (c_asm.h): Wrap Digital UNIX V4.0B DEC C specific
5806         asm() etc. function declarations in __DECC.
5807
5808 Thu Dec 17 13:57:23 1998  Nick Clifton  <nickc@cygnus.com>
5809
5810         * expr.c (emit_move_insn_1): Only emit a clobber if the target
5811         is a pseudo register.
5812
5813 Thu Dec 17 13:50:29 1998  Nick Clifton  <nickc@cygnus.com>
5814
5815         * gcse.c: Include expr.h in order to get the prototype for
5816         get_condition() which is used in delete_null_pointer_checks(). 
5817
5818 Thu Dec 17 15:58:26 1998  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
5819
5820         * hwint.h: New file to consolidate HOST_WIDE_INT (etc) macros.
5821
5822 Thu Dec 17 12:31:12 1998  Jim Wilson  <wilson@cygnus.com>
5823
5824         * Makefile.in (INTERNAL_CFLAGS): Add SCHED_CFLAGS.
5825         (ALL_CFLAGS): Delete SCHED_CFLAGS.
5826
5827 1998-12-17  Vladimir N. Makarov  <vmakarov@cygnus.com>
5828
5829         * config/i60/i960.md (extendqihi2): Fix typo (usage ',' instead of
5830         ';').
5831
5832 1998-12-17  Michael Tiemann  <tiemann@axon.cygnus.com>
5833
5834         * i960.md (extend*, zero_extend*): Don't generate rtl that looks
5835         like (subreg:SI (reg:SI N) 0), because it's wrong, and it hides
5836         optimizations from the combiner.
5837
5838 Thu Dec 17 08:27:03 1998  J"orn Rennecke <amylaar@cygnus.co.uk>
5839
5840         * loop.c (combine_givs_used_by_other): Don't depend on n_times_set.
5841
5842 Wed Dec 16 17:30:35 1998  Nick Clifton  <nickc@cygnus.com>
5843
5844         * toplev.c (main): Disable optimize_size if a specific
5845         optimization level is requested.  Always set optimization
5846         level to 2 if -Os is specified.
5847
5848 Wed Dec 16 16:33:04 1998  Dave Brolley  <brolley@cygnus.com>
5849
5850         * objc/lang-specs.h: Pass -MD, -MMD and -MG to cc1obj if configured with
5851         cpplib.
5852         * cpplib.c (cpp_start_read): If in_fname is not initialized, try to
5853         initialize it using fname.
5854
5855 1998-12-16  Zack Weinberg  <zack@rabi.phys.columbia.edu>
5856
5857         * cpplib.c (do_include): Treat #include_next in the
5858         primary source file as #include plus warning.  Treat
5859         #include_next in a file included by absolute path as an
5860         error.  fp == CPP_NULL_BUFFER is a fatal inconsistency.
5861
5862 Wed Dec 16 12:28:54 1998  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
5863
5864         * cccp.c: Don't define MIN/MAX anymore.
5865         * cpplib.c: Likewise.
5866         * machmode.h: Likewise.
5867         * system.h: Provide definitions for MIN/MAX.
5868
5869 Tue Dec 15 23:47:42 1998  Zack Weinberg  <zack@rabi.phys.columbia.edu>  
5870
5871         * fix-header.c: Don't define xstrdup here.
5872
5873 Wed Dec 16 05:11:04 1998  J"orn Rennecke <amylaar@cygnus.co.uk>
5874
5875         * loop.c (consec_sets_giv): New argument last_consec_insn.
5876         (strength_reduce): Provide / use it.
5877
5878 Wed Dec 16 17:24:07 1998  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
5879
5880         * loop.h (loop_info): New field 'vtop'.
5881         * loop.c (check_dbra_loop):  Use loop_info->vtop rather than
5882         scanning loop for vtop.
5883         * unroll.c (subtract_reg_term, find_common_reg_term): New functions.
5884         (loop_iterations): Use them to determine if loop has a constant
5885         number of iterations.  Set loop_info->vtop.  Don't subtract
5886         common reg term from initial_value and final_value if have a
5887         do-while loop.
5888
5889 Tue Dec 15 13:49:55 1998  Jeffrey A Law  (law@cygnus.com)
5890
5891         * mn10200.md (addsi3 expander): Use "nonmemory_operand" for operand 2.
5892
5893         * mn10300.md (bset, bclr): Operand 0 is a read/write operand.
5894
5895         * mn10200.md (abssf2, negsf2): New expanders.
5896
5897         * mn10300.md (absdf2, abssf2, negdf2, negsf2): New expanders.
5898
5899 Tue Dec 15 11:55:30 1998  Nick Clifton  <nickc@cygnus.com>
5900
5901         * integrate.c (copy_rtx_and_substitute): If a SUBREG is
5902         replaced by a CONCAT whoes components do not have the same
5903         mode as the original SUBREG, use a new SUBREG to restore the
5904         mode. 
5905
5906         * emit-rtl.c (subreg_realpart_p): Cope with subregs containing
5907         multiword complex values.
5908
5909 1998-12-15  Zack Weinberg  <zack@rabi.phys.columbia.edu>
5910
5911         * cppalloc.c: Add xstrdup here.
5912         * cpplib.h: Remove savestring prototype.
5913         * cpplib.c: Remove savestring function. s/savestring/xstrdup/
5914           throughout. 
5915         * cppfiles.c: s/savestring/xstrdup/ throughout.
5916
5917 1998-12-15  Zack Weinberg  <zack@rabi.phys.columbia.edu>
5918
5919         * cpplib.c: Make all directive handlers read their own
5920           arguments.
5921           (struct directive): Remove last two arguments from FUNC
5922           member prototype. Remove `command_reads_line' member
5923           entirely.
5924           (directive_table): Remove initializations of
5925           command_reads_line flag.  Pretty-print.
5926           (eval_if_expression, do_define, do_line, do_include,
5927           do_undef, do_error, do_pragma, do_ident, do_if, do_xifdef,
5928           do_else, do_elif, do_sccs, do_assert, do_unassert,
5929           do_warning): Take only two args.
5930
5931           (cpp_define): Call do_define with two args and the text to
5932           define stuffed into a buffer.
5933           (make_assertion): Call do_assert with two args.
5934           (handle_directive): Call do_line with two args. Call
5935           kt->func with two args.  Remove command_reads_line
5936           processing.
5937           (do_define, do_undef, do_error, do_warning, do_pragma,
5938           do_sccs): Read the rest of the line here.
5939           (do_ident): Gobble rest of line, as cccp does.
5940           (cpp_undef): New function.
5941           (cpp_start_read): Call cpp_undef instead of do_undef.
5942
5943 1998-12-15  Zack Weinberg  <zack@rabi.phys.columbia.edu>
5944
5945         * cpphash.h (union hash_value): Remove `keydef' member, add a
5946           `struct hashnode *aschain' member for #assert.  
5947
5948           * cpplib.c (struct tokenlist_list, struct
5949           assertion_hashnode): Delete structure definitions.
5950           (assertion_install, assertion_lookup, delete_assertion,
5951           check_assertion, compare_token_lists, reverse_token_list,
5952           read_token_list, free_token_list): Delete functions.
5953           (parse_assertion): New function.  
5954           (cpp_cleanup): Don't destroy the assertion_hashtable.
5955
5956           (do_assert): Gut and rewrite.  #assert foo (bar) places
5957           entries for `#foo' and `#foo(bar)' in the macro hash table,
5958           type T_ASSERT.  The value union's `aschain' member is used
5959           to chain all answers for a given predicate together.
5960           (do_unassert): Also rewritten.  Take an un-asserted
5961           answer off the chain from its predicate and call
5962           delete_macro on the hashnode, or walk a predicate chain
5963           calling delete_macro on all the entries.
5964           (cpp_read_check_assertion): Simply call parse_assertion to
5965           get the canonical assertion name, and look that up in the
5966           hash table.
5967
5968         * cpplib.h (ASSERTION_HASHNODE,ASSERTION_HASHSIZE,assertion_hashtab):
5969         Removed.
5970
5971         * cpphash.c (install): Use bcopy instead of an explicit loop
5972           to copy the macro name.
5973
5974         * cppexp.c (cpp_lex): Convert the result of
5975           cpp_read_check_assertion to a `struct operation' directly;
5976           don't go through parse_number.
5977
5978 Tue Dec 15 18:27:39 1998  J"orn Rennecke <amylaar@cygnus.co.uk>
5979
5980         * loop.h (struct induction): Delete times_used member.
5981         * loop.c (n_times_set): Rename to set_in_loop.  Changed all users.
5982         (n_times_used): Rename to n_times_set.  Changed all users.
5983         (scan_loop): Free reg_single_usage before strength reduction.
5984         (record_giv, combine_givs): Remove handling of times_used member.
5985         (combine_givs_used_once): Rename to:
5986         (combine_givs_used_by_other) .  Changed all callers.
5987
5988 Tue Dec 15 01:45:26 1998  Jason Merrill  <jason@yorick.cygnus.com>
5989
5990         * dwarf2out.c (gen_struct_or_union_type_die): Check AGGREGATE_TYPE_P
5991         instead of TREE_CODE_CLASS == 't'.
5992         (gen_type_die): Likewise.
5993         (scope_die_for): Ignore FUNCTION_TYPE "scopes".
5994
5995 Mon Dec 14 16:23:27 1998  Jim Wilson  <wilson@cygnus.com>
5996
5997         * real.c (endian): Disable last change unless
5998         HOST_BITS_PER_WIDE_INT is greater than 32.
5999
6000 Mon Dec 14 17:13:36 EST 1998  Andrew MacLeod  <amacleod@cygnus.com>
6001
6002         * output.h (force_data_section): New prototype.
6003         * varasm.c (force_data_section): New function to force the
6004         data section, regardless of what in_section thinks.
6005         * dwarf2out.c (output_call_frame_info): Call force_data_section
6006         since varasm may not realize we've changes sections.
6007
6008 Mon Dec 14 14:09:34 1998  Nick Clifton  <nickc@cygnus.com>
6009
6010         * reload1.c (reload): Delete REG_RETVAL and REG_LIBCALL notes
6011           after completeing reload.
6012
6013         * rtl.texi: Document that REG_RETVAL and REG_LIBCALL are
6014           deleted after reload.
6015
6016 Mon Dec 14 01:39:28 1998  Jeffrey A Law  (law@cygnus.com)
6017
6018         * rtl.h (multiple_sets): Fix prototype.
6019         * rtlanal.c (multiple_sets): Fix return type.
6020
6021 Sun Dec 13 12:43:58 PST 1998 Jeff Law  (law@cygnus.com)
6022
6023         * version.c: Bump for snapshot.
6024
6025 Sun Dec 13 01:05:22 PST 1998 Jeff Law  (law@cygnus.com)
6026
6027         * version.c: Bump for snapshot.
6028
6029 1998-12-13  Manfred Hollstein  <manfred@s-direktnet.de>
6030
6031         * protoize.c (fputs): Wrap extern declaration in #ifndef fputs.
6032
6033 Sun Dec 13 00:24:14 1998  J"orn Rennecke <amylaar@cygnus.co.uk>
6034
6035         * rtl.h (recompute_reg_usage): Add second argument.
6036         * flow.c (recompute_reg_usage): Likewise.
6037         * toplev.c (rest_of_compilation): Supply second argument to
6038         recompute_reg_usage.
6039
6040         * reload1.c (compute_use_by_pseudos): Allow reg_renumber[regno] < 0
6041         after reload.
6042
6043 Sat Dec 12 23:39:10 1998  Jeffrey A Law  (law@cygnus.com)
6044
6045         * m68k/t-m68kelf (MULTILIB_OPTIONS): Add mcpu32.
6046         (MULTILIB_MATCHES): -m68332 now uses mcpu32 libraries, not m68000.
6047         (MULTILIB_EXCEPTIONS): Don't build 68881 libraries for m68000,
6048         mcpu32 or m5200.
6049
6050         * i386/next.h (ASM_OUTPUT_ALIGN): Use 0x90 for fill character.
6051
6052         * rtlanal.c (multiple_sets): New function.
6053         * rtl.h (multiple_sets): Declare it.
6054         * local-alloc.c (wipe_dead_reg): Use it.
6055         * global.c (global_conflicts): Likewise.
6056
6057 Sat Dec 12 22:13:02 1998  Mark Mitchell  <mark@markmitchell.com>
6058
6059         * global.c (record_conflicts): Don't use an array of shorts to
6060         store an array of ints.
6061         (global_conflicts): Likewise.
6062
6063 Sat Dec 12 16:49:24 1998  Richard Henderson  <rth@cygnus.com>
6064
6065         * alpha.c (alpha_expand_block_move): mode_for_size expects
6066         bits, not bytes.  Infer extra alignment from addressof.
6067
6068 1998-12-11  Michael Meissner  <meissner@cygnus.com>
6069
6070         * rs6000/sysv4.h (ASM_OUTPUT_ALIGNED_LOCAL): Put small data in the
6071         .sbss section, not .sdata.
6072
6073 1998-12-11  Manfred Hollstein  <manfred@s-direktnet.de>
6074
6075         * cccp.c: Do not #include <sys/stat.h> here; this is already done
6076         by "system.h".
6077         * collect2.c: Likewise.
6078         * cpplib.h: Likewise.
6079         * gcc.c: Likewise.
6080         * gcov.c: Likewise.
6081         * getpwd.c: Likewise.
6082         * protoize.c: Likewise.
6083         * toplev.c: Likewise.
6084
6085         * cpplib.h (HOST_WIDE_INT): Get definition from "machmode.h"
6086         and don't try to define it here.
6087         * Makefile.in (cppmain.o): Depend on machmode.h.
6088         (cpplib.o): Likewise.
6089         (cpperror.o): Likewise.
6090         (cppexp.o): Likewise.
6091         (cppfiles.o): Likewise.
6092         (cpphash.o): Likewise.
6093         (cppalloc.o): Likewise.
6094         (fix-header.o): Likewise.
6095         (scan-decls.o): Likewise.
6096
6097 Fri Dec 11 11:02:49 1998  Stan Cox  <scox@cygnus.com>
6098
6099         * sh.c (print_operand): lookup interrupt_handler attribute instead
6100         of relying on static variable. 
6101         * (calc_live_regs): Likewise.
6102         * (sh_pragma_insert_attributes): Create interrupt_handler
6103         attribute if a pragma was specified
6104         * (sh_valid_machine_decl_attribute): Don't set static flag.
6105         * sh.h (PRAGMA_INSERT_ATTRIBUTES): New.
6106
6107 Fri Dec 11 12:56:07 1998  J"orn Rennecke <amylaar@cygnus.co.uk>
6108
6109         * reload1.c (reload_combine): Use BASIC_BLOCK_LIVE_AT_START
6110         to determine if a register is live at a jump destination.
6111         Everything is dead at a BARRIER.
6112
6113 Thu Dec 10 16:02:06 1998  Jim Wilson  <wilson@cygnus.com>
6114
6115         * cse.c (simplify_unary_operation): Sign-extend constants when
6116         they have the most significant bit set for the target.
6117         * real.c (endian): Sign-extend 32 bit output values on a 64 bit
6118         host.
6119         * m32r/m32r.c (m32r_expand_prologue): Store pretend_size in
6120         HOST_WIDE_INT temporary before negating it.
6121         * m32r/m32r.md (movsi_insn+1): Use ~0xffff instead of 0xffff0000.
6122
6123 Thu Dec 10 15:05:59 1998  Dave Brolley  <brolley@cygnus.com>
6124
6125         * objc/objc-act.c (lang_init_options): Enclose cpplib related code in
6126         #if USE_CPPLIB.
6127
6128 Thu Dec 10 13:39:46 1998  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
6129
6130         * collect2.h: New header file for prototypes.
6131
6132         * Makefile.in (collect2.o, tlink.o): Depend on collect2.h.
6133
6134         * collect2.c: Include collect2.h.
6135         * tlink.c: Likewise.
6136
6137 Wed Dec  9 23:55:11 1998  Jeffrey A Law  (law@cygnus.com)
6138
6139         * flow.c: Update some comments.
6140
6141 Wed Dec  9 15:29:26 1998  Dave Brolley  <brolley@cygnus.com>
6142
6143         * objc/objc-act.c (cpp_initialized): Removed.
6144         (lang_init_options): Initialize cpplib.
6145         (lang_decode_option): Move initialization of cpplib to
6146         lang_init_options.
6147         * c-lang.c: (parse_options,parse_in): Added.
6148         (lang_init_options): Initialized cpplib here.
6149         * c-decl.c (parse_options,cpp_initialized): Removed.
6150         (c_decode_option): Move initialization of cpplib to
6151         lang_init_options.
6152
6153 Wed Dec  9 19:36:57 1998  J"orn Rennecke <amylaar@cygnus.co.uk>
6154
6155         * reload1.c (reload_combine, reload_combine_note_store):
6156         Make STORE_RUID always valid.
6157         (reload_combine): Check if BASE is clobbered too early.
6158
6159 Wed Dec  9 09:53:58 1998  Nick Clifton  <nickc@cygnus.com>
6160
6161         * reload.c (find_reloads): Display the insn that cannot be
6162         reloaded. 
6163
6164 Wed Dec  9 12:15:26 1998  Dave Brolley  <brolley@cygnus.com>
6165
6166         * cccp.c (create_definition): Fix end of bufer logic.
6167
6168 Wed Dec  9 10:15:45 1998  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
6169
6170         * except.c (duplicate_eh_handlers, rethrow_symbol_map): Function
6171         pointer parameters changed to use the PARAMS() macro.
6172
6173 Wed Dec  9 09:12:40 EST 1998  Andrew MacLeod  <amacleod@cygnus.com>
6174
6175         * except.h (struct handler_info): Add handler_number field.
6176         * except.c (gen_exception_label): EH labels no longer need to be
6177         on the permanent obstack.
6178         (get_new_handler): Set the label number field.
6179         (output_exception_table_entry): Regenerate handler label reference 
6180         from the label number field.
6181         (init_eh): Remove a blank line.
6182         * integrate.c (get_label_from_map): Labels no longer need to be
6183         on the permanent obstack.
6184
6185 Tue Dec  8 22:04:33 1998  Jim Wilson  <wilson@cygnus.com>
6186
6187         * i960/i960.h (CONST_COSTS, case CONST_INT): Accept power2_operand
6188         only when OUTER_CODE is SET.
6189
6190 Tue Dec  8 22:47:15 1998  J"orn Rennecke <amylaar@cygnus.co.uk>
6191
6192         * loop.c (strength_reduce): If scan_start points to the loop exit
6193         test, be wary of subversive use of gotos inside expression statements.
6194         Don't set maybe_multiple for a backward jump that does not
6195         include the label under consideration into its range.
6196         * unroll.c (biv_total_increment): Make use of maybe_multiple field.
6197
6198 Tue Dec  8 22:33:18 1998  J"orn Rennecke <amylaar@cygnus.co.uk>
6199
6200         * explow.c (plus_constant_wide): Don't immediately return with
6201         result of recursive call.
6202
6203 Tue Dec  8 15:32:56 EST 1998  Andrew MacLeod  <amacleod@cygnus.com>
6204
6205         * eh-common.h (struct eh_context): Add table_index for rethrows.
6206
6207         * rtl.h (enum reg_note): Add REG_EH_REGION and REG_EH_RETHROW reg notes.
6208         (SYMBOL_REF_NEED_ADJUST): New flag indicating symbol needs to be
6209         processed when inlined or unrolled (ie duplicated in some way).
6210
6211         * rtl.c (reg_note_name): Add strings for new reg_note enums.
6212
6213         * expr.h (rethrow_libfunc): New library decl.
6214
6215         * optabs.c (rethrow_libfunc): Initialize.
6216
6217         * except.h (struct eh_entry): Add new field 'rethrow_label'.
6218         (new_eh_region_entry): No longer exported from except.c.
6219         (duplicate_handlers): Renamed to duplicate_eh_handlers and 
6220         different prototype.
6221         (rethrow_symbol_map, rethrow_used): New exported functions.
6222         (eh_region_from_symbol): New exported function.
6223
6224         * except.c (create_rethrow_ref): New function to create a single
6225         SYMBOL_REF for a rethrow region.  
6226         (push_eh_entry): Initialize a rethrow ref.
6227         (func_eh_entry): Add a rethrow_label field.
6228         (new_eh_region_entry): Make static, and initialize the rethrow entry.
6229         (duplicate_eh_handlers): Create a new region, and remap labels/symbols.
6230         (eh_region_from_symbol): Find an EH region based on its rethrow symbol.
6231         (rethrow_symbol_map): Given a label map, maps a rethrow symbol for 
6232         a region into an appropriate new symbol.
6233         (rethrow_used): Indicate whether a rethrow symbol has been referenced.
6234         (expand_eh_region_end): Don't issue jump around code for new-exceptions.
6235         (end_catch_handler): Emit a barrier for new-exceptions since 
6236         control can never drop through the end of a catch block.
6237         (expand_end_all_catch): new-exceptions never fall through a catch 
6238         block.
6239         (expand_rethrow): use __rethrow routine for new exceptions.
6240         (output_exception_table_entry): Generate rethrow labels, if needed.
6241         (output_exception_table): Generate start and end rethrow labels.
6242         (init_eh): Create rethrow symbols for beginning and end of table.
6243         (scan_region): Don't eliminate EH regions which are the targets of
6244         rethrows.
6245
6246         * flow.c (make_edges): Add different edges for rethrow calls, 
6247         identified by having the REG_EH_RETHROW reg label.
6248         (delete_unreachable_blocks): Don't delete regions markers which are 
6249         the target of a rethrow.
6250
6251         * integrate.c (save_for_inline_eh_labelmap): New callback routine to 
6252         allow save_for_inline_copying to call duplicate_eh_handlers.
6253         (save_for_inline_copying): Call duplicate_eh_handlers instead of
6254         exposing internal details of exception regions.
6255         (copy_for_inline): Check if SYMBOL_REFs need adjustment.
6256         (expand_inline_function_eh_labelmap):  New callback routine to 
6257         allow expand_inline_function to call duplicate_eh_handlers.
6258         (expand_inline_function): Call duplicate_eh_handlers instead of
6259         exposing internal details of exception regions.
6260         (copy_rtx_and_substitute): Adjust SYMBOL_REFS if SYMBOL_REF_NEED_ADJUST
6261         flag is set.
6262
6263         * libgcc2.c (find_exception_handler): Generalize to enable it to
6264         pick up processing where it left off last time for a rethrow.
6265         (__unwinding_cleanup): New function. debug hook which is called before
6266         unwinding when __throw finds there is nothing but cleanups left.
6267         (throw_helper): Common parts of __throw extracted out for reuse.
6268         (__throw): Common parts moved to throw_helper.
6269         (__rethrow): New function for performing rethrows.
6270
6271 Tue Dec  8 13:11:04 1998  Jeffrey A Law  (law@cygnus.com)
6272
6273         * reload1.c (current_function_decl): Tweak declaration.
6274
6275 Tue Dec  8 10:23:52 1998  Richard Henderson  <rth@cygnus.com>
6276
6277         * c-decl.c (flag_isoc9x): Default off.
6278         (c_decode_option): Kill -std=gnu, add -std=gnu89 and -std=gnu9x.
6279         * cccp.c (print_help, main): Likewise.
6280         * gcc.c (default_compilers): Update for -std=gnu*.
6281
6282 Tue Dec  8 01:14:46 1998  Jeffrey A Law  (law@cygnus.com)
6283
6284         * Makefile.in (DEMANGLE_H): Change location to shared demangle.h.
6285         * demangle.h: Deleted.
6286
6287         * reload1.c (current_function_decl): Declare.
6288
6289 Tue Dec  8 11:58:51 1998  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
6290
6291         * cpplib.c (convert_string): Use `0x00ff', not `0x00ffU'.
6292
6293 Tue Dec  8 09:28:36 1998  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
6294
6295         * dbxout.c: If USG is defined use gstab.h, even if HAVE_STAB_H is set.
6296
6297 1998-12-08  Ulrich Drepper  <drepper@cygnus.com>
6298
6299         * configure.in: Test for availability of putc_unlocked, fputc_unlocked,
6300         and fputs_unlocked.
6301         * configure: Rebuilt.
6302         * system.h: If the *_unlocked functions are available use them
6303         instead of the locked counterparts by defining macros.
6304         * config.in: Regenerated.
6305
6306 Tue Dec  8 00:34:05 1998  Mike Stump  <mrs@wrs.com>
6307
6308         * i386/bsd.h (ASM_FILE_START): Don't use dump_base_name, it is
6309         wrong and should only be used for dump related things, not
6310         debugging information, instead main_input_filename should be used.
6311         Also, reuse output_file_directive if possible.
6312         * i386/aix386ng.h (ASM_FILE_START): Likewise.
6313         * i386/isc.h (ASM_FILE_START): Likewise.
6314         * i386/win-nt.h (ASM_FILE_START): Likewise.
6315         * i386/sun386.h (ASM_FILE_START): Likewise.
6316
6317 Mon Dec  7 23:56:28 1998   Robert Lipe  <robertl@dgii.com>
6318
6319         * configure.in (mips*-*-linux*): Handle big and little endian
6320         systems.
6321         * configure: Rebuilt.
6322
6323 Mon Dec  7 23:14:51 1998  Mike Stump <mrs@wrs.com>
6324
6325         * emit-rtl.c: Fix typo.
6326
6327 Mon Dec  7 23:07:38 1998  Nathan Sidwell  <nathan@acm.org>
6328
6329         * reload1.c (eliminate_regs): Don't do anything, if we're not
6330         generating code.
6331
6332 Mon Dec  7 15:27:09 1998  DJ Delorie  <dj@cygnus.com>
6333
6334         * mips/mips.h (ENCODE_SECTION_INFO): Handle TARGET_EMBEDDED_DATA.
6335         Add comment.
6336         * mips/mips.c (mips_select_section): Add comment.
6337
6338 Mon Dec  7 17:55:06 1998  Mike Stump  <mrs@wrs.com>
6339
6340         * cccp.c (ignore_escape_flag): Add support for \ as `natural'
6341         characters in file names in #line to be consistent with #include
6342         handling.  We support escape prcessing in the # 1 "..." version of
6343         the command.  See also support in cp/lex.c.
6344         (handle_directive): Likewise.
6345         (do_line): Likewise.
6346         
6347 1998-12-07  Zack Weinberg  <zack@rabi.phys.columbia.edu>
6348
6349         * cpplib.c (initialize_char_syntax): Use ISALPHA and ISALNUM
6350           so it'll work on non-ASCII platforms.  Always consider $ an
6351           identifier character.  Take no arguments.
6352           (cpp_reader_init): Call initialize_char_syntax with no
6353           arguments.
6354           (cpp_start_read): Don't call initialize_char_syntax again.
6355           Clear is_idchar['$'] and is_idstart['$'] if not
6356           opts->dollars_in_ident.
6357
6358         * cpplib.h (struct cpp_reader): Replace void *data element by
6359           cpp_options *opts.  Rearrange elements to make gdb printout
6360           less annoying (put buffer stack at end).
6361           (CPP_OPTIONS): Get rid of now-unnecessary cast.
6362
6363         * cppmain.c: s/data/opts/ when initializing cpp_reader
6364           structure.
6365         * c-decl.c: Likewise.
6366         * objc/objc-act.c: Likewise.
6367         * fix-header.c: Likewise.
6368
6369 1998-12-07  Zack Weinberg  <zack@rabi.phys.columbia.edu>
6370
6371         * cpplib.h (struct cpp_buffer): Replace dir and dlen members
6372         with a struct file_name_list pointer.
6373         (struct cpp_reader): Add pointer to chain of `actual
6374         directory' include searchpath entries.
6375         (struct file_name_list): Add *alloc pointer for the sake of
6376         the actual-directory chain.
6377
6378         Move definition of HOST_WIDE_INT here.
6379         (cpp_parse_escape): Change prototype to match changes in
6380         cppexp.c.
6381
6382         * cppfiles.c (actual_directory): New function.
6383         (finclude): Use it to initialize the buffer's actual_dir
6384         entry.
6385         (find_include_file): We don't need to fix up max_include_len
6386         here.
6387
6388         * cpplib.c (do_include): Don't allocate a file_name_list on
6389         the fly for current directory "" includes, use the one that's
6390         been preallocated in pfile->buffer->actual_dir.  Hoist out
6391         duplicate code from the search_start selection logic.
6392         (cpp_reader_init): Initialize pfile->actual_dirs.
6393
6394         Remove definition of HOST_WIDE_INT.  Change calls
6395         to cpp_parse_escape to match changes in cppexp.c (note
6396         hardcoded MASK, which is safe since this is the source
6397         character set).
6398
6399         * cppexp.c: Bring over changes to cpp_parse_escape from cccp.c
6400         to handle wide character constants in #if directives.  The
6401         function now returns a HOST_WIDE_INT, and takes a third
6402         argument which is a binary mask for all legal values (0x00ff
6403         for 8-bit `char', 0xffff for 16-bit `wchar_t', etc.)  Define
6404         MAX_CHAR_TYPE_MASK and MAX_WCHAR_TYPE_MASK.  Change callers of
6405         cpp_parse_escape to match.  [Fixes c-torture/execute/widechar-1.c]
6406
6407 Mon Dec  7 15:38:25 1998  Dave Brolley  <brolley@cygnus.com>
6408
6409         * gcc.c (default_compilers): Fix typo in USE_CPPLIB spec for cc1.
6410
6411 Mon Dec  7 15:38:25 1998  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
6412
6413         * c-aux-info.c (concat): Wrap function definition in !USE_CPPLIB.
6414         * cppalloc.c: Move function `xcalloc' from cpplib.c to here.
6415         * cpplib.c: Move function `xcalloc' from here to cppalloc.c.
6416
6417 Mon Dec  7 11:30:49 1998  Nick Clifton  <nickc@cygnus.com>
6418
6419         * final.c (output_asm_name): Use tabs to seperate comments from
6420         assembly text.
6421         
6422         Include instruction lengths (if defined) in output.
6423
6424 Mon Dec  7 10:53:38 1998  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
6425
6426         * loop.c (check_dbra_loop): Fix initial_value and initial_equiv_value
6427         in the loop_info structure.
6428         
6429 Mon Dec  7 11:04:40 1998  Catherine Moore  <clm@cygnus.com>
6430  
6431         * configure.in:  (arm*-*-ecos-elf):  New target.
6432         * configure:  Regenerated.
6433         * config/arm/elf.h (ASM_WEAKEN_LABEL):  Define.
6434         * config/arm/ecos-elf.h:  New file.
6435         * config/arm/unknown-elf.h (TARGET_VERSION):  Check
6436         for redefinition.
6437  
6438 Mon Dec  7 16:15:51 1998  J"orn Rennecke <amylaar@cygnus.co.uk>
6439
6440         * sh.c (output_far_jump): Emit braf only for TARGET_SH2.
6441
6442 Sun Dec 6 04:19:45 PST 1998 Jeff Law  (law@cygnus.com)
6443
6444         * version.c: Bump for snapshot.
6445
6446 Sun Dec  6 05:16:16 1998  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
6447
6448         * loop.c (check_dbra_loop): New argument loop_info.  Update fields
6449         as needed.
6450
6451 Sun Dec 6 03:40:13 PST 1998 Jeff Law  (law@cygnus.com)
6452
6453         * version.c: Bump for snapshot.
6454
6455 Sun Dec  6 07:49:29 1998  Alexandre Oliva  <oliva@dcc.unicamp.br>
6456
6457         * gcc.texi (Bug Reporting): 40Kb is a soft limit, larger
6458         compressed reports are ok and preferred over URLs
6459
6460 Sun Dec  6 07:45:33 1998  Alexandre Oliva  <oliva@dcc.unicamp.br>
6461
6462         * invoke.texi (Warning Options): Soften the tone of -pedantic
6463
6464 Sun Dec  6 00:20:44 1998  H.J. Lu  (hjl@gnu.org)
6465
6466         * print-rtl.c (print_rtx): Add prototype.
6467
6468         * unroll.c (iteration_info): Make it static.
6469
6470 Sun Dec  6 01:19:46 1998  Richard Henderson  <rth@cygnus.com>
6471
6472         * alias.c (memrefs_conflict_p): A second ANDed address
6473         disables the aligned address optimization.
6474
6475 Sat Dec  5 18:48:25 1998  Richard Henderson  <rth@cygnus.com>
6476
6477         * alpha.c (alpha_emit_set_const_1): Fix parenthesis error
6478         in -c << n case.
6479
6480 Sat Dec  5 15:14:52 1998  Jason Merrill  <jason@yorick.cygnus.com>
6481
6482         * i960.h (BOOL_TYPE_SIZE): Define.
6483
6484 Sun Dec  6 00:28:16 1998  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
6485
6486         * config/c4x/c4x.c (valid_parallel_load_store): Flog functionality
6487         from old valid_parallel_operands_4.
6488         (valid_parallel_operands_4): Check that operands for 4 operand
6489         parallel insns are valid, excluding load/store insns.
6490         * config/c4x/c4x.h (valid_parallel_load_store): Add prototype.
6491         * config/c4x/c4x.md (*movqf_parallel, *movqi_parallel): Use
6492         valid_parallel_load_store instead of valid_parallel_operands_4.
6493         (*absqf2_movqf_clobber, *floatqiqf2_movqf_clobber, 
6494         *negqf2_movqf_clobber, *absqi2_movqi_clobber,
6495         *fixqfqi2_movqi_clobber, *negqi2_movqi_clobber,
6496         *notqi_movqi_clobber): Use valid_parallel_operands_4.
6497         (*subqf3_movqf_clobber, *ashlqi3_movqi_clobber,
6498         *ashrqi3_movqi_clobber, *lshrqi3_movqi_clobber,
6499         *subqi3_movqi_clobber): Use valid_parallel_operands_5.
6500
6501 Sat Dec  5 23:52:01 1998  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
6502
6503         * config/c4x/c4x.c (iteration_info): Delete extern.
6504
6505 Fri Dec  4 20:15:57 1998  Bernd Schmidt  <crux@pool.informatik.rwth-aachen.de>
6506
6507         * tm.texi (SMALL_REGISTER_CLASSES): Make description match reality.
6508
6509         * final.c (cleanup_subreg_operands): Delete some unused code.
6510
6511         * recog.h (MAX_RECOG_ALTERNATIVES): New macro.
6512         (struct insn_alternative): New structure definition.
6513         (recog_op_alt): Declare variable.
6514         (preprocess_constraints): Declare function.
6515         * recog.c (recog_op_alt): New variable.
6516         (extract_insn): Verify number of alternatives is in range.
6517         (preprocess_constraints): New function.
6518         * reg-stack.c: Include recog.h.
6519         (constrain_asm_operands): Delete.
6520         (get_asm_operand_lengths): Delete.
6521         (get_asm_operand_n_inputs): New function.
6522         (record_asm_reg_life): Delete OPERANDS, CONSTRAINTS, N_INPUTS and
6523         N_OUTPUTS args.  All callers changed.
6524         Compute number of inputs and outputs here by calling
6525         get_asm_operand_n_inputs.
6526         Instead of constrain_asm_operands, call extract_insn,
6527         constrain_operands and preprocess_constaints.  Use information
6528         computed by these functions throughout.
6529         (record_reg_life): Delete code that is unused due to changes in
6530         record_asm_reg_life.
6531         (subst_asm_stack_regs): Delete OPERANDS, OPERAND_LOC, CONSTRAINTS,
6532         N_INPUTS and N_OUTPUTS args.  All callers changed.
6533         Similar changes as in record_asm_reg_life.
6534         (subst_stack_regs): Move n_operands declaration into the if statement
6535         where it's used.
6536         Delete code that is unused due to changes in subst_asm_stack_regs.
6537         * stmt.c (expand_asm_operands): Verify number of alternatives is in
6538         range.
6539         * Makefile.in (reg-stack.o): Depend on recog.h.
6540
6541 Fri Dec  4 02:23:24 1998  Jeffrey A Law  (law@cygnus.com)
6542
6543         * except.c (set_exception_version_code): Argument is an "int".
6544
6545 Fri Dec  4 01:29:28 1998  Jeffrey A Law  (law@cygnus.com)
6546
6547         * configure.in (hppa2*-*-*): Handle like hppa1.1-*-* for now.
6548         * configure: Rebuilt.
6549
6550 Fri Dec  4 01:29:28 1998  Robert Lipe  <robertl@dgii.com>
6551
6552         * configure.in (mipsel-*-linux*): New target.
6553         * mips/linux.h: New file, based on other Linux targets.
6554
6555 Thu Dec  3 11:19:50 1998  Mike Stump  <mrs@wrs.com>
6556
6557         * gthr-vxworks.h (__ehdtor): Fix memory leak.  The delete hook
6558         runs in the context of the deleter, not the deletee, so we must
6559         use taskVarGet to find the correct memory to free.
6560         (__gthread_key_create): Initialize the task
6561         variable subsystem so that the task variable is still active when
6562         the delete hook is run.
6563
6564 1998-12-03  Joseph S. Myers  <jsm28@cam.ac.uk>
6565
6566         * pdp11.h: Use optimize_size for space optimizations.
6567         * pdp11.c: Likewise.
6568         * pdp11.md: Likewise.
6569
6570         * pdp11.h (TARGET_40_PLUS): Fix typo.
6571
6572 Thu Dec  3 11:48:32 1998  Jeffrey A Law  (law@cygnus.com)
6573
6574         * local-alloc.c (block_alloc): Slightly retune heuristic to widen 
6575         qty lifetimes.
6576
6577 Thu Dec  3 22:30:18 1998  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
6578
6579         * alias.c (addr_side_effect_eval): New function.
6580         (memrefs_conflict_p): Use it.
6581         * rtl.h (addr_side_effect_eval): Prototype it.
6582
6583 1998-12-02  Joseph S. Myers  <jsm28@cam.ac.uk>
6584
6585         * pdp11.md (extendsfdf2): Fix mode mismatch in SET.
6586
6587 Wed Dec  2 11:23:07 1998  Jim Wilson  <wilson@cygnus.com>
6588
6589         * reload.c (find_reloads): When force const to memory, put result
6590         in substed_operand not *recog_operand_loc.
6591
6592 1998-12-02  Ulrich Drepper  <drepper@cygnus.com>
6593
6594         * c-lex.c: Fix indentation from last patch.
6595         Remove trailing whitespace.
6596         * real.c: Likewise.
6597
6598 Wed Dec  2 10:11:12 1998  Jeffrey A Law  (law@cygnus.com)
6599
6600         * flow.c (delete_block): Call set_last_insn after we have reset
6601         NEXT_INSN (kept_tail).
6602
6603 Wed Dec  2 00:47:31 1998  Jeffrey A Law  (law@cygnus.com)
6604
6605         * mips.md (trap_if): Use "$0" for the value zero.
6606
6607 Tue Dec  1 20:49:49 1998  Ulrich Drepper  <drepper@cygnus.com>
6608                           Stephen L Moshier  <moshier@world.std.com>
6609                           Richard Henderson  <rth@cygnus.com>
6610
6611         * c-common.c (declare_function_name): Declare predefinied variable
6612         `__func__'.
6613
6614         * c-decl.c (flag_isoc9x): Set to 1 by default.
6615         (c_decode_option): Handle -std= option.  Remove -flang-isoc9x.
6616         (grokdeclarator): Always emit warning about implicit int for ISO C 9x.
6617
6618         * c-parse.in: Allow constructors in ISO C 9x.
6619         Rewrite designator list handling.
6620         Allow [*] parameters.
6621         Don't warn about comma at end of enum definition for ISO C 9x.
6622
6623         * cccp.c (c9x): New variable.
6624         (rest_extension): New variable.
6625         (print_help): Document new -std= option.
6626         (main): Recognize -std= option.  Set c9x appropriately.
6627         (create_definition): Recognize ISO C 9x vararg macros.
6628
6629         * gcc.c (default_compilers): Adjust specs for -std options.
6630         (option_map): Add --std.
6631         (display_help): Document -std.
6632
6633         * toplev.c (documented_lang_options): Add -std and remove
6634         -flang-isoc9x.
6635         
6636         * c-lex.c (yylex): Recognize hex FP constants and call REAL_VALUE_ATOF
6637         or REAL_VALUE_HTOF based on base of the constants.
6638         * fold-const.c (real_hex_to_f): New function.  Replacement function
6639         for hex FP conversion if REAL_ARITHMETIC is not defined.
6640         * real.c (asctoeg): Add handling of hex FP constants.
6641         * real.h: Define REAL_VALUE_HTOF if necessary using ereal_atof or
6642         real_hex_to_f.
6643
6644 Tue Dec  1 16:45:49 1998  Stan Cox  <scox@cygnus.com>
6645
6646         * mips.md (divmodsi4*, divmoddi4*, udivmodsi4*, udivmoddi4): Add
6647         -mcheck-range-division/-mcheck-zero-division checking.  Avoid as macro
6648         expansion.  Use hi/lo as destination register.
6649         (div_trap): New.
6650         (divsi3*, divdi3*, modsi3*, moddi3*, udivsi3*, udivdi3*, umodsi3*,
6651         umoddi3*): Add -mcheck-range-division/-mcheck-zero-division checking.
6652         Avoid as macro expansion.  Use hi/lo as destination register. 
6653
6654         * mips.h (MASK_CHECK_RANGE_DIV): New.
6655         (MASK_NO_CHECK_ZERO_DIV): New.
6656         (ELIMINABLE_REGS): Added GP_REG_FIRST + 31.
6657         (CAN_ELIMINATE, INITIAL_ELIMINATION_OFFSET): Allow for getting
6658         return address for leaf functions out of r31 to support
6659         builtin_return_address. 
6660         
6661 Tue Dec  1 15:03:30 1998  Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
6662
6663         * jump.c (jump_optimize): Call regs_set_between_p with PREV_INSN(x),
6664         NEXT_INSN(x) to check insn x.
6665         
6666 Tue Dec  1 15:20:44 1998  Jeffrey A Law  (law@cygnus.com)
6667
6668         * flow.c (delete_block): Call set_last_insn if we end up deleting the
6669         last insn in the rtl chain.
6670
6671         * reload1.c (reload): Do not set reload_completed or split insns
6672         here.  Instead...
6673         * toplev.c (rest_of_compilation): Set reload_completed after
6674         reload returns.  Split insns after reload_cse has run.
6675
6676 Tue Dec  1 11:55:04 1998  Richard Henderson  <rth@cygnus.com>
6677
6678         * final.c (final_scan_insn): Abort if block_depth falls below 0.
6679
6680 Tue Dec  1 10:23:16 1998  Nick Clifton  <nickc@cygnus.com>
6681
6682         * config/arm/t-arm-elf (LIBGCC2_CFLAGS): Define inhibit_libc.
6683
6684 Tue Dec  1 10:22:18 1998  Nick Clifton  <nickc@cygnus.com>
6685
6686         * config/arm/unknown-elf.h (ASM_OUTPUT_DWARF2_ADDR_CONST): Remove
6687         use of user-label_prefix.
6688
6689 Tue Dec  1 17:58:26 1998  J"orn Rennecke <amylaar@cygnus.co.uk>
6690
6691         * reload1.c (emit_reload_insns): Clear spill_reg_store
6692         when doing a new non-inherited reload from the same pseudo.
6693
6694         * local-alloc.c (function_invariant_p): New function.
6695         (update_equiv_regs): Use function_invariant_p instead of CONSTANT_P
6696         to decide if an equivalence should be recorded.
6697         * reload1.c (num_eliminable_invariants): New static variable.
6698         (reload): Set it.  Use function_invariant_p instead of CONSTANT_P
6699         to decide if an equivalence should be recorded.
6700         Unshare PLUS.
6701         (calculate_needs_all_insns): Skip insns that only set an equivalence.
6702         Take num_eliminable_invariants into account when deciding
6703         if register elimination should be done.
6704         (reload_as_needed): Take num_eliminable_invariants into account
6705         when deciding if register elimination should be done.
6706         (eliminate_regs): Handle non-constant reg_equiv_constant.
6707         * rtl.h (function_invariant_p): Declare.
6708
6709 Mon Nov 30 02:00:08 PST 1998 Jeff Law  (law@cygnus.com)
6710
6711         * version.c: Bump for snapshot.
6712
6713 Mon Nov 30 00:42:59 PST 1998 Jeff Law  (law@cygnus.com)
6714
6715         * version.c: Bump for snapshot.
6716
6717 Sun Nov 29 22:59:40 1998  Jason Merrill  <jason@yorick.cygnus.com>
6718
6719         * except.c (add_new_handler): Complain about additional handlers
6720         after one that catches everything.
6721
6722 Sat Nov 28 10:56:32 1998  Jeffrey A Law  (law@cygnus.com)
6723
6724         * configure.in (alpha*-*-netbsd): Fix typo.
6725         * configure: Rebuilt.
6726
6727 Fri Nov 27 12:28:56 1998  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
6728
6729         * system.h: Include libiberty.h.
6730
6731         * c-aux-info.c: Remove prototypes for concat/concat3.  Change
6732         function `concat' from fixed parameters to variable parameters,
6733         as is done in libiberty.  All callers of concat/concat3
6734         changed to use the new `concat' with variable args.
6735
6736         * cccp.c: Remove things made redundant by libiberty.h and/or
6737         conform to libiberty standards.
6738         * cexp.y: Likewise.
6739         * collect2.c: Likewise.
6740         * config/1750a/1750a.h: Likewise.
6741         * cppalloc.c: Likewise.
6742         * cppexp.c: Likewise.
6743         * cppfiles.c: Likewise.
6744         * cpphash.c: Likewise.
6745         * cpplib.c: Likewise.
6746         * dyn-string.c: Likewise.
6747         * fix-header.c: Likewise.
6748         * gcc.c: Likewise.
6749         * gcov.c: Likewise.
6750         * genattr.c: Likewise.
6751         * genattrtab.c: Likewise.
6752         * gencheck.c: Likewise.
6753         * gencodes.c: Likewise.
6754         * genconfig.c: Likewise.
6755         * genemit.c: Likewise.
6756         * genextract.c: Likewise.
6757         * genflags.c: Likewise.
6758         * gengenrtl.c: Likewise.
6759         * genopinit.c: Likewise.
6760         * genoutput.c: Likewise.
6761         * genpeep.c: Likewise.
6762         * genrecog.c: Likewise.
6763         * getpwd.c: Likewise.
6764         * halfpic.c: Likewise.
6765         * hash.c: Likewise.
6766         * mips-tdump.c: Likewise.  Wrap malloc/realloc/calloc prototypes
6767         in NEED_DECLARATION_* macros.
6768
6769         * mips-tfile.c: Remove things made redundant by libiberty.h and/or
6770         conform to libiberty standards.
6771         (fatal): Fix const-ification of variable `format' in
6772         !ANSI_PROTOTYPES case.
6773
6774         * prefix.c: Remove things made redundant by libiberty.h and/or
6775         conform to libiberty standards.
6776
6777         * print-rtl.c: Rename variable `spaces' to `xspaces' to avoid
6778         conflicting with function `spaces' from libiberty.
6779
6780         * profile.c: Remove things made redundant by libiberty.h and/or
6781         conform to libiberty standards.
6782         * protoize.c: Likewise.
6783         * rtl.h: Likewise.
6784         * scan.h: Likewise.
6785         * tlink.c: Likewise.
6786         * toplev.c: Likewise.
6787         * toplev.h: Likewise.
6788         * tree.h: Likewise.
6789
6790 Thu Nov 26 08:38:06 1998  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
6791
6792         * cppfiles.c (simplify_pathname): Un-ANSI-fy function definition.
6793
6794 Thu Nov 26 23:45:37 1998  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
6795
6796         * README.C4X: Updated URLs.
6797         * config/c4x/c4x.c (c4x_address_conflict): Fix typo.
6798         (valid_parallel_operands_5): Remove unused variable.
6799
6800 Thu Nov 26 23:40:03 1998  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
6801
6802         * config/c4x/c4x.h (TARGET_DEFAULT): Fix typo.
6803
6804 1998-11-26  Manfred Hollstein  <manfred@s-direktnet.de>
6805
6806         * Makefile.in (CONFIG_LANGUAGES): New macro taking all languages
6807         which can be configured.
6808         (LANGUAGES): Use $(CONFIG_LANGUAGES) instead of @all_languages@
6809         (Makefile): Pass actual LANGUAGES through the environment when
6810         re-configuring.
6811         (cstamp-h): Likewise.
6812         (config.status): Likewise.
6813
6814         * configure.in (enable_languages): Add new configuration parameter
6815         "--enable-languages=lang1,lang2,...".
6816         (${srcdir}/*/config-lang.in): Change handling to configure only
6817         those directories, that the user might have enabled; default to
6818         "all" existing languages.
6819         * configure: Regenerate.
6820
6821 Thu Nov 26 00:19:19 1998  Richard Henderson  <rth@cygnus.com>
6822
6823         * rtlanal.c (regs_set_between_p): New function.
6824         * rtl.h (regs_set_between_p): Prototype it.
6825         * jump.c (jump_optimize): Use it instead of modified_between_p
6826         in the Sep 2 change.
6827
6828 Wed Nov 25 23:32:02 1998  Ian Dall  <Ian.Dall@dsto.defence.gov.au>
6829                           Matthias Pfaller  <leo@dachau.marco.de>
6830
6831         * invoke.texi (Option Summary, NS32K Options): add description
6832         of NS32K specific options.
6833
6834         * ns32k.md (tstdf, cmpdf, movdf, truncdfsf2, fixdfqi2, fixdfhi2,
6835         fixdfsi2, fixunsdfqi2, fixunsdfhi2, fixunsdfsi2, fix_truncdfqi2,
6836         fix_truncdfhi2, fix_truncdfsi2, adddf3, subdf3, muldf3, divdf3,
6837         negdf2, absdf2): Use l instead of f since the double class and
6838         float class are no longer the same.
6839         (cmpsi, truncsiqi2, truncsihi2, addsi3, subsi3, mulsi3, umulsidi3,
6840         divsi3, modsi3, andsi3, iorsi3, xorsi3, negsi2, one_cmplsi2,
6841         ashlsi3, ashlhi3, ashlqi3, rotlsi3, rotlhi3, rotlqi3, abssi2,...):
6842         use "g" instead of "rmn" since LEGITIMATE_PIC_OPERAND has been
6843         fixed.
6844         (cmpsi, cmphi, cmpqi): use general_operand instead of
6845         non_immediate_operand. Removes erroneous assumption that can't
6846         compare constants.
6847         (movsf, movsi, movhi, movqi,...): New register numbering scheme.
6848         (movsi, addsi3): Use NS32K_DISPLACEMENT_P instead of hard coded
6849         constants.
6850         (movstrsi, movstrsi1, movstrsi2): completely new block move
6851         scheme.
6852         (...): Patterns to exploit multiply-add instructions.
6853         (udivmodsi4, udivmodsi_internal4, udivmodhi4,
6854         udivmoddihi4_internal, udivmodqi4, udivmoddiqi4_internal): new
6855         patterns to exploit extended divide insns.
6856         (udivsi3, udivhi3, udivqi3): remove since superceded by udivmodsi
6857         etc patterns.
6858
6859         * ns32k.h (FUNCTION_VALUE, LIBCALL_VALUE): Use f0 for complex
6860         float return values as well as simple scalar floats.
6861         (TARGET_32381, TARGET_MULT_ADD, TARGET_SWITCHES):
6862         support new flag to denote 32381 fpu.
6863         (OVERRIDE_OPTIONS): 32381 is a strict superset of 32081.
6864         (CONDITIONAL_REGISTER_USAGE): disable extra 32381 registers if not
6865         compling for 32381.
6866         (FIRST_PSEUDO_REGISTER, FIXED_REGISTERS, CALL_USED_REGISTERS,
6867         REGISTER_NAMES, ADDITIONAL_REGISTER_NAMES, OUTPUT_REGISTER_NAMES,
6868         REG_ALLOC_ORDER, DBX_REGISTER_NUMBER, R0_REGNUM, F0_REGNUM,
6869         L1_REGNUM, STACK_POINTER_REGNUM, FRAME_POINTER_REGNUM,
6870         LONG_FP_REGS_P, ARG_POINTER_REGNUM, reg_class, REG_CLASS_NAMES,
6871         REG_CLASS_CONTENTS, SUBSET_P,REGNO_REG_CLASS,
6872         REG_CLASS_FROM_LETTER, FUNCTION_PROLOGUE, FUNCTION_EPILOGUE,
6873         REGNO_OK_FOR_INDEX_P, FP_REG_P, REG_OK_FOR_INDEX_P,
6874         REG_OK_FOR_BASE_P, MEM_REG): new register scheme to include 32381
6875         fpu registers and special register classes for new 32381
6876         instructions dotf and polyf.
6877         (MODES_TIEABLE_P): Allow all integer modes, notably DI and SI, to
6878         be tieable.
6879         (INCOMING_RETURN_ADDR_RTX, RETURN_ADDR_RTX,
6880         INCOMING_FRAME_SP_OFFSET): New macros in case DWARF support is
6881         required.
6882         (SMALL_REGISTER_CLASSES): Make dependant on -mmult-add option.
6883         (MOVE_RATIO): Set to zero because of smart movstrsi implimentation.
6884         (REGISTER_MOVE_COST): move code to register_move_cost function for
6885         ease of coding and debugging.
6886         (CLASS_LIKELY_SPILLED_P): Under new register scheme class
6887         LONG_FLOAT_REGO is likely spilled but not caught by default
6888         definition.
6889         (CONSTANT_ADDRESS_P, CONSTANT_ADDRESS_NO_LABEL_P): use macro
6890         instead of hard coded numbers in range check.
6891         (ASM_OUTPUT_LABELREF_AS_INT): delete since unused.
6892         (...): Add prototypes for functions in ns32k.c but disable because
6893         of problems when ns32k.h is included in machine independant files.
6894         
6895         * ns32k.c: include "system.h", "tree.h", "expr.h", "flags.h".
6896         (ns32k_reg_class_contents, regcass_map, ns32k_out_reg_names,
6897         hard_regno_mode_ok, secondary_reload_class,
6898         print_operand, print_operand_address): new register scheme to
6899         include 32381 fpu registers and special register classes for new
6900         32381 instructions dotf and polyf.
6901         (gen_indexed_expr): Make static to keep namespace clean.
6902         (check_reg): remove since never called.
6903         (move_tail, expand_block_move): helper functions for "movstrsi"
6904         block move insn.
6905         (register_move_cost): Helper function for REGISTER_MOVE_COST macro.
6906         Increase cost of moves which go via memory.
6907         * netbsd.h (TARGET_DEFAULT): Set (new) 32381 fpu flag.
6908         (CPP_PREDEFINES): nolonger predefine "unix".
6909
6910         * ns32k.md (movsi, movsi, adddi3, subdi3, subsi3, subhi3, subqi3,...):
6911         Remove erroneous %$. print_operand() can work out from the rtx is
6912         an immediate prefix is required.
6913
6914         * ns32k.h (RETURN_POPS_ARGS, VALID_MACHINE_DECL_ATTRIBUTE,
6915         VALID_MACHINE_TYPE_ATTRIBUTE, COMP_TYPE_ATTRIBUTES,
6916         SET_DEFAULT_TYPE_ATTRIBUTES): Support for -mrtd calling
6917         convention.
6918         (LEGITIMATE_PIC_OPERAND_P, SYMBOLIC_CONST): Correct handling of
6919         pic operands.
6920
6921         * ns32k.c (symbolic_reference_mentioned_p, print_operand):
6922         Correct handling of pic operands.
6923         (ns32k_valid_decl_attribute_p, ns32k_valid_type_attribute_p,
6924         ns32k_comp_type_attributes, ns32k_return_pops_args): Support for
6925         -mrtd calling convention.
6926
6927 Wed Nov 25 23:42:20 1998  Tom Tromey  <tromey@cygnus.com>
6928
6929         * gcc.c (option_map): Recognize --output-class-directory.
6930
6931 Thu Nov 26 18:26:21 1998  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
6932
6933         * loop.h (precondition_loop_p): Added new mode argument.
6934         * unroll.c (precondition_loop_p): Likewise.
6935         (approx_final_value): Function deleted and subsumed
6936         into loop_iterations.
6937         (loop_find_equiv_value): New function.
6938         (loop_iterations): Use loop_find_equiv_value to find increments
6939         too large to be immediate constants.  Also use it to find terms
6940         common to initial and final iteration values that can be removed.
6941
6942 Thu Nov 26 18:05:04 1998  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
6943
6944         * loop.h (struct loop_info): Define new structure.
6945         (precondition_loop_p): Added prototype.
6946         (unroll_loop): Added new argument loop_info to prototype.
6947         (final_biv_value, final_giv_value): Added new argument n_iterations
6948         to prototype.
6949         * loop.c (strength_reduce): Declare new structure loop_iteration_info
6950         and new pointer loop_info.
6951         (loop_n_iterations): Replace global variable by element in 
6952         loop_info structure.
6953         (check_final_value): New argument n_iterations.
6954         (insert_bct): New argument loop_info.
6955         (loop_unroll_factor): Replace global array by element in 
6956         loop_info structure.
6957         (loop_optimize): Remove code to allocate and initialise 
6958         loop_unroll_factor_array.
6959         * unroll.c (precondition_loop_p):  No longer static since
6960         used by branch on count optimization.
6961         (precondition_loop_p, unroll_loop): New argument loop_info.
6962         (final_biv_value, final_giv_value, find_splittable_regs): New
6963         argument n_iterations.
6964         (loop_iteration_var, loop_initial_value, loop_increment, 
6965         loop_final_value, loop_comparison_code, loop_unroll_factor): 
6966         Replaced global variables by loop_info structure.
6967         (loop_unroll_factor): Replace global array by element in
6968         loop_info structure.
6969
6970 Thu Nov 26 17:49:29 1998  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
6971
6972         * loop.c (check_dbra_loop): Update JUMP_LABEL field of jump insn
6973         when loop reversed.
6974
6975         * unroll.c (precondition_loop_p): Return loop_initial_value
6976         for initial_value instead of loop_iteration_var.
6977
6978 Thu Nov 26 17:15:38 1998  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
6979
6980         * config/c4x/c4x.md: Fix minor formatting problems.  Update docs.
6981         (*b, *b_rev, *b_noov, *b_noov_rev, *db, 
6982         decrement_and_branch_until_zero, rptb_end): Use c4x_output_cbranch
6983         to output the instruction sequences.
6984         (rpts): Delete.
6985         (rptb_top): Provide alternatives to use any register or memory
6986         for loop counter.
6987         (rptb_end):  Emit use of operands rather than assigning them
6988         explicitly to the RS and RE registers.
6989
6990 Thu Nov 26 16:37:59 1998  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
6991
6992         * config/c4x/c4x.c (c4x_modified_between_p, c4x_mem_set_p,
6993         c4x_mem_set_p, c4x_mem_modified_between_p, c4x_insn_moveable_p,
6994         c4x_parallel_pack, c4x_parallel_find, c4x_update_info_reg,
6995         c4x_update_info_regs, c4x_copy_insn_after, c4x_copy_insns_after, 
6996         c4x_merge_notes, c4x_parallel_process, 
6997         c4x_combine_parallel_independent, c4x_combine_parallel_dependent,
6998         c4x_combine_parallel): Delete.
6999
7000 Thu Nov 26 15:16:05 1998  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
7001
7002         * config/c4x/c4x.c: (c4x_override_options): For compatibility
7003         with old target options clear flag_branch_on_count_reg if
7004         -mno-rptb specified and set flag_argument_alias is -mno-aliases
7005         specified.
7006         (c4x_output_cbranch): Handle a sequence of insns rather than a
7007         single insn.
7008         (c4x_rptb_insert): Do not emit a RPTB insn if the RC register
7009         has not been allocated as the loop counter.
7010         (c4x_address_conflict): Do not allow two volatile memory references.
7011         (valid_parallel_operands_4, valid_parallel_operands_5,
7012         valid_parallel_operands_6): Reject pattern if the register destination
7013         of the first set is used as part of an address in the second set.
7014
7015 Thu Nov 26 14:56:32 1998  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
7016
7017         * config/c4x/c4x.h (TARGET_DEFAULT): Add PARALEL_MPY_FLAG.
7018         (TARGET_SMALL_REG_CLASS): Set to 0 so that SMALL_REGISTER_CLASSES
7019         is no longer enabled if PARALLEL_MPY_FLAG set.
7020         (HARD_REGNO_CALL_CLOBBERED): Add parentheses to remove ambiguity.
7021         (REG_CLASS_CONTENTS): Add braces around initializers.
7022         (HAVE_MULTIPLE_PACK): Define.
7023         (ASM_OUTPUT_BYTE_FLOAT): Use %lf format specifier with 
7024         REAL_VALUE_TO_DECIMAL.
7025         (ASM_OUTPUT_SHORT_FLOAT): Use %lf format specifier with 
7026         REAL_VALUE_TO_DECIMAL.
7027         (ar0_reg_operand): Add prototype.
7028         (ar0_mem_operand): Likewise.
7029         (ar1_reg_operand): Likewise.
7030         (ar1_mem_operand): Likewise.
7031         (ar2_reg_operand): Likewise.
7032         (ar2_mem_operand): Likewise.
7033         (ar3_reg_operand): Likewise.
7034         (ar3_mem_operand): Likewise.
7035         (ar4_reg_operand): Likewise.
7036         (ar4_mem_operand): Likewise.
7037         (ar5_reg_operand): Likewise.
7038         (ar5_mem_operand): Likewise.
7039         (ar6_reg_operand): Likewise.
7040         (ar6_mem_operand): Likewise.
7041         (ar7_reg_operand): Likewise.
7042         (ar7_mem_operand): Likewise.
7043         (ir0_reg_operand): Likewise.
7044         (ir0_mem_operand): Likewise.
7045         (ir1_reg_operand): Likewise.
7046         (ir1_mem_operand): Likewise.
7047         (group1_reg_operand): Likewise.
7048         (group1_mem_operand): Likewise.
7049         (ir1_reg_operand): Likewise.
7050         (arx_reg_operand): Likewise.
7051         (not_rc_reg): Likewise.
7052         (not_modify_reg): Likewise.
7053         (c4x_group1_reg_operand): Remove prototype.
7054         (c4x_group1_mem_operand): Likewise.
7055         (c4x_arx_reg_operand): Likewise.
7056
7057 Wed Nov 25 19:02:55 1998  (Stephen L Moshier) <moshier@world.std.com>
7058
7059         * emit-rtl.c (gen_lowpart_common): Remove earlier change.
7060         * real.c (make_nan): Make SIGN arg actually specify the sign bit.
7061
7062 Thu Nov 26 14:12:05 1998  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
7063
7064         * config/c4x/c4x.md (addqi3): Emit addqi3_noclobber pattern
7065         during reload.
7066
7067 Wed Nov 25 22:05:28 1998  J"orn Rennecke <amylaar@cygnus.co.uk>
7068
7069         * config/sh/lib1funcs.asm (___udivsi3_i4): Don't switch to sz == 1
7070         unless FMOVD_WORKS is defined.
7071
7072 Wed Nov 25 20:11:04 1998  J"orn Rennecke <amylaar@cygnus.co.uk>
7073
7074         * regclass.c (init_reg_sets): Move code that calculates tables
7075         dependent on reg_class_contents from here...
7076         (init_reg_sets_1): To here.
7077
7078 Wed Nov 25 14:54:46 1998  Zack Weinberg  <zack@rabi.phys.columbia.edu>
7079
7080         * cpplib.h: Delete struct import_file.  Add ihash element to
7081         struct cpp_buffer.  Delete dont_repeat_files and
7082         import_hash_table elements from cpp_reader; change
7083         all_include_files to a hash table.  Delete all foobar_include
7084         / last_foobar_include elements from struct cpp_options; put
7085         back four such: quote_include, bracket_include,
7086         system_include, after_include.  Redo struct file_name_list
7087         completely.  Add new structure type include_hash.  Add
7088         prototypes for merge_include_chains and include_hash.  Change
7089         prototypes for finclude, find_include_file, and
7090         append_include_chain to match changes below.
7091
7092         * cppfiles.c (simplify_pathname, include_hash,
7093         remap_filename, merge_include_chains): New functions.
7094         (add_import, lookup_import, open_include_file): Removed.
7095         (INO_T_EQ): Define this (copied from cccp.c).
7096         (hack_vms_include_specification): Remove all calls and #if 0
7097         out the definition.  It was being called incorrectly and at
7098         the wrong times.  Until a VMSie can look at this, it's better
7099         to not pretend to support it.
7100         (append_include_chain): Change calling convention; now takes
7101         only one directory at a time, and sets up the data structure
7102         itself.
7103         (redundant_include_p): Rewritten - this is now used for all
7104         include redundancy, whether by #ifndef, #import, or #pragma
7105         once.  Looks up things in the include hash table.
7106         (file_cleanup): Decrement pfile->system_include_depth here if
7107         it's >0.
7108         (find_include_file): Calling convention changed; now passes
7109         around a struct include_hash instead of 3 separate parameters.
7110         Guts ripped out and replaced with new include_hash mechanism.
7111         (finclude): Calling convention changed as for
7112         find_include_file.  Error exits pulled out-of-line.  Reformat.
7113         (safe_read): Return a long, not an int.
7114         (deps_output): Don't recurse.
7115
7116         * cpplib.c (is_system_include): Deleted.
7117         (path_include): Fix up call to append_include_chain.
7118         (do_include): Fix up calls to find_include_file and finclude.
7119         Clean up dependency output a bit.  Shorten obnoxiously lengthy
7120         #import warning message.  Don't decrement
7121         pfile->system_include_depth here.
7122         (do_pragma): Understand the include_hash structure.  Reformat.
7123         (do_endif): Correct handling of control macros.  Understand
7124         the include_hash.
7125         (cpp_start_read): Fix up calls to finclude.  Call
7126         merge_include_chains.
7127         (cpp_handle_option): Fix up calls to append_include_chain.
7128         Understand the four partial include chains.
7129         (cpp_finish): Add debugging code (#if 0-ed out) for the
7130         include_hash.
7131         (cpp_cleanup): Free the include_hash, not the import hash and
7132         the all_include and dont_repeat lists which no longer exist.
7133
7134 Wed Nov 25 11:26:19 1998  Jeffrey A Law  (law@cygnus.com)
7135
7136         * toplev.c (no_new_pseudos): Define.
7137         (rest_of_compilation):  Set no_new_pseudos as needed.
7138         * emit-rtl.c (gen_reg_rtx): Abort if we try to create a new pseudo
7139         if no_new_pseudos is set.
7140         * rtl.h (no_new_pseudos): Declare it.
7141         * reload1.c (reload): Update comments.
7142         * md.texi: Corresponding changes.
7143
7144 Wed Nov 25 11:26:17 1998  Bernd Schmidt  <crux@pool.informatik.rwth-aachen.de>
7145
7146         * reload1.c (reg_used_in_insn): Renamed from reg_used_by_pseudo.
7147         (choose_reload_regs): Rename it here as well.  When computing it,
7148         also merge in used hardregs.
7149
7150 1998-11-25 07:51 -0500  Zack Weinberg  <zack@rabi.phys.columbia.edu>
7151
7152         * gcc.c: Split out Objective-C specs to...
7153         * objc/lang-specs.h: here. (New file.) Make the specs cpplib
7154         aware.
7155
7156         * c-lex.c (init_parse): Always initialize the filename global.
7157         * objc/objc-act.c (lang_init): Always call check_newline at
7158         beginning of file.
7159
7160 Wed Nov 25 00:48:29 1998  Graham  <grahams@rcp.co.uk>
7161
7162         * reload1.c (reload): Remove unused variable.
7163         (reload_reg_free_for_value_p): Add missing parameter definition.
7164
7165         * jump.c (jump_optimize): Remove unused variable.
7166
7167 Wed Nov 25 00:07:11 1998  Jeffrey A Law  (law@cygnus.com)
7168
7169         * Makefile.in (graph.o): Depend on $(RTL_H), not rtl.h.
7170
7171         * cse.c (fold_rtx): Make autoincrement addressing mode tests be
7172         runtime selectable.
7173         * expr.c (move_by_pieces): Similarly.
7174         (move_by_pieces_1, clear_by_pieces, clear_by_pieces_1): Similarly.
7175         * flow.c (find_auto_inc): Similarly.
7176         (try_pre_increment): Similarly.
7177         * loop.c (strength_reduce): Similarly.
7178         * regclass.c (auto_inc_dec_reg_p): Similarly.
7179         * regmove.c (try_auto_increment): Similarly.
7180         (fixup_match_1): Similarly.
7181         * rtl.h (HAVE_PRE_INCREMENT): Define if not already defined.
7182         (HAVE_PRE_DECREMENT): Similarly.
7183         (HAVE_POST_INCREMENT, HAVE_POST_DECREMENT): Similarly.
7184         * Corresponding changes to all target header files.
7185         * tm.texi: Update docs for autoinc addressing modes.
7186
7187 Tue Nov 24 20:24:59 1998  Jim Wilson  <wilson@cygnus.com>
7188
7189         * configure.in (m68020-*-elf*, m68k-*-elf*): New targets.
7190         * configure: Rebuild.
7191         * config/elfos.h: New file.
7192         * config/m68k/m68020-elf.h, config/m68k/m68kelf.h,
7193         config/m68k/t-m68kelf: New file.
7194         
7195 Tue Nov 24 13:40:06 1998  Jeffrey A Law  (law@cygnus.com)
7196
7197         * Makefile.in (HOST_AR): Define.
7198         (HOST_AR_FLAGS, HOST_RANLIB, HOST_RANLIB_TEST): Similarly.
7199         (libcpp.a): Use the host tools explicitly.
7200         (STAGESTUFF): Add libcpp.a.
7201
7202 Tue Nov 24 09:33:49 1998  Nick Clifton  <nickc@cygnus.com>
7203
7204         * config/m32r/m32r.md (movstrsi_internal): Describe changes made
7205         to source and destination registers.
7206
7207 Mon Nov 23 20:28:02 1998  Mike Stump  <mrs@wrs.com>
7208
7209         * libgcc2.c (top_elt): Remove top_elt, it isn't thread safe.
7210         The strategy we now use is to pre allocate the top_elt along
7211         with the EH context so that each thread has its own top_elt.
7212         This is necessary as the dynmanic cleanup chain is used on the
7213         top element of the stack and each thread MUST have its own.
7214         (eh_context_static): Likewise.
7215         (new_eh_context): Likewise.
7216         (__sjthrow): Likewise.
7217
7218 Mon Nov 23 20:25:03 1998  Jason Merrill  <jason@yorick.cygnus.com>
7219
7220         * i386/linux.h (ASM_OUTPUT_MAX_SKIP_ALIGN): Wrap in do...while.
7221         * i386.md (prologue_get_pc): Remove unused variable.
7222
7223 Mon Nov 23 17:05:40 1998  Geoffrey Noer  <noer@cygnus.com>
7224
7225         * i386/xm-cygwin.h: Rename cygwin_ path funcs back to cygwin32_.
7226
7227 Mon Nov 23 16:40:00 1998  Ulrich Drepper  <drepper@cygnus.com>
7228
7229         * Makefile.in (OBJS): Add graph.o
7230         (graph.o): New dependency list.
7231         * flags.h: Declare dump_for_graph and define graph_dump_types type.
7232         * print-rtl.c (dump_for_graph): Define new variable.
7233         (print_rtx): Rewrite to allow use in graph dumping functions.
7234         * toplev.c: Declare print_rtl_graph_with_bb, clean_graph_dump_file,
7235         finish_graph_dump_file.
7236         Define graph_dump_format.
7237         (compile_file): If graph dumping is enabled also clear these files.
7238         Finish graph dump files.
7239         (rest_of_compilation): Also dump graph information if enabled.
7240         (main): Recognize -dv to enabled VCG based graph dumping.
7241         * graph.c: New file.  Graph dumping functions.
7242
7243 Mon Nov 23 16:39:04 1998  Richard Henderson  <rth@cygnus.com>
7244
7245         * configure.in: Look for <sys/stat.h>.
7246         * system.h: Include it before substitute S_ISREG definitions.
7247
7248 Mon Nov 23 17:40:37 1998  Gavin Romig-Koch  <gavin@cygnus.com>
7249
7250         * config/mips/abi.h: Use ABI_O64, duplicating ABI_32 usage.
7251         * config/mips/iris6.h: Same.
7252         * config/mips/mips.md: Same.
7253         * config/mips/mips.c: Same; also add "-mabi=o64" option.
7254         * config/mips/mips.h: Same; also define ABI_O64.
7255
7256 Mon Nov 23 17:02:27 1998  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7257
7258         *  configure.in: Use AC_PREREQ(2.12.1).
7259
7260 Mon Nov 23 10:16:38 1998  "Melissa O'Neill" <oneill@cs.sfu.ca>
7261
7262         * cccp.c (S_ISREG, S_ISDIR): Delete defines.
7263         * cpplib.c, gcc.c: Likewise.
7264         * system.h (S_ISREG, S_ISDIR): Define if not already defined.
7265
7266 Mon Nov 23 09:53:44 1998  Richard Henderson  <rth@cygnus.com>
7267
7268         * local-alloc.c (local_alloc): Use malloc not alloca for
7269         reg_qty, reg_offset, ref_next_in_qty.
7270
7271 Mon Nov 23 16:46:46 1998  J"orn Rennecke <amylaar@cygnus.co.uk>
7272
7273         * caller-save.c (insert_one_insn): Initialize the live_before and
7274         live_after register sets.
7275
7276         Add SH4 support:
7277
7278         * config/sh/lib1funcs.asm (___movstr_i4_even, ___movstr_i4_odd): Define.
7279         (___movstrSI12_i4, ___sdivsi3_i4, ___udivsi3_i4): Define.
7280         * sh.c (reg_class_from_letter, regno_reg_class): Add DF_REGS.
7281         (fp_reg_names, assembler_dialect): New variables.
7282         (print_operand_address): Handle SUBREGs.
7283         (print_operand): Added 'o' case.
7284         Don't use adj_offsettable_operand on PRE_DEC / POST_INC.
7285         Name of FP registers depends on mode.
7286         (expand_block_move): Emit different code for SH4 hardware.
7287         (prepare_scc_operands): Use emit_sf_insn / emit_df_insn as appropriate.
7288         (from_compare): Likewise.
7289         (add_constant): New argument last_value.  Changed all callers.
7290         (find_barrier): Don't try HImode load for FPUL_REG.
7291         (machine_dependent_reorg): Likewise.
7292         (sfunc_uses_reg): A CLOBBER cannot be the address register use.
7293         (gen_far_branch): Emit a barrier after the new jump.
7294         (barrier_align): Don't trust instruction lengths before
7295         fixing up pcloads.
7296         (machine_dependent_reorg): Add support for FIRST_XD_REG .. LAST_XD_REG.
7297         Use auto-inc addressing for fp registers if doubles need to
7298         be loaded in two steps.
7299         Set sh_flag_remove_dead_before_cse.
7300         (push): Support for TARGET_FMOVD.  Use gen_push_fpul for fpul.
7301         (pop): Support for TARGET_FMOVD.  Use gen_pop_fpul for fpul.
7302         (calc_live_regs): Support for TARGET_FMOVD.  Don't save FPSCR.
7303         Support for FIRST_XD_REG .. LAST_XD_REG.
7304         (sh_expand_prologue): Support for FIRST_XD_REG .. LAST_XD_REG.
7305         (sh_expand_epilogue): Likewise.
7306         (sh_builtin_saveregs): Use DFmode moves for fp regs on SH4.
7307         (initial_elimination_offset): Take TARGET_ALIGN_DOUBLE into account.
7308         (arith_reg_operand): FPUL_REG is OK for SH4.
7309         (fp_arith_reg_operand, fp_extended_operand) New functions.
7310         (tertiary_reload_operand, fpscr_operand): Likewise.
7311         (commutative_float_operator, noncommutative_float_operator): Likewise.
7312         (binary_float_operator, get_fpscr_rtx, emit_sf_insn): Likewise.
7313         (emit_df_insn, expand_sf_unop, expand_sf_binop): Likewise.
7314         (expand_df_unop, expand_df_binop, expand_fp_branch): Likewise.
7315         (emit_fpscr_use, mark_use, remove_dead_before_cse): Likewise.
7316         * sh.h (CPP_SPEC): Add support for -m4, m4-single, m4-single-only.
7317         (CONDITIONAL_REGISTER_USAGE): Likewise.
7318         (HARD_SH4_BIT, FPU_SINGLE_BIT, SH4_BIT, FMOVD_BIT): Define.
7319         (TARGET_CACHE32, TARGET_SUPERSCALAR, TARGET_HARWARD): Define.
7320         (TARGET_HARD_SH4, TARGET_FPU_SINGLE, TARGET_SH4, TARGET_FMOVD): Define.
7321         (target_flag): Add -m4, m4-single, m4-single-only, -mfmovd.
7322         (OPTIMIZATION_OPTIONS): If optimizing, set flag_omit_frame_pointer
7323         to -1 and sh_flag_remove_dead_before_cse to 1.
7324         (ASSEMBLER_DIALECT): Define to assembler_dialect.
7325         (assembler_dialect, fp_reg_names): Declare.
7326         (OVERRIDE_OPTIONS): Add code for TARGET_SH4.
7327         Hide names of registers that are not accessible.
7328         (CACHE_LOG): Take TARGET_CACHE32 into account.
7329         (LOOP_ALIGN): Take TARGET_HARWARD into account.
7330         (FIRST_XD_REG, LAST_XD_REG, FPSCR_REG): Define.
7331         (FIRST_PSEUDO_REGISTER: Now 49.
7332         (FIXED_REGISTERS, CALL_USED_REGISTERS): Include values for registers.
7333         (HARD_REGNO_NREGS): Special treatment of FIRST_XD_REG .. LAST_XD_REG.
7334         (HARD_REGNO_MODE_OK): Update.
7335         (enum reg_class): Add DF_REGS and FPSCR_REGS.
7336         (REG_CLASS_NAMES, REG_CLASS_CONTENTS, REG_ALLOC_ORDER): Likewise.
7337         (SECONDARY_OUTPUT_RELOAD_CLASS, SECONDARY_INPUT_RELOAD_CLASS): Update.
7338         (CLASS_CANNOT_CHANGE_SIZE, DEBUG_REGISTER_NAMES): Define.
7339         (NPARM_REGS): Eight floating point parameter registers on SH4.
7340         (BASE_RETURN_VALUE_REG): SH4 also passes double values
7341         in floating point registers.
7342         (GET_SH_ARG_CLASS) Likewise.
7343         Complex float types are also returned in float registers.
7344         (BASE_ARG_REG): Complex float types are also passes in float registers.
7345         (FUNCTION_VALUE): Change mode like PROMOTE_MODE does.
7346         (LIBCALL_VALUE): Remove trailing semicolon.
7347         (ROUND_REG): Round when double precision value is passed in floating
7348         point register(s).
7349         (FUNCTION_ARG_ADVANCE): No change wanted for SH4 when things are
7350         passed on the stack.
7351         (FUNCTION_ARG): Little endian adjustment for SH4 SFmode.
7352         (FUNCTION_ARG_PARTIAL_NREGS): Zero for SH4.
7353         (TRAMPOLINE_ALIGNMENT): Take TARGET_HARWARD into account.
7354         (INITIALIZE_TRAMPOLINE): Emit ic_invalidate_line for TARGET_HARWARD.
7355         (MODE_DISP_OK_8): Not for SH4 DFmode.
7356         (GO_IF_LEGITIMATE_ADDRESS): No base reg + index reg for SH4 DFmode.
7357         Allow indexed addressing for PSImode after reload.
7358         (LEGITIMIZE_ADDRESS): Not for SH4 DFmode.
7359         (LEGITIMIZE_RELOAD_ADDRESS): Handle SH3E SFmode.
7360         Don't change SH4 DFmode nor PSImode RELOAD_FOR_INPUT_ADDRESS.
7361         (DOUBLE_TYPE_SIZE): 64 for SH4.
7362         (RTX_COSTS): Add PLUS case.
7363         Increae cost of ASHIFT, ASHIFTRT, LSHIFTRT case.
7364         (REGISTER_MOVE_COST): Add handling of R0_REGS, FPUL_REGS, T_REGS,
7365         MAC_REGS, PR_REGS, DF_REGS.
7366         (REGISTER_NAMES): Use fp_reg_names.
7367         (enum processor_type): Add PROCESSOR_SH4.
7368         (sh_flag_remove_dead_before_cse): Declare.
7369         (rtx_equal_function_value_matters, fpscr_rtx, get_fpscr_rtx): Declare.
7370         (PREDICATE_CODES): Add binary_float_operator,
7371         commutative_float_operator, fp_arith_reg_operand, fp_extended_operand,
7372         fpscr_operand, noncommutative_float_operator.
7373         (ADJUST_COST): Use different scale for TARGET_SUPERSCALAR.
7374         (SH_DYNAMIC_SHIFT_COST): Cheaper for SH4.
7375         * sh.md (attribute cpu): Add value sh4.
7376         (attrbutes fmovd, issues): Define.
7377         (attribute type): Add values dfp_arith, dfp_cmp, dfp_conv, dfdiv.
7378         (function units memory, int, mpy, fp): Make dependent on issue rate.
7379         (function units issue, single_issue, load_si, load): Define.
7380         (function units load_store, fdiv, gp_fpul): Define.
7381         (attribute hit_stack): Provide proper default.
7382         (use_sfunc_addr+1, udivsi3): Predicated on ! TARGET_SH4.
7383         (udivsi3_i4, udivsi3_i4_single, divsi3_i4, divsi3_i4_single): New insns.
7384         (udivsi3, divsi3): Emit special patterns for SH4 hardware,
7385         (mulsi3_call): Now uses match_operand for function address.
7386         (mulsi3): Also emit code for SH1 case.  Wrap result in REG_LIBCALL /
7387         REG_RETVAL notes.
7388         (push, pop, push_e, pop_e): Now define_expands.
7389         (push_fpul, push_4, pop_fpul, pop_4, ic_invalidate_line): New expanders.
7390         (movsi_ie): Added y/i alternative.
7391         (ic_invalidate_line_i, movdf_i4): New insns.
7392         (movdf_i4+[123], reload_outdf+[12345], movsi_y+[12]): New splitters.
7393         (reload_indf, reload_outdf, reload_outsf, reload_insi): New expanders.
7394         (movdf): Add special code for SH4.
7395         (movsf_ie, movsf_ie+1, reload_insf, calli): Make use of fpscr visible.
7396         (call_valuei, calli, call_value): Likewise.
7397         (movsf): Emit no-op move.
7398         (mov_nop, movsi_y): New insns.
7399         (blt, sge): generalize to handle DFmode.
7400         (return predicate): Call emit_fpscr_use and remove_dead_before_cse.
7401         (block_move_real, block_lump_real): Predicate on ! TARGET_HARD_SH4.
7402         (block_move_real_i4, block_lump_real_i4, fpu_switch): New insns.
7403         (fpu_switch0, fpu_switch1, movpsi): New expanders.
7404         (fpu_switch+[12], fix_truncsfsi2_i4_2+1): New splitters.
7405         (toggle_sz): New insn.
7406         (addsf3, subsf3, mulsf3, divsf3): Now define_expands.
7407         (addsf3_i, subsf3_i, mulsf3_i4, mulsf3_ie, divsf3_i): New insns.
7408         (macsf3): Make use of fpscr visible.  Disable for SH4.
7409         (floatsisf2): Make use of fpscr visible.
7410         (floatsisf2_i4): New insn.
7411         (floatsisf2_ie, fixsfsi, cmpgtsf_t, cmpeqsf_t): Disable for SH4.
7412         (ieee_ccmpeqsf_t): Likewise.
7413         (fix_truncsfsi2): Emit different code for SH4.
7414         (fix_truncsfsi2_i4, fix_truncsfsi2_i4_2, cmpgtsf_t_i4): New insns.
7415         (cmpeqsf_t_i4, ieee_ccmpeqsf_t_4): New insns.
7416         (negsf2, sqrtsf2, abssf2): Now expanders.
7417         (adddf3, subdf3i, muldf2, divdf3, floatsidf2): New expanders.
7418         (negsf2_i, sqrtsf2_i, abssf2_i, adddf3_i, subdf3_i): New insns.
7419         (muldf3_i, divdf3_i, floatsidf2_i, fix_truncdfsi2_i): New insns.
7420         (fix_truncdfsi2, cmpdf, negdf2, sqrtdf2, absdf2): New expanders.
7421         (fix_truncdfsi2_i4, cmpgtdf_t, cmpeqdf_t, ieee_ccmpeqdf_t): New insns.
7422         (fix_truncdfsi2_i4_2+1): New splitters.
7423         (negdf2_i, sqrtdf2_i, absdf2_i, extendsfdf2_i4): New insns.
7424         (extendsfdf2, truncdfsf2): New expanders.
7425         (truncdfsf2_i4): New insn.
7426         * t-sh (LIB1ASMFUNCS): Add _movstr_i4, _sdivsi3_i4, _udivsi3_i4.
7427         (MULTILIB_OPTIONS): Add m4-single-only/m4-single/m4.
7428         * float-sh.h: When testing for __SH3E__, also test for
7429         __SH4_SINGLE_ONLY__ .
7430         * va-sh.h (__va_freg): Define to float.
7431         (__va_greg, __fa_freg, __gnuc_va_list, va_start):
7432         Define for __SH4_SINGLE_ONLY__ like for __SH3E__ .
7433         (__PASS_AS_FLOAT, __TARGET_SH4_P): Likewise.
7434         (__PASS_AS_FLOAT): Use different definition for __SH4__ and
7435          __SH4_SINGLE__.
7436         (TARGET_SH4_P): Define.
7437         (va_arg): Use it.
7438
7439         * sh.md (movdf_k, movsf_i): Tweak the condition so that
7440         init_expr_once is satisfied about the existence of load / store insns.
7441
7442         * sh.md (movsi_i, movsi_ie, movsi_i_lowpart, movsf_i, movsf_ie):
7443         change m constraint in source operand to mr / mf .
7444
7445         * va-sh.h (__va_arg_sh1): Use __asm instead of asm.
7446
7447         * (__VA_REEF): Define.
7448         (__va_arg_sh1): Use it.
7449
7450         * va-sh.h (va_start, va_arg, va_copy): Add parenteses.
7451
7452 Sun Nov 22 21:34:02 1998  Jeffrey A Law  (law@cygnus.com)
7453
7454         * i386/dgux.c (struct option): Add new "description field".
7455         * m88k/m88k.c (struct option): Likewise.
7456
7457 Sun Nov 22 16:07:57 PST 1998 Jeff Law  (law@cygnus.com)
7458
7459         * version.c: Bump for snapshot.
7460
7461 Sun Nov 22 13:40:02 1998  Bernd Schmidt  <crux@pool.informatik.rwth-aachen.de>
7462
7463         * regmove.c (regmove_profitable_p): Use return value of find_matches
7464         properly.
7465
7466 Sun Nov 22 02:47:37 PST 1998 Jeff Law  (law@cygnus.com)
7467
7468         * version.c: Bump for snapshot.
7469
7470 Sat Nov 21 22:12:09 1998  Jeffrey A Law  (law@cygnus.com)
7471
7472         * reload1.c (eliminate_regs): Do not lose if eliminate_regs is called
7473         without reload having been called earlier.
7474
7475         * v850.c (ep_memory_operand): Offsets < 0 are not valid for EP
7476         addressing modes.
7477         (v850_reorg): Similarly.
7478
7479         * loop.c (check_dbra_loop): Avoid using gen_add2_insn.
7480
7481 Sat Nov 21 02:18:38 1998  J"orn Rennecke <amylaar@cygnus.co.uk>
7482
7483         * loop.c (move_movables): Start of libcall might be new loop start.
7484
7485 Fri Nov 20 12:14:16 1998  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7486
7487         * hash.c (hash_table_init_n): Wrap prototype arguments in PARAMS().
7488
7489 Fri Nov 20 08:34:00 1998  Bernd Schmidt <crux@pool.informatik.rwth-aachen.de>
7490
7491         * function.c (nonlocal_goto_handler_slots): Renamed from
7492         nonlocal_goto_handler_slot; now an EXPR_LIST chain.
7493         (push_function_context_to): Adjust for this change.
7494         (pop_function_context_from): Likewise.
7495         (init_function_start): Likewise.
7496         (expand_function_end): Likewise.
7497         * function.h (struct function): Likewise.
7498         * calls.c (expand_call): Likewise.
7499         * explow.c (allocate_dynamic_stack_space): Likewise.
7500         * expr.h (nonlocal_goto_handler_slots): Rename its declaration.
7501         * stmt.c (declare_nonlocal_label): Make a new handler slot for each
7502         label.
7503         (expand_goto): When doing a nonlocal goto, find corresponding handler
7504         slot for it.  Don't put the label address in the static chain register.
7505         (expand_end_bindings): Break out nonlocal goto handling code into
7506         three new functions.
7507         (expand_nl_handler_label, expand_nl_goto_receiver,
7508         expand_nl_goto_receivers): New static functions, broken out of
7509         expand_end_bindings and adapted to create one handler per nonlocal
7510         label.
7511         * function.c (delete_handlers): Delete insn if it references any of
7512         the nonlocal goto handler slots.
7513         * i960.md (nonlocal_goto): Comment out code that modifies
7514         static_chain_rtx.
7515         * sparc.md (nonlocal_goto): Likewise.
7516         (goto_handler_and_restore_v9): Comment out.
7517         (goto_handler_and_restore_v9_sp64): Comment out.
7518
7519 Thu Nov 19 23:44:38 1998  Bernd Schmidt <crux@pool.informatik.rwth-aachen.de>
7520
7521         * expr.c (STACK_BYTES): Delete unused macro.
7522         * calls.c: Provide default for PREFERRED_STACK_BOUNDARY.
7523         (STACK_BYTES): Use PREFERRED_STACK_BOUNDARY, not STACK_BOUNDARY.
7524         (expand_call): Likewise.
7525         (emit_library_call): Likewise.
7526         (emit_library_call_value): Likewise.
7527         * function.c: Provide default for PREFERRED_STACK_BOUNDARY.
7528         (STACK_BYTES): Use PREFERRED_STACK_BOUNDARY, not STACK_BOUNDARY.
7529         * explow.c: Provide default for PREFERRED_STACK_BOUNDARY.
7530         (round_push): Use PREFERRED_STACK_BOUNDARY, not STACK_BOUNDARY.
7531         (allocate_dynamic_stack_space): Likewise.
7532         * tm.texi (PREFERRED_STACK_BOUNDARY): Document new macro.
7533         (STACK_BOUNDARY): Update description to reflect the new situation.
7534
7535 Thu Nov 19 22:20:51 1998  Jeffrey A Law  (law@cygnus.com)
7536
7537         * reorg.c (relax_delay_slots): When optimizing for code size, if a
7538         return with a filled delay slot is followed by a return with an
7539         unfilled delay slot, delete the first return and reemit the insn
7540         that was previously in its delay slot.
7541
7542         * i860.c (single_insn_src_p): Add missing parens.
7543         * ginclude/math-3300.h: Likewise.
7544
7545 Thu Nov 19 20:55:59 1998  H.J. Lu  (hjl@gnu.org)
7546
7547         * regclass.c (init_reg_sets_1): Add prototype.
7548         (init_reg_modes): Likewise.
7549
7550 1998-11-19 Zack Weinberg  <zack@rabi.phys.columbia.edu>
7551
7552         * c-common.c: Change warning messages to say `comparison is
7553         always true' or `comparison is always false' instead of the
7554         confusing `is always 0', `is always 1'.
7555
7556 Thu Nov 19 19:05:49 1998  Per Bothner  <bothner@cygnus.com>
7557
7558         * print-tree.c (print_node):  After printing BLOCK or BIND_EXPR,
7559         break instead of return (which loses closing '>').
7560
7561 Thu Nov 19 19:34:13 1998  Jeffrey A Law  (law@cygnus.com)
7562
7563         * i386.h (LEGITIMATE_CONSTANT_P): Reject CONST_DOUBLEs that are not
7564         standard 387 constants.
7565
7566         * i386.md (jump): Explicitly set "memory" attribute.
7567         (indirect_jump, prologue_set_stack_ptr): Likewise.
7568         (prologue_get_pc_and_set_got, pop): Likewise.
7569         (allocate_stack_worder, blockage, return_internal): Likewise.
7570         (return_pop_internal, nop): Likewise.
7571         (epilogue_set_stack_ptr, leave): Likewise.
7572
7573 Thu Nov 19 15:42:54 1998  Nick Clifton  <nickc@cygnus.com>
7574
7575         * config/arm/coff.h: Set USER_LABEL_PREFIX to "_".
7576
7577 Thu Nov 19 23:20:59 1998  J"orn Rennecke <amylaar@cygnus.co.uk>
7578
7579         * reload1.c (reload_reg_free_for_value_p):
7580         Early auto_inc reloads don't conflict with outputs.
7581
7582 Thu Nov 19 12:58:55 1998  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7583
7584         * configure.in: Don't do AC_CHECK_HEADERS(wait.h sys/wait.h).
7585         Instead call AC_HEADER_SYS_WAIT.
7586
7587         * collect2.c: Don't provide defaults for sys/wait.h macros.
7588         * gcc.c: Likewise.
7589         * protoize.c: Likewise.  Also, don't include sys/wait.h.
7590
7591         * system.h: Include sys/wait.h and provide macro defaults.
7592
7593 1998-11-19  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
7594
7595         * Makefile.in (mandir): Set to @mandir@.
7596         (man1dir): New variable to hold the former value of $(mandir).
7597         Replace all uses of $(mandir) by $(man1dir).
7598
7599 Wed Nov 18 16:31:28 1998  Jim Wilson  <wilson@cygnus.com>
7600
7601         * reload.c (find_reloads_address_part): If have a CONST_INT, create
7602         a new one before passing it to force_const_mem.
7603
7604         * reload.c (find_reloads_toplev): Pass &x instead of NULL_PTR in
7605         find_reloads_address call.
7606
7607 Wed Nov 18 22:13:00 1998  J"orn Rennecke <amylaar@cygnus.co.uk>
7608
7609         * expr.c (store_expr): Don't generate load-store pair
7610         if TEMP is identical (according to ==) with TARGET.
7611
7612 Tue Nov 17 22:25:16 1998  J"orn Rennecke <amylaar@cygnus.co.uk>
7613
7614         * reload1.c (reload_reg_free_for_value_p): When considered reload
7615         has an output, matching inputs are not sufficient to avoid conflict.
7616
7617 Tue Nov 17 11:51:16 1998  Mark Mitchell  <mark@markmitchell.com>
7618
7619         * hash.h (hash_table_key): New type.
7620         (hash_entry): Change `string' field to generic `key'.
7621         (hash_table): Add `comp' and `hash' functions.
7622         (hash_table_init): Take them as input.
7623         (hash_table_init_n): Likewise.
7624         (hash_lookup): Modify for generic keys.
7625         (hash_newfunc): Likewise.
7626         (hash_traverse): Likewise.
7627         (string_hash): New function.
7628         (string_compare): Likewise.
7629         (string_copy): Likewise.
7630         * hash.c (hash_table_init_n): Modify for generic keys.
7631         (hash_table_init): Likewise.
7632         (hash_lookup): Likewise.
7633         (hash_newfunc): Likewise.
7634         (hash_traverse): Likewise.
7635         (string_hash): Split out from hash_lookup.
7636         (string_compare): New function.
7637         (string_copy): Split out from hash_lookup.
7638         * tlink.c (symbol_hash_newfunc): Modify for new interfaces to hash
7639         tables.
7640         (symbol_hash_lookup): Likewise.
7641         (file_hash_newfunc): Likewise.
7642         (file_hash_lookup): Likewise.
7643         (demangled_hash_newfunc): Likewise.
7644         (demangled_hash_lookup): Likewise.
7645         (tlink_int): Likewise.
7646         (read_repo_file): Likewise.
7647         (recompile_files): Likewise.
7648         (demangle_new_symbols): Likewise.
7649         (scan_linker_output): Likewise.
7650         
7651 Tue Nov 17 17:13:53 1998  J"orn Rennecke <amylaar@cygnus.co.uk>
7652
7653         * flow.c (insn_dead_p): New argument NOTES.  Changed all callers.
7654
7655 Mon Nov 16 17:56:07 1998  David Edelsohn  <edelsohn@gnu.org>
7656
7657         * rs6000.c (output_mi_thunk): Improve test for local branch.
7658
7659 Mon Nov 16 17:56:07 1998  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
7660
7661         * rs6000.c (output_mi_thunk): Correct test for aggregate values.
7662
7663 Mon Nov 16 21:02:52 1998  J"orn Rennecke <amylaar@cygnus.co.uk>
7664
7665         * reload1.c (reload_reg_free_before_p): Delete.
7666         Changed all callers to use reload_reg_free_for_value_p instead.
7667         (reload_reg_free_for_value_p): Handle more reload types.
7668         A RELOAD_FOR_INPUT doesn't conflict with its
7669         RELOAD_FOR_INPUT_ADDRESS / RELOAD_FOR_INPADDR_ADDRESS.
7670         Add special case for OUT == const0_rtx.
7671         Added ignore_address_reloads argument.  Changed all callers.
7672
7673 Mon Nov 16 02:22:29 1998  Jason Merrill  <jason@yorick.cygnus.com>
7674
7675         * toplev.c (compile_file): Don't pedwarn about undefined static
7676         functions just because we passed -Wunused.
7677
7678 Mon Nov 16 04:41:41 1998  J"orn Rennecke <amylaar@cygnus.co.uk>
7679
7680         * function.c (purge_addressof_1): Unshare rtl created by
7681         store_bit_field.
7682
7683 Mon Nov 16 04:23:06 1998  J"orn Rennecke <amylaar@cygnus.co.uk>
7684
7685         * regmove.c (regmove_optimize): Don't do anything but
7686         optimize_reg_copy[123] when flag_regmove is not set.
7687
7688 Sat Nov 14 15:05:07 1998  Richard Henderson  <rth@cygnus.com>
7689
7690         * alpha.md (addsi3, subsi3): Revise 5 Nov change to store DImode
7691         value in paradoxical SImode result, rather than truncating midpoint.
7692
7693 Fri Nov 13 22:19:23 1998  Richard Henderson  <rth@cygnus.com>
7694
7695         * alpha.c (reg_not_elim_operand): New.
7696         * alpha.h (PREDICATE_CODES): Add it.
7697         * alpha.md (s48addq, s48subq patterns): Use it as the predicate
7698         for the multiplicand.
7699
7700 Fri Nov 13 22:50:37 1998  David Edelsohn  <edelsohn@gnu.org>
7701
7702         * rs6000.md (movsf): Remove explicit secondary-reload-like
7703         functionality.  Only truncate SFmode store if in FPR.
7704         (movsf splitters): Combine const_double splitters.
7705         (movsf_hardfloat): Add GPR support.
7706
7707 Fri Nov 13 11:02:11 1998  Stan Cox  <scox@cygnus.com>
7708
7709         * splet.h (SUBTARGET_OVERRIDE_OPTIONS): New to
7710         deprecate -mlive-g0 and -mbroken-saverestore.
7711         * t-splet (MULTILIB_OPTIONS): Likewise.
7712         
7713         * sparc.c (sparc_flat_compute_frame_size): Correctly calc args_size
7714         in a leaf function.  Clarify total_size/extra_size relationship.
7715
7716 Thu Nov 12 19:20:57 1998  Geoffrey Noer  <noer@cygnus.com>
7717
7718         * i386/cygwin32.asm: Delete.
7719         * i386/cygwin.asm: New file, renamed from cygwin32.asm.
7720         * i386/cygwin32.h: Delete.
7721         * i386/cygwin.h: New file, renamed from cygwin32.h.
7722         * i386/t-cygwin32: Delete.
7723         * i386/t-cygwin: New file, renamed from t-cygwin32.  Include
7724         cygwin.asm instead of cygwin32.asm.  Remove "32" from comment.
7725         * i386/x-cygwin32: Delete.
7726         * i386/x-cygwin: New file, renamed from x-cygwin32.
7727         * i386/xm-cygwin32: Delete.
7728         * i386/xm-cygwin: New file, renamed from xm-cygwin32.  Use newly
7729         renamed cygwin_ funcs for path translations.
7730         * i386/win32.h: Define __CYGWIN__ when -mcygwin given.
7731         * i386/winnt.c: Remove "32" from comment about cygwin.
7732         * i386/mingw32.h: Fix references to cygwin32.h in light of above.
7733         * rs6000/cygwin32.h: Delete.
7734         * rs6000/cygwin.h: New file, renamed from cygwin32.h.  Add
7735         -D__CYGWIN__ to CPP_PREDEFINES.
7736         * rs6000/x-cygwin32: Delete.
7737         * rs6000/x-cygwin: New file, renamed from x-cygwin32.
7738         * rs6000/xm-cygwin32: Delete.
7739         * rs6000/xm-cygwin: New file, renamed from xm-cygwin32.
7740
7741         * configure.in: Check for cygwin* instead of cygwin32.  Account
7742         for the rename of cygwin-related config files to lose the "32"s.
7743         * configure: Regenerate.
7744
7745         * cccp.c, collect2.c, gcc.c, getpwd.c, libgcc2.c, protoize.c,
7746         toplev.c: Change all refs to __CYGWIN32__ to __CYGWIN__.
7747
7748 Wed Nov 11 12:25:19 1998  Tom Tromey  <tromey@cygnus.com>
7749
7750         * Makefile.in (JAVAGC): New macro.
7751         * configure: Rebuilt.
7752         * configure.in: Recognize --enable-java-gc argument.  Subst
7753         `JAVAGC' variable.
7754
7755 Thu Nov 12 03:32:16 1998  J"orn Rennecke <amylaar@cygnus.co.uk>
7756
7757         Handle equivalences that have been obscured by gcse:
7758
7759         * reload1.c (reload): Handle equivalences set up in multiple places.
7760         * local-alloc.c (reg_equiv_init_insns): New variable.
7761         (no_equiv): New function.
7762         (update_equiv_regs): Handle equivalences set up in multiple places.
7763         Don't ignore an insn just because its destination is likely to be
7764         spilled.
7765
7766 Wed Nov 11 13:46:13 1998  Jim Wilson  <wilson@cygnus.com>
7767
7768         * except.c (expand_eh_return): Readd force_operand call lost in
7769         Sept 15 change.
7770
7771 Tue Nov 10 17:04:11 1998  David Edelsohn  <edelsohn@gnu.org>
7772
7773         * rs6000.h (LEGITIMIZE_ADDRESS): Add missing goto on last case.
7774
7775 1998-11-09  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
7776
7777         * dbxout.c: Check HAVE_STAB_H instead of HAVE_STABS_H.
7778
7779 Mon Nov  9 20:15:19 1998  Bernd Schmidt <crux@pool.informatik.rwth-aachen.de>
7780
7781         * regmove.c (regmove_optimize): Fix error in last change.
7782
7783 Mon Nov  9 16:37:52 1998  Andrew Cagney  <cagney@b1.cygnus.com>
7784
7785         * mips.c (function_prologue): When TARGET_MIPS16, adjust the register
7786         offset in the .mask pseudo to compensate for frame pointer adjustments.
7787         (mips16_fp_args, build_mips16_call_stub): For little endian, do not
7788         word swap arguments moved to/from FP registers.
7789         * mips16.S (DFREVCMP): Reverse arguments to OPCODE.
7790         
7791 Mon Nov 9 09:47:06 PST 1998 Jeff Law  (law@cygnus.com)
7792
7793         * version.c: Bump for snapshot.
7794
7795 Mon Nov 9 02:14:14 PST 1998 Jeff Law  (law@cygnus.com)
7796
7797         * version.c: Bump for snapshot.
7798
7799 Mon Nov  9 03:06:24 1998  Jeffrey A Law  (law@cygnus.com)
7800
7801         * reload1.c (delete_output_reload_insn): If a pseudo is set multiple
7802         times, then it can not be completely replaced.
7803
7804 Mon Nov  9 00:39:02 1998  Richard Henderson  <rth@cygnus.com>
7805
7806         * alpha.md (call, call_value) [OSF]: Correct alt 3 insn length.
7807
7808 Sun Nov  8 17:50:30 1998  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7809
7810         * gansidecl.h: Prepend a "G" to the macro wrapping this file
7811         (to distinguish it from the macro wrapping ansidecl.h.)
7812         Include libiberty's ansidecl.h.  Remove all redundant definitions.
7813         Define the PROTO() style macros in terms of the PARAMS() ones.
7814
7815         
7816         * calls.c (emit_library_call): Switch on ANSI_PROTOTYPES, not
7817         __STDC__, when deciding whether to use ANSI variable args.
7818         (emit_library_call_value): Likewise.
7819
7820         * cccp.c (error): Likewise.
7821         (warning): Likewise.
7822         (error_with_line): Likewise.
7823         (warning_with_line): Likewise.
7824         (pedwarn): Likewise.
7825         (pedwarn_with_line): Likewise.
7826         (pedwarn_with_file_and_line): Likewise.
7827         (fatal): Likewise.
7828
7829         * cexp.y (error): Likewise.
7830         (pedwarn): Likewise.
7831         (warning): Likewise.
7832
7833         * collect2.c (fatal_perror): Likewise.
7834         (fatal): Likewise.
7835         (error): Likewise.
7836
7837         * combine.c (gen_rtx_combine): Likewise.
7838
7839         * cpperror.c (cpp_message): Likewise.
7840         (cpp_fatal): Likewise.
7841
7842         * cpplib.c (cpp_error): Likewise.
7843         (cpp_warning): Likewise.
7844         (cpp_pedwarn): Likewise.
7845         (cpp_error_with_line): Likewise.
7846         (cpp_warning_with_line): Likewise.
7847         (cpp_pedwarn_with_line): Likewise.
7848         (cpp_pedwarn_with_file_and_line): Likewise.
7849
7850         * cpplib.h: Don't define PARAMS() macro.
7851
7852         * demangle.h: Likewise.
7853
7854         * doprint.c (checkit): Switch on ANSI_PROTOTYPES, not __STDC__,
7855         when deciding whether to use ANSI variable args.
7856
7857         * emit-rtl.c (gen_rtx): Likewise.
7858         (gen_rtvec): Likewise.
7859
7860         * final.c (asm_fprintf): Likewise.
7861
7862         * fix-header.c (cpp_message): Likewise.
7863         (fatal): Likewise.
7864         (cpp_fatal): Likewise.
7865
7866         * gcc.c (concat): Likewise.
7867         (fatal): Likewise.
7868         (error): Likewise.
7869
7870         * genattr.c (fatal): Likewise.
7871
7872         * genattrtab.c (attr_rtx): Likewise.
7873         (attr_printf): Likewise.
7874         (fatal): Likewise.
7875
7876         * gencodes.c (fatal): Likewise.
7877
7878         * genconfig.c (fatal): Likewise.
7879
7880         * genemit.c (fatal): Likewise.
7881
7882         * genextract.c (fatal): Likewise.
7883
7884         * genflags.c (fatal): Likewise.
7885
7886         * genopinit.c (fatal): Likewise.
7887
7888         * genoutput.c (fatal): Likewise.
7889         (error): Likewise.
7890
7891         * genpeep.c (fatal): Likewise.
7892
7893         * genrecog.c (fatal): Likewise.
7894
7895         * halfpic.h: Switch on ANSI_PROTOTYPES, not __STDC__, when
7896         deciding whether to declare `tree_node' and `rtx_def'.
7897
7898         * hash.h: Don't define stuff we get from gansidecl.h.
7899
7900         * mips-tfile.c: Likewise.  Define __proto() in terms of PARAMS().
7901         (fatal): Switch on ANSI_PROTOTYPES, not __STDC__, when deciding
7902         whether to use ANSI variable args.
7903         (error): Likewise.
7904
7905         * prefix.c (concat): Likewise.
7906
7907         * scan.h: Likewise.
7908
7909         * system.h: Likewise.
7910
7911         * toplev.c (error_with_file_and_line): Likewise.
7912         (error_with_decl): Likewise.
7913         (error_for_asm): Likewise.
7914         (error): Likewise.
7915         (fatal): Likewise.
7916         (warning_with_file_and_line): Likewise.
7917         (warning_with_decl): Likewise.
7918         (warning_for_asm): Likewise.
7919         (warning): Likewise.
7920         (pedwarn): Likewise.
7921         (pedwarn_with_decl): Likewise.
7922         (pedwarn_with_file_and_line): Likewise.
7923         (sorry): Likewise.
7924         (really_sorry): Likewise.
7925
7926         * toplev.h: Switch on ANSI_PROTOTYPES, not __STDC__, when deciding
7927         whether to declare `tree_node' and `rtx_def'.
7928
7929         * tree.c (build): Switch on ANSI_PROTOTYPES, not __STDC__, when
7930         deciding whether to use ANSI variable args.
7931         (build_nt): Likewise.
7932         (build_parse_node): Likewise.
7933
7934 Sun Nov 8 13:10:55 PST 1998 Jeff Law  (law@cygnus.com)
7935
7936         * version.c: Bump for snapshot.
7937
7938 Sat Nov  7 23:34:01 1998  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7939
7940         * Makefile.in (libcpp.a): Check RANLIB_TEST before runing RANLIB.
7941
7942 Sat Nov  7 22:26:19 1998  David Edelsohn  <edelsohn@gnu.org>
7943
7944         * collect2.c (main, case 'b'): Use else if.
7945
7946 Sat Nov  7 15:35:25 1998  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
7947
7948         * configure.in (host_xm_file, build_xm_file, xm_file, tm_file):
7949         Arrange to include gansidecl.h in {ht}config.h & tm.h just
7950         before the config/ directory headers.
7951         (tm_file_list, host_xm_file_list, build_xm_file_list): Handle
7952         gansidecl.h in the list of dependencies.
7953
7954         * Makefile.in (RTL_BASE_H): Don't depend on gansidecl.h.
7955         (TREE_H, DEMANGLE_H, RECOG_H, REGS_H, libgcc2.a, stmp-multilib,
7956         mbchar.o, collect2.o, pexecute.o, vfprintf.o, splay-tree.o, gcc.o,
7957         gencheck.o, choose-temp.o, mkstemp.o, mkstemp.o, prefix.o,
7958         dyn-string.o, cexp.o, cccp.o, cppmain.o, cpplib.o, cpperror.o,
7959         cppexp.o, cppfiles.o, cpphash.o, cppalloc.o, scan-decls.o):
7960         Likewise.
7961
7962         * cccp.c: Don't include gansidecl.h.
7963         * cexp.y: Likewise.
7964         * collect2.c: Likewise.
7965         * config/c4x/c4x.c: Likewise.
7966         * config/v850/v850.h: Likewise.
7967         * cppalloc.c: Likewise.
7968         * cpperror.c: Likewise.
7969         * cppexp.c: Likewise.
7970         * cppfiles.c: Likewise.
7971         * cpphash.c: Likewise.
7972         * cpplib.c: Likewise.
7973         * cppmain.c: Likewise.
7974         * cppulp.c: Likewise.
7975         * demangle.h: Likewise.
7976         * doprint.c: Likewise.
7977         * dyn-string.c: Likewise.
7978         * eh-common.h: Likewise.
7979         * fix-header.c: Likewise.
7980         * frame.c: Likewise.
7981         * gcc.c: Likewise.
7982         * gcov.c: Likewise.
7983         * gen-protos.c: Likewise.
7984         * gencheck.c: Likewise.
7985         * halfpic.h: Likewise.
7986         * hash.c: Likewise.
7987         * machmode.h: Likewise.
7988         * mbchar.c: Likewise.
7989         * prefix.c: Likewise.
7990         * protoize.c: Likewise.
7991         * recog.h: Likewise.
7992         * rtl.h: Likewise.
7993         * scan-decls.c: Likewise.
7994         * tree.h: Likewise.
7995         * varray.h: Likewise.
7996         
7997 Sat Nov  7 11:37:53 1998  Richard Henderson  <rth@cygnus.com>
7998
7999         * i386.md (call_value_pop): If we're not popping anything,
8000         defer to call_value.
8001         (call_pop): Likewise defer to call.
8002
8003 Sat Nov  7 02:49:56 1998  Richard Henderson  <rth@cygnus.com>
8004
8005         * function.c (purge_addressof): Clear purge_addressof_replacements
8006         only after processing the whole function.
8007
8008 Sat Nov  7 00:54:55 1998  Jeffrey A Law  (law@cygnus.com)
8009
8010         * reload1.c (reload): If we can not perform a particular elimination
8011         when we thought we could earlier, then we must always iterate through
8012         the loop at least one more time.
8013
8014 Fri Nov  6 19:37:33 1998  Richard Henderson  <rth@cygnus.com>
8015
8016         * alpha.c (add_operand): Simplify the CONST_INT match.
8017         (sext_add_operand): Correct typo in comparison by using
8018         CONST_OK_FOR_LETTER_P.
8019         * alpha.md (s?addq): Use sext_add_operand to allow the negative
8020         constant alternatives to be generated.
8021         (mulsi3, muldi3, umuldi3_highpart): Loosen constraints to allow
8022         small constants, since the hw instructions do.
8023
8024 Fri Nov  6 20:15:19 1998  Bernd Schmidt <crux@pool.informatik.rwth-aachen.de>
8025
8026         * reload1.c (emit_reload_insns):  When rewriting the SET_DEST of a
8027         previous insn to store directly into our reload register, make sure
8028         that if the source of the previous insn is a reload register, its
8029         spill_reg_store and spill_reg_stored_to values are cleared.
8030
8031 Fri Nov  6 16:35:10 1998  David Edelsohn  <edelsohn@gnu.org>
8032
8033         * rs6000.md (floatunssidf2_internal splitter): Use base register
8034         operand, not hard-coded SP.
8035
8036 Fri Nov  6 04:07:53 1998  David S. Miller  <davem@pierdol.cobaltmicro.com>
8037
8038         * jump.c (calculate_can_reach_end): Fix thinko.
8039
8040 Fri Nov  6 00:16:04 1998  Jeffrey A Law  (law@cygnus.com)
8041
8042         * reorg.c (fill_simple_delay_slots): Fix typo.
8043
8044         * romp.h (LEGITIMIZE_ADDRESS): Fix typo.
8045
8046 Fri Nov  6 00:10:00 1998  Jan Hubicka (hubicka@freesoft.cz)
8047
8048         * i386.md (extendsidi2): Use # in the output template.
8049         (extendsidi splitters): New splitters.
8050
8051 Thu Nov  5 11:13:27 1998  Nick Clifton  <nickc@cygnus.com>
8052
8053         * configure.in: Use unknown-elf.h as tm_file for arm-elf
8054         configuarions.
8055         * configure: Regenerate.
8056
8057 Thu Nov  5 07:59:05 1998  David S. Miller  <davem@pierdol.cobaltmicro.com>
8058
8059         * jump.c (init_label_info, delete_barrier_successors,
8060         mark_all_labels, delete_unreferenced_labels,
8061         delete_noop_moves, calculate_can_reach_end): New functions broken
8062         out of jump_optimize.
8063         (jump_optimize): Use them.
8064
8065 Thu Nov  5 07:57:45 EST 1998  Andrew MacLeod  <amacleod@cygnus.com>
8066
8067         * except.c (expand_fixup_region_end): Make sure outer context labels
8068         are not issued in an inner context during cleanups.
8069
8070 Thu Nov  5 04:03:06 1998  Richard Henderson  <rth@cygnus.com>
8071
8072         * alpha.md (addsi3, subsi3): No new temporaries once cse is
8073         no longer expected.
8074
8075 Thu Nov  5 03:29:19 1998  Richard Henderson  <rth@cygnus.com>
8076
8077         * alpha.md (addsi3, subsi3): Expand to a DImode temporary so as
8078         to expose this midpoint to CSE.
8079
8080 Thu Nov  5 03:42:54 1998  David S. Miller  <davem@pierdol.cobaltmicro.com>
8081
8082         * config/sparc/sparc.md (movdf_const_intreg_sp64): Enable again.
8083
8084 Thu Nov  5 10:53:01 1998  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
8085
8086         * configure.in: Bring over gcc2 change of Nov 19 1997.
8087
8088 Wed Nov  4 23:43:08 1998  Graham  <grahams@rcp.co.uk>
8089
8090         * toplev.c (output_lang_identify): Make definition dependent on
8091         ASM_IDENTIFY_LANGUAGE.
8092
8093         * print-rtl.c (spaces): Make static.
8094
8095 Wed Nov  4 22:16:36 1998  Hans-Peter Nilsson  <hp@axis.se>
8096
8097         * extend.texi: Clarify proper uses for register clobbers in asms.
8098
8099 Wed Nov  4 22:16:36 1998  Bernd Schmidt <crux@pool.informatik.rwth-aachen.de>
8100
8101         * recog.h (enum op_type): Define.
8102         (constrain_operands): Adjust prototype.
8103         (recog_op_type): Declare new variable.
8104         * recog.c (recog_op_type): New variable.
8105         (insn_invalid_p): Allow modifying an asm statement after reload.
8106         (extract_insn): Set up recog_op_type.
8107         (constrain_operands): Lose INSN_CODE_NUM arg.  All callers changed.
8108         Don't compute operand types, use recog_op_type.
8109         Use the information computed by extract_insn instead of the previous
8110         method of finding it by insn code number.
8111         * caller-save.c (init_caller_save): Use extract_insn, not insn_extract.
8112         * reorg.c (fill_slots_from_thread): Likewise.
8113         * reload1.c (reload_as_needed): Likewise.
8114         (gen_reload): Likewise.
8115         (inc_for_reload): Likewise.
8116         (reload_cse_simplify_operands): Likewise.
8117         Use the information computed by extract_insn instead of the previous
8118         method of finding it by insn code number.
8119         * genattrtab.c (write_attr_case): Generate call to extract_insn, not
8120         insn_extract.
8121         * final.c (final_scan_insn): Use extract_insn, not insn_extract.
8122         (cleanup_operand_subregs): Use extract_insn, not insn_extract.
8123         Use the information computed by extract_insn instead of the previous
8124         method of finding it by insn code number.
8125         * regmove.c (find_matches): Likewise.  Change meaning of the return
8126         value to be nonzero if the optimization can be performed, zero if
8127         not.  All callers changed.
8128         Shorten some variable names to fix formatting problems.
8129         (regmove_optimize): Shorten some variable names to fix formatting
8130         problems.
8131         Use the information computed by extract_insn instead of the previous
8132         method of finding it by insn code number.
8133         * regclass.c (scan_one_insn): Likewise.
8134         (record_reg_classes): Don't compute operand types, use recog_op_type.
8135         * reload.c (find_reloads): Lose CONSTRAINTS1 variable; use
8136         recog_constraints instead.
8137
8138 Wed Nov  4 21:37:46 1998  Jeffrey A Law  (law@cygnus.com)
8139
8140         * rtl.h (flow2_completed): Declare.
8141         * flow.c (flow2_completed): Definition.
8142         * toplev.c (rest_of_compilation): Set and clear flow2_completed
8143         as necessary.
8144
8145 Wed Nov  4 19:15:37 1998  "Melissa O'Neill" <oneill@cs.sfu.ca>
8146
8147         * Makefile.in (libcpp.a): Ranlib libcpp.a
8148
8149         * cppulp.c (user_label_prefix): Initialize.
8150         
8151 Wed Nov  4 19:07:08 1998   John Wehle  (john@feith.com)
8152
8153         * flow.c (mark_regs_live_at_end): Mark the stack pointer as live
8154         at a RETURN if current_function_sp_is_unchanging is set.
8155
8156 Wed Nov  4 18:16:29 1998 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl> 
8157
8158         * emit-rtl.c (try_split): Fixed error in Oct 10 patch.
8159
8160 Wed Nov  4 15:11:15 1998  Geoffrey Noer  <noer@cygnus.com>
8161
8162         * i386/cygwin32.h (MASK_WIN32, MASK_CYGWIN, MASK_WINDOWS, MASK_DLL,
8163         TARGET_WIN32, TARGET_CYGWIN, TARGET_WINDOWS, TARGET_DLL): New.
8164         (SUBTARGET_SWITCHES): Add -mno-cygwin, -mcygwin, and -mdll options.
8165         (CPP_PREDEFINES): Don't define __CYGWIN32__ here.
8166         (STARTFILE_SPEC): Handle -mdll, -mno-cygwin options.
8167         (CPP_SPEC): Handle -mno-cygwin option.  Define __CYWIN__ in addition
8168         to __CYGWIN32__.
8169         (LIB_SPEC): Handle -mno-cyginw option.
8170         (LINK_SPEC): Handle -mdll.
8171
8172 Wed Nov  4 22:56:14 1998  J"orn Rennecke <amylaar@cygnus.co.uk>
8173
8174         * reload.c (find_reloads): Fix test for usage by other reload
8175         to handle secondary reloads properly.
8176
8177 Wed Nov  4 17:25:10 1998  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
8178
8179         * reload1.c (ELIMINABLE_REGS, NUM_ELIMINABLE_REGS): Introduce an
8180         intermediate structure which has exactly the members provided by
8181         ELIMINABLE_REGS.  Define NUM_ELIMINABLE_REGS in terms of the
8182         static intermediate structure.
8183         
8184         (init_elim_table): Xmalloc() `reg_eliminate', and initialize it
8185         from the intermediate structure.  Do the same analogous fix in
8186         the case where ELIMINABLE_REGS is not defined.
8187
8188 Tue Nov  3 20:50:03 1998  Jeffrey A Law  (law@cygnus.com)
8189
8190         * pa.h (SELECT_SECTION): Fix thinko.
8191
8192 Tue Nov  3 17:51:36 1998  Jim Wilson  <wilson@cygnus.com>
8193
8194         * dwarf2out.c (output_call_frame_info): Comments on last change.
8195
8196 Tue Nov  3 07:51:43 1998  Richard Earnshaw (rearnsha@arm.com)
8197
8198         * arm.c (add_constant): When taking the address of an item in the
8199         pool, get the mode of the item addressed.
8200
8201         * arm.c (final_prescan_insn case INSN): If an insn doesn't 
8202         contain a SET or a PARALLEL, don't consider it for conditional
8203         execution.
8204
8205         Restore ABI compatibility for NetBSD.
8206         * arm/netbsd.h (DEFAULT_PCC_STRUCT_RETURN): Override setting in
8207         arm.h
8208         (RETURN_IN_MEMORY): Likewise.
8209
8210 Mon Nov  2 11:46:17 1998  Doug Evans  <devans@canuck.cygnus.com>
8211
8212         * m32r/m32r.c (m32r_expand_block_move): Fix byte count computations.
8213         (m32r_output_block_move): Rewrite bytes < 4 handling.
8214
8215 Mon Nov  2 10:10:35 1998  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
8216
8217         * configure.in: Call AC_FUNC_VFORK.
8218
8219         * collect2.c: Define VFORK_STRING as a printable string for
8220         error messages (either "vfork" or "fork".)  If HAVE_VFORK_H is
8221         defined, include vfork.h.  If VMS is defined, define vfork()
8222         appropriately.  Remove vfork check on USG, we're using autoconf.
8223         (collect_execute): Pass VFORK_STRING to fatal_perror instead of
8224         checking locally what string to pass.
8225         (scan_prog_file): Likewise.
8226         (scan_libraries): Likewise.
8227
8228         * gcc.c: Remove vfork check on USG, we're using autoconf.
8229         Besides, no calls to vfork/fork occur in this file.
8230
8231         * protoize.c: Likewise.
8232
8233 Mon Nov  2 07:52:28 1998  Alexandre Oliva  <oliva@dcc.unicamp.br>
8234
8235         * configure.in (DEFAULT_LINKER): renamed from LD
8236         (DEFAULT_ASSEMBLER): renamed from AS; reverted Schwab's patch
8237         (gcc_cv_as): try $DEFAULT_ASSEMBLER before $AS
8238         * configure: rebuilt
8239
8240 Mon Nov  2 01:48:10 1998  Alexandre Oliva  <oliva@dcc.unicamp.br>
8241
8242         * BUGS: fix the regexp for `more' to find the appropriate node.
8243         Reported by Joerg Pietschmann  <joerg_pietschmann@zkb.ch>
8244
8245         * BUGS: added link to the WWW FAQ
8246
8247 Sun Nov 1 18:27:15 PST 1998 Jeff Law  (law@cygnus.com)
8248
8249         * version.c: Bump for snapshot.
8250
8251 Sun Nov  1 11:04:32 1998  Jeffrey A Law  (law@cygnus.com)
8252
8253         * From Christian Gafton:
8254         * i386/linux.h (CPP_PREDEFINES): Add -D__i386__.
8255         * sparc/linux.h (CPP_PREDEFINES): Add -D__sparc__.
8256         * sparc/linux64.h (CPP_PREDEFINES): Add -D__sparc__.
8257
8258 Sat Oct 31 21:42:39 1998  Mark Mitchell  <mark@markmitchell.com>
8259
8260         * c-common.c (c_get_alias_set): Allow all type-punning through
8261         unions.  Don't get confused about the type of a bit-field, despite
8262         the antics of build_modify_expr.
8263
8264 Sat Oct 31 22:35:29 1998  Jean-Pierre Radley <jpr@jpr.com>
8265
8266         * fixinc.sco: Paramaterize #include_next values.
8267         * fixinc/fixinc.sco: Likewise.
8268
8269 Sat Oct 31 20:39:35 1998  Jeffrey A Law  (law@cygnus.com)
8270
8271         * toplev.c (rest_of_compilation): No longer set reload_completed.
8272         * reload1.c (reload): Set it here.  Perform instruction splitting
8273         after reload has completed if we will be running the scheduler
8274         again.
8275
8276 Sat Oct 31 12:30:02 1998  Jeffrey A Law  (law@cygnus.com)
8277
8278         * jump.c (jump_optimize): Initialize mappings from INSN_UID to
8279         EH region if exceptions are enabled and we're performing cross
8280         jump optimizations.
8281         (find_cross_jump): Exit loop if the insns are in different EH regions.
8282
8283 Sat Oct 31 10:02:48 1998  Mark Mitchell  <mark@markmitchell.com>
8284
8285         * dwarf2out.c (output_call_frame_info): Use
8286         ASM_OUTPUT_DWARF_DELTA4 for the CIE offset to match frame.c.
8287
8288 Sat Oct 31 10:23:14 1998  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
8289
8290         Reinstall Apr 24th fix, lost during May 6th gcc2 merge:
8291         * c-common.c (check_format_info): Don't check for the 'x'
8292         format character twice, instead check for 'x' and 'X'
8293
8294 Fri Oct 30 14:50:25 1998  Jeffrey A Law  (law@cygnus.com)
8295
8296         * configure.in (assembler features): Also make gas is configured if
8297         we find it in the souce tree.
8298
8299 Fri Oct 30 13:23:20 1998  Richard Henderson  <rth@cygnus.com>
8300
8301         * i386.c (i386_comp_type_attributes): Compare whether the 
8302         attributes are defined, not their tree nodes.
8303
8304 Fri Oct 30 11:39:47 1998  Alexandre Oliva  <oliva@dcc.unicamp.br>
8305
8306         * configure.in (gxx_include_dir): bitten by autoconf quoting
8307         characters :-(
8308         * configure: rebuilt
8309
8310 Fri Oct 30 10:43:29 1998  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
8311
8312         * configure.in: Ignore non-absolute value in $AS.
8313
8314 Fri Oct 30 00:54:25 1998  Peter Jakubek <pjak@snafu.de>
8315
8316         * m68k.h (INDIRECTABLE_1_ADDRESS_P): Fix thinko.
8317
8318 Fri Oct 30 00:42:34 1998  Mark Elbrecht <snowball3@usa.net>
8319
8320         * configure.in (msdosdjgpp): Set exeext and target_alias.
8321
8322 Thu Oct 29 23:55:43 1998  Bernd Schmidt <crux@pool.informatik.rwth-aachen.de>
8323
8324         * flow.c (XNMALLOC): New macro.
8325         (flow_int_list_blocks, basic_block_succ, basic_block_pred): New
8326         static variables.
8327         (add_edge, add_edge_to_label): New static functions.
8328         (free_bb_memory): New function.
8329         (flow_delete_insn): Delete function.
8330         (basic_block_drops_in): Delete variable.
8331         (find_basic_blocks): Allocate and initialize basic_block_head,
8332         basic_block_succ.  Don't allocate basic_block_drops_in.
8333         Call free_bb_memory at the beginning.
8334         (find_basic_blocks_1): Don't do multiple passes.
8335         Delete code to compute basic_block_drops_in.
8336         After calling make_edges, mark blocks reached by current block live.
8337         Update test for unreachable live blocks.
8338         (mark_label_ref): Delete args X, CHECKDUP.  Add PRED arg.  All callers
8339         changed.
8340         Simplify to call add_edge_to_label when a LABEL_REF is found.
8341         (make_edges): Simplify to call add_edge_to_label instead of
8342         mark_label_ref most of the time.
8343         Compute here whether control drops into the next block.
8344         (delete_unreachable_blocks): Return void.  All callers changed.
8345         Delete unreachable blocks in reverse order.
8346         After deleting all unreachable blocks, renumber the remaining ones
8347         and update n_basic_blocks.
8348         (delete_block): Speed up deletion a bit.
8349         Don't set basic_block_drops_in for deleted blocks.
8350         (free_basic_block_vars): Don't free basic_block_drops_in.
8351         (life_analysis_1): Update to use new edge representation.
8352         (dump_flow_info): Delete code to print basic block info; call
8353         dump_bb_data instead.
8354         (compute_preds_succs): Delete code to recompute basic_block_drops_in
8355         and uid_block_number.
8356         Simply copy the previously computed cfg.
8357         (dump_bb_data): New arg LIVE_INFO.  All callers changed.
8358         Print register lifetime information if LIVE_INFO is nonzero.
8359         * basic-block.h (dump_bb_data): Adjust prototype.
8360         * gcse.c (gcse_main): Update call to dump_bb_data.
8361         * rtl.h (free_bb_memory): Declare.
8362         * toplev.c (rest_of_compilation): Call free_bb_memory.
8363
8364         * reload1.c (struct elim_table): Delete MAX_OFFSET member.
8365         (update_eliminable_offsets): Don't compute it.
8366         (set_initial_elim_offsets): Don't initialize it.
8367         Break out some code into set_initial_label_offsets so the rest of
8368         this function can be called from reload_as_needed.
8369         Assume that INITIAL_FRAME_POINTER_OFFSET is defeined when
8370         ELIMINABLE_REGS isn't.
8371         (set_initial_label_offsets): New function, broken out of
8372         set_initial_elim_offsets.
8373         (set_offsets_for_label): New function, broken out of set_label_offsets
8374         and reload_as_needed.
8375         (reload): Call the two new functions.
8376         (reload_as_needed): Call set_initial_elim_offsets instead of
8377         duplicating the code.  Likewise for set_offsets_for_label.
8378
8379         * reload1.c (choose_reload_regs): Fix typo in Oct 17 change.
8380         (emit_reload_insns): Ensure that when we set reg_reloaded_valid for
8381         any hard reg, reg_reloaded_dead contains valid data.
8382
8383 Thu Oct 29 22:30:54 1998  Marcus Meissner <Marcus.Meissner@informatik.uni-erlangen.de>
8384
8385         * i386.c (i386_comp_type_attributes): Return nonzero for mismatched
8386         "stdcall" and "cdecl" attributes.
8387
8388 Thu Oct 29 19:05:17 1998  Jim Wilson  <wilson@cygnus.com>
8389
8390         * sched.c (update_flow_info): Add code to ! found_orig_dest case to
8391         handle deleted no-op moves of hard registers.
8392         * haifa-sched.c (update_flow_info): Likewise.
8393
8394 Thu Oct 29 18:07:47 1998  Jeffrey A Law  (law@cygnus.com)
8395
8396         * mips.md (reload_{in,out}{si,di}): Emit a USE of HILO at the end
8397         of the sequences to reload the HILO register which do not actually
8398         reference HILO.
8399
8400 Thu Oct 29 12:39:35 1998  Jim Wilson  <wilson@cygnus.com>
8401
8402         * c-common.c (c_get_alias_set): Handle ARRAY_REF of union field.
8403
8404 Thu Oct 29 14:10:22 EST 1998  Andrew MacLeod  <amacleod@cygnus.com>
8405
8406         * except.c (emit_eh_context): Make the EH context register stay alive
8407         at -O0 so stupid.c doesn't get confused.
8408
8409 1998-10-29 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
8410
8411         * emit-rtl.c (try_split): Do not try to split a BARRIER.
8412
8413 Thu Oct 29 01:33:54 1998  Jan Hubicka <hubicka@freesoft.cz>
8414                           Jeffrey A Law  (law@cygnus.com)
8415
8416         * i386.md: Change ix86_cpu == PROCESSOR_PENTIUM to TARGET_PENTIUM
8417         (zero_extendsidi2): Use # in output template and handle completely by
8418         splits.
8419         (zero_extend splitters): New define_splits.
8420         (ashiftrt_32): New pattern.
8421
8422 Wed Oct 28 22:58:35 1998  Jason Merrill  <jason@yorick.cygnus.com>
8423
8424         * tree.c (append_random_chars): New fn.
8425         (get_file_function_name_long): Use it.
8426
8427 Wed Oct 28 22:27:05 1998  Richard Henderson  <rth@cygnus.com>
8428
8429         * Makefile.in (cc1): Put C_OBJS, and thence @extra_c_objs@ last.
8430         (LIBCPP_OBJS): New.  Add cppulp.o.
8431         (cppmain, fix-header): Depend on and use libcpp.a.
8432         * configure.in (extra_c_objs, extra_cxx_objs): Use libcpp.a instead
8433         of the individual object files.
8434         * objc/Make-lang.in (cc1obj): Put OBJC_OBJS, and thence @extra_c_objs@,
8435         last.
8436
8437         * cccp.c (user_label_prefix): New.
8438         (main): Set it off -f*leading-underscore.
8439         (special_symbol): Use it.
8440         * cpplib.c (special_symbol): Likewise.
8441         (cpp_handle_option): Handle -f*leading-underscore.
8442         * cppulp.c: New file.
8443
8444         * output.h (user_label_prefix): Declare it.
8445         * dwarf2out.c (ASM_NAME_TO_STRING): Prepend user_label_prefix.
8446         * toplev.c (f_options, main): Handle -f*leading-underscore.
8447
8448         * defaults.h (ASM_OUTPUT_LABELREF): Use asm_fprintf instead of
8449         referencing USER_LABEL_PREFIX directly.
8450         * config/nextstep.h (ASM_OUTPUT_LABELREF): Likewise.
8451         * m32r/m32r.h (ASM_OUTPUT_LABELREF): Likewise.
8452         * final.c (asm_fprintf): Use user_label_prefix instead.
8453         * arm/thumb.c (thumb_print_operand): Likewise.
8454
8455         * gcc.c (default_compilers): Pass -f*leading-underscore on to
8456         cpp wherever appropriate.
8457
8458 Wed Oct 28 23:09:25 1998  Robert Lipe  <robertl@dgii.com>
8459
8460         * sco5.h (SUBTARGET_SWITCHES): Add documentation for OpenServer-
8461         specific compiler switches.
8462
8463 Wed Oct 28 21:05:53 1998  Jeffrey A Law  (law@cygnus.com)
8464
8465         * Makefile.in (c-common.o): Depend on c-pragma.h.  Use $(RTL_H) instead
8466         of rtl.h.
8467
8468 Wed Oct 28 20:52:47 1998  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
8469
8470         * gcc.c (EXTRA_SPECS, extra_specs): Introduce an intermediate
8471         structure which has exactly the members provided by EXTRA_SPECS.
8472         Xmalloc() the real `extra_specs', and initialize it from this
8473         intermediate structure.
8474
8475         * alpha.h (EXTRA_SPECS): Revert change for missing initializers.
8476
8477         * mips.h  (EXTRA_SPECS): Likewise.
8478
8479         * sparc.h (EXTRA_SPECS): Likewise.
8480
8481 Wed Oct 28 16:46:07 1998  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
8482     
8483         * function.c (purge_addressof_1): Instead of aborting when a
8484         bitfield insertion as a replacement for (MEM (ADDRESSOF)) does not
8485         work just put the ADDRESSOF on stack.  Otherwise remember all such
8486         successfull replacements, so that exactly the same replacements
8487         can be made on the REG_NOTEs.  Remove the special case for CALL
8488         insns again.
8489         (purge_addressof_replacements): New variable.
8490         (purge_addressof): Clear it at end.
8491
8492 1998-10-28 16:10 -0500  Zack Weinberg  <zack@rabi.phys.columbia.edu>
8493
8494          * c-lang.c: Declare extern char *yy_cur if USE_CPPLIB.
8495            (lang_init): Call check_newline always.
8496          * c-lex.c (init_parse) [USE_CPPLIB=1]: After calling
8497            cpp_start_read, set yy_cur and yy_lim to read from
8498            parse_in.token_buffer, so that we'll see the first #line
8499            directive.
8500          * cpplib.c (cpp_start_read): finclude the main input file
8501            before processing -include/-imacros.  Process -imacros and
8502            -include separately, and handle -include by stacking a
8503            buffer for the file in question as if it'd been #included.
8504          * toplev.c (documented_lang_options) Recognize -H when
8505            USE_CPPLIB is on.
8506
8507 1998-10-28 16:09 -0500  Zack Weinberg  <zack@rabi.phys.columbia.edu>
8508
8509          * cpplib.c: Merge do_once into do_pragma.  Break file handling
8510            code out of do_include.
8511            Move append_include_chain, deps_output,
8512            file_cleanup, redundant_include_p, import_hash,
8513            lookup_import, add_import, read_filename_string, read_name_map,
8514            open_include_file, finclude, safe_read to cppfiles.c.
8515            Move prototypes for deps_output, append_include_chain,
8516            finclude to cpplib.h.  Move definition of struct
8517            file_name_list there also.
8518
8519          * cppfiles.c: New file.  Contains all the above functions
8520            broken out of cpplib.c; also hack_vms_include_specification
8521            from cccp.c and find_include_file, a new function broken out of
8522            do_include.
8523
8524          * Makefile.in (cppmain): Depend on cppfiles.o.
8525            (fix-header): Likewise.
8526            (cppfiles.o): New target.
8527          * configure.in (--enable-c-cpplib): Add cppfiles.o to
8528            extra_c_objs.  Add ../cppfiles.o to extra_cxx_objs.
8529
8530 Wed Oct 28 14:06:49 1998  Jim Wilson  <wilson@cygnus.com>
8531
8532         * dwarfout.c (dwarfout_file_scope_decl): If DECL_CONTEXT, don't abort
8533         if pending_types is non-zero.
8534         (dwarfout_finish): Verify pending_types is zero before finishing.
8535
8536 Wed Oct 28 10:29:09 1998  Nick Clifton  <nickc@cygnus.com>
8537
8538         * expr.c (convert_move): Use shifts to perform the move if a
8539         suitable extend pattern cannot be found.  Code written by
8540         Richard Henderson <rth@cygnus.com>.
8541
8542 Wed Oct 28 03:59:29 1998  Bernd Schmidt <crux@pool.informatik.rwth-aachen.de>
8543
8544         * regclass.c (renumber, regno_allocated): New static variables, moved
8545         out of allocate_reg_info.
8546         (allocate_reg_info): Move these two variables outside the function.
8547         Move code to free memory into new function free_reg_info.
8548         (free_reg_info): New function, broken out of allocate_reg_info.
8549         * toplev.c (compile_file): Call free_reg_info, not allocate_reg_info.
8550         * rtl.h (allocate_reg_info): Don't declare.
8551         (free_reg_info): Declare.
8552
8553         * final.c (cleanup_subreg_operands):  ASM_INPUTs need no treatment.
8554
8555 Wed Oct 28 02:38:12 1998  Jason Merrill  <jason@yorick.cygnus.com>
8556
8557         * toplev.c (compile_file): Temporarily revert last change.
8558
8559 Wed Oct 28 00:00:35 1998  Jason Merrill  <jason@yorick.cygnus.com>
8560
8561         * c-typeck.c (convert_for_assignment): Parenthesize.
8562
8563 1998-10-28  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
8564
8565         * reload1.c (delete_output_reload): Avoid ambigous else.
8566
8567 Wed Oct 28 00:10:35 1998  Jeffrey A Law  (law@cygnus.com)
8568
8569         * toplev.c (compile_file): Call allocate_reg_info to free register
8570         table memory.
8571         * rtl.h (allocate_reg_info): Declare.
8572
8573         * PROJECTS: Remove entry for local spilling.
8574
8575         * final.c (cleanup_subreg_operands): New function.
8576         (final_scan_insn): Use it.
8577         (alter_subreg): Clear the "used" field when we turn a SUBREG into
8578         a REG.
8579         * reload1.c (reload): Delete CLOBBER insns and also cleanup SUBREG
8580         operands when reload has finished.
8581         * reload.h (cleanup_subreg_operands): Declare..
8582         * flow.c (life_analysis_1): No longer delete CLOBBER insns after
8583         reload.  Handled in reload itself.
8584
8585 Tue Oct 27 23:32:34 1998  Bernd Schmidt <crux@pool.informatik.rwth-aachen.de>
8586
8587         * reload1.c (verify_initial_offsets): New function.
8588         (reload): Call it after reload_as_needed.  Also verify that the frame
8589         size stays constant during reload_as_needed.
8590         * i386.h (CONST_DOUBLE_OK_FOR_LETTER_P): Undo Jul 26 change.
8591
8592         * reload.h (struct insn_chain): Add need_operand_change element.
8593         * reload1.c (new_insn_chain): Clear it.
8594         (calculate_needs_all_insns): Set it; don't overload need_reload.
8595         (reload_as_needed): Use it.
8596
8597         * reload.c (find_reloads_address): Use BASE_REG_CLASS instead of
8598         reload_address_base_reg_class throughout.  Similar for INDEX_REG_CLASS
8599         and reload_address_index_reg_class.
8600         (find_reloads_address_1): Likewise.
8601         * reload.h (reload_address_base_reg_class,
8602         reload_address_index_reg_class): Don't declare.
8603         * reload1.c (reg_old_renumber, pseudo_previous_regs,
8604         pseudo_forbidden_regs, bad_spill_regs_global): New static variables.
8605         (used_spill_regs): Now static.
8606         (reload_address_base_reg_class, reload_address_index_reg_class,
8607         regs_explicitly_used, counted_for_groups, counted_for_nongroups,
8608         basic_block_needs, max_needs, group_size, group_mode, max_groups,
8609         max_nongroups, max_needs_insn, max_groups_insn, max_nongroups_insn,
8610         forbidden_regs):
8611         Deleted variables.
8612         (init_reload): Delete code to compute base/index reg classes.
8613         (reload): Delete variable J.
8614         Delete code to manage basic_block_needs.
8615         Don't compute regs_explicitly_used.
8616         Allocate, initialize and free reg_old_renumber, pseudo_forbidden_regs,
8617         pseudo_previous_regs.
8618         Initialize bad_spill_regs_global.
8619         Don't call order_regs_for_reload here.
8620         Don't initialize spill_reg_order and n_spills.
8621         Don't forbid explicitly used regs to be used for spill regs.
8622         Change main loop to infinite loop, with explicit break statements.
8623         Make SOMETHING_CHANGED variable local to that loop.
8624         Don't initialize max_needs, max_groups, max_nongroups, max_needs_insn,
8625         max_groups_insn, max_nongroups_insn, group_size, group_mode.
8626         Make sure spilled_speudos is cleared before calling spill_hard_reg or
8627         new_spill_reg.
8628         Don't call dump_needs.
8629         Delete code to reset potential_reload_regs.
8630         Delete code to terminate loop conditional on the global needs variables
8631         showing no further needs.
8632         (calculate_needs_all_insns): Return void.  All callers changed.
8633         Initialize somehing_needs_elimination here, not in reload.
8634         Delete avoid_return_reg kludge.
8635         (calculate_needs): Lose AVOID_RETURN_REG and GLOBAL args, return void.
8636         All callers changed.
8637         Initialize the group_mode and group_size elements of the arg CHAIN.
8638         Delete code to manage basic_block_needs.
8639         Operate on elements of CHAIN instead of global variables.
8640         Delete avoid_return_reg kludge.
8641         (find_tworeg_group): Lose GLOBAL arg, take CHAIN arg, return void.
8642         All callers changed.
8643         Operate on elements of CHAIN instead of global variables.
8644         Delete special SMALL_REGISTER_CLASSES code.
8645         Delete spill_failure code; now in new_spill_reg.
8646         (find_group): Lose GLOBAL arg, take CHAIN arg, return void.
8647         All callers changed.
8648         Operate on elements of CHAIN instead of global variables.
8649         (maybe_mark_pseudo_spilled): New static function.
8650         (find_reload_regs): Lose GLOBAL arg, take CHAIN arg, return void.
8651         All callers changed.
8652         Operate on elements of CHAIN instead of global variables.
8653         Call order_regs_for_reload here, not in reload.
8654         Initialize spill_reg_order and n_spills.
8655         Simplify test whether an asm insn is involved.
8656         Delete spill_failure code; now in new_spill_reg.
8657         Call maybe_mark_pseudo_spilled for everything marked as live in
8658         CHAIN.  Merge CHAIN's used_spill_regs into the global variable
8659         used_spill_regs.
8660         (dump_needs): Take CHAIN arg.  No longer static, to prevent the
8661         compiler from optimizing this function (now unused) away.
8662         Operate on elements of CHAIN instead of global variables.
8663         (possible_group_p): Lose MAX_GROUPS arg, take CHAIN arg.  All callers
8664         changed.
8665         Operate on elements of CHAIN instead of global variables.
8666         (count_possible_groups): Lose GROUP_SIZE, GROUP_MODE, MAX_GROUPS args,
8667         take CHAIN arg.  All callers changed.
8668         Operate on elements of CHAIN instead of global variables.
8669         (new_spill_reg): Lose MAX_NEEDS, MAX_NONGROUPS, GLOBAL args, take
8670         CHAIN, NONGROUP args.  Return void.  All callers changed.
8671         Verify caller isn't trying to spill a pseudo.
8672         Simplify test for illegal reg, just use bad_spill_regs.
8673         Generate better error messages.
8674         Operate on elements of CHAIN instead of global variables.
8675         Mark spilled register in CHAIN's used_spill_regs element.
8676         Don't call spill_hard_reg.
8677         (spill_hard_reg): Lose GLOBAL arg, return void.  All callers changed.
8678         Mark spilled hard regs in bad_spill_regs_global.
8679         Mark affected pseudos in spilled_pseudos, but don't spill them.
8680         (ior_hard_reg_set): New static function.
8681         (finish_spills): Return int.  All callers changed.
8682         Compute spill_reg_order, n_spills and spill_regs here.  Also update
8683         regs_ever_live for regs used as spills.
8684         For every pseudo in spilled_pseudos, spill it and mark the previous
8685         hard reg it had in pseudo_previous_regs.  Compute which hard regs
8686         arseudo): New static function.
8687         (order_regs_for_reload): Take CHAIN arg.  All callers changed.
8688         Initialize bad_spill_regs from bad_spill_regs_global, then merge any
8689         hard registers explicitly used across the current insn into the set.
8690         Compute hard_reg_n_uses taking only pseudos live across this insn
8691         into account.
8692         Tweak sorting of potential_reload_regs.
8693         (compare_spill_regs): Delete function.
8694         (reload_as_needed): Don't sort the spill_regs array, it's computed
8695         in proper order in finish_spills.
8696         Delete avoid_return_reg kludge.
8697         Delete code to manage basic_block_needs.
8698         (allocate_reload_reg): Minor speed/readability tweaks.
8699         Operate on elements of CHAIN instead of global variables.
8700         (choose_reload_regs): Lose AVOID_RETURN_REG arg.  All callers changed.
8701         Delete avoid_return_reg kludge.
8702         Initialize reload_reg_used from CHAIN's used_spill_regs element.
8703         Delete unused label FAIL.
8704         (reload_combine): Replce reload_address_index_reg_class with
8705         INDEX_REGS.
8706         Don't use used_spill_regs to determine information about lifetime of
8707         hard regs.
8708
8709 Tue Oct 27 13:15:02 1998  Nick Clifton  <nickc@cygnus.com>
8710         
8711         * toplev.c (display_help): Ignore empty target specific
8712         options, and if -W is also specified on the command line then
8713         display undocumented options.
8714
8715         * config/arm/arm.c: Updated with changes in devo sources.
8716         * config/arm/arm.h: Updated with changes in devo sources.
8717         * config/arm/lib1funcs.asm: Updated with changes in devo sources.
8718         * config/arm/lib1thumb.asm: Add ELF support.
8719
8720 Tue Oct 27 16:11:43 1998  David Edelsohn  <edelsohn@gnu.org>
8721
8722         * collect2.c (aix64_flag): New variable.
8723         (main, case 'b'): Parse it.
8724         (GCC_CHECK_HDR): object magic number must match mode.
8725         (scan_prog_file): Only check for shared object if valid header.
8726         Print debugging if header/mode mismatch.
8727
8728 Tue Oct 27 10:15:02 1998  Nick Clifton  <nickc@cygnus.com>
8729
8730         Added support for arm-elf-linux configuration, submitted by Philip
8731         Blundell <pb@nexus.co.uk>, and integrated this with the arm-elf
8732         code developed by Catherine Moore <clm@cygnus.com>.  The following
8733         files are affected: 
8734
8735         * configure.in: Add arm-*-linux-gnu, armv2-*-linux and arm-*-elf
8736         targets. 
8737
8738         * configure: Regenerated.
8739         
8740         * config/arm/aout.h: Add default definitions of REGISTER_PREFIX,
8741         USER_LABEL_PREFIX and LOCAL_LABEL_PREFIX.  Make other macro
8742         definitions conditional on their not having been already defined.
8743
8744         * config/arm/lin1funcs.asm: Add ELF only macros to generate .size
8745         and .type directives, and add "(PLT)" qualification to function
8746         calls.
8747
8748         * config/arm/linux.h: Deleted.  This file is now superceeded by
8749         either linux-elf.h or linux-aout.h.
8750
8751         * config/arm/linux-gas.h: Define `inhibit_libc' if cross-compiling.
8752         (CLEAR_INSN_CACHE): New macro, currently disabled (awaiting kernel
8753         support).
8754         Move definitions from old linux.h file here.
8755         
8756         * config/arm/elf.h: New file.  Generic ARM/ELF support.
8757         
8758         * config/arm/linux-aout.h: New file.  Support for Linux with a.out.
8759         
8760         * config/arm/linux-elf.h: New file.  Support for Linux with ELF.
8761         
8762         * config/arm/linux-elf26.h: New file.  Support for Linux with ELF
8763         using the 26bit APCS.
8764         
8765         * config/arm/unknown-elf.h: New file.  Support for OS'es other
8766         than Linux with ELF.
8767
8768         * config/arm/t-arm-elf: New file.  makefile fragment for arm-elf
8769         builds.
8770         
8771         * config/arm/coff.h: Include aout.h for basic assembler macros.
8772         Add support for -mstructure_size_boundary=<n> command line option.
8773         
8774         * config/arm/arm.h: Add support for -mstructure_size_boundary=<n>
8775         command line option.  Make macro definitions conditional on their
8776         not having been already defined. 
8777
8778         * config/arm/arm.c: Add support for -mstructure_size_boundary=<n>
8779         command line option.
8780
8781         
8782 Tue Oct 27 08:56:46 1998  Andrew MacLeod  <amacleod@cygnus.com>
8783
8784         * dwarfout.c (ASM_OUTPUT_DWARF_STRING_NEWLINE): ASM_OUTPUT_DWARF_STRING
8785         has been changed to not include a newline. Use this macro instead.
8786         (output_enumeral_list, const_value_attribute, name_attribute,
8787         comp_dir_attribute, prototyped_attribute, producer_attribute,
8788         inline_attribute, pure_or_virtual_attribute, output_inheritance_die,
8789         dwarfout_file_scope_decl, generate_new_sfname_entry,
8790         generate_macinfo_entry, dwarfout_init, dwarfout_finish): Use
8791         ASM_OUTPUT_DWARF_STRING_NEWLINE macro.
8792
8793 Mon Oct 26 13:35:02 1998  Richard Henderson  <rth@cygnus.com>
8794
8795         * combine.c (subst): Process the inputs to a parallel asm_operands
8796         only once.
8797
8798 Mon Oct 26 13:32:31 1998  Richard Henderson  <rth@cygnus.com>
8799
8800         * stmt.c (expand_asm_operands): Accept `=' or `+' at any position.
8801
8802 Mon Oct 26 12:53:14 1998  Jeffrey A Law  (law@cygnus.com)
8803
8804         * tm.texi (ASM_OUTPUT_MAX_SKIP_ALIGN): Document.
8805
8806 Mon Oct 26 00:36:58 PST 1998 Jeff Law  (law@cygnus.com)
8807
8808         * version.c: Bump for snapshot.
8809
8810 Sun Oct 25 23:36:52 1998  Jason Merrill  <jason@yorick.cygnus.com>
8811
8812         * stmt.c (expand_fixup): Set fixup->before_jump to a
8813         NOTE_INSN_DELETED instead of a NOTE_INSN_BLOCK_BEG.
8814
8815 Sun Oct 25 15:49:57 1998  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
8816
8817         * Makefile.in (recog.o): Depend on toplev.h.
8818         (insn-emit.o): Depend on recog.h.
8819         (insn-peep.o): Depend on recog.h and insn-config.h.
8820
8821         * combine.c (simplify_set): Remove unused variable `scratches'.
8822
8823         * final.c (final_scan_insn): Wrap declaration of variables `vlen'
8824         and `idx' in macro conditional controlling their use.
8825
8826         * genemit.c (main): Make the generated output file include
8827         recog.h.  Don't have it declare `insn_operand_constraint', since
8828         we get it from recog.h.
8829
8830         * genpeep.c (main): Make the generated output file include
8831         insn-config.h and recog.h.
8832
8833         * recog.c: Include toplev.h.
8834         (extract_insn): Remove unused variable `p'.
8835
8836         * regclass.c (fix_register): Add missing braces around initializer
8837         for `what_option'.
8838         (allocate_reg_info): Move variable `i' into the scope where it is
8839         used.  Change its type to `size_t'.
8840
8841 Sun Oct 25 13:10:15 1998  Bernd Schmidt <crux@pool.informatik.rwth-aachen.de>
8842
8843         * reload.c (push_reload): When merging reloads, make sure
8844         that reload_in_reg and reload_in are from the same reload in
8845         all cases.
8846
8847 Sun Oct 25 12:07:00 1998  Mumit Khan  <khan@xraylith.wisc.edu>
8848
8849         * i386/crtdll.h (CPP_PREDEFINES): Fix typo.
8850         * i386/mingw32.h (CPP_PREDEFINES): Likewise.
8851
8852 Fri Oct 23 23:42:03 1998  David Edelsohn  <edelsohn@gnu.org>
8853
8854         * loop.c (loop_has_tablejump): New variable.
8855         (prescan_loop): Scan for it.
8856         (insert_bct): Replace explicit scan with use of it.
8857         * regclass.c (regclass): Restore loop variable j.
8858         (record_reg_classes): Deterine op_types modifiers and initialize
8859         classes[i] before matching constraints.  Handle matching
8860         constraints 5-9.
8861         
8862 Fri Oct 23 13:55:48 1998  Jim Wilson  <wilson@cygnus.com>
8863
8864         * m32r/m32r.c (gen_split_move_double): Call alter_subreg.  Delete
8865         subreg support.
8866
8867 Fri Oct 23 16:19:24 1998  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
8868
8869         * mips.h (EXTRA_SPECS): Add missing initializers.
8870
8871 Fri Oct 23 16:08:39 1998  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
8872
8873         * sparc.h (EXTRA_SPECS): Add missing initializers.
8874         (sparc_defer_case_vector): Provide a prototype.
8875
8876         * svr4.h (ASM_OUTPUT_ASCII): Cast STRING_LIMIT to (long) when
8877         comparing it to the result of a pointer subtraction.
8878
8879 Fri Oct 23 15:34:14 1998  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
8880
8881         * alpha.c (override_options): Use ISDIGIT(), not isdigit().  Cast
8882         the argument to (unsigned char).
8883
8884         * alpha.h (EXTRA_SPECS): Add missing initializers.
8885         (ASM_GENERATE_INTERNAL_LABEL): Ensure the argument matches the
8886         format specifier.
8887
8888 Fri Oct 23 13:12:35 1998  Jeffrey A Law  (law@cygnus.com)
8889
8890         * flow.c (life_analysis_1): Enable "rescan" code after reload.
8891         (propagate_block): Delete dead code after reload.
8892
8893         * sched.c (update_flow_info): Revert Oct 19, 1998 change.  Brings
8894         back Oct 15, 1998 change.  
8895         * haifa-sched.c (update_flow_info): Likewise.
8896         * flow.c (life_analysis_1): Delete CLOBBER insns after reload.
8897
8898         * mn10200.md (truncated shift): Accept constant inputs too.
8899
8900 Fri Oct 23 04:06:57 1998  Richard Earnshaw (rearnsha@arm.com)
8901
8902         * machmode.h (mode_mask_array): No longer const.
8903         * rtl.c (init_rtl): Fully initialize it if EXTRA_CC_MODES defined.
8904
8905 Fri Oct 23 11:19:06 1998  Martin v. Löwis <loewis@informatik.hu-berlin.de>
8906
8907         * frame.c: Somewhat explain `FDE'.
8908         Suggested by Brendan Kehoe
8909
8910 Fri Oct 23 00:56:11 1998  Jason Merrill  <jason@yorick.cygnus.com>
8911
8912         * expr.c (pending_chain): Move up.
8913         (save_expr_status): Do save pending_chain.
8914         (restore_expr_status): And restore it.
8915         * function.h (struct function): Add pending_chain.
8916
8917 1998-10-23 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
8918
8919         * reorg.c (relax_delay_slots): Fixed test for mostly_true_jump. The
8920         did not match the code.
8921
8922 Fri Oct 23 00:07:01 1998  Bernd Schmidt <crux@pool.informatik.rwth-aachen.de>
8923
8924         * regclass.c (regclass): Break out some code into new function
8925         scan_one_insn, and into regclass_init.
8926         (init_cost): New static variable, moved out of regclass.
8927         (regclass_init): Initialize it here, not in .
8928         (scan_one_insn): New static function, broken out of regclass.
8929         * recog.c (apply_change_group): Break out some code into new
8930         function insn_invalid_p.
8931         (insn_invalid_p): New static fn, broken out of apply_change_group.
8932
8933 Thu Oct 22 22:34:42 1998  Jim Wilson  <wilson@cygnus.com>
8934
8935         * reload1.c (reload_as_needed): When rewrite POST_INC, verify
8936         reg_reloaded_contents matches incremented pseudo.
8937
8938         * v850/v850.c (v850_reorg): Call alter_subreg.  Delete subreg support.
8939
8940 Fri Oct 23 11:11:56 1998  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
8941
8942         * rtl.def (POST_MODIFY, PRE_MODIFY): New generalized operators for
8943         addressing modes with side effects.  These are currently
8944         placeholders for the C4x target.
8945
8946 Thu Oct 22 16:46:35 1998  Bernd Schmidt <crux@pool.informatik.rwth-aachen.de>
8947
8948         * loop.c (express_from): Make sure that when generating a PLUS of
8949         a PLUS, any constant expression appears on the outermost PLUS.
8950
8951 Thu Oct 22 15:46:23 1998  Per Bothner (bothner@cygnus.com)
8952
8953         * Makefile.in (distdir-cvs, distdir-start):  Clean up so it
8954         works if "$(srcdir)" != ".".
8955
8956 Wed Oct 21 19:23:59 1998  Jim Wilson  <wilson@cygnus.com>
8957
8958         * expmed.c (store_bit_field): If need to add a SUBREG, then remove
8959         existing SUBREG if we can, otherwise abort.
8960
8961 Wed Oct 21 09:58:51 1998  Mark Mitchell  <mark@markmitchell.com>
8962
8963         * c-common.c (c_apply_type_quals_to_decl): Don't crash when
8964         `restrict' is applied to a non-pointer variable.
8965
8966 Wed Oct 21 09:18:58 1998  Mark Mitchell  <mark@markmitchell.com>
8967
8968         * invoke.texi: Document -flang-isoc9x.
8969
8970         * Makefile.in (OBJS): Add splay-tree.o.
8971         (c-common.o): Depend on rtl.h.
8972         (splay-tree.o): List dependencies and provide build rule.
8973         
8974         * rtl.h (record_alias_subset): New function.
8975         * alias.c: Include splay-tree.h.
8976         (alias_set_entry): New type.
8977         (CHECK_ALIAS_SETS_FOR_CONSISTENCY): Remove.
8978         (DIFFERENT_ALIAS_SETS_P): Use mem_in_disjoint_alias_sets_p.
8979         (mems_in_disjoin_alias_sets_p): New function.
8980         (alias_set_compare): Likewise.
8981         (insert_subset_children): Likewise.
8982         (get_alias_set_entry): Likewise.
8983
8984         * tree.h (TYPE_RESTRICT): New macro.
8985         (TYPE_UNQUALIFIED): New manifest constant.
8986         (TYPE_QUAL_CONST): Likewise
8987         (TYPE_QUAL_VOLATILE): Likewise.
8988         (TYPE_QUAL_RESTRICT): Likewise.
8989         (tree_type): Add restrict_flag.  Reduce count of free bits.
8990         (DECL_POINTER_ALIAS_SET): New macro.
8991         (DECL_POINTER_ALIAS_SET_KNOWN_P): Likewise.
8992         (tree_decl): Add pointer_alias_set.
8993         (build_qualified_type): New function.
8994         (build_type_variant): Define in terms of build_qualified_type.
8995         * tree.c (set_type_quals): New function.
8996         (make_node): Initializae DECL_POINTER_ALIAS_SET.
8997         (build_type_attribute_variant): Use build_qualified_type and
8998         set_type_quals.
8999         (build_type_variant): Rename, and modify, to become...
9000         (build_qualified_type): New function.
9001         (build_complex_type): Use set_type_quals.
9002
9003         * c-tree.h (C_TYPE_OBJECT_P): New macro.
9004         (C_TYPE_FUNCTION_P): Likewise.
9005         (C_TYPE_INCOMPLETE_P): Likewise.
9006         (C_TYPE_OBJECT_OR_INCOMPLETE_P): Likewise.
9007         (c_apply_type_quals_to_decl): New function.
9008         (c_build_qualified_type): New function.
9009         (c_build_type_variant): Define in terms of c_build_qualified_type.
9010         (flag_isoc9x): Declare.
9011         * c-typeck.c (qualify_type): Use c_build_qualified_type.
9012         (common_type): Change to use TYPE_QUALS.
9013         (comptypes): Likewise.
9014         (convert_for_assignment): Likewise.
9015         * c-aux-info.c (gen_type): Likewise.  Deal with `restrict'.
9016         * c-decl.c (flag_isoc9x): Define.
9017         (c_decode_option): Handle -flang-isoc9x.
9018         (grokdeclarator): Update to handle restrict.  Use TYPE_QUALS,
9019         c_build_qualified_type, etc.  Use c_apply_type_quals_to_decl.
9020         * c-lex.c (init_lex): Deal with restrict.
9021         (init_lex): Don't treat restrict as a reserved word in
9022         -traditional mode, or without -flang-isoc9x.
9023         * c-lex.h (rid): Add RID_RESTRICT.
9024         * c-parse.gperf (restrict, __restrict, __restrict__): Make
9025         equivalent to RID_RESTRICT.
9026         * c-parse.in (TYPE_QUAL): Update comment.
9027         * c-common.c: Include rtl.h.
9028         (c_find_base_decl): New function.
9029         (c_build_type_variant): Rename, and modify, to become ...
9030         (c_build_qualified_type): New function.
9031         (c_apply_type_quals_to_decl): Likewise.
9032         (c_get_alias_set): For INDIRECT_REFs, check to see if we can find
9033         a particular alias set for the reference.
9034         * toplev.c (documented_lang_options): Add -flang-isoc9x.
9035
9036 Wed Oct 21 09:15:06 1998  Nick Clifton  <nickc@cygnus.com>
9037
9038         * config/arm/arm.h (TARGET_SWITCHES): Document arm specific
9039         command line switches.
9040
9041 Tue Oct 20 10:04:51 1998  Graham  <grahams@rcp.co.uk>
9042
9043         * reload.c (loc_mentioned_in_p): Add missing braces to bind
9044         else to correct if.
9045
9046 Mon Oct 19 16:34:05 1998  Tom Tromey  <tromey@cygnus.com>
9047
9048         * gcc.c (option_map): Added --classpath and --CLASSPATH.
9049
9050 Tue Oct 20 10:59:02 1998  Gavin Romig-Koch  <gavin@cygnus.com>
9051
9052         * regclass.c (fix_register): Add error message.
9053         * invoke.texi (-fcall-used-REG,-fcall-saved-REG): Note the
9054           new error message.
9055
9056 Tue Oct 20 10:12:17 1998  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
9057
9058         * c-decl.c (warn_missing_noreturn): New global variable.
9059         (c_decode_option): Check for new flags -W{no-}missing-noreturn.
9060         (finish_function): Implement missing noreturn warning.
9061
9062         * c-tree.h (warn_missing_noreturn): Declare extern.
9063
9064         * invoke.texi: Document new flags.
9065
9066         * toplev.c (documented_lang_options): Add description.
9067
9068 Tue Oct 20 22:16:11 1998  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
9069
9070         * config/c4x/c4x.c (c4x_parallel_process): Disable until BCT
9071         loop optimization stable for the C4x.
9072         (c4x_rptb_info_t, c4x_dump, c4x_rptb_in_range, c4x_rptb_unjumped_loop,
9073         c4x_rptb_find_comp_and_jump, c4x_rptb_loop_info_get,
9074         c4x_rptb_emit_init, c4x_rptb_process): Deleted (superceded by BCT
9075         loop optimization).
9076         (c4x_address_conflict): Be more paranoid when packing a volatile
9077         memref in a parallel load/store.
9078
9079 Tue Oct 20 21:56:05 1998  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
9080
9081         * config/c4x/c4x.md (repeat_block_top, repeat_block_end,
9082         repeat_block_filler): Deleted.
9083         (*ashlqi3_set, *ashrqi3_const_set, *ashrqi3_nonconst_clobber):
9084         Condition code not set if destination register from 'c' class.
9085         (*subbqi3_carry_clobber): Fix typo.
9086
9087 1998-10-18 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
9088
9089         * reorg.c (steal_delay_list_from_target) Check for insns that
9090         modify the condition codes and effect the direction of the jump
9091         in the sequence.
9092
9093 Sat Oct 17 13:09:09 1998  Graham  <grahams@rcp.co.uk>
9094
9095         * function.c (purge_addressof_1): Replace call to
9096         emit_insns_before() with emit_insn_before().
9097
9098 Mon Oct 19 19:34:03 1998  Mike Stump <mrs@wrs.com>
9099
9100         * libgcc2.c (__pure_virtual): Call __terminate instead of _exit.
9101
9102 Mon Oct 19 13:26:24 1998  Bernd Schmidt <crux@pool.informatik.rwth-aachen.de> 
9103
9104         * jump.c (sets_cc0_p): Compile only if HAVE_cc0.
9105
9106 Mon Oct 19 11:40:56 1998  Jeffrey A Law  (law@cygnus.com)
9107
9108         * gcse.c (compute_hash_table): Correctly identify hard regs which are
9109         clobbered across calls.
9110
9111         * loop.c (scan_loop): Be more selective about what invariants are
9112         moved out of a loop.
9113
9114 Mon Oct 19 10:46:58 PDT 1998 Jeff Law  (law@cygnus.com)
9115
9116         * version.c: Bump for snapshot.
9117
9118 Mon Oct 19 11:40:56 1998  Jeffrey A Law  (law@cygnus.com)
9119
9120         * libgcc2.c (eh_context_static): Do not call malloc to allocate the
9121         static eh_context structure.
9122
9123 Mon Oct 19 10:45:40 1998  Bernd Schmidt <crux@pool.informatik.rwth-aachen.de> 
9124
9125         * combine.c (recog_for_combine): Lose PADDED_SCRATCHES arg.  All
9126         callers changed.
9127         (try_combine): Don't update max_scratch.
9128         * flow.c (max_scratch, num_scratch): Delete variables.
9129         (life_analysis_1): Don't initialize max_scratch.
9130         (propagate_block): Don't update max_scratch.
9131         (mark_set_1): Don't increment num_scratch.
9132         * regs.h (max_scratch): Delete declaration.
9133
9134 Mon Oct 19 10:28:15 1998  Jeffrey A Law  (law@cygnus.com)
9135
9136         * reload1.c (reload_reg_free_before_p): Hack.  Return 0 if EQUIV
9137         is nonzero.  This is temporary!
9138
9139         * sched.c (update_flow_info): Handle death notes made invalid by
9140         instruction splitting.  Partially reverts Oct 15, 1998 patch.
9141         * haifa-sched.c (update_flow_info): Likewise.
9142
9143 Sun Oct 18 17:31:26 1998  Jeffrey A Law  (law@cygnus.com)
9144
9145         * function.c (uninitialized_vars_warning): Do not warn for a VAR_DECL
9146         if it has a nonzero DECL_INITIAL.
9147
9148 Sat Oct 17 23:18:08 1998  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
9149
9150         * Makefile.in (flow.o): Depend on recog.h.
9151
9152         * cpplib.h (directive_table): Add missing initializiers.
9153         (finclude): Change type of variable `bsize' to size_t.
9154         
9155         * cse.c (rtx_cost): Mark parameter `outer_code' with ATTRIBUTE_UNUSED.
9156
9157         * dwarfout.h (dwarfout_label): Wrap prototype in macro RTX_CODE.
9158
9159         * fix-header.c (lookup_std_proto): Cast the result of `strlen' to
9160         `int' when comparing against one.
9161         (cpp_file_line_for_message): Mark parameter `pfile' with
9162         ATTRIBUTE_UNUSED.
9163         (cpp_fatal): Mark parameter `pfile' with ATTRIBUTE_UNUSED.
9164
9165         * flow.c: Include recog.h.
9166         (sbitmap_copy): Cast arguments 1 & 2 of `bcopy' to (PTR).
9167
9168         * function.c (thread_prologue_and_epilogue_insns): Mark parameter
9169         `f' with ATTRIBUTE_UNUSED.
9170         (reposition_prologue_and_epilogue_notes): Likewise.
9171
9172         * genopinit.c (gen_insn): Cast argument of ctype functions to
9173         `unsigned char'.
9174
9175         * haifa-sched.c: Include recog.h.
9176         (blockage_range): Cast result of UNIT_BLOCKED macro to (int) when
9177         comparing against one.
9178
9179         * libgcc2.a (__throw): Revert ATTRIBUTE_UNUSED change for now.
9180
9181         * mips-tfile.c (parse_end): Cast the argument of ctype function to
9182         `unsigned char'.
9183         (parse_ent): Likewise.
9184         (parse_input): Likewise.
9185
9186         * optabs.c (init_libfuncs): Likewise.
9187
9188         * protoize.c (find_rightmost_formals_list): Likewise.
9189
9190         * recog.h (const_double_operand): Fix typo in prototype.
9191
9192         * tlink.c (scan_linker_output): Cast the argument of ctype
9193         function to `unsigned char'.
9194
9195         * toplev.c (check_lang_option): Cast the result of `strlen' to
9196         `int' when comparing against one.
9197
9198 Sat Oct 17 13:09:09 1998  Graham  <grahams@rcp.co.uk>
9199
9200         * gcse.c (dump_cuid_table): Correct typo.
9201
9202 Sat Oct 17 11:02:47 1998  Nick Clifton  <nickc@cygnus.com>
9203
9204         * toplev.c (display_help): Prepend '-m' to target specific
9205         options. 
9206         (check_lang_option): Ignore text after end of first word of a
9207         language specific option.
9208
9209 Sat Oct 17 02:26:03 1998  Bernd Schmidt <crux@pool.informatik.rwth-aachen.de> 
9210
9211         * reload1.c (reg_used_by_pseudo): New static variable.
9212         (choose_reload_regs): Initialize it.
9213         Use it instead of testing spill_reg_order to determine whether a
9214         pseudo is live in a hard register across the current insn.
9215         Fix a typo in a reference to reload_reg_rtx.
9216
9217         * flow.c (propagate_block): Replace code that computes and uses
9218         regs_sometimes_live with simpler code that just walks the set of
9219         currently live registers.
9220
9221         * Makefile.in (insn-extract.o): Fix dependencies.
9222         * genextract.c (main): Generate includes for insn-config.h and
9223         recog.h.
9224         Delete generation of declarations which are now in recog.h.
9225         * genrecog.c (main): Delete generation of definitions which are
9226         now in recog.c.
9227         * local-alloc.c (block_alloc): Use extract_insn and the variables
9228         it sets up instead of looking up values by insn_code.
9229         * recog.c (recog_operand, recog_operand_loc, recog_dup_loc,
9230         recog_dup_num): Define here instead of generating the definition in
9231         genrecog.c.
9232         (recog_n_operands, recog_n_dups, recog_n_alternatives,
9233         recog_operand_mode, recog_constraints, recog_operand_address_p):
9234         New variables.
9235         (extract_insn): New function.
9236         * recog.h (extract_insn): Declare function.
9237         (which_alternative, recog_n_operands, recog_n_dups,
9238         recog_n_alternatives, recog_operand_mode, recog_constraints,
9239         recog_operand_address_p): Declare variables.
9240         * regclass.c (n_occurrences): New static function.
9241         * reload.c (n_occurrences): Delete function.
9242         (find_reloads): Use extract_insn.
9243         * reload.h (n_occurrences): Delete declaration.
9244
9245 Sat Oct 17 01:17:51 1998  Jeffrey A Law  (law@cygnus.com)
9246
9247         * reload1.c (reload_as_needed): Fix test for when to call
9248         update_eliminable_offsets.
9249
9250 Fri Oct 16 20:40:50 1998  J"orn Rennecke <amylaar@cygnus.co.uk>
9251
9252         Fix consistency problems with reg_equiv_{mem,address};
9253         Improve reload inheritance;
9254
9255         * reload.c (reload_out_reg): New variable.
9256         (loc_mentioned_in_p, remove_address_replacements): New functions.
9257         (remove_replacements): Deleted.
9258         (push_reload): Set reload_out_reg[i].
9259         When merging, also set reload_{in,out}_reg[i], and remove
9260         duplicate address reloads.
9261         (combine_reloads): Copy reload_out_reg[i].
9262         (find_reloads): Do make_memloc substitution also when
9263         reg_equiv_memory_loc[regno] and num_not_at_initial_offset
9264         are both nonzero.
9265         Include *recog_operand_loc in commutativity operand changes.
9266         Generate optional output reloads.
9267         Delete reference to n_memlocs.  Don't set *recog_operand_loc before
9268         processing operands.  Call make_memloc in reg_equiv_address code.
9269         Set *recog_operand_loc only after processing operands, and only
9270         if replace is true.  Return a value.
9271         When changing address reload types for operands that didn't get
9272         reloaded, use RELOAD_FOR_OPADDR_ADDRESS for
9273         RELOAD_FOR_INPADDR_ADDRESS / RELOAD_FOR_OUTADDR_ADDRESS reloads.
9274         Don't emit USEs for pseudo SUBREGs when not replacing.
9275         (find_reloads_address): Do make_memloc substitution also when
9276         reg_equiv_memory_loc[regno] and num_not_at_initial_offset
9277         are both nonzero.
9278         (find_reloads_toplev): Likewise.
9279         Call make_memloc in reg_equiv_address code.
9280         (debug_reload_to_stream): Add code to output reload_out_reg.
9281         (make_memloc): Delete local variable i, ifdefed out code, and
9282         references to memlocs and n_memlocs.
9283         (memlocs, n_memlocs): Delete.
9284         (push_secondary_reload): Clear reload_out_reg.
9285         (find_reloads_address_1): Provide memrefloc argument to all calls
9286         to find_reloads_address.
9287         In AUTO_INC code, handle non-directly addressable equivalences properly.
9288         * reload.h (reload_out_reg, num_not_at_initial_offset): Declare.
9289         (find_reloads): Add return type.
9290         (remove_address_replacements, deallocate_reload_reg): Declare.
9291         * reload1.c (num_not_at_initial_offset): No longer static.
9292         (delete_address_reloads, delete_address_reloads_1): Likewise.
9293         (deallocate_reload_reg): New function.
9294         (spill_reg_stored_to): New array.
9295         (eliminate_regs): Don't substitute from reg_equiv_memory_loc.
9296         (eliminate_regs_in_insn): Move assignments of previous_offset and
9297         max_offset fields, and recalculation of num_not_at_initial_offset
9298         into new static function:
9299         (update_eliminable_offsets) .
9300         (reload_as_needed): Call update_eliminable_offsetss after calling
9301         find_reloads.
9302         Call forget_old_reloads_1 with contents of reloaded auto_inc
9303         expressions if the actual addressing can't be changed to match the
9304         auto_inc.
9305         (choose_reload_regs): For inheritance, replace
9306         reload_reg_free_before_p test with reload_reg_used_at_all test, and
9307         remove stand-alone reload_reg_used_at_all test.
9308         Use reload_out_reg to determine which reload regs have output reloads.
9309         Treat reload_override_in more similar to inherited reloads.
9310         Handle (subreg (reg... for inheritance.
9311         For flag_expensive_optimizations, add an extra pass to remove
9312         unnecessary reloads from known working inheritance.
9313         Delete obsolete code for pseudos replaced with MEMs.
9314         Handle inheritance from auto_inc expressions.
9315         (emit_reload_insns): If reload_in is a MEM, set OLD to 
9316         reload_in_reg[j].
9317         Don't reload directly from oldequiv; if it's a pseudo with a
9318         stack slot, use reload_in[j].
9319         Check that reload_in_reg[j] is a MEM before replacing reload_in
9320         from reg_reloaded_contents.
9321         Include non-spill registers in reload inheritance processing.
9322         Also try to use reload_out_reg to set spill_reg_store /
9323         reg_last_reload_reg.
9324         In code to set new_spill_reg_store, use single_set to find out if
9325         there is a single set.
9326         Add code that allows to delete optional output reloads.
9327         Add code to allow deletion of output reloads that use no spill reg.
9328         At the end, set reload_override_in to oldequiv.
9329         Also call delete_output_reload if reload_out_reg is equal to old
9330         in oldequiv code.
9331         Add code to call delete_output_reload for stores with no matching load.
9332         Set / use spill_reg_stored_to.
9333         Handle case where secondary output reload uses a temporary, but
9334         actual store isn't found.
9335         When looking for a store of a value not loaded in order to call
9336         delete_output_reload, count_occurences should return 0 for no
9337         loads; but discount inherited input reloadill_reg_stored_to.
9338         Do checks for extra uses of REG.  Changed all
9339         callers.
9340         Use delete_address_reloads.
9341         (reload): Take return value of find_reloads into account.
9342         If a no-op set needs more than one reload, delete it.
9343         (reload_reg_free_before_p): RELOAD_FOR_INPUT
9344         can ignore RELOAD_FOR_INPUT_ADDRESS / RELOAD_FOR_INPADDR_ADDRESS
9345         for the same operand.
9346         (clear_reload_reg_in_use): Check for other reloads that keep a
9347         register in use.
9348         (reload_reg_free_for_value_p): handle RELOAD_FOR_OPERAND_ADDRESS /
9349         RELOAD_FOR_OPADDR_ADDR.
9350         Take into account when an address address reload is only needed
9351         for the address reload we are considering.
9352         (count_occurrences): Use rtx_equal_p for MEMs.
9353         (inc_for_reload): Return instruction that stores into RELOADREG.
9354         New argument two, IN, and rtx.  Changed all callers.
9355         (calculate_needs_all_insns, reload_as_needed):
9356         Don't clear after_call for a CLOBBER.
9357         Keep track of how many hard registers need to be copied from
9358         after_call, and don't clear after_call before we have seen
9359         that much copies, or we see a different instruction.
9360
9361 Fri Oct 16 10:58:23 1998  Jeffrey A Law  (law@cygnus.com)
9362
9363         * flow.c (find_basic_blocks_1): Do not delete unreachable blocks
9364         after reload has completed.
9365
9366 Fri Oct 16 17:26:10 1998  Dave Brolley  <brolley@cygnus.com>
9367
9368         * cpplib.c (cpp_get_token): Replace whitespace that occurs between
9369         a macro name and the next token with a single blank if that whitespace
9370         is in a macro buffer and the next token is not '('.
9371
9372 Fri Oct 16 15:44:02 1998  Dave Brolley  <brolley@cygnus.com>
9373
9374         * cccp.c (rescan): Handle multibyte chartacters ending in backslash.
9375         (rescan): Ditto.
9376         (skip_if_group): Ditto.
9377         (skip_to_end_of_comment): Ditto.
9378         (macarg1): Ditto.
9379         (discard_comments): Ditto.
9380         (change_newlines): Ditto.
9381
9382 Fri Oct 16 15:26:24 1998  Dave Brolley  <brolley@cygnus.com>
9383
9384         * c-lex.c (yylex): Fix unaligned access of wchar_t.
9385
9386 Fri Oct 16 10:47:53 1998  Nick Clifton  <nickc@cygnus.com>
9387
9388         * config/arm/arm.h (TARGET_SWITCHES): Add --help documentation.
9389         (TARGET_OPTIONS): Add --help documentation.
9390
9391 Fri Oct 16 11:49:01 1998  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
9392
9393         * rtl.h (sets_cc0_p): Revert Oct 14 ATTRIBUTE_NORETURN change.
9394
9395 Fri Oct 16 07:08:46 1998  Bruce Korb <korb@datadesign.com>
9396         
9397         * fixinc/* Moved in from ../contrib directory in preparation
9398         for integrating it into the normal build process.  In particular,
9399         fixinc/Makefile.in must be config-ed into the build directory
9400         as fixinc/Makefile.  Proposed patches to ./Makefile.in and
9401         ./configure.in will be "in the mail" momentarily.
9402
9403 Fri Oct 16 08:13:46 1998  David S. Miller  <davem@pierdol.cobaltnet.com>
9404
9405         * cse.c (cse_basic_block): Fixup hash flushing loop so we do not
9406         accidently walk into the free list.  Comment how that can happen.
9407         (invalidate): Fix indentation.
9408
9409 Thu Oct 15 23:53:29 1998 Bernd Schmidt <crux@pool.informatik.rwth-aachen.de>
9410                          Jeffrey A Law  (law@cygnus.com)
9411
9412         * flow.c (life_analysis_1): Do not clobber regs_ever_live after
9413         reload.  Never perform rescans of the insn chain after reload.
9414         (propagate_block): Do not delete insn or create new autoinc addressing
9415         modes after reload.
9416
9417         * jump.c (jump_optimize): Unconditionally use the code that was
9418         previously conditional on PRESERVE_DEATH_INFO_REGNO_P.
9419         * reload1.c (reload): When reloading is finished, delete all
9420         REG_DEAD and REG_UNUSED notes.
9421         (emit_reload_insns): Delete all code that was conditional on
9422         PRESERVE_DEATH_INFO_REGNO_P.
9423         (no_longer_dead_regs): Delete variable.
9424         (reload_cse_delete_death_notes): Delete function.
9425         (reload_cse_no_longer_dead): Delete function.
9426         (reload_cse_regs_1): Delete all code to handle deletion of death
9427         notes.
9428         (reload_cse_noop_set_p): Likewise.
9429         (reload_cse_simplify_set): Likewise.
9430         (reload_cse_simplify_operands): Likewise.
9431         (reload_cse_move2add): Likewise.
9432         * reorg.c (used_spill_regs): Delete declaration.
9433         (max_label_num_after_reload): Delete declaration.
9434         (find_dead_or_set_registers): Don't assume that spill regs are
9435         dead at a CODE_LABEL.
9436         * rtlanal.c (dead_or_set_regno_p): Death notes are always accurate,
9437         even after reload.
9438         * sched.c (sched_analyze_insn): Likewise.
9439         (update_flow_info): Likewise.
9440         * haifa-sched.c (sched_analyze_insn): Likewise.
9441         (update_flow_info): Likewise.
9442         * tm.texi (PRESERVE_DEATH_INFO_REGNO_P): Delete documentation.
9443         * toplev.c (max_label_num_after_reload): Delete variable.
9444         (rest_of_compilation): Don't set max_label_num_after_reload.
9445         Call life_analysis after reload_cse_regs if optimizing.
9446         * config/gmicro/gmicro.h: Delete comment referring to
9447         PRESERVE_DEATH_INFO_REGNO_P.
9448         * config/i386/i386.h: Likewise.
9449         * config/m88k/m88k.h: Likewise.
9450         * config/m32r/m32r.h (PRESERVE_DEATH_INFO_REGNO_P): Delete definition.
9451         * config/sh/sh.h: Likewise.
9452
9453 Thu Oct 15 19:48:41 1998  David Edelsohn  <edelsohn@gnu.org>
9454
9455         * loop.c (strength_reduce): Restore marking bct_p as
9456         ATTRIBUTE_UNUSED.
9457         * rs6000.c (optimization_options): Change #ifdef HAIFA to
9458         HAVE_decrement_and_branch_on_count.
9459         (small_data_operand): Remove TARGET_ELF condition for marking
9460         parameters ATTRIBUTE_UNUSED.
9461         
9462 Thu Oct 15 11:45:51 1998  Robert Lipe  <robertl@dgii.com>
9463
9464         * config/i386/sco5.h (MAX_OFILE_ALIGNMENT):  Define.
9465         (SELECT_SECTION): Resync with svr4.h.
9466
9467 Thu Oct 15 12:42:13 1998  David Edelsohn  <edelsohn@gnu.org>
9468
9469         * loop.c (strength_reduce): Undo Oct 14 change marking bct_p
9470         ATTRIBUTE_UNUSED.
9471
9472 Thu Oct 15 00:57:55 1998  Robert Lipe  <robertl@dgii.com>
9473
9474         * c-pragma.c (handle_pragma_token): Test for null tree before
9475         dereferencing TREE_CODE.
9476
9477 Thu Oct 15 17:36:48 1998  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
9478
9479         * config/c4x/c4x.c: Convert to use GEN_INT.
9480         (c4x_parallel_process): Rework to handle new repeat loop structure.
9481
9482         * config/c4x/c4x.md: Convert to use GEN_INT. 
9483         (rptb_end): Convert to use GE test.  Replace uses with clobbers.
9484         (decrement_and_branch_on_count): Likewise.
9485
9486         * config/c4x/c4x.h (REPEAT_BLOCK_PROCESS): Deleted hook now that
9487         loop.c has the desired functionality.
9488         (rc_reg_operand): New prototype.
9489
9490         * config/c4x/t-c4x: Can now build all front ends.
9491
9492 Wed Oct 14 23:27:08 1998  Didier FORT (didier.fort@fedex.com)
9493
9494         * fixincludes: Fix up rpc/{clnt,svr,xdr}.h for SunOS.
9495
9496 Wed Oct 14 22:13:28 1998  Joel Sherrill (joel@OARcorp.com)
9497
9498         * Makefile.in (stmp-fixinc): Do not install assert.h if not desired.
9499         * config/t-rtems: Do not install assert.h -- use newlib's.
9500
9501 Wed Oct 14 21:57:08 1998  J"orn Rennecke <amylaar@cygnus.co.uk>
9502
9503         * combine.c (combine_instructions): When finished, call init_recog.
9504         * regmove.c (optimize_reg_copy_3): Reject volatile MEMs.
9505
9506 Wed Oct 14 16:10:22 1998  Per Bothner  <bothner@cygnus.com>
9507
9508         * toplev.c:  If flag_syntax_only, don't open or write assembler file.
9509
9510 Wed Oct 14 13:26:05 1998  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
9511
9512         * cppalloc.c (memory_full): Mark function prototype with
9513         ATTRIBUTE_NORETURN.
9514
9515         * demangle.h (collect_exit): Likewise.
9516
9517         * fix-header.c (v_fatal, fatal): Likewise.
9518
9519         * gcc.c (pfatal_with_name, pfatal_pexecute, fatal, fancy_abort):
9520         Likewise.
9521
9522         * gcov.c (print_usage): Likewise.
9523
9524         * genattr.c (fatal, fancy_abort): Likewise.
9525
9526         * genattrtab.c (fatal, fancy_abort): Likewise.
9527
9528         * gencodes.c (fatal, fancy_abort): Likewise.
9529
9530         * genconfig.c (fatal, fancy_abort): Likewise.
9531
9532         * genemit.c (fatal, fancy_abort): Likewise.
9533
9534         * genextract.c (fatal, fancy_abort): Likewise.
9535
9536         * genflags.c (fatal, fancy_abort): Likewise.
9537
9538         * genopinit.c (fatal, fancy_abort): Likewise.
9539
9540         * genoutput.c (fatal, fancy_abort): Likewise.
9541
9542         * genpeep.c (fatal, fancy_abort): Likewise.
9543
9544         * genrecog.c (fatal, fancy_abort): Likewise.
9545
9546         * libgcc2.c (__eprintf, __default_terminate, __sjthrow,
9547         __sjpopnthrow, __throw): Likewise.
9548
9549         * objc/objc-act.c (objc_fatal): Likewise.
9550
9551         * protoize.c (usage, aux_info_corrupted,
9552         declare_source_confusing): Likewise.
9553
9554         * rtl.c (dump_and_abort): Likewise.
9555
9556         * rtl.h (sets_cc0_p): Likewise.
9557
9558         * toplev.c (float_signal, pipe_closed): Likewise.
9559         
9560 1998-10-14  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
9561
9562         * dwarf2out.c (expand_builtin_dwarf_reg_size): Look at all ranges
9563         when generating the decision tree for the general case.
9564
9565         * config/m68k/m68k.h (HARD_REGNO_MODE_OK): Don't accept modes
9566         wider that 12 bytes in fpu regs or wider than 8 byte in fpa regs.
9567
9568 Wed Oct 14 11:14:02 1998  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
9569
9570         * Makefile.in (sched.o): Depend on recog.h.
9571
9572         * alias.c (REG_BASE_VALUE): Cast the result of REGNO() macro to
9573         (unsigned) when comparing against one.
9574         (find_base_value): Likewise.
9575         (record_base_value): Cast variable `regno' to (unsigned) when
9576         comparing against one.  Cast the result of REGNO() macro to
9577         (unsigned) when comparing against one.
9578         (memrefs_conflict_p): Change type of variables `r_x' and `r_y'  to
9579         unsigned.
9580         (init_alias_analysis): Add unsigned variable `ui'.  Use it as loop
9581         variable where an unsigned index is needed.
9582
9583         * caller-save.c (init_caller_save): Cast `-1' to (enum insn_code)
9584         before comparing against one.
9585
9586         * collect2.c: Add prototypes for functions `error', `fatal' and
9587         `fatal_perror'.  Make these functions take variable arguments
9588         instead of faking it with a fixed number of args.
9589         (write_c_file_stat): Cast the argument of ctype macro to (unsigned
9590         char).
9591
9592         * combine.c (can_combine_p): Mark parameter `pred' with
9593         ATTRIBUTE_UNUSED.
9594         (find_split_point): Cast variable `src' to (unsigned
9595         HOST_WIDE_INT) when comparing against one.
9596         (simplify_rtx): Cast 1 to (unsigned HOST_WIDE_INT) in shift.
9597         (simplify_logical): Likewise.
9598         (force_to_mode): Cast result of INTVAL() macro to (unsigned
9599         HOST_WIDE_INT) when comparing against one.  Cast 1 to (unsigned
9600         HOST_WIDE_INT) in shift.
9601         (simplify_and_const_int): Cast result of INTVAL() macro to
9602         `unsigned HOST_WIDE_INT' when comparing against one.
9603         (merge_outer_ops): Cast variable const0 to `unsigned
9604         HOST_WIDE_INT' when comparing against the result of
9605         GET_MODE_MASK() macro.
9606         (simplify_comparison): Likewise for variable `c0'.  Cast variable
9607         `const_op' to `unsigned HOST_WIDE_INT' when comparing against
9608         one.  Cast `1' to `unsigned HOST_WIDE_INT' in shift.  Cast the
9609         result of `GET_MODE_MASK()/2' to `HOST_WIDE_INT' when comparing
9610         against one.  Cast `1' to `unsigned HOST_WIDE_INT' in shift.  Cast
9611         result of INTVAL() macro to `unsigned HOST_WIDE_INT' when
9612         comparing against one.
9613         (distribute_notes): Wrap variable `cc0_setter' in macro `HAVE_cc0'.
9614
9615         config/mips/mips.c (gen_int_relational): Cast result of INTVAL()
9616         macro to `unsigned HOST_WIDE_INT' when comparing against one.
9617         (output_block_move): Cast `sizeof' expression to (int) when
9618         comparing against one.
9619         (function_arg): Cast BITS_PER_WORD to `unsigned' when comparing
9620         against one.
9621         (save_restore_insns): Cast `base_offset' to `long' to match format
9622         specifier in fprintf.
9623
9624         * config/mips/mips.h (Pmode): Cast the result of `Pmode' macro
9625         to `enum machine_mode'.
9626
9627         * flow.c (life_analysis_1): Remove unused variable `insn'.
9628
9629         * gcc.c (translate_options): Move variables `j' and `k' into the
9630         scope in which they are used.  Change their types to `size_t'.
9631         (set_spec): Cast the argument of ctype macro to `unsigned char'.
9632         (read_specs): Likewise.
9633         (process_command): Cast `sizeof' to (int) when comparing against one.
9634         (do_spec_1): Cast the argument of ctype macro to `unsigned char'.
9635         (handle_braces): Cast both sides of `==' expression to `long' to
9636         ensure sign matching.
9637         (main): Cast variable `i' to `int' when comparing against one.
9638
9639         * gcov-io.h (__fetch_long): Change type of parameter `bytes' from
9640         int to size_t.  Cast variable `i' to size_t when comparing against
9641         one.
9642
9643         * genattrtab.c (convert_set_attr_alternative): Remove unused
9644         parameter `insn_code'.  All callers changed.
9645         (convert_set_attr): Likewise.
9646
9647         * genrecog.c (add_to_sequence): Cast result of XVECLEN() macro to
9648         size_t when comparing against one.  Likewise for variable `len'.
9649
9650         * global.c (global_alloc): Cast variable `max_regno' to size_t
9651         when comparing against one.  Likewise for variable `max_allocno'.
9652
9653         * jump.c (sets_cc0_p): Mark parameter `x' with ATTRIBUTE_UNUSED.
9654
9655         * local-alloc.c (validate_equiv_mem_from_store): Mark parameter
9656         `set' with ATTRIBUTE_UNUSED.
9657         (find_free_reg): Cast `sizeof' expression to (int) when comparing
9658         against one.
9659
9660         * loop.c (count_loop_regs_set): Remove unused variable `dest'.
9661         (strength_reduce): Mark parameter `bct_p' with ATTRIBUTE_UNUSED.
9662         (get_condition): Cast variable `const_val' to `unsigned
9663         HOST_WIDE_INT' when comparing against one.  Cast unsigned
9664         expression to HOST_WIDE_INT when comparing against one.
9665         (insert_loop_mem): Mark parameter `data' with ATTRIBUTE_UNUSED.
9666         (load_mems_and_recount_loop_regs_set): Cast variable `nregs' to
9667         `unsigned' when comparing against one.
9668
9669         * protoize.c (is_id_char): Change type of parameter `ch' to
9670         unsigned char.
9671         (munge_compile_params): Cast argument of ctype macro to (const
9672         unsigned char).
9673         (process_aux_info_file): Cast variable `aux_info_size' to int when
9674         comparing against one.
9675         (forward_to_next_token_char): Cast argument of ctype macro to
9676         `const unsigned char'.
9677         (edit_formals_lists): Likewise.
9678         (find_rightmost_formals_list): Likewise.
9679         (add_local_decl): Likewise.
9680         (add_global_decls): Likewise.
9681         (edit_fn_definition): Likewise.
9682         (do_cleaning): Likewise.
9683         (scan_for_missed_items): Likewise.
9684         (edit_file): Cast variable `orig_size' to (int) when comparing
9685         against one.
9686         (main): Cast argument of ctype macro to `const unsigned char'.
9687
9688         * recog.c (const_int_operand): Mark parameter `mode' with
9689         ATTRIBUTE_UNUSED.
9690
9691         * regclass.c (record_reg_classes): Change type of variable `c' to
9692         `unsigned char'.  Cast `char' array index to `unsigned char'.
9693
9694         * reload.c (push_secondary_reload): Cast argument to
9695         REG_CLASS_FROM_LETTER() macro to `unsigned char'.
9696
9697         * reload1.c (calculate_needs): Cast `char' array index to
9698         `unsigned char'.
9699         (set_label_offsets): Change type of variable `i' to unsigned int.
9700         Cast result of XVECLEN() macro to unsigned when comparing against
9701         one.
9702         (mark_not_eliminable): Change type of variable `i' to unsigned.
9703         (order_regs_for_reload): Likewise.  Cast `max_regno' to unsigned
9704         when comparing against one.
9705         (reload_as_needed): Cast macro NUM_ELIMINABLE_REGS to (int) when
9706         comparing against one.
9707         (choose_reload_regs): Hide unused label `fail'.
9708         (reload_cse_simplify_operands): Cast `char' array index to
9709         `unsigned char'.
9710         (reload_combine_note_store): Mark parameter `set' with
9711         ATTRIBUTE_UNUSED.  Cast UNITS_PER_WORD to unsigned when comparing
9712         against one.
9713         (reload_cse_move2add): Remove unused variable `src2'.
9714
9715         * sched.c: Include recog.h.
9716         (sched_note_set): Remove unused parameter `b'.  All callers
9717         changed.
9718         (split_hard_reg_notes): Likewise for parameter `orig_insn'.
9719         (blockage_range): Cast result of UNIT_BLOCKED() macro to (int)
9720         when comparing against one.
9721
9722         * stupid.c (stupid_find_reg): Mark parameter `changes_size' with
9723         ATTRIBUTE_UNUSED.  Cast `sizeof' expression to (int) when
9724         comparing against one.
9725
9726         * unroll.c (precondition_loop_p): Remove unused parameter
9727         `loop_end'.  All callers changed.
9728
9729 Tue Oct 13 22:12:11 1998  Bernd Schmidt <crux@pool.informatik.rwth-aachen.de>
9730
9731         * reload1.c (maybe_fix_stack_asms): New static function.
9732         (reload): Call it.
9733
9734         * reload.h (compute_use_by_pseudos): Declare.
9735
9736         * reload1.c (spilled_pseudos, insns_need_reload): New variables.
9737         (something_needs_reloads): Delete variable.
9738         (finish_spills): New function.
9739         (compute_use_by_pseudos): New function.
9740
9741         (delete_caller_save_insns): Lose argument FIRST.  All callers changed.
9742         Use the reload_insn_chain instead of walking the rtl directly.
9743
9744         (reload): Allocate and free spilled_pseudos.
9745         Ensure that all calls of spill_hard_reg are followed by a call to
9746         finish_spills.
9747         Use the insns_need_reload list instead of something_needs_reloads
9748         to find out if reload_as_needed must be called.
9749         Clear unused_insn_chains at the end.
9750
9751         (calculate_needs_all_insns): Lose FIRST parameter.  All callers
9752         changed.
9753         Delete code to keep track of current basic block.
9754         Walk reload_insn_chain instead of the rtl structure.  Build the
9755         insns_need_reload chain.
9756         Remember which insns need reloading/elimination by setting the
9757         appropriate fields in struct insn_chain, not by putting modes on the
9758         insn.
9759
9760         (calculate_needs): Lose THIS_BLOCK arg.  Accept arg CHAIN instead of
9761         arg INSN.  All callers changed.
9762         Delete declaration of struct needs.
9763         Don't set something_needs_reloads.
9764         Record insn needs in the CHAIN argument.
9765
9766         (spill_hard_reg): Record the affected pseudos in spilled_pseudos.
9767
9768         (reload_as_needed): Lose FIRST arg.  All callers changed.
9769         Walk the reload_insn_chain instead of the rtx structure.
9770         Delete code to keep track of current basic block.
9771         Rename one of the NEXT variables to OLD_NEXT.
9772
9773         (allocate_reload_reg): Accept arg CHAIN instead of arg INSN.  All
9774         callers changed.
9775         (choose_reload_regs): Likewise.
9776
9777         (emit_reload_insns): Replace INSN and BB args with arg CHAIN.  All
9778         callers changed.
9779         
9780         * caller-save.c (MOVE_MAX_WORDS): New macro.  Use it throughout
9781         instead of (MOVE_MAX / UNITS_PER_WORD) computation.
9782         (hard_regs_live, hard_regs_need_restore): Delete variables.
9783         (n_regs_saved): Now static.
9784         (referenced_regs, this_insn_sets): New variables.
9785
9786         (setup_save_areas): Restructure the code a bit.
9787
9788         (restore_referenced_regs): Delete function.
9789         (mark_referenced_regs): New function, similar to the old
9790         restore_referenced_regs, but mark registers in referenced_regs.
9791
9792         (clear_reg_live): Delete function.
9793         (mark_set_regs): Renamed from set_reg_live.  All callers changed.
9794         Only mark registers in this_insn_sets.
9795
9796         (save_call_clobbered_regs): Rework this function to walk the
9797         reload_insn_chain instead of using the list of instructions directly.
9798         Delete code to keep track of register lives, compute live regs on the
9799         fly from information in the chain.
9800         Instead of calling restore_referenced_regs, use mark_referenced_regs,
9801         then walk the set it computes and call insert_restore as appropriate.
9802
9803         (insert_restore): Lose INSN and BLOCK args.  Add CHAIN arg.  All
9804         callers changed.
9805         Restructure the code a bit.  Test hard_regs_saved instead of
9806         hard_regs_need_restore.
9807         (insert_save): Lose INSN and BLOCK args.  Add CHAIN and TO_SAVE
9808         args.  All callers changed.
9809         Restructure the code a bit.  Use TO_SAVE to determine which regs to
9810         save instead of more complicated test.
9811         (insert_one_arg): Lose INSN and BLOCK args.  Add CHAIN arg.  All
9812         callers changed.
9813         Create a new insn_chain structure for the new insn and place it
9814         into the chain.
9815
9816         * rtl.texi: Update documentation to reflect that reload no longer
9817         puts modes on the insns.
9818
9819 1998-10-14  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
9820
9821         * function.c (purge_addressof_1): Force the first argument of a
9822         CALL insn to memory.
9823
9824 Wed Oct 14 00:38:40 1998  Jeffrey A Law  (law@cygnus.com)
9825
9826         * rtl.h: Delete duplicate prototypes.  Add some missing
9827         prototypes.
9828         * rtlanal.c: (for_each_rtx): Formatting tweak.
9829
9830 1998-10-13 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
9831
9832         * real.c (emdnorm and etoasc): Disable round to even for c4x target
9833         to be compatible with TI compiler.
9834
9835         * Makefile.in (USER_H): Add va-c4x.h to definition.
9836
9837 Tue Oct 13 23:03:37 1998  Richard Henderson  <rth@cygnus.com>
9838
9839         * function.c (purge_addressof_1): Fix typo in inequality: do
9840         bitfield optimization for equal mode sizes.
9841         * expmed.c (store_bit_field): Don't take subregs of subregs in
9842         the movstrict case.  Tidy a potential problem in the multi-word case.
9843         (extract_bit_field): Likewise.
9844
9845 Tue Oct 13 22:12:11 1998  Bernd Schmidt <crux@pool.informatik.rwth-aachen.de>
9846
9847         * flow.c (find_basic_blocks): Emit NOPs after normal calls in this
9848         function.
9849         Compute max_uid_for_flow by calling get_max_uid after the scan.
9850         (find_basic_blocks_1): Don't emit NOPs here.
9851
9852 Tue Oct 13 22:05:49 1998  Richard Henderson  <rth@cygnus.com>
9853
9854         * alias.c (base_alias_check): Accept new args for the modes of the
9855         two references.  Use them to determine if an AND can overlap.  Update
9856         all callers.
9857         (memrefs_conflict_p): Assume sizes are aligned, and uses them
9858         to determine if an AND can overlap.
9859
9860 Tue Oct 13 17:51:04 1998  Jim Wilson  <wilson@cygnus.com>
9861
9862         * config/m68k/m68k.h (HARD_REGNO_MODE_OK): For FP regs, add REGNO >= 16
9863         check.  Add comment to document problems with TARGET_SUN_FPA version
9864         of this macro.
9865         * config/m68k/m68k.md (movxf+1): Support 'r'/'r' moves.
9866
9867 Tue Oct 13 17:46:18 1998  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
9868
9869         * Makefile.in (gencheck.o): Depend on gansidecl.h.
9870
9871         * c-common.c (print_char_table): Add missing initializers.
9872         (scan_char_table): Likewise.
9873         (time_char_table): Likewise.
9874
9875         * c-decl.c (c_decode_option): Mark parameter `argc' with
9876         ATTRIBUTE_UNUSED.
9877         (declare_parm_level): Mark parameter `definition_flag' with
9878         ATTRIBUTE_UNUSED.
9879
9880         * c-lex.c (readescape): Use `(unsigned)1' in shift.
9881         (yylex): Likewise.  Cast `sizeof' to an (int) when comparing
9882         against one.
9883
9884         * calls.c (store_one_arg): Remove unused parameter `fndecl'.  All
9885         callers changed.
9886         (emit_call_1): Mark parameters `fndecl' and `funtype' with
9887         ATTRIBUTE_UNUSED.
9888         (expand_call): Cast result of MIN() to (unsigned int) when
9889         comparing against an unsigned value.
9890
9891         * cccp.c (pcfinclude): Remove unused parameter `limit'.  All
9892         callers changed.
9893         (make_definition): Remove unused parameter `op'.  All callers
9894         changed.
9895         (create_definition): Cast REST_EXTENSION_LENGTH to (long) when
9896         comparing against the result of pointer arithmetic.
9897
9898         * config/mips/mips.h (FUNCTION_ARG_BOUNDARY): Cast to (unsigned)
9899         when comparing against one.
9900
9901         * dwarf2out.c (dwarf2out_frame_debug): Cast REGNO() and
9902         HARD_FRAME_POINTER_REGNUM to (unsigned) when comparing against
9903         one.
9904         (output_die): Move variable `i' into the scope in which it is
9905         used.  Change its type to `unsigned'.
9906         (output_die): Cast the result of `strlen' to (int) when passing it
9907         to ASM_OUTPUT_ASCII().
9908         (output_pubnames): Likewise.
9909         (output_line_info): Likewise.
9910
9911         * emit-rtl.c (global_rtl): Add missing initializers.
9912
9913         * explow.c (promote_mode): Mark parameter `for_call' with
9914         ATTRIBUTE_UNUSED.
9915
9916         * expmed.c (expand_shift): Cast the result of GET_MODE_BITSIZE to
9917         `unsigned HOST_WIDE_INT' when comparing against one.
9918         (synth_mult): Change type of variable `cost' to int.
9919         (emit_store_flag): Use `(unsigned HOST_WIDE_INT) 1' in shift.
9920
9921         * expr.c (copy_blkmode_from_reg): Cast BITS_PER_WORD to (unsigned)
9922         when comparing against one.
9923         (get_inner_reference): Change variable `alignment' to unsigned.
9924         (expand_expr): Cast the result of GET_MODE_ALIGNMENT to (unsigned
9925         int) when comparing against one.
9926         (expand_builtin_setjmp): Change type of variable `i' to size_t.
9927
9928         * fold-const.c (div_and_round_double): Cast BASE to
9929         (HOST_WIDE_INT) when comparing against one.
9930
9931         * gencheck.c: Include gansidecl.h.
9932         (main): Mark parameter `argv' with ATTRIBUTE_UNUSED.
9933
9934         * optabs.c (gen_cond_trap): Mark parameters `code', `op2' and
9935         `tcode' with ATTRIBUTE_UNUSED.
9936
9937         * real.c (edivm): Cast constant value to (unsigned long) in
9938         expression compared against an unsigned value.
9939
9940         * stmt.c (expand_return): Cast BITS_PER_WORD to (unsigned) when
9941         comparing against one.
9942         (expand_end_case): Cast CASE_VALUES_THRESHOLD to (unsigned int)
9943         when comparing against one.
9944
9945         * stor-layout.c (mode_for_size): Cast MAX_FIXED_MODE_SIZE to
9946         (unsigned int) when comparing against one.  Likewise for
9947         GET_MODE_BITSIZE.
9948         (smallest_mode_for_size): Likewise.
9949         (save_storage_status): Mark parameter `p' with ATTRIBUTE_UNUSED.
9950         (restore_storage_status): Likewise.
9951         
9952         * toplev.c (debug_args): Add missing initializer.
9953         (f_options): Spelling correction.  Add missing initializers.
9954         (documented_lang_options): Likewise.
9955         (debug_end_source_file): Mark parameter `lineno' with
9956         ATTRIBUTE_UNUSED.
9957
9958         * tree.c (valid_machine_attribute): Mark parameters `attr_args',
9959         `decl' and `type' with ATTRIBUTE_UNUSED.
9960
9961         * varasm.c (decode_reg_name): Cast `sizeof' expression to (int)
9962         when comparing against one.
9963         (assemble_variable): Mark parameter `top_level' with
9964         ATTRIBUTE_UNUSED.
9965         (assemble_external_libcall): Mark parameter `fun' with
9966         ATTRIBUTE_UNUSED.
9967         (output_constant_pool): Mark parameters `fnname' and `fndecl' with
9968         ATTRIBUTE_UNUSED.
9969
9970 Tue Oct 13 12:51:04 1998  Nick Clifton  <nickc@cygnus.com>
9971
9972         * config/v850/lib1funcs.asm (_udivsi3): Add .type declaration.
9973         Replace use of r5 with use of r19.
9974
9975         * config/v850/v850.h (LINK_POINTER_REGNUM): Define.
9976
9977         * config/v850/v850.c (compute_register_save_size): Allow for the
9978         fact that helper functions save all registers, not just those used
9979         by the function.
9980         
9981         Replace constant 31 with macro LINK_POINTER_REGNUM.
9982
9983         * config/v850/v850.md: Use 'indirect_operand' rather than
9984         'memory_operand' for bit test/set/clear patterns.
9985
9986 Tue Oct 13 11:49:14 1998  Jason Merrill  <jason@yorick.cygnus.com>
9987
9988         * mips/iris6.h (ASM_OUTPUT_WEAK_ALIAS): Call ASM_GLOBALIZE_LABEL.
9989         * varasm.c (assemble_start_function et al): Don't call
9990         ASM_GLOBALIZE_LABEL for weak symbols.
9991
9992 Tue Oct 13 11:37:45 1998  Nick Clifton  <nickc@cygnus.com>
9993
9994         * cse.c (equiv_constant): Check for NULL return from
9995         gen_lowpart_if_possible().
9996
9997 Tue Oct 13 11:24:51 1998  Jeffrey A Law  (law@cygnus.com)
9998
9999         * mn10200.md (addsi3, subsi3, negsi2): Only allow register operands.
10000
10001         * collect2.c (main): Pass -EL/-EB through to the compiler.
10002
10003 1998-10-12 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
10004         
10005         * expr.c (push_block): Handle targets where the stack grows
10006         to higher addresses, but args grow to lower addresses and
10007         ACCUMULATE_OUTGOING_ARGS is not defined.
10008
10009 Tue Oct 13 08:00:52 1998  Catherine Moore  <clm@cygnus.com>
10010
10011         * config/v850/v850.c (print_operand):  Extend meaning
10012         of 'c' operands to support .vtinherit.
10013
10014 Tue Oct 13 21:38:35 1998  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
10015
10016         * config/c4x/c4x.c:  Convert to gen_rtx_FOO.
10017         Added ATTRIBUTE_UNUSED to unused function arguments.
10018         (rc_reg_operand): New predicate.
10019         (c4x_rptb_insert): New function.
10020         (c4x_rptb_nop_p): Recognize modified rptb_top pattern.
10021         (c4x_optimization_options): New function.
10022
10023         * config/c4x/c4x.md: Convert to gen_rtx_FOO.
10024          (decrement_and_branch_on_count): New pattern.
10025          (rptb_top): Modified pattern to work with BCT optimization.
10026         
10027         * config/c4x/c4x.h (RC_REG): New register class.
10028         (rc_reg_operand): Define prototype.
10029         (IS_RC_REG): New macro.
10030         (IS_RC_OR_PSEUDO_REG): New macro.
10031         (IS_RC_OR_PSEUDO_REGNO): New macro.
10032         (OPTIMIZATION_OPTIONS): Define.
10033
10034 Mon Oct 12 19:57:34 1998  Jason Merrill  <jason@yorick.cygnus.com>
10035
10036         * collect2.c (extract_init_priority): No priority is 65535.
10037
10038 Mon Oct 12 12:10:37 1998  Alexandre Oliva  <oliva@dcc.unicamp.br>
10039         
10040         * Makefile.in (build_tooldir): new variable, same as old
10041         $(tooldir), but without depending on $(libdir)/$(unlibsubdir)
10042         (GCC_FOR_TARGET): add -B$(build_tooldir)/bin/
10043         (bootstrap, bootstrap2, bootstrap3, bootstrap4): ditto
10044         
10045         * configure.in (gxx_include_dir): set default based on unlibsubdir
10046         * Makefile.in (tooldir): ditto
10047         (cccp.o, cpplib.o): use unlibsubdir implicitly through
10048         gxx_include_dir, includedir and tooldir
10049         (protoize.o, unprotoize.o): ditto
10050         
10051 Mon Oct 12 10:50:44 1998  Nick Clifton  <nickc@cygnus.com>
10052
10053         * config/arm/arm.md: Replace (reg 24) with (reg:CC 24).
10054
10055         * config/arm/thumb.c (thumb_override_options): Add warning about
10056         PIC code not being supported just yet.
10057
10058 Sun Oct 11 16:49:15 EDT 1998  John Wehle  (john@feith.com)
10059
10060         * flow.c: Update comment.
10061         (notice_stack_pointer_modification): New static function.
10062         (record_volatile_insns): Use it.
10063         (mark_regs_live_at_end): Mark the stack pointer as alive
10064         at the end of the function if current_function_sp_is_unchanging
10065         is set.
10066         (life_analysis_1): Set current_function_sp_is_unchanging.
10067         * function.c: Define it.
10068         (init_function_start): Initialize it.
10069         * output.h: Declare it.
10070         * reorg.c (fill_simple_delay_slots, dbr_schedule): Mark
10071         the stack pointer as alive at the end of the function if
10072         current_function_sp_is_unchanging is set.
10073         * i386.c (ix86_epilogue): Optimize the restoring
10074         of the stack pointer.
10075
10076 Mon Oct 12 01:22:53 PDT 1998 Jeff Law  (law@cygnus.com)
10077
10078         * version.c: Bump for snapshot.
10079
10080 Sun Oct 11 23:04:30 1998  Robert Lipe  <robertl@dgii.com>
10081
10082         * c-pragma.c (handle_pragma_token): If passed a token instead
10083         of a tree, use that as the pack value.
10084
10085 Sun Oct 11 14:21:14 1998  Mark Mitchell  <mark@markmitchell.com>
10086
10087         * flow.c (find_basic_blocks_1): Fix prototype.
10088
10089 Sun Oct 11 05:03:41 1998  Ken Raeburn  <raeburn@cygnus.com>
10090
10091         * tree.h (DECL_NO_CHECK_MEMORY_USAGE): New macros.
10092         (struct tree_decl): New fields no_check_memory_usage.
10093         * c-common.c (enum attrs): Add A_NO_CHECK_MEMORY_USAGE.
10094         (init_attributes): Register it as a new attribute.
10095         (decl_attributes): Set flags on functions given that attribute.
10096         * c-decl.c (duplicate_decls): Merge new attribute.
10097         * expr.h (current_function_check_memory_usage): Declare new var.
10098         * calls.c, expr.c, function.c, stmt.c, alpha.c, clipper.c, m88k.c,
10099         pa.c, sparc.c: Replace uses of flag_check_memory_usage with
10100         current_function_check_memory_usage.
10101         * function.h: Add field to struct function.
10102         * function.c (current_function_check_memory_usage): Define it.
10103         (push_function_context_to, pop_function_context_from): Save and
10104         restore it.
10105         (expand_function_start): Set it, based on global flag and function
10106         attribute.
10107
10108         * expr.c (expand_expr, case VAR_DECL): In memory-checking code, do
10109         check non-automatic variables, to permit detection of writes to
10110         read-only locations in embedded systems without memory management.
10111         * calls.c (store_one_arg): Use ARGS_SIZE_RTX to get size of argument
10112         when emitting chkr_set_right_libfunc call, even if the argument is
10113         BLKmode or variable-sized; don't abort.
10114
10115         * optabs.c (init_optabs): Create Checker and __cyg_profile_*
10116         symbols in Pmode, not VOIDmode.
10117
10118 Sun Oct 11 01:03:05 1998  Zack Weinberg  <zack@rabi.phys.columbia.edu>
10119
10120         * cppexp.c: When forcing unsigned comparisons, cast both sides
10121         of the operation.
10122
10123         * cpphash.h: Move static declaration of hashtab[]...
10124         * cpphash.c: ...here.
10125
10126         * cpplib.c: Cast difference of two pointers to size_t before
10127         comparing it to size_t.  Cast signed to unsigned
10128         before comparing to size_t. (FIXME: struct argdata should use
10129         unsigned buffer sizes.)
10130         * cpplib.h (struct cpp_reader): Declare token_buffer_size as
10131         unsigned int. (CPP_WRITTEN): Cast return value to size_t.
10132         (CPP_RESERVE): Parenthesize N for evaluation order, cast to
10133         size_t before comparison.
10134
10135 Sun Oct 11 00:15:29 1998  Jeffrey A Law  (law@cygnus.com)
10136
10137         * flow.c (find_basic_blocks): Delete "live_reachable_p" argument.
10138         (find_basic_blocks_1): Similarly.
10139         * output.h (find_basic_blocks): Fix prototype.
10140         * gcse.c, toplev.c: Don't pass "live_reachable_p" argument to
10141         find_basic_blocks anymore.
10142
10143 Sat Oct 10 22:00:34 1998  Richard Henderson  <rth@cygnus.com>
10144
10145         * basic-block.h (EXECUTE_IF_SET_IN_SBITMAP): New macro.
10146         (sbitmap_free, sbitmap_vector_free): New macros.
10147         * output.h (rtl_dump_file): Declare.
10148
10149 Sat Oct 10 17:01:42 1998  Jeffrey A Law  (law@cygnus.com)
10150
10151         * regmove.c (optimize_reg_copy_3): Honor TRULY_NOOP_TRUNCATION.
10152
10153 Fri Oct  9 22:08:05 1998  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
10154
10155         * fp-bit.c (SFtype): Don't implicitly use int in declaration.
10156         (DFtype): Likewise.
10157         (_fpdiv_parts): Remove unused parameter `tmp', all callers changed.
10158         (divide): Remove unused variable `tmp'.
10159         (si_to_float): Cast numeric constant to (SItype) before comparing
10160         it against one.
10161
10162 Fri Oct  9 16:03:19 1998  Graham  <grahams@rcp.co.uk>
10163
10164         * flow.c (print_rtl_with_bb): Changed type of in_bb_p to match use.
10165         * gcc.c (add_preprocessor_option): Correct typo when allocating
10166         memory, sizeof() argument had one too many `*'.
10167         (add_assembler_option): Likewise.
10168         (add_linker_option): Likewise.
10169         * gcov.c (output_data): Likewise.
10170         * local-alloc.c (memref_used_between_p): Likewise.
10171         (update_equiv_regs): Likewise.
10172         * loop.c (strength_reduce): Likewise.
10173         * reg-stack.c (record_asm_reg_life): Likewise.
10174         (subst_asm_stack_reg): Likewise.
10175         * reorg.c (dbr_schedule): Likewise.
10176
10177 Fri Oct  9 15:57:51 1998  Bernd Schmidt <crux@Pool.Informatik.RWTH-Aachen.DE>
10178
10179         * flow.c (life_analysis_1): Break out some functions.
10180         (find_basic_blocks_1): Likewise.  Also move some variables out and
10181         make them static.
10182         Rename NONLOCAL_LABEL_LIST arg to NONLOCAL_LABELS and initialize
10183         new static var nonlocal_label_list with it.
10184         (active_eh_region, nested_eh_region, label_value_list,
10185         nonlocal_label_list): New static variables.
10186         (make_edges, delete_unreachable_blocks, delete_block): New static
10187         functions, broken out of find_basic_blocks_1.
10188         (record_volatile_insns, mark_regs_live_at_end, set_noop_p,
10189         noop_move_p): New static functions, broken out of life_analysis_1.
10190
10191 Fri Oct  9 15:49:29 1998  Richard Henderson  <rth@cygnus.com>
10192
10193         * expmed.c (store_bit_field): Pun non-integral str_rtx modes.
10194         Take extra care for op0 now possibly being a subreg.
10195         (extract_bit_field): Likewise.
10196         * function.c (purge_addressof_1): Revert Oct 4 change.  Drop
10197         the reg to memory if there is no equal sized integral mode.
10198         * stor-layout.c (int_mode_for_mode): New function.
10199         * machmode.h: Prototype it.
10200
10201 Fri Oct  9 14:26:44 1998  Jeffrey A Law  (law@cygnus.com)
10202
10203         * global.c (build_insn_chain): Verify no real insns exist past the
10204         end of the last basic block, then exit the loop.
10205
10206 Fri Oct  9 11:44:47 1998  David Edelsohn  <edelsohn@gnu.org>
10207
10208         * loop.c (insert_bct): Ensure loop_iteration_var non-zero before use.
10209
10210 Thu Oct  8 21:59:47 1998  Dave Brolley  <brolley@cygnus.com>
10211
10212         * emit-rtl.c (init_emit_once): Call INIT_EXPANDERS.
10213
10214 Thu Oct  8 22:03:45 1998  David Edelsohn  <edelsohn@gnu.org>
10215
10216         * rs6000.h (RTX_COSTS): Add PROCESSOR_PPC604e cases.
10217
10218 Thu Oct  8 17:00:18 1998  Richard Henderson  <rth@cygnus.com>
10219
10220         * flow.c (find_basic_blocks): Correctly determine when a call
10221         is within an exception region.
10222
10223 Thu Oct  8 17:15:04 1998  Jeffrey A Law  (law@cygnus.com)
10224
10225         * toplev.c (output_file_directive): Use DIR_SEPARATOR, not '/'.
10226
10227         * cpplib.h: Protect from multiple inclusions.
10228         * cpplib.c: Fix minor formatting problems.
10229
10230         * i386/xm-cygwin32.h: Only define POSIX if it is not already defined.
10231
10232         * jump.c (jump_optimize): Revert accidental patch.
10233
10234         * Makefile.in (cpplib.o): Use unlibsubdir.
10235
10236 Thu Oct  8 12:50:47 1998  Jim Wilson  <wilson@cygnus.com>
10237
10238         * loop.c (get_condition): Allow combine when either compare is
10239         VOIDmode.
10240
10241 Thu Oct 8 11:31:01 PDT 1998 Jeff Law  (law@cygnus.com)
10242
10243         * version.c: Bump for snapshot.
10244
10245 Thu Oct  8 12:21:14 1998  Richard Frith-Macdonald <richard@brainstorm.co.uk>
10246
10247         * c-lex.c (remember_protocol_qualifiers): Handle RID_BYREF.
10248         (init_lex): Initialize ridpointers[RID_BYREF].
10249         * c-lex.h (enum rid): Add RID_BYREF.
10250         * c-parse.gperf: Add RID_BYREF as a type qualifier.
10251         * objc/objc-act.c (is_objc_type_qualifiers): Handle RID_BYREF.
10252         (encode_type_qualifiers): Similarly
10253         * c-gperf.h: Rebuilt.
10254
10255 Thu Oct  8 05:56:00 1998  Jeffrey A Law  (law@cygnus.com)
10256
10257         * c-common.c (type_for_mode): Only return TItype nodes when
10258         HOST_BITS_PER_WIDE_INT is >= 64 bits.
10259         * c-decl.c (intTI_type_node, unsigned_intTI_type_node): Only declare
10260         when HOST_BITS_PER_WIDE_INT is >= 64 bits.
10261         (init_decl_processing): Only create TItype nodes when
10262         HOST_BITS_PER_WIDE_INT is >= 64 bits.
10263         * c-tree.h (intTI_type_node, unsigned_intTI_type_node): Only declare
10264         when HOST_BITS_PER_WIDE_INT is >= 64 bits.
10265
10266 Thu Oct  8 05:05:34 1998  Bernd Schmidt <crux@Pool.Informatik.RWTH-Aachen.DE>
10267
10268         * stmt.c (n_occurrences): New static function.
10269         (expand_asm_operands): Verify that all constrains match in the
10270         number of alternatives.
10271         Verify that '+' or '=' are at the beginning of an output constraint.
10272         Don't allow '&' for input operands.
10273         Verify that '%' isn't written for the last operand.
10274         * reload.c (find_reloads): Abort if an asm is found with invalid
10275         constraints; all possible problems ought to be checked for earlier.
10276
10277 Thu Oct  8 04:26:20 1998  Michael Hayes <m.hayes@elec.canterbury.ac.nz>
10278
10279         * flags.h (flag_branch_on_count_reg): Always declare 
10280         * toplev.c (flag_branch_on_count_reg): Likewise.
10281         * toplev.c: Fix typos.
10282
10283         * real.c (c4xtoe): Remove unused variables.  Add some missing parens.
10284         (toc4x): Similarly.
10285
10286 Thu Oct  8 01:25:22 1998  Richard Henderson  <rth@cygnus.com>
10287
10288         * flow.c (find_basic_blocks): Calc upper bound for extra nops in
10289         max_uids_for_flow.
10290         (find_basic_blocks_1): Add a nop to the end of a basic block when
10291         a trailing call insn does not have abnormal control flow.
10292         * gcse.c (pre_transpout): New variable.
10293         (alloc_pre_mem, free_pre_mem, dump_pre_data): Bookkeeping for it.
10294         (compute_pre_transpout): Calculate it.
10295         (compute_pre_ppinout): Use it to eliminate impossible placements
10296         due to abnormal control flow through calls.
10297         (compute_pre_data): Call compute_pre_transpout.
10298
10299 Wed Oct  7 21:40:24 1998  David S. Miller  <davem@pierdol.cobaltmicro.com>
10300
10301         * config/sparc/sol2-sld-64.h (ASM_CPU_SPEC): Fix typo.
10302
10303 Wed Oct  7 21:19:46 1998  Ken Raeburn  <raeburn@cygnus.com>
10304
10305         * config/mips/mips.md (tablejump_internal3, tablejump_internal4
10306         and matching define_insns): Tack on a `use' of the table label, so
10307         flow analysis will recognize a tablejump.
10308
10309 Wed Oct  7 17:33:39 1998  Richard Henderson  <rth@cygnus.com>
10310
10311         * gcse.c (pre_insert_insn): Tweek to notice that calls do not
10312         always end basic blocks for abnormal edge reasons.
10313
10314 Wed Oct  7 14:40:43 1998  Nick Clifton  <nickc@cygnus.com>
10315
10316         * config/i386/i386.h: Remove definition of
10317         HANDLE_PRAGMA_PACK_PUSH_POP.
10318         
10319         * config/i386/go32.h: Add definition of
10320         HANDLE_PRAGMA_PACK_PUSH_POP.
10321         
10322         * config/i386/win32.h: Add definition of
10323         HANDLE_PRAGMA_PACK_PUSH_POP.
10324         
10325         * config/i386/cygwin32.h: Add definition of
10326         HANDLE_PRAGMA_PACK_PUSH_POP.
10327
10328         * c-pragma.c (insert_pack_attributes): Do not insert
10329         attributes unless #pragma pack(push,<n>) is in effect.
10330
10331 Wed Oct  7 12:10:46 1998  Jim Wilson  <wilson@cygnus.com>
10332
10333         * expr.c (emit_group_store): Handle a PARALLEL destination.
10334
10335 Wed Oct  7 10:07:29 1998  Richard Henderson  <rth@cygnus.com>
10336
10337         * gcse.c (pre_insert_insn): When a call ends a bb, insert
10338         the new insns before the argument regs are loaded.
10339
10340 Wed Oct  7 12:55:26 1998  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
10341
10342         * Makefile.in (c-gperf.h): Add -L KR-C -F ', 0, 0' flags to gperf.
10343         (c-parse.gperf): Update comments describing invocation flags.
10344         (c-gperf.h): Regenerate using gperf 2.7.1 (19981006 egcs).
10345
10346 1998-10-07  Manfred Hollstein  <manfred@s-direktnet.de>
10347
10348         * reload1.c (reload): Call free before clobbering the memory
10349         locations or constants pointers.
10350
10351 Wed Oct  7 02:05:20 1998  David S. Miller  <davem@pierdol.cobaltmicro.com>
10352
10353         * config/sparc/sol2-sld-64.h (TRANSFER_FROM_TRAMPOLINE): Rework
10354         for efficiency by checking whether we need to modify the current
10355         stack permission at all.
10356         (ASM_OUTPUT_CONSTRUCTOR, ASM_OUTPUT_DESTRUCTOR): Define.
10357         * config/sparc/sparc.c (sparc_initialize_trampoline): Emit
10358         __enable_execute_stack libcall here too if
10359         TRANSFER_FROM_TRAMPOLINE is defined.
10360         * config/sparc/sparc.h: Set TARGET_ARCH32 to a constant if
10361         IN_LIBGCC2.
10362
10363 Wed Oct  7 02:27:52 1998  Jeffrey A Law  (law@cygnus.com)
10364
10365         * Makefile.in (DRIVER_DEFINES): Remove last change.
10366         
10367 Wed Oct  7 01:08:43 1998  Bernd Schmidt <crux@Pool.Informatik.RWTH-Aachen.DE>
10368
10369         * jump.c (duplicate_loop_exit_test): Strip REG_WAS_0 notes off all
10370         insns we're going to copy.
10371         * regclass.c (reg_scan_mark_refs): Don't test X for NULL_RTX.
10372
10373         * loop.c (count_one_set): Add prototype.
10374
10375         * caller-save.c (restore_referenced_regs): Lose mode argument.
10376         (insert_save): Lose mode argument.
10377         (insert_restore): Lose mode argument.
10378         (insert_one_insn): Lose mode argument.
10379         (save_call_clobbered_regs): Lose mode argument.
10380         (setup_save_areas): Take no argument and return void.  All callers
10381         changed.
10382         Don't verify validity of memory addresses.
10383         * reload.h (setup_save_ares): Adjust prototype.
10384         (save_call_clobbered_regs): Likewise.
10385         * reload1.c (delete_caller_save_insns): New function.
10386         (caller_save_spill_class): Delete variable.
10387         (caller_save_group_size): Delete variable.
10388         (reload): Call setup_save_areas and save_call_clobbered_regs
10389         in the main loop, before calling calculate_needs_all_insns.
10390         Don't call save_call_clobbered_regs after the loop.
10391         Call delete_caller_save_insns at the end of an iteration if
10392         something changed.
10393         Delete code to manage caller_save_spill_class.
10394         Emit the final note before setting reload_first_uid.
10395         Simplify test that determines whether reload_as_needed gets run.
10396         (calculate_needs): Delete code to manage caller_save_spill_class.
10397
10398 Tue Oct  6 15:42:27 1998  Richard Henderson  <rth@cygnus.com>
10399
10400         * collect2.c (main): Initialize ld_file_name.
10401
10402 Tue Oct  6 15:45:15 1998  Catherine Moore  <clm@cygnus.com>
10403  
10404         * config/sparc/sysv4.h (ASM_OUTPUT_SECTION_NAME):  Don't
10405         check for flag_function_sections.
10406
10407 Tue Oct  6 20:02:31 1998  J"orn Rennecke <amylaar@cygnus.co.uk>
10408
10409         * cse.c (insert_regs): Fix bug in Sep 24 change.
10410
10411 Tue Oct  6 17:00:42 1998  J"orn Rennecke <amylaar@cygnus.co.uk>
10412
10413         * flags.h (flag_dump_unnumbered): Declare.
10414         * toplev.c (flag_dump_unnumbered): Don't declare.
10415         * print-rtl.c (flags.h): Include.
10416         (print_rtl_single): Add return value.
10417         * rtl.h (print_rtl_single): Update declaration.
10418         * flow.c (flag_dump_unnumbered): Don't declare.
10419         (print_rtl_with_bb): Use return value of print_rtl_single.
10420
10421 Tue Oct  6 01:36:00 1998  Bernd Schmidt <crux@Pool.Informatik.RWTH-Aachen.DE>
10422
10423         * loop.c (count_one_set): New static function, broken out of
10424         count_loop_regs_set
10425         (count_loop_regs_set): Call it.
10426         * global.c (mark_reg_store): Handle clobbers here by not calling
10427         set_preference.
10428         (mark_reg_clobber): Just call mark_reg_store after ensuring SETTER
10429         is in fact a clobber.
10430         * integrate.c (process_reg_param): New function, broken out of
10431         expand_inline_function.
10432         (expand_inline_function): Call it.
10433
10434
10435         * i386.md (addsidi3_1): Delete unused variable temp.
10436         (addsidi3_2): Likewise.
10437         (clstrstrsi): Delete unused variable addr1.
10438
10439         * rtl.h: Don't declare any functions also declared in recog.h.
10440
10441         * Makefile.in (stupid.o): Update dependencies.
10442         (global.o): Likewise.
10443
10444         * global.c: Include reload.h
10445         (reg_becomes_live): New function.
10446         (reg_dies): New function.
10447         (build_insn_chain): New function.
10448         (global_alloc): Call build_insn_chain before calling reload.
10449
10450         * reload.h (struct needs): New structure definition.
10451         (struct insn_chain): Likewise.
10452         (reload_insn_chain): Declare variable.
10453         (new_insn_chain): Declare function.
10454
10455
10456         * reload1.c (reload_startobj): New variable.
10457         (reload_insn_chain): New variable.
10458         (unused_insn_chains): New variable.
10459         (new_insn_chain): New function.
10460         (init_reload): Initialize reload_startobj, not reload_firstobj.
10461         (reload): Initialize reload_firstobj.
10462         Before returning, free everything on the reload_obstack.
10463
10464         * stupid.c: Include insn-config.h, reload.h and basic-block.h.
10465         (reg_where_dead_chain, reg_where_born_exact, reg_where_born_clobber,
10466         current_chain): New variables.
10467         (reg_where_born): Delete variable.
10468         (REG_WHERE_BORN): New macro.
10469         (find_clobbered_regs): New function.
10470         (stupid_life_analysis): Don't allocate/free reg_where_born.
10471         Allocate and free reg_where_born_exact, reg_where_born_clobber,
10472         reg_where_dead_chain.
10473         Use REG_WHERE_BORN instead of reg_where_born.
10474         While processing the insns, build the reload_insn_chain with
10475         information about register lifetimes.
10476         (stupid_reg_compare): Use REG_WHERE_BORN instead of reg_where_born.
10477         (stupid_mark_refs): Replace arg INSN with arg CHAIN.  All callers
10478         changed.
10479         Compute and information about birth and death of pseudo registers in
10480         reg_where_dead_chain, reg_where_born_exact and reg_where_born_clobber.
10481         Delete code to set elements of reg_where_born.  
10482
10483 Mon Oct  5 22:34:30 1998  Alexandre Petit-Bianco  <apbianco@cygnus.com>
10484
10485         * tree.def (GOTO_EXPR): Modified documentation.
10486         * expr.c (expand_expr): Expand GOTO_EXPR into a goto or a computed
10487         goto.
10488
10489 Mon Oct  5 22:43:36 1998  David Edelsohn  <edelsohn@gnu.org>
10490
10491         * unroll.c (loop_iteration_var, loop_initial_value, loop_increment
10492         loop_final_value, loop_comparison_code): No longer static.
10493         (unroll_loop): Delete loop_start_value update.
10494         * loop.h (loop_iteration_var, loop_initial_value, loop_increment,
10495         loop_final_value, loop_comparison_code): Extern.
10496         (loop_start_value): Delete extern.
10497         * loop.c (loop_can_insert_bct, loop_increment, loop_start_value,
10498         loop_comparison_value, loop_comparison_code): Delete.
10499         (loop_optimize): Remove initialization for deleted variables.
10500         (strength_reduce): Delete analyze_loop_iterations call.  Only call
10501         insert_bct if flag_branch_count_on_reg set.
10502         (analyze_loop_iterations): Delete.
10503         (insert_bct): Remove iteration count calculation.  Move checks for
10504         viable BCT optimization to here.  Obtain iteration count from
10505         loop_iterations and correct for unrolling.  Check for enough
10506         iteration to be beneficial.  Comment out runtime iteration count
10507         case.
10508         (insert_bct): Print iteration count in dump file.  Remove
10509         loop_var_mode and use word_mode directly.
10510
10511         * rs6000.h (processor_type): Add PROCESSOR_PPC604e.
10512         * rs6000.c (rs6000_override_options): Use it.
10513         (optimization_options): Enable use of flag_branch_on_count_reg.
10514         * rs6000.md (define_function_unit): Describe 604e.
10515
10516 1998-10-05 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
10517
10518         * loop.c (move_movables): Corrected threshold calculation for
10519         moved_once registers.
10520
10521 Mon Oct  5 21:18:45 1998  Bernd Schmidt <crux@Pool.Informatik.RWTH-Aachen.DE>
10522
10523         * loop.c (combine_givs_p): Fix test for identical givs.
10524
10525 Mon Oct  5 10:11:28 1998  Nick Clifton  <nickc@cygnus.com>
10526
10527         * dwarf2out.c (gen_subprogram_die): If errorcount nonzero, don't
10528         call abort if the function is already defined.
10529
10530 Mon Oct  5 10:02:36 1998  Jeffrey A Law  (law@cygnus.com)
10531
10532         * combine.c (simplify_rtx): Do not replace TRUNCATE with a SUBREG if
10533         truncation is not a no-op.
10534
10535 Mon Oct 5 09:02:04 PDT 1998 Jeff Law  (law@cygnus.com)
10536
10537         * version.c: Bump for snapshot.
10538
10539 Mon Oct 5 08:19:55 PDT 1998 Jeff Law  (law@cygnus.com)
10540
10541         * version.c: Bump for snapshot.
10542
10543 Mon Oct  5 01:07:23 1998  Torbjorn Granlund  <tege@matematik.su.se>
10544
10545         * expmed.c (expand_divmod): Don't widen for computing remainder
10546         if we seem to have a divmod pattern for needed mode.
10547
10548 Mon Oct  5 01:01:42 1998  Zack Weinberg  <zack@rabi.phys.columbia.edu>  
10549
10550         * cpplib.c (macroexpand): Correct off-by-one error in handling
10551         of escapes.
10552
10553 Sun Oct  4 23:58:30 1998  Richard Henderson  <rth@cygnus.com>
10554
10555         * combine.c (expand_field_assignment): Don't do bitwise operations
10556         on MODE_FLOAT; pun to MODE_INT if possible.
10557
10558 Sun Oct  4 18:33:24 1998  Jason Merrill  <jason@yorick.cygnus.com>
10559                           scott snyder  <snyder@d0sgif.fnal.gov>
10560
10561         * tlink.c (scan_linker_output): Recognize errors from irix 6.2
10562         linker.  Recognize mangled names in quotes.
10563
10564 Sun Oct  4 02:58:20 1998  Jakub Jelinek  <jj@sunsite.ms.mff.cuni.cz>
10565
10566         * config/sparc/sparc.md (ashldi3+1): Name it ashldi3_sp64.
10567         (ashlsi3_const1, ashldi3_const1): New combiner patterns.
10568         (ashrsi3_extend, ashrsi3_extend2): New combiner patterns.
10569         (lshrsi3_extend, lshrsi3_extend2): Ditto.
10570
10571 Sun Oct  4 00:23:00 1998  David S. Miller  <davem@pierdol.cobaltmicro.com>
10572
10573         * function.c (purge_addressof_1): If trying to take a sub-word
10574         integral piece of a floating point mode, put it on the stack.
10575
10576 Sat Oct  3 19:01:03 1998  Richard Henderson  <rth@cygnus.com>
10577
10578         * alpha/linux.h (CPP_PREDEFINES): Define __alpha__ for imake.
10579
10580 Sat Oct  3 14:42:19 1998  Jason Merrill  <jason@yorick.cygnus.com>
10581
10582         * PROJECTS: Remove template friends.
10583
10584         * collect2.c (sort_ids): Remove unused variable.
10585
10586         * tm.texi (MATH_LIBRARY): Document.
10587         (NEED_MATH_LIBRARY): Remove.
10588
10589         * varasm.c (assemble_start_function, assemble_variable, weak_finish,
10590         assemble_alias): Do ASM_GLOBALIZE_LABEL for weak symbols, too.
10591
10592 Sat Oct  3 16:14:44 1998  John Carr  <jfc@mit.edu>
10593
10594         * dwarf2out.c (expand_builtin_dwarf_reg_size):  Initialize
10595         last_end to 0x7fffffff.
10596
10597 Fri Oct  2 19:14:20 1998  David S. Miller  <davem@pierdol.cobaltmicro.com>
10598
10599         * function.c (purge_addressof_1): Do not perform endianness
10600         corrections on bitpos, who we call will do it for us.
10601
10602 Fri Oct  2 11:52:35 1998  Jeffrey A Law  (law@cygnus.com)
10603
10604         * h8300.c (WORD_REG_USED): Fix typo.
10605         (initial_offset): Use WORD_REG_USED.
10606
10607         * h8300.c (handle_pragma): Fix typo.
10608
10609 Fri Oct  2 10:51:35 1998  Bernd Schmidt <crux@Pool.Informatik.RWTH-Aachen.DE>
10610
10611         * caller-save.c (insert_save_restore): Break this function up
10612         into new functions insert_restore, insert_save and insert_one_insn.
10613         All callers changed.
10614         (insert_restore): New function, mostly broken out of
10615         insert_save_restore.
10616         (insert_save): Likewise.
10617         (insert_one_insn): Likewise.
10618         (restore_referenced_regs): New argument BLOCK.  All callers changed.
10619         (save_call_clobbered_regs): Don't keep track of basic block boundaries
10620         in this function, do it in insert_one_insn instead.
10621
10622         * reload1.c (reload): Break out some more pieces into separate
10623         functions.
10624         (dump_needs): New function, broken out of reload.
10625         (set_initial_elim_offsets): Likewise.
10626         (init_elim_table): Likewise.
10627         (update_eliminables): Likewise.
10628
10629         * global.c (global_alloc): Delete code to manage the scratch_list.
10630         * local-alloc.c (qty_scratch_rtx): Delete.
10631         (scratch_block): Delete.
10632         (scratch_list): Delete.
10633         (scratch_list_length): Delete.
10634         (scratch_index): Delete.
10635         (alloc_qty_for_scratch): Delete.
10636         (local-alloc): Update initialization of max_qty.
10637         Delete code to manage the scratch list.
10638         Delete code to allocate/initialize qty_scratch_rtx.
10639         (block_alloc): Don't allocate quantities for scratches.
10640         Delete code to manage the scratch list.
10641         * regs.h (scratch_list): Delete declaration.
10642         (scratch_block): Delete declaration.
10643         (scratch_list_length): Delete declaration.
10644         * reload1.c (reload): Delete code to manage the scratch list.
10645         (spill_hard_reg): Likewise.
10646         (mark_scratch_live): Delete.
10647
10648         * recog.c (alter_subreg): Delete declaration.
10649
10650 1998-10-02  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
10651
10652         * Makefile.in (cccp.o): Fix typo in last patch.
10653
10654 Fri Oct  2 16:13:12 1998  J"orn Rennecke <amylaar@cygnus.co.uk>
10655
10656         * t-sh (LIB1ASMFUNCS): Add _set_fpscr .
10657         * config/sh/lib1funcs.asm (___set_fpscr): Add.
10658
10659 Fri Oct  2 02:01:59 1998  Jeffrey A Law  (law@cygnus.com)
10660
10661         * regclass.c (reg_scan_mark_refs): Return immediately if passed a
10662         NULL_RTX as an argument.
10663
10664         * Makefile.in (unlibsubdir): Define.
10665         (DRIVER_DEFINES): Use unlibsubdir.
10666         (cccp.o, cpplib.o, protoize.o, unprotoize.o): Similarly.
10667         (stmp-fixinc): Similarly.
10668
10669 Thu Oct  1 19:58:30 1998  Bernd Schmidt <crux@Pool.Informatik.RWTH-Aachen.DE>
10670
10671         * regmove.c (regmove_optimize): Add variable old_max_uid.
10672         At the end of the function, update basic_block_end.
10673
10674 Thu Oct  1 17:58:25 1998  David S. Miller  <davem@pierdol.cobaltmicro.com>
10675
10676         * dwarf2out.c (expand_builtin_dwarf_reg_size): Use
10677         FIRST_PSEUDO_REGISTER as upper bound for last_end, not an
10678         arbitrary constant.
10679
10680 Thu Oct  1 17:57:14 1998  Nick Clifton  <nickc@cygnus.com>
10681
10682         * config/arm/arm.c: Improve interworking support.
10683
10684 Thu Oct  1 18:43:35 1998  J"orn Rennecke <amylaar@cygnus.co.uk>
10685
10686         * reload1.c (choose_reload_regs): Fix test if reload_reg_rtx[r] was
10687         copied from reload_out[r] .
10688
10689 Thu Oct  1 19:20:09 1998  John Carr  <jfc@mit.edu>
10690
10691         * dwarf2out.c (expand_builtin_dwarf_reg_size): Fix to work
10692         with more than three size ranges.
10693
10694         * flow.c (sbitmap_copy): Use bcopy to copy bitmap.
10695
10696         * rtl.c (mode_name): Add a null string at the end of the array.
10697         (mode_wider_mode): Change type to unsigned char.
10698         (mode_mask_array): New variable.
10699         (init_rtl): Update for mode_wider_mode type change.
10700
10701         * rtl.h (mode_wider_mode): Change type to unsigned char.
10702         (mode_mask_array): Declare.
10703         (GET_MODE_MASK): Use mode_mask_array.
10704
10705 Thu Oct  1 15:56:01 1998  Gavin Romig-Koch  <gavin@cygnus.com>
10706
10707         * calls.c (expand_call) : Encapsulate code into 
10708         copy_blkmode_from_reg.
10709         * expr.c (copy_blkmode_from_reg): New function.
10710         * expr.h (copy_blkmode_from_reg): New function.
10711         * integrate.c (function_cannot_inline_p): We can inline
10712         these now.
10713         (expand_inline_function): Use copy_blkmode_from_reg
10714         if needed.  Avoid creating BLKmode REGs.
10715         (copy_rtx_and_substitute): Don't try to SUBREG a BLKmode
10716         object.
10717
10718 Thu Oct  1 10:42:27 1998  Nick Clifton  <nickc@cygnus.com>
10719
10720         * config/v850/v850.c: Add function prototypes.
10721         Add support for v850 special data areas.
10722
10723         * config/v850/v850.h: Add support for v850 special data areas.
10724         
10725         * c-pragma.c: Add support for HANDLE_PRAGMA_PACK and
10726         HANDLE_PRAGMA_PACK_PUSH_POP.
10727         (push_alignment): New function: Cache an alignment requested
10728         by a #pragma pack(push,<n>).
10729         (pop_alignment): New function: Pop an alignment from the
10730         alignment stack.
10731         (insert_pack_attributes): New function: Generate __packed__
10732         and __aligned__ attributes for new decls whilst a #pragma pack
10733         is in effect. 
10734         (add_weak): New function: Cache a #pragma weak directive.
10735         (handle_pragma_token): Document calling conventions.  Add
10736         support for #pragma pack(push,<n>) and #pragma pack (pop).
10737
10738         * c-pragma.h: If HANDLE_SYSV_PRAGMA or HANDLE_PRAGMA_PACK_PUSH_POP
10739         are defined enable HANDLE_PRAGMA_PACK.
10740         Move 'struct weak_syms' here (from varasm.c).
10741         Add pragma states for push and pop pragmas.
10742
10743         * c-common.c (decl_attributes): Call PRAGMA_INSERT_ATTRIBUTES
10744         if it is defined.
10745
10746         * c-lex.c: Replace occurances of HANDLE_SYSV_PRAGMA with
10747         HANDLE_GENERIC_PRAGMAS.
10748         
10749         * varasm.c: Move definition of 'struct weak_syms' into
10750         c-pragma.h. 
10751         (handle_pragma_weak): Deleted.
10752
10753         * config/i386/i386.h: Define HANDLE_PRAGMA_PACK_PUSH_POP.
10754
10755         * config/winnt/win-nt.h: Define HANDLE_PRAGMA_PACK_PUSH_POP.
10756
10757         * c-decl.c (start_function): Add invocation of
10758         SET_DEFAULT_DECL_ATTRIBUTES, if defined.
10759
10760         * tm.texi: Remove description of non-existant macro
10761         SET_DEFAULT_SECTION_NAME.
10762         
10763         (HANDLE_SYSV_PRAGMA): Document.
10764         (HANDLE_PRAGMA_PACK_PUSH_POP): Document.
10765
10766 Wed Sep 30 22:27:53 1998  Robert Lipe  <robertl@dgii.com>
10767
10768         * config.sub: Recognize i[34567]86-pc-udk as new target.
10769         * configure.in: Likewise.
10770         * config/i386/t-udk: New file.
10771         * config/i386/udk.h: New file.
10772
10773 Wed Sep 30 19:33:07 1998  Jeffrey A Law  (law@cygnus.com)
10774
10775         * reorg.c (check_annul_list_true_false): Remove unused variables.
10776         (steal_delay_list_from_target): Add missing "used_annul" variable.
10777         (try_merge_delay_insns): Close out half formed comment.
10778
10779 Wed Sep 30 19:13:20 1998 Zack Weinberg  <zack@rabi.phys.columbia.edu>  
10780
10781         * cpplib.c (macroexpand): If arg->raw_before or
10782         arg->raw_after, remove any no-reexpansion escape at the
10783         beginning of the pasted token.  Correct handling of whitespace
10784         markers and no-reexpand markers at the end if arg->raw_after.
10785
10786         * toplev.c (documented_lang_options): Recognize -include,
10787         -imacros, -iwithprefix, -iwithprefixbefore.
10788         * cpplib.c (cpp_start_read): Process -imacros and -include
10789         switches at the same time and in command-line order, after
10790         initializing the dependency-output code.  Emit properly nested
10791         #line directives for them.  Emit a #line for the main file
10792         before processing these switches, and don't do it again
10793         afterward.
10794
10795 Wed Sep 30 18:03:22 1998  Richard Henderson  <rth@cygnus.com>
10796
10797         * function.c (purge_addressof_1): Use bitfield manipulation
10798         routines to handle mem mode < reg mode.
10799
10800 Wed Sep 30 18:43:32 1998  Herman ten Brugge <Haj.Ten.Brugge@net.HCC.nl> 
10801
10802         * reorg.c (try_merge_delay_insns): Account for resources referenced
10803         in each instruction in INSN's delay list before trying to eliminate
10804         useless instructions.  Similarly when looking at a trial insn's delay
10805         slots.
10806
10807         * reorg.c (check_annul_list_true_false): New function.
10808         (steal_delay_list_from_{target,fallthrough}): Call it and also
10809         refine tests for when we may annul if already filled a slot.
10810         (fill_slots_from_thread): Likewise.
10811         (delete_from_delay_slot): Return newly-created thread.
10812         (try_merge_delay_isns): Use its new return value.
10813
10814 Wed Sep 30 18:29:26 1998  Jeffrey A Law  (law@cygnus.com)
10815
10816         * loop.c (check_dbra_loop): Use a vanilla loop reversal if the biv is
10817         used to compute a giv or as some other non-counting use.
10818
10819 Wed Sep 30 18:19:27 1998  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
10820
10821         * regs.h (HARD_REGNO_CALL_PART_CLOBBERED):  New macro.
10822         * local-alloc.c (find_free_reg): Use it.
10823         * global.c (find_reg): Likewise.
10824         * tm.texi: Document HARD_REGNO_CALL_PART_CLOBBERED.
10825
10826         * regs.h (HARD_REGNO_CALLER_SAVE_MODE): New macro.
10827         * caller-save.c (init_caller_save): Use it.
10828         * tm.texi: Document HARD_REGNO_CALLER_SAVE_MODE.
10829
10830 Wed Sep 30 12:57:30 1998 Zack Weinberg  <zack@rabi.phys.columbia.edu>  
10831
10832         * configure.in: Add --enable-cpplib option which uses cpplib
10833         for cpp, but doesn't link cpplib into cc1.  Make help text
10834         capitalization consistent.
10835         * configure: Rebuilt.
10836
10837 Wed Sep 30 10:09:39 1998  Mark Mitchell  <mark@markmitchell.com>
10838
10839         * function.c (gen_mem_addressof): If the address REG is
10840         REG_USERVAR_P make the new REG be so also.
10841         * loop.c (scan_loop): Apply DeMorgan's laws and add documentation
10842         in an attempt to clarify slightly.
10843
10844 Wed Sep 30 09:57:40 1998  Jeffrey A Law  (law@cygnus.com)
10845
10846         * expr.c (expand_expr): Handle COMPONENT_REF, BIT_FIELD_REF ARRAY_REF
10847         and INDIRECT_REF in code to check MAX_INTEGER_COMPUTATION_MODE.
10848
10849 Wed Sep 30 10:13:39 1998  Catherine Moore  <clm@cygnus.com>
10850
10851         * toplev.c:  Fix last patch.
10852
10853 Tue Sep 29 20:03:18 1998  Jim Wilson  <wilson@cygnus.com>
10854
10855         * loop.c (get_condition): Fix typo in May 9 change.
10856
10857 Tue Sep 29 11:11:38 EDT 1998  Andrew MacLeod  <amacleod@cygnus.com>
10858
10859         * invoke.texi (-fexceptions): Merge 2 different descriptions.
10860
10861 Mon Sep 28 22:08:52 1998  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
10862
10863         * toplev.c (documented_lang_options): Spelling corrections.
10864
10865 Mon Sep 28 19:41:24 1998  Alexandre Oliva  <oliva@dcc.unicamp.br>
10866
10867         * configure.in: new flags --with-ld and --with-as, equivalent
10868         to setting LD and AS environment variables.  Test whether
10869         specified arguments are GNU commands, and report them with
10870         checking messages.  Use the specified AS for configure
10871         tests too.
10872         * configure: ditto
10873         * acconfig.h: add DEFAULT_ASSEMBLER and DEFAULT_LINKER
10874         * config.in: ditto
10875         * gcc.c (find_a_file): when looking for `as' and `ld', return
10876         the DEFAULT program if it exists
10877         * collect2.c (main): use DEFAULT_LINKER if it exists
10878
10879         * gcc.c (find_a_file): the test for existence of a full
10880         pathname was reversed
10881
10882 Mon Sep 28 17:34:35 1998  Michael Meissner  <meissner@cygnus.com>
10883
10884         * rs6000.h (ASM_OUTPUT_MI_THUNK): Only define on ELF systems.
10885         * rs6000.c (output_mi_thunk): Always use a raw jump for now.
10886
10887 Mon Sep 28 14:24:03 1998  Mark Mitchell  <mark@markmitchell.com>
10888
10889         * tree.h (TYPE_BINFO): Document.
10890
10891 Mon Sep 28 12:55:49 1998   Stan Cox  <scox@cygnus.com>
10892
10893         * i386-coff.h (dbxcoff.h): Added.
10894
10895 Mon Sep 28 12:51:00 1998  Catherine Moore  <clm@cygnus.com>
10896
10897         * toplev.c:  fix bad patch around flag_data_sections.
10898
10899 Mon Sep 28 10:32:28 1998  Nick Clifton  <nickc@cygnus.com>
10900
10901         * reload1.c (reload): Use reload_address_index_reg_class and 
10902         reload_address_base_reg_class when setting
10903         caller_save_spill_class.  (Patch generated by Jim Wilson:
10904         wilson@cygnus.com).
10905
10906 Mon Sep 28 07:43:34 1998  Mark Mitchell  <mark@markmitchell.com>
10907
10908         * c-common.c (c_get_alias_set): Tighten slightly for FUNCTION_TYPEs
10909         and ARRAY_TYPEs.  Tidy up.  Improve support for type-punning. 
10910         * expr.c (store_field): Add alias_set parameter.  Set the
10911         MEM_ALIAS_SET accordingly, if the target is a MEM.
10912         (expand_assignment): Use it.
10913         (store_constructor_field): Pass 0.
10914         (expand_expr): Likewise.
10915
10916 Mon Sep 28 07:54:03 1998  Catherine Moore  <clm@cygnus.com>
10917  
10918         * flags.h:  Add flag_data_sections.
10919         * toplev.c:  Add option -fdata-sections.  Add flag_data_sections.
10920         (compile_file):  Error if flag_data_sections not supported.
10921         * varasm.c (assemble_variable):  Handle flag_data_sections.
10922         * config/svr4.h:  Modify prefixes for UNIQUE_SECTION_NAME.
10923         * config/mips/elf.h:  Likewise.
10924         * config/mips/elf64.h:  Likewise.
10925         * invoke.texi:  Describe -fdata-sections.
10926  
10927 Mon Sep 28 04:15:44 1998  Craig Burley  <burley@melange.gnu.org>
10928
10929         * invoke.texi (-ffloat-store): Clarify that this option
10930         does not affect intermediate results -- only variables.
10931
10932 Mon Sep 28 04:11:35 1998  Jeffrey A Law  (law@cygnus.com)
10933
10934         * cpp.texi: Update for Fortran usage from Craig.
10935
10936 Fri Sep 25 22:09:47 1998  David Edelsohn  <edelsohn@gnu.org>
10937
10938         * rs6000.c (function_arg_boundary): Revert accidental change on
10939         September 18.
10940
10941 Fri Sep 25 20:30:00 1998  Michael Meissner  <meissner@cygnus.com>
10942
10943         * rs6000.h (ASM_OUTPUT_MI_THUNK): Declare, call output_mi_thunk.
10944         (output_mi_thunk): Declare.
10945
10946         * rs6000.c (output_mi_thunk): Function to create thunks for MI.
10947         (output_function_profiler): Use r12 for temp, instead of r11 so
10948         that we preserve the static chain register.
10949         
10950 Fri Sep 25 14:18:33 1998  Jim Wilson  <wilson@cygnus.com>
10951
10952         * sdbout.c (sdbout_one_type): Don't look at TYPE_BINFO field of enums.
10953
10954 Fri Sep 25 19:30:19 1998  J"orn Rennecke <amylaar@cygnus.co.uk>
10955
10956         * sh.c (gen_shl_sext): Fix case 5.
10957
10958 Fri Sep 25 17:35:23 1998  J"orn Rennecke <amylaar@cygnus.co.uk>
10959
10960         * reload1.c (reload_combine): Re-add line that got accidentally lost.
10961
10962 Fri Sep 25 10:43:47 1998  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
10963
10964         * cccp.c (pedwarn_with_file_and_line): For !__STDC__ case, avoid
10965         accessing variables until they are initialized via va_arg().
10966
10967 Thu Sep 24 22:12:16 1998  David S. Miller  <davem@pierdol.cobaltmicro.com>
10968
10969         * reload1.c (reload_combine): Initialize set before using.
10970
10971 Thu Sep 24 18:53:20 1998  Jason Merrill  <jason@yorick.cygnus.com>
10972
10973         * sdbout.c (sdbout_field_types): Don't emit the types of fields we
10974         won't be emitting.
10975
10976 Thu Sep 24 17:05:30 1998  Nick Clifton  <nickc@cygnus.com>
10977
10978         * config/arm/arm.md (insv): Add comment.  In CONST_INT case, and
10979         operand3 with mask before using it.  Patch provided by Jim Wilson.
10980
10981 Thu Sep 24 15:08:08 1998  Jakub Jelinek  <jj@sunsite.ms.mff.cuni.cz>
10982
10983         * config/sparc/sparc.c (function_value): Perform the equivalent of
10984         PROMOTE_MODE for ARCH64.
10985         (eligible_for_epilogue_delay): Allow DImode operations in delay
10986         slot of a return for ARCH64.
10987
10988 Thu Sep 24 22:17:54 1998  J"orn Rennecke <amylaar@cygnus.co.uk>
10989
10990         * sh.md (sqrtsf2): Fix mode of sqrt.
10991
10992 Thu Sep 24 21:48:51 1998  J"orn Rennecke <amylaar@cygnus.co.uk>
10993
10994         * reload1.c (choose_reload_regs): Also try inheritance when
10995         reload_in is a stack slot of a pseudo, even if we already got a
10996         reload reg.
10997
10998 Thu Sep 24 21:22:39 1998  J"orn Rennecke <amylaar@cygnus.co.uk>
10999
11000         * reload1.c (reload_cse_regs_1): Renamed from reload_cse_regs.
11001         (reload_cse_regs): New function body: call reload_cse_regs_1,
11002         reload_combine, reload_cse_move2add.
11003         When doing expensive_optimizations, call reload_cse_regs_1 a
11004         second time after reload_cse_move2add.
11005         (reload_combine, reload_combine_note_store): New functions.
11006         (reload_combine_note_use): New function.
11007         (reload_cse_move2add, move2add_note_store): New functions.
11008
11009 Thu Sep 24 18:48:43 1998  J"orn Rennecke <amylaar@cygnus.co.uk>
11010
11011         * reload.c (find_reloads): In code to promote RELOAD_FOR_X_ADDR_ADDR
11012         reloads to RELOAD_FOR_X_ADDRESS reloads, test for reload sharing.
11013
11014         Properly keep track of first RELOAD_FOR_X_ADDRESS also for
11015         more than 3 such reloads.
11016
11017         If there is not more than one RELOAD_FOR_X_ADDRESS, don't change
11018         RELOAD_FOR_X_ADDR_ADDR reload.
11019
11020 Thu Sep 24 17:45:55 1998  J"orn Rennecke <amylaar@cygnus.co.uk>
11021
11022         * expr.c (store_constructor): When initializing a field that is smaller
11023         than a word, at the start of a word, try to widen it to a full word.
11024
11025         * cse.c (cse_insn): When we are about to change a register,
11026         remove any invalid references to it.
11027
11028         (remove_invalid_subreg_refs): New function.
11029         (mention_regs): Special treatment for SUBREGs.
11030         (insert_regs): Don't strip SUBREG for call to mention_regs.
11031         Check if reg_tick needs to be bumped up before that call.
11032         (lookup_as_function): Try to match known word_mode constants when
11033         looking for a norrower constant.
11034         (canon_hash): Special treatment for SUBREGs.
11035
11036 Thu Sep 24 01:35:34 1998  David S. Miller  <davem@pierdol.cobaltmicro.com>
11037
11038         * config/sparc/sol2-sld-64.h (TRANSFER_FROM_TRAMPOLINE): Define.
11039         * config/sparc/sparc.c (sparc64_initialize_trampoline): If that is
11040         defined, emit libcall to __enable_execute_stack.  Also fix opcodes
11041         and offsets in actual stack trampoline code so they match the
11042         commentary and actually work.
11043
11044 Thu Sep 24 01:19:02 1998  Jakub Jelinek  <jj@sunsite.ms.mff.cuni.cz>
11045
11046         * configure.in (sparcv9-*-solaris): Use t-sol2 and t-sol2-64 for
11047         tmake_file.
11048         (sparc64-*-linux): Use t-linux and sparc/t-linux64 for
11049         tmake_file.  Set extra_parts to needed crt objects.
11050         * configure: Rebuilt.
11051         * config/sparc/linux64.h (SPARC_BI_ARCH): Define.
11052         (TARGET_DEFAULT): Set if default is v9 or ultra.
11053         (STARTFILE_SPEC32, STARTFILE_SPEC64): New macros.
11054         (STARTFILE_SPEC): Set to those upon SPARC_BI_ARCH.
11055         (ENDFILE_SPEC32, ENDFILE_SPEC64, ENDFILE_SPEC): Likewise.
11056         (SUBTARGET_EXTRA_SPECS, LINK_ARCH32_SPEC, LINK_ARCH64_SPEC,
11057         LINK_SPEC, LINK_ARCH_SPEC): Likewise.
11058         (TARGET_VERSION): Define.
11059         (MULTILIB_DEFAULT): Define.
11060         * config/sparc/sparc.h (CPP_CPU_DEFAULT_SPEC): Rearrange so that
11061         mixed 32/64 bit compilers based upon SPARC_BI_ARCH work.
11062         (CPP_CPU64_DEFAULT_SPEC, CPP_CPU32_DEFAULT_SEC): Define
11063         appropriately.
11064         (TARGET_SWITCHES): Allow ptr32/ptr64 options once more.
11065         * config/sparc/sparc.c (sparc_override_options): If arch and
11066         pointer size disagree, emit diagnostic and fix it up.  If
11067         SPARC_BI_ARCH and TARGET_ARCH32, set cmodel to CM_32.  Turn off
11068         V8PLUS in 64-bit mode.
11069         * config/sparc/t-linux64: New file.
11070         * config/sparc/t-sol2-64: New file.
11071         * config/sparc/t-sol2: Adjust build rules to use MULTILIB_CFLAGS.
11072         * config/sparc/sol2-sld-64.h (SPARC_BI_ARCH): Define.
11073         (ASM_CPU32_DEFAULT_SPEC, ASM_CPU64_DEFAULT_SPEC,
11074         CPP_CPU32_DEFAULT_SPEC, CPP_CPU64_DEFAULT_SPEC): Define.
11075         (ASM_SPEC, CPP_CPU_SPEC): Set appropriately based upon those.
11076         (STARTFILE_SPEC32, STARTFILE_SPEC32, STARTFILE_ARCH_SPEC):
11077         Define.
11078         (STARTFILE_SPEC): Set approriately based upon those.
11079         (CPP_CPU_DEFAULT_SPEC, ASM_CPU_DEFAULT_SPEC): Set based upon
11080         disposition of DEFAULT_ARCH32_P.
11081         (LINK_ARCH32_SPEC, LINK_ARCH64_SPEC): Define.
11082         (LINK_ARCH_SPEC, LINK_ARCH_DEFAULT_SPEC): Set based upon those.
11083         (CC1_SPEC, MULTILIB_DEFAULTS): Set based upon DEFAULT_ARCH32_P.
11084         (MD_STARTFILE_PREFIX): Set correctly based upon SPARC_BI_ARCH.
11085         * config/sparc/xm-sysv4-64.h (HOST_BITS_PER_LONG): Only set on
11086         arch64/v9.
11087         * config/sparc/xm-sp64.h (HOST_BITS_PER_LONG): Likewise.
11088         
11089 Wed Sep 23 22:32:31 1998  Mark Mitchell  <mark@markmitchell.com>
11090
11091         * rtl.h (init_virtual_regs): New function.
11092         * emit-rtl.c (init_virtual_regs): Define.
11093         (insn_emit): Use it.
11094         * integrate.c (save_for_inline_copying): Likewise.
11095
11096 Wed Sep 23 16:22:01 1998  Nick Clifton  <nickc@cygnus.com>
11097
11098         * config/arm/thumb.h: The following patches were made by Jim Wilson:
11099         (enum reg_class): Add NONARG_LO_REGS support.
11100         (REG_CLASS_NAMES, REG_CLASS_CONTENTS, REGNO_REG_CLASS,
11101         PREFERRED_RELOAD_CLASS, SECONDARY_RELOAD_CLASS): Likewise.
11102         (GO_IF_LEGITIMATE_ADDRESS): Disable REG+REG addresses before reload
11103         completes.  Re-enable HImode REG+OFFSET addresses.
11104         (LEGITIMIZE_RELOAD_ADDRESS): Define.
11105
11106         * expmed.c (extract_bit_field): Add comment from Jim Wilson. 
11107
11108 Wed Sep 23 13:26:02 1998  Richard Henderson  <rth@cygnus.com>
11109
11110         * alpha.c (get_aligned_mem): Revert Sep 20 change.
11111         (alpha_set_memflags, alpha_set_memflags_1): Likewise.
11112         (alpha_align_insns): Properly calculate initial offset wrt max_align.
11113
11114 Wed Sep 23 10:45:44 1998  Richard Earnshaw (rearnsha@arm.com)
11115
11116         * arm.c (find_barrier): Revert change of Apr 23.  Handle table
11117         jumps as a single entity, taking into account the size of the
11118         table.
11119
11120 Tue Sep 22 15:13:34 1998  Alexandre Petit-Bianco  <apbianco@cygnus.com>
11121
11122         * tree.def (SWITCH_EXPR): New tree node definition.
11123
11124 Mon Sep 21 23:40:38 PDT 1998 Jeff Law  (law@cygnus.com)
11125
11126         * version.c: Bump for snapshot.
11127
11128 Mon Sep 21 22:31:14 PDT 1998 Jeff Law  (law@cygnus.com)
11129
11130         * version.c: Bump for snapshot.
11131
11132 Mon Sep 21 22:48:09 1998  Jeffrey A Law  (law@cygnus.com)
11133
11134         * configure.in: Recognize i[34567]86-*-openbsd* and handle it like
11135         NetBSD.
11136
11137 Mon Sep 21 22:05:28 1998  Jeffrey A Law  (law@cygnus.com)
11138
11139         * Revert this patch.
11140         * reload.c (find_reloads): Do not replace a pseudo with
11141         (MEM (reg_equiv_addr)) in the initializing insn for the
11142         pseudo.
11143
11144 Mon Sep 21 20:19:41 1998  John Carr  <jfc@mit.edu>
11145
11146         * final.c (final_scan_insn): Disable tracking CC across branches.
11147
11148 Mon Sep 21 17:15:26 EDT 1998  Andrew MacLeod  <amacleod@cygnus.com>
11149
11150         * expr.h (eh_rtime_match_libfunc): New extern declaration.
11151         * optabs.c (init_optabs): Set eh_rtime_match_libfunc.
11152         * except.c (start_catch_handler): Use eh_rtime_match_libfunc.
11153         * libgcc2.c (__eh_rtime_match): Always return 0 if the matcher is
11154         NULL. Only include <stdio.h> if inhibit_libc is not defined.
11155
11156 Mon Sep 21 14:10:51 1998  Jason Merrill  <jason@yorick.cygnus.com>
11157
11158         * toplev.c (rest_of_compilation): Skip compiling anything with
11159         DECL_EXTERNAL set, not just if it has DECL_INLINE as well.
11160
11161 Mon Sep 21 13:51:05 1998  Jim Wilson  <wilson@cygnus.com>
11162
11163         * flow.c (find_basic_blocks): Delete check for in_libcall_block when
11164         prev_code is a CALL_INSN.  Change check for REG_RETVAL note to
11165         use in_libcall_block.
11166         (find_basic_blocks_1): Delete check for in_libcall_block when prev_code
11167         is a CALL_INSN.  If CALL_INSN and in_libcall_block, then change code
11168         to INSN.
11169
11170 Mon Sep 21 14:02:23 1998
11171
11172         * i386.h: (TARGET_SWITCHES) Improve doc for align-double.  Fix
11173         typo in no-fancy-math-387 description.
11174
11175 Mon Sep 21 09:27:18 PDT 1998 Jeff Law  (law@cygnus.com)
11176
11177         * version.c: Bump for snapshot.
11178
11179 Mon Sep 21 09:24:49 1998   Stan Cox  <scox@cygnus.com>
11180
11181         * i386-coff.h (DBX_DEBUGGING_INFO): Added.
11182
11183 Mon Sep 21 09:14:49 1998   Robert Lipe  <robertl@dgii.com>
11184
11185         * i386.h: (TARGET_SWITCHES) Add description fields for flags 
11186         documented in install.texi.
11187         (TARGET_OPTIONS) Likewise.
11188
11189 Mon Sep 21 01:39:03 PDT 1998 Jeff Law  (law@cygnus.com)
11190
11191         * version.c: Bump for snapshot.
11192
11193 Mon Sep 21 01:53:05 1998  Felix Lee  <flee@cygnus.com>
11194
11195         * c-lex.c (init_lex): Use getenv ("LANG"), not GET_ENVIRONMENT ().
11196         * cccp.c (main): Likewise.
11197
11198         * cccp.c, collect2.c, cpplib.c, gcc.c, config/i386/xm-cygwin32.h:
11199         Rename GET_ENVIRONMENT to GET_ENV_PATH_LIST, and fix some
11200         macro-use bugs.
11201
11202 Mon Sep 21 00:52:12 1998  Per Bothner  <bothner@cygnus.com>
11203
11204         * Makefile.in (LIBS):  Link in libiberty.a.
11205         * c-common.c, gcc.c, toplev.c:  Replace (some) bcopy calls by memcpy.
11206
11207 Sun Sep 20 23:28:11 1998  Richard Henderson  <rth@cygnus.com>
11208
11209         * reload1.c (emit_reload_insns): Accept a new arg for the bb.  Use
11210         it to update bb boundaries.  Update caller.
11211         * function.c (reposition_prologue_and_epilogue_notes): Update
11212         bb boundaries wrt the moved note.
11213
11214 Sun Sep 20 20:57:02 1998  Robert Lipe  <robertl@dgii.com>
11215         
11216         * configure.in (i*86-*-sysv5*): Use fixinc.svr4 to patch byteorder
11217         problems.
11218         * configure: Regenerate.
11219
11220 Sun Sep 20 19:01:51 1998  Richard Henderson  <rth@cygnus.com>
11221
11222         * alpha.c (alpha_sr_alias_set): New variable.
11223         (override_options): Set it.
11224         (alpha_expand_prologue, alpha_expand_epilogue): Use it.
11225         (mode_mask_operand): Fix signed-unsigned comparision warning.
11226         (alpha_expand_block_move): Likewise.
11227         (print_operand): Likewise.
11228         (get_aligned_mem): Use change_address.
11229         (alpha_set_memflags, alpha_set_memflags_1): Set the alias set.
11230         (alphaev4_insn_pipe, alphaev4_next_group): New functions.
11231         (alphaev4_next_nop, alphaev5_next_nop): New functions.
11232         (alpha_align_insns): Remade from old alphaev5_align_insns
11233         to handle multiple processors.
11234         (alpha_reorg): Call alpha_align_insns for both ev4 and ev5.
11235         * output.h (label_to_alignment): Prototype.
11236
11237         * tree.c (new_alias_set): New function.
11238         * tree.h (new_alias_set): Declare it.
11239         * c-common.c (c_get_alias_set): Use it.
11240
11241 Sun Sep 20 12:35:55 1998  Richard Henderson  <rth@cygnus.com>
11242
11243         * fold-const.c (fold): Yet another COND_EXPR bug: when folding 
11244         to an ABS expr, convert an unsigned input to signed.
11245         
11246 Sun Sep 20 12:14:45 1998  Jeffrey A Law  (law@cygnus.com)
11247
11248         * fold-const.c (fold): Fix another type in COND_EXPR handling code.
11249
11250 1998-09-20  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
11251
11252         * configure.in: Add support for c4x targets.
11253         * configure: Rebuilt.
11254
11255 Sun Sep 20 00:00:51 1998  Richard Henderson  <rth@cygnus.com>
11256
11257         * combine.c (distribute_notes): If an insn is a cc0 user, only
11258         delete it if we can also delete the cc0 setter.
11259
11260 Sun Sep 20 00:22:23 1998  Michael Tiemann  <michael@impact.tiemann.org>
11261
11262         * fold-const.c (fold): Fix typo in COND_EXPR handling code.
11263         (invert_truthvalue): Enable truthvalue inversion for
11264         floating-point operands if -ffast-math.
11265
11266 Sat Sep 19 23:58:07 1998  Melissa O'Neill <oneill@cs.sfu.ca>
11267                          
11268         * configure.in: Disable collect2 for nextstep.  Instead use
11269         crtbegin/crtend.
11270         * configure: Rebuilt.
11271         * config/nextstep.h (STARTFILE_SPEC): Add crtbegin.
11272         (ENDFILE_SPEC): Define.
11273         (OBJECT_FORMAT_MACHO): Define.
11274         (EH_FRAME_SECTION_ASM_OP): Define.
11275         * crtstuff.c: Handle MACHO.
11276
11277 Sun Sep 20 00:24:24 1998  Robert Lipe  <robertl@dgii.com>
11278
11279         * config/i386/sco5.h (TARGET_MEM_FUNCTIONS):  Define.
11280
11281 1998-09-19  Torbjorn Granlund  <tege@matematik.su.se>
11282
11283         * fp-bit.c (pack_d): Do not clear SIGN when fraction is 0.
11284         (_fpadd_parts): Get sign right for 0.
11285
11286 1998-09-19  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
11287
11288         * ginclude/varargs.h: Add support for C4x target.
11289         * ginclude/stdargs.h: Likewise.
11290
11291 Sat Sep 19 12:05:09 1998  Richard Henderson  <rth@cygnus.com>
11292
11293         * alpha.c (alpha_return_addr): SET should be VOIDmode.
11294         (alpha_emit_set_long_const): Rewrite to be callable from reload
11295         and 32-bit hosts.
11296         (alpha_expand_epilogue): Update for alpha_emit_set_long_const.
11297         * alpha.md (movdi): Likewise.
11298
11299 Sat Sep 19 07:33:36 1998  Richard Earnshaw (rearnsha@arm.com)
11300
11301         * arm.c (add_constant): New parameter address_only, change caller.
11302         Set it non-zero if taking the address of an item in the pool.
11303         (arm_reorg): Handle cases where we need the address of an item in
11304         the pool.
11305
11306         * arm.c (bad_signed_byte_operand): Check both arms of a sum in
11307         a memory address.
11308         * arm.md (splits for *extendqihi_insn and *extendqisi_insn): Handle
11309         memory addresses that are not in standard canonical form.
11310
11311 Sat Sep 19 01:00:32 1998  Michael Hayes  (mph@elec.canterbury.ac.nz)
11312
11313         * README.C4X: New file with information about the c4x ports.
11314         * ginclude/va-c4x.h: New file for c4x varargs support.
11315         * config/c4x: New directory with c4x port files.
11316
11317 Fri Sep 18 22:52:05 1998  Jeffrey A Law  (law@cygnus.com)
11318
11319         * reload.c (find_reloads): Do not replace a pseudo with 
11320         (MEM (reg_equiv_addr)) in the initializing insn for the
11321         pseudo.
11322
11323 Fri Sep 18 23:50:56 1998  David Edelsohn  <edelsohn@gnu.org>
11324
11325         * toplev.c (rest_of_compilation): Set bct_p on second call to
11326         loop_optimize.
11327         * loop.c (loop_optimize, scan_loop, strength_reduce): New argument
11328         bct_p.
11329         (strength_reduce): Only call analyze_loop_iterations and
11330         insert_bct if bct_p set.
11331         (check_dbra_loop): Fix typo.
11332         (insert_bct): Use word_mode instead of SImode.
11333         (instrument_loop_bct): Likewise.  Do not delete iteration count
11334         condition code generation insn.  Initialize iteration count before
11335         loop start.
11336         * rtl.h (loop_optimize): Update prototype.
11337
11338         * ginclude/va-ppc.h (va_arg): longlong types in overflow area are
11339         not doubleword aligned.
11340
11341         * rs6000.c (optimization_options): New function.
11342         (secondary_reload_class): Only call true_regnum for PSEUDO_REGs.
11343         * rs6000.h (OPTIMIZATION_OPTIONS): Define.
11344         (REG_ALLOC_ORDER): Allocate highest numbered condition regsiters
11345         first; cr1 can be used for FP record condition insns.
11346
11347 Fri Sep 18 09:44:55 1998  Nick Clifton  <nickc@cygnus.com>
11348
11349         * config/m32r/m32r.h (m32r_block_immediate_operand): Add to
11350         PREDICATE_CODES.
11351
11352         * config/m32r/m32r.md: Add "movstrsi" and "movstrsi_internal"
11353         patterns.
11354
11355         * config/m32r/m32r.c (m32r_print_operand): Add 's' and 'p'
11356         operators.
11357         (block_move_call): New function: Call a library routine to copy a
11358         block of memory.
11359         (m32r_expand_block_move): New function: Expand a "movstrsi"
11360         pattern into a sequence of insns.
11361         (m32r_output_block_move): New function: Expand a
11362         "movstrsi_internal" pattern into a sequence of assembler opcodes.
11363         (m32r_block_immediate_operand): New function: Return true if the
11364         RTL is an integer constant, less than or equal to MAX_MOVE_BYTES.
11365         
11366 Thu Sep 17 16:42:16 EDT 1998  Andrew MacLeod  <amacleod@cygnus.com>
11367
11368         * except.c (start_catch_handler): Issue 'fatal' instead of 'error' and
11369         re-align some code.
11370         * libgcc2.c (__eh_rtime_match): fprintf a runtime error. Use <stdio.h>.
11371
11372 Thu Sep 17 12:24:33 1998  J"orn Rennecke <amylaar@cygnus.co.uk>
11373
11374         * regmove.c (copy_src_to_dest): Check that modes match.
11375
11376 Wed Sep 16 22:10:42 1998  Robert Lipe  <robertl@dgii.com>
11377
11378         * config/i386/sco5.h (SUPPORTS_WEAK): True only if targeting ELF.
11379
11380 Wed Sep 16 15:24:54 1998  Richard Henderson  <rth@cygnus.com>
11381
11382         * i386.h (PREFERRED_RELOAD_CLASS): Respect an existing class
11383         narrower than FLOAT_REGS.
11384
11385 Wed Sep 16 17:51:00 1998  Alexandre Oliva  <oliva@dcc.unicamp.br>
11386
11387         * cpplib.c: removed OLD_GPLUSPLUS_INCLUDE_DIR
11388         * cccp.c: ditto
11389         * Makefile.in (old_gxx_include_dir): removed
11390
11391 Wed Sep 16 12:29:22 1998  Nick Clifton  <nickc@cygnus.com>
11392
11393         * config/sh/sh.h: Update definition of HANDLE_PRAGMA to match
11394         new specification.
11395
11396         * config/sh/sh.c (handle_pragma): Rename to sh_handle_pragma().
11397         (sh_handle_pragma): Change function arguments to match new
11398         specification for HANDLE_PRAGMA. 
11399
11400 Wed Sep 16 12:43:19 1998  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
11401
11402         * gen-protos.c (parse_fn_proto): Cast argument of ISALNUM to
11403         `unsigned char'.
11404         (main): Mark parameter `argc' with ATTRIBUTE_UNUSED.
11405         When generating output, initialize missing struct member to zero.
11406
11407 Wed Sep 16 14:47:43 1998  J"orn Rennecke <amylaar@cygnus.co.uk>
11408
11409         * regmove.c (copy_src_to_dest): Don't copy if that requires
11410         (a) new register(s).
11411
11412 Wed Sep 16 01:29:12 1998  Bernd Schmidt <crux@pool.informatik.rwth-aachen.de>
11413
11414         * global.c (reg_allocno): Now static.
11415         * reload1.c (reg_allocno): Delete declaration.
11416         (order_regs_for_reload): Take no arguments.  Don't treat regs
11417         allocated by global differently than those allocated by local-alloc.
11418
11419 Wed Sep 16 01:09:01 1998  Kamil Iskra  <iskra@student.uci.agh.edu.pl>
11420
11421         * m68k/m68k.c (output_function_prologue): Reverse NO_ADDSUB_Q
11422         condition, fix format strings.
11423         (output_function_epilogue): Likewise.
11424
11425         * m68k/m68k.c: Don't include <stdlib.h> directly.
11426
11427 Wed Sep 16 00:30:56 1998  Geoff Keating  <geoffk@ozemail.com.au>
11428
11429         * gcse.c: New definition NEVER_SET for reg_first_set, reg_last_set,
11430         mem_first_set, mem_last_set; because 0 can be a CUID.
11431         (oprs_unchanged_p): Use new definition.
11432         (record_last_reg_set_info): Likewise.
11433         (record_last_mem_set_info): Likewise.
11434         (compute_hash_table): Likewise.
11435
11436 Tue Sep 15 22:59:52 1998  Jeffrey A Law  (law@cygnus.com)
11437
11438         * rs6000.c (output_epilogue): Handle Chill.
11439
11440         * mn10200.h (ASM_OUTPUT_DWARF2_ADDR_CONST): Define.
11441         * mn10300.h (ASM_OUTPUT_DWARF2_ADDR_CONST): Define.
11442
11443         * combine.c (make_extraction): If no mode is specified for
11444         an operand of insv, extv, or extzv, default it to word_mode.
11445         (simplify_comparison): Similarly.
11446         * expmed.c (store_bit_field): Similarly.
11447         (extract_bit_field): Similarly.
11448         * function.c (fixup_var_regs_1): Similarly.
11449         * recog.c (validate_replace_rtx_1): Similarly.
11450         * mips.md (extv, extzv, insv expanders): Default modes for most
11451         operands.  Handle TARGET_64BIT.
11452         (movdi_uld, movdi_usd): New patterns.
11453
11454         * pa.c (emit_move_sequence): Do not replace a pseudo with its
11455         equivalent memory location unless we have been provided a scratch
11456         register.  Similarly do not call find_replacement unless a
11457         scratch register has been provided.
11458
11459 Tue Sep 15 19:23:01 1998  Bernd Schmidt <crux@pool.informatik.rwth-aachen.de>
11460
11461         * i386.h (PREFERRED_RELOAD_CLASS): For standard 387 constants,
11462         return FLOAT_REGS.
11463
11464 Tue Sep 15 19:09:06 1998  Richard Henderson  <rth@cygnus.com>
11465
11466         * tree.h (BUILT_IN_CALLER_RETURN_ADDRESS): Unused.  Kill.
11467         (BUILT_IN_FP, BUILT_IN_SP, BUILT_IN_SET_RETURN_ADDR_REG): Kill.
11468         (BUILT_IN_EH_STUB_OLD, BUILT_IN_EH_STUB, BUILT_IN_SET_EH_REGS): Kill.
11469         (BUILT_IN_EH_RETURN, BUILT_IN_DWARF_CFA): New.
11470         * c-decl.c (init_decl_processing): Update accordingly.
11471         * expr.c (expand_builtin): Likewise.
11472
11473         * rtl.h (global_rtl): Add cfa entry.
11474         (virtual_cfa_rtx, VIRTUAL_CFA_REGNUM): New.
11475         (LAST_VIRTUAL_REGISTER): Update.
11476         * emit-rtl.c (global_rtl): Add cfa entry.
11477         (init_emit): Initialize it.
11478         * function.c (cfa_offset): New.
11479         (instantiate_virtual_regs): Initialize it.
11480         (instantiate_virtual_regs_1): Instantiate virtual_cfa_rtx.
11481         (expand_function_end): Call expand_eh_return.
11482         * tm.texi (ARG_POINTER_CFA_OFFSET): New.
11483
11484         * except.c (current_function_eh_stub_label): Kill.
11485         (current_function_eh_old_stub_label): Likwise; update all references.
11486         (expand_builtin_set_return_addr_reg): Kill.
11487         (expand_builtin_eh_stub_old, expand_builtin_eh_stub): Kill.
11488         (expand_builtin_set_eh_regs): Kill.
11489         (eh_regs): Produce a third reg for the actual handler address.
11490         (eh_return_context, eh_return_stack_adjust): New.
11491         (eh_return_handler, eh_return_stub_label): New.
11492         (init_eh_for_function): Initialize them.
11493         (expand_builtin_eh_return, expand_eh_return): New.
11494         * except.h: Update prototypes.
11495         * flow.c (find_basic_blocks_1): Update references to the stub label.
11496         * function.h (struct function): Kill stub label elements.
11497
11498         * libgcc2.c (in_reg_window): For REG_SAVED_REG, check that the
11499         register number is one that would be in the previous window.
11500         Provide a dummy definition for non-windowed targets.
11501         (get_reg_addr): New function.
11502         (get_reg, put_reg, copy_reg): Use it.
11503         (__throw): Rely on in_reg_window, not INCOMING_REGNO.  Kill stub
11504         generating code and use __builtin_eh_return.  Use __builtin_dwarf_cfa.
11505
11506         * alpha.c (alpha_eh_epilogue_sp_ofs): New.
11507         (alpha_init_expanders): Initialize it.
11508         (alpha_expand_epilogue): Use it.
11509         * alpha.h: Declare it.
11510         * alpha.md (eh_epilogue): New.
11511
11512         * m68h.h (ARG_POINTER_CFA_OFFSET): New.
11513         * sparc.h (ARG_POINTER_CFA_OFFSET): New.
11514
11515 Tue Sep 15 19:31:58 1998  Michael Meissner  <meissner@cygnus.com>
11516
11517         * i960.h (CONST_COSTS): Fix thinko.  Test flag, not the constant
11518         flag bit mask.
11519
11520 Tue Sep 15 14:10:54 EDT 1998  Andrew MacLeod  <amacleod@cygnus.com>
11521
11522         * except.h (struct eh_entry): Add false_label field.
11523         (end_catch_handler): Add prototype.
11524         * except.c (push_eh_entry): Set false_label field to NULL_RTX.
11525         (start_catch_handler): When using old style exceptions, issue
11526         runtime typematch code before continuing with the handler.
11527         (end_catch_handler): New function, generates label after handler
11528         if needed by older style exceptions.
11529         (expand_start_all_catch): No need to check for new style exceptions.
11530         (output_exception_table_entry): Only output the first handler label
11531         for old style exceptions.
11532         * libgcc2.c (__eh_rtime_match): New routine to lump runtime matching
11533         mechanism into one function, if a runtime matcher is provided.
11534
11535 Tue Sep 15 13:53:59 EDT 1998  Andrew MacLeod  <amacleod@cygnus.com>
11536
11537         * config/i960/i960.h (SLOW_BYTE_ACCESS): Change definition to 1.
11538
11539 Tue Sep 15 09:59:01 1998  Mark Mitchell  <mark@markmitchell.com>
11540
11541         * integrate.c (copy_decl_list): Fix typo.
11542
11543 Tue Sep 15 04:18:52 1998  David S. Miller  <davem@pierdol.cobaltmicro.com>
11544
11545         * config/sparc/sparc.md (movdf_const_intreg_sp32): Fix length
11546         attribute.
11547
11548 Mon Sep 14 14:02:53 PDT 1998 Jeff Law  (law@cygnus.com)
11549
11550         * version.c: Bump for snapshot.
11551
11552 Mon Sep 14 10:33:56 PDT 1998 Jeff Law  (law@cygnus.com)
11553
11554         * version.c: Bump for snapshot.
11555
11556 Mon Sep 14 09:51:05 PDT 1998 Jeff Law  (law@cygnus.com)
11557
11558         * version.c: Bump for snapshot.
11559
11560 Sun Sep 13 22:10:18 1998  David S. Miller  <davem@pierdol.cobaltmicro.com>
11561
11562         * invoke.texi (C Dialect Options): Put back missing @end itemize.
11563
11564 Mon Sep 14 02:33:46 1998  Alexandre Oliva  <oliva@dcc.unicamp.br>
11565
11566         * configure.in: remove usage of `!' to negate the result of a
11567         command; some common shells do not support it
11568
11569 Sun Sep 13 19:17:35 1998  David S. Miller  <davem@pierdol.cobaltmicro.com>
11570
11571         * configure.in: in sparc9-sol2 config, use 'if test' not
11572         brackets.
11573         * configure: Rebuilt.
11574
11575         * config/sparc/sol2-sld-64.h (SPARC_DEFAULT_CMODEL): Change to
11576         CM_MEDANY.
11577         (CPP_CPU_SPEC): Do not define _LP64, header files do this.
11578         (CPP_CPU_DEFAULT_SPEC): Likewise.
11579         * config/sparc/sol2.h (INIT_SUBTARGET_OPTABS): Get the names right
11580         for arch64 libfuncs.
11581         
11582         * config/sparc/sparc.md (goto_handler_and_restore): Allow any mode
11583         for operand zero.
11584
11585 Sun Sep 13 09:11:59 1998  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
11586
11587         * acconfig.h (NEED_DECLARATION_STRSIGNAL): Provide a stub.
11588
11589         * collect2.c: Don't declare `sys_siglist' here.
11590         (my_strsignal): Prototype and define new function.  Use it in
11591         place of `sys_siglist' hacks.
11592
11593         * mips_tfile.c:  Likewise.
11594
11595         * configure.in (AC_CHECK_FUNCS): Check for strsignal.
11596         (GCC_NEED_DECLARATIONS): Likewise.
11597
11598         * system.h (strsignal): Prototype it, if necessary.
11599         (sys_siglist): Declare it, if necessary.
11600
11601 Sun Sep 13 04:37:28 1998  David S. Miller  <davem@pierdol.cobaltmicro.com>
11602
11603         * loop.c (move_movables): While removing insn sequences, preserve
11604         the next pointer of the most recently deleted insn when we skip
11605         over a NOTE.
11606
11607 Sun Sep 13 08:13:39 1998  Ben Elliston  <bje@cygnus.com>
11608
11609         * objc/config-lang.in: Do not output the name of the selected
11610         thread file when building the front-end.  The Makefile for the
11611         runtime library will do this.
11612
11613         * objc/Make-lang.in: Do not build the runtime library or install
11614         the Objective C header files.  The Makefile for the runtime
11615         library will do this.
11616
11617         * objc/Makefile.in (all.indirect): Only build the front-end.
11618         (compiler): Rename to `frontend'.
11619         (obj-runtime): Remove target.
11620         (copy-headers): Likewise.
11621         (clean): No need to remove `libobjc.a' any longer.
11622
11623 Sat Sep 12 11:37:19 1998  Michael Meissner  <meissner@cygnus.com>
11624
11625         * rs6000.h ({ASM,CPP}_CPU_SPEC): Add support for all machines
11626         supported with -mcpu=xxx.
11627
11628 Fri Sep 11 23:55:54 1998  David S. Miller  <davem@pierdol.cobaltmicro.com>
11629
11630         * flow.c (mark_set_1): Recognize multi-register structure return
11631         values in CALL insns.
11632         (mark_used_regs): Likewise.
11633         (count_reg_sets_1): Likewise.
11634         (count_reg_references): Likewise.
11635         * rtlanal.c (note_stores): Likewise.
11636         (reg_overlap_mentioned_p): Likewise.
11637         * haifa-sched.c (check_live_1): Likewise.
11638         (update_live_1): Likewise.
11639         (sched_analyze_1): Likewise.
11640         (sched_note_set): Likewise.
11641         (birthing_insn_p): Likewise.
11642         (attach_deaths): Likewise.
11643
11644         * config/sparc/sparc.md (movdf_const_intreg_sp64): Disable.
11645
11646
11647 Fri Sep 11 22:57:55 1998  Eric Dumazet  <dumazet@cosmosbay.com>
11648
11649         * config/i386/sco5.h (ASM_WEAKEN_LABEL): Defined as in svr4.h.
11650
11651 Thu Sep 10 22:02:04 1998  David S. Miller  <davem@pierdol.cobaltmicro.com>
11652
11653         * glimits.h (__LONG_MAX__): Recognize __sparcv9 too.
11654
11655 Thu Sep 10 21:19:10 1998  Jakub Jelinek  <jj@sunsite.ms.mff.cuni.cz>
11656
11657         * configure.in: Add check for GAS subsection -1 support.
11658         * acconfig.h (HAVE_GAS_SUBSECTION_ORDERING): Add.
11659         * configure config.in: Rebuilt.
11660         * config/sparc/sparc.h (CASE_VECTOR_MODE): For V9 flag_pic, use
11661         SImode is subsection -1 works, else use DImode.
11662         (ASM_OUTPUT_ADDR_VEC_START, ASM_OUTPUT_ADDR_VEC_END): Define if
11663         subsection -1 works.
11664         * config/sparc/sparc.c (sparc_output_addr_vec,
11665         sparc_output_addr_diff_vec): Use them if defined.
11666
11667 Thu Sep 10 10:46:01 1998  Mark Mitchell  <mark@markmitchell.com>
11668
11669         * tree.h (DECL_ORIGIN): New macro.
11670         * integrate.c (copy_and_set_decl_abstract_origin): New function.
11671         (copy_decl_list): Use it.
11672         (integrate_parm_decls): Likewise.
11673         (integrate_decl_tree): Likewise.
11674         * dwarf2out.c (decl_ultimate_origin): Simplify.
11675         * dwarfout.c (decl_ultimate_origin): Likewise.
11676         * c-decl.c (duplicate_decls): Use DECL_ORIGIN.
11677         (pushdecl): Likewise.
11678
11679 Thu Sep 10 08:01:31 1998  Anthony Green  <green@cygnus.com>
11680
11681         * config/rs6000/rs6000.c (output_epilog): Add Java support.
11682
11683 Thu Sep 10 14:48:59 1998  Martin von Löwis  <loewis@informatik.hu-berlin.de>
11684
11685         * invoke.texi (C++ Dialect Options): Document -fhonor-std.
11686
11687 Thu Sep 10 01:38:05 1998  Jeffrey A Law  (law@cygnus.com)
11688
11689         * reg-stack.c (straighten_stack): Do nothing if the virtual stack is
11690         empty or has a single entry.
11691
11692         * toplev.c (rest_of_compilation): Open up the dump file for reg-stack
11693         before calling reg_to_stack.
11694
11695 Thu Sep 10 00:03:34 1998  Richard Henderson  <rth@cygnus.com>
11696
11697         * alpha.c (alphaev5_insn_pipe): Abort on default case.
11698         (alphaev5_next_group): Swallow CLOBBERs and USEs.
11699
11700         * c-tree.h (warn_long_long): Declare it.
11701
11702 Wed Sep  9 23:31:36 1998  (Stephen L Moshier) <moshier@world.std.com>
11703
11704         * emit-rtl.c (gen_lowpart_common): Disable optimization of
11705         initialized float-int union if the value is a NaN.
11706
11707 Wed Sep  9 23:00:48 1998  Nathan Sidwell  <nathan@acm.org>
11708
11709         * c-lex.c (real_yylex): Don't warn about long long constants if 
11710         we're allowing long long
11711
11712 Wed Sep  9 21:58:41 1998  Bernd Schmidt <crux@pool.informatik.rwth-aachen.de>
11713
11714         * except.h (current_function_eh_stub_label): Declare.
11715         (current_function_eh_old_stub_label): Declare.
11716         * function.h (struct function): New members eh_stub_label and
11717         eh_old_stub_label.
11718         * except.c (current_function_eh_stub_label): New variable.
11719         (current_function_eh_old_stub_label): New variable.
11720         (init_eh_for_function): Clear them.
11721         (save_eh_status): Save them.
11722         (restore_eh_status): Restore them.
11723         (expand_builtin_eh_stub): Set current_function_eh_stub_label.
11724         (expand_builtin_eh_stub_old): Set current_function_eh_old_stub_label.
11725         * flow.c (find_basic_blocks_1): When handling a REG_LABEL note, don't
11726         make an edge from the block that contains it to the block starting
11727         with the label if this label is one of the eh stub labels.
11728         If eh stub labels exist, show they are reachable from the last block
11729         in the function.
11730
11731         * reload1.c (reload): Break out several subroutines and make some
11732         variables global.
11733         (calculate_needs_all_insns): New function, broken out of reload.
11734         (calculate_needs): Likewise.
11735         (find_reload_regs): Likewise.
11736         (find_group): Likewise.
11737         (find_tworeg_group): Likewise.
11738         (something_needs_reloads): New global variable, formerly in reload.
11739         (something_needs_elimination): Likewise.
11740         (caller_save_spill_class): Likewise.
11741         (caller_save_group_size): Likewise.
11742         (max_needs): Likewise.
11743         (group_size): Likewise.
11744         (max_groups): Likewise.
11745         (max_nongroups): Likewise.
11746         (group_mode): Likewise.
11747         (max_needs_insn): Likewise.
11748         (max_groups_insn): Likewise.
11749         (max_nongroups_insn): Likewise.
11750         (failure): Likewise.
11751
11752         * print-rtl.c (print_rtx): For MEMs, print MEM_ALIAS_SET.
11753
11754 Wed Sep  9 13:14:41 1998  Richard Henderson  <rth@cygnus.com>
11755
11756         * loop.c (load_mems): Copy rtx for output mem.
11757
11758 Wed Sep  9 15:16:58 1998  Gavin Romig-Koch  <gavin@cygnus.com>
11759
11760         * mips/abi64.h (LONG_MAX_SPEC): Don't set LONG_MAX for
11761         mips1 or mips2 either.
11762
11763 Wed Sep  9 12:31:35 1998  Jeffrey A Law  (law@cygnus.com)
11764
11765         * pa.c (pa_reorg): New marking scheme for jumps inside switch
11766         tables.
11767         (pa_adjust_insn_length): Update to work with new marking scheme
11768         for jumps inside switch tables. 
11769         * pa.md (switch_jump): Remove pattern.
11770         (jump): Handle jumps inside jump tables.
11771
11772         * Makefile.in (profile.o): Depend on insn-config.h
11773
11774 Wed Sep  9 09:36:51 1998  Jim Wilson  <wilson@cygnus.com>
11775
11776         * iris6.h (DWARF2_UNWIND_INFO): Undef.
11777
11778 Wed Sep  9 01:32:01 1998  David S. Miller  <davem@pierdol.cobaltmicro.com>
11779
11780         Add preliminary native sparcv9 Solaris support.
11781         * configure.in: Recognize sparv9-*-solaris2*
11782         * configure: rebuilt
11783         * config.sub: Recognize sparcv9 just like sparc64.
11784         * config/sparc/sol2-c1.asm config/sparc/sol2-ci.asm
11785         config/sparc/sol2-cn.asm: Macroize so it can be shared between
11786         32-bit and 64-bit Solaris systems.
11787         * config/sparc/t-sol2: Assemble those with cpp.
11788         * config/sparc/sparc.h (TARGET_CPU_sparcv9): New alias for v9.
11789         (*TF*_LIBCALL): If ARCH64 use V9 names.
11790         * config/sparc/{xm-sysv4-64,sol2-sld-64}.h: New files.
11791
11792 Wed Sep  9 01:07:30 1998  Jakub Jelinek  <jj@sunsite.ms.mff.cuni.cz>
11793
11794         * config/sparc/sparc.h (TARGET_CM_MEDMID): Fix documentation.
11795         (CASE_VECTOR_MODE): Set to SImode even if PTR64, when MEDLOW and
11796         not doing pic.
11797         (ASM_OUTPUT_ADDR_{VEC,DIFF}_ELT): Check CASE_VECTOR_MODE not
11798         Pmode.
11799         * config/sparc/sparc.md (tablejump): Likewise, and sign extend op0
11800         to Pmode if CASE_VECTOR_MODE is something else.
11801
11802 Wed Sep  9 00:10:31 1998  Jeffrey A Law  (law@cygnus.com)
11803
11804         * prefix.c (update_path): Correctly handle cases where PATH is
11805         a substring of the builtin prefix, but specifies a different
11806         directory location.
11807
11808 Tue Sep  8 23:46:04 1998  Hans-Peter Nilsson  <hp@axis.se>
11809
11810         * expr.c: Corrected comment about what MOVE_RATIO does.
11811         * config/alpha/alpha.h: Ditto.
11812         * config/1750a/1750a.h: Ditto.
11813         * config/clipper/clipper.h: Ditto.
11814         * config/i386/i386.h: Ditto.
11815
11816 Tue Sep  8 22:56:12 1998  Jeffrey A Law  (law@cygnus.com)
11817
11818         * configure.in (m68k-next-nextstep3*): Use collect2.
11819         Similarly for x86 NeXT configurations.
11820         * configure: Rebuilt.
11821
11822 Tue Sep  8 01:38:57 1998  Nathan Sidwell  <nathan@acm.org>
11823
11824         * configure.in: Don't assume srcdir is .../gcc
11825         * configure: Rebuilt.
11826
11827 Sat Sep  5 16:34:34 EDT 1998  John Wehle  (john@feith.com)
11828
11829         * global.c: Update comments.
11830         (global_alloc): Assign allocation-numbers
11831         even for registers allocated by local_alloc in case
11832         they are later spilled and retry_global_alloc is called.
11833         (mark_reg_store, mark_reg_clobber,
11834         mark_reg_conflicts, mark_reg_death): Always record a
11835         conflict with a pseudo register even if it has been
11836         assigned to a hard register.
11837         (dump_conflicts): Don't list pseudo registers already assigned to
11838         a hard register as needing to be allocated, but do list their
11839         conflicts.
11840         * local-alloc.c: Update comment.
11841
11842 Mon Sep  7 23:38:01 1998  Jeffrey A Law  (law@cygnus.com)
11843
11844         * configure.in: Check for bogus GCC_EXEC_PREFIX and LIBRARY_PATH.
11845         * configure: Rebuilt.
11846
11847 Mon Sep  7 22:41:46 1998  Michael Meissner  <meissner@cygnus.com>
11848
11849         * rs6000.c (rs6000_override_options): Fix name for ec603e, to add
11850         missing 'c'.
11851         * t-ppccomm (MULTILIB_MATCHES_FLOAT): Add support for -mcpu=xxx
11852         for all targets that set -msoft-float.
11853
11854 Mon Sep  7 23:30:07 1998  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
11855
11856         * toplev.c (print_switch_values): Make static to match prototype.
11857
11858 Mon Sep  7 19:13:59 1998  Jeffrey A Law  (law@cygnus.com)
11859
11860         * configure.in: If we are unable to find the "gnatbind" program,
11861         then do not configure the ada subdir.
11862         * configure: Rebuilt.
11863
11864 Sun Sep 6 14:03:58 PDT 1998 Jeff Law  (law@cygnus.com)
11865
11866         * version.c: Bump for snapshot.
11867
11868 Sun Sep 6 13:28:07 PDT 1998 Jeff Law  (law@cygnus.com)
11869
11870         * version.c: Bump for snapshot.
11871
11872 Sun Sep  6 08:54:14 1998  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
11873
11874         * Makefile.in (toplev.o): Depend on $(EXPR_H).
11875         (insn-extract.o, insn-attrtab.o): Depend on toplev.h.
11876
11877         * gansidecl.h: Define ATTRIBUTE_NORETURN.
11878
11879         * genattrtab.c: Have insn-attrtab.c include toplev.h.
11880
11881         * genextract.c: Have insn-extract.c include toplev.h.
11882
11883         * rtl.h: Don't prototype `fatal_insn_not_found' and `fatal_insn'.
11884
11885         * toplev.c: Include expr.h.
11886         (really_sorry, fancy_abort): Remove prototypes.
11887         (set_target_switch): Add argument in prototype.
11888         (vfatal): Mark prototype with ATTRIBUTE_NORETURN.
11889         (v_really_sorry): Likewise.
11890         (print_version, print_single_switch, print_switch_values): Make
11891         static and add prototype arguments.
11892         (decl_printable_name): Add prototype arguments.
11893         (lang_expand_expr_t): New typedef.
11894         (lang_expand_expr): Declare as a lang_expand_expr_t.
11895         (incomplete_decl_finalize_hook): Add prototype argument.
11896         (decl_name): Mark variable `verbosity' with ATTRIBUTE_UNUSED.
11897         (botch): Likewise for variable `s'.
11898         (rest_of_type_compilation): Mark variables `type' and `toplev'
11899         with ATTRIBUTE_UNUSED if none of DBX_DEBUGGING_INFO,
11900         XCOFF_DEBUGGING_INFO or SDB_DEBUGGING_INFO are defined.
11901         (display_help): Make variable `i' an `unsigned long'.
11902         (main): Remove unused parameter `envp'.
11903         Cast assignment to `lang_expand_expr' to a `lang_expand_expr_t'.
11904         Cast -1 when comparing it with a `size_t'.
11905
11906         * toplev.h (fatal, fatal_io_error, pfatal_with_name): Mark
11907         prototype with ATTRIBUTE_NORETURN.
11908         (fatal_insn_not_found, fatal_insn, really_sorry,
11909         push_float_handler, pop_float_handler): Add prototypes.
11910         (fancy_abort): Mark prototype with ATTRIBUTE_NORETURN.
11911         (do_abort, botch): Add prototypes.
11912         
11913 Sat Sep  6 12:05:18 1998  John Carr  <jfc@mit.edu>
11914
11915         * final.c (final): If a label is reached only from a single jump,
11916         call NOTICE_UPDATE_CC on the jump and its predecessor before
11917         emitting the insn after the label.
11918         
11919         * i386.h: Add AMD K6 support.
11920         Change TARGET_* macros to use table lookup.
11921         (INITIALIZE_TRAMPOLINE): Improve trampoline code.
11922         (ADJUST_COST): Change definition to call function in i386.c.
11923         (ISSUE_RATE): Define as 2 for anything newer than an 80486.
11924         * i386.c: Add AMD K6 support.
11925         Add constants for feature tests used by TARGET_* macros.
11926         (split_di): If before reload, call gen_lowpart and gen_highpart.
11927         (x86_adjust_cost): New function.
11928         (put_jump_code): New function.
11929         (print_operand): New codes 'D' and 'd'.
11930         * i386.md: New insn types.  New insn attribute "memory".
11931         Redefine scheduling parameters to use new types and add AMD K6
11932         support.  Explicitly set type of most insns.
11933         (move insns): K6 prefers movl $0,reg to xorl reg,reg.  Pentium
11934         Pro and K6 prefer movl $1,reg to incl reg.
11935         (adddi3, subdi3): Set cc_status.
11936         (DImode shift patterns): Change label counters from HOST_WIDE_INT
11937         to int; x86 can't have more than 2^31 DImode shifts per file.
11938         (setcc): Combine all setcc patterns.  Allow writing memory.
11939         Combine all jump patterns using match_operator.
11940         (*bzero): Name pattern.  Emit mutliple stos instructions when that
11941         is faster than rep stos.
11942         (xordi3, anddi3, iordi3): Simplify DImode logical patterns and
11943         add define_split.
11944
11945 Sun Sep  6 11:17:20 1998  Dave Love  <d.love@dl.ac.uk>
11946
11947         * config/m68k/x-next (BOOT_LDFLAGS): Define suitably for f771
11948         linking.
11949
11950 Sat Sep  5 22:05:25 1998  Richard Henderson  <rth@cygnus.com>
11951
11952         * alpha.c (alpha_ra_ever_killed): Inspect the topmost sequence,
11953         not whatever we're generating now.
11954
11955         * alpha.c (set_frame_related_p, FRP): New.
11956         (alpha_expand_prologue): Mark frame related insns.
11957         (alpha_expand_epilogue): Likewise, but with a null FRP.
11958         * alpha.h (INCOMING_RETURN_ADDR_RTX): New.
11959         * alpha.md (exception_receiver): New.
11960         * alpha/crtbegin.asm (.eh_frame): New beginning.
11961         (__do_frame_setup, __do_frame_takedown): New.
11962         * alpha/crtend.asm (.eh_frame): New ending.
11963         * alpha/elf.h (DWARF2_DEBUGGING_INFO): Define.
11964         (ASM_SPEC): Don't emit both dwarf2 and mdebug.
11965         (ASM_FILE_START): Don't emit .file for dwarf2.
11966
11967         * rtl.h (enum reg_note): Add REG_FRAME_RELATED_EXPR.
11968         * rtl.c (reg_note_name): Likewise.
11969         * rtl.texi (REG_NOTES): Likewise.
11970         * dwarf2out.c (dwarf2out_frame_debug): Use it.  Recognize a store
11971         without an offset.
11972
11973 Sat Sep  5 14:47:17 1998  Richard Henderson  <rth@cygnus.com>
11974
11975         * i386.h (PREFERRED_RELOAD_CLASS): Standard fp constants load to TOS.
11976         * i386.md (movsf, movdf, movxf): Validate memory address returned
11977         from force_const_mem.  Kill useless REG_EQUAL setting code.
11978
11979 Sat Sep  5 14:23:31 1998  Torbjorn Granlund <tege@matematik.su.se>
11980
11981         * m68k.md (zero_extendsidi2): Fix typo.
11982
11983 Sat Sep  5 13:40:24 1998  Krister Walfridsson  <cato@df.lth.se>
11984
11985         * configure.in: Removed references to the removed file
11986         * config/xm-netbsd.h. Use ${cpu_type}/xm-netbsd.h for
11987         * arm*-*-netbsd* and ns32k-*-netbsd*.
11988         * config/i386/xm-netbsd.h: Removed unnecessary file.
11989         * config/m68k/xm-netbsd.h: Likewise.
11990         * config/sparc/xm-netbsd.h: Likewise.
11991         * config/mips/xm-netbsd.h: Likewise.
11992
11993 Sat Aug 29 13:32:58 1998  Mumit Khan  <khan@xraylith.wisc.edu>
11994
11995         * i386/cygwin32.h (BIGGEST_ALIGNMENT): Define.
11996         (PCC_BITFIELD_TYPE_MATTERS): Define to be 0.
11997
11998         * i386/cygwin32.h (ASM_OUTPUT_SECTION_NAME): Don't check for
11999         for exact section attributions.
12000
12001         * i386/mingw32.h (CPP_PREDEFINES): Add __MSVCRT__ for msvc
12002         runtime.
12003         * i386/crtdll.h (CPP_PREDEFINES): Define.
12004
12005 Sat Sep  5 03:23:05 1998  Jeffrey A Law  (law@cygnus.com)
12006
12007         * m68k.md (5200 movqi): Do not allow byte sized memory references
12008         using address regs.
12009         * m68k.c (output_move_qimode): Do not use byte sized operations on
12010         address registers.
12011
12012         * Makefile.in (pexecute.o): Use pexecute.c from libiberty.  Provide
12013         explicit rules for building.  Similarly for alloca, vfprintf,
12014         choose-temp and mkstemp, getopt, getopt1, and obstack.
12015         (INCLUDES): Add $(srcdir)/../include.
12016         * pexecute.c, alloca.c, vfprintf.c, choose-temp.c, mkstemp.c: Delete.
12017         * getopt.h, getopt.c getopt1.c, obstack.c, obstack.h: Likewise.
12018
12019 Fri Sep  4 11:57:50 1998  Tom Tromey  <tromey@cygnus.com>
12020
12021         * gcc.c (do_spec_1): [case 'o'] Account for
12022         lang_specific_extra_outfiles.
12023         (main): Correctly clear all slots in outfiles for
12024         lang_specific_extra_outfiles.  Set input_file_number before
12025         calling lang_specific_pre_link.
12026
12027 Fri Sep  4 10:37:07 1998  Jim Wilson  <wilson@cygnus.com>
12028
12029         * loop.c (load_mems): Fix JUMP_LABEL field after for_each_rtx call.
12030
12031 Fri Sep  4 02:01:05 1998  David S. Miller  <davem@pierdol.cobaltmicro.com>
12032
12033         * config/sparc/sparc.c (output_double_int): In all V9 symbolic
12034         cases, use xword.
12035         (sparc_output_deferred_case_vectors): If no work to do, return.
12036         Fix thinko in Sept 1 change.
12037
12038 1998-09-03  SL Baur  <steve@altair.xemacs.org>
12039
12040         * Makefile.in: add semicolon in BISON definition for portability.
12041
12042 Thu Sep  3 13:34:41 1998  Toon Moene  <toon@moene.indiv.nluug.nl>
12043
12044         * config/nextstep.c (handle_pragma): Correct name of third
12045         argument.
12046
12047 Tue Sep  1 11:30:33 1998  Nick Clifton  <nickc@cygnus.com>
12048
12049         * config/m32r/m32r.md: Change (reg:CC 17) to (reg:SI 17).
12050         * config/m32r/m32r.h: Make register 17 be fixed.
12051         * config/m32r/m32r.c: Use SImode for cc operations.
12052
12053 Thu Sep  3 18:17:34 1998 Benjamin Kosnik  <bkoz@cygnus.com>
12054
12055         * invoke.texi (Warning Options): Add -Wnon-template-friend
12056         documentation.
12057
12058 Thu Sep  3 18:16:16 1998  Michael Meissner  <meissner@cygnus.com>
12059
12060         * rs6000.c (rs6000_override_options): Add -mcpu={401,e603e}.
12061
12062 Thu Sep  3 18:05:16 1998  David Edelsohn  <edelsohn@gnu.org>
12063
12064         * rs6000.md (movsf): Disable explicit secondary-reload-like
12065         functionality if TARGET_POWERPC64.
12066         (movdf): Remove TARGET_POWERPC64 explicit secondary-reload-like
12067         functionality.
12068
12069 Thu Sep  3 11:41:40 1998  Robert Lipe   <robertl@dgii.com>
12070
12071         * fixinc.sco: Borrow code to wrap 'bool' typedefs from tinfo.h
12072         and term.h from fixinc.wrap.
12073
12074 Thu Sep  3 09:47:31 1998  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
12075
12076         * aclocal.m4 (GCC_HEADER_STRING): New macro to detect if it is
12077         safe to include both string.h and strings.h together.
12078         (GCC_NEED_DECLARATION): Test STRING_WITH_STRINGS when deciding
12079         which headers to search for function declarations.  Continue to
12080         prefer string.h over strings.h when both are not acceptable.
12081
12082         * acconfig.h (STRING_WITH_STRINGS): Add stub.
12083
12084         * configure.in: Call GCC_HEADER_STRING.
12085
12086         * system.h: Test STRING_WITH_STRINGS when deciding which headers
12087         to include.  Continue to prefer string.h over strings.h when both
12088         are not acceptable.
12089
12090 Wed Sep  2 23:56:29 1998  David S. Miller  <davem@pierdol.cobaltmicro.com>
12091
12092         * config/sparc/sparc.c (output_double_int): If V9 and MEDLOW, do
12093         not assume top 32-bits of symbolic addresses are zero if
12094         flag_pic.
12095
12096 Thu Sep  3 00:23:21 1998  Richard Henderson  <rth@cygnus.com>
12097
12098         * ginclude/va-alpha.h: Protect entire second portion of the
12099         file against double inclusion.
12100
12101 Thu Sep  3 00:37:55 1998  Ovidiu Predescu  <ovidiu@aracnet.com>
12102
12103         Added support for the Boehm's garbage collector.
12104         * configure.in: Handle --enable-objc-gc.
12105         * configure: Rebuilt.
12106         * Makefile.in (CHECK_TARGETS): Add check-objc.
12107         (check-objc): New rule.
12108         * objc/Make-lang.in: Build a different Objective-C library that
12109         runs with the Boehm's collector.
12110         * objc/encoding.c (objc_round_acc_size_for_types): New function.
12111         * objc/encoding.c: Correctly compute the size of compound types in
12112         the presence of bitfields. Skip the variable name of the type if
12113         any. Added support for long long.
12114         * objc/encoding.h (_C_GCINVISIBLE): New specifier.
12115         (_F_GCINVISIBLE): New mask.
12116         * objc/gc.c: New file. Compute the type memory mask associated with
12117         a class based on the runtime information.
12118         * objc/misc.c: Added the hooks that use the Boehm's collector
12119         allocation functions.
12120         * objc/objc-act.c (build_class_template): Generate a new class
12121         member (gc_object_type) to hold the class' type memory mask.
12122         (build_shared_structure_initializer): Initialize the new member to
12123         NULL.
12124         (encode_complete_bitfield): New function. Generate the new
12125         encoding.
12126         (encode_field_decl): Generate the new encoding only for the GNU
12127         runtime.
12128         * objc/objc-api.h (_C_LNG_LNG, _C_ULNG_LNG): New specifiers for the
12129         long long types.
12130         (class_get_gc_object_type): New function to mark a pointer instance
12131         variable as a weak pointer.
12132         * objc/objc-features.texi: New file.
12133         * objc/objc.h (gc_object_type): New class member.
12134         * objc/objects.c (class_create_instance): Create a typed memory
12135         object when compiled with Boehm's collector support.
12136         * objc/sendmsg.c (__objc_init_install_dtable): Call
12137         __objc_send_initialize instead of setting the initialize flag.
12138         (__objc_send_initialize): Call __objc_generate_gc_type_description
12139         to generate the class type memory mask. Rewrite the code that
12140         sends the +initialize so that it is called only once (bug report
12141         and fix from Ronald Pijnacker <Ronald.Pijnacker@best.ms.philips.com>).
12142         * testsuite/objc: New testsuite for Objective-C type encoding.
12143         * testsuite/lib/objc-torture.exp: New file.
12144         * testsuite/lib/objc.exp: New file.
12145
12146 Wed Sep  2 14:47:36 1998  Jim Wilson  <wilson@cygnus.com>
12147
12148         * jump.c (jump_optimize): In if/then/else transformations, add
12149         another call to modified_between_p for the jump insn.
12150
12151 Wed Sep  2 14:16:49 1998  Jeffrey A Law  (law@cygnus.com)
12152
12153         * fix-header.c (symlink): Treat like readlink.
12154
12155 Wed Sep  2 19:30:06 1998  J"orn Rennecke <amylaar@cygnus.co.uk>
12156
12157         * dwarfout.c (fundamental_type_code): Encode 32 bit floats/doubles
12158         as FT_float.
12159
12160 Wed Sep  2 10:06:07 1998  Nick Clifton  <nickc@cygnus.com>
12161
12162         * config/nextstep.h:    Update HANDLE_PRAGMA macro.
12163         * config/h8300/h8300.h: Update HANDLE_PRAGMA macro.
12164         * config/i960/i960.h:   Update HANDLE_PRAGMA macro.
12165         
12166         * config/nextstep.c (handle_pragma): Take three arguments, as per
12167         the new HANDLE_PRAGMA macro specification.
12168         * config/h8300/h8300.c (handle_pragma): Take three arguments, as
12169         per the new HANDLE_PRAGMA macro specification.
12170         * config/i960/i960.c (process_pragma): Take three arguments, as
12171         per the new HANDLE_PRAGMA macro specification.
12172
12173 Wed Sep  2 09:25:29 1998  Nick Clifton  <nickc@cygnus.com>
12174
12175         * c-lex.c (check_newline):  Call HANDLE_PRAGMA before
12176         HANDLE_SYSV_PRAGMA if both are defined.  Generate warning messages
12177         if unknown pragmas are encountered.
12178         (handle_sysv_pragma): Interpret return code from
12179         handle_pragma_token ().  Return success/failure indication rather
12180         than next unprocessed character. 
12181         (pragma_getc): New function: retrieves characters from the
12182         input stream.  Defined when HANDLE_PRAGMA is enabled.
12183         (pragma_ungetc): New function: replaces characters back into the
12184         input stream.  Defined when HANDLE_PRAGMA is enabled.
12185         
12186         * c-pragma.c (handle_pragma_token): Return success/failure status
12187         of the parse.
12188         
12189         * c-pragma.h: Change prototype of handle_pragma_token().
12190
12191         * varasm.c: (handle_pragma_weak): Only create this function if
12192         HANDLE_PRAGMA_WEAK is defined.
12193
12194         * c-common,c (decl_attributes): If defined call the expression
12195         contained within the INSERT_ATTRIBUTES macro before adding
12196         attributes to a decl.
12197
12198         * tm.texi (HANDLE_PRAGMA): Document the new verion of
12199         HANDLE_PRAGMA, which takes three arguments.
12200         (INSERT_ATTRIBUTES): Document this new macro.  
12201
12202         * LANGUAGES: Document the new version of HANDLE_PRAGMA and the
12203         new INSERT_ATTRIBUTES macro.
12204
12205 Wed Sep  2 02:03:23 1998  David S. Miller  <davem@pierdol.cobaltmicro.com>
12206
12207         * config/sparc/sparc.md (movdf): Only generate special RTL for
12208         LABEL_REFs when PIC.
12209         (move_label_di): Remove
12210         (movdi_pic_label_ref, movdi_high_pic_label_ref,
12211         movdi_lo_sum_pic_label_ref): New patterns for 64-bit label
12212         references when PIC.
12213         * config/sparc/sparc.h (ASM_OUTPUT_ADDR_VEC_ELT,
12214         ASM_OUTPUT_ADDR_DIFF_ELT): Don't do anything special for MEDLOW,
12215         output an .xword for all 64-bit cases.
12216         
12217 Tue Sep  1 15:55:17 1998  David S. Miller  <davem@pierdol.cobaltmicro.com>
12218
12219         * config/sparc/sparc.c (finalize_pic): Don't output arbitrary
12220         alignment, use FUNCTION_BOUNDARY instead.
12221         (sparc_output_deferred_case_vectors): Likewise.
12222
12223 Mon Aug 31 17:25:41 1998  David S. Miller  <davem@pierdol.cobaltmicro.com>
12224
12225         * config/sparc/sparc.md (movsf_const_intreg): Kill warning.
12226         (movtf_insn_sp64, movtf_no_e_insn_sp64): Reorder alternatives.
12227
12228 Mon Aug 31 13:57:55 1998  Richard Henderson  <rth@cygnus.com>
12229
12230         * alpha/va_list.h: New file.
12231         * alpha/x-alpha (EXTRA_HEADERS): New.  Add va_list.h.
12232
12233 Mon Aug 31 14:55:02 1998  Jeffrey A Law  (law@cygnus.com)
12234
12235         * NEWS: Add SCO Openserver and Unixware 7 notes.
12236
12237         * NEWS: Fix typos.
12238
12239 Mon Aug 31 15:42:18 1998  Dave Brolley  <brolley@cygnus.com>
12240
12241         * varasm.c (compare_constant_1): Handle RANGE_EXPR.
12242         (record_constant_1): Handle RANGE_EXPR.
12243
12244 Mon Aug 31 10:54:03 1998  Richard Henderson  <rth@cygnus.com>
12245
12246         * print-rtl.c (print_rtx): NOTE_INSN_LIVE has an rtx not a bitmap.
12247         * haifa-sched.c (sched_analyze): Handle NOTE_INSN_RANGE_START
12248         and NOTE_INSN_RANGE_END specially.
12249         (reemit_notes): Likewise.
12250
12251 Mon Aug 31 10:18:52 1998  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
12252
12253         * sparc.c (TMASK, UMASK): Use `(unsigned)1' not `1U'.
12254         (ultrasparc_sched_init): Remove unneeded &.
12255
12256 Mon Aug 31 10:47:16 1998  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
12257
12258         * config/m68k/m68k.h (TARGET_SWITCHES): Don't remove MASK_68040
12259         for m68020-60, to prevent the use of fintrz.
12260
12261 Sun Aug 30 22:17:20 1998  Mark Mitchell  <mark@markmitchell.com>
12262
12263         * configure.in: If the native compiler is GCC use $(WARN_CFLAGS) 
12264         even in stage1. 
12265         * Makefile.in: Likewise.
12266         * configure: Regenerated.
12267
12268 Sun Aug 30 22:15:41 1998  H.J. Lu  (hjl@gnu.org)
12269
12270         * configure.in (gxx_include_dir): Changed to
12271         '${prefix}/include/g++'-${libstdcxx_interface}.
12272         * configure: Rebuilt.
12273
12274 Sun Aug 30 20:19:43 1998  Hans-Peter Nilsson  <hp@axis.se>
12275
12276         * expr.c (expand_expr): Change ">" to ">=" making MOVE_RATIO use
12277         consistent.
12278         * tm.texi (Costs): Say MOVE_RATIO is number of mem-mem move
12279         *sequences* *below* which scalar moves will be used.
12280
12281 Sun Aug 30 17:18:43 1998  Jeffrey A Law  (law@cygnus.com)
12282
12283         * collect2.c (mktemp): Delete unused declaration.
12284
12285         * config/xm-netbsd.h: Remove unnecessary file.
12286         * config/*/xm-netbsd.h: Do not include the generic xm-netbsd.h
12287         file anymore, it is not needed.
12288
12289 Sun Aug 30 16:05:45 1998  Mark Mitchell  <mark@markmitchell.com>
12290
12291         * convert.c (convert_to_integer): Issue an error on conversions to
12292         incomplete types.
12293
12294 Sun Aug 30 16:47:20 1998  Martin von Lvwis  <loewis@informatik.hu-berlin.de>
12295
12296         * Makefile.in: Add lang_tree_files and gencheck.h.
12297         * configure.in: Generate them.
12298         * gencheck.c: Include gencheck.h.
12299
12300 Sat Aug 29 21:38:24 1998  David S. Miller  <davem@pierdol.cobaltmicro.com>
12301
12302         * config/sparc/sparc.md (pic_lo_sum_di, pic_sethi_di): Rename to
12303         movdi_lo_sum_pic and movdi_high_pic and make visible.
12304         * config/sparc/sparc.c (legitimize_pic_address): For -fPIC,
12305         emit these when Pmode is not SImode.
12306         * config/sparc/linux64.h (SPARC_DEFAULT_CMODEL): Make CM_MEDLOW.
12307
12308 Sat Aug 29 14:59:32 1998  Mumit Khan  <khan@xraylith.wisc.edu>
12309
12310         * i386/cygwin32.h (ASM_OUTPUT_SECTION_NAME): Don't emit
12311         .linkonce directive after the first time.
12312
12313 Sat Aug 29 12:39:56 1998  Jeffrey A Law  (law@cygnus.com)
12314
12315         * m68k.md (beq0_di): Generate correct (and more efficient) code when
12316         the clobbered operand overlaps with an input.
12317         (bne0_di): Similarly.
12318
12319         * Makefile.in (INSTALL): Remove "--no-header" argument.
12320
12321         * NEWS: Various updates.
12322
12323 Fri Aug 28 19:00:44 1998  David S. Miller  <davem@pierdol.cobaltmicro.com>
12324
12325         * config/sparc/sparc.c (arith_operand, const64_operand,
12326         const64_high_operand, arith_double_4096_operand): Mark mode as
12327         unused.
12328         (create_simple_focus_bits): Remove unused arg highest_bit_set, all
12329         callers changed.
12330         (sparc_emit_set_const64): Remove unused variable i.
12331         (sparc_splitdi_legitimate): Likewise for addr_part.
12332         (ultra_code_from_mask): Likewise for mask.
12333         (ultra_cmove_results_ready_p): Fixup entry modulo calc. and
12334         reverse return values so it matches usage and comments.
12335         (ultra_flush_pipeline): Likewise.
12336         (ultra_fpmode_conflict_exists): Likewise, remove unused variable
12337         this_type, and allow loads and stores of differing FP modes as
12338         they do not create a conflict.
12339         (ultra_find_type): Initialize fpmode to SFmode, fix
12340         parenthesization thinkos in large conditional.
12341         (ultrasparc_sched_init): Mark dump and sched_verbose as unused.
12342         Init free_slot_mask after ultra_cur_hist is reset, not before.
12343         (ultrasparc_rescan_pipeline_state): Remove unused variable ucode.
12344         (ultrasparc_sched_reorder): Don't bzero current pipeline state,
12345         use ultra_flush_pipeline instead, then re-init group pointer.
12346         Fix statement with no effect.  If no progress made in, and no
12347         instructions scheduled at all, advance to new pipeline cycle else
12348         we get into an endless loop.
12349         (ultrasparc_adjust_cost): Remove previous arg.
12350         * config/sparc/sparc.h (ADJUST_COST): Update to reflect that.
12351         
12352 Fri Aug 28 13:52:35 1998  Jim Wilson  <wilson@cygnus.com>
12353
12354         * sparc.md (DImode, DFmode, TFmode splits): Delete self_reference
12355         code.  Use reg_overlap_mentioned_p to detect when source and
12356         destination overlap.
12357         (negtf2_notv9+1): Use DFmode instead of SFmode in last two operands.
12358
12359 1998-08-28  Brendan Kehoe  <brendan@cygnus.com>
12360
12361         * loop.c (check_dbra_loop): Pass COMPARISON_VALUE, not
12362         COMPARISON_VAL, into invariant_p.
12363
12364 Fri Aug 28 15:13:25 1998  J"orn Rennecke <amylaar@cygnus.co.uk>
12365
12366         * regmove.c (regclass_compatible_p): New function.
12367         (regmove_optimize): Use it.
12368
12369         Use NREGS parameter insted of calling max_reg_num.
12370
12371         (fixup_match_1): Don't use code = MINUS when later tieing with
12372         a hard register is likely.
12373
12374 Fri Aug 28 14:54:07 1998  J"orn Rennecke <amylaar@cygnus.co.uk>
12375
12376         * loop.c (check_dbra_loop): Fix calculation of FINAL_VALUE when
12377         COMPARISON_VAL was normalized.
12378
12379 Thu Aug 27 20:10:46 1998  Jeffrey A Law  (law@cygnus.com)
12380
12381         * loop.c (check_dbra_loop): The loop ending comparison value
12382         must be an invariant or we can not reverse the loop.
12383
12384         * loop.c (scan_loop): Count down from max_reg_num - 1 to
12385         FIRST_PSEUDO_REGISTER to avoid calling max_reg_num each iteration
12386         of the loop.
12387         (load_mems_and_recount_loop_regs_set): Likewise.
12388
12389         * i386.c (print_operand): Remove obsolete 'c' docs.
12390
12391 Wed Aug 26 17:13:37 1998  Tom Tromey  <tromey@cygnus.com>
12392
12393         * gthr.h: Document __GTHREAD_MUTEX_INIT_FUNCTION.
12394         * frame.c (init_object_mutex): New function.
12395         (init_object_mutex_once): Likewise.
12396         (find_fde): Call it.
12397         (__register_frame_info): Likewise.
12398         (__register_frame_info_table): Likewise.
12399         (__deregister_frame_info): Likewise.
12400
12401 Thu Aug 27 15:14:18 1998  Jeffrey A Law  (law@cygnus.com)
12402
12403         * haifa-sched.c (sched_analyze_insn): Fix thinko in last change.
12404
12405 Thu Aug 27 16:34:51 1998  J"orn Rennecke <amylaar@cygnus.co.uk>
12406
12407         * loop.c (check_dbra_loop): Enable code for reversal
12408         of some loops without a known constant loop end.
12409
12410 Wed Aug 26 18:38:15 1998  Richard Henderson  <rth@cygnus.com>
12411
12412         * haifa-sched.c (last_clock_var): New.
12413         (schedule_block): Initialize it.
12414         (schedule_insn): Use it to fill insn modes with issue information.
12415
12416         * alpha.c (alpha_handle_trap_shadows): Remove do-nothing exit.
12417         Tag trapb and next insn with TImode.
12418         (alphaev5_insn_pipe, alphaev5_next_group, alphaev5_align_insns): New.
12419         (alpha_reorg): Add conditional for alpha_handle_trap_shadows.
12420         Invoke alphaev5_align_insns as appropriate.
12421         * alpha.h (LABEL_ALIGN_AFTER_BARRIER): Was ALIGN_LABEL_AFTER_BARRIER.
12422         (MD_SCHED_VARIABLE_ISSUE): New.
12423         * alpha.md (attr type): Add multi.
12424         (define_asm_attributes): New.
12425         (prologue_stack_probe_loop, builtin_setjmp_receiver): Set type multi.
12426         (arg_home): Likewise.
12427         (fnop, unop, realign): New.
12428
12429 Wed Aug 26 15:55:41 1998  Jim Wilson  <wilson@cygnus.com>
12430
12431         * iris5.h (PREFERRED_DEBUGGING_TYPE): Undef.
12432         * iris5gas.h (PREFERRED_DEBUGGING_TYPE): Define.
12433
12434         * configure.in (powerpc-ibm-aix4.[12]*): Change from 4.[12].*.
12435         (rs6000-ibm-aix4.[12]*): Likewise.
12436         * configure: Regnerate.
12437
12438 Wed Aug 26 09:30:59 1998  Nick Clifton  <nickc@cygnus.com>
12439
12440         * config/arm/thumb.c (thumb_exit): Do not move a4 into lr if it
12441         already contains the return address.
12442
12443 Wed Aug 26 12:57:09 1998  Jeffrey A Law  (law@cygnus.com)
12444
12445         * calls.c (expand_call): Use bitfield instructions to extract/deposit
12446         word sized hunks when loading unaligned args into registers.
12447
12448         * haifa-sched.c (sched_analyze_insn): Only create scheduling
12449         barriers for LOOP, EH and SETJMP notes on the loop_notes list.
12450
12451         * mn10300.h (RTX_COSTS): Handle UDIV and UMOD too.
12452
12453 Wed Aug 26 16:35:37 1998  J"orn Rennecke <amylaar@cygnus.co.uk>
12454
12455         * loop.c (check_dbra_loop): Add some code that would allow reversal
12456         of some loops without a known constant loop end if it were enabled.
12457
12458 Wed Aug 26 11:08:44 1998  Gavin Romig-Koch  <gavin@cygnus.com>
12459
12460         * mips.md (lshrsi3_internal2+2): Fix type-o.
12461
12462 Wed Aug 26 10:53:03 1998  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
12463
12464         * system.h: Include stdarg.h/varargs.h, make sure they are ordered
12465         correctly with regards to stdio.h.
12466         
12467         * calls.c: Remove stdarg.h/varargs.h.
12468         * cccp.c: Likewise.
12469         * cexp.y: Likewise.
12470         * combine.c: Likewise.
12471         * cpperror.c: Likewise.
12472         * cpplib.c: Likewise.
12473         * cpplib.h: Likewise.
12474         * doprint.c: Likewise.
12475         * emit-rtl.c: Likewise.
12476         * final.c: Likewise.
12477         * fix-header.c: Likewise.
12478         * gcc.c: Likewise.
12479         * genattr.c: Likewise.
12480         * genattrtab.c: Likewise.
12481         * gencodes.c: Likewise.
12482         * genconfig.c: Likewise.
12483         * genemit.c: Likewise.
12484         * genextract.c: Likewise.
12485         * genflags.c: Likewise.
12486         * genopinit.c: Likewise.
12487         * genoutput.c: Likewise.
12488         * genpeep.c: Likewise.
12489         * genrecog.c: Likewise.
12490         * mips-tfile.c: Likewise.
12491         * prefix.c: Likewise.
12492         * protoize.c: Likewise.
12493         * regmove.c: Likewise.
12494         * toplev.c: Likewise.
12495         * tree.c: Likewise.
12496
12497 Wed Aug 26 05:09:27 1998  Jakub Jelinek  <jj@sunsite.ms.mff.cuni.cz>
12498
12499         * config/sparc/sparc.c (sparc_override_options): If not
12500         TARGET_FPU, turn off TARGET_VIS.
12501         * config/sparc/sparc.h (TARGET_SWITCHES): Add no-vis.
12502         (LEGITIMATE_CONSTANT_P): Allow SF/DF mode zero when TARGET_VIS.
12503         * config/sparc/sparc.md (movsi_insn): Use fzeros not fzero.
12504         (movdi_insn_sp64): Add VIS fzero alternative.
12505         (clear_sf, clear_df): New VIS patterns.
12506         (movsf, movdf expanders): Allow fp_zero_operand flat out when
12507         TARGET_VIS.
12508         (one_cmpldi2_sp64): Provide new fnot1 VIS alternative.
12509         
12510 Tue Aug 25 10:57:41 1998  Mark Mitchell  <mark@markmitchell.com>
12511
12512         * loop.c (n_times_set, n_times_used, may_not_optimize,
12513         reg_single_usage): Convert to varrays.  All uses changed.
12514         (insert_loop_mem): Return a value.
12515         (scan_loop): Tweak AVOID_CC_MODE_COPIES code.
12516         (load_mems_and_recount_loop_regs_set): Likewise.  Grow the arrays, if
12517         necessary.
12518
12519 Tue Aug 25 23:57:12 1998  Jeffrey A Law  (law@cygnus.com)
12520
12521         * From Alexandre:
12522         * configure.in: Do not set thread_file to "irix" since no such
12523         support exists yet.
12524
12525         * sparc.md (float abs/neg splits): Check reload_completed before
12526         calling alter_subreg.
12527
12528 Tue Aug 25 19:17:59 1998  David S. Miller  <davem@pierdol.cobaltmicro.com>
12529
12530         * config/sparc/sparc.c (sparc_absnegfloat_split_legitimate): New
12531         function.
12532         * config/sparc/sparc.h: Declare it.
12533         * config/sparc/sparc.md (float abs/neg splits): Use it.
12534         (all other splits): Handle SUBREGs properly where necessary.
12535         (unnamed (1<<x)-1 V8PLUS pattern): Disable for now.
12536
12537 Tue Aug 25 19:48:46 1998  Jeffrey A Law  (law@cygnus.com)
12538
12539         * reorg.c (fill_simple_delay_slots): Do not abort if we encounter
12540         an insn on the unfilled_slots_list that has no delay slots.
12541         (fill_eager_delay_slots): Similarly.
12542
12543 Tue Aug 25 13:35:20 1998  Nick Clifton  <nickc@cygnus.com>
12544
12545         * config/v850/v850.c (movsi_source_operand): Treat CONSTANT_P_RTX
12546         as an ordinary operand.
12547
12548 Tue Aug 25 12:54:57 1998  Jason Merrill  <jason@yorick.cygnus.com>
12549
12550         * tree.c (valid_machine_attribute): Don't apply attributes to both
12551         decl and type.
12552
12553 Tue Aug 25 12:23:20 PDT 1998  Richard Henderson  <rth@cygnus.com>
12554
12555         * reload.c (operands_match_p): Handle rtvecs.
12556
12557         * i386.c (legitimate_pic_address_disp_p): New.
12558         (legitimate_address_p): Use it.
12559         (legitimize_pic_address): Use unspecs to represent @GOT and @GOTOFF.
12560         Handle constant pool symbols just like statics.
12561         (emit_pic_move): Use Pmode not SImode for clarity.
12562         (output_pic_addr_const) [SYMBOL_REF]: Remove @GOT and @GOTOFF hacks.
12563         [UNSPEC]: New, handling what we killed above.
12564         [PLUS]: Detect and abort on invalid symbol arithmetic.
12565         * i386.h (CONSTANT_ADDRESS_P): Remove HIGH.
12566
12567 Tue Aug 25 12:02:23 1998  Mark Mitchell  <mark@markmitchell.com>
12568
12569         * alias.c: Include output.h.
12570         (DIFFERENT_ALIAS_SETS_P): Don't treat alias sets as
12571         different if we're in a varargs function.
12572         * Makefile.in (alias.o): Depend on output.h
12573         
12574 Tue Aug 25 19:20:12 1998  J"orn Rennecke <amylaar@cygnus.co.uk>
12575
12576         * sh.h (GIV_SORT_CRITERION): Delete.
12577
12578 Tue Aug 25 13:19:46 1998  Dave Brolley  <brolley@cygnus.com>
12579
12580         * regclass.c (regclass): Use xmalloc/free instead of alloca.
12581         * stupid.c (stupid_life_analysis): Ditto.
12582         * reload1.c (reload): Ditto.
12583
12584 Tue Aug 25 05:48:18 1998  Jakub Jelinek  <jj@sunsite.ms.mff.cuni.cz>
12585
12586         * config/sparc/sparc.c (arith_4096_operand, arith_add_operand,
12587         arith_double_4096_operand, arith_double_add_operand): New
12588         predicates.
12589         * config/sparc/sparc.h (PREDICATE_CODES): Add them, declare them.
12590         * config/sparc/sparc.md (adddi3, addsi3, subdi3, subsi3): Use
12591         them to transform add/sub 4096 into add/sub -4096.
12592
12593 Mon Aug 24 23:31:03 1998  David S. Miller  <davem@pierdol.cobaltmicro.com>
12594
12595         * loop.c (scan_loop): Allocate some slop to handle pseudos
12596         generated by move_movables.
12597         (load_mems_and_recount_loop_regs_set): Honor AVOID_CC_MODE_COPIES
12598         here too.
12599
12600 Mon Aug 24 19:45:40 1998  Jim Wilson  <wilson@cygnus.com>
12601
12602         * tree.def (DECL_RESULT): Correct documentation.
12603
12604 Tue Aug 25 01:15:27 1998  J"orn Rennecke <amylaar@cygnus.co.uk>
12605
12606         * reload1.c (reload_reg_free_before_p): New argument EQUIV;  Changed
12607         all callers.  Abort for RELOAD_FOR_INSN.  RELOAD_FOR_OUTADDR_ADDR:
12608         conflicts will all RELOAD_FOR_OUTPUT reloads.
12609
12610         * reload1.c (reload_cse_regs_1): When deleting a no-op move that
12611         loads the function result, substitute with a USE.
12612
12613 Mon Aug 24 15:20:19 1998  David Edelsohn  <edelsohn@gnu.org>
12614
12615         * rs6000.h (GO_IF_LEGITIMATE_ADDRESS): Use TARGET_POWERPC64
12616         when testing LEGITIMATE_INDEXED_ADDRESS_P DFmode and DImode.
12617         (LEGITIMIZE_ADDRESS): Use TARGET_POWERPC64 for INDEXED fixup.
12618         * rs6000.c (print_operand, case 'L'): Add UNITS_PER_WORD, not 4.
12619         (print_operand, cases 'O' and 'T'): Fix typos in lossage strings.
12620         * rs6000.md (fix_truncdfsi2_store): Remove %w from non-CONST_INT
12621         operand. 
12622         (movdf_softfloat32, movdf_hardfloat64, movdf_softfloat64): Change
12623         'o' to 'm' for GPR variant constraints.
12624
12625 Mon Aug 24 10:25:46 1998  Jeffrey A Law  (law@cygnus.com)
12626
12627         * loop.c (scan_loop): Honor AVOID_CC_MODE_COPIES.
12628
12629         * h8300.h (STRIP_NAME_ENCODING): Fix typo.
12630
12631         * sparc.md (TFmode splits): Use reg_overlap_mentioned_p to detect
12632         when the source and destination overlap.
12633
12634         * stmt.c (emit_case_nodes): Change rtx_function to rtx_fn to avoid
12635         clash with global type.
12636
12637 Mon Aug 24 00:53:53 1998  Jason Merrill  <jason@yorick.cygnus.com>
12638
12639         * fixinc.irix: Add curses.h handling from fixinc.wrap.
12640
12641         * c-common.c (combine_strings): Also set TREE_READONLY.
12642         Change warn_write_strings to flag_const_strings.
12643         * c-decl.c, c-tree.h: Likewise.
12644
12645 Sun Aug 23 18:39:11 1998  David S. Miller  <davem@pierdol.cobaltmicro.com>
12646
12647         * config/sparc/sparc.c (sparc_emit_set_const32): If outputting a
12648         CONST_INT, not a symbolic reference, don't use a HIGH/LO_SUM
12649         sequence, use SET/IOR instead so CSE can see it.
12650         * config/sparc/sparc.md (movhi_const64_special,
12651         movsi_const64_special): New patterns necessitated by that change.
12652         (movhi_high): Remove.
12653         (movhi_lo_sum): Change to match an IOR.
12654         (movdf_insn_sp32): Test TARGET_V9 not TARGET_ARCH64.
12655         (movdf_insn_v9only): New pattern for when V9 but not ARCH64.
12656         (movdf_insn_sp64): Test both TARGET_V9 and TARGET_ARCH64.
12657         (movdf splits): Allow when not V9 or when not ARCH64 and integer
12658         registers are involved.
12659         (snesi_zero_extend split): Remove reload_completed test.
12660         (unnamed plus and minus zero_extend sidi splits): Add it.
12661
12662 Sun Aug 23 11:56:08 1998  Mark Mitchell  <mark@markmitchell.com>
12663
12664         * extend.texi: Remove description of extension to explicit
12665         instantiation that is now endorsed by standard C++.
12666
12667 Sun Aug 23 09:39:09 1998  David S. Miller  <davem@pierdol.cobaltmicro.com>
12668
12669         * config/arc/arc.c (arc_initialize_pic): Remove.
12670         * config/arc/arc.h (INITIALIZE_PIC): Similarly, this routine does
12671         nothing on any platform and is invoked by no-one, it does not even
12672         appear in the documentation.
12673         * config/sparc/sparc.h (INITIALIZE_PIC): Likewise.
12674         * config/sparc/sparc.c (initialize_pic): Likewise.
12675         (find_addr_reg): Remove this as well, no longer referenced after
12676         my rewrite.
12677
12678 Sun Aug 23 00:17:14 1998  Jeffrey A Law  (law@cygnus.com)
12679
12680         * recog.c (validate_replace_rtx_group): New function.
12681         * recog.h (validate_replace_rtx_group): Declare it.
12682         * regmove.c (optimize_reg_copy_3): If any substitution fails, then undo
12683         the entire group of substitutions.
12684
12685 Sat Aug 22 23:31:00 1998  Klaus-Georg Adams  (Klaus-Georg.Adams@chemie.uni-karlsruhe.de)
12686
12687         * loop.c (load_mems): Fix initializers.
12688
12689 Fri Aug 21 23:07:46 1998  David S. Miller  <davem@pierdol.cobaltmicro.com>
12690
12691         * config/sparc/sparc.md (TFmode splits): Handle destination
12692         registers being referenced in the address correctly.
12693
12694         * expmed.c (make_tree) [CONST_INT]: Sign extend even if
12695         TREE_UNSIGNED, when bitsize of type's mode is larger than
12696         HOST_BITS_PER_WIDE_INT.
12697
12698 Fri Aug 21 19:31:31 1998  Alexandre Petit-Bianco <apbianco@cygnus.com>
12699
12700         * tree.def (LABELED_BLOCK_EXPR, EXIT_BLOCK_EXPR): New tree nodes.
12701         * tree.h (LABELED_BLOCK_LABEL, LABELED_BLOCK_BODY,
12702         EXIT_BLOCK_LABELED_BLOCK, EXIT_BLOCK_RETURN, LOOP_EXPR_BODY): New
12703         macros.
12704         * expr.c (expand_expr): Handle LABELED_BLOCK_EXPR and
12705         EXIT_BLOCK_EXPR.
12706
12707 Thu Aug 20 19:43:44 1998  Jeffrey A Law  (law@cygnus.com)
12708
12709         * h8300.c (h8300_encode_label): Use '&' for tiny data items.
12710         * h8300.h (TINY_DATA_NAME_P): Likewise.
12711         (STRIP_NAME_ENCODING): Handle '&'.
12712
12713         * mn10200.h (REG_OK_FOR_INDEX_P): Do not check the mode of the
12714         register (it could be accessed via an outer SUBREG).
12715         (REG_OK_FOR_BASE_P): Likewwise.
12716         (GO_IF_LEGITIMATE_ADDRESS): Consistently use REGNO_OK_FOR_BASE_P.
12717
12718         * remove.c (optimize_reg_copy_3): Abort instead of silently generating
12719         bogus rtl.
12720
12721         * jump.c (rtx_renumbered_equal_p): Do not consider PLUS commutative.
12722
12723 Thu Aug 20 17:35:20 1998  David S. Miller  <davem@pierdol.cobaltmicro.com>
12724
12725         * config/sparc/sparc.md (movtf_insn_sp32): All memory operands
12726         must be offsettable so the splits can be made.
12727
12728 Thu Aug 20 13:56:53 1998  Michael Meissner  <meissner@cygnus.com>
12729
12730         * config/i386/winnt.c: Include system.h, not stdio.h to get
12731         sys/param.h pulled in before rtl.h in case the system defines MIN
12732         and MAX.
12733
12734 Thu Aug 20 13:44:20 1998  David Edelsohn  <edelsohn@gnu.org>
12735
12736         * rs6000.md (movqi, movhi): Add CONSTANT_P_RTX.
12737
12738 Thu Aug 20 13:15:11 1998  Dave Brolley  <brolley@cygnus.com>
12739
12740         * stor-layout.c (layout_type): Compute TYPE_SIZE_UNIT correctly for
12741         arrays of bits.
12742         * cpplib.c (cpp_define): Handle macros with parameters.
12743
12744 Wed Aug 19 21:33:19 1998  David Edelsohn  <edelsohn@gnu.org>
12745
12746         * rs6000.c (rs6000_output_load_toc_table): Use ld for 64-bit.
12747         (output_toc): Use single TOC slot or llong minimal-toc for DFmode
12748         and DImode 64-bit.  Use llong for minimal-toc SFmode and
12749         SYMBOL_REF / LABEL_REF 64-bit.
12750         (output_function_profiler): Use llong for profiler label and ld to
12751         load 64-bit label address.
12752
12753 Wed Aug 19 17:52:27 1998  Nick Clifton  (nickc@cygnus.com)
12754
12755         * config/arm/thumb.md (extendqisi2_insn): Cope with REG +
12756         OFFSET addressing.
12757
12758 Wed Aug 19 14:13:31 PDT 1998 Jeff Law  (law@cygnus.com)
12759
12760         * version.c: Bump for snapshot.
12761
12762 Wed Aug 19 13:10:30 PDT 1998 Jeff Law  (law@cygnus.com)
12763
12764         * version.c: Bump for snapshot.
12765
12766 Wed Aug 19 13:06:47 1998  Jason Merrill  <jason@yorick.cygnus.com>
12767
12768         * collect2.c (extract_init_priority): Use atoi instead of strtoul.
12769
12770 Wed Aug 19 13:51:35 1998  Hans-Peter Nilsson  <hp@axis.se>
12771
12772         * tm.texi (Misc): Fix typo "teh".
12773
12774         * tm.texi (PIC): Fix typo "PPIC".
12775
12776         * tm.texi (Caller Saves): Say that DEFAULT_CALLER_SAVES has no
12777         effect when -O2 and higher.
12778         * invoke.texi (Optimize Options): Likewise for -fcaller-saves.
12779
12780 1998-08-19  Michael Hayes  <michaelh@ongaonga.chch.cri.nz>
12781
12782         * regclass.c: Changed register set documentation to be consistent
12783         with GCC behaviour.
12784
12785         * final.c (final_start_function) Removed redundant test for
12786         call_fixed_regs.
12787
12788 Wed Aug 19 13:28:41 1998  Mark Mitchell  <mark@markmitchell.com>
12789
12790         * rtl.h (rtx_function): New type.
12791         (for_each_rtx): New function.
12792         * rtlanal.c (for_each_rtx): Define it.
12793         
12794         * recog.c (change_t): New type.
12795         (change_objects, change_old_codes, change_locs, change_olds):
12796         Replace with ...
12797         (changes): New variable.
12798         (validate_change): Dynamically allocate room for more changes, if
12799         necessary.  Uses changes array instead of change_objects, etc.
12800         (apply_change_group):  Use changes array instead of
12801         change_objects, etc.
12802         
12803         * loop.c (loop_mem_info): New type.
12804         (loop_mems): New variable.
12805         (loop_mems_idx): Likewise.
12806         (looop_mems_allocated): Likewise.
12807         (scan_loop): Remove nregs parameter.
12808         (next_insn_in_loop): New function.
12809         (load_mems_and_recount_loop_regs_set): Likewise.
12810         (load_mems): Likewise.
12811         (insert_loop_mem): Likewise.
12812         (replace_loop_mem): Likewise.
12813         (replace_label): Likewise.
12814         (INSN_IN_RANGE_P): New macro.
12815         (loop_optimize): Don't pass max_reg_num() to scan_loop.
12816         (scan_loop): Remove nregs parameter, compute it after any new
12817         registers are created by load_mems.  Use INSN_IN_RANGE_P and
12818         next_insn_in_loop rather than expanding them inline.  Call
12819         load_mems to load memory into pseudos, if appropriate.
12820         (prescan_loop): Figure out whether or not there are jumps from the
12821         loop to targets other than the label immediately following the
12822         loop.  Call insert_loop_mem to notice all the MEMs used in the
12823         loop, if it could be safe to pull MEMs into REGs for the duration
12824         of the loop.
12825         (strength_reduce): Use next_insn_in_loop.  Tweak comments.
12826
12827 Wed Aug 19 08:29:44 1998  Richard Earnshaw (rearnsha@arm.com)
12828
12829         * arm.c (arm_override_options): Remove lie about ignoring PIC flag.
12830
12831 Wed Aug 19 07:08:15 1998  David S. Miller  <davem@pierdol.cobaltmicro.com>
12832
12833         * config/sparc/sparc.c (finalize_pic): Check for the correct
12834         nonlocal_goto_receiver UNSPEC number.
12835         * config/sparc/sparc.md (nonlocal_goto_receiver): Add comment
12836         making note of this dependency existing in sparc.c
12837         (negtf2_notv9 split): Give NEG SFmode.
12838         (negsf2): Fix insn output string.
12839         
12840 Tue Aug 18 12:40:27 1998  Richard Henderson  <rth@cygnus.com>
12841
12842         * c-common.c (decl_attributes): Issue an error if the argument
12843         to alias is not a string.
12844
12845 Tue Aug 18 10:33:30 1998  Jeffrey A Law  (law@cygnus.com)
12846
12847         * haifa-sched.c (sched_analyze): Put all JUMP_INSNs on the last
12848         pending memory flush list.
12849
12850         * combine.c (can_combine_p): Allow combining insns with REG_RETVAL
12851         notes.
12852         (try_combine): Allow combining insns with REG_LIBCALL notes.
12853
12854         * expr.c (emit_block_move): Do not call memcpy as a libcall
12855         instead build up a CALL_EXPR and call it like any other
12856         function.
12857         (clear_storage): Similarly for memset.
12858
12859         * regmove.c (fixup_match_2): Do not call reg_overlap_mentioned_p
12860         on notes.
12861
12862         * Makefile.in (cplus-dem.o): Provide explicit rules for building
12863         cplus-dem.o
12864
12865         * regmove.c (optimize_reg_copy_1): Update REG_N_CALLS_CROSSED
12866         and REG_LIVE_LENGTH as successful substitutions are made.
12867
12868 Tue Aug 18 07:15:27 1998  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
12869
12870         * config/sparc/sparc.c (ultra_find_type): Add empty semicolon
12871         statement after end of loop label.
12872
12873 Tue Aug 18 07:13:27 1998  David S. Miller  <davem@pierdol.cobaltmicro.com>
12874
12875         * config/sparc/sparc.c (ultra_types_avail): New variable.
12876         (ultra_build_types_avail): New function to record mask of insn
12877         types in ready list at this cycle.
12878         (ultrasparc_sched_reorder): Call it.
12879         (ultra_find_type): Use it to quicken the search.  Also simplif
12880         dependency check, don't use rtx_equal_p because we know exactly
12881         what we are looking for.
12882
12883 Tue Aug 18 03:20:53 1998  Richard Earnshaw  (rearnsha@arm.com)
12884
12885         * arm.h (SECONDARY_INPUT_RELOAD_CLASS): Return NO_REGS if compiling
12886         for architecture v4.
12887
12888 Mon Aug 17 21:26:38 1998  David S. Miller  <davem@pierdol.cobaltmicro.com>
12889
12890         * config/sparc/sparc.md (sltu, sgeu): Don't FAIL, call
12891         gen_compare_reg.
12892         (movsf_const_intreg, movsf_const_high, movsf_const_lo,
12893         movdf_const_intreg and helper splits): New patterns to move float
12894         constants into integer registers.
12895         (negtf2, negdf2, abstf2, absdf2): Rework using new patterns and
12896         splits.
12897
12898 Mon Aug 17 11:46:19 1998  Jeffrey A Law  (law@cygnus.com)
12899
12900         * From Graham
12901         * tree.c (build_index_type): Copy TYPE_SIZE_UNIT from sizetype
12902         to itype.
12903         * c-decl.c (finish_enum): Copy TYPE_SIZ_UNIT from enumtype to tem.
12904
12905         * rs6000.c (secondary_reload_class): For TARGET_ELF, indicate that
12906         a BASE_REGS register is needed as an intermediate when copying
12907         a symbolic value into any register class other than BASE_REGS.
12908
12909         * expr.c (move_by_pieces): No longer static.  Remove prototype.
12910         * rtl.h (move_by_pieces): Add extern prototype.
12911         * mips.c (expand_block_move): Handle aligned straight line copy by
12912         calling move_by_pieces.
12913
12914         * expr.c (expand_expr): Allow assignments from TImode PARM_DECLs
12915         and VAR_DECLs.
12916
12917 Mon Aug 17 10:28:52 1998  Mark Mitchell  <mark@markmitchell.com>
12918
12919         * stmt.c (expand_end_loop): Tidy.  Allow unconditional
12920         jumps out of the loop to be treated as part of the exit test.
12921
12922 Mon Aug 17 10:06:11 1998  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
12923                           Jeff Law <law@cygnus.com>
12924
12925         * Makefile.in (cplus-dep.o): Use cplus-dem.c from libiberty.
12926         * cplus-dem.c: Delete.
12927
12928         * Makefile.in (fold-const.o): depend on $(RTL_H).
12929
12930         * fold-const.c: Include rtl.h to get the prototype for
12931         `set_identifier_local_value'.
12932
12933         * loop.c (express_from_1): Remove unused variable `tmp'.
12934         (combine_givs): cast the first argument of bzero to char *.
12935
12936         * toplev.c (display_help): Remove unused variable `looking_for_start'.
12937
12938         * c-decl.c (init_decl_processing): Remove unneeded &.
12939
12940         * alpha.h (alpha_initialize_trampoline): Provide prototype.
12941         
12942         * except.c (set_exception_lang_code, set_exception_version_code):
12943         Change parameter from `short' to `int' to avoid using a gcc
12944         extension.
12945
12946         * except.h (set_exception_lang_code, set_exception_version_code):
12947         Likewise for prototypes.
12948
12949         * flow.c (count_reg_references): Remove unused variables `regno'
12950         and `i'.
12951
12952         * gcse.c (hash_scan_insn): Declare parameter `in_libcall_block'.
12953
12954         * prefix.c (translate_name): Cast the result of `alloca'.
12955
12956         * varray.h (VARRAY_FREE): Reimplement as a `do-while(0)' statement.
12957
12958 Mon Aug 17 09:23:42 1998  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
12959
12960         * config/m68k/m68k.c: Include "system.h" instead of <stdio.h>.
12961         Include "toplev.h".
12962         (valid_dbcc_comparison_p): Mark mode argument as unused.
12963         (symbolic_operand): Likewise.
12964         (legitimize_pic_address): Likewise.
12965         (const_uint32_operand): Likewise.
12966         (const_sint32_operand): Likewise.
12967         * sched.c [!INSN_SCHEDULING]: Define only dummy function
12968         schedule_insns and comment out rest of file.
12969
12970         * m68k.c (output_move_simode_const): Use subl to move a zero into an
12971         address register.
12972         (output_move_[hq]imode): Likewise.
12973
12974 Mon Aug 17 09:15:47 1998  Jeffrey A Law  (law@cygnus.com)
12975
12976         * toplev.c (main): Enable -fstrict-aliasing for -O2 and above.
12977         * invoke.texi: Corresponding changes.
12978
12979 Mon Aug 17 02:03:55 1998  Richard Henderson  <rth@cygnus.com>
12980
12981         * regclass.c (allocate_reg_info): Respect MIN when clearing data.
12982
12983 Sun Aug 16 17:37:06 1998  David S. Miller  <davem@pierdol.cobaltmicro.com>
12984
12985         * config/sparc/sparc.c (ultra_code_from_mask,
12986         ultra_cmove_results_ready_p, ultra_fpmode_conflict_exists,
12987         ultra_find_type, ultra_schedule_insn, ultra_flush_pipeline,
12988         ultrasparc_sched_init, ultrasparc_variable_issue,
12989         ultra_rescan_pipeline_state, ultrasparc_sched_reorder): New
12990         functions to describe UltraSPARC pipeline exactly to Haifa.
12991         (ultrasparc_adjust_cost): Indicate IMUL type insns have zero cost,
12992         as there is nothing the scheduler can do about it.  Indicate that
12993         REG_DEP_OUTPUT's collide.  Fixup formatting.
12994         * config/sparc/sparc.h (RTX_COSTS): Fixup integer multiply and
12995         divide costs on Ultra for DImode.
12996         (MD_SCHED_INIT, MD_SCHED_REORDER, MD_SCHED_VARIABLE_ISSUE):
12997         Define.
12998         * config/sparc/sparc.md (ieu_unnamed function unit): Rename to
12999         ieuN and add call_no_delay_slot to type list.
13000         (cti function unit): New unit for branches on UltraSPARC.
13001         (subx/addx insns): Set type to misc.
13002         (sidi zero/sign extension insns on arch64): Set type to shift.
13003         (sign_extendhidi2_insn): Set type to sload.
13004
13005 Sun Aug 16 13:52:00 1998  David Edelsohn  <edelsohn@gnu.org>
13006
13007         * rs6000.c (rs6000_stack_info): Use if == 0 for sizes.
13008         (output_epilog): Use if != 0 for offset.
13009         (rs6000_fatal_bad_address): Prepare for Intl.
13010         * rs6000.h (rs6000_fatal_bad_address): Declare.
13011         * rs6000.md (movsfcc, movdfcc): Use else if.
13012         (elf_high): Use {liu|lis}.
13013         (elf_low): Use {cal|la}.  Remove %a template from old mnemonics.
13014         (movsi): Use rs6000_fatal_bad_address.
13015         
13016 Sun Aug 16 01:53:21 1998  Richard Henderson  <rth@cygnus.com>
13017
13018         * reload.c (find_equiv_reg): Reject equivalences separated
13019         by a volatile instruction.
13020
13021 Sun Aug 16 00:21:44 1998 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
13022
13023         * rs6000/linux.h (CPP_OS_DEFAULT_SPEC): Define.
13024
13025 Sat Aug 15 20:51:35 1998  Richard Henderson  <rth@cygnus.com>
13026
13027         * alpha.md (movsicc): Fix mode mismatch.
13028
13029 Sat Aug 15 20:22:33 1998  H.J. Lu  (hjl@gnu.org)
13030
13031         * config/alpha/alpha.h (ASM_OUTPUT_MI_THUNK): Handle aggregated
13032         return type.
13033         * config/alpha/win-nt.h (ASM_OUTPUT_MI_THUNK): Likewise.
13034
13035 Sat Aug 15 08:39:49 1998  David S. Miller  <davem@pierdol.cobaltmicro.com>
13036
13037         * config/sparc/sparc.md (movsi_lo_sum_pic_label_reg): Remove
13038         write-only modifier from operand 1 constraint.
13039
13040 Sat Aug 15 06:28:19 1998  David S. Miller  <davem@pierdol.cobaltmicro.com>
13041
13042         * config/sparc/sparc.c (sparc_emit_set_const64_quick1): If
13043         emitting a XOR of -1 at the end, emit a NOT instead for combine's
13044         sake.
13045         (sparc_emit_set_const64): Likewise, also when computing trailing
13046         bits do not negate low_bits and make fast_int an int.
13047
13048 Fri Aug 14 21:07:03 1998  Jeffrey A Law  (law@cygnus.com)
13049
13050         * loop.c (add_label_notes): Do not ignore references to labels
13051         before dispatch tables.  Mirrors Apr 8 change to mark_jump_label.
13052         * gcse.c (add_label_notes): Similarly.
13053
13054         * pa.h (ASM_OUTPUT_MI_THUNK): Strip name encoding.
13055
13056         * m68k.md (adddi_dilshr32): One of the operands must be a register.
13057         (adddi_dishl32): Similarly.
13058
13059 Fri Aug 14 14:12:59 1998  Jason Merrill  <jason@yorick.cygnus.com>
13060
13061         * i386.h (MODES_TIEABLE_P): Reorganize to shut up warnings.
13062         * alias.c (memrefs_conflict_p): Add braces to shut up warnings.
13063         * cse.c (cse_basic_block): Add parens to shut up warnings.
13064
13065 Fri Aug 14 12:58:21 1998  David S. Miller  <davem@pierdol.cobaltmicro.com>
13066
13067         * config/sparc/sparc.c (sparc_emit_set_const64_quick2,
13068         sparc_emit_set_const64_longway, const64_is_2insns,
13069         create_simple_focus_bits, sparc_emit_set_const64): Fix more bugs
13070         in 64-bit constant formation.
13071         * config/sparc/sparc.md (snesi_zero_extend split): Generate
13072         rtl for addx not subx.
13073         (define_insn movdi_const64_special): Make available even when
13074         HOST_BITS_PER_WIDE_INT is not 64.
13075         (movdi_lo_sum_sp64_cint, movdi_high_sp64_cint): Remove.
13076         (losum_di_medlow, sethm, setlo): Make op2 symbolic_operand.
13077         (cmp_siqi_trunc_set, cmp_diqi_trunc_set): Encapsulate both
13078         instances of operand 1 inside a QI subreg.
13079         (xordi3_sp64_dbl): Remove '%' constraint for op1.
13080         (one_cmpldi2_sp64): Fix output string.
13081         (one_cmplsi2_not_liveg0): Rewrite to remove unneeded extra
13082         alternative case.
13083         (unnamed arch64 ashift DI): Truncate shift count if greater than
13084         63, not 31.
13085
13086 Fri Aug 14 21:52:53 1998  J"orn Rennecke <amylaar@cygnus.co.uk>
13087
13088         * expr.c (store_expr): Don't optimize away load-store pair
13089         when either source or destination have a side effect.
13090
13091 Fri Aug 14 16:50:10 1998  John Carr  <jfc@mit.edu>
13092
13093         * genrecog.c (add_to_sequence): Fatal error if the modes of the
13094         operands of SET are incompatible.
13095
13096         * alpha.md: Fix max and min patterns so modes of SET operands match.
13097
13098 Fri Aug 14 12:22:55 1998  Ian Lance Taylor  <ian@cygnus.com>
13099
13100         * configure.in: Avoid [[ by using test and changequote.
13101         * configure: Rebuild.
13102
13103 Fri Aug 14 01:22:31 1998  David S. Miller  <davem@pierdol.cobaltmicro.com>
13104
13105         * rtl.def (CONSTANT_P_RTX): Fix typo in string name.
13106
13107         * config/sparc/sparc.md (seqdi_special_trunc, snedi_special_trunc,
13108         seqsi_special_extend, snesi_special_extend, snesi_zero_extend and
13109         split, snedi_zero_trunc and split, seqsi_zero_extend and split,
13110         seqdi_zero_trunc and split, pic_lo_sum_di, pic_sethi_di,
13111         movdi_cc_sp64_trunc, movdi_cc_reg_sp64_trunc, addx_extend_sp32 and
13112         split, addx_extend_sp64, subx_extend_sp64, subx_extend and split):
13113         Fix mismatching modes in SET operands.
13114         (conditional move patterns): Fix formatting.
13115         (unnamed subx arch64 pattern): Remove duplicate insn.
13116         
13117 Fri Aug 14 00:34:34 1998  David S. Miller  <davem@pierdol.cobaltmicro.com>
13118
13119         * config/sparc/sparc.c (const64_operand, const64_high_operand):
13120         Get it right when HOST_BITS_PER_WIDE_INT is not 64.
13121         (input_operand): Fixup test for what we accept for constant
13122         integers.
13123         (sparc_emit_set_const32, sparc_emit_set_symbolic_const64): Give
13124         set VOIDmode.
13125         (safe_constDI): Remove.
13126         (sparc_emit_set_safe_HIGH64, gen_safe_SET64, gen_safe_OR64,
13127         gen_safe_XOR64): New functions.
13128         (sparc_emit_set_const64_quick1, sparc_emit_set_const64_quick2,
13129         sparc_emit_set_const64_longway, sparc_emit_set_const64): Use
13130         them.
13131         * config/sparc/sparc.md (define_insn xordi3_sp64_dbl): Only make
13132         available when HOST_BITS_PER_WIDE_INT is not 64.
13133         (define_insn movdi_sp64_dbl, movdi_const64_special): Likewise and
13134         move before movdi_insn_sp64 pattern.
13135         (define_insn movdi_lo_sum_sp64_dbl, movdi_high_sp64_dbl): Remove.
13136         (define_insn sethi_di_medlow, seth44, setm44, sethh): Use
13137         symbolic_operand as predicate for second operand.
13138         (DImode minus split on arch32, negsi2 expander, one_cmplsi2
13139         expander): Give set VOIDmode.
13140         
13141 Fri Aug 14 01:45:06 1998  Mumit Khan  <khan@xraylith.wisc.edu>
13142
13143         * i386/cygwin32 (DEFAULT_PCC_STRUCT_RETURN): Define.
13144
13145 Fri Aug 14 01:40:21 1998  Geoffrey Keating  <geoffk@ozemail.com.au>
13146
13147         * rs6000/linux.h (LINK_SPEC): Pass -G args to the linker.
13148
13149 Fri Aug 14 01:23:23 1998  Richard Earnshaw (rearnsha@arm.com)
13150
13151         * arm/netbsd.h (TARGET_DEFAULT): Default includes software floating 
13152         point.
13153         (CPP_FLOAT_DEFAULT_SPEC): Re-define accordingly.
13154
13155 Fri Aug 14 01:19:08 1998  Robert Lipe  <robertl@dgii.com>
13156
13157         * install.texi: Various SCO OpenServer tweaks.
13158
13159 Thu Aug 13 20:14:40 1998  Jim Wilson  <wilson@cygnus.com>
13160
13161         * reload1.c (eliminate_regs_in_insn): Handle another case when
13162         eliminating the frame pointer to the hard frame pointer.  Add
13163         missing ep->to_rtx check to one existing case.
13164
13165         * mips/mips.md (movhi_internal2+2): Fix typo mem:SI -> mem:HI.
13166
13167 Thu Aug 13 17:08:11 1998  Jason Merrill  <jason@yorick.cygnus.com>
13168
13169         * tree.h: De-conditionalize init_priority code.
13170
13171         * mips.h (NM_FLAGS): Change from -Bp to -Bn.
13172         * collect2.c (NM_FLAGS): Change from -p to -n.
13173
13174         * configure.in: Turn on collect2 for mipstx39-elf.
13175         Handle use_collect2=no properly.
13176
13177         * c-common.c: De-conditionalize init_priority code.
13178         * collect2.c (extract_init_priority, sort_ids): New fns.
13179         (main): Call sort_ids.
13180         Move sequence_number to file scope.
13181
13182         * configure.in: Handle --enable-init-priority.
13183         * c-common.c (attrs): Add A_INIT_PRIORITY.
13184         (init_attributes, decl_attributes): Likewise.
13185         * tree.h (DEFAULT_INIT_PRIORITY, MAX_INIT_PRIORITY): New macros.
13186         * tree.c (get_file_function_name_long): Split out...
13187         (get_file_function_name): ...from here.
13188
13189 Thu Aug 13 16:09:53 1998  Martin von Loewis  <loewis@informatik.hu-berlin.de>
13190
13191         * expr.c (safe_from_p): Change code to ERROR_MARK only when not
13192         accessing nodes.
13193
13194 Thu Aug 13 15:24:48 1998  Jason Merrill  <jason@yorick.cygnus.com>
13195
13196         * toplev.c (display_help): Add braces to shut up warnings.
13197         * tree.c (simple_cst_equal): Likewise.
13198
13199         * fold-const.c (non_lvalue): Don't deal with null pointer 
13200         constants here.
13201         (fold, case COMPOUND_EXPR): Wrap a constant 0 in a NOP_EXPR.
13202
13203         * c-typeck.c (initializer_constant_valid_p): Allow conversion of 0
13204         of any size to a pointer.
13205
13206 Thu Aug 13 12:53:13 1998  Jim Wilson  <wilson@cygnus.com>
13207
13208         * i386/winnt.c (i386_pe_asm_file_end): Check TREE_SYMBOL_REFERENCED.
13209
13210 Wed Aug 12 17:25:18 1998  Jeffrey A Law  (law@cygnus.com)
13211
13212         * mn10300.c (REG_SAVE_BYTES): Only reserve space for registers
13213         which will be saved.
13214         * mn10300.md (prologue insn): Only save registers which need saving.
13215         (epilogue insn): Similarly.
13216
13217         * mn10300.c, mn10300.h, mn10300.md: Remove "global zero register"
13218         optimizations.
13219
13220 Wed Aug 12 12:39:16 1998  Gavin Romig-Koch  <gavin@cygnus.com>
13221
13222         * mips/mips.h (ENCODE_SECTION_INFO): Set SYMBOL_REF_FLAG for
13223         VAR_DECL's in gp addressable sections.
13224
13225 Tue Aug 11 23:02:31 1998  John Carr  <jfc@mit.edu>
13226
13227         * sparc.c: Change return <exp> to <exp>; return; in functions
13228         returning void.
13229         * sparc.md: Add empty semicolon statement after final label in
13230         move expanders.
13231
13232 Tue Aug 11 22:42:01 1998  David S. Miller  <davem@pierdol.cobaltmicro.com>
13233
13234         * config/sparc/sparc.md (define_insn addx_extend): Rename to
13235         addx_extend_sp64, only allow when TARGET_ARCH64.
13236         (define_insn addx_extend_sp32 and split): Version that works when
13237         not TARGET_ARCH64.
13238         (define_insn subx_extend): Likewise.
13239         (define_split adddi3 and subdi3 with zero extension): Fixup and
13240         correct bugs when not TARGET_ARCH64.
13241
13242 Tue Aug 11 16:04:34 1998  John Carr  <jfc@mit.edu>
13243
13244         * except.c (set_exception_lang_code, set_exception_version_code):
13245         Use prototype-style definition if __STDC__, to match declaration
13246         in except.h.
13247
13248         * genemit.c: Change FAIL and DONE macros not to use loops.
13249
13250 Tue Aug 11 12:27:03 1998  Jim Wilson  <wilson@cygnus.com>
13251
13252         * dwarf2out.c (ASM_OUTPUT_DWARF_ADDR_CONST): Use
13253         ASM_OUTPUT_DWARF2_ADDR_CONST if defined.
13254
13255         * mips/mips.md (reload_outsi): Use M16_REG_P when TARGET_MIPS16.
13256
13257 Tue Aug 11 18:12:53 1998  Dave Love  <d.love@dl.ac.uk>
13258
13259         * README.g77: Update from Craig.
13260
13261 Tue Aug 11 04:46:01 1998  David S. Miller  <davem@pierdol.cobaltmicro.com>
13262
13263         * config/sparc/sparc.c (sparc_emit_set_const32): INTVAL is of
13264         type HOST_WIDE_INT.
13265         (safe_constDI sparc_emit_set_const64_quick1,
13266         sparc_emit_set_const64_quick2, sparc_emit_set_const64_longway,
13267         analyze_64bit_constant, const64_is_2insns,
13268         create_simple_focus_bits): Fix some bugs when compiled on real
13269         64-bit hosts.
13270         (function_arg_record_value_3, function_arg_record_value_2,
13271         function_arg_record_value): Add fully prototyped forward decls.
13272         * config/sparc/sparc.md (define_insn cmpsi_insn_sp32): Rename back
13273         to cmpsi_insn and use on both 64 and 32 bit targets.
13274         (define_insn cmpsi_insn_sp64): Remove.
13275         (define_expand zero_extendsidi2): Allow for 32-bit target too.
13276         (define_insn zero_extendsidi2_insn): Rename to
13277         zero_extendsidi2_insn_sp64.
13278         (define_insn zero_extendsidi2_insn_sp32): New pattern and
13279         assosciated forced split for it.
13280
13281         * config/sparc/sparc.c (const64_operand, const64_high_operand):
13282         New predicates.
13283         * config/sparc/sparc.h: Declare them.
13284         (PREDICATE_CODES): Add them.
13285         * config/sparc/sparc.md (movdi_lo_sum_sp64_dbl,
13286         movdi_high_sp64_dbl, xordi3_sp64_dbl): Use them.
13287
13288 Mon Aug 10 22:57:24 1998  John Carr  <jfc@mit.edu>
13289
13290         * config/sparc/sparc.md (define_insn jump): Output ba,pt not b,pt
13291         in v9 case as the latter makes the Solaris assembler crash.
13292
13293 Mon Aug 10 22:39:09 1998  David S. Miller  <davem@pierdol.cobaltmicro.com>
13294
13295         * config/sparc/sparc.c (input_operand): Do not accept a LO_SUM MEM
13296         for TFmode when !v9.  We require offsettable memory addresses.
13297         * config/sparc/sparc.h (ALTER_HARD_SUBREG): Handle TFmode to
13298         DFmode register number conversions.
13299         * config/sparc/sparc.md (define_split DFmode moves): If register
13300         is a SUBREG do alter_subreg on it before using.
13301         (define_expand movtf): Fixup comment about alignment on v9.
13302         (define_split TFmode moves): Don't use gen_{high,low}part, create
13303         explicit SUBREGs instead.
13304
13305 Mon Aug 10 19:02:55 1998  John Carr  <jfc@mit.edu>
13306
13307         * Makefile.in (mbchar.o): Depend on mbchar.c.
13308
13309 Mon Aug 10 04:28:13 1998  David S. Miller  <davem@pierdol.cobaltmicro.com>
13310                           Richard Henderson  <rth@cygnus.com>
13311         
13312         Rewrite Sparc backend for better code generation and
13313         improved sparc64 support.
13314         * config/sparc/sp64-elf.h: Set JUMP_TABLES_IN_TEXT_SECTION to
13315         zero.
13316         * config/sparc/sysv4.h: Likewise.
13317         * config/sparc/sparc.c (v8plus_regcmp_p, sparc_operand,
13318         move_operand, v8plus_regcmp_op, emit_move_sequence,
13319         singlemove_string, doublemove_string, mem_aligned_8,
13320         output_move_double, output_move_quad, output_fp_move_double,
13321         move_quad_direction, output_fp_move_quad, output_scc_insn):
13322         Remove.
13323         (small_int_or_double): New predicate.
13324         (gen_compare_reg): Remove TARGET_V8PLUS cmpdi_v8plus emission.
13325         (legitimize_pic_address): Emit movsi_{high,lo_sum}_pic instead of
13326         old pic_{sethi,lo_sum}_si patterns.
13327         (mem_min_alignment): New generic function to replace
13328         mem_aligned_8, which uses REGNO_POINTER_ALIGN information when
13329         available and can test for arbitrary alignments.  All callers
13330         changed.
13331         (save_regs, restore_regs, build_big_number,
13332         output_function_prologue, output_cbranch, output_return,
13333         sparc_flat_save_restore, sparc_flat_output_function_prologue,
13334         sparc_flat_output_function_epilogue): Prettify
13335         insn output.
13336         (output_function_epilogue): Likewise and add code to output
13337         deferred case vectors.
13338         (output_v9branch): Likewise, add new arg INSN and use it to tack
13339         on branch prediction settings.  All callers changed.
13340         (print_operand): Likewise and output %l44 for LO_SUMs when
13341         TARGET_CM_MEDMID.
13342         (sparc_splitdi_legitimate): New function to make sure DImode
13343         splits can be run properly when !arch64.
13344         (sparc_initialize_trampoline, sparc64_initialize_trampoline):
13345         Reformat example code in comments.
13346         (set_extends): Remove UNSPEC/v8plus_clear_high case.
13347         (sparc_addr_diff_list, sparc_addr_list): New statics to keep track
13348         of deferred case vectors we need to output.
13349         (sparc_defer_case_vector): Record a case vector.
13350         (sparc_output_addr_vec, sparc_output_addr_diff_vec,
13351         sparc_output_deferred_case_vectors): New functions to output them.
13352         (sparc_emit_set_const32): New function to form 32-bit constants in
13353         registers when that requires more than one instruction.
13354         (safe_constDI, sparc_emit_set_const64_quick1,
13355         sparc_emit_set_const64_quick2, sparc_emit_set_const64_longway,
13356         analyze_64bit_constant, const64_is_2insns,
13357         create_simple_focus_bits, sparc_emit_set_const64): New functions
13358         which do the same for 64-bit constants when arch64.
13359         (sparc_emit_set_symbolic_const64): New function to emit address
13360         loading for all code models on v9.
13361         * config/sparc/sparc.h (CONDITIONAL_REGISTER_USAGE): Do not make
13362         %g1 fixed when arch64, unfix %g0 when TARGET_LIVE_G0.
13363         (ALTER_HARD_SUBREG): Fix thinko, return REGNO + 1 not 1.
13364         (SECONDARY_INPUT_RELOAD_CLASS, SECONDARY_OUTPUT_RELOAD_CLASS): Fix
13365         inaccuracies in comments, add symbolic and text_segment operands
13366         when TARGET_CM_MEDANY and TARGET_CM_EMBMEDANY respectively.  Use
13367         GENERAL_REGS in these cases as a temp REG is needed to load these
13368         addresses into a register properly.
13369         (EXTRA_CONSTRAINT): Document more accurately, remove Q case as it
13370         is no longer used.
13371         (GO_IF_LEGITIMATE_ADDRESS): Allow TFmode for LO_SUM on v9 since fp
13372         quads are guarenteed to have 16-byte alignment.
13373         (LEGITIMIZE_ADDRESS): For SYMBOL_REF, CONST, and LABEL_REF use
13374         copy_to_suggested_reg instead of explicit LO_SUM and HIGH.
13375         (ASM_OUTPUT_ADDR_VEC, ASM_OUTPUT_ADDR_DIFF_VEC): New macros for
13376         deferred case vector implementation.
13377         (ASM_OUTPUT_ADDR_VEC_ELT): Use fputc to output newline.
13378         (ASM_OUTPUT_ADDR_DIFF_ELT): Parenthesize LABEL in macro calls.
13379         Generate "internal label - label" instead of "label - 1b".
13380         (PRINT_OPERAND_ADDRESS): For LO_SUM use %l44 on TARGET_CM_MEDMID.
13381         (PREDICATE_CODES): Remove sparc_operand, move_operand,
13382         v8plus_regcmp_op.  Add small_int_or_double, input_operand, and
13383         zero_operand.
13384         (doublemove_string, output_block_move, output_fp_move_double,
13385         output_fp_move_quad, output_move_double, output_move_quad,
13386         output_scc_insn, singlemove_string, mem_aligned_8, move_operand,
13387         sparc_operand, v8plus_regcmp_op, v8plus_regcmp_p): Remove externs.
13388         (sparc_emit_set_const32, sparc_emit_set_const64,
13389         sparc_emit_set_symbolic_const64, input_operand, zero_operand,
13390         mem_min_alignment, small_int_or_double): Add externs.
13391         * config/sparc/sparc.md: Document the many uses of UNSPEC and
13392         UNSPEC_VOLATILE in this backend.
13393         (define_function_unit ieu): Rename to ieu_unnamed.  Add move and
13394         unary to types which execute in it.
13395         (define_function_unit ieu_shift): Rename to ieu0.
13396         (define_function_unit ieu1): New, executes compare, call, and
13397         uncond_branch type insns.
13398         (define_function_units for type fdivs, fdivd, fsqrt): These
13399         execute in the fpu multiply unit not the adder on UltraSparc.
13400         (define_expand cmpdi): Disallow TARGET_V8PLUS.
13401         (define_insn cmpsi_insn): Rename to cmpsi_insn_sp32.
13402         (define_insn cmpsi_insn_sp64): New, same as sp32 variant except it
13403         allows the arith_double_operand predicate and rHI constraint when
13404         TARGET_ARCH64.
13405         (define_insn cmpdi_sp64, cmpsf_fpe, cmpdf_fpe, cmptf_fpe,
13406         cmpsf_fp, cmpdf_fp, cmptf_fp, sltu_insn, neg_sltu_insn,
13407         neg_sltu_minux_x, neg_sltu_plus_x, sgeu_insn, neg_sgeu_insn,
13408         sltu_plus_x, sltu_plus_x, sltu_plus_x_plus_y, x_minus_sltu,
13409         sgeu_plus_x, x_minus_sgeu, movqi_cc_sp64, movhi_cc_sp64,
13410         movsi_cc_sp64, movdi_cc_sp64, movsf_cc_sp64, movdf_cc_sp64,
13411         movtf_cc_sp64, movqi_cc_reg_sp64, movhi_cc_reg_sp64,
13412         movsi_cc_reg_sp64, movdi_cc_reg_sp64, movsf_cc_reg_sp64,
13413         movdf_cc_reg_sp64, movtf_cc_reg_sp64, zero_extendhisi2_insn,
13414         cmp_siqi_trunc, cmp_siqi_trunc_set, sign_extendhisi2_insn,
13415         sign_extendqihi2_insn, sign_extendqisi2_insn,
13416         sign_extendqidi2_insn, sign_extendhidi2_insn,
13417         extendsfdf2, extendsftf2, extenddftf2, truncdfsf2, trunctfsf2,
13418         trunctfdf2, floatsisf2, floatsidf2, floatsitf2, floatdisf2,
13419         floatdidf2, floatditf2, fix_truncsfsi2, fix_truncdfsi2,
13420         fix_trunctfsi2, fix_truncsfdi2, fix_truncdfdi2, fix_trunctfdi2,
13421         adddi3_sp64, addsi3, cmp_ccx_plus, cmp_cc_plus_set, subdi_sp64,
13422         subsi3, cmp_minus_ccx, cmp_minus_ccx_set, mulsi3, muldi3,
13423         muldi3_v8plus, cmp_mul_set, mulsidi3, mulsidi3_v8plus,
13424         const_mulsidi3_v8plus, mulsidi3_sp32, const_mulsidi3,
13425         smulsi3_highpart_v8plus, unnamed subreg mult,
13426         const_smulsi3_highpart_v8plus, smulsi3_highpart_sp32,
13427         const_smulsi3_highpart, umulsidi3_v8plus, umulsidi3_sp32,
13428         const_umulsidi3, const_umulsidi3_v8plus, umulsi3_highpart_v8plus,
13429         const_umulsi3_highpart_v8plus, umulsi3_highpart_sp32,
13430         const_umulsi3_highpart, divsi3, divdi3, cmp_sdiv_cc_set, udivsi3,
13431         udivdi3, cmp_udiv_cc_set, smacsi, smacdi, umacdi, anddi3_sp64,
13432         andsi3, and_not_di_sp64, and_not_si, iordi3_sp64, iorsi3,
13433         or_not_di_sp64, or_not_si, xordi3_sp64, xorsi3, xor_not_di_sp64,
13434         xor_not_si, cmp_cc_arith_op, cmp_ccx_arith_op,
13435         cmp_cc_arith_op_set, cmp_ccx_arith_op_set, cmp_ccx_xor_not,
13436         cmp_cc_xor_not_set, cmp_ccx_xor_not_set, cmp_cc_arith_op_not,
13437         cmp_ccx_arith_op_not, cmp_cc_arith_op_not_set,
13438         cmp_ccx_arith_op_not_set, negdi2_sp64, cmp_cc_neg, cmp_ccx_neg,
13439         cmp_cc_set_neg, cmp_ccx_set_neg, one_cmpldi2_sp64, cmp_cc_not,
13440         cmp_ccx_not, cmp_cc_set_not, cmp_ccx_set_not, addtf3, adddf3,
13441         addsf3, subtf3, subdf3, subsf3, multf3, muldf3, mulsf3,
13442         muldf3_extend, multf3_extend, divtf3, divdf3, divsf3, negtf2,
13443         negdf2, negsf2, abstf2, absdf2, abssf2, sqrttf2, sqrtdf2, sqrtsf2,
13444         ashlsi3, ashldi3, unnamed DI ashift, cmp_cc_ashift_1,
13445         cmp_cc_set_ashift_1, ashrsi3, ashrdi3, unnamed DI ashiftrt,
13446         ashrdi3_v8plus, lshrsi3, lshrdi3, unnamed DI lshiftrt,
13447         lshrdi3_v8plus, tablejump_sp32, tablejump_sp64, call_address_sp32,
13448         call_symbolic_sp32, call_address_sp64, call_symbolic_sp64,
13449         call_address_struct_value_sp32, call_symbolic_struct_value_sp32,
13450         call_address_untyped_struct_value_sp32,
13451         call_symbolic_untyped_struct_value_sp32, call_value_address_sp32,
13452         call_value_symbolic_sp32, call_value_address_sp64,
13453         call_value_symbolic_sp64, branch_sp32, branch_sp64,
13454         flush_register_windows, goto_handler_and_restore,
13455         goto_handler_and_restore_v9, goto_handler_and_restore_v9_sp64,
13456         flush, all ldd/std peepholes, return_qi, return_hi, return_si,
13457         return_addsi, return_di, return_adddi, return_sf, all call+jump
13458         peepholes, trap, unnamed trap insns): Prettify output strings.
13459         (define_insn anddi3_sp32, and_not_di_sp32, iordi3_sp32,
13460         or_not_di_sp32, xordi3_sp32, xor_not_di_sp32, one_cmpldi2):
13461         Likewise and force + implement splits for integer cases.
13462         (define_insn return_sf_no_fpu): Likewise and allow to match when
13463         no-fpu because of our subreg SFmode splits.
13464         (define_insn zero_extendqihi2, zero_extendqisi2_insn,
13465         zero_extendqidi2_insn, zero_extendhidi2_insn,
13466         zero_extendsidi2_insn, sign_extendsidi2_insn): Likewise and use
13467         input_operand for second operand.
13468         (cmp_minus_cc, cmp_minus_cc_set): Likewise and use
13469         reg_or_0_operand for operand 2 so new splits can use it.
13470         (cmp_zero_extendqisi2, cmp_zero_extendqisi2_set, cmp_cc_plus,
13471         cmp_cc_xor_not): Likewise and don't forget to check TARGET_LIVE_G0
13472         too.
13473         (cmp_zero_extract, cmp_zero_extract_sp64): Likewise and allow
13474         CONST_DOUBLEs for operand 2.
13475         (define_insn move_label_di): Likewise and label distance
13476         optimization because it no longer works with new deferred case
13477         vector scheme.  To be revisited.
13478         (define_insn x_minus_y_minus_sltu, x_minus_sltu_plus_y): Likewise
13479         and allow reg_or_0_operand and J constraint for second operand.
13480         (define_insn jump): Set branch predict taken on V9.
13481         (define_insn tablejump): Emit LABEL_REF + PLUS memory address for
13482         new deferred case vector scheme.
13483         (define_insn pic_tablejump_32, pic_tablejump_64): Remove.
13484         (define_insn negdi2_sp32): Force + implement splits.
13485         (define_insn negsi2, one_cmplsi2): Rename to negsi2_not_liveg0 and
13486         one_cmplsi2_not_liveg0 respectively, and create expander of original
13487         names which emit special rtl for TARGET_LIVE_G0.
13488         (define_insn cmpdi_v8plus, scc_si, scc_di): Remove.
13489         (define_insn seq, sne, slt, sge, sle, sltu, sgeu): Don't do
13490         gen_compare_reg, FAIL instead.
13491         (define_insn sgtu, sleu): Likewise and check gen_s*() return
13492         values when trying to reverse condition codes, if they FAIL then
13493         do likewise.
13494         (define_insn snesi_zero, neg_snesi_zero, snesi_zero_extend,
13495         snedi_zero, neg_snedi_zero, snedi_zero_trunc, seqsi_zero,
13496         neg_seqsi_zero, seqsi_zero_extend, seqdi_zero, neg_seqdi_zero,
13497         seqdi_zero_trunc, x_plus_i_ne_0, x_minus_i_ne_0, x_plus_i_eq_0,
13498         x_minus_i_eq_0): Add new splits to perform these multi-insn cases,
13499         set output string to # to indicate they are mandatory splits.
13500         (define_insn pic_lo_sum_si, pic_sethi_si, pic_lo_sum_di,
13501         pic_sethi_di, move_pic_label_si): Remove.
13502         (define_insn movsi_low_sum, movsi_high, movsi_lo_sum_pic,
13503         movsi_high_pic, movsi_pic_label_reg): New patterns to take their
13504         place.
13505         (define_expand movsi_pic_label_ref, define_insn
13506         movsi_high_pic_label_ref, movsi_lo_sum_pic_label_ref): New
13507         expander and insns to handle PIC label references and deferred
13508         case vectors.
13509         (define_insn get_pc_via_rdpc): Comment out as it is no longer
13510         used.
13511         (define_expand movqi, movhi, movsi, movdi, movsf, movdf, movtf):
13512         Rewrite to not use emit_move_sequence, make use of new constant
13513         formation code, and new splits for all multi-insn cases.
13514         (define_insn movqi_insn): Remove sethi case, it can never happen.
13515         Use reg_or_zero_operand instead of const0_rtx explicit test,
13516         use input_operand instead of move_operand for source, and use
13517         general_operand now for dest.
13518         (define_insn movhi_insn): Similar but leave sethi case.
13519         (define_insn lo_sum_qi, store_qi, store_hi): Remove.
13520         (define_insn sethi_hi lo_sum_hi): Rename to movhi_high and
13521         movhi_lo_sum respectively, prettify output string.
13522         (define_insn movsi_zero_liveg0): New pattern to put zero into a
13523         register when needed on TARGET_LIVE_G0.
13524         (define_insn movsi_insn): Use general_operand and input_operand
13525         for dest and src respectively.  Simplify applicability test.
13526         Prettify output strings, and add clr alternative for J
13527         constraint.
13528         (define_insn movdi_sp32_v9, movdi_sp32, define_splits for
13529         deprecated std and reg-reg DI moves): Remove and...
13530         (define_insn movdi_insn_sp32, movdi_insn_sp64): Replace with new
13531         implementation which uses forced splits for all non-single insn
13532         cases.
13533         (define_split DI move cases on !arch64): New splits to handle all
13534         situations of 64-bit double register DImode on 32bit, and
13535         unaligned registers and memory addresses for all subtargets.
13536         (define_insn movsf_const_insn, movdf_const_insn, store_sf):
13537         Remove.
13538         (define_insn movsf_insn, movsf_no_f_insn): Use general_operand and
13539         input_operand for dest and src respectively, prettify output
13540         strings.
13541         (define_insn movdf_insn, movdf_no_e_insn, store_df,
13542         movtf_const_insn, movtf_insn, movtf_no_e_insn, store_tf): Remove
13543         and...
13544         (define_insn movdf_insn_sp32, movdf_no_e_insn_sp32,
13545         movdf_insn_sp64, movdf_no_e_insn_sp64, movtf_insn,
13546         movtf_no_e_insn_sp32, movtf_insn_hq_sp64, movtf_insn_sp64,
13547         movtf_no_e_insn_sp64) Replace with new
13548         implementation which uses forced splits for all non-single insn
13549         cases.
13550         (define_split DF move cases): New splits in similar vein to DI
13551         move counterparts.
13552         (define_insn sethi_di_medlow, sethi_di_medium_pic,
13553         sethi_di_embmedany_data, sethi_di_embmedany_text, sethi_di_sp64,
13554         movdi_sp64_insn): Remove old v9 code model and constant loading
13555         support insns and..
13556         (define_insn pic_lo_sum_di, pic_sethi_di,
13557         sethi_di_medlow_embmedany_pic, sethi_di_medlow, losum_di_medlow,
13558         seth44, setm44, setl44, sethh, setlm, sethm, setlo,
13559         embmedany_sethi, embmedany_losum, embmedany_brsum,
13560         embmedany_textuhi, embmedany_texthi, embmedany_textulo,
13561         embmedany_textlo, movdi_lo_sum_sp64_cint, movdi_lo_sum_sp64_dbl,
13562         movdi_high_sp64_cint, movdi_high_sp64_dbl): Replace with new
13563         scheme, using unspecs, secondary reloads, and one to one sparc
13564         insn to rtl insn mapping for better scheduling and code gen.
13565         (define_expand reload_indi, reload_outdi): Reload helpers for
13566         MEDANY and EMBMEDANY symbol address loading cases which require a
13567         temporary register.
13568         (define_expand movsicc): Remove v8plus_regcmp cases.
13569         (define_insn movdi_cc_sp64_trunc, movdi_cc_reg_sp64_trunc,
13570         cmp_zero_extendqidi2, cmp_zero_extendqidi2_set, cmp_qidi_trunc,
13571         cmp_diqi_trunc_set): New patterns used by some of the new scc
13572         splits on arch64.
13573         (define_insn xordi3_sp64_dbl): New pattern used for constant
13574         formation when crossing from 32-bit targets.
13575         (define_insn movsi_cc_reg_v8plus, v8plus_clear_high, and helper
13576         split): Remove.
13577         (define_insn addx, subx): Make visible and prettify.
13578         (define_insn adddi3_insn_sp32): Likewise and force split.
13579         (define_insn addx_extend, subx_extend, unnamed): New patterns for
13580         64bit scc split usage.
13581         (define_insn unnamed plusDI zero_extend, unnamed minusDI
13582         zero_extend, subdi3): Force and implement splits.
13583         
13584         * final.c (final_scan_insn): Don't output labels if target
13585         specifies ASM_OUTPUT_ADDR_{DIFF}_VEC.  Do these macro operations
13586         instead.
13587         
13588         * reorg.c (dbr_schedule): When taking on BR_PRED notes at the end,
13589         don't forget to walk inside SEQUENCESs too as these are what the
13590         delay slot scheduler will create.
13591         
13592 Mon Aug 10 01:21:01 1998  Richard Henderson  <rth@cygnus.com>
13593
13594         * alpha.md (extxl+1,+2): New patterns to work around
13595         combine lossage.
13596
13597 Sat Aug  8 19:20:22 1998 Gary Thomas (gdt@linuxppc.org)
13598
13599         * rs6000.c (rs6000_allocate_stack_space) Fix typo which
13600         caused bad assembly code to be generated.
13601
13602 Sat Aug  8 18:53:28 1998  Jeffrey A Law  (law@cygnus.com)
13603
13604         * netbsd.h: Fix typo.
13605
13606 Mon Aug  3 00:06:42 1998  Robert Lipe  <robertl@dgii.com> 
13607
13608         * config.sub: Fix typo.
13609
13610 Sun Aug  2 22:39:08 1998  Hans-Peter Nilsson  <hp@axis.se>
13611
13612         * invoke.texi (Environment Variables): Typo: Change "ascpects"
13613         into "aspects".
13614         (Running Protoize): Typo: Change "ther" into "other".
13615
13616 Sun Aug  2 00:42:50 1998  Jeffrey A Law  (law@cygnus.com)
13617
13618         * i386/netbsd.h: Undo previous change to DWARF2_UNWIND_INFO.
13619         * m68k/netbsd.h: Likewise.
13620         * ns32k/netbsd.h: Likewise.
13621         * sparc/netbsd.h: Likewise.
13622
13623 Sat Aug  1 17:59:30 1998  Richard Henderson  <rth@cygnus.com>
13624
13625         * ginclude/va-alpha.h (va_list): Use a typedef, not a define.
13626         * ginclude/va-clipper.h (va_list): Likewise.
13627
13628 Fri Jul 31 20:22:02 1998  Michael Meissner  <meissner@cygnus.com>
13629
13630         * rs6000.c (rs6000_override_options): If big endian and -Os, use
13631         load/store multiple instructions unless user overrides.
13632
13633 Fri Jul 31 17:08:59 1998  Jeffrey A Law  (law@cygnus.com)
13634
13635         * ns32k/netbsd.h: Fix typo.
13636
13637 Fri Jul 31 10:23:55 1998  Doug Evans  <devans@canuck.cygnus.com>
13638
13639         * m32r/m32r.h (ASM_OUTPUT_SOURCE_LINE): Always output line number
13640         labels with .debugsym if no parallel insns.
13641
13642 Thu Jul 30 19:15:53 1998  Richard Henderson  <rth@cygnus.com>
13643
13644         * alpha.md (fp cmp): Replicate patterns for ALPHA_TP_INSN.
13645         (fcmov): Remove ALPHA_TP_INSN patterns -- fcmov doesn't trap.
13646
13647 Thu Jul 30 19:50:15 1998  David Edelsohn  <edelsohn@gnu.org>
13648
13649         * rs6000/x-aix43 (AR_FOR_TARGET_FLAGS): Delete.
13650         (AR_FOR_TARGET): Define.
13651
13652 Thu Jul 30 12:29:12 1998  Mark Mitchell  <mark@markmitchell.com>
13653
13654         * dyn-string.h: New file.
13655         * dyn-string.c: Likewise.
13656         * Makefile.in (OBJS): Add dyn-string.o.
13657         (dwarf2out.o): Add dyn-string.h dependency.
13658         (dyn-string.o): List dependencies.
13659         * dwarf2out.c: Include dyn-string.h.
13660         (ASM_NAME_TO_STRING): Use dyn_string_append, rather than strcpy.
13661         (addr_const_to_string): Take a dyn_string_t, not a char* as a
13662         prototype.  Use dyn_string_append rather than strcat, throughout.
13663         (addr_to_string): Use dyn_string_t.
13664
13665 Thu Jul 30 13:08:07 1998  Ken Raeburn  <raeburn@cygnus.com>
13666
13667         Function entry/exit profiling instrumentation:
13668         * expr.h (profile_function_entry_libfunc,
13669         profile_function_exit_libfunc): Declare new variables.
13670         * optabs.c: Define them here.
13671         (init_optabs): Initialize them.
13672         * tree.h (struct tree_decl): New flag
13673         no_instrument_function_entry_exit.
13674         (DECL_NO_INSTRUMENT_FUNCTION_ENTRY_EXIT): New accessor macro.
13675         * c-decl.c (duplicate_decls): Merge it.
13676         * c-common.c (enum attrs): New value A_NO_INSTRUMENT_FUNCTION.
13677         (init_attributes): Use it for "no_instrument_function".
13678         (decl_attributes): Handle it, for functions that have not yet been
13679         compiled.  Set decl flag.
13680         * flags.h (flag_instrument_function_entry_exit): Declare new
13681         variable.
13682         * toplev.c (flag_instrument_function_entry_exit): Define it here.
13683         (f_options): New option "instrument-functions".
13684         * function.h (struct function): New field instrument_entry_exit.
13685         * function.c (current_function_instrument_entry_exit): New
13686         variable.
13687         (push_function_context_to, pop_function_context_from): Save and
13688         restore.
13689         (expand_function_start): Set current_ variable, maybe emit return
13690         label and entry profile call.
13691         (expand_function_end): Maybe emit exit profile call.
13692
13693 Thu Jul 30 00:58:34 1998  Jeffrey A Law  (law@cygnus.com)
13694
13695         * i386.md (movqi): When optimizing a load of (const_int 1) into a
13696         NON_QI_REG_P, pretend the register is SImode.
13697
13698 Wed Jul 29 23:49:23 1998  Todd Vierling <tv@netbsd.org>
13699
13700         * configure.in: Use xm-netbsd.h as the NetBSD xm file (not xm-siglist).
13701         Accept arm32 as arm, m68k4k as m68k, mipsle as mips-dec, and any
13702         manufacturer id for ns32k.
13703         * configure: Regenerated.
13704         * config/netbsd.h: When using ASM_WEAKEN_LABEL, make it global too.
13705         * config/t-netbsd: Don't compile libgcc1-test as the fns are in libc.
13706         * config/i386/netbsd.h: Undefine DWARF2_UNWIND_INFO, not define as 0.
13707         * config/m68k/netbsd.h: Same.
13708         * config/ns32k/netbsd.h: Same.
13709         * config/sparc/netbsd.h: Same.
13710
13711 Wed Jul 29 22:39:21 1998  Jeffrey A Law  (law@cygnus.com)
13712
13713         * unroll.c (unroll_loop): Do not abort for an UNROLL_MODULO
13714         or UNROLL_COMPLETELY loop that starts with a jump to its
13715         exit code.
13716
13717 Wed Jul 29 22:18:14 1998  David Edelsohn  <edelsohn@gnu.org>
13718
13719         * rs6000/rs6000.md (absdi2 define_split): Swap operands of MINUS.
13720         * rs6000/rs6000.c (mask64_operand): Use HOST_BITS_PER_WIDE_INT.
13721         (print_operand, case 'B'): Don't fall through.
13722         (print_operand, case 'S'): Correct mask begin/end computation.
13723         Use HOST_BITS_PER_WIDE_INT.
13724         * rs6000/rs6000.h (CPP_PREDEFINES): Define _LONG_LONG.
13725         (CONDITIONAL_REGISTER_USAGE): GPR13 fixed if TARGET_64BIT.
13726         * rs6000/aix41.h (CPP_PREDEFINES): Same.
13727         * rs6000/aix43.h (CPP_PREDEFINES): Same.
13728
13729 Wed Jul 29 11:47:10 1998  Nick Clifton  <nickc@cygnus.com>
13730
13731         * config/arm/thumb.md (extendqisi2_insn): Remove earlyclobber
13732         constraint from second alternative.
13733
13734 Tue Jul 28 23:29:04 1998  Jason Merrill  <jason@yorick.cygnus.com>
13735
13736         * configure.in: Fix --without/--disable cases for local-prefix, 
13737         gxx-include-dir and checking.
13738
13739 Tue Jul 28 22:01:23 1998  David S. Miller  <davem@pierdol.cobaltmicro.com>
13740
13741         * configure.in (enable_haifa): Set by default for sparc64 too.
13742         configure: Rebuilt.
13743
13744 Tue Jul 28 23:29:04 1998  Jason Merrill  <jason@yorick.cygnus.com>
13745
13746         * i386/cygwin32.h (VALID_MACHINE_TYPE_ATTRIBUTE): New macro.
13747         * i386/winnt.c (associated_type): New fn.
13748         (i386_pe_valid_type_attribute_p): New fn.
13749         (i386_pe_check_vtable_importexport): Remove.
13750         (i386_pe_dllexport_p): Use associated_type.
13751         (i386_pe_dllimport_p): Likewise.
13752
13753         From Antonio M. O. Neto <anmendes@cruzeironet.com.br>:
13754         * i386.c (i386_valid_type_attribute_p): Also accept
13755         attributes for METHOD_TYPEs.
13756
13757 Tue Jul 28 23:17:39 1998  Peter Gerwinski <peter@gerwinski.de>
13758
13759         * tree.c (build_range_type): Copy TYPE_SIZE_UNIT.
13760
13761 Tue Jul 28 22:31:12 1998  Craig Burley  <burley@gnu.org>
13762
13763         * gcc.c: Fix commentary describing %g, %u, %U, and %O.
13764
13765         * gcc.c (do_spec_1): Fix handling of %g%O and %U%O to prevent
13766         them from generating a new base name for each occurence of
13767         a specific suffix.
13768
13769 1998-07-28  Vladimir N. Makarov  <vmakarov@cygnus.com>
13770
13771         * cse.c (cse_insn): Enable subsitution inside libcall only for REG,
13772         SUBREG, MEM.
13773         * rtlanal.c (replace_rtx): Prohibit replaces in CONST_DOUBLE. 
13774
13775
13776
13777         * cplus-dem.c (type_kind_t): New type.
13778         (demangle_template_value_parm): Add type_kind_t parameter.  Rely
13779         on this paramter, rather than demangling the type again.
13780         (demangle_integral_value): Pass tk_integral.
13781         (demangle_template_: Pass the value returned from do_type.
13782         (do_type): Return a type_kind_t.  Pass tk_integral to
13783         demangle_template_value_parm for array bounds.
13784         (demangle_fund_type): Likewise.
13785         
13786 Mon Jul 27 00:54:41 1998  Jason Merrill  <jason@yorick.cygnus.com>
13787
13788         * tree.c (simple_cst_equal, case CONSTRUCTOR): OK if the elts are
13789         identical.
13790
13791 Mon Jul 27 22:18:36 1998  Jeffrey A Law  (law@cygnus.com)
13792
13793         * pa.c (move_operand): Accept CONSTANT_P_RTX.
13794
13795 Mon Jul 27 17:18:52 1998  Dave Brolley  <brolley@cygnus.com>
13796
13797         * stor-layout.c (layout_type): Handle arrays of bits, for Chill.
13798
13799         * expr.c (get_inner_reference): Handle zero-based, unsigned, array
13800         index conversion.
13801
13802 Mon Jul 27 14:51:33 1998  Jeffrey A Law  (law@cygnus.com)
13803
13804         * mn10300.h (DEBUGGER_AUTO_OFFSET): Define.
13805         (DEBUGGER_ARG_OFFSET): Likewise.
13806
13807         * mn10300.md (movsf): Remove last change.  Not needed.
13808
13809 Mon Jul 27 14:22:36 1998  Dave Brolley  <brolley@cygnus.com>
13810
13811         * c-lex.c (yylex): Fix boundary conditions in character literal and
13812         string literal loops.
13813
13814 Mon Jul 27 11:43:54 1998  Stan Cox  <scox@cygnus.com>
13815
13816         * longlong.h (count_leading_zeros): Sparclite scan instruction was
13817         being invoked incorrectly.
13818
13819         * i386.c (ix86_prologue): Added SUBTARGET_PROLOGUE invocation.
13820         * i386/cygwin32.h (STARTFILE_SPEC, LIB_SPEC, SUBTARGET_PROLOGUE): 
13821         Add -pg support. 
13822         * i386/win32.h: New file.  Hybrid mingw32.h/cygwin32.h configuration.
13823         * configure.in: Added i[34567]86-*-win32
13824         * config.sub: Ditto.
13825         * configure: Rebuilt.
13826         
13827 Sun Jul 26 01:11:12 1998  H.J. Lu  (hjl@gnu.org)
13828
13829         * i386.h (CONST_DOUBLE_OK_FOR_LETTER_P): Return 0 when eliminating
13830         the frame pointer and compiling PIC code and reload has not completed.
13831
13832         * i386.c (output_to_reg): Add code to emulate non-popping DImode
13833         case.
13834
13835 Sun Jul 26 01:01:32 1998  Jeffrey A Law  (law@cygnus.com)
13836
13837         * regmove.c (regmove_optimize): Fix typo initializing regmove_bb_head.
13838
13839 Sat Jul 25 23:29:23 1998  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
13840
13841         * Makefile.in (install-info): Only try to update the info
13842         directory file if it exists in the first place.
13843
13844 Fri Jul 24 18:58:37 1998  Klaus Espenlaub  <kespenla@student.informatik.uni-ulm.de>
13845
13846         * rs6000.h (ASM_OUTPUT_CONSTRUCTOR, ASM_OUTPUT_DESTRUCTOR): Delete.
13847
13848 Fri Jul 24 14:20:26 1998  Jeffrey A Law  (law@cygnus.com)
13849
13850         * mn10300.md (movqi, movhi, movsi, movsf): Correctly handle
13851         CONST_DOUBLE source.
13852
13853 Fri Jul 24 11:17:04 1998  Nick Clifton  <nickc@cygnus.com>
13854
13855         * config/arm/thumb.c (thumb_print_operand): Decode %_ in asm
13856         strings as the insertion of USER_LABEL_PREFIX.
13857         * config/arm/thumb.h (PRINT_OPERAND_PUNCT_VALID_P): Accept _ as a
13858         valid code.
13859         * config/arm/thumb.md: Use %_ as a prefix to gcc library function
13860         calls. 
13861
13862 Thu Jul 23 18:53:20 1998  Jim Wilson  <wilson@cygnus.com>
13863
13864         * dbxout.c (dbxout_range_type): Only call dbxout_type_index for
13865         already defined type.
13866
13867 Thu Jul 23 13:49:41 1998  Jeffrey A Law  (law@cygnus.com)
13868
13869         * expr.c (check_max_integer_computation_mode): Allow conversions
13870         of constant integers to MAX_INTEGER_COMPUTATION_MODE.
13871         (expand_expr): Likewise.
13872
13873 Thu Jul 23 11:12:06 1998  Alexandre Petit-Bianco  <apbianco@cygnus.com>
13874
13875         * expr.c (expand_expr): Expand RETURN_EXPR.
13876
13877 Thu Jul 23 11:00:29 1998  Jim Wilson  <wilson@cygnus.com>
13878
13879         * dwarf2out.c (dwarf2out_finish): Call stripattributes on TEXT_SECTION.
13880
13881 Wed Jul 22 19:10:00 1998  Catherine Moore  <clm@cygnus.com>
13882
13883         * dwarf2out.c (output_aranges):  Call stripattributes
13884         for TEXT_SECTION references.
13885         (output_line_info): Likewise.
13886
13887 Wed Jul 22 14:08:54 1998  David S. Miller  <davem@pierdol.cobaltmicro.com>
13888
13889         * profile.c (branch_prob): Call allocate_reg_info after outputting
13890         profile rtl in instrument_arcs.
13891
13892 Wed Jul 22 12:47:49 1998  Jim Wilson  <wilson@cygnus.com>
13893
13894         * fixinc.irix (math.h): Install wrapper instead of copying.
13895
13896 Wed Jul 22 12:37:14 1998  Alexandre Petit-Bianco <apbianco@cygnus.com>
13897
13898         * tree.def (EXPR_WITH_FILE_LOCATION): Defined as an 'e' expression
13899         so WFL are expanded correctly when contained in a COMPOUND_EXPR.
13900         * tree.h (EXPR_WFL_EMIT_LINE_NOTE): Change macro not to use
13901         lang_flag_0. Added documentation in the flag table.
13902
13903 Tue Jul 21 23:28:35 1998  Klaus Kaempf <kkaempf@rmi.de>
13904
13905         * cccp.c (do_include): Fix vax c style include handling.
13906
13907 Tue Jul 21 13:28:19 1998  Jason Merrill  <jason@yorick.cygnus.com>
13908
13909         * cplus-dem.c (do_type): Use demangle_template_value_parm for arrays.
13910
13911 Sun Jul 12 01:27:05 1998  Jason Merrill  <jason@yorick.cygnus.com>
13912
13913         * fold-const.c (non_lvalue): Don't deal with null pointer 
13914         constants here.
13915         (fold, case COMPOUND_EXPR): Wrap a constant 0 in a NOP_EXPR.
13916
13917 Tue Jul 21 15:49:31 1998  David Edelsohn  <edelsohn@gnu.org>
13918
13919         * rs6000.h (PREDICATE_CODES): Add CONSTANT_P_RTX.
13920         * rs6000.md (movsi, movdi): Add CONSTANT_P_RTX.
13921         * rs6000.c (short_cint_operand): Add CONSTANT_P_RTX.
13922         (u_short_cint_operand): Same.
13923         (reg_or_cint_operand): Same.
13924         (logical_operand): Same.
13925         (input_operand): Same.
13926         (reg_or_short_operand): Use u_short_cint_operand.
13927
13928 Tue Jul 21 08:56:42 1998  Richard Henderson  <rth@cygnus.com>
13929
13930         * alpha.md (fix_truncdfsi2, fix_truncsfsi2): Remove the define_expands,
13931         but keep the insns and splits.  Adjust so when the ultimate destination
13932         is memory, use cvtql.
13933
13934 Tue Jul 21 08:55:09 1998  Richard Henderson  <rth@cygnus.com>
13935
13936         * flow.c (regno_uninitialized): Fixed regs are never uninitialized.
13937
13938 Tue Jul 21 00:31:01 1998  Jeffrey A Law  (law@cygnus.com)
13939
13940         * gcc.c (do_spec): Call "error" not "warning".
13941
13942         * configure.in: Fix minor problems with gas feature detection code.
13943         * configure: Rebuilt.
13944
13945         * gcc.c (do_spec): Issue a warning for '%[]' usage.
13946
13947         * Undo this change.
13948         * gcc.c: Delete %[spec] support.
13949         (do_spec_1, case '('): Likewise.
13950         (do_spec_1, case '['): Call error.
13951
13952 Mon Jul 20 22:34:17 1998  Richard Henderson  <rth@cygnus.com>
13953
13954         * alpha.h (CPP_SPEC): Tidy.  Hook to cpp_cpu and cpp_subtarget.
13955         (CPP_SUBTARGET_SPEC): Default to empty string.
13956         (CPP_AM_*, CPP_IM_*, CPP_CPU_*, CPP_CPU_SPEC): New.
13957         (EXTRA_SPECS, SUBTARGET_EXTRA_SPECS): New.
13958         * alpha/elf.h (LD_SPEC): Use %(elf_dynamic_linker).
13959         * alpha/linux-elf.h (SUBTARGET_EXTRA_SPECS): New.
13960         (LIB_SPEC): Tidy.
13961         * alpha/linux.h (CPP_PREDEFINES): Tidy.
13962         * alpha/netbsd-elf.h (SUBTARGET_EXTRA_SPECS): New.
13963         * alpha/netbsd.h (CPP_PREDEFINES): Tidy.
13964         * alpha/osf.h (CPP_PREDEFINES): Remove bits subsumed by CPP_CPU_SPEC.
13965         * alpha/win-nt.h (CPP_PREDEFINES): Likewise.
13966         * alpha/vsf.h (CPP_PREDEFINES): Likewise.
13967         (CPP_SUBTARGET_SPEC): New.  Do this instead of overriding CPP_SPEC.
13968         * alpha/vxworks.h: Likewise.
13969
13970 Mon Jul 20 22:51:57 1998  Ken Raeburn  <raeburn@cygnus.com>
13971
13972         * mips.md (reload_outsi): Added missing REGNO call.
13973         (smulsi3_highpart, umulsi3_highpart): Provide prototype for
13974         function pointer.
13975         (mul_acc_di, mul_acc_64bit_di): Don't use match_op_dup, use
13976         another match_operator and compare the codes.
13977
13978         * mips.h (MASK_DEBUG_E, MASK_DEBUG_I): Set to zero.
13979
13980         * MIPS multiply pattern fixes:
13981         * mips.h (enum reg_class, REG_CLASS_NAMES, REG_CLASS_CONTENTS):
13982         Add union classes for HI, LO, or HILO plus general registers.
13983         (GENERATE_MADD): Deleted.
13984         * mips.md (mulsi3_mult3): Don't disparage output-LO alternative.
13985         Add TARGET_MAD to condition.
13986         (mulsi3): Test HAVE_mulsi3_mult3, not specific flags.
13987         (mul_acc_si): Expand GENERATE_MADD here; it's the only use.  Use
13988         "*d" for accumulator, to give preference to LO initially but not
13989         during reload.
13990
13991 Mon Jul 20 16:16:38 1998  Dave Brolley  <brolley@cygnus.com>
13992
13993         * configure.in (enable_c_mbchar): New configure option.
13994         (extra_cpp_objs): Always available now.
13995
13996         * cexp.y (mbchar.h): #include it.
13997         (yylex): Handle Multibyte characters in character literals.
13998
13999         * cccp.c (mbchar.h): #include it.
14000         (main): Set character set based on LANG environment variable.
14001         (rescan): Handle multibyte characters in comments.
14002         (skip_if_group): See above.
14003         (validate_else): See above.
14004         (skip_to_end_of_comment): See above.
14005         (macarg1): See above.
14006         (discard_comments): See above.
14007         (rescan): Handle multibyte characters in string and character literals.
14008         (collect_expansion): See above.
14009         (skip_quoted_string): See above.
14010         (macroexpand): See above.
14011         (macarg1): See above.
14012         (discard_comments): See above.
14013         (change_newlines): See above.
14014
14015         * c-lex.c (mbchar.h): #include it.
14016         (GET_ENVIRONMENT): New macro.
14017         (init_lex): Set character set based on LANG environment variable.
14018         (yylex): Handle multibyte characters in character literals.
14019         (yylex): Handle multibyte characters in string literals.
14020
14021         * Makefile.in (mbchar.o): New target.
14022         (cccp$(exeext)): @extra_cpp_objs@ is always available.
14023         (cppmain$(exeext)): @extra_cpp_objs@ is always available.
14024
14025         * mbchar.[ch]: New files for multibyte character handling.
14026
14027 Mon Jul 20 01:11:11 1998  David S. Miller  <davem@pierdol.cobaltmicro.com>
14028
14029         * jump.c (jump_optimize): When simplifying noop moves and
14030         PUSH_ROUNDING, fix thinko so we use same criterion for identifying
14031         the PUSHes to rewrite in second loop as we did in the first.
14032
14033 Sun Jul 19 08:23:53 1998  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
14034
14035         * cplus-dem.c (demangle_nested_args): Make function definition
14036         static to match the prototype.
14037
14038 Fri Jul 17 14:58:44 1998  Richard Henderson  <rth@cygnus.com>
14039
14040         * alloca.c: Respect USE_C_ALLOCA.
14041         * gencheck.c (xmalloc): Ignore __GNUC__ for definition.
14042         * gengenrtl.c (xmalloc): Likewise.
14043
14044 Fri Jul 17 14:18:14 1998  Richard Henderson  <rth@cygnus.com>
14045
14046         * loop.h (struct induction): Add no_const_addval.
14047         * loop.c (the_movables, reg_address_cost): New variables.
14048         (init_loop): Init reg_address_cost.
14049         (loop_optimize): Call end_alias_analysis.
14050         (scan_loop): Init the_movables.
14051         (record_giv): Init induction->no_const_addval.
14052         (basic_induction_var) [PLUS]: Use rtx_equal_p instead of ==.
14053         [REG]: Rearrange loop search test to catch more cases.
14054         (general_induction_var): Return success not benefit; take an extra
14055         argument for that.  Change all callers.
14056         (simplify_giv_expr) [PLUS]: Always combine invariants.  Use sge_plus.
14057         [MULT]: Use rtx_equal_p instead of ==.  Combine simple invariants.
14058         [default]: Search the_movables for additional combinations.
14059         (sge_plus_constant, sge_plus): New functions.
14060         (express_from_1): New function.
14061         (express_from): Always define.  Rewrite using express_from_1.
14062         (combine_givs_p): Handle more cases.  Ignore address cost.
14063         (cmp_combine_givs_stats): New function.
14064         (combine_givs_used_once, combine_givs_benefit_from): New functions.
14065         (combine_givs): Rewrite to do best-fit combination.
14066
14067         * fold-const.c (operand_equal_p): Handle RTL_EXPR.
14068         (fold): Do a complete (A*C)+(B*C) association check.
14069
14070 Fri Jul 17 11:21:55 1998  Jim Wilson  <wilson@cygnus.com>
14071
14072         * function.c (fixup_var_refs_insns): Handle CLOBBER of a CONCAT.
14073
14074 Fri Jul 17 11:48:55 1998  Jeffrey A Law  (law@cygnus.com)
14075
14076         * mn10300.c (MODES_TIEABLE_P): Fix typo.
14077
14078 Fri Jul 17 03:26:12 1998  Rihcard Earnshaw (rearnsha@arm.com)
14079
14080         * tree.c (valid_machine_attribute): Only create a new type variant if
14081         there is a decl to use it.
14082
14083 Thu Jul 16 14:48:04 1998  Nick Clifton  <nickc@cygnus.com>
14084
14085         * gcc.c (do_spec_1): Cope with %g/%u/%U options which do not have
14086         a suffix.
14087
14088 Fri Jul 17 03:24:40 1998  Hans-Peter Nilsson  <hp@axis.se>
14089
14090         * extend.texi (Explicit Reg Vars): Typo: change "may deleted" into "may
14091         be deleted" 
14092
14093 Thu Jul 16 14:48:47 1998  Jeffrey A Law  (law@cygnus.com)
14094
14095         * mn10300.c (count_tst_insns): New arg oreg_countp.  Callers changed.
14096         Simplify tests for clearing an address register.
14097         (expand_prologue): Corresponding changes.
14098
14099         * mn10300.md (movXX patterns): Make sure the destination is an
14100         ADDRESS_REG when substituting "zero_areg" for (const_int 0).
14101         (logical patterns): Split into expanders + patterns
14102         (zero and sign extension patterns): Similarly.
14103         (shift patterns): Similarly.
14104
14105 Thu Jul 16 01:17:44 1998  Richard Henderson  <rth@cygnus.com>
14106
14107         * loop.c (emit_iv_add_mult): Scan the entire insn list generated
14108         for the sequence, recording base values.
14109
14110 Wed Jul 15 10:49:55 1998  Richard Henderson  <rth@cygnus.com>
14111
14112         * i386.h (CPP_CPU_SPEC): Remove -Asystem(unix).
14113
14114 Tue Jul 14 14:15:30 1998  Nick Clifton  <nickc@cygnus.com>
14115
14116         * gcc.c: Remove ANSI-C ism from --help code.
14117
14118         * toplev.c: Support --help with USE_CPPLIB.
14119
14120 Tue Jul 14 14:46:08 1998  Jeffrey A Law  (law@cygnus.com)
14121
14122         * configure.in: Rework gas feature code to work with symlink based
14123         source trees.
14124
14125         * extend.texi: Clarify some issues related to local variables
14126         assigned to explicit registers.
14127
14128         * mn10300.md (mulsi): Turn into expander + pattern.
14129
14130         * mn10300.md (movsi, movsf, movdi, movdf): Remove "x" from I -> a
14131         alternative.
14132
14133 Tue Jul 14 07:41:59 1998  Richard Earnshaw (rearnsha@arm.com)
14134
14135         * arm/tcoff.h (USER_LABEL_PREFIX): Make it empty to match coff.h.
14136
14137 Tue Jul 14 03:02:44 1998  Jeffrey A Law  (law@cygnus.com)
14138
14139         * version.c: Bump again to distinguish mainline tree from the
14140         egcs-1.1 branch.
14141
14142 See ChangeLog.0 for earlier changes.
14143
14144 Local Variables:
14145 add-log-time-format: current-time-string
14146 End: