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