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