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