]> gcc.gnu.org Git - gcc.git/blame - gcc/ChangeLog
parse.y (explicit_template_type): Remove TEMPLATE keyword.
[gcc.git] / gcc / ChangeLog
CommitLineData
fc470718
R
1Mon Mar 2 19:51:27 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
2
3 * final.c (insn_last_address, insn_current_align, uid_align):
4 New variables.
5 (in_align_chain, align_fuzz, align_shrink_fuzz): New functions.
6 (insn_current_reference_address): Likewise.
7 (shorten_branches, final_scan_insn): Implement LABEL_ALIGN,
8 LABEL_ALIGN_AFTER_BARRIER and LOOP_ALIGN target macros.
9 (label_to_alignment): New function.
10 * genattrtab.c (write_test_expr): If one of LABEL_ALIGN,
11 LABEL_ALIGN_AFTER_BARRIER or LOOP_ALIGN is defined, call
12 insn_current_reference_address instead of insn_current_address.
13 (or_attr_value, write_length_unit_log): New functions.
14 (main): Call write_length_unit_log.
15 (write_const_num_delay_slots): Output extra '\n'.
16 * alpha.h (ASM_OUTPUT_LOOP_ALIGN, ASM_OUTPUT_ALIGN_CODE):
17 replace with:
18 (LOOP_ALIGN, ALIGN_LABEL_AFTER_BARRIER).
19 * i386.h, i386/osfrose.h, i386/svr3dbx.h, m68k.h, sparc.h: Likewise.
20 * arc.h, m32r.h (ASM_OUTPUT_LOOP_ALIGN): replace with:
21 (LOOP_ALIGN).
22 * i960.h, m88k.h: (ASM_OUTPUT_ALIGN_CODE): Replace with:
23 (LABEL_ALIGN_AFTER_BARRIER).
24 * ns32k/encore.h, ns32k/merlin.h, ns32k.h, ns32k/sequent.h: Likewise.
25 * ns32k/tek6000.h: Likewise.
26 * i386/gas.h (ASM_OUTPUT_LOOP_ALIGN, ASM_OUTPUT_ALIGN_CODE): Delete.
27 * i386.md (casesi+1): Use ASM_OUTPUT_ALIGN instead of
28 ASM_OUTPUT_ALIGN_CODE.
29
54f00917
JL
30Mon Mar 2 01:05:50 PST 1998 Jeff Law (law@cygnus.com)
31
32 * version.c: Bump for snapshot.
33
38630f7e
JL
34Mon Mar 2 00:52:18 PST 1998 Jeff Law (law@cygnus.com)
35
36 * version.c: Bump for snapshot.
37
ab63953e
JL
38Sun Mar 1 18:25:49 1998 Michael P. Hayes <michaelh@ongaonga.chch.cri.nz>
39
40 * reorg.c (fill_slots_from_thread): Don't steal delay list from target
41 if condition code of jump conflicts with opposite_needed.
42
43 * reorg.c (fill_slots_from_thread): Mark resources referenced in
44 opposite_needed thread. Return delay_list even when cannot get
45 any more delay insns from end of subroutine.
46
47Sun Mar 1 18:26:21 1998 Ken Rose (rose@acm.org)
48
49 * reorg.c (fill_slots_from_thread): New parameter, delay_list.
50 All callers changed.
51
52Sun Mar 1 18:25:37 1998 Bruno Haible <bruno@linuix.mathematik.uni-karlsruhe.de>
72dd050a
BH
53
54 * frame.c (start_fde_sort, fde_split, heapsort, fde_merge,
55 end_fde_sort): New functions for fast sorting of an FDE array.
56 (fde_insert): Simplified.
57 (add_fdes): Change argument list.
58 (frame_init): Use the new functions.
59
de153e82
JL
60Sun Mar 1 18:06:21 1998 Jeffrey A Law (law@cygnus.com)
61
925b1f33
JL
62 * ginclude/va-ppc.h (va_arg): Fix typo in long long support.
63
c7271385
JL
64 * i386.c (reg_mentioned_in_mem): Fix dangling else statement.
65
de153e82
JL
66 * fold-const.c (fold_range_test): Always return a value.
67
81023100
MK
68Sun Mar 1 17:57:34 1998 Mumit Khan <khan@xraylith.wisc.edu>
69
70 * config/i386/winnt.c (i386_pe_unique_section): Put read-only
71 data in the text section unless READONLY_DATA_SECTION is defined.
72
818e50a5
JL
73Sun Mar 1 17:48:46 1998 Jeffrey A Law (law@cygnus.com)
74
75 * c-parse.in (undeclared variable error): Tweak error message to
76 be clearer.
77
c93dc3ac
JL
78Sun Mar 1 10:22:36 PST 1998 Jeff Law (law@cygnus.com)
79
80 * version.c: Bump for snapshot.
81
90ca38bb
MM
821998-02-28 Mark Mitchell <mmitchell@usa.net>
83
84 * final.c (final_scan_insn): Undo overzealous removal of `set'.
85
3d85c12e
KG
86Sat Feb 28 07:54:03 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
87
5feca984
KG
88 * pa.h (CONST_COSTS): When checking the CONST_DOUBLE enumerated
89 case, add parentheses to specify the proper order of precedence in
90 the if-statement.
91
92
51723711
KG
93 * c-aux-info.c: Include string.h/strings.h.
94
95 * pa.c: Include stdlib.h.
96 (pa_combine_instructions): Prototype the function.
97 (pa_can_combine_p, forward_branch_p, shadd_constant_p): Likewise.
98 (reloc_needed): Add default case for enumeration switch.
99 (remove_useless_addtr_insns): Remove unused variable `all'.
100 (hppa_expand_prologue): Add explicit braces to avoid
101 ambiguous `else'.
102 (output_function_epilogue): Remove unused variable `i'.
103 (output_millicode_call): Remove unused variable `link'.
104 (shadd_constant_p, forward_branch_p): Make the function static.
105 (following_call): Explicitly declare to return int.
106 (pa_reorg): Declare as void.
107 (pa_combine_instructions): Declare as static void. Add
108 parentheses around && within ||.
109
110 * pa.h: Add prototypes for pa_reorg, symbolic_operand,
111 following_call, function_label_operand, lhs_lshift_cint_operand
112 and zdepi_cint_p.
113
114 * pa.md: Add parentheses around && within ||.
115
116 * cppalloc.c: Include stdlib.h.
117
118 * cpperror.c (cpp_print_containing_files): Remove unused variable
119 `i'. Fix format specifier in fprintf.
120
121 * cse.c (cse_around_loop): Add explicit braces to avoid
122 ambiguous `else'.
123 (delete_dead_from_cse): Wrap variable `tem' in macro HAVE_cc0.
124
125 * expr.c (expand_expr): Add parentheses around && within ||.
126
127 * final.c (app_enable): Replace fprintf with fputs where there are
128 no format specifiers and no trailing argument after the string.
129 Eg, when printing ASM_APP_ON/ASM_APP_OFF.
130 (app_disable): Likewise.
131 (final_end_function): Likewise.
132 (final_scan_insn): Likewise. Remove unused variable `set'.
133 (profile_function): Wrap empty if-statement body in {} brackets.
134
135 * function.c: Include stdlib.h.
136 (pad_below): Wrap prototype and definition in ARGS_GROW_DOWNWARD.
137 (reposition_prologue_and_epilogue_notes): Add parentheses
138 around assignment used as truth value.
139
140 * integrate.c (expand_inline_function): Wrap variable
141 `cc0_insn' in macro HAVE_cc0.
142
143 * jump.c (jump_optimize): Wrap variable `q' in macro
144 HAVE_cc0. Remove unused variable `prev1'.
145
146 * libgcc2.c (__bb_exit_trace_func): Add parentheses around &&
147 within ||. Fix format specifier in fprintf.
148 (__bb_init_prg): Add parentheses around assignment used as
149 truth value.
150
151 * local-alloc.c: Include stdlib.h.
152 (requires_inout): Add parentheses around assignment used
153 as truth value.
154
155 * loop.c (analyze_loop_iterations): Wrap prototype and definition
156 in macro HAVE_decrement_and_branch_on_count.
157 (insert_bct, instrument_loop_bct): Likewise.
158 (move_movables): Add parentheses around assignment used as
159 truth value.
160 (consec_sets_invariant_p): Likewise.
161 (maybe_eliminate_biv_1): Wrap variable `new' in macro HAVE_cc0.
162
163 * objc/objc-act.c: Include stdlib.h.
164 (lookup_method_in_protocol_list): Wrap empty else-statement body
165 in braces.
166 (lookup_protocol_in_reflist): Likewise.
167 (objc_add_static_instance): Remove unused variables `decl_expr'
168 and `decl_spec'.
169 (get_objc_string_decl): Remove unused variable `decl'.
170 (generate_static_references): Remove unused variables `idecl' and
171 `instance'.
172 (check_protocols): Wrap empty else-statement body in braces.
173
174 * protoize.c: Include stdlib.h.
175 (substr): Add parentheses around assignment used as truth value.
176 (abspath): Likewise.
177 (shortpath): Likewise.
178
179 * regmove.c (fixup_match_1): Add parentheses around assignment
180 used as truth value.
181
182 * reload.c (push_secondary_reload): Remove unused variable `i'.
183 (find_reloads): Add parentheses around assignment used as truth
184 value.
185
186 * reload1.c: Include stdlib.h.
187
188 * rtl.h: Correct typo in prototype of offsettable_memref_p.
189
190 * stmt.c (add_case_node): Add parentheses around assignment used
191 as truth value.
192 (case_tree2list): Likewise.
193
194 * tree.c (valid_machine_attribute): Wrap variable `decl_attr_list'
195 in macro VALID_MACHINE_DECL_ATTRIBUTE. Wrap variable
196 `type_attr_list' in macro VALID_MACHINE_TYPE_ATTRIBUTE.
197 (merge_attributes): Add explicit braces to avoid ambiguous
198 `else'.
199
200 * unroll.c (copy_loop_body): Wrap variable `cc0_insn' in
201 macro HAVE_cc0.
202
203 * varasm.c: Include stdlib.h.
204
205
c5801053
KG
206 * system.h: Remove sys/stat.h.
207 * gcc.c: Add sys/stat.h.
208
3d85c12e
KG
209 * genattr.c: Wrap prototype of `free' in NEED_DECLARATION_FREE.
210 * genattrtab.c: Likewise.
211 * genconfig.c: Likewise.
212 * genemit.c: Likewise.
213 * genextract.c: Likewise.
214 * genflags.c: Likewise.
215 * genopinit.c: Likewise.
216 * genoutput.c: Likewise.
217 * genpeep.c: Likewise.
218 * genrecog.c: Likewise.
219 * tlink.c: Likewise. Also wrap `getenv' in NEED_DECLARATION_GETENV.
220
0fd12b04
AS
221Fri Feb 27 11:02:47 1998 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
222
bd762873
AS
223 * invoke.texi: Use @itemx for a secondary item in a @table.
224
0fd12b04
AS
225 * config/m68k/m68k.md (movsf+1): Optimize moving a CONST_DOUBLE
226 zero.
227
acbce667
KR
2281998-02-26 Ken Raeburn <raeburn@cygnus.com>
229
230 * regclass.c (init_reg_sets): Move init of move cost tables...
231 (init_reg_sets_1): ...to here.
232
c3cf395b
ILT
233Thu Feb 26 00:13:21 1998 Ian Lance Taylor <ian@cygnus.com>
234
235 * choose-temp.c: Fix handling of sys/file.h to work in libiberty.
236
b94b5c16
JL
237Wed Feb 25 23:40:54 1998 Jeffrey A Law (law@cygnus.com)
238
239 * i386.c (struct machine_function): Add new fields for PIC stuff.
240 (save_386_machine_status): Fix argument to xmalloc. Save pic_label_rtx
241 and pic_label_name.
242 (restore_386_machine_status): Corresponding changes.
243 (clear_386_stack_locals): Also clear pic_label_rtx and pic_label_name.
244
8dfafd99
JL
245Wed Feb 25 01:31:40 1998 Jeffrey A Law (law@cygnus.com)
246
247 * c-parse.y (undeclared variable error): Tweak error message
248 to be clearer.
249
bb8ebb7f
RH
250Tue Feb 24 23:54:07 1998 Richard Henderson <rth@cygnus.com>
251
252 * flags.h (g_switch_value, g_switch_set): Declare.
253 * alpha.c (override_options): Set g_switch_value=8 if not set.
254 * alpha/elf.h (CC1_SPEC): New.
255 (ASM_SPEC): New.
256 (LINK_SPEC): Pass along the -G value we were given.
257 (LOCAL_ASM_OP): Remove.
258 (ASM_OUTPUT_ALIGNED_LOCAL): Output to .bss or .sbss by size.
259 (MAX_OFILE_ALIGNMENT): New.
260 (BSS_SECTION_ASM_OP, SBSS_SECTION_ASM_OP, SDATA_SECTION_ASM_OP): New.
261 (EXTRA_SECTIONS): Add sbss and sdata.
262 (SECTION_FUNCTION_TEMPLATE): New.
263 (EXTRA_SECTION_FUNCTIONS): Use it.
264 (CTORS_SECTION_FUNCTION, DTORS_SECTION_FUNCTION): Remove.
265 (SELECT_SECTION): Use sdata when small enough.
266 * alpha/linux.h (ASM_SPEC): Remove.
267
268
3e07bdbd
BH
269Mon Feb 23 15:09:18 1998 Bruno Haible <bruno@linuix.mathematik.uni-karlsruhe.de>
270 * config.sub (sco5): Fix typo.
271
9d1ebd25
MH
272Mon Feb 23 18:19:31 1998 Manfred Hollstein <manfred@s-direktnet.de>
273
274 * config/t-linux (LIBGCC1, CROSS_LIBGCC1, LIBGCC1_TEST): Add macros and
275 set to empty.
276 * config/t-linux-aout (LIBGCC1, CROSS_LIBGCC1, LIBGCC1_TEST): Likewise.
277 * config/alpha/t-linux: Remove file.
278 * config/sparc/t-linux: Remove file.
279 * config/m68k/t-linux (LIBGCC1, CROSS_LIBGCC1): Remove.
280 * config/m68k/t-linux-aout (LIBGCC1, CROSS_LIBGCC1): Likewise.
281 * configure.in (alpha*-*-linux-gnulibc1*): Use t-linux instead of alpha/t-linux
282 for tmake_file.
283 (alpha*-*-linux-gnu*): Likewise.
284 (sparc-*-linux-gnulibc1*): Use t-linux instead of sparc/t-linux for tmake_file.
285 (sparc-*-linux-gnu*): Likewise.
84bc3b4f
RL
286
287Mon Feb 23 10:47:39 1998 Robert Lipe <robertl@dgii.com>
288 * collect2.c (ldd_file_name): Bracket declaration with same
289 manifests as use.
290 (full_real_ld_suffix): Deleted. Variable was calloced and
291 written into, but never read.
292
9e89df50
MS
2931998-02-23 Mike Stump <mrs@wrs.com>
294
295 * configure.in: Add support for i386-wrs-vxworks configuration.
296 * i386/vxi386.h: New file.
297
1160f9ec
BH
298Sun Feb 22 21:16:51 1998 Bruno Haible <bruno@linuix.mathematik.uni-karlsruhe.de>
299
300 * tree.c (contains_placeholder_p): Ensure function always returns
301 a value.
302 * sparc.md (movdi_sp64_insn): Add default case in enumeration switch.
303 (movsf_const_insn, movdf_const_insn, movtf_const_insn): Likewise.
304
328da75c
JL
305Sun Feb 22 20:58:19 1998 Jeffrey A Law (law@cygnus.com)
306
307 * vms.h (SELECT_SECTION): Use TREE_CODE_CLASS correctly.
308
deabc777
PE
3091998-02-22 Paul Eggert <eggert@twinsun.com>
310
311 * config/sparc/sol2-sld.h (LINKER_DOES_NOT_WORK_WITH_DWARF2):
312 Define this new symbol.
313 (DWARF2_DEBUGGING_INFO, DWARF_DEBUGGING_INFO): Do not #undef.
314 * toplev.c (main): Do not default to DWARF2_DEBUG with -ggdb if
315 LINKER_DOES_NOT_WORK_WITH_DWARF2 is defined.
316
0e84e8fb
JW
317Sun Feb 22 20:07:32 1998 Jim Wilson <wilson@cygnus.com>
318
319 * iris5.h (DWARF2_UNWIND_INFO): Define to 0.
320 * iris5gas.h (DWARF2_UNWIND_INFO): Define to 1.
321
9c37957a
RH
322Sun Feb 22 15:29:48 1998 Richard Henderson <rth@cygnus.com>
323
324 * objc/Object.m (-error): Call objc_verror with our va_list.
325
e3c49f52
DE
326Sun Feb 22 09:45:39 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
327
328 * collect2.c (scan_prog_file): Completely cover uses of variable
329 `exports' with macro COLLECT_EXPORT_LIST.
330
331Sat Feb 21 20:36:23 1998 Jeff Law (law@cygnus.com)
d935d60e
JL
332
333 * version.c: Bump for snapshot.
334
3c674857
MM
335Fri Feb 20 16:22:13 1998 Michael Meissner <meissner@cygnus.com>
336
337 * sched.c (schedule_block): Remove code to get arguments from hard
338 regs into pseudos early. Same as Aug 25, 1997 change to
339 haifa-sched.c.
340
c2d731c4
JM
3411998-02-20 Jason Merrill <jason@yorick.cygnus.com>
342
343 * collect2.c (main): Still handle !do_collecting for non-AIX targets.
344
9766dbcf
MT
345Fri Feb 20 10:39:47 1998 Michael Tiemann <michael@impact.tiemann.org>
346
347 * ginclude/va-mips.h (va_arg): Remove trailing space after '\'
348 continuation character (line 243).
349
01a7aaea
AS
350Fri Feb 20 12:10:26 1998 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
351
352 * genrecog.c (main): Remove duplicated sentence in emitted comment.
353
db126753
DE
354Thu Feb 19 22:36:53 1998 Andrey Slepuhin <pooh@msu.net>
355 David Edelsohn <edelsohn@mhpcc.edu>
356
357 * collect2.c (XCOFF_SCAN_LIBS): Remove.
358 (export_flag): New variable.
359 (export_file): #ifdef COLLECT_EXPORT_LIST.
360 (import_file, exports, imports, undefined): New variables.
361 (libs, cmdline_lib_dirs, libpath_lib_dirs, libpath, libexts): Same.
362 (dump_list, dump_prefix_list, is_in_list): New functions.
363 (write_export_file): $ifdef COLLECT_EXPORT_LIST.
364 (write_import_file, resolve_lib_name): New functions.
365 (use_import_list, ignore_library): Same.
366 (collect_exit): maybe_unlink import_file and #ifdef.
367 (handler): Same.
368 (main): New variable importf, #ifdef exportf. Move parsing of
369 -shared before general argument parsing. Resolve AIX library
370 paths and import libgcc.a symbols. Treat .so shared libraries the
371 same as objects and .a libraries. Create alias for object_lst and
372 increment it instead of original pointer. Scan AIX libraries as
373 objects earlier instead of using scan_libraries. Perform AIX
374 tlink later to resolve templates instead of forking ld.
375 (GCC_OK_SYMBOL): Ensure symbol not in undef section.
376 (GCC_UNDEF_SYMBOL): New macro.
377 (scan_prog_file): Loop for members of AIX libraries. Handle
378 export/import of ctors/dtors.
379 (aix_std_libs): New variable.
380 (scan_libraries, XCOFF): Delete.
381
382Thu Feb 19 22:36:52 1998 Robert Lipe <robertl@dgii.com>
383
384 * collect2.c (full_real_ld_suffix): #ifdef CROSS_COMPILE.
385
e642002f
MS
3861998-02-19 Mike Stump <mrs@wrs.com>
387
388 * Makefile.in: Use $tooldir for sys-include to match toplevel
389 configure.
390
aff48bca
JL
391Thu Feb 19 01:32:37 1998 Jeffrey A Law (law@cygnus.com)
392 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
393
394 * emit-rtl.c (gen_lowpart_common): Suppress last change if __complex__.
395
396 * emit-rtl.c (hard-reg-set.h): Include.
397 (get_lowpart_common): Don't make new REG for hard reg in a
398 class that cannot change size.
399 * Makefile.in (emit-rtl.o): Depend on hard-reg-set.h.
400
401 * combine.c: Revert previous patch.
402
0a9bdce3
PE
4031998-02-19 Paul Eggert <eggert@twinsun.com>
404
405 * config/sparc/sol2-sld.h: New file.
406 * configure.in (sparc-*-solaris2*): Use it when using the
407 system linker.
408
3875b31d
JL
409Thu Feb 19 00:46:59 1998 Jeffrey A Law (law@cygnus.com)
410
411 * loop.c (force_movables): Fix typo.
412
bb5fa67f
MH
413Thu Feb 19 08:26:30 1998 Manfred Hollstein <manfred@s-direktnet.de>
414
415 * m88k.h: Change file pattern to match reality.
416
7f83c0e7
JL
417Wed Feb 18 23:19:52 1998 Jeffrey A Law (law@cygnus.com)
418
419 * varasm.c (output_constant_pool): Fix dumb thinko in last
420 change.
dffc0da4
JL
421
422 * pa.h (ASM_OUTPUT_FUNCTION_PREFIX): Correctly translate from
423 a function name to a section name.
424
d9525bec
BK
4251998-02-18 Doug Evans <devans@cygnus.com>
426
427 * tree.h (merge_machine_{type,decl}_attributes): Declare.
428 (split_specs_attrs, strip_attrs): Add prototypes.
429 * tree.c (merge_machine_{type,decl}_attributes): New functions.
430 * c-decl.c (duplicate_decls): Call merge_machine_decl_attributes.
431 Update olddecl's attributes too.
432 * c-common.c (strip_attrs): New function.
433 * c-typeck.c (common_type): Call merge_machine_type_attributes.
434 * varasm.c (make_function_rtl): New target macro REDO_SECTION_INFO_P.
435 (make_decl_rtl): Likewise.
436
4371998-02-18 Jim Wilson <wilson@cygnus.com>
438
439 * c-decl.c (shadow_tag_warned): Call split_specs_attrs.
440
f9a366ac
JL
441Wed Feb 18 09:09:50 1998 Jeffrey A Law (law@cygnus.com)
442
443 Remove this change until we can fix it correctly.
444 * collect2.c: Bracket declaration of 'exportf' and
445 'full_real_ld_suffix'.
446
206ae7cf
BS
447Wed Feb 18 08:44:25 1998 Bernd Schmidt <crux@ohara.Informatik.RWTH-Aachen.DE>
448
449 * Makefile.in (STAGESTUFF): Add genrtl.c, genrtl.h and gengenrtl.
450
0a7ed33c
BS
451Tue Feb 17 23:30:20 1998 Bernd Schmidt <crux@ohara.Informatik.RWTH-Aachen.DE>
452
453 * c-common.c (c_expand_start_cond, c_expand_end_cond,
454 c_expand_start_else): Don't warn about non-ambiguous else even if
455 braces are missing.
456
68c9728a 457Tue Feb 17 23:56:50 1998 Robert Lipe <robertl@dgii.com>
0a7ed33c 458
68c9728a
RL
459 * sco5.h (ASM_OUTPUT_DOUBLE, ASM_OUTPUT_FLOAT,
460 ASM_OUTPUT_LONG_DOUBLE): Delete. Use the ones from i386.h
461 instead.
462
15941d29
RH
463Tue Feb 17 22:56:14 1998 Richard Henderson <rth@cygnus.com>
464
465 * combine.c (simplify_rtx): Obey CLASS_CANNOT_CHANGE_SIZE when
466 simplifying a subreg of a hard reg.
467 (expand_compound_operation): Likewise.
468 (force_to_mode): Likewise.
469
5835e573
KG
470Tue Feb 17 22:37:22 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
471
2fde567e
KG
472 * fold-const.c: Include "system.h" to get stdlib.h and stdio.h.
473 (lshift_double): Add parentheses around + or - inside shift.
474 (rshift_double): Likewise.
475 (size_int_wide): Explicitly set type of `bit_p' to `int'.
476
477 * Makefile.in (fold-const.o): Depend on system.h.
478
8e85ff2c
KG
479 * Makefile.in (gcc.o): Depend on system.h, in accordance with last
480 change to gcc.c.
481
5835e573
KG
482 * haifa-sched.c: Include "system.h" to get <stdlib.h> and <stdio.h>.
483 (BLOCKAGE_RANGE): Add parentheses around arithmetic in operand of |.
484 (sched_note_set): Remove unused parameter `b', all callers changed.
485 (schedule_block): Likewise for `rgn'.
486 (split_hard_reg_notes): Likewise for `orig_insn'.
487 (check_live): Likewise for `trg'.
488 (update_live): Likewise.
489 (check_live_1): Explcitly declare variable `i' as int.
490 (update_live_1): Likewise.
491 (insn_issue_delay): Remove unused variable `link'.
492 (sched_analyze_2): Add default case in enumeration switch.
493 (schedule_insns): Remove unused variable `i'.
494
495 * Makefile.in ($(SCHED_PREFIX)sched.o): Depend on system.h.
496
b1a0c816
JL
497Tue Feb 17 22:31:04 1998 Jeffrey A Law (law@cygnus.com)
498
499 * loop.c (rtx_equal_for_loop_p): Add some braces to disambiguate
500 a dangling else clause.
501
365ca18b
GK
502Tue Feb 17 21:28:12 1998 Gavin Koch <gavin@cygnus.com>
503
504 * mips/mips.h (CAN_ELIMINATE): Don't eliminate the frame
505 pointer for the stack pointer in MIPS16 and 64BIT.
506
feb60352
R
507Tue Feb 17 21:17:30 1997 J"orn Rennecke <amylaar@cygnus.co.uk>
508
509 * rtl.h (force_line_numbers, restore_line_number_status): Declare.
510 * emit-rtl.c (force_line_numbers, restore_line_number_status):
511 New functions.
512 * stmt.c (struct nesting): Replace seenlabel with line_number_status.
513 (expand_start_case): Adjust to this change.
514 (check_seenlabel): New function.
515 (pushcase, pushcase_range, expand_endcase): Use it.
516
93f83bd5
R
517Tue Feb 17 10:14:32 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
518
519 * i386.md (adddi3): Add =!r,0,0,X alternative.
520
b9af8fb0
DE
521Mon Feb 16 16:13:43 1998 David Edelsohn <edelsohn@mhpcc.edu>
522
523 * rs6000.h (MY_ISCOFF): Add numeric value of U803XTOCMAGIC.
524 * x-aix31 (INSTALL): Delete.
525
a4dee8a5
GK
526Mon Feb 16 09:24:32 1998 Gavin Koch <gavin@cygnus.com>
527
528 * mips/mips.c (mips_expand_epilogue): Update tsize_rtx if
529 tsize changes to something other than zero.
530
8898f8a1
GK
531Mon Feb 16 09:11:48 1998 Gavin Koch <gavin@cygnus.com>
532
533 * ginclude/va-mips.h: Replace casts of pointers to int with
534 casts of pointers to __PTRDIFF_TYPE__.
535
9ba7a303
JC
536Mon Feb 16 08:17:14 1998 John Carr <jfc@mit.edu>
537
538 * loop.c (strength_reduce, record_biv, record_giv): Use
539 HOST_WIDE_INT_PRINT_DEC to print CONST_INT values.
540
b7f6588d
JM
5411998-02-16 Jason Merrill <jason@yorick.cygnus.com>
542
543 * tree.c (first_rtl_op): New fn.
544 (unsave_expr_now): Use it.
545 * print-tree.c (print_node): Likewise.
546 * tree.c (has_cleanups): New fn.
547 * fold-const.c (fold, case CLEANUP_POINT_EXPR): Use it. Be more
548 conservative about pushing the cleanup point down.
549 * tree.h: Declare them.
550
8e7336f8
JL
551Sun Feb 15 23:28:44 1998 Jeffrey A Law (law@cygnus.com)
552
553 * toplev.c (flag_schedule_reverse_before_reload): Delete variable.
554 (flag_schedule_reverse_after_reload): Likewise.
555 (f_options): Remove reverse scheduling support.
556 * flags.h (flag_schedule_reverse_before_reload): Delete declaration.
557 (flag_schedule_reverse_after_reload): Likewise.
558 * haifa-sched.c (rank_for_schedule): Remove support for reverse
559 scheduling.
560
79e11844
KG
561Sun Feb 15 21:33:55 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
562
17248a6b
KG
563 * gcc.c: Get system includes, prototypes and macros via "system.h"
564 instead of doing it manually. Change all calls of the ctype
565 macros to custom versions defined in "system.h".
566
79e11844
KG
567 * system.h: Fix return type of bcmp prototype from `void' to `int'.
568 Make bcopy, bcmp and bzero prototypes explicitly `extern'.
569 Add a prototype for getenv.
570
c9b4de06
JW
571Sun Feb 15 17:05:41 1998 Jim Wilson <wilson@cygnus.com>
572
573 * mips/mips.h (INITIAL_ELIMINATION_OFFSET): Readd Jun 6 change.
574
9f8f10de
JC
575Sun Feb 15 15:23:15 1998 John Carr <jfc@mit.edu>
576
577 * alias.c: Include <stdlib.h> and <string.h>.
578 (init_alias_analysis): Pass NULL_RTX instead of 0 to record_set.
579
d757d141
JL
580Sat Feb 14 11:23:09 PST 1998 Jeff Law (law@cygnus.com)
581
582 * version.c: Bump for snapshot.
583
7a0a1f09
RE
584Sat Feb 14 05:08:21 1998 Richard Earnshaw (rearnsha@arm.com)
585
586 * arm.md (movsfcc): Also validate operands[3] when compiling hard
587 float.
588 (movdfcc): Only accept fpu_add_operand for operands[3].
589
99e90438
RE
590 * arm/t-semi (STMP_FIXPROTO): Define to nothing.
591 * arm/t-semiaof (STMP_FIXPROTO): Likewise.
592
29a82058
JL
593Sat Feb 14 02:02:41 1998 Jeffrey A Law (law@cygnus.com)
594
595 * varasm.c (output_constant_pool): Bring back 'done' label inside
596 an appropriate #ifdef.
597
598 * bitmap.c (bitmap_element_allocate): Wrap variable 'i' in an
599 appropriate #ifdef.
600 (bitmap_copy, bitmap_operation): Likewise.
601 * combine.c (combinable_i3pat): Similarly for 'src'.
602 * function.c (fixup_var_refs_1): Similarly for 'outerdest'.
603 (locate_and_pad_parm): Similarly for 'reg_parm_stack_space'.
604 * regclass.c (copy_cost): Similarly for 'secondary_class'.
605 * reload.c (make_memloc): Simliarly for 'i'.
606 (find_reloads_address_1): Similarly for 'link'.
607 * reload1.c (reload): Similarly for 'previous_frame_pointer_needed'.
608 (emit_reload_insns): Similarly for 'second_reloadreg'.
609 * unroll.c (iteration_info): Similarly for 'v'.
610
611 * caller-save.c (insert_save_restore): Remove unused variable 'i'.
612 * calls.c (expand_call): Similarly for 'i'.
613 (emit_library_call, emit_library_call_value): Similarly for 'mode'.
614 * fold-const.c (strip_compund_expr): Similarly for 'type'.
615 * function.c (fixup_var_refs_1): Similarly for 'width'.
616 (fixup_memory_subreg): Similarly for 'saved'.
617 (locate_and_pad_parm): Similarly for 'boundary_in_bytes.'
618 (setjmp_protect): Similarly for 'sub'.
619 (thread_prologue_and_epilogue_insns): Similarly for 'insn'.
620 * loop.c (record_giv): Similarly for 'p'.
621 (combine_givs): Similarly for 'temp_iv'.
622 (indirect_jump_in_function_p): Similarly for 'is_indirect_jump'.
623 * recog.c (validate_replace_rtx_1): Similarly for 'width'.
624 * tree.c (get_set_constructor_bytes): Similarly for 'vals'.
625 * unroll.c (unroll_loop): Similarly for 'copy'.
626 (iteration_info): Similarly for 'b'.
627 * varasm.c (assemble_string): Similarly for 'i'.
628 * i386.h (LEGITIMIZE_ADDRESS): Similarly for 'orig_x'.
629
e3e7774e
JW
630Fri Feb 13 14:38:34 1998 Jim Wilson <wilson@cygnus.com>
631
632 * dwarf2out.c (decl_scope_node): New type.
633 (decl_scope_table): Change type to use it.
634 (decl_scope_table_allocated, decl_scope_depth): Change type to int.
635 (push_decl_scope): Use new type. New locals containing_scope, i.
636 Add code to handle setting previous field.
637 (scope_die_for): Change type of local i to int. Add code to use
638 previous field.
639 (dwarf2out_init): Use new type.
640
442f0a30
JM
6411998-02-13 Jason Merrill <jason@yorick.cygnus.com>
642
643 * except.c (emit_throw): Lose throw_used.
644
fcdc0d6e
R
645Fri Feb 13 20:36:05 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
646
647 * sched.c (update_flow_info, REG_WAS_0): Ignore if setting insn
648 was deleted.
649 * haifa-sched.c (update_flow_info, REG_WAS_0): Likewise.
650
b7673cdb
JL
651Fri Feb 13 12:18:40 1998 Jeffrey A Law (law@cygnus.com)
652
653 * genextract.c (main): Fix typo.
654
9e4767ca 655Fri Feb 13 08:41:49 1998 Robert Lipe <robertl@dgii.com>
69d4ca36
RL
656
657 * c-lang.c (finish_file): Bracket declaration of static_ctors,
658 static_dtors.
659
660 * calls.c (expand_call): Bracket declaration of 'rtx_before_call',
661 'old_stack_arg_under_construction'
662 (emit_library_call): Bracket declaration of 'upper_bound',
663 'lower_bound', 'i', 'reg_parm_stack_space'
664 (emit_library_call_value): Likewise.
665 (store_one_arg):
666
667 * collect2.c: include <unistd.h> when appropriate.
668 Bracket declaration of 'exportf' and 'full_real_ld_suffix'.
669
670 * emit-rtl.c (prev_cc0_setter): Remove unused variable 'link'.
671
672 * explow.c (plus_constant_for_output_wide): Remove unused variable
673 'code'.
674 (memory_address): Remove unused variable 'orig_x'.
675
676 * genattrtab.c (make_canonical): Remove unreferenced label 'cond:'.
677 (write_const_num_delay_slots): Remove unused variable 'i'.
678
679 * genopinit.c (main): Remove unused variables 'dummy', 'insn_ptr'.
680 (gen_insn): Remove unused variable 'obstack_ptr'.
681
682 * libgcc2.c (__bb_exit_func): Remove unused variables 'ret',
683 'j', 'tmp', 'i'.
684 (__bb_exit_trace_func): Remove unused variable 'e'.
685
686 * optabs.c (expand_binop): remove unused variables 'lhs', 'rhs',
687 'funexp'.
688 (expand_unop): Remove unused variable 'funexp'.
689 (expand_complex_abs): Remove unused variable 'funexp'.
690 (init_optabs): Bracket declaration of 'j'.
691 (init_complex_libfuncs): Deleted. Dead static function.
692
693 * profile.c (branch_prob): Remove unused variables 'insn', 'dest'.
694
695 * reg-stack.c: Fix typo in proto for 'get_asm_operand_lengths'
696 (reg_to_stack): 'initialized', 'before_function_beg'
697 explictly type as ints instead of defaulting.
698 (emit_swap_insn): Remove unused variable 'i2'.
699 (compare_for_stack_reg): Remove unused variable 'src_note'.
700
701 * rtlanal.c (computed_jump_p): Remove unused variable 'computed_jump'.
702
703 * sched.c (actual_hazard): Bracket declaration of 'this_cost'.
704
705 * stmt.c (add_case_node): Add parens for assignment used as truth.
706 (all_cases_count): Remove unused variable 'count_high'.
707 (mark_seen_cases): Remove unused variable 'i'.
708 (check_for_full_enumeration_handling): Remove unused variable 't'.
709 Bracket declaration of 'all_values', 'l'.
710
711 * tlink.c: Include <stdlib.h>, <unistd.h>, <string.h>/<strings.h>.
712
713 * varasm.c (assemble_string): Remove unused variable 'i'.
714 (immed_double_const): Remove unused variable 'in_current_obstack'.
715 (immed_real_const_1): Likewise.
716 (output_constant_pool): Remove unreferenced label 'done'.
717 (output_constant): Remove unused variable 'x'.
718
719 * i386/i386.h (ENCODE_SECTION_INFO): TREE_PUBLIC is an int, not
720 a string.
721
722 * i386/sco5.h (ASM_OUTPUT_ASCII): Add parens for assignment used
723 as truth.
724
e3258cef
R
725Fri Feb 13 10:21:41 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
726
727 * combine.c (can_combine_p): Handle USEs in PARALLELs.
728
1398405b
L
729Fri Feb 13 01:34:14 1998 H.J. Lu (hjl@gnu.org)
730
731 * config/linux.h (LIB_SPEC): Add -lc for -shared if
732 USE_GNULIBC_1 is not defined.
733 * config/sparc/linux.h; Ditto.
734
735 * config/sparc/linux64.h (LIB_SPEC): Add -lc for -shared.
736
737 * config/alpha/linux-elf.h (LIB_SPEC): New. Defined if
738 USE_GNULIBC_1 is not defined.
739
03453a9f
FS
740Fri Feb 13 01:29:29 1998 Franz Sirl <franz.sirl-kernel@lauterbach.com>
741
742 * rs6000/sysv4.h (ENDFILE_SPEC): add missing %(endfile_linux)
743 for -mcall-linux
744
aca69483
KG
745Fri Feb 13 01:23:46 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
746
747 * system.h: New file to get common systems includes and various
748 definitions and declarations based on autoconf macros.
749
5e0e0f03
JL
750Fri Feb 13 00:46:19 1998 Jeffrey A Law (law@cygnus.com)
751
752 * cccp.c (new_include_prefix): Correctly handle -I./.
753
89e9f3a8
MM
754Thu Feb 12 20:16:35 1998 Michael Meissner <meissner@cygnus.com>
755
756 * rs6000.md: Replace gen_rtx (CONST_INT,...) with GEN_INT.
757
8bd6ecc2 758Thu Feb 12 16:45:17 1998 Robert Lipe <robertl@dgii.com>
89e9f3a8 759
8bd6ecc2
RL
760 * expr.c (expand_assignment): Correct typo exposed by -Wall.
761 offset should have been a truth value, not an assignment.
762
614bb5d4
JL
763Thu Feb 12 15:26:50 1998 Jeffrey A Law (law@cygnus.com)
764
765 * cse.c (delete_dead_from_cse): If a libcall produces a constant
766 result and that result can be substituted into SET_SRC of the
767 insn with the REG_RETVAL note, then perform the substitution
768 and delete the libcall.
769
00bb4b62
GK
770Thu Feb 12 14:04:09 1998 Gavin Koch <gavin@cygnus.com>
771
772 * mips.md (trucndihi2,truncdiqi2): Change these to support
773 mips16.
774
3871c609
GK
775Thu Feb 12 11:34:55 1998 Gavin Koch <gavin@cygnus.com>
776
777 * mips/mips.c (movdi_operand): Direct referances to symbols
778 that arn't mips16 consts in mips16 mode arn't valid operands.
779
780 * mips/mips.c (mips_move_2words): Add gprel handling.
781
2e72fa6a
GK
782Thu Feb 12 11:18:37 1998 Gavin Koch <gavin@cygnus.com>
783
784 * mips.md (extendsidi2): Allow extension to/from a non-mips16
785 register.
786
a4910340
ML
787Thu Feb 12 00:04:16 1998 Marc Lehmann <pcg@goof.com>
788
789 * i386.c: Conditionally include <stdlib.h>, <string.h>, and
790 <strings.h>.
791
cc1e5b9a
KG
792Wed Feb 11 11:43:34 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
793
794 * Makefile.in (WARN_CFLAGS): New variable.
795 (bootstrap, bootstrap2, bootstrap3, bootstrap4): Use it.
796
53949fac
MM
7971998-02-11 Mark Mitchell <mmitchell@usa.net>
798
799 * config/i386/i386.c (reg_mentioned_in_mem): Don't abort when
800 falling through default case in switch.
801 (i386_aligned_p): Likewise.
802
9504c31c
LI
803Wed Feb 11 12:59:56 1998 Lee Iverson <leei@Canada.AI.SRI.COM>
804
805 * mips/mips.h (mips_abi_string): Correct typo in comment.
806
7e4e0956
GK
807Wed Feb 11 08:29:56 1998 Gavin Koch <gavin@cygnus.com>
808
809 * mips/mips.md (movdi): These PLUS's need to be Pmode.
810
8fb3ae15
KG
811Wed Feb 11 01:47:54 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
812
813 * Makefile.in (dwarf2out.o, emit-rtl.o, jump.o, cse.o, unroll.o,
814 reorg.o, regmove.o): Depend on insn-codes.h, it gets included
815 indirectly via expr.h.
816
a2d53b28
RH
817Wed Feb 11 01:44:13 1998 Richard Henderson <rth@cygnus.com>
818
819 * stor-layout.c (layout_type): Do upper - lower in the native type,
820 so as to properly handle negative indices.
821
381127e8
RL
822Wed Feb 11 01:35:55 1998 Robert Lipe <robertl@dgii.com>
823
824 * except.c (start_dynamic_cleanup): Remove unused variable 'dhc'.
825 (expand_eh_region_start_tree): Remove unused variable 'note'.
826 (exception_optimize): Remove unused variable 'regions'.
827 (expand_builtin_eh_stub): Remove unused variable 'temp'.
828 (copy_eh_entry): Deleted. Dead function.
829
830 * expr.c (move_block_to_reg) Bracket declaration of 'pat' and
831 'last' with same #if HAVE_load_multiple as use of it.
832 (move_block_from_reg): Likewise.
833 (emit_move_insn_1): Remove unused variable 'insns'.
834 (store_constructor): Bracket declaration of startb, endb with
835 #if TARGET_MEMFUNCTIONS. Remove unused variables 'set_word_size'
836 'target', and 'xtarget'.
837 (expand_builtin_setjmp): Remove unused variables 'op0',
838 'next_arg_reg', 'old_inhibit_defer_pop'.
839 (expand_builtin): Remove unused variable 'offset'.
840 (do_store_flag): Remove unused variables 'pattern', 'jump_pat'.
841 (emit_queue): Add parens for assignment used as conditional.
842 (expand_expr): case TARGET_EXPR: Remove unused variable 'temp'.
843
00c79232
ML
844Wed Feb 11 01:30:49 1998 Marc Lehmann <pcg@goof.com>
845
846 * i386.c: Added include for recog.h.
847 (override_options): Removed unused variable p. Initialized regno to
848 avoid warning.
849 (order_regs_for_local_alloc): Initialized regno to avoid warning.
850 (legitimize_address): Likewise for 'other'.
851 (i386_aligned_reg_p): Added default case with abort ().
852 (print_operand): Likewise.
853 (reg_mentioned_in_mem): Likewise.
854 (ix86_expand_binary_operator): Removed unused variables i & insn.
855 (ix86_expand_unary_operator): Removed unused variable insn.
856 (output_fp_cc0_set): Removed unused variable unordered_label.
857
f64cecad
JC
858Wed Feb 11 01:23:03 1998 John F. Carr <jfc@mit.edu>
859
860 * i386.c, i386.h, i386.md: Change gen_rtx (X, ...) to gen_rtx_X (...).
861 Use GEN_INT instead of gen_rtx (CONST_INT). Make printf arguments
862 and format string match.
863
0200b5ed
JL
864Wed Feb 11 01:17:39 1998 Jeffrey A Law (law@cygnus.com)
865
866 * flow.c (life_analysis): Do not conside the stack pointer live at
867 the end of a function if the fucntio ncalls alloca.
868 (mark_used_regs): Similarly.
869
74ccf2c2
JC
8701998-02-10 John F Carr <jfc@mit.edu>
871
872 * config/sparc/sparc.md (movdi_v8plus): Output stx on alternative
873 1, fzero on alternative 8.
874
60e2d0ca
RK
875Tue Feb 10 09:02:19 1998 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
876
877 * rs6000.c (setup_incoming_varargs): Always set rs6000_sysv_varargs_p.
878
2fd0af53
R
879Tue Feb 10 03:35:43 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
880
881 * reload.c (find_reloads_toplev): Handle arbitrary non-paradoxical
882 SUBREGs of CONST_INTs.
883
a96c3544
JC
884Mon Feb 9 17:52:36 1998 John Carr <jfc@mit.edu>
885
886 * mips.c (print_operand, function_prologue): Make printf format
887 match argument type.
888
2514cbc9
KG
889Mon Feb 9 02:37:25 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
890
891 * alpha.c (alpha_return_addr): Remove unused variable `first'.
892 (alpha_ra_ever_killed): Remove unused variables `ra' and `i'.
893 (output_epilog): Remove unused variable `frame_size_from_reg_save'.
894
72b0c616
RK
895Sun Feb 8 14:56:03 1998 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
896
897 * loop.c (strength_reduce): When placing increment for auto-inc
898 case, do comparison in loop order.
899
2e0dd623
JC
900Sun Feb 8 13:21:38 1998 John Carr <jfc@mit.edu>
901
902 * bitmap.c (bitmap_debug_file): HOST_PTR_PRINTF converts a pointer,
903 not a HOST_WIDE_INT.
904
905 * calls.c (expand_call): Change test of expand_inline_function
906 return value to stop compiler warning.
907
908 * genattrtab.c (RTL_HASH): Cast pointer to long, not HOST_WIDE_INT.
909
7bf825d2
JW
910Sun Feb 8 12:04:24 1998 Jim Wilson (wilson@cygnus.com)
911 Jeff Law (law@cygnus.com)
912
913 * regmove.c: Fix various minor formatting problems.
914 (optimize_reg_copy_1): Stop search at CALL_INSNs if flag_exceptions
915 is true. Make end of basic block tests consistent through regmove.c.
916 (optimize_reg_copy_2, optimize_reg_copy_3): Likewise.
917 (fixup_match_2, fixup_match_1, regmove_optimize): Likewise.
918
7d4679ea
KG
919Sun Feb 8 01:49:18 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
920
921 * gansidecl.h: Check for a conflicting macro definition before
922 attempting to prototype bcopy, bcmp or bzero.
923
b515ab3d
JL
924Sun Feb 8 00:09:59 1998 Jeffrey A Law (law@cygnus.com)
925
060fbabf
JL
926 * expr.c (clear_pending_stack_adjust): Handle case where a function
927 calls alloca, but the user has specified -fomit-fframe-pointer.
928
b515ab3d
JL
929 * function.c (assign_parms): Fix typo in last change.
930
ccd043a9
RL
931Sat Feb 7 23:54:29 1998 Robert Lipe <robertl@dgii.com>
932
ededb2fc
RL
933 * gcc.c: Include <strings.h>/<string.h>, <stdlib.h>, <unistd.h>,
934 <fcntl.h>.
935 (free_path_suffix): Remove unreferenced static function.
936 (process_command): Remove unused variable temp.
937 (default_arg): Remove unused variable i.
938 (do_spec_1): Add parens for assignment used as truth value.
939 (main): Likewise.
940 (validate_all_switches): Likewise.
941 (main): Remove unused variables i, first_time>
942
ccd043a9
RL
943 * c-common.c: Include <stdlib.h> and <string.h>/<strings.h>.
944
945 * calls.c (expand_call): Remove unused variables funtree,
946 n_regs, and tmpmode.
947
948 * dbxout.c, except.c: Include <string.h>/<strings.h>.
949
950 * explow.c: (plus_constant_for_output_wide) Removed unused
951 variable all_constant.
952
953 * c-decl.c, genattr.c, genattrtab.c, getconfig.c, genemit.c
954 genextract.c, genflags.c, genopinit.c genoutput.c, genpeep.c,
955 genrecog.c, global.c, integrate.c , stupid.c : Include
956 <stdlib.h>.
957
958 * genextract.c: (walk_rtx) Remove unused variable link.
959
960 * genrecog.c: (concat) Remove unreferenced static function.
961
962 * prefix.c: Include <string.h>/<strings.h>, <stdlib.h>
963
964 * stmt.c: Include <stdlib.h>.
965 (expand_asm_operands): Remove unused variable val1.
966 (expand_return): Remove unused variable block.
967 (pushcase): Remove unused variables l and n.
968 (pushcaserange): Likewise.
969
970 * unroll.c (unroll_loop): Remove unused variable temp.
971
6553db01
GM
972Sat Feb 7 23:46:09 1998 Greg McGary <gkm@gnu.org>
973
974 * c-decl.c (pushdecl): Set DECL_ORIGINAL_TYPE once only.
975
8479e1db
KG
976Sat Feb 7 15:11:28 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
977
978 * aclocal.m4 (GCC_FUNC_PRINTF_PTR): New macro to test the printf
979 functions for whether they support the %p format specifier.
980 * acconfig.h (HOST_PTR_PRINTF): Insert stub for autoconf.
981 * configure.in (GCC_FUNC_PRINTF_PTR): Use it.
982 * configure, config.in: Rebuild.
983
bf9c83fe
JW
984Fri Feb 6 14:20:16 1998 Jim Wilson <wilson@cygnus.com>
985
986 * function.c (assign_parms): New variable named_arg, with value
987 depending on STRICT_ARGUMENT_NAMING. Use instead of ! last_named.
988
09e4daf5
GK
989Fri Feb 6 14:34:28 1998 Gavin Koch <gavin@cygnus.com>
990
991 * mips/t-r3900: New - same as t-ecoff but eliminate
992 multilibs: mips1 and mips3.
993 * configure.in (tx39*): Use new mips/t-r3900.
994 * configure: Rebuild.
995 * mips/r3900.h (MULTILIB_DEFAULTS): Eliminate mips1.
996
b57d9225
JM
9971998-02-06 Jason Merrill <jason@yorick.cygnus.com>
998
999 * dwarf2out.c: Add old_args_size.
1000 (dwarf2out_args_size): Use it.
1001 (dwarf2out_begin_prologue): Initialize it.
1002 (dwarf2out_stack_adjust): If !asynchronous_exceptions, save up
1003 pushed args until we see a call.
1004 * final.c (final_scan_insn): Hand CALL_INSNs off to the dwarf2 code
1005 before outputting them.
1006
10071998-02-06 Kriang Lerdsuwanakij <lerdsuwa@scf.usc.edu>
1008
1009 * cplus-dem.c (demangle_template_template_parm): New function.
1010 (demangle_template): Handle template template parameters.
1011
259620a8
MM
10121998-02-02 Mark Mitchell <mmitchell@usa.net>
1013
1014 * calls.c (expand_call): Don't confuse member functions named
1015 realloc, setjmp, and so forth with the standard library
1016 functions of the same names.
1017
78418280
JL
1018Thu Feb 5 21:59:49 1998 Jeffrey A Law (law@cygnus.com)
1019
1020 * stmt.c (expand_asm_operands): Correctly identify asm statements
94e5565f 1021 no output operands.
78418280 1022
6d819282
MK
1023Thu Feb 5 21:56:06 1998 Mumit Khan <khan@xraylith.wisc.edu>
1024
1025 * c-common.c (decl_attributes): Flag unrecognized attribute
1026 functions as warnings instead of as errors.
1027
aec98e42
ML
10281998-02-05 Marc Lehmann <pcg@goof.com>
1029
1030 * integrate.c (INTEGRATE_THRESHOLD): Inline only small functions
1031 when -Os is specified.
1032 * toplev.c (main): Don't disable flag_inline_functions anymore when
1033 -Os is in effect.
1034
1230327b
R
1035Fri Feb 6 00:27:36 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
1036
1037 * regmove.c: Update.
1038 * flags.h (flag_regmove): Declare.
1039 * rtl.h (optimize_reg_copy_1, optimize_reg_copy_2): Don't declare.
1040 * local-alloc.c (optimize_reg_copy_1, optimize_reg_copy_2):
1041 Moved into regmove; changed caller.
1042 * toplev.c (rest_of_compilation): Call regmove_optimize also for
1043 expensive_optimizations.
1044
1aca1e76
JL
1045Thu Feb 5 13:38:42 PST 1998 Jeff Law (law@cygnus.com)
1046
1047 * version.c: Bump for snapshot.
1048
2993ce4c
R
1049Thu Feb 5 01:45:19 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
1050 Undo this change (the problem was actually in reload):
1051 Fri Jan 23 23:28:59 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
1052
1053 * sh.md (movqi_i+1): New peephole.
1054
0340ed6c
JL
1055Tue Feb 3 01:11:12 1998 Jeffrey A Law (law@cygnus.com)
1056
e535528b
JL
1057 * jump.c (jump_optimize): Lose calls to modified_in_p they are
1058 not needed anymore due to changes elsewhere in jump.c.
1059
0340ed6c
JL
1060 * jump.c (jump_optimize): Fix first arg to modified_in_p in
1061 previous change.
1062
6fd1c67b
RH
1063Mon Feb 2 19:18:14 1998 Richard Henderson <rth@cygnus.com>
1064
1065 * expr.c (expand_builtin_setjmp): Accept two new arguments for
1066 the labels to branch to on first and subsequent executions. Don't
1067 play with __dummy. Rename `setjmp' insn to `builtin_setjmp_setup',
1068 and provide it with the jmp_buf. Use only one of
1069 `builtin_setjmp_receiver' or `nonlocal_goto_receiver',
1070 and provide the former with the target label.
1071 (expand_builtin) [BUILTIN_SETJMP]: Generate a label for use by setjmp.
1072 (expand_builtin) [BUILTIN_LONGJMP]: Split out to ...
1073 (expand_builtin_longjmp): ... here. Recognize a `builtin_longjmp'
1074 insn to replace all of the normal nonlocal_goto code. Don't play
1075 with __dummy. Correct arguments to nonlocal_goto.
1076 * expr.h (expand_builtin_setjmp): Update prototype.
1077 * except.c (start_dynamic_handler): When using builtin_setjmp,
1078 generate more accurate flow information.
1079
1080 * alpha.md (nonlocal_goto_receiver_osf): Delete.
1081 (nonlocal_goto_receiver_vms): Rename to nonlocal_goto_receiver.
1082 (builtin_longjmp, builtin_setjmp_receiver): New.
1083 * sparc.md (update_return): Disambiguate unspec number.
1084 (nonlocal_goto): Rearrange arguments to match caller in except.c.
1085 (builtin_setjmp_setup): Rename from setjmp. Match and ignore the
1086 jmp_buf operand.
1087 * mips.md (nonlocal_goto_receiver, builtin_setjmp_receiver): Remove.
1088 (builtin_setjmp_setup*, builtin_longjmp): New.
1089
95936d18
JC
1090Mon Feb 2 16:43:10 1998 John Carr <jfc@mit.edu>
1091
1092 * mips.md: Change gen_rtx (CONST_INT) to GEN_INT.
1093
c120c689
JW
1094Mon Feb 2 13:06:47 1998 Jim Wilson <wilson@cygnus.com>
1095
1096 * vmsconfig.com: Remove bytecode references.
1097
1a56b81f
AS
10981998-01-30 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1099
91193900
AS
1100 * dwarf2out.c (dwarf2out_frame_init): Undo last change, so that
1101 -fno-sjlj-exceptions works for a target that defines
1102 DWARF2_UNWIND_INFO as zero.
1103
1a56b81f
AS
1104 * regmove.c (fixup_match_1): Undo last change which removed some
1105 "useless" code, and add a comment explaining this.
1106
e4b3de45
GK
1107Mon Feb 2 10:47:14 1998 Gavin Koch (gavin@cygnus.com)
1108
1109 * mips.c (mips_expand_prologue): Change uses of TARGET_64BIT
1110 to TARGET_LONG64.
1111
2aabb736
KK
1112Mon Feb 2 10:38:41 1998 Klaus Kaempf <kkaempf@progis.de>
1113
1114 * makefile.vms: Remove bytecode references.
1115 Create genrtl files.
1116
7457661d
MH
1117Mon Feb 2 02:08:04 1998 Michael P. Hayes <michaelh@ongaonga.chch.cri.nz>
1118
1119 * jump.c (jump_optimize): Allow conditional loading of floating point
1120 constants and constants from memory. Reinstalled modified_in_p tests.
1121
460f50dc
R
1122Mon Feb 2 01:38:39 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
1123
1124 * loop.c (get_condition): Handle sign-extended constants.
1125
7a6df7f9
HPN
1126Mon Feb 2 01:22:46 1998 Hans-Peter Nilsson <hp@axis.se>
1127
db771a3c
HPN
1128 * expr.c (emit_push_insn): Add code to use movstrti if present.
1129
7a6df7f9
HPN
1130 * expr.c (emit_push_insn): Use same max-move-amount for movstrhi
1131 and movstrqi as in emit_block_move ().
1132
ceb6edf2
TM
1133Mon Feb 2 00:09:52 1998 Toon Moene <toon@moene.indiv.nluug.nl>
1134
1135 * config/m68k/x-next: Remove /NextDeveloper/Headers from
1136 the directories to fixinclude - /usr/include is a link
1137 to it and hence its contents are fixed by default.
1138
9cddeb31
FS
1139Sun Feb 1 14:15:33 1998 Franz Sirl <franz.sirl-kernel@lauterbach.com>
1140
1141 * rs6000/linux.h: define JUMP_TABLES_IN_TEXT_SECTION
1142
d2f05a0a
KK
1143Sun Feb 1 13:01:15 1998 Klaus Kaempf <kkaempf@progis.de>
1144
1145 * cccp.c (main): Predefine __VMS_VER on VMS.
1146
f8dac6eb
R
1147Sun Feb 1 12:39:53 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
1148
1149 * expr.c (get_inner_reference): Use sbitsizetype for type sizes.
1150 * fold-const.c (size_int): Replace with
1151 (size_int_wide).
1152 (make_bit_field_ref): Use bitsize_int for bit position.
1153 * stor-layout.c (sizetype): Delete.
1154 (sizetype_tab, sbitsizetype, ubitsizetype): Declare.
1155 (layout_record, layout_union, layout_type):
1156 Use bitsize_int for bit size.
1157 (set_sizetype): New function.
1158 (make_signed_type, make_unsigned_type): Use it.
1159 * c-decl.c (init_decl_processing): Likewise.
1160 * tree.h (size_int): Don't delcare, #define.
1161 (size_int_wide, sizetype_tab, sbitsize, ubitsize): Declare.
1162 (set_sizetype): Declare.
1163 (bitsize_int, size_int_2, BITS_PER_UNIT_LOG, sizetype, bitsizetype):
1164 Define.
1165 * c-typeck.c (c_sizeof, c_sizeof_nowarn, c_size_in_bytes):
1166 Convert result to sizetype.
1167 (really_start_incremental_init, push_init_level):
1168 Set type of constructor_bit_index to sbitsizetype.
1169 (push_init_level): Use unsigned arithmetic to determine padding.
1170 (output_init_element): Likewise.
1171
b577a8ff
JL
1172Sun Feb 1 03:32:07 1998 Jeffrey A Law (law@cygnus.com)
1173
1174 * combine.c (simplify_shift_const): Fix typo in last change.
1175
6e0ef100
JC
1176Sun Feb 1 02:50:46 1998 John Carr <jfc@mit.edu>
1177
1178 * combine.c (simplify_shift_const): (lshiftrt (truncate (lshiftrt)))
1179 is (truncate (lshiftrt)).
1180
4208b40f
RH
1181Sun Feb 1 01:06:53 1998 Richard Henderson <rth@cygnus.com>
1182
1183 * alpha.c (alpha_expand_unaligned_load): Use expand_binop properly.
1184 Make sure result winds up in TGT.
1185 (alpha_expand_unaligned_store): Use expand_binop properly. Allow
1186 src to be other than DImode.
1187 (alpha_expand_unaligned_load_words): Tidy. Take an offset argument.
1188 (alpha_expand_unaligned_store_words): Likewise.
1189 (alpha_expand_block_move): Use REGNO_POINTER_ALIGN. Restructure so
1190 that source and destination are separately optimized for alignment.
1191 (alpha_expand_block_clear): Use REGNO_POINTER_ALIGN.
1192
82301b88
JL
1193Sun Feb 1 01:55:09 1998 Jeffrey A Law (law@cygnus.com)
1194
1195 * mips.md (adddi3_internal_2): Be consistent with adddi3 expander
1196 with handling of -32768.
1197
a81fb89e
KG
1198Sun Feb 1 01:48:18 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1199
1200 * aclocal.m4 (GCC_NEED_DECLARATION): Modify macro to accept a
1201 shell variable argument instead of only hard coded functions.
1202 (GCC_NEED_DECLARATIONS): New macro to accept multiple functions.
1203
1204 * configure.in: Collapse multiple calls to AC_CHECK_FUNCS into one
1205 call. Collapse multiple calls to GCC_NEED_DECLARATION into one
1206 call to GCC_NEED_DECLARATIONS (new macro.) Check if we need
1207 declarations for bcopy, bcmp and bzero.
1208
1209 * acconfig.h: Add stubs for bcopy, bcmp and bzero declarations.
1210
1211 * gansidecl.h: If we have bcopy but don't declare it, then do so.
1212 Likewise for bcmp and bzero. Only define macros for bcopy, bcmp,
1213 bzero, index and rindex if they aren't already present.
1214
eed90b2c
JL
1215Sat Jan 31 11:26:58 1998 Jeffrey A Law (law@cygnus.com)
1216
1217 * toplev.c (close_dump_file): Wrap function prototype for
1218 argument "func" in PROTO.
1219 (dump_rtl): Likewise.
1220
bfd6bc60
JC
1221Fri Jan 30 22:30:39 1998 John Carr <jfc@mit.edu>
1222
1223 * sparc.c (sparc_override_options): Make v8plus and ultrasparc set
1224 MASK_V8PLUS.
1225 (output_function_epilogue): Omit epilogue if nothing drops through.
1226 (output_move_double): Supress int ldd usage on ultrasparc and v9.
1227 (registers_ok_for_ldd_peep): Likewise.
1228 (print_operand): Supress b,a on ultrasparc. Let Y accept a constant.
1229 (ultrasparc_adjust_cost): New function.
1230 (sparc_issue_rate): New function.
1231 * sparc.h (MASK_VIS, TARGET_VIS): New
1232 (MASK_V8PLUS, TARGET_V8PLUS): New.
1233 (TARGET_HARD_MUL32, TARGET_HARD_MUL): New.
1234 (TARGET_SWITCHES): Add vis and v8plus.
1235 (REG_CLASS_FROM_LETTER): Accept d and b for VIS.
1236 (REGISTER_MOVE_COST): FP<->INT move cost 12 for ultrasparc.
1237 (RTX_COSTS): Use TARGET_HARD_MUL
1238 (ADJUST_COST): Call ultrasparc_adjust_cost.
1239 (ISSUE_RATE): New.
1240 * sparc.md (attr type): Add sload, fpmove, fpcmove. Adjust users
1241 of load & fp appropritely.
1242 (supersparc function units): Adjust for Haifa.
1243 (ultrasparc function units): Likewise.
1244 (get_pc_via_rdpc): All v9, not just arch64.
1245 (movdi_v8plus, movdi_v8plus+1): New.
1246 (adddi3_sp32+1): New.
1247 (subdi3_sp32+1): New.
1248 (movsi_insn, movsf_const_insn, movdf_const_insn): Know VIS.
1249 (addsi3, subsi3, anddi3_sp32, andsi3, and_not_di_sp32): Likewise.
1250 (and_not_si, iordi3_sp32, iorsi3, or_not_di_sp32, or_not_si): Likewise.
1251 (xorsi3_sp32, xorsi3, xor_not_di_sp32, xor_not_si): Likewise.
1252 (one_cmpldi2_sp32, one_cmplsi2): Likewise.
1253 (ldd peepholes): Suppress for v9.
1254 (return_adddi): Kill redundant test. Arg1 may be arith_operand.
1255 (return_subsi): Revmove.
1256
4b526a9a
JC
1257Fri Jan 30 18:30:03 1998 John F Carr <jfc@mit.edu>
1258
1259 * mips.c (save_restore_insns): Set RTX_UNCHANGING_P in register
1260 save/restore MEM rtl.
1261
64a438d6
JL
1262Fri Jan 30 09:08:16 1998 Jeffrey A Law (law@cygnus.com)
1263
1264 * configure.in: Check for declaration of abort.
9c893359 1265 * acconfig.h: Corresponding changes.
64a438d6
JL
1266 * toplev.c: Use NEED_DECLARATION_ABORT to determine if abort should
1267 be declared.
1268
f266c82f
JL
1269Thu Jan 29 20:26:12 1998 Jeffrey A Law (law@cygnus.com)
1270
1271 * genattrtab.c (optimize): Define in case PRESERVE_DEATH_INFO_REGNO_P
1272 uses it.
1273
31fa4410
JL
1274Thu Jan 29 09:27:56 PST 1998 Jeff Law (law@cygnus.com)
1275
1276 * version.c: Bump for snapshot.
1277
0ee31ab1
JL
1278Thu Jan 29 10:12:27 1998 Jeffrey A Law (law@cygnus.com)
1279
1280 * configure.in: Check for atoq and atoll.
1281 * rtl.c (read_rtx): Use HAVE_ATOLL and HAVE_ATOQ to select the
1282 proper routine for converting ascii into long long values.
1283
eeeb91c5
KK
1284Thu Jan 29 01:28:14 1998 Klaus Kaempf <kkaempf@progis.de>
1285
9d21ee77
KK
1286 * cccp.c (SYS$SEARCH, SYS$PARSE): Write as upper-case.
1287
1288 * vmsconfig.com: Remove bytecode references.
1289
1290 * alpha/vms.h (PREFIX): Define.
1291
1292 * alpha/vms.h (ASM_OUTPUT_ALIGNED_COMMON): Remove.
1293
eeeb91c5
KK
1294 * am-alpha.h: Don't include alloca for OPEN_VMS.
1295
1296 * alpha/xm-vms.h (HAVE_CPP_STRINGIFY): Define.
1297
1298 * alpha/xm-vms.h (INCLUDE_DEFAULTS): Define.
1299 (GCC_INCLUDE_DIR): Define
1300
1301 * make-cc.com, make-cccp.com, make-cc1.com: Removed.
1302 * makefile.vms: New file.
1303
1304 * alpha/vms.h (CPP_PREDEFINES): Remove -Dalpha.
1305
1306 * alpha.c (output_prolog): Output '.name' directive
1307 for minimal traceback information.
1308
1309 * alpha.c (output_prolog): Don't prepend entry point symbols
1310 with '$' on OPEN_VMS.
1311
76d31c63
JL
1312Thu Jan 29 00:25:35 1998 David S. Miller <davem@tanya.rutgers.edu>
1313 Jeffrey A Law (law@cygnus.com)
1314
1315 * rtl.c (read_rtx): Use atol/atoq based upon disposition of
1316 HOST_WIDE_INT.
1317
1318 * genattrtab.c (write_test_expr): Use HOST_WIDE_INT_PRINT_DEC
1319 as needed.
1320 * genemit.c (gen_exp): Likewise.
1321 * genpeep.c (match_rtx): Likewise.
1322 * genrecog.c (write_tree_1): Likewise.
1323
1324 * c-lex.c (yyprint): Use proper format string based upon
1325 disposition of HOST_BITS_PER_WIDE_INT.
1326 (yylex): Put casts in right place for args to build_int_2.
1327
1328Thu Jan 29 00:24:29 1998 Jeffrey A Law (law@cygnus.com)
1329
1330 * combine.c: Fix typos in Jan27 changes.
1331
1b7555bd
OR
1332Thu Jan 29 00:07:49 1998 Ollivier Robert <roberto@keltia.freenix.fr>
1333
1334 * i386/freebsd.h (LIB_SPEC): Correctly handle -shared, -p and friends.
1335 (LINK_SPEC): Likewise.
1336 (STARTFILE_SPEC): Likewise.
1337
21ca87b8
MS
13381998-01-28 Mike Stump <mrs@wrs.com>
1339
1340 * rtlanal.c (dead_or_set_regno_p): Ignore REG_DEAD notes after
1341 reload completes.
1342 * genattrtab.c (reload_completed): Define.
1343
1344 * m32r.md, mips.md, mn10200.md, mn10300.md, pyr.md: Remove obsolete
1345 comments.
1346
d2c92f5a
R
1347Wed Jan 28 20:11:06 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
1348
1349 * reload.c (push_reload): If WORD_REGISTER_OPERATIONS, reload the
1350 SUBREG_REG if the word count is unchanged, also in the input reload
1351 case. Disable non-applicable sanity checks.
1352
90ad3ab7
JL
1353Wed Jan 28 20:08:26 1998 Jeffrey A Law (law@cygnus.com)
1354
1355 * config/t-svr4 (TARGET_LIBGCC2_CFLAGS): Add -fPIC.
1356
7fad712c
ILT
1357Wed Jan 28 20:04:43 1998 Ian Lance Taylor <ian@cygnus.com>
1358
1359 * i386/t-cygwin32 (LIMITS_H_TEST, LIBGCC2_INCLUDES): Define.
1360
2290e0ec
PB
1361Wed Jan 28 11:45:27 1998 Per Bothner <bothner@cygnus.com>
1362
1aea01ea
PB
1363 * dbxout.c (dbxout_type): For a RECORD_TYPE, check that TYPE_BINFO
1364 is a TREE_VEC before trying to use it for baseclasses.
1365 (Chill uses the same field for a different purpose.)
1366
2290e0ec
PB
1367 * toplev.c (strip_off_ending): Generalize to endings up to 5 chars.
1368
16980900
LT
1369Tue Jan 27 23:15:55 1998 Lassi A. Tuura <lat@iki.fi>
1370
4c46bad0 1371 * config.sub: More accurate determination of HP processor types.
16980900 1372
5e9defae
KG
1373Tue Jan 27 23:11:11 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1374
1375 * c-lex.c: Include <stdlib.h> and <string.h>/<strings.h>. Add
1376 prototype for `handle_sysv_pragma', and make it static. Add
1377 parentheses around assignment used as truth value.
1378
1379 * combine.c (combine_instructions): Protect variable `prev' with
1380 macro HAVE_cc0.
1381 (can_combine_p): Protect variable `link' with AUTO_INC_DEC.
1382 (extract_left_shift): Add parentheses around operand of &.
1383 (merge_outer_ops): Avoid an empty body in an else-statement.
1384 (gen_rtx_combine): Remove unused variable `i'.
1385
1386 * sparc/gmon-sol2.c: Include <fcntl.h>. Make return type of
1387 function monstartup `void'. Likewise for internal_mcount. Add
1388 `static void' prototype for moncontrol. Reconcile sprintf format
1389 vs. args.
1390
1391 * sparc/sparc.c: Include <stdlib.h> and <string.h>/<strings.h>.
1392 Make return type of function_arg_slotno explicitly `int'.
1393 (reg_unused_after): Add parentheses around assignment used as
1394 truth value.
1395 (save_regs): Add explicit braces to avoid ambiguous `else'.
1396 (function_arg_slotno): Add parentheses around && within ||.
1397 (function_arg_pass_by_reference): Likewise.
1398 (sparc_flat_output_function_prologue): Reconcile fprintf format
1399 vs. args.
1400
1401 * svr4.h (ASM_OUTPUT_LIMITED_STRING): Add parentheses around
1402 assignment used as truth value.
1403
1404 * cplus-dem.c: Include <stdlib.h>.
1405 (demangle_signature): Avoid an empty body in an else-statement.
1406 (do_type): Remove unused variable `lvl'.
1407
1408 * cppexp.c: Don't have <stdlib.h> depend on MULTIBYTE_CHARS.
1409 Include <string.h>/<strings.h>.
1410 (cpp_lex): Remove unused variable `namelen'.
1411 (cpp_lex): Explicitly declare `num_chars' as an int.
1412
1413 * cpplib.c: Avoid duplicate inclusion of <stdlib.h>, include
1414 <unistd.h> instead. Explicitly declare is_system_include
1415 returning int.
1416 (make_assertion): Remove unused variable `kt'.
1417 (cpp_expand_to_buffer): Hide variable `obuf'.
1418 (output_line_command): Remove unused variables, `line_end',
1419 `line_cmd_buf' and `len'.
1420 (macarg): Remove unused variable `arg_start'.
1421 (special_symbol): Remove unused variable `i'. Add parentheses
1422 around assignment used as truth value.
1423 (do_include): Remove unused variables `pcfname' and `retried',
1424 hide `pcf' and `pcfbuflimit'.
1425 (do_line): Remove unused variable `i'.
1426 (finclude): Hide variable `missing_newline'.
1427 (cpp_handle_options): Remove unused variable `j'.
1428 (read_token_list): Remove unused variable `eofp'.
1429 (cpp_error_with_line): Remove unused variable `i'.
1430 (cpp_warning_with_line): Likewise.
1431 (cpp_pedwarn_with_line): Explicitly declare `column' as int.
1432 (cpp_error_from_errno): Remove unused variable `i'.
1433
1434 * cse.c (invalidate): Add parentheses around assignment used as
1435 truth value.
1436 (find_best_addr): Move declaration of variable `our_cost' inside
1437 the conditional macro where its used.
1438 (fold_rtx): Avoid an empty body in an if-statement.
1439 (cse_insn): Wrap variables `this_insn_cc0_mode' and
1440 `this_insn_cc0' in macro HAVE_cc0.
1441
1442 * dwarf2out.c: Include <stdlib.h> and <string.h>/<string.h>.
1443 (ASM_OUTPUT_DWARF_DATA8): Reconcile format vs. args in fprintf's.
1444 (output_uleb128): Likewise.
1445 (output_sleb128): Likewise.
1446 (output_cfi): Likewise.
1447 (output_call_frame_info): Remove unused variables `j', `fde_size'
1448 and `fde_pad'.
1449 (comp_unit_has_inlines): Hide declaration as per rest of file.
1450 (size_of_line_prolog): Correct typo in prototype.
1451 (add_arange): Likewise.
1452 (output_aranges): Likewise.
1453 (add_name_and_src_coords_attributes): Likewise.
1454 (gen_array_type_die): Likewise.
1455 (gen_inlined_subroutine_die): Likewise.
1456 (equate_decl_number_to_die): Remove unused variable `i'.
1457 (print_die): Reconcile format vs. args in fprintf's.
1458 (print_dwarf_line_table): Likewise.
1459 (output_die): Likewise.
1460 (output_line_info): Likewise.
1461 (add_subscript_info): Avoid an empty body in an else-statement.
1462 (gen_subprogram_die): Remove unused variable `fp_loc'.
1463
1464 * dwarfout.c: Explicitly declare `next_pubname_number' as int.
1465 Protect `ordering_attribute' prototype with USE_ORDERING_ATTRIBUTE
1466 macro. Protect `src_coords_attribute' prototype with
1467 DWARF_DECL_COORDINATES macro. Hide `output_entry_point_die'
1468 prototype as in the rest of the file. Likewise for
1469 `output_pointer_type_die' and `output_reference_type_die'. Remove
1470 prototype for `type_of_for_scope'.
1471 (output_unsigned_leb128): Reconcile format vs. args in fprintf.
1472 (type_attribute): Add explicit braces to avoid ambiguous `else'.
1473
1474 * final.c: Include <stdlib.h> and <string.h>/<strings.h>.
1475 (shorten_branches): Protect declaration of tmp_length with
1476 SHORTEN_WITH_ADJUST_INSN_LENGTH and ADJUST_INSN_LENGTH macros.
1477 (profile_function): Protect declaration of `sval' and `cxt'
1478 variables with appropriate macros.
1479 (final_scan_insn): Likewise for `note' variable. Add explicit
1480 braces to avoid empty body in an if-statement.
1481 (output_asm_insn): Move variable `i' inside macro conditional
1482 where it is used. Add parentheses around assignment used as truth
1483 value.
1484 (asm_fprintf) Likewise, likewise.
1485
1486 * fix-header.c (main): Remove unused variable `done'. Protect
1487 declaration of `i' with FIXPROTO_IGNORE_LIST.
1488
1489 * pexecute.c: Include <unistd.h>. Prototype `my_strerror'.
1490
1491 * print-rtl.c (print_inline_rtx): Explicitly declare the parameter
1492 `ind'.
1493
1494 * profile.c: Include <string.h>/<strings.h>.
1495 (instrument_arcs): Remove unused variables `note', `inverted',
1496 `zero' and `neg_one'.
1497 (branch_prob): Avoid empty body in an if-statement.
1498
1499 * regclass.c: Include <stdlib.h>.
1500 (reg_alternate_class): Explicitly declare parameter `regno'.
1501
1502 * regmove.c (regmove_optimize): Remove unused variable `p'. Add
1503 parentheses around assignment used as truth value.
1504 (find_matches): Remove unused variables `output_operand' and
1505 `matching_operand'.
1506 (fixup_match_1): Remove statement with no effect: "if (0) ;".
1507
1508 * scan.c (sstring_append): Explicitly declare `count' as int.
1509 (scan_string): Explicitly declare parameter `init' as int.
1510
1511 * sched.c: Include <stdlib.h>.
1512 (BLOCKAGE_RANGE): Add parentheses around arithmetic in operand of |.
1513 (rank_for_schedule): Add parentheses around assignment used as
1514 truth value.
1515 (schedule_block): Likewise.
1516 (regno_use_in): Likewise.
1517 (schedule_insns): Remove unused variable `i'.
1518
1519 * toplev.c: Include <stdlib.h> and <string.h>/<strings.h>.
1520 (v_message_with_decl): Remove unused variable `n'.
1521 (botch): Explicitly declare parameter `s' as char *.
1522 (main): Add parentheses around assignment used as truth value.
1523
1524 * tree.c (make_node): Protect the variable `kind' with the
1525 GATHER_STATISTICS macro.
1526 (real_value_from_int_cst): Move variable `e' inside conditional
1527 macro area where it is used.
1528 (tree_last): Add parentheses around assignment used as truth value.
1529 (build1): Protect the variable `kind' with the GATHER_STATISTICS
1530 macro.
1531 (print_obstack_statistics): Reconcile format vs. args in fprintf.
1532 Protect variables `i', `total_nodes', and `total_bytes' with the
1533 GATHER_STATISTICS macro.
1534
4b6bb562
MS
1535Tue Jan 27 23:01:55 1998 Mike Stump (mrs@wrs.com)
1536
1537 * m32r.md, mips.md, mn10200.md, mn10300.md, pyr.md: Add
1538 some comments regarding use of dead_or_set_p.
1539
e95f0195
TV
1540Tue Jan 27 22:14:48 1998 Todd Vierling <tv@pobox.com>
1541
1542 * fixincludes: Tweak fix for struct exception in math.h
1543
c3499f00
GK
1544Tue Jan 27 17:21:09 1998 Gavin Koch (gavin@cygnus.com)
1545
1546 * mips/mips.c (mips_expand_prologue,mips_expand_epilogue):
1547 Change mode of registers used to add/sub from
1548 hard_frame_pointer_rtx from word_mode to Pmode.
1549
01898d58
NC
1550Tue Jan 27 11:02:04 1998 Nick Clifton <nickc@cygnus.com>
1551
6db34dd4
NC
1552 * v850.h (ASM_OUTPUT_ALIGNED_BSS): Use
1553 asm_output_aligned_bss() instead of asm_output_bss().
1554
01898d58
NC
1555 * toplev.c (rest_of_compilation): Replace references to
1556 stack_reg_dump_file and dbr_sched_dump_file with references to
1557 rtl_dump_file.
1558
7b6ffd11
KI
1559Tue Jan 27 10:22:13 1998 Kamil Iskra <iskra@student.uci.agh.edu.pl>
1560
1561 * tlink.c (scan_linker_output): Call fclose() for opened files.
1562
60593797
RH
1563Tue Jan 27 05:05:26 1998 Richard Henderson <rth@cygnus.com>
1564
1565 * alpha.c (output_epilog [!VMS]): Don't tag global functions if
1566 compiling with -fpic -- we want to be able to override symbols
1567 properly.
1568 (alpha_expand_block_move): Fix thinko in last change.
1569
1570 * alpha.h (ASM_OUTPUT_MI_THUNK): New define.
1571 * config/alpha/win-nt.h (ASM_OUTPUT_MI_THUNK): New define.
1572 * config/alpha/vms.h (ASM_OUTPUT_MI_THUNK): New undef.
1573
5e4aab97
RH
1574Tue Jan 27 03:21:23 1998 Richard Henderson <rth@cygnus.com>
1575
1576 * alpha.md (abssf, absdf): Revert last change.
1577
69145bcc
JC
1578Tue Jan 27 00:26:50 1998 John Carr <jfc@mit.edu>
1579
1580 * dwarf2out.c (dwarf2out_frame_init): Test value of DWARF2_UNWIND_INFO.
1581 * mips/sni-svr4.h: Define DWARF2_UNWIND_INFO as 0.
1582
4926b75a
JL
1583Tue Jan 27 00:07:02 1998 Jeffrey A Law (law@cygnus.com)
1584
1585 * emit-rtl.c (gen_lowpart_common): Handle more case where converting
1586 a CONST_INT into SFmode.
1587
c6aded7c
AG
1588Tue Jan 20 16:01:03 1998 Anthony Green <green@cygnus.com>
1589
1590 * flags.h: New flag (optimize_size).
1591 * toplev.c (main): Parse -Os option and set optimize_space
1592 accordingly.
1593 * gcc.c (default_compilers), cp/lang-specs.h, f/lang-specs.h: Define
1594 __OPTIMIZE_SIZE__ when compiling with -Os.
1595 * config/dsp16xx/dsp16xx.h, config/i386/i386.h,
1596 config/i386/dgux.h, config/i960/i960.h, config/pdp11/pdp11.h,
1597 config/v850/v850.h (OPTIMIZATION_OPTIONS): New SIZE argument
1598 to macro.
1599 * config/i386/i386.c (optimization_options): Accept new SIZE argument.
1600
3698f44e
MH
1601Mon Jan 26 23:57:39 1998 Manfred Hollstein <manfred@s-direktnet.de>
1602
1603 * libgcc2.c (__clear_insn_cache): On sysV68 enable the memctl
1604 stuff only if MCT_TEXT is #define'd.
1605
ac8a456a
MO
1606Mon Jan 26 23:52:51 1998 Markus F.X.J. Oberhumer <k3040e4@c210.edvz.uni-linz.ac.at>
1607
1608 * configure.in (i*86-pc-msdosdjgpp): Treat like msdos & go32
1609 configurations.
1610
032713aa
NC
1611Fri Jan 23 09:39:36 1998 Nick Clifton <nickc@cygnus.com>
1612
1613 * toplev.c: Add -dM command line option to dump RTL after the
1614 machine dependent reorganisation pass, if there is one.
1615 Reorganise RTL dump code, so that only one file handle is
1616 needed.
1617
ec2be682
BK
1618Mon Jan 26 12:09:42 1998 Benjamin Kosnik <bkoz@rhino.cygnus.com>
1619
1620 * except.c (check_exception_handler_labels): Disable warning when
1621 flag_syntax_only.
1622
e232b7b3
JW
1623Mon Jan 26 18:17:32 1998 Jim Wilson <wilson@cygnus.com>
1624
1625 * sparc.c (pic_setup_code): Don't set LABEL_PRESERVE_P.
1626
2a851b5c
R
1627Mon Jan 26 18:11:30 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
1628
1629 * c-decl.c (grokdeclarator): Get parameter tags from
1630 last_function_parm_tags.
1631 * dwarfout.c (output_formal_types): Set TREE_ASM_WRITTEN before
1632 traversing the parameter types.
1633 (output_type): No early exit for FUNCTION_TYPE / METHOD_TYPE context.
1634
808fbfac
JL
1635Mon Jan 26 01:44:12 1998 Jeffrey A Law (law@cygnus.com)
1636
1637 * h8300.c (print_operand): Handle CONST_DOUBLE for 'e', 'f', and
1638 the default case.
1639 (get_shift_alg): Fix typo.
1640
15389075
RH
1641Sun Jan 25 22:22:04 1998 Richard Henderson <rth@cygnus.com>
1642
1643 * alpha.c (alpha_expand_block_move): Copy ADDRESSOF to reg.
1644
83c8ddef
RH
1645Sun Jan 25 22:14:28 1998 Richard Henderson <rth@cygnus.com>
1646
1647 * toplev.c (get_run_time): Make sure each case gets its variables.
1648
db81d74a
RH
1649Sun Jan 25 22:10:21 1998 Richard Henderson <rth@cygnus.com>
1650
1651 * configure.in (build_xm_file): Add auto-config.h if host=build.
1652 (host_xm_file_list): Don't add $(srcdir) to auto-config.h.
1653 (build_xm_file_list): Likewise.
1654 * configure: Rebuild.
1655
f745c7a2
AB
1656Sun Jan 25 22:00:25 1998 Alasdair Baird <alasdair@wildcat.demon.co.uk>
1657
1658 * recog.c (validate_replace_rtx_1): Only perform substitutions
1659 of arguments to commutative and comparison operators once.
1660
963f4057
KG
1661Sun Jan 25 12:30:18 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1662
91a51951
KG
1663 * sparc.c (output_cbranch): Add default case in
1664 enumeration switch.
1665
1666 * reorg.c (insn_sets_resource_p): Correct typo in prototype.
1667 (emit_delay_sequence): Eliminate unused parameter, all callers
1668 changed.
1669 (fill_simple_delay_slots): Likewise.
1670 (fill_slots_from_thread): Likewise.
1671 (fill_eager_delay_slots): Likewise.
1672 (mark_referenced_resources): Add default case in enumeration switch.
1673 (mark_set_resources): Likewise.
1674 (rare_destination): Likewise.
1675 (mostly_true_jump): Likewise.
1676 (find_dead_or_set_registers): Likewise.
1677 (redirect_with_delay_slots_safe_p): Remove unused variable `slots'.
1678 (update_reg_unused_notes): Remove unused variable `p'.
1679 (mark_target_live_regs): Remove unused variables `next' and
1680 `jump_count'.
1681 (fill_simple_delay_slots): Remove unused variable `j'.
1682 (fill_slots_from_thread): Add parentheses around assignment used
1683 as truth value.
1684 (dbr_schedule): Likewise.
1685
963f4057
KG
1686 * objc/Make-lang.in (objc.stage1): Depend on stage1-start.
1687 (objc.stage2, objc.stage3, objc.stage4): Likewise.
1688
e82ad93d
MT
1689Sun Jan 25 12:13:47 1998 Michael Tiemann <michael@tiemann.org>
1690
1691 * cse.c (simplify_ternary_operation): Don't try to simplify
1692 IF_THEN_ELSE expressions (created by combine) that don't use
1693 relational operators.
1694
b4b04bf9
JL
1695Fri Jan 23 22:48:24 1998 Jeffrey A Law (law@cygnus.com)
1696
ed1ecb19
JL
1697 * cse.c (simplify_ternary_operation): Handle more IF_THEN_ELSE
1698 simplifications.
1699
b4b04bf9
JL
1700 * crtstuff.c (init_dummy): Keep the epilogue in the init
1701 section for non-ELF systems.
1702
deeef0ac
R
1703Fri Jan 23 23:28:59 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
1704
1705 * sh.md (movqi_i+1): New peephole.
1706
03566575
JW
1707Fri Jan 23 15:39:42 1998 Jim Wilson <wilson@cygnus.com>
1708
1709 * Makefile.in: Remove remaining bytecode stuff.
1710 * emit-rtl.c, expr.c: Likewise.
1711
eb96c120
NC
1712Fri Jan 23 12:41:10 1998 Nick Clifton (nickc@cygnus.com)
1713
1714 * toplev.c (lang_options): Add unknown-pragma options.
1715
f03204e9
PB
1716Thu Jan 22 23:43:38 1998 Per Bothner <bothner@cygnus.com>
1717
1718 * dwarfout.c (byte_size_attribute): Simplify and fix - don't need
1719 special (and incomplete) handling for Chill arrays.
1720
4e762a38
JC
1721Fri Jan 23 00:27:23 1998 John Carr <jfc@mit.edu>
1722
1723 * toplev.c (get_run_time): Call sysconf(_SC_CLK_TCK), when available,
1724 to get clock rate.
1725
c3499f00 1726Fri Jan 23 00:19:36 1998 Gavin Koch (gavin@cygnus.com)
319f217e
GK
1727
1728 * mips.md (muldi3_internal2): Reverse test for TARGET_MIPS16.
1729
19f673eb
SS
17301998-01-22 scott snyder <snyder@d0sgif.fnal.gov>
1731
1732 * mips.c (function_prologue): Use HARD_FRAME_POINTER_REGNUM in
1733 .frame directive instead of FRAME_POINTER_REGNUM.
1734
74cf1c6d
RK
1735Fri Jan 23 00:08:55 1998 Robin Kirkham <rjk@mlb.dmt.csiro.au>
1736
1737 * m68k.h (TARGET_SWITCHES): -mcpu32 now clears MASK_68881.
1738 (MACHINE_STATE_m68010_up): Replaced __mc68332__ with __mcpu32__.
1739 * m68k/m68k-none.h(CPP_FPU_SPEC): Update relative to TARGET_SWITCHES.
1740 (CPP_SPEC, ASM_SPEC, CC1_SPEC): Likewise.
1741 (CPP_SPEC): -m68332 defines both __mc68332 and __mcpu32__.
1742 * m68k/t-m68kbare (MULTILIB_OPTIONS): Add mcpu32.
1743 (MULTILIB_MATCHES): -m68332 now uses mcpu32 libraries, not m68000.
1744 (MULTILIB_EXCEPTIONS): Don't build 68881 libraries for m68000,
1745 mcpu32 or m5200.
1746 * longlong.h: Replace __mc68332__ with __mcpu32__.
1747
e1402e7d
JL
1748Thu Jan 22 19:55:40 PST 1998 Jeff Law (law@cygnus.com)
1749
1750 * version.c: Bump for snapshot.
1751
6d49a073
JW
1752Thu Jan 22 14:47:31 1998 Jim Wilson <wilson@cygnus.com>
1753
1754 * reload.c (push_reload): In WORD_REGISTER_OPERATIONS code, add test
1755 to require the SUBREG mode to be smaller than the SUBREG_REG mode.
1756 * reload1.c (eliminate_regs): Likewise.
1757
c485e6a0
JL
1758Thu Jan 22 14:49:14 1998 Jeffrey A Law (law@cygnus.com)
1759
1760 * regmove.c (find_matches): Initialize matches->earlyclobber too.
1761
84303d9a
RH
1762Thu Jan 22 01:40:52 1998 Richard Henderson <rth@cygnus.com>
1763
1764 * alpha.md (abssf2, absdf2): Disable in IEEE mode.
1765 (negsf2, negdf2): Use proper subtract in IEEE mode.
1766
b93a436e
JL
1767Tue Jan 20 09:29:09 1998 Jeffrey A Law (law@cygnus.com)
1768
27766f0e
JL
1769 * Makefile.in: Remove more bytecode stuff.
1770 * expr.c, stmt.c, config/msdos/top.sed: Likewise.
1771 * vax/xm-vms.h, winnt/config-nt.sed: Likewise.
1772 * f/install.texi, objc/Make-lang.in: Likewise.
1773
b93a436e
JL
1774 * Makefile.in: Remove all bytecode support.
1775 (OBJS): Make sure last entry is a real object file, not EXTRA_OBJS.
1776 * emit-rtl.c: Remove all bytecode support.
1777 * expr.c, expr.h function.c, integrate.c: Likewise.
1778 * output.h, regclass.c, rtl.h, stmt.c, toplev.c: Likewise.
1779 * tree.h, varasm.c: Likewise.
424e713c
JL
1780 * config/m68k/m68k.h: Likewise.
1781 * bi-*, bc-*, bytecode*: Delete bytecode related files.
c9804136 1782 * modemap.def: Likewise.
b93a436e 1783
7e07e3ba
GK
1784Tue Jan 20 09:02:31 1998 Gavin Koch (gavin@cygnus.com)
1785
1786 * mips/mips.md (divsi3,divdi3,modsi3,moddi3,udivsi3,udivdi3,
1787 umodsi3,umoddi3): Handle mips16 div/mod by a constant.
1788
685885b7
RH
1789Mon Jan 19 21:57:00 1998 Richard Henderson <rth@cygnus.com>
1790
1791 * i386.md (push): Prohibit symbolic constants if flag_pic.
1792 (movsi+1): Likewise for move to non-register.
1793
5830e3a0
JW
1794Mon Jan 19 11:15:38 1998 Jim Wilson <wilson@cygnus.com>
1795
11ea364a
JW
1796 * alpha.c (mode_mask_operand): Accept 0xffffffff on 32 bit host.
1797 (print_operand): Handle 0xffffffff on 32 bit host.
1798
a851212a
JW
1799 * configure.in (thread_file): Rename uses before main loop to
1800 target_thread_file. Initialize to empty in main loop. Set thread_file
1801 to target_thread_file after main loop if not set.
1802 * configure: Rebuild.
1803
5830e3a0
JW
1804 * genattrtab.c (find_and_mark_used_attributes): Handle CONST_INT.
1805 (add_values_to_cover): Revert last change (which had no ChangeLog
1806 entry).
1807 (simplify_with_current_value_aux): Handle CONST_INT.
1808
829e1aaf
AS
1809Mon Jan 19 10:14:55 1998 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1810
1811 * unprotoize.c: Define UNPROTOIZE first, to actually take effect.
1812
76844337
RH
1813Mon Jan 19 10:11:52 1998 Richard Henderson <rth@cygnus.com>
1814
1815 * configure.in: Add cpp stringify test.
1816 * acconfig.h (HAVE_CPP_STRINGIFY): New tag.
1817 * gengenrtl.c: Use it.
1818 * configure, config.in: Rebuild.
1819
a3f80023
AS
1820Mon Jan 19 09:43:15 1998 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1821
1822 * Makefile.in (genrtl.c genrtl.h): Add dummy command for GNU make.
1823
c5d0345e
RH
1824Mon Jan 19 09:38:18 1998 Richard Henderson <rth@cygnus.com>
1825
1826 * configure.in: Find declaration for sbrk.
1827 * acconfig.h (NEED_DECLARATION_SBRK): New tag.
1828 * config.in, configure: Rebuild.
1829 * mips-tfile.c: Properly protect declaration of sbrk and free.
1830 * toplev.c: Properly protect declaration of sbrk.
1831
bb02e7ea
RH
1832Sun Jan 18 20:18:01 1998 Richard Henderson <rth@cygnus.com>
1833
1834 * alpha.c (alpha_handle_trap_shadows): Ignore CLOBBERs.
1835
30c2fa75
JL
1836Sun Jan 18 01:54:27 1998 Jeffrey A Law (law@cygnus.com)
1837
1838 * alpha/xm-winnt.h (HAS_INIT_SECTION): Undefine.
1839
a0372c94
MS
1840Sun Jan 18 00:57:35 1998 Mike Stump (mrs@wrs.com)
1841
1842 * configure.in (i960-wrs-vxworks): Default to latest vxworks release.
1843
c9ec4f99
DM
1844Sat Jan 17 23:41:36 1998 David S. Miller <davem@tanya.rutgers.edu>
1845
0e9ff885
DM
1846 * combine.c (force_to_mode, nonzero_bits): Correctly optimize
1847 constant offset computations from objects with known alignment in
1848 the presence of STACK_BIAS.
1849
7bcac048
DM
1850 * varasm.c (immed_double_const): Add casts to HOST_WIDE_INT where
1851 necessary.
1852 (const_hash): Hash val is unsigned long.
1853 (SYMHASH): Likewise.
1854
1855 * tree.c (TYPE_HASH): Type of hash val is unsigned long.
1856
1857 * print-tree.c (print_node_brief): HOST_PTR_PRINTF format wants a
1858 char pointer, not HOST_WIDE_INT.
1859 (print_node): Likewise. Also hash is unsigned long not
1860 HOST_WIDE_INT.
1861
1862 * cse.c (canon_hash): Hash is unsigned long not HOST_WIDE_INT.
1863
c9ec4f99
DM
1864 * explow.c (optimize_save_area_alloca): New function for targets
1865 where SETJMP_VIA_SAVE_AREA is true.
1866 (allocate_dynamic_stack_space): On SETJMP_VIA_SAVE_AREA targets,
1867 compute the amount of stack space needed should we find later that
1868 setjmp is never called by this function, stuff rtl for this inside
1869 a REG_NOTE of the final SET of stack_pointer_rtx.
1870 * toplev.c (rest_of_compilation): If SETJMP_VIA_SAVE_AREA and
1871 current_function_calls_alloca, call optimize_save_area_alloca.
1872
ca097615
JW
1873Sat Jan 17 23:22:59 1998 John Wehle (john@feith.com)
1874
1875 * i386.md: Remove redundant integer push patterns.
1876 Don't bother checking for TARGET_PUSH_MEMORY when
1877 pushing constants or registers.
1878
a3105a89
MK
1879Sat Jan 17 22:35:39 1998 Mumit Khan <khan@xraylith.wisc.edu>
1880 J.J VanderHeijden <J.J.vanderHeijden@student.utwente.nl>
1881
1882 * pexecute.c (pexecute): New function for mingw32. Supports pipes.
1883 (pwait): New function for mingw32.
1884
1885 * gcc.c (execute): Mingw32 pexecute() supports pipes, but cygwin32
1886 pipe support is broken for now.
1887
51549d76
LI
18881998-01-17 Lee Iverson <leei@Canada.AI.SRI.COM>
1889
ffc3503d
JL
1890 * emit_rtl.c (init_emit_once): Ensure that potential aliasing
1891 between frame_pointer_rtx, hard_frame_pointer_rtx, and
1892 arg_pointer_rtx is respected in initialization.
1893 (init_emit_once): Use gen_rtx_raw_REG() to create
1894 return_address_pointer_rtx.
1895
51549d76
LI
1896 * reorg.c: #include "expr.h" for rtx prototypes.
1897 * Makefile.in (reorg.o): Depend on expr.h
1898
b24a815b
PN
1899Sat Jan 17 21:28:08 1998 Pieter Nagel <pnagel@epiuse.co.za>
1900
1901 * Makefile.in (FLAGS_TO_PASS): Pass down gcc_include_dir and
1902 local_prefix to sub-make invocations.
1903
1e7b997a
DM
1904Sat Jan 17 21:24:16 1998 David T. McWherter <dtm@waterw.com>
1905
1906 * objc-parse.c: Recognize protocol qualifiers in class definitions.
1907
340fb41f
JL
1908Sat Jan 17 21:16:19 1998 Jeffrey A Law (law@cygnus.com)
1909
ffc3503d
JL
1910 * rtl.h: Fix typos.
1911
aef28d1d 1912 * acconfig.h (NEED_DECLARATION_ATOL): New declaration to check for.
6885fc87 1913 * configure.in: Check for atol.
aef28d1d
JL
1914 * rtl.c (atol): Only provide the declaration if NEED_DECLARATION_ATOL.
1915
4399e7a3
JL
1916 * rtl.c (read_rtx): Initialize list_rtx to NULL, not NULL_RTX.
1917
72ec635f
JL
1918 * loop.c (find_and_verify_loops): When attempting to move insns from
1919 inside the loop outside the loop, create a BARRIER if no suitable
1920 one was found.
1921
1be6e437
JL
1922 * jump.c (jump_optimize): Remove Dec 17, 1997 chance in
1923 favor of an equivalent change from gcc-2.8.
1924
340fb41f
JL
1925 * i386/x-sco5 (CC): Remove trailing whitespace.
1926
982255c8
KG
1927Sat Jan 17 21:09:46 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1928
1929 * gengenrtl.c (type_from_format): De-ANSIfy function signature.
1930 (accessor_from_format): Likewise.
1931 (xmalloc): New function for use when linking with alloca.o.
1932
db8abea3
BH
1933Mon Jan 5 02:53:01 1998 Bruno Haible <bruno@linuix.mathematik.uni-karlsruhe.de>
1934
1935 * frame.c (find_fde): Correct FDE's upper bound.
1936
5d483f63
RH
1937Fri Jan 16 16:23:52 1998 Richard Henderson <rth@cygnus.com>
1938
1939 * gengenrtl.c (DEF_RTL_EXPR): Provide a K&R compliant version.
1940
9a960e6b
JL
1941Fri Jan 16 10:16:10 1998 Jeffrey A Law (law@cygnus.com)
1942
1943 * calls.c (expand_call): Move #ifdef code out of macro argument
1944 lists.
1945 (emit_library_call, emit_library_call_value): Likewise.
1946
a4b18346
JL
1947Fri Jan 16 00:46:40 1998 Jeffrey A Law (law@cygnus.com)
1948
1949 * rtl.def (INLINE_HEADER): Fix bug exposed by gen_rtx_FOO changes.
1950
a252996a
JL
1951Thu Jan 15 01:02:30 1998 Jeffrey A Law (law@cygnus.com)
1952
1953 * version.c: Bump for snapshot.
1954
38a448ca
RH
1955Wed Jan 14 22:49:17 1998 Richard Henderson <rth@cygnus.com>
1956
1957 * alias.c: Change all uses of gen_rtx(FOO...) to gen_rtx_FOO;
1958 change gen_rtx(expr...) to gen_rtx_fmt_foo(expr...).
1959 * caller-save.c, calls.c, combine.c, cse.c: Likewise.
1960 * dwarf2out.c, except.c, explow.c, expmed.c, expr.c: Likewise.
1961 * final.c, flow.c, function.c, genpeep.c, haifa-sched.c: Likewise.
1962 * halfpic.c, integrate.c, jump.c, local-alloc.c, loop.c: Likewise.
1963 * profile.c, recog.c, reg-stack.c, regclass.c, regmove.c: Likewise.
1964 * reload.c, reload1.c, reorg.c, sched.c, stmt.c, stupid.c: Likewise.
1965 * unroll.c, varasm.c: Likewise.
1966 * config/alpha/alpha.c, config/alpha/alpha.md: Likewise.
1967
1968Wed Jan 14 19:36:08 1998 Gavin Koch (gavin@cygnus.com)
60db002d
GK
1969
1970 * mips.h: Fix some type-o's from a previous change.
1971
a8decb2c
JL
1972Wed Jan 14 01:26:05 1998 Jeffrey A Law (law@cygnus.com)
1973
1974 * loop.c (check_dbra_loop): Make sure initial value is a
1975 CONST_INT before trying to normalize it.
1976
0e2b736c
RL
1977Tue Jan 13 23:27:54 1998 Robert Lipe (robertl@dgii.com)
1978
1979 * sco5.h (ASM_OUTPUT_SECTION_NAME): Refresh from ../svr4.h.
1980
a3aa3d8c
HB
1981Tue Jan 13 22:47:02 1998 Herman ten Brugge <herman@htbrug.net.HCC.nl>
1982
1983 * cppexp.c: Include gansidecl.h
1984
8b496c8d
ILT
1985Tue Jan 13 22:43:35 1998 Ian Lance Taylor <ian@cygnus.com>
1986
1987 * svr4.h (LINK_SPEC): Never specify -h.
1988 * ptx4.h (LINK_SPEC): Likewise.
1989 * rs6000/sysv4.h (LINK_SPEC): Likewise.
1990 * sparc/sol2.h (LINK_SPEC): Likewise.
1991
c995fea1
RH
1992Tue Jan 13 22:39:40 1998 Richard Henderson (rth@cygnus.com)
1993
8d47dfc5
RH
1994 * c-typeck.c (comptypes): Exit early on NULL input.
1995
c995fea1
RH
1996 * haifa-sched.c (schedule_insns): Correctly remove inter-block
1997 dependencies after reload.
1998
88ea0ad1
FS
1999Tue Jan 13 22:22:31 1998 Franz Sirl <franz.sirl-kernel@lauterbach.com>
2000
2001 * rs6000/linux.h (CPP_PREDEFINES): Add -D__ELF__.
2002
f5e86959
JL
2003Tue Jan 13 22:14:57 1998 Klaus Kaempf <kkaempf@progis.de>
2004
2005 * alpha/vms.h (DIR_SEPARATOR): define
2006
2007Tue Jan 13 22:13:04 1998 Bruno Haible <bruno@linuix.mathematik.uni-karlsruhe.de>
6c32c807
BH
2008
2009 * Makefile.in (stamp-proto): Remove.
2010 (protoize.o, unprotoize.o): Straightforward compile.
2011 * unprotoize.c: Define UNPROTOIZE here, not in the Makefile.
2012
93006f8c
MK
2013Tue Jan 13 21:59:39 1998 Mumit Khan <khan@xraylith.wisc.edu>
2014
2015 * i386/cygwin32.h (STRIP_NAME_ENCODING): Define for Win32 to strip
2016 off the trailing @[NUM] added by ENCODE_SECTION_INFO.
2017
e4c4f8df
JL
2018Tue Jan 13 21:55:06 1998 Jeffrey A Law (law@cygnus.com)
2019
2020 * arm/netbsd.h (DWARF2_UNWIND_INFO): Define as zero for now.
2021 * i386/netbsd.h, m68k/netbsd.h, ns32k/netbsd.h: Likewise.
2022 * sparc/netbsd.h, vax/netbsd.h: Likewise.
2023
4aa0c2a5
SS
2024Tue Jan 13 21:37:07 1998 Shigeya Suzuki <shigeya@foretune.co.jp>
2025
2026 * i386/bsd386.h (DWARF2_UNWIND_INFO): Define as zero for now.
2027
c43143f6
JW
2028Tue Jan 13 17:50:55 1998 Jim Wilson <wilson@cygnus.com>
2029
2030 * configure.in (target_cpu_default, target_cpu_default2): Use double
2031 quotes around them when testing their value.
2032 * configure: Rebuilt.
2033
4b8140a6
JC
2034Tue Jan 13 09:07:44 1998 John Carr <jfc@mit.edu>
2035
2036 * gengenrtl.c (gencode): Emit new function obstack_alloc_rtx
2037 to allocate rtx.
2038 (gendef): Call obstack_alloc_rtx.
2039
82de9b28 2040Tue Jan 13 01:16:36 1998 Robert Lipe (robertl@dgii.com)
fe07d4c1
RL
2041
2042 * configure.in: (i[3456]86-UnixWare7-sysv5): Treat much like SVR4
2043 for now.
2044
23092526
MK
2045Thu Dec 18 18:40:17 1997 Mumit Khan <khan@xraylith.wisc.edu>
2046
2047 * i386/mingw32.h (INCOMING_RETURN_ADDR_RTX): Delete. Use the value
2048 of DWARF2_UNWIND_INFO, if any, from i386/cygwin32.h instead.
2049 (STANDARD_INCLUDE_DIR): Change to /usr/local/i386-mingw32/include.
2050
32318600
JW
2051Tue Jan 13 00:44:02 1998 Jim Wilson <wilson@cygnus.com>
2052
2053 * mips.md (return_internal): Change mode from SImode to VOIDmode.
2054
ef720b21
KJ
2055Sat Jan 10 22:11:39 1998 J. Kean Johnston <jkj@sco.com>
2056
2057 * i386/sco5.h (STARTFILE_SPEC, ENDFILE_SPEC): Correctly handle
2058 "-static".
2059
cde21847
SC
2060Sat Jan 10 22:04:15 1998 Stan Cox <scox@equinox.cygnus.com>
2061
2062 * i386.md: (movsicc_1, movhicc_1): For alternate 3 set the opcode
2063 suffix from operand 3.
2064
184bb750
R
2065Sat Jan 10 21:50:16 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
2066 Jeffrey A Law (law@cygnus.com)
2067
2068 * regmove.c: New implementation of regmove pass.
2069 * local-alloc.c (optimize_reg_copy_1, optimize_reg_copy_2): Remove
2070 decls, make them have external linkage. Return a value from
2071 optimize_reg_copy_1.
2072 * reload.h (count_occurrences): Add decl.
2073 * reload1.c (count_occurrences): Delete decl, make it have external
2074 linkage.
2075 * rtl.h (optimize_reg_copy_1, optimize_reg_copy_2): Declare.
2076
3f9e9508
JL
2077Sat Jan 10 20:30:12 1998 Jeffrey A Law (law@cygnus.com)
2078
2079 * regclass.c (record_address_regs): Don't use REG_OK_FOR_BASE_P
2080 if it is not defined.
2081
3b80f6ca
RH
2082Thu Jan 8 21:06:54 1998 Richard Henderson <rth@cygnus.com>
2083
2084 * Makefile.in (OBJ, GEN, RTL_H): Add genrtl.[oh] bits.
2085 * emit-rtl.c (gen_rtx): Move special code to ...
2086 (gen_rtx_CONST_INT): New function.
2087 (gen_rtx_REG): New function.
2088 (*): Update all calls to gen_rtx.
2089 * genemit.c (gen_exp): Emit calls to gen_rtx_FOO for constant FOO.
2090 * rtl.h: Include genrtl.h; prototype CONST_INT & REG generators.
2091 (GEN_INT): Call gen_rtx_CONST_INT.
2092 * gengenrtl.c: New file.
2093
1c72c7f6
JC
2094Mon Jan 5 13:00:18 1998 John F. Carr <jfc@mit.edu>
2095
2096 * alias.c (*_dependence): Call base_alias_check before canon_rtx.
2097 (base_alias_check): If no base found for address call canon_rtx and
2098 try again.
2099
8fa4e1b4
JL
2100Mon Jan 5 11:39:49 1998 Jeffrey A Law (law@cygnus.com)
2101
2102 * mips.c (mips_expand_prologue): Handle large frame with no outgoing
2103 arguments for mips16.
2104 (mips_expand_epilogue): Pass "orig_tsize" to save_restore_insns.
2105 Don't lose if tsize is zero after handling large stack for mips16.
2106 * mips.md (return): For trivial return, return address is in $31.
2107
eb774d8d
NS
2108Sun Jan 4 20:24:00 1998 Nigel Stephens <nigel@algor.co.uk>
2109
2110 * mips/mips16.S: Various changes to make it work with -msingle-float
2111 and -EL.
2112
2bcb2ab3
GK
2113Sun Jan 4 14:25:18 1998 Gavin Koch <gavin@cygnus.com>
2114 Ian Lance Taylor <ian@cygnus.com>
2115 Jeff Law <law@cygnus.com>
2116
2117 * mips.c, mips.h, mips.md: First cut at merging in mips16
2118 support. Major modifications throughout all three files.
2119
db0d1ed9
SS
2120Sun Jan 4 01:01:50 1998 scott snyder <snyder@d0sgif.fnal.gov>
2121
2122 * configure.in: Make gthr-default.h a forwarding header instead of
2123 a symlink.
2124
79873958
KG
2125Sat Jan 3 12:08:06 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2126
86e011ad
KG
2127 * gcov-io.h: Include sys/types.h to ensure we get size_t.
2128
79873958
KG
2129 * pa.h (ASM_OUTPUT_MI_THUNK): Add missing % in fprintf.
2130
35a42f5f
JW
2131Fri Jan 2 23:40:09 1998 Jim Wilson (wilson@cygnus.com)
2132 Jeffrey A Law (law@cygnus.com)
2133
2134 * crtstuff.c (__frame_dummy): New function for irix6.
2135 (__do_global_ctors): Call __frame_dummy for irix6.
2136 * iris6.h (LINK_SPEC): Hide __frame_dummy too.
2137
ef86d2ee
WL
2138Fri Jan 2 04:57:57 1998 Weiwen Liu <liu@hepmail.physics.yale.edu>
2139
2140 * alpha.c (vms_valid_decl_attribute_p): Move within #if OPEN_VMS.
2141
6c174fc0
RH
2142Fri Jan 2 04:34:14 1998 Richard Henderson <rth@cygnus.com>
2143
2144 * c-decl.c (init_decl_processing): Provide proper fallback symbol
2145 for __builtin_memset.
2146 * expr.c (expand_builtin) [MEMSET]: Arg 3 type code is INTEGER_TYPE
2147 not INTEGER_CST. Assert arg 3 is a constant.
2148
2149 * alpha.c (mode_width_operand): Accept 64-bit modes.
2150 (mode_mask_operand): Likewise.
2151 (print_operand): Likewise for 'M' and 'U' codes.
2152 (alpha_expand_unaligned_load): New function.
2153 (alpha_expand_unaligned_store): Likewise.
2154 (alpha_expand_unaligned_load_words): Likewise.
2155 (alpha_expand_unaligned_store_words): Likewise.
2156 (alpha_expand_block_move): Likewise.
2157 (alpha_expand_block_clear): Likewise.
2158 * alpha.h (MOVE_RATIO): New define.
2159 * alpha.md (extxl, ext*h, ins*l, mskxl): Name them.
2160 (insql, insxh, mskxh, extv, extzv, insv, movstrqi, clrstrqi): New.
2161
2162 * alpha.h (ASM_OUTPUT_LOOP_ALIGN, ASM_OUTPUT_ALIGN_CODE): Set to 3.
2163 (CONSTANT_ALIGNMENT, DATA_ALIGNMENT): Disable.
2164
8fbf199e
RH
2165Thu Jan 1 15:40:15 1998 Richard Henderson <rth@cygnus.com>
2166
2167 * configure.in: Put parenthesis around TARGET_CPU_DEFAULT's value.
2168 * configure: Update.
2169
2d490e3e
JL
2170Thu Jan 1 10:49:12 1998 Jeffrey A Law (law@cygnus.com)
2171
aa2ae679
JL
2172 * emit-rtl.c (operand_subword): Correctly handle extracting a word
2173 from a CONST_DOUBLE for 16bit targets with !WORDS_BIG_ENDIAN.
2174
2d490e3e
JL
2175 * mn10200.md (tstxx, cmpxx): Use "nonimmediate_operand" as predicate
2176 for first argument.
2177
6e26218f
ILT
2178Wed Dec 31 14:42:18 1997 Ian Lance Taylor <ian@cygnus.com>
2179
2180 * configure.in: Set and subsitute host_exeext. Use it when creating
2181 the assembler and linker symlinks.
2182 * configure: Rebuild.
2183 * Makefile.in (exeext): Set to @host_exeext@.
2184 (build_exeext): New variable, set to @build_exeext@.
2185 (FLAGS_TO_PASS): Pass down build_exeext.
2186 (STAGESTUFF): Use build_exeext, not exeext, for gen* and bi*
2187 programs.
2188
1b31097e
JL
2189Wed Dec 31 10:05:44 1997 Jeffrey A Law (law@cygnus.com)
2190
2191 * mn10200.md (addsi3, subsi3): Fix thinkos.
2192
194faace
RH
2193Tue Dec 30 00:04:49 1997 Richard Henderson <rth@cygnus.com>
2194
2195 * sparc.h (ASM_OUTPUT_MI_THUNK): Move %o7 through %g1 instead of
2196 save+restore. Fix pic+big_offset delay slot. Use "pic" case for
2197 unix always, since we want to be able to thunk to functions in a
2198 shared library from an application.
2199
975602f8
ILT
2200Mon Dec 29 14:37:31 1997 Ian Lance Taylor <ian@cygnus.com>
2201
2202 * mips/t-ecoff (CROSS_LIBGCC1): Define to libgcc1-asm.a.
2203 (LIB1ASMSRC, LIB1ASMFUNCS): Define.
2204
0eb1ad44
JL
2205Mon Dec 29 14:03:38 1997 Jeffrey A Law (law@cygnus.com)
2206
2207 * expr.c (expand_expr): For {BITFIELD,COMPONENT,ARRAY}_REF, if the
2208 offset's mode is not ptr_mode, convert it.
2209
eff0f7ac
MM
2210Mon Dec 29 15:58:18 1997 Michael Meissner <meissner@cygnus.com>
2211
2212 * libgcc2.c (inhibit_libc): Don't define inhibit_libc when cross
2213 compiling if it was already defined.
2214
2c3a56ad
JL
2215Sun Dec 28 00:32:16 1997 Jeffrey A Law (law@cygnus.com)
2216
2217 * flow.c (find_basic_blocks): Don't create a new basic block
2218 for calls in a LIBCALL block.
2219
fc97718f
DE
2220Sun Dec 28 00:30:24 1997 David Edelsohn <edelsohn@mhpcc.edu>
2221
2222 * config/fp-bit.c (L_df_to_sf): Fix typo in last change.
2223
5b5a2a1e
JL
2224Sat Dec 27 22:43:12 1997 Jeffrey A Law (law@cygnus.com)
2225
2226 * cse.c (rtx_cost): Remove conflicting default case.
2227
128f7968
RH
2228Sat Dec 27 21:20:02 1997 Richard Henderson <rth@cygnus.com>
2229
2230 * configure.in: Move default enabling of Haifa out of for loop.
2231 * configure: Rebuild.
2232
e81b4fbe
JL
2233Thu Dec 25 01:02:54 1997 Jeffrey A Law (law@cygnus.com)
2234
2235 * version.c: Bump for snapshot.
2236
f24af81b
TT
22371997-12-25 Teemu Torma <tot@trema.com>
2238
2239 * Makefile.in (GTHREAD_FLAGS): New var.
2240 (LIBGCC2_CFLAGS): Added $(GTHREAD_FLAGS).
2241 (distclean): Remove gthr-default.h.
2242
2243 * configure.in: Accept dce as a thread package.
2244 Check for thread.h and pthread.h.
2245 Link gthr-default.h to appropriate thread file and set
2246 gthread_flags.
2247 (hppa1.1-*-hpux10*): If --enable-threads, use dce threads and
2248 include multilib definitions from pa/t-dce-thr.
2249 (sparc-*-solaris2*): Enable threads by default, if thread.h or
2250 pthread.h is found, preferring posix threads over solaris ones.
2251
2252 * config/pa/t-dce-thr: New file.
2253 * config/pa/t-pa: Removed multilibs.
2254 * config/sparc/t-sol2: Ditto.
2255
2256 * gthr.h: New file.
2257 * gthr-single.h: New file.
2258 * gthr-posix.h: New file.
2259 * gthr-solaris.h: New file.
2260 * gthr-dce.h: New file.
2261 * libgcc-thr.h: Removed.
2262 * objc/thr-dce.c: New file copied from thr-decosf1.c.
2263
2264 * frame.c: Include gthr.h instead of libgcc-thr.h.
2265 * libgcc2.c: Include gthr.h instead of libgcc-thr.h.
2266 (eh_context_initialize): If __gthread_once fails, use static eh
2267 context.
2268 (eh_context_free): Call __gthread_key_dtor.
2269
d9a4ee00
JL
2270Wed Dec 24 23:33:17 1997 Jeffrey A Law (law@cygnus.com)
2271
2272 * expr.h (MUST_PASS_IN_STACK): Allow target port to override.
2273
04bd620d
JW
2274Wed Dec 24 23:12:14 1997 Jim Wilson <wilson@cygnus.com>
2275
556c714b 2276 * cse.c (max_insn_uid): New variable.
556c714b
JW
2277 (cse_around_loop): Use max_insn_uid.
2278 (cse_main): Set max_insn_uid.
2279
04bd620d
JW
2280 * abi64.h (LONG_MAX_SPEC): Check MIPS_ABI_DEFAULT and TARGET_DEFAULT,
2281 and define __LONG_MAX__ appropriately. Add support for -mabi=X,
2282 -mlong64, and -mgp{32,64} options.
2283 * mips.c (mips_abi): Change type to int.
2284 * mips.h (enum mips_abi_type): Delete.
2285 (ABI_32, ABI_N32, ABI_64, ABI_EABI): Define as constants.
2286 (mips_abi): Change type to int.
2287
439d5a35
JC
2288Wed Dec 24 22:38:34 1997 John Carr <jfc@mit.edu>
2289
2290 * flags.h, toplev.c, calls.c, alias.c: Remove flag_alias_check;
2291 optimization is now always enabled.
2292
2293 * calls.c (expand_call): Recognize C++ operator new as malloc-like
2294 function.
2295
2296 * alias.c (memrefs_conflict_p): Eliminate tests now done by
2297 base_alias_check.
2298 (*_dependence): Call canon_rtx before base_alias_check.
2299 (init_alias_once): New function to precompute set of registers which
2300 can hold Pmode function arguments.
2301
2302 * rtl.h: Declare init_alias_once.
2303
2304 * toplev.c (compile_file): Call init_alias_once.
2305
280e521f
JL
2306Wed Dec 24 22:34:55 1997 Jeffrey A Law (law@cygnus.com)
2307
2308 * tree.c (restore_tree_status): Do not dereference a null pointer.
2309
95b8c0c8
PE
2310Tue Dec 23 12:56:46 1997 Paul Eggert <eggert@twinsun.com>:
2311
2312 * genattrtab.c (main): Check HAVE_{G,S}ETRLIMIT in addition to
2313 RLIMIT_STACK. This maintains consistency with the recent, similar
2314 patch to cccp.c and toplev.c.
2315
71d9b493
RH
2316Tue Dec 23 05:17:28 1997 Richard Henderson <rth@cygnus.com>
2317
2318 * genattrtab.c (expand_units): For large nr opclasses, expand
2319 function_units_used with ORX to prevent blowups. Tag with FFS.
2320 (num_unit_opclasses): New variable.
2321 (gen_unit): Update it.
2322 (enum operator): Add ORX_OP.
2323 (operate_exp): Treat ORX as or, except don't expand across an if.
2324 Reuse number rtx's after operating on them.
2325 (check_attr_value): Accept IOR, AND, & FFS.
2326 (write_test_expr): Transmute `in_comparison' to `flags'. Allow
2327 for attribute value caching. Handle CONST_STRING, IF_THEN_ELSE.
2328 (write_expr_attr_cache, write_toplevel_expr): New functions.
2329 (write_attr_get): Handle FFS-tagged expressions.
2330 (make_canonical): Don't expand const attributes.
2331 (convert_const_symbol_ref): Dike out.
2332 (evaluate_eq_attr): Handle SYMBOL_REF.
2333 (main): Don't emit get_attr_foo for const attributes.
2334
2335 * alpha.c (override_options): Reinstate PROCESSOR_EV6.
2336 (alpha_adjust_cost): Add EV6 tuning; streamline EV5 tests.
2337 * alpha.h (REGISTER_MOVE_COST): Increase ftoi/itof cost slightly.
2338 * alpha.md: Redo all of the scheduling, adding EV6 support, and
2339 combining function units where possible.
2340 (attr "type"): Split loads, stores, cmov into int/fp. Combine
2341 multiplies and divides. Add EV6 sqrt, ftoi, itof.
2342 (attr "opsize"): New attribute.
2343 (sqrtsf2-1, sqrtdf2-1): Provide proper TP_INSN patterns.
2344 (movsf2-[12], movdf2-[12]): Provide CIX varients; don't allow CIX
2345 to control register allocation.
2346 (movsi2-1, movdi2-1): Likewise.
2347
b0435cf4
RH
2348Tue Dec 23 03:53:21 1997 Richard Henderson <rth@cygnus.com>
2349
2350 * alpha.h (CPP_PREDEFINES, LIB_SPEC, LINK_SPEC, STARTFILE_SPEC,
2351 MD_STARTFILE_PREFIX, ASM_FILE_START, ASM_SPEC, ASM_FINAL_SPEC):
2352 Move OSF/1 specific defines out.
2353 * alpha/elf.h (TARGET_VERSION, CPP_PREDEFINES, DEFAULT_VTABLE_THUNKS):
2354 Move Linux specific defines out.
2355 (LINK_SPEC): Genericize.
2356 (ASM_FILE_START): Emit .arch if using more than the base insn set.
2357 (ASM_OUTPUT_SOURCE_LINE): Remove; identical to alpha.h version.
2358 (SDB_DEBUGGING_INFO): Remove; gas can't handle it.
2359 (HANDLE_SYSV_PRAGMA): Define.
2360 * alpha/osf.h: New file.
2361 * alpha/linux.h: Split. Retain file-format independant defines.
2362 Import Linux bits from elf.h.
2363 (CPP_PREDEFINES): Take a file-format specific SUB_CPP_PREDEFINES
2364 (FUNCTION_PROFILER): _mcount takes its address in $28.
2365 (MD_EXEC_PREFIX, MD_STARTFILE_PREFIX): Remove undef.
2366 * alpha/linux-ecoff.h: New file.
2367 * alpha/linux-elf.h: New file.
2368 * alpha/vms.h (LIB_SPEC, LINK_SPEC): Copy from osf.h.
2369 * alpha/win-nt.h (TARGET_DEFAULT): Define.
2370 * configure.in (alpha*-*-osf*, alpha*-*-linux*) [tm_file]:
2371 Add new headers as appropriate.
2372
2373 * configure.in (alpha*): Enable Haifa by default.
2374 (*-*-winnt3*): Change to winnt*, since we're not v3 specific.
2375 * configure: Rebuild.
2376
5768f211
RH
2377Tue Dec 23 03:14:54 1997 Richard Henderson <rth@cygnus.com>
2378
2379 * Makefile.in (clean): Remove the stages with their objects here ...
2380 (distclean): ... instead of here.
2381
9e04c65a
KG
2382Mon Dec 22 11:24:01 1997 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2383
2384 * cse.c (rtx_cost): Add default case in enumeration switch.
2385 * fix-header.c (recognized_macro): Likewise.
2386 (recognized_extern): Likewise.
2387 (write_rbrac): Likewise.
2388 * objc/objc-act.c (encode_aggregate): Likewise.
2389 (gen_declarator): Likewise.
2390 (gen_declspecs): Likewise.
2391
1d88b804
JL
2392Mon Dec 22 09:58:51 1997 Jeffrey A Law (law@cygnus.com)
2393
2394 * haifa-sched.c (create_reg_dead_note): Detect and handle another
2395 case where we kill more regs after sched than were killed before
2396 sched.
2397 * sched.c (create_reg_dead_note): Similarly.
2398
bbeba0ba
JL
2399Mon Dec 22 09:18:37 1997 Jeffrey A Law (law@cygnus.com)
2400
2401 * c-pragma.c: Include flags.h.
2402
05853640
MK
2403Sun Dec 21 22:10:59 1997 Mumit Khan <khan@xraylith.wisc.edu>
2404
2405 * i386/cygwin32.h (NO_IMPLICIT_EXTERN_C): Don't assume anything
2406 about system headers.
2407 (LIB_SPEC): Add -ladvapi32 -lshell32 to be consistent with mingw32
2408 and also to resolve symbols in prefix.c.
2409
2410 * i386/xm-cygwin32.h (HAVE_BCOPY): Define. This avoids a conflict
2411 between gansidecl.h and newlib's _ansi.h when building libgcc2.a,
2412 when the definitions in auto-config.h is not visible.
2413 (HAVE_BZERO): Likewise.
2414 (HAVE_BCMP): Likewise.
2415 (HAVE_RINDEX): Likewise.
2416 (HAVE_INDEX): Likewise.
2417
44201dba
JL
2418Sun Dec 21 21:54:22 1997 Jeffrey A Law (law@cygnus.com)
2419
2420 * pa.c (emit_move_sequence): Handle a function label source
2421 operand.
2422
d300e551
NC
2423Sun Dec 21 16:13:55 1997 Nick Clifton <nickc@cygnus.com
2424
2425 * c-pragma.c (handle_pragma_token): Generate warning messages
2426 about unknown pragmas if warn_unknown_pragmas is set.
2427
2428 * c-decl.c (c_decode_option): Parse -Wunknown-pragmas command
2429 line option to set variable: warn_unknown_pragmas.
2430
d3245704
MH
2431Sun Dec 21 15:51:10 1997 Manfred Hollstein <manfred@lts.sel.alcatel.de>
2432
2433 * m68k/mot3300.h (ASM_BYTE_OP): Don't include '\t' in the
2434 definition.
2435 (ASM_OUTPUT_ASCII): Prefix ASM_BYTE_OP by one single '\t'.
2436
5198352e
JL
2437Sun Dec 21 13:58:39 1997 Jeffrey A Law (law@cygnus.com)
2438
2439 * Makefile.in (FPBIT_FUNCS, DPBIT_FUNCS): Define.
2440 (libgcc2.a): Depend on $(DPBIT) and $(FPBIT). Add rules to
2441 generate more fine grained floating point emulation libraries.
2442 * config/fp-bit.c: Add protecting #ifdef to all functions so
2443 that they can be compiled separately. If !FINE_GRAINED_LIBRARIES,
2444 then compile all suitable functions.
2445 (pack_d, unpack_d, fpcmp_parts): Add declarations, define with two
2446 underscores to avoid namespace pollution.
2447 * t-mn10200 (LIB2FUNCS_EXTRA): Remove fp-bit.c
2448 (FPBIT): Define.
2449 * t-mn10300 (LIB2FUNCS_EXTRA): Remove fp-bit.c and dp-bit.c
2450 (FPBIT): Define.
2451 (DPBIT): Define.
2452
9f1ff8e8 2453Sat Dec 20 11:26:47 1997 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1d300e19
KG
2454 Jeff Law <law@cygnus.com>
2455
2456 * bitmap.c (bitmap_clear): Ensure `inline' is at the beginning
2457 of the declaration.
2458 * c-decl.c (finish_decl): Use parentheses around && within ||.
2459 * rtl.c: Include stdlib.h.
2460 (read_skip_spaces): Add parentheses around assignments used as
2461 truth values.
2462 (read_rtx): Initialize list_rtx.
2463 * cppexp.c (parse_number): Use || when operands are truth values.
2464 * alias.c (find_base_value): Add default case.
2465 (memrefs_conflict): Likewise.
2466 * combine.c (sets_function_arg_p): Likewise.
2467 * genemit.c (gen_exp): Likewise.
2468 * local-alloc.c (contains_replace_regs): Likewise.
2469 * rtlanal.c (jmp_uses_reg_or_mem): Likewise.
2470 * fold-const.c (fold_convert): Use "&&" for truth values.
2471 (fold): Add default case.
2472 * sdbout.c (sdbout_field_types): Fix typo in declaration.
2473 (sdbout_one_type): Add default case.
2474 * alpha.c (alpha_sa_mask): Prototype only if OPEN_VMS.
2475 (some_operand): Add default case.
2476 (input_operand): Likewise.
2477 (signed_comparison_operator): Likewise.
2478 (divmod_operator): Likewise.
2479 (alpha_set_memflags_1): Likewise.
2480 * reload1.c (reload_cse_simplify_operands): Ensure function
2481 always returns a value.
2482 * scan-decls.c (scan_decls): Likewise.
2483 * c-lex.c (skip_white_space): Fix typo in declaraion.
2484 * c-typeck.c (comp_target_types): Add parentheses around assignment
2485 used as truth value.
2486 (print_spelling): Likewise.
2487 (constructor_implicit, constructor_result): Remove unused variables.
2488 * collect2.c (scan_library): Protect prototype with
2489 #ifdef SCAN_LIBRARIES.
2490 * emit-rtl.c (find_line_note): Fix typo in declaration.
2491 * final.c (asm_insn_count): Protect prototype with
2492 #ifdef HAVE_ATTR_length.
2493 * flow.c (find_auto_inc): Protect prototype with #ifdef AUTO_INC_DEC.
2494 (try_pre_increment_1, try_pre_increment): Likewise.
2495 * regclass.c (auto_inc_dec_reg_p): Protect prototype with
2496 #ifdef FORBIDDEN_INC_DEC_CLASSES. Make return type explicit.
2497 * gcov-io.h (__store_long, __write_long, __read_long): Fix
2498 unsigned/signed comparisons.
2499 * gcov.c (read_files): Remove unused "first_type" variable.
2500 (scan _for_source_files): Initialize s_ptr.
2501 (function_summary): Eliminate "%lf" formatting, use %ld for
2502 longs.
2503 (output_data): Initialize branch_probs and last_line_num.
2504 Eliminate "%lf" formatting, use "%ld" for longs.
2505
18543a22
ILT
2506Fri Dec 19 17:31:11 1997 Ian Lance Taylor <ian@cygnus.com>
2507
afba61d1
ILT
2508 * mips16.S: New file.
2509
2510 * libgcc2.c (varargs): Handle mips16.
2511
18543a22
ILT
2512 * expr.c (do_tablejump): Let CASE_VECTOR_PC_RELATIVE be an
2513 expression.
2514 * stmt.c (expand_end_case): Likewise.
2515 * alpha.h (CASE_VECTOR_PC_RELATIVE): Update.
2516 * fx80.h, gmicro.h, m68k.h, m88k.h, ns32k.h: Likewise.
2517 * rs6000.h, sh.h, tahoe.h, v850.h vax.h z8k.h: Likewise.
2518
dbf3231e
AS
2519Tue Dec 16 15:14:09 1997 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2520
2521 * objc/Make-lang.in: Create runtime-info.h and libobjc_entry.o in
2522 the build directory.
2523 (libobjc.a): Update dependency list.
2524 (libobjc.dll): Likewise. Use libobjc_entry.o from the build
2525 directory.
2526 (objc/sendmsg.o): Add -Iobjc to find runtime-info.h.
2527 (objc.mostlyclean): Remove runtime-info.h.
2528
e1ee5cdc
RH
2529Fri Dec 19 00:19:42 1997 Richard Henderson <rth@cygnus.com>
2530
2531 * tree.c (build_range_type): Allow creation of ranges with no maximum.
2532 * dbxout.c (dbxout_range_type): Handle missing TYPE_MAX_VALUE.
2533 * dwarf2out.c (add_subscript_info): Likewise.
2534 * dwarfout.c (subscript_data_attribute, byte_size_attribute): Likewise.
2535 * sdbout.c (plain_type_1): Likewise.
2536 * stmt.c (pushcase_range, all_cases_count, node_has_high_bound):
2537 Likewise.
2538 * fold-const.c (int_const_binop, fold_convert, make_range, fold):
2539 Likewise.
2540
dfe91418
JL
2541Thu Dec 18 17:05:10 1997 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2542
2543 * mips.c (fatal): Remove declaration.
2544
25451997-12-18 Mark Mitchell <mmitchell@usa.net>
2546
2547 * integrate.c (get_label_from_map): New function.
2548 (expand_inline_function): Use it. Initialize the label_map to
2549 NULL_RTX instead of gen_label_rtx.
2550 (copy_rtx_and_substitute): Use get_label_from_map.
2551 * integrate.h (get_label_from_map): New function.
2552 (set_label_from_map): New macro.
2553 * unroll.c (unroll_loop): Use them.
2554 (copy_loop_body): Ditto.
2555
337e2b69
ILT
2556Thu Dec 18 19:19:57 1997 Ian Lance Taylor <ian@cygnus.com>
2557
2558 * mips/mips.h (INIT_SUBTARGET_OPTABS): Define if not defined.
2559 (INIT_TARGET_OPTABS): Define.
2560 * mips/ecoff.h: Include gofast.h before mips.h.
2561 (INIT_SUBTARGET_OPTABS): Define instead of INIT_TARGET_OPTABS.
2562 * mips/elf64.h: Likewise.
2563 * mips/elf.h (ASM_OUTPUT_SECTION_NAME): Define.
2564
02531345
JM
2565Thu Dec 18 14:51:12 1997 Jason Merrill <jason@yorick.cygnus.com>
2566
2567 * except.c: Remove register_exception_table{,_p}.
2568
913b5d54
GK
2569Thu Dec 18 14:57:29 1997 Gavin Koch <gavin@cygnus.com>
2570
efb84aa5
GK
2571 * unroll.c (calculate_giv_inc): Handle constant increment found in
2572 a MEM with an appropriate REG_EQUAL note.
2573
bb1b857a
GK
2574 * calls.c (expand_call): Implement LOAD_ARGS_REVERSED.
2575
913b5d54
GK
2576 * dwarf2out.c (dwarf2out_frame_debug): Handle adjustments of the
2577 frame pointer in the prologue.
2578
80aab652
RL
2579Thu Dec 18 00:19:38 1997 Robert Lipe <robertl@dgii.com>
2580
2581 * i386/x-sco5 (CLIB) Deleted. (ALLOCA) Added.
2582 * i386/xm-sco5.h (USE_C_ALLOCA) Added.
2583
f5c4bc60
BM
2584Tue Dec 16 18:51:00 1997 Bill Moyer <billm@cygnus.com>
2585
2586 * config/m68k/m68k.c (output_function_prologue): Typecast
2587 dwarf2out_cfi_label to (char *).
2588 * config/m68k/m68kemb.h (STARTFILE_SPEC): Redefined to "".
2589
8dcb5295
RH
2590Wed Dec 17 15:06:04 1997 Richard Henderson <rth@cygnus.com>
2591
2592 * sparc.md (jump): Don't use the annul bit around an empty loop.
2593 Patch from Kevin.Kelly@East.Sun.COM.
2594
a99503b1
SC
2595Wed Dec 17 00:51:36 1997 Stan Cox (scox@cygnus.com)
2596
1be6e437 2597 * jump.c: (jump_optimize): Don't use the return register as a
a99503b1
SC
2598 source1 of a conditional move.
2599
e13c943c
RH
2600Tue Dec 16 23:45:40 1997 Richard Henderson <rth@cygnus.com>
2601
2602 * sparc.c (DF_MODES): Or the mask not the bit number.
2603 (function_arg) [ARCH64]: Send unprototyped arg to fp reg first.
2604
be3d27d6
CI
2605Wed Dec 17 00:13:48 1997 Christian Iseli <Christian.Iseli@lslsun.epfl.ch>
2606
2607 * combine.c (force_to_mode): return immediately if operand is a CLOBBER.
2608
f184a264
MH
2609Tue Dec 16 23:44:54 1997 Manfred Hollstein <manfred@s-direktnet.de>
2610
ade7386a
MH
2611 * fixincludes (size_t): Add support for Motorola's stdlib.h
2612 which fails to provide a definition for size_t.
2613 (fabs/hypot): Provide a prototype for fabs on m88k-motorola-sysv3.
2614 (strlen,strspn,strcspn return value): Handle different layout on sysV88.
2615 (hypot): Provide a fake for hypot for m88k-motorola-sysv3.
2616
f184a264
MH
2617 * m68k/xm-mot3300.h (ADD_MISSING_POSIX, ADD_MISSING_XOPEN): Define to
2618 prevent unresolved externals in libio.
2619 * m88k/xm-sysv3.h (ADD_MISSING_POSIX, ADD_MISSING_XOPEN): Likewise.
2620
afc96791
L
2621Tue Dec 16 23:25:45 1997 H.J. Lu (hjl@gnu.org)
2622
2623 * config/sparc/linux64.h (LIBGCC_SPEC): Removed.
2624 (CPP_SUBTARGET_SPEC): Add %{pthread:-D_REENTRANT}.
2625 (LIB_SPEC): Updated for glibc 2.
2626
e9818f3c
JL
2627Tue Dec 16 20:11:36 1997 Jeffrey A Law (law@cygnus.com)
2628
2629 * ginclude/stdarg.h: Undo BeOS changes, they break hpux.
2630 * ginclude/varargs.h: Likewise.
2631
a3fd4e75 2632Tue Dec 16 00:32:01 1997 Jeffrey A Law (law@cygnus.com)
520cd331
JL
2633
2634 * version.c: Bump for snapshot.
2635
a3fd4e75
JL
2636Tue Dec 16 00:14:29 1997 H.J. Lu (hjl@gnu.org)
2637
2638 * frame.h (__register_frame, __register_frame_table,
2639 __deregister_frame): New.
2640 * frame.c (__register_frame, __register_frame_table,
2641 __deregister_frame): New.
2642 * frame.c (__deregister_frame_info): Return void *.
2643 * frame.h (__deregister_frame_info): Ditto.
2644 * collect2.c (__deregister_frame_info): Ditto.
2645
166cdf4a
RH
2646Mon Dec 15 18:40:08 1997 Richard Henderson <rth@cygnus.com>
2647
2648 * expmed.c (expand_shift): If SHIFT_COUNT_TRUNCATED, drop a SUBREG.
2649
bcbbac26
RH
2650Mon Dec 15 18:31:43 1997 Richard Henderson <rth@cygnus.com>
2651
2652 * alpha.c (alpha_cpu_name): New variable.
2653 (alpha_mlat_string): Likewise.
2654 (alpha_memory_latency): Likewise.
2655 (override_options): Handle -mmemory-latency.
2656 (alpha_adjust_cost): Adjust load cost for latency.
2657 * alpha.h (TARGET_OPTIONS): Add meory-latency.
2658 (REGISTER_MOVE_COST): Define in terms of memory_latency. Take
2659 TARGET_CIX into account.
2660 (MEMORY_MOVE_COST): Define in terms of memory_latency.
2661 * invoke.texi (DEC Alpha Options): Document -mmemory-latency.
2662
2663 * alpha.h (ASM_COMMENT_START): New macro.
2664
2665Mon Dec 15 17:48:05 1997 Richard Henderson <rth@cygnus.com>
1914f5da
RH
2666
2667 * reload.h, reload1.c (eliminate_regs), caller-save.c, dbxout.c,
2668 dwarfout.c, dwarf2out.c, reload.c, sdbout.c: Revert March 15 change.
2669
2670 * reload.c (push_reload): If WORD_REGISTER_OPERATIONS, reload the
2671 SUBREG_REG if the word count is unchanged.
2672 * reload1.c (eliminate_regs) [case SET]: If W_R_O, preserve
2673 subregs of identical word size for push_reload.
2674
a701efba
MM
2675Mon Dec 15 Mark Mitchell <mmitchell@usa.net> 11:41:32 1997
2676
2677 * toplev.c (rest_of_compilation): Don't call save_for_inline_copy
2678 if all we're doing is dealing with -Wreturn-type.
2679
5e21ac7a
RH
2680Mon Dec 15 09:44:39 1997 Richard Henderson <rth@cygnus.com>
2681
2682 * alpha.md (zero_extendqihi2, zero_extendqisi2, zero_extendqidi2):
2683 Use and 255 instead of zapnot 1, since it schedules better.
2684
296f8acc
JL
2685Mon Dec 15 08:48:24 1997 Jeffrey A Law (law@cygnus.com)
2686
2687 * stmt.c (expand_asm_operands): If an ASM has no outputs, then treat
2688 it as volatile.
2689
6d8ccdbb
JL
2690Mon Dec 15 00:04:48 1997 Jeffrey A Law (law@cygnus.com)
2691
2692 * haifa-sched.c (remove_dependencies): Set RTX_INTEGRATED_P on
2693 dependency we delete. Properly update prev for multiple consecutive
2694 deletions.
2695 (priority): Skip deleted dependence.
2696
14e83f2e
PB
2697Fri Dec 12 18:54:23 1997 Per Bothner <bothner@cygnus.com>
2698
2699 * expr.c (expand_builtin): Support BUILT_IN_FMOD - just call fmod.
2700
100d81d4
JM
2701Fri Dec 12 01:19:48 1997 Jason Merrill <jason@yorick.cygnus.com>
2702
9b8d9d6b
JM
2703 * flow.c (flow_analysis): Be consistent with find_basic_blocks in
2704 determining when a new basic block starts.
2705
74c3447c
JM
2706 * alpha/osf2or3.h (LIB_SPEC): Restore missing defn.
2707
2708 * pa.h (TEXT_SPACE_P): Use TREE_CODE_CLASS.
2709 * pa.md (iorsi3): Add missing args to *_operand calls.
2710
100d81d4
JM
2711 * except.c (call_get_eh_context): Don't mess with sequences.
2712 (emit_eh_context): Include the call in the sequence here.
2713
5a5ab947
PE
27141997-12-11 Paul Eggert <eggert@twinsun.com>
2715
2716 * collect2.c (write_c_file_glob): Allocate initial frame object
2717 in static storage and pass its address.
2718
01eb7f9a
JM
2719Thu Dec 11 23:33:48 1997 Jason Merrill <jason@yorick.cygnus.com>
2720
2721 * except.c (call_get_eh_context): Don't take a parm.
2722 Put the call at the top of the function.
2723 (emit_eh_context): Adjust.
2724 (get_eh_context): Replace with former use_eh_context.
2725 (get_eh_context_once, get_saved_pc_ref): Remove.
2726 (start_eh_unwinder, end_eh_unwinder, emit_unwinder): Remove.
2727 * except.h: Adjust.
2728 * integrate.c (expand_inline_function): Adjust.
2729 * toplev.c (rest_of_compilation): Don't call emit_unwinder.
2730
d19814a3
ML
2731Fri Oct 10 17:58:31 CEST 1997 Marc Lehmann <pcg@goof.com>
2732
2733 * i386/xm-go32.h (EXECUTABLE_SUFFIX): Define.
2734 (DIR_SEPARATOR, NO_SYS_SIGLIST): Likewise.
2735
7567d496
MH
2736Thu Dec 11 23:55:17 1997 Manfred Hollstein <manfred@s-direktnet.de>
2737
ade7386a 2738 * fixincludes (strlen,strspn,strcspn return value): Handle different
7567d496
MH
2739 layout on sysV88.
2740 (hypot): Provide a fake for hypot which is broken on
2741 m88k-motorola-sysv3.
2742
0a6969ad
JC
2743Thu Dec 11 23:50:17 1997 John F. Carr <jfc@mit.edu>
2744
2745 * tree.c, tree.h: Change tree_code_type, tree_code_length, and
2746 tree_code_name from pointers to arrays.
2747 * tree.c: Remove standard_tree_code_* variables, no longer used.
2748 * print-tree.c: Remove declaration of tree_code_name.
2749
2750 * cp/lex.c (init_lex): Update for tree_code_* changes.
2751 * objc/objc-act.c (init_objc): Likewise.
2752
2753 * tree.def, cp/cp-tree.def, objc/objc-tree.def: Update for tree_code
2754 changes.
2755
c55dcc7d
FF
2756Thu Dec 11 23:34:54 1997 Fred Fish <fnf@ninemoons.com>
2757
2758 * config.sub: Add support for BeOS target.
2759 * configure.in: Likewise.
2760 * ginclude/stdarg.h: Likewise.
2761 * ginclude/stddef.h: Likewise.
2762 * ginclude/varargs.h: Likewise.
2763 * rs6000/beos.h: New file for BeOS.
2764 * rs6000/t-beos: Likewise.
2765 * rs6000/x-beos: Likewise.
2766 * rs6000/xm-beos.h: Likewise.
2767 * toplev.c (get_run_time): Just return 0 on BeOS.
2768
9cf3ae46
JL
2769Thu Dec 11 23:25:23 1997 Jeffrey A Law (law@cygnus.com)
2770 Toon Moene (toon@moene.indiv.nluug.nl)
2771
2772 * m68k.h (GO_IF_LEGITIMATE_ADDRESS): No longer cater to horribly
2773 old and broken Sun3 assemblers. Newer versions handle large
2774 offsets correctly as does the GNU assembler.
2775
7cc273ad
L
2776Thu Dec 11 23:06:48 1997 H.J. Lu (hjl@gnu.ai.mit.edu)
2777
2778 * objc/objc-act.c (lang_report_error_function): Disable.
2779 * objc/objc-parse.y: Include "output.h".
2780 (yyerror): Remove redundant decl.
2781 (yyprint): Fix prototype.
2782 (apply_args_register_offset): Remove redundant decl.
2783 (get_file_function_name): Likewise.
2784
74d7ab55
JM
2785Thu Dec 11 22:02:10 1997 Jason Merrill <jason@yorick.cygnus.com>
2786
2787 * flow.c (find_basic_blocks): A CALL_INSN that can throw starts
2788 a new basic block.
2789 (find_basic_blocks_1): Likewise.
2790
0776059e
JM
2791Thu Dec 11 21:08:48 1997 Jason Merrill <jason@yorick.cygnus.com>
2792
2793 * except.c (use_eh_context): Don't copy_rtx a REG.
2794 (emit_throw): Lose old unwinder support.
2795 (expand_internal_throw): Likewise.
2796 * libgcc2.c (struct eh_context): Likewise.
2797 (new_eh_context): Likewise.
2798 (__get_eh_info): Lose redundant cast.
2799 (__get_dynamic_handler_chain): Likewise.
2800 (__get_saved_pc): Lose.
2801 Lose all old unwinder support code.
2802
154bba13
TT
2803Thu Dec 11 20:42:18 1997 Teemu Torma <tot@trema.com>
2804
2805 Thread-safe EH support for pthreads, DCE threads and Solaris threads.
2806
2807 * integrate.c (expand_inline_function): If the inline fn uses eh
2808 context, make sure that the current fn has one.
2809 * toplev.c (rest_of_compilation): Call emit_eh_context.
2810 * except.c (use_eh_context): New fn.
2811 (get_eh_context_once): New fn.
2812 (call_get_eh_context): New fn.
2813 (emit_eh_context): New fn.
2814 (get_eh_context): Call either get_eh_context_once or
2815 call_get_eh_context, depending on what we have.
2816 (get_dynamic_handler_chain): Call get_eh_context_once.
2817 * except.h: Prototypes for fns above.
2818 * optabs.c (get_eh_context_libfunc): Removed.
2819 (init_optabs): Don't initialize it.
2820 * expr.h (get_eh_context_libfunc): Removed.
2821 * rtl.h, rtl.c: New reg_note REG_EH_CONTEXT.
2822 * config/pa/pa.h (CPP_SPEC): Support for -threads.
2823 * config/pa/pa-hpux10.h (LIB_SPEC): Ditto.
2824 * config/pa/t-pa (MULTILIB_OPTIONS, MULTILIB_DIRNAMES):
2825 New multilib for -threads.
2826 * config/sparc/t-sol2: Added multilibs for -threads and
2827 made -pthreads alias to it.
2828 * config/sparc/sol2.h (CPP_SPEC, LIB_SPEC):
2829 Added -threads and -pthreads options.
2830 * libgcc-thr.h: New file.
2831 * libgcc2.c: (__get_cpp_eh_context): Removed.
2832 (struct cpp_eh_context): Removed.
2833 (struct eh_context): Replaced cpp_eh_context with generic language
2834 specific pointer.
2835 (__get_eh_info): New function.
2836 (__throw): Check eh_context::info.
2837 (__sjthrow): Ditto.
2838 * libgcc2.c: Include libgcc-thr.h.
2839 (new_eh_context, __get_eh_context,
2840 eh_pthread_initialize, eh_context_initialize, eh_context_static,
2841 eh_context_specific, eh_context_free): New functions.
2842 (get_eh_context, eh_context_key): New variables.
2843 (__sjthrow, __sjpopnthrow, __eh_pcnthrow, __throw): Use
2844 get_eh_context to get the context.
2845 (longjmp): Move the declaration inside
2846 #ifdef DONT_USE_BUILTIN_SETJMP.
2847 * frame.c: Include libgcc-thr.h.
2848 (object_mutex): Mutex to protect the object list.
2849 (find_fde, __register_frame, __register_frame_table,
2850 __deregister_frame): Hold the lock while accessing objects.
2851 * except.h (get_eh_context): Declare.
2852 * except.c (current_function_ehc): Define.
2853 (current_function_dhc, current_function_dcc): Removed.
2854 (get_eh_context): New function.
2855 (get_dynamic_handler_chain): Use get_eh_context.
2856 (get_saved_pc_ref): Ditto.
2857 (get_dynamic_cleanup_chain): Removed references to
2858 current_function_dcc.
2859 (save_eh_status, restore_eh_status): Save and restore
2860 current_function_ehc instead.
2861 * optabs.c (get_eh_context_libfunc): New variable.
2862 (init_optabs): Initialize it.
2863 * expr.h: Declare get_eh_context_libfunc.
2864 * function.h (struct function): Replaced dhc and dcc with ehc.
2865 * except.c (get_saved_pc_ref): New functions.
2866 (eh_saved_pc_rtx, eh_saved_pc): Deleted.
2867 (expand_internal_throw_indirect): Use get_saved_pc_ref() instead
2868 of eh_saved_pc.
2869 (end_eh_unwinder): Likewise.
2870 (init_eh): Remove initialization of eh_saved_pc.
2871 * optabs.c (get_saved_pc_libfunc): New variable.
2872 (init_optabs): Initialize it.
2873 * expr.h: Declare get_saved_pc_libfunc.
2874 * except.h (eh_saved_pc_rtx): Deleted.
2875 (get_saved_pc_ref): Declared.
2876
2877 From Scott Snyder <snyder@d0sgif.fnal.gov>:
2878 * libgcc2.c (__get_saved_pc): New.
2879 (__eh_type, __eh_pc): Deleted.
2880 (__eh_pcnthrow): Use __get_saved_pc() instead of __eh_pc.
2881 (__get_dynamic_handler_chain): Move __dynamic_handler_chain inside
2882 this fcn.
2883
68d75312
JC
2884Thu Dec 11 17:23:48 1997 John F. Carr <jfc@mit.edu>
2885
b16d8734
JC
2886 * sparc/sol2.h: Use 64 bit multiply and divide functions in
2887 Solaris libc. Define TARGET_LIVE_G0 and TARGET_BROKEN_SAVERESTORE
2888 as 0.
2889
68d75312
JC
2890 * rtl.h (global_rtl): New variable, replacing separate variables for
2891 commonly used rtl.
2892 (const_int_rtx): Now array of rtx_def, not rtx.
2893 * emit-rtl.c: Update for new rtl data structures.
2894 * genattrtab.c: Define global_rtl.
2895
44517326 2896Thu Dec 11 15:50:29 1997 David Edelsohn <edelsohn@mhpcc.edu>
f40421ce 2897
44517326
DE
2898 * configure.in ({rs6000,powerpc}-*-*): Enable Haifa scheduler by
2899 default.
f40421ce 2900
8587487b
AG
2901Wed Dec 10 12:30:18 1997 Anthony Green <green@cygnus.com>
2902
2903 * crtstuff.c (__do_global_ctors): Fix typo.
2904
08ce3276
MH
2905Tue Dec 9 09:43:59 1997 Manfred Hollstein <manfred@s-direktnet.de>
2906
2907 * toplev.c (main): Check HAVE_GETRLIMIT and HAVE_SETRLIMIT in addition
2908 to RLIMIT_STACK to see if we can call getrlimit and setrlimit.
2909
c229cba9
DE
2910Tue Dec 9 09:38:58 1997 David Edelsohn <edelsohn@mhpcc.edu>
2911
2912 * rs6000.h (FUNCTION_ARG_PADDING): Define.
2913 * rs6000.c (function_arg_padding): New function.
2914
b2c59d0b
MH
2915Tue Dec 9 10:34:21 1997 Manfred Hollstein <manfred@s-direktnet.de>
2916
2917 * m68k.c: Include tree.h only once.
2918
c1132c27
RK
2919Tue Dec 9 09:32:33 1997 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
2920
2921 * integrate.c (save_for_inline_copying): Make a new reg_parm_stack_loc.
2922
ac957f13
JL
2923Tue Dec 9 01:16:06 1997 Jeffrey A Law (law@cygnus.com)
2924
2925 * Partially cleaned up prototyping code from HJ.
a1d061a1 2926 * tree.h: Add many prototypes.
ac957f13
JL
2927 * haifa-sched.c (haifa_classify_insn): Renamed from classify_insn.
2928 All references changed.
2929 * rtl.h: Protect from multiple inclusions. Add many prototypes.
2930
f40421ce 2931Tue Dec 9 01:15:15 1997 Fred Fish <fnf@ninemoons.com>
ac957f13
JL
2932
2933 * libgcc2.c (string.h): Hoist inclusion to occur before first use of
2934 string functions like strlen.
2935
0a232106
MH
2936Tue Dec 9 00:57:38 1997 Manfred Hollstein <manfred@s-direktnet.de>
2937
2938 * configure.in: Check for functions getrlimit and setrlimit.
2939 * cccp.c (main): Check HAVE_GETRLIMIT and HAVE_SETRLIMIT in addition
2940 to RLIMIT_STACK to see if we can call getrlimit and setrlimit.
2941
25b76cc1
JS
2942Mon Dec 8 23:53:26 1997 Jay Sachs <sachs@bull.cs.williams.edu>
2943
2944 * Makefile.in (compare*): Handle losing behavior from 4.4bsd make.
2945
26250081
RH
2946Mon Dec 8 21:03:28 1997 Richard Henderson <rth@cygnus.com>
2947
2948 * alpha.c (REG_RA, alpha_return_addr, output_epilog):
2949 Fix merge problems.
2950
2951 * alpha.c (override_options): Don't know about scheduling for EV6.
2952 * alpha.md (ev5 function units): Don't overload as ev6.
2953
2954 * alpha.c (alpha_adjust_cost): Simplify. Fix typo in ev5 mult case.
2955 * alpha.md (define_attr type): Add mvi.
2956 (ev5_e0): Define sceduling parameters for it.
2957 (TARGET_MAX insns): Type is mvi not shift.
2958
7120f213
RH
2959Mon Dec 8 18:15:00 1997 Richard Henderson <rth@cygnus.com>
2960
2961 * alpha/win-nt.h (TRAMPOLINE_TEMPLATE): Fix backported gcc-2.8 bug.
2962
afa80947
R
2963Mon Dec 8 21:17:28 1997 J"orn Rennecke <amylaar@cygnus.co.uk>
2964
2965 * cstamp-h, auto-config.h: Delete.
2966
51ca169b
JL
2967Sun Dec 7 19:19:03 1997 Jeffrey A Law (law@cygnus.com)
2968
2969 * version.c: Bump for snapshot.
2970
16169366
JL
2971Sat Dec 6 22:22:22 1997 Jeffrey A Law (law@cygnus.com)
2972
2973 * cccp.c: Fix typo brought over in merge.
2974
efeb5d4f 2975 * Merge in changes from gcc-2.8.
0fe09481 2976
da932f04
JL
2977Mon Nov 3 05:45:32 1997 Philippe De Muyter <phdm@macqel.be>
2978
2979 * m68k.c: Include tree.h for dwarf2out_cfi_label.
2980
2981 * gcc.c (process_command): Do not take address of function fatal when
2982 calling lang_specific_driver.
2983
2984Sat Dec 6 01:02:38 1997 Mumit Khan <khan@xraylith.wisc.edu>
2985
2986 * config/i386/cygwin32.h (DWARF2_UNWIND): Exception handling
2987 doesn't work with it yet, so set it to 0.
2988 * config/i386/xm-cygwin32.h (NO_SYS_SIGLIST): Define.
2989
2990Sat Dec 6 01:01:02 1997 Christian Iseli <Christian.Iseli@lslsun.epfl.ch>
2991
2992 * cse.c (cse_insn): Check for invalid entries when taking references.
2993
81797aba
JL
2994Fri Dec 5 18:26:25 1997 J"orn Rennecke <amylaar@cygnus.co.uk>
2995
2996 * loop.c (invariant_p): Don't test flag_rerun_loop_opt.
2997 (loop_optimize, scan_loop, strength_reduce): New argument unroll_p.
2998 * toplev.c (rest_of_compilation): Pass it. Remove code to
2999 save / clear / restore flag_unroll_{,all_}loops.
3000
3001Fri Dec 5 16:26:03 1997 Bernd Schmidt <crux@ohara.Informatik.RWTH-Aachen.DE>
3002
3003 * i386.c (notice_update_cc): Remove bogus pentium GCC code.
3004
3005Fri Dec 5 16:25:14 1997 Jeffrey A Law (law@cygnus.com)
3006
3007 * stmt.c (warn_if_unused_value): Don't warn for TRY_CATCH_EXPR.
3008
5dfa7520
JM
3009Thu Dec 4 11:51:00 1997 Jason Merrill <jason@yorick.cygnus.com>
3010
d07daca1
JM
3011 * except.c (get_dynamic_handler_chain): Only make the call once per
3012 function.
3013
5dfa7520
JM
3014 * except.c (expand_end_all_catch): Fix for sjlj exceptions.
3015
4d7b7169
R
3016Thu Dec 4 12:30:40 1997 J"orn Rennecke <amylaar@cygnus.co.uk>
3017
3018 * sh.c (final_prescan_insn): Use local label prefix
3019 when emitting .uses pseudo-ops.
3020
e701eb4d
JM
3021Wed Dec 3 12:01:56 1997 Jason Merrill <jason@yorick.cygnus.com>
3022
3023 * libgcc2.c (__throw): Use __builtin_return_addr instead of __eh_pc.
3024 * except.c: Lose outer_context_label_stack.
3025 (expand_eh_region_end): Rethrow from outer_context here.
3026 (expand_fixup_region_end): Let expand_eh_region_end do the rethrow.
3027 (expand_internal_throw): Take no args.
3028 (expand_internal_throw_indirect): Lose.
3029 (expand_leftover_cleanups, expand_start_all_catch): Use expand_rethrow.
3030 (expand_start_all_catch): Start a rethrow region.
3031 (expand_end_all_catch): End it.
3032 (expand_rethrow): New fn.
3033 * except.h: Reflect above changes.
3034 * flow.c: Revert change of Nov 27.
3035
6a242b6a
JL
3036Thu Dec 4 00:24:09 1997 Jeffrey A Law (law@cygnus.com)
3037
3038 * i386/t-sol2 (CRTSTUFF_T_CFLAGS): Turn on the optimizer.
3039
9762d48d
JM
3040Wed Dec 3 12:01:56 1997 Jason Merrill <jason@yorick.cygnus.com>
3041
3042 * except.c (expand_fixup_region_end): New fn.
3043 (expand_fixup_region_start): Likewise.
3044 (expand_eh_region_start_tree): Store cleanup into finalization here.
3045 * stmt.c (expand_cleanups): Use them to protect fixups.
3046
868e82ab
GK
3047Wed Dec 3 11:41:13 1997 Gavin Koch <gavin@cygnus.com>
3048
3049 * mips/mips.md (muldi3_r4000): Broaden the output template
3050 and attribute assignments to handle three operand dmult;
3051 rename to muldi3_internal2.
3052 (muldi3): Call the new muldi3_internal2 for R4000, and
3053 any GENERATE_MULT3 chip.
3054
716cc7f7
JM
3055Tue Dec 2 19:40:43 1997 Jason Merrill <jason@yorick.cygnus.com>
3056
3057 * stmt.c (expand_decl_cleanup): Update thisblock after eh_region_start.
3058
9fb82071
JW
3059Tue Dec 2 12:54:33 1997 Jim Wilson <wilson@cygnus.com>
3060
3061 * unroll.c (find_splittable_givs): Remove last change. Handle givs
3062 with a dest_reg that was created by loop.
3063
f2d76545
JL
3064Sat Nov 29 12:44:57 1997 David Edelsohn <edelsohn@mhpcc.edu>
3065
3066 * rs6000.c (function_arg_partial_nregs): Undo Nov. 26 patch.
3067
3068 * rs6000/aix41.h (ASM_CPU_SPEC): Define.
3069
b4dfb707
JL
3070Fri Nov 28 10:00:27 1997 Jeffrey A Law (law@cygnus.com)
3071
3072 * configure.in: Fix NCR entries.
3073
80c2681c
JL
3074Thu Nov 27 12:20:19 1997 Jeffrey A Law (law@cygnus.com)
3075
586a5f99
JL
3076 * flow.c (find_basic_blocks): Handle cfg issues for rethrows and
3077 nested exceptions correctly.
3078
80c2681c
JL
3079 * unroll.c (find_splittable_givs): Don't split givs with a dest_reg
3080 that was created by loop.
3081
f45ebe47
JL
3082Thu Nov 27 09:34:58 1997 Jason Merrill <jason@yorick.cygnus.com>
3083
3084 * expr.c (preexpand_calls): Don't look past a TRY_CATCH_EXPR.
3085
3086 * except.c (expand_start_all_catch): One more do_pending_stack_adjust.
3087
034e84c4
MM
3088Wed Nov 26 15:47:30 1997 Michael Meissner <meissner@cygnus.com>
3089
8fbd2dc7
MM
3090 * rs6000.c (SMALL_DATA_REG): Register to use for small data relocs.
3091 (print_operand): Use SMALL_DATA_REG for the register involved in
3092 small data relocations.
3093 (print_operand_address): Ditto.
3094
3095 * rs6000/linux.h (LINK_SPEC): Pass -dynamic-linker /lib/ld.so.1 if
3096 -dynamic linker is not used.
3097
a226df46
MM
3098 * rs6000.md (call insns): For local calls, use @local suffix under
3099 System V. Don't use @plt under Solaris.
3100
034e84c4
MM
3101 * rs6000.c (output_function_profiler): Put label address in r0, and
3102 store LR in 4(sp) for System V/eabi.
3103
3104 * rs6000.h (ASM_OUTPUT_REG_{PUSH,POP}): Keep stack aligned to 16
3105 byte boundary, and maintain stack backchain.
3106
f2d76545
JL
3107Tue Nov 25 14:08:12 1997 Jim Wilson <wilson@cygnus.com>
3108
3109 * mips.md (fix_truncdfsi2, fix_truncsfsi2, fix_truncdfdi2,
3110 fix_truncsfdi2): Change *.
3111
33e5c8c3
JM
3112Wed Nov 26 11:12:26 1997 Jason Merrill <jason@yorick.cygnus.com>
3113
3114 * toplev.c (main): Complain about -gdwarfn.
3115
f45ebe47
JL
3116Tue Nov 25 22:43:30 1997 Jason Merrill <jason@yorick.cygnus.com>
3117
3118 * dwarfout.c (output_type): If finalizing, write out nested types
3119 of types we've already written.
3120
92dcf4c8
MM
3121Tue Nov 25 20:32:24 1997 Michael Meissner <meissner@cygnus.com>
3122
3123 (patches originally from Geoffrey Keating)
3124 * rs6000.c (function_arg): Excess floating point arguments don't
3125 go into GPR registers after exhausting FP registers under the
3126 System V.4 ABI.
3127 (function_arg_partial_nregs): Ditto.
3128
3129 * rs6000.md (call insns): If -fPIC or -mrelocatable, add @plt
3130 suffix to calls.
3131
f4744807
JM
3132Tue Nov 25 23:37:27 1997 Jason Merrill <jason@yorick.cygnus.com>
3133
3134 * integrate.c (output_inline_function): Just unset DECL_INLINE.
3135
3136Tue Nov 25 23:33:29 1997 scott snyder <snyder@d0sgif.fnal.gov>
3137
3138 * dwarf2out.c (outout_call_frame_info): Ensure that the info has
3139 proper alignment.
3140
3141 * libgcc2.c (__throw): Initialize HANDLER.
3142
0609f021
JW
3143Tue Nov 25 14:08:12 1997 Jim Wilson <wilson@cygnus.com>
3144
3145 * mips.md (fix_truncdfsi2, fix_truncsfsi2, fix_truncdfdi2,
3146 fix_truncsfdi2): Change *X to ?*X.
3147
c905c108
RH
3148Tue Nov 25 10:00:42 1997 Richard Henderson (rth@cygnus.com)
3149
3150 * alpha.h (CONST_OK_FOR_LETTER): Fix 'L' handling.
3151
5041a61c
JL
3152Tue Nov 25 10:00:42 1997 Jeffrey A Law (law@cygnus.com)
3153
3154 * crtstuff.c (do_global_dtors_aux): Handle multiple calls better.
3155
bb727b5a
JM
3156Tue Nov 25 01:26:55 1997 Bruno Haible <haible@ilog.fr>:
3157
3158 * dwarf2out.c (ASM_OUTPUT_DWARF_DELTA1): Implement.
3159
3160Mon Nov 24 22:41:55 1997 Jason Merrill <jason@yorick.cygnus.com>
3161
3162 * except.c (get_dynamic_handler_chain): Build up a FUNCTION_DECL.
3163 * optabs.c (init_optabs): Lose get_dynamic_handler_chain_libfunc.
3164 * expr.h: Likewise.
3165
f45ebe47
JL
3166Sat Nov 22 18:58:20 1997 Jeffrey A Law (law@cygnus.com)
3167
3168 * pa-hpux10.h (NEW_HP_ASSEMBLER): Define.
3169 * pa.h (LEGITIMATE_CONSTANT_P): Reject LABEL_REFs if not using
3170 gas and not using the new HP assembler.
3171
ef85603e
JL
3172Fri Nov 21 15:20:05 1997 Jeffrey A Law (law@cygnus.com)
3173
3174 * Makefile.in (program_transform_cross_name): Clean up "-e" confusion.
3175 (GCC_INSTALL_NAME, GCC_CROSS_NAME): Likewise.
3176
6cc1f5cb
AC
3177Fri Nov 21 19:37:40 1997 Andrew Cagney <cagney@b1.cygnus.com>
3178
3179 * config/mips/elf64.h (MULTILIB_DEFAULTS): Test for
3180 TARGET_ENDIAN_DEFAULT == zero instead of testing for macro
3181 definition.
3182
72eb1038
BH
3183Fri Nov 21 12:49:56 1997 Bruno Haible <bruno@linuix.mathematik.uni-karlsruhe.de>
3184
3185 * stmt.c (expand_end_bindings): Allow jump into block with cleanups.
3186
1418bb67
JM
3187Fri Nov 21 12:18:51 1997 Jason Merrill <jason@yorick.cygnus.com>
3188
3189 * except.h: Add outer_context_label_stack.
3190 * except.c: Likewise.
3191 (expand_start_all_catch): Push the outer_context for the try block
3192 onto outer_context_label_stack.
3193 (expand_end_all_catch): Use it and pop it.
3194
9dab7833
RL
3195Fri Nov 21 10:13:11 1997 Robert Lipe (robertl@dgii.com)
3196
3197 * i386/sco5.h (HAVE_ATEXIT): Revert last change.
3198
858e4e8c
RH
3199Thu Nov 20 16:11:50 1997 Richard Henderson <rth@cygnus.com>
3200
3201 * alpha.c (alpha_emit_set_const_1): Handle narrow hosts better.
3202
a21d14e9
KK
3203Thu Nov 20 16:11:50 1997 Klaus Kaempf <kkaempf@progis.de>
3204
3205 * alpha/vms.h (ASM_OUTPUT_ADDR_VEC_ELT): Add an L for the local label
3206 to correspond with the change to ASM_GENERATE_INTERNAL_LABEL.
3207
ced78d8b
JM
3208Thu Nov 20 14:42:15 1997 Jason Merrill <jason@yorick.cygnus.com>
3209
3210 * Makefile.in (LIB2FUNCS): Remove C++ memory management support.
3211 * libgcc2.c: Remove __builtin_new, __builtin_vec_new, set_new_handler,
3212 __builtin_delete, and __builtin_vec_delete.
3213
3214 * except.c (output_exception_table): Don't bother with
3215 __EXCEPTION_END__.
3216
a09ff88b
JL
3217Thu Nov 20 16:11:50 1997 Jeffrey A Law (law@cygnus.com)
3218
1b8b89f1
JL
3219 * pa.md (pre_stwm, post_stwm, pre_ldwm, post_ldwm): Base register
3220 is an in/out operand.
3221 (zero extended variants of stwm/stwm patterns): Similarly.
3222
a09ff88b
JL
3223 * mips/x-iris (FIXPROTO_DEFINES): Add -D_SGI_SOURCE.
3224
7bb9fb0e
JM
3225Thu Nov 20 13:19:32 1997 Jason Merrill <jason@yorick.cygnus.com>
3226
3227 * dwarf2out.c (ASM_OUTPUT_DWARF_OFFSET4): Rename from VALUE4.
3228 Use assemble_name.
3229 (ASM_OUTPUT_DEFINE_LABEL_DIFFERENCE_SYMBOL): Use assemble_name.
3230 (output_call_frame_info): Emit a \n after using it.
3231
9101297d
DL
3232Thu Nov 20 00:38:46 1997 Dave Love <d.love@dl.ac.uk>
3233
3234 * configure.in: Add AC_ARG_ENABLE for Haifa as documentation.
3235
2ed2af28
PDM
3236Wed Nov 19 12:03:04 1997 Philippe De Muyter <phdm@macqel.be>
3237
3238 * dwarf2out.c (CIE_LENGTH_LABEL, FDE_LENGTH_LABEL): New macros.
3239 (ASM_OUTPUT_DWARF_VALUE4): New macro.
3240 (ASM_OUTPUT_DEFINE_LABEL_DIFFERENCE_SYMBOL): Define if SET_ASM_OP is
3241 defined.
3242 (output_call_frame_info): Do not output forward label differences
3243 if ASM_OUTPUT_DEFINE_LABEL_DIFFERENCE_SYMBOL is defined.
3244 * m68k/mot3300.h (SET_ASM_OP): Define when not using gas.
3245
4dff12bf
R
3246Tue Nov 18 23:03:30 1997 J"orn Rennecke <amylaar@cygnus.co.uk>
3247
3248 * sh.md (attribute "type"): Add nil.
3249 (movsi_ie): y/y alternative is type nil.
3250 (movsf_ie): Replace ry/yr/X alternative by r/y/X , y/r/X and y/y/X
3251 alternatives.
3252 (movsf_ie+1): Delete.
3253
218c2cdb
JW
3254Tue Nov 18 15:39:59 1997 Jim Wilson <wilson@cygnus.com>
3255
3256 * mips/mips.c (save_restore_insns): If gp_offset or fp_offset are
3257 large_int, emit two insns instead of one splitable insn.
3258 * dwarf2out.c (dwarf2out_frame_debug): When set cfa_store_offset
3259 from cfa_temp_value, use cfa_offset. Add assert checking that
3260 cfa_reg is SP.
3261
d5b79362
TT
3262Mon Nov 17 15:35:38 1997 Tom Tromey <tromey@cygnus.com>
3263
3264 * cccp.c (deps_output): Properly quote file names for make.
3265
de1ea87a
JL
3266Mon Nov 17 13:21:40 1997 Jeffrey A Law (law@cygnus.com)
3267
3268 * t-h8300 (MULTILIB_EXCEPTIONS): Define.
3269
cb0112a7
RL
3270Fri Nov 7 15:33:11 1997 Robert Lipe (robertl@dgii.com)
3271
3272 * i386/sco5.h (HAVE_ATEXIT): Delete definition.
3273
85c3ba60
JL
3274Sun Nov 16 23:52:48 1997 Jeffrey A Law (law@cygnus.com)
3275
3276 * cse.c (cse_insn): Don't look at JUMP_LABEL field of a conditionl
3277 return.
3278 (cse_end_of_basic_block): Similarly.
ef720b21 3279
9155d500
KJ
3280Sun Nov 16 23:01:40 1997 J. Kean Johnston <jkj@sco.com>
3281
3282 * i386/sco5.h (ASM_OUTPUT_ALIGNED_BSS): Define.
3283 (SELECT_RTX_SECTION): Define.
3284 (LIBGCC_SPEC, LIB_SPEC): Do the right thing for PIC.
3285
4931312c
MH
3286Sun Nov 16 22:47:03 1997 Manfred Hollstein <manfred@s-direktnet.de>
3287
3288 * Makefile.in (compare, compare-lean): Define $stage for each
3289 shell command.
3290 (gnucompare, gnucompare-lean): Likewise.
3291
8dfe3c62
RH
3292Sun Nov 16 22:02:16 1997 Richard Henderson (rth@cygnus.com)
3293
3294 * alpha/win-nt.h (TRAMPOLINE_TEMPLATE): Fix offsets.
3295
3296 * alpha.h (ASM_OUTPUT_ADDR_DIFF_ELT): Add an L for the local label
3297 to correspond with the change to ASM_GENERATE_INTERNAL_LABEL.
3298
874a8709
FF
3299Fri Nov 14 09:09:20 1997 Fred Fish (fnf@cygnus.com)
3300
3301 * dwarfout.c (byte_size_attribute): Add local var upper_bound
3302 and add case to handle STRING_TYPE.
3303 * dwarfout.c (output_string_type_die): Fix code to generate
3304 correct string length attribute for fixed length strings.
3305 Still needs support for varying length strings.
3306
ea466196
JL
3307Fri Nov 14 08:46:56 1997 Jeffrey A Law (law@cygnus.com)
3308
3309 * toplev.c (get_run_time): Do something sensible for cygwin32.
3310
202f590e
RH
3311Fri Nov 14 07:24:20 1997 Richard Henderson <rth@cygnus.com>
3312
f35bcbc5
RH
3313 * expr.c (expand_builtin_setjmp): Set
3314 current_function_has_nonlocal_label.
3315 * stupid.c (stupid_life_analysis): If has_nonlocal_label, kill
3316 call-saved registers across calls.
3317
3318 * alpha.md (exception_receiver): Remove.
3319 (nonlocal_goto_receiver_osf): New
3320 (nonlocal_goto_receiver_vms): Renamed from nonlocal_goto_receiver.
3321 (nonlocal_goto_receiver): New, select _osf or _vms.
3322
531ea24e
RH
3323 * alpha.c (output_prolog [*]): Prefix entry labels with '$' to
3324 keep them from being propogated to the object file.
3325 (alpha_write_linkage): Likewise.
3326 * alpha.md (call_vms): Likewise.
3327 (call_value_vms): Likewise.
3328 (unnamed osf call insns): Likewise.
3329
3330 * alpha.h (ASM_OUTPUT_INTERNAL_LABEL): Don't omit L from local label.
3331 (ASM_GENERATE_INTERNAL_LABEL): Likewise.
3332
202f590e
RH
3333 * alpha.c (call_operand): Any reg is valid for WinNT.
3334 * alpha.md (call_nt, call_value_nt): Don't force address into $27.
3335 (anon nt calls): Add 'R' alternative.
3336 * alpha/win-nt.h (TRAMPOLINE_TEMPLATE, TRAMPOLINE_SIZE,
3337 INITIALIZE_TRAMPOLINE): Handle lack of original $27 and 32-bit ptrs.
3338
238ad62b
JL
3339Fri Nov 14 06:59:33 1997 Jeffrey A Law (law@cygnus.com)
3340
f78b5ca1
JL
3341 * calls.c (expand_call): Handle pcc_struct_value correctly for C++.
3342
238ad62b
JL
3343 * i386/xm-cygwin32.h (HAVE_FILE_H, HAVE_RUSAGE): Delete defines.
3344 * i386/xm-mingw32.h (HAVE_FILE_H, HAVE_RUSAGE): Likewise.
3345 * rs6000/xm-cygwin32.h (HAVE_FILE_H, HAVE_RUSAGE): Likewise.
3346
da275344
MM
3347Thu Nov 13 20:37:33 1997 Michael Meissner <meissner@tiktok.cygnus.com>
3348
3349 * reload1.c (new_spill_reg): Improve fixed or forbidden register
3350 spill error message.
3351
1f1e1545
KG
3352Thu Nov 13 20:29:08 1997 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3353
3354 * prefix.c: Use stdarg.h only ifdef __STDC__. Otherwise,
3355 use varargs.h. Wrap header with <>, not "".
3356
daa4b717
JL
3357Thu Nov 13 20:21:17 1997 Jeffrey A Law (law@cygnus.com)
3358
3359 * integrate.c (save_for_inline_copying): Add return value from
3360 savealloc.
3361
9bb5394e
BK
3362Thu Nov 13 19:12:33 1997 Brendan Kehoe <brendan@cygnus.com>
3363
3364 * fixincludes: Be a little more restrictive on what we will
3365 substitute to replace definitions of MAXINT for HPUX.
3366
9571f69b
MM
3367Thu Nov 13 18:41:02 1997 Michael Meissner <meissner@cygnus.com>
3368
3369 * dbxout.c (dbxout_symbol_location): Don't assume that variables
3370 whose address is the stack or argument pointers are indirect
3371 pointers.
3372
e7cbb6b6
PE
33731997-11-13 Paul Eggert <eggert@twinsun.com>
3374
3375 * cccp.c, cpplib.c (compare_defs):
3376 Don't complain about arg name respellings unless pedantic.
3377 * cpplib.c (compare_defs): Accept pfile as new arg.
3378 All callers changed.
3379
9f29ca78
R
3380Thu Nov 13 23:33:50 1997 J"orn Rennecke <amylaar@cygnus.co.uk>
3381
3382 * fold-const.c (fold_truthop): Fix bug in last change.
3383
41c9120b
PE
33841997-11-13 Paul Eggert <eggert@twinsun.com>
3385
3386 Fix some confusion with IEEE minus zero.
3387
3388 * real.h (REAL_VALUES_IDENTICAL): New macro.
3389
3390 * expr.c (is_zeros_p): Don't consider -0.0 to be all zeros.
3391 * fold-const.c (operand_equal_p): Don't consider -0.0 to be
3392 identical to 0.0.
3393 * tree.c (simple_cst_equal): Don't consider -0.0 to have the
3394 same tree structure as 0.0.
3395
3396 * varasm.c (immed_real_const_1): Use new REAL_VALUES_IDENTICAL
3397 macro instead of doing it by hand.
3398
323d8e7b
JL
3399Thu Nov 13 16:56:14 1997 Jeffrey A Law (law@cygnus.com)
3400
3401 * v850/lib1funcs.asm: Minor whitespace changes.
3402 * v850.c: Fix minor formatting problems in many places.
3403 (construct_restore_jr, construct_save_jarl): Remove unwanted aborts.
3404
13529ea4
JW
3405Thu Nov 13 12:53:44 1997 Jim Wilson <wilson@cygnus.com>
3406
3407 * mips.h (GO_IF_LEGITIMATE_ADDRESS): Delete code swapping xplus0 and
3408 xplus1 when xplus0 is not a register.
3409
759c135e
JL
3410Thu Nov 13 11:41:42 1997 Jeffrey A Law (law@cygnus.com)
3411
8930b063
JL
3412 * flow.c (find_basic_blocks): During marking phase, if we encounter
3413 an insn with a REG_LABEL note, make the target block live and
3414 create an edge from the insn to the target block. Do not make
3415 edges from all blocks to the target block.
3416
0be28489
JL
3417 * m68k/x-next (OTHER_FIXINCLUDES_DIRS): Include /NextDeveloper/Headers.
3418
759c135e
JL
3419 * confiugre.in: Tweak NCR entries.
3420 * configure: Rebuilt.
3421
47ad8c61
MM
3422Thu Nov 13 11:07:41 1997 Michael Meissner <meissner@cygnus.com>
3423
3424 * rs6000.c (num_insns_constant): Use REAL_VALUE_FROM_CONST_DOUBLE to
3425 pick apart floating point values, instead of using CONST_DOUBLE_LOW
3426 and CONST_DOUBLE_HIGH.
3427
3428 * rs6000.md (define_splits for DF constants): Use the appropriate
3429 REAL_VALUE_* interface to pick apart DF floating point constants in
3430 a machine independent fashion.
3431
5a6b3365
R
3432Thu Nov 13 00:06:58 1997 J"orn Rennecke <amylaar@cygnus.co.uk>
3433
3434 * fold-const.c (fold_truthop): When changing a one-bit comparison
3435 against zero into a comparison against mask, do a proper sign
3436 extension.
3437
2ec1535d
JL
3438Wed Nov 12 09:37:01 1997 Jeffrey A Law (law@cygnus.com)
3439
3a88cbd1
JL
3440 * except.c: Do not include "assert.h".
3441 (save_eh_status): Turn asserts into conditional aborts.
3442 (restore_eh_status, scan_region): Likewise.
3443 * dwarfout.c: Do not include "assert.h".
3444 (bit_offset_attribute): Turn asserts into conditional aborts.
3445 (bit_size_attribute, output_inlined_enumeration_type_die): Likewise.
3446 (output_inlined_structure_type_die): Likewise.
3447 (output_inlined_union_type_die): Likewise
3448 (output_tagged_type_instantiation): Likewise.
3449 (dwarfout_file_scope_decl): Likewise.
3450 * dwarf2out.c: Do not include "assert.h"
3451 (expand_builtin_dwarf_reg_size): Turn asserts into conditional aborts.
3452 (reg_save, initial_return_save, dwarf2out_frame_debug): Likewise.
3453 (add_child_die, modified_type_die, add_bit_offset_attribute): Likewise.
3454 (add_bit_size_attribute, scope_die_for): Likewise.
3455 (output_pending_types_for_scope): Likewise.
3456 (get_inlined_enumeration_type_die): Likewise.
3457 (get_inlined_structure_type_die): Likewise.
3458 (get_inlined_union_type_die, gen_subprogram_die): Likewise.
3459 (gen_tagged_type_instantiation_die): Likewise.
3460
2ec1535d
JL
3461 * flow.c (find_basic_blocks): Refine further to get a more correct
3462 cfg, especially in the presense of exception handling, computed
3463 gotos, and other non-trivial cases. Call abort if an inaccuracy
3464 is detected in the cfg.
3465
a6124a42
R
3466Tue Nov 11 21:47:27 1997 J"orn Rennecke <amylaar@cygnus.co.uk>
3467
3468 * glimits.h (SHRT_MIN): Define in a way suitable for 16 bit hosts.
3469
3470 * c-lex.c (whitespace_cr, skip_white_space_on_line): New functions.
3471 (skip_white_space): Use whitespace_cr.
3472 (check_newline): Handle whitespace more consistently.
3473
8f3189a4
JW
3474Tue Nov 11 16:25:49 1997 Jim Wilson <wilson@cygnus.com>
3475
3476 * i386/cygwin32.h (CPP_PREDEFINES): Delete -DPOSIX.
3477 * i386/xm-cygwin32.h (POSIX): Define.
3478
6d1350cd
GK
3479Mon Nov 10 20:53:11 1997 Gavin Koch <gavin@cygnus.com>
3480
3481 * config/mips/mips.h (MASK_DEBUG_H): Set to zero, so this bit
3482 is available elsewhere.
3483
d1f4474e
DE
3484Mon Nov 10 16:21:58 1997 Doug Evans <devans@canuck.cygnus.com>
3485
3486 * sparc/sparc.md (mov[sdt]f_const_insn): Fix condition to match
3487 what the instruction can handle.
3488
c7ae64f2
JM
3489Mon Nov 10 03:02:19 1997 Jason Merrill <jason@yorick.cygnus.com>
3490
3491 * stmt.c (expand_decl_cleanup_no_eh): New fn.
3492
3493 * except.c (expand_leftover_cleanups): do_pending_stack_adjust.
3494
ea64ef27
JL
3495Mon Nov 10 00:05:56 1997 Jeffrey A Law (law@cygnus.com)
3496
3497 * alias.c (MAX_ALIAS_LOOP_PASSES): Define.
3498 (init_alias_analysis): Break out of loops after MAX_ALIAS_LOOP_PASSES.
3499
47ad8c61
MM
3500Sun Nov 9 14:34:47 1997 David Edelsohn <edelsohn@mhpcc.edu>
3501
3502 * rs6000.md (lshrdi3_power): Delete '&' from first alternative and
3503 swap instruction order.
3504
0ff27f58
JL
3505Sun Nov 9 02:07:16 1997 Jeffrey A Law (law@cygnus.com)
3506
3507 * fixinc.svr4 (__STDC__): Add another case.
3508
7091039c
R
3509Sun Nov 9 02:00:29 1997 J"orn Rennecke <amylaar@cygnus.co.uk>
3510
3511 * a29k.h (ELIGIBLE_FOR_EPILOGUE_DELAY): Avoid loads from varying
3512 addresses in the epilogue delay slot.
3513
553914ad
MH
3514Sun Nov 9 01:40:40 1997 Manfred Hollstein (manfred@s-direktnet.de)
3515
3516 * m88k/dgux.h (ASM_CPU_SPEC): Reformatted to suppress wrong whitespace
3517 in generated `specs' file.
3518
64fde701
JW
3519Sun Nov 9 01:37:11 1997 Jim Wilson (wilson@cygnus.com)
3520
3521 * flags.h (flag_rerun_loop_opt): Declare.
3522 * loop.c (invariant_p, case LABEL_REF): Check flag_rerun_loop_opt.
3523 * toplev.c (flag_rerum_loop_opt): Delete static.
3524
1245df60
R
3525Sat Nov 8 18:20:21 1997 J"orn Rennecke <amylaar@cygnus.co.uk>
3526
1245df60
R
3527 Bring over from FSF:
3528
3529 Thu Oct 30 12:21:06 1997 J"orn Rennecke <amylaar@cygnus.co.uk>
3530
3531 * va-sh.h (__va_arg_sh1): Define.
3532 (va_arg): Use it.
3533 SH3E doesn't use any integer registers for subsequent arguments
3534 once a non-float value was passed in the stack.
3535 * sh.c (machine_dependent_reorg): If optimizing, put explicit
3536 alignment in front label for ADDR_DIFF_VEC.
3537 * sh.h (PASS_IN_REG_P): Fix SH3E case.
3538 (ADJUST_INSN_LENGTH): If not optimizing, add two extra bytes length.
3539
3540 Tue Oct 28 15:06:44 1997 J"orn Rennecke <amylaar@cygnus.co.uk>
3541
3542 * sh/elf.h (PREFERRED_DEBUGGING_TYPE): Undefine before including
3543 svr4.h.
3544
3545 Mon Oct 27 16:11:52 1997 J"orn Rennecke <amylaar@cygnus.co.uk>
3546
3547 * sh.c (machine_dependent_reorg): When -flag_delayed_branches,
3548 put an use_sfunc_addr before each sfunc.
3549 * sh.md (use_sfunc_addr, dummy_jump): New insns.
3550 (casesi): For TARGET_SH2, emit a dummy_jump after LAB.
3551
3552 Tue Oct 21 07:12:28 1997 J"orn Rennecke <amylaar@cygnus.co.uk>
3553
3554 * sh/elf.h (PREFERRED_DEBUGGING_TYPE): Don't redefine.
3555
97991933
JM
3556Fri Nov 7 10:22:24 1997 Jason Merrill <jason@yorick.cygnus.com>
3557
3558 * frame.c (add_fdes, count_fdes): Go back to checking pc_begin for
3559 linked once FDEs.
3560
eaf407a5
JL
3561Wed Nov 5 14:26:05 1997 Jeffrey A Law (law@cygnus.com)
3562
3563 * alias.c (find_base_value): Only return the known base value for
3564 pseudo registers.
3565
4f9ca067
JW
3566Wed Nov 5 11:27:14 1997 Jim Wilson <wilson@cygnus.com>
3567
3568 * i386.c (load_pic_register): Call prologue_get_pc_and_set_got.
3569 * i386.md (prologue_set_got, prologue_get_pc): Add UNSPEC_VOLATILE
3570 to pattern.
3571 (prologue_get_pc_and_set_got): New pattern.
3572
f4e31cf5
RH
3573Tue Nov 4 20:36:50 1997 Richard Henderson (rth@cygnus.com)
3574
3575 * alpha.c (summarize_insn): Handle ASM_OPERANDS. Don't recurse
3576 for SUBREG, just fall through.
3577
3578 * alpha.c (alpha_handle_trap_shadows): Init sum.defd to zero.
3579
3580 * alpha.md (attr trap): Make TRAP_YES non-zero for sanity's sake.
3581
f754c4a1
JL
3582Tue Nov 4 18:49:42 1997 Jeffrey A Law (law@cygnus.com)
3583
3ed18aeb
JL
3584 * fixincludes: Fix "hypot" prototype in NeXT math.h.
3585
3fe40e05
JL
3586 * Makefile.in (USE_ALLOCA): Always include alloca.o.
3587 (USE_HOST_ALLOCA): Likewise.
3588
f754c4a1
JL
3589 * rtl.def (CODE_LABEL): Use separate fields for LABEL_NUSES
3590 and LABEL_REFS fields.
3591 * rtl.h (LABEL_REFS): Update.
3592
ab00eb0a
JW
3593Tue Nov 4 16:55:11 1997 Jim Wilson <wilson@cygnus.com>
3594
ff3467a9
JW
3595 * combine.c (try_combine): When setting elim_i2, check whether newi2pat
3596 sets i2dest. When calling distribute_notes for i3dest_killed, pass
3597 elim_i2 and elim_i1. When setting elim_i1, check if newi2pat
3598 sets i1dest.
3599
4911814e
JW
3600 * mips.md (insv, extzv, extv): Add change_address call.
3601 (movsi_ulw, movsi_usw): Change QImode to BLKmode in pattern.
3602
474eff88
JW
3603 * integrate.c (save_for_inline_copying): Copy parm_reg_stack_loc.
3604
3feffdfe
JW
3605 * reload.c (find_reloads, case 'm' and 'o'): Reject HIGH constants.
3606
ab00eb0a
JW
3607 * mips.c (mips_expand_epilogue): Emit blockage insn before call to
3608 save_restore_insns if no FP and GP will be restored.
7636d567 3609
31c8581d
JW
3610 * dwarf2out.c (expand_builtin_dwarf_reg_size): New variable mode.
3611 Convert CCmode to word_mode before calling GET_MODE_SIZE.
3612
7636d567
JW
3613 * acconfig.h (HAVE_INTTYPES_H): Undef.
3614 * configure.in (inttypes.h): Check for conflicts between sys/types.h
3615 and inttypes.h, and verify that intmax_t is defined.
3616 * config/mips/x-iris (CC, OPT, OLDCC): Comment out.
3617 * config/mips/x-iris3: Likewise.
3618
73774bc7
JL
3619Tue Nov 4 16:07:15 1997 Jeffrey A Law (law@cygnus.com)
3620
3621 * alias.c (find_base_value): When copying arguments, return the
3622 tenative value for a hard register.
3623
645ebf37
DE
3624Tue Nov 4 13:40:35 1997 Doug Evans <devans@canuck.cygnus.com>
3625
3626 * c-lex.c (MULTIBYTE_CHARS): #undef if cross compiling.
3627 (yylex): Record wide strings using target endianness, not host.
3628
f7620587
JL
3629Tue Nov 4 13:13:12 1997 Jeffrey A Law (law@cygnus.com)
3630
3631 * mn10200.h (ASM_OUTPUT_BSS): Delete.
3632 (ASM_OUTPUT_ALIGNED_BSS): New macro
3633 * mn10300.h (ASM_OUTPUT_BSS): Delete.
3634 (ASM_OUTPUT_ALIGNED_BSS): New macro.
3635 * v850.h (ASM_OUTPUT_BSS): Delete.
3636 (ASM_OUTPUT_ALIGNED_BSS): New macro.
3637
1686f1a2
R
3638Tue Nov 4 00:55:48 1997 J"orn Rennecke <amylaar@cygnus.co.uk>
3639
3640 * profile.c (branch_prob): Insert an insn after a NOTE_INSN_SETJMP.
3641
f6857708
JL
3642Mon Nov 3 14:36:50 1997 Jeffrey A Law (law@cygnus.com)
3643
3644 * configure.in (sco5): Use cpio to install header files.
3645
e566af04
MH
3646Sun Nov 2 23:31:43 1997 Manfred Hollstein <manfred@s-direktnet.de>
3647
3648 * aclocal.m4 (conftestdata_from, conftestdata_to): Names shortened to
3649 14 char length.
3650 * configure: Rebuild.
3651
cbd44549
RL
3652Sun Nov 2 19:44:00 1997 Robert Lipe (robertl@dgii.com)
3653
3654 * i386/sco5.h: enable -gstabs once again.
3655
56636818
JL
3656Sun Nov 2 19:27:21 1997 Jeffrey A Law (law@cygnus.com)
3657
3658 * arm.c (output_move_double): Allocate 3 entries in otherops array.
3659
9ad8a5f0
MS
3660Sat Nov 1 21:43:00 1997 Mike Stump (mrs@wrs.com)
3661
3662 * except.c (expand_ex_region_start_for_decl): Emit EH_REGION_BEG
3663 notes for sjlj exceptions too.
3664 (expand_eh_region_end): Similarly for EH_REGION_END notes.
3665 (exception_optimize): Optimize EH regions for sjlj exceptions too.
3666 * final.c (final_scan_insn): Don't output labels for EH REGION
3667 notes if doing sjlj exceptions.
3668
f8671389
JL
3669Sat Nov 1 19:15:28 1997 Jeffrey A Law (law@cygnus.com)
3670
8072f69c
JL
3671 * alias.c (init_alias_analysis): Handle -fno-alias-check when
3672 optimizing correctly.
3673
6cad9e32
JL
3674 * expr.c (expand_builtin_setjmp): Don't emit a SETJMP note
3675 or set current_function_calls_setjmp anymore.
3676
f8671389
JL
3677 * flow.c (find_basic_blocks): If we delete the label for an
3678 exception handler, remove it from the EH label list and remove
3679 the EH_BEGIN/EH_END notes for that EH region.
3680
a886ae74
JM
3681Sat Nov 1 16:44:49 1997 Jason Merrill (jason@cygnus.com)
3682
3683 * flow.c (find_basic_blocks): Generate correct flow control
3684 information when exception handling notes are present.
3685
c2c85462
JL
3686Sat Nov 1 13:42:19 1997 Jeffrey A Law (law@cygnus.com)
3687
3688 * dwarf2out.c (output_call_frame_info): Fix length argument
3689 to ASM_OUTPUT_ASCII.
3690 (output_die, output_pubnames, output_line_info): Likewise.
3691
8c316ae2
JL
3692Fri Oct 31 07:10:09 1997 Jeffrey A Law (law@cygnus.com)
3693
27ca375a
JL
3694 * version.c: Bump for snapshot.
3695
8d4e65a6
JL
3696 * dwarf2out.c (output_call_frame_info): Use ASM_OUTPUT_ASCII to
3697 output ASCII by default. Only use ASM_OUTPUT_DWARF_STRING if
3698 flag_debug_asm is on.
3699 (output_die, output_pubnames, output_line_info): Likewise.
3700
ec907dd8
JL
3701 * alias.c (init_alias_analysis): Add struct_value_incoming_rtx
3702 and static_chain_rtx into the potential base values array if
3703 they are registers.
3704
3705 * alias.c (new_reg_base_value): New array of potential base values.
3706 (unique_id): Now file scoped static.
3707 (find_base_value, case REG): Return the value in reg_base_value
3708 array for the REG if it exists. Else, return the value from
3709 new_reg_base_value if copying args and REG is a hard register.
3710 (find_base_value, case PLUS): If either operand of the PLUS is
3711 a REG, try to get its base value. Handle base + index and
3712 index + base.
3713 (record_set): Use new_reg_base_value instead of reg_base_value.
3714 (init_alias_analysis): Allocate space for new_reg_base_value too.
3715 Rework code to iterate over the insns propagating base value
3716 information until nothing changes.
3717
8c316ae2
JL
3718 * global.c (global_alloc): Free the conflict matrix after
3719 reload has finished.
3720
6874c264
JM
3721Fri Oct 31 01:45:31 1997 Jason Merrill <jason@yorick.cygnus.com>
3722
3723 * libgcc2.c (L_eh): Define __eh_pc.
3724 Replace __eh_type with generic pointer __eh_info.
3725
59fe8c2c
R
3726Fri Oct 31 00:34:55 1996 J"orn Rennecke <amylaar@cygnus.co.uk>
3727
3728 * expr.c (expand_increment): When enqueing a postincrement for a MEM,
3729 use copy_to_reg if address is not a general_operand.
3730
d1271ded
R
3731Fri Oct 31 00:16:55 1997 J"orn Rennecke <amylaar@cygnus.co.uk>
3732
3733 * profile.c (output_func_start_profiler): Clear flag_inline_functions
3734 for the duration of the call to rest_of_compilation.
3735
ac52b80b
DE
3736Thu Oct 30 14:40:10 1997 Doug Evans <devans@canuck.cygnus.com>
3737
3738 * configure.in (sparc-*-elf*): Use sparc/elf.h, sparc/t-elf.
3739 Set extra_parts.
3740 (sparc*-*-*): Recognize --with-cpu=v9.
3741 * sparc/elf.h: New file.
3742 * sparc/t-elf: New file.
3743
f8912297
JL
3744Thu Oct 30 13:26:12 1997 Jeffrey A Law (law@cygnus.com)
3745
3746 * mn10300.c (const_8bit_operand): New function.
3747 (mask_ok_for_mem_btst): New funtion.
3748 * mn10300.md (btst patterns with mem operands): Use new functions
3749 to avoid creating btst instructions with invalid operands.
3750
05ef204d
MM
3751Wed Oct 29 16:57:19 1997 Michael Meissner <meissner@cygnus.com>
3752
3753 * rs6000/xm-sysv4.h: Include xm-linux.h instead of xm-svr4.h if we
3754 are running on PowerPC Linux.
3755
feecabdf
GK
3756Wed Oct 29 13:10:11 1997 Gavin Koch <gavin@cygnus.com>
3757
3758 * config/mips/elf64.h (PREFERRED_DEBUGGING_TYPE): Only define
3759 if not previously defined.
3760
de957303
DE
3761Tue Oct 28 23:55:27 1997 Doug Evans (devans@cygnus.com)
3762
3763 * function.c (assign_parms): Correct mode of stack_parm if
3764 entry_parm underwent a mode conversion.
3765
ba3b3878
BK
37661997-10-28 Brendan Kehoe <brendan@lisa.cygnus.com>
3767
3768 * global.c (global_alloc): Use xmalloc instead of alloca for
3769 CONFLICTS, since max_allocno * allocno_row_words alone can be more
3770 than 2.5Mb sometimes.
3771
d540ae2c
RH
3772Tue Oct 28 15:29:15 1997 Richard Henderson <rth@cygnus.com>
3773
3774 * reload1.c (eliminate_regs [SET]): If [SUBREG] widened the mode of
3775 DEST for the spill, adjust mode of SRC to compensate.
3776
42f4929d
RH
3777Tue Oct 28 14:36:45 1997 Richard Henderson <rth@cygnus.com>
3778
3779 * alpha.md (reload_inqi): Check for MEM before strict_memory_address_p,
3780 since any_memory_operand() allows pseudos during reload.
3781 (reload_inhi, reload_outqi, reload_outhi): Likewise.
3782
08417478
JW
3783Tue Oct 28 11:53:14 1997 Jim Wilson <wilson@cygnus.com>
3784
3785 * m68k.md (btst patterns): Add 5200 support.
3786
750e8348
TM
3787Tue Oct 28 11:58:40 1997 Toon Moene <toon@moene.indiv.nluug.nl>
3788
3789 * fold-const.c (fold): For ((a * C1) / C3) or (((a * C1) + C2) / C3)
3790 optimizations, look inside dividend to determine if the expression
3791 can be simplified by using EXACT_DIV_EXPR.
3792
ede19932
JM
3793Tue Oct 28 10:19:01 1997 Jason Merrill <jason@yorick.cygnus.com>
3794
3795 From Brendan:
3796 * dwarf2out.c (output_call_frame_info): Use l1 instead of ".".
3797
66d91cb9
RH
3798Tue Oct 28 00:32:14 1997 Richard Henderson <rth@cygnus.com>
3799
3800 * alpha.c (summarize_insn [SUBREG]): Propogate SET.
3801
4f3f5e9f
RH
3802Mon Oct 27 23:59:26 1997 Richard Henderson <rth@cygnus.com>
3803
3804 * alpha.c (alpha_handle_trap_shadows): Don't call get_attr_trap
3805 on a CLOBBER.
3806
f3352b9e
RH
3807Mon Oct 27 21:25:20 1997 Richard Henderson <rth@cygnus.com>
3808
3809 * alpha.md (movqi, movhi): Make sure new insns created during reload
3810 won't need reloading themselves.
3811 (reload_inqi, reload_inhi, reload_outqi, reload_outhi): Likewise.
3812
0cecc190
JL
3813Mon Oct 27 16:11:10 1997 Jeffrey A Law (law@cygnus.com)
3814
3815 * mn10300.h (GO_IF_LEGITIMATE_ADDRESS): Disable reg+reg.
3816
a09ba5a2
RH
3817Sun Oct 26 13:50:44 1997 Richard Henderson <rth@cygnus.com>
3818
3819 * alpha.c (alpha_sa_mask [VMS]): Don't include $26 in the mask.
3820 Patch from Klaus Kaempf <kkaempf@progis.de>.
3821
7581a30f
JW
3822Sun Oct 26 13:31:47 1997 Jim Wilson (wilson@cygnus.com)
3823
3824 * expr.c (expand_expr, case INDIRECT_REF): Optimize a reference
3825 to an element in a constant string.
3826
d84e64d4
JM
3827Sun Oct 26 11:41:49 1997 Jason Merrill <jason@yorick.cygnus.com>
3828
3829 * dwarf2out.c (output_call_frame_info): The CIE pointer is now a 32
3830 bit PC-relative offset. The exception range table pointer is now in
3831 the CIE.
3832 * frame.c (dwarf_cie, dwarf_fde): Rename CIE_pointer to CIE_delta.
3833 (count_fdes, add_fdes, get_cie): Adjust.
3834 (cie_info, extract_cie_info, __frame_state_for): Adjust eh_ptr uses.
3835
3836 From H.J. Lu:
3837 * frame.c (count_fdes, add_fdes): Skip linked once FDE entries.
3838
96286722
RH
3839Sun Oct 26 11:52:01 1997 Richard Henderson <rth@cygnus.com>
3840
3841 * alias.c (memrefs_conflict_p): Treat arg_pointer_rtx just
3842 like stack_pointer_rtx.
3843
e85988b5
MH
3844Sun Oct 26 11:32:16 1997 Manfred Hollstein <manfred@s-direktnet.de>
3845
361e618f
MH
3846 * Makefile.in (bootstrap-lean): Combined with `normal' bootstrap
3847 targets using "$@" to provide support for similar but not identical
3848 targets without having to duplicate code.
3849 (bootstrap4): New goal.
3850
e85988b5
MH
3851 * Makefile.in (compare, compare-lean, compare3): Combined to one
3852 ruleset determining actions to be performed via $@.
3853 (compare4, compare4-lean): New targets.
3854 (gnucompare, gnucompare3): Combined to one ruleset determining
3855 actions to be performed via $@. Also, note which files failed
3856 the comparison test in .bad_compare.
3857 (gnucompare-lean, gnucompare3-lean, gnucompare4-lean): New targets.
3858
91585c63
TM
3859Sun Oct 26 10:06:11 1997 Toon Moene <toon@moene.indiv.nluug.nl>
3860
3861 * fold-const (fold): Also simplify FLOOR_DIV_EXPR to EXACT_DIV_EXPR
3862 if the dividend is a multiple of the divisor.
3863
da0af5a5
JL
3864Sun Oct 26 09:21:40 1997 Jeffrey A Law (law@cygnus.com)
3865
7337c67f
JL
3866 * Makefile.in (LIBGCC2_CFLAGS): Add -fexceptions.
3867
adb9effb 3868 * alias.c (find_base_term): Handle PRE_INC, PRE_DEC, POST_INC,
6d849a2a 3869 and POS_DEC.
6d849a2a
JL
3870
3871 * alias.c (true_dependence): Fix typo.
3872
6d6d0fa0
JL
3873 * toplev.c (flag_rerun_loop_opt): New variable.
3874 (f_options): Handle -frerun-loop-opt.
3875 (rest_of_compilation): If -frerun-loop-opt, then run the loop
3876 optimizer twice.
3877 (main): Enable -frerun-loop-opt by default for -O2 or greater.
3878
da0af5a5
JL
3879 * loop.c (simplify_giv_expr): Adding two invariants results
3880 in an invariant.
3881
ca0f2220
RH
3882Sun Oct 26 09:15:15 1997 Richard Henderson <rth@cygnus.com>
3883
3884 * expr.c (get_inner_reference): Remove the array bias after
3885 converting the index to Pmode.
3886
a6f7ba17
JL
3887Sat Oct 25 12:20:58 1997 Jeffrey A Law (law@cygnus.com)
3888
3889 * mn10300.h (TARGET_SWITCHES): Add -mmult-bug and -mno-mult-bug.
3890 (TARGET_MULT_BUG): Define.
3891 (TARGET_DEFAULT): Default to TARGET_MULT_BUG.
3892 * mn10300.md (mulsi3): Handle TARGET_MULT_BUG.
3893
17ad8a3b
JL
3894Fri Oct 24 17:40:34 1997 Jeffrey A Law (law@cygnus.com)
3895
3896 * mn10200.c (indirect_memory_operand): Delete unused function.
3897 * mn10200.h (EXTRA_CONSTRAINT): Handle 'R'.
3898 * mn10200.md (bset, bclr insns): Handle output in a reg too.
3899
e16b49d3
RH
3900Fri Oct 24 15:54:57 1997 Richard Henderson <rth@cygnus.com>
3901
3902 * alpha.md (call patterns): Revert Oct 16 change; if we are to elide
3903 the callee's ldgp, we must do it ourselves, and we use the jsr tag
3904 for more than scheduling.
3905
27f65411
DE
3906Fri Oct 24 13:23:04 1997 Doug Evans <devans@canuck.cygnus.com>
3907
3908 * sparc/sparc.h (ASM_SPEC): Delete asm_arch.
3909
e9ad4573
JL
3910Fri Oct 24 13:19:40 1997 Jeffrey A Law (law@cygnus.com)
3911
3912 * mn10300.c (symbolic_operand, legitimize_address): New functions.
3913 * mn10300.h (LEGITIMIZE_ADDRESS): Call legitimize_address.
3914 (GO_IF_LEGITIMATE_ADDRESS): Don't allow base + symbolic.
3915
66724f0a
JL
3916Thu Oct 23 09:35:12 1997 Jeffrey A Law (law@cygnus.com)
3917
3918 * version.c: Bump for snapshot.
3919
c401498b
R
3920Thu Oct 23 08:03:59 1997 J"orn Rennecke <amylaar@cygnus.co.uk>
3921
3922 * dbxout.c (dbxout_start_new_source_file): Use output_quoted_string
3923 for FILENAME.
3924
b22b9b3e
JL
3925Wed Oct 22 00:34:12 1997 Jeffrey A Law (law@cygnus.com)
3926
56bf1fd9
JL
3927 * toplev.c (flag_exceptions): Default value is 2.
3928 (compile_file): If flag_exceptions still has the value 2, then
3929 set it to 0.
3930
a04232e5
JL
3931 * rs6000.c (struct machine_function): Add pic_offset_table_rtx.
3932 (rs6000_save_machine_status): Save pic_offset_table_rtx.
3933 (rs6000_restore_machine_status: Restore pic_offset_table_rtx.
3934
0bd83abd
JL
3935 * local-alloc.c (block_alloc): Don't lose if two SCRATCH expressions
3936 are shared.
3937
b22b9b3e
JL
3938 * rs6000.md (*movsi_got_internal_mem): New pattern.
3939 (*movsi_got_internal_mem splitter): New define_split.
3940
c1e385db
JW
3941Tue Oct 21 18:14:03 1997 Jim Wilson <wilson@cygnus.com>
3942
3943 * obstack.h (obstack_empty_p): Fix spurious space after backslash.
3944
1a986152
GK
3945Tue Oct 21 18:34:01 1997 Geoffrey KEATING <geoffk@ozemail.com.au>
3946
3947 * rs6000.c: Avoid creating a stack frame under SYSV ABI if we
3948 only need to save LR.
3949
5d29a95f
JL
3950Tue Oct 21 10:06:40 1997 Jeffrey A Law (law@cygnus.com)
3951
c6ee9150
JL
3952 * mn10300.md (movqi, movhi): Avoid using address registers as
3953 destinations unless absolutely necessary.
3954
d5255ba2
JL
3955 * mn10200.c (expand_prologue): Fix typo.
3956
9d2128b8
JL
3957 * mn10200.h (GO_IF_LEGITIMATE_ADDRESS): Do not allow indexed
3958 addresses.
3959 * mn10200.md (neghi2): Provide an alternative which works if
3960 the input and output register are the same.
3961
576e5acc
JL
3962 * mn10300.c (print_operand): Handle 'S'.
3963 * mn10300.md (ashlsi3, lshrsi3, ashrsi3): Use %S for
3964 shift amount in last alternative
3965
5d29a95f
JL
3966 * mn10300.c (expand_epilogue): Rework to handle register restores
3967 in "ret" and "retf" instructions correctly.
3968
3bf1b082
JW
3969Mon Oct 20 16:47:08 1997 Jim Wilson <wilson@cygnus.com>
3970
3971 * expmed.c (extract_bit_field): Don't make flag_force_mem disable
3972 extzv for memory operands.
3973
3974 * cse.c (simplify_ternary_operation, case IF_THEN_ELSE): Collapse
3975 redundant conditional moves to single operand.
3976
ddbd8d36
NC
3977Mon Oct 20 15:30:26 1997 Nick Clifton <nickc@cygnus.com>
3978
3979 * v850.h: Move define of __v850__ from CPP_PREDEFINES
3980 to CPP_SPEC.
3981
3982 * xm-v850.h: Use __v850 rather than __v850__ to
3983 identify v850 port.
3984
a944a4eb
JW
3985Mon Oct 20 14:15:02 1997 Jim Wilson <wilson@cygnus.com>
3986
3987 * mips/mips.c (compute_frame_size): Not a leaf function if
3988 profile_flag set.
3989
2d5b6dea
GK
3990Mon Oct 20 14:16:38 1997 Geoffrey KEATING <geoffk@ozemail.com.au>
3991
3992 * rs6000/t-ppccomm: Use -msdata=none for crtstuff.
3993
f0a9fa6c
DE
3994Mon Oct 20 12:28:17 1997 Doug Evans <devans@canuck.cygnus.com>
3995
3996 * sparc/sparc.h (SPARC_V9,SPARC_ARCH64): Delete.
3997 (DEFAULT_ARCH32_P): New macro.
3998 (TARGET_ARCH{32,64}): Allow compile time or runtime selection.
3999 (enum cmodel): Declare.
4000 (sparc_cmodel_string,sparc_cmodel): Declare.
4001 (SPARC_DEFAULT_CMODEL): Provide default.
4002 (TARGET_{MEDLOW,MEDANY}): Renamed to TARGET_CM_{MEDLOW,MEDANY}.
4003 (TARGET_FULLANY): Deleted.
4004 (TARGET_CM_MEDMID): New macro.
4005 (CPP_CPU_DEFAULT_SPEC): Renamed from CPP_DEFAULT_SPEC.
4006 (ASM_CPU_DEFAULT_SPEC): Renamed from ASM_DEFAULT_SPEC.
4007 (CPP_PREDEFINES): Take out stuff now handled by %(cpp_arch).
4008 (CPP_SPEC): Rewrite.
4009 (CPP_ARCH{,32,64,_DEFAULT}_SPEC): New macros.
4010 (CPP_{ENDIAN,SUBTARGET}_SPEC): New macros.
4011 (ASM_ARCH{,32,64,_DEFAULT}_SPEC): New macros.
4012 (ASM_SPEC): Add %(asm_arch).
4013 (EXTRA_SPECS): Rename cpp_default to cpp_cpu_default.
4014 Rename asm_default to asm_cpu_default.
4015 Add cpp_arch32, cpp_arch64, cpp_arch_default, cpp_arch, cpp_endian,
4016 cpp_subtarget, asm_arch32, asm_arch64, asm_arch_default, asm_arch.
4017 (NO_BUILTIN_{PTRDIFF,SIZE}_TYPE): Define ifdef SPARC_BI_ARCH.
4018 ({PTRDIFF,SIZE}_TYPE): Provide 32 and 64 bit values.
4019 (MASK_INT64,MASK_LONG64): Delete.
4020 (MASK_ARCH64): Renamed to MASK_64BIT.
4021 (MASK_{MEDLOW,MEDANY,FULLANY,CODE_MODEL}): Delete.
4022 (EMBMEDANY_BASE_REG): Renamed from MEDANY_BASE_REG.
4023 (TARGET_SWITCHES): Always provide 64 bit options.
4024 (ARCH64_SWITCHES): Delete.
4025 (TARGET_OPTIONS): New option -mcmodel=.
4026 (INT_TYPE_SIZE): Always 32.
4027 (MAX_LONG_TYPE_SIZE): Define ifdef SPARC_BI_ARCH.
4028 (INIT_EXPANDERS): sparc64_init_expanders renamed to sparc_init_....
4029 (FUNCTION_{,BLOCK_}PROFILER): Delete TARGET_EMBMEDANY support.
4030 (PRINT_OPERAND_PUNCT_VALID_P): Add '_'.
4031 * sparc/linux-aout.h (CPP_PREDEFINES): Take out stuff handled by
4032 CPP_SPEC.
4033 (CPP_SUBTARGET_SPEC): Renamed from CPP_SPEC.
4034 * sparc/linux.h: Likewise.
4035 * sparc/linux64.h (SPARC_V9,SPARC_ARCH64): Delete.
4036 (ASM_CPU_DEFAULT_SPEC): Renamed from ASM_DEFAULT_SPEC.
4037 (TARGET_DEFAULT): Delete MASK_LONG64, MASK_MEDANY, add MASK_64BIT.
4038 (SPARC_DEFAULT_CMODEL): Define.
4039 (CPP_PREDEFINES): Take out stuff handled by CPP_SPEC.
4040 (CPP_SUBTARGET_SPEC): Renamed from CPP_SPEC.
4041 (LONG_DOUBLE_TYPE_SIZE): Define.
4042 (ASM_SPEC): Add %(asm_arch).
4043 * sparc/sol2.h (CPP_PREDEFINES): Take out stuff handled by CPP_SPEC.
4044 (CPP_SUBTARGET_SPEC): Renamed from CPP_SPEC.
4045 (TARGET_CPU_DEFAULT): Add ultrasparc case.
4046 * sparc/sp64-aout.h (SPARC_V9,SPARC_ARCH64): Delete.
4047 (TARGET_DEFAULT): MASK_ARCH64 renamed to MASK_64BIT.
4048 (SPARC_DEFAULT_CMODEL): Define.
4049 * sparc/sp64-elf.h (SPARC_V9,SPARC_ARCH64): Delete.
4050 (TARGET_DEFAULT): MASK_ARCH64 renamed to MASK_64BIT. Delete
4051 MASK_LONG64, MASK_MEDANY.
4052 (SPARC_DEFAULT_CMODEL): Define.
4053 (CPP_PREDEFINES): Delete.
4054 (CPP_SUBTARGET_SPEC): Renamed from CPP_SPEC.
4055 (ASM_SPEC): Add %(asm_arch).
4056 (LONG_DOUBLE_TYPE_SIZE): Define.
4057 (DWARF2_DEBUGGING_INFO): Define.
4058 * sparc/splet.h (CPP_SPEC): Delete.
4059 * sparc/sysv4.h (CPP_PREDEFINES): Take out stuff handled by CPP_SPEC.
4060 (FUNCTION_BLOCK_PROFILER): Delete TARGET_EMBMEDANY support.
4061 (BLOCK_PROFILER): Likewise.
4062 * sparc/sparc.c (sparc_cmodel_string,sparc_cmodel): New globals.
4063 (sparc_override_options): Handle code model selection.
4064 (sparc_init_expanders): Renamed from sparc64_init_expanders.
4065 * sparc/sparc.md: TARGET_<code_model> renamed to TARGET_CM_....
4066 TARGET_MEDANY renamed to TARGET_CM_EMBMEDANY.
4067 (sethi_di_embmedany_{data,text}): Renamed from sethi_di_medany_....
4068 (sethi_di_fullany): Delete.
4069
a3b0df2d
KK
4070Mon Oct 20 02:00:18 1997 Klaus Kaempf <kkaempf@progis.de>
4071 Jeff Law <law@cygnus.com>
4072 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
4073
3a133c72
KK
4074 * alpha/vms.h (DIVSI3_LIBCALL): OTS$ functions are upper case.
4075 (DIVDI3_LIBCALL, UDIVSI3_LIBCALL, UDIVDI3_LIBVALL): Likewise.
4076 (MODSI3_LIBCALL, MODDI3_LIBCALL): Likewise.
4077 (UMODSI3_LIBCALL, UMODDI3_LIBCALL): Likewise.
4078 * alpha/alpha.md (arg_home): Likewise.
4079
a3b0df2d
KK
4080 * alpha/alpha.c (vmskrunch): Delete
4081 * alpha/vms.h (ENCODE_SECTION_INFO, ASM_DECLARE_FUNCTION_NAME): Delete.
4082 * alpha.c (output_prolog, VMS): Use alloca for entry_label and don't
4083 truncate to 64 characters.
4084
4085 * make-l2.com: Support openVMS/Alpha.
4086
4087 * vmsconfig.com: Fix to work on openVMS/Alpha and openVMS/VAX.
4088
7d4f2e6c
R
4089Sun Oct 19 19:00:35 1997 J"orn Rennecke <amylaar@cygnus.co.uk>
4090
4091 * longlong.h (count_leading_zeros): Add missing casts to USItype.
4092
decd44ac
JL
4093Sun Oct 19 18:44:06 1997 Jeffrey A Law (law@cygnus.com)
4094
4095 * i386/bsd386.h (ASM_COMMENT_START): Define.
4096
d1485032
JM
4097Sat Oct 18 13:47:15 1997 Jason Merrill <jason@yorick.cygnus.com>
4098
4099 * tree.c (restore_tree_status): Also free up temporary storage
4100 when we finish a toplevel function.
4101 (dump_tree_statistics): Print stats for backend obstacks.
4102
6bd35f86
DE
4103Sat Oct 18 12:47:31 1997 Doug Evans <dje@canuck.cygnus.com>
4104
4105 * expr.c (use_group_regs): Don't call use_reg for MEMs.
4106
d1485032
JM
4107Sat Oct 18 09:49:46 1997 Jason Merrill <jason@yorick.cygnus.com>
4108
4109 * libgcc2.c (__throw): Don't copy the return address.
4110 * dwarf2out.c (expand_builtin_dwarf_reg_size): Ignore return address.
4111
4112 * except.c (exceptions_via_longjmp): Initialize to 2 (uninitialized).
4113 * toplev.c (main): Initialize exceptions_via_longjmp.
4114
4115 * tree.c: Add extra_inline_obstacks.
4116 (save_tree_status): Use it.
4117 (restore_tree_status): If this is a toplevel inline obstack and we
4118 didn't want to save anything on it, recycle it.
4119 (print_inline_obstack_statistics): New fn.
4120 * function.c (pop_function_context_from): Pass context to
4121 restore_tree_status.
4122 * obstack.h (obstack_empty_p): New macro.
4123
6981eacf
JL
4124Sat Oct 18 00:43:59 1997 Jeffrey A Law (law@cygnus.com)
4125
4126 * i386/freebsd.h (ASM_COMMENT_START): Fix.
4127
1933ec7e
JW
4128Fri Oct 17 23:48:52 1997 Jim Wilson (wilson@cygnus.com)
4129
4130 * v850.c (ep_memory_offset): New function.
4131 (ep_memory_operand, substitute_ep_register, v850_reorg): Call it.
4132
4133 * v850.h (CONST_OK_FOR_*): Add and correct comments.
4134 (CONSTANT_ADDRESS_P): Add comment.
4135 (EXTRA_CONSTRAINT): Define 'U'.
4136 * v850.md: Add comments on bit field instructions.
4137 (addsi3): Delete &r/r/r alternative. Add r/r/U alternative.
4138 (lshrsi3): Use N not J constraint.
4139
4140 * v850.md (v850_tst1+1): New define_split for tst1 instruction.
4141
4142 * v850.c (reg_or_0_operand): Call register_operand.
4143 (reg_or_int5_operand): Likewise.
4144 * v850.h (MASK_BIG_SWITCH, TARGET_BIG_SWITCH): New macros.
4145 (TARGET_SWITCHES): Add "big-switch".
4146 (ASM_OUTPUT_ADDR_VEC_ELT, ASM_OUTPUT_ADDR_DIFF_ELT, CASE_VECTOR_MODE,
4147 ASM_OUTPUT_BEFORE_BASE_LABEL): Add support for TARGET_BIG_SWITCH.
4148 (CASE_DROPS_THROUGH): Comment out.
4149 (CASE_VECTOR_PC_RELATIVE, JUMP_TABLES_IN_TEXT_SECTION): Define.
4150 * v850.md (cmpsi): Delete compare mode.
4151 (casesi): New pattern.
4152
4153 * v850.h (CONST_OK_FOR_N): Delete redundant compare against zero.
4154 * v850.md (ashlsi3): Use SImode not QImode for shift count.
4155 (lshrsi3): Likewise.
4156
4157 * v850.c (print_operand): Add 'c', 'C', and 'z' support. Delete
4158 unreachable switch statement after 'b' support. Remove "b" from
4159 strings for 'b' support.
4160 * v850.md (branch_normal, branch_invert): Change %b to b%b.
4161
13c2de98
JL
4162Fri Oct 17 23:33:20 1997 Jeffrey A Law (law@cygnus.com)
4163
4164 * Makefile.in (LIBGCC2_CFLAGS): Avoid a backslash then an
4165 empty line if @inhibit_libc@ is empty.
4166
b2167bee
RL
4167Fri Oct 17 23:24:40 1997 Robert Lipe (robertl@dgii.com)
4168
4169 * i386/sco5.h: Let ELF use dwarf2 unwinding. COFF uses sjlj.
4170 (EH_FRAME_SECTION_ASM_OP, EH_FRAME_SECTION_ASM_OP_ELF): Defined.
4171 (EH_FRAME_SECTION_ASM_OP_COFF): Likewise.
4172 (DWARF2_UNWIND_INFO): Let this track object file format.
4173 (EXTRA_SECTIONS): Add in_eh.
4174 (EH_FRAME_SECTION_ASM_OP, EH_FRAME_SECTION_ASM_OP_ELF): Define.
4175 (EH_FRAME_SECTION_ASM_OP_COFF): Likewise.
4176
bf2a2c6b
DM
4177Fri Oct 17 17:13:42 1997 David S. Miller <davem@tanya.rutgers.edu>
4178
4179 * sparc/linux64.h (LINK_SPEC): Dynamic linker is ld-linux64.so.2.
da2a90f7
DM
4180 * sparc/sparc.h (FUNCTION_PROFILER): Fix format string when
4181 TARGET_MEDANY.
f4f8e370
DE
4182 * sparc/sparc.c (dwarf2out_cfi_label): Extern no longer needed.
4183 (output_double_int): Output DI mode values correctly when
4184 HOST_BITS_PER_WIDE_INT is 64.
9d162eb2
DE
4185 (output_fp_move_quad): If TARGET_V9 and not TARGET_HARD_QUAD, use
4186 fmovd so it works if a quad float ends up in one of the upper 32
4187 float regs.
7e37212e
DM
4188 * sparc/sparc.md (pic_{lo_sum,sethi}_di): New patterns
4189 necessary for PIC support on sparc64.
bf2a2c6b 4190
9ff84e67
DE
4191Fri Oct 17 13:39:56 1997 Doug Evans <dje@canuck.cygnus.com>
4192
4193 * sparc/sp64-elf.h (TARGET_DEFAULT): Delete MASK_STACK_BIAS.
4194 * sparc/sparc.h (PROMOTE_MODE): Promote small ints if arch64.
4195 (PROMOTE_FUNCTION_ARGS,PROMOTE_FUNCTION_RETURN): Define.
4196 (SPARC_FIRST_FP_REG, SPARC_FP_REG_P): New macros.
4197 (SPARC_{OUTGOING,INCOMING}_INT_ARG_FIRST): New macros.
4198 (SPARC_FP_ARG_FIRST): New macro.
4199 (CONDITIONAL_REGISTER_USAGE): All v9 fp regs are volatile now.
4200 (REG_ALLOC_ORDER,REG_LEAF_ALLOC_ORDER): Reorganize fp regs.
4201 (NPARM_REGS): There are 32 fp argument registers now.
4202 (FUNCTION_ARG_REGNO_P): Likewise.
4203 (FIRST_PARM_OFFSET): Update to new v9 abi.
4204 (REG_PARM_STACK_SPACE): Define for arch64.
4205 (enum sparc_arg_class): Delete.
4206 (sparc_arg_count,sparc_n_named_args): Delete.
4207 (struct sparc_args): Redefine and use for arch32 as well as arch64.
4208 (GET_SPARC_ARG_CLASS,ROUND_REG,ROUND_ADVANCE): Delete.
4209 (FUNCTION_ARG_ADVANCE): Rewrite.
4210 (FUNCTION_ARG,FUNCTION_INCOMING_ARG): Rewrite.
4211 (FUNCTION_ARG_{PARTIAL_NREGS,PASS_BY_REFERENCE}): Rewrite.
4212 (FUNCTION_ARG_CALLEE_COPIES): Delete.
4213 (FUNCTION_ARG_{PADDING,BOUNDARY}): Define.
4214 (STRICT_ARGUMENT_NAMING): Define.
4215 (doublemove_string): Declare.
4216 * sparc/sparc.c (sparc_arg_count,sparc_n_named_args): Delete.
4217 (single_move_string): Use GEN_INT, and HOST_WIDE_INT.
4218 (doublemove_string): New function.
4219 (output_move_quad): Clean up some of the arch64 support.
4220 (compute_frame_size): Add REG_PARM_STACK_SPACE if arch64.
4221 Don't add 8 bytes of reserved space if arch64.
4222 (sparc_builtin_saveregs): Combine arch32/arch64 versions.
4223 (init_cumulative_args): New function.
4224 (function_arg_slotno): New static function.
4225 (function_arg,function_arg_partial_nregs): New functions.
4226 (function_arg_{pass_by_reference,advance}): New functions.
4227 (function_arg_padding): New function.
c1215820 4228 * ginclude/va-sparc.h: Rewrite v9 support.
9ff84e67 4229
b8fb2d72
CI
4230Fri Oct 17 12:29:48 1997 Christian Iseli <Christian.Iseli@lslsun.epfl.ch>
4231
f22376c7
CI
4232 * regclass.c (record_address_regs): Look at REG_OK_FOR_{BASE,INDEX}_P
4233 for hard regs to determine base and index registers.
4234
b8fb2d72
CI
4235 * reload.c (debug_reload_to_stream): New function. Specify stream
4236 into which to write debug info.
4237 (debug_reload): Modify to call debug_reload_to_stream with stderr.
4238
b79ee7eb
RH
4239Thu Oct 16 15:07:51 1997 Richard Henderson <rth@cygnus.com>
4240
4241 * combine.c (can_combine_p): Don't combine with an asm whose
4242 output is a hard register.
4243
5c19a356
MS
4244Thu Oct 16 15:43:26 1997 Mike Stump (mrs@wrs.com)
4245
4246 * c-decl.c (start_struct): Ensure that structs with forward
4247 declarations are in fact packed when -fpack-struct is given.
4248
4249 * stor-layout.c (layout_record): Ignore STRUCTURE_SIZE_BOUNDARY if
4250 we are packing a structure. This allows a structure with only
4251 bytes to be aligned on a byte boundary and have no padding on a
4252 m68k.
4253
02bef6da
RK
4254Thu Oct 16 15:17:54 1997 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
4255
4256 * rs6000.h (ROUND_TYPE_ALIGN): Don't blow up if no fields in record.
4257
9ecc37f0
RH
4258Thu Oct 16 11:20:30 1997 Richard Henderson <rth@cygnus.com>
4259
4260 * alpha.c (alpha_return_addr_rtx): New variable.
4261 (alpha_save_machine_status): New; save it.
4262 (alpha_restore_machine_status): New; restore it.
4263 (alpha_init_expanders): New; clear it.
4264 (alpha_return_addr): New; set it.
4265 (alpha_ra_ever_killed): New; if alpha_return_addr_rtx, regs_ever_live
4266 is overly conservative, so search the insns explicitly.
4267 (alpha_sa_mask [VMS]): Check alpha_ra_ever_killed.
4268 (alpha_sa_size [VMS && !VMS]): Likewise.
4269 * alpha.h (RETURN_ADDR_RTX): Call alpha_return_addr.
4270 (INIT_EXPANDERS): New definition.
4271
4272 * alpha.c: Move REG_PV, REG_RA somewhere more visible in the file.
4273 (output_prolog [!VMS]): Use them.
4274
4275 * alpha.c (output_prolog [!VMS]): Move gp detection to ...
4276 (alpha_does_function_need_gp): ... a new function. Refine the
4277 CALL_INSN test to just TYPE_JSR.
4278 * alpha.md (most call insns): Fix some jsr/ibr type transpositions.
4279
bda2ffef
JL
4280Thu Oct 16 09:36:47 1997 Jeffrey A Law (law@cygnus.com)
4281
4282 * version.c: Bump for snapshot.
4283
96b63cd7
RK
4284Wed Oct 15 21:38:18 1997 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
4285
4286 * pa.c (move_operand): Respect -mdisable-indexing.
4287 * pa.h (GO_IF_LEGITIMATE_ADDRESS): Likewise.
4288
f192bf8b
DE
4289Wed Oct 15 21:34:45 1997 David Edelsohn <edelsohn@mhpcc.edu>
4290
4291 * rs6000.md (udivsi3, divsi3): Split into MQ and non-MQ cases for
4292 PPC601.
4293 (umulsidi3,umulsi3_highpart): Ditto.
4294 (smulsi3_highpart_no_mq): Add !TARGET_POWER.
4295
2ea844d3
RH
4296Wed Oct 15 18:21:46 1997 Richard Henderson <rth@cygnus.com>
4297
4298 * alpha.c (final_prescan_insn): Gut, remove and transform to ...
4299 (alpha_handle_trap_shadows): ... a new function. Handle the entire
4300 function in one go. Emit RTL for trapb, instead of printf directly.
4301 (alpha_reorg): New function. Call alpha_handle_trap_shadows.
4302 (trap_pending): Kill global variable.
4303 (output_epilog): Don't call final_prescan_insn.
4304 (struct shadow_summary): Elide $31 and $f31; now it fits in a word.
4305 * alpha.h (FINAL_PRESCAN_INSN): Remove.
4306 (MACHINE_DEPENENT_REORG): Define.
4307 * alpha.md (jsr patterns with trapb): Stupid and useless. Kill.
4308 (trapb): New insn.
4309
74835ed8
RH
4310Wed Oct 15 18:16:05 1997 Richard Henderson <rth@cygnus.com>
4311
4312 Tune Haifa scheduler for Alpha:
4313 * alpha.h (ISSUE_RATE): Define.
4314 * alpha.c (alpha_adjust_cost): Handle EV5 mult delay; don't apply
4315 EV4 adjustments to EV5.
4316 * alpha.md: Remove all scaling from function unit delays. Rework
4317 EV5 function units to match the CPU.
4318 (umuldi3_highpart): EV5 added the IMULH insn class.
4319
cdc0de30
JL
4320Wed Oct 15 17:42:41 1997 Jeffrey A Law (law@cygnus.com)
4321
4322 * pa.c (following_call): Fail if the CALL_INSN is an indirect
4323 call.
4324
041c97f2
MM
4325Tue Oct 14 12:01:00 1997 Mark Mitchell <mmitchell@usa.net>
4326
4327 * cplus-dem.c (demangle_signature): Don't look for return types on
4328 constructors. Handle member template constructors.
4329
f0632762
JM
4330Tue Oct 14 11:30:29 1997 Jason Merrill <jason@yorick.cygnus.com>
4331
4332 * tree.c (expr_tree_cons, build_expr_list, expralloc): New fns.
22ef8a13 4333 * tree.h: Declare them.
f0632762 4334
dec88383
DE
4335Fri Oct 10 13:46:56 1997 Doug Evans <dje@canuck.cygnus.com>
4336
4337 * configure.in: Handle --with-newlib.
4338 * Makefile.in (LIBGCC2_CFLAGS): Add @inhibit_libc@.
4339
4340 * sparc/t-sp64 (LIBGCC2_CFLAGS): Delete.
4341
0e1f3f5e
JL
4342Wed Oct 8 14:37:44 1997 Jeffrey A Law (law@cygnus.com)
4343
4344 * config/ptx4.h: Fix typo.
4345
12504ae0
JL
4346Wed Oct 8 08:57:20 1997 Jeffrey A Law (law@cygnus.com)
4347
4348 * version.c: Bump for snapshot.
4349
5643c767
MH
4350Tue Oct 7 16:27:34 1997 Manfred Hollstein <manfred@s-direktnet.de>
4351
4352 * aclocal.m4: Substitute INSTALL.
4353 * configure: Re-built.
4354
aa0c1401
JL
4355Tue Oct 7 15:37:35 1997 Jeffrey A Law (law@cygnus.com)
4356
f644bd14
JL
4357 * integrate.c (save_for_inline_copying): Avoid undefined pointer
4358 operations.
4359 (expand_inline_function): Likewise.
4360
aa0c1401
JL
4361 * dwarf2out.c (output_call_frame_info): Reinstate last change
4362 using flag_debug_asm check instead of flag_verbose_asm.
4363
6c2df6c9
JW
4364Tue Oct 7 12:57:26 1997 Jim Wilson <wilson@cygnus.com>
4365
4366 * dwarf2out.c (output_call_frame_info): Remove last change.
4367
13ab2b83
AS
43681997-10-04 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4369
4370 * frame.c (__frame_state_for): Execute the FDE insns until the
4371 current pc value is strictly bigger than the target pc value.
4372
066c2fea
JM
4373Tue Oct 7 11:00:42 1997 Jason Merrill <jason@yorick.cygnus.com>
4374
4375 * regclass.c (init_reg_modes): If we can't find a mode for the
4376 register, use the previous one.
4377
2f308fec
RH
4378Tue Oct 7 10:55:34 1997 Richard Henderson <rth@cygnus.com>
4379
4380 * haifa-sched.c (print_block_visualization): Call fprintf directly,
4381 don't sprintf through an alloca'ed buffer.
4382
43984e29
TK
4383Tue Oct 7 10:52:29 1997 Thomas Koenig (ig25@rz.uni-karlsruhe.de)
4384
4385 * reload.c (decompose): Always initialize val.base.
4386
e9e30253
MH
4387Tue Oct 7 10:19:26 1997 Manfred Hollstein (manfred@lts.sel.alcatel.de)
4388
4389 * m68k/mot3300.h (ASM_OUTPUT_ALIGN): Accept any alignment
4390 instead of aborting.
4391 * dwarf2out.c (output_call_frame_info): Call app_enable and
4392 app_disable to let GNU as accept the generated comments.
4393
496651db
MM
4394Tue Oct 7 11:41:21 1997 Michael Meissner <meissner@cygnus.com>
4395
4396 * tree.h (get_file_function_name): Add declaration.
4397 * dwarf2out.c (output_call_frame_info): No need to cast
4398 get_file_function_name call anymore.
4399 * profile.c (toplevel): Remove get_file_function_name
4400 declaration.
4401 * c-lang.c (finish_file): Ditto.
4402
e6347456
CS
4403Tue Oct 7 10:01:45 1997 Chip Salzenberg <chip@rio.atlantic.net>
4404
4405 * Makefile.in (program_transform_name): Let autoconf substitute
4406 the correct value.
4407
1447b516
JL
4408Tue Oct 7 09:54:35 1997 Jeffrey A Law (law@cygnus.com)
4409
4410 * haifa-sched.c (schedule_block): If the first real insn in a
4411 block has any special notes attached to it, remove them.
4412
1a42ead7
RH
4413Tue Oct 7 09:48:51 1997 Richard Henderson <rth@cygnus.com>
4414
4415 * alpha.h (FLOAT_STORE_FLAG_VALUE): It's 2.0 not 0.5.
4416
4b6140f1
MH
4417Mon Oct 6 12:47:32 1997 Manfred Hollstein (manfred@lts.sel.alcatel.de)
4418
4419 * m88k.c (m88k_begin_prologue): Remove superfluous backslash.
4420
dc84d7bc
JL
4421Mon Oct 6 12:04:24 1997 Jeffrey A Law (law@cygnus.com)
4422
4423 * Makefile.in (check-g77): New test target.
4424 (CHECK-TARGETS): Add check-g77.
4425
c0da11c4
JM
4426Fri Oct 3 11:56:36 1997 Jason Merrill <jason@yorick.cygnus.com>
4427
4428 * toplev.c (rest_of_compilation): Defer all non-nested inlines.
4429
d8d64559
MM
4430Fri Oct 3 15:49:27 1997 Michael Meissner <meissner@cygnus.com>
4431
4432 * flow.c (print_rtl_with_bb): Cast alloca return value for
4433 in_bb_p.
4434
e414ab29
RH
4435Thu Oct 2 21:15:03 1997 Richard Henderson <rth@cygnus.com>
4436
4437 * i386.h (RETURN_ADDR_RTX): New definition that works for
4438 __builtin_return_address(0) and -fomit-frame-pointer.
4439
15039abe
JW
4440Wed Oct 1 13:43:53 1997 Jim Wilson <wilson@cygnus.com>
4441
4442 Bring over from FSF.
4443 Tue Aug 5 16:10:45 1997 Jason Merrill <jason@yorick.cygnus.com>
4444
4445 * mips.c (function_arg): Handle passing a struct
4446 containing a double in a DFmode register without the PARALLEL.
4447
281de624
ILT
4448Wed Oct 1 11:13:25 1997 Ian Lance Taylor <ian@cygnus.com>
4449
d8d64559 4450 * pexecute.c: Use spawn if __CYGWIN32__.
281de624 4451
d8d64559 4452 * pexecute.c: Include "config.h" first, as per autoconf manual
281de624
ILT
4453 (from Paul Eggert <eggert@twinsun.com>).
4454
3cbdd5fc
PDM
4455Wed Oct 1 01:44:36 1997 Philippe De Muyter <phdm@info.ucl.ac.be>
4456
4457 * m68k/x-mot3300 (XCFLAGS): Disable as's long/short jump
4458 optimisation for f/expr.o and f/stb.o.
4459
135d84b8
JL
4460Tue Sep 30 23:48:57 1997 Jeffrey A Law (law@cygnus.com)
4461
4462 * cse.c (this_insn_cc0_mode): Initialize.
4463
55d89719
TK
4464Tue Sep 30 23:09:40 1997 Thomas Koenig <ig25@mvmap66.ciw.uni-karlsruhe.de>
4465
d3878e49
TK
4466 * cccp.c (expand_to_temp_buffer): Initialize all members of obuf.
4467
4468 * haifa-sched.c (get_block_head_tail): Remove unneeded initialization.
55d89719 4469
e9d0757e
RH
4470Tue Sep 30 23:06:43 1997 Richard Henderson <rth@cygnus.com>
4471
4472 * alpha.md (beq): For registers and ints 0-255, use cmpeq+bne, since
4473 that pair will dual-issue on the 21164 and plus+beq won't.
4474 (bne): Likewise for cmpeq+beq.
4475
3f34faec
JW
4476Tue Sep 30 16:07:58 1997 Jim Wilson <wilson@cygnus.com>
4477
4478 * except.c (find_exception_handler_labels): Correct argument to free.
4479
3226dac5 4480Tue Sep 30 11:00:00 1997 Brendan Kehoe <brendan@lisa.cygnus.com>
988cea7d
BK
4481
4482 * except.c (find_exception_handler_labels): Free LABELS when we're
4483 done.
4484
3a6eabfa
JL
4485Mon Sep 29 14:04:35 1997 Jeffrey A Law (law@cygnus.com)
4486
4487 * version.c: Bump for snapshot.
4488
974c50f9
JM
4489Mon Sep 29 10:51:53 1997 Jason Merrill <jason@yorick.cygnus.com>
4490
4491 * flow.c (find_basic_blocks): Mark calls as potentially jumping
4492 to the EH labels.
4493
9b16d2c4
JL
4494Mon Sep 29 09:58:06 1997 Jeffrey A Law (law@cygnus.com)
4495
4496 * configure.in: Substitute for "install" too.
4497 * configure: Rebuilt.
4498
b1e3ddfd
AJ
4499Mon Sep 29 00:38:42 1997 Aaron Jackson <jackson@negril.msrce.howard.edu>
4500
4501 * Makefile.in (bootstrap-lean, compare-lean): New targets.
4502
6662a38d
RH
4503Mon Sep 29 00:18:16 1997 Richard Henderson (rth@cygnus.com)
4504
c02f035f
RH
4505 * alias.c (base_alias_check): Two symbols can conflict if they
4506 are accessed via AND.
4507 (memrefs_conflict_p): Likewise.
4508
7a14fdc5
RH
4509 * alpha.h (SETUP_INCOMING_VARARGS): Emit a blockage insn
4510 after flushing argument registers to the stack.
4511
6662a38d
RH
4512 * Makefile.in (mostlyclean): Remove .regmove files.
4513
f3447109
JM
4514Sun Sep 28 18:59:58 1997 Jason Merrill <jason@yorick.cygnus.com>
4515
4516 * libgcc2.c (__throw): Fix thinko.
4517
37f6b6bf
MM
4518Sun Sep 28 12:00:52 1997 Mark Mitchell <mmitchell@usa.net>
4519
4520 * cplus-dem.c (demangle_template): Add new parameter. Handle new
4521 template-function mangling.
4522 (consume_count_with_underscores): New function.
4523 (demangle_signature): Handle new name-mangling scheme.
4524
adfc539e
PDM
4525Sun Sep 28 01:55:04 1997 Philippe De Muyter <phdm@info.ucl.ac.be>
4526
4527 * flow.c (print_rtl_with_bb): Cast alloca return values for variables
4528 start and end.
4529
92cbe4d2
JL
4530Sun Sep 28 01:05:16 1997 Jeffrey A Law (law@cygnus.com)
4531
4532 * frame.c: Remove last change.
4533 * dwarf2.h: Remove last change.
4534 * tree.h: Add declarations of DWARF2 unwind info support
4535 functions.
4536
2f3ca9e7
JM
4537Sat Sep 27 11:02:38 1997 Jason Merrill <jason@yorick.cygnus.com>
4538
4539 * c-decl.c (init_decl_processing): Add __builtin_dwarf_reg_size.
4540 * tree.h (built_in_function): Likewise.
4541 * expr.c (expand_builtin): Likewise.
4542 * except.h: Likewise.
4543 * dwarf2out.c (expand_builtin_dwarf_reg_size): New fn.
4544 * libgcc2.c (copy_reg): New fn.
4545 (__throw): Use it.
4546
407cb092
PE
4547Fri Sep 26 08:54:59 1997 Paul Eggert <eggert@twinsun.com>
4548
4549 * c-typeck.c (build_binary_op): Warn about comparing signed vs
4550 unsigned if -W is specified and -Wno-sign-compare is not.
4551 * c-decl.c (warn_sign_compare): Initialize to -1.
4552 (c_decode_option): -Wall no longer implies -Wsign-compare.
4553
3ba10494
AS
4554Fri Sep 26 09:00:13 1997 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4555
a7cc7f29
AS
4556 * frame.c: Include gansidecl.h for PROTO.
4557 * dwarf2out.c: Move inclusion of dwarf2.h down so that PROTO is
4558 defined. Don't declare dwarf2out_cfi_label here.
4559 * dwarf2.h: Add declarations of DWARF2 unwind info support
4560 functions.
4561 * m68k.c: Include dwarf2.h.
4562 (output_function_prologue): Add dwarf2 support.
4563 * m68k.h (INCOMING_RETURN_ADDR_RTX, DWARF_FRAME_REGNUM): New macros.
4564 (INCOMING_FRAME_SP_OFFSET): Likewise.
4565
3ba10494
AS
4566 * integrate.c (expand_inline_function): Make sure there is at
4567 least one insn that can be used as an insertion point.
4568
c5cec899
JM
4569Wed Sep 24 21:34:06 1997 Jason Merrill <jason@yorick.cygnus.com>
4570
4571 * dwarf2out.c: s/flag_verbose_asm/flag_debug_asm/
4572
e166cb18
JL
4573Wed Sep 24 22:05:30 1997 Jeffrey A Law (law@cygnus.com)
4574
4575 * version.c: Bump for snapshot.
4576
01a94cba
DE
4577Wed Sep 24 17:36:23 1997 Doug Evans <dje@canuck.cygnus.com>
4578
4579 Bring over from FSF.
4580
4581 Wed Sep 24 19:17:08 1997 Doug Evans <dje@cygnus.com>
4582
4583 * sparc/sparc.md (get_pc_via_call): Renamed from get_pc_sp32.
4584 (get_pc_via_rdpc): Renamed from get_pc_sp64.
4585 * sparc/sparc.c (finalize_pic): Update call to gen_get_pc_via_call.
4586
4587 Wed Sep 24 18:38:22 1997 David S. Miller <davem@tanya.rutgers.edu>
4588
4589 * sparc/sparc.h (ASM_CPU_SPEC): Pass -Av9a for v8plus, ultrasparc.
4590 (TARGET_OPTIONS): Add -malign-loops=, -malign-jumps=,
4591 -malign-functions=.
4592 (sparc_align_{loops,jumps,funcs}_string): Declare.
4593 (sparc_align_{loops,jumps,funcs}): Declare.
4594 (DEFAULT_SPARC_ALIGN_FUNCS): New macro.
4595 (FUNCTION_BOUNDARY): Use sparc_align_funcs.
4596 (STACK_BIAS): Define.
4597 (SPARC_SIMM*_P): Cast to unsigned HOST_WIDE_INT first, then perform
4598 test.
4599 (SPARC_SETHI_P): New macro.
4600 (CONST_OK_FOR_LETTER_P): Use it.
4601 (ASM_OUTPUT_ALIGN_CODE): Define.
4602 (ASM_OUTPUT_LOOP_ALIGN): Define.
4603 * sparc/sparc.c (sparc_align_{loops,jumps,funcs}_string): New globals.
4604 (sparc_align_{loops,jumps,funcs}): New globals.
4605 (sparc_override_options): Handle -malign-loops=, -malign-jumps=,
4606 -malign-functions=.
4607 (move_operand): Use SPARC_SETHI_P.
4608 (arith_double_operand): Cast to unsigned HOST_WIDE_INT first, then
4609 perform test.
4610 (arith11_double_operand): Likewise.
4611 (arith10_double_operand): Likewise.
4612 (finalize_pic): Finish sparc64 support.
4613 (emit_move_sequence): Use SPARC_SETHI_P. Simplify low part of
4614 64 bit constants if able.
4615 (output_fp_move_quad): Don't use fmovq unless TARGET_HARD_QUAD.
4616 (sparc_builtin_saveregs, sparc64 case): Don't save fp regs if
4617 ! TARGET_FPU.
4618 * sparc/sparc.md (*): Use GEN_INT instead of gen_rtx.
4619 (get_pc_sp32): Use for sparc64 as well.
4620 (lo_sum_di_sp{32,64}): Fix handling on 64 bit hosts.
4621 (sethi_di_sp64_const): Likewise.
4622 (movtf_cc_sp64): Check TARGET_HARD_QUAD.
4623 (cmp_zero_extract_sp64): Use unsigned HOST_WIDE_INT in cast.
4624 (ashlsi3, ashldi3, ashrsi3, ashrdi3, lshrsi3, lshrdi3): Likewise.
4625
4626 Tue Sep 23 19:02:46 1997 Doug Evans <dje@cygnus.com>
4627
4628 * sparc/linux-aout.h (COMMENT_BEGIN): Delete.
4629 * sparc/linux.h (COMMENT_BEGIN): Likewise.
4630 * sparc/linux64.h (COMMENT_BEGIN): Likewise.
4631
4632 Tue Sep 23 14:48:18 1997 David S. Miller <davem@tanya.rutgers.edu>
4633
4634 Add sparc64 linux support.
4635 * configure.in (sparc64-*-linux*): Recognize. Add sparc/xm-sparc.h
4636 to xm_file list on 32-bit sparc-linux.
4637 * sparc/xm-sp64.h: New file.
4638 * sparc/linux64.h: New file.
4639 * sparc/xm-linux.h: Include some standard headers if not inhibit_libc.
4640 Don't include xm-sparc.h.
4641 * config/xm-linux.h (HAVE_PUTENV, HAVE_ATEXIT): Define.
4642 * glimits.h (LONG_MAX): Handle sparc64.
4643
4644 Sat Sep 20 03:07:54 1997 Doug Evans <dje@cygnus.com>
4645
4646 * sparc/sysv4.h (ASM_COMMENT_START): Delete.
4647 * sparc.h (ASM_COMMENT_START): Define.
4648 * sparc.c (output_function_prologue): Use it.
4649 (sparc_flat_output_function_{epi,pro}logue): Likewise.
4650
4651 Wed Sep 17 15:04:19 1997 Doug Evans <dje@cygnus.com>
4652
4653 * sparc/sysv4.h (ASM_OUTPUT_{FLOAT,DOUBLE,LONG_DOUBLE}): Delete,
4654 use sparc.h's copies.
4655 * sparc/sparc.h (ASM_OUTPUT_{FLOAT,DOUBLE,LONG_DOUBLE}): Print
4656 ascii form as well.
4657
4658 Mon Sep 8 08:45:19 1997 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
4659
4660 * sparc.c (dwarf2out_cfi_label): Add declaration.
4661 (save_regs, output_function_prologue): Remove cast for it.
4662 (sparc_flat_{save_restore,output_function_prologue): Likewise.
4663 ({save,restore}_regs): No longer inline.
4664
ce2157a1
JL
4665Tue Sep 23 12:34:51 1997 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
4666
4667 * fold-const.c (make_range): Correctly handle cases of converting
4668 from unsigned to signed type.
4669
4670Tue Sep 23 12:34:51 1997 Bernd Schmidt <crux@pool.informatik.rwth-aachen.de>
4671
4672 * fold-const.c (merge_ranges): Make sure that if one range is subset
4673 of another, it will always be the second range. Correct (+,-) case to
4674 account for this.
4675
c5cec899
JM
4676Tue Sep 23 08:32:51 1997 Jason Merrill <jason@yorick.cygnus.com>
4677
4678 * final.c (final_end_function): Also do dwarf2 thing if
4679 DWARF2_DEBUGGING_INFO.
4680 (final_start_function): Likewise.
4681
c107334d
DM
4682Tue Sep 23 01:15:50 1997 David S. Miller <davem@tanya.rutgers.edu>
4683
e13a25d5
DM
4684 * expmed.c (expand_divmod): If compute_mode is not the same as
4685 mode, handle the case where convert_modes() causes op1 to no
4686 longer be a CONST_INT.
4687
c107334d
DM
4688 * reorg.c (dbr_schedule): At end of this pass, add REG_BR_PRED
4689 note holding get_jump_flags() calculation to all JUMP_INSNs.
4690 * rtl.h (enum reg_note): New note types REG_BR_PRED and REG_SAVE_AREA.
4691 * rtl.c (reg_note_name): Add new note types.
4692
8d7532d9
JL
4693Tue Sep 23 00:59:54 1997 Jeffrey A Law (law@cygnus.com)
4694
0774afd7 4695 * rtlanal.c (computed_jump_p): Fix typo in last change.
8d7532d9 4696
7019d00e
L
4697Tue Sep 23 00:42:44 1997 H.J. Lu (hjl@gnu.ai.mit.edu)
4698
4699 * loop.c (indirect_jump_in_function_p): Return 0
4700 by default.
4701
b9dfb357
JL
4702Tue Sep 23 00:33:55 1997 Jeffrey A Law (law@cygnus.com)
4703
4704 * rs6000/xm-rs6000.h: Fix thinko in last change.
4705 * rs6000/xm-sysv4.h: Likewise.
4706
4b7e467b
JW
4707Mon Sep 22 19:33:53 1997 Jim Wilson <wilson@cygnus.com>
4708
4709 * mips.c (save_restore_insns): Only set RTX_FRAME_RELATED_P if store_p.
4710
8c8e6faa
JL
4711Mon Sep 22 14:41:00 1997 Jeffrey A Law (law@cygnus.com)
4712
4713 * reg-stack.c (find_blocks): Fix thinko in last change.
4714
078e983e
AS
47151997-09-21 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4716
4717 * m68k.c (output_function_prologue): Add dwarf2 support.
4718
4719 * m68k.h (INCOMING_RETURN_ADDR_RTX, DWARF_FRAME_REGNUM,
4720 INCOMING_FRAME_SP_OFFSET): New definitions.
4721
d7027667
DM
4722Mon Sep 22 11:36:42 1997 David S. Miller <davem@tanya.rutgers.edu>
4723
9524f769
DM
4724 * combine.c (try_combine): Use NULL_RTX instead of '0' where
4725 appropriate in calls to gen_rtx().
4726 * cse.c (cse_main): Likewise.
4727 * emit-rtl.c (gen_label_rtx): Likewise.
4728 * expr.c (init_expr_once): Likewise.
4729 * haifa-sched.c (flush_pending_lists, sched_analyze_insn,
4730 sched_analyze, init_rgn_data_dependences,
4731 compute_block_backward_dependences): Likewise.
4732 * sched.c (schedule_insns): Likewise.
4733 * varasm.c (immed_double_const): Likewise.
4734
d7027667
DM
4735 * sparc.h (INCOMING_FRAME_SP_OFFSET): Define to
4736 SPARC_STACK_BIAS for sake of dwarf2 on sparc64.
4737
fbf8b71c
KJ
4738Mon Sep 22 11:21:33 1997 J. Kean Johnston <jkj@sco.com>
4739
4740 * i386/sco5.h: Make ELF default file format and add -mcoff/-melf..
4741 (MULTILIB_DEFAULTS): Define.
4742 (ASM_SPEC, CPP_SPEC): Handle -mcoff.
4743 (STARTFILE_SPEC, ENDFILE_SPEC, LINK_SPEC): Likewise.
4744 (LIBGCC_SPEC): Likewise.
4745 (MASK_COFF, TARGET_COFF, TARGET_ELF): Define.
4746 (SUBTARGET_SWITCHES): Add -mcoff and -melf.
4747 * i386/t-sco5 (CRTSTUFF_T_CFLAGS): Add -fPIC.
4748 (CRTSTUFF_T_CFLAGS_S): Tweak for COFF.
4749 (EXTRA_PARTS, TAROUTOPTS): Delete.
4750 (libgcc1-elf, libgcc2-elf, libgcc-elf targets): Delete.
4751 (MULTILIB_OPTIONS): Define.
4752 (MULTILIB_DIRNAMES, MULTILIB_EXCEPTIONS): Likewise.
4753 (MULTILIB_MATCHE, MULTILIB_EXTRA_OPTS): Likewise.
4754
c14a951f
JL
4755Mon Sep 22 02:10:43 1997 Jeffrey A Law (law@cygnus.com)
4756
4757 * version.c: Bump for snapshot.
4758
7014927a
JL
4759Sun Sep 21 17:45:45 1997 Jeffrey A Law (law@cygnus.com)
4760
37aa45a2
JL
4761 * loop.c (loop_number): Delete function. Change all references
4762 to use uid_loop_num array.
4763 * loop.h (loop_number): Delete declaration.
4764 * unroll.c (unroll_loop): Change "loop_number" references to
4765 use uid_loop_num instead.
4766
b47404d1
JL
4767 * loop.c (loop_unroll_factor): Move outside #ifdef HAIFA
4768 conditional.
4769 (loop_unroll_iter): Remove unused variable and all references.
4770 (loop_optimize): Always allocate and clear space for loop_unroll_factor.
4771 (insert_bct): Fix minor formatting problems.
4772 * loop.h (loop_unroll_factor): Move decl outside #ifdef HAIFA.
4773 (loop_unroll_iter): Removed unused decl.
4774 * unroll.c (unroll_loop): Remove code to set loop_unroll_iter.
4775 Always record the unrolling factor.
4776
cb3bb2a7
JL
4777 * cse.c (simplify_relational_operation): Set h0u just like h0s.
4778 Similarly for h1u and h1s.
4779
d5ff3a2e 4780 * flow.c (jmp_uses_reg_or_mem): Deleted unused function.
2a1777af
JL
4781 (find_basic_blocks): Use computed_jump_p to determine if a
4782 particular JUMP_INSN is a computed jump.
4783 * reg-stack.c (find_blocks): Use computed_jump_p to determine
4784 if a particular JUMP_INSN is a computed jump.
4785 * rtlanal.c (jmp_uses_reg_or_mem): New function.
4786 (computed_jump_p): Likewise.
4787 * rtl.h (computed_jump_p): Declare.
4788 * genattrtab.c (pc_rtx): Define and initialize.
4789 * loop.c (loop_optimize): Always determine if the current
4790 function has a computed jump.
4791 (indirect_jump_in_function_p): Use computed_jump_p to determine
4792 if a particular JUMP_INSN is a computed jump.
4793
7014927a
JL
4794 * loop.c (fix_bct_param): Delete unused function.
4795 (check_bct_param): Likewise.
4796
6d53d7c2
JM
4797Sat Sep 20 16:22:06 1997 Jason Merrill <jason@yorick.cygnus.com>
4798
4799 * frame.c (__deregister_frame): Check properly for initialized object.
4800
5a5e9503 4801Fri Sep 19 20:51:03 1997 H.J. Lu (hjl@gnu.ai.mit.edu)
71e4fbe6
L
4802
4803 * alpha/linux.h (HANDLE_SYSV_PRAGMA): Defined.
4804
272299b9
R
4805Fri Sep 19 18:53:50 1997 J"orn Rennecke <amylaar@cygnus.co.uk>
4806
cc5e1642
R
4807 * jump.c (thread_jumps): check can_reverse_comparison_p before
4808 threading a reversed-condition jump.
4809
272299b9
R
4810 * sched.c (update_flow_info): Don't pass SCRATCH to dead_or_set_p.
4811 * haifa-sched.c (update_flow_info): Likewise.
4812
18511014
JL
4813Thu Sep 18 21:13:40 1997 Jeffrey A Law (law@cygnus.com)
4814
e6493727
JL
4815 * Makefile.in (BOOT_CFLAGS): Use -O2.
4816
1e467e19
JL
4817 * configure.in (strtoul, bsearch): Have autoconf check for these
4818 functions.
4819 * configure, config.in: Rebuilt.
4820
18511014
JL
4821 * m68k/xm-mot3300.h (alloca): Properly declare if __STDC__.
4822 * mips/mips.h (alloca): Likewise.
4823 * rs6000/xm-rs6000.h (alloca): Likewise.
4824 * rs6000/xm-sysv4.h: Likewise.
4825
6020d360
JM
4826Thu Sep 18 14:22:22 1997 Jason Merrill <jason@yorick.cygnus.com>
4827
4828 * final.c (final_scan_insn): Hand BARRIERs off to the dwarf2 code.
4829 * dwarf2out.c (dwarf2out_frame_debug): Pass the whole insn along.
4830 (dwarf2out_stack_adjust): A BARRIER resets the args space to 0.
4831
4832 * except.c (end_eh_unwinder): Subtract 1 from return address.
4833 * libgcc2.c (__throw): Likewise.
4834 (find_exception_handler): Don't change PC here. Compare end with >.
4835
b24bcfb3
NC
4836Thu Sep 18 10:43:07 1997 Nick Clifton <nickc@cygnus.com>
4837
4838 * v850.c (compute_register_save_size): Correct register
4839 number.
4840 * v850.md (save_interrupt, return_interrupt): Correct
4841 register number.
4842 * v850/lib1funcs.asm (save_interrupt): Correct register number.
4843 (return_interrupt): Use stack pointer, not element pointer.
4844
93cf819d
BK
48451997-09-18 Brendan Kehoe <brendan@lisa.cygnus.com>
4846
4847 * configure.in, configure: Make sure to create the stage* and include
4848 symbolic links in each subdirectory.
4849
f0501149
JL
4850Thu Sep 18 01:47:06 1997 Jeffrey A Law (law@cygnus.com)
4851
4852 * pa.md (reload_peepholes): Don't allow addresses with side
4853 effects for the memory operand.
4854
4f870c04
JM
4855Wed Sep 17 18:19:53 1997 Jason Merrill <jason@yorick.cygnus.com>
4856
4857 * libgcc2.c (find_exception_handler): Subtract one from our PC when
4858 looking for a handler, to avoid hitting the beginning of the next
4859 region.
4860
4861 * except.c (expand_builtin_set_return_addr_reg): Use force_operand.
4862
4eb66248
JL
4863Wed Sep 17 18:33:59 1997 Jeffrey A Law (law@cygnus.com)
4864
4865 * mips/abi64.h (LONG_MAX_SPEC): Define.
4866 * mips.h (LONG_MAX_SPEC): Define.
4867 (CPP_SPEC): Include long_max_spec.
4868 (EXTRA_SPECS): Include long_max_spec.
4869
44158507
JL
4870Wed Sep 17 14:11:38 1997 Jeffrey A Law (law@cygnus.com)
4871
4872 * v850.c (construct_save_jarl): Fix thinko in last change.
4873
bf520cd9
JL
4874Wed Sep 17 09:53:07 1997 Jeffrey A Law (law@cygnus.com)
4875
4876 * version.c: Bump for snapshot.
4877
255fe733
JM
4878Tue Sep 16 14:22:36 1997 Jason Merrill <jason@yorick.cygnus.com>
4879
c0727e2a
JM
4880 * libgcc2.c (find_exception_handler): Not found is -1.
4881
255fe733
JM
4882 * integrate.c (expand_inline_function): Move expand_start_bindings
4883 after expanding the arguments.
4884
21002281
JW
4885Tue Sep 16 11:13:46 1997 Jim Wilson <wilson@cygnus.com>
4886
4887 * expr.c (expand_expr): Remove previous incorrect change.
4888 If target and slot has no DECL_RTL, then call mark_addressable
4889 again for the slot after we give it RTL.
4890
e693cc28 4891Tue Sep 16 09:18:52 1997 Jason Merrill (jason@cygnus.com)
f633220c 4892
e693cc28
UD
4893 * expr.c (expand_expr, case TARGET_EXPR): Call mark_addressable
4894 again for the slot after we give it RTL.
f633220c 4895
145870b5
NC
4896Tue Sep 16 00:13:20 1997 Nick Clifton <nickc@cygnus.com>
4897
84e75068 4898 * v850.c (register_is_ok_for_epilogue,
145870b5
NC
4899 pattern_is_ok_for_epilogue, construct_restore_jr,
4900 pattern_is_ok_for_prologue, construct_save_jarl): New functions.
4901
84e75068 4902 * v850.h (pattern_is_ok_for_prologue,
145870b5
NC
4903 pattern_is_ok_for_epilogue, register_is_ok_for_epilogue): New
4904 predicates.
4905
84e75068 4906 * v850.md: Replace prologue and epilogue patterns with a
145870b5
NC
4907 match_parallel pattern.
4908
76143254
JL
4909Mon Sep 15 22:53:01 1997 Jeffrey A Law (law@cygnus.com)
4910
4911 * aclocal.m4: Add replacement for AC_PROG_INSTALL.
4912 * configure.in: Use EGCS_PROG_INSTALL.
4913
4401bf24
JL
4914Mon Sep 15 22:40:55 1997 Jim Wilson (wilson@cygnus.com)
4915
4916 * dwarf2out.c (gen_subprogram_die): Handle redefinition of an
4917 extern inline function.
4918
4919Mon Sep 15 22:40:55 1997 Richard Henderson (rth@cygnus.com)
4920
4921 * dwarf2out.c (reg_loc_descriptor): Fix prototype.
4922 (concat_loc_descriptor): New function.
4923 (loc_descriptor): Call it.
4924 (add_AT_location_description): Also elide the descriptor if both
4925 halves of a CONCAT are pseudos.
4926 (add_location_or_const_value_attribute): Recognize CONCAT too.
4927
0d24ff5d
RH
4928Mon Sep 15 15:24:00 1997 Richard Henderson <rth@cygnus.com>
4929
4bb43724
RH
4930 * alpha.md (movdi): Handle CONST_DOUBLE for TARGET_BUILD_CONSTANTS.
4931
0d24ff5d
RH
4932 * alpha/alpha.c (output_prolog): New variable sa_reg. Use it for
4933 out-or-range reg_offset.
4934 (output_epilog): Likewise.
4935
05ef8897
JL
4936Mon Sep 15 15:39:26 1997 Jeffrey A Law (law@cygnus.com)
4937
4938 * cse.c (simplify_relational_operation): If MODE specifies a
4939 mode wider than HOST_WIDE_INT, then the high word of a CONST_INT
4940 is derived from the sign bit of the low word.
4941
ca55abae
JM
4942Mon Sep 15 11:43:38 1997 Jason Merrill <jason@yorick.cygnus.com>
4943
4944 Support dwarf2 unwinding on PUSH_ROUNDING targets like the x86.
4945
4946 * dwarf2.h: Add DW_CFA_GNU_args_size.
4947 * frame.c (execute_cfa_insn): Likewise.
4948 * dwarf2out.c (dwarf_cfi_name, output_cfi): Likewise.
4949 (dwarf2out_args_size, dwarf2out_stack_adjust): New fns.
4950 (dwarf2out_frame_debug): If this isn't a prologue or epilogue
4951 insn, hand it off to dwarf2out_stack_adjust.
4952 (dwarf2out_begin_prologue): Initialize args_size.
4953 * frame.h (struct frame_state): Add args_size.
4954 * libgcc2.c (__throw): Use args_size.
4955 * final.c (final_scan_insn): If we push args, hand off all insns
4956 to dwarf2out_frame_debug.
4957 * defaults.h (DWARF2_UNWIND_INFO): OK for !ACCUMULATE_OUTGOING_ARGS.
4958
4959 * dwarf2out.c dwarf2out_frame_debug): Fix typo.
4960 Handle epilogue restore of SP from FP.
4961 * emit-rtl.c (gen_sequence): Still generate a sequence if the
4962 lone insn has RTX_FRAME_RELATED_P set.
4963
4964 * frame.c (extract_cie_info): Handle "e" augmentation.
4965 * dwarf2out.c (ASM_OUTPUT_DWARF_*): Provide definitions in the
4966 absence of UNALIGNED_*_ASM_OP.
4967 (UNALIGNED_*_ASM_OP): Only provide defaults if OBJECT_FORMAT_ELF.
4968 (output_call_frame_info): Use "e" instead of "z" for augmentation.
4969 Don't emit augmentation fields length.
4970 (dwarf2out_do_frame): Move outside of #ifdefs.
4971 * defaults.h (DWARF2_UNWIND_INFO): Don't require unaligned data
4972 opcodes.
4973
4974 * sparc.h (UNALIGNED_INT_ASM_OP et al): Don't define here after all.
4975 * sparc/sysv4.h (UNALIGNED_INT_ASM_OP): Define here.
4976 * sparc/sunos4.h (DWARF2_UNWIND_INFO): Define to 0.
4977 * sparc/sun4gas.h: New file.
4978 * configure.in: Use sun4gas.h if SunOS 4 --with-gnu-as.
4979
4980 * collect2.c (write_c_file_stat, write_c_file_glob): Declare
4981 __register_frame_table and __deregister_frame.
4982
1d77fa53
BK
49831997-09-15 Brendan Kehoe <brendan@cygnus.com>
4984
4985 * except.c (find_exception_handler_labels): Use xmalloc instead of
4986 alloca, since MAX_LABELNO - MIN_LABELNO can be more than 1 million
4987 in some cases.
4988
8be52aaa
JL
4989Sun Sep 14 21:01:23 1997 Jeffrey A Law (law@cygnus.com)
4990
4991 * Makefile.in: Various changes to build info files
4992 in the object tree rather than the source tree.
4993
a3ee3246
JL
4994Sun Sep 14 12:24:30 1997 Jeffrey A Law (law@cygnus.com)
4995
4996 * fixinc.math: New file to fix math.h on some systems.
4997 * configure.in (freebsd, netbsd): Use fixinc.math on these
4998 systems.
4999 * configure: Rebuilt.
5000
124da275
JL
5001Sun Sep 14 11:11:05 1997 Jeffrey A Law (law@cygnus.com)
5002
5003 * regmove.c (regmove_optimize): If we end up moving the
5004 original insn due to lifetime overlaps, make sure to move
5005 REG_NOTES too.
5006
fca9d4b0
MH
5007Sat Sep 13 15:51:11 1997 Manfred Hollstein <manfred@s-direktnet.de>
5008
5009 * Makefile.in (INSTALL_{PROGRAM,DATA}): Use value found by configure.
5010
326ee7a3
JL
5011Sat Sep 13 12:57:26 1997 Jeffrey A Law (law@cygnus.com)
5012
5013 * haifa-sched.c (add_branch_dependences): Make each insn in
5014 a SCHED_GROUP_P block explicitly depend on the previous insn.
5015
ca55abae
JM
5016Fri Sep 12 13:49:58 1997 Jason Merrill <jason@yorick.cygnus.com>
5017
5018 * except.h: Prototype dwarf2 hooks.
5019 * expr.c: Adjust.
5020
5188d2b2
JW
5021Thu Sep 11 17:43:55 1997 Jim Wilson <wilson@cygnus.com>
5022
5023 * configure.in (native_prefix): Delete.
5024 (mips-dec-netbsd): Don't set prefix.
5025 (*linux*): Don't set prefix.
5026
2e384318
FF
5027Thu Sep 11 15:48:32 1997 Fred Fish <fnf@ninemoons.com>
5028
70988851
FF
5029 * protoize.c: Include <varargs.h> only if HAVE_VARARGS_H is
5030 defined. If not defined, include <sys/varargs.h> if
5031 HAVE_SYS_VARARGS_H is defined.
5032 * configure.in: Test for varargs.h and sys/varargs.h.
5033 * configure: Regenerate with autoconf.
5034 * config.in: Regenerate with autoheader.
5035
2e384318
FF
5036 * cpplib.c (quote_string): Cast first arg of sprintf call
5037 from "unsigned char *" to "char *".
5038 (output_line_command): Ditto.
5039 (macroexpand): Ditto.
5040 (do_line): Cast atoi arg from "unsigned char *" to "char *".
5041
3fb2f401
JL
5042Wed Sep 10 21:37:30 1997 Jeffrey A Law (law@cygnus.com)
5043
f2e4e16f
JL
5044 * version.c: Bump for snapshot.
5045
3fb2f401
JL
5046 * Makefile.in (compare): Exit with nonzero status if there
5047 are comparison failures. Note which files failed the
5048 comparison test in .bad_compare.
5049
d26cb668
L
5050Wed Sep 10 17:05:46 1997 H.J. Lu (hjl@gnu.ai.mit.edu)
5051
5052 * config/alpha/elf.h (CPP_PREDEFINES): Remove -D__PIC__ -D__pic__.
5053
ac64120e
JW
5054Wed Sep 10 16:37:28 1997 Fred Fish <fnf@ninemoons.com>
5055
5056 * Makefile.in (LN, LN_S): New macros, use where appropriate.
5057 * aclocal.m4 (GCC_PROG_LN_S, GCC_PROG_LN): New tests.
5058 * configure.in: Use GCC_PROG_LN_S and GCC_PROG_LN.
5059 * configure: Regenerated.
5060
5061Thu Sep 11 11:09:43 1997 Jeffrey A Law (law@cygnus.com)
5062
5063 * loop.c (strength_reduce): Fix typo.
5064
db87ec0b
JW
5065Wed Sep 10 16:01:15 1997 Jim Wilson <wilson@cygnus.com>
5066
5067 * m88k/m88k.c (struct option): Rename to struct options.
5068 * m88k/dolph.h (INITIALIZE_TRAMPOLINE): Delete here.
5069 * m88k/sysv3.h (INITIALIZE_TRAMPOLINE): Delete ifdef and comments.
5070 * libgcc2.c (__enable_execute_stack): Check for __sysV88__ not
5071 __DOLPHIN__ or sysV88.
5072
04395f96
JW
5073Wed Sep 10 14:58:40 1997 Jim Wilson <wilson@cygnus.com>
5074
5075 * emit-rtl.c (gen_lowpart_common): For a SUBREG, add in word when
5076 create new subreg.
5077
becdcf6d
JL
5078Wed Sep 10 15:19:22 1997 Jeffrey A Law (law@cygnus.com)
5079
5080 * config.sub: Accept 'amigados' for backward compatability.
5081
04395f96 5082Wed Sep 10 14:05:08 1997 H.J. Lu (hjl@gnu.ai.mit.edu)
3979dfb8
JW
5083
5084 * Makefile.in (testsuite/site.exp): New target.
5085 (check-gcc, check-g++): Depend on testsuite/site.exp.
5086 Don't stop for failure.
5087
ca55abae
JM
5088Wed Sep 10 12:59:57 1997 Jason Merrill <jason@yorick.cygnus.com>
5089
5090 * expr.c (expand_builtin): Only support __builtin_dwarf_fp_regnum()
5091 if DWARF2_UNWIND_INFO.
5092
5093Wed Sep 10 11:49:20 1997 Jason Merrill <jason@yorick.cygnus.com>
5094
5095 Add support for exception handling using DWARF 2 frame unwind info.
5096 Currently works on SPARC and MIPS, and almost on x86.
5097
5098 * libgcc2.c (get_reg, put_reg, get_return_addr, put_return_addr,
5099 next_stack_level, in_reg_window): Helper fns.
5100 (__throw): Implement for DWARF2_UNWIND_INFO.
5101
5102 * expr.c (expand_builtin): Handle builtins used by __throw.
5103 * tree.h (enum built_in_function): Add builtins used by __throw.
5104 * c-decl.c (init_decl_processing): Declare builtins used by __throw.
5105 * dwarf2out.c (expand_builtin_dwarf_fp_regnum): Used by __throw.
5106 * except.c (expand_builtin_unwind_init): Hook for dwarf2 __throw.
5107 (expand_builtin_extract_return_addr): Likewise.
5108 (expand_builtin_frob_return_addr): Likewise.
5109 (expand_builtin_set_return_addr_reg): Likewise.
5110 (expand_builtin_eh_stub): Likewise.
5111 (expand_builtin_set_eh_regs): Likewise.
5112 (eh_regs): Choose two call-clobbered registers for passing back values.
5113
5114 * frame.c, frame.h: New files for parsing dwarf 2 frame info.
5115 * Makefile.in (LIB2ADD): New variable. Add $(srcdir)/frame.c.
5116 (libgcc2.a): Use it instead of $(LIB2FUNCS_EXTRA) $(LANG_LIB2FUNCS)
5117 (stmp-multilib): Likewise.
5118 ($(T)crtbegin.o, $(T)crtend.o): Add -fno-exceptions.
5119
5120 * except.c: #include "defaults.h".
5121 (exceptions_via_longjmp): Default depends on DWARF2_UNWIND_INFO.
5122 (emit_throw): Don't defeat assemble_external if DWARF2_UNWIND_INFO.
5123 (register_exception_table_p): New fn.
5124 (start_eh_unwinder): Don't do anything if DWARF2_UNWIND_INFO.
5125 (end_eh_unwinder): Likewise.
5126
5127 * crtstuff.c: Wrap .eh_frame section, use EH_FRAME_SECTION_ASM_OP,
5128 call __register_frame and __deregister_frame as needed.
5129 * varasm.c (eh_frame_section): New fn if EH_FRAME_SECTION_ASM_OP.
5130 * dwarf2out.c (EH_FRAME_SECTION): Now a function-like macro. Check
5131 EH_FRAME_SECTION_ASM_OP.
5132 * sparc/sysv4.h (EH_FRAME_SECTION_ASM_OP): Define.
5133 * mips/iris6.h: (EH_FRAME_SECTION_ASM_OP): Define.
5134 (LINK_SPEC): Add __EH_FRAME_BEGIN__ to hidden symbols.
5135
5136 * dwarf2out.c (output_call_frame_info): If no support for
5137 EXCEPTION_SECTION, mark the start of the frame info with a
5138 collectable tag.
5139 * collect2.c (frame_tables): New list.
5140 (is_ctor_dtor): Recognise frame entries.
5141 (scan_prog_file): Likewise.
5142 (main): Pass -fno-exceptions to sub-compile. Also do collection
5143 if there are any frame entries.
5144 (write_c_file_stat): Call __register_frame_table and
5145 __deregister_frame as needed.
5146 (write_c_file_glob): Likewise.
5147
5148 * defaults.h (DWARF2_UNWIND_INFO): Default to 1 if supported.
5149 Also require unaligned reloc support.
5150 * sparc.h (UNALIGNED_SHORT_ASM_OP, UNALIGNED_INT_ASM_OP,
5151 UNALIGNED_DOUBLE_INT_ASM_OP): Define here.
5152 * sparc/sysv4.h: Not here.
5153
5154 * toplev.c (compile_file): Call dwarf2out_frame_{init,finish}.
5155 * dwarf2out.c (dwarf2out_init): Don't call dwarf2out_frame_init.
5156 (dwarf2out_finish): Don't call dwarf2out_frame_finish.
5157
5158 * libgcc2.c (L_eh): Reorganize, moving code shared by different
5159 EH implementations to the top.
5160 (find_exception_handler): Split out. Start from 0. Compare against
5161 end with >=.
5162 (__find_first_exception_table_match): Use it.
5163 * except.c (output_exception_table): Don't do anything if there's
5164 no table. Don't output a first entry of zeroes.
5165 (eh_outer_context): Adjust properly.
5166 (add_eh_table_entry): Use xrealloc.
5167 * toplev.c (compile_file): Just call output_exception_table.
5168
5169Wed Sep 10 11:30:36 1997 Jason Merrill <jason@cygnus.com>
5170
5171 * i386.c (ix86_prologue): Add dwarf2 support for !do_rtl case.
5172
5173Wed Sep 10 08:17:10 1997 Torbjorn Granlund <tege@pdc.kth..se>
5174
5175 * except.c (eh_outer_context): Do masking using expand_and.
5176
b4d940a2
JL
5177Wed Sep 10 01:38:30 1997 Doug Evans <dje@cygnus.com>
5178
5179 Add port done awhile ago for the ARC cpu.
5180 * arc/arc.h: New file.
5181 * arc/arc.c: New file.
5182 * arc/arc.md: New file.
5183 * arc/initfini.c: New file.
5184 * arc/lib1funcs.asm: New file.
5185 * arc/t-arc: New file.
5186 * arc/xm-arc.h: New file.
5187 * ginclude/va-arc.h: New file.
5188 * ginclude/stdarg.h: Include va-arc.h ifdef __arc__.
5189 * ginclude/varargs.h: Likewise.
5190 * Makefile.in (USER_H): Add va-arc.h.
5191 * configure.in (arc-*-elf*): Recognize.
5192 * longlong.h: Add ARC support.
5193
5194Wed Sep 10 01:32:54 1997 Jeffrey A Law (law@cygnus.com)
5195
5196 * expr.c (clear_storage): Use CONST0_RTX instead of const0_rtx.
5197 when clearing non-BLKmode data.
5198
10211581
JL
5199Wed Sep 10 00:29:29 1997 Manfred Hollstein <manfred@s-direktnet.de>
5200
9dfc6eba
MH
5201 * m88k/sysv3.h (INITIALIZE_TRAMPOLINE) Define.
5202 * libgcc2.c (__enable_execute_stack): Provide for sysV88 too.
5203
55259219
MH
5204 * xm-m88k.h (USG): Only define if it hasn't already been defined.
5205
5206 * Makefile.in (risky-stage1): Delete gratutious whitespace.
5207
ee291069
MH
5208 * Makefile.in (clean): Delete libgcc1-test.
5209
10211581
JL
5210 * Makefile.in (INSTALL): cd to $(srcdir) before running texinfo.
5211
5212Tue Sep 9 17:07:36 1997 Stan Cox <coxs@dg-rtp.dg.com>
48f0be1b
SC
5213
5214 * m88k.c (m88k_expand_prologue): Set MEM_IN_STRUCT_P of va_list
5215 template.
5216
ca55abae
JM
5217Tue Sep 9 09:50:02 1997 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
5218
5219 * dwarf2out.c (output_call_frame_info): Call named_section.
5220
8f3d79e0
JL
5221Tue Sep 9 09:12:17 1997 Jeffrey A Law (law@cygnus.com)
5222
5223 * haifa-sched.c (print_value): Fix last change.
5224
ca55abae
JM
5225Tue Sep 9 01:30:37 1997 Jason Merrill <jason@yorick.cygnus.com>
5226
5227 * mips.h (DWARF_FRAME_REGNUM): Use the same numbering regardless of
5228 write_symbols.
5229
5230Mon Sep 8 16:32:43 1997 Jason Merrill <jason@yorick.cygnus.com>
5231
5232 * mips.c (function_prologue): Set up the CFA when ABI_32.
5233
5234 * sparc.c (save_regs): Check dwarf2out_do_frame instead of DWARF2_DEBUG
5235 for dwarf2 unwind info.
5236 (output_function_prologue, sparc_flat_output_function_prologue): Same.
5237
5238 * final.c (final_end_function): Check dwarf2out_do_frame instead
5239 of DWARF2_DEBUG for dwarf2 unwind info.
5240 (final_scan_insn): Likewise.
5241 (final_start_function): Likewise. Initialize dwarf2 frame debug here.
5242 (final): Not here.
5243
5244 * expr.c (expand_builtin_return_addr): Only SETUP_FRAME_ADDRESSES if
5245 count > 0.
5246
5247 * varasm.c (exception_section): Check EXCEPTION_SECTION first.
5248
74aca74b
NC
5249Mon Sep 8 15:15:11 1997 Nick Clifton <nickc@cygnus.com>
5250
5251 * v850.h (ASM_SPEC): Pass on target processor.
5252 (CPP_PREDEFINES): Only define if not already specified.
5253 (TARGET_VERSION): Only define if not already specified.
5254 (MASK_CPU, MASK_V850, MASK_DEFAULT): Bits to specify target
5255 processor.
5256 (EXTRA_SWITCHES): Extra entries in the switches array.
5257 (TARGET_DEFAULT): Set default target processor.
5258
c0b04148
JW
5259Mon Sep 8 18:26:35 1997 Jim Wilson <wilson@cygnus.com>
5260
5261 * m68k.h (MACHINE_STATE_SAVE, MACHINE_STATE_RESTORE): In MOTOROLA
5262 cases, add %# and %/, and add : to make them into extended asms.
5263
52b7724b
WL
5264Sun Sep 7 23:57:50 1997 Weiwen Liu <liu@hepunix.physics.yale.edu>
5265
5266 * alias.c (init_alias_analysis): Clean up incompatible pointer
5267 type warning in bzero.
5268 * regmove.c (regmove_optimize): Ditto.
5269 * haifa-sched.c (find_rgns): Ditto.
5270
5271 * haifa-sched.c (print_value): Clean up ptr->int cast
5272 warnings.
5273
0c82f6bf
FF
5274Sun Sep 7 23:18:32 1997 Fred Fish <fnf@ninemoons.com>
5275
5276 * INSTALL: Change 'amigados' to 'amigaos' to match current usage.
5277 * install.texi (Configurations): Ditto.
5278 * config.sub: Ditto.
5279
1fed1f51
WL
5280Sun Sep 7 22:56:56 1997 Weiwen Liu (liu@hepvms.physics.yale.edu)
5281
5282 * Makefile.in (sdbout.o): Depend on insn-config.h.
5283
239e68f6
JW
5284Sun Sep 7 18:44:50 1997 Jim Wilson <wilson@cygnus.com>
5285
5286 * m68k/m68k.h (TARGET_SWITCHES): For 68000, 68302, subtract MASK_68881.
5287 For 68303, 68332, cpu32, subtract MASK_68040_ONLY.
5288
267c09ab
JM
5289Sun Sep 7 18:30:46 1997 Jason Merrill <jason@yorick.cygnus.com>
5290
5291 * dwarf2out.c (dwarf2out_frame_debug): Assume that in a PARALLEL
5292 prologue insn, only the first elt is significant.
5293 (output_call_frame_info): For exception handling, always use 4-byte
5294 fields as specified by the dwarf2 spec.
5295 Don't skip trivial FDEs.
5296
db7cafb0
JL
5297Sun Sep 7 14:19:39 1997 Jeffrey A Law (law@cygnus.com)
5298
5299 * version.c: Bump for snapshot.
5300
5301Sun Sep 7 14:17:36 1997 Torbjorn Granlund (tege@pdc.kth.se)
5302
5303 * expmed.c (expand_divmod): Make op1_is_pow2 depend on unsignedp
5304 for negative constants. Promote EXACT_DIV_EXPR to TRUNC_DIV_EXPR
5305 when op1_is_pow2.
5306
5307Sun Sep 7 13:46:46 1997 Jeffrey A Law (law@cygnus.com)
5308
bf520cd9
JL
5309 * final.c (shorten_branches): During first pass, assume worst
5310 possible alignment for ADDR_VEC and ADDR_VEC_DIFF insns.
db7cafb0
JL
5311
5312 * Makefile.in (distclean): Remove various things left around
5313 by running the testsuite.
5314
7ed46111
MH
5315Sun Sep 7 13:16:06 1997 Manfred Hollstein <manfred@s-direktnet.de>
5316
5317 * configure.in (out_file): Emit definition to config.status in order
5318 to have a defined value for configure.lang.
5319 * configure: Re-built.
5320
e41cea70
JJH
5321Sun Sep 7 09:59:08 1997 Jan-Jaap van der Heijden (J.J.vanderHeijden@student.utwente.nl)
5322
bf520cd9 5323 * configure.in: Make symlink to as-new rather than as.new. Similarly
e41cea70
JJH
5324 for ld-new.
5325 * configure: Rebuilt.
5326
1aeb1f6f
JW
5327Fri Sep 5 16:54:55 1997 Jim Wilson <wilson@cygnus.com>
5328
5329 * profile.c (output_func_start_profiler): Set DECL_EXTERNAL to zero.
5330
770a0113
CK
5331Fri Sep 5 16:16:44 1997 Christian Kuehnke <Christian.Kuehnke@arbi.Informatik.Uni-Oldenburg.DE>
5332
5333 * sparc/sparc.md: Add ultrasparc scheduling support.
5334 * sparc/sparc.h (RTX_COSTS): For MULT give v9 a cost of 25 insns.
5335
f5ffa999
PDM
5336Fri Sep 5 14:04:59 1997 Philippe De Muyter <phdm@info.ucl.ac.be>
5337
5338 * integrate.c (save_for_inline_copying): Use 0, not NULL_PTR,
5339 as initial value for real_label_map.
5340 (copy_for_inline): Likewise.
5341
acceac1a
R
5342Fri Sep 5 13:36:44 1997 J"orn Rennecke <amylaar@cygnus.co.uk>
5343
5344 * sched.c (update_flow_info) When looking if to set found_split_dest
5345 or found_orig_dest, look at all parts of a PARALLEL.
5346 * haifa-sched.c (update_flow_info): Likewise.
5347
f84271d9
JL
5348Fri Sep 5 10:08:44 1997 Jeffrey A Law (law@cygnus.com)
5349
5350 * v850: New directory for v850 port.
5351 * v850/lib1funcs.asm: New file.
5352 * t-v850, v850.c, v850.h, v850.md, xm-v850.h: New files.
5353 * ginclude/va-v850.h: New file.
5354 * ginclude/varargs.h, ginclude/stdarg.h: Include va-mn10200.h.
5355 * configure.in (mn10200-*-*): New target.
5356 * configure: Rebuilt.
5357 * config.sub: Handle v850-elf.
5358 * Makefile.in (USER_H): Add va-mn10200.h.
5359 * invoke.texi: Document v850 stuff.
5360
89cc6098
JW
5361Fri Sep 5 09:37:50 1997 Jim Wilson (wilson@cygnus.com)
5362
04940ba5
JW
5363 * sdbout.c (plain_type_1, case ARRAY_TYPE): Verify that TYPE_DOMAIN
5364 has integer TYPE_{MAX,MIN}_VALUE before using them.
5365
89cc6098
JW
5366 * m68k/m68k.h (MACHINE_STATE_SAVE, MACHINE_STATE_RESTORE): Add
5367 __HPUX_ASM__ versions.
5368
c74f7db8
JL
5369Fri Sep 5 09:08:44 1997 Jeffrey A Law (law@cygnus.com)
5370
bf520cd9 5371 * install.sh: Delete duplicate install script.
c74f7db8 5372
914ec131
SC
5373Thu Sep 4 23:14:27 1997 Stan Cox (coxs@dg-rtp.dg.com)
5374
5375 * reg-stack.c (subst_stack_regs): Pop the stack register for a
5376 computed goto which sets the same stack register.
5377
5378 * reg-stack.c (compare_for_stack_reg): Swap only if the source and
5379 destination are both on the regstack.
5380 (subst_stack_regs_pat): Put the destination at the top of the regstack.
5381
c1090daa
JW
5382Thu Sep 4 15:02:27 1997 Jim Wilson <wilson@cygnus.com>
5383
d5d1738a
JW
5384 * mips.md (nonlocal_goto_receiver): Define.
5385
f4da7881
JW
5386 * profile.c (output_arc_profiler): Check next_insert_after for non
5387 NULL before deferencing it.
5388
c1090daa
JW
5389 * i386/t-sol2 (TARGET_LIBGCC2_CFLAGS): Define to -fPIC.
5390
da594c94
JL
5391Thu Sep 4 14:51:57 1997 Jeffrey A Law (law@cygnus.com)
5392
5393 * i386.h (CPP_CPU_DEFAULT): Avoid using #elif.
5394
3e28fe44
MM
5395Thu Sep 4 15:01:49 1997 Michael Meissner <meissner@cygnus.com>
5396
5397 * toplev.c (rest_of_compilation): For passes starting with
5398 flow_analysis, use print_rtl_with_bb instead of print_rtl.
5399
5400 * print-rtl.c (print_rtl_single): Print a single rtl value to a
5401 file.
5402
5403 * flow.c (print_rtl_with_bb): Print which insns start and end
5404 basic blocks. For the start of a basic block, also print the live
5405 information.
5406
7053ca72
JW
5407Thu Sep 4 11:51:43 1997 Jim Wilson <wilson@cygnus.com>
5408
417b0fa2
JW
5409 * toplev.c (main): Change #elif to #else/#ifdef
5410
7053ca72
JW
5411 * tlink.c: Include ctype.h.
5412 * ginclude/va-mips.h: Add _VA_MIPS_H_ENUM ifdef/define/endif.
5413
f05a8b25
MM
5414Thu Sep 4 11:17:16 1997 Mikeael Meissner (meissner@cygnus.com)
5415
5416 * bitmap.c: Conditionally include stdlib.h.
bf520cd9 5417 (free): Provide a declaration if NEED_DECLARATION_FREE.
f05a8b25 5418
02d7a569
JS
5419Thu Sep 4 09:58:53 1997 Joel Sherrill (joel@OARcorp.com)
5420
5421 * i960/i960.h: Added default for SUBTARGET_SWITCHES macro.
5422
6030b6af
JW
5423Thu Sep 4 09:53:20 1997 Jim Wilson (wilson@cygnus.com)
5424
5425 * profile.c (output_arc_profiler): Verify next_insert_after is an
5426 INSN before and after skipping a stack pop.
5427
04da53bd
R
5428Thu Sep 4 07:39:19 1997 J"orn Rennecke <amylaar@cygnus.co.uk>
5429
5430 * final.c (shorten_branches): Don't count the lengths of deleted
5431 instructions.
5432
780532a4
JL
5433Thu Sep 4 09:43:01 1997 Jeffrey A Law (law@cygnus.com)
5434
5435 * version.c: Bump for snapshot.
5436
22fa5b8a
MM
5437Thu Sep 4 11:04:21 1997 Michael Meissner <meissner@cygnus.com>
5438
5439 * bitmap.h (EXECUTE_IF_AND_IN_BITMAP): New macro, to iterate over
5440 two bitmaps ANDed together.
5441 (bitmap_print): Declare.
5442
5443 * bitmap.c (function_obstack): Don't declare any more.
5444 (bitmap_obstack): Obstack for allocating links from.
5445 (bitmap_obstack_init): New static to say whether to initialize
5446 bitmap_obstack.
5447 (bitmap_element_allocate): Use bitmap_obstack to allocate from.
5448 (bitmap_release_memory): Free all memory allocated from
5449 bitmap_obstack.
5450
5451 * basic-block.h (EXECUTE_IF_AND_IN_REG_SET): New macro, invoke
5452 EXECUTE_IF_AND_IN_BITMAP.
5453
57163df0
JW
5454Wed Sep 3 10:39:42 1997 Jim Wilson <wilson@cygnus.com>
5455
fa8b6024
JW
5456 * alias.c (true_dependence): Address with AND can alias scalars.
5457 (anti_dependence, output_dependence): Likewise.
5458
57163df0
JW
5459 * alias.c (true_dependence): Test x for BLKmode, in addition to mem.
5460
8aa4e786
JS
5461Wed Sep 3 09:28:50 CDT 1997 Joel Sherrill (joel@OARcorp.com)
5462
5463 * i386/go32-rtems.h, i386/rtems.h, i960/rtems.h, m68k/rtems.h,
5464 mips/rtems64.h, pa/rtems.h, rs6000/rtems.h, sh/rtems.h,
5465 sparc/rtems.h (subtarget_switches): Removed SUBTARGET_SWITCHES
5466 definitions. Use -qrtems instead of -mrtems.
5467
feb21122
RL
5468Wed Sep 3 09:05:41 1997 Robert Lipe (robert@dgii.com)
5469
5470 * xm-sco5.h (sys_siglist): Define.
5471 (SYS_SIGLIST_DECLARED): Likewise.
5472
704af6a1
JL
5473Tue Sep 2 23:33:33 1997 Jeffrey A Law (law@cygnus.com)
5474
5475 * expr.c (convert_move): Handle truncation from TQFmode to QFmode.
5476
127cd405
TG
5477Wed Sep 3 02:09:30 1997 Torbjorn Granlund <tege@pdc.kth..se>
5478
5479 * except.c (eh_outer_context): Expand masking operation using
5480 expand_binop.
5481
8cf02b47
JW
5482Tue Sep 2 18:09:39 1997 Jim Wilson <wilson@cygnus.com>
5483
5484 * alpha.md (floatdisf2-1): New pattern.
5485
49dad301
JL
5486Tue Sep 2 18:41:55 1997 Jeffrey A Law (law@cygnus.com)
5487
068f1cb8
JL
5488 * xm-svr4.h (SYS_SIGLIST_DECLARED): Define.
5489 * xm-news.h (SYS_SIGLIST_DECLARED): Likewise.
f04e7122 5490 * xm-sysv4.h (SYS_SIGLIST_DECLARED): Likewise.
068f1cb8
JL
5491 * gcc.texi: Note that if you define sys_siglist that you should
5492 also define SYS_SIGLIST_DECLARED.
5493
49dad301
JL
5494 * mn10200.h (INITIALIZE_TRAMPOLINE): PC relative instructions
5495 are relative to the next instruction, not the current instruction.
5496
a1729519
JW
5497Tue Sep 2 14:22:43 1997 Jim Wilson <wilson@cygnus.com>
5498
5499 * local-alloc.c (contains_replace_regs): New function.
5500 (update_equiv_regs): When adding a REG_EQUIV note for a set of a MEM,
5501 verify that there is no existing REG_EQUIV note, and add a call to
5502 contains_place_regs.
5503
290c8b1f
L
5504Tue Sep 2 12:48:11 1997 H.J. Lu (hjl@gnu.ai.mit.edu)
5505
5506 * config/alpha/elf.h (CPP_PREDEFINES): Add -D__PIC__ -D__pic__.
5507 (STARTFILE_SPEC): Always use crtbegin.o%s
5508 (ENDFILE_SPEC): Always use crtend.o%s.
5509
a6a503ed
JW
5510Tue Sep 2 12:00:36 1997 Jim Wilson <wilson@cygnus.com>
5511
5512 * alpha/alpha.h (PREFERRED_RELOAD_CLASS): Return NO_REGS if NO_REGS
5513 is passed in.
5514 * emit-rtl.c (gen_lowpart_common): Add code to convert CONST_INT to
5515 SFmode for 64 bit hosts.
5516
a94729bc
PH
5517Tue Sep 2 13:42:38 1997 Paul N. Hilfinger <hilfingr@CS.Berkeley.EDU>
5518
5519 * fixincludes: Permits spaces between # and define. Discard C++
5520 comments in sys/pci.h on HP/UX 10.20.
5521
c9e03727
JL
5522Mon Sep 1 22:13:18 1997 Jeffrey A Law (law@cygnus.com)
5523
5524 * version.c: Bump for snapshot.
5525
2eddfed1
JL
5526 * pa.c (restore_unscaled_index_insn_codes): New function.
5527 (record_unscaled_index_insn_codes): Likewise.
5528 (output_function_prologue): Call restore_unscaled_index_insn_codes.
5529 (output_function_epilogue): Free memory for unscaled_index_insn_codes.
5530 (pa_reorg): Call record_unscaled_index_insn_codes.
5531
c9e03727
JL
5532 * haifa-sched.c (move_insn): Handle notes correctly for insns
5533 with SCHED_GROUP_P set.
5534
a5d6a95b
L
5535Mon Sep 1 16:58:57 1997 H.J. Lu (hjl@gnu.ai.mit.edu)
5536
5537 * alpha/xm-linux.h (USE_BFD): Undef before define.
5538
bc4ddc77
JW
5539Mon Sep 1 16:25:34 1997 Jim Wilson <wilson@cygnus.com>
5540
5541 * cse.c (cse_insn): Don't record BLKmode values.
5542
f3e0ca6c
SW
5543Mon Sep 1 11:25:47 1997 Stephen Williams (steve@icarus.icarus.com)
5544
5545 * i960.h (LINK_SPEC): Handle "-mjX" and "-mrp" switches.
5546
e3512ac2
JL
5547Mon Sep 1 08:29:46 1997 Jeffrey A Law (law@cygnus.com)
5548
a63d08e6
JL
5549 * cccp.c (sys_errlist): Remove special 4.4bsd declaration.
5550 * collect2.c (sys_errlist): Likewise.
5551 * cpplib.c (sys_errlist): Likewise.
5552 * gcc.c (sys_errlist): Likewise.
5553 * protoize (sys_errlist): Likewise.
5554 * configure.in: Check for strerror.
5555 * xm-freebsd.h (HAVE_STRERROR): Remove definition.
5556 * xm-gnu.h (HAVE_STRERROR): Likewise.
5557 * xm-linux.h (HAVE_STRERROR): Likewise.
5558 * xm-netbsd.h (HAVE_STRERROR): Likewise.
5559 * xm-bsd386.h (HAVE_STRERROR): Likewise.
5560 * xm-cygwin32.h (HAVE_STRERROR): Likewise.
5561 * xm-dos.h (HAVE_STRERROR): Likewise.
5562 * xm-mingw32.h (HAVE_STRERROR): Likewise.
5563 * xm-pa.h (HAVE_STRERROR): Likewise.
5564 * xm-papro.h (HAVE_STRERROR): Likewise.
5565 * xm-sysv4.h (HAVE_STRERROR): Likewise.
5566 * configure, config.in: Rebuilt.
5567
db814993
JL
5568 * Makefile.in: Add several missing "else true" clauses.
5569
e3512ac2
JL
5570 * collect2.c: Change DONT_DECLARE_SYS_SIGLIST to SYS_SIGLIST_DECLARED.
5571 * mips-tfile.c: Likewise.
5572 * gcc.texi: DONT_DECLARE_SYS_SIGLIST: Remove docs.
5573 * xm-linux.h (DONT_DECLARE_SYS_SIGLIST): Delete definition.
5574 * xm-freebsd.h, xm-bsd386.h, xm-sysv4.h, xm-sol2.h: Likewise.
5575 * configure.in: Check for sys_siglist declaration.
5576 * configure, config.in: Rebuilt.
5577
5d84b57e
JS
5578Mon Sep 1 08:04:07 1997 Joel Sherrill (joel@OARcorp.com)
5579
5580 * i386/go32-rtems.h, i386/rtems.h, i960/rtems.h,
5581 m68k/rtems.h, mips/rtems64.h, pa/rtems.h, rs6000/rtems.h,
5582 sparc/rtems.h (subtarget_switches): Added -mrtems as a switch.
5583 * i960/i960.h: Added SUBTARGET_SWITCHES macro.
5584 * rs6000/sysv4.h (extra_subtarget_switches): Added new
5585 macro EXTRA_SUBTARGET_SWITCHES.
5586 * configure.in (sh*-*-rtems*): New target.
5587 * sh/rtems.h: New file.
5588 * sh/sh.h: Added SUBTARGET_SWITCHES macro.
5589 * configure: Rebuilt.
5590
2599dcc7
JW
5591Sat Aug 30 22:54:26 1997 Jim Wilson <wilson@cygnus.com>
5592
5593 * unroll.c (calculate_giv_inc): Handle increment with code PLUS.
5594
3b7e5ef4
DE
5595Sat Aug 30 10:49:46 1997 David Edelsohn <edelsohn@mhpcc.edu>
5596
5597 * rs6000.md: Make DF fused-add operations pay attention to
5598 -mno-fused-add.
5599
5cd5f4a7
JW
5600Fri Aug 29 19:19:54 1997 Jim Wilson <wilson@cygnus.com>
5601
5602 * i386/xm-sysv4.h (DONT_DECLARE_SYS_SIGLIST): Define.
5603
63e7fe9b
JL
5604Fri Aug 29 16:13:51 1997 Jeffrey A Law (law@cygnus.com)
5605
5606 * pa.md (reload_peepholes): Make sure operand is a REG before
5607 examining REGNO. Allow general registers too.
5608
eb7b11fd
JW
5609Fri Aug 29 11:42:04 1997 Jim Wilson <wilson@cygnus.com>
5610
5611 * varasm.c (mark_constants): Don't look inside CONST_DOUBLEs.
5612
c760091a
PT
5613Fri Aug 29 09:33:20 1997 Philipp Thomas (kthomas@lxi165.gwdg.de)
5614
5cd5f4a7 5615 * dwarf2out.c (build_abbrev_table): Use xrealloc, not xmalloc
c760091a
PT
5616 to reallocate abbrev_die_table.
5617
57583338
JW
5618Thu Aug 28 15:14:46 1997 Jim Wilson <wilson@cygnus.com>
5619
5620 * m68k/m68k.md (iorsi_zexthi_ashl16): Disable.
5621
eae4b970
AS
56221997-08-27 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5623
4f91a0f8
AS
5624 * Makefile.in (config.status): Depend on version.c
5625
eae4b970
AS
5626 * expr.h (insn_gen_function): Reenable prototype.
5627
5628 * expr.c (move_by_pieces_1, clear_by_pieces_1): Fix prototype of
5629 first parameter.
5630
00fc09e1
JW
5631Thu Aug 28 13:01:43 1997 Jim Wilson <wilson@cygnus.com>
5632
5633 * i386.c (ix86_expand_epilogue): Emit blockage instruction when pic.
5634
2601ebca
JL
5635Thu Aug 28 07:03:15 1997 Jeffrey A Law (law@cygnus.com)
5636
5637 * version.c: Bump for latest snapshot.
5638
5639 * bc-optab.c: Conditionally include stdlib.h.
5640 (free): Provide a declaration if NEED_DECLARATION_FREE.
5641 * tree.c (free): Provide a declaration if NEED_DECLARATION_FREE.
5642 * rtl.h (free): Remove declaration.
5643 * tree.h (free): Remvoe declaration.
5644
5645 * configure: Rebuilt.
5646
e5eb27e5
JL
5647Wed Aug 27 21:32:20 1997 Jeffrey A Law (law@cygnus.com)
5648
5649 * flags.h (flag_move_all_movables): Declare.
5650 (flag_reduce_all_givs): Likewise.
5651 * loop.c (move_movables): Handle flag_move_all_movables.
5652 (strength_reduce): Handle flag_reduce_all_givs.
5653 * toplev.c (flag_move_all_movables): Define.
5654 (flag_reduce_all_givs): Likewise.
5655 (f_options): Add -fmove-all-movables and -freduce-all-givs.
5656 * invoke.texi: Document new options, including alias stuff that
5657 wasn't included last time.
5658
d995a6dc
BM
5659Wed Aug 27 18:08:51 1997 Bob Manson (manson@cygnus.com)
5660
5661 * t-h8300: Use TARGET_LIBGCC2_CFLAGS instead of LIBGCC2_CFLAGS.
5662 * t-mn10200: Ditto.
5663 * t-vxsparc: Ditto.
5664 * t-vxworks68: Ditto.
5665 * t-vxworks960: Ditto.
5666 * t-vx29k: Ditto.
5667
ba64ca33
RH
5668Wed Aug 27 16:35:29 1997 Richard Henderson <rth@cygnus.com>
5669
5670 * alpha/xm-alpha.h (alloca): Define alloca to builtin_alloca for GNUC
5671 if not already defined, and USE_C_ALLOCA not defined.
5672
ca20876d
JW
5673Wed Aug 27 16:08:43 1997 Jim Wilson <wilson@cygnus.com>
5674
7818d6fc
JW
5675 * config.guess: Replace with script that uses ../config.guess.
5676
ca20876d
JW
5677 * config/alpha/elf.h (DEFAULT_VTABLE_THUNKS): New. Defined as 1
5678 if USE_GNULIBC_1 is not defined.
5679
704a6306
RH
5680Wed Aug 27 15:49:12 1997 Richard Henderson <rth@cygnus.com>
5681
5682 * alpha/elf.h (LINK_SPEC): Conditionalize on USE_GNULIBC_1.
5683 * config.guess: Recognize alpha-linux-gnulibc1.
5684 * configure.in (alpha-*-linux-gnulibc1): New target.
5685 (alpha-*-linux-gnu*): Don't build crtbegin/end.
5686
67f68fd2
JW
5687Wed Aug 27 11:52:58 1997 Jim Wilson <wilson@cygnus.com>
5688
5689 * m68k.md (iorsi3_internal): Readd ! TARGET_5200 check lost in
5690 last change.
5691
88016fb7
DE
5692Wed Aug 27 01:56:18 1997 Doug Evans <dje@seba.cygnus.com>
5693
5694 * loop.c (combine_movables): Earlier insns don't match later ones.
5695
bba17b29
L
5696Wed Aug 27 01:24:25 1997 H.J. Lu (hjl@gnu.ai.mit.edu)
5697
5698 * config/linux.h (CC1_SPEC): Define it only if not defined.
5699
5700 * config/m68k/linux.h (CC1_SPEC): Undefine it before include
5701 <linux.h>
5702
5703 * config/linux.h (DEFAULT_VTABLE_THUNKS): New. Defined as 1 if
5704 USE_GNULIBC_1 is not defined.
5705
33d2808b 5706 * config/rs6000/linux.h (DEFAULT_VTABLE_THUNKS): New. Defined as 1.
bba17b29
L
5707
5708 * config/sparc/linux.h (DEFAULT_VTABLE_THUNKS): New. Defined
5709 as 1 if USE_GNULIBC_1 is not defined.
5710
ed4044e0
JL
5711Wed Aug 27 00:49:14 1997 Jeffrey A Law (law@cygnus.com)
5712
f345de42
JL
5713 * reorg.c (dbr_schedule): Allow current_function_return_rtx
5714 to be something other than a REG.
5715 * function.c (expand_function_end): Fix current_function_return_rtx
5716 if it was a pseudo.
5717
ed4044e0
JL
5718 * t-freebsd (USER_H): Include EXTRA_HEADERS and LANG_EXTRA_HEADERS.
5719 * x-netbsd: Likewise
5720 * x-dgux (USER_H): Include EXTRA_HEADERS and LANG_EXTRA_HEADERS
5721 (INSTALL_HEADERS): Delete.
5722 * x-dguxbcs: Likewise.
5723 * x-hp3bsd44: Likewise
5724 * x-pa: Likewise.
5725
47d36400
BS
5726Wed Aug 27 00:30:00 1997 Bernd Schmidt <crux@pool.informatik.rwth-aachen.de>
5727
5728 * i386.md (pop): pop increments the stack pointer.
5729 (prologue_set_stack_ptr): New pattern.
5730 * i386.c (ix86_expand_prologue): Use prologue_set_stack_ptr
5731 instead of subsi3.
5732
fc79eafe
JW
5733Tue Aug 26 18:50:32 1997 Jim Wilson <wilson@cygnus.com>
5734
5735 * reload.c (find_reloads, case '0'): Reject matching a non-offsettable
5736 address where an offsettable address is required.
5737
c5da853f
MH
5738Tue Aug 26 17:54:56 1997 Michael P. Hayes (michaelh@ongaonga.chch.cri.nz>
5739
5740 * loop.c (check_final_value): Don't miss a biv increment in a
5741 parallel.
5742
d4ef15f2
JW
5743Tue Aug 26 12:03:49 1997 Jim Wilson (wilson@cygnus.com)
5744
5745 * dwarfout.c (dwarfout_file_scope_decl, case TYPE_DECL): Check
5746 TYPE_DECL_IS_STUB instead of DECL_NAME.
5747
10549cbd
JW
5748Mon Aug 25 23:27:10 1997 H.J. Lu (hjl@gnu.ai.mit.edu)
5749
5750 * objc/Make-lang.in ($(OBJC_O)): Also depend on cc1obj.
5751
5752Mon Aug 25 23:27:10 1997 Jim Meyering <meyering@eng.ascend.com>
5753
5754 * objc/Make-lang.in ($(OBJC_O)): Also depend on $(GCC_PASSES).
5755
484df988
JL
5756Mon Aug 25 13:12:24 1997 Jeffrey A Law (law@cygnus.com)
5757
5758 * haifa-sched.c (find_pre_sched_live): Remove #if 0 code.
5759 (find_post_sched_live): Likewise.
5760
5761 * haifa-sched.c (schedule_block): Remove old code to get arguments
5762 from hard regs into pseudos early.
5763
39dfb55a
JL
5764Mon Aug 25 08:55:00 1997 Jeffrey A Law (law@cygnus.com)
5765
5766 * version.c: Bump for new snapshot.
5767
5768 * local-alloc.c (update_equiv_regs): All the target to reject
5769 promotion of some REG_EQUAL to REG_EQUIV notes.
5770 * pa.h (DONT_RECORD_EQUIVALENCE): Define.
5771
5772 * pa.c (secondary_reload_class): (mem (mem ... )) does not need
5773 secondary reloads.
5774
5775 * pa.c (hppa_builtin_saveregs): Emit a blockage insn after the
5776 store of the argument registers.
5777
5778Mon Aug 25 08:39:02 1997 Craig Burley (burley@gnu.ai.mit.edu)
5779
5780 * fold-const.c (multiple_of_p): New function.
5781 (fold): Turn some cases of *_DIV_EXPR into EXACT_DIV_EXPR.
5782
d78778eb
JL
5783Mon Aug 25 01:47:41 1997 Jeffrey A Law (law@cygnus.com)
5784
5785 * expr.h (insn_gen_function): Temporarily remove prototype.
5786
feb9ea1a
JW
5787Sun Aug 24 17:22:21 1997 Jim Wilson <wilson@cygnus.com>
5788
5789 * Makefile.in (install-info): Don't cd into srcdir. Add srcdir to
5790 filenames. Use sed to extract base filename for install.
5791
b6ffe602
JC
5792Sat Aug 23 18:19:40 1997 John F. Carr <jfc@mit.edu>
5793
5794 * unroll.c (find_splittable_givs): Only share if two givs have the
5795 same add and multiply values.
5796
2ebfd230
JW
5797Sat Aug 23 14:36:27 1997 Jim Wilson <wilson@cygnus.com>
5798
5799 * m68k/next.h (GO_IF_INDEXABLE_BASE): Fix typo in undef.
5800 * m68k/m68kemb.h (LIB_SPEC): Add missing comment end before it.
5801
251ffdee
JL
5802Sat Aug 23 00:18:22 1997 Jeffrey A Law (law@cygnus.com)
5803
5804 * pa.c (pa_reorg): Always put begin_brtab and end_brtab insns
5805 around branch tables.
5806 * pa.md (begin_brtab, end_brtab): Only emit the .begin_brtab
5807 and .end_brtab directives if TARGET_GAS.
5808
19372aa1
JW
5809Fri Aug 22 14:05:55 1997 Jim Wilson <wilson@cygnus.com>
5810
27314274
JW
5811 * alias.c (true_dependence): Pass x_addr not x to varies.
5812
19372aa1
JW
5813 * acconfig.h (NEED_DECLARATION_CALLOC): Add.
5814 * configure.in: Add GCC_NEED_DECLARATION call for calloc.
5815 * rs6000/xm-rs6000.h (malloc, realloc, calloc, free): Delete
5816 declarations.
5817 * config.in, configure: Regenerate.
5818
2a2c8203
JC
5819Thu Aug 21 23:52:16 1997 John F. Carr <jfc@mit.edu>
5820
5821 * alias.c (find_base_value): Improve handling of PLUS, MINUS, and
5822 LO_SUM.
5823 (record_set): Handle LO_SUM like PLUS.
5824 (init_alias_analysis): When following chains of base addresses,
5825 do not stop on reaching a hard register.
5826
d80357b7
JL
5827Thu Aug 21 20:17:37 1997 Jeffrey A Law (law@cygnus.com)
5828
5829 * version.c: Bump for new snapshot.
5830
b4f32d7b
JW
5831Thu Aug 21 17:28:00 1997 Jim Wilson <wilson@cygnus.com>
5832
5833 * alpha.h (ARCH_ASM_FILE_START): Define.
5834 (ASM_FILE_START): Use ARCH_ASM_FILE_START.
5835 * osf12.h, osf2or3.h (ARCH_ASM_FILE_START): Redefine to null string.
5836
ca363bb6
JL
5837Thu Aug 21 10:22:19 1997 Jeffrey A Law (law@cygnus.com)
5838
5839 * Makefile.in (install-common): Put gcov comment at start of line.
5840
7557aa98
JL
5841Wed Aug 20 22:47:33 1997 Jeffrey A Law (law@cygnus.com)
5842
5843 * alias.c (init_alias_analysis): When simplifying the reg_base_value
5844 array, simplify entries for hard registers too.
5845
c34e3ae4
DL
5846Wed Aug 20 12:35:47 1997 Dave Love <d.love@dl.ac.uk>
5847
5848 * dwarf2.h (enum dwarf_call_frame_info): Remove trailing comma from
5849 list.
5850
e3eef942
JW
5851Wed Aug 20 11:58:33 1997 Jim Wilson <wilson@cygnus.com>
5852
5853 * stmt.c (start_cleanup_deferal, end_cleanup_deferal): Test
5854 block_stack before dereferencing it.
5855
5856Wed Aug 20 11:57:11 1997 Michael Meissner <meissner@cygnus.com>
246853b9
MM
5857
5858 * rs6000.h (ISSUE_RATE): Define instead of MACHINE_issue_rate.
5859
04f41951
JM
5860Tue Aug 19 17:10:56 1997 Jason Merrill <jason@yorick.cygnus.com>
5861
5862 * cplus-dem.c: Add 'extern' to prepends_underscore.
5863
e933cbe0
JL
5864Tue Aug 19 09:34:57 1997 Jeffrey A Law (law@cygnus.com)
5865
62d65906
JL
5866 * haifa-sched.c (ISSUE_RATE): Renamed from MACHINE_issue_rate.
5867 (get_issue_rate): Delete.
5868 * pa.h (ISSUE_RATE): Define.
5869
2da05a5b
JL
5870 * configure.in: Turn on haifa by default for the PA.
5871 * configure: Rebuilt.
5872 * pa.c (override_options): Accept -mschedule=7200 option.
5873 (pa_adjust_cost): No longer need to scale costs for newer
5874 processors.
5875 * pa.h (enum processor_type): Add PROCESSOR_7200.
5876 * pa.md: Revamp scheduling parameters to work better with
5877 haifa. Add scheduling parameters for the 7200.
5878
4f64eaca
JL
5879 * haifa-sched.c (move_insn): Reemit notes for SCHED_GROUP_P
5880 insns too.
5881 (schedule_block): When adjusting basic_block_{head,end}, account
5882 for movement of SCHED_GROUP_P insns too.
5883
5884 * haifa-sched.c (debug_dependencies): Fix thinko.
5885
e933cbe0
JL
5886 * Makefile.in (EXPECT, RUNTEST, RUNTESTFLAGS): Define.
5887 (site.exp, check, check-g++, check-gcc): New targets.
5888
4f64eaca 5889 * haifa-sched.c: Make lots of variables static.
61822835 5890
e9576d2c
L
5891Tue Aug 19 07:18:34 1997 H.J. Lu (hjl@gnu.ai.mit.edu)
5892
5893 * expr.h, real.h: Finish prototyping.
5894
61822835
JL
5895Mon Aug 18 21:49:02 1997 Jim Wilson <wilson@cygnus.com>
5896
5897 * reload.c (find_reloads): Add code to convert RELOAD_FOR_OPADDR_ADDR
5898 reloads to RELOAD_FOR_OPERAND_ADDRESS reloads.
5899 * reload1.c: Undo bugfix from Aug 11.
5900
f24b370a
MM
5901Mon Aug 18 17:39:02 1997 Mike Meissner <meissner@cygnus.com>
5902
5903 * configure.in ({powerpc,rs6000}*-*-*, --with-cpu): Remove single
5904 quotes around the name.
5905 * configure: Regenerate.
5906
1c4c5851
JW
5907Mon Aug 18 13:46:47 1997 Jim Wilson <wilson@cygnus.com>
5908
5909 * Makefile.in (stmp-multilib-sub): Fix typo in last change.
5910
71abb567
MH
5911Thu Aug 7 10:33:13 1997 Manfred Hollstein <manfred@s-direktnet.de>
5912
5913 * Makefile.in (sub-makes): Pass the current value of LANGUAGES down
5914 to sub-makes to avoid building more passes than the user might have
5915 requested on the command line.
5916
6042434a
DL
5917Sun Aug 17 15:42:17 1997 Dave Love (d.love@dl.ac.uk)
5918
5919 * configure.in: Expurgate `broken_install' (install is
5920 autoconfed).
5921
5922 * configure.lang: Substitute autoconfed ${INSTALL} (not currently
5923 relevant).
5924
38ea060f
JL
5925Sat Aug 16 01:08:12 1997 Jeffrey A Law (law@cygnus.com)
5926
5927 * loop.c (is_power_of_2, is_conditional_branch): Delete unused
5928 functions and declarations.
5929 (analyze_loop_iterations): Use condjump_p.
5930 (insert_bct): Likewise. Use exact_log2.
5931
f187056f
JL
5932Fri Aug 15 23:48:32 1997 Jeffrey A Law (law@cygnus.com)
5933
5934 * haifa-sched.c (find_post_sched_live): Call FREE_REG_SET as needed.
5935 (schedule_region): Likewise.
5936 (schedule_insns): Likewise.
5937
5938 * PROJECTS: Update with Haifa stuff.
5939
9af06254
JL
5940Fri Aug 15 12:49:56 1997 Jeffrey A Law (law@cygnus.com)
5941
5942 * version.c: Change the version string to look like:
11c21791 5943 egcs-2.90.00 970814 (gcc2-970802 experimental).
9af06254 5944
0945e937
JL
5945 * loop.c (is_conditional_branch): Make definition match declaration.
5946
9af06254
JL
5947 * gcc.c: Take out experimental snapshot warning message.
5948
ebc25a17
MM
5949Fri Aug 15 13:43:39 1997 Michael Meissner <meissner@cygnus.com>
5950
5951 * haifa-sched.c (debug_dependencies): Use GET_NOTE_INSN_NAME to
5952 print out the names of the notes. Print out the name of the insn
5953 that is not a note, and not an {,CALL_,JUMP_}INSN.
5954
610ce97e
JM
5955Wed Aug 13 17:32:38 1997 Jason Merrill <jason@yorick.cygnus.com>
5956
5957 * expr.c (expand_expr, case TARGET_EXPR): Call mark_addressable
5958 again for the slot after we give it RTL.
5959
992d1248
DE
5960Wed Aug 13 01:03:37 1997 Doug Evans <dje@canuck.cygnus.com>
5961
5962 * configure.in (haifa configury): Fix typo.
5963 * configure: Regenerate.
5964
7bb6fbd1
JL
5965Tue Aug 12 10:20:36 1997 Jeffrey A Law (law@cygnus.com)
5966
5967 * version.c: Bump version to "gcc-3.0.0 970802 experimental".
5968
5969 * gcc.info*: Rebuilt.
5970
5971 * COPYING.g77, README.g77: New files.
5972 * real.c (ereal_unto_float, ereal_unto_double): New functions.
5973 * real.h (ereal_unto_float, ereal_unto_double): Declare them.
5974 (REAL_VALUE_UNTO_TARGET_DOUBLE, REAL_VALUE_UNTO_TARGET_SINGLE): Define.
5975
8c660648
JL
5976Mon Aug 11 14:50:55 1997 Jeffrey A Law (law@cygnus.com)
5977
5978 * Integrate Haifa instruction scheduler.
5979 * Makefile.in (ALL_CFLAGS): Add SCHED_CFLAGS. Prefix all references
5980 to sched with $(SCHED_CFLAGS.
5981 * configure.in: Handle --enable-haifa.
5982 * configure: Rebuilt.
5983 * flags.h: Add new flags for haifa instruction scheduler.
5984 * genattrtab.c (expand_units): For haifa, don't subtract one
5985 when computing blockage.
5986 * toplev.h (flag_schedule_interblock): Haifa scheduler flag.
5987 (flag_schedule_speculative): Ditto.
5988 (flag_schedule_speculative_load): Ditto.
5989 (flag_schedule_speculative_load_dangerous): Ditto.
5990 (flag_schedule_reverse_before_reload): Ditto.
5991 (flag_schedule_reverse_after_reload): Ditto.
5992 (flag_branch_on_count_reg): Ditto.
5993 (f_options): Add Haifa switches.
5994 (main): Turn off some Haifa options if appropriate macro is
5995 defined. Process Haifa switches.
5996 * unroll.c (iteration_info): No longer static, since Haifa
5997 scheduler uses it.
5998 (unroll_loop): Inform HAIFA scheduler about loop unrolling factor.
5999 * unroll.c (unroll_loop): Set loop_unroll_iter, loop_start_value.
6000 * loop.h (loop_unroll_factor, loop_number): Add HAIFA decls.
6001 * loop.h (loop_initial_value,loop_unroll_iter): New globals.
6002 * loop.c (loop_optimize): If HAIFA is defined, allocate additional
6003 storage for the Haifa scheduler.
6004 (mark_loop_jump): If HAIFA defined, set LABEL_OUTSIDE_LOOP_P and
6005 LABEL_NEXTREF.
6006 (strength_reduce): If HAIFA and HAVE_decrement_and_branch_on_count
6007 are defined, call analyze_loop_iterations and insert_bct to use
6008 countdown loops.
6009 (record_giv): Refine test for jumps out of loops if HAIFA is
6010 defined.
6011 (analyze_loop_iterations): New function to identify if we can use
6012 a countdown loop.
6013 (insert_bct): Insert countdown loop.
6014 (instrument_loop_bct): Low level code to insert countdown loop.
6015 (loop_number): Calculate UID of loop.
6016 (indirect_jump_in_function_p): Return true if an indirect jump is
6017 in the function.
6018 (is_power_of_2): Return true if value is a power of 2.
6019 (is_conditional_branch): Return true if insn is a conditional
6020 jump.
6021 (fix_bct_param): Process -fbct-{min,max}-N switches.
6022 (check_bct_param): Return true if loop should be instrumented.
6023 * loop.c (loop_initial_value,loop_unroll_iter): New globals.
6024 (loop_optimize): Initialize.
6025 (get_condition_for_loop): Ditto.
6026 * loop.c (strength_reduce): Inside of code that uses #ifdef
6027 HAVE_decrement_and_branch_on_count code, test it to make sure the
6028 condition is true.
6029 (instrument_loop_bct): Ditto.
6030 * haifa-sched.c: New file.
6031
6032
6033 * Integrate regmove pass.
6034 * Makefile.in (OBJS): Add regmove.o
6035 (regmove.o): Add dependencies.
6036 * flow.c (find_use_as_address): No longer static.
6037 * rtl.h (find_use_as_address): Declare.
6038 * toplev.c (regmove_dump, flag_regmove): Define.
6039 (f_options): Add -fregmove.
6040 (regmove_dump_file, regmove_time): Define.
6041 (fatal_insn): Close the regmove dump file.
6042 (compile_file): Initialize regmove_time; open/close the regmove dump
6043 file as needed. Print regmove time as needed.
6044 (rest_of_compilation): Run regmove pass if requested, dump
6045 RTL after regmove if requested.
6046 (main): If -O2 or more, turn on regmove. Handle dump switches.
6047 * regmove.c: New file.
6048
aa32d841
JL
6049Mon Aug 11 14:15:02 1997 Jeffrey A Law (law@cygnus.com)
6050
6051 * Integrate tlink patch from jason@cygnus.com
6052 * gcc.c (SWITCH_TAKES_ARG): Add 'V', 'B' and 'b'.
6053 (process_command): Increment n_switches for them. Don't discard
6054 their args. Validate them.
6055 (main): Escape " marks when creating COLLECT_GCC_OPTIONS.
6056 From Rohan Lenard.
6057 (process_command): Set include_prefixes from COMPILER_PATH.
6058 (main): Set COLLECT_GCC_OPTIONS sooner.
6059 * confiugre.in: Link ../ld/ld.new to collect-ld rather than real-ld.
6060 * tlink.c, hash.c, hash.h: New files.
6061 * Makefile.in (USE_COLLECT2): Always use collect2.
6062 (collect2): Depend on and link in hash.o and tlink.o.
6063 (tlink.o, hash.o): Add dependencies.
6064
5fa39bfe
JL
6065Mon Aug 11 10:04:49 1997 Jeffrey A Law (law@cygnus.com)
6066
9ae8ffe7
JL
6067 * Integrate alias analysis changes from jfc@mit.edu
6068 * Makefile.in (OBJS): Add alias.o
6069 (alias.o): Add dependencies.
6070 * alias.c: New file.
6071 * sched.c: Remove alias analysis code. It lives in alias.c now.
9ae8ffe7 6072 (sched_analyze_2): Add new arguments to true_dependence.
9ae8ffe7
JL
6073 (schedule_insns): Always call init_alias_analysis.
6074 * calls.c (expand_call): Note calls to malloc, calloc, and realloc;
6075 mark return value from such functions as a pointer and keep track of
6076 them for alias analysis. If a return value from a function is a
6077 pointer, mark it as such.
6078 * combine.c (distribute_notes): Handle REG_NOALIAS.
6079 * cse.c (struct write_data): Delete. No longer needed.
6080 (invalidate): Don't call set_nonvarying_address_components anymore.
6081 Use true_dependence to decide if an entry should be removed from
6082 the hash table.
6083 (invalidate_memory): Remove WRITES argument, simplify appropriately.
6084 Fix all callers.
6085 (note_mem_written): Similarly for WRITE_PTR argument.
6086 (invalidate_from_clobbers): Similarly for W argument.
6087 (invalidate_for_call): Remove memory elements from the hash table.
6088 (refers_to_mem_p, cse_rtx_addr_varies_p): Deleted.
6089 (cse_rtx_varies_p): New function. Derived from old
6090 cse_rtx_addr_varies_p.
6091 (cse_insn): Remove WRITES_MEMORY and INIT variables and all references.
6092 Don't call note_mem_written anymore. Stack pushes invalidate the stack
6093 pointer if PUSH_ROUNDING is defined. No longer need to call
6094 cse_rtx_addr_varies_p to decide if a MEM should be invalidated.
6095 (skipped_writes_memory): Remove variable.
6096 (invalidate_skipped_set): Simplify and wewrite to use invalidate_memory.
6097 (invalidate_skipped_block): Simplify for new alias analysis code.
6098 (cse_set_around_loop): Likewise.
6099 (cse_main): Call init_alias_analysis.
6100 * flags.h (flag_alias_check, flag_argument_noalias): Declare.
6101 * toplev.c (flag_alias_check, flag_argument_noalias): Define.
6102 (f_options): Add new alias checking arguments.
6103 (main): Set flag_alias_check when optimizing.
6104 * local_alloc (validate_equiv_mem_from_store): Add new arguments
6105 to true_dependence.
6106 (memref_referenced_p): Likewise.
6107 * loop.c (NUM_STORES): Increase to 30.
6108 (prescan_loop): Only non-constant calls set unknown_address_altered.
6109 (invariant_p): Add new arguments to true_dependence.
6110 (record_giv): Initialize unrolled and shared fields.
6111 (emit_iv_add_mult): Call record_base_value as needed.
6112 * loop.h (struct induction): Add unrolled and shared fields.
6113 * unroll.c (unroll_loop): Call record_base_value as needed.
6114 (copy_loop_body): Likewise.
6115 (final_biv_value): Likewise.
6116 (final_giv_value): Likewise.
6117 (find_splittable_regs): Likewise. Only create one new pseudo
6118 if we have multiple address GIVs that were combined with the same
6119 dst_reg GIV. Note when a new register is created due to unrolling.
6120 * rtl.c (reg_note_name): Add REG_NOALIAS.
6121 * rtl.h (enum reg_note): Similarly.
6122 (rtx_varies_p, may_trap_p, side_effects_p): Declare.
6123 (volatile_refs_p, volatile_insn_p, remove_note): Likewise.
6124 (note_stores, refers_to_regno_p, reg_overlap_mentioned_p): Likewise.
6125 (true_dependence, read_dependence, anti_dependence): Likewise.
6126 (output_dependence, init_alias_analysis, end_alias_analysis): Likewise.
6127 (mark_user_reg, mark_reg_pointer): Likewise.
6128
6129
6130 * Integrate reload bugfix from Wilon which enables the PA port
5fa39bfe
JL
6131 to bootstrap again.
6132 * reload1.c (reload): Sum needs for both OPADDR_ADDR and and
6133 OPERAND_ADDRESS when computing how many registers an insn needs.
6134 (reload_reg_free_p): OPADDR_ADDR and OPERAND_ADDRESS reloads do
6135 conflict.
6136 (reload_reg_free_before_p): Treat OPERAND_ADDRESS reloads just like
6137 OPADDR_ADDR reload.
6138 (reload_reg_reaches_end_p): For RELOAD_FOR_OPADDR_ADDR insns, registers
6139 in reload_reg_use_in_op_addr do not reach the end.
6140 do not reach the end.
6141 (reloads_conflict): RELOAD_FOR_OPADDR_ADDR conflicts with
6142 RELOAD_FOR_OPERAND_ADDRESS.
6143
6144Sun Aug 10 12:00:20 1997 Jeffrey A Law (law@cygnus.com)
6145
2dcfcb56 6146 * egcs project officially starts.
861bb6c1 6147
This page took 0.762865 seconds and 5 git commands to generate.