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