Consolidate support for "String-ification" into system.h:
[gcc.git] / gcc / ChangeLog
1 Tue May 12 10:21:36 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2
3 * system.h: Define the STRINGIFY macro here.
4 * protoize.c: Not here.
5 * gengenrtl.c (DEF_RTL_EXPR): Use the STRINGIFY macro.
6
7 Tue May 12 00:47:33 1998 John Wehle (john@feith.com)
8
9 * varasm.c (assemble_variable): Compute the alignment of the data
10 earlier so that both initialized and uninitialized variables are
11 effected by DATA_ALIGNMENT.
12 * tm.texi (DATA_ALIGNMENT): Updated appropriately.
13
14 Mon May 11 19:57:58 1998 Jeffrey A Law (law@cygnus.com)
15
16 * mips.c: Prototype static functions.
17
18 Mon May 11 17:43:03 1998 Jim Wilson <wilson@cygnus.com>
19
20 * regmove.c (fixup_match_2, find_matches, regmove_profitable):
21 Add explanatory comments.
22
23 * sparc.h (SPARC_INCOMING_INT_ARG_FIRST): Support TARGET_FLAT.
24
25 Mon May 11 17:24:27 1998 Richard Henderson <rth@cygnus.com>
26
27 * sparc.md (ffsdi2): Disable. Simplify the expression as well.
28
29 Mon May 11 13:30:44 1998 Jim Wilson <wilson@cygnus.com>
30
31 * varasm.c (make_decl_rtl): Disable April 1 change.
32
33 Mon May 11 09:14:41 1998 Richard Henderson <rth@cygnus.com>
34
35 * configure.in (alpha-*-linux-gnu): Undo lossage from gcc2 merge.
36
37 Mon May 11 08:24:18 1998 Richard Henderson <rth@cygnus.com>
38
39 * alpha.h (PRINT_OPERAND_PUNCT_VALID_P): Add '`'.
40 * alpha.c (print_operand): Handle it.
41 * alpha.md (fix_truncdfsi2, fix_truncsfsi2): New patterns and
42 related define_splits. Also add peepholes for SImode reload
43 plus sign_extend lossage.
44
45 Mon May 11 09:33:10 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
46
47 * genattr.c: Include stdarg.h/varargs.h. Change function
48 `fatal' to use variable arguments instead of faking it with
49 integer parameters. Provide a prototype which also
50 checks the format specifiers using ATTRIBUTE_PRINTF_1.
51
52 * genattrtab.c: Likewise.
53 * gencodes.c: Likewise.
54 * genconfig.c: Likewise.
55 * genemit.c: Likewise.
56 * genextract.c: Likewise.
57 * genflags.c: Likewise.
58 * genopinit.c: Likewise.
59 * genpeep.c: Likewise.
60 * genrecog.c: Likewise.
61 * genoutput.c: Likewise. Similarly for function `error'.
62
63 Sun May 10 02:27:03 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
64
65 * acconfig.h (HAVE_VOLATILE): Insert stub for autoconf.
66 * alocal.m4 (GCC_C_VOLATILE): New autoconf test.
67 * configure.in: Use GCC_C_VOLATILE.
68 * system.h (volatile): Define as empty if no volatile support is
69 available.
70
71 Sun May 10 01:21:43 1998 Jeffrey A Law (law@cygnus.com)
72
73 * genemit.c (output_add_clobbers): Removed unused variable 'i' from
74 generated fucntion.
75
76 Sat May 9 02:02:15 1998 Richard Henderson <rth@cygnus.com>
77
78 * loop.c (get_condition): Don't combine when either compare is MODE_CC.
79 * alpha.c (alpha_emit_conditional_branch): New function. Taken from
80 the body of beq; additionally set the mode of the branch to CCmode for
81 FP compares and not fast_math.
82 (alpha_emit_conditional_move): Always use a compare insn for FP
83 when not fast_math, as well as setting CCmode on the cmov.
84 * alpha.md (beq, bne, blt, et al): Call alpha_emit_conditional_branch.
85
86 * machmode.h (COMPLEX_MODE_P): New macro.
87
88 Sat May 9 01:53:23 1998 Richard Henderson <rth@cygnus.com>
89
90 * haifa-sched.c (print_exp): Fix typo.
91
92 Fri May 8 21:48:50 PDT 1998 Jeff Law (law@cygnus.com)
93
94 * version.c: Bump for snapshot.
95
96 Fri May 8 18:23:08 1998 Michael Meissner <meissner@cygnus.com>
97
98 * final.c (final_scan_insn): Call fatal_insn instead of abort if
99 we could not split an insn when required to.
100
101 * m32r.md ({add,sub}di3): Add define_splits and appropriate low
102 level insns.
103 (peepholes): Disable peepholes that call dead_or_set_p.
104 (movsi): Rewrite to handle addresses better after last change.
105 Add define_split to split load of addresses in large/medium modes.
106 (prologue): Call m32r_expand_prologue.
107 (movsi_{push,pop}): Generators for push/pop.
108 (movsi): Support PRE_{INC,DEC}, POST_INC.
109 (mov{di,df}): Rewrite. Always split the insns.
110 (movsf): Add define_split to get register load in correct mode.
111 (cmp_ne_small_const_insn): Use 'N' instead of 'S' constraint.
112 (attributes): Rewrite attributes so that type indicates both the
113 type and the length of the insn directly.
114 (all insns): Change to use new type attributes.
115 (debug): New attribute to convey whether -mdebug was used.
116 (opt_space): New attribute to convey whether -Os was used.
117 (function units): Loads are 3 cycles, not 2. Better classify all
118 insns into short/long.
119 (load/store/extend insns): Add separate case for load/store
120 indirect operations without an offset.
121 (divsi3): Division is a long operation, not short.
122
123 * m32r.h (LEGITIMATE_LO_SUM_ADDRESS_P): Do not allow LO_SUM for
124 modes > 1 word.
125 (GO_IF_MODE_DEPENDENT_ADDRESS): LO_SUM is now mode dependent.
126 (CONST_OK_FOR_LETTER_P): Make 'N' handle reverse 8 bit compares.
127 (EXTRA_CONSTRAINT): Remove 'S' special support. Add 'U' for
128 operands with PRE_{INC,DEC}, POST_INC.
129 (FUNCTION_PROFILER): Call abort instead of doing nothing.
130 (GO_IF_LEGITIMATE_ADDRESS): Allow PRE_{INC,DEC}, POST_INC of
131 SImode variables.
132 (gen_split_move_double): Declare.
133 (EXTRA_CONSTRAINT): Add 'T' for memory reference with no offset.
134
135 * m32r.c (gen_split_move_double): Fix typo. Also, don't call
136 emit_move_insn, build up SET's directly.
137 (toplevel): Include system.h, not stdio.h.
138 (move_double_src_operand): Allow any DF or DI mode constant.
139 (gen_split_move_double): Split moves of DI or DF values into the
140 appropriate moves, loads, or stores. Don't handle use of auto
141 inc/dec if using dead index. Do handle overlapping moves, etc.
142 (m32r_frame_info): Remove prologue_size field.
143 (m32r_compute_frame_size): Don't calculate prologue size.
144 (m32r_output_function_prologue): Change to pretty much a NOP.
145 (m32r_expand_prologue): Expand prologue as a series of INSNs.
146 (m32r_print_operand): Add support for PRE_{INC,DEC}, POST_INC.
147 (m32r_print_operand_address): Ditto.
148
149 Fri May 8 14:13:21 1998 H.J. Lu (hjl@gnu.org)
150
151 * reload1.c (emit_reload_insns): When performing expensive
152 optimizations, do not output the last reload insn if OLD is
153 not the dest of NSN and is in the src and is clobbered by INSN.
154
155 Fri May 8 09:47:29 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
156
157 * Makefile.in (genrtl.o): Depend on system.h.
158 * gengenrtl.c (gencode): When creating genrtl.c, have it
159 include system.h.
160
161 Fri May 8 10:57:33 1998 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
162
163 * config/m68k/t-linux: Remove extra stuff already included in
164 config/t-linux.
165
166 Fri May 8 09:53:24 Paul Eggert <eggert@twinsun.com>
167
168 * fixinc.wrap: Renamed from fixinc.math. Put wrapper around
169 curses.h if it contains `typedef char bool;', as suggested by
170 Manfred Hollstein <manfred@s-direktnet.de>.
171
172 * configure.in: Rename fixinc.math to fixinc.wrap.
173
174 Thu May 7 19:26:34 1998 Jim Wilson <wilson@cygnus.com>
175
176 * gcc.c (read_specs): Handle missing blank line at end of specs file.
177
178 * i386.md (movsicc, movhicc, movsicc_1, movhicc_1, movsfcc_1,
179 movdfcc_1): Disable.
180
181 Thu May 7 15:39:14 1998 Jim Wilson <wilson@cygnus.com>
182
183 * configure.in (enable_threads): Rename to enable_threads_flag before
184 main loop. Set enable_threads to enable_threads_flag inside main
185 loop.
186
187 Thu May 7 17:38:03 1998 Michael Meissner <meissner@cygnus.com>
188
189 * r6000/eabi.asm (__eabi): Restore LR in case __eabi is called
190 multiple times.
191
192 Thu May 7 14:26:05 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
193
194 * aclocal.m4 (GCC_FUNC_VFPRINTF_DOPRNT): New macro.
195
196 * configure.in: Add a call to GCC_FUNC_VFPRINTF_DOPRNT.
197 (AC_CHECK_HEADERS): Remove unused check for varargs.h,sys/varargs.h.
198 (AC_CHECK_FUNCS): Remove unused check for vprintf.
199
200 * Makefile.in: Add support for linking in vfprintf.c and doprint.c.
201 (cccp.o): Depend on gansidecl.h.
202 (cexp.o): Likewise.
203
204 * cccp.c: Convert from using PRINTF_ALIST/PRINTF_DCL to VPROTO as
205 per the rest of gcc source.
206 * cexp.y: Likewise. Include gansidecl.h and remove all code made
207 redundant.
208
209 * cccp.c: Remove checks for HAVE_VPRINTF and the associated code
210 used when vfprintf is missing.
211 * cexp.y: Likewise.
212 * gcc.c: Likewise.
213 * genattrtab.c: Likewise.
214 * mips-tfile.c: Likewise.
215 * toplev.c: Likewise.
216
217 * vfprintf.c: New file.
218 * doprint.c: New file.
219
220 Thu May 7 10:18:41 1998 Jeffrey A Law (law@cygnus.com)
221
222 * config/linux.h (ASM_COMMENT_START): Remove from here,
223 * config/linux-aout.h (ASM_COMMENT_START): and here,
224 * config/i386/linux.h (ASM_COMMENT_START): to here,
225 * config/i386/linux-aout.h (ASM_COMMENT_START): and here.
226 * config/i386/linux-oldld.h (ASM_COMMENT_START): Define
227 here as '#' too.
228
229 Thu May 7 10:55:59 1998 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
230
231 * config/m68k/m68k.md (adddi3, subdi3): Properly negate the DImode
232 constant.
233
234 Wed May 6 22:32:37 CDT 1998 Robert Lipe <robertl@dgii.com>
235
236 * Makefile.in (dwarfout.o) Add toplev.h dependency.
237 * dwarfout.c, i386.c: Include toplev.h
238 * toplev.h: (pfatal_with_name) Add prototype.
239
240 Wed May 6 19:02:29 1998 Jason Merrill <jason@yorick.cygnus.com>
241
242 * Makefile.in: Fix .SUFFIXES.
243
244 Wed May 6 19:31:32 1998 Alan Modra <alan@spri.levels.unisa.edu.au>
245
246 * config/linux.h (ASM_COMMENT_START): Define as "#".
247 * config/linux-aout.h (ASM_COMMENT_START): Likewise.
248
249 Wed May 6 15:51:39 1998 Jim Wilson <wilson@cygnus.com>
250
251 * objc/Make-lang.h (objc-parse.o): Add toplev.h dependency.
252 * objc/objc-parse.y, objc/objc-parse.c: Regenerate.
253
254 * toplev.c: Include toplev.h.
255 * Makefile.in (c-common.o, c-convert.o, c-decl.o, c-iterate.o,
256 c-lex.o, c-parse.o, c-pragma.o, c-typeck.o, calls.o, convert.o,
257 dwarf2out.o, except.o, expr.o, final.o, fold-const.o, function.o,
258 hash.o, profile.o, real.o, reg-stack.o, regclass.o, reload.o,
259 reload1.o, stmt.o, stor-layout.o, tlink.o, tree.o, varasm.o): Add
260 toplev.h dependency.
261
262 * mips/mips.c (save_restore_insns): Change FRAME_POINTER_REGNUM to
263 HARD_FRAME_POINTER_REGNUM.
264
265 * expr.c (target_temp_slot_level): Delete duplicate definition.
266
267 Wed May 6 16:46:01 1998 Jeffrey A Law (law@cygnus.com)
268
269 * stmt.c (mark_seen_cases): Make it have external linkage again.
270 * expr.h (mark_seen_cases): Add declaration, but only when tree.h
271 has been included.
272
273 * haifa-sched.c (print_value, case SUBREG): Fix typo.
274
275 * i386.c (output_387_binary_op): Add some braces to avoid warnings.
276 * i386.h (REG_CLASS_CONTENTS): Similarly.
277
278 * toplev.c (-fsched-max): Delete flag.
279 (-fsched-interblock-max-blocks,-fsched-interblock-max-insns): Likewise.
280 * haifa-sched.c: Remove -fsched-max-N, -fsched-interblock-max-blocks-N
281 and -fsched-interblock-max-insns-N support. Remove INTERBLOCK_DEBUG
282 conditionals.
283
284 * haifa-sched.c (find_rgns): Correctly handle reducible loops with
285 inner loops which are not reducible.
286
287 * loop.c (regs_match_p): Fix typo in prototype.
288
289 * regmove.c (try_auto_increment): Wrap declaration inside an
290 #ifdef AUTO_INC_DEC.
291
292 Wed May 6 17:07:47 1998 Michael Meissner <meissner@cygnus.com>
293
294 * final.c (output_operand_lossage): Call fatal with the operand
295 lossage message instead of calling abort.
296
297 Wed May 6 15:37:27 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
298
299 * c-common.c: Convert to using ctype macros defined in system.h.
300 * c-lex.c: Likewise.
301 * cccp.c: Likewise.
302 * collect2.c: Likewise.
303 * rs6000.c: Likewise.
304 * cpplib.c: Likewise.
305 * fix-header.c: Likewise.
306 * gcc.c: Likewise.
307 * gen-protos.c: Likewise.
308 * pexecute.c: Likewise.
309 * protoize.c: Likewise.
310 * rtl.c: Likewise.
311 * scan.c: Likewise.
312 * stmt.c: Likewise.
313 * tlink.c: Likewise.
314 * toplev.c: Likewise.
315
316 Wed May 6 14:44:14 1998 Gavin Koch <gavin@cygnus.com>
317
318 * config/mips/r3900.h (SUBTARGET_ASM_DEBUGGING_SPEC) :
319 Replace -gdwarf-2 with -g0.
320
321 Wed May 6 11:43:18 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
322
323 * Makefile.in (mips-tfile.o, mips-tdump.o): Depend on system.h.
324 * mips-tdump.c: Include system.h, remove redundant headers.
325 * mips-tfile.c: Likewise. Also, convert all ctype function calls
326 to calls of the macro versions defined in system.h.
327
328 * objc/Make-lang.in (objc-act.o): Depend on system.h.
329 * objc/objc-act.c: Include system.h, remove redundant headers.
330
331 Wed May 6 11:21:06 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
332
333 * configure.in (AC_CHECK_FUNCS): Add isascii.
334 (GCC_NEED_DECLARATIONS): Add atof.
335
336 * system.h: Provide prototypes for abort, atof, atol and sbrk here.
337 * rtl.c, rtl.h, toplev.c, tree.h: Not here.
338
339 Wed May 6 10:52:49 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
340
341 * system.h: Wrap time.h and sys/file.h in autoconf checks.
342 Provide default definitions for O_RDONLY and O_WRONLY here.
343
344 * cccp.c, cpplib.c, fix-header.c, gcc.c, protoize.c: Not here.
345
346 1998-05-06 Mark Mitchell <mmitchell@usa.net>
347
348 * tree.h (IS_EXPR_CODE_CLASS): Remove bogus '3'.
349
350 Wed May 6 06:35:38 1998 Robert Lipe <robertl@dgii.com>
351
352 * toplev.h: New file. Protypes for functions in toplev.c.
353 * tree.h, rtl.h: Deleted protos for functions in toplev.c.
354 * c-common.c, c-convert.c, c-decl.c, c-iterate.c, c-lex.c,
355 c-parse.in, c-parse.y, c-pragma.c, c-typeck.c, calls.c,
356 convert.c, dwarf2out.c, except.c, expr.c, final.c, fold-const.c,
357 function.c, hash.c, profile.c, real.c, reg-stack.c, regclass.c,
358 reload.c, reload1.c, stmt.c, stor-layout.c, tlink.c, tree.c,
359 varasm.c: include it.
360
361 Wed May 6 01:09:01 1998 Jeffrey A Law (law@cygnus.com)
362 Jim Wilson (wilson@cygnus.com)
363
364 * haifa-sched.c (find_rgns): In no_loops case, fix test for leaf
365 blocks. Check for 1 successor which is the EXIT_BLOCK.
366
367 * haifa-sched.c (find_rgns): Detect unreachable blocks, including
368 unreachable loops with more than one block.
369
370 Wed May 6 08:22:24 1998 Manfred Hollstein <manfred@s-direktnet.de>
371
372 * fix-header.c (write_rbrac): Add "abort" to functions which need to
373 be protected.
374
375 Wed May 6 00:09:36 1998 Jeffrey A Law (law@cygnus.com)
376
377 * Check in merge from gcc2. See ChangeLog.12 for details.
378
379 Tue May 5 14:33:49 1998 Jim Wilson <wilson@cygnus.com>
380
381 * c-common.c (scan_char_table): Separate 's' and 'c'. 'c' does not
382 accept 'a' flag. 'S' does accept 'a' flag.
383 (check_format_info): When pedantic, warn for m/C/S/a/A formats,
384 and `a' flag.
385
386 * elf64.h (MULTILIB_DEFAULTS): Move definition after mips.h include.
387
388 Tue May 5 10:50:39 1998 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
389
390 * config/m68k/m68k.h: Declare functions from m68k.c used in
391 macros and machine description.
392 (ASM_OUTPUT_LONG_DOUBLE): Always use `l' flag in print format for
393 long values.
394 (ASM_OUTPUT_FLOAT): Likewise.
395 (ASM_OUTPUT_FLOAT_OPERAND): Likewise.
396
397 Tue May 5 01:28:12 1998 Jason Merrill <jason@yorick.cygnus.com>
398
399 * tree.def: Add NAMESPACE_DECL.
400 * dwarfout.c (type_ok_for_scope): Ignore NAMESPACE_DECLs for now.
401 * dwarf2out.c (push_decl_scope): Likewise.
402 (scope_die_for): Likewise.
403 * tree.c (decl_function_context): Use TREE_CODE_CLASS to determine
404 how to get next context level.
405
406 Tue May 5 01:43:16 1998 Jim Wilson <wilson@cygnus.com>
407
408 * i386.c (output_fix_trunc): Add code to emulate non-popping DImode
409 case.
410
411 Tue May 5 01:15:06 1998 Jeffrey A Law (law@cygnus.com)
412
413 * h8300.h (ADDITIONAL_REGISTER_NAMES): Add "er" registers.
414
415 * reorg.c (fill_slots_from_thread): Update REG_DEAD/REG_UNUSED notes
416 for any insns skipped at the start of a block because they were
417 redundant.
418
419 Mon May 4 20:23:51 1998 Jim Wilson <wilson@cygnus.com>
420
421 * alpha.h (DBX_CONTIN_LENGTH): Decrease to 3000.
422
423 1998-05-04 Ulrich Drepper <drepper@cygnus.com>
424
425 * c-common.c (format_char_info): Add new field hhlen.
426 (print_char_table, scan_char_table, time_char_table): Initialize
427 hhlen field appropriately.
428 (char_format_info): Recognize hh modifier and lookup correct char
429 table entry.
430
431 Mon May 4 19:15:29 1998 Jim Wilson <wilson@cygnus.com>
432
433 * expr.c (expand_expr, case INDIRECT_REF): Don't optimize string
434 reference if this is a store.
435
436 Mon May 4 17:25:17 1998 Richard Henderson <rth@cygnus.com>
437
438 * sparc.c (output_move_quad): Fix typo in mov_by_64 argument.
439
440 Sun May 3 23:57:25 1998 Robert Lipe <robertl@dgii.com>
441
442 Make UnixWare 7 bootstrap support work with final shipping product.
443 * configure.in: (i[34567]86-*-sysv5): append, not overwrite, xm_file.
444 Pick up xm-siglist and xm-alloca.
445 (xm_defines): Add USG so dbxout will build.
446 * configure: Regenerate.
447
448 Sun May 3 13:51:34 PDT 1998 Richard Henerson <rth@cygnus.com>
449
450 Support for official Sparc V9 ABI:
451 * sparc.c (sparc_override_options): Force stack bias off for !arch64.
452 Care for flag_pcc_struct_return default.
453 (output_move_quad): Rewrite to move by halves on v9 and in the
454 proper direction.
455 (move_quad_direction): New function.
456 (output_fp_move_quad): Use it to determine the direction of copy.
457 (function_arg_slotno): Return -1 for FP reg overflow as well.
458 (function_arg_record_value*): New functions.
459 (function_arg): Use them. Streamline unprototyped parameter passing.
460 (function_arg_pass_by_reference): Pass TCmode by reference.
461 (function_value): New function.
462 * sparc.h (PTRDIFF_TYPE, SIZE_TYPE): For -pedantic's sake, don't use
463 long long in 64-bit mode.
464 (RETURN_IN_MEMORY): v9 returns structs < 32-bytes in regs.
465 (DEFAULT_PCC_STRUCT_RETURN): Make the default detectable.
466 (BASE_RETURN_VALUE_REG): Consider complex float types for arch64.
467 (BASE_OUTGOING_VALUE_REG, BASE_PASSING_ARG_REG): Likewise.
468 (BASE_INCOMING_ARG_REG): Likewise.
469 (FUNCTION_VALUE): Call function_value.
470 (FUNCTION_OUTGOING_VALUE, LIBCALL_VALUE): Likewise.
471 * sparc.md (movdi_sp32_v9): Disable for arch64.
472 (movsf, movdf, movtf): Sort all ulternatives using fp regs first.
473 (call_value_address_sp64): Remove register class constraints.
474 (call_value_symbolic_sp64): Likewise.
475 (nonlocal_goto): Pass label reg directly to goto_handlers. Constrain
476 v9 case to 32-bit constants.
477 (goto_handler_and_restore_v9): Provide a version for arch64.
478 * sparc/linux64.h (SIZE_TYPE, PTRDIFF_TYPE): Remove private definition.
479 * sparc/sp64-aout.h (TARGET_DEFAULT): Turn on stack bias.
480 (CPP_PREDEFINES): New.
481 * sparc/sp64-elf.h: Likewise.
482 (PREFERRED_DEBUGGING_TYPE): Dwarf2.
483 (ASM_OUTPUT_DWARF2_ADDR_CONST): New.
484 * sparc/sysv4.h (SIZE_TYPE, PTRDIFF_TYPE): Undo svr4.h's changes.
485
486 Sat May 2 17:47:17 PDT 1998 Jeff Law (law@cygnus.com)
487
488 * version.c: Bump for snapshot.
489
490 Sat May 2 01:37:29 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
491
492 * reload.c (find_reloads): Emit USEs to mark where a pseudo
493 is reloaded with the MEM of its stack slot.
494 * reload1.c (cannot_omit_stores): Delete.
495 (reload): Don't initialize it.
496 Don't apply avoid_return_reg logic to USEs.
497 When done, remove USEs that have a REG_EQUAL note on them.
498 (emit_reload_insns): Handle case where we have inherited a MEM.
499 (delete_output_reload): Don't use cannot_omit_stores.
500
501 Thu Apr 30 18:59:03 1998 Jim Wilson <wilson@cygnus.com>
502
503 * Makefile.in (cpp.info, gcc.info): Put -o option before input file.
504
505 Thu Apr 30 16:57:34 1998 Michael Meissner <meissner@cygnus.com>
506
507 * haifa-sched.c (print_{exp,value}): Various changes to make the
508 debug output easier to read. Also, use only one buffer, and make
509 sure the buffer we are passed in doesn't overflow.
510 (safe_concat): Concatenate to a buffer without overflow.
511
512 Thu Apr 30 16:57:34 1998 Kaveh R. Ghazi" <ghazi@caip.rutgers.edu>
513
514 * haifa-sched.c (alloc_{INSN,EXPR}_LIST): Make static to agree
515 with the prototype.
516
517 Wed Apr 29 21:45:16 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
518
519 * sched.c (new_insn_dead_notes): Check if the register was
520 used in the original instruction.
521 * haifa-sched.c (new_insn_dead_notes): Likewise.
522
523 Wed Apr 29 13:46:03 1998 Jim Wilson <wilson@cygnus.com>
524
525 * dwarf2out.c (scope_die_for): If could not find proper scope,
526 check for and handle tagged type with incorrect TYPE_CONTEXT.
527
528 Wed Apr 29 15:34:40 1998 John Carr <jfc@mit.edu>
529
530 * calls.c (expand_call): Fix recognition of C++ operator new.
531
532 * alias.c (mode_alias_check): Disable type based alias detection.
533
534 Wed Apr 29 15:06:42 1998 Gavin Koch <gavin@cygnus.com>
535
536 * config/mips/elf.h (ASM_OUTPUT_DEF,ASM_WEAKEN_LABEL,
537 ASM_OUTPUT_WEAK_ALIAS): Define.
538 * config/mips/elf64.h: Same.
539 * config/mips/r3900.h (ASM_OUTPUT_DEF,SUPPORTS_WEAK,
540 ASM_WEAKEN_LABEL): Removed.
541
542 Wed Apr 29 10:53:29 1998 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
543
544 * calls.c (expand_call): Bump the length limit on the specially
545 recognized function names to 17.
546
547 Tue Apr 28 17:53:33 1998 Jim Wilson <wilson@cygnus.com>
548
549 * ginclude/stddef.h: Add check for _MACHINE_ANSI_H_ for BSD/OS
550 when undefining macros at the end.
551
552 * expr.c (expand_builtin, case BUILT_IN_MEMSET): Break if either
553 val or len has TREE_SIDE_EFFECTS set.
554
555 * sparc.md (mulsidi3): Call const v8plus and v8plus routines.
556 (mulsidi3_v8plus, const_mulsidi3_v8plus): Delete asterisk from name.
557 (smuldi3_highpart): Call const v8plus routine.
558 (smulsi3_highpart_v8plus): Renamed from smulsidi3_highpart_v8plus.
559 (const_smulsi3_highpart_v8plus): New pattern.
560 (smulsi3_highpart_sp32): Renamed from smulsidi3_highpart_sp32.
561 (umulsidi3): Call const v8plus routine.
562 (umulsi3_highpart): Handle const before v8plus. Call const v8plus
563 routine.
564 (umulsi3_highpart_v8plus): Renamed from umulsidi3_highpart_v8plus.
565 (umulsi3_highpart_sp32): Renamed from umulsidi3_highpart_sp32.
566
567 Tue Apr 28 08:55:26 1998 Michael Meissner <meissner@cygnus.com>
568
569 * m32r.c (*_oper{and|ator}): Change enum arguments and return
570 values to int, so they can be prototyped even in files that don't
571 include rtl.h.
572 ({small,large}_insn_p): Ditto.
573 (m32r_select_cc_mode): Ditto.
574 (gen_compare): Ditto.
575 (function_arg_partial_nregs): Ditto.
576 (m32r_setup_incoming_varargs): Ditto.
577 (init_reg_tables): Add prototype.
578 (m32r_frame_info): Add prolog_size field.
579 (m32r_compute_frame_size): Calculate the size of the prologue.
580 (m32r_first_insn_address): Return prologue size.
581 (m32r_output_function_prologue): Calculate frame size before
582 printing out information. Print out the prologue size.
583
584 * m32r.h: Prototype all functions in m32r.c.
585 (FIRST_INSN_ADDRESS): Declare, returning prologue size.
586
587 * m32r.md (bcc functions): Cast enum's to int.
588
589 * m32r.c (conditional_move_operand): Silence a debug message.
590 ({small,long}_insn): New predicates.
591
592 * m32r.h (TARGET_M32R): New macro.
593 (PREDICATE_CODES): Rearrange somewhat, add small_insn/long_insn.
594 (HAIFA_P): Define as 1/0 depending on whether the Haifa scheduler
595 was selected.
596 (ISSUE_RATE): Define as 2.
597
598 * m32r.md (insn_size): New attribute.
599 ({,rev_}branch_insn): Add .s qualifier to branches believed to be
600 short.
601 (m32r): New attribute.
602
603 * configure.in (enable_haifa): Switch m32r to Haifa by default.
604 * configure: Regenerate.
605
606 (Changes from Nick Clifton <nickc@cygnus.com>)
607 * m32r.h (EXTRA_CONSTRAINT): Implement 'S' constraint to perfoirm
608 the equivalent of a negated 'I' constraint.
609 (PRESERVE_DEATH_INFO_REGNO_P): Define in order to allow peephole
610 optimisation to work.
611
612 * m32r.md (cmp_ne_small_const_insn): Use 'S' constriant rather
613 than 'I' since the value is negated.
614 (peephole): Add peephole optimisation to cope with optimization of
615 divide and subtracts of the same operands.
616
617 * m32r.c zero_and_one, emit_cond_move): Add support for MVFC.
618 * m32r.h: Ditto.
619 * m32r.md: Ditto.
620
621 * m32r.h (PREDICATE_CODES): Add declaration of machine specific
622 predicates.
623
624 Tue Apr 28 07:25:53 1998 Manfred Hollstein <manfred@s-direktnet.de>
625
626 * Makefile.in (libgcc2.ready): Revert last patch (Apr 24).
627
628 Mon Apr 27 18:39:47 1998 Nick Clifton <nickc@cygnus.com>
629
630 * config/arm/thumb.h (GO_IF_LEGITIMATE_ADDRESS): Check against
631 frame_pointer_rtx not FRAME_POINTER_REGNUM.
632
633 Mon Apr 27 18:36:28 1998 Jim Wilson <wilson@cygnus.com>
634
635 * reg-stack.c: Revert last patch (Apr 20).
636 (convert_regs): Set insn to PREV_INSN (next) after do while loop.
637
638 * m68k/lb1sf68.asm (Laddsf$3): Fix typos in mcf5200 exg code.
639
640 * loop.c (check_dbra_loop): New locals jump, first_compare, and
641 compare_and_branch. Call get_condition to set first_compare.
642 Set compare_and_branch to number of compare/branch instructions.
643 Replace PREV_INSN (PREV_INSN (loop_end)) with first_compare.
644 Replace '2' with compare_and_branch.
645
646 Mon Apr 27 15:53:30 EDT 1998 Andrew MacLeod <amacleod@cygnus.com>
647
648 * cplus-dem.c (demangle_qualified): Replace missing else.
649
650 Mon Apr 27 20:22:08 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
651
652 * sh.c (gen_ashift_hi): Don't make SUBREG of a SUBREG.
653
654 Mon Apr 27 18:23:51 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
655
656 * sh.c (sh_expand_prologue, sh_expand_epilogue):
657 If TARGET_DOUBLE_ALIGN, preserve 64 bit stack alignment.
658 * sh.h (STACK_BOUNDARY): Likewise.
659
660 Mon Apr 27 17:22:48 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
661
662 * sh.h (LEGITIMIZE_RELOAD_ADDRESS): Define.
663
664 Mon Apr 27 08:55:23 1998 Michael Meissner <meissner@cygnus.com>
665
666 * system.h (abort): If abort is not defined, and neither is
667 USE_SYSTEM_ABORT, redefine abort to call fprintf and exit,
668 reporting the line and filename of the error.
669
670 * .gdbinit: Add breakpoints on exit and fancy_abort.
671
672 * final.c (split_double): Avoid a compiler warning if
673 BITS_PER_WORD is less than or equal to HOST_BIT_PER_WIDE_INT.
674
675 * rtl.h (JUMP_{CROSS_JUMP,NOOP_MOVES,AFTER_REGSCAN}): New macros
676 for calling jump_optimize.
677
678 * toplev.c (rest_of_compilation): Call jump_optimize using JUMP_*
679 macros, rather than 0/1's.
680
681 Sun Apr 26 23:19:10 1998 Richard Henderson <rth@cygnus.com>
682
683 * alpha.h (CONST_COSTS): Zero is always free.
684 (RTX_COSTS): Add EV6 costs. Abort if alpha_cpu is unknown.
685
686 Sun Apr 26 15:38:50 1998 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
687
688 * cplus-dem.c (gnu_special): Fix off-by-one bug when checking the
689 length in the name of a virtual table.
690
691 Sun Apr 26 01:21:06 1998 Richard Henderson <rth@cygnus.com>
692
693 * alpha.c (print_operand): Don't add 'v' suffix for ALPHA_FPTM_N.
694
695 Sat Apr 25 22:11:38 PDT 1998 Jeff Law (law@cygnus.com)
696
697 * version.c: Bump for snapshot.
698
699 Sat Apr 25 17:17:15 1998 Jeffrey A Law (law@cygnus.com)
700
701 * fold-const.c (fold_convert): Fix typo.
702
703 Sat Apr 25 17:55:54 1998 John Carr <jfc@mit.edu>
704
705 * alias.c (alias_invariant): New variable.
706 (record_base_value): New argument INVARIANT.
707 (memrefs_conflict_p): If a register has an entry in the alias_invariant
708 array, try substituting that value for the register.
709
710 * rtl.h: Declare record_base_value.
711
712 * loop.c, unroll.c: Update callers of record_base_value.
713
714 * alias.c (find_base_value, find_base_term): SIGN_EXTEND and
715 ZERO_EXTEND do not affect base values.
716
717 Fri Apr 24 15:57:02 1998 Jeffrey A Law (law@cygnus.com)
718
719 * dbxout.c (dbxout_type): Fix typo.
720 (dbxout_range_type): Another HOST_WIDE_INT_PRINT_DEC fix.
721
722 * configure.in: Use CC_FOR_BUILD, not BUILD_CC.
723
724 Fri Apr 24 16:11:47 1998 John Carr <jfc@mit.edu>
725
726 * expr.c (expand_builtin, case MEMSET): Set MEM_IN_STRUCT_P
727 if the argument is the address of a structure or array.
728
729 * configure.in: Enable Haifa scheduler by default for SPARC.
730
731 Fri Apr 24 20:55:47 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
732
733 * cse.c (cse_set_around_loop): Don't do optimization when
734 new pseudos are created.
735
736 Fri Apr 24 11:00:18 1998 Jeffrey A Law (law@cygnus.com)
737
738 * dbxout.c (dbxout_type_fields): Use HOST_WIDE_INT_PRINT_DEC
739 appropriately.
740 (dbxout_type_method_1, dbxout_type): Likewise.
741 (print_int_cst_octal, print_octal, dbxout_symbol): Likewise.
742 (dbxout_type): Fix check for when to print a type range in
743 octal vs decimal.
744
745 Fri Apr 24 16:45:03 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
746
747 * (gen_shl_and, in case 1): Fix comparison with mask.
748
749 Fri Apr 24 06:46:40 1998 Nick Clifton <nickc@cygnus.com>
750
751 * config/arm/thumb.h (GO_IF_LEGITIMATE_ADDRESS): Disallow frame
752 pointer as second register in REG+REG pair.
753
754 Fri Apr 24 09:22:23 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
755
756 * c-common.c (check_format_info): Don't check for the 'x' format
757 character twice, instead check for 'x' and 'X'
758
759 Fri Apr 24 08:02:30 1998 Manfred Hollstein <manfred@s-direktnet.de>
760
761 * Makefile.in (libgcc2.ready): Add explicit dependancy from
762 $(STMP_FIXPROTO) to ensure all necessary include files have
763 been created and to guarantee proper parallel builds.
764
765 Fri Apr 24 04:42:35 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
766
767 * sh.c (sh_expand_prologue, in !SH3E code): Don't push an extra
768 register for stdarg functions.
769 * sh.h (current_function_varargs): Declare.
770 (FUNCTION_ARG): Ignore NAMED for stdarg functions.
771
772 1998-04-23 Jim Wilson <wilson@cygnus.com>
773
774 * frame.c, libgcc2.c (stdlib.h, unistd.h): Don't include when
775 inhibit_libc is defined.
776
777 * c-aux-info.c (gen_type): Use DECL_NAME only for TYPE_DECL.
778
779 Thu Apr 23 19:09:33 1998 Jim Wilson <wilson@cygnus.com>
780
781 * profile.c (tablejump_entry_p): New function.
782 (branch_prob): Add code to recognize MIPS tablejump entry branch.
783 Use tablejump_entry_p in MIPS and HPPA tablejump checking code.
784
785 Thu Apr 23 15:01:13 1998 Nick Clifton <nickc@cygnus.com>
786
787 * config/arm/arm.c (find_barrier): Return as soon as a barrier is
788 found, rather than at end of the loop, after the insn has been
789 changed.
790
791 Thu Apr 23 20:21:06 1997 J"orn Rennecke <amylaar@cygnus.co.uk>
792
793 * sh.c (gen_ashift_hi): Implement right shifts via gen_ashift.
794 * sh.md (ashrhi3_k, lshrhi3_k, lshrhi3_m, lshrhi3, lshrhi3+1): Delete.
795
796 Wed Apr 22 17:07:35 1998 Michael Meissner <meissner@cygnus.com>
797
798 * loop.c (note_addr_stored): Correct function to take 2 arguments,
799 instead of 1.
800
801 * rtl.def (MATCH_INSN2): Add new matching pattern.
802 * genrecog.c (add_to_sequence): Support MATCH_INSN2.
803
804 Wed Apr 22 15:52:22 1998 John Carr <jfc@mit.edu>
805
806 * emit-rtl.c (gen_highpart): The high part of a CONST_INT is not zero
807 if HOST_BITS_PER_WIDE_INT is larger than BITS_PER_WORD.
808
809 * final.c (split_double): Sign extend both halves of a split CONST_INT.
810
811 Wed Apr 22 10:42:45 1998 Jeffrey A Law (law@cygnus.com)
812
813 * mips.c (compute_frame_size): Change only argument to a HOST_WIDE_INT.
814
815 Wed Apr 22 10:53:49 EDT 1998 Andrew MacLeod <amacleod@cygnus.com>
816
817 * cplus-dem.c (struct work stuff): Add field for B and K mangle codes.
818 (cplus_demangle_opname): Call mop_up_squangle.
819 (cplus_demangle): Initialize squangle info, then call
820 internal_cplus_demangle. (Most code moved there as well)
821 (internal_cplus_demangle): New function, performs most of what use
822 to be done in cplus_demangle, but is only called with this file.
823 (squangle_mop_up): New function to clean up B and K code data.
824 (mop_up): set pointers to NULL after freeing.
825 (demangle_signature, demangle_template, demangle_class): Add
826 switch elements to handle K and B codes.
827 (demangle_prefix, gnu_special, demangle_qualified): Add
828 code to handle K and B codes.
829 (do_type, demangle_fund_type): Handle B and K codes.
830 (remember_Ktype): New function to store K info.
831 (register_Btype, remember_Btype): New functions for B codes.
832 (forget_B_and_K_types): New function to destroy B and K info.
833
834 1998-04-21 Jim Wilson <wilson@cygnus.com>
835
836 * stmt.c (check_seenlabel): When search for line number note for
837 warning, handle case where there is no such note.
838
839 Tue Apr 21 20:48:37 1998 John Carr <jfc@mit.edu>
840
841 * genemit.c (gen_exp): Allow machine description to set mode of
842 MATCH_OP_DUP.
843
844 Tue Apr 21 16:36:01 1998 John Carr <jfc@mit.edu>
845
846 * alias.c (mode_alias_check): New function.
847 (true_dependence, anti_dependence, output_dependence): Call
848 mode_alias_check.
849
850 Tue Apr 21 12:05:32 1998 Jeffrey A Law (law@cygnus.com)
851
852 * mips.h (STACK_BOUNDARY): Allow specific targets to override.
853 (MIPS_STACK_ALIGN): Similarly.
854
855 * c-common.c (type_for_mode): Handle TI types.
856 * c-decl.c (intTI_type_node, unsigned_int_TI_type_node): Define.
857 (init_decl_processing): Handle TI types.
858 * c-tree.h (intTI_type_node, unsigned_int_TI_type_node): Declare.
859
860 * mips.c (block_move_loop): Test Pmode == DImode instead of
861 TARGET_MIPS64.
862 (expand_block_move, save_restore_insns): Likewise.
863 (function_prologue, mips_expand_prologue): Likewise.
864 (mips_expand_epilogue): Likewise.
865 * mips.h (POINTER_SIZE): Allow specific targets to override.
866 (Pmode): Allow specific targets to override.
867 (FUNCTION_PROFILER): Test Pmode == DImode instead of TARGET_MIPS64
868 (POINTER_BOUNDARY, FUNCTION_MODE): Likewise.
869 (TRAMPOLINE_TEMPLATE, TRAMPOLINE_SIZE): Likewise.
870 (TRAMPOLINE_ALIGNMENT, INITIALIZE_TRAMPOLINE): Likewise.
871 (CASE_VECTOR_MODE, ASM_OUTPUT_ADDR_VEC_ELT): Likewise.
872 (ASM_OUTPUT_ADDR_DIFF_ELT, SIZE_TYPE, PTRDIFF_TYPE): Likewise.
873 * mips.md (indirect, tablejump & casesi support): Test for
874 Pmode == DImode instead of TARGET_MIPS64.
875 (call patterns): Likewise.
876
877 Tue Apr 21 09:43:55 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
878
879 * objc/sendmsg.c: Define gen_rtx_MEM() to 1, as is already done
880 for gen_rtx(MEM, ...).
881
882 Tue Apr 21 02:15:36 1998 Richard Henderson <rth@cygnus.com>
883
884 * sparc.h (MACHINE_STATE_SAVE, MACHINE_STATE_RESTORE): Rewrite
885 to not be so gross, and to properly function with PIC.
886
887 Mon Apr 20 20:44:25 1998 Jim Wilson <wilson@cygnus.com>
888
889 * frame.c (heapsort): Rename to frame_heapsort.
890
891 * gcc.c (do_spec_1, case '['): Move flag out of loop and initialize it.
892
893 Mon Apr 20 12:43:09 1998 Doug Evans <devans@canuck.cygnus.com>
894
895 * flow.c (sbitmap_vector_alloc): Ensure sbitmaps properly aligned.
896
897 Mon Apr 20 15:04:14 1998 John Wehle (john@feith.com)
898
899 * i386.md (movsf_push, movdf_push, movxf_push): Allow memory
900 operands during and after reload.
901
902 Mon Apr 20 22:37:50 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
903
904 * final.c (shorten_branches, init_insn_lengths): Move code
905 to free label_align, uid_shuid, insn_lengths, insn_addresses
906 and uid_align from the former function into the latter one;
907 Add code to clear these variables.
908 * sh.h (label_align): Remove declaration.
909
910 Mon Apr 20 14:48:29 1998 Michael Meissner <meissner@cygnus.com>
911
912 * gcc.c (lang_specific_driver): Declare prototype properly so
913 fatal can be passed to it without error.
914
915 * configure.in (AC_CHECK_FUNCS): Check for strchr and strrchr.
916 * configure: Regenerate.
917 * config.in: Add #undef's for strchr and strrchr.
918
919 * protoize.c (toplevel): If we have rindex, but not strrchr, map
920 rindex to strrchr.
921 (file_could_be_converted): Use strrchr, not rindex since rindex is
922 not defined on Linux systems when _POSIX_SOURCE is defined.
923 (file_normally_convertible): Ditto.
924 (process_aux_info_file): Ditto.
925 (main): Ditto.
926
927 * rs6000.md (mov{sf,df} define_splits): When splitting a move of
928 a constant to an integer register, don't split the insns that do
929 the simple AND and OR operations, rather just split each word, and
930 let the normal movsi define split handle it further.
931
932 Mon Apr 20 18:19:40 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
933
934 * sh.c (find_barrier): Fix bug in ADDR_DIFF_VEC handling.
935 (split_branches): Call init_insn_lengths.
936
937 Mon Apr 20 07:37:49 1998 Michael Meissner <meissner@cygnus.com>
938
939 * i386.c: Include expr.h to get the change_address prototype
940 declared.
941
942 Mon Apr 20 01:00:05 1998 H.J. Lu (hjl@gnu.org)
943
944 * reg-stack.c (subst_asm_stack_regs): Change to return the last
945 new insn generated by this function.
946 (subst_stack_regs): Likewise.
947 (convert_regs): Record the last newly generated insn and use
948 it for change_stack () instead of INSN.
949
950 Sun Apr 19 15:41:24 1998 Manfred Hollstein <manfred@s-direktnet.de>
951
952 * fix-header.c (enum special_file): Undefine enumerators if they
953 are already defined by include files.
954 * fixproto (rel_source_file in unistd.h stdlib.h): Prefix file protection
955 macro with '__' to not pollute user namespace.
956
957 Sun Apr 19 02:42:06 1998 Richard Henderson <rth@cygnus.com>
958
959 * haifa-sched.c (queue_to_ready): Fix typo in prototype.
960
961 Sat Apr 18 23:52:35 PDT 1998 Jeff Law (law@cygnus.com)
962
963 * version.c: Bump for snapshot.
964
965 Sat Apr 18 18:30:22 1998 Jim Wilson <wilson@cygnus.com>
966
967 * i386.md (fix_truncsfdi2+[123]): Add + to operand 1 constraints.
968
969 * i386.h (CPP_CPU_DEFAULT): Renamed to CPP_CPU_DEFAULT_SPEC.
970 Add missing -Dpentium* options.
971 (CPP_CPU_SPEC): Delete redundant definition. Include cpp_cpu_default
972 instead of CPP_CPU_DEFAULT.
973 (EXTRA_SPECS): Add entry for cpp_cpu_default.
974
975 Sat Apr 18 19:06:59 1998 David Edelsohn <edelsohn@mhpcc.edu>
976
977 * rs6000.md (floatsidf2_loadaddr): rs6000_fpmem_offset will be
978 negative in a stackless frame.
979 * rs6000.c (rs6000_stack_info): Don't include fixed-size link area
980 in stackless frame size. Support 64-bit stackless frame size.
981 Combine fpmem offset calculations and don't add total_size to
982 offset if not pushing a stack frame.
983
984 Sat Apr 18 15:41:16 1998 Jim Wilson <wilson@cygnus.com>
985
986 * regmove.c (fixup_match_1): In three places, in flag_exceptions
987 check, change p to q.
988
989 Sat Apr 18 15:30:49 1998 Jim Wilson <wilson@cygnus.com>
990
991 * gcc.c (lang_specific_driver): Add new parm type to prototype.
992 (added_libraries): New file scope static variable.
993 (process_command): Initialize added_libraries. Pass it to
994 lang_specific_driver.
995 (main): Use added_libraries in check for no input files.
996
997 Sat Apr 18 01:23:11 1998 John Carr <jfc@mit.edu>
998
999 * sparc.c, sparc.h, sparc.md, sol2.h: Many changes related to V9
1000 code generation. Use 64 bit instructions in 32 bit mode when
1001 possible. Use V9 return instruction. UltraSPARC optimizations.
1002
1003 * sparc.h: Change gen_rtx (CODE to gen_rtx_CODE (.
1004
1005 Fri Apr 17 22:38:17 1998 Jeffrey A Law (law@cygnus.com)
1006
1007 * global.c (global_alloc): Don't pass HARD_CONST (0) to find_reg,
1008 just pass zero. That will work regardless of the size of HARD_REG_SET.
1009
1010 * libgcc2.c (__floatdisf): Fix a couple typos.
1011
1012 Fri Apr 17 17:28:26 1998 Jim Wilson <wilson@cygnus.com>
1013
1014 * Makefile.in (mostlyclean): Delete *.mach and *.bp files.
1015
1016 Fri Apr 17 16:35:35 1998 Greg McGary <gkm@gnu.org>
1017
1018 * emit-rtl.c (gen_highpart): initialize `word' properly for pseudo.
1019
1020 Fri Apr 17 14:30:37 1998 John Carr <jfc@mit.edu>
1021
1022 * emit-rtl.c (operand_subword_force): If a register can not be
1023 accessed by words, copy it to a pseudo register.
1024
1025 Fri Apr 17 14:30:37 1998 Jim Wilson <wilson@cygnus.com>
1026
1027 * rs6000/vxppc.h (CPP_SPEC): Add support for mrelocatable*.
1028
1029 Fri Apr 17 17:01:25 1998 Michael Meissner <meissner@cygnus.com>
1030
1031 * tree.h (mark_seen_cases): Delete declaration.
1032
1033 Fri Apr 17 13:32:20 1998 Jeffrey A Law (law@cygnus.com)
1034
1035 * stmt.c (mark_seen_cases): Make static and add prototype.
1036
1037 Fri Apr 17 11:21:43 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1038
1039 * frame.c: Include stdlib.h and unistd.h to possibly get various
1040 function prototypes. The fixproto script guarantees these header
1041 files exist on the target system.
1042 * libgcc2.c: Likewise.
1043
1044 * gthr-single.h (__gthread_mutex_lock, __gthread_mutex_trylock,
1045 __gthread_mutex_unlock): Add __attribute__ ((__unused__)) to the
1046 function parameters.
1047 * libgcc2.c (__udiv_w_sdiv): Likewise.
1048
1049 Thu Apr 16 22:41:02 1998 Jeffrey A Law (law@cygnus.com)
1050
1051 * varasm.c (asm_output_bss): Add prototype.
1052 (asm_output_aligned_bss): Likewise.
1053
1054 * unroll.c (verify_addresses): Add prototype.
1055
1056 * toplev.c: Add many prototypes. Too many to mention here.
1057
1058 * stmt.c (check_seenlabel): Add prototype.
1059
1060 * rtlanal.c (reg_set_p_1): Add prototype.
1061 (reg_set_last_1): Likewise.
1062
1063 * reorg.c (find_dead_or_set_registers): Add prototype.
1064
1065 * regmove (try_auto_increment): Add prototype.
1066
1067 * reg-stack.c (pop_stack): Add prototype.
1068
1069 * recog.c (validate_replace_rtx_1): Add prototype.
1070 (find_cosntant_term_loc): Likewise.
1071
1072 * loop.c (regs_patch_p): Add prototype.
1073 (add_label_notes, count_nonfixed_reads): Likewise.
1074 (find_single_use_in_loop): Likewise.
1075 (express_from): Surround prototype with #ifdef.
1076 (giv_sort): Similarly.
1077
1078 * jump.c (mark_modified_reg): Add prototype.
1079
1080 * haifa-sched.c (is_prisky): Add prototype.
1081 (queue_to_ready): Likewise.
1082
1083 * genextract.c (gen_insn): Add prototype.
1084
1085 * genemit.c (max_operand_1): Add prototype.
1086 (max_operand_vec, print_code, gen_exp, gen_insn): Likewise.
1087 (gen_expand, gen_explit, output_add_clobbers): Likewise.
1088 (output_init_mov_optab): Likewise.
1089
1090 * genattrtab.c (attr_hash_add_rtx): Add prototype.
1091 (attr_hash_add_string, write_length_unit_log): Likewise.
1092
1093 * genattr.c (init_range): Add prototype.
1094
1095 * combine.c (sets_function_arg_p): Add prototype.
1096
1097 * expr.c (store_constructor_field): Add prototype.
1098 (get_memory_usage_from_modifier): Likewise
1099
1100 * expmed.c (synth_mult): Add prototype.
1101 (choose_multiplier, invert_mod2n): Likewise.
1102
1103 * except.c (push_eh_entry): Add prototype.
1104 (pop_eh_entry, enqueue_eh_entry, dequeu_eh_entry): Likewise.
1105 (call_get_eh_context, start_dynamic_cleanup): Likewise.
1106 (start_dynamic_handler, can_throw): Likewise.
1107 (output_exception_table_entry, scan_region): Likewise.
1108 (eh_regs, set_insn_eh_region): Likewise.
1109
1110 * dwarfout.c (decl_class_context): Add prototype.
1111 (output_inheritance_die, type_ok_for_scope): Likewise.
1112
1113 * c-lex.c (skip_white_space_on_line): Add prototype.
1114
1115 * alias.c (record_set): Add prototype.
1116 (find_base_term, base_alias_check): Likewise.
1117
1118 * function.c (assign_outer_stack_local): Make static and add prototype.
1119
1120 * haifa-sched.c (build_control_flow): Accept raw data as inputs
1121 instead of computing it locally. Callers changed.
1122 (find_rgns): Several new arguments. Callers changed.
1123 Generally clean up and comment better. Use dominators to
1124 identify reducible loops. Convert some flag arrays to bitmaps.
1125 Convert most of the code to work on pred/succ lists instead of
1126 an edge table. Add comments for future improvements.
1127 (schedule_insns): Allocate temporary tables for flow data, call
1128 routines to compute flow data and pass it along to children as
1129 arguments.
1130 (debug_control_flow): Delete. Use dump_bb_data instead.
1131
1132 * basic-block.h (compute_dominators): Declare.
1133
1134 * flow.c (dump_sbitmap, dump_sbitmap_vector): New debugging
1135 functions.
1136 * basic-block.h: Declare them.
1137
1138 Thu Apr 16 13:45:51 1998 Jim Wilson <wilson@cygnus.com>
1139
1140 * reg-stack.c (constrain_asm_operands): Set n_alternatives to zero if
1141 no operands.
1142
1143 Wed Apr 15 11:33:09 1998 Alexandre Petit-Bianco <apbianco@sendai.cygnus.com>
1144
1145 * tree.c (build_expr_wfl): Use NULL_TREE if the file name is NULL.
1146 Propagate TREE_SIDE_EFFECTS and TREE_TYPE iff the encapsulated
1147 node is non NULL. Cache last file name and file name identifier node.
1148
1149 1998-04-15 Mark Mitchell <mmitchell@usa.net>
1150
1151 * c-common.c (declare_hidden_char_array): Use TYPE_DOMAIN to get
1152 the length of an array, not TREE_TYPE.
1153
1154 Wed Apr 15 15:31:34 1998 Jeffrey A Law (law@cygnus.com)
1155
1156 * flow.c (sbitmap_union_of_successors): New function.
1157 * basic-block.h (sbitmap_union_of_successors): Declare it.
1158
1159 Wed Apr 15 12:38:03 1998 Jim Wilson <wilson@cygnus.com>
1160
1161 * configure.in (gnu_ld): Rename to gnu_ld_flag before main loop.
1162 Set gnu_ld to gnu_ld_flag inside main loop.
1163 (gas): Likewise.
1164
1165 Wed Apr 15 14:50:05 1998 Dave Brolley <brolley@cygnus.com>
1166
1167 * toplev.c (compile_file): Call init_parse using new interface.
1168 (init_lex): Remove declaration.
1169
1170 * c-lex.c (init_parse): Now returns char* containing filename.
1171
1172 Wed Apr 15 12:37:10 1998 Jeffrey A Law (law@cygnus.com)
1173
1174 * pa.h (LEGITIMIZE_RELOAD_ADDRESS): Do nothing if not optimizing.
1175
1176 Wed Apr 15 12:10:18 1998 Michael Meissner <meissner@cygnus.com>
1177
1178 * Makefile.in (gen{config,flags,codes,emit}): Link in host print-rtl.o.
1179 (gen{extract,peep,opinit,output}): Ditto.
1180
1181 * gen{attr,codes,config,emit,output}.c (insn_attr_name): Provide a
1182 global definition so print-rtl.o can be linked in.
1183 * gen{peep,recog}.c (insn_attr_name): Ditto.
1184
1185 Tue Apr 14 07:30:57 1998 K. Richard Pixley <rich@kyoto.noir.com>
1186
1187 * fixincludes: discard empty C++ comments, as found in sys/time.h
1188 on hpux-11.0.
1189
1190 Wed Apr 15 10:47:21 1998 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1191
1192 * config/m68k/m68k.md (adddi3, subdi3): Optimize for constant
1193 operand.
1194
1195 Wed Apr 15 01:21:21 1998 Jeffrey A Law (law@cygnus.com)
1196
1197 * emit-rtl.c (operand_subword): Rework slightly to avoid
1198 bogus warning from previous change.
1199
1200 Tue Apr 14 23:39:13 1998 Richard Henderson <rth@cygnus.com>
1201
1202 * alpha.md: Revert Oct 27 change, as it is superceeded by Kenner's
1203 Nov 8 find_replacement change. Move decls of get_unaligned_address
1204 * alpha.h: ... here.
1205
1206 Tue Apr 14 22:00:39 1998 John Carr <jfc@mit.edu>
1207
1208 * function.c (assign_parms): Initialize unsignedp before passing
1209 its pointer to promote_mode.
1210
1211 * genattrtab.c (check_attr_test): Handle MATCH_INSN like MATCH_OPERAND.
1212 (write_test_expr): Allow MATCH_INSN.
1213
1214 Tue Apr 14 21:57:57 1998 Paul Eggert <eggert@twinsun.com>
1215
1216 * install.texi: Update section on warnings that can be safely ignored.
1217
1218 Tue Apr 14 14:55:16 1998 Jim Wilson <wilson@cygnus.com>
1219
1220 * mips.md (reload_outdi): Change the scratch mode from DImode to
1221 TImode. New variable scratch, used instead of operand[2] in template.
1222 Add code for MIPS16 HILO_REGNUM case where output reg is not M16_REG_P.
1223
1224 Tue Apr 14 16:19:03 1998 Michael Meissner <meissner@cygnus.com>
1225
1226 * expr.c (MOVE_RATIO): Set to 3 if optimizing for space.
1227
1228 Tue Apr 14 11:31:28 1998 Krister Walfridsson <cato@df.lth.se>
1229
1230 * i386/bsd386.h (ASM_OUTPUT_ALIGN): Redefine.
1231
1232 Tue Apr 14 09:02:32 1998 Jeffrey A Law (law@cygnus.com)
1233
1234 * svr4.h (ASM_DECLARE_OBJECT_NAME): Use HOST_WIDE_INT_PRINT_DEC.
1235 (ASM_FINISH_DECLARE_OBJECT): Likewise.
1236
1237 * Idea and part of the patch from HJ.
1238 * Makefile.in: auto-host.h renamed from auto-config.h. All references
1239 changed.
1240 (distclean): Remove auto-build.h too.
1241 * configure.in: Rename host autoconf generated file to auto-host.h.
1242 If host != build, then run autoconf to generate auto-build.h for
1243 the build machine and include it in build_xm_files.
1244 Check for wait.h and sys/wait.h.
1245
1246 * combine.c (simplify_rtx, case TRUNCATE): Respect value of
1247 TRULY_NOOP_TRUNCATION.
1248
1249 Mon Apr 13 11:31:49 1998 Jason Merrill <jason@yorick.cygnus.com>
1250
1251 * tree.h (BINFO_OFFSET_ZEROP): Use integer_zerop.
1252
1253 Sun Apr 12 20:55:32 1998 Catherine Moore <clm@cygnus.com>
1254
1255 * invoke.texi (ld options) Include memset requirements
1256 for options -nodstdlib and -nodefaultlibs.
1257
1258 1998-04-12 Paul Eggert <eggert@twinsun.com>
1259
1260 This change is from an idea suggested by Arthur David Olson.
1261
1262 * c-common.c (decl_attributes, record_function_format,
1263 check_format_info, init_function_format_info):
1264 Add support for strftime format checking.
1265 (enum format_type): New type.
1266 (record_function_format): Now static, and takes value of type
1267 enum format_type instead of int.
1268 (time_char_table): New constant.
1269 (struct function_format_info): format_type member renamed from is_scan.
1270 (check_format_info): Use `warning' rather than sprintf followed by
1271 `warning', to avoid mishandling `%' in warnings.
1272 Change `pedwarn' to `warning', since these warnings do not necessarily
1273 mean the program does not conform to the C Standard, as the code
1274 need not be executed.
1275
1276 * c-tree.h (record_function_format): Remove decl; no longer extern.
1277
1278 * extend.texi: Add documentation for strftime format checking.
1279
1280 Sun Apr 12 20:23:03 1998 Jeffrey A Law (law@cygnus.com)
1281
1282 * mips/ecoffl.h: Do not include mips.h.
1283 * mips/elf.h: Likewise.
1284
1285 * configure.in (mips-*-ecoff): Do not mention mips/mips.h in tm_files.
1286 * mips/ecoff.h: Include "mips/mips.h".
1287
1288 Sat Apr 11 22:42:54 PDT 1998 Jeff Law (law@cygnus.com)
1289
1290 * version.c: Bump for snapshot.
1291
1292 Sat Apr 11 01:24:28 1998 Jeffrey A Law (law@cygnus.com)
1293
1294 * cse.c (count_reg_usage): Correctly handle REG_NONNEG notes.
1295 (delete_trivially_dead_insns): Renamed from delete_dead_from_cse.
1296 * toplev.c (rest_of_compilation): Call delete_trivially_dead_insns instead of delete_dead_from_cse. Also call delete_trivially_dead_insns
1297 between loop optimization passes.
1298 * rtl.h: Updated appropriately.
1299
1300 Fri Apr 10 22:28:32 1998 Jeffrey A Law (law@cygnus.com)
1301
1302 Reinstall this patch from Jason.
1303 * function.c (push_function_context_to): Don't call init_emit.
1304
1305 Fri Apr 10 13:40:20 1998 Nick Clifton <nickc@cygnus.com>
1306
1307 * rtl.c (read_skip_spaces): Prevent infinite loops upon
1308 encountering unterminated comments.
1309
1310 Fri Apr 10 10:43:41 1998 Jeffrey A Law (law@cygnus.com)
1311
1312 * emit-rtl.c (operand_subword): Properly handle CONST_INTs for
1313 64x32 cross builds.
1314
1315 * configure.in: Handle --with-fast-fixincludes.
1316 (fixincludes): If --with-fast-fixincludes, then use a different
1317 fixincludes program by default.
1318 * Makefile.in (fixinc.sh): New rule.
1319
1320 Fri Apr 10 00:36:31 1998 H.J. Lu (hjl@gnu.org)
1321
1322 * i386.md (movqi+1): Handle invalid QI register.
1323 (movsf_push-1): Likewise.
1324
1325 Thu Apr 9 16:53:59 1998 Nick Clifton <nickc@cygnus.com>
1326
1327 * config/m32r/m32r.c: call_address_operand(): Only accept symbolic
1328 addresses.
1329 symbolic_memort_operand(), call32_operand(), int8_operand(),
1330 int16_operand(), uint24_operand(), reg_or_int8_operand(): Removed.
1331 Not used.
1332 uint16_operand(): Made static.
1333
1334 Thu Apr 9 01:43:04 1998 Jeffrey A Law (law@cygnus.com)
1335
1336 * calls.c (expand_call): Fix typo.
1337
1338 Thu Apr 9 00:18:44 1998 Dave Brolley (brolley@cygnus.com)
1339
1340 * c-lex.c (finput): New global.
1341 (init_parse): Always included. Handle !USE_CPPLIB using
1342 code originally in compile_file.
1343 (finish_parse): Update for CPPLIB.
1344 * toplev.c (init_parse, finish_parse): Declare.
1345 (finput): Delete variable. Now in front-ends.
1346 (compile_file): Remove code which is now handled by init_parse
1347 which is unconditionally called. Similarly for finish_parse.
1348
1349 Wed Apr 8 23:13:50 1998 Gavin Koch <gavin@cygnus.com>
1350
1351 * config/mips/r3900.h (ASM_OUTPUT_DEF,SUPPORTS_WEAK,
1352 ASM_WEAKEN_LABEL): Add.
1353
1354 Wed Apr 8 18:21:30 1998 Richard Henderson <rth@cygnus.com>
1355
1356 * alpha/crtbegin.asm, alpha/crtend.asm, alpha/t-crtb: New files.
1357 * configure.in (alpha-*-linux*): Use them.
1358
1359 Fri Apr 3 17:02:13 1998 Alexandre Petit-Bianco <apbianco@cygnus.com>
1360
1361 * tree.def (EXPR_WITH_FILE_LOCATION): New tree node definition.
1362 * tree.h (EXPR_WFL_{NODE,FILENAME,FILENAME_NODE,LINENO,
1363 COLNO,LINECOL,SET_LINECOL,EMIT_LINE_NOTE}): New macros.
1364 (build_expr_wfl): New prototype declaration.
1365 * tree.c (build_expr_wfl): New function, to build
1366 EXPR_WITH_FILE_LOCATION nodes.
1367 (copy_node): Don't zero TREE_CHAIN if copying a
1368 EXPR_WITH_FILE_LOCATION node.
1369 * print-tree.c (print_node): Handle EXPR_WITH_FILE_LOCATION.
1370 * expr.c (expand_expr): Handle EXPR_WITH_FILE_LOCATION.
1371
1372 Wed Apr 8 12:51:19 1998 Jeffrey A Law (law@cygnus.com)
1373
1374 * configure.in (v850): Use t-v850.
1375 (ix86-wrs-vxworks): Recognize 786 just like other x86 configurations.
1376
1377 * protoize.c (creat, read, write): Do not declare.
1378
1379 * jump.c (mark_jump_label): Record REG_LABEL notes for insns which
1380 refer to the CODE_LABEL before a dispatch table.
1381
1382 * invoke.texi: Add ARC options.
1383
1384 * gcc.c (proces_command): Improve error message for -o with
1385 either -c or -S.
1386
1387 * i386/x-cygwin32 (CLIB): Link in advapi32.
1388
1389 * alpha.h (ASM_IDENTIFY_GCC): Define to nothing.
1390 (ASM_IDENTIFY_LANGUAGE): Likewise.
1391
1392 * i386.md (movqi recognizer): Don't perfom byte increment into
1393 a NON_QI_REG_P.
1394
1395 * configure.in (x86-dg-dgux): Run fixinc.dgux.
1396
1397 * i370.h: Fix typo in GEN_INT changes.
1398
1399 * bitmap.c (bitmap_element_allocate): Use "void" for arglist instead
1400 of an empty arglist in prototype.
1401
1402 * Makefile.in: Remove bytecode crud that crept back in after the
1403 gcc2 merge.
1404
1405 1998-04-08 Brendan Kehoe <brendan@cygnus.com>
1406
1407 * c-lex.h (is_class_name): Fix arg type to be tree, not void.
1408 (make_pointer_declarator, reinit_parse_for_function): Fix typo.
1409
1410 Wed Apr 8 06:16:45 1998 Richard Earnshaw (rearnsha@arm.com)
1411
1412 * arm.h (LEGITIMIZE_RELOAD_ADDRESS): Define.
1413
1414 Wed Apr 8 00:44:18 1998 Bernd Schmidt (crux@pool.informatik.rwth-aachen.de>
1415
1416 * c-lex.c (is_class_name): Delete declaration.
1417 (whitespace_cr): Make static and add prototype.
1418 * c-lex.h (make_pointer_declarator, reinit_parse_for_function,
1419 yylex, get_directive_line): Turn declarations into prototypes.
1420 (position_after_whitespace, check_newline, yyerror,, is_class_name,
1421 forget_protocol_qualifiers, remember_protocol_qualifiers): Add
1422 prototypes.
1423 * genattr.c (extend_range, write_upcase, gen_attr, write_units): Add
1424 prototypes.
1425 * gencodes.c (gen_insn): Add prototype.
1426 * genconfig.c (walk_insn, gen_insn, gen_expand, gen_split,
1427 gen_peephole): Add prototypes.
1428 * genflags.c (num_operands, gen_proto, gen_nonproto, gen_insn): Add
1429 prototypes.
1430 * gengenrtl.c (type_from_format, accessor_from_format, special_rtx,
1431 special_format, find_formats, gendecl, genmacro, gendef, genlegend,
1432 genheader, gencode): Add prototypes.
1433 * genopinit.c (gen_insn): Add prototype.
1434 * genoutput.c (output_prologue, output_epilogue, scan_operands,
1435 process_template, validate_insn_alternatives, gen_insn, gen_peephole,
1436 gen_expand, gen_split, n_occurrences): Add prototypes.
1437 * genpeep.c (gen_peephole): Add prototype.
1438 * loop.c (find_and_verify_loops, mark_loop_jump, prescan_loop,
1439 reg_in_basic_block_p, consec_sets_invariant_p, libcall_other_reg,
1440 labels_in_range_p, count_loop_regs_set, note_addr_stored,
1441 loop_reg_used_before_p, scan_loop, replace_call_address,
1442 skip_consec_insns, libcall_benefit, ignore_some_movables,
1443 force_movables, combine_movables, rtx_equal_for_loop_p, move_movables,
1444 strength_reduce, valid_initial_value_p, find_mem_givs, record_biv,
1445 check_final_value, record_giv, update_giv_derive, basic_induction_var,
1446 simplify_giv_expr, general_induction_var, consec_sets_giv,
1447 check_dbra_loop, express_from, combine_givs_p, combine_givs,
1448 product_cheap_p, maybe_eliminate_biv, maybe_eliminate_biv_1,
1449 last_use_this_basic_block, record_initial, update_reg_last_use,
1450 iteration_info, analyze_loop_iterations, insert_bct,
1451 instrument_loop_bct, indirect_jump_in_function_p): Turn declarations
1452 into prototypes.
1453
1454 Tue Apr 7 21:48:52 1998 Jeffrey A Law (law@cygnus.com)
1455
1456 * pa.h (LEGITIMIZE_RELOAD_ADDRESS): Define.
1457
1458 1998-04-07 Ken Raeburn <raeburn@cygnus.com>
1459
1460 * config/mips/mips.c (siginfo): Deleted.
1461 (override_options): Don't install SIGINFO signal handler.
1462
1463 Tue Apr 7 11:58:04 1998 Jim Wilson <wilson@cygnus.com>
1464
1465 * loop.c (check_dbra_loop): When normalize comparison_val, add check
1466 to verify it is non-negative.
1467
1468 Tue Apr 7 02:01:47 1998 Richard Henderson <rth@cygnus.com>
1469
1470 * alpha.c (alpha_expand_block_move): Correctly collect block offsets.
1471 (alpha_expand_block_clear): Likewise.
1472
1473 Mon Apr 6 23:36:01 1998 Richard Henderson <rth@cygnus.com>
1474
1475 * tree.h (sizetype_tab): Fix previous change for K&R.
1476
1477 Mon Apr 6 22:23:29 PDT 1998 Jeff Law (law@cygnus.com)
1478
1479 * version.c: Bump for snapshot.
1480
1481 Mon Apr 6 23:16:10 1998 Richard Earnshaw (rearnsha@arm.com)
1482
1483 * configure.in (sparc-*-solaris2*): Add xm-siglist.h to xm_file.
1484 Add USG and POSIX to xm_defines.
1485
1486 Mon Apr 6 21:49:57 1998 Bob Manson <manson@charmed.cygnus.com>
1487
1488 * gcc.c: Add linker spec.
1489 (link_command_spec): Use %(linker) instead of ld.
1490 (main): If collect2 is requested as the linker, see if it exists;
1491 if not, use ld instead.
1492
1493 * Makefile.in (USE_COLLECT2): It's named collect2 now, not ld.
1494 (ld:) Deleted.
1495 (install-collect2): Install as collect2, not ld.
1496
1497 * configure.in(will_use_collect2): It's named collect2 now.
1498
1499 * collect2: Remove checks to see if we were invoked recursively.
1500 (collect_execute): Use _spawnvp under cygwin32.
1501
1502 Mon Apr 6 17:23:41 1998 Jim Wilson <wilson@cygnus.com>
1503
1504 * haifa-sched.c (build_control_flow): Set unreachable for block whose
1505 only predecessor is itself.
1506
1507 Mon Apr 6 16:08:04 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1508
1509 * c-parse.in: Include system.h, and remove stuff now made redundant.
1510 * cccp.c: Likewise.
1511 * cexp.y: Likewise.
1512 * protoize.c: Likewise. Properly check for cpp stringification.
1513
1514 * Makefile.in (c-parse.o, cccp.o, cexp.o, protoize.o, unprotoize.o):
1515 Depend on system.h.
1516
1517 * objc/Make-lang.in (objc-parse.o): Likewise.
1518
1519 Mon Apr 6 14:59:58 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1520
1521 * gansidecl.h: Check if compiler supports __attribute__. Provide
1522 definitions for ATTRIBUTE_UNUSED and ATTRIBUTE_PRINTF using
1523 __attribute__ when its available. Also provide definitions for
1524 ATTRIBUTE_PRINTF_1, ATTRIBUTE_PRINTF_2 and ATTRIBUTE_PRINTF_3 in
1525 terms of ATTRIBUTE_PRINTF.
1526
1527 * genoutput.c (process_template): Use ATTRIBUTE_UNUSED in place
1528 of __attribute__.
1529
1530 Mon Apr 6 07:17:52 1998 Catherine Moore <clm@cygnus.com>
1531
1532 * combine.c (can_combine_p): Include successor in volatile test.
1533
1534 Mon Apr 6 14:16:33 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
1535
1536 * sh.h (CASE_VECTOR_SHORTEN_MODE): Fix logic when to set
1537 offset_unsigned.
1538
1539 Mon Apr 6 02:03:29 1998 Jeffrey A Law (law@cygnus.com)
1540
1541 * objc/objc-act.c (encode_aggregate_within): Avoid GNU extensions
1542 in prototype and definition.
1543
1544 Mon Apr 6 00:48:56 PDT 1998 Jeff Law (law@cygnus.com)
1545
1546 * version.c: Bump for snapshot.
1547
1548 Mon Apr 6 00:08:50 1998 Richard Henderson <rth@cygnus.com>
1549
1550 * alpha.c (alpha_expand_block_clear): Add missing offset arg to
1551 alpha_expand_unaligned_store_words.
1552
1553 Sun Apr 5 21:31:24 1998 John Wehle (john@feith.com)
1554
1555 * i386.md (movsf_push, movsf_mem): Remove.
1556 (movsf_push): Rename from movsf_push_nomove and move in front of
1557 movsf. Use nonmemory_operand predicate and don't bother checking
1558 TARGET_MOVE.
1559 (movsf_push_memory): New pattern.
1560 (movsf): Don't bother checking for push_operand. If TARGET_MOVE and
1561 both operands refer to memory then force operand[1] into a register.
1562 (movsf_normal): Change to unnamed pattern.
1563 Likewise for movdf, movxf, and friends.
1564
1565 Sun Apr 5 18:45:51 PDT 1998 Jeff Law (law@cygnus.com)
1566
1567 * version.c: Bump for snapshot.
1568
1569 Sun Apr 5 16:31:10 1998 Richard Henderson <rth@cygnus.com>
1570
1571 * configure.in (alpha-dec-osf*): Match osf1.3 correctly.
1572
1573 Sun Apr 5 16:53:37 1998 Don Bowman <don@pixsci.com>
1574
1575 * configure.in (mips-wrs-vxworks): New target.
1576
1577 Sat Apr 4 23:34:32 PST 1998 Jeff Law (law@cygnus.com)
1578
1579 * expmed.c (synth_mult): The value -1, has no zeros, so it can
1580 never have the form ...011.
1581
1582 * version.c: Bump for snapshot.
1583
1584 Sat Apr 4 20:16:46 1998 Richard Henderson <rth@cygnus.com>
1585
1586 * i386.c (asm_output_function_prefix, load_pic_register):
1587 Use ASM_GENERATE_INTERNAL_LABEL properly.
1588 (output_pic_addr_const): Recognize %X to supress any PIC sym suffix.
1589 (print_operand): Ignore it.
1590 (load_pic_register): Use it for the got load call.
1591 * i386.md (prologue_set_got, prologue_get_pc): Likewise.
1592 (prologue_get_pc_and_set_got): Likewise.
1593 * i386.h: Update print_operand docs.
1594
1595 Sat Apr 4 19:08:37 1998 Richard Henderson <rth@cygnus.com>
1596
1597 * i386.md (ffssi, ffshi): Rewrite as define_expands.
1598 (ffssi_1, ffshi_1): New (unspec [] 5) support patterns.
1599 * i386.c (notice_update_cc): Recognize unspec 5.
1600
1601 Sat Apr 4 18:07:16 1998 David Mosberger-Tang (davidm@mostang.com)
1602
1603 * alpha.h (PRINT_OPERAND_PUNCT_VALID_P): Accept '(' for s/sv/svi.
1604 * alpha.c (print_operand): Handle it.
1605 * alpha.md (fix_truncsfdi2): Use it. Add earlyclobber pattern
1606 for ALPHA_TP_INSN.
1607 (fix_truncdfdi2): Likewise.
1608
1609 Sat Apr 4 17:42:05 1998 Richard Henderson <rth@cygnus.com>
1610
1611 * tree.h (sizetype_tab[2], sbitsizetype, ubitsizetype): Merge all
1612 of these into a single struct, with additional [us]sizetype entries.
1613 * stor-layout.c (set_sizetype): Initialize [us]sizetype.
1614 * fold-const.c (size_int_wide): Don't rely on sizetype_tab being
1615 an array.
1616
1617 Sat Apr 4 17:04:41 1998 Richard Henderson <rth@cygnus.com>
1618
1619 * configure.in (alpha-*-linux-*): Undo tm_file changes from gcc2 merge.
1620
1621 Sat Apr 4 13:50:01 1998 Richard Henderson <rth@cygnus.com>
1622
1623 * haifa-sched.c (split_block_insns): Don't supress insn splitting
1624 on subsequent passes.
1625
1626 * alpha.c (hard_fp_register_operand): New function.
1627 * alpha.h (PREDICATE_CODES): Add it.
1628 * alpha.md (extendsidi2): Kill bogus f<-f cvtql+cvtlq case. Add an
1629 f<-m case and accompanying define_split.
1630 (trapb): Use a unique unspec_volatile number.
1631
1632 Sat Apr 4 13:32:08 1998 Richard Henderson <rth@cygnus.com>
1633
1634 * configure.in (alpha-*-linux-gnu*): Undo Feb 3 change brought in
1635 from gcc2 merge.
1636
1637 Sat Apr 4 10:23:41 1998 Jeffrey A Law (law@cygnus.com)
1638
1639 * Check in merge from gcc2. See ChangeLog.11 and ChangeLog.12
1640 for details.
1641
1642 * haifa-sched.c: Mirror recent changes from gcc2.
1643
1644 Fri Apr 3 00:17:01 1998 Jeffrey A Law (law@cygnus.com)
1645
1646 * Makefile.in (insn*.o): Depend on system.h.
1647
1648 * pa.c (output_global_address): Initialize base.
1649 * pa.h (GO_IF_LEGITIMATE_ADDRESS): Initialize index.
1650
1651 1998-04-03 Mike Stump <mrs@wrs.com>
1652
1653 * gthr.h: Support systems that don't have weak, but have threads.
1654 * configure.in (*wrs-vxworks*): Use VxWorks threads by default.
1655 * gthr-vxworks.h: New file.
1656 * objc/thr-vxworks.h: Dummy file from thr-single.c for now.
1657
1658 Thu Apr 2 18:00:52 1998 Jim Wilson <wilson@cygnus.com>
1659
1660 * i386.md (movqi+1): Change alternative 1 from *r/r to *r/*rn.
1661
1662 1998-04-02 Vladimir N. Makarov <vmakarov@cygnus.com>
1663
1664 * ginclude/va-i960.h (va_end): Change void * to void.
1665
1666 Thu Apr 2 13:51:10 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1667
1668 * Makefile.in (choose-temp.o): Depend on system.h.
1669
1670 * choose-temp.c: Include system.h when IN_GCC.
1671
1672 Thu Apr 2 02:37:07 1998 Joern Rennecke (amylaar@cygnus.co.uk)
1673 Richard Henderson <rth@cygnus.com>
1674
1675 * reload.c (find_reloads_address): Try LEGITIMIZE_RELOAD_ADDRESS.
1676 (move_replacements): New function.
1677 * reload.h: Prototype it.
1678
1679 * alpha.h (LEGITIMIZE_RELOAD_ADDRESS): New definition.
1680
1681 Thu Apr 2 01:01:34 1998 Richard Henderson <rth@cygnus.com>
1682
1683 * configure (alpha-*-linuxecoff, alpha-*-linux-gnulibc1):
1684 Run fixincludes.
1685
1686 * emit-rtl.c (gen_lowpart_common): Skip count by HARD_REGNO_NREGS.
1687 (gen_highpart): Likewise.
1688 * final.c (alter_subreg): Allow the target to hook by-mode subreg
1689 hard register number changes.
1690
1691 Wed Apr 1 22:26:22 1998 Jeffrey A Law (law@cygnus.com)
1692
1693 * fold-const.c optimze_bit_field_compare): Initialize rnbitpos,
1694 rnbitsize, rnmode and rinner.
1695 (make_range): Initialize type.
1696 (fold): Initialize arg0, arg1 and varop.
1697
1698 * function.c (instantiate_virtual_regs_1): Initialize offset, regnoi
1699 and regnor.
1700 (expand_function_start): Initialize last_ptr.
1701
1702 * stor-layout.c (layout_record): Initialize desired_align.
1703 (get_best_mode): Initialize unit.
1704
1705 * tree.c (copy_node): Initialize length.
1706
1707 * c-lex.c (yylex): Initialize traditional_type, ansi_type and type.
1708
1709 * caller-save.c (insert_save_restore): Initialize pat, code and
1710 numregs.
1711
1712 * emit-rtl.c (push_to_sequence): Initialize top.
1713 (push_topmost_sequence): Likewise.
1714
1715 * genattrtab.c (simplify_by_exploding): Initialize defval.
1716
1717 * profile.c (branch_prob): Initialize dest.
1718
1719 * rtl.h (note_stores): Remove duplicate prototype.
1720 (GEN_INT): Re-instate cast of second arg to HOST_WIDE_INT.
1721
1722 * cplus-dem.c (gnu_special): Don't get confused by .<digits>
1723 strings that are not actually lengths.
1724
1725 * genattrtab.c: Make generated file use system.h, instead of
1726 including stdio.h, etc directly.
1727 * genextract.c, genopinit.c, genoutput.c: Likewise.
1728 * genpeep.c, genrecog.c: Likewise
1729
1730 * genoutput.c (process_template): Mark operands in the generated
1731 function as potentially unused if compiling with GNU CC.
1732
1733 * i386/freebsd-elf.h (CPP_PREDEFINES): Update from FreeBSD folks.
1734
1735 * pa.md (reload peepholes): Remove unused variable "mode".
1736
1737 Wed Apr 1 17:06:19 1998 Nick Clifton <nickc@cygnus.com>
1738
1739 * config/arm/thumb.h: Add super interworking support.
1740 * config/arm/thumb.c: Add super interworking support.
1741 * config/arm/thumb.md: Add super interworking support.
1742 * config/arm/lib1funcs.asm: Add interworking support.
1743 * config/arm/lib1thumb.asm: Add super interworking support.
1744 * config/arm/t-semi: Add interworking support.
1745 * config/arm/t-thumb: Add interworking support.
1746 * config/arm/README-interworking: New file.
1747
1748 Wed Apr 1 14:38:10 1998 Jim Wilson <wilson@cygnus.com>
1749
1750 * config/mips/iris6.h (MD_EXEC_PREFIX): Set to /usr/bin/.
1751 (MD_STARTFILE_PREFIX): Unset.
1752
1753 1998-04-01 Mark Mitchell <mmitchell@usa.net>
1754
1755 * varasm.c (make_decl_rtl): Update the DECL_ASSEMBLER_NAME for a
1756 entity in a local scope.
1757
1758 * fold-const.c (fold): Call truthvalue_conversion for values which
1759 are folded to boolean type.
1760
1761 Wed Apr 1 06:09:53 1998 Jeffrey A Law (law@cygnus.com)
1762
1763 * 1750a.md, arm.c, clipper.c, clipper.md: Use GEN_INT consistently.
1764 * convex.h, dsp16xx.c, fx80.md, gmicro.c, gmicro.md: Likewise.
1765 * i370.h, i370.md, i860.c, i860.h, i860.md, i960.c: Likewise.
1766 * i960.h, i960.md, m32r.md, m68k.md, m68kv4.h, m88k.c: Likewise.
1767 * m88k.md, ns32k.c, ns32k.md, pdp11.c, pdp11.h, pdp11.md: Likewise.
1768 * pyr.c, pyr.h, pyr.md, romp.c, romp.h, romp.md: Likewise.
1769 * rs6000.md, sparc.c, sparc.h, sparc.md, spur.c, spur.md: Likewise.
1770 * tahoe.md, vax.h, vax.md, we32k.c, we32k.h, we32k.md: Likewise.
1771 * md.texi: Likewise.
1772
1773 Wed Apr 1 08:33:44 1998 Manfred Hollstein <manfred@s-direktnet.de>
1774
1775 * fixincludes (limits.h): Fix nested comments in Motorola's
1776 limits.h and sys/limits.h.
1777
1778 Tue Mar 31 16:57:33 1998 Jim Wilson <wilson@cygnus.com>
1779
1780 * alpha.c (alpha_expand_unaligned_load): Use tgt instead of addr
1781 as dest of expand_binop call.
1782
1783 * alpha.md (extzv): Correct check for valid operand[2] values.
1784
1785 * profile.c (branch_prob): Add code to recognize HPPA tablejump entry
1786 branch.
1787
1788 * toplev.c (rest_of__compilation): Call init_recog_no_volatile at end.
1789
1790 Mon Mar 30 13:11:05 1998 Stan Cox <scox@cygnus.com>
1791
1792 * libgcc2.c: (__main, __do_global_dtors, __do_global_ctors):
1793 For __CYGWIN32__ use the versions in winsup/dcrt0.cc.
1794
1795 * gcc.c, cccp.c, cpplib.c, collect2.c (GET_ENVIRONMENT): Added.
1796 cygwin32 can override this to allow both unix and win32 style PATHs.
1797
1798 * i386/xm-cygwin32.h (GET_ENVIRONMENT): Defined to allow win32
1799 style environment paths.
1800
1801 Mon Mar 30 14:43:20 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1802
1803 * Makefile.in (cppalloc.o, cpperror.o, cppexp.o, cpphash.o,
1804 cpplib.o, cppmain.o, fix-header.o, gcov.o, gen-protos.o,
1805 gengenrtl.o, halfpic.o, hash.o, scan-decls.o, scan.o): Depend on
1806 system.h.
1807
1808 * cpphash.c: Include config.h.
1809 * cppalloc.c: Include system.h. Add parameters to various
1810 function prototypes.
1811 * cpperror.c: Likewise.
1812 * cppexp.c: Likewise.
1813 * cpphash.c: Likewise.
1814 * cpplib.c: Likewise.
1815 * cppmain.c: Likewise.
1816 * fix-header.c: Likewise.
1817 * gcov.c: Likewise.
1818 * gen-protos.c: Likewise.
1819 * gengenrtl.c: Likewise.
1820 * halfpic.c: Likewise.
1821 * hash.c: Likewise.
1822 * scan-decls.c: Likewise.
1823 * scan.c: Likewise.
1824
1825 Mon Mar 30 11:06:45 1998 Jim Wilson <wilson@cygnus.com>
1826
1827 * README.gnat: Add lang_print_xnode definition.
1828
1829 Mon Mar 30 11:12:24 1998 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1830
1831 * config/m68k/m68k.c (standard_68881_constant_p): Don't use
1832 fmovecr on the 68060.
1833
1834 Mon Mar 30 00:21:03 1998 Jeffrey A Law (law@cygnus.com)
1835
1836 * genemit.c (DONE): Rework so that it works in the true arm if
1837 an if-else conditional.
1838 (FAIL): Likewise.
1839
1840 Sun Mar 29 12:45:23 1998 Jeffrey A Law (law@cygnus.com)
1841
1842 * rs6000.c: Do not include stdioh or ctype.h anymore.
1843
1844 * Makefile.in (c-typeck.o): Delete on expr.h, insn-codes.h and
1845 $(RTL_H).
1846 (stor-layout.o): Likewise.
1847 * c-typeck.c: Include rtl.h and expr.h.
1848 * stor-layout.c: Likewise.
1849
1850 * cpplib.c (cpp_file_line_for_message): Delete unused parameter.
1851 All callers changed.
1852 (do_sccs): Wrap in an SCCS_DIRECTIVE ifdef.
1853 * fix-header.c (cpp_file_line_for_message): Delete unused paramter.
1854 All callers changed.
1855
1856 * collect2.c (is_in_list): Wrap inside COLLECT_EXPORT_LIST ifdef.
1857
1858 * local-alloc.c (reg_classes_overlap_p): Delete dead function.
1859
1860 * tree.h (lang_print_xnode): Provide prototype.
1861
1862 Sat Mar 28 23:50:44 PST 1998 Jeff Law (law@cygnus.com)
1863
1864 * version.c: Bump for snapshot.
1865
1866 Sun Mar 29 00:42:21 1998 Jeffrey A Law (law@cygnus.com)
1867
1868 * objc/sendmsg.c (__objc_block_forward): Add braces for return
1869 value if INVISIBLE_STRUCT_RETURN.
1870
1871 * pa.c (arith_double_operand): Fix parens.
1872
1873 * haifa-sched.c (print_pattern): Correct arg to sprintf.
1874
1875 * Makefile.in (libgcc1.null): Make return type for __foo void.
1876
1877 Sat Mar 28 14:37:20 1998 Jeffrey A Law (law@cygnus.com)
1878
1879 * pa.h: Add declarations for many functions defined in pa.c.
1880
1881 * genpeep.c (main): Remove unused variable 'i' from the generated
1882 file.
1883
1884 * genemit.c (gen_expand): Do not emit "_done" or "_fail" labels.
1885 (gen_split): Likewise.
1886 (main): Rework generated definitions of DONE and FAIL so that they
1887 no longer use gotos. Avoids warnings about unused labels.
1888
1889 * integrate.c (copy_rtx_and_substitute): Rework to avoid need for
1890 unused "junk" variable.
1891
1892 * genattrtab.c (write_complex_function): Add a default case in
1893 generated switch statement to keep -W -Wall quiet.
1894
1895 Sat Mar 28 10:47:21 1998 Nick Clifton <nickc@cygnus.com>
1896
1897 * invoke.texi: Document more ARM and Thumb command line options.
1898
1899 * config/arm/xm-thumb.h: New file.
1900
1901 Sat Mar 28 01:37:33 1998 Craig Burley <burley@gnu.ai.mit.edu>
1902
1903 * stmt.c (expand_expr_stmt): Must generate code for
1904 statements within an expression (gcc's `({ ... )}')
1905 even if -fsyntax-only.
1906
1907 Sat Mar 28 01:06:12 1998 Bernd Schmidt <crux@pool.informatik.rwth-aachen.de>
1908 Jeffrey A Law (law@cygnus.com)
1909
1910 * basic-block.h (basic_block_computed_jump_target): Declare.
1911 * flags.h: (current_function_has_computed_jump): Declare.
1912 * flow.c: (basic_block_computed_jump_target): Define.
1913 (flow_analysis): Allocate it. Set current_function_has_computed_jump
1914 to 0.
1915 (find_basic_blocks): Set current_function_has_computed_jump and
1916 elements of basic_block_computed_jump_target to 1 as appropriate.
1917 * function.c: (current_function_has_computed_jump): Define.
1918 * global.c (global_conflicts): Don't allocate pseudos into stack regs
1919 at the start of a block that is reachable by a computed jump.
1920 * reg-stack.c (stack_reg_life_analysis): If must restart, do so
1921 immediately.
1922 (subst_stack_regs): Undo change from Sep 4 1997.
1923 (uses_reg_or_mem): Now unused, deleted.
1924 * stupid.c (stupid_life_analysis): Compute
1925 current_function_has_computed_jump.
1926 (stupid_find_reg): Don't allocate stack regs if the function has a
1927 computed goto.
1928 * haifa-sched.c (is_cfg_nonregular): Delete code to determine if
1929 the current function has a computed jump. Use the global value
1930 instead.
1931
1932 Sat Mar 28 00:21:37 1998 Jeffrey A Law (law@cygnus.com)
1933
1934 * i386/freebsd.h (CPP_PREDEFINES): Remove __386BSD__.
1935 (DWARF2_UNWIND_INFO): Define to zero.
1936
1937 Fri Mar 27 16:04:49 1998 Michael Meissner <meissner@cygnus.com>
1938
1939 * gcc.c (set_std_prefix): Add declaration.
1940 (process_command): If GCC_EXEC_PREFIX is set, remove /lib/gcc-lib/
1941 suffix, and update the standard prefix prefix.c uses.
1942
1943 * prefix.c (std_prefix): New global to hold default prefix value.
1944 (get_key_value): Change to use std_prefix instead of PREFIX.
1945 (translate_name): Ditto.
1946 (update_path): Ditto.
1947 (get_key_value): Release allocated scratch storage.
1948 (set_std_prefix): New function to reset the standard prefix.
1949
1950 Fri Mar 27 18:08:21 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
1951
1952 * sh.c (find_barrier): Fix calculations for alignment increase.
1953
1954 Fri Mar 27 08:56:52 1998 Manfred Hollstein <manfred@s-direktnet.de>
1955
1956 * Makefile.in (stmp-fixinc): If we're actually fixing include
1957 files, copy gcc's assert.h into the fixed include dir.
1958 * fixincludes (assert.h): Avoid any attempts to fix a probably
1959 broken system specific assert.h file.
1960 * fixproto (stdlib.h): Make sure, it'll contain a definition of
1961 size_t.
1962
1963 Fri Mar 27 00:49:46 1998 Jeffrey A Law (law@cygnus.com)
1964
1965 * regclass.c (reg_scan_mark_refs): Be more selective about
1966 when we mark a register with REGNO_POINTER_FLAG.
1967
1968 Thu Mar 26 23:00:11 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
1969
1970 reload inheritance improvement:
1971 * reload1.c (reg_reloaded_contents, reg_reloaded_insn):
1972 Change meaning: index is now hard reg number.
1973 (reg_reloaded_valid, reg_reloaded_dead): New variables.
1974 (reload_spill_index): Content is now a hard reg number.
1975 (reload_as_needed): Change to fit new variable meaning.
1976 (forget_old_reloads_1, allocate_reload_reg): Likewise.
1977 (choose_reload_regs, emit_reload_insns): Likewise.
1978
1979 Thu Mar 26 18:34:13 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
1980
1981 * regclass.c (record_reg_classes): '?' increases cost by two.
1982
1983 * reload.c (find_reloads): Double previous costs. Output
1984 reloads cost one unit extra.
1985
1986 * reload1.c (eliminate_regs): Delete LOAD_EXTENDED_OP code that
1987 boiled down to && ! 0.
1988
1989 * reload.c (find_equiv_reg): Also consider a goal offset from the
1990 frame pointer to be constant.
1991
1992 Thu Mar 26 17:34:46 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
1993
1994 * sh.h (OPTIMIZATION_OPTIONS): Define.
1995
1996 Thu Mar 26 00:19:47 1998 Richard Henderson <rth@cygnus.com>
1997
1998 * combine.c (make_compound_operation): Simplify (subreg (*_extend) 0).
1999
2000 Wed Mar 25 23:53:11 1998 Jeffrey A Law (law@cygnus.com)
2001
2002 * pa.c (pa_adjust_cost): Avoid redundant calls to get_attr_type.
2003
2004 Wed Mar 25 13:40:48 1998 Jim Wilson <wilson@cygnus.com>
2005
2006 * c-common.c (check_format_info): Initialize type, is_type. New local
2007 integral_format. Don't warn for 'L' when pedantic. Do warn for 'L'
2008 when pedantic if used with integral format specifier.
2009
2010 Wed Mar 25 16:09:01 1998 Michael Meissner <meissner@cygnus.com>
2011
2012 * rs6000.h (FUNCTION_ARG_PADDING): Cast result to be enum
2013 direction.
2014 (function_arg_padding): Declare.
2015
2016 * rs6000.c: Include system.h.
2017 (function_arg_padding): Change return type to int, cast enum's to
2018 int.
2019
2020 (From Kaveh R. Ghazi <ghazi@caip.rutgers.edu>)
2021 * collect2.c (scan_prog_file): Add explicit braces to avoid
2022 ambiguous `else'.
2023
2024 * dbxout.c (dbxout_type_fields): Add braces around empty body in
2025 an if-statement.
2026 (dbxout_type): Likewise.
2027
2028 * rs6000.c (rs6000_override_options): Change type of `i', `j' and
2029 `ptt_size' from int to size_t.
2030 (rs6000_file_start): Likewise for `i'.
2031 (rs6000_replace_regno): Add default case in enumeration switch.
2032 (output_epilog): Remove unused variable `i'.
2033 (rs6000_longcall_ref): Remove unused variables `len', `p', `reg1'
2034 and `reg2'.
2035
2036 * rs6000.h (ADDITIONAL_REGISTER_NAMES): Add missing braces around
2037 initializer.
2038 (get_issue_rate, non_logical_cint_operand): Add prototype.
2039 (rs6000_output_load_toc_table): Ditto.
2040
2041 * rs6000.md (udivmodsi4): Add explicit braces to avoid ambiguous
2042 `else'.
2043
2044 Wed Mar 25 10:05:19 1998 Nick Clifton <nickc@cygnus.com>
2045
2046 * config/arm/thumb.c: New File. Support for ARM's Thumb
2047 instruction set.
2048 * config/arm/thumb.h: New File. Thumb definitions.
2049 * config/arm/thumb.md: New File. Thumb machine description.
2050 * config/arm/tcoff.h: New File. Thumb COFF support.
2051 * config/arm/t-thumb: New File. Thumb makefile fragment.
2052 * config/arm/lib1thumb.asm: New File. Thumb libgcc support functions.
2053
2054 * configure.in: Add Thumb-coff target.
2055 * configure: Add Thumb-coff target.
2056 * config.sub: Add Thumb-coff target.
2057
2058 Wed Mar 25 10:30:32 1998 Jim Wilson <wilson@cygnus.com>
2059
2060 * loop.c (scan_loop): Initialize move_insn_first to zero.
2061
2062 Wed Mar 25 01:06:49 1998 Joel Sherrill (joel@OARcorp.com)
2063
2064 * config/i386/go32-rtems.h: Defined TARGET_MEM_FUNCTIONS.
2065 * config/i386/rtems.h: Likewise.
2066 * config/i960/rtems.h: Likewise.
2067 * config/m68k/rtems.h: Likewise.
2068 * config/mips/rtems64.h: Likewise.
2069 * config/pa/rtems.h: Likewise.
2070 * config/rs6000/rtems.h: Likewise.
2071 * config/sh/rtems.h: Likewise.
2072 * config/sparc/rtems.h: Likewise.
2073
2074 Wed Mar 25 00:57:26 1998 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
2075
2076 * pa.c (emit_move_sequence): If in reload, call find_replacement.
2077
2078 Tue Mar 24 10:44:11 1998 Nick Clifton <nickc@cygnus.com>
2079
2080 * Makefile.in (gcov$(exeext)): Support .exe extension to gcov.
2081
2082 * collect2.c (find_a_file): Add debugging.
2083 (find_a_file): Test for win32 style absolute paths if
2084 DIR_SERPARATOR is defined.
2085 (prefix_from_string): Add debugging.
2086 (main): Test for debug command line switch at start of program
2087 execution.
2088 (main): Use GET_ENVIRONMENT rather than getenv().
2089 (prefix_from_env): Use GET_ENVIRONMENT.
2090
2091 1998-03-24 Mark Mitchell <mmitchell@usa.net>
2092
2093 * cplus-dem.c (optable): Add sizeof.
2094 (demangle_template_value_parm): New function containing code
2095 previously found in demangle_template.
2096 (demangle_integral_value): New function which handles complicated
2097 integral expressions.
2098 (demangle_template): Use them.
2099
2100 Tue Mar 24 12:13:18 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2101
2102 * Makefile.in (genconfig.o, genflags.o, gencodes.o, genemit.o,
2103 genopinit.o, genrecog.o, genextract.o, genpeep.o, genattr.o,
2104 genattrtab.o, genoutput.o): Depend on system.h.
2105
2106 * genattr.c: Include system.h. Add arguments to various function
2107 prototypes. Remove redundant prototype of read_rtx().
2108 * genattrtab.c: Likewise.
2109 * gencodes.c: Likewise.
2110 * genconfig.c: Likewise.
2111 * genemit.c: Likewise.
2112 * genextract.c: Likewise.
2113 * genflags.c: Likewise.
2114 * genopinit.c: Likewise.
2115 * genoutput.c: Likewise.
2116 * genpeep.c: Likewise.
2117 * genrecog.c: Likewise.
2118
2119 1998-03-24 Martin von Loewis <loewis@informatik.hu-berlin.de>
2120
2121 * c-lang.c (lang_print_xnode): New function.
2122 * objc/objc-act.c (lang_print_xnode): Likewise.
2123 * print-tree.c (print_node): Call it
2124
2125 Mon Mar 23 23:59:11 1998 H.J. Lu (hjl@gnu.org)
2126
2127 * c-parse.in: Recognize protocol qualifiers in class
2128 definitions for objc.
2129 Include "output.h".
2130 (yyerror): Remove redundant decl.
2131 (yyprint): Fix prototype.
2132
2133 Mon Mar 23 23:49:47 1998 Jeffrey A Law (law@cygnus.com)
2134
2135 * cse.c (rtx_cost): Only call CONST_COSTS if it is defined.
2136
2137 * stmt.c (unroll_block_trees): Free block_vector if needed.
2138
2139 Mon Mar 23 23:26:42 1998 Philippe De Muyter <phdm@macqel.be>
2140
2141 * m68k/m68k.md (zero_extendqidi2, zero_extendhidi2): New patterns.
2142 (zero_extendsidi2): Avoid useless copy.
2143 (iordi_zext): New pattern.
2144 (iorsi_zexthi_ashl16): Pattern reworked to avoid "0" constraint for
2145 operand 2.
2146 (iorsi_zext): New name for old unnamed pattern; indentation fixes.
2147
2148 * m68k/m68k.md (ashldi_const): Allow shift count in range ]32,63].
2149 (ashldi3): Allow constant shift count in range ]32,63].
2150 (ashrdi_const, ashrid3, lshrdi_const, lshrdi3): Likewise.
2151
2152 1998-03-22 Mark Mitchell <mmitchell@usa.net>
2153
2154 * tree.h (IS_EXPR_CODE_CLASS): New macro.
2155
2156 Mon Mar 23 23:18:48 1998 Jeffrey A Law (law@cygnus.com)
2157
2158 * h8300.h (CONST_COSTS): Remove definition.
2159 (DEFAULT_RTX_COSTS): Define.
2160
2161 Mon Mar 23 22:58:22 1998 Joel Sherrill (joel@OARcorp.com)
2162
2163 * config/sh/rtems.h: Switched from ELF to COFF.
2164
2165 Mon Mar 23 14:14:20 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
2166
2167 * freebsd.h (ASM_OUTPUT_ALIGN): Redefine.
2168
2169 Sat Mar 21 23:52:56 PST 1998 Jeff Law (law@cygnus.com)
2170
2171 * version.c: Bump for snapshot.
2172
2173 Sun Mar 22 00:50:42 1998 Nick Clifton <nickc@cygnus.com>
2174 Geoff Noer <noer@cygnus.com>
2175
2176 * Makefile.in: Various fixes for building cygwin32 native toolchains.
2177
2178 * objc/Makefile.in: Various fixes for building cygwin32 native toolchains.
2179 * objc/Make-lang.in: Likewise.
2180
2181 * config/i386/xm-cygwin32.h (PATH_SEPARATOR): Set to a semi-colon.
2182
2183 Sun Mar 22 00:21:46 1998 R. Ganesan <rganesan@novell.com>
2184
2185 * configure.in: Handle with-PACKAGE=no correctly
2186
2187 Fri Mar 20 17:36:23 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2188
2189 * Makefile.in (alias.o, bitmap.o, c-aux-info.o, c-common.o,
2190 c-decl.o, c-iterate.o, c-lang.o, c-lex.o, c-pragma.o, c-typeck.o,
2191 caller-save.o, calls.o, collect2.o, combine.o, cse.o, dbxout.o,
2192 dwarf2out.o, dwarfout.o, emit-rtl.o, except.o, explow.o, expmed.o,
2193 expr.o, final.o, flow.o, function.o, getpwd.o, global.o,
2194 integrate.o, jump.o, local-alloc.o, loop.o, optabs.o, pexecute.o,
2195 prefix.o, print-rtl.o, print-tree.o, profile.o, real.o, recog.o,
2196 reg-stack.o, regclass.o, regmove.o, reload.o, reload1.o, reorg.o,
2197 rtl.o, rtlanal.o, sdbout.o, stmt.o, stor-layout.o, stupid.o,
2198 tlink.o, toplev.o, tree.o, unroll.o, varasm.o, xcoffout.o): Depend
2199 on system.h.
2200
2201 * alias.c, bitmap.c, c-aux-info.c, c-common.c, c-decl.c,
2202 c-iterate.c, c-lang.c, c-lex.c, c-pragma.c, c-typeck.c,
2203 caller-save.c, calls.c, collect2.c, combine.c, cse.c, dbxout.c,
2204 dwarf2out.c, dwarfout.c, emit-rtl.c, except.c, explow.c, expmed.c,
2205 expr.c, final.c, flow.c, function.c, gcc.c, getpwd.c, global.c,
2206 integrate.c, jump.c, local-alloc.c, loop.c, optabs.c, pexecute.c,
2207 prefix.c, print-rtl.c, print-tree.c, profile.c, real.c, recog.c,
2208 reg-stack.c, regclass.c, regmove.c, reload.c, reload1.c, reorg.c,
2209 rtl.c, rtlanal.c, sched.c, sdbout.c, stmt.c, stor-layout.c,
2210 stupid.c, tlink.c, toplev.c, tree.c, unroll.c, varasm.c,
2211 xcoffout.c: Include system.h. Organize include ordering so
2212 that stdarg/varargs comes before other system headers. Remove
2213 spurious casts of functions assured of a prototype in system.h.
2214
2215 Fri Mar 20 11:19:40 1998 Stan Cox <scox@equinox.cygnus.com>
2216
2217 * reg-stack.c (pop_stack): Define. Pops any register on the
2218 regstack and adjusts regstack.
2219 (compare_for_stack_reg): Use pop_stack.
2220
2221 Thu Mar 19 23:51:01 1998 Jeffrey A Law (law@cygnus.com)
2222
2223 * configure.in (hppa1.0-hp-hpux10): Handle threads for this
2224 config too.
2225
2226 Thu Mar 19 20:30:31 1998 Philippe De Muyter <phdm@macqel.be>
2227
2228 * libgcc2.c (exit): Do not call __bb_exit_func if HAVE_ATEXIT.
2229
2230 * fold-const.c (fold): Replace sign-extension of a zero extended
2231 value by a single zero extension.
2232
2233 Thu Mar 19 00:58:07 1998 Jason Merrill <jason@yorick.cygnus.com>
2234
2235 * except.c (init_eh): Do nothing.
2236 (save_eh_status): Call init_eh_for_function, not init_eh.
2237 * function.c (push_function_context_to): Don't call init_emit.
2238
2239 Thu Mar 19 13:39:52 1998 Michael Meissner <meissner@cygnus.com>
2240
2241 * rs6000/sysv4.h (RELATIVE_PREFIX_NOT_LINKDIR): Undef for System V
2242 and EABI.
2243
2244 Thu Mar 19 10:10:36 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2245
2246 * final.c (shorten_branches): Add parentheses around +/- in
2247 operand of &.
2248
2249 * flow.c (life_analysis): Wrap variable `i' in macro ELIMINABLE_REGS.
2250
2251 Thu Mar 19 09:15:17 1998 Manfred Hollstein <manfred@s-direktnet.de>
2252
2253 * regclass.c (memory_move_secondary_cost): Wrap uses of
2254 SECONDARY_INPUT_RELOAD_CLASS and SECONDARY_OUTPUT_RELOAD_CLASS
2255 with #ifdef tests.
2256
2257 Thu Mar 19 09:06:35 1998 Manfred Hollstein <manfred@s-direktnet.de>
2258
2259 * config/m68k/m68k.md (addqi3): Fix typo gen_INT vs. GEN_INT.
2260
2261 * flow.c (life_analysis): #include <sys/types.h> to make sure
2262 size_t is defined.
2263 * cplus-dem.c (demangle_function_name): Likewise.
2264
2265 Thu Mar 19 09:00:01 1998 Manfred Hollstein <manfred@s-direktnet.de>
2266
2267 * final.c (insn_noperands): Change type to unsigned int.
2268 (final_scan_insn): Likewise for noperands;
2269 properly check operand number boundaries.
2270
2271 Wed Mar 18 16:20:30 1998 Richard Henderson <rth@cygnus.com>
2272
2273 * alpha.md (extzv): Don't reject register operands. Fix
2274 mode of operand 1.
2275
2276 Wed Mar 18 16:14:23 1998 Richard Henderson <rth@cygnus.com>
2277
2278 * dbxout.c (dbxout_function_end): Fix last change. The correct
2279 predicate is ASM_OUTPUT_SECTION_NAME.
2280
2281 Wed Mar 18 12:43:20 1998 Jim Wilson <wilson@cygnus.com>
2282
2283 * sh.md (ashlsi_c-1): Delete 3rd argument to gen_ashlsi_c.
2284 (ashlsi): Use match_dup 1 instead of match_operand 2.
2285
2286 Wed Mar 18 13:46:07 1998 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
2287
2288 * fold-const.c (operand_equal_for_comparison_p): See if equal
2289 when nop conversions are removed.
2290
2291 Wed Mar 18 13:42:01 1998 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
2292
2293 * expr.c (expand_expr, case COND_EXPR): If have conditional move,
2294 don't use ORIGINAL_TARGET unless REG.
2295
2296 Wed Mar 18 16:53:19 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
2297
2298 * netbsd.h (ASM_OUTPUT_ALIGN): Redefine.
2299
2300 Wed Mar 18 12:43:20 1998 Jim Wilson <wilson@cygnus.com>
2301
2302 * loop.c (struct movable): New field move_insn_first.
2303 (scan_loop): In consec sets code, set it. Clear it otherwise.
2304 (move_movables): In consec sets code, use it. Copy REG_NOTES from
2305 p to i1 only if i1 does not have REG_NOTES. Delete obsolete ifdefed
2306 out code.
2307
2308 Wed Mar 18 09:52:56 1998 Richard Henderson <rth@cygnus.com>
2309
2310 * rtl.c (read_rtx): Fall back on homebrew atoll if HOST_WIDE_INT
2311 is large, and the system doesn't provide atoll or atoq.
2312 (atoll): New.
2313
2314 * alpha/xm-vms.h (HAVE_ATOLL): Define.
2315 Reported by Klaus Kaempf <kkaempf@progis.de>.
2316
2317 Wed Mar 18 09:56:26 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2318
2319 * c-lang.c (finish_file): Wrap variable `void_list_node' with macro
2320 test !ASM_OUTPUT_CONSTRUCTOR || !ASM_OUTPUT_DESTRUCTOR.
2321
2322 * calls.c (emit_call_1): Wrap variable `already_popped' with macro
2323 test !ACCUMULATE_OUTGOING_ARGS.
2324
2325 * collect2.c (write_c_file_glob): Wrap function definition in
2326 macro test !LD_INIT_SWITCH.
2327
2328 * combine.c (try_combine): Wrap variables `cc_use' and
2329 `compare_mode' in macro test EXTRA_CC_MODES.
2330
2331 * cpplib.c (do_ident): Remove unused variable `len'.
2332 (skip_if_group): Remove unused variables `at_beg_of_line' and
2333 `after_ident'.
2334 (cpp_get_token): Remove unused variable `dummy'.
2335
2336 * dbxout.c (scope_labelno): Move static variable definition inside
2337 the one function scope where it is used.
2338 (dbxout_function_end): Wrap prototype and definition in
2339 macro test !NO_DBX_FUNCTION_END.
2340
2341 * dwarf2out.c (add_subscript_info): Wrap variable `dimension_number'
2342 in macro test !MIPS_DEBUGGING_INFO.
2343
2344 * expr.c (expand_builtin_setjmp): Move declaration of variable `i'
2345 into the scope where it is used. Wrap empty else-statement body
2346 in braces.
2347
2348 * fix-header.c: Fix typo in comment.
2349 (inf_skip_spaces): Cast results of INF_UNGET to (void).
2350 (check_protection, main): Likewise.
2351
2352 * flow.c (find_basic_blocks_1): Remove dangling comment text.
2353
2354 * function.c (contains): Wrap prototype and definition in macro
2355 test HAVE_prologue || HAVE_epilogue.
2356 (fixup_var_refs_1): Remove unused variable `width'.
2357
2358 * gen-protos.c (main): Remove unused variable `optr'.
2359
2360 * haifa-sched.c (debug_control_flow): Remove unused variable `j'.
2361
2362 * libgcc2.c (__udiv_w_sdiv): Provide dummy return value of 0.
2363 (__sjpopnthrow): Remove unused variable `jmpbuf'.
2364 (__throw): Remove unused variable `val'.
2365
2366 * protoize.c: Check for a previously existing definition before
2367 defining *_OK macros.
2368
2369 * scan-decls.c (scan_decls): Remove unused variable `old_written'.
2370
2371 Tue Mar 17 00:45:48 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
2372
2373 * vax.h (ADDR_VEC_ALIGN): Define.
2374
2375 Mon Mar 16 15:57:17 1998 Michael Meissner <meissner@cygnus.com>
2376
2377 * gcc.c (default_arg): Don't wander off the end of allocated
2378 memory.
2379
2380 (From Geoffrey Keating <geoffk@ozemail.com.au>)
2381 * rs6000.c (small_data_operand): Ensure that any address
2382 referenced relative to the small data area is inside the SDA.
2383
2384 Mon Mar 16 12:55:15 1998 Jim Wilson <wilson@cygnus.com>
2385
2386 * config/m68k/netbsd.h (ASM_SPEC): Add %{m68060}.
2387
2388 Mon Mar 16 15:50:20 EST 1998 Andrew MacLeod <amacleod@cygnus.com>
2389
2390 * except.h (in_same_eh_region): New prototype.
2391 (free_insn_eh_region, init_insn_eh_region): New prototypes.
2392 * except.c (insn_eh_region, maximum_uid): New static variables.
2393 (set_insn_eh_region): New static function to set region numbers.
2394 (free_insn_eh_region): New function to free EH region table.
2395 (init_insn_eh_region): New function to initialize EH region table.
2396 (in_same_eh_region): New function used to determine if two rtl
2397 instructions are in the same exception region or not.
2398 * final.c (final): Initialize the table indicating which instructions
2399 belong in which exception region.
2400 * genpeep.c (main): Add "except.h" to include file list in generated
2401 file insn-peep.c.
2402 * config/sparc/sparc.md: Add calls to 'in_same_eh_region' in 4
2403 peepholes involving calls and unconditional branches.
2404
2405 Mon Mar 16 11:16:50 1998 Jim Wilson <wilson@cygnus.com>
2406
2407 * README.gnat: New file.
2408
2409 Mon Mar 16 11:14:20 1998 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2410
2411 * config/m68k/m68k.c: Include <stdlib.h> for atoi. Include
2412 "recog.h" for offsettable_memref_p.
2413 (legitimize_pic_address): Remove unused variable `offset'.
2414 (notice_update_cc): Change return type to void. Add default label
2415 to switch.
2416 (standard_68881_constant_p): Remove unused variable mode.
2417 (print_operand): Define local variable i only if SUPPORT_SUN_FPA.
2418 (const_int_cost): Explicitly declare as returning int.
2419 (output_dbcc_and_branch): Change return type to void.
2420
2421 * config/m68k/linux.h, config/m68k/m68k.md, config/m68k/m68k.c,
2422 config/m68k/m68k.h: Replace gen_rtx (XXX, ...) with gen_rtx_XXX
2423 (...). Use GEN_INT instead of gen_rtx_CONST_INT.
2424
2425 Sun Mar 15 22:30:44 PST 1998 Jeff Law (law@cygnus.com)
2426
2427 * version.c: Bump for snapshot.
2428
2429 Fri Mar 13 11:30:12 1998 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2430
2431 * config/m68k/m68k.h (CONST_OK_FOR_LETTER_P): Fix logic in range
2432 check for 'M' constraint.
2433
2434 Thu Mar 12 14:47:14 1998 Jim Wilson <wilson@cygnus.com>
2435
2436 * cccp.c (create_definition): If pedantic, call pedwarn for macro
2437 varargs feature.
2438
2439 Thu Mar 12 13:43:25 1998 Bernd Schmidt <crux@Pool.Informatik.RWTH-Aachen.DE>
2440
2441 * i386.c (ix86_logical_operator): New function.
2442 (split_di): Ensure that when a MEM is split, the resulting MEMs have
2443 SImode.
2444 * i386.md (anddi3, xordi3, iordi3): New patterns. Add a define_split
2445 to implement them.
2446
2447 Thu Mar 12 15:13:16 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2448 Richard Earnshaw <rearnsha@arm.com>
2449 Nick Clifton <nickc@cygnus.com>
2450
2451 * tm.texi (DEFAULT_RTX_COSTS): Document new macro.
2452
2453 * arm.h (DEFAULT_RTX_COSTS): Define instead of RTX_COSTS.
2454
2455 * cse.c (rtx_cost): Provide a default case in an enumeration
2456 switch, and call DEFAULT_RTX_COSTS if it's defined.
2457
2458 Thu Mar 12 10:02:38 1998 Manfred Hollstein <manfred@s-direktnet.de>
2459
2460 * basic-block.h (compute_preds_succs): Change return type in
2461 prototype to void.
2462 * flow.c (compute_preds_succs): Likewise in function definition.
2463
2464 * regmove.c (find_matches): Cast char used as array index to unsigned char
2465 to supress warning.
2466
2467 Thu Mar 12 09:39:40 1998 Manfred Hollstein <manfred@s-direktnet.de>
2468
2469 * i386.h (RTX_COSTS): Insert braces around nested if.
2470 (ADDITIONAL_REGISTER_NAMES): Insert braces around structured
2471 elements.
2472
2473 * gcc.c (default_compilers): Properly put brackets around array elements in
2474 initializer.
2475
2476 * getopt.c (_getopt_internal): Add explicit braces around nested if;
2477 reformatted.
2478
2479 * reg-stack.c (record_asm_reg_life): Add explicit braces around nested if's.
2480 (record_reg_life_pat): Add explicit parens around && and || in expression.
2481 (stack_reg_life_analysis): Add parens around assignment used as expression.
2482 (convert_regs): Likewise.
2483
2484 Thu Mar 12 09:25:29 1998 Manfred Hollstein <manfred@s-direktnet.de>
2485
2486 * bitmap.c (bitmap_element_allocate): Remove unused parameter;
2487 change callers accordingly.
2488
2489 * cplus-dem.c (arm_special): Remove unused parameter work in prototype
2490 and definition; change all callers accordingly.
2491
2492 * except.c (init_eh): Avoid assignment of unused return value of
2493 build_pointer_type; cast it to void, instead, and remove unused
2494 variable type.
2495
2496 * gcc.c (lang_specific_driver): Define prototype only #ifdef
2497 LANG_SPECIFIC_DRIVER.
2498 (temp_names): Define only #ifdef MKTEMP_EACH_FILE.
2499
2500 * genoutput.c (output_epilogue): Initialize next_name to 0.
2501
2502 * real.c (efrexp): #if 0 prototype and function definition.
2503 (eremain): Likewise.
2504 (uditoe): Likewise.
2505 (ditoe): Likewise.
2506 (etoudi): Likewise.
2507 (etodi): Likewise.
2508 (esqrt): Likewise.
2509
2510 * reload.c (push_secondary_reload): Define prototype only
2511 #ifdef HAVE_SECONDARY_RELOADS.
2512
2513 * varasm.c (assemble_static_space): Define rounded only
2514 #ifndef ASM_OUTPUT_ALIGNED_LOCAL.
2515
2516 Thu Mar 12 09:11:35 1998 Manfred Hollstein <manfred@s-direktnet.de>
2517
2518 * i386.md (andsi): Add default case in enumeration switch.
2519 (iorsi3): Likewise.
2520 (iorhi3): Likewise.
2521 (xorsi3): Likewise.
2522
2523 Thu Mar 12 08:37:02 1998 Manfred Hollstein <manfred@s-direktnet.de>
2524
2525 * c-decl (finish_struct): Change type of min_align to unsigned.
2526
2527 * cplus-dem.c (demangle_function_name): Change type of variable i to size_t;
2528 remove unused variable len.
2529
2530 * dwarf2out.c (reg_save): Add explicit cast of -1 to unsigned and a
2531 comment indicating this is proper behaviour.
2532 (reg_loc_descriptor): Remove redundant comparison of unsigned variable
2533 reg >= 0.
2534 (based_loc_descr): Likewise.
2535
2536 * enquire.c (bitpattern): Change type of variable i to unsigned.
2537
2538 * final.c (output_asm_insn): Don't cast insn_noperands to unsigned.
2539
2540 * flow.c (life_analysis): Change type of variable i to size_t;
2541 remove unused variable insn.
2542
2543 * gcc.c (translate_options): Change type of variables optlen, arglen and
2544 complen to size_t.
2545 (input_filename_length): Change type to size_t.
2546 (do_spec_1): Change type of variable bufsize to size_t.
2547 (main): Change type of variables i and j to size_t;
2548 remove subblock local definition of variable i.
2549 (lookup_compiler): Change type of second argument to size_t;
2550 change type of variable i to size_t.
2551
2552 * genemit.c (output_init_mov_optab): Change type of variable i to size_t.
2553
2554 * genopinit.c (get_insn): Change type of variable pindex to size_t.
2555
2556 * genrecog.c (add_to_sequence): Change type of variable i to size_t.
2557
2558 * global.c (global_alloc): Change type of variable i to size_t.
2559
2560 * regclass.c (init_reg_sets): Change type of variables i and j to unsigned.
2561
2562 * stmt.c (expand_end_bindings): Change type of variable i to size_t.
2563 (expand_end_case): Change type of variable count to size_t.
2564
2565 * toplev.c (main): Change type of variable j to size_t.
2566 (set_target_switch): Change type of variable j to size_t.
2567 (print_switch_values): Change type of variable j to size_t;
2568 remove unused variable flags.
2569
2570 * varasm.c (assemble_variable): Change type of variable align to size_t.
2571 (const_hash_rtx): Change type of variable i to size_t.
2572
2573 1998-03-11 Mark Mitchell <mmitchell@usa.net>
2574
2575 * dbxout.c (dbxout_type_methods): Only treat TYPE_METHODS as a
2576 TREE_VEC if that's what it really is.
2577
2578 Wed Mar 11 15:16:01 1998 Michael Meissner <meissner@cygnus.com>
2579
2580 * {haifa-,}sched.c (rank_for_schedule): Only take void * arguments
2581 as per ISO C spec.
2582
2583 Wed Mar 11 12:05:20 1998 Teemu Torma <tot@trema.com>
2584
2585 * gthr.h: Changed the comment about return values.
2586 * gthr-solaris.h (__gthread_once): Do not use errno; return the
2587 error number instead of -1.
2588 (__gthread_key_create): Any non-zero return value is an error.
2589 * libgcc2.c (eh_context_initialize): Check for non-zero return
2590 value from __gthread_once.
2591 Check that the value of get_eh_context was really changed.
2592
2593 Wed Mar 11 18:26:25 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
2594
2595 * sh.h (LOOP_ALIGN): Only align when optimizing.
2596 * sh.c (find_barrier): Clear inc for CODE_LABELs.
2597 When not optimizing, calculate alignment for BARRIERs directly.
2598
2599 Wed Mar 11 15:07:18 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
2600
2601 * final.c (shorten_branches): Remove conditionalizing on
2602 SHORTEN_WITH_ADJUST_INSN_LENGTH
2603 * sh.h, pa.h (SHORTEN_WITH_ADJUST_INSN_LENGTH): Remove.
2604
2605 Wed Mar 11 02:37:41 1998 Jeffrey A Law (law@cygnus.com)
2606
2607 * flow.c (find_basic_blocks_1): Keep the cfg accurate when removing
2608 an unconditional jump around deleted blocks.
2609
2610 Mon Mar 9 12:02:23 1998 Jim Wilson <wilson@cygnus.com>
2611
2612 * profile.c (branch_prob): If see computed goto, call fatal instead of
2613 abort.
2614
2615 * config/mips/sni-svr4.h (CPP_PREDEFINE): Add -DSNI and -Dsinix.
2616
2617 * configure.in (alpha-dec-osf): Add default case for osf* to switch.
2618 Patch from Bruno Haible.
2619
2620 * function.c (put_reg_into_stack): Copy MEM_IN_STRUCT_P from new.
2621 (assign_parms): Set aggregate if hide_last_arg and last_named.
2622
2623 Mon Mar 9 19:57:56 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
2624
2625 * final.c (shorten_branches): Initialize insn_addresses.
2626
2627 Mon Mar 9 14:10:23 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
2628
2629 * sh.h (MUST_PASS_IN_STACK): Define.
2630
2631 Sun Mar 8 13:01:56 1998 Jeffrey A Law (law@cygnus.com)
2632
2633 * final.c (shorten_branches): Fix minor logic error in
2634 ADDR_DIFF_VEC shortening support.
2635
2636 Sun Mar 8 02:17:42 PST 1998 Jeff Law (law@cygnus.com)
2637
2638 * version.c: Bump for snapshot.
2639
2640 Sat Mar 7 00:54:15 1998 Jeffrey A Law (law@cygnus.com)
2641
2642 * haifa-sched.c (is_cfg_nonregular): Change return type to
2643 an int. No longer compute "estimated" number of edges. Use
2644 computed_jump_p instead of duplicating the code. Fixup/add
2645 some comments.
2646 (build_control_flow): Returns a value indicating an irregularity
2647 in the cfg was detected. Count the number of edges in the cfg.
2648 allocate various edge tables.
2649 (find_rgns): No longer look for unreachable blocks.
2650 (schedule_insns): Do not allocate memory for edge tables here.
2651 Free memory for edge tables before returning. Do not perform
2652 cross block scheduling if build_control_flow returns nonzero.
2653 * flow.c (compute_preds_succs): More accurately determine when
2654 a block drops in.
2655
2656 * basic-block.h (free_basic_block_vargs): Provide prototype.
2657
2658 * cccp.c (main): Fix dumb mistakes in last change.
2659
2660 Fri Mar 6 21:28:45 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
2661
2662 * rtl.h (addr_diff_vec_flags): New typedef.
2663 (union rtunion_def): New member rt_addr_diff_vec_flags.
2664 (ADDR_DIFF_VEC_FLAGS): New macro.
2665
2666 * sh.c (output_branch): Fix offset overflow problems.
2667
2668 * final.c (shorten_branches): Implement CASE_VECTOR_SHORTEN_MODE.
2669 (final_scan_insn): New argument BODY for ASM_OUTPUT_ADDR_DIFF_ELT.
2670 * rtl.def (ADDR_DIFF_VEC): Three new fields (min, max and flags).
2671 * stmt.c (expand_end_case): Supply new arguments to
2672 gen_rtx_ADDR_DIFF_VEC.
2673 * 1750a.h (ASM_OUTPUT_ADDR_DIFF_ELT): New argument BODY.
2674 * alpha.h, arc.h, clipper.h, convex.h : Likewise.
2675 * dsp16xx.h, elxsi.h, fx80.h, gmicro.h, h8300.h : Likewise.
2676 * i370.h, i386.h, i860.h, i960.h, m32r.h, m68k.h, m88k.h : Likewise.
2677 * mips.h, mn10200.h, mn10300.h, ns32k.h, pa.h, pyr.h : Likewise.
2678 * rs6000.h, sh.h, sparc.h, spur.h, tahoe.h, v850.h : Likewise.
2679 * vax.h, we32k.h, alpha/vms.h, arm/aof.h, arm/aout.h : Likewise.
2680 * i386/386bsd.h, i386/freebsd-elf.h : Likewise.
2681 * i386/freebsd.h, i386/linux.h : Likewise.
2682 * i386/netbsd.h, i386/osfrose.h, i386/ptx4-i.h, i386/sco5.h : Likewise.
2683 * i386/sysv4.h, m68k/3b1.h, m68k/dpx2.h, m68k/hp320.h : Likewise.
2684 * m68k/mot3300.h, m68k/sgs.h : Likewise.
2685 * m68k/tower-as.h, ns32k/encore.h, sparc/pbd.h : Likewise.
2686 * sh.h (INSN_ALIGN, INSN_LENGTH_ALIGNMENT): Define.
2687 (CASE_VECTOR_SHORTEN_MODE): Define.
2688 (short_cbranch_p, align_length, addr_diff_vec_adjust): Don't declare.
2689 (med_branch_p, braf_branch_p): Don't declare.
2690 (mdep_reorg_phase, barrier_align): Declare.
2691 (ADJUST_INSN_LENGTH): Remove alignment handling.
2692 * sh.c (uid_align, uid_align_max): Deleted.
2693 (max_uid_before_fixup_addr_diff_vecs, branch_offset): Deleted.
2694 (short_cbranch_p, med_branch_p, braf_branch_p, align_length): Deleted.
2695 (cache_align_p, fixup_aligns, addr_diff_vec_adjust): Deleted.
2696 (output_far_jump): Don't use braf_branch_p.
2697 (output_branchy_insn): Don't use branch_offset.
2698 (find_barrier): Remove checks for max_uid_before_fixup_addr_diff_vecs.
2699 Remove paired barrier stuff.
2700 Don't use cache_align_p.
2701 Take alignment insns into account.
2702 (fixup_addr_diff_vecs): Reduce to only fixing up the base label of
2703 the addr_diff_vec.
2704 (barrier_align, branch_dest): New function.
2705 (machine_dependent_reorg, split_branches): Remove infrastructure
2706 for branch shortening that is now provided in the backend.
2707 * sh.md (short_cbranch_p, med_branch_p, med_cbranch_p): New attributes.
2708 (braf_branch_p, braf_cbranch_p): Likewise.
2709 (attribute length): Use new attributes.
2710 (casesi_worker): Get mode and unsignednedd from ADDR_DIFF_VEC.
2711 (addr_diff_vec_adjust): Delete.
2712 (align_2): Now a define_expand.
2713 (align_log): Now length 0.
2714
2715 Fri Mar 6 14:41:33 1998 Michael Meissner <meissner@cygnus.com>
2716
2717 * m32r.md (right): Correctly check for length == 2, not 1.
2718
2719 Fri Mar 6 14:00:04 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2720
2721 * mips/mips.h: Prototype `machine_dependent_reorg'.
2722 (ASM_OUTPUT_ALIGN): Remove unused variable `mask'.
2723
2724 Fri Mar 6 11:43:35 1998 Joern Rennecke (amylaar@cygnus.co.uk)
2725
2726 * final.c (shorten_branches): Restore accidentally removed code.
2727
2728 Fri Mar 6 11:00:49 1998 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2729
2730 * configure.in: Remove duplicate uses of AC_PROG_CC and
2731 AC_PROG_MAKE_SET.
2732
2733 Fri Mar 6 00:59:30 1998 Richard Henderson <rth@cygnus.com>
2734
2735 * configure.in (target_cpu_default2): Correct typo for alphapca56.
2736
2737 Thu Mar 5 23:24:50 1998 Jeffrey A Law (law@cygnus.com)
2738 Doug Evans (devans@cygnus.com)
2739
2740 * haifa-sched.c (build_jmp_edges): Delete dead function.
2741 (build_control_flow): Use cfg routines from flow.c
2742 (schedule_insns): Remove debugging code accidentally checked
2743 in earlier today.
2744
2745 * basic-block.h: Add external integer list structures, typdefs,
2746 accessor macros and function declarations. Simlarly for
2747 basic block pred/succ support and simple bitmap stuff.
2748 * flow.c: Add functions for integer list, basic block pred/succ
2749 support and simple bitmap support.
2750 (compute_dominators): New function to compute dominators and
2751 post dominators.
2752 (find_basic_blocks): Split into two functions.
2753 (life_analysis): Likewise.
2754 (flow_analysis): Removed. Now handled by calling find_basic_blocks,
2755 the life_analysis from toplev.c
2756 * toplev.c (rest_of_compilation): Call find_basic_blocks, then
2757 life_analysis instead of flow_analysis.
2758
2759 Thu Mar 5 23:06:26 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
2760
2761 * jump.c (jump_optimize): Call mark_jump_label also for deleted
2762 insns.
2763 (mark_jump_label): Don't increment ref counts for deleted insns.
2764
2765 Thu Mar 5 09:55:15 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2766
2767 * mips/iris6.h (TARGET_DEFAULT): Parenthesize macro definition.
2768
2769 * mips/mips.c: Include stdlib.h and unistd.h.
2770 (mips_asm_file_end): Add braces around empty body in an if-statement.
2771 (function_prologue): Wrap variable `fnname' in
2772 !FUNCTION_NAME_ALREADY_DECLARED. Correct format specifier in fprintf.
2773 (mips_select_rtx_section, mips_select_section): Declare as void.
2774
2775 * mips/mips.h: Add prototypes for extern functions in mips.c.
2776 (FUNCTION_ARG_REGNO_P): Add parentheses around && within ||.
2777 (ENCODE_SECTION_INFO): Add braces around empty body in an
2778 if-statement.
2779
2780 * mips/mips.md (movdi): Add parentheses around && within ||.
2781 (movsf, movdf): Likewise.
2782 (branch_zero, branch_zero_di): Add default case in
2783 enumeration switch.
2784
2785
2786 Thu Mar 5 02:45:48 1998 Richard Henderson <rth@cygnus.com>
2787
2788 * alpha/alpha.h (TARGET_WINDOWS_NT, TARGET_OPEN_VMS): Just make them
2789 real constants, since they can't be changed.
2790 (TARGET_AS_CAN_SUBTRACT_LABELS): New.
2791 * alpha/alpha.md (builtin_setjmp_receiver): Use it.
2792 * alpha/osf.h (TARGET_AS_CAN_SUBTRACT_LABELS): New.
2793 * alpha/osf2or3.h (TARGET_AS_CAN_SUBTRACT_LABELS): New.
2794 * alpha/vms.h (TARGET_OPEN_VMS): New.
2795 * alpha/win-nt.h (TARGET_WINDOWS_NT): New.
2796
2797 Thu Mar 5 02:41:27 1998 Richard Henderson <rth@cygnus.com>
2798
2799 * reload.c (find_reloads): Always force (subreg (mem)) to be
2800 reloaded if WORD_REGISTER_OPERATIONS.
2801
2802 Thu Mar 5 02:14:44 1998 Richard Henderson <rth@cygnus.com>
2803
2804 * haifa-sched.c (free_list): Rename from free_pnd_lst.
2805 (free_pending_lists): Rename free_pnd_lst uses.
2806 (remove_dependence): Place expunged element on unused_insn_list.
2807 (alloc_INSN_LIST, alloc_EXPR_LIST): New. Change all callers of
2808 gen_rtx_*_LIST and alloc_rtx to use them.
2809 (compute_block_backward_dependences): Free the reg_last_* lists.
2810
2811 Thu Mar 5 00:05:40 1998 Jeffrey A Law (law@cygnus.com)
2812
2813 * cccp.c (main): Avoid undefined behavior when setting pend_includes
2814 and pend_files.
2815
2816 Wed Mar 4 21:58:25 1998 Franz Sirl <franz.sirl-kernel@lauterbach.com>
2817
2818 * rs6000/linux.h: don't define DEFAULT_VTABLE_THUNKS to 1 if
2819 USE_GNULIBC_1 is defined
2820 * configure.in: add a new case powerpc-*-linux-gnulibc1 which
2821 includes the t-linux-gnulibc1 fragment
2822
2823 Wed Mar 4 12:11:36 1998 Jim Wilson <wilson@cygnus.com>
2824
2825 * mips.md (movdf_internal1a): Fix misplaced parenthesis in condition.
2826
2827 Wed Mar 4 18:47:48 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
2828
2829 * final.c (final_scan_insn, case CODE_LABEL: Cleanup.
2830
2831 Wed Mar 4 15:51:19 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
2832
2833 * final.c (shorten_branches): Tag the loop alignment onto the
2834 first label after NOTE_INSN_LOOP_BEG even if there is an
2835 intervening insn.
2836
2837 Tue Mar 3 21:48:35 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
2838
2839 * final.c (insn_current_reference_address):
2840 Use SEQ instead of BRANCH as argument to align_fuzz, to get a
2841 proper alignment chain.
2842
2843 * final.c (max_labelno): New static variable.
2844 (final_scan_insn): Check max_labelno before outputting an
2845 alignment for a label.
2846 (shorten_branches): Remove unused variable length_align.
2847
2848 Tue Mar 3 14:27:23 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2849
2850 * sparc.c (ultrasparc_adjust_cost): Add default case in
2851 enumeration switch.
2852
2853 * sparc.h: Add prototypes for extern functions defined in
2854 sparc.c.
2855
2856 Tue Mar 3 10:00:11 1998 Nick Clifton <nickc@cygnus.com>
2857
2858 * toplev.c: Only generate <name>.dbr file when dumping RTL if
2859 DEALY_SLOTS is defined.
2860
2861 Tue Mar 3 07:36:37 1998 Manfred Hollstein <manfred@s-direktnet.de>
2862
2863 * reorg.c (fill_eager_delay_slots): Add new argument delay_list
2864 in call to fill_slots_from_thread.
2865
2866 Mon Mar 2 13:45:03 1998 Richard Henderson <rth@cygnus.com>
2867
2868 * alpha/linux.h (CPP_PREDEFINES): Correct connecting whitespace
2869 to SUB_CPP_PREDEFINES. Reported by asun@saul4.u.washington.edu.
2870
2871 Mon Mar 2 22:59:28 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
2872
2873 * final.c (insn_last_address, insn_current_align, uid_align):
2874 New variables.
2875 (in_align_chain, align_fuzz, align_shrink_fuzz): New functions.
2876 (insn_current_reference_address): Likewise.
2877 (shorten_branches, final_scan_insn): Implement LABEL_ALIGN,
2878 LABEL_ALIGN_AFTER_BARRIER and LOOP_ALIGN target macros.
2879 (label_to_alignment): New function.
2880 * genattrtab.c (write_test_expr): If one of LABEL_ALIGN,
2881 LABEL_ALIGN_AFTER_BARRIER or LOOP_ALIGN is defined, call
2882 insn_current_reference_address instead of insn_current_address.
2883 (or_attr_value, write_length_unit_log): New functions.
2884 (main): Call write_length_unit_log.
2885 (write_const_num_delay_slots): Output extra '\n'.
2886 * alpha.h (ASM_OUTPUT_LOOP_ALIGN, ASM_OUTPUT_ALIGN_CODE):
2887 replace with:
2888 (LOOP_ALIGN, ALIGN_LABEL_AFTER_BARRIER).
2889 * i386.h, i386/osfrose.h, i386/svr3dbx.h, m68k.h, sparc.h: Likewise.
2890 * arc.h, m32r.h (ASM_OUTPUT_LOOP_ALIGN): replace with:
2891 (LOOP_ALIGN).
2892 * i960.h, m88k.h: (ASM_OUTPUT_ALIGN_CODE): Replace with:
2893 (LABEL_ALIGN_AFTER_BARRIER).
2894 * ns32k/encore.h, ns32k/merlin.h, ns32k.h, ns32k/sequent.h: Likewise.
2895 * ns32k/tek6000.h: Likewise.
2896 * i386/gas.h (ASM_OUTPUT_LOOP_ALIGN, ASM_OUTPUT_ALIGN_CODE): Delete.
2897 * i386.md (casesi+1): Use ASM_OUTPUT_ALIGN instead of
2898 ASM_OUTPUT_ALIGN_CODE.
2899
2900 Mon Mar 2 01:05:50 PST 1998 Jeff Law (law@cygnus.com)
2901
2902 * version.c: Bump for snapshot.
2903
2904 Mon Mar 2 00:52:18 PST 1998 Jeff Law (law@cygnus.com)
2905
2906 * version.c: Bump for snapshot.
2907
2908 Sun Mar 1 18:25:49 1998 Michael P. Hayes <michaelh@ongaonga.chch.cri.nz>
2909
2910 * reorg.c (fill_slots_from_thread): Don't steal delay list from target
2911 if condition code of jump conflicts with opposite_needed.
2912
2913 * reorg.c (fill_slots_from_thread): Mark resources referenced in
2914 opposite_needed thread. Return delay_list even when cannot get
2915 any more delay insns from end of subroutine.
2916
2917 Sun Mar 1 18:26:21 1998 Ken Rose (rose@acm.org)
2918
2919 * reorg.c (fill_slots_from_thread): New parameter, delay_list.
2920 All callers changed.
2921
2922 Sun Mar 1 18:25:37 1998 Bruno Haible <bruno@linuix.mathematik.uni-karlsruhe.de>
2923
2924 * frame.c (start_fde_sort, fde_split, heapsort, fde_merge,
2925 end_fde_sort): New functions for fast sorting of an FDE array.
2926 (fde_insert): Simplified.
2927 (add_fdes): Change argument list.
2928 (frame_init): Use the new functions.
2929
2930 Sun Mar 1 18:06:21 1998 Jeffrey A Law (law@cygnus.com)
2931
2932 * ginclude/va-ppc.h (va_arg): Fix typo in long long support.
2933
2934 * i386.c (reg_mentioned_in_mem): Fix dangling else statement.
2935
2936 * fold-const.c (fold_range_test): Always return a value.
2937
2938 Sun Mar 1 17:57:34 1998 Mumit Khan <khan@xraylith.wisc.edu>
2939
2940 * config/i386/winnt.c (i386_pe_unique_section): Put read-only
2941 data in the text section unless READONLY_DATA_SECTION is defined.
2942
2943 Sun Mar 1 17:48:46 1998 Jeffrey A Law (law@cygnus.com)
2944
2945 * c-parse.in (undeclared variable error): Tweak error message to
2946 be clearer.
2947
2948 Sun Mar 1 10:22:36 PST 1998 Jeff Law (law@cygnus.com)
2949
2950 * version.c: Bump for snapshot.
2951
2952 1998-02-28 Mark Mitchell <mmitchell@usa.net>
2953
2954 * final.c (final_scan_insn): Undo overzealous removal of `set'.
2955
2956 Sat Feb 28 07:54:03 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2957
2958 * pa.h (CONST_COSTS): When checking the CONST_DOUBLE enumerated
2959 case, add parentheses to specify the proper order of precedence in
2960 the if-statement.
2961
2962
2963 * c-aux-info.c: Include string.h/strings.h.
2964
2965 * pa.c: Include stdlib.h.
2966 (pa_combine_instructions): Prototype the function.
2967 (pa_can_combine_p, forward_branch_p, shadd_constant_p): Likewise.
2968 (reloc_needed): Add default case for enumeration switch.
2969 (remove_useless_addtr_insns): Remove unused variable `all'.
2970 (hppa_expand_prologue): Add explicit braces to avoid
2971 ambiguous `else'.
2972 (output_function_epilogue): Remove unused variable `i'.
2973 (output_millicode_call): Remove unused variable `link'.
2974 (shadd_constant_p, forward_branch_p): Make the function static.
2975 (following_call): Explicitly declare to return int.
2976 (pa_reorg): Declare as void.
2977 (pa_combine_instructions): Declare as static void. Add
2978 parentheses around && within ||.
2979
2980 * pa.h: Add prototypes for pa_reorg, symbolic_operand,
2981 following_call, function_label_operand, lhs_lshift_cint_operand
2982 and zdepi_cint_p.
2983
2984 * pa.md: Add parentheses around && within ||.
2985
2986 * cppalloc.c: Include stdlib.h.
2987
2988 * cpperror.c (cpp_print_containing_files): Remove unused variable
2989 `i'. Fix format specifier in fprintf.
2990
2991 * cse.c (cse_around_loop): Add explicit braces to avoid
2992 ambiguous `else'.
2993 (delete_dead_from_cse): Wrap variable `tem' in macro HAVE_cc0.
2994
2995 * expr.c (expand_expr): Add parentheses around && within ||.
2996
2997 * final.c (app_enable): Replace fprintf with fputs where there are
2998 no format specifiers and no trailing argument after the string.
2999 Eg, when printing ASM_APP_ON/ASM_APP_OFF.
3000 (app_disable): Likewise.
3001 (final_end_function): Likewise.
3002 (final_scan_insn): Likewise. Remove unused variable `set'.
3003 (profile_function): Wrap empty if-statement body in {} brackets.
3004
3005 * function.c: Include stdlib.h.
3006 (pad_below): Wrap prototype and definition in ARGS_GROW_DOWNWARD.
3007 (reposition_prologue_and_epilogue_notes): Add parentheses
3008 around assignment used as truth value.
3009
3010 * integrate.c (expand_inline_function): Wrap variable
3011 `cc0_insn' in macro HAVE_cc0.
3012
3013 * jump.c (jump_optimize): Wrap variable `q' in macro
3014 HAVE_cc0. Remove unused variable `prev1'.
3015
3016 * libgcc2.c (__bb_exit_trace_func): Add parentheses around &&
3017 within ||. Fix format specifier in fprintf.
3018 (__bb_init_prg): Add parentheses around assignment used as
3019 truth value.
3020
3021 * local-alloc.c: Include stdlib.h.
3022 (requires_inout): Add parentheses around assignment used
3023 as truth value.
3024
3025 * loop.c (analyze_loop_iterations): Wrap prototype and definition
3026 in macro HAVE_decrement_and_branch_on_count.
3027 (insert_bct, instrument_loop_bct): Likewise.
3028 (move_movables): Add parentheses around assignment used as
3029 truth value.
3030 (consec_sets_invariant_p): Likewise.
3031 (maybe_eliminate_biv_1): Wrap variable `new' in macro HAVE_cc0.
3032
3033 * objc/objc-act.c: Include stdlib.h.
3034 (lookup_method_in_protocol_list): Wrap empty else-statement body
3035 in braces.
3036 (lookup_protocol_in_reflist): Likewise.
3037 (objc_add_static_instance): Remove unused variables `decl_expr'
3038 and `decl_spec'.
3039 (get_objc_string_decl): Remove unused variable `decl'.
3040 (generate_static_references): Remove unused variables `idecl' and
3041 `instance'.
3042 (check_protocols): Wrap empty else-statement body in braces.
3043
3044 * protoize.c: Include stdlib.h.
3045 (substr): Add parentheses around assignment used as truth value.
3046 (abspath): Likewise.
3047 (shortpath): Likewise.
3048
3049 * regmove.c (fixup_match_1): Add parentheses around assignment
3050 used as truth value.
3051
3052 * reload.c (push_secondary_reload): Remove unused variable `i'.
3053 (find_reloads): Add parentheses around assignment used as truth
3054 value.
3055
3056 * reload1.c: Include stdlib.h.
3057
3058 * rtl.h: Correct typo in prototype of offsettable_memref_p.
3059
3060 * stmt.c (add_case_node): Add parentheses around assignment used
3061 as truth value.
3062 (case_tree2list): Likewise.
3063
3064 * tree.c (valid_machine_attribute): Wrap variable `decl_attr_list'
3065 in macro VALID_MACHINE_DECL_ATTRIBUTE. Wrap variable
3066 `type_attr_list' in macro VALID_MACHINE_TYPE_ATTRIBUTE.
3067 (merge_attributes): Add explicit braces to avoid ambiguous
3068 `else'.
3069
3070 * unroll.c (copy_loop_body): Wrap variable `cc0_insn' in
3071 macro HAVE_cc0.
3072
3073 * varasm.c: Include stdlib.h.
3074
3075
3076 * system.h: Remove sys/stat.h.
3077 * gcc.c: Add sys/stat.h.
3078
3079 * genattr.c: Wrap prototype of `free' in NEED_DECLARATION_FREE.
3080 * genattrtab.c: Likewise.
3081 * genconfig.c: Likewise.
3082 * genemit.c: Likewise.
3083 * genextract.c: Likewise.
3084 * genflags.c: Likewise.
3085 * genopinit.c: Likewise.
3086 * genoutput.c: Likewise.
3087 * genpeep.c: Likewise.
3088 * genrecog.c: Likewise.
3089 * tlink.c: Likewise. Also wrap `getenv' in NEED_DECLARATION_GETENV.
3090
3091 Fri Feb 27 11:02:47 1998 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3092
3093 * invoke.texi: Use @itemx for a secondary item in a @table.
3094
3095 * config/m68k/m68k.md (movsf+1): Optimize moving a CONST_DOUBLE
3096 zero.
3097
3098 Thu Feb 26 00:13:21 1998 Ian Lance Taylor <ian@cygnus.com>
3099
3100 * choose-temp.c: Fix handling of sys/file.h to work in libiberty.
3101
3102 Wed Feb 25 23:40:54 1998 Jeffrey A Law (law@cygnus.com)
3103
3104 * i386.c (struct machine_function): Add new fields for PIC stuff.
3105 (save_386_machine_status): Fix argument to xmalloc. Save pic_label_rtx
3106 and pic_label_name.
3107 (restore_386_machine_status): Corresponding changes.
3108 (clear_386_stack_locals): Also clear pic_label_rtx and pic_label_name.
3109
3110 Wed Feb 25 01:31:40 1998 Jeffrey A Law (law@cygnus.com)
3111
3112 * c-parse.y (undeclared variable error): Tweak error message
3113 to be clearer.
3114
3115 Tue Feb 24 23:54:07 1998 Richard Henderson <rth@cygnus.com>
3116
3117 * flags.h (g_switch_value, g_switch_set): Declare.
3118 * alpha.c (override_options): Set g_switch_value=8 if not set.
3119 * alpha/elf.h (CC1_SPEC): New.
3120 (ASM_SPEC): New.
3121 (LINK_SPEC): Pass along the -G value we were given.
3122 (LOCAL_ASM_OP): Remove.
3123 (ASM_OUTPUT_ALIGNED_LOCAL): Output to .bss or .sbss by size.
3124 (MAX_OFILE_ALIGNMENT): New.
3125 (BSS_SECTION_ASM_OP, SBSS_SECTION_ASM_OP, SDATA_SECTION_ASM_OP): New.
3126 (EXTRA_SECTIONS): Add sbss and sdata.
3127 (SECTION_FUNCTION_TEMPLATE): New.
3128 (EXTRA_SECTION_FUNCTIONS): Use it.
3129 (CTORS_SECTION_FUNCTION, DTORS_SECTION_FUNCTION): Remove.
3130 (SELECT_SECTION): Use sdata when small enough.
3131 * alpha/linux.h (ASM_SPEC): Remove.
3132
3133
3134 Mon Feb 23 15:09:18 1998 Bruno Haible <bruno@linuix.mathematik.uni-karlsruhe.de>
3135 * config.sub (sco5): Fix typo.
3136
3137 Mon Feb 23 18:19:31 1998 Manfred Hollstein <manfred@s-direktnet.de>
3138
3139 * config/t-linux (LIBGCC1, CROSS_LIBGCC1, LIBGCC1_TEST): Add macros and
3140 set to empty.
3141 * config/t-linux-aout (LIBGCC1, CROSS_LIBGCC1, LIBGCC1_TEST): Likewise.
3142 * config/alpha/t-linux: Remove file.
3143 * config/sparc/t-linux: Remove file.
3144 * config/m68k/t-linux (LIBGCC1, CROSS_LIBGCC1): Remove.
3145 * config/m68k/t-linux-aout (LIBGCC1, CROSS_LIBGCC1): Likewise.
3146 * configure.in (alpha*-*-linux-gnulibc1*): Use t-linux instead of alpha/t-linux
3147 for tmake_file.
3148 (alpha*-*-linux-gnu*): Likewise.
3149 (sparc-*-linux-gnulibc1*): Use t-linux instead of sparc/t-linux for tmake_file.
3150 (sparc-*-linux-gnu*): Likewise.
3151
3152 Mon Feb 23 10:47:39 1998 Robert Lipe <robertl@dgii.com>
3153 * collect2.c (ldd_file_name): Bracket declaration with same
3154 manifests as use.
3155 (full_real_ld_suffix): Deleted. Variable was calloced and
3156 written into, but never read.
3157
3158 1998-02-23 Mike Stump <mrs@wrs.com>
3159
3160 * configure.in: Add support for i386-wrs-vxworks configuration.
3161 * i386/vxi386.h: New file.
3162
3163 Sun Feb 22 21:16:51 1998 Bruno Haible <bruno@linuix.mathematik.uni-karlsruhe.de>
3164
3165 * tree.c (contains_placeholder_p): Ensure function always returns
3166 a value.
3167 * sparc.md (movdi_sp64_insn): Add default case in enumeration switch.
3168 (movsf_const_insn, movdf_const_insn, movtf_const_insn): Likewise.
3169
3170 Sun Feb 22 20:58:19 1998 Jeffrey A Law (law@cygnus.com)
3171
3172 * vms.h (SELECT_SECTION): Use TREE_CODE_CLASS correctly.
3173
3174 1998-02-22 Paul Eggert <eggert@twinsun.com>
3175
3176 * config/sparc/sol2-sld.h (LINKER_DOES_NOT_WORK_WITH_DWARF2):
3177 Define this new symbol.
3178 (DWARF2_DEBUGGING_INFO, DWARF_DEBUGGING_INFO): Do not #undef.
3179 * toplev.c (main): Do not default to DWARF2_DEBUG with -ggdb if
3180 LINKER_DOES_NOT_WORK_WITH_DWARF2 is defined.
3181
3182 Sun Feb 22 20:07:32 1998 Jim Wilson <wilson@cygnus.com>
3183
3184 * iris5.h (DWARF2_UNWIND_INFO): Define to 0.
3185 * iris5gas.h (DWARF2_UNWIND_INFO): Define to 1.
3186
3187 Sun Feb 22 15:29:48 1998 Richard Henderson <rth@cygnus.com>
3188
3189 * objc/Object.m (-error): Call objc_verror with our va_list.
3190
3191 Sun Feb 22 09:45:39 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3192
3193 * collect2.c (scan_prog_file): Completely cover uses of variable
3194 `exports' with macro COLLECT_EXPORT_LIST.
3195
3196 Sat Feb 21 20:36:23 1998 Jeff Law (law@cygnus.com)
3197
3198 * version.c: Bump for snapshot.
3199
3200 Fri Feb 20 16:22:13 1998 Michael Meissner <meissner@cygnus.com>
3201
3202 * sched.c (schedule_block): Remove code to get arguments from hard
3203 regs into pseudos early. Same as Aug 25, 1997 change to
3204 haifa-sched.c.
3205
3206 1998-02-20 Jason Merrill <jason@yorick.cygnus.com>
3207
3208 * collect2.c (main): Still handle !do_collecting for non-AIX targets.
3209
3210 1998-02-16 Mark Mitchell <mmitchell@usa.net>
3211
3212 * toplev.c (rest_of_compilation): Do not defer the output of a
3213 nested function.
3214
3215 Fri Feb 20 10:39:47 1998 Michael Tiemann <michael@impact.tiemann.org>
3216
3217 * ginclude/va-mips.h (va_arg): Remove trailing space after '\'
3218 continuation character (line 243).
3219
3220 Fri Feb 20 12:10:26 1998 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3221
3222 * genrecog.c (main): Remove duplicated sentence in emitted comment.
3223
3224 Thu Feb 19 22:36:53 1998 Andrey Slepuhin <pooh@msu.net>
3225 David Edelsohn <edelsohn@mhpcc.edu>
3226
3227 * collect2.c (XCOFF_SCAN_LIBS): Remove.
3228 (export_flag): New variable.
3229 (export_file): #ifdef COLLECT_EXPORT_LIST.
3230 (import_file, exports, imports, undefined): New variables.
3231 (libs, cmdline_lib_dirs, libpath_lib_dirs, libpath, libexts): Same.
3232 (dump_list, dump_prefix_list, is_in_list): New functions.
3233 (write_export_file): $ifdef COLLECT_EXPORT_LIST.
3234 (write_import_file, resolve_lib_name): New functions.
3235 (use_import_list, ignore_library): Same.
3236 (collect_exit): maybe_unlink import_file and #ifdef.
3237 (handler): Same.
3238 (main): New variable importf, #ifdef exportf. Move parsing of
3239 -shared before general argument parsing. Resolve AIX library
3240 paths and import libgcc.a symbols. Treat .so shared libraries the
3241 same as objects and .a libraries. Create alias for object_lst and
3242 increment it instead of original pointer. Scan AIX libraries as
3243 objects earlier instead of using scan_libraries. Perform AIX
3244 tlink later to resolve templates instead of forking ld.
3245 (GCC_OK_SYMBOL): Ensure symbol not in undef section.
3246 (GCC_UNDEF_SYMBOL): New macro.
3247 (scan_prog_file): Loop for members of AIX libraries. Handle
3248 export/import of ctors/dtors.
3249 (aix_std_libs): New variable.
3250 (scan_libraries, XCOFF): Delete.
3251
3252 Thu Feb 19 22:36:52 1998 Robert Lipe <robertl@dgii.com>
3253
3254 * collect2.c (full_real_ld_suffix): #ifdef CROSS_COMPILE.
3255
3256 1998-02-19 Mike Stump <mrs@wrs.com>
3257
3258 * Makefile.in: Use $tooldir for sys-include to match toplevel
3259 configure.
3260
3261 Thu Feb 19 01:32:37 1998 Jeffrey A Law (law@cygnus.com)
3262 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
3263
3264 * emit-rtl.c (gen_lowpart_common): Suppress last change if __complex__.
3265
3266 * emit-rtl.c (hard-reg-set.h): Include.
3267 (get_lowpart_common): Don't make new REG for hard reg in a
3268 class that cannot change size.
3269 * Makefile.in (emit-rtl.o): Depend on hard-reg-set.h.
3270
3271 * combine.c: Revert previous patch.
3272
3273 1998-02-19 Paul Eggert <eggert@twinsun.com>
3274
3275 * config/sparc/sol2-sld.h: New file.
3276 * configure.in (sparc-*-solaris2*): Use it when using the
3277 system linker.
3278
3279 Thu Feb 19 00:46:59 1998 Jeffrey A Law (law@cygnus.com)
3280
3281 * loop.c (force_movables): Fix typo.
3282
3283 Thu Feb 19 08:26:30 1998 Manfred Hollstein <manfred@s-direktnet.de>
3284
3285 * m88k.h: Change file pattern to match reality.
3286
3287 Wed Feb 18 23:19:52 1998 Jeffrey A Law (law@cygnus.com)
3288
3289 * varasm.c (output_constant_pool): Fix dumb thinko in last
3290 change.
3291
3292 * pa.h (ASM_OUTPUT_FUNCTION_PREFIX): Correctly translate from
3293 a function name to a section name.
3294
3295 1998-02-18 Doug Evans <devans@cygnus.com>
3296
3297 * tree.h (merge_machine_{type,decl}_attributes): Declare.
3298 (split_specs_attrs, strip_attrs): Add prototypes.
3299 * tree.c (merge_machine_{type,decl}_attributes): New functions.
3300 * c-decl.c (duplicate_decls): Call merge_machine_decl_attributes.
3301 Update olddecl's attributes too.
3302 * c-common.c (strip_attrs): New function.
3303 * c-typeck.c (common_type): Call merge_machine_type_attributes.
3304 * varasm.c (make_function_rtl): New target macro REDO_SECTION_INFO_P.
3305 (make_decl_rtl): Likewise.
3306
3307 1998-02-18 Jim Wilson <wilson@cygnus.com>
3308
3309 * c-decl.c (shadow_tag_warned): Call split_specs_attrs.
3310
3311 Wed Feb 18 09:09:50 1998 Jeffrey A Law (law@cygnus.com)
3312
3313 Remove this change until we can fix it correctly.
3314 * collect2.c: Bracket declaration of 'exportf' and
3315 'full_real_ld_suffix'.
3316
3317 Wed Feb 18 08:44:25 1998 Bernd Schmidt <crux@ohara.Informatik.RWTH-Aachen.DE>
3318
3319 * Makefile.in (STAGESTUFF): Add genrtl.c, genrtl.h and gengenrtl.
3320
3321 Tue Feb 17 23:30:20 1998 Bernd Schmidt <crux@ohara.Informatik.RWTH-Aachen.DE>
3322
3323 * c-common.c (c_expand_start_cond, c_expand_end_cond,
3324 c_expand_start_else): Don't warn about non-ambiguous else even if
3325 braces are missing.
3326
3327 Tue Feb 17 23:56:50 1998 Robert Lipe <robertl@dgii.com>
3328
3329 * sco5.h (ASM_OUTPUT_DOUBLE, ASM_OUTPUT_FLOAT,
3330 ASM_OUTPUT_LONG_DOUBLE): Delete. Use the ones from i386.h
3331 instead.
3332
3333 Tue Feb 17 22:56:14 1998 Richard Henderson <rth@cygnus.com>
3334
3335 * combine.c (simplify_rtx): Obey CLASS_CANNOT_CHANGE_SIZE when
3336 simplifying a subreg of a hard reg.
3337 (expand_compound_operation): Likewise.
3338 (force_to_mode): Likewise.
3339
3340 Tue Feb 17 22:37:22 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3341
3342 * fold-const.c: Include "system.h" to get stdlib.h and stdio.h.
3343 (lshift_double): Add parentheses around + or - inside shift.
3344 (rshift_double): Likewise.
3345 (size_int_wide): Explicitly set type of `bit_p' to `int'.
3346
3347 * Makefile.in (fold-const.o): Depend on system.h.
3348
3349 * Makefile.in (gcc.o): Depend on system.h, in accordance with last
3350 change to gcc.c.
3351
3352 * haifa-sched.c: Include "system.h" to get <stdlib.h> and <stdio.h>.
3353 (BLOCKAGE_RANGE): Add parentheses around arithmetic in operand of |.
3354 (sched_note_set): Remove unused parameter `b', all callers changed.
3355 (schedule_block): Likewise for `rgn'.
3356 (split_hard_reg_notes): Likewise for `orig_insn'.
3357 (check_live): Likewise for `trg'.
3358 (update_live): Likewise.
3359 (check_live_1): Explcitly declare variable `i' as int.
3360 (update_live_1): Likewise.
3361 (insn_issue_delay): Remove unused variable `link'.
3362 (sched_analyze_2): Add default case in enumeration switch.
3363 (schedule_insns): Remove unused variable `i'.
3364
3365 * Makefile.in ($(SCHED_PREFIX)sched.o): Depend on system.h.
3366
3367 Tue Feb 17 22:31:04 1998 Jeffrey A Law (law@cygnus.com)
3368
3369 * loop.c (rtx_equal_for_loop_p): Add some braces to disambiguate
3370 a dangling else clause.
3371
3372 Tue Feb 17 21:28:12 1998 Gavin Koch <gavin@cygnus.com>
3373
3374 * mips/mips.h (CAN_ELIMINATE): Don't eliminate the frame
3375 pointer for the stack pointer in MIPS16 and 64BIT.
3376
3377 Tue Feb 17 21:17:30 1997 J"orn Rennecke <amylaar@cygnus.co.uk>
3378
3379 * rtl.h (force_line_numbers, restore_line_number_status): Declare.
3380 * emit-rtl.c (force_line_numbers, restore_line_number_status):
3381 New functions.
3382 * stmt.c (struct nesting): Replace seenlabel with line_number_status.
3383 (expand_start_case): Adjust to this change.
3384 (check_seenlabel): New function.
3385 (pushcase, pushcase_range, expand_endcase): Use it.
3386
3387 Tue Feb 17 10:14:32 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
3388
3389 * i386.md (adddi3): Add =!r,0,0,X alternative.
3390
3391 Mon Feb 16 16:13:43 1998 David Edelsohn <edelsohn@mhpcc.edu>
3392
3393 * rs6000.h (MY_ISCOFF): Add numeric value of U803XTOCMAGIC.
3394 * x-aix31 (INSTALL): Delete.
3395
3396 Mon Feb 16 09:24:32 1998 Gavin Koch <gavin@cygnus.com>
3397
3398 * mips/mips.c (mips_expand_epilogue): Update tsize_rtx if
3399 tsize changes to something other than zero.
3400
3401 Mon Feb 16 09:11:48 1998 Gavin Koch <gavin@cygnus.com>
3402
3403 * ginclude/va-mips.h: Replace casts of pointers to int with
3404 casts of pointers to __PTRDIFF_TYPE__.
3405
3406 Mon Feb 16 08:17:14 1998 John Carr <jfc@mit.edu>
3407
3408 * loop.c (strength_reduce, record_biv, record_giv): Use
3409 HOST_WIDE_INT_PRINT_DEC to print CONST_INT values.
3410
3411 1998-02-16 Jason Merrill <jason@yorick.cygnus.com>
3412
3413 * tree.c (first_rtl_op): New fn.
3414 (unsave_expr_now): Use it.
3415 * print-tree.c (print_node): Likewise.
3416 * tree.c (has_cleanups): New fn.
3417 * fold-const.c (fold, case CLEANUP_POINT_EXPR): Use it. Be more
3418 conservative about pushing the cleanup point down.
3419 * tree.h: Declare them.
3420
3421 Sun Feb 15 23:28:44 1998 Jeffrey A Law (law@cygnus.com)
3422
3423 * toplev.c (flag_schedule_reverse_before_reload): Delete variable.
3424 (flag_schedule_reverse_after_reload): Likewise.
3425 (f_options): Remove reverse scheduling support.
3426 * flags.h (flag_schedule_reverse_before_reload): Delete declaration.
3427 (flag_schedule_reverse_after_reload): Likewise.
3428 * haifa-sched.c (rank_for_schedule): Remove support for reverse
3429 scheduling.
3430
3431 Sun Feb 15 21:33:55 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3432
3433 * gcc.c: Get system includes, prototypes and macros via "system.h"
3434 instead of doing it manually. Change all calls of the ctype
3435 macros to custom versions defined in "system.h".
3436
3437 * system.h: Fix return type of bcmp prototype from `void' to `int'.
3438 Make bcopy, bcmp and bzero prototypes explicitly `extern'.
3439 Add a prototype for getenv.
3440
3441 Sun Feb 15 17:05:41 1998 Jim Wilson <wilson@cygnus.com>
3442
3443 * mips/mips.h (INITIAL_ELIMINATION_OFFSET): Readd Jun 6 change.
3444
3445 Sun Feb 15 15:23:15 1998 John Carr <jfc@mit.edu>
3446
3447 * alias.c: Include <stdlib.h> and <string.h>.
3448 (init_alias_analysis): Pass NULL_RTX instead of 0 to record_set.
3449
3450 Sat Feb 14 11:23:09 PST 1998 Jeff Law (law@cygnus.com)
3451
3452 * version.c: Bump for snapshot.
3453
3454 Sat Feb 14 05:08:21 1998 Richard Earnshaw (rearnsha@arm.com)
3455
3456 * arm.md (movsfcc): Also validate operands[3] when compiling hard
3457 float.
3458 (movdfcc): Only accept fpu_add_operand for operands[3].
3459
3460 * arm/t-semi (STMP_FIXPROTO): Define to nothing.
3461 * arm/t-semiaof (STMP_FIXPROTO): Likewise.
3462
3463 Sat Feb 14 02:02:41 1998 Jeffrey A Law (law@cygnus.com)
3464
3465 * varasm.c (output_constant_pool): Bring back 'done' label inside
3466 an appropriate #ifdef.
3467
3468 * bitmap.c (bitmap_element_allocate): Wrap variable 'i' in an
3469 appropriate #ifdef.
3470 (bitmap_copy, bitmap_operation): Likewise.
3471 * combine.c (combinable_i3pat): Similarly for 'src'.
3472 * function.c (fixup_var_refs_1): Similarly for 'outerdest'.
3473 (locate_and_pad_parm): Similarly for 'reg_parm_stack_space'.
3474 * regclass.c (copy_cost): Similarly for 'secondary_class'.
3475 * reload.c (make_memloc): Simliarly for 'i'.
3476 (find_reloads_address_1): Similarly for 'link'.
3477 * reload1.c (reload): Similarly for 'previous_frame_pointer_needed'.
3478 (emit_reload_insns): Similarly for 'second_reloadreg'.
3479 * unroll.c (iteration_info): Similarly for 'v'.
3480
3481 * caller-save.c (insert_save_restore): Remove unused variable 'i'.
3482 * calls.c (expand_call): Similarly for 'i'.
3483 (emit_library_call, emit_library_call_value): Similarly for 'mode'.
3484 * fold-const.c (strip_compund_expr): Similarly for 'type'.
3485 * function.c (fixup_var_refs_1): Similarly for 'width'.
3486 (fixup_memory_subreg): Similarly for 'saved'.
3487 (locate_and_pad_parm): Similarly for 'boundary_in_bytes.'
3488 (setjmp_protect): Similarly for 'sub'.
3489 (thread_prologue_and_epilogue_insns): Similarly for 'insn'.
3490 * loop.c (record_giv): Similarly for 'p'.
3491 (combine_givs): Similarly for 'temp_iv'.
3492 (indirect_jump_in_function_p): Similarly for 'is_indirect_jump'.
3493 * recog.c (validate_replace_rtx_1): Similarly for 'width'.
3494 * tree.c (get_set_constructor_bytes): Similarly for 'vals'.
3495 * unroll.c (unroll_loop): Similarly for 'copy'.
3496 (iteration_info): Similarly for 'b'.
3497 * varasm.c (assemble_string): Similarly for 'i'.
3498 * i386.h (LEGITIMIZE_ADDRESS): Similarly for 'orig_x'.
3499
3500 1998-02-13 Martin von Loewis <loewis@informatik.hu-berlin.de>
3501
3502 * c-lang.c (lang_print_xnode): New function.
3503 * objc/objc-act.c (lang_print_xnode): Likewise.
3504 * print-tree.c (print_node): Call it
3505
3506 Fri Feb 13 14:38:34 1998 Jim Wilson <wilson@cygnus.com>
3507
3508 * dwarf2out.c (decl_scope_node): New type.
3509 (decl_scope_table): Change type to use it.
3510 (decl_scope_table_allocated, decl_scope_depth): Change type to int.
3511 (push_decl_scope): Use new type. New locals containing_scope, i.
3512 Add code to handle setting previous field.
3513 (scope_die_for): Change type of local i to int. Add code to use
3514 previous field.
3515 (dwarf2out_init): Use new type.
3516
3517 1998-02-13 Jason Merrill <jason@yorick.cygnus.com>
3518
3519 * except.c (emit_throw): Lose throw_used.
3520
3521 Fri Feb 13 20:36:05 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
3522
3523 * sched.c (update_flow_info, REG_WAS_0): Ignore if setting insn
3524 was deleted.
3525 * haifa-sched.c (update_flow_info, REG_WAS_0): Likewise.
3526
3527 Fri Feb 13 12:18:40 1998 Jeffrey A Law (law@cygnus.com)
3528
3529 * genextract.c (main): Fix typo.
3530
3531 Fri Feb 13 08:41:49 1998 Robert Lipe <robertl@dgii.com>
3532
3533 * c-lang.c (finish_file): Bracket declaration of static_ctors,
3534 static_dtors.
3535
3536 * calls.c (expand_call): Bracket declaration of 'rtx_before_call',
3537 'old_stack_arg_under_construction'
3538 (emit_library_call): Bracket declaration of 'upper_bound',
3539 'lower_bound', 'i', 'reg_parm_stack_space'
3540 (emit_library_call_value): Likewise.
3541 (store_one_arg):
3542
3543 * collect2.c: include <unistd.h> when appropriate.
3544 Bracket declaration of 'exportf' and 'full_real_ld_suffix'.
3545
3546 * emit-rtl.c (prev_cc0_setter): Remove unused variable 'link'.
3547
3548 * explow.c (plus_constant_for_output_wide): Remove unused variable
3549 'code'.
3550 (memory_address): Remove unused variable 'orig_x'.
3551
3552 * genattrtab.c (make_canonical): Remove unreferenced label 'cond:'.
3553 (write_const_num_delay_slots): Remove unused variable 'i'.
3554
3555 * genopinit.c (main): Remove unused variables 'dummy', 'insn_ptr'.
3556 (gen_insn): Remove unused variable 'obstack_ptr'.
3557
3558 * libgcc2.c (__bb_exit_func): Remove unused variables 'ret',
3559 'j', 'tmp', 'i'.
3560 (__bb_exit_trace_func): Remove unused variable 'e'.
3561
3562 * optabs.c (expand_binop): remove unused variables 'lhs', 'rhs',
3563 'funexp'.
3564 (expand_unop): Remove unused variable 'funexp'.
3565 (expand_complex_abs): Remove unused variable 'funexp'.
3566 (init_optabs): Bracket declaration of 'j'.
3567 (init_complex_libfuncs): Deleted. Dead static function.
3568
3569 * profile.c (branch_prob): Remove unused variables 'insn', 'dest'.
3570
3571 * reg-stack.c: Fix typo in proto for 'get_asm_operand_lengths'
3572 (reg_to_stack): 'initialized', 'before_function_beg'
3573 explictly type as ints instead of defaulting.
3574 (emit_swap_insn): Remove unused variable 'i2'.
3575 (compare_for_stack_reg): Remove unused variable 'src_note'.
3576
3577 * rtlanal.c (computed_jump_p): Remove unused variable 'computed_jump'.
3578
3579 * sched.c (actual_hazard): Bracket declaration of 'this_cost'.
3580
3581 * stmt.c (add_case_node): Add parens for assignment used as truth.
3582 (all_cases_count): Remove unused variable 'count_high'.
3583 (mark_seen_cases): Remove unused variable 'i'.
3584 (check_for_full_enumeration_handling): Remove unused variable 't'.
3585 Bracket declaration of 'all_values', 'l'.
3586
3587 * tlink.c: Include <stdlib.h>, <unistd.h>, <string.h>/<strings.h>.
3588
3589 * varasm.c (assemble_string): Remove unused variable 'i'.
3590 (immed_double_const): Remove unused variable 'in_current_obstack'.
3591 (immed_real_const_1): Likewise.
3592 (output_constant_pool): Remove unreferenced label 'done'.
3593 (output_constant): Remove unused variable 'x'.
3594
3595 * i386/i386.h (ENCODE_SECTION_INFO): TREE_PUBLIC is an int, not
3596 a string.
3597
3598 * i386/sco5.h (ASM_OUTPUT_ASCII): Add parens for assignment used
3599 as truth.
3600
3601 Fri Feb 13 10:21:41 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
3602
3603 * combine.c (can_combine_p): Handle USEs in PARALLELs.
3604
3605 Fri Feb 13 01:34:14 1998 H.J. Lu (hjl@gnu.org)
3606
3607 * config/linux.h (LIB_SPEC): Add -lc for -shared if
3608 USE_GNULIBC_1 is not defined.
3609 * config/sparc/linux.h; Ditto.
3610
3611 * config/sparc/linux64.h (LIB_SPEC): Add -lc for -shared.
3612
3613 * config/alpha/linux-elf.h (LIB_SPEC): New. Defined if
3614 USE_GNULIBC_1 is not defined.
3615
3616 Fri Feb 13 01:29:29 1998 Franz Sirl <franz.sirl-kernel@lauterbach.com>
3617
3618 * rs6000/sysv4.h (ENDFILE_SPEC): add missing %(endfile_linux)
3619 for -mcall-linux
3620
3621 Fri Feb 13 01:23:46 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3622
3623 * system.h: New file to get common systems includes and various
3624 definitions and declarations based on autoconf macros.
3625
3626 Fri Feb 13 00:46:19 1998 Jeffrey A Law (law@cygnus.com)
3627
3628 * cccp.c (new_include_prefix): Correctly handle -I./.
3629
3630 Thu Feb 12 20:16:35 1998 Michael Meissner <meissner@cygnus.com>
3631
3632 * rs6000.md: Replace gen_rtx (CONST_INT,...) with GEN_INT.
3633
3634 Thu Feb 12 16:45:17 1998 Robert Lipe <robertl@dgii.com>
3635
3636 * expr.c (expand_assignment): Correct typo exposed by -Wall.
3637 offset should have been a truth value, not an assignment.
3638
3639 Thu Feb 12 15:26:50 1998 Jeffrey A Law (law@cygnus.com)
3640
3641 * cse.c (delete_dead_from_cse): If a libcall produces a constant
3642 result and that result can be substituted into SET_SRC of the
3643 insn with the REG_RETVAL note, then perform the substitution
3644 and delete the libcall.
3645
3646 Thu Feb 12 14:04:09 1998 Gavin Koch <gavin@cygnus.com>
3647
3648 * mips.md (trucndihi2,truncdiqi2): Change these to support
3649 mips16.
3650
3651 Thu Feb 12 11:34:55 1998 Gavin Koch <gavin@cygnus.com>
3652
3653 * mips/mips.c (movdi_operand): Direct referances to symbols
3654 that arn't mips16 consts in mips16 mode arn't valid operands.
3655
3656 * mips/mips.c (mips_move_2words): Add gprel handling.
3657
3658 Thu Feb 12 11:18:37 1998 Gavin Koch <gavin@cygnus.com>
3659
3660 * mips.md (extendsidi2): Allow extension to/from a non-mips16
3661 register.
3662
3663 Thu Feb 12 00:04:16 1998 Marc Lehmann <pcg@goof.com>
3664
3665 * i386.c: Conditionally include <stdlib.h>, <string.h>, and
3666 <strings.h>.
3667
3668 Wed Feb 11 11:43:34 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3669
3670 * Makefile.in (WARN_CFLAGS): New variable.
3671 (bootstrap, bootstrap2, bootstrap3, bootstrap4): Use it.
3672
3673 1998-02-11 Mark Mitchell <mmitchell@usa.net>
3674
3675 * config/i386/i386.c (reg_mentioned_in_mem): Don't abort when
3676 falling through default case in switch.
3677 (i386_aligned_p): Likewise.
3678
3679 Wed Feb 11 12:59:56 1998 Lee Iverson <leei@Canada.AI.SRI.COM>
3680
3681 * mips/mips.h (mips_abi_string): Correct typo in comment.
3682
3683 Wed Feb 11 08:29:56 1998 Gavin Koch <gavin@cygnus.com>
3684
3685 * mips/mips.md (movdi): These PLUS's need to be Pmode.
3686
3687 Wed Feb 11 01:47:54 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3688
3689 * Makefile.in (dwarf2out.o, emit-rtl.o, jump.o, cse.o, unroll.o,
3690 reorg.o, regmove.o): Depend on insn-codes.h, it gets included
3691 indirectly via expr.h.
3692
3693 Wed Feb 11 01:44:13 1998 Richard Henderson <rth@cygnus.com>
3694
3695 * stor-layout.c (layout_type): Do upper - lower in the native type,
3696 so as to properly handle negative indices.
3697
3698 Wed Feb 11 01:35:55 1998 Robert Lipe <robertl@dgii.com>
3699
3700 * except.c (start_dynamic_cleanup): Remove unused variable 'dhc'.
3701 (expand_eh_region_start_tree): Remove unused variable 'note'.
3702 (exception_optimize): Remove unused variable 'regions'.
3703 (expand_builtin_eh_stub): Remove unused variable 'temp'.
3704 (copy_eh_entry): Deleted. Dead function.
3705
3706 * expr.c (move_block_to_reg) Bracket declaration of 'pat' and
3707 'last' with same #if HAVE_load_multiple as use of it.
3708 (move_block_from_reg): Likewise.
3709 (emit_move_insn_1): Remove unused variable 'insns'.
3710 (store_constructor): Bracket declaration of startb, endb with
3711 #if TARGET_MEMFUNCTIONS. Remove unused variables 'set_word_size'
3712 'target', and 'xtarget'.
3713 (expand_builtin_setjmp): Remove unused variables 'op0',
3714 'next_arg_reg', 'old_inhibit_defer_pop'.
3715 (expand_builtin): Remove unused variable 'offset'.
3716 (do_store_flag): Remove unused variables 'pattern', 'jump_pat'.
3717 (emit_queue): Add parens for assignment used as conditional.
3718 (expand_expr): case TARGET_EXPR: Remove unused variable 'temp'.
3719
3720 Wed Feb 11 01:30:49 1998 Marc Lehmann <pcg@goof.com>
3721
3722 * i386.c: Added include for recog.h.
3723 (override_options): Removed unused variable p. Initialized regno to
3724 avoid warning.
3725 (order_regs_for_local_alloc): Initialized regno to avoid warning.
3726 (legitimize_address): Likewise for 'other'.
3727 (i386_aligned_reg_p): Added default case with abort ().
3728 (print_operand): Likewise.
3729 (reg_mentioned_in_mem): Likewise.
3730 (ix86_expand_binary_operator): Removed unused variables i & insn.
3731 (ix86_expand_unary_operator): Removed unused variable insn.
3732 (output_fp_cc0_set): Removed unused variable unordered_label.
3733
3734 Wed Feb 11 01:23:03 1998 John F. Carr <jfc@mit.edu>
3735
3736 * i386.c, i386.h, i386.md: Change gen_rtx (X, ...) to gen_rtx_X (...).
3737 Use GEN_INT instead of gen_rtx (CONST_INT). Make printf arguments
3738 and format string match.
3739
3740 Wed Feb 11 01:17:39 1998 Jeffrey A Law (law@cygnus.com)
3741
3742 * flow.c (life_analysis): Do not conside the stack pointer live at
3743 the end of a function if the fucntio ncalls alloca.
3744 (mark_used_regs): Similarly.
3745
3746 1998-02-10 John F Carr <jfc@mit.edu>
3747
3748 * config/sparc/sparc.md (movdi_v8plus): Output stx on alternative
3749 1, fzero on alternative 8.
3750
3751 Tue Feb 10 09:02:19 1998 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
3752
3753 * rs6000.c (setup_incoming_varargs): Always set rs6000_sysv_varargs_p.
3754
3755 Tue Feb 10 03:35:43 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
3756
3757 * reload.c (find_reloads_toplev): Handle arbitrary non-paradoxical
3758 SUBREGs of CONST_INTs.
3759
3760 Mon Feb 9 17:52:36 1998 John Carr <jfc@mit.edu>
3761
3762 * mips.c (print_operand, function_prologue): Make printf format
3763 match argument type.
3764
3765 Mon Feb 9 02:37:25 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3766
3767 * alpha.c (alpha_return_addr): Remove unused variable `first'.
3768 (alpha_ra_ever_killed): Remove unused variables `ra' and `i'.
3769 (output_epilog): Remove unused variable `frame_size_from_reg_save'.
3770
3771 Sun Feb 8 14:56:03 1998 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
3772
3773 * loop.c (strength_reduce): When placing increment for auto-inc
3774 case, do comparison in loop order.
3775
3776 Sun Feb 8 13:21:38 1998 John Carr <jfc@mit.edu>
3777
3778 * bitmap.c (bitmap_debug_file): HOST_PTR_PRINTF converts a pointer,
3779 not a HOST_WIDE_INT.
3780
3781 * calls.c (expand_call): Change test of expand_inline_function
3782 return value to stop compiler warning.
3783
3784 * genattrtab.c (RTL_HASH): Cast pointer to long, not HOST_WIDE_INT.
3785
3786 Sun Feb 8 12:04:24 1998 Jim Wilson (wilson@cygnus.com)
3787 Jeff Law (law@cygnus.com)
3788
3789 * regmove.c: Fix various minor formatting problems.
3790 (optimize_reg_copy_1): Stop search at CALL_INSNs if flag_exceptions
3791 is true. Make end of basic block tests consistent through regmove.c.
3792 (optimize_reg_copy_2, optimize_reg_copy_3): Likewise.
3793 (fixup_match_2, fixup_match_1, regmove_optimize): Likewise.
3794
3795 Sun Feb 8 01:49:18 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3796
3797 * gansidecl.h: Check for a conflicting macro definition before
3798 attempting to prototype bcopy, bcmp or bzero.
3799
3800 Sun Feb 8 00:09:59 1998 Jeffrey A Law (law@cygnus.com)
3801
3802 * expr.c (clear_pending_stack_adjust): Handle case where a function
3803 calls alloca, but the user has specified -fomit-fframe-pointer.
3804
3805 * function.c (assign_parms): Fix typo in last change.
3806
3807 Sat Feb 7 23:54:29 1998 Robert Lipe <robertl@dgii.com>
3808
3809 * gcc.c: Include <strings.h>/<string.h>, <stdlib.h>, <unistd.h>,
3810 <fcntl.h>.
3811 (free_path_suffix): Remove unreferenced static function.
3812 (process_command): Remove unused variable temp.
3813 (default_arg): Remove unused variable i.
3814 (do_spec_1): Add parens for assignment used as truth value.
3815 (main): Likewise.
3816 (validate_all_switches): Likewise.
3817 (main): Remove unused variables i, first_time>
3818
3819 * c-common.c: Include <stdlib.h> and <string.h>/<strings.h>.
3820
3821 * calls.c (expand_call): Remove unused variables funtree,
3822 n_regs, and tmpmode.
3823
3824 * dbxout.c, except.c: Include <string.h>/<strings.h>.
3825
3826 * explow.c: (plus_constant_for_output_wide) Removed unused
3827 variable all_constant.
3828
3829 * c-decl.c, genattr.c, genattrtab.c, getconfig.c, genemit.c
3830 genextract.c, genflags.c, genopinit.c genoutput.c, genpeep.c,
3831 genrecog.c, global.c, integrate.c , stupid.c : Include
3832 <stdlib.h>.
3833
3834 * genextract.c: (walk_rtx) Remove unused variable link.
3835
3836 * genrecog.c: (concat) Remove unreferenced static function.
3837
3838 * prefix.c: Include <string.h>/<strings.h>, <stdlib.h>
3839
3840 * stmt.c: Include <stdlib.h>.
3841 (expand_asm_operands): Remove unused variable val1.
3842 (expand_return): Remove unused variable block.
3843 (pushcase): Remove unused variables l and n.
3844 (pushcaserange): Likewise.
3845
3846 * unroll.c (unroll_loop): Remove unused variable temp.
3847
3848 Sat Feb 7 23:46:09 1998 Greg McGary <gkm@gnu.org>
3849
3850 * c-decl.c (pushdecl): Set DECL_ORIGINAL_TYPE once only.
3851
3852 Sat Feb 7 15:11:28 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3853
3854 * aclocal.m4 (GCC_FUNC_PRINTF_PTR): New macro to test the printf
3855 functions for whether they support the %p format specifier.
3856 * acconfig.h (HOST_PTR_PRINTF): Insert stub for autoconf.
3857 * configure.in (GCC_FUNC_PRINTF_PTR): Use it.
3858 * configure, config.in: Rebuild.
3859
3860 Fri Feb 6 14:20:16 1998 Jim Wilson <wilson@cygnus.com>
3861
3862 * function.c (assign_parms): New variable named_arg, with value
3863 depending on STRICT_ARGUMENT_NAMING. Use instead of ! last_named.
3864
3865 Fri Feb 6 14:34:28 1998 Gavin Koch <gavin@cygnus.com>
3866
3867 * mips/t-r3900: New - same as t-ecoff but eliminate
3868 multilibs: mips1 and mips3.
3869 * configure.in (tx39*): Use new mips/t-r3900.
3870 * configure: Rebuild.
3871 * mips/r3900.h (MULTILIB_DEFAULTS): Eliminate mips1.
3872
3873 1998-02-06 Jason Merrill <jason@yorick.cygnus.com>
3874
3875 * dwarf2out.c: Add old_args_size.
3876 (dwarf2out_args_size): Use it.
3877 (dwarf2out_begin_prologue): Initialize it.
3878 (dwarf2out_stack_adjust): If !asynchronous_exceptions, save up
3879 pushed args until we see a call.
3880 * final.c (final_scan_insn): Hand CALL_INSNs off to the dwarf2 code
3881 before outputting them.
3882
3883 1998-02-06 Kriang Lerdsuwanakij <lerdsuwa@scf.usc.edu>
3884
3885 * cplus-dem.c (demangle_template_template_parm): New function.
3886 (demangle_template): Handle template template parameters.
3887
3888 1998-02-02 Mark Mitchell <mmitchell@usa.net>
3889
3890 * calls.c (expand_call): Don't confuse member functions named
3891 realloc, setjmp, and so forth with the standard library
3892 functions of the same names.
3893
3894 Thu Feb 5 21:59:49 1998 Jeffrey A Law (law@cygnus.com)
3895
3896 * stmt.c (expand_asm_operands): Correctly identify asm statements
3897 no output operands.
3898
3899 Thu Feb 5 21:56:06 1998 Mumit Khan <khan@xraylith.wisc.edu>
3900
3901 * c-common.c (decl_attributes): Flag unrecognized attribute
3902 functions as warnings instead of as errors.
3903
3904 1998-02-05 Marc Lehmann <pcg@goof.com>
3905
3906 * integrate.c (INTEGRATE_THRESHOLD): Inline only small functions
3907 when -Os is specified.
3908 * toplev.c (main): Don't disable flag_inline_functions anymore when
3909 -Os is in effect.
3910
3911 Fri Feb 6 00:27:36 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
3912
3913 * regmove.c: Update.
3914 * flags.h (flag_regmove): Declare.
3915 * rtl.h (optimize_reg_copy_1, optimize_reg_copy_2): Don't declare.
3916 * local-alloc.c (optimize_reg_copy_1, optimize_reg_copy_2):
3917 Moved into regmove; changed caller.
3918 * toplev.c (rest_of_compilation): Call regmove_optimize also for
3919 expensive_optimizations.
3920
3921 Thu Feb 5 13:38:42 PST 1998 Jeff Law (law@cygnus.com)
3922
3923 * version.c: Bump for snapshot.
3924
3925 Thu Feb 5 01:45:19 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
3926 Undo this change (the problem was actually in reload):
3927 Fri Jan 23 23:28:59 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
3928
3929 * sh.md (movqi_i+1): New peephole.
3930
3931 Tue Feb 3 01:11:12 1998 Jeffrey A Law (law@cygnus.com)
3932
3933 * jump.c (jump_optimize): Lose calls to modified_in_p they are
3934 not needed anymore due to changes elsewhere in jump.c.
3935
3936 * jump.c (jump_optimize): Fix first arg to modified_in_p in
3937 previous change.
3938
3939 Mon Feb 2 19:18:14 1998 Richard Henderson <rth@cygnus.com>
3940
3941 * expr.c (expand_builtin_setjmp): Accept two new arguments for
3942 the labels to branch to on first and subsequent executions. Don't
3943 play with __dummy. Rename `setjmp' insn to `builtin_setjmp_setup',
3944 and provide it with the jmp_buf. Use only one of
3945 `builtin_setjmp_receiver' or `nonlocal_goto_receiver',
3946 and provide the former with the target label.
3947 (expand_builtin) [BUILTIN_SETJMP]: Generate a label for use by setjmp.
3948 (expand_builtin) [BUILTIN_LONGJMP]: Split out to ...
3949 (expand_builtin_longjmp): ... here. Recognize a `builtin_longjmp'
3950 insn to replace all of the normal nonlocal_goto code. Don't play
3951 with __dummy. Correct arguments to nonlocal_goto.
3952 * expr.h (expand_builtin_setjmp): Update prototype.
3953 * except.c (start_dynamic_handler): When using builtin_setjmp,
3954 generate more accurate flow information.
3955
3956 * alpha.md (nonlocal_goto_receiver_osf): Delete.
3957 (nonlocal_goto_receiver_vms): Rename to nonlocal_goto_receiver.
3958 (builtin_longjmp, builtin_setjmp_receiver): New.
3959 * sparc.md (update_return): Disambiguate unspec number.
3960 (nonlocal_goto): Rearrange arguments to match caller in except.c.
3961 (builtin_setjmp_setup): Rename from setjmp. Match and ignore the
3962 jmp_buf operand.
3963 * mips.md (nonlocal_goto_receiver, builtin_setjmp_receiver): Remove.
3964 (builtin_setjmp_setup*, builtin_longjmp): New.
3965
3966 Mon Feb 2 16:43:10 1998 John Carr <jfc@mit.edu>
3967
3968 * mips.md: Change gen_rtx (CONST_INT) to GEN_INT.
3969
3970 Mon Feb 2 13:06:47 1998 Jim Wilson <wilson@cygnus.com>
3971
3972 * vmsconfig.com: Remove bytecode references.
3973
3974 1998-01-30 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3975
3976 * dwarf2out.c (dwarf2out_frame_init): Undo last change, so that
3977 -fno-sjlj-exceptions works for a target that defines
3978 DWARF2_UNWIND_INFO as zero.
3979
3980 * regmove.c (fixup_match_1): Undo last change which removed some
3981 "useless" code, and add a comment explaining this.
3982
3983 Mon Feb 2 10:47:14 1998 Gavin Koch (gavin@cygnus.com)
3984
3985 * mips.c (mips_expand_prologue): Change uses of TARGET_64BIT
3986 to TARGET_LONG64.
3987
3988 Mon Feb 2 10:38:41 1998 Klaus Kaempf <kkaempf@progis.de>
3989
3990 * makefile.vms: Remove bytecode references.
3991 Create genrtl files.
3992
3993 Mon Feb 2 02:08:04 1998 Michael P. Hayes <michaelh@ongaonga.chch.cri.nz>
3994
3995 * jump.c (jump_optimize): Allow conditional loading of floating point
3996 constants and constants from memory. Reinstalled modified_in_p tests.
3997
3998 Mon Feb 2 01:38:39 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
3999
4000 * loop.c (get_condition): Handle sign-extended constants.
4001
4002 Mon Feb 2 01:22:46 1998 Hans-Peter Nilsson <hp@axis.se>
4003
4004 * expr.c (emit_push_insn): Add code to use movstrti if present.
4005
4006 * expr.c (emit_push_insn): Use same max-move-amount for movstrhi
4007 and movstrqi as in emit_block_move ().
4008
4009 Mon Feb 2 00:09:52 1998 Toon Moene <toon@moene.indiv.nluug.nl>
4010
4011 * config/m68k/x-next: Remove /NextDeveloper/Headers from
4012 the directories to fixinclude - /usr/include is a link
4013 to it and hence its contents are fixed by default.
4014
4015 Sun Feb 1 14:15:33 1998 Franz Sirl <franz.sirl-kernel@lauterbach.com>
4016
4017 * rs6000/linux.h: define JUMP_TABLES_IN_TEXT_SECTION
4018
4019 Sun Feb 1 13:01:15 1998 Klaus Kaempf <kkaempf@progis.de>
4020
4021 * cccp.c (main): Predefine __VMS_VER on VMS.
4022
4023 Sun Feb 1 12:39:53 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
4024
4025 * expr.c (get_inner_reference): Use sbitsizetype for type sizes.
4026 * fold-const.c (size_int): Replace with
4027 (size_int_wide).
4028 (make_bit_field_ref): Use bitsize_int for bit position.
4029 * stor-layout.c (sizetype): Delete.
4030 (sizetype_tab, sbitsizetype, ubitsizetype): Declare.
4031 (layout_record, layout_union, layout_type):
4032 Use bitsize_int for bit size.
4033 (set_sizetype): New function.
4034 (make_signed_type, make_unsigned_type): Use it.
4035 * c-decl.c (init_decl_processing): Likewise.
4036 * tree.h (size_int): Don't delcare, #define.
4037 (size_int_wide, sizetype_tab, sbitsize, ubitsize): Declare.
4038 (set_sizetype): Declare.
4039 (bitsize_int, size_int_2, BITS_PER_UNIT_LOG, sizetype, bitsizetype):
4040 Define.
4041 * c-typeck.c (c_sizeof, c_sizeof_nowarn, c_size_in_bytes):
4042 Convert result to sizetype.
4043 (really_start_incremental_init, push_init_level):
4044 Set type of constructor_bit_index to sbitsizetype.
4045 (push_init_level): Use unsigned arithmetic to determine padding.
4046 (output_init_element): Likewise.
4047
4048 Sun Feb 1 03:32:07 1998 Jeffrey A Law (law@cygnus.com)
4049
4050 * combine.c (simplify_shift_const): Fix typo in last change.
4051
4052 Sun Feb 1 02:50:46 1998 John Carr <jfc@mit.edu>
4053
4054 * combine.c (simplify_shift_const): (lshiftrt (truncate (lshiftrt)))
4055 is (truncate (lshiftrt)).
4056
4057 Sun Feb 1 01:06:53 1998 Richard Henderson <rth@cygnus.com>
4058
4059 * alpha.c (alpha_expand_unaligned_load): Use expand_binop properly.
4060 Make sure result winds up in TGT.
4061 (alpha_expand_unaligned_store): Use expand_binop properly. Allow
4062 src to be other than DImode.
4063 (alpha_expand_unaligned_load_words): Tidy. Take an offset argument.
4064 (alpha_expand_unaligned_store_words): Likewise.
4065 (alpha_expand_block_move): Use REGNO_POINTER_ALIGN. Restructure so
4066 that source and destination are separately optimized for alignment.
4067 (alpha_expand_block_clear): Use REGNO_POINTER_ALIGN.
4068
4069 Sun Feb 1 01:55:09 1998 Jeffrey A Law (law@cygnus.com)
4070
4071 * mips.md (adddi3_internal_2): Be consistent with adddi3 expander
4072 with handling of -32768.
4073
4074 Sun Feb 1 01:48:18 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4075
4076 * aclocal.m4 (GCC_NEED_DECLARATION): Modify macro to accept a
4077 shell variable argument instead of only hard coded functions.
4078 (GCC_NEED_DECLARATIONS): New macro to accept multiple functions.
4079
4080 * configure.in: Collapse multiple calls to AC_CHECK_FUNCS into one
4081 call. Collapse multiple calls to GCC_NEED_DECLARATION into one
4082 call to GCC_NEED_DECLARATIONS (new macro.) Check if we need
4083 declarations for bcopy, bcmp and bzero.
4084
4085 * acconfig.h: Add stubs for bcopy, bcmp and bzero declarations.
4086
4087 * gansidecl.h: If we have bcopy but don't declare it, then do so.
4088 Likewise for bcmp and bzero. Only define macros for bcopy, bcmp,
4089 bzero, index and rindex if they aren't already present.
4090
4091 Sat Jan 31 11:26:58 1998 Jeffrey A Law (law@cygnus.com)
4092
4093 * toplev.c (close_dump_file): Wrap function prototype for
4094 argument "func" in PROTO.
4095 (dump_rtl): Likewise.
4096
4097 Fri Jan 30 22:30:39 1998 John Carr <jfc@mit.edu>
4098
4099 * sparc.c (sparc_override_options): Make v8plus and ultrasparc set
4100 MASK_V8PLUS.
4101 (output_function_epilogue): Omit epilogue if nothing drops through.
4102 (output_move_double): Supress int ldd usage on ultrasparc and v9.
4103 (registers_ok_for_ldd_peep): Likewise.
4104 (print_operand): Supress b,a on ultrasparc. Let Y accept a constant.
4105 (ultrasparc_adjust_cost): New function.
4106 (sparc_issue_rate): New function.
4107 * sparc.h (MASK_VIS, TARGET_VIS): New
4108 (MASK_V8PLUS, TARGET_V8PLUS): New.
4109 (TARGET_HARD_MUL32, TARGET_HARD_MUL): New.
4110 (TARGET_SWITCHES): Add vis and v8plus.
4111 (REG_CLASS_FROM_LETTER): Accept d and b for VIS.
4112 (REGISTER_MOVE_COST): FP<->INT move cost 12 for ultrasparc.
4113 (RTX_COSTS): Use TARGET_HARD_MUL
4114 (ADJUST_COST): Call ultrasparc_adjust_cost.
4115 (ISSUE_RATE): New.
4116 * sparc.md (attr type): Add sload, fpmove, fpcmove. Adjust users
4117 of load & fp appropritely.
4118 (supersparc function units): Adjust for Haifa.
4119 (ultrasparc function units): Likewise.
4120 (get_pc_via_rdpc): All v9, not just arch64.
4121 (movdi_v8plus, movdi_v8plus+1): New.
4122 (adddi3_sp32+1): New.
4123 (subdi3_sp32+1): New.
4124 (movsi_insn, movsf_const_insn, movdf_const_insn): Know VIS.
4125 (addsi3, subsi3, anddi3_sp32, andsi3, and_not_di_sp32): Likewise.
4126 (and_not_si, iordi3_sp32, iorsi3, or_not_di_sp32, or_not_si): Likewise.
4127 (xorsi3_sp32, xorsi3, xor_not_di_sp32, xor_not_si): Likewise.
4128 (one_cmpldi2_sp32, one_cmplsi2): Likewise.
4129 (ldd peepholes): Suppress for v9.
4130 (return_adddi): Kill redundant test. Arg1 may be arith_operand.
4131 (return_subsi): Revmove.
4132
4133 Fri Jan 30 18:30:03 1998 John F Carr <jfc@mit.edu>
4134
4135 * mips.c (save_restore_insns): Set RTX_UNCHANGING_P in register
4136 save/restore MEM rtl.
4137
4138 Fri Jan 30 09:08:16 1998 Jeffrey A Law (law@cygnus.com)
4139
4140 * configure.in: Check for declaration of abort.
4141 * acconfig.h: Corresponding changes.
4142 * toplev.c: Use NEED_DECLARATION_ABORT to determine if abort should
4143 be declared.
4144
4145 Thu Jan 29 20:26:12 1998 Jeffrey A Law (law@cygnus.com)
4146
4147 * genattrtab.c (optimize): Define in case PRESERVE_DEATH_INFO_REGNO_P
4148 uses it.
4149
4150 Thu Jan 29 09:27:56 PST 1998 Jeff Law (law@cygnus.com)
4151
4152 * version.c: Bump for snapshot.
4153
4154 Thu Jan 29 10:12:27 1998 Jeffrey A Law (law@cygnus.com)
4155
4156 * configure.in: Check for atoq and atoll.
4157 * rtl.c (read_rtx): Use HAVE_ATOLL and HAVE_ATOQ to select the
4158 proper routine for converting ascii into long long values.
4159
4160 Thu Jan 29 01:28:14 1998 Klaus Kaempf <kkaempf@progis.de>
4161
4162 * cccp.c (SYS$SEARCH, SYS$PARSE): Write as upper-case.
4163
4164 * vmsconfig.com: Remove bytecode references.
4165
4166 * alpha/vms.h (PREFIX): Define.
4167
4168 * alpha/vms.h (ASM_OUTPUT_ALIGNED_COMMON): Remove.
4169
4170 * am-alpha.h: Don't include alloca for OPEN_VMS.
4171
4172 * alpha/xm-vms.h (HAVE_CPP_STRINGIFY): Define.
4173
4174 * alpha/xm-vms.h (INCLUDE_DEFAULTS): Define.
4175 (GCC_INCLUDE_DIR): Define
4176
4177 * make-cc.com, make-cccp.com, make-cc1.com: Removed.
4178 * makefile.vms: New file.
4179
4180 * alpha/vms.h (CPP_PREDEFINES): Remove -Dalpha.
4181
4182 * alpha.c (output_prolog): Output '.name' directive
4183 for minimal traceback information.
4184
4185 * alpha.c (output_prolog): Don't prepend entry point symbols
4186 with '$' on OPEN_VMS.
4187
4188 Thu Jan 29 00:25:35 1998 David S. Miller <davem@tanya.rutgers.edu>
4189 Jeffrey A Law (law@cygnus.com)
4190
4191 * rtl.c (read_rtx): Use atol/atoq based upon disposition of
4192 HOST_WIDE_INT.
4193
4194 * genattrtab.c (write_test_expr): Use HOST_WIDE_INT_PRINT_DEC
4195 as needed.
4196 * genemit.c (gen_exp): Likewise.
4197 * genpeep.c (match_rtx): Likewise.
4198 * genrecog.c (write_tree_1): Likewise.
4199
4200 * c-lex.c (yyprint): Use proper format string based upon
4201 disposition of HOST_BITS_PER_WIDE_INT.
4202 (yylex): Put casts in right place for args to build_int_2.
4203
4204 Thu Jan 29 00:24:29 1998 Jeffrey A Law (law@cygnus.com)
4205
4206 * combine.c: Fix typos in Jan27 changes.
4207
4208 Thu Jan 29 00:07:49 1998 Ollivier Robert <roberto@keltia.freenix.fr>
4209
4210 * i386/freebsd.h (LIB_SPEC): Correctly handle -shared, -p and friends.
4211 (LINK_SPEC): Likewise.
4212 (STARTFILE_SPEC): Likewise.
4213
4214 1998-01-28 Mike Stump <mrs@wrs.com>
4215
4216 * rtlanal.c (dead_or_set_regno_p): Ignore REG_DEAD notes after
4217 reload completes.
4218 * genattrtab.c (reload_completed): Define.
4219
4220 * m32r.md, mips.md, mn10200.md, mn10300.md, pyr.md: Remove obsolete
4221 comments.
4222
4223 Wed Jan 28 20:11:06 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
4224
4225 * reload.c (push_reload): If WORD_REGISTER_OPERATIONS, reload the
4226 SUBREG_REG if the word count is unchanged, also in the input reload
4227 case. Disable non-applicable sanity checks.
4228
4229 Wed Jan 28 20:08:26 1998 Jeffrey A Law (law@cygnus.com)
4230
4231 * config/t-svr4 (TARGET_LIBGCC2_CFLAGS): Add -fPIC.
4232
4233 Wed Jan 28 20:04:43 1998 Ian Lance Taylor <ian@cygnus.com>
4234
4235 * i386/t-cygwin32 (LIMITS_H_TEST, LIBGCC2_INCLUDES): Define.
4236
4237 Wed Jan 28 11:45:27 1998 Per Bothner <bothner@cygnus.com>
4238
4239 * dbxout.c (dbxout_type): For a RECORD_TYPE, check that TYPE_BINFO
4240 is a TREE_VEC before trying to use it for baseclasses.
4241 (Chill uses the same field for a different purpose.)
4242
4243 * toplev.c (strip_off_ending): Generalize to endings up to 5 chars.
4244
4245 Tue Jan 27 23:15:55 1998 Lassi A. Tuura <lat@iki.fi>
4246
4247 * config.sub: More accurate determination of HP processor types.
4248
4249 Tue Jan 27 23:11:11 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4250
4251 * c-lex.c: Include <stdlib.h> and <string.h>/<strings.h>. Add
4252 prototype for `handle_sysv_pragma', and make it static. Add
4253 parentheses around assignment used as truth value.
4254
4255 * combine.c (combine_instructions): Protect variable `prev' with
4256 macro HAVE_cc0.
4257 (can_combine_p): Protect variable `link' with AUTO_INC_DEC.
4258 (extract_left_shift): Add parentheses around operand of &.
4259 (merge_outer_ops): Avoid an empty body in an else-statement.
4260 (gen_rtx_combine): Remove unused variable `i'.
4261
4262 * sparc/gmon-sol2.c: Include <fcntl.h>. Make return type of
4263 function monstartup `void'. Likewise for internal_mcount. Add
4264 `static void' prototype for moncontrol. Reconcile sprintf format
4265 vs. args.
4266
4267 * sparc/sparc.c: Include <stdlib.h> and <string.h>/<strings.h>.
4268 Make return type of function_arg_slotno explicitly `int'.
4269 (reg_unused_after): Add parentheses around assignment used as
4270 truth value.
4271 (save_regs): Add explicit braces to avoid ambiguous `else'.
4272 (function_arg_slotno): Add parentheses around && within ||.
4273 (function_arg_pass_by_reference): Likewise.
4274 (sparc_flat_output_function_prologue): Reconcile fprintf format
4275 vs. args.
4276
4277 * svr4.h (ASM_OUTPUT_LIMITED_STRING): Add parentheses around
4278 assignment used as truth value.
4279
4280 * cplus-dem.c: Include <stdlib.h>.
4281 (demangle_signature): Avoid an empty body in an else-statement.
4282 (do_type): Remove unused variable `lvl'.
4283
4284 * cppexp.c: Don't have <stdlib.h> depend on MULTIBYTE_CHARS.
4285 Include <string.h>/<strings.h>.
4286 (cpp_lex): Remove unused variable `namelen'.
4287 (cpp_lex): Explicitly declare `num_chars' as an int.
4288
4289 * cpplib.c: Avoid duplicate inclusion of <stdlib.h>, include
4290 <unistd.h> instead. Explicitly declare is_system_include
4291 returning int.
4292 (make_assertion): Remove unused variable `kt'.
4293 (cpp_expand_to_buffer): Hide variable `obuf'.
4294 (output_line_command): Remove unused variables, `line_end',
4295 `line_cmd_buf' and `len'.
4296 (macarg): Remove unused variable `arg_start'.
4297 (special_symbol): Remove unused variable `i'. Add parentheses
4298 around assignment used as truth value.
4299 (do_include): Remove unused variables `pcfname' and `retried',
4300 hide `pcf' and `pcfbuflimit'.
4301 (do_line): Remove unused variable `i'.
4302 (finclude): Hide variable `missing_newline'.
4303 (cpp_handle_options): Remove unused variable `j'.
4304 (read_token_list): Remove unused variable `eofp'.
4305 (cpp_error_with_line): Remove unused variable `i'.
4306 (cpp_warning_with_line): Likewise.
4307 (cpp_pedwarn_with_line): Explicitly declare `column' as int.
4308 (cpp_error_from_errno): Remove unused variable `i'.
4309
4310 * cse.c (invalidate): Add parentheses around assignment used as
4311 truth value.
4312 (find_best_addr): Move declaration of variable `our_cost' inside
4313 the conditional macro where its used.
4314 (fold_rtx): Avoid an empty body in an if-statement.
4315 (cse_insn): Wrap variables `this_insn_cc0_mode' and
4316 `this_insn_cc0' in macro HAVE_cc0.
4317
4318 * dwarf2out.c: Include <stdlib.h> and <string.h>/<string.h>.
4319 (ASM_OUTPUT_DWARF_DATA8): Reconcile format vs. args in fprintf's.
4320 (output_uleb128): Likewise.
4321 (output_sleb128): Likewise.
4322 (output_cfi): Likewise.
4323 (output_call_frame_info): Remove unused variables `j', `fde_size'
4324 and `fde_pad'.
4325 (comp_unit_has_inlines): Hide declaration as per rest of file.
4326 (size_of_line_prolog): Correct typo in prototype.
4327 (add_arange): Likewise.
4328 (output_aranges): Likewise.
4329 (add_name_and_src_coords_attributes): Likewise.
4330 (gen_array_type_die): Likewise.
4331 (gen_inlined_subroutine_die): Likewise.
4332 (equate_decl_number_to_die): Remove unused variable `i'.
4333 (print_die): Reconcile format vs. args in fprintf's.
4334 (print_dwarf_line_table): Likewise.
4335 (output_die): Likewise.
4336 (output_line_info): Likewise.
4337 (add_subscript_info): Avoid an empty body in an else-statement.
4338 (gen_subprogram_die): Remove unused variable `fp_loc'.
4339
4340 * dwarfout.c: Explicitly declare `next_pubname_number' as int.
4341 Protect `ordering_attribute' prototype with USE_ORDERING_ATTRIBUTE
4342 macro. Protect `src_coords_attribute' prototype with
4343 DWARF_DECL_COORDINATES macro. Hide `output_entry_point_die'
4344 prototype as in the rest of the file. Likewise for
4345 `output_pointer_type_die' and `output_reference_type_die'. Remove
4346 prototype for `type_of_for_scope'.
4347 (output_unsigned_leb128): Reconcile format vs. args in fprintf.
4348 (type_attribute): Add explicit braces to avoid ambiguous `else'.
4349
4350 * final.c: Include <stdlib.h> and <string.h>/<strings.h>.
4351 (shorten_branches): Protect declaration of tmp_length with
4352 SHORTEN_WITH_ADJUST_INSN_LENGTH and ADJUST_INSN_LENGTH macros.
4353 (profile_function): Protect declaration of `sval' and `cxt'
4354 variables with appropriate macros.
4355 (final_scan_insn): Likewise for `note' variable. Add explicit
4356 braces to avoid empty body in an if-statement.
4357 (output_asm_insn): Move variable `i' inside macro conditional
4358 where it is used. Add parentheses around assignment used as truth
4359 value.
4360 (asm_fprintf) Likewise, likewise.
4361
4362 * fix-header.c (main): Remove unused variable `done'. Protect
4363 declaration of `i' with FIXPROTO_IGNORE_LIST.
4364
4365 * pexecute.c: Include <unistd.h>. Prototype `my_strerror'.
4366
4367 * print-rtl.c (print_inline_rtx): Explicitly declare the parameter
4368 `ind'.
4369
4370 * profile.c: Include <string.h>/<strings.h>.
4371 (instrument_arcs): Remove unused variables `note', `inverted',
4372 `zero' and `neg_one'.
4373 (branch_prob): Avoid empty body in an if-statement.
4374
4375 * regclass.c: Include <stdlib.h>.
4376 (reg_alternate_class): Explicitly declare parameter `regno'.
4377
4378 * regmove.c (regmove_optimize): Remove unused variable `p'. Add
4379 parentheses around assignment used as truth value.
4380 (find_matches): Remove unused variables `output_operand' and
4381 `matching_operand'.
4382 (fixup_match_1): Remove statement with no effect: "if (0) ;".
4383
4384 * scan.c (sstring_append): Explicitly declare `count' as int.
4385 (scan_string): Explicitly declare parameter `init' as int.
4386
4387 * sched.c: Include <stdlib.h>.
4388 (BLOCKAGE_RANGE): Add parentheses around arithmetic in operand of |.
4389 (rank_for_schedule): Add parentheses around assignment used as
4390 truth value.
4391 (schedule_block): Likewise.
4392 (regno_use_in): Likewise.
4393 (schedule_insns): Remove unused variable `i'.
4394
4395 * toplev.c: Include <stdlib.h> and <string.h>/<strings.h>.
4396 (v_message_with_decl): Remove unused variable `n'.
4397 (botch): Explicitly declare parameter `s' as char *.
4398 (main): Add parentheses around assignment used as truth value.
4399
4400 * tree.c (make_node): Protect the variable `kind' with the
4401 GATHER_STATISTICS macro.
4402 (real_value_from_int_cst): Move variable `e' inside conditional
4403 macro area where it is used.
4404 (tree_last): Add parentheses around assignment used as truth value.
4405 (build1): Protect the variable `kind' with the GATHER_STATISTICS
4406 macro.
4407 (print_obstack_statistics): Reconcile format vs. args in fprintf.
4408 Protect variables `i', `total_nodes', and `total_bytes' with the
4409 GATHER_STATISTICS macro.
4410
4411 Tue Jan 27 23:01:55 1998 Mike Stump (mrs@wrs.com)
4412
4413 * m32r.md, mips.md, mn10200.md, mn10300.md, pyr.md: Add
4414 some comments regarding use of dead_or_set_p.
4415
4416 Tue Jan 27 22:14:48 1998 Todd Vierling <tv@pobox.com>
4417
4418 * fixincludes: Tweak fix for struct exception in math.h
4419
4420 Tue Jan 27 17:21:09 1998 Gavin Koch (gavin@cygnus.com)
4421
4422 * mips/mips.c (mips_expand_prologue,mips_expand_epilogue):
4423 Change mode of registers used to add/sub from
4424 hard_frame_pointer_rtx from word_mode to Pmode.
4425
4426 Tue Jan 27 11:02:04 1998 Nick Clifton <nickc@cygnus.com>
4427
4428 * v850.h (ASM_OUTPUT_ALIGNED_BSS): Use
4429 asm_output_aligned_bss() instead of asm_output_bss().
4430
4431 * toplev.c (rest_of_compilation): Replace references to
4432 stack_reg_dump_file and dbr_sched_dump_file with references to
4433 rtl_dump_file.
4434
4435 Tue Jan 27 10:22:13 1998 Kamil Iskra <iskra@student.uci.agh.edu.pl>
4436
4437 * tlink.c (scan_linker_output): Call fclose() for opened files.
4438
4439 Tue Jan 27 05:05:26 1998 Richard Henderson <rth@cygnus.com>
4440
4441 * alpha.c (output_epilog [!VMS]): Don't tag global functions if
4442 compiling with -fpic -- we want to be able to override symbols
4443 properly.
4444 (alpha_expand_block_move): Fix thinko in last change.
4445
4446 * alpha.h (ASM_OUTPUT_MI_THUNK): New define.
4447 * config/alpha/win-nt.h (ASM_OUTPUT_MI_THUNK): New define.
4448 * config/alpha/vms.h (ASM_OUTPUT_MI_THUNK): New undef.
4449
4450 Tue Jan 27 03:21:23 1998 Richard Henderson <rth@cygnus.com>
4451
4452 * alpha.md (abssf, absdf): Revert last change.
4453
4454 Tue Jan 27 00:26:50 1998 John Carr <jfc@mit.edu>
4455
4456 * dwarf2out.c (dwarf2out_frame_init): Test value of DWARF2_UNWIND_INFO.
4457 * mips/sni-svr4.h: Define DWARF2_UNWIND_INFO as 0.
4458
4459 Tue Jan 27 00:07:02 1998 Jeffrey A Law (law@cygnus.com)
4460
4461 * emit-rtl.c (gen_lowpart_common): Handle more case where converting
4462 a CONST_INT into SFmode.
4463
4464 Tue Jan 20 16:01:03 1998 Anthony Green <green@cygnus.com>
4465
4466 * flags.h: New flag (optimize_size).
4467 * toplev.c (main): Parse -Os option and set optimize_space
4468 accordingly.
4469 * gcc.c (default_compilers), cp/lang-specs.h, f/lang-specs.h: Define
4470 __OPTIMIZE_SIZE__ when compiling with -Os.
4471 * config/dsp16xx/dsp16xx.h, config/i386/i386.h,
4472 config/i386/dgux.h, config/i960/i960.h, config/pdp11/pdp11.h,
4473 config/v850/v850.h (OPTIMIZATION_OPTIONS): New SIZE argument
4474 to macro.
4475 * config/i386/i386.c (optimization_options): Accept new SIZE argument.
4476
4477 Mon Jan 26 23:57:39 1998 Manfred Hollstein <manfred@s-direktnet.de>
4478
4479 * libgcc2.c (__clear_insn_cache): On sysV68 enable the memctl
4480 stuff only if MCT_TEXT is #define'd.
4481
4482 Mon Jan 26 23:52:51 1998 Markus F.X.J. Oberhumer <k3040e4@c210.edvz.uni-linz.ac.at>
4483
4484 * configure.in (i*86-pc-msdosdjgpp): Treat like msdos & go32
4485 configurations.
4486
4487 Fri Jan 23 09:39:36 1998 Nick Clifton <nickc@cygnus.com>
4488
4489 * toplev.c: Add -dM command line option to dump RTL after the
4490 machine dependent reorganisation pass, if there is one.
4491 Reorganise RTL dump code, so that only one file handle is
4492 needed.
4493
4494 Mon Jan 26 12:09:42 1998 Benjamin Kosnik <bkoz@rhino.cygnus.com>
4495
4496 * except.c (check_exception_handler_labels): Disable warning when
4497 flag_syntax_only.
4498
4499 Mon Jan 26 18:17:32 1998 Jim Wilson <wilson@cygnus.com>
4500
4501 * sparc.c (pic_setup_code): Don't set LABEL_PRESERVE_P.
4502
4503 Mon Jan 26 18:11:30 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
4504
4505 * c-decl.c (grokdeclarator): Get parameter tags from
4506 last_function_parm_tags.
4507 * dwarfout.c (output_formal_types): Set TREE_ASM_WRITTEN before
4508 traversing the parameter types.
4509 (output_type): No early exit for FUNCTION_TYPE / METHOD_TYPE context.
4510
4511 Mon Jan 26 01:44:12 1998 Jeffrey A Law (law@cygnus.com)
4512
4513 * h8300.c (print_operand): Handle CONST_DOUBLE for 'e', 'f', and
4514 the default case.
4515 (get_shift_alg): Fix typo.
4516
4517 Sun Jan 25 22:22:04 1998 Richard Henderson <rth@cygnus.com>
4518
4519 * alpha.c (alpha_expand_block_move): Copy ADDRESSOF to reg.
4520
4521 Sun Jan 25 22:14:28 1998 Richard Henderson <rth@cygnus.com>
4522
4523 * toplev.c (get_run_time): Make sure each case gets its variables.
4524
4525 Sun Jan 25 22:10:21 1998 Richard Henderson <rth@cygnus.com>
4526
4527 * configure.in (build_xm_file): Add auto-config.h if host=build.
4528 (host_xm_file_list): Don't add $(srcdir) to auto-config.h.
4529 (build_xm_file_list): Likewise.
4530 * configure: Rebuild.
4531
4532 Sun Jan 25 22:00:25 1998 Alasdair Baird <alasdair@wildcat.demon.co.uk>
4533
4534 * recog.c (validate_replace_rtx_1): Only perform substitutions
4535 of arguments to commutative and comparison operators once.
4536
4537 Sun Jan 25 12:30:18 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4538
4539 * sparc.c (output_cbranch): Add default case in
4540 enumeration switch.
4541
4542 * reorg.c (insn_sets_resource_p): Correct typo in prototype.
4543 (emit_delay_sequence): Eliminate unused parameter, all callers
4544 changed.
4545 (fill_simple_delay_slots): Likewise.
4546 (fill_slots_from_thread): Likewise.
4547 (fill_eager_delay_slots): Likewise.
4548 (mark_referenced_resources): Add default case in enumeration switch.
4549 (mark_set_resources): Likewise.
4550 (rare_destination): Likewise.
4551 (mostly_true_jump): Likewise.
4552 (find_dead_or_set_registers): Likewise.
4553 (redirect_with_delay_slots_safe_p): Remove unused variable `slots'.
4554 (update_reg_unused_notes): Remove unused variable `p'.
4555 (mark_target_live_regs): Remove unused variables `next' and
4556 `jump_count'.
4557 (fill_simple_delay_slots): Remove unused variable `j'.
4558 (fill_slots_from_thread): Add parentheses around assignment used
4559 as truth value.
4560 (dbr_schedule): Likewise.
4561
4562 * objc/Make-lang.in (objc.stage1): Depend on stage1-start.
4563 (objc.stage2, objc.stage3, objc.stage4): Likewise.
4564
4565 Sun Jan 25 12:13:47 1998 Michael Tiemann <michael@tiemann.org>
4566
4567 * cse.c (simplify_ternary_operation): Don't try to simplify
4568 IF_THEN_ELSE expressions (created by combine) that don't use
4569 relational operators.
4570
4571 Fri Jan 23 22:48:24 1998 Jeffrey A Law (law@cygnus.com)
4572
4573 * cse.c (simplify_ternary_operation): Handle more IF_THEN_ELSE
4574 simplifications.
4575
4576 * crtstuff.c (init_dummy): Keep the epilogue in the init
4577 section for non-ELF systems.
4578
4579 Fri Jan 23 23:28:59 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
4580
4581 * sh.md (movqi_i+1): New peephole.
4582
4583 Fri Jan 23 15:39:42 1998 Jim Wilson <wilson@cygnus.com>
4584
4585 * Makefile.in: Remove remaining bytecode stuff.
4586 * emit-rtl.c, expr.c: Likewise.
4587
4588 Fri Jan 23 12:41:10 1998 Nick Clifton (nickc@cygnus.com)
4589
4590 * toplev.c (lang_options): Add unknown-pragma options.
4591
4592 Thu Jan 22 23:43:38 1998 Per Bothner <bothner@cygnus.com>
4593
4594 * dwarfout.c (byte_size_attribute): Simplify and fix - don't need
4595 special (and incomplete) handling for Chill arrays.
4596
4597 Fri Jan 23 00:27:23 1998 John Carr <jfc@mit.edu>
4598
4599 * toplev.c (get_run_time): Call sysconf(_SC_CLK_TCK), when available,
4600 to get clock rate.
4601
4602 Fri Jan 23 00:19:36 1998 Gavin Koch (gavin@cygnus.com)
4603
4604 * mips.md (muldi3_internal2): Reverse test for TARGET_MIPS16.
4605
4606 1998-01-22 scott snyder <snyder@d0sgif.fnal.gov>
4607
4608 * mips.c (function_prologue): Use HARD_FRAME_POINTER_REGNUM in
4609 .frame directive instead of FRAME_POINTER_REGNUM.
4610
4611 Fri Jan 23 00:08:55 1998 Robin Kirkham <rjk@mlb.dmt.csiro.au>
4612
4613 * m68k.h (TARGET_SWITCHES): -mcpu32 now clears MASK_68881.
4614 (MACHINE_STATE_m68010_up): Replaced __mc68332__ with __mcpu32__.
4615 * m68k/m68k-none.h(CPP_FPU_SPEC): Update relative to TARGET_SWITCHES.
4616 (CPP_SPEC, ASM_SPEC, CC1_SPEC): Likewise.
4617 (CPP_SPEC): -m68332 defines both __mc68332 and __mcpu32__.
4618 * m68k/t-m68kbare (MULTILIB_OPTIONS): Add mcpu32.
4619 (MULTILIB_MATCHES): -m68332 now uses mcpu32 libraries, not m68000.
4620 (MULTILIB_EXCEPTIONS): Don't build 68881 libraries for m68000,
4621 mcpu32 or m5200.
4622 * longlong.h: Replace __mc68332__ with __mcpu32__.
4623
4624 Thu Jan 22 19:55:40 PST 1998 Jeff Law (law@cygnus.com)
4625
4626 * version.c: Bump for snapshot.
4627
4628 Thu Jan 22 14:47:31 1998 Jim Wilson <wilson@cygnus.com>
4629
4630 * reload.c (push_reload): In WORD_REGISTER_OPERATIONS code, add test
4631 to require the SUBREG mode to be smaller than the SUBREG_REG mode.
4632 * reload1.c (eliminate_regs): Likewise.
4633
4634 Thu Jan 22 14:49:14 1998 Jeffrey A Law (law@cygnus.com)
4635
4636 * regmove.c (find_matches): Initialize matches->earlyclobber too.
4637
4638 Thu Jan 22 01:40:52 1998 Richard Henderson <rth@cygnus.com>
4639
4640 * alpha.md (abssf2, absdf2): Disable in IEEE mode.
4641 (negsf2, negdf2): Use proper subtract in IEEE mode.
4642
4643 Tue Jan 20 09:29:09 1998 Jeffrey A Law (law@cygnus.com)
4644
4645 * Makefile.in: Remove more bytecode stuff.
4646 * expr.c, stmt.c, config/msdos/top.sed: Likewise.
4647 * vax/xm-vms.h, winnt/config-nt.sed: Likewise.
4648 * f/install.texi, objc/Make-lang.in: Likewise.
4649
4650 * Makefile.in: Remove all bytecode support.
4651 (OBJS): Make sure last entry is a real object file, not EXTRA_OBJS.
4652 * emit-rtl.c: Remove all bytecode support.
4653 * expr.c, expr.h function.c, integrate.c: Likewise.
4654 * output.h, regclass.c, rtl.h, stmt.c, toplev.c: Likewise.
4655 * tree.h, varasm.c: Likewise.
4656 * config/m68k/m68k.h: Likewise.
4657 * bi-*, bc-*, bytecode*: Delete bytecode related files.
4658 * modemap.def: Likewise.
4659
4660 Tue Jan 20 09:02:31 1998 Gavin Koch (gavin@cygnus.com)
4661
4662 * mips/mips.md (divsi3,divdi3,modsi3,moddi3,udivsi3,udivdi3,
4663 umodsi3,umoddi3): Handle mips16 div/mod by a constant.
4664
4665 Mon Jan 19 21:57:00 1998 Richard Henderson <rth@cygnus.com>
4666
4667 * i386.md (push): Prohibit symbolic constants if flag_pic.
4668 (movsi+1): Likewise for move to non-register.
4669
4670 Mon Jan 19 11:15:38 1998 Jim Wilson <wilson@cygnus.com>
4671
4672 * alpha.c (mode_mask_operand): Accept 0xffffffff on 32 bit host.
4673 (print_operand): Handle 0xffffffff on 32 bit host.
4674
4675 * configure.in (thread_file): Rename uses before main loop to
4676 target_thread_file. Initialize to empty in main loop. Set thread_file
4677 to target_thread_file after main loop if not set.
4678 * configure: Rebuild.
4679
4680 * genattrtab.c (find_and_mark_used_attributes): Handle CONST_INT.
4681 (add_values_to_cover): Revert last change (which had no ChangeLog
4682 entry).
4683 (simplify_with_current_value_aux): Handle CONST_INT.
4684
4685 Mon Jan 19 10:14:55 1998 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4686
4687 * unprotoize.c: Define UNPROTOIZE first, to actually take effect.
4688
4689 Mon Jan 19 10:11:52 1998 Richard Henderson <rth@cygnus.com>
4690
4691 * configure.in: Add cpp stringify test.
4692 * acconfig.h (HAVE_CPP_STRINGIFY): New tag.
4693 * gengenrtl.c: Use it.
4694 * configure, config.in: Rebuild.
4695
4696 Mon Jan 19 09:43:15 1998 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4697
4698 * Makefile.in (genrtl.c genrtl.h): Add dummy command for GNU make.
4699
4700 Mon Jan 19 09:38:18 1998 Richard Henderson <rth@cygnus.com>
4701
4702 * configure.in: Find declaration for sbrk.
4703 * acconfig.h (NEED_DECLARATION_SBRK): New tag.
4704 * config.in, configure: Rebuild.
4705 * mips-tfile.c: Properly protect declaration of sbrk and free.
4706 * toplev.c: Properly protect declaration of sbrk.
4707
4708 Sun Jan 18 20:18:01 1998 Richard Henderson <rth@cygnus.com>
4709
4710 * alpha.c (alpha_handle_trap_shadows): Ignore CLOBBERs.
4711
4712 Sun Jan 18 01:54:27 1998 Jeffrey A Law (law@cygnus.com)
4713
4714 * alpha/xm-winnt.h (HAS_INIT_SECTION): Undefine.
4715
4716 Sun Jan 18 00:57:35 1998 Mike Stump (mrs@wrs.com)
4717
4718 * configure.in (i960-wrs-vxworks): Default to latest vxworks release.
4719
4720 Sat Jan 17 23:41:36 1998 David S. Miller <davem@tanya.rutgers.edu>
4721
4722 * combine.c (force_to_mode, nonzero_bits): Correctly optimize
4723 constant offset computations from objects with known alignment in
4724 the presence of STACK_BIAS.
4725
4726 * varasm.c (immed_double_const): Add casts to HOST_WIDE_INT where
4727 necessary.
4728 (const_hash): Hash val is unsigned long.
4729 (SYMHASH): Likewise.
4730
4731 * tree.c (TYPE_HASH): Type of hash val is unsigned long.
4732
4733 * print-tree.c (print_node_brief): HOST_PTR_PRINTF format wants a
4734 char pointer, not HOST_WIDE_INT.
4735 (print_node): Likewise. Also hash is unsigned long not
4736 HOST_WIDE_INT.
4737
4738 * cse.c (canon_hash): Hash is unsigned long not HOST_WIDE_INT.
4739
4740 * explow.c (optimize_save_area_alloca): New function for targets
4741 where SETJMP_VIA_SAVE_AREA is true.
4742 (allocate_dynamic_stack_space): On SETJMP_VIA_SAVE_AREA targets,
4743 compute the amount of stack space needed should we find later that
4744 setjmp is never called by this function, stuff rtl for this inside
4745 a REG_NOTE of the final SET of stack_pointer_rtx.
4746 * toplev.c (rest_of_compilation): If SETJMP_VIA_SAVE_AREA and
4747 current_function_calls_alloca, call optimize_save_area_alloca.
4748
4749 Sat Jan 17 23:22:59 1998 John Wehle (john@feith.com)
4750
4751 * i386.md: Remove redundant integer push patterns.
4752 Don't bother checking for TARGET_PUSH_MEMORY when
4753 pushing constants or registers.
4754
4755 Sat Jan 17 22:35:39 1998 Mumit Khan <khan@xraylith.wisc.edu>
4756 J.J VanderHeijden <J.J.vanderHeijden@student.utwente.nl>
4757
4758 * pexecute.c (pexecute): New function for mingw32. Supports pipes.
4759 (pwait): New function for mingw32.
4760
4761 * gcc.c (execute): Mingw32 pexecute() supports pipes, but cygwin32
4762 pipe support is broken for now.
4763
4764 1998-01-17 Lee Iverson <leei@Canada.AI.SRI.COM>
4765
4766 * emit_rtl.c (init_emit_once): Ensure that potential aliasing
4767 between frame_pointer_rtx, hard_frame_pointer_rtx, and
4768 arg_pointer_rtx is respected in initialization.
4769 (init_emit_once): Use gen_rtx_raw_REG() to create
4770 return_address_pointer_rtx.
4771
4772 * reorg.c: #include "expr.h" for rtx prototypes.
4773 * Makefile.in (reorg.o): Depend on expr.h
4774
4775 Sat Jan 17 21:28:08 1998 Pieter Nagel <pnagel@epiuse.co.za>
4776
4777 * Makefile.in (FLAGS_TO_PASS): Pass down gcc_include_dir and
4778 local_prefix to sub-make invocations.
4779
4780 Sat Jan 17 21:24:16 1998 David T. McWherter <dtm@waterw.com>
4781
4782 * objc-parse.c: Recognize protocol qualifiers in class definitions.
4783
4784 Sat Jan 17 21:16:19 1998 Jeffrey A Law (law@cygnus.com)
4785
4786 * rtl.h: Fix typos.
4787
4788 * acconfig.h (NEED_DECLARATION_ATOL): New declaration to check for.
4789 * configure.in: Check for atol.
4790 * rtl.c (atol): Only provide the declaration if NEED_DECLARATION_ATOL.
4791
4792 * rtl.c (read_rtx): Initialize list_rtx to NULL, not NULL_RTX.
4793
4794 * loop.c (find_and_verify_loops): When attempting to move insns from
4795 inside the loop outside the loop, create a BARRIER if no suitable
4796 one was found.
4797
4798 * jump.c (jump_optimize): Remove Dec 17, 1997 chance in
4799 favor of an equivalent change from gcc-2.8.
4800
4801 * i386/x-sco5 (CC): Remove trailing whitespace.
4802
4803 Sat Jan 17 21:09:46 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4804
4805 * gengenrtl.c (type_from_format): De-ANSIfy function signature.
4806 (accessor_from_format): Likewise.
4807 (xmalloc): New function for use when linking with alloca.o.
4808
4809 Mon Jan 5 02:53:01 1998 Bruno Haible <bruno@linuix.mathematik.uni-karlsruhe.de>
4810
4811 * frame.c (find_fde): Correct FDE's upper bound.
4812
4813 Fri Jan 16 16:23:52 1998 Richard Henderson <rth@cygnus.com>
4814
4815 * gengenrtl.c (DEF_RTL_EXPR): Provide a K&R compliant version.
4816
4817 Fri Jan 16 10:16:10 1998 Jeffrey A Law (law@cygnus.com)
4818
4819 * calls.c (expand_call): Move #ifdef code out of macro argument
4820 lists.
4821 (emit_library_call, emit_library_call_value): Likewise.
4822
4823 Fri Jan 16 00:46:40 1998 Jeffrey A Law (law@cygnus.com)
4824
4825 * rtl.def (INLINE_HEADER): Fix bug exposed by gen_rtx_FOO changes.
4826
4827 Thu Jan 15 01:02:30 1998 Jeffrey A Law (law@cygnus.com)
4828
4829 * version.c: Bump for snapshot.
4830
4831 Wed Jan 14 22:49:17 1998 Richard Henderson <rth@cygnus.com>
4832
4833 * alias.c: Change all uses of gen_rtx(FOO...) to gen_rtx_FOO;
4834 change gen_rtx(expr...) to gen_rtx_fmt_foo(expr...).
4835 * caller-save.c, calls.c, combine.c, cse.c: Likewise.
4836 * dwarf2out.c, except.c, explow.c, expmed.c, expr.c: Likewise.
4837 * final.c, flow.c, function.c, genpeep.c, haifa-sched.c: Likewise.
4838 * halfpic.c, integrate.c, jump.c, local-alloc.c, loop.c: Likewise.
4839 * profile.c, recog.c, reg-stack.c, regclass.c, regmove.c: Likewise.
4840 * reload.c, reload1.c, reorg.c, sched.c, stmt.c, stupid.c: Likewise.
4841 * unroll.c, varasm.c: Likewise.
4842 * config/alpha/alpha.c, config/alpha/alpha.md: Likewise.
4843
4844 Wed Jan 14 19:36:08 1998 Gavin Koch (gavin@cygnus.com)
4845
4846 * mips.h: Fix some type-o's from a previous change.
4847
4848 Wed Jan 14 01:26:05 1998 Jeffrey A Law (law@cygnus.com)
4849
4850 * loop.c (check_dbra_loop): Make sure initial value is a
4851 CONST_INT before trying to normalize it.
4852
4853 Tue Jan 13 23:27:54 1998 Robert Lipe (robertl@dgii.com)
4854
4855 * sco5.h (ASM_OUTPUT_SECTION_NAME): Refresh from ../svr4.h.
4856
4857 Tue Jan 13 22:47:02 1998 Herman ten Brugge <herman@htbrug.net.HCC.nl>
4858
4859 * cppexp.c: Include gansidecl.h
4860
4861 Tue Jan 13 22:43:35 1998 Ian Lance Taylor <ian@cygnus.com>
4862
4863 * svr4.h (LINK_SPEC): Never specify -h.
4864 * ptx4.h (LINK_SPEC): Likewise.
4865 * rs6000/sysv4.h (LINK_SPEC): Likewise.
4866 * sparc/sol2.h (LINK_SPEC): Likewise.
4867
4868 Tue Jan 13 22:39:40 1998 Richard Henderson (rth@cygnus.com)
4869
4870 * c-typeck.c (comptypes): Exit early on NULL input.
4871
4872 * haifa-sched.c (schedule_insns): Correctly remove inter-block
4873 dependencies after reload.
4874
4875 Tue Jan 13 22:22:31 1998 Franz Sirl <franz.sirl-kernel@lauterbach.com>
4876
4877 * rs6000/linux.h (CPP_PREDEFINES): Add -D__ELF__.
4878
4879 Tue Jan 13 22:14:57 1998 Klaus Kaempf <kkaempf@progis.de>
4880
4881 * alpha/vms.h (DIR_SEPARATOR): define
4882
4883 Tue Jan 13 22:13:04 1998 Bruno Haible <bruno@linuix.mathematik.uni-karlsruhe.de>
4884
4885 * Makefile.in (stamp-proto): Remove.
4886 (protoize.o, unprotoize.o): Straightforward compile.
4887 * unprotoize.c: Define UNPROTOIZE here, not in the Makefile.
4888
4889 Tue Jan 13 21:59:39 1998 Mumit Khan <khan@xraylith.wisc.edu>
4890
4891 * i386/cygwin32.h (STRIP_NAME_ENCODING): Define for Win32 to strip
4892 off the trailing @[NUM] added by ENCODE_SECTION_INFO.
4893
4894 Tue Jan 13 21:55:06 1998 Jeffrey A Law (law@cygnus.com)
4895
4896 * arm/netbsd.h (DWARF2_UNWIND_INFO): Define as zero for now.
4897 * i386/netbsd.h, m68k/netbsd.h, ns32k/netbsd.h: Likewise.
4898 * sparc/netbsd.h, vax/netbsd.h: Likewise.
4899
4900 Tue Jan 13 21:37:07 1998 Shigeya Suzuki <shigeya@foretune.co.jp>
4901
4902 * i386/bsd386.h (DWARF2_UNWIND_INFO): Define as zero for now.
4903
4904 Tue Jan 13 17:50:55 1998 Jim Wilson <wilson@cygnus.com>
4905
4906 * configure.in (target_cpu_default, target_cpu_default2): Use double
4907 quotes around them when testing their value.
4908 * configure: Rebuilt.
4909
4910 Tue Jan 13 09:07:44 1998 John Carr <jfc@mit.edu>
4911
4912 * gengenrtl.c (gencode): Emit new function obstack_alloc_rtx
4913 to allocate rtx.
4914 (gendef): Call obstack_alloc_rtx.
4915
4916 Tue Jan 13 01:16:36 1998 Robert Lipe (robertl@dgii.com)
4917
4918 * configure.in: (i[3456]86-UnixWare7-sysv5): Treat much like SVR4
4919 for now.
4920
4921 Thu Dec 18 18:40:17 1997 Mumit Khan <khan@xraylith.wisc.edu>
4922
4923 * i386/mingw32.h (INCOMING_RETURN_ADDR_RTX): Delete. Use the value
4924 of DWARF2_UNWIND_INFO, if any, from i386/cygwin32.h instead.
4925 (STANDARD_INCLUDE_DIR): Change to /usr/local/i386-mingw32/include.
4926
4927 Tue Jan 13 00:44:02 1998 Jim Wilson <wilson@cygnus.com>
4928
4929 * mips.md (return_internal): Change mode from SImode to VOIDmode.
4930
4931 Sat Jan 10 22:11:39 1998 J. Kean Johnston <jkj@sco.com>
4932
4933 * i386/sco5.h (STARTFILE_SPEC, ENDFILE_SPEC): Correctly handle
4934 "-static".
4935
4936 Sat Jan 10 22:04:15 1998 Stan Cox <scox@equinox.cygnus.com>
4937
4938 * i386.md: (movsicc_1, movhicc_1): For alternate 3 set the opcode
4939 suffix from operand 3.
4940
4941 Sat Jan 10 21:50:16 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
4942 Jeffrey A Law (law@cygnus.com)
4943
4944 * regmove.c: New implementation of regmove pass.
4945 * local-alloc.c (optimize_reg_copy_1, optimize_reg_copy_2): Remove
4946 decls, make them have external linkage. Return a value from
4947 optimize_reg_copy_1.
4948 * reload.h (count_occurrences): Add decl.
4949 * reload1.c (count_occurrences): Delete decl, make it have external
4950 linkage.
4951 * rtl.h (optimize_reg_copy_1, optimize_reg_copy_2): Declare.
4952
4953 Sat Jan 10 20:30:12 1998 Jeffrey A Law (law@cygnus.com)
4954
4955 * regclass.c (record_address_regs): Don't use REG_OK_FOR_BASE_P
4956 if it is not defined.
4957
4958 Thu Jan 8 21:06:54 1998 Richard Henderson <rth@cygnus.com>
4959
4960 * Makefile.in (OBJ, GEN, RTL_H): Add genrtl.[oh] bits.
4961 * emit-rtl.c (gen_rtx): Move special code to ...
4962 (gen_rtx_CONST_INT): New function.
4963 (gen_rtx_REG): New function.
4964 (*): Update all calls to gen_rtx.
4965 * genemit.c (gen_exp): Emit calls to gen_rtx_FOO for constant FOO.
4966 * rtl.h: Include genrtl.h; prototype CONST_INT & REG generators.
4967 (GEN_INT): Call gen_rtx_CONST_INT.
4968 * gengenrtl.c: New file.
4969
4970 Mon Jan 5 13:00:18 1998 John F. Carr <jfc@mit.edu>
4971
4972 * alias.c (*_dependence): Call base_alias_check before canon_rtx.
4973 (base_alias_check): If no base found for address call canon_rtx and
4974 try again.
4975
4976 Mon Jan 5 11:39:49 1998 Jeffrey A Law (law@cygnus.com)
4977
4978 * mips.c (mips_expand_prologue): Handle large frame with no outgoing
4979 arguments for mips16.
4980 (mips_expand_epilogue): Pass "orig_tsize" to save_restore_insns.
4981 Don't lose if tsize is zero after handling large stack for mips16.
4982 * mips.md (return): For trivial return, return address is in $31.
4983
4984 Sun Jan 4 20:24:00 1998 Nigel Stephens <nigel@algor.co.uk>
4985
4986 * mips/mips16.S: Various changes to make it work with -msingle-float
4987 and -EL.
4988
4989 Sun Jan 4 14:25:18 1998 Gavin Koch <gavin@cygnus.com>
4990 Ian Lance Taylor <ian@cygnus.com>
4991 Jeff Law <law@cygnus.com>
4992
4993 * mips.c, mips.h, mips.md: First cut at merging in mips16
4994 support. Major modifications throughout all three files.
4995
4996 Sun Jan 4 01:01:50 1998 scott snyder <snyder@d0sgif.fnal.gov>
4997
4998 * configure.in: Make gthr-default.h a forwarding header instead of
4999 a symlink.
5000
5001 Sat Jan 3 12:08:06 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5002
5003 * gcov-io.h: Include sys/types.h to ensure we get size_t.
5004
5005 * pa.h (ASM_OUTPUT_MI_THUNK): Add missing % in fprintf.
5006
5007 Fri Jan 2 23:40:09 1998 Jim Wilson (wilson@cygnus.com)
5008 Jeffrey A Law (law@cygnus.com)
5009
5010 * crtstuff.c (__frame_dummy): New function for irix6.
5011 (__do_global_ctors): Call __frame_dummy for irix6.
5012 * iris6.h (LINK_SPEC): Hide __frame_dummy too.
5013
5014 Fri Jan 2 04:57:57 1998 Weiwen Liu <liu@hepmail.physics.yale.edu>
5015
5016 * alpha.c (vms_valid_decl_attribute_p): Move within #if OPEN_VMS.
5017
5018 Fri Jan 2 04:34:14 1998 Richard Henderson <rth@cygnus.com>
5019
5020 * c-decl.c (init_decl_processing): Provide proper fallback symbol
5021 for __builtin_memset.
5022 * expr.c (expand_builtin) [MEMSET]: Arg 3 type code is INTEGER_TYPE
5023 not INTEGER_CST. Assert arg 3 is a constant.
5024
5025 * alpha.c (mode_width_operand): Accept 64-bit modes.
5026 (mode_mask_operand): Likewise.
5027 (print_operand): Likewise for 'M' and 'U' codes.
5028 (alpha_expand_unaligned_load): New function.
5029 (alpha_expand_unaligned_store): Likewise.
5030 (alpha_expand_unaligned_load_words): Likewise.
5031 (alpha_expand_unaligned_store_words): Likewise.
5032 (alpha_expand_block_move): Likewise.
5033 (alpha_expand_block_clear): Likewise.
5034 * alpha.h (MOVE_RATIO): New define.
5035 * alpha.md (extxl, ext*h, ins*l, mskxl): Name them.
5036 (insql, insxh, mskxh, extv, extzv, insv, movstrqi, clrstrqi): New.
5037
5038 * alpha.h (ASM_OUTPUT_LOOP_ALIGN, ASM_OUTPUT_ALIGN_CODE): Set to 3.
5039 (CONSTANT_ALIGNMENT, DATA_ALIGNMENT): Disable.
5040
5041 Thu Jan 1 15:40:15 1998 Richard Henderson <rth@cygnus.com>
5042
5043 * configure.in: Put parenthesis around TARGET_CPU_DEFAULT's value.
5044 * configure: Update.
5045
5046 Thu Jan 1 10:49:12 1998 Jeffrey A Law (law@cygnus.com)
5047
5048 * emit-rtl.c (operand_subword): Correctly handle extracting a word
5049 from a CONST_DOUBLE for 16bit targets with !WORDS_BIG_ENDIAN.
5050
5051 * mn10200.md (tstxx, cmpxx): Use "nonimmediate_operand" as predicate
5052 for first argument.
5053
5054 Wed Dec 31 14:42:18 1997 Ian Lance Taylor <ian@cygnus.com>
5055
5056 * configure.in: Set and subsitute host_exeext. Use it when creating
5057 the assembler and linker symlinks.
5058 * configure: Rebuild.
5059 * Makefile.in (exeext): Set to @host_exeext@.
5060 (build_exeext): New variable, set to @build_exeext@.
5061 (FLAGS_TO_PASS): Pass down build_exeext.
5062 (STAGESTUFF): Use build_exeext, not exeext, for gen* and bi*
5063 programs.
5064
5065 Wed Dec 31 10:05:44 1997 Jeffrey A Law (law@cygnus.com)
5066
5067 * mn10200.md (addsi3, subsi3): Fix thinkos.
5068
5069 Tue Dec 30 00:04:49 1997 Richard Henderson <rth@cygnus.com>
5070
5071 * sparc.h (ASM_OUTPUT_MI_THUNK): Move %o7 through %g1 instead of
5072 save+restore. Fix pic+big_offset delay slot. Use "pic" case for
5073 unix always, since we want to be able to thunk to functions in a
5074 shared library from an application.
5075
5076 Mon Dec 29 14:37:31 1997 Ian Lance Taylor <ian@cygnus.com>
5077
5078 * mips/t-ecoff (CROSS_LIBGCC1): Define to libgcc1-asm.a.
5079 (LIB1ASMSRC, LIB1ASMFUNCS): Define.
5080
5081 Mon Dec 29 14:03:38 1997 Jeffrey A Law (law@cygnus.com)
5082
5083 * expr.c (expand_expr): For {BITFIELD,COMPONENT,ARRAY}_REF, if the
5084 offset's mode is not ptr_mode, convert it.
5085
5086 Mon Dec 29 15:58:18 1997 Michael Meissner <meissner@cygnus.com>
5087
5088 * libgcc2.c (inhibit_libc): Don't define inhibit_libc when cross
5089 compiling if it was already defined.
5090
5091 Sun Dec 28 00:32:16 1997 Jeffrey A Law (law@cygnus.com)
5092
5093 * flow.c (find_basic_blocks): Don't create a new basic block
5094 for calls in a LIBCALL block.
5095
5096 Sun Dec 28 00:30:24 1997 David Edelsohn <edelsohn@mhpcc.edu>
5097
5098 * config/fp-bit.c (L_df_to_sf): Fix typo in last change.
5099
5100 Sat Dec 27 22:43:12 1997 Jeffrey A Law (law@cygnus.com)
5101
5102 * cse.c (rtx_cost): Remove conflicting default case.
5103
5104 Sat Dec 27 21:20:02 1997 Richard Henderson <rth@cygnus.com>
5105
5106 * configure.in: Move default enabling of Haifa out of for loop.
5107 * configure: Rebuild.
5108
5109 Thu Dec 25 01:02:54 1997 Jeffrey A Law (law@cygnus.com)
5110
5111 * version.c: Bump for snapshot.
5112
5113 1997-12-25 Teemu Torma <tot@trema.com>
5114
5115 * Makefile.in (GTHREAD_FLAGS): New var.
5116 (LIBGCC2_CFLAGS): Added $(GTHREAD_FLAGS).
5117 (distclean): Remove gthr-default.h.
5118
5119 * configure.in: Accept dce as a thread package.
5120 Check for thread.h and pthread.h.
5121 Link gthr-default.h to appropriate thread file and set
5122 gthread_flags.
5123 (hppa1.1-*-hpux10*): If --enable-threads, use dce threads and
5124 include multilib definitions from pa/t-dce-thr.
5125 (sparc-*-solaris2*): Enable threads by default, if thread.h or
5126 pthread.h is found, preferring posix threads over solaris ones.
5127
5128 * config/pa/t-dce-thr: New file.
5129 * config/pa/t-pa: Removed multilibs.
5130 * config/sparc/t-sol2: Ditto.
5131
5132 * gthr.h: New file.
5133 * gthr-single.h: New file.
5134 * gthr-posix.h: New file.
5135 * gthr-solaris.h: New file.
5136 * gthr-dce.h: New file.
5137 * libgcc-thr.h: Removed.
5138 * objc/thr-dce.c: New file copied from thr-decosf1.c.
5139
5140 * frame.c: Include gthr.h instead of libgcc-thr.h.
5141 * libgcc2.c: Include gthr.h instead of libgcc-thr.h.
5142 (eh_context_initialize): If __gthread_once fails, use static eh
5143 context.
5144 (eh_context_free): Call __gthread_key_dtor.
5145
5146 Wed Dec 24 23:33:17 1997 Jeffrey A Law (law@cygnus.com)
5147
5148 * expr.h (MUST_PASS_IN_STACK): Allow target port to override.
5149
5150 Wed Dec 24 23:12:14 1997 Jim Wilson <wilson@cygnus.com>
5151
5152 * cse.c (max_insn_uid): New variable.
5153 (cse_around_loop): Use max_insn_uid.
5154 (cse_main): Set max_insn_uid.
5155
5156 * abi64.h (LONG_MAX_SPEC): Check MIPS_ABI_DEFAULT and TARGET_DEFAULT,
5157 and define __LONG_MAX__ appropriately. Add support for -mabi=X,
5158 -mlong64, and -mgp{32,64} options.
5159 * mips.c (mips_abi): Change type to int.
5160 * mips.h (enum mips_abi_type): Delete.
5161 (ABI_32, ABI_N32, ABI_64, ABI_EABI): Define as constants.
5162 (mips_abi): Change type to int.
5163
5164 Wed Dec 24 22:38:34 1997 John Carr <jfc@mit.edu>
5165
5166 * flags.h, toplev.c, calls.c, alias.c: Remove flag_alias_check;
5167 optimization is now always enabled.
5168
5169 * calls.c (expand_call): Recognize C++ operator new as malloc-like
5170 function.
5171
5172 * alias.c (memrefs_conflict_p): Eliminate tests now done by
5173 base_alias_check.
5174 (*_dependence): Call canon_rtx before base_alias_check.
5175 (init_alias_once): New function to precompute set of registers which
5176 can hold Pmode function arguments.
5177
5178 * rtl.h: Declare init_alias_once.
5179
5180 * toplev.c (compile_file): Call init_alias_once.
5181
5182 Wed Dec 24 22:34:55 1997 Jeffrey A Law (law@cygnus.com)
5183
5184 * tree.c (restore_tree_status): Do not dereference a null pointer.
5185
5186 Tue Dec 23 12:56:46 1997 Paul Eggert <eggert@twinsun.com>:
5187
5188 * genattrtab.c (main): Check HAVE_{G,S}ETRLIMIT in addition to
5189 RLIMIT_STACK. This maintains consistency with the recent, similar
5190 patch to cccp.c and toplev.c.
5191
5192 Tue Dec 23 05:17:28 1997 Richard Henderson <rth@cygnus.com>
5193
5194 * genattrtab.c (expand_units): For large nr opclasses, expand
5195 function_units_used with ORX to prevent blowups. Tag with FFS.
5196 (num_unit_opclasses): New variable.
5197 (gen_unit): Update it.
5198 (enum operator): Add ORX_OP.
5199 (operate_exp): Treat ORX as or, except don't expand across an if.
5200 Reuse number rtx's after operating on them.
5201 (check_attr_value): Accept IOR, AND, & FFS.
5202 (write_test_expr): Transmute `in_comparison' to `flags'. Allow
5203 for attribute value caching. Handle CONST_STRING, IF_THEN_ELSE.
5204 (write_expr_attr_cache, write_toplevel_expr): New functions.
5205 (write_attr_get): Handle FFS-tagged expressions.
5206 (make_canonical): Don't expand const attributes.
5207 (convert_const_symbol_ref): Dike out.
5208 (evaluate_eq_attr): Handle SYMBOL_REF.
5209 (main): Don't emit get_attr_foo for const attributes.
5210
5211 * alpha.c (override_options): Reinstate PROCESSOR_EV6.
5212 (alpha_adjust_cost): Add EV6 tuning; streamline EV5 tests.
5213 * alpha.h (REGISTER_MOVE_COST): Increase ftoi/itof cost slightly.
5214 * alpha.md: Redo all of the scheduling, adding EV6 support, and
5215 combining function units where possible.
5216 (attr "type"): Split loads, stores, cmov into int/fp. Combine
5217 multiplies and divides. Add EV6 sqrt, ftoi, itof.
5218 (attr "opsize"): New attribute.
5219 (sqrtsf2-1, sqrtdf2-1): Provide proper TP_INSN patterns.
5220 (movsf2-[12], movdf2-[12]): Provide CIX varients; don't allow CIX
5221 to control register allocation.
5222 (movsi2-1, movdi2-1): Likewise.
5223
5224 Tue Dec 23 03:53:21 1997 Richard Henderson <rth@cygnus.com>
5225
5226 * alpha.h (CPP_PREDEFINES, LIB_SPEC, LINK_SPEC, STARTFILE_SPEC,
5227 MD_STARTFILE_PREFIX, ASM_FILE_START, ASM_SPEC, ASM_FINAL_SPEC):
5228 Move OSF/1 specific defines out.
5229 * alpha/elf.h (TARGET_VERSION, CPP_PREDEFINES, DEFAULT_VTABLE_THUNKS):
5230 Move Linux specific defines out.
5231 (LINK_SPEC): Genericize.
5232 (ASM_FILE_START): Emit .arch if using more than the base insn set.
5233 (ASM_OUTPUT_SOURCE_LINE): Remove; identical to alpha.h version.
5234 (SDB_DEBUGGING_INFO): Remove; gas can't handle it.
5235 (HANDLE_SYSV_PRAGMA): Define.
5236 * alpha/osf.h: New file.
5237 * alpha/linux.h: Split. Retain file-format independant defines.
5238 Import Linux bits from elf.h.
5239 (CPP_PREDEFINES): Take a file-format specific SUB_CPP_PREDEFINES
5240 (FUNCTION_PROFILER): _mcount takes its address in $28.
5241 (MD_EXEC_PREFIX, MD_STARTFILE_PREFIX): Remove undef.
5242 * alpha/linux-ecoff.h: New file.
5243 * alpha/linux-elf.h: New file.
5244 * alpha/vms.h (LIB_SPEC, LINK_SPEC): Copy from osf.h.
5245 * alpha/win-nt.h (TARGET_DEFAULT): Define.
5246 * configure.in (alpha*-*-osf*, alpha*-*-linux*) [tm_file]:
5247 Add new headers as appropriate.
5248
5249 * configure.in (alpha*): Enable Haifa by default.
5250 (*-*-winnt3*): Change to winnt*, since we're not v3 specific.
5251 * configure: Rebuild.
5252
5253 Tue Dec 23 03:14:54 1997 Richard Henderson <rth@cygnus.com>
5254
5255 * Makefile.in (clean): Remove the stages with their objects here ...
5256 (distclean): ... instead of here.
5257
5258 Mon Dec 22 11:24:01 1997 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5259
5260 * cse.c (rtx_cost): Add default case in enumeration switch.
5261 * fix-header.c (recognized_macro): Likewise.
5262 (recognized_extern): Likewise.
5263 (write_rbrac): Likewise.
5264 * objc/objc-act.c (encode_aggregate): Likewise.
5265 (gen_declarator): Likewise.
5266 (gen_declspecs): Likewise.
5267
5268 Mon Dec 22 09:58:51 1997 Jeffrey A Law (law@cygnus.com)
5269
5270 * haifa-sched.c (create_reg_dead_note): Detect and handle another
5271 case where we kill more regs after sched than were killed before
5272 sched.
5273 * sched.c (create_reg_dead_note): Similarly.
5274
5275 Mon Dec 22 09:18:37 1997 Jeffrey A Law (law@cygnus.com)
5276
5277 * c-pragma.c: Include flags.h.
5278
5279 Sun Dec 21 22:10:59 1997 Mumit Khan <khan@xraylith.wisc.edu>
5280
5281 * i386/cygwin32.h (NO_IMPLICIT_EXTERN_C): Don't assume anything
5282 about system headers.
5283 (LIB_SPEC): Add -ladvapi32 -lshell32 to be consistent with mingw32
5284 and also to resolve symbols in prefix.c.
5285
5286 * i386/xm-cygwin32.h (HAVE_BCOPY): Define. This avoids a conflict
5287 between gansidecl.h and newlib's _ansi.h when building libgcc2.a,
5288 when the definitions in auto-config.h is not visible.
5289 (HAVE_BZERO): Likewise.
5290 (HAVE_BCMP): Likewise.
5291 (HAVE_RINDEX): Likewise.
5292 (HAVE_INDEX): Likewise.
5293
5294 Sun Dec 21 21:54:22 1997 Jeffrey A Law (law@cygnus.com)
5295
5296 * pa.c (emit_move_sequence): Handle a function label source
5297 operand.
5298
5299 Sun Dec 21 16:13:55 1997 Nick Clifton <nickc@cygnus.com
5300
5301 * c-pragma.c (handle_pragma_token): Generate warning messages
5302 about unknown pragmas if warn_unknown_pragmas is set.
5303
5304 * c-decl.c (c_decode_option): Parse -Wunknown-pragmas command
5305 line option to set variable: warn_unknown_pragmas.
5306
5307 Sun Dec 21 15:51:10 1997 Manfred Hollstein <manfred@lts.sel.alcatel.de>
5308
5309 * m68k/mot3300.h (ASM_BYTE_OP): Don't include '\t' in the
5310 definition.
5311 (ASM_OUTPUT_ASCII): Prefix ASM_BYTE_OP by one single '\t'.
5312
5313 Sun Dec 21 13:58:39 1997 Jeffrey A Law (law@cygnus.com)
5314
5315 * Makefile.in (FPBIT_FUNCS, DPBIT_FUNCS): Define.
5316 (libgcc2.a): Depend on $(DPBIT) and $(FPBIT). Add rules to
5317 generate more fine grained floating point emulation libraries.
5318 * config/fp-bit.c: Add protecting #ifdef to all functions so
5319 that they can be compiled separately. If !FINE_GRAINED_LIBRARIES,
5320 then compile all suitable functions.
5321 (pack_d, unpack_d, fpcmp_parts): Add declarations, define with two
5322 underscores to avoid namespace pollution.
5323 * t-mn10200 (LIB2FUNCS_EXTRA): Remove fp-bit.c
5324 (FPBIT): Define.
5325 * t-mn10300 (LIB2FUNCS_EXTRA): Remove fp-bit.c and dp-bit.c
5326 (FPBIT): Define.
5327 (DPBIT): Define.
5328
5329 Sat Dec 20 11:26:47 1997 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5330 Jeff Law <law@cygnus.com>
5331
5332 * bitmap.c (bitmap_clear): Ensure `inline' is at the beginning
5333 of the declaration.
5334 * c-decl.c (finish_decl): Use parentheses around && within ||.
5335 * rtl.c: Include stdlib.h.
5336 (read_skip_spaces): Add parentheses around assignments used as
5337 truth values.
5338 (read_rtx): Initialize list_rtx.
5339 * cppexp.c (parse_number): Use || when operands are truth values.
5340 * alias.c (find_base_value): Add default case.
5341 (memrefs_conflict): Likewise.
5342 * combine.c (sets_function_arg_p): Likewise.
5343 * genemit.c (gen_exp): Likewise.
5344 * local-alloc.c (contains_replace_regs): Likewise.
5345 * rtlanal.c (jmp_uses_reg_or_mem): Likewise.
5346 * fold-const.c (fold_convert): Use "&&" for truth values.
5347 (fold): Add default case.
5348 * sdbout.c (sdbout_field_types): Fix typo in declaration.
5349 (sdbout_one_type): Add default case.
5350 * alpha.c (alpha_sa_mask): Prototype only if OPEN_VMS.
5351 (some_operand): Add default case.
5352 (input_operand): Likewise.
5353 (signed_comparison_operator): Likewise.
5354 (divmod_operator): Likewise.
5355 (alpha_set_memflags_1): Likewise.
5356 * reload1.c (reload_cse_simplify_operands): Ensure function
5357 always returns a value.
5358 * scan-decls.c (scan_decls): Likewise.
5359 * c-lex.c (skip_white_space): Fix typo in declaraion.
5360 * c-typeck.c (comp_target_types): Add parentheses around assignment
5361 used as truth value.
5362 (print_spelling): Likewise.
5363 (constructor_implicit, constructor_result): Remove unused variables.
5364 * collect2.c (scan_library): Protect prototype with
5365 #ifdef SCAN_LIBRARIES.
5366 * emit-rtl.c (find_line_note): Fix typo in declaration.
5367 * final.c (asm_insn_count): Protect prototype with
5368 #ifdef HAVE_ATTR_length.
5369 * flow.c (find_auto_inc): Protect prototype with #ifdef AUTO_INC_DEC.
5370 (try_pre_increment_1, try_pre_increment): Likewise.
5371 * regclass.c (auto_inc_dec_reg_p): Protect prototype with
5372 #ifdef FORBIDDEN_INC_DEC_CLASSES. Make return type explicit.
5373 * gcov-io.h (__store_long, __write_long, __read_long): Fix
5374 unsigned/signed comparisons.
5375 * gcov.c (read_files): Remove unused "first_type" variable.
5376 (scan _for_source_files): Initialize s_ptr.
5377 (function_summary): Eliminate "%lf" formatting, use %ld for
5378 longs.
5379 (output_data): Initialize branch_probs and last_line_num.
5380 Eliminate "%lf" formatting, use "%ld" for longs.
5381
5382 Fri Dec 19 17:31:11 1997 Ian Lance Taylor <ian@cygnus.com>
5383
5384 * mips16.S: New file.
5385
5386 * libgcc2.c (varargs): Handle mips16.
5387
5388 * expr.c (do_tablejump): Let CASE_VECTOR_PC_RELATIVE be an
5389 expression.
5390 * stmt.c (expand_end_case): Likewise.
5391 * alpha.h (CASE_VECTOR_PC_RELATIVE): Update.
5392 * fx80.h, gmicro.h, m68k.h, m88k.h, ns32k.h: Likewise.
5393 * rs6000.h, sh.h, tahoe.h, v850.h, vax.h: Likewise.
5394
5395 Tue Dec 16 15:14:09 1997 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5396
5397 * objc/Make-lang.in: Create runtime-info.h and libobjc_entry.o in
5398 the build directory.
5399 (libobjc.a): Update dependency list.
5400 (libobjc.dll): Likewise. Use libobjc_entry.o from the build
5401 directory.
5402 (objc/sendmsg.o): Add -Iobjc to find runtime-info.h.
5403 (objc.mostlyclean): Remove runtime-info.h.
5404
5405 Fri Dec 19 00:19:42 1997 Richard Henderson <rth@cygnus.com>
5406
5407 * tree.c (build_range_type): Allow creation of ranges with no maximum.
5408 * dbxout.c (dbxout_range_type): Handle missing TYPE_MAX_VALUE.
5409 * dwarf2out.c (add_subscript_info): Likewise.
5410 * dwarfout.c (subscript_data_attribute, byte_size_attribute): Likewise.
5411 * sdbout.c (plain_type_1): Likewise.
5412 * stmt.c (pushcase_range, all_cases_count, node_has_high_bound):
5413 Likewise.
5414 * fold-const.c (int_const_binop, fold_convert, make_range, fold):
5415 Likewise.
5416
5417 Thu Dec 18 17:05:10 1997 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5418
5419 * mips.c (fatal): Remove declaration.
5420
5421 1997-12-18 Mark Mitchell <mmitchell@usa.net>
5422
5423 * integrate.c (get_label_from_map): New function.
5424 (expand_inline_function): Use it. Initialize the label_map to
5425 NULL_RTX instead of gen_label_rtx.
5426 (copy_rtx_and_substitute): Use get_label_from_map.
5427 * integrate.h (get_label_from_map): New function.
5428 (set_label_from_map): New macro.
5429 * unroll.c (unroll_loop): Use them.
5430 (copy_loop_body): Ditto.
5431
5432 Thu Dec 18 19:19:57 1997 Ian Lance Taylor <ian@cygnus.com>
5433
5434 * mips/mips.h (INIT_SUBTARGET_OPTABS): Define if not defined.
5435 (INIT_TARGET_OPTABS): Define.
5436 * mips/ecoff.h: Include gofast.h before mips.h.
5437 (INIT_SUBTARGET_OPTABS): Define instead of INIT_TARGET_OPTABS.
5438 * mips/elf64.h: Likewise.
5439 * mips/elf.h (ASM_OUTPUT_SECTION_NAME): Define.
5440
5441 Thu Dec 18 14:51:12 1997 Jason Merrill <jason@yorick.cygnus.com>
5442
5443 * except.c: Remove register_exception_table{,_p}.
5444
5445 Thu Dec 18 14:57:29 1997 Gavin Koch <gavin@cygnus.com>
5446
5447 * unroll.c (calculate_giv_inc): Handle constant increment found in
5448 a MEM with an appropriate REG_EQUAL note.
5449
5450 * calls.c (expand_call): Implement LOAD_ARGS_REVERSED.
5451
5452 * dwarf2out.c (dwarf2out_frame_debug): Handle adjustments of the
5453 frame pointer in the prologue.
5454
5455 Thu Dec 18 00:19:38 1997 Robert Lipe <robertl@dgii.com>
5456
5457 * i386/x-sco5 (CLIB) Deleted. (ALLOCA) Added.
5458 * i386/xm-sco5.h (USE_C_ALLOCA) Added.
5459
5460 Tue Dec 16 18:51:00 1997 Bill Moyer <billm@cygnus.com>
5461
5462 * config/m68k/m68k.c (output_function_prologue): Typecast
5463 dwarf2out_cfi_label to (char *).
5464 * config/m68k/m68kemb.h (STARTFILE_SPEC): Redefined to "".
5465
5466 Wed Dec 17 15:06:04 1997 Richard Henderson <rth@cygnus.com>
5467
5468 * sparc.md (jump): Don't use the annul bit around an empty loop.
5469 Patch from Kevin.Kelly@East.Sun.COM.
5470
5471 Wed Dec 17 00:51:36 1997 Stan Cox (scox@cygnus.com)
5472
5473 * jump.c: (jump_optimize): Don't use the return register as a
5474 source1 of a conditional move.
5475
5476 Tue Dec 16 23:45:40 1997 Richard Henderson <rth@cygnus.com>
5477
5478 * sparc.c (DF_MODES): Or the mask not the bit number.
5479 (function_arg) [ARCH64]: Send unprototyped arg to fp reg first.
5480
5481 Wed Dec 17 00:13:48 1997 Christian Iseli <Christian.Iseli@lslsun.epfl.ch>
5482
5483 * combine.c (force_to_mode): return immediately if operand is a CLOBBER.
5484
5485 Tue Dec 16 23:44:54 1997 Manfred Hollstein <manfred@s-direktnet.de>
5486
5487 * fixincludes (size_t): Add support for Motorola's stdlib.h
5488 which fails to provide a definition for size_t.
5489 (fabs/hypot): Provide a prototype for fabs on m88k-motorola-sysv3.
5490 (strlen,strspn,strcspn return value): Handle different layout on sysV88.
5491 (hypot): Provide a fake for hypot for m88k-motorola-sysv3.
5492
5493 * m68k/xm-mot3300.h (ADD_MISSING_POSIX, ADD_MISSING_XOPEN): Define to
5494 prevent unresolved externals in libio.
5495 * m88k/xm-sysv3.h (ADD_MISSING_POSIX, ADD_MISSING_XOPEN): Likewise.
5496
5497 Tue Dec 16 23:25:45 1997 H.J. Lu (hjl@gnu.org)
5498
5499 * config/sparc/linux64.h (LIBGCC_SPEC): Removed.
5500 (CPP_SUBTARGET_SPEC): Add %{pthread:-D_REENTRANT}.
5501 (LIB_SPEC): Updated for glibc 2.
5502
5503 Tue Dec 16 20:11:36 1997 Jeffrey A Law (law@cygnus.com)
5504
5505 * ginclude/stdarg.h: Undo BeOS changes, they break hpux.
5506 * ginclude/varargs.h: Likewise.
5507
5508 Tue Dec 16 00:32:01 1997 Jeffrey A Law (law@cygnus.com)
5509
5510 * version.c: Bump for snapshot.
5511
5512 Tue Dec 16 00:14:29 1997 H.J. Lu (hjl@gnu.org)
5513
5514 * frame.h (__register_frame, __register_frame_table,
5515 __deregister_frame): New.
5516 * frame.c (__register_frame, __register_frame_table,
5517 __deregister_frame): New.
5518 * frame.c (__deregister_frame_info): Return void *.
5519 * frame.h (__deregister_frame_info): Ditto.
5520 * collect2.c (__deregister_frame_info): Ditto.
5521
5522 Mon Dec 15 18:40:08 1997 Richard Henderson <rth@cygnus.com>
5523
5524 * expmed.c (expand_shift): If SHIFT_COUNT_TRUNCATED, drop a SUBREG.
5525
5526 Mon Dec 15 18:31:43 1997 Richard Henderson <rth@cygnus.com>
5527
5528 * alpha.c (alpha_cpu_name): New variable.
5529 (alpha_mlat_string): Likewise.
5530 (alpha_memory_latency): Likewise.
5531 (override_options): Handle -mmemory-latency.
5532 (alpha_adjust_cost): Adjust load cost for latency.
5533 * alpha.h (TARGET_OPTIONS): Add meory-latency.
5534 (REGISTER_MOVE_COST): Define in terms of memory_latency. Take
5535 TARGET_CIX into account.
5536 (MEMORY_MOVE_COST): Define in terms of memory_latency.
5537 * invoke.texi (DEC Alpha Options): Document -mmemory-latency.
5538
5539 * alpha.h (ASM_COMMENT_START): New macro.
5540
5541 Mon Dec 15 17:48:05 1997 Richard Henderson <rth@cygnus.com>
5542
5543 * reload.h, reload1.c (eliminate_regs), caller-save.c, dbxout.c,
5544 dwarfout.c, dwarf2out.c, reload.c, sdbout.c: Revert March 15 change.
5545
5546 * reload.c (push_reload): If WORD_REGISTER_OPERATIONS, reload the
5547 SUBREG_REG if the word count is unchanged.
5548 * reload1.c (eliminate_regs) [case SET]: If W_R_O, preserve
5549 subregs of identical word size for push_reload.
5550
5551 Mon Dec 15 Mark Mitchell <mmitchell@usa.net> 11:41:32 1997
5552
5553 * toplev.c (rest_of_compilation): Don't call save_for_inline_copy
5554 if all we're doing is dealing with -Wreturn-type.
5555
5556 Mon Dec 15 09:44:39 1997 Richard Henderson <rth@cygnus.com>
5557
5558 * alpha.md (zero_extendqihi2, zero_extendqisi2, zero_extendqidi2):
5559 Use and 255 instead of zapnot 1, since it schedules better.
5560
5561 Mon Dec 15 08:48:24 1997 Jeffrey A Law (law@cygnus.com)
5562
5563 * stmt.c (expand_asm_operands): If an ASM has no outputs, then treat
5564 it as volatile.
5565
5566 Mon Dec 15 00:04:48 1997 Jeffrey A Law (law@cygnus.com)
5567
5568 * haifa-sched.c (remove_dependencies): Set RTX_INTEGRATED_P on
5569 dependency we delete. Properly update prev for multiple consecutive
5570 deletions.
5571 (priority): Skip deleted dependence.
5572
5573 Fri Dec 12 18:54:23 1997 Per Bothner <bothner@cygnus.com>
5574
5575 * expr.c (expand_builtin): Support BUILT_IN_FMOD - just call fmod.
5576
5577 Fri Dec 12 01:19:48 1997 Jason Merrill <jason@yorick.cygnus.com>
5578
5579 * flow.c (flow_analysis): Be consistent with find_basic_blocks in
5580 determining when a new basic block starts.
5581
5582 * alpha/osf2or3.h (LIB_SPEC): Restore missing defn.
5583
5584 * pa.h (TEXT_SPACE_P): Use TREE_CODE_CLASS.
5585 * pa.md (iorsi3): Add missing args to *_operand calls.
5586
5587 * except.c (call_get_eh_context): Don't mess with sequences.
5588 (emit_eh_context): Include the call in the sequence here.
5589
5590 1997-12-11 Paul Eggert <eggert@twinsun.com>
5591
5592 * collect2.c (write_c_file_glob): Allocate initial frame object
5593 in static storage and pass its address.
5594
5595 Thu Dec 11 23:33:48 1997 Jason Merrill <jason@yorick.cygnus.com>
5596
5597 * except.c (call_get_eh_context): Don't take a parm.
5598 Put the call at the top of the function.
5599 (emit_eh_context): Adjust.
5600 (get_eh_context): Replace with former use_eh_context.
5601 (get_eh_context_once, get_saved_pc_ref): Remove.
5602 (start_eh_unwinder, end_eh_unwinder, emit_unwinder): Remove.
5603 * except.h: Adjust.
5604 * integrate.c (expand_inline_function): Adjust.
5605 * toplev.c (rest_of_compilation): Don't call emit_unwinder.
5606
5607 Fri Oct 10 17:58:31 CEST 1997 Marc Lehmann <pcg@goof.com>
5608
5609 * i386/xm-go32.h (EXECUTABLE_SUFFIX): Define.
5610 (DIR_SEPARATOR, NO_SYS_SIGLIST): Likewise.
5611
5612 Thu Dec 11 23:55:17 1997 Manfred Hollstein <manfred@s-direktnet.de>
5613
5614 * fixincludes (strlen,strspn,strcspn return value): Handle different
5615 layout on sysV88.
5616 (hypot): Provide a fake for hypot which is broken on
5617 m88k-motorola-sysv3.
5618
5619 Thu Dec 11 23:50:17 1997 John F. Carr <jfc@mit.edu>
5620
5621 * tree.c, tree.h: Change tree_code_type, tree_code_length, and
5622 tree_code_name from pointers to arrays.
5623 * tree.c: Remove standard_tree_code_* variables, no longer used.
5624 * print-tree.c: Remove declaration of tree_code_name.
5625
5626 * cp/lex.c (init_lex): Update for tree_code_* changes.
5627 * objc/objc-act.c (init_objc): Likewise.
5628
5629 * tree.def, cp/cp-tree.def, objc/objc-tree.def: Update for tree_code
5630 changes.
5631
5632 Thu Dec 11 23:34:54 1997 Fred Fish <fnf@ninemoons.com>
5633
5634 * config.sub: Add support for BeOS target.
5635 * configure.in: Likewise.
5636 * ginclude/stdarg.h: Likewise.
5637 * ginclude/stddef.h: Likewise.
5638 * ginclude/varargs.h: Likewise.
5639 * rs6000/beos.h: New file for BeOS.
5640 * rs6000/t-beos: Likewise.
5641 * rs6000/x-beos: Likewise.
5642 * rs6000/xm-beos.h: Likewise.
5643 * toplev.c (get_run_time): Just return 0 on BeOS.
5644
5645 Thu Dec 11 23:25:23 1997 Jeffrey A Law (law@cygnus.com)
5646 Toon Moene (toon@moene.indiv.nluug.nl)
5647
5648 * m68k.h (GO_IF_LEGITIMATE_ADDRESS): No longer cater to horribly
5649 old and broken Sun3 assemblers. Newer versions handle large
5650 offsets correctly as does the GNU assembler.
5651
5652 Thu Dec 11 23:06:48 1997 H.J. Lu (hjl@gnu.ai.mit.edu)
5653
5654 * objc/objc-act.c (lang_report_error_function): Disable.
5655 * objc/objc-parse.y: Include "output.h".
5656 (yyerror): Remove redundant decl.
5657 (yyprint): Fix prototype.
5658 (apply_args_register_offset): Remove redundant decl.
5659 (get_file_function_name): Likewise.
5660
5661 Thu Dec 11 22:02:10 1997 Jason Merrill <jason@yorick.cygnus.com>
5662
5663 * flow.c (find_basic_blocks): A CALL_INSN that can throw starts
5664 a new basic block.
5665 (find_basic_blocks_1): Likewise.
5666
5667 Thu Dec 11 21:08:48 1997 Jason Merrill <jason@yorick.cygnus.com>
5668
5669 * except.c (use_eh_context): Don't copy_rtx a REG.
5670 (emit_throw): Lose old unwinder support.
5671 (expand_internal_throw): Likewise.
5672 * libgcc2.c (struct eh_context): Likewise.
5673 (new_eh_context): Likewise.
5674 (__get_eh_info): Lose redundant cast.
5675 (__get_dynamic_handler_chain): Likewise.
5676 (__get_saved_pc): Lose.
5677 Lose all old unwinder support code.
5678
5679 Thu Dec 11 20:42:18 1997 Teemu Torma <tot@trema.com>
5680
5681 Thread-safe EH support for pthreads, DCE threads and Solaris threads.
5682
5683 * integrate.c (expand_inline_function): If the inline fn uses eh
5684 context, make sure that the current fn has one.
5685 * toplev.c (rest_of_compilation): Call emit_eh_context.
5686 * except.c (use_eh_context): New fn.
5687 (get_eh_context_once): New fn.
5688 (call_get_eh_context): New fn.
5689 (emit_eh_context): New fn.
5690 (get_eh_context): Call either get_eh_context_once or
5691 call_get_eh_context, depending on what we have.
5692 (get_dynamic_handler_chain): Call get_eh_context_once.
5693 * except.h: Prototypes for fns above.
5694 * optabs.c (get_eh_context_libfunc): Removed.
5695 (init_optabs): Don't initialize it.
5696 * expr.h (get_eh_context_libfunc): Removed.
5697 * rtl.h, rtl.c: New reg_note REG_EH_CONTEXT.
5698 * config/pa/pa.h (CPP_SPEC): Support for -threads.
5699 * config/pa/pa-hpux10.h (LIB_SPEC): Ditto.
5700 * config/pa/t-pa (MULTILIB_OPTIONS, MULTILIB_DIRNAMES):
5701 New multilib for -threads.
5702 * config/sparc/t-sol2: Added multilibs for -threads and
5703 made -pthreads alias to it.
5704 * config/sparc/sol2.h (CPP_SPEC, LIB_SPEC):
5705 Added -threads and -pthreads options.
5706 * libgcc-thr.h: New file.
5707 * libgcc2.c: (__get_cpp_eh_context): Removed.
5708 (struct cpp_eh_context): Removed.
5709 (struct eh_context): Replaced cpp_eh_context with generic language
5710 specific pointer.
5711 (__get_eh_info): New function.
5712 (__throw): Check eh_context::info.
5713 (__sjthrow): Ditto.
5714 * libgcc2.c: Include libgcc-thr.h.
5715 (new_eh_context, __get_eh_context,
5716 eh_pthread_initialize, eh_context_initialize, eh_context_static,
5717 eh_context_specific, eh_context_free): New functions.
5718 (get_eh_context, eh_context_key): New variables.
5719 (__sjthrow, __sjpopnthrow, __eh_pcnthrow, __throw): Use
5720 get_eh_context to get the context.
5721 (longjmp): Move the declaration inside
5722 #ifdef DONT_USE_BUILTIN_SETJMP.
5723 * frame.c: Include libgcc-thr.h.
5724 (object_mutex): Mutex to protect the object list.
5725 (find_fde, __register_frame, __register_frame_table,
5726 __deregister_frame): Hold the lock while accessing objects.
5727 * except.h (get_eh_context): Declare.
5728 * except.c (current_function_ehc): Define.
5729 (current_function_dhc, current_function_dcc): Removed.
5730 (get_eh_context): New function.
5731 (get_dynamic_handler_chain): Use get_eh_context.
5732 (get_saved_pc_ref): Ditto.
5733 (get_dynamic_cleanup_chain): Removed references to
5734 current_function_dcc.
5735 (save_eh_status, restore_eh_status): Save and restore
5736 current_function_ehc instead.
5737 * optabs.c (get_eh_context_libfunc): New variable.
5738 (init_optabs): Initialize it.
5739 * expr.h: Declare get_eh_context_libfunc.
5740 * function.h (struct function): Replaced dhc and dcc with ehc.
5741 * except.c (get_saved_pc_ref): New functions.
5742 (eh_saved_pc_rtx, eh_saved_pc): Deleted.
5743 (expand_internal_throw_indirect): Use get_saved_pc_ref() instead
5744 of eh_saved_pc.
5745 (end_eh_unwinder): Likewise.
5746 (init_eh): Remove initialization of eh_saved_pc.
5747 * optabs.c (get_saved_pc_libfunc): New variable.
5748 (init_optabs): Initialize it.
5749 * expr.h: Declare get_saved_pc_libfunc.
5750 * except.h (eh_saved_pc_rtx): Deleted.
5751 (get_saved_pc_ref): Declared.
5752
5753 From Scott Snyder <snyder@d0sgif.fnal.gov>:
5754 * libgcc2.c (__get_saved_pc): New.
5755 (__eh_type, __eh_pc): Deleted.
5756 (__eh_pcnthrow): Use __get_saved_pc() instead of __eh_pc.
5757 (__get_dynamic_handler_chain): Move __dynamic_handler_chain inside
5758 this fcn.
5759
5760 Thu Dec 11 17:23:48 1997 John F. Carr <jfc@mit.edu>
5761
5762 * sparc/sol2.h: Use 64 bit multiply and divide functions in
5763 Solaris libc. Define TARGET_LIVE_G0 and TARGET_BROKEN_SAVERESTORE
5764 as 0.
5765
5766 * rtl.h (global_rtl): New variable, replacing separate variables for
5767 commonly used rtl.
5768 (const_int_rtx): Now array of rtx_def, not rtx.
5769 * emit-rtl.c: Update for new rtl data structures.
5770 * genattrtab.c: Define global_rtl.
5771
5772 Thu Dec 11 15:50:29 1997 David Edelsohn <edelsohn@mhpcc.edu>
5773
5774 * configure.in ({rs6000,powerpc}-*-*): Enable Haifa scheduler by
5775 default.
5776
5777 Wed Dec 10 12:30:18 1997 Anthony Green <green@cygnus.com>
5778
5779 * crtstuff.c (__do_global_ctors): Fix typo.
5780
5781 Tue Dec 9 09:43:59 1997 Manfred Hollstein <manfred@s-direktnet.de>
5782
5783 * toplev.c (main): Check HAVE_GETRLIMIT and HAVE_SETRLIMIT in addition
5784 to RLIMIT_STACK to see if we can call getrlimit and setrlimit.
5785
5786 Tue Dec 9 09:38:58 1997 David Edelsohn <edelsohn@mhpcc.edu>
5787
5788 * rs6000.h (FUNCTION_ARG_PADDING): Define.
5789 * rs6000.c (function_arg_padding): New function.
5790
5791 Tue Dec 9 10:34:21 1997 Manfred Hollstein <manfred@s-direktnet.de>
5792
5793 * m68k.c: Include tree.h only once.
5794
5795 Tue Dec 9 09:32:33 1997 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
5796
5797 * integrate.c (save_for_inline_copying): Make a new reg_parm_stack_loc.
5798
5799 Tue Dec 9 01:16:06 1997 Jeffrey A Law (law@cygnus.com)
5800
5801 * Partially cleaned up prototyping code from HJ.
5802 * tree.h: Add many prototypes.
5803 * haifa-sched.c (haifa_classify_insn): Renamed from classify_insn.
5804 All references changed.
5805 * rtl.h: Protect from multiple inclusions. Add many prototypes.
5806
5807 Tue Dec 9 01:15:15 1997 Fred Fish <fnf@ninemoons.com>
5808
5809 * libgcc2.c (string.h): Hoist inclusion to occur before first use of
5810 string functions like strlen.
5811
5812 Tue Dec 9 00:57:38 1997 Manfred Hollstein <manfred@s-direktnet.de>
5813
5814 * configure.in: Check for functions getrlimit and setrlimit.
5815 * cccp.c (main): Check HAVE_GETRLIMIT and HAVE_SETRLIMIT in addition
5816 to RLIMIT_STACK to see if we can call getrlimit and setrlimit.
5817
5818 Mon Dec 8 23:53:26 1997 Jay Sachs <sachs@bull.cs.williams.edu>
5819
5820 * Makefile.in (compare*): Handle losing behavior from 4.4bsd make.
5821
5822 Mon Dec 8 21:03:28 1997 Richard Henderson <rth@cygnus.com>
5823
5824 * alpha.c (REG_RA, alpha_return_addr, output_epilog):
5825 Fix merge problems.
5826
5827 * alpha.c (override_options): Don't know about scheduling for EV6.
5828 * alpha.md (ev5 function units): Don't overload as ev6.
5829
5830 * alpha.c (alpha_adjust_cost): Simplify. Fix typo in ev5 mult case.
5831 * alpha.md (define_attr type): Add mvi.
5832 (ev5_e0): Define sceduling parameters for it.
5833 (TARGET_MAX insns): Type is mvi not shift.
5834
5835 Mon Dec 8 18:15:00 1997 Richard Henderson <rth@cygnus.com>
5836
5837 * alpha/win-nt.h (TRAMPOLINE_TEMPLATE): Fix backported gcc-2.8 bug.
5838
5839 Mon Dec 8 21:17:28 1997 J"orn Rennecke <amylaar@cygnus.co.uk>
5840
5841 * cstamp-h, auto-config.h: Delete.
5842
5843 Sun Dec 7 19:19:03 1997 Jeffrey A Law (law@cygnus.com)
5844
5845 * version.c: Bump for snapshot.
5846
5847 Sat Dec 6 22:22:22 1997 Jeffrey A Law (law@cygnus.com)
5848
5849 * cccp.c: Fix typo brought over in merge.
5850
5851 * Merge in changes from gcc-2.8.
5852
5853 Mon Nov 3 05:45:32 1997 Philippe De Muyter <phdm@macqel.be>
5854
5855 * m68k.c: Include tree.h for dwarf2out_cfi_label.
5856
5857 * gcc.c (process_command): Do not take address of function fatal when
5858 calling lang_specific_driver.
5859
5860 Sat Dec 6 01:02:38 1997 Mumit Khan <khan@xraylith.wisc.edu>
5861
5862 * config/i386/cygwin32.h (DWARF2_UNWIND): Exception handling
5863 doesn't work with it yet, so set it to 0.
5864 * config/i386/xm-cygwin32.h (NO_SYS_SIGLIST): Define.
5865
5866 Sat Dec 6 01:01:02 1997 Christian Iseli <Christian.Iseli@lslsun.epfl.ch>
5867
5868 * cse.c (cse_insn): Check for invalid entries when taking references.
5869
5870 Fri Dec 5 18:26:25 1997 J"orn Rennecke <amylaar@cygnus.co.uk>
5871
5872 * loop.c (invariant_p): Don't test flag_rerun_loop_opt.
5873 (loop_optimize, scan_loop, strength_reduce): New argument unroll_p.
5874 * toplev.c (rest_of_compilation): Pass it. Remove code to
5875 save / clear / restore flag_unroll_{,all_}loops.
5876
5877 Fri Dec 5 16:26:03 1997 Bernd Schmidt <crux@ohara.Informatik.RWTH-Aachen.DE>
5878
5879 * i386.c (notice_update_cc): Remove bogus pentium GCC code.
5880
5881 Fri Dec 5 16:25:14 1997 Jeffrey A Law (law@cygnus.com)
5882
5883 * stmt.c (warn_if_unused_value): Don't warn for TRY_CATCH_EXPR.
5884
5885 Thu Dec 4 11:51:00 1997 Jason Merrill <jason@yorick.cygnus.com>
5886
5887 * except.c (get_dynamic_handler_chain): Only make the call once per
5888 function.
5889
5890 * except.c (expand_end_all_catch): Fix for sjlj exceptions.
5891
5892 Thu Dec 4 12:30:40 1997 J"orn Rennecke <amylaar@cygnus.co.uk>
5893
5894 * sh.c (final_prescan_insn): Use local label prefix
5895 when emitting .uses pseudo-ops.
5896
5897 Wed Dec 3 12:01:56 1997 Jason Merrill <jason@yorick.cygnus.com>
5898
5899 * libgcc2.c (__throw): Use __builtin_return_addr instead of __eh_pc.
5900 * except.c: Lose outer_context_label_stack.
5901 (expand_eh_region_end): Rethrow from outer_context here.
5902 (expand_fixup_region_end): Let expand_eh_region_end do the rethrow.
5903 (expand_internal_throw): Take no args.
5904 (expand_internal_throw_indirect): Lose.
5905 (expand_leftover_cleanups, expand_start_all_catch): Use expand_rethrow.
5906 (expand_start_all_catch): Start a rethrow region.
5907 (expand_end_all_catch): End it.
5908 (expand_rethrow): New fn.
5909 * except.h: Reflect above changes.
5910 * flow.c: Revert change of Nov 27.
5911
5912 Thu Dec 4 00:24:09 1997 Jeffrey A Law (law@cygnus.com)
5913
5914 * i386/t-sol2 (CRTSTUFF_T_CFLAGS): Turn on the optimizer.
5915
5916 Wed Dec 3 12:01:56 1997 Jason Merrill <jason@yorick.cygnus.com>
5917
5918 * except.c (expand_fixup_region_end): New fn.
5919 (expand_fixup_region_start): Likewise.
5920 (expand_eh_region_start_tree): Store cleanup into finalization here.
5921 * stmt.c (expand_cleanups): Use them to protect fixups.
5922
5923 Wed Dec 3 11:41:13 1997 Gavin Koch <gavin@cygnus.com>
5924
5925 * mips/mips.md (muldi3_r4000): Broaden the output template
5926 and attribute assignments to handle three operand dmult;
5927 rename to muldi3_internal2.
5928 (muldi3): Call the new muldi3_internal2 for R4000, and
5929 any GENERATE_MULT3 chip.
5930
5931 Tue Dec 2 19:40:43 1997 Jason Merrill <jason@yorick.cygnus.com>
5932
5933 * stmt.c (expand_decl_cleanup): Update thisblock after eh_region_start.
5934
5935 Tue Dec 2 12:54:33 1997 Jim Wilson <wilson@cygnus.com>
5936
5937 * unroll.c (find_splittable_givs): Remove last change. Handle givs
5938 with a dest_reg that was created by loop.
5939
5940 Sat Nov 29 12:44:57 1997 David Edelsohn <edelsohn@mhpcc.edu>
5941
5942 * rs6000.c (function_arg_partial_nregs): Undo Nov. 26 patch.
5943
5944 * rs6000/aix41.h (ASM_CPU_SPEC): Define.
5945
5946 Fri Nov 28 10:00:27 1997 Jeffrey A Law (law@cygnus.com)
5947
5948 * configure.in: Fix NCR entries.
5949
5950 Thu Nov 27 12:20:19 1997 Jeffrey A Law (law@cygnus.com)
5951
5952 * flow.c (find_basic_blocks): Handle cfg issues for rethrows and
5953 nested exceptions correctly.
5954
5955 * unroll.c (find_splittable_givs): Don't split givs with a dest_reg
5956 that was created by loop.
5957
5958 Thu Nov 27 09:34:58 1997 Jason Merrill <jason@yorick.cygnus.com>
5959
5960 * expr.c (preexpand_calls): Don't look past a TRY_CATCH_EXPR.
5961
5962 * except.c (expand_start_all_catch): One more do_pending_stack_adjust.
5963
5964 Wed Nov 26 15:47:30 1997 Michael Meissner <meissner@cygnus.com>
5965
5966 * rs6000.c (SMALL_DATA_REG): Register to use for small data relocs.
5967 (print_operand): Use SMALL_DATA_REG for the register involved in
5968 small data relocations.
5969 (print_operand_address): Ditto.
5970
5971 * rs6000/linux.h (LINK_SPEC): Pass -dynamic-linker /lib/ld.so.1 if
5972 -dynamic linker is not used.
5973
5974 * rs6000.md (call insns): For local calls, use @local suffix under
5975 System V. Don't use @plt under Solaris.
5976
5977 * rs6000.c (output_function_profiler): Put label address in r0, and
5978 store LR in 4(sp) for System V/eabi.
5979
5980 * rs6000.h (ASM_OUTPUT_REG_{PUSH,POP}): Keep stack aligned to 16
5981 byte boundary, and maintain stack backchain.
5982
5983 Tue Nov 25 14:08:12 1997 Jim Wilson <wilson@cygnus.com>
5984
5985 * mips.md (fix_truncdfsi2, fix_truncsfsi2, fix_truncdfdi2,
5986 fix_truncsfdi2): Change *.
5987
5988 Wed Nov 26 11:12:26 1997 Jason Merrill <jason@yorick.cygnus.com>
5989
5990 * toplev.c (main): Complain about -gdwarfn.
5991
5992 Tue Nov 25 22:43:30 1997 Jason Merrill <jason@yorick.cygnus.com>
5993
5994 * dwarfout.c (output_type): If finalizing, write out nested types
5995 of types we've already written.
5996
5997 Tue Nov 25 20:32:24 1997 Michael Meissner <meissner@cygnus.com>
5998
5999 (patches originally from Geoffrey Keating)
6000 * rs6000.c (function_arg): Excess floating point arguments don't
6001 go into GPR registers after exhausting FP registers under the
6002 System V.4 ABI.
6003 (function_arg_partial_nregs): Ditto.
6004
6005 * rs6000.md (call insns): If -fPIC or -mrelocatable, add @plt
6006 suffix to calls.
6007
6008 Tue Nov 25 23:37:27 1997 Jason Merrill <jason@yorick.cygnus.com>
6009
6010 * integrate.c (output_inline_function): Just unset DECL_INLINE.
6011
6012 Tue Nov 25 23:33:29 1997 scott snyder <snyder@d0sgif.fnal.gov>
6013
6014 * dwarf2out.c (outout_call_frame_info): Ensure that the info has
6015 proper alignment.
6016
6017 * libgcc2.c (__throw): Initialize HANDLER.
6018
6019 Tue Nov 25 14:08:12 1997 Jim Wilson <wilson@cygnus.com>
6020
6021 * mips.md (fix_truncdfsi2, fix_truncsfsi2, fix_truncdfdi2,
6022 fix_truncsfdi2): Change *X to ?*X.
6023
6024 Tue Nov 25 10:00:42 1997 Richard Henderson (rth@cygnus.com)
6025
6026 * alpha.h (CONST_OK_FOR_LETTER): Fix 'L' handling.
6027
6028 Tue Nov 25 10:00:42 1997 Jeffrey A Law (law@cygnus.com)
6029
6030 * crtstuff.c (do_global_dtors_aux): Handle multiple calls better.
6031
6032 Tue Nov 25 01:26:55 1997 Bruno Haible <haible@ilog.fr>:
6033
6034 * dwarf2out.c (ASM_OUTPUT_DWARF_DELTA1): Implement.
6035
6036 Mon Nov 24 22:41:55 1997 Jason Merrill <jason@yorick.cygnus.com>
6037
6038 * except.c (get_dynamic_handler_chain): Build up a FUNCTION_DECL.
6039 * optabs.c (init_optabs): Lose get_dynamic_handler_chain_libfunc.
6040 * expr.h: Likewise.
6041
6042 Sat Nov 22 18:58:20 1997 Jeffrey A Law (law@cygnus.com)
6043
6044 * pa-hpux10.h (NEW_HP_ASSEMBLER): Define.
6045 * pa.h (LEGITIMATE_CONSTANT_P): Reject LABEL_REFs if not using
6046 gas and not using the new HP assembler.
6047
6048 Fri Nov 21 15:20:05 1997 Jeffrey A Law (law@cygnus.com)
6049
6050 * Makefile.in (program_transform_cross_name): Clean up "-e" confusion.
6051 (GCC_INSTALL_NAME, GCC_CROSS_NAME): Likewise.
6052
6053 Fri Nov 21 19:37:40 1997 Andrew Cagney <cagney@b1.cygnus.com>
6054
6055 * config/mips/elf64.h (MULTILIB_DEFAULTS): Test for
6056 TARGET_ENDIAN_DEFAULT == zero instead of testing for macro
6057 definition.
6058
6059 Fri Nov 21 12:49:56 1997 Bruno Haible <bruno@linuix.mathematik.uni-karlsruhe.de>
6060
6061 * stmt.c (expand_end_bindings): Allow jump into block with cleanups.
6062
6063 Fri Nov 21 12:18:51 1997 Jason Merrill <jason@yorick.cygnus.com>
6064
6065 * except.h: Add outer_context_label_stack.
6066 * except.c: Likewise.
6067 (expand_start_all_catch): Push the outer_context for the try block
6068 onto outer_context_label_stack.
6069 (expand_end_all_catch): Use it and pop it.
6070
6071 Fri Nov 21 10:13:11 1997 Robert Lipe (robertl@dgii.com)
6072
6073 * i386/sco5.h (HAVE_ATEXIT): Revert last change.
6074
6075 Thu Nov 20 16:11:50 1997 Richard Henderson <rth@cygnus.com>
6076
6077 * alpha.c (alpha_emit_set_const_1): Handle narrow hosts better.
6078
6079 Thu Nov 20 16:11:50 1997 Klaus Kaempf <kkaempf@progis.de>
6080
6081 * alpha/vms.h (ASM_OUTPUT_ADDR_VEC_ELT): Add an L for the local label
6082 to correspond with the change to ASM_GENERATE_INTERNAL_LABEL.
6083
6084 Thu Nov 20 14:42:15 1997 Jason Merrill <jason@yorick.cygnus.com>
6085
6086 * Makefile.in (LIB2FUNCS): Remove C++ memory management support.
6087 * libgcc2.c: Remove __builtin_new, __builtin_vec_new, set_new_handler,
6088 __builtin_delete, and __builtin_vec_delete.
6089
6090 * except.c (output_exception_table): Don't bother with
6091 __EXCEPTION_END__.
6092
6093 Thu Nov 20 16:11:50 1997 Jeffrey A Law (law@cygnus.com)
6094
6095 * pa.md (pre_stwm, post_stwm, pre_ldwm, post_ldwm): Base register
6096 is an in/out operand.
6097 (zero extended variants of stwm/stwm patterns): Similarly.
6098
6099 * mips/x-iris (FIXPROTO_DEFINES): Add -D_SGI_SOURCE.
6100
6101 Thu Nov 20 13:19:32 1997 Jason Merrill <jason@yorick.cygnus.com>
6102
6103 * dwarf2out.c (ASM_OUTPUT_DWARF_OFFSET4): Rename from VALUE4.
6104 Use assemble_name.
6105 (ASM_OUTPUT_DEFINE_LABEL_DIFFERENCE_SYMBOL): Use assemble_name.
6106 (output_call_frame_info): Emit a \n after using it.
6107
6108 Thu Nov 20 00:38:46 1997 Dave Love <d.love@dl.ac.uk>
6109
6110 * configure.in: Add AC_ARG_ENABLE for Haifa as documentation.
6111
6112 Wed Nov 19 12:03:04 1997 Philippe De Muyter <phdm@macqel.be>
6113
6114 * dwarf2out.c (CIE_LENGTH_LABEL, FDE_LENGTH_LABEL): New macros.
6115 (ASM_OUTPUT_DWARF_VALUE4): New macro.
6116 (ASM_OUTPUT_DEFINE_LABEL_DIFFERENCE_SYMBOL): Define if SET_ASM_OP is
6117 defined.
6118 (output_call_frame_info): Do not output forward label differences
6119 if ASM_OUTPUT_DEFINE_LABEL_DIFFERENCE_SYMBOL is defined.
6120 * m68k/mot3300.h (SET_ASM_OP): Define when not using gas.
6121
6122 Tue Nov 18 23:03:30 1997 J"orn Rennecke <amylaar@cygnus.co.uk>
6123
6124 * sh.md (attribute "type"): Add nil.
6125 (movsi_ie): y/y alternative is type nil.
6126 (movsf_ie): Replace ry/yr/X alternative by r/y/X , y/r/X and y/y/X
6127 alternatives.
6128 (movsf_ie+1): Delete.
6129
6130 Tue Nov 18 15:39:59 1997 Jim Wilson <wilson@cygnus.com>
6131
6132 * mips/mips.c (save_restore_insns): If gp_offset or fp_offset are
6133 large_int, emit two insns instead of one splitable insn.
6134 * dwarf2out.c (dwarf2out_frame_debug): When set cfa_store_offset
6135 from cfa_temp_value, use cfa_offset. Add assert checking that
6136 cfa_reg is SP.
6137
6138 Mon Nov 17 15:35:38 1997 Tom Tromey <tromey@cygnus.com>
6139
6140 * cccp.c (deps_output): Properly quote file names for make.
6141
6142 Mon Nov 17 13:21:40 1997 Jeffrey A Law (law@cygnus.com)
6143
6144 * t-h8300 (MULTILIB_EXCEPTIONS): Define.
6145
6146 Fri Nov 7 15:33:11 1997 Robert Lipe (robertl@dgii.com)
6147
6148 * i386/sco5.h (HAVE_ATEXIT): Delete definition.
6149
6150 Sun Nov 16 23:52:48 1997 Jeffrey A Law (law@cygnus.com)
6151
6152 * cse.c (cse_insn): Don't look at JUMP_LABEL field of a conditionl
6153 return.
6154 (cse_end_of_basic_block): Similarly.
6155
6156 Sun Nov 16 23:01:40 1997 J. Kean Johnston <jkj@sco.com>
6157
6158 * i386/sco5.h (ASM_OUTPUT_ALIGNED_BSS): Define.
6159 (SELECT_RTX_SECTION): Define.
6160 (LIBGCC_SPEC, LIB_SPEC): Do the right thing for PIC.
6161
6162 Sun Nov 16 22:47:03 1997 Manfred Hollstein <manfred@s-direktnet.de>
6163
6164 * Makefile.in (compare, compare-lean): Define $stage for each
6165 shell command.
6166 (gnucompare, gnucompare-lean): Likewise.
6167
6168 Sun Nov 16 22:02:16 1997 Richard Henderson (rth@cygnus.com)
6169
6170 * alpha/win-nt.h (TRAMPOLINE_TEMPLATE): Fix offsets.
6171
6172 * alpha.h (ASM_OUTPUT_ADDR_DIFF_ELT): Add an L for the local label
6173 to correspond with the change to ASM_GENERATE_INTERNAL_LABEL.
6174
6175 Fri Nov 14 09:09:20 1997 Fred Fish (fnf@cygnus.com)
6176
6177 * dwarfout.c (byte_size_attribute): Add local var upper_bound
6178 and add case to handle STRING_TYPE.
6179 * dwarfout.c (output_string_type_die): Fix code to generate
6180 correct string length attribute for fixed length strings.
6181 Still needs support for varying length strings.
6182
6183 Fri Nov 14 08:46:56 1997 Jeffrey A Law (law@cygnus.com)
6184
6185 * toplev.c (get_run_time): Do something sensible for cygwin32.
6186
6187 Fri Nov 14 07:24:20 1997 Richard Henderson <rth@cygnus.com>
6188
6189 * expr.c (expand_builtin_setjmp): Set
6190 current_function_has_nonlocal_label.
6191 * stupid.c (stupid_life_analysis): If has_nonlocal_label, kill
6192 call-saved registers across calls.
6193
6194 * alpha.md (exception_receiver): Remove.
6195 (nonlocal_goto_receiver_osf): New
6196 (nonlocal_goto_receiver_vms): Renamed from nonlocal_goto_receiver.
6197 (nonlocal_goto_receiver): New, select _osf or _vms.
6198
6199 * alpha.c (output_prolog [*]): Prefix entry labels with '$' to
6200 keep them from being propogated to the object file.
6201 (alpha_write_linkage): Likewise.
6202 * alpha.md (call_vms): Likewise.
6203 (call_value_vms): Likewise.
6204 (unnamed osf call insns): Likewise.
6205
6206 * alpha.h (ASM_OUTPUT_INTERNAL_LABEL): Don't omit L from local label.
6207 (ASM_GENERATE_INTERNAL_LABEL): Likewise.
6208
6209 * alpha.c (call_operand): Any reg is valid for WinNT.
6210 * alpha.md (call_nt, call_value_nt): Don't force address into $27.
6211 (anon nt calls): Add 'R' alternative.
6212 * alpha/win-nt.h (TRAMPOLINE_TEMPLATE, TRAMPOLINE_SIZE,
6213 INITIALIZE_TRAMPOLINE): Handle lack of original $27 and 32-bit ptrs.
6214
6215 Fri Nov 14 06:59:33 1997 Jeffrey A Law (law@cygnus.com)
6216
6217 * calls.c (expand_call): Handle pcc_struct_value correctly for C++.
6218
6219 * i386/xm-cygwin32.h (HAVE_FILE_H, HAVE_RUSAGE): Delete defines.
6220 * i386/xm-mingw32.h (HAVE_FILE_H, HAVE_RUSAGE): Likewise.
6221 * rs6000/xm-cygwin32.h (HAVE_FILE_H, HAVE_RUSAGE): Likewise.
6222
6223 Thu Nov 13 20:37:33 1997 Michael Meissner <meissner@tiktok.cygnus.com>
6224
6225 * reload1.c (new_spill_reg): Improve fixed or forbidden register
6226 spill error message.
6227
6228 Thu Nov 13 20:29:08 1997 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
6229
6230 * prefix.c: Use stdarg.h only ifdef __STDC__. Otherwise,
6231 use varargs.h. Wrap header with <>, not "".
6232
6233 Thu Nov 13 20:21:17 1997 Jeffrey A Law (law@cygnus.com)
6234
6235 * integrate.c (save_for_inline_copying): Add return value from
6236 savealloc.
6237
6238 Thu Nov 13 19:12:33 1997 Brendan Kehoe <brendan@cygnus.com>
6239
6240 * fixincludes: Be a little more restrictive on what we will
6241 substitute to replace definitions of MAXINT for HPUX.
6242
6243 Thu Nov 13 18:41:02 1997 Michael Meissner <meissner@cygnus.com>
6244
6245 * dbxout.c (dbxout_symbol_location): Don't assume that variables
6246 whose address is the stack or argument pointers are indirect
6247 pointers.
6248
6249 1997-11-13 Paul Eggert <eggert@twinsun.com>
6250
6251 * cccp.c, cpplib.c (compare_defs):
6252 Don't complain about arg name respellings unless pedantic.
6253 * cpplib.c (compare_defs): Accept pfile as new arg.
6254 All callers changed.
6255
6256 Thu Nov 13 23:33:50 1997 J"orn Rennecke <amylaar@cygnus.co.uk>
6257
6258 * fold-const.c (fold_truthop): Fix bug in last change.
6259
6260 1997-11-13 Paul Eggert <eggert@twinsun.com>
6261
6262 Fix some confusion with IEEE minus zero.
6263
6264 * real.h (REAL_VALUES_IDENTICAL): New macro.
6265
6266 * expr.c (is_zeros_p): Don't consider -0.0 to be all zeros.
6267 * fold-const.c (operand_equal_p): Don't consider -0.0 to be
6268 identical to 0.0.
6269 * tree.c (simple_cst_equal): Don't consider -0.0 to have the
6270 same tree structure as 0.0.
6271
6272 * varasm.c (immed_real_const_1): Use new REAL_VALUES_IDENTICAL
6273 macro instead of doing it by hand.
6274
6275 Thu Nov 13 16:56:14 1997 Jeffrey A Law (law@cygnus.com)
6276
6277 * v850/lib1funcs.asm: Minor whitespace changes.
6278 * v850.c: Fix minor formatting problems in many places.
6279 (construct_restore_jr, construct_save_jarl): Remove unwanted aborts.
6280
6281 Thu Nov 13 12:53:44 1997 Jim Wilson <wilson@cygnus.com>
6282
6283 * mips.h (GO_IF_LEGITIMATE_ADDRESS): Delete code swapping xplus0 and
6284 xplus1 when xplus0 is not a register.
6285
6286 Thu Nov 13 11:41:42 1997 Jeffrey A Law (law@cygnus.com)
6287
6288 * flow.c (find_basic_blocks): During marking phase, if we encounter
6289 an insn with a REG_LABEL note, make the target block live and
6290 create an edge from the insn to the target block. Do not make
6291 edges from all blocks to the target block.
6292
6293 * m68k/x-next (OTHER_FIXINCLUDES_DIRS): Include /NextDeveloper/Headers.
6294
6295 * confiugre.in: Tweak NCR entries.
6296 * configure: Rebuilt.
6297
6298 Thu Nov 13 11:07:41 1997 Michael Meissner <meissner@cygnus.com>
6299
6300 * rs6000.c (num_insns_constant): Use REAL_VALUE_FROM_CONST_DOUBLE to
6301 pick apart floating point values, instead of using CONST_DOUBLE_LOW
6302 and CONST_DOUBLE_HIGH.
6303
6304 * rs6000.md (define_splits for DF constants): Use the appropriate
6305 REAL_VALUE_* interface to pick apart DF floating point constants in
6306 a machine independent fashion.
6307
6308 Thu Nov 13 00:06:58 1997 J"orn Rennecke <amylaar@cygnus.co.uk>
6309
6310 * fold-const.c (fold_truthop): When changing a one-bit comparison
6311 against zero into a comparison against mask, do a proper sign
6312 extension.
6313
6314 Wed Nov 12 09:37:01 1997 Jeffrey A Law (law@cygnus.com)
6315
6316 * except.c: Do not include "assert.h".
6317 (save_eh_status): Turn asserts into conditional aborts.
6318 (restore_eh_status, scan_region): Likewise.
6319 * dwarfout.c: Do not include "assert.h".
6320 (bit_offset_attribute): Turn asserts into conditional aborts.
6321 (bit_size_attribute, output_inlined_enumeration_type_die): Likewise.
6322 (output_inlined_structure_type_die): Likewise.
6323 (output_inlined_union_type_die): Likewise
6324 (output_tagged_type_instantiation): Likewise.
6325 (dwarfout_file_scope_decl): Likewise.
6326 * dwarf2out.c: Do not include "assert.h"
6327 (expand_builtin_dwarf_reg_size): Turn asserts into conditional aborts.
6328 (reg_save, initial_return_save, dwarf2out_frame_debug): Likewise.
6329 (add_child_die, modified_type_die, add_bit_offset_attribute): Likewise.
6330 (add_bit_size_attribute, scope_die_for): Likewise.
6331 (output_pending_types_for_scope): Likewise.
6332 (get_inlined_enumeration_type_die): Likewise.
6333 (get_inlined_structure_type_die): Likewise.
6334 (get_inlined_union_type_die, gen_subprogram_die): Likewise.
6335 (gen_tagged_type_instantiation_die): Likewise.
6336
6337 * flow.c (find_basic_blocks): Refine further to get a more correct
6338 cfg, especially in the presense of exception handling, computed
6339 gotos, and other non-trivial cases. Call abort if an inaccuracy
6340 is detected in the cfg.
6341
6342 Tue Nov 11 21:47:27 1997 J"orn Rennecke <amylaar@cygnus.co.uk>
6343
6344 * glimits.h (SHRT_MIN): Define in a way suitable for 16 bit hosts.
6345
6346 * c-lex.c (whitespace_cr, skip_white_space_on_line): New functions.
6347 (skip_white_space): Use whitespace_cr.
6348 (check_newline): Handle whitespace more consistently.
6349
6350 Tue Nov 11 16:25:49 1997 Jim Wilson <wilson@cygnus.com>
6351
6352 * i386/cygwin32.h (CPP_PREDEFINES): Delete -DPOSIX.
6353 * i386/xm-cygwin32.h (POSIX): Define.
6354
6355 Mon Nov 10 20:53:11 1997 Gavin Koch <gavin@cygnus.com>
6356
6357 * config/mips/mips.h (MASK_DEBUG_H): Set to zero, so this bit
6358 is available elsewhere.
6359
6360 Mon Nov 10 16:21:58 1997 Doug Evans <devans@canuck.cygnus.com>
6361
6362 * sparc/sparc.md (mov[sdt]f_const_insn): Fix condition to match
6363 what the instruction can handle.
6364
6365 Mon Nov 10 03:02:19 1997 Jason Merrill <jason@yorick.cygnus.com>
6366
6367 * stmt.c (expand_decl_cleanup_no_eh): New fn.
6368
6369 * except.c (expand_leftover_cleanups): do_pending_stack_adjust.
6370
6371 Mon Nov 10 00:05:56 1997 Jeffrey A Law (law@cygnus.com)
6372
6373 * alias.c (MAX_ALIAS_LOOP_PASSES): Define.
6374 (init_alias_analysis): Break out of loops after MAX_ALIAS_LOOP_PASSES.
6375
6376 Sun Nov 9 14:34:47 1997 David Edelsohn <edelsohn@mhpcc.edu>
6377
6378 * rs6000.md (lshrdi3_power): Delete '&' from first alternative and
6379 swap instruction order.
6380
6381 Sun Nov 9 02:07:16 1997 Jeffrey A Law (law@cygnus.com)
6382
6383 * fixinc.svr4 (__STDC__): Add another case.
6384
6385 Sun Nov 9 02:00:29 1997 J"orn Rennecke <amylaar@cygnus.co.uk>
6386
6387 * a29k.h (ELIGIBLE_FOR_EPILOGUE_DELAY): Avoid loads from varying
6388 addresses in the epilogue delay slot.
6389
6390 Sun Nov 9 01:40:40 1997 Manfred Hollstein (manfred@s-direktnet.de)
6391
6392 * m88k/dgux.h (ASM_CPU_SPEC): Reformatted to suppress wrong whitespace
6393 in generated `specs' file.
6394
6395 Sun Nov 9 01:37:11 1997 Jim Wilson (wilson@cygnus.com)
6396
6397 * flags.h (flag_rerun_loop_opt): Declare.
6398 * loop.c (invariant_p, case LABEL_REF): Check flag_rerun_loop_opt.
6399 * toplev.c (flag_rerum_loop_opt): Delete static.
6400
6401 Sat Nov 8 18:20:21 1997 J"orn Rennecke <amylaar@cygnus.co.uk>
6402
6403 Bring over from FSF:
6404
6405 Thu Oct 30 12:21:06 1997 J"orn Rennecke <amylaar@cygnus.co.uk>
6406
6407 * va-sh.h (__va_arg_sh1): Define.
6408 (va_arg): Use it.
6409 SH3E doesn't use any integer registers for subsequent arguments
6410 once a non-float value was passed in the stack.
6411 * sh.c (machine_dependent_reorg): If optimizing, put explicit
6412 alignment in front label for ADDR_DIFF_VEC.
6413 * sh.h (PASS_IN_REG_P): Fix SH3E case.
6414 (ADJUST_INSN_LENGTH): If not optimizing, add two extra bytes length.
6415
6416 Tue Oct 28 15:06:44 1997 J"orn Rennecke <amylaar@cygnus.co.uk>
6417
6418 * sh/elf.h (PREFERRED_DEBUGGING_TYPE): Undefine before including
6419 svr4.h.
6420
6421 Mon Oct 27 16:11:52 1997 J"orn Rennecke <amylaar@cygnus.co.uk>
6422
6423 * sh.c (machine_dependent_reorg): When -flag_delayed_branches,
6424 put an use_sfunc_addr before each sfunc.
6425 * sh.md (use_sfunc_addr, dummy_jump): New insns.
6426 (casesi): For TARGET_SH2, emit a dummy_jump after LAB.
6427
6428 Tue Oct 21 07:12:28 1997 J"orn Rennecke <amylaar@cygnus.co.uk>
6429
6430 * sh/elf.h (PREFERRED_DEBUGGING_TYPE): Don't redefine.
6431
6432 Fri Nov 7 10:22:24 1997 Jason Merrill <jason@yorick.cygnus.com>
6433
6434 * frame.c (add_fdes, count_fdes): Go back to checking pc_begin for
6435 linked once FDEs.
6436
6437 Wed Nov 5 14:26:05 1997 Jeffrey A Law (law@cygnus.com)
6438
6439 * alias.c (find_base_value): Only return the known base value for
6440 pseudo registers.
6441
6442 Wed Nov 5 11:27:14 1997 Jim Wilson <wilson@cygnus.com>
6443
6444 * i386.c (load_pic_register): Call prologue_get_pc_and_set_got.
6445 * i386.md (prologue_set_got, prologue_get_pc): Add UNSPEC_VOLATILE
6446 to pattern.
6447 (prologue_get_pc_and_set_got): New pattern.
6448
6449 Tue Nov 4 20:36:50 1997 Richard Henderson (rth@cygnus.com)
6450
6451 * alpha.c (summarize_insn): Handle ASM_OPERANDS. Don't recurse
6452 for SUBREG, just fall through.
6453
6454 * alpha.c (alpha_handle_trap_shadows): Init sum.defd to zero.
6455
6456 * alpha.md (attr trap): Make TRAP_YES non-zero for sanity's sake.
6457
6458 Tue Nov 4 18:49:42 1997 Jeffrey A Law (law@cygnus.com)
6459
6460 * fixincludes: Fix "hypot" prototype in NeXT math.h.
6461
6462 * Makefile.in (USE_ALLOCA): Always include alloca.o.
6463 (USE_HOST_ALLOCA): Likewise.
6464
6465 * rtl.def (CODE_LABEL): Use separate fields for LABEL_NUSES
6466 and LABEL_REFS fields.
6467 * rtl.h (LABEL_REFS): Update.
6468
6469 Tue Nov 4 16:55:11 1997 Jim Wilson <wilson@cygnus.com>
6470
6471 * combine.c (try_combine): When setting elim_i2, check whether newi2pat
6472 sets i2dest. When calling distribute_notes for i3dest_killed, pass
6473 elim_i2 and elim_i1. When setting elim_i1, check if newi2pat
6474 sets i1dest.
6475
6476 * mips.md (insv, extzv, extv): Add change_address call.
6477 (movsi_ulw, movsi_usw): Change QImode to BLKmode in pattern.
6478
6479 * integrate.c (save_for_inline_copying): Copy parm_reg_stack_loc.
6480
6481 * reload.c (find_reloads, case 'm' and 'o'): Reject HIGH constants.
6482
6483 * mips.c (mips_expand_epilogue): Emit blockage insn before call to
6484 save_restore_insns if no FP and GP will be restored.
6485
6486 * dwarf2out.c (expand_builtin_dwarf_reg_size): New variable mode.
6487 Convert CCmode to word_mode before calling GET_MODE_SIZE.
6488
6489 * acconfig.h (HAVE_INTTYPES_H): Undef.
6490 * configure.in (inttypes.h): Check for conflicts between sys/types.h
6491 and inttypes.h, and verify that intmax_t is defined.
6492 * config/mips/x-iris (CC, OPT, OLDCC): Comment out.
6493 * config/mips/x-iris3: Likewise.
6494
6495 Tue Nov 4 16:07:15 1997 Jeffrey A Law (law@cygnus.com)
6496
6497 * alias.c (find_base_value): When copying arguments, return the
6498 tenative value for a hard register.
6499
6500 Tue Nov 4 13:40:35 1997 Doug Evans <devans@canuck.cygnus.com>
6501
6502 * c-lex.c (MULTIBYTE_CHARS): #undef if cross compiling.
6503 (yylex): Record wide strings using target endianness, not host.
6504
6505 Tue Nov 4 13:13:12 1997 Jeffrey A Law (law@cygnus.com)
6506
6507 * mn10200.h (ASM_OUTPUT_BSS): Delete.
6508 (ASM_OUTPUT_ALIGNED_BSS): New macro
6509 * mn10300.h (ASM_OUTPUT_BSS): Delete.
6510 (ASM_OUTPUT_ALIGNED_BSS): New macro.
6511 * v850.h (ASM_OUTPUT_BSS): Delete.
6512 (ASM_OUTPUT_ALIGNED_BSS): New macro.
6513
6514 Tue Nov 4 00:55:48 1997 J"orn Rennecke <amylaar@cygnus.co.uk>
6515
6516 * profile.c (branch_prob): Insert an insn after a NOTE_INSN_SETJMP.
6517
6518 Mon Nov 3 14:36:50 1997 Jeffrey A Law (law@cygnus.com)
6519
6520 * configure.in (sco5): Use cpio to install header files.
6521
6522 Sun Nov 2 23:31:43 1997 Manfred Hollstein <manfred@s-direktnet.de>
6523
6524 * aclocal.m4 (conftestdata_from, conftestdata_to): Names shortened to
6525 14 char length.
6526 * configure: Rebuild.
6527
6528 Sun Nov 2 19:44:00 1997 Robert Lipe (robertl@dgii.com)
6529
6530 * i386/sco5.h: enable -gstabs once again.
6531
6532 Sun Nov 2 19:27:21 1997 Jeffrey A Law (law@cygnus.com)
6533
6534 * arm.c (output_move_double): Allocate 3 entries in otherops array.
6535
6536 Sat Nov 1 21:43:00 1997 Mike Stump (mrs@wrs.com)
6537
6538 * except.c (expand_ex_region_start_for_decl): Emit EH_REGION_BEG
6539 notes for sjlj exceptions too.
6540 (expand_eh_region_end): Similarly for EH_REGION_END notes.
6541 (exception_optimize): Optimize EH regions for sjlj exceptions too.
6542 * final.c (final_scan_insn): Don't output labels for EH REGION
6543 notes if doing sjlj exceptions.
6544
6545 Sat Nov 1 19:15:28 1997 Jeffrey A Law (law@cygnus.com)
6546
6547 * alias.c (init_alias_analysis): Handle -fno-alias-check when
6548 optimizing correctly.
6549
6550 * expr.c (expand_builtin_setjmp): Don't emit a SETJMP note
6551 or set current_function_calls_setjmp anymore.
6552
6553 * flow.c (find_basic_blocks): If we delete the label for an
6554 exception handler, remove it from the EH label list and remove
6555 the EH_BEGIN/EH_END notes for that EH region.
6556
6557 Sat Nov 1 16:44:49 1997 Jason Merrill (jason@cygnus.com)
6558
6559 * flow.c (find_basic_blocks): Generate correct flow control
6560 information when exception handling notes are present.
6561
6562 Sat Nov 1 13:42:19 1997 Jeffrey A Law (law@cygnus.com)
6563
6564 * dwarf2out.c (output_call_frame_info): Fix length argument
6565 to ASM_OUTPUT_ASCII.
6566 (output_die, output_pubnames, output_line_info): Likewise.
6567
6568 Fri Oct 31 07:10:09 1997 Jeffrey A Law (law@cygnus.com)
6569
6570 * version.c: Bump for snapshot.
6571
6572 * dwarf2out.c (output_call_frame_info): Use ASM_OUTPUT_ASCII to
6573 output ASCII by default. Only use ASM_OUTPUT_DWARF_STRING if
6574 flag_debug_asm is on.
6575 (output_die, output_pubnames, output_line_info): Likewise.
6576
6577 * alias.c (init_alias_analysis): Add struct_value_incoming_rtx
6578 and static_chain_rtx into the potential base values array if
6579 they are registers.
6580
6581 * alias.c (new_reg_base_value): New array of potential base values.
6582 (unique_id): Now file scoped static.
6583 (find_base_value, case REG): Return the value in reg_base_value
6584 array for the REG if it exists. Else, return the value from
6585 new_reg_base_value if copying args and REG is a hard register.
6586 (find_base_value, case PLUS): If either operand of the PLUS is
6587 a REG, try to get its base value. Handle base + index and
6588 index + base.
6589 (record_set): Use new_reg_base_value instead of reg_base_value.
6590 (init_alias_analysis): Allocate space for new_reg_base_value too.
6591 Rework code to iterate over the insns propagating base value
6592 information until nothing changes.
6593
6594 * global.c (global_alloc): Free the conflict matrix after
6595 reload has finished.
6596
6597 Fri Oct 31 01:45:31 1997 Jason Merrill <jason@yorick.cygnus.com>
6598
6599 * libgcc2.c (L_eh): Define __eh_pc.
6600 Replace __eh_type with generic pointer __eh_info.
6601
6602 Fri Oct 31 00:34:55 1996 J"orn Rennecke <amylaar@cygnus.co.uk>
6603
6604 * expr.c (expand_increment): When enqueing a postincrement for a MEM,
6605 use copy_to_reg if address is not a general_operand.
6606
6607 Fri Oct 31 00:16:55 1997 J"orn Rennecke <amylaar@cygnus.co.uk>
6608
6609 * profile.c (output_func_start_profiler): Clear flag_inline_functions
6610 for the duration of the call to rest_of_compilation.
6611
6612 Thu Oct 30 14:40:10 1997 Doug Evans <devans@canuck.cygnus.com>
6613
6614 * configure.in (sparc-*-elf*): Use sparc/elf.h, sparc/t-elf.
6615 Set extra_parts.
6616 (sparc*-*-*): Recognize --with-cpu=v9.
6617 * sparc/elf.h: New file.
6618 * sparc/t-elf: New file.
6619
6620 Thu Oct 30 13:26:12 1997 Jeffrey A Law (law@cygnus.com)
6621
6622 * mn10300.c (const_8bit_operand): New function.
6623 (mask_ok_for_mem_btst): New funtion.
6624 * mn10300.md (btst patterns with mem operands): Use new functions
6625 to avoid creating btst instructions with invalid operands.
6626
6627 Wed Oct 29 16:57:19 1997 Michael Meissner <meissner@cygnus.com>
6628
6629 * rs6000/xm-sysv4.h: Include xm-linux.h instead of xm-svr4.h if we
6630 are running on PowerPC Linux.
6631
6632 Wed Oct 29 13:10:11 1997 Gavin Koch <gavin@cygnus.com>
6633
6634 * config/mips/elf64.h (PREFERRED_DEBUGGING_TYPE): Only define
6635 if not previously defined.
6636
6637 Tue Oct 28 23:55:27 1997 Doug Evans (devans@cygnus.com)
6638
6639 * function.c (assign_parms): Correct mode of stack_parm if
6640 entry_parm underwent a mode conversion.
6641
6642 1997-10-28 Brendan Kehoe <brendan@lisa.cygnus.com>
6643
6644 * global.c (global_alloc): Use xmalloc instead of alloca for
6645 CONFLICTS, since max_allocno * allocno_row_words alone can be more
6646 than 2.5Mb sometimes.
6647
6648 Tue Oct 28 15:29:15 1997 Richard Henderson <rth@cygnus.com>
6649
6650 * reload1.c (eliminate_regs [SET]): If [SUBREG] widened the mode of
6651 DEST for the spill, adjust mode of SRC to compensate.
6652
6653 Tue Oct 28 14:36:45 1997 Richard Henderson <rth@cygnus.com>
6654
6655 * alpha.md (reload_inqi): Check for MEM before strict_memory_address_p,
6656 since any_memory_operand() allows pseudos during reload.
6657 (reload_inhi, reload_outqi, reload_outhi): Likewise.
6658
6659 Tue Oct 28 11:53:14 1997 Jim Wilson <wilson@cygnus.com>
6660
6661 * m68k.md (btst patterns): Add 5200 support.
6662
6663 Tue Oct 28 11:58:40 1997 Toon Moene <toon@moene.indiv.nluug.nl>
6664
6665 * fold-const.c (fold): For ((a * C1) / C3) or (((a * C1) + C2) / C3)
6666 optimizations, look inside dividend to determine if the expression
6667 can be simplified by using EXACT_DIV_EXPR.
6668
6669 Tue Oct 28 10:19:01 1997 Jason Merrill <jason@yorick.cygnus.com>
6670
6671 From Brendan:
6672 * dwarf2out.c (output_call_frame_info): Use l1 instead of ".".
6673
6674 Tue Oct 28 00:32:14 1997 Richard Henderson <rth@cygnus.com>
6675
6676 * alpha.c (summarize_insn [SUBREG]): Propogate SET.
6677
6678 Mon Oct 27 23:59:26 1997 Richard Henderson <rth@cygnus.com>
6679
6680 * alpha.c (alpha_handle_trap_shadows): Don't call get_attr_trap
6681 on a CLOBBER.
6682
6683 Mon Oct 27 21:25:20 1997 Richard Henderson <rth@cygnus.com>
6684
6685 * alpha.md (movqi, movhi): Make sure new insns created during reload
6686 won't need reloading themselves.
6687 (reload_inqi, reload_inhi, reload_outqi, reload_outhi): Likewise.
6688
6689 Mon Oct 27 16:11:10 1997 Jeffrey A Law (law@cygnus.com)
6690
6691 * mn10300.h (GO_IF_LEGITIMATE_ADDRESS): Disable reg+reg.
6692
6693 Sun Oct 26 13:50:44 1997 Richard Henderson <rth@cygnus.com>
6694
6695 * alpha.c (alpha_sa_mask [VMS]): Don't include $26 in the mask.
6696 Patch from Klaus Kaempf <kkaempf@progis.de>.
6697
6698 Sun Oct 26 13:31:47 1997 Jim Wilson (wilson@cygnus.com)
6699
6700 * expr.c (expand_expr, case INDIRECT_REF): Optimize a reference
6701 to an element in a constant string.
6702
6703 Sun Oct 26 11:41:49 1997 Jason Merrill <jason@yorick.cygnus.com>
6704
6705 * dwarf2out.c (output_call_frame_info): The CIE pointer is now a 32
6706 bit PC-relative offset. The exception range table pointer is now in
6707 the CIE.
6708 * frame.c (dwarf_cie, dwarf_fde): Rename CIE_pointer to CIE_delta.
6709 (count_fdes, add_fdes, get_cie): Adjust.
6710 (cie_info, extract_cie_info, __frame_state_for): Adjust eh_ptr uses.
6711
6712 From H.J. Lu:
6713 * frame.c (count_fdes, add_fdes): Skip linked once FDE entries.
6714
6715 Sun Oct 26 11:52:01 1997 Richard Henderson <rth@cygnus.com>
6716
6717 * alias.c (memrefs_conflict_p): Treat arg_pointer_rtx just
6718 like stack_pointer_rtx.
6719
6720 Sun Oct 26 11:32:16 1997 Manfred Hollstein <manfred@s-direktnet.de>
6721
6722 * Makefile.in (bootstrap-lean): Combined with `normal' bootstrap
6723 targets using "$@" to provide support for similar but not identical
6724 targets without having to duplicate code.
6725 (bootstrap4): New goal.
6726
6727 * Makefile.in (compare, compare-lean, compare3): Combined to one
6728 ruleset determining actions to be performed via $@.
6729 (compare4, compare4-lean): New targets.
6730 (gnucompare, gnucompare3): Combined to one ruleset determining
6731 actions to be performed via $@. Also, note which files failed
6732 the comparison test in .bad_compare.
6733 (gnucompare-lean, gnucompare3-lean, gnucompare4-lean): New targets.
6734
6735 Sun Oct 26 10:06:11 1997 Toon Moene <toon@moene.indiv.nluug.nl>
6736
6737 * fold-const (fold): Also simplify FLOOR_DIV_EXPR to EXACT_DIV_EXPR
6738 if the dividend is a multiple of the divisor.
6739
6740 Sun Oct 26 09:21:40 1997 Jeffrey A Law (law@cygnus.com)
6741
6742 * Makefile.in (LIBGCC2_CFLAGS): Add -fexceptions.
6743
6744 * alias.c (find_base_term): Handle PRE_INC, PRE_DEC, POST_INC,
6745 and POS_DEC.
6746
6747 * alias.c (true_dependence): Fix typo.
6748
6749 * toplev.c (flag_rerun_loop_opt): New variable.
6750 (f_options): Handle -frerun-loop-opt.
6751 (rest_of_compilation): If -frerun-loop-opt, then run the loop
6752 optimizer twice.
6753 (main): Enable -frerun-loop-opt by default for -O2 or greater.
6754
6755 * loop.c (simplify_giv_expr): Adding two invariants results
6756 in an invariant.
6757
6758 Sun Oct 26 09:15:15 1997 Richard Henderson <rth@cygnus.com>
6759
6760 * expr.c (get_inner_reference): Remove the array bias after
6761 converting the index to Pmode.
6762
6763 Sat Oct 25 12:20:58 1997 Jeffrey A Law (law@cygnus.com)
6764
6765 * mn10300.h (TARGET_SWITCHES): Add -mmult-bug and -mno-mult-bug.
6766 (TARGET_MULT_BUG): Define.
6767 (TARGET_DEFAULT): Default to TARGET_MULT_BUG.
6768 * mn10300.md (mulsi3): Handle TARGET_MULT_BUG.
6769
6770 Fri Oct 24 17:40:34 1997 Jeffrey A Law (law@cygnus.com)
6771
6772 * mn10200.c (indirect_memory_operand): Delete unused function.
6773 * mn10200.h (EXTRA_CONSTRAINT): Handle 'R'.
6774 * mn10200.md (bset, bclr insns): Handle output in a reg too.
6775
6776 Fri Oct 24 15:54:57 1997 Richard Henderson <rth@cygnus.com>
6777
6778 * alpha.md (call patterns): Revert Oct 16 change; if we are to elide
6779 the callee's ldgp, we must do it ourselves, and we use the jsr tag
6780 for more than scheduling.
6781
6782 Fri Oct 24 13:23:04 1997 Doug Evans <devans@canuck.cygnus.com>
6783
6784 * sparc/sparc.h (ASM_SPEC): Delete asm_arch.
6785
6786 Fri Oct 24 13:19:40 1997 Jeffrey A Law (law@cygnus.com)
6787
6788 * mn10300.c (symbolic_operand, legitimize_address): New functions.
6789 * mn10300.h (LEGITIMIZE_ADDRESS): Call legitimize_address.
6790 (GO_IF_LEGITIMATE_ADDRESS): Don't allow base + symbolic.
6791
6792 Thu Oct 23 09:35:12 1997 Jeffrey A Law (law@cygnus.com)
6793
6794 * version.c: Bump for snapshot.
6795
6796 Thu Oct 23 08:03:59 1997 J"orn Rennecke <amylaar@cygnus.co.uk>
6797
6798 * dbxout.c (dbxout_start_new_source_file): Use output_quoted_string
6799 for FILENAME.
6800
6801 Wed Oct 22 00:34:12 1997 Jeffrey A Law (law@cygnus.com)
6802
6803 * toplev.c (flag_exceptions): Default value is 2.
6804 (compile_file): If flag_exceptions still has the value 2, then
6805 set it to 0.
6806
6807 * rs6000.c (struct machine_function): Add pic_offset_table_rtx.
6808 (rs6000_save_machine_status): Save pic_offset_table_rtx.
6809 (rs6000_restore_machine_status: Restore pic_offset_table_rtx.
6810
6811 * local-alloc.c (block_alloc): Don't lose if two SCRATCH expressions
6812 are shared.
6813
6814 * rs6000.md (*movsi_got_internal_mem): New pattern.
6815 (*movsi_got_internal_mem splitter): New define_split.
6816
6817 Tue Oct 21 18:14:03 1997 Jim Wilson <wilson@cygnus.com>
6818
6819 * obstack.h (obstack_empty_p): Fix spurious space after backslash.
6820
6821 Tue Oct 21 18:34:01 1997 Geoffrey KEATING <geoffk@ozemail.com.au>
6822
6823 * rs6000.c: Avoid creating a stack frame under SYSV ABI if we
6824 only need to save LR.
6825
6826 Tue Oct 21 10:06:40 1997 Jeffrey A Law (law@cygnus.com)
6827
6828 * mn10300.md (movqi, movhi): Avoid using address registers as
6829 destinations unless absolutely necessary.
6830
6831 * mn10200.c (expand_prologue): Fix typo.
6832
6833 * mn10200.h (GO_IF_LEGITIMATE_ADDRESS): Do not allow indexed
6834 addresses.
6835 * mn10200.md (neghi2): Provide an alternative which works if
6836 the input and output register are the same.
6837
6838 * mn10300.c (print_operand): Handle 'S'.
6839 * mn10300.md (ashlsi3, lshrsi3, ashrsi3): Use %S for
6840 shift amount in last alternative
6841
6842 * mn10300.c (expand_epilogue): Rework to handle register restores
6843 in "ret" and "retf" instructions correctly.
6844
6845 Mon Oct 20 16:47:08 1997 Jim Wilson <wilson@cygnus.com>
6846
6847 * expmed.c (extract_bit_field): Don't make flag_force_mem disable
6848 extzv for memory operands.
6849
6850 * cse.c (simplify_ternary_operation, case IF_THEN_ELSE): Collapse
6851 redundant conditional moves to single operand.
6852
6853 Mon Oct 20 15:30:26 1997 Nick Clifton <nickc@cygnus.com>
6854
6855 * v850.h: Move define of __v850__ from CPP_PREDEFINES
6856 to CPP_SPEC.
6857
6858 * xm-v850.h: Use __v850 rather than __v850__ to
6859 identify v850 port.
6860
6861 Mon Oct 20 14:15:02 1997 Jim Wilson <wilson@cygnus.com>
6862
6863 * mips/mips.c (compute_frame_size): Not a leaf function if
6864 profile_flag set.
6865
6866 Mon Oct 20 14:16:38 1997 Geoffrey KEATING <geoffk@ozemail.com.au>
6867
6868 * rs6000/t-ppccomm: Use -msdata=none for crtstuff.
6869
6870 Mon Oct 20 12:28:17 1997 Doug Evans <devans@canuck.cygnus.com>
6871
6872 * sparc/sparc.h (SPARC_V9,SPARC_ARCH64): Delete.
6873 (DEFAULT_ARCH32_P): New macro.
6874 (TARGET_ARCH{32,64}): Allow compile time or runtime selection.
6875 (enum cmodel): Declare.
6876 (sparc_cmodel_string,sparc_cmodel): Declare.
6877 (SPARC_DEFAULT_CMODEL): Provide default.
6878 (TARGET_{MEDLOW,MEDANY}): Renamed to TARGET_CM_{MEDLOW,MEDANY}.
6879 (TARGET_FULLANY): Deleted.
6880 (TARGET_CM_MEDMID): New macro.
6881 (CPP_CPU_DEFAULT_SPEC): Renamed from CPP_DEFAULT_SPEC.
6882 (ASM_CPU_DEFAULT_SPEC): Renamed from ASM_DEFAULT_SPEC.
6883 (CPP_PREDEFINES): Take out stuff now handled by %(cpp_arch).
6884 (CPP_SPEC): Rewrite.
6885 (CPP_ARCH{,32,64,_DEFAULT}_SPEC): New macros.
6886 (CPP_{ENDIAN,SUBTARGET}_SPEC): New macros.
6887 (ASM_ARCH{,32,64,_DEFAULT}_SPEC): New macros.
6888 (ASM_SPEC): Add %(asm_arch).
6889 (EXTRA_SPECS): Rename cpp_default to cpp_cpu_default.
6890 Rename asm_default to asm_cpu_default.
6891 Add cpp_arch32, cpp_arch64, cpp_arch_default, cpp_arch, cpp_endian,
6892 cpp_subtarget, asm_arch32, asm_arch64, asm_arch_default, asm_arch.
6893 (NO_BUILTIN_{PTRDIFF,SIZE}_TYPE): Define ifdef SPARC_BI_ARCH.
6894 ({PTRDIFF,SIZE}_TYPE): Provide 32 and 64 bit values.
6895 (MASK_INT64,MASK_LONG64): Delete.
6896 (MASK_ARCH64): Renamed to MASK_64BIT.
6897 (MASK_{MEDLOW,MEDANY,FULLANY,CODE_MODEL}): Delete.
6898 (EMBMEDANY_BASE_REG): Renamed from MEDANY_BASE_REG.
6899 (TARGET_SWITCHES): Always provide 64 bit options.
6900 (ARCH64_SWITCHES): Delete.
6901 (TARGET_OPTIONS): New option -mcmodel=.
6902 (INT_TYPE_SIZE): Always 32.
6903 (MAX_LONG_TYPE_SIZE): Define ifdef SPARC_BI_ARCH.
6904 (INIT_EXPANDERS): sparc64_init_expanders renamed to sparc_init_....
6905 (FUNCTION_{,BLOCK_}PROFILER): Delete TARGET_EMBMEDANY support.
6906 (PRINT_OPERAND_PUNCT_VALID_P): Add '_'.
6907 * sparc/linux-aout.h (CPP_PREDEFINES): Take out stuff handled by
6908 CPP_SPEC.
6909 (CPP_SUBTARGET_SPEC): Renamed from CPP_SPEC.
6910 * sparc/linux.h: Likewise.
6911 * sparc/linux64.h (SPARC_V9,SPARC_ARCH64): Delete.
6912 (ASM_CPU_DEFAULT_SPEC): Renamed from ASM_DEFAULT_SPEC.
6913 (TARGET_DEFAULT): Delete MASK_LONG64, MASK_MEDANY, add MASK_64BIT.
6914 (SPARC_DEFAULT_CMODEL): Define.
6915 (CPP_PREDEFINES): Take out stuff handled by CPP_SPEC.
6916 (CPP_SUBTARGET_SPEC): Renamed from CPP_SPEC.
6917 (LONG_DOUBLE_TYPE_SIZE): Define.
6918 (ASM_SPEC): Add %(asm_arch).
6919 * sparc/sol2.h (CPP_PREDEFINES): Take out stuff handled by CPP_SPEC.
6920 (CPP_SUBTARGET_SPEC): Renamed from CPP_SPEC.
6921 (TARGET_CPU_DEFAULT): Add ultrasparc case.
6922 * sparc/sp64-aout.h (SPARC_V9,SPARC_ARCH64): Delete.
6923 (TARGET_DEFAULT): MASK_ARCH64 renamed to MASK_64BIT.
6924 (SPARC_DEFAULT_CMODEL): Define.
6925 * sparc/sp64-elf.h (SPARC_V9,SPARC_ARCH64): Delete.
6926 (TARGET_DEFAULT): MASK_ARCH64 renamed to MASK_64BIT. Delete
6927 MASK_LONG64, MASK_MEDANY.
6928 (SPARC_DEFAULT_CMODEL): Define.
6929 (CPP_PREDEFINES): Delete.
6930 (CPP_SUBTARGET_SPEC): Renamed from CPP_SPEC.
6931 (ASM_SPEC): Add %(asm_arch).
6932 (LONG_DOUBLE_TYPE_SIZE): Define.
6933 (DWARF2_DEBUGGING_INFO): Define.
6934 * sparc/splet.h (CPP_SPEC): Delete.
6935 * sparc/sysv4.h (CPP_PREDEFINES): Take out stuff handled by CPP_SPEC.
6936 (FUNCTION_BLOCK_PROFILER): Delete TARGET_EMBMEDANY support.
6937 (BLOCK_PROFILER): Likewise.
6938 * sparc/sparc.c (sparc_cmodel_string,sparc_cmodel): New globals.
6939 (sparc_override_options): Handle code model selection.
6940 (sparc_init_expanders): Renamed from sparc64_init_expanders.
6941 * sparc/sparc.md: TARGET_<code_model> renamed to TARGET_CM_....
6942 TARGET_MEDANY renamed to TARGET_CM_EMBMEDANY.
6943 (sethi_di_embmedany_{data,text}): Renamed from sethi_di_medany_....
6944 (sethi_di_fullany): Delete.
6945
6946 Mon Oct 20 02:00:18 1997 Klaus Kaempf <kkaempf@progis.de>
6947 Jeff Law <law@cygnus.com>
6948 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
6949
6950 * alpha/vms.h (DIVSI3_LIBCALL): OTS$ functions are upper case.
6951 (DIVDI3_LIBCALL, UDIVSI3_LIBCALL, UDIVDI3_LIBVALL): Likewise.
6952 (MODSI3_LIBCALL, MODDI3_LIBCALL): Likewise.
6953 (UMODSI3_LIBCALL, UMODDI3_LIBCALL): Likewise.
6954 * alpha/alpha.md (arg_home): Likewise.
6955
6956 * alpha/alpha.c (vmskrunch): Delete
6957 * alpha/vms.h (ENCODE_SECTION_INFO, ASM_DECLARE_FUNCTION_NAME): Delete.
6958 * alpha.c (output_prolog, VMS): Use alloca for entry_label and don't
6959 truncate to 64 characters.
6960
6961 * make-l2.com: Support openVMS/Alpha.
6962
6963 * vmsconfig.com: Fix to work on openVMS/Alpha and openVMS/VAX.
6964
6965 Sun Oct 19 19:00:35 1997 J"orn Rennecke <amylaar@cygnus.co.uk>
6966
6967 * longlong.h (count_leading_zeros): Add missing casts to USItype.
6968
6969 Sun Oct 19 18:44:06 1997 Jeffrey A Law (law@cygnus.com)
6970
6971 * i386/bsd386.h (ASM_COMMENT_START): Define.
6972
6973 Sat Oct 18 13:47:15 1997 Jason Merrill <jason@yorick.cygnus.com>
6974
6975 * tree.c (restore_tree_status): Also free up temporary storage
6976 when we finish a toplevel function.
6977 (dump_tree_statistics): Print stats for backend obstacks.
6978
6979 Sat Oct 18 12:47:31 1997 Doug Evans <dje@canuck.cygnus.com>
6980
6981 * expr.c (use_group_regs): Don't call use_reg for MEMs.
6982
6983 Sat Oct 18 09:49:46 1997 Jason Merrill <jason@yorick.cygnus.com>
6984
6985 * libgcc2.c (__throw): Don't copy the return address.
6986 * dwarf2out.c (expand_builtin_dwarf_reg_size): Ignore return address.
6987
6988 * except.c (exceptions_via_longjmp): Initialize to 2 (uninitialized).
6989 * toplev.c (main): Initialize exceptions_via_longjmp.
6990
6991 * tree.c: Add extra_inline_obstacks.
6992 (save_tree_status): Use it.
6993 (restore_tree_status): If this is a toplevel inline obstack and we
6994 didn't want to save anything on it, recycle it.
6995 (print_inline_obstack_statistics): New fn.
6996 * function.c (pop_function_context_from): Pass context to
6997 restore_tree_status.
6998 * obstack.h (obstack_empty_p): New macro.
6999
7000 Sat Oct 18 00:43:59 1997 Jeffrey A Law (law@cygnus.com)
7001
7002 * i386/freebsd.h (ASM_COMMENT_START): Fix.
7003
7004 Fri Oct 17 23:48:52 1997 Jim Wilson (wilson@cygnus.com)
7005
7006 * v850.c (ep_memory_offset): New function.
7007 (ep_memory_operand, substitute_ep_register, v850_reorg): Call it.
7008
7009 * v850.h (CONST_OK_FOR_*): Add and correct comments.
7010 (CONSTANT_ADDRESS_P): Add comment.
7011 (EXTRA_CONSTRAINT): Define 'U'.
7012 * v850.md: Add comments on bit field instructions.
7013 (addsi3): Delete &r/r/r alternative. Add r/r/U alternative.
7014 (lshrsi3): Use N not J constraint.
7015
7016 * v850.md (v850_tst1+1): New define_split for tst1 instruction.
7017
7018 * v850.c (reg_or_0_operand): Call register_operand.
7019 (reg_or_int5_operand): Likewise.
7020 * v850.h (MASK_BIG_SWITCH, TARGET_BIG_SWITCH): New macros.
7021 (TARGET_SWITCHES): Add "big-switch".
7022 (ASM_OUTPUT_ADDR_VEC_ELT, ASM_OUTPUT_ADDR_DIFF_ELT, CASE_VECTOR_MODE,
7023 ASM_OUTPUT_BEFORE_BASE_LABEL): Add support for TARGET_BIG_SWITCH.
7024 (CASE_DROPS_THROUGH): Comment out.
7025 (CASE_VECTOR_PC_RELATIVE, JUMP_TABLES_IN_TEXT_SECTION): Define.
7026 * v850.md (cmpsi): Delete compare mode.
7027 (casesi): New pattern.
7028
7029 * v850.h (CONST_OK_FOR_N): Delete redundant compare against zero.
7030 * v850.md (ashlsi3): Use SImode not QImode for shift count.
7031 (lshrsi3): Likewise.
7032
7033 * v850.c (print_operand): Add 'c', 'C', and 'z' support. Delete
7034 unreachable switch statement after 'b' support. Remove "b" from
7035 strings for 'b' support.
7036 * v850.md (branch_normal, branch_invert): Change %b to b%b.
7037
7038 Fri Oct 17 23:33:20 1997 Jeffrey A Law (law@cygnus.com)
7039
7040 * Makefile.in (LIBGCC2_CFLAGS): Avoid a backslash then an
7041 empty line if @inhibit_libc@ is empty.
7042
7043 Fri Oct 17 23:24:40 1997 Robert Lipe (robertl@dgii.com)
7044
7045 * i386/sco5.h: Let ELF use dwarf2 unwinding. COFF uses sjlj.
7046 (EH_FRAME_SECTION_ASM_OP, EH_FRAME_SECTION_ASM_OP_ELF): Defined.
7047 (EH_FRAME_SECTION_ASM_OP_COFF): Likewise.
7048 (DWARF2_UNWIND_INFO): Let this track object file format.
7049 (EXTRA_SECTIONS): Add in_eh.
7050 (EH_FRAME_SECTION_ASM_OP, EH_FRAME_SECTION_ASM_OP_ELF): Define.
7051 (EH_FRAME_SECTION_ASM_OP_COFF): Likewise.
7052
7053 Fri Oct 17 17:13:42 1997 David S. Miller <davem@tanya.rutgers.edu>
7054
7055 * sparc/linux64.h (LINK_SPEC): Dynamic linker is ld-linux64.so.2.
7056 * sparc/sparc.h (FUNCTION_PROFILER): Fix format string when
7057 TARGET_MEDANY.
7058 * sparc/sparc.c (dwarf2out_cfi_label): Extern no longer needed.
7059 (output_double_int): Output DI mode values correctly when
7060 HOST_BITS_PER_WIDE_INT is 64.
7061 (output_fp_move_quad): If TARGET_V9 and not TARGET_HARD_QUAD, use
7062 fmovd so it works if a quad float ends up in one of the upper 32
7063 float regs.
7064 * sparc/sparc.md (pic_{lo_sum,sethi}_di): New patterns
7065 necessary for PIC support on sparc64.
7066
7067 Fri Oct 17 13:39:56 1997 Doug Evans <dje@canuck.cygnus.com>
7068
7069 * sparc/sp64-elf.h (TARGET_DEFAULT): Delete MASK_STACK_BIAS.
7070 * sparc/sparc.h (PROMOTE_MODE): Promote small ints if arch64.
7071 (PROMOTE_FUNCTION_ARGS,PROMOTE_FUNCTION_RETURN): Define.
7072 (SPARC_FIRST_FP_REG, SPARC_FP_REG_P): New macros.
7073 (SPARC_{OUTGOING,INCOMING}_INT_ARG_FIRST): New macros.
7074 (SPARC_FP_ARG_FIRST): New macro.
7075 (CONDITIONAL_REGISTER_USAGE): All v9 fp regs are volatile now.
7076 (REG_ALLOC_ORDER,REG_LEAF_ALLOC_ORDER): Reorganize fp regs.
7077 (NPARM_REGS): There are 32 fp argument registers now.
7078 (FUNCTION_ARG_REGNO_P): Likewise.
7079 (FIRST_PARM_OFFSET): Update to new v9 abi.
7080 (REG_PARM_STACK_SPACE): Define for arch64.
7081 (enum sparc_arg_class): Delete.
7082 (sparc_arg_count,sparc_n_named_args): Delete.
7083 (struct sparc_args): Redefine and use for arch32 as well as arch64.
7084 (GET_SPARC_ARG_CLASS,ROUND_REG,ROUND_ADVANCE): Delete.
7085 (FUNCTION_ARG_ADVANCE): Rewrite.
7086 (FUNCTION_ARG,FUNCTION_INCOMING_ARG): Rewrite.
7087 (FUNCTION_ARG_{PARTIAL_NREGS,PASS_BY_REFERENCE}): Rewrite.
7088 (FUNCTION_ARG_CALLEE_COPIES): Delete.
7089 (FUNCTION_ARG_{PADDING,BOUNDARY}): Define.
7090 (STRICT_ARGUMENT_NAMING): Define.
7091 (doublemove_string): Declare.
7092 * sparc/sparc.c (sparc_arg_count,sparc_n_named_args): Delete.
7093 (single_move_string): Use GEN_INT, and HOST_WIDE_INT.
7094 (doublemove_string): New function.
7095 (output_move_quad): Clean up some of the arch64 support.
7096 (compute_frame_size): Add REG_PARM_STACK_SPACE if arch64.
7097 Don't add 8 bytes of reserved space if arch64.
7098 (sparc_builtin_saveregs): Combine arch32/arch64 versions.
7099 (init_cumulative_args): New function.
7100 (function_arg_slotno): New static function.
7101 (function_arg,function_arg_partial_nregs): New functions.
7102 (function_arg_{pass_by_reference,advance}): New functions.
7103 (function_arg_padding): New function.
7104 * ginclude/va-sparc.h: Rewrite v9 support.
7105
7106 Fri Oct 17 12:29:48 1997 Christian Iseli <Christian.Iseli@lslsun.epfl.ch>
7107
7108 * regclass.c (record_address_regs): Look at REG_OK_FOR_{BASE,INDEX}_P
7109 for hard regs to determine base and index registers.
7110
7111 * reload.c (debug_reload_to_stream): New function. Specify stream
7112 into which to write debug info.
7113 (debug_reload): Modify to call debug_reload_to_stream with stderr.
7114
7115 Thu Oct 16 15:07:51 1997 Richard Henderson <rth@cygnus.com>
7116
7117 * combine.c (can_combine_p): Don't combine with an asm whose
7118 output is a hard register.
7119
7120 Thu Oct 16 15:43:26 1997 Mike Stump (mrs@wrs.com)
7121
7122 * c-decl.c (start_struct): Ensure that structs with forward
7123 declarations are in fact packed when -fpack-struct is given.
7124
7125 * stor-layout.c (layout_record): Ignore STRUCTURE_SIZE_BOUNDARY if
7126 we are packing a structure. This allows a structure with only
7127 bytes to be aligned on a byte boundary and have no padding on a
7128 m68k.
7129
7130 Thu Oct 16 15:17:54 1997 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
7131
7132 * rs6000.h (ROUND_TYPE_ALIGN): Don't blow up if no fields in record.
7133
7134 Thu Oct 16 11:20:30 1997 Richard Henderson <rth@cygnus.com>
7135
7136 * alpha.c (alpha_return_addr_rtx): New variable.
7137 (alpha_save_machine_status): New; save it.
7138 (alpha_restore_machine_status): New; restore it.
7139 (alpha_init_expanders): New; clear it.
7140 (alpha_return_addr): New; set it.
7141 (alpha_ra_ever_killed): New; if alpha_return_addr_rtx, regs_ever_live
7142 is overly conservative, so search the insns explicitly.
7143 (alpha_sa_mask [VMS]): Check alpha_ra_ever_killed.
7144 (alpha_sa_size [VMS && !VMS]): Likewise.
7145 * alpha.h (RETURN_ADDR_RTX): Call alpha_return_addr.
7146 (INIT_EXPANDERS): New definition.
7147
7148 * alpha.c: Move REG_PV, REG_RA somewhere more visible in the file.
7149 (output_prolog [!VMS]): Use them.
7150
7151 * alpha.c (output_prolog [!VMS]): Move gp detection to ...
7152 (alpha_does_function_need_gp): ... a new function. Refine the
7153 CALL_INSN test to just TYPE_JSR.
7154 * alpha.md (most call insns): Fix some jsr/ibr type transpositions.
7155
7156 Thu Oct 16 09:36:47 1997 Jeffrey A Law (law@cygnus.com)
7157
7158 * version.c: Bump for snapshot.
7159
7160 Wed Oct 15 21:38:18 1997 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
7161
7162 * pa.c (move_operand): Respect -mdisable-indexing.
7163 * pa.h (GO_IF_LEGITIMATE_ADDRESS): Likewise.
7164
7165 Wed Oct 15 21:34:45 1997 David Edelsohn <edelsohn@mhpcc.edu>
7166
7167 * rs6000.md (udivsi3, divsi3): Split into MQ and non-MQ cases for
7168 PPC601.
7169 (umulsidi3,umulsi3_highpart): Ditto.
7170 (smulsi3_highpart_no_mq): Add !TARGET_POWER.
7171
7172 Wed Oct 15 18:21:46 1997 Richard Henderson <rth@cygnus.com>
7173
7174 * alpha.c (final_prescan_insn): Gut, remove and transform to ...
7175 (alpha_handle_trap_shadows): ... a new function. Handle the entire
7176 function in one go. Emit RTL for trapb, instead of printf directly.
7177 (alpha_reorg): New function. Call alpha_handle_trap_shadows.
7178 (trap_pending): Kill global variable.
7179 (output_epilog): Don't call final_prescan_insn.
7180 (struct shadow_summary): Elide $31 and $f31; now it fits in a word.
7181 * alpha.h (FINAL_PRESCAN_INSN): Remove.
7182 (MACHINE_DEPENENT_REORG): Define.
7183 * alpha.md (jsr patterns with trapb): Stupid and useless. Kill.
7184 (trapb): New insn.
7185
7186 Wed Oct 15 18:16:05 1997 Richard Henderson <rth@cygnus.com>
7187
7188 Tune Haifa scheduler for Alpha:
7189 * alpha.h (ISSUE_RATE): Define.
7190 * alpha.c (alpha_adjust_cost): Handle EV5 mult delay; don't apply
7191 EV4 adjustments to EV5.
7192 * alpha.md: Remove all scaling from function unit delays. Rework
7193 EV5 function units to match the CPU.
7194 (umuldi3_highpart): EV5 added the IMULH insn class.
7195
7196 Wed Oct 15 17:42:41 1997 Jeffrey A Law (law@cygnus.com)
7197
7198 * pa.c (following_call): Fail if the CALL_INSN is an indirect
7199 call.
7200
7201 Tue Oct 14 12:01:00 1997 Mark Mitchell <mmitchell@usa.net>
7202
7203 * cplus-dem.c (demangle_signature): Don't look for return types on
7204 constructors. Handle member template constructors.
7205
7206 Tue Oct 14 11:30:29 1997 Jason Merrill <jason@yorick.cygnus.com>
7207
7208 * tree.c (expr_tree_cons, build_expr_list, expralloc): New fns.
7209 * tree.h: Declare them.
7210
7211 Fri Oct 10 13:46:56 1997 Doug Evans <dje@canuck.cygnus.com>
7212
7213 * configure.in: Handle --with-newlib.
7214 * Makefile.in (LIBGCC2_CFLAGS): Add @inhibit_libc@.
7215
7216 * sparc/t-sp64 (LIBGCC2_CFLAGS): Delete.
7217
7218 Wed Oct 8 14:37:44 1997 Jeffrey A Law (law@cygnus.com)
7219
7220 * config/ptx4.h: Fix typo.
7221
7222 Wed Oct 8 08:57:20 1997 Jeffrey A Law (law@cygnus.com)
7223
7224 * version.c: Bump for snapshot.
7225
7226 Tue Oct 7 16:27:34 1997 Manfred Hollstein <manfred@s-direktnet.de>
7227
7228 * aclocal.m4: Substitute INSTALL.
7229 * configure: Re-built.
7230
7231 Tue Oct 7 15:37:35 1997 Jeffrey A Law (law@cygnus.com)
7232
7233 * integrate.c (save_for_inline_copying): Avoid undefined pointer
7234 operations.
7235 (expand_inline_function): Likewise.
7236
7237 * dwarf2out.c (output_call_frame_info): Reinstate last change
7238 using flag_debug_asm check instead of flag_verbose_asm.
7239
7240 Tue Oct 7 12:57:26 1997 Jim Wilson <wilson@cygnus.com>
7241
7242 * dwarf2out.c (output_call_frame_info): Remove last change.
7243
7244 1997-10-04 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
7245
7246 * frame.c (__frame_state_for): Execute the FDE insns until the
7247 current pc value is strictly bigger than the target pc value.
7248
7249 Tue Oct 7 11:00:42 1997 Jason Merrill <jason@yorick.cygnus.com>
7250
7251 * regclass.c (init_reg_modes): If we can't find a mode for the
7252 register, use the previous one.
7253
7254 Tue Oct 7 10:55:34 1997 Richard Henderson <rth@cygnus.com>
7255
7256 * haifa-sched.c (print_block_visualization): Call fprintf directly,
7257 don't sprintf through an alloca'ed buffer.
7258
7259 Tue Oct 7 10:52:29 1997 Thomas Koenig (ig25@rz.uni-karlsruhe.de)
7260
7261 * reload.c (decompose): Always initialize val.base.
7262
7263 Tue Oct 7 10:19:26 1997 Manfred Hollstein (manfred@lts.sel.alcatel.de)
7264
7265 * m68k/mot3300.h (ASM_OUTPUT_ALIGN): Accept any alignment
7266 instead of aborting.
7267 * dwarf2out.c (output_call_frame_info): Call app_enable and
7268 app_disable to let GNU as accept the generated comments.
7269
7270 Tue Oct 7 11:41:21 1997 Michael Meissner <meissner@cygnus.com>
7271
7272 * tree.h (get_file_function_name): Add declaration.
7273 * dwarf2out.c (output_call_frame_info): No need to cast
7274 get_file_function_name call anymore.
7275 * profile.c (toplevel): Remove get_file_function_name
7276 declaration.
7277 * c-lang.c (finish_file): Ditto.
7278
7279 Tue Oct 7 10:01:45 1997 Chip Salzenberg <chip@rio.atlantic.net>
7280
7281 * Makefile.in (program_transform_name): Let autoconf substitute
7282 the correct value.
7283
7284 Tue Oct 7 09:54:35 1997 Jeffrey A Law (law@cygnus.com)
7285
7286 * haifa-sched.c (schedule_block): If the first real insn in a
7287 block has any special notes attached to it, remove them.
7288
7289 Tue Oct 7 09:48:51 1997 Richard Henderson <rth@cygnus.com>
7290
7291 * alpha.h (FLOAT_STORE_FLAG_VALUE): It's 2.0 not 0.5.
7292
7293 Mon Oct 6 12:47:32 1997 Manfred Hollstein (manfred@lts.sel.alcatel.de)
7294
7295 * m88k.c (m88k_begin_prologue): Remove superfluous backslash.
7296
7297 Mon Oct 6 12:04:24 1997 Jeffrey A Law (law@cygnus.com)
7298
7299 * Makefile.in (check-g77): New test target.
7300 (CHECK-TARGETS): Add check-g77.
7301
7302 Fri Oct 3 11:56:36 1997 Jason Merrill <jason@yorick.cygnus.com>
7303
7304 * toplev.c (rest_of_compilation): Defer all non-nested inlines.
7305
7306 Fri Oct 3 15:49:27 1997 Michael Meissner <meissner@cygnus.com>
7307
7308 * flow.c (print_rtl_with_bb): Cast alloca return value for
7309 in_bb_p.
7310
7311 Thu Oct 2 21:15:03 1997 Richard Henderson <rth@cygnus.com>
7312
7313 * i386.h (RETURN_ADDR_RTX): New definition that works for
7314 __builtin_return_address(0) and -fomit-frame-pointer.
7315
7316 Wed Oct 1 13:43:53 1997 Jim Wilson <wilson@cygnus.com>
7317
7318 Bring over from FSF.
7319 Tue Aug 5 16:10:45 1997 Jason Merrill <jason@yorick.cygnus.com>
7320
7321 * mips.c (function_arg): Handle passing a struct
7322 containing a double in a DFmode register without the PARALLEL.
7323
7324 Wed Oct 1 11:13:25 1997 Ian Lance Taylor <ian@cygnus.com>
7325
7326 * pexecute.c: Use spawn if __CYGWIN32__.
7327
7328 * pexecute.c: Include "config.h" first, as per autoconf manual
7329 (from Paul Eggert <eggert@twinsun.com>).
7330
7331 Wed Oct 1 01:44:36 1997 Philippe De Muyter <phdm@info.ucl.ac.be>
7332
7333 * m68k/x-mot3300 (XCFLAGS): Disable as's long/short jump
7334 optimisation for f/expr.o and f/stb.o.
7335
7336 Tue Sep 30 23:48:57 1997 Jeffrey A Law (law@cygnus.com)
7337
7338 * cse.c (this_insn_cc0_mode): Initialize.
7339
7340 Tue Sep 30 23:09:40 1997 Thomas Koenig <ig25@mvmap66.ciw.uni-karlsruhe.de>
7341
7342 * cccp.c (expand_to_temp_buffer): Initialize all members of obuf.
7343
7344 * haifa-sched.c (get_block_head_tail): Remove unneeded initialization.
7345
7346 Tue Sep 30 23:06:43 1997 Richard Henderson <rth@cygnus.com>
7347
7348 * alpha.md (beq): For registers and ints 0-255, use cmpeq+bne, since
7349 that pair will dual-issue on the 21164 and plus+beq won't.
7350 (bne): Likewise for cmpeq+beq.
7351
7352 Tue Sep 30 16:07:58 1997 Jim Wilson <wilson@cygnus.com>
7353
7354 * except.c (find_exception_handler_labels): Correct argument to free.
7355
7356 Tue Sep 30 11:00:00 1997 Brendan Kehoe <brendan@lisa.cygnus.com>
7357
7358 * except.c (find_exception_handler_labels): Free LABELS when we're
7359 done.
7360
7361 Mon Sep 29 14:04:35 1997 Jeffrey A Law (law@cygnus.com)
7362
7363 * version.c: Bump for snapshot.
7364
7365 Mon Sep 29 10:51:53 1997 Jason Merrill <jason@yorick.cygnus.com>
7366
7367 * flow.c (find_basic_blocks): Mark calls as potentially jumping
7368 to the EH labels.
7369
7370 Mon Sep 29 09:58:06 1997 Jeffrey A Law (law@cygnus.com)
7371
7372 * configure.in: Substitute for "install" too.
7373 * configure: Rebuilt.
7374
7375 Mon Sep 29 00:38:42 1997 Aaron Jackson <jackson@negril.msrce.howard.edu>
7376
7377 * Makefile.in (bootstrap-lean, compare-lean): New targets.
7378
7379 Mon Sep 29 00:18:16 1997 Richard Henderson (rth@cygnus.com)
7380
7381 * alias.c (base_alias_check): Two symbols can conflict if they
7382 are accessed via AND.
7383 (memrefs_conflict_p): Likewise.
7384
7385 * alpha.h (SETUP_INCOMING_VARARGS): Emit a blockage insn
7386 after flushing argument registers to the stack.
7387
7388 * Makefile.in (mostlyclean): Remove .regmove files.
7389
7390 Sun Sep 28 18:59:58 1997 Jason Merrill <jason@yorick.cygnus.com>
7391
7392 * libgcc2.c (__throw): Fix thinko.
7393
7394 Sun Sep 28 12:00:52 1997 Mark Mitchell <mmitchell@usa.net>
7395
7396 * cplus-dem.c (demangle_template): Add new parameter. Handle new
7397 template-function mangling.
7398 (consume_count_with_underscores): New function.
7399 (demangle_signature): Handle new name-mangling scheme.
7400
7401 Sun Sep 28 01:55:04 1997 Philippe De Muyter <phdm@info.ucl.ac.be>
7402
7403 * flow.c (print_rtl_with_bb): Cast alloca return values for variables
7404 start and end.
7405
7406 Sun Sep 28 01:05:16 1997 Jeffrey A Law (law@cygnus.com)
7407
7408 * frame.c: Remove last change.
7409 * dwarf2.h: Remove last change.
7410 * tree.h: Add declarations of DWARF2 unwind info support
7411 functions.
7412
7413 Sat Sep 27 11:02:38 1997 Jason Merrill <jason@yorick.cygnus.com>
7414
7415 * c-decl.c (init_decl_processing): Add __builtin_dwarf_reg_size.
7416 * tree.h (built_in_function): Likewise.
7417 * expr.c (expand_builtin): Likewise.
7418 * except.h: Likewise.
7419 * dwarf2out.c (expand_builtin_dwarf_reg_size): New fn.
7420 * libgcc2.c (copy_reg): New fn.
7421 (__throw): Use it.
7422
7423 Fri Sep 26 08:54:59 1997 Paul Eggert <eggert@twinsun.com>
7424
7425 * c-typeck.c (build_binary_op): Warn about comparing signed vs
7426 unsigned if -W is specified and -Wno-sign-compare is not.
7427 * c-decl.c (warn_sign_compare): Initialize to -1.
7428 (c_decode_option): -Wall no longer implies -Wsign-compare.
7429
7430 Fri Sep 26 09:00:13 1997 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
7431
7432 * frame.c: Include gansidecl.h for PROTO.
7433 * dwarf2out.c: Move inclusion of dwarf2.h down so that PROTO is
7434 defined. Don't declare dwarf2out_cfi_label here.
7435 * dwarf2.h: Add declarations of DWARF2 unwind info support
7436 functions.
7437 * m68k.c: Include dwarf2.h.
7438 (output_function_prologue): Add dwarf2 support.
7439 * m68k.h (INCOMING_RETURN_ADDR_RTX, DWARF_FRAME_REGNUM): New macros.
7440 (INCOMING_FRAME_SP_OFFSET): Likewise.
7441
7442 * integrate.c (expand_inline_function): Make sure there is at
7443 least one insn that can be used as an insertion point.
7444
7445 Wed Sep 24 21:34:06 1997 Jason Merrill <jason@yorick.cygnus.com>
7446
7447 * dwarf2out.c: s/flag_verbose_asm/flag_debug_asm/
7448
7449 Wed Sep 24 22:05:30 1997 Jeffrey A Law (law@cygnus.com)
7450
7451 * version.c: Bump for snapshot.
7452
7453 Wed Sep 24 17:36:23 1997 Doug Evans <dje@canuck.cygnus.com>
7454
7455 Bring over from FSF.
7456
7457 Wed Sep 24 19:17:08 1997 Doug Evans <dje@cygnus.com>
7458
7459 * sparc/sparc.md (get_pc_via_call): Renamed from get_pc_sp32.
7460 (get_pc_via_rdpc): Renamed from get_pc_sp64.
7461 * sparc/sparc.c (finalize_pic): Update call to gen_get_pc_via_call.
7462
7463 Wed Sep 24 18:38:22 1997 David S. Miller <davem@tanya.rutgers.edu>
7464
7465 * sparc/sparc.h (ASM_CPU_SPEC): Pass -Av9a for v8plus, ultrasparc.
7466 (TARGET_OPTIONS): Add -malign-loops=, -malign-jumps=,
7467 -malign-functions=.
7468 (sparc_align_{loops,jumps,funcs}_string): Declare.
7469 (sparc_align_{loops,jumps,funcs}): Declare.
7470 (DEFAULT_SPARC_ALIGN_FUNCS): New macro.
7471 (FUNCTION_BOUNDARY): Use sparc_align_funcs.
7472 (STACK_BIAS): Define.
7473 (SPARC_SIMM*_P): Cast to unsigned HOST_WIDE_INT first, then perform
7474 test.
7475 (SPARC_SETHI_P): New macro.
7476 (CONST_OK_FOR_LETTER_P): Use it.
7477 (ASM_OUTPUT_ALIGN_CODE): Define.
7478 (ASM_OUTPUT_LOOP_ALIGN): Define.
7479 * sparc/sparc.c (sparc_align_{loops,jumps,funcs}_string): New globals.
7480 (sparc_align_{loops,jumps,funcs}): New globals.
7481 (sparc_override_options): Handle -malign-loops=, -malign-jumps=,
7482 -malign-functions=.
7483 (move_operand): Use SPARC_SETHI_P.
7484 (arith_double_operand): Cast to unsigned HOST_WIDE_INT first, then
7485 perform test.
7486 (arith11_double_operand): Likewise.
7487 (arith10_double_operand): Likewise.
7488 (finalize_pic): Finish sparc64 support.
7489 (emit_move_sequence): Use SPARC_SETHI_P. Simplify low part of
7490 64 bit constants if able.
7491 (output_fp_move_quad): Don't use fmovq unless TARGET_HARD_QUAD.
7492 (sparc_builtin_saveregs, sparc64 case): Don't save fp regs if
7493 ! TARGET_FPU.
7494 * sparc/sparc.md (*): Use GEN_INT instead of gen_rtx.
7495 (get_pc_sp32): Use for sparc64 as well.
7496 (lo_sum_di_sp{32,64}): Fix handling on 64 bit hosts.
7497 (sethi_di_sp64_const): Likewise.
7498 (movtf_cc_sp64): Check TARGET_HARD_QUAD.
7499 (cmp_zero_extract_sp64): Use unsigned HOST_WIDE_INT in cast.
7500 (ashlsi3, ashldi3, ashrsi3, ashrdi3, lshrsi3, lshrdi3): Likewise.
7501
7502 Tue Sep 23 19:02:46 1997 Doug Evans <dje@cygnus.com>
7503
7504 * sparc/linux-aout.h (COMMENT_BEGIN): Delete.
7505 * sparc/linux.h (COMMENT_BEGIN): Likewise.
7506 * sparc/linux64.h (COMMENT_BEGIN): Likewise.
7507
7508 Tue Sep 23 14:48:18 1997 David S. Miller <davem@tanya.rutgers.edu>
7509
7510 Add sparc64 linux support.
7511 * configure.in (sparc64-*-linux*): Recognize. Add sparc/xm-sparc.h
7512 to xm_file list on 32-bit sparc-linux.
7513 * sparc/xm-sp64.h: New file.
7514 * sparc/linux64.h: New file.
7515 * sparc/xm-linux.h: Include some standard headers if not inhibit_libc.
7516 Don't include xm-sparc.h.
7517 * config/xm-linux.h (HAVE_PUTENV, HAVE_ATEXIT): Define.
7518 * glimits.h (LONG_MAX): Handle sparc64.
7519
7520 Sat Sep 20 03:07:54 1997 Doug Evans <dje@cygnus.com>
7521
7522 * sparc/sysv4.h (ASM_COMMENT_START): Delete.
7523 * sparc.h (ASM_COMMENT_START): Define.
7524 * sparc.c (output_function_prologue): Use it.
7525 (sparc_flat_output_function_{epi,pro}logue): Likewise.
7526
7527 Wed Sep 17 15:04:19 1997 Doug Evans <dje@cygnus.com>
7528
7529 * sparc/sysv4.h (ASM_OUTPUT_{FLOAT,DOUBLE,LONG_DOUBLE}): Delete,
7530 use sparc.h's copies.
7531 * sparc/sparc.h (ASM_OUTPUT_{FLOAT,DOUBLE,LONG_DOUBLE}): Print
7532 ascii form as well.
7533
7534 Mon Sep 8 08:45:19 1997 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
7535
7536 * sparc.c (dwarf2out_cfi_label): Add declaration.
7537 (save_regs, output_function_prologue): Remove cast for it.
7538 (sparc_flat_{save_restore,output_function_prologue): Likewise.
7539 ({save,restore}_regs): No longer inline.
7540
7541 Tue Sep 23 12:34:51 1997 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
7542
7543 * fold-const.c (make_range): Correctly handle cases of converting
7544 from unsigned to signed type.
7545
7546 Tue Sep 23 12:34:51 1997 Bernd Schmidt <crux@pool.informatik.rwth-aachen.de>
7547
7548 * fold-const.c (merge_ranges): Make sure that if one range is subset
7549 of another, it will always be the second range. Correct (+,-) case to
7550 account for this.
7551
7552 Tue Sep 23 08:32:51 1997 Jason Merrill <jason@yorick.cygnus.com>
7553
7554 * final.c (final_end_function): Also do dwarf2 thing if
7555 DWARF2_DEBUGGING_INFO.
7556 (final_start_function): Likewise.
7557
7558 Tue Sep 23 01:15:50 1997 David S. Miller <davem@tanya.rutgers.edu>
7559
7560 * expmed.c (expand_divmod): If compute_mode is not the same as
7561 mode, handle the case where convert_modes() causes op1 to no
7562 longer be a CONST_INT.
7563
7564 * reorg.c (dbr_schedule): At end of this pass, add REG_BR_PRED
7565 note holding get_jump_flags() calculation to all JUMP_INSNs.
7566 * rtl.h (enum reg_note): New note types REG_BR_PRED and REG_SAVE_AREA.
7567 * rtl.c (reg_note_name): Add new note types.
7568
7569 Tue Sep 23 00:59:54 1997 Jeffrey A Law (law@cygnus.com)
7570
7571 * rtlanal.c (computed_jump_p): Fix typo in last change.
7572
7573 Tue Sep 23 00:42:44 1997 H.J. Lu (hjl@gnu.ai.mit.edu)
7574
7575 * loop.c (indirect_jump_in_function_p): Return 0
7576 by default.
7577
7578 Tue Sep 23 00:33:55 1997 Jeffrey A Law (law@cygnus.com)
7579
7580 * rs6000/xm-rs6000.h: Fix thinko in last change.
7581 * rs6000/xm-sysv4.h: Likewise.
7582
7583 Mon Sep 22 19:33:53 1997 Jim Wilson <wilson@cygnus.com>
7584
7585 * mips.c (save_restore_insns): Only set RTX_FRAME_RELATED_P if store_p.
7586
7587 Mon Sep 22 14:41:00 1997 Jeffrey A Law (law@cygnus.com)
7588
7589 * reg-stack.c (find_blocks): Fix thinko in last change.
7590
7591 1997-09-21 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
7592
7593 * m68k.c (output_function_prologue): Add dwarf2 support.
7594
7595 * m68k.h (INCOMING_RETURN_ADDR_RTX, DWARF_FRAME_REGNUM,
7596 INCOMING_FRAME_SP_OFFSET): New definitions.
7597
7598 Mon Sep 22 11:36:42 1997 David S. Miller <davem@tanya.rutgers.edu>
7599
7600 * combine.c (try_combine): Use NULL_RTX instead of '0' where
7601 appropriate in calls to gen_rtx().
7602 * cse.c (cse_main): Likewise.
7603 * emit-rtl.c (gen_label_rtx): Likewise.
7604 * expr.c (init_expr_once): Likewise.
7605 * haifa-sched.c (flush_pending_lists, sched_analyze_insn,
7606 sched_analyze, init_rgn_data_dependences,
7607 compute_block_backward_dependences): Likewise.
7608 * sched.c (schedule_insns): Likewise.
7609 * varasm.c (immed_double_const): Likewise.
7610
7611 * sparc.h (INCOMING_FRAME_SP_OFFSET): Define to
7612 SPARC_STACK_BIAS for sake of dwarf2 on sparc64.
7613
7614 Mon Sep 22 11:21:33 1997 J. Kean Johnston <jkj@sco.com>
7615
7616 * i386/sco5.h: Make ELF default file format and add -mcoff/-melf..
7617 (MULTILIB_DEFAULTS): Define.
7618 (ASM_SPEC, CPP_SPEC): Handle -mcoff.
7619 (STARTFILE_SPEC, ENDFILE_SPEC, LINK_SPEC): Likewise.
7620 (LIBGCC_SPEC): Likewise.
7621 (MASK_COFF, TARGET_COFF, TARGET_ELF): Define.
7622 (SUBTARGET_SWITCHES): Add -mcoff and -melf.
7623 * i386/t-sco5 (CRTSTUFF_T_CFLAGS): Add -fPIC.
7624 (CRTSTUFF_T_CFLAGS_S): Tweak for COFF.
7625 (EXTRA_PARTS, TAROUTOPTS): Delete.
7626 (libgcc1-elf, libgcc2-elf, libgcc-elf targets): Delete.
7627 (MULTILIB_OPTIONS): Define.
7628 (MULTILIB_DIRNAMES, MULTILIB_EXCEPTIONS): Likewise.
7629 (MULTILIB_MATCHE, MULTILIB_EXTRA_OPTS): Likewise.
7630
7631 Mon Sep 22 02:10:43 1997 Jeffrey A Law (law@cygnus.com)
7632
7633 * version.c: Bump for snapshot.
7634
7635 Sun Sep 21 17:45:45 1997 Jeffrey A Law (law@cygnus.com)
7636
7637 * loop.c (loop_number): Delete function. Change all references
7638 to use uid_loop_num array.
7639 * loop.h (loop_number): Delete declaration.
7640 * unroll.c (unroll_loop): Change "loop_number" references to
7641 use uid_loop_num instead.
7642
7643 * loop.c (loop_unroll_factor): Move outside #ifdef HAIFA
7644 conditional.
7645 (loop_unroll_iter): Remove unused variable and all references.
7646 (loop_optimize): Always allocate and clear space for loop_unroll_factor.
7647 (insert_bct): Fix minor formatting problems.
7648 * loop.h (loop_unroll_factor): Move decl outside #ifdef HAIFA.
7649 (loop_unroll_iter): Removed unused decl.
7650 * unroll.c (unroll_loop): Remove code to set loop_unroll_iter.
7651 Always record the unrolling factor.
7652
7653 * cse.c (simplify_relational_operation): Set h0u just like h0s.
7654 Similarly for h1u and h1s.
7655
7656 * flow.c (jmp_uses_reg_or_mem): Deleted unused function.
7657 (find_basic_blocks): Use computed_jump_p to determine if a
7658 particular JUMP_INSN is a computed jump.
7659 * reg-stack.c (find_blocks): Use computed_jump_p to determine
7660 if a particular JUMP_INSN is a computed jump.
7661 * rtlanal.c (jmp_uses_reg_or_mem): New function.
7662 (computed_jump_p): Likewise.
7663 * rtl.h (computed_jump_p): Declare.
7664 * genattrtab.c (pc_rtx): Define and initialize.
7665 * loop.c (loop_optimize): Always determine if the current
7666 function has a computed jump.
7667 (indirect_jump_in_function_p): Use computed_jump_p to determine
7668 if a particular JUMP_INSN is a computed jump.
7669
7670 * loop.c (fix_bct_param): Delete unused function.
7671 (check_bct_param): Likewise.
7672
7673 Sat Sep 20 16:22:06 1997 Jason Merrill <jason@yorick.cygnus.com>
7674
7675 * frame.c (__deregister_frame): Check properly for initialized object.
7676
7677 Fri Sep 19 20:51:03 1997 H.J. Lu (hjl@gnu.ai.mit.edu)
7678
7679 * alpha/linux.h (HANDLE_SYSV_PRAGMA): Defined.
7680
7681 Fri Sep 19 18:53:50 1997 J"orn Rennecke <amylaar@cygnus.co.uk>
7682
7683 * jump.c (thread_jumps): check can_reverse_comparison_p before
7684 threading a reversed-condition jump.
7685
7686 * sched.c (update_flow_info): Don't pass SCRATCH to dead_or_set_p.
7687 * haifa-sched.c (update_flow_info): Likewise.
7688
7689 Thu Sep 18 21:13:40 1997 Jeffrey A Law (law@cygnus.com)
7690
7691 * Makefile.in (BOOT_CFLAGS): Use -O2.
7692
7693 * configure.in (strtoul, bsearch): Have autoconf check for these
7694 functions.
7695 * configure, config.in: Rebuilt.
7696
7697 * m68k/xm-mot3300.h (alloca): Properly declare if __STDC__.
7698 * mips/mips.h (alloca): Likewise.
7699 * rs6000/xm-rs6000.h (alloca): Likewise.
7700 * rs6000/xm-sysv4.h: Likewise.
7701
7702 Thu Sep 18 14:22:22 1997 Jason Merrill <jason@yorick.cygnus.com>
7703
7704 * final.c (final_scan_insn): Hand BARRIERs off to the dwarf2 code.
7705 * dwarf2out.c (dwarf2out_frame_debug): Pass the whole insn along.
7706 (dwarf2out_stack_adjust): A BARRIER resets the args space to 0.
7707
7708 * except.c (end_eh_unwinder): Subtract 1 from return address.
7709 * libgcc2.c (__throw): Likewise.
7710 (find_exception_handler): Don't change PC here. Compare end with >.
7711
7712 Thu Sep 18 10:43:07 1997 Nick Clifton <nickc@cygnus.com>
7713
7714 * v850.c (compute_register_save_size): Correct register
7715 number.
7716 * v850.md (save_interrupt, return_interrupt): Correct
7717 register number.
7718 * v850/lib1funcs.asm (save_interrupt): Correct register number.
7719 (return_interrupt): Use stack pointer, not element pointer.
7720
7721 1997-09-18 Brendan Kehoe <brendan@lisa.cygnus.com>
7722
7723 * configure.in, configure: Make sure to create the stage* and include
7724 symbolic links in each subdirectory.
7725
7726 Thu Sep 18 01:47:06 1997 Jeffrey A Law (law@cygnus.com)
7727
7728 * pa.md (reload_peepholes): Don't allow addresses with side
7729 effects for the memory operand.
7730
7731 Wed Sep 17 18:19:53 1997 Jason Merrill <jason@yorick.cygnus.com>
7732
7733 * libgcc2.c (find_exception_handler): Subtract one from our PC when
7734 looking for a handler, to avoid hitting the beginning of the next
7735 region.
7736
7737 * except.c (expand_builtin_set_return_addr_reg): Use force_operand.
7738
7739 Wed Sep 17 18:33:59 1997 Jeffrey A Law (law@cygnus.com)
7740
7741 * mips/abi64.h (LONG_MAX_SPEC): Define.
7742 * mips.h (LONG_MAX_SPEC): Define.
7743 (CPP_SPEC): Include long_max_spec.
7744 (EXTRA_SPECS): Include long_max_spec.
7745
7746 Wed Sep 17 14:11:38 1997 Jeffrey A Law (law@cygnus.com)
7747
7748 * v850.c (construct_save_jarl): Fix thinko in last change.
7749
7750 Wed Sep 17 09:53:07 1997 Jeffrey A Law (law@cygnus.com)
7751
7752 * version.c: Bump for snapshot.
7753
7754 Tue Sep 16 14:22:36 1997 Jason Merrill <jason@yorick.cygnus.com>
7755
7756 * libgcc2.c (find_exception_handler): Not found is -1.
7757
7758 * integrate.c (expand_inline_function): Move expand_start_bindings
7759 after expanding the arguments.
7760
7761 Tue Sep 16 11:13:46 1997 Jim Wilson <wilson@cygnus.com>
7762
7763 * expr.c (expand_expr): Remove previous incorrect change.
7764 If target and slot has no DECL_RTL, then call mark_addressable
7765 again for the slot after we give it RTL.
7766
7767 Tue Sep 16 09:18:52 1997 Jason Merrill (jason@cygnus.com)
7768
7769 * expr.c (expand_expr, case TARGET_EXPR): Call mark_addressable
7770 again for the slot after we give it RTL.
7771
7772 Tue Sep 16 00:13:20 1997 Nick Clifton <nickc@cygnus.com>
7773
7774 * v850.c (register_is_ok_for_epilogue,
7775 pattern_is_ok_for_epilogue, construct_restore_jr,
7776 pattern_is_ok_for_prologue, construct_save_jarl): New functions.
7777
7778 * v850.h (pattern_is_ok_for_prologue,
7779 pattern_is_ok_for_epilogue, register_is_ok_for_epilogue): New
7780 predicates.
7781
7782 * v850.md: Replace prologue and epilogue patterns with a
7783 match_parallel pattern.
7784
7785 Mon Sep 15 22:53:01 1997 Jeffrey A Law (law@cygnus.com)
7786
7787 * aclocal.m4: Add replacement for AC_PROG_INSTALL.
7788 * configure.in: Use EGCS_PROG_INSTALL.
7789
7790 Mon Sep 15 22:40:55 1997 Jim Wilson (wilson@cygnus.com)
7791
7792 * dwarf2out.c (gen_subprogram_die): Handle redefinition of an
7793 extern inline function.
7794
7795 Mon Sep 15 22:40:55 1997 Richard Henderson (rth@cygnus.com)
7796
7797 * dwarf2out.c (reg_loc_descriptor): Fix prototype.
7798 (concat_loc_descriptor): New function.
7799 (loc_descriptor): Call it.
7800 (add_AT_location_description): Also elide the descriptor if both
7801 halves of a CONCAT are pseudos.
7802 (add_location_or_const_value_attribute): Recognize CONCAT too.
7803
7804 Mon Sep 15 15:24:00 1997 Richard Henderson <rth@cygnus.com>
7805
7806 * alpha.md (movdi): Handle CONST_DOUBLE for TARGET_BUILD_CONSTANTS.
7807
7808 * alpha/alpha.c (output_prolog): New variable sa_reg. Use it for
7809 out-or-range reg_offset.
7810 (output_epilog): Likewise.
7811
7812 Mon Sep 15 15:39:26 1997 Jeffrey A Law (law@cygnus.com)
7813
7814 * cse.c (simplify_relational_operation): If MODE specifies a
7815 mode wider than HOST_WIDE_INT, then the high word of a CONST_INT
7816 is derived from the sign bit of the low word.
7817
7818 Mon Sep 15 11:43:38 1997 Jason Merrill <jason@yorick.cygnus.com>
7819
7820 Support dwarf2 unwinding on PUSH_ROUNDING targets like the x86.
7821
7822 * dwarf2.h: Add DW_CFA_GNU_args_size.
7823 * frame.c (execute_cfa_insn): Likewise.
7824 * dwarf2out.c (dwarf_cfi_name, output_cfi): Likewise.
7825 (dwarf2out_args_size, dwarf2out_stack_adjust): New fns.
7826 (dwarf2out_frame_debug): If this isn't a prologue or epilogue
7827 insn, hand it off to dwarf2out_stack_adjust.
7828 (dwarf2out_begin_prologue): Initialize args_size.
7829 * frame.h (struct frame_state): Add args_size.
7830 * libgcc2.c (__throw): Use args_size.
7831 * final.c (final_scan_insn): If we push args, hand off all insns
7832 to dwarf2out_frame_debug.
7833 * defaults.h (DWARF2_UNWIND_INFO): OK for !ACCUMULATE_OUTGOING_ARGS.
7834
7835 * dwarf2out.c dwarf2out_frame_debug): Fix typo.
7836 Handle epilogue restore of SP from FP.
7837 * emit-rtl.c (gen_sequence): Still generate a sequence if the
7838 lone insn has RTX_FRAME_RELATED_P set.
7839
7840 * frame.c (extract_cie_info): Handle "e" augmentation.
7841 * dwarf2out.c (ASM_OUTPUT_DWARF_*): Provide definitions in the
7842 absence of UNALIGNED_*_ASM_OP.
7843 (UNALIGNED_*_ASM_OP): Only provide defaults if OBJECT_FORMAT_ELF.
7844 (output_call_frame_info): Use "e" instead of "z" for augmentation.
7845 Don't emit augmentation fields length.
7846 (dwarf2out_do_frame): Move outside of #ifdefs.
7847 * defaults.h (DWARF2_UNWIND_INFO): Don't require unaligned data
7848 opcodes.
7849
7850 * sparc.h (UNALIGNED_INT_ASM_OP et al): Don't define here after all.
7851 * sparc/sysv4.h (UNALIGNED_INT_ASM_OP): Define here.
7852 * sparc/sunos4.h (DWARF2_UNWIND_INFO): Define to 0.
7853 * sparc/sun4gas.h: New file.
7854 * configure.in: Use sun4gas.h if SunOS 4 --with-gnu-as.
7855
7856 * collect2.c (write_c_file_stat, write_c_file_glob): Declare
7857 __register_frame_table and __deregister_frame.
7858
7859 1997-09-15 Brendan Kehoe <brendan@cygnus.com>
7860
7861 * except.c (find_exception_handler_labels): Use xmalloc instead of
7862 alloca, since MAX_LABELNO - MIN_LABELNO can be more than 1 million
7863 in some cases.
7864
7865 Sun Sep 14 21:01:23 1997 Jeffrey A Law (law@cygnus.com)
7866
7867 * Makefile.in: Various changes to build info files
7868 in the object tree rather than the source tree.
7869
7870 Sun Sep 14 12:24:30 1997 Jeffrey A Law (law@cygnus.com)
7871
7872 * fixinc.math: New file to fix math.h on some systems.
7873 * configure.in (freebsd, netbsd): Use fixinc.math on these
7874 systems.
7875 * configure: Rebuilt.
7876
7877 Sun Sep 14 11:11:05 1997 Jeffrey A Law (law@cygnus.com)
7878
7879 * regmove.c (regmove_optimize): If we end up moving the
7880 original insn due to lifetime overlaps, make sure to move
7881 REG_NOTES too.
7882
7883 Sat Sep 13 15:51:11 1997 Manfred Hollstein <manfred@s-direktnet.de>
7884
7885 * Makefile.in (INSTALL_{PROGRAM,DATA}): Use value found by configure.
7886
7887 Sat Sep 13 12:57:26 1997 Jeffrey A Law (law@cygnus.com)
7888
7889 * haifa-sched.c (add_branch_dependences): Make each insn in
7890 a SCHED_GROUP_P block explicitly depend on the previous insn.
7891
7892 Fri Sep 12 13:49:58 1997 Jason Merrill <jason@yorick.cygnus.com>
7893
7894 * except.h: Prototype dwarf2 hooks.
7895 * expr.c: Adjust.
7896
7897 Thu Sep 11 17:43:55 1997 Jim Wilson <wilson@cygnus.com>
7898
7899 * configure.in (native_prefix): Delete.
7900 (mips-dec-netbsd): Don't set prefix.
7901 (*linux*): Don't set prefix.
7902
7903 Thu Sep 11 15:48:32 1997 Fred Fish <fnf@ninemoons.com>
7904
7905 * protoize.c: Include <varargs.h> only if HAVE_VARARGS_H is
7906 defined. If not defined, include <sys/varargs.h> if
7907 HAVE_SYS_VARARGS_H is defined.
7908 * configure.in: Test for varargs.h and sys/varargs.h.
7909 * configure: Regenerate with autoconf.
7910 * config.in: Regenerate with autoheader.
7911
7912 * cpplib.c (quote_string): Cast first arg of sprintf call
7913 from "unsigned char *" to "char *".
7914 (output_line_command): Ditto.
7915 (macroexpand): Ditto.
7916 (do_line): Cast atoi arg from "unsigned char *" to "char *".
7917
7918 Wed Sep 10 21:37:30 1997 Jeffrey A Law (law@cygnus.com)
7919
7920 * version.c: Bump for snapshot.
7921
7922 * Makefile.in (compare): Exit with nonzero status if there
7923 are comparison failures. Note which files failed the
7924 comparison test in .bad_compare.
7925
7926 Wed Sep 10 17:05:46 1997 H.J. Lu (hjl@gnu.ai.mit.edu)
7927
7928 * config/alpha/elf.h (CPP_PREDEFINES): Remove -D__PIC__ -D__pic__.
7929
7930 Wed Sep 10 16:37:28 1997 Fred Fish <fnf@ninemoons.com>
7931
7932 * Makefile.in (LN, LN_S): New macros, use where appropriate.
7933 * aclocal.m4 (GCC_PROG_LN_S, GCC_PROG_LN): New tests.
7934 * configure.in: Use GCC_PROG_LN_S and GCC_PROG_LN.
7935 * configure: Regenerated.
7936
7937 Thu Sep 11 11:09:43 1997 Jeffrey A Law (law@cygnus.com)
7938
7939 * loop.c (strength_reduce): Fix typo.
7940
7941 Wed Sep 10 16:01:15 1997 Jim Wilson <wilson@cygnus.com>
7942
7943 * m88k/m88k.c (struct option): Rename to struct options.
7944 * m88k/dolph.h (INITIALIZE_TRAMPOLINE): Delete here.
7945 * m88k/sysv3.h (INITIALIZE_TRAMPOLINE): Delete ifdef and comments.
7946 * libgcc2.c (__enable_execute_stack): Check for __sysV88__ not
7947 __DOLPHIN__ or sysV88.
7948
7949 Wed Sep 10 14:58:40 1997 Jim Wilson <wilson@cygnus.com>
7950
7951 * emit-rtl.c (gen_lowpart_common): For a SUBREG, add in word when
7952 create new subreg.
7953
7954 Wed Sep 10 15:19:22 1997 Jeffrey A Law (law@cygnus.com)
7955
7956 * config.sub: Accept 'amigados' for backward compatability.
7957
7958 Wed Sep 10 14:05:08 1997 H.J. Lu (hjl@gnu.ai.mit.edu)
7959
7960 * Makefile.in (testsuite/site.exp): New target.
7961 (check-gcc, check-g++): Depend on testsuite/site.exp.
7962 Don't stop for failure.
7963
7964 Wed Sep 10 12:59:57 1997 Jason Merrill <jason@yorick.cygnus.com>
7965
7966 * expr.c (expand_builtin): Only support __builtin_dwarf_fp_regnum()
7967 if DWARF2_UNWIND_INFO.
7968
7969 Wed Sep 10 11:49:20 1997 Jason Merrill <jason@yorick.cygnus.com>
7970
7971 Add support for exception handling using DWARF 2 frame unwind info.
7972 Currently works on SPARC and MIPS, and almost on x86.
7973
7974 * libgcc2.c (get_reg, put_reg, get_return_addr, put_return_addr,
7975 next_stack_level, in_reg_window): Helper fns.
7976 (__throw): Implement for DWARF2_UNWIND_INFO.
7977
7978 * expr.c (expand_builtin): Handle builtins used by __throw.
7979 * tree.h (enum built_in_function): Add builtins used by __throw.
7980 * c-decl.c (init_decl_processing): Declare builtins used by __throw.
7981 * dwarf2out.c (expand_builtin_dwarf_fp_regnum): Used by __throw.
7982 * except.c (expand_builtin_unwind_init): Hook for dwarf2 __throw.
7983 (expand_builtin_extract_return_addr): Likewise.
7984 (expand_builtin_frob_return_addr): Likewise.
7985 (expand_builtin_set_return_addr_reg): Likewise.
7986 (expand_builtin_eh_stub): Likewise.
7987 (expand_builtin_set_eh_regs): Likewise.
7988 (eh_regs): Choose two call-clobbered registers for passing back values.
7989
7990 * frame.c, frame.h: New files for parsing dwarf 2 frame info.
7991 * Makefile.in (LIB2ADD): New variable. Add $(srcdir)/frame.c.
7992 (libgcc2.a): Use it instead of $(LIB2FUNCS_EXTRA) $(LANG_LIB2FUNCS)
7993 (stmp-multilib): Likewise.
7994 ($(T)crtbegin.o, $(T)crtend.o): Add -fno-exceptions.
7995
7996 * except.c: #include "defaults.h".
7997 (exceptions_via_longjmp): Default depends on DWARF2_UNWIND_INFO.
7998 (emit_throw): Don't defeat assemble_external if DWARF2_UNWIND_INFO.
7999 (register_exception_table_p): New fn.
8000 (start_eh_unwinder): Don't do anything if DWARF2_UNWIND_INFO.
8001 (end_eh_unwinder): Likewise.
8002
8003 * crtstuff.c: Wrap .eh_frame section, use EH_FRAME_SECTION_ASM_OP,
8004 call __register_frame and __deregister_frame as needed.
8005 * varasm.c (eh_frame_section): New fn if EH_FRAME_SECTION_ASM_OP.
8006 * dwarf2out.c (EH_FRAME_SECTION): Now a function-like macro. Check
8007 EH_FRAME_SECTION_ASM_OP.
8008 * sparc/sysv4.h (EH_FRAME_SECTION_ASM_OP): Define.
8009 * mips/iris6.h: (EH_FRAME_SECTION_ASM_OP): Define.
8010 (LINK_SPEC): Add __EH_FRAME_BEGIN__ to hidden symbols.
8011
8012 * dwarf2out.c (output_call_frame_info): If no support for
8013 EXCEPTION_SECTION, mark the start of the frame info with a
8014 collectable tag.
8015 * collect2.c (frame_tables): New list.
8016 (is_ctor_dtor): Recognise frame entries.
8017 (scan_prog_file): Likewise.
8018 (main): Pass -fno-exceptions to sub-compile. Also do collection
8019 if there are any frame entries.
8020 (write_c_file_stat): Call __register_frame_table and
8021 __deregister_frame as needed.
8022 (write_c_file_glob): Likewise.
8023
8024 * defaults.h (DWARF2_UNWIND_INFO): Default to 1 if supported.
8025 Also require unaligned reloc support.
8026 * sparc.h (UNALIGNED_SHORT_ASM_OP, UNALIGNED_INT_ASM_OP,
8027 UNALIGNED_DOUBLE_INT_ASM_OP): Define here.
8028 * sparc/sysv4.h: Not here.
8029
8030 * toplev.c (compile_file): Call dwarf2out_frame_{init,finish}.
8031 * dwarf2out.c (dwarf2out_init): Don't call dwarf2out_frame_init.
8032 (dwarf2out_finish): Don't call dwarf2out_frame_finish.
8033
8034 * libgcc2.c (L_eh): Reorganize, moving code shared by different
8035 EH implementations to the top.
8036 (find_exception_handler): Split out. Start from 0. Compare against
8037 end with >=.
8038 (__find_first_exception_table_match): Use it.
8039 * except.c (output_exception_table): Don't do anything if there's
8040 no table. Don't output a first entry of zeroes.
8041 (eh_outer_context): Adjust properly.
8042 (add_eh_table_entry): Use xrealloc.
8043 * toplev.c (compile_file): Just call output_exception_table.
8044
8045 Wed Sep 10 11:30:36 1997 Jason Merrill <jason@cygnus.com>
8046
8047 * i386.c (ix86_prologue): Add dwarf2 support for !do_rtl case.
8048
8049 Wed Sep 10 08:17:10 1997 Torbjorn Granlund <tege@pdc.kth..se>
8050
8051 * except.c (eh_outer_context): Do masking using expand_and.
8052
8053 Wed Sep 10 01:38:30 1997 Doug Evans <dje@cygnus.com>
8054
8055 Add port done awhile ago for the ARC cpu.
8056 * arc/arc.h: New file.
8057 * arc/arc.c: New file.
8058 * arc/arc.md: New file.
8059 * arc/initfini.c: New file.
8060 * arc/lib1funcs.asm: New file.
8061 * arc/t-arc: New file.
8062 * arc/xm-arc.h: New file.
8063 * ginclude/va-arc.h: New file.
8064 * ginclude/stdarg.h: Include va-arc.h ifdef __arc__.
8065 * ginclude/varargs.h: Likewise.
8066 * Makefile.in (USER_H): Add va-arc.h.
8067 * configure.in (arc-*-elf*): Recognize.
8068 * longlong.h: Add ARC support.
8069
8070 Wed Sep 10 01:32:54 1997 Jeffrey A Law (law@cygnus.com)
8071
8072 * expr.c (clear_storage): Use CONST0_RTX instead of const0_rtx.
8073 when clearing non-BLKmode data.
8074
8075 Wed Sep 10 00:29:29 1997 Manfred Hollstein <manfred@s-direktnet.de>
8076
8077 * m88k/sysv3.h (INITIALIZE_TRAMPOLINE) Define.
8078 * libgcc2.c (__enable_execute_stack): Provide for sysV88 too.
8079
8080 * xm-m88k.h (USG): Only define if it hasn't already been defined.
8081
8082 * Makefile.in (risky-stage1): Delete gratutious whitespace.
8083
8084 * Makefile.in (clean): Delete libgcc1-test.
8085
8086 * Makefile.in (INSTALL): cd to $(srcdir) before running texinfo.
8087
8088 Tue Sep 9 17:07:36 1997 Stan Cox <coxs@dg-rtp.dg.com>
8089
8090 * m88k.c (m88k_expand_prologue): Set MEM_IN_STRUCT_P of va_list
8091 template.
8092
8093 Tue Sep 9 09:50:02 1997 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
8094
8095 * dwarf2out.c (output_call_frame_info): Call named_section.
8096
8097 Tue Sep 9 09:12:17 1997 Jeffrey A Law (law@cygnus.com)
8098
8099 * haifa-sched.c (print_value): Fix last change.
8100
8101 Tue Sep 9 01:30:37 1997 Jason Merrill <jason@yorick.cygnus.com>
8102
8103 * mips.h (DWARF_FRAME_REGNUM): Use the same numbering regardless of
8104 write_symbols.
8105
8106 Mon Sep 8 16:32:43 1997 Jason Merrill <jason@yorick.cygnus.com>
8107
8108 * mips.c (function_prologue): Set up the CFA when ABI_32.
8109
8110 * sparc.c (save_regs): Check dwarf2out_do_frame instead of DWARF2_DEBUG
8111 for dwarf2 unwind info.
8112 (output_function_prologue, sparc_flat_output_function_prologue): Same.
8113
8114 * final.c (final_end_function): Check dwarf2out_do_frame instead
8115 of DWARF2_DEBUG for dwarf2 unwind info.
8116 (final_scan_insn): Likewise.
8117 (final_start_function): Likewise. Initialize dwarf2 frame debug here.
8118 (final): Not here.
8119
8120 * expr.c (expand_builtin_return_addr): Only SETUP_FRAME_ADDRESSES if
8121 count > 0.
8122
8123 * varasm.c (exception_section): Check EXCEPTION_SECTION first.
8124
8125 Mon Sep 8 15:15:11 1997 Nick Clifton <nickc@cygnus.com>
8126
8127 * v850.h (ASM_SPEC): Pass on target processor.
8128 (CPP_PREDEFINES): Only define if not already specified.
8129 (TARGET_VERSION): Only define if not already specified.
8130 (MASK_CPU, MASK_V850, MASK_DEFAULT): Bits to specify target
8131 processor.
8132 (EXTRA_SWITCHES): Extra entries in the switches array.
8133 (TARGET_DEFAULT): Set default target processor.
8134
8135 Mon Sep 8 18:26:35 1997 Jim Wilson <wilson@cygnus.com>
8136
8137 * m68k.h (MACHINE_STATE_SAVE, MACHINE_STATE_RESTORE): In MOTOROLA
8138 cases, add %# and %/, and add : to make them into extended asms.
8139
8140 Sun Sep 7 23:57:50 1997 Weiwen Liu <liu@hepunix.physics.yale.edu>
8141
8142 * alias.c (init_alias_analysis): Clean up incompatible pointer
8143 type warning in bzero.
8144 * regmove.c (regmove_optimize): Ditto.
8145 * haifa-sched.c (find_rgns): Ditto.
8146
8147 * haifa-sched.c (print_value): Clean up ptr->int cast
8148 warnings.
8149
8150 Sun Sep 7 23:18:32 1997 Fred Fish <fnf@ninemoons.com>
8151
8152 * INSTALL: Change 'amigados' to 'amigaos' to match current usage.
8153 * install.texi (Configurations): Ditto.
8154 * config.sub: Ditto.
8155
8156 Sun Sep 7 22:56:56 1997 Weiwen Liu (liu@hepvms.physics.yale.edu)
8157
8158 * Makefile.in (sdbout.o): Depend on insn-config.h.
8159
8160 Sun Sep 7 18:44:50 1997 Jim Wilson <wilson@cygnus.com>
8161
8162 * m68k/m68k.h (TARGET_SWITCHES): For 68000, 68302, subtract MASK_68881.
8163 For 68303, 68332, cpu32, subtract MASK_68040_ONLY.
8164
8165 Sun Sep 7 18:30:46 1997 Jason Merrill <jason@yorick.cygnus.com>
8166
8167 * dwarf2out.c (dwarf2out_frame_debug): Assume that in a PARALLEL
8168 prologue insn, only the first elt is significant.
8169 (output_call_frame_info): For exception handling, always use 4-byte
8170 fields as specified by the dwarf2 spec.
8171 Don't skip trivial FDEs.
8172
8173 Sun Sep 7 14:19:39 1997 Jeffrey A Law (law@cygnus.com)
8174
8175 * version.c: Bump for snapshot.
8176
8177 Sun Sep 7 14:17:36 1997 Torbjorn Granlund (tege@pdc.kth.se)
8178
8179 * expmed.c (expand_divmod): Make op1_is_pow2 depend on unsignedp
8180 for negative constants. Promote EXACT_DIV_EXPR to TRUNC_DIV_EXPR
8181 when op1_is_pow2.
8182
8183 Sun Sep 7 13:46:46 1997 Jeffrey A Law (law@cygnus.com)
8184
8185 * final.c (shorten_branches): During first pass, assume worst
8186 possible alignment for ADDR_VEC and ADDR_VEC_DIFF insns.
8187
8188 * Makefile.in (distclean): Remove various things left around
8189 by running the testsuite.
8190
8191 Sun Sep 7 13:16:06 1997 Manfred Hollstein <manfred@s-direktnet.de>
8192
8193 * configure.in (out_file): Emit definition to config.status in order
8194 to have a defined value for configure.lang.
8195 * configure: Re-built.
8196
8197 Sun Sep 7 09:59:08 1997 Jan-Jaap van der Heijden (J.J.vanderHeijden@student.utwente.nl)
8198
8199 * configure.in: Make symlink to as-new rather than as.new. Similarly
8200 for ld-new.
8201 * configure: Rebuilt.
8202
8203 Fri Sep 5 16:54:55 1997 Jim Wilson <wilson@cygnus.com>
8204
8205 * profile.c (output_func_start_profiler): Set DECL_EXTERNAL to zero.
8206
8207 Fri Sep 5 16:16:44 1997 Christian Kuehnke <Christian.Kuehnke@arbi.Informatik.Uni-Oldenburg.DE>
8208
8209 * sparc/sparc.md: Add ultrasparc scheduling support.
8210 * sparc/sparc.h (RTX_COSTS): For MULT give v9 a cost of 25 insns.
8211
8212 Fri Sep 5 14:04:59 1997 Philippe De Muyter <phdm@info.ucl.ac.be>
8213
8214 * integrate.c (save_for_inline_copying): Use 0, not NULL_PTR,
8215 as initial value for real_label_map.
8216 (copy_for_inline): Likewise.
8217
8218 Fri Sep 5 13:36:44 1997 J"orn Rennecke <amylaar@cygnus.co.uk>
8219
8220 * sched.c (update_flow_info) When looking if to set found_split_dest
8221 or found_orig_dest, look at all parts of a PARALLEL.
8222 * haifa-sched.c (update_flow_info): Likewise.
8223
8224 Fri Sep 5 10:08:44 1997 Jeffrey A Law (law@cygnus.com)
8225
8226 * v850: New directory for v850 port.
8227 * v850/lib1funcs.asm: New file.
8228 * t-v850, v850.c, v850.h, v850.md, xm-v850.h: New files.
8229 * ginclude/va-v850.h: New file.
8230 * ginclude/varargs.h, ginclude/stdarg.h: Include va-mn10200.h.
8231 * configure.in (mn10200-*-*): New target.
8232 * configure: Rebuilt.
8233 * config.sub: Handle v850-elf.
8234 * Makefile.in (USER_H): Add va-mn10200.h.
8235 * invoke.texi: Document v850 stuff.
8236
8237 Fri Sep 5 09:37:50 1997 Jim Wilson (wilson@cygnus.com)
8238
8239 * sdbout.c (plain_type_1, case ARRAY_TYPE): Verify that TYPE_DOMAIN
8240 has integer TYPE_{MAX,MIN}_VALUE before using them.
8241
8242 * m68k/m68k.h (MACHINE_STATE_SAVE, MACHINE_STATE_RESTORE): Add
8243 __HPUX_ASM__ versions.
8244
8245 Fri Sep 5 09:08:44 1997 Jeffrey A Law (law@cygnus.com)
8246
8247 * install.sh: Delete duplicate install script.
8248
8249 Thu Sep 4 23:14:27 1997 Stan Cox (coxs@dg-rtp.dg.com)
8250
8251 * reg-stack.c (subst_stack_regs): Pop the stack register for a
8252 computed goto which sets the same stack register.
8253
8254 * reg-stack.c (compare_for_stack_reg): Swap only if the source and
8255 destination are both on the regstack.
8256 (subst_stack_regs_pat): Put the destination at the top of the regstack.
8257
8258 Thu Sep 4 15:02:27 1997 Jim Wilson <wilson@cygnus.com>
8259
8260 * mips.md (nonlocal_goto_receiver): Define.
8261
8262 * profile.c (output_arc_profiler): Check next_insert_after for non
8263 NULL before deferencing it.
8264
8265 * i386/t-sol2 (TARGET_LIBGCC2_CFLAGS): Define to -fPIC.
8266
8267 Thu Sep 4 14:51:57 1997 Jeffrey A Law (law@cygnus.com)
8268
8269 * i386.h (CPP_CPU_DEFAULT): Avoid using #elif.
8270
8271 Thu Sep 4 15:01:49 1997 Michael Meissner <meissner@cygnus.com>
8272
8273 * toplev.c (rest_of_compilation): For passes starting with
8274 flow_analysis, use print_rtl_with_bb instead of print_rtl.
8275
8276 * print-rtl.c (print_rtl_single): Print a single rtl value to a
8277 file.
8278
8279 * flow.c (print_rtl_with_bb): Print which insns start and end
8280 basic blocks. For the start of a basic block, also print the live
8281 information.
8282
8283 Thu Sep 4 11:51:43 1997 Jim Wilson <wilson@cygnus.com>
8284
8285 * toplev.c (main): Change #elif to #else/#ifdef
8286
8287 * tlink.c: Include ctype.h.
8288 * ginclude/va-mips.h: Add _VA_MIPS_H_ENUM ifdef/define/endif.
8289
8290 Thu Sep 4 11:17:16 1997 Mikeael Meissner (meissner@cygnus.com)
8291
8292 * bitmap.c: Conditionally include stdlib.h.
8293 (free): Provide a declaration if NEED_DECLARATION_FREE.
8294
8295 Thu Sep 4 09:58:53 1997 Joel Sherrill (joel@OARcorp.com)
8296
8297 * i960/i960.h: Added default for SUBTARGET_SWITCHES macro.
8298
8299 Thu Sep 4 09:53:20 1997 Jim Wilson (wilson@cygnus.com)
8300
8301 * profile.c (output_arc_profiler): Verify next_insert_after is an
8302 INSN before and after skipping a stack pop.
8303
8304 Thu Sep 4 07:39:19 1997 J"orn Rennecke <amylaar@cygnus.co.uk>
8305
8306 * final.c (shorten_branches): Don't count the lengths of deleted
8307 instructions.
8308
8309 Thu Sep 4 09:43:01 1997 Jeffrey A Law (law@cygnus.com)
8310
8311 * version.c: Bump for snapshot.
8312
8313 Thu Sep 4 11:04:21 1997 Michael Meissner <meissner@cygnus.com>
8314
8315 * bitmap.h (EXECUTE_IF_AND_IN_BITMAP): New macro, to iterate over
8316 two bitmaps ANDed together.
8317 (bitmap_print): Declare.
8318
8319 * bitmap.c (function_obstack): Don't declare any more.
8320 (bitmap_obstack): Obstack for allocating links from.
8321 (bitmap_obstack_init): New static to say whether to initialize
8322 bitmap_obstack.
8323 (bitmap_element_allocate): Use bitmap_obstack to allocate from.
8324 (bitmap_release_memory): Free all memory allocated from
8325 bitmap_obstack.
8326
8327 * basic-block.h (EXECUTE_IF_AND_IN_REG_SET): New macro, invoke
8328 EXECUTE_IF_AND_IN_BITMAP.
8329
8330 Wed Sep 3 10:39:42 1997 Jim Wilson <wilson@cygnus.com>
8331
8332 * alias.c (true_dependence): Address with AND can alias scalars.
8333 (anti_dependence, output_dependence): Likewise.
8334
8335 * alias.c (true_dependence): Test x for BLKmode, in addition to mem.
8336
8337 Wed Sep 3 09:28:50 CDT 1997 Joel Sherrill (joel@OARcorp.com)
8338
8339 * i386/go32-rtems.h, i386/rtems.h, i960/rtems.h, m68k/rtems.h,
8340 mips/rtems64.h, pa/rtems.h, rs6000/rtems.h, sh/rtems.h,
8341 sparc/rtems.h (subtarget_switches): Removed SUBTARGET_SWITCHES
8342 definitions. Use -qrtems instead of -mrtems.
8343
8344 Wed Sep 3 09:05:41 1997 Robert Lipe (robert@dgii.com)
8345
8346 * xm-sco5.h (sys_siglist): Define.
8347 (SYS_SIGLIST_DECLARED): Likewise.
8348
8349 Tue Sep 2 23:33:33 1997 Jeffrey A Law (law@cygnus.com)
8350
8351 * expr.c (convert_move): Handle truncation from TQFmode to QFmode.
8352
8353 Wed Sep 3 02:09:30 1997 Torbjorn Granlund <tege@pdc.kth..se>
8354
8355 * except.c (eh_outer_context): Expand masking operation using
8356 expand_binop.
8357
8358 Tue Sep 2 18:09:39 1997 Jim Wilson <wilson@cygnus.com>
8359
8360 * alpha.md (floatdisf2-1): New pattern.
8361
8362 Tue Sep 2 18:41:55 1997 Jeffrey A Law (law@cygnus.com)
8363
8364 * xm-svr4.h (SYS_SIGLIST_DECLARED): Define.
8365 * xm-news.h (SYS_SIGLIST_DECLARED): Likewise.
8366 * xm-sysv4.h (SYS_SIGLIST_DECLARED): Likewise.
8367 * gcc.texi: Note that if you define sys_siglist that you should
8368 also define SYS_SIGLIST_DECLARED.
8369
8370 * mn10200.h (INITIALIZE_TRAMPOLINE): PC relative instructions
8371 are relative to the next instruction, not the current instruction.
8372
8373 Tue Sep 2 14:22:43 1997 Jim Wilson <wilson@cygnus.com>
8374
8375 * local-alloc.c (contains_replace_regs): New function.
8376 (update_equiv_regs): When adding a REG_EQUIV note for a set of a MEM,
8377 verify that there is no existing REG_EQUIV note, and add a call to
8378 contains_place_regs.
8379
8380 Tue Sep 2 12:48:11 1997 H.J. Lu (hjl@gnu.ai.mit.edu)
8381
8382 * config/alpha/elf.h (CPP_PREDEFINES): Add -D__PIC__ -D__pic__.
8383 (STARTFILE_SPEC): Always use crtbegin.o%s
8384 (ENDFILE_SPEC): Always use crtend.o%s.
8385
8386 Tue Sep 2 12:00:36 1997 Jim Wilson <wilson@cygnus.com>
8387
8388 * alpha/alpha.h (PREFERRED_RELOAD_CLASS): Return NO_REGS if NO_REGS
8389 is passed in.
8390 * emit-rtl.c (gen_lowpart_common): Add code to convert CONST_INT to
8391 SFmode for 64 bit hosts.
8392
8393 Tue Sep 2 13:42:38 1997 Paul N. Hilfinger <hilfingr@CS.Berkeley.EDU>
8394
8395 * fixincludes: Permits spaces between # and define. Discard C++
8396 comments in sys/pci.h on HP/UX 10.20.
8397
8398 Mon Sep 1 22:13:18 1997 Jeffrey A Law (law@cygnus.com)
8399
8400 * version.c: Bump for snapshot.
8401
8402 * pa.c (restore_unscaled_index_insn_codes): New function.
8403 (record_unscaled_index_insn_codes): Likewise.
8404 (output_function_prologue): Call restore_unscaled_index_insn_codes.
8405 (output_function_epilogue): Free memory for unscaled_index_insn_codes.
8406 (pa_reorg): Call record_unscaled_index_insn_codes.
8407
8408 * haifa-sched.c (move_insn): Handle notes correctly for insns
8409 with SCHED_GROUP_P set.
8410
8411 Mon Sep 1 16:58:57 1997 H.J. Lu (hjl@gnu.ai.mit.edu)
8412
8413 * alpha/xm-linux.h (USE_BFD): Undef before define.
8414
8415 Mon Sep 1 16:25:34 1997 Jim Wilson <wilson@cygnus.com>
8416
8417 * cse.c (cse_insn): Don't record BLKmode values.
8418
8419 Mon Sep 1 11:25:47 1997 Stephen Williams (steve@icarus.icarus.com)
8420
8421 * i960.h (LINK_SPEC): Handle "-mjX" and "-mrp" switches.
8422
8423 Mon Sep 1 08:29:46 1997 Jeffrey A Law (law@cygnus.com)
8424
8425 * cccp.c (sys_errlist): Remove special 4.4bsd declaration.
8426 * collect2.c (sys_errlist): Likewise.
8427 * cpplib.c (sys_errlist): Likewise.
8428 * gcc.c (sys_errlist): Likewise.
8429 * protoize (sys_errlist): Likewise.
8430 * configure.in: Check for strerror.
8431 * xm-freebsd.h (HAVE_STRERROR): Remove definition.
8432 * xm-gnu.h (HAVE_STRERROR): Likewise.
8433 * xm-linux.h (HAVE_STRERROR): Likewise.
8434 * xm-netbsd.h (HAVE_STRERROR): Likewise.
8435 * xm-bsd386.h (HAVE_STRERROR): Likewise.
8436 * xm-cygwin32.h (HAVE_STRERROR): Likewise.
8437 * xm-dos.h (HAVE_STRERROR): Likewise.
8438 * xm-mingw32.h (HAVE_STRERROR): Likewise.
8439 * xm-pa.h (HAVE_STRERROR): Likewise.
8440 * xm-papro.h (HAVE_STRERROR): Likewise.
8441 * xm-sysv4.h (HAVE_STRERROR): Likewise.
8442 * configure, config.in: Rebuilt.
8443
8444 * Makefile.in: Add several missing "else true" clauses.
8445
8446 * collect2.c: Change DONT_DECLARE_SYS_SIGLIST to SYS_SIGLIST_DECLARED.
8447 * mips-tfile.c: Likewise.
8448 * gcc.texi: DONT_DECLARE_SYS_SIGLIST: Remove docs.
8449 * xm-linux.h (DONT_DECLARE_SYS_SIGLIST): Delete definition.
8450 * xm-freebsd.h, xm-bsd386.h, xm-sysv4.h, xm-sol2.h: Likewise.
8451 * configure.in: Check for sys_siglist declaration.
8452 * configure, config.in: Rebuilt.
8453
8454 Mon Sep 1 08:04:07 1997 Joel Sherrill (joel@OARcorp.com)
8455
8456 * i386/go32-rtems.h, i386/rtems.h, i960/rtems.h,
8457 m68k/rtems.h, mips/rtems64.h, pa/rtems.h, rs6000/rtems.h,
8458 sparc/rtems.h (subtarget_switches): Added -mrtems as a switch.
8459 * i960/i960.h: Added SUBTARGET_SWITCHES macro.
8460 * rs6000/sysv4.h (extra_subtarget_switches): Added new
8461 macro EXTRA_SUBTARGET_SWITCHES.
8462 * configure.in (sh*-*-rtems*): New target.
8463 * sh/rtems.h: New file.
8464 * sh/sh.h: Added SUBTARGET_SWITCHES macro.
8465 * configure: Rebuilt.
8466
8467 Sat Aug 30 22:54:26 1997 Jim Wilson <wilson@cygnus.com>
8468
8469 * unroll.c (calculate_giv_inc): Handle increment with code PLUS.
8470
8471 Sat Aug 30 10:49:46 1997 David Edelsohn <edelsohn@mhpcc.edu>
8472
8473 * rs6000.md: Make DF fused-add operations pay attention to
8474 -mno-fused-add.
8475
8476 Fri Aug 29 19:19:54 1997 Jim Wilson <wilson@cygnus.com>
8477
8478 * i386/xm-sysv4.h (DONT_DECLARE_SYS_SIGLIST): Define.
8479
8480 Fri Aug 29 16:13:51 1997 Jeffrey A Law (law@cygnus.com)
8481
8482 * pa.md (reload_peepholes): Make sure operand is a REG before
8483 examining REGNO. Allow general registers too.
8484
8485 Fri Aug 29 11:42:04 1997 Jim Wilson <wilson@cygnus.com>
8486
8487 * varasm.c (mark_constants): Don't look inside CONST_DOUBLEs.
8488
8489 Fri Aug 29 09:33:20 1997 Philipp Thomas (kthomas@lxi165.gwdg.de)
8490
8491 * dwarf2out.c (build_abbrev_table): Use xrealloc, not xmalloc
8492 to reallocate abbrev_die_table.
8493
8494 Thu Aug 28 15:14:46 1997 Jim Wilson <wilson@cygnus.com>
8495
8496 * m68k/m68k.md (iorsi_zexthi_ashl16): Disable.
8497
8498 1997-08-27 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
8499
8500 * Makefile.in (config.status): Depend on version.c
8501
8502 * expr.h (insn_gen_function): Reenable prototype.
8503
8504 * expr.c (move_by_pieces_1, clear_by_pieces_1): Fix prototype of
8505 first parameter.
8506
8507 Thu Aug 28 13:01:43 1997 Jim Wilson <wilson@cygnus.com>
8508
8509 * i386.c (ix86_expand_epilogue): Emit blockage instruction when pic.
8510
8511 Thu Aug 28 07:03:15 1997 Jeffrey A Law (law@cygnus.com)
8512
8513 * version.c: Bump for latest snapshot.
8514
8515 * bc-optab.c: Conditionally include stdlib.h.
8516 (free): Provide a declaration if NEED_DECLARATION_FREE.
8517 * tree.c (free): Provide a declaration if NEED_DECLARATION_FREE.
8518 * rtl.h (free): Remove declaration.
8519 * tree.h (free): Remvoe declaration.
8520
8521 * configure: Rebuilt.
8522
8523 Wed Aug 27 21:32:20 1997 Jeffrey A Law (law@cygnus.com)
8524
8525 * flags.h (flag_move_all_movables): Declare.
8526 (flag_reduce_all_givs): Likewise.
8527 * loop.c (move_movables): Handle flag_move_all_movables.
8528 (strength_reduce): Handle flag_reduce_all_givs.
8529 * toplev.c (flag_move_all_movables): Define.
8530 (flag_reduce_all_givs): Likewise.
8531 (f_options): Add -fmove-all-movables and -freduce-all-givs.
8532 * invoke.texi: Document new options, including alias stuff that
8533 wasn't included last time.
8534
8535 Wed Aug 27 18:08:51 1997 Bob Manson (manson@cygnus.com)
8536
8537 * t-h8300: Use TARGET_LIBGCC2_CFLAGS instead of LIBGCC2_CFLAGS.
8538 * t-mn10200: Ditto.
8539 * t-vxsparc: Ditto.
8540 * t-vxworks68: Ditto.
8541 * t-vxworks960: Ditto.
8542 * t-vx29k: Ditto.
8543
8544 Wed Aug 27 16:35:29 1997 Richard Henderson <rth@cygnus.com>
8545
8546 * alpha/xm-alpha.h (alloca): Define alloca to builtin_alloca for GNUC
8547 if not already defined, and USE_C_ALLOCA not defined.
8548
8549 Wed Aug 27 16:08:43 1997 Jim Wilson <wilson@cygnus.com>
8550
8551 * config.guess: Replace with script that uses ../config.guess.
8552
8553 * config/alpha/elf.h (DEFAULT_VTABLE_THUNKS): New. Defined as 1
8554 if USE_GNULIBC_1 is not defined.
8555
8556 Wed Aug 27 15:49:12 1997 Richard Henderson <rth@cygnus.com>
8557
8558 * alpha/elf.h (LINK_SPEC): Conditionalize on USE_GNULIBC_1.
8559 * config.guess: Recognize alpha-linux-gnulibc1.
8560 * configure.in (alpha-*-linux-gnulibc1): New target.
8561 (alpha-*-linux-gnu*): Don't build crtbegin/end.
8562
8563 Wed Aug 27 11:52:58 1997 Jim Wilson <wilson@cygnus.com>
8564
8565 * m68k.md (iorsi3_internal): Readd ! TARGET_5200 check lost in
8566 last change.
8567
8568 Wed Aug 27 01:56:18 1997 Doug Evans <dje@seba.cygnus.com>
8569
8570 * loop.c (combine_movables): Earlier insns don't match later ones.
8571
8572 Wed Aug 27 01:24:25 1997 H.J. Lu (hjl@gnu.ai.mit.edu)
8573
8574 * config/linux.h (CC1_SPEC): Define it only if not defined.
8575
8576 * config/m68k/linux.h (CC1_SPEC): Undefine it before include
8577 <linux.h>
8578
8579 * config/linux.h (DEFAULT_VTABLE_THUNKS): New. Defined as 1 if
8580 USE_GNULIBC_1 is not defined.
8581
8582 * config/rs6000/linux.h (DEFAULT_VTABLE_THUNKS): New. Defined as 1.
8583
8584 * config/sparc/linux.h (DEFAULT_VTABLE_THUNKS): New. Defined
8585 as 1 if USE_GNULIBC_1 is not defined.
8586
8587 Wed Aug 27 00:49:14 1997 Jeffrey A Law (law@cygnus.com)
8588
8589 * reorg.c (dbr_schedule): Allow current_function_return_rtx
8590 to be something other than a REG.
8591 * function.c (expand_function_end): Fix current_function_return_rtx
8592 if it was a pseudo.
8593
8594 * t-freebsd (USER_H): Include EXTRA_HEADERS and LANG_EXTRA_HEADERS.
8595 * x-netbsd: Likewise
8596 * x-dgux (USER_H): Include EXTRA_HEADERS and LANG_EXTRA_HEADERS
8597 (INSTALL_HEADERS): Delete.
8598 * x-dguxbcs: Likewise.
8599 * x-hp3bsd44: Likewise
8600 * x-pa: Likewise.
8601
8602 Wed Aug 27 00:30:00 1997 Bernd Schmidt <crux@pool.informatik.rwth-aachen.de>
8603
8604 * i386.md (pop): pop increments the stack pointer.
8605 (prologue_set_stack_ptr): New pattern.
8606 * i386.c (ix86_expand_prologue): Use prologue_set_stack_ptr
8607 instead of subsi3.
8608
8609 Tue Aug 26 18:50:32 1997 Jim Wilson <wilson@cygnus.com>
8610
8611 * reload.c (find_reloads, case '0'): Reject matching a non-offsettable
8612 address where an offsettable address is required.
8613
8614 Tue Aug 26 17:54:56 1997 Michael P. Hayes (michaelh@ongaonga.chch.cri.nz>
8615
8616 * loop.c (check_final_value): Don't miss a biv increment in a
8617 parallel.
8618
8619 Tue Aug 26 12:03:49 1997 Jim Wilson (wilson@cygnus.com)
8620
8621 * dwarfout.c (dwarfout_file_scope_decl, case TYPE_DECL): Check
8622 TYPE_DECL_IS_STUB instead of DECL_NAME.
8623
8624 Mon Aug 25 23:27:10 1997 H.J. Lu (hjl@gnu.ai.mit.edu)
8625
8626 * objc/Make-lang.in ($(OBJC_O)): Also depend on cc1obj.
8627
8628 Mon Aug 25 23:27:10 1997 Jim Meyering <meyering@eng.ascend.com>
8629
8630 * objc/Make-lang.in ($(OBJC_O)): Also depend on $(GCC_PASSES).
8631
8632 Mon Aug 25 13:12:24 1997 Jeffrey A Law (law@cygnus.com)
8633
8634 * haifa-sched.c (find_pre_sched_live): Remove #if 0 code.
8635 (find_post_sched_live): Likewise.
8636
8637 * haifa-sched.c (schedule_block): Remove old code to get arguments
8638 from hard regs into pseudos early.
8639
8640 Mon Aug 25 08:55:00 1997 Jeffrey A Law (law@cygnus.com)
8641
8642 * version.c: Bump for new snapshot.
8643
8644 * local-alloc.c (update_equiv_regs): All the target to reject
8645 promotion of some REG_EQUAL to REG_EQUIV notes.
8646 * pa.h (DONT_RECORD_EQUIVALENCE): Define.
8647
8648 * pa.c (secondary_reload_class): (mem (mem ... )) does not need
8649 secondary reloads.
8650
8651 * pa.c (hppa_builtin_saveregs): Emit a blockage insn after the
8652 store of the argument registers.
8653
8654 Mon Aug 25 08:39:02 1997 Craig Burley (burley@gnu.ai.mit.edu)
8655
8656 * fold-const.c (multiple_of_p): New function.
8657 (fold): Turn some cases of *_DIV_EXPR into EXACT_DIV_EXPR.
8658
8659 Mon Aug 25 01:47:41 1997 Jeffrey A Law (law@cygnus.com)
8660
8661 * expr.h (insn_gen_function): Temporarily remove prototype.
8662
8663 Sun Aug 24 17:22:21 1997 Jim Wilson <wilson@cygnus.com>
8664
8665 * Makefile.in (install-info): Don't cd into srcdir. Add srcdir to
8666 filenames. Use sed to extract base filename for install.
8667
8668 Sat Aug 23 18:19:40 1997 John F. Carr <jfc@mit.edu>
8669
8670 * unroll.c (find_splittable_givs): Only share if two givs have the
8671 same add and multiply values.
8672
8673 Sat Aug 23 14:36:27 1997 Jim Wilson <wilson@cygnus.com>
8674
8675 * m68k/next.h (GO_IF_INDEXABLE_BASE): Fix typo in undef.
8676 * m68k/m68kemb.h (LIB_SPEC): Add missing comment end before it.
8677
8678 Sat Aug 23 00:18:22 1997 Jeffrey A Law (law@cygnus.com)
8679
8680 * pa.c (pa_reorg): Always put begin_brtab and end_brtab insns
8681 around branch tables.
8682 * pa.md (begin_brtab, end_brtab): Only emit the .begin_brtab
8683 and .end_brtab directives if TARGET_GAS.
8684
8685 Fri Aug 22 14:05:55 1997 Jim Wilson <wilson@cygnus.com>
8686
8687 * alias.c (true_dependence): Pass x_addr not x to varies.
8688
8689 * acconfig.h (NEED_DECLARATION_CALLOC): Add.
8690 * configure.in: Add GCC_NEED_DECLARATION call for calloc.
8691 * rs6000/xm-rs6000.h (malloc, realloc, calloc, free): Delete
8692 declarations.
8693 * config.in, configure: Regenerate.
8694
8695 Thu Aug 21 23:52:16 1997 John F. Carr <jfc@mit.edu>
8696
8697 * alias.c (find_base_value): Improve handling of PLUS, MINUS, and
8698 LO_SUM.
8699 (record_set): Handle LO_SUM like PLUS.
8700 (init_alias_analysis): When following chains of base addresses,
8701 do not stop on reaching a hard register.
8702
8703 Thu Aug 21 20:17:37 1997 Jeffrey A Law (law@cygnus.com)
8704
8705 * version.c: Bump for new snapshot.
8706
8707 Thu Aug 21 17:28:00 1997 Jim Wilson <wilson@cygnus.com>
8708
8709 * alpha.h (ARCH_ASM_FILE_START): Define.
8710 (ASM_FILE_START): Use ARCH_ASM_FILE_START.
8711 * osf12.h, osf2or3.h (ARCH_ASM_FILE_START): Redefine to null string.
8712
8713 Thu Aug 21 10:22:19 1997 Jeffrey A Law (law@cygnus.com)
8714
8715 * Makefile.in (install-common): Put gcov comment at start of line.
8716
8717 Wed Aug 20 22:47:33 1997 Jeffrey A Law (law@cygnus.com)
8718
8719 * alias.c (init_alias_analysis): When simplifying the reg_base_value
8720 array, simplify entries for hard registers too.
8721
8722 Wed Aug 20 12:35:47 1997 Dave Love <d.love@dl.ac.uk>
8723
8724 * dwarf2.h (enum dwarf_call_frame_info): Remove trailing comma from
8725 list.
8726
8727 Wed Aug 20 11:58:33 1997 Jim Wilson <wilson@cygnus.com>
8728
8729 * stmt.c (start_cleanup_deferal, end_cleanup_deferal): Test
8730 block_stack before dereferencing it.
8731
8732 Wed Aug 20 11:57:11 1997 Michael Meissner <meissner@cygnus.com>
8733
8734 * rs6000.h (ISSUE_RATE): Define instead of MACHINE_issue_rate.
8735
8736 Tue Aug 19 17:10:56 1997 Jason Merrill <jason@yorick.cygnus.com>
8737
8738 * cplus-dem.c: Add 'extern' to prepends_underscore.
8739
8740 Tue Aug 19 09:34:57 1997 Jeffrey A Law (law@cygnus.com)
8741
8742 * haifa-sched.c (ISSUE_RATE): Renamed from MACHINE_issue_rate.
8743 (get_issue_rate): Delete.
8744 * pa.h (ISSUE_RATE): Define.
8745
8746 * configure.in: Turn on haifa by default for the PA.
8747 * configure: Rebuilt.
8748 * pa.c (override_options): Accept -mschedule=7200 option.
8749 (pa_adjust_cost): No longer need to scale costs for newer
8750 processors.
8751 * pa.h (enum processor_type): Add PROCESSOR_7200.
8752 * pa.md: Revamp scheduling parameters to work better with
8753 haifa. Add scheduling parameters for the 7200.
8754
8755 * haifa-sched.c (move_insn): Reemit notes for SCHED_GROUP_P
8756 insns too.
8757 (schedule_block): When adjusting basic_block_{head,end}, account
8758 for movement of SCHED_GROUP_P insns too.
8759
8760 * haifa-sched.c (debug_dependencies): Fix thinko.
8761
8762 * Makefile.in (EXPECT, RUNTEST, RUNTESTFLAGS): Define.
8763 (site.exp, check, check-g++, check-gcc): New targets.
8764
8765 * haifa-sched.c: Make lots of variables static.
8766
8767 Tue Aug 19 07:18:34 1997 H.J. Lu (hjl@gnu.ai.mit.edu)
8768
8769 * expr.h, real.h: Finish prototyping.
8770
8771 Mon Aug 18 21:49:02 1997 Jim Wilson <wilson@cygnus.com>
8772
8773 * reload.c (find_reloads): Add code to convert RELOAD_FOR_OPADDR_ADDR
8774 reloads to RELOAD_FOR_OPERAND_ADDRESS reloads.
8775 * reload1.c: Undo bugfix from Aug 11.
8776
8777 Mon Aug 18 17:39:02 1997 Mike Meissner <meissner@cygnus.com>
8778
8779 * configure.in ({powerpc,rs6000}*-*-*, --with-cpu): Remove single
8780 quotes around the name.
8781 * configure: Regenerate.
8782
8783 Mon Aug 18 13:46:47 1997 Jim Wilson <wilson@cygnus.com>
8784
8785 * Makefile.in (stmp-multilib-sub): Fix typo in last change.
8786
8787 Thu Aug 7 10:33:13 1997 Manfred Hollstein <manfred@s-direktnet.de>
8788
8789 * Makefile.in (sub-makes): Pass the current value of LANGUAGES down
8790 to sub-makes to avoid building more passes than the user might have
8791 requested on the command line.
8792
8793 Sun Aug 17 15:42:17 1997 Dave Love (d.love@dl.ac.uk)
8794
8795 * configure.in: Expurgate `broken_install' (install is
8796 autoconfed).
8797
8798 * configure.lang: Substitute autoconfed ${INSTALL} (not currently
8799 relevant).
8800
8801 Sat Aug 16 01:08:12 1997 Jeffrey A Law (law@cygnus.com)
8802
8803 * loop.c (is_power_of_2, is_conditional_branch): Delete unused
8804 functions and declarations.
8805 (analyze_loop_iterations): Use condjump_p.
8806 (insert_bct): Likewise. Use exact_log2.
8807
8808 Fri Aug 15 23:48:32 1997 Jeffrey A Law (law@cygnus.com)
8809
8810 * haifa-sched.c (find_post_sched_live): Call FREE_REG_SET as needed.
8811 (schedule_region): Likewise.
8812 (schedule_insns): Likewise.
8813
8814 * PROJECTS: Update with Haifa stuff.
8815
8816 Fri Aug 15 12:49:56 1997 Jeffrey A Law (law@cygnus.com)
8817
8818 * version.c: Change the version string to look like:
8819 egcs-2.90.00 970814 (gcc2-970802 experimental).
8820
8821 * loop.c (is_conditional_branch): Make definition match declaration.
8822
8823 * gcc.c: Take out experimental snapshot warning message.
8824
8825 Fri Aug 15 13:43:39 1997 Michael Meissner <meissner@cygnus.com>
8826
8827 * haifa-sched.c (debug_dependencies): Use GET_NOTE_INSN_NAME to
8828 print out the names of the notes. Print out the name of the insn
8829 that is not a note, and not an {,CALL_,JUMP_}INSN.
8830
8831 Wed Aug 13 17:32:38 1997 Jason Merrill <jason@yorick.cygnus.com>
8832
8833 * expr.c (expand_expr, case TARGET_EXPR): Call mark_addressable
8834 again for the slot after we give it RTL.
8835
8836 Wed Aug 13 01:03:37 1997 Doug Evans <dje@canuck.cygnus.com>
8837
8838 * configure.in (haifa configury): Fix typo.
8839 * configure: Regenerate.
8840
8841 Tue Aug 12 10:20:36 1997 Jeffrey A Law (law@cygnus.com)
8842
8843 * version.c: Bump version to "gcc-3.0.0 970802 experimental".
8844
8845 * gcc.info*: Rebuilt.
8846
8847 * COPYING.g77, README.g77: New files.
8848 * real.c (ereal_unto_float, ereal_unto_double): New functions.
8849 * real.h (ereal_unto_float, ereal_unto_double): Declare them.
8850 (REAL_VALUE_UNTO_TARGET_DOUBLE, REAL_VALUE_UNTO_TARGET_SINGLE): Define.
8851
8852 Mon Aug 11 14:50:55 1997 Jeffrey A Law (law@cygnus.com)
8853
8854 * Integrate Haifa instruction scheduler.
8855 * Makefile.in (ALL_CFLAGS): Add SCHED_CFLAGS. Prefix all references
8856 to sched with $(SCHED_CFLAGS.
8857 * configure.in: Handle --enable-haifa.
8858 * configure: Rebuilt.
8859 * flags.h: Add new flags for haifa instruction scheduler.
8860 * genattrtab.c (expand_units): For haifa, don't subtract one
8861 when computing blockage.
8862 * toplev.h (flag_schedule_interblock): Haifa scheduler flag.
8863 (flag_schedule_speculative): Ditto.
8864 (flag_schedule_speculative_load): Ditto.
8865 (flag_schedule_speculative_load_dangerous): Ditto.
8866 (flag_schedule_reverse_before_reload): Ditto.
8867 (flag_schedule_reverse_after_reload): Ditto.
8868 (flag_branch_on_count_reg): Ditto.
8869 (f_options): Add Haifa switches.
8870 (main): Turn off some Haifa options if appropriate macro is
8871 defined. Process Haifa switches.
8872 * unroll.c (iteration_info): No longer static, since Haifa
8873 scheduler uses it.
8874 (unroll_loop): Inform HAIFA scheduler about loop unrolling factor.
8875 * unroll.c (unroll_loop): Set loop_unroll_iter, loop_start_value.
8876 * loop.h (loop_unroll_factor, loop_number): Add HAIFA decls.
8877 * loop.h (loop_initial_value,loop_unroll_iter): New globals.
8878 * loop.c (loop_optimize): If HAIFA is defined, allocate additional
8879 storage for the Haifa scheduler.
8880 (mark_loop_jump): If HAIFA defined, set LABEL_OUTSIDE_LOOP_P and
8881 LABEL_NEXTREF.
8882 (strength_reduce): If HAIFA and HAVE_decrement_and_branch_on_count
8883 are defined, call analyze_loop_iterations and insert_bct to use
8884 countdown loops.
8885 (record_giv): Refine test for jumps out of loops if HAIFA is
8886 defined.
8887 (analyze_loop_iterations): New function to identify if we can use
8888 a countdown loop.
8889 (insert_bct): Insert countdown loop.
8890 (instrument_loop_bct): Low level code to insert countdown loop.
8891 (loop_number): Calculate UID of loop.
8892 (indirect_jump_in_function_p): Return true if an indirect jump is
8893 in the function.
8894 (is_power_of_2): Return true if value is a power of 2.
8895 (is_conditional_branch): Return true if insn is a conditional
8896 jump.
8897 (fix_bct_param): Process -fbct-{min,max}-N switches.
8898 (check_bct_param): Return true if loop should be instrumented.
8899 * loop.c (loop_initial_value,loop_unroll_iter): New globals.
8900 (loop_optimize): Initialize.
8901 (get_condition_for_loop): Ditto.
8902 * loop.c (strength_reduce): Inside of code that uses #ifdef
8903 HAVE_decrement_and_branch_on_count code, test it to make sure the
8904 condition is true.
8905 (instrument_loop_bct): Ditto.
8906 * haifa-sched.c: New file.
8907
8908
8909 * Integrate regmove pass.
8910 * Makefile.in (OBJS): Add regmove.o
8911 (regmove.o): Add dependencies.
8912 * flow.c (find_use_as_address): No longer static.
8913 * rtl.h (find_use_as_address): Declare.
8914 * toplev.c (regmove_dump, flag_regmove): Define.
8915 (f_options): Add -fregmove.
8916 (regmove_dump_file, regmove_time): Define.
8917 (fatal_insn): Close the regmove dump file.
8918 (compile_file): Initialize regmove_time; open/close the regmove dump
8919 file as needed. Print regmove time as needed.
8920 (rest_of_compilation): Run regmove pass if requested, dump
8921 RTL after regmove if requested.
8922 (main): If -O2 or more, turn on regmove. Handle dump switches.
8923 * regmove.c: New file.
8924
8925 Mon Aug 11 14:15:02 1997 Jeffrey A Law (law@cygnus.com)
8926
8927 * Integrate tlink patch from jason@cygnus.com
8928 * gcc.c (SWITCH_TAKES_ARG): Add 'V', 'B' and 'b'.
8929 (process_command): Increment n_switches for them. Don't discard
8930 their args. Validate them.
8931 (main): Escape " marks when creating COLLECT_GCC_OPTIONS.
8932 From Rohan Lenard.
8933 (process_command): Set include_prefixes from COMPILER_PATH.
8934 (main): Set COLLECT_GCC_OPTIONS sooner.
8935 * confiugre.in: Link ../ld/ld.new to collect-ld rather than real-ld.
8936 * tlink.c, hash.c, hash.h: New files.
8937 * Makefile.in (USE_COLLECT2): Always use collect2.
8938 (collect2): Depend on and link in hash.o and tlink.o.
8939 (tlink.o, hash.o): Add dependencies.
8940
8941 Mon Aug 11 10:04:49 1997 Jeffrey A Law (law@cygnus.com)
8942
8943 * Integrate alias analysis changes from jfc@mit.edu
8944 * Makefile.in (OBJS): Add alias.o
8945 (alias.o): Add dependencies.
8946 * alias.c: New file.
8947 * sched.c: Remove alias analysis code. It lives in alias.c now.
8948 (sched_analyze_2): Add new arguments to true_dependence.
8949 (schedule_insns): Always call init_alias_analysis.
8950 * calls.c (expand_call): Note calls to malloc, calloc, and realloc;
8951 mark return value from such functions as a pointer and keep track of
8952 them for alias analysis. If a return value from a function is a
8953 pointer, mark it as such.
8954 * combine.c (distribute_notes): Handle REG_NOALIAS.
8955 * cse.c (struct write_data): Delete. No longer needed.
8956 (invalidate): Don't call set_nonvarying_address_components anymore.
8957 Use true_dependence to decide if an entry should be removed from
8958 the hash table.
8959 (invalidate_memory): Remove WRITES argument, simplify appropriately.
8960 Fix all callers.
8961 (note_mem_written): Similarly for WRITE_PTR argument.
8962 (invalidate_from_clobbers): Similarly for W argument.
8963 (invalidate_for_call): Remove memory elements from the hash table.
8964 (refers_to_mem_p, cse_rtx_addr_varies_p): Deleted.
8965 (cse_rtx_varies_p): New function. Derived from old
8966 cse_rtx_addr_varies_p.
8967 (cse_insn): Remove WRITES_MEMORY and INIT variables and all references.
8968 Don't call note_mem_written anymore. Stack pushes invalidate the stack
8969 pointer if PUSH_ROUNDING is defined. No longer need to call
8970 cse_rtx_addr_varies_p to decide if a MEM should be invalidated.
8971 (skipped_writes_memory): Remove variable.
8972 (invalidate_skipped_set): Simplify and wewrite to use invalidate_memory.
8973 (invalidate_skipped_block): Simplify for new alias analysis code.
8974 (cse_set_around_loop): Likewise.
8975 (cse_main): Call init_alias_analysis.
8976 * flags.h (flag_alias_check, flag_argument_noalias): Declare.
8977 * toplev.c (flag_alias_check, flag_argument_noalias): Define.
8978 (f_options): Add new alias checking arguments.
8979 (main): Set flag_alias_check when optimizing.
8980 * local_alloc (validate_equiv_mem_from_store): Add new arguments
8981 to true_dependence.
8982 (memref_referenced_p): Likewise.
8983 * loop.c (NUM_STORES): Increase to 30.
8984 (prescan_loop): Only non-constant calls set unknown_address_altered.
8985 (invariant_p): Add new arguments to true_dependence.
8986 (record_giv): Initialize unrolled and shared fields.
8987 (emit_iv_add_mult): Call record_base_value as needed.
8988 * loop.h (struct induction): Add unrolled and shared fields.
8989 * unroll.c (unroll_loop): Call record_base_value as needed.
8990 (copy_loop_body): Likewise.
8991 (final_biv_value): Likewise.
8992 (final_giv_value): Likewise.
8993 (find_splittable_regs): Likewise. Only create one new pseudo
8994 if we have multiple address GIVs that were combined with the same
8995 dst_reg GIV. Note when a new register is created due to unrolling.
8996 * rtl.c (reg_note_name): Add REG_NOALIAS.
8997 * rtl.h (enum reg_note): Similarly.
8998 (rtx_varies_p, may_trap_p, side_effects_p): Declare.
8999 (volatile_refs_p, volatile_insn_p, remove_note): Likewise.
9000 (note_stores, refers_to_regno_p, reg_overlap_mentioned_p): Likewise.
9001 (true_dependence, read_dependence, anti_dependence): Likewise.
9002 (output_dependence, init_alias_analysis, end_alias_analysis): Likewise.
9003 (mark_user_reg, mark_reg_pointer): Likewise.
9004
9005
9006 * Integrate reload bugfix from Wilon which enables the PA port
9007 to bootstrap again.
9008 * reload1.c (reload): Sum needs for both OPADDR_ADDR and
9009 OPERAND_ADDRESS when computing how many registers an insn needs.
9010 (reload_reg_free_p): OPADDR_ADDR and OPERAND_ADDRESS reloads do
9011 conflict.
9012 (reload_reg_free_before_p): Treat OPERAND_ADDRESS reloads just like
9013 OPADDR_ADDR reload.
9014 (reload_reg_reaches_end_p): For RELOAD_FOR_OPADDR_ADDR insns, registers
9015 in reload_reg_use_in_op_addr do not reach the end.
9016 do not reach the end.
9017 (reloads_conflict): RELOAD_FOR_OPADDR_ADDR conflicts with
9018 RELOAD_FOR_OPERAND_ADDRESS.
9019
9020 Sun Aug 10 12:00:20 1997 Jeffrey A Law (law@cygnus.com)
9021
9022 * egcs project officially starts.
9023
9024 Local Variables:
9025 add-log-time-format: current-time-string
9026 End: