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