]> gcc.gnu.org Git - gcc.git/blame - gcc/ChangeLog
[multiple changes]
[gcc.git] / gcc / ChangeLog
CommitLineData
a1622f83
AM
1Mon Jun 8 14:16:15 EDT 1998 Andrew MacLeod <amacleod@cygnus.com>
2
3 * eh-common.h: Remove NEW_EH_MODEL compile time flag, and replace with
4 flag_new_exceptions runtime flag.
5 (struct old_exception_table): New struct which represents what
6 the exception table looks like without the new model.
7 (NEW_EH_RUNTIME): New value used as a tag in the exception table to
8 flag that this is a new style table.
9 * except.h: Remove compile time flag NEW_EH_MODEL.
10 (expand_builtin_eh_stub_old): New prototype.
11 * tree.h (enum built_in_function): Add BUILT_IN_EH_STUB_OLD.
12 * expr.c (expand_builtin): New builtin func BUILT_IN_EH_STUB_OLD.
13 * c-decl.c (init_decl_processing): Add new builtin function
14 __builtin_eh_stub_old.
15 * final.c (final_scan_insn): Replace compile time flag NEW_EH_MODEL.
16 * flags.h (flag_new_exceptions): New runtime flag.
17 * toplev.c (flag_new_exceptions): Initialize default to 0,
18 -fnew-exceptions sets to 1.
19 * except.c (output_exception_table_entry): Output New style exception
20 identifier into table, and replace compile time flag NEW_EH_MODEL
21 with runtime flag flag_new_exceptions.
22 (output_exception_table): Replace compile time flag NEW_EH_MODEL.
23 (expand_builtin_eh_stub_old): Duplicates original functionality of
24 expand_builtin_eh_stub.
25 (expand_builtin_eh_stub): Replace compile time flag NEW_EH_MODEL.
26 * libgcc2.c (find_exception_handler): Remove NEW_EH_MODEL #ifdefs.
27 (old_find_exception_handler): New func, same as find_exception_handler
28 except it works on the old style exception table.
29 (__throw): Replace NEW_EH_MODEL. Detect new model based on presence
30 of identifier in the exception table, and call appropriate routines.
31
aeb302bb
JM
32Mon Jun 8 01:21:13 1998 Jason Merrill <jason@yorick.cygnus.com>
33
34 * function.c: Define current_function_cannot_inline.
35 (push_function_context_to): Save it.
36 (pop_function_context_from): Restore it.
37 * function.h (struct function): Provide it a home.
38 * output.h: Declare it.
39 * integrate.c (function_cannot_inline_p): Check it.
40
8b015896 41Mon Jun 8 10:43:15 1998 Richard Henderson <rth@cygnus.com>
9a14a3ab 42
8b015896
RH
43 * expr.c (force_operand): Detect PIC address loads before
44 splitting arithmetic.
2b4065a4 45
8b015896 46Mon Jun 8 09:22:38 PDT 1998 Jeff Law (law@cygnus.com)
209c9866
JL
47
48 * version.c: Bump for snapshot.
49
79990a39
GS
50Mon Jun 8 02:55:56 1998 Graham <grahams@rcp.co.uk>
51
52 * tree.c (tree_class_check): Add braces to eliminate ambigious
53 else warning.
54 (tree_check): Likewise.
55
49fa02d9
L
56Mon Jun 8 02:49:23 1998 H.J. Lu (hjl@gnu.org)
57
58 * reg-stack.c (subst_stack_regs_pat): Make sure the top of
59 stack is the destination for conditional move insn.
60
52267fcb
JM
61Mon Jun 8 01:21:13 1998 Jason Merrill <jason@yorick.cygnus.com>
62
63 * tree.h (TREE_VEC_END): Cast unused value to void.
64
65 * i386.c (print_operand): Use %lx for long operand.
66
2b01d264
RH
67Mon Jun 8 00:04:07 1998 Richard Henderson <rth@cygnus.com>
68
69 * alpha.c (summarize_insn): Ignore rtl slot format 'i'.
70
cb9e12a7
JC
71Sun Jun 7 14:15:45 1998 John Carr <jfc@mit.edu>
72
73 * sol2.h (INIT_SUBTARGET_OPTABS): Use Solaris libc float/long long
74 conversion functions.
75
b53beeb2
RH
76Sun Jun 7 14:02:58 1998 Richard Henderson <rth@cygnus.com>
77
78 * toplev.c (flag_exceptions): Default to 0.
79 (compile_file): Remove flag_exceptions == 2 hack.
80 (main): Call lang_init_options.
81 * tree.h: Declare it.
82 * c-lang.c: Implement it.
83 * objc/objc-act.c: Likewise.
84
dfdfa60f
DE
85Sun Jun 7 12:27:30 1998 David Edelsohn <edelsohn@mhpcc.edu>
86
87 * rs6000.md (restore_stack_block): Generate MEM and specify mode.
88 * rs6000.h (STACK_SAVEAREA_MODE): SAVE_FUNCTION is VOIDmode.
89 * rs6000.c (rs6000_output_load_toc_table): Use fputs.
90 (output_function_profiler): Use asm_fprintf and fputs.
91
83e0821b
KG
92Sat Jun 6 12:17:12 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
93
94 * gencheck.c: Remove redundant stdio.h include. Add a definition
95 of xmalloc for when we are forced to link with alloca.o.
96
97 * reload1.c (reload_reg_free_for_value_p): Use `(unsigned)1'
98 instead of `1U'.
99
100 * fold-const.c (constant_boolean_node): Make definition static to
101 match the prototype.
102
6ff0d2a0
PB
103Fri Jun 5 15:53:17 1998 Per Bothner <bothner@cygnus.com>
104
105 * gcc.c (lang_specific_pre_link): New LANG_SPECIFIC_DRIVER function.
106 (lang_specific_extra_outfiles): New LANG_SPECIFIC_DRIVER variable.
107 (do_spec, input_filename, input_filename_length): Make public.
108 (main): Adjust outfiles allocation by lang_specific_extra_outfiles.
109 Call lang_specific_pre_link befor elinking.
110
2db45993
JL
111Fri Jun 5 12:29:28 1998 Jeffrey A Law (law@cygnus.com)
112
113 * haifa-sched.c (rank_for_schedule): For "equally good insns", prefer
114 the insn which has the most insns dependent on it.
115
74186471
JC
116Fri Jun 5 09:03:22 1998 John Carr <jfc@mit.edu>
117
118 * alias.c (find_base_value): Avoid reading past end of reg_base_value.
119
989f090c
RH
120Fri Jun 5 03:05:34 1998 Richard Henderson <rth@cygnus.com>
121
122 * alpha.md (insxh-1): New insxl pattern for combine.
123
b657fc39
L
124Fri Jun 5 01:12:15 1998 H.J. Lu (hjl@gnu.org)
125
126 * i386/i386.c (output_fp_conditional_move): New function
127 to output floating point conditional move.
128 (output_int_conditional_move): New function to output integer
129 conditional move.
130
131 * i386/i386.md (movsicci+5, movhicc+5, movdicc+5): Call
132 output_int_conditional_move () to output int conditional move.
133 (movsfcc+5, movdfcc+5, movxfcc+5): Call
134 output_fp_conditional_move () to output floating point
135 conditional move.
136
137 * i386/i386.c (put_condition_code): In INT mode, check
138 cc_prev_status.flags & CC_NO_OVERFLOW for GE and LT.
139
202fe2d6
DB
140Thu Jun 4 16:09:51 1998 Dave Brolley <brolley@cygnus.com>
141
142 * dbxout.c (dbxout_type): Output arrays of bits as if
143 they were bitstrings for Chill
144
a260abc9
DE
145Thu Jun 4 14:35:27 1998 David Edelsohn <edelsohn@mhpcc.edu>
146
147 * tree.c (get_inner_array_type): New function.
148 * tree.h (get_inner_array_type): Prototype.
149 * expr.h (STACK_SAVEAREA_MODE): New macro.
150 * expr.c (expand_builtin_setjmp): Initialize sa_mode using
151 STACK_SAVEAREA_MODE.
152 (expand_builtin_longjmp): Likewise.
153 * explow.c (emit_stack_save): Likewise.
154 (allocate_dynamic_stack_space): Use Pmode not insn_operand_mode.
155
156 * rs6000/aix41.h (ASM_CPU_SPEC): Define relative to ASM_DEFAULT_SPEC.
157 (CPP_CPU_SPEC): Define relative to CPU_DEFAULT_SPEC.
158 * rs6000/aix43.h: New file.
159 * rs6000/t-aix43: New file.
160 * rs6000/x-aix41: New file.
161 * rs6000/x-aix43: New file.
162 * configure.in (rs6000-ibm-aix*): Use them.
163 * rs6000/powerpc.h: Delete.
164 * rs6000/sysv4.h: Move necessary powerpc.h definitions to here.
165 * rs6000/netware.h: and here.
166 * rs6000/win-nt.h: and here.
167
168 * rs6000/rs6000.c (processor_target_table, 620): Do not affect
169 MASK_POWERPC64.
170 (rs6000_override_options): Ignore flag_pic for AIX.
171 (rs6000_immed_double_const): Delete.
172 (u_short_cint_operand): Don't assume 32-bit CONST_INT.
173 (reg_or_u_short_operand): Don't assume 32-bit CONST_INT.
174 (num_insns_constant): mask64_operand() is 2 insns.
175 (logical_operand): Don't assume 32-bit CONST_INT.
176 (non_logical_cint_operand): Don't assume 32-bit CONST_INT.
177 (easy_fp_constant): Any CONST_DOUBLE_HIGH is okay for 64-bit.
178 (mask_constant): HOST_WIDE_INT parameter.
179 (non_and_cint_operand): Delete.
180 (mask64_operand): New function.
181 (and64_operand): New function.
182 (function_arg_advance): DImode arguments do not need special
183 alignment when 64-bit.
184 (function_arg): Likewise.
185 (setup_incoming_varargs): Reverse reg_size assignment.
186 (print_operand): HOST_WIDE_INT second parameter.
187 (print_operand, 'B'): New case.
188 (print_operand, 'M'): Fix typo in lossage string.
189 (print_operandm 'S'): New case.
190 (rs6000_stack_info): Reverse reg_size assignment. Use total_raw_size
191 to compute AIX push_p. Use reg_size to compute {cr,lr}_save_offset.
192 (rs6000_output_load_toc_table): Reverse init_ptr assignment. Use
193 TARGET_64BIT not TARGET_POWERPC64. Convert fprintf to fputs.
194 Load GOT highpart, don't add it. Add lowpart with {cal|la}.
195 (rs6000_allocate_stack_space): Use {cal|la}.
196 (output_epilog): Use {cal|la}
197 (output_function_profiler): Add call glue to mcount call.
198 Load GOT highpart, don't add it. Add lowpart with {cal|la}.
199
200 * rs6000/rs6000.h (TARGET_SWITCHES): Add powerpc64.
201 (STACK_BOUNDARY): Depend on TARGET_32BIT.
202 (ADJUST_FIELD_ALIGN): Calculate array alignment using innermost type.
203 (CONST_OK_FOR_LETTER_P): Don't assume 32-bit CONST_INT.
204 (EXTRA_CONSTRAINTS): Remove NT 'S' and 'T'. Replace 'S' with
205 64-bit mask operand.
206 (RS6000_SAVE_TOC): Depend on TARGET_32BIT.
207 (STACK_SAVEAREA_MODE): New macro.
208 (LEGITIMATE_CONSTANT_P): DImode okay for 64bit.
209 (LEGITIMIZE_RELOAD_ADDRESS): New macro.
210 (RTX_COSTS, AND/IOR/XOR): Reflect current machine description.
211 (ASM_FILE_START): Emit 64-bit ABI directive.
212 (ASM_DECLARE_FUNCTION_NAME): Align CSECT on doubleword in 64-bit mode.
213 (ASM_OUTPUT_SPECIAL_POOL_ENTRY): DImode okay for 64-bit.
214 (PREDICATE_CODES): Add "and64_operand" and "mask64_operand".
215 Delete "non_and_cint_operand". "input_operand" includes CONST_DOUBLE.
216
217 * rs6000/rs6000.md (iorsi3, xorsi3): Use HOST_WIDE_INT for mask.
218 Restore define_splits.
219 (floatsidf2, floatunssidf2): Remove !TARGET_POWERPC64 final constraint.
220 (floatsidf2_internal, floatunssidf2_internal2): Likewise.
221 Do not specify base register operand mode.
222 (floatsidf2_loadaddr): Do not specify base register operand mode.
223 (floatsidf2_store1, floatsidf2_store2): Operand 1 must be base
224 register; do not specify mode. Remove !TARGET_POWERPC64 final
225 constraint.
226 (floatsidf2_load): Do not specify base register operand mode. Remove
227 !TARGET_POWERPC64 final constraint.
228 (fix_truncdfsi2_internal, fix_truncdfsi2_{store,load}): Do not specify
229 base register operand mode.
230 (adddi3): Split large constants early.
231 (absdi3): Shift by 63, not 31.
232 (*mulsidi3_ppc64): New pattern.
233 (rotldi3): Add masking combiner patterns.
234 (anddi3): Add rldic{r,l} masking. Remove split of large constants
235 because PPC insns zero-extend.
236 (iordi3, xordi3): Split large constants early.
237 (movsi matcher): Remove S and T constraints.
238 (movsf const_double): create SImode constant from TARGET_DOUBLE.
239 (movdf_hardfloat32): Add default abort() case.
240 (movdf easy_fp_const): create DImode constant from TARGET_DOUBLE.
241 (movdi): Remove 64-bit constant generator. Try to convert
242 CONST_DOUBLE to CONST_INT. Handle TOC memory constants.
243 (movdi_32): Add default abort() case.
244 (movdi_64): Add numerous ways to split 64-bit constants.
245 Make catch-all define_split more optimal and never FAIL.
246 (movti_ppc64): Add default abort() case.
247 (allocate_stack): Remove operand modes. Use Pmode.
248 (restore_stack_block): Remove operand modes. Generate Pmode
249 temporary.
250 (save_stack_nonlocal, restore_stack_nonlocal): Generate Pmode
251 temporary. Save area is double Pmode.
252 (call_indirect_aix64, call_value_indirect_aix64): New patterns.
253 (call, call_value): Do not specify address operand mode. Choose
254 appropriate AIX ABI.
255 (*call_local64, *ret_call_local64): New patterns.
256 (*call_nonlocal_aix64, *ret_call_nonlocal_aix64): New patterns.
257 (*ret_call_nonlocal_aix32): Use call_value_indirect for REG.
258 (compare): Materialize DImode truthvalues.
259
ff439b5f
CB
260Thu Jun 4 01:26:57 1998 Craig Burley <burley@gnu.org>
261
262 * expr.c (safe_from_p): Avoid combinatorial explosion
263 over duplicate SAVE_EXPRs by ensuring we never recurse
264 on one that has already been visited.
265
7d2a46a8
GS
266Thu Jun 4 00:54:21 1998 Graham <grahams@rcp.co.uk>
267
268 * loop.c (check_dbra_loop): Initialise final_value before
269 normalizing the loop.
270
f5470689
R
271Wed Jun 3 20:00:04 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
272
273 * reload1.c (reload_reg_free_for_value_p): New arguments out and
274 reloadnum. Changed all callers.
275
9b91d8f4
UD
2761998-06-03 Ulrich Drepper <drepper@cygnus.com>
277
278 * system.h: Add _() and N_() macros in preparation for gettext.
279
7fdc2757
AS
280Wed Jun 3 11:02:24 1998 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
281
bc516719
AS
282 * c-common.c (check_format_info): Put back check for C9x `hh'
283 length modifier. Warn about %n format writing into const. Remove
284 obsolete comment.
9b91d8f4 285 (format_char_info): Fix comments.
bc516719 286
7fdc2757
AS
287 * configure.in: Set float_format to m68k for all m68k targets that
288 do not override LONG_DOUBLE_TYPE_SIZE.
289 * config/float-m68k.h: New file.
290
dc2a47ed
RH
291Tue Jun 2 23:14:01 1998 Richard Henderson <rth@cygnus.com>
292
293 * jump.c (jump_optimize): Remove debug messages accidentally left in
294 with the previous change.
295
f0348c25
RH
296Tue Jun 2 22:46:08 1998 Richard Henderson <rth@cygnus.com>
297
298 * expr.c (store_expr): Revert stray patch associated with
299 1998-05-23 commit.
300
4f4f436f
RH
301Tue Jun 2 21:59:01 1998 Richard Henderson <rth@cygnus.com>
302
303 * jump.c (rtx_unsafe_p): New function.
304 (jump_optimize): Use it on if/then/else transformations and
305 conditional move transformations.
306
df0e526f
AS
307Tue Jun 2 22:50:10 1998 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
308
309 * fold-const.c (fold, case EQ_EXPR): When folding VAR++ == CONST
310 or VAR-- == CONST construct a proper mask if VAR is a bitfield.
311 Cope with CONST being out of range for the bitfield.
312
2638126a
BS
313Tue Jun 2 22:28:31 1998 Bernd Schmidt <crux@ohara.Informatik.RWTH-Aachen.DE>
314
315 * expr.c (emit_move_insn_1): When moving complex values in several
316 steps, emit a CLOBBER to show the destination dies.
317
6c8538cc
JL
318Tue Jun 2 22:17:26 1998 Jeffrey A Law (law@cygnus.com)
319
ccdb9251
JL
320 * Makefile.in (site.exp): Use the object testsuite directory as
321 the temporary directory.
322
6c8538cc
JL
323 * expr.c (expand_expr, case ADDR_EXPR): Handle taking the
324 address of an ADDRESSOF rtx.
325
0bc02db4
MS
3261998-06-02 Mike Stump <mrs@wrs.com>
327
328 * expr.c (expand_builtin_setjmp): Handle BUILTIN_SETJMP_FRAME_VALUE.
329 * i960.h (SETUP_FRAME_ADDRESSES, BUILTIN_SETJMP_FRAME_VALUE): Define.
330 * i960.md (ret, flush_register_windows): Define.
331 (nonlocal_goto): Likewise. Nested function nonlocal gotos don't
332 work yet.
333 * tm.texi (BUILTIN_SETJMP_FRAME_VALUE): Document new macro.
334
d46f7484
RH
335Tue Jun 2 14:02:38 1998 Richard Henderson <rth@cygnus.com>
336
337 * alpha.md (divsi3, udivsi3, modsi3, umodsi3): Enable, and work
338 around an OSF/1 library bug wrt sign-extension of inputs.
339
e3c81d20
RH
340Tue Jun 2 13:02:44 1998 Richard Henderson <rth@cygnus.com>
341
342 * vax/netbsd.h (DWARF2_UNWIND_INFO): Must be undef, not defined 0.
343
44ec7e59 344Mon Jun 1 03:44:03 1998 Catherine Moore <clm@cygnus.com>
9b91d8f4 345
44ec7e59
CM
346 * config/sh/sh.h (MAX_OFILE_ALIGNMENT): Define.
347
348 * varasm.c (assemble_variable): Augment alignment warning.
349
9224220f
MM
350Mon Jun 1 12:14:28 1998 Michael Meissner <meissner@cygnus.com>
351
352 * config/fp-bit.c (_fp{add,div}_parts): Return correct IEEE result
353 in the presence of IEEE negative 0's.
354
726e2d54
JW
355Sun May 31 16:11:41 1998 John Wehle (john@feith.com)
356
357 * reload.c (find_reloads): Record the existing mode if
358 operand_mode == VOIDmode before replacing a register with
359 a constant.
360 * i386.md (tstsi, tsthi, tstqi, tstsf, tstdf, tstxf): Set
361 i386_compare_op1 to const0_rtx for the benefit of the
362 conditional move patterns.
363 (movsicc, movhicc, movsfcc, movdfcc, movxfcc, movdicc): Rewrite
364 based on suggestions from Jim Wilson.
365
97f959a5
JL
366Sun May 31 00:44:02 PDT 1998 Jeff Law (law@cygnus.com)
367
368 * version.c: Bump for snapshot.
369
b5662334
BK
370Sun May 31 00:34:17 1998 Bruce Korb <korbb@datadesign.com>
371
372 * Makefile.in (fixinc.sh): Update rules again.
373
674032e2
JL
374Sun May 31 00:27:47 1998 Jeffrey A Law (law@cygnus.com)
375
376 * extend.texi: Bring back reference to trampoline paper.
377
378Sun May 31 00:22:34 1998 Ulrich Drepper <drepper@cygnus.com>
379
380 * Makefile.in (USER_H): Add stdbool.h.
381 * ginclude/stdbool.h: New file.
382
d3903c22
JL
383Fri May 29 01:48:25 1998 Jeffrey A Law (law@cygnus.com)
384
c71407f9
JL
385 * jump.c (thread_jumps): Do not look at the NOTE_LINE_NUMBER
386 of a non-note insn.
387
d3903c22
JL
388 * gcse.c (pre_delete): Fix code to determine the mode of
389 the reaching pseudo register.
390
8376d400
BS
391Fri May 29 01:07:28 1998 Bernd Schmidt <crux@Pool.Informatik.RWTH-Aachen.DE>
392
393 * Makefile.in (GEN): Add gencheck
394 (STAGESTUFF): Add tree-check.h and gencheck.
395
71d085b0
BK
396Fri May 29 00:57:37 1998 Bruce Korb <korbb@datadesign.com>
397
398 * Makefile.in (cstamp-h.in): Remove before trying to recreate.
399 (fixinc.sh): Set some additional environment variables before
400 calling mkfixinc.sh.
401
f4d1453e
JL
402Thu May 28 12:57:05 1998 Jeffrey A Law (law@cygnus.com)
403
404 * reload.c (find_reloads): Do not force a reloads of match_operators.
9b91d8f4 405
9f8e6243
AM
406Thu May 28 10:22:22 EDT 1998 Andrew MacLeod <amacleod@cygnus.com>
407
408 * except.h (remove_handler): Add new prototype.
409 * except.c (remove_handler): New function to remove handlers
410 from an exception region.
411 * flow.c (find_basic_blocks_1): Remove handlers from regions when
412 handler label is deleted; remove exception regions with no handlers.
413
d05a5492
MM
414Thu May 28 09:36:39 1998 Michael Meissner <meissner@cygnus.com>
415
416 * except.h (rtx): Define rtx type correctly if needed.
417 * function.h (rtx): Ditto.
418 (tree): Define tree type correctly if needed.
419
420 * c-pragma.c (toplevel): Include rtl.h.
421
422 * stor-layout.c (toplevel): Move include of rtl.h before
423 except.h.
424
425 * Makefile.in (c-pragma.o): Add except.h, rtl.h dependencies.
426 (tree.o): Add except.h dependency.
9b91d8f4 427
ed385fd9
JL
428Wed May 27 22:02:40 1998 Jeffrey A Law (law@cygnus.com)
429
5bc80b30
JL
430 * reload1.c: Revert accidental checkin.
431
ed385fd9
JL
432 * configure.lang: Fix thinko when adding a definition for
433 target_alias to the Makefile.
434
00c26dc2
CM
435Wed May 27 02:50:00 1998 Catherine Moore (clm@cygnus.com)
436
9b91d8f4 437 * config/sparc/lb1spc.asm (.rem and .urem): Replace
00c26dc2
CM
438 routines.
439
d499463f
RE
440Wed May 27 02:48:31 1998 Richard Earnshaw (rearnsha@arm.com)
441
442 * arm.c (arm_gen_constant): Rework to eliminate uninitialized
443 variable warnings. Don't generate scratch registers if only
444 counting insns.
445 (find_barrier): Eliminate unused variable SRC.
446
62fe00be
MH
4471998-05-27 Manfred Hollstein <manfred@s-direktnet.de>
448
449 * toplev.h (rtx_def): Provide global declaration to avoid
450 `limited scope' warnings.
451
1a4bf22f
MK
452Tue May 26 23:47:52 1998 Mumit Khan <khan@xraylith.wisc.edu>
453
454 * Makefile.in (gencheck.o): Use HOST_CC.
455 * i386/t-mingw32: New file.
456 * configure.in (i386-*-mingw32*): Use.
457
4d818c85
RE
458Tue May 26 07:31:04 1998 Richard Earnshaw (rearnsha@arm.com)
459
460 * arm.c (bad_signed_byte_operand): New predicate function.
461 * arm.h (PREDICATE_CODES): Add it to the list.
462 * arm.md (*extendqi[sh]i_insn): Split any addresses that ldrsb
463 can't handle.
464 (define_split): Two new splits for above insns.
465
ad076f4e
RE
466 * arm.c: Include toplev.h.
467 (arm_override_options): Add parentheses around use of tune_flags.
468 (arm_split_constant): Remove unused variable.
469 (arm_gen_constant, arm_gen_movstrqi, add_constant): Likewise.
470 (output_func_prologue, arm_expand_prologue): Likewise.
471 (arm_canonicalize_comparison): Make I unsigned; rework constants
472 accordignly. Add missing paratheses around << operation.
473 (arm_rtx_costs): Correctly parenthesise MULT costs. Add a DEFAULT
474 clause.
475 ({load,store}_multiple_sequence): Initialize BASE_REG.
476 (select_dominance_cc_mode): Add DEFAULT clauses.
477 (broken_move): Return zero if the destination is not a register.
478 (arm_reorg): Move unused REGNO declaration into the dead code.
479 * arm.h (CANONICALIZE_COMPARISON): Ensure OP1 is updated.
480
a1ec8ea1
JL
481Mon May 25 22:49:56 PDT 1998 Jeff Law (law@cygnus.com)
482
483 * version.c: Bump for snapshot.
484
c7f58590
JL
485Mon May 25 11:56:24 PDT 1998 Jeff Law (law@cygnus.com)
486
487 * version.c: Bump for snapshot.
488
33b019ad
DB
489Mon May 25 14:00:13 1998 Dave Brolley <brolley@cygnus.com>
490
491 * cpperror.c (v_cpp_message): Remove static prototype.
492 * cpplib.c (v_cpp_message): Move prototype to cpplib.h.
493 * cpplib.h (v_cpp_message): Add protoptype.
494 (stdarg.h,varargs.h): Needed for v_cpp_message prototype.
495
61819ba5
JL
496Sun May 24 20:36:15 PDT 1998 Jeff Law (law@cygnus.com)
497
498 * version.c: Bump for snapshot.
499
f5c57ba7
JL
500Sun May 24 02:08:57 PDT 1998 Jeff Law (law@cygnus.com)
501
502 * version.c: Bump for snapshot.
503
7a87758d
AS
5041998-05-24 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
505
506 * m68k.h: Declare more functions used in macros.
507 (REG_CLASS_CONTENTS): Completely embrace initializer.
508 * m68k.md (adddi3, subdi3): Add abort call to avoid warning
509 about returning no value.
510 * cse.c (find_best_addr): Declare p and found_better only if
511 needed.
512 * dbxout.c (dbxout_continue): Define only if DBX_CONTIN_LENGTH > 0.
513 * dwarfout.c (string_length_attribute): #if 0 away.
514 * function.c (expand_function_end): Define varible blktramp only
515 if needed.
516 * jump.c (find_insert_position): Define only if !HAVE_cc0.
517 * loop.c (combine_givs_p): Define variable tem only if needed.
518 * real.c: Comment out unused functions eabs, eround,
519 e{24,53,64,113}toasc and eiinfin.
520
521
10ad38ca
AO
522Sat May 23 23:44:53 1998 Alexandre Oliva <oliva@dcc.unicamp.br>
523
524 * Makefile.in (boostrap2-lean, bootstrap3-lean,
525 bootstrap4-lean): New targets.
526
57fec042
JL
527Sat May 23 23:35:14 1998 Jeffrey A Law (law@cygnus.com)
528
529 * warn_summary, test_summary: Moved into the contrib directory.
530
97263b8c
MH
5311998-05-23 Manfred Hollstein <manfred@s-direktnet.de>
532
e7f62ad3
MH
533 * Makefile.in (ENQUIRE_CFLAGS, ENQUIRE_LDFLAGS): Move down to the end
534 of the Makefile.
535 (FLOAT_H_TEST): Likewise.
536 (ENQUIRE): Likewise.
537 (float.h-nat): Likewise.
538 (float.h-cross): Likewise.
539 (enquire): Likewise.
540 (enquire.o): Likewise.
541 (stmp-int-hdrs): Fix comment about enquire; depend upon gfloat.h.
542 (stmp-headers): Move actions to stmp-int-hdrs, retaining only a
543 no-op.
544 (FLOAT_H): Remove old float.h-nat version; move current definition
545 to CROSS_FLOAT_H location.
546 (all.cross): Remove comments about enquire stuff.
547
8d45987f
MH
548 * Makefile.in (all.cross): Swap $(LIBGCC) and $(STMP_FIXPROTO).
549 (rest.encap): Likewise.
e7f62ad3 550 (libgcc2.ready): Depend upon $(STMP_FIXPROTO)
8d45987f 551
97263b8c
MH
552 * toplev.h (tree_node): Provide global declaration to avoid
553 `limited scope' warnings.
554
a8c24967
RL
555Sat May 23 23:23:35 1998 Robert Lipe <robertl@dgii.com>
556
557 * test_summary: Display section breaks for each entry
558 in a multilibbed target's output.
559
bd070e1a
RH
5601998-05-23 Richard Henderson <rth@cygnus.com>
561
562 * expr.c (expand_expr): For {BITFIELD,COMPONENT,ARRAY}_REF, if the
563 offset's mode is not ptr_mode, convert it.
564
697073d9
JM
5651998-05-22 Jason Merrill <jason@yorick.cygnus.com>
566
567 * fold-const.c (ssize_binop): New fn.
568 * tree.h: Declare it.
569
07704a9a
RE
570Fri May 22 03:42:05 1998 Richard Earnshaw (rearnsha@arm.com)
571
9b91d8f4 572 * genextract.c (print_path): Handle zero-length path as a special
07704a9a
RE
573 case.
574
911c3b7d
HPN
575Fri May 22 01:38:07 1998 Hans-Peter Nilsson <hp@axis.se>
576
577 * cplus-dem.c (MBUF_SIZE): Bumped from 512 to 32767.
578
75197b37
BS
579Fri May 22 00:57:00 1998 Bernd Schmidt (crux@pool.informatik.rwth-aachen.de>
580
581 * final.c (JUMP_TABLES_IN_TEXT_SECTION): Provide a default value.
582 (shorten_branches, final_scan_insn): Test value of
583 JUMP_TABLES_IN_TEXT_SECTION instead of just testing whether it
584 is defined.
585 * tm.texi (JUMP_TABLES_IN_TEXT_SECTION): Corresponding changes.
586 * arm/coff.h: Define JUMP_TABLES_IN_TEXT_SECTION to 1.
28ec9418 587 * arm/tcoff.h: Likewise.
75197b37
BS
588 * i386/386bsd.h: Likewise.
589 * i386/freebsd-elf.h: Likewise.
590 * i386/freebsd.h: Likewise.
591 * i386/netbsd.h: Likewise.
592 * i386/ptx4-i.h: Likewise.
593 * i386/sysv4.h: Likewise.
594 * pa/pa.h: Likewise.
595 * rs6000/linux.h: Likewise.
596 * rs6000/rs6000.h: Likewise.
597 * sh/sh.h: Likewise.
598 * sparc/sp64-elf.h: Likewise.
599 * v850/v850.h: Likewise.
600 * rs6000/sysv4.h: Define JUMP_TABLES_IN_TEXT_SECTION to 0.
601 * i386/linux.h: Define JUMP_TABLES_IN_TEXT_SECTION to (flag_pic).
602
1a29f703
R
603Thu May 21 19:50:13 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
604
605 * regmove.c (gen_add3_insn): New function.
606 (fixup_match_2): Use it instead of calling gen_addsi3.
607
aee21ba9
JL
608Thu May 21 23:09:50 1998 Jeffrey A Law (law@cygnus.com)
609
37433f49
JL
610 * Makefile.in (gencheck): Depend on HOST_LIBDEPS.
611
aee21ba9
JL
612 * alias.c (rtx_equal_for_memref_p): Handle SCRATCH as a memory
613 address.
614
12b195d9
ML
615Thu May 21 20:18:13 1998 Martin von Loewis <loewis@informatik.hu-berlin.de>
616
617 * Makefile.in (TREE_H): Add tree-check.h.
618 (tree-check.h, gencheck): New targets.
619 * gencheck.c: New file.
620 * tree.c (tree_check, tree_class_check): New functions.
621 * tree.h (TREE_CHECK, TREE_CLASS_CHECK): Define.
622 (TYPE_CHECK, DECL_CHECK): Define.
623 Modify all access macros to use generated checking macros.
624
9e423e6d
JW
625Wed May 20 23:44:28 EDT 1998 John Wehle (john@feith.com)
626
627 * acconfig.h (HAVE_GAS_MAX_SKIP_P2ALIGN): New tag.
628 * configure.in: Check for it.
629 * i386/gas.h (ASM_OUTPUT_MAX_SKIP_ALIGN): Use it.
630 * final.c (uid_align, uid_shuid, label_align): Make static.
631 (label_align): Change type to struct label_alignment pointer.
632 (LABEL_TO_ALIGNMENT, shorten_branches): Update due to type change.
633 (LABEL_TO_MAX_SKIP): Define.
634 (LABEL_ALIGN_MAX_SKIP, LOOP_ALIGN_MAX_SKIP,
635 LABEL_ALIGN_AFTER_BARRIER_MAX_SKIP): Provide defaults.
636 (shorten_branches): Record the maximum bytes to skip when
637 aligning a label.
638 (final_scan_insn): Use the maximum bytes to skip when aligning a label
639 if ASM_OUTPUT_MAX_SKIP_ALIGN is available.
640 * i386.h (LOOP_ALIGN_MAX_SKIP,
641 LABEL_ALIGN_AFTER_BARRIER_MAX_SKIP): Define.
642 * i386.c (override_options): i386_align_jumps and i386_align_loops
643 default to 4 if ASM_OUTPUT_MAX_SKIP_ALIGN is available.
644 * invoke.texi: Document new i386 align-loops and align-jumps behavior.
645
1cc75298
MM
6461998-05-21 Mark Mitchell <mmitchell@usa.net>
647
648 * cplus-dem.c (do_type): Handle volatile qualification.
9b91d8f4 649
178ca02d
PB
650Thu May 21 12:23:17 1998 Per Bothner <bothner@cygnus.com>
651
652 * function.c (init_function_start): Don't call emit_line_note if
653 lineno is 0. (Can happen when compiling Java .class files.)
654
cecbf6e2
R
655Thu May 21 19:50:13 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
656
657 * reload1.c (reload_reg_free_for_value_p): Fix RELOAD_FOR_INPUT
658 end of lifetime and RELOAD_FOR_OUTPUT start of lifetime.
659
b52ce03d
R
660Thu May 21 19:32:27 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
661
662 * combine.c (nonzero_bits): For paradoxical subregs, take
663 LOAD_EXTENDED_OP into account.
664
c8724862
DB
665Thu May 21 11:51:15 1998 Dave Brolley <brolley@cygnus.com>
666
667 * configure.in (extra_c_objs): add prefix.o.
668 (extra_cxx_objs): extra objects for C++ with cpplib.
669 * configure: Regenerate.
670
671 * c-tree.h: (get_directive_line): Different prototype for cpplib.
672 (GET_DIRECTIVE_LINE): Macro wrapper for get_directive_line.
673
674 * c-lex.h: (get_directive_line): Not needed here for cpplib.
675
676 * c-lex.c: (yy_cur,yy_lim,yy_get_token): Move to c-common.c.
677 (GET_DIRECTIVE_LINE): Move to c-common.c and rename to get_directive_line.
678
679 * c-common.c (parse_in,parse_options,cpp_token): Declare for cpplib.
680 (yy_cur,yy_lim,yy_get_token,get_directive,line): Moved here from c-lex.c
681
fd97443c
KG
682Thu May 21 09:04:42 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
683
684 * gengenrtl.c (type_from_format, accessor_from_format): Change
685 type of parameter `c' from `char' to `int'.
686
0e4347ce
JL
687Wed May 20 22:28:34 1998 Jeffrey A Law (law@cygnus.com)
688
2a3edac9
JL
689 * warn_summary, test_summary: New scripts from
690 Kaveh Ghazi and Alexandre Oliva respectively.
691
0e4347ce
JL
692 * gcse.c (current_function_calls_longjmp): Declare.
693
4e5a8d7b
JM
6941998-05-20 Jason Merrill <jason@yorick.cygnus.com>
695
696 * dwarf2out.c (base_type_die): Use int_size_in_bytes.
697
7506f491
DE
698Wed May 20 01:11:02 1998 Doug Evans (devans@cygnus.com)
699 Jeff Law (law@cygnus.com)
700
701 * Global CSE and constant/copy propagation.
702 * Makefile.in (OBJS): Add gcse.o
703 (STAGESTUFF): Add *.gcse.
704 (gcse.o): Add dependencies.
705 (mostlyclean): Remove *.gcse and */*.gcse.
706 * gcse.c: New file.
707 * loop.c (loop_optimize): Move call to init_alias_analysis.
708 * recog.c (validate_replace_src): New function.
709 * toplev.c (gcse_dump): New global variable.
710 (flag_gcse, gcse_time): Likewise.
711 (compile_file): Initialize gcse_time and clean out the gcse dump
712 file if necessary.
713 (rest_of_compilation): Call gcse_main as requested. Dump RTL
714 after gcse if requested.
715 (main): Enable gcse for -O2 and above. Handle -dG. Enable gcse
716 dumps for -da.
717 * gcc.texi: Add gcse related internal documentation.
718 * invoke.texi: Note new command line options for gcse.
719 * tm.texi: Document AVOID_CCMODE_COPIES.
720 * mips.h (AVOID_CCMODE_COPIES): Define.
721
40859b41
JL
722Tue May 19 22:31:20 1998 Jeffrey A Law (law@cygnus.com)
723
724 * Makefile.in (deduced.h): Only run scan-types if $(SYSTEM_HEADER_DIR)
725 exists.
aef1617c 726 (stmp-fixproto): Simlarly for running fixproto.
40859b41
JL
727 * cross-make (SYSTEM_HEADER_DIR): Now $(tooldir)/sys-include.
728
f85c8be7
JW
729Tue May 19 19:08:52 1998 Jim Wilson <wilson@cygnus.com>
730
731 * config/mips/mips.c (double_memory_operand): Accept any MEM during
732 reload when TARGET_64BIT.
733
c7391272
JW
734Tue May 19 18:21:25 1998 Jim Wilson <wilson@cygnus.com>
735
736 Finish incomplete change started by Kenner.
737 * configure.in (*-*-linux-gnu*): Delete NO_STAB_H from xm_defines.
738 (powerpcle-*-cygwin32): Delete xm_defines.
739 * final.c, mips-tfile.c, xcoffout.c, config/mips/mips.c: Use
740 HAVE_STAB_H instead of NO_STAB_H.
741 * config/xm-linux.h (NO_STAB_H): Delete.
742 (HAVE_STAB_H): Undefine.
743 * config/i386/xm-go32.h (NO_STAB_H): Delete.
744
af02da67
JW
7451998-05-19 Jim Wilson <wilson@cygnus.com>
746
747 * dwarfout.c (dwarfout_file_scope_decl, case TYPE_DECL): Ignore
748 LANG_TYPE trees with DECL_SOURCE_LINE of 0.
749
79edd21c
TV
750Tue May 19 15:07:54 1998 Todd Vierling <tv@netbsd.org>
751
752 * arm/netbsd.h: Ensure DWARF2_UNWIND_INFO is undefined.
753
6e684430
R
754Tue May 19 17:19:16 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
755
756 * reload1.c (reload_reg_free_for_value_p): New function.
757 (allocate_reload_reg, choose_reload_regs): Use it.
758
7ecb5d27
AM
759Tue May 19 11:51:00 EDT 1998 Andrew MacLeod (amacleod@cygnus.com)
760
761 * except.c (expand_start_catch): Correct logic for when to
762 generate a new handler label, and when to use the old one.
763
487a6e06
KG
764Tue May 19 11:08:52 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
765
766 * Makefile.in (print-rtl.o): Depend on bitmap.h.
767 (dbxout.o): Depend on toplev.h.
768 ($(SCHED_PREFIX)sched.o): Likewise.
769 ($(out_object_file)): Likewise for system.h and toplev.h.
770 (cppmain.o): Depend on gansidecl.h.
771 (cpplib.o): Likewise.
772 (cpperror.o): Likewise.
773 (cppexp.o): Likewise.
774 (cpphash.o): Likewise.
775 (cppalloc.o): Likewise.
776 (fix-header.o): Depend on cpplib.h and cpphash.h.
777 (scan-decls.o): Depend on gansidecl.h.
778
779 * basic-block.h (free_regset_vector): Add prototype.
780
781 * cccp.c (check_precompiled): Mark parameter `fname' with
782 ATTRIBUTE_UNUSED.
783 (do_assert): Likewise for `op' and `keyword'.
784 (do_unassert): Likewise.
785 (do_line): Likewise for `keyword'.
786 (do_error): Likewise for `op' and `keyword'.
787 (do_warning): Likewise.
788 (do_ident): Likewise for `keyword'.
789 (do_pragma): Likewise for `limit', `op' and `keyword'.
790 (do_sccs): Likewise.
791 (do_if): Likewise for `keyword'.
792 (do_elif): Likewise.
793 (do_else): Likewise.
794 (do_endif): Likewise.
795
796 * collect2.c (getenv): Remove redundant prototype.
797 (collect_exit, collect_execute, dump_file): Likewise.
798 (dump_list): Wrap prototype and definition in COLLECT_EXPORT_LIST.
799 (dump_prefix_list): Hide prototype and definition.
800
801 * sparc.c: Include toplev.h.
802 (intreg_operand): Mark parameter `mode' with ATTRIBUTE_UNUSED.
803 (symbolic_memory_operand): Likewise.
804 (sp64_medium_pic_operand): Likewise.
805 (data_segment_operand): Likewise.
806 (text_segment_operand): Likewise.
807 (splittable_symbolic_memory_operand): Likewise.
808 (splittable_immediate_memory_operand): Likewise.
809 (eq_or_neq): Likewise.
810 (normal_comp_operator): Likewise.
811 (noov_compare_op): Likewise.
812 (v9_regcmp_op): Likewise.
813 (v8plus_regcmp_op): Likewise.
814 (extend_op): Likewise.
815 (cc_arithop): Likewise.
816 (cc_arithopn): Likewise.
817 (small_int): Likewise.
818 (uns_small_int): Likewise.
819 (clobbered_register): Likewise.
820 (legitimize_pic_address): Likewise.
821 (delay_operand): Likewise.
822 (sparc_builtin_saveregs): Remove unused variable `stdarg'.
823
824 * sparc.h (order_regs_for_local_alloc, eligible_for_return_delay,
825 sparc_issue_rate, v8plus_regcmp_p): Add prototypes.
826
827 * sparc.md (cmpdi_v8plus): Add abort for default case in switch.
828
829 * cppalloc.c: Include gansidecl.h.
830
831 * cpperror.c: Include stdarg.h/varargs.h and gansidecl.h.
832 (cpp_file_line_for_message): Mark parameter `pfile' with
833 ATTRIBUTE_UNUSED.
834 (v_cpp_message): New function.
835 (cpp_message): Use it. Also convert to variable arguments.
836 (cpp_fatal): Likewise.
837 (cpp_pfatal_with_name): Constify parameter `name'.
838
839 * cppexp.c: Move gansidecl.h before cpplib.h.
840 * cpphash.c: Likewise.
841 * cpphash.h (hashf, delete_macro): Add prototypes.
842
843 * cpplib.c: Include stdarg.h/varargs.h and move gansidecl.h before
844 cpplib.h. Don't include errno.h.
845 (update_path): Add arguments to prototype.
846 (cpp_fatal, cpp_file_line_for_message, cpp_message, delete_macro,
847 cpp_print_containing_files): Remove redundant prototypes.
848 (cpp_hash_cleanup, add_import, append_include_chain,
849 make_assertion, path_include, initialize_builtins,
850 initialize_char_syntax, finclude, validate_else, comp_def_part,
851 lookup_import, redundant_include_p, is_system_include,
852 read_name_map, read_filename_string, open_include_file,
853 check_macro_name, compare_defs, compare_token_lists,
854 eval_if_expression, change_newlines): Add prototype arguments.
855 (hashf): Remove redundant prototype.
856 (read_token_list, free_token_list, safe_read, xcalloc, savestring,
857 conditional_skip, skip_if_group): Add prototype arguments.
858 (fdopen): Remove redundant prototype.
859 (do_define, do_line, do_include, do_undef, do_error, do_pragma,
860 do_ident, do_if, do_xifdef, do_else, do_elif, do_endif, do_sccs,
861 do_once, do_assert, do_unassert, do_warning): Add prototype arguments.
862 (struct directive): Add prototype arguments to function pointer
863 member `func'.
864 (handle_directive): Add missing arguments to call to `do_line'.
865 (do_include): Mark parameters `unused1' and `unused2' with
866 ATTRIBUTE_UNUSED.
867 (do_line): Likewise for `keyword' and new parameters `unused1' and
868 `unused2'.
869 (do_error): Likewise for `keyword'.
870 (do_warning): Likewise. Also add missing argument `pfile' in call
871 to cpp_pedwarn.
872 (do_once): Mark parameter `keyword', `unused1' and `unused2' with
9b91d8f4 873 ATTRIBUTE_UNUSED.
487a6e06
KG
874 (do_ident): Likewise for `keyword', `buf' and `limit'.
875 (do_pragma): Likewise. Also add missing arguments in call to do_once.
876 (do_sccs): Mark parameter `keyword', `buf' and `limit' with
9b91d8f4 877 ATTRIBUTE_UNUSED.
487a6e06
KG
878 (do_if): Likewise for `keyword'.
879 (do_elif): Likewise.
880 (eval_if_expression): Likewise for `buf' and `length'.
881 (do_xifdef): Likewise for `unused1' and `unused2'.
882 (do_else): Likewise for `keyword', `buf' and `limit'.
883 (do_endif): Likewise.
884 (parse_name): Add missing argument `pfile' in call to cpp_pedwarn.
885 (cpp_handle_options): Remove superfluous NULL argument in call to
886 cpp_fatal.
887 (cpp_handle_options): Likewise.
888 (do_assert): Mark parameter `keyword', `buf' and `limit' with
889 ATTRIBUTE_UNUSED.
890 (do_unassert): Likewise.
891 (cpp_print_file_and_line): Add missing argument `pfile' in call to
892 cpp_file_line_for_message.
893 (v_cpp_error): New function.
894 (cpp_error): Use it. Also accept variable arguments.
895 (v_cpp_warning): New function.
896 (cpp_warning): Use it. Also accept variable arguments.
897 (cpp_pedwarn): Accept variable arguments.
898 (v_cpp_error_with_line): New function
899 (cpp_error_with_line): Use it. Accept variable arguments.
900 (v_cpp_warning_with_line): New function.
901 (cpp_warning_with_line): Use it. Accept variable arguments. Hide
902 definition.
903 (cpp_pedwarn_with_line): Accept variable arguments.
904 (cpp_pedwarn_with_file_and_line): Likewise.
905 (cpp_error_from_errno): Constify parameter `name'. Add missing
906 argument `pfile' in call to cpp_file_line_for_message.
907 (cpp_perror_with_name): Constify parameter `name'.
908
909 * cpplib.h: Define PARAMS() in terms of PROTO().
910 (fatal): Remove redundant prototype.
911 (cpp_error, cpp_warning, cpp_pedwarn, cpp_error_with_line,
912 cpp_pedwarn_with_line, cpp_pedwarn_with_file_and_line,
9b91d8f4 913 cpp_error_from_errno, cpp_perror_with_name, cpp_pfatal_with_name,
487a6e06
KG
914 cpp_fatal, cpp_message, cpp_pfatal_with_name,
915 cpp_file_line_for_message, cpp_print_containing_files): Add
916 arguments to prototypes.
917 (scan_decls, cpp_finish): Add prototypes.
918
919 * cppmain.c: Include gansidecl.h.
920 (main): Remove unused variable `i'.
9b91d8f4 921
487a6e06
KG
922 * dbxout.c: Include toplev.h.
923
924 * demangle.h (do_tlink, collect_execute, collect_exit,
925 collect_wait, dump_file, file_exists): Add prototype.
926
927 * dwarf2out.c (dwarf_type_encoding_name, decl_start_label): Hide
928 prototype and definition.
929 (gen_unspecified_parameters_die): Don't assign results of call to
930 function new_die() to unused variable `parm_die'.
931 (dwarf2out_line): Mark parameter `filename' with ATTRIBUTE_UNUSED.
932 (dwarf2out_define): Likewise for `lineno' and `buffer'.
933
934 * dwarfout.c (output_unsigned_leb128, output_signed_leb128): Hide
935 prototype and definition.
936 (output_die): Add prototype arguments to function pointer arg.
937 (output_unspecified_parameters_die): Mark parameter `arg' with
938 ATTRIBUTE_UNUSED.
939
940 * except.c (output_exception_table_entry): Remove unused variable
941 `eh_entry'.
942
943 * except.h (expand_fixup_region_start, expand_fixup_region_end):
944 Add prototypes.
945
946 * expr.c (do_jump_by_parts_equality_rtx): Remove prototype.
947
948 * expr.h (do_jump_by_parts_equality_rtx): Add prototype.
949
950 * fix-header.c: Include stdarg.h/varargs.h, move gansidecl.h
951 before cpplib.h, include cpphash.h, remove redundant prototype of
952 cpp_fatal, don't define `const', add a prototype for `fatal'.
953 (cpp_file_line_for_message): Add missing arguments `pfile'.
954 (v_cpp_message): New function.
955 (cpp_message): Use it.
956 (v_fatal): New function.
957 (fatal, cpp_fatal): Use it.
958 (cpp_pfatal_with_name): Constify parameter `name'.
959
960 * flow.c (free_regset_vector): Remove redundant prototype.
961
962 * function.c (round_down): Wrap prototype and definition with
963 macro ARGS_GROW_DOWNWARD.
964 (record_insns): Wrap prototype and definition with
965 defined (HAVE_prologue) || defined (HAVE_epilogue).
966
967 * gansidecl.h (ATTRIBUTE_PRINTF_4, ATTRIBUTE_PRINTF_5): New macros.
968
969 * gen-protos.c: Include gansidecl.h.
970 (hashf): Don't make it static, constify parameter `name'.
971
972 * genattrtab.c (check_attr_test): Change XEXP() to XSTR() to match
973 specifier %s in calls to function `fatal'.
974
975 * haifa-sched.c: Include toplev.h.
976 (find_rgns): Remove unused variable `j'.
977
978 * integrate.c (note_modified_parmregs): Mark parameter `x' with
979 ATTRIBUTE_UNUSED.
980 (mark_stores): Likewise.
981
982 * jump.c (mark_modified_reg): Likewise.
983
984 * output.h (insn_current_reference_address): Add prototype.
985 (eh_frame_section): Likewise.
986
987 * print-rtl.c: Include bitmap.h.
988
989 * reload1.c (reload): Wrap variables `note' and `next' in macro
990 PRESERVE_DEATH_INFO_REGNO_P.
991 (forget_old_reloads_1): Mark parameter `ignored' with
992 ATTRIBUTE_UNUSED.
993 (choose_reload_regs): Remove unused variable `in'.
994 (reload_cse_invalidate_mem): Mark parameter `ignore' with
995 ATTRIBUTE_UNUSED.
996 (reload_cse_check_clobber): Likewise.
997
998 * rtl.h (expand_null_return, reg_classes_intersect_p): Add prototype.
999 (mark_elimination): Fix typo in prototype.
1000
1001 * scan-decls.c: Include gansidecl.h.
1002
1003 * tree.h (using_eh_for_cleanups, supports_one_only): Add prototype.
9b91d8f4 1004
c7fdfd49
JL
1005Mon May 18 22:37:33 1998 Jeffrey A Law (law@cygnus.com)
1006
1007 * function.c (identify_blocks): Fix thinko when setting the
1008 block number for NOTE_INSN_BLOCK_END.
1009
53f2d033
NC
1010Mon May 18 15:30:42 1998 Nick Clifton <nickc@cygnus.com>
1011
f122eb7a 1012 * config/v850/lib1funcs.asm: Add .text pseudo op to start of
9b91d8f4 1013 ___udivsi3.
f122eb7a
NC
1014
1015 * config/v850/lib1funcs.asm: Fix .size pseudo ops to use three
9b91d8f4 1016 underscores for the prefixes to the names of the maths functions.
f122eb7a 1017
53f2d033
NC
1018 * dbxout.c (dbxout_parms): Revert to using DECL_ARG_TYPE. Add
1019 comment explaining why.
1020
ead17059
RH
1021Mon May 18 13:20:23 1998 Richard Henderson <rth@cygnus.com>
1022
1023 * tree.h (TYPE_SIZE_UNIT): New.
1024 (struct tree_type): Add size_unit member.
1025 * stor-layout.c (layout_type): Initialize it.
1026 * expr.c (get_inner_reference) [ARRAY_REF]: Use it.
1027 * tree.c (size_in_bytes, int_size_in_bytes): Likewise.
1028
069b95ce
RE
1029Mon May 18 12:07:37 1998 Richard Earnshaw (rearnsha@arm.com)
1030
1031 * stor-layout.c (layout_record): Fix off-by-one error when checking
1032 length of the TYPE_BINFO vector.
1033
972a4adb
NC
1034Mon May 18 10:59:23 1998 Nick Clifton <nickc@cygnus.com>
1035
1036 * dbxout.c (dbxout_parms): Use TREE_ARG to compute the type of a
1037 function parameter passed in memory.
1038
76ead72b
RL
1039Mon May 18 09:02:09 1998 Robert Lipe <robertl@dgii.com>
1040
1041 * dwarfout.h, dwarf2out.h, dbxout.h, sdbout.h: New files.
1042 Prototypes for externally used functions in respective C files.
1043 * dwarfout.c, dbxout.c, dwarf2out.c, sdbout.c, toplev,c,
1044 final.c: Include above files.
1045 * Makefile.in (toplev.o): Add dependency for above four headers.
1046 (final.o): Likewise.
1047 (dwarfout.o, dbxout.o, dwarf2out.o, sdbout.o): Depend on four
1048 respective header files.
1049
b0ccd8de
JL
1050Mon May 18 01:23:33 1998 Jeffrey A Law (law@cygnus.com)
1051
7e717196
JL
1052 * Makefile.in (TARGET_TOOLPREFIX): No longer define.
1053 (AR_FOR_TARGET, RANLIB_FOR_TARGET): Define to use versions in
1054 the build tree if they exist.
1055 (AR, AR_FLAGS, OLDAR, OLDAR_FLAGS, RANLIB, RANLIB_TEST): Update
1056 appropriately.
1057 (objdir): Let configure substitute value.
1058 (FLOAT_H): Let configure select a pre-built version from the
1059 config subdir.
1060 * build-make (INSTALL_TARGET, ALL): Disable, no longer needed.
1061 * configure.in: Substitute for objdir.
1062
88111b26
JL
1063 * Makefile.in (build_canonical, host_canonical): Let configure
1064 substitute values for these variables.
1065 * configure.in: Substitute for build_canonical, host_canonical
1066 and target_subdir in generated Makefile.
1067
d8af60bf
JL
1068 * output.h (find_basic_blocks): Declare.
1069 (free_basic_block_vars, set_block_num, life_analysis): Likewise.
1070
b0ccd8de
JL
1071 * Makefile.in (BISON): Use bison from the build tree if it exists.
1072 (FLEX): Similarly.
1073
88117d44
NC
1074Mon May 18 00:08:19 1998 Nick Clifton <nickc@cygnus.com>
1075
1076 * gcc.c (SWITCH_CURTAILS_COMPILATION): Definition.
1077 (DEFAULT_SWITCH_CURTAILS_COMPILATION): True for options -S and -c.
1078 (process_command): If HAVE_EXECUTABLE_SUFFIX is defined then scan
1079 command line arguments to see if an executable is not being
1080 created, and if so - do not append the suffix.
1081
1082 * tm.texi (SWITCH_CURTAILS_COMPILATION): Add description of new
1083 driver macro.
1084
e5e8a8bf
JW
1085Sun May 17 23:59:45 1998 John Wehle (john@feith.com)
1086
1087 * i386.h (ALIGN_DFmode): Delete.
1088 (CONSTANT_ALIGNMENT): Define.
1089 * varasm.c (force_const_mem): Use it.
1090
b771b6b4
RH
1091Sun May 17 19:31:05 1998 Richard Henderson <rth@cygnus.com>
1092
1093 * alpha.c (alpha_emit_conditional_branch): Clear cmp_code after
1094 using it with swap_condition, not before.
1095
0211b6ab
JW
1096Sun May 17 13:44:32 1998 Jim Wilson <wilson@cygnus.com>
1097
1098 * alias.c (mode_alias_check): Delete.
1099 (true_dependence, anti_dependence, output_dependence): Revert April 21
1100 change.
1101
c5991f68
KW
1102Sun May 17 08:45:21 1998 Krister Walfridsson <cato@df.lth.se>
1103
3fe4d12a 1104 * toplev.c (output_lang_identify): Enable prototype and definition.
c5991f68 1105
18f315a4
JL
1106Sun May 17 01:12:27 PDT 1998 Jeff Law (law@cygnus.com)
1107
1108 * version.c: Bump for snapshot.
1109
2a831d01
RH
1110Sat May 16 23:20:32 1998 Richard Henderson <rth@cygnus.com>
1111
1112 * alpha/osf.h (HAVE_STAMP_H): Define.
1113 * alpha.c: Use it.
1114 * alpha/netbsd.h, alpha/netbsd-elf.h: New files.
1115 * configure.in (alpha*-*-netbsd*): New.
1116 Based on patches from Paul H. Anderson <pha@pdq.com>.
1117
1118 * configure.in (alpha*-*-linux-*): Kill xm_defines.
1119 (alpha*-*-linux-gnulibc1*) [fixincludes]: Define.
1120 * alpha/xm-linux.h: Remove file.
1121
620422fd
DE
1122Sat May 16 18:32:45 1998 Doug Evans <devans@canuck.cygnus.com>
1123
1124 * dbxout.c (dbxout_parms): If mode of type of parameter living
1125 in memory doesn't match mode of DECL_RTL, make big endian correction.
1126
d2f2cb19
JW
1127Fri May 15 21:40:06 1998 John Wehle (john@feith.com)
1128
1129 * i386.md (movdi-1, movdi): Rewrite based on SI move patterns.
1130
bbc0e641
JM
1131Fri May 15 18:55:22 1998 Jason Merrill <jason@yorick.cygnus.com>
1132
1133 * tree.h (BINFO_SIZE, TYPE_BINFO_SIZE): New macros.
1134 * stor-layout.c (layout_record): Set it.
1135
1136Fri May 15 18:49:30 1998 Mark Mitchell <mmitchell@usa.net>
1137
1138 * toplev.c (rest_of_compilation): Don't defer nested functions.
1139
92834d7d
BM
1140Fri May 15 17:42:52 1998 Bob Manson <manson@charmed.cygnus.com>
1141
1142 * config/rs6000/rs6000.c (rs6000_stack_info): Align the stack bottom
1143 to an 8-byte boundary if info_ptr->fpmem_p.
1144
829002bb
BM
1145Fri May 15 17:36:11 1998 Bill Moyer <ttk@cygnus.com>
1146
1147 * loop.c (basic_induction_var): Added test preventing
1148 CCmode parameter passed to convert_modes().
1149
b24f65cd
APB
1150Fri May 15 17:26:18 1998 Alexandre Petit-Bianco <apbianco@cygnus.com>
1151
1152 * expr.c (expand_expr, case EXPR_WITH_FILE_LOCATION): Save/restore
1153 input_filename and lineno around expand_expr call. Set them to values
1154 in WFL before expand_expr call.
1155
b09293cc
BK
1156Fri May 15 12:44:57 1998 Benjamin Kosnik <bkoz@rhino.cygnus.com>
1157
1158 * stor-layout.c (set_sizetype): Set TYPE_NAME on bitsizetype.
1159
f628873f
MM
1160Fri May 15 07:20:03 1998 Mark Mitchell <mmitchell@usa.net>
1161
1162 * fold-const.c (constant_boolean_node): New function.
1163 (fold): Use it.
1164
61fb6bac
R
1165Fri May 15 11:21:16 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
1166
1167 * sh.c (gen_shl_and): Don't sign extend constant for kind two.
1168 Abort if trying to split kind 3 or 4 outside of combine.
1169
8f9661dd
JL
1170Fri May 15 01:47:37 1998 Jeffrey A Law (law@cygnus.com)
1171
1172 * mips.c (print_operand, case 'x'): Use HOST_WIDE_INT_PRINT_HEX.
1173
b22284e1
MK
1174Fri May 15 01:42:45 1998 Mumit Khan <khan@xraylith.wisc.edu>
1175
1176 * objc/Make-lang.in (OBJC_O): Add missing exeext.
1177 (libobjc.a, runtime-info.h): Likewise.
1178
8a022443
JW
1179Fri May 15 01:29:39 1998 John Wehle (john@feith.com)
1180
1181 * i386.h (DATA_ALIGNMENT): Define.
1182
aa6498c2
R
1183Fri May 15 05:35:37 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
1184
1185 * reload1.c (delete_output_reload): Ignore single USE that
1186 was emitted for the pseudo use of this INSN.
1187 If the no reference to REG between OUTPUT_RELOAD_INSN and INSN
1188 remains, we can always delete OUTPUT_RELOAD_INSN.
1189
41372177
JW
1190Thu May 14 18:38:50 1998 Jim Wilson <wilson@cygnus.com>
1191
1192 * reload.c (find_reloads): Don't penalize SCRATCH output reload.
1193
ddc5654a
JL
1194Thu May 14 15:10:30 1998 Jeffrey A Law (law@cygnus.com)
1195
1196 * Makefile.in (expr.o): Remove dependency on deleted modemap.def file.
1197
9a0d1e1b
AM
1198Thu May 14 16:30:47 EDT 1998 Andrew MacLeod <amacleod@cygnus.com>
1199
1200 * eh-common.h: New file for basic EH data structures.
1201 * except.h: Various prototypes and structures for NEW_EH_MODEL
1202 * function.h (struct function): Add a struct eh_stack for the catch
1203 clause stack.
9b91d8f4 1204 * except.c (gen_exception_label): New function to generate an
9a0d1e1b
AM
1205 exception label.
1206 (push_eh_entry): Use gen_exception_label() and init 'label_used' field.
1207 (push_entry): New function to push an existing entry onto a stack.
9b91d8f4 1208 (receive_exception_label): New function to emit the code required
9a0d1e1b
AM
1209 at the start of all catch blocks.
1210 (struct func_eh_entry): New structure for maintaining handlers
1211 associated with EH regions.
1212 (new_eh_region_entry): New function to register an EH region.
1213 (add_new_handler): New function to register a handler with a region.
1214 (get_new_handler): Creates anew handler entry for registering.
1215 (find_func_region): New function to convert a NOTE eh region number
1216 to an Eh region index.
1217 (get_first_handler): New function to get the first handler in a region.
1218 (clear_function_eh_region): New function to release memory.
1219 (duplicate_handlers): New function to duplicate a list of handlers.
1220 (expand_eh_region_end): Create a new region entry node as well.
1221 (expand_leftover_cleanups): Call receive_exception_label() and
1222 register the cleanup as a handler to the current region.
1223 (expand_start_catch): New function to start a catch clause.
1224 (expand_end_catch): New function to end a catch clause.
1225 (expand_start_all_catch): restructure to not do the equivilent of
1226 what expand_start_catch() does now. Push the exception region being
1227 handled onto the catch stack.
1228 (output_exception_table_entry): Issue an entry for each handler
1229 associated with a region.
1230 (set_exception_lang_code): New function for setting the language code.
1231 (set_exception_version_code): New function to set the version number.
1232 (output_exception_table): Output version and language codes.
1233 (find_exception_handler_labels): Find handler labels using new scheme.
1234 (is_exception_handler_label): New function, returns 1 if label is
1235 present as a handler in some exception region.
1236 (check_exception_handler_labels): Use the new scheme.
1237 (init_eh_for_function): Initialize the catch stack.
1238 (save_eh_status): Save the catch stack.
1239 (restore_eh_status): Restore the catch stack.
1240 (scan_region): Don't remove unreferenced handler label. Flow does it.
1241 (get_reg_for_handler): New function to get the eh_context pointer
1242 passed by __throw.
1243 (expand_builtin_eh_stub): Changes required for NEW_EH_MODEL only.
1244 * final.c (final_scan_insn): With NEW_EH_MODEL, add EH table
1245 entry when processing END region rather that START region.
1246 * flow.c (find_basic_blocks_1): Find all potential handler regions
1247 now that we don't automatically know what the labels might be.
1248 Let scan_region() remove unreferenced EH BEGIN/END labels.
1249 * integrate.c (get_label_from_map): Put inlined labels onto the
1250 permanent obstack since we dont know which ones might be exception
1251 labels.
1252 (save_for_inline_copying): Make new copies of all the handlers.
1253 (expand_inline_function): Make new copies of all the handlers.
1254 * libgcc2.c: Remove local struct decls, and include eh-common.h.
9b91d8f4 1255 (find_exception_handler): With NEW_EH_MODEL the first matching
9a0d1e1b
AM
1256 region we find is the right one. Add eh_info as a new parameter.
1257 (__throw): Pass eh_info to find_exception_handler. Set handler
1258 and pass use different regs under NEW_EH_MODEL.
1259
2129b081
JW
1260Thu May 14 12:58:21 1998 Jim Wilson <wilson@cygnus.com>
1261
1262 * i960.h (hard_regno_mode_ok): Changed to function from array of
1263 unsigned.
1264 (HARD_REGNO_MODE_OK): Call function instead of testing bit.
1265 * i960.c (hard_regno_mode_ok): Changed to function from array of
1266 unsigned.
1267
029b38ff
R
1268Thu May 14 08:41:46 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
1269
1270 * reload.c (remove_replacements): New function.
1271 * reload.h (remove_replacements): Declare.
1272 * reload1.c (choose_reload_regs): Disable some reloads that
1273 belong to inherited reloads.
1274
efdb3590
R
1275Thu May 14 02:17:17 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
1276
9dd07f87
R
1277 * loop.c (scan_loop): Don't call move_moveables for optimize_size.
1278
efdb3590
R
1279 * reload1.c (merge_assigned_reloads): When merging, reset
1280 reload_spill_index for the eliminated reload.
1281
5d27de7d
JL
1282Wed May 13 17:51:13 1998 Jeffrey A Law (law@cygnus.com)
1283
1284 * haifa-sched.c (schedule_insns): Fix merge goof.
1285
92d4501f
JW
12861998-05-13 Jim Wilson <wilson@cygnus.com>
1287
1288 * varasm.c (make_decl_rtl): Revert April 1 change.
1289 * alpha/alpha.h, alpha/win-nt.h, arm/arm.h, i386/unix.h, i960/i960.h,
1290 m68k/linux.h, pa/pa.h, sparc/sparc.h, vax/vax.h (ASM_OUTPUT_MI_THUNK):
1291 Get function name from the SYMBOL_REF in the DECL_RTL, not from
1292 DECL_ASSEMBLER_NAME.
1293 * i386/winnt.c (gen_stdcall_suffix): Comment for questionable use of
1294 DECL_ASSEMBLER_NAME.
1295
d6cc54f6
JW
1296Wed May 13 13:09:19 1998 Jim Wilson <wilson@cygnus.com>
1297
1298 * i386.c (notice_update_cc, output_float_compare): Disable
1299 TARGET_CMOVE support.
1300
6d3352d9 1301Wed May 13 15:28:59 1998 Michael Meissner <meissner@cygnus.com>
0dfa1860
MM
1302 Jeff Law <law@cygnus.com>
1303
ae78d276
MM
1304 * rtlanal.c (find_reg_note): Ignore notes that are not on on
1305 insns of class 'i'.
1306 (find_regno_note): Likewise.
1307
82ce5b75
MM
1308 * Makefile.in (stor-layout.o): Depend on except.h
1309 (varasm.o, function.o): Likewise.
1310 (expr.o): Depend on except.h, modemap.def and hard-reg-set.h.
1311
0dfa1860
MM
1312 * Makefile.in (HOST_RTL): Add $(HOST_PREFIX)bitmap.o.
1313 (rtl.o, emit-rtl.o): Add dependency on bitmap.h.
1314 ($(HOST_PREFIX_1)rtl.o): Likewise.
1315 ($(HOST_PREFIX_1)bitmap.o): New host object.
1316 * emit-rtl.c (toplevel): Include bitmap.h.
1317 (gen_rtx): Handle 't' and 'b' nodes.
1318 * print-rtl.c (print_rtx): Handle printing NOTE_INSN_LIVE notes.
1319 Print block number for block begin/end notes. Print 't' type
1320 nodes as a pointer. Know that the 3rd argument of live range
1321 start/stop notes is really a range_info rtx. If type is 'b', print
1322 out argument as a bitmap.
1323 * rtl.c: Include bitmap.c.
1324 (copy_rtx): Copy tree nodes as is. Copy bitmaps if type is 'b'.
1325 (note_insn_name): Add NOTE_INSN_RANGE_{START,END}, NOTE_INSN_LIVE.
1326 * rtl.def (RANGE_LIVE): New node to hold live information while we
1327 recalculate the basic blocks.
1328 (RANGE_REG, RANGE_INFO): New rtl types for live range splitting.
9b91d8f4 1329 (RANGE_VAR): New node, to hold information saved in symbol node for New
0dfa1860
MM
1330 communicating live range information to the debug output functions.
1331 * rtl.h (rtunion_def): Add rttree and rtbit fields.
1332 (XBITMAP, XTREE): New accessor macros.
1333 (NOTE_LIVE_INFO): Overload NOTE_SOURCE_FILE for NOTE_INSN_LIVE notes.
1334 (NOTE_RANGE_INFO): Similarly for NOTE_INSN_RANGE_{START,END} notes.
1335 (NOTE_BLOCK_LIVE_RANGE_BLOCK): Define.
1336 (NOTE_INSN_RANGE_START, NOTE_INSN_RANGE_END, NOTE_INSN_LIVE): New notes.
1337 (RANGE_LIVE_{BITMAP,ORIG_BLOCK}): New accessor macros.
1338 (RANGE_REG_{SYMBOL,BLOCK}_NODE, RANGE_VAR_*): New accessor macros.
1339 (RANGE_INFO_*): Likewise.
1340 * sched.c (sched_analyze): Keep live range start/stop notes.
1341 (unlink_other_notes): Likewise.
1342 * haifa-sched.c (sched_analyze): Keep live range start/stop notes.
1343 (unlink_other_notes): Likewise.
1344 * tree.h (BLOCK_LIVE_RANGE_{START,END,VAR_FLAG}): New accessor macros.
1345 (BLOCK_LIVE_RANGE_FLAG): Likewise.
1346 (DECL_LIVE_RANGE_RTL): Likewise.
1347 (struct tree_block): Add live_range_flag, live_range_var_flag,
1348 live_range_start and live_range_end.
1349 (struct tree_decl): Add live_range_rtl field.
1350 * gengenrtl.c (type_from_format): Handle 'b' and 't'.
1351 (accessor_from_format): Likewise.
6d3352d9
MM
1352
1353 * haifa-sched.c (schedule_block): Make verbose output line up.
47312d84 1354 Also add a blank line in printing the individual ready lists.
6d3352d9 1355
63e76c87
KG
1356Wed May 13 15:43:44 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1357
1358 * Makefile.in (c-lang.o): Depend on c-tree.h, c-lex.h and toplev.h.
1359 (c-lex.o): Depend on output.h.
1360 (c-common.o): Likewise.
1361 (stmt.o): Likewise.
1362 (calls.o): Likewise.
1363 (integrate.o): Depend on toplev.h.
1364 (regclass.o): Depend on output.h.
1365 (final.o): Depend on reload.h.
1366
1367 * c-common.c: Include output.h.
1368 (check_format_info): Remove unused variable `integral_format'.
1369
1370 * c-decl.c (print_lang_decl): Mark parameters `file', `node' and
1371 `indent' with ATTRIBUTE_UNUSED.
1372 (print_lang_type): Likewise.
1373 (maybe_build_cleanup): Likewise for parameter `decl'.
1374 (copy_lang_decl): Likewise for parameter `node'.
1375
1376 * c-lang.c: Include c-tree.h, c-lex.h and toplev.h.
1377 (lang_print_xnode): Mark parameters `file', `node' and `indent'
1378 with ATTRIBUTE_UNUSED.
1379 (lookup_interface): Likewise for parameter `arg'.
1380 (is_class_name): Likewise.
1381 (maybe_objc_check_decl): Likewise for parameter `decl'.
1382 (maybe_objc_comptypes): Likewise for parameters `lhs', `rhs' and
1383 `reflexive'.
1384 (maybe_objc_method_name): Likewise for parameter `decl'.
1385 (build_objc_string): Likewise for parameters `len' and `str'.
1386
1387 * c-lex.c: Include output.h.
1388
1389 * c-lex.h (position_after_white_space): Correct typo in prototype.
1390
1391 * c-tree.h (finish_file, c_expand_start_cond, c_expand_start_else,
1392 c_expand_end_cond, init_iterators): Add prototypes.
1393
1394 * caller-save.c (set_reg_live): Mark parameters `reg' and `setter'
1395 with ATTRIBUTE_UNUSED.
1396
1397 * calls.c: Include output.h.
1398
1399 * cccp.c (pipe_closed): Mark parameter `signo' with
1400 ATTRIBUTE_UNUSED.
1401
1402 * combine.c: Move inclusion of expr.h to after insn-config.h.
1403
1404 * iris6.h (ASM_IDENTIFY_GCC, ASM_IDENTIFY_LANGUAGE): Don't define
1405 as empty, rather define as ((void)0).
1406
1407 * sparc.c (sparc_check_64): Add braces around ambiguous `else'.
1408 Add parentheses around assignment used as truth value.
1409
1410 * cplus-dem.c (squangle_mop_up): Change return type to void.
1411 (internal_cplus_demangle): Remove unused parameter `options'.
1412 All callers changed.
1413 (cplus_demangle_opname): Remove function wide variable `int i' and
1414 replace with `size_t i' at each location where it is used.
1415 (cplus_demangle_opname): change type of `i' from int to size_t.
1416
1417 * cppexp.c (right_shift): Mark parameter `pfile' with
1418 ATTRIBUTE_UNUSED.
1419
1420 * cpphash.c (cpp_lookup): Likewise.
1421 (cpp_hash_cleanup): Likewise.
1422
1423 * cpplib.c (parse_name): Add a prototype and make it static.
1424 (null_underflow): Mark parameter `pfile' with ATTRIBUTE_UNUSED.
1425 (null_cleanup): Likewise for parameters `pbuf' and `pfile'.
1426 (macro_cleanup): Likewise for parameter `pfile'.
1427 (file_cleanup): Likewise.
1428
1429 * cpplib.h (cpp_reader_init, cpp_options_init, cpp_start_read,
1430 cpp_read_check_assertion, skip_rest_of_line): Add prototypes.
1431
1432 * crtstuff.c (force_to_data, __CTOR_LIST__, force_to_data,
1433 __DTOR_END__, __FRAME_END__): Mark with ATTRIBUTE_UNUSED.
1434
1435 * cse.c (cse_check_loop_start): Mark parameter `set' with
1436 ATTRIBUTE_UNUSED.
1437
1438 * dbxout.c (flag_minimal_debug, have_used_extensions,
1439 source_label_number): Move inside macro wrapper check against
1440 defined (DBX_DEBUGGING_INFO) || defined (XCOFF_DEBUGGING_INFO).
1441
1442 * dwarf2out.c (gen_entry_point_die): Hide prototype and definition.
1443
1444 * except.h (doing_eh): Provide prototype.
1445
1446 * expr.c: Move inclusion of expr.h to after insn-config.h.
1447
1448 * final.c: Include reload.h.
1449 (shorten_branches): Cast the first argument of bzero to char *.
1450
1451 * fix-header.c (cpp_print_containing_files): Mark parameter
1452 `pfile' with ATTRIBUTE_UNUSED.
1453 (cpp_fatal): Likewise.
1454
1455 * flow.c (find_basic_blocks_1): Cast the first argument of bzero
1456 to char *.
1457
1458 * genattrtab.c (make_length_attrs): Change the type of variable
1459 `i' from int to size_t.
1460 (zero_fn): Mark parameter `exp' with ATTRIBUTE_UNUSED.
1461 (one_fn): Likewise.
9b91d8f4 1462
63e76c87
KG
1463 * genextract.c (main): When generating insn-extract.c, mark
1464 variable `junk' with ATTRIBUTE_UNUSED.
1465
1466 * gengenrtl.c (gencode): When generating genrtl.c, cast the first
1467 argument of bzero to char*.
1468
1469 * integrate.c: Include toplev.h.
1470
1471 * libgcc2.c: Wrap `struct exception_table' and
1472 `find_exception_handler' in macro DWARF2_UNWIND_INFO.
1473
1474 * objc/Make-lang.in (objc-act.o): Depend on toplev.h.
9b91d8f4 1475
63e76c87
KG
1476 * objc/objc-act.c: Include toplev.h.
1477 (lang_print_xnode): Mark parameters `file', `node' and `indent'
1478 with ATTRIBUTE_UNUSED.
1479 (finish_protocol): Likewise for parameter `protocol'.
1480
1481 * output.h (declare_weak): Add prototype.
1482 (decode_reg_name): Don't wrap with TREE_CODE macro.
1483 (assemble_alias): Add prototype.
1484
1485 * regclass.c: Include output.h.
1486
1487 * reload.h (reloads_conflict): Add prototype.
1488
1489 * rtl.h (print_rtl_single, mark_elimiation, reg_class_subset_p,
1490 output_func_start_profiler): Add prototypes.
1491
1492 * rtlanal.c (reg_set_p_1): Mark parameters `x' and `pat' with
1493 ATTRIBUTE_UNUSED.
1494
1495 * scan-decls.c: Include scan.h.
1496
1497 * scan.h (recognized_function, recognized_extern): Add prototypes.
1498
1499 * stmt.c: Include output.h.
1500
1501 * toplev.c (error_for_asm, warning_for_asm): Remove prototypes.
1502 (output_lang_identify): Hide prototype and definition.
1503 (float_signal): Mark parameter `signo' with ATTRIBUTE_UNUSED.
1504 (pipe_closed): Likewise.
1505
1506 * toplev.h (count_error, strip_off_ending, error_for_asm,
1507 warning_for_asm): Add prototypes.
1508
a494747c 1509Wed May 13 12:54:19 1998 Michael Meissner <meissner@cygnus.com>
a494747c 1510
32e705c4
MM
1511 * toplev.c (rest_of_compilation): "Charge" final for any time
1512 doing various cleanup operations after finishing compilation
1513 of a function.
1514
9b91d8f4 1515 * flow.c (dump_flow_info): Also print number of sets and
6fc4610b
MM
1516 whether or not the pseudo is a user variable.
1517
a494747c
MM
1518 * flow.c (reg_n_max): New global variable.
1519 * regclass.c (allocate_reg_info): Keep reg_n_max up to date.
1520 Delete regno_max variable.
1521 * regs.h (REG_N_CHECK): Define.
1522 (REG_N_REFS, REG_N_SETS, REG_N_DEATHS): Use REG_N_CHECK.
1523 (REG_N_CHANGES_SIZE, REG_N_CALLS_CROSSED, REG_LIVE_LENGTH): Likewise.
1524 (REGNO_FIRST_UID, REGNO_LAST_UID, REGNO_LAST_NOTE_UID): Likewise.
1525
21622caf
JL
1526Wed May 13 12:54:19 1998 Martin von Loewis <martin@mira.isdn.cs.tu-berlin.de>
1527
1528 * acconfig.h (ENABLE_CHECKING): Undefine.
1529 * configure.in (--enable-checking): New option.
1530
d668e863
R
1531Wed May 13 08:52:08 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
1532
1533 * reload1.c (merge_assigned_reloads): Can merge
1534 RELOAD_FOR_INPUT_ADDRESS and RELOAD_FOR_OTHER_ADDRESS even
1535 if RELOAD_FOR_INPUT with the same reload_reg_rtx is present.
1536
b706d7f2
JW
1537Tue May 12 20:05:57 1998 Jim Wilson <wilson@cygnus.com>
1538
1539 * collect2.c (main): Ignore do_collecting when COLLECT_EXPORT_LIST.
1540
4117a96b
R
1541Wed May 13 03:23:45 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
1542
1543 * reload1.c (gen_reload): Create REG_EQUIV notes.
1544
4d3eb414
R
1545Tue May 12 22:21:07 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
1546
1547 * reload1.c (reload): Fix check for USEs to use code of pattern.
1548 (choose_reload_regs): Remove dead variable use_insn.
1549
b10c8966
JL
1550Tue May 12 14:04:49 1998 Jeffrey A Law (law@cygnus.com)
1551
9b91d8f4 1552 * pa.h (DBX_CONTIN_LENGTH): Reduce to 3000 bytes.
b10c8966 1553
cbb13457
MM
1554Tue May 12 15:16:02 1998 Michael Meissner <meissner@cygnus.com>
1555
1556 * haifa-sched.c (HAIFA_INLINE): Define to be __inline unless
1557 already defined.
1558 (find_insn_{,mem_}list): Use HAIFA_INLINE, not __inline.
1559 (insn_{unit,issue_delay}): Ditto.
1560 (blockage_range): Ditto.
1561 (actual_hazard{,_this_instance}): Ditto.
1562 (schedule_unit): Ditto.
1563 (potential_hazard): Ditto.
1564 (insn_cost): Ditto.
1565 (swap_sort): Ditto.
1566 (queue_insn): Ditto.
1567 (birthing_insn_p): Ditto.
1568 (adjust_priority): Ditto.
1569 (get_block_head_tail): Ditto.
1570 (init_rgn_data_dependences): Ditto.
1571
1478d88a
KK
1572Tue May 12 10:27:54 1998 Klaus Kaempf <kkaempf@progis.de>
1573
1574 * alpha/vms.h (COMMON_ASM_OP, ASM_OUTPUT_ALIGNED_COMMON): Define.
1575
a688e0b7
GK
1576Tue May 12 11:44:14 1998 Gavin Koch <gavin@cygnus.com>
1577
1578 * config/mips/mips.h (ASM_OUTPUT_ALIGN): Remove trailing semi-colon.
1579
ec350bdd
GK
1580Tue May 12 11:38:31 1998 Gavin Koch <gavin@cygnus.com>
1581
1582 * config/mips/mips.md (dslot): Move after definition of "cpu"
1583 attribute. Handle r3900 case.
1584
d4ba0ead
KG
1585Tue May 12 10:21:36 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1586
1587 * system.h: Define the STRINGIFY macro here.
1588 * protoize.c: Not here.
1589 * gengenrtl.c (DEF_RTL_EXPR): Use the STRINGIFY macro.
1590
8a198bd2
JW
1591Tue May 12 00:47:33 1998 John Wehle (john@feith.com)
1592
9b91d8f4 1593 * varasm.c (assemble_variable): Compute the alignment of the data
8a198bd2
JW
1594 earlier so that both initialized and uninitialized variables are
1595 effected by DATA_ALIGNMENT.
1596 * tm.texi (DATA_ALIGNMENT): Updated appropriately.
1597
eace3df1
JL
1598Mon May 11 19:57:58 1998 Jeffrey A Law (law@cygnus.com)
1599
1600 * mips.c: Prototype static functions.
1601
a9e95099
JW
1602Mon May 11 17:43:03 1998 Jim Wilson <wilson@cygnus.com>
1603
b1a7d591
JW
1604 * regmove.c (fixup_match_2, find_matches, regmove_profitable):
1605 Add explanatory comments.
1606
a9e95099
JW
1607 * sparc.h (SPARC_INCOMING_INT_ARG_FIRST): Support TARGET_FLAT.
1608
0f177d7c
RH
1609Mon May 11 17:24:27 1998 Richard Henderson <rth@cygnus.com>
1610
1611 * sparc.md (ffsdi2): Disable. Simplify the expression as well.
1612
28233641
JW
1613Mon May 11 13:30:44 1998 Jim Wilson <wilson@cygnus.com>
1614
1615 * varasm.c (make_decl_rtl): Disable April 1 change.
1616
e55a5ea6
RH
1617Mon May 11 09:14:41 1998 Richard Henderson <rth@cygnus.com>
1618
1619 * configure.in (alpha-*-linux-gnu): Undo lossage from gcc2 merge.
1620
e83015a9
RH
1621Mon May 11 08:24:18 1998 Richard Henderson <rth@cygnus.com>
1622
1623 * alpha.h (PRINT_OPERAND_PUNCT_VALID_P): Add '`'.
1624 * alpha.c (print_operand): Handle it.
9b91d8f4 1625 * alpha.md (fix_truncdfsi2, fix_truncsfsi2): New patterns and
e83015a9
RH
1626 related define_splits. Also add peepholes for SImode reload
1627 plus sign_extend lossage.
1628
320e7c40
KG
1629Mon May 11 09:33:10 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1630
1631 * genattr.c: Include stdarg.h/varargs.h. Change function
1632 `fatal' to use variable arguments instead of faking it with
1633 integer parameters. Provide a prototype which also
1634 checks the format specifiers using ATTRIBUTE_PRINTF_1.
1635
1636 * genattrtab.c: Likewise.
1637 * gencodes.c: Likewise.
1638 * genconfig.c: Likewise.
1639 * genemit.c: Likewise.
1640 * genextract.c: Likewise.
1641 * genflags.c: Likewise.
1642 * genopinit.c: Likewise.
1643 * genpeep.c: Likewise.
1644 * genrecog.c: Likewise.
1645 * genoutput.c: Likewise. Similarly for function `error'.
1646
e9b4fabf
JL
1647Sun May 10 02:27:03 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1648
1649 * acconfig.h (HAVE_VOLATILE): Insert stub for autoconf.
1650 * alocal.m4 (GCC_C_VOLATILE): New autoconf test.
1651 * configure.in: Use GCC_C_VOLATILE.
1652 * system.h (volatile): Define as empty if no volatile support is
1653 available.
1654
1655Sun May 10 01:21:43 1998 Jeffrey A Law (law@cygnus.com)
1656
1657 * genemit.c (output_add_clobbers): Removed unused variable 'i' from
1658 generated fucntion.
1659
f283421d
RH
1660Sat May 9 02:02:15 1998 Richard Henderson <rth@cygnus.com>
1661
1662 * loop.c (get_condition): Don't combine when either compare is MODE_CC.
1663 * alpha.c (alpha_emit_conditional_branch): New function. Taken from
1664 the body of beq; additionally set the mode of the branch to CCmode for
9b91d8f4 1665 FP compares and not fast_math.
f283421d
RH
1666 (alpha_emit_conditional_move): Always use a compare insn for FP
1667 when not fast_math, as well as setting CCmode on the cmov.
1668 * alpha.md (beq, bne, blt, et al): Call alpha_emit_conditional_branch.
1669
1670 * machmode.h (COMPLEX_MODE_P): New macro.
1671
53c0919d
RH
1672Sat May 9 01:53:23 1998 Richard Henderson <rth@cygnus.com>
1673
1674 * haifa-sched.c (print_exp): Fix typo.
1675
23d297ab
JL
1676Fri May 8 21:48:50 PDT 1998 Jeff Law (law@cygnus.com)
1677
1678 * version.c: Bump for snapshot.
1679
cf879efa
MM
1680Fri May 8 18:23:08 1998 Michael Meissner <meissner@cygnus.com>
1681
1682 * final.c (final_scan_insn): Call fatal_insn instead of abort if
1683 we could not split an insn when required to.
1684
5b8ae21f
MM
1685 * m32r.md ({add,sub}di3): Add define_splits and appropriate low
1686 level insns.
1687 (peepholes): Disable peepholes that call dead_or_set_p.
1688 (movsi): Rewrite to handle addresses better after last change.
1689 Add define_split to split load of addresses in large/medium modes.
1690 (prologue): Call m32r_expand_prologue.
1691 (movsi_{push,pop}): Generators for push/pop.
1692 (movsi): Support PRE_{INC,DEC}, POST_INC.
1693 (mov{di,df}): Rewrite. Always split the insns.
1694 (movsf): Add define_split to get register load in correct mode.
1695 (cmp_ne_small_const_insn): Use 'N' instead of 'S' constraint.
1696 (attributes): Rewrite attributes so that type indicates both the
1697 type and the length of the insn directly.
1698 (all insns): Change to use new type attributes.
1699 (debug): New attribute to convey whether -mdebug was used.
1700 (opt_space): New attribute to convey whether -Os was used.
1701 (function units): Loads are 3 cycles, not 2. Better classify all
1702 insns into short/long.
1703 (load/store/extend insns): Add separate case for load/store
1704 indirect operations without an offset.
1705 (divsi3): Division is a long operation, not short.
1706
1707 * m32r.h (LEGITIMATE_LO_SUM_ADDRESS_P): Do not allow LO_SUM for
1708 modes > 1 word.
1709 (GO_IF_MODE_DEPENDENT_ADDRESS): LO_SUM is now mode dependent.
1710 (CONST_OK_FOR_LETTER_P): Make 'N' handle reverse 8 bit compares.
1711 (EXTRA_CONSTRAINT): Remove 'S' special support. Add 'U' for
1712 operands with PRE_{INC,DEC}, POST_INC.
1713 (FUNCTION_PROFILER): Call abort instead of doing nothing.
1714 (GO_IF_LEGITIMATE_ADDRESS): Allow PRE_{INC,DEC}, POST_INC of
1715 SImode variables.
1716 (gen_split_move_double): Declare.
1717 (EXTRA_CONSTRAINT): Add 'T' for memory reference with no offset.
1718
1719 * m32r.c (gen_split_move_double): Fix typo. Also, don't call
1720 emit_move_insn, build up SET's directly.
1721 (toplevel): Include system.h, not stdio.h.
1722 (move_double_src_operand): Allow any DF or DI mode constant.
1723 (gen_split_move_double): Split moves of DI or DF values into the
1724 appropriate moves, loads, or stores. Don't handle use of auto
1725 inc/dec if using dead index. Do handle overlapping moves, etc.
1726 (m32r_frame_info): Remove prologue_size field.
1727 (m32r_compute_frame_size): Don't calculate prologue size.
1728 (m32r_output_function_prologue): Change to pretty much a NOP.
1729 (m32r_expand_prologue): Expand prologue as a series of INSNs.
1730 (m32r_print_operand): Add support for PRE_{INC,DEC}, POST_INC.
1731 (m32r_print_operand_address): Ditto.
9b91d8f4 1732
d7c2e385
L
1733Fri May 8 14:13:21 1998 H.J. Lu (hjl@gnu.org)
1734
1735 * reload1.c (emit_reload_insns): When performing expensive
1736 optimizations, do not output the last reload insn if OLD is
1737 not the dest of NSN and is in the src and is clobbered by INSN.
1738
560bd19e
KG
1739Fri May 8 09:47:29 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1740
1741 * Makefile.in (genrtl.o): Depend on system.h.
1742 * gengenrtl.c (gencode): When creating genrtl.c, have it
1743 include system.h.
1744
0d33d22e
AS
1745Fri May 8 10:57:33 1998 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1746
1747 * config/m68k/t-linux: Remove extra stuff already included in
1748 config/t-linux.
1749
dea4ae0d
MH
1750Fri May 8 09:53:24 Paul Eggert <eggert@twinsun.com>
1751
1752 * fixinc.wrap: Renamed from fixinc.math. Put wrapper around
1753 curses.h if it contains `typedef char bool;', as suggested by
1754 Manfred Hollstein <manfred@s-direktnet.de>.
1755
1756 * configure.in: Rename fixinc.math to fixinc.wrap.
1757
02e56202
JW
1758Thu May 7 19:26:34 1998 Jim Wilson <wilson@cygnus.com>
1759
bbeb7b65
JW
1760 * gcc.c (read_specs): Handle missing blank line at end of specs file.
1761
02e56202
JW
1762 * i386.md (movsicc, movhicc, movsicc_1, movhicc_1, movsfcc_1,
1763 movdfcc_1): Disable.
1764
e445171e
JW
1765Thu May 7 15:39:14 1998 Jim Wilson <wilson@cygnus.com>
1766
1767 * configure.in (enable_threads): Rename to enable_threads_flag before
1768 main loop. Set enable_threads to enable_threads_flag inside main
1769 loop.
1770
a1b5a7e1
MM
1771Thu May 7 17:38:03 1998 Michael Meissner <meissner@cygnus.com>
1772
1773 * r6000/eabi.asm (__eabi): Restore LR in case __eabi is called
1774 multiple times.
1775
76b4b31e
KG
1776Thu May 7 14:26:05 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1777
1778 * aclocal.m4 (GCC_FUNC_VFPRINTF_DOPRNT): New macro.
9b91d8f4 1779
76b4b31e
KG
1780 * configure.in: Add a call to GCC_FUNC_VFPRINTF_DOPRNT.
1781 (AC_CHECK_HEADERS): Remove unused check for varargs.h,sys/varargs.h.
1782 (AC_CHECK_FUNCS): Remove unused check for vprintf.
9b91d8f4 1783
76b4b31e
KG
1784 * Makefile.in: Add support for linking in vfprintf.c and doprint.c.
1785 (cccp.o): Depend on gansidecl.h.
1786 (cexp.o): Likewise.
1787
1788 * cccp.c: Convert from using PRINTF_ALIST/PRINTF_DCL to VPROTO as
1789 per the rest of gcc source.
1790 * cexp.y: Likewise. Include gansidecl.h and remove all code made
1791 redundant.
1792
1793 * cccp.c: Remove checks for HAVE_VPRINTF and the associated code
1794 used when vfprintf is missing.
1795 * cexp.y: Likewise.
1796 * gcc.c: Likewise.
1797 * genattrtab.c: Likewise.
1798 * mips-tfile.c: Likewise.
1799 * toplev.c: Likewise.
1800
1801 * vfprintf.c: New file.
1802 * doprint.c: New file.
1803
bebc4663
JL
1804Thu May 7 10:18:41 1998 Jeffrey A Law (law@cygnus.com)
1805
1806 * config/linux.h (ASM_COMMENT_START): Remove from here,
1807 * config/linux-aout.h (ASM_COMMENT_START): and here,
1808 * config/i386/linux.h (ASM_COMMENT_START): to here,
1809 * config/i386/linux-aout.h (ASM_COMMENT_START): and here.
1810 * config/i386/linux-oldld.h (ASM_COMMENT_START): Define
1811 here as '#' too.
1812
436bf9fb
AS
1813Thu May 7 10:55:59 1998 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1814
1815 * config/m68k/m68k.md (adddi3, subdi3): Properly negate the DImode
9b91d8f4 1816 constant.
436bf9fb 1817
f103890b
RL
1818Wed May 6 22:32:37 CDT 1998 Robert Lipe <robertl@dgii.com>
1819
1820 * Makefile.in (dwarfout.o) Add toplev.h dependency.
1821 * dwarfout.c, i386.c: Include toplev.h
1822 * toplev.h: (pfatal_with_name) Add prototype.
1823
024b5658
JM
1824Wed May 6 19:02:29 1998 Jason Merrill <jason@yorick.cygnus.com>
1825
1826 * Makefile.in: Fix .SUFFIXES.
1827
410c3875
AM
1828Wed May 6 19:31:32 1998 Alan Modra <alan@spri.levels.unisa.edu.au>
1829
1830 * config/linux.h (ASM_COMMENT_START): Define as "#".
1831 * config/linux-aout.h (ASM_COMMENT_START): Likewise.
1832
7e073314
JW
1833Wed May 6 15:51:39 1998 Jim Wilson <wilson@cygnus.com>
1834
71ebb3b8
JW
1835 * objc/Make-lang.h (objc-parse.o): Add toplev.h dependency.
1836 * objc/objc-parse.y, objc/objc-parse.c: Regenerate.
1837
a0c8e1b2
JW
1838 * toplev.c: Include toplev.h.
1839 * Makefile.in (c-common.o, c-convert.o, c-decl.o, c-iterate.o,
1840 c-lex.o, c-parse.o, c-pragma.o, c-typeck.o, calls.o, convert.o,
1841 dwarf2out.o, except.o, expr.o, final.o, fold-const.o, function.o,
1842 hash.o, profile.o, real.o, reg-stack.o, regclass.o, reload.o,
1843 reload1.o, stmt.o, stor-layout.o, tlink.o, tree.o, varasm.o): Add
1844 toplev.h dependency.
9b91d8f4 1845
1b15c5de
JW
1846 * mips/mips.c (save_restore_insns): Change FRAME_POINTER_REGNUM to
1847 HARD_FRAME_POINTER_REGNUM.
1848
7e073314
JW
1849 * expr.c (target_temp_slot_level): Delete duplicate definition.
1850
d06eab0d
JL
1851Wed May 6 16:46:01 1998 Jeffrey A Law (law@cygnus.com)
1852
df03cab5 1853 * stmt.c (mark_seen_cases): Make it have external linkage again.
0586a4ce
JL
1854 * expr.h (mark_seen_cases): Add declaration, but only when tree.h
1855 has been included.
df03cab5 1856
6b879bcc
JL
1857 * haifa-sched.c (print_value, case SUBREG): Fix typo.
1858
6b28fd63
JL
1859 * i386.c (output_387_binary_op): Add some braces to avoid warnings.
1860 * i386.h (REG_CLASS_CONTENTS): Similarly.
1861
cc132865
JL
1862 * toplev.c (-fsched-max): Delete flag.
1863 (-fsched-interblock-max-blocks,-fsched-interblock-max-insns): Likewise.
1864 * haifa-sched.c: Remove -fsched-max-N, -fsched-interblock-max-blocks-N
1865 and -fsched-interblock-max-insns-N support. Remove INTERBLOCK_DEBUG
1866 conditionals.
1867
1868 * haifa-sched.c (find_rgns): Correctly handle reducible loops with
1869 inner loops which are not reducible.
1870
fd4a1ca5
JL
1871 * loop.c (regs_match_p): Fix typo in prototype.
1872
d06eab0d
JL
1873 * regmove.c (try_auto_increment): Wrap declaration inside an
1874 #ifdef AUTO_INC_DEC.
1875
31bfbf1f
MM
1876Wed May 6 17:07:47 1998 Michael Meissner <meissner@cygnus.com>
1877
1878 * final.c (output_operand_lossage): Call fatal with the operand
1879 lossage message instead of calling abort.
1880
e9a780ec
KG
1881Wed May 6 15:37:27 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1882
1883 * c-common.c: Convert to using ctype macros defined in system.h.
1884 * c-lex.c: Likewise.
1885 * cccp.c: Likewise.
1886 * collect2.c: Likewise.
1887 * rs6000.c: Likewise.
1888 * cpplib.c: Likewise.
1889 * fix-header.c: Likewise.
1890 * gcc.c: Likewise.
1891 * gen-protos.c: Likewise.
1892 * pexecute.c: Likewise.
1893 * protoize.c: Likewise.
1894 * rtl.c: Likewise.
1895 * scan.c: Likewise.
1896 * stmt.c: Likewise.
1897 * tlink.c: Likewise.
9b91d8f4 1898 * toplev.c: Likewise.
e9a780ec 1899
d4c3e60e
GK
1900Wed May 6 14:44:14 1998 Gavin Koch <gavin@cygnus.com>
1901
9b91d8f4 1902 * config/mips/r3900.h (SUBTARGET_ASM_DEBUGGING_SPEC) :
d4c3e60e
GK
1903 Replace -gdwarf-2 with -g0.
1904
90fbb8c9
KG
1905Wed May 6 11:43:18 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1906
1907 * Makefile.in (mips-tfile.o, mips-tdump.o): Depend on system.h.
1908 * mips-tdump.c: Include system.h, remove redundant headers.
1909 * mips-tfile.c: Likewise. Also, convert all ctype function calls
1910 to calls of the macro versions defined in system.h.
1911
1912 * objc/Make-lang.in (objc-act.o): Depend on system.h.
1913 * objc/objc-act.c: Include system.h, remove redundant headers.
1914
8f81384f
KG
1915Wed May 6 11:21:06 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1916
1917 * configure.in (AC_CHECK_FUNCS): Add isascii.
1918 (GCC_NEED_DECLARATIONS): Add atof.
1919
1920 * system.h: Provide prototypes for abort, atof, atol and sbrk here.
1921 * rtl.c, rtl.h, toplev.c, tree.h: Not here.
1922
e572c0c6
KG
1923Wed May 6 10:52:49 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1924
1925 * system.h: Wrap time.h and sys/file.h in autoconf checks.
1926 Provide default definitions for O_RDONLY and O_WRONLY here.
1927
1928 * cccp.c, cpplib.c, fix-header.c, gcc.c, protoize.c: Not here.
1929
8830da36
MM
19301998-05-06 Mark Mitchell <mmitchell@usa.net>
1931
1932 * tree.h (IS_EXPR_CODE_CLASS): Remove bogus '3'.
1933
c5ff95e6
RL
1934Wed May 6 06:35:38 1998 Robert Lipe <robertl@dgii.com>
1935
1936 * toplev.h: New file. Protypes for functions in toplev.c.
1937 * tree.h, rtl.h: Deleted protos for functions in toplev.c.
9b91d8f4
UD
1938 * c-common.c, c-convert.c, c-decl.c, c-iterate.c, c-lex.c,
1939 c-parse.in, c-parse.y, c-pragma.c, c-typeck.c, calls.c,
1940 convert.c, dwarf2out.c, except.c, expr.c, final.c, fold-const.c,
1941 function.c, hash.c, profile.c, real.c, reg-stack.c, regclass.c,
1942 reload.c, reload1.c, stmt.c, stor-layout.c, tlink.c, tree.c,
c5ff95e6
RL
1943 varasm.c: include it.
1944
15ebe47d
JL
1945Wed May 6 01:09:01 1998 Jeffrey A Law (law@cygnus.com)
1946 Jim Wilson (wilson@cygnus.com)
1947
1948 * haifa-sched.c (find_rgns): In no_loops case, fix test for leaf
1949 blocks. Check for 1 successor which is the EXIT_BLOCK.
1950
1951 * haifa-sched.c (find_rgns): Detect unreachable blocks, including
1952 unreachable loops with more than one block.
1953
dbbfa8c8
MH
1954Wed May 6 08:22:24 1998 Manfred Hollstein <manfred@s-direktnet.de>
1955
1956 * fix-header.c (write_rbrac): Add "abort" to functions which need to
1957 be protected.
1958
f5963e61
JL
1959Wed May 6 00:09:36 1998 Jeffrey A Law (law@cygnus.com)
1960
1961 * Check in merge from gcc2. See ChangeLog.12 for details.
1962
3d90c2b5
JW
1963Tue May 5 14:33:49 1998 Jim Wilson <wilson@cygnus.com>
1964
c6a9dea8
JW
1965 * c-common.c (scan_char_table): Separate 's' and 'c'. 'c' does not
1966 accept 'a' flag. 'S' does accept 'a' flag.
1967 (check_format_info): When pedantic, warn for m/C/S/a/A formats,
1968 and `a' flag.
1969
3d90c2b5
JW
1970 * elf64.h (MULTILIB_DEFAULTS): Move definition after mips.h include.
1971
97b57a81
AS
1972Tue May 5 10:50:39 1998 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1973
1974 * config/m68k/m68k.h: Declare functions from m68k.c used in
1975 macros and machine description.
1976 (ASM_OUTPUT_LONG_DOUBLE): Always use `l' flag in print format for
1977 long values.
1978 (ASM_OUTPUT_FLOAT): Likewise.
1979 (ASM_OUTPUT_FLOAT_OPERAND): Likewise.
1980
c5c63738
JM
1981Tue May 5 01:28:12 1998 Jason Merrill <jason@yorick.cygnus.com>
1982
1983 * tree.def: Add NAMESPACE_DECL.
1984 * dwarfout.c (type_ok_for_scope): Ignore NAMESPACE_DECLs for now.
1985 * dwarf2out.c (push_decl_scope): Likewise.
1986 (scope_die_for): Likewise.
1987 * tree.c (decl_function_context): Use TREE_CODE_CLASS to determine
1988 how to get next context level.
1989
2e14a41b
JW
1990Tue May 5 01:43:16 1998 Jim Wilson <wilson@cygnus.com>
1991
1992 * i386.c (output_fix_trunc): Add code to emulate non-popping DImode
1993 case.
1994
f78c792c
JL
1995Tue May 5 01:15:06 1998 Jeffrey A Law (law@cygnus.com)
1996
8b05263d
JL
1997 * h8300.h (ADDITIONAL_REGISTER_NAMES): Add "er" registers.
1998
f78c792c
JL
1999 * reorg.c (fill_slots_from_thread): Update REG_DEAD/REG_UNUSED notes
2000 for any insns skipped at the start of a block because they were
2001 redundant.
2002
4330b0e7
JW
2003Mon May 4 20:23:51 1998 Jim Wilson <wilson@cygnus.com>
2004
2005 * alpha.h (DBX_CONTIN_LENGTH): Decrease to 3000.
2006
b57062ca
UD
20071998-05-04 Ulrich Drepper <drepper@cygnus.com>
2008
2009 * c-common.c (format_char_info): Add new field hhlen.
2010 (print_char_table, scan_char_table, time_char_table): Initialize
2011 hhlen field appropriately.
2012 (char_format_info): Recognize hh modifier and lookup correct char
2013 table entry.
2014
06eaa86f
JW
2015Mon May 4 19:15:29 1998 Jim Wilson <wilson@cygnus.com>
2016
2017 * expr.c (expand_expr, case INDIRECT_REF): Don't optimize string
2018 reference if this is a store.
2019
9ed5dc54
RH
2020Mon May 4 17:25:17 1998 Richard Henderson <rth@cygnus.com>
2021
2022 * sparc.c (output_move_quad): Fix typo in mov_by_64 argument.
2023
fb6d9312
RL
2024Sun May 3 23:57:25 1998 Robert Lipe <robertl@dgii.com>
2025
2026 Make UnixWare 7 bootstrap support work with final shipping product.
b57062ca 2027 * configure.in: (i[34567]86-*-sysv5): append, not overwrite, xm_file.
fb6d9312
RL
2028 Pick up xm-siglist and xm-alloca.
2029 (xm_defines): Add USG so dbxout will build.
2030 * configure: Regenerate.
2031
b53beeb2 2032Sun May 3 13:51:34 PDT 1998 Richard Henderson <rth@cygnus.com>
82d6b402
RH
2033
2034 Support for official Sparc V9 ABI:
2035 * sparc.c (sparc_override_options): Force stack bias off for !arch64.
2036 Care for flag_pcc_struct_return default.
2037 (output_move_quad): Rewrite to move by halves on v9 and in the
2038 proper direction.
2039 (move_quad_direction): New function.
2040 (output_fp_move_quad): Use it to determine the direction of copy.
2041 (function_arg_slotno): Return -1 for FP reg overflow as well.
2042 (function_arg_record_value*): New functions.
2043 (function_arg): Use them. Streamline unprototyped parameter passing.
2044 (function_arg_pass_by_reference): Pass TCmode by reference.
2045 (function_value): New function.
2046 * sparc.h (PTRDIFF_TYPE, SIZE_TYPE): For -pedantic's sake, don't use
2047 long long in 64-bit mode.
2048 (RETURN_IN_MEMORY): v9 returns structs < 32-bytes in regs.
2049 (DEFAULT_PCC_STRUCT_RETURN): Make the default detectable.
2050 (BASE_RETURN_VALUE_REG): Consider complex float types for arch64.
2051 (BASE_OUTGOING_VALUE_REG, BASE_PASSING_ARG_REG): Likewise.
2052 (BASE_INCOMING_ARG_REG): Likewise.
2053 (FUNCTION_VALUE): Call function_value.
2054 (FUNCTION_OUTGOING_VALUE, LIBCALL_VALUE): Likewise.
2055 * sparc.md (movdi_sp32_v9): Disable for arch64.
2056 (movsf, movdf, movtf): Sort all ulternatives using fp regs first.
2057 (call_value_address_sp64): Remove register class constraints.
2058 (call_value_symbolic_sp64): Likewise.
2059 (nonlocal_goto): Pass label reg directly to goto_handlers. Constrain
2060 v9 case to 32-bit constants.
2061 (goto_handler_and_restore_v9): Provide a version for arch64.
2062 * sparc/linux64.h (SIZE_TYPE, PTRDIFF_TYPE): Remove private definition.
2063 * sparc/sp64-aout.h (TARGET_DEFAULT): Turn on stack bias.
2064 (CPP_PREDEFINES): New.
2065 * sparc/sp64-elf.h: Likewise.
2066 (PREFERRED_DEBUGGING_TYPE): Dwarf2.
2067 (ASM_OUTPUT_DWARF2_ADDR_CONST): New.
2068 * sparc/sysv4.h (SIZE_TYPE, PTRDIFF_TYPE): Undo svr4.h's changes.
2069
e40abc32
JL
2070Sat May 2 17:47:17 PDT 1998 Jeff Law (law@cygnus.com)
2071
2072 * version.c: Bump for snapshot.
2073
b60a8416
R
2074Sat May 2 01:37:29 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
2075
2076 * reload.c (find_reloads): Emit USEs to mark where a pseudo
1e89ac8a 2077 is reloaded with the MEM of its stack slot.
b60a8416
R
2078 * reload1.c (cannot_omit_stores): Delete.
2079 (reload): Don't initialize it.
2080 Don't apply avoid_return_reg logic to USEs.
2081 When done, remove USEs that have a REG_EQUAL note on them.
2082 (emit_reload_insns): Handle case where we have inherited a MEM.
4d3eb414 2083 (choose_reload_regs): Likewise.
b60a8416
R
2084 (delete_output_reload): Don't use cannot_omit_stores.
2085
c1879238
JW
2086Thu Apr 30 18:59:03 1998 Jim Wilson <wilson@cygnus.com>
2087
2088 * Makefile.in (cpp.info, gcc.info): Put -o option before input file.
2089
459b3825
MM
2090Thu Apr 30 16:57:34 1998 Michael Meissner <meissner@cygnus.com>
2091
2092 * haifa-sched.c (print_{exp,value}): Various changes to make the
2093 debug output easier to read. Also, use only one buffer, and make
2094 sure the buffer we are passed in doesn't overflow.
2095 (safe_concat): Concatenate to a buffer without overflow.
2096
3fe4d12a 2097Thu Apr 30 16:57:34 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
459b3825
MM
2098
2099 * haifa-sched.c (alloc_{INSN,EXPR}_LIST): Make static to agree
2100 with the prototype.
b57062ca 2101
93da030f
R
2102Wed Apr 29 21:45:16 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
2103
2104 * sched.c (new_insn_dead_notes): Check if the register was
2105 used in the original instruction.
2106 * haifa-sched.c (new_insn_dead_notes): Likewise.
2107
0c84c618
JW
2108Wed Apr 29 13:46:03 1998 Jim Wilson <wilson@cygnus.com>
2109
2110 * dwarf2out.c (scope_die_for): If could not find proper scope,
2111 check for and handle tagged type with incorrect TYPE_CONTEXT.
2112
bf5f0e90
JC
2113Wed Apr 29 15:34:40 1998 John Carr <jfc@mit.edu>
2114
2115 * calls.c (expand_call): Fix recognition of C++ operator new.
2116
2117 * alias.c (mode_alias_check): Disable type based alias detection.
2118
a0281dae
GK
2119Wed Apr 29 15:06:42 1998 Gavin Koch <gavin@cygnus.com>
2120
2121 * config/mips/elf.h (ASM_OUTPUT_DEF,ASM_WEAKEN_LABEL,
2122 ASM_OUTPUT_WEAK_ALIAS): Define.
2123 * config/mips/elf64.h: Same.
2124 * config/mips/r3900.h (ASM_OUTPUT_DEF,SUPPORTS_WEAK,
2125 ASM_WEAKEN_LABEL): Removed.
2126
55666054
AS
2127Wed Apr 29 10:53:29 1998 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2128
2129 * calls.c (expand_call): Bump the length limit on the specially
2130 recognized function names to 17.
2131
2cea586a
JW
2132Tue Apr 28 17:53:33 1998 Jim Wilson <wilson@cygnus.com>
2133
f60d6248
JW
2134 * ginclude/stddef.h: Add check for _MACHINE_ANSI_H_ for BSD/OS
2135 when undefining macros at the end.
2136
bf931ec8
JW
2137 * expr.c (expand_builtin, case BUILT_IN_MEMSET): Break if either
2138 val or len has TREE_SIDE_EFFECTS set.
2139
2cea586a
JW
2140 * sparc.md (mulsidi3): Call const v8plus and v8plus routines.
2141 (mulsidi3_v8plus, const_mulsidi3_v8plus): Delete asterisk from name.
2142 (smuldi3_highpart): Call const v8plus routine.
2143 (smulsi3_highpart_v8plus): Renamed from smulsidi3_highpart_v8plus.
2144 (const_smulsi3_highpart_v8plus): New pattern.
2145 (smulsi3_highpart_sp32): Renamed from smulsidi3_highpart_sp32.
2146 (umulsidi3): Call const v8plus routine.
2147 (umulsi3_highpart): Handle const before v8plus. Call const v8plus
2148 routine.
2149 (umulsi3_highpart_v8plus): Renamed from umulsidi3_highpart_v8plus.
2150 (umulsi3_highpart_sp32): Renamed from umulsidi3_highpart_sp32.
2151
2b7972b0
MM
2152Tue Apr 28 08:55:26 1998 Michael Meissner <meissner@cygnus.com>
2153
2154 * m32r.c (*_oper{and|ator}): Change enum arguments and return
2155 values to int, so they can be prototyped even in files that don't
2156 include rtl.h.
2157 ({small,large}_insn_p): Ditto.
2158 (m32r_select_cc_mode): Ditto.
2159 (gen_compare): Ditto.
2160 (function_arg_partial_nregs): Ditto.
2161 (m32r_setup_incoming_varargs): Ditto.
2162 (init_reg_tables): Add prototype.
2163 (m32r_frame_info): Add prolog_size field.
2164 (m32r_compute_frame_size): Calculate the size of the prologue.
2165 (m32r_first_insn_address): Return prologue size.
2166 (m32r_output_function_prologue): Calculate frame size before
2167 printing out information. Print out the prologue size.
2168
2169 * m32r.h: Prototype all functions in m32r.c.
2170 (FIRST_INSN_ADDRESS): Declare, returning prologue size.
2171
2172 * m32r.md (bcc functions): Cast enum's to int.
2173
2174 * m32r.c (conditional_move_operand): Silence a debug message.
2175 ({small,long}_insn): New predicates.
b57062ca 2176
2b7972b0
MM
2177 * m32r.h (TARGET_M32R): New macro.
2178 (PREDICATE_CODES): Rearrange somewhat, add small_insn/long_insn.
2179 (HAIFA_P): Define as 1/0 depending on whether the Haifa scheduler
2180 was selected.
2181 (ISSUE_RATE): Define as 2.
2182
2183 * m32r.md (insn_size): New attribute.
2184 ({,rev_}branch_insn): Add .s qualifier to branches believed to be
2185 short.
2186 (m32r): New attribute.
2187
2188 * configure.in (enable_haifa): Switch m32r to Haifa by default.
2189 * configure: Regenerate.
2190
2191 (Changes from Nick Clifton <nickc@cygnus.com>)
2192 * m32r.h (EXTRA_CONSTRAINT): Implement 'S' constraint to perfoirm
2193 the equivalent of a negated 'I' constraint.
2194 (PRESERVE_DEATH_INFO_REGNO_P): Define in order to allow peephole
2195 optimisation to work.
2196
2197 * m32r.md (cmp_ne_small_const_insn): Use 'S' constriant rather
2198 than 'I' since the value is negated.
2199 (peephole): Add peephole optimisation to cope with optimization of
2200 divide and subtracts of the same operands.
2201
2202 * m32r.c zero_and_one, emit_cond_move): Add support for MVFC.
b57062ca 2203 * m32r.h: Ditto.
2b7972b0
MM
2204 * m32r.md: Ditto.
2205
2206 * m32r.h (PREDICATE_CODES): Add declaration of machine specific
2207 predicates.
2208
bd55c374
MH
2209Tue Apr 28 07:25:53 1998 Manfred Hollstein <manfred@s-direktnet.de>
2210
2211 * Makefile.in (libgcc2.ready): Revert last patch (Apr 24).
2212
3a6bd8c0
NC
2213Mon Apr 27 18:39:47 1998 Nick Clifton <nickc@cygnus.com>
2214
2215 * config/arm/thumb.h (GO_IF_LEGITIMATE_ADDRESS): Check against
2216 frame_pointer_rtx not FRAME_POINTER_REGNUM.
2217
0628fde6
JW
2218Mon Apr 27 18:36:28 1998 Jim Wilson <wilson@cygnus.com>
2219
561cf7b1
JW
2220 * reg-stack.c: Revert last patch (Apr 20).
2221 (convert_regs): Set insn to PREV_INSN (next) after do while loop.
2222
1688d6d2
JW
2223 * m68k/lb1sf68.asm (Laddsf$3): Fix typos in mcf5200 exg code.
2224
0628fde6
JW
2225 * loop.c (check_dbra_loop): New locals jump, first_compare, and
2226 compare_and_branch. Call get_condition to set first_compare.
2227 Set compare_and_branch to number of compare/branch instructions.
2228 Replace PREV_INSN (PREV_INSN (loop_end)) with first_compare.
2229 Replace '2' with compare_and_branch.
2230
07623417
AM
2231Mon Apr 27 15:53:30 EDT 1998 Andrew MacLeod <amacleod@cygnus.com>
2232
2233 * cplus-dem.c (demangle_qualified): Replace missing else.
2234
97d6fd65
R
2235Mon Apr 27 20:22:08 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
2236
2237 * sh.c (gen_ashift_hi): Don't make SUBREG of a SUBREG.
2238
3d5a0820
R
2239Mon Apr 27 18:23:51 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
2240
2241 * sh.c (sh_expand_prologue, sh_expand_epilogue):
2242 If TARGET_DOUBLE_ALIGN, preserve 64 bit stack alignment.
2243 * sh.h (STACK_BOUNDARY): Likewise.
2244
ef41dabb
R
2245Mon Apr 27 17:22:48 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
2246
2247 * sh.h (LEGITIMIZE_RELOAD_ADDRESS): Define.
2248
14bf4a33
MM
2249Mon Apr 27 08:55:23 1998 Michael Meissner <meissner@cygnus.com>
2250
22c4957e
MM
2251 * system.h (abort): If abort is not defined, and neither is
2252 USE_SYSTEM_ABORT, redefine abort to call fprintf and exit,
2253 reporting the line and filename of the error.
2254
2255 * .gdbinit: Add breakpoints on exit and fancy_abort.
2256
563c063f
MM
2257 * final.c (split_double): Avoid a compiler warning if
2258 BITS_PER_WORD is less than or equal to HOST_BIT_PER_WIDE_INT.
2259
14bf4a33
MM
2260 * rtl.h (JUMP_{CROSS_JUMP,NOOP_MOVES,AFTER_REGSCAN}): New macros
2261 for calling jump_optimize.
2262
2263 * toplev.c (rest_of_compilation): Call jump_optimize using JUMP_*
2264 macros, rather than 0/1's.
2265
5d02ee66
RH
2266Sun Apr 26 23:19:10 1998 Richard Henderson <rth@cygnus.com>
2267
2268 * alpha.h (CONST_COSTS): Zero is always free.
2269 (RTX_COSTS): Add EV6 costs. Abort if alpha_cpu is unknown.
2270
7bf40741
AS
2271Sun Apr 26 15:38:50 1998 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2272
2273 * cplus-dem.c (gnu_special): Fix off-by-one bug when checking the
2274 length in the name of a virtual table.
2275
556ccd9b
RH
2276Sun Apr 26 01:21:06 1998 Richard Henderson <rth@cygnus.com>
2277
2278 * alpha.c (print_operand): Don't add 'v' suffix for ALPHA_FPTM_N.
2279
1206d294
JL
2280Sat Apr 25 22:11:38 PDT 1998 Jeff Law (law@cygnus.com)
2281
2282 * version.c: Bump for snapshot.
2283
4f242db3
JL
2284Sat Apr 25 17:17:15 1998 Jeffrey A Law (law@cygnus.com)
2285
2286 * fold-const.c (fold_convert): Fix typo.
2287
de12be17
JC
2288Sat Apr 25 17:55:54 1998 John Carr <jfc@mit.edu>
2289
2290 * alias.c (alias_invariant): New variable.
2291 (record_base_value): New argument INVARIANT.
2292 (memrefs_conflict_p): If a register has an entry in the alias_invariant
2293 array, try substituting that value for the register.
2294
2295 * rtl.h: Declare record_base_value.
2296
2297 * loop.c, unroll.c: Update callers of record_base_value.
2298
2299 * alias.c (find_base_value, find_base_term): SIGN_EXTEND and
2300 ZERO_EXTEND do not affect base values.
2301
fe81dd69
JL
2302Fri Apr 24 15:57:02 1998 Jeffrey A Law (law@cygnus.com)
2303
fb2c5c00
JL
2304 * dbxout.c (dbxout_type): Fix typo.
2305 (dbxout_range_type): Another HOST_WIDE_INT_PRINT_DEC fix.
2306
fe81dd69
JL
2307 * configure.in: Use CC_FOR_BUILD, not BUILD_CC.
2308
87d1ea79
JC
2309Fri Apr 24 16:11:47 1998 John Carr <jfc@mit.edu>
2310
2311 * expr.c (expand_builtin, case MEMSET): Set MEM_IN_STRUCT_P
2312 if the argument is the address of a structure or array.
2313
2314 * configure.in: Enable Haifa scheduler by default for SPARC.
2315
e89d3e6f
R
2316Fri Apr 24 20:55:47 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
2317
2318 * cse.c (cse_set_around_loop): Don't do optimization when
2319 new pseudos are created.
2320
442f4018
JL
2321Fri Apr 24 11:00:18 1998 Jeffrey A Law (law@cygnus.com)
2322
2323 * dbxout.c (dbxout_type_fields): Use HOST_WIDE_INT_PRINT_DEC
2324 appropriately.
2325 (dbxout_type_method_1, dbxout_type): Likewise.
2326 (print_int_cst_octal, print_octal, dbxout_symbol): Likewise.
2327 (dbxout_type): Fix check for when to print a type range in
2328 octal vs decimal.
2329
7174c937
R
2330Fri Apr 24 16:45:03 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
2331
2332 * (gen_shl_and, in case 1): Fix comparison with mask.
2333
0b812758
NC
2334Fri Apr 24 06:46:40 1998 Nick Clifton <nickc@cygnus.com>
2335
2336 * config/arm/thumb.h (GO_IF_LEGITIMATE_ADDRESS): Disallow frame
2337 pointer as second register in REG+REG pair.
2338
753a73c8
KG
2339Fri Apr 24 09:22:23 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2340
2341 * c-common.c (check_format_info): Don't check for the 'x' format
2342 character twice, instead check for 'x' and 'X'
2343
4a1991b3
MH
2344Fri Apr 24 08:02:30 1998 Manfred Hollstein <manfred@s-direktnet.de>
2345
2346 * Makefile.in (libgcc2.ready): Add explicit dependancy from
2347 $(STMP_FIXPROTO) to ensure all necessary include files have
2348 been created and to guarantee proper parallel builds.
2349
aec373f1
R
2350Fri Apr 24 04:42:35 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
2351
2352 * sh.c (sh_expand_prologue, in !SH3E code): Don't push an extra
2353 register for stdarg functions.
2354 * sh.h (current_function_varargs): Declare.
2355 (FUNCTION_ARG): Ignore NAMED for stdarg functions.
2356
f5880dbe
JW
23571998-04-23 Jim Wilson <wilson@cygnus.com>
2358
f1f53f0b
JW
2359 * frame.c, libgcc2.c (stdlib.h, unistd.h): Don't include when
2360 inhibit_libc is defined.
2361
f5880dbe
JW
2362 * c-aux-info.c (gen_type): Use DECL_NAME only for TYPE_DECL.
2363
8ade1519
JW
2364Thu Apr 23 19:09:33 1998 Jim Wilson <wilson@cygnus.com>
2365
2366 * profile.c (tablejump_entry_p): New function.
2367 (branch_prob): Add code to recognize MIPS tablejump entry branch.
2368 Use tablejump_entry_p in MIPS and HPPA tablejump checking code.
2369
a2538ff7
NC
2370Thu Apr 23 15:01:13 1998 Nick Clifton <nickc@cygnus.com>
2371
2372 * config/arm/arm.c (find_barrier): Return as soon as a barrier is
2373 found, rather than at end of the loop, after the insn has been
b57062ca 2374 changed.
a2538ff7 2375
d0c42859
R
2376Thu Apr 23 20:21:06 1997 J"orn Rennecke <amylaar@cygnus.co.uk>
2377
2378 * sh.c (gen_ashift_hi): Implement right shifts via gen_ashift.
2379 * sh.md (ashrhi3_k, lshrhi3_k, lshrhi3_m, lshrhi3, lshrhi3+1): Delete.
2380
693e265f
MM
2381Wed Apr 22 17:07:35 1998 Michael Meissner <meissner@cygnus.com>
2382
2383 * loop.c (note_addr_stored): Correct function to take 2 arguments,
2384 instead of 1.
2385
2386 * rtl.def (MATCH_INSN2): Add new matching pattern.
b57062ca 2387 * genrecog.c (add_to_sequence): Support MATCH_INSN2.
693e265f 2388
27eef9ce
JC
2389Wed Apr 22 15:52:22 1998 John Carr <jfc@mit.edu>
2390
2391 * emit-rtl.c (gen_highpart): The high part of a CONST_INT is not zero
2392 if HOST_BITS_PER_WIDE_INT is larger than BITS_PER_WORD.
b57062ca 2393
27eef9ce
JC
2394 * final.c (split_double): Sign extend both halves of a split CONST_INT.
2395
d972dd33
JL
2396Wed Apr 22 10:42:45 1998 Jeffrey A Law (law@cygnus.com)
2397
2398 * mips.c (compute_frame_size): Change only argument to a HOST_WIDE_INT.
2399
5e5199e8
AM
2400Wed Apr 22 10:53:49 EDT 1998 Andrew MacLeod <amacleod@cygnus.com>
2401
2402 * cplus-dem.c (struct work stuff): Add field for B and K mangle codes.
2403 (cplus_demangle_opname): Call mop_up_squangle.
b57062ca 2404 (cplus_demangle): Initialize squangle info, then call
5e5199e8 2405 internal_cplus_demangle. (Most code moved there as well)
b57062ca 2406 (internal_cplus_demangle): New function, performs most of what use
5e5199e8
AM
2407 to be done in cplus_demangle, but is only called with this file.
2408 (squangle_mop_up): New function to clean up B and K code data.
2409 (mop_up): set pointers to NULL after freeing.
b57062ca 2410 (demangle_signature, demangle_template, demangle_class): Add
5e5199e8
AM
2411 switch elements to handle K and B codes.
2412 (demangle_prefix, gnu_special, demangle_qualified): Add
2413 code to handle K and B codes.
2414 (do_type, demangle_fund_type): Handle B and K codes.
2415 (remember_Ktype): New function to store K info.
2416 (register_Btype, remember_Btype): New functions for B codes.
2417 (forget_B_and_K_types): New function to destroy B and K info.
2418
0dacbd0e
JW
24191998-04-21 Jim Wilson <wilson@cygnus.com>
2420
2421 * stmt.c (check_seenlabel): When search for line number note for
2422 warning, handle case where there is no such note.
2423
4ceb7595
JC
2424Tue Apr 21 20:48:37 1998 John Carr <jfc@mit.edu>
2425
2426 * genemit.c (gen_exp): Allow machine description to set mode of
2427 MATCH_OP_DUP.
2428
d09c9385
JC
2429Tue Apr 21 16:36:01 1998 John Carr <jfc@mit.edu>
2430
2431 * alias.c (mode_alias_check): New function.
2432 (true_dependence, anti_dependence, output_dependence): Call
2433 mode_alias_check.
2434
1eeed24e
JL
2435Tue Apr 21 12:05:32 1998 Jeffrey A Law (law@cygnus.com)
2436
d1c17572
JL
2437 * mips.h (STACK_BOUNDARY): Allow specific targets to override.
2438 (MIPS_STACK_ALIGN): Similarly.
2439
a6d7e156
JL
2440 * c-common.c (type_for_mode): Handle TI types.
2441 * c-decl.c (intTI_type_node, unsigned_int_TI_type_node): Define.
2442 (init_decl_processing): Handle TI types.
2443 * c-tree.h (intTI_type_node, unsigned_int_TI_type_node): Declare.
2444
1eeed24e
JL
2445 * mips.c (block_move_loop): Test Pmode == DImode instead of
2446 TARGET_MIPS64.
2447 (expand_block_move, save_restore_insns): Likewise.
2448 (function_prologue, mips_expand_prologue): Likewise.
2449 (mips_expand_epilogue): Likewise.
2450 * mips.h (POINTER_SIZE): Allow specific targets to override.
2451 (Pmode): Allow specific targets to override.
2452 (FUNCTION_PROFILER): Test Pmode == DImode instead of TARGET_MIPS64
2453 (POINTER_BOUNDARY, FUNCTION_MODE): Likewise.
2454 (TRAMPOLINE_TEMPLATE, TRAMPOLINE_SIZE): Likewise.
2455 (TRAMPOLINE_ALIGNMENT, INITIALIZE_TRAMPOLINE): Likewise.
2456 (CASE_VECTOR_MODE, ASM_OUTPUT_ADDR_VEC_ELT): Likewise.
2457 (ASM_OUTPUT_ADDR_DIFF_ELT, SIZE_TYPE, PTRDIFF_TYPE): Likewise.
2458 * mips.md (indirect, tablejump & casesi support): Test for
2459 Pmode == DImode instead of TARGET_MIPS64.
2460 (call patterns): Likewise.
2461
d2f5ef70
KG
2462Tue Apr 21 09:43:55 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2463
2464 * objc/sendmsg.c: Define gen_rtx_MEM() to 1, as is already done
2465 for gen_rtx(MEM, ...).
2466
cb85a2f3
RH
2467Tue Apr 21 02:15:36 1998 Richard Henderson <rth@cygnus.com>
2468
2469 * sparc.h (MACHINE_STATE_SAVE, MACHINE_STATE_RESTORE): Rewrite
2470 to not be so gross, and to properly function with PIC.
2471
bb27e6c9
JW
2472Mon Apr 20 20:44:25 1998 Jim Wilson <wilson@cygnus.com>
2473
99b13ed3
JW
2474 * frame.c (heapsort): Rename to frame_heapsort.
2475
bb27e6c9
JW
2476 * gcc.c (do_spec_1, case '['): Move flag out of loop and initialize it.
2477
a9a05945
DE
2478Mon Apr 20 12:43:09 1998 Doug Evans <devans@canuck.cygnus.com>
2479
2480 * flow.c (sbitmap_vector_alloc): Ensure sbitmaps properly aligned.
2481
dc0f0eb8
JW
2482Mon Apr 20 15:04:14 1998 John Wehle (john@feith.com)
2483
2484 * i386.md (movsf_push, movdf_push, movxf_push): Allow memory
2485 operands during and after reload.
2486
95707627
R
2487Mon Apr 20 22:37:50 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
2488
ba70e85a
JR
2489 * final.c (shorten_branches, init_insn_lengths): Move code
2490 to free label_align, uid_shuid, insn_lengths, insn_addresses
2491 and uid_align from the former function into the latter one;
2492 Add code to clear these variables.
2493 * sh.h (label_align): Remove declaration.
95707627 2494
0cd355fe
MM
2495Mon Apr 20 14:48:29 1998 Michael Meissner <meissner@cygnus.com>
2496
763d7ce8
MM
2497 * gcc.c (lang_specific_driver): Declare prototype properly so
2498 fatal can be passed to it without error.
2499
f55b1ca8
MM
2500 * configure.in (AC_CHECK_FUNCS): Check for strchr and strrchr.
2501 * configure: Regenerate.
2502 * config.in: Add #undef's for strchr and strrchr.
2503
2504 * protoize.c (toplevel): If we have rindex, but not strrchr, map
2505 rindex to strrchr.
2506 (file_could_be_converted): Use strrchr, not rindex since rindex is
2507 not defined on Linux systems when _POSIX_SOURCE is defined.
2508 (file_normally_convertible): Ditto.
2509 (process_aux_info_file): Ditto.
2510 (main): Ditto.
2511
0cd355fe
MM
2512 * rs6000.md (mov{sf,df} define_splits): When splitting a move of
2513 a constant to an integer register, don't split the insns that do
2514 the simple AND and OR operations, rather just split each word, and
2515 let the normal movsi define split handle it further.
2516
a0798779
R
2517Mon Apr 20 18:19:40 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
2518
2519 * sh.c (find_barrier): Fix bug in ADDR_DIFF_VEC handling.
2520 (split_branches): Call init_insn_lengths.
2521
ced8dd8c
MM
2522Mon Apr 20 07:37:49 1998 Michael Meissner <meissner@cygnus.com>
2523
2524 * i386.c: Include expr.h to get the change_address prototype
2525 declared.
b57062ca 2526
f37eb5cb
L
2527Mon Apr 20 01:00:05 1998 H.J. Lu (hjl@gnu.org)
2528
2529 * reg-stack.c (subst_asm_stack_regs): Change to return the last
2530 new insn generated by this function.
2531 (subst_stack_regs): Likewise.
2532 (convert_regs): Record the last newly generated insn and use
2533 it for change_stack () instead of INSN.
2534
49fb8382
MH
2535Sun Apr 19 15:41:24 1998 Manfred Hollstein <manfred@s-direktnet.de>
2536
2537 * fix-header.c (enum special_file): Undefine enumerators if they
2538 are already defined by include files.
2539 * fixproto (rel_source_file in unistd.h stdlib.h): Prefix file protection
2540 macro with '__' to not pollute user namespace.
2541
c6a754f2
RH
2542Sun Apr 19 02:42:06 1998 Richard Henderson <rth@cygnus.com>
2543
2544 * haifa-sched.c (queue_to_ready): Fix typo in prototype.
2545
399cc148
JL
2546Sat Apr 18 23:52:35 PDT 1998 Jeff Law (law@cygnus.com)
2547
2548 * version.c: Bump for snapshot.
2549
84b77fba
JW
2550Sat Apr 18 18:30:22 1998 Jim Wilson <wilson@cygnus.com>
2551
07415a17
JL
2552 * i386.md (fix_truncsfdi2+[123]): Add + to operand 1 constraints.
2553
84b77fba
JW
2554 * i386.h (CPP_CPU_DEFAULT): Renamed to CPP_CPU_DEFAULT_SPEC.
2555 Add missing -Dpentium* options.
2556 (CPP_CPU_SPEC): Delete redundant definition. Include cpp_cpu_default
2557 instead of CPP_CPU_DEFAULT.
2558 (EXTRA_SPECS): Add entry for cpp_cpu_default.
2559
db72d7a1
DE
2560Sat Apr 18 19:06:59 1998 David Edelsohn <edelsohn@mhpcc.edu>
2561
2562 * rs6000.md (floatsidf2_loadaddr): rs6000_fpmem_offset will be
2563 negative in a stackless frame.
2564 * rs6000.c (rs6000_stack_info): Don't include fixed-size link area
2565 in stackless frame size. Support 64-bit stackless frame size.
2566 Combine fpmem offset calculations and don't add total_size to
2567 offset if not pushing a stack frame.
2568
a1ecb5ca
JW
2569Sat Apr 18 15:41:16 1998 Jim Wilson <wilson@cygnus.com>
2570
2571 * regmove.c (fixup_match_1): In three places, in flag_exceptions
2572 check, change p to q.
2573
a2a05b0a
JW
2574Sat Apr 18 15:30:49 1998 Jim Wilson <wilson@cygnus.com>
2575
2576 * gcc.c (lang_specific_driver): Add new parm type to prototype.
2577 (added_libraries): New file scope static variable.
2578 (process_command): Initialize added_libraries. Pass it to
2579 lang_specific_driver.
2580 (main): Use added_libraries in check for no input files.
b57062ca 2581
284d86e9
JC
2582Sat Apr 18 01:23:11 1998 John Carr <jfc@mit.edu>
2583
2584 * sparc.c, sparc.h, sparc.md, sol2.h: Many changes related to V9
2585 code generation. Use 64 bit instructions in 32 bit mode when
2586 possible. Use V9 return instruction. UltraSPARC optimizations.
2587
2588 * sparc.h: Change gen_rtx (CODE to gen_rtx_CODE (.
2589
43be8193
JL
2590Fri Apr 17 22:38:17 1998 Jeffrey A Law (law@cygnus.com)
2591
ea8693a4
JL
2592 * global.c (global_alloc): Don't pass HARD_CONST (0) to find_reg,
2593 just pass zero. That will work regardless of the size of HARD_REG_SET.
2594
43be8193
JL
2595 * libgcc2.c (__floatdisf): Fix a couple typos.
2596
45df6aea
JW
2597Fri Apr 17 17:28:26 1998 Jim Wilson <wilson@cygnus.com>
2598
2599 * Makefile.in (mostlyclean): Delete *.mach and *.bp files.
2600
6cca74ab
GM
2601Fri Apr 17 16:35:35 1998 Greg McGary <gkm@gnu.org>
2602
2603 * emit-rtl.c (gen_highpart): initialize `word' properly for pseudo.
2604
77e6b0eb
JC
2605Fri Apr 17 14:30:37 1998 John Carr <jfc@mit.edu>
2606
2607 * emit-rtl.c (operand_subword_force): If a register can not be
2608 accessed by words, copy it to a pseudo register.
2609
27f4cfdb
JW
2610Fri Apr 17 14:30:37 1998 Jim Wilson <wilson@cygnus.com>
2611
2612 * rs6000/vxppc.h (CPP_SPEC): Add support for mrelocatable*.
2613
f4a73984
MM
2614Fri Apr 17 17:01:25 1998 Michael Meissner <meissner@cygnus.com>
2615
2616 * tree.h (mark_seen_cases): Delete declaration.
2617
00769100
JL
2618Fri Apr 17 13:32:20 1998 Jeffrey A Law (law@cygnus.com)
2619
2620 * stmt.c (mark_seen_cases): Make static and add prototype.
2621
2467749d
KG
2622Fri Apr 17 11:21:43 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2623
2624 * frame.c: Include stdlib.h and unistd.h to possibly get various
2625 function prototypes. The fixproto script guarantees these header
2626 files exist on the target system.
2627 * libgcc2.c: Likewise.
b57062ca 2628
2467749d
KG
2629 * gthr-single.h (__gthread_mutex_lock, __gthread_mutex_trylock,
2630 __gthread_mutex_unlock): Add __attribute__ ((__unused__)) to the
2631 function parameters.
2632 * libgcc2.c (__udiv_w_sdiv): Likewise.
2633
74c5186c
JL
2634Thu Apr 16 22:41:02 1998 Jeffrey A Law (law@cygnus.com)
2635
ac546323
JL
2636 * varasm.c (asm_output_bss): Add prototype.
2637 (asm_output_aligned_bss): Likewise.
2638
2639 * unroll.c (verify_addresses): Add prototype.
2640
2641 * toplev.c: Add many prototypes. Too many to mention here.
2642
2643 * stmt.c (check_seenlabel): Add prototype.
2644
2645 * rtlanal.c (reg_set_p_1): Add prototype.
2646 (reg_set_last_1): Likewise.
2647
2648 * reorg.c (find_dead_or_set_registers): Add prototype.
b57062ca 2649
ac546323
JL
2650 * regmove (try_auto_increment): Add prototype.
2651
2652 * reg-stack.c (pop_stack): Add prototype.
2653
2654 * recog.c (validate_replace_rtx_1): Add prototype.
2655 (find_cosntant_term_loc): Likewise.
2656
a777ae13
JL
2657 * loop.c (regs_patch_p): Add prototype.
2658 (add_label_notes, count_nonfixed_reads): Likewise.
2659 (find_single_use_in_loop): Likewise.
2660 (express_from): Surround prototype with #ifdef.
2661 (giv_sort): Similarly.
2662
2663 * jump.c (mark_modified_reg): Add prototype.
2664
2665 * haifa-sched.c (is_prisky): Add prototype.
2666 (queue_to_ready): Likewise.
2667
2668 * genextract.c (gen_insn): Add prototype.
2669
2670 * genemit.c (max_operand_1): Add prototype.
2671 (max_operand_vec, print_code, gen_exp, gen_insn): Likewise.
2672 (gen_expand, gen_explit, output_add_clobbers): Likewise.
2673 (output_init_mov_optab): Likewise.
2674
2675 * genattrtab.c (attr_hash_add_rtx): Add prototype.
2676 (attr_hash_add_string, write_length_unit_log): Likewise.
2677
2678 * genattr.c (init_range): Add prototype.
2679
2680 * combine.c (sets_function_arg_p): Add prototype.
2681
2682 * expr.c (store_constructor_field): Add prototype.
2683 (get_memory_usage_from_modifier): Likewise
2684
2685 * expmed.c (synth_mult): Add prototype.
2686 (choose_multiplier, invert_mod2n): Likewise.
2687
242c13b0
JL
2688 * except.c (push_eh_entry): Add prototype.
2689 (pop_eh_entry, enqueue_eh_entry, dequeu_eh_entry): Likewise.
2690 (call_get_eh_context, start_dynamic_cleanup): Likewise.
2691 (start_dynamic_handler, can_throw): Likewise.
2692 (output_exception_table_entry, scan_region): Likewise.
2693 (eh_regs, set_insn_eh_region): Likewise.
2694
1ad4f46b
JL
2695 * dwarfout.c (decl_class_context): Add prototype.
2696 (output_inheritance_die, type_ok_for_scope): Likewise.
2697
e822c593
JL
2698 * c-lex.c (skip_white_space_on_line): Add prototype.
2699
70fec650
JL
2700 * alias.c (record_set): Add prototype.
2701 (find_base_term, base_alias_check): Likewise.
b57062ca 2702
1ac4f799
JL
2703 * function.c (assign_outer_stack_local): Make static and add prototype.
2704
a2e68776
JL
2705 * haifa-sched.c (build_control_flow): Accept raw data as inputs
2706 instead of computing it locally. Callers changed.
2707 (find_rgns): Several new arguments. Callers changed.
2708 Generally clean up and comment better. Use dominators to
2709 identify reducible loops. Convert some flag arrays to bitmaps.
2710 Convert most of the code to work on pred/succ lists instead of
2711 an edge table. Add comments for future improvements.
2712 (schedule_insns): Allocate temporary tables for flow data, call
2713 routines to compute flow data and pass it along to children as
2714 arguments.
2715 (debug_control_flow): Delete. Use dump_bb_data instead.
2716
97b1ef1c
JL
2717 * basic-block.h (compute_dominators): Declare.
2718
74c5186c
JL
2719 * flow.c (dump_sbitmap, dump_sbitmap_vector): New debugging
2720 functions.
2721 * basic-block.h: Declare them.
2722
7ce55772
JW
2723Thu Apr 16 13:45:51 1998 Jim Wilson <wilson@cygnus.com>
2724
2725 * reg-stack.c (constrain_asm_operands): Set n_alternatives to zero if
2726 no operands.
2727
e88caebd
APB
2728Wed Apr 15 11:33:09 1998 Alexandre Petit-Bianco <apbianco@sendai.cygnus.com>
2729
2730 * tree.c (build_expr_wfl): Use NULL_TREE if the file name is NULL.
2731 Propagate TREE_SIDE_EFFECTS and TREE_TYPE iff the encapsulated
2732 node is non NULL. Cache last file name and file name identifier node.
2733
a62e870c
MM
27341998-04-15 Mark Mitchell <mmitchell@usa.net>
2735
2736 * c-common.c (declare_hidden_char_array): Use TYPE_DOMAIN to get
2737 the length of an array, not TREE_TYPE.
2738
5e89e58b
JL
2739Wed Apr 15 15:31:34 1998 Jeffrey A Law (law@cygnus.com)
2740
2741 * flow.c (sbitmap_union_of_successors): New function.
2742 * basic-block.h (sbitmap_union_of_successors): Declare it.
2743
df6faf79
JW
2744Wed Apr 15 12:38:03 1998 Jim Wilson <wilson@cygnus.com>
2745
2746 * configure.in (gnu_ld): Rename to gnu_ld_flag before main loop.
2747 Set gnu_ld to gnu_ld_flag inside main loop.
2748 (gas): Likewise.
2749
5c60e5c0
DB
2750Wed Apr 15 14:50:05 1998 Dave Brolley <brolley@cygnus.com>
2751
2752 * toplev.c (compile_file): Call init_parse using new interface.
2753 (init_lex): Remove declaration.
2754
2755 * c-lex.c (init_parse): Now returns char* containing filename.
2756
2872409d
JL
2757Wed Apr 15 12:37:10 1998 Jeffrey A Law (law@cygnus.com)
2758
2759 * pa.h (LEGITIMIZE_RELOAD_ADDRESS): Do nothing if not optimizing.
2760
4db83042
MM
2761Wed Apr 15 12:10:18 1998 Michael Meissner <meissner@cygnus.com>
2762
2763 * Makefile.in (gen{config,flags,codes,emit}): Link in host print-rtl.o.
2764 (gen{extract,peep,opinit,output}): Ditto.
2765
2766 * gen{attr,codes,config,emit,output}.c (insn_attr_name): Provide a
2767 global definition so print-rtl.o can be linked in.
2768 * gen{peep,recog}.c (insn_attr_name): Ditto.
2769
9aeba741
RP
2770Tue Apr 14 07:30:57 1998 K. Richard Pixley <rich@kyoto.noir.com>
2771
2772 * fixincludes: discard empty C++ comments, as found in sys/time.h
2773 on hpux-11.0.
2774
7878eae7
AS
2775Wed Apr 15 10:47:21 1998 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2776
2777 * config/m68k/m68k.md (adddi3, subdi3): Optimize for constant
2778 operand.
2779
fcb7cb6c
JL
2780Wed Apr 15 01:21:21 1998 Jeffrey A Law (law@cygnus.com)
2781
2782 * emit-rtl.c (operand_subword): Rework slightly to avoid
2783 bogus warning from previous change.
2784
47747e53
RH
2785Tue Apr 14 23:39:13 1998 Richard Henderson <rth@cygnus.com>
2786
2787 * alpha.md: Revert Oct 27 change, as it is superceeded by Kenner's
2788 Nov 8 find_replacement change. Move decls of get_unaligned_address
2789 * alpha.h: ... here.
2790
8450a694
JC
2791Tue Apr 14 22:00:39 1998 John Carr <jfc@mit.edu>
2792
7940255d
JC
2793 * function.c (assign_parms): Initialize unsignedp before passing
2794 its pointer to promote_mode.
2795
8450a694
JC
2796 * genattrtab.c (check_attr_test): Handle MATCH_INSN like MATCH_OPERAND.
2797 (write_test_expr): Allow MATCH_INSN.
2798
c70afde1
PE
2799Tue Apr 14 21:57:57 1998 Paul Eggert <eggert@twinsun.com>
2800
2801 * install.texi: Update section on warnings that can be safely ignored.
2802
cf877a42
JW
2803Tue Apr 14 14:55:16 1998 Jim Wilson <wilson@cygnus.com>
2804
2805 * mips.md (reload_outdi): Change the scratch mode from DImode to
2806 TImode. New variable scratch, used instead of operand[2] in template.
2807 Add code for MIPS16 HILO_REGNUM case where output reg is not M16_REG_P.
2808
996d9dac
MM
2809Tue Apr 14 16:19:03 1998 Michael Meissner <meissner@cygnus.com>
2810
2811 * expr.c (MOVE_RATIO): Set to 3 if optimizing for space.
2812
de2d990f
KW
2813Tue Apr 14 11:31:28 1998 Krister Walfridsson <cato@df.lth.se>
2814
2815 * i386/bsd386.h (ASM_OUTPUT_ALIGN): Redefine.
2816
d5daf098
JL
2817Tue Apr 14 09:02:32 1998 Jeffrey A Law (law@cygnus.com)
2818
6862dfac
JL
2819 * svr4.h (ASM_DECLARE_OBJECT_NAME): Use HOST_WIDE_INT_PRINT_DEC.
2820 (ASM_FINISH_DECLARE_OBJECT): Likewise.
2821
b7cb92ad
JL
2822 * Idea and part of the patch from HJ.
2823 * Makefile.in: auto-host.h renamed from auto-config.h. All references
2824 changed.
2825 (distclean): Remove auto-build.h too.
2826 * configure.in: Rename host autoconf generated file to auto-host.h.
2827 If host != build, then run autoconf to generate auto-build.h for
2828 the build machine and include it in build_xm_files.
2829 Check for wait.h and sys/wait.h.
2830
d5daf098
JL
2831 * combine.c (simplify_rtx, case TRUNCATE): Respect value of
2832 TRULY_NOOP_TRUNCATION.
2833
7d02bbef
JM
2834Mon Apr 13 11:31:49 1998 Jason Merrill <jason@yorick.cygnus.com>
2835
2836 * tree.h (BINFO_OFFSET_ZEROP): Use integer_zerop.
2837
4754172c
CM
2838Sun Apr 12 20:55:32 1998 Catherine Moore <clm@cygnus.com>
2839
2840 * invoke.texi (ld options) Include memset requirements
2841 for options -nodstdlib and -nodefaultlibs.
2842
bb72a084
PE
28431998-04-12 Paul Eggert <eggert@twinsun.com>
2844
2845 This change is from an idea suggested by Arthur David Olson.
2846
2847 * c-common.c (decl_attributes, record_function_format,
2848 check_format_info, init_function_format_info):
2849 Add support for strftime format checking.
2850 (enum format_type): New type.
2851 (record_function_format): Now static, and takes value of type
2852 enum format_type instead of int.
2853 (time_char_table): New constant.
2854 (struct function_format_info): format_type member renamed from is_scan.
2855 (check_format_info): Use `warning' rather than sprintf followed by
2856 `warning', to avoid mishandling `%' in warnings.
2857 Change `pedwarn' to `warning', since these warnings do not necessarily
2858 mean the program does not conform to the C Standard, as the code
2859 need not be executed.
2860
2861 * c-tree.h (record_function_format): Remove decl; no longer extern.
2862
2863 * extend.texi: Add documentation for strftime format checking.
2864
1be12a4a
JL
2865Sun Apr 12 20:23:03 1998 Jeffrey A Law (law@cygnus.com)
2866
71922625
JL
2867 * mips/ecoffl.h: Do not include mips.h.
2868 * mips/elf.h: Likewise.
2869
1be12a4a
JL
2870 * configure.in (mips-*-ecoff): Do not mention mips/mips.h in tm_files.
2871 * mips/ecoff.h: Include "mips/mips.h".
2872
9fe69077
JL
2873Sat Apr 11 22:42:54 PDT 1998 Jeff Law (law@cygnus.com)
2874
2875 * version.c: Bump for snapshot.
2876
c6a26dc4
JL
2877Sat Apr 11 01:24:28 1998 Jeffrey A Law (law@cygnus.com)
2878
2879 * cse.c (count_reg_usage): Correctly handle REG_NONNEG notes.
2880 (delete_trivially_dead_insns): Renamed from delete_dead_from_cse.
2881 * toplev.c (rest_of_compilation): Call delete_trivially_dead_insns instead of delete_dead_from_cse. Also call delete_trivially_dead_insns
2882 between loop optimization passes.
2883 * rtl.h: Updated appropriately.
2884
bbb81923
JL
2885Fri Apr 10 22:28:32 1998 Jeffrey A Law (law@cygnus.com)
2886
2887 Reinstall this patch from Jason.
2888 * function.c (push_function_context_to): Don't call init_emit.
2889
29cb1e1f
NC
2890Fri Apr 10 13:40:20 1998 Nick Clifton <nickc@cygnus.com>
2891
2892 * rtl.c (read_skip_spaces): Prevent infinite loops upon
2893 encountering unterminated comments.
2894
3f518020
JL
2895Fri Apr 10 10:43:41 1998 Jeffrey A Law (law@cygnus.com)
2896
2897 * emit-rtl.c (operand_subword): Properly handle CONST_INTs for
2898 64x32 cross builds.
4b104d6e
JL
2899
2900 * configure.in: Handle --with-fast-fixincludes.
2901 (fixincludes): If --with-fast-fixincludes, then use a different
2902 fixincludes program by default.
2903 * Makefile.in (fixinc.sh): New rule.
2904
b76c90cf
L
2905Fri Apr 10 00:36:31 1998 H.J. Lu (hjl@gnu.org)
2906
2907 * i386.md (movqi+1): Handle invalid QI register.
2908 (movsf_push-1): Likewise.
2909
2e076ddf
NC
2910Thu Apr 9 16:53:59 1998 Nick Clifton <nickc@cygnus.com>
2911
2912 * config/m32r/m32r.c: call_address_operand(): Only accept symbolic
2913 addresses.
2914 symbolic_memort_operand(), call32_operand(), int8_operand(),
2915 int16_operand(), uint24_operand(), reg_or_int8_operand(): Removed.
2916 Not used.
2917 uint16_operand(): Made static.
2918
b1d6ccb8
JL
2919Thu Apr 9 01:43:04 1998 Jeffrey A Law (law@cygnus.com)
2920
2921 * calls.c (expand_call): Fix typo.
2922
e56e519d
DB
2923Thu Apr 9 00:18:44 1998 Dave Brolley (brolley@cygnus.com)
2924
2925 * c-lex.c (finput): New global.
2926 (init_parse): Always included. Handle !USE_CPPLIB using
2927 code originally in compile_file.
2928 (finish_parse): Update for CPPLIB.
2929 * toplev.c (init_parse, finish_parse): Declare.
2930 (finput): Delete variable. Now in front-ends.
2931 (compile_file): Remove code which is now handled by init_parse
2932 which is unconditionally called. Similarly for finish_parse.
2933
85d7aed9
GK
2934Wed Apr 8 23:13:50 1998 Gavin Koch <gavin@cygnus.com>
2935
2936 * config/mips/r3900.h (ASM_OUTPUT_DEF,SUPPORTS_WEAK,
2937 ASM_WEAKEN_LABEL): Add.
2938
574badbc
RH
2939Wed Apr 8 18:21:30 1998 Richard Henderson <rth@cygnus.com>
2940
2941 * alpha/crtbegin.asm, alpha/crtend.asm, alpha/t-crtb: New files.
2942 * configure.in (alpha-*-linux*): Use them.
2943
bf1e5319 2944Fri Apr 3 17:02:13 1998 Alexandre Petit-Bianco <apbianco@cygnus.com>
b57062ca 2945
bf1e5319
APB
2946 * tree.def (EXPR_WITH_FILE_LOCATION): New tree node definition.
2947 * tree.h (EXPR_WFL_{NODE,FILENAME,FILENAME_NODE,LINENO,
2948 COLNO,LINECOL,SET_LINECOL,EMIT_LINE_NOTE}): New macros.
2949 (build_expr_wfl): New prototype declaration.
2950 * tree.c (build_expr_wfl): New function, to build
2951 EXPR_WITH_FILE_LOCATION nodes.
2952 (copy_node): Don't zero TREE_CHAIN if copying a
2953 EXPR_WITH_FILE_LOCATION node.
2954 * print-tree.c (print_node): Handle EXPR_WITH_FILE_LOCATION.
2955 * expr.c (expand_expr): Handle EXPR_WITH_FILE_LOCATION.
2956
ee5254ff
JL
2957Wed Apr 8 12:51:19 1998 Jeffrey A Law (law@cygnus.com)
2958
62db76ee
JL
2959 * configure.in (v850): Use t-v850.
2960 (ix86-wrs-vxworks): Recognize 786 just like other x86 configurations.
2961
10a998b0
JL
2962 * protoize.c (creat, read, write): Do not declare.
2963
e105f02c
JL
2964 * jump.c (mark_jump_label): Record REG_LABEL notes for insns which
2965 refer to the CODE_LABEL before a dispatch table.
2966
56b2d7a7
JL
2967 * invoke.texi: Add ARC options.
2968
c74c0cff
JL
2969 * gcc.c (proces_command): Improve error message for -o with
2970 either -c or -S.
2971
2d58da15
JL
2972 * i386/x-cygwin32 (CLIB): Link in advapi32.
2973
40ef2fc5
JL
2974 * alpha.h (ASM_IDENTIFY_GCC): Define to nothing.
2975 (ASM_IDENTIFY_LANGUAGE): Likewise.
2976
df89b5e7
JL
2977 * i386.md (movqi recognizer): Don't perfom byte increment into
2978 a NON_QI_REG_P.
2979
f09ff199
JL
2980 * configure.in (x86-dg-dgux): Run fixinc.dgux.
2981
df89b5e7 2982 * i370.h: Fix typo in GEN_INT changes.
f962b99f 2983
c3709629
JL
2984 * bitmap.c (bitmap_element_allocate): Use "void" for arglist instead
2985 of an empty arglist in prototype.
2986
ee5254ff
JL
2987 * Makefile.in: Remove bytecode crud that crept back in after the
2988 gcc2 merge.
2989
0806342b
BK
29901998-04-08 Brendan Kehoe <brendan@cygnus.com>
2991
2992 * c-lex.h (is_class_name): Fix arg type to be tree, not void.
2993 (make_pointer_declarator, reinit_parse_for_function): Fix typo.
2994
6f734908
RE
2995Wed Apr 8 06:16:45 1998 Richard Earnshaw (rearnsha@arm.com)
2996
2997 * arm.h (LEGITIMIZE_RELOAD_ADDRESS): Define.
2998
56c0e996
BS
2999Wed Apr 8 00:44:18 1998 Bernd Schmidt (crux@pool.informatik.rwth-aachen.de>
3000
3001 * c-lex.c (is_class_name): Delete declaration.
3002 (whitespace_cr): Make static and add prototype.
3003 * c-lex.h (make_pointer_declarator, reinit_parse_for_function,
3004 yylex, get_directive_line): Turn declarations into prototypes.
3005 (position_after_whitespace, check_newline, yyerror,, is_class_name,
3006 forget_protocol_qualifiers, remember_protocol_qualifiers): Add
3007 prototypes.
3008 * genattr.c (extend_range, write_upcase, gen_attr, write_units): Add
3009 prototypes.
3010 * gencodes.c (gen_insn): Add prototype.
3011 * genconfig.c (walk_insn, gen_insn, gen_expand, gen_split,
3012 gen_peephole): Add prototypes.
3013 * genflags.c (num_operands, gen_proto, gen_nonproto, gen_insn): Add
3014 prototypes.
3015 * gengenrtl.c (type_from_format, accessor_from_format, special_rtx,
3016 special_format, find_formats, gendecl, genmacro, gendef, genlegend,
3017 genheader, gencode): Add prototypes.
3018 * genopinit.c (gen_insn): Add prototype.
3019 * genoutput.c (output_prologue, output_epilogue, scan_operands,
3020 process_template, validate_insn_alternatives, gen_insn, gen_peephole,
3021 gen_expand, gen_split, n_occurrences): Add prototypes.
3022 * genpeep.c (gen_peephole): Add prototype.
3023 * loop.c (find_and_verify_loops, mark_loop_jump, prescan_loop,
3024 reg_in_basic_block_p, consec_sets_invariant_p, libcall_other_reg,
3025 labels_in_range_p, count_loop_regs_set, note_addr_stored,
3026 loop_reg_used_before_p, scan_loop, replace_call_address,
3027 skip_consec_insns, libcall_benefit, ignore_some_movables,
3028 force_movables, combine_movables, rtx_equal_for_loop_p, move_movables,
3029 strength_reduce, valid_initial_value_p, find_mem_givs, record_biv,
3030 check_final_value, record_giv, update_giv_derive, basic_induction_var,
3031 simplify_giv_expr, general_induction_var, consec_sets_giv,
3032 check_dbra_loop, express_from, combine_givs_p, combine_givs,
3033 product_cheap_p, maybe_eliminate_biv, maybe_eliminate_biv_1,
3034 last_use_this_basic_block, record_initial, update_reg_last_use,
3035 iteration_info, analyze_loop_iterations, insert_bct,
3036 instrument_loop_bct, indirect_jump_in_function_p): Turn declarations
3037 into prototypes.
3038
cc46ae8e
JL
3039Tue Apr 7 21:48:52 1998 Jeffrey A Law (law@cygnus.com)
3040
3041 * pa.h (LEGITIMIZE_RELOAD_ADDRESS): Define.
3042
e7d075bf
KR
30431998-04-07 Ken Raeburn <raeburn@cygnus.com>
3044
3045 * config/mips/mips.c (siginfo): Deleted.
3046 (override_options): Don't install SIGINFO signal handler.
3047
668d07be
JW
3048Tue Apr 7 11:58:04 1998 Jim Wilson <wilson@cygnus.com>
3049
3050 * loop.c (check_dbra_loop): When normalize comparison_val, add check
3051 to verify it is non-negative.
3052
cd36edbd
RH
3053Tue Apr 7 02:01:47 1998 Richard Henderson <rth@cygnus.com>
3054
3055 * alpha.c (alpha_expand_block_move): Correctly collect block offsets.
3056 (alpha_expand_block_clear): Likewise.
3057
e814ca97
RH
3058Mon Apr 6 23:36:01 1998 Richard Henderson <rth@cygnus.com>
3059
3060 * tree.h (sizetype_tab): Fix previous change for K&R.
3061
f1d9e6d2
JL
3062Mon Apr 6 22:23:29 PDT 1998 Jeff Law (law@cygnus.com)
3063
3064 * version.c: Bump for snapshot.
3065
22ec3928
RE
3066Mon Apr 6 23:16:10 1998 Richard Earnshaw (rearnsha@arm.com)
3067
3068 * configure.in (sparc-*-solaris2*): Add xm-siglist.h to xm_file.
3069 Add USG and POSIX to xm_defines.
3070
10da1131
BM
3071Mon Apr 6 21:49:57 1998 Bob Manson <manson@charmed.cygnus.com>
3072
3073 * gcc.c: Add linker spec.
3074 (link_command_spec): Use %(linker) instead of ld.
3075 (main): If collect2 is requested as the linker, see if it exists;
3076 if not, use ld instead.
3077
3078 * Makefile.in (USE_COLLECT2): It's named collect2 now, not ld.
3079 (ld:) Deleted.
3080 (install-collect2): Install as collect2, not ld.
3081
3082 * configure.in(will_use_collect2): It's named collect2 now.
3083
3084 * collect2: Remove checks to see if we were invoked recursively.
3085 (collect_execute): Use _spawnvp under cygwin32.
3086
a8afd67b
JW
3087Mon Apr 6 17:23:41 1998 Jim Wilson <wilson@cygnus.com>
3088
3089 * haifa-sched.c (build_control_flow): Set unreachable for block whose
3090 only predecessor is itself.
3091
944fc8ab
KG
3092Mon Apr 6 16:08:04 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3093
3094 * c-parse.in: Include system.h, and remove stuff now made redundant.
3095 * cccp.c: Likewise.
3096 * cexp.y: Likewise.
3097 * protoize.c: Likewise. Properly check for cpp stringification.
3098
3099 * Makefile.in (c-parse.o, cccp.o, cexp.o, protoize.o, unprotoize.o):
b57062ca 3100 Depend on system.h.
944fc8ab
KG
3101
3102 * objc/Make-lang.in (objc-parse.o): Likewise.
3103
3286ab57
KG
3104Mon Apr 6 14:59:58 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3105
3106 * gansidecl.h: Check if compiler supports __attribute__. Provide
3107 definitions for ATTRIBUTE_UNUSED and ATTRIBUTE_PRINTF using
3108 __attribute__ when its available. Also provide definitions for
3109 ATTRIBUTE_PRINTF_1, ATTRIBUTE_PRINTF_2 and ATTRIBUTE_PRINTF_3 in
3110 terms of ATTRIBUTE_PRINTF.
b57062ca 3111
3286ab57
KG
3112 * genoutput.c (process_template): Use ATTRIBUTE_UNUSED in place
3113 of __attribute__.
3114
d276f2bb
CM
3115Mon Apr 6 07:17:52 1998 Catherine Moore <clm@cygnus.com>
3116
3117 * combine.c (can_combine_p): Include successor in volatile test.
3118
64ad9df2
R
3119Mon Apr 6 14:16:33 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
3120
3121 * sh.h (CASE_VECTOR_SHORTEN_MODE): Fix logic when to set
3122 offset_unsigned.
3123
dc544d2c
JL
3124Mon Apr 6 02:03:29 1998 Jeffrey A Law (law@cygnus.com)
3125
3126 * objc/objc-act.c (encode_aggregate_within): Avoid GNU extensions
3127 in prototype and definition.
b57062ca 3128
38c413cd
JL
3129Mon Apr 6 00:48:56 PDT 1998 Jeff Law (law@cygnus.com)
3130
3131 * version.c: Bump for snapshot.
3132
59dd0a31
RH
3133Mon Apr 6 00:08:50 1998 Richard Henderson <rth@cygnus.com>
3134
b57062ca 3135 * alpha.c (alpha_expand_block_clear): Add missing offset arg to
59dd0a31
RH
3136 alpha_expand_unaligned_store_words.
3137
f31fce3f
JW
3138Sun Apr 5 21:31:24 1998 John Wehle (john@feith.com)
3139
3140 * i386.md (movsf_push, movsf_mem): Remove.
3141 (movsf_push): Rename from movsf_push_nomove and move in front of
3142 movsf. Use nonmemory_operand predicate and don't bother checking
3143 TARGET_MOVE.
3144 (movsf_push_memory): New pattern.
3145 (movsf): Don't bother checking for push_operand. If TARGET_MOVE and
3146 both operands refer to memory then force operand[1] into a register.
3147 (movsf_normal): Change to unnamed pattern.
3148 Likewise for movdf, movxf, and friends.
3149
27ebc03e
JL
3150Sun Apr 5 18:45:51 PDT 1998 Jeff Law (law@cygnus.com)
3151
3152 * version.c: Bump for snapshot.
3153
6ecd4e53 3154Sun Apr 5 16:31:10 1998 Richard Henderson <rth@cygnus.com>
98bd9f0f 3155
6ecd4e53 3156 * configure.in (alpha-dec-osf*): Match osf1.3 correctly.
98bd9f0f 3157
b57062ca 3158Sun Apr 5 16:53:37 1998 Don Bowman <don@pixsci.com>
ac08ebd0 3159
6ecd4e53 3160 * configure.in (mips-wrs-vxworks): New target.
ac08ebd0 3161
6ecd4e53 3162Sat Apr 4 23:34:32 PST 1998 Jeff Law (law@cygnus.com)
f4a788ac 3163
f3978531
JL
3164 * expmed.c (synth_mult): The value -1, has no zeros, so it can
3165 never have the form ...011.
3166
f4a788ac
JL
3167 * version.c: Bump for snapshot.
3168
5cb6195d
RH
3169Sat Apr 4 20:16:46 1998 Richard Henderson <rth@cygnus.com>
3170
3171 * i386.c (asm_output_function_prefix, load_pic_register):
3172 Use ASM_GENERATE_INTERNAL_LABEL properly.
3173 (output_pic_addr_const): Recognize %X to supress any PIC sym suffix.
3174 (print_operand): Ignore it.
3175 (load_pic_register): Use it for the got load call.
3176 * i386.md (prologue_set_got, prologue_get_pc): Likewise.
3177 (prologue_get_pc_and_set_got): Likewise.
3178 * i386.h: Update print_operand docs.
3179
ce193852
RH
3180Sat Apr 4 19:08:37 1998 Richard Henderson <rth@cygnus.com>
3181
3182 * i386.md (ffssi, ffshi): Rewrite as define_expands.
3183 (ffssi_1, ffshi_1): New (unspec [] 5) support patterns.
3184 * i386.c (notice_update_cc): Recognize unspec 5.
3185
0022a940
DMT
3186Sat Apr 4 18:07:16 1998 David Mosberger-Tang (davidm@mostang.com)
3187
3188 * alpha.h (PRINT_OPERAND_PUNCT_VALID_P): Accept '(' for s/sv/svi.
3189 * alpha.c (print_operand): Handle it.
3190 * alpha.md (fix_truncsfdi2): Use it. Add earlyclobber pattern
3191 for ALPHA_TP_INSN.
3192 (fix_truncdfdi2): Likewise.
3193
896cced4
RH
3194Sat Apr 4 17:42:05 1998 Richard Henderson <rth@cygnus.com>
3195
3196 * tree.h (sizetype_tab[2], sbitsizetype, ubitsizetype): Merge all
3197 of these into a single struct, with additional [us]sizetype entries.
3198 * stor-layout.c (set_sizetype): Initialize [us]sizetype.
3199 * fold-const.c (size_int_wide): Don't rely on sizetype_tab being
3200 an array.
3201
8983c716
RH
3202Sat Apr 4 17:04:41 1998 Richard Henderson <rth@cygnus.com>
3203
3204 * configure.in (alpha-*-linux-*): Undo tm_file changes from gcc2 merge.
3205
4ed43ff8
RH
3206Sat Apr 4 13:50:01 1998 Richard Henderson <rth@cygnus.com>
3207
3208 * haifa-sched.c (split_block_insns): Don't supress insn splitting
3209 on subsequent passes.
3210
3211 * alpha.c (hard_fp_register_operand): New function.
3212 * alpha.h (PREDICATE_CODES): Add it.
3213 * alpha.md (extendsidi2): Kill bogus f<-f cvtql+cvtlq case. Add an
3214 f<-m case and accompanying define_split.
3215 (trapb): Use a unique unspec_volatile number.
3216
8e7bc3cd
RH
3217Sat Apr 4 13:32:08 1998 Richard Henderson <rth@cygnus.com>
3218
3219 * configure.in (alpha-*-linux-gnu*): Undo Feb 3 change brought in
3220 from gcc2 merge.
3221
e5e809f4
JL
3222Sat Apr 4 10:23:41 1998 Jeffrey A Law (law@cygnus.com)
3223
3224 * Check in merge from gcc2. See ChangeLog.11 and ChangeLog.12
3225 for details.
3226
3227 * haifa-sched.c: Mirror recent changes from gcc2.
3228
516c2342
JL
3229Fri Apr 3 00:17:01 1998 Jeffrey A Law (law@cygnus.com)
3230
e9eaed43
JL
3231 * Makefile.in (insn*.o): Depend on system.h.
3232
516c2342
JL
3233 * pa.c (output_global_address): Initialize base.
3234 * pa.h (GO_IF_LEGITIMATE_ADDRESS): Initialize index.
3235
7cc34889
MS
32361998-04-03 Mike Stump <mrs@wrs.com>
3237
3238 * gthr.h: Support systems that don't have weak, but have threads.
3239 * configure.in (*wrs-vxworks*): Use VxWorks threads by default.
3240 * gthr-vxworks.h: New file.
3241 * objc/thr-vxworks.h: Dummy file from thr-single.c for now.
3242
52c18286
JW
3243Thu Apr 2 18:00:52 1998 Jim Wilson <wilson@cygnus.com>
3244
3245 * i386.md (movqi+1): Change alternative 1 from *r/r to *r/*rn.
3246
c1ac292d
VM
32471998-04-02 Vladimir N. Makarov <vmakarov@cygnus.com>
3248
3249 * ginclude/va-i960.h (va_end): Change void * to void.
3250
4cb1caaf
KG
3251Thu Apr 2 13:51:10 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3252
3253 * Makefile.in (choose-temp.o): Depend on system.h.
3254
3255 * choose-temp.c: Include system.h when IN_GCC.
3256
a9a2595b
JR
3257Thu Apr 2 02:37:07 1998 Joern Rennecke (amylaar@cygnus.co.uk)
3258 Richard Henderson <rth@cygnus.com>
3259
3260 * reload.c (find_reloads_address): Try LEGITIMIZE_RELOAD_ADDRESS.
3261 (move_replacements): New function.
3262 * reload.h: Prototype it.
b57062ca 3263
a9a2595b 3264 * alpha.h (LEGITIMIZE_RELOAD_ADDRESS): New definition.
b57062ca 3265
79363e2f
RH
3266Thu Apr 2 01:01:34 1998 Richard Henderson <rth@cygnus.com>
3267
3268 * configure (alpha-*-linuxecoff, alpha-*-linux-gnulibc1):
3269 Run fixincludes.
3270
4901a643
RH
3271 * emit-rtl.c (gen_lowpart_common): Skip count by HARD_REGNO_NREGS.
3272 (gen_highpart): Likewise.
ce4d78eb
RH
3273 * final.c (alter_subreg): Allow the target to hook by-mode subreg
3274 hard register number changes.
b57062ca 3275
715f9c99
JL
3276Wed Apr 1 22:26:22 1998 Jeffrey A Law (law@cygnus.com)
3277
4e86caed
JL
3278 * fold-const.c optimze_bit_field_compare): Initialize rnbitpos,
3279 rnbitsize, rnmode and rinner.
3280 (make_range): Initialize type.
3281 (fold): Initialize arg0, arg1 and varop.
3282
3283 * function.c (instantiate_virtual_regs_1): Initialize offset, regnoi
3284 and regnor.
3285 (expand_function_start): Initialize last_ptr.
3286
3287 * stor-layout.c (layout_record): Initialize desired_align.
3288 (get_best_mode): Initialize unit.
3289
3290 * tree.c (copy_node): Initialize length.
3291
aefdd5ab
JL
3292 * c-lex.c (yylex): Initialize traditional_type, ansi_type and type.
3293
3294 * caller-save.c (insert_save_restore): Initialize pat, code and
3295 numregs.
3296
3297 * emit-rtl.c (push_to_sequence): Initialize top.
3298 (push_topmost_sequence): Likewise.
3299
3300 * genattrtab.c (simplify_by_exploding): Initialize defval.
3301
3302 * profile.c (branch_prob): Initialize dest.
3303
3304 * rtl.h (note_stores): Remove duplicate prototype.
3305 (GEN_INT): Re-instate cast of second arg to HOST_WIDE_INT.
3306
3307 * cplus-dem.c (gnu_special): Don't get confused by .<digits>
3308 strings that are not actually lengths.
3309
729da3f5
JL
3310 * genattrtab.c: Make generated file use system.h, instead of
3311 including stdio.h, etc directly.
3312 * genextract.c, genopinit.c, genoutput.c: Likewise.
3313 * genpeep.c, genrecog.c: Likewise
3314
3315 * genoutput.c (process_template): Mark operands in the generated
3316 function as potentially unused if compiling with GNU CC.
3317
2a8034f8
JL
3318 * i386/freebsd-elf.h (CPP_PREDEFINES): Update from FreeBSD folks.
3319
715f9c99
JL
3320 * pa.md (reload peepholes): Remove unused variable "mode".
3321
75d3a15b
NC
3322Wed Apr 1 17:06:19 1998 Nick Clifton <nickc@cygnus.com>
3323
3324 * config/arm/thumb.h: Add super interworking support.
3325 * config/arm/thumb.c: Add super interworking support.
3326 * config/arm/thumb.md: Add super interworking support.
75d3a15b
NC
3327 * config/arm/lib1funcs.asm: Add interworking support.
3328 * config/arm/lib1thumb.asm: Add super interworking support.
75d3a15b
NC
3329 * config/arm/t-semi: Add interworking support.
3330 * config/arm/t-thumb: Add interworking support.
75d3a15b 3331 * config/arm/README-interworking: New file.
b57062ca 3332
63959c22
JW
3333Wed Apr 1 14:38:10 1998 Jim Wilson <wilson@cygnus.com>
3334
3335 * config/mips/iris6.h (MD_EXEC_PREFIX): Set to /usr/bin/.
3336 (MD_STARTFILE_PREFIX): Unset.
3337
c651e1e0
MM
33381998-04-01 Mark Mitchell <mmitchell@usa.net>
3339
3340 * varasm.c (make_decl_rtl): Update the DECL_ASSEMBLER_NAME for a
3341 entity in a local scope.
3342
3343 * fold-const.c (fold): Call truthvalue_conversion for values which
3344 are folded to boolean type.
3345
3a598fbe
JL
3346Wed Apr 1 06:09:53 1998 Jeffrey A Law (law@cygnus.com)
3347
3348 * 1750a.md, arm.c, clipper.c, clipper.md: Use GEN_INT consistently.
3349 * convex.h, dsp16xx.c, fx80.md, gmicro.c, gmicro.md: Likewise.
3350 * i370.h, i370.md, i860.c, i860.h, i860.md, i960.c: Likewise.
3351 * i960.h, i960.md, m32r.md, m68k.md, m68kv4.h, m88k.c: Likewise.
3352 * m88k.md, ns32k.c, ns32k.md, pdp11.c, pdp11.h, pdp11.md: Likewise.
3353 * pyr.c, pyr.h, pyr.md, romp.c, romp.h, romp.md: Likewise.
3354 * rs6000.md, sparc.c, sparc.h, sparc.md, spur.c, spur.md: Likewise.
3355 * tahoe.md, vax.h, vax.md, we32k.c, we32k.h, we32k.md: Likewise.
3356 * md.texi: Likewise.
3357
b5026c50
MH
3358Wed Apr 1 08:33:44 1998 Manfred Hollstein <manfred@s-direktnet.de>
3359
3360 * fixincludes (limits.h): Fix nested comments in Motorola's
3361 limits.h and sys/limits.h.
3362
c8d86b9a
JW
3363Tue Mar 31 16:57:33 1998 Jim Wilson <wilson@cygnus.com>
3364
1a7cb241
JW
3365 * alpha.c (alpha_expand_unaligned_load): Use tgt instead of addr
3366 as dest of expand_binop call.
3367
221a9f65
JW
3368 * alpha.md (extzv): Correct check for valid operand[2] values.
3369
a7ebd547
JW
3370 * profile.c (branch_prob): Add code to recognize HPPA tablejump entry
3371 branch.
3372
c8d86b9a
JW
3373 * toplev.c (rest_of__compilation): Call init_recog_no_volatile at end.
3374
97be8f06
SC
3375Mon Mar 30 13:11:05 1998 Stan Cox <scox@cygnus.com>
3376
3377 * libgcc2.c: (__main, __do_global_dtors, __do_global_ctors):
3378 For __CYGWIN32__ use the versions in winsup/dcrt0.cc.
b57062ca 3379
97be8f06
SC
3380 * gcc.c, cccp.c, cpplib.c, collect2.c (GET_ENVIRONMENT): Added.
3381 cygwin32 can override this to allow both unix and win32 style PATHs.
3382
3383 * i386/xm-cygwin32.h (GET_ENVIRONMENT): Defined to allow win32
3384 style environment paths.
b57062ca 3385
b04cd507
KG
3386Mon Mar 30 14:43:20 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3387
3388 * Makefile.in (cppalloc.o, cpperror.o, cppexp.o, cpphash.o,
3389 cpplib.o, cppmain.o, fix-header.o, gcov.o, gen-protos.o,
3390 gengenrtl.o, halfpic.o, hash.o, scan-decls.o, scan.o): Depend on
3391 system.h.
b57062ca 3392
b04cd507
KG
3393 * cpphash.c: Include config.h.
3394 * cppalloc.c: Include system.h. Add parameters to various
3395 function prototypes.
3396 * cpperror.c: Likewise.
3397 * cppexp.c: Likewise.
3398 * cpphash.c: Likewise.
3399 * cpplib.c: Likewise.
3400 * cppmain.c: Likewise.
3401 * fix-header.c: Likewise.
3402 * gcov.c: Likewise.
3403 * gen-protos.c: Likewise.
3404 * gengenrtl.c: Likewise.
3405 * halfpic.c: Likewise.
3406 * hash.c: Likewise.
3407 * scan-decls.c: Likewise.
3408 * scan.c: Likewise.
3409
1aa5d112
JW
3410Mon Mar 30 11:06:45 1998 Jim Wilson <wilson@cygnus.com>
3411
3412 * README.gnat: Add lang_print_xnode definition.
3413
e18db50d
AS
3414Mon Mar 30 11:12:24 1998 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3415
3416 * config/m68k/m68k.c (standard_68881_constant_p): Don't use
3417 fmovecr on the 68060.
3418
c0d45032
JL
3419Mon Mar 30 00:21:03 1998 Jeffrey A Law (law@cygnus.com)
3420
3421 * genemit.c (DONE): Rework so that it works in the true arm if
3422 an if-else conditional.
3423 (FAIL): Likewise.
3424
31ed227b
JL
3425Sun Mar 29 12:45:23 1998 Jeffrey A Law (law@cygnus.com)
3426
c3670418
JL
3427 * rs6000.c: Do not include stdioh or ctype.h anymore.
3428
234042f4
JL
3429 * Makefile.in (c-typeck.o): Delete on expr.h, insn-codes.h and
3430 $(RTL_H).
3431 (stor-layout.o): Likewise.
3432 * c-typeck.c: Include rtl.h and expr.h.
3433 * stor-layout.c: Likewise.
3434
72e19470
JL
3435 * cpplib.c (cpp_file_line_for_message): Delete unused parameter.
3436 All callers changed.
3437 (do_sccs): Wrap in an SCCS_DIRECTIVE ifdef.
3438 * fix-header.c (cpp_file_line_for_message): Delete unused paramter.
3439 All callers changed.
3440
40c3a857
JL
3441 * collect2.c (is_in_list): Wrap inside COLLECT_EXPORT_LIST ifdef.
3442
c80150b7
JL
3443 * local-alloc.c (reg_classes_overlap_p): Delete dead function.
3444
31ed227b
JL
3445 * tree.h (lang_print_xnode): Provide prototype.
3446
fe776296
JL
3447Sat Mar 28 23:50:44 PST 1998 Jeff Law (law@cygnus.com)
3448
3449 * version.c: Bump for snapshot.
3450
f1b03ce1
JL
3451Sun Mar 29 00:42:21 1998 Jeffrey A Law (law@cygnus.com)
3452
3ac2735b
JL
3453 * objc/sendmsg.c (__objc_block_forward): Add braces for return
3454 value if INVISIBLE_STRUCT_RETURN.
3455
f2b147f7
JL
3456 * pa.c (arith_double_operand): Fix parens.
3457
c4fa3460
JL
3458 * haifa-sched.c (print_pattern): Correct arg to sprintf.
3459
f1b03ce1
JL
3460 * Makefile.in (libgcc1.null): Make return type for __foo void.
3461
2e61a5a5
JL
3462Sat Mar 28 14:37:20 1998 Jeffrey A Law (law@cygnus.com)
3463
ba0b8436
JL
3464 * pa.h: Add declarations for many functions defined in pa.c.
3465
67ac5957
JL
3466 * genpeep.c (main): Remove unused variable 'i' from the generated
3467 file.
3468
c38d8c5b
JL
3469 * genemit.c (gen_expand): Do not emit "_done" or "_fail" labels.
3470 (gen_split): Likewise.
3471 (main): Rework generated definitions of DONE and FAIL so that they
3472 no longer use gotos. Avoids warnings about unused labels.
3473
d6e6c585
JL
3474 * integrate.c (copy_rtx_and_substitute): Rework to avoid need for
3475 unused "junk" variable.
3476
2e61a5a5
JL
3477 * genattrtab.c (write_complex_function): Add a default case in
3478 generated switch statement to keep -W -Wall quiet.
3479
0b26e56d
NC
3480Sat Mar 28 10:47:21 1998 Nick Clifton <nickc@cygnus.com>
3481
157a620e
NC
3482 * invoke.texi: Document more ARM and Thumb command line options.
3483
0b26e56d
NC
3484 * config/arm/xm-thumb.h: New file.
3485
600a4ce7
CB
3486Sat Mar 28 01:37:33 1998 Craig Burley <burley@gnu.ai.mit.edu>
3487
3488 * stmt.c (expand_expr_stmt): Must generate code for
3489 statements within an expression (gcc's `({ ... )}')
3490 even if -fsyntax-only.
3491
4d1d8045
BS
3492Sat Mar 28 01:06:12 1998 Bernd Schmidt <crux@pool.informatik.rwth-aachen.de>
3493 Jeffrey A Law (law@cygnus.com)
3494
3495 * basic-block.h (basic_block_computed_jump_target): Declare.
3496 * flags.h: (current_function_has_computed_jump): Declare.
3497 * flow.c: (basic_block_computed_jump_target): Define.
3498 (flow_analysis): Allocate it. Set current_function_has_computed_jump
3499 to 0.
3500 (find_basic_blocks): Set current_function_has_computed_jump and
3501 elements of basic_block_computed_jump_target to 1 as appropriate.
3502 * function.c: (current_function_has_computed_jump): Define.
3503 * global.c (global_conflicts): Don't allocate pseudos into stack regs
3504 at the start of a block that is reachable by a computed jump.
3505 * reg-stack.c (stack_reg_life_analysis): If must restart, do so
3506 immediately.
3507 (subst_stack_regs): Undo change from Sep 4 1997.
3508 (uses_reg_or_mem): Now unused, deleted.
3509 * stupid.c (stupid_life_analysis): Compute
3510 current_function_has_computed_jump.
3511 (stupid_find_reg): Don't allocate stack regs if the function has a
3512 computed goto.
3513 * haifa-sched.c (is_cfg_nonregular): Delete code to determine if
3514 the current function has a computed jump. Use the global value
3515 instead.
3516
56f28b73
JL
3517Sat Mar 28 00:21:37 1998 Jeffrey A Law (law@cygnus.com)
3518
3519 * i386/freebsd.h (CPP_PREDEFINES): Remove __386BSD__.
3520 (DWARF2_UNWIND_INFO): Define to zero.
3521
6ed4bb9a
MM
3522Fri Mar 27 16:04:49 1998 Michael Meissner <meissner@cygnus.com>
3523
3524 * gcc.c (set_std_prefix): Add declaration.
3525 (process_command): If GCC_EXEC_PREFIX is set, remove /lib/gcc-lib/
3526 suffix, and update the standard prefix prefix.c uses.
3527
3528 * prefix.c (std_prefix): New global to hold default prefix value.
3529 (get_key_value): Change to use std_prefix instead of PREFIX.
3530 (translate_name): Ditto.
3531 (update_path): Ditto.
3532 (get_key_value): Release allocated scratch storage.
3533 (set_std_prefix): New function to reset the standard prefix.
3534
1f3fa20e
R
3535Fri Mar 27 18:08:21 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
3536
7daa142b 3537 * sh.c (find_barrier): Fix calculations for alignment increase.
1f3fa20e 3538
d8a0154e
MH
3539Fri Mar 27 08:56:52 1998 Manfred Hollstein <manfred@s-direktnet.de>
3540
3541 * Makefile.in (stmp-fixinc): If we're actually fixing include
3542 files, copy gcc's assert.h into the fixed include dir.
3543 * fixincludes (assert.h): Avoid any attempts to fix a probably
3544 broken system specific assert.h file.
3545 * fixproto (stdlib.h): Make sure, it'll contain a definition of
3546 size_t.
3547
64d3b4ca
JL
3548Fri Mar 27 00:49:46 1998 Jeffrey A Law (law@cygnus.com)
3549
3550 * regclass.c (reg_scan_mark_refs): Be more selective about
3551 when we mark a register with REGNO_POINTER_FLAG.
3552
e6e52be0
R
3553Thu Mar 26 23:00:11 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
3554
3555 reload inheritance improvement:
3556 * reload1.c (reg_reloaded_contents, reg_reloaded_insn):
3557 Change meaning: index is now hard reg number.
3558 (reg_reloaded_valid, reg_reloaded_dead): New variables.
3559 (reload_spill_index): Content is now a hard reg number.
3560 (reload_as_needed): Change to fit new variable meaning.
3561 (forget_old_reloads_1, allocate_reload_reg): Likewise.
3562 (choose_reload_regs, emit_reload_insns): Likewise.
3563
812f2051
R
3564Thu Mar 26 18:34:13 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
3565
3566 * regclass.c (record_reg_classes): '?' increases cost by two.
3567
3568 * reload.c (find_reloads): Double previous costs. Output
3569 reloads cost one unit extra.
3570
3571 * reload1.c (eliminate_regs): Delete LOAD_EXTENDED_OP code that
3572 boiled down to && ! 0.
3573
3574 * reload.c (find_equiv_reg): Also consider a goal offset from the
3575 frame pointer to be constant.
3576
04d02ece
R
3577Thu Mar 26 17:34:46 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
3578
3579 * sh.h (OPTIMIZATION_OPTIONS): Define.
3580
6f28d3e9
RH
3581Thu Mar 26 00:19:47 1998 Richard Henderson <rth@cygnus.com>
3582
3583 * combine.c (make_compound_operation): Simplify (subreg (*_extend) 0).
3584
b09fa787
JL
3585Wed Mar 25 23:53:11 1998 Jeffrey A Law (law@cygnus.com)
3586
3587 * pa.c (pa_adjust_cost): Avoid redundant calls to get_attr_type.
3588
a16b4c9c
JW
3589Wed Mar 25 13:40:48 1998 Jim Wilson <wilson@cygnus.com>
3590
3591 * c-common.c (check_format_info): Initialize type, is_type. New local
3592 integral_format. Don't warn for 'L' when pedantic. Do warn for 'L'
3593 when pedantic if used with integral format specifier.
3594
c4d38ccb
MM
3595Wed Mar 25 16:09:01 1998 Michael Meissner <meissner@cygnus.com>
3596
3597 * rs6000.h (FUNCTION_ARG_PADDING): Cast result to be enum
3598 direction.
3599 (function_arg_padding): Declare.
3600
3601 * rs6000.c: Include system.h.
3602 (function_arg_padding): Change return type to int, cast enum's to
3603 int.
3604
3605 (From Kaveh R. Ghazi <ghazi@caip.rutgers.edu>)
3606 * collect2.c (scan_prog_file): Add explicit braces to avoid
3607 ambiguous `else'.
b57062ca 3608
c4d38ccb
MM
3609 * dbxout.c (dbxout_type_fields): Add braces around empty body in
3610 an if-statement.
3611 (dbxout_type): Likewise.
b57062ca 3612
c4d38ccb
MM
3613 * rs6000.c (rs6000_override_options): Change type of `i', `j' and
3614 `ptt_size' from int to size_t.
3615 (rs6000_file_start): Likewise for `i'.
3616 (rs6000_replace_regno): Add default case in enumeration switch.
3617 (output_epilog): Remove unused variable `i'.
3618 (rs6000_longcall_ref): Remove unused variables `len', `p', `reg1'
3619 and `reg2'.
b57062ca 3620
c4d38ccb
MM
3621 * rs6000.h (ADDITIONAL_REGISTER_NAMES): Add missing braces around
3622 initializer.
3623 (get_issue_rate, non_logical_cint_operand): Add prototype.
3624 (rs6000_output_load_toc_table): Ditto.
b57062ca 3625
c4d38ccb
MM
3626 * rs6000.md (udivmodsi4): Add explicit braces to avoid ambiguous
3627 `else'.
b57062ca 3628
e98e406f
NC
3629Wed Mar 25 10:05:19 1998 Nick Clifton <nickc@cygnus.com>
3630
3631 * config/arm/thumb.c: New File. Support for ARM's Thumb
b57062ca 3632 instruction set.
e98e406f
NC
3633 * config/arm/thumb.h: New File. Thumb definitions.
3634 * config/arm/thumb.md: New File. Thumb machine description.
3635 * config/arm/tcoff.h: New File. Thumb COFF support.
3636 * config/arm/t-thumb: New File. Thumb makefile fragment.
3637 * config/arm/lib1thumb.asm: New File. Thumb libgcc support functions.
3638
3639 * configure.in: Add Thumb-coff target.
3640 * configure: Add Thumb-coff target.
3641 * config.sub: Add Thumb-coff target.
3642
8cf619da
JW
3643Wed Mar 25 10:30:32 1998 Jim Wilson <wilson@cygnus.com>
3644
3645 * loop.c (scan_loop): Initialize move_insn_first to zero.
3646
fe0714d3
JS
3647Wed Mar 25 01:06:49 1998 Joel Sherrill (joel@OARcorp.com)
3648
3649 * config/i386/go32-rtems.h: Defined TARGET_MEM_FUNCTIONS.
3650 * config/i386/rtems.h: Likewise.
3651 * config/i960/rtems.h: Likewise.
3652 * config/m68k/rtems.h: Likewise.
3653 * config/mips/rtems64.h: Likewise.
3654 * config/pa/rtems.h: Likewise.
3655 * config/rs6000/rtems.h: Likewise.
3656 * config/sh/rtems.h: Likewise.
3657 * config/sparc/rtems.h: Likewise.
3658
428be702
RK
3659Wed Mar 25 00:57:26 1998 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
3660
3661 * pa.c (emit_move_sequence): If in reload, call find_replacement.
3662
ae8c5963
NC
3663Tue Mar 24 10:44:11 1998 Nick Clifton <nickc@cygnus.com>
3664
2ea9a965
NC
3665 * Makefile.in (gcov$(exeext)): Support .exe extension to gcov.
3666
ae8c5963
NC
3667 * collect2.c (find_a_file): Add debugging.
3668 (find_a_file): Test for win32 style absolute paths if
3669 DIR_SERPARATOR is defined.
3670 (prefix_from_string): Add debugging.
3671 (main): Test for debug command line switch at start of program
b57062ca 3672 execution.
ae8c5963 3673 (main): Use GET_ENVIRONMENT rather than getenv().
72cf6902
NC
3674 (prefix_from_env): Use GET_ENVIRONMENT.
3675
050367a3
MM
36761998-03-24 Mark Mitchell <mmitchell@usa.net>
3677
3678 * cplus-dem.c (optable): Add sizeof.
3679 (demangle_template_value_parm): New function containing code
3680 previously found in demangle_template.
b57062ca 3681 (demangle_integral_value): New function which handles complicated
050367a3
MM
3682 integral expressions.
3683 (demangle_template): Use them.
3684
0b93b64e
KG
3685Tue Mar 24 12:13:18 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3686
3687 * Makefile.in (genconfig.o, genflags.o, gencodes.o, genemit.o,
3688 genopinit.o, genrecog.o, genextract.o, genpeep.o, genattr.o,
3689 genattrtab.o, genoutput.o): Depend on system.h.
b57062ca 3690
0b93b64e
KG
3691 * genattr.c: Include system.h. Add arguments to various function
3692 prototypes. Remove redundant prototype of read_rtx().
3693 * genattrtab.c: Likewise.
3694 * gencodes.c: Likewise.
3695 * genconfig.c: Likewise.
3696 * genemit.c: Likewise.
3697 * genextract.c: Likewise.
3698 * genflags.c: Likewise.
3699 * genopinit.c: Likewise.
3700 * genoutput.c: Likewise.
3701 * genpeep.c: Likewise.
3702 * genrecog.c: Likewise.
3703
bc289659
ML
37041998-03-24 Martin von Loewis <loewis@informatik.hu-berlin.de>
3705
3706 * c-lang.c (lang_print_xnode): New function.
3707 * objc/objc-act.c (lang_print_xnode): Likewise.
3708 * print-tree.c (print_node): Call it
3709
990ac8d7
L
3710Mon Mar 23 23:59:11 1998 H.J. Lu (hjl@gnu.org)
3711
3712 * c-parse.in: Recognize protocol qualifiers in class
3713 definitions for objc.
3714 Include "output.h".
3715 (yyerror): Remove redundant decl.
3716 (yyprint): Fix prototype.
3717
65d98182
JL
3718Mon Mar 23 23:49:47 1998 Jeffrey A Law (law@cygnus.com)
3719
47a0b68f
JL
3720 * cse.c (rtx_cost): Only call CONST_COSTS if it is defined.
3721
65d98182
JL
3722 * stmt.c (unroll_block_trees): Free block_vector if needed.
3723
3cac0a21
PDM
3724Mon Mar 23 23:26:42 1998 Philippe De Muyter <phdm@macqel.be>
3725
4b8bef1d
PDM
3726 * m68k/m68k.md (zero_extendqidi2, zero_extendhidi2): New patterns.
3727 (zero_extendsidi2): Avoid useless copy.
3728 (iordi_zext): New pattern.
3729 (iorsi_zexthi_ashl16): Pattern reworked to avoid "0" constraint for
3730 operand 2.
3731 (iorsi_zext): New name for old unnamed pattern; indentation fixes.
3732
3cac0a21
PDM
3733 * m68k/m68k.md (ashldi_const): Allow shift count in range ]32,63].
3734 (ashldi3): Allow constant shift count in range ]32,63].
3735 (ashrdi_const, ashrid3, lshrdi_const, lshrdi3): Likewise.
3736
4da05956
MM
37371998-03-22 Mark Mitchell <mmitchell@usa.net>
3738
3739 * tree.h (IS_EXPR_CODE_CLASS): New macro.
3740
545f2aab
JL
3741Mon Mar 23 23:18:48 1998 Jeffrey A Law (law@cygnus.com)
3742
3743 * h8300.h (CONST_COSTS): Remove definition.
3744 (DEFAULT_RTX_COSTS): Define.
3745
eef15f9f
JS
3746Mon Mar 23 22:58:22 1998 Joel Sherrill (joel@OARcorp.com)
3747
3748 * config/sh/rtems.h: Switched from ELF to COFF.
3749
4bca6986
R
3750Mon Mar 23 14:14:20 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
3751
3752 * freebsd.h (ASM_OUTPUT_ALIGN): Redefine.
3753
8ca77a11
JL
3754Sat Mar 21 23:52:56 PST 1998 Jeff Law (law@cygnus.com)
3755
3756 * version.c: Bump for snapshot.
3757
e09e14e9
NC
3758Sun Mar 22 00:50:42 1998 Nick Clifton <nickc@cygnus.com>
3759 Geoff Noer <noer@cygnus.com>
3760
3761 * Makefile.in: Various fixes for building cygwin32 native toolchains.
3762
35d541d4
NC
3763 * objc/Makefile.in: Various fixes for building cygwin32 native toolchains.
3764 * objc/Make-lang.in: Likewise.
3765
4a0cf2aa
NC
3766 * config/i386/xm-cygwin32.h (PATH_SEPARATOR): Set to a semi-colon.
3767
535b86ce
G
3768Sun Mar 22 00:21:46 1998 R. Ganesan <rganesan@novell.com>
3769
3770 * configure.in: Handle with-PACKAGE=no correctly
3771
670ee920
KG
3772Fri Mar 20 17:36:23 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3773
3774 * Makefile.in (alias.o, bitmap.o, c-aux-info.o, c-common.o,
3775 c-decl.o, c-iterate.o, c-lang.o, c-lex.o, c-pragma.o, c-typeck.o,
3776 caller-save.o, calls.o, collect2.o, combine.o, cse.o, dbxout.o,
3777 dwarf2out.o, dwarfout.o, emit-rtl.o, except.o, explow.o, expmed.o,
3778 expr.o, final.o, flow.o, function.o, getpwd.o, global.o,
3779 integrate.o, jump.o, local-alloc.o, loop.o, optabs.o, pexecute.o,
3780 prefix.o, print-rtl.o, print-tree.o, profile.o, real.o, recog.o,
3781 reg-stack.o, regclass.o, regmove.o, reload.o, reload1.o, reorg.o,
3782 rtl.o, rtlanal.o, sdbout.o, stmt.o, stor-layout.o, stupid.o,
3783 tlink.o, toplev.o, tree.o, unroll.o, varasm.o, xcoffout.o): Depend
3784 on system.h.
3785
3786 * alias.c, bitmap.c, c-aux-info.c, c-common.c, c-decl.c,
3787 c-iterate.c, c-lang.c, c-lex.c, c-pragma.c, c-typeck.c,
3788 caller-save.c, calls.c, collect2.c, combine.c, cse.c, dbxout.c,
3789 dwarf2out.c, dwarfout.c, emit-rtl.c, except.c, explow.c, expmed.c,
3790 expr.c, final.c, flow.c, function.c, gcc.c, getpwd.c, global.c,
3791 integrate.c, jump.c, local-alloc.c, loop.c, optabs.c, pexecute.c,
3792 prefix.c, print-rtl.c, print-tree.c, profile.c, real.c, recog.c,
3793 reg-stack.c, regclass.c, regmove.c, reload.c, reload1.c, reorg.c,
3794 rtl.c, rtlanal.c, sched.c, sdbout.c, stmt.c, stor-layout.c,
3795 stupid.c, tlink.c, toplev.c, tree.c, unroll.c, varasm.c,
3796 xcoffout.c: Include system.h. Organize include ordering so
3797 that stdarg/varargs comes before other system headers. Remove
3798 spurious casts of functions assured of a prototype in system.h.
3799
7aa74e4c
SC
3800Fri Mar 20 11:19:40 1998 Stan Cox <scox@equinox.cygnus.com>
3801
3802 * reg-stack.c (pop_stack): Define. Pops any register on the
3803 regstack and adjusts regstack.
3804 (compare_for_stack_reg): Use pop_stack.
b57062ca 3805
d005a5a4
JL
3806Thu Mar 19 23:51:01 1998 Jeffrey A Law (law@cygnus.com)
3807
3808 * configure.in (hppa1.0-hp-hpux10): Handle threads for this
3809 config too.
3810
ba3ad5e0
PDM
3811Thu Mar 19 20:30:31 1998 Philippe De Muyter <phdm@macqel.be>
3812
09b4ce12
PDM
3813 * libgcc2.c (exit): Do not call __bb_exit_func if HAVE_ATEXIT.
3814
ba3ad5e0
PDM
3815 * fold-const.c (fold): Replace sign-extension of a zero extended
3816 value by a single zero extension.
3817
6e1f1f93
JM
3818Thu Mar 19 00:58:07 1998 Jason Merrill <jason@yorick.cygnus.com>
3819
3820 * except.c (init_eh): Do nothing.
3821 (save_eh_status): Call init_eh_for_function, not init_eh.
3822 * function.c (push_function_context_to): Don't call init_emit.
3823
838b0e4e
MM
3824Thu Mar 19 13:39:52 1998 Michael Meissner <meissner@cygnus.com>
3825
3826 * rs6000/sysv4.h (RELATIVE_PREFIX_NOT_LINKDIR): Undef for System V
3827 and EABI.
3828
ecb06768
KG
3829Thu Mar 19 10:10:36 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3830
3831 * final.c (shorten_branches): Add parentheses around +/- in
3832 operand of &.
3833
3834 * flow.c (life_analysis): Wrap variable `i' in macro ELIMINABLE_REGS.
3835
dfba7a1b
MH
3836Thu Mar 19 09:15:17 1998 Manfred Hollstein <manfred@s-direktnet.de>
3837
3838 * regclass.c (memory_move_secondary_cost): Wrap uses of
3839 SECONDARY_INPUT_RELOAD_CLASS and SECONDARY_OUTPUT_RELOAD_CLASS
3840 with #ifdef tests.
3841
4faca093
MH
3842Thu Mar 19 09:06:35 1998 Manfred Hollstein <manfred@s-direktnet.de>
3843
3844 * config/m68k/m68k.md (addqi3): Fix typo gen_INT vs. GEN_INT.
3845
3846 * flow.c (life_analysis): #include <sys/types.h> to make sure
3847 size_t is defined.
3848 * cplus-dem.c (demangle_function_name): Likewise.
3849
af7da199
MH
3850Thu Mar 19 09:00:01 1998 Manfred Hollstein <manfred@s-direktnet.de>
3851
3852 * final.c (insn_noperands): Change type to unsigned int.
3853 (final_scan_insn): Likewise for noperands;
3854 properly check operand number boundaries.
3855
10a25232
RH
3856Wed Mar 18 16:20:30 1998 Richard Henderson <rth@cygnus.com>
3857
3858 * alpha.md (extzv): Don't reject register operands. Fix
3859 mode of operand 1.
3860
99d1a24c
RH
3861Wed Mar 18 16:14:23 1998 Richard Henderson <rth@cygnus.com>
3862
3863 * dbxout.c (dbxout_function_end): Fix last change. The correct
3864 predicate is ASM_OUTPUT_SECTION_NAME.
3865
5bac82c5
JW
3866Wed Mar 18 12:43:20 1998 Jim Wilson <wilson@cygnus.com>
3867
3868 * sh.md (ashlsi_c-1): Delete 3rd argument to gen_ashlsi_c.
3869 (ashlsi): Use match_dup 1 instead of match_operand 2.
3870
52de9b6c
RK
3871Wed Mar 18 13:46:07 1998 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
3872
3873 * fold-const.c (operand_equal_for_comparison_p): See if equal
3874 when nop conversions are removed.
3875
7c00d1fe
RK
3876Wed Mar 18 13:42:01 1998 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
3877
3878 * expr.c (expand_expr, case COND_EXPR): If have conditional move,
3879 don't use ORIGINAL_TARGET unless REG.
3880
343665b9
R
3881Wed Mar 18 16:53:19 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
3882
3883 * netbsd.h (ASM_OUTPUT_ALIGN): Redefine.
3884
1a61c29f
JW
3885Wed Mar 18 12:43:20 1998 Jim Wilson <wilson@cygnus.com>
3886
3887 * loop.c (struct movable): New field move_insn_first.
3888 (scan_loop): In consec sets code, set it. Clear it otherwise.
3889 (move_movables): In consec sets code, use it. Copy REG_NOTES from
3890 p to i1 only if i1 does not have REG_NOTES. Delete obsolete ifdefed
3891 out code.
3892
cbe36725
RH
3893Wed Mar 18 09:52:56 1998 Richard Henderson <rth@cygnus.com>
3894
3895 * rtl.c (read_rtx): Fall back on homebrew atoll if HOST_WIDE_INT
3896 is large, and the system doesn't provide atoll or atoq.
b57062ca 3897 (atoll): New.
cbe36725
RH
3898
3899 * alpha/xm-vms.h (HAVE_ATOLL): Define.
3900 Reported by Klaus Kaempf <kkaempf@progis.de>.
b57062ca 3901
081f5e7e
KG
3902Wed Mar 18 09:56:26 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3903
3904 * c-lang.c (finish_file): Wrap variable `void_list_node' with macro
3905 test !ASM_OUTPUT_CONSTRUCTOR || !ASM_OUTPUT_DESTRUCTOR.
3906
3907 * calls.c (emit_call_1): Wrap variable `already_popped' with macro
b57062ca 3908 test !ACCUMULATE_OUTGOING_ARGS.
081f5e7e
KG
3909
3910 * collect2.c (write_c_file_glob): Wrap function definition in
3911 macro test !LD_INIT_SWITCH.
3912
3913 * combine.c (try_combine): Wrap variables `cc_use' and
3914 `compare_mode' in macro test EXTRA_CC_MODES.
3915
3916 * cpplib.c (do_ident): Remove unused variable `len'.
3917 (skip_if_group): Remove unused variables `at_beg_of_line' and
3918 `after_ident'.
3919 (cpp_get_token): Remove unused variable `dummy'.
3920
3921 * dbxout.c (scope_labelno): Move static variable definition inside
3922 the one function scope where it is used.
3923 (dbxout_function_end): Wrap prototype and definition in
3924 macro test !NO_DBX_FUNCTION_END.
3925
3926 * dwarf2out.c (add_subscript_info): Wrap variable `dimension_number'
3927 in macro test !MIPS_DEBUGGING_INFO.
3928
3929 * expr.c (expand_builtin_setjmp): Move declaration of variable `i'
3930 into the scope where it is used. Wrap empty else-statement body
3931 in braces.
3932
3933 * fix-header.c: Fix typo in comment.
3934 (inf_skip_spaces): Cast results of INF_UNGET to (void).
3935 (check_protection, main): Likewise.
3936
3937 * flow.c (find_basic_blocks_1): Remove dangling comment text.
3938
3939 * function.c (contains): Wrap prototype and definition in macro
3940 test HAVE_prologue || HAVE_epilogue.
3941 (fixup_var_refs_1): Remove unused variable `width'.
3942
3943 * gen-protos.c (main): Remove unused variable `optr'.
3944
3945 * haifa-sched.c (debug_control_flow): Remove unused variable `j'.
3946
3947 * libgcc2.c (__udiv_w_sdiv): Provide dummy return value of 0.
3948 (__sjpopnthrow): Remove unused variable `jmpbuf'.
3949 (__throw): Remove unused variable `val'.
3950
3951 * protoize.c: Check for a previously existing definition before
b57062ca 3952 defining *_OK macros.
081f5e7e
KG
3953
3954 * scan-decls.c (scan_decls): Remove unused variable `old_written'.
3955
76ce4776
R
3956Tue Mar 17 00:45:48 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
3957
3958 * vax.h (ADDR_VEC_ALIGN): Define.
3959
e29ef920
MM
3960Mon Mar 16 15:57:17 1998 Michael Meissner <meissner@cygnus.com>
3961
3962 * gcc.c (default_arg): Don't wander off the end of allocated
3963 memory.
3964
dbf55e53
MM
3965 (From Geoffrey Keating <geoffk@ozemail.com.au>)
3966 * rs6000.c (small_data_operand): Ensure that any address
b57062ca 3967 referenced relative to the small data area is inside the SDA.
dbf55e53 3968
883482b2 3969Mon Mar 16 12:55:15 1998 Jim Wilson <wilson@cygnus.com>
b57062ca 3970
883482b2
JW
3971 * config/m68k/netbsd.h (ASM_SPEC): Add %{m68060}.
3972
9ad82ff8 3973Mon Mar 16 15:50:20 EST 1998 Andrew MacLeod <amacleod@cygnus.com>
a0b61d14
AM
3974
3975 * except.h (in_same_eh_region): New prototype.
3976 (free_insn_eh_region, init_insn_eh_region): New prototypes.
3977 * except.c (insn_eh_region, maximum_uid): New static variables.
3978 (set_insn_eh_region): New static function to set region numbers.
3979 (free_insn_eh_region): New function to free EH region table.
3980 (init_insn_eh_region): New function to initialize EH region table.
3981 (in_same_eh_region): New function used to determine if two rtl
3982 instructions are in the same exception region or not.
3983 * final.c (final): Initialize the table indicating which instructions
3984 belong in which exception region.
3985 * genpeep.c (main): Add "except.h" to include file list in generated
b57062ca
UD
3986 file insn-peep.c.
3987 * config/sparc/sparc.md: Add calls to 'in_same_eh_region' in 4
3988 peepholes involving calls and unconditional branches.
a0b61d14 3989
66bd0128
JW
3990Mon Mar 16 11:16:50 1998 Jim Wilson <wilson@cygnus.com>
3991
3992 * README.gnat: New file.
3993
1d8eaa6b
AS
3994Mon Mar 16 11:14:20 1998 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3995
3996 * config/m68k/m68k.c: Include <stdlib.h> for atoi. Include
3997 "recog.h" for offsettable_memref_p.
3998 (legitimize_pic_address): Remove unused variable `offset'.
3999 (notice_update_cc): Change return type to void. Add default label
4000 to switch.
4001 (standard_68881_constant_p): Remove unused variable mode.
4002 (print_operand): Define local variable i only if SUPPORT_SUN_FPA.
4003 (const_int_cost): Explicitly declare as returning int.
4004 (output_dbcc_and_branch): Change return type to void.
4005
4006 * config/m68k/linux.h, config/m68k/m68k.md, config/m68k/m68k.c,
4007 config/m68k/m68k.h: Replace gen_rtx (XXX, ...) with gen_rtx_XXX
4008 (...). Use GEN_INT instead of gen_rtx_CONST_INT.
4009
60ba47b4
JL
4010Sun Mar 15 22:30:44 PST 1998 Jeff Law (law@cygnus.com)
4011
4012 * version.c: Bump for snapshot.
4013
68137318
AS
4014Fri Mar 13 11:30:12 1998 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4015
4016 * config/m68k/m68k.h (CONST_OK_FOR_LETTER_P): Fix logic in range
4017 check for 'M' constraint.
4018
7a50f126
JW
4019Thu Mar 12 14:47:14 1998 Jim Wilson <wilson@cygnus.com>
4020
4021 * cccp.c (create_definition): If pedantic, call pedwarn for macro
4022 varargs feature.
4023
57dbca5e
BS
4024Thu Mar 12 13:43:25 1998 Bernd Schmidt <crux@Pool.Informatik.RWTH-Aachen.DE>
4025
4026 * i386.c (ix86_logical_operator): New function.
4027 (split_di): Ensure that when a MEM is split, the resulting MEMs have
4028 SImode.
4029 * i386.md (anddi3, xordi3, iordi3): New patterns. Add a define_split
4030 to implement them.
4031
8625fab5
KG
4032Thu Mar 12 15:13:16 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4033 Richard Earnshaw <rearnsha@arm.com>
4034 Nick Clifton <nickc@cygnus.com>
b57062ca 4035
8625fab5 4036 * tm.texi (DEFAULT_RTX_COSTS): Document new macro.
b57062ca 4037
8625fab5 4038 * arm.h (DEFAULT_RTX_COSTS): Define instead of RTX_COSTS.
b57062ca 4039
8625fab5
KG
4040 * cse.c (rtx_cost): Provide a default case in an enumeration
4041 switch, and call DEFAULT_RTX_COSTS if it's defined.
b57062ca 4042
6ce22dac
MH
4043Thu Mar 12 10:02:38 1998 Manfred Hollstein <manfred@s-direktnet.de>
4044
4045 * basic-block.h (compute_preds_succs): Change return type in
4046 prototype to void.
4047 * flow.c (compute_preds_succs): Likewise in function definition.
4048
4049 * regmove.c (find_matches): Cast char used as array index to unsigned char
4050 to supress warning.
4051
9c318306
MH
4052Thu Mar 12 09:39:40 1998 Manfred Hollstein <manfred@s-direktnet.de>
4053
4054 * i386.h (RTX_COSTS): Insert braces around nested if.
4055 (ADDITIONAL_REGISTER_NAMES): Insert braces around structured
4056 elements.
4057
4058 * gcc.c (default_compilers): Properly put brackets around array elements in
4059 initializer.
4060
4061 * getopt.c (_getopt_internal): Add explicit braces around nested if;
4062 reformatted.
4063
4064 * reg-stack.c (record_asm_reg_life): Add explicit braces around nested if's.
4065 (record_reg_life_pat): Add explicit parens around && and || in expression.
4066 (stack_reg_life_analysis): Add parens around assignment used as expression.
4067 (convert_regs): Likewise.
4068
56c5d8bf
MH
4069Thu Mar 12 09:25:29 1998 Manfred Hollstein <manfred@s-direktnet.de>
4070
4071 * bitmap.c (bitmap_element_allocate): Remove unused parameter;
4072 change callers accordingly.
4073
4074 * cplus-dem.c (arm_special): Remove unused parameter work in prototype
4075 and definition; change all callers accordingly.
4076
4077 * except.c (init_eh): Avoid assignment of unused return value of
4078 build_pointer_type; cast it to void, instead, and remove unused
4079 variable type.
4080
4081 * gcc.c (lang_specific_driver): Define prototype only #ifdef
4082 LANG_SPECIFIC_DRIVER.
4083 (temp_names): Define only #ifdef MKTEMP_EACH_FILE.
4084
4085 * genoutput.c (output_epilogue): Initialize next_name to 0.
4086
4087 * real.c (efrexp): #if 0 prototype and function definition.
4088 (eremain): Likewise.
4089 (uditoe): Likewise.
4090 (ditoe): Likewise.
4091 (etoudi): Likewise.
4092 (etodi): Likewise.
4093 (esqrt): Likewise.
4094
4095 * reload.c (push_secondary_reload): Define prototype only
4096 #ifdef HAVE_SECONDARY_RELOADS.
4097
4098 * varasm.c (assemble_static_space): Define rounded only
4099 #ifndef ASM_OUTPUT_ALIGNED_LOCAL.
4100
4fce8e83
MH
4101Thu Mar 12 09:11:35 1998 Manfred Hollstein <manfred@s-direktnet.de>
4102
4103 * i386.md (andsi): Add default case in enumeration switch.
4104 (iorsi3): Likewise.
4105 (iorhi3): Likewise.
4106 (xorsi3): Likewise.
4107
85066503
MH
4108Thu Mar 12 08:37:02 1998 Manfred Hollstein <manfred@s-direktnet.de>
4109
4110 * c-decl (finish_struct): Change type of min_align to unsigned.
4111
4112 * cplus-dem.c (demangle_function_name): Change type of variable i to size_t;
4113 remove unused variable len.
4114
4115 * dwarf2out.c (reg_save): Add explicit cast of -1 to unsigned and a
4116 comment indicating this is proper behaviour.
4117 (reg_loc_descriptor): Remove redundant comparison of unsigned variable
4118 reg >= 0.
4119 (based_loc_descr): Likewise.
4120
4121 * enquire.c (bitpattern): Change type of variable i to unsigned.
4122
4123 * final.c (output_asm_insn): Don't cast insn_noperands to unsigned.
4124
4125 * flow.c (life_analysis): Change type of variable i to size_t;
4126 remove unused variable insn.
4127
4128 * gcc.c (translate_options): Change type of variables optlen, arglen and
4129 complen to size_t.
4130 (input_filename_length): Change type to size_t.
4131 (do_spec_1): Change type of variable bufsize to size_t.
4132 (main): Change type of variables i and j to size_t;
4133 remove subblock local definition of variable i.
4134 (lookup_compiler): Change type of second argument to size_t;
4135 change type of variable i to size_t.
4136
4137 * genemit.c (output_init_mov_optab): Change type of variable i to size_t.
b57062ca 4138
85066503
MH
4139 * genopinit.c (get_insn): Change type of variable pindex to size_t.
4140
4141 * genrecog.c (add_to_sequence): Change type of variable i to size_t.
4142
4143 * global.c (global_alloc): Change type of variable i to size_t.
4144
4145 * regclass.c (init_reg_sets): Change type of variables i and j to unsigned.
4146
4147 * stmt.c (expand_end_bindings): Change type of variable i to size_t.
4148 (expand_end_case): Change type of variable count to size_t.
4149
4150 * toplev.c (main): Change type of variable j to size_t.
4151 (set_target_switch): Change type of variable j to size_t.
4152 (print_switch_values): Change type of variable j to size_t;
4153 remove unused variable flags.
4154
4155 * varasm.c (assemble_variable): Change type of variable align to size_t.
4156 (const_hash_rtx): Change type of variable i to size_t.
4157
6d89b990
MM
41581998-03-11 Mark Mitchell <mmitchell@usa.net>
4159
4160 * dbxout.c (dbxout_type_methods): Only treat TYPE_METHODS as a
4161 TREE_VEC if that's what it really is.
4162
01c7f350
MM
4163Wed Mar 11 15:16:01 1998 Michael Meissner <meissner@cygnus.com>
4164
4165 * {haifa-,}sched.c (rank_for_schedule): Only take void * arguments
4166 as per ISO C spec.
4167
754d1a92
TT
4168Wed Mar 11 12:05:20 1998 Teemu Torma <tot@trema.com>
4169
4170 * gthr.h: Changed the comment about return values.
4171 * gthr-solaris.h (__gthread_once): Do not use errno; return the
b57062ca 4172 error number instead of -1.
754d1a92
TT
4173 (__gthread_key_create): Any non-zero return value is an error.
4174 * libgcc2.c (eh_context_initialize): Check for non-zero return
4175 value from __gthread_once.
4176 Check that the value of get_eh_context was really changed.
4177
77008a44
R
4178Wed Mar 11 18:26:25 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
4179
4180 * sh.h (LOOP_ALIGN): Only align when optimizing.
4181 * sh.c (find_barrier): Clear inc for CODE_LABELs.
4182 When not optimizing, calculate alignment for BARRIERs directly.
4183
a8aa4e0b
R
4184Wed Mar 11 15:07:18 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
4185
4186 * final.c (shorten_branches): Remove conditionalizing on
4187 SHORTEN_WITH_ADJUST_INSN_LENGTH
4188 * sh.h, pa.h (SHORTEN_WITH_ADJUST_INSN_LENGTH): Remove.
4189
832544bd
JL
4190Wed Mar 11 02:37:41 1998 Jeffrey A Law (law@cygnus.com)
4191
4192 * flow.c (find_basic_blocks_1): Keep the cfg accurate when removing
4193 an unconditional jump around deleted blocks.
4194
bdd3e6ab
JW
4195Mon Mar 9 12:02:23 1998 Jim Wilson <wilson@cygnus.com>
4196
11a932c0
JW
4197 * profile.c (branch_prob): If see computed goto, call fatal instead of
4198 abort.
4199
eeb54a49 4200 * config/mips/sni-svr4.h (CPP_PREDEFINE): Add -DSNI and -Dsinix.
b57062ca 4201
35011dd5
JW
4202 * configure.in (alpha-dec-osf): Add default case for osf* to switch.
4203 Patch from Bruno Haible.
4204
bdd3e6ab
JW
4205 * function.c (put_reg_into_stack): Copy MEM_IN_STRUCT_P from new.
4206 (assign_parms): Set aggregate if hide_last_arg and last_named.
4207
af035616
R
4208Mon Mar 9 19:57:56 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
4209
4210 * final.c (shorten_branches): Initialize insn_addresses.
4211
97e3c422
R
4212Mon Mar 9 14:10:23 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
4213
4214 * sh.h (MUST_PASS_IN_STACK): Define.
4215
5e75ef4a
JL
4216Sun Mar 8 13:01:56 1998 Jeffrey A Law (law@cygnus.com)
4217
4218 * final.c (shorten_branches): Fix minor logic error in
4219 ADDR_DIFF_VEC shortening support.
4220
99613661
JL
4221Sun Mar 8 02:17:42 PST 1998 Jeff Law (law@cygnus.com)
4222
4223 * version.c: Bump for snapshot.
4224
8ea2b111
JL
4225Sat Mar 7 00:54:15 1998 Jeffrey A Law (law@cygnus.com)
4226
168cbdf9
JL
4227 * haifa-sched.c (is_cfg_nonregular): Change return type to
4228 an int. No longer compute "estimated" number of edges. Use
4229 computed_jump_p instead of duplicating the code. Fixup/add
4230 some comments.
4231 (build_control_flow): Returns a value indicating an irregularity
4232 in the cfg was detected. Count the number of edges in the cfg.
4233 allocate various edge tables.
4234 (find_rgns): No longer look for unreachable blocks.
4235 (schedule_insns): Do not allocate memory for edge tables here.
4236 Free memory for edge tables before returning. Do not perform
4237 cross block scheduling if build_control_flow returns nonzero.
4238 * flow.c (compute_preds_succs): More accurately determine when
4239 a block drops in.
4240
52becdc0
JL
4241 * basic-block.h (free_basic_block_vargs): Provide prototype.
4242
8ea2b111
JL
4243 * cccp.c (main): Fix dumb mistakes in last change.
4244
33f7f353
JR
4245Fri Mar 6 21:28:45 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
4246
4247 * rtl.h (addr_diff_vec_flags): New typedef.
4248 (union rtunion_def): New member rt_addr_diff_vec_flags.
4249 (ADDR_DIFF_VEC_FLAGS): New macro.
4250
4251 * sh.c (output_branch): Fix offset overflow problems.
4252
4253 * final.c (shorten_branches): Implement CASE_VECTOR_SHORTEN_MODE.
4254 (final_scan_insn): New argument BODY for ASM_OUTPUT_ADDR_DIFF_ELT.
4255 * rtl.def (ADDR_DIFF_VEC): Three new fields (min, max and flags).
4256 * stmt.c (expand_end_case): Supply new arguments to
4257 gen_rtx_ADDR_DIFF_VEC.
4258 * 1750a.h (ASM_OUTPUT_ADDR_DIFF_ELT): New argument BODY.
4259 * alpha.h, arc.h, clipper.h, convex.h : Likewise.
4260 * dsp16xx.h, elxsi.h, fx80.h, gmicro.h, h8300.h : Likewise.
4261 * i370.h, i386.h, i860.h, i960.h, m32r.h, m68k.h, m88k.h : Likewise.
4262 * mips.h, mn10200.h, mn10300.h, ns32k.h, pa.h, pyr.h : Likewise.
4263 * rs6000.h, sh.h, sparc.h, spur.h, tahoe.h, v850.h : Likewise.
4264 * vax.h, we32k.h, alpha/vms.h, arm/aof.h, arm/aout.h : Likewise.
4265 * i386/386bsd.h, i386/freebsd-elf.h : Likewise.
4266 * i386/freebsd.h, i386/linux.h : Likewise.
4267 * i386/netbsd.h, i386/osfrose.h, i386/ptx4-i.h, i386/sco5.h : Likewise.
4268 * i386/sysv4.h, m68k/3b1.h, m68k/dpx2.h, m68k/hp320.h : Likewise.
4269 * m68k/mot3300.h, m68k/sgs.h : Likewise.
4270 * m68k/tower-as.h, ns32k/encore.h, sparc/pbd.h : Likewise.
4271 * sh.h (INSN_ALIGN, INSN_LENGTH_ALIGNMENT): Define.
4272 (CASE_VECTOR_SHORTEN_MODE): Define.
4273 (short_cbranch_p, align_length, addr_diff_vec_adjust): Don't declare.
4274 (med_branch_p, braf_branch_p): Don't declare.
4275 (mdep_reorg_phase, barrier_align): Declare.
4276 (ADJUST_INSN_LENGTH): Remove alignment handling.
4277 * sh.c (uid_align, uid_align_max): Deleted.
4278 (max_uid_before_fixup_addr_diff_vecs, branch_offset): Deleted.
4279 (short_cbranch_p, med_branch_p, braf_branch_p, align_length): Deleted.
4280 (cache_align_p, fixup_aligns, addr_diff_vec_adjust): Deleted.
4281 (output_far_jump): Don't use braf_branch_p.
4282 (output_branchy_insn): Don't use branch_offset.
4283 (find_barrier): Remove checks for max_uid_before_fixup_addr_diff_vecs.
4284 Remove paired barrier stuff.
4285 Don't use cache_align_p.
4286 Take alignment insns into account.
4287 (fixup_addr_diff_vecs): Reduce to only fixing up the base label of
4288 the addr_diff_vec.
4289 (barrier_align, branch_dest): New function.
4290 (machine_dependent_reorg, split_branches): Remove infrastructure
4291 for branch shortening that is now provided in the backend.
4292 * sh.md (short_cbranch_p, med_branch_p, med_cbranch_p): New attributes.
4293 (braf_branch_p, braf_cbranch_p): Likewise.
4294 (attribute length): Use new attributes.
4295 (casesi_worker): Get mode and unsignednedd from ADDR_DIFF_VEC.
4296 (addr_diff_vec_adjust): Delete.
4297 (align_2): Now a define_expand.
4298 (align_log): Now length 0.
4299
170a16c7
MM
4300Fri Mar 6 14:41:33 1998 Michael Meissner <meissner@cygnus.com>
4301
4302 * m32r.md (right): Correctly check for length == 2, not 1.
4303
688f0603
KG
4304Fri Mar 6 14:00:04 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4305
4306 * mips/mips.h: Prototype `machine_dependent_reorg'.
4307 (ASM_OUTPUT_ALIGN): Remove unused variable `mask'.
4308
19cbe68d
JR
4309Fri Mar 6 11:43:35 1998 Joern Rennecke (amylaar@cygnus.co.uk)
4310
4311 * final.c (shorten_branches): Restore accidentally removed code.
4312
8add77ce
AS
4313Fri Mar 6 11:00:49 1998 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4314
4315 * configure.in: Remove duplicate uses of AC_PROG_CC and
4316 AC_PROG_MAKE_SET.
4317
fbb5ed67
RH
4318Fri Mar 6 00:59:30 1998 Richard Henderson <rth@cygnus.com>
4319
4320 * configure.in (target_cpu_default2): Correct typo for alphapca56.
4321
5ece9746
JL
4322Thu Mar 5 23:24:50 1998 Jeffrey A Law (law@cygnus.com)
4323 Doug Evans (devans@cygnus.com)
4324
4325 * haifa-sched.c (build_jmp_edges): Delete dead function.
4326 (build_control_flow): Use cfg routines from flow.c
4327 (schedule_insns): Remove debugging code accidentally checked
4328 in earlier today.
4329
4330 * basic-block.h: Add external integer list structures, typdefs,
4331 accessor macros and function declarations. Simlarly for
4332 basic block pred/succ support and simple bitmap stuff.
4333 * flow.c: Add functions for integer list, basic block pred/succ
4334 support and simple bitmap support.
4335 (compute_dominators): New function to compute dominators and
4336 post dominators.
4337 (find_basic_blocks): Split into two functions.
4338 (life_analysis): Likewise.
4339 (flow_analysis): Removed. Now handled by calling find_basic_blocks,
4340 the life_analysis from toplev.c
4341 * toplev.c (rest_of_compilation): Call find_basic_blocks, then
4342 life_analysis instead of flow_analysis.
4343
ac9b3c97
R
4344Thu Mar 5 23:06:26 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
4345
4346 * jump.c (jump_optimize): Call mark_jump_label also for deleted
4347 insns.
4348 (mark_jump_label): Don't increment ref counts for deleted insns.
4349
6e92f4b6
KG
4350Thu Mar 5 09:55:15 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4351
4352 * mips/iris6.h (TARGET_DEFAULT): Parenthesize macro definition.
b57062ca 4353
6e92f4b6
KG
4354 * mips/mips.c: Include stdlib.h and unistd.h.
4355 (mips_asm_file_end): Add braces around empty body in an if-statement.
4356 (function_prologue): Wrap variable `fnname' in
4357 !FUNCTION_NAME_ALREADY_DECLARED. Correct format specifier in fprintf.
4358 (mips_select_rtx_section, mips_select_section): Declare as void.
b57062ca 4359
6e92f4b6
KG
4360 * mips/mips.h: Add prototypes for extern functions in mips.c.
4361 (FUNCTION_ARG_REGNO_P): Add parentheses around && within ||.
4362 (ENCODE_SECTION_INFO): Add braces around empty body in an
4363 if-statement.
b57062ca 4364
6e92f4b6
KG
4365 * mips/mips.md (movdi): Add parentheses around && within ||.
4366 (movsf, movdf): Likewise.
4367 (branch_zero, branch_zero_di): Add default case in
4368 enumeration switch.
b57062ca 4369
6e92f4b6 4370
9ba3994a
RH
4371Thu Mar 5 02:45:48 1998 Richard Henderson <rth@cygnus.com>
4372
4373 * alpha/alpha.h (TARGET_WINDOWS_NT, TARGET_OPEN_VMS): Just make them
4374 real constants, since they can't be changed.
4375 (TARGET_AS_CAN_SUBTRACT_LABELS): New.
4376 * alpha/alpha.md (builtin_setjmp_receiver): Use it.
4377 * alpha/osf.h (TARGET_AS_CAN_SUBTRACT_LABELS): New.
4378 * alpha/osf2or3.h (TARGET_AS_CAN_SUBTRACT_LABELS): New.
4379 * alpha/vms.h (TARGET_OPEN_VMS): New.
4380 * alpha/win-nt.h (TARGET_WINDOWS_NT): New.
4381
5ec105cd
RH
4382Thu Mar 5 02:41:27 1998 Richard Henderson <rth@cygnus.com>
4383
4384 * reload.c (find_reloads): Always force (subreg (mem)) to be
4385 reloaded if WORD_REGISTER_OPERATIONS.
4386
ebb7b10b
RH
4387Thu Mar 5 02:14:44 1998 Richard Henderson <rth@cygnus.com>
4388
4389 * haifa-sched.c (free_list): Rename from free_pnd_lst.
4390 (free_pending_lists): Rename free_pnd_lst uses.
4391 (remove_dependence): Place expunged element on unused_insn_list.
4392 (alloc_INSN_LIST, alloc_EXPR_LIST): New. Change all callers of
4393 gen_rtx_*_LIST and alloc_rtx to use them.
4394 (compute_block_backward_dependences): Free the reg_last_* lists.
4395
cb37ce62
JL
4396Thu Mar 5 00:05:40 1998 Jeffrey A Law (law@cygnus.com)
4397
4398 * cccp.c (main): Avoid undefined behavior when setting pend_includes
4399 and pend_files.
4400
ce514f57
FS
4401Wed Mar 4 21:58:25 1998 Franz Sirl <franz.sirl-kernel@lauterbach.com>
4402
b57062ca 4403 * rs6000/linux.h: don't define DEFAULT_VTABLE_THUNKS to 1 if
ce514f57
FS
4404 USE_GNULIBC_1 is defined
4405 * configure.in: add a new case powerpc-*-linux-gnulibc1 which
4406 includes the t-linux-gnulibc1 fragment
4407
89a5e42b
JW
4408Wed Mar 4 12:11:36 1998 Jim Wilson <wilson@cygnus.com>
4409
4410 * mips.md (movdf_internal1a): Fix misplaced parenthesis in condition.
4411
1dd8faa8
R
4412Wed Mar 4 18:47:48 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
4413
4414 * final.c (final_scan_insn, case CODE_LABEL: Cleanup.
4415
e2faec75
R
4416Wed Mar 4 15:51:19 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
4417
4418 * final.c (shorten_branches): Tag the loop alignment onto the
4419 first label after NOTE_INSN_LOOP_BEG even if there is an
4420 intervening insn.
4421
de7987a6
R
4422Tue Mar 3 21:48:35 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
4423
26024475
R
4424 * final.c (insn_current_reference_address):
4425 Use SEQ instead of BRANCH as argument to align_fuzz, to get a
4426 proper alignment chain.
4427
de7987a6
R
4428 * final.c (max_labelno): New static variable.
4429 (final_scan_insn): Check max_labelno before outputting an
4430 alignment for a label.
de7987a6
R
4431 (shorten_branches): Remove unused variable length_align.
4432
27d8f9ea
KG
4433Tue Mar 3 14:27:23 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4434
4435 * sparc.c (ultrasparc_adjust_cost): Add default case in
4436 enumeration switch.
b57062ca 4437
27d8f9ea
KG
4438 * sparc.h: Add prototypes for extern functions defined in
4439 sparc.c.
4440
bd334356
NC
4441Tue Mar 3 10:00:11 1998 Nick Clifton <nickc@cygnus.com>
4442
4443 * toplev.c: Only generate <name>.dbr file when dumping RTL if
b57062ca 4444 DEALY_SLOTS is defined.
bd334356 4445
1838fe6d
MH
4446Tue Mar 3 07:36:37 1998 Manfred Hollstein <manfred@s-direktnet.de>
4447
4448 * reorg.c (fill_eager_delay_slots): Add new argument delay_list
4449 in call to fill_slots_from_thread.
4450
b0021153
RH
4451Mon Mar 2 13:45:03 1998 Richard Henderson <rth@cygnus.com>
4452
b57062ca 4453 * alpha/linux.h (CPP_PREDEFINES): Correct connecting whitespace
b0021153
RH
4454 to SUB_CPP_PREDEFINES. Reported by asun@saul4.u.washington.edu.
4455
687d0ab6 4456Mon Mar 2 22:59:28 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
fc470718
R
4457
4458 * final.c (insn_last_address, insn_current_align, uid_align):
4459 New variables.
4460 (in_align_chain, align_fuzz, align_shrink_fuzz): New functions.
4461 (insn_current_reference_address): Likewise.
4462 (shorten_branches, final_scan_insn): Implement LABEL_ALIGN,
4463 LABEL_ALIGN_AFTER_BARRIER and LOOP_ALIGN target macros.
4464 (label_to_alignment): New function.
4465 * genattrtab.c (write_test_expr): If one of LABEL_ALIGN,
4466 LABEL_ALIGN_AFTER_BARRIER or LOOP_ALIGN is defined, call
4467 insn_current_reference_address instead of insn_current_address.
4468 (or_attr_value, write_length_unit_log): New functions.
4469 (main): Call write_length_unit_log.
4470 (write_const_num_delay_slots): Output extra '\n'.
4471 * alpha.h (ASM_OUTPUT_LOOP_ALIGN, ASM_OUTPUT_ALIGN_CODE):
4472 replace with:
4473 (LOOP_ALIGN, ALIGN_LABEL_AFTER_BARRIER).
4474 * i386.h, i386/osfrose.h, i386/svr3dbx.h, m68k.h, sparc.h: Likewise.
4475 * arc.h, m32r.h (ASM_OUTPUT_LOOP_ALIGN): replace with:
4476 (LOOP_ALIGN).
4477 * i960.h, m88k.h: (ASM_OUTPUT_ALIGN_CODE): Replace with:
4478 (LABEL_ALIGN_AFTER_BARRIER).
4479 * ns32k/encore.h, ns32k/merlin.h, ns32k.h, ns32k/sequent.h: Likewise.
4480 * ns32k/tek6000.h: Likewise.
4481 * i386/gas.h (ASM_OUTPUT_LOOP_ALIGN, ASM_OUTPUT_ALIGN_CODE): Delete.
4482 * i386.md (casesi+1): Use ASM_OUTPUT_ALIGN instead of
4483 ASM_OUTPUT_ALIGN_CODE.
4484
54f00917
JL
4485Mon Mar 2 01:05:50 PST 1998 Jeff Law (law@cygnus.com)
4486
4487 * version.c: Bump for snapshot.
4488
38630f7e
JL
4489Mon Mar 2 00:52:18 PST 1998 Jeff Law (law@cygnus.com)
4490
4491 * version.c: Bump for snapshot.
4492
ab63953e
JL
4493Sun Mar 1 18:25:49 1998 Michael P. Hayes <michaelh@ongaonga.chch.cri.nz>
4494
4495 * reorg.c (fill_slots_from_thread): Don't steal delay list from target
b57062ca 4496 if condition code of jump conflicts with opposite_needed.
ab63953e
JL
4497
4498 * reorg.c (fill_slots_from_thread): Mark resources referenced in
4499 opposite_needed thread. Return delay_list even when cannot get
4500 any more delay insns from end of subroutine.
4501
4502Sun Mar 1 18:26:21 1998 Ken Rose (rose@acm.org)
4503
4504 * reorg.c (fill_slots_from_thread): New parameter, delay_list.
4505 All callers changed.
4506
4507Sun Mar 1 18:25:37 1998 Bruno Haible <bruno@linuix.mathematik.uni-karlsruhe.de>
72dd050a
BH
4508
4509 * frame.c (start_fde_sort, fde_split, heapsort, fde_merge,
4510 end_fde_sort): New functions for fast sorting of an FDE array.
4511 (fde_insert): Simplified.
4512 (add_fdes): Change argument list.
4513 (frame_init): Use the new functions.
4514
de153e82
JL
4515Sun Mar 1 18:06:21 1998 Jeffrey A Law (law@cygnus.com)
4516
925b1f33
JL
4517 * ginclude/va-ppc.h (va_arg): Fix typo in long long support.
4518
c7271385
JL
4519 * i386.c (reg_mentioned_in_mem): Fix dangling else statement.
4520
de153e82
JL
4521 * fold-const.c (fold_range_test): Always return a value.
4522
81023100
MK
4523Sun Mar 1 17:57:34 1998 Mumit Khan <khan@xraylith.wisc.edu>
4524
4525 * config/i386/winnt.c (i386_pe_unique_section): Put read-only
4526 data in the text section unless READONLY_DATA_SECTION is defined.
4527
818e50a5
JL
4528Sun Mar 1 17:48:46 1998 Jeffrey A Law (law@cygnus.com)
4529
4530 * c-parse.in (undeclared variable error): Tweak error message to
4531 be clearer.
4532
c93dc3ac
JL
4533Sun Mar 1 10:22:36 PST 1998 Jeff Law (law@cygnus.com)
4534
4535 * version.c: Bump for snapshot.
4536
90ca38bb
MM
45371998-02-28 Mark Mitchell <mmitchell@usa.net>
4538
4539 * final.c (final_scan_insn): Undo overzealous removal of `set'.
4540
3d85c12e
KG
4541Sat Feb 28 07:54:03 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4542
5feca984
KG
4543 * pa.h (CONST_COSTS): When checking the CONST_DOUBLE enumerated
4544 case, add parentheses to specify the proper order of precedence in
4545 the if-statement.
b57062ca 4546
5feca984 4547
51723711
KG
4548 * c-aux-info.c: Include string.h/strings.h.
4549
4550 * pa.c: Include stdlib.h.
4551 (pa_combine_instructions): Prototype the function.
4552 (pa_can_combine_p, forward_branch_p, shadd_constant_p): Likewise.
4553 (reloc_needed): Add default case for enumeration switch.
4554 (remove_useless_addtr_insns): Remove unused variable `all'.
4555 (hppa_expand_prologue): Add explicit braces to avoid
4556 ambiguous `else'.
4557 (output_function_epilogue): Remove unused variable `i'.
4558 (output_millicode_call): Remove unused variable `link'.
4559 (shadd_constant_p, forward_branch_p): Make the function static.
4560 (following_call): Explicitly declare to return int.
4561 (pa_reorg): Declare as void.
4562 (pa_combine_instructions): Declare as static void. Add
4563 parentheses around && within ||.
b57062ca 4564
51723711
KG
4565 * pa.h: Add prototypes for pa_reorg, symbolic_operand,
4566 following_call, function_label_operand, lhs_lshift_cint_operand
4567 and zdepi_cint_p.
4568
4569 * pa.md: Add parentheses around && within ||.
4570
4571 * cppalloc.c: Include stdlib.h.
4572
4573 * cpperror.c (cpp_print_containing_files): Remove unused variable
4574 `i'. Fix format specifier in fprintf.
4575
4576 * cse.c (cse_around_loop): Add explicit braces to avoid
4577 ambiguous `else'.
4578 (delete_dead_from_cse): Wrap variable `tem' in macro HAVE_cc0.
4579
4580 * expr.c (expand_expr): Add parentheses around && within ||.
4581
4582 * final.c (app_enable): Replace fprintf with fputs where there are
4583 no format specifiers and no trailing argument after the string.
4584 Eg, when printing ASM_APP_ON/ASM_APP_OFF.
4585 (app_disable): Likewise.
4586 (final_end_function): Likewise.
4587 (final_scan_insn): Likewise. Remove unused variable `set'.
4588 (profile_function): Wrap empty if-statement body in {} brackets.
4589
4590 * function.c: Include stdlib.h.
4591 (pad_below): Wrap prototype and definition in ARGS_GROW_DOWNWARD.
4592 (reposition_prologue_and_epilogue_notes): Add parentheses
4593 around assignment used as truth value.
4594
4595 * integrate.c (expand_inline_function): Wrap variable
4596 `cc0_insn' in macro HAVE_cc0.
4597
4598 * jump.c (jump_optimize): Wrap variable `q' in macro
4599 HAVE_cc0. Remove unused variable `prev1'.
4600
4601 * libgcc2.c (__bb_exit_trace_func): Add parentheses around &&
4602 within ||. Fix format specifier in fprintf.
4603 (__bb_init_prg): Add parentheses around assignment used as
4604 truth value.
4605
4606 * local-alloc.c: Include stdlib.h.
4607 (requires_inout): Add parentheses around assignment used
4608 as truth value.
4609
4610 * loop.c (analyze_loop_iterations): Wrap prototype and definition
4611 in macro HAVE_decrement_and_branch_on_count.
4612 (insert_bct, instrument_loop_bct): Likewise.
4613 (move_movables): Add parentheses around assignment used as
4614 truth value.
4615 (consec_sets_invariant_p): Likewise.
4616 (maybe_eliminate_biv_1): Wrap variable `new' in macro HAVE_cc0.
4617
4618 * objc/objc-act.c: Include stdlib.h.
4619 (lookup_method_in_protocol_list): Wrap empty else-statement body
4620 in braces.
4621 (lookup_protocol_in_reflist): Likewise.
4622 (objc_add_static_instance): Remove unused variables `decl_expr'
4623 and `decl_spec'.
4624 (get_objc_string_decl): Remove unused variable `decl'.
4625 (generate_static_references): Remove unused variables `idecl' and
4626 `instance'.
4627 (check_protocols): Wrap empty else-statement body in braces.
b57062ca 4628
51723711
KG
4629 * protoize.c: Include stdlib.h.
4630 (substr): Add parentheses around assignment used as truth value.
4631 (abspath): Likewise.
4632 (shortpath): Likewise.
4633
4634 * regmove.c (fixup_match_1): Add parentheses around assignment
4635 used as truth value.
4636
4637 * reload.c (push_secondary_reload): Remove unused variable `i'.
4638 (find_reloads): Add parentheses around assignment used as truth
4639 value.
4640
4641 * reload1.c: Include stdlib.h.
4642
4643 * rtl.h: Correct typo in prototype of offsettable_memref_p.
4644
4645 * stmt.c (add_case_node): Add parentheses around assignment used
4646 as truth value.
4647 (case_tree2list): Likewise.
4648
4649 * tree.c (valid_machine_attribute): Wrap variable `decl_attr_list'
4650 in macro VALID_MACHINE_DECL_ATTRIBUTE. Wrap variable
4651 `type_attr_list' in macro VALID_MACHINE_TYPE_ATTRIBUTE.
4652 (merge_attributes): Add explicit braces to avoid ambiguous
4653 `else'.
4654
4655 * unroll.c (copy_loop_body): Wrap variable `cc0_insn' in
4656 macro HAVE_cc0.
b57062ca 4657
51723711 4658 * varasm.c: Include stdlib.h.
b57062ca 4659
51723711 4660
c5801053
KG
4661 * system.h: Remove sys/stat.h.
4662 * gcc.c: Add sys/stat.h.
4663
3d85c12e
KG
4664 * genattr.c: Wrap prototype of `free' in NEED_DECLARATION_FREE.
4665 * genattrtab.c: Likewise.
4666 * genconfig.c: Likewise.
4667 * genemit.c: Likewise.
4668 * genextract.c: Likewise.
4669 * genflags.c: Likewise.
4670 * genopinit.c: Likewise.
4671 * genoutput.c: Likewise.
4672 * genpeep.c: Likewise.
4673 * genrecog.c: Likewise.
4674 * tlink.c: Likewise. Also wrap `getenv' in NEED_DECLARATION_GETENV.
4675
0fd12b04
AS
4676Fri Feb 27 11:02:47 1998 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4677
bd762873
AS
4678 * invoke.texi: Use @itemx for a secondary item in a @table.
4679
0fd12b04
AS
4680 * config/m68k/m68k.md (movsf+1): Optimize moving a CONST_DOUBLE
4681 zero.
4682
c3cf395b
ILT
4683Thu Feb 26 00:13:21 1998 Ian Lance Taylor <ian@cygnus.com>
4684
4685 * choose-temp.c: Fix handling of sys/file.h to work in libiberty.
4686
b94b5c16
JL
4687Wed Feb 25 23:40:54 1998 Jeffrey A Law (law@cygnus.com)
4688
4689 * i386.c (struct machine_function): Add new fields for PIC stuff.
4690 (save_386_machine_status): Fix argument to xmalloc. Save pic_label_rtx
4691 and pic_label_name.
4692 (restore_386_machine_status): Corresponding changes.
4693 (clear_386_stack_locals): Also clear pic_label_rtx and pic_label_name.
4694
8dfafd99
JL
4695Wed Feb 25 01:31:40 1998 Jeffrey A Law (law@cygnus.com)
4696
4697 * c-parse.y (undeclared variable error): Tweak error message
4698 to be clearer.
4699
bb8ebb7f
RH
4700Tue Feb 24 23:54:07 1998 Richard Henderson <rth@cygnus.com>
4701
4702 * flags.h (g_switch_value, g_switch_set): Declare.
4703 * alpha.c (override_options): Set g_switch_value=8 if not set.
4704 * alpha/elf.h (CC1_SPEC): New.
4705 (ASM_SPEC): New.
4706 (LINK_SPEC): Pass along the -G value we were given.
4707 (LOCAL_ASM_OP): Remove.
4708 (ASM_OUTPUT_ALIGNED_LOCAL): Output to .bss or .sbss by size.
4709 (MAX_OFILE_ALIGNMENT): New.
4710 (BSS_SECTION_ASM_OP, SBSS_SECTION_ASM_OP, SDATA_SECTION_ASM_OP): New.
4711 (EXTRA_SECTIONS): Add sbss and sdata.
4712 (SECTION_FUNCTION_TEMPLATE): New.
4713 (EXTRA_SECTION_FUNCTIONS): Use it.
4714 (CTORS_SECTION_FUNCTION, DTORS_SECTION_FUNCTION): Remove.
4715 (SELECT_SECTION): Use sdata when small enough.
4716 * alpha/linux.h (ASM_SPEC): Remove.
b57062ca 4717
bb8ebb7f 4718
3e07bdbd
BH
4719Mon Feb 23 15:09:18 1998 Bruno Haible <bruno@linuix.mathematik.uni-karlsruhe.de>
4720 * config.sub (sco5): Fix typo.
4721
9d1ebd25
MH
4722Mon Feb 23 18:19:31 1998 Manfred Hollstein <manfred@s-direktnet.de>
4723
4724 * config/t-linux (LIBGCC1, CROSS_LIBGCC1, LIBGCC1_TEST): Add macros and
4725 set to empty.
4726 * config/t-linux-aout (LIBGCC1, CROSS_LIBGCC1, LIBGCC1_TEST): Likewise.
4727 * config/alpha/t-linux: Remove file.
4728 * config/sparc/t-linux: Remove file.
4729 * config/m68k/t-linux (LIBGCC1, CROSS_LIBGCC1): Remove.
4730 * config/m68k/t-linux-aout (LIBGCC1, CROSS_LIBGCC1): Likewise.
4731 * configure.in (alpha*-*-linux-gnulibc1*): Use t-linux instead of alpha/t-linux
4732 for tmake_file.
4733 (alpha*-*-linux-gnu*): Likewise.
4734 (sparc-*-linux-gnulibc1*): Use t-linux instead of sparc/t-linux for tmake_file.
4735 (sparc-*-linux-gnu*): Likewise.
84bc3b4f
RL
4736
4737Mon Feb 23 10:47:39 1998 Robert Lipe <robertl@dgii.com>
4738 * collect2.c (ldd_file_name): Bracket declaration with same
4739 manifests as use.
4740 (full_real_ld_suffix): Deleted. Variable was calloced and
4741 written into, but never read.
4742
9e89df50
MS
47431998-02-23 Mike Stump <mrs@wrs.com>
4744
4745 * configure.in: Add support for i386-wrs-vxworks configuration.
4746 * i386/vxi386.h: New file.
4747
1160f9ec
BH
4748Sun Feb 22 21:16:51 1998 Bruno Haible <bruno@linuix.mathematik.uni-karlsruhe.de>
4749
4750 * tree.c (contains_placeholder_p): Ensure function always returns
4751 a value.
4752 * sparc.md (movdi_sp64_insn): Add default case in enumeration switch.
4753 (movsf_const_insn, movdf_const_insn, movtf_const_insn): Likewise.
4754
328da75c
JL
4755Sun Feb 22 20:58:19 1998 Jeffrey A Law (law@cygnus.com)
4756
4757 * vms.h (SELECT_SECTION): Use TREE_CODE_CLASS correctly.
4758
deabc777
PE
47591998-02-22 Paul Eggert <eggert@twinsun.com>
4760
4761 * config/sparc/sol2-sld.h (LINKER_DOES_NOT_WORK_WITH_DWARF2):
4762 Define this new symbol.
4763 (DWARF2_DEBUGGING_INFO, DWARF_DEBUGGING_INFO): Do not #undef.
4764 * toplev.c (main): Do not default to DWARF2_DEBUG with -ggdb if
4765 LINKER_DOES_NOT_WORK_WITH_DWARF2 is defined.
4766
0e84e8fb
JW
4767Sun Feb 22 20:07:32 1998 Jim Wilson <wilson@cygnus.com>
4768
4769 * iris5.h (DWARF2_UNWIND_INFO): Define to 0.
4770 * iris5gas.h (DWARF2_UNWIND_INFO): Define to 1.
4771
9c37957a
RH
4772Sun Feb 22 15:29:48 1998 Richard Henderson <rth@cygnus.com>
4773
4774 * objc/Object.m (-error): Call objc_verror with our va_list.
4775
e3c49f52
DE
4776Sun Feb 22 09:45:39 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4777
4778 * collect2.c (scan_prog_file): Completely cover uses of variable
4779 `exports' with macro COLLECT_EXPORT_LIST.
4780
4781Sat Feb 21 20:36:23 1998 Jeff Law (law@cygnus.com)
d935d60e
JL
4782
4783 * version.c: Bump for snapshot.
4784
3c674857
MM
4785Fri Feb 20 16:22:13 1998 Michael Meissner <meissner@cygnus.com>
4786
4787 * sched.c (schedule_block): Remove code to get arguments from hard
4788 regs into pseudos early. Same as Aug 25, 1997 change to
4789 haifa-sched.c.
4790
c2d731c4
JM
47911998-02-20 Jason Merrill <jason@yorick.cygnus.com>
4792
4793 * collect2.c (main): Still handle !do_collecting for non-AIX targets.
4794
7d02bbef
JM
47951998-02-16 Mark Mitchell <mmitchell@usa.net>
4796
4797 * toplev.c (rest_of_compilation): Do not defer the output of a
4798 nested function.
4799
9766dbcf
MT
4800Fri Feb 20 10:39:47 1998 Michael Tiemann <michael@impact.tiemann.org>
4801
4802 * ginclude/va-mips.h (va_arg): Remove trailing space after '\'
4803 continuation character (line 243).
4804
01a7aaea
AS
4805Fri Feb 20 12:10:26 1998 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4806
4807 * genrecog.c (main): Remove duplicated sentence in emitted comment.
4808
db126753
DE
4809Thu Feb 19 22:36:53 1998 Andrey Slepuhin <pooh@msu.net>
4810 David Edelsohn <edelsohn@mhpcc.edu>
4811
4812 * collect2.c (XCOFF_SCAN_LIBS): Remove.
4813 (export_flag): New variable.
4814 (export_file): #ifdef COLLECT_EXPORT_LIST.
4815 (import_file, exports, imports, undefined): New variables.
4816 (libs, cmdline_lib_dirs, libpath_lib_dirs, libpath, libexts): Same.
4817 (dump_list, dump_prefix_list, is_in_list): New functions.
4818 (write_export_file): $ifdef COLLECT_EXPORT_LIST.
4819 (write_import_file, resolve_lib_name): New functions.
4820 (use_import_list, ignore_library): Same.
4821 (collect_exit): maybe_unlink import_file and #ifdef.
4822 (handler): Same.
4823 (main): New variable importf, #ifdef exportf. Move parsing of
4824 -shared before general argument parsing. Resolve AIX library
4825 paths and import libgcc.a symbols. Treat .so shared libraries the
4826 same as objects and .a libraries. Create alias for object_lst and
4827 increment it instead of original pointer. Scan AIX libraries as
4828 objects earlier instead of using scan_libraries. Perform AIX
4829 tlink later to resolve templates instead of forking ld.
4830 (GCC_OK_SYMBOL): Ensure symbol not in undef section.
4831 (GCC_UNDEF_SYMBOL): New macro.
4832 (scan_prog_file): Loop for members of AIX libraries. Handle
4833 export/import of ctors/dtors.
4834 (aix_std_libs): New variable.
4835 (scan_libraries, XCOFF): Delete.
4836
4837Thu Feb 19 22:36:52 1998 Robert Lipe <robertl@dgii.com>
4838
4839 * collect2.c (full_real_ld_suffix): #ifdef CROSS_COMPILE.
4840
e642002f
MS
48411998-02-19 Mike Stump <mrs@wrs.com>
4842
4843 * Makefile.in: Use $tooldir for sys-include to match toplevel
4844 configure.
4845
aff48bca
JL
4846Thu Feb 19 01:32:37 1998 Jeffrey A Law (law@cygnus.com)
4847 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
4848
4849 * emit-rtl.c (gen_lowpart_common): Suppress last change if __complex__.
4850
4851 * emit-rtl.c (hard-reg-set.h): Include.
b57062ca 4852 (get_lowpart_common): Don't make new REG for hard reg in a
aff48bca
JL
4853 class that cannot change size.
4854 * Makefile.in (emit-rtl.o): Depend on hard-reg-set.h.
4855
4856 * combine.c: Revert previous patch.
4857
0a9bdce3
PE
48581998-02-19 Paul Eggert <eggert@twinsun.com>
4859
4860 * config/sparc/sol2-sld.h: New file.
4861 * configure.in (sparc-*-solaris2*): Use it when using the
4862 system linker.
4863
3875b31d
JL
4864Thu Feb 19 00:46:59 1998 Jeffrey A Law (law@cygnus.com)
4865
4866 * loop.c (force_movables): Fix typo.
4867
bb5fa67f
MH
4868Thu Feb 19 08:26:30 1998 Manfred Hollstein <manfred@s-direktnet.de>
4869
4870 * m88k.h: Change file pattern to match reality.
4871
7f83c0e7
JL
4872Wed Feb 18 23:19:52 1998 Jeffrey A Law (law@cygnus.com)
4873
4874 * varasm.c (output_constant_pool): Fix dumb thinko in last
4875 change.
dffc0da4
JL
4876
4877 * pa.h (ASM_OUTPUT_FUNCTION_PREFIX): Correctly translate from
4878 a function name to a section name.
4879
d9525bec
BK
48801998-02-18 Doug Evans <devans@cygnus.com>
4881
4882 * tree.h (merge_machine_{type,decl}_attributes): Declare.
4883 (split_specs_attrs, strip_attrs): Add prototypes.
4884 * tree.c (merge_machine_{type,decl}_attributes): New functions.
4885 * c-decl.c (duplicate_decls): Call merge_machine_decl_attributes.
4886 Update olddecl's attributes too.
4887 * c-common.c (strip_attrs): New function.
4888 * c-typeck.c (common_type): Call merge_machine_type_attributes.
4889 * varasm.c (make_function_rtl): New target macro REDO_SECTION_INFO_P.
4890 (make_decl_rtl): Likewise.
4891
48921998-02-18 Jim Wilson <wilson@cygnus.com>
4893
4894 * c-decl.c (shadow_tag_warned): Call split_specs_attrs.
4895
f9a366ac
JL
4896Wed Feb 18 09:09:50 1998 Jeffrey A Law (law@cygnus.com)
4897
4898 Remove this change until we can fix it correctly.
4899 * collect2.c: Bracket declaration of 'exportf' and
4900 'full_real_ld_suffix'.
4901
206ae7cf
BS
4902Wed Feb 18 08:44:25 1998 Bernd Schmidt <crux@ohara.Informatik.RWTH-Aachen.DE>
4903
4904 * Makefile.in (STAGESTUFF): Add genrtl.c, genrtl.h and gengenrtl.
4905
0a7ed33c
BS
4906Tue Feb 17 23:30:20 1998 Bernd Schmidt <crux@ohara.Informatik.RWTH-Aachen.DE>
4907
4908 * c-common.c (c_expand_start_cond, c_expand_end_cond,
4909 c_expand_start_else): Don't warn about non-ambiguous else even if
4910 braces are missing.
4911
68c9728a 4912Tue Feb 17 23:56:50 1998 Robert Lipe <robertl@dgii.com>
0a7ed33c 4913
68c9728a
RL
4914 * sco5.h (ASM_OUTPUT_DOUBLE, ASM_OUTPUT_FLOAT,
4915 ASM_OUTPUT_LONG_DOUBLE): Delete. Use the ones from i386.h
4916 instead.
4917
15941d29
RH
4918Tue Feb 17 22:56:14 1998 Richard Henderson <rth@cygnus.com>
4919
4920 * combine.c (simplify_rtx): Obey CLASS_CANNOT_CHANGE_SIZE when
4921 simplifying a subreg of a hard reg.
4922 (expand_compound_operation): Likewise.
4923 (force_to_mode): Likewise.
4924
5835e573
KG
4925Tue Feb 17 22:37:22 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4926
2fde567e
KG
4927 * fold-const.c: Include "system.h" to get stdlib.h and stdio.h.
4928 (lshift_double): Add parentheses around + or - inside shift.
4929 (rshift_double): Likewise.
4930 (size_int_wide): Explicitly set type of `bit_p' to `int'.
4931
4932 * Makefile.in (fold-const.o): Depend on system.h.
4933
8e85ff2c
KG
4934 * Makefile.in (gcc.o): Depend on system.h, in accordance with last
4935 change to gcc.c.
4936
5835e573
KG
4937 * haifa-sched.c: Include "system.h" to get <stdlib.h> and <stdio.h>.
4938 (BLOCKAGE_RANGE): Add parentheses around arithmetic in operand of |.
4939 (sched_note_set): Remove unused parameter `b', all callers changed.
4940 (schedule_block): Likewise for `rgn'.
4941 (split_hard_reg_notes): Likewise for `orig_insn'.
4942 (check_live): Likewise for `trg'.
4943 (update_live): Likewise.
4944 (check_live_1): Explcitly declare variable `i' as int.
4945 (update_live_1): Likewise.
4946 (insn_issue_delay): Remove unused variable `link'.
4947 (sched_analyze_2): Add default case in enumeration switch.
4948 (schedule_insns): Remove unused variable `i'.
4949
4950 * Makefile.in ($(SCHED_PREFIX)sched.o): Depend on system.h.
4951
b1a0c816
JL
4952Tue Feb 17 22:31:04 1998 Jeffrey A Law (law@cygnus.com)
4953
4954 * loop.c (rtx_equal_for_loop_p): Add some braces to disambiguate
4955 a dangling else clause.
4956
365ca18b
GK
4957Tue Feb 17 21:28:12 1998 Gavin Koch <gavin@cygnus.com>
4958
4959 * mips/mips.h (CAN_ELIMINATE): Don't eliminate the frame
4960 pointer for the stack pointer in MIPS16 and 64BIT.
4961
feb60352
R
4962Tue Feb 17 21:17:30 1997 J"orn Rennecke <amylaar@cygnus.co.uk>
4963
4964 * rtl.h (force_line_numbers, restore_line_number_status): Declare.
4965 * emit-rtl.c (force_line_numbers, restore_line_number_status):
4966 New functions.
4967 * stmt.c (struct nesting): Replace seenlabel with line_number_status.
4968 (expand_start_case): Adjust to this change.
4969 (check_seenlabel): New function.
4970 (pushcase, pushcase_range, expand_endcase): Use it.
4971
93f83bd5
R
4972Tue Feb 17 10:14:32 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
4973
4974 * i386.md (adddi3): Add =!r,0,0,X alternative.
4975
b9af8fb0
DE
4976Mon Feb 16 16:13:43 1998 David Edelsohn <edelsohn@mhpcc.edu>
4977
4978 * rs6000.h (MY_ISCOFF): Add numeric value of U803XTOCMAGIC.
4979 * x-aix31 (INSTALL): Delete.
4980
a4dee8a5
GK
4981Mon Feb 16 09:24:32 1998 Gavin Koch <gavin@cygnus.com>
4982
b57062ca 4983 * mips/mips.c (mips_expand_epilogue): Update tsize_rtx if
a4dee8a5
GK
4984 tsize changes to something other than zero.
4985
8898f8a1
GK
4986Mon Feb 16 09:11:48 1998 Gavin Koch <gavin@cygnus.com>
4987
4988 * ginclude/va-mips.h: Replace casts of pointers to int with
4989 casts of pointers to __PTRDIFF_TYPE__.
4990
9ba7a303
JC
4991Mon Feb 16 08:17:14 1998 John Carr <jfc@mit.edu>
4992
4993 * loop.c (strength_reduce, record_biv, record_giv): Use
4994 HOST_WIDE_INT_PRINT_DEC to print CONST_INT values.
4995
b7f6588d
JM
49961998-02-16 Jason Merrill <jason@yorick.cygnus.com>
4997
4998 * tree.c (first_rtl_op): New fn.
4999 (unsave_expr_now): Use it.
5000 * print-tree.c (print_node): Likewise.
5001 * tree.c (has_cleanups): New fn.
5002 * fold-const.c (fold, case CLEANUP_POINT_EXPR): Use it. Be more
5003 conservative about pushing the cleanup point down.
5004 * tree.h: Declare them.
5005
8e7336f8
JL
5006Sun Feb 15 23:28:44 1998 Jeffrey A Law (law@cygnus.com)
5007
5008 * toplev.c (flag_schedule_reverse_before_reload): Delete variable.
5009 (flag_schedule_reverse_after_reload): Likewise.
5010 (f_options): Remove reverse scheduling support.
5011 * flags.h (flag_schedule_reverse_before_reload): Delete declaration.
5012 (flag_schedule_reverse_after_reload): Likewise.
5013 * haifa-sched.c (rank_for_schedule): Remove support for reverse
5014 scheduling.
b57062ca 5015
79e11844
KG
5016Sun Feb 15 21:33:55 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5017
17248a6b
KG
5018 * gcc.c: Get system includes, prototypes and macros via "system.h"
5019 instead of doing it manually. Change all calls of the ctype
5020 macros to custom versions defined in "system.h".
5021
79e11844
KG
5022 * system.h: Fix return type of bcmp prototype from `void' to `int'.
5023 Make bcopy, bcmp and bzero prototypes explicitly `extern'.
5024 Add a prototype for getenv.
5025
c9b4de06
JW
5026Sun Feb 15 17:05:41 1998 Jim Wilson <wilson@cygnus.com>
5027
5028 * mips/mips.h (INITIAL_ELIMINATION_OFFSET): Readd Jun 6 change.
5029
9f8f10de
JC
5030Sun Feb 15 15:23:15 1998 John Carr <jfc@mit.edu>
5031
5032 * alias.c: Include <stdlib.h> and <string.h>.
5033 (init_alias_analysis): Pass NULL_RTX instead of 0 to record_set.
5034
d757d141
JL
5035Sat Feb 14 11:23:09 PST 1998 Jeff Law (law@cygnus.com)
5036
5037 * version.c: Bump for snapshot.
5038
7a0a1f09
RE
5039Sat Feb 14 05:08:21 1998 Richard Earnshaw (rearnsha@arm.com)
5040
5041 * arm.md (movsfcc): Also validate operands[3] when compiling hard
5042 float.
5043 (movdfcc): Only accept fpu_add_operand for operands[3].
5044
99e90438
RE
5045 * arm/t-semi (STMP_FIXPROTO): Define to nothing.
5046 * arm/t-semiaof (STMP_FIXPROTO): Likewise.
5047
29a82058
JL
5048Sat Feb 14 02:02:41 1998 Jeffrey A Law (law@cygnus.com)
5049
5050 * varasm.c (output_constant_pool): Bring back 'done' label inside
5051 an appropriate #ifdef.
5052
b57062ca 5053 * bitmap.c (bitmap_element_allocate): Wrap variable 'i' in an
29a82058
JL
5054 appropriate #ifdef.
5055 (bitmap_copy, bitmap_operation): Likewise.
5056 * combine.c (combinable_i3pat): Similarly for 'src'.
5057 * function.c (fixup_var_refs_1): Similarly for 'outerdest'.
5058 (locate_and_pad_parm): Similarly for 'reg_parm_stack_space'.
5059 * regclass.c (copy_cost): Similarly for 'secondary_class'.
5060 * reload.c (make_memloc): Simliarly for 'i'.
5061 (find_reloads_address_1): Similarly for 'link'.
5062 * reload1.c (reload): Similarly for 'previous_frame_pointer_needed'.
5063 (emit_reload_insns): Similarly for 'second_reloadreg'.
5064 * unroll.c (iteration_info): Similarly for 'v'.
5065
5066 * caller-save.c (insert_save_restore): Remove unused variable 'i'.
5067 * calls.c (expand_call): Similarly for 'i'.
5068 (emit_library_call, emit_library_call_value): Similarly for 'mode'.
5069 * fold-const.c (strip_compund_expr): Similarly for 'type'.
5070 * function.c (fixup_var_refs_1): Similarly for 'width'.
5071 (fixup_memory_subreg): Similarly for 'saved'.
5072 (locate_and_pad_parm): Similarly for 'boundary_in_bytes.'
5073 (setjmp_protect): Similarly for 'sub'.
5074 (thread_prologue_and_epilogue_insns): Similarly for 'insn'.
5075 * loop.c (record_giv): Similarly for 'p'.
5076 (combine_givs): Similarly for 'temp_iv'.
5077 (indirect_jump_in_function_p): Similarly for 'is_indirect_jump'.
5078 * recog.c (validate_replace_rtx_1): Similarly for 'width'.
5079 * tree.c (get_set_constructor_bytes): Similarly for 'vals'.
5080 * unroll.c (unroll_loop): Similarly for 'copy'.
5081 (iteration_info): Similarly for 'b'.
5082 * varasm.c (assemble_string): Similarly for 'i'.
5083 * i386.h (LEGITIMIZE_ADDRESS): Similarly for 'orig_x'.
5084
7d02bbef
JM
50851998-02-13 Martin von Loewis <loewis@informatik.hu-berlin.de>
5086
5087 * c-lang.c (lang_print_xnode): New function.
5088 * objc/objc-act.c (lang_print_xnode): Likewise.
5089 * print-tree.c (print_node): Call it
5090
e3e7774e
JW
5091Fri Feb 13 14:38:34 1998 Jim Wilson <wilson@cygnus.com>
5092
5093 * dwarf2out.c (decl_scope_node): New type.
5094 (decl_scope_table): Change type to use it.
5095 (decl_scope_table_allocated, decl_scope_depth): Change type to int.
5096 (push_decl_scope): Use new type. New locals containing_scope, i.
5097 Add code to handle setting previous field.
5098 (scope_die_for): Change type of local i to int. Add code to use
5099 previous field.
5100 (dwarf2out_init): Use new type.
5101
442f0a30
JM
51021998-02-13 Jason Merrill <jason@yorick.cygnus.com>
5103
5104 * except.c (emit_throw): Lose throw_used.
5105
fcdc0d6e
R
5106Fri Feb 13 20:36:05 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
5107
5108 * sched.c (update_flow_info, REG_WAS_0): Ignore if setting insn
5109 was deleted.
5110 * haifa-sched.c (update_flow_info, REG_WAS_0): Likewise.
5111
b7673cdb
JL
5112Fri Feb 13 12:18:40 1998 Jeffrey A Law (law@cygnus.com)
5113
5114 * genextract.c (main): Fix typo.
5115
9e4767ca 5116Fri Feb 13 08:41:49 1998 Robert Lipe <robertl@dgii.com>
69d4ca36 5117
b57062ca 5118 * c-lang.c (finish_file): Bracket declaration of static_ctors,
69d4ca36
RL
5119 static_dtors.
5120
5121 * calls.c (expand_call): Bracket declaration of 'rtx_before_call',
5122 'old_stack_arg_under_construction'
b57062ca 5123 (emit_library_call): Bracket declaration of 'upper_bound',
69d4ca36
RL
5124 'lower_bound', 'i', 'reg_parm_stack_space'
5125 (emit_library_call_value): Likewise.
b57062ca 5126 (store_one_arg):
69d4ca36
RL
5127
5128 * collect2.c: include <unistd.h> when appropriate.
5129 Bracket declaration of 'exportf' and 'full_real_ld_suffix'.
5130
5131 * emit-rtl.c (prev_cc0_setter): Remove unused variable 'link'.
b57062ca 5132
69d4ca36
RL
5133 * explow.c (plus_constant_for_output_wide): Remove unused variable
5134 'code'.
b57062ca 5135 (memory_address): Remove unused variable 'orig_x'.
69d4ca36
RL
5136
5137 * genattrtab.c (make_canonical): Remove unreferenced label 'cond:'.
5138 (write_const_num_delay_slots): Remove unused variable 'i'.
5139
5140 * genopinit.c (main): Remove unused variables 'dummy', 'insn_ptr'.
5141 (gen_insn): Remove unused variable 'obstack_ptr'.
5142
5143 * libgcc2.c (__bb_exit_func): Remove unused variables 'ret',
5144 'j', 'tmp', 'i'.
5145 (__bb_exit_trace_func): Remove unused variable 'e'.
5146
5147 * optabs.c (expand_binop): remove unused variables 'lhs', 'rhs',
5148 'funexp'.
5149 (expand_unop): Remove unused variable 'funexp'.
b57062ca 5150 (expand_complex_abs): Remove unused variable 'funexp'.
69d4ca36
RL
5151 (init_optabs): Bracket declaration of 'j'.
5152 (init_complex_libfuncs): Deleted. Dead static function.
b57062ca 5153
69d4ca36
RL
5154 * profile.c (branch_prob): Remove unused variables 'insn', 'dest'.
5155
5156 * reg-stack.c: Fix typo in proto for 'get_asm_operand_lengths'
5157 (reg_to_stack): 'initialized', 'before_function_beg'
5158 explictly type as ints instead of defaulting.
5159 (emit_swap_insn): Remove unused variable 'i2'.
5160 (compare_for_stack_reg): Remove unused variable 'src_note'.
5161
5162 * rtlanal.c (computed_jump_p): Remove unused variable 'computed_jump'.
5163
5164 * sched.c (actual_hazard): Bracket declaration of 'this_cost'.
5165
5166 * stmt.c (add_case_node): Add parens for assignment used as truth.
5167 (all_cases_count): Remove unused variable 'count_high'.
5168 (mark_seen_cases): Remove unused variable 'i'.
5169 (check_for_full_enumeration_handling): Remove unused variable 't'.
5170 Bracket declaration of 'all_values', 'l'.
b57062ca 5171
69d4ca36
RL
5172 * tlink.c: Include <stdlib.h>, <unistd.h>, <string.h>/<strings.h>.
5173
b57062ca
UD
5174 * varasm.c (assemble_string): Remove unused variable 'i'.
5175 (immed_double_const): Remove unused variable 'in_current_obstack'.
69d4ca36
RL
5176 (immed_real_const_1): Likewise.
5177 (output_constant_pool): Remove unreferenced label 'done'.
5178 (output_constant): Remove unused variable 'x'.
b57062ca 5179
69d4ca36
RL
5180 * i386/i386.h (ENCODE_SECTION_INFO): TREE_PUBLIC is an int, not
5181 a string.
5182
5183 * i386/sco5.h (ASM_OUTPUT_ASCII): Add parens for assignment used
5184 as truth.
5185
e3258cef
R
5186Fri Feb 13 10:21:41 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
5187
5188 * combine.c (can_combine_p): Handle USEs in PARALLELs.
5189
1398405b
L
5190Fri Feb 13 01:34:14 1998 H.J. Lu (hjl@gnu.org)
5191
5192 * config/linux.h (LIB_SPEC): Add -lc for -shared if
5193 USE_GNULIBC_1 is not defined.
5194 * config/sparc/linux.h; Ditto.
5195
5196 * config/sparc/linux64.h (LIB_SPEC): Add -lc for -shared.
5197
5198 * config/alpha/linux-elf.h (LIB_SPEC): New. Defined if
5199 USE_GNULIBC_1 is not defined.
5200
03453a9f
FS
5201Fri Feb 13 01:29:29 1998 Franz Sirl <franz.sirl-kernel@lauterbach.com>
5202
5203 * rs6000/sysv4.h (ENDFILE_SPEC): add missing %(endfile_linux)
5204 for -mcall-linux
5205
aca69483 5206Fri Feb 13 01:23:46 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
b57062ca 5207
aca69483
KG
5208 * system.h: New file to get common systems includes and various
5209 definitions and declarations based on autoconf macros.
5210
5e0e0f03
JL
5211Fri Feb 13 00:46:19 1998 Jeffrey A Law (law@cygnus.com)
5212
5213 * cccp.c (new_include_prefix): Correctly handle -I./.
5214
89e9f3a8
MM
5215Thu Feb 12 20:16:35 1998 Michael Meissner <meissner@cygnus.com>
5216
5217 * rs6000.md: Replace gen_rtx (CONST_INT,...) with GEN_INT.
5218
8bd6ecc2 5219Thu Feb 12 16:45:17 1998 Robert Lipe <robertl@dgii.com>
89e9f3a8 5220
b57062ca 5221 * expr.c (expand_assignment): Correct typo exposed by -Wall.
8bd6ecc2
RL
5222 offset should have been a truth value, not an assignment.
5223
614bb5d4
JL
5224Thu Feb 12 15:26:50 1998 Jeffrey A Law (law@cygnus.com)
5225
5226 * cse.c (delete_dead_from_cse): If a libcall produces a constant
5227 result and that result can be substituted into SET_SRC of the
5228 insn with the REG_RETVAL note, then perform the substitution
5229 and delete the libcall.
5230
00bb4b62
GK
5231Thu Feb 12 14:04:09 1998 Gavin Koch <gavin@cygnus.com>
5232
b57062ca 5233 * mips.md (trucndihi2,truncdiqi2): Change these to support
00bb4b62
GK
5234 mips16.
5235
3871c609
GK
5236Thu Feb 12 11:34:55 1998 Gavin Koch <gavin@cygnus.com>
5237
5238 * mips/mips.c (movdi_operand): Direct referances to symbols
5239 that arn't mips16 consts in mips16 mode arn't valid operands.
5240
5241 * mips/mips.c (mips_move_2words): Add gprel handling.
5242
2e72fa6a
GK
5243Thu Feb 12 11:18:37 1998 Gavin Koch <gavin@cygnus.com>
5244
b57062ca 5245 * mips.md (extendsidi2): Allow extension to/from a non-mips16
2e72fa6a
GK
5246 register.
5247
a4910340
ML
5248Thu Feb 12 00:04:16 1998 Marc Lehmann <pcg@goof.com>
5249
5250 * i386.c: Conditionally include <stdlib.h>, <string.h>, and
5251 <strings.h>.
5252
cc1e5b9a
KG
5253Wed Feb 11 11:43:34 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5254
5255 * Makefile.in (WARN_CFLAGS): New variable.
5256 (bootstrap, bootstrap2, bootstrap3, bootstrap4): Use it.
5257
53949fac
MM
52581998-02-11 Mark Mitchell <mmitchell@usa.net>
5259
5260 * config/i386/i386.c (reg_mentioned_in_mem): Don't abort when
5261 falling through default case in switch.
5262 (i386_aligned_p): Likewise.
5263
9504c31c
LI
5264Wed Feb 11 12:59:56 1998 Lee Iverson <leei@Canada.AI.SRI.COM>
5265
5266 * mips/mips.h (mips_abi_string): Correct typo in comment.
5267
7e4e0956
GK
5268Wed Feb 11 08:29:56 1998 Gavin Koch <gavin@cygnus.com>
5269
5270 * mips/mips.md (movdi): These PLUS's need to be Pmode.
5271
8fb3ae15
KG
5272Wed Feb 11 01:47:54 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5273
5274 * Makefile.in (dwarf2out.o, emit-rtl.o, jump.o, cse.o, unroll.o,
5275 reorg.o, regmove.o): Depend on insn-codes.h, it gets included
5276 indirectly via expr.h.
5277
a2d53b28
RH
5278Wed Feb 11 01:44:13 1998 Richard Henderson <rth@cygnus.com>
5279
5280 * stor-layout.c (layout_type): Do upper - lower in the native type,
5281 so as to properly handle negative indices.
5282
381127e8
RL
5283Wed Feb 11 01:35:55 1998 Robert Lipe <robertl@dgii.com>
5284
5285 * except.c (start_dynamic_cleanup): Remove unused variable 'dhc'.
5286 (expand_eh_region_start_tree): Remove unused variable 'note'.
5287 (exception_optimize): Remove unused variable 'regions'.
5288 (expand_builtin_eh_stub): Remove unused variable 'temp'.
5289 (copy_eh_entry): Deleted. Dead function.
5290
b57062ca 5291 * expr.c (move_block_to_reg) Bracket declaration of 'pat' and
381127e8
RL
5292 'last' with same #if HAVE_load_multiple as use of it.
5293 (move_block_from_reg): Likewise.
5294 (emit_move_insn_1): Remove unused variable 'insns'.
b57062ca
UD
5295 (store_constructor): Bracket declaration of startb, endb with
5296 #if TARGET_MEMFUNCTIONS. Remove unused variables 'set_word_size'
381127e8 5297 'target', and 'xtarget'.
b57062ca 5298 (expand_builtin_setjmp): Remove unused variables 'op0',
381127e8 5299 'next_arg_reg', 'old_inhibit_defer_pop'.
b57062ca 5300 (expand_builtin): Remove unused variable 'offset'.
381127e8
RL
5301 (do_store_flag): Remove unused variables 'pattern', 'jump_pat'.
5302 (emit_queue): Add parens for assignment used as conditional.
5303 (expand_expr): case TARGET_EXPR: Remove unused variable 'temp'.
5304
00c79232
ML
5305Wed Feb 11 01:30:49 1998 Marc Lehmann <pcg@goof.com>
5306
b57062ca 5307 * i386.c: Added include for recog.h.
00c79232
ML
5308 (override_options): Removed unused variable p. Initialized regno to
5309 avoid warning.
5310 (order_regs_for_local_alloc): Initialized regno to avoid warning.
5311 (legitimize_address): Likewise for 'other'.
5312 (i386_aligned_reg_p): Added default case with abort ().
5313 (print_operand): Likewise.
5314 (reg_mentioned_in_mem): Likewise.
5315 (ix86_expand_binary_operator): Removed unused variables i & insn.
5316 (ix86_expand_unary_operator): Removed unused variable insn.
5317 (output_fp_cc0_set): Removed unused variable unordered_label.
5318
f64cecad
JC
5319Wed Feb 11 01:23:03 1998 John F. Carr <jfc@mit.edu>
5320
5321 * i386.c, i386.h, i386.md: Change gen_rtx (X, ...) to gen_rtx_X (...).
5322 Use GEN_INT instead of gen_rtx (CONST_INT). Make printf arguments
5323 and format string match.
5324
0200b5ed
JL
5325Wed Feb 11 01:17:39 1998 Jeffrey A Law (law@cygnus.com)
5326
5327 * flow.c (life_analysis): Do not conside the stack pointer live at
5328 the end of a function if the fucntio ncalls alloca.
5329 (mark_used_regs): Similarly.
5330
74ccf2c2
JC
53311998-02-10 John F Carr <jfc@mit.edu>
5332
5333 * config/sparc/sparc.md (movdi_v8plus): Output stx on alternative
5334 1, fzero on alternative 8.
5335
60e2d0ca
RK
5336Tue Feb 10 09:02:19 1998 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
5337
5338 * rs6000.c (setup_incoming_varargs): Always set rs6000_sysv_varargs_p.
5339
2fd0af53
R
5340Tue Feb 10 03:35:43 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
5341
5342 * reload.c (find_reloads_toplev): Handle arbitrary non-paradoxical
5343 SUBREGs of CONST_INTs.
5344
a96c3544
JC
5345Mon Feb 9 17:52:36 1998 John Carr <jfc@mit.edu>
5346
5347 * mips.c (print_operand, function_prologue): Make printf format
5348 match argument type.
5349
2514cbc9
KG
5350Mon Feb 9 02:37:25 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5351
5352 * alpha.c (alpha_return_addr): Remove unused variable `first'.
5353 (alpha_ra_ever_killed): Remove unused variables `ra' and `i'.
5354 (output_epilog): Remove unused variable `frame_size_from_reg_save'.
5355
72b0c616
RK
5356Sun Feb 8 14:56:03 1998 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
5357
5358 * loop.c (strength_reduce): When placing increment for auto-inc
5359 case, do comparison in loop order.
b57062ca 5360
2e0dd623
JC
5361Sun Feb 8 13:21:38 1998 John Carr <jfc@mit.edu>
5362
5363 * bitmap.c (bitmap_debug_file): HOST_PTR_PRINTF converts a pointer,
5364 not a HOST_WIDE_INT.
5365
5366 * calls.c (expand_call): Change test of expand_inline_function
5367 return value to stop compiler warning.
5368
5369 * genattrtab.c (RTL_HASH): Cast pointer to long, not HOST_WIDE_INT.
5370
7bf825d2
JW
5371Sun Feb 8 12:04:24 1998 Jim Wilson (wilson@cygnus.com)
5372 Jeff Law (law@cygnus.com)
5373
5374 * regmove.c: Fix various minor formatting problems.
5375 (optimize_reg_copy_1): Stop search at CALL_INSNs if flag_exceptions
5376 is true. Make end of basic block tests consistent through regmove.c.
5377 (optimize_reg_copy_2, optimize_reg_copy_3): Likewise.
5378 (fixup_match_2, fixup_match_1, regmove_optimize): Likewise.
5379
7d4679ea
KG
5380Sun Feb 8 01:49:18 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5381
5382 * gansidecl.h: Check for a conflicting macro definition before
5383 attempting to prototype bcopy, bcmp or bzero.
5384
b515ab3d
JL
5385Sun Feb 8 00:09:59 1998 Jeffrey A Law (law@cygnus.com)
5386
060fbabf
JL
5387 * expr.c (clear_pending_stack_adjust): Handle case where a function
5388 calls alloca, but the user has specified -fomit-fframe-pointer.
5389
b515ab3d
JL
5390 * function.c (assign_parms): Fix typo in last change.
5391
ccd043a9
RL
5392Sat Feb 7 23:54:29 1998 Robert Lipe <robertl@dgii.com>
5393
ededb2fc
RL
5394 * gcc.c: Include <strings.h>/<string.h>, <stdlib.h>, <unistd.h>,
5395 <fcntl.h>.
5396 (free_path_suffix): Remove unreferenced static function.
5397 (process_command): Remove unused variable temp.
5398 (default_arg): Remove unused variable i.
5399 (do_spec_1): Add parens for assignment used as truth value.
5400 (main): Likewise.
5401 (validate_all_switches): Likewise.
5402 (main): Remove unused variables i, first_time>
5403
ccd043a9
RL
5404 * c-common.c: Include <stdlib.h> and <string.h>/<strings.h>.
5405
5406 * calls.c (expand_call): Remove unused variables funtree,
5407 n_regs, and tmpmode.
5408
5409 * dbxout.c, except.c: Include <string.h>/<strings.h>.
5410
5411 * explow.c: (plus_constant_for_output_wide) Removed unused
5412 variable all_constant.
5413
5414 * c-decl.c, genattr.c, genattrtab.c, getconfig.c, genemit.c
5415 genextract.c, genflags.c, genopinit.c genoutput.c, genpeep.c,
5416 genrecog.c, global.c, integrate.c , stupid.c : Include
5417 <stdlib.h>.
5418
5419 * genextract.c: (walk_rtx) Remove unused variable link.
5420
5421 * genrecog.c: (concat) Remove unreferenced static function.
5422
5423 * prefix.c: Include <string.h>/<strings.h>, <stdlib.h>
5424
b57062ca
UD
5425 * stmt.c: Include <stdlib.h>.
5426 (expand_asm_operands): Remove unused variable val1.
ccd043a9
RL
5427 (expand_return): Remove unused variable block.
5428 (pushcase): Remove unused variables l and n.
5429 (pushcaserange): Likewise.
5430
5431 * unroll.c (unroll_loop): Remove unused variable temp.
5432
6553db01
GM
5433Sat Feb 7 23:46:09 1998 Greg McGary <gkm@gnu.org>
5434
5435 * c-decl.c (pushdecl): Set DECL_ORIGINAL_TYPE once only.
5436
8479e1db
KG
5437Sat Feb 7 15:11:28 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5438
5439 * aclocal.m4 (GCC_FUNC_PRINTF_PTR): New macro to test the printf
5440 functions for whether they support the %p format specifier.
5441 * acconfig.h (HOST_PTR_PRINTF): Insert stub for autoconf.
5442 * configure.in (GCC_FUNC_PRINTF_PTR): Use it.
5443 * configure, config.in: Rebuild.
5444
bf9c83fe
JW
5445Fri Feb 6 14:20:16 1998 Jim Wilson <wilson@cygnus.com>
5446
5447 * function.c (assign_parms): New variable named_arg, with value
5448 depending on STRICT_ARGUMENT_NAMING. Use instead of ! last_named.
5449
09e4daf5
GK
5450Fri Feb 6 14:34:28 1998 Gavin Koch <gavin@cygnus.com>
5451
b57062ca 5452 * mips/t-r3900: New - same as t-ecoff but eliminate
09e4daf5
GK
5453 multilibs: mips1 and mips3.
5454 * configure.in (tx39*): Use new mips/t-r3900.
5455 * configure: Rebuild.
5456 * mips/r3900.h (MULTILIB_DEFAULTS): Eliminate mips1.
5457
b57d9225
JM
54581998-02-06 Jason Merrill <jason@yorick.cygnus.com>
5459
5460 * dwarf2out.c: Add old_args_size.
5461 (dwarf2out_args_size): Use it.
5462 (dwarf2out_begin_prologue): Initialize it.
5463 (dwarf2out_stack_adjust): If !asynchronous_exceptions, save up
5464 pushed args until we see a call.
5465 * final.c (final_scan_insn): Hand CALL_INSNs off to the dwarf2 code
5466 before outputting them.
5467
54681998-02-06 Kriang Lerdsuwanakij <lerdsuwa@scf.usc.edu>
5469
5470 * cplus-dem.c (demangle_template_template_parm): New function.
5471 (demangle_template): Handle template template parameters.
5472
259620a8
MM
54731998-02-02 Mark Mitchell <mmitchell@usa.net>
5474
5475 * calls.c (expand_call): Don't confuse member functions named
5476 realloc, setjmp, and so forth with the standard library
5477 functions of the same names.
5478
78418280
JL
5479Thu Feb 5 21:59:49 1998 Jeffrey A Law (law@cygnus.com)
5480
5481 * stmt.c (expand_asm_operands): Correctly identify asm statements
94e5565f 5482 no output operands.
78418280 5483
6d819282 5484Thu Feb 5 21:56:06 1998 Mumit Khan <khan@xraylith.wisc.edu>
b57062ca 5485
6d819282
MK
5486 * c-common.c (decl_attributes): Flag unrecognized attribute
5487 functions as warnings instead of as errors.
5488
aec98e42
ML
54891998-02-05 Marc Lehmann <pcg@goof.com>
5490
5491 * integrate.c (INTEGRATE_THRESHOLD): Inline only small functions
5492 when -Os is specified.
5493 * toplev.c (main): Don't disable flag_inline_functions anymore when
5494 -Os is in effect.
5495
1230327b
R
5496Fri Feb 6 00:27:36 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
5497
5498 * regmove.c: Update.
5499 * flags.h (flag_regmove): Declare.
5500 * rtl.h (optimize_reg_copy_1, optimize_reg_copy_2): Don't declare.
5501 * local-alloc.c (optimize_reg_copy_1, optimize_reg_copy_2):
5502 Moved into regmove; changed caller.
5503 * toplev.c (rest_of_compilation): Call regmove_optimize also for
5504 expensive_optimizations.
5505
1aca1e76
JL
5506Thu Feb 5 13:38:42 PST 1998 Jeff Law (law@cygnus.com)
5507
5508 * version.c: Bump for snapshot.
5509
2993ce4c
R
5510Thu Feb 5 01:45:19 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
5511 Undo this change (the problem was actually in reload):
5512 Fri Jan 23 23:28:59 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
5513
5514 * sh.md (movqi_i+1): New peephole.
5515
0340ed6c
JL
5516Tue Feb 3 01:11:12 1998 Jeffrey A Law (law@cygnus.com)
5517
e535528b
JL
5518 * jump.c (jump_optimize): Lose calls to modified_in_p they are
5519 not needed anymore due to changes elsewhere in jump.c.
5520
0340ed6c
JL
5521 * jump.c (jump_optimize): Fix first arg to modified_in_p in
5522 previous change.
5523
6fd1c67b
RH
5524Mon Feb 2 19:18:14 1998 Richard Henderson <rth@cygnus.com>
5525
5526 * expr.c (expand_builtin_setjmp): Accept two new arguments for
5527 the labels to branch to on first and subsequent executions. Don't
5528 play with __dummy. Rename `setjmp' insn to `builtin_setjmp_setup',
5529 and provide it with the jmp_buf. Use only one of
5530 `builtin_setjmp_receiver' or `nonlocal_goto_receiver',
5531 and provide the former with the target label.
5532 (expand_builtin) [BUILTIN_SETJMP]: Generate a label for use by setjmp.
5533 (expand_builtin) [BUILTIN_LONGJMP]: Split out to ...
5534 (expand_builtin_longjmp): ... here. Recognize a `builtin_longjmp'
5535 insn to replace all of the normal nonlocal_goto code. Don't play
5536 with __dummy. Correct arguments to nonlocal_goto.
5537 * expr.h (expand_builtin_setjmp): Update prototype.
5538 * except.c (start_dynamic_handler): When using builtin_setjmp,
5539 generate more accurate flow information.
5540
5541 * alpha.md (nonlocal_goto_receiver_osf): Delete.
5542 (nonlocal_goto_receiver_vms): Rename to nonlocal_goto_receiver.
5543 (builtin_longjmp, builtin_setjmp_receiver): New.
5544 * sparc.md (update_return): Disambiguate unspec number.
5545 (nonlocal_goto): Rearrange arguments to match caller in except.c.
5546 (builtin_setjmp_setup): Rename from setjmp. Match and ignore the
5547 jmp_buf operand.
5548 * mips.md (nonlocal_goto_receiver, builtin_setjmp_receiver): Remove.
5549 (builtin_setjmp_setup*, builtin_longjmp): New.
5550
95936d18
JC
5551Mon Feb 2 16:43:10 1998 John Carr <jfc@mit.edu>
5552
5553 * mips.md: Change gen_rtx (CONST_INT) to GEN_INT.
5554
c120c689
JW
5555Mon Feb 2 13:06:47 1998 Jim Wilson <wilson@cygnus.com>
5556
5557 * vmsconfig.com: Remove bytecode references.
5558
1a56b81f
AS
55591998-01-30 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5560
91193900
AS
5561 * dwarf2out.c (dwarf2out_frame_init): Undo last change, so that
5562 -fno-sjlj-exceptions works for a target that defines
5563 DWARF2_UNWIND_INFO as zero.
5564
1a56b81f
AS
5565 * regmove.c (fixup_match_1): Undo last change which removed some
5566 "useless" code, and add a comment explaining this.
5567
e4b3de45
GK
5568Mon Feb 2 10:47:14 1998 Gavin Koch (gavin@cygnus.com)
5569
5570 * mips.c (mips_expand_prologue): Change uses of TARGET_64BIT
5571 to TARGET_LONG64.
5572
2aabb736
KK
5573Mon Feb 2 10:38:41 1998 Klaus Kaempf <kkaempf@progis.de>
5574
5575 * makefile.vms: Remove bytecode references.
5576 Create genrtl files.
5577
7457661d
MH
5578Mon Feb 2 02:08:04 1998 Michael P. Hayes <michaelh@ongaonga.chch.cri.nz>
5579
5580 * jump.c (jump_optimize): Allow conditional loading of floating point
5581 constants and constants from memory. Reinstalled modified_in_p tests.
5582
460f50dc
R
5583Mon Feb 2 01:38:39 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
5584
5585 * loop.c (get_condition): Handle sign-extended constants.
5586
7a6df7f9
HPN
5587Mon Feb 2 01:22:46 1998 Hans-Peter Nilsson <hp@axis.se>
5588
db771a3c
HPN
5589 * expr.c (emit_push_insn): Add code to use movstrti if present.
5590
7a6df7f9
HPN
5591 * expr.c (emit_push_insn): Use same max-move-amount for movstrhi
5592 and movstrqi as in emit_block_move ().
5593
ceb6edf2
TM
5594Mon Feb 2 00:09:52 1998 Toon Moene <toon@moene.indiv.nluug.nl>
5595
5596 * config/m68k/x-next: Remove /NextDeveloper/Headers from
5597 the directories to fixinclude - /usr/include is a link
5598 to it and hence its contents are fixed by default.
5599
9cddeb31
FS
5600Sun Feb 1 14:15:33 1998 Franz Sirl <franz.sirl-kernel@lauterbach.com>
5601
5602 * rs6000/linux.h: define JUMP_TABLES_IN_TEXT_SECTION
5603
d2f05a0a
KK
5604Sun Feb 1 13:01:15 1998 Klaus Kaempf <kkaempf@progis.de>
5605
5606 * cccp.c (main): Predefine __VMS_VER on VMS.
5607
f8dac6eb
R
5608Sun Feb 1 12:39:53 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
5609
5610 * expr.c (get_inner_reference): Use sbitsizetype for type sizes.
5611 * fold-const.c (size_int): Replace with
5612 (size_int_wide).
5613 (make_bit_field_ref): Use bitsize_int for bit position.
5614 * stor-layout.c (sizetype): Delete.
5615 (sizetype_tab, sbitsizetype, ubitsizetype): Declare.
5616 (layout_record, layout_union, layout_type):
5617 Use bitsize_int for bit size.
5618 (set_sizetype): New function.
5619 (make_signed_type, make_unsigned_type): Use it.
5620 * c-decl.c (init_decl_processing): Likewise.
5621 * tree.h (size_int): Don't delcare, #define.
5622 (size_int_wide, sizetype_tab, sbitsize, ubitsize): Declare.
5623 (set_sizetype): Declare.
5624 (bitsize_int, size_int_2, BITS_PER_UNIT_LOG, sizetype, bitsizetype):
5625 Define.
5626 * c-typeck.c (c_sizeof, c_sizeof_nowarn, c_size_in_bytes):
5627 Convert result to sizetype.
5628 (really_start_incremental_init, push_init_level):
5629 Set type of constructor_bit_index to sbitsizetype.
5630 (push_init_level): Use unsigned arithmetic to determine padding.
5631 (output_init_element): Likewise.
5632
b577a8ff
JL
5633Sun Feb 1 03:32:07 1998 Jeffrey A Law (law@cygnus.com)
5634
5635 * combine.c (simplify_shift_const): Fix typo in last change.
5636
6e0ef100
JC
5637Sun Feb 1 02:50:46 1998 John Carr <jfc@mit.edu>
5638
5639 * combine.c (simplify_shift_const): (lshiftrt (truncate (lshiftrt)))
5640 is (truncate (lshiftrt)).
5641
4208b40f
RH
5642Sun Feb 1 01:06:53 1998 Richard Henderson <rth@cygnus.com>
5643
5644 * alpha.c (alpha_expand_unaligned_load): Use expand_binop properly.
5645 Make sure result winds up in TGT.
5646 (alpha_expand_unaligned_store): Use expand_binop properly. Allow
5647 src to be other than DImode.
5648 (alpha_expand_unaligned_load_words): Tidy. Take an offset argument.
5649 (alpha_expand_unaligned_store_words): Likewise.
5650 (alpha_expand_block_move): Use REGNO_POINTER_ALIGN. Restructure so
5651 that source and destination are separately optimized for alignment.
5652 (alpha_expand_block_clear): Use REGNO_POINTER_ALIGN.
5653
82301b88
JL
5654Sun Feb 1 01:55:09 1998 Jeffrey A Law (law@cygnus.com)
5655
5656 * mips.md (adddi3_internal_2): Be consistent with adddi3 expander
5657 with handling of -32768.
5658
a81fb89e
KG
5659Sun Feb 1 01:48:18 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5660
5661 * aclocal.m4 (GCC_NEED_DECLARATION): Modify macro to accept a
5662 shell variable argument instead of only hard coded functions.
5663 (GCC_NEED_DECLARATIONS): New macro to accept multiple functions.
5664
5665 * configure.in: Collapse multiple calls to AC_CHECK_FUNCS into one
5666 call. Collapse multiple calls to GCC_NEED_DECLARATION into one
5667 call to GCC_NEED_DECLARATIONS (new macro.) Check if we need
5668 declarations for bcopy, bcmp and bzero.
5669
5670 * acconfig.h: Add stubs for bcopy, bcmp and bzero declarations.
5671
5672 * gansidecl.h: If we have bcopy but don't declare it, then do so.
5673 Likewise for bcmp and bzero. Only define macros for bcopy, bcmp,
5674 bzero, index and rindex if they aren't already present.
5675
eed90b2c
JL
5676Sat Jan 31 11:26:58 1998 Jeffrey A Law (law@cygnus.com)
5677
b57062ca 5678 * toplev.c (close_dump_file): Wrap function prototype for
eed90b2c
JL
5679 argument "func" in PROTO.
5680 (dump_rtl): Likewise.
5681
bfd6bc60
JC
5682Fri Jan 30 22:30:39 1998 John Carr <jfc@mit.edu>
5683
5684 * sparc.c (sparc_override_options): Make v8plus and ultrasparc set
5685 MASK_V8PLUS.
5686 (output_function_epilogue): Omit epilogue if nothing drops through.
5687 (output_move_double): Supress int ldd usage on ultrasparc and v9.
5688 (registers_ok_for_ldd_peep): Likewise.
5689 (print_operand): Supress b,a on ultrasparc. Let Y accept a constant.
5690 (ultrasparc_adjust_cost): New function.
5691 (sparc_issue_rate): New function.
5692 * sparc.h (MASK_VIS, TARGET_VIS): New
5693 (MASK_V8PLUS, TARGET_V8PLUS): New.
5694 (TARGET_HARD_MUL32, TARGET_HARD_MUL): New.
5695 (TARGET_SWITCHES): Add vis and v8plus.
5696 (REG_CLASS_FROM_LETTER): Accept d and b for VIS.
5697 (REGISTER_MOVE_COST): FP<->INT move cost 12 for ultrasparc.
5698 (RTX_COSTS): Use TARGET_HARD_MUL
5699 (ADJUST_COST): Call ultrasparc_adjust_cost.
5700 (ISSUE_RATE): New.
5701 * sparc.md (attr type): Add sload, fpmove, fpcmove. Adjust users
5702 of load & fp appropritely.
5703 (supersparc function units): Adjust for Haifa.
5704 (ultrasparc function units): Likewise.
5705 (get_pc_via_rdpc): All v9, not just arch64.
5706 (movdi_v8plus, movdi_v8plus+1): New.
5707 (adddi3_sp32+1): New.
5708 (subdi3_sp32+1): New.
5709 (movsi_insn, movsf_const_insn, movdf_const_insn): Know VIS.
5710 (addsi3, subsi3, anddi3_sp32, andsi3, and_not_di_sp32): Likewise.
5711 (and_not_si, iordi3_sp32, iorsi3, or_not_di_sp32, or_not_si): Likewise.
5712 (xorsi3_sp32, xorsi3, xor_not_di_sp32, xor_not_si): Likewise.
5713 (one_cmpldi2_sp32, one_cmplsi2): Likewise.
5714 (ldd peepholes): Suppress for v9.
5715 (return_adddi): Kill redundant test. Arg1 may be arith_operand.
5716 (return_subsi): Revmove.
5717
4b526a9a
JC
5718Fri Jan 30 18:30:03 1998 John F Carr <jfc@mit.edu>
5719
5720 * mips.c (save_restore_insns): Set RTX_UNCHANGING_P in register
5721 save/restore MEM rtl.
5722
64a438d6
JL
5723Fri Jan 30 09:08:16 1998 Jeffrey A Law (law@cygnus.com)
5724
5725 * configure.in: Check for declaration of abort.
9c893359 5726 * acconfig.h: Corresponding changes.
64a438d6
JL
5727 * toplev.c: Use NEED_DECLARATION_ABORT to determine if abort should
5728 be declared.
5729
f266c82f
JL
5730Thu Jan 29 20:26:12 1998 Jeffrey A Law (law@cygnus.com)
5731
5732 * genattrtab.c (optimize): Define in case PRESERVE_DEATH_INFO_REGNO_P
5733 uses it.
5734
31fa4410
JL
5735Thu Jan 29 09:27:56 PST 1998 Jeff Law (law@cygnus.com)
5736
5737 * version.c: Bump for snapshot.
5738
0ee31ab1
JL
5739Thu Jan 29 10:12:27 1998 Jeffrey A Law (law@cygnus.com)
5740
5741 * configure.in: Check for atoq and atoll.
5742 * rtl.c (read_rtx): Use HAVE_ATOLL and HAVE_ATOQ to select the
5743 proper routine for converting ascii into long long values.
5744
eeeb91c5
KK
5745Thu Jan 29 01:28:14 1998 Klaus Kaempf <kkaempf@progis.de>
5746
9d21ee77
KK
5747 * cccp.c (SYS$SEARCH, SYS$PARSE): Write as upper-case.
5748
5749 * vmsconfig.com: Remove bytecode references.
5750
5751 * alpha/vms.h (PREFIX): Define.
5752
5753 * alpha/vms.h (ASM_OUTPUT_ALIGNED_COMMON): Remove.
5754
eeeb91c5
KK
5755 * am-alpha.h: Don't include alloca for OPEN_VMS.
5756
5757 * alpha/xm-vms.h (HAVE_CPP_STRINGIFY): Define.
5758
5759 * alpha/xm-vms.h (INCLUDE_DEFAULTS): Define.
5760 (GCC_INCLUDE_DIR): Define
5761
5762 * make-cc.com, make-cccp.com, make-cc1.com: Removed.
5763 * makefile.vms: New file.
5764
5765 * alpha/vms.h (CPP_PREDEFINES): Remove -Dalpha.
5766
5767 * alpha.c (output_prolog): Output '.name' directive
5768 for minimal traceback information.
5769
5770 * alpha.c (output_prolog): Don't prepend entry point symbols
5771 with '$' on OPEN_VMS.
5772
76d31c63
JL
5773Thu Jan 29 00:25:35 1998 David S. Miller <davem@tanya.rutgers.edu>
5774 Jeffrey A Law (law@cygnus.com)
5775
5776 * rtl.c (read_rtx): Use atol/atoq based upon disposition of
5777 HOST_WIDE_INT.
5778
5779 * genattrtab.c (write_test_expr): Use HOST_WIDE_INT_PRINT_DEC
5780 as needed.
5781 * genemit.c (gen_exp): Likewise.
5782 * genpeep.c (match_rtx): Likewise.
5783 * genrecog.c (write_tree_1): Likewise.
5784
5785 * c-lex.c (yyprint): Use proper format string based upon
5786 disposition of HOST_BITS_PER_WIDE_INT.
5787 (yylex): Put casts in right place for args to build_int_2.
5788
5789Thu Jan 29 00:24:29 1998 Jeffrey A Law (law@cygnus.com)
5790
5791 * combine.c: Fix typos in Jan27 changes.
5792
1b7555bd
OR
5793Thu Jan 29 00:07:49 1998 Ollivier Robert <roberto@keltia.freenix.fr>
5794
5795 * i386/freebsd.h (LIB_SPEC): Correctly handle -shared, -p and friends.
5796 (LINK_SPEC): Likewise.
5797 (STARTFILE_SPEC): Likewise.
5798
21ca87b8
MS
57991998-01-28 Mike Stump <mrs@wrs.com>
5800
5801 * rtlanal.c (dead_or_set_regno_p): Ignore REG_DEAD notes after
5802 reload completes.
5803 * genattrtab.c (reload_completed): Define.
5804
5805 * m32r.md, mips.md, mn10200.md, mn10300.md, pyr.md: Remove obsolete
5806 comments.
5807
d2c92f5a
R
5808Wed Jan 28 20:11:06 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
5809
5810 * reload.c (push_reload): If WORD_REGISTER_OPERATIONS, reload the
5811 SUBREG_REG if the word count is unchanged, also in the input reload
5812 case. Disable non-applicable sanity checks.
5813
90ad3ab7
JL
5814Wed Jan 28 20:08:26 1998 Jeffrey A Law (law@cygnus.com)
5815
5816 * config/t-svr4 (TARGET_LIBGCC2_CFLAGS): Add -fPIC.
5817
7fad712c
ILT
5818Wed Jan 28 20:04:43 1998 Ian Lance Taylor <ian@cygnus.com>
5819
5820 * i386/t-cygwin32 (LIMITS_H_TEST, LIBGCC2_INCLUDES): Define.
5821
2290e0ec
PB
5822Wed Jan 28 11:45:27 1998 Per Bothner <bothner@cygnus.com>
5823
1aea01ea
PB
5824 * dbxout.c (dbxout_type): For a RECORD_TYPE, check that TYPE_BINFO
5825 is a TREE_VEC before trying to use it for baseclasses.
5826 (Chill uses the same field for a different purpose.)
5827
2290e0ec
PB
5828 * toplev.c (strip_off_ending): Generalize to endings up to 5 chars.
5829
16980900
LT
5830Tue Jan 27 23:15:55 1998 Lassi A. Tuura <lat@iki.fi>
5831
4c46bad0 5832 * config.sub: More accurate determination of HP processor types.
16980900 5833
5e9defae
KG
5834Tue Jan 27 23:11:11 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5835
5836 * c-lex.c: Include <stdlib.h> and <string.h>/<strings.h>. Add
5837 prototype for `handle_sysv_pragma', and make it static. Add
5838 parentheses around assignment used as truth value.
5839
5840 * combine.c (combine_instructions): Protect variable `prev' with
5841 macro HAVE_cc0.
5842 (can_combine_p): Protect variable `link' with AUTO_INC_DEC.
5843 (extract_left_shift): Add parentheses around operand of &.
5844 (merge_outer_ops): Avoid an empty body in an else-statement.
5845 (gen_rtx_combine): Remove unused variable `i'.
b57062ca 5846
5e9defae
KG
5847 * sparc/gmon-sol2.c: Include <fcntl.h>. Make return type of
5848 function monstartup `void'. Likewise for internal_mcount. Add
5849 `static void' prototype for moncontrol. Reconcile sprintf format
b57062ca 5850 vs. args.
5e9defae
KG
5851
5852 * sparc/sparc.c: Include <stdlib.h> and <string.h>/<strings.h>.
5853 Make return type of function_arg_slotno explicitly `int'.
5854 (reg_unused_after): Add parentheses around assignment used as
5855 truth value.
5856 (save_regs): Add explicit braces to avoid ambiguous `else'.
5857 (function_arg_slotno): Add parentheses around && within ||.
5858 (function_arg_pass_by_reference): Likewise.
5859 (sparc_flat_output_function_prologue): Reconcile fprintf format
5860 vs. args.
5861
5862 * svr4.h (ASM_OUTPUT_LIMITED_STRING): Add parentheses around
5863 assignment used as truth value.
5864
5865 * cplus-dem.c: Include <stdlib.h>.
5866 (demangle_signature): Avoid an empty body in an else-statement.
5867 (do_type): Remove unused variable `lvl'.
b57062ca 5868
5e9defae
KG
5869 * cppexp.c: Don't have <stdlib.h> depend on MULTIBYTE_CHARS.
5870 Include <string.h>/<strings.h>.
5871 (cpp_lex): Remove unused variable `namelen'.
5872 (cpp_lex): Explicitly declare `num_chars' as an int.
5873
5874 * cpplib.c: Avoid duplicate inclusion of <stdlib.h>, include
5875 <unistd.h> instead. Explicitly declare is_system_include
5876 returning int.
b57062ca 5877 (make_assertion): Remove unused variable `kt'.
5e9defae
KG
5878 (cpp_expand_to_buffer): Hide variable `obuf'.
5879 (output_line_command): Remove unused variables, `line_end',
5880 `line_cmd_buf' and `len'.
5881 (macarg): Remove unused variable `arg_start'.
5882 (special_symbol): Remove unused variable `i'. Add parentheses
b57062ca 5883 around assignment used as truth value.
5e9defae 5884 (do_include): Remove unused variables `pcfname' and `retried',
b57062ca 5885 hide `pcf' and `pcfbuflimit'.
5e9defae
KG
5886 (do_line): Remove unused variable `i'.
5887 (finclude): Hide variable `missing_newline'.
5888 (cpp_handle_options): Remove unused variable `j'.
5889 (read_token_list): Remove unused variable `eofp'.
5890 (cpp_error_with_line): Remove unused variable `i'.
5891 (cpp_warning_with_line): Likewise.
5892 (cpp_pedwarn_with_line): Explicitly declare `column' as int.
5893 (cpp_error_from_errno): Remove unused variable `i'.
5894
5895 * cse.c (invalidate): Add parentheses around assignment used as
5896 truth value.
5897 (find_best_addr): Move declaration of variable `our_cost' inside
5898 the conditional macro where its used.
5899 (fold_rtx): Avoid an empty body in an if-statement.
5900 (cse_insn): Wrap variables `this_insn_cc0_mode' and
5901 `this_insn_cc0' in macro HAVE_cc0.
b57062ca 5902
5e9defae
KG
5903 * dwarf2out.c: Include <stdlib.h> and <string.h>/<string.h>.
5904 (ASM_OUTPUT_DWARF_DATA8): Reconcile format vs. args in fprintf's.
5905 (output_uleb128): Likewise.
5906 (output_sleb128): Likewise.
5907 (output_cfi): Likewise.
5908 (output_call_frame_info): Remove unused variables `j', `fde_size'
5909 and `fde_pad'.
5910 (comp_unit_has_inlines): Hide declaration as per rest of file.
5911 (size_of_line_prolog): Correct typo in prototype.
5912 (add_arange): Likewise.
5913 (output_aranges): Likewise.
5914 (add_name_and_src_coords_attributes): Likewise.
5915 (gen_array_type_die): Likewise.
5916 (gen_inlined_subroutine_die): Likewise.
5917 (equate_decl_number_to_die): Remove unused variable `i'.
5918 (print_die): Reconcile format vs. args in fprintf's.
5919 (print_dwarf_line_table): Likewise.
5920 (output_die): Likewise.
5921 (output_line_info): Likewise.
5922 (add_subscript_info): Avoid an empty body in an else-statement.
5923 (gen_subprogram_die): Remove unused variable `fp_loc'.
5924
5925 * dwarfout.c: Explicitly declare `next_pubname_number' as int.
5926 Protect `ordering_attribute' prototype with USE_ORDERING_ATTRIBUTE
5927 macro. Protect `src_coords_attribute' prototype with
5928 DWARF_DECL_COORDINATES macro. Hide `output_entry_point_die'
5929 prototype as in the rest of the file. Likewise for
5930 `output_pointer_type_die' and `output_reference_type_die'. Remove
5931 prototype for `type_of_for_scope'.
5932 (output_unsigned_leb128): Reconcile format vs. args in fprintf.
5933 (type_attribute): Add explicit braces to avoid ambiguous `else'.
b57062ca 5934
5e9defae
KG
5935 * final.c: Include <stdlib.h> and <string.h>/<strings.h>.
5936 (shorten_branches): Protect declaration of tmp_length with
5937 SHORTEN_WITH_ADJUST_INSN_LENGTH and ADJUST_INSN_LENGTH macros.
5938 (profile_function): Protect declaration of `sval' and `cxt'
5939 variables with appropriate macros.
5940 (final_scan_insn): Likewise for `note' variable. Add explicit
5941 braces to avoid empty body in an if-statement.
5942 (output_asm_insn): Move variable `i' inside macro conditional
5943 where it is used. Add parentheses around assignment used as truth
5944 value.
5945 (asm_fprintf) Likewise, likewise.
b57062ca 5946
5e9defae
KG
5947 * fix-header.c (main): Remove unused variable `done'. Protect
5948 declaration of `i' with FIXPROTO_IGNORE_LIST.
5949
5950 * pexecute.c: Include <unistd.h>. Prototype `my_strerror'.
5951
5952 * print-rtl.c (print_inline_rtx): Explicitly declare the parameter
5953 `ind'.
5954
5955 * profile.c: Include <string.h>/<strings.h>.
5956 (instrument_arcs): Remove unused variables `note', `inverted',
5957 `zero' and `neg_one'.
5958 (branch_prob): Avoid empty body in an if-statement.
5959
5960 * regclass.c: Include <stdlib.h>.
5961 (reg_alternate_class): Explicitly declare parameter `regno'.
5962
5963 * regmove.c (regmove_optimize): Remove unused variable `p'. Add
5964 parentheses around assignment used as truth value.
5965 (find_matches): Remove unused variables `output_operand' and
5966 `matching_operand'.
5967 (fixup_match_1): Remove statement with no effect: "if (0) ;".
5968
5969 * scan.c (sstring_append): Explicitly declare `count' as int.
5970 (scan_string): Explicitly declare parameter `init' as int.
5971
5972 * sched.c: Include <stdlib.h>.
5973 (BLOCKAGE_RANGE): Add parentheses around arithmetic in operand of |.
5974 (rank_for_schedule): Add parentheses around assignment used as
5975 truth value.
5976 (schedule_block): Likewise.
5977 (regno_use_in): Likewise.
5978 (schedule_insns): Remove unused variable `i'.
5979
5980 * toplev.c: Include <stdlib.h> and <string.h>/<strings.h>.
5981 (v_message_with_decl): Remove unused variable `n'.
5982 (botch): Explicitly declare parameter `s' as char *.
5983 (main): Add parentheses around assignment used as truth value.
5984
5985 * tree.c (make_node): Protect the variable `kind' with the
5986 GATHER_STATISTICS macro.
5987 (real_value_from_int_cst): Move variable `e' inside conditional
5988 macro area where it is used.
5989 (tree_last): Add parentheses around assignment used as truth value.
5990 (build1): Protect the variable `kind' with the GATHER_STATISTICS
5991 macro.
5992 (print_obstack_statistics): Reconcile format vs. args in fprintf.
5993 Protect variables `i', `total_nodes', and `total_bytes' with the
5994 GATHER_STATISTICS macro.
5995
4b6bb562
MS
5996Tue Jan 27 23:01:55 1998 Mike Stump (mrs@wrs.com)
5997
5998 * m32r.md, mips.md, mn10200.md, mn10300.md, pyr.md: Add
5999 some comments regarding use of dead_or_set_p.
6000
e95f0195
TV
6001Tue Jan 27 22:14:48 1998 Todd Vierling <tv@pobox.com>
6002
6003 * fixincludes: Tweak fix for struct exception in math.h
6004
c3499f00
GK
6005Tue Jan 27 17:21:09 1998 Gavin Koch (gavin@cygnus.com)
6006
6007 * mips/mips.c (mips_expand_prologue,mips_expand_epilogue):
b57062ca 6008 Change mode of registers used to add/sub from
c3499f00
GK
6009 hard_frame_pointer_rtx from word_mode to Pmode.
6010
01898d58
NC
6011Tue Jan 27 11:02:04 1998 Nick Clifton <nickc@cygnus.com>
6012
6db34dd4
NC
6013 * v850.h (ASM_OUTPUT_ALIGNED_BSS): Use
6014 asm_output_aligned_bss() instead of asm_output_bss().
6015
01898d58
NC
6016 * toplev.c (rest_of_compilation): Replace references to
6017 stack_reg_dump_file and dbr_sched_dump_file with references to
b57062ca 6018 rtl_dump_file.
01898d58 6019
7b6ffd11
KI
6020Tue Jan 27 10:22:13 1998 Kamil Iskra <iskra@student.uci.agh.edu.pl>
6021
6022 * tlink.c (scan_linker_output): Call fclose() for opened files.
6023
60593797
RH
6024Tue Jan 27 05:05:26 1998 Richard Henderson <rth@cygnus.com>
6025
6026 * alpha.c (output_epilog [!VMS]): Don't tag global functions if
6027 compiling with -fpic -- we want to be able to override symbols
6028 properly.
6029 (alpha_expand_block_move): Fix thinko in last change.
6030
6031 * alpha.h (ASM_OUTPUT_MI_THUNK): New define.
6032 * config/alpha/win-nt.h (ASM_OUTPUT_MI_THUNK): New define.
6033 * config/alpha/vms.h (ASM_OUTPUT_MI_THUNK): New undef.
b57062ca 6034
5e4aab97
RH
6035Tue Jan 27 03:21:23 1998 Richard Henderson <rth@cygnus.com>
6036
6037 * alpha.md (abssf, absdf): Revert last change.
6038
69145bcc
JC
6039Tue Jan 27 00:26:50 1998 John Carr <jfc@mit.edu>
6040
6041 * dwarf2out.c (dwarf2out_frame_init): Test value of DWARF2_UNWIND_INFO.
6042 * mips/sni-svr4.h: Define DWARF2_UNWIND_INFO as 0.
6043
4926b75a
JL
6044Tue Jan 27 00:07:02 1998 Jeffrey A Law (law@cygnus.com)
6045
6046 * emit-rtl.c (gen_lowpart_common): Handle more case where converting
6047 a CONST_INT into SFmode.
6048
c6aded7c
AG
6049Tue Jan 20 16:01:03 1998 Anthony Green <green@cygnus.com>
6050
6051 * flags.h: New flag (optimize_size).
6052 * toplev.c (main): Parse -Os option and set optimize_space
6053 accordingly.
b57062ca 6054 * gcc.c (default_compilers), cp/lang-specs.h, f/lang-specs.h: Define
c6aded7c
AG
6055 __OPTIMIZE_SIZE__ when compiling with -Os.
6056 * config/dsp16xx/dsp16xx.h, config/i386/i386.h,
6057 config/i386/dgux.h, config/i960/i960.h, config/pdp11/pdp11.h,
6058 config/v850/v850.h (OPTIMIZATION_OPTIONS): New SIZE argument
6059 to macro.
6060 * config/i386/i386.c (optimization_options): Accept new SIZE argument.
6061
3698f44e
MH
6062Mon Jan 26 23:57:39 1998 Manfred Hollstein <manfred@s-direktnet.de>
6063
6064 * libgcc2.c (__clear_insn_cache): On sysV68 enable the memctl
6065 stuff only if MCT_TEXT is #define'd.
6066
ac8a456a
MO
6067Mon Jan 26 23:52:51 1998 Markus F.X.J. Oberhumer <k3040e4@c210.edvz.uni-linz.ac.at>
6068
6069 * configure.in (i*86-pc-msdosdjgpp): Treat like msdos & go32
6070 configurations.
6071
032713aa
NC
6072Fri Jan 23 09:39:36 1998 Nick Clifton <nickc@cygnus.com>
6073
6074 * toplev.c: Add -dM command line option to dump RTL after the
6075 machine dependent reorganisation pass, if there is one.
6076 Reorganise RTL dump code, so that only one file handle is
b57062ca 6077 needed.
032713aa 6078
ec2be682
BK
6079Mon Jan 26 12:09:42 1998 Benjamin Kosnik <bkoz@rhino.cygnus.com>
6080
6081 * except.c (check_exception_handler_labels): Disable warning when
6082 flag_syntax_only.
6083
e232b7b3
JW
6084Mon Jan 26 18:17:32 1998 Jim Wilson <wilson@cygnus.com>
6085
6086 * sparc.c (pic_setup_code): Don't set LABEL_PRESERVE_P.
6087
2a851b5c
R
6088Mon Jan 26 18:11:30 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
6089
6090 * c-decl.c (grokdeclarator): Get parameter tags from
6091 last_function_parm_tags.
6092 * dwarfout.c (output_formal_types): Set TREE_ASM_WRITTEN before
6093 traversing the parameter types.
6094 (output_type): No early exit for FUNCTION_TYPE / METHOD_TYPE context.
6095
808fbfac
JL
6096Mon Jan 26 01:44:12 1998 Jeffrey A Law (law@cygnus.com)
6097
6098 * h8300.c (print_operand): Handle CONST_DOUBLE for 'e', 'f', and
6099 the default case.
6100 (get_shift_alg): Fix typo.
6101
15389075
RH
6102Sun Jan 25 22:22:04 1998 Richard Henderson <rth@cygnus.com>
6103
6104 * alpha.c (alpha_expand_block_move): Copy ADDRESSOF to reg.
6105
83c8ddef
RH
6106Sun Jan 25 22:14:28 1998 Richard Henderson <rth@cygnus.com>
6107
6108 * toplev.c (get_run_time): Make sure each case gets its variables.
6109
db81d74a
RH
6110Sun Jan 25 22:10:21 1998 Richard Henderson <rth@cygnus.com>
6111
6112 * configure.in (build_xm_file): Add auto-config.h if host=build.
6113 (host_xm_file_list): Don't add $(srcdir) to auto-config.h.
6114 (build_xm_file_list): Likewise.
6115 * configure: Rebuild.
b57062ca 6116
f745c7a2
AB
6117Sun Jan 25 22:00:25 1998 Alasdair Baird <alasdair@wildcat.demon.co.uk>
6118
6119 * recog.c (validate_replace_rtx_1): Only perform substitutions
6120 of arguments to commutative and comparison operators once.
6121
963f4057
KG
6122Sun Jan 25 12:30:18 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
6123
91a51951
KG
6124 * sparc.c (output_cbranch): Add default case in
6125 enumeration switch.
b57062ca 6126
91a51951
KG
6127 * reorg.c (insn_sets_resource_p): Correct typo in prototype.
6128 (emit_delay_sequence): Eliminate unused parameter, all callers
6129 changed.
6130 (fill_simple_delay_slots): Likewise.
6131 (fill_slots_from_thread): Likewise.
6132 (fill_eager_delay_slots): Likewise.
6133 (mark_referenced_resources): Add default case in enumeration switch.
6134 (mark_set_resources): Likewise.
6135 (rare_destination): Likewise.
6136 (mostly_true_jump): Likewise.
6137 (find_dead_or_set_registers): Likewise.
6138 (redirect_with_delay_slots_safe_p): Remove unused variable `slots'.
6139 (update_reg_unused_notes): Remove unused variable `p'.
6140 (mark_target_live_regs): Remove unused variables `next' and
6141 `jump_count'.
6142 (fill_simple_delay_slots): Remove unused variable `j'.
6143 (fill_slots_from_thread): Add parentheses around assignment used
6144 as truth value.
6145 (dbr_schedule): Likewise.
6146
963f4057
KG
6147 * objc/Make-lang.in (objc.stage1): Depend on stage1-start.
6148 (objc.stage2, objc.stage3, objc.stage4): Likewise.
6149
e82ad93d
MT
6150Sun Jan 25 12:13:47 1998 Michael Tiemann <michael@tiemann.org>
6151
6152 * cse.c (simplify_ternary_operation): Don't try to simplify
6153 IF_THEN_ELSE expressions (created by combine) that don't use
6154 relational operators.
6155
b4b04bf9
JL
6156Fri Jan 23 22:48:24 1998 Jeffrey A Law (law@cygnus.com)
6157
ed1ecb19
JL
6158 * cse.c (simplify_ternary_operation): Handle more IF_THEN_ELSE
6159 simplifications.
6160
b4b04bf9
JL
6161 * crtstuff.c (init_dummy): Keep the epilogue in the init
6162 section for non-ELF systems.
6163
deeef0ac
R
6164Fri Jan 23 23:28:59 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
6165
6166 * sh.md (movqi_i+1): New peephole.
6167
03566575
JW
6168Fri Jan 23 15:39:42 1998 Jim Wilson <wilson@cygnus.com>
6169
6170 * Makefile.in: Remove remaining bytecode stuff.
6171 * emit-rtl.c, expr.c: Likewise.
6172
eb96c120
NC
6173Fri Jan 23 12:41:10 1998 Nick Clifton (nickc@cygnus.com)
6174
6175 * toplev.c (lang_options): Add unknown-pragma options.
6176
f03204e9
PB
6177Thu Jan 22 23:43:38 1998 Per Bothner <bothner@cygnus.com>
6178
6179 * dwarfout.c (byte_size_attribute): Simplify and fix - don't need
6180 special (and incomplete) handling for Chill arrays.
6181
4e762a38
JC
6182Fri Jan 23 00:27:23 1998 John Carr <jfc@mit.edu>
6183
6184 * toplev.c (get_run_time): Call sysconf(_SC_CLK_TCK), when available,
6185 to get clock rate.
6186
c3499f00 6187Fri Jan 23 00:19:36 1998 Gavin Koch (gavin@cygnus.com)
319f217e
GK
6188
6189 * mips.md (muldi3_internal2): Reverse test for TARGET_MIPS16.
6190
19f673eb
SS
61911998-01-22 scott snyder <snyder@d0sgif.fnal.gov>
6192
6193 * mips.c (function_prologue): Use HARD_FRAME_POINTER_REGNUM in
6194 .frame directive instead of FRAME_POINTER_REGNUM.
6195
74cf1c6d
RK
6196Fri Jan 23 00:08:55 1998 Robin Kirkham <rjk@mlb.dmt.csiro.au>
6197
6198 * m68k.h (TARGET_SWITCHES): -mcpu32 now clears MASK_68881.
6199 (MACHINE_STATE_m68010_up): Replaced __mc68332__ with __mcpu32__.
6200 * m68k/m68k-none.h(CPP_FPU_SPEC): Update relative to TARGET_SWITCHES.
6201 (CPP_SPEC, ASM_SPEC, CC1_SPEC): Likewise.
6202 (CPP_SPEC): -m68332 defines both __mc68332 and __mcpu32__.
6203 * m68k/t-m68kbare (MULTILIB_OPTIONS): Add mcpu32.
6204 (MULTILIB_MATCHES): -m68332 now uses mcpu32 libraries, not m68000.
6205 (MULTILIB_EXCEPTIONS): Don't build 68881 libraries for m68000,
6206 mcpu32 or m5200.
6207 * longlong.h: Replace __mc68332__ with __mcpu32__.
6208
e1402e7d
JL
6209Thu Jan 22 19:55:40 PST 1998 Jeff Law (law@cygnus.com)
6210
6211 * version.c: Bump for snapshot.
6212
6d49a073
JW
6213Thu Jan 22 14:47:31 1998 Jim Wilson <wilson@cygnus.com>
6214
6215 * reload.c (push_reload): In WORD_REGISTER_OPERATIONS code, add test
6216 to require the SUBREG mode to be smaller than the SUBREG_REG mode.
6217 * reload1.c (eliminate_regs): Likewise.
6218
c485e6a0
JL
6219Thu Jan 22 14:49:14 1998 Jeffrey A Law (law@cygnus.com)
6220
6221 * regmove.c (find_matches): Initialize matches->earlyclobber too.
6222
84303d9a
RH
6223Thu Jan 22 01:40:52 1998 Richard Henderson <rth@cygnus.com>
6224
6225 * alpha.md (abssf2, absdf2): Disable in IEEE mode.
6226 (negsf2, negdf2): Use proper subtract in IEEE mode.
6227
b93a436e
JL
6228Tue Jan 20 09:29:09 1998 Jeffrey A Law (law@cygnus.com)
6229
27766f0e
JL
6230 * Makefile.in: Remove more bytecode stuff.
6231 * expr.c, stmt.c, config/msdos/top.sed: Likewise.
6232 * vax/xm-vms.h, winnt/config-nt.sed: Likewise.
6233 * f/install.texi, objc/Make-lang.in: Likewise.
6234
b93a436e
JL
6235 * Makefile.in: Remove all bytecode support.
6236 (OBJS): Make sure last entry is a real object file, not EXTRA_OBJS.
6237 * emit-rtl.c: Remove all bytecode support.
6238 * expr.c, expr.h function.c, integrate.c: Likewise.
6239 * output.h, regclass.c, rtl.h, stmt.c, toplev.c: Likewise.
6240 * tree.h, varasm.c: Likewise.
424e713c
JL
6241 * config/m68k/m68k.h: Likewise.
6242 * bi-*, bc-*, bytecode*: Delete bytecode related files.
c9804136 6243 * modemap.def: Likewise.
b93a436e 6244
7e07e3ba
GK
6245Tue Jan 20 09:02:31 1998 Gavin Koch (gavin@cygnus.com)
6246
6247 * mips/mips.md (divsi3,divdi3,modsi3,moddi3,udivsi3,udivdi3,
6248 umodsi3,umoddi3): Handle mips16 div/mod by a constant.
6249
685885b7
RH
6250Mon Jan 19 21:57:00 1998 Richard Henderson <rth@cygnus.com>
6251
6252 * i386.md (push): Prohibit symbolic constants if flag_pic.
6253 (movsi+1): Likewise for move to non-register.
6254
5830e3a0
JW
6255Mon Jan 19 11:15:38 1998 Jim Wilson <wilson@cygnus.com>
6256
11ea364a
JW
6257 * alpha.c (mode_mask_operand): Accept 0xffffffff on 32 bit host.
6258 (print_operand): Handle 0xffffffff on 32 bit host.
6259
a851212a
JW
6260 * configure.in (thread_file): Rename uses before main loop to
6261 target_thread_file. Initialize to empty in main loop. Set thread_file
6262 to target_thread_file after main loop if not set.
6263 * configure: Rebuild.
6264
5830e3a0
JW
6265 * genattrtab.c (find_and_mark_used_attributes): Handle CONST_INT.
6266 (add_values_to_cover): Revert last change (which had no ChangeLog
6267 entry).
6268 (simplify_with_current_value_aux): Handle CONST_INT.
6269
829e1aaf
AS
6270Mon Jan 19 10:14:55 1998 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
6271
6272 * unprotoize.c: Define UNPROTOIZE first, to actually take effect.
6273
76844337
RH
6274Mon Jan 19 10:11:52 1998 Richard Henderson <rth@cygnus.com>
6275
6276 * configure.in: Add cpp stringify test.
6277 * acconfig.h (HAVE_CPP_STRINGIFY): New tag.
6278 * gengenrtl.c: Use it.
6279 * configure, config.in: Rebuild.
6280
a3f80023
AS
6281Mon Jan 19 09:43:15 1998 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
6282
6283 * Makefile.in (genrtl.c genrtl.h): Add dummy command for GNU make.
6284
c5d0345e
RH
6285Mon Jan 19 09:38:18 1998 Richard Henderson <rth@cygnus.com>
6286
6287 * configure.in: Find declaration for sbrk.
6288 * acconfig.h (NEED_DECLARATION_SBRK): New tag.
6289 * config.in, configure: Rebuild.
6290 * mips-tfile.c: Properly protect declaration of sbrk and free.
6291 * toplev.c: Properly protect declaration of sbrk.
6292
bb02e7ea
RH
6293Sun Jan 18 20:18:01 1998 Richard Henderson <rth@cygnus.com>
6294
6295 * alpha.c (alpha_handle_trap_shadows): Ignore CLOBBERs.
6296
30c2fa75
JL
6297Sun Jan 18 01:54:27 1998 Jeffrey A Law (law@cygnus.com)
6298
6299 * alpha/xm-winnt.h (HAS_INIT_SECTION): Undefine.
6300
a0372c94
MS
6301Sun Jan 18 00:57:35 1998 Mike Stump (mrs@wrs.com)
6302
6303 * configure.in (i960-wrs-vxworks): Default to latest vxworks release.
6304
c9ec4f99
DM
6305Sat Jan 17 23:41:36 1998 David S. Miller <davem@tanya.rutgers.edu>
6306
0e9ff885
DM
6307 * combine.c (force_to_mode, nonzero_bits): Correctly optimize
6308 constant offset computations from objects with known alignment in
6309 the presence of STACK_BIAS.
6310
7bcac048
DM
6311 * varasm.c (immed_double_const): Add casts to HOST_WIDE_INT where
6312 necessary.
6313 (const_hash): Hash val is unsigned long.
6314 (SYMHASH): Likewise.
6315
6316 * tree.c (TYPE_HASH): Type of hash val is unsigned long.
6317
6318 * print-tree.c (print_node_brief): HOST_PTR_PRINTF format wants a
6319 char pointer, not HOST_WIDE_INT.
6320 (print_node): Likewise. Also hash is unsigned long not
6321 HOST_WIDE_INT.
6322
6323 * cse.c (canon_hash): Hash is unsigned long not HOST_WIDE_INT.
6324
c9ec4f99
DM
6325 * explow.c (optimize_save_area_alloca): New function for targets
6326 where SETJMP_VIA_SAVE_AREA is true.
6327 (allocate_dynamic_stack_space): On SETJMP_VIA_SAVE_AREA targets,
6328 compute the amount of stack space needed should we find later that
6329 setjmp is never called by this function, stuff rtl for this inside
6330 a REG_NOTE of the final SET of stack_pointer_rtx.
6331 * toplev.c (rest_of_compilation): If SETJMP_VIA_SAVE_AREA and
6332 current_function_calls_alloca, call optimize_save_area_alloca.
6333
ca097615
JW
6334Sat Jan 17 23:22:59 1998 John Wehle (john@feith.com)
6335
6336 * i386.md: Remove redundant integer push patterns.
6337 Don't bother checking for TARGET_PUSH_MEMORY when
6338 pushing constants or registers.
6339
a3105a89
MK
6340Sat Jan 17 22:35:39 1998 Mumit Khan <khan@xraylith.wisc.edu>
6341 J.J VanderHeijden <J.J.vanderHeijden@student.utwente.nl>
b57062ca 6342
a3105a89
MK
6343 * pexecute.c (pexecute): New function for mingw32. Supports pipes.
6344 (pwait): New function for mingw32.
6345
6346 * gcc.c (execute): Mingw32 pexecute() supports pipes, but cygwin32
6347 pipe support is broken for now.
6348
51549d76
LI
63491998-01-17 Lee Iverson <leei@Canada.AI.SRI.COM>
6350
ffc3503d
JL
6351 * emit_rtl.c (init_emit_once): Ensure that potential aliasing
6352 between frame_pointer_rtx, hard_frame_pointer_rtx, and
6353 arg_pointer_rtx is respected in initialization.
6354 (init_emit_once): Use gen_rtx_raw_REG() to create
6355 return_address_pointer_rtx.
6356
51549d76
LI
6357 * reorg.c: #include "expr.h" for rtx prototypes.
6358 * Makefile.in (reorg.o): Depend on expr.h
6359
b24a815b
PN
6360Sat Jan 17 21:28:08 1998 Pieter Nagel <pnagel@epiuse.co.za>
6361
6362 * Makefile.in (FLAGS_TO_PASS): Pass down gcc_include_dir and
6363 local_prefix to sub-make invocations.
6364
1e7b997a
DM
6365Sat Jan 17 21:24:16 1998 David T. McWherter <dtm@waterw.com>
6366
6367 * objc-parse.c: Recognize protocol qualifiers in class definitions.
6368
340fb41f
JL
6369Sat Jan 17 21:16:19 1998 Jeffrey A Law (law@cygnus.com)
6370
ffc3503d
JL
6371 * rtl.h: Fix typos.
6372
aef28d1d 6373 * acconfig.h (NEED_DECLARATION_ATOL): New declaration to check for.
6885fc87 6374 * configure.in: Check for atol.
aef28d1d
JL
6375 * rtl.c (atol): Only provide the declaration if NEED_DECLARATION_ATOL.
6376
4399e7a3
JL
6377 * rtl.c (read_rtx): Initialize list_rtx to NULL, not NULL_RTX.
6378
72ec635f
JL
6379 * loop.c (find_and_verify_loops): When attempting to move insns from
6380 inside the loop outside the loop, create a BARRIER if no suitable
6381 one was found.
6382
1be6e437
JL
6383 * jump.c (jump_optimize): Remove Dec 17, 1997 chance in
6384 favor of an equivalent change from gcc-2.8.
6385
340fb41f
JL
6386 * i386/x-sco5 (CC): Remove trailing whitespace.
6387
982255c8 6388Sat Jan 17 21:09:46 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
b57062ca 6389
982255c8
KG
6390 * gengenrtl.c (type_from_format): De-ANSIfy function signature.
6391 (accessor_from_format): Likewise.
6392 (xmalloc): New function for use when linking with alloca.o.
6393
db8abea3
BH
6394Mon Jan 5 02:53:01 1998 Bruno Haible <bruno@linuix.mathematik.uni-karlsruhe.de>
6395
6396 * frame.c (find_fde): Correct FDE's upper bound.
6397
5d483f63
RH
6398Fri Jan 16 16:23:52 1998 Richard Henderson <rth@cygnus.com>
6399
6400 * gengenrtl.c (DEF_RTL_EXPR): Provide a K&R compliant version.
6401
9a960e6b
JL
6402Fri Jan 16 10:16:10 1998 Jeffrey A Law (law@cygnus.com)
6403
6404 * calls.c (expand_call): Move #ifdef code out of macro argument
6405 lists.
6406 (emit_library_call, emit_library_call_value): Likewise.
6407
a4b18346
JL
6408Fri Jan 16 00:46:40 1998 Jeffrey A Law (law@cygnus.com)
6409
6410 * rtl.def (INLINE_HEADER): Fix bug exposed by gen_rtx_FOO changes.
6411
a252996a
JL
6412Thu Jan 15 01:02:30 1998 Jeffrey A Law (law@cygnus.com)
6413
6414 * version.c: Bump for snapshot.
6415
38a448ca
RH
6416Wed Jan 14 22:49:17 1998 Richard Henderson <rth@cygnus.com>
6417
6418 * alias.c: Change all uses of gen_rtx(FOO...) to gen_rtx_FOO;
6419 change gen_rtx(expr...) to gen_rtx_fmt_foo(expr...).
6420 * caller-save.c, calls.c, combine.c, cse.c: Likewise.
6421 * dwarf2out.c, except.c, explow.c, expmed.c, expr.c: Likewise.
6422 * final.c, flow.c, function.c, genpeep.c, haifa-sched.c: Likewise.
6423 * halfpic.c, integrate.c, jump.c, local-alloc.c, loop.c: Likewise.
6424 * profile.c, recog.c, reg-stack.c, regclass.c, regmove.c: Likewise.
6425 * reload.c, reload1.c, reorg.c, sched.c, stmt.c, stupid.c: Likewise.
6426 * unroll.c, varasm.c: Likewise.
6427 * config/alpha/alpha.c, config/alpha/alpha.md: Likewise.
6428
6429Wed Jan 14 19:36:08 1998 Gavin Koch (gavin@cygnus.com)
60db002d
GK
6430
6431 * mips.h: Fix some type-o's from a previous change.
6432
a8decb2c
JL
6433Wed Jan 14 01:26:05 1998 Jeffrey A Law (law@cygnus.com)
6434
b57062ca 6435 * loop.c (check_dbra_loop): Make sure initial value is a
a8decb2c
JL
6436 CONST_INT before trying to normalize it.
6437
0e2b736c
RL
6438Tue Jan 13 23:27:54 1998 Robert Lipe (robertl@dgii.com)
6439
6440 * sco5.h (ASM_OUTPUT_SECTION_NAME): Refresh from ../svr4.h.
6441
a3aa3d8c
HB
6442Tue Jan 13 22:47:02 1998 Herman ten Brugge <herman@htbrug.net.HCC.nl>
6443
6444 * cppexp.c: Include gansidecl.h
6445
8b496c8d
ILT
6446Tue Jan 13 22:43:35 1998 Ian Lance Taylor <ian@cygnus.com>
6447
6448 * svr4.h (LINK_SPEC): Never specify -h.
6449 * ptx4.h (LINK_SPEC): Likewise.
6450 * rs6000/sysv4.h (LINK_SPEC): Likewise.
6451 * sparc/sol2.h (LINK_SPEC): Likewise.
6452
c995fea1
RH
6453Tue Jan 13 22:39:40 1998 Richard Henderson (rth@cygnus.com)
6454
8d47dfc5
RH
6455 * c-typeck.c (comptypes): Exit early on NULL input.
6456
c995fea1
RH
6457 * haifa-sched.c (schedule_insns): Correctly remove inter-block
6458 dependencies after reload.
6459
88ea0ad1
FS
6460Tue Jan 13 22:22:31 1998 Franz Sirl <franz.sirl-kernel@lauterbach.com>
6461
6462 * rs6000/linux.h (CPP_PREDEFINES): Add -D__ELF__.
6463
f5e86959
JL
6464Tue Jan 13 22:14:57 1998 Klaus Kaempf <kkaempf@progis.de>
6465
6466 * alpha/vms.h (DIR_SEPARATOR): define
6467
6468Tue Jan 13 22:13:04 1998 Bruno Haible <bruno@linuix.mathematik.uni-karlsruhe.de>
6c32c807
BH
6469
6470 * Makefile.in (stamp-proto): Remove.
6471 (protoize.o, unprotoize.o): Straightforward compile.
6472 * unprotoize.c: Define UNPROTOIZE here, not in the Makefile.
6473
93006f8c
MK
6474Tue Jan 13 21:59:39 1998 Mumit Khan <khan@xraylith.wisc.edu>
6475
6476 * i386/cygwin32.h (STRIP_NAME_ENCODING): Define for Win32 to strip
6477 off the trailing @[NUM] added by ENCODE_SECTION_INFO.
6478
e4c4f8df
JL
6479Tue Jan 13 21:55:06 1998 Jeffrey A Law (law@cygnus.com)
6480
6481 * arm/netbsd.h (DWARF2_UNWIND_INFO): Define as zero for now.
6482 * i386/netbsd.h, m68k/netbsd.h, ns32k/netbsd.h: Likewise.
6483 * sparc/netbsd.h, vax/netbsd.h: Likewise.
6484
4aa0c2a5
SS
6485Tue Jan 13 21:37:07 1998 Shigeya Suzuki <shigeya@foretune.co.jp>
6486
6487 * i386/bsd386.h (DWARF2_UNWIND_INFO): Define as zero for now.
6488
c43143f6
JW
6489Tue Jan 13 17:50:55 1998 Jim Wilson <wilson@cygnus.com>
6490
6491 * configure.in (target_cpu_default, target_cpu_default2): Use double
6492 quotes around them when testing their value.
6493 * configure: Rebuilt.
b57062ca 6494
4b8140a6
JC
6495Tue Jan 13 09:07:44 1998 John Carr <jfc@mit.edu>
6496
6497 * gengenrtl.c (gencode): Emit new function obstack_alloc_rtx
6498 to allocate rtx.
6499 (gendef): Call obstack_alloc_rtx.
6500
82de9b28 6501Tue Jan 13 01:16:36 1998 Robert Lipe (robertl@dgii.com)
fe07d4c1
RL
6502
6503 * configure.in: (i[3456]86-UnixWare7-sysv5): Treat much like SVR4
6504 for now.
6505
23092526 6506Thu Dec 18 18:40:17 1997 Mumit Khan <khan@xraylith.wisc.edu>
b57062ca 6507
23092526
MK
6508 * i386/mingw32.h (INCOMING_RETURN_ADDR_RTX): Delete. Use the value
6509 of DWARF2_UNWIND_INFO, if any, from i386/cygwin32.h instead.
6510 (STANDARD_INCLUDE_DIR): Change to /usr/local/i386-mingw32/include.
6511
b57062ca 6512Tue Jan 13 00:44:02 1998 Jim Wilson <wilson@cygnus.com>
32318600
JW
6513
6514 * mips.md (return_internal): Change mode from SImode to VOIDmode.
6515
ef720b21
KJ
6516Sat Jan 10 22:11:39 1998 J. Kean Johnston <jkj@sco.com>
6517
6518 * i386/sco5.h (STARTFILE_SPEC, ENDFILE_SPEC): Correctly handle
6519 "-static".
6520
cde21847
SC
6521Sat Jan 10 22:04:15 1998 Stan Cox <scox@equinox.cygnus.com>
6522
6523 * i386.md: (movsicc_1, movhicc_1): For alternate 3 set the opcode
6524 suffix from operand 3.
6525
184bb750
R
6526Sat Jan 10 21:50:16 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
6527 Jeffrey A Law (law@cygnus.com)
6528
6529 * regmove.c: New implementation of regmove pass.
6530 * local-alloc.c (optimize_reg_copy_1, optimize_reg_copy_2): Remove
6531 decls, make them have external linkage. Return a value from
6532 optimize_reg_copy_1.
6533 * reload.h (count_occurrences): Add decl.
6534 * reload1.c (count_occurrences): Delete decl, make it have external
6535 linkage.
6536 * rtl.h (optimize_reg_copy_1, optimize_reg_copy_2): Declare.
6537
3f9e9508 6538Sat Jan 10 20:30:12 1998 Jeffrey A Law (law@cygnus.com)
b57062ca 6539
3f9e9508
JL
6540 * regclass.c (record_address_regs): Don't use REG_OK_FOR_BASE_P
6541 if it is not defined.
b57062ca 6542
3b80f6ca
RH
6543Thu Jan 8 21:06:54 1998 Richard Henderson <rth@cygnus.com>
6544
6545 * Makefile.in (OBJ, GEN, RTL_H): Add genrtl.[oh] bits.
6546 * emit-rtl.c (gen_rtx): Move special code to ...
6547 (gen_rtx_CONST_INT): New function.
6548 (gen_rtx_REG): New function.
6549 (*): Update all calls to gen_rtx.
6550 * genemit.c (gen_exp): Emit calls to gen_rtx_FOO for constant FOO.
6551 * rtl.h: Include genrtl.h; prototype CONST_INT & REG generators.
6552 (GEN_INT): Call gen_rtx_CONST_INT.
6553 * gengenrtl.c: New file.
6554
1c72c7f6
JC
6555Mon Jan 5 13:00:18 1998 John F. Carr <jfc@mit.edu>
6556
6557 * alias.c (*_dependence): Call base_alias_check before canon_rtx.
6558 (base_alias_check): If no base found for address call canon_rtx and
6559 try again.
6560
8fa4e1b4
JL
6561Mon Jan 5 11:39:49 1998 Jeffrey A Law (law@cygnus.com)
6562
6563 * mips.c (mips_expand_prologue): Handle large frame with no outgoing
6564 arguments for mips16.
6565 (mips_expand_epilogue): Pass "orig_tsize" to save_restore_insns.
6566 Don't lose if tsize is zero after handling large stack for mips16.
6567 * mips.md (return): For trivial return, return address is in $31.
6568
eb774d8d
NS
6569Sun Jan 4 20:24:00 1998 Nigel Stephens <nigel@algor.co.uk>
6570
6571 * mips/mips16.S: Various changes to make it work with -msingle-float
6572 and -EL.
6573
2bcb2ab3
GK
6574Sun Jan 4 14:25:18 1998 Gavin Koch <gavin@cygnus.com>
6575 Ian Lance Taylor <ian@cygnus.com>
6576 Jeff Law <law@cygnus.com>
6577
6578 * mips.c, mips.h, mips.md: First cut at merging in mips16
6579 support. Major modifications throughout all three files.
6580
db0d1ed9
SS
6581Sun Jan 4 01:01:50 1998 scott snyder <snyder@d0sgif.fnal.gov>
6582
6583 * configure.in: Make gthr-default.h a forwarding header instead of
6584 a symlink.
6585
79873958
KG
6586Sat Jan 3 12:08:06 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
6587
86e011ad
KG
6588 * gcov-io.h: Include sys/types.h to ensure we get size_t.
6589
79873958
KG
6590 * pa.h (ASM_OUTPUT_MI_THUNK): Add missing % in fprintf.
6591
35a42f5f
JW
6592Fri Jan 2 23:40:09 1998 Jim Wilson (wilson@cygnus.com)
6593 Jeffrey A Law (law@cygnus.com)
6594
6595 * crtstuff.c (__frame_dummy): New function for irix6.
6596 (__do_global_ctors): Call __frame_dummy for irix6.
6597 * iris6.h (LINK_SPEC): Hide __frame_dummy too.
6598
ef86d2ee
WL
6599Fri Jan 2 04:57:57 1998 Weiwen Liu <liu@hepmail.physics.yale.edu>
6600
6601 * alpha.c (vms_valid_decl_attribute_p): Move within #if OPEN_VMS.
6602
6c174fc0
RH
6603Fri Jan 2 04:34:14 1998 Richard Henderson <rth@cygnus.com>
6604
6605 * c-decl.c (init_decl_processing): Provide proper fallback symbol
6606 for __builtin_memset.
6607 * expr.c (expand_builtin) [MEMSET]: Arg 3 type code is INTEGER_TYPE
6608 not INTEGER_CST. Assert arg 3 is a constant.
6609
6610 * alpha.c (mode_width_operand): Accept 64-bit modes.
6611 (mode_mask_operand): Likewise.
6612 (print_operand): Likewise for 'M' and 'U' codes.
6613 (alpha_expand_unaligned_load): New function.
6614 (alpha_expand_unaligned_store): Likewise.
6615 (alpha_expand_unaligned_load_words): Likewise.
6616 (alpha_expand_unaligned_store_words): Likewise.
6617 (alpha_expand_block_move): Likewise.
6618 (alpha_expand_block_clear): Likewise.
6619 * alpha.h (MOVE_RATIO): New define.
6620 * alpha.md (extxl, ext*h, ins*l, mskxl): Name them.
6621 (insql, insxh, mskxh, extv, extzv, insv, movstrqi, clrstrqi): New.
6622
6623 * alpha.h (ASM_OUTPUT_LOOP_ALIGN, ASM_OUTPUT_ALIGN_CODE): Set to 3.
6624 (CONSTANT_ALIGNMENT, DATA_ALIGNMENT): Disable.
6625
8fbf199e
RH
6626Thu Jan 1 15:40:15 1998 Richard Henderson <rth@cygnus.com>
6627
6628 * configure.in: Put parenthesis around TARGET_CPU_DEFAULT's value.
6629 * configure: Update.
6630
2d490e3e
JL
6631Thu Jan 1 10:49:12 1998 Jeffrey A Law (law@cygnus.com)
6632
aa2ae679
JL
6633 * emit-rtl.c (operand_subword): Correctly handle extracting a word
6634 from a CONST_DOUBLE for 16bit targets with !WORDS_BIG_ENDIAN.
6635
2d490e3e
JL
6636 * mn10200.md (tstxx, cmpxx): Use "nonimmediate_operand" as predicate
6637 for first argument.
6638
6e26218f
ILT
6639Wed Dec 31 14:42:18 1997 Ian Lance Taylor <ian@cygnus.com>
6640
6641 * configure.in: Set and subsitute host_exeext. Use it when creating
6642 the assembler and linker symlinks.
6643 * configure: Rebuild.
6644 * Makefile.in (exeext): Set to @host_exeext@.
6645 (build_exeext): New variable, set to @build_exeext@.
6646 (FLAGS_TO_PASS): Pass down build_exeext.
6647 (STAGESTUFF): Use build_exeext, not exeext, for gen* and bi*
6648 programs.
6649
1b31097e
JL
6650Wed Dec 31 10:05:44 1997 Jeffrey A Law (law@cygnus.com)
6651
6652 * mn10200.md (addsi3, subsi3): Fix thinkos.
6653
194faace
RH
6654Tue Dec 30 00:04:49 1997 Richard Henderson <rth@cygnus.com>
6655
6656 * sparc.h (ASM_OUTPUT_MI_THUNK): Move %o7 through %g1 instead of
6657 save+restore. Fix pic+big_offset delay slot. Use "pic" case for
6658 unix always, since we want to be able to thunk to functions in a
6659 shared library from an application.
6660
975602f8
ILT
6661Mon Dec 29 14:37:31 1997 Ian Lance Taylor <ian@cygnus.com>
6662
6663 * mips/t-ecoff (CROSS_LIBGCC1): Define to libgcc1-asm.a.
6664 (LIB1ASMSRC, LIB1ASMFUNCS): Define.
6665
0eb1ad44
JL
6666Mon Dec 29 14:03:38 1997 Jeffrey A Law (law@cygnus.com)
6667
6668 * expr.c (expand_expr): For {BITFIELD,COMPONENT,ARRAY}_REF, if the
6669 offset's mode is not ptr_mode, convert it.
6670
eff0f7ac
MM
6671Mon Dec 29 15:58:18 1997 Michael Meissner <meissner@cygnus.com>
6672
6673 * libgcc2.c (inhibit_libc): Don't define inhibit_libc when cross
6674 compiling if it was already defined.
6675
2c3a56ad
JL
6676Sun Dec 28 00:32:16 1997 Jeffrey A Law (law@cygnus.com)
6677
6678 * flow.c (find_basic_blocks): Don't create a new basic block
6679 for calls in a LIBCALL block.
6680
fc97718f
DE
6681Sun Dec 28 00:30:24 1997 David Edelsohn <edelsohn@mhpcc.edu>
6682
6683 * config/fp-bit.c (L_df_to_sf): Fix typo in last change.
6684
5b5a2a1e
JL
6685Sat Dec 27 22:43:12 1997 Jeffrey A Law (law@cygnus.com)
6686
6687 * cse.c (rtx_cost): Remove conflicting default case.
6688
128f7968
RH
6689Sat Dec 27 21:20:02 1997 Richard Henderson <rth@cygnus.com>
6690
6691 * configure.in: Move default enabling of Haifa out of for loop.
6692 * configure: Rebuild.
6693
e81b4fbe
JL
6694Thu Dec 25 01:02:54 1997 Jeffrey A Law (law@cygnus.com)
6695
6696 * version.c: Bump for snapshot.
6697
f24af81b
TT
66981997-12-25 Teemu Torma <tot@trema.com>
6699
6700 * Makefile.in (GTHREAD_FLAGS): New var.
6701 (LIBGCC2_CFLAGS): Added $(GTHREAD_FLAGS).
6702 (distclean): Remove gthr-default.h.
6703
6704 * configure.in: Accept dce as a thread package.
6705 Check for thread.h and pthread.h.
6706 Link gthr-default.h to appropriate thread file and set
6707 gthread_flags.
6708 (hppa1.1-*-hpux10*): If --enable-threads, use dce threads and
6709 include multilib definitions from pa/t-dce-thr.
6710 (sparc-*-solaris2*): Enable threads by default, if thread.h or
6711 pthread.h is found, preferring posix threads over solaris ones.
6712
6713 * config/pa/t-dce-thr: New file.
6714 * config/pa/t-pa: Removed multilibs.
6715 * config/sparc/t-sol2: Ditto.
b57062ca 6716
f24af81b
TT
6717 * gthr.h: New file.
6718 * gthr-single.h: New file.
6719 * gthr-posix.h: New file.
6720 * gthr-solaris.h: New file.
6721 * gthr-dce.h: New file.
6722 * libgcc-thr.h: Removed.
6723 * objc/thr-dce.c: New file copied from thr-decosf1.c.
6724
6725 * frame.c: Include gthr.h instead of libgcc-thr.h.
6726 * libgcc2.c: Include gthr.h instead of libgcc-thr.h.
6727 (eh_context_initialize): If __gthread_once fails, use static eh
6728 context.
6729 (eh_context_free): Call __gthread_key_dtor.
6730
d9a4ee00
JL
6731Wed Dec 24 23:33:17 1997 Jeffrey A Law (law@cygnus.com)
6732
6733 * expr.h (MUST_PASS_IN_STACK): Allow target port to override.
6734
04bd620d
JW
6735Wed Dec 24 23:12:14 1997 Jim Wilson <wilson@cygnus.com>
6736
556c714b 6737 * cse.c (max_insn_uid): New variable.
556c714b
JW
6738 (cse_around_loop): Use max_insn_uid.
6739 (cse_main): Set max_insn_uid.
6740
04bd620d
JW
6741 * abi64.h (LONG_MAX_SPEC): Check MIPS_ABI_DEFAULT and TARGET_DEFAULT,
6742 and define __LONG_MAX__ appropriately. Add support for -mabi=X,
6743 -mlong64, and -mgp{32,64} options.
6744 * mips.c (mips_abi): Change type to int.
6745 * mips.h (enum mips_abi_type): Delete.
6746 (ABI_32, ABI_N32, ABI_64, ABI_EABI): Define as constants.
6747 (mips_abi): Change type to int.
6748
439d5a35
JC
6749Wed Dec 24 22:38:34 1997 John Carr <jfc@mit.edu>
6750
6751 * flags.h, toplev.c, calls.c, alias.c: Remove flag_alias_check;
6752 optimization is now always enabled.
6753
6754 * calls.c (expand_call): Recognize C++ operator new as malloc-like
6755 function.
6756
6757 * alias.c (memrefs_conflict_p): Eliminate tests now done by
6758 base_alias_check.
6759 (*_dependence): Call canon_rtx before base_alias_check.
6760 (init_alias_once): New function to precompute set of registers which
6761 can hold Pmode function arguments.
6762
6763 * rtl.h: Declare init_alias_once.
6764
6765 * toplev.c (compile_file): Call init_alias_once.
6766
280e521f
JL
6767Wed Dec 24 22:34:55 1997 Jeffrey A Law (law@cygnus.com)
6768
6769 * tree.c (restore_tree_status): Do not dereference a null pointer.
6770
95b8c0c8
PE
6771Tue Dec 23 12:56:46 1997 Paul Eggert <eggert@twinsun.com>:
6772
6773 * genattrtab.c (main): Check HAVE_{G,S}ETRLIMIT in addition to
6774 RLIMIT_STACK. This maintains consistency with the recent, similar
6775 patch to cccp.c and toplev.c.
6776
71d9b493
RH
6777Tue Dec 23 05:17:28 1997 Richard Henderson <rth@cygnus.com>
6778
6779 * genattrtab.c (expand_units): For large nr opclasses, expand
6780 function_units_used with ORX to prevent blowups. Tag with FFS.
6781 (num_unit_opclasses): New variable.
6782 (gen_unit): Update it.
6783 (enum operator): Add ORX_OP.
6784 (operate_exp): Treat ORX as or, except don't expand across an if.
6785 Reuse number rtx's after operating on them.
6786 (check_attr_value): Accept IOR, AND, & FFS.
6787 (write_test_expr): Transmute `in_comparison' to `flags'. Allow
6788 for attribute value caching. Handle CONST_STRING, IF_THEN_ELSE.
6789 (write_expr_attr_cache, write_toplevel_expr): New functions.
6790 (write_attr_get): Handle FFS-tagged expressions.
6791 (make_canonical): Don't expand const attributes.
6792 (convert_const_symbol_ref): Dike out.
6793 (evaluate_eq_attr): Handle SYMBOL_REF.
6794 (main): Don't emit get_attr_foo for const attributes.
6795
6796 * alpha.c (override_options): Reinstate PROCESSOR_EV6.
6797 (alpha_adjust_cost): Add EV6 tuning; streamline EV5 tests.
6798 * alpha.h (REGISTER_MOVE_COST): Increase ftoi/itof cost slightly.
b57062ca
UD
6799 * alpha.md: Redo all of the scheduling, adding EV6 support, and
6800 combining function units where possible.
71d9b493
RH
6801 (attr "type"): Split loads, stores, cmov into int/fp. Combine
6802 multiplies and divides. Add EV6 sqrt, ftoi, itof.
6803 (attr "opsize"): New attribute.
6804 (sqrtsf2-1, sqrtdf2-1): Provide proper TP_INSN patterns.
6805 (movsf2-[12], movdf2-[12]): Provide CIX varients; don't allow CIX
6806 to control register allocation.
6807 (movsi2-1, movdi2-1): Likewise.
6808
b0435cf4 6809Tue Dec 23 03:53:21 1997 Richard Henderson <rth@cygnus.com>
b57062ca 6810
b0435cf4
RH
6811 * alpha.h (CPP_PREDEFINES, LIB_SPEC, LINK_SPEC, STARTFILE_SPEC,
6812 MD_STARTFILE_PREFIX, ASM_FILE_START, ASM_SPEC, ASM_FINAL_SPEC):
6813 Move OSF/1 specific defines out.
6814 * alpha/elf.h (TARGET_VERSION, CPP_PREDEFINES, DEFAULT_VTABLE_THUNKS):
6815 Move Linux specific defines out.
6816 (LINK_SPEC): Genericize.
6817 (ASM_FILE_START): Emit .arch if using more than the base insn set.
6818 (ASM_OUTPUT_SOURCE_LINE): Remove; identical to alpha.h version.
6819 (SDB_DEBUGGING_INFO): Remove; gas can't handle it.
6820 (HANDLE_SYSV_PRAGMA): Define.
6821 * alpha/osf.h: New file.
6822 * alpha/linux.h: Split. Retain file-format independant defines.
6823 Import Linux bits from elf.h.
6824 (CPP_PREDEFINES): Take a file-format specific SUB_CPP_PREDEFINES
6825 (FUNCTION_PROFILER): _mcount takes its address in $28.
6826 (MD_EXEC_PREFIX, MD_STARTFILE_PREFIX): Remove undef.
6827 * alpha/linux-ecoff.h: New file.
6828 * alpha/linux-elf.h: New file.
6829 * alpha/vms.h (LIB_SPEC, LINK_SPEC): Copy from osf.h.
6830 * alpha/win-nt.h (TARGET_DEFAULT): Define.
6831 * configure.in (alpha*-*-osf*, alpha*-*-linux*) [tm_file]:
6832 Add new headers as appropriate.
b57062ca 6833
b0435cf4
RH
6834 * configure.in (alpha*): Enable Haifa by default.
6835 (*-*-winnt3*): Change to winnt*, since we're not v3 specific.
6836 * configure: Rebuild.
b57062ca 6837
5768f211
RH
6838Tue Dec 23 03:14:54 1997 Richard Henderson <rth@cygnus.com>
6839
6840 * Makefile.in (clean): Remove the stages with their objects here ...
6841 (distclean): ... instead of here.
6842
9e04c65a 6843Mon Dec 22 11:24:01 1997 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
b57062ca 6844
9e04c65a
KG
6845 * cse.c (rtx_cost): Add default case in enumeration switch.
6846 * fix-header.c (recognized_macro): Likewise.
6847 (recognized_extern): Likewise.
6848 (write_rbrac): Likewise.
6849 * objc/objc-act.c (encode_aggregate): Likewise.
6850 (gen_declarator): Likewise.
6851 (gen_declspecs): Likewise.
6852
1d88b804
JL
6853Mon Dec 22 09:58:51 1997 Jeffrey A Law (law@cygnus.com)
6854
6855 * haifa-sched.c (create_reg_dead_note): Detect and handle another
6856 case where we kill more regs after sched than were killed before
6857 sched.
6858 * sched.c (create_reg_dead_note): Similarly.
6859
bbeba0ba
JL
6860Mon Dec 22 09:18:37 1997 Jeffrey A Law (law@cygnus.com)
6861
6862 * c-pragma.c: Include flags.h.
6863
05853640
MK
6864Sun Dec 21 22:10:59 1997 Mumit Khan <khan@xraylith.wisc.edu>
6865
6866 * i386/cygwin32.h (NO_IMPLICIT_EXTERN_C): Don't assume anything
6867 about system headers.
6868 (LIB_SPEC): Add -ladvapi32 -lshell32 to be consistent with mingw32
6869 and also to resolve symbols in prefix.c.
6870
6871 * i386/xm-cygwin32.h (HAVE_BCOPY): Define. This avoids a conflict
6872 between gansidecl.h and newlib's _ansi.h when building libgcc2.a,
6873 when the definitions in auto-config.h is not visible.
6874 (HAVE_BZERO): Likewise.
6875 (HAVE_BCMP): Likewise.
6876 (HAVE_RINDEX): Likewise.
6877 (HAVE_INDEX): Likewise.
6878
44201dba
JL
6879Sun Dec 21 21:54:22 1997 Jeffrey A Law (law@cygnus.com)
6880
6881 * pa.c (emit_move_sequence): Handle a function label source
6882 operand.
6883
d300e551
NC
6884Sun Dec 21 16:13:55 1997 Nick Clifton <nickc@cygnus.com
6885
6886 * c-pragma.c (handle_pragma_token): Generate warning messages
6887 about unknown pragmas if warn_unknown_pragmas is set.
6888
6889 * c-decl.c (c_decode_option): Parse -Wunknown-pragmas command
6890 line option to set variable: warn_unknown_pragmas.
6891
d3245704
MH
6892Sun Dec 21 15:51:10 1997 Manfred Hollstein <manfred@lts.sel.alcatel.de>
6893
6894 * m68k/mot3300.h (ASM_BYTE_OP): Don't include '\t' in the
6895 definition.
6896 (ASM_OUTPUT_ASCII): Prefix ASM_BYTE_OP by one single '\t'.
6897
5198352e
JL
6898Sun Dec 21 13:58:39 1997 Jeffrey A Law (law@cygnus.com)
6899
6900 * Makefile.in (FPBIT_FUNCS, DPBIT_FUNCS): Define.
6901 (libgcc2.a): Depend on $(DPBIT) and $(FPBIT). Add rules to
6902 generate more fine grained floating point emulation libraries.
6903 * config/fp-bit.c: Add protecting #ifdef to all functions so
6904 that they can be compiled separately. If !FINE_GRAINED_LIBRARIES,
6905 then compile all suitable functions.
6906 (pack_d, unpack_d, fpcmp_parts): Add declarations, define with two
6907 underscores to avoid namespace pollution.
6908 * t-mn10200 (LIB2FUNCS_EXTRA): Remove fp-bit.c
6909 (FPBIT): Define.
6910 * t-mn10300 (LIB2FUNCS_EXTRA): Remove fp-bit.c and dp-bit.c
6911 (FPBIT): Define.
6912 (DPBIT): Define.
6913
9f1ff8e8 6914Sat Dec 20 11:26:47 1997 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1d300e19
KG
6915 Jeff Law <law@cygnus.com>
6916
6917 * bitmap.c (bitmap_clear): Ensure `inline' is at the beginning
6918 of the declaration.
6919 * c-decl.c (finish_decl): Use parentheses around && within ||.
6920 * rtl.c: Include stdlib.h.
6921 (read_skip_spaces): Add parentheses around assignments used as
6922 truth values.
6923 (read_rtx): Initialize list_rtx.
6924 * cppexp.c (parse_number): Use || when operands are truth values.
6925 * alias.c (find_base_value): Add default case.
6926 (memrefs_conflict): Likewise.
6927 * combine.c (sets_function_arg_p): Likewise.
6928 * genemit.c (gen_exp): Likewise.
6929 * local-alloc.c (contains_replace_regs): Likewise.
6930 * rtlanal.c (jmp_uses_reg_or_mem): Likewise.
6931 * fold-const.c (fold_convert): Use "&&" for truth values.
6932 (fold): Add default case.
6933 * sdbout.c (sdbout_field_types): Fix typo in declaration.
6934 (sdbout_one_type): Add default case.
6935 * alpha.c (alpha_sa_mask): Prototype only if OPEN_VMS.
6936 (some_operand): Add default case.
6937 (input_operand): Likewise.
6938 (signed_comparison_operator): Likewise.
6939 (divmod_operator): Likewise.
6940 (alpha_set_memflags_1): Likewise.
6941 * reload1.c (reload_cse_simplify_operands): Ensure function
6942 always returns a value.
6943 * scan-decls.c (scan_decls): Likewise.
6944 * c-lex.c (skip_white_space): Fix typo in declaraion.
6945 * c-typeck.c (comp_target_types): Add parentheses around assignment
6946 used as truth value.
6947 (print_spelling): Likewise.
6948 (constructor_implicit, constructor_result): Remove unused variables.
6949 * collect2.c (scan_library): Protect prototype with
6950 #ifdef SCAN_LIBRARIES.
6951 * emit-rtl.c (find_line_note): Fix typo in declaration.
b57062ca 6952 * final.c (asm_insn_count): Protect prototype with
1d300e19
KG
6953 #ifdef HAVE_ATTR_length.
6954 * flow.c (find_auto_inc): Protect prototype with #ifdef AUTO_INC_DEC.
6955 (try_pre_increment_1, try_pre_increment): Likewise.
6956 * regclass.c (auto_inc_dec_reg_p): Protect prototype with
6957 #ifdef FORBIDDEN_INC_DEC_CLASSES. Make return type explicit.
6958 * gcov-io.h (__store_long, __write_long, __read_long): Fix
6959 unsigned/signed comparisons.
6960 * gcov.c (read_files): Remove unused "first_type" variable.
6961 (scan _for_source_files): Initialize s_ptr.
6962 (function_summary): Eliminate "%lf" formatting, use %ld for
6963 longs.
6964 (output_data): Initialize branch_probs and last_line_num.
6965 Eliminate "%lf" formatting, use "%ld" for longs.
6966
18543a22
ILT
6967Fri Dec 19 17:31:11 1997 Ian Lance Taylor <ian@cygnus.com>
6968
afba61d1
ILT
6969 * mips16.S: New file.
6970
6971 * libgcc2.c (varargs): Handle mips16.
6972
18543a22
ILT
6973 * expr.c (do_tablejump): Let CASE_VECTOR_PC_RELATIVE be an
6974 expression.
6975 * stmt.c (expand_end_case): Likewise.
6976 * alpha.h (CASE_VECTOR_PC_RELATIVE): Update.
6977 * fx80.h, gmicro.h, m68k.h, m88k.h, ns32k.h: Likewise.
33f7f353 6978 * rs6000.h, sh.h, tahoe.h, v850.h, vax.h: Likewise.
18543a22 6979
dbf3231e
AS
6980Tue Dec 16 15:14:09 1997 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
6981
6982 * objc/Make-lang.in: Create runtime-info.h and libobjc_entry.o in
6983 the build directory.
6984 (libobjc.a): Update dependency list.
6985 (libobjc.dll): Likewise. Use libobjc_entry.o from the build
6986 directory.
6987 (objc/sendmsg.o): Add -Iobjc to find runtime-info.h.
6988 (objc.mostlyclean): Remove runtime-info.h.
6989
e1ee5cdc
RH
6990Fri Dec 19 00:19:42 1997 Richard Henderson <rth@cygnus.com>
6991
6992 * tree.c (build_range_type): Allow creation of ranges with no maximum.
6993 * dbxout.c (dbxout_range_type): Handle missing TYPE_MAX_VALUE.
6994 * dwarf2out.c (add_subscript_info): Likewise.
6995 * dwarfout.c (subscript_data_attribute, byte_size_attribute): Likewise.
6996 * sdbout.c (plain_type_1): Likewise.
6997 * stmt.c (pushcase_range, all_cases_count, node_has_high_bound):
6998 Likewise.
6999 * fold-const.c (int_const_binop, fold_convert, make_range, fold):
7000 Likewise.
7001
dfe91418 7002Thu Dec 18 17:05:10 1997 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
b57062ca 7003
dfe91418
JL
7004 * mips.c (fatal): Remove declaration.
7005
70061997-12-18 Mark Mitchell <mmitchell@usa.net>
7007
7008 * integrate.c (get_label_from_map): New function.
7009 (expand_inline_function): Use it. Initialize the label_map to
7010 NULL_RTX instead of gen_label_rtx.
7011 (copy_rtx_and_substitute): Use get_label_from_map.
7012 * integrate.h (get_label_from_map): New function.
7013 (set_label_from_map): New macro.
7014 * unroll.c (unroll_loop): Use them.
7015 (copy_loop_body): Ditto.
7016
337e2b69
ILT
7017Thu Dec 18 19:19:57 1997 Ian Lance Taylor <ian@cygnus.com>
7018
7019 * mips/mips.h (INIT_SUBTARGET_OPTABS): Define if not defined.
7020 (INIT_TARGET_OPTABS): Define.
7021 * mips/ecoff.h: Include gofast.h before mips.h.
7022 (INIT_SUBTARGET_OPTABS): Define instead of INIT_TARGET_OPTABS.
7023 * mips/elf64.h: Likewise.
7024 * mips/elf.h (ASM_OUTPUT_SECTION_NAME): Define.
7025
02531345
JM
7026Thu Dec 18 14:51:12 1997 Jason Merrill <jason@yorick.cygnus.com>
7027
7028 * except.c: Remove register_exception_table{,_p}.
7029
913b5d54
GK
7030Thu Dec 18 14:57:29 1997 Gavin Koch <gavin@cygnus.com>
7031
efb84aa5
GK
7032 * unroll.c (calculate_giv_inc): Handle constant increment found in
7033 a MEM with an appropriate REG_EQUAL note.
7034
bb1b857a
GK
7035 * calls.c (expand_call): Implement LOAD_ARGS_REVERSED.
7036
913b5d54
GK
7037 * dwarf2out.c (dwarf2out_frame_debug): Handle adjustments of the
7038 frame pointer in the prologue.
7039
80aab652
RL
7040Thu Dec 18 00:19:38 1997 Robert Lipe <robertl@dgii.com>
7041
7042 * i386/x-sco5 (CLIB) Deleted. (ALLOCA) Added.
7043 * i386/xm-sco5.h (USE_C_ALLOCA) Added.
7044
f5c4bc60 7045Tue Dec 16 18:51:00 1997 Bill Moyer <billm@cygnus.com>
b57062ca 7046
f5c4bc60
BM
7047 * config/m68k/m68k.c (output_function_prologue): Typecast
7048 dwarf2out_cfi_label to (char *).
7049 * config/m68k/m68kemb.h (STARTFILE_SPEC): Redefined to "".
b57062ca 7050
8dcb5295
RH
7051Wed Dec 17 15:06:04 1997 Richard Henderson <rth@cygnus.com>
7052
7053 * sparc.md (jump): Don't use the annul bit around an empty loop.
7054 Patch from Kevin.Kelly@East.Sun.COM.
7055
a99503b1
SC
7056Wed Dec 17 00:51:36 1997 Stan Cox (scox@cygnus.com)
7057
b57062ca 7058 * jump.c: (jump_optimize): Don't use the return register as a
a99503b1
SC
7059 source1 of a conditional move.
7060
e13c943c
RH
7061Tue Dec 16 23:45:40 1997 Richard Henderson <rth@cygnus.com>
7062
7063 * sparc.c (DF_MODES): Or the mask not the bit number.
7064 (function_arg) [ARCH64]: Send unprototyped arg to fp reg first.
7065
be3d27d6
CI
7066Wed Dec 17 00:13:48 1997 Christian Iseli <Christian.Iseli@lslsun.epfl.ch>
7067
7068 * combine.c (force_to_mode): return immediately if operand is a CLOBBER.
7069
f184a264
MH
7070Tue Dec 16 23:44:54 1997 Manfred Hollstein <manfred@s-direktnet.de>
7071
ade7386a
MH
7072 * fixincludes (size_t): Add support for Motorola's stdlib.h
7073 which fails to provide a definition for size_t.
7074 (fabs/hypot): Provide a prototype for fabs on m88k-motorola-sysv3.
7075 (strlen,strspn,strcspn return value): Handle different layout on sysV88.
7076 (hypot): Provide a fake for hypot for m88k-motorola-sysv3.
7077
f184a264
MH
7078 * m68k/xm-mot3300.h (ADD_MISSING_POSIX, ADD_MISSING_XOPEN): Define to
7079 prevent unresolved externals in libio.
7080 * m88k/xm-sysv3.h (ADD_MISSING_POSIX, ADD_MISSING_XOPEN): Likewise.
7081
afc96791
L
7082Tue Dec 16 23:25:45 1997 H.J. Lu (hjl@gnu.org)
7083
7084 * config/sparc/linux64.h (LIBGCC_SPEC): Removed.
7085 (CPP_SUBTARGET_SPEC): Add %{pthread:-D_REENTRANT}.
7086 (LIB_SPEC): Updated for glibc 2.
7087
e9818f3c
JL
7088Tue Dec 16 20:11:36 1997 Jeffrey A Law (law@cygnus.com)
7089
7090 * ginclude/stdarg.h: Undo BeOS changes, they break hpux.
7091 * ginclude/varargs.h: Likewise.
7092
a3fd4e75 7093Tue Dec 16 00:32:01 1997 Jeffrey A Law (law@cygnus.com)
520cd331
JL
7094
7095 * version.c: Bump for snapshot.
7096
a3fd4e75
JL
7097Tue Dec 16 00:14:29 1997 H.J. Lu (hjl@gnu.org)
7098
7099 * frame.h (__register_frame, __register_frame_table,
7100 __deregister_frame): New.
7101 * frame.c (__register_frame, __register_frame_table,
7102 __deregister_frame): New.
7103 * frame.c (__deregister_frame_info): Return void *.
7104 * frame.h (__deregister_frame_info): Ditto.
7105 * collect2.c (__deregister_frame_info): Ditto.
7106
166cdf4a
RH
7107Mon Dec 15 18:40:08 1997 Richard Henderson <rth@cygnus.com>
7108
7109 * expmed.c (expand_shift): If SHIFT_COUNT_TRUNCATED, drop a SUBREG.
7110
bcbbac26
RH
7111Mon Dec 15 18:31:43 1997 Richard Henderson <rth@cygnus.com>
7112
7113 * alpha.c (alpha_cpu_name): New variable.
7114 (alpha_mlat_string): Likewise.
7115 (alpha_memory_latency): Likewise.
7116 (override_options): Handle -mmemory-latency.
7117 (alpha_adjust_cost): Adjust load cost for latency.
7118 * alpha.h (TARGET_OPTIONS): Add meory-latency.
7119 (REGISTER_MOVE_COST): Define in terms of memory_latency. Take
7120 TARGET_CIX into account.
7121 (MEMORY_MOVE_COST): Define in terms of memory_latency.
7122 * invoke.texi (DEC Alpha Options): Document -mmemory-latency.
7123
7124 * alpha.h (ASM_COMMENT_START): New macro.
7125
7126Mon Dec 15 17:48:05 1997 Richard Henderson <rth@cygnus.com>
1914f5da
RH
7127
7128 * reload.h, reload1.c (eliminate_regs), caller-save.c, dbxout.c,
7129 dwarfout.c, dwarf2out.c, reload.c, sdbout.c: Revert March 15 change.
7130
7131 * reload.c (push_reload): If WORD_REGISTER_OPERATIONS, reload the
7132 SUBREG_REG if the word count is unchanged.
7133 * reload1.c (eliminate_regs) [case SET]: If W_R_O, preserve
7134 subregs of identical word size for push_reload.
7135
a701efba
MM
7136Mon Dec 15 Mark Mitchell <mmitchell@usa.net> 11:41:32 1997
7137
7138 * toplev.c (rest_of_compilation): Don't call save_for_inline_copy
7139 if all we're doing is dealing with -Wreturn-type.
7140
5e21ac7a
RH
7141Mon Dec 15 09:44:39 1997 Richard Henderson <rth@cygnus.com>
7142
7143 * alpha.md (zero_extendqihi2, zero_extendqisi2, zero_extendqidi2):
7144 Use and 255 instead of zapnot 1, since it schedules better.
7145
296f8acc
JL
7146Mon Dec 15 08:48:24 1997 Jeffrey A Law (law@cygnus.com)
7147
7148 * stmt.c (expand_asm_operands): If an ASM has no outputs, then treat
7149 it as volatile.
7150
6d8ccdbb
JL
7151Mon Dec 15 00:04:48 1997 Jeffrey A Law (law@cygnus.com)
7152
7153 * haifa-sched.c (remove_dependencies): Set RTX_INTEGRATED_P on
7154 dependency we delete. Properly update prev for multiple consecutive
7155 deletions.
7156 (priority): Skip deleted dependence.
7157
14e83f2e
PB
7158Fri Dec 12 18:54:23 1997 Per Bothner <bothner@cygnus.com>
7159
7160 * expr.c (expand_builtin): Support BUILT_IN_FMOD - just call fmod.
7161
100d81d4
JM
7162Fri Dec 12 01:19:48 1997 Jason Merrill <jason@yorick.cygnus.com>
7163
9b8d9d6b
JM
7164 * flow.c (flow_analysis): Be consistent with find_basic_blocks in
7165 determining when a new basic block starts.
7166
74c3447c
JM
7167 * alpha/osf2or3.h (LIB_SPEC): Restore missing defn.
7168
7169 * pa.h (TEXT_SPACE_P): Use TREE_CODE_CLASS.
7170 * pa.md (iorsi3): Add missing args to *_operand calls.
7171
100d81d4
JM
7172 * except.c (call_get_eh_context): Don't mess with sequences.
7173 (emit_eh_context): Include the call in the sequence here.
7174
5a5ab947
PE
71751997-12-11 Paul Eggert <eggert@twinsun.com>
7176
7177 * collect2.c (write_c_file_glob): Allocate initial frame object
7178 in static storage and pass its address.
7179
01eb7f9a
JM
7180Thu Dec 11 23:33:48 1997 Jason Merrill <jason@yorick.cygnus.com>
7181
7182 * except.c (call_get_eh_context): Don't take a parm.
7183 Put the call at the top of the function.
7184 (emit_eh_context): Adjust.
7185 (get_eh_context): Replace with former use_eh_context.
7186 (get_eh_context_once, get_saved_pc_ref): Remove.
7187 (start_eh_unwinder, end_eh_unwinder, emit_unwinder): Remove.
7188 * except.h: Adjust.
7189 * integrate.c (expand_inline_function): Adjust.
7190 * toplev.c (rest_of_compilation): Don't call emit_unwinder.
7191
d19814a3
ML
7192Fri Oct 10 17:58:31 CEST 1997 Marc Lehmann <pcg@goof.com>
7193
7194 * i386/xm-go32.h (EXECUTABLE_SUFFIX): Define.
7195 (DIR_SEPARATOR, NO_SYS_SIGLIST): Likewise.
7196
7567d496
MH
7197Thu Dec 11 23:55:17 1997 Manfred Hollstein <manfred@s-direktnet.de>
7198
ade7386a 7199 * fixincludes (strlen,strspn,strcspn return value): Handle different
7567d496 7200 layout on sysV88.
b57062ca 7201 (hypot): Provide a fake for hypot which is broken on
7567d496
MH
7202 m88k-motorola-sysv3.
7203
0a6969ad
JC
7204Thu Dec 11 23:50:17 1997 John F. Carr <jfc@mit.edu>
7205
7206 * tree.c, tree.h: Change tree_code_type, tree_code_length, and
7207 tree_code_name from pointers to arrays.
7208 * tree.c: Remove standard_tree_code_* variables, no longer used.
7209 * print-tree.c: Remove declaration of tree_code_name.
7210
7211 * cp/lex.c (init_lex): Update for tree_code_* changes.
7212 * objc/objc-act.c (init_objc): Likewise.
7213
7214 * tree.def, cp/cp-tree.def, objc/objc-tree.def: Update for tree_code
7215 changes.
7216
c55dcc7d
FF
7217Thu Dec 11 23:34:54 1997 Fred Fish <fnf@ninemoons.com>
7218
7219 * config.sub: Add support for BeOS target.
7220 * configure.in: Likewise.
7221 * ginclude/stdarg.h: Likewise.
7222 * ginclude/stddef.h: Likewise.
7223 * ginclude/varargs.h: Likewise.
7224 * rs6000/beos.h: New file for BeOS.
7225 * rs6000/t-beos: Likewise.
7226 * rs6000/x-beos: Likewise.
7227 * rs6000/xm-beos.h: Likewise.
7228 * toplev.c (get_run_time): Just return 0 on BeOS.
7229
9cf3ae46
JL
7230Thu Dec 11 23:25:23 1997 Jeffrey A Law (law@cygnus.com)
7231 Toon Moene (toon@moene.indiv.nluug.nl)
7232
7233 * m68k.h (GO_IF_LEGITIMATE_ADDRESS): No longer cater to horribly
7234 old and broken Sun3 assemblers. Newer versions handle large
7235 offsets correctly as does the GNU assembler.
7236
7cc273ad
L
7237Thu Dec 11 23:06:48 1997 H.J. Lu (hjl@gnu.ai.mit.edu)
7238
7239 * objc/objc-act.c (lang_report_error_function): Disable.
7240 * objc/objc-parse.y: Include "output.h".
7241 (yyerror): Remove redundant decl.
7242 (yyprint): Fix prototype.
7243 (apply_args_register_offset): Remove redundant decl.
7244 (get_file_function_name): Likewise.
7245
74d7ab55
JM
7246Thu Dec 11 22:02:10 1997 Jason Merrill <jason@yorick.cygnus.com>
7247
7248 * flow.c (find_basic_blocks): A CALL_INSN that can throw starts
7249 a new basic block.
7250 (find_basic_blocks_1): Likewise.
7251
0776059e
JM
7252Thu Dec 11 21:08:48 1997 Jason Merrill <jason@yorick.cygnus.com>
7253
7254 * except.c (use_eh_context): Don't copy_rtx a REG.
7255 (emit_throw): Lose old unwinder support.
7256 (expand_internal_throw): Likewise.
7257 * libgcc2.c (struct eh_context): Likewise.
7258 (new_eh_context): Likewise.
7259 (__get_eh_info): Lose redundant cast.
7260 (__get_dynamic_handler_chain): Likewise.
7261 (__get_saved_pc): Lose.
7262 Lose all old unwinder support code.
7263
154bba13
TT
7264Thu Dec 11 20:42:18 1997 Teemu Torma <tot@trema.com>
7265
7266 Thread-safe EH support for pthreads, DCE threads and Solaris threads.
b57062ca 7267
154bba13
TT
7268 * integrate.c (expand_inline_function): If the inline fn uses eh
7269 context, make sure that the current fn has one.
7270 * toplev.c (rest_of_compilation): Call emit_eh_context.
7271 * except.c (use_eh_context): New fn.
7272 (get_eh_context_once): New fn.
7273 (call_get_eh_context): New fn.
7274 (emit_eh_context): New fn.
7275 (get_eh_context): Call either get_eh_context_once or
7276 call_get_eh_context, depending on what we have.
7277 (get_dynamic_handler_chain): Call get_eh_context_once.
7278 * except.h: Prototypes for fns above.
7279 * optabs.c (get_eh_context_libfunc): Removed.
7280 (init_optabs): Don't initialize it.
7281 * expr.h (get_eh_context_libfunc): Removed.
7282 * rtl.h, rtl.c: New reg_note REG_EH_CONTEXT.
7283 * config/pa/pa.h (CPP_SPEC): Support for -threads.
7284 * config/pa/pa-hpux10.h (LIB_SPEC): Ditto.
7285 * config/pa/t-pa (MULTILIB_OPTIONS, MULTILIB_DIRNAMES):
7286 New multilib for -threads.
7287 * config/sparc/t-sol2: Added multilibs for -threads and
7288 made -pthreads alias to it.
7289 * config/sparc/sol2.h (CPP_SPEC, LIB_SPEC):
7290 Added -threads and -pthreads options.
7291 * libgcc-thr.h: New file.
7292 * libgcc2.c: (__get_cpp_eh_context): Removed.
7293 (struct cpp_eh_context): Removed.
7294 (struct eh_context): Replaced cpp_eh_context with generic language
b57062ca 7295 specific pointer.
154bba13
TT
7296 (__get_eh_info): New function.
7297 (__throw): Check eh_context::info.
7298 (__sjthrow): Ditto.
7299 * libgcc2.c: Include libgcc-thr.h.
7300 (new_eh_context, __get_eh_context,
7301 eh_pthread_initialize, eh_context_initialize, eh_context_static,
7302 eh_context_specific, eh_context_free): New functions.
7303 (get_eh_context, eh_context_key): New variables.
7304 (__sjthrow, __sjpopnthrow, __eh_pcnthrow, __throw): Use
7305 get_eh_context to get the context.
7306 (longjmp): Move the declaration inside
7307 #ifdef DONT_USE_BUILTIN_SETJMP.
7308 * frame.c: Include libgcc-thr.h.
7309 (object_mutex): Mutex to protect the object list.
7310 (find_fde, __register_frame, __register_frame_table,
7311 __deregister_frame): Hold the lock while accessing objects.
7312 * except.h (get_eh_context): Declare.
7313 * except.c (current_function_ehc): Define.
7314 (current_function_dhc, current_function_dcc): Removed.
7315 (get_eh_context): New function.
7316 (get_dynamic_handler_chain): Use get_eh_context.
7317 (get_saved_pc_ref): Ditto.
7318 (get_dynamic_cleanup_chain): Removed references to
7319 current_function_dcc.
7320 (save_eh_status, restore_eh_status): Save and restore
7321 current_function_ehc instead.
7322 * optabs.c (get_eh_context_libfunc): New variable.
7323 (init_optabs): Initialize it.
7324 * expr.h: Declare get_eh_context_libfunc.
7325 * function.h (struct function): Replaced dhc and dcc with ehc.
7326 * except.c (get_saved_pc_ref): New functions.
7327 (eh_saved_pc_rtx, eh_saved_pc): Deleted.
7328 (expand_internal_throw_indirect): Use get_saved_pc_ref() instead
7329 of eh_saved_pc.
7330 (end_eh_unwinder): Likewise.
7331 (init_eh): Remove initialization of eh_saved_pc.
7332 * optabs.c (get_saved_pc_libfunc): New variable.
7333 (init_optabs): Initialize it.
7334 * expr.h: Declare get_saved_pc_libfunc.
7335 * except.h (eh_saved_pc_rtx): Deleted.
7336 (get_saved_pc_ref): Declared.
7337
7338 From Scott Snyder <snyder@d0sgif.fnal.gov>:
7339 * libgcc2.c (__get_saved_pc): New.
7340 (__eh_type, __eh_pc): Deleted.
7341 (__eh_pcnthrow): Use __get_saved_pc() instead of __eh_pc.
7342 (__get_dynamic_handler_chain): Move __dynamic_handler_chain inside
7343 this fcn.
7344
68d75312
JC
7345Thu Dec 11 17:23:48 1997 John F. Carr <jfc@mit.edu>
7346
b16d8734
JC
7347 * sparc/sol2.h: Use 64 bit multiply and divide functions in
7348 Solaris libc. Define TARGET_LIVE_G0 and TARGET_BROKEN_SAVERESTORE
7349 as 0.
7350
68d75312
JC
7351 * rtl.h (global_rtl): New variable, replacing separate variables for
7352 commonly used rtl.
7353 (const_int_rtx): Now array of rtx_def, not rtx.
7354 * emit-rtl.c: Update for new rtl data structures.
7355 * genattrtab.c: Define global_rtl.
7356
44517326 7357Thu Dec 11 15:50:29 1997 David Edelsohn <edelsohn@mhpcc.edu>
f40421ce 7358
44517326
DE
7359 * configure.in ({rs6000,powerpc}-*-*): Enable Haifa scheduler by
7360 default.
f40421ce 7361
8587487b
AG
7362Wed Dec 10 12:30:18 1997 Anthony Green <green@cygnus.com>
7363
7364 * crtstuff.c (__do_global_ctors): Fix typo.
7365
08ce3276
MH
7366Tue Dec 9 09:43:59 1997 Manfred Hollstein <manfred@s-direktnet.de>
7367
7368 * toplev.c (main): Check HAVE_GETRLIMIT and HAVE_SETRLIMIT in addition
7369 to RLIMIT_STACK to see if we can call getrlimit and setrlimit.
7370
c229cba9
DE
7371Tue Dec 9 09:38:58 1997 David Edelsohn <edelsohn@mhpcc.edu>
7372
7373 * rs6000.h (FUNCTION_ARG_PADDING): Define.
7374 * rs6000.c (function_arg_padding): New function.
7375
b2c59d0b
MH
7376Tue Dec 9 10:34:21 1997 Manfred Hollstein <manfred@s-direktnet.de>
7377
7378 * m68k.c: Include tree.h only once.
7379
c1132c27
RK
7380Tue Dec 9 09:32:33 1997 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
7381
7382 * integrate.c (save_for_inline_copying): Make a new reg_parm_stack_loc.
7383
ac957f13
JL
7384Tue Dec 9 01:16:06 1997 Jeffrey A Law (law@cygnus.com)
7385
7386 * Partially cleaned up prototyping code from HJ.
a1d061a1 7387 * tree.h: Add many prototypes.
ac957f13
JL
7388 * haifa-sched.c (haifa_classify_insn): Renamed from classify_insn.
7389 All references changed.
7390 * rtl.h: Protect from multiple inclusions. Add many prototypes.
b57062ca 7391
f40421ce 7392Tue Dec 9 01:15:15 1997 Fred Fish <fnf@ninemoons.com>
ac957f13
JL
7393
7394 * libgcc2.c (string.h): Hoist inclusion to occur before first use of
7395 string functions like strlen.
7396
0a232106
MH
7397Tue Dec 9 00:57:38 1997 Manfred Hollstein <manfred@s-direktnet.de>
7398
7399 * configure.in: Check for functions getrlimit and setrlimit.
7400 * cccp.c (main): Check HAVE_GETRLIMIT and HAVE_SETRLIMIT in addition
7401 to RLIMIT_STACK to see if we can call getrlimit and setrlimit.
7402
25b76cc1
JS
7403Mon Dec 8 23:53:26 1997 Jay Sachs <sachs@bull.cs.williams.edu>
7404
7405 * Makefile.in (compare*): Handle losing behavior from 4.4bsd make.
7406
26250081
RH
7407Mon Dec 8 21:03:28 1997 Richard Henderson <rth@cygnus.com>
7408
7409 * alpha.c (REG_RA, alpha_return_addr, output_epilog):
7410 Fix merge problems.
7411
7412 * alpha.c (override_options): Don't know about scheduling for EV6.
7413 * alpha.md (ev5 function units): Don't overload as ev6.
7414
7415 * alpha.c (alpha_adjust_cost): Simplify. Fix typo in ev5 mult case.
7416 * alpha.md (define_attr type): Add mvi.
7417 (ev5_e0): Define sceduling parameters for it.
7418 (TARGET_MAX insns): Type is mvi not shift.
7419
7120f213
RH
7420Mon Dec 8 18:15:00 1997 Richard Henderson <rth@cygnus.com>
7421
7422 * alpha/win-nt.h (TRAMPOLINE_TEMPLATE): Fix backported gcc-2.8 bug.
7423
afa80947
R
7424Mon Dec 8 21:17:28 1997 J"orn Rennecke <amylaar@cygnus.co.uk>
7425
7426 * cstamp-h, auto-config.h: Delete.
7427
51ca169b
JL
7428Sun Dec 7 19:19:03 1997 Jeffrey A Law (law@cygnus.com)
7429
7430 * version.c: Bump for snapshot.
7431
16169366
JL
7432Sat Dec 6 22:22:22 1997 Jeffrey A Law (law@cygnus.com)
7433
7434 * cccp.c: Fix typo brought over in merge.
7435
efeb5d4f 7436 * Merge in changes from gcc-2.8.
0fe09481 7437
da932f04
JL
7438Mon Nov 3 05:45:32 1997 Philippe De Muyter <phdm@macqel.be>
7439
7440 * m68k.c: Include tree.h for dwarf2out_cfi_label.
7441
7442 * gcc.c (process_command): Do not take address of function fatal when
7443 calling lang_specific_driver.
7444
7445Sat Dec 6 01:02:38 1997 Mumit Khan <khan@xraylith.wisc.edu>
7446
b57062ca 7447 * config/i386/cygwin32.h (DWARF2_UNWIND): Exception handling
da932f04
JL
7448 doesn't work with it yet, so set it to 0.
7449 * config/i386/xm-cygwin32.h (NO_SYS_SIGLIST): Define.
7450
7451Sat Dec 6 01:01:02 1997 Christian Iseli <Christian.Iseli@lslsun.epfl.ch>
7452
7453 * cse.c (cse_insn): Check for invalid entries when taking references.
7454
81797aba
JL
7455Fri Dec 5 18:26:25 1997 J"orn Rennecke <amylaar@cygnus.co.uk>
7456
7457 * loop.c (invariant_p): Don't test flag_rerun_loop_opt.
7458 (loop_optimize, scan_loop, strength_reduce): New argument unroll_p.
7459 * toplev.c (rest_of_compilation): Pass it. Remove code to
7460 save / clear / restore flag_unroll_{,all_}loops.
7461
7462Fri Dec 5 16:26:03 1997 Bernd Schmidt <crux@ohara.Informatik.RWTH-Aachen.DE>
7463
7464 * i386.c (notice_update_cc): Remove bogus pentium GCC code.
7465
7466Fri Dec 5 16:25:14 1997 Jeffrey A Law (law@cygnus.com)
7467
7468 * stmt.c (warn_if_unused_value): Don't warn for TRY_CATCH_EXPR.
7469
5dfa7520
JM
7470Thu Dec 4 11:51:00 1997 Jason Merrill <jason@yorick.cygnus.com>
7471
d07daca1
JM
7472 * except.c (get_dynamic_handler_chain): Only make the call once per
7473 function.
7474
5dfa7520
JM
7475 * except.c (expand_end_all_catch): Fix for sjlj exceptions.
7476
4d7b7169
R
7477Thu Dec 4 12:30:40 1997 J"orn Rennecke <amylaar@cygnus.co.uk>
7478
7479 * sh.c (final_prescan_insn): Use local label prefix
7480 when emitting .uses pseudo-ops.
7481
e701eb4d
JM
7482Wed Dec 3 12:01:56 1997 Jason Merrill <jason@yorick.cygnus.com>
7483
7484 * libgcc2.c (__throw): Use __builtin_return_addr instead of __eh_pc.
7485 * except.c: Lose outer_context_label_stack.
7486 (expand_eh_region_end): Rethrow from outer_context here.
7487 (expand_fixup_region_end): Let expand_eh_region_end do the rethrow.
7488 (expand_internal_throw): Take no args.
7489 (expand_internal_throw_indirect): Lose.
7490 (expand_leftover_cleanups, expand_start_all_catch): Use expand_rethrow.
7491 (expand_start_all_catch): Start a rethrow region.
7492 (expand_end_all_catch): End it.
7493 (expand_rethrow): New fn.
7494 * except.h: Reflect above changes.
7495 * flow.c: Revert change of Nov 27.
7496
6a242b6a
JL
7497Thu Dec 4 00:24:09 1997 Jeffrey A Law (law@cygnus.com)
7498
7499 * i386/t-sol2 (CRTSTUFF_T_CFLAGS): Turn on the optimizer.
7500
9762d48d
JM
7501Wed Dec 3 12:01:56 1997 Jason Merrill <jason@yorick.cygnus.com>
7502
7503 * except.c (expand_fixup_region_end): New fn.
7504 (expand_fixup_region_start): Likewise.
7505 (expand_eh_region_start_tree): Store cleanup into finalization here.
7506 * stmt.c (expand_cleanups): Use them to protect fixups.
7507
868e82ab
GK
7508Wed Dec 3 11:41:13 1997 Gavin Koch <gavin@cygnus.com>
7509
7510 * mips/mips.md (muldi3_r4000): Broaden the output template
7511 and attribute assignments to handle three operand dmult;
7512 rename to muldi3_internal2.
7513 (muldi3): Call the new muldi3_internal2 for R4000, and
7514 any GENERATE_MULT3 chip.
7515
716cc7f7
JM
7516Tue Dec 2 19:40:43 1997 Jason Merrill <jason@yorick.cygnus.com>
7517
7518 * stmt.c (expand_decl_cleanup): Update thisblock after eh_region_start.
7519
9fb82071
JW
7520Tue Dec 2 12:54:33 1997 Jim Wilson <wilson@cygnus.com>
7521
7522 * unroll.c (find_splittable_givs): Remove last change. Handle givs
7523 with a dest_reg that was created by loop.
7524
f2d76545
JL
7525Sat Nov 29 12:44:57 1997 David Edelsohn <edelsohn@mhpcc.edu>
7526
7527 * rs6000.c (function_arg_partial_nregs): Undo Nov. 26 patch.
7528
7529 * rs6000/aix41.h (ASM_CPU_SPEC): Define.
7530
b4dfb707
JL
7531Fri Nov 28 10:00:27 1997 Jeffrey A Law (law@cygnus.com)
7532
7533 * configure.in: Fix NCR entries.
7534
80c2681c
JL
7535Thu Nov 27 12:20:19 1997 Jeffrey A Law (law@cygnus.com)
7536
586a5f99
JL
7537 * flow.c (find_basic_blocks): Handle cfg issues for rethrows and
7538 nested exceptions correctly.
7539
80c2681c
JL
7540 * unroll.c (find_splittable_givs): Don't split givs with a dest_reg
7541 that was created by loop.
7542
f45ebe47
JL
7543Thu Nov 27 09:34:58 1997 Jason Merrill <jason@yorick.cygnus.com>
7544
7545 * expr.c (preexpand_calls): Don't look past a TRY_CATCH_EXPR.
7546
7547 * except.c (expand_start_all_catch): One more do_pending_stack_adjust.
7548
034e84c4
MM
7549Wed Nov 26 15:47:30 1997 Michael Meissner <meissner@cygnus.com>
7550
8fbd2dc7
MM
7551 * rs6000.c (SMALL_DATA_REG): Register to use for small data relocs.
7552 (print_operand): Use SMALL_DATA_REG for the register involved in
7553 small data relocations.
7554 (print_operand_address): Ditto.
7555
7556 * rs6000/linux.h (LINK_SPEC): Pass -dynamic-linker /lib/ld.so.1 if
7557 -dynamic linker is not used.
7558
a226df46
MM
7559 * rs6000.md (call insns): For local calls, use @local suffix under
7560 System V. Don't use @plt under Solaris.
7561
034e84c4
MM
7562 * rs6000.c (output_function_profiler): Put label address in r0, and
7563 store LR in 4(sp) for System V/eabi.
7564
7565 * rs6000.h (ASM_OUTPUT_REG_{PUSH,POP}): Keep stack aligned to 16
7566 byte boundary, and maintain stack backchain.
7567
f2d76545
JL
7568Tue Nov 25 14:08:12 1997 Jim Wilson <wilson@cygnus.com>
7569
7570 * mips.md (fix_truncdfsi2, fix_truncsfsi2, fix_truncdfdi2,
7571 fix_truncsfdi2): Change *.
7572
33e5c8c3
JM
7573Wed Nov 26 11:12:26 1997 Jason Merrill <jason@yorick.cygnus.com>
7574
7575 * toplev.c (main): Complain about -gdwarfn.
7576
f45ebe47
JL
7577Tue Nov 25 22:43:30 1997 Jason Merrill <jason@yorick.cygnus.com>
7578
b57062ca 7579 * dwarfout.c (output_type): If finalizing, write out nested types
f45ebe47
JL
7580 of types we've already written.
7581
92dcf4c8
MM
7582Tue Nov 25 20:32:24 1997 Michael Meissner <meissner@cygnus.com>
7583
7584 (patches originally from Geoffrey Keating)
7585 * rs6000.c (function_arg): Excess floating point arguments don't
7586 go into GPR registers after exhausting FP registers under the
7587 System V.4 ABI.
7588 (function_arg_partial_nregs): Ditto.
7589
7590 * rs6000.md (call insns): If -fPIC or -mrelocatable, add @plt
7591 suffix to calls.
7592
f4744807
JM
7593Tue Nov 25 23:37:27 1997 Jason Merrill <jason@yorick.cygnus.com>
7594
7595 * integrate.c (output_inline_function): Just unset DECL_INLINE.
7596
7597Tue Nov 25 23:33:29 1997 scott snyder <snyder@d0sgif.fnal.gov>
7598
7599 * dwarf2out.c (outout_call_frame_info): Ensure that the info has
7600 proper alignment.
7601
7602 * libgcc2.c (__throw): Initialize HANDLER.
7603
0609f021
JW
7604Tue Nov 25 14:08:12 1997 Jim Wilson <wilson@cygnus.com>
7605
7606 * mips.md (fix_truncdfsi2, fix_truncsfsi2, fix_truncdfdi2,
7607 fix_truncsfdi2): Change *X to ?*X.
7608
c905c108
RH
7609Tue Nov 25 10:00:42 1997 Richard Henderson (rth@cygnus.com)
7610
7611 * alpha.h (CONST_OK_FOR_LETTER): Fix 'L' handling.
7612
5041a61c
JL
7613Tue Nov 25 10:00:42 1997 Jeffrey A Law (law@cygnus.com)
7614
7615 * crtstuff.c (do_global_dtors_aux): Handle multiple calls better.
7616
bb727b5a
JM
7617Tue Nov 25 01:26:55 1997 Bruno Haible <haible@ilog.fr>:
7618
7619 * dwarf2out.c (ASM_OUTPUT_DWARF_DELTA1): Implement.
7620
7621Mon Nov 24 22:41:55 1997 Jason Merrill <jason@yorick.cygnus.com>
7622
7623 * except.c (get_dynamic_handler_chain): Build up a FUNCTION_DECL.
7624 * optabs.c (init_optabs): Lose get_dynamic_handler_chain_libfunc.
7625 * expr.h: Likewise.
7626
f45ebe47
JL
7627Sat Nov 22 18:58:20 1997 Jeffrey A Law (law@cygnus.com)
7628
7629 * pa-hpux10.h (NEW_HP_ASSEMBLER): Define.
7630 * pa.h (LEGITIMATE_CONSTANT_P): Reject LABEL_REFs if not using
7631 gas and not using the new HP assembler.
7632
ef85603e
JL
7633Fri Nov 21 15:20:05 1997 Jeffrey A Law (law@cygnus.com)
7634
7635 * Makefile.in (program_transform_cross_name): Clean up "-e" confusion.
7636 (GCC_INSTALL_NAME, GCC_CROSS_NAME): Likewise.
7637
6cc1f5cb
AC
7638Fri Nov 21 19:37:40 1997 Andrew Cagney <cagney@b1.cygnus.com>
7639
7640 * config/mips/elf64.h (MULTILIB_DEFAULTS): Test for
7641 TARGET_ENDIAN_DEFAULT == zero instead of testing for macro
7642 definition.
7643
72eb1038
BH
7644Fri Nov 21 12:49:56 1997 Bruno Haible <bruno@linuix.mathematik.uni-karlsruhe.de>
7645
7646 * stmt.c (expand_end_bindings): Allow jump into block with cleanups.
7647
1418bb67
JM
7648Fri Nov 21 12:18:51 1997 Jason Merrill <jason@yorick.cygnus.com>
7649
7650 * except.h: Add outer_context_label_stack.
7651 * except.c: Likewise.
7652 (expand_start_all_catch): Push the outer_context for the try block
7653 onto outer_context_label_stack.
7654 (expand_end_all_catch): Use it and pop it.
7655
9dab7833
RL
7656Fri Nov 21 10:13:11 1997 Robert Lipe (robertl@dgii.com)
7657
7658 * i386/sco5.h (HAVE_ATEXIT): Revert last change.
7659
858e4e8c
RH
7660Thu Nov 20 16:11:50 1997 Richard Henderson <rth@cygnus.com>
7661
7662 * alpha.c (alpha_emit_set_const_1): Handle narrow hosts better.
7663
a21d14e9
KK
7664Thu Nov 20 16:11:50 1997 Klaus Kaempf <kkaempf@progis.de>
7665
7666 * alpha/vms.h (ASM_OUTPUT_ADDR_VEC_ELT): Add an L for the local label
7667 to correspond with the change to ASM_GENERATE_INTERNAL_LABEL.
7668
ced78d8b
JM
7669Thu Nov 20 14:42:15 1997 Jason Merrill <jason@yorick.cygnus.com>
7670
7671 * Makefile.in (LIB2FUNCS): Remove C++ memory management support.
b57062ca 7672 * libgcc2.c: Remove __builtin_new, __builtin_vec_new, set_new_handler,
ced78d8b
JM
7673 __builtin_delete, and __builtin_vec_delete.
7674
7675 * except.c (output_exception_table): Don't bother with
7676 __EXCEPTION_END__.
7677
a09ff88b
JL
7678Thu Nov 20 16:11:50 1997 Jeffrey A Law (law@cygnus.com)
7679
1b8b89f1
JL
7680 * pa.md (pre_stwm, post_stwm, pre_ldwm, post_ldwm): Base register
7681 is an in/out operand.
7682 (zero extended variants of stwm/stwm patterns): Similarly.
7683
a09ff88b
JL
7684 * mips/x-iris (FIXPROTO_DEFINES): Add -D_SGI_SOURCE.
7685
7bb9fb0e
JM
7686Thu Nov 20 13:19:32 1997 Jason Merrill <jason@yorick.cygnus.com>
7687
7688 * dwarf2out.c (ASM_OUTPUT_DWARF_OFFSET4): Rename from VALUE4.
7689 Use assemble_name.
7690 (ASM_OUTPUT_DEFINE_LABEL_DIFFERENCE_SYMBOL): Use assemble_name.
7691 (output_call_frame_info): Emit a \n after using it.
7692
9101297d
DL
7693Thu Nov 20 00:38:46 1997 Dave Love <d.love@dl.ac.uk>
7694
7695 * configure.in: Add AC_ARG_ENABLE for Haifa as documentation.
7696
2ed2af28
PDM
7697Wed Nov 19 12:03:04 1997 Philippe De Muyter <phdm@macqel.be>
7698
7699 * dwarf2out.c (CIE_LENGTH_LABEL, FDE_LENGTH_LABEL): New macros.
7700 (ASM_OUTPUT_DWARF_VALUE4): New macro.
7701 (ASM_OUTPUT_DEFINE_LABEL_DIFFERENCE_SYMBOL): Define if SET_ASM_OP is
7702 defined.
7703 (output_call_frame_info): Do not output forward label differences
7704 if ASM_OUTPUT_DEFINE_LABEL_DIFFERENCE_SYMBOL is defined.
7705 * m68k/mot3300.h (SET_ASM_OP): Define when not using gas.
7706
4dff12bf
R
7707Tue Nov 18 23:03:30 1997 J"orn Rennecke <amylaar@cygnus.co.uk>
7708
7709 * sh.md (attribute "type"): Add nil.
7710 (movsi_ie): y/y alternative is type nil.
7711 (movsf_ie): Replace ry/yr/X alternative by r/y/X , y/r/X and y/y/X
7712 alternatives.
7713 (movsf_ie+1): Delete.
7714
218c2cdb
JW
7715Tue Nov 18 15:39:59 1997 Jim Wilson <wilson@cygnus.com>
7716
7717 * mips/mips.c (save_restore_insns): If gp_offset or fp_offset are
7718 large_int, emit two insns instead of one splitable insn.
7719 * dwarf2out.c (dwarf2out_frame_debug): When set cfa_store_offset
7720 from cfa_temp_value, use cfa_offset. Add assert checking that
7721 cfa_reg is SP.
7722
d5b79362
TT
7723Mon Nov 17 15:35:38 1997 Tom Tromey <tromey@cygnus.com>
7724
7725 * cccp.c (deps_output): Properly quote file names for make.
7726
de1ea87a
JL
7727Mon Nov 17 13:21:40 1997 Jeffrey A Law (law@cygnus.com)
7728
7729 * t-h8300 (MULTILIB_EXCEPTIONS): Define.
7730
cb0112a7
RL
7731Fri Nov 7 15:33:11 1997 Robert Lipe (robertl@dgii.com)
7732
7733 * i386/sco5.h (HAVE_ATEXIT): Delete definition.
7734
85c3ba60
JL
7735Sun Nov 16 23:52:48 1997 Jeffrey A Law (law@cygnus.com)
7736
7737 * cse.c (cse_insn): Don't look at JUMP_LABEL field of a conditionl
7738 return.
7739 (cse_end_of_basic_block): Similarly.
ef720b21 7740
9155d500
KJ
7741Sun Nov 16 23:01:40 1997 J. Kean Johnston <jkj@sco.com>
7742
7743 * i386/sco5.h (ASM_OUTPUT_ALIGNED_BSS): Define.
7744 (SELECT_RTX_SECTION): Define.
7745 (LIBGCC_SPEC, LIB_SPEC): Do the right thing for PIC.
7746
4931312c
MH
7747Sun Nov 16 22:47:03 1997 Manfred Hollstein <manfred@s-direktnet.de>
7748
7749 * Makefile.in (compare, compare-lean): Define $stage for each
7750 shell command.
7751 (gnucompare, gnucompare-lean): Likewise.
7752
8dfe3c62
RH
7753Sun Nov 16 22:02:16 1997 Richard Henderson (rth@cygnus.com)
7754
7755 * alpha/win-nt.h (TRAMPOLINE_TEMPLATE): Fix offsets.
7756
7757 * alpha.h (ASM_OUTPUT_ADDR_DIFF_ELT): Add an L for the local label
7758 to correspond with the change to ASM_GENERATE_INTERNAL_LABEL.
7759
874a8709
FF
7760Fri Nov 14 09:09:20 1997 Fred Fish (fnf@cygnus.com)
7761
7762 * dwarfout.c (byte_size_attribute): Add local var upper_bound
7763 and add case to handle STRING_TYPE.
7764 * dwarfout.c (output_string_type_die): Fix code to generate
7765 correct string length attribute for fixed length strings.
7766 Still needs support for varying length strings.
7767
ea466196
JL
7768Fri Nov 14 08:46:56 1997 Jeffrey A Law (law@cygnus.com)
7769
7770 * toplev.c (get_run_time): Do something sensible for cygwin32.
7771
202f590e
RH
7772Fri Nov 14 07:24:20 1997 Richard Henderson <rth@cygnus.com>
7773
f35bcbc5
RH
7774 * expr.c (expand_builtin_setjmp): Set
7775 current_function_has_nonlocal_label.
7776 * stupid.c (stupid_life_analysis): If has_nonlocal_label, kill
7777 call-saved registers across calls.
7778
7779 * alpha.md (exception_receiver): Remove.
7780 (nonlocal_goto_receiver_osf): New
7781 (nonlocal_goto_receiver_vms): Renamed from nonlocal_goto_receiver.
7782 (nonlocal_goto_receiver): New, select _osf or _vms.
7783
531ea24e
RH
7784 * alpha.c (output_prolog [*]): Prefix entry labels with '$' to
7785 keep them from being propogated to the object file.
7786 (alpha_write_linkage): Likewise.
7787 * alpha.md (call_vms): Likewise.
7788 (call_value_vms): Likewise.
7789 (unnamed osf call insns): Likewise.
7790
7791 * alpha.h (ASM_OUTPUT_INTERNAL_LABEL): Don't omit L from local label.
7792 (ASM_GENERATE_INTERNAL_LABEL): Likewise.
7793
202f590e
RH
7794 * alpha.c (call_operand): Any reg is valid for WinNT.
7795 * alpha.md (call_nt, call_value_nt): Don't force address into $27.
7796 (anon nt calls): Add 'R' alternative.
7797 * alpha/win-nt.h (TRAMPOLINE_TEMPLATE, TRAMPOLINE_SIZE,
7798 INITIALIZE_TRAMPOLINE): Handle lack of original $27 and 32-bit ptrs.
7799
238ad62b
JL
7800Fri Nov 14 06:59:33 1997 Jeffrey A Law (law@cygnus.com)
7801
f78b5ca1
JL
7802 * calls.c (expand_call): Handle pcc_struct_value correctly for C++.
7803
238ad62b
JL
7804 * i386/xm-cygwin32.h (HAVE_FILE_H, HAVE_RUSAGE): Delete defines.
7805 * i386/xm-mingw32.h (HAVE_FILE_H, HAVE_RUSAGE): Likewise.
7806 * rs6000/xm-cygwin32.h (HAVE_FILE_H, HAVE_RUSAGE): Likewise.
7807
da275344
MM
7808Thu Nov 13 20:37:33 1997 Michael Meissner <meissner@tiktok.cygnus.com>
7809
7810 * reload1.c (new_spill_reg): Improve fixed or forbidden register
7811 spill error message.
7812
1f1e1545
KG
7813Thu Nov 13 20:29:08 1997 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
7814
7815 * prefix.c: Use stdarg.h only ifdef __STDC__. Otherwise,
7816 use varargs.h. Wrap header with <>, not "".
7817
daa4b717
JL
7818Thu Nov 13 20:21:17 1997 Jeffrey A Law (law@cygnus.com)
7819
7820 * integrate.c (save_for_inline_copying): Add return value from
7821 savealloc.
7822
9bb5394e
BK
7823Thu Nov 13 19:12:33 1997 Brendan Kehoe <brendan@cygnus.com>
7824
7825 * fixincludes: Be a little more restrictive on what we will
7826 substitute to replace definitions of MAXINT for HPUX.
7827
9571f69b
MM
7828Thu Nov 13 18:41:02 1997 Michael Meissner <meissner@cygnus.com>
7829
7830 * dbxout.c (dbxout_symbol_location): Don't assume that variables
7831 whose address is the stack or argument pointers are indirect
7832 pointers.
7833
b57062ca
UD
78341997-11-13 Paul Eggert <eggert@twinsun.com>
7835
e7cbb6b6
PE
7836 * cccp.c, cpplib.c (compare_defs):
7837 Don't complain about arg name respellings unless pedantic.
b57062ca
UD
7838 * cpplib.c (compare_defs): Accept pfile as new arg.
7839 All callers changed.
e7cbb6b6 7840
9f29ca78
R
7841Thu Nov 13 23:33:50 1997 J"orn Rennecke <amylaar@cygnus.co.uk>
7842
7843 * fold-const.c (fold_truthop): Fix bug in last change.
7844
41c9120b
PE
78451997-11-13 Paul Eggert <eggert@twinsun.com>
7846
7847 Fix some confusion with IEEE minus zero.
7848
7849 * real.h (REAL_VALUES_IDENTICAL): New macro.
7850
7851 * expr.c (is_zeros_p): Don't consider -0.0 to be all zeros.
7852 * fold-const.c (operand_equal_p): Don't consider -0.0 to be
7853 identical to 0.0.
7854 * tree.c (simple_cst_equal): Don't consider -0.0 to have the
7855 same tree structure as 0.0.
7856
7857 * varasm.c (immed_real_const_1): Use new REAL_VALUES_IDENTICAL
7858 macro instead of doing it by hand.
7859
323d8e7b
JL
7860Thu Nov 13 16:56:14 1997 Jeffrey A Law (law@cygnus.com)
7861
7862 * v850/lib1funcs.asm: Minor whitespace changes.
7863 * v850.c: Fix minor formatting problems in many places.
7864 (construct_restore_jr, construct_save_jarl): Remove unwanted aborts.
7865
13529ea4
JW
7866Thu Nov 13 12:53:44 1997 Jim Wilson <wilson@cygnus.com>
7867
7868 * mips.h (GO_IF_LEGITIMATE_ADDRESS): Delete code swapping xplus0 and
7869 xplus1 when xplus0 is not a register.
7870
759c135e
JL
7871Thu Nov 13 11:41:42 1997 Jeffrey A Law (law@cygnus.com)
7872
8930b063
JL
7873 * flow.c (find_basic_blocks): During marking phase, if we encounter
7874 an insn with a REG_LABEL note, make the target block live and
7875 create an edge from the insn to the target block. Do not make
7876 edges from all blocks to the target block.
7877
0be28489
JL
7878 * m68k/x-next (OTHER_FIXINCLUDES_DIRS): Include /NextDeveloper/Headers.
7879
759c135e
JL
7880 * confiugre.in: Tweak NCR entries.
7881 * configure: Rebuilt.
7882
47ad8c61
MM
7883Thu Nov 13 11:07:41 1997 Michael Meissner <meissner@cygnus.com>
7884
7885 * rs6000.c (num_insns_constant): Use REAL_VALUE_FROM_CONST_DOUBLE to
7886 pick apart floating point values, instead of using CONST_DOUBLE_LOW
7887 and CONST_DOUBLE_HIGH.
7888
7889 * rs6000.md (define_splits for DF constants): Use the appropriate
7890 REAL_VALUE_* interface to pick apart DF floating point constants in
7891 a machine independent fashion.
7892
5a6b3365
R
7893Thu Nov 13 00:06:58 1997 J"orn Rennecke <amylaar@cygnus.co.uk>
7894
7895 * fold-const.c (fold_truthop): When changing a one-bit comparison
7896 against zero into a comparison against mask, do a proper sign
7897 extension.
7898
2ec1535d
JL
7899Wed Nov 12 09:37:01 1997 Jeffrey A Law (law@cygnus.com)
7900
3a88cbd1
JL
7901 * except.c: Do not include "assert.h".
7902 (save_eh_status): Turn asserts into conditional aborts.
7903 (restore_eh_status, scan_region): Likewise.
7904 * dwarfout.c: Do not include "assert.h".
7905 (bit_offset_attribute): Turn asserts into conditional aborts.
7906 (bit_size_attribute, output_inlined_enumeration_type_die): Likewise.
7907 (output_inlined_structure_type_die): Likewise.
7908 (output_inlined_union_type_die): Likewise
7909 (output_tagged_type_instantiation): Likewise.
7910 (dwarfout_file_scope_decl): Likewise.
7911 * dwarf2out.c: Do not include "assert.h"
7912 (expand_builtin_dwarf_reg_size): Turn asserts into conditional aborts.
7913 (reg_save, initial_return_save, dwarf2out_frame_debug): Likewise.
7914 (add_child_die, modified_type_die, add_bit_offset_attribute): Likewise.
7915 (add_bit_size_attribute, scope_die_for): Likewise.
7916 (output_pending_types_for_scope): Likewise.
7917 (get_inlined_enumeration_type_die): Likewise.
7918 (get_inlined_structure_type_die): Likewise.
7919 (get_inlined_union_type_die, gen_subprogram_die): Likewise.
7920 (gen_tagged_type_instantiation_die): Likewise.
7921
2ec1535d
JL
7922 * flow.c (find_basic_blocks): Refine further to get a more correct
7923 cfg, especially in the presense of exception handling, computed
7924 gotos, and other non-trivial cases. Call abort if an inaccuracy
7925 is detected in the cfg.
7926
a6124a42
R
7927Tue Nov 11 21:47:27 1997 J"orn Rennecke <amylaar@cygnus.co.uk>
7928
7929 * glimits.h (SHRT_MIN): Define in a way suitable for 16 bit hosts.
7930
7931 * c-lex.c (whitespace_cr, skip_white_space_on_line): New functions.
7932 (skip_white_space): Use whitespace_cr.
7933 (check_newline): Handle whitespace more consistently.
7934
8f3189a4
JW
7935Tue Nov 11 16:25:49 1997 Jim Wilson <wilson@cygnus.com>
7936
7937 * i386/cygwin32.h (CPP_PREDEFINES): Delete -DPOSIX.
7938 * i386/xm-cygwin32.h (POSIX): Define.
7939
6d1350cd
GK
7940Mon Nov 10 20:53:11 1997 Gavin Koch <gavin@cygnus.com>
7941
7942 * config/mips/mips.h (MASK_DEBUG_H): Set to zero, so this bit
7943 is available elsewhere.
7944
d1f4474e
DE
7945Mon Nov 10 16:21:58 1997 Doug Evans <devans@canuck.cygnus.com>
7946
7947 * sparc/sparc.md (mov[sdt]f_const_insn): Fix condition to match
7948 what the instruction can handle.
7949
c7ae64f2
JM
7950Mon Nov 10 03:02:19 1997 Jason Merrill <jason@yorick.cygnus.com>
7951
7952 * stmt.c (expand_decl_cleanup_no_eh): New fn.
7953
7954 * except.c (expand_leftover_cleanups): do_pending_stack_adjust.
7955
ea64ef27
JL
7956Mon Nov 10 00:05:56 1997 Jeffrey A Law (law@cygnus.com)
7957
7958 * alias.c (MAX_ALIAS_LOOP_PASSES): Define.
7959 (init_alias_analysis): Break out of loops after MAX_ALIAS_LOOP_PASSES.
7960
47ad8c61
MM
7961Sun Nov 9 14:34:47 1997 David Edelsohn <edelsohn@mhpcc.edu>
7962
7963 * rs6000.md (lshrdi3_power): Delete '&' from first alternative and
7964 swap instruction order.
7965
0ff27f58
JL
7966Sun Nov 9 02:07:16 1997 Jeffrey A Law (law@cygnus.com)
7967
7968 * fixinc.svr4 (__STDC__): Add another case.
7969
7091039c
R
7970Sun Nov 9 02:00:29 1997 J"orn Rennecke <amylaar@cygnus.co.uk>
7971
7972 * a29k.h (ELIGIBLE_FOR_EPILOGUE_DELAY): Avoid loads from varying
7973 addresses in the epilogue delay slot.
7974
553914ad
MH
7975Sun Nov 9 01:40:40 1997 Manfred Hollstein (manfred@s-direktnet.de)
7976
7977 * m88k/dgux.h (ASM_CPU_SPEC): Reformatted to suppress wrong whitespace
7978 in generated `specs' file.
7979
64fde701
JW
7980Sun Nov 9 01:37:11 1997 Jim Wilson (wilson@cygnus.com)
7981
7982 * flags.h (flag_rerun_loop_opt): Declare.
7983 * loop.c (invariant_p, case LABEL_REF): Check flag_rerun_loop_opt.
7984 * toplev.c (flag_rerum_loop_opt): Delete static.
7985
1245df60
R
7986Sat Nov 8 18:20:21 1997 J"orn Rennecke <amylaar@cygnus.co.uk>
7987
1245df60
R
7988 Bring over from FSF:
7989
7990 Thu Oct 30 12:21:06 1997 J"orn Rennecke <amylaar@cygnus.co.uk>
7991
7992 * va-sh.h (__va_arg_sh1): Define.
7993 (va_arg): Use it.
7994 SH3E doesn't use any integer registers for subsequent arguments
7995 once a non-float value was passed in the stack.
7996 * sh.c (machine_dependent_reorg): If optimizing, put explicit
7997 alignment in front label for ADDR_DIFF_VEC.
7998 * sh.h (PASS_IN_REG_P): Fix SH3E case.
7999 (ADJUST_INSN_LENGTH): If not optimizing, add two extra bytes length.
8000
8001 Tue Oct 28 15:06:44 1997 J"orn Rennecke <amylaar@cygnus.co.uk>
8002
8003 * sh/elf.h (PREFERRED_DEBUGGING_TYPE): Undefine before including
8004 svr4.h.
8005
8006 Mon Oct 27 16:11:52 1997 J"orn Rennecke <amylaar@cygnus.co.uk>
8007
8008 * sh.c (machine_dependent_reorg): When -flag_delayed_branches,
8009 put an use_sfunc_addr before each sfunc.
8010 * sh.md (use_sfunc_addr, dummy_jump): New insns.
8011 (casesi): For TARGET_SH2, emit a dummy_jump after LAB.
8012
8013 Tue Oct 21 07:12:28 1997 J"orn Rennecke <amylaar@cygnus.co.uk>
8014
8015 * sh/elf.h (PREFERRED_DEBUGGING_TYPE): Don't redefine.
8016
97991933
JM
8017Fri Nov 7 10:22:24 1997 Jason Merrill <jason@yorick.cygnus.com>
8018
8019 * frame.c (add_fdes, count_fdes): Go back to checking pc_begin for
8020 linked once FDEs.
8021
eaf407a5
JL
8022Wed Nov 5 14:26:05 1997 Jeffrey A Law (law@cygnus.com)
8023
8024 * alias.c (find_base_value): Only return the known base value for
8025 pseudo registers.
8026
4f9ca067
JW
8027Wed Nov 5 11:27:14 1997 Jim Wilson <wilson@cygnus.com>
8028
8029 * i386.c (load_pic_register): Call prologue_get_pc_and_set_got.
8030 * i386.md (prologue_set_got, prologue_get_pc): Add UNSPEC_VOLATILE
8031 to pattern.
8032 (prologue_get_pc_and_set_got): New pattern.
8033
f4e31cf5
RH
8034Tue Nov 4 20:36:50 1997 Richard Henderson (rth@cygnus.com)
8035
8036 * alpha.c (summarize_insn): Handle ASM_OPERANDS. Don't recurse
8037 for SUBREG, just fall through.
8038
8039 * alpha.c (alpha_handle_trap_shadows): Init sum.defd to zero.
8040
8041 * alpha.md (attr trap): Make TRAP_YES non-zero for sanity's sake.
8042
f754c4a1
JL
8043Tue Nov 4 18:49:42 1997 Jeffrey A Law (law@cygnus.com)
8044
3ed18aeb
JL
8045 * fixincludes: Fix "hypot" prototype in NeXT math.h.
8046
3fe40e05
JL
8047 * Makefile.in (USE_ALLOCA): Always include alloca.o.
8048 (USE_HOST_ALLOCA): Likewise.
8049
f754c4a1
JL
8050 * rtl.def (CODE_LABEL): Use separate fields for LABEL_NUSES
8051 and LABEL_REFS fields.
8052 * rtl.h (LABEL_REFS): Update.
8053
ab00eb0a
JW
8054Tue Nov 4 16:55:11 1997 Jim Wilson <wilson@cygnus.com>
8055
ff3467a9
JW
8056 * combine.c (try_combine): When setting elim_i2, check whether newi2pat
8057 sets i2dest. When calling distribute_notes for i3dest_killed, pass
8058 elim_i2 and elim_i1. When setting elim_i1, check if newi2pat
8059 sets i1dest.
8060
4911814e
JW
8061 * mips.md (insv, extzv, extv): Add change_address call.
8062 (movsi_ulw, movsi_usw): Change QImode to BLKmode in pattern.
8063
474eff88
JW
8064 * integrate.c (save_for_inline_copying): Copy parm_reg_stack_loc.
8065
3feffdfe
JW
8066 * reload.c (find_reloads, case 'm' and 'o'): Reject HIGH constants.
8067
ab00eb0a
JW
8068 * mips.c (mips_expand_epilogue): Emit blockage insn before call to
8069 save_restore_insns if no FP and GP will be restored.
7636d567 8070
31c8581d
JW
8071 * dwarf2out.c (expand_builtin_dwarf_reg_size): New variable mode.
8072 Convert CCmode to word_mode before calling GET_MODE_SIZE.
8073
7636d567
JW
8074 * acconfig.h (HAVE_INTTYPES_H): Undef.
8075 * configure.in (inttypes.h): Check for conflicts between sys/types.h
8076 and inttypes.h, and verify that intmax_t is defined.
8077 * config/mips/x-iris (CC, OPT, OLDCC): Comment out.
8078 * config/mips/x-iris3: Likewise.
8079
73774bc7
JL
8080Tue Nov 4 16:07:15 1997 Jeffrey A Law (law@cygnus.com)
8081
8082 * alias.c (find_base_value): When copying arguments, return the
8083 tenative value for a hard register.
8084
645ebf37
DE
8085Tue Nov 4 13:40:35 1997 Doug Evans <devans@canuck.cygnus.com>
8086
8087 * c-lex.c (MULTIBYTE_CHARS): #undef if cross compiling.
8088 (yylex): Record wide strings using target endianness, not host.
8089
f7620587
JL
8090Tue Nov 4 13:13:12 1997 Jeffrey A Law (law@cygnus.com)
8091
8092 * mn10200.h (ASM_OUTPUT_BSS): Delete.
8093 (ASM_OUTPUT_ALIGNED_BSS): New macro
8094 * mn10300.h (ASM_OUTPUT_BSS): Delete.
8095 (ASM_OUTPUT_ALIGNED_BSS): New macro.
8096 * v850.h (ASM_OUTPUT_BSS): Delete.
8097 (ASM_OUTPUT_ALIGNED_BSS): New macro.
8098
1686f1a2 8099Tue Nov 4 00:55:48 1997 J"orn Rennecke <amylaar@cygnus.co.uk>
b57062ca 8100
1686f1a2
R
8101 * profile.c (branch_prob): Insert an insn after a NOTE_INSN_SETJMP.
8102
f6857708
JL
8103Mon Nov 3 14:36:50 1997 Jeffrey A Law (law@cygnus.com)
8104
8105 * configure.in (sco5): Use cpio to install header files.
8106
e566af04
MH
8107Sun Nov 2 23:31:43 1997 Manfred Hollstein <manfred@s-direktnet.de>
8108
8109 * aclocal.m4 (conftestdata_from, conftestdata_to): Names shortened to
8110 14 char length.
8111 * configure: Rebuild.
8112
cbd44549
RL
8113Sun Nov 2 19:44:00 1997 Robert Lipe (robertl@dgii.com)
8114
8115 * i386/sco5.h: enable -gstabs once again.
8116
56636818
JL
8117Sun Nov 2 19:27:21 1997 Jeffrey A Law (law@cygnus.com)
8118
8119 * arm.c (output_move_double): Allocate 3 entries in otherops array.
8120
9ad8a5f0
MS
8121Sat Nov 1 21:43:00 1997 Mike Stump (mrs@wrs.com)
8122
8123 * except.c (expand_ex_region_start_for_decl): Emit EH_REGION_BEG
8124 notes for sjlj exceptions too.
8125 (expand_eh_region_end): Similarly for EH_REGION_END notes.
8126 (exception_optimize): Optimize EH regions for sjlj exceptions too.
8127 * final.c (final_scan_insn): Don't output labels for EH REGION
8128 notes if doing sjlj exceptions.
8129
f8671389
JL
8130Sat Nov 1 19:15:28 1997 Jeffrey A Law (law@cygnus.com)
8131
8072f69c
JL
8132 * alias.c (init_alias_analysis): Handle -fno-alias-check when
8133 optimizing correctly.
8134
6cad9e32
JL
8135 * expr.c (expand_builtin_setjmp): Don't emit a SETJMP note
8136 or set current_function_calls_setjmp anymore.
8137
f8671389
JL
8138 * flow.c (find_basic_blocks): If we delete the label for an
8139 exception handler, remove it from the EH label list and remove
8140 the EH_BEGIN/EH_END notes for that EH region.
8141
a886ae74
JM
8142Sat Nov 1 16:44:49 1997 Jason Merrill (jason@cygnus.com)
8143
8144 * flow.c (find_basic_blocks): Generate correct flow control
8145 information when exception handling notes are present.
8146
c2c85462
JL
8147Sat Nov 1 13:42:19 1997 Jeffrey A Law (law@cygnus.com)
8148
8149 * dwarf2out.c (output_call_frame_info): Fix length argument
8150 to ASM_OUTPUT_ASCII.
8151 (output_die, output_pubnames, output_line_info): Likewise.
8152
8c316ae2
JL
8153Fri Oct 31 07:10:09 1997 Jeffrey A Law (law@cygnus.com)
8154
27ca375a
JL
8155 * version.c: Bump for snapshot.
8156
8d4e65a6
JL
8157 * dwarf2out.c (output_call_frame_info): Use ASM_OUTPUT_ASCII to
8158 output ASCII by default. Only use ASM_OUTPUT_DWARF_STRING if
8159 flag_debug_asm is on.
8160 (output_die, output_pubnames, output_line_info): Likewise.
8161
ec907dd8
JL
8162 * alias.c (init_alias_analysis): Add struct_value_incoming_rtx
8163 and static_chain_rtx into the potential base values array if
8164 they are registers.
8165
8166 * alias.c (new_reg_base_value): New array of potential base values.
8167 (unique_id): Now file scoped static.
8168 (find_base_value, case REG): Return the value in reg_base_value
8169 array for the REG if it exists. Else, return the value from
8170 new_reg_base_value if copying args and REG is a hard register.
8171 (find_base_value, case PLUS): If either operand of the PLUS is
8172 a REG, try to get its base value. Handle base + index and
8173 index + base.
8174 (record_set): Use new_reg_base_value instead of reg_base_value.
8175 (init_alias_analysis): Allocate space for new_reg_base_value too.
8176 Rework code to iterate over the insns propagating base value
8177 information until nothing changes.
8178
8c316ae2
JL
8179 * global.c (global_alloc): Free the conflict matrix after
8180 reload has finished.
8181
6874c264
JM
8182Fri Oct 31 01:45:31 1997 Jason Merrill <jason@yorick.cygnus.com>
8183
8184 * libgcc2.c (L_eh): Define __eh_pc.
8185 Replace __eh_type with generic pointer __eh_info.
8186
59fe8c2c
R
8187Fri Oct 31 00:34:55 1996 J"orn Rennecke <amylaar@cygnus.co.uk>
8188
8189 * expr.c (expand_increment): When enqueing a postincrement for a MEM,
8190 use copy_to_reg if address is not a general_operand.
8191
d1271ded
R
8192Fri Oct 31 00:16:55 1997 J"orn Rennecke <amylaar@cygnus.co.uk>
8193
8194 * profile.c (output_func_start_profiler): Clear flag_inline_functions
8195 for the duration of the call to rest_of_compilation.
8196
ac52b80b
DE
8197Thu Oct 30 14:40:10 1997 Doug Evans <devans@canuck.cygnus.com>
8198
8199 * configure.in (sparc-*-elf*): Use sparc/elf.h, sparc/t-elf.
8200 Set extra_parts.
8201 (sparc*-*-*): Recognize --with-cpu=v9.
8202 * sparc/elf.h: New file.
8203 * sparc/t-elf: New file.
8204
f8912297
JL
8205Thu Oct 30 13:26:12 1997 Jeffrey A Law (law@cygnus.com)
8206
8207 * mn10300.c (const_8bit_operand): New function.
8208 (mask_ok_for_mem_btst): New funtion.
8209 * mn10300.md (btst patterns with mem operands): Use new functions
8210 to avoid creating btst instructions with invalid operands.
8211
05ef204d
MM
8212Wed Oct 29 16:57:19 1997 Michael Meissner <meissner@cygnus.com>
8213
8214 * rs6000/xm-sysv4.h: Include xm-linux.h instead of xm-svr4.h if we
8215 are running on PowerPC Linux.
8216
feecabdf
GK
8217Wed Oct 29 13:10:11 1997 Gavin Koch <gavin@cygnus.com>
8218
8219 * config/mips/elf64.h (PREFERRED_DEBUGGING_TYPE): Only define
8220 if not previously defined.
8221
de957303
DE
8222Tue Oct 28 23:55:27 1997 Doug Evans (devans@cygnus.com)
8223
8224 * function.c (assign_parms): Correct mode of stack_parm if
8225 entry_parm underwent a mode conversion.
8226
ba3b3878
BK
82271997-10-28 Brendan Kehoe <brendan@lisa.cygnus.com>
8228
8229 * global.c (global_alloc): Use xmalloc instead of alloca for
8230 CONFLICTS, since max_allocno * allocno_row_words alone can be more
8231 than 2.5Mb sometimes.
8232
d540ae2c
RH
8233Tue Oct 28 15:29:15 1997 Richard Henderson <rth@cygnus.com>
8234
8235 * reload1.c (eliminate_regs [SET]): If [SUBREG] widened the mode of
8236 DEST for the spill, adjust mode of SRC to compensate.
8237
42f4929d
RH
8238Tue Oct 28 14:36:45 1997 Richard Henderson <rth@cygnus.com>
8239
8240 * alpha.md (reload_inqi): Check for MEM before strict_memory_address_p,
8241 since any_memory_operand() allows pseudos during reload.
8242 (reload_inhi, reload_outqi, reload_outhi): Likewise.
8243
08417478
JW
8244Tue Oct 28 11:53:14 1997 Jim Wilson <wilson@cygnus.com>
8245
8246 * m68k.md (btst patterns): Add 5200 support.
8247
750e8348
TM
8248Tue Oct 28 11:58:40 1997 Toon Moene <toon@moene.indiv.nluug.nl>
8249
8250 * fold-const.c (fold): For ((a * C1) / C3) or (((a * C1) + C2) / C3)
8251 optimizations, look inside dividend to determine if the expression
8252 can be simplified by using EXACT_DIV_EXPR.
8253
ede19932
JM
8254Tue Oct 28 10:19:01 1997 Jason Merrill <jason@yorick.cygnus.com>
8255
8256 From Brendan:
8257 * dwarf2out.c (output_call_frame_info): Use l1 instead of ".".
8258
66d91cb9
RH
8259Tue Oct 28 00:32:14 1997 Richard Henderson <rth@cygnus.com>
8260
8261 * alpha.c (summarize_insn [SUBREG]): Propogate SET.
8262
4f3f5e9f
RH
8263Mon Oct 27 23:59:26 1997 Richard Henderson <rth@cygnus.com>
8264
8265 * alpha.c (alpha_handle_trap_shadows): Don't call get_attr_trap
8266 on a CLOBBER.
8267
f3352b9e
RH
8268Mon Oct 27 21:25:20 1997 Richard Henderson <rth@cygnus.com>
8269
8270 * alpha.md (movqi, movhi): Make sure new insns created during reload
8271 won't need reloading themselves.
8272 (reload_inqi, reload_inhi, reload_outqi, reload_outhi): Likewise.
8273
0cecc190
JL
8274Mon Oct 27 16:11:10 1997 Jeffrey A Law (law@cygnus.com)
8275
8276 * mn10300.h (GO_IF_LEGITIMATE_ADDRESS): Disable reg+reg.
8277
a09ba5a2
RH
8278Sun Oct 26 13:50:44 1997 Richard Henderson <rth@cygnus.com>
8279
8280 * alpha.c (alpha_sa_mask [VMS]): Don't include $26 in the mask.
8281 Patch from Klaus Kaempf <kkaempf@progis.de>.
8282
7581a30f
JW
8283Sun Oct 26 13:31:47 1997 Jim Wilson (wilson@cygnus.com)
8284
8285 * expr.c (expand_expr, case INDIRECT_REF): Optimize a reference
8286 to an element in a constant string.
8287
d84e64d4
JM
8288Sun Oct 26 11:41:49 1997 Jason Merrill <jason@yorick.cygnus.com>
8289
8290 * dwarf2out.c (output_call_frame_info): The CIE pointer is now a 32
8291 bit PC-relative offset. The exception range table pointer is now in
8292 the CIE.
8293 * frame.c (dwarf_cie, dwarf_fde): Rename CIE_pointer to CIE_delta.
8294 (count_fdes, add_fdes, get_cie): Adjust.
8295 (cie_info, extract_cie_info, __frame_state_for): Adjust eh_ptr uses.
8296
8297 From H.J. Lu:
8298 * frame.c (count_fdes, add_fdes): Skip linked once FDE entries.
8299
96286722
RH
8300Sun Oct 26 11:52:01 1997 Richard Henderson <rth@cygnus.com>
8301
8302 * alias.c (memrefs_conflict_p): Treat arg_pointer_rtx just
8303 like stack_pointer_rtx.
8304
e85988b5
MH
8305Sun Oct 26 11:32:16 1997 Manfred Hollstein <manfred@s-direktnet.de>
8306
361e618f
MH
8307 * Makefile.in (bootstrap-lean): Combined with `normal' bootstrap
8308 targets using "$@" to provide support for similar but not identical
8309 targets without having to duplicate code.
8310 (bootstrap4): New goal.
8311
e85988b5
MH
8312 * Makefile.in (compare, compare-lean, compare3): Combined to one
8313 ruleset determining actions to be performed via $@.
8314 (compare4, compare4-lean): New targets.
8315 (gnucompare, gnucompare3): Combined to one ruleset determining
8316 actions to be performed via $@. Also, note which files failed
8317 the comparison test in .bad_compare.
8318 (gnucompare-lean, gnucompare3-lean, gnucompare4-lean): New targets.
8319
91585c63
TM
8320Sun Oct 26 10:06:11 1997 Toon Moene <toon@moene.indiv.nluug.nl>
8321
8322 * fold-const (fold): Also simplify FLOOR_DIV_EXPR to EXACT_DIV_EXPR
8323 if the dividend is a multiple of the divisor.
8324
da0af5a5
JL
8325Sun Oct 26 09:21:40 1997 Jeffrey A Law (law@cygnus.com)
8326
7337c67f
JL
8327 * Makefile.in (LIBGCC2_CFLAGS): Add -fexceptions.
8328
adb9effb 8329 * alias.c (find_base_term): Handle PRE_INC, PRE_DEC, POST_INC,
6d849a2a 8330 and POS_DEC.
6d849a2a
JL
8331
8332 * alias.c (true_dependence): Fix typo.
8333
6d6d0fa0
JL
8334 * toplev.c (flag_rerun_loop_opt): New variable.
8335 (f_options): Handle -frerun-loop-opt.
8336 (rest_of_compilation): If -frerun-loop-opt, then run the loop
8337 optimizer twice.
8338 (main): Enable -frerun-loop-opt by default for -O2 or greater.
8339
da0af5a5
JL
8340 * loop.c (simplify_giv_expr): Adding two invariants results
8341 in an invariant.
8342
ca0f2220
RH
8343Sun Oct 26 09:15:15 1997 Richard Henderson <rth@cygnus.com>
8344
b57062ca 8345 * expr.c (get_inner_reference): Remove the array bias after
ca0f2220
RH
8346 converting the index to Pmode.
8347
a6f7ba17
JL
8348Sat Oct 25 12:20:58 1997 Jeffrey A Law (law@cygnus.com)
8349
8350 * mn10300.h (TARGET_SWITCHES): Add -mmult-bug and -mno-mult-bug.
8351 (TARGET_MULT_BUG): Define.
8352 (TARGET_DEFAULT): Default to TARGET_MULT_BUG.
8353 * mn10300.md (mulsi3): Handle TARGET_MULT_BUG.
8354
17ad8a3b
JL
8355Fri Oct 24 17:40:34 1997 Jeffrey A Law (law@cygnus.com)
8356
8357 * mn10200.c (indirect_memory_operand): Delete unused function.
8358 * mn10200.h (EXTRA_CONSTRAINT): Handle 'R'.
8359 * mn10200.md (bset, bclr insns): Handle output in a reg too.
8360
e16b49d3
RH
8361Fri Oct 24 15:54:57 1997 Richard Henderson <rth@cygnus.com>
8362
8363 * alpha.md (call patterns): Revert Oct 16 change; if we are to elide
8364 the callee's ldgp, we must do it ourselves, and we use the jsr tag
8365 for more than scheduling.
8366
27f65411
DE
8367Fri Oct 24 13:23:04 1997 Doug Evans <devans@canuck.cygnus.com>
8368
8369 * sparc/sparc.h (ASM_SPEC): Delete asm_arch.
8370
e9ad4573
JL
8371Fri Oct 24 13:19:40 1997 Jeffrey A Law (law@cygnus.com)
8372
8373 * mn10300.c (symbolic_operand, legitimize_address): New functions.
8374 * mn10300.h (LEGITIMIZE_ADDRESS): Call legitimize_address.
8375 (GO_IF_LEGITIMATE_ADDRESS): Don't allow base + symbolic.
8376
66724f0a
JL
8377Thu Oct 23 09:35:12 1997 Jeffrey A Law (law@cygnus.com)
8378
8379 * version.c: Bump for snapshot.
8380
c401498b
R
8381Thu Oct 23 08:03:59 1997 J"orn Rennecke <amylaar@cygnus.co.uk>
8382
8383 * dbxout.c (dbxout_start_new_source_file): Use output_quoted_string
8384 for FILENAME.
8385
b22b9b3e
JL
8386Wed Oct 22 00:34:12 1997 Jeffrey A Law (law@cygnus.com)
8387
56bf1fd9
JL
8388 * toplev.c (flag_exceptions): Default value is 2.
8389 (compile_file): If flag_exceptions still has the value 2, then
8390 set it to 0.
8391
a04232e5
JL
8392 * rs6000.c (struct machine_function): Add pic_offset_table_rtx.
8393 (rs6000_save_machine_status): Save pic_offset_table_rtx.
8394 (rs6000_restore_machine_status: Restore pic_offset_table_rtx.
8395
0bd83abd
JL
8396 * local-alloc.c (block_alloc): Don't lose if two SCRATCH expressions
8397 are shared.
8398
b22b9b3e
JL
8399 * rs6000.md (*movsi_got_internal_mem): New pattern.
8400 (*movsi_got_internal_mem splitter): New define_split.
8401
c1e385db
JW
8402Tue Oct 21 18:14:03 1997 Jim Wilson <wilson@cygnus.com>
8403
8404 * obstack.h (obstack_empty_p): Fix spurious space after backslash.
8405
1a986152
GK
8406Tue Oct 21 18:34:01 1997 Geoffrey KEATING <geoffk@ozemail.com.au>
8407
8408 * rs6000.c: Avoid creating a stack frame under SYSV ABI if we
8409 only need to save LR.
8410
5d29a95f
JL
8411Tue Oct 21 10:06:40 1997 Jeffrey A Law (law@cygnus.com)
8412
c6ee9150
JL
8413 * mn10300.md (movqi, movhi): Avoid using address registers as
8414 destinations unless absolutely necessary.
8415
d5255ba2
JL
8416 * mn10200.c (expand_prologue): Fix typo.
8417
9d2128b8
JL
8418 * mn10200.h (GO_IF_LEGITIMATE_ADDRESS): Do not allow indexed
8419 addresses.
8420 * mn10200.md (neghi2): Provide an alternative which works if
8421 the input and output register are the same.
8422
576e5acc
JL
8423 * mn10300.c (print_operand): Handle 'S'.
8424 * mn10300.md (ashlsi3, lshrsi3, ashrsi3): Use %S for
8425 shift amount in last alternative
8426
5d29a95f
JL
8427 * mn10300.c (expand_epilogue): Rework to handle register restores
8428 in "ret" and "retf" instructions correctly.
8429
3bf1b082
JW
8430Mon Oct 20 16:47:08 1997 Jim Wilson <wilson@cygnus.com>
8431
8432 * expmed.c (extract_bit_field): Don't make flag_force_mem disable
8433 extzv for memory operands.
8434
8435 * cse.c (simplify_ternary_operation, case IF_THEN_ELSE): Collapse
8436 redundant conditional moves to single operand.
8437
ddbd8d36
NC
8438Mon Oct 20 15:30:26 1997 Nick Clifton <nickc@cygnus.com>
8439
8440 * v850.h: Move define of __v850__ from CPP_PREDEFINES
8441 to CPP_SPEC.
b57062ca 8442
ddbd8d36
NC
8443 * xm-v850.h: Use __v850 rather than __v850__ to
8444 identify v850 port.
8445
a944a4eb
JW
8446Mon Oct 20 14:15:02 1997 Jim Wilson <wilson@cygnus.com>
8447
8448 * mips/mips.c (compute_frame_size): Not a leaf function if
8449 profile_flag set.
8450
2d5b6dea
GK
8451Mon Oct 20 14:16:38 1997 Geoffrey KEATING <geoffk@ozemail.com.au>
8452
8453 * rs6000/t-ppccomm: Use -msdata=none for crtstuff.
8454
f0a9fa6c
DE
8455Mon Oct 20 12:28:17 1997 Doug Evans <devans@canuck.cygnus.com>
8456
8457 * sparc/sparc.h (SPARC_V9,SPARC_ARCH64): Delete.
8458 (DEFAULT_ARCH32_P): New macro.
8459 (TARGET_ARCH{32,64}): Allow compile time or runtime selection.
8460 (enum cmodel): Declare.
8461 (sparc_cmodel_string,sparc_cmodel): Declare.
8462 (SPARC_DEFAULT_CMODEL): Provide default.
8463 (TARGET_{MEDLOW,MEDANY}): Renamed to TARGET_CM_{MEDLOW,MEDANY}.
8464 (TARGET_FULLANY): Deleted.
8465 (TARGET_CM_MEDMID): New macro.
8466 (CPP_CPU_DEFAULT_SPEC): Renamed from CPP_DEFAULT_SPEC.
8467 (ASM_CPU_DEFAULT_SPEC): Renamed from ASM_DEFAULT_SPEC.
8468 (CPP_PREDEFINES): Take out stuff now handled by %(cpp_arch).
8469 (CPP_SPEC): Rewrite.
8470 (CPP_ARCH{,32,64,_DEFAULT}_SPEC): New macros.
8471 (CPP_{ENDIAN,SUBTARGET}_SPEC): New macros.
8472 (ASM_ARCH{,32,64,_DEFAULT}_SPEC): New macros.
8473 (ASM_SPEC): Add %(asm_arch).
8474 (EXTRA_SPECS): Rename cpp_default to cpp_cpu_default.
8475 Rename asm_default to asm_cpu_default.
8476 Add cpp_arch32, cpp_arch64, cpp_arch_default, cpp_arch, cpp_endian,
8477 cpp_subtarget, asm_arch32, asm_arch64, asm_arch_default, asm_arch.
8478 (NO_BUILTIN_{PTRDIFF,SIZE}_TYPE): Define ifdef SPARC_BI_ARCH.
8479 ({PTRDIFF,SIZE}_TYPE): Provide 32 and 64 bit values.
8480 (MASK_INT64,MASK_LONG64): Delete.
8481 (MASK_ARCH64): Renamed to MASK_64BIT.
8482 (MASK_{MEDLOW,MEDANY,FULLANY,CODE_MODEL}): Delete.
8483 (EMBMEDANY_BASE_REG): Renamed from MEDANY_BASE_REG.
8484 (TARGET_SWITCHES): Always provide 64 bit options.
8485 (ARCH64_SWITCHES): Delete.
8486 (TARGET_OPTIONS): New option -mcmodel=.
8487 (INT_TYPE_SIZE): Always 32.
8488 (MAX_LONG_TYPE_SIZE): Define ifdef SPARC_BI_ARCH.
8489 (INIT_EXPANDERS): sparc64_init_expanders renamed to sparc_init_....
8490 (FUNCTION_{,BLOCK_}PROFILER): Delete TARGET_EMBMEDANY support.
8491 (PRINT_OPERAND_PUNCT_VALID_P): Add '_'.
8492 * sparc/linux-aout.h (CPP_PREDEFINES): Take out stuff handled by
8493 CPP_SPEC.
8494 (CPP_SUBTARGET_SPEC): Renamed from CPP_SPEC.
8495 * sparc/linux.h: Likewise.
8496 * sparc/linux64.h (SPARC_V9,SPARC_ARCH64): Delete.
8497 (ASM_CPU_DEFAULT_SPEC): Renamed from ASM_DEFAULT_SPEC.
8498 (TARGET_DEFAULT): Delete MASK_LONG64, MASK_MEDANY, add MASK_64BIT.
8499 (SPARC_DEFAULT_CMODEL): Define.
8500 (CPP_PREDEFINES): Take out stuff handled by CPP_SPEC.
8501 (CPP_SUBTARGET_SPEC): Renamed from CPP_SPEC.
8502 (LONG_DOUBLE_TYPE_SIZE): Define.
8503 (ASM_SPEC): Add %(asm_arch).
8504 * sparc/sol2.h (CPP_PREDEFINES): Take out stuff handled by CPP_SPEC.
8505 (CPP_SUBTARGET_SPEC): Renamed from CPP_SPEC.
8506 (TARGET_CPU_DEFAULT): Add ultrasparc case.
8507 * sparc/sp64-aout.h (SPARC_V9,SPARC_ARCH64): Delete.
8508 (TARGET_DEFAULT): MASK_ARCH64 renamed to MASK_64BIT.
8509 (SPARC_DEFAULT_CMODEL): Define.
8510 * sparc/sp64-elf.h (SPARC_V9,SPARC_ARCH64): Delete.
8511 (TARGET_DEFAULT): MASK_ARCH64 renamed to MASK_64BIT. Delete
8512 MASK_LONG64, MASK_MEDANY.
8513 (SPARC_DEFAULT_CMODEL): Define.
8514 (CPP_PREDEFINES): Delete.
8515 (CPP_SUBTARGET_SPEC): Renamed from CPP_SPEC.
8516 (ASM_SPEC): Add %(asm_arch).
8517 (LONG_DOUBLE_TYPE_SIZE): Define.
8518 (DWARF2_DEBUGGING_INFO): Define.
8519 * sparc/splet.h (CPP_SPEC): Delete.
8520 * sparc/sysv4.h (CPP_PREDEFINES): Take out stuff handled by CPP_SPEC.
8521 (FUNCTION_BLOCK_PROFILER): Delete TARGET_EMBMEDANY support.
8522 (BLOCK_PROFILER): Likewise.
8523 * sparc/sparc.c (sparc_cmodel_string,sparc_cmodel): New globals.
8524 (sparc_override_options): Handle code model selection.
8525 (sparc_init_expanders): Renamed from sparc64_init_expanders.
8526 * sparc/sparc.md: TARGET_<code_model> renamed to TARGET_CM_....
8527 TARGET_MEDANY renamed to TARGET_CM_EMBMEDANY.
8528 (sethi_di_embmedany_{data,text}): Renamed from sethi_di_medany_....
8529 (sethi_di_fullany): Delete.
8530
a3b0df2d
KK
8531Mon Oct 20 02:00:18 1997 Klaus Kaempf <kkaempf@progis.de>
8532 Jeff Law <law@cygnus.com>
8533 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
8534
3a133c72
KK
8535 * alpha/vms.h (DIVSI3_LIBCALL): OTS$ functions are upper case.
8536 (DIVDI3_LIBCALL, UDIVSI3_LIBCALL, UDIVDI3_LIBVALL): Likewise.
8537 (MODSI3_LIBCALL, MODDI3_LIBCALL): Likewise.
8538 (UMODSI3_LIBCALL, UMODDI3_LIBCALL): Likewise.
8539 * alpha/alpha.md (arg_home): Likewise.
8540
a3b0df2d
KK
8541 * alpha/alpha.c (vmskrunch): Delete
8542 * alpha/vms.h (ENCODE_SECTION_INFO, ASM_DECLARE_FUNCTION_NAME): Delete.
8543 * alpha.c (output_prolog, VMS): Use alloca for entry_label and don't
8544 truncate to 64 characters.
8545
8546 * make-l2.com: Support openVMS/Alpha.
8547
8548 * vmsconfig.com: Fix to work on openVMS/Alpha and openVMS/VAX.
8549
7d4f2e6c
R
8550Sun Oct 19 19:00:35 1997 J"orn Rennecke <amylaar@cygnus.co.uk>
8551
8552 * longlong.h (count_leading_zeros): Add missing casts to USItype.
8553
decd44ac
JL
8554Sun Oct 19 18:44:06 1997 Jeffrey A Law (law@cygnus.com)
8555
8556 * i386/bsd386.h (ASM_COMMENT_START): Define.
8557
d1485032
JM
8558Sat Oct 18 13:47:15 1997 Jason Merrill <jason@yorick.cygnus.com>
8559
8560 * tree.c (restore_tree_status): Also free up temporary storage
8561 when we finish a toplevel function.
8562 (dump_tree_statistics): Print stats for backend obstacks.
8563
6bd35f86
DE
8564Sat Oct 18 12:47:31 1997 Doug Evans <dje@canuck.cygnus.com>
8565
8566 * expr.c (use_group_regs): Don't call use_reg for MEMs.
8567
d1485032
JM
8568Sat Oct 18 09:49:46 1997 Jason Merrill <jason@yorick.cygnus.com>
8569
8570 * libgcc2.c (__throw): Don't copy the return address.
8571 * dwarf2out.c (expand_builtin_dwarf_reg_size): Ignore return address.
8572
8573 * except.c (exceptions_via_longjmp): Initialize to 2 (uninitialized).
8574 * toplev.c (main): Initialize exceptions_via_longjmp.
8575
8576 * tree.c: Add extra_inline_obstacks.
8577 (save_tree_status): Use it.
8578 (restore_tree_status): If this is a toplevel inline obstack and we
8579 didn't want to save anything on it, recycle it.
8580 (print_inline_obstack_statistics): New fn.
b57062ca 8581 * function.c (pop_function_context_from): Pass context to
d1485032
JM
8582 restore_tree_status.
8583 * obstack.h (obstack_empty_p): New macro.
8584
6981eacf
JL
8585Sat Oct 18 00:43:59 1997 Jeffrey A Law (law@cygnus.com)
8586
8587 * i386/freebsd.h (ASM_COMMENT_START): Fix.
8588
1933ec7e
JW
8589Fri Oct 17 23:48:52 1997 Jim Wilson (wilson@cygnus.com)
8590
8591 * v850.c (ep_memory_offset): New function.
8592 (ep_memory_operand, substitute_ep_register, v850_reorg): Call it.
8593
8594 * v850.h (CONST_OK_FOR_*): Add and correct comments.
8595 (CONSTANT_ADDRESS_P): Add comment.
8596 (EXTRA_CONSTRAINT): Define 'U'.
8597 * v850.md: Add comments on bit field instructions.
8598 (addsi3): Delete &r/r/r alternative. Add r/r/U alternative.
b57062ca 8599 (lshrsi3): Use N not J constraint.
1933ec7e
JW
8600
8601 * v850.md (v850_tst1+1): New define_split for tst1 instruction.
8602
8603 * v850.c (reg_or_0_operand): Call register_operand.
8604 (reg_or_int5_operand): Likewise.
8605 * v850.h (MASK_BIG_SWITCH, TARGET_BIG_SWITCH): New macros.
8606 (TARGET_SWITCHES): Add "big-switch".
8607 (ASM_OUTPUT_ADDR_VEC_ELT, ASM_OUTPUT_ADDR_DIFF_ELT, CASE_VECTOR_MODE,
8608 ASM_OUTPUT_BEFORE_BASE_LABEL): Add support for TARGET_BIG_SWITCH.
8609 (CASE_DROPS_THROUGH): Comment out.
8610 (CASE_VECTOR_PC_RELATIVE, JUMP_TABLES_IN_TEXT_SECTION): Define.
8611 * v850.md (cmpsi): Delete compare mode.
8612 (casesi): New pattern.
8613
8614 * v850.h (CONST_OK_FOR_N): Delete redundant compare against zero.
8615 * v850.md (ashlsi3): Use SImode not QImode for shift count.
8616 (lshrsi3): Likewise.
8617
8618 * v850.c (print_operand): Add 'c', 'C', and 'z' support. Delete
8619 unreachable switch statement after 'b' support. Remove "b" from
8620 strings for 'b' support.
8621 * v850.md (branch_normal, branch_invert): Change %b to b%b.
8622
13c2de98
JL
8623Fri Oct 17 23:33:20 1997 Jeffrey A Law (law@cygnus.com)
8624
8625 * Makefile.in (LIBGCC2_CFLAGS): Avoid a backslash then an
8626 empty line if @inhibit_libc@ is empty.
8627
b2167bee
RL
8628Fri Oct 17 23:24:40 1997 Robert Lipe (robertl@dgii.com)
8629
8630 * i386/sco5.h: Let ELF use dwarf2 unwinding. COFF uses sjlj.
8631 (EH_FRAME_SECTION_ASM_OP, EH_FRAME_SECTION_ASM_OP_ELF): Defined.
8632 (EH_FRAME_SECTION_ASM_OP_COFF): Likewise.
8633 (DWARF2_UNWIND_INFO): Let this track object file format.
8634 (EXTRA_SECTIONS): Add in_eh.
8635 (EH_FRAME_SECTION_ASM_OP, EH_FRAME_SECTION_ASM_OP_ELF): Define.
8636 (EH_FRAME_SECTION_ASM_OP_COFF): Likewise.
8637
bf2a2c6b
DM
8638Fri Oct 17 17:13:42 1997 David S. Miller <davem@tanya.rutgers.edu>
8639
8640 * sparc/linux64.h (LINK_SPEC): Dynamic linker is ld-linux64.so.2.
da2a90f7
DM
8641 * sparc/sparc.h (FUNCTION_PROFILER): Fix format string when
8642 TARGET_MEDANY.
f4f8e370
DE
8643 * sparc/sparc.c (dwarf2out_cfi_label): Extern no longer needed.
8644 (output_double_int): Output DI mode values correctly when
8645 HOST_BITS_PER_WIDE_INT is 64.
9d162eb2
DE
8646 (output_fp_move_quad): If TARGET_V9 and not TARGET_HARD_QUAD, use
8647 fmovd so it works if a quad float ends up in one of the upper 32
8648 float regs.
7e37212e
DM
8649 * sparc/sparc.md (pic_{lo_sum,sethi}_di): New patterns
8650 necessary for PIC support on sparc64.
bf2a2c6b 8651
9ff84e67
DE
8652Fri Oct 17 13:39:56 1997 Doug Evans <dje@canuck.cygnus.com>
8653
8654 * sparc/sp64-elf.h (TARGET_DEFAULT): Delete MASK_STACK_BIAS.
8655 * sparc/sparc.h (PROMOTE_MODE): Promote small ints if arch64.
8656 (PROMOTE_FUNCTION_ARGS,PROMOTE_FUNCTION_RETURN): Define.
8657 (SPARC_FIRST_FP_REG, SPARC_FP_REG_P): New macros.
8658 (SPARC_{OUTGOING,INCOMING}_INT_ARG_FIRST): New macros.
8659 (SPARC_FP_ARG_FIRST): New macro.
8660 (CONDITIONAL_REGISTER_USAGE): All v9 fp regs are volatile now.
8661 (REG_ALLOC_ORDER,REG_LEAF_ALLOC_ORDER): Reorganize fp regs.
8662 (NPARM_REGS): There are 32 fp argument registers now.
8663 (FUNCTION_ARG_REGNO_P): Likewise.
8664 (FIRST_PARM_OFFSET): Update to new v9 abi.
8665 (REG_PARM_STACK_SPACE): Define for arch64.
8666 (enum sparc_arg_class): Delete.
8667 (sparc_arg_count,sparc_n_named_args): Delete.
8668 (struct sparc_args): Redefine and use for arch32 as well as arch64.
8669 (GET_SPARC_ARG_CLASS,ROUND_REG,ROUND_ADVANCE): Delete.
8670 (FUNCTION_ARG_ADVANCE): Rewrite.
8671 (FUNCTION_ARG,FUNCTION_INCOMING_ARG): Rewrite.
8672 (FUNCTION_ARG_{PARTIAL_NREGS,PASS_BY_REFERENCE}): Rewrite.
8673 (FUNCTION_ARG_CALLEE_COPIES): Delete.
8674 (FUNCTION_ARG_{PADDING,BOUNDARY}): Define.
8675 (STRICT_ARGUMENT_NAMING): Define.
8676 (doublemove_string): Declare.
8677 * sparc/sparc.c (sparc_arg_count,sparc_n_named_args): Delete.
8678 (single_move_string): Use GEN_INT, and HOST_WIDE_INT.
8679 (doublemove_string): New function.
8680 (output_move_quad): Clean up some of the arch64 support.
8681 (compute_frame_size): Add REG_PARM_STACK_SPACE if arch64.
8682 Don't add 8 bytes of reserved space if arch64.
8683 (sparc_builtin_saveregs): Combine arch32/arch64 versions.
8684 (init_cumulative_args): New function.
8685 (function_arg_slotno): New static function.
8686 (function_arg,function_arg_partial_nregs): New functions.
8687 (function_arg_{pass_by_reference,advance}): New functions.
8688 (function_arg_padding): New function.
c1215820 8689 * ginclude/va-sparc.h: Rewrite v9 support.
9ff84e67 8690
b8fb2d72
CI
8691Fri Oct 17 12:29:48 1997 Christian Iseli <Christian.Iseli@lslsun.epfl.ch>
8692
f22376c7
CI
8693 * regclass.c (record_address_regs): Look at REG_OK_FOR_{BASE,INDEX}_P
8694 for hard regs to determine base and index registers.
8695
b8fb2d72
CI
8696 * reload.c (debug_reload_to_stream): New function. Specify stream
8697 into which to write debug info.
8698 (debug_reload): Modify to call debug_reload_to_stream with stderr.
8699
b79ee7eb
RH
8700Thu Oct 16 15:07:51 1997 Richard Henderson <rth@cygnus.com>
8701
8702 * combine.c (can_combine_p): Don't combine with an asm whose
8703 output is a hard register.
8704
5c19a356
MS
8705Thu Oct 16 15:43:26 1997 Mike Stump (mrs@wrs.com)
8706
8707 * c-decl.c (start_struct): Ensure that structs with forward
8708 declarations are in fact packed when -fpack-struct is given.
8709
8710 * stor-layout.c (layout_record): Ignore STRUCTURE_SIZE_BOUNDARY if
8711 we are packing a structure. This allows a structure with only
8712 bytes to be aligned on a byte boundary and have no padding on a
8713 m68k.
8714
02bef6da
RK
8715Thu Oct 16 15:17:54 1997 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
8716
8717 * rs6000.h (ROUND_TYPE_ALIGN): Don't blow up if no fields in record.
8718
9ecc37f0
RH
8719Thu Oct 16 11:20:30 1997 Richard Henderson <rth@cygnus.com>
8720
8721 * alpha.c (alpha_return_addr_rtx): New variable.
8722 (alpha_save_machine_status): New; save it.
8723 (alpha_restore_machine_status): New; restore it.
8724 (alpha_init_expanders): New; clear it.
8725 (alpha_return_addr): New; set it.
8726 (alpha_ra_ever_killed): New; if alpha_return_addr_rtx, regs_ever_live
8727 is overly conservative, so search the insns explicitly.
8728 (alpha_sa_mask [VMS]): Check alpha_ra_ever_killed.
8729 (alpha_sa_size [VMS && !VMS]): Likewise.
8730 * alpha.h (RETURN_ADDR_RTX): Call alpha_return_addr.
8731 (INIT_EXPANDERS): New definition.
b57062ca 8732
9ecc37f0
RH
8733 * alpha.c: Move REG_PV, REG_RA somewhere more visible in the file.
8734 (output_prolog [!VMS]): Use them.
8735
8736 * alpha.c (output_prolog [!VMS]): Move gp detection to ...
b57062ca 8737 (alpha_does_function_need_gp): ... a new function. Refine the
9ecc37f0
RH
8738 CALL_INSN test to just TYPE_JSR.
8739 * alpha.md (most call insns): Fix some jsr/ibr type transpositions.
8740
bda2ffef
JL
8741Thu Oct 16 09:36:47 1997 Jeffrey A Law (law@cygnus.com)
8742
8743 * version.c: Bump for snapshot.
8744
96b63cd7
RK
8745Wed Oct 15 21:38:18 1997 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
8746
8747 * pa.c (move_operand): Respect -mdisable-indexing.
8748 * pa.h (GO_IF_LEGITIMATE_ADDRESS): Likewise.
8749
f192bf8b
DE
8750Wed Oct 15 21:34:45 1997 David Edelsohn <edelsohn@mhpcc.edu>
8751
8752 * rs6000.md (udivsi3, divsi3): Split into MQ and non-MQ cases for
8753 PPC601.
8754 (umulsidi3,umulsi3_highpart): Ditto.
8755 (smulsi3_highpart_no_mq): Add !TARGET_POWER.
8756
2ea844d3
RH
8757Wed Oct 15 18:21:46 1997 Richard Henderson <rth@cygnus.com>
8758
8759 * alpha.c (final_prescan_insn): Gut, remove and transform to ...
8760 (alpha_handle_trap_shadows): ... a new function. Handle the entire
8761 function in one go. Emit RTL for trapb, instead of printf directly.
8762 (alpha_reorg): New function. Call alpha_handle_trap_shadows.
8763 (trap_pending): Kill global variable.
8764 (output_epilog): Don't call final_prescan_insn.
8765 (struct shadow_summary): Elide $31 and $f31; now it fits in a word.
8766 * alpha.h (FINAL_PRESCAN_INSN): Remove.
8767 (MACHINE_DEPENENT_REORG): Define.
8768 * alpha.md (jsr patterns with trapb): Stupid and useless. Kill.
8769 (trapb): New insn.
8770
74835ed8
RH
8771Wed Oct 15 18:16:05 1997 Richard Henderson <rth@cygnus.com>
8772
8773 Tune Haifa scheduler for Alpha:
8774 * alpha.h (ISSUE_RATE): Define.
8775 * alpha.c (alpha_adjust_cost): Handle EV5 mult delay; don't apply
8776 EV4 adjustments to EV5.
8777 * alpha.md: Remove all scaling from function unit delays. Rework
8778 EV5 function units to match the CPU.
8779 (umuldi3_highpart): EV5 added the IMULH insn class.
8780
cdc0de30
JL
8781Wed Oct 15 17:42:41 1997 Jeffrey A Law (law@cygnus.com)
8782
8783 * pa.c (following_call): Fail if the CALL_INSN is an indirect
8784 call.
8785
041c97f2
MM
8786Tue Oct 14 12:01:00 1997 Mark Mitchell <mmitchell@usa.net>
8787
8788 * cplus-dem.c (demangle_signature): Don't look for return types on
8789 constructors. Handle member template constructors.
8790
f0632762
JM
8791Tue Oct 14 11:30:29 1997 Jason Merrill <jason@yorick.cygnus.com>
8792
8793 * tree.c (expr_tree_cons, build_expr_list, expralloc): New fns.
22ef8a13 8794 * tree.h: Declare them.
f0632762 8795
dec88383
DE
8796Fri Oct 10 13:46:56 1997 Doug Evans <dje@canuck.cygnus.com>
8797
8798 * configure.in: Handle --with-newlib.
8799 * Makefile.in (LIBGCC2_CFLAGS): Add @inhibit_libc@.
8800
8801 * sparc/t-sp64 (LIBGCC2_CFLAGS): Delete.
8802
0e1f3f5e
JL
8803Wed Oct 8 14:37:44 1997 Jeffrey A Law (law@cygnus.com)
8804
8805 * config/ptx4.h: Fix typo.
8806
12504ae0
JL
8807Wed Oct 8 08:57:20 1997 Jeffrey A Law (law@cygnus.com)
8808
8809 * version.c: Bump for snapshot.
8810
5643c767
MH
8811Tue Oct 7 16:27:34 1997 Manfred Hollstein <manfred@s-direktnet.de>
8812
8813 * aclocal.m4: Substitute INSTALL.
8814 * configure: Re-built.
8815
aa0c1401
JL
8816Tue Oct 7 15:37:35 1997 Jeffrey A Law (law@cygnus.com)
8817
f644bd14
JL
8818 * integrate.c (save_for_inline_copying): Avoid undefined pointer
8819 operations.
8820 (expand_inline_function): Likewise.
8821
aa0c1401
JL
8822 * dwarf2out.c (output_call_frame_info): Reinstate last change
8823 using flag_debug_asm check instead of flag_verbose_asm.
8824
6c2df6c9
JW
8825Tue Oct 7 12:57:26 1997 Jim Wilson <wilson@cygnus.com>
8826
8827 * dwarf2out.c (output_call_frame_info): Remove last change.
8828
13ab2b83
AS
88291997-10-04 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
8830
8831 * frame.c (__frame_state_for): Execute the FDE insns until the
8832 current pc value is strictly bigger than the target pc value.
8833
066c2fea
JM
8834Tue Oct 7 11:00:42 1997 Jason Merrill <jason@yorick.cygnus.com>
8835
b57062ca 8836 * regclass.c (init_reg_modes): If we can't find a mode for the
066c2fea
JM
8837 register, use the previous one.
8838
2f308fec
RH
8839Tue Oct 7 10:55:34 1997 Richard Henderson <rth@cygnus.com>
8840
8841 * haifa-sched.c (print_block_visualization): Call fprintf directly,
8842 don't sprintf through an alloca'ed buffer.
8843
43984e29
TK
8844Tue Oct 7 10:52:29 1997 Thomas Koenig (ig25@rz.uni-karlsruhe.de)
8845
8846 * reload.c (decompose): Always initialize val.base.
8847
e9e30253
MH
8848Tue Oct 7 10:19:26 1997 Manfred Hollstein (manfred@lts.sel.alcatel.de)
8849
8850 * m68k/mot3300.h (ASM_OUTPUT_ALIGN): Accept any alignment
8851 instead of aborting.
8852 * dwarf2out.c (output_call_frame_info): Call app_enable and
8853 app_disable to let GNU as accept the generated comments.
8854
496651db
MM
8855Tue Oct 7 11:41:21 1997 Michael Meissner <meissner@cygnus.com>
8856
8857 * tree.h (get_file_function_name): Add declaration.
8858 * dwarf2out.c (output_call_frame_info): No need to cast
8859 get_file_function_name call anymore.
8860 * profile.c (toplevel): Remove get_file_function_name
8861 declaration.
8862 * c-lang.c (finish_file): Ditto.
8863
e6347456
CS
8864Tue Oct 7 10:01:45 1997 Chip Salzenberg <chip@rio.atlantic.net>
8865
8866 * Makefile.in (program_transform_name): Let autoconf substitute
8867 the correct value.
8868
1447b516
JL
8869Tue Oct 7 09:54:35 1997 Jeffrey A Law (law@cygnus.com)
8870
8871 * haifa-sched.c (schedule_block): If the first real insn in a
8872 block has any special notes attached to it, remove them.
8873
1a42ead7
RH
8874Tue Oct 7 09:48:51 1997 Richard Henderson <rth@cygnus.com>
8875
8876 * alpha.h (FLOAT_STORE_FLAG_VALUE): It's 2.0 not 0.5.
8877
4b6140f1
MH
8878Mon Oct 6 12:47:32 1997 Manfred Hollstein (manfred@lts.sel.alcatel.de)
8879
8880 * m88k.c (m88k_begin_prologue): Remove superfluous backslash.
8881
dc84d7bc
JL
8882Mon Oct 6 12:04:24 1997 Jeffrey A Law (law@cygnus.com)
8883
8884 * Makefile.in (check-g77): New test target.
8885 (CHECK-TARGETS): Add check-g77.
8886
c0da11c4
JM
8887Fri Oct 3 11:56:36 1997 Jason Merrill <jason@yorick.cygnus.com>
8888
8889 * toplev.c (rest_of_compilation): Defer all non-nested inlines.
8890
d8d64559
MM
8891Fri Oct 3 15:49:27 1997 Michael Meissner <meissner@cygnus.com>
8892
8893 * flow.c (print_rtl_with_bb): Cast alloca return value for
8894 in_bb_p.
8895
e414ab29
RH
8896Thu Oct 2 21:15:03 1997 Richard Henderson <rth@cygnus.com>
8897
b57062ca 8898 * i386.h (RETURN_ADDR_RTX): New definition that works for
e414ab29
RH
8899 __builtin_return_address(0) and -fomit-frame-pointer.
8900
15039abe
JW
8901Wed Oct 1 13:43:53 1997 Jim Wilson <wilson@cygnus.com>
8902
8903 Bring over from FSF.
8904 Tue Aug 5 16:10:45 1997 Jason Merrill <jason@yorick.cygnus.com>
8905
b57062ca 8906 * mips.c (function_arg): Handle passing a struct
15039abe
JW
8907 containing a double in a DFmode register without the PARALLEL.
8908
281de624
ILT
8909Wed Oct 1 11:13:25 1997 Ian Lance Taylor <ian@cygnus.com>
8910
d8d64559 8911 * pexecute.c: Use spawn if __CYGWIN32__.
281de624 8912
d8d64559 8913 * pexecute.c: Include "config.h" first, as per autoconf manual
281de624
ILT
8914 (from Paul Eggert <eggert@twinsun.com>).
8915
3cbdd5fc
PDM
8916Wed Oct 1 01:44:36 1997 Philippe De Muyter <phdm@info.ucl.ac.be>
8917
8918 * m68k/x-mot3300 (XCFLAGS): Disable as's long/short jump
8919 optimisation for f/expr.o and f/stb.o.
8920
135d84b8
JL
8921Tue Sep 30 23:48:57 1997 Jeffrey A Law (law@cygnus.com)
8922
8923 * cse.c (this_insn_cc0_mode): Initialize.
8924
55d89719
TK
8925Tue Sep 30 23:09:40 1997 Thomas Koenig <ig25@mvmap66.ciw.uni-karlsruhe.de>
8926
d3878e49
TK
8927 * cccp.c (expand_to_temp_buffer): Initialize all members of obuf.
8928
8929 * haifa-sched.c (get_block_head_tail): Remove unneeded initialization.
55d89719 8930
e9d0757e
RH
8931Tue Sep 30 23:06:43 1997 Richard Henderson <rth@cygnus.com>
8932
8933 * alpha.md (beq): For registers and ints 0-255, use cmpeq+bne, since
8934 that pair will dual-issue on the 21164 and plus+beq won't.
8935 (bne): Likewise for cmpeq+beq.
8936
3f34faec
JW
8937Tue Sep 30 16:07:58 1997 Jim Wilson <wilson@cygnus.com>
8938
8939 * except.c (find_exception_handler_labels): Correct argument to free.
8940
3226dac5 8941Tue Sep 30 11:00:00 1997 Brendan Kehoe <brendan@lisa.cygnus.com>
988cea7d
BK
8942
8943 * except.c (find_exception_handler_labels): Free LABELS when we're
8944 done.
8945
3a6eabfa
JL
8946Mon Sep 29 14:04:35 1997 Jeffrey A Law (law@cygnus.com)
8947
8948 * version.c: Bump for snapshot.
8949
974c50f9
JM
8950Mon Sep 29 10:51:53 1997 Jason Merrill <jason@yorick.cygnus.com>
8951
8952 * flow.c (find_basic_blocks): Mark calls as potentially jumping
8953 to the EH labels.
8954
9b16d2c4
JL
8955Mon Sep 29 09:58:06 1997 Jeffrey A Law (law@cygnus.com)
8956
8957 * configure.in: Substitute for "install" too.
8958 * configure: Rebuilt.
8959
b1e3ddfd
AJ
8960Mon Sep 29 00:38:42 1997 Aaron Jackson <jackson@negril.msrce.howard.edu>
8961
8962 * Makefile.in (bootstrap-lean, compare-lean): New targets.
8963
6662a38d
RH
8964Mon Sep 29 00:18:16 1997 Richard Henderson (rth@cygnus.com)
8965
c02f035f
RH
8966 * alias.c (base_alias_check): Two symbols can conflict if they
8967 are accessed via AND.
8968 (memrefs_conflict_p): Likewise.
8969
7a14fdc5
RH
8970 * alpha.h (SETUP_INCOMING_VARARGS): Emit a blockage insn
8971 after flushing argument registers to the stack.
8972
6662a38d
RH
8973 * Makefile.in (mostlyclean): Remove .regmove files.
8974
f3447109
JM
8975Sun Sep 28 18:59:58 1997 Jason Merrill <jason@yorick.cygnus.com>
8976
8977 * libgcc2.c (__throw): Fix thinko.
8978
37f6b6bf
MM
8979Sun Sep 28 12:00:52 1997 Mark Mitchell <mmitchell@usa.net>
8980
8981 * cplus-dem.c (demangle_template): Add new parameter. Handle new
8982 template-function mangling.
8983 (consume_count_with_underscores): New function.
8984 (demangle_signature): Handle new name-mangling scheme.
8985
adfc539e
PDM
8986Sun Sep 28 01:55:04 1997 Philippe De Muyter <phdm@info.ucl.ac.be>
8987
8988 * flow.c (print_rtl_with_bb): Cast alloca return values for variables
8989 start and end.
8990
92cbe4d2
JL
8991Sun Sep 28 01:05:16 1997 Jeffrey A Law (law@cygnus.com)
8992
8993 * frame.c: Remove last change.
8994 * dwarf2.h: Remove last change.
8995 * tree.h: Add declarations of DWARF2 unwind info support
8996 functions.
8997
2f3ca9e7
JM
8998Sat Sep 27 11:02:38 1997 Jason Merrill <jason@yorick.cygnus.com>
8999
9000 * c-decl.c (init_decl_processing): Add __builtin_dwarf_reg_size.
9001 * tree.h (built_in_function): Likewise.
9002 * expr.c (expand_builtin): Likewise.
9003 * except.h: Likewise.
9004 * dwarf2out.c (expand_builtin_dwarf_reg_size): New fn.
9005 * libgcc2.c (copy_reg): New fn.
9006 (__throw): Use it.
9007
407cb092
PE
9008Fri Sep 26 08:54:59 1997 Paul Eggert <eggert@twinsun.com>
9009
9010 * c-typeck.c (build_binary_op): Warn about comparing signed vs
9011 unsigned if -W is specified and -Wno-sign-compare is not.
9012 * c-decl.c (warn_sign_compare): Initialize to -1.
9013 (c_decode_option): -Wall no longer implies -Wsign-compare.
9014
3ba10494
AS
9015Fri Sep 26 09:00:13 1997 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
9016
a7cc7f29
AS
9017 * frame.c: Include gansidecl.h for PROTO.
9018 * dwarf2out.c: Move inclusion of dwarf2.h down so that PROTO is
9019 defined. Don't declare dwarf2out_cfi_label here.
9020 * dwarf2.h: Add declarations of DWARF2 unwind info support
9021 functions.
9022 * m68k.c: Include dwarf2.h.
9023 (output_function_prologue): Add dwarf2 support.
9024 * m68k.h (INCOMING_RETURN_ADDR_RTX, DWARF_FRAME_REGNUM): New macros.
9025 (INCOMING_FRAME_SP_OFFSET): Likewise.
9026
3ba10494
AS
9027 * integrate.c (expand_inline_function): Make sure there is at
9028 least one insn that can be used as an insertion point.
9029
c5cec899
JM
9030Wed Sep 24 21:34:06 1997 Jason Merrill <jason@yorick.cygnus.com>
9031
9032 * dwarf2out.c: s/flag_verbose_asm/flag_debug_asm/
9033
e166cb18
JL
9034Wed Sep 24 22:05:30 1997 Jeffrey A Law (law@cygnus.com)
9035
9036 * version.c: Bump for snapshot.
9037
01a94cba
DE
9038Wed Sep 24 17:36:23 1997 Doug Evans <dje@canuck.cygnus.com>
9039
9040 Bring over from FSF.
9041
9042 Wed Sep 24 19:17:08 1997 Doug Evans <dje@cygnus.com>
9043
9044 * sparc/sparc.md (get_pc_via_call): Renamed from get_pc_sp32.
9045 (get_pc_via_rdpc): Renamed from get_pc_sp64.
9046 * sparc/sparc.c (finalize_pic): Update call to gen_get_pc_via_call.
9047
9048 Wed Sep 24 18:38:22 1997 David S. Miller <davem@tanya.rutgers.edu>
9049
9050 * sparc/sparc.h (ASM_CPU_SPEC): Pass -Av9a for v8plus, ultrasparc.
9051 (TARGET_OPTIONS): Add -malign-loops=, -malign-jumps=,
9052 -malign-functions=.
9053 (sparc_align_{loops,jumps,funcs}_string): Declare.
9054 (sparc_align_{loops,jumps,funcs}): Declare.
9055 (DEFAULT_SPARC_ALIGN_FUNCS): New macro.
9056 (FUNCTION_BOUNDARY): Use sparc_align_funcs.
9057 (STACK_BIAS): Define.
9058 (SPARC_SIMM*_P): Cast to unsigned HOST_WIDE_INT first, then perform
9059 test.
9060 (SPARC_SETHI_P): New macro.
9061 (CONST_OK_FOR_LETTER_P): Use it.
9062 (ASM_OUTPUT_ALIGN_CODE): Define.
9063 (ASM_OUTPUT_LOOP_ALIGN): Define.
9064 * sparc/sparc.c (sparc_align_{loops,jumps,funcs}_string): New globals.
9065 (sparc_align_{loops,jumps,funcs}): New globals.
9066 (sparc_override_options): Handle -malign-loops=, -malign-jumps=,
9067 -malign-functions=.
9068 (move_operand): Use SPARC_SETHI_P.
9069 (arith_double_operand): Cast to unsigned HOST_WIDE_INT first, then
9070 perform test.
9071 (arith11_double_operand): Likewise.
9072 (arith10_double_operand): Likewise.
9073 (finalize_pic): Finish sparc64 support.
9074 (emit_move_sequence): Use SPARC_SETHI_P. Simplify low part of
9075 64 bit constants if able.
9076 (output_fp_move_quad): Don't use fmovq unless TARGET_HARD_QUAD.
9077 (sparc_builtin_saveregs, sparc64 case): Don't save fp regs if
9078 ! TARGET_FPU.
9079 * sparc/sparc.md (*): Use GEN_INT instead of gen_rtx.
9080 (get_pc_sp32): Use for sparc64 as well.
9081 (lo_sum_di_sp{32,64}): Fix handling on 64 bit hosts.
9082 (sethi_di_sp64_const): Likewise.
9083 (movtf_cc_sp64): Check TARGET_HARD_QUAD.
9084 (cmp_zero_extract_sp64): Use unsigned HOST_WIDE_INT in cast.
9085 (ashlsi3, ashldi3, ashrsi3, ashrdi3, lshrsi3, lshrdi3): Likewise.
9086
9087 Tue Sep 23 19:02:46 1997 Doug Evans <dje@cygnus.com>
9088
9089 * sparc/linux-aout.h (COMMENT_BEGIN): Delete.
9090 * sparc/linux.h (COMMENT_BEGIN): Likewise.
9091 * sparc/linux64.h (COMMENT_BEGIN): Likewise.
9092
9093 Tue Sep 23 14:48:18 1997 David S. Miller <davem@tanya.rutgers.edu>
9094
9095 Add sparc64 linux support.
9096 * configure.in (sparc64-*-linux*): Recognize. Add sparc/xm-sparc.h
9097 to xm_file list on 32-bit sparc-linux.
9098 * sparc/xm-sp64.h: New file.
9099 * sparc/linux64.h: New file.
9100 * sparc/xm-linux.h: Include some standard headers if not inhibit_libc.
9101 Don't include xm-sparc.h.
9102 * config/xm-linux.h (HAVE_PUTENV, HAVE_ATEXIT): Define.
9103 * glimits.h (LONG_MAX): Handle sparc64.
9104
9105 Sat Sep 20 03:07:54 1997 Doug Evans <dje@cygnus.com>
9106
9107 * sparc/sysv4.h (ASM_COMMENT_START): Delete.
9108 * sparc.h (ASM_COMMENT_START): Define.
9109 * sparc.c (output_function_prologue): Use it.
9110 (sparc_flat_output_function_{epi,pro}logue): Likewise.
9111
9112 Wed Sep 17 15:04:19 1997 Doug Evans <dje@cygnus.com>
9113
9114 * sparc/sysv4.h (ASM_OUTPUT_{FLOAT,DOUBLE,LONG_DOUBLE}): Delete,
9115 use sparc.h's copies.
9116 * sparc/sparc.h (ASM_OUTPUT_{FLOAT,DOUBLE,LONG_DOUBLE}): Print
9117 ascii form as well.
9118
9119 Mon Sep 8 08:45:19 1997 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
9120
9121 * sparc.c (dwarf2out_cfi_label): Add declaration.
9122 (save_regs, output_function_prologue): Remove cast for it.
9123 (sparc_flat_{save_restore,output_function_prologue): Likewise.
9124 ({save,restore}_regs): No longer inline.
9125
ce2157a1
JL
9126Tue Sep 23 12:34:51 1997 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
9127
9128 * fold-const.c (make_range): Correctly handle cases of converting
9129 from unsigned to signed type.
9130
9131Tue Sep 23 12:34:51 1997 Bernd Schmidt <crux@pool.informatik.rwth-aachen.de>
9132
9133 * fold-const.c (merge_ranges): Make sure that if one range is subset
9134 of another, it will always be the second range. Correct (+,-) case to
9135 account for this.
9136
c5cec899
JM
9137Tue Sep 23 08:32:51 1997 Jason Merrill <jason@yorick.cygnus.com>
9138
9139 * final.c (final_end_function): Also do dwarf2 thing if
9140 DWARF2_DEBUGGING_INFO.
9141 (final_start_function): Likewise.
9142
c107334d
DM
9143Tue Sep 23 01:15:50 1997 David S. Miller <davem@tanya.rutgers.edu>
9144
e13a25d5
DM
9145 * expmed.c (expand_divmod): If compute_mode is not the same as
9146 mode, handle the case where convert_modes() causes op1 to no
9147 longer be a CONST_INT.
9148
c107334d
DM
9149 * reorg.c (dbr_schedule): At end of this pass, add REG_BR_PRED
9150 note holding get_jump_flags() calculation to all JUMP_INSNs.
9151 * rtl.h (enum reg_note): New note types REG_BR_PRED and REG_SAVE_AREA.
9152 * rtl.c (reg_note_name): Add new note types.
9153
8d7532d9
JL
9154Tue Sep 23 00:59:54 1997 Jeffrey A Law (law@cygnus.com)
9155
0774afd7 9156 * rtlanal.c (computed_jump_p): Fix typo in last change.
8d7532d9 9157
7019d00e
L
9158Tue Sep 23 00:42:44 1997 H.J. Lu (hjl@gnu.ai.mit.edu)
9159
9160 * loop.c (indirect_jump_in_function_p): Return 0
9161 by default.
9162
b9dfb357
JL
9163Tue Sep 23 00:33:55 1997 Jeffrey A Law (law@cygnus.com)
9164
9165 * rs6000/xm-rs6000.h: Fix thinko in last change.
9166 * rs6000/xm-sysv4.h: Likewise.
9167
4b7e467b
JW
9168Mon Sep 22 19:33:53 1997 Jim Wilson <wilson@cygnus.com>
9169
9170 * mips.c (save_restore_insns): Only set RTX_FRAME_RELATED_P if store_p.
9171
8c8e6faa
JL
9172Mon Sep 22 14:41:00 1997 Jeffrey A Law (law@cygnus.com)
9173
9174 * reg-stack.c (find_blocks): Fix thinko in last change.
9175
078e983e
AS
91761997-09-21 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
9177
9178 * m68k.c (output_function_prologue): Add dwarf2 support.
9179
9180 * m68k.h (INCOMING_RETURN_ADDR_RTX, DWARF_FRAME_REGNUM,
9181 INCOMING_FRAME_SP_OFFSET): New definitions.
b57062ca 9182
d7027667
DM
9183Mon Sep 22 11:36:42 1997 David S. Miller <davem@tanya.rutgers.edu>
9184
9524f769
DM
9185 * combine.c (try_combine): Use NULL_RTX instead of '0' where
9186 appropriate in calls to gen_rtx().
9187 * cse.c (cse_main): Likewise.
9188 * emit-rtl.c (gen_label_rtx): Likewise.
9189 * expr.c (init_expr_once): Likewise.
9190 * haifa-sched.c (flush_pending_lists, sched_analyze_insn,
9191 sched_analyze, init_rgn_data_dependences,
9192 compute_block_backward_dependences): Likewise.
9193 * sched.c (schedule_insns): Likewise.
9194 * varasm.c (immed_double_const): Likewise.
9195
d7027667
DM
9196 * sparc.h (INCOMING_FRAME_SP_OFFSET): Define to
9197 SPARC_STACK_BIAS for sake of dwarf2 on sparc64.
9198
fbf8b71c
KJ
9199Mon Sep 22 11:21:33 1997 J. Kean Johnston <jkj@sco.com>
9200
9201 * i386/sco5.h: Make ELF default file format and add -mcoff/-melf..
9202 (MULTILIB_DEFAULTS): Define.
9203 (ASM_SPEC, CPP_SPEC): Handle -mcoff.
9204 (STARTFILE_SPEC, ENDFILE_SPEC, LINK_SPEC): Likewise.
9205 (LIBGCC_SPEC): Likewise.
9206 (MASK_COFF, TARGET_COFF, TARGET_ELF): Define.
9207 (SUBTARGET_SWITCHES): Add -mcoff and -melf.
9208 * i386/t-sco5 (CRTSTUFF_T_CFLAGS): Add -fPIC.
9209 (CRTSTUFF_T_CFLAGS_S): Tweak for COFF.
9210 (EXTRA_PARTS, TAROUTOPTS): Delete.
9211 (libgcc1-elf, libgcc2-elf, libgcc-elf targets): Delete.
9212 (MULTILIB_OPTIONS): Define.
9213 (MULTILIB_DIRNAMES, MULTILIB_EXCEPTIONS): Likewise.
9214 (MULTILIB_MATCHE, MULTILIB_EXTRA_OPTS): Likewise.
9215
c14a951f
JL
9216Mon Sep 22 02:10:43 1997 Jeffrey A Law (law@cygnus.com)
9217
9218 * version.c: Bump for snapshot.
9219
7014927a
JL
9220Sun Sep 21 17:45:45 1997 Jeffrey A Law (law@cygnus.com)
9221
37aa45a2
JL
9222 * loop.c (loop_number): Delete function. Change all references
9223 to use uid_loop_num array.
9224 * loop.h (loop_number): Delete declaration.
9225 * unroll.c (unroll_loop): Change "loop_number" references to
9226 use uid_loop_num instead.
9227
b47404d1
JL
9228 * loop.c (loop_unroll_factor): Move outside #ifdef HAIFA
9229 conditional.
9230 (loop_unroll_iter): Remove unused variable and all references.
9231 (loop_optimize): Always allocate and clear space for loop_unroll_factor.
9232 (insert_bct): Fix minor formatting problems.
9233 * loop.h (loop_unroll_factor): Move decl outside #ifdef HAIFA.
9234 (loop_unroll_iter): Removed unused decl.
9235 * unroll.c (unroll_loop): Remove code to set loop_unroll_iter.
9236 Always record the unrolling factor.
9237
cb3bb2a7
JL
9238 * cse.c (simplify_relational_operation): Set h0u just like h0s.
9239 Similarly for h1u and h1s.
9240
d5ff3a2e 9241 * flow.c (jmp_uses_reg_or_mem): Deleted unused function.
2a1777af
JL
9242 (find_basic_blocks): Use computed_jump_p to determine if a
9243 particular JUMP_INSN is a computed jump.
9244 * reg-stack.c (find_blocks): Use computed_jump_p to determine
9245 if a particular JUMP_INSN is a computed jump.
9246 * rtlanal.c (jmp_uses_reg_or_mem): New function.
9247 (computed_jump_p): Likewise.
9248 * rtl.h (computed_jump_p): Declare.
9249 * genattrtab.c (pc_rtx): Define and initialize.
9250 * loop.c (loop_optimize): Always determine if the current
9251 function has a computed jump.
9252 (indirect_jump_in_function_p): Use computed_jump_p to determine
9253 if a particular JUMP_INSN is a computed jump.
9254
7014927a
JL
9255 * loop.c (fix_bct_param): Delete unused function.
9256 (check_bct_param): Likewise.
9257
6d53d7c2
JM
9258Sat Sep 20 16:22:06 1997 Jason Merrill <jason@yorick.cygnus.com>
9259
9260 * frame.c (__deregister_frame): Check properly for initialized object.
9261
5a5e9503 9262Fri Sep 19 20:51:03 1997 H.J. Lu (hjl@gnu.ai.mit.edu)
71e4fbe6
L
9263
9264 * alpha/linux.h (HANDLE_SYSV_PRAGMA): Defined.
9265
272299b9
R
9266Fri Sep 19 18:53:50 1997 J"orn Rennecke <amylaar@cygnus.co.uk>
9267
cc5e1642
R
9268 * jump.c (thread_jumps): check can_reverse_comparison_p before
9269 threading a reversed-condition jump.
9270
272299b9
R
9271 * sched.c (update_flow_info): Don't pass SCRATCH to dead_or_set_p.
9272 * haifa-sched.c (update_flow_info): Likewise.
9273
18511014
JL
9274Thu Sep 18 21:13:40 1997 Jeffrey A Law (law@cygnus.com)
9275
e6493727
JL
9276 * Makefile.in (BOOT_CFLAGS): Use -O2.
9277
1e467e19
JL
9278 * configure.in (strtoul, bsearch): Have autoconf check for these
9279 functions.
9280 * configure, config.in: Rebuilt.
9281
18511014
JL
9282 * m68k/xm-mot3300.h (alloca): Properly declare if __STDC__.
9283 * mips/mips.h (alloca): Likewise.
9284 * rs6000/xm-rs6000.h (alloca): Likewise.
9285 * rs6000/xm-sysv4.h: Likewise.
9286
6020d360
JM
9287Thu Sep 18 14:22:22 1997 Jason Merrill <jason@yorick.cygnus.com>
9288
9289 * final.c (final_scan_insn): Hand BARRIERs off to the dwarf2 code.
9290 * dwarf2out.c (dwarf2out_frame_debug): Pass the whole insn along.
9291 (dwarf2out_stack_adjust): A BARRIER resets the args space to 0.
9292
9293 * except.c (end_eh_unwinder): Subtract 1 from return address.
9294 * libgcc2.c (__throw): Likewise.
9295 (find_exception_handler): Don't change PC here. Compare end with >.
9296
b24bcfb3 9297Thu Sep 18 10:43:07 1997 Nick Clifton <nickc@cygnus.com>
b57062ca 9298
b24bcfb3
NC
9299 * v850.c (compute_register_save_size): Correct register
9300 number.
9301 * v850.md (save_interrupt, return_interrupt): Correct
9302 register number.
9303 * v850/lib1funcs.asm (save_interrupt): Correct register number.
9304 (return_interrupt): Use stack pointer, not element pointer.
9305
93cf819d
BK
93061997-09-18 Brendan Kehoe <brendan@lisa.cygnus.com>
9307
9308 * configure.in, configure: Make sure to create the stage* and include
9309 symbolic links in each subdirectory.
9310
f0501149
JL
9311Thu Sep 18 01:47:06 1997 Jeffrey A Law (law@cygnus.com)
9312
9313 * pa.md (reload_peepholes): Don't allow addresses with side
9314 effects for the memory operand.
9315
4f870c04
JM
9316Wed Sep 17 18:19:53 1997 Jason Merrill <jason@yorick.cygnus.com>
9317
9318 * libgcc2.c (find_exception_handler): Subtract one from our PC when
9319 looking for a handler, to avoid hitting the beginning of the next
9320 region.
9321
9322 * except.c (expand_builtin_set_return_addr_reg): Use force_operand.
9323
4eb66248
JL
9324Wed Sep 17 18:33:59 1997 Jeffrey A Law (law@cygnus.com)
9325
9326 * mips/abi64.h (LONG_MAX_SPEC): Define.
9327 * mips.h (LONG_MAX_SPEC): Define.
9328 (CPP_SPEC): Include long_max_spec.
9329 (EXTRA_SPECS): Include long_max_spec.
9330
44158507
JL
9331Wed Sep 17 14:11:38 1997 Jeffrey A Law (law@cygnus.com)
9332
9333 * v850.c (construct_save_jarl): Fix thinko in last change.
9334
bf520cd9
JL
9335Wed Sep 17 09:53:07 1997 Jeffrey A Law (law@cygnus.com)
9336
9337 * version.c: Bump for snapshot.
9338
255fe733
JM
9339Tue Sep 16 14:22:36 1997 Jason Merrill <jason@yorick.cygnus.com>
9340
c0727e2a
JM
9341 * libgcc2.c (find_exception_handler): Not found is -1.
9342
255fe733
JM
9343 * integrate.c (expand_inline_function): Move expand_start_bindings
9344 after expanding the arguments.
9345
21002281
JW
9346Tue Sep 16 11:13:46 1997 Jim Wilson <wilson@cygnus.com>
9347
9348 * expr.c (expand_expr): Remove previous incorrect change.
9349 If target and slot has no DECL_RTL, then call mark_addressable
9350 again for the slot after we give it RTL.
9351
e693cc28 9352Tue Sep 16 09:18:52 1997 Jason Merrill (jason@cygnus.com)
f633220c 9353
e693cc28
UD
9354 * expr.c (expand_expr, case TARGET_EXPR): Call mark_addressable
9355 again for the slot after we give it RTL.
f633220c 9356
145870b5
NC
9357Tue Sep 16 00:13:20 1997 Nick Clifton <nickc@cygnus.com>
9358
84e75068 9359 * v850.c (register_is_ok_for_epilogue,
145870b5
NC
9360 pattern_is_ok_for_epilogue, construct_restore_jr,
9361 pattern_is_ok_for_prologue, construct_save_jarl): New functions.
9362
84e75068 9363 * v850.h (pattern_is_ok_for_prologue,
145870b5
NC
9364 pattern_is_ok_for_epilogue, register_is_ok_for_epilogue): New
9365 predicates.
9366
84e75068 9367 * v850.md: Replace prologue and epilogue patterns with a
145870b5
NC
9368 match_parallel pattern.
9369
76143254
JL
9370Mon Sep 15 22:53:01 1997 Jeffrey A Law (law@cygnus.com)
9371
9372 * aclocal.m4: Add replacement for AC_PROG_INSTALL.
9373 * configure.in: Use EGCS_PROG_INSTALL.
9374
4401bf24
JL
9375Mon Sep 15 22:40:55 1997 Jim Wilson (wilson@cygnus.com)
9376
9377 * dwarf2out.c (gen_subprogram_die): Handle redefinition of an
9378 extern inline function.
9379
9380Mon Sep 15 22:40:55 1997 Richard Henderson (rth@cygnus.com)
9381
9382 * dwarf2out.c (reg_loc_descriptor): Fix prototype.
9383 (concat_loc_descriptor): New function.
9384 (loc_descriptor): Call it.
9385 (add_AT_location_description): Also elide the descriptor if both
9386 halves of a CONCAT are pseudos.
9387 (add_location_or_const_value_attribute): Recognize CONCAT too.
9388
0d24ff5d
RH
9389Mon Sep 15 15:24:00 1997 Richard Henderson <rth@cygnus.com>
9390
4bb43724
RH
9391 * alpha.md (movdi): Handle CONST_DOUBLE for TARGET_BUILD_CONSTANTS.
9392
0d24ff5d
RH
9393 * alpha/alpha.c (output_prolog): New variable sa_reg. Use it for
9394 out-or-range reg_offset.
9395 (output_epilog): Likewise.
9396
05ef8897
JL
9397Mon Sep 15 15:39:26 1997 Jeffrey A Law (law@cygnus.com)
9398
9399 * cse.c (simplify_relational_operation): If MODE specifies a
9400 mode wider than HOST_WIDE_INT, then the high word of a CONST_INT
9401 is derived from the sign bit of the low word.
9402
ca55abae
JM
9403Mon Sep 15 11:43:38 1997 Jason Merrill <jason@yorick.cygnus.com>
9404
9405 Support dwarf2 unwinding on PUSH_ROUNDING targets like the x86.
9406
9407 * dwarf2.h: Add DW_CFA_GNU_args_size.
9408 * frame.c (execute_cfa_insn): Likewise.
9409 * dwarf2out.c (dwarf_cfi_name, output_cfi): Likewise.
9410 (dwarf2out_args_size, dwarf2out_stack_adjust): New fns.
9411 (dwarf2out_frame_debug): If this isn't a prologue or epilogue
9412 insn, hand it off to dwarf2out_stack_adjust.
9413 (dwarf2out_begin_prologue): Initialize args_size.
9414 * frame.h (struct frame_state): Add args_size.
9415 * libgcc2.c (__throw): Use args_size.
9416 * final.c (final_scan_insn): If we push args, hand off all insns
9417 to dwarf2out_frame_debug.
9418 * defaults.h (DWARF2_UNWIND_INFO): OK for !ACCUMULATE_OUTGOING_ARGS.
9419
9420 * dwarf2out.c dwarf2out_frame_debug): Fix typo.
9421 Handle epilogue restore of SP from FP.
b57062ca 9422 * emit-rtl.c (gen_sequence): Still generate a sequence if the
ca55abae
JM
9423 lone insn has RTX_FRAME_RELATED_P set.
9424
9425 * frame.c (extract_cie_info): Handle "e" augmentation.
9426 * dwarf2out.c (ASM_OUTPUT_DWARF_*): Provide definitions in the
9427 absence of UNALIGNED_*_ASM_OP.
9428 (UNALIGNED_*_ASM_OP): Only provide defaults if OBJECT_FORMAT_ELF.
9429 (output_call_frame_info): Use "e" instead of "z" for augmentation.
9430 Don't emit augmentation fields length.
9431 (dwarf2out_do_frame): Move outside of #ifdefs.
9432 * defaults.h (DWARF2_UNWIND_INFO): Don't require unaligned data
9433 opcodes.
9434
9435 * sparc.h (UNALIGNED_INT_ASM_OP et al): Don't define here after all.
9436 * sparc/sysv4.h (UNALIGNED_INT_ASM_OP): Define here.
9437 * sparc/sunos4.h (DWARF2_UNWIND_INFO): Define to 0.
9438 * sparc/sun4gas.h: New file.
9439 * configure.in: Use sun4gas.h if SunOS 4 --with-gnu-as.
9440
b57062ca 9441 * collect2.c (write_c_file_stat, write_c_file_glob): Declare
ca55abae
JM
9442 __register_frame_table and __deregister_frame.
9443
1d77fa53
BK
94441997-09-15 Brendan Kehoe <brendan@cygnus.com>
9445
9446 * except.c (find_exception_handler_labels): Use xmalloc instead of
9447 alloca, since MAX_LABELNO - MIN_LABELNO can be more than 1 million
9448 in some cases.
9449
8be52aaa
JL
9450Sun Sep 14 21:01:23 1997 Jeffrey A Law (law@cygnus.com)
9451
9452 * Makefile.in: Various changes to build info files
9453 in the object tree rather than the source tree.
9454
a3ee3246
JL
9455Sun Sep 14 12:24:30 1997 Jeffrey A Law (law@cygnus.com)
9456
9457 * fixinc.math: New file to fix math.h on some systems.
9458 * configure.in (freebsd, netbsd): Use fixinc.math on these
9459 systems.
9460 * configure: Rebuilt.
9461
124da275
JL
9462Sun Sep 14 11:11:05 1997 Jeffrey A Law (law@cygnus.com)
9463
9464 * regmove.c (regmove_optimize): If we end up moving the
9465 original insn due to lifetime overlaps, make sure to move
9466 REG_NOTES too.
9467
fca9d4b0
MH
9468Sat Sep 13 15:51:11 1997 Manfred Hollstein <manfred@s-direktnet.de>
9469
9470 * Makefile.in (INSTALL_{PROGRAM,DATA}): Use value found by configure.
9471
326ee7a3
JL
9472Sat Sep 13 12:57:26 1997 Jeffrey A Law (law@cygnus.com)
9473
9474 * haifa-sched.c (add_branch_dependences): Make each insn in
9475 a SCHED_GROUP_P block explicitly depend on the previous insn.
9476
ca55abae
JM
9477Fri Sep 12 13:49:58 1997 Jason Merrill <jason@yorick.cygnus.com>
9478
9479 * except.h: Prototype dwarf2 hooks.
9480 * expr.c: Adjust.
9481
5188d2b2
JW
9482Thu Sep 11 17:43:55 1997 Jim Wilson <wilson@cygnus.com>
9483
9484 * configure.in (native_prefix): Delete.
9485 (mips-dec-netbsd): Don't set prefix.
9486 (*linux*): Don't set prefix.
9487
2e384318
FF
9488Thu Sep 11 15:48:32 1997 Fred Fish <fnf@ninemoons.com>
9489
70988851
FF
9490 * protoize.c: Include <varargs.h> only if HAVE_VARARGS_H is
9491 defined. If not defined, include <sys/varargs.h> if
9492 HAVE_SYS_VARARGS_H is defined.
9493 * configure.in: Test for varargs.h and sys/varargs.h.
9494 * configure: Regenerate with autoconf.
9495 * config.in: Regenerate with autoheader.
9496
2e384318
FF
9497 * cpplib.c (quote_string): Cast first arg of sprintf call
9498 from "unsigned char *" to "char *".
9499 (output_line_command): Ditto.
9500 (macroexpand): Ditto.
9501 (do_line): Cast atoi arg from "unsigned char *" to "char *".
9502
3fb2f401
JL
9503Wed Sep 10 21:37:30 1997 Jeffrey A Law (law@cygnus.com)
9504
f2e4e16f
JL
9505 * version.c: Bump for snapshot.
9506
3fb2f401
JL
9507 * Makefile.in (compare): Exit with nonzero status if there
9508 are comparison failures. Note which files failed the
9509 comparison test in .bad_compare.
9510
d26cb668
L
9511Wed Sep 10 17:05:46 1997 H.J. Lu (hjl@gnu.ai.mit.edu)
9512
9513 * config/alpha/elf.h (CPP_PREDEFINES): Remove -D__PIC__ -D__pic__.
9514
ac64120e
JW
9515Wed Sep 10 16:37:28 1997 Fred Fish <fnf@ninemoons.com>
9516
9517 * Makefile.in (LN, LN_S): New macros, use where appropriate.
9518 * aclocal.m4 (GCC_PROG_LN_S, GCC_PROG_LN): New tests.
9519 * configure.in: Use GCC_PROG_LN_S and GCC_PROG_LN.
9520 * configure: Regenerated.
9521
9522Thu Sep 11 11:09:43 1997 Jeffrey A Law (law@cygnus.com)
9523
9524 * loop.c (strength_reduce): Fix typo.
9525
db87ec0b
JW
9526Wed Sep 10 16:01:15 1997 Jim Wilson <wilson@cygnus.com>
9527
9528 * m88k/m88k.c (struct option): Rename to struct options.
9529 * m88k/dolph.h (INITIALIZE_TRAMPOLINE): Delete here.
9530 * m88k/sysv3.h (INITIALIZE_TRAMPOLINE): Delete ifdef and comments.
9531 * libgcc2.c (__enable_execute_stack): Check for __sysV88__ not
9532 __DOLPHIN__ or sysV88.
9533
04395f96
JW
9534Wed Sep 10 14:58:40 1997 Jim Wilson <wilson@cygnus.com>
9535
9536 * emit-rtl.c (gen_lowpart_common): For a SUBREG, add in word when
9537 create new subreg.
9538
becdcf6d
JL
9539Wed Sep 10 15:19:22 1997 Jeffrey A Law (law@cygnus.com)
9540
9541 * config.sub: Accept 'amigados' for backward compatability.
9542
04395f96 9543Wed Sep 10 14:05:08 1997 H.J. Lu (hjl@gnu.ai.mit.edu)
3979dfb8
JW
9544
9545 * Makefile.in (testsuite/site.exp): New target.
9546 (check-gcc, check-g++): Depend on testsuite/site.exp.
9547 Don't stop for failure.
9548
ca55abae
JM
9549Wed Sep 10 12:59:57 1997 Jason Merrill <jason@yorick.cygnus.com>
9550
9551 * expr.c (expand_builtin): Only support __builtin_dwarf_fp_regnum()
9552 if DWARF2_UNWIND_INFO.
9553
9554Wed Sep 10 11:49:20 1997 Jason Merrill <jason@yorick.cygnus.com>
9555
9556 Add support for exception handling using DWARF 2 frame unwind info.
9557 Currently works on SPARC and MIPS, and almost on x86.
b57062ca 9558
ca55abae
JM
9559 * libgcc2.c (get_reg, put_reg, get_return_addr, put_return_addr,
9560 next_stack_level, in_reg_window): Helper fns.
9561 (__throw): Implement for DWARF2_UNWIND_INFO.
9562
9563 * expr.c (expand_builtin): Handle builtins used by __throw.
9564 * tree.h (enum built_in_function): Add builtins used by __throw.
9565 * c-decl.c (init_decl_processing): Declare builtins used by __throw.
9566 * dwarf2out.c (expand_builtin_dwarf_fp_regnum): Used by __throw.
9567 * except.c (expand_builtin_unwind_init): Hook for dwarf2 __throw.
9568 (expand_builtin_extract_return_addr): Likewise.
9569 (expand_builtin_frob_return_addr): Likewise.
9570 (expand_builtin_set_return_addr_reg): Likewise.
9571 (expand_builtin_eh_stub): Likewise.
9572 (expand_builtin_set_eh_regs): Likewise.
9573 (eh_regs): Choose two call-clobbered registers for passing back values.
9574
9575 * frame.c, frame.h: New files for parsing dwarf 2 frame info.
9576 * Makefile.in (LIB2ADD): New variable. Add $(srcdir)/frame.c.
9577 (libgcc2.a): Use it instead of $(LIB2FUNCS_EXTRA) $(LANG_LIB2FUNCS)
9578 (stmp-multilib): Likewise.
9579 ($(T)crtbegin.o, $(T)crtend.o): Add -fno-exceptions.
9580
9581 * except.c: #include "defaults.h".
9582 (exceptions_via_longjmp): Default depends on DWARF2_UNWIND_INFO.
9583 (emit_throw): Don't defeat assemble_external if DWARF2_UNWIND_INFO.
9584 (register_exception_table_p): New fn.
9585 (start_eh_unwinder): Don't do anything if DWARF2_UNWIND_INFO.
9586 (end_eh_unwinder): Likewise.
9587
b57062ca 9588 * crtstuff.c: Wrap .eh_frame section, use EH_FRAME_SECTION_ASM_OP,
ca55abae
JM
9589 call __register_frame and __deregister_frame as needed.
9590 * varasm.c (eh_frame_section): New fn if EH_FRAME_SECTION_ASM_OP.
9591 * dwarf2out.c (EH_FRAME_SECTION): Now a function-like macro. Check
9592 EH_FRAME_SECTION_ASM_OP.
9593 * sparc/sysv4.h (EH_FRAME_SECTION_ASM_OP): Define.
9594 * mips/iris6.h: (EH_FRAME_SECTION_ASM_OP): Define.
9595 (LINK_SPEC): Add __EH_FRAME_BEGIN__ to hidden symbols.
9596
9597 * dwarf2out.c (output_call_frame_info): If no support for
9598 EXCEPTION_SECTION, mark the start of the frame info with a
9599 collectable tag.
9600 * collect2.c (frame_tables): New list.
9601 (is_ctor_dtor): Recognise frame entries.
9602 (scan_prog_file): Likewise.
9603 (main): Pass -fno-exceptions to sub-compile. Also do collection
9604 if there are any frame entries.
9605 (write_c_file_stat): Call __register_frame_table and
9606 __deregister_frame as needed.
9607 (write_c_file_glob): Likewise.
9608
b57062ca 9609 * defaults.h (DWARF2_UNWIND_INFO): Default to 1 if supported.
ca55abae
JM
9610 Also require unaligned reloc support.
9611 * sparc.h (UNALIGNED_SHORT_ASM_OP, UNALIGNED_INT_ASM_OP,
9612 UNALIGNED_DOUBLE_INT_ASM_OP): Define here.
9613 * sparc/sysv4.h: Not here.
9614
9615 * toplev.c (compile_file): Call dwarf2out_frame_{init,finish}.
9616 * dwarf2out.c (dwarf2out_init): Don't call dwarf2out_frame_init.
9617 (dwarf2out_finish): Don't call dwarf2out_frame_finish.
9618
9619 * libgcc2.c (L_eh): Reorganize, moving code shared by different
9620 EH implementations to the top.
9621 (find_exception_handler): Split out. Start from 0. Compare against
9622 end with >=.
9623 (__find_first_exception_table_match): Use it.
9624 * except.c (output_exception_table): Don't do anything if there's
9625 no table. Don't output a first entry of zeroes.
9626 (eh_outer_context): Adjust properly.
9627 (add_eh_table_entry): Use xrealloc.
9628 * toplev.c (compile_file): Just call output_exception_table.
9629
9630Wed Sep 10 11:30:36 1997 Jason Merrill <jason@cygnus.com>
9631
9632 * i386.c (ix86_prologue): Add dwarf2 support for !do_rtl case.
9633
9634Wed Sep 10 08:17:10 1997 Torbjorn Granlund <tege@pdc.kth..se>
9635
9636 * except.c (eh_outer_context): Do masking using expand_and.
9637
b4d940a2
JL
9638Wed Sep 10 01:38:30 1997 Doug Evans <dje@cygnus.com>
9639
9640 Add port done awhile ago for the ARC cpu.
9641 * arc/arc.h: New file.
9642 * arc/arc.c: New file.
9643 * arc/arc.md: New file.
9644 * arc/initfini.c: New file.
9645 * arc/lib1funcs.asm: New file.
9646 * arc/t-arc: New file.
9647 * arc/xm-arc.h: New file.
9648 * ginclude/va-arc.h: New file.
9649 * ginclude/stdarg.h: Include va-arc.h ifdef __arc__.
9650 * ginclude/varargs.h: Likewise.
9651 * Makefile.in (USER_H): Add va-arc.h.
9652 * configure.in (arc-*-elf*): Recognize.
9653 * longlong.h: Add ARC support.
9654
9655Wed Sep 10 01:32:54 1997 Jeffrey A Law (law@cygnus.com)
9656
9657 * expr.c (clear_storage): Use CONST0_RTX instead of const0_rtx.
9658 when clearing non-BLKmode data.
9659
10211581
JL
9660Wed Sep 10 00:29:29 1997 Manfred Hollstein <manfred@s-direktnet.de>
9661
9dfc6eba
MH
9662 * m88k/sysv3.h (INITIALIZE_TRAMPOLINE) Define.
9663 * libgcc2.c (__enable_execute_stack): Provide for sysV88 too.
9664
55259219
MH
9665 * xm-m88k.h (USG): Only define if it hasn't already been defined.
9666
9667 * Makefile.in (risky-stage1): Delete gratutious whitespace.
9668
ee291069
MH
9669 * Makefile.in (clean): Delete libgcc1-test.
9670
10211581
JL
9671 * Makefile.in (INSTALL): cd to $(srcdir) before running texinfo.
9672
9673Tue Sep 9 17:07:36 1997 Stan Cox <coxs@dg-rtp.dg.com>
48f0be1b
SC
9674
9675 * m88k.c (m88k_expand_prologue): Set MEM_IN_STRUCT_P of va_list
9676 template.
9677
ca55abae
JM
9678Tue Sep 9 09:50:02 1997 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
9679
9680 * dwarf2out.c (output_call_frame_info): Call named_section.
9681
8f3d79e0
JL
9682Tue Sep 9 09:12:17 1997 Jeffrey A Law (law@cygnus.com)
9683
9684 * haifa-sched.c (print_value): Fix last change.
9685
ca55abae
JM
9686Tue Sep 9 01:30:37 1997 Jason Merrill <jason@yorick.cygnus.com>
9687
9688 * mips.h (DWARF_FRAME_REGNUM): Use the same numbering regardless of
9689 write_symbols.
9690
9691Mon Sep 8 16:32:43 1997 Jason Merrill <jason@yorick.cygnus.com>
9692
9693 * mips.c (function_prologue): Set up the CFA when ABI_32.
9694
9695 * sparc.c (save_regs): Check dwarf2out_do_frame instead of DWARF2_DEBUG
9696 for dwarf2 unwind info.
9697 (output_function_prologue, sparc_flat_output_function_prologue): Same.
9698
9699 * final.c (final_end_function): Check dwarf2out_do_frame instead
9700 of DWARF2_DEBUG for dwarf2 unwind info.
9701 (final_scan_insn): Likewise.
9702 (final_start_function): Likewise. Initialize dwarf2 frame debug here.
9703 (final): Not here.
9704
9705 * expr.c (expand_builtin_return_addr): Only SETUP_FRAME_ADDRESSES if
9706 count > 0.
9707
9708 * varasm.c (exception_section): Check EXCEPTION_SECTION first.
9709
74aca74b
NC
9710Mon Sep 8 15:15:11 1997 Nick Clifton <nickc@cygnus.com>
9711
9712 * v850.h (ASM_SPEC): Pass on target processor.
9713 (CPP_PREDEFINES): Only define if not already specified.
9714 (TARGET_VERSION): Only define if not already specified.
9715 (MASK_CPU, MASK_V850, MASK_DEFAULT): Bits to specify target
9716 processor.
9717 (EXTRA_SWITCHES): Extra entries in the switches array.
9718 (TARGET_DEFAULT): Set default target processor.
9719
c0b04148
JW
9720Mon Sep 8 18:26:35 1997 Jim Wilson <wilson@cygnus.com>
9721
9722 * m68k.h (MACHINE_STATE_SAVE, MACHINE_STATE_RESTORE): In MOTOROLA
9723 cases, add %# and %/, and add : to make them into extended asms.
9724
52b7724b
WL
9725Sun Sep 7 23:57:50 1997 Weiwen Liu <liu@hepunix.physics.yale.edu>
9726
9727 * alias.c (init_alias_analysis): Clean up incompatible pointer
9728 type warning in bzero.
9729 * regmove.c (regmove_optimize): Ditto.
9730 * haifa-sched.c (find_rgns): Ditto.
9731
9732 * haifa-sched.c (print_value): Clean up ptr->int cast
9733 warnings.
9734
0c82f6bf
FF
9735Sun Sep 7 23:18:32 1997 Fred Fish <fnf@ninemoons.com>
9736
9737 * INSTALL: Change 'amigados' to 'amigaos' to match current usage.
9738 * install.texi (Configurations): Ditto.
9739 * config.sub: Ditto.
9740
1fed1f51
WL
9741Sun Sep 7 22:56:56 1997 Weiwen Liu (liu@hepvms.physics.yale.edu)
9742
9743 * Makefile.in (sdbout.o): Depend on insn-config.h.
9744
239e68f6
JW
9745Sun Sep 7 18:44:50 1997 Jim Wilson <wilson@cygnus.com>
9746
9747 * m68k/m68k.h (TARGET_SWITCHES): For 68000, 68302, subtract MASK_68881.
9748 For 68303, 68332, cpu32, subtract MASK_68040_ONLY.
9749
267c09ab
JM
9750Sun Sep 7 18:30:46 1997 Jason Merrill <jason@yorick.cygnus.com>
9751
9752 * dwarf2out.c (dwarf2out_frame_debug): Assume that in a PARALLEL
9753 prologue insn, only the first elt is significant.
9754 (output_call_frame_info): For exception handling, always use 4-byte
9755 fields as specified by the dwarf2 spec.
9756 Don't skip trivial FDEs.
9757
db7cafb0
JL
9758Sun Sep 7 14:19:39 1997 Jeffrey A Law (law@cygnus.com)
9759
9760 * version.c: Bump for snapshot.
9761
9762Sun Sep 7 14:17:36 1997 Torbjorn Granlund (tege@pdc.kth.se)
9763
9764 * expmed.c (expand_divmod): Make op1_is_pow2 depend on unsignedp
9765 for negative constants. Promote EXACT_DIV_EXPR to TRUNC_DIV_EXPR
9766 when op1_is_pow2.
9767
9768Sun Sep 7 13:46:46 1997 Jeffrey A Law (law@cygnus.com)
9769
bf520cd9
JL
9770 * final.c (shorten_branches): During first pass, assume worst
9771 possible alignment for ADDR_VEC and ADDR_VEC_DIFF insns.
db7cafb0
JL
9772
9773 * Makefile.in (distclean): Remove various things left around
9774 by running the testsuite.
9775
7ed46111
MH
9776Sun Sep 7 13:16:06 1997 Manfred Hollstein <manfred@s-direktnet.de>
9777
9778 * configure.in (out_file): Emit definition to config.status in order
9779 to have a defined value for configure.lang.
9780 * configure: Re-built.
9781
e41cea70
JJH
9782Sun Sep 7 09:59:08 1997 Jan-Jaap van der Heijden (J.J.vanderHeijden@student.utwente.nl)
9783
bf520cd9 9784 * configure.in: Make symlink to as-new rather than as.new. Similarly
e41cea70
JJH
9785 for ld-new.
9786 * configure: Rebuilt.
9787
1aeb1f6f
JW
9788Fri Sep 5 16:54:55 1997 Jim Wilson <wilson@cygnus.com>
9789
9790 * profile.c (output_func_start_profiler): Set DECL_EXTERNAL to zero.
9791
770a0113
CK
9792Fri Sep 5 16:16:44 1997 Christian Kuehnke <Christian.Kuehnke@arbi.Informatik.Uni-Oldenburg.DE>
9793
9794 * sparc/sparc.md: Add ultrasparc scheduling support.
9795 * sparc/sparc.h (RTX_COSTS): For MULT give v9 a cost of 25 insns.
9796
f5ffa999
PDM
9797Fri Sep 5 14:04:59 1997 Philippe De Muyter <phdm@info.ucl.ac.be>
9798
9799 * integrate.c (save_for_inline_copying): Use 0, not NULL_PTR,
9800 as initial value for real_label_map.
9801 (copy_for_inline): Likewise.
9802
acceac1a
R
9803Fri Sep 5 13:36:44 1997 J"orn Rennecke <amylaar@cygnus.co.uk>
9804
9805 * sched.c (update_flow_info) When looking if to set found_split_dest
9806 or found_orig_dest, look at all parts of a PARALLEL.
9807 * haifa-sched.c (update_flow_info): Likewise.
9808
f84271d9
JL
9809Fri Sep 5 10:08:44 1997 Jeffrey A Law (law@cygnus.com)
9810
9811 * v850: New directory for v850 port.
9812 * v850/lib1funcs.asm: New file.
9813 * t-v850, v850.c, v850.h, v850.md, xm-v850.h: New files.
9814 * ginclude/va-v850.h: New file.
9815 * ginclude/varargs.h, ginclude/stdarg.h: Include va-mn10200.h.
9816 * configure.in (mn10200-*-*): New target.
9817 * configure: Rebuilt.
9818 * config.sub: Handle v850-elf.
b57062ca 9819 * Makefile.in (USER_H): Add va-mn10200.h.
f84271d9
JL
9820 * invoke.texi: Document v850 stuff.
9821
89cc6098
JW
9822Fri Sep 5 09:37:50 1997 Jim Wilson (wilson@cygnus.com)
9823
04940ba5
JW
9824 * sdbout.c (plain_type_1, case ARRAY_TYPE): Verify that TYPE_DOMAIN
9825 has integer TYPE_{MAX,MIN}_VALUE before using them.
9826
89cc6098
JW
9827 * m68k/m68k.h (MACHINE_STATE_SAVE, MACHINE_STATE_RESTORE): Add
9828 __HPUX_ASM__ versions.
9829
c74f7db8
JL
9830Fri Sep 5 09:08:44 1997 Jeffrey A Law (law@cygnus.com)
9831
bf520cd9 9832 * install.sh: Delete duplicate install script.
c74f7db8 9833
914ec131
SC
9834Thu Sep 4 23:14:27 1997 Stan Cox (coxs@dg-rtp.dg.com)
9835
9836 * reg-stack.c (subst_stack_regs): Pop the stack register for a
9837 computed goto which sets the same stack register.
9838
9839 * reg-stack.c (compare_for_stack_reg): Swap only if the source and
9840 destination are both on the regstack.
9841 (subst_stack_regs_pat): Put the destination at the top of the regstack.
9842
c1090daa
JW
9843Thu Sep 4 15:02:27 1997 Jim Wilson <wilson@cygnus.com>
9844
d5d1738a
JW
9845 * mips.md (nonlocal_goto_receiver): Define.
9846
f4da7881
JW
9847 * profile.c (output_arc_profiler): Check next_insert_after for non
9848 NULL before deferencing it.
9849
c1090daa
JW
9850 * i386/t-sol2 (TARGET_LIBGCC2_CFLAGS): Define to -fPIC.
9851
da594c94
JL
9852Thu Sep 4 14:51:57 1997 Jeffrey A Law (law@cygnus.com)
9853
9854 * i386.h (CPP_CPU_DEFAULT): Avoid using #elif.
9855
3e28fe44
MM
9856Thu Sep 4 15:01:49 1997 Michael Meissner <meissner@cygnus.com>
9857
9858 * toplev.c (rest_of_compilation): For passes starting with
9859 flow_analysis, use print_rtl_with_bb instead of print_rtl.
9860
9861 * print-rtl.c (print_rtl_single): Print a single rtl value to a
9862 file.
9863
9864 * flow.c (print_rtl_with_bb): Print which insns start and end
9865 basic blocks. For the start of a basic block, also print the live
9866 information.
9867
7053ca72
JW
9868Thu Sep 4 11:51:43 1997 Jim Wilson <wilson@cygnus.com>
9869
417b0fa2
JW
9870 * toplev.c (main): Change #elif to #else/#ifdef
9871
7053ca72
JW
9872 * tlink.c: Include ctype.h.
9873 * ginclude/va-mips.h: Add _VA_MIPS_H_ENUM ifdef/define/endif.
9874
f05a8b25
MM
9875Thu Sep 4 11:17:16 1997 Mikeael Meissner (meissner@cygnus.com)
9876
9877 * bitmap.c: Conditionally include stdlib.h.
bf520cd9 9878 (free): Provide a declaration if NEED_DECLARATION_FREE.
f05a8b25 9879
02d7a569
JS
9880Thu Sep 4 09:58:53 1997 Joel Sherrill (joel@OARcorp.com)
9881
9882 * i960/i960.h: Added default for SUBTARGET_SWITCHES macro.
9883
6030b6af
JW
9884Thu Sep 4 09:53:20 1997 Jim Wilson (wilson@cygnus.com)
9885
9886 * profile.c (output_arc_profiler): Verify next_insert_after is an
9887 INSN before and after skipping a stack pop.
9888
04da53bd
R
9889Thu Sep 4 07:39:19 1997 J"orn Rennecke <amylaar@cygnus.co.uk>
9890
9891 * final.c (shorten_branches): Don't count the lengths of deleted
9892 instructions.
9893
780532a4
JL
9894Thu Sep 4 09:43:01 1997 Jeffrey A Law (law@cygnus.com)
9895
9896 * version.c: Bump for snapshot.
9897
22fa5b8a
MM
9898Thu Sep 4 11:04:21 1997 Michael Meissner <meissner@cygnus.com>
9899
9900 * bitmap.h (EXECUTE_IF_AND_IN_BITMAP): New macro, to iterate over
9901 two bitmaps ANDed together.
9902 (bitmap_print): Declare.
9903
9904 * bitmap.c (function_obstack): Don't declare any more.
9905 (bitmap_obstack): Obstack for allocating links from.
9906 (bitmap_obstack_init): New static to say whether to initialize
9907 bitmap_obstack.
9908 (bitmap_element_allocate): Use bitmap_obstack to allocate from.
9909 (bitmap_release_memory): Free all memory allocated from
9910 bitmap_obstack.
9911
9912 * basic-block.h (EXECUTE_IF_AND_IN_REG_SET): New macro, invoke
9913 EXECUTE_IF_AND_IN_BITMAP.
9914
57163df0
JW
9915Wed Sep 3 10:39:42 1997 Jim Wilson <wilson@cygnus.com>
9916
fa8b6024
JW
9917 * alias.c (true_dependence): Address with AND can alias scalars.
9918 (anti_dependence, output_dependence): Likewise.
b57062ca 9919
57163df0
JW
9920 * alias.c (true_dependence): Test x for BLKmode, in addition to mem.
9921
8aa4e786
JS
9922Wed Sep 3 09:28:50 CDT 1997 Joel Sherrill (joel@OARcorp.com)
9923
9924 * i386/go32-rtems.h, i386/rtems.h, i960/rtems.h, m68k/rtems.h,
9925 mips/rtems64.h, pa/rtems.h, rs6000/rtems.h, sh/rtems.h,
9926 sparc/rtems.h (subtarget_switches): Removed SUBTARGET_SWITCHES
9927 definitions. Use -qrtems instead of -mrtems.
9928
feb21122
RL
9929Wed Sep 3 09:05:41 1997 Robert Lipe (robert@dgii.com)
9930
9931 * xm-sco5.h (sys_siglist): Define.
9932 (SYS_SIGLIST_DECLARED): Likewise.
9933
704af6a1
JL
9934Tue Sep 2 23:33:33 1997 Jeffrey A Law (law@cygnus.com)
9935
9936 * expr.c (convert_move): Handle truncation from TQFmode to QFmode.
9937
127cd405
TG
9938Wed Sep 3 02:09:30 1997 Torbjorn Granlund <tege@pdc.kth..se>
9939
9940 * except.c (eh_outer_context): Expand masking operation using
9941 expand_binop.
9942
8cf02b47
JW
9943Tue Sep 2 18:09:39 1997 Jim Wilson <wilson@cygnus.com>
9944
9945 * alpha.md (floatdisf2-1): New pattern.
9946
49dad301
JL
9947Tue Sep 2 18:41:55 1997 Jeffrey A Law (law@cygnus.com)
9948
068f1cb8
JL
9949 * xm-svr4.h (SYS_SIGLIST_DECLARED): Define.
9950 * xm-news.h (SYS_SIGLIST_DECLARED): Likewise.
f04e7122 9951 * xm-sysv4.h (SYS_SIGLIST_DECLARED): Likewise.
068f1cb8
JL
9952 * gcc.texi: Note that if you define sys_siglist that you should
9953 also define SYS_SIGLIST_DECLARED.
9954
49dad301
JL
9955 * mn10200.h (INITIALIZE_TRAMPOLINE): PC relative instructions
9956 are relative to the next instruction, not the current instruction.
9957
a1729519
JW
9958Tue Sep 2 14:22:43 1997 Jim Wilson <wilson@cygnus.com>
9959
9960 * local-alloc.c (contains_replace_regs): New function.
9961 (update_equiv_regs): When adding a REG_EQUIV note for a set of a MEM,
9962 verify that there is no existing REG_EQUIV note, and add a call to
9963 contains_place_regs.
9964
290c8b1f
L
9965Tue Sep 2 12:48:11 1997 H.J. Lu (hjl@gnu.ai.mit.edu)
9966
9967 * config/alpha/elf.h (CPP_PREDEFINES): Add -D__PIC__ -D__pic__.
9968 (STARTFILE_SPEC): Always use crtbegin.o%s
9969 (ENDFILE_SPEC): Always use crtend.o%s.
9970
a6a503ed
JW
9971Tue Sep 2 12:00:36 1997 Jim Wilson <wilson@cygnus.com>
9972
9973 * alpha/alpha.h (PREFERRED_RELOAD_CLASS): Return NO_REGS if NO_REGS
9974 is passed in.
9975 * emit-rtl.c (gen_lowpart_common): Add code to convert CONST_INT to
9976 SFmode for 64 bit hosts.
b57062ca 9977
a94729bc
PH
9978Tue Sep 2 13:42:38 1997 Paul N. Hilfinger <hilfingr@CS.Berkeley.EDU>
9979
9980 * fixincludes: Permits spaces between # and define. Discard C++
9981 comments in sys/pci.h on HP/UX 10.20.
9982
c9e03727
JL
9983Mon Sep 1 22:13:18 1997 Jeffrey A Law (law@cygnus.com)
9984
9985 * version.c: Bump for snapshot.
9986
2eddfed1
JL
9987 * pa.c (restore_unscaled_index_insn_codes): New function.
9988 (record_unscaled_index_insn_codes): Likewise.
9989 (output_function_prologue): Call restore_unscaled_index_insn_codes.
9990 (output_function_epilogue): Free memory for unscaled_index_insn_codes.
9991 (pa_reorg): Call record_unscaled_index_insn_codes.
9992
c9e03727
JL
9993 * haifa-sched.c (move_insn): Handle notes correctly for insns
9994 with SCHED_GROUP_P set.
b57062ca 9995
a5d6a95b
L
9996Mon Sep 1 16:58:57 1997 H.J. Lu (hjl@gnu.ai.mit.edu)
9997
9998 * alpha/xm-linux.h (USE_BFD): Undef before define.
9999
bc4ddc77
JW
10000Mon Sep 1 16:25:34 1997 Jim Wilson <wilson@cygnus.com>
10001
10002 * cse.c (cse_insn): Don't record BLKmode values.
10003
f3e0ca6c
SW
10004Mon Sep 1 11:25:47 1997 Stephen Williams (steve@icarus.icarus.com)
10005
10006 * i960.h (LINK_SPEC): Handle "-mjX" and "-mrp" switches.
10007
e3512ac2
JL
10008Mon Sep 1 08:29:46 1997 Jeffrey A Law (law@cygnus.com)
10009
a63d08e6
JL
10010 * cccp.c (sys_errlist): Remove special 4.4bsd declaration.
10011 * collect2.c (sys_errlist): Likewise.
10012 * cpplib.c (sys_errlist): Likewise.
10013 * gcc.c (sys_errlist): Likewise.
10014 * protoize (sys_errlist): Likewise.
10015 * configure.in: Check for strerror.
10016 * xm-freebsd.h (HAVE_STRERROR): Remove definition.
10017 * xm-gnu.h (HAVE_STRERROR): Likewise.
10018 * xm-linux.h (HAVE_STRERROR): Likewise.
10019 * xm-netbsd.h (HAVE_STRERROR): Likewise.
10020 * xm-bsd386.h (HAVE_STRERROR): Likewise.
10021 * xm-cygwin32.h (HAVE_STRERROR): Likewise.
10022 * xm-dos.h (HAVE_STRERROR): Likewise.
10023 * xm-mingw32.h (HAVE_STRERROR): Likewise.
10024 * xm-pa.h (HAVE_STRERROR): Likewise.
10025 * xm-papro.h (HAVE_STRERROR): Likewise.
10026 * xm-sysv4.h (HAVE_STRERROR): Likewise.
10027 * configure, config.in: Rebuilt.
10028
db814993
JL
10029 * Makefile.in: Add several missing "else true" clauses.
10030
e3512ac2
JL
10031 * collect2.c: Change DONT_DECLARE_SYS_SIGLIST to SYS_SIGLIST_DECLARED.
10032 * mips-tfile.c: Likewise.
10033 * gcc.texi: DONT_DECLARE_SYS_SIGLIST: Remove docs.
10034 * xm-linux.h (DONT_DECLARE_SYS_SIGLIST): Delete definition.
10035 * xm-freebsd.h, xm-bsd386.h, xm-sysv4.h, xm-sol2.h: Likewise.
10036 * configure.in: Check for sys_siglist declaration.
10037 * configure, config.in: Rebuilt.
10038
5d84b57e
JS
10039Mon Sep 1 08:04:07 1997 Joel Sherrill (joel@OARcorp.com)
10040
b57062ca 10041 * i386/go32-rtems.h, i386/rtems.h, i960/rtems.h,
5d84b57e
JS
10042 m68k/rtems.h, mips/rtems64.h, pa/rtems.h, rs6000/rtems.h,
10043 sparc/rtems.h (subtarget_switches): Added -mrtems as a switch.
10044 * i960/i960.h: Added SUBTARGET_SWITCHES macro.
10045 * rs6000/sysv4.h (extra_subtarget_switches): Added new
10046 macro EXTRA_SUBTARGET_SWITCHES.
10047 * configure.in (sh*-*-rtems*): New target.
10048 * sh/rtems.h: New file.
10049 * sh/sh.h: Added SUBTARGET_SWITCHES macro.
10050 * configure: Rebuilt.
10051
2599dcc7
JW
10052Sat Aug 30 22:54:26 1997 Jim Wilson <wilson@cygnus.com>
10053
10054 * unroll.c (calculate_giv_inc): Handle increment with code PLUS.
10055
3b7e5ef4
DE
10056Sat Aug 30 10:49:46 1997 David Edelsohn <edelsohn@mhpcc.edu>
10057
10058 * rs6000.md: Make DF fused-add operations pay attention to
10059 -mno-fused-add.
10060
5cd5f4a7
JW
10061Fri Aug 29 19:19:54 1997 Jim Wilson <wilson@cygnus.com>
10062
10063 * i386/xm-sysv4.h (DONT_DECLARE_SYS_SIGLIST): Define.
10064
63e7fe9b
JL
10065Fri Aug 29 16:13:51 1997 Jeffrey A Law (law@cygnus.com)
10066
10067 * pa.md (reload_peepholes): Make sure operand is a REG before
10068 examining REGNO. Allow general registers too.
10069
eb7b11fd
JW
10070Fri Aug 29 11:42:04 1997 Jim Wilson <wilson@cygnus.com>
10071
10072 * varasm.c (mark_constants): Don't look inside CONST_DOUBLEs.
10073
c760091a
PT
10074Fri Aug 29 09:33:20 1997 Philipp Thomas (kthomas@lxi165.gwdg.de)
10075
5cd5f4a7 10076 * dwarf2out.c (build_abbrev_table): Use xrealloc, not xmalloc
c760091a
PT
10077 to reallocate abbrev_die_table.
10078
57583338
JW
10079Thu Aug 28 15:14:46 1997 Jim Wilson <wilson@cygnus.com>
10080
10081 * m68k/m68k.md (iorsi_zexthi_ashl16): Disable.
10082
eae4b970
AS
100831997-08-27 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
10084
4f91a0f8
AS
10085 * Makefile.in (config.status): Depend on version.c
10086
eae4b970
AS
10087 * expr.h (insn_gen_function): Reenable prototype.
10088
10089 * expr.c (move_by_pieces_1, clear_by_pieces_1): Fix prototype of
10090 first parameter.
10091
00fc09e1
JW
10092Thu Aug 28 13:01:43 1997 Jim Wilson <wilson@cygnus.com>
10093
10094 * i386.c (ix86_expand_epilogue): Emit blockage instruction when pic.
10095
2601ebca
JL
10096Thu Aug 28 07:03:15 1997 Jeffrey A Law (law@cygnus.com)
10097
10098 * version.c: Bump for latest snapshot.
10099
10100 * bc-optab.c: Conditionally include stdlib.h.
10101 (free): Provide a declaration if NEED_DECLARATION_FREE.
10102 * tree.c (free): Provide a declaration if NEED_DECLARATION_FREE.
10103 * rtl.h (free): Remove declaration.
10104 * tree.h (free): Remvoe declaration.
10105
10106 * configure: Rebuilt.
10107
e5eb27e5
JL
10108Wed Aug 27 21:32:20 1997 Jeffrey A Law (law@cygnus.com)
10109
10110 * flags.h (flag_move_all_movables): Declare.
10111 (flag_reduce_all_givs): Likewise.
10112 * loop.c (move_movables): Handle flag_move_all_movables.
10113 (strength_reduce): Handle flag_reduce_all_givs.
10114 * toplev.c (flag_move_all_movables): Define.
10115 (flag_reduce_all_givs): Likewise.
10116 (f_options): Add -fmove-all-movables and -freduce-all-givs.
10117 * invoke.texi: Document new options, including alias stuff that
10118 wasn't included last time.
10119
d995a6dc
BM
10120Wed Aug 27 18:08:51 1997 Bob Manson (manson@cygnus.com)
10121
10122 * t-h8300: Use TARGET_LIBGCC2_CFLAGS instead of LIBGCC2_CFLAGS.
10123 * t-mn10200: Ditto.
10124 * t-vxsparc: Ditto.
10125 * t-vxworks68: Ditto.
10126 * t-vxworks960: Ditto.
10127 * t-vx29k: Ditto.
10128
ba64ca33
RH
10129Wed Aug 27 16:35:29 1997 Richard Henderson <rth@cygnus.com>
10130
10131 * alpha/xm-alpha.h (alloca): Define alloca to builtin_alloca for GNUC
10132 if not already defined, and USE_C_ALLOCA not defined.
10133
ca20876d
JW
10134Wed Aug 27 16:08:43 1997 Jim Wilson <wilson@cygnus.com>
10135
7818d6fc
JW
10136 * config.guess: Replace with script that uses ../config.guess.
10137
ca20876d
JW
10138 * config/alpha/elf.h (DEFAULT_VTABLE_THUNKS): New. Defined as 1
10139 if USE_GNULIBC_1 is not defined.
10140
704a6306
RH
10141Wed Aug 27 15:49:12 1997 Richard Henderson <rth@cygnus.com>
10142
10143 * alpha/elf.h (LINK_SPEC): Conditionalize on USE_GNULIBC_1.
10144 * config.guess: Recognize alpha-linux-gnulibc1.
10145 * configure.in (alpha-*-linux-gnulibc1): New target.
10146 (alpha-*-linux-gnu*): Don't build crtbegin/end.
10147
67f68fd2
JW
10148Wed Aug 27 11:52:58 1997 Jim Wilson <wilson@cygnus.com>
10149
10150 * m68k.md (iorsi3_internal): Readd ! TARGET_5200 check lost in
10151 last change.
10152
88016fb7
DE
10153Wed Aug 27 01:56:18 1997 Doug Evans <dje@seba.cygnus.com>
10154
10155 * loop.c (combine_movables): Earlier insns don't match later ones.
10156
bba17b29
L
10157Wed Aug 27 01:24:25 1997 H.J. Lu (hjl@gnu.ai.mit.edu)
10158
10159 * config/linux.h (CC1_SPEC): Define it only if not defined.
10160
10161 * config/m68k/linux.h (CC1_SPEC): Undefine it before include
10162 <linux.h>
10163
10164 * config/linux.h (DEFAULT_VTABLE_THUNKS): New. Defined as 1 if
10165 USE_GNULIBC_1 is not defined.
10166
33d2808b 10167 * config/rs6000/linux.h (DEFAULT_VTABLE_THUNKS): New. Defined as 1.
bba17b29
L
10168
10169 * config/sparc/linux.h (DEFAULT_VTABLE_THUNKS): New. Defined
10170 as 1 if USE_GNULIBC_1 is not defined.
10171
ed4044e0
JL
10172Wed Aug 27 00:49:14 1997 Jeffrey A Law (law@cygnus.com)
10173
f345de42
JL
10174 * reorg.c (dbr_schedule): Allow current_function_return_rtx
10175 to be something other than a REG.
10176 * function.c (expand_function_end): Fix current_function_return_rtx
10177 if it was a pseudo.
10178
ed4044e0
JL
10179 * t-freebsd (USER_H): Include EXTRA_HEADERS and LANG_EXTRA_HEADERS.
10180 * x-netbsd: Likewise
10181 * x-dgux (USER_H): Include EXTRA_HEADERS and LANG_EXTRA_HEADERS
10182 (INSTALL_HEADERS): Delete.
10183 * x-dguxbcs: Likewise.
10184 * x-hp3bsd44: Likewise
10185 * x-pa: Likewise.
10186
47d36400
BS
10187Wed Aug 27 00:30:00 1997 Bernd Schmidt <crux@pool.informatik.rwth-aachen.de>
10188
10189 * i386.md (pop): pop increments the stack pointer.
10190 (prologue_set_stack_ptr): New pattern.
10191 * i386.c (ix86_expand_prologue): Use prologue_set_stack_ptr
10192 instead of subsi3.
10193
fc79eafe
JW
10194Tue Aug 26 18:50:32 1997 Jim Wilson <wilson@cygnus.com>
10195
10196 * reload.c (find_reloads, case '0'): Reject matching a non-offsettable
10197 address where an offsettable address is required.
10198
c5da853f
MH
10199Tue Aug 26 17:54:56 1997 Michael P. Hayes (michaelh@ongaonga.chch.cri.nz>
10200
10201 * loop.c (check_final_value): Don't miss a biv increment in a
10202 parallel.
10203
d4ef15f2
JW
10204Tue Aug 26 12:03:49 1997 Jim Wilson (wilson@cygnus.com)
10205
10206 * dwarfout.c (dwarfout_file_scope_decl, case TYPE_DECL): Check
10207 TYPE_DECL_IS_STUB instead of DECL_NAME.
10208
10549cbd
JW
10209Mon Aug 25 23:27:10 1997 H.J. Lu (hjl@gnu.ai.mit.edu)
10210
10211 * objc/Make-lang.in ($(OBJC_O)): Also depend on cc1obj.
10212
10213Mon Aug 25 23:27:10 1997 Jim Meyering <meyering@eng.ascend.com>
10214
10215 * objc/Make-lang.in ($(OBJC_O)): Also depend on $(GCC_PASSES).
10216
484df988
JL
10217Mon Aug 25 13:12:24 1997 Jeffrey A Law (law@cygnus.com)
10218
10219 * haifa-sched.c (find_pre_sched_live): Remove #if 0 code.
10220 (find_post_sched_live): Likewise.
10221
10222 * haifa-sched.c (schedule_block): Remove old code to get arguments
10223 from hard regs into pseudos early.
10224
39dfb55a
JL
10225Mon Aug 25 08:55:00 1997 Jeffrey A Law (law@cygnus.com)
10226
10227 * version.c: Bump for new snapshot.
10228
10229 * local-alloc.c (update_equiv_regs): All the target to reject
10230 promotion of some REG_EQUAL to REG_EQUIV notes.
10231 * pa.h (DONT_RECORD_EQUIVALENCE): Define.
10232
10233 * pa.c (secondary_reload_class): (mem (mem ... )) does not need
10234 secondary reloads.
10235
10236 * pa.c (hppa_builtin_saveregs): Emit a blockage insn after the
10237 store of the argument registers.
10238
10239Mon Aug 25 08:39:02 1997 Craig Burley (burley@gnu.ai.mit.edu)
10240
10241 * fold-const.c (multiple_of_p): New function.
10242 (fold): Turn some cases of *_DIV_EXPR into EXACT_DIV_EXPR.
10243
d78778eb
JL
10244Mon Aug 25 01:47:41 1997 Jeffrey A Law (law@cygnus.com)
10245
10246 * expr.h (insn_gen_function): Temporarily remove prototype.
10247
feb9ea1a
JW
10248Sun Aug 24 17:22:21 1997 Jim Wilson <wilson@cygnus.com>
10249
10250 * Makefile.in (install-info): Don't cd into srcdir. Add srcdir to
10251 filenames. Use sed to extract base filename for install.
10252
b6ffe602
JC
10253Sat Aug 23 18:19:40 1997 John F. Carr <jfc@mit.edu>
10254
10255 * unroll.c (find_splittable_givs): Only share if two givs have the
10256 same add and multiply values.
10257
2ebfd230
JW
10258Sat Aug 23 14:36:27 1997 Jim Wilson <wilson@cygnus.com>
10259
10260 * m68k/next.h (GO_IF_INDEXABLE_BASE): Fix typo in undef.
10261 * m68k/m68kemb.h (LIB_SPEC): Add missing comment end before it.
10262
251ffdee
JL
10263Sat Aug 23 00:18:22 1997 Jeffrey A Law (law@cygnus.com)
10264
10265 * pa.c (pa_reorg): Always put begin_brtab and end_brtab insns
10266 around branch tables.
10267 * pa.md (begin_brtab, end_brtab): Only emit the .begin_brtab
10268 and .end_brtab directives if TARGET_GAS.
10269
19372aa1
JW
10270Fri Aug 22 14:05:55 1997 Jim Wilson <wilson@cygnus.com>
10271
27314274
JW
10272 * alias.c (true_dependence): Pass x_addr not x to varies.
10273
19372aa1
JW
10274 * acconfig.h (NEED_DECLARATION_CALLOC): Add.
10275 * configure.in: Add GCC_NEED_DECLARATION call for calloc.
10276 * rs6000/xm-rs6000.h (malloc, realloc, calloc, free): Delete
10277 declarations.
10278 * config.in, configure: Regenerate.
10279
2a2c8203
JC
10280Thu Aug 21 23:52:16 1997 John F. Carr <jfc@mit.edu>
10281
10282 * alias.c (find_base_value): Improve handling of PLUS, MINUS, and
10283 LO_SUM.
10284 (record_set): Handle LO_SUM like PLUS.
10285 (init_alias_analysis): When following chains of base addresses,
10286 do not stop on reaching a hard register.
10287
d80357b7
JL
10288Thu Aug 21 20:17:37 1997 Jeffrey A Law (law@cygnus.com)
10289
10290 * version.c: Bump for new snapshot.
10291
b4f32d7b
JW
10292Thu Aug 21 17:28:00 1997 Jim Wilson <wilson@cygnus.com>
10293
10294 * alpha.h (ARCH_ASM_FILE_START): Define.
10295 (ASM_FILE_START): Use ARCH_ASM_FILE_START.
10296 * osf12.h, osf2or3.h (ARCH_ASM_FILE_START): Redefine to null string.
10297
ca363bb6
JL
10298Thu Aug 21 10:22:19 1997 Jeffrey A Law (law@cygnus.com)
10299
10300 * Makefile.in (install-common): Put gcov comment at start of line.
10301
7557aa98
JL
10302Wed Aug 20 22:47:33 1997 Jeffrey A Law (law@cygnus.com)
10303
10304 * alias.c (init_alias_analysis): When simplifying the reg_base_value
10305 array, simplify entries for hard registers too.
10306
c34e3ae4
DL
10307Wed Aug 20 12:35:47 1997 Dave Love <d.love@dl.ac.uk>
10308
10309 * dwarf2.h (enum dwarf_call_frame_info): Remove trailing comma from
10310 list.
10311
e3eef942
JW
10312Wed Aug 20 11:58:33 1997 Jim Wilson <wilson@cygnus.com>
10313
10314 * stmt.c (start_cleanup_deferal, end_cleanup_deferal): Test
10315 block_stack before dereferencing it.
10316
10317Wed Aug 20 11:57:11 1997 Michael Meissner <meissner@cygnus.com>
246853b9
MM
10318
10319 * rs6000.h (ISSUE_RATE): Define instead of MACHINE_issue_rate.
10320
04f41951
JM
10321Tue Aug 19 17:10:56 1997 Jason Merrill <jason@yorick.cygnus.com>
10322
10323 * cplus-dem.c: Add 'extern' to prepends_underscore.
10324
e933cbe0
JL
10325Tue Aug 19 09:34:57 1997 Jeffrey A Law (law@cygnus.com)
10326
62d65906
JL
10327 * haifa-sched.c (ISSUE_RATE): Renamed from MACHINE_issue_rate.
10328 (get_issue_rate): Delete.
10329 * pa.h (ISSUE_RATE): Define.
10330
2da05a5b
JL
10331 * configure.in: Turn on haifa by default for the PA.
10332 * configure: Rebuilt.
10333 * pa.c (override_options): Accept -mschedule=7200 option.
10334 (pa_adjust_cost): No longer need to scale costs for newer
10335 processors.
10336 * pa.h (enum processor_type): Add PROCESSOR_7200.
10337 * pa.md: Revamp scheduling parameters to work better with
10338 haifa. Add scheduling parameters for the 7200.
10339
4f64eaca
JL
10340 * haifa-sched.c (move_insn): Reemit notes for SCHED_GROUP_P
10341 insns too.
10342 (schedule_block): When adjusting basic_block_{head,end}, account
10343 for movement of SCHED_GROUP_P insns too.
10344
10345 * haifa-sched.c (debug_dependencies): Fix thinko.
10346
e933cbe0
JL
10347 * Makefile.in (EXPECT, RUNTEST, RUNTESTFLAGS): Define.
10348 (site.exp, check, check-g++, check-gcc): New targets.
10349
4f64eaca 10350 * haifa-sched.c: Make lots of variables static.
61822835 10351
e9576d2c
L
10352Tue Aug 19 07:18:34 1997 H.J. Lu (hjl@gnu.ai.mit.edu)
10353
10354 * expr.h, real.h: Finish prototyping.
10355
61822835
JL
10356Mon Aug 18 21:49:02 1997 Jim Wilson <wilson@cygnus.com>
10357
10358 * reload.c (find_reloads): Add code to convert RELOAD_FOR_OPADDR_ADDR
10359 reloads to RELOAD_FOR_OPERAND_ADDRESS reloads.
10360 * reload1.c: Undo bugfix from Aug 11.
10361
f24b370a
MM
10362Mon Aug 18 17:39:02 1997 Mike Meissner <meissner@cygnus.com>
10363
10364 * configure.in ({powerpc,rs6000}*-*-*, --with-cpu): Remove single
10365 quotes around the name.
10366 * configure: Regenerate.
10367
1c4c5851
JW
10368Mon Aug 18 13:46:47 1997 Jim Wilson <wilson@cygnus.com>
10369
10370 * Makefile.in (stmp-multilib-sub): Fix typo in last change.
10371
71abb567
MH
10372Thu Aug 7 10:33:13 1997 Manfred Hollstein <manfred@s-direktnet.de>
10373
10374 * Makefile.in (sub-makes): Pass the current value of LANGUAGES down
10375 to sub-makes to avoid building more passes than the user might have
10376 requested on the command line.
10377
6042434a
DL
10378Sun Aug 17 15:42:17 1997 Dave Love (d.love@dl.ac.uk)
10379
10380 * configure.in: Expurgate `broken_install' (install is
10381 autoconfed).
10382
10383 * configure.lang: Substitute autoconfed ${INSTALL} (not currently
10384 relevant).
10385
38ea060f
JL
10386Sat Aug 16 01:08:12 1997 Jeffrey A Law (law@cygnus.com)
10387
10388 * loop.c (is_power_of_2, is_conditional_branch): Delete unused
10389 functions and declarations.
10390 (analyze_loop_iterations): Use condjump_p.
10391 (insert_bct): Likewise. Use exact_log2.
b57062ca 10392
f187056f
JL
10393Fri Aug 15 23:48:32 1997 Jeffrey A Law (law@cygnus.com)
10394
10395 * haifa-sched.c (find_post_sched_live): Call FREE_REG_SET as needed.
10396 (schedule_region): Likewise.
10397 (schedule_insns): Likewise.
10398
10399 * PROJECTS: Update with Haifa stuff.
10400
9af06254
JL
10401Fri Aug 15 12:49:56 1997 Jeffrey A Law (law@cygnus.com)
10402
10403 * version.c: Change the version string to look like:
11c21791 10404 egcs-2.90.00 970814 (gcc2-970802 experimental).
9af06254 10405
0945e937
JL
10406 * loop.c (is_conditional_branch): Make definition match declaration.
10407
9af06254
JL
10408 * gcc.c: Take out experimental snapshot warning message.
10409
ebc25a17
MM
10410Fri Aug 15 13:43:39 1997 Michael Meissner <meissner@cygnus.com>
10411
10412 * haifa-sched.c (debug_dependencies): Use GET_NOTE_INSN_NAME to
10413 print out the names of the notes. Print out the name of the insn
10414 that is not a note, and not an {,CALL_,JUMP_}INSN.
10415
610ce97e
JM
10416Wed Aug 13 17:32:38 1997 Jason Merrill <jason@yorick.cygnus.com>
10417
10418 * expr.c (expand_expr, case TARGET_EXPR): Call mark_addressable
10419 again for the slot after we give it RTL.
10420
992d1248
DE
10421Wed Aug 13 01:03:37 1997 Doug Evans <dje@canuck.cygnus.com>
10422
10423 * configure.in (haifa configury): Fix typo.
10424 * configure: Regenerate.
10425
7bb6fbd1
JL
10426Tue Aug 12 10:20:36 1997 Jeffrey A Law (law@cygnus.com)
10427
10428 * version.c: Bump version to "gcc-3.0.0 970802 experimental".
10429
10430 * gcc.info*: Rebuilt.
10431
10432 * COPYING.g77, README.g77: New files.
10433 * real.c (ereal_unto_float, ereal_unto_double): New functions.
10434 * real.h (ereal_unto_float, ereal_unto_double): Declare them.
10435 (REAL_VALUE_UNTO_TARGET_DOUBLE, REAL_VALUE_UNTO_TARGET_SINGLE): Define.
10436
8c660648
JL
10437Mon Aug 11 14:50:55 1997 Jeffrey A Law (law@cygnus.com)
10438
10439 * Integrate Haifa instruction scheduler.
10440 * Makefile.in (ALL_CFLAGS): Add SCHED_CFLAGS. Prefix all references
10441 to sched with $(SCHED_CFLAGS.
10442 * configure.in: Handle --enable-haifa.
10443 * configure: Rebuilt.
10444 * flags.h: Add new flags for haifa instruction scheduler.
10445 * genattrtab.c (expand_units): For haifa, don't subtract one
10446 when computing blockage.
10447 * toplev.h (flag_schedule_interblock): Haifa scheduler flag.
10448 (flag_schedule_speculative): Ditto.
10449 (flag_schedule_speculative_load): Ditto.
10450 (flag_schedule_speculative_load_dangerous): Ditto.
10451 (flag_schedule_reverse_before_reload): Ditto.
10452 (flag_schedule_reverse_after_reload): Ditto.
10453 (flag_branch_on_count_reg): Ditto.
10454 (f_options): Add Haifa switches.
10455 (main): Turn off some Haifa options if appropriate macro is
10456 defined. Process Haifa switches.
10457 * unroll.c (iteration_info): No longer static, since Haifa
10458 scheduler uses it.
10459 (unroll_loop): Inform HAIFA scheduler about loop unrolling factor.
10460 * unroll.c (unroll_loop): Set loop_unroll_iter, loop_start_value.
10461 * loop.h (loop_unroll_factor, loop_number): Add HAIFA decls.
10462 * loop.h (loop_initial_value,loop_unroll_iter): New globals.
10463 * loop.c (loop_optimize): If HAIFA is defined, allocate additional
10464 storage for the Haifa scheduler.
10465 (mark_loop_jump): If HAIFA defined, set LABEL_OUTSIDE_LOOP_P and
10466 LABEL_NEXTREF.
10467 (strength_reduce): If HAIFA and HAVE_decrement_and_branch_on_count
10468 are defined, call analyze_loop_iterations and insert_bct to use
10469 countdown loops.
10470 (record_giv): Refine test for jumps out of loops if HAIFA is
10471 defined.
10472 (analyze_loop_iterations): New function to identify if we can use
10473 a countdown loop.
10474 (insert_bct): Insert countdown loop.
10475 (instrument_loop_bct): Low level code to insert countdown loop.
10476 (loop_number): Calculate UID of loop.
10477 (indirect_jump_in_function_p): Return true if an indirect jump is
10478 in the function.
10479 (is_power_of_2): Return true if value is a power of 2.
10480 (is_conditional_branch): Return true if insn is a conditional
10481 jump.
10482 (fix_bct_param): Process -fbct-{min,max}-N switches.
10483 (check_bct_param): Return true if loop should be instrumented.
10484 * loop.c (loop_initial_value,loop_unroll_iter): New globals.
10485 (loop_optimize): Initialize.
10486 (get_condition_for_loop): Ditto.
10487 * loop.c (strength_reduce): Inside of code that uses #ifdef
10488 HAVE_decrement_and_branch_on_count code, test it to make sure the
10489 condition is true.
10490 (instrument_loop_bct): Ditto.
10491 * haifa-sched.c: New file.
b57062ca 10492
8c660648
JL
10493
10494 * Integrate regmove pass.
10495 * Makefile.in (OBJS): Add regmove.o
10496 (regmove.o): Add dependencies.
10497 * flow.c (find_use_as_address): No longer static.
10498 * rtl.h (find_use_as_address): Declare.
10499 * toplev.c (regmove_dump, flag_regmove): Define.
10500 (f_options): Add -fregmove.
10501 (regmove_dump_file, regmove_time): Define.
10502 (fatal_insn): Close the regmove dump file.
10503 (compile_file): Initialize regmove_time; open/close the regmove dump
10504 file as needed. Print regmove time as needed.
10505 (rest_of_compilation): Run regmove pass if requested, dump
10506 RTL after regmove if requested.
10507 (main): If -O2 or more, turn on regmove. Handle dump switches.
10508 * regmove.c: New file.
b57062ca 10509
aa32d841
JL
10510Mon Aug 11 14:15:02 1997 Jeffrey A Law (law@cygnus.com)
10511
10512 * Integrate tlink patch from jason@cygnus.com
10513 * gcc.c (SWITCH_TAKES_ARG): Add 'V', 'B' and 'b'.
10514 (process_command): Increment n_switches for them. Don't discard
10515 their args. Validate them.
10516 (main): Escape " marks when creating COLLECT_GCC_OPTIONS.
10517 From Rohan Lenard.
10518 (process_command): Set include_prefixes from COMPILER_PATH.
10519 (main): Set COLLECT_GCC_OPTIONS sooner.
10520 * confiugre.in: Link ../ld/ld.new to collect-ld rather than real-ld.
10521 * tlink.c, hash.c, hash.h: New files.
10522 * Makefile.in (USE_COLLECT2): Always use collect2.
10523 (collect2): Depend on and link in hash.o and tlink.o.
10524 (tlink.o, hash.o): Add dependencies.
10525
5fa39bfe
JL
10526Mon Aug 11 10:04:49 1997 Jeffrey A Law (law@cygnus.com)
10527
9ae8ffe7
JL
10528 * Integrate alias analysis changes from jfc@mit.edu
10529 * Makefile.in (OBJS): Add alias.o
10530 (alias.o): Add dependencies.
10531 * alias.c: New file.
10532 * sched.c: Remove alias analysis code. It lives in alias.c now.
9ae8ffe7 10533 (sched_analyze_2): Add new arguments to true_dependence.
9ae8ffe7
JL
10534 (schedule_insns): Always call init_alias_analysis.
10535 * calls.c (expand_call): Note calls to malloc, calloc, and realloc;
10536 mark return value from such functions as a pointer and keep track of
10537 them for alias analysis. If a return value from a function is a
10538 pointer, mark it as such.
10539 * combine.c (distribute_notes): Handle REG_NOALIAS.
10540 * cse.c (struct write_data): Delete. No longer needed.
10541 (invalidate): Don't call set_nonvarying_address_components anymore.
10542 Use true_dependence to decide if an entry should be removed from
10543 the hash table.
10544 (invalidate_memory): Remove WRITES argument, simplify appropriately.
10545 Fix all callers.
10546 (note_mem_written): Similarly for WRITE_PTR argument.
10547 (invalidate_from_clobbers): Similarly for W argument.
10548 (invalidate_for_call): Remove memory elements from the hash table.
10549 (refers_to_mem_p, cse_rtx_addr_varies_p): Deleted.
10550 (cse_rtx_varies_p): New function. Derived from old
10551 cse_rtx_addr_varies_p.
10552 (cse_insn): Remove WRITES_MEMORY and INIT variables and all references.
10553 Don't call note_mem_written anymore. Stack pushes invalidate the stack
10554 pointer if PUSH_ROUNDING is defined. No longer need to call
10555 cse_rtx_addr_varies_p to decide if a MEM should be invalidated.
10556 (skipped_writes_memory): Remove variable.
10557 (invalidate_skipped_set): Simplify and wewrite to use invalidate_memory.
10558 (invalidate_skipped_block): Simplify for new alias analysis code.
10559 (cse_set_around_loop): Likewise.
10560 (cse_main): Call init_alias_analysis.
10561 * flags.h (flag_alias_check, flag_argument_noalias): Declare.
10562 * toplev.c (flag_alias_check, flag_argument_noalias): Define.
10563 (f_options): Add new alias checking arguments.
10564 (main): Set flag_alias_check when optimizing.
10565 * local_alloc (validate_equiv_mem_from_store): Add new arguments
10566 to true_dependence.
10567 (memref_referenced_p): Likewise.
10568 * loop.c (NUM_STORES): Increase to 30.
10569 (prescan_loop): Only non-constant calls set unknown_address_altered.
10570 (invariant_p): Add new arguments to true_dependence.
10571 (record_giv): Initialize unrolled and shared fields.
10572 (emit_iv_add_mult): Call record_base_value as needed.
10573 * loop.h (struct induction): Add unrolled and shared fields.
10574 * unroll.c (unroll_loop): Call record_base_value as needed.
10575 (copy_loop_body): Likewise.
10576 (final_biv_value): Likewise.
10577 (final_giv_value): Likewise.
10578 (find_splittable_regs): Likewise. Only create one new pseudo
10579 if we have multiple address GIVs that were combined with the same
10580 dst_reg GIV. Note when a new register is created due to unrolling.
10581 * rtl.c (reg_note_name): Add REG_NOALIAS.
10582 * rtl.h (enum reg_note): Similarly.
10583 (rtx_varies_p, may_trap_p, side_effects_p): Declare.
10584 (volatile_refs_p, volatile_insn_p, remove_note): Likewise.
10585 (note_stores, refers_to_regno_p, reg_overlap_mentioned_p): Likewise.
10586 (true_dependence, read_dependence, anti_dependence): Likewise.
10587 (output_dependence, init_alias_analysis, end_alias_analysis): Likewise.
10588 (mark_user_reg, mark_reg_pointer): Likewise.
10589
10590
10591 * Integrate reload bugfix from Wilon which enables the PA port
5fa39bfe 10592 to bootstrap again.
38e01259 10593 * reload1.c (reload): Sum needs for both OPADDR_ADDR and
5fa39bfe
JL
10594 OPERAND_ADDRESS when computing how many registers an insn needs.
10595 (reload_reg_free_p): OPADDR_ADDR and OPERAND_ADDRESS reloads do
10596 conflict.
10597 (reload_reg_free_before_p): Treat OPERAND_ADDRESS reloads just like
10598 OPADDR_ADDR reload.
10599 (reload_reg_reaches_end_p): For RELOAD_FOR_OPADDR_ADDR insns, registers
10600 in reload_reg_use_in_op_addr do not reach the end.
10601 do not reach the end.
10602 (reloads_conflict): RELOAD_FOR_OPADDR_ADDR conflicts with
10603 RELOAD_FOR_OPERAND_ADDRESS.
10604
10605Sun Aug 10 12:00:20 1997 Jeffrey A Law (law@cygnus.com)
10606
2dcfcb56 10607 * egcs project officially starts.
52267fcb
JM
10608
10609Local Variables:
10610add-log-time-format: current-time-string
10611End:
This page took 1.43204 seconds and 5 git commands to generate.