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