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