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