]> gcc.gnu.org Git - gcc.git/blame - gcc/ChangeLog
alpha.c (reg_or_6bit_operand): Recognize CONSTANT_P_RTX.
[gcc.git] / gcc / ChangeLog
CommitLineData
cff48d8f
RH
1Tue Jun 30 16:01:01 1998 Richard Henderson <rth@cygnus.com>
2
3 * rtl.def (CONSTANT_P_RTX): New.
4 * rtl.h (CONSTANT_P): Recognize it.
5 * cse.c (fold_rtx): Eliminate it.
6 * expr.c (can_handle_constant_p): New variable.
7 (init_expr_once): Initialize it.
8 (expand_builtin): Generate CONSTANT_P_RTX if the expression is not
9 immediately recognizable as a constant.
10
11 * alpha.c (reg_or_6bit_operand): Recognize CONSTANT_P_RTX.
12 (reg_or_8bit_operand, cint8_operand, add_operand): Likewise.
13 (sext_add_operand, and_operand, or_operand): Likewise.
14 (reg_or_cint_operand, some_operand, input_operand): Likewise.
15 * alpha.h (PREDICATE_CODES): Add CONSTANT_P_RTX where needed.
16
2067f1f5
BK
171998-06-30 Benjamin Kosnik <bkoz@bliss.nabi.net>
18
19 * dbxout.c (dbxout_type_methods): Remove warn_template_debugging.
20
d2cabf16
KG
21Tue Jun 30 14:03:34 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
22
23 * aclocal.m4 (GCC_NEED_DECLARATION): Accept an optional second
24 argument, which is typically preprocessor code used to draw in
25 additional header files when looking for a function declaration.
26 (GCC_NEED_DECLARATIONS): Likewise.
27
28 * configure.in (GCC_NEED_DECLARATIONS): Add checks for getrlimit
29 and setrlimit, search for them in sys/resource.h.
30
31 * acconfig.h: Add stubs for NEED_DECLARATION_GETRLIMIT and
32 NEED_DECLARATION_SETRLIMIT.
33
34 * system.h: Prototype getrlimit/setrlimit if necessary.
35
70198e3d
MM
36Tue Jun 30 10:54:48 1998 Mark Mitchell <mark@markmitchell.com>
37
84001dd0
MM
38 * rtl.texi: Don't say that RTX_INTEGRATED_P is not depended
39 upon.
70198e3d 40
ba1a5707
DE
41Tue Jun 30 13:11:42 1998 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
42
43 * rs6000/sysv4.h (asm output): add tabs for asm directives.
44
45Tue Jun 30 13:11:42 1998 David Edelsohn <edelsohn@mhpcc.edu>
46
47 * Makefile.in (FLAGS_TO_PASS): Set AR_FLAGS to AR_FOR_TARGET_FLAGS.
48
51db713f
KG
49Tue Jun 30 08:59:15 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
50
51 * gansidecl.h (ATTRIBUTE_UNUSED): Use __unused__ not `unused'.
52 Don't define NULL here. Also, remove all vestiges of autoconf
53 based checks for bcmp/bcopy/bzero/index/rindex.
54
55 * system.h: Immediately after including stdio.h, check for and if
56 necessary provide a default definition of NULL.
57
b8705408
MM
58Tue Jun 30 08:22:05 1998 Michael Meissner <meissner@cygnus.com>
59
60 * reload1.c (reload_cse_simplify_operands): Call
61 fatal_insn_not_found, not abort.
62
20f2d03a
JL
63Tue Jun 30 02:34:02 1998 Jeffrey A Law (law@cygnus.com)
64
65 * choose-temp.c (make_temp_file): Accept new argument for the
66 file suffix to use. Allocate space for it and add it to the
67 template.
68 * mkstemp.c (mkstemps): Renamed from mkstemp. Accept new argument
69 for the length of the suffix. Update template struture checks
70 to handle optinal suffix.
71 * collect2.c (make_temp_file): Update prototype.
72 (main): Put proper suffixes on temporary files.
73 * gcc.c (make_temp_file): Update prototype.
74 (do_spec_1): Put proper suffixes on temporary files.
75
dbde0d5d
BH
76Tue Jun 30 00:56:19 1998 Bruno Haible <haible@ilog.fr>
77
78 * invoke.texi: Document new implicit structure initialization
79 warning.
80
ad2c71b7
JL
81Mon Jun 29 22:12:06 1998 Jeffrey A Law (law@cygnus.com)
82
9ec36da5
JL
83 * Merge from gcc2 June 9, 1998 snapshot. See ChangeLog.13 for
84 details.
85
ad2c71b7
JL
86 * pa.c, pa.h, pa.md: Convert to gen_rtx_FOO.
87
4f70758f
KG
88Mon Jun 29 20:12:41 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
89
90 * Makefile.in (fix-header): Don't needlessly depend on cpperror.o.
91
92 * alias.c (CHECK_ALIAS_SETS_FOR_CONSISTENCY): Cast expansion to
93 void since it is evaluated in a comma list.
94
95 * mips.h (ASM_GENERATE_INTERNAL_LABEL): Always sprintf `NUM'
96 argument as a long and cast `NUM' to long to ensure it is of the
97 proper width. Wrap macro arguments in parens when they appear in
98 the expansion.
99
100 * sol2.h (ASM_GENERATE_INTERNAL_LABEL): Likewise.
101
102 * sparc.h (ASM_GENERATE_INTERNAL_LABEL): Likewise.
103 (ASM_DECLARE_RESULT): Fix fprintf format specifier to match
104 function argument return type.
105 (REGNO_OK_FOR_INDEX_P, REGNO_OK_FOR_BASE_P, REGNO_OK_FOR_FP_P,
106 REGNO_OK_FOR_CCFP_P): Use `(unsigned)' not `U'.
107
108 * cpplib.c (cpp_message_from_errno): Remove unneeded argument to
109 cpp_message.
110
111 * dbxout.c: Fix the comments after an #endif to reflect the actual
112 condition tested in the preceding #if.
113
114 * except.c (find_all_handler_type_matches): Switch to old-style
115 function definition.
116
117 * expr.c (expand_builtin): Remove unused variable `type' twice.
118
119 * gbl-ctors.h (DO_GLOBAL_CTORS_BODY): Cast -1 before comparing it
120 to an unsigned long.
121
122 * haifa-sched.c (print_insn_chain): Remove unused function.
123
124 * objc/objc-act.c (build_msg_pool_reference): Hide prototype and
125 definition.
126
127 * toplev.c: When testing whether to include dbxout.h, also include
128 it when XCOFF_DEBUGGING_INFO is defined.
129
130 * unroll.c (unroll_loop): Add parentheses around assignment used
131 as truth value.
132
a611ae14
CM
133Mon Jun 29 12:18:00 1998 Catherine Moore <clm@cygnus.com>
134
135 * config/lb1spc.asm (.div, .udiv): Replace routines.
136
b4213325
MM
137Mon Jun 29 09:44:24 1998 Mark Mitchell <mark@markmitchell.com>
138
139 * rtl.h: Update comment about special gen_rtx variants.
140 * emit-rtl.c (gen_rtx): Handle MEMs using gen_rtx_MEM.
141
39d45901
JL
142Sun Jun 28 20:58:51 1998 Jeffrey A Law (law@cygnus.com)
143
144 * choose-temp.c (choose_temp_base): Restore original variant of
145 this function for compatibility.
146 (make_temp_file): This is the new, preferred interface to create
147 temporary files.
148 * collect2.c (choose_temp_base): Delete declaration.
149 (make_temp_file): Declare.
150 (temp_filename_length, temp_filename): Delete.
151 (main): Use make_temp_file to get temporary files. Use --lang-c
152 to force the resulting ctort/dtor file to be compiled with the C
153 compiler. Make sure to remove temporary files on all exit paths.
154 * gcc.c (make_temp_file): Provide prototype if MKTEMP_EACH_FILE is
155 defined.
156 (choose_temp_base): Only provide prototype if MKTEMP_EACH_FILE is
157 not defined.
158 (do_spec): Use make_temp_file if MKTEMP_EACH_FILE is defined.
159
6cd5dccd
KG
160Sun Jun 28 08:57:09 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
161
162 * configure.in (GCC_NEED_DECLARATIONS): Add strerror, getcwd and
163 getwd.
164
165 * acconfig.m4: Add stubs for NEED_DECLARATION_STRERROR,
166 NEED_DECLARATION_GETCWD and NEED_DECLARATION_GETWD.
167
168 * cccp.c: Remove strerror()/sys_nerr/sys_errlist decls.
169 (my_strerror): Add prototype and make it static.
170
171 * collect2.c: Likewise.
172
173 * cpplib.c: Likewise.
174
175 * gcc.c: Likewise, but keep `my_strerror' extern.
176
177 * protoize.c: Likewise.
178
179 * pexecute.c (my_strerror): Add argument to prototype.
180
181 * system.h: Add prototypes for getcwd, getwd and strerror. Add
182 extern decls for sys_nerr and sys_errlist. Make abort decl
183 explicitly extern.
184
185 * getpwd.c: Remove decls for getwd and getcwd.
186
984e3c38
JL
187Sun Jun 28 02:11:16 PDT 1998 Jeff Law (law@cygnus.com)
188
189 * version.c: Bump for snapshot.
190
0bef9b8d
RH
191Sat Jun 27 23:32:25 1998 Richard Henderson <rth@cygnus.com>
192
193 * jump.c (jump_optimize): Use side_effects_p & may_trap_p instead
194 of rtx_unsafe_p. Use modified_between_p instead of reg_set_between_p.
195 Allow FP moves to be optimized.
196 (rtx_unsafe_p): Delete.
197
97a7f457
RH
198Sat Jun 27 23:02:04 1998 Richard Henderson <rth@cygnus.com>
199
200 * objc/archive.c: Remove <string.h> prototypes.
201
b00c2351
JL
202Sat Jun 27 22:37:05 1998 Jeffrey A Law (law@cygnus.com)
203
f89223a9
JL
204 * tm.texi (NEED_MATH_LIBRARY): Document new target macro.
205
b00c2351
JL
206 * Makefile.in (gencheck): Remove $(TREE_H) dependency.
207
d2a0c2ee
JC
208Sat Jun 27 20:20:00 1998 John Carr <jfc@mit.edu>
209
210 * dsp16xx.h (FIRST_PSEUDO_REGISTER): Add parentheses to definition.
211 * dsp16xx.c (next_cc_user_unsigned): New function.
212 Remove save_next_cc_user_code.
213 (print_operand): Use HOST_WIDE_INT_PRINT_* macros.
214 * dsp16xx.md: Call next_cc_user_unsigned instead of using
215 save_next_cc_user_code.
216 Use gen_rtx_* functions instead of gen_rtx.
217
218Sat Jun 27 20:18:34 1998 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
219
220 * rs6000.c: Add trap_comparison_operator to PREDICATE_CODES.
221
4c649323
JL
222Sat Jun 27 16:45:42 1998 Jeffrey A Law (law@cygnus.com)
223
224 * flow.c (count_reg_sets): New function.
225 (count_reg_sets_1, count_ref_references): Likewise.
226 (recompute_reg_usage): Likewise.
227 * rtl.h (recompute_reg_usage): Add prototype.
228 * toplev.c (rest_of_compilation): Call recompute_reg_usage just
229 before local register allocation.
230
ea56ab2a
RH
231Sat Jun 27 13:15:30 1998 Richard Henderson <rth@cygnus.com>
232
233 * alpha.md (negsf, negdf): Revert Jan 22 change.
234
50793ea3
KG
235Sat Jun 27 07:35:21 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
236
7f43495a
KG
237 * mkstemp.c: Include gansidecl.h. Rename uint64_t to gcc_uint64_t.
238 (mkstemp): Remove size specifier for variable `letters'. Call
239 gettimeofday, not __gettimeofday.
240
50793ea3
KG
241 * Makefile.in (EXPR_H): New dependency variable.
242 (c-typeck.o): Depend on $(EXPR_H) instead of expr.h.
243 (c-iterate.o): Likewise.
244 (gencheck): Depend on $(TREE_H) instead of tree.h, etc.
245 (stor-layout.o): Depend on $(EXPR_H) instead of expr.h.
246 (toplev.o): Likewise. Also depend on $(RECOG_H) instead of recog.h.
247 (varasm.o): Depend on $(EXPR_H) instead of expr.h.
248 (function.o): Likewise.
249 (stmt.o): Likewise.
250 (except.o): Likewise.
251 (expr.o): Likewise.
252 (calls.o): Likewise.
253 (expmed.o): Likewise.
254 (explow.o): Likewise.
255 (optabs.o): Likewise.
256 (sdbout.o): Likewise.
257 (dwarf2out.o): Likewise.
258 (emit-rtl.o): Likewise.
259 (integrate.o): Likewise.
260 (jump.o): Likewise.
261 (cse.o): Likewise.
262 (gcse.o): Likewise. Also depend on $(BASIC_BLOCK_H) instead of
263 basic-block.h.
264 (loop.o): Depend on $(EXPR_H) instead of expr.h.
265 (unroll.o): Likewise.
266 (combine.o): Likewise.
267 (reload.o): Likewise.
268 (reload1.o): Likewise.
269 (caller-save.o): Likewise.
270 (reorg.o): Likewise.
271 (alias.o): Don't depend on insn-codes.h.
272 (regmove.o): Depend on $(RECOG_H)/$(EXPR_H) instead of recog.h/expr.h.
273 (insn-emit.o): Depend on $(EXPR_H) instead of expr.h.
274 (insn-opinit.o): Likewise.
275
003ac91d
JL
276Sat Jun 27 01:35:14 1998 Jeffrey A Law (law@cygnus.com)
277
278 * choose-temp.c (choose_temp_base): Remove MPW bits. Use mkstemp
279 instead of mktemp.
280 * gcc.c (MKTEMP_EACH_FILE): Define.
281 (main): No need to call choose_temp_base if we are going to
282 use choose_temp_base to create each file later.
283 * mkstemp.c: New file. Adapted from glibc.
284 * Makefile.in (xgcc, colect2, protoize, unprotoize): Link in mkstemp.o
285 (mkstemp.o): Add dependencies.
286
287 * configure.in (gettimeofday): Check for its existance.
288 * config.in (HAVE_GETTIMEOFDAY): Define.
289 * configure: Rebuilt.
290
b4e95693
MM
2911998-06-26 Michael Meissner <meissner@cygnus.com>
292
293 * rs6000.md (ne 0, non power case): Add missing & constraint.
463b558b
MM
294 Name pattern ne0.
295 (negative abs insns): Add pattern names.
b4e95693 296
265ce5bb
DL
297Fri Jun 26 17:36:42 1998 Dave Love <d.love@dl.ac.uk>
298
299 * Makefile.in (install-info): Run install-info program in separate
300 loop.
301
e4da5f6d
MM
302Fri Jun 26 16:03:15 1998 Michael Meissner <meissner@cygnus.com>
303
304 * haifa-sched.c (schedule_block): Add hooks for the machine
305 description to reorder the ready list, and update how many more
306 instructions can be issued this cycle.
307 * tm.texi (MD_SCHED_{INIT,REORDER,VARIABLE_ISSUE}): Document.
308
db3d4438
DM
309Fri Jun 26 11:54:11 1998 David S. Miller <davem@pierdol.cobaltmicro.com>
310
311 * config/sparc/sparc.h (REGNO_OK_FOR_{INDEX,BASE,FP,CCFP}_P):
312 Explicitly mark the constant being compared against as unsigned.
313 * config/sparc/sparc.c (sparc_select, cpu_default, cpu_table):
314 Fully initialize final members.
315 (mem_aligned_8): Explicit init of offset to zero.
316 (output_function_prologue): Explicit init of n_regs to zero.
317 (output_function_epilogue): Likewise, and mark arg size as
318 unused.
319 (init_cumulative_args): Mark libname and indirect as unused.
320 (function_arg_pass_by_reference): Likewise for cum and named.
321 (sparc_builtin_saveregs): Likewise for arglist.
322 (sparc_flat_eligible_for_epilogue_delay): Likewise for slot.
323
ed4c4348
RE
324Fri Jun 26 06:58:54 1998 Richard Earnshaw (rearnsha@arm.com)
325
326 * arm.h (SECONDARY_INPUT_RELOAD_CLASS): Only need a secondary reload
327 if reloading a MEM.
328
329 * arm.h (arm_adjust_cost): Renamed bogus prototype from
330 arm_adjust_code.
331 (bad_signed_byte_operand): Add prototype.
332 * arm.c (arm_override_options): Make I unsigned.
333 (const_ok_for_arm): Add casts to the constants.
334 (load_multiple_operation): Don't redeclare elt in sub-block.
335 (arm_gen_movstrqi): Delete external declaration of optimize.
336 (gen_compare_reg): Declare parameter fp.
337
338 * arm.c (final_prescan_insn): Only initialize scanbody if the insn
339 has a pattern.
340
3c303f52
KG
341Fri Jun 26 09:31:24 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
342
343 * alpha.c: Include system.h and toplev.h.
344 (cint8_operand): Mark parameter `mode' with ATTRIBUTE_UNUSED.
345 (const48_operand): Likewise.
346 (mode_width_operand): Likewise.
347 (mode_mask_operand): Likewise.
348 (mul8_operand): Likewise.
349 (current_file_function_operand): Likewise.
350 (signed_comparison_operator): Likewise.
351 (divmod_operator): Likewise.
352 (any_memory_operand): Likewise.
353 (alpha_return_addr): Likewise for parameter `frame'.
354 (alpha_builtin_saveregs): Likewise for parameter `arglist'.
355 (vms_valid_decl_attribute_p): Likewise for parameters `decl' and
356 `attributes'.
357 (alpha_start_function): Likewise for parameter `decl'. Use
358 HOST_WIDE_INT_PRINT_DEC in call to fprintf. Fix various format
359 specifiers. Remove unused variables `lab' and `name'.
360 (alpha_end_function): Mark parameter `decl' with ATTRIBUTE_UNUSED.
361 (check_float_value): Likewise for parameter `overflow'.
362 (alpha_need_linkage): Likewise for parameters `name' and `is_local'.
363
364 * alpha.h (ASM_IDENTIFY_GCC, ASM_IDENTIFY_LANGUAGE): Define as
365 taking an argument.
366 (ASM_OUTPUT_SHORT): Cast argument to `int' in call to fprintf.
367 (ASM_OUTPUT_CHAR): Likewise.
368 (ASM_OUTPUT_BYTE): Likewise.
369 (PRINT_OPERAND_ADDRESS): Use HOST_WIDE_INT_PRINT_DEC in call to
370 fprintf.
371 (PUT_SDB_EPILOGUE_END): Mention argument `NAME' in definition.
372 Add prototypes for functions in alpha.c.
373
374 * alpha.md (ashldi3): Add default case in switch.
375
6d6393e3
MH
3761998-06-26 Manfred Hollstein <manfred@s-direktnet.de>
377
378 * Makefile.in (gcc_version, gcc_version_trigger): New macros.
379 (version): Initialize from $(gcc_version).
380
381 * configure.in (version): Rename to gcc_version.
382 (gcc_version_trigger): New variable; call AC_SUBST for it and
383 emit it into the generated config.status.
384 * configure: Regenerate.
385
30d68b86
MM
386Thu Jun 25 12:47:41 1998 Mark Mitchell <mark@markmitchell.com>
387
388 * fold-const.c (make_range): Don't go looking at TREE_OPERANDs of
389 nodes that are not expressions.
390
41472af8
MM
391Thu Jun 25 15:08:16 1998 Mark Mitchell <mark@markmitchell.com>
392
393 * invoke.texi (-fstrict-aliasing): Document.
394 * rtl.texi (MEM_ALIAS_SET): Document.
395
396 * flags.h (flag_strict_aliasing): Declare.
397 * toplev.c (flag_strict_aliasing): Define.
398 (f_options): Add -strict-aliasing.
399 (main): Set flag_strict_aliasing if -O2 or higher.
400
401 * tree.h (tree_type): Add alias_set field.
402 (TYPE_ALIAS_SET): New macro.
403 (TYPE_ALIAS_SET_KNOWN_P): Likewise.
404 (get_alias_set): Declare.
405 * tree.c (lang_get_alias_set): Define.
406 (make_node): Initialize TYPE_ALIAS_SET.
407 (get_alias_set): New function.
408 * print-tree.c (print_node): Dump the alias set for a type.
409
410 * c-tree.h (c_get_alias_set): Declare.
411 * c-common.c (c_get_alias_set): New function.
412 * c-decl.c (init_decl_processing): Set lang_get_alias_set.
413
414 * expr.c (protect_from_queue): Propogage alias sets.
415 (expand_assignment): Calculate alias set for new MEMs.
416 (expand_expr): Likewise.
417 * function.c (put_var_into_stack): Likewise.
418 (put_reg_into_stack): Likewise.
419 (gen_mem_addressof): Likewise.
420 (assign_parms): Likewise.
421 * stmt.c (expand_decl): Likewise.
422 * varasm.c (make_decl_rtl): Eliminate redundant clearing of
423 DECL_RTL. Calculate alias set for new MEMs.
424
425 * rtl.def (REG): Add dummy operand.
426 (MEM): Add extra operand to store the MEM_ALIAS_SET.
427 * rtl.h (MEM_ALIAS_SET): New macro.
428 (gen_rtx_MEM): Declare.
429 * emit-rtl.c (gen_rtx_MEM): New function.
430 * gengenrtl.c (sepcial_rtx): Make MEMs special.
431
432 * alias.c (CHECK_ALIAS_SETS_FOR_CONSISTENCY): New macro.
433 (DIFFERENT_ALIAS_SETS_P): Likewise.
434 (canon_rtx): Propogate the alias set to the new MEM.
435 (true_dependence): Check the alias sets.
436 (anti_dependence): Likewise.
437 (output_dependence): Likewise.
438 * explow.c (stabilize): Progoate alias sets.
439 * integrate.c (copy_rtx_and_substitute): Likewise.
440 * final.c (alter_subreg): Make sure not to leave MEM_IN_STRUCT_P
441 in an unpredictable state. Propogate alias sets.
442 * reload1.c (reload): Clear MEM_ALIAS_SET for new MEMs about which
443 we have no alias information.
444
9c606f69
AM
445Thu Jun 25 16:59:18 EDT 1998 Andrew MacLeod <amacleod@cygnus.com>
446
447 * except.h (CATCH_ALL_TYPE): Definition moved to eh-common.h.
448 (find_all_handler_type_matches): Add function prototype.
449 * eh-common.h (CATCH_ALL_TYPE): Definition added.
450 * except.c (find_all_handler_type_matches): Add function to find all
451 runtime type info in the exception table.
452 (output_exception_table_entry): Special case for CATCH_ALL_TYPE.
453
296b8152
KG
454Thu Jun 25 15:47:55 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
455
456 * Makefile.in (xcoffout.o): Depend on toplev.h, output.h and dbxout.h.
457
458 * config/fp-bit.c (_fpmul_parts): Move variables `x', `ylow',
459 `yhigh' and `bit' into the scope in which they are used.
460 (_fpdiv_parts): Remove unused variables `low', `high', `r0', `r1',
461 `y0', `y1', `q', `remainder', `carry', `d0' and `d1'.
462
463 * rs6000.c: Move include of output.h below tree.h. Include toplev.h.
464 (any_operand): Mark unused parameters `op' and `mode' with
465 ATTRIBUTE_UNUSED.
466 (count_register_operand): Likewise for parameter `mode'.
467 (fpmem_operand): Likewise.
468 (short_cint_operand): Likewise.
469 (u_short_cint_operand): Likewise.
470 (non_short_cint_operand): Likewise.
471 (got_operand): Likewise.
472 (got_no_const_operand): Likewise.
473 (non_add_cint_operand): Likewise.
474 (non_logical_cint_operand): Likewise.
475 (mask_operand): Likewise.
476 (current_file_function_operand): Likewise.
477 (small_data_operand): Likewise for parameters `op' and `mode' but
478 only when !TARGET_ELF.
479 (init_cumulative_args): Mark parameters `libname' with
480 ATTRIBUTE_UNUSED.
481 (function_arg_pass_by_reference): Likewise for parameters `cum',
482 `mode' and `named'.
483 (expand_builtin_saveregs): Likewise for parameter `args'.
484 (load_multiple_operation): Likewise for parameter `mode'.
485 (store_multiple_operation): Likewise.
486 (branch_comparison_operator): Likewise.
487 (secondary_reload_class): Likewise.
488 (print_operand): Add parentheses around & operation.
489 (output_prolog): Mark parameter `size' with ATTRIBUTE_UNUSED.
490 (output_epilog): Likewise. Cast argument to fprintf to int.
491 (rs6000_adjust_cost): Mark parameter `dep_insn' with ATTRIBUTE_UNUSED.
492 (rs6000_valid_decl_attribute_p): Likewise for parameters `decl',
493 `attributes', `identifier' and `args'.
494 (rs6000_valid_type_attribute_p): Likewise for parameter `attributes'.
495 (rs6000_comp_type_attributes): Likewise for parameters `type1' and
496 `type2'.
497 (rs6000_set_default_type_attributes): Likewise for parameter `type'.
498
499 * rs6000.h (RTX_COSTS): Add parentheses around & operation.
500 (toc_section, private_data_section, trap_comparison_operator): Add
501 prototypes.
502
503 * dbxout.h (dbxout_parms, dbxout_reg_parms, dbxout_syms): Add
504 prototypes.
505
506 * xcoffout.c: Include toplev.h, outout.h and dbxout.h.
507
508 * xcoffout.h (stab_to_sclass, xcoffout_begin_function,
509 xcoffout_begin_block, xcoffout_end_epilogue,
510 xcoffout_end_function, xcoffout_end_block,
511 xcoff_output_standard_types, xcoffout_declare_function,
512 xcoffout_source_line): Add prototypes.
513
ff73fb53
NC
514Thu Jun 25 09:54:55 1998 Nick Clifton <nickc@cygnus.com>
515
516 * config/arm/arm.h (REG_ALLOC_ORDER): Add ARG_POINTER_REGNUM,
517 noticed by grahams@rcp.co.uk.
518
ca242225
DB
519Thu Jun 25 11:12:29 1998 Dave Brolley <brolley@cygnus.com>
520
521 * gcc.c (default_compilers): Use new | syntax to eliminate
522 string concatenation.
523
acd92049
RH
524Thu Jun 25 01:00:48 1998 Richard Henderson <rth@cygnus.com>
525
526 * alpha.c (alpha_function_name): Delete.
527 (alpha_ra_ever_killed): Notice current_function_is_thunk.
528 (alpha_sa_mask, alpha_sa_size, alpha_does_function_need_gp): Likewise.
529 (alpha_start_function): Reorg from output_prologue.
530 (alpha_end_function): Reorg from output_epilogue.
531 * alpha.h (ASM_DECLARE_FUNCTION_NAME): Call alpha_start_function.
532 (ASM_DECLARE_FUNCTION_SIZE): New.
533 (FUNCTION_PROLOGUE, FUNCTION_EPILOGUE): Delete.
534 (PROFILE_BEFORE_PROLOGUE): Set.
535 (ASM_OUTPUT_MI_THUNK): Remove bits now output by start/end_function.
536 * alpha/win-nt.h (ASM_OUTPUT_MI_THUNK): Likewise.
537
dd014274
JL
538Thu Jun 25 01:18:47 1998 John Wehle (john@feith.com)
539
540 * i386/freebsd-elf.h (ASM_OUTPUT_MAX_SKIP_ALIGN): Define.
541
5421998-06-25 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
89752202
HB
543
544 * expr.c (expand_assignment): Rework address calculation for structure
545 field members to expose more invariant computations to the loop
546 optimizer.
547 (expand_expr): Likewise.
548
c358412f
JL
549Wed Jun 24 22:44:22 1998 Jeffrey A Law (law@cygnus.com)
550
551 * local-alloc.c (block_alloc): Do not try to avoid false dependencies
552 when SMALL_REGISTER_CLASSES is nonzero.
553
a59fb797
KK
554Wed Jun 24 17:55:15 1998 Klaus Kaempf <kkaempf@progis.de>
555
556 * alpha.md (call_vms, call_value_vms): Strip leading * from symbol.
557
55a6ba9f
JC
558Wed Jun 24 16:27:23 1998 John Carr <jfc@mit.edu>
559
560 * expr.c (get_memory_rtx): New function.
561 (expand_builtin): Call get_memory_rtx for MEM arguments to builtin
562 string functions.
563
564 * expmed.c (init_expmed): Initialize all elements of *_cost arrays.
565
9e6a5703
JC
566 * optabs.c: Use gen_rtx_FOO (...) instead of gen_rtx (FOO, ...).
567 * expr.c: Likewise.
568 * explow.c: Likewise.
569 * combine.c: Likewise.
570 * reload1.c: Likewise.
571 * gcse.c: Likewise.
572
135edcfd
DB
573Wed Jun 24 15:13:01 1998 Dave Brolley <brolley@cygnus.com>
574
575 * README.gnat: Add patch for new lang_decode_options interface.
576
9a9deafc
AM
577Wed Jun 24 09:14:04 EDT 1998 Andrew MacLeod <amacleod@cygnus.com>
578
579 * except.c (start_catch_handler): Do nothing if EH is not on.
580
854b2357
MH
5811998-06-24 Manfred Hollstein <manfred@s-direktnet.de>
582
583 * configure.in (gxx_include_dir): Initialize default value depending on
6d6393e3
MH
584 new flag --enable-version-specific-runtime-libs; remove superfluous
585 default initialization afterwards.
854b2357
MH
586 * configure: Regenerate.
587
d3b107b4
DM
588Wed Jun 24 01:32:12 1998 David S. Miller <davem@pierdol.cobaltmicro.com>
589
590 * toplev.c (rest_of_compilation): Revert May 15 change.
591
c22eaf8a
KR
592Tue Jun 23 21:27:27 1998 Ken Raeburn <raeburn@cygnus.com>
593
594 * reload.c (find_reloads): Fix check for failure to match any
595 alternative, to account for Mar 26 change in initial "best" cost.
596
d2f8cffa
DB
597Tue Jun 23 16:44:21 1998 Dave Brolley <brolley@cygnus.com>
598
599 * cpplib.c (do_line): Typo broke #line directive.
600 (cpp_message_from_errno): New function.
601 (cpp_error_from_errno): Call cpp_message_from_errno.
602 * cpplib.h (cpp_message_from_errno): New function.
603
48b24bcd
AM
604Tue Jun 23 13:38:18 EDT 1998 Andrew MacLeod <amacleod@cygnus.com>
605
606 * libgcc2.c (__get_eh_table_version, __get_eh_table_language): New
607 functions to return exception descriptor information.
608 (find_exception_handler): Pass match_info field to runtime matcher,
609 not a descriptor table entry.
610
daf21dfd
DL
611Tue Jun 23 09:30:58 1998 Dave Love <d.love@dl.ac.uk>
612
613 * cpp.texi, gcc.texi: Add @dircategory, @direntry meant to
614 accompany previous Makefile.in (install-info) change.
615
48b24bcd 616Tue Jun 23 10:06:07 EDT 1998 Andrew MacLeod <amacleod@cygnus.com>
5816cb14
AM
617
618 * eh-common.h (struct __eh_info): Remove coerced value field.
619 * libgcc2.c (find_exception_handler): Don't set coerced_value field.
620 * except.c (get_dynamic_handler_chain, get_dynamic_cleanup_chain): Use
621 POINTER_SIZE instead of Pmode.
622 (expand_start_all_catch): Call start_catch_handler() if we are not
623 using new style exceptions.
624
83de03df
CM
625Tue Jun 23 06:45:00 1998 Catherine Moore <clm@cygnus.com>
626
627 * varasm.c (assemble_variable): Remove reference to warn_bss_align.
628
5b8e7fa3
DM
629Mon Jun 22 23:57:31 1998 David S. Miller <davem@pierdol.cobaltmicro.com>
630
631 * config/sparc/sparc.md (zero_extendhidi2, extendhisi2,
632 extendqihi2, extendqisi2, extendqidi2, extendhidi2, adddi3,
633 subdi3, negdi2, call, call_value, untyped_return, nonlocal_goto,
634 splits and peepholes): Change remaining generic gen_rtx calls to
635 specific genrtl ones.
254110c2
DM
636 * config/sparc/sparc.c: Likewise.
637
9bf09437
RH
638Mon Jun 22 22:21:46 1998 Richard Henderson <rth@cygnus.com>
639
640 * gcc.c (handle_braces): Recognize | between options as an or.
641
e31ca113
JW
642Mon Jun 22 23:13:47 1998 John Wehle (john@feith.com)
643
2b005260
JW
644 * i386/freebsd-elf.h (JUMP_TABLES_IN_TEXT_SECTION): Define as flag_pic.
645 * i386/sysv4.h (JUMP_TABLES_IN_TEXT_SECTION): Define as flag_pic.
646
e31ca113
JW
647 * i386.md (exception_receiver): Define.
648
aeb2f500
JW
649Mon Jun 22 12:01:48 1998 Jim Wilson <wilson@cygnus.com>
650
225695a4
JW
651 * Makefile.in (PROTOIZE_INSTALL_NAME, UNPROTOIZE_INSTALL_NAME,
652 PROTOIZE_CROSS_NAME, UNPROTOIZE_CROSS_NAME): New variables.
653 (install-common): Use them.
654
aeb2f500
JW
655 * gcse.c (add_label_notes): New function.
656 (pre_insert_insn): Call it.
657 * unroll.c (unroll_loop): Look for insns with a REG_LABEL note, and
658 pass the label to set_label_in_map.
659
efef624b
DL
660Mon Jun 22 19:01:14 1998 Dave Love <d.love@dl.ac.uk>
661
662 * Makefile.in (install-info): Fix typpo in previous change.
663
4bcfa7a8
CM
664Mon Jun 22 11:10:00 1998 Catherine Moore <clm@cygnus.com>
665
666 * varasm.c (assemble_variable): Emit alignment warning.
667
296433e1
KG
668Mon Jun 22 08:18:46 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
669
670 * Makefile.in (varasm.o): Depend on sdbout.h.
671 (sdbout.o): Depend on toplev.h.
672
673 * collect2.c (scan_prog_file): Cast fprintf argument to `long' and
674 use %ld specifier.
675
676 * final.c (shorten_branches): Cast first arg of `bzero' to char *.
677
678 * genextract.c (main): When creating insn-extract.c, mark variable
679 `i' with ATTRIBUTE_UNUSED.
680
681 * genpeep.c (main): When creating insn-peep.c, mark variables
682 `insn', `x' and `pat' with ATTRIBUTE_UNUSED.
683
684 * objc/init.c (__objc_tree_print): Wrap function definition in
685 macro `DEBUG'.
686
687 * objc/objc-act.c (encode_array): Cast sprintf argument to `long'
688 and use %ld specifier.
689 (adorn_decl): Likewise, twice.
690
e016950d
KG
691 * reload1.c (reload_cse_regs): Cast first arg of `bzero' to char *.
692
693 * sdbout.c: Include output.h and toplev.h.
694 (PUT_SDB_INT_VAL): Use HOST_WIDE_INT_PRINT_DEV to print argument
695 `a'. Cast `a' to HOST_WIDE_INT to force it to always be so.
696 (PUT_SDB_SIZE): Likewise.
697
698 * sdbout.h (sdbout_mark_begin_function): Add prototype.
699
700 * stmt.c (check_for_full_enumeration_handling): Cast argument of
701 `warning' to long and use %ld specifier.
702
703 * toplev.c (main): Likewise for `fprintf'.
704
705 * toplev.h (output_file_directive): Add prototype.
706
707 * unroll.c (unroll_loop): Use HOST_WIDE_INT_PRINT_DEC specifier in
708 call to `fprintf'.
709 (precondition_loop_p): Likewise.
710
711 * varasm.c Include sdbout.h.
712 (assemble_static_space): Move sometimes-unused variable `rounded'
713 into the scope in which it is used.
b3fb0b5e
KG
714
715 * mips.c (gpr_mode): Don't say `static' twice.
716
717 * cpplib.c (cpp_handle_option): Don't pass unneeded NULL to cpp_fatal.
718
719 * objc/objc-act.c (init_selector): Hide prototype and definition.
720
721 * optabs.c (gen_cond_trap): Remove unused variable `icode'.
722
723 * regmove.c (copy_src_to_dest): Likewise for `i'.
e016950d 724
cd1661d6
KG
725 * mips-tfile.c (add_local_symbol): Cast width format specifier to int.
726 (add_ext_symbol): Likewise.
727 (add_file): Likewise.
728 (parse_def): Likewise.
729 (write_varray): Use HOST_PTR_PRINTF to print a pointer. Fix
730 remaining format specifiers and arguments.
731 (write_object): Likewise, several times.
732 (read_seek): Likewise.
733 (out_of_bounds): Likewise.
734 (allocate_cluster): Likewise.
735 (xmalloc): Likewise.
736 (xcalloc): Likewise.
737 (xrealloc): Likewise.
738 (xfree): Likewise.
739
740 * mips-tdump.c (print_symbol): Likewise.
741
824d9076
DL
742Sun Jun 21 17:05:34 1998 Dave Love <d.love@dl.ac.uk>
743
744 * Makefile.in (install-info): Use install-info program if
745 available, per GNU standard.
746
9a8b0889
JL
747Sun Jun 21 18:56:44 1998 Jeffrey A Law (law@cygnus.com)
748
ecff22ab
JL
749 * invoke.texi: Document -mrelax for the mn10300 and mn10200.
750
04821e98
JL
751 * basic-block.h (init_regset_vector): Delete declaration.
752 * flow.c (init_regset_vector): Make it static and add a prototype.
753
4d7fc9e7
JL
754 * bitmap.h (debug_bitmap): Declare.
755
9a8b0889
JL
756 * haifa-sched.c (debug_ready_list): Make static.
757
758 * toplev.h (fancy_abort): Declare.
759
27fa83c1
L
760Sun Jun 21 18:30:13 1998 H.J. Lu (hjl@gnu.org)
761
4d7fc9e7
JL
762 * basic-block.h (init_regset_vector): New declaration.
763
2086b675
L
764 * Makefile.in (sdbout.o): Add insn-codes.h to dependency.
765
f6781658
L
766 * global.c: Include machmode.h amd move hard-reg-set.h before
767 rtl.h.
768
cc4fe0e2
L
769 * haifa-sched.c (insn_issue_delay, birthing_insn_p,
770 adjust_priority, print_insn_chaino): New declaration.
771 (schedule_insns): Remove declaration.
772 (init_target_units, get_visual_tbl_length,
773 init_block_visualization): Add prototype.
774
8a1ef8c9
L
775 * integrate.c (pushdecl, poplevel): Remove declaration.
776
9a8b0889
JL
777 * rtl.h (expand_expr): Remove declaration.
778
27fa83c1
L
779 * loop.c (oballoc): Remove declaration.
780 (replace_call_address): Add prototype.
781
e4ad60fe
JL
782Sun Jun 21 01:08:17 PDT 1998 Jeff Law (law@cygnus.com)
783
784 * version.c: Bump for snapshot.
785
c0067dc8
JW
786Sun Jun 21 01:16:38 1998 John Wehle (john@feith.com)
787
788 * i386.c (output_fp_conditional_move): Don't bother handling
789 (cc_prev_status.flags && CC_NO_OVERFLOW) since the INSN patterns
790 prevent this from happening.
791
792 * i386.md (nonlocal_goto_receiver): Delete.
793
a24da858
L
794Sun Jun 21 00:42:20 1998 H.J. Lu (hjl@gnu.org)
795
1442f4eb
L
796 * Makefile.in (crtbeginS.o, crtendS.o): Add -fno-exceptions and
797 -DCRTSTUFFS_O.
798 (INSTALL): cd $(srcdir) before make.
799
a24da858
L
800 * flow.c (allocate_for_life_analysis, init_regset_vector):
801 Remove declaration.
802
803 * function.h (get_first_block_beg): New declaration.
804
805 * gbl-ctors.h (__do_global_dtors): Add prototype.
806
807 * gcov-io.h (__fetch_long): New declaration.
808 (__store_long): Likewise.
809 (__read_long): Likewise.
810 (__write_long): Likewise.
811
812 * gcov.c (print_usage): New declaration.
813
814 * Makefile.in (c-iterate.o): Depend on insn-codes.h too.
815
4ef873c2
JL
816Sat Jun 20 00:36:16 1998 Jeffrey A Law (law@cygnus.com)
817
c16ddde3
JL
818 * calls.c (expand_call): Initialize "src" and "dest".
819 * stmt.c (expand_return): Likewise.
820 * expmed.c (extract_split_bit_field): Similarly for "result"
821 * gcse.c (compute_hash_table): Mark first arg as unused.
822 * jump.c (jump_optimize): Initialize reversep.
823 * tree.c (make_node): Initialize length.
824
f67aab2c
JL
825 * c-common.c (check_format_info): Initialize length_char and
826 fci to keep -Wall quiet.
827
767f5b14
JL
828 * except.c (jumpif_rtx): Put declaration and definition
829 inside a suitable #ifdef.
830 (jumpifnot_rtx): Delete dead function.
831
5a77b5f3
JL
832 * i386.h (output_int_conditional_move): Declare.
833 (output_fp_conditional_move): Likewise.
2305ac0d 834 (ix86_can_use_return_insn_p): Likewise.
5a77b5f3 835
4ef873c2
JL
836 * optabs.c (init_traps): Put prototype inside a suitable #ifdef.
837
2e107e9e
GS
838Sat Jun 20 00:27:40 1998 Graham <grahams@rcp.co.uk>
839
840 * alias.c: Include toplev.h
841 * caller-save.c: Include toplev.h
842 * combine.c: Include toplev.h
843 * flow.c Include toplev.h
844 * global.c: Include toplev.h
845 * jump.c: Include toplev.h
846 * local-alloc.c: Include toplev.h
847 * loop.c: Include toplev.h
848 * regmove.c: Include toplev.h
849 * stupid.c: Include toplev.h
850 * unroll.c: Include toplev.h
851 * Makefile.in: Add toplev.h dependencies.
852
29a4c5ed
JM
853Fri Jun 19 22:40:25 1998 Jason Merrill <jason@yorick.cygnus.com>
854
855 * regmove.c (copy_src_to_dest): Add decl for loop_depth.
32bd96ff
JM
856
857 * svr4.h (ASM_GENERATE_INTERNAL_LABEL): Cast arg to unsigned.
858 * dwarf2out.c (ASM_OUTPUT_DWARF_DATA1): Likewise.
859 Add parens to various macros.
860
9dfcc8db
BH
861Fri Jun 19 23:22:42 1998 Bruno Haible <bruno@linuix.mathematik.uni-karlsruhe.de>
862
863 * c-typeck.c (pop_init_level): Warn about implicit zero initialization
864 of struct members.
865
ee830309
JM
866Fri Jun 19 23:06:33 1998 Jason Merrill <jason@yorick.cygnus.com>
867
868 * varasm.c (assemble_start_function): Add weak_global_object_name.
869 * tree.c (get_file_function_name): Use it.
870
2c975716
JL
871Fri Jun 19 22:55:14 1998 Jeffrey A Law (law@cygnus.com)
872
561592c5
JL
873 * except.c (jumpif_rtx): Make static and add prototype.
874 (jumpifnot_rtx): Likewise.
875
90bf9bc4
JL
876 * README.gnat: Add a build patch from Fred Fish.
877
2c975716
JL
878 * c-lang.c (GNU_xref_begin, GNU_xref_end): Deleted.
879
3ca4021d
JL
880 * Makefile.in (c-iterate.o): Depend on expr.h.
881
3559eb28
L
882Fri Jun 19 20:38:34 1998 H.J. Lu (hjl@gnu.org)
883
19864289
L
884 * except.h (emit_unwinder, end_eh_unwinder): Removed.
885
90bf9bc4
JL
886 * dwarfout.c (getpwd): Add prototype.
887 (is_pseudo_reg, type_main_variant, is_tagged_type,
888 is_redundant_typedef): New declaration.
889 (output_decl): Add prototype for FUNC.
890 (type_main_variant): Make it static.
891 (is_tagged_type): Likewise.
892 (is_redundant_typedef): Likewise.
893
0d091530
L
894 * expr.c (do_jump_by_parts_greater_rtx): Removed.
895 (truthvalue_conversion): Likewise.
896
3ca4021d
JL
897 * c-iterate.c: Include "expr.h".
898 (expand_expr): Use proper values when calling the function.
899
0ddc9a94
L
900 * explow.c (emit_stack_save): Add prototype for FCN.
901 (emit_stack_restore): Likewise.
902
e179bf0f
L
903 * dwarf2out.c (getpwd): Add prototype.
904
79a2acc8
L
905 * dwarf2out.h (debug_dwarf, debug_dwarf_die): New declarations.
906
f5a8bfff 907 * c-typeck.c (c_expand_asm_operands): Use proper values when calling
79a2acc8 908 expand_expr.
f5a8bfff 909
3ab6dd7c
L
910 * c-lex.c (yyprint): Add prototype.
911 (check_newline, build_objc_string): Remove declaration.
912
0bb0a00b
L
913 * c-tree.h (comptypes_record_hook): Removed.
914 (finish_incomplete_decl): New prototype.
915
960b4ee6
L
916 * alias.c (find_base_value): Add prototype.
917 (true_dependence): Add prototype for function argument.
918
3559eb28
L
919 * c-aux-info.c (xmalloc): Remove declaration.
920
bb5177ac
RL
921Fri Jun 19 20:23:05 1998 Robert Lipe <robertl@dgii.com>
922
923 * i386.c: Include system.h. Remove redundant includes.
924 (optimization_options): Mark param 'size' with ATTRIBUTE_UNUSED.
925 (i386_cc_probably_useless_p): Likewise for 'decl', 'attributes',
926 'identifier', 'args'.
927 (i386_valid_type_attribute_p): Likewise for 'attributes'.
928 (i386_comp_type_attribute_p): Likewise for 'type1', 'type2'.
929 (function_arg_partial_nregs): Likewise for 'cum', 'mode', 'type',
930 and 'named'.
931 (symbolic_operand): Likewise for 'mode'.
932 (call_insn_operand): Likewise.
933 (expander_call_insn_operand): Likewise.
934 (ix86_logical_operator): Likewise.
935 (ix86_binary_operator_ok): Likewise.
936 (emit_pic_move): Likewise.
937 (VOIDmode_compare_op): Likewise.
938 (is_mul): Likewise.
939 (str_immediate_operand): Likewise.
940 (ix86_uary_operator_ok): Likewise for 'code', 'mode', and 'operands'.yy
941 (asm_output_function_prefix): Likewise for 'name'.
942 (function_prologue): Likewise for 'file', and 'size'.
943 (function_epilogue): Likewise.
944
7e7ca3a1
JW
9451998-06-19 Jim Wilson <wilson@cygnus.com>
946
947 * loop.h (struct induction): Clarify comment for unrolled field.
948 * unroll.c (find_splittable_givs): Move set of unrolled field
949 after address validity check.
950
c0418205
MM
951Fri Jun 19 18:38:04 1998 Michael Meissner <meissner@cygnus.com>
952
953 * config/fp-bit.c (INLINE): Only define if not already defined.
954
fe2fa3c4
MH
9551998-06-19 Manfred Hollstein <manfred@s-direktnet.de>
956
957 * Makefile.in (installdirs): Loop over directories in $(libsubdir)
958 creating probably missing ones, instead of single if statements.
959
f0b8d9aa
AS
960Fri Jun 19 10:43:52 1998 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
961
962 * c-common.c (truthvalue_conversion): Protect side effects in the
963 expression when splitting a complex value.
964 * fold-const.c (fold): Likewise.
965
94fb3933
KK
966Fri Jun 19 02:31:16 1998 Klaus Kaempf (kkaempf@progis.de)
967
968 * cccp.c (hack_vms_include_specification): rewrite to handle
969 '#include <dir/file.h>' correctly.
970
de3eb7b7
L
971Fri Jun 19 02:24:11 1998 H.J. Lu (hjl@gnu.org)
972
973 * config/i386/linux.h (ASM_OUTPUT_MAX_SKIP_ALIGN): Defined.
974
b4d030e5
JW
975Fri Jun 19 02:10:10 1998 John Wehle (john@feith.com)
976
9c8c5afb
JW
977 * i386.c (notice_update_cc): Integer conditional moves don't
978 affect cc0.
979
b4d030e5
JW
980 * i386.md (movsfcc, movdfcc, movxfcc): Use emit_store_flag
981 to support LT, LE, GE, and GT signed integer comparisons.
982 (movsfcc+1, movsfcc+2, movdfcc+1, movdfcc+2,
983 movxfcc+1, movxfcc+2): Pattern doesn't match if the comparison
984 is LT, LE, GE, or GT.
985 (movdicc): Remove code resulting from an earlier patch which
986 didn't apply correctly.
987
bb173ade
RK
988Fri Jun 19 02:00:19 1998 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
989
990 * reload1.c (reload_cse_regno_equal_p): If -ffloat-store, don't
991 consider a MEM in FP mode as equal.
992
11346e89
JL
993Fri Jun 19 01:02:17 1998 Jeffrey A Law (law@cygnus.com)
994
995 * c-decl.c (duplicate_decls): Avoid setting TREE_ASM_WRITTEN for
996 duplicate declarations of a function.
997
76a8de12
L
998Fri Jun 19 00:33:33 1998 H.J. Lu (hjl@gnu.org)
999
1000 * config/float-i386.h: New.
1001
1002 * configure.in (i[34567]86-*-linux-*): Set float_format to i386.
1003
7c74b010
JW
1004Thu Jun 18 20:11:00 1998 Jim Wilson <wilson@cygnus.com>
1005
1006 * sched.c (schedule_insns): Use xmalloc not alloca for max_uid
1007 indexed arrays. Call free at the end of the function for them.
1008 * haifa-sched.c (schedule_insns): Likewise.
1009
243e7835
JW
1010Thu Jun 18 18:16:01 1998 Jim Wilson <wilson@cygnus.com>
1011
1012 * dwarf2out.c (size_of_string): Do count backslashes.
1013
bf3ad139
NC
1014Thu Jun 18 11:43:54 1998 Nick Clifton <nickc@cygnus.com>
1015
1016 * config/arm/thumb.h (GO_IF_LEGITIMATE_ADDRESS): Disallow REG+REG
1017 addressing when one register is the frame pointer or stack
1018 pointer. Disallow REG+CONST addressing in HI mode.
1019
f9df0a1d
R
1020Thu Jun 18 17:30:39 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
1021
1022 * reload.c (find_reloads): Don't narrow scope of RELOAD_OTHER to
1023 RELOAD_FOR_INSN.
1024
cab634f2
KG
1025Thu Jun 18 09:36:50 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1026
1027 * Makefile.in (c-lang.o): Depend on output.h.
1028
1029 * c-lang.c: Include output.h.
1030
1031 * sparc.c (sparc_builtin_saveregs): Remove unused variable `fntype'.
1032
1033 * except.c (expand_builtin_eh_stub): Likewise for variable `jump_to'.
1034
1035 * genrecog.c (write_subroutine): When writing insn-recog.c, mark
1036 variables `insn', `pnum_clobbers', `x[0 .. max_depth]' and `tem'
1037 with ATTRIBUTE_UNUSED.
1038
1039 * regmove.c (copy_src_to_dest): Make function static to match its
1040 prototype.
1041
1042 * reload1.c Include hard-reg-set.h before rtl.h to get macro
1043 HARD_CONST. Include machmode.h before hard-reg-set.h.
1044
1045 * rtl.h: Prototype `retry_global_alloc' and wrap with macro
1046 HARD_CONST to protect usage of typedef HARD_REG_SET.
1047
1048 * tree.c: Prototype `_obstack_allocated_p'.
1049
1050 * varasm.c: Wrap prototype of `asm_output_aligned_bss' in macro
1051 BSS_SECTION_ASM_OP.
1052
0b17dd98
KG
1053Thu Jun 18 09:20:47 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1054
1055 * pa.c: Include system.h and toplev.h. Remove redundant code.
1056 (call_operand_address): Mark parameter `mode' with ATTRIBUTE_UNUSED.
1057 (symbolic_operand): Likewise.
1058 (symbolic_memory_operand): Likewise.
1059 (pic_label_operand): Likewise.
1060 (fp_reg_operand): Likewise.
1061 (pre_cint_operand): Likewise.
1062 (post_cint_operand): Likewise.
1063 (ireg_or_int5_operand): Likewise.
1064 (int5_operand): Likewise.
1065 (uint5_operand): Likewise.
1066 (int11_operand): Likewise.
1067 (uint32_operand): Likewise.
1068 (ior_operand): Likewise.
1069 (lhs_lshift_cint_operand): Likewise.
1070 (pc_or_label_operand): Likewise.
1071 (legitimize_pic_address): Likewise.
1072 (hppa_legitimize_address): Likewise for parameter `old'.
1073 (output_block_move): Likewise for parameter `size_is_constant'.
1074 (output_function_prologue): Likewise for parameter `size'.
1075 (output_function_epilogue): Likewise.
1076 (return_addr_rtx): Likewise for parameter `count'.
1077 (output_mul_insn): Likewise for parameter `unsignedp'.
1078 (hppa_builtin_saveregs): Likewise for parameter `arglist'.
1079 (output_bb): Likewise for parameter `operands'.
1080 (output_bvb): Likewise.
1081 (function_label_operand): Likewise for parameter `mode'.
1082 (plus_xor_ior_operator): Likewise.
1083 (shadd_operand): Likewise.
1084 (non_hard_reg_operand): Likewise.
1085 (eq_neq_comparison_operator): Likewise.
1086 (movb_comparison_operator): Likewise.
1087 (pa_combine_instructions): Likewise for parameter `insns'.
1088
1089 * pa.h: Add prototypes for functions `output_deferred_plabels',
1090 `override_options', `output_ascii', `output_function_prologue',
1091 `output_function_epilogue', `print_operand',
1092 `symbolic_expression_p', `reloc_needed', `compute_frame_size',
1093 `hppa_address_cost', `and_mask_p', `symbolic_memory_operand',
1094 `pa_adjust_cost', `pa_adjust_insn_length' and
1095 `secondary_reload_class'.
1096
ca8c3b37
JM
1097Wed Jun 17 22:28:48 1998 Jason Merrill <jason@yorick.cygnus.com>
1098
1099 * configure.in: Don't turn on collect2 unconditionally.
1100
1d22a2c1
MM
1101Wed Jun 17 20:20:48 1998 Mark Mitchell <mark@markmitchell.com>
1102
1103 * cse.c (cse_basic_block): Don't include NOTE insns in the count
1104 that is used to decide whether or not it is time to erase the
1105 equivalence table.
1106
b74390de
FS
1107Wed Jun 17 18:30:43 1998 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
1108
1109 * rs6000/linux.h (JUMP_TABLES_IN_TEXT_SECTION): Define to zero.
1110
e0cd0770
JC
1111Wed Jun 17 19:05:03 1998 John Carr <jfc@mit.edu>
1112
1113 * haifa-sched.c (haifa_classify_insn): TRAP_IF is risky.
1114 (sched_analyze_2): Allow scheduling TRAP_IF.
1115
1116 * reorg.c (mark_referenced_resources): Examine operands of TRAP_IF.
1117
1118 * rtl.h (TRAP_CODE): New macro.
1119
1120 * rtl.def (TRAP_IF): Change second operand type to rtx.
1121
1122 * optabs.c (gen_cond_trap): New function.
1123 (init_traps): New function.
1124 (init_optabs): Call init_traps.
1125 * expr.h: Declare gen_cond_trap.
1126
1127 * jump.c (jump_optimize): Optimize jumps to and around traps.
1128
1129 * sparc.md: Define trap instructions.
1130
1131 * rs6000.md: Define trap instructions.
1132 * rs6000.c (print_operand): New code 'V' for trap condition.
1133 (trap_comparison_operator): New function.
1134
1135 * m88k.md: Update use of TRAP_IF.
1136
1137 * tree.h (enum built_in_function): New function code BUILT_IN_TRAP.
1138 * c-decl.c (init_decl_processing): New builtin __builtin_trap.
1139 * expr.c (expand_builtin): Handle BUILT_IN_TRAP.
1140
1141 * expr.c (expand_builtin): Error if __builtin_longjmp second argument
1142 is not 1.
1143
4fdf79cb
CM
1144Wed Jun 17 15:20:00 PDT 1998 Catherine Moore <clm@cygnus.com>
1145
1146 * reload1.c (spill_hard_reg): Check mode of register when
1147 spilling from scratch_list.
1148
d7e78529
AM
1149Wed Jun 17 16:25:38 EDT 1998 Andrew MacLeod (amacleod@cygnus.com)
1150
1151 * except.c (add_new_handler): fix bug in finding last region handler.
1152 * libgcc2.c (find_exception_handler): Pass exception table pointer
1153 to runtime type matcher, not the match info field.
1154
3301dc51
AM
1155Wed Jun 17 15:57:48 EDT 1998 Andrew MacLeod (amacleod@cygnus.com)
1156
1157 * eh-common.h (struct eh_context): Add comment for hidden use of
1158 field dynamic_handler_chain.
1159 * except.c (get_dynamic_handler_chain): Comment on, and use the
1160 correct offset of the dynamic_handler_chain field.
1161
33f264af
JW
11621998-06-17 12:46:56 1998 Jim Wilson <wilson@cygnus.com>
1163
1164 * mips/iris6.h (LINK_SPEC): Add -woff 131.
1165
d460fb3c
JM
11661998-06-17 Jason Merrill <jason@yorick.cygnus.com>
1167
1168 * dwarf2out.c: Disable EH_FRAME_SECTION if we don't have .init.
1169
1170 * configure.in: Don't disable collect2 when we have GNU ld.
1171
4c738570
JL
1172Wed Jun 17 08:38:13 1998 Jeffrey A Law (law@cygnus.com)
1173
7d12cee1
JL
1174 * fold-const.c (make_range): Do not widen the type of the expression.
1175
dbecbbe4
JL
1176 * expr.c (check_max_integer_computation_mode): New function.
1177 (expand_expr): Avoid integer computations in modes wider than
1178 MAX_INTEGER_COMPUTATION_MODE.
1179 * fold-const.c (fold): Likewise.
1180 * tree.h (check_max_integer_computation_mode): Declare.
1181 * tm.texi (MAX_INTEGER_COMPUTATION_MODE): Document it.
1182
4b95eb49
JL
1183 * configure.in (nm): Make a link to "nm" in the build tree too.
1184
4c738570
JL
1185 * mn10300.md (andsi3): Fix typo.
1186
33ab8de0
RH
1187Tue Jun 16 22:58:40 1998 Richard Henderson <rth@cygnus.com>
1188
1189 * reload1.c (reload_cse_regs): Call bzero instead of looping.
1190
bf20f341
JW
1191Tue Jun 16 18:30:35 1998 Jim Wilson <wilson@cygnus.com>
1192
1193 * dwarf2out.c (stripattributes): Prepend '*' to the section name.
1194
9c0e94a5
RH
1195Tue Jun 16 16:49:26 1998 Richard Henderson <rth@cygnus.com>
1196
1197 * alpha.c (alpha_expand_prologue, alpha_expand_epilogue): New fns.
1198 (output_prologue, output_epilogue): Merge VMS and OSF versions;
1199 Remove anything related to the actual code generation.
1200 (output_end_prologue): New function.
1201 (alpha_sa_mask, alpha_sa_size): Merge VMS and OSF versions.
1202 (alpha_does_function_need_gp): Return false for VMS.
1203 (alpha_function_needs_gp): Make static.
1204 (add_long_const): Delete.
1205 (summarize_insn): Don't assume a SUBREG is of a REG.
1206 Prototype all static functions. Rename VMS-specific global
1207 variables vms_*.
1208 * alpha.h (TARGET_CAN_FAULT_IN_PROLOGUE): Default to 0.
1209 (FUNCTION_BOUNDARY): Align to cache line.
1210 (LOOP_ALIGN, ALIGN_LABEL_AFTER_BARRIER): Align to octaword.
1211 (FUNCTION_END_PROLOGUE): New macro.
1212 * alpha.md (attribute length): New. Mark all insns.
1213 (return_internal, prologue_stack_probe_loop) New patterns.
1214 (prologue, init_fp, epilogue): New patterns.
1215 Disable peepholes.
1216 * linux.h (TARGET_CAN_FAULT_IN_PROLOGUE): Define.
1217
ad1da1de
DB
1218Tue Jun 16 17:36:35 1998 Dave Brolley <brolley@cygnus.com>
1219
1220 * toplev.c (lang_options): Add -trigraphs option for cpplib.
1221
75528b80
R
1222Tue Jun 16 23:33:24 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
1223
1224 * reload1.c (reload_reg_free_before_p): RELOAD_FOR_OUTADDR_ADDRESS
1225 is earlier than RELOAD_FOR_OUTPUT_ADDRESS; RELOAD_FOR_INPADDR_ADDRESS
1226 is earlier than RELOAD_FOR_INPUT_ADDRESS.
1227
42b82dd3
JW
1228Tue Jun 16 13:15:16 1998 Jim Wilson <wilson@cygnus.com>
1229
1230 * libgcc1-test.c (memcpy): Define.
1231
6f6074ea
MM
1232Tue Jun 16 13:44:02 1998 Michael Meissner <meissner@cygnus.com>
1233
1234 * genattrtab.c (struct attr_desc): Change int flags to bit
1235 fields. Add bit fields for this being function_units_used
1236 or *_blockage_range attributes.
1237 (write_unit_name): New function to print a function unit name
1238 given unit #.
1239 (expand_units): Indicate whether this is function_units_used or
1240 *_blockage_range attributes.
1241 (write_toplevel_expr): Print function_units_used and
1242 *_blockage_range attributes in a more friendly fashion.
1243 (make_internal_attr): Indicate whether this attribute is either
1244 function_units_used or *_blockage_range.
1245
ddc8bed2
MM
1246Mon Jun 15 17:06:43 1998 Michael Meissner <meissner@cygnus.com>
1247 Jim Wilson <wilson@cygnus.com>
3bd89472 1248
ddc8bed2
MM
1249 * regmove.c (copy_src_to_dest): Do not copy src to dest if either
1250 the source or destination is special.
3bd89472 1251
ddc8bed2 1252Mon Jun 15 13:20:33 1998 Jim Wilson <wilson@cygnus.com>
a7db2896 1253
ddc8bed2 1254 * c-decl.c (shadow_tag_warned): Use specs not declspecs in for loop.
a7db2896 1255
d61d494a
JL
1256Mon Jun 15 07:16:29 PDT 1998 Jeff Law (law@cygnus.com)
1257
1258 * version.c: Bump for snapshot.
1259
a08432bd
KW
1260Sat Jun 13 13:10:40 1998 Krister Walfridsson <cato@df.lth.se>
1261
1262 * config/sparc/netbsd.h (DEFAULT_PCC_STRUCT_RETURN): Undefine before
1263 redefining it.
1264
a4ea8d97
DE
1265Fri Jun 12 18:06:45 1998 Doug Evans <devans@egcs.cygnus.com>
1266
1267 * m32r/m32r.h (STARTFILE_SPEC): Delete crtsysc.o.
416db271 1268 (ENDFILE_SPEC): Add -lgloss.
a4ea8d97 1269
38831dfe
KG
1270Fri Jun 12 14:57:59 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1271
1272 * mips.c (small_int): Mark parameter `mode' with ATTRIBUTE_UNUSED.
1273 (large_int): Likewise.
1274 (pc_or_label_operand): Likewise.
1275 (call_insn_operand): Likewise.
1276 (consttable_operand): Likewise.
1277 (m16_uimm3_b): Likewise.
1278 (m16_simm4_1): Likewise.
1279 (m16_nsimm4_1): Likewise.
1280 (m16_simm5_1): Likewise.
1281 (m16_nsimm5_1): Likewise.
1282 (m16_uimm5_4): Likewise.
1283 (m16_nuimm5_4): Likewise.
1284 (m16_simm8_1): Likewise.
1285 (m16_nsimm8_1): Likewise.
1286 (m16_uimm8_1): Likewise.
1287 (m16_nuimm8_1): Likewise.
1288 (m16_uimm8_m1_1): Likewise.
1289 (m16_uimm8_4): Likewise.
1290 (m16_nuimm8_4): Likewise.
1291 (m16_simm8_8): Likewise.
1292 (m16_nsimm8_8): Likewise.
1293 (m16_usym8_4): Likewise.
1294 (m16_usym5_4): Likewise.
1295 (mips_move_1word): Change type of variable `i' from int to size_t.
1296 (mips_move_2words): Likewise.
1297 (output_block_move): Mark parameter `libname' with ATTRIBUTE_UNUSED.
1298 (function_arg_advance): Use HOST_PTR_PRINTF to print an address.
1299 (function_arg): Likewise.
1300 (function_arg_partial_nregs): Mark parameter `named' with
1301 ATTRIBUTE_UNUSED.
1302 (override_options): Use ISDIGIT instead of isdigit.
1303 (mips_output_external): Mark parameter `file' with ATTRIBUTE_UNUSED.
1304 (final_prescan_insn): Likewise for parameters `opvec' and `noperands'.
1305 (save_restore_insns): Cast HOST_WIDE_INT arguments passed to
1306 function `fatal' to long before printing. Use
1307 HOST_WIDE_INT_PRINT_DEC in fprintf. Both changes done several
1308 times in this function.
1309 (function_prologue): Mark parameter `size' with ATTRIBUTE_UNUSED.
1310 (function_epilogue): Likewise for parameters `file' and `size'.
1311 Print an int with "%d" not "%ld".
1312 (mips_select_rtx_section): Mark parameter `x' with ATTRIBUTE_UNUSED.
1313 (mips_function_value): Likewise for parameter `func'.
1314 (function_arg_pass_by_reference): Likewise for parameters `cum'
1315 and `named'.
1316 (extend_operator): Likewise for parameter `mode'
1317 (highpart_shift_operator): Likewise.
1318
1319 * mips.md (mul_acc_si): Remove unused variable `macc'.
1320
77a45a2e
RH
1321Fri Jun 12 09:33:44 1998 Richard Henderson <rth@cygnus.com>
1322
1323 * fold-const.c (fold): Revert last change. It breaks constant
1324 expressions somehow.
1325
8d62b411
AS
1326Fri Jun 12 10:23:36 1998 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1327
1328 * expr.c (do_jump, case EQ_EXPR, NE_EXPR): When comparing complex
1329 prevent operands from being evaluated twice.
1330
cac45626
SO
1331Fri Jun 12 00:50:27 1998 Sergey Okhapkin <sos@prospect.com.ru>
1332
1333 * toplev.c (lang_options): Add -remap as a preprocessor option.
1334
9bc6d2c2
JW
1335Fri Jun 12 00:30:32 1998 John Wehle (john@feith.com)
1336
1337 * i386.md (cmpsi_1, cmphi_1, cmpqi_1): Remove code
1338 which set CC_REVERSED since reload should ensure that
1339 the operands are already the correct type.
1340
fb95c8c9
JW
1341Thu Jun 11 17:14:15 1998 Jim Wilson <wilson@cygnus.com>
1342
1343 * except.c (expand_builtin_eh_stub): Call emit_move_insn rather than
1344 calling gen_rtx_SET.
1345
95009288
DE
1346Thu Jun 11 18:45:49 1998 David Edelsohn <edelsohn@mhpcc.edu>
1347
1348 * config/rs6000/x-aix43 (AR): Delete.
1349 (AR_FOR_TARGET_FLAGS): Add -X32_64 here.
1350
bf6f78d1
DS
1351Thu Jun 11 16:19:17 1998 David W. Schuler <schuld@btv.ibm.com>
1352
1353 * config/i386/aix386ng.h (CPP_SPEC): Remove extraneous quote.
1354
45cc4c09
JW
1355Thu Jun 11 12:40:27 1998 Jim Wilson <wilson@cygnus.com>
1356
1357 * mips.c (override_options): Replace word_mode with explicit
1358 TARGET_64BIT check.
1359
ecb75b7a
MM
1360Thu Jun 11 14:50:02 1998 Michael Meissner <meissner@cygnus.com>
1361
1362 * regmove.c (regmove_optimize): If we can't replace the
1363 destination in an insn that sets the source, generate an explicit
1364 move of the source to the destination.
1365 (copy_src_to_dest): New function.
1366 (toplevel): Include basic-block.h
1367
1368 * Makefile.in (regmove.o): Add basic-block.h dependencies.
1369
8e34149d
DB
1370Thu Jun 11 10:30:09 1998 Dave Brolley <brolley@cygnus.com>
1371
1372 * toplev.c (lang_options): Add missing options (nostdinc, idirafter).
1373
8358a974
MM
1374Wed Jun 10 23:39:32 1998 Mark Mitchell <mark@markmitchell.com>
1375
1376 * rtl.h (rtx_def): Improve documentation.
1377 (MEM_IN_STRUCT_P): Likewise.
1378
e80716de
GS
1379Wed Jun 10 23:23:17 1998 Graham <grahams@rcp.co.uk>
1380
1381 * c-decl.c (start_decl): Correct test for -Wmain.
1382
b3fbc9ad
GS
1383 * c-decl.c (grokdeclarator): Remove unused variable "last".
1384
3e2b9a3d
JW
1385Wed Jun 10 14:52:27 1998 Jim Wilson <wilson@cygnus.com>
1386
1387 * expr.c (expand_builtin_setjmp): Store const1_rtx in target.
1388 (expand_builtin_longjmp): Abort if value isn't const1_rtx.
1389 Delete code storing value in static_chain_rtx.
1390 (expand_builtin, case BUILT_IN_LONGJMP): Pass NULL_RTX for target
1391 to second expand_expr call.
1392
748b909e
MM
1393Wed Jun 10 13:08:41 1998 Mark Mitchell <mark@markmitchell.com>
1394
1395 * mips/mips.c: Remove -mabi=o32 and -mabi=n64.
1396
e061d1ce
DB
1397Wed Jun 10 13:41:23 1998 Dave Brolley <brolley@cygnus.com>
1398
1399 * cppmain.c (fatal): New function.
1400 * configure.in (cpp_main): New configuration variable.
1401 * configure: Regenerated.
e80716de
GS
1402 * Makefile.in (CCCP): Use a configuration variable to select basex
1403 for cccp.
e061d1ce
DB
1404 (cppmain$(exeext)): Add @extra_cpp_objs@.
1405
a0d85b75
DB
1406Wed Jun 10 13:07:02 1998 Dave Brolley <brolley@cygnus.com>
1407
1408 * objc/objc-act.c: Add cpplib declarations.
1409 (lang_decode_option): Initialize cpplib if necessary.
1410 (lang_decode_option): New argc/argv interface.
1411 * tree.h (lang_decode_option): New argc/argv interface.
1412 * toplev.c (lang_options): Add cpp options.
1413 (main): New interface for lang_decode_option.
1414 * gcc.c (default_compilers): Don't call cpp for a cpplib-enabled C compiler
1415 unless -E, -M or -MM is specified.
1416 * cpplib.h (cpp_handle_option): New function.
1417 * cpplib.c (cpp_handle_option): New function.
1418 (cpp_handle_options): Now calls cpp_handle_option.
1419 * c-tree.h (c_decode_option): New argc/argv interface.
1420 * c-lex.c (init_parse): cpplib now initialized in c_decode_option.
1421 * c-lang.c (lang_decode_option): New argc/argv interface.
1422 * c-decl.c: Add cpplib declarations.
1423 (c_decode_option): New argc/argv interface.
1424 (c_decode_option): Call cpp_handle_option.
1425 (c_decode_option): Now returns number of strings processed.
1426
95193030
RE
1427Wed Jun 10 09:47:13 1998 Richard Earnshaw (rearnsha@arm.com)
1428
1429 * unroll.c (verify_addresses): Use validate_replace_rtx to undo the
1430 changes. Abort if the undo fails.
1431
e74e8c84
VM
14321998-06-10 Vladimir N. Makarov <vmakarov@cygnus.com>
1433
1434 * config/rs6000/rs6000.c (output_prolog): Change locations and
1435 directions of saving and restoring arguments of main on the stack.
1436
0254c561
JC
1437Wed Jun 10 08:56:27 1998 John Carr <jfc@mit.edu>
1438
1439 * reload1.c (reload_cse_simplify_operands): Do not call gen_rtx_REG
1440 for each alternative. Do not replace a CONST_INT with a REG unless
1441 the reg is cheaper.
1442
0365438d
JL
1443Wed Jun 10 02:11:55 1998 Jeffrey A Law (law@cygnus.com)
1444
07fb7f79
JL
1445 * decl.c (init_decl_processing): Fix typo.
1446
bfed8dac
JL
1447 * mips.c (gpr_mode): New variable.
1448 (override_options): Initialize gpr_mode.
1449 (compute_frame_size): Use "gpr_mode" instead of "word_mode" to
1450 determine size and offset of general purpose registers save slots.
1451 (save_restore_insns, mips_expand_prologue): Similarly.
1452
0365438d
JL
1453 * reload.c (find_reloads_toplev): Use gen_lowpart common to convert
1454 between constant representations when we have (SUBREG (REG)) with
1455 REG equivalent to a constant.
1456
e6bcfef9
JS
1457Wed Jun 10 01:39:00 1998 Juha Sarlin <juha@c3l.tyreso.se>
1458
1459 * h8300.c (get_shift_alg): Add special cases for shifts of 8 and 24.
1460
ac1fdb22
RH
1461Tue Jun 9 22:05:34 1998 Richard Henderson <rth@cygnus.com>
1462
1463 * fold-const.c (fold): Even with otherwise constant trees, look for
1464 opportunities to combine integer constants.
1465
1c5d60f5
JW
1466Wed Jun 3 23:41:24 EDT 1998 John Wehle (john@feith.com)
1467
9d932d43
JW
1468 * i386.c (notice_update_cc): Clear cc_status.value2 in the
1469 case of UNSPEC 5 (bsf).
1470
1c5d60f5
JW
1471 * i386.md (movsfcc, movdfcc, movxfcc): The floating point
1472 conditional move instructions don't support signed integer
1473 comparisons.
1474
f1be41ad
NC
1475Tue Jun 9 14:31:19 1998 Nick Clifton <nickc@cygnus.com>
1476
1477 * config/v850/t-v850 (TCFLAGS): Add assembler options to warn of
1478 overlfows.
1479
1480 * config/v850/lib1funcs.asm (__return_interrupt): Use 'addi
1481 16,sp,sp' ratehr than 'add 16,sp'. Patch courtesy of Biomedin
1482 <glctr@abc.it>.
1483
0d3453df
AM
1484Tue Jun 9 16:23:13 EDT 1998 Andrew MacLeod <amacleod@cygnus.com>
1485
1486 * except.c (expand_start_catch): Rename to start_catch_handler.
1487 (expand_end_catch): Delete function.
1488 (expand_end_all_catch): Remove catch status that expand_end_catch
1489 use to do.
1490 * except.h (expand_start_catch): Rename prototype.
1491 (expand_end_catch): Delete prototype.
1492
3398f47f
MM
1493Tue Jun 9 12:57:32 1998 Mark Mitchell <mark@markmitchell.com>
1494
1495 * invoke.texi: Add documentation for -mips4 and -mabi=*.
1496
6805ef53
KK
1497Tue Jun 9 12:12:34 1998 Klaus Kaempf (kkaempf@progis.de)
1498
1499 * alpha/vms.h (EXTRA_SECTIONS): Add in_ctors and in_dtors.
1500 (EXTRA_SECTION_FUNCTIONS): Add ctors_section and dtors_section.
1501 (ASM_OUTPUT_CONSTRUCTOR, ASM_OUTPUT_DESTRUCTOR): Define.
1502
9ae4ec46
JC
1503Tue Jun 9 12:10:27 1998 John Carr <jfc@mit.edu>
1504
1505 * haifa-sched.c (update_flow_info): Use UNITS_PER_WORD, not MOVE_MAX,
1506 as the threshold to permit splitting memory operations.
1507
624a8b3a
JL
1508Tue Jun 9 12:36:16 1998 Jeffrey A Law (law@cygnus.com)
1509
1c5d60f5
JW
1510 * mips.c (gpr_mode): New variable.
1511 (override_options): Initialize gpr_mode.
1512 (compute_frame_size): Use "gpr_mode" instead of "word_mode" to
1513 determine size and offset of general purpose registers save slots.
1514 (save_restore_insns, mips_expand_prologue): Similarly.
1515
624a8b3a
JL
1516 * Makefile.in (LIB2FUNCS_EH): Define. Just "_eh" for now.
1517 (LIBGCC2_CFLAGS): Remove -fexceptions.
1518 (LIB2FUNCS): Remove "_eh".
1519 (libgcc2.a): Iterate over LIB2FUNCS_EH and build everything in
1520 it with -fexceptions.
1521
1522 * Makefile.in (local-alloc.o): Depend on insn-attr.h.
1523 * local-alloc.c (block_alloc): Avoid creating false
1524 dependencies for targets which use instruction scheduling.
1525
674576f1
RH
1526Tue Jun 9 02:40:49 1998 Richard Henderson <rth@cygnus.com>
1527
1528 * mips/elf.h (ASM_DECLARE_OBJECT_NAME): Define.
1529 (ASM_FINISH_DECLARE_OBJECT): Define;
1530 * mips/elf64.h: Likewise.
1531
5dd57225 1532Tue Jun 9 01:08:47 1998 Richard Henderson <rth@cygnus.com>
602ad236 1533
5dd57225 1534 * toplev.c (flag_new_exceptions): Remove extraneous `extern'.
b8211569 1535
5dd57225 1536Mon Jun 8 23:24:48 PDT 1998 Jeff Law (law@cygnus.com)
ac4bac77
JL
1537
1538 * version.c: Bump for snapshot.
1539
a2f270cc
DE
1540Mon Jun 8 23:24:58 1998 David Edelsohn <edelsohn@mhpcc.edu>
1541
1542 * rs6000.md (mulsidi3): Add !TARGET_POWERPC64 constraint.
1543 (mulsidi3_ppc64): Delete.
1544
50b2596f
KG
1545Mon Jun 8 20:57:40 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1546
1547 * Makefile.in (varasm.o): Depend on dbxout.h.
1548 (cse.o): Depend on toplev.h and output.h.
1549 (gcse.o): Depend on output.h.
1550
1551 * mips.c: Include system.h and toplev.h and remove redundant code.
1552 Include output.h after tree.h so all its prototypes get activated.
1553 * mips.md (table_jump): Remove unused variable `dest'.
1554
1555 * sparc.h: Add prototype for `v8plus_regcmp_op'.
1556
1557 * crtstuff.c (fini_dummy, init_dummy): Mark function definitions
1558 with __attribute__ ((__unused__)).
1559 (__frame_dummy): Provide prototype before use, wrap it with
1560 EH_FRAME_SECTION_ASM_OP.
1561
1562 * cse.c: Move inclusion of <setjmp.h> above local headers.
1563 Include toplev.h and output.h.
1564
1565 * dbxout.h: Add prototype for `dbxout_begin_function'.
1566
1567 * final.c (final_scan_insn): Wrap variable `max_skip' in macro
1568 ASM_OUTPUT_MAX_SKIP_ALIGN.
1569
1570 * gcse.c: Include system.h and output.h.
1571 (dump_cuid_table, dump_rd_table, dump_cprop_data, dump_pre_data):
1572 Make extern instead of static.
1573 (compute_can_copy): Only declare variables `reg' and `insn' when
1574 AVOID_CCMODE_COPIES is not defined.
1575 (record_set_info): Mark parameter `setter' with ATTRIBUTE_UNUSED.
1576 (hash_scan_clobber): Likewise for `x' and `insn'.
1577 (hash_scan_call): Likewise.
1578 (record_last_set_info): Likewise for `setter'.
1579 (mark_call): Likewise for `pat'.
1580 (pre_insert_insn): Wrap variable `note' in macro HAVE_cc0.
1581
1582 * libgcc2.c (__bb_init_prg): Replace bzero with memset and fix the
1583 length parameter so that it multiplies the number of elements by
1584 the sizeof(element).
1585
1586 * output.h: Add prototype for `weak_finish'.
1587
1588 * recog.h: Likewise for `validate_replace_src'.
1589
1590 * rtl.h: Likewise for `optimize_save_area_alloca',
1591 `fix_sched_param', `purge_addressof', `gcse_main',
1592 `regmove_optimize', `dbr_schedule', `branch_prob' and
1593 `end_branch_prob'.
1594
1595 * toplev.h: Likewise for `set_float_handler' and
1596 `output_quoted_string'.
1597
1598 * varasm.c: Include dbxout.h.
1599
33d7a521
JW
1600Mon Jun 8 18:12:06 1998 Jim Wilson <wilson@cygnus.com>
1601
1602 * mips.c (mips_secondary_reload_class): Use gp_reg_p instead of
1603 GP_REG_P. Use gr_regs instead of GR_REGS.
1604
cb923660
KR
1605Mon Jun 8 16:54:12 1998 Ken Raeburn <raeburn@cygnus.com>
1606 Jeff Law <law@cygnus.com>
1607
1608 * Revamped multiply support for MIPS chips.
1609 * mips.c (extend_operator): New function.
1610 (highpart_shift_operator): Likewise.
1611 * mips.h: Declare new functions.
1612 (PREDICATE_CODES): Add support for new predicates.
1613 * mips.md (mulsi3 expander): Simplify.
1614 (mulsi_mult3): Add another constraint alternative. Support
1615 3 operand multiply instructions as found on various mips
1616 parts.
1617 (mulsi3_r4650): Delete pattern, now handled by mulsi_mult3.
1618 (mul_acc_si): New pattern and associated splitters.
1619 (mulsidi3 expander): Rework to use mulsidi3_64bit and
1620 mulsidi3_internal.
1621 (umulsidi3): New expander.
1622 (mulsidi3_internal): Accept either sign or zero extended
1623 operands and generate code as appropriate appropriately.
1624 (mulsidi3_64bit): Similarly.
1625 (smulsi3_highpart): Turn into an expander and generate code
1626 to match new patterns.
1627 (umulsi3_highpart): Likewise.
1628 (xmulsi3_highpart_internal): New pattern.
1629 (maddi patterns): Delete. Replace with:
1630 (mul_acc_di, mul-acc_64bit_di): New patterns.
1631
a1622f83
AM
1632Mon Jun 8 14:16:15 EDT 1998 Andrew MacLeod <amacleod@cygnus.com>
1633
1634 * eh-common.h: Remove NEW_EH_MODEL compile time flag, and replace with
1635 flag_new_exceptions runtime flag.
1636 (struct old_exception_table): New struct which represents what
1637 the exception table looks like without the new model.
1638 (NEW_EH_RUNTIME): New value used as a tag in the exception table to
1639 flag that this is a new style table.
1640 * except.h: Remove compile time flag NEW_EH_MODEL.
1641 (expand_builtin_eh_stub_old): New prototype.
1642 * tree.h (enum built_in_function): Add BUILT_IN_EH_STUB_OLD.
1643 * expr.c (expand_builtin): New builtin func BUILT_IN_EH_STUB_OLD.
1644 * c-decl.c (init_decl_processing): Add new builtin function
1645 __builtin_eh_stub_old.
1646 * final.c (final_scan_insn): Replace compile time flag NEW_EH_MODEL.
1647 * flags.h (flag_new_exceptions): New runtime flag.
1648 * toplev.c (flag_new_exceptions): Initialize default to 0,
1649 -fnew-exceptions sets to 1.
1650 * except.c (output_exception_table_entry): Output New style exception
1651 identifier into table, and replace compile time flag NEW_EH_MODEL
1652 with runtime flag flag_new_exceptions.
1653 (output_exception_table): Replace compile time flag NEW_EH_MODEL.
1654 (expand_builtin_eh_stub_old): Duplicates original functionality of
1655 expand_builtin_eh_stub.
1656 (expand_builtin_eh_stub): Replace compile time flag NEW_EH_MODEL.
1657 * libgcc2.c (find_exception_handler): Remove NEW_EH_MODEL #ifdefs.
1658 (old_find_exception_handler): New func, same as find_exception_handler
1659 except it works on the old style exception table.
1660 (__throw): Replace NEW_EH_MODEL. Detect new model based on presence
1661 of identifier in the exception table, and call appropriate routines.
1662
aeb302bb
JM
1663Mon Jun 8 01:21:13 1998 Jason Merrill <jason@yorick.cygnus.com>
1664
1665 * function.c: Define current_function_cannot_inline.
1666 (push_function_context_to): Save it.
1667 (pop_function_context_from): Restore it.
1668 * function.h (struct function): Provide it a home.
1669 * output.h: Declare it.
1670 * integrate.c (function_cannot_inline_p): Check it.
1671
8b015896 1672Mon Jun 8 10:43:15 1998 Richard Henderson <rth@cygnus.com>
9a14a3ab 1673
8b015896
RH
1674 * expr.c (force_operand): Detect PIC address loads before
1675 splitting arithmetic.
2b4065a4 1676
8b015896 1677Mon Jun 8 09:22:38 PDT 1998 Jeff Law (law@cygnus.com)
209c9866
JL
1678
1679 * version.c: Bump for snapshot.
1680
79990a39
GS
1681Mon Jun 8 02:55:56 1998 Graham <grahams@rcp.co.uk>
1682
1683 * tree.c (tree_class_check): Add braces to eliminate ambigious
1684 else warning.
1685 (tree_check): Likewise.
1686
49fa02d9
L
1687Mon Jun 8 02:49:23 1998 H.J. Lu (hjl@gnu.org)
1688
1689 * reg-stack.c (subst_stack_regs_pat): Make sure the top of
1690 stack is the destination for conditional move insn.
1691
52267fcb
JM
1692Mon Jun 8 01:21:13 1998 Jason Merrill <jason@yorick.cygnus.com>
1693
1694 * tree.h (TREE_VEC_END): Cast unused value to void.
1695
1696 * i386.c (print_operand): Use %lx for long operand.
1697
2b01d264
RH
1698Mon Jun 8 00:04:07 1998 Richard Henderson <rth@cygnus.com>
1699
1700 * alpha.c (summarize_insn): Ignore rtl slot format 'i'.
1701
cb9e12a7
JC
1702Sun Jun 7 14:15:45 1998 John Carr <jfc@mit.edu>
1703
1704 * sol2.h (INIT_SUBTARGET_OPTABS): Use Solaris libc float/long long
1705 conversion functions.
1706
b53beeb2
RH
1707Sun Jun 7 14:02:58 1998 Richard Henderson <rth@cygnus.com>
1708
1709 * toplev.c (flag_exceptions): Default to 0.
1710 (compile_file): Remove flag_exceptions == 2 hack.
1711 (main): Call lang_init_options.
1712 * tree.h: Declare it.
1713 * c-lang.c: Implement it.
1714 * objc/objc-act.c: Likewise.
1715
dfdfa60f
DE
1716Sun Jun 7 12:27:30 1998 David Edelsohn <edelsohn@mhpcc.edu>
1717
1718 * rs6000.md (restore_stack_block): Generate MEM and specify mode.
1719 * rs6000.h (STACK_SAVEAREA_MODE): SAVE_FUNCTION is VOIDmode.
1720 * rs6000.c (rs6000_output_load_toc_table): Use fputs.
1721 (output_function_profiler): Use asm_fprintf and fputs.
1722
83e0821b
KG
1723Sat Jun 6 12:17:12 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1724
1725 * gencheck.c: Remove redundant stdio.h include. Add a definition
1726 of xmalloc for when we are forced to link with alloca.o.
1727
1728 * reload1.c (reload_reg_free_for_value_p): Use `(unsigned)1'
1729 instead of `1U'.
1730
1731 * fold-const.c (constant_boolean_node): Make definition static to
1732 match the prototype.
1733
6ff0d2a0
PB
1734Fri Jun 5 15:53:17 1998 Per Bothner <bothner@cygnus.com>
1735
1736 * gcc.c (lang_specific_pre_link): New LANG_SPECIFIC_DRIVER function.
1737 (lang_specific_extra_outfiles): New LANG_SPECIFIC_DRIVER variable.
1738 (do_spec, input_filename, input_filename_length): Make public.
1739 (main): Adjust outfiles allocation by lang_specific_extra_outfiles.
1740 Call lang_specific_pre_link befor elinking.
1741
2db45993
JL
1742Fri Jun 5 12:29:28 1998 Jeffrey A Law (law@cygnus.com)
1743
1744 * haifa-sched.c (rank_for_schedule): For "equally good insns", prefer
1745 the insn which has the most insns dependent on it.
1746
74186471
JC
1747Fri Jun 5 09:03:22 1998 John Carr <jfc@mit.edu>
1748
1749 * alias.c (find_base_value): Avoid reading past end of reg_base_value.
1750
989f090c
RH
1751Fri Jun 5 03:05:34 1998 Richard Henderson <rth@cygnus.com>
1752
1753 * alpha.md (insxh-1): New insxl pattern for combine.
1754
b657fc39
L
1755Fri Jun 5 01:12:15 1998 H.J. Lu (hjl@gnu.org)
1756
1757 * i386/i386.c (output_fp_conditional_move): New function
1758 to output floating point conditional move.
1759 (output_int_conditional_move): New function to output integer
1760 conditional move.
1761
1762 * i386/i386.md (movsicci+5, movhicc+5, movdicc+5): Call
1763 output_int_conditional_move () to output int conditional move.
1764 (movsfcc+5, movdfcc+5, movxfcc+5): Call
1765 output_fp_conditional_move () to output floating point
1766 conditional move.
1767
1768 * i386/i386.c (put_condition_code): In INT mode, check
1769 cc_prev_status.flags & CC_NO_OVERFLOW for GE and LT.
1770
202fe2d6
DB
1771Thu Jun 4 16:09:51 1998 Dave Brolley <brolley@cygnus.com>
1772
1773 * dbxout.c (dbxout_type): Output arrays of bits as if
1774 they were bitstrings for Chill
1775
a260abc9
DE
1776Thu Jun 4 14:35:27 1998 David Edelsohn <edelsohn@mhpcc.edu>
1777
1778 * tree.c (get_inner_array_type): New function.
1779 * tree.h (get_inner_array_type): Prototype.
1780 * expr.h (STACK_SAVEAREA_MODE): New macro.
1781 * expr.c (expand_builtin_setjmp): Initialize sa_mode using
1782 STACK_SAVEAREA_MODE.
1783 (expand_builtin_longjmp): Likewise.
1784 * explow.c (emit_stack_save): Likewise.
1785 (allocate_dynamic_stack_space): Use Pmode not insn_operand_mode.
1786
1787 * rs6000/aix41.h (ASM_CPU_SPEC): Define relative to ASM_DEFAULT_SPEC.
1788 (CPP_CPU_SPEC): Define relative to CPU_DEFAULT_SPEC.
1789 * rs6000/aix43.h: New file.
1790 * rs6000/t-aix43: New file.
1791 * rs6000/x-aix41: New file.
1792 * rs6000/x-aix43: New file.
1793 * configure.in (rs6000-ibm-aix*): Use them.
1794 * rs6000/powerpc.h: Delete.
1795 * rs6000/sysv4.h: Move necessary powerpc.h definitions to here.
1796 * rs6000/netware.h: and here.
1797 * rs6000/win-nt.h: and here.
1798
1799 * rs6000/rs6000.c (processor_target_table, 620): Do not affect
1800 MASK_POWERPC64.
1801 (rs6000_override_options): Ignore flag_pic for AIX.
1802 (rs6000_immed_double_const): Delete.
1803 (u_short_cint_operand): Don't assume 32-bit CONST_INT.
1804 (reg_or_u_short_operand): Don't assume 32-bit CONST_INT.
1805 (num_insns_constant): mask64_operand() is 2 insns.
1806 (logical_operand): Don't assume 32-bit CONST_INT.
1807 (non_logical_cint_operand): Don't assume 32-bit CONST_INT.
1808 (easy_fp_constant): Any CONST_DOUBLE_HIGH is okay for 64-bit.
1809 (mask_constant): HOST_WIDE_INT parameter.
1810 (non_and_cint_operand): Delete.
1811 (mask64_operand): New function.
1812 (and64_operand): New function.
1813 (function_arg_advance): DImode arguments do not need special
1814 alignment when 64-bit.
1815 (function_arg): Likewise.
1816 (setup_incoming_varargs): Reverse reg_size assignment.
1817 (print_operand): HOST_WIDE_INT second parameter.
1818 (print_operand, 'B'): New case.
1819 (print_operand, 'M'): Fix typo in lossage string.
1820 (print_operandm 'S'): New case.
1821 (rs6000_stack_info): Reverse reg_size assignment. Use total_raw_size
1822 to compute AIX push_p. Use reg_size to compute {cr,lr}_save_offset.
1823 (rs6000_output_load_toc_table): Reverse init_ptr assignment. Use
1824 TARGET_64BIT not TARGET_POWERPC64. Convert fprintf to fputs.
1825 Load GOT highpart, don't add it. Add lowpart with {cal|la}.
1826 (rs6000_allocate_stack_space): Use {cal|la}.
1827 (output_epilog): Use {cal|la}
1828 (output_function_profiler): Add call glue to mcount call.
1829 Load GOT highpart, don't add it. Add lowpart with {cal|la}.
1830
1831 * rs6000/rs6000.h (TARGET_SWITCHES): Add powerpc64.
1832 (STACK_BOUNDARY): Depend on TARGET_32BIT.
1833 (ADJUST_FIELD_ALIGN): Calculate array alignment using innermost type.
1834 (CONST_OK_FOR_LETTER_P): Don't assume 32-bit CONST_INT.
1835 (EXTRA_CONSTRAINTS): Remove NT 'S' and 'T'. Replace 'S' with
1836 64-bit mask operand.
1837 (RS6000_SAVE_TOC): Depend on TARGET_32BIT.
1838 (STACK_SAVEAREA_MODE): New macro.
1839 (LEGITIMATE_CONSTANT_P): DImode okay for 64bit.
1840 (LEGITIMIZE_RELOAD_ADDRESS): New macro.
1841 (RTX_COSTS, AND/IOR/XOR): Reflect current machine description.
1842 (ASM_FILE_START): Emit 64-bit ABI directive.
1843 (ASM_DECLARE_FUNCTION_NAME): Align CSECT on doubleword in 64-bit mode.
1844 (ASM_OUTPUT_SPECIAL_POOL_ENTRY): DImode okay for 64-bit.
1845 (PREDICATE_CODES): Add "and64_operand" and "mask64_operand".
1846 Delete "non_and_cint_operand". "input_operand" includes CONST_DOUBLE.
1847
1848 * rs6000/rs6000.md (iorsi3, xorsi3): Use HOST_WIDE_INT for mask.
1849 Restore define_splits.
1850 (floatsidf2, floatunssidf2): Remove !TARGET_POWERPC64 final constraint.
1851 (floatsidf2_internal, floatunssidf2_internal2): Likewise.
1852 Do not specify base register operand mode.
1853 (floatsidf2_loadaddr): Do not specify base register operand mode.
1854 (floatsidf2_store1, floatsidf2_store2): Operand 1 must be base
1855 register; do not specify mode. Remove !TARGET_POWERPC64 final
1856 constraint.
1857 (floatsidf2_load): Do not specify base register operand mode. Remove
1858 !TARGET_POWERPC64 final constraint.
1859 (fix_truncdfsi2_internal, fix_truncdfsi2_{store,load}): Do not specify
1860 base register operand mode.
1861 (adddi3): Split large constants early.
1862 (absdi3): Shift by 63, not 31.
1863 (*mulsidi3_ppc64): New pattern.
1864 (rotldi3): Add masking combiner patterns.
1865 (anddi3): Add rldic{r,l} masking. Remove split of large constants
1866 because PPC insns zero-extend.
1867 (iordi3, xordi3): Split large constants early.
1868 (movsi matcher): Remove S and T constraints.
1869 (movsf const_double): create SImode constant from TARGET_DOUBLE.
1870 (movdf_hardfloat32): Add default abort() case.
1871 (movdf easy_fp_const): create DImode constant from TARGET_DOUBLE.
1872 (movdi): Remove 64-bit constant generator. Try to convert
1873 CONST_DOUBLE to CONST_INT. Handle TOC memory constants.
1874 (movdi_32): Add default abort() case.
1875 (movdi_64): Add numerous ways to split 64-bit constants.
1876 Make catch-all define_split more optimal and never FAIL.
1877 (movti_ppc64): Add default abort() case.
1878 (allocate_stack): Remove operand modes. Use Pmode.
1879 (restore_stack_block): Remove operand modes. Generate Pmode
1880 temporary.
1881 (save_stack_nonlocal, restore_stack_nonlocal): Generate Pmode
1882 temporary. Save area is double Pmode.
1883 (call_indirect_aix64, call_value_indirect_aix64): New patterns.
1884 (call, call_value): Do not specify address operand mode. Choose
1885 appropriate AIX ABI.
1886 (*call_local64, *ret_call_local64): New patterns.
1887 (*call_nonlocal_aix64, *ret_call_nonlocal_aix64): New patterns.
1888 (*ret_call_nonlocal_aix32): Use call_value_indirect for REG.
1889 (compare): Materialize DImode truthvalues.
1890
ff439b5f
CB
1891Thu Jun 4 01:26:57 1998 Craig Burley <burley@gnu.org>
1892
1893 * expr.c (safe_from_p): Avoid combinatorial explosion
1894 over duplicate SAVE_EXPRs by ensuring we never recurse
1895 on one that has already been visited.
1896
7d2a46a8
GS
1897Thu Jun 4 00:54:21 1998 Graham <grahams@rcp.co.uk>
1898
1899 * loop.c (check_dbra_loop): Initialise final_value before
1900 normalizing the loop.
1901
f5470689
R
1902Wed Jun 3 20:00:04 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
1903
1904 * reload1.c (reload_reg_free_for_value_p): New arguments out and
1905 reloadnum. Changed all callers.
1906
9b91d8f4
UD
19071998-06-03 Ulrich Drepper <drepper@cygnus.com>
1908
1909 * system.h: Add _() and N_() macros in preparation for gettext.
1910
7fdc2757
AS
1911Wed Jun 3 11:02:24 1998 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1912
bc516719
AS
1913 * c-common.c (check_format_info): Put back check for C9x `hh'
1914 length modifier. Warn about %n format writing into const. Remove
1915 obsolete comment.
9b91d8f4 1916 (format_char_info): Fix comments.
bc516719 1917
7fdc2757
AS
1918 * configure.in: Set float_format to m68k for all m68k targets that
1919 do not override LONG_DOUBLE_TYPE_SIZE.
1920 * config/float-m68k.h: New file.
1921
dc2a47ed
RH
1922Tue Jun 2 23:14:01 1998 Richard Henderson <rth@cygnus.com>
1923
1924 * jump.c (jump_optimize): Remove debug messages accidentally left in
1925 with the previous change.
1926
f0348c25
RH
1927Tue Jun 2 22:46:08 1998 Richard Henderson <rth@cygnus.com>
1928
1929 * expr.c (store_expr): Revert stray patch associated with
1930 1998-05-23 commit.
1931
4f4f436f
RH
1932Tue Jun 2 21:59:01 1998 Richard Henderson <rth@cygnus.com>
1933
1934 * jump.c (rtx_unsafe_p): New function.
1935 (jump_optimize): Use it on if/then/else transformations and
1936 conditional move transformations.
1937
df0e526f
AS
1938Tue Jun 2 22:50:10 1998 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
1939
1940 * fold-const.c (fold, case EQ_EXPR): When folding VAR++ == CONST
1941 or VAR-- == CONST construct a proper mask if VAR is a bitfield.
1942 Cope with CONST being out of range for the bitfield.
1943
2638126a
BS
1944Tue Jun 2 22:28:31 1998 Bernd Schmidt <crux@ohara.Informatik.RWTH-Aachen.DE>
1945
1946 * expr.c (emit_move_insn_1): When moving complex values in several
1947 steps, emit a CLOBBER to show the destination dies.
1948
6c8538cc
JL
1949Tue Jun 2 22:17:26 1998 Jeffrey A Law (law@cygnus.com)
1950
ccdb9251
JL
1951 * Makefile.in (site.exp): Use the object testsuite directory as
1952 the temporary directory.
1953
6c8538cc
JL
1954 * expr.c (expand_expr, case ADDR_EXPR): Handle taking the
1955 address of an ADDRESSOF rtx.
1956
0bc02db4
MS
19571998-06-02 Mike Stump <mrs@wrs.com>
1958
1959 * expr.c (expand_builtin_setjmp): Handle BUILTIN_SETJMP_FRAME_VALUE.
1960 * i960.h (SETUP_FRAME_ADDRESSES, BUILTIN_SETJMP_FRAME_VALUE): Define.
1961 * i960.md (ret, flush_register_windows): Define.
1962 (nonlocal_goto): Likewise. Nested function nonlocal gotos don't
1963 work yet.
1964 * tm.texi (BUILTIN_SETJMP_FRAME_VALUE): Document new macro.
1965
d46f7484
RH
1966Tue Jun 2 14:02:38 1998 Richard Henderson <rth@cygnus.com>
1967
1968 * alpha.md (divsi3, udivsi3, modsi3, umodsi3): Enable, and work
1969 around an OSF/1 library bug wrt sign-extension of inputs.
1970
e3c81d20
RH
1971Tue Jun 2 13:02:44 1998 Richard Henderson <rth@cygnus.com>
1972
1973 * vax/netbsd.h (DWARF2_UNWIND_INFO): Must be undef, not defined 0.
1974
44ec7e59 1975Mon Jun 1 03:44:03 1998 Catherine Moore <clm@cygnus.com>
9b91d8f4 1976
44ec7e59
CM
1977 * config/sh/sh.h (MAX_OFILE_ALIGNMENT): Define.
1978
1979 * varasm.c (assemble_variable): Augment alignment warning.
1980
9224220f
MM
1981Mon Jun 1 12:14:28 1998 Michael Meissner <meissner@cygnus.com>
1982
1983 * config/fp-bit.c (_fp{add,div}_parts): Return correct IEEE result
1984 in the presence of IEEE negative 0's.
1985
726e2d54
JW
1986Sun May 31 16:11:41 1998 John Wehle (john@feith.com)
1987
1988 * reload.c (find_reloads): Record the existing mode if
1989 operand_mode == VOIDmode before replacing a register with
1990 a constant.
1991 * i386.md (tstsi, tsthi, tstqi, tstsf, tstdf, tstxf): Set
1992 i386_compare_op1 to const0_rtx for the benefit of the
1993 conditional move patterns.
1994 (movsicc, movhicc, movsfcc, movdfcc, movxfcc, movdicc): Rewrite
1995 based on suggestions from Jim Wilson.
1996
97f959a5
JL
1997Sun May 31 00:44:02 PDT 1998 Jeff Law (law@cygnus.com)
1998
1999 * version.c: Bump for snapshot.
2000
b5662334
BK
2001Sun May 31 00:34:17 1998 Bruce Korb <korbb@datadesign.com>
2002
2003 * Makefile.in (fixinc.sh): Update rules again.
2004
674032e2
JL
2005Sun May 31 00:27:47 1998 Jeffrey A Law (law@cygnus.com)
2006
2007 * extend.texi: Bring back reference to trampoline paper.
2008
2009Sun May 31 00:22:34 1998 Ulrich Drepper <drepper@cygnus.com>
2010
2011 * Makefile.in (USER_H): Add stdbool.h.
2012 * ginclude/stdbool.h: New file.
2013
d3903c22
JL
2014Fri May 29 01:48:25 1998 Jeffrey A Law (law@cygnus.com)
2015
c71407f9
JL
2016 * jump.c (thread_jumps): Do not look at the NOTE_LINE_NUMBER
2017 of a non-note insn.
2018
d3903c22
JL
2019 * gcse.c (pre_delete): Fix code to determine the mode of
2020 the reaching pseudo register.
2021
8376d400
BS
2022Fri May 29 01:07:28 1998 Bernd Schmidt <crux@Pool.Informatik.RWTH-Aachen.DE>
2023
2024 * Makefile.in (GEN): Add gencheck
2025 (STAGESTUFF): Add tree-check.h and gencheck.
2026
71d085b0
BK
2027Fri May 29 00:57:37 1998 Bruce Korb <korbb@datadesign.com>
2028
2029 * Makefile.in (cstamp-h.in): Remove before trying to recreate.
2030 (fixinc.sh): Set some additional environment variables before
2031 calling mkfixinc.sh.
2032
f4d1453e
JL
2033Thu May 28 12:57:05 1998 Jeffrey A Law (law@cygnus.com)
2034
2035 * reload.c (find_reloads): Do not force a reloads of match_operators.
9b91d8f4 2036
9f8e6243
AM
2037Thu May 28 10:22:22 EDT 1998 Andrew MacLeod <amacleod@cygnus.com>
2038
2039 * except.h (remove_handler): Add new prototype.
2040 * except.c (remove_handler): New function to remove handlers
2041 from an exception region.
2042 * flow.c (find_basic_blocks_1): Remove handlers from regions when
2043 handler label is deleted; remove exception regions with no handlers.
2044
d05a5492
MM
2045Thu May 28 09:36:39 1998 Michael Meissner <meissner@cygnus.com>
2046
2047 * except.h (rtx): Define rtx type correctly if needed.
2048 * function.h (rtx): Ditto.
2049 (tree): Define tree type correctly if needed.
2050
2051 * c-pragma.c (toplevel): Include rtl.h.
2052
2053 * stor-layout.c (toplevel): Move include of rtl.h before
2054 except.h.
2055
2056 * Makefile.in (c-pragma.o): Add except.h, rtl.h dependencies.
2057 (tree.o): Add except.h dependency.
9b91d8f4 2058
ed385fd9
JL
2059Wed May 27 22:02:40 1998 Jeffrey A Law (law@cygnus.com)
2060
5bc80b30
JL
2061 * reload1.c: Revert accidental checkin.
2062
ed385fd9
JL
2063 * configure.lang: Fix thinko when adding a definition for
2064 target_alias to the Makefile.
2065
00c26dc2
CM
2066Wed May 27 02:50:00 1998 Catherine Moore (clm@cygnus.com)
2067
9b91d8f4 2068 * config/sparc/lb1spc.asm (.rem and .urem): Replace
00c26dc2
CM
2069 routines.
2070
d499463f
RE
2071Wed May 27 02:48:31 1998 Richard Earnshaw (rearnsha@arm.com)
2072
2073 * arm.c (arm_gen_constant): Rework to eliminate uninitialized
2074 variable warnings. Don't generate scratch registers if only
2075 counting insns.
2076 (find_barrier): Eliminate unused variable SRC.
2077
62fe00be
MH
20781998-05-27 Manfred Hollstein <manfred@s-direktnet.de>
2079
2080 * toplev.h (rtx_def): Provide global declaration to avoid
2081 `limited scope' warnings.
2082
1a4bf22f
MK
2083Tue May 26 23:47:52 1998 Mumit Khan <khan@xraylith.wisc.edu>
2084
2085 * Makefile.in (gencheck.o): Use HOST_CC.
2086 * i386/t-mingw32: New file.
2087 * configure.in (i386-*-mingw32*): Use.
2088
4d818c85
RE
2089Tue May 26 07:31:04 1998 Richard Earnshaw (rearnsha@arm.com)
2090
2091 * arm.c (bad_signed_byte_operand): New predicate function.
2092 * arm.h (PREDICATE_CODES): Add it to the list.
2093 * arm.md (*extendqi[sh]i_insn): Split any addresses that ldrsb
2094 can't handle.
2095 (define_split): Two new splits for above insns.
2096
ad076f4e
RE
2097 * arm.c: Include toplev.h.
2098 (arm_override_options): Add parentheses around use of tune_flags.
2099 (arm_split_constant): Remove unused variable.
2100 (arm_gen_constant, arm_gen_movstrqi, add_constant): Likewise.
2101 (output_func_prologue, arm_expand_prologue): Likewise.
2102 (arm_canonicalize_comparison): Make I unsigned; rework constants
2103 accordignly. Add missing paratheses around << operation.
2104 (arm_rtx_costs): Correctly parenthesise MULT costs. Add a DEFAULT
2105 clause.
2106 ({load,store}_multiple_sequence): Initialize BASE_REG.
2107 (select_dominance_cc_mode): Add DEFAULT clauses.
2108 (broken_move): Return zero if the destination is not a register.
2109 (arm_reorg): Move unused REGNO declaration into the dead code.
2110 * arm.h (CANONICALIZE_COMPARISON): Ensure OP1 is updated.
2111
a1ec8ea1
JL
2112Mon May 25 22:49:56 PDT 1998 Jeff Law (law@cygnus.com)
2113
2114 * version.c: Bump for snapshot.
2115
c7f58590
JL
2116Mon May 25 11:56:24 PDT 1998 Jeff Law (law@cygnus.com)
2117
2118 * version.c: Bump for snapshot.
2119
33b019ad
DB
2120Mon May 25 14:00:13 1998 Dave Brolley <brolley@cygnus.com>
2121
2122 * cpperror.c (v_cpp_message): Remove static prototype.
2123 * cpplib.c (v_cpp_message): Move prototype to cpplib.h.
2124 * cpplib.h (v_cpp_message): Add protoptype.
2125 (stdarg.h,varargs.h): Needed for v_cpp_message prototype.
2126
61819ba5
JL
2127Sun May 24 20:36:15 PDT 1998 Jeff Law (law@cygnus.com)
2128
2129 * version.c: Bump for snapshot.
2130
f5c57ba7
JL
2131Sun May 24 02:08:57 PDT 1998 Jeff Law (law@cygnus.com)
2132
2133 * version.c: Bump for snapshot.
2134
7a87758d
AS
21351998-05-24 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
2136
2137 * m68k.h: Declare more functions used in macros.
2138 (REG_CLASS_CONTENTS): Completely embrace initializer.
2139 * m68k.md (adddi3, subdi3): Add abort call to avoid warning
2140 about returning no value.
2141 * cse.c (find_best_addr): Declare p and found_better only if
2142 needed.
2143 * dbxout.c (dbxout_continue): Define only if DBX_CONTIN_LENGTH > 0.
2144 * dwarfout.c (string_length_attribute): #if 0 away.
2145 * function.c (expand_function_end): Define varible blktramp only
2146 if needed.
2147 * jump.c (find_insert_position): Define only if !HAVE_cc0.
2148 * loop.c (combine_givs_p): Define variable tem only if needed.
2149 * real.c: Comment out unused functions eabs, eround,
2150 e{24,53,64,113}toasc and eiinfin.
2151
2152
10ad38ca
AO
2153Sat May 23 23:44:53 1998 Alexandre Oliva <oliva@dcc.unicamp.br>
2154
2155 * Makefile.in (boostrap2-lean, bootstrap3-lean,
2156 bootstrap4-lean): New targets.
2157
57fec042
JL
2158Sat May 23 23:35:14 1998 Jeffrey A Law (law@cygnus.com)
2159
2160 * warn_summary, test_summary: Moved into the contrib directory.
2161
97263b8c
MH
21621998-05-23 Manfred Hollstein <manfred@s-direktnet.de>
2163
e7f62ad3
MH
2164 * Makefile.in (ENQUIRE_CFLAGS, ENQUIRE_LDFLAGS): Move down to the end
2165 of the Makefile.
2166 (FLOAT_H_TEST): Likewise.
2167 (ENQUIRE): Likewise.
2168 (float.h-nat): Likewise.
2169 (float.h-cross): Likewise.
2170 (enquire): Likewise.
2171 (enquire.o): Likewise.
2172 (stmp-int-hdrs): Fix comment about enquire; depend upon gfloat.h.
2173 (stmp-headers): Move actions to stmp-int-hdrs, retaining only a
2174 no-op.
2175 (FLOAT_H): Remove old float.h-nat version; move current definition
2176 to CROSS_FLOAT_H location.
2177 (all.cross): Remove comments about enquire stuff.
2178
8d45987f
MH
2179 * Makefile.in (all.cross): Swap $(LIBGCC) and $(STMP_FIXPROTO).
2180 (rest.encap): Likewise.
e7f62ad3 2181 (libgcc2.ready): Depend upon $(STMP_FIXPROTO)
8d45987f 2182
97263b8c
MH
2183 * toplev.h (tree_node): Provide global declaration to avoid
2184 `limited scope' warnings.
2185
a8c24967
RL
2186Sat May 23 23:23:35 1998 Robert Lipe <robertl@dgii.com>
2187
2188 * test_summary: Display section breaks for each entry
2189 in a multilibbed target's output.
2190
bd070e1a
RH
21911998-05-23 Richard Henderson <rth@cygnus.com>
2192
2193 * expr.c (expand_expr): For {BITFIELD,COMPONENT,ARRAY}_REF, if the
2194 offset's mode is not ptr_mode, convert it.
2195
697073d9
JM
21961998-05-22 Jason Merrill <jason@yorick.cygnus.com>
2197
2198 * fold-const.c (ssize_binop): New fn.
2199 * tree.h: Declare it.
2200
07704a9a
RE
2201Fri May 22 03:42:05 1998 Richard Earnshaw (rearnsha@arm.com)
2202
9b91d8f4 2203 * genextract.c (print_path): Handle zero-length path as a special
07704a9a
RE
2204 case.
2205
911c3b7d
HPN
2206Fri May 22 01:38:07 1998 Hans-Peter Nilsson <hp@axis.se>
2207
2208 * cplus-dem.c (MBUF_SIZE): Bumped from 512 to 32767.
2209
75197b37
BS
2210Fri May 22 00:57:00 1998 Bernd Schmidt (crux@pool.informatik.rwth-aachen.de>
2211
2212 * final.c (JUMP_TABLES_IN_TEXT_SECTION): Provide a default value.
2213 (shorten_branches, final_scan_insn): Test value of
2214 JUMP_TABLES_IN_TEXT_SECTION instead of just testing whether it
2215 is defined.
2216 * tm.texi (JUMP_TABLES_IN_TEXT_SECTION): Corresponding changes.
2217 * arm/coff.h: Define JUMP_TABLES_IN_TEXT_SECTION to 1.
28ec9418 2218 * arm/tcoff.h: Likewise.
75197b37
BS
2219 * i386/386bsd.h: Likewise.
2220 * i386/freebsd-elf.h: Likewise.
2221 * i386/freebsd.h: Likewise.
2222 * i386/netbsd.h: Likewise.
2223 * i386/ptx4-i.h: Likewise.
2224 * i386/sysv4.h: Likewise.
2225 * pa/pa.h: Likewise.
2226 * rs6000/linux.h: Likewise.
2227 * rs6000/rs6000.h: Likewise.
2228 * sh/sh.h: Likewise.
2229 * sparc/sp64-elf.h: Likewise.
2230 * v850/v850.h: Likewise.
2231 * rs6000/sysv4.h: Define JUMP_TABLES_IN_TEXT_SECTION to 0.
2232 * i386/linux.h: Define JUMP_TABLES_IN_TEXT_SECTION to (flag_pic).
2233
1a29f703
R
2234Thu May 21 19:50:13 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
2235
2236 * regmove.c (gen_add3_insn): New function.
2237 (fixup_match_2): Use it instead of calling gen_addsi3.
2238
aee21ba9
JL
2239Thu May 21 23:09:50 1998 Jeffrey A Law (law@cygnus.com)
2240
37433f49
JL
2241 * Makefile.in (gencheck): Depend on HOST_LIBDEPS.
2242
aee21ba9
JL
2243 * alias.c (rtx_equal_for_memref_p): Handle SCRATCH as a memory
2244 address.
2245
12b195d9
ML
2246Thu May 21 20:18:13 1998 Martin von Loewis <loewis@informatik.hu-berlin.de>
2247
2248 * Makefile.in (TREE_H): Add tree-check.h.
2249 (tree-check.h, gencheck): New targets.
2250 * gencheck.c: New file.
2251 * tree.c (tree_check, tree_class_check): New functions.
2252 * tree.h (TREE_CHECK, TREE_CLASS_CHECK): Define.
2253 (TYPE_CHECK, DECL_CHECK): Define.
2254 Modify all access macros to use generated checking macros.
2255
9e423e6d
JW
2256Wed May 20 23:44:28 EDT 1998 John Wehle (john@feith.com)
2257
2258 * acconfig.h (HAVE_GAS_MAX_SKIP_P2ALIGN): New tag.
2259 * configure.in: Check for it.
2260 * i386/gas.h (ASM_OUTPUT_MAX_SKIP_ALIGN): Use it.
2261 * final.c (uid_align, uid_shuid, label_align): Make static.
2262 (label_align): Change type to struct label_alignment pointer.
2263 (LABEL_TO_ALIGNMENT, shorten_branches): Update due to type change.
2264 (LABEL_TO_MAX_SKIP): Define.
2265 (LABEL_ALIGN_MAX_SKIP, LOOP_ALIGN_MAX_SKIP,
2266 LABEL_ALIGN_AFTER_BARRIER_MAX_SKIP): Provide defaults.
2267 (shorten_branches): Record the maximum bytes to skip when
2268 aligning a label.
2269 (final_scan_insn): Use the maximum bytes to skip when aligning a label
2270 if ASM_OUTPUT_MAX_SKIP_ALIGN is available.
2271 * i386.h (LOOP_ALIGN_MAX_SKIP,
2272 LABEL_ALIGN_AFTER_BARRIER_MAX_SKIP): Define.
2273 * i386.c (override_options): i386_align_jumps and i386_align_loops
2274 default to 4 if ASM_OUTPUT_MAX_SKIP_ALIGN is available.
2275 * invoke.texi: Document new i386 align-loops and align-jumps behavior.
2276
1cc75298
MM
22771998-05-21 Mark Mitchell <mmitchell@usa.net>
2278
2279 * cplus-dem.c (do_type): Handle volatile qualification.
9b91d8f4 2280
178ca02d
PB
2281Thu May 21 12:23:17 1998 Per Bothner <bothner@cygnus.com>
2282
2283 * function.c (init_function_start): Don't call emit_line_note if
2284 lineno is 0. (Can happen when compiling Java .class files.)
2285
cecbf6e2
R
2286Thu May 21 19:50:13 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
2287
2288 * reload1.c (reload_reg_free_for_value_p): Fix RELOAD_FOR_INPUT
2289 end of lifetime and RELOAD_FOR_OUTPUT start of lifetime.
2290
b52ce03d
R
2291Thu May 21 19:32:27 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
2292
2293 * combine.c (nonzero_bits): For paradoxical subregs, take
2294 LOAD_EXTENDED_OP into account.
2295
c8724862
DB
2296Thu May 21 11:51:15 1998 Dave Brolley <brolley@cygnus.com>
2297
2298 * configure.in (extra_c_objs): add prefix.o.
2299 (extra_cxx_objs): extra objects for C++ with cpplib.
2300 * configure: Regenerate.
2301
2302 * c-tree.h: (get_directive_line): Different prototype for cpplib.
2303 (GET_DIRECTIVE_LINE): Macro wrapper for get_directive_line.
2304
2305 * c-lex.h: (get_directive_line): Not needed here for cpplib.
2306
2307 * c-lex.c: (yy_cur,yy_lim,yy_get_token): Move to c-common.c.
2308 (GET_DIRECTIVE_LINE): Move to c-common.c and rename to get_directive_line.
2309
2310 * c-common.c (parse_in,parse_options,cpp_token): Declare for cpplib.
2311 (yy_cur,yy_lim,yy_get_token,get_directive,line): Moved here from c-lex.c
2312
fd97443c
KG
2313Thu May 21 09:04:42 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2314
2315 * gengenrtl.c (type_from_format, accessor_from_format): Change
2316 type of parameter `c' from `char' to `int'.
2317
0e4347ce
JL
2318Wed May 20 22:28:34 1998 Jeffrey A Law (law@cygnus.com)
2319
2a3edac9
JL
2320 * warn_summary, test_summary: New scripts from
2321 Kaveh Ghazi and Alexandre Oliva respectively.
2322
0e4347ce
JL
2323 * gcse.c (current_function_calls_longjmp): Declare.
2324
4e5a8d7b
JM
23251998-05-20 Jason Merrill <jason@yorick.cygnus.com>
2326
2327 * dwarf2out.c (base_type_die): Use int_size_in_bytes.
2328
7506f491
DE
2329Wed May 20 01:11:02 1998 Doug Evans (devans@cygnus.com)
2330 Jeff Law (law@cygnus.com)
2331
2332 * Global CSE and constant/copy propagation.
2333 * Makefile.in (OBJS): Add gcse.o
2334 (STAGESTUFF): Add *.gcse.
2335 (gcse.o): Add dependencies.
2336 (mostlyclean): Remove *.gcse and */*.gcse.
2337 * gcse.c: New file.
2338 * loop.c (loop_optimize): Move call to init_alias_analysis.
2339 * recog.c (validate_replace_src): New function.
2340 * toplev.c (gcse_dump): New global variable.
2341 (flag_gcse, gcse_time): Likewise.
2342 (compile_file): Initialize gcse_time and clean out the gcse dump
2343 file if necessary.
2344 (rest_of_compilation): Call gcse_main as requested. Dump RTL
2345 after gcse if requested.
2346 (main): Enable gcse for -O2 and above. Handle -dG. Enable gcse
2347 dumps for -da.
2348 * gcc.texi: Add gcse related internal documentation.
2349 * invoke.texi: Note new command line options for gcse.
2350 * tm.texi: Document AVOID_CCMODE_COPIES.
2351 * mips.h (AVOID_CCMODE_COPIES): Define.
2352
40859b41
JL
2353Tue May 19 22:31:20 1998 Jeffrey A Law (law@cygnus.com)
2354
2355 * Makefile.in (deduced.h): Only run scan-types if $(SYSTEM_HEADER_DIR)
2356 exists.
aef1617c 2357 (stmp-fixproto): Simlarly for running fixproto.
40859b41
JL
2358 * cross-make (SYSTEM_HEADER_DIR): Now $(tooldir)/sys-include.
2359
f85c8be7
JW
2360Tue May 19 19:08:52 1998 Jim Wilson <wilson@cygnus.com>
2361
2362 * config/mips/mips.c (double_memory_operand): Accept any MEM during
2363 reload when TARGET_64BIT.
2364
c7391272
JW
2365Tue May 19 18:21:25 1998 Jim Wilson <wilson@cygnus.com>
2366
2367 Finish incomplete change started by Kenner.
2368 * configure.in (*-*-linux-gnu*): Delete NO_STAB_H from xm_defines.
2369 (powerpcle-*-cygwin32): Delete xm_defines.
2370 * final.c, mips-tfile.c, xcoffout.c, config/mips/mips.c: Use
2371 HAVE_STAB_H instead of NO_STAB_H.
2372 * config/xm-linux.h (NO_STAB_H): Delete.
2373 (HAVE_STAB_H): Undefine.
2374 * config/i386/xm-go32.h (NO_STAB_H): Delete.
2375
af02da67
JW
23761998-05-19 Jim Wilson <wilson@cygnus.com>
2377
2378 * dwarfout.c (dwarfout_file_scope_decl, case TYPE_DECL): Ignore
2379 LANG_TYPE trees with DECL_SOURCE_LINE of 0.
2380
79edd21c
TV
2381Tue May 19 15:07:54 1998 Todd Vierling <tv@netbsd.org>
2382
2383 * arm/netbsd.h: Ensure DWARF2_UNWIND_INFO is undefined.
2384
6e684430
R
2385Tue May 19 17:19:16 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
2386
2387 * reload1.c (reload_reg_free_for_value_p): New function.
2388 (allocate_reload_reg, choose_reload_regs): Use it.
2389
7ecb5d27
AM
2390Tue May 19 11:51:00 EDT 1998 Andrew MacLeod (amacleod@cygnus.com)
2391
2392 * except.c (expand_start_catch): Correct logic for when to
2393 generate a new handler label, and when to use the old one.
2394
487a6e06
KG
2395Tue May 19 11:08:52 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2396
2397 * Makefile.in (print-rtl.o): Depend on bitmap.h.
2398 (dbxout.o): Depend on toplev.h.
2399 ($(SCHED_PREFIX)sched.o): Likewise.
2400 ($(out_object_file)): Likewise for system.h and toplev.h.
2401 (cppmain.o): Depend on gansidecl.h.
2402 (cpplib.o): Likewise.
2403 (cpperror.o): Likewise.
2404 (cppexp.o): Likewise.
2405 (cpphash.o): Likewise.
2406 (cppalloc.o): Likewise.
2407 (fix-header.o): Depend on cpplib.h and cpphash.h.
2408 (scan-decls.o): Depend on gansidecl.h.
2409
2410 * basic-block.h (free_regset_vector): Add prototype.
2411
2412 * cccp.c (check_precompiled): Mark parameter `fname' with
2413 ATTRIBUTE_UNUSED.
2414 (do_assert): Likewise for `op' and `keyword'.
2415 (do_unassert): Likewise.
2416 (do_line): Likewise for `keyword'.
2417 (do_error): Likewise for `op' and `keyword'.
2418 (do_warning): Likewise.
2419 (do_ident): Likewise for `keyword'.
2420 (do_pragma): Likewise for `limit', `op' and `keyword'.
2421 (do_sccs): Likewise.
2422 (do_if): Likewise for `keyword'.
2423 (do_elif): Likewise.
2424 (do_else): Likewise.
2425 (do_endif): Likewise.
2426
2427 * collect2.c (getenv): Remove redundant prototype.
2428 (collect_exit, collect_execute, dump_file): Likewise.
2429 (dump_list): Wrap prototype and definition in COLLECT_EXPORT_LIST.
2430 (dump_prefix_list): Hide prototype and definition.
2431
2432 * sparc.c: Include toplev.h.
2433 (intreg_operand): Mark parameter `mode' with ATTRIBUTE_UNUSED.
2434 (symbolic_memory_operand): Likewise.
2435 (sp64_medium_pic_operand): Likewise.
2436 (data_segment_operand): Likewise.
2437 (text_segment_operand): Likewise.
2438 (splittable_symbolic_memory_operand): Likewise.
2439 (splittable_immediate_memory_operand): Likewise.
2440 (eq_or_neq): Likewise.
2441 (normal_comp_operator): Likewise.
2442 (noov_compare_op): Likewise.
2443 (v9_regcmp_op): Likewise.
2444 (v8plus_regcmp_op): Likewise.
2445 (extend_op): Likewise.
2446 (cc_arithop): Likewise.
2447 (cc_arithopn): Likewise.
2448 (small_int): Likewise.
2449 (uns_small_int): Likewise.
2450 (clobbered_register): Likewise.
2451 (legitimize_pic_address): Likewise.
2452 (delay_operand): Likewise.
2453 (sparc_builtin_saveregs): Remove unused variable `stdarg'.
2454
2455 * sparc.h (order_regs_for_local_alloc, eligible_for_return_delay,
2456 sparc_issue_rate, v8plus_regcmp_p): Add prototypes.
2457
2458 * sparc.md (cmpdi_v8plus): Add abort for default case in switch.
2459
2460 * cppalloc.c: Include gansidecl.h.
2461
2462 * cpperror.c: Include stdarg.h/varargs.h and gansidecl.h.
2463 (cpp_file_line_for_message): Mark parameter `pfile' with
2464 ATTRIBUTE_UNUSED.
2465 (v_cpp_message): New function.
2466 (cpp_message): Use it. Also convert to variable arguments.
2467 (cpp_fatal): Likewise.
2468 (cpp_pfatal_with_name): Constify parameter `name'.
2469
2470 * cppexp.c: Move gansidecl.h before cpplib.h.
2471 * cpphash.c: Likewise.
2472 * cpphash.h (hashf, delete_macro): Add prototypes.
2473
2474 * cpplib.c: Include stdarg.h/varargs.h and move gansidecl.h before
2475 cpplib.h. Don't include errno.h.
2476 (update_path): Add arguments to prototype.
2477 (cpp_fatal, cpp_file_line_for_message, cpp_message, delete_macro,
2478 cpp_print_containing_files): Remove redundant prototypes.
2479 (cpp_hash_cleanup, add_import, append_include_chain,
2480 make_assertion, path_include, initialize_builtins,
2481 initialize_char_syntax, finclude, validate_else, comp_def_part,
2482 lookup_import, redundant_include_p, is_system_include,
2483 read_name_map, read_filename_string, open_include_file,
2484 check_macro_name, compare_defs, compare_token_lists,
2485 eval_if_expression, change_newlines): Add prototype arguments.
2486 (hashf): Remove redundant prototype.
2487 (read_token_list, free_token_list, safe_read, xcalloc, savestring,
2488 conditional_skip, skip_if_group): Add prototype arguments.
2489 (fdopen): Remove redundant prototype.
2490 (do_define, do_line, do_include, do_undef, do_error, do_pragma,
2491 do_ident, do_if, do_xifdef, do_else, do_elif, do_endif, do_sccs,
2492 do_once, do_assert, do_unassert, do_warning): Add prototype arguments.
2493 (struct directive): Add prototype arguments to function pointer
2494 member `func'.
2495 (handle_directive): Add missing arguments to call to `do_line'.
2496 (do_include): Mark parameters `unused1' and `unused2' with
2497 ATTRIBUTE_UNUSED.
2498 (do_line): Likewise for `keyword' and new parameters `unused1' and
2499 `unused2'.
2500 (do_error): Likewise for `keyword'.
2501 (do_warning): Likewise. Also add missing argument `pfile' in call
2502 to cpp_pedwarn.
2503 (do_once): Mark parameter `keyword', `unused1' and `unused2' with
9b91d8f4 2504 ATTRIBUTE_UNUSED.
487a6e06
KG
2505 (do_ident): Likewise for `keyword', `buf' and `limit'.
2506 (do_pragma): Likewise. Also add missing arguments in call to do_once.
2507 (do_sccs): Mark parameter `keyword', `buf' and `limit' with
9b91d8f4 2508 ATTRIBUTE_UNUSED.
487a6e06
KG
2509 (do_if): Likewise for `keyword'.
2510 (do_elif): Likewise.
2511 (eval_if_expression): Likewise for `buf' and `length'.
2512 (do_xifdef): Likewise for `unused1' and `unused2'.
2513 (do_else): Likewise for `keyword', `buf' and `limit'.
2514 (do_endif): Likewise.
2515 (parse_name): Add missing argument `pfile' in call to cpp_pedwarn.
2516 (cpp_handle_options): Remove superfluous NULL argument in call to
2517 cpp_fatal.
2518 (cpp_handle_options): Likewise.
2519 (do_assert): Mark parameter `keyword', `buf' and `limit' with
2520 ATTRIBUTE_UNUSED.
2521 (do_unassert): Likewise.
2522 (cpp_print_file_and_line): Add missing argument `pfile' in call to
2523 cpp_file_line_for_message.
2524 (v_cpp_error): New function.
2525 (cpp_error): Use it. Also accept variable arguments.
2526 (v_cpp_warning): New function.
2527 (cpp_warning): Use it. Also accept variable arguments.
2528 (cpp_pedwarn): Accept variable arguments.
2529 (v_cpp_error_with_line): New function
2530 (cpp_error_with_line): Use it. Accept variable arguments.
2531 (v_cpp_warning_with_line): New function.
2532 (cpp_warning_with_line): Use it. Accept variable arguments. Hide
2533 definition.
2534 (cpp_pedwarn_with_line): Accept variable arguments.
2535 (cpp_pedwarn_with_file_and_line): Likewise.
2536 (cpp_error_from_errno): Constify parameter `name'. Add missing
2537 argument `pfile' in call to cpp_file_line_for_message.
2538 (cpp_perror_with_name): Constify parameter `name'.
2539
2540 * cpplib.h: Define PARAMS() in terms of PROTO().
2541 (fatal): Remove redundant prototype.
2542 (cpp_error, cpp_warning, cpp_pedwarn, cpp_error_with_line,
2543 cpp_pedwarn_with_line, cpp_pedwarn_with_file_and_line,
9b91d8f4 2544 cpp_error_from_errno, cpp_perror_with_name, cpp_pfatal_with_name,
487a6e06
KG
2545 cpp_fatal, cpp_message, cpp_pfatal_with_name,
2546 cpp_file_line_for_message, cpp_print_containing_files): Add
2547 arguments to prototypes.
2548 (scan_decls, cpp_finish): Add prototypes.
2549
2550 * cppmain.c: Include gansidecl.h.
2551 (main): Remove unused variable `i'.
9b91d8f4 2552
487a6e06
KG
2553 * dbxout.c: Include toplev.h.
2554
2555 * demangle.h (do_tlink, collect_execute, collect_exit,
2556 collect_wait, dump_file, file_exists): Add prototype.
2557
2558 * dwarf2out.c (dwarf_type_encoding_name, decl_start_label): Hide
2559 prototype and definition.
2560 (gen_unspecified_parameters_die): Don't assign results of call to
2561 function new_die() to unused variable `parm_die'.
2562 (dwarf2out_line): Mark parameter `filename' with ATTRIBUTE_UNUSED.
2563 (dwarf2out_define): Likewise for `lineno' and `buffer'.
2564
2565 * dwarfout.c (output_unsigned_leb128, output_signed_leb128): Hide
2566 prototype and definition.
2567 (output_die): Add prototype arguments to function pointer arg.
2568 (output_unspecified_parameters_die): Mark parameter `arg' with
2569 ATTRIBUTE_UNUSED.
2570
2571 * except.c (output_exception_table_entry): Remove unused variable
2572 `eh_entry'.
2573
2574 * except.h (expand_fixup_region_start, expand_fixup_region_end):
2575 Add prototypes.
2576
2577 * expr.c (do_jump_by_parts_equality_rtx): Remove prototype.
2578
2579 * expr.h (do_jump_by_parts_equality_rtx): Add prototype.
2580
2581 * fix-header.c: Include stdarg.h/varargs.h, move gansidecl.h
2582 before cpplib.h, include cpphash.h, remove redundant prototype of
2583 cpp_fatal, don't define `const', add a prototype for `fatal'.
2584 (cpp_file_line_for_message): Add missing arguments `pfile'.
2585 (v_cpp_message): New function.
2586 (cpp_message): Use it.
2587 (v_fatal): New function.
2588 (fatal, cpp_fatal): Use it.
2589 (cpp_pfatal_with_name): Constify parameter `name'.
2590
2591 * flow.c (free_regset_vector): Remove redundant prototype.
2592
2593 * function.c (round_down): Wrap prototype and definition with
2594 macro ARGS_GROW_DOWNWARD.
2595 (record_insns): Wrap prototype and definition with
2596 defined (HAVE_prologue) || defined (HAVE_epilogue).
2597
2598 * gansidecl.h (ATTRIBUTE_PRINTF_4, ATTRIBUTE_PRINTF_5): New macros.
2599
2600 * gen-protos.c: Include gansidecl.h.
2601 (hashf): Don't make it static, constify parameter `name'.
2602
2603 * genattrtab.c (check_attr_test): Change XEXP() to XSTR() to match
2604 specifier %s in calls to function `fatal'.
2605
2606 * haifa-sched.c: Include toplev.h.
2607 (find_rgns): Remove unused variable `j'.
2608
2609 * integrate.c (note_modified_parmregs): Mark parameter `x' with
2610 ATTRIBUTE_UNUSED.
2611 (mark_stores): Likewise.
2612
2613 * jump.c (mark_modified_reg): Likewise.
2614
2615 * output.h (insn_current_reference_address): Add prototype.
2616 (eh_frame_section): Likewise.
2617
2618 * print-rtl.c: Include bitmap.h.
2619
2620 * reload1.c (reload): Wrap variables `note' and `next' in macro
2621 PRESERVE_DEATH_INFO_REGNO_P.
2622 (forget_old_reloads_1): Mark parameter `ignored' with
2623 ATTRIBUTE_UNUSED.
2624 (choose_reload_regs): Remove unused variable `in'.
2625 (reload_cse_invalidate_mem): Mark parameter `ignore' with
2626 ATTRIBUTE_UNUSED.
2627 (reload_cse_check_clobber): Likewise.
2628
2629 * rtl.h (expand_null_return, reg_classes_intersect_p): Add prototype.
2630 (mark_elimination): Fix typo in prototype.
2631
2632 * scan-decls.c: Include gansidecl.h.
2633
2634 * tree.h (using_eh_for_cleanups, supports_one_only): Add prototype.
9b91d8f4 2635
c7fdfd49
JL
2636Mon May 18 22:37:33 1998 Jeffrey A Law (law@cygnus.com)
2637
2638 * function.c (identify_blocks): Fix thinko when setting the
2639 block number for NOTE_INSN_BLOCK_END.
2640
53f2d033
NC
2641Mon May 18 15:30:42 1998 Nick Clifton <nickc@cygnus.com>
2642
f122eb7a 2643 * config/v850/lib1funcs.asm: Add .text pseudo op to start of
9b91d8f4 2644 ___udivsi3.
f122eb7a
NC
2645
2646 * config/v850/lib1funcs.asm: Fix .size pseudo ops to use three
9b91d8f4 2647 underscores for the prefixes to the names of the maths functions.
f122eb7a 2648
53f2d033
NC
2649 * dbxout.c (dbxout_parms): Revert to using DECL_ARG_TYPE. Add
2650 comment explaining why.
2651
ead17059
RH
2652Mon May 18 13:20:23 1998 Richard Henderson <rth@cygnus.com>
2653
2654 * tree.h (TYPE_SIZE_UNIT): New.
2655 (struct tree_type): Add size_unit member.
2656 * stor-layout.c (layout_type): Initialize it.
2657 * expr.c (get_inner_reference) [ARRAY_REF]: Use it.
2658 * tree.c (size_in_bytes, int_size_in_bytes): Likewise.
2659
069b95ce
RE
2660Mon May 18 12:07:37 1998 Richard Earnshaw (rearnsha@arm.com)
2661
2662 * stor-layout.c (layout_record): Fix off-by-one error when checking
2663 length of the TYPE_BINFO vector.
2664
972a4adb
NC
2665Mon May 18 10:59:23 1998 Nick Clifton <nickc@cygnus.com>
2666
2667 * dbxout.c (dbxout_parms): Use TREE_ARG to compute the type of a
2668 function parameter passed in memory.
2669
76ead72b
RL
2670Mon May 18 09:02:09 1998 Robert Lipe <robertl@dgii.com>
2671
2672 * dwarfout.h, dwarf2out.h, dbxout.h, sdbout.h: New files.
2673 Prototypes for externally used functions in respective C files.
2674 * dwarfout.c, dbxout.c, dwarf2out.c, sdbout.c, toplev,c,
2675 final.c: Include above files.
2676 * Makefile.in (toplev.o): Add dependency for above four headers.
2677 (final.o): Likewise.
2678 (dwarfout.o, dbxout.o, dwarf2out.o, sdbout.o): Depend on four
2679 respective header files.
2680
b0ccd8de
JL
2681Mon May 18 01:23:33 1998 Jeffrey A Law (law@cygnus.com)
2682
7e717196
JL
2683 * Makefile.in (TARGET_TOOLPREFIX): No longer define.
2684 (AR_FOR_TARGET, RANLIB_FOR_TARGET): Define to use versions in
2685 the build tree if they exist.
2686 (AR, AR_FLAGS, OLDAR, OLDAR_FLAGS, RANLIB, RANLIB_TEST): Update
2687 appropriately.
2688 (objdir): Let configure substitute value.
2689 (FLOAT_H): Let configure select a pre-built version from the
2690 config subdir.
2691 * build-make (INSTALL_TARGET, ALL): Disable, no longer needed.
2692 * configure.in: Substitute for objdir.
2693
88111b26
JL
2694 * Makefile.in (build_canonical, host_canonical): Let configure
2695 substitute values for these variables.
2696 * configure.in: Substitute for build_canonical, host_canonical
2697 and target_subdir in generated Makefile.
2698
d8af60bf
JL
2699 * output.h (find_basic_blocks): Declare.
2700 (free_basic_block_vars, set_block_num, life_analysis): Likewise.
2701
b0ccd8de
JL
2702 * Makefile.in (BISON): Use bison from the build tree if it exists.
2703 (FLEX): Similarly.
2704
88117d44
NC
2705Mon May 18 00:08:19 1998 Nick Clifton <nickc@cygnus.com>
2706
2707 * gcc.c (SWITCH_CURTAILS_COMPILATION): Definition.
2708 (DEFAULT_SWITCH_CURTAILS_COMPILATION): True for options -S and -c.
2709 (process_command): If HAVE_EXECUTABLE_SUFFIX is defined then scan
2710 command line arguments to see if an executable is not being
2711 created, and if so - do not append the suffix.
2712
2713 * tm.texi (SWITCH_CURTAILS_COMPILATION): Add description of new
2714 driver macro.
2715
e5e8a8bf
JW
2716Sun May 17 23:59:45 1998 John Wehle (john@feith.com)
2717
2718 * i386.h (ALIGN_DFmode): Delete.
2719 (CONSTANT_ALIGNMENT): Define.
2720 * varasm.c (force_const_mem): Use it.
2721
b771b6b4
RH
2722Sun May 17 19:31:05 1998 Richard Henderson <rth@cygnus.com>
2723
2724 * alpha.c (alpha_emit_conditional_branch): Clear cmp_code after
2725 using it with swap_condition, not before.
2726
0211b6ab
JW
2727Sun May 17 13:44:32 1998 Jim Wilson <wilson@cygnus.com>
2728
2729 * alias.c (mode_alias_check): Delete.
2730 (true_dependence, anti_dependence, output_dependence): Revert April 21
2731 change.
2732
c5991f68
KW
2733Sun May 17 08:45:21 1998 Krister Walfridsson <cato@df.lth.se>
2734
3fe4d12a 2735 * toplev.c (output_lang_identify): Enable prototype and definition.
c5991f68 2736
18f315a4
JL
2737Sun May 17 01:12:27 PDT 1998 Jeff Law (law@cygnus.com)
2738
2739 * version.c: Bump for snapshot.
2740
2a831d01
RH
2741Sat May 16 23:20:32 1998 Richard Henderson <rth@cygnus.com>
2742
2743 * alpha/osf.h (HAVE_STAMP_H): Define.
2744 * alpha.c: Use it.
2745 * alpha/netbsd.h, alpha/netbsd-elf.h: New files.
2746 * configure.in (alpha*-*-netbsd*): New.
2747 Based on patches from Paul H. Anderson <pha@pdq.com>.
2748
2749 * configure.in (alpha*-*-linux-*): Kill xm_defines.
2750 (alpha*-*-linux-gnulibc1*) [fixincludes]: Define.
2751 * alpha/xm-linux.h: Remove file.
2752
620422fd
DE
2753Sat May 16 18:32:45 1998 Doug Evans <devans@canuck.cygnus.com>
2754
2755 * dbxout.c (dbxout_parms): If mode of type of parameter living
2756 in memory doesn't match mode of DECL_RTL, make big endian correction.
2757
d2f2cb19
JW
2758Fri May 15 21:40:06 1998 John Wehle (john@feith.com)
2759
2760 * i386.md (movdi-1, movdi): Rewrite based on SI move patterns.
2761
bbc0e641
JM
2762Fri May 15 18:55:22 1998 Jason Merrill <jason@yorick.cygnus.com>
2763
2764 * tree.h (BINFO_SIZE, TYPE_BINFO_SIZE): New macros.
2765 * stor-layout.c (layout_record): Set it.
2766
2767Fri May 15 18:49:30 1998 Mark Mitchell <mmitchell@usa.net>
2768
2769 * toplev.c (rest_of_compilation): Don't defer nested functions.
2770
92834d7d
BM
2771Fri May 15 17:42:52 1998 Bob Manson <manson@charmed.cygnus.com>
2772
2773 * config/rs6000/rs6000.c (rs6000_stack_info): Align the stack bottom
2774 to an 8-byte boundary if info_ptr->fpmem_p.
2775
829002bb
BM
2776Fri May 15 17:36:11 1998 Bill Moyer <ttk@cygnus.com>
2777
2778 * loop.c (basic_induction_var): Added test preventing
2779 CCmode parameter passed to convert_modes().
2780
b24f65cd
APB
2781Fri May 15 17:26:18 1998 Alexandre Petit-Bianco <apbianco@cygnus.com>
2782
2783 * expr.c (expand_expr, case EXPR_WITH_FILE_LOCATION): Save/restore
2784 input_filename and lineno around expand_expr call. Set them to values
2785 in WFL before expand_expr call.
2786
b09293cc
BK
2787Fri May 15 12:44:57 1998 Benjamin Kosnik <bkoz@rhino.cygnus.com>
2788
2789 * stor-layout.c (set_sizetype): Set TYPE_NAME on bitsizetype.
2790
f628873f
MM
2791Fri May 15 07:20:03 1998 Mark Mitchell <mmitchell@usa.net>
2792
2793 * fold-const.c (constant_boolean_node): New function.
2794 (fold): Use it.
2795
61fb6bac
R
2796Fri May 15 11:21:16 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
2797
2798 * sh.c (gen_shl_and): Don't sign extend constant for kind two.
2799 Abort if trying to split kind 3 or 4 outside of combine.
2800
8f9661dd
JL
2801Fri May 15 01:47:37 1998 Jeffrey A Law (law@cygnus.com)
2802
2803 * mips.c (print_operand, case 'x'): Use HOST_WIDE_INT_PRINT_HEX.
2804
b22284e1
MK
2805Fri May 15 01:42:45 1998 Mumit Khan <khan@xraylith.wisc.edu>
2806
2807 * objc/Make-lang.in (OBJC_O): Add missing exeext.
2808 (libobjc.a, runtime-info.h): Likewise.
2809
8a022443
JW
2810Fri May 15 01:29:39 1998 John Wehle (john@feith.com)
2811
2812 * i386.h (DATA_ALIGNMENT): Define.
2813
aa6498c2
R
2814Fri May 15 05:35:37 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
2815
2816 * reload1.c (delete_output_reload): Ignore single USE that
2817 was emitted for the pseudo use of this INSN.
2818 If the no reference to REG between OUTPUT_RELOAD_INSN and INSN
2819 remains, we can always delete OUTPUT_RELOAD_INSN.
2820
41372177
JW
2821Thu May 14 18:38:50 1998 Jim Wilson <wilson@cygnus.com>
2822
2823 * reload.c (find_reloads): Don't penalize SCRATCH output reload.
2824
ddc5654a
JL
2825Thu May 14 15:10:30 1998 Jeffrey A Law (law@cygnus.com)
2826
2827 * Makefile.in (expr.o): Remove dependency on deleted modemap.def file.
2828
9a0d1e1b
AM
2829Thu May 14 16:30:47 EDT 1998 Andrew MacLeod <amacleod@cygnus.com>
2830
2831 * eh-common.h: New file for basic EH data structures.
2832 * except.h: Various prototypes and structures for NEW_EH_MODEL
2833 * function.h (struct function): Add a struct eh_stack for the catch
2834 clause stack.
9b91d8f4 2835 * except.c (gen_exception_label): New function to generate an
9a0d1e1b
AM
2836 exception label.
2837 (push_eh_entry): Use gen_exception_label() and init 'label_used' field.
2838 (push_entry): New function to push an existing entry onto a stack.
9b91d8f4 2839 (receive_exception_label): New function to emit the code required
9a0d1e1b
AM
2840 at the start of all catch blocks.
2841 (struct func_eh_entry): New structure for maintaining handlers
2842 associated with EH regions.
2843 (new_eh_region_entry): New function to register an EH region.
2844 (add_new_handler): New function to register a handler with a region.
2845 (get_new_handler): Creates anew handler entry for registering.
2846 (find_func_region): New function to convert a NOTE eh region number
2847 to an Eh region index.
2848 (get_first_handler): New function to get the first handler in a region.
2849 (clear_function_eh_region): New function to release memory.
2850 (duplicate_handlers): New function to duplicate a list of handlers.
2851 (expand_eh_region_end): Create a new region entry node as well.
2852 (expand_leftover_cleanups): Call receive_exception_label() and
2853 register the cleanup as a handler to the current region.
2854 (expand_start_catch): New function to start a catch clause.
2855 (expand_end_catch): New function to end a catch clause.
2856 (expand_start_all_catch): restructure to not do the equivilent of
2857 what expand_start_catch() does now. Push the exception region being
2858 handled onto the catch stack.
2859 (output_exception_table_entry): Issue an entry for each handler
2860 associated with a region.
2861 (set_exception_lang_code): New function for setting the language code.
2862 (set_exception_version_code): New function to set the version number.
2863 (output_exception_table): Output version and language codes.
2864 (find_exception_handler_labels): Find handler labels using new scheme.
2865 (is_exception_handler_label): New function, returns 1 if label is
2866 present as a handler in some exception region.
2867 (check_exception_handler_labels): Use the new scheme.
2868 (init_eh_for_function): Initialize the catch stack.
2869 (save_eh_status): Save the catch stack.
2870 (restore_eh_status): Restore the catch stack.
2871 (scan_region): Don't remove unreferenced handler label. Flow does it.
2872 (get_reg_for_handler): New function to get the eh_context pointer
2873 passed by __throw.
2874 (expand_builtin_eh_stub): Changes required for NEW_EH_MODEL only.
2875 * final.c (final_scan_insn): With NEW_EH_MODEL, add EH table
2876 entry when processing END region rather that START region.
2877 * flow.c (find_basic_blocks_1): Find all potential handler regions
2878 now that we don't automatically know what the labels might be.
2879 Let scan_region() remove unreferenced EH BEGIN/END labels.
2880 * integrate.c (get_label_from_map): Put inlined labels onto the
2881 permanent obstack since we dont know which ones might be exception
2882 labels.
2883 (save_for_inline_copying): Make new copies of all the handlers.
2884 (expand_inline_function): Make new copies of all the handlers.
2885 * libgcc2.c: Remove local struct decls, and include eh-common.h.
9b91d8f4 2886 (find_exception_handler): With NEW_EH_MODEL the first matching
9a0d1e1b
AM
2887 region we find is the right one. Add eh_info as a new parameter.
2888 (__throw): Pass eh_info to find_exception_handler. Set handler
2889 and pass use different regs under NEW_EH_MODEL.
2890
2129b081
JW
2891Thu May 14 12:58:21 1998 Jim Wilson <wilson@cygnus.com>
2892
2893 * i960.h (hard_regno_mode_ok): Changed to function from array of
2894 unsigned.
2895 (HARD_REGNO_MODE_OK): Call function instead of testing bit.
2896 * i960.c (hard_regno_mode_ok): Changed to function from array of
2897 unsigned.
2898
029b38ff
R
2899Thu May 14 08:41:46 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
2900
2901 * reload.c (remove_replacements): New function.
2902 * reload.h (remove_replacements): Declare.
2903 * reload1.c (choose_reload_regs): Disable some reloads that
2904 belong to inherited reloads.
2905
efdb3590
R
2906Thu May 14 02:17:17 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
2907
9dd07f87
R
2908 * loop.c (scan_loop): Don't call move_moveables for optimize_size.
2909
efdb3590
R
2910 * reload1.c (merge_assigned_reloads): When merging, reset
2911 reload_spill_index for the eliminated reload.
2912
5d27de7d
JL
2913Wed May 13 17:51:13 1998 Jeffrey A Law (law@cygnus.com)
2914
2915 * haifa-sched.c (schedule_insns): Fix merge goof.
2916
92d4501f
JW
29171998-05-13 Jim Wilson <wilson@cygnus.com>
2918
2919 * varasm.c (make_decl_rtl): Revert April 1 change.
2920 * alpha/alpha.h, alpha/win-nt.h, arm/arm.h, i386/unix.h, i960/i960.h,
2921 m68k/linux.h, pa/pa.h, sparc/sparc.h, vax/vax.h (ASM_OUTPUT_MI_THUNK):
2922 Get function name from the SYMBOL_REF in the DECL_RTL, not from
2923 DECL_ASSEMBLER_NAME.
2924 * i386/winnt.c (gen_stdcall_suffix): Comment for questionable use of
2925 DECL_ASSEMBLER_NAME.
2926
d6cc54f6
JW
2927Wed May 13 13:09:19 1998 Jim Wilson <wilson@cygnus.com>
2928
2929 * i386.c (notice_update_cc, output_float_compare): Disable
2930 TARGET_CMOVE support.
2931
6d3352d9 2932Wed May 13 15:28:59 1998 Michael Meissner <meissner@cygnus.com>
0dfa1860
MM
2933 Jeff Law <law@cygnus.com>
2934
ae78d276
MM
2935 * rtlanal.c (find_reg_note): Ignore notes that are not on on
2936 insns of class 'i'.
2937 (find_regno_note): Likewise.
2938
82ce5b75
MM
2939 * Makefile.in (stor-layout.o): Depend on except.h
2940 (varasm.o, function.o): Likewise.
2941 (expr.o): Depend on except.h, modemap.def and hard-reg-set.h.
2942
0dfa1860
MM
2943 * Makefile.in (HOST_RTL): Add $(HOST_PREFIX)bitmap.o.
2944 (rtl.o, emit-rtl.o): Add dependency on bitmap.h.
2945 ($(HOST_PREFIX_1)rtl.o): Likewise.
2946 ($(HOST_PREFIX_1)bitmap.o): New host object.
2947 * emit-rtl.c (toplevel): Include bitmap.h.
2948 (gen_rtx): Handle 't' and 'b' nodes.
2949 * print-rtl.c (print_rtx): Handle printing NOTE_INSN_LIVE notes.
2950 Print block number for block begin/end notes. Print 't' type
2951 nodes as a pointer. Know that the 3rd argument of live range
2952 start/stop notes is really a range_info rtx. If type is 'b', print
2953 out argument as a bitmap.
2954 * rtl.c: Include bitmap.c.
2955 (copy_rtx): Copy tree nodes as is. Copy bitmaps if type is 'b'.
2956 (note_insn_name): Add NOTE_INSN_RANGE_{START,END}, NOTE_INSN_LIVE.
2957 * rtl.def (RANGE_LIVE): New node to hold live information while we
2958 recalculate the basic blocks.
2959 (RANGE_REG, RANGE_INFO): New rtl types for live range splitting.
9b91d8f4 2960 (RANGE_VAR): New node, to hold information saved in symbol node for New
0dfa1860
MM
2961 communicating live range information to the debug output functions.
2962 * rtl.h (rtunion_def): Add rttree and rtbit fields.
2963 (XBITMAP, XTREE): New accessor macros.
2964 (NOTE_LIVE_INFO): Overload NOTE_SOURCE_FILE for NOTE_INSN_LIVE notes.
2965 (NOTE_RANGE_INFO): Similarly for NOTE_INSN_RANGE_{START,END} notes.
2966 (NOTE_BLOCK_LIVE_RANGE_BLOCK): Define.
2967 (NOTE_INSN_RANGE_START, NOTE_INSN_RANGE_END, NOTE_INSN_LIVE): New notes.
2968 (RANGE_LIVE_{BITMAP,ORIG_BLOCK}): New accessor macros.
2969 (RANGE_REG_{SYMBOL,BLOCK}_NODE, RANGE_VAR_*): New accessor macros.
2970 (RANGE_INFO_*): Likewise.
2971 * sched.c (sched_analyze): Keep live range start/stop notes.
2972 (unlink_other_notes): Likewise.
2973 * haifa-sched.c (sched_analyze): Keep live range start/stop notes.
2974 (unlink_other_notes): Likewise.
2975 * tree.h (BLOCK_LIVE_RANGE_{START,END,VAR_FLAG}): New accessor macros.
2976 (BLOCK_LIVE_RANGE_FLAG): Likewise.
2977 (DECL_LIVE_RANGE_RTL): Likewise.
2978 (struct tree_block): Add live_range_flag, live_range_var_flag,
2979 live_range_start and live_range_end.
2980 (struct tree_decl): Add live_range_rtl field.
2981 * gengenrtl.c (type_from_format): Handle 'b' and 't'.
2982 (accessor_from_format): Likewise.
6d3352d9
MM
2983
2984 * haifa-sched.c (schedule_block): Make verbose output line up.
47312d84 2985 Also add a blank line in printing the individual ready lists.
6d3352d9 2986
63e76c87
KG
2987Wed May 13 15:43:44 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2988
2989 * Makefile.in (c-lang.o): Depend on c-tree.h, c-lex.h and toplev.h.
2990 (c-lex.o): Depend on output.h.
2991 (c-common.o): Likewise.
2992 (stmt.o): Likewise.
2993 (calls.o): Likewise.
2994 (integrate.o): Depend on toplev.h.
2995 (regclass.o): Depend on output.h.
2996 (final.o): Depend on reload.h.
2997
2998 * c-common.c: Include output.h.
2999 (check_format_info): Remove unused variable `integral_format'.
3000
3001 * c-decl.c (print_lang_decl): Mark parameters `file', `node' and
3002 `indent' with ATTRIBUTE_UNUSED.
3003 (print_lang_type): Likewise.
3004 (maybe_build_cleanup): Likewise for parameter `decl'.
3005 (copy_lang_decl): Likewise for parameter `node'.
3006
3007 * c-lang.c: Include c-tree.h, c-lex.h and toplev.h.
3008 (lang_print_xnode): Mark parameters `file', `node' and `indent'
3009 with ATTRIBUTE_UNUSED.
3010 (lookup_interface): Likewise for parameter `arg'.
3011 (is_class_name): Likewise.
3012 (maybe_objc_check_decl): Likewise for parameter `decl'.
3013 (maybe_objc_comptypes): Likewise for parameters `lhs', `rhs' and
3014 `reflexive'.
3015 (maybe_objc_method_name): Likewise for parameter `decl'.
3016 (build_objc_string): Likewise for parameters `len' and `str'.
3017
3018 * c-lex.c: Include output.h.
3019
3020 * c-lex.h (position_after_white_space): Correct typo in prototype.
3021
3022 * c-tree.h (finish_file, c_expand_start_cond, c_expand_start_else,
3023 c_expand_end_cond, init_iterators): Add prototypes.
3024
3025 * caller-save.c (set_reg_live): Mark parameters `reg' and `setter'
3026 with ATTRIBUTE_UNUSED.
3027
3028 * calls.c: Include output.h.
3029
3030 * cccp.c (pipe_closed): Mark parameter `signo' with
3031 ATTRIBUTE_UNUSED.
3032
3033 * combine.c: Move inclusion of expr.h to after insn-config.h.
3034
3035 * iris6.h (ASM_IDENTIFY_GCC, ASM_IDENTIFY_LANGUAGE): Don't define
3036 as empty, rather define as ((void)0).
3037
3038 * sparc.c (sparc_check_64): Add braces around ambiguous `else'.
3039 Add parentheses around assignment used as truth value.
3040
3041 * cplus-dem.c (squangle_mop_up): Change return type to void.
3042 (internal_cplus_demangle): Remove unused parameter `options'.
3043 All callers changed.
3044 (cplus_demangle_opname): Remove function wide variable `int i' and
3045 replace with `size_t i' at each location where it is used.
3046 (cplus_demangle_opname): change type of `i' from int to size_t.
3047
3048 * cppexp.c (right_shift): Mark parameter `pfile' with
3049 ATTRIBUTE_UNUSED.
3050
3051 * cpphash.c (cpp_lookup): Likewise.
3052 (cpp_hash_cleanup): Likewise.
3053
3054 * cpplib.c (parse_name): Add a prototype and make it static.
3055 (null_underflow): Mark parameter `pfile' with ATTRIBUTE_UNUSED.
3056 (null_cleanup): Likewise for parameters `pbuf' and `pfile'.
3057 (macro_cleanup): Likewise for parameter `pfile'.
3058 (file_cleanup): Likewise.
3059
3060 * cpplib.h (cpp_reader_init, cpp_options_init, cpp_start_read,
3061 cpp_read_check_assertion, skip_rest_of_line): Add prototypes.
3062
3063 * crtstuff.c (force_to_data, __CTOR_LIST__, force_to_data,
3064 __DTOR_END__, __FRAME_END__): Mark with ATTRIBUTE_UNUSED.
3065
3066 * cse.c (cse_check_loop_start): Mark parameter `set' with
3067 ATTRIBUTE_UNUSED.
3068
3069 * dbxout.c (flag_minimal_debug, have_used_extensions,
3070 source_label_number): Move inside macro wrapper check against
3071 defined (DBX_DEBUGGING_INFO) || defined (XCOFF_DEBUGGING_INFO).
3072
3073 * dwarf2out.c (gen_entry_point_die): Hide prototype and definition.
3074
3075 * except.h (doing_eh): Provide prototype.
3076
3077 * expr.c: Move inclusion of expr.h to after insn-config.h.
3078
3079 * final.c: Include reload.h.
3080 (shorten_branches): Cast the first argument of bzero to char *.
3081
3082 * fix-header.c (cpp_print_containing_files): Mark parameter
3083 `pfile' with ATTRIBUTE_UNUSED.
3084 (cpp_fatal): Likewise.
3085
3086 * flow.c (find_basic_blocks_1): Cast the first argument of bzero
3087 to char *.
3088
3089 * genattrtab.c (make_length_attrs): Change the type of variable
3090 `i' from int to size_t.
3091 (zero_fn): Mark parameter `exp' with ATTRIBUTE_UNUSED.
3092 (one_fn): Likewise.
9b91d8f4 3093
63e76c87
KG
3094 * genextract.c (main): When generating insn-extract.c, mark
3095 variable `junk' with ATTRIBUTE_UNUSED.
3096
3097 * gengenrtl.c (gencode): When generating genrtl.c, cast the first
3098 argument of bzero to char*.
3099
3100 * integrate.c: Include toplev.h.
3101
3102 * libgcc2.c: Wrap `struct exception_table' and
3103 `find_exception_handler' in macro DWARF2_UNWIND_INFO.
3104
3105 * objc/Make-lang.in (objc-act.o): Depend on toplev.h.
9b91d8f4 3106
63e76c87
KG
3107 * objc/objc-act.c: Include toplev.h.
3108 (lang_print_xnode): Mark parameters `file', `node' and `indent'
3109 with ATTRIBUTE_UNUSED.
3110 (finish_protocol): Likewise for parameter `protocol'.
3111
3112 * output.h (declare_weak): Add prototype.
3113 (decode_reg_name): Don't wrap with TREE_CODE macro.
3114 (assemble_alias): Add prototype.
3115
3116 * regclass.c: Include output.h.
3117
3118 * reload.h (reloads_conflict): Add prototype.
3119
3120 * rtl.h (print_rtl_single, mark_elimiation, reg_class_subset_p,
3121 output_func_start_profiler): Add prototypes.
3122
3123 * rtlanal.c (reg_set_p_1): Mark parameters `x' and `pat' with
3124 ATTRIBUTE_UNUSED.
3125
3126 * scan-decls.c: Include scan.h.
3127
3128 * scan.h (recognized_function, recognized_extern): Add prototypes.
3129
3130 * stmt.c: Include output.h.
3131
3132 * toplev.c (error_for_asm, warning_for_asm): Remove prototypes.
3133 (output_lang_identify): Hide prototype and definition.
3134 (float_signal): Mark parameter `signo' with ATTRIBUTE_UNUSED.
3135 (pipe_closed): Likewise.
3136
3137 * toplev.h (count_error, strip_off_ending, error_for_asm,
3138 warning_for_asm): Add prototypes.
3139
a494747c 3140Wed May 13 12:54:19 1998 Michael Meissner <meissner@cygnus.com>
a494747c 3141
32e705c4
MM
3142 * toplev.c (rest_of_compilation): "Charge" final for any time
3143 doing various cleanup operations after finishing compilation
3144 of a function.
3145
9b91d8f4 3146 * flow.c (dump_flow_info): Also print number of sets and
6fc4610b
MM
3147 whether or not the pseudo is a user variable.
3148
a494747c
MM
3149 * flow.c (reg_n_max): New global variable.
3150 * regclass.c (allocate_reg_info): Keep reg_n_max up to date.
3151 Delete regno_max variable.
3152 * regs.h (REG_N_CHECK): Define.
3153 (REG_N_REFS, REG_N_SETS, REG_N_DEATHS): Use REG_N_CHECK.
3154 (REG_N_CHANGES_SIZE, REG_N_CALLS_CROSSED, REG_LIVE_LENGTH): Likewise.
3155 (REGNO_FIRST_UID, REGNO_LAST_UID, REGNO_LAST_NOTE_UID): Likewise.
3156
21622caf
JL
3157Wed May 13 12:54:19 1998 Martin von Loewis <martin@mira.isdn.cs.tu-berlin.de>
3158
3159 * acconfig.h (ENABLE_CHECKING): Undefine.
3160 * configure.in (--enable-checking): New option.
3161
d668e863
R
3162Wed May 13 08:52:08 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
3163
3164 * reload1.c (merge_assigned_reloads): Can merge
3165 RELOAD_FOR_INPUT_ADDRESS and RELOAD_FOR_OTHER_ADDRESS even
3166 if RELOAD_FOR_INPUT with the same reload_reg_rtx is present.
3167
b706d7f2
JW
3168Tue May 12 20:05:57 1998 Jim Wilson <wilson@cygnus.com>
3169
3170 * collect2.c (main): Ignore do_collecting when COLLECT_EXPORT_LIST.
3171
4117a96b
R
3172Wed May 13 03:23:45 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
3173
3174 * reload1.c (gen_reload): Create REG_EQUIV notes.
3175
4d3eb414
R
3176Tue May 12 22:21:07 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
3177
3178 * reload1.c (reload): Fix check for USEs to use code of pattern.
3179 (choose_reload_regs): Remove dead variable use_insn.
3180
b10c8966
JL
3181Tue May 12 14:04:49 1998 Jeffrey A Law (law@cygnus.com)
3182
9b91d8f4 3183 * pa.h (DBX_CONTIN_LENGTH): Reduce to 3000 bytes.
b10c8966 3184
cbb13457
MM
3185Tue May 12 15:16:02 1998 Michael Meissner <meissner@cygnus.com>
3186
3187 * haifa-sched.c (HAIFA_INLINE): Define to be __inline unless
3188 already defined.
3189 (find_insn_{,mem_}list): Use HAIFA_INLINE, not __inline.
3190 (insn_{unit,issue_delay}): Ditto.
3191 (blockage_range): Ditto.
3192 (actual_hazard{,_this_instance}): Ditto.
3193 (schedule_unit): Ditto.
3194 (potential_hazard): Ditto.
3195 (insn_cost): Ditto.
3196 (swap_sort): Ditto.
3197 (queue_insn): Ditto.
3198 (birthing_insn_p): Ditto.
3199 (adjust_priority): Ditto.
3200 (get_block_head_tail): Ditto.
3201 (init_rgn_data_dependences): Ditto.
3202
1478d88a
KK
3203Tue May 12 10:27:54 1998 Klaus Kaempf <kkaempf@progis.de>
3204
3205 * alpha/vms.h (COMMON_ASM_OP, ASM_OUTPUT_ALIGNED_COMMON): Define.
3206
a688e0b7
GK
3207Tue May 12 11:44:14 1998 Gavin Koch <gavin@cygnus.com>
3208
3209 * config/mips/mips.h (ASM_OUTPUT_ALIGN): Remove trailing semi-colon.
3210
ec350bdd
GK
3211Tue May 12 11:38:31 1998 Gavin Koch <gavin@cygnus.com>
3212
3213 * config/mips/mips.md (dslot): Move after definition of "cpu"
3214 attribute. Handle r3900 case.
3215
d4ba0ead
KG
3216Tue May 12 10:21:36 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3217
3218 * system.h: Define the STRINGIFY macro here.
3219 * protoize.c: Not here.
3220 * gengenrtl.c (DEF_RTL_EXPR): Use the STRINGIFY macro.
3221
8a198bd2
JW
3222Tue May 12 00:47:33 1998 John Wehle (john@feith.com)
3223
9b91d8f4 3224 * varasm.c (assemble_variable): Compute the alignment of the data
8a198bd2
JW
3225 earlier so that both initialized and uninitialized variables are
3226 effected by DATA_ALIGNMENT.
3227 * tm.texi (DATA_ALIGNMENT): Updated appropriately.
3228
eace3df1
JL
3229Mon May 11 19:57:58 1998 Jeffrey A Law (law@cygnus.com)
3230
3231 * mips.c: Prototype static functions.
3232
a9e95099
JW
3233Mon May 11 17:43:03 1998 Jim Wilson <wilson@cygnus.com>
3234
b1a7d591
JW
3235 * regmove.c (fixup_match_2, find_matches, regmove_profitable):
3236 Add explanatory comments.
3237
a9e95099
JW
3238 * sparc.h (SPARC_INCOMING_INT_ARG_FIRST): Support TARGET_FLAT.
3239
0f177d7c
RH
3240Mon May 11 17:24:27 1998 Richard Henderson <rth@cygnus.com>
3241
3242 * sparc.md (ffsdi2): Disable. Simplify the expression as well.
3243
28233641
JW
3244Mon May 11 13:30:44 1998 Jim Wilson <wilson@cygnus.com>
3245
3246 * varasm.c (make_decl_rtl): Disable April 1 change.
3247
e55a5ea6
RH
3248Mon May 11 09:14:41 1998 Richard Henderson <rth@cygnus.com>
3249
3250 * configure.in (alpha-*-linux-gnu): Undo lossage from gcc2 merge.
3251
e83015a9
RH
3252Mon May 11 08:24:18 1998 Richard Henderson <rth@cygnus.com>
3253
3254 * alpha.h (PRINT_OPERAND_PUNCT_VALID_P): Add '`'.
3255 * alpha.c (print_operand): Handle it.
9b91d8f4 3256 * alpha.md (fix_truncdfsi2, fix_truncsfsi2): New patterns and
e83015a9
RH
3257 related define_splits. Also add peepholes for SImode reload
3258 plus sign_extend lossage.
3259
320e7c40
KG
3260Mon May 11 09:33:10 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3261
3262 * genattr.c: Include stdarg.h/varargs.h. Change function
3263 `fatal' to use variable arguments instead of faking it with
3264 integer parameters. Provide a prototype which also
3265 checks the format specifiers using ATTRIBUTE_PRINTF_1.
3266
3267 * genattrtab.c: Likewise.
3268 * gencodes.c: Likewise.
3269 * genconfig.c: Likewise.
3270 * genemit.c: Likewise.
3271 * genextract.c: Likewise.
3272 * genflags.c: Likewise.
3273 * genopinit.c: Likewise.
3274 * genpeep.c: Likewise.
3275 * genrecog.c: Likewise.
3276 * genoutput.c: Likewise. Similarly for function `error'.
3277
e9b4fabf
JL
3278Sun May 10 02:27:03 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3279
3280 * acconfig.h (HAVE_VOLATILE): Insert stub for autoconf.
3281 * alocal.m4 (GCC_C_VOLATILE): New autoconf test.
3282 * configure.in: Use GCC_C_VOLATILE.
3283 * system.h (volatile): Define as empty if no volatile support is
3284 available.
3285
3286Sun May 10 01:21:43 1998 Jeffrey A Law (law@cygnus.com)
3287
3288 * genemit.c (output_add_clobbers): Removed unused variable 'i' from
3289 generated fucntion.
3290
f283421d
RH
3291Sat May 9 02:02:15 1998 Richard Henderson <rth@cygnus.com>
3292
3293 * loop.c (get_condition): Don't combine when either compare is MODE_CC.
3294 * alpha.c (alpha_emit_conditional_branch): New function. Taken from
3295 the body of beq; additionally set the mode of the branch to CCmode for
9b91d8f4 3296 FP compares and not fast_math.
f283421d
RH
3297 (alpha_emit_conditional_move): Always use a compare insn for FP
3298 when not fast_math, as well as setting CCmode on the cmov.
3299 * alpha.md (beq, bne, blt, et al): Call alpha_emit_conditional_branch.
3300
3301 * machmode.h (COMPLEX_MODE_P): New macro.
3302
53c0919d
RH
3303Sat May 9 01:53:23 1998 Richard Henderson <rth@cygnus.com>
3304
3305 * haifa-sched.c (print_exp): Fix typo.
3306
23d297ab
JL
3307Fri May 8 21:48:50 PDT 1998 Jeff Law (law@cygnus.com)
3308
3309 * version.c: Bump for snapshot.
3310
cf879efa
MM
3311Fri May 8 18:23:08 1998 Michael Meissner <meissner@cygnus.com>
3312
3313 * final.c (final_scan_insn): Call fatal_insn instead of abort if
3314 we could not split an insn when required to.
3315
5b8ae21f
MM
3316 * m32r.md ({add,sub}di3): Add define_splits and appropriate low
3317 level insns.
3318 (peepholes): Disable peepholes that call dead_or_set_p.
3319 (movsi): Rewrite to handle addresses better after last change.
3320 Add define_split to split load of addresses in large/medium modes.
3321 (prologue): Call m32r_expand_prologue.
3322 (movsi_{push,pop}): Generators for push/pop.
3323 (movsi): Support PRE_{INC,DEC}, POST_INC.
3324 (mov{di,df}): Rewrite. Always split the insns.
3325 (movsf): Add define_split to get register load in correct mode.
3326 (cmp_ne_small_const_insn): Use 'N' instead of 'S' constraint.
3327 (attributes): Rewrite attributes so that type indicates both the
3328 type and the length of the insn directly.
3329 (all insns): Change to use new type attributes.
3330 (debug): New attribute to convey whether -mdebug was used.
3331 (opt_space): New attribute to convey whether -Os was used.
3332 (function units): Loads are 3 cycles, not 2. Better classify all
3333 insns into short/long.
3334 (load/store/extend insns): Add separate case for load/store
3335 indirect operations without an offset.
3336 (divsi3): Division is a long operation, not short.
3337
3338 * m32r.h (LEGITIMATE_LO_SUM_ADDRESS_P): Do not allow LO_SUM for
3339 modes > 1 word.
3340 (GO_IF_MODE_DEPENDENT_ADDRESS): LO_SUM is now mode dependent.
3341 (CONST_OK_FOR_LETTER_P): Make 'N' handle reverse 8 bit compares.
3342 (EXTRA_CONSTRAINT): Remove 'S' special support. Add 'U' for
3343 operands with PRE_{INC,DEC}, POST_INC.
3344 (FUNCTION_PROFILER): Call abort instead of doing nothing.
3345 (GO_IF_LEGITIMATE_ADDRESS): Allow PRE_{INC,DEC}, POST_INC of
3346 SImode variables.
3347 (gen_split_move_double): Declare.
3348 (EXTRA_CONSTRAINT): Add 'T' for memory reference with no offset.
3349
3350 * m32r.c (gen_split_move_double): Fix typo. Also, don't call
3351 emit_move_insn, build up SET's directly.
3352 (toplevel): Include system.h, not stdio.h.
3353 (move_double_src_operand): Allow any DF or DI mode constant.
3354 (gen_split_move_double): Split moves of DI or DF values into the
3355 appropriate moves, loads, or stores. Don't handle use of auto
3356 inc/dec if using dead index. Do handle overlapping moves, etc.
3357 (m32r_frame_info): Remove prologue_size field.
3358 (m32r_compute_frame_size): Don't calculate prologue size.
3359 (m32r_output_function_prologue): Change to pretty much a NOP.
3360 (m32r_expand_prologue): Expand prologue as a series of INSNs.
3361 (m32r_print_operand): Add support for PRE_{INC,DEC}, POST_INC.
3362 (m32r_print_operand_address): Ditto.
9b91d8f4 3363
d7c2e385
L
3364Fri May 8 14:13:21 1998 H.J. Lu (hjl@gnu.org)
3365
3366 * reload1.c (emit_reload_insns): When performing expensive
3367 optimizations, do not output the last reload insn if OLD is
3368 not the dest of NSN and is in the src and is clobbered by INSN.
3369
560bd19e
KG
3370Fri May 8 09:47:29 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3371
3372 * Makefile.in (genrtl.o): Depend on system.h.
3373 * gengenrtl.c (gencode): When creating genrtl.c, have it
3374 include system.h.
3375
0d33d22e
AS
3376Fri May 8 10:57:33 1998 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3377
3378 * config/m68k/t-linux: Remove extra stuff already included in
3379 config/t-linux.
3380
dea4ae0d
MH
3381Fri May 8 09:53:24 Paul Eggert <eggert@twinsun.com>
3382
3383 * fixinc.wrap: Renamed from fixinc.math. Put wrapper around
3384 curses.h if it contains `typedef char bool;', as suggested by
3385 Manfred Hollstein <manfred@s-direktnet.de>.
3386
3387 * configure.in: Rename fixinc.math to fixinc.wrap.
3388
02e56202
JW
3389Thu May 7 19:26:34 1998 Jim Wilson <wilson@cygnus.com>
3390
bbeb7b65
JW
3391 * gcc.c (read_specs): Handle missing blank line at end of specs file.
3392
02e56202
JW
3393 * i386.md (movsicc, movhicc, movsicc_1, movhicc_1, movsfcc_1,
3394 movdfcc_1): Disable.
3395
e445171e
JW
3396Thu May 7 15:39:14 1998 Jim Wilson <wilson@cygnus.com>
3397
3398 * configure.in (enable_threads): Rename to enable_threads_flag before
3399 main loop. Set enable_threads to enable_threads_flag inside main
3400 loop.
3401
a1b5a7e1
MM
3402Thu May 7 17:38:03 1998 Michael Meissner <meissner@cygnus.com>
3403
3404 * r6000/eabi.asm (__eabi): Restore LR in case __eabi is called
3405 multiple times.
3406
76b4b31e
KG
3407Thu May 7 14:26:05 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3408
3409 * aclocal.m4 (GCC_FUNC_VFPRINTF_DOPRNT): New macro.
9b91d8f4 3410
76b4b31e
KG
3411 * configure.in: Add a call to GCC_FUNC_VFPRINTF_DOPRNT.
3412 (AC_CHECK_HEADERS): Remove unused check for varargs.h,sys/varargs.h.
3413 (AC_CHECK_FUNCS): Remove unused check for vprintf.
9b91d8f4 3414
76b4b31e
KG
3415 * Makefile.in: Add support for linking in vfprintf.c and doprint.c.
3416 (cccp.o): Depend on gansidecl.h.
3417 (cexp.o): Likewise.
3418
3419 * cccp.c: Convert from using PRINTF_ALIST/PRINTF_DCL to VPROTO as
3420 per the rest of gcc source.
3421 * cexp.y: Likewise. Include gansidecl.h and remove all code made
3422 redundant.
3423
3424 * cccp.c: Remove checks for HAVE_VPRINTF and the associated code
3425 used when vfprintf is missing.
3426 * cexp.y: Likewise.
3427 * gcc.c: Likewise.
3428 * genattrtab.c: Likewise.
3429 * mips-tfile.c: Likewise.
3430 * toplev.c: Likewise.
3431
3432 * vfprintf.c: New file.
3433 * doprint.c: New file.
3434
bebc4663
JL
3435Thu May 7 10:18:41 1998 Jeffrey A Law (law@cygnus.com)
3436
3437 * config/linux.h (ASM_COMMENT_START): Remove from here,
3438 * config/linux-aout.h (ASM_COMMENT_START): and here,
3439 * config/i386/linux.h (ASM_COMMENT_START): to here,
3440 * config/i386/linux-aout.h (ASM_COMMENT_START): and here.
3441 * config/i386/linux-oldld.h (ASM_COMMENT_START): Define
3442 here as '#' too.
3443
436bf9fb
AS
3444Thu May 7 10:55:59 1998 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3445
3446 * config/m68k/m68k.md (adddi3, subdi3): Properly negate the DImode
9b91d8f4 3447 constant.
436bf9fb 3448
f103890b
RL
3449Wed May 6 22:32:37 CDT 1998 Robert Lipe <robertl@dgii.com>
3450
3451 * Makefile.in (dwarfout.o) Add toplev.h dependency.
3452 * dwarfout.c, i386.c: Include toplev.h
3453 * toplev.h: (pfatal_with_name) Add prototype.
3454
024b5658
JM
3455Wed May 6 19:02:29 1998 Jason Merrill <jason@yorick.cygnus.com>
3456
3457 * Makefile.in: Fix .SUFFIXES.
3458
410c3875
AM
3459Wed May 6 19:31:32 1998 Alan Modra <alan@spri.levels.unisa.edu.au>
3460
3461 * config/linux.h (ASM_COMMENT_START): Define as "#".
3462 * config/linux-aout.h (ASM_COMMENT_START): Likewise.
3463
7e073314
JW
3464Wed May 6 15:51:39 1998 Jim Wilson <wilson@cygnus.com>
3465
71ebb3b8
JW
3466 * objc/Make-lang.h (objc-parse.o): Add toplev.h dependency.
3467 * objc/objc-parse.y, objc/objc-parse.c: Regenerate.
3468
a0c8e1b2
JW
3469 * toplev.c: Include toplev.h.
3470 * Makefile.in (c-common.o, c-convert.o, c-decl.o, c-iterate.o,
3471 c-lex.o, c-parse.o, c-pragma.o, c-typeck.o, calls.o, convert.o,
3472 dwarf2out.o, except.o, expr.o, final.o, fold-const.o, function.o,
3473 hash.o, profile.o, real.o, reg-stack.o, regclass.o, reload.o,
3474 reload1.o, stmt.o, stor-layout.o, tlink.o, tree.o, varasm.o): Add
3475 toplev.h dependency.
9b91d8f4 3476
1b15c5de
JW
3477 * mips/mips.c (save_restore_insns): Change FRAME_POINTER_REGNUM to
3478 HARD_FRAME_POINTER_REGNUM.
3479
7e073314
JW
3480 * expr.c (target_temp_slot_level): Delete duplicate definition.
3481
d06eab0d
JL
3482Wed May 6 16:46:01 1998 Jeffrey A Law (law@cygnus.com)
3483
df03cab5 3484 * stmt.c (mark_seen_cases): Make it have external linkage again.
0586a4ce
JL
3485 * expr.h (mark_seen_cases): Add declaration, but only when tree.h
3486 has been included.
df03cab5 3487
6b879bcc
JL
3488 * haifa-sched.c (print_value, case SUBREG): Fix typo.
3489
6b28fd63
JL
3490 * i386.c (output_387_binary_op): Add some braces to avoid warnings.
3491 * i386.h (REG_CLASS_CONTENTS): Similarly.
3492
cc132865
JL
3493 * toplev.c (-fsched-max): Delete flag.
3494 (-fsched-interblock-max-blocks,-fsched-interblock-max-insns): Likewise.
3495 * haifa-sched.c: Remove -fsched-max-N, -fsched-interblock-max-blocks-N
3496 and -fsched-interblock-max-insns-N support. Remove INTERBLOCK_DEBUG
3497 conditionals.
3498
3499 * haifa-sched.c (find_rgns): Correctly handle reducible loops with
3500 inner loops which are not reducible.
3501
fd4a1ca5
JL
3502 * loop.c (regs_match_p): Fix typo in prototype.
3503
d06eab0d
JL
3504 * regmove.c (try_auto_increment): Wrap declaration inside an
3505 #ifdef AUTO_INC_DEC.
3506
31bfbf1f
MM
3507Wed May 6 17:07:47 1998 Michael Meissner <meissner@cygnus.com>
3508
3509 * final.c (output_operand_lossage): Call fatal with the operand
3510 lossage message instead of calling abort.
3511
e9a780ec
KG
3512Wed May 6 15:37:27 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3513
3514 * c-common.c: Convert to using ctype macros defined in system.h.
3515 * c-lex.c: Likewise.
3516 * cccp.c: Likewise.
3517 * collect2.c: Likewise.
3518 * rs6000.c: Likewise.
3519 * cpplib.c: Likewise.
3520 * fix-header.c: Likewise.
3521 * gcc.c: Likewise.
3522 * gen-protos.c: Likewise.
3523 * pexecute.c: Likewise.
3524 * protoize.c: Likewise.
3525 * rtl.c: Likewise.
3526 * scan.c: Likewise.
3527 * stmt.c: Likewise.
3528 * tlink.c: Likewise.
9b91d8f4 3529 * toplev.c: Likewise.
e9a780ec 3530
d4c3e60e
GK
3531Wed May 6 14:44:14 1998 Gavin Koch <gavin@cygnus.com>
3532
9b91d8f4 3533 * config/mips/r3900.h (SUBTARGET_ASM_DEBUGGING_SPEC) :
d4c3e60e
GK
3534 Replace -gdwarf-2 with -g0.
3535
90fbb8c9
KG
3536Wed May 6 11:43:18 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3537
3538 * Makefile.in (mips-tfile.o, mips-tdump.o): Depend on system.h.
3539 * mips-tdump.c: Include system.h, remove redundant headers.
3540 * mips-tfile.c: Likewise. Also, convert all ctype function calls
3541 to calls of the macro versions defined in system.h.
3542
3543 * objc/Make-lang.in (objc-act.o): Depend on system.h.
3544 * objc/objc-act.c: Include system.h, remove redundant headers.
3545
8f81384f
KG
3546Wed May 6 11:21:06 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3547
3548 * configure.in (AC_CHECK_FUNCS): Add isascii.
3549 (GCC_NEED_DECLARATIONS): Add atof.
3550
3551 * system.h: Provide prototypes for abort, atof, atol and sbrk here.
3552 * rtl.c, rtl.h, toplev.c, tree.h: Not here.
3553
e572c0c6
KG
3554Wed May 6 10:52:49 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3555
3556 * system.h: Wrap time.h and sys/file.h in autoconf checks.
3557 Provide default definitions for O_RDONLY and O_WRONLY here.
3558
3559 * cccp.c, cpplib.c, fix-header.c, gcc.c, protoize.c: Not here.
3560
8830da36
MM
35611998-05-06 Mark Mitchell <mmitchell@usa.net>
3562
3563 * tree.h (IS_EXPR_CODE_CLASS): Remove bogus '3'.
3564
c5ff95e6
RL
3565Wed May 6 06:35:38 1998 Robert Lipe <robertl@dgii.com>
3566
3567 * toplev.h: New file. Protypes for functions in toplev.c.
3568 * tree.h, rtl.h: Deleted protos for functions in toplev.c.
9b91d8f4
UD
3569 * c-common.c, c-convert.c, c-decl.c, c-iterate.c, c-lex.c,
3570 c-parse.in, c-parse.y, c-pragma.c, c-typeck.c, calls.c,
3571 convert.c, dwarf2out.c, except.c, expr.c, final.c, fold-const.c,
3572 function.c, hash.c, profile.c, real.c, reg-stack.c, regclass.c,
3573 reload.c, reload1.c, stmt.c, stor-layout.c, tlink.c, tree.c,
c5ff95e6
RL
3574 varasm.c: include it.
3575
15ebe47d
JL
3576Wed May 6 01:09:01 1998 Jeffrey A Law (law@cygnus.com)
3577 Jim Wilson (wilson@cygnus.com)
3578
3579 * haifa-sched.c (find_rgns): In no_loops case, fix test for leaf
3580 blocks. Check for 1 successor which is the EXIT_BLOCK.
3581
3582 * haifa-sched.c (find_rgns): Detect unreachable blocks, including
3583 unreachable loops with more than one block.
3584
dbbfa8c8
MH
3585Wed May 6 08:22:24 1998 Manfred Hollstein <manfred@s-direktnet.de>
3586
3587 * fix-header.c (write_rbrac): Add "abort" to functions which need to
3588 be protected.
3589
f5963e61
JL
3590Wed May 6 00:09:36 1998 Jeffrey A Law (law@cygnus.com)
3591
3592 * Check in merge from gcc2. See ChangeLog.12 for details.
3593
3d90c2b5
JW
3594Tue May 5 14:33:49 1998 Jim Wilson <wilson@cygnus.com>
3595
c6a9dea8
JW
3596 * c-common.c (scan_char_table): Separate 's' and 'c'. 'c' does not
3597 accept 'a' flag. 'S' does accept 'a' flag.
3598 (check_format_info): When pedantic, warn for m/C/S/a/A formats,
3599 and `a' flag.
3600
3d90c2b5
JW
3601 * elf64.h (MULTILIB_DEFAULTS): Move definition after mips.h include.
3602
97b57a81
AS
3603Tue May 5 10:50:39 1998 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3604
3605 * config/m68k/m68k.h: Declare functions from m68k.c used in
3606 macros and machine description.
3607 (ASM_OUTPUT_LONG_DOUBLE): Always use `l' flag in print format for
3608 long values.
3609 (ASM_OUTPUT_FLOAT): Likewise.
3610 (ASM_OUTPUT_FLOAT_OPERAND): Likewise.
3611
c5c63738
JM
3612Tue May 5 01:28:12 1998 Jason Merrill <jason@yorick.cygnus.com>
3613
3614 * tree.def: Add NAMESPACE_DECL.
3615 * dwarfout.c (type_ok_for_scope): Ignore NAMESPACE_DECLs for now.
3616 * dwarf2out.c (push_decl_scope): Likewise.
3617 (scope_die_for): Likewise.
3618 * tree.c (decl_function_context): Use TREE_CODE_CLASS to determine
3619 how to get next context level.
3620
2e14a41b
JW
3621Tue May 5 01:43:16 1998 Jim Wilson <wilson@cygnus.com>
3622
3623 * i386.c (output_fix_trunc): Add code to emulate non-popping DImode
3624 case.
3625
f78c792c
JL
3626Tue May 5 01:15:06 1998 Jeffrey A Law (law@cygnus.com)
3627
8b05263d
JL
3628 * h8300.h (ADDITIONAL_REGISTER_NAMES): Add "er" registers.
3629
f78c792c
JL
3630 * reorg.c (fill_slots_from_thread): Update REG_DEAD/REG_UNUSED notes
3631 for any insns skipped at the start of a block because they were
3632 redundant.
3633
4330b0e7
JW
3634Mon May 4 20:23:51 1998 Jim Wilson <wilson@cygnus.com>
3635
3636 * alpha.h (DBX_CONTIN_LENGTH): Decrease to 3000.
3637
b57062ca
UD
36381998-05-04 Ulrich Drepper <drepper@cygnus.com>
3639
3640 * c-common.c (format_char_info): Add new field hhlen.
3641 (print_char_table, scan_char_table, time_char_table): Initialize
3642 hhlen field appropriately.
3643 (char_format_info): Recognize hh modifier and lookup correct char
3644 table entry.
3645
06eaa86f
JW
3646Mon May 4 19:15:29 1998 Jim Wilson <wilson@cygnus.com>
3647
3648 * expr.c (expand_expr, case INDIRECT_REF): Don't optimize string
3649 reference if this is a store.
3650
9ed5dc54
RH
3651Mon May 4 17:25:17 1998 Richard Henderson <rth@cygnus.com>
3652
3653 * sparc.c (output_move_quad): Fix typo in mov_by_64 argument.
3654
fb6d9312
RL
3655Sun May 3 23:57:25 1998 Robert Lipe <robertl@dgii.com>
3656
3657 Make UnixWare 7 bootstrap support work with final shipping product.
b57062ca 3658 * configure.in: (i[34567]86-*-sysv5): append, not overwrite, xm_file.
fb6d9312
RL
3659 Pick up xm-siglist and xm-alloca.
3660 (xm_defines): Add USG so dbxout will build.
3661 * configure: Regenerate.
3662
b53beeb2 3663Sun May 3 13:51:34 PDT 1998 Richard Henderson <rth@cygnus.com>
82d6b402
RH
3664
3665 Support for official Sparc V9 ABI:
3666 * sparc.c (sparc_override_options): Force stack bias off for !arch64.
3667 Care for flag_pcc_struct_return default.
3668 (output_move_quad): Rewrite to move by halves on v9 and in the
3669 proper direction.
3670 (move_quad_direction): New function.
3671 (output_fp_move_quad): Use it to determine the direction of copy.
3672 (function_arg_slotno): Return -1 for FP reg overflow as well.
3673 (function_arg_record_value*): New functions.
3674 (function_arg): Use them. Streamline unprototyped parameter passing.
3675 (function_arg_pass_by_reference): Pass TCmode by reference.
3676 (function_value): New function.
3677 * sparc.h (PTRDIFF_TYPE, SIZE_TYPE): For -pedantic's sake, don't use
3678 long long in 64-bit mode.
3679 (RETURN_IN_MEMORY): v9 returns structs < 32-bytes in regs.
3680 (DEFAULT_PCC_STRUCT_RETURN): Make the default detectable.
3681 (BASE_RETURN_VALUE_REG): Consider complex float types for arch64.
3682 (BASE_OUTGOING_VALUE_REG, BASE_PASSING_ARG_REG): Likewise.
3683 (BASE_INCOMING_ARG_REG): Likewise.
3684 (FUNCTION_VALUE): Call function_value.
3685 (FUNCTION_OUTGOING_VALUE, LIBCALL_VALUE): Likewise.
3686 * sparc.md (movdi_sp32_v9): Disable for arch64.
3687 (movsf, movdf, movtf): Sort all ulternatives using fp regs first.
3688 (call_value_address_sp64): Remove register class constraints.
3689 (call_value_symbolic_sp64): Likewise.
3690 (nonlocal_goto): Pass label reg directly to goto_handlers. Constrain
3691 v9 case to 32-bit constants.
3692 (goto_handler_and_restore_v9): Provide a version for arch64.
3693 * sparc/linux64.h (SIZE_TYPE, PTRDIFF_TYPE): Remove private definition.
3694 * sparc/sp64-aout.h (TARGET_DEFAULT): Turn on stack bias.
3695 (CPP_PREDEFINES): New.
3696 * sparc/sp64-elf.h: Likewise.
3697 (PREFERRED_DEBUGGING_TYPE): Dwarf2.
3698 (ASM_OUTPUT_DWARF2_ADDR_CONST): New.
3699 * sparc/sysv4.h (SIZE_TYPE, PTRDIFF_TYPE): Undo svr4.h's changes.
3700
e40abc32
JL
3701Sat May 2 17:47:17 PDT 1998 Jeff Law (law@cygnus.com)
3702
3703 * version.c: Bump for snapshot.
3704
b60a8416
R
3705Sat May 2 01:37:29 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
3706
3707 * reload.c (find_reloads): Emit USEs to mark where a pseudo
1e89ac8a 3708 is reloaded with the MEM of its stack slot.
b60a8416
R
3709 * reload1.c (cannot_omit_stores): Delete.
3710 (reload): Don't initialize it.
3711 Don't apply avoid_return_reg logic to USEs.
3712 When done, remove USEs that have a REG_EQUAL note on them.
3713 (emit_reload_insns): Handle case where we have inherited a MEM.
4d3eb414 3714 (choose_reload_regs): Likewise.
b60a8416
R
3715 (delete_output_reload): Don't use cannot_omit_stores.
3716
c1879238
JW
3717Thu Apr 30 18:59:03 1998 Jim Wilson <wilson@cygnus.com>
3718
3719 * Makefile.in (cpp.info, gcc.info): Put -o option before input file.
3720
459b3825
MM
3721Thu Apr 30 16:57:34 1998 Michael Meissner <meissner@cygnus.com>
3722
3723 * haifa-sched.c (print_{exp,value}): Various changes to make the
3724 debug output easier to read. Also, use only one buffer, and make
3725 sure the buffer we are passed in doesn't overflow.
3726 (safe_concat): Concatenate to a buffer without overflow.
3727
3fe4d12a 3728Thu Apr 30 16:57:34 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
459b3825
MM
3729
3730 * haifa-sched.c (alloc_{INSN,EXPR}_LIST): Make static to agree
3731 with the prototype.
b57062ca 3732
93da030f
R
3733Wed Apr 29 21:45:16 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
3734
3735 * sched.c (new_insn_dead_notes): Check if the register was
3736 used in the original instruction.
3737 * haifa-sched.c (new_insn_dead_notes): Likewise.
3738
0c84c618
JW
3739Wed Apr 29 13:46:03 1998 Jim Wilson <wilson@cygnus.com>
3740
3741 * dwarf2out.c (scope_die_for): If could not find proper scope,
3742 check for and handle tagged type with incorrect TYPE_CONTEXT.
3743
bf5f0e90
JC
3744Wed Apr 29 15:34:40 1998 John Carr <jfc@mit.edu>
3745
3746 * calls.c (expand_call): Fix recognition of C++ operator new.
3747
3748 * alias.c (mode_alias_check): Disable type based alias detection.
3749
a0281dae
GK
3750Wed Apr 29 15:06:42 1998 Gavin Koch <gavin@cygnus.com>
3751
3752 * config/mips/elf.h (ASM_OUTPUT_DEF,ASM_WEAKEN_LABEL,
3753 ASM_OUTPUT_WEAK_ALIAS): Define.
3754 * config/mips/elf64.h: Same.
3755 * config/mips/r3900.h (ASM_OUTPUT_DEF,SUPPORTS_WEAK,
3756 ASM_WEAKEN_LABEL): Removed.
3757
55666054
AS
3758Wed Apr 29 10:53:29 1998 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3759
3760 * calls.c (expand_call): Bump the length limit on the specially
3761 recognized function names to 17.
3762
2cea586a
JW
3763Tue Apr 28 17:53:33 1998 Jim Wilson <wilson@cygnus.com>
3764
f60d6248
JW
3765 * ginclude/stddef.h: Add check for _MACHINE_ANSI_H_ for BSD/OS
3766 when undefining macros at the end.
3767
bf931ec8
JW
3768 * expr.c (expand_builtin, case BUILT_IN_MEMSET): Break if either
3769 val or len has TREE_SIDE_EFFECTS set.
3770
2cea586a
JW
3771 * sparc.md (mulsidi3): Call const v8plus and v8plus routines.
3772 (mulsidi3_v8plus, const_mulsidi3_v8plus): Delete asterisk from name.
3773 (smuldi3_highpart): Call const v8plus routine.
3774 (smulsi3_highpart_v8plus): Renamed from smulsidi3_highpart_v8plus.
3775 (const_smulsi3_highpart_v8plus): New pattern.
3776 (smulsi3_highpart_sp32): Renamed from smulsidi3_highpart_sp32.
3777 (umulsidi3): Call const v8plus routine.
3778 (umulsi3_highpart): Handle const before v8plus. Call const v8plus
3779 routine.
3780 (umulsi3_highpart_v8plus): Renamed from umulsidi3_highpart_v8plus.
3781 (umulsi3_highpart_sp32): Renamed from umulsidi3_highpart_sp32.
3782
2b7972b0
MM
3783Tue Apr 28 08:55:26 1998 Michael Meissner <meissner@cygnus.com>
3784
3785 * m32r.c (*_oper{and|ator}): Change enum arguments and return
3786 values to int, so they can be prototyped even in files that don't
3787 include rtl.h.
3788 ({small,large}_insn_p): Ditto.
3789 (m32r_select_cc_mode): Ditto.
3790 (gen_compare): Ditto.
3791 (function_arg_partial_nregs): Ditto.
3792 (m32r_setup_incoming_varargs): Ditto.
3793 (init_reg_tables): Add prototype.
3794 (m32r_frame_info): Add prolog_size field.
3795 (m32r_compute_frame_size): Calculate the size of the prologue.
3796 (m32r_first_insn_address): Return prologue size.
3797 (m32r_output_function_prologue): Calculate frame size before
3798 printing out information. Print out the prologue size.
3799
3800 * m32r.h: Prototype all functions in m32r.c.
3801 (FIRST_INSN_ADDRESS): Declare, returning prologue size.
3802
3803 * m32r.md (bcc functions): Cast enum's to int.
3804
3805 * m32r.c (conditional_move_operand): Silence a debug message.
3806 ({small,long}_insn): New predicates.
b57062ca 3807
2b7972b0
MM
3808 * m32r.h (TARGET_M32R): New macro.
3809 (PREDICATE_CODES): Rearrange somewhat, add small_insn/long_insn.
3810 (HAIFA_P): Define as 1/0 depending on whether the Haifa scheduler
3811 was selected.
3812 (ISSUE_RATE): Define as 2.
3813
3814 * m32r.md (insn_size): New attribute.
3815 ({,rev_}branch_insn): Add .s qualifier to branches believed to be
3816 short.
3817 (m32r): New attribute.
3818
3819 * configure.in (enable_haifa): Switch m32r to Haifa by default.
3820 * configure: Regenerate.
3821
3822 (Changes from Nick Clifton <nickc@cygnus.com>)
3823 * m32r.h (EXTRA_CONSTRAINT): Implement 'S' constraint to perfoirm
3824 the equivalent of a negated 'I' constraint.
3825 (PRESERVE_DEATH_INFO_REGNO_P): Define in order to allow peephole
3826 optimisation to work.
3827
3828 * m32r.md (cmp_ne_small_const_insn): Use 'S' constriant rather
3829 than 'I' since the value is negated.
3830 (peephole): Add peephole optimisation to cope with optimization of
3831 divide and subtracts of the same operands.
3832
3833 * m32r.c zero_and_one, emit_cond_move): Add support for MVFC.
b57062ca 3834 * m32r.h: Ditto.
2b7972b0
MM
3835 * m32r.md: Ditto.
3836
3837 * m32r.h (PREDICATE_CODES): Add declaration of machine specific
3838 predicates.
3839
bd55c374
MH
3840Tue Apr 28 07:25:53 1998 Manfred Hollstein <manfred@s-direktnet.de>
3841
3842 * Makefile.in (libgcc2.ready): Revert last patch (Apr 24).
3843
3a6bd8c0
NC
3844Mon Apr 27 18:39:47 1998 Nick Clifton <nickc@cygnus.com>
3845
3846 * config/arm/thumb.h (GO_IF_LEGITIMATE_ADDRESS): Check against
3847 frame_pointer_rtx not FRAME_POINTER_REGNUM.
3848
0628fde6
JW
3849Mon Apr 27 18:36:28 1998 Jim Wilson <wilson@cygnus.com>
3850
561cf7b1
JW
3851 * reg-stack.c: Revert last patch (Apr 20).
3852 (convert_regs): Set insn to PREV_INSN (next) after do while loop.
3853
1688d6d2
JW
3854 * m68k/lb1sf68.asm (Laddsf$3): Fix typos in mcf5200 exg code.
3855
0628fde6
JW
3856 * loop.c (check_dbra_loop): New locals jump, first_compare, and
3857 compare_and_branch. Call get_condition to set first_compare.
3858 Set compare_and_branch to number of compare/branch instructions.
3859 Replace PREV_INSN (PREV_INSN (loop_end)) with first_compare.
3860 Replace '2' with compare_and_branch.
3861
07623417
AM
3862Mon Apr 27 15:53:30 EDT 1998 Andrew MacLeod <amacleod@cygnus.com>
3863
3864 * cplus-dem.c (demangle_qualified): Replace missing else.
3865
97d6fd65
R
3866Mon Apr 27 20:22:08 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
3867
3868 * sh.c (gen_ashift_hi): Don't make SUBREG of a SUBREG.
3869
3d5a0820
R
3870Mon Apr 27 18:23:51 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
3871
3872 * sh.c (sh_expand_prologue, sh_expand_epilogue):
3873 If TARGET_DOUBLE_ALIGN, preserve 64 bit stack alignment.
3874 * sh.h (STACK_BOUNDARY): Likewise.
3875
ef41dabb
R
3876Mon Apr 27 17:22:48 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
3877
3878 * sh.h (LEGITIMIZE_RELOAD_ADDRESS): Define.
3879
14bf4a33
MM
3880Mon Apr 27 08:55:23 1998 Michael Meissner <meissner@cygnus.com>
3881
22c4957e
MM
3882 * system.h (abort): If abort is not defined, and neither is
3883 USE_SYSTEM_ABORT, redefine abort to call fprintf and exit,
3884 reporting the line and filename of the error.
3885
3886 * .gdbinit: Add breakpoints on exit and fancy_abort.
3887
563c063f
MM
3888 * final.c (split_double): Avoid a compiler warning if
3889 BITS_PER_WORD is less than or equal to HOST_BIT_PER_WIDE_INT.
3890
14bf4a33
MM
3891 * rtl.h (JUMP_{CROSS_JUMP,NOOP_MOVES,AFTER_REGSCAN}): New macros
3892 for calling jump_optimize.
3893
3894 * toplev.c (rest_of_compilation): Call jump_optimize using JUMP_*
3895 macros, rather than 0/1's.
3896
5d02ee66
RH
3897Sun Apr 26 23:19:10 1998 Richard Henderson <rth@cygnus.com>
3898
3899 * alpha.h (CONST_COSTS): Zero is always free.
3900 (RTX_COSTS): Add EV6 costs. Abort if alpha_cpu is unknown.
3901
7bf40741
AS
3902Sun Apr 26 15:38:50 1998 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
3903
3904 * cplus-dem.c (gnu_special): Fix off-by-one bug when checking the
3905 length in the name of a virtual table.
3906
556ccd9b
RH
3907Sun Apr 26 01:21:06 1998 Richard Henderson <rth@cygnus.com>
3908
3909 * alpha.c (print_operand): Don't add 'v' suffix for ALPHA_FPTM_N.
3910
1206d294
JL
3911Sat Apr 25 22:11:38 PDT 1998 Jeff Law (law@cygnus.com)
3912
3913 * version.c: Bump for snapshot.
3914
4f242db3
JL
3915Sat Apr 25 17:17:15 1998 Jeffrey A Law (law@cygnus.com)
3916
3917 * fold-const.c (fold_convert): Fix typo.
3918
de12be17
JC
3919Sat Apr 25 17:55:54 1998 John Carr <jfc@mit.edu>
3920
3921 * alias.c (alias_invariant): New variable.
3922 (record_base_value): New argument INVARIANT.
3923 (memrefs_conflict_p): If a register has an entry in the alias_invariant
3924 array, try substituting that value for the register.
3925
3926 * rtl.h: Declare record_base_value.
3927
3928 * loop.c, unroll.c: Update callers of record_base_value.
3929
3930 * alias.c (find_base_value, find_base_term): SIGN_EXTEND and
3931 ZERO_EXTEND do not affect base values.
3932
fe81dd69
JL
3933Fri Apr 24 15:57:02 1998 Jeffrey A Law (law@cygnus.com)
3934
fb2c5c00
JL
3935 * dbxout.c (dbxout_type): Fix typo.
3936 (dbxout_range_type): Another HOST_WIDE_INT_PRINT_DEC fix.
3937
fe81dd69
JL
3938 * configure.in: Use CC_FOR_BUILD, not BUILD_CC.
3939
87d1ea79
JC
3940Fri Apr 24 16:11:47 1998 John Carr <jfc@mit.edu>
3941
3942 * expr.c (expand_builtin, case MEMSET): Set MEM_IN_STRUCT_P
3943 if the argument is the address of a structure or array.
3944
3945 * configure.in: Enable Haifa scheduler by default for SPARC.
3946
e89d3e6f
R
3947Fri Apr 24 20:55:47 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
3948
3949 * cse.c (cse_set_around_loop): Don't do optimization when
3950 new pseudos are created.
3951
442f4018
JL
3952Fri Apr 24 11:00:18 1998 Jeffrey A Law (law@cygnus.com)
3953
3954 * dbxout.c (dbxout_type_fields): Use HOST_WIDE_INT_PRINT_DEC
3955 appropriately.
3956 (dbxout_type_method_1, dbxout_type): Likewise.
3957 (print_int_cst_octal, print_octal, dbxout_symbol): Likewise.
3958 (dbxout_type): Fix check for when to print a type range in
3959 octal vs decimal.
3960
7174c937
R
3961Fri Apr 24 16:45:03 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
3962
3963 * (gen_shl_and, in case 1): Fix comparison with mask.
3964
0b812758
NC
3965Fri Apr 24 06:46:40 1998 Nick Clifton <nickc@cygnus.com>
3966
3967 * config/arm/thumb.h (GO_IF_LEGITIMATE_ADDRESS): Disallow frame
3968 pointer as second register in REG+REG pair.
3969
753a73c8
KG
3970Fri Apr 24 09:22:23 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3971
3972 * c-common.c (check_format_info): Don't check for the 'x' format
3973 character twice, instead check for 'x' and 'X'
3974
4a1991b3
MH
3975Fri Apr 24 08:02:30 1998 Manfred Hollstein <manfred@s-direktnet.de>
3976
3977 * Makefile.in (libgcc2.ready): Add explicit dependancy from
3978 $(STMP_FIXPROTO) to ensure all necessary include files have
3979 been created and to guarantee proper parallel builds.
3980
aec373f1
R
3981Fri Apr 24 04:42:35 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
3982
3983 * sh.c (sh_expand_prologue, in !SH3E code): Don't push an extra
3984 register for stdarg functions.
3985 * sh.h (current_function_varargs): Declare.
3986 (FUNCTION_ARG): Ignore NAMED for stdarg functions.
3987
f5880dbe
JW
39881998-04-23 Jim Wilson <wilson@cygnus.com>
3989
f1f53f0b
JW
3990 * frame.c, libgcc2.c (stdlib.h, unistd.h): Don't include when
3991 inhibit_libc is defined.
3992
f5880dbe
JW
3993 * c-aux-info.c (gen_type): Use DECL_NAME only for TYPE_DECL.
3994
8ade1519
JW
3995Thu Apr 23 19:09:33 1998 Jim Wilson <wilson@cygnus.com>
3996
3997 * profile.c (tablejump_entry_p): New function.
3998 (branch_prob): Add code to recognize MIPS tablejump entry branch.
3999 Use tablejump_entry_p in MIPS and HPPA tablejump checking code.
4000
a2538ff7
NC
4001Thu Apr 23 15:01:13 1998 Nick Clifton <nickc@cygnus.com>
4002
4003 * config/arm/arm.c (find_barrier): Return as soon as a barrier is
4004 found, rather than at end of the loop, after the insn has been
b57062ca 4005 changed.
a2538ff7 4006
d0c42859
R
4007Thu Apr 23 20:21:06 1997 J"orn Rennecke <amylaar@cygnus.co.uk>
4008
4009 * sh.c (gen_ashift_hi): Implement right shifts via gen_ashift.
4010 * sh.md (ashrhi3_k, lshrhi3_k, lshrhi3_m, lshrhi3, lshrhi3+1): Delete.
4011
693e265f
MM
4012Wed Apr 22 17:07:35 1998 Michael Meissner <meissner@cygnus.com>
4013
4014 * loop.c (note_addr_stored): Correct function to take 2 arguments,
4015 instead of 1.
4016
4017 * rtl.def (MATCH_INSN2): Add new matching pattern.
b57062ca 4018 * genrecog.c (add_to_sequence): Support MATCH_INSN2.
693e265f 4019
27eef9ce
JC
4020Wed Apr 22 15:52:22 1998 John Carr <jfc@mit.edu>
4021
4022 * emit-rtl.c (gen_highpart): The high part of a CONST_INT is not zero
4023 if HOST_BITS_PER_WIDE_INT is larger than BITS_PER_WORD.
b57062ca 4024
27eef9ce
JC
4025 * final.c (split_double): Sign extend both halves of a split CONST_INT.
4026
d972dd33
JL
4027Wed Apr 22 10:42:45 1998 Jeffrey A Law (law@cygnus.com)
4028
4029 * mips.c (compute_frame_size): Change only argument to a HOST_WIDE_INT.
4030
5e5199e8
AM
4031Wed Apr 22 10:53:49 EDT 1998 Andrew MacLeod <amacleod@cygnus.com>
4032
4033 * cplus-dem.c (struct work stuff): Add field for B and K mangle codes.
4034 (cplus_demangle_opname): Call mop_up_squangle.
b57062ca 4035 (cplus_demangle): Initialize squangle info, then call
5e5199e8 4036 internal_cplus_demangle. (Most code moved there as well)
b57062ca 4037 (internal_cplus_demangle): New function, performs most of what use
5e5199e8
AM
4038 to be done in cplus_demangle, but is only called with this file.
4039 (squangle_mop_up): New function to clean up B and K code data.
4040 (mop_up): set pointers to NULL after freeing.
b57062ca 4041 (demangle_signature, demangle_template, demangle_class): Add
5e5199e8
AM
4042 switch elements to handle K and B codes.
4043 (demangle_prefix, gnu_special, demangle_qualified): Add
4044 code to handle K and B codes.
4045 (do_type, demangle_fund_type): Handle B and K codes.
4046 (remember_Ktype): New function to store K info.
4047 (register_Btype, remember_Btype): New functions for B codes.
4048 (forget_B_and_K_types): New function to destroy B and K info.
4049
0dacbd0e
JW
40501998-04-21 Jim Wilson <wilson@cygnus.com>
4051
4052 * stmt.c (check_seenlabel): When search for line number note for
4053 warning, handle case where there is no such note.
4054
4ceb7595
JC
4055Tue Apr 21 20:48:37 1998 John Carr <jfc@mit.edu>
4056
4057 * genemit.c (gen_exp): Allow machine description to set mode of
4058 MATCH_OP_DUP.
4059
d09c9385
JC
4060Tue Apr 21 16:36:01 1998 John Carr <jfc@mit.edu>
4061
4062 * alias.c (mode_alias_check): New function.
4063 (true_dependence, anti_dependence, output_dependence): Call
4064 mode_alias_check.
4065
1eeed24e
JL
4066Tue Apr 21 12:05:32 1998 Jeffrey A Law (law@cygnus.com)
4067
d1c17572
JL
4068 * mips.h (STACK_BOUNDARY): Allow specific targets to override.
4069 (MIPS_STACK_ALIGN): Similarly.
4070
a6d7e156
JL
4071 * c-common.c (type_for_mode): Handle TI types.
4072 * c-decl.c (intTI_type_node, unsigned_int_TI_type_node): Define.
4073 (init_decl_processing): Handle TI types.
4074 * c-tree.h (intTI_type_node, unsigned_int_TI_type_node): Declare.
4075
1eeed24e
JL
4076 * mips.c (block_move_loop): Test Pmode == DImode instead of
4077 TARGET_MIPS64.
4078 (expand_block_move, save_restore_insns): Likewise.
4079 (function_prologue, mips_expand_prologue): Likewise.
4080 (mips_expand_epilogue): Likewise.
4081 * mips.h (POINTER_SIZE): Allow specific targets to override.
4082 (Pmode): Allow specific targets to override.
4083 (FUNCTION_PROFILER): Test Pmode == DImode instead of TARGET_MIPS64
4084 (POINTER_BOUNDARY, FUNCTION_MODE): Likewise.
4085 (TRAMPOLINE_TEMPLATE, TRAMPOLINE_SIZE): Likewise.
4086 (TRAMPOLINE_ALIGNMENT, INITIALIZE_TRAMPOLINE): Likewise.
4087 (CASE_VECTOR_MODE, ASM_OUTPUT_ADDR_VEC_ELT): Likewise.
4088 (ASM_OUTPUT_ADDR_DIFF_ELT, SIZE_TYPE, PTRDIFF_TYPE): Likewise.
4089 * mips.md (indirect, tablejump & casesi support): Test for
4090 Pmode == DImode instead of TARGET_MIPS64.
4091 (call patterns): Likewise.
4092
d2f5ef70
KG
4093Tue Apr 21 09:43:55 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4094
4095 * objc/sendmsg.c: Define gen_rtx_MEM() to 1, as is already done
4096 for gen_rtx(MEM, ...).
4097
cb85a2f3
RH
4098Tue Apr 21 02:15:36 1998 Richard Henderson <rth@cygnus.com>
4099
4100 * sparc.h (MACHINE_STATE_SAVE, MACHINE_STATE_RESTORE): Rewrite
4101 to not be so gross, and to properly function with PIC.
4102
bb27e6c9
JW
4103Mon Apr 20 20:44:25 1998 Jim Wilson <wilson@cygnus.com>
4104
99b13ed3
JW
4105 * frame.c (heapsort): Rename to frame_heapsort.
4106
bb27e6c9
JW
4107 * gcc.c (do_spec_1, case '['): Move flag out of loop and initialize it.
4108
a9a05945
DE
4109Mon Apr 20 12:43:09 1998 Doug Evans <devans@canuck.cygnus.com>
4110
4111 * flow.c (sbitmap_vector_alloc): Ensure sbitmaps properly aligned.
4112
dc0f0eb8
JW
4113Mon Apr 20 15:04:14 1998 John Wehle (john@feith.com)
4114
4115 * i386.md (movsf_push, movdf_push, movxf_push): Allow memory
4116 operands during and after reload.
4117
95707627
R
4118Mon Apr 20 22:37:50 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
4119
ba70e85a
JR
4120 * final.c (shorten_branches, init_insn_lengths): Move code
4121 to free label_align, uid_shuid, insn_lengths, insn_addresses
4122 and uid_align from the former function into the latter one;
4123 Add code to clear these variables.
4124 * sh.h (label_align): Remove declaration.
95707627 4125
0cd355fe
MM
4126Mon Apr 20 14:48:29 1998 Michael Meissner <meissner@cygnus.com>
4127
763d7ce8
MM
4128 * gcc.c (lang_specific_driver): Declare prototype properly so
4129 fatal can be passed to it without error.
4130
f55b1ca8
MM
4131 * configure.in (AC_CHECK_FUNCS): Check for strchr and strrchr.
4132 * configure: Regenerate.
4133 * config.in: Add #undef's for strchr and strrchr.
4134
4135 * protoize.c (toplevel): If we have rindex, but not strrchr, map
4136 rindex to strrchr.
4137 (file_could_be_converted): Use strrchr, not rindex since rindex is
4138 not defined on Linux systems when _POSIX_SOURCE is defined.
4139 (file_normally_convertible): Ditto.
4140 (process_aux_info_file): Ditto.
4141 (main): Ditto.
4142
0cd355fe
MM
4143 * rs6000.md (mov{sf,df} define_splits): When splitting a move of
4144 a constant to an integer register, don't split the insns that do
4145 the simple AND and OR operations, rather just split each word, and
4146 let the normal movsi define split handle it further.
4147
a0798779
R
4148Mon Apr 20 18:19:40 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
4149
4150 * sh.c (find_barrier): Fix bug in ADDR_DIFF_VEC handling.
4151 (split_branches): Call init_insn_lengths.
4152
ced8dd8c
MM
4153Mon Apr 20 07:37:49 1998 Michael Meissner <meissner@cygnus.com>
4154
4155 * i386.c: Include expr.h to get the change_address prototype
4156 declared.
b57062ca 4157
f37eb5cb
L
4158Mon Apr 20 01:00:05 1998 H.J. Lu (hjl@gnu.org)
4159
4160 * reg-stack.c (subst_asm_stack_regs): Change to return the last
4161 new insn generated by this function.
4162 (subst_stack_regs): Likewise.
4163 (convert_regs): Record the last newly generated insn and use
4164 it for change_stack () instead of INSN.
4165
49fb8382
MH
4166Sun Apr 19 15:41:24 1998 Manfred Hollstein <manfred@s-direktnet.de>
4167
4168 * fix-header.c (enum special_file): Undefine enumerators if they
4169 are already defined by include files.
4170 * fixproto (rel_source_file in unistd.h stdlib.h): Prefix file protection
4171 macro with '__' to not pollute user namespace.
4172
c6a754f2
RH
4173Sun Apr 19 02:42:06 1998 Richard Henderson <rth@cygnus.com>
4174
4175 * haifa-sched.c (queue_to_ready): Fix typo in prototype.
4176
399cc148
JL
4177Sat Apr 18 23:52:35 PDT 1998 Jeff Law (law@cygnus.com)
4178
4179 * version.c: Bump for snapshot.
4180
84b77fba
JW
4181Sat Apr 18 18:30:22 1998 Jim Wilson <wilson@cygnus.com>
4182
07415a17
JL
4183 * i386.md (fix_truncsfdi2+[123]): Add + to operand 1 constraints.
4184
84b77fba
JW
4185 * i386.h (CPP_CPU_DEFAULT): Renamed to CPP_CPU_DEFAULT_SPEC.
4186 Add missing -Dpentium* options.
4187 (CPP_CPU_SPEC): Delete redundant definition. Include cpp_cpu_default
4188 instead of CPP_CPU_DEFAULT.
4189 (EXTRA_SPECS): Add entry for cpp_cpu_default.
4190
db72d7a1
DE
4191Sat Apr 18 19:06:59 1998 David Edelsohn <edelsohn@mhpcc.edu>
4192
4193 * rs6000.md (floatsidf2_loadaddr): rs6000_fpmem_offset will be
4194 negative in a stackless frame.
4195 * rs6000.c (rs6000_stack_info): Don't include fixed-size link area
4196 in stackless frame size. Support 64-bit stackless frame size.
4197 Combine fpmem offset calculations and don't add total_size to
4198 offset if not pushing a stack frame.
4199
a1ecb5ca
JW
4200Sat Apr 18 15:41:16 1998 Jim Wilson <wilson@cygnus.com>
4201
4202 * regmove.c (fixup_match_1): In three places, in flag_exceptions
4203 check, change p to q.
4204
a2a05b0a
JW
4205Sat Apr 18 15:30:49 1998 Jim Wilson <wilson@cygnus.com>
4206
4207 * gcc.c (lang_specific_driver): Add new parm type to prototype.
4208 (added_libraries): New file scope static variable.
4209 (process_command): Initialize added_libraries. Pass it to
4210 lang_specific_driver.
4211 (main): Use added_libraries in check for no input files.
b57062ca 4212
284d86e9
JC
4213Sat Apr 18 01:23:11 1998 John Carr <jfc@mit.edu>
4214
4215 * sparc.c, sparc.h, sparc.md, sol2.h: Many changes related to V9
4216 code generation. Use 64 bit instructions in 32 bit mode when
4217 possible. Use V9 return instruction. UltraSPARC optimizations.
4218
4219 * sparc.h: Change gen_rtx (CODE to gen_rtx_CODE (.
4220
43be8193
JL
4221Fri Apr 17 22:38:17 1998 Jeffrey A Law (law@cygnus.com)
4222
ea8693a4
JL
4223 * global.c (global_alloc): Don't pass HARD_CONST (0) to find_reg,
4224 just pass zero. That will work regardless of the size of HARD_REG_SET.
4225
43be8193
JL
4226 * libgcc2.c (__floatdisf): Fix a couple typos.
4227
45df6aea
JW
4228Fri Apr 17 17:28:26 1998 Jim Wilson <wilson@cygnus.com>
4229
4230 * Makefile.in (mostlyclean): Delete *.mach and *.bp files.
4231
6cca74ab
GM
4232Fri Apr 17 16:35:35 1998 Greg McGary <gkm@gnu.org>
4233
4234 * emit-rtl.c (gen_highpart): initialize `word' properly for pseudo.
4235
77e6b0eb
JC
4236Fri Apr 17 14:30:37 1998 John Carr <jfc@mit.edu>
4237
4238 * emit-rtl.c (operand_subword_force): If a register can not be
4239 accessed by words, copy it to a pseudo register.
4240
27f4cfdb
JW
4241Fri Apr 17 14:30:37 1998 Jim Wilson <wilson@cygnus.com>
4242
4243 * rs6000/vxppc.h (CPP_SPEC): Add support for mrelocatable*.
4244
f4a73984
MM
4245Fri Apr 17 17:01:25 1998 Michael Meissner <meissner@cygnus.com>
4246
4247 * tree.h (mark_seen_cases): Delete declaration.
4248
00769100
JL
4249Fri Apr 17 13:32:20 1998 Jeffrey A Law (law@cygnus.com)
4250
4251 * stmt.c (mark_seen_cases): Make static and add prototype.
4252
2467749d
KG
4253Fri Apr 17 11:21:43 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4254
4255 * frame.c: Include stdlib.h and unistd.h to possibly get various
4256 function prototypes. The fixproto script guarantees these header
4257 files exist on the target system.
4258 * libgcc2.c: Likewise.
b57062ca 4259
2467749d
KG
4260 * gthr-single.h (__gthread_mutex_lock, __gthread_mutex_trylock,
4261 __gthread_mutex_unlock): Add __attribute__ ((__unused__)) to the
4262 function parameters.
4263 * libgcc2.c (__udiv_w_sdiv): Likewise.
4264
74c5186c
JL
4265Thu Apr 16 22:41:02 1998 Jeffrey A Law (law@cygnus.com)
4266
ac546323
JL
4267 * varasm.c (asm_output_bss): Add prototype.
4268 (asm_output_aligned_bss): Likewise.
4269
4270 * unroll.c (verify_addresses): Add prototype.
4271
4272 * toplev.c: Add many prototypes. Too many to mention here.
4273
4274 * stmt.c (check_seenlabel): Add prototype.
4275
4276 * rtlanal.c (reg_set_p_1): Add prototype.
4277 (reg_set_last_1): Likewise.
4278
4279 * reorg.c (find_dead_or_set_registers): Add prototype.
b57062ca 4280
ac546323
JL
4281 * regmove (try_auto_increment): Add prototype.
4282
4283 * reg-stack.c (pop_stack): Add prototype.
4284
4285 * recog.c (validate_replace_rtx_1): Add prototype.
4286 (find_cosntant_term_loc): Likewise.
4287
a777ae13
JL
4288 * loop.c (regs_patch_p): Add prototype.
4289 (add_label_notes, count_nonfixed_reads): Likewise.
4290 (find_single_use_in_loop): Likewise.
4291 (express_from): Surround prototype with #ifdef.
4292 (giv_sort): Similarly.
4293
4294 * jump.c (mark_modified_reg): Add prototype.
4295
4296 * haifa-sched.c (is_prisky): Add prototype.
4297 (queue_to_ready): Likewise.
4298
4299 * genextract.c (gen_insn): Add prototype.
4300
4301 * genemit.c (max_operand_1): Add prototype.
4302 (max_operand_vec, print_code, gen_exp, gen_insn): Likewise.
4303 (gen_expand, gen_explit, output_add_clobbers): Likewise.
4304 (output_init_mov_optab): Likewise.
4305
4306 * genattrtab.c (attr_hash_add_rtx): Add prototype.
4307 (attr_hash_add_string, write_length_unit_log): Likewise.
4308
4309 * genattr.c (init_range): Add prototype.
4310
4311 * combine.c (sets_function_arg_p): Add prototype.
4312
4313 * expr.c (store_constructor_field): Add prototype.
4314 (get_memory_usage_from_modifier): Likewise
4315
4316 * expmed.c (synth_mult): Add prototype.
4317 (choose_multiplier, invert_mod2n): Likewise.
4318
242c13b0
JL
4319 * except.c (push_eh_entry): Add prototype.
4320 (pop_eh_entry, enqueue_eh_entry, dequeu_eh_entry): Likewise.
4321 (call_get_eh_context, start_dynamic_cleanup): Likewise.
4322 (start_dynamic_handler, can_throw): Likewise.
4323 (output_exception_table_entry, scan_region): Likewise.
4324 (eh_regs, set_insn_eh_region): Likewise.
4325
1ad4f46b
JL
4326 * dwarfout.c (decl_class_context): Add prototype.
4327 (output_inheritance_die, type_ok_for_scope): Likewise.
4328
e822c593
JL
4329 * c-lex.c (skip_white_space_on_line): Add prototype.
4330
70fec650
JL
4331 * alias.c (record_set): Add prototype.
4332 (find_base_term, base_alias_check): Likewise.
b57062ca 4333
1ac4f799
JL
4334 * function.c (assign_outer_stack_local): Make static and add prototype.
4335
a2e68776
JL
4336 * haifa-sched.c (build_control_flow): Accept raw data as inputs
4337 instead of computing it locally. Callers changed.
4338 (find_rgns): Several new arguments. Callers changed.
4339 Generally clean up and comment better. Use dominators to
4340 identify reducible loops. Convert some flag arrays to bitmaps.
4341 Convert most of the code to work on pred/succ lists instead of
4342 an edge table. Add comments for future improvements.
4343 (schedule_insns): Allocate temporary tables for flow data, call
4344 routines to compute flow data and pass it along to children as
4345 arguments.
4346 (debug_control_flow): Delete. Use dump_bb_data instead.
4347
97b1ef1c
JL
4348 * basic-block.h (compute_dominators): Declare.
4349
74c5186c
JL
4350 * flow.c (dump_sbitmap, dump_sbitmap_vector): New debugging
4351 functions.
4352 * basic-block.h: Declare them.
4353
7ce55772
JW
4354Thu Apr 16 13:45:51 1998 Jim Wilson <wilson@cygnus.com>
4355
4356 * reg-stack.c (constrain_asm_operands): Set n_alternatives to zero if
4357 no operands.
4358
e88caebd
APB
4359Wed Apr 15 11:33:09 1998 Alexandre Petit-Bianco <apbianco@sendai.cygnus.com>
4360
4361 * tree.c (build_expr_wfl): Use NULL_TREE if the file name is NULL.
4362 Propagate TREE_SIDE_EFFECTS and TREE_TYPE iff the encapsulated
4363 node is non NULL. Cache last file name and file name identifier node.
4364
a62e870c
MM
43651998-04-15 Mark Mitchell <mmitchell@usa.net>
4366
4367 * c-common.c (declare_hidden_char_array): Use TYPE_DOMAIN to get
4368 the length of an array, not TREE_TYPE.
4369
5e89e58b
JL
4370Wed Apr 15 15:31:34 1998 Jeffrey A Law (law@cygnus.com)
4371
4372 * flow.c (sbitmap_union_of_successors): New function.
4373 * basic-block.h (sbitmap_union_of_successors): Declare it.
4374
df6faf79
JW
4375Wed Apr 15 12:38:03 1998 Jim Wilson <wilson@cygnus.com>
4376
4377 * configure.in (gnu_ld): Rename to gnu_ld_flag before main loop.
4378 Set gnu_ld to gnu_ld_flag inside main loop.
4379 (gas): Likewise.
4380
5c60e5c0
DB
4381Wed Apr 15 14:50:05 1998 Dave Brolley <brolley@cygnus.com>
4382
4383 * toplev.c (compile_file): Call init_parse using new interface.
4384 (init_lex): Remove declaration.
4385
4386 * c-lex.c (init_parse): Now returns char* containing filename.
4387
2872409d
JL
4388Wed Apr 15 12:37:10 1998 Jeffrey A Law (law@cygnus.com)
4389
4390 * pa.h (LEGITIMIZE_RELOAD_ADDRESS): Do nothing if not optimizing.
4391
4db83042
MM
4392Wed Apr 15 12:10:18 1998 Michael Meissner <meissner@cygnus.com>
4393
4394 * Makefile.in (gen{config,flags,codes,emit}): Link in host print-rtl.o.
4395 (gen{extract,peep,opinit,output}): Ditto.
4396
4397 * gen{attr,codes,config,emit,output}.c (insn_attr_name): Provide a
4398 global definition so print-rtl.o can be linked in.
4399 * gen{peep,recog}.c (insn_attr_name): Ditto.
4400
9aeba741
RP
4401Tue Apr 14 07:30:57 1998 K. Richard Pixley <rich@kyoto.noir.com>
4402
4403 * fixincludes: discard empty C++ comments, as found in sys/time.h
4404 on hpux-11.0.
4405
7878eae7
AS
4406Wed Apr 15 10:47:21 1998 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
4407
4408 * config/m68k/m68k.md (adddi3, subdi3): Optimize for constant
4409 operand.
4410
fcb7cb6c
JL
4411Wed Apr 15 01:21:21 1998 Jeffrey A Law (law@cygnus.com)
4412
4413 * emit-rtl.c (operand_subword): Rework slightly to avoid
4414 bogus warning from previous change.
4415
47747e53
RH
4416Tue Apr 14 23:39:13 1998 Richard Henderson <rth@cygnus.com>
4417
4418 * alpha.md: Revert Oct 27 change, as it is superceeded by Kenner's
4419 Nov 8 find_replacement change. Move decls of get_unaligned_address
4420 * alpha.h: ... here.
4421
8450a694
JC
4422Tue Apr 14 22:00:39 1998 John Carr <jfc@mit.edu>
4423
7940255d
JC
4424 * function.c (assign_parms): Initialize unsignedp before passing
4425 its pointer to promote_mode.
4426
8450a694
JC
4427 * genattrtab.c (check_attr_test): Handle MATCH_INSN like MATCH_OPERAND.
4428 (write_test_expr): Allow MATCH_INSN.
4429
c70afde1
PE
4430Tue Apr 14 21:57:57 1998 Paul Eggert <eggert@twinsun.com>
4431
4432 * install.texi: Update section on warnings that can be safely ignored.
4433
cf877a42
JW
4434Tue Apr 14 14:55:16 1998 Jim Wilson <wilson@cygnus.com>
4435
4436 * mips.md (reload_outdi): Change the scratch mode from DImode to
4437 TImode. New variable scratch, used instead of operand[2] in template.
4438 Add code for MIPS16 HILO_REGNUM case where output reg is not M16_REG_P.
4439
996d9dac
MM
4440Tue Apr 14 16:19:03 1998 Michael Meissner <meissner@cygnus.com>
4441
4442 * expr.c (MOVE_RATIO): Set to 3 if optimizing for space.
4443
de2d990f
KW
4444Tue Apr 14 11:31:28 1998 Krister Walfridsson <cato@df.lth.se>
4445
4446 * i386/bsd386.h (ASM_OUTPUT_ALIGN): Redefine.
4447
d5daf098
JL
4448Tue Apr 14 09:02:32 1998 Jeffrey A Law (law@cygnus.com)
4449
6862dfac
JL
4450 * svr4.h (ASM_DECLARE_OBJECT_NAME): Use HOST_WIDE_INT_PRINT_DEC.
4451 (ASM_FINISH_DECLARE_OBJECT): Likewise.
4452
b7cb92ad
JL
4453 * Idea and part of the patch from HJ.
4454 * Makefile.in: auto-host.h renamed from auto-config.h. All references
4455 changed.
4456 (distclean): Remove auto-build.h too.
4457 * configure.in: Rename host autoconf generated file to auto-host.h.
4458 If host != build, then run autoconf to generate auto-build.h for
4459 the build machine and include it in build_xm_files.
4460 Check for wait.h and sys/wait.h.
4461
d5daf098
JL
4462 * combine.c (simplify_rtx, case TRUNCATE): Respect value of
4463 TRULY_NOOP_TRUNCATION.
4464
7d02bbef
JM
4465Mon Apr 13 11:31:49 1998 Jason Merrill <jason@yorick.cygnus.com>
4466
4467 * tree.h (BINFO_OFFSET_ZEROP): Use integer_zerop.
4468
4754172c
CM
4469Sun Apr 12 20:55:32 1998 Catherine Moore <clm@cygnus.com>
4470
4471 * invoke.texi (ld options) Include memset requirements
4472 for options -nodstdlib and -nodefaultlibs.
4473
bb72a084
PE
44741998-04-12 Paul Eggert <eggert@twinsun.com>
4475
4476 This change is from an idea suggested by Arthur David Olson.
4477
4478 * c-common.c (decl_attributes, record_function_format,
4479 check_format_info, init_function_format_info):
4480 Add support for strftime format checking.
4481 (enum format_type): New type.
4482 (record_function_format): Now static, and takes value of type
4483 enum format_type instead of int.
4484 (time_char_table): New constant.
4485 (struct function_format_info): format_type member renamed from is_scan.
4486 (check_format_info): Use `warning' rather than sprintf followed by
4487 `warning', to avoid mishandling `%' in warnings.
4488 Change `pedwarn' to `warning', since these warnings do not necessarily
4489 mean the program does not conform to the C Standard, as the code
4490 need not be executed.
4491
4492 * c-tree.h (record_function_format): Remove decl; no longer extern.
4493
4494 * extend.texi: Add documentation for strftime format checking.
4495
1be12a4a
JL
4496Sun Apr 12 20:23:03 1998 Jeffrey A Law (law@cygnus.com)
4497
71922625
JL
4498 * mips/ecoffl.h: Do not include mips.h.
4499 * mips/elf.h: Likewise.
4500
1be12a4a
JL
4501 * configure.in (mips-*-ecoff): Do not mention mips/mips.h in tm_files.
4502 * mips/ecoff.h: Include "mips/mips.h".
4503
9fe69077
JL
4504Sat Apr 11 22:42:54 PDT 1998 Jeff Law (law@cygnus.com)
4505
4506 * version.c: Bump for snapshot.
4507
c6a26dc4
JL
4508Sat Apr 11 01:24:28 1998 Jeffrey A Law (law@cygnus.com)
4509
4510 * cse.c (count_reg_usage): Correctly handle REG_NONNEG notes.
4511 (delete_trivially_dead_insns): Renamed from delete_dead_from_cse.
4512 * toplev.c (rest_of_compilation): Call delete_trivially_dead_insns instead of delete_dead_from_cse. Also call delete_trivially_dead_insns
4513 between loop optimization passes.
4514 * rtl.h: Updated appropriately.
4515
bbb81923
JL
4516Fri Apr 10 22:28:32 1998 Jeffrey A Law (law@cygnus.com)
4517
4518 Reinstall this patch from Jason.
4519 * function.c (push_function_context_to): Don't call init_emit.
4520
29cb1e1f
NC
4521Fri Apr 10 13:40:20 1998 Nick Clifton <nickc@cygnus.com>
4522
4523 * rtl.c (read_skip_spaces): Prevent infinite loops upon
4524 encountering unterminated comments.
4525
3f518020
JL
4526Fri Apr 10 10:43:41 1998 Jeffrey A Law (law@cygnus.com)
4527
4528 * emit-rtl.c (operand_subword): Properly handle CONST_INTs for
4529 64x32 cross builds.
4b104d6e
JL
4530
4531 * configure.in: Handle --with-fast-fixincludes.
4532 (fixincludes): If --with-fast-fixincludes, then use a different
4533 fixincludes program by default.
4534 * Makefile.in (fixinc.sh): New rule.
4535
b76c90cf
L
4536Fri Apr 10 00:36:31 1998 H.J. Lu (hjl@gnu.org)
4537
4538 * i386.md (movqi+1): Handle invalid QI register.
4539 (movsf_push-1): Likewise.
4540
2e076ddf
NC
4541Thu Apr 9 16:53:59 1998 Nick Clifton <nickc@cygnus.com>
4542
4543 * config/m32r/m32r.c: call_address_operand(): Only accept symbolic
4544 addresses.
4545 symbolic_memort_operand(), call32_operand(), int8_operand(),
4546 int16_operand(), uint24_operand(), reg_or_int8_operand(): Removed.
4547 Not used.
4548 uint16_operand(): Made static.
4549
b1d6ccb8
JL
4550Thu Apr 9 01:43:04 1998 Jeffrey A Law (law@cygnus.com)
4551
4552 * calls.c (expand_call): Fix typo.
4553
e56e519d
DB
4554Thu Apr 9 00:18:44 1998 Dave Brolley (brolley@cygnus.com)
4555
4556 * c-lex.c (finput): New global.
4557 (init_parse): Always included. Handle !USE_CPPLIB using
4558 code originally in compile_file.
4559 (finish_parse): Update for CPPLIB.
4560 * toplev.c (init_parse, finish_parse): Declare.
4561 (finput): Delete variable. Now in front-ends.
4562 (compile_file): Remove code which is now handled by init_parse
4563 which is unconditionally called. Similarly for finish_parse.
4564
85d7aed9
GK
4565Wed Apr 8 23:13:50 1998 Gavin Koch <gavin@cygnus.com>
4566
4567 * config/mips/r3900.h (ASM_OUTPUT_DEF,SUPPORTS_WEAK,
4568 ASM_WEAKEN_LABEL): Add.
4569
574badbc
RH
4570Wed Apr 8 18:21:30 1998 Richard Henderson <rth@cygnus.com>
4571
4572 * alpha/crtbegin.asm, alpha/crtend.asm, alpha/t-crtb: New files.
4573 * configure.in (alpha-*-linux*): Use them.
4574
bf1e5319 4575Fri Apr 3 17:02:13 1998 Alexandre Petit-Bianco <apbianco@cygnus.com>
b57062ca 4576
bf1e5319
APB
4577 * tree.def (EXPR_WITH_FILE_LOCATION): New tree node definition.
4578 * tree.h (EXPR_WFL_{NODE,FILENAME,FILENAME_NODE,LINENO,
4579 COLNO,LINECOL,SET_LINECOL,EMIT_LINE_NOTE}): New macros.
4580 (build_expr_wfl): New prototype declaration.
4581 * tree.c (build_expr_wfl): New function, to build
4582 EXPR_WITH_FILE_LOCATION nodes.
4583 (copy_node): Don't zero TREE_CHAIN if copying a
4584 EXPR_WITH_FILE_LOCATION node.
4585 * print-tree.c (print_node): Handle EXPR_WITH_FILE_LOCATION.
4586 * expr.c (expand_expr): Handle EXPR_WITH_FILE_LOCATION.
4587
ee5254ff
JL
4588Wed Apr 8 12:51:19 1998 Jeffrey A Law (law@cygnus.com)
4589
62db76ee
JL
4590 * configure.in (v850): Use t-v850.
4591 (ix86-wrs-vxworks): Recognize 786 just like other x86 configurations.
4592
10a998b0
JL
4593 * protoize.c (creat, read, write): Do not declare.
4594
e105f02c
JL
4595 * jump.c (mark_jump_label): Record REG_LABEL notes for insns which
4596 refer to the CODE_LABEL before a dispatch table.
4597
56b2d7a7
JL
4598 * invoke.texi: Add ARC options.
4599
c74c0cff
JL
4600 * gcc.c (proces_command): Improve error message for -o with
4601 either -c or -S.
4602
2d58da15
JL
4603 * i386/x-cygwin32 (CLIB): Link in advapi32.
4604
40ef2fc5
JL
4605 * alpha.h (ASM_IDENTIFY_GCC): Define to nothing.
4606 (ASM_IDENTIFY_LANGUAGE): Likewise.
4607
df89b5e7
JL
4608 * i386.md (movqi recognizer): Don't perfom byte increment into
4609 a NON_QI_REG_P.
4610
f09ff199
JL
4611 * configure.in (x86-dg-dgux): Run fixinc.dgux.
4612
df89b5e7 4613 * i370.h: Fix typo in GEN_INT changes.
f962b99f 4614
c3709629
JL
4615 * bitmap.c (bitmap_element_allocate): Use "void" for arglist instead
4616 of an empty arglist in prototype.
4617
ee5254ff
JL
4618 * Makefile.in: Remove bytecode crud that crept back in after the
4619 gcc2 merge.
4620
0806342b
BK
46211998-04-08 Brendan Kehoe <brendan@cygnus.com>
4622
4623 * c-lex.h (is_class_name): Fix arg type to be tree, not void.
4624 (make_pointer_declarator, reinit_parse_for_function): Fix typo.
4625
6f734908
RE
4626Wed Apr 8 06:16:45 1998 Richard Earnshaw (rearnsha@arm.com)
4627
4628 * arm.h (LEGITIMIZE_RELOAD_ADDRESS): Define.
4629
56c0e996
BS
4630Wed Apr 8 00:44:18 1998 Bernd Schmidt (crux@pool.informatik.rwth-aachen.de>
4631
4632 * c-lex.c (is_class_name): Delete declaration.
4633 (whitespace_cr): Make static and add prototype.
4634 * c-lex.h (make_pointer_declarator, reinit_parse_for_function,
4635 yylex, get_directive_line): Turn declarations into prototypes.
4636 (position_after_whitespace, check_newline, yyerror,, is_class_name,
4637 forget_protocol_qualifiers, remember_protocol_qualifiers): Add
4638 prototypes.
4639 * genattr.c (extend_range, write_upcase, gen_attr, write_units): Add
4640 prototypes.
4641 * gencodes.c (gen_insn): Add prototype.
4642 * genconfig.c (walk_insn, gen_insn, gen_expand, gen_split,
4643 gen_peephole): Add prototypes.
4644 * genflags.c (num_operands, gen_proto, gen_nonproto, gen_insn): Add
4645 prototypes.
4646 * gengenrtl.c (type_from_format, accessor_from_format, special_rtx,
4647 special_format, find_formats, gendecl, genmacro, gendef, genlegend,
4648 genheader, gencode): Add prototypes.
4649 * genopinit.c (gen_insn): Add prototype.
4650 * genoutput.c (output_prologue, output_epilogue, scan_operands,
4651 process_template, validate_insn_alternatives, gen_insn, gen_peephole,
4652 gen_expand, gen_split, n_occurrences): Add prototypes.
4653 * genpeep.c (gen_peephole): Add prototype.
4654 * loop.c (find_and_verify_loops, mark_loop_jump, prescan_loop,
4655 reg_in_basic_block_p, consec_sets_invariant_p, libcall_other_reg,
4656 labels_in_range_p, count_loop_regs_set, note_addr_stored,
4657 loop_reg_used_before_p, scan_loop, replace_call_address,
4658 skip_consec_insns, libcall_benefit, ignore_some_movables,
4659 force_movables, combine_movables, rtx_equal_for_loop_p, move_movables,
4660 strength_reduce, valid_initial_value_p, find_mem_givs, record_biv,
4661 check_final_value, record_giv, update_giv_derive, basic_induction_var,
4662 simplify_giv_expr, general_induction_var, consec_sets_giv,
4663 check_dbra_loop, express_from, combine_givs_p, combine_givs,
4664 product_cheap_p, maybe_eliminate_biv, maybe_eliminate_biv_1,
4665 last_use_this_basic_block, record_initial, update_reg_last_use,
4666 iteration_info, analyze_loop_iterations, insert_bct,
4667 instrument_loop_bct, indirect_jump_in_function_p): Turn declarations
4668 into prototypes.
4669
cc46ae8e
JL
4670Tue Apr 7 21:48:52 1998 Jeffrey A Law (law@cygnus.com)
4671
4672 * pa.h (LEGITIMIZE_RELOAD_ADDRESS): Define.
4673
e7d075bf
KR
46741998-04-07 Ken Raeburn <raeburn@cygnus.com>
4675
4676 * config/mips/mips.c (siginfo): Deleted.
4677 (override_options): Don't install SIGINFO signal handler.
4678
668d07be
JW
4679Tue Apr 7 11:58:04 1998 Jim Wilson <wilson@cygnus.com>
4680
4681 * loop.c (check_dbra_loop): When normalize comparison_val, add check
4682 to verify it is non-negative.
4683
cd36edbd
RH
4684Tue Apr 7 02:01:47 1998 Richard Henderson <rth@cygnus.com>
4685
4686 * alpha.c (alpha_expand_block_move): Correctly collect block offsets.
4687 (alpha_expand_block_clear): Likewise.
4688
e814ca97
RH
4689Mon Apr 6 23:36:01 1998 Richard Henderson <rth@cygnus.com>
4690
4691 * tree.h (sizetype_tab): Fix previous change for K&R.
4692
f1d9e6d2
JL
4693Mon Apr 6 22:23:29 PDT 1998 Jeff Law (law@cygnus.com)
4694
4695 * version.c: Bump for snapshot.
4696
22ec3928
RE
4697Mon Apr 6 23:16:10 1998 Richard Earnshaw (rearnsha@arm.com)
4698
4699 * configure.in (sparc-*-solaris2*): Add xm-siglist.h to xm_file.
4700 Add USG and POSIX to xm_defines.
4701
10da1131
BM
4702Mon Apr 6 21:49:57 1998 Bob Manson <manson@charmed.cygnus.com>
4703
4704 * gcc.c: Add linker spec.
4705 (link_command_spec): Use %(linker) instead of ld.
4706 (main): If collect2 is requested as the linker, see if it exists;
4707 if not, use ld instead.
4708
4709 * Makefile.in (USE_COLLECT2): It's named collect2 now, not ld.
4710 (ld:) Deleted.
4711 (install-collect2): Install as collect2, not ld.
4712
4713 * configure.in(will_use_collect2): It's named collect2 now.
4714
4715 * collect2: Remove checks to see if we were invoked recursively.
4716 (collect_execute): Use _spawnvp under cygwin32.
4717
a8afd67b
JW
4718Mon Apr 6 17:23:41 1998 Jim Wilson <wilson@cygnus.com>
4719
4720 * haifa-sched.c (build_control_flow): Set unreachable for block whose
4721 only predecessor is itself.
4722
944fc8ab
KG
4723Mon Apr 6 16:08:04 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4724
4725 * c-parse.in: Include system.h, and remove stuff now made redundant.
4726 * cccp.c: Likewise.
4727 * cexp.y: Likewise.
4728 * protoize.c: Likewise. Properly check for cpp stringification.
4729
4730 * Makefile.in (c-parse.o, cccp.o, cexp.o, protoize.o, unprotoize.o):
b57062ca 4731 Depend on system.h.
944fc8ab
KG
4732
4733 * objc/Make-lang.in (objc-parse.o): Likewise.
4734
3286ab57
KG
4735Mon Apr 6 14:59:58 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4736
4737 * gansidecl.h: Check if compiler supports __attribute__. Provide
4738 definitions for ATTRIBUTE_UNUSED and ATTRIBUTE_PRINTF using
4739 __attribute__ when its available. Also provide definitions for
4740 ATTRIBUTE_PRINTF_1, ATTRIBUTE_PRINTF_2 and ATTRIBUTE_PRINTF_3 in
4741 terms of ATTRIBUTE_PRINTF.
b57062ca 4742
3286ab57
KG
4743 * genoutput.c (process_template): Use ATTRIBUTE_UNUSED in place
4744 of __attribute__.
4745
d276f2bb
CM
4746Mon Apr 6 07:17:52 1998 Catherine Moore <clm@cygnus.com>
4747
4748 * combine.c (can_combine_p): Include successor in volatile test.
4749
64ad9df2
R
4750Mon Apr 6 14:16:33 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
4751
4752 * sh.h (CASE_VECTOR_SHORTEN_MODE): Fix logic when to set
4753 offset_unsigned.
4754
dc544d2c
JL
4755Mon Apr 6 02:03:29 1998 Jeffrey A Law (law@cygnus.com)
4756
4757 * objc/objc-act.c (encode_aggregate_within): Avoid GNU extensions
4758 in prototype and definition.
b57062ca 4759
38c413cd
JL
4760Mon Apr 6 00:48:56 PDT 1998 Jeff Law (law@cygnus.com)
4761
4762 * version.c: Bump for snapshot.
4763
59dd0a31
RH
4764Mon Apr 6 00:08:50 1998 Richard Henderson <rth@cygnus.com>
4765
b57062ca 4766 * alpha.c (alpha_expand_block_clear): Add missing offset arg to
59dd0a31
RH
4767 alpha_expand_unaligned_store_words.
4768
f31fce3f
JW
4769Sun Apr 5 21:31:24 1998 John Wehle (john@feith.com)
4770
4771 * i386.md (movsf_push, movsf_mem): Remove.
4772 (movsf_push): Rename from movsf_push_nomove and move in front of
4773 movsf. Use nonmemory_operand predicate and don't bother checking
4774 TARGET_MOVE.
4775 (movsf_push_memory): New pattern.
4776 (movsf): Don't bother checking for push_operand. If TARGET_MOVE and
4777 both operands refer to memory then force operand[1] into a register.
4778 (movsf_normal): Change to unnamed pattern.
4779 Likewise for movdf, movxf, and friends.
4780
27ebc03e
JL
4781Sun Apr 5 18:45:51 PDT 1998 Jeff Law (law@cygnus.com)
4782
4783 * version.c: Bump for snapshot.
4784
6ecd4e53 4785Sun Apr 5 16:31:10 1998 Richard Henderson <rth@cygnus.com>
98bd9f0f 4786
6ecd4e53 4787 * configure.in (alpha-dec-osf*): Match osf1.3 correctly.
98bd9f0f 4788
b57062ca 4789Sun Apr 5 16:53:37 1998 Don Bowman <don@pixsci.com>
ac08ebd0 4790
6ecd4e53 4791 * configure.in (mips-wrs-vxworks): New target.
ac08ebd0 4792
6ecd4e53 4793Sat Apr 4 23:34:32 PST 1998 Jeff Law (law@cygnus.com)
f4a788ac 4794
f3978531
JL
4795 * expmed.c (synth_mult): The value -1, has no zeros, so it can
4796 never have the form ...011.
4797
f4a788ac
JL
4798 * version.c: Bump for snapshot.
4799
5cb6195d
RH
4800Sat Apr 4 20:16:46 1998 Richard Henderson <rth@cygnus.com>
4801
4802 * i386.c (asm_output_function_prefix, load_pic_register):
4803 Use ASM_GENERATE_INTERNAL_LABEL properly.
4804 (output_pic_addr_const): Recognize %X to supress any PIC sym suffix.
4805 (print_operand): Ignore it.
4806 (load_pic_register): Use it for the got load call.
4807 * i386.md (prologue_set_got, prologue_get_pc): Likewise.
4808 (prologue_get_pc_and_set_got): Likewise.
4809 * i386.h: Update print_operand docs.
4810
ce193852
RH
4811Sat Apr 4 19:08:37 1998 Richard Henderson <rth@cygnus.com>
4812
4813 * i386.md (ffssi, ffshi): Rewrite as define_expands.
4814 (ffssi_1, ffshi_1): New (unspec [] 5) support patterns.
4815 * i386.c (notice_update_cc): Recognize unspec 5.
4816
0022a940
DMT
4817Sat Apr 4 18:07:16 1998 David Mosberger-Tang (davidm@mostang.com)
4818
4819 * alpha.h (PRINT_OPERAND_PUNCT_VALID_P): Accept '(' for s/sv/svi.
4820 * alpha.c (print_operand): Handle it.
4821 * alpha.md (fix_truncsfdi2): Use it. Add earlyclobber pattern
4822 for ALPHA_TP_INSN.
4823 (fix_truncdfdi2): Likewise.
4824
896cced4
RH
4825Sat Apr 4 17:42:05 1998 Richard Henderson <rth@cygnus.com>
4826
4827 * tree.h (sizetype_tab[2], sbitsizetype, ubitsizetype): Merge all
4828 of these into a single struct, with additional [us]sizetype entries.
4829 * stor-layout.c (set_sizetype): Initialize [us]sizetype.
4830 * fold-const.c (size_int_wide): Don't rely on sizetype_tab being
4831 an array.
4832
8983c716
RH
4833Sat Apr 4 17:04:41 1998 Richard Henderson <rth@cygnus.com>
4834
4835 * configure.in (alpha-*-linux-*): Undo tm_file changes from gcc2 merge.
4836
4ed43ff8
RH
4837Sat Apr 4 13:50:01 1998 Richard Henderson <rth@cygnus.com>
4838
4839 * haifa-sched.c (split_block_insns): Don't supress insn splitting
4840 on subsequent passes.
4841
4842 * alpha.c (hard_fp_register_operand): New function.
4843 * alpha.h (PREDICATE_CODES): Add it.
4844 * alpha.md (extendsidi2): Kill bogus f<-f cvtql+cvtlq case. Add an
4845 f<-m case and accompanying define_split.
4846 (trapb): Use a unique unspec_volatile number.
4847
8e7bc3cd
RH
4848Sat Apr 4 13:32:08 1998 Richard Henderson <rth@cygnus.com>
4849
4850 * configure.in (alpha-*-linux-gnu*): Undo Feb 3 change brought in
4851 from gcc2 merge.
4852
e5e809f4
JL
4853Sat Apr 4 10:23:41 1998 Jeffrey A Law (law@cygnus.com)
4854
4855 * Check in merge from gcc2. See ChangeLog.11 and ChangeLog.12
4856 for details.
4857
4858 * haifa-sched.c: Mirror recent changes from gcc2.
4859
516c2342
JL
4860Fri Apr 3 00:17:01 1998 Jeffrey A Law (law@cygnus.com)
4861
e9eaed43
JL
4862 * Makefile.in (insn*.o): Depend on system.h.
4863
516c2342
JL
4864 * pa.c (output_global_address): Initialize base.
4865 * pa.h (GO_IF_LEGITIMATE_ADDRESS): Initialize index.
4866
7cc34889
MS
48671998-04-03 Mike Stump <mrs@wrs.com>
4868
4869 * gthr.h: Support systems that don't have weak, but have threads.
4870 * configure.in (*wrs-vxworks*): Use VxWorks threads by default.
4871 * gthr-vxworks.h: New file.
4872 * objc/thr-vxworks.h: Dummy file from thr-single.c for now.
4873
52c18286
JW
4874Thu Apr 2 18:00:52 1998 Jim Wilson <wilson@cygnus.com>
4875
4876 * i386.md (movqi+1): Change alternative 1 from *r/r to *r/*rn.
4877
c1ac292d
VM
48781998-04-02 Vladimir N. Makarov <vmakarov@cygnus.com>
4879
4880 * ginclude/va-i960.h (va_end): Change void * to void.
4881
4cb1caaf
KG
4882Thu Apr 2 13:51:10 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4883
4884 * Makefile.in (choose-temp.o): Depend on system.h.
4885
4886 * choose-temp.c: Include system.h when IN_GCC.
4887
a9a2595b
JR
4888Thu Apr 2 02:37:07 1998 Joern Rennecke (amylaar@cygnus.co.uk)
4889 Richard Henderson <rth@cygnus.com>
4890
4891 * reload.c (find_reloads_address): Try LEGITIMIZE_RELOAD_ADDRESS.
4892 (move_replacements): New function.
4893 * reload.h: Prototype it.
b57062ca 4894
a9a2595b 4895 * alpha.h (LEGITIMIZE_RELOAD_ADDRESS): New definition.
b57062ca 4896
79363e2f
RH
4897Thu Apr 2 01:01:34 1998 Richard Henderson <rth@cygnus.com>
4898
4899 * configure (alpha-*-linuxecoff, alpha-*-linux-gnulibc1):
4900 Run fixincludes.
4901
4901a643
RH
4902 * emit-rtl.c (gen_lowpart_common): Skip count by HARD_REGNO_NREGS.
4903 (gen_highpart): Likewise.
ce4d78eb
RH
4904 * final.c (alter_subreg): Allow the target to hook by-mode subreg
4905 hard register number changes.
b57062ca 4906
715f9c99
JL
4907Wed Apr 1 22:26:22 1998 Jeffrey A Law (law@cygnus.com)
4908
4e86caed
JL
4909 * fold-const.c optimze_bit_field_compare): Initialize rnbitpos,
4910 rnbitsize, rnmode and rinner.
4911 (make_range): Initialize type.
4912 (fold): Initialize arg0, arg1 and varop.
4913
4914 * function.c (instantiate_virtual_regs_1): Initialize offset, regnoi
4915 and regnor.
4916 (expand_function_start): Initialize last_ptr.
4917
4918 * stor-layout.c (layout_record): Initialize desired_align.
4919 (get_best_mode): Initialize unit.
4920
4921 * tree.c (copy_node): Initialize length.
4922
aefdd5ab
JL
4923 * c-lex.c (yylex): Initialize traditional_type, ansi_type and type.
4924
4925 * caller-save.c (insert_save_restore): Initialize pat, code and
4926 numregs.
4927
4928 * emit-rtl.c (push_to_sequence): Initialize top.
4929 (push_topmost_sequence): Likewise.
4930
4931 * genattrtab.c (simplify_by_exploding): Initialize defval.
4932
4933 * profile.c (branch_prob): Initialize dest.
4934
4935 * rtl.h (note_stores): Remove duplicate prototype.
4936 (GEN_INT): Re-instate cast of second arg to HOST_WIDE_INT.
4937
4938 * cplus-dem.c (gnu_special): Don't get confused by .<digits>
4939 strings that are not actually lengths.
4940
729da3f5
JL
4941 * genattrtab.c: Make generated file use system.h, instead of
4942 including stdio.h, etc directly.
4943 * genextract.c, genopinit.c, genoutput.c: Likewise.
4944 * genpeep.c, genrecog.c: Likewise
4945
4946 * genoutput.c (process_template): Mark operands in the generated
4947 function as potentially unused if compiling with GNU CC.
4948
2a8034f8
JL
4949 * i386/freebsd-elf.h (CPP_PREDEFINES): Update from FreeBSD folks.
4950
715f9c99
JL
4951 * pa.md (reload peepholes): Remove unused variable "mode".
4952
75d3a15b
NC
4953Wed Apr 1 17:06:19 1998 Nick Clifton <nickc@cygnus.com>
4954
4955 * config/arm/thumb.h: Add super interworking support.
4956 * config/arm/thumb.c: Add super interworking support.
4957 * config/arm/thumb.md: Add super interworking support.
75d3a15b
NC
4958 * config/arm/lib1funcs.asm: Add interworking support.
4959 * config/arm/lib1thumb.asm: Add super interworking support.
75d3a15b
NC
4960 * config/arm/t-semi: Add interworking support.
4961 * config/arm/t-thumb: Add interworking support.
75d3a15b 4962 * config/arm/README-interworking: New file.
b57062ca 4963
63959c22
JW
4964Wed Apr 1 14:38:10 1998 Jim Wilson <wilson@cygnus.com>
4965
4966 * config/mips/iris6.h (MD_EXEC_PREFIX): Set to /usr/bin/.
4967 (MD_STARTFILE_PREFIX): Unset.
4968
c651e1e0
MM
49691998-04-01 Mark Mitchell <mmitchell@usa.net>
4970
4971 * varasm.c (make_decl_rtl): Update the DECL_ASSEMBLER_NAME for a
4972 entity in a local scope.
4973
4974 * fold-const.c (fold): Call truthvalue_conversion for values which
4975 are folded to boolean type.
4976
3a598fbe
JL
4977Wed Apr 1 06:09:53 1998 Jeffrey A Law (law@cygnus.com)
4978
4979 * 1750a.md, arm.c, clipper.c, clipper.md: Use GEN_INT consistently.
4980 * convex.h, dsp16xx.c, fx80.md, gmicro.c, gmicro.md: Likewise.
4981 * i370.h, i370.md, i860.c, i860.h, i860.md, i960.c: Likewise.
4982 * i960.h, i960.md, m32r.md, m68k.md, m68kv4.h, m88k.c: Likewise.
4983 * m88k.md, ns32k.c, ns32k.md, pdp11.c, pdp11.h, pdp11.md: Likewise.
4984 * pyr.c, pyr.h, pyr.md, romp.c, romp.h, romp.md: Likewise.
4985 * rs6000.md, sparc.c, sparc.h, sparc.md, spur.c, spur.md: Likewise.
4986 * tahoe.md, vax.h, vax.md, we32k.c, we32k.h, we32k.md: Likewise.
4987 * md.texi: Likewise.
4988
b5026c50
MH
4989Wed Apr 1 08:33:44 1998 Manfred Hollstein <manfred@s-direktnet.de>
4990
4991 * fixincludes (limits.h): Fix nested comments in Motorola's
4992 limits.h and sys/limits.h.
4993
c8d86b9a
JW
4994Tue Mar 31 16:57:33 1998 Jim Wilson <wilson@cygnus.com>
4995
1a7cb241
JW
4996 * alpha.c (alpha_expand_unaligned_load): Use tgt instead of addr
4997 as dest of expand_binop call.
4998
221a9f65
JW
4999 * alpha.md (extzv): Correct check for valid operand[2] values.
5000
a7ebd547
JW
5001 * profile.c (branch_prob): Add code to recognize HPPA tablejump entry
5002 branch.
5003
c8d86b9a
JW
5004 * toplev.c (rest_of__compilation): Call init_recog_no_volatile at end.
5005
97be8f06
SC
5006Mon Mar 30 13:11:05 1998 Stan Cox <scox@cygnus.com>
5007
5008 * libgcc2.c: (__main, __do_global_dtors, __do_global_ctors):
5009 For __CYGWIN32__ use the versions in winsup/dcrt0.cc.
b57062ca 5010
97be8f06
SC
5011 * gcc.c, cccp.c, cpplib.c, collect2.c (GET_ENVIRONMENT): Added.
5012 cygwin32 can override this to allow both unix and win32 style PATHs.
5013
5014 * i386/xm-cygwin32.h (GET_ENVIRONMENT): Defined to allow win32
5015 style environment paths.
b57062ca 5016
b04cd507
KG
5017Mon Mar 30 14:43:20 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5018
5019 * Makefile.in (cppalloc.o, cpperror.o, cppexp.o, cpphash.o,
5020 cpplib.o, cppmain.o, fix-header.o, gcov.o, gen-protos.o,
5021 gengenrtl.o, halfpic.o, hash.o, scan-decls.o, scan.o): Depend on
5022 system.h.
b57062ca 5023
b04cd507
KG
5024 * cpphash.c: Include config.h.
5025 * cppalloc.c: Include system.h. Add parameters to various
5026 function prototypes.
5027 * cpperror.c: Likewise.
5028 * cppexp.c: Likewise.
5029 * cpphash.c: Likewise.
5030 * cpplib.c: Likewise.
5031 * cppmain.c: Likewise.
5032 * fix-header.c: Likewise.
5033 * gcov.c: Likewise.
5034 * gen-protos.c: Likewise.
5035 * gengenrtl.c: Likewise.
5036 * halfpic.c: Likewise.
5037 * hash.c: Likewise.
5038 * scan-decls.c: Likewise.
5039 * scan.c: Likewise.
5040
1aa5d112
JW
5041Mon Mar 30 11:06:45 1998 Jim Wilson <wilson@cygnus.com>
5042
5043 * README.gnat: Add lang_print_xnode definition.
5044
e18db50d
AS
5045Mon Mar 30 11:12:24 1998 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5046
5047 * config/m68k/m68k.c (standard_68881_constant_p): Don't use
5048 fmovecr on the 68060.
5049
c0d45032
JL
5050Mon Mar 30 00:21:03 1998 Jeffrey A Law (law@cygnus.com)
5051
5052 * genemit.c (DONE): Rework so that it works in the true arm if
5053 an if-else conditional.
5054 (FAIL): Likewise.
5055
31ed227b
JL
5056Sun Mar 29 12:45:23 1998 Jeffrey A Law (law@cygnus.com)
5057
c3670418
JL
5058 * rs6000.c: Do not include stdioh or ctype.h anymore.
5059
234042f4
JL
5060 * Makefile.in (c-typeck.o): Delete on expr.h, insn-codes.h and
5061 $(RTL_H).
5062 (stor-layout.o): Likewise.
5063 * c-typeck.c: Include rtl.h and expr.h.
5064 * stor-layout.c: Likewise.
5065
72e19470
JL
5066 * cpplib.c (cpp_file_line_for_message): Delete unused parameter.
5067 All callers changed.
5068 (do_sccs): Wrap in an SCCS_DIRECTIVE ifdef.
5069 * fix-header.c (cpp_file_line_for_message): Delete unused paramter.
5070 All callers changed.
5071
40c3a857
JL
5072 * collect2.c (is_in_list): Wrap inside COLLECT_EXPORT_LIST ifdef.
5073
c80150b7
JL
5074 * local-alloc.c (reg_classes_overlap_p): Delete dead function.
5075
31ed227b
JL
5076 * tree.h (lang_print_xnode): Provide prototype.
5077
fe776296
JL
5078Sat Mar 28 23:50:44 PST 1998 Jeff Law (law@cygnus.com)
5079
5080 * version.c: Bump for snapshot.
5081
f1b03ce1
JL
5082Sun Mar 29 00:42:21 1998 Jeffrey A Law (law@cygnus.com)
5083
3ac2735b
JL
5084 * objc/sendmsg.c (__objc_block_forward): Add braces for return
5085 value if INVISIBLE_STRUCT_RETURN.
5086
f2b147f7
JL
5087 * pa.c (arith_double_operand): Fix parens.
5088
c4fa3460
JL
5089 * haifa-sched.c (print_pattern): Correct arg to sprintf.
5090
f1b03ce1
JL
5091 * Makefile.in (libgcc1.null): Make return type for __foo void.
5092
2e61a5a5
JL
5093Sat Mar 28 14:37:20 1998 Jeffrey A Law (law@cygnus.com)
5094
ba0b8436
JL
5095 * pa.h: Add declarations for many functions defined in pa.c.
5096
67ac5957
JL
5097 * genpeep.c (main): Remove unused variable 'i' from the generated
5098 file.
5099
c38d8c5b
JL
5100 * genemit.c (gen_expand): Do not emit "_done" or "_fail" labels.
5101 (gen_split): Likewise.
5102 (main): Rework generated definitions of DONE and FAIL so that they
5103 no longer use gotos. Avoids warnings about unused labels.
5104
d6e6c585
JL
5105 * integrate.c (copy_rtx_and_substitute): Rework to avoid need for
5106 unused "junk" variable.
5107
2e61a5a5
JL
5108 * genattrtab.c (write_complex_function): Add a default case in
5109 generated switch statement to keep -W -Wall quiet.
5110
0b26e56d
NC
5111Sat Mar 28 10:47:21 1998 Nick Clifton <nickc@cygnus.com>
5112
157a620e
NC
5113 * invoke.texi: Document more ARM and Thumb command line options.
5114
0b26e56d
NC
5115 * config/arm/xm-thumb.h: New file.
5116
600a4ce7
CB
5117Sat Mar 28 01:37:33 1998 Craig Burley <burley@gnu.ai.mit.edu>
5118
5119 * stmt.c (expand_expr_stmt): Must generate code for
5120 statements within an expression (gcc's `({ ... )}')
5121 even if -fsyntax-only.
5122
4d1d8045
BS
5123Sat Mar 28 01:06:12 1998 Bernd Schmidt <crux@pool.informatik.rwth-aachen.de>
5124 Jeffrey A Law (law@cygnus.com)
5125
5126 * basic-block.h (basic_block_computed_jump_target): Declare.
5127 * flags.h: (current_function_has_computed_jump): Declare.
5128 * flow.c: (basic_block_computed_jump_target): Define.
5129 (flow_analysis): Allocate it. Set current_function_has_computed_jump
5130 to 0.
5131 (find_basic_blocks): Set current_function_has_computed_jump and
5132 elements of basic_block_computed_jump_target to 1 as appropriate.
5133 * function.c: (current_function_has_computed_jump): Define.
5134 * global.c (global_conflicts): Don't allocate pseudos into stack regs
5135 at the start of a block that is reachable by a computed jump.
5136 * reg-stack.c (stack_reg_life_analysis): If must restart, do so
5137 immediately.
5138 (subst_stack_regs): Undo change from Sep 4 1997.
5139 (uses_reg_or_mem): Now unused, deleted.
5140 * stupid.c (stupid_life_analysis): Compute
5141 current_function_has_computed_jump.
5142 (stupid_find_reg): Don't allocate stack regs if the function has a
5143 computed goto.
5144 * haifa-sched.c (is_cfg_nonregular): Delete code to determine if
5145 the current function has a computed jump. Use the global value
5146 instead.
5147
56f28b73
JL
5148Sat Mar 28 00:21:37 1998 Jeffrey A Law (law@cygnus.com)
5149
5150 * i386/freebsd.h (CPP_PREDEFINES): Remove __386BSD__.
5151 (DWARF2_UNWIND_INFO): Define to zero.
5152
6ed4bb9a
MM
5153Fri Mar 27 16:04:49 1998 Michael Meissner <meissner@cygnus.com>
5154
5155 * gcc.c (set_std_prefix): Add declaration.
5156 (process_command): If GCC_EXEC_PREFIX is set, remove /lib/gcc-lib/
5157 suffix, and update the standard prefix prefix.c uses.
5158
5159 * prefix.c (std_prefix): New global to hold default prefix value.
5160 (get_key_value): Change to use std_prefix instead of PREFIX.
5161 (translate_name): Ditto.
5162 (update_path): Ditto.
5163 (get_key_value): Release allocated scratch storage.
5164 (set_std_prefix): New function to reset the standard prefix.
5165
1f3fa20e
R
5166Fri Mar 27 18:08:21 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
5167
7daa142b 5168 * sh.c (find_barrier): Fix calculations for alignment increase.
1f3fa20e 5169
d8a0154e
MH
5170Fri Mar 27 08:56:52 1998 Manfred Hollstein <manfred@s-direktnet.de>
5171
5172 * Makefile.in (stmp-fixinc): If we're actually fixing include
5173 files, copy gcc's assert.h into the fixed include dir.
5174 * fixincludes (assert.h): Avoid any attempts to fix a probably
5175 broken system specific assert.h file.
5176 * fixproto (stdlib.h): Make sure, it'll contain a definition of
5177 size_t.
5178
64d3b4ca
JL
5179Fri Mar 27 00:49:46 1998 Jeffrey A Law (law@cygnus.com)
5180
5181 * regclass.c (reg_scan_mark_refs): Be more selective about
5182 when we mark a register with REGNO_POINTER_FLAG.
5183
e6e52be0
R
5184Thu Mar 26 23:00:11 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
5185
5186 reload inheritance improvement:
5187 * reload1.c (reg_reloaded_contents, reg_reloaded_insn):
5188 Change meaning: index is now hard reg number.
5189 (reg_reloaded_valid, reg_reloaded_dead): New variables.
5190 (reload_spill_index): Content is now a hard reg number.
5191 (reload_as_needed): Change to fit new variable meaning.
5192 (forget_old_reloads_1, allocate_reload_reg): Likewise.
5193 (choose_reload_regs, emit_reload_insns): Likewise.
5194
812f2051
R
5195Thu Mar 26 18:34:13 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
5196
5197 * regclass.c (record_reg_classes): '?' increases cost by two.
5198
5199 * reload.c (find_reloads): Double previous costs. Output
5200 reloads cost one unit extra.
5201
5202 * reload1.c (eliminate_regs): Delete LOAD_EXTENDED_OP code that
5203 boiled down to && ! 0.
5204
5205 * reload.c (find_equiv_reg): Also consider a goal offset from the
5206 frame pointer to be constant.
5207
04d02ece
R
5208Thu Mar 26 17:34:46 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
5209
5210 * sh.h (OPTIMIZATION_OPTIONS): Define.
5211
6f28d3e9
RH
5212Thu Mar 26 00:19:47 1998 Richard Henderson <rth@cygnus.com>
5213
5214 * combine.c (make_compound_operation): Simplify (subreg (*_extend) 0).
5215
b09fa787
JL
5216Wed Mar 25 23:53:11 1998 Jeffrey A Law (law@cygnus.com)
5217
5218 * pa.c (pa_adjust_cost): Avoid redundant calls to get_attr_type.
5219
a16b4c9c
JW
5220Wed Mar 25 13:40:48 1998 Jim Wilson <wilson@cygnus.com>
5221
5222 * c-common.c (check_format_info): Initialize type, is_type. New local
5223 integral_format. Don't warn for 'L' when pedantic. Do warn for 'L'
5224 when pedantic if used with integral format specifier.
5225
c4d38ccb
MM
5226Wed Mar 25 16:09:01 1998 Michael Meissner <meissner@cygnus.com>
5227
5228 * rs6000.h (FUNCTION_ARG_PADDING): Cast result to be enum
5229 direction.
5230 (function_arg_padding): Declare.
5231
5232 * rs6000.c: Include system.h.
5233 (function_arg_padding): Change return type to int, cast enum's to
5234 int.
5235
5236 (From Kaveh R. Ghazi <ghazi@caip.rutgers.edu>)
5237 * collect2.c (scan_prog_file): Add explicit braces to avoid
5238 ambiguous `else'.
b57062ca 5239
c4d38ccb
MM
5240 * dbxout.c (dbxout_type_fields): Add braces around empty body in
5241 an if-statement.
5242 (dbxout_type): Likewise.
b57062ca 5243
c4d38ccb
MM
5244 * rs6000.c (rs6000_override_options): Change type of `i', `j' and
5245 `ptt_size' from int to size_t.
5246 (rs6000_file_start): Likewise for `i'.
5247 (rs6000_replace_regno): Add default case in enumeration switch.
5248 (output_epilog): Remove unused variable `i'.
5249 (rs6000_longcall_ref): Remove unused variables `len', `p', `reg1'
5250 and `reg2'.
b57062ca 5251
c4d38ccb
MM
5252 * rs6000.h (ADDITIONAL_REGISTER_NAMES): Add missing braces around
5253 initializer.
5254 (get_issue_rate, non_logical_cint_operand): Add prototype.
5255 (rs6000_output_load_toc_table): Ditto.
b57062ca 5256
c4d38ccb
MM
5257 * rs6000.md (udivmodsi4): Add explicit braces to avoid ambiguous
5258 `else'.
b57062ca 5259
e98e406f
NC
5260Wed Mar 25 10:05:19 1998 Nick Clifton <nickc@cygnus.com>
5261
5262 * config/arm/thumb.c: New File. Support for ARM's Thumb
b57062ca 5263 instruction set.
e98e406f
NC
5264 * config/arm/thumb.h: New File. Thumb definitions.
5265 * config/arm/thumb.md: New File. Thumb machine description.
5266 * config/arm/tcoff.h: New File. Thumb COFF support.
5267 * config/arm/t-thumb: New File. Thumb makefile fragment.
5268 * config/arm/lib1thumb.asm: New File. Thumb libgcc support functions.
5269
5270 * configure.in: Add Thumb-coff target.
5271 * configure: Add Thumb-coff target.
5272 * config.sub: Add Thumb-coff target.
5273
8cf619da
JW
5274Wed Mar 25 10:30:32 1998 Jim Wilson <wilson@cygnus.com>
5275
5276 * loop.c (scan_loop): Initialize move_insn_first to zero.
5277
fe0714d3
JS
5278Wed Mar 25 01:06:49 1998 Joel Sherrill (joel@OARcorp.com)
5279
5280 * config/i386/go32-rtems.h: Defined TARGET_MEM_FUNCTIONS.
5281 * config/i386/rtems.h: Likewise.
5282 * config/i960/rtems.h: Likewise.
5283 * config/m68k/rtems.h: Likewise.
5284 * config/mips/rtems64.h: Likewise.
5285 * config/pa/rtems.h: Likewise.
5286 * config/rs6000/rtems.h: Likewise.
5287 * config/sh/rtems.h: Likewise.
5288 * config/sparc/rtems.h: Likewise.
5289
428be702
RK
5290Wed Mar 25 00:57:26 1998 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
5291
5292 * pa.c (emit_move_sequence): If in reload, call find_replacement.
5293
ae8c5963
NC
5294Tue Mar 24 10:44:11 1998 Nick Clifton <nickc@cygnus.com>
5295
2ea9a965
NC
5296 * Makefile.in (gcov$(exeext)): Support .exe extension to gcov.
5297
ae8c5963
NC
5298 * collect2.c (find_a_file): Add debugging.
5299 (find_a_file): Test for win32 style absolute paths if
5300 DIR_SERPARATOR is defined.
5301 (prefix_from_string): Add debugging.
5302 (main): Test for debug command line switch at start of program
b57062ca 5303 execution.
ae8c5963 5304 (main): Use GET_ENVIRONMENT rather than getenv().
72cf6902
NC
5305 (prefix_from_env): Use GET_ENVIRONMENT.
5306
050367a3
MM
53071998-03-24 Mark Mitchell <mmitchell@usa.net>
5308
5309 * cplus-dem.c (optable): Add sizeof.
5310 (demangle_template_value_parm): New function containing code
5311 previously found in demangle_template.
b57062ca 5312 (demangle_integral_value): New function which handles complicated
050367a3
MM
5313 integral expressions.
5314 (demangle_template): Use them.
5315
0b93b64e
KG
5316Tue Mar 24 12:13:18 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5317
5318 * Makefile.in (genconfig.o, genflags.o, gencodes.o, genemit.o,
5319 genopinit.o, genrecog.o, genextract.o, genpeep.o, genattr.o,
5320 genattrtab.o, genoutput.o): Depend on system.h.
b57062ca 5321
0b93b64e
KG
5322 * genattr.c: Include system.h. Add arguments to various function
5323 prototypes. Remove redundant prototype of read_rtx().
5324 * genattrtab.c: Likewise.
5325 * gencodes.c: Likewise.
5326 * genconfig.c: Likewise.
5327 * genemit.c: Likewise.
5328 * genextract.c: Likewise.
5329 * genflags.c: Likewise.
5330 * genopinit.c: Likewise.
5331 * genoutput.c: Likewise.
5332 * genpeep.c: Likewise.
5333 * genrecog.c: Likewise.
5334
bc289659
ML
53351998-03-24 Martin von Loewis <loewis@informatik.hu-berlin.de>
5336
5337 * c-lang.c (lang_print_xnode): New function.
5338 * objc/objc-act.c (lang_print_xnode): Likewise.
5339 * print-tree.c (print_node): Call it
5340
990ac8d7
L
5341Mon Mar 23 23:59:11 1998 H.J. Lu (hjl@gnu.org)
5342
5343 * c-parse.in: Recognize protocol qualifiers in class
5344 definitions for objc.
5345 Include "output.h".
5346 (yyerror): Remove redundant decl.
5347 (yyprint): Fix prototype.
5348
65d98182
JL
5349Mon Mar 23 23:49:47 1998 Jeffrey A Law (law@cygnus.com)
5350
47a0b68f
JL
5351 * cse.c (rtx_cost): Only call CONST_COSTS if it is defined.
5352
65d98182
JL
5353 * stmt.c (unroll_block_trees): Free block_vector if needed.
5354
3cac0a21
PDM
5355Mon Mar 23 23:26:42 1998 Philippe De Muyter <phdm@macqel.be>
5356
4b8bef1d
PDM
5357 * m68k/m68k.md (zero_extendqidi2, zero_extendhidi2): New patterns.
5358 (zero_extendsidi2): Avoid useless copy.
5359 (iordi_zext): New pattern.
5360 (iorsi_zexthi_ashl16): Pattern reworked to avoid "0" constraint for
5361 operand 2.
5362 (iorsi_zext): New name for old unnamed pattern; indentation fixes.
5363
3cac0a21
PDM
5364 * m68k/m68k.md (ashldi_const): Allow shift count in range ]32,63].
5365 (ashldi3): Allow constant shift count in range ]32,63].
5366 (ashrdi_const, ashrid3, lshrdi_const, lshrdi3): Likewise.
5367
4da05956
MM
53681998-03-22 Mark Mitchell <mmitchell@usa.net>
5369
5370 * tree.h (IS_EXPR_CODE_CLASS): New macro.
5371
545f2aab
JL
5372Mon Mar 23 23:18:48 1998 Jeffrey A Law (law@cygnus.com)
5373
5374 * h8300.h (CONST_COSTS): Remove definition.
5375 (DEFAULT_RTX_COSTS): Define.
5376
eef15f9f
JS
5377Mon Mar 23 22:58:22 1998 Joel Sherrill (joel@OARcorp.com)
5378
5379 * config/sh/rtems.h: Switched from ELF to COFF.
5380
4bca6986
R
5381Mon Mar 23 14:14:20 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
5382
5383 * freebsd.h (ASM_OUTPUT_ALIGN): Redefine.
5384
8ca77a11
JL
5385Sat Mar 21 23:52:56 PST 1998 Jeff Law (law@cygnus.com)
5386
5387 * version.c: Bump for snapshot.
5388
e09e14e9
NC
5389Sun Mar 22 00:50:42 1998 Nick Clifton <nickc@cygnus.com>
5390 Geoff Noer <noer@cygnus.com>
5391
5392 * Makefile.in: Various fixes for building cygwin32 native toolchains.
5393
35d541d4
NC
5394 * objc/Makefile.in: Various fixes for building cygwin32 native toolchains.
5395 * objc/Make-lang.in: Likewise.
5396
4a0cf2aa
NC
5397 * config/i386/xm-cygwin32.h (PATH_SEPARATOR): Set to a semi-colon.
5398
535b86ce
G
5399Sun Mar 22 00:21:46 1998 R. Ganesan <rganesan@novell.com>
5400
5401 * configure.in: Handle with-PACKAGE=no correctly
5402
670ee920
KG
5403Fri Mar 20 17:36:23 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5404
5405 * Makefile.in (alias.o, bitmap.o, c-aux-info.o, c-common.o,
5406 c-decl.o, c-iterate.o, c-lang.o, c-lex.o, c-pragma.o, c-typeck.o,
5407 caller-save.o, calls.o, collect2.o, combine.o, cse.o, dbxout.o,
5408 dwarf2out.o, dwarfout.o, emit-rtl.o, except.o, explow.o, expmed.o,
5409 expr.o, final.o, flow.o, function.o, getpwd.o, global.o,
5410 integrate.o, jump.o, local-alloc.o, loop.o, optabs.o, pexecute.o,
5411 prefix.o, print-rtl.o, print-tree.o, profile.o, real.o, recog.o,
5412 reg-stack.o, regclass.o, regmove.o, reload.o, reload1.o, reorg.o,
5413 rtl.o, rtlanal.o, sdbout.o, stmt.o, stor-layout.o, stupid.o,
5414 tlink.o, toplev.o, tree.o, unroll.o, varasm.o, xcoffout.o): Depend
5415 on system.h.
5416
5417 * alias.c, bitmap.c, c-aux-info.c, c-common.c, c-decl.c,
5418 c-iterate.c, c-lang.c, c-lex.c, c-pragma.c, c-typeck.c,
5419 caller-save.c, calls.c, collect2.c, combine.c, cse.c, dbxout.c,
5420 dwarf2out.c, dwarfout.c, emit-rtl.c, except.c, explow.c, expmed.c,
5421 expr.c, final.c, flow.c, function.c, gcc.c, getpwd.c, global.c,
5422 integrate.c, jump.c, local-alloc.c, loop.c, optabs.c, pexecute.c,
5423 prefix.c, print-rtl.c, print-tree.c, profile.c, real.c, recog.c,
5424 reg-stack.c, regclass.c, regmove.c, reload.c, reload1.c, reorg.c,
5425 rtl.c, rtlanal.c, sched.c, sdbout.c, stmt.c, stor-layout.c,
5426 stupid.c, tlink.c, toplev.c, tree.c, unroll.c, varasm.c,
5427 xcoffout.c: Include system.h. Organize include ordering so
5428 that stdarg/varargs comes before other system headers. Remove
5429 spurious casts of functions assured of a prototype in system.h.
5430
7aa74e4c
SC
5431Fri Mar 20 11:19:40 1998 Stan Cox <scox@equinox.cygnus.com>
5432
5433 * reg-stack.c (pop_stack): Define. Pops any register on the
5434 regstack and adjusts regstack.
5435 (compare_for_stack_reg): Use pop_stack.
b57062ca 5436
d005a5a4
JL
5437Thu Mar 19 23:51:01 1998 Jeffrey A Law (law@cygnus.com)
5438
5439 * configure.in (hppa1.0-hp-hpux10): Handle threads for this
5440 config too.
5441
ba3ad5e0
PDM
5442Thu Mar 19 20:30:31 1998 Philippe De Muyter <phdm@macqel.be>
5443
09b4ce12
PDM
5444 * libgcc2.c (exit): Do not call __bb_exit_func if HAVE_ATEXIT.
5445
ba3ad5e0
PDM
5446 * fold-const.c (fold): Replace sign-extension of a zero extended
5447 value by a single zero extension.
5448
6e1f1f93
JM
5449Thu Mar 19 00:58:07 1998 Jason Merrill <jason@yorick.cygnus.com>
5450
5451 * except.c (init_eh): Do nothing.
5452 (save_eh_status): Call init_eh_for_function, not init_eh.
5453 * function.c (push_function_context_to): Don't call init_emit.
5454
838b0e4e
MM
5455Thu Mar 19 13:39:52 1998 Michael Meissner <meissner@cygnus.com>
5456
5457 * rs6000/sysv4.h (RELATIVE_PREFIX_NOT_LINKDIR): Undef for System V
5458 and EABI.
5459
ecb06768
KG
5460Thu Mar 19 10:10:36 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5461
5462 * final.c (shorten_branches): Add parentheses around +/- in
5463 operand of &.
5464
5465 * flow.c (life_analysis): Wrap variable `i' in macro ELIMINABLE_REGS.
5466
dfba7a1b
MH
5467Thu Mar 19 09:15:17 1998 Manfred Hollstein <manfred@s-direktnet.de>
5468
5469 * regclass.c (memory_move_secondary_cost): Wrap uses of
5470 SECONDARY_INPUT_RELOAD_CLASS and SECONDARY_OUTPUT_RELOAD_CLASS
5471 with #ifdef tests.
5472
4faca093
MH
5473Thu Mar 19 09:06:35 1998 Manfred Hollstein <manfred@s-direktnet.de>
5474
5475 * config/m68k/m68k.md (addqi3): Fix typo gen_INT vs. GEN_INT.
5476
5477 * flow.c (life_analysis): #include <sys/types.h> to make sure
5478 size_t is defined.
5479 * cplus-dem.c (demangle_function_name): Likewise.
5480
af7da199
MH
5481Thu Mar 19 09:00:01 1998 Manfred Hollstein <manfred@s-direktnet.de>
5482
5483 * final.c (insn_noperands): Change type to unsigned int.
5484 (final_scan_insn): Likewise for noperands;
5485 properly check operand number boundaries.
5486
10a25232
RH
5487Wed Mar 18 16:20:30 1998 Richard Henderson <rth@cygnus.com>
5488
5489 * alpha.md (extzv): Don't reject register operands. Fix
5490 mode of operand 1.
5491
99d1a24c
RH
5492Wed Mar 18 16:14:23 1998 Richard Henderson <rth@cygnus.com>
5493
5494 * dbxout.c (dbxout_function_end): Fix last change. The correct
5495 predicate is ASM_OUTPUT_SECTION_NAME.
5496
5bac82c5
JW
5497Wed Mar 18 12:43:20 1998 Jim Wilson <wilson@cygnus.com>
5498
5499 * sh.md (ashlsi_c-1): Delete 3rd argument to gen_ashlsi_c.
5500 (ashlsi): Use match_dup 1 instead of match_operand 2.
5501
52de9b6c
RK
5502Wed Mar 18 13:46:07 1998 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
5503
5504 * fold-const.c (operand_equal_for_comparison_p): See if equal
5505 when nop conversions are removed.
5506
7c00d1fe
RK
5507Wed Mar 18 13:42:01 1998 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
5508
5509 * expr.c (expand_expr, case COND_EXPR): If have conditional move,
5510 don't use ORIGINAL_TARGET unless REG.
5511
343665b9
R
5512Wed Mar 18 16:53:19 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
5513
5514 * netbsd.h (ASM_OUTPUT_ALIGN): Redefine.
5515
1a61c29f
JW
5516Wed Mar 18 12:43:20 1998 Jim Wilson <wilson@cygnus.com>
5517
5518 * loop.c (struct movable): New field move_insn_first.
5519 (scan_loop): In consec sets code, set it. Clear it otherwise.
5520 (move_movables): In consec sets code, use it. Copy REG_NOTES from
5521 p to i1 only if i1 does not have REG_NOTES. Delete obsolete ifdefed
5522 out code.
5523
cbe36725
RH
5524Wed Mar 18 09:52:56 1998 Richard Henderson <rth@cygnus.com>
5525
5526 * rtl.c (read_rtx): Fall back on homebrew atoll if HOST_WIDE_INT
5527 is large, and the system doesn't provide atoll or atoq.
b57062ca 5528 (atoll): New.
cbe36725
RH
5529
5530 * alpha/xm-vms.h (HAVE_ATOLL): Define.
5531 Reported by Klaus Kaempf <kkaempf@progis.de>.
b57062ca 5532
081f5e7e
KG
5533Wed Mar 18 09:56:26 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5534
5535 * c-lang.c (finish_file): Wrap variable `void_list_node' with macro
5536 test !ASM_OUTPUT_CONSTRUCTOR || !ASM_OUTPUT_DESTRUCTOR.
5537
5538 * calls.c (emit_call_1): Wrap variable `already_popped' with macro
b57062ca 5539 test !ACCUMULATE_OUTGOING_ARGS.
081f5e7e
KG
5540
5541 * collect2.c (write_c_file_glob): Wrap function definition in
5542 macro test !LD_INIT_SWITCH.
5543
5544 * combine.c (try_combine): Wrap variables `cc_use' and
5545 `compare_mode' in macro test EXTRA_CC_MODES.
5546
5547 * cpplib.c (do_ident): Remove unused variable `len'.
5548 (skip_if_group): Remove unused variables `at_beg_of_line' and
5549 `after_ident'.
5550 (cpp_get_token): Remove unused variable `dummy'.
5551
5552 * dbxout.c (scope_labelno): Move static variable definition inside
5553 the one function scope where it is used.
5554 (dbxout_function_end): Wrap prototype and definition in
5555 macro test !NO_DBX_FUNCTION_END.
5556
5557 * dwarf2out.c (add_subscript_info): Wrap variable `dimension_number'
5558 in macro test !MIPS_DEBUGGING_INFO.
5559
5560 * expr.c (expand_builtin_setjmp): Move declaration of variable `i'
5561 into the scope where it is used. Wrap empty else-statement body
5562 in braces.
5563
5564 * fix-header.c: Fix typo in comment.
5565 (inf_skip_spaces): Cast results of INF_UNGET to (void).
5566 (check_protection, main): Likewise.
5567
5568 * flow.c (find_basic_blocks_1): Remove dangling comment text.
5569
5570 * function.c (contains): Wrap prototype and definition in macro
5571 test HAVE_prologue || HAVE_epilogue.
5572 (fixup_var_refs_1): Remove unused variable `width'.
5573
5574 * gen-protos.c (main): Remove unused variable `optr'.
5575
5576 * haifa-sched.c (debug_control_flow): Remove unused variable `j'.
5577
5578 * libgcc2.c (__udiv_w_sdiv): Provide dummy return value of 0.
5579 (__sjpopnthrow): Remove unused variable `jmpbuf'.
5580 (__throw): Remove unused variable `val'.
5581
5582 * protoize.c: Check for a previously existing definition before
b57062ca 5583 defining *_OK macros.
081f5e7e
KG
5584
5585 * scan-decls.c (scan_decls): Remove unused variable `old_written'.
5586
76ce4776
R
5587Tue Mar 17 00:45:48 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
5588
5589 * vax.h (ADDR_VEC_ALIGN): Define.
5590
e29ef920
MM
5591Mon Mar 16 15:57:17 1998 Michael Meissner <meissner@cygnus.com>
5592
5593 * gcc.c (default_arg): Don't wander off the end of allocated
5594 memory.
5595
dbf55e53
MM
5596 (From Geoffrey Keating <geoffk@ozemail.com.au>)
5597 * rs6000.c (small_data_operand): Ensure that any address
b57062ca 5598 referenced relative to the small data area is inside the SDA.
dbf55e53 5599
883482b2 5600Mon Mar 16 12:55:15 1998 Jim Wilson <wilson@cygnus.com>
b57062ca 5601
883482b2
JW
5602 * config/m68k/netbsd.h (ASM_SPEC): Add %{m68060}.
5603
9ad82ff8 5604Mon Mar 16 15:50:20 EST 1998 Andrew MacLeod <amacleod@cygnus.com>
a0b61d14
AM
5605
5606 * except.h (in_same_eh_region): New prototype.
5607 (free_insn_eh_region, init_insn_eh_region): New prototypes.
5608 * except.c (insn_eh_region, maximum_uid): New static variables.
5609 (set_insn_eh_region): New static function to set region numbers.
5610 (free_insn_eh_region): New function to free EH region table.
5611 (init_insn_eh_region): New function to initialize EH region table.
5612 (in_same_eh_region): New function used to determine if two rtl
5613 instructions are in the same exception region or not.
5614 * final.c (final): Initialize the table indicating which instructions
5615 belong in which exception region.
5616 * genpeep.c (main): Add "except.h" to include file list in generated
b57062ca
UD
5617 file insn-peep.c.
5618 * config/sparc/sparc.md: Add calls to 'in_same_eh_region' in 4
5619 peepholes involving calls and unconditional branches.
a0b61d14 5620
66bd0128
JW
5621Mon Mar 16 11:16:50 1998 Jim Wilson <wilson@cygnus.com>
5622
5623 * README.gnat: New file.
5624
1d8eaa6b
AS
5625Mon Mar 16 11:14:20 1998 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5626
5627 * config/m68k/m68k.c: Include <stdlib.h> for atoi. Include
5628 "recog.h" for offsettable_memref_p.
5629 (legitimize_pic_address): Remove unused variable `offset'.
5630 (notice_update_cc): Change return type to void. Add default label
5631 to switch.
5632 (standard_68881_constant_p): Remove unused variable mode.
5633 (print_operand): Define local variable i only if SUPPORT_SUN_FPA.
5634 (const_int_cost): Explicitly declare as returning int.
5635 (output_dbcc_and_branch): Change return type to void.
5636
5637 * config/m68k/linux.h, config/m68k/m68k.md, config/m68k/m68k.c,
5638 config/m68k/m68k.h: Replace gen_rtx (XXX, ...) with gen_rtx_XXX
5639 (...). Use GEN_INT instead of gen_rtx_CONST_INT.
5640
60ba47b4
JL
5641Sun Mar 15 22:30:44 PST 1998 Jeff Law (law@cygnus.com)
5642
5643 * version.c: Bump for snapshot.
5644
68137318
AS
5645Fri Mar 13 11:30:12 1998 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5646
5647 * config/m68k/m68k.h (CONST_OK_FOR_LETTER_P): Fix logic in range
5648 check for 'M' constraint.
5649
7a50f126
JW
5650Thu Mar 12 14:47:14 1998 Jim Wilson <wilson@cygnus.com>
5651
5652 * cccp.c (create_definition): If pedantic, call pedwarn for macro
5653 varargs feature.
5654
57dbca5e
BS
5655Thu Mar 12 13:43:25 1998 Bernd Schmidt <crux@Pool.Informatik.RWTH-Aachen.DE>
5656
5657 * i386.c (ix86_logical_operator): New function.
5658 (split_di): Ensure that when a MEM is split, the resulting MEMs have
5659 SImode.
5660 * i386.md (anddi3, xordi3, iordi3): New patterns. Add a define_split
5661 to implement them.
5662
8625fab5
KG
5663Thu Mar 12 15:13:16 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5664 Richard Earnshaw <rearnsha@arm.com>
5665 Nick Clifton <nickc@cygnus.com>
b57062ca 5666
8625fab5 5667 * tm.texi (DEFAULT_RTX_COSTS): Document new macro.
b57062ca 5668
8625fab5 5669 * arm.h (DEFAULT_RTX_COSTS): Define instead of RTX_COSTS.
b57062ca 5670
8625fab5
KG
5671 * cse.c (rtx_cost): Provide a default case in an enumeration
5672 switch, and call DEFAULT_RTX_COSTS if it's defined.
b57062ca 5673
6ce22dac
MH
5674Thu Mar 12 10:02:38 1998 Manfred Hollstein <manfred@s-direktnet.de>
5675
5676 * basic-block.h (compute_preds_succs): Change return type in
5677 prototype to void.
5678 * flow.c (compute_preds_succs): Likewise in function definition.
5679
5680 * regmove.c (find_matches): Cast char used as array index to unsigned char
5681 to supress warning.
5682
9c318306
MH
5683Thu Mar 12 09:39:40 1998 Manfred Hollstein <manfred@s-direktnet.de>
5684
5685 * i386.h (RTX_COSTS): Insert braces around nested if.
5686 (ADDITIONAL_REGISTER_NAMES): Insert braces around structured
5687 elements.
5688
5689 * gcc.c (default_compilers): Properly put brackets around array elements in
5690 initializer.
5691
5692 * getopt.c (_getopt_internal): Add explicit braces around nested if;
5693 reformatted.
5694
5695 * reg-stack.c (record_asm_reg_life): Add explicit braces around nested if's.
5696 (record_reg_life_pat): Add explicit parens around && and || in expression.
5697 (stack_reg_life_analysis): Add parens around assignment used as expression.
5698 (convert_regs): Likewise.
5699
56c5d8bf
MH
5700Thu Mar 12 09:25:29 1998 Manfred Hollstein <manfred@s-direktnet.de>
5701
5702 * bitmap.c (bitmap_element_allocate): Remove unused parameter;
5703 change callers accordingly.
5704
5705 * cplus-dem.c (arm_special): Remove unused parameter work in prototype
5706 and definition; change all callers accordingly.
5707
5708 * except.c (init_eh): Avoid assignment of unused return value of
5709 build_pointer_type; cast it to void, instead, and remove unused
5710 variable type.
5711
5712 * gcc.c (lang_specific_driver): Define prototype only #ifdef
5713 LANG_SPECIFIC_DRIVER.
5714 (temp_names): Define only #ifdef MKTEMP_EACH_FILE.
5715
5716 * genoutput.c (output_epilogue): Initialize next_name to 0.
5717
5718 * real.c (efrexp): #if 0 prototype and function definition.
5719 (eremain): Likewise.
5720 (uditoe): Likewise.
5721 (ditoe): Likewise.
5722 (etoudi): Likewise.
5723 (etodi): Likewise.
5724 (esqrt): Likewise.
5725
5726 * reload.c (push_secondary_reload): Define prototype only
5727 #ifdef HAVE_SECONDARY_RELOADS.
5728
5729 * varasm.c (assemble_static_space): Define rounded only
5730 #ifndef ASM_OUTPUT_ALIGNED_LOCAL.
5731
4fce8e83
MH
5732Thu Mar 12 09:11:35 1998 Manfred Hollstein <manfred@s-direktnet.de>
5733
5734 * i386.md (andsi): Add default case in enumeration switch.
5735 (iorsi3): Likewise.
5736 (iorhi3): Likewise.
5737 (xorsi3): Likewise.
5738
85066503
MH
5739Thu Mar 12 08:37:02 1998 Manfred Hollstein <manfred@s-direktnet.de>
5740
5741 * c-decl (finish_struct): Change type of min_align to unsigned.
5742
5743 * cplus-dem.c (demangle_function_name): Change type of variable i to size_t;
5744 remove unused variable len.
5745
5746 * dwarf2out.c (reg_save): Add explicit cast of -1 to unsigned and a
5747 comment indicating this is proper behaviour.
5748 (reg_loc_descriptor): Remove redundant comparison of unsigned variable
5749 reg >= 0.
5750 (based_loc_descr): Likewise.
5751
5752 * enquire.c (bitpattern): Change type of variable i to unsigned.
5753
5754 * final.c (output_asm_insn): Don't cast insn_noperands to unsigned.
5755
5756 * flow.c (life_analysis): Change type of variable i to size_t;
5757 remove unused variable insn.
5758
5759 * gcc.c (translate_options): Change type of variables optlen, arglen and
5760 complen to size_t.
5761 (input_filename_length): Change type to size_t.
5762 (do_spec_1): Change type of variable bufsize to size_t.
5763 (main): Change type of variables i and j to size_t;
5764 remove subblock local definition of variable i.
5765 (lookup_compiler): Change type of second argument to size_t;
5766 change type of variable i to size_t.
5767
5768 * genemit.c (output_init_mov_optab): Change type of variable i to size_t.
b57062ca 5769
85066503
MH
5770 * genopinit.c (get_insn): Change type of variable pindex to size_t.
5771
5772 * genrecog.c (add_to_sequence): Change type of variable i to size_t.
5773
5774 * global.c (global_alloc): Change type of variable i to size_t.
5775
5776 * regclass.c (init_reg_sets): Change type of variables i and j to unsigned.
5777
5778 * stmt.c (expand_end_bindings): Change type of variable i to size_t.
5779 (expand_end_case): Change type of variable count to size_t.
5780
5781 * toplev.c (main): Change type of variable j to size_t.
5782 (set_target_switch): Change type of variable j to size_t.
5783 (print_switch_values): Change type of variable j to size_t;
5784 remove unused variable flags.
5785
5786 * varasm.c (assemble_variable): Change type of variable align to size_t.
5787 (const_hash_rtx): Change type of variable i to size_t.
5788
6d89b990
MM
57891998-03-11 Mark Mitchell <mmitchell@usa.net>
5790
5791 * dbxout.c (dbxout_type_methods): Only treat TYPE_METHODS as a
5792 TREE_VEC if that's what it really is.
5793
01c7f350
MM
5794Wed Mar 11 15:16:01 1998 Michael Meissner <meissner@cygnus.com>
5795
5796 * {haifa-,}sched.c (rank_for_schedule): Only take void * arguments
5797 as per ISO C spec.
5798
754d1a92
TT
5799Wed Mar 11 12:05:20 1998 Teemu Torma <tot@trema.com>
5800
5801 * gthr.h: Changed the comment about return values.
5802 * gthr-solaris.h (__gthread_once): Do not use errno; return the
b57062ca 5803 error number instead of -1.
754d1a92
TT
5804 (__gthread_key_create): Any non-zero return value is an error.
5805 * libgcc2.c (eh_context_initialize): Check for non-zero return
5806 value from __gthread_once.
5807 Check that the value of get_eh_context was really changed.
5808
77008a44
R
5809Wed Mar 11 18:26:25 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
5810
5811 * sh.h (LOOP_ALIGN): Only align when optimizing.
5812 * sh.c (find_barrier): Clear inc for CODE_LABELs.
5813 When not optimizing, calculate alignment for BARRIERs directly.
5814
a8aa4e0b
R
5815Wed Mar 11 15:07:18 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
5816
5817 * final.c (shorten_branches): Remove conditionalizing on
5818 SHORTEN_WITH_ADJUST_INSN_LENGTH
5819 * sh.h, pa.h (SHORTEN_WITH_ADJUST_INSN_LENGTH): Remove.
5820
832544bd
JL
5821Wed Mar 11 02:37:41 1998 Jeffrey A Law (law@cygnus.com)
5822
5823 * flow.c (find_basic_blocks_1): Keep the cfg accurate when removing
5824 an unconditional jump around deleted blocks.
5825
bdd3e6ab
JW
5826Mon Mar 9 12:02:23 1998 Jim Wilson <wilson@cygnus.com>
5827
11a932c0
JW
5828 * profile.c (branch_prob): If see computed goto, call fatal instead of
5829 abort.
5830
eeb54a49 5831 * config/mips/sni-svr4.h (CPP_PREDEFINE): Add -DSNI and -Dsinix.
b57062ca 5832
35011dd5
JW
5833 * configure.in (alpha-dec-osf): Add default case for osf* to switch.
5834 Patch from Bruno Haible.
5835
bdd3e6ab
JW
5836 * function.c (put_reg_into_stack): Copy MEM_IN_STRUCT_P from new.
5837 (assign_parms): Set aggregate if hide_last_arg and last_named.
5838
af035616
R
5839Mon Mar 9 19:57:56 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
5840
5841 * final.c (shorten_branches): Initialize insn_addresses.
5842
97e3c422
R
5843Mon Mar 9 14:10:23 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
5844
5845 * sh.h (MUST_PASS_IN_STACK): Define.
5846
5e75ef4a
JL
5847Sun Mar 8 13:01:56 1998 Jeffrey A Law (law@cygnus.com)
5848
5849 * final.c (shorten_branches): Fix minor logic error in
5850 ADDR_DIFF_VEC shortening support.
5851
99613661
JL
5852Sun Mar 8 02:17:42 PST 1998 Jeff Law (law@cygnus.com)
5853
5854 * version.c: Bump for snapshot.
5855
8ea2b111
JL
5856Sat Mar 7 00:54:15 1998 Jeffrey A Law (law@cygnus.com)
5857
168cbdf9
JL
5858 * haifa-sched.c (is_cfg_nonregular): Change return type to
5859 an int. No longer compute "estimated" number of edges. Use
5860 computed_jump_p instead of duplicating the code. Fixup/add
5861 some comments.
5862 (build_control_flow): Returns a value indicating an irregularity
5863 in the cfg was detected. Count the number of edges in the cfg.
5864 allocate various edge tables.
5865 (find_rgns): No longer look for unreachable blocks.
5866 (schedule_insns): Do not allocate memory for edge tables here.
5867 Free memory for edge tables before returning. Do not perform
5868 cross block scheduling if build_control_flow returns nonzero.
5869 * flow.c (compute_preds_succs): More accurately determine when
5870 a block drops in.
5871
52becdc0
JL
5872 * basic-block.h (free_basic_block_vargs): Provide prototype.
5873
8ea2b111
JL
5874 * cccp.c (main): Fix dumb mistakes in last change.
5875
33f7f353
JR
5876Fri Mar 6 21:28:45 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
5877
5878 * rtl.h (addr_diff_vec_flags): New typedef.
5879 (union rtunion_def): New member rt_addr_diff_vec_flags.
5880 (ADDR_DIFF_VEC_FLAGS): New macro.
5881
5882 * sh.c (output_branch): Fix offset overflow problems.
5883
5884 * final.c (shorten_branches): Implement CASE_VECTOR_SHORTEN_MODE.
5885 (final_scan_insn): New argument BODY for ASM_OUTPUT_ADDR_DIFF_ELT.
5886 * rtl.def (ADDR_DIFF_VEC): Three new fields (min, max and flags).
5887 * stmt.c (expand_end_case): Supply new arguments to
5888 gen_rtx_ADDR_DIFF_VEC.
5889 * 1750a.h (ASM_OUTPUT_ADDR_DIFF_ELT): New argument BODY.
5890 * alpha.h, arc.h, clipper.h, convex.h : Likewise.
5891 * dsp16xx.h, elxsi.h, fx80.h, gmicro.h, h8300.h : Likewise.
5892 * i370.h, i386.h, i860.h, i960.h, m32r.h, m68k.h, m88k.h : Likewise.
5893 * mips.h, mn10200.h, mn10300.h, ns32k.h, pa.h, pyr.h : Likewise.
5894 * rs6000.h, sh.h, sparc.h, spur.h, tahoe.h, v850.h : Likewise.
5895 * vax.h, we32k.h, alpha/vms.h, arm/aof.h, arm/aout.h : Likewise.
5896 * i386/386bsd.h, i386/freebsd-elf.h : Likewise.
5897 * i386/freebsd.h, i386/linux.h : Likewise.
5898 * i386/netbsd.h, i386/osfrose.h, i386/ptx4-i.h, i386/sco5.h : Likewise.
5899 * i386/sysv4.h, m68k/3b1.h, m68k/dpx2.h, m68k/hp320.h : Likewise.
5900 * m68k/mot3300.h, m68k/sgs.h : Likewise.
5901 * m68k/tower-as.h, ns32k/encore.h, sparc/pbd.h : Likewise.
5902 * sh.h (INSN_ALIGN, INSN_LENGTH_ALIGNMENT): Define.
5903 (CASE_VECTOR_SHORTEN_MODE): Define.
5904 (short_cbranch_p, align_length, addr_diff_vec_adjust): Don't declare.
5905 (med_branch_p, braf_branch_p): Don't declare.
5906 (mdep_reorg_phase, barrier_align): Declare.
5907 (ADJUST_INSN_LENGTH): Remove alignment handling.
5908 * sh.c (uid_align, uid_align_max): Deleted.
5909 (max_uid_before_fixup_addr_diff_vecs, branch_offset): Deleted.
5910 (short_cbranch_p, med_branch_p, braf_branch_p, align_length): Deleted.
5911 (cache_align_p, fixup_aligns, addr_diff_vec_adjust): Deleted.
5912 (output_far_jump): Don't use braf_branch_p.
5913 (output_branchy_insn): Don't use branch_offset.
5914 (find_barrier): Remove checks for max_uid_before_fixup_addr_diff_vecs.
5915 Remove paired barrier stuff.
5916 Don't use cache_align_p.
5917 Take alignment insns into account.
5918 (fixup_addr_diff_vecs): Reduce to only fixing up the base label of
5919 the addr_diff_vec.
5920 (barrier_align, branch_dest): New function.
5921 (machine_dependent_reorg, split_branches): Remove infrastructure
5922 for branch shortening that is now provided in the backend.
5923 * sh.md (short_cbranch_p, med_branch_p, med_cbranch_p): New attributes.
5924 (braf_branch_p, braf_cbranch_p): Likewise.
5925 (attribute length): Use new attributes.
5926 (casesi_worker): Get mode and unsignednedd from ADDR_DIFF_VEC.
5927 (addr_diff_vec_adjust): Delete.
5928 (align_2): Now a define_expand.
5929 (align_log): Now length 0.
5930
170a16c7
MM
5931Fri Mar 6 14:41:33 1998 Michael Meissner <meissner@cygnus.com>
5932
5933 * m32r.md (right): Correctly check for length == 2, not 1.
5934
688f0603
KG
5935Fri Mar 6 14:00:04 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5936
5937 * mips/mips.h: Prototype `machine_dependent_reorg'.
5938 (ASM_OUTPUT_ALIGN): Remove unused variable `mask'.
5939
19cbe68d
JR
5940Fri Mar 6 11:43:35 1998 Joern Rennecke (amylaar@cygnus.co.uk)
5941
5942 * final.c (shorten_branches): Restore accidentally removed code.
5943
8add77ce
AS
5944Fri Mar 6 11:00:49 1998 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
5945
5946 * configure.in: Remove duplicate uses of AC_PROG_CC and
5947 AC_PROG_MAKE_SET.
5948
fbb5ed67
RH
5949Fri Mar 6 00:59:30 1998 Richard Henderson <rth@cygnus.com>
5950
5951 * configure.in (target_cpu_default2): Correct typo for alphapca56.
5952
5ece9746
JL
5953Thu Mar 5 23:24:50 1998 Jeffrey A Law (law@cygnus.com)
5954 Doug Evans (devans@cygnus.com)
5955
5956 * haifa-sched.c (build_jmp_edges): Delete dead function.
5957 (build_control_flow): Use cfg routines from flow.c
5958 (schedule_insns): Remove debugging code accidentally checked
5959 in earlier today.
5960
5961 * basic-block.h: Add external integer list structures, typdefs,
5962 accessor macros and function declarations. Simlarly for
5963 basic block pred/succ support and simple bitmap stuff.
5964 * flow.c: Add functions for integer list, basic block pred/succ
5965 support and simple bitmap support.
5966 (compute_dominators): New function to compute dominators and
5967 post dominators.
5968 (find_basic_blocks): Split into two functions.
5969 (life_analysis): Likewise.
5970 (flow_analysis): Removed. Now handled by calling find_basic_blocks,
5971 the life_analysis from toplev.c
5972 * toplev.c (rest_of_compilation): Call find_basic_blocks, then
5973 life_analysis instead of flow_analysis.
5974
ac9b3c97
R
5975Thu Mar 5 23:06:26 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
5976
5977 * jump.c (jump_optimize): Call mark_jump_label also for deleted
5978 insns.
5979 (mark_jump_label): Don't increment ref counts for deleted insns.
5980
6e92f4b6
KG
5981Thu Mar 5 09:55:15 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5982
5983 * mips/iris6.h (TARGET_DEFAULT): Parenthesize macro definition.
b57062ca 5984
6e92f4b6
KG
5985 * mips/mips.c: Include stdlib.h and unistd.h.
5986 (mips_asm_file_end): Add braces around empty body in an if-statement.
5987 (function_prologue): Wrap variable `fnname' in
5988 !FUNCTION_NAME_ALREADY_DECLARED. Correct format specifier in fprintf.
5989 (mips_select_rtx_section, mips_select_section): Declare as void.
b57062ca 5990
6e92f4b6
KG
5991 * mips/mips.h: Add prototypes for extern functions in mips.c.
5992 (FUNCTION_ARG_REGNO_P): Add parentheses around && within ||.
5993 (ENCODE_SECTION_INFO): Add braces around empty body in an
5994 if-statement.
b57062ca 5995
6e92f4b6
KG
5996 * mips/mips.md (movdi): Add parentheses around && within ||.
5997 (movsf, movdf): Likewise.
5998 (branch_zero, branch_zero_di): Add default case in
5999 enumeration switch.
b57062ca 6000
6e92f4b6 6001
9ba3994a
RH
6002Thu Mar 5 02:45:48 1998 Richard Henderson <rth@cygnus.com>
6003
6004 * alpha/alpha.h (TARGET_WINDOWS_NT, TARGET_OPEN_VMS): Just make them
6005 real constants, since they can't be changed.
6006 (TARGET_AS_CAN_SUBTRACT_LABELS): New.
6007 * alpha/alpha.md (builtin_setjmp_receiver): Use it.
6008 * alpha/osf.h (TARGET_AS_CAN_SUBTRACT_LABELS): New.
6009 * alpha/osf2or3.h (TARGET_AS_CAN_SUBTRACT_LABELS): New.
6010 * alpha/vms.h (TARGET_OPEN_VMS): New.
6011 * alpha/win-nt.h (TARGET_WINDOWS_NT): New.
6012
5ec105cd
RH
6013Thu Mar 5 02:41:27 1998 Richard Henderson <rth@cygnus.com>
6014
6015 * reload.c (find_reloads): Always force (subreg (mem)) to be
6016 reloaded if WORD_REGISTER_OPERATIONS.
6017
ebb7b10b
RH
6018Thu Mar 5 02:14:44 1998 Richard Henderson <rth@cygnus.com>
6019
6020 * haifa-sched.c (free_list): Rename from free_pnd_lst.
6021 (free_pending_lists): Rename free_pnd_lst uses.
6022 (remove_dependence): Place expunged element on unused_insn_list.
6023 (alloc_INSN_LIST, alloc_EXPR_LIST): New. Change all callers of
6024 gen_rtx_*_LIST and alloc_rtx to use them.
6025 (compute_block_backward_dependences): Free the reg_last_* lists.
6026
cb37ce62
JL
6027Thu Mar 5 00:05:40 1998 Jeffrey A Law (law@cygnus.com)
6028
6029 * cccp.c (main): Avoid undefined behavior when setting pend_includes
6030 and pend_files.
6031
ce514f57
FS
6032Wed Mar 4 21:58:25 1998 Franz Sirl <franz.sirl-kernel@lauterbach.com>
6033
b57062ca 6034 * rs6000/linux.h: don't define DEFAULT_VTABLE_THUNKS to 1 if
ce514f57
FS
6035 USE_GNULIBC_1 is defined
6036 * configure.in: add a new case powerpc-*-linux-gnulibc1 which
6037 includes the t-linux-gnulibc1 fragment
6038
89a5e42b
JW
6039Wed Mar 4 12:11:36 1998 Jim Wilson <wilson@cygnus.com>
6040
6041 * mips.md (movdf_internal1a): Fix misplaced parenthesis in condition.
6042
1dd8faa8
R
6043Wed Mar 4 18:47:48 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
6044
6045 * final.c (final_scan_insn, case CODE_LABEL: Cleanup.
6046
e2faec75
R
6047Wed Mar 4 15:51:19 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
6048
6049 * final.c (shorten_branches): Tag the loop alignment onto the
6050 first label after NOTE_INSN_LOOP_BEG even if there is an
6051 intervening insn.
6052
de7987a6
R
6053Tue Mar 3 21:48:35 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
6054
26024475
R
6055 * final.c (insn_current_reference_address):
6056 Use SEQ instead of BRANCH as argument to align_fuzz, to get a
6057 proper alignment chain.
6058
de7987a6
R
6059 * final.c (max_labelno): New static variable.
6060 (final_scan_insn): Check max_labelno before outputting an
6061 alignment for a label.
de7987a6
R
6062 (shorten_branches): Remove unused variable length_align.
6063
27d8f9ea
KG
6064Tue Mar 3 14:27:23 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
6065
6066 * sparc.c (ultrasparc_adjust_cost): Add default case in
6067 enumeration switch.
b57062ca 6068
27d8f9ea
KG
6069 * sparc.h: Add prototypes for extern functions defined in
6070 sparc.c.
6071
bd334356
NC
6072Tue Mar 3 10:00:11 1998 Nick Clifton <nickc@cygnus.com>
6073
6074 * toplev.c: Only generate <name>.dbr file when dumping RTL if
b57062ca 6075 DEALY_SLOTS is defined.
bd334356 6076
1838fe6d
MH
6077Tue Mar 3 07:36:37 1998 Manfred Hollstein <manfred@s-direktnet.de>
6078
6079 * reorg.c (fill_eager_delay_slots): Add new argument delay_list
6080 in call to fill_slots_from_thread.
6081
b0021153
RH
6082Mon Mar 2 13:45:03 1998 Richard Henderson <rth@cygnus.com>
6083
b57062ca 6084 * alpha/linux.h (CPP_PREDEFINES): Correct connecting whitespace
b0021153
RH
6085 to SUB_CPP_PREDEFINES. Reported by asun@saul4.u.washington.edu.
6086
687d0ab6 6087Mon Mar 2 22:59:28 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
fc470718
R
6088
6089 * final.c (insn_last_address, insn_current_align, uid_align):
6090 New variables.
6091 (in_align_chain, align_fuzz, align_shrink_fuzz): New functions.
6092 (insn_current_reference_address): Likewise.
6093 (shorten_branches, final_scan_insn): Implement LABEL_ALIGN,
6094 LABEL_ALIGN_AFTER_BARRIER and LOOP_ALIGN target macros.
6095 (label_to_alignment): New function.
6096 * genattrtab.c (write_test_expr): If one of LABEL_ALIGN,
6097 LABEL_ALIGN_AFTER_BARRIER or LOOP_ALIGN is defined, call
6098 insn_current_reference_address instead of insn_current_address.
6099 (or_attr_value, write_length_unit_log): New functions.
6100 (main): Call write_length_unit_log.
6101 (write_const_num_delay_slots): Output extra '\n'.
6102 * alpha.h (ASM_OUTPUT_LOOP_ALIGN, ASM_OUTPUT_ALIGN_CODE):
6103 replace with:
6104 (LOOP_ALIGN, ALIGN_LABEL_AFTER_BARRIER).
6105 * i386.h, i386/osfrose.h, i386/svr3dbx.h, m68k.h, sparc.h: Likewise.
6106 * arc.h, m32r.h (ASM_OUTPUT_LOOP_ALIGN): replace with:
6107 (LOOP_ALIGN).
6108 * i960.h, m88k.h: (ASM_OUTPUT_ALIGN_CODE): Replace with:
6109 (LABEL_ALIGN_AFTER_BARRIER).
6110 * ns32k/encore.h, ns32k/merlin.h, ns32k.h, ns32k/sequent.h: Likewise.
6111 * ns32k/tek6000.h: Likewise.
6112 * i386/gas.h (ASM_OUTPUT_LOOP_ALIGN, ASM_OUTPUT_ALIGN_CODE): Delete.
6113 * i386.md (casesi+1): Use ASM_OUTPUT_ALIGN instead of
6114 ASM_OUTPUT_ALIGN_CODE.
6115
54f00917
JL
6116Mon Mar 2 01:05:50 PST 1998 Jeff Law (law@cygnus.com)
6117
6118 * version.c: Bump for snapshot.
6119
38630f7e
JL
6120Mon Mar 2 00:52:18 PST 1998 Jeff Law (law@cygnus.com)
6121
6122 * version.c: Bump for snapshot.
6123
ab63953e
JL
6124Sun Mar 1 18:25:49 1998 Michael P. Hayes <michaelh@ongaonga.chch.cri.nz>
6125
6126 * reorg.c (fill_slots_from_thread): Don't steal delay list from target
b57062ca 6127 if condition code of jump conflicts with opposite_needed.
ab63953e
JL
6128
6129 * reorg.c (fill_slots_from_thread): Mark resources referenced in
6130 opposite_needed thread. Return delay_list even when cannot get
6131 any more delay insns from end of subroutine.
6132
6133Sun Mar 1 18:26:21 1998 Ken Rose (rose@acm.org)
6134
6135 * reorg.c (fill_slots_from_thread): New parameter, delay_list.
6136 All callers changed.
6137
6138Sun Mar 1 18:25:37 1998 Bruno Haible <bruno@linuix.mathematik.uni-karlsruhe.de>
72dd050a
BH
6139
6140 * frame.c (start_fde_sort, fde_split, heapsort, fde_merge,
6141 end_fde_sort): New functions for fast sorting of an FDE array.
6142 (fde_insert): Simplified.
6143 (add_fdes): Change argument list.
6144 (frame_init): Use the new functions.
6145
de153e82
JL
6146Sun Mar 1 18:06:21 1998 Jeffrey A Law (law@cygnus.com)
6147
925b1f33
JL
6148 * ginclude/va-ppc.h (va_arg): Fix typo in long long support.
6149
c7271385
JL
6150 * i386.c (reg_mentioned_in_mem): Fix dangling else statement.
6151
de153e82
JL
6152 * fold-const.c (fold_range_test): Always return a value.
6153
81023100
MK
6154Sun Mar 1 17:57:34 1998 Mumit Khan <khan@xraylith.wisc.edu>
6155
6156 * config/i386/winnt.c (i386_pe_unique_section): Put read-only
6157 data in the text section unless READONLY_DATA_SECTION is defined.
6158
818e50a5
JL
6159Sun Mar 1 17:48:46 1998 Jeffrey A Law (law@cygnus.com)
6160
6161 * c-parse.in (undeclared variable error): Tweak error message to
6162 be clearer.
6163
c93dc3ac
JL
6164Sun Mar 1 10:22:36 PST 1998 Jeff Law (law@cygnus.com)
6165
6166 * version.c: Bump for snapshot.
6167
90ca38bb
MM
61681998-02-28 Mark Mitchell <mmitchell@usa.net>
6169
6170 * final.c (final_scan_insn): Undo overzealous removal of `set'.
6171
3d85c12e
KG
6172Sat Feb 28 07:54:03 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
6173
5feca984
KG
6174 * pa.h (CONST_COSTS): When checking the CONST_DOUBLE enumerated
6175 case, add parentheses to specify the proper order of precedence in
6176 the if-statement.
b57062ca 6177
5feca984 6178
51723711
KG
6179 * c-aux-info.c: Include string.h/strings.h.
6180
6181 * pa.c: Include stdlib.h.
6182 (pa_combine_instructions): Prototype the function.
6183 (pa_can_combine_p, forward_branch_p, shadd_constant_p): Likewise.
6184 (reloc_needed): Add default case for enumeration switch.
6185 (remove_useless_addtr_insns): Remove unused variable `all'.
6186 (hppa_expand_prologue): Add explicit braces to avoid
6187 ambiguous `else'.
6188 (output_function_epilogue): Remove unused variable `i'.
6189 (output_millicode_call): Remove unused variable `link'.
6190 (shadd_constant_p, forward_branch_p): Make the function static.
6191 (following_call): Explicitly declare to return int.
6192 (pa_reorg): Declare as void.
6193 (pa_combine_instructions): Declare as static void. Add
6194 parentheses around && within ||.
b57062ca 6195
51723711
KG
6196 * pa.h: Add prototypes for pa_reorg, symbolic_operand,
6197 following_call, function_label_operand, lhs_lshift_cint_operand
6198 and zdepi_cint_p.
6199
6200 * pa.md: Add parentheses around && within ||.
6201
6202 * cppalloc.c: Include stdlib.h.
6203
6204 * cpperror.c (cpp_print_containing_files): Remove unused variable
6205 `i'. Fix format specifier in fprintf.
6206
6207 * cse.c (cse_around_loop): Add explicit braces to avoid
6208 ambiguous `else'.
6209 (delete_dead_from_cse): Wrap variable `tem' in macro HAVE_cc0.
6210
6211 * expr.c (expand_expr): Add parentheses around && within ||.
6212
6213 * final.c (app_enable): Replace fprintf with fputs where there are
6214 no format specifiers and no trailing argument after the string.
6215 Eg, when printing ASM_APP_ON/ASM_APP_OFF.
6216 (app_disable): Likewise.
6217 (final_end_function): Likewise.
6218 (final_scan_insn): Likewise. Remove unused variable `set'.
6219 (profile_function): Wrap empty if-statement body in {} brackets.
6220
6221 * function.c: Include stdlib.h.
6222 (pad_below): Wrap prototype and definition in ARGS_GROW_DOWNWARD.
6223 (reposition_prologue_and_epilogue_notes): Add parentheses
6224 around assignment used as truth value.
6225
6226 * integrate.c (expand_inline_function): Wrap variable
6227 `cc0_insn' in macro HAVE_cc0.
6228
6229 * jump.c (jump_optimize): Wrap variable `q' in macro
6230 HAVE_cc0. Remove unused variable `prev1'.
6231
6232 * libgcc2.c (__bb_exit_trace_func): Add parentheses around &&
6233 within ||. Fix format specifier in fprintf.
6234 (__bb_init_prg): Add parentheses around assignment used as
6235 truth value.
6236
6237 * local-alloc.c: Include stdlib.h.
6238 (requires_inout): Add parentheses around assignment used
6239 as truth value.
6240
6241 * loop.c (analyze_loop_iterations): Wrap prototype and definition
6242 in macro HAVE_decrement_and_branch_on_count.
6243 (insert_bct, instrument_loop_bct): Likewise.
6244 (move_movables): Add parentheses around assignment used as
6245 truth value.
6246 (consec_sets_invariant_p): Likewise.
6247 (maybe_eliminate_biv_1): Wrap variable `new' in macro HAVE_cc0.
6248
6249 * objc/objc-act.c: Include stdlib.h.
6250 (lookup_method_in_protocol_list): Wrap empty else-statement body
6251 in braces.
6252 (lookup_protocol_in_reflist): Likewise.
6253 (objc_add_static_instance): Remove unused variables `decl_expr'
6254 and `decl_spec'.
6255 (get_objc_string_decl): Remove unused variable `decl'.
6256 (generate_static_references): Remove unused variables `idecl' and
6257 `instance'.
6258 (check_protocols): Wrap empty else-statement body in braces.
b57062ca 6259
51723711
KG
6260 * protoize.c: Include stdlib.h.
6261 (substr): Add parentheses around assignment used as truth value.
6262 (abspath): Likewise.
6263 (shortpath): Likewise.
6264
6265 * regmove.c (fixup_match_1): Add parentheses around assignment
6266 used as truth value.
6267
6268 * reload.c (push_secondary_reload): Remove unused variable `i'.
6269 (find_reloads): Add parentheses around assignment used as truth
6270 value.
6271
6272 * reload1.c: Include stdlib.h.
6273
6274 * rtl.h: Correct typo in prototype of offsettable_memref_p.
6275
6276 * stmt.c (add_case_node): Add parentheses around assignment used
6277 as truth value.
6278 (case_tree2list): Likewise.
6279
6280 * tree.c (valid_machine_attribute): Wrap variable `decl_attr_list'
6281 in macro VALID_MACHINE_DECL_ATTRIBUTE. Wrap variable
6282 `type_attr_list' in macro VALID_MACHINE_TYPE_ATTRIBUTE.
6283 (merge_attributes): Add explicit braces to avoid ambiguous
6284 `else'.
6285
6286 * unroll.c (copy_loop_body): Wrap variable `cc0_insn' in
6287 macro HAVE_cc0.
b57062ca 6288
51723711 6289 * varasm.c: Include stdlib.h.
b57062ca 6290
51723711 6291
c5801053
KG
6292 * system.h: Remove sys/stat.h.
6293 * gcc.c: Add sys/stat.h.
6294
3d85c12e
KG
6295 * genattr.c: Wrap prototype of `free' in NEED_DECLARATION_FREE.
6296 * genattrtab.c: Likewise.
6297 * genconfig.c: Likewise.
6298 * genemit.c: Likewise.
6299 * genextract.c: Likewise.
6300 * genflags.c: Likewise.
6301 * genopinit.c: Likewise.
6302 * genoutput.c: Likewise.
6303 * genpeep.c: Likewise.
6304 * genrecog.c: Likewise.
6305 * tlink.c: Likewise. Also wrap `getenv' in NEED_DECLARATION_GETENV.
6306
0fd12b04
AS
6307Fri Feb 27 11:02:47 1998 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
6308
bd762873
AS
6309 * invoke.texi: Use @itemx for a secondary item in a @table.
6310
0fd12b04
AS
6311 * config/m68k/m68k.md (movsf+1): Optimize moving a CONST_DOUBLE
6312 zero.
6313
c3cf395b
ILT
6314Thu Feb 26 00:13:21 1998 Ian Lance Taylor <ian@cygnus.com>
6315
6316 * choose-temp.c: Fix handling of sys/file.h to work in libiberty.
6317
b94b5c16
JL
6318Wed Feb 25 23:40:54 1998 Jeffrey A Law (law@cygnus.com)
6319
6320 * i386.c (struct machine_function): Add new fields for PIC stuff.
6321 (save_386_machine_status): Fix argument to xmalloc. Save pic_label_rtx
6322 and pic_label_name.
6323 (restore_386_machine_status): Corresponding changes.
6324 (clear_386_stack_locals): Also clear pic_label_rtx and pic_label_name.
6325
8dfafd99
JL
6326Wed Feb 25 01:31:40 1998 Jeffrey A Law (law@cygnus.com)
6327
6328 * c-parse.y (undeclared variable error): Tweak error message
6329 to be clearer.
6330
bb8ebb7f
RH
6331Tue Feb 24 23:54:07 1998 Richard Henderson <rth@cygnus.com>
6332
6333 * flags.h (g_switch_value, g_switch_set): Declare.
6334 * alpha.c (override_options): Set g_switch_value=8 if not set.
6335 * alpha/elf.h (CC1_SPEC): New.
6336 (ASM_SPEC): New.
6337 (LINK_SPEC): Pass along the -G value we were given.
6338 (LOCAL_ASM_OP): Remove.
6339 (ASM_OUTPUT_ALIGNED_LOCAL): Output to .bss or .sbss by size.
6340 (MAX_OFILE_ALIGNMENT): New.
6341 (BSS_SECTION_ASM_OP, SBSS_SECTION_ASM_OP, SDATA_SECTION_ASM_OP): New.
6342 (EXTRA_SECTIONS): Add sbss and sdata.
6343 (SECTION_FUNCTION_TEMPLATE): New.
6344 (EXTRA_SECTION_FUNCTIONS): Use it.
6345 (CTORS_SECTION_FUNCTION, DTORS_SECTION_FUNCTION): Remove.
6346 (SELECT_SECTION): Use sdata when small enough.
6347 * alpha/linux.h (ASM_SPEC): Remove.
b57062ca 6348
bb8ebb7f 6349
3e07bdbd
BH
6350Mon Feb 23 15:09:18 1998 Bruno Haible <bruno@linuix.mathematik.uni-karlsruhe.de>
6351 * config.sub (sco5): Fix typo.
6352
9d1ebd25
MH
6353Mon Feb 23 18:19:31 1998 Manfred Hollstein <manfred@s-direktnet.de>
6354
6355 * config/t-linux (LIBGCC1, CROSS_LIBGCC1, LIBGCC1_TEST): Add macros and
6356 set to empty.
6357 * config/t-linux-aout (LIBGCC1, CROSS_LIBGCC1, LIBGCC1_TEST): Likewise.
6358 * config/alpha/t-linux: Remove file.
6359 * config/sparc/t-linux: Remove file.
6360 * config/m68k/t-linux (LIBGCC1, CROSS_LIBGCC1): Remove.
6361 * config/m68k/t-linux-aout (LIBGCC1, CROSS_LIBGCC1): Likewise.
6362 * configure.in (alpha*-*-linux-gnulibc1*): Use t-linux instead of alpha/t-linux
6363 for tmake_file.
6364 (alpha*-*-linux-gnu*): Likewise.
6365 (sparc-*-linux-gnulibc1*): Use t-linux instead of sparc/t-linux for tmake_file.
6366 (sparc-*-linux-gnu*): Likewise.
84bc3b4f
RL
6367
6368Mon Feb 23 10:47:39 1998 Robert Lipe <robertl@dgii.com>
6369 * collect2.c (ldd_file_name): Bracket declaration with same
6370 manifests as use.
6371 (full_real_ld_suffix): Deleted. Variable was calloced and
6372 written into, but never read.
6373
9e89df50
MS
63741998-02-23 Mike Stump <mrs@wrs.com>
6375
6376 * configure.in: Add support for i386-wrs-vxworks configuration.
6377 * i386/vxi386.h: New file.
6378
1160f9ec
BH
6379Sun Feb 22 21:16:51 1998 Bruno Haible <bruno@linuix.mathematik.uni-karlsruhe.de>
6380
6381 * tree.c (contains_placeholder_p): Ensure function always returns
6382 a value.
6383 * sparc.md (movdi_sp64_insn): Add default case in enumeration switch.
6384 (movsf_const_insn, movdf_const_insn, movtf_const_insn): Likewise.
6385
328da75c
JL
6386Sun Feb 22 20:58:19 1998 Jeffrey A Law (law@cygnus.com)
6387
6388 * vms.h (SELECT_SECTION): Use TREE_CODE_CLASS correctly.
6389
deabc777
PE
63901998-02-22 Paul Eggert <eggert@twinsun.com>
6391
6392 * config/sparc/sol2-sld.h (LINKER_DOES_NOT_WORK_WITH_DWARF2):
6393 Define this new symbol.
6394 (DWARF2_DEBUGGING_INFO, DWARF_DEBUGGING_INFO): Do not #undef.
6395 * toplev.c (main): Do not default to DWARF2_DEBUG with -ggdb if
6396 LINKER_DOES_NOT_WORK_WITH_DWARF2 is defined.
6397
0e84e8fb
JW
6398Sun Feb 22 20:07:32 1998 Jim Wilson <wilson@cygnus.com>
6399
6400 * iris5.h (DWARF2_UNWIND_INFO): Define to 0.
6401 * iris5gas.h (DWARF2_UNWIND_INFO): Define to 1.
6402
9c37957a
RH
6403Sun Feb 22 15:29:48 1998 Richard Henderson <rth@cygnus.com>
6404
6405 * objc/Object.m (-error): Call objc_verror with our va_list.
6406
e3c49f52
DE
6407Sun Feb 22 09:45:39 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
6408
6409 * collect2.c (scan_prog_file): Completely cover uses of variable
6410 `exports' with macro COLLECT_EXPORT_LIST.
6411
6412Sat Feb 21 20:36:23 1998 Jeff Law (law@cygnus.com)
d935d60e
JL
6413
6414 * version.c: Bump for snapshot.
6415
3c674857
MM
6416Fri Feb 20 16:22:13 1998 Michael Meissner <meissner@cygnus.com>
6417
6418 * sched.c (schedule_block): Remove code to get arguments from hard
6419 regs into pseudos early. Same as Aug 25, 1997 change to
6420 haifa-sched.c.
6421
c2d731c4
JM
64221998-02-20 Jason Merrill <jason@yorick.cygnus.com>
6423
6424 * collect2.c (main): Still handle !do_collecting for non-AIX targets.
6425
7d02bbef
JM
64261998-02-16 Mark Mitchell <mmitchell@usa.net>
6427
6428 * toplev.c (rest_of_compilation): Do not defer the output of a
6429 nested function.
6430
9766dbcf
MT
6431Fri Feb 20 10:39:47 1998 Michael Tiemann <michael@impact.tiemann.org>
6432
6433 * ginclude/va-mips.h (va_arg): Remove trailing space after '\'
6434 continuation character (line 243).
6435
01a7aaea
AS
6436Fri Feb 20 12:10:26 1998 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
6437
6438 * genrecog.c (main): Remove duplicated sentence in emitted comment.
6439
db126753
DE
6440Thu Feb 19 22:36:53 1998 Andrey Slepuhin <pooh@msu.net>
6441 David Edelsohn <edelsohn@mhpcc.edu>
6442
6443 * collect2.c (XCOFF_SCAN_LIBS): Remove.
6444 (export_flag): New variable.
6445 (export_file): #ifdef COLLECT_EXPORT_LIST.
6446 (import_file, exports, imports, undefined): New variables.
6447 (libs, cmdline_lib_dirs, libpath_lib_dirs, libpath, libexts): Same.
6448 (dump_list, dump_prefix_list, is_in_list): New functions.
6449 (write_export_file): $ifdef COLLECT_EXPORT_LIST.
6450 (write_import_file, resolve_lib_name): New functions.
6451 (use_import_list, ignore_library): Same.
6452 (collect_exit): maybe_unlink import_file and #ifdef.
6453 (handler): Same.
6454 (main): New variable importf, #ifdef exportf. Move parsing of
6455 -shared before general argument parsing. Resolve AIX library
6456 paths and import libgcc.a symbols. Treat .so shared libraries the
6457 same as objects and .a libraries. Create alias for object_lst and
6458 increment it instead of original pointer. Scan AIX libraries as
6459 objects earlier instead of using scan_libraries. Perform AIX
6460 tlink later to resolve templates instead of forking ld.
6461 (GCC_OK_SYMBOL): Ensure symbol not in undef section.
6462 (GCC_UNDEF_SYMBOL): New macro.
6463 (scan_prog_file): Loop for members of AIX libraries. Handle
6464 export/import of ctors/dtors.
6465 (aix_std_libs): New variable.
6466 (scan_libraries, XCOFF): Delete.
6467
6468Thu Feb 19 22:36:52 1998 Robert Lipe <robertl@dgii.com>
6469
6470 * collect2.c (full_real_ld_suffix): #ifdef CROSS_COMPILE.
6471
e642002f
MS
64721998-02-19 Mike Stump <mrs@wrs.com>
6473
6474 * Makefile.in: Use $tooldir for sys-include to match toplevel
6475 configure.
6476
aff48bca
JL
6477Thu Feb 19 01:32:37 1998 Jeffrey A Law (law@cygnus.com)
6478 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
6479
6480 * emit-rtl.c (gen_lowpart_common): Suppress last change if __complex__.
6481
6482 * emit-rtl.c (hard-reg-set.h): Include.
b57062ca 6483 (get_lowpart_common): Don't make new REG for hard reg in a
aff48bca
JL
6484 class that cannot change size.
6485 * Makefile.in (emit-rtl.o): Depend on hard-reg-set.h.
6486
6487 * combine.c: Revert previous patch.
6488
0a9bdce3
PE
64891998-02-19 Paul Eggert <eggert@twinsun.com>
6490
6491 * config/sparc/sol2-sld.h: New file.
6492 * configure.in (sparc-*-solaris2*): Use it when using the
6493 system linker.
6494
3875b31d
JL
6495Thu Feb 19 00:46:59 1998 Jeffrey A Law (law@cygnus.com)
6496
6497 * loop.c (force_movables): Fix typo.
6498
bb5fa67f
MH
6499Thu Feb 19 08:26:30 1998 Manfred Hollstein <manfred@s-direktnet.de>
6500
6501 * m88k.h: Change file pattern to match reality.
6502
7f83c0e7
JL
6503Wed Feb 18 23:19:52 1998 Jeffrey A Law (law@cygnus.com)
6504
6505 * varasm.c (output_constant_pool): Fix dumb thinko in last
6506 change.
dffc0da4
JL
6507
6508 * pa.h (ASM_OUTPUT_FUNCTION_PREFIX): Correctly translate from
6509 a function name to a section name.
6510
d9525bec
BK
65111998-02-18 Doug Evans <devans@cygnus.com>
6512
6513 * tree.h (merge_machine_{type,decl}_attributes): Declare.
6514 (split_specs_attrs, strip_attrs): Add prototypes.
6515 * tree.c (merge_machine_{type,decl}_attributes): New functions.
6516 * c-decl.c (duplicate_decls): Call merge_machine_decl_attributes.
6517 Update olddecl's attributes too.
6518 * c-common.c (strip_attrs): New function.
6519 * c-typeck.c (common_type): Call merge_machine_type_attributes.
6520 * varasm.c (make_function_rtl): New target macro REDO_SECTION_INFO_P.
6521 (make_decl_rtl): Likewise.
6522
65231998-02-18 Jim Wilson <wilson@cygnus.com>
6524
6525 * c-decl.c (shadow_tag_warned): Call split_specs_attrs.
6526
f9a366ac
JL
6527Wed Feb 18 09:09:50 1998 Jeffrey A Law (law@cygnus.com)
6528
6529 Remove this change until we can fix it correctly.
6530 * collect2.c: Bracket declaration of 'exportf' and
6531 'full_real_ld_suffix'.
6532
206ae7cf
BS
6533Wed Feb 18 08:44:25 1998 Bernd Schmidt <crux@ohara.Informatik.RWTH-Aachen.DE>
6534
6535 * Makefile.in (STAGESTUFF): Add genrtl.c, genrtl.h and gengenrtl.
6536
0a7ed33c
BS
6537Tue Feb 17 23:30:20 1998 Bernd Schmidt <crux@ohara.Informatik.RWTH-Aachen.DE>
6538
6539 * c-common.c (c_expand_start_cond, c_expand_end_cond,
6540 c_expand_start_else): Don't warn about non-ambiguous else even if
6541 braces are missing.
6542
68c9728a 6543Tue Feb 17 23:56:50 1998 Robert Lipe <robertl@dgii.com>
0a7ed33c 6544
68c9728a
RL
6545 * sco5.h (ASM_OUTPUT_DOUBLE, ASM_OUTPUT_FLOAT,
6546 ASM_OUTPUT_LONG_DOUBLE): Delete. Use the ones from i386.h
6547 instead.
6548
15941d29
RH
6549Tue Feb 17 22:56:14 1998 Richard Henderson <rth@cygnus.com>
6550
6551 * combine.c (simplify_rtx): Obey CLASS_CANNOT_CHANGE_SIZE when
6552 simplifying a subreg of a hard reg.
6553 (expand_compound_operation): Likewise.
6554 (force_to_mode): Likewise.
6555
5835e573
KG
6556Tue Feb 17 22:37:22 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
6557
2fde567e
KG
6558 * fold-const.c: Include "system.h" to get stdlib.h and stdio.h.
6559 (lshift_double): Add parentheses around + or - inside shift.
6560 (rshift_double): Likewise.
6561 (size_int_wide): Explicitly set type of `bit_p' to `int'.
6562
6563 * Makefile.in (fold-const.o): Depend on system.h.
6564
8e85ff2c
KG
6565 * Makefile.in (gcc.o): Depend on system.h, in accordance with last
6566 change to gcc.c.
6567
5835e573
KG
6568 * haifa-sched.c: Include "system.h" to get <stdlib.h> and <stdio.h>.
6569 (BLOCKAGE_RANGE): Add parentheses around arithmetic in operand of |.
6570 (sched_note_set): Remove unused parameter `b', all callers changed.
6571 (schedule_block): Likewise for `rgn'.
6572 (split_hard_reg_notes): Likewise for `orig_insn'.
6573 (check_live): Likewise for `trg'.
6574 (update_live): Likewise.
6575 (check_live_1): Explcitly declare variable `i' as int.
6576 (update_live_1): Likewise.
6577 (insn_issue_delay): Remove unused variable `link'.
6578 (sched_analyze_2): Add default case in enumeration switch.
6579 (schedule_insns): Remove unused variable `i'.
6580
6581 * Makefile.in ($(SCHED_PREFIX)sched.o): Depend on system.h.
6582
b1a0c816
JL
6583Tue Feb 17 22:31:04 1998 Jeffrey A Law (law@cygnus.com)
6584
6585 * loop.c (rtx_equal_for_loop_p): Add some braces to disambiguate
6586 a dangling else clause.
6587
365ca18b
GK
6588Tue Feb 17 21:28:12 1998 Gavin Koch <gavin@cygnus.com>
6589
6590 * mips/mips.h (CAN_ELIMINATE): Don't eliminate the frame
6591 pointer for the stack pointer in MIPS16 and 64BIT.
6592
feb60352
R
6593Tue Feb 17 21:17:30 1997 J"orn Rennecke <amylaar@cygnus.co.uk>
6594
6595 * rtl.h (force_line_numbers, restore_line_number_status): Declare.
6596 * emit-rtl.c (force_line_numbers, restore_line_number_status):
6597 New functions.
6598 * stmt.c (struct nesting): Replace seenlabel with line_number_status.
6599 (expand_start_case): Adjust to this change.
6600 (check_seenlabel): New function.
6601 (pushcase, pushcase_range, expand_endcase): Use it.
6602
93f83bd5
R
6603Tue Feb 17 10:14:32 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
6604
6605 * i386.md (adddi3): Add =!r,0,0,X alternative.
6606
b9af8fb0
DE
6607Mon Feb 16 16:13:43 1998 David Edelsohn <edelsohn@mhpcc.edu>
6608
6609 * rs6000.h (MY_ISCOFF): Add numeric value of U803XTOCMAGIC.
6610 * x-aix31 (INSTALL): Delete.
6611
a4dee8a5
GK
6612Mon Feb 16 09:24:32 1998 Gavin Koch <gavin@cygnus.com>
6613
b57062ca 6614 * mips/mips.c (mips_expand_epilogue): Update tsize_rtx if
a4dee8a5
GK
6615 tsize changes to something other than zero.
6616
8898f8a1
GK
6617Mon Feb 16 09:11:48 1998 Gavin Koch <gavin@cygnus.com>
6618
6619 * ginclude/va-mips.h: Replace casts of pointers to int with
6620 casts of pointers to __PTRDIFF_TYPE__.
6621
9ba7a303
JC
6622Mon Feb 16 08:17:14 1998 John Carr <jfc@mit.edu>
6623
6624 * loop.c (strength_reduce, record_biv, record_giv): Use
6625 HOST_WIDE_INT_PRINT_DEC to print CONST_INT values.
6626
b7f6588d
JM
66271998-02-16 Jason Merrill <jason@yorick.cygnus.com>
6628
6629 * tree.c (first_rtl_op): New fn.
6630 (unsave_expr_now): Use it.
6631 * print-tree.c (print_node): Likewise.
6632 * tree.c (has_cleanups): New fn.
6633 * fold-const.c (fold, case CLEANUP_POINT_EXPR): Use it. Be more
6634 conservative about pushing the cleanup point down.
6635 * tree.h: Declare them.
6636
8e7336f8
JL
6637Sun Feb 15 23:28:44 1998 Jeffrey A Law (law@cygnus.com)
6638
6639 * toplev.c (flag_schedule_reverse_before_reload): Delete variable.
6640 (flag_schedule_reverse_after_reload): Likewise.
6641 (f_options): Remove reverse scheduling support.
6642 * flags.h (flag_schedule_reverse_before_reload): Delete declaration.
6643 (flag_schedule_reverse_after_reload): Likewise.
6644 * haifa-sched.c (rank_for_schedule): Remove support for reverse
6645 scheduling.
b57062ca 6646
79e11844
KG
6647Sun Feb 15 21:33:55 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
6648
17248a6b
KG
6649 * gcc.c: Get system includes, prototypes and macros via "system.h"
6650 instead of doing it manually. Change all calls of the ctype
6651 macros to custom versions defined in "system.h".
6652
79e11844
KG
6653 * system.h: Fix return type of bcmp prototype from `void' to `int'.
6654 Make bcopy, bcmp and bzero prototypes explicitly `extern'.
6655 Add a prototype for getenv.
6656
c9b4de06
JW
6657Sun Feb 15 17:05:41 1998 Jim Wilson <wilson@cygnus.com>
6658
6659 * mips/mips.h (INITIAL_ELIMINATION_OFFSET): Readd Jun 6 change.
6660
9f8f10de
JC
6661Sun Feb 15 15:23:15 1998 John Carr <jfc@mit.edu>
6662
6663 * alias.c: Include <stdlib.h> and <string.h>.
6664 (init_alias_analysis): Pass NULL_RTX instead of 0 to record_set.
6665
d757d141
JL
6666Sat Feb 14 11:23:09 PST 1998 Jeff Law (law@cygnus.com)
6667
6668 * version.c: Bump for snapshot.
6669
7a0a1f09
RE
6670Sat Feb 14 05:08:21 1998 Richard Earnshaw (rearnsha@arm.com)
6671
6672 * arm.md (movsfcc): Also validate operands[3] when compiling hard
6673 float.
6674 (movdfcc): Only accept fpu_add_operand for operands[3].
6675
99e90438
RE
6676 * arm/t-semi (STMP_FIXPROTO): Define to nothing.
6677 * arm/t-semiaof (STMP_FIXPROTO): Likewise.
6678
29a82058
JL
6679Sat Feb 14 02:02:41 1998 Jeffrey A Law (law@cygnus.com)
6680
6681 * varasm.c (output_constant_pool): Bring back 'done' label inside
6682 an appropriate #ifdef.
6683
b57062ca 6684 * bitmap.c (bitmap_element_allocate): Wrap variable 'i' in an
29a82058
JL
6685 appropriate #ifdef.
6686 (bitmap_copy, bitmap_operation): Likewise.
6687 * combine.c (combinable_i3pat): Similarly for 'src'.
6688 * function.c (fixup_var_refs_1): Similarly for 'outerdest'.
6689 (locate_and_pad_parm): Similarly for 'reg_parm_stack_space'.
6690 * regclass.c (copy_cost): Similarly for 'secondary_class'.
6691 * reload.c (make_memloc): Simliarly for 'i'.
6692 (find_reloads_address_1): Similarly for 'link'.
6693 * reload1.c (reload): Similarly for 'previous_frame_pointer_needed'.
6694 (emit_reload_insns): Similarly for 'second_reloadreg'.
6695 * unroll.c (iteration_info): Similarly for 'v'.
6696
6697 * caller-save.c (insert_save_restore): Remove unused variable 'i'.
6698 * calls.c (expand_call): Similarly for 'i'.
6699 (emit_library_call, emit_library_call_value): Similarly for 'mode'.
6700 * fold-const.c (strip_compund_expr): Similarly for 'type'.
6701 * function.c (fixup_var_refs_1): Similarly for 'width'.
6702 (fixup_memory_subreg): Similarly for 'saved'.
6703 (locate_and_pad_parm): Similarly for 'boundary_in_bytes.'
6704 (setjmp_protect): Similarly for 'sub'.
6705 (thread_prologue_and_epilogue_insns): Similarly for 'insn'.
6706 * loop.c (record_giv): Similarly for 'p'.
6707 (combine_givs): Similarly for 'temp_iv'.
6708 (indirect_jump_in_function_p): Similarly for 'is_indirect_jump'.
6709 * recog.c (validate_replace_rtx_1): Similarly for 'width'.
6710 * tree.c (get_set_constructor_bytes): Similarly for 'vals'.
6711 * unroll.c (unroll_loop): Similarly for 'copy'.
6712 (iteration_info): Similarly for 'b'.
6713 * varasm.c (assemble_string): Similarly for 'i'.
6714 * i386.h (LEGITIMIZE_ADDRESS): Similarly for 'orig_x'.
6715
7d02bbef
JM
67161998-02-13 Martin von Loewis <loewis@informatik.hu-berlin.de>
6717
6718 * c-lang.c (lang_print_xnode): New function.
6719 * objc/objc-act.c (lang_print_xnode): Likewise.
6720 * print-tree.c (print_node): Call it
6721
e3e7774e
JW
6722Fri Feb 13 14:38:34 1998 Jim Wilson <wilson@cygnus.com>
6723
6724 * dwarf2out.c (decl_scope_node): New type.
6725 (decl_scope_table): Change type to use it.
6726 (decl_scope_table_allocated, decl_scope_depth): Change type to int.
6727 (push_decl_scope): Use new type. New locals containing_scope, i.
6728 Add code to handle setting previous field.
6729 (scope_die_for): Change type of local i to int. Add code to use
6730 previous field.
6731 (dwarf2out_init): Use new type.
6732
442f0a30
JM
67331998-02-13 Jason Merrill <jason@yorick.cygnus.com>
6734
6735 * except.c (emit_throw): Lose throw_used.
6736
fcdc0d6e
R
6737Fri Feb 13 20:36:05 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
6738
6739 * sched.c (update_flow_info, REG_WAS_0): Ignore if setting insn
6740 was deleted.
6741 * haifa-sched.c (update_flow_info, REG_WAS_0): Likewise.
6742
b7673cdb
JL
6743Fri Feb 13 12:18:40 1998 Jeffrey A Law (law@cygnus.com)
6744
6745 * genextract.c (main): Fix typo.
6746
9e4767ca 6747Fri Feb 13 08:41:49 1998 Robert Lipe <robertl@dgii.com>
69d4ca36 6748
b57062ca 6749 * c-lang.c (finish_file): Bracket declaration of static_ctors,
69d4ca36
RL
6750 static_dtors.
6751
6752 * calls.c (expand_call): Bracket declaration of 'rtx_before_call',
6753 'old_stack_arg_under_construction'
b57062ca 6754 (emit_library_call): Bracket declaration of 'upper_bound',
69d4ca36
RL
6755 'lower_bound', 'i', 'reg_parm_stack_space'
6756 (emit_library_call_value): Likewise.
b57062ca 6757 (store_one_arg):
69d4ca36
RL
6758
6759 * collect2.c: include <unistd.h> when appropriate.
6760 Bracket declaration of 'exportf' and 'full_real_ld_suffix'.
6761
6762 * emit-rtl.c (prev_cc0_setter): Remove unused variable 'link'.
b57062ca 6763
69d4ca36
RL
6764 * explow.c (plus_constant_for_output_wide): Remove unused variable
6765 'code'.
b57062ca 6766 (memory_address): Remove unused variable 'orig_x'.
69d4ca36
RL
6767
6768 * genattrtab.c (make_canonical): Remove unreferenced label 'cond:'.
6769 (write_const_num_delay_slots): Remove unused variable 'i'.
6770
6771 * genopinit.c (main): Remove unused variables 'dummy', 'insn_ptr'.
6772 (gen_insn): Remove unused variable 'obstack_ptr'.
6773
6774 * libgcc2.c (__bb_exit_func): Remove unused variables 'ret',
6775 'j', 'tmp', 'i'.
6776 (__bb_exit_trace_func): Remove unused variable 'e'.
6777
6778 * optabs.c (expand_binop): remove unused variables 'lhs', 'rhs',
6779 'funexp'.
6780 (expand_unop): Remove unused variable 'funexp'.
b57062ca 6781 (expand_complex_abs): Remove unused variable 'funexp'.
69d4ca36
RL
6782 (init_optabs): Bracket declaration of 'j'.
6783 (init_complex_libfuncs): Deleted. Dead static function.
b57062ca 6784
69d4ca36
RL
6785 * profile.c (branch_prob): Remove unused variables 'insn', 'dest'.
6786
6787 * reg-stack.c: Fix typo in proto for 'get_asm_operand_lengths'
6788 (reg_to_stack): 'initialized', 'before_function_beg'
6789 explictly type as ints instead of defaulting.
6790 (emit_swap_insn): Remove unused variable 'i2'.
6791 (compare_for_stack_reg): Remove unused variable 'src_note'.
6792
6793 * rtlanal.c (computed_jump_p): Remove unused variable 'computed_jump'.
6794
6795 * sched.c (actual_hazard): Bracket declaration of 'this_cost'.
6796
6797 * stmt.c (add_case_node): Add parens for assignment used as truth.
6798 (all_cases_count): Remove unused variable 'count_high'.
6799 (mark_seen_cases): Remove unused variable 'i'.
6800 (check_for_full_enumeration_handling): Remove unused variable 't'.
6801 Bracket declaration of 'all_values', 'l'.
b57062ca 6802
69d4ca36
RL
6803 * tlink.c: Include <stdlib.h>, <unistd.h>, <string.h>/<strings.h>.
6804
b57062ca
UD
6805 * varasm.c (assemble_string): Remove unused variable 'i'.
6806 (immed_double_const): Remove unused variable 'in_current_obstack'.
69d4ca36
RL
6807 (immed_real_const_1): Likewise.
6808 (output_constant_pool): Remove unreferenced label 'done'.
6809 (output_constant): Remove unused variable 'x'.
b57062ca 6810
69d4ca36
RL
6811 * i386/i386.h (ENCODE_SECTION_INFO): TREE_PUBLIC is an int, not
6812 a string.
6813
6814 * i386/sco5.h (ASM_OUTPUT_ASCII): Add parens for assignment used
6815 as truth.
6816
e3258cef
R
6817Fri Feb 13 10:21:41 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
6818
6819 * combine.c (can_combine_p): Handle USEs in PARALLELs.
6820
1398405b
L
6821Fri Feb 13 01:34:14 1998 H.J. Lu (hjl@gnu.org)
6822
6823 * config/linux.h (LIB_SPEC): Add -lc for -shared if
6824 USE_GNULIBC_1 is not defined.
6825 * config/sparc/linux.h; Ditto.
6826
6827 * config/sparc/linux64.h (LIB_SPEC): Add -lc for -shared.
6828
6829 * config/alpha/linux-elf.h (LIB_SPEC): New. Defined if
6830 USE_GNULIBC_1 is not defined.
6831
03453a9f
FS
6832Fri Feb 13 01:29:29 1998 Franz Sirl <franz.sirl-kernel@lauterbach.com>
6833
6834 * rs6000/sysv4.h (ENDFILE_SPEC): add missing %(endfile_linux)
6835 for -mcall-linux
6836
aca69483 6837Fri Feb 13 01:23:46 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
b57062ca 6838
aca69483
KG
6839 * system.h: New file to get common systems includes and various
6840 definitions and declarations based on autoconf macros.
6841
5e0e0f03
JL
6842Fri Feb 13 00:46:19 1998 Jeffrey A Law (law@cygnus.com)
6843
6844 * cccp.c (new_include_prefix): Correctly handle -I./.
6845
89e9f3a8
MM
6846Thu Feb 12 20:16:35 1998 Michael Meissner <meissner@cygnus.com>
6847
6848 * rs6000.md: Replace gen_rtx (CONST_INT,...) with GEN_INT.
6849
8bd6ecc2 6850Thu Feb 12 16:45:17 1998 Robert Lipe <robertl@dgii.com>
89e9f3a8 6851
b57062ca 6852 * expr.c (expand_assignment): Correct typo exposed by -Wall.
8bd6ecc2
RL
6853 offset should have been a truth value, not an assignment.
6854
614bb5d4
JL
6855Thu Feb 12 15:26:50 1998 Jeffrey A Law (law@cygnus.com)
6856
6857 * cse.c (delete_dead_from_cse): If a libcall produces a constant
6858 result and that result can be substituted into SET_SRC of the
6859 insn with the REG_RETVAL note, then perform the substitution
6860 and delete the libcall.
6861
00bb4b62
GK
6862Thu Feb 12 14:04:09 1998 Gavin Koch <gavin@cygnus.com>
6863
b57062ca 6864 * mips.md (trucndihi2,truncdiqi2): Change these to support
00bb4b62
GK
6865 mips16.
6866
3871c609
GK
6867Thu Feb 12 11:34:55 1998 Gavin Koch <gavin@cygnus.com>
6868
6869 * mips/mips.c (movdi_operand): Direct referances to symbols
6870 that arn't mips16 consts in mips16 mode arn't valid operands.
6871
6872 * mips/mips.c (mips_move_2words): Add gprel handling.
6873
2e72fa6a
GK
6874Thu Feb 12 11:18:37 1998 Gavin Koch <gavin@cygnus.com>
6875
b57062ca 6876 * mips.md (extendsidi2): Allow extension to/from a non-mips16
2e72fa6a
GK
6877 register.
6878
a4910340
ML
6879Thu Feb 12 00:04:16 1998 Marc Lehmann <pcg@goof.com>
6880
6881 * i386.c: Conditionally include <stdlib.h>, <string.h>, and
6882 <strings.h>.
6883
cc1e5b9a
KG
6884Wed Feb 11 11:43:34 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
6885
6886 * Makefile.in (WARN_CFLAGS): New variable.
6887 (bootstrap, bootstrap2, bootstrap3, bootstrap4): Use it.
6888
53949fac
MM
68891998-02-11 Mark Mitchell <mmitchell@usa.net>
6890
6891 * config/i386/i386.c (reg_mentioned_in_mem): Don't abort when
6892 falling through default case in switch.
6893 (i386_aligned_p): Likewise.
6894
9504c31c
LI
6895Wed Feb 11 12:59:56 1998 Lee Iverson <leei@Canada.AI.SRI.COM>
6896
6897 * mips/mips.h (mips_abi_string): Correct typo in comment.
6898
7e4e0956
GK
6899Wed Feb 11 08:29:56 1998 Gavin Koch <gavin@cygnus.com>
6900
6901 * mips/mips.md (movdi): These PLUS's need to be Pmode.
6902
8fb3ae15
KG
6903Wed Feb 11 01:47:54 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
6904
6905 * Makefile.in (dwarf2out.o, emit-rtl.o, jump.o, cse.o, unroll.o,
6906 reorg.o, regmove.o): Depend on insn-codes.h, it gets included
6907 indirectly via expr.h.
6908
a2d53b28
RH
6909Wed Feb 11 01:44:13 1998 Richard Henderson <rth@cygnus.com>
6910
6911 * stor-layout.c (layout_type): Do upper - lower in the native type,
6912 so as to properly handle negative indices.
6913
381127e8
RL
6914Wed Feb 11 01:35:55 1998 Robert Lipe <robertl@dgii.com>
6915
6916 * except.c (start_dynamic_cleanup): Remove unused variable 'dhc'.
6917 (expand_eh_region_start_tree): Remove unused variable 'note'.
6918 (exception_optimize): Remove unused variable 'regions'.
6919 (expand_builtin_eh_stub): Remove unused variable 'temp'.
6920 (copy_eh_entry): Deleted. Dead function.
6921
b57062ca 6922 * expr.c (move_block_to_reg) Bracket declaration of 'pat' and
381127e8
RL
6923 'last' with same #if HAVE_load_multiple as use of it.
6924 (move_block_from_reg): Likewise.
6925 (emit_move_insn_1): Remove unused variable 'insns'.
b57062ca
UD
6926 (store_constructor): Bracket declaration of startb, endb with
6927 #if TARGET_MEMFUNCTIONS. Remove unused variables 'set_word_size'
381127e8 6928 'target', and 'xtarget'.
b57062ca 6929 (expand_builtin_setjmp): Remove unused variables 'op0',
381127e8 6930 'next_arg_reg', 'old_inhibit_defer_pop'.
b57062ca 6931 (expand_builtin): Remove unused variable 'offset'.
381127e8
RL
6932 (do_store_flag): Remove unused variables 'pattern', 'jump_pat'.
6933 (emit_queue): Add parens for assignment used as conditional.
6934 (expand_expr): case TARGET_EXPR: Remove unused variable 'temp'.
6935
00c79232
ML
6936Wed Feb 11 01:30:49 1998 Marc Lehmann <pcg@goof.com>
6937
b57062ca 6938 * i386.c: Added include for recog.h.
00c79232
ML
6939 (override_options): Removed unused variable p. Initialized regno to
6940 avoid warning.
6941 (order_regs_for_local_alloc): Initialized regno to avoid warning.
6942 (legitimize_address): Likewise for 'other'.
6943 (i386_aligned_reg_p): Added default case with abort ().
6944 (print_operand): Likewise.
6945 (reg_mentioned_in_mem): Likewise.
6946 (ix86_expand_binary_operator): Removed unused variables i & insn.
6947 (ix86_expand_unary_operator): Removed unused variable insn.
6948 (output_fp_cc0_set): Removed unused variable unordered_label.
6949
f64cecad
JC
6950Wed Feb 11 01:23:03 1998 John F. Carr <jfc@mit.edu>
6951
6952 * i386.c, i386.h, i386.md: Change gen_rtx (X, ...) to gen_rtx_X (...).
6953 Use GEN_INT instead of gen_rtx (CONST_INT). Make printf arguments
6954 and format string match.
6955
0200b5ed
JL
6956Wed Feb 11 01:17:39 1998 Jeffrey A Law (law@cygnus.com)
6957
6958 * flow.c (life_analysis): Do not conside the stack pointer live at
6959 the end of a function if the fucntio ncalls alloca.
6960 (mark_used_regs): Similarly.
6961
74ccf2c2
JC
69621998-02-10 John F Carr <jfc@mit.edu>
6963
6964 * config/sparc/sparc.md (movdi_v8plus): Output stx on alternative
6965 1, fzero on alternative 8.
6966
60e2d0ca
RK
6967Tue Feb 10 09:02:19 1998 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
6968
6969 * rs6000.c (setup_incoming_varargs): Always set rs6000_sysv_varargs_p.
6970
2fd0af53
R
6971Tue Feb 10 03:35:43 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
6972
6973 * reload.c (find_reloads_toplev): Handle arbitrary non-paradoxical
6974 SUBREGs of CONST_INTs.
6975
a96c3544
JC
6976Mon Feb 9 17:52:36 1998 John Carr <jfc@mit.edu>
6977
6978 * mips.c (print_operand, function_prologue): Make printf format
6979 match argument type.
6980
2514cbc9
KG
6981Mon Feb 9 02:37:25 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
6982
6983 * alpha.c (alpha_return_addr): Remove unused variable `first'.
6984 (alpha_ra_ever_killed): Remove unused variables `ra' and `i'.
6985 (output_epilog): Remove unused variable `frame_size_from_reg_save'.
6986
72b0c616
RK
6987Sun Feb 8 14:56:03 1998 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
6988
6989 * loop.c (strength_reduce): When placing increment for auto-inc
6990 case, do comparison in loop order.
b57062ca 6991
2e0dd623
JC
6992Sun Feb 8 13:21:38 1998 John Carr <jfc@mit.edu>
6993
6994 * bitmap.c (bitmap_debug_file): HOST_PTR_PRINTF converts a pointer,
6995 not a HOST_WIDE_INT.
6996
6997 * calls.c (expand_call): Change test of expand_inline_function
6998 return value to stop compiler warning.
6999
7000 * genattrtab.c (RTL_HASH): Cast pointer to long, not HOST_WIDE_INT.
7001
7bf825d2
JW
7002Sun Feb 8 12:04:24 1998 Jim Wilson (wilson@cygnus.com)
7003 Jeff Law (law@cygnus.com)
7004
7005 * regmove.c: Fix various minor formatting problems.
7006 (optimize_reg_copy_1): Stop search at CALL_INSNs if flag_exceptions
7007 is true. Make end of basic block tests consistent through regmove.c.
7008 (optimize_reg_copy_2, optimize_reg_copy_3): Likewise.
7009 (fixup_match_2, fixup_match_1, regmove_optimize): Likewise.
7010
7d4679ea
KG
7011Sun Feb 8 01:49:18 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
7012
7013 * gansidecl.h: Check for a conflicting macro definition before
7014 attempting to prototype bcopy, bcmp or bzero.
7015
b515ab3d
JL
7016Sun Feb 8 00:09:59 1998 Jeffrey A Law (law@cygnus.com)
7017
060fbabf
JL
7018 * expr.c (clear_pending_stack_adjust): Handle case where a function
7019 calls alloca, but the user has specified -fomit-fframe-pointer.
7020
b515ab3d
JL
7021 * function.c (assign_parms): Fix typo in last change.
7022
ccd043a9
RL
7023Sat Feb 7 23:54:29 1998 Robert Lipe <robertl@dgii.com>
7024
ededb2fc
RL
7025 * gcc.c: Include <strings.h>/<string.h>, <stdlib.h>, <unistd.h>,
7026 <fcntl.h>.
7027 (free_path_suffix): Remove unreferenced static function.
7028 (process_command): Remove unused variable temp.
7029 (default_arg): Remove unused variable i.
7030 (do_spec_1): Add parens for assignment used as truth value.
7031 (main): Likewise.
7032 (validate_all_switches): Likewise.
7033 (main): Remove unused variables i, first_time>
7034
ccd043a9
RL
7035 * c-common.c: Include <stdlib.h> and <string.h>/<strings.h>.
7036
7037 * calls.c (expand_call): Remove unused variables funtree,
7038 n_regs, and tmpmode.
7039
7040 * dbxout.c, except.c: Include <string.h>/<strings.h>.
7041
7042 * explow.c: (plus_constant_for_output_wide) Removed unused
7043 variable all_constant.
7044
7045 * c-decl.c, genattr.c, genattrtab.c, getconfig.c, genemit.c
7046 genextract.c, genflags.c, genopinit.c genoutput.c, genpeep.c,
7047 genrecog.c, global.c, integrate.c , stupid.c : Include
7048 <stdlib.h>.
7049
7050 * genextract.c: (walk_rtx) Remove unused variable link.
7051
7052 * genrecog.c: (concat) Remove unreferenced static function.
7053
7054 * prefix.c: Include <string.h>/<strings.h>, <stdlib.h>
7055
b57062ca
UD
7056 * stmt.c: Include <stdlib.h>.
7057 (expand_asm_operands): Remove unused variable val1.
ccd043a9
RL
7058 (expand_return): Remove unused variable block.
7059 (pushcase): Remove unused variables l and n.
7060 (pushcaserange): Likewise.
7061
7062 * unroll.c (unroll_loop): Remove unused variable temp.
7063
6553db01
GM
7064Sat Feb 7 23:46:09 1998 Greg McGary <gkm@gnu.org>
7065
7066 * c-decl.c (pushdecl): Set DECL_ORIGINAL_TYPE once only.
7067
8479e1db
KG
7068Sat Feb 7 15:11:28 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
7069
7070 * aclocal.m4 (GCC_FUNC_PRINTF_PTR): New macro to test the printf
7071 functions for whether they support the %p format specifier.
7072 * acconfig.h (HOST_PTR_PRINTF): Insert stub for autoconf.
7073 * configure.in (GCC_FUNC_PRINTF_PTR): Use it.
7074 * configure, config.in: Rebuild.
7075
bf9c83fe
JW
7076Fri Feb 6 14:20:16 1998 Jim Wilson <wilson@cygnus.com>
7077
7078 * function.c (assign_parms): New variable named_arg, with value
7079 depending on STRICT_ARGUMENT_NAMING. Use instead of ! last_named.
7080
09e4daf5
GK
7081Fri Feb 6 14:34:28 1998 Gavin Koch <gavin@cygnus.com>
7082
b57062ca 7083 * mips/t-r3900: New - same as t-ecoff but eliminate
09e4daf5
GK
7084 multilibs: mips1 and mips3.
7085 * configure.in (tx39*): Use new mips/t-r3900.
7086 * configure: Rebuild.
7087 * mips/r3900.h (MULTILIB_DEFAULTS): Eliminate mips1.
7088
b57d9225
JM
70891998-02-06 Jason Merrill <jason@yorick.cygnus.com>
7090
7091 * dwarf2out.c: Add old_args_size.
7092 (dwarf2out_args_size): Use it.
7093 (dwarf2out_begin_prologue): Initialize it.
7094 (dwarf2out_stack_adjust): If !asynchronous_exceptions, save up
7095 pushed args until we see a call.
7096 * final.c (final_scan_insn): Hand CALL_INSNs off to the dwarf2 code
7097 before outputting them.
7098
70991998-02-06 Kriang Lerdsuwanakij <lerdsuwa@scf.usc.edu>
7100
7101 * cplus-dem.c (demangle_template_template_parm): New function.
7102 (demangle_template): Handle template template parameters.
7103
259620a8
MM
71041998-02-02 Mark Mitchell <mmitchell@usa.net>
7105
7106 * calls.c (expand_call): Don't confuse member functions named
7107 realloc, setjmp, and so forth with the standard library
7108 functions of the same names.
7109
78418280
JL
7110Thu Feb 5 21:59:49 1998 Jeffrey A Law (law@cygnus.com)
7111
7112 * stmt.c (expand_asm_operands): Correctly identify asm statements
94e5565f 7113 no output operands.
78418280 7114
6d819282 7115Thu Feb 5 21:56:06 1998 Mumit Khan <khan@xraylith.wisc.edu>
b57062ca 7116
6d819282
MK
7117 * c-common.c (decl_attributes): Flag unrecognized attribute
7118 functions as warnings instead of as errors.
7119
aec98e42
ML
71201998-02-05 Marc Lehmann <pcg@goof.com>
7121
7122 * integrate.c (INTEGRATE_THRESHOLD): Inline only small functions
7123 when -Os is specified.
7124 * toplev.c (main): Don't disable flag_inline_functions anymore when
7125 -Os is in effect.
7126
1230327b
R
7127Fri Feb 6 00:27:36 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
7128
7129 * regmove.c: Update.
7130 * flags.h (flag_regmove): Declare.
7131 * rtl.h (optimize_reg_copy_1, optimize_reg_copy_2): Don't declare.
7132 * local-alloc.c (optimize_reg_copy_1, optimize_reg_copy_2):
7133 Moved into regmove; changed caller.
7134 * toplev.c (rest_of_compilation): Call regmove_optimize also for
7135 expensive_optimizations.
7136
1aca1e76
JL
7137Thu Feb 5 13:38:42 PST 1998 Jeff Law (law@cygnus.com)
7138
7139 * version.c: Bump for snapshot.
7140
2993ce4c
R
7141Thu Feb 5 01:45:19 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
7142 Undo this change (the problem was actually in reload):
7143 Fri Jan 23 23:28:59 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
7144
7145 * sh.md (movqi_i+1): New peephole.
7146
0340ed6c
JL
7147Tue Feb 3 01:11:12 1998 Jeffrey A Law (law@cygnus.com)
7148
e535528b
JL
7149 * jump.c (jump_optimize): Lose calls to modified_in_p they are
7150 not needed anymore due to changes elsewhere in jump.c.
7151
0340ed6c
JL
7152 * jump.c (jump_optimize): Fix first arg to modified_in_p in
7153 previous change.
7154
6fd1c67b
RH
7155Mon Feb 2 19:18:14 1998 Richard Henderson <rth@cygnus.com>
7156
7157 * expr.c (expand_builtin_setjmp): Accept two new arguments for
7158 the labels to branch to on first and subsequent executions. Don't
7159 play with __dummy. Rename `setjmp' insn to `builtin_setjmp_setup',
7160 and provide it with the jmp_buf. Use only one of
7161 `builtin_setjmp_receiver' or `nonlocal_goto_receiver',
7162 and provide the former with the target label.
7163 (expand_builtin) [BUILTIN_SETJMP]: Generate a label for use by setjmp.
7164 (expand_builtin) [BUILTIN_LONGJMP]: Split out to ...
7165 (expand_builtin_longjmp): ... here. Recognize a `builtin_longjmp'
7166 insn to replace all of the normal nonlocal_goto code. Don't play
7167 with __dummy. Correct arguments to nonlocal_goto.
7168 * expr.h (expand_builtin_setjmp): Update prototype.
7169 * except.c (start_dynamic_handler): When using builtin_setjmp,
7170 generate more accurate flow information.
7171
7172 * alpha.md (nonlocal_goto_receiver_osf): Delete.
7173 (nonlocal_goto_receiver_vms): Rename to nonlocal_goto_receiver.
7174 (builtin_longjmp, builtin_setjmp_receiver): New.
7175 * sparc.md (update_return): Disambiguate unspec number.
7176 (nonlocal_goto): Rearrange arguments to match caller in except.c.
7177 (builtin_setjmp_setup): Rename from setjmp. Match and ignore the
7178 jmp_buf operand.
7179 * mips.md (nonlocal_goto_receiver, builtin_setjmp_receiver): Remove.
7180 (builtin_setjmp_setup*, builtin_longjmp): New.
7181
95936d18
JC
7182Mon Feb 2 16:43:10 1998 John Carr <jfc@mit.edu>
7183
7184 * mips.md: Change gen_rtx (CONST_INT) to GEN_INT.
7185
c120c689
JW
7186Mon Feb 2 13:06:47 1998 Jim Wilson <wilson@cygnus.com>
7187
7188 * vmsconfig.com: Remove bytecode references.
7189
1a56b81f
AS
71901998-01-30 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
7191
91193900
AS
7192 * dwarf2out.c (dwarf2out_frame_init): Undo last change, so that
7193 -fno-sjlj-exceptions works for a target that defines
7194 DWARF2_UNWIND_INFO as zero.
7195
1a56b81f
AS
7196 * regmove.c (fixup_match_1): Undo last change which removed some
7197 "useless" code, and add a comment explaining this.
7198
e4b3de45
GK
7199Mon Feb 2 10:47:14 1998 Gavin Koch (gavin@cygnus.com)
7200
7201 * mips.c (mips_expand_prologue): Change uses of TARGET_64BIT
7202 to TARGET_LONG64.
7203
2aabb736
KK
7204Mon Feb 2 10:38:41 1998 Klaus Kaempf <kkaempf@progis.de>
7205
7206 * makefile.vms: Remove bytecode references.
7207 Create genrtl files.
7208
7457661d
MH
7209Mon Feb 2 02:08:04 1998 Michael P. Hayes <michaelh@ongaonga.chch.cri.nz>
7210
7211 * jump.c (jump_optimize): Allow conditional loading of floating point
7212 constants and constants from memory. Reinstalled modified_in_p tests.
7213
460f50dc
R
7214Mon Feb 2 01:38:39 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
7215
7216 * loop.c (get_condition): Handle sign-extended constants.
7217
7a6df7f9
HPN
7218Mon Feb 2 01:22:46 1998 Hans-Peter Nilsson <hp@axis.se>
7219
db771a3c
HPN
7220 * expr.c (emit_push_insn): Add code to use movstrti if present.
7221
7a6df7f9
HPN
7222 * expr.c (emit_push_insn): Use same max-move-amount for movstrhi
7223 and movstrqi as in emit_block_move ().
7224
ceb6edf2
TM
7225Mon Feb 2 00:09:52 1998 Toon Moene <toon@moene.indiv.nluug.nl>
7226
7227 * config/m68k/x-next: Remove /NextDeveloper/Headers from
7228 the directories to fixinclude - /usr/include is a link
7229 to it and hence its contents are fixed by default.
7230
9cddeb31
FS
7231Sun Feb 1 14:15:33 1998 Franz Sirl <franz.sirl-kernel@lauterbach.com>
7232
7233 * rs6000/linux.h: define JUMP_TABLES_IN_TEXT_SECTION
7234
d2f05a0a
KK
7235Sun Feb 1 13:01:15 1998 Klaus Kaempf <kkaempf@progis.de>
7236
7237 * cccp.c (main): Predefine __VMS_VER on VMS.
7238
f8dac6eb
R
7239Sun Feb 1 12:39:53 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
7240
7241 * expr.c (get_inner_reference): Use sbitsizetype for type sizes.
7242 * fold-const.c (size_int): Replace with
7243 (size_int_wide).
7244 (make_bit_field_ref): Use bitsize_int for bit position.
7245 * stor-layout.c (sizetype): Delete.
7246 (sizetype_tab, sbitsizetype, ubitsizetype): Declare.
7247 (layout_record, layout_union, layout_type):
7248 Use bitsize_int for bit size.
7249 (set_sizetype): New function.
7250 (make_signed_type, make_unsigned_type): Use it.
7251 * c-decl.c (init_decl_processing): Likewise.
7252 * tree.h (size_int): Don't delcare, #define.
7253 (size_int_wide, sizetype_tab, sbitsize, ubitsize): Declare.
7254 (set_sizetype): Declare.
7255 (bitsize_int, size_int_2, BITS_PER_UNIT_LOG, sizetype, bitsizetype):
7256 Define.
7257 * c-typeck.c (c_sizeof, c_sizeof_nowarn, c_size_in_bytes):
7258 Convert result to sizetype.
7259 (really_start_incremental_init, push_init_level):
7260 Set type of constructor_bit_index to sbitsizetype.
7261 (push_init_level): Use unsigned arithmetic to determine padding.
7262 (output_init_element): Likewise.
7263
b577a8ff
JL
7264Sun Feb 1 03:32:07 1998 Jeffrey A Law (law@cygnus.com)
7265
7266 * combine.c (simplify_shift_const): Fix typo in last change.
7267
6e0ef100
JC
7268Sun Feb 1 02:50:46 1998 John Carr <jfc@mit.edu>
7269
7270 * combine.c (simplify_shift_const): (lshiftrt (truncate (lshiftrt)))
7271 is (truncate (lshiftrt)).
7272
4208b40f
RH
7273Sun Feb 1 01:06:53 1998 Richard Henderson <rth@cygnus.com>
7274
7275 * alpha.c (alpha_expand_unaligned_load): Use expand_binop properly.
7276 Make sure result winds up in TGT.
7277 (alpha_expand_unaligned_store): Use expand_binop properly. Allow
7278 src to be other than DImode.
7279 (alpha_expand_unaligned_load_words): Tidy. Take an offset argument.
7280 (alpha_expand_unaligned_store_words): Likewise.
7281 (alpha_expand_block_move): Use REGNO_POINTER_ALIGN. Restructure so
7282 that source and destination are separately optimized for alignment.
7283 (alpha_expand_block_clear): Use REGNO_POINTER_ALIGN.
7284
82301b88
JL
7285Sun Feb 1 01:55:09 1998 Jeffrey A Law (law@cygnus.com)
7286
7287 * mips.md (adddi3_internal_2): Be consistent with adddi3 expander
7288 with handling of -32768.
7289
a81fb89e
KG
7290Sun Feb 1 01:48:18 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
7291
7292 * aclocal.m4 (GCC_NEED_DECLARATION): Modify macro to accept a
7293 shell variable argument instead of only hard coded functions.
7294 (GCC_NEED_DECLARATIONS): New macro to accept multiple functions.
7295
7296 * configure.in: Collapse multiple calls to AC_CHECK_FUNCS into one
7297 call. Collapse multiple calls to GCC_NEED_DECLARATION into one
7298 call to GCC_NEED_DECLARATIONS (new macro.) Check if we need
7299 declarations for bcopy, bcmp and bzero.
7300
7301 * acconfig.h: Add stubs for bcopy, bcmp and bzero declarations.
7302
7303 * gansidecl.h: If we have bcopy but don't declare it, then do so.
7304 Likewise for bcmp and bzero. Only define macros for bcopy, bcmp,
7305 bzero, index and rindex if they aren't already present.
7306
eed90b2c
JL
7307Sat Jan 31 11:26:58 1998 Jeffrey A Law (law@cygnus.com)
7308
b57062ca 7309 * toplev.c (close_dump_file): Wrap function prototype for
eed90b2c
JL
7310 argument "func" in PROTO.
7311 (dump_rtl): Likewise.
7312
bfd6bc60
JC
7313Fri Jan 30 22:30:39 1998 John Carr <jfc@mit.edu>
7314
7315 * sparc.c (sparc_override_options): Make v8plus and ultrasparc set
7316 MASK_V8PLUS.
7317 (output_function_epilogue): Omit epilogue if nothing drops through.
7318 (output_move_double): Supress int ldd usage on ultrasparc and v9.
7319 (registers_ok_for_ldd_peep): Likewise.
7320 (print_operand): Supress b,a on ultrasparc. Let Y accept a constant.
7321 (ultrasparc_adjust_cost): New function.
7322 (sparc_issue_rate): New function.
7323 * sparc.h (MASK_VIS, TARGET_VIS): New
7324 (MASK_V8PLUS, TARGET_V8PLUS): New.
7325 (TARGET_HARD_MUL32, TARGET_HARD_MUL): New.
7326 (TARGET_SWITCHES): Add vis and v8plus.
7327 (REG_CLASS_FROM_LETTER): Accept d and b for VIS.
7328 (REGISTER_MOVE_COST): FP<->INT move cost 12 for ultrasparc.
7329 (RTX_COSTS): Use TARGET_HARD_MUL
7330 (ADJUST_COST): Call ultrasparc_adjust_cost.
7331 (ISSUE_RATE): New.
7332 * sparc.md (attr type): Add sload, fpmove, fpcmove. Adjust users
7333 of load & fp appropritely.
7334 (supersparc function units): Adjust for Haifa.
7335 (ultrasparc function units): Likewise.
7336 (get_pc_via_rdpc): All v9, not just arch64.
7337 (movdi_v8plus, movdi_v8plus+1): New.
7338 (adddi3_sp32+1): New.
7339 (subdi3_sp32+1): New.
7340 (movsi_insn, movsf_const_insn, movdf_const_insn): Know VIS.
7341 (addsi3, subsi3, anddi3_sp32, andsi3, and_not_di_sp32): Likewise.
7342 (and_not_si, iordi3_sp32, iorsi3, or_not_di_sp32, or_not_si): Likewise.
7343 (xorsi3_sp32, xorsi3, xor_not_di_sp32, xor_not_si): Likewise.
7344 (one_cmpldi2_sp32, one_cmplsi2): Likewise.
7345 (ldd peepholes): Suppress for v9.
7346 (return_adddi): Kill redundant test. Arg1 may be arith_operand.
7347 (return_subsi): Revmove.
7348
4b526a9a
JC
7349Fri Jan 30 18:30:03 1998 John F Carr <jfc@mit.edu>
7350
7351 * mips.c (save_restore_insns): Set RTX_UNCHANGING_P in register
7352 save/restore MEM rtl.
7353
64a438d6
JL
7354Fri Jan 30 09:08:16 1998 Jeffrey A Law (law@cygnus.com)
7355
7356 * configure.in: Check for declaration of abort.
9c893359 7357 * acconfig.h: Corresponding changes.
64a438d6
JL
7358 * toplev.c: Use NEED_DECLARATION_ABORT to determine if abort should
7359 be declared.
7360
f266c82f
JL
7361Thu Jan 29 20:26:12 1998 Jeffrey A Law (law@cygnus.com)
7362
7363 * genattrtab.c (optimize): Define in case PRESERVE_DEATH_INFO_REGNO_P
7364 uses it.
7365
31fa4410
JL
7366Thu Jan 29 09:27:56 PST 1998 Jeff Law (law@cygnus.com)
7367
7368 * version.c: Bump for snapshot.
7369
0ee31ab1
JL
7370Thu Jan 29 10:12:27 1998 Jeffrey A Law (law@cygnus.com)
7371
7372 * configure.in: Check for atoq and atoll.
7373 * rtl.c (read_rtx): Use HAVE_ATOLL and HAVE_ATOQ to select the
7374 proper routine for converting ascii into long long values.
7375
eeeb91c5
KK
7376Thu Jan 29 01:28:14 1998 Klaus Kaempf <kkaempf@progis.de>
7377
9d21ee77
KK
7378 * cccp.c (SYS$SEARCH, SYS$PARSE): Write as upper-case.
7379
7380 * vmsconfig.com: Remove bytecode references.
7381
7382 * alpha/vms.h (PREFIX): Define.
7383
7384 * alpha/vms.h (ASM_OUTPUT_ALIGNED_COMMON): Remove.
7385
eeeb91c5
KK
7386 * am-alpha.h: Don't include alloca for OPEN_VMS.
7387
7388 * alpha/xm-vms.h (HAVE_CPP_STRINGIFY): Define.
7389
7390 * alpha/xm-vms.h (INCLUDE_DEFAULTS): Define.
7391 (GCC_INCLUDE_DIR): Define
7392
7393 * make-cc.com, make-cccp.com, make-cc1.com: Removed.
7394 * makefile.vms: New file.
7395
7396 * alpha/vms.h (CPP_PREDEFINES): Remove -Dalpha.
7397
7398 * alpha.c (output_prolog): Output '.name' directive
7399 for minimal traceback information.
7400
7401 * alpha.c (output_prolog): Don't prepend entry point symbols
7402 with '$' on OPEN_VMS.
7403
76d31c63
JL
7404Thu Jan 29 00:25:35 1998 David S. Miller <davem@tanya.rutgers.edu>
7405 Jeffrey A Law (law@cygnus.com)
7406
7407 * rtl.c (read_rtx): Use atol/atoq based upon disposition of
7408 HOST_WIDE_INT.
7409
7410 * genattrtab.c (write_test_expr): Use HOST_WIDE_INT_PRINT_DEC
7411 as needed.
7412 * genemit.c (gen_exp): Likewise.
7413 * genpeep.c (match_rtx): Likewise.
7414 * genrecog.c (write_tree_1): Likewise.
7415
7416 * c-lex.c (yyprint): Use proper format string based upon
7417 disposition of HOST_BITS_PER_WIDE_INT.
7418 (yylex): Put casts in right place for args to build_int_2.
7419
7420Thu Jan 29 00:24:29 1998 Jeffrey A Law (law@cygnus.com)
7421
7422 * combine.c: Fix typos in Jan27 changes.
7423
1b7555bd
OR
7424Thu Jan 29 00:07:49 1998 Ollivier Robert <roberto@keltia.freenix.fr>
7425
7426 * i386/freebsd.h (LIB_SPEC): Correctly handle -shared, -p and friends.
7427 (LINK_SPEC): Likewise.
7428 (STARTFILE_SPEC): Likewise.
7429
21ca87b8
MS
74301998-01-28 Mike Stump <mrs@wrs.com>
7431
7432 * rtlanal.c (dead_or_set_regno_p): Ignore REG_DEAD notes after
7433 reload completes.
7434 * genattrtab.c (reload_completed): Define.
7435
7436 * m32r.md, mips.md, mn10200.md, mn10300.md, pyr.md: Remove obsolete
7437 comments.
7438
d2c92f5a
R
7439Wed Jan 28 20:11:06 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
7440
7441 * reload.c (push_reload): If WORD_REGISTER_OPERATIONS, reload the
7442 SUBREG_REG if the word count is unchanged, also in the input reload
7443 case. Disable non-applicable sanity checks.
7444
90ad3ab7
JL
7445Wed Jan 28 20:08:26 1998 Jeffrey A Law (law@cygnus.com)
7446
7447 * config/t-svr4 (TARGET_LIBGCC2_CFLAGS): Add -fPIC.
7448
7fad712c
ILT
7449Wed Jan 28 20:04:43 1998 Ian Lance Taylor <ian@cygnus.com>
7450
7451 * i386/t-cygwin32 (LIMITS_H_TEST, LIBGCC2_INCLUDES): Define.
7452
2290e0ec
PB
7453Wed Jan 28 11:45:27 1998 Per Bothner <bothner@cygnus.com>
7454
1aea01ea
PB
7455 * dbxout.c (dbxout_type): For a RECORD_TYPE, check that TYPE_BINFO
7456 is a TREE_VEC before trying to use it for baseclasses.
7457 (Chill uses the same field for a different purpose.)
7458
2290e0ec
PB
7459 * toplev.c (strip_off_ending): Generalize to endings up to 5 chars.
7460
16980900
LT
7461Tue Jan 27 23:15:55 1998 Lassi A. Tuura <lat@iki.fi>
7462
4c46bad0 7463 * config.sub: More accurate determination of HP processor types.
16980900 7464
5e9defae
KG
7465Tue Jan 27 23:11:11 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
7466
7467 * c-lex.c: Include <stdlib.h> and <string.h>/<strings.h>. Add
7468 prototype for `handle_sysv_pragma', and make it static. Add
7469 parentheses around assignment used as truth value.
7470
7471 * combine.c (combine_instructions): Protect variable `prev' with
7472 macro HAVE_cc0.
7473 (can_combine_p): Protect variable `link' with AUTO_INC_DEC.
7474 (extract_left_shift): Add parentheses around operand of &.
7475 (merge_outer_ops): Avoid an empty body in an else-statement.
7476 (gen_rtx_combine): Remove unused variable `i'.
b57062ca 7477
5e9defae
KG
7478 * sparc/gmon-sol2.c: Include <fcntl.h>. Make return type of
7479 function monstartup `void'. Likewise for internal_mcount. Add
7480 `static void' prototype for moncontrol. Reconcile sprintf format
b57062ca 7481 vs. args.
5e9defae
KG
7482
7483 * sparc/sparc.c: Include <stdlib.h> and <string.h>/<strings.h>.
7484 Make return type of function_arg_slotno explicitly `int'.
7485 (reg_unused_after): Add parentheses around assignment used as
7486 truth value.
7487 (save_regs): Add explicit braces to avoid ambiguous `else'.
7488 (function_arg_slotno): Add parentheses around && within ||.
7489 (function_arg_pass_by_reference): Likewise.
7490 (sparc_flat_output_function_prologue): Reconcile fprintf format
7491 vs. args.
7492
7493 * svr4.h (ASM_OUTPUT_LIMITED_STRING): Add parentheses around
7494 assignment used as truth value.
7495
7496 * cplus-dem.c: Include <stdlib.h>.
7497 (demangle_signature): Avoid an empty body in an else-statement.
7498 (do_type): Remove unused variable `lvl'.
b57062ca 7499
5e9defae
KG
7500 * cppexp.c: Don't have <stdlib.h> depend on MULTIBYTE_CHARS.
7501 Include <string.h>/<strings.h>.
7502 (cpp_lex): Remove unused variable `namelen'.
7503 (cpp_lex): Explicitly declare `num_chars' as an int.
7504
7505 * cpplib.c: Avoid duplicate inclusion of <stdlib.h>, include
7506 <unistd.h> instead. Explicitly declare is_system_include
7507 returning int.
b57062ca 7508 (make_assertion): Remove unused variable `kt'.
5e9defae
KG
7509 (cpp_expand_to_buffer): Hide variable `obuf'.
7510 (output_line_command): Remove unused variables, `line_end',
7511 `line_cmd_buf' and `len'.
7512 (macarg): Remove unused variable `arg_start'.
7513 (special_symbol): Remove unused variable `i'. Add parentheses
b57062ca 7514 around assignment used as truth value.
5e9defae 7515 (do_include): Remove unused variables `pcfname' and `retried',
b57062ca 7516 hide `pcf' and `pcfbuflimit'.
5e9defae
KG
7517 (do_line): Remove unused variable `i'.
7518 (finclude): Hide variable `missing_newline'.
7519 (cpp_handle_options): Remove unused variable `j'.
7520 (read_token_list): Remove unused variable `eofp'.
7521 (cpp_error_with_line): Remove unused variable `i'.
7522 (cpp_warning_with_line): Likewise.
7523 (cpp_pedwarn_with_line): Explicitly declare `column' as int.
7524 (cpp_error_from_errno): Remove unused variable `i'.
7525
7526 * cse.c (invalidate): Add parentheses around assignment used as
7527 truth value.
7528 (find_best_addr): Move declaration of variable `our_cost' inside
7529 the conditional macro where its used.
7530 (fold_rtx): Avoid an empty body in an if-statement.
7531 (cse_insn): Wrap variables `this_insn_cc0_mode' and
7532 `this_insn_cc0' in macro HAVE_cc0.
b57062ca 7533
5e9defae
KG
7534 * dwarf2out.c: Include <stdlib.h> and <string.h>/<string.h>.
7535 (ASM_OUTPUT_DWARF_DATA8): Reconcile format vs. args in fprintf's.
7536 (output_uleb128): Likewise.
7537 (output_sleb128): Likewise.
7538 (output_cfi): Likewise.
7539 (output_call_frame_info): Remove unused variables `j', `fde_size'
7540 and `fde_pad'.
7541 (comp_unit_has_inlines): Hide declaration as per rest of file.
7542 (size_of_line_prolog): Correct typo in prototype.
7543 (add_arange): Likewise.
7544 (output_aranges): Likewise.
7545 (add_name_and_src_coords_attributes): Likewise.
7546 (gen_array_type_die): Likewise.
7547 (gen_inlined_subroutine_die): Likewise.
7548 (equate_decl_number_to_die): Remove unused variable `i'.
7549 (print_die): Reconcile format vs. args in fprintf's.
7550 (print_dwarf_line_table): Likewise.
7551 (output_die): Likewise.
7552 (output_line_info): Likewise.
7553 (add_subscript_info): Avoid an empty body in an else-statement.
7554 (gen_subprogram_die): Remove unused variable `fp_loc'.
7555
7556 * dwarfout.c: Explicitly declare `next_pubname_number' as int.
7557 Protect `ordering_attribute' prototype with USE_ORDERING_ATTRIBUTE
7558 macro. Protect `src_coords_attribute' prototype with
7559 DWARF_DECL_COORDINATES macro. Hide `output_entry_point_die'
7560 prototype as in the rest of the file. Likewise for
7561 `output_pointer_type_die' and `output_reference_type_die'. Remove
7562 prototype for `type_of_for_scope'.
7563 (output_unsigned_leb128): Reconcile format vs. args in fprintf.
7564 (type_attribute): Add explicit braces to avoid ambiguous `else'.
b57062ca 7565
5e9defae
KG
7566 * final.c: Include <stdlib.h> and <string.h>/<strings.h>.
7567 (shorten_branches): Protect declaration of tmp_length with
7568 SHORTEN_WITH_ADJUST_INSN_LENGTH and ADJUST_INSN_LENGTH macros.
7569 (profile_function): Protect declaration of `sval' and `cxt'
7570 variables with appropriate macros.
7571 (final_scan_insn): Likewise for `note' variable. Add explicit
7572 braces to avoid empty body in an if-statement.
7573 (output_asm_insn): Move variable `i' inside macro conditional
7574 where it is used. Add parentheses around assignment used as truth
7575 value.
7576 (asm_fprintf) Likewise, likewise.
b57062ca 7577
5e9defae
KG
7578 * fix-header.c (main): Remove unused variable `done'. Protect
7579 declaration of `i' with FIXPROTO_IGNORE_LIST.
7580
7581 * pexecute.c: Include <unistd.h>. Prototype `my_strerror'.
7582
7583 * print-rtl.c (print_inline_rtx): Explicitly declare the parameter
7584 `ind'.
7585
7586 * profile.c: Include <string.h>/<strings.h>.
7587 (instrument_arcs): Remove unused variables `note', `inverted',
7588 `zero' and `neg_one'.
7589 (branch_prob): Avoid empty body in an if-statement.
7590
7591 * regclass.c: Include <stdlib.h>.
7592 (reg_alternate_class): Explicitly declare parameter `regno'.
7593
7594 * regmove.c (regmove_optimize): Remove unused variable `p'. Add
7595 parentheses around assignment used as truth value.
7596 (find_matches): Remove unused variables `output_operand' and
7597 `matching_operand'.
7598 (fixup_match_1): Remove statement with no effect: "if (0) ;".
7599
7600 * scan.c (sstring_append): Explicitly declare `count' as int.
7601 (scan_string): Explicitly declare parameter `init' as int.
7602
7603 * sched.c: Include <stdlib.h>.
7604 (BLOCKAGE_RANGE): Add parentheses around arithmetic in operand of |.
7605 (rank_for_schedule): Add parentheses around assignment used as
7606 truth value.
7607 (schedule_block): Likewise.
7608 (regno_use_in): Likewise.
7609 (schedule_insns): Remove unused variable `i'.
7610
7611 * toplev.c: Include <stdlib.h> and <string.h>/<strings.h>.
7612 (v_message_with_decl): Remove unused variable `n'.
7613 (botch): Explicitly declare parameter `s' as char *.
7614 (main): Add parentheses around assignment used as truth value.
7615
7616 * tree.c (make_node): Protect the variable `kind' with the
7617 GATHER_STATISTICS macro.
7618 (real_value_from_int_cst): Move variable `e' inside conditional
7619 macro area where it is used.
7620 (tree_last): Add parentheses around assignment used as truth value.
7621 (build1): Protect the variable `kind' with the GATHER_STATISTICS
7622 macro.
7623 (print_obstack_statistics): Reconcile format vs. args in fprintf.
7624 Protect variables `i', `total_nodes', and `total_bytes' with the
7625 GATHER_STATISTICS macro.
7626
4b6bb562
MS
7627Tue Jan 27 23:01:55 1998 Mike Stump (mrs@wrs.com)
7628
7629 * m32r.md, mips.md, mn10200.md, mn10300.md, pyr.md: Add
7630 some comments regarding use of dead_or_set_p.
7631
e95f0195
TV
7632Tue Jan 27 22:14:48 1998 Todd Vierling <tv@pobox.com>
7633
7634 * fixincludes: Tweak fix for struct exception in math.h
7635
c3499f00
GK
7636Tue Jan 27 17:21:09 1998 Gavin Koch (gavin@cygnus.com)
7637
7638 * mips/mips.c (mips_expand_prologue,mips_expand_epilogue):
b57062ca 7639 Change mode of registers used to add/sub from
c3499f00
GK
7640 hard_frame_pointer_rtx from word_mode to Pmode.
7641
01898d58
NC
7642Tue Jan 27 11:02:04 1998 Nick Clifton <nickc@cygnus.com>
7643
6db34dd4
NC
7644 * v850.h (ASM_OUTPUT_ALIGNED_BSS): Use
7645 asm_output_aligned_bss() instead of asm_output_bss().
7646
01898d58
NC
7647 * toplev.c (rest_of_compilation): Replace references to
7648 stack_reg_dump_file and dbr_sched_dump_file with references to
b57062ca 7649 rtl_dump_file.
01898d58 7650
7b6ffd11
KI
7651Tue Jan 27 10:22:13 1998 Kamil Iskra <iskra@student.uci.agh.edu.pl>
7652
7653 * tlink.c (scan_linker_output): Call fclose() for opened files.
7654
60593797
RH
7655Tue Jan 27 05:05:26 1998 Richard Henderson <rth@cygnus.com>
7656
7657 * alpha.c (output_epilog [!VMS]): Don't tag global functions if
7658 compiling with -fpic -- we want to be able to override symbols
7659 properly.
7660 (alpha_expand_block_move): Fix thinko in last change.
7661
7662 * alpha.h (ASM_OUTPUT_MI_THUNK): New define.
7663 * config/alpha/win-nt.h (ASM_OUTPUT_MI_THUNK): New define.
7664 * config/alpha/vms.h (ASM_OUTPUT_MI_THUNK): New undef.
b57062ca 7665
5e4aab97
RH
7666Tue Jan 27 03:21:23 1998 Richard Henderson <rth@cygnus.com>
7667
7668 * alpha.md (abssf, absdf): Revert last change.
7669
69145bcc
JC
7670Tue Jan 27 00:26:50 1998 John Carr <jfc@mit.edu>
7671
7672 * dwarf2out.c (dwarf2out_frame_init): Test value of DWARF2_UNWIND_INFO.
7673 * mips/sni-svr4.h: Define DWARF2_UNWIND_INFO as 0.
7674
4926b75a
JL
7675Tue Jan 27 00:07:02 1998 Jeffrey A Law (law@cygnus.com)
7676
7677 * emit-rtl.c (gen_lowpart_common): Handle more case where converting
7678 a CONST_INT into SFmode.
7679
c6aded7c
AG
7680Tue Jan 20 16:01:03 1998 Anthony Green <green@cygnus.com>
7681
7682 * flags.h: New flag (optimize_size).
7683 * toplev.c (main): Parse -Os option and set optimize_space
7684 accordingly.
b57062ca 7685 * gcc.c (default_compilers), cp/lang-specs.h, f/lang-specs.h: Define
c6aded7c
AG
7686 __OPTIMIZE_SIZE__ when compiling with -Os.
7687 * config/dsp16xx/dsp16xx.h, config/i386/i386.h,
7688 config/i386/dgux.h, config/i960/i960.h, config/pdp11/pdp11.h,
7689 config/v850/v850.h (OPTIMIZATION_OPTIONS): New SIZE argument
7690 to macro.
7691 * config/i386/i386.c (optimization_options): Accept new SIZE argument.
7692
3698f44e
MH
7693Mon Jan 26 23:57:39 1998 Manfred Hollstein <manfred@s-direktnet.de>
7694
7695 * libgcc2.c (__clear_insn_cache): On sysV68 enable the memctl
7696 stuff only if MCT_TEXT is #define'd.
7697
ac8a456a
MO
7698Mon Jan 26 23:52:51 1998 Markus F.X.J. Oberhumer <k3040e4@c210.edvz.uni-linz.ac.at>
7699
7700 * configure.in (i*86-pc-msdosdjgpp): Treat like msdos & go32
7701 configurations.
7702
032713aa
NC
7703Fri Jan 23 09:39:36 1998 Nick Clifton <nickc@cygnus.com>
7704
7705 * toplev.c: Add -dM command line option to dump RTL after the
7706 machine dependent reorganisation pass, if there is one.
7707 Reorganise RTL dump code, so that only one file handle is
b57062ca 7708 needed.
032713aa 7709
ec2be682
BK
7710Mon Jan 26 12:09:42 1998 Benjamin Kosnik <bkoz@rhino.cygnus.com>
7711
7712 * except.c (check_exception_handler_labels): Disable warning when
7713 flag_syntax_only.
7714
e232b7b3
JW
7715Mon Jan 26 18:17:32 1998 Jim Wilson <wilson@cygnus.com>
7716
7717 * sparc.c (pic_setup_code): Don't set LABEL_PRESERVE_P.
7718
2a851b5c
R
7719Mon Jan 26 18:11:30 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
7720
7721 * c-decl.c (grokdeclarator): Get parameter tags from
7722 last_function_parm_tags.
7723 * dwarfout.c (output_formal_types): Set TREE_ASM_WRITTEN before
7724 traversing the parameter types.
7725 (output_type): No early exit for FUNCTION_TYPE / METHOD_TYPE context.
7726
808fbfac
JL
7727Mon Jan 26 01:44:12 1998 Jeffrey A Law (law@cygnus.com)
7728
7729 * h8300.c (print_operand): Handle CONST_DOUBLE for 'e', 'f', and
7730 the default case.
7731 (get_shift_alg): Fix typo.
7732
15389075
RH
7733Sun Jan 25 22:22:04 1998 Richard Henderson <rth@cygnus.com>
7734
7735 * alpha.c (alpha_expand_block_move): Copy ADDRESSOF to reg.
7736
83c8ddef
RH
7737Sun Jan 25 22:14:28 1998 Richard Henderson <rth@cygnus.com>
7738
7739 * toplev.c (get_run_time): Make sure each case gets its variables.
7740
db81d74a
RH
7741Sun Jan 25 22:10:21 1998 Richard Henderson <rth@cygnus.com>
7742
7743 * configure.in (build_xm_file): Add auto-config.h if host=build.
7744 (host_xm_file_list): Don't add $(srcdir) to auto-config.h.
7745 (build_xm_file_list): Likewise.
7746 * configure: Rebuild.
b57062ca 7747
f745c7a2
AB
7748Sun Jan 25 22:00:25 1998 Alasdair Baird <alasdair@wildcat.demon.co.uk>
7749
7750 * recog.c (validate_replace_rtx_1): Only perform substitutions
7751 of arguments to commutative and comparison operators once.
7752
963f4057
KG
7753Sun Jan 25 12:30:18 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
7754
91a51951
KG
7755 * sparc.c (output_cbranch): Add default case in
7756 enumeration switch.
b57062ca 7757
91a51951
KG
7758 * reorg.c (insn_sets_resource_p): Correct typo in prototype.
7759 (emit_delay_sequence): Eliminate unused parameter, all callers
7760 changed.
7761 (fill_simple_delay_slots): Likewise.
7762 (fill_slots_from_thread): Likewise.
7763 (fill_eager_delay_slots): Likewise.
7764 (mark_referenced_resources): Add default case in enumeration switch.
7765 (mark_set_resources): Likewise.
7766 (rare_destination): Likewise.
7767 (mostly_true_jump): Likewise.
7768 (find_dead_or_set_registers): Likewise.
7769 (redirect_with_delay_slots_safe_p): Remove unused variable `slots'.
7770 (update_reg_unused_notes): Remove unused variable `p'.
7771 (mark_target_live_regs): Remove unused variables `next' and
7772 `jump_count'.
7773 (fill_simple_delay_slots): Remove unused variable `j'.
7774 (fill_slots_from_thread): Add parentheses around assignment used
7775 as truth value.
7776 (dbr_schedule): Likewise.
7777
963f4057
KG
7778 * objc/Make-lang.in (objc.stage1): Depend on stage1-start.
7779 (objc.stage2, objc.stage3, objc.stage4): Likewise.
7780
e82ad93d
MT
7781Sun Jan 25 12:13:47 1998 Michael Tiemann <michael@tiemann.org>
7782
7783 * cse.c (simplify_ternary_operation): Don't try to simplify
7784 IF_THEN_ELSE expressions (created by combine) that don't use
7785 relational operators.
7786
b4b04bf9
JL
7787Fri Jan 23 22:48:24 1998 Jeffrey A Law (law@cygnus.com)
7788
ed1ecb19
JL
7789 * cse.c (simplify_ternary_operation): Handle more IF_THEN_ELSE
7790 simplifications.
7791
b4b04bf9
JL
7792 * crtstuff.c (init_dummy): Keep the epilogue in the init
7793 section for non-ELF systems.
7794
deeef0ac
R
7795Fri Jan 23 23:28:59 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
7796
7797 * sh.md (movqi_i+1): New peephole.
7798
03566575
JW
7799Fri Jan 23 15:39:42 1998 Jim Wilson <wilson@cygnus.com>
7800
7801 * Makefile.in: Remove remaining bytecode stuff.
7802 * emit-rtl.c, expr.c: Likewise.
7803
eb96c120
NC
7804Fri Jan 23 12:41:10 1998 Nick Clifton (nickc@cygnus.com)
7805
7806 * toplev.c (lang_options): Add unknown-pragma options.
7807
f03204e9
PB
7808Thu Jan 22 23:43:38 1998 Per Bothner <bothner@cygnus.com>
7809
7810 * dwarfout.c (byte_size_attribute): Simplify and fix - don't need
7811 special (and incomplete) handling for Chill arrays.
7812
4e762a38
JC
7813Fri Jan 23 00:27:23 1998 John Carr <jfc@mit.edu>
7814
7815 * toplev.c (get_run_time): Call sysconf(_SC_CLK_TCK), when available,
7816 to get clock rate.
7817
c3499f00 7818Fri Jan 23 00:19:36 1998 Gavin Koch (gavin@cygnus.com)
319f217e
GK
7819
7820 * mips.md (muldi3_internal2): Reverse test for TARGET_MIPS16.
7821
19f673eb
SS
78221998-01-22 scott snyder <snyder@d0sgif.fnal.gov>
7823
7824 * mips.c (function_prologue): Use HARD_FRAME_POINTER_REGNUM in
7825 .frame directive instead of FRAME_POINTER_REGNUM.
7826
74cf1c6d
RK
7827Fri Jan 23 00:08:55 1998 Robin Kirkham <rjk@mlb.dmt.csiro.au>
7828
7829 * m68k.h (TARGET_SWITCHES): -mcpu32 now clears MASK_68881.
7830 (MACHINE_STATE_m68010_up): Replaced __mc68332__ with __mcpu32__.
7831 * m68k/m68k-none.h(CPP_FPU_SPEC): Update relative to TARGET_SWITCHES.
7832 (CPP_SPEC, ASM_SPEC, CC1_SPEC): Likewise.
7833 (CPP_SPEC): -m68332 defines both __mc68332 and __mcpu32__.
7834 * m68k/t-m68kbare (MULTILIB_OPTIONS): Add mcpu32.
7835 (MULTILIB_MATCHES): -m68332 now uses mcpu32 libraries, not m68000.
7836 (MULTILIB_EXCEPTIONS): Don't build 68881 libraries for m68000,
7837 mcpu32 or m5200.
7838 * longlong.h: Replace __mc68332__ with __mcpu32__.
7839
e1402e7d
JL
7840Thu Jan 22 19:55:40 PST 1998 Jeff Law (law@cygnus.com)
7841
7842 * version.c: Bump for snapshot.
7843
6d49a073
JW
7844Thu Jan 22 14:47:31 1998 Jim Wilson <wilson@cygnus.com>
7845
7846 * reload.c (push_reload): In WORD_REGISTER_OPERATIONS code, add test
7847 to require the SUBREG mode to be smaller than the SUBREG_REG mode.
7848 * reload1.c (eliminate_regs): Likewise.
7849
c485e6a0
JL
7850Thu Jan 22 14:49:14 1998 Jeffrey A Law (law@cygnus.com)
7851
7852 * regmove.c (find_matches): Initialize matches->earlyclobber too.
7853
84303d9a
RH
7854Thu Jan 22 01:40:52 1998 Richard Henderson <rth@cygnus.com>
7855
7856 * alpha.md (abssf2, absdf2): Disable in IEEE mode.
7857 (negsf2, negdf2): Use proper subtract in IEEE mode.
7858
b93a436e
JL
7859Tue Jan 20 09:29:09 1998 Jeffrey A Law (law@cygnus.com)
7860
27766f0e
JL
7861 * Makefile.in: Remove more bytecode stuff.
7862 * expr.c, stmt.c, config/msdos/top.sed: Likewise.
7863 * vax/xm-vms.h, winnt/config-nt.sed: Likewise.
7864 * f/install.texi, objc/Make-lang.in: Likewise.
7865
b93a436e
JL
7866 * Makefile.in: Remove all bytecode support.
7867 (OBJS): Make sure last entry is a real object file, not EXTRA_OBJS.
7868 * emit-rtl.c: Remove all bytecode support.
7869 * expr.c, expr.h function.c, integrate.c: Likewise.
7870 * output.h, regclass.c, rtl.h, stmt.c, toplev.c: Likewise.
7871 * tree.h, varasm.c: Likewise.
424e713c
JL
7872 * config/m68k/m68k.h: Likewise.
7873 * bi-*, bc-*, bytecode*: Delete bytecode related files.
c9804136 7874 * modemap.def: Likewise.
b93a436e 7875
7e07e3ba
GK
7876Tue Jan 20 09:02:31 1998 Gavin Koch (gavin@cygnus.com)
7877
7878 * mips/mips.md (divsi3,divdi3,modsi3,moddi3,udivsi3,udivdi3,
7879 umodsi3,umoddi3): Handle mips16 div/mod by a constant.
7880
685885b7
RH
7881Mon Jan 19 21:57:00 1998 Richard Henderson <rth@cygnus.com>
7882
7883 * i386.md (push): Prohibit symbolic constants if flag_pic.
7884 (movsi+1): Likewise for move to non-register.
7885
5830e3a0
JW
7886Mon Jan 19 11:15:38 1998 Jim Wilson <wilson@cygnus.com>
7887
11ea364a
JW
7888 * alpha.c (mode_mask_operand): Accept 0xffffffff on 32 bit host.
7889 (print_operand): Handle 0xffffffff on 32 bit host.
7890
a851212a
JW
7891 * configure.in (thread_file): Rename uses before main loop to
7892 target_thread_file. Initialize to empty in main loop. Set thread_file
7893 to target_thread_file after main loop if not set.
7894 * configure: Rebuild.
7895
5830e3a0
JW
7896 * genattrtab.c (find_and_mark_used_attributes): Handle CONST_INT.
7897 (add_values_to_cover): Revert last change (which had no ChangeLog
7898 entry).
7899 (simplify_with_current_value_aux): Handle CONST_INT.
7900
829e1aaf
AS
7901Mon Jan 19 10:14:55 1998 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
7902
7903 * unprotoize.c: Define UNPROTOIZE first, to actually take effect.
7904
76844337
RH
7905Mon Jan 19 10:11:52 1998 Richard Henderson <rth@cygnus.com>
7906
7907 * configure.in: Add cpp stringify test.
7908 * acconfig.h (HAVE_CPP_STRINGIFY): New tag.
7909 * gengenrtl.c: Use it.
7910 * configure, config.in: Rebuild.
7911
a3f80023
AS
7912Mon Jan 19 09:43:15 1998 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
7913
7914 * Makefile.in (genrtl.c genrtl.h): Add dummy command for GNU make.
7915
c5d0345e
RH
7916Mon Jan 19 09:38:18 1998 Richard Henderson <rth@cygnus.com>
7917
7918 * configure.in: Find declaration for sbrk.
7919 * acconfig.h (NEED_DECLARATION_SBRK): New tag.
7920 * config.in, configure: Rebuild.
7921 * mips-tfile.c: Properly protect declaration of sbrk and free.
7922 * toplev.c: Properly protect declaration of sbrk.
7923
bb02e7ea
RH
7924Sun Jan 18 20:18:01 1998 Richard Henderson <rth@cygnus.com>
7925
7926 * alpha.c (alpha_handle_trap_shadows): Ignore CLOBBERs.
7927
30c2fa75
JL
7928Sun Jan 18 01:54:27 1998 Jeffrey A Law (law@cygnus.com)
7929
7930 * alpha/xm-winnt.h (HAS_INIT_SECTION): Undefine.
7931
a0372c94
MS
7932Sun Jan 18 00:57:35 1998 Mike Stump (mrs@wrs.com)
7933
7934 * configure.in (i960-wrs-vxworks): Default to latest vxworks release.
7935
c9ec4f99
DM
7936Sat Jan 17 23:41:36 1998 David S. Miller <davem@tanya.rutgers.edu>
7937
0e9ff885
DM
7938 * combine.c (force_to_mode, nonzero_bits): Correctly optimize
7939 constant offset computations from objects with known alignment in
7940 the presence of STACK_BIAS.
7941
7bcac048
DM
7942 * varasm.c (immed_double_const): Add casts to HOST_WIDE_INT where
7943 necessary.
7944 (const_hash): Hash val is unsigned long.
7945 (SYMHASH): Likewise.
7946
7947 * tree.c (TYPE_HASH): Type of hash val is unsigned long.
7948
7949 * print-tree.c (print_node_brief): HOST_PTR_PRINTF format wants a
7950 char pointer, not HOST_WIDE_INT.
7951 (print_node): Likewise. Also hash is unsigned long not
7952 HOST_WIDE_INT.
7953
7954 * cse.c (canon_hash): Hash is unsigned long not HOST_WIDE_INT.
7955
c9ec4f99
DM
7956 * explow.c (optimize_save_area_alloca): New function for targets
7957 where SETJMP_VIA_SAVE_AREA is true.
7958 (allocate_dynamic_stack_space): On SETJMP_VIA_SAVE_AREA targets,
7959 compute the amount of stack space needed should we find later that
7960 setjmp is never called by this function, stuff rtl for this inside
7961 a REG_NOTE of the final SET of stack_pointer_rtx.
7962 * toplev.c (rest_of_compilation): If SETJMP_VIA_SAVE_AREA and
7963 current_function_calls_alloca, call optimize_save_area_alloca.
7964
ca097615
JW
7965Sat Jan 17 23:22:59 1998 John Wehle (john@feith.com)
7966
7967 * i386.md: Remove redundant integer push patterns.
7968 Don't bother checking for TARGET_PUSH_MEMORY when
7969 pushing constants or registers.
7970
a3105a89
MK
7971Sat Jan 17 22:35:39 1998 Mumit Khan <khan@xraylith.wisc.edu>
7972 J.J VanderHeijden <J.J.vanderHeijden@student.utwente.nl>
b57062ca 7973
a3105a89
MK
7974 * pexecute.c (pexecute): New function for mingw32. Supports pipes.
7975 (pwait): New function for mingw32.
7976
7977 * gcc.c (execute): Mingw32 pexecute() supports pipes, but cygwin32
7978 pipe support is broken for now.
7979
51549d76
LI
79801998-01-17 Lee Iverson <leei@Canada.AI.SRI.COM>
7981
ffc3503d
JL
7982 * emit_rtl.c (init_emit_once): Ensure that potential aliasing
7983 between frame_pointer_rtx, hard_frame_pointer_rtx, and
7984 arg_pointer_rtx is respected in initialization.
7985 (init_emit_once): Use gen_rtx_raw_REG() to create
7986 return_address_pointer_rtx.
7987
51549d76
LI
7988 * reorg.c: #include "expr.h" for rtx prototypes.
7989 * Makefile.in (reorg.o): Depend on expr.h
7990
b24a815b
PN
7991Sat Jan 17 21:28:08 1998 Pieter Nagel <pnagel@epiuse.co.za>
7992
7993 * Makefile.in (FLAGS_TO_PASS): Pass down gcc_include_dir and
7994 local_prefix to sub-make invocations.
7995
1e7b997a
DM
7996Sat Jan 17 21:24:16 1998 David T. McWherter <dtm@waterw.com>
7997
7998 * objc-parse.c: Recognize protocol qualifiers in class definitions.
7999
340fb41f
JL
8000Sat Jan 17 21:16:19 1998 Jeffrey A Law (law@cygnus.com)
8001
ffc3503d
JL
8002 * rtl.h: Fix typos.
8003
aef28d1d 8004 * acconfig.h (NEED_DECLARATION_ATOL): New declaration to check for.
6885fc87 8005 * configure.in: Check for atol.
aef28d1d
JL
8006 * rtl.c (atol): Only provide the declaration if NEED_DECLARATION_ATOL.
8007
4399e7a3
JL
8008 * rtl.c (read_rtx): Initialize list_rtx to NULL, not NULL_RTX.
8009
72ec635f
JL
8010 * loop.c (find_and_verify_loops): When attempting to move insns from
8011 inside the loop outside the loop, create a BARRIER if no suitable
8012 one was found.
8013
1be6e437
JL
8014 * jump.c (jump_optimize): Remove Dec 17, 1997 chance in
8015 favor of an equivalent change from gcc-2.8.
8016
340fb41f
JL
8017 * i386/x-sco5 (CC): Remove trailing whitespace.
8018
982255c8 8019Sat Jan 17 21:09:46 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
b57062ca 8020
982255c8
KG
8021 * gengenrtl.c (type_from_format): De-ANSIfy function signature.
8022 (accessor_from_format): Likewise.
8023 (xmalloc): New function for use when linking with alloca.o.
8024
db8abea3
BH
8025Mon Jan 5 02:53:01 1998 Bruno Haible <bruno@linuix.mathematik.uni-karlsruhe.de>
8026
8027 * frame.c (find_fde): Correct FDE's upper bound.
8028
5d483f63
RH
8029Fri Jan 16 16:23:52 1998 Richard Henderson <rth@cygnus.com>
8030
8031 * gengenrtl.c (DEF_RTL_EXPR): Provide a K&R compliant version.
8032
9a960e6b
JL
8033Fri Jan 16 10:16:10 1998 Jeffrey A Law (law@cygnus.com)
8034
8035 * calls.c (expand_call): Move #ifdef code out of macro argument
8036 lists.
8037 (emit_library_call, emit_library_call_value): Likewise.
8038
a4b18346
JL
8039Fri Jan 16 00:46:40 1998 Jeffrey A Law (law@cygnus.com)
8040
8041 * rtl.def (INLINE_HEADER): Fix bug exposed by gen_rtx_FOO changes.
8042
a252996a
JL
8043Thu Jan 15 01:02:30 1998 Jeffrey A Law (law@cygnus.com)
8044
8045 * version.c: Bump for snapshot.
8046
38a448ca
RH
8047Wed Jan 14 22:49:17 1998 Richard Henderson <rth@cygnus.com>
8048
8049 * alias.c: Change all uses of gen_rtx(FOO...) to gen_rtx_FOO;
8050 change gen_rtx(expr...) to gen_rtx_fmt_foo(expr...).
8051 * caller-save.c, calls.c, combine.c, cse.c: Likewise.
8052 * dwarf2out.c, except.c, explow.c, expmed.c, expr.c: Likewise.
8053 * final.c, flow.c, function.c, genpeep.c, haifa-sched.c: Likewise.
8054 * halfpic.c, integrate.c, jump.c, local-alloc.c, loop.c: Likewise.
8055 * profile.c, recog.c, reg-stack.c, regclass.c, regmove.c: Likewise.
8056 * reload.c, reload1.c, reorg.c, sched.c, stmt.c, stupid.c: Likewise.
8057 * unroll.c, varasm.c: Likewise.
8058 * config/alpha/alpha.c, config/alpha/alpha.md: Likewise.
8059
8060Wed Jan 14 19:36:08 1998 Gavin Koch (gavin@cygnus.com)
60db002d
GK
8061
8062 * mips.h: Fix some type-o's from a previous change.
8063
a8decb2c
JL
8064Wed Jan 14 01:26:05 1998 Jeffrey A Law (law@cygnus.com)
8065
b57062ca 8066 * loop.c (check_dbra_loop): Make sure initial value is a
a8decb2c
JL
8067 CONST_INT before trying to normalize it.
8068
0e2b736c
RL
8069Tue Jan 13 23:27:54 1998 Robert Lipe (robertl@dgii.com)
8070
8071 * sco5.h (ASM_OUTPUT_SECTION_NAME): Refresh from ../svr4.h.
8072
a3aa3d8c
HB
8073Tue Jan 13 22:47:02 1998 Herman ten Brugge <herman@htbrug.net.HCC.nl>
8074
8075 * cppexp.c: Include gansidecl.h
8076
8b496c8d
ILT
8077Tue Jan 13 22:43:35 1998 Ian Lance Taylor <ian@cygnus.com>
8078
8079 * svr4.h (LINK_SPEC): Never specify -h.
8080 * ptx4.h (LINK_SPEC): Likewise.
8081 * rs6000/sysv4.h (LINK_SPEC): Likewise.
8082 * sparc/sol2.h (LINK_SPEC): Likewise.
8083
c995fea1
RH
8084Tue Jan 13 22:39:40 1998 Richard Henderson (rth@cygnus.com)
8085
8d47dfc5
RH
8086 * c-typeck.c (comptypes): Exit early on NULL input.
8087
c995fea1
RH
8088 * haifa-sched.c (schedule_insns): Correctly remove inter-block
8089 dependencies after reload.
8090
88ea0ad1
FS
8091Tue Jan 13 22:22:31 1998 Franz Sirl <franz.sirl-kernel@lauterbach.com>
8092
8093 * rs6000/linux.h (CPP_PREDEFINES): Add -D__ELF__.
8094
f5e86959
JL
8095Tue Jan 13 22:14:57 1998 Klaus Kaempf <kkaempf@progis.de>
8096
8097 * alpha/vms.h (DIR_SEPARATOR): define
8098
8099Tue Jan 13 22:13:04 1998 Bruno Haible <bruno@linuix.mathematik.uni-karlsruhe.de>
6c32c807
BH
8100
8101 * Makefile.in (stamp-proto): Remove.
8102 (protoize.o, unprotoize.o): Straightforward compile.
8103 * unprotoize.c: Define UNPROTOIZE here, not in the Makefile.
8104
93006f8c
MK
8105Tue Jan 13 21:59:39 1998 Mumit Khan <khan@xraylith.wisc.edu>
8106
8107 * i386/cygwin32.h (STRIP_NAME_ENCODING): Define for Win32 to strip
8108 off the trailing @[NUM] added by ENCODE_SECTION_INFO.
8109
e4c4f8df
JL
8110Tue Jan 13 21:55:06 1998 Jeffrey A Law (law@cygnus.com)
8111
8112 * arm/netbsd.h (DWARF2_UNWIND_INFO): Define as zero for now.
8113 * i386/netbsd.h, m68k/netbsd.h, ns32k/netbsd.h: Likewise.
8114 * sparc/netbsd.h, vax/netbsd.h: Likewise.
8115
4aa0c2a5
SS
8116Tue Jan 13 21:37:07 1998 Shigeya Suzuki <shigeya@foretune.co.jp>
8117
8118 * i386/bsd386.h (DWARF2_UNWIND_INFO): Define as zero for now.
8119
c43143f6
JW
8120Tue Jan 13 17:50:55 1998 Jim Wilson <wilson@cygnus.com>
8121
8122 * configure.in (target_cpu_default, target_cpu_default2): Use double
8123 quotes around them when testing their value.
8124 * configure: Rebuilt.
b57062ca 8125
4b8140a6
JC
8126Tue Jan 13 09:07:44 1998 John Carr <jfc@mit.edu>
8127
8128 * gengenrtl.c (gencode): Emit new function obstack_alloc_rtx
8129 to allocate rtx.
8130 (gendef): Call obstack_alloc_rtx.
8131
82de9b28 8132Tue Jan 13 01:16:36 1998 Robert Lipe (robertl@dgii.com)
fe07d4c1
RL
8133
8134 * configure.in: (i[3456]86-UnixWare7-sysv5): Treat much like SVR4
8135 for now.
8136
23092526 8137Thu Dec 18 18:40:17 1997 Mumit Khan <khan@xraylith.wisc.edu>
b57062ca 8138
23092526
MK
8139 * i386/mingw32.h (INCOMING_RETURN_ADDR_RTX): Delete. Use the value
8140 of DWARF2_UNWIND_INFO, if any, from i386/cygwin32.h instead.
8141 (STANDARD_INCLUDE_DIR): Change to /usr/local/i386-mingw32/include.
8142
b57062ca 8143Tue Jan 13 00:44:02 1998 Jim Wilson <wilson@cygnus.com>
32318600
JW
8144
8145 * mips.md (return_internal): Change mode from SImode to VOIDmode.
8146
ef720b21
KJ
8147Sat Jan 10 22:11:39 1998 J. Kean Johnston <jkj@sco.com>
8148
8149 * i386/sco5.h (STARTFILE_SPEC, ENDFILE_SPEC): Correctly handle
8150 "-static".
8151
cde21847
SC
8152Sat Jan 10 22:04:15 1998 Stan Cox <scox@equinox.cygnus.com>
8153
8154 * i386.md: (movsicc_1, movhicc_1): For alternate 3 set the opcode
8155 suffix from operand 3.
8156
184bb750
R
8157Sat Jan 10 21:50:16 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
8158 Jeffrey A Law (law@cygnus.com)
8159
8160 * regmove.c: New implementation of regmove pass.
8161 * local-alloc.c (optimize_reg_copy_1, optimize_reg_copy_2): Remove
8162 decls, make them have external linkage. Return a value from
8163 optimize_reg_copy_1.
8164 * reload.h (count_occurrences): Add decl.
8165 * reload1.c (count_occurrences): Delete decl, make it have external
8166 linkage.
8167 * rtl.h (optimize_reg_copy_1, optimize_reg_copy_2): Declare.
8168
3f9e9508 8169Sat Jan 10 20:30:12 1998 Jeffrey A Law (law@cygnus.com)
b57062ca 8170
3f9e9508
JL
8171 * regclass.c (record_address_regs): Don't use REG_OK_FOR_BASE_P
8172 if it is not defined.
b57062ca 8173
3b80f6ca
RH
8174Thu Jan 8 21:06:54 1998 Richard Henderson <rth@cygnus.com>
8175
8176 * Makefile.in (OBJ, GEN, RTL_H): Add genrtl.[oh] bits.
8177 * emit-rtl.c (gen_rtx): Move special code to ...
8178 (gen_rtx_CONST_INT): New function.
8179 (gen_rtx_REG): New function.
8180 (*): Update all calls to gen_rtx.
8181 * genemit.c (gen_exp): Emit calls to gen_rtx_FOO for constant FOO.
8182 * rtl.h: Include genrtl.h; prototype CONST_INT & REG generators.
8183 (GEN_INT): Call gen_rtx_CONST_INT.
8184 * gengenrtl.c: New file.
8185
1c72c7f6
JC
8186Mon Jan 5 13:00:18 1998 John F. Carr <jfc@mit.edu>
8187
8188 * alias.c (*_dependence): Call base_alias_check before canon_rtx.
8189 (base_alias_check): If no base found for address call canon_rtx and
8190 try again.
8191
8fa4e1b4
JL
8192Mon Jan 5 11:39:49 1998 Jeffrey A Law (law@cygnus.com)
8193
8194 * mips.c (mips_expand_prologue): Handle large frame with no outgoing
8195 arguments for mips16.
8196 (mips_expand_epilogue): Pass "orig_tsize" to save_restore_insns.
8197 Don't lose if tsize is zero after handling large stack for mips16.
8198 * mips.md (return): For trivial return, return address is in $31.
8199
eb774d8d
NS
8200Sun Jan 4 20:24:00 1998 Nigel Stephens <nigel@algor.co.uk>
8201
8202 * mips/mips16.S: Various changes to make it work with -msingle-float
8203 and -EL.
8204
2bcb2ab3
GK
8205Sun Jan 4 14:25:18 1998 Gavin Koch <gavin@cygnus.com>
8206 Ian Lance Taylor <ian@cygnus.com>
8207 Jeff Law <law@cygnus.com>
8208
8209 * mips.c, mips.h, mips.md: First cut at merging in mips16
8210 support. Major modifications throughout all three files.
8211
db0d1ed9
SS
8212Sun Jan 4 01:01:50 1998 scott snyder <snyder@d0sgif.fnal.gov>
8213
8214 * configure.in: Make gthr-default.h a forwarding header instead of
8215 a symlink.
8216
79873958
KG
8217Sat Jan 3 12:08:06 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
8218
86e011ad
KG
8219 * gcov-io.h: Include sys/types.h to ensure we get size_t.
8220
79873958
KG
8221 * pa.h (ASM_OUTPUT_MI_THUNK): Add missing % in fprintf.
8222
35a42f5f
JW
8223Fri Jan 2 23:40:09 1998 Jim Wilson (wilson@cygnus.com)
8224 Jeffrey A Law (law@cygnus.com)
8225
8226 * crtstuff.c (__frame_dummy): New function for irix6.
8227 (__do_global_ctors): Call __frame_dummy for irix6.
8228 * iris6.h (LINK_SPEC): Hide __frame_dummy too.
8229
ef86d2ee
WL
8230Fri Jan 2 04:57:57 1998 Weiwen Liu <liu@hepmail.physics.yale.edu>
8231
8232 * alpha.c (vms_valid_decl_attribute_p): Move within #if OPEN_VMS.
8233
6c174fc0
RH
8234Fri Jan 2 04:34:14 1998 Richard Henderson <rth@cygnus.com>
8235
8236 * c-decl.c (init_decl_processing): Provide proper fallback symbol
8237 for __builtin_memset.
8238 * expr.c (expand_builtin) [MEMSET]: Arg 3 type code is INTEGER_TYPE
8239 not INTEGER_CST. Assert arg 3 is a constant.
8240
8241 * alpha.c (mode_width_operand): Accept 64-bit modes.
8242 (mode_mask_operand): Likewise.
8243 (print_operand): Likewise for 'M' and 'U' codes.
8244 (alpha_expand_unaligned_load): New function.
8245 (alpha_expand_unaligned_store): Likewise.
8246 (alpha_expand_unaligned_load_words): Likewise.
8247 (alpha_expand_unaligned_store_words): Likewise.
8248 (alpha_expand_block_move): Likewise.
8249 (alpha_expand_block_clear): Likewise.
8250 * alpha.h (MOVE_RATIO): New define.
8251 * alpha.md (extxl, ext*h, ins*l, mskxl): Name them.
8252 (insql, insxh, mskxh, extv, extzv, insv, movstrqi, clrstrqi): New.
8253
8254 * alpha.h (ASM_OUTPUT_LOOP_ALIGN, ASM_OUTPUT_ALIGN_CODE): Set to 3.
8255 (CONSTANT_ALIGNMENT, DATA_ALIGNMENT): Disable.
8256
8fbf199e
RH
8257Thu Jan 1 15:40:15 1998 Richard Henderson <rth@cygnus.com>
8258
8259 * configure.in: Put parenthesis around TARGET_CPU_DEFAULT's value.
8260 * configure: Update.
8261
2d490e3e
JL
8262Thu Jan 1 10:49:12 1998 Jeffrey A Law (law@cygnus.com)
8263
aa2ae679
JL
8264 * emit-rtl.c (operand_subword): Correctly handle extracting a word
8265 from a CONST_DOUBLE for 16bit targets with !WORDS_BIG_ENDIAN.
8266
2d490e3e
JL
8267 * mn10200.md (tstxx, cmpxx): Use "nonimmediate_operand" as predicate
8268 for first argument.
8269
6e26218f
ILT
8270Wed Dec 31 14:42:18 1997 Ian Lance Taylor <ian@cygnus.com>
8271
8272 * configure.in: Set and subsitute host_exeext. Use it when creating
8273 the assembler and linker symlinks.
8274 * configure: Rebuild.
8275 * Makefile.in (exeext): Set to @host_exeext@.
8276 (build_exeext): New variable, set to @build_exeext@.
8277 (FLAGS_TO_PASS): Pass down build_exeext.
8278 (STAGESTUFF): Use build_exeext, not exeext, for gen* and bi*
8279 programs.
8280
1b31097e
JL
8281Wed Dec 31 10:05:44 1997 Jeffrey A Law (law@cygnus.com)
8282
8283 * mn10200.md (addsi3, subsi3): Fix thinkos.
8284
194faace
RH
8285Tue Dec 30 00:04:49 1997 Richard Henderson <rth@cygnus.com>
8286
8287 * sparc.h (ASM_OUTPUT_MI_THUNK): Move %o7 through %g1 instead of
8288 save+restore. Fix pic+big_offset delay slot. Use "pic" case for
8289 unix always, since we want to be able to thunk to functions in a
8290 shared library from an application.
8291
975602f8
ILT
8292Mon Dec 29 14:37:31 1997 Ian Lance Taylor <ian@cygnus.com>
8293
8294 * mips/t-ecoff (CROSS_LIBGCC1): Define to libgcc1-asm.a.
8295 (LIB1ASMSRC, LIB1ASMFUNCS): Define.
8296
0eb1ad44
JL
8297Mon Dec 29 14:03:38 1997 Jeffrey A Law (law@cygnus.com)
8298
8299 * expr.c (expand_expr): For {BITFIELD,COMPONENT,ARRAY}_REF, if the
8300 offset's mode is not ptr_mode, convert it.
8301
eff0f7ac
MM
8302Mon Dec 29 15:58:18 1997 Michael Meissner <meissner@cygnus.com>
8303
8304 * libgcc2.c (inhibit_libc): Don't define inhibit_libc when cross
8305 compiling if it was already defined.
8306
2c3a56ad
JL
8307Sun Dec 28 00:32:16 1997 Jeffrey A Law (law@cygnus.com)
8308
8309 * flow.c (find_basic_blocks): Don't create a new basic block
8310 for calls in a LIBCALL block.
8311
fc97718f
DE
8312Sun Dec 28 00:30:24 1997 David Edelsohn <edelsohn@mhpcc.edu>
8313
8314 * config/fp-bit.c (L_df_to_sf): Fix typo in last change.
8315
5b5a2a1e
JL
8316Sat Dec 27 22:43:12 1997 Jeffrey A Law (law@cygnus.com)
8317
8318 * cse.c (rtx_cost): Remove conflicting default case.
8319
128f7968
RH
8320Sat Dec 27 21:20:02 1997 Richard Henderson <rth@cygnus.com>
8321
8322 * configure.in: Move default enabling of Haifa out of for loop.
8323 * configure: Rebuild.
8324
e81b4fbe
JL
8325Thu Dec 25 01:02:54 1997 Jeffrey A Law (law@cygnus.com)
8326
8327 * version.c: Bump for snapshot.
8328
f24af81b
TT
83291997-12-25 Teemu Torma <tot@trema.com>
8330
8331 * Makefile.in (GTHREAD_FLAGS): New var.
8332 (LIBGCC2_CFLAGS): Added $(GTHREAD_FLAGS).
8333 (distclean): Remove gthr-default.h.
8334
8335 * configure.in: Accept dce as a thread package.
8336 Check for thread.h and pthread.h.
8337 Link gthr-default.h to appropriate thread file and set
8338 gthread_flags.
8339 (hppa1.1-*-hpux10*): If --enable-threads, use dce threads and
8340 include multilib definitions from pa/t-dce-thr.
8341 (sparc-*-solaris2*): Enable threads by default, if thread.h or
8342 pthread.h is found, preferring posix threads over solaris ones.
8343
8344 * config/pa/t-dce-thr: New file.
8345 * config/pa/t-pa: Removed multilibs.
8346 * config/sparc/t-sol2: Ditto.
b57062ca 8347
f24af81b
TT
8348 * gthr.h: New file.
8349 * gthr-single.h: New file.
8350 * gthr-posix.h: New file.
8351 * gthr-solaris.h: New file.
8352 * gthr-dce.h: New file.
8353 * libgcc-thr.h: Removed.
8354 * objc/thr-dce.c: New file copied from thr-decosf1.c.
8355
8356 * frame.c: Include gthr.h instead of libgcc-thr.h.
8357 * libgcc2.c: Include gthr.h instead of libgcc-thr.h.
8358 (eh_context_initialize): If __gthread_once fails, use static eh
8359 context.
8360 (eh_context_free): Call __gthread_key_dtor.
8361
d9a4ee00
JL
8362Wed Dec 24 23:33:17 1997 Jeffrey A Law (law@cygnus.com)
8363
8364 * expr.h (MUST_PASS_IN_STACK): Allow target port to override.
8365
04bd620d
JW
8366Wed Dec 24 23:12:14 1997 Jim Wilson <wilson@cygnus.com>
8367
556c714b 8368 * cse.c (max_insn_uid): New variable.
556c714b
JW
8369 (cse_around_loop): Use max_insn_uid.
8370 (cse_main): Set max_insn_uid.
8371
04bd620d
JW
8372 * abi64.h (LONG_MAX_SPEC): Check MIPS_ABI_DEFAULT and TARGET_DEFAULT,
8373 and define __LONG_MAX__ appropriately. Add support for -mabi=X,
8374 -mlong64, and -mgp{32,64} options.
8375 * mips.c (mips_abi): Change type to int.
8376 * mips.h (enum mips_abi_type): Delete.
8377 (ABI_32, ABI_N32, ABI_64, ABI_EABI): Define as constants.
8378 (mips_abi): Change type to int.
8379
439d5a35
JC
8380Wed Dec 24 22:38:34 1997 John Carr <jfc@mit.edu>
8381
8382 * flags.h, toplev.c, calls.c, alias.c: Remove flag_alias_check;
8383 optimization is now always enabled.
8384
8385 * calls.c (expand_call): Recognize C++ operator new as malloc-like
8386 function.
8387
8388 * alias.c (memrefs_conflict_p): Eliminate tests now done by
8389 base_alias_check.
8390 (*_dependence): Call canon_rtx before base_alias_check.
8391 (init_alias_once): New function to precompute set of registers which
8392 can hold Pmode function arguments.
8393
8394 * rtl.h: Declare init_alias_once.
8395
8396 * toplev.c (compile_file): Call init_alias_once.
8397
280e521f
JL
8398Wed Dec 24 22:34:55 1997 Jeffrey A Law (law@cygnus.com)
8399
8400 * tree.c (restore_tree_status): Do not dereference a null pointer.
8401
95b8c0c8
PE
8402Tue Dec 23 12:56:46 1997 Paul Eggert <eggert@twinsun.com>:
8403
8404 * genattrtab.c (main): Check HAVE_{G,S}ETRLIMIT in addition to
8405 RLIMIT_STACK. This maintains consistency with the recent, similar
8406 patch to cccp.c and toplev.c.
8407
71d9b493
RH
8408Tue Dec 23 05:17:28 1997 Richard Henderson <rth@cygnus.com>
8409
8410 * genattrtab.c (expand_units): For large nr opclasses, expand
8411 function_units_used with ORX to prevent blowups. Tag with FFS.
8412 (num_unit_opclasses): New variable.
8413 (gen_unit): Update it.
8414 (enum operator): Add ORX_OP.
8415 (operate_exp): Treat ORX as or, except don't expand across an if.
8416 Reuse number rtx's after operating on them.
8417 (check_attr_value): Accept IOR, AND, & FFS.
8418 (write_test_expr): Transmute `in_comparison' to `flags'. Allow
8419 for attribute value caching. Handle CONST_STRING, IF_THEN_ELSE.
8420 (write_expr_attr_cache, write_toplevel_expr): New functions.
8421 (write_attr_get): Handle FFS-tagged expressions.
8422 (make_canonical): Don't expand const attributes.
8423 (convert_const_symbol_ref): Dike out.
8424 (evaluate_eq_attr): Handle SYMBOL_REF.
8425 (main): Don't emit get_attr_foo for const attributes.
8426
8427 * alpha.c (override_options): Reinstate PROCESSOR_EV6.
8428 (alpha_adjust_cost): Add EV6 tuning; streamline EV5 tests.
8429 * alpha.h (REGISTER_MOVE_COST): Increase ftoi/itof cost slightly.
b57062ca
UD
8430 * alpha.md: Redo all of the scheduling, adding EV6 support, and
8431 combining function units where possible.
71d9b493
RH
8432 (attr "type"): Split loads, stores, cmov into int/fp. Combine
8433 multiplies and divides. Add EV6 sqrt, ftoi, itof.
8434 (attr "opsize"): New attribute.
8435 (sqrtsf2-1, sqrtdf2-1): Provide proper TP_INSN patterns.
8436 (movsf2-[12], movdf2-[12]): Provide CIX varients; don't allow CIX
8437 to control register allocation.
8438 (movsi2-1, movdi2-1): Likewise.
8439
b0435cf4 8440Tue Dec 23 03:53:21 1997 Richard Henderson <rth@cygnus.com>
b57062ca 8441
b0435cf4
RH
8442 * alpha.h (CPP_PREDEFINES, LIB_SPEC, LINK_SPEC, STARTFILE_SPEC,
8443 MD_STARTFILE_PREFIX, ASM_FILE_START, ASM_SPEC, ASM_FINAL_SPEC):
8444 Move OSF/1 specific defines out.
8445 * alpha/elf.h (TARGET_VERSION, CPP_PREDEFINES, DEFAULT_VTABLE_THUNKS):
8446 Move Linux specific defines out.
8447 (LINK_SPEC): Genericize.
8448 (ASM_FILE_START): Emit .arch if using more than the base insn set.
8449 (ASM_OUTPUT_SOURCE_LINE): Remove; identical to alpha.h version.
8450 (SDB_DEBUGGING_INFO): Remove; gas can't handle it.
8451 (HANDLE_SYSV_PRAGMA): Define.
8452 * alpha/osf.h: New file.
8453 * alpha/linux.h: Split. Retain file-format independant defines.
8454 Import Linux bits from elf.h.
8455 (CPP_PREDEFINES): Take a file-format specific SUB_CPP_PREDEFINES
8456 (FUNCTION_PROFILER): _mcount takes its address in $28.
8457 (MD_EXEC_PREFIX, MD_STARTFILE_PREFIX): Remove undef.
8458 * alpha/linux-ecoff.h: New file.
8459 * alpha/linux-elf.h: New file.
8460 * alpha/vms.h (LIB_SPEC, LINK_SPEC): Copy from osf.h.
8461 * alpha/win-nt.h (TARGET_DEFAULT): Define.
8462 * configure.in (alpha*-*-osf*, alpha*-*-linux*) [tm_file]:
8463 Add new headers as appropriate.
b57062ca 8464
b0435cf4
RH
8465 * configure.in (alpha*): Enable Haifa by default.
8466 (*-*-winnt3*): Change to winnt*, since we're not v3 specific.
8467 * configure: Rebuild.
b57062ca 8468
5768f211
RH
8469Tue Dec 23 03:14:54 1997 Richard Henderson <rth@cygnus.com>
8470
8471 * Makefile.in (clean): Remove the stages with their objects here ...
8472 (distclean): ... instead of here.
8473
9e04c65a 8474Mon Dec 22 11:24:01 1997 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
b57062ca 8475
9e04c65a
KG
8476 * cse.c (rtx_cost): Add default case in enumeration switch.
8477 * fix-header.c (recognized_macro): Likewise.
8478 (recognized_extern): Likewise.
8479 (write_rbrac): Likewise.
8480 * objc/objc-act.c (encode_aggregate): Likewise.
8481 (gen_declarator): Likewise.
8482 (gen_declspecs): Likewise.
8483
1d88b804
JL
8484Mon Dec 22 09:58:51 1997 Jeffrey A Law (law@cygnus.com)
8485
8486 * haifa-sched.c (create_reg_dead_note): Detect and handle another
8487 case where we kill more regs after sched than were killed before
8488 sched.
8489 * sched.c (create_reg_dead_note): Similarly.
8490
bbeba0ba
JL
8491Mon Dec 22 09:18:37 1997 Jeffrey A Law (law@cygnus.com)
8492
8493 * c-pragma.c: Include flags.h.
8494
05853640
MK
8495Sun Dec 21 22:10:59 1997 Mumit Khan <khan@xraylith.wisc.edu>
8496
8497 * i386/cygwin32.h (NO_IMPLICIT_EXTERN_C): Don't assume anything
8498 about system headers.
8499 (LIB_SPEC): Add -ladvapi32 -lshell32 to be consistent with mingw32
8500 and also to resolve symbols in prefix.c.
8501
8502 * i386/xm-cygwin32.h (HAVE_BCOPY): Define. This avoids a conflict
8503 between gansidecl.h and newlib's _ansi.h when building libgcc2.a,
8504 when the definitions in auto-config.h is not visible.
8505 (HAVE_BZERO): Likewise.
8506 (HAVE_BCMP): Likewise.
8507 (HAVE_RINDEX): Likewise.
8508 (HAVE_INDEX): Likewise.
8509
44201dba
JL
8510Sun Dec 21 21:54:22 1997 Jeffrey A Law (law@cygnus.com)
8511
8512 * pa.c (emit_move_sequence): Handle a function label source
8513 operand.
8514
d300e551
NC
8515Sun Dec 21 16:13:55 1997 Nick Clifton <nickc@cygnus.com
8516
8517 * c-pragma.c (handle_pragma_token): Generate warning messages
8518 about unknown pragmas if warn_unknown_pragmas is set.
8519
8520 * c-decl.c (c_decode_option): Parse -Wunknown-pragmas command
8521 line option to set variable: warn_unknown_pragmas.
8522
d3245704
MH
8523Sun Dec 21 15:51:10 1997 Manfred Hollstein <manfred@lts.sel.alcatel.de>
8524
8525 * m68k/mot3300.h (ASM_BYTE_OP): Don't include '\t' in the
8526 definition.
8527 (ASM_OUTPUT_ASCII): Prefix ASM_BYTE_OP by one single '\t'.
8528
5198352e
JL
8529Sun Dec 21 13:58:39 1997 Jeffrey A Law (law@cygnus.com)
8530
8531 * Makefile.in (FPBIT_FUNCS, DPBIT_FUNCS): Define.
8532 (libgcc2.a): Depend on $(DPBIT) and $(FPBIT). Add rules to
8533 generate more fine grained floating point emulation libraries.
8534 * config/fp-bit.c: Add protecting #ifdef to all functions so
8535 that they can be compiled separately. If !FINE_GRAINED_LIBRARIES,
8536 then compile all suitable functions.
8537 (pack_d, unpack_d, fpcmp_parts): Add declarations, define with two
8538 underscores to avoid namespace pollution.
8539 * t-mn10200 (LIB2FUNCS_EXTRA): Remove fp-bit.c
8540 (FPBIT): Define.
8541 * t-mn10300 (LIB2FUNCS_EXTRA): Remove fp-bit.c and dp-bit.c
8542 (FPBIT): Define.
8543 (DPBIT): Define.
8544
9f1ff8e8 8545Sat Dec 20 11:26:47 1997 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1d300e19
KG
8546 Jeff Law <law@cygnus.com>
8547
8548 * bitmap.c (bitmap_clear): Ensure `inline' is at the beginning
8549 of the declaration.
8550 * c-decl.c (finish_decl): Use parentheses around && within ||.
8551 * rtl.c: Include stdlib.h.
8552 (read_skip_spaces): Add parentheses around assignments used as
8553 truth values.
8554 (read_rtx): Initialize list_rtx.
8555 * cppexp.c (parse_number): Use || when operands are truth values.
8556 * alias.c (find_base_value): Add default case.
8557 (memrefs_conflict): Likewise.
8558 * combine.c (sets_function_arg_p): Likewise.
8559 * genemit.c (gen_exp): Likewise.
8560 * local-alloc.c (contains_replace_regs): Likewise.
8561 * rtlanal.c (jmp_uses_reg_or_mem): Likewise.
8562 * fold-const.c (fold_convert): Use "&&" for truth values.
8563 (fold): Add default case.
8564 * sdbout.c (sdbout_field_types): Fix typo in declaration.
8565 (sdbout_one_type): Add default case.
8566 * alpha.c (alpha_sa_mask): Prototype only if OPEN_VMS.
8567 (some_operand): Add default case.
8568 (input_operand): Likewise.
8569 (signed_comparison_operator): Likewise.
8570 (divmod_operator): Likewise.
8571 (alpha_set_memflags_1): Likewise.
8572 * reload1.c (reload_cse_simplify_operands): Ensure function
8573 always returns a value.
8574 * scan-decls.c (scan_decls): Likewise.
8575 * c-lex.c (skip_white_space): Fix typo in declaraion.
8576 * c-typeck.c (comp_target_types): Add parentheses around assignment
8577 used as truth value.
8578 (print_spelling): Likewise.
8579 (constructor_implicit, constructor_result): Remove unused variables.
8580 * collect2.c (scan_library): Protect prototype with
8581 #ifdef SCAN_LIBRARIES.
8582 * emit-rtl.c (find_line_note): Fix typo in declaration.
b57062ca 8583 * final.c (asm_insn_count): Protect prototype with
1d300e19
KG
8584 #ifdef HAVE_ATTR_length.
8585 * flow.c (find_auto_inc): Protect prototype with #ifdef AUTO_INC_DEC.
8586 (try_pre_increment_1, try_pre_increment): Likewise.
8587 * regclass.c (auto_inc_dec_reg_p): Protect prototype with
8588 #ifdef FORBIDDEN_INC_DEC_CLASSES. Make return type explicit.
8589 * gcov-io.h (__store_long, __write_long, __read_long): Fix
8590 unsigned/signed comparisons.
8591 * gcov.c (read_files): Remove unused "first_type" variable.
8592 (scan _for_source_files): Initialize s_ptr.
8593 (function_summary): Eliminate "%lf" formatting, use %ld for
8594 longs.
8595 (output_data): Initialize branch_probs and last_line_num.
8596 Eliminate "%lf" formatting, use "%ld" for longs.
8597
18543a22
ILT
8598Fri Dec 19 17:31:11 1997 Ian Lance Taylor <ian@cygnus.com>
8599
afba61d1
ILT
8600 * mips16.S: New file.
8601
8602 * libgcc2.c (varargs): Handle mips16.
8603
18543a22
ILT
8604 * expr.c (do_tablejump): Let CASE_VECTOR_PC_RELATIVE be an
8605 expression.
8606 * stmt.c (expand_end_case): Likewise.
8607 * alpha.h (CASE_VECTOR_PC_RELATIVE): Update.
8608 * fx80.h, gmicro.h, m68k.h, m88k.h, ns32k.h: Likewise.
33f7f353 8609 * rs6000.h, sh.h, tahoe.h, v850.h, vax.h: Likewise.
18543a22 8610
dbf3231e
AS
8611Tue Dec 16 15:14:09 1997 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
8612
8613 * objc/Make-lang.in: Create runtime-info.h and libobjc_entry.o in
8614 the build directory.
8615 (libobjc.a): Update dependency list.
8616 (libobjc.dll): Likewise. Use libobjc_entry.o from the build
8617 directory.
8618 (objc/sendmsg.o): Add -Iobjc to find runtime-info.h.
8619 (objc.mostlyclean): Remove runtime-info.h.
8620
e1ee5cdc
RH
8621Fri Dec 19 00:19:42 1997 Richard Henderson <rth@cygnus.com>
8622
8623 * tree.c (build_range_type): Allow creation of ranges with no maximum.
8624 * dbxout.c (dbxout_range_type): Handle missing TYPE_MAX_VALUE.
8625 * dwarf2out.c (add_subscript_info): Likewise.
8626 * dwarfout.c (subscript_data_attribute, byte_size_attribute): Likewise.
8627 * sdbout.c (plain_type_1): Likewise.
8628 * stmt.c (pushcase_range, all_cases_count, node_has_high_bound):
8629 Likewise.
8630 * fold-const.c (int_const_binop, fold_convert, make_range, fold):
8631 Likewise.
8632
dfe91418 8633Thu Dec 18 17:05:10 1997 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
b57062ca 8634
dfe91418
JL
8635 * mips.c (fatal): Remove declaration.
8636
86371997-12-18 Mark Mitchell <mmitchell@usa.net>
8638
8639 * integrate.c (get_label_from_map): New function.
8640 (expand_inline_function): Use it. Initialize the label_map to
8641 NULL_RTX instead of gen_label_rtx.
8642 (copy_rtx_and_substitute): Use get_label_from_map.
8643 * integrate.h (get_label_from_map): New function.
8644 (set_label_from_map): New macro.
8645 * unroll.c (unroll_loop): Use them.
8646 (copy_loop_body): Ditto.
8647
337e2b69
ILT
8648Thu Dec 18 19:19:57 1997 Ian Lance Taylor <ian@cygnus.com>
8649
8650 * mips/mips.h (INIT_SUBTARGET_OPTABS): Define if not defined.
8651 (INIT_TARGET_OPTABS): Define.
8652 * mips/ecoff.h: Include gofast.h before mips.h.
8653 (INIT_SUBTARGET_OPTABS): Define instead of INIT_TARGET_OPTABS.
8654 * mips/elf64.h: Likewise.
8655 * mips/elf.h (ASM_OUTPUT_SECTION_NAME): Define.
8656
02531345
JM
8657Thu Dec 18 14:51:12 1997 Jason Merrill <jason@yorick.cygnus.com>
8658
8659 * except.c: Remove register_exception_table{,_p}.
8660
913b5d54
GK
8661Thu Dec 18 14:57:29 1997 Gavin Koch <gavin@cygnus.com>
8662
efb84aa5
GK
8663 * unroll.c (calculate_giv_inc): Handle constant increment found in
8664 a MEM with an appropriate REG_EQUAL note.
8665
bb1b857a
GK
8666 * calls.c (expand_call): Implement LOAD_ARGS_REVERSED.
8667
913b5d54
GK
8668 * dwarf2out.c (dwarf2out_frame_debug): Handle adjustments of the
8669 frame pointer in the prologue.
8670
80aab652
RL
8671Thu Dec 18 00:19:38 1997 Robert Lipe <robertl@dgii.com>
8672
8673 * i386/x-sco5 (CLIB) Deleted. (ALLOCA) Added.
8674 * i386/xm-sco5.h (USE_C_ALLOCA) Added.
8675
f5c4bc60 8676Tue Dec 16 18:51:00 1997 Bill Moyer <billm@cygnus.com>
b57062ca 8677
f5c4bc60
BM
8678 * config/m68k/m68k.c (output_function_prologue): Typecast
8679 dwarf2out_cfi_label to (char *).
8680 * config/m68k/m68kemb.h (STARTFILE_SPEC): Redefined to "".
b57062ca 8681
8dcb5295
RH
8682Wed Dec 17 15:06:04 1997 Richard Henderson <rth@cygnus.com>
8683
8684 * sparc.md (jump): Don't use the annul bit around an empty loop.
8685 Patch from Kevin.Kelly@East.Sun.COM.
8686
a99503b1
SC
8687Wed Dec 17 00:51:36 1997 Stan Cox (scox@cygnus.com)
8688
b57062ca 8689 * jump.c: (jump_optimize): Don't use the return register as a
a99503b1
SC
8690 source1 of a conditional move.
8691
e13c943c
RH
8692Tue Dec 16 23:45:40 1997 Richard Henderson <rth@cygnus.com>
8693
8694 * sparc.c (DF_MODES): Or the mask not the bit number.
8695 (function_arg) [ARCH64]: Send unprototyped arg to fp reg first.
8696
be3d27d6
CI
8697Wed Dec 17 00:13:48 1997 Christian Iseli <Christian.Iseli@lslsun.epfl.ch>
8698
8699 * combine.c (force_to_mode): return immediately if operand is a CLOBBER.
8700
f184a264
MH
8701Tue Dec 16 23:44:54 1997 Manfred Hollstein <manfred@s-direktnet.de>
8702
ade7386a
MH
8703 * fixincludes (size_t): Add support for Motorola's stdlib.h
8704 which fails to provide a definition for size_t.
8705 (fabs/hypot): Provide a prototype for fabs on m88k-motorola-sysv3.
8706 (strlen,strspn,strcspn return value): Handle different layout on sysV88.
8707 (hypot): Provide a fake for hypot for m88k-motorola-sysv3.
8708
f184a264
MH
8709 * m68k/xm-mot3300.h (ADD_MISSING_POSIX, ADD_MISSING_XOPEN): Define to
8710 prevent unresolved externals in libio.
8711 * m88k/xm-sysv3.h (ADD_MISSING_POSIX, ADD_MISSING_XOPEN): Likewise.
8712
afc96791
L
8713Tue Dec 16 23:25:45 1997 H.J. Lu (hjl@gnu.org)
8714
8715 * config/sparc/linux64.h (LIBGCC_SPEC): Removed.
8716 (CPP_SUBTARGET_SPEC): Add %{pthread:-D_REENTRANT}.
8717 (LIB_SPEC): Updated for glibc 2.
8718
e9818f3c
JL
8719Tue Dec 16 20:11:36 1997 Jeffrey A Law (law@cygnus.com)
8720
8721 * ginclude/stdarg.h: Undo BeOS changes, they break hpux.
8722 * ginclude/varargs.h: Likewise.
8723
a3fd4e75 8724Tue Dec 16 00:32:01 1997 Jeffrey A Law (law@cygnus.com)
520cd331
JL
8725
8726 * version.c: Bump for snapshot.
8727
a3fd4e75
JL
8728Tue Dec 16 00:14:29 1997 H.J. Lu (hjl@gnu.org)
8729
8730 * frame.h (__register_frame, __register_frame_table,
8731 __deregister_frame): New.
8732 * frame.c (__register_frame, __register_frame_table,
8733 __deregister_frame): New.
8734 * frame.c (__deregister_frame_info): Return void *.
8735 * frame.h (__deregister_frame_info): Ditto.
8736 * collect2.c (__deregister_frame_info): Ditto.
8737
166cdf4a
RH
8738Mon Dec 15 18:40:08 1997 Richard Henderson <rth@cygnus.com>
8739
8740 * expmed.c (expand_shift): If SHIFT_COUNT_TRUNCATED, drop a SUBREG.
8741
bcbbac26
RH
8742Mon Dec 15 18:31:43 1997 Richard Henderson <rth@cygnus.com>
8743
8744 * alpha.c (alpha_cpu_name): New variable.
8745 (alpha_mlat_string): Likewise.
8746 (alpha_memory_latency): Likewise.
8747 (override_options): Handle -mmemory-latency.
8748 (alpha_adjust_cost): Adjust load cost for latency.
8749 * alpha.h (TARGET_OPTIONS): Add meory-latency.
8750 (REGISTER_MOVE_COST): Define in terms of memory_latency. Take
8751 TARGET_CIX into account.
8752 (MEMORY_MOVE_COST): Define in terms of memory_latency.
8753 * invoke.texi (DEC Alpha Options): Document -mmemory-latency.
8754
8755 * alpha.h (ASM_COMMENT_START): New macro.
8756
8757Mon Dec 15 17:48:05 1997 Richard Henderson <rth@cygnus.com>
1914f5da
RH
8758
8759 * reload.h, reload1.c (eliminate_regs), caller-save.c, dbxout.c,
8760 dwarfout.c, dwarf2out.c, reload.c, sdbout.c: Revert March 15 change.
8761
8762 * reload.c (push_reload): If WORD_REGISTER_OPERATIONS, reload the
8763 SUBREG_REG if the word count is unchanged.
8764 * reload1.c (eliminate_regs) [case SET]: If W_R_O, preserve
8765 subregs of identical word size for push_reload.
8766
a701efba
MM
8767Mon Dec 15 Mark Mitchell <mmitchell@usa.net> 11:41:32 1997
8768
8769 * toplev.c (rest_of_compilation): Don't call save_for_inline_copy
8770 if all we're doing is dealing with -Wreturn-type.
8771
5e21ac7a
RH
8772Mon Dec 15 09:44:39 1997 Richard Henderson <rth@cygnus.com>
8773
8774 * alpha.md (zero_extendqihi2, zero_extendqisi2, zero_extendqidi2):
8775 Use and 255 instead of zapnot 1, since it schedules better.
8776
296f8acc
JL
8777Mon Dec 15 08:48:24 1997 Jeffrey A Law (law@cygnus.com)
8778
8779 * stmt.c (expand_asm_operands): If an ASM has no outputs, then treat
8780 it as volatile.
8781
6d8ccdbb
JL
8782Mon Dec 15 00:04:48 1997 Jeffrey A Law (law@cygnus.com)
8783
8784 * haifa-sched.c (remove_dependencies): Set RTX_INTEGRATED_P on
8785 dependency we delete. Properly update prev for multiple consecutive
8786 deletions.
8787 (priority): Skip deleted dependence.
8788
14e83f2e
PB
8789Fri Dec 12 18:54:23 1997 Per Bothner <bothner@cygnus.com>
8790
8791 * expr.c (expand_builtin): Support BUILT_IN_FMOD - just call fmod.
8792
100d81d4
JM
8793Fri Dec 12 01:19:48 1997 Jason Merrill <jason@yorick.cygnus.com>
8794
9b8d9d6b
JM
8795 * flow.c (flow_analysis): Be consistent with find_basic_blocks in
8796 determining when a new basic block starts.
8797
74c3447c
JM
8798 * alpha/osf2or3.h (LIB_SPEC): Restore missing defn.
8799
8800 * pa.h (TEXT_SPACE_P): Use TREE_CODE_CLASS.
8801 * pa.md (iorsi3): Add missing args to *_operand calls.
8802
100d81d4
JM
8803 * except.c (call_get_eh_context): Don't mess with sequences.
8804 (emit_eh_context): Include the call in the sequence here.
8805
5a5ab947
PE
88061997-12-11 Paul Eggert <eggert@twinsun.com>
8807
8808 * collect2.c (write_c_file_glob): Allocate initial frame object
8809 in static storage and pass its address.
8810
01eb7f9a
JM
8811Thu Dec 11 23:33:48 1997 Jason Merrill <jason@yorick.cygnus.com>
8812
8813 * except.c (call_get_eh_context): Don't take a parm.
8814 Put the call at the top of the function.
8815 (emit_eh_context): Adjust.
8816 (get_eh_context): Replace with former use_eh_context.
8817 (get_eh_context_once, get_saved_pc_ref): Remove.
8818 (start_eh_unwinder, end_eh_unwinder, emit_unwinder): Remove.
8819 * except.h: Adjust.
8820 * integrate.c (expand_inline_function): Adjust.
8821 * toplev.c (rest_of_compilation): Don't call emit_unwinder.
8822
d19814a3
ML
8823Fri Oct 10 17:58:31 CEST 1997 Marc Lehmann <pcg@goof.com>
8824
8825 * i386/xm-go32.h (EXECUTABLE_SUFFIX): Define.
8826 (DIR_SEPARATOR, NO_SYS_SIGLIST): Likewise.
8827
7567d496
MH
8828Thu Dec 11 23:55:17 1997 Manfred Hollstein <manfred@s-direktnet.de>
8829
ade7386a 8830 * fixincludes (strlen,strspn,strcspn return value): Handle different
7567d496 8831 layout on sysV88.
b57062ca 8832 (hypot): Provide a fake for hypot which is broken on
7567d496
MH
8833 m88k-motorola-sysv3.
8834
0a6969ad
JC
8835Thu Dec 11 23:50:17 1997 John F. Carr <jfc@mit.edu>
8836
8837 * tree.c, tree.h: Change tree_code_type, tree_code_length, and
8838 tree_code_name from pointers to arrays.
8839 * tree.c: Remove standard_tree_code_* variables, no longer used.
8840 * print-tree.c: Remove declaration of tree_code_name.
8841
8842 * cp/lex.c (init_lex): Update for tree_code_* changes.
8843 * objc/objc-act.c (init_objc): Likewise.
8844
8845 * tree.def, cp/cp-tree.def, objc/objc-tree.def: Update for tree_code
8846 changes.
8847
c55dcc7d
FF
8848Thu Dec 11 23:34:54 1997 Fred Fish <fnf@ninemoons.com>
8849
8850 * config.sub: Add support for BeOS target.
8851 * configure.in: Likewise.
8852 * ginclude/stdarg.h: Likewise.
8853 * ginclude/stddef.h: Likewise.
8854 * ginclude/varargs.h: Likewise.
8855 * rs6000/beos.h: New file for BeOS.
8856 * rs6000/t-beos: Likewise.
8857 * rs6000/x-beos: Likewise.
8858 * rs6000/xm-beos.h: Likewise.
8859 * toplev.c (get_run_time): Just return 0 on BeOS.
8860
9cf3ae46
JL
8861Thu Dec 11 23:25:23 1997 Jeffrey A Law (law@cygnus.com)
8862 Toon Moene (toon@moene.indiv.nluug.nl)
8863
8864 * m68k.h (GO_IF_LEGITIMATE_ADDRESS): No longer cater to horribly
8865 old and broken Sun3 assemblers. Newer versions handle large
8866 offsets correctly as does the GNU assembler.
8867
7cc273ad
L
8868Thu Dec 11 23:06:48 1997 H.J. Lu (hjl@gnu.ai.mit.edu)
8869
8870 * objc/objc-act.c (lang_report_error_function): Disable.
8871 * objc/objc-parse.y: Include "output.h".
8872 (yyerror): Remove redundant decl.
8873 (yyprint): Fix prototype.
8874 (apply_args_register_offset): Remove redundant decl.
8875 (get_file_function_name): Likewise.
8876
74d7ab55
JM
8877Thu Dec 11 22:02:10 1997 Jason Merrill <jason@yorick.cygnus.com>
8878
8879 * flow.c (find_basic_blocks): A CALL_INSN that can throw starts
8880 a new basic block.
8881 (find_basic_blocks_1): Likewise.
8882
0776059e
JM
8883Thu Dec 11 21:08:48 1997 Jason Merrill <jason@yorick.cygnus.com>
8884
8885 * except.c (use_eh_context): Don't copy_rtx a REG.
8886 (emit_throw): Lose old unwinder support.
8887 (expand_internal_throw): Likewise.
8888 * libgcc2.c (struct eh_context): Likewise.
8889 (new_eh_context): Likewise.
8890 (__get_eh_info): Lose redundant cast.
8891 (__get_dynamic_handler_chain): Likewise.
8892 (__get_saved_pc): Lose.
8893 Lose all old unwinder support code.
8894
154bba13
TT
8895Thu Dec 11 20:42:18 1997 Teemu Torma <tot@trema.com>
8896
8897 Thread-safe EH support for pthreads, DCE threads and Solaris threads.
b57062ca 8898
154bba13
TT
8899 * integrate.c (expand_inline_function): If the inline fn uses eh
8900 context, make sure that the current fn has one.
8901 * toplev.c (rest_of_compilation): Call emit_eh_context.
8902 * except.c (use_eh_context): New fn.
8903 (get_eh_context_once): New fn.
8904 (call_get_eh_context): New fn.
8905 (emit_eh_context): New fn.
8906 (get_eh_context): Call either get_eh_context_once or
8907 call_get_eh_context, depending on what we have.
8908 (get_dynamic_handler_chain): Call get_eh_context_once.
8909 * except.h: Prototypes for fns above.
8910 * optabs.c (get_eh_context_libfunc): Removed.
8911 (init_optabs): Don't initialize it.
8912 * expr.h (get_eh_context_libfunc): Removed.
8913 * rtl.h, rtl.c: New reg_note REG_EH_CONTEXT.
8914 * config/pa/pa.h (CPP_SPEC): Support for -threads.
8915 * config/pa/pa-hpux10.h (LIB_SPEC): Ditto.
8916 * config/pa/t-pa (MULTILIB_OPTIONS, MULTILIB_DIRNAMES):
8917 New multilib for -threads.
8918 * config/sparc/t-sol2: Added multilibs for -threads and
8919 made -pthreads alias to it.
8920 * config/sparc/sol2.h (CPP_SPEC, LIB_SPEC):
8921 Added -threads and -pthreads options.
8922 * libgcc-thr.h: New file.
8923 * libgcc2.c: (__get_cpp_eh_context): Removed.
8924 (struct cpp_eh_context): Removed.
8925 (struct eh_context): Replaced cpp_eh_context with generic language
b57062ca 8926 specific pointer.
154bba13
TT
8927 (__get_eh_info): New function.
8928 (__throw): Check eh_context::info.
8929 (__sjthrow): Ditto.
8930 * libgcc2.c: Include libgcc-thr.h.
8931 (new_eh_context, __get_eh_context,
8932 eh_pthread_initialize, eh_context_initialize, eh_context_static,
8933 eh_context_specific, eh_context_free): New functions.
8934 (get_eh_context, eh_context_key): New variables.
8935 (__sjthrow, __sjpopnthrow, __eh_pcnthrow, __throw): Use
8936 get_eh_context to get the context.
8937 (longjmp): Move the declaration inside
8938 #ifdef DONT_USE_BUILTIN_SETJMP.
8939 * frame.c: Include libgcc-thr.h.
8940 (object_mutex): Mutex to protect the object list.
8941 (find_fde, __register_frame, __register_frame_table,
8942 __deregister_frame): Hold the lock while accessing objects.
8943 * except.h (get_eh_context): Declare.
8944 * except.c (current_function_ehc): Define.
8945 (current_function_dhc, current_function_dcc): Removed.
8946 (get_eh_context): New function.
8947 (get_dynamic_handler_chain): Use get_eh_context.
8948 (get_saved_pc_ref): Ditto.
8949 (get_dynamic_cleanup_chain): Removed references to
8950 current_function_dcc.
8951 (save_eh_status, restore_eh_status): Save and restore
8952 current_function_ehc instead.
8953 * optabs.c (get_eh_context_libfunc): New variable.
8954 (init_optabs): Initialize it.
8955 * expr.h: Declare get_eh_context_libfunc.
8956 * function.h (struct function): Replaced dhc and dcc with ehc.
8957 * except.c (get_saved_pc_ref): New functions.
8958 (eh_saved_pc_rtx, eh_saved_pc): Deleted.
8959 (expand_internal_throw_indirect): Use get_saved_pc_ref() instead
8960 of eh_saved_pc.
8961 (end_eh_unwinder): Likewise.
8962 (init_eh): Remove initialization of eh_saved_pc.
8963 * optabs.c (get_saved_pc_libfunc): New variable.
8964 (init_optabs): Initialize it.
8965 * expr.h: Declare get_saved_pc_libfunc.
8966 * except.h (eh_saved_pc_rtx): Deleted.
8967 (get_saved_pc_ref): Declared.
8968
8969 From Scott Snyder <snyder@d0sgif.fnal.gov>:
8970 * libgcc2.c (__get_saved_pc): New.
8971 (__eh_type, __eh_pc): Deleted.
8972 (__eh_pcnthrow): Use __get_saved_pc() instead of __eh_pc.
8973 (__get_dynamic_handler_chain): Move __dynamic_handler_chain inside
8974 this fcn.
8975
68d75312
JC
8976Thu Dec 11 17:23:48 1997 John F. Carr <jfc@mit.edu>
8977
b16d8734
JC
8978 * sparc/sol2.h: Use 64 bit multiply and divide functions in
8979 Solaris libc. Define TARGET_LIVE_G0 and TARGET_BROKEN_SAVERESTORE
8980 as 0.
8981
68d75312
JC
8982 * rtl.h (global_rtl): New variable, replacing separate variables for
8983 commonly used rtl.
8984 (const_int_rtx): Now array of rtx_def, not rtx.
8985 * emit-rtl.c: Update for new rtl data structures.
8986 * genattrtab.c: Define global_rtl.
8987
44517326 8988Thu Dec 11 15:50:29 1997 David Edelsohn <edelsohn@mhpcc.edu>
f40421ce 8989
44517326
DE
8990 * configure.in ({rs6000,powerpc}-*-*): Enable Haifa scheduler by
8991 default.
f40421ce 8992
8587487b
AG
8993Wed Dec 10 12:30:18 1997 Anthony Green <green@cygnus.com>
8994
8995 * crtstuff.c (__do_global_ctors): Fix typo.
8996
08ce3276
MH
8997Tue Dec 9 09:43:59 1997 Manfred Hollstein <manfred@s-direktnet.de>
8998
8999 * toplev.c (main): Check HAVE_GETRLIMIT and HAVE_SETRLIMIT in addition
9000 to RLIMIT_STACK to see if we can call getrlimit and setrlimit.
9001
c229cba9
DE
9002Tue Dec 9 09:38:58 1997 David Edelsohn <edelsohn@mhpcc.edu>
9003
9004 * rs6000.h (FUNCTION_ARG_PADDING): Define.
9005 * rs6000.c (function_arg_padding): New function.
9006
b2c59d0b
MH
9007Tue Dec 9 10:34:21 1997 Manfred Hollstein <manfred@s-direktnet.de>
9008
9009 * m68k.c: Include tree.h only once.
9010
c1132c27
RK
9011Tue Dec 9 09:32:33 1997 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
9012
9013 * integrate.c (save_for_inline_copying): Make a new reg_parm_stack_loc.
9014
ac957f13
JL
9015Tue Dec 9 01:16:06 1997 Jeffrey A Law (law@cygnus.com)
9016
9017 * Partially cleaned up prototyping code from HJ.
a1d061a1 9018 * tree.h: Add many prototypes.
ac957f13
JL
9019 * haifa-sched.c (haifa_classify_insn): Renamed from classify_insn.
9020 All references changed.
9021 * rtl.h: Protect from multiple inclusions. Add many prototypes.
b57062ca 9022
f40421ce 9023Tue Dec 9 01:15:15 1997 Fred Fish <fnf@ninemoons.com>
ac957f13
JL
9024
9025 * libgcc2.c (string.h): Hoist inclusion to occur before first use of
9026 string functions like strlen.
9027
0a232106
MH
9028Tue Dec 9 00:57:38 1997 Manfred Hollstein <manfred@s-direktnet.de>
9029
9030 * configure.in: Check for functions getrlimit and setrlimit.
9031 * cccp.c (main): Check HAVE_GETRLIMIT and HAVE_SETRLIMIT in addition
9032 to RLIMIT_STACK to see if we can call getrlimit and setrlimit.
9033
25b76cc1
JS
9034Mon Dec 8 23:53:26 1997 Jay Sachs <sachs@bull.cs.williams.edu>
9035
9036 * Makefile.in (compare*): Handle losing behavior from 4.4bsd make.
9037
26250081
RH
9038Mon Dec 8 21:03:28 1997 Richard Henderson <rth@cygnus.com>
9039
9040 * alpha.c (REG_RA, alpha_return_addr, output_epilog):
9041 Fix merge problems.
9042
9043 * alpha.c (override_options): Don't know about scheduling for EV6.
9044 * alpha.md (ev5 function units): Don't overload as ev6.
9045
9046 * alpha.c (alpha_adjust_cost): Simplify. Fix typo in ev5 mult case.
9047 * alpha.md (define_attr type): Add mvi.
9048 (ev5_e0): Define sceduling parameters for it.
9049 (TARGET_MAX insns): Type is mvi not shift.
9050
7120f213
RH
9051Mon Dec 8 18:15:00 1997 Richard Henderson <rth@cygnus.com>
9052
9053 * alpha/win-nt.h (TRAMPOLINE_TEMPLATE): Fix backported gcc-2.8 bug.
9054
afa80947
R
9055Mon Dec 8 21:17:28 1997 J"orn Rennecke <amylaar@cygnus.co.uk>
9056
9057 * cstamp-h, auto-config.h: Delete.
9058
51ca169b
JL
9059Sun Dec 7 19:19:03 1997 Jeffrey A Law (law@cygnus.com)
9060
9061 * version.c: Bump for snapshot.
9062
16169366
JL
9063Sat Dec 6 22:22:22 1997 Jeffrey A Law (law@cygnus.com)
9064
9065 * cccp.c: Fix typo brought over in merge.
9066
efeb5d4f 9067 * Merge in changes from gcc-2.8.
0fe09481 9068
da932f04
JL
9069Mon Nov 3 05:45:32 1997 Philippe De Muyter <phdm@macqel.be>
9070
9071 * m68k.c: Include tree.h for dwarf2out_cfi_label.
9072
9073 * gcc.c (process_command): Do not take address of function fatal when
9074 calling lang_specific_driver.
9075
9076Sat Dec 6 01:02:38 1997 Mumit Khan <khan@xraylith.wisc.edu>
9077
b57062ca 9078 * config/i386/cygwin32.h (DWARF2_UNWIND): Exception handling
da932f04
JL
9079 doesn't work with it yet, so set it to 0.
9080 * config/i386/xm-cygwin32.h (NO_SYS_SIGLIST): Define.
9081
9082Sat Dec 6 01:01:02 1997 Christian Iseli <Christian.Iseli@lslsun.epfl.ch>
9083
9084 * cse.c (cse_insn): Check for invalid entries when taking references.
9085
81797aba
JL
9086Fri Dec 5 18:26:25 1997 J"orn Rennecke <amylaar@cygnus.co.uk>
9087
9088 * loop.c (invariant_p): Don't test flag_rerun_loop_opt.
9089 (loop_optimize, scan_loop, strength_reduce): New argument unroll_p.
9090 * toplev.c (rest_of_compilation): Pass it. Remove code to
9091 save / clear / restore flag_unroll_{,all_}loops.
9092
9093Fri Dec 5 16:26:03 1997 Bernd Schmidt <crux@ohara.Informatik.RWTH-Aachen.DE>
9094
9095 * i386.c (notice_update_cc): Remove bogus pentium GCC code.
9096
9097Fri Dec 5 16:25:14 1997 Jeffrey A Law (law@cygnus.com)
9098
9099 * stmt.c (warn_if_unused_value): Don't warn for TRY_CATCH_EXPR.
9100
5dfa7520
JM
9101Thu Dec 4 11:51:00 1997 Jason Merrill <jason@yorick.cygnus.com>
9102
d07daca1
JM
9103 * except.c (get_dynamic_handler_chain): Only make the call once per
9104 function.
9105
5dfa7520
JM
9106 * except.c (expand_end_all_catch): Fix for sjlj exceptions.
9107
4d7b7169
R
9108Thu Dec 4 12:30:40 1997 J"orn Rennecke <amylaar@cygnus.co.uk>
9109
9110 * sh.c (final_prescan_insn): Use local label prefix
9111 when emitting .uses pseudo-ops.
9112
e701eb4d
JM
9113Wed Dec 3 12:01:56 1997 Jason Merrill <jason@yorick.cygnus.com>
9114
9115 * libgcc2.c (__throw): Use __builtin_return_addr instead of __eh_pc.
9116 * except.c: Lose outer_context_label_stack.
9117 (expand_eh_region_end): Rethrow from outer_context here.
9118 (expand_fixup_region_end): Let expand_eh_region_end do the rethrow.
9119 (expand_internal_throw): Take no args.
9120 (expand_internal_throw_indirect): Lose.
9121 (expand_leftover_cleanups, expand_start_all_catch): Use expand_rethrow.
9122 (expand_start_all_catch): Start a rethrow region.
9123 (expand_end_all_catch): End it.
9124 (expand_rethrow): New fn.
9125 * except.h: Reflect above changes.
9126 * flow.c: Revert change of Nov 27.
9127
6a242b6a
JL
9128Thu Dec 4 00:24:09 1997 Jeffrey A Law (law@cygnus.com)
9129
9130 * i386/t-sol2 (CRTSTUFF_T_CFLAGS): Turn on the optimizer.
9131
9762d48d
JM
9132Wed Dec 3 12:01:56 1997 Jason Merrill <jason@yorick.cygnus.com>
9133
9134 * except.c (expand_fixup_region_end): New fn.
9135 (expand_fixup_region_start): Likewise.
9136 (expand_eh_region_start_tree): Store cleanup into finalization here.
9137 * stmt.c (expand_cleanups): Use them to protect fixups.
9138
868e82ab
GK
9139Wed Dec 3 11:41:13 1997 Gavin Koch <gavin@cygnus.com>
9140
9141 * mips/mips.md (muldi3_r4000): Broaden the output template
9142 and attribute assignments to handle three operand dmult;
9143 rename to muldi3_internal2.
9144 (muldi3): Call the new muldi3_internal2 for R4000, and
9145 any GENERATE_MULT3 chip.
9146
716cc7f7
JM
9147Tue Dec 2 19:40:43 1997 Jason Merrill <jason@yorick.cygnus.com>
9148
9149 * stmt.c (expand_decl_cleanup): Update thisblock after eh_region_start.
9150
9fb82071
JW
9151Tue Dec 2 12:54:33 1997 Jim Wilson <wilson@cygnus.com>
9152
9153 * unroll.c (find_splittable_givs): Remove last change. Handle givs
9154 with a dest_reg that was created by loop.
9155
f2d76545
JL
9156Sat Nov 29 12:44:57 1997 David Edelsohn <edelsohn@mhpcc.edu>
9157
9158 * rs6000.c (function_arg_partial_nregs): Undo Nov. 26 patch.
9159
9160 * rs6000/aix41.h (ASM_CPU_SPEC): Define.
9161
b4dfb707
JL
9162Fri Nov 28 10:00:27 1997 Jeffrey A Law (law@cygnus.com)
9163
9164 * configure.in: Fix NCR entries.
9165
80c2681c
JL
9166Thu Nov 27 12:20:19 1997 Jeffrey A Law (law@cygnus.com)
9167
586a5f99
JL
9168 * flow.c (find_basic_blocks): Handle cfg issues for rethrows and
9169 nested exceptions correctly.
9170
80c2681c
JL
9171 * unroll.c (find_splittable_givs): Don't split givs with a dest_reg
9172 that was created by loop.
9173
f45ebe47
JL
9174Thu Nov 27 09:34:58 1997 Jason Merrill <jason@yorick.cygnus.com>
9175
9176 * expr.c (preexpand_calls): Don't look past a TRY_CATCH_EXPR.
9177
9178 * except.c (expand_start_all_catch): One more do_pending_stack_adjust.
9179
034e84c4
MM
9180Wed Nov 26 15:47:30 1997 Michael Meissner <meissner@cygnus.com>
9181
8fbd2dc7
MM
9182 * rs6000.c (SMALL_DATA_REG): Register to use for small data relocs.
9183 (print_operand): Use SMALL_DATA_REG for the register involved in
9184 small data relocations.
9185 (print_operand_address): Ditto.
9186
9187 * rs6000/linux.h (LINK_SPEC): Pass -dynamic-linker /lib/ld.so.1 if
9188 -dynamic linker is not used.
9189
a226df46
MM
9190 * rs6000.md (call insns): For local calls, use @local suffix under
9191 System V. Don't use @plt under Solaris.
9192
034e84c4
MM
9193 * rs6000.c (output_function_profiler): Put label address in r0, and
9194 store LR in 4(sp) for System V/eabi.
9195
9196 * rs6000.h (ASM_OUTPUT_REG_{PUSH,POP}): Keep stack aligned to 16
9197 byte boundary, and maintain stack backchain.
9198
f2d76545
JL
9199Tue Nov 25 14:08:12 1997 Jim Wilson <wilson@cygnus.com>
9200
9201 * mips.md (fix_truncdfsi2, fix_truncsfsi2, fix_truncdfdi2,
9202 fix_truncsfdi2): Change *.
9203
33e5c8c3
JM
9204Wed Nov 26 11:12:26 1997 Jason Merrill <jason@yorick.cygnus.com>
9205
9206 * toplev.c (main): Complain about -gdwarfn.
9207
f45ebe47
JL
9208Tue Nov 25 22:43:30 1997 Jason Merrill <jason@yorick.cygnus.com>
9209
b57062ca 9210 * dwarfout.c (output_type): If finalizing, write out nested types
f45ebe47
JL
9211 of types we've already written.
9212
92dcf4c8
MM
9213Tue Nov 25 20:32:24 1997 Michael Meissner <meissner@cygnus.com>
9214
9215 (patches originally from Geoffrey Keating)
9216 * rs6000.c (function_arg): Excess floating point arguments don't
9217 go into GPR registers after exhausting FP registers under the
9218 System V.4 ABI.
9219 (function_arg_partial_nregs): Ditto.
9220
9221 * rs6000.md (call insns): If -fPIC or -mrelocatable, add @plt
9222 suffix to calls.
9223
f4744807
JM
9224Tue Nov 25 23:37:27 1997 Jason Merrill <jason@yorick.cygnus.com>
9225
9226 * integrate.c (output_inline_function): Just unset DECL_INLINE.
9227
9228Tue Nov 25 23:33:29 1997 scott snyder <snyder@d0sgif.fnal.gov>
9229
9230 * dwarf2out.c (outout_call_frame_info): Ensure that the info has
9231 proper alignment.
9232
9233 * libgcc2.c (__throw): Initialize HANDLER.
9234
0609f021
JW
9235Tue Nov 25 14:08:12 1997 Jim Wilson <wilson@cygnus.com>
9236
9237 * mips.md (fix_truncdfsi2, fix_truncsfsi2, fix_truncdfdi2,
9238 fix_truncsfdi2): Change *X to ?*X.
9239
c905c108
RH
9240Tue Nov 25 10:00:42 1997 Richard Henderson (rth@cygnus.com)
9241
9242 * alpha.h (CONST_OK_FOR_LETTER): Fix 'L' handling.
9243
5041a61c
JL
9244Tue Nov 25 10:00:42 1997 Jeffrey A Law (law@cygnus.com)
9245
9246 * crtstuff.c (do_global_dtors_aux): Handle multiple calls better.
9247
bb727b5a
JM
9248Tue Nov 25 01:26:55 1997 Bruno Haible <haible@ilog.fr>:
9249
9250 * dwarf2out.c (ASM_OUTPUT_DWARF_DELTA1): Implement.
9251
9252Mon Nov 24 22:41:55 1997 Jason Merrill <jason@yorick.cygnus.com>
9253
9254 * except.c (get_dynamic_handler_chain): Build up a FUNCTION_DECL.
9255 * optabs.c (init_optabs): Lose get_dynamic_handler_chain_libfunc.
9256 * expr.h: Likewise.
9257
f45ebe47
JL
9258Sat Nov 22 18:58:20 1997 Jeffrey A Law (law@cygnus.com)
9259
9260 * pa-hpux10.h (NEW_HP_ASSEMBLER): Define.
9261 * pa.h (LEGITIMATE_CONSTANT_P): Reject LABEL_REFs if not using
9262 gas and not using the new HP assembler.
9263
ef85603e
JL
9264Fri Nov 21 15:20:05 1997 Jeffrey A Law (law@cygnus.com)
9265
9266 * Makefile.in (program_transform_cross_name): Clean up "-e" confusion.
9267 (GCC_INSTALL_NAME, GCC_CROSS_NAME): Likewise.
9268
6cc1f5cb
AC
9269Fri Nov 21 19:37:40 1997 Andrew Cagney <cagney@b1.cygnus.com>
9270
9271 * config/mips/elf64.h (MULTILIB_DEFAULTS): Test for
9272 TARGET_ENDIAN_DEFAULT == zero instead of testing for macro
9273 definition.
9274
72eb1038
BH
9275Fri Nov 21 12:49:56 1997 Bruno Haible <bruno@linuix.mathematik.uni-karlsruhe.de>
9276
9277 * stmt.c (expand_end_bindings): Allow jump into block with cleanups.
9278
1418bb67
JM
9279Fri Nov 21 12:18:51 1997 Jason Merrill <jason@yorick.cygnus.com>
9280
9281 * except.h: Add outer_context_label_stack.
9282 * except.c: Likewise.
9283 (expand_start_all_catch): Push the outer_context for the try block
9284 onto outer_context_label_stack.
9285 (expand_end_all_catch): Use it and pop it.
9286
9dab7833
RL
9287Fri Nov 21 10:13:11 1997 Robert Lipe (robertl@dgii.com)
9288
9289 * i386/sco5.h (HAVE_ATEXIT): Revert last change.
9290
858e4e8c
RH
9291Thu Nov 20 16:11:50 1997 Richard Henderson <rth@cygnus.com>
9292
9293 * alpha.c (alpha_emit_set_const_1): Handle narrow hosts better.
9294
a21d14e9
KK
9295Thu Nov 20 16:11:50 1997 Klaus Kaempf <kkaempf@progis.de>
9296
9297 * alpha/vms.h (ASM_OUTPUT_ADDR_VEC_ELT): Add an L for the local label
9298 to correspond with the change to ASM_GENERATE_INTERNAL_LABEL.
9299
ced78d8b
JM
9300Thu Nov 20 14:42:15 1997 Jason Merrill <jason@yorick.cygnus.com>
9301
9302 * Makefile.in (LIB2FUNCS): Remove C++ memory management support.
b57062ca 9303 * libgcc2.c: Remove __builtin_new, __builtin_vec_new, set_new_handler,
ced78d8b
JM
9304 __builtin_delete, and __builtin_vec_delete.
9305
9306 * except.c (output_exception_table): Don't bother with
9307 __EXCEPTION_END__.
9308
a09ff88b
JL
9309Thu Nov 20 16:11:50 1997 Jeffrey A Law (law@cygnus.com)
9310
1b8b89f1
JL
9311 * pa.md (pre_stwm, post_stwm, pre_ldwm, post_ldwm): Base register
9312 is an in/out operand.
9313 (zero extended variants of stwm/stwm patterns): Similarly.
9314
a09ff88b
JL
9315 * mips/x-iris (FIXPROTO_DEFINES): Add -D_SGI_SOURCE.
9316
7bb9fb0e
JM
9317Thu Nov 20 13:19:32 1997 Jason Merrill <jason@yorick.cygnus.com>
9318
9319 * dwarf2out.c (ASM_OUTPUT_DWARF_OFFSET4): Rename from VALUE4.
9320 Use assemble_name.
9321 (ASM_OUTPUT_DEFINE_LABEL_DIFFERENCE_SYMBOL): Use assemble_name.
9322 (output_call_frame_info): Emit a \n after using it.
9323
9101297d
DL
9324Thu Nov 20 00:38:46 1997 Dave Love <d.love@dl.ac.uk>
9325
9326 * configure.in: Add AC_ARG_ENABLE for Haifa as documentation.
9327
2ed2af28
PDM
9328Wed Nov 19 12:03:04 1997 Philippe De Muyter <phdm@macqel.be>
9329
9330 * dwarf2out.c (CIE_LENGTH_LABEL, FDE_LENGTH_LABEL): New macros.
9331 (ASM_OUTPUT_DWARF_VALUE4): New macro.
9332 (ASM_OUTPUT_DEFINE_LABEL_DIFFERENCE_SYMBOL): Define if SET_ASM_OP is
9333 defined.
9334 (output_call_frame_info): Do not output forward label differences
9335 if ASM_OUTPUT_DEFINE_LABEL_DIFFERENCE_SYMBOL is defined.
9336 * m68k/mot3300.h (SET_ASM_OP): Define when not using gas.
9337
4dff12bf
R
9338Tue Nov 18 23:03:30 1997 J"orn Rennecke <amylaar@cygnus.co.uk>
9339
9340 * sh.md (attribute "type"): Add nil.
9341 (movsi_ie): y/y alternative is type nil.
9342 (movsf_ie): Replace ry/yr/X alternative by r/y/X , y/r/X and y/y/X
9343 alternatives.
9344 (movsf_ie+1): Delete.
9345
218c2cdb
JW
9346Tue Nov 18 15:39:59 1997 Jim Wilson <wilson@cygnus.com>
9347
9348 * mips/mips.c (save_restore_insns): If gp_offset or fp_offset are
9349 large_int, emit two insns instead of one splitable insn.
9350 * dwarf2out.c (dwarf2out_frame_debug): When set cfa_store_offset
9351 from cfa_temp_value, use cfa_offset. Add assert checking that
9352 cfa_reg is SP.
9353
d5b79362
TT
9354Mon Nov 17 15:35:38 1997 Tom Tromey <tromey@cygnus.com>
9355
9356 * cccp.c (deps_output): Properly quote file names for make.
9357
de1ea87a
JL
9358Mon Nov 17 13:21:40 1997 Jeffrey A Law (law@cygnus.com)
9359
9360 * t-h8300 (MULTILIB_EXCEPTIONS): Define.
9361
cb0112a7
RL
9362Fri Nov 7 15:33:11 1997 Robert Lipe (robertl@dgii.com)
9363
9364 * i386/sco5.h (HAVE_ATEXIT): Delete definition.
9365
85c3ba60
JL
9366Sun Nov 16 23:52:48 1997 Jeffrey A Law (law@cygnus.com)
9367
9368 * cse.c (cse_insn): Don't look at JUMP_LABEL field of a conditionl
9369 return.
9370 (cse_end_of_basic_block): Similarly.
ef720b21 9371
9155d500
KJ
9372Sun Nov 16 23:01:40 1997 J. Kean Johnston <jkj@sco.com>
9373
9374 * i386/sco5.h (ASM_OUTPUT_ALIGNED_BSS): Define.
9375 (SELECT_RTX_SECTION): Define.
9376 (LIBGCC_SPEC, LIB_SPEC): Do the right thing for PIC.
9377
4931312c
MH
9378Sun Nov 16 22:47:03 1997 Manfred Hollstein <manfred@s-direktnet.de>
9379
9380 * Makefile.in (compare, compare-lean): Define $stage for each
9381 shell command.
9382 (gnucompare, gnucompare-lean): Likewise.
9383
8dfe3c62
RH
9384Sun Nov 16 22:02:16 1997 Richard Henderson (rth@cygnus.com)
9385
9386 * alpha/win-nt.h (TRAMPOLINE_TEMPLATE): Fix offsets.
9387
9388 * alpha.h (ASM_OUTPUT_ADDR_DIFF_ELT): Add an L for the local label
9389 to correspond with the change to ASM_GENERATE_INTERNAL_LABEL.
9390
874a8709
FF
9391Fri Nov 14 09:09:20 1997 Fred Fish (fnf@cygnus.com)
9392
9393 * dwarfout.c (byte_size_attribute): Add local var upper_bound
9394 and add case to handle STRING_TYPE.
9395 * dwarfout.c (output_string_type_die): Fix code to generate
9396 correct string length attribute for fixed length strings.
9397 Still needs support for varying length strings.
9398
ea466196
JL
9399Fri Nov 14 08:46:56 1997 Jeffrey A Law (law@cygnus.com)
9400
9401 * toplev.c (get_run_time): Do something sensible for cygwin32.
9402
202f590e
RH
9403Fri Nov 14 07:24:20 1997 Richard Henderson <rth@cygnus.com>
9404
f35bcbc5
RH
9405 * expr.c (expand_builtin_setjmp): Set
9406 current_function_has_nonlocal_label.
9407 * stupid.c (stupid_life_analysis): If has_nonlocal_label, kill
9408 call-saved registers across calls.
9409
9410 * alpha.md (exception_receiver): Remove.
9411 (nonlocal_goto_receiver_osf): New
9412 (nonlocal_goto_receiver_vms): Renamed from nonlocal_goto_receiver.
9413 (nonlocal_goto_receiver): New, select _osf or _vms.
9414
531ea24e
RH
9415 * alpha.c (output_prolog [*]): Prefix entry labels with '$' to
9416 keep them from being propogated to the object file.
9417 (alpha_write_linkage): Likewise.
9418 * alpha.md (call_vms): Likewise.
9419 (call_value_vms): Likewise.
9420 (unnamed osf call insns): Likewise.
9421
9422 * alpha.h (ASM_OUTPUT_INTERNAL_LABEL): Don't omit L from local label.
9423 (ASM_GENERATE_INTERNAL_LABEL): Likewise.
9424
202f590e
RH
9425 * alpha.c (call_operand): Any reg is valid for WinNT.
9426 * alpha.md (call_nt, call_value_nt): Don't force address into $27.
9427 (anon nt calls): Add 'R' alternative.
9428 * alpha/win-nt.h (TRAMPOLINE_TEMPLATE, TRAMPOLINE_SIZE,
9429 INITIALIZE_TRAMPOLINE): Handle lack of original $27 and 32-bit ptrs.
9430
238ad62b
JL
9431Fri Nov 14 06:59:33 1997 Jeffrey A Law (law@cygnus.com)
9432
f78b5ca1
JL
9433 * calls.c (expand_call): Handle pcc_struct_value correctly for C++.
9434
238ad62b
JL
9435 * i386/xm-cygwin32.h (HAVE_FILE_H, HAVE_RUSAGE): Delete defines.
9436 * i386/xm-mingw32.h (HAVE_FILE_H, HAVE_RUSAGE): Likewise.
9437 * rs6000/xm-cygwin32.h (HAVE_FILE_H, HAVE_RUSAGE): Likewise.
9438
da275344
MM
9439Thu Nov 13 20:37:33 1997 Michael Meissner <meissner@tiktok.cygnus.com>
9440
9441 * reload1.c (new_spill_reg): Improve fixed or forbidden register
9442 spill error message.
9443
1f1e1545
KG
9444Thu Nov 13 20:29:08 1997 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
9445
9446 * prefix.c: Use stdarg.h only ifdef __STDC__. Otherwise,
9447 use varargs.h. Wrap header with <>, not "".
9448
daa4b717
JL
9449Thu Nov 13 20:21:17 1997 Jeffrey A Law (law@cygnus.com)
9450
9451 * integrate.c (save_for_inline_copying): Add return value from
9452 savealloc.
9453
9bb5394e
BK
9454Thu Nov 13 19:12:33 1997 Brendan Kehoe <brendan@cygnus.com>
9455
9456 * fixincludes: Be a little more restrictive on what we will
9457 substitute to replace definitions of MAXINT for HPUX.
9458
9571f69b
MM
9459Thu Nov 13 18:41:02 1997 Michael Meissner <meissner@cygnus.com>
9460
9461 * dbxout.c (dbxout_symbol_location): Don't assume that variables
9462 whose address is the stack or argument pointers are indirect
9463 pointers.
9464
b57062ca
UD
94651997-11-13 Paul Eggert <eggert@twinsun.com>
9466
e7cbb6b6
PE
9467 * cccp.c, cpplib.c (compare_defs):
9468 Don't complain about arg name respellings unless pedantic.
b57062ca
UD
9469 * cpplib.c (compare_defs): Accept pfile as new arg.
9470 All callers changed.
e7cbb6b6 9471
9f29ca78
R
9472Thu Nov 13 23:33:50 1997 J"orn Rennecke <amylaar@cygnus.co.uk>
9473
9474 * fold-const.c (fold_truthop): Fix bug in last change.
9475
41c9120b
PE
94761997-11-13 Paul Eggert <eggert@twinsun.com>
9477
9478 Fix some confusion with IEEE minus zero.
9479
9480 * real.h (REAL_VALUES_IDENTICAL): New macro.
9481
9482 * expr.c (is_zeros_p): Don't consider -0.0 to be all zeros.
9483 * fold-const.c (operand_equal_p): Don't consider -0.0 to be
9484 identical to 0.0.
9485 * tree.c (simple_cst_equal): Don't consider -0.0 to have the
9486 same tree structure as 0.0.
9487
9488 * varasm.c (immed_real_const_1): Use new REAL_VALUES_IDENTICAL
9489 macro instead of doing it by hand.
9490
323d8e7b
JL
9491Thu Nov 13 16:56:14 1997 Jeffrey A Law (law@cygnus.com)
9492
9493 * v850/lib1funcs.asm: Minor whitespace changes.
9494 * v850.c: Fix minor formatting problems in many places.
9495 (construct_restore_jr, construct_save_jarl): Remove unwanted aborts.
9496
13529ea4
JW
9497Thu Nov 13 12:53:44 1997 Jim Wilson <wilson@cygnus.com>
9498
9499 * mips.h (GO_IF_LEGITIMATE_ADDRESS): Delete code swapping xplus0 and
9500 xplus1 when xplus0 is not a register.
9501
759c135e
JL
9502Thu Nov 13 11:41:42 1997 Jeffrey A Law (law@cygnus.com)
9503
8930b063
JL
9504 * flow.c (find_basic_blocks): During marking phase, if we encounter
9505 an insn with a REG_LABEL note, make the target block live and
9506 create an edge from the insn to the target block. Do not make
9507 edges from all blocks to the target block.
9508
0be28489
JL
9509 * m68k/x-next (OTHER_FIXINCLUDES_DIRS): Include /NextDeveloper/Headers.
9510
759c135e
JL
9511 * confiugre.in: Tweak NCR entries.
9512 * configure: Rebuilt.
9513
47ad8c61
MM
9514Thu Nov 13 11:07:41 1997 Michael Meissner <meissner@cygnus.com>
9515
9516 * rs6000.c (num_insns_constant): Use REAL_VALUE_FROM_CONST_DOUBLE to
9517 pick apart floating point values, instead of using CONST_DOUBLE_LOW
9518 and CONST_DOUBLE_HIGH.
9519
9520 * rs6000.md (define_splits for DF constants): Use the appropriate
9521 REAL_VALUE_* interface to pick apart DF floating point constants in
9522 a machine independent fashion.
9523
5a6b3365
R
9524Thu Nov 13 00:06:58 1997 J"orn Rennecke <amylaar@cygnus.co.uk>
9525
9526 * fold-const.c (fold_truthop): When changing a one-bit comparison
9527 against zero into a comparison against mask, do a proper sign
9528 extension.
9529
2ec1535d
JL
9530Wed Nov 12 09:37:01 1997 Jeffrey A Law (law@cygnus.com)
9531
3a88cbd1
JL
9532 * except.c: Do not include "assert.h".
9533 (save_eh_status): Turn asserts into conditional aborts.
9534 (restore_eh_status, scan_region): Likewise.
9535 * dwarfout.c: Do not include "assert.h".
9536 (bit_offset_attribute): Turn asserts into conditional aborts.
9537 (bit_size_attribute, output_inlined_enumeration_type_die): Likewise.
9538 (output_inlined_structure_type_die): Likewise.
9539 (output_inlined_union_type_die): Likewise
9540 (output_tagged_type_instantiation): Likewise.
9541 (dwarfout_file_scope_decl): Likewise.
9542 * dwarf2out.c: Do not include "assert.h"
9543 (expand_builtin_dwarf_reg_size): Turn asserts into conditional aborts.
9544 (reg_save, initial_return_save, dwarf2out_frame_debug): Likewise.
9545 (add_child_die, modified_type_die, add_bit_offset_attribute): Likewise.
9546 (add_bit_size_attribute, scope_die_for): Likewise.
9547 (output_pending_types_for_scope): Likewise.
9548 (get_inlined_enumeration_type_die): Likewise.
9549 (get_inlined_structure_type_die): Likewise.
9550 (get_inlined_union_type_die, gen_subprogram_die): Likewise.
9551 (gen_tagged_type_instantiation_die): Likewise.
9552
2ec1535d
JL
9553 * flow.c (find_basic_blocks): Refine further to get a more correct
9554 cfg, especially in the presense of exception handling, computed
9555 gotos, and other non-trivial cases. Call abort if an inaccuracy
9556 is detected in the cfg.
9557
a6124a42
R
9558Tue Nov 11 21:47:27 1997 J"orn Rennecke <amylaar@cygnus.co.uk>
9559
9560 * glimits.h (SHRT_MIN): Define in a way suitable for 16 bit hosts.
9561
9562 * c-lex.c (whitespace_cr, skip_white_space_on_line): New functions.
9563 (skip_white_space): Use whitespace_cr.
9564 (check_newline): Handle whitespace more consistently.
9565
8f3189a4
JW
9566Tue Nov 11 16:25:49 1997 Jim Wilson <wilson@cygnus.com>
9567
9568 * i386/cygwin32.h (CPP_PREDEFINES): Delete -DPOSIX.
9569 * i386/xm-cygwin32.h (POSIX): Define.
9570
6d1350cd
GK
9571Mon Nov 10 20:53:11 1997 Gavin Koch <gavin@cygnus.com>
9572
9573 * config/mips/mips.h (MASK_DEBUG_H): Set to zero, so this bit
9574 is available elsewhere.
9575
d1f4474e
DE
9576Mon Nov 10 16:21:58 1997 Doug Evans <devans@canuck.cygnus.com>
9577
9578 * sparc/sparc.md (mov[sdt]f_const_insn): Fix condition to match
9579 what the instruction can handle.
9580
c7ae64f2
JM
9581Mon Nov 10 03:02:19 1997 Jason Merrill <jason@yorick.cygnus.com>
9582
9583 * stmt.c (expand_decl_cleanup_no_eh): New fn.
9584
9585 * except.c (expand_leftover_cleanups): do_pending_stack_adjust.
9586
ea64ef27
JL
9587Mon Nov 10 00:05:56 1997 Jeffrey A Law (law@cygnus.com)
9588
9589 * alias.c (MAX_ALIAS_LOOP_PASSES): Define.
9590 (init_alias_analysis): Break out of loops after MAX_ALIAS_LOOP_PASSES.
9591
47ad8c61
MM
9592Sun Nov 9 14:34:47 1997 David Edelsohn <edelsohn@mhpcc.edu>
9593
9594 * rs6000.md (lshrdi3_power): Delete '&' from first alternative and
9595 swap instruction order.
9596
0ff27f58
JL
9597Sun Nov 9 02:07:16 1997 Jeffrey A Law (law@cygnus.com)
9598
9599 * fixinc.svr4 (__STDC__): Add another case.
9600
7091039c
R
9601Sun Nov 9 02:00:29 1997 J"orn Rennecke <amylaar@cygnus.co.uk>
9602
9603 * a29k.h (ELIGIBLE_FOR_EPILOGUE_DELAY): Avoid loads from varying
9604 addresses in the epilogue delay slot.
9605
553914ad
MH
9606Sun Nov 9 01:40:40 1997 Manfred Hollstein (manfred@s-direktnet.de)
9607
9608 * m88k/dgux.h (ASM_CPU_SPEC): Reformatted to suppress wrong whitespace
9609 in generated `specs' file.
9610
64fde701
JW
9611Sun Nov 9 01:37:11 1997 Jim Wilson (wilson@cygnus.com)
9612
9613 * flags.h (flag_rerun_loop_opt): Declare.
9614 * loop.c (invariant_p, case LABEL_REF): Check flag_rerun_loop_opt.
9615 * toplev.c (flag_rerum_loop_opt): Delete static.
9616
1245df60
R
9617Sat Nov 8 18:20:21 1997 J"orn Rennecke <amylaar@cygnus.co.uk>
9618
1245df60
R
9619 Bring over from FSF:
9620
9621 Thu Oct 30 12:21:06 1997 J"orn Rennecke <amylaar@cygnus.co.uk>
9622
9623 * va-sh.h (__va_arg_sh1): Define.
9624 (va_arg): Use it.
9625 SH3E doesn't use any integer registers for subsequent arguments
9626 once a non-float value was passed in the stack.
9627 * sh.c (machine_dependent_reorg): If optimizing, put explicit
9628 alignment in front label for ADDR_DIFF_VEC.
9629 * sh.h (PASS_IN_REG_P): Fix SH3E case.
9630 (ADJUST_INSN_LENGTH): If not optimizing, add two extra bytes length.
9631
9632 Tue Oct 28 15:06:44 1997 J"orn Rennecke <amylaar@cygnus.co.uk>
9633
9634 * sh/elf.h (PREFERRED_DEBUGGING_TYPE): Undefine before including
9635 svr4.h.
9636
9637 Mon Oct 27 16:11:52 1997 J"orn Rennecke <amylaar@cygnus.co.uk>
9638
9639 * sh.c (machine_dependent_reorg): When -flag_delayed_branches,
9640 put an use_sfunc_addr before each sfunc.
9641 * sh.md (use_sfunc_addr, dummy_jump): New insns.
9642 (casesi): For TARGET_SH2, emit a dummy_jump after LAB.
9643
9644 Tue Oct 21 07:12:28 1997 J"orn Rennecke <amylaar@cygnus.co.uk>
9645
9646 * sh/elf.h (PREFERRED_DEBUGGING_TYPE): Don't redefine.
9647
97991933
JM
9648Fri Nov 7 10:22:24 1997 Jason Merrill <jason@yorick.cygnus.com>
9649
9650 * frame.c (add_fdes, count_fdes): Go back to checking pc_begin for
9651 linked once FDEs.
9652
eaf407a5
JL
9653Wed Nov 5 14:26:05 1997 Jeffrey A Law (law@cygnus.com)
9654
9655 * alias.c (find_base_value): Only return the known base value for
9656 pseudo registers.
9657
4f9ca067
JW
9658Wed Nov 5 11:27:14 1997 Jim Wilson <wilson@cygnus.com>
9659
9660 * i386.c (load_pic_register): Call prologue_get_pc_and_set_got.
9661 * i386.md (prologue_set_got, prologue_get_pc): Add UNSPEC_VOLATILE
9662 to pattern.
9663 (prologue_get_pc_and_set_got): New pattern.
9664
f4e31cf5
RH
9665Tue Nov 4 20:36:50 1997 Richard Henderson (rth@cygnus.com)
9666
9667 * alpha.c (summarize_insn): Handle ASM_OPERANDS. Don't recurse
9668 for SUBREG, just fall through.
9669
9670 * alpha.c (alpha_handle_trap_shadows): Init sum.defd to zero.
9671
9672 * alpha.md (attr trap): Make TRAP_YES non-zero for sanity's sake.
9673
f754c4a1
JL
9674Tue Nov 4 18:49:42 1997 Jeffrey A Law (law@cygnus.com)
9675
3ed18aeb
JL
9676 * fixincludes: Fix "hypot" prototype in NeXT math.h.
9677
3fe40e05
JL
9678 * Makefile.in (USE_ALLOCA): Always include alloca.o.
9679 (USE_HOST_ALLOCA): Likewise.
9680
f754c4a1
JL
9681 * rtl.def (CODE_LABEL): Use separate fields for LABEL_NUSES
9682 and LABEL_REFS fields.
9683 * rtl.h (LABEL_REFS): Update.
9684
ab00eb0a
JW
9685Tue Nov 4 16:55:11 1997 Jim Wilson <wilson@cygnus.com>
9686
ff3467a9
JW
9687 * combine.c (try_combine): When setting elim_i2, check whether newi2pat
9688 sets i2dest. When calling distribute_notes for i3dest_killed, pass
9689 elim_i2 and elim_i1. When setting elim_i1, check if newi2pat
9690 sets i1dest.
9691
4911814e
JW
9692 * mips.md (insv, extzv, extv): Add change_address call.
9693 (movsi_ulw, movsi_usw): Change QImode to BLKmode in pattern.
9694
474eff88
JW
9695 * integrate.c (save_for_inline_copying): Copy parm_reg_stack_loc.
9696
3feffdfe
JW
9697 * reload.c (find_reloads, case 'm' and 'o'): Reject HIGH constants.
9698
ab00eb0a
JW
9699 * mips.c (mips_expand_epilogue): Emit blockage insn before call to
9700 save_restore_insns if no FP and GP will be restored.
7636d567 9701
31c8581d
JW
9702 * dwarf2out.c (expand_builtin_dwarf_reg_size): New variable mode.
9703 Convert CCmode to word_mode before calling GET_MODE_SIZE.
9704
7636d567
JW
9705 * acconfig.h (HAVE_INTTYPES_H): Undef.
9706 * configure.in (inttypes.h): Check for conflicts between sys/types.h
9707 and inttypes.h, and verify that intmax_t is defined.
9708 * config/mips/x-iris (CC, OPT, OLDCC): Comment out.
9709 * config/mips/x-iris3: Likewise.
9710
73774bc7
JL
9711Tue Nov 4 16:07:15 1997 Jeffrey A Law (law@cygnus.com)
9712
9713 * alias.c (find_base_value): When copying arguments, return the
9714 tenative value for a hard register.
9715
645ebf37
DE
9716Tue Nov 4 13:40:35 1997 Doug Evans <devans@canuck.cygnus.com>
9717
9718 * c-lex.c (MULTIBYTE_CHARS): #undef if cross compiling.
9719 (yylex): Record wide strings using target endianness, not host.
9720
f7620587
JL
9721Tue Nov 4 13:13:12 1997 Jeffrey A Law (law@cygnus.com)
9722
9723 * mn10200.h (ASM_OUTPUT_BSS): Delete.
9724 (ASM_OUTPUT_ALIGNED_BSS): New macro
9725 * mn10300.h (ASM_OUTPUT_BSS): Delete.
9726 (ASM_OUTPUT_ALIGNED_BSS): New macro.
9727 * v850.h (ASM_OUTPUT_BSS): Delete.
9728 (ASM_OUTPUT_ALIGNED_BSS): New macro.
9729
1686f1a2 9730Tue Nov 4 00:55:48 1997 J"orn Rennecke <amylaar@cygnus.co.uk>
b57062ca 9731
1686f1a2
R
9732 * profile.c (branch_prob): Insert an insn after a NOTE_INSN_SETJMP.
9733
f6857708
JL
9734Mon Nov 3 14:36:50 1997 Jeffrey A Law (law@cygnus.com)
9735
9736 * configure.in (sco5): Use cpio to install header files.
9737
e566af04
MH
9738Sun Nov 2 23:31:43 1997 Manfred Hollstein <manfred@s-direktnet.de>
9739
9740 * aclocal.m4 (conftestdata_from, conftestdata_to): Names shortened to
9741 14 char length.
9742 * configure: Rebuild.
9743
cbd44549
RL
9744Sun Nov 2 19:44:00 1997 Robert Lipe (robertl@dgii.com)
9745
9746 * i386/sco5.h: enable -gstabs once again.
9747
56636818
JL
9748Sun Nov 2 19:27:21 1997 Jeffrey A Law (law@cygnus.com)
9749
9750 * arm.c (output_move_double): Allocate 3 entries in otherops array.
9751
9ad8a5f0
MS
9752Sat Nov 1 21:43:00 1997 Mike Stump (mrs@wrs.com)
9753
9754 * except.c (expand_ex_region_start_for_decl): Emit EH_REGION_BEG
9755 notes for sjlj exceptions too.
9756 (expand_eh_region_end): Similarly for EH_REGION_END notes.
9757 (exception_optimize): Optimize EH regions for sjlj exceptions too.
9758 * final.c (final_scan_insn): Don't output labels for EH REGION
9759 notes if doing sjlj exceptions.
9760
f8671389
JL
9761Sat Nov 1 19:15:28 1997 Jeffrey A Law (law@cygnus.com)
9762
8072f69c
JL
9763 * alias.c (init_alias_analysis): Handle -fno-alias-check when
9764 optimizing correctly.
9765
6cad9e32
JL
9766 * expr.c (expand_builtin_setjmp): Don't emit a SETJMP note
9767 or set current_function_calls_setjmp anymore.
9768
f8671389
JL
9769 * flow.c (find_basic_blocks): If we delete the label for an
9770 exception handler, remove it from the EH label list and remove
9771 the EH_BEGIN/EH_END notes for that EH region.
9772
a886ae74
JM
9773Sat Nov 1 16:44:49 1997 Jason Merrill (jason@cygnus.com)
9774
9775 * flow.c (find_basic_blocks): Generate correct flow control
9776 information when exception handling notes are present.
9777
c2c85462
JL
9778Sat Nov 1 13:42:19 1997 Jeffrey A Law (law@cygnus.com)
9779
9780 * dwarf2out.c (output_call_frame_info): Fix length argument
9781 to ASM_OUTPUT_ASCII.
9782 (output_die, output_pubnames, output_line_info): Likewise.
9783
8c316ae2
JL
9784Fri Oct 31 07:10:09 1997 Jeffrey A Law (law@cygnus.com)
9785
27ca375a
JL
9786 * version.c: Bump for snapshot.
9787
8d4e65a6
JL
9788 * dwarf2out.c (output_call_frame_info): Use ASM_OUTPUT_ASCII to
9789 output ASCII by default. Only use ASM_OUTPUT_DWARF_STRING if
9790 flag_debug_asm is on.
9791 (output_die, output_pubnames, output_line_info): Likewise.
9792
ec907dd8
JL
9793 * alias.c (init_alias_analysis): Add struct_value_incoming_rtx
9794 and static_chain_rtx into the potential base values array if
9795 they are registers.
9796
9797 * alias.c (new_reg_base_value): New array of potential base values.
9798 (unique_id): Now file scoped static.
9799 (find_base_value, case REG): Return the value in reg_base_value
9800 array for the REG if it exists. Else, return the value from
9801 new_reg_base_value if copying args and REG is a hard register.
9802 (find_base_value, case PLUS): If either operand of the PLUS is
9803 a REG, try to get its base value. Handle base + index and
9804 index + base.
9805 (record_set): Use new_reg_base_value instead of reg_base_value.
9806 (init_alias_analysis): Allocate space for new_reg_base_value too.
9807 Rework code to iterate over the insns propagating base value
9808 information until nothing changes.
9809
8c316ae2
JL
9810 * global.c (global_alloc): Free the conflict matrix after
9811 reload has finished.
9812
6874c264
JM
9813Fri Oct 31 01:45:31 1997 Jason Merrill <jason@yorick.cygnus.com>
9814
9815 * libgcc2.c (L_eh): Define __eh_pc.
9816 Replace __eh_type with generic pointer __eh_info.
9817
59fe8c2c
R
9818Fri Oct 31 00:34:55 1996 J"orn Rennecke <amylaar@cygnus.co.uk>
9819
9820 * expr.c (expand_increment): When enqueing a postincrement for a MEM,
9821 use copy_to_reg if address is not a general_operand.
9822
d1271ded
R
9823Fri Oct 31 00:16:55 1997 J"orn Rennecke <amylaar@cygnus.co.uk>
9824
9825 * profile.c (output_func_start_profiler): Clear flag_inline_functions
9826 for the duration of the call to rest_of_compilation.
9827
ac52b80b
DE
9828Thu Oct 30 14:40:10 1997 Doug Evans <devans@canuck.cygnus.com>
9829
9830 * configure.in (sparc-*-elf*): Use sparc/elf.h, sparc/t-elf.
9831 Set extra_parts.
9832 (sparc*-*-*): Recognize --with-cpu=v9.
9833 * sparc/elf.h: New file.
9834 * sparc/t-elf: New file.
9835
f8912297
JL
9836Thu Oct 30 13:26:12 1997 Jeffrey A Law (law@cygnus.com)
9837
9838 * mn10300.c (const_8bit_operand): New function.
9839 (mask_ok_for_mem_btst): New funtion.
9840 * mn10300.md (btst patterns with mem operands): Use new functions
9841 to avoid creating btst instructions with invalid operands.
9842
05ef204d
MM
9843Wed Oct 29 16:57:19 1997 Michael Meissner <meissner@cygnus.com>
9844
9845 * rs6000/xm-sysv4.h: Include xm-linux.h instead of xm-svr4.h if we
9846 are running on PowerPC Linux.
9847
feecabdf
GK
9848Wed Oct 29 13:10:11 1997 Gavin Koch <gavin@cygnus.com>
9849
9850 * config/mips/elf64.h (PREFERRED_DEBUGGING_TYPE): Only define
9851 if not previously defined.
9852
de957303
DE
9853Tue Oct 28 23:55:27 1997 Doug Evans (devans@cygnus.com)
9854
9855 * function.c (assign_parms): Correct mode of stack_parm if
9856 entry_parm underwent a mode conversion.
9857
ba3b3878
BK
98581997-10-28 Brendan Kehoe <brendan@lisa.cygnus.com>
9859
9860 * global.c (global_alloc): Use xmalloc instead of alloca for
9861 CONFLICTS, since max_allocno * allocno_row_words alone can be more
9862 than 2.5Mb sometimes.
9863
d540ae2c
RH
9864Tue Oct 28 15:29:15 1997 Richard Henderson <rth@cygnus.com>
9865
9866 * reload1.c (eliminate_regs [SET]): If [SUBREG] widened the mode of
9867 DEST for the spill, adjust mode of SRC to compensate.
9868
42f4929d
RH
9869Tue Oct 28 14:36:45 1997 Richard Henderson <rth@cygnus.com>
9870
9871 * alpha.md (reload_inqi): Check for MEM before strict_memory_address_p,
9872 since any_memory_operand() allows pseudos during reload.
9873 (reload_inhi, reload_outqi, reload_outhi): Likewise.
9874
08417478
JW
9875Tue Oct 28 11:53:14 1997 Jim Wilson <wilson@cygnus.com>
9876
9877 * m68k.md (btst patterns): Add 5200 support.
9878
750e8348
TM
9879Tue Oct 28 11:58:40 1997 Toon Moene <toon@moene.indiv.nluug.nl>
9880
9881 * fold-const.c (fold): For ((a * C1) / C3) or (((a * C1) + C2) / C3)
9882 optimizations, look inside dividend to determine if the expression
9883 can be simplified by using EXACT_DIV_EXPR.
9884
ede19932
JM
9885Tue Oct 28 10:19:01 1997 Jason Merrill <jason@yorick.cygnus.com>
9886
9887 From Brendan:
9888 * dwarf2out.c (output_call_frame_info): Use l1 instead of ".".
9889
66d91cb9
RH
9890Tue Oct 28 00:32:14 1997 Richard Henderson <rth@cygnus.com>
9891
9892 * alpha.c (summarize_insn [SUBREG]): Propogate SET.
9893
4f3f5e9f
RH
9894Mon Oct 27 23:59:26 1997 Richard Henderson <rth@cygnus.com>
9895
9896 * alpha.c (alpha_handle_trap_shadows): Don't call get_attr_trap
9897 on a CLOBBER.
9898
f3352b9e
RH
9899Mon Oct 27 21:25:20 1997 Richard Henderson <rth@cygnus.com>
9900
9901 * alpha.md (movqi, movhi): Make sure new insns created during reload
9902 won't need reloading themselves.
9903 (reload_inqi, reload_inhi, reload_outqi, reload_outhi): Likewise.
9904
0cecc190
JL
9905Mon Oct 27 16:11:10 1997 Jeffrey A Law (law@cygnus.com)
9906
9907 * mn10300.h (GO_IF_LEGITIMATE_ADDRESS): Disable reg+reg.
9908
a09ba5a2
RH
9909Sun Oct 26 13:50:44 1997 Richard Henderson <rth@cygnus.com>
9910
9911 * alpha.c (alpha_sa_mask [VMS]): Don't include $26 in the mask.
9912 Patch from Klaus Kaempf <kkaempf@progis.de>.
9913
7581a30f
JW
9914Sun Oct 26 13:31:47 1997 Jim Wilson (wilson@cygnus.com)
9915
9916 * expr.c (expand_expr, case INDIRECT_REF): Optimize a reference
9917 to an element in a constant string.
9918
d84e64d4
JM
9919Sun Oct 26 11:41:49 1997 Jason Merrill <jason@yorick.cygnus.com>
9920
9921 * dwarf2out.c (output_call_frame_info): The CIE pointer is now a 32
9922 bit PC-relative offset. The exception range table pointer is now in
9923 the CIE.
9924 * frame.c (dwarf_cie, dwarf_fde): Rename CIE_pointer to CIE_delta.
9925 (count_fdes, add_fdes, get_cie): Adjust.
9926 (cie_info, extract_cie_info, __frame_state_for): Adjust eh_ptr uses.
9927
9928 From H.J. Lu:
9929 * frame.c (count_fdes, add_fdes): Skip linked once FDE entries.
9930
96286722
RH
9931Sun Oct 26 11:52:01 1997 Richard Henderson <rth@cygnus.com>
9932
9933 * alias.c (memrefs_conflict_p): Treat arg_pointer_rtx just
9934 like stack_pointer_rtx.
9935
e85988b5
MH
9936Sun Oct 26 11:32:16 1997 Manfred Hollstein <manfred@s-direktnet.de>
9937
361e618f
MH
9938 * Makefile.in (bootstrap-lean): Combined with `normal' bootstrap
9939 targets using "$@" to provide support for similar but not identical
9940 targets without having to duplicate code.
9941 (bootstrap4): New goal.
9942
e85988b5
MH
9943 * Makefile.in (compare, compare-lean, compare3): Combined to one
9944 ruleset determining actions to be performed via $@.
9945 (compare4, compare4-lean): New targets.
9946 (gnucompare, gnucompare3): Combined to one ruleset determining
9947 actions to be performed via $@. Also, note which files failed
9948 the comparison test in .bad_compare.
9949 (gnucompare-lean, gnucompare3-lean, gnucompare4-lean): New targets.
9950
91585c63
TM
9951Sun Oct 26 10:06:11 1997 Toon Moene <toon@moene.indiv.nluug.nl>
9952
9953 * fold-const (fold): Also simplify FLOOR_DIV_EXPR to EXACT_DIV_EXPR
9954 if the dividend is a multiple of the divisor.
9955
da0af5a5
JL
9956Sun Oct 26 09:21:40 1997 Jeffrey A Law (law@cygnus.com)
9957
7337c67f
JL
9958 * Makefile.in (LIBGCC2_CFLAGS): Add -fexceptions.
9959
adb9effb 9960 * alias.c (find_base_term): Handle PRE_INC, PRE_DEC, POST_INC,
6d849a2a 9961 and POS_DEC.
6d849a2a
JL
9962
9963 * alias.c (true_dependence): Fix typo.
9964
6d6d0fa0
JL
9965 * toplev.c (flag_rerun_loop_opt): New variable.
9966 (f_options): Handle -frerun-loop-opt.
9967 (rest_of_compilation): If -frerun-loop-opt, then run the loop
9968 optimizer twice.
9969 (main): Enable -frerun-loop-opt by default for -O2 or greater.
9970
da0af5a5
JL
9971 * loop.c (simplify_giv_expr): Adding two invariants results
9972 in an invariant.
9973
ca0f2220
RH
9974Sun Oct 26 09:15:15 1997 Richard Henderson <rth@cygnus.com>
9975
b57062ca 9976 * expr.c (get_inner_reference): Remove the array bias after
ca0f2220
RH
9977 converting the index to Pmode.
9978
a6f7ba17
JL
9979Sat Oct 25 12:20:58 1997 Jeffrey A Law (law@cygnus.com)
9980
9981 * mn10300.h (TARGET_SWITCHES): Add -mmult-bug and -mno-mult-bug.
9982 (TARGET_MULT_BUG): Define.
9983 (TARGET_DEFAULT): Default to TARGET_MULT_BUG.
9984 * mn10300.md (mulsi3): Handle TARGET_MULT_BUG.
9985
17ad8a3b
JL
9986Fri Oct 24 17:40:34 1997 Jeffrey A Law (law@cygnus.com)
9987
9988 * mn10200.c (indirect_memory_operand): Delete unused function.
9989 * mn10200.h (EXTRA_CONSTRAINT): Handle 'R'.
9990 * mn10200.md (bset, bclr insns): Handle output in a reg too.
9991
e16b49d3
RH
9992Fri Oct 24 15:54:57 1997 Richard Henderson <rth@cygnus.com>
9993
9994 * alpha.md (call patterns): Revert Oct 16 change; if we are to elide
9995 the callee's ldgp, we must do it ourselves, and we use the jsr tag
9996 for more than scheduling.
9997
27f65411
DE
9998Fri Oct 24 13:23:04 1997 Doug Evans <devans@canuck.cygnus.com>
9999
10000 * sparc/sparc.h (ASM_SPEC): Delete asm_arch.
10001
e9ad4573
JL
10002Fri Oct 24 13:19:40 1997 Jeffrey A Law (law@cygnus.com)
10003
10004 * mn10300.c (symbolic_operand, legitimize_address): New functions.
10005 * mn10300.h (LEGITIMIZE_ADDRESS): Call legitimize_address.
10006 (GO_IF_LEGITIMATE_ADDRESS): Don't allow base + symbolic.
10007
66724f0a
JL
10008Thu Oct 23 09:35:12 1997 Jeffrey A Law (law@cygnus.com)
10009
10010 * version.c: Bump for snapshot.
10011
c401498b
R
10012Thu Oct 23 08:03:59 1997 J"orn Rennecke <amylaar@cygnus.co.uk>
10013
10014 * dbxout.c (dbxout_start_new_source_file): Use output_quoted_string
10015 for FILENAME.
10016
b22b9b3e
JL
10017Wed Oct 22 00:34:12 1997 Jeffrey A Law (law@cygnus.com)
10018
56bf1fd9
JL
10019 * toplev.c (flag_exceptions): Default value is 2.
10020 (compile_file): If flag_exceptions still has the value 2, then
10021 set it to 0.
10022
a04232e5
JL
10023 * rs6000.c (struct machine_function): Add pic_offset_table_rtx.
10024 (rs6000_save_machine_status): Save pic_offset_table_rtx.
10025 (rs6000_restore_machine_status: Restore pic_offset_table_rtx.
10026
0bd83abd
JL
10027 * local-alloc.c (block_alloc): Don't lose if two SCRATCH expressions
10028 are shared.
10029
b22b9b3e
JL
10030 * rs6000.md (*movsi_got_internal_mem): New pattern.
10031 (*movsi_got_internal_mem splitter): New define_split.
10032
c1e385db
JW
10033Tue Oct 21 18:14:03 1997 Jim Wilson <wilson@cygnus.com>
10034
10035 * obstack.h (obstack_empty_p): Fix spurious space after backslash.
10036
1a986152
GK
10037Tue Oct 21 18:34:01 1997 Geoffrey KEATING <geoffk@ozemail.com.au>
10038
10039 * rs6000.c: Avoid creating a stack frame under SYSV ABI if we
10040 only need to save LR.
10041
5d29a95f
JL
10042Tue Oct 21 10:06:40 1997 Jeffrey A Law (law@cygnus.com)
10043
c6ee9150
JL
10044 * mn10300.md (movqi, movhi): Avoid using address registers as
10045 destinations unless absolutely necessary.
10046
d5255ba2
JL
10047 * mn10200.c (expand_prologue): Fix typo.
10048
9d2128b8
JL
10049 * mn10200.h (GO_IF_LEGITIMATE_ADDRESS): Do not allow indexed
10050 addresses.
10051 * mn10200.md (neghi2): Provide an alternative which works if
10052 the input and output register are the same.
10053
576e5acc
JL
10054 * mn10300.c (print_operand): Handle 'S'.
10055 * mn10300.md (ashlsi3, lshrsi3, ashrsi3): Use %S for
10056 shift amount in last alternative
10057
5d29a95f
JL
10058 * mn10300.c (expand_epilogue): Rework to handle register restores
10059 in "ret" and "retf" instructions correctly.
10060
3bf1b082
JW
10061Mon Oct 20 16:47:08 1997 Jim Wilson <wilson@cygnus.com>
10062
10063 * expmed.c (extract_bit_field): Don't make flag_force_mem disable
10064 extzv for memory operands.
10065
10066 * cse.c (simplify_ternary_operation, case IF_THEN_ELSE): Collapse
10067 redundant conditional moves to single operand.
10068
ddbd8d36
NC
10069Mon Oct 20 15:30:26 1997 Nick Clifton <nickc@cygnus.com>
10070
10071 * v850.h: Move define of __v850__ from CPP_PREDEFINES
10072 to CPP_SPEC.
b57062ca 10073
ddbd8d36
NC
10074 * xm-v850.h: Use __v850 rather than __v850__ to
10075 identify v850 port.
10076
a944a4eb
JW
10077Mon Oct 20 14:15:02 1997 Jim Wilson <wilson@cygnus.com>
10078
10079 * mips/mips.c (compute_frame_size): Not a leaf function if
10080 profile_flag set.
10081
2d5b6dea
GK
10082Mon Oct 20 14:16:38 1997 Geoffrey KEATING <geoffk@ozemail.com.au>
10083
10084 * rs6000/t-ppccomm: Use -msdata=none for crtstuff.
10085
f0a9fa6c
DE
10086Mon Oct 20 12:28:17 1997 Doug Evans <devans@canuck.cygnus.com>
10087
10088 * sparc/sparc.h (SPARC_V9,SPARC_ARCH64): Delete.
10089 (DEFAULT_ARCH32_P): New macro.
10090 (TARGET_ARCH{32,64}): Allow compile time or runtime selection.
10091 (enum cmodel): Declare.
10092 (sparc_cmodel_string,sparc_cmodel): Declare.
10093 (SPARC_DEFAULT_CMODEL): Provide default.
10094 (TARGET_{MEDLOW,MEDANY}): Renamed to TARGET_CM_{MEDLOW,MEDANY}.
10095 (TARGET_FULLANY): Deleted.
10096 (TARGET_CM_MEDMID): New macro.
10097 (CPP_CPU_DEFAULT_SPEC): Renamed from CPP_DEFAULT_SPEC.
10098 (ASM_CPU_DEFAULT_SPEC): Renamed from ASM_DEFAULT_SPEC.
10099 (CPP_PREDEFINES): Take out stuff now handled by %(cpp_arch).
10100 (CPP_SPEC): Rewrite.
10101 (CPP_ARCH{,32,64,_DEFAULT}_SPEC): New macros.
10102 (CPP_{ENDIAN,SUBTARGET}_SPEC): New macros.
10103 (ASM_ARCH{,32,64,_DEFAULT}_SPEC): New macros.
10104 (ASM_SPEC): Add %(asm_arch).
10105 (EXTRA_SPECS): Rename cpp_default to cpp_cpu_default.
10106 Rename asm_default to asm_cpu_default.
10107 Add cpp_arch32, cpp_arch64, cpp_arch_default, cpp_arch, cpp_endian,
10108 cpp_subtarget, asm_arch32, asm_arch64, asm_arch_default, asm_arch.
10109 (NO_BUILTIN_{PTRDIFF,SIZE}_TYPE): Define ifdef SPARC_BI_ARCH.
10110 ({PTRDIFF,SIZE}_TYPE): Provide 32 and 64 bit values.
10111 (MASK_INT64,MASK_LONG64): Delete.
10112 (MASK_ARCH64): Renamed to MASK_64BIT.
10113 (MASK_{MEDLOW,MEDANY,FULLANY,CODE_MODEL}): Delete.
10114 (EMBMEDANY_BASE_REG): Renamed from MEDANY_BASE_REG.
10115 (TARGET_SWITCHES): Always provide 64 bit options.
10116 (ARCH64_SWITCHES): Delete.
10117 (TARGET_OPTIONS): New option -mcmodel=.
10118 (INT_TYPE_SIZE): Always 32.
10119 (MAX_LONG_TYPE_SIZE): Define ifdef SPARC_BI_ARCH.
10120 (INIT_EXPANDERS): sparc64_init_expanders renamed to sparc_init_....
10121 (FUNCTION_{,BLOCK_}PROFILER): Delete TARGET_EMBMEDANY support.
10122 (PRINT_OPERAND_PUNCT_VALID_P): Add '_'.
10123 * sparc/linux-aout.h (CPP_PREDEFINES): Take out stuff handled by
10124 CPP_SPEC.
10125 (CPP_SUBTARGET_SPEC): Renamed from CPP_SPEC.
10126 * sparc/linux.h: Likewise.
10127 * sparc/linux64.h (SPARC_V9,SPARC_ARCH64): Delete.
10128 (ASM_CPU_DEFAULT_SPEC): Renamed from ASM_DEFAULT_SPEC.
10129 (TARGET_DEFAULT): Delete MASK_LONG64, MASK_MEDANY, add MASK_64BIT.
10130 (SPARC_DEFAULT_CMODEL): Define.
10131 (CPP_PREDEFINES): Take out stuff handled by CPP_SPEC.
10132 (CPP_SUBTARGET_SPEC): Renamed from CPP_SPEC.
10133 (LONG_DOUBLE_TYPE_SIZE): Define.
10134 (ASM_SPEC): Add %(asm_arch).
10135 * sparc/sol2.h (CPP_PREDEFINES): Take out stuff handled by CPP_SPEC.
10136 (CPP_SUBTARGET_SPEC): Renamed from CPP_SPEC.
10137 (TARGET_CPU_DEFAULT): Add ultrasparc case.
10138 * sparc/sp64-aout.h (SPARC_V9,SPARC_ARCH64): Delete.
10139 (TARGET_DEFAULT): MASK_ARCH64 renamed to MASK_64BIT.
10140 (SPARC_DEFAULT_CMODEL): Define.
10141 * sparc/sp64-elf.h (SPARC_V9,SPARC_ARCH64): Delete.
10142 (TARGET_DEFAULT): MASK_ARCH64 renamed to MASK_64BIT. Delete
10143 MASK_LONG64, MASK_MEDANY.
10144 (SPARC_DEFAULT_CMODEL): Define.
10145 (CPP_PREDEFINES): Delete.
10146 (CPP_SUBTARGET_SPEC): Renamed from CPP_SPEC.
10147 (ASM_SPEC): Add %(asm_arch).
10148 (LONG_DOUBLE_TYPE_SIZE): Define.
10149 (DWARF2_DEBUGGING_INFO): Define.
10150 * sparc/splet.h (CPP_SPEC): Delete.
10151 * sparc/sysv4.h (CPP_PREDEFINES): Take out stuff handled by CPP_SPEC.
10152 (FUNCTION_BLOCK_PROFILER): Delete TARGET_EMBMEDANY support.
10153 (BLOCK_PROFILER): Likewise.
10154 * sparc/sparc.c (sparc_cmodel_string,sparc_cmodel): New globals.
10155 (sparc_override_options): Handle code model selection.
10156 (sparc_init_expanders): Renamed from sparc64_init_expanders.
10157 * sparc/sparc.md: TARGET_<code_model> renamed to TARGET_CM_....
10158 TARGET_MEDANY renamed to TARGET_CM_EMBMEDANY.
10159 (sethi_di_embmedany_{data,text}): Renamed from sethi_di_medany_....
10160 (sethi_di_fullany): Delete.
10161
a3b0df2d
KK
10162Mon Oct 20 02:00:18 1997 Klaus Kaempf <kkaempf@progis.de>
10163 Jeff Law <law@cygnus.com>
10164 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
10165
3a133c72
KK
10166 * alpha/vms.h (DIVSI3_LIBCALL): OTS$ functions are upper case.
10167 (DIVDI3_LIBCALL, UDIVSI3_LIBCALL, UDIVDI3_LIBVALL): Likewise.
10168 (MODSI3_LIBCALL, MODDI3_LIBCALL): Likewise.
10169 (UMODSI3_LIBCALL, UMODDI3_LIBCALL): Likewise.
10170 * alpha/alpha.md (arg_home): Likewise.
10171
a3b0df2d
KK
10172 * alpha/alpha.c (vmskrunch): Delete
10173 * alpha/vms.h (ENCODE_SECTION_INFO, ASM_DECLARE_FUNCTION_NAME): Delete.
10174 * alpha.c (output_prolog, VMS): Use alloca for entry_label and don't
10175 truncate to 64 characters.
10176
10177 * make-l2.com: Support openVMS/Alpha.
10178
10179 * vmsconfig.com: Fix to work on openVMS/Alpha and openVMS/VAX.
10180
7d4f2e6c
R
10181Sun Oct 19 19:00:35 1997 J"orn Rennecke <amylaar@cygnus.co.uk>
10182
10183 * longlong.h (count_leading_zeros): Add missing casts to USItype.
10184
decd44ac
JL
10185Sun Oct 19 18:44:06 1997 Jeffrey A Law (law@cygnus.com)
10186
10187 * i386/bsd386.h (ASM_COMMENT_START): Define.
10188
d1485032
JM
10189Sat Oct 18 13:47:15 1997 Jason Merrill <jason@yorick.cygnus.com>
10190
10191 * tree.c (restore_tree_status): Also free up temporary storage
10192 when we finish a toplevel function.
10193 (dump_tree_statistics): Print stats for backend obstacks.
10194
6bd35f86
DE
10195Sat Oct 18 12:47:31 1997 Doug Evans <dje@canuck.cygnus.com>
10196
10197 * expr.c (use_group_regs): Don't call use_reg for MEMs.
10198
d1485032
JM
10199Sat Oct 18 09:49:46 1997 Jason Merrill <jason@yorick.cygnus.com>
10200
10201 * libgcc2.c (__throw): Don't copy the return address.
10202 * dwarf2out.c (expand_builtin_dwarf_reg_size): Ignore return address.
10203
10204 * except.c (exceptions_via_longjmp): Initialize to 2 (uninitialized).
10205 * toplev.c (main): Initialize exceptions_via_longjmp.
10206
10207 * tree.c: Add extra_inline_obstacks.
10208 (save_tree_status): Use it.
10209 (restore_tree_status): If this is a toplevel inline obstack and we
10210 didn't want to save anything on it, recycle it.
10211 (print_inline_obstack_statistics): New fn.
b57062ca 10212 * function.c (pop_function_context_from): Pass context to
d1485032
JM
10213 restore_tree_status.
10214 * obstack.h (obstack_empty_p): New macro.
10215
6981eacf
JL
10216Sat Oct 18 00:43:59 1997 Jeffrey A Law (law@cygnus.com)
10217
10218 * i386/freebsd.h (ASM_COMMENT_START): Fix.
10219
1933ec7e
JW
10220Fri Oct 17 23:48:52 1997 Jim Wilson (wilson@cygnus.com)
10221
10222 * v850.c (ep_memory_offset): New function.
10223 (ep_memory_operand, substitute_ep_register, v850_reorg): Call it.
10224
10225 * v850.h (CONST_OK_FOR_*): Add and correct comments.
10226 (CONSTANT_ADDRESS_P): Add comment.
10227 (EXTRA_CONSTRAINT): Define 'U'.
10228 * v850.md: Add comments on bit field instructions.
10229 (addsi3): Delete &r/r/r alternative. Add r/r/U alternative.
b57062ca 10230 (lshrsi3): Use N not J constraint.
1933ec7e
JW
10231
10232 * v850.md (v850_tst1+1): New define_split for tst1 instruction.
10233
10234 * v850.c (reg_or_0_operand): Call register_operand.
10235 (reg_or_int5_operand): Likewise.
10236 * v850.h (MASK_BIG_SWITCH, TARGET_BIG_SWITCH): New macros.
10237 (TARGET_SWITCHES): Add "big-switch".
10238 (ASM_OUTPUT_ADDR_VEC_ELT, ASM_OUTPUT_ADDR_DIFF_ELT, CASE_VECTOR_MODE,
10239 ASM_OUTPUT_BEFORE_BASE_LABEL): Add support for TARGET_BIG_SWITCH.
10240 (CASE_DROPS_THROUGH): Comment out.
10241 (CASE_VECTOR_PC_RELATIVE, JUMP_TABLES_IN_TEXT_SECTION): Define.
10242 * v850.md (cmpsi): Delete compare mode.
10243 (casesi): New pattern.
10244
10245 * v850.h (CONST_OK_FOR_N): Delete redundant compare against zero.
10246 * v850.md (ashlsi3): Use SImode not QImode for shift count.
10247 (lshrsi3): Likewise.
10248
10249 * v850.c (print_operand): Add 'c', 'C', and 'z' support. Delete
10250 unreachable switch statement after 'b' support. Remove "b" from
10251 strings for 'b' support.
10252 * v850.md (branch_normal, branch_invert): Change %b to b%b.
10253
13c2de98
JL
10254Fri Oct 17 23:33:20 1997 Jeffrey A Law (law@cygnus.com)
10255
10256 * Makefile.in (LIBGCC2_CFLAGS): Avoid a backslash then an
10257 empty line if @inhibit_libc@ is empty.
10258
b2167bee
RL
10259Fri Oct 17 23:24:40 1997 Robert Lipe (robertl@dgii.com)
10260
10261 * i386/sco5.h: Let ELF use dwarf2 unwinding. COFF uses sjlj.
10262 (EH_FRAME_SECTION_ASM_OP, EH_FRAME_SECTION_ASM_OP_ELF): Defined.
10263 (EH_FRAME_SECTION_ASM_OP_COFF): Likewise.
10264 (DWARF2_UNWIND_INFO): Let this track object file format.
10265 (EXTRA_SECTIONS): Add in_eh.
10266 (EH_FRAME_SECTION_ASM_OP, EH_FRAME_SECTION_ASM_OP_ELF): Define.
10267 (EH_FRAME_SECTION_ASM_OP_COFF): Likewise.
10268
bf2a2c6b
DM
10269Fri Oct 17 17:13:42 1997 David S. Miller <davem@tanya.rutgers.edu>
10270
10271 * sparc/linux64.h (LINK_SPEC): Dynamic linker is ld-linux64.so.2.
da2a90f7
DM
10272 * sparc/sparc.h (FUNCTION_PROFILER): Fix format string when
10273 TARGET_MEDANY.
f4f8e370
DE
10274 * sparc/sparc.c (dwarf2out_cfi_label): Extern no longer needed.
10275 (output_double_int): Output DI mode values correctly when
10276 HOST_BITS_PER_WIDE_INT is 64.
9d162eb2
DE
10277 (output_fp_move_quad): If TARGET_V9 and not TARGET_HARD_QUAD, use
10278 fmovd so it works if a quad float ends up in one of the upper 32
10279 float regs.
7e37212e
DM
10280 * sparc/sparc.md (pic_{lo_sum,sethi}_di): New patterns
10281 necessary for PIC support on sparc64.
bf2a2c6b 10282
9ff84e67
DE
10283Fri Oct 17 13:39:56 1997 Doug Evans <dje@canuck.cygnus.com>
10284
10285 * sparc/sp64-elf.h (TARGET_DEFAULT): Delete MASK_STACK_BIAS.
10286 * sparc/sparc.h (PROMOTE_MODE): Promote small ints if arch64.
10287 (PROMOTE_FUNCTION_ARGS,PROMOTE_FUNCTION_RETURN): Define.
10288 (SPARC_FIRST_FP_REG, SPARC_FP_REG_P): New macros.
10289 (SPARC_{OUTGOING,INCOMING}_INT_ARG_FIRST): New macros.
10290 (SPARC_FP_ARG_FIRST): New macro.
10291 (CONDITIONAL_REGISTER_USAGE): All v9 fp regs are volatile now.
10292 (REG_ALLOC_ORDER,REG_LEAF_ALLOC_ORDER): Reorganize fp regs.
10293 (NPARM_REGS): There are 32 fp argument registers now.
10294 (FUNCTION_ARG_REGNO_P): Likewise.
10295 (FIRST_PARM_OFFSET): Update to new v9 abi.
10296 (REG_PARM_STACK_SPACE): Define for arch64.
10297 (enum sparc_arg_class): Delete.
10298 (sparc_arg_count,sparc_n_named_args): Delete.
10299 (struct sparc_args): Redefine and use for arch32 as well as arch64.
10300 (GET_SPARC_ARG_CLASS,ROUND_REG,ROUND_ADVANCE): Delete.
10301 (FUNCTION_ARG_ADVANCE): Rewrite.
10302 (FUNCTION_ARG,FUNCTION_INCOMING_ARG): Rewrite.
10303 (FUNCTION_ARG_{PARTIAL_NREGS,PASS_BY_REFERENCE}): Rewrite.
10304 (FUNCTION_ARG_CALLEE_COPIES): Delete.
10305 (FUNCTION_ARG_{PADDING,BOUNDARY}): Define.
10306 (STRICT_ARGUMENT_NAMING): Define.
10307 (doublemove_string): Declare.
10308 * sparc/sparc.c (sparc_arg_count,sparc_n_named_args): Delete.
10309 (single_move_string): Use GEN_INT, and HOST_WIDE_INT.
10310 (doublemove_string): New function.
10311 (output_move_quad): Clean up some of the arch64 support.
10312 (compute_frame_size): Add REG_PARM_STACK_SPACE if arch64.
10313 Don't add 8 bytes of reserved space if arch64.
10314 (sparc_builtin_saveregs): Combine arch32/arch64 versions.
10315 (init_cumulative_args): New function.
10316 (function_arg_slotno): New static function.
10317 (function_arg,function_arg_partial_nregs): New functions.
10318 (function_arg_{pass_by_reference,advance}): New functions.
10319 (function_arg_padding): New function.
c1215820 10320 * ginclude/va-sparc.h: Rewrite v9 support.
9ff84e67 10321
b8fb2d72
CI
10322Fri Oct 17 12:29:48 1997 Christian Iseli <Christian.Iseli@lslsun.epfl.ch>
10323
f22376c7
CI
10324 * regclass.c (record_address_regs): Look at REG_OK_FOR_{BASE,INDEX}_P
10325 for hard regs to determine base and index registers.
10326
b8fb2d72
CI
10327 * reload.c (debug_reload_to_stream): New function. Specify stream
10328 into which to write debug info.
10329 (debug_reload): Modify to call debug_reload_to_stream with stderr.
10330
b79ee7eb
RH
10331Thu Oct 16 15:07:51 1997 Richard Henderson <rth@cygnus.com>
10332
10333 * combine.c (can_combine_p): Don't combine with an asm whose
10334 output is a hard register.
10335
5c19a356
MS
10336Thu Oct 16 15:43:26 1997 Mike Stump (mrs@wrs.com)
10337
10338 * c-decl.c (start_struct): Ensure that structs with forward
10339 declarations are in fact packed when -fpack-struct is given.
10340
10341 * stor-layout.c (layout_record): Ignore STRUCTURE_SIZE_BOUNDARY if
10342 we are packing a structure. This allows a structure with only
10343 bytes to be aligned on a byte boundary and have no padding on a
10344 m68k.
10345
02bef6da
RK
10346Thu Oct 16 15:17:54 1997 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
10347
10348 * rs6000.h (ROUND_TYPE_ALIGN): Don't blow up if no fields in record.
10349
9ecc37f0
RH
10350Thu Oct 16 11:20:30 1997 Richard Henderson <rth@cygnus.com>
10351
10352 * alpha.c (alpha_return_addr_rtx): New variable.
10353 (alpha_save_machine_status): New; save it.
10354 (alpha_restore_machine_status): New; restore it.
10355 (alpha_init_expanders): New; clear it.
10356 (alpha_return_addr): New; set it.
10357 (alpha_ra_ever_killed): New; if alpha_return_addr_rtx, regs_ever_live
10358 is overly conservative, so search the insns explicitly.
10359 (alpha_sa_mask [VMS]): Check alpha_ra_ever_killed.
10360 (alpha_sa_size [VMS && !VMS]): Likewise.
10361 * alpha.h (RETURN_ADDR_RTX): Call alpha_return_addr.
10362 (INIT_EXPANDERS): New definition.
b57062ca 10363
9ecc37f0
RH
10364 * alpha.c: Move REG_PV, REG_RA somewhere more visible in the file.
10365 (output_prolog [!VMS]): Use them.
10366
10367 * alpha.c (output_prolog [!VMS]): Move gp detection to ...
b57062ca 10368 (alpha_does_function_need_gp): ... a new function. Refine the
9ecc37f0
RH
10369 CALL_INSN test to just TYPE_JSR.
10370 * alpha.md (most call insns): Fix some jsr/ibr type transpositions.
10371
bda2ffef
JL
10372Thu Oct 16 09:36:47 1997 Jeffrey A Law (law@cygnus.com)
10373
10374 * version.c: Bump for snapshot.
10375
96b63cd7
RK
10376Wed Oct 15 21:38:18 1997 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
10377
10378 * pa.c (move_operand): Respect -mdisable-indexing.
10379 * pa.h (GO_IF_LEGITIMATE_ADDRESS): Likewise.
10380
f192bf8b
DE
10381Wed Oct 15 21:34:45 1997 David Edelsohn <edelsohn@mhpcc.edu>
10382
10383 * rs6000.md (udivsi3, divsi3): Split into MQ and non-MQ cases for
10384 PPC601.
10385 (umulsidi3,umulsi3_highpart): Ditto.
10386 (smulsi3_highpart_no_mq): Add !TARGET_POWER.
10387
2ea844d3
RH
10388Wed Oct 15 18:21:46 1997 Richard Henderson <rth@cygnus.com>
10389
10390 * alpha.c (final_prescan_insn): Gut, remove and transform to ...
10391 (alpha_handle_trap_shadows): ... a new function. Handle the entire
10392 function in one go. Emit RTL for trapb, instead of printf directly.
10393 (alpha_reorg): New function. Call alpha_handle_trap_shadows.
10394 (trap_pending): Kill global variable.
10395 (output_epilog): Don't call final_prescan_insn.
10396 (struct shadow_summary): Elide $31 and $f31; now it fits in a word.
10397 * alpha.h (FINAL_PRESCAN_INSN): Remove.
10398 (MACHINE_DEPENENT_REORG): Define.
10399 * alpha.md (jsr patterns with trapb): Stupid and useless. Kill.
10400 (trapb): New insn.
10401
74835ed8
RH
10402Wed Oct 15 18:16:05 1997 Richard Henderson <rth@cygnus.com>
10403
10404 Tune Haifa scheduler for Alpha:
10405 * alpha.h (ISSUE_RATE): Define.
10406 * alpha.c (alpha_adjust_cost): Handle EV5 mult delay; don't apply
10407 EV4 adjustments to EV5.
10408 * alpha.md: Remove all scaling from function unit delays. Rework
10409 EV5 function units to match the CPU.
10410 (umuldi3_highpart): EV5 added the IMULH insn class.
10411
cdc0de30
JL
10412Wed Oct 15 17:42:41 1997 Jeffrey A Law (law@cygnus.com)
10413
10414 * pa.c (following_call): Fail if the CALL_INSN is an indirect
10415 call.
10416
041c97f2
MM
10417Tue Oct 14 12:01:00 1997 Mark Mitchell <mmitchell@usa.net>
10418
10419 * cplus-dem.c (demangle_signature): Don't look for return types on
10420 constructors. Handle member template constructors.
10421
f0632762
JM
10422Tue Oct 14 11:30:29 1997 Jason Merrill <jason@yorick.cygnus.com>
10423
10424 * tree.c (expr_tree_cons, build_expr_list, expralloc): New fns.
22ef8a13 10425 * tree.h: Declare them.
f0632762 10426
dec88383
DE
10427Fri Oct 10 13:46:56 1997 Doug Evans <dje@canuck.cygnus.com>
10428
10429 * configure.in: Handle --with-newlib.
10430 * Makefile.in (LIBGCC2_CFLAGS): Add @inhibit_libc@.
10431
10432 * sparc/t-sp64 (LIBGCC2_CFLAGS): Delete.
10433
0e1f3f5e
JL
10434Wed Oct 8 14:37:44 1997 Jeffrey A Law (law@cygnus.com)
10435
10436 * config/ptx4.h: Fix typo.
10437
12504ae0
JL
10438Wed Oct 8 08:57:20 1997 Jeffrey A Law (law@cygnus.com)
10439
10440 * version.c: Bump for snapshot.
10441
5643c767
MH
10442Tue Oct 7 16:27:34 1997 Manfred Hollstein <manfred@s-direktnet.de>
10443
10444 * aclocal.m4: Substitute INSTALL.
10445 * configure: Re-built.
10446
aa0c1401
JL
10447Tue Oct 7 15:37:35 1997 Jeffrey A Law (law@cygnus.com)
10448
f644bd14
JL
10449 * integrate.c (save_for_inline_copying): Avoid undefined pointer
10450 operations.
10451 (expand_inline_function): Likewise.
10452
aa0c1401
JL
10453 * dwarf2out.c (output_call_frame_info): Reinstate last change
10454 using flag_debug_asm check instead of flag_verbose_asm.
10455
6c2df6c9
JW
10456Tue Oct 7 12:57:26 1997 Jim Wilson <wilson@cygnus.com>
10457
10458 * dwarf2out.c (output_call_frame_info): Remove last change.
10459
13ab2b83
AS
104601997-10-04 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
10461
10462 * frame.c (__frame_state_for): Execute the FDE insns until the
10463 current pc value is strictly bigger than the target pc value.
10464
066c2fea
JM
10465Tue Oct 7 11:00:42 1997 Jason Merrill <jason@yorick.cygnus.com>
10466
b57062ca 10467 * regclass.c (init_reg_modes): If we can't find a mode for the
066c2fea
JM
10468 register, use the previous one.
10469
2f308fec
RH
10470Tue Oct 7 10:55:34 1997 Richard Henderson <rth@cygnus.com>
10471
10472 * haifa-sched.c (print_block_visualization): Call fprintf directly,
10473 don't sprintf through an alloca'ed buffer.
10474
43984e29
TK
10475Tue Oct 7 10:52:29 1997 Thomas Koenig (ig25@rz.uni-karlsruhe.de)
10476
10477 * reload.c (decompose): Always initialize val.base.
10478
e9e30253
MH
10479Tue Oct 7 10:19:26 1997 Manfred Hollstein (manfred@lts.sel.alcatel.de)
10480
10481 * m68k/mot3300.h (ASM_OUTPUT_ALIGN): Accept any alignment
10482 instead of aborting.
10483 * dwarf2out.c (output_call_frame_info): Call app_enable and
10484 app_disable to let GNU as accept the generated comments.
10485
496651db
MM
10486Tue Oct 7 11:41:21 1997 Michael Meissner <meissner@cygnus.com>
10487
10488 * tree.h (get_file_function_name): Add declaration.
10489 * dwarf2out.c (output_call_frame_info): No need to cast
10490 get_file_function_name call anymore.
10491 * profile.c (toplevel): Remove get_file_function_name
10492 declaration.
10493 * c-lang.c (finish_file): Ditto.
10494
e6347456
CS
10495Tue Oct 7 10:01:45 1997 Chip Salzenberg <chip@rio.atlantic.net>
10496
10497 * Makefile.in (program_transform_name): Let autoconf substitute
10498 the correct value.
10499
1447b516
JL
10500Tue Oct 7 09:54:35 1997 Jeffrey A Law (law@cygnus.com)
10501
10502 * haifa-sched.c (schedule_block): If the first real insn in a
10503 block has any special notes attached to it, remove them.
10504
1a42ead7
RH
10505Tue Oct 7 09:48:51 1997 Richard Henderson <rth@cygnus.com>
10506
10507 * alpha.h (FLOAT_STORE_FLAG_VALUE): It's 2.0 not 0.5.
10508
4b6140f1
MH
10509Mon Oct 6 12:47:32 1997 Manfred Hollstein (manfred@lts.sel.alcatel.de)
10510
10511 * m88k.c (m88k_begin_prologue): Remove superfluous backslash.
10512
dc84d7bc
JL
10513Mon Oct 6 12:04:24 1997 Jeffrey A Law (law@cygnus.com)
10514
10515 * Makefile.in (check-g77): New test target.
10516 (CHECK-TARGETS): Add check-g77.
10517
c0da11c4
JM
10518Fri Oct 3 11:56:36 1997 Jason Merrill <jason@yorick.cygnus.com>
10519
10520 * toplev.c (rest_of_compilation): Defer all non-nested inlines.
10521
d8d64559
MM
10522Fri Oct 3 15:49:27 1997 Michael Meissner <meissner@cygnus.com>
10523
10524 * flow.c (print_rtl_with_bb): Cast alloca return value for
10525 in_bb_p.
10526
e414ab29
RH
10527Thu Oct 2 21:15:03 1997 Richard Henderson <rth@cygnus.com>
10528
b57062ca 10529 * i386.h (RETURN_ADDR_RTX): New definition that works for
e414ab29
RH
10530 __builtin_return_address(0) and -fomit-frame-pointer.
10531
15039abe
JW
10532Wed Oct 1 13:43:53 1997 Jim Wilson <wilson@cygnus.com>
10533
10534 Bring over from FSF.
10535 Tue Aug 5 16:10:45 1997 Jason Merrill <jason@yorick.cygnus.com>
10536
b57062ca 10537 * mips.c (function_arg): Handle passing a struct
15039abe
JW
10538 containing a double in a DFmode register without the PARALLEL.
10539
281de624
ILT
10540Wed Oct 1 11:13:25 1997 Ian Lance Taylor <ian@cygnus.com>
10541
d8d64559 10542 * pexecute.c: Use spawn if __CYGWIN32__.
281de624 10543
d8d64559 10544 * pexecute.c: Include "config.h" first, as per autoconf manual
281de624
ILT
10545 (from Paul Eggert <eggert@twinsun.com>).
10546
3cbdd5fc
PDM
10547Wed Oct 1 01:44:36 1997 Philippe De Muyter <phdm@info.ucl.ac.be>
10548
10549 * m68k/x-mot3300 (XCFLAGS): Disable as's long/short jump
10550 optimisation for f/expr.o and f/stb.o.
10551
135d84b8
JL
10552Tue Sep 30 23:48:57 1997 Jeffrey A Law (law@cygnus.com)
10553
10554 * cse.c (this_insn_cc0_mode): Initialize.
10555
55d89719
TK
10556Tue Sep 30 23:09:40 1997 Thomas Koenig <ig25@mvmap66.ciw.uni-karlsruhe.de>
10557
d3878e49
TK
10558 * cccp.c (expand_to_temp_buffer): Initialize all members of obuf.
10559
10560 * haifa-sched.c (get_block_head_tail): Remove unneeded initialization.
55d89719 10561
e9d0757e
RH
10562Tue Sep 30 23:06:43 1997 Richard Henderson <rth@cygnus.com>
10563
10564 * alpha.md (beq): For registers and ints 0-255, use cmpeq+bne, since
10565 that pair will dual-issue on the 21164 and plus+beq won't.
10566 (bne): Likewise for cmpeq+beq.
10567
3f34faec
JW
10568Tue Sep 30 16:07:58 1997 Jim Wilson <wilson@cygnus.com>
10569
10570 * except.c (find_exception_handler_labels): Correct argument to free.
10571
3226dac5 10572Tue Sep 30 11:00:00 1997 Brendan Kehoe <brendan@lisa.cygnus.com>
988cea7d
BK
10573
10574 * except.c (find_exception_handler_labels): Free LABELS when we're
10575 done.
10576
3a6eabfa
JL
10577Mon Sep 29 14:04:35 1997 Jeffrey A Law (law@cygnus.com)
10578
10579 * version.c: Bump for snapshot.
10580
974c50f9
JM
10581Mon Sep 29 10:51:53 1997 Jason Merrill <jason@yorick.cygnus.com>
10582
10583 * flow.c (find_basic_blocks): Mark calls as potentially jumping
10584 to the EH labels.
10585
9b16d2c4
JL
10586Mon Sep 29 09:58:06 1997 Jeffrey A Law (law@cygnus.com)
10587
10588 * configure.in: Substitute for "install" too.
10589 * configure: Rebuilt.
10590
b1e3ddfd
AJ
10591Mon Sep 29 00:38:42 1997 Aaron Jackson <jackson@negril.msrce.howard.edu>
10592
10593 * Makefile.in (bootstrap-lean, compare-lean): New targets.
10594
6662a38d
RH
10595Mon Sep 29 00:18:16 1997 Richard Henderson (rth@cygnus.com)
10596
c02f035f
RH
10597 * alias.c (base_alias_check): Two symbols can conflict if they
10598 are accessed via AND.
10599 (memrefs_conflict_p): Likewise.
10600
7a14fdc5
RH
10601 * alpha.h (SETUP_INCOMING_VARARGS): Emit a blockage insn
10602 after flushing argument registers to the stack.
10603
6662a38d
RH
10604 * Makefile.in (mostlyclean): Remove .regmove files.
10605
f3447109
JM
10606Sun Sep 28 18:59:58 1997 Jason Merrill <jason@yorick.cygnus.com>
10607
10608 * libgcc2.c (__throw): Fix thinko.
10609
37f6b6bf
MM
10610Sun Sep 28 12:00:52 1997 Mark Mitchell <mmitchell@usa.net>
10611
10612 * cplus-dem.c (demangle_template): Add new parameter. Handle new
10613 template-function mangling.
10614 (consume_count_with_underscores): New function.
10615 (demangle_signature): Handle new name-mangling scheme.
10616
adfc539e
PDM
10617Sun Sep 28 01:55:04 1997 Philippe De Muyter <phdm@info.ucl.ac.be>
10618
10619 * flow.c (print_rtl_with_bb): Cast alloca return values for variables
10620 start and end.
10621
92cbe4d2
JL
10622Sun Sep 28 01:05:16 1997 Jeffrey A Law (law@cygnus.com)
10623
10624 * frame.c: Remove last change.
10625 * dwarf2.h: Remove last change.
10626 * tree.h: Add declarations of DWARF2 unwind info support
10627 functions.
10628
2f3ca9e7
JM
10629Sat Sep 27 11:02:38 1997 Jason Merrill <jason@yorick.cygnus.com>
10630
10631 * c-decl.c (init_decl_processing): Add __builtin_dwarf_reg_size.
10632 * tree.h (built_in_function): Likewise.
10633 * expr.c (expand_builtin): Likewise.
10634 * except.h: Likewise.
10635 * dwarf2out.c (expand_builtin_dwarf_reg_size): New fn.
10636 * libgcc2.c (copy_reg): New fn.
10637 (__throw): Use it.
10638
407cb092
PE
10639Fri Sep 26 08:54:59 1997 Paul Eggert <eggert@twinsun.com>
10640
10641 * c-typeck.c (build_binary_op): Warn about comparing signed vs
10642 unsigned if -W is specified and -Wno-sign-compare is not.
10643 * c-decl.c (warn_sign_compare): Initialize to -1.
10644 (c_decode_option): -Wall no longer implies -Wsign-compare.
10645
3ba10494
AS
10646Fri Sep 26 09:00:13 1997 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
10647
a7cc7f29
AS
10648 * frame.c: Include gansidecl.h for PROTO.
10649 * dwarf2out.c: Move inclusion of dwarf2.h down so that PROTO is
10650 defined. Don't declare dwarf2out_cfi_label here.
10651 * dwarf2.h: Add declarations of DWARF2 unwind info support
10652 functions.
10653 * m68k.c: Include dwarf2.h.
10654 (output_function_prologue): Add dwarf2 support.
10655 * m68k.h (INCOMING_RETURN_ADDR_RTX, DWARF_FRAME_REGNUM): New macros.
10656 (INCOMING_FRAME_SP_OFFSET): Likewise.
10657
3ba10494
AS
10658 * integrate.c (expand_inline_function): Make sure there is at
10659 least one insn that can be used as an insertion point.
10660
c5cec899
JM
10661Wed Sep 24 21:34:06 1997 Jason Merrill <jason@yorick.cygnus.com>
10662
10663 * dwarf2out.c: s/flag_verbose_asm/flag_debug_asm/
10664
e166cb18
JL
10665Wed Sep 24 22:05:30 1997 Jeffrey A Law (law@cygnus.com)
10666
10667 * version.c: Bump for snapshot.
10668
01a94cba
DE
10669Wed Sep 24 17:36:23 1997 Doug Evans <dje@canuck.cygnus.com>
10670
10671 Bring over from FSF.
10672
10673 Wed Sep 24 19:17:08 1997 Doug Evans <dje@cygnus.com>
10674
10675 * sparc/sparc.md (get_pc_via_call): Renamed from get_pc_sp32.
10676 (get_pc_via_rdpc): Renamed from get_pc_sp64.
10677 * sparc/sparc.c (finalize_pic): Update call to gen_get_pc_via_call.
10678
10679 Wed Sep 24 18:38:22 1997 David S. Miller <davem@tanya.rutgers.edu>
10680
10681 * sparc/sparc.h (ASM_CPU_SPEC): Pass -Av9a for v8plus, ultrasparc.
10682 (TARGET_OPTIONS): Add -malign-loops=, -malign-jumps=,
10683 -malign-functions=.
10684 (sparc_align_{loops,jumps,funcs}_string): Declare.
10685 (sparc_align_{loops,jumps,funcs}): Declare.
10686 (DEFAULT_SPARC_ALIGN_FUNCS): New macro.
10687 (FUNCTION_BOUNDARY): Use sparc_align_funcs.
10688 (STACK_BIAS): Define.
10689 (SPARC_SIMM*_P): Cast to unsigned HOST_WIDE_INT first, then perform
10690 test.
10691 (SPARC_SETHI_P): New macro.
10692 (CONST_OK_FOR_LETTER_P): Use it.
10693 (ASM_OUTPUT_ALIGN_CODE): Define.
10694 (ASM_OUTPUT_LOOP_ALIGN): Define.
10695 * sparc/sparc.c (sparc_align_{loops,jumps,funcs}_string): New globals.
10696 (sparc_align_{loops,jumps,funcs}): New globals.
10697 (sparc_override_options): Handle -malign-loops=, -malign-jumps=,
10698 -malign-functions=.
10699 (move_operand): Use SPARC_SETHI_P.
10700 (arith_double_operand): Cast to unsigned HOST_WIDE_INT first, then
10701 perform test.
10702 (arith11_double_operand): Likewise.
10703 (arith10_double_operand): Likewise.
10704 (finalize_pic): Finish sparc64 support.
10705 (emit_move_sequence): Use SPARC_SETHI_P. Simplify low part of
10706 64 bit constants if able.
10707 (output_fp_move_quad): Don't use fmovq unless TARGET_HARD_QUAD.
10708 (sparc_builtin_saveregs, sparc64 case): Don't save fp regs if
10709 ! TARGET_FPU.
10710 * sparc/sparc.md (*): Use GEN_INT instead of gen_rtx.
10711 (get_pc_sp32): Use for sparc64 as well.
10712 (lo_sum_di_sp{32,64}): Fix handling on 64 bit hosts.
10713 (sethi_di_sp64_const): Likewise.
10714 (movtf_cc_sp64): Check TARGET_HARD_QUAD.
10715 (cmp_zero_extract_sp64): Use unsigned HOST_WIDE_INT in cast.
10716 (ashlsi3, ashldi3, ashrsi3, ashrdi3, lshrsi3, lshrdi3): Likewise.
10717
10718 Tue Sep 23 19:02:46 1997 Doug Evans <dje@cygnus.com>
10719
10720 * sparc/linux-aout.h (COMMENT_BEGIN): Delete.
10721 * sparc/linux.h (COMMENT_BEGIN): Likewise.
10722 * sparc/linux64.h (COMMENT_BEGIN): Likewise.
10723
10724 Tue Sep 23 14:48:18 1997 David S. Miller <davem@tanya.rutgers.edu>
10725
10726 Add sparc64 linux support.
10727 * configure.in (sparc64-*-linux*): Recognize. Add sparc/xm-sparc.h
10728 to xm_file list on 32-bit sparc-linux.
10729 * sparc/xm-sp64.h: New file.
10730 * sparc/linux64.h: New file.
10731 * sparc/xm-linux.h: Include some standard headers if not inhibit_libc.
10732 Don't include xm-sparc.h.
10733 * config/xm-linux.h (HAVE_PUTENV, HAVE_ATEXIT): Define.
10734 * glimits.h (LONG_MAX): Handle sparc64.
10735
10736 Sat Sep 20 03:07:54 1997 Doug Evans <dje@cygnus.com>
10737
10738 * sparc/sysv4.h (ASM_COMMENT_START): Delete.
10739 * sparc.h (ASM_COMMENT_START): Define.
10740 * sparc.c (output_function_prologue): Use it.
10741 (sparc_flat_output_function_{epi,pro}logue): Likewise.
10742
10743 Wed Sep 17 15:04:19 1997 Doug Evans <dje@cygnus.com>
10744
10745 * sparc/sysv4.h (ASM_OUTPUT_{FLOAT,DOUBLE,LONG_DOUBLE}): Delete,
10746 use sparc.h's copies.
10747 * sparc/sparc.h (ASM_OUTPUT_{FLOAT,DOUBLE,LONG_DOUBLE}): Print
10748 ascii form as well.
10749
10750 Mon Sep 8 08:45:19 1997 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
10751
10752 * sparc.c (dwarf2out_cfi_label): Add declaration.
10753 (save_regs, output_function_prologue): Remove cast for it.
10754 (sparc_flat_{save_restore,output_function_prologue): Likewise.
10755 ({save,restore}_regs): No longer inline.
10756
ce2157a1
JL
10757Tue Sep 23 12:34:51 1997 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
10758
10759 * fold-const.c (make_range): Correctly handle cases of converting
10760 from unsigned to signed type.
10761
10762Tue Sep 23 12:34:51 1997 Bernd Schmidt <crux@pool.informatik.rwth-aachen.de>
10763
10764 * fold-const.c (merge_ranges): Make sure that if one range is subset
10765 of another, it will always be the second range. Correct (+,-) case to
10766 account for this.
10767
c5cec899
JM
10768Tue Sep 23 08:32:51 1997 Jason Merrill <jason@yorick.cygnus.com>
10769
10770 * final.c (final_end_function): Also do dwarf2 thing if
10771 DWARF2_DEBUGGING_INFO.
10772 (final_start_function): Likewise.
10773
c107334d
DM
10774Tue Sep 23 01:15:50 1997 David S. Miller <davem@tanya.rutgers.edu>
10775
e13a25d5
DM
10776 * expmed.c (expand_divmod): If compute_mode is not the same as
10777 mode, handle the case where convert_modes() causes op1 to no
10778 longer be a CONST_INT.
10779
c107334d
DM
10780 * reorg.c (dbr_schedule): At end of this pass, add REG_BR_PRED
10781 note holding get_jump_flags() calculation to all JUMP_INSNs.
10782 * rtl.h (enum reg_note): New note types REG_BR_PRED and REG_SAVE_AREA.
10783 * rtl.c (reg_note_name): Add new note types.
10784
8d7532d9
JL
10785Tue Sep 23 00:59:54 1997 Jeffrey A Law (law@cygnus.com)
10786
0774afd7 10787 * rtlanal.c (computed_jump_p): Fix typo in last change.
8d7532d9 10788
7019d00e
L
10789Tue Sep 23 00:42:44 1997 H.J. Lu (hjl@gnu.ai.mit.edu)
10790
10791 * loop.c (indirect_jump_in_function_p): Return 0
10792 by default.
10793
b9dfb357
JL
10794Tue Sep 23 00:33:55 1997 Jeffrey A Law (law@cygnus.com)
10795
10796 * rs6000/xm-rs6000.h: Fix thinko in last change.
10797 * rs6000/xm-sysv4.h: Likewise.
10798
4b7e467b
JW
10799Mon Sep 22 19:33:53 1997 Jim Wilson <wilson@cygnus.com>
10800
10801 * mips.c (save_restore_insns): Only set RTX_FRAME_RELATED_P if store_p.
10802
8c8e6faa
JL
10803Mon Sep 22 14:41:00 1997 Jeffrey A Law (law@cygnus.com)
10804
10805 * reg-stack.c (find_blocks): Fix thinko in last change.
10806
078e983e
AS
108071997-09-21 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
10808
10809 * m68k.c (output_function_prologue): Add dwarf2 support.
10810
10811 * m68k.h (INCOMING_RETURN_ADDR_RTX, DWARF_FRAME_REGNUM,
10812 INCOMING_FRAME_SP_OFFSET): New definitions.
b57062ca 10813
d7027667
DM
10814Mon Sep 22 11:36:42 1997 David S. Miller <davem@tanya.rutgers.edu>
10815
9524f769
DM
10816 * combine.c (try_combine): Use NULL_RTX instead of '0' where
10817 appropriate in calls to gen_rtx().
10818 * cse.c (cse_main): Likewise.
10819 * emit-rtl.c (gen_label_rtx): Likewise.
10820 * expr.c (init_expr_once): Likewise.
10821 * haifa-sched.c (flush_pending_lists, sched_analyze_insn,
10822 sched_analyze, init_rgn_data_dependences,
10823 compute_block_backward_dependences): Likewise.
10824 * sched.c (schedule_insns): Likewise.
10825 * varasm.c (immed_double_const): Likewise.
10826
d7027667
DM
10827 * sparc.h (INCOMING_FRAME_SP_OFFSET): Define to
10828 SPARC_STACK_BIAS for sake of dwarf2 on sparc64.
10829
fbf8b71c
KJ
10830Mon Sep 22 11:21:33 1997 J. Kean Johnston <jkj@sco.com>
10831
10832 * i386/sco5.h: Make ELF default file format and add -mcoff/-melf..
10833 (MULTILIB_DEFAULTS): Define.
10834 (ASM_SPEC, CPP_SPEC): Handle -mcoff.
10835 (STARTFILE_SPEC, ENDFILE_SPEC, LINK_SPEC): Likewise.
10836 (LIBGCC_SPEC): Likewise.
10837 (MASK_COFF, TARGET_COFF, TARGET_ELF): Define.
10838 (SUBTARGET_SWITCHES): Add -mcoff and -melf.
10839 * i386/t-sco5 (CRTSTUFF_T_CFLAGS): Add -fPIC.
10840 (CRTSTUFF_T_CFLAGS_S): Tweak for COFF.
10841 (EXTRA_PARTS, TAROUTOPTS): Delete.
10842 (libgcc1-elf, libgcc2-elf, libgcc-elf targets): Delete.
10843 (MULTILIB_OPTIONS): Define.
10844 (MULTILIB_DIRNAMES, MULTILIB_EXCEPTIONS): Likewise.
10845 (MULTILIB_MATCHE, MULTILIB_EXTRA_OPTS): Likewise.
10846
c14a951f
JL
10847Mon Sep 22 02:10:43 1997 Jeffrey A Law (law@cygnus.com)
10848
10849 * version.c: Bump for snapshot.
10850
7014927a
JL
10851Sun Sep 21 17:45:45 1997 Jeffrey A Law (law@cygnus.com)
10852
37aa45a2
JL
10853 * loop.c (loop_number): Delete function. Change all references
10854 to use uid_loop_num array.
10855 * loop.h (loop_number): Delete declaration.
10856 * unroll.c (unroll_loop): Change "loop_number" references to
10857 use uid_loop_num instead.
10858
b47404d1
JL
10859 * loop.c (loop_unroll_factor): Move outside #ifdef HAIFA
10860 conditional.
10861 (loop_unroll_iter): Remove unused variable and all references.
10862 (loop_optimize): Always allocate and clear space for loop_unroll_factor.
10863 (insert_bct): Fix minor formatting problems.
10864 * loop.h (loop_unroll_factor): Move decl outside #ifdef HAIFA.
10865 (loop_unroll_iter): Removed unused decl.
10866 * unroll.c (unroll_loop): Remove code to set loop_unroll_iter.
10867 Always record the unrolling factor.
10868
cb3bb2a7
JL
10869 * cse.c (simplify_relational_operation): Set h0u just like h0s.
10870 Similarly for h1u and h1s.
10871
d5ff3a2e 10872 * flow.c (jmp_uses_reg_or_mem): Deleted unused function.
2a1777af
JL
10873 (find_basic_blocks): Use computed_jump_p to determine if a
10874 particular JUMP_INSN is a computed jump.
10875 * reg-stack.c (find_blocks): Use computed_jump_p to determine
10876 if a particular JUMP_INSN is a computed jump.
10877 * rtlanal.c (jmp_uses_reg_or_mem): New function.
10878 (computed_jump_p): Likewise.
10879 * rtl.h (computed_jump_p): Declare.
10880 * genattrtab.c (pc_rtx): Define and initialize.
10881 * loop.c (loop_optimize): Always determine if the current
10882 function has a computed jump.
10883 (indirect_jump_in_function_p): Use computed_jump_p to determine
10884 if a particular JUMP_INSN is a computed jump.
10885
7014927a
JL
10886 * loop.c (fix_bct_param): Delete unused function.
10887 (check_bct_param): Likewise.
10888
6d53d7c2
JM
10889Sat Sep 20 16:22:06 1997 Jason Merrill <jason@yorick.cygnus.com>
10890
10891 * frame.c (__deregister_frame): Check properly for initialized object.
10892
5a5e9503 10893Fri Sep 19 20:51:03 1997 H.J. Lu (hjl@gnu.ai.mit.edu)
71e4fbe6
L
10894
10895 * alpha/linux.h (HANDLE_SYSV_PRAGMA): Defined.
10896
272299b9
R
10897Fri Sep 19 18:53:50 1997 J"orn Rennecke <amylaar@cygnus.co.uk>
10898
cc5e1642
R
10899 * jump.c (thread_jumps): check can_reverse_comparison_p before
10900 threading a reversed-condition jump.
10901
272299b9
R
10902 * sched.c (update_flow_info): Don't pass SCRATCH to dead_or_set_p.
10903 * haifa-sched.c (update_flow_info): Likewise.
10904
18511014
JL
10905Thu Sep 18 21:13:40 1997 Jeffrey A Law (law@cygnus.com)
10906
e6493727
JL
10907 * Makefile.in (BOOT_CFLAGS): Use -O2.
10908
1e467e19
JL
10909 * configure.in (strtoul, bsearch): Have autoconf check for these
10910 functions.
10911 * configure, config.in: Rebuilt.
10912
18511014
JL
10913 * m68k/xm-mot3300.h (alloca): Properly declare if __STDC__.
10914 * mips/mips.h (alloca): Likewise.
10915 * rs6000/xm-rs6000.h (alloca): Likewise.
10916 * rs6000/xm-sysv4.h: Likewise.
10917
6020d360
JM
10918Thu Sep 18 14:22:22 1997 Jason Merrill <jason@yorick.cygnus.com>
10919
10920 * final.c (final_scan_insn): Hand BARRIERs off to the dwarf2 code.
10921 * dwarf2out.c (dwarf2out_frame_debug): Pass the whole insn along.
10922 (dwarf2out_stack_adjust): A BARRIER resets the args space to 0.
10923
10924 * except.c (end_eh_unwinder): Subtract 1 from return address.
10925 * libgcc2.c (__throw): Likewise.
10926 (find_exception_handler): Don't change PC here. Compare end with >.
10927
b24bcfb3 10928Thu Sep 18 10:43:07 1997 Nick Clifton <nickc@cygnus.com>
b57062ca 10929
b24bcfb3
NC
10930 * v850.c (compute_register_save_size): Correct register
10931 number.
10932 * v850.md (save_interrupt, return_interrupt): Correct
10933 register number.
10934 * v850/lib1funcs.asm (save_interrupt): Correct register number.
10935 (return_interrupt): Use stack pointer, not element pointer.
10936
93cf819d
BK
109371997-09-18 Brendan Kehoe <brendan@lisa.cygnus.com>
10938
10939 * configure.in, configure: Make sure to create the stage* and include
10940 symbolic links in each subdirectory.
10941
f0501149
JL
10942Thu Sep 18 01:47:06 1997 Jeffrey A Law (law@cygnus.com)
10943
10944 * pa.md (reload_peepholes): Don't allow addresses with side
10945 effects for the memory operand.
10946
4f870c04
JM
10947Wed Sep 17 18:19:53 1997 Jason Merrill <jason@yorick.cygnus.com>
10948
10949 * libgcc2.c (find_exception_handler): Subtract one from our PC when
10950 looking for a handler, to avoid hitting the beginning of the next
10951 region.
10952
10953 * except.c (expand_builtin_set_return_addr_reg): Use force_operand.
10954
4eb66248
JL
10955Wed Sep 17 18:33:59 1997 Jeffrey A Law (law@cygnus.com)
10956
10957 * mips/abi64.h (LONG_MAX_SPEC): Define.
10958 * mips.h (LONG_MAX_SPEC): Define.
10959 (CPP_SPEC): Include long_max_spec.
10960 (EXTRA_SPECS): Include long_max_spec.
10961
44158507
JL
10962Wed Sep 17 14:11:38 1997 Jeffrey A Law (law@cygnus.com)
10963
10964 * v850.c (construct_save_jarl): Fix thinko in last change.
10965
bf520cd9
JL
10966Wed Sep 17 09:53:07 1997 Jeffrey A Law (law@cygnus.com)
10967
10968 * version.c: Bump for snapshot.
10969
255fe733
JM
10970Tue Sep 16 14:22:36 1997 Jason Merrill <jason@yorick.cygnus.com>
10971
c0727e2a
JM
10972 * libgcc2.c (find_exception_handler): Not found is -1.
10973
255fe733
JM
10974 * integrate.c (expand_inline_function): Move expand_start_bindings
10975 after expanding the arguments.
10976
21002281
JW
10977Tue Sep 16 11:13:46 1997 Jim Wilson <wilson@cygnus.com>
10978
10979 * expr.c (expand_expr): Remove previous incorrect change.
10980 If target and slot has no DECL_RTL, then call mark_addressable
10981 again for the slot after we give it RTL.
10982
e693cc28 10983Tue Sep 16 09:18:52 1997 Jason Merrill (jason@cygnus.com)
f633220c 10984
e693cc28
UD
10985 * expr.c (expand_expr, case TARGET_EXPR): Call mark_addressable
10986 again for the slot after we give it RTL.
f633220c 10987
145870b5
NC
10988Tue Sep 16 00:13:20 1997 Nick Clifton <nickc@cygnus.com>
10989
84e75068 10990 * v850.c (register_is_ok_for_epilogue,
145870b5
NC
10991 pattern_is_ok_for_epilogue, construct_restore_jr,
10992 pattern_is_ok_for_prologue, construct_save_jarl): New functions.
10993
84e75068 10994 * v850.h (pattern_is_ok_for_prologue,
145870b5
NC
10995 pattern_is_ok_for_epilogue, register_is_ok_for_epilogue): New
10996 predicates.
10997
84e75068 10998 * v850.md: Replace prologue and epilogue patterns with a
145870b5
NC
10999 match_parallel pattern.
11000
76143254
JL
11001Mon Sep 15 22:53:01 1997 Jeffrey A Law (law@cygnus.com)
11002
11003 * aclocal.m4: Add replacement for AC_PROG_INSTALL.
11004 * configure.in: Use EGCS_PROG_INSTALL.
11005
4401bf24
JL
11006Mon Sep 15 22:40:55 1997 Jim Wilson (wilson@cygnus.com)
11007
11008 * dwarf2out.c (gen_subprogram_die): Handle redefinition of an
11009 extern inline function.
11010
11011Mon Sep 15 22:40:55 1997 Richard Henderson (rth@cygnus.com)
11012
11013 * dwarf2out.c (reg_loc_descriptor): Fix prototype.
11014 (concat_loc_descriptor): New function.
11015 (loc_descriptor): Call it.
11016 (add_AT_location_description): Also elide the descriptor if both
11017 halves of a CONCAT are pseudos.
11018 (add_location_or_const_value_attribute): Recognize CONCAT too.
11019
0d24ff5d
RH
11020Mon Sep 15 15:24:00 1997 Richard Henderson <rth@cygnus.com>
11021
4bb43724
RH
11022 * alpha.md (movdi): Handle CONST_DOUBLE for TARGET_BUILD_CONSTANTS.
11023
0d24ff5d
RH
11024 * alpha/alpha.c (output_prolog): New variable sa_reg. Use it for
11025 out-or-range reg_offset.
11026 (output_epilog): Likewise.
11027
05ef8897
JL
11028Mon Sep 15 15:39:26 1997 Jeffrey A Law (law@cygnus.com)
11029
11030 * cse.c (simplify_relational_operation): If MODE specifies a
11031 mode wider than HOST_WIDE_INT, then the high word of a CONST_INT
11032 is derived from the sign bit of the low word.
11033
ca55abae
JM
11034Mon Sep 15 11:43:38 1997 Jason Merrill <jason@yorick.cygnus.com>
11035
11036 Support dwarf2 unwinding on PUSH_ROUNDING targets like the x86.
11037
11038 * dwarf2.h: Add DW_CFA_GNU_args_size.
11039 * frame.c (execute_cfa_insn): Likewise.
11040 * dwarf2out.c (dwarf_cfi_name, output_cfi): Likewise.
11041 (dwarf2out_args_size, dwarf2out_stack_adjust): New fns.
11042 (dwarf2out_frame_debug): If this isn't a prologue or epilogue
11043 insn, hand it off to dwarf2out_stack_adjust.
11044 (dwarf2out_begin_prologue): Initialize args_size.
11045 * frame.h (struct frame_state): Add args_size.
11046 * libgcc2.c (__throw): Use args_size.
11047 * final.c (final_scan_insn): If we push args, hand off all insns
11048 to dwarf2out_frame_debug.
11049 * defaults.h (DWARF2_UNWIND_INFO): OK for !ACCUMULATE_OUTGOING_ARGS.
11050
11051 * dwarf2out.c dwarf2out_frame_debug): Fix typo.
11052 Handle epilogue restore of SP from FP.
b57062ca 11053 * emit-rtl.c (gen_sequence): Still generate a sequence if the
ca55abae
JM
11054 lone insn has RTX_FRAME_RELATED_P set.
11055
11056 * frame.c (extract_cie_info): Handle "e" augmentation.
11057 * dwarf2out.c (ASM_OUTPUT_DWARF_*): Provide definitions in the
11058 absence of UNALIGNED_*_ASM_OP.
11059 (UNALIGNED_*_ASM_OP): Only provide defaults if OBJECT_FORMAT_ELF.
11060 (output_call_frame_info): Use "e" instead of "z" for augmentation.
11061 Don't emit augmentation fields length.
11062 (dwarf2out_do_frame): Move outside of #ifdefs.
11063 * defaults.h (DWARF2_UNWIND_INFO): Don't require unaligned data
11064 opcodes.
11065
11066 * sparc.h (UNALIGNED_INT_ASM_OP et al): Don't define here after all.
11067 * sparc/sysv4.h (UNALIGNED_INT_ASM_OP): Define here.
11068 * sparc/sunos4.h (DWARF2_UNWIND_INFO): Define to 0.
11069 * sparc/sun4gas.h: New file.
11070 * configure.in: Use sun4gas.h if SunOS 4 --with-gnu-as.
11071
b57062ca 11072 * collect2.c (write_c_file_stat, write_c_file_glob): Declare
ca55abae
JM
11073 __register_frame_table and __deregister_frame.
11074
1d77fa53
BK
110751997-09-15 Brendan Kehoe <brendan@cygnus.com>
11076
11077 * except.c (find_exception_handler_labels): Use xmalloc instead of
11078 alloca, since MAX_LABELNO - MIN_LABELNO can be more than 1 million
11079 in some cases.
11080
8be52aaa
JL
11081Sun Sep 14 21:01:23 1997 Jeffrey A Law (law@cygnus.com)
11082
11083 * Makefile.in: Various changes to build info files
11084 in the object tree rather than the source tree.
11085
a3ee3246
JL
11086Sun Sep 14 12:24:30 1997 Jeffrey A Law (law@cygnus.com)
11087
11088 * fixinc.math: New file to fix math.h on some systems.
11089 * configure.in (freebsd, netbsd): Use fixinc.math on these
11090 systems.
11091 * configure: Rebuilt.
11092
124da275
JL
11093Sun Sep 14 11:11:05 1997 Jeffrey A Law (law@cygnus.com)
11094
11095 * regmove.c (regmove_optimize): If we end up moving the
11096 original insn due to lifetime overlaps, make sure to move
11097 REG_NOTES too.
11098
fca9d4b0
MH
11099Sat Sep 13 15:51:11 1997 Manfred Hollstein <manfred@s-direktnet.de>
11100
11101 * Makefile.in (INSTALL_{PROGRAM,DATA}): Use value found by configure.
11102
326ee7a3
JL
11103Sat Sep 13 12:57:26 1997 Jeffrey A Law (law@cygnus.com)
11104
11105 * haifa-sched.c (add_branch_dependences): Make each insn in
11106 a SCHED_GROUP_P block explicitly depend on the previous insn.
11107
ca55abae
JM
11108Fri Sep 12 13:49:58 1997 Jason Merrill <jason@yorick.cygnus.com>
11109
11110 * except.h: Prototype dwarf2 hooks.
11111 * expr.c: Adjust.
11112
5188d2b2
JW
11113Thu Sep 11 17:43:55 1997 Jim Wilson <wilson@cygnus.com>
11114
11115 * configure.in (native_prefix): Delete.
11116 (mips-dec-netbsd): Don't set prefix.
11117 (*linux*): Don't set prefix.
11118
2e384318
FF
11119Thu Sep 11 15:48:32 1997 Fred Fish <fnf@ninemoons.com>
11120
70988851
FF
11121 * protoize.c: Include <varargs.h> only if HAVE_VARARGS_H is
11122 defined. If not defined, include <sys/varargs.h> if
11123 HAVE_SYS_VARARGS_H is defined.
11124 * configure.in: Test for varargs.h and sys/varargs.h.
11125 * configure: Regenerate with autoconf.
11126 * config.in: Regenerate with autoheader.
11127
2e384318
FF
11128 * cpplib.c (quote_string): Cast first arg of sprintf call
11129 from "unsigned char *" to "char *".
11130 (output_line_command): Ditto.
11131 (macroexpand): Ditto.
11132 (do_line): Cast atoi arg from "unsigned char *" to "char *".
11133
3fb2f401
JL
11134Wed Sep 10 21:37:30 1997 Jeffrey A Law (law@cygnus.com)
11135
f2e4e16f
JL
11136 * version.c: Bump for snapshot.
11137
3fb2f401
JL
11138 * Makefile.in (compare): Exit with nonzero status if there
11139 are comparison failures. Note which files failed the
11140 comparison test in .bad_compare.
11141
d26cb668
L
11142Wed Sep 10 17:05:46 1997 H.J. Lu (hjl@gnu.ai.mit.edu)
11143
11144 * config/alpha/elf.h (CPP_PREDEFINES): Remove -D__PIC__ -D__pic__.
11145
ac64120e
JW
11146Wed Sep 10 16:37:28 1997 Fred Fish <fnf@ninemoons.com>
11147
11148 * Makefile.in (LN, LN_S): New macros, use where appropriate.
11149 * aclocal.m4 (GCC_PROG_LN_S, GCC_PROG_LN): New tests.
11150 * configure.in: Use GCC_PROG_LN_S and GCC_PROG_LN.
11151 * configure: Regenerated.
11152
11153Thu Sep 11 11:09:43 1997 Jeffrey A Law (law@cygnus.com)
11154
11155 * loop.c (strength_reduce): Fix typo.
11156
db87ec0b
JW
11157Wed Sep 10 16:01:15 1997 Jim Wilson <wilson@cygnus.com>
11158
11159 * m88k/m88k.c (struct option): Rename to struct options.
11160 * m88k/dolph.h (INITIALIZE_TRAMPOLINE): Delete here.
11161 * m88k/sysv3.h (INITIALIZE_TRAMPOLINE): Delete ifdef and comments.
11162 * libgcc2.c (__enable_execute_stack): Check for __sysV88__ not
11163 __DOLPHIN__ or sysV88.
11164
04395f96
JW
11165Wed Sep 10 14:58:40 1997 Jim Wilson <wilson@cygnus.com>
11166
11167 * emit-rtl.c (gen_lowpart_common): For a SUBREG, add in word when
11168 create new subreg.
11169
becdcf6d
JL
11170Wed Sep 10 15:19:22 1997 Jeffrey A Law (law@cygnus.com)
11171
11172 * config.sub: Accept 'amigados' for backward compatability.
11173
04395f96 11174Wed Sep 10 14:05:08 1997 H.J. Lu (hjl@gnu.ai.mit.edu)
3979dfb8
JW
11175
11176 * Makefile.in (testsuite/site.exp): New target.
11177 (check-gcc, check-g++): Depend on testsuite/site.exp.
11178 Don't stop for failure.
11179
ca55abae
JM
11180Wed Sep 10 12:59:57 1997 Jason Merrill <jason@yorick.cygnus.com>
11181
11182 * expr.c (expand_builtin): Only support __builtin_dwarf_fp_regnum()
11183 if DWARF2_UNWIND_INFO.
11184
11185Wed Sep 10 11:49:20 1997 Jason Merrill <jason@yorick.cygnus.com>
11186
11187 Add support for exception handling using DWARF 2 frame unwind info.
11188 Currently works on SPARC and MIPS, and almost on x86.
b57062ca 11189
ca55abae
JM
11190 * libgcc2.c (get_reg, put_reg, get_return_addr, put_return_addr,
11191 next_stack_level, in_reg_window): Helper fns.
11192 (__throw): Implement for DWARF2_UNWIND_INFO.
11193
11194 * expr.c (expand_builtin): Handle builtins used by __throw.
11195 * tree.h (enum built_in_function): Add builtins used by __throw.
11196 * c-decl.c (init_decl_processing): Declare builtins used by __throw.
11197 * dwarf2out.c (expand_builtin_dwarf_fp_regnum): Used by __throw.
11198 * except.c (expand_builtin_unwind_init): Hook for dwarf2 __throw.
11199 (expand_builtin_extract_return_addr): Likewise.
11200 (expand_builtin_frob_return_addr): Likewise.
11201 (expand_builtin_set_return_addr_reg): Likewise.
11202 (expand_builtin_eh_stub): Likewise.
11203 (expand_builtin_set_eh_regs): Likewise.
11204 (eh_regs): Choose two call-clobbered registers for passing back values.
11205
11206 * frame.c, frame.h: New files for parsing dwarf 2 frame info.
11207 * Makefile.in (LIB2ADD): New variable. Add $(srcdir)/frame.c.
11208 (libgcc2.a): Use it instead of $(LIB2FUNCS_EXTRA) $(LANG_LIB2FUNCS)
11209 (stmp-multilib): Likewise.
11210 ($(T)crtbegin.o, $(T)crtend.o): Add -fno-exceptions.
11211
11212 * except.c: #include "defaults.h".
11213 (exceptions_via_longjmp): Default depends on DWARF2_UNWIND_INFO.
11214 (emit_throw): Don't defeat assemble_external if DWARF2_UNWIND_INFO.
11215 (register_exception_table_p): New fn.
11216 (start_eh_unwinder): Don't do anything if DWARF2_UNWIND_INFO.
11217 (end_eh_unwinder): Likewise.
11218
b57062ca 11219 * crtstuff.c: Wrap .eh_frame section, use EH_FRAME_SECTION_ASM_OP,
ca55abae
JM
11220 call __register_frame and __deregister_frame as needed.
11221 * varasm.c (eh_frame_section): New fn if EH_FRAME_SECTION_ASM_OP.
11222 * dwarf2out.c (EH_FRAME_SECTION): Now a function-like macro. Check
11223 EH_FRAME_SECTION_ASM_OP.
11224 * sparc/sysv4.h (EH_FRAME_SECTION_ASM_OP): Define.
11225 * mips/iris6.h: (EH_FRAME_SECTION_ASM_OP): Define.
11226 (LINK_SPEC): Add __EH_FRAME_BEGIN__ to hidden symbols.
11227
11228 * dwarf2out.c (output_call_frame_info): If no support for
11229 EXCEPTION_SECTION, mark the start of the frame info with a
11230 collectable tag.
11231 * collect2.c (frame_tables): New list.
11232 (is_ctor_dtor): Recognise frame entries.
11233 (scan_prog_file): Likewise.
11234 (main): Pass -fno-exceptions to sub-compile. Also do collection
11235 if there are any frame entries.
11236 (write_c_file_stat): Call __register_frame_table and
11237 __deregister_frame as needed.
11238 (write_c_file_glob): Likewise.
11239
b57062ca 11240 * defaults.h (DWARF2_UNWIND_INFO): Default to 1 if supported.
ca55abae
JM
11241 Also require unaligned reloc support.
11242 * sparc.h (UNALIGNED_SHORT_ASM_OP, UNALIGNED_INT_ASM_OP,
11243 UNALIGNED_DOUBLE_INT_ASM_OP): Define here.
11244 * sparc/sysv4.h: Not here.
11245
11246 * toplev.c (compile_file): Call dwarf2out_frame_{init,finish}.
11247 * dwarf2out.c (dwarf2out_init): Don't call dwarf2out_frame_init.
11248 (dwarf2out_finish): Don't call dwarf2out_frame_finish.
11249
11250 * libgcc2.c (L_eh): Reorganize, moving code shared by different
11251 EH implementations to the top.
11252 (find_exception_handler): Split out. Start from 0. Compare against
11253 end with >=.
11254 (__find_first_exception_table_match): Use it.
11255 * except.c (output_exception_table): Don't do anything if there's
11256 no table. Don't output a first entry of zeroes.
11257 (eh_outer_context): Adjust properly.
11258 (add_eh_table_entry): Use xrealloc.
11259 * toplev.c (compile_file): Just call output_exception_table.
11260
11261Wed Sep 10 11:30:36 1997 Jason Merrill <jason@cygnus.com>
11262
11263 * i386.c (ix86_prologue): Add dwarf2 support for !do_rtl case.
11264
11265Wed Sep 10 08:17:10 1997 Torbjorn Granlund <tege@pdc.kth..se>
11266
11267 * except.c (eh_outer_context): Do masking using expand_and.
11268
b4d940a2
JL
11269Wed Sep 10 01:38:30 1997 Doug Evans <dje@cygnus.com>
11270
11271 Add port done awhile ago for the ARC cpu.
11272 * arc/arc.h: New file.
11273 * arc/arc.c: New file.
11274 * arc/arc.md: New file.
11275 * arc/initfini.c: New file.
11276 * arc/lib1funcs.asm: New file.
11277 * arc/t-arc: New file.
11278 * arc/xm-arc.h: New file.
11279 * ginclude/va-arc.h: New file.
11280 * ginclude/stdarg.h: Include va-arc.h ifdef __arc__.
11281 * ginclude/varargs.h: Likewise.
11282 * Makefile.in (USER_H): Add va-arc.h.
11283 * configure.in (arc-*-elf*): Recognize.
11284 * longlong.h: Add ARC support.
11285
11286Wed Sep 10 01:32:54 1997 Jeffrey A Law (law@cygnus.com)
11287
11288 * expr.c (clear_storage): Use CONST0_RTX instead of const0_rtx.
11289 when clearing non-BLKmode data.
11290
10211581
JL
11291Wed Sep 10 00:29:29 1997 Manfred Hollstein <manfred@s-direktnet.de>
11292
9dfc6eba
MH
11293 * m88k/sysv3.h (INITIALIZE_TRAMPOLINE) Define.
11294 * libgcc2.c (__enable_execute_stack): Provide for sysV88 too.
11295
55259219
MH
11296 * xm-m88k.h (USG): Only define if it hasn't already been defined.
11297
11298 * Makefile.in (risky-stage1): Delete gratutious whitespace.
11299
ee291069
MH
11300 * Makefile.in (clean): Delete libgcc1-test.
11301
10211581
JL
11302 * Makefile.in (INSTALL): cd to $(srcdir) before running texinfo.
11303
11304Tue Sep 9 17:07:36 1997 Stan Cox <coxs@dg-rtp.dg.com>
48f0be1b
SC
11305
11306 * m88k.c (m88k_expand_prologue): Set MEM_IN_STRUCT_P of va_list
11307 template.
11308
ca55abae
JM
11309Tue Sep 9 09:50:02 1997 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
11310
11311 * dwarf2out.c (output_call_frame_info): Call named_section.
11312
8f3d79e0
JL
11313Tue Sep 9 09:12:17 1997 Jeffrey A Law (law@cygnus.com)
11314
11315 * haifa-sched.c (print_value): Fix last change.
11316
ca55abae
JM
11317Tue Sep 9 01:30:37 1997 Jason Merrill <jason@yorick.cygnus.com>
11318
11319 * mips.h (DWARF_FRAME_REGNUM): Use the same numbering regardless of
11320 write_symbols.
11321
11322Mon Sep 8 16:32:43 1997 Jason Merrill <jason@yorick.cygnus.com>
11323
11324 * mips.c (function_prologue): Set up the CFA when ABI_32.
11325
11326 * sparc.c (save_regs): Check dwarf2out_do_frame instead of DWARF2_DEBUG
11327 for dwarf2 unwind info.
11328 (output_function_prologue, sparc_flat_output_function_prologue): Same.
11329
11330 * final.c (final_end_function): Check dwarf2out_do_frame instead
11331 of DWARF2_DEBUG for dwarf2 unwind info.
11332 (final_scan_insn): Likewise.
11333 (final_start_function): Likewise. Initialize dwarf2 frame debug here.
11334 (final): Not here.
11335
11336 * expr.c (expand_builtin_return_addr): Only SETUP_FRAME_ADDRESSES if
11337 count > 0.
11338
11339 * varasm.c (exception_section): Check EXCEPTION_SECTION first.
11340
74aca74b
NC
11341Mon Sep 8 15:15:11 1997 Nick Clifton <nickc@cygnus.com>
11342
11343 * v850.h (ASM_SPEC): Pass on target processor.
11344 (CPP_PREDEFINES): Only define if not already specified.
11345 (TARGET_VERSION): Only define if not already specified.
11346 (MASK_CPU, MASK_V850, MASK_DEFAULT): Bits to specify target
11347 processor.
11348 (EXTRA_SWITCHES): Extra entries in the switches array.
11349 (TARGET_DEFAULT): Set default target processor.
11350
c0b04148
JW
11351Mon Sep 8 18:26:35 1997 Jim Wilson <wilson@cygnus.com>
11352
11353 * m68k.h (MACHINE_STATE_SAVE, MACHINE_STATE_RESTORE): In MOTOROLA
11354 cases, add %# and %/, and add : to make them into extended asms.
11355
52b7724b
WL
11356Sun Sep 7 23:57:50 1997 Weiwen Liu <liu@hepunix.physics.yale.edu>
11357
11358 * alias.c (init_alias_analysis): Clean up incompatible pointer
11359 type warning in bzero.
11360 * regmove.c (regmove_optimize): Ditto.
11361 * haifa-sched.c (find_rgns): Ditto.
11362
11363 * haifa-sched.c (print_value): Clean up ptr->int cast
11364 warnings.
11365
0c82f6bf
FF
11366Sun Sep 7 23:18:32 1997 Fred Fish <fnf@ninemoons.com>
11367
11368 * INSTALL: Change 'amigados' to 'amigaos' to match current usage.
11369 * install.texi (Configurations): Ditto.
11370 * config.sub: Ditto.
11371
1fed1f51
WL
11372Sun Sep 7 22:56:56 1997 Weiwen Liu (liu@hepvms.physics.yale.edu)
11373
11374 * Makefile.in (sdbout.o): Depend on insn-config.h.
11375
239e68f6
JW
11376Sun Sep 7 18:44:50 1997 Jim Wilson <wilson@cygnus.com>
11377
11378 * m68k/m68k.h (TARGET_SWITCHES): For 68000, 68302, subtract MASK_68881.
11379 For 68303, 68332, cpu32, subtract MASK_68040_ONLY.
11380
267c09ab
JM
11381Sun Sep 7 18:30:46 1997 Jason Merrill <jason@yorick.cygnus.com>
11382
11383 * dwarf2out.c (dwarf2out_frame_debug): Assume that in a PARALLEL
11384 prologue insn, only the first elt is significant.
11385 (output_call_frame_info): For exception handling, always use 4-byte
11386 fields as specified by the dwarf2 spec.
11387 Don't skip trivial FDEs.
11388
db7cafb0
JL
11389Sun Sep 7 14:19:39 1997 Jeffrey A Law (law@cygnus.com)
11390
11391 * version.c: Bump for snapshot.
11392
11393Sun Sep 7 14:17:36 1997 Torbjorn Granlund (tege@pdc.kth.se)
11394
11395 * expmed.c (expand_divmod): Make op1_is_pow2 depend on unsignedp
11396 for negative constants. Promote EXACT_DIV_EXPR to TRUNC_DIV_EXPR
11397 when op1_is_pow2.
11398
11399Sun Sep 7 13:46:46 1997 Jeffrey A Law (law@cygnus.com)
11400
bf520cd9
JL
11401 * final.c (shorten_branches): During first pass, assume worst
11402 possible alignment for ADDR_VEC and ADDR_VEC_DIFF insns.
db7cafb0
JL
11403
11404 * Makefile.in (distclean): Remove various things left around
11405 by running the testsuite.
11406
7ed46111
MH
11407Sun Sep 7 13:16:06 1997 Manfred Hollstein <manfred@s-direktnet.de>
11408
11409 * configure.in (out_file): Emit definition to config.status in order
11410 to have a defined value for configure.lang.
11411 * configure: Re-built.
11412
e41cea70
JJH
11413Sun Sep 7 09:59:08 1997 Jan-Jaap van der Heijden (J.J.vanderHeijden@student.utwente.nl)
11414
bf520cd9 11415 * configure.in: Make symlink to as-new rather than as.new. Similarly
e41cea70
JJH
11416 for ld-new.
11417 * configure: Rebuilt.
11418
1aeb1f6f
JW
11419Fri Sep 5 16:54:55 1997 Jim Wilson <wilson@cygnus.com>
11420
11421 * profile.c (output_func_start_profiler): Set DECL_EXTERNAL to zero.
11422
770a0113
CK
11423Fri Sep 5 16:16:44 1997 Christian Kuehnke <Christian.Kuehnke@arbi.Informatik.Uni-Oldenburg.DE>
11424
11425 * sparc/sparc.md: Add ultrasparc scheduling support.
11426 * sparc/sparc.h (RTX_COSTS): For MULT give v9 a cost of 25 insns.
11427
f5ffa999
PDM
11428Fri Sep 5 14:04:59 1997 Philippe De Muyter <phdm@info.ucl.ac.be>
11429
11430 * integrate.c (save_for_inline_copying): Use 0, not NULL_PTR,
11431 as initial value for real_label_map.
11432 (copy_for_inline): Likewise.
11433
acceac1a
R
11434Fri Sep 5 13:36:44 1997 J"orn Rennecke <amylaar@cygnus.co.uk>
11435
11436 * sched.c (update_flow_info) When looking if to set found_split_dest
11437 or found_orig_dest, look at all parts of a PARALLEL.
11438 * haifa-sched.c (update_flow_info): Likewise.
11439
f84271d9
JL
11440Fri Sep 5 10:08:44 1997 Jeffrey A Law (law@cygnus.com)
11441
11442 * v850: New directory for v850 port.
11443 * v850/lib1funcs.asm: New file.
11444 * t-v850, v850.c, v850.h, v850.md, xm-v850.h: New files.
11445 * ginclude/va-v850.h: New file.
11446 * ginclude/varargs.h, ginclude/stdarg.h: Include va-mn10200.h.
11447 * configure.in (mn10200-*-*): New target.
11448 * configure: Rebuilt.
11449 * config.sub: Handle v850-elf.
b57062ca 11450 * Makefile.in (USER_H): Add va-mn10200.h.
f84271d9
JL
11451 * invoke.texi: Document v850 stuff.
11452
89cc6098
JW
11453Fri Sep 5 09:37:50 1997 Jim Wilson (wilson@cygnus.com)
11454
04940ba5
JW
11455 * sdbout.c (plain_type_1, case ARRAY_TYPE): Verify that TYPE_DOMAIN
11456 has integer TYPE_{MAX,MIN}_VALUE before using them.
11457
89cc6098
JW
11458 * m68k/m68k.h (MACHINE_STATE_SAVE, MACHINE_STATE_RESTORE): Add
11459 __HPUX_ASM__ versions.
11460
c74f7db8
JL
11461Fri Sep 5 09:08:44 1997 Jeffrey A Law (law@cygnus.com)
11462
bf520cd9 11463 * install.sh: Delete duplicate install script.
c74f7db8 11464
914ec131
SC
11465Thu Sep 4 23:14:27 1997 Stan Cox (coxs@dg-rtp.dg.com)
11466
11467 * reg-stack.c (subst_stack_regs): Pop the stack register for a
11468 computed goto which sets the same stack register.
11469
11470 * reg-stack.c (compare_for_stack_reg): Swap only if the source and
11471 destination are both on the regstack.
11472 (subst_stack_regs_pat): Put the destination at the top of the regstack.
11473
c1090daa
JW
11474Thu Sep 4 15:02:27 1997 Jim Wilson <wilson@cygnus.com>
11475
d5d1738a
JW
11476 * mips.md (nonlocal_goto_receiver): Define.
11477
f4da7881
JW
11478 * profile.c (output_arc_profiler): Check next_insert_after for non
11479 NULL before deferencing it.
11480
c1090daa
JW
11481 * i386/t-sol2 (TARGET_LIBGCC2_CFLAGS): Define to -fPIC.
11482
da594c94
JL
11483Thu Sep 4 14:51:57 1997 Jeffrey A Law (law@cygnus.com)
11484
11485 * i386.h (CPP_CPU_DEFAULT): Avoid using #elif.
11486
3e28fe44
MM
11487Thu Sep 4 15:01:49 1997 Michael Meissner <meissner@cygnus.com>
11488
11489 * toplev.c (rest_of_compilation): For passes starting with
11490 flow_analysis, use print_rtl_with_bb instead of print_rtl.
11491
11492 * print-rtl.c (print_rtl_single): Print a single rtl value to a
11493 file.
11494
11495 * flow.c (print_rtl_with_bb): Print which insns start and end
11496 basic blocks. For the start of a basic block, also print the live
11497 information.
11498
7053ca72
JW
11499Thu Sep 4 11:51:43 1997 Jim Wilson <wilson@cygnus.com>
11500
417b0fa2
JW
11501 * toplev.c (main): Change #elif to #else/#ifdef
11502
7053ca72
JW
11503 * tlink.c: Include ctype.h.
11504 * ginclude/va-mips.h: Add _VA_MIPS_H_ENUM ifdef/define/endif.
11505
f05a8b25
MM
11506Thu Sep 4 11:17:16 1997 Mikeael Meissner (meissner@cygnus.com)
11507
11508 * bitmap.c: Conditionally include stdlib.h.
bf520cd9 11509 (free): Provide a declaration if NEED_DECLARATION_FREE.
f05a8b25 11510
02d7a569
JS
11511Thu Sep 4 09:58:53 1997 Joel Sherrill (joel@OARcorp.com)
11512
11513 * i960/i960.h: Added default for SUBTARGET_SWITCHES macro.
11514
6030b6af
JW
11515Thu Sep 4 09:53:20 1997 Jim Wilson (wilson@cygnus.com)
11516
11517 * profile.c (output_arc_profiler): Verify next_insert_after is an
11518 INSN before and after skipping a stack pop.
11519
04da53bd
R
11520Thu Sep 4 07:39:19 1997 J"orn Rennecke <amylaar@cygnus.co.uk>
11521
11522 * final.c (shorten_branches): Don't count the lengths of deleted
11523 instructions.
11524
780532a4
JL
11525Thu Sep 4 09:43:01 1997 Jeffrey A Law (law@cygnus.com)
11526
11527 * version.c: Bump for snapshot.
11528
22fa5b8a
MM
11529Thu Sep 4 11:04:21 1997 Michael Meissner <meissner@cygnus.com>
11530
11531 * bitmap.h (EXECUTE_IF_AND_IN_BITMAP): New macro, to iterate over
11532 two bitmaps ANDed together.
11533 (bitmap_print): Declare.
11534
11535 * bitmap.c (function_obstack): Don't declare any more.
11536 (bitmap_obstack): Obstack for allocating links from.
11537 (bitmap_obstack_init): New static to say whether to initialize
11538 bitmap_obstack.
11539 (bitmap_element_allocate): Use bitmap_obstack to allocate from.
11540 (bitmap_release_memory): Free all memory allocated from
11541 bitmap_obstack.
11542
11543 * basic-block.h (EXECUTE_IF_AND_IN_REG_SET): New macro, invoke
11544 EXECUTE_IF_AND_IN_BITMAP.
11545
57163df0
JW
11546Wed Sep 3 10:39:42 1997 Jim Wilson <wilson@cygnus.com>
11547
fa8b6024
JW
11548 * alias.c (true_dependence): Address with AND can alias scalars.
11549 (anti_dependence, output_dependence): Likewise.
b57062ca 11550
57163df0
JW
11551 * alias.c (true_dependence): Test x for BLKmode, in addition to mem.
11552
8aa4e786
JS
11553Wed Sep 3 09:28:50 CDT 1997 Joel Sherrill (joel@OARcorp.com)
11554
11555 * i386/go32-rtems.h, i386/rtems.h, i960/rtems.h, m68k/rtems.h,
11556 mips/rtems64.h, pa/rtems.h, rs6000/rtems.h, sh/rtems.h,
11557 sparc/rtems.h (subtarget_switches): Removed SUBTARGET_SWITCHES
11558 definitions. Use -qrtems instead of -mrtems.
11559
feb21122
RL
11560Wed Sep 3 09:05:41 1997 Robert Lipe (robert@dgii.com)
11561
11562 * xm-sco5.h (sys_siglist): Define.
11563 (SYS_SIGLIST_DECLARED): Likewise.
11564
704af6a1
JL
11565Tue Sep 2 23:33:33 1997 Jeffrey A Law (law@cygnus.com)
11566
11567 * expr.c (convert_move): Handle truncation from TQFmode to QFmode.
11568
127cd405
TG
11569Wed Sep 3 02:09:30 1997 Torbjorn Granlund <tege@pdc.kth..se>
11570
11571 * except.c (eh_outer_context): Expand masking operation using
11572 expand_binop.
11573
8cf02b47
JW
11574Tue Sep 2 18:09:39 1997 Jim Wilson <wilson@cygnus.com>
11575
11576 * alpha.md (floatdisf2-1): New pattern.
11577
49dad301
JL
11578Tue Sep 2 18:41:55 1997 Jeffrey A Law (law@cygnus.com)
11579
068f1cb8
JL
11580 * xm-svr4.h (SYS_SIGLIST_DECLARED): Define.
11581 * xm-news.h (SYS_SIGLIST_DECLARED): Likewise.
f04e7122 11582 * xm-sysv4.h (SYS_SIGLIST_DECLARED): Likewise.
068f1cb8
JL
11583 * gcc.texi: Note that if you define sys_siglist that you should
11584 also define SYS_SIGLIST_DECLARED.
11585
49dad301
JL
11586 * mn10200.h (INITIALIZE_TRAMPOLINE): PC relative instructions
11587 are relative to the next instruction, not the current instruction.
11588
a1729519
JW
11589Tue Sep 2 14:22:43 1997 Jim Wilson <wilson@cygnus.com>
11590
11591 * local-alloc.c (contains_replace_regs): New function.
11592 (update_equiv_regs): When adding a REG_EQUIV note for a set of a MEM,
11593 verify that there is no existing REG_EQUIV note, and add a call to
11594 contains_place_regs.
11595
290c8b1f
L
11596Tue Sep 2 12:48:11 1997 H.J. Lu (hjl@gnu.ai.mit.edu)
11597
11598 * config/alpha/elf.h (CPP_PREDEFINES): Add -D__PIC__ -D__pic__.
11599 (STARTFILE_SPEC): Always use crtbegin.o%s
11600 (ENDFILE_SPEC): Always use crtend.o%s.
11601
a6a503ed
JW
11602Tue Sep 2 12:00:36 1997 Jim Wilson <wilson@cygnus.com>
11603
11604 * alpha/alpha.h (PREFERRED_RELOAD_CLASS): Return NO_REGS if NO_REGS
11605 is passed in.
11606 * emit-rtl.c (gen_lowpart_common): Add code to convert CONST_INT to
11607 SFmode for 64 bit hosts.
b57062ca 11608
a94729bc
PH
11609Tue Sep 2 13:42:38 1997 Paul N. Hilfinger <hilfingr@CS.Berkeley.EDU>
11610
11611 * fixincludes: Permits spaces between # and define. Discard C++
11612 comments in sys/pci.h on HP/UX 10.20.
11613
c9e03727
JL
11614Mon Sep 1 22:13:18 1997 Jeffrey A Law (law@cygnus.com)
11615
11616 * version.c: Bump for snapshot.
11617
2eddfed1
JL
11618 * pa.c (restore_unscaled_index_insn_codes): New function.
11619 (record_unscaled_index_insn_codes): Likewise.
11620 (output_function_prologue): Call restore_unscaled_index_insn_codes.
11621 (output_function_epilogue): Free memory for unscaled_index_insn_codes.
11622 (pa_reorg): Call record_unscaled_index_insn_codes.
11623
c9e03727
JL
11624 * haifa-sched.c (move_insn): Handle notes correctly for insns
11625 with SCHED_GROUP_P set.
b57062ca 11626
a5d6a95b
L
11627Mon Sep 1 16:58:57 1997 H.J. Lu (hjl@gnu.ai.mit.edu)
11628
11629 * alpha/xm-linux.h (USE_BFD): Undef before define.
11630
bc4ddc77
JW
11631Mon Sep 1 16:25:34 1997 Jim Wilson <wilson@cygnus.com>
11632
11633 * cse.c (cse_insn): Don't record BLKmode values.
11634
f3e0ca6c
SW
11635Mon Sep 1 11:25:47 1997 Stephen Williams (steve@icarus.icarus.com)
11636
11637 * i960.h (LINK_SPEC): Handle "-mjX" and "-mrp" switches.
11638
e3512ac2
JL
11639Mon Sep 1 08:29:46 1997 Jeffrey A Law (law@cygnus.com)
11640
a63d08e6
JL
11641 * cccp.c (sys_errlist): Remove special 4.4bsd declaration.
11642 * collect2.c (sys_errlist): Likewise.
11643 * cpplib.c (sys_errlist): Likewise.
11644 * gcc.c (sys_errlist): Likewise.
11645 * protoize (sys_errlist): Likewise.
11646 * configure.in: Check for strerror.
11647 * xm-freebsd.h (HAVE_STRERROR): Remove definition.
11648 * xm-gnu.h (HAVE_STRERROR): Likewise.
11649 * xm-linux.h (HAVE_STRERROR): Likewise.
11650 * xm-netbsd.h (HAVE_STRERROR): Likewise.
11651 * xm-bsd386.h (HAVE_STRERROR): Likewise.
11652 * xm-cygwin32.h (HAVE_STRERROR): Likewise.
11653 * xm-dos.h (HAVE_STRERROR): Likewise.
11654 * xm-mingw32.h (HAVE_STRERROR): Likewise.
11655 * xm-pa.h (HAVE_STRERROR): Likewise.
11656 * xm-papro.h (HAVE_STRERROR): Likewise.
11657 * xm-sysv4.h (HAVE_STRERROR): Likewise.
11658 * configure, config.in: Rebuilt.
11659
db814993
JL
11660 * Makefile.in: Add several missing "else true" clauses.
11661
e3512ac2
JL
11662 * collect2.c: Change DONT_DECLARE_SYS_SIGLIST to SYS_SIGLIST_DECLARED.
11663 * mips-tfile.c: Likewise.
11664 * gcc.texi: DONT_DECLARE_SYS_SIGLIST: Remove docs.
11665 * xm-linux.h (DONT_DECLARE_SYS_SIGLIST): Delete definition.
11666 * xm-freebsd.h, xm-bsd386.h, xm-sysv4.h, xm-sol2.h: Likewise.
11667 * configure.in: Check for sys_siglist declaration.
11668 * configure, config.in: Rebuilt.
11669
5d84b57e
JS
11670Mon Sep 1 08:04:07 1997 Joel Sherrill (joel@OARcorp.com)
11671
b57062ca 11672 * i386/go32-rtems.h, i386/rtems.h, i960/rtems.h,
5d84b57e
JS
11673 m68k/rtems.h, mips/rtems64.h, pa/rtems.h, rs6000/rtems.h,
11674 sparc/rtems.h (subtarget_switches): Added -mrtems as a switch.
11675 * i960/i960.h: Added SUBTARGET_SWITCHES macro.
11676 * rs6000/sysv4.h (extra_subtarget_switches): Added new
11677 macro EXTRA_SUBTARGET_SWITCHES.
11678 * configure.in (sh*-*-rtems*): New target.
11679 * sh/rtems.h: New file.
11680 * sh/sh.h: Added SUBTARGET_SWITCHES macro.
11681 * configure: Rebuilt.
11682
2599dcc7
JW
11683Sat Aug 30 22:54:26 1997 Jim Wilson <wilson@cygnus.com>
11684
11685 * unroll.c (calculate_giv_inc): Handle increment with code PLUS.
11686
3b7e5ef4
DE
11687Sat Aug 30 10:49:46 1997 David Edelsohn <edelsohn@mhpcc.edu>
11688
11689 * rs6000.md: Make DF fused-add operations pay attention to
11690 -mno-fused-add.
11691
5cd5f4a7
JW
11692Fri Aug 29 19:19:54 1997 Jim Wilson <wilson@cygnus.com>
11693
11694 * i386/xm-sysv4.h (DONT_DECLARE_SYS_SIGLIST): Define.
11695
63e7fe9b
JL
11696Fri Aug 29 16:13:51 1997 Jeffrey A Law (law@cygnus.com)
11697
11698 * pa.md (reload_peepholes): Make sure operand is a REG before
11699 examining REGNO. Allow general registers too.
11700
eb7b11fd
JW
11701Fri Aug 29 11:42:04 1997 Jim Wilson <wilson@cygnus.com>
11702
11703 * varasm.c (mark_constants): Don't look inside CONST_DOUBLEs.
11704
c760091a
PT
11705Fri Aug 29 09:33:20 1997 Philipp Thomas (kthomas@lxi165.gwdg.de)
11706
5cd5f4a7 11707 * dwarf2out.c (build_abbrev_table): Use xrealloc, not xmalloc
c760091a
PT
11708 to reallocate abbrev_die_table.
11709
57583338
JW
11710Thu Aug 28 15:14:46 1997 Jim Wilson <wilson@cygnus.com>
11711
11712 * m68k/m68k.md (iorsi_zexthi_ashl16): Disable.
11713
eae4b970
AS
117141997-08-27 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
11715
4f91a0f8
AS
11716 * Makefile.in (config.status): Depend on version.c
11717
eae4b970
AS
11718 * expr.h (insn_gen_function): Reenable prototype.
11719
11720 * expr.c (move_by_pieces_1, clear_by_pieces_1): Fix prototype of
11721 first parameter.
11722
00fc09e1
JW
11723Thu Aug 28 13:01:43 1997 Jim Wilson <wilson@cygnus.com>
11724
11725 * i386.c (ix86_expand_epilogue): Emit blockage instruction when pic.
11726
2601ebca
JL
11727Thu Aug 28 07:03:15 1997 Jeffrey A Law (law@cygnus.com)
11728
11729 * version.c: Bump for latest snapshot.
11730
11731 * bc-optab.c: Conditionally include stdlib.h.
11732 (free): Provide a declaration if NEED_DECLARATION_FREE.
11733 * tree.c (free): Provide a declaration if NEED_DECLARATION_FREE.
11734 * rtl.h (free): Remove declaration.
11735 * tree.h (free): Remvoe declaration.
11736
11737 * configure: Rebuilt.
11738
e5eb27e5
JL
11739Wed Aug 27 21:32:20 1997 Jeffrey A Law (law@cygnus.com)
11740
11741 * flags.h (flag_move_all_movables): Declare.
11742 (flag_reduce_all_givs): Likewise.
11743 * loop.c (move_movables): Handle flag_move_all_movables.
11744 (strength_reduce): Handle flag_reduce_all_givs.
11745 * toplev.c (flag_move_all_movables): Define.
11746 (flag_reduce_all_givs): Likewise.
11747 (f_options): Add -fmove-all-movables and -freduce-all-givs.
11748 * invoke.texi: Document new options, including alias stuff that
11749 wasn't included last time.
11750
d995a6dc
BM
11751Wed Aug 27 18:08:51 1997 Bob Manson (manson@cygnus.com)
11752
11753 * t-h8300: Use TARGET_LIBGCC2_CFLAGS instead of LIBGCC2_CFLAGS.
11754 * t-mn10200: Ditto.
11755 * t-vxsparc: Ditto.
11756 * t-vxworks68: Ditto.
11757 * t-vxworks960: Ditto.
11758 * t-vx29k: Ditto.
11759
ba64ca33
RH
11760Wed Aug 27 16:35:29 1997 Richard Henderson <rth@cygnus.com>
11761
11762 * alpha/xm-alpha.h (alloca): Define alloca to builtin_alloca for GNUC
11763 if not already defined, and USE_C_ALLOCA not defined.
11764
ca20876d
JW
11765Wed Aug 27 16:08:43 1997 Jim Wilson <wilson@cygnus.com>
11766
7818d6fc
JW
11767 * config.guess: Replace with script that uses ../config.guess.
11768
ca20876d
JW
11769 * config/alpha/elf.h (DEFAULT_VTABLE_THUNKS): New. Defined as 1
11770 if USE_GNULIBC_1 is not defined.
11771
704a6306
RH
11772Wed Aug 27 15:49:12 1997 Richard Henderson <rth@cygnus.com>
11773
11774 * alpha/elf.h (LINK_SPEC): Conditionalize on USE_GNULIBC_1.
11775 * config.guess: Recognize alpha-linux-gnulibc1.
11776 * configure.in (alpha-*-linux-gnulibc1): New target.
11777 (alpha-*-linux-gnu*): Don't build crtbegin/end.
11778
67f68fd2
JW
11779Wed Aug 27 11:52:58 1997 Jim Wilson <wilson@cygnus.com>
11780
11781 * m68k.md (iorsi3_internal): Readd ! TARGET_5200 check lost in
11782 last change.
11783
88016fb7
DE
11784Wed Aug 27 01:56:18 1997 Doug Evans <dje@seba.cygnus.com>
11785
11786 * loop.c (combine_movables): Earlier insns don't match later ones.
11787
bba17b29
L
11788Wed Aug 27 01:24:25 1997 H.J. Lu (hjl@gnu.ai.mit.edu)
11789
11790 * config/linux.h (CC1_SPEC): Define it only if not defined.
11791
11792 * config/m68k/linux.h (CC1_SPEC): Undefine it before include
11793 <linux.h>
11794
11795 * config/linux.h (DEFAULT_VTABLE_THUNKS): New. Defined as 1 if
11796 USE_GNULIBC_1 is not defined.
11797
33d2808b 11798 * config/rs6000/linux.h (DEFAULT_VTABLE_THUNKS): New. Defined as 1.
bba17b29
L
11799
11800 * config/sparc/linux.h (DEFAULT_VTABLE_THUNKS): New. Defined
11801 as 1 if USE_GNULIBC_1 is not defined.
11802
ed4044e0
JL
11803Wed Aug 27 00:49:14 1997 Jeffrey A Law (law@cygnus.com)
11804
f345de42
JL
11805 * reorg.c (dbr_schedule): Allow current_function_return_rtx
11806 to be something other than a REG.
11807 * function.c (expand_function_end): Fix current_function_return_rtx
11808 if it was a pseudo.
11809
ed4044e0
JL
11810 * t-freebsd (USER_H): Include EXTRA_HEADERS and LANG_EXTRA_HEADERS.
11811 * x-netbsd: Likewise
11812 * x-dgux (USER_H): Include EXTRA_HEADERS and LANG_EXTRA_HEADERS
11813 (INSTALL_HEADERS): Delete.
11814 * x-dguxbcs: Likewise.
11815 * x-hp3bsd44: Likewise
11816 * x-pa: Likewise.
11817
47d36400
BS
11818Wed Aug 27 00:30:00 1997 Bernd Schmidt <crux@pool.informatik.rwth-aachen.de>
11819
11820 * i386.md (pop): pop increments the stack pointer.
11821 (prologue_set_stack_ptr): New pattern.
11822 * i386.c (ix86_expand_prologue): Use prologue_set_stack_ptr
11823 instead of subsi3.
11824
fc79eafe
JW
11825Tue Aug 26 18:50:32 1997 Jim Wilson <wilson@cygnus.com>
11826
11827 * reload.c (find_reloads, case '0'): Reject matching a non-offsettable
11828 address where an offsettable address is required.
11829
c5da853f
MH
11830Tue Aug 26 17:54:56 1997 Michael P. Hayes (michaelh@ongaonga.chch.cri.nz>
11831
11832 * loop.c (check_final_value): Don't miss a biv increment in a
11833 parallel.
11834
d4ef15f2
JW
11835Tue Aug 26 12:03:49 1997 Jim Wilson (wilson@cygnus.com)
11836
11837 * dwarfout.c (dwarfout_file_scope_decl, case TYPE_DECL): Check
11838 TYPE_DECL_IS_STUB instead of DECL_NAME.
11839
10549cbd
JW
11840Mon Aug 25 23:27:10 1997 H.J. Lu (hjl@gnu.ai.mit.edu)
11841
11842 * objc/Make-lang.in ($(OBJC_O)): Also depend on cc1obj.
11843
11844Mon Aug 25 23:27:10 1997 Jim Meyering <meyering@eng.ascend.com>
11845
11846 * objc/Make-lang.in ($(OBJC_O)): Also depend on $(GCC_PASSES).
11847
484df988
JL
11848Mon Aug 25 13:12:24 1997 Jeffrey A Law (law@cygnus.com)
11849
11850 * haifa-sched.c (find_pre_sched_live): Remove #if 0 code.
11851 (find_post_sched_live): Likewise.
11852
11853 * haifa-sched.c (schedule_block): Remove old code to get arguments
11854 from hard regs into pseudos early.
11855
39dfb55a
JL
11856Mon Aug 25 08:55:00 1997 Jeffrey A Law (law@cygnus.com)
11857
11858 * version.c: Bump for new snapshot.
11859
11860 * local-alloc.c (update_equiv_regs): All the target to reject
11861 promotion of some REG_EQUAL to REG_EQUIV notes.
11862 * pa.h (DONT_RECORD_EQUIVALENCE): Define.
11863
11864 * pa.c (secondary_reload_class): (mem (mem ... )) does not need
11865 secondary reloads.
11866
11867 * pa.c (hppa_builtin_saveregs): Emit a blockage insn after the
11868 store of the argument registers.
11869
11870Mon Aug 25 08:39:02 1997 Craig Burley (burley@gnu.ai.mit.edu)
11871
11872 * fold-const.c (multiple_of_p): New function.
11873 (fold): Turn some cases of *_DIV_EXPR into EXACT_DIV_EXPR.
11874
d78778eb
JL
11875Mon Aug 25 01:47:41 1997 Jeffrey A Law (law@cygnus.com)
11876
11877 * expr.h (insn_gen_function): Temporarily remove prototype.
11878
feb9ea1a
JW
11879Sun Aug 24 17:22:21 1997 Jim Wilson <wilson@cygnus.com>
11880
11881 * Makefile.in (install-info): Don't cd into srcdir. Add srcdir to
11882 filenames. Use sed to extract base filename for install.
11883
b6ffe602
JC
11884Sat Aug 23 18:19:40 1997 John F. Carr <jfc@mit.edu>
11885
11886 * unroll.c (find_splittable_givs): Only share if two givs have the
11887 same add and multiply values.
11888
2ebfd230
JW
11889Sat Aug 23 14:36:27 1997 Jim Wilson <wilson@cygnus.com>
11890
11891 * m68k/next.h (GO_IF_INDEXABLE_BASE): Fix typo in undef.
11892 * m68k/m68kemb.h (LIB_SPEC): Add missing comment end before it.
11893
251ffdee
JL
11894Sat Aug 23 00:18:22 1997 Jeffrey A Law (law@cygnus.com)
11895
11896 * pa.c (pa_reorg): Always put begin_brtab and end_brtab insns
11897 around branch tables.
11898 * pa.md (begin_brtab, end_brtab): Only emit the .begin_brtab
11899 and .end_brtab directives if TARGET_GAS.
11900
19372aa1
JW
11901Fri Aug 22 14:05:55 1997 Jim Wilson <wilson@cygnus.com>
11902
27314274
JW
11903 * alias.c (true_dependence): Pass x_addr not x to varies.
11904
19372aa1
JW
11905 * acconfig.h (NEED_DECLARATION_CALLOC): Add.
11906 * configure.in: Add GCC_NEED_DECLARATION call for calloc.
11907 * rs6000/xm-rs6000.h (malloc, realloc, calloc, free): Delete
11908 declarations.
11909 * config.in, configure: Regenerate.
11910
2a2c8203
JC
11911Thu Aug 21 23:52:16 1997 John F. Carr <jfc@mit.edu>
11912
11913 * alias.c (find_base_value): Improve handling of PLUS, MINUS, and
11914 LO_SUM.
11915 (record_set): Handle LO_SUM like PLUS.
11916 (init_alias_analysis): When following chains of base addresses,
11917 do not stop on reaching a hard register.
11918
d80357b7
JL
11919Thu Aug 21 20:17:37 1997 Jeffrey A Law (law@cygnus.com)
11920
11921 * version.c: Bump for new snapshot.
11922
b4f32d7b
JW
11923Thu Aug 21 17:28:00 1997 Jim Wilson <wilson@cygnus.com>
11924
11925 * alpha.h (ARCH_ASM_FILE_START): Define.
11926 (ASM_FILE_START): Use ARCH_ASM_FILE_START.
11927 * osf12.h, osf2or3.h (ARCH_ASM_FILE_START): Redefine to null string.
11928
ca363bb6
JL
11929Thu Aug 21 10:22:19 1997 Jeffrey A Law (law@cygnus.com)
11930
11931 * Makefile.in (install-common): Put gcov comment at start of line.
11932
7557aa98
JL
11933Wed Aug 20 22:47:33 1997 Jeffrey A Law (law@cygnus.com)
11934
11935 * alias.c (init_alias_analysis): When simplifying the reg_base_value
11936 array, simplify entries for hard registers too.
11937
c34e3ae4
DL
11938Wed Aug 20 12:35:47 1997 Dave Love <d.love@dl.ac.uk>
11939
11940 * dwarf2.h (enum dwarf_call_frame_info): Remove trailing comma from
11941 list.
11942
e3eef942
JW
11943Wed Aug 20 11:58:33 1997 Jim Wilson <wilson@cygnus.com>
11944
11945 * stmt.c (start_cleanup_deferal, end_cleanup_deferal): Test
11946 block_stack before dereferencing it.
11947
11948Wed Aug 20 11:57:11 1997 Michael Meissner <meissner@cygnus.com>
246853b9
MM
11949
11950 * rs6000.h (ISSUE_RATE): Define instead of MACHINE_issue_rate.
11951
04f41951
JM
11952Tue Aug 19 17:10:56 1997 Jason Merrill <jason@yorick.cygnus.com>
11953
11954 * cplus-dem.c: Add 'extern' to prepends_underscore.
11955
e933cbe0
JL
11956Tue Aug 19 09:34:57 1997 Jeffrey A Law (law@cygnus.com)
11957
62d65906
JL
11958 * haifa-sched.c (ISSUE_RATE): Renamed from MACHINE_issue_rate.
11959 (get_issue_rate): Delete.
11960 * pa.h (ISSUE_RATE): Define.
11961
2da05a5b
JL
11962 * configure.in: Turn on haifa by default for the PA.
11963 * configure: Rebuilt.
11964 * pa.c (override_options): Accept -mschedule=7200 option.
11965 (pa_adjust_cost): No longer need to scale costs for newer
11966 processors.
11967 * pa.h (enum processor_type): Add PROCESSOR_7200.
11968 * pa.md: Revamp scheduling parameters to work better with
11969 haifa. Add scheduling parameters for the 7200.
11970
4f64eaca
JL
11971 * haifa-sched.c (move_insn): Reemit notes for SCHED_GROUP_P
11972 insns too.
11973 (schedule_block): When adjusting basic_block_{head,end}, account
11974 for movement of SCHED_GROUP_P insns too.
11975
11976 * haifa-sched.c (debug_dependencies): Fix thinko.
11977
e933cbe0
JL
11978 * Makefile.in (EXPECT, RUNTEST, RUNTESTFLAGS): Define.
11979 (site.exp, check, check-g++, check-gcc): New targets.
11980
4f64eaca 11981 * haifa-sched.c: Make lots of variables static.
61822835 11982
e9576d2c
L
11983Tue Aug 19 07:18:34 1997 H.J. Lu (hjl@gnu.ai.mit.edu)
11984
11985 * expr.h, real.h: Finish prototyping.
11986
61822835
JL
11987Mon Aug 18 21:49:02 1997 Jim Wilson <wilson@cygnus.com>
11988
11989 * reload.c (find_reloads): Add code to convert RELOAD_FOR_OPADDR_ADDR
11990 reloads to RELOAD_FOR_OPERAND_ADDRESS reloads.
11991 * reload1.c: Undo bugfix from Aug 11.
11992
f24b370a
MM
11993Mon Aug 18 17:39:02 1997 Mike Meissner <meissner@cygnus.com>
11994
11995 * configure.in ({powerpc,rs6000}*-*-*, --with-cpu): Remove single
11996 quotes around the name.
11997 * configure: Regenerate.
11998
1c4c5851
JW
11999Mon Aug 18 13:46:47 1997 Jim Wilson <wilson@cygnus.com>
12000
12001 * Makefile.in (stmp-multilib-sub): Fix typo in last change.
12002
71abb567
MH
12003Thu Aug 7 10:33:13 1997 Manfred Hollstein <manfred@s-direktnet.de>
12004
12005 * Makefile.in (sub-makes): Pass the current value of LANGUAGES down
12006 to sub-makes to avoid building more passes than the user might have
12007 requested on the command line.
12008
6042434a
DL
12009Sun Aug 17 15:42:17 1997 Dave Love (d.love@dl.ac.uk)
12010
12011 * configure.in: Expurgate `broken_install' (install is
12012 autoconfed).
12013
12014 * configure.lang: Substitute autoconfed ${INSTALL} (not currently
12015 relevant).
12016
38ea060f
JL
12017Sat Aug 16 01:08:12 1997 Jeffrey A Law (law@cygnus.com)
12018
12019 * loop.c (is_power_of_2, is_conditional_branch): Delete unused
12020 functions and declarations.
12021 (analyze_loop_iterations): Use condjump_p.
12022 (insert_bct): Likewise. Use exact_log2.
b57062ca 12023
f187056f
JL
12024Fri Aug 15 23:48:32 1997 Jeffrey A Law (law@cygnus.com)
12025
12026 * haifa-sched.c (find_post_sched_live): Call FREE_REG_SET as needed.
12027 (schedule_region): Likewise.
12028 (schedule_insns): Likewise.
12029
12030 * PROJECTS: Update with Haifa stuff.
12031
9af06254
JL
12032Fri Aug 15 12:49:56 1997 Jeffrey A Law (law@cygnus.com)
12033
12034 * version.c: Change the version string to look like:
11c21791 12035 egcs-2.90.00 970814 (gcc2-970802 experimental).
9af06254 12036
0945e937
JL
12037 * loop.c (is_conditional_branch): Make definition match declaration.
12038
9af06254
JL
12039 * gcc.c: Take out experimental snapshot warning message.
12040
ebc25a17
MM
12041Fri Aug 15 13:43:39 1997 Michael Meissner <meissner@cygnus.com>
12042
12043 * haifa-sched.c (debug_dependencies): Use GET_NOTE_INSN_NAME to
12044 print out the names of the notes. Print out the name of the insn
12045 that is not a note, and not an {,CALL_,JUMP_}INSN.
12046
610ce97e
JM
12047Wed Aug 13 17:32:38 1997 Jason Merrill <jason@yorick.cygnus.com>
12048
12049 * expr.c (expand_expr, case TARGET_EXPR): Call mark_addressable
12050 again for the slot after we give it RTL.
12051
992d1248
DE
12052Wed Aug 13 01:03:37 1997 Doug Evans <dje@canuck.cygnus.com>
12053
12054 * configure.in (haifa configury): Fix typo.
12055 * configure: Regenerate.
12056
7bb6fbd1
JL
12057Tue Aug 12 10:20:36 1997 Jeffrey A Law (law@cygnus.com)
12058
12059 * version.c: Bump version to "gcc-3.0.0 970802 experimental".
12060
12061 * gcc.info*: Rebuilt.
12062
12063 * COPYING.g77, README.g77: New files.
12064 * real.c (ereal_unto_float, ereal_unto_double): New functions.
12065 * real.h (ereal_unto_float, ereal_unto_double): Declare them.
12066 (REAL_VALUE_UNTO_TARGET_DOUBLE, REAL_VALUE_UNTO_TARGET_SINGLE): Define.
12067
8c660648
JL
12068Mon Aug 11 14:50:55 1997 Jeffrey A Law (law@cygnus.com)
12069
12070 * Integrate Haifa instruction scheduler.
12071 * Makefile.in (ALL_CFLAGS): Add SCHED_CFLAGS. Prefix all references
12072 to sched with $(SCHED_CFLAGS.
12073 * configure.in: Handle --enable-haifa.
12074 * configure: Rebuilt.
12075 * flags.h: Add new flags for haifa instruction scheduler.
12076 * genattrtab.c (expand_units): For haifa, don't subtract one
12077 when computing blockage.
12078 * toplev.h (flag_schedule_interblock): Haifa scheduler flag.
12079 (flag_schedule_speculative): Ditto.
12080 (flag_schedule_speculative_load): Ditto.
12081 (flag_schedule_speculative_load_dangerous): Ditto.
12082 (flag_schedule_reverse_before_reload): Ditto.
12083 (flag_schedule_reverse_after_reload): Ditto.
12084 (flag_branch_on_count_reg): Ditto.
12085 (f_options): Add Haifa switches.
12086 (main): Turn off some Haifa options if appropriate macro is
12087 defined. Process Haifa switches.
12088 * unroll.c (iteration_info): No longer static, since Haifa
12089 scheduler uses it.
12090 (unroll_loop): Inform HAIFA scheduler about loop unrolling factor.
12091 * unroll.c (unroll_loop): Set loop_unroll_iter, loop_start_value.
12092 * loop.h (loop_unroll_factor, loop_number): Add HAIFA decls.
12093 * loop.h (loop_initial_value,loop_unroll_iter): New globals.
12094 * loop.c (loop_optimize): If HAIFA is defined, allocate additional
12095 storage for the Haifa scheduler.
12096 (mark_loop_jump): If HAIFA defined, set LABEL_OUTSIDE_LOOP_P and
12097 LABEL_NEXTREF.
12098 (strength_reduce): If HAIFA and HAVE_decrement_and_branch_on_count
12099 are defined, call analyze_loop_iterations and insert_bct to use
12100 countdown loops.
12101 (record_giv): Refine test for jumps out of loops if HAIFA is
12102 defined.
12103 (analyze_loop_iterations): New function to identify if we can use
12104 a countdown loop.
12105 (insert_bct): Insert countdown loop.
12106 (instrument_loop_bct): Low level code to insert countdown loop.
12107 (loop_number): Calculate UID of loop.
12108 (indirect_jump_in_function_p): Return true if an indirect jump is
12109 in the function.
12110 (is_power_of_2): Return true if value is a power of 2.
12111 (is_conditional_branch): Return true if insn is a conditional
12112 jump.
12113 (fix_bct_param): Process -fbct-{min,max}-N switches.
12114 (check_bct_param): Return true if loop should be instrumented.
12115 * loop.c (loop_initial_value,loop_unroll_iter): New globals.
12116 (loop_optimize): Initialize.
12117 (get_condition_for_loop): Ditto.
12118 * loop.c (strength_reduce): Inside of code that uses #ifdef
12119 HAVE_decrement_and_branch_on_count code, test it to make sure the
12120 condition is true.
12121 (instrument_loop_bct): Ditto.
12122 * haifa-sched.c: New file.
b57062ca 12123
8c660648
JL
12124
12125 * Integrate regmove pass.
12126 * Makefile.in (OBJS): Add regmove.o
12127 (regmove.o): Add dependencies.
12128 * flow.c (find_use_as_address): No longer static.
12129 * rtl.h (find_use_as_address): Declare.
12130 * toplev.c (regmove_dump, flag_regmove): Define.
12131 (f_options): Add -fregmove.
12132 (regmove_dump_file, regmove_time): Define.
12133 (fatal_insn): Close the regmove dump file.
12134 (compile_file): Initialize regmove_time; open/close the regmove dump
12135 file as needed. Print regmove time as needed.
12136 (rest_of_compilation): Run regmove pass if requested, dump
12137 RTL after regmove if requested.
12138 (main): If -O2 or more, turn on regmove. Handle dump switches.
12139 * regmove.c: New file.
b57062ca 12140
aa32d841
JL
12141Mon Aug 11 14:15:02 1997 Jeffrey A Law (law@cygnus.com)
12142
12143 * Integrate tlink patch from jason@cygnus.com
12144 * gcc.c (SWITCH_TAKES_ARG): Add 'V', 'B' and 'b'.
12145 (process_command): Increment n_switches for them. Don't discard
12146 their args. Validate them.
12147 (main): Escape " marks when creating COLLECT_GCC_OPTIONS.
12148 From Rohan Lenard.
12149 (process_command): Set include_prefixes from COMPILER_PATH.
12150 (main): Set COLLECT_GCC_OPTIONS sooner.
12151 * confiugre.in: Link ../ld/ld.new to collect-ld rather than real-ld.
12152 * tlink.c, hash.c, hash.h: New files.
12153 * Makefile.in (USE_COLLECT2): Always use collect2.
12154 (collect2): Depend on and link in hash.o and tlink.o.
12155 (tlink.o, hash.o): Add dependencies.
12156
5fa39bfe
JL
12157Mon Aug 11 10:04:49 1997 Jeffrey A Law (law@cygnus.com)
12158
9ae8ffe7
JL
12159 * Integrate alias analysis changes from jfc@mit.edu
12160 * Makefile.in (OBJS): Add alias.o
12161 (alias.o): Add dependencies.
12162 * alias.c: New file.
12163 * sched.c: Remove alias analysis code. It lives in alias.c now.
9ae8ffe7 12164 (sched_analyze_2): Add new arguments to true_dependence.
9ae8ffe7
JL
12165 (schedule_insns): Always call init_alias_analysis.
12166 * calls.c (expand_call): Note calls to malloc, calloc, and realloc;
12167 mark return value from such functions as a pointer and keep track of
12168 them for alias analysis. If a return value from a function is a
12169 pointer, mark it as such.
12170 * combine.c (distribute_notes): Handle REG_NOALIAS.
12171 * cse.c (struct write_data): Delete. No longer needed.
12172 (invalidate): Don't call set_nonvarying_address_components anymore.
12173 Use true_dependence to decide if an entry should be removed from
12174 the hash table.
12175 (invalidate_memory): Remove WRITES argument, simplify appropriately.
12176 Fix all callers.
12177 (note_mem_written): Similarly for WRITE_PTR argument.
12178 (invalidate_from_clobbers): Similarly for W argument.
12179 (invalidate_for_call): Remove memory elements from the hash table.
12180 (refers_to_mem_p, cse_rtx_addr_varies_p): Deleted.
12181 (cse_rtx_varies_p): New function. Derived from old
12182 cse_rtx_addr_varies_p.
12183 (cse_insn): Remove WRITES_MEMORY and INIT variables and all references.
12184 Don't call note_mem_written anymore. Stack pushes invalidate the stack
12185 pointer if PUSH_ROUNDING is defined. No longer need to call
12186 cse_rtx_addr_varies_p to decide if a MEM should be invalidated.
12187 (skipped_writes_memory): Remove variable.
12188 (invalidate_skipped_set): Simplify and wewrite to use invalidate_memory.
12189 (invalidate_skipped_block): Simplify for new alias analysis code.
12190 (cse_set_around_loop): Likewise.
12191 (cse_main): Call init_alias_analysis.
12192 * flags.h (flag_alias_check, flag_argument_noalias): Declare.
12193 * toplev.c (flag_alias_check, flag_argument_noalias): Define.
12194 (f_options): Add new alias checking arguments.
12195 (main): Set flag_alias_check when optimizing.
12196 * local_alloc (validate_equiv_mem_from_store): Add new arguments
12197 to true_dependence.
12198 (memref_referenced_p): Likewise.
12199 * loop.c (NUM_STORES): Increase to 30.
12200 (prescan_loop): Only non-constant calls set unknown_address_altered.
12201 (invariant_p): Add new arguments to true_dependence.
12202 (record_giv): Initialize unrolled and shared fields.
12203 (emit_iv_add_mult): Call record_base_value as needed.
12204 * loop.h (struct induction): Add unrolled and shared fields.
12205 * unroll.c (unroll_loop): Call record_base_value as needed.
12206 (copy_loop_body): Likewise.
12207 (final_biv_value): Likewise.
12208 (final_giv_value): Likewise.
12209 (find_splittable_regs): Likewise. Only create one new pseudo
12210 if we have multiple address GIVs that were combined with the same
12211 dst_reg GIV. Note when a new register is created due to unrolling.
12212 * rtl.c (reg_note_name): Add REG_NOALIAS.
12213 * rtl.h (enum reg_note): Similarly.
12214 (rtx_varies_p, may_trap_p, side_effects_p): Declare.
12215 (volatile_refs_p, volatile_insn_p, remove_note): Likewise.
12216 (note_stores, refers_to_regno_p, reg_overlap_mentioned_p): Likewise.
12217 (true_dependence, read_dependence, anti_dependence): Likewise.
12218 (output_dependence, init_alias_analysis, end_alias_analysis): Likewise.
12219 (mark_user_reg, mark_reg_pointer): Likewise.
12220
12221
12222 * Integrate reload bugfix from Wilon which enables the PA port
5fa39bfe 12223 to bootstrap again.
38e01259 12224 * reload1.c (reload): Sum needs for both OPADDR_ADDR and
5fa39bfe
JL
12225 OPERAND_ADDRESS when computing how many registers an insn needs.
12226 (reload_reg_free_p): OPADDR_ADDR and OPERAND_ADDRESS reloads do
12227 conflict.
12228 (reload_reg_free_before_p): Treat OPERAND_ADDRESS reloads just like
12229 OPADDR_ADDR reload.
12230 (reload_reg_reaches_end_p): For RELOAD_FOR_OPADDR_ADDR insns, registers
12231 in reload_reg_use_in_op_addr do not reach the end.
12232 do not reach the end.
12233 (reloads_conflict): RELOAD_FOR_OPADDR_ADDR conflicts with
12234 RELOAD_FOR_OPERAND_ADDRESS.
12235
12236Sun Aug 10 12:00:20 1997 Jeffrey A Law (law@cygnus.com)
12237
2dcfcb56 12238 * egcs project officially starts.
52267fcb
JM
12239
12240Local Variables:
12241add-log-time-format: current-time-string
12242End:
This page took 1.595936 seconds and 5 git commands to generate.