]> gcc.gnu.org Git - gcc.git/blob - gcc/ChangeLog
c-decl.c (struct language_function): Renamed from struct c_function.
[gcc.git] / gcc / ChangeLog
1 Sat Sep 4 18:01:45 1999 Bernd Schmidt <bernds@cygnus.co.uk>
2
3 * c-decl.c (struct language_function): Renamed from struct c_function.
4 Delete elt NEXT.
5 (c_function_chain): Delete.
6 (push_c_function_context): New arg F. Don't warn about nested
7 functions here. Fill LANGUAGE elt of F. Delete code to update
8 c_function_chain. Don't call push_function_context.
9 (pop_c_function_context): New arg F. Restore from there instead of
10 from c_function_chain. Don't call pop_function_context. Clear out
11 LANGUAGE field of F when done.
12 * c-lang.c: Include "function.h"
13 (lang_init): Initialize save_lang_status and restore_lang_status.
14 * c-parse.in (nested_function, nested_function_notype): Warn about
15 nested functions. Call push_function_context/pop_function_context
16 instead of the _c_ variants.
17 * c-tree.h (push_c_function_context, pop_c_function_context): Update
18 prototype.
19 * Makefile.in (c-lang.o): Update dependencies.
20
21 * emit-rtl.c (init_emit): Use xmalloc to allocate regno_reg_rtx,
22 regno_pointer_flag, regno_pointer_align.
23 (gen_reg_rtx): Use xrealloc to enlarge them.
24 (free_emit_status): New function.
25 * function.c (mark_machine_status, mark_lang_status): New variables.
26 (assign_stack_local_1): Renamed from assign_outer_stack_local. Merge
27 in some bits from assign_stack_local. All callers changed to use new
28 name.
29 (assign_stack_local): Just call assign_stack_local_1.
30 (free_after_compilation): New function.
31 (put_reg_into_stack): Simplify to always call assign_stack_local_1.
32 (trampoline_address): Likewise.
33 (assign_parms): Use xcalloc/xrealloc to allocate parm_reg_stack_loc.
34 (prepare_function_start): Explicitly clear some more variables.
35 * function.h (struct function): New elt can_garbage_collect.
36 (mark_machine_status, mark_lang_status): Declare variables.
37 (free_after_compilation, free_emit_status, free_varasm_status,
38 init_varasm_status): Declare functions.
39 * toplev.c (rest_of_compilation): Call free_after_compilation when
40 done with the current function.
41 * varasm.c (free_varasm_status): New function.
42
43 Sat Sep 4 17:15:13 1999 Richard Henderson <rth@cygnus.com>
44
45 * sparc.h (EXPAND_BUILTIN_VA_START): Define.
46 (EXPAND_BUILTIN_VA_ARG): Define.
47 * sparc.c (sparc_va_start): New.
48 (sparc_va_arg): New.
49
50 Sun Sep 5 11:11:59 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
51
52 * config/c4x/c4x.h (DBR_OUTPUT_SEQEND): Use XVECEXP not XEXPs.
53
54 Sun Sep 5 10:13:19 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
55
56 * config/c4x/c4x.h (CALLER_SAVE_PROFITABLE): Disable.
57
58 Sat Sep 4 13:44:01 1999 Mark Mitchell <mark@codesourcery.com>
59
60 * Makefile.in (C_AND_C_OBJS): Add gcc-callbacks.o.
61 (OBJS): Add $(GGC).
62 (ggc-callbacks.o): New target.
63 * ggc-callbacks.c: New file.
64
65 Sat Sep 4 22:53:13 1999 Bernd Schmidt <bernds@cygnus.co.uk>
66
67 * expr.h: Collapse individual optab and libfunc vars to arrays.
68 (optab_index, libfunc_index): New enumerations.
69 (optab_table, libfunc_table): New arrays.
70 Add accessor macros for both.
71
72 * optabs.c (optab_table, libfunc_table): New.
73 Delete declarations for individual optab and libfunc vars.
74
75 Sat Sep 4 12:57:17 1999 Richard Henderson <rth@cygnus.com>
76
77 * i386/sco5.h (RETURN_POPS_ARGS): Name change ix86_return_pops_args.
78
79 Sat Sep 4 11:19:52 1999 Richard Henderson <rth@cygnus.com>
80
81 * Makefile.in (GGC, GGC_LIB): New.
82 (HOST_RTL): Include ggc-none.o.
83 (ggc-simple.o): New target.
84 (ggc-none.o): Likewise.
85 * tree.h (tree_common): Add gc_mark.
86 * rtl.h (struct rtx_def): Steal a bit from code to make gc_mark.
87 (struct rtvec_def): Add gc_mark.
88 * emit-rtl.c (global_rtl): Update static initializers to contain
89 enough initializers.
90 * ggc.h, ggc-none.c, ggc-simple.c: New files.
91 * toplev.c (gc_time): New variable.
92 (all_time): New variable.
93 (compile_file): Print gc time.
94 (print_time): Calculate percentage of the whole.
95
96 Sat Sep 4 13:11:01 1999 Bernd Schmidt <bernds@cygnus.co.uk>
97
98 Change obstack memory management and varasm constant pool handling so
99 that nested functions are treated like any other functions.
100 * function.c (init_machine_status): New variable.
101 (push_function_context_to): Set contains_functions for the outer
102 function. Don't call save_varasm_status.
103 (pop_function_context_from): Don't call restore_varasm_status. Don't
104 set current_function_contains_functions.
105 (prepare_function_start): Call init_varasm_status rather than
106 init_const_rtx_hash_table. Call (*init_machine_status) if the pointer
107 is non-null.
108 * function.h (struct function) Add field varasm. Delete fields
109 inline_obstacks, inl_emit, const_rtx_hash_table, first_pool,
110 last_pool, const_rtx_sym_hash_table, pool_offset, const_double_chain.
111 (init_machine_status): Declare.
112 (save_varasm_status, restore_varasm_status): Delete declarations.
113 (save_tree_status, restore_tree_status): Delete last argument.
114 * integrate.c (initialize_for_inline): Lose arg COPY. Delete copying
115 code. All callers changed.
116 (copy_decl_list, copy_decl_tree, copy_decl_rtls, copy_for_inline,
117 save_constants_in_decl_trees, restore_constants, save_constants,
118 save_for_inline_eh_labelmap, save_for_inline_copying): Delete
119 functions.
120 (inlining): New variable.
121 (reg_map, label_map, insn_map, orig_asm_operands_vector,
122 copy_asm_operands_vector, copy_asm_constraints_vector): Delete
123 variables.
124 (save_for_inline_nocopy): Don't save constants.
125 Don't set inl_emit field in current_function.
126 (expand_inline_function): Use emit field, not inl_emit, of the inlined
127 function. Set new variable inlining before
128 calling copy_rtx_and_substitute.
129 (copy_rtx_and_substitute): In MEM and SYMBOL_REF cases, handle
130 constant pool references if inlining is nonzero.
131 Delete ADDRESS and (most of the) CONST cases.
132 (output_inline_function): Save and restore current_function/
133 current_function_decl. Delete restore_constants code. Don't call
134 init_const_rtx_hash_table.
135 * output.h (init_const_rtx_hash_table): Don't declare.
136 * rtl.h (struct function): Declare.
137 (get_pool_constant_for_function, get_pool_mode_for_function): Declare.
138 * toplev.c (rest_of_compilation): Don't treat nested functions or
139 functions containing them specially. Delete all code to deal with
140 save_for_inline_copying.
141 * tree.c (toplev_inline_obstacks, extra_inline_obstacks,
142 inline_obstacks): Delete variables.
143 (save_tree_status): Lose arg CONTEXT. All callers changed.
144 Simply allocate a new function_maybepermanent_obstack for the new
145 function, delete all the special cases.
146 Don't save inline_obstacks.
147 (restore_tree_status): Lose arg CONTEXT. All callers changed.
148 Delete special handling for function_maybepermanent_obstack; simply
149 free it if empty.
150 Don't restore inline_obstacks.
151 (permanent_allocation): Delete code that frees inline_obstacks.
152 (print_inline_obstack_statistics): Delete function.
153 (dump_tree_statistics): Don't call it.
154 * varasm.c (struct varasm_status): New.
155 (const_rtx_hash_table, const_rtx_sym_hash_table, first_pool,
156 last_pool, pool_offset, const_double_chain): Delete global
157 variables, replace with accessor macros.
158 (immed_double_const): Don't walk const_double_chain outside a
159 function, but don't treat nested functions specially anymore.
160 (immed_real_const_1): Likewise.
161 (clear_const_double_mem): Don't treat nested functions specially.
162 (init_const_rtx_hash_table): Deleted, code moved to init_varasm_status.
163 (save_varasm_status, restore_varasm_status): Delete functions.
164 (init_varasm_status): New function.
165 (force_const_mem): Don't treat nested functions specially.
166 (find_pool_constant): Accept new arg F, search for constants in
167 that function's pool rather than the current one. All callers
168 changed.
169 (get_pool_constant_for_function, get_pool_mode_for_function): New
170 functions.
171
172 * i386.c (init_386_machine_status): New function, mostly from
173 clear_386_stack_locals.
174 (struct machine_functions): Rename element names to avoid name
175 clashes.
176 (pic_label_rtx, pic_label_name, i386_stack_locals): New accessor
177 macros, replacing global variables.
178 (clear_386_stack_locals, save_386_machine_status,
179 restore_386_machine_status): Delete functions.
180 (override_options): Initialize init_machine_status.
181 * i386.h (INIT_EXPANDERS): Delete macro.
182 (save_386_machine_status, restore_386_machine_status,
183 clear_386_stack_locals): Delete declarations.
184
185 Sat Sep 4 16:56:28 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
186
187 * config/c4x/c4x.md (rptb_init): Renamed from *rptb_init.
188 (doloop_begin): Simplify pattern and use emit_jump_insn.
189 (doloop_end): Simplify pattern, switch operand order,
190 and use emit_jump_insn.
191
192 Fri Sep 3 19:02:38 1999 Bernd Schmidt <crux@pool.informatik.rwth-aachen.de>
193
194 * function.h (struct function): Add new element LANGUAGE.
195 (save_lang_status): Declare new variable.
196 (restore_lang_status): Likewise.
197 * function.c (save_lang_status): Define.
198 (restore_lang_status): Likewise.
199 (push_function_context_to): Call language-specific save function.
200 (pop_function_context_from): Call language-specific restore function.
201
202 Fri Sep 3 01:16:18 1999 Alasdair Baird <alasdair@wildcat.demon.co.uk>
203
204 * i386.md (movsf_1): Check REG_P before use of REGNO.
205 (movdf_1): Likewise.
206 (movxf_1): Likewise.
207 (extendsfdf2): Likewise.
208 (extendsfxf2): Likewise.
209 (extenddfxf2): Likewise.
210
211 Sat Sep 4 11:37:15 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
212
213 * config/c4x/c4x.c (c4x_emit_move_sequence): Do not force large
214 constants into memory.
215 (c4x_shiftable_constant): New function.
216 * config/c4x/c4x.c (LEGITIMATE_CONSTANT_P): Allow any CONST_INT.
217 (c4x_shiftable_constant): Declare.
218 * config/c4x/c4x.md (loadqi_big_constant, loadhi_big_constant,
219 ashlqi3_noclobber): Add new patterns and associated splitters.
220
221 Fri Sep 3 16:22:17 1999 Richard Henderson <rth@cygnus.com>
222
223 * dbxout.c (dbxout_init): Use xcalloc instead of xmalloc+bzero.
224 * dwarf2out.c (dwarf2out_frame_init): Likewise.
225 * final.c (shorten_branches): Likewise.
226 * global.c (global_alloc): Likewise.
227 * haifa-sched.c (build_control_flow): Likewise.
228 * stmt.c (check_for_full_enumeration_handling): Likewise.
229 (estimate_case_costs): Likewise.
230
231 Fri Sep 3 15:49:56 1999 Mark Mitchell <mark@codesourcery.com>
232
233 * rtl.h (RTL_CHECKC2): Fix typo in last change.
234
235 Fri Sep 3 15:13:34 1999 Richard Henderson <rth@cygnus.com>
236
237 * flow.c (propagate_block): Use XEXP not SET_DEST for a USE.
238 (recompute_reg_usage): Likewise.
239 * rtlanal.c (find_regno_fusage): Likewise.
240
241 * rtl.c (rtl_check_failed_code1): New function.
242 (rtl_check_failed_code2): New.
243 * rtl.h (RTL_CHECK1, RTL_CHECK2, RTVEC_ELT): Parenthesize args.
244 (RTL_CHECKC1, RTL_CHECKC2): New.
245 (XC*): New accessor macros.
246 (NOTE_*, LABEL_NAME, LABEL_NUSES, ADDRESSOF_REGNO): Use them.
247 (ADDRESSOF_DECL, JUMP_LABEL, LABEL_REFS, LABEL_NEXTREF): Likewise.
248 (CONTAINING_INSN, REGNO, INTVAL, SUBREG_REG, SUBREG_WORD): Likewise.
249 (ASM_OPERANDS_*, MEM_ALIAS_SET, SET_SRC, SET_DEST): Likewise.
250 (TRAP_*, RANGE_INFO_*): Likewise.
251
252 Fri Sep 3 15:10:20 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
253
254 * Makefile.in (tlink.o): Don't depend on toplev.h.
255
256 * collect2.c (c_file, o_file, export_file, import_file, ldout,
257 output_file, nm_file_name, ldd_file_name, strip_file_name,
258 c_file_name, prefix_list, libexts, is_ctor_dtor, find_a_file,
259 add_prefix, prefix_from_env, prefix_from_string, do_wait,
260 fork_execute, maybe_unlink, add_to_list,
261 extract_init_priority, write_list, dump_list,
262 dump_prefix_list, write_list_with_asm, write_c_file,
263 write_c_file_stat, write_c_file_glob, scan_prog_file,
264 scan_libraries, is_in_list, resolve_lib_name, use_import_list,
265 ignore_library, extract_string, notice, dump_file, target_machine,
266 collect_wait, collect_execute, libname, locatelib, aix_std_libs,
267 read_file, print_load_command): Constify a char*.
268 (fdopen, error, fatal, fatal_perror): Don't prototype.
269 (my_strerror): Remove. All callers use xstrerror instead.
270 (xcalloc, xmalloc, xrealloc, xstrdup, putenv): Remove definitions.
271 (main): Add prototype. Constify lots of char* ptrs. Change calls
272 to xcalloc/strcpy/strcat/... to one call to concat.
273 (main, scan_prog_file, scan_libraries): Use an intermediate
274 `const char **' to build an argv array.
275 (mapfile, libselect, libcompare, locatelib): Add prototypes.
276
277 * collect2.h (collect_execute, collect_wait, dump_file,
278 file_exists): Constify a char*.
279 (ldout, c_file_name, temporary_obstack, permanent_obstack,
280 temporary_firstobj, vflag, debug): Add extern declarations.
281 (fancy_abort, error, notice, fatal, fatal_perror): Add prototypes.
282
283 * tlink.c: Don't include toplev.h.
284 (vflag, debug, ldout, c_file_name, temporary_obstack,
285 permanent_obstack, temporary_firstobj): Don't declare.
286 (tlink_execute, frob_extension, symbol_hash_lookup,
287 file_hash_lookup, demangled_hash_lookup, tlink_init, freadsym,
288 recompile_files, read_repo_files, demangle_new_symbols,
289 scan_linker_output): Constify a char*.
290 (symbol_hash_newfunc, file_hash_newfunc, demangled_hash_newfunc,
291 do_tlink): Mark parameters with ATTRIBUTE_UNUSED.
292
293 Fri Sep 3 18:09:24 1999 Andrew Haley <aph@cygnus.com>
294
295 * config/m68k/m68kelf.h: Set USE_GAS; this makes gcc generate jbsr
296 (relative) rather than jsr (absolute) subroutine call insns.
297 * config/m68k/m68k-coff.h: Ditto.
298
299 Fri Sep 3 17:24:31 1999 Richard Earnshaw <rearnsha@arm.com>
300
301 * arm.c (note_invalid_constants): No need to ignore ASMs, we can
302 now rework these too.
303 (arm_reorg): If an insn can't reach the end of the current pool,
304 ensure that we emit that pool before the insn.
305
306 Fri Sep 3 09:14:32 1999 Marc Espie <espie@tetto.liafa.jussieu.fr>
307
308 * tlink.c (scan_linker_output): Skip the initial underscore in
309 a mangled name if appropriate.
310
311 Fri Sep 3 01:28:33 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
312
313 * objc/objc-act.c (objc_tree_code_type, objc_tree_code_length,
314 objc_tree_code_name, synth_id_with_class_suffix, warn_with_method,
315 error_with_ivar, gen_declarator, create_builtin_decl,
316 my_build_string, generate_descriptor_table, generate_ivars_list,
317 generate_dispatch_table, check_protocols, TAG_GETCLASS,
318 TAG_GETMETACLASS, TAG_MSGSEND, TAG_MSGSENDSUPER, TAG_EXECCLASS,
319 dump_base_name, lang_decode_option, build_encode_expr,
320 start_class, finish_class, encode_pointer, really_start_method,
321 gen_declaration, dump_interface, handle_class_ref, handle_impent):
322 Constify.
323 (objc_demangle, objc_printable_name, generate_struct_by_value_array):
324 Add static prototypes.
325 (build_objc_string_decl, build_selector_reference_decl,
326 encode_bitfield, build_class_reference_decl): Remove unused
327 parameter, all callers changed.
328 (maybe_objc_method_name): Mark with ATTRIBUTE_UNUSED.
329 (objc_printable_name): Likewise. Change second parameter to type int.
330 (init_objc): Use memcpy, not bcopy, to avoid casts.
331
332 Thu Sep 2 21:49:52 1999 Richard Henderson <rth@cygnus.com>
333
334 * reload1.c (eliminate_regs_in_insn): Avoid eliminating the
335 reg notes on a deleted insn.
336 * gcse.c (hash_expr_1): Use XWINT on a CONST_DOUBLE.
337
338 Thu Sep 2 20:18:12 1999 Jeffrey A Law (law@cygnus.com)
339
340 * i386.c (ix86_attr_length_default): Handle TYPE_FXCH.
341
342 Thu Sep 2 22:00:08 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
343
344 * stmt.c (expand_asm_operands): Fix index into inout_mode when
345 reading it.
346
347 Thu Sep 2 13:00:48 1999 Richard Henderson <rth@cygnus.com>
348
349 * stmt.c (expand_asm_operands): Invoke MD_ASM_CLOBBERS if present.
350 * tm.texi (MD_ASM_CLOBBERS): Document it.
351
352 Thu Sep 2 10:22:40 1999 Richard Henderson <rth@cygnus.com>
353
354 * dwarf2out.c (dwarf2out_line): Constify `lastfile'.
355 * except.c (expand_rethrow): Remove unused variable.
356 * expr.c (do_jump_by_parts_greater_rtx): Likewise.
357 * flow.c (replace_insns): Likewise.
358 (create_edge_list, verify_edge_list): Likewise.
359 * gcse.c (cprop_cc0_jump): Protect declaration with HAVE_cc0.
360
361 * genemit.c (gen_expand): Only emit `operands[N]' decl if there
362 is special code to run.
363 (main): Don't define operands to emit_operand.
364 * genrecog.c (main): Don't emit an empty peephole2_insn function.
365
366 * rtl.h (NOTE_BASIC_BLOCK): Use X0BBDEF.
367
368 * alpha/alpha.h (normal_memory_operand): Declare.
369 (reg_no_subreg_operand): Declare.
370 * alpha/elf.h (ASM_DECLARE_OBJECT_NAME): Use HOST_WIDE_INT_PRINT_DEC.
371
372 Thu Sep 2 10:19:20 1999 Richard Henderson <rth@cygnus.com>
373
374 * c-parse.in (compstmt_primary_start): New, broken out of first
375 part of compstmt handling in primary.
376 (primary): Use it. Add an error clause.
377 (compstmt_nostart): Renamed from compstmt; remove all
378 initial invocations of compstmt_start.
379 (compstmt): New.
380
381 Thu Sep 2 01:35:50 1999 Marc Espie <espie@cvs.openbsd.org>
382
383 * protoize.c (gen_aux_info_file): Let pexecute call choose_temp_base if
384 needed.
385
386 Thu Sep 2 00:43:59 1999 Finn Hakansson <finn@axis.com>
387
388 * combine.c (simplify_shift_const): Remove extra semicolon.
389 * dwarf2out.c (remove_AT): Likewise.
390 * expmed.c (expand_mult): Likewise.
391 * gcov.c (create_program_flow_graph): Likewise.
392 * reorg.c (mostly_true_jump): Likewise.
393
394 Thu Sep 2 00:06:43 1999 Jeffrey A Law (law@cygnus.com)
395
396 * fold-const.c (fold_range_test): Do not try to fold the range
397 test if the rhs or lhs has side effects.
398
399 * combine.c (simplify_rtx): Recognize another case of a synthesized
400 sign extension.
401
402 * varasm.c (mark_constant_pool): When marking indirect references,
403 only look at SYMBOL_REFs.
404
405 * except.c (expand_fixup_region_end): Do not peek at
406 INSN_UID (node->entry->outer_context) for flag_new_exceptions.
407
408 Thu Sep 2 13:52:53 1999 Geoffrey Keating <geoffk@cygnus.com>
409
410 * flags.h: New variables align_loops, align_loops_log,
411 align_jumps, align_jumps_log, align_labels, align_labels_log,
412 align_functions, align_functions_log.
413 * toplev.c: Define them.
414 (f_options): Handle -falign-* when they have no argument.
415 (main): Add logic to set variables for -falign-functions,
416 -falign-jumps, -falign-labels, -falign-loops.
417 Make it -fsched-verbose=<n> and -finline-limit=<n>.
418 (display_help): Change help to match options.
419 * final.c (LABEL_ALIGN): Default to align_labels_log.
420 (LABEL_ALIGN_MAX_SKIP): Default to align_labels-1.
421 (LOOP_ALIGN): Default to align_loops_log.
422 (LOOP_ALIGN_MAX_SKIP): Default to align_loops-1.
423 (LABEL_ALIGN_AFTER_BARRIER): Default to align_jumps_log.
424 (LABEL_ALIGN_AFTER_BARRIER_MAX_SKIP): Default to align_jumps-1.
425 * varasm.c (assemble_start_function): Handle align_functions.
426
427 * config/sparc/sparc.h: Don't declare sparc_align_*.
428 Don't provide LABEL_ALIGN_AFTER_BARRIER or LOOP_ALIGN.
429 (DEFAULT_SPARC_ALIGN_FUNCS): Delete; take functionality into
430 sparc.c.
431 (FUNCTION_BOUNDARY): Fix incorrect use---it's not just a request,
432 it's a promise.
433 * config/sparc/sparc.c: Delete sparc_align_loops,
434 sparc_align_jumps, sparc_align_funcs and the corresponding string
435 variables.
436 (sparc_override_options): Default align_functions on ultrasparc.
437 Delete -malign-* handling.
438
439 * config/mips/mips.c (override_options): On 64-bit targets,
440 try to align code to 64-bit boundaries.
441 (print_operand): New substitution, %~,
442 which aligns labels to align_labels_log.
443 * config/mips/mips.md (div_trap_normal): Use %~.
444 (div_trap_mips16): Likewise.
445 (abssi): Likewise.
446 (absdi2): Likewise.
447 (ffssi2): Likewise.
448 (ffsdi2): Likewise.
449 (ashldi3_internal): Likewise.
450 (ashrdi3_internal): Likewise.
451 (lshrdi3_internal): Likewise.
452 (casesi_internal): Likewise.
453
454 Wed Sep 1 21:13:48 1999 Richard Henderson <rth@cygnus.com>
455
456 Merge new ia32 backend from the branch!
457
458 * i386.h, i386.c, i386.md, reg-stack.c, i386/unix.h: Many changes.
459 See ChangeLog.P2 on new_ia32_branch for details.
460
461 * rtl.h (stack_regs_mentioned_p): Delete prototype.
462 * i386/cygwin.h (SUBTARGET_PROLOGUE): No more do_rtl.
463 * i386/win32.h (SUBTARGET_PROLOGUE): Likewise.
464 * i386/gas.h (ASM_FILE_START): Define.
465 * i386/winnt.c (i386_pe_valid_decl_attribute_p): Update
466 for name change of ix86_valid_decl_attribute_p.
467 (i386_pe_valid_type_attribute_p): Similarly.
468
469 Wed Sep 1 18:21:23 1999 Richard Henderson <rth@cygnus.com>
470
471 * emit-rtl.c (init_emit_once): Don't use GET_MODE_WIDER_MODE
472 to step through CC modes.
473
474 Wed Sep 1 20:18:06 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
475
476 * regmove.c (fixup_match_1): Don't move INSN in front of P if
477 it would end up in the shadow of a live flags regsiter.
478
479 Wed Sep 1 11:32:00 1999 Bernd Schmidt <bernds@cygnus.co.uk>
480
481 * reload1.c: Fix many indentation problems.
482 * reload.c: Likewise.
483
484 Tue Aug 31 22:08:03 1999 Marc Espie <espie@cvs.openbsd.org>
485
486 * alias.c (non_local_reference_p): Constify fmt.
487
488 Tue Aug 31 23:19:35 1999 Michael Meissner <meissner@cygnus.com>
489
490 * config/i386/xm-cygwin.h (HAVE_DOS_BASED_FILE_SYSTEM): Define.
491
492 Tue Aug 31 16:44:52 1999 Jeffrey A Law (law@cygnus.com)
493
494 * cse.c (delete_trivially_dead_insns): Do not delete stores to
495 the internal_arg_pointer.
496
497 Tue Aug 31 13:35:42 1999 Richard Henderson <rth@cygnus.com>
498
499 Merge peephole2 from new_ia32_branch:
500 * Makefile.in (STAGESTUFF): Add *.peephole2.
501 (mostlyclean): Likewise.
502 (recog.o): Depend on resource.h.
503
504 * final.c (peephole): Conditionalize decl on HAVE_peephole.
505 (final_scan_insn): Likewise for the invocation of peephole.
506 * genconfig.c (main): Look for peephole and peephole2 patterns.
507 Emit HAVE_peephole* accordingly.
508 * genpeep.c (main): Conditionalize entire output on HAVE_peephole.
509 * flags.h (flag_peephole2): Declare.
510 * toplev.c: New pass peephole2. New flag -fpeephole2.
511
512 * genattrtab.c (main): Count DEFINE_PEEPHOLE2.
513 * gencodes.c (main): Likewise.
514 * genextract.c (main): Likewise.
515 * genoutput.c (main): Likewise.
516 * genemit.c (max_operand_1): Look for the max scratch operand.
517 (gen_rtx_scratch): New.
518 (gen_exp): Use it, and pass on new arg subroutine_type.
519 (gen_expand): Take max scratch into account.
520 (gen_split): Emit peephole2 functions.
521 (output_peephole2_scratch): New.
522 (main): Include hard-reg-set.h and resource.h. Handle peephole2.
523 * genrecog.c (routine_type): Add PEEPHOLE2.
524 (IS_SPLIT): New.
525 (make_insn_sequence): Match outer parallel for peep2. Discard
526 top level scratches and dups.
527 (add_to_sequence): New args insn_type and top. Update all callers.
528 Handle toplevel peep2 matching insns.
529 (write_subroutine): Handle peep2.
530 (write_tree_1): Likewise.
531 (write_tree): Likewise.
532 (main): Likewise.
533 (change_state): New arg afterward. Update all callers.
534 Handle matching separate insns.
535 * recog.c (recog_next_insn): New.
536 (peephole2_optimize): New.
537 * rtl.def (DEFINE_PEEPHOLE2): New.
538 * resource.c (find_free_register): New argument last_insn. Use it
539 to find a register available through the entire span.
540 * resource.h (find_free_register): Update prototype.
541
542 Tue Aug 31 11:51:06 1999 Jim Kingdon <http://developer.redhat.com>
543
544 * i386.c (output_strlen_unroll): Don't write xops[7]
545 label if it wasn't set.
546
547 1999-08-31 12:44 -0700 Zack Weinberg <zack@bitmover.com>
548
549 * cpplib.c (struct directive): Const-ify name pointer and
550 function pointer prototype.
551 (validate_else, do_define, do_line, do_include, do_undef,
552 do_error, do_pragma, do_ident, do_if, do_xifdef, do_else,
553 do_elif, do_endif, do_sccs, do_assert, do_unassert,
554 do_warning): Const-ify second arg.
555 (directive_table): Mark const. Reorder entries by frequency
556 of usage, record statistics.
557
558 1999-08-31 12:20 -0700 Zack Weinberg <zack@bitmover.com>
559
560 * rtl.h (RTL_CHECK1, RTL_CHECK2): New macros which type- and
561 bounds- check RTL accesses if --enable-checking.
562 (RTVEC_ELT): Bounds check if --enable-checking.
563 (XWINT, XINT, XSTR, XEXP, XVEC, XMODE, XBITMAP, XTREE,
564 XBBDEF): Use RTL_CHECK1/RTL_CHECK2 as appropriate.
565 (XVECEXP, XVECLEN): Define in terms of XVEC, RTVEC_ELT, and
566 GET_NUM_ELEM.
567 (X0WINT, X0INT, X0STR, X0EXP, X0VEC, X0MODE, X0BITMAP, X0TREE,
568 X0BBDEF, X0ADVFLAGS): New macros for accessing '0' slots of RTXes.
569
570 (ADDR_DIFF_VEC_FLAGS): Use X0ADVFLAGS.
571 (NOTE_SOURCE_FILE): Use X0STR.
572 (NOTE_BLOCK_NUMBER, NOTE_EH_HANDLER, LABEL_NUSES,
573 MEM_ALIAS_SET): Use X0INT.
574 (NOTE_RANGE_INFO, NOTE_LIVE_INFO, NOTE_BASIC_BLOCK,
575 JUMP_LABEL, LABEL_REFS, LABEL_NEXTREF, CONTAINING_INSN):
576 Use X0EXP.
577 * real.h (CONST_DOUBLE_CHAIN): Use X0EXP.
578 * rtl.c (copy_rtx, copy_most_rtx): Copy '0' slots with X0WINT.
579 (rtl_check_failed_bounds, rtl_check_failed_type1,
580 rtl_check_failed_type2, rtvec_check_failed_bounds): New
581 functions.
582 (fancy_abort): Fix comment.
583
584 * cse.c (canon_hash): Read CONST_DOUBLE data slots with XWINT.
585 (cse_insn): Decrement LABEL_NUSES for jump target before
586 deleting jump insn.
587 * emit-rtl.c (gen_rtx_CONST_DOUBLE): Use X0EXP for slot 1.
588 * final.c (alter_subreg): Compute regno before changing x to
589 REG; set REGNO(x) after changing it.
590 * flow.c (count_basic_blocks): Use XWINT to inspect EH_REGION
591 notes containing CONST_INTs.
592 (delete_eh_regions): Use NOTE_EH_HANDLER.
593 * function.c (put_reg_into_stack): Make reg a MEM before
594 initializing it.
595 (fixup_var_refs_insns): Save REG_NOTES (insn) in case we
596 delete insn.
597 (gen_mem_addressof): Make reg a MEM before initializing it.
598 * integrate.c (copy_rtx_and_substitute): Copy '0' slots with
599 X0WINT.
600 * local-alloc.c (update_equiv_regs): Zap REG_NOTES before
601 deleting an insn, not after.
602 (block_alloc): Only look at PATTERN(insn) if we have to, and
603 only if it's format class 'i'.
604 * loop.c (check_dbra_loop): Check bl->biv->add_val is a
605 CONST_INT before using its INTVAL.
606 * print-rtl.c (print_rtx): Use X0STR.
607 * regmove.c (fixup_match_1): Don't look at PATTERN of
608 non-class-'i' insn chain elements.
609 * reload.c (loc_mentioned_in_p): Take address of
610 in->fld[1].rtx directly.
611 * reload1.c (reload): Change reg to a MEM before initializing
612 it.
613 * varasm.c (mark_constant_pool): Skip CONST_DOUBLES, which
614 have no names.
615 * config/i386/i386.md (decrement_and_branch_if_zero): Fix typo.
616
617 Fri Aug 20 13:43:41 1999 Andrew Haley <aph@cygnus.com>
618
619 * config/mips/mips.c (machine_dependent_reorg): Force a
620 barrier to output the local constant pool if a barrier hasn't
621 been found at a natural point in the instruction stream.
622
623 Mon Aug 30 22:04:36 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
624
625 * c-parse.in (language_string): Constify.
626
627 * dwarf2out.c (language_string): Remove declaration.
628
629 * dwarfout.c (language_string): Likewise.
630
631 * toplev.c (language_string, init_parse, finish_parse): Likewise.
632
633 * tree.h (language_string, init_parse, finish_parse): Declare.
634
635 * i386/sun386.h (language_string): Remove declaration.
636
637 * mips.h (language_string): Likewise.
638
639 * nextstep.h (language_string): Likewise.
640
641 * nextstep21.h (language_string): Likewise.
642
643 * rs6000.c (language_string): Likewise.
644
645 Mon Aug 30 20:56:08 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
646
647 * Makefile.in (OBJS, PROTO_OBJS): Remove getpwd.o.
648 (getpwd.o): Remove target.
649
650 * getpwd.c: Delete file. Its in libiberty now.
651
652 * dbxout.c (getpwd): Don't prototype.
653 * dwarf2out.c (getpwd): Likewise
654 * dwarfout.c (getpwd): Likewise
655 * final.c (getpwd): Likewise.
656 * protoize.c (getpwd): Likewise.
657
658 Mon Aug 30 20:21:34 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
659
660 * cse.c: (fold_rtx): Cast to HOST_WIDE_INT in left shift.
661
662 Mon Aug 30 16:07:49 1999 Richard Henderson <rth@cygnus.com>
663
664 * flow.c (new_insn_dead_notes): Use sets_reg_or_subreg not
665 mark_set_resources.
666
667 Mon Aug 30 12:23:53 1999 Jim Wilson <wilson@cygnus.com>
668
669 * fixinc/Makefile.in (subdir): New.
670 (fixincl.x, inclhack.sh, fixincl.sh): Use cp instead of $(CP).
671 (Makefile): New.
672
673 Mon Aug 30 01:02:09 1999 Jeffrey A Law (law@cygnus.com)
674
675 * emit-rtl.c (copy_rtx_if_shared): A MEM which references
676 virtual_stack_vars_rtx or virtual_incoming_args_rtx can not
677 be shared.
678
679 * invoke.texi: Fix typo.
680
681 * dwarf2out.c (mem_loc_descriptor): New argument MODE. All callers
682 changed. Handle autoincrement addressing modes.
683
684 * integrate.c (copy_rtx_and_substitute): Handle internal_arg_pointer
685 just like we would the virtual incoming args register when
686 integrating.
687
688 Sun Aug 29 23:17:54 1999 David Edelsohn <edelsohn@gnu.org>
689
690 * rs6000.h (ASM_FILE_START): Specify complete filename, including
691 path, in .file directive.
692
693 Sun Aug 29 05:06:43 1999 Russ Allbery <rra@stanford.edu>
694
695 * gcc.texi (External Bugs): Remove obsolete note about Perl on
696 SunOS.
697
698 1999-08-29 08:38 -0700 Zack Weinberg <zack@bitmover.com>
699
700 * stdbool.h: Make the typedef name _Bool, with bool a #defined
701 alias.
702
703 Sun Aug 29 09:36:50 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
704
705 * tree.c (tree_code_name): Constify a char*.
706
707 * tree.h (tree_code_name, decl_printable_name): Likewise.
708
709 * function.h (struct function): Likewise.
710
711 * toplev.c (decl_name, decl_printable_name): Likewise.
712
713 * vax/vms.h (MAYBE_VMS_FUNCTION_PROLOGUE): Likewise.
714
715 * objc/objc-act.c (decl_printable_name): Remove redundant prototype.
716 (init_objc): Remove function pointer cast.
717
718 Sun Aug 29 05:01:17 1999 John David Anglin <dave@hiauly1.hia.nrc.ca>
719
720 * pa.md (interspace_jump): New pattern.
721 (builtin_longjmp): New expander.
722
723 1999-08-29 Bernd Schmidt <bernds@cygnus.co.uk>
724
725 * fp-bit.c (add, sub, multiply, divide, compare, _eq_f2, _ne_f2,
726 _gt_f2, _ge_f2, _lt_f2, _le_f2, float_to_si, float_to_usi, negate,
727 sf_to_df, df_to_sf): Fix potential problem with alias analysis.
728
729 Sun Aug 29 04:30:52 1999 John Wehle (john@feith.com)
730
731 * jump.c (delete_prior_computation): Also check calls
732 to constant functions. Don't bother checking for a
733 REG_UNUSED note before adding it.
734 (delete_computation): Handle multi-word hard registers
735 when synthesizing missing REG_DEAD notes for a register
736 which is both set and used by an insn.
737
738 1999-08-29 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
739
740 * loop.c (this_loop_info): New variable.
741 (loop_has_call, loop_has_volatile, loop_has_tablejump,
742 loop_continue, loops_enclosed): Replace with fields in this_loop_info.
743 All uses updated.
744 (prescan_loop, strength_reduce): New argument loop_info. All callers
745 updated.
746 (scan_loop): New variable loop_info, initialise to address of
747 this_loop_info.
748 (prescan_loop): Set loop_info->vtop if find NOTE_INSN_LOOP_VTOP.
749 Delete variable loop_has_multiple_exit targets and replace with
750 field in this_loop_info.
751 (find_and_verify_loops): Rename this_loop to this_loop_num.
752 (strength_reduce): Delete loop_iteration_info. Replace variable
753 loop_info with function argument of same name.
754 (insert_bct): Rework test for loop being completely unrolled.
755
756 * loop.h (struct loop_info): New fields num, loops_enclosed,
757 has_call, has_volatile, has_tablejump, has_multiple_exit_targets,
758 has_indirect_jump, and cont. Redefine use of unroll_number.
759 (loop_unroll_number): Delete.
760
761 * unroll.c (unroll_loop): Store loop unroll count in unroll_number
762 field of loop_info.
763 (loop_iterations): Delete variable vtop and instead use
764 loop_info->vtop computed in prescan_loop.
765
766 Sun Aug 29 03:27:23 1999 Scott Weikart <scott@igc.apc.org>
767
768 * fix-header.c (main): Do not pass a null pointer to strcmp.
769
770 Sun Aug 29 03:18:48 1999 William Bader (william@nscs.fast.net)
771
772 * configure.in (i[34567]86-*-sco3.2v4*): Target does not truncate
773 filenames.
774 * configure: Rebuilt.
775
776 Sat Aug 28 19:36:05 1999 Jeffrey A Law (law@cygnus.com)
777
778 * jump.c (jump_optimize_1): Do not delete assignments to
779 internal_arg_pointer.
780 * cse.c (delete_trivially_dead_insns): Always consider a set of
781 the internal_arg_pointer live.
782
783 Sat Aug 28 16:24:31 1999 Richard Henderson <rth@cygnus.com>
784
785 * flow.c (flow_delete_insn_chain): Rename from delete_insn_chain.
786 (update_life_info) [REG_WAS_0]: Search the original insns rather
787 than the new insns for the note. Fix typos finding note_dest.
788 If no dest found, discard the note rather than abort.
789 [REG_NOALIAS]: Handle as REG_NO_CONFLICT.
790 (replace_insns): Remove the old insn list after update_life_info
791 not before.
792
793 Sat Aug 28 16:20:12 1999 Richard Henderson <rth@cygnus.com>
794
795 * haifa-sched.c (sched_analyze): Clear LOG_LINKS before calling
796 sched_analyze_insn.
797 (sched_analyze_1): Let add_dependence care for not adding dups.
798 (sched_analyze_2): Likewise.
799 (add_branch_dependences): Likewise.
800
801 Sat Aug 28 15:58:16 1999 Mumit Khan <khan@xraylith.wisc.edu>
802
803 * i386/winnt.c (export_list): New type.
804 (exports_head): Rename to
805 (export_head): this.
806 (i386_pe_record_exported_symbol): Add is_data flag.
807 (i386_pe_asm_file_end): Emit directive for exported variables.
808 * i386/cygwin.h (i386_pe_record_exported_symbol): Update
809 prototype.
810 * i386/cygwin.h (ASM_OUTPUT_COMMON): Specify symbol type.
811 (ASM_DECLARE_OBJECT_NAME): Likewise.
812 (ASM_DECLARE_FUNCTION_NAME): Likewise.
813 * i386/uwin.h (ASM_DECLARE_FUNCTION_NAME): Likewise.
814
815 Fri Aug 27 15:35:24 1999 Jeffrey A Law (law@cygnus.com)
816
817 * cse.c (fold_rtx): Work around bug in Sun V5.0 compilers.
818
819 * pa.c (emit_move_sequence): Do not stop on SUBREG_WORD of an
820 operand.
821
822 Fri Aug 27 14:01:19 1999 Marc Espie <espie@cvs.openbsd.org>
823
824 * config/openbsd.h: Define SET_ASM_OP.
825 * tm.texi: cross-reference SET_ASM_OP in the index.
826
827 1999-08-27 13:27 -0700 Zack Weinberg <zack@bitmover.com>
828
829 * rtl.c: Define CONST_DOUBLE_FORMAT to the appropriate format
830 for a CONST_DOUBLE, at compile time. Initialize rtx_length
831 and class_narrowest_mode at compile time. Kill init_rtl.
832 Mark rtx_length, mode_class, mode_size, mode_unit_size,
833 mode_wider_mode, mode_mask_array, class_narrowest_mode, and
834 rtx_format as const. Kill all references to EXTRA_CC_MODES or
835 EXTRA_CC_NAMES.
836 * rtl.def (CONST_DOUBLE): Use CONST_DOUBLE_FORMAT macro for
837 format.
838 * rtl.h: Declare rtx_length and rtx_format as const.
839 * machmode.def: Define CC(). Use CC() to define CCmode. If
840 EXTRA_CC_MODES is defined, expand it here.
841 * machmode.h: Declare mode_class, mode_size, mode_unit_size,
842 mode_wider_mode, mode_mask_array, and class_narrowest_mode as
843 const. Kill all references to EXTRA_CC_MODES.
844
845 * toplev.c: Don't prototype or call init_rtl.
846 * optabs.c: Don't call init_mov_optab.
847 * genemit.c: Don't generate init_mov_optab. Don't call
848 init_rtl.
849 * gengenrtl.c: Duplicate calculation of CONST_DOUBLE_FORMAT
850 here.
851 * genattr.c, genattrtab.c, gencodes.c, genconfig.c,
852 genextract.c, genflags.c, genopinit.c, genoutput.c, genpeep.c,
853 genrecog.c: Don't call init_rtl.
854
855 * arc.h, arm.h, c4x.h, i386.h, i960.h, m88k.h, pa.h, pdp11.h,
856 rs6000.h, sparc.h: Don't define EXTRA_CC_NAMES. Use CC() in
857 definition of EXTRA_CC_MODES.
858
859 * md.texi: Kill ref to EXTRA_CC_NAMES.
860 * tm.texi: Document new way to define EXTRA_CC_MODES.
861
862 * genrecog.c: Do not look up the name of a define_split.
863 (Unrelated bugfix.)
864
865 Fri Aug 27 17:03:42 1999 Nick Clifton <nickc@cygnus.com>
866
867 * config/v850/v850.md: Fix typo introduced by previous delta.
868
869 Fri Aug 27 09:48:59 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
870
871 * gcc.c (fatal): Make definition static to match prototype.
872
873 Fri Aug 27 10:33:35 1999 Bernd Schmidt <bernds@cygnus.co.uk>
874
875 * combine.c (get_last_value): Don't look for earlier sets if the last
876 known set is somewhere in between the insns being combined.
877
878 Fri Aug 27 10:03:12 BST 1999 Nathan Sidwell <nathan@acm.org>
879
880 * configure.in: Don't use shell ! to negate exit codes
881 * configure: Regenerate
882
883 Fri Aug 27 09:36:17 1999 Andreas Schwab <schwab@suse.de>
884
885 * function.c (assign_stack_temp_for_type): Fix change of Mar 5 for
886 the fact that ALIGN is measured in bits, not bytes.
887
888 1999-08-27 00:27 -0700 Zack Weinberg <zack@bitmover.com>
889
890 * errors.c: New file; defines functions error, warning, and
891 fatal, variables have_error and progname.
892 * errors.h: New file; prototypes and decls for stuff in errors.c.
893
894 * Makefile: Add rules to build errors.o and
895 $(HOST_PREFIX)errors.o. Link genconfig, gencodes, genemit,
896 genopinit, genrecog, genextract, genpeep, genattr, and
897 genoutput with errors.o. Add errors.h to deps of genconfig.o,
898 gencodes.o, genemit.o, genopinit.o, genrecog.o, genextract.o,
899 genpeep.o, genattr.o, and genoutput.o.
900
901 * genconfig.c, gencodes.c, genemit.c, genopinit.c, genrecog.c,
902 genextract.c, genpeep.c, genattr.c: Include errors.h. Don't
903 define or prototype fatal. Set progname at beginning of main.
904 * genoutput.c: Likewise, and don't define or prototype error
905 either.
906
907 * c-typeck.c (c_expand_start_case): Return immediately if exp
908 is an ERROR_MARK.
909 * fold-const.c (operand_equal_p): Return immediately if arg1
910 or arg0 are ERROR_MARKs.
911 * stor-layout.c (layout_type [case RECORD_TYPE]): Ignore
912 fields of type ERROR_MARK when calculating if the record can
913 go in a register.
914
915 Fri Aug 27 01:03:48 1999 Jim Kingdon <http://developer.redhat.com>
916 with much help from Jeffrey A Law and Richard Henderson
917
918 * i386.md: In the 6 insns which call output_fix_trunc,
919 earlyclobber operands[0].
920
921 Fri Aug 27 01:01:51 1999 Philip Blundell <pb@nexus.co.uk>
922
923 * jump.c (duplicate_loop_exit_test): Call reg_scan_update after
924 creating new registers.
925
926 1999-08-26 23:09 -0700 Zack Weinberg <zack@bitmover.com>
927
928 * i386.h: Declare ix86_cpu_string, ix86_arch_string,
929 i386_reg_alloc_order, i386_regparm_string,
930 i386_align_loops_string, i386_align_jumps_string,
931 i386_align_funcs_string, i386_preferred_stack_boundary_string,
932 and i386_branch_cost_string as type "const char *".
933 * i386.c: Define all above strings as type "const char *".
934
935 Thu Aug 26 20:36:30 1999 Jim Wilson <wilson@cygnus.com>
936
937 * dwarf2out.c (output_aranges): Check DWARF_OFFSET_SIZE not PTR_SIZE
938 when emitting alignment padding. Emit padding byte of 0 instead of 4.
939
940 Thu Aug 26 18:11:20 1999 Mark Mitchell <mark@codesourcery.com>
941
942 * tree.c (array_type_nelts): Don't create RTL_EXPRs from
943 SAVE_EXPRs unless the SAVE_EXPRs have already been expanded.
944
945 Thu Aug 26 19:33:23 1999 Jim Wilson <wilson@cygnus.com>
946
947 * dwarf2out.c (DWARF2_ASM_LINE_DEBUG_INFO): Add default definition.
948 (debug_dwarf): Add DWARF2_ASM_LINE_DEBUG_INFO support.
949 (dwarf2out_line, dwarf2out_finish): Likewise.
950 * tm.texi (DWARF2_ASM_LINE_DEBUG_INFO): Add documetation.
951
952 Thu Aug 26 16:10:56 1999 Gavin Romig-Koch <gavin@cygnus.com>
953
954 * tree.c (lang_unsave_expr_now) : Correct return type.
955 * tree.h (lang_unsave_expr_now) : Same.
956
957 Thu Aug 26 13:12:29 1999 Jeffrey A Law (law@cygnus.com)
958
959 * pa.c (cint_ok_for_move): Use CONST_INT_OK_FOR_LETTER_P macros
960 instead of duplicating code.
961
962 Thu Aug 26 18:32:32 1999 Bernd Schmidt <bernds@cygnus.co.uk>
963
964 * gcse.c (hash_scan_insn): Don't scan obvious no-ops.
965
966 1999-08-26 09:42 -0700 Zack Weinberg <zack@bitmover.com>
967
968 * tree.h: fancy_abort always takes three args.
969 * resource.c: Move include of system.h before toplev.h.
970
971 Thu Aug 26 09:46:16 1999 Nick Clifton <nickc@cygnus.com>
972
973 * dwarf2out.c (mem_loc_descriptor): Accept LABEL_REFs as well
974 as SYMBOL_REFs.
975
976 1999-08-25 22:10 -0700 Zack Weinberg <zack@bitmover.com>
977
978 * system.h: Don't redefine abort or trim_filename.
979 * rtl.h: Define abort to fancy_abort (__FILE__, __LINE__, 0)
980 or fancy_abort (__FILE__, __LINE__, __FUNCTION__) depending on
981 whether or not __FUNCTION__ is available.
982 * tree.h: Duplicate rtl.h's definition of abort, for files
983 that don't include rtl.h. Delete all code to perform type
984 checking with a compiler other than GCC.
985 * varray.h: Delete all code to perform type checking with a
986 compiler other than GCC. Make VARRAY_CHECK() always evaluate
987 its arguments exactly once, using a statement expression.
988 Adjust the VARRAY_<type> accessor macros to match.
989 * toplev.h (fatal_insn, fatal_insn_not_found): Kill.
990 (_fatal_insn, _fatal_insn_not_found): New fns, take info on
991 caller's location. Define fatal_insn and fatal_insn_not_found
992 as macros that use _fatal_insn and _fatal_insn_not_found.
993 (fancy_abort, trim_filename): Kill prototypes.
994
995 * rtl.c (trim_filename): Move here from toplev.c.
996 (fancy_abort): New function.
997 (DIR_SEPARATOR): Provide default definition.
998 * tree.c (tree_check_failed, tree_class_check_failed): Go
999 through fancy_abort.
1000 (tree_check, tree_class_check, cst_or_constructor_check,
1001 expr_check): Delete.
1002 * varray.c (varray_check_failed): New function.
1003 * toplev.c (fatal_insn, fatal_insn_not_found): Replace with
1004 _fatal_insn and _fatal_insn_not_found. Go through
1005 fancy_abort.
1006 (trim_filename, fancy_abort): Delete.
1007
1008 * builtins.c (expand_builtin_args_info): Report ICE with abort.
1009 * except.c (start_catch_handler): Report ICE with error/abort
1010 combo.
1011 * final.c (output_operand_lossage): Likewise.
1012 * flow.c (verify_flow_info): Likewise.
1013
1014 * gcc.c: Prototype fatal.
1015 * gengenrtl.c: Undef abort after including rtl.h not system.h.
1016 * genattr.c, genattrtab.c, genemit.c, genextract.c,
1017 genflags.c, genopinit.c, genoutput.c, genpeep.c, genrecog.c:
1018 Don't define fancy_abort.
1019
1020 Wed Aug 25 17:56:59 1999 Richard Henderson <rth@cygnus.com>
1021
1022 * optabs.c (emit_cmp_and_jump_insns): Be more thorough in
1023 canonization.
1024
1025 Wed Aug 25 15:35:55 1999 Richard Henderson <rth@cygnus.com>
1026
1027 * m88k.h (VERSION_INFO2): Kill.
1028 (VERSION_STRING): Kill.
1029 (TM_RCS_ID): Kill.
1030 (VERSION_INFO1): Tidy.
1031 (TARGET_VERSION): Update.
1032 * m88k/dgux.h (VERSION_INFO2): Kill.
1033 (ASM_FIRST_LINE): Adjust for death of VERSION_STRING.
1034 * m88k/luna.h (VERSION_INFO1): Tidy.
1035 * m88k/sysv4.h (VERSION_INFO1): Likewise.
1036 * m88k.c (out_rcs_id, tm_rcs_id): Kill.
1037 (output_file_start): Adjust for death of VERSION_STRING.
1038
1039 1999-08-25 13:51 -0700 Jim Meyering <meyering@ascend.com>
1040
1041 * cpplib.c (detect_if_not_defined): New function.
1042 (do_if): Use it to detect potential once-only headers.
1043
1044 Wed Aug 25 14:00:18 1999 Jason Merrill <jason@yorick.cygnus.com>
1045
1046 * c-common.c (combine_strings): Always set TREE_CONSTANT.
1047
1048 Wed Aug 25 15:27:22 1999 Gavin Romig-Koch <gavin@cygnus.com>
1049
1050 * combine.c (nonzero_bits) : Allow single-ly set registers to be
1051 anywere in the function only if they are pseudos and set before
1052 being used (not live at the start of the function).
1053 (num_sign_bit_copies) : Same.
1054 (get_last_value_validate) : Same.
1055 (get_last_value) : Same.
1056
1057 Wed Aug 25 11:13:29 1999 Richard Henderson <rth@cygnus.com>
1058
1059 * loop.c (express_from): Try harder to unify (* c N) and (* c M)
1060 where N and M are constant and N is an integer multiple of M.
1061
1062 Wed Aug 25 13:55:47 EDT 1999 Andrew MacLeod <amacleod@cygnus.com>
1063
1064 * sbitmap.h (sbitmap_intersection_of_succs): Add prototype.
1065 (sbitmap_intersection_of_preds, sbitmap_union_of_succs,
1066 sbitmap_union_of_preds): Add prototypes.
1067 * sbitmap.c (sbitmap_intersection_of_succs): New function to compute
1068 the intersection of successors with the new flow graph structures.
1069 (sbitmap_intersection_of_preds): New function to compute the
1070 intersection of predecessors with the new flow graph structures.
1071 (sbitmap_union_of_succs): New function to compute the union of
1072 successors with the new flow graph structures.
1073 (sbitmap_union_of_preds): New function to compute the union of
1074 predecessors with the new flow graph structures.
1075 * gcse.c (compute_rdm, compute_available): Use new sbitmap routines.
1076 (expr_reaches_here_p): Use edge and basic_block structures instead
1077 of s_preds and s_succs.
1078 (compute_cprop_avinout): Use new sbitmap routines.
1079 (pre_expr_reaches_here_p): Use edge and basic_block structures instead
1080 of s_preds and s_succs.
1081 * flow.c (compute_flow_dominators): Compute dominators using
1082 edges and basic blocks instead of s_preds and s_succs.
1083
1084 Wed Aug 25 13:41:47 EDT 1999 Andrew MacLeod <amacleod@cygnus.com>
1085
1086 * lists.c (unused_insn_list, unused_expr_list): New file for
1087 maintaining various types of lists. New statics for maintaining a
1088 cache of available INSN_LIST and EXPR_LIST nodes.
1089 (free_list): Static function for freeing a list of INSN/EXPR nodes.
1090 (alloc_INSN_LIST): Function to get a free INSN_LIST node.
1091 (alloc_EXPR_LIST): Function to get a free EXPR_LIST node.
1092 (init_EXPR_INSN_LIST_cache): Initialize the cache lists.
1093 (free_EXPR_LIST_list): Free an entire list of EXPR_LIST nodes.
1094 (free_INSN_LIST_list): Free an entire list of INSN_LIST nodes.
1095 (free_EXPR_LIST_node): Free an individual EXPR_LIST node.
1096 (free_INSN_LIST_node): Free an individual INSN_LIST node.
1097 * haifa-sched.c (unused_insn_list, unused_expr_list): Moved to flow.c
1098 (free_list, alloc_INSN_LIST, alloc_EXPR_LIST): Moved to flow.c
1099 (remove_dependence, free_pending_lists): Use new global routines.
1100 (flush_pending_lists, sched_analyze_insn): Use new global routines.
1101 (sched_analyze, compute_block_backward_dependences): Use new routines.
1102 (sched_analyze_1, sched_analyze_2): Use new routines.
1103 (schedule_insns): Use new global routines.
1104 * rtl.h (init_EXPR_INSN_LIST_cache, free_EXPR_LIST_list): Add function
1105 prototypes.
1106 (free_INSN_LIST_list, free_EXPR_LIST_node): Add prototypes.
1107 (free_INSN_LIST_node, alloc_INSN_LIST, alloc_EXPR_LIST): Add function
1108 prototypes.
1109 * toplev.c (rest_of_compilation): Initialize node cache.
1110 * Makefile.in (OBJS): Add lists.o to list of object files.
1111 (lists.o): Add dependancies.
1112
1113 Wed Aug 25 17:31:56 1999 Nick Clifton <nickc@cygnus.com>
1114
1115 * config/v850/v850.md: Fix compile time warning messages.
1116 * config/v850/v850.c: Fix compile time warning messages.
1117 * config/v850/v850.h: Fix compile time warning messages.
1118
1119 Wed Aug 25 09:44:43 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1120
1121 * genattr.c (gen_attr): Add prototype arguments for get_attr_*().
1122 Remove unused prototype for `init_lengths'.
1123
1124 Wed Aug 25 09:32:31 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1125
1126 * calls.c (emit_call_1): Mark parameter `stack_size' with
1127 ATTRIBUTE_UNUSED.
1128 (expand_call): Initialize variable `insn'.
1129 (emit_library_call): Likewise for variable `high_to_save'.
1130 (emit_library_call_value): Likewise.
1131 (store_one_arg): Likewise for variables `lower_bound' and
1132 `upper_bound'.
1133
1134 * combine.c (try_combine): Likewise for variables `i2_code_number'
1135 and `other_code_number'.
1136 (find_split_point): Likewise for variables `pos', `unsignedp' and
1137 `inner'.
1138 (simplify_if_then_else): Likewise for variables `op' and `c1'.
1139 (simplify_and_const_int): Remove unused variable `width'.
1140 (merge_outer_ops): Likewise.
1141
1142 * cse.c (simplify_binary_operation): Cast an INTVAL() to `unsigned
1143 HOST_WIDE_INT' when comparing against one.
1144 (simplify_relational_operation): Likewise.
1145 (cse_insn): Initialize variables `src_eqv_volatile',
1146 `src_eqv_in_memory', `src_eqv_in_struct', `src_eqv_hash' and `sets'.
1147
1148 * final.c (init_final): Constify parameter `filename'.
1149 (final_start_function): Mark parameter `optimize' with
1150 ATTRIBUTE_UNUSED.
1151 (profile_function): Likewise for parameters `first' and `optimize'.
1152 (output_source_line): Likewise for parameter `file'.
1153
1154 * integrate.c (subst_constants): Cast a value to `size_t' when
1155 comparing against one.
1156 (mark_stores): Initialize variable `mode'. Cast a value to
1157 `size_t' when comparing against one.
1158
1159 * integrate.h (MAYBE_EXTEND_CONST_EQUIV_VARRAY): Likewise.
1160
1161 * loop.c (move_movables): Initialize variable `first'.
1162 (strength_reduce): Likewise for variable `increment'.
1163 (check_dbra_loop): Likewise for variable `comparison_val'. Cast a
1164 value to `size_t' when comparing against one.
1165 (load_mems): Initialize variable `end_label'.
1166
1167 * output.h (init_final): Constify parameter.
1168
1169 * reload.c (decompose): Initialize variable `base'.
1170
1171 * reload1.c (reload): Likewise for variable `is_scalar'.
1172 (spill_hard_reg): Mark parameter `dumpfile' with ATTRIBUTE_UNUSED.
1173 (choose_reload_regs): Initialize variable `mode'.
1174 (emit_reload_insns): Likewise for variable `store_insn'.
1175 (reload_cse_noop_set_p): Mark parameter `insn' with
1176 ATTRIBUTE_UNUSED.
1177 (reload_combine): Initialize variable `set'.
1178
1179 * unroll.c (unroll_loop): Likewise for variable `local_label'.
1180 (copy_loop_body): Cast a value to `size_t' when comparing against
1181 one.
1182
1183 * varasm.c (assemble_variable): Initialize variable `size_tree'.
1184 (const_hash): Add an `else abort()' in an if-else-if-else sequence.
1185 (remove_from_pending_weak_list): Mark parameter `name' with
1186 ATTRIBUTE_UNUSED.
1187
1188 Wed Aug 25 11:18:39 1999 Bernd Schmidt <bernds@cygnus.co.uk>
1189
1190 * toplev.c (rest_of_compilation): Use decl_printable_name when opening
1191 gcse dump file.
1192
1193 Wed Aug 25 10:57:12 1999 Nick Clifton <nickc@cygnus.com>
1194
1195 * config/arm/telf.h (ASM_WEAKEN_LABEL): Define.
1196 (ASM_DECLARE_FUNCTION_NAME): Define.
1197 (TYPE_ASM_OP, SIZE_ASM_OP, TYPE_OPERAND_FORMAT,
1198 ASM_DECLARE_RESULT, ASM_DECLARE_OBJECT_NAME,
1199 ASM_FINISH_DECLARE_OBJECT, ASM_DECLARE_FUNCTION_SIZE): Define if
1200 not already defined.
1201
1202 Wed Aug 25 01:36:11 1999 John David Anglin <dave@hiauly1.hia.nrc.ca>
1203
1204 * calls.c (emit_call_1): Use call_pop/call_value_pop for all values
1205 of n_popped when call/call_value are not defined.
1206
1207 Wed Aug 25 01:25:14 1999 Jeffrey A Law (law@cygnus.com)
1208
1209 * tm.texi: GNU CC -> GCC conversion.
1210 (CC1_SPEC): Indicate it is used for all language front ends.
1211
1212 Tue Aug 24 23:43:03 1999 Mark Mitchell <mark@codesourcery.com>
1213
1214 * flow.c (delete_block): Spell NOTE_INSN_EH_REGION_BEG and
1215 NOTE_INSN_EH_REGION_END correctly.
1216
1217 Tue Aug 24 23:26:44 1999 Michael Tiemann <tiemann@holodeck.cygnus.com>
1218 Jeff Law <law@cygnus.com>
1219
1220 * loop.c (strength_reduce): Automatically unroll loops if the
1221 unrolled loop size is smaller than the rolled loop size.
1222
1223 * loop.c (insert_bct): Replace use of sdiv_optab with asr_optab
1224 and delete comment that code should be rewritten.
1225
1226 Tue Aug 24 22:56:35 1999 Jeffrey A Law (law@cygnus.com)
1227
1228 * haifa-sched.c (find_rgns): Mark a block found during the DFS search
1229 as reachable.
1230
1231 * haifa-sched.c (get_visual_tbl_length): Fix off-by-one error.
1232
1233 Tue Aug 24 22:41:06 1999 Mumit Khan <khan@xraylith.wisc.edu>
1234
1235 * fixinc/mkfixinc.sh: Don't fix uwin headers.
1236 * i386/uwin.h (MD_STARTFILE_PREFIX): Define.
1237 (LINK_SPEC): Add -u _main when building executables.
1238 (ASM_DECLARE_FUNCTION): Update from Cygwin.
1239 (ASM_FILE_END): Use the default for ix86-pe.
1240 * i386/xm-uwin.h (HAVE_BCOPY): Undefine.
1241
1242 Tue Aug 24 20:49:47 1999 Art Haas <ahaas@neosoft.com>
1243
1244 * final.c (output_addr_const): Handle case where ASM_OPEN_PAREN
1245 and ASM_CLOSE_PAREN are empty strings.
1246
1247 Wed Aug 25 12:46:22 1999 Fred Fish <fnf@cygnus.com>
1248 Geoffrey Keating <geoffk@cygnus.com>
1249
1250 * Makefile.in (PREPROCESSOR_DEFINES): New macro.
1251 (protoize.o): Use PREPROCESSOR_DEFINES and DRIVER_DEFINES.
1252 (unprotoize.o): Ditto.
1253 (test-protoize-simple): Don't define STD_PROTO_DIR.
1254 * protoize.c: Use PARAMS rather than PROTO. Minor whitespace
1255 changes to make 'test-protoize-simple' pass.
1256 (STD_PROTO_DIR): Remove define.
1257 (STANDARD_EXEC_PREFIX): Supply default define.
1258 (standard_exec_prefix): New variable, init to STANDARD_EXEC_PREFIX.
1259 (target_machine): New variable, init to DEFAULT_TARGET_MACHINE.
1260 (target_version): New variable, init to DEFAULT_TARGET_VERSION.
1261 (GET_ENV_PATH_LIST): New macro.
1262 (default_syscalls_dir): No longer initialized to STD_PROTO_DIR.
1263 (do_processing): Initialize default_syscalls_dir using new
1264 macros. Use it to initialize syscalls_absolute_filename.
1265
1266 Tue Aug 24 16:58:15 1999 Richard Henderson <rth@cygnus.com>
1267
1268 * jump.c (jump_optimize_1): Do cmov opt on any single-set; force
1269 B into a register before emit_conditional_move.
1270
1271 Tue Aug 24 15:37:03 1999 Richard Henderson <rth@cygnus.com>
1272
1273 * fold-const.c (fold): Reassociate (+ (+ (* a b) c) (* d e))
1274 as (+ (+ (* a b) (* d e)) c). Factor a common power-of-two
1275 multiplicand out of (+ (* a b) (* c d)).
1276
1277 Tue Aug 24 11:46:10 1999 Bob Manson <manson@cygnus.com>
1278 Richard Henderson <rth@cygnus.com>
1279
1280 * haifa-sched.c (split_hard_reg_notes): Move to flow.c
1281 (new_insn_dead_notes): Likewise.
1282 (update_n_sets): Likewise.
1283 (update_flow_info): Move to flow.c, renamed to update_life_info;
1284 extend to handle multiple source insns.
1285 * flow.c: Include resource.h
1286 (unlink_insn_chain): New.
1287 (split_hard_reg_notes): New.
1288 (maybe_add_dead_note): New.
1289 (maybe_add_dead_note_use): New.
1290 (find_insn_with_note): New.
1291 (new_insn_dead_notes): New.
1292 (update_n_sets): New.
1293 (sets_reg_or_subreg_1, sets_reg_or_subreg): New.
1294 (maybe_remove_dead_notes): New.
1295 (update_life_info): New.
1296 (prepend_reg_notes): New.
1297 (replace_insns): New.
1298 * output.h (update_life_info): Declare.
1299 * recog.c (split_block_insns): Use update_life_info.
1300 * resource.c (find_free_register): Use reg_alloc_order, don't use
1301 fixed regs, make sure the mode is supported, don't use new regs.
1302 (reg_dead_p): New.
1303 * rtl.h (replace_insns): Declare.
1304
1305 Tue Aug 24 13:48:39 1999 Nathan Sidwell <nathan@acm.org>
1306
1307 * expr.c (expand_expr): Cope with COND_EXPRs with one
1308 non-returning branch.
1309
1310 Mon Aug 23 22:28:16 1999 Mark Mitchell <mark@codesourcery.com>
1311
1312 * expr.c (store_expr): Always pass down the target, even when not
1313 doing CSE.
1314
1315 1999-08-24 Nick Clifton <nickc@cygnus.com>
1316
1317 * configure.in: Define target_cpu_default for v850 targets.
1318 * configure: Regenerate
1319
1320 * config/v850/v850.h (TARGET_CPU_generic): Define.
1321 (GO_IF_LEGITIMATE_ADDRESS): Insist that SImode and larger constant
1322 addresses are 4 byte aligned.
1323
1324 * config/v850/v850.c (print_operand): Cope with 'R' format DFmode
1325 addresses.
1326
1327 Tue Aug 24 09:32:07 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1328
1329 * genattr.c (function_unit_desc): Constify a char*. Add prototype.
1330 (main): Add prototypes.
1331
1332 * genattrtab.c (substitute_address, write_const_num_delay_slots,
1333 attr_eq, attr_numeral, attr_equal_p, attr_copy_rtx): Prototype.
1334 (write_attr_get): Emit prototypes along with function definition.
1335 (write_eligible_delay): Mark a parameter with ATTRIBUTE_UNUSED.
1336 (write_complex_function): Emit static prototype along with
1337 function definition.
1338
1339 * genemit.c (gen_split): Emit prototypes along with function
1340 definition.
1341
1342 * genoutput.c (output_epilogue): Add prototype to `insn_outfun'.
1343 Likewise for predicates and `insn_operand_predicate'.
1344 (process_template): Emit static prototype along with function
1345 definition.
1346
1347 * genrecog.c (make_insn_sequence): Constify a char*. Add
1348 prototypes for get_split_*().
1349 (write_subroutine): Emit prototypes along with function
1350 definition.
1351
1352 Tue Aug 24 12:35:20 1999 Bernd Schmidt <bernds@cygnus.co.uk>
1353
1354 * gcse.c (find_avail_set): Follow chains of register-register copies.
1355 Use oprs_not_set_p to guarantee that the returned value can be
1356 substituted.
1357 (cprop_insn): Don't verify the return value of find_avail_set with
1358 oprs_not_set_p.
1359
1360 * gcse.c (cprop_jump): New function, broken out of cprop_insn.
1361 (cprop_cc0_jump): New function.
1362 (cprop_insn): Break out new function cprop_jump and use it.
1363 Also use cprop_cc0_jump for machines with CC0.
1364 (cprop): Don't crash if cprop_insn turned the insn into a NOTE.
1365
1366 * tree.h (current_function_calls_setjmp,
1367 current_function_calls_longjmp): Delete declarations.
1368 * dsp16xx.c: Include "function.h".
1369 * elxsi.c: Likewise.
1370 * gmicro.c: Likewise.
1371 * h8300.c: Likewise.
1372 * i370.c: Likewise.
1373 * m32r.c: Likewise.
1374 * mn10200.c: Likewise.
1375 * mn10300.c: Likewise.
1376 * ns32k.c: Likewise.
1377 * spur.c: Likewise.
1378 * v850.c: Likewise.
1379
1380 * rtl.h (rtx_equal_function_value_matters): Declare.
1381 * toplev.c (rtx_equal_function_value_matters): Don't declare.
1382 * cse.c: Likewise.
1383 * function.c: Likewise.
1384 * emit-rtl.c: Likewise.
1385
1386 Tue Aug 24 02:47:44 1999 Jeffrey A Law (law@cygnus.com)
1387
1388 * expr.c (convert_move): Fix arguments to TRULY_NOOP_TRUNCATION
1389 call.
1390
1391 1999-08-24 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
1392
1393 * jump.c (delete_barrier_successors) Match (set (pc) (pc)) insn
1394 exactly.
1395
1396 Mon Aug 23 23:35:52 1999 Matthias Klose <doko@cs.tu-berlin.de>
1397
1398 * cpp.texi: Add a node documenting macro varargs (copied
1399 from extend.texi).
1400
1401 1999-08-23 22:23 -0700 Zack Weinberg <zack@bitmover.com>
1402
1403 * cppspec.c: Put a null pointer at the end of the new argv.
1404
1405 Mon Aug 23 21:23:24 1999 Jeffrey A Law (law@cygnus.com)
1406
1407 * configure.in: Remove code to select/de-select the haifa
1408 scheduler. Every scheduled port gets haifa now.
1409 * configure: Rebuilt.
1410 * flags.h, genattrtab.c, rtl.h, toplev.c: Remove HAIFA ifdefs.
1411 * sched.c Deleted.
1412 * Makefile.in: Corresponding changes.
1413
1414 Mon Aug 23 16:04:13 1999 Bernd Schmidt <bernds@cygnus.co.uk>
1415
1416 * optabs.c (prepare_cmp_insn): Turn COMPARISON arg into a pointer.
1417 All callers changed.
1418 (prepare_float_lib_cmp): Likewise.
1419 Use FLOAT_LIB_COMPARE_RETURNS_BOOL.
1420 * expr.h (emit_float_lib_cmp): Delete declaration.
1421 * tm.texi (FLOAT_LIB_COMPARE_RETURNS_BOOL): Document.
1422 * sparc.h (FLOAT_LIB_COMPARE_RETURNS_BOOL): Define.
1423 * sparc.md (bcc and scc patterns): Don't handle TFmode comparisons
1424 specially.
1425 (cmptf): Now conditional on TARGET_HARD_QUAD.
1426
1427 Fri Aug 20 17:52:27 1999 Jim Wilson <wilson@cygnus.com>
1428
1429 * resource.c (mark_target_live_regs): Use
1430 PIC_OFFSET_TABLE_REG_CALL_CLOBBERED.
1431
1432 Fri Aug 20 19:07:55 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1433
1434 * rtl.c (rtx_class, note_insn_name, reg_note_name): Constify.
1435
1436 * rtl.h (rtx_class, reg_note_name, note_insn_name): Likewise.
1437
1438 * genopinit.c (gen_insn): Use accessor macro, not `rtx_class'.
1439
1440 Fri Aug 20 18:53:43 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1441
1442 * rtl.h (rtx_format): Constify a char*.
1443
1444 * rtl.c (rtx_format): Likewise.
1445 (copy_rtx, copy_most_rtx, read_rtx): Likewise.
1446 (init_rtl): Use accessor macro, not `rtx_format'.
1447
1448 * alias.c (rtx_equal_for_memref_p, find_symbolic_term): Constify a
1449 char*.
1450
1451 * caller-save.c (mark_referenced_regs): Likewise.
1452
1453 * combine.c (subst, make_compound_operation, known_cond,
1454 gen_rtx_combine, update_table_tick, get_last_value_validate,
1455 use_crosses_set_p, mark_used_regs_combine, move_deaths): Likewise.
1456
1457 * cse.c (rtx_cost, mention_regs, canon_hash, exp_equiv_p,
1458 refers_to_p, canon_reg, fold_rtx, cse_process_notes,
1459 count_reg_usage): Likewise.
1460
1461 * emit-rtl.c (gen_rtx, copy_rtx_if_shared, reset_used_flags):
1462 Likewise.
1463
1464 * final.c (leaf_renumber_regs_insn): Likewise.
1465
1466 * flow.c (mark_used_regs, find_use_as_address, dump_flow_info,
1467 dump_edge_info, count_reg_references): Likewise.
1468
1469 * function.c (fixup_var_refs_1, walk_fixup_memory_subreg,
1470 fixup_stack_1, purge_addressof_1, instantiate_virtual_regs_1):
1471 Likewise.
1472
1473 * gcse.c (oprs_unchanged_p, hash_expr_1, expr_equiv_p,
1474 oprs_not_set_p, expr_killed_p, compute_transp, find_used_regs,
1475 add_label_notes): Likewise.
1476
1477 * genattrtab.c (attr_rtx, attr_copy_rtx, encode_units_mask,
1478 clear_struct_flag, count_sub_rtxs, count_alternatives,
1479 compares_alternatives_p, contained_in_p, walk_attr_value,
1480 write_expr_attr_cache): Likewise.
1481
1482 * genconfig.c (walk_insn_part): Likewise.
1483
1484 * genemit.c (max_operand_1, gen_exp): Likewise.
1485
1486 * genextract.c (walk_rtx): Likewise.
1487
1488 * genflags.c (num_operands): Likewise.
1489
1490 * genoutput.c (scan_operands): Likewise.
1491
1492 * genpeep.c (match_rtx): Likewise.
1493
1494 * genrecog.c (add_to_sequence): Likewise.
1495
1496 * haifa-sched.c (may_trap_exp, sched_analyze_2, attach_deaths):
1497 Likewise.
1498
1499 * integrate.c (save_constants, copy_for_inline,
1500 copy_rtx_and_substitute, subst_constants, restore_constants):
1501 Likewise.
1502
1503 * jump.c (mark_jump_label, invert_exp, redirect_exp,
1504 rtx_renumbered_equal_p, rtx_equal_for_thread_p): Likewise.
1505
1506 * local-alloc.c (contains_replace_regs, memref_referenced_p):
1507 Likewise.
1508
1509 * loop.c (record_excess_regs, rtx_equal_for_loop_p,
1510 add_label_notes, replace_call_address, count_nonfixed_reads,
1511 invariant_p, find_single_use_in_loop, find_mem_givs,
1512 find_life_end, maybe_eliminate_biv_1, update_reg_last_use):
1513 Likewise.
1514
1515 * print-rtl.c (reg_names, print_rtx): Likewise.
1516
1517 * recog.c (validate_replace_rtx_1, find_single_use_1): Likewise.
1518
1519 * reg-stack.c (stack_regs_mentioned_p, record_label_references,
1520 record_reg_life_pat, swap_rtx_condition, goto_block_pat,
1521 print_blocks): Likewise.
1522
1523 * regclass.c (fix_register, record_address_regs,
1524 reg_scan_mark_refs): Likewise.
1525
1526 * regmove.c (stable_but_for_p): Likewise.
1527
1528 * reload.c (loc_mentioned_in_p, operands_match_p,
1529 find_reloads_toplevsubst_reg_equivs, find_reloads_address_1,
1530 copy_replacements, refers_to_regno_for_reload_p,
1531 refers_to_mem_for_reload_p, find_inc_amount, regno_clobbered_p,
1532 reload_when_needed_name, reg_class_names, debug_reload_to_stream):
1533 Likewise.
1534
1535 * reload1.c (eliminate_regs, scan_paradoxical_subregs,
1536 delete_address_reloads_1, count_occurrences,
1537 reload_cse_mem_conflict_p, reload_combine_note_use,
1538 add_auto_inc_notes): Likewise.
1539
1540 * resource.c (mark_referenced_resources, mark_set_resources):
1541 Likewise.
1542
1543 * rtlanal.c (rtx_unstable_p, rtx_varies_p, rtx_addr_varies_p,
1544 reg_mentioned_p, regs_set_between_p, modified_between_p,
1545 modified_in_p, refers_to_regno_p, reg_overlap_mentioned_p,
1546 rtx_equal_p, volatile_insn_p, volatile_refs_p, side_effects_p,
1547 may_trap_p, inequality_comparisons_p, replace_rtx, replace_regs,
1548 jmp_uses_reg_or_mem, for_each_rtx, regno_use_in): Likewise.
1549
1550 * sched.c (sched_analyze_2, attach_deaths): Likewise.
1551
1552 * stupid.c (stupid_mark_refs): Likewise.
1553
1554 * unroll.c (remap_split_bivs): Likewise.
1555
1556 * varasm.c (mark_constants): Likewise.
1557
1558 * a29k/a29k.c (uses_local_reg_p): Likewise.
1559
1560 * alpha/alpha.c (summarize_insn): Likewise.
1561
1562 * arm/arm.c (symbol_mentioned_p, label_mentioned_p,
1563 eliminate_lr2ip): Likewise.
1564
1565 * arm/thumb.c (symbol_mentioned_p, label_mentioned_p): Likewise.
1566
1567 * i386/i386.c (symbolic_reference_mentioned_p, copy_all_rtx,
1568 reg_mentioned_in_mem): Likewise.
1569
1570 * ns32k/ns32k.c (global_symbolic_reference_mentioned_p,
1571 symbolic_reference_mentioned_p): Likewise.
1572
1573 * romp/romp.c (unsigned_comparisons_p, hash_rtx): Likewise.
1574
1575 * sh/sh.c (regs_used, mark_use): Likewise.
1576
1577 * vax/vax.c (vax_rtx_cost): Likewise.
1578
1579 Fri Aug 20 18:38:43 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1580
1581 * machmode.h (mode_name): Constify a char*.
1582
1583 * rtl.c (mode_name): Likewise.
1584
1585 * genopinit.c (gen_insn): Use accessor macro, not `mode_name'.
1586
1587 * optabs.c (init_libfuncs): Constify a char*.
1588
1589 * print-tree.c (mode_name): Remove redundant declaration.
1590 (print_node): Use accessor macro, not `mode_name'.
1591
1592 * reload1.c (dump_needs): Constify a char*. Use accessor macro,
1593 not `mode_name'.
1594 (new_spill_reg): Constify a char*.
1595
1596 * tree.c (mode_name): Remove redundant declaration.
1597
1598 Fri Aug 20 18:31:26 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1599
1600 * rtl.c (rtx_name): Constify a char*.
1601
1602 * rtl.h (rtx_name, fix_sched_param): Likewise.
1603
1604 * gmicro/gmicro.c (rtx_name): Remove redundant declaration.
1605 (mypr): Use accessor macro, not `rtx_name'.
1606
1607 * genemit.c (print_code): Constify a char*.
1608
1609 * genopinit.c (gen_insn): Use accessor macro, not `rtx_name'.
1610
1611 * genpeep.c (print_code): Constify a char*.
1612
1613 * genrecog.c (print_code): Likewise.
1614
1615 * graph.c (start_fct, start_bb, node_data, draw_edge, end_fct,
1616 end_bb): Add static prototype.
1617 (draw_edge): Constify a char*.
1618 (end_bb): Remove unused parameter.
1619
1620 * haifa-sched.c (fix_sched_param, safe_concat, print_exp
1621 print_block_visualization): Constify a char*.
1622
1623 Fri Aug 20 15:02:10 1999 Mark Mitchell <mark@codesourcery.com>
1624
1625 * c-common.c (c_get_alias_set): Update comment.
1626
1627 1999-08-20 Andreas Jaeger <aj@arthur.rhein-neckar.de>
1628
1629 * linux.h (LIB_SPEC): Added.
1630
1631 Fri Aug 20 22:32:17 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
1632
1633 * config/c4x/c4x.h (STARTFILE_SPEC): Don't define.
1634
1635 1999-08-19 18:43 -0700 Zack Weinberg <zack@bitmover.com>
1636
1637 * tree.c (expr_check): Fix typo in last change.
1638
1639 1999-08-19 14:44 -0700 Zack Weinberg <zack@bitmover.com>
1640
1641 * rtl.def (NOTE): Change format to "iuu0n".
1642 (ADDR_DIFF_VEC): Change format to "eEee0".
1643 (ADDRESSOF): Change format to "eit".
1644
1645 * rtl.h (rtvec): Make "elem" an array of rtx, not rtunion.
1646 (RTVEC_ELT): Change to match.
1647 (XVECEXP): Use XVEC and RTVEC_ELT.
1648 (INSN_UID, INSN_CODE, CODE_LABEL_NUMBER, NOTE_LINE_NUMBER,
1649 ADDRESSOF_REGNO, REGNO, SUBREG_WORD): Use XINT.
1650 (PREV_INSN, NEXT_INSN, PATTERN, REG_NOTES,
1651 CALL_INSN_FUNCTION_USAGE, SUBREG_REG, SET_SRC, SET_DEST,
1652 TRAP_CONDITION, TRAP_CODE): Use XEXP.
1653 (INTVAL): Use XWINT.
1654 (ADDRESSOF_DECL): Use XTREE.
1655 (SET_ADDRESSOF_DECL): Delete.
1656 (NOTE_DECL_NAME, NOTE_DECL_CODE, NOTE_DECL_RTL,
1657 NOTE_DECL_IDENTIFIER, NOTE_DECL_TYPE): Kill. These have been
1658 ifdefed out since 2.6 at least.
1659 (gen_rtvec_vv): Delete prototype.
1660
1661 * rtl.h (rtvec_alloc): rt->elem is now an array of rtx,
1662 not rtunion.
1663 (copy_most_rtx): Handle 't' format letter.
1664 * emit-rtl.c (gen_rtvec_v): rt_val->elem is an array of rtx.
1665 (gen_rtvec_vv): Delete function. All callers changed to use
1666 gen_rtvec_v instead.
1667 * print-rtl.c (print_rtx): Move special casing of NOTEs to
1668 the '0' format letter.
1669
1670 * function.c (gen_mem_addressof): Don't use
1671 SET_ADDRESSOF_DECL; provide `decl' to gen_rtx_ADDRESSOF
1672 instead.
1673 * integrate.c (copy_rtx_and_substitute): Likewise.
1674 Copy 't' slots with XTREE.
1675 (subst_constants): Treat 't' slots like '[swi]' slots.
1676 * cse.c (canon_hash, exp_equiv_p): Treat 't' slots like '0' slots.
1677 * jump.c (rtx_equal_for_thread_p): Likewise.
1678 * rtlanal.c (rtx_equal_p): Likewise.
1679 * stmt.c (expand_end_case): gen_rtx_ADDR_DIFF_VEC now takes
1680 only four arguments.
1681 * gengenrtl.c (type_from_format): Provide correct types for
1682 'b' and 't' slots.
1683
1684
1685 * tree.h [ENABLE_CHECKING] (TREE_CHECK, TREE_CLASS_CHECK):
1686 If a recent gcc is in use (always in stage2 and beyond), use
1687 statement expressions, so we don't make a function call unless
1688 the check fails. Evaluate arguments exactly once.
1689 (CHAIN_CHECK, DO_CHECK, DO_CHECK1, TREE_CHECK1,
1690 TREE_CLASS_CHECK1, TYPE_CHECK1, DECL_CHECK1, CST_CHECK1):
1691 Delete.
1692 (CST_OR_CONSTRUCTOR_CHECK, EXPR_CHECK): Redefine such that
1693 they evaluate their arguments exactly once, irrespective of
1694 the compiler in use.
1695
1696 * tree.c [ENABLE_CHECKING]: Define whichever set of functions
1697 is used by the currently-enabled check macros. This is:
1698 (tree_check_failed, tree_class_check_failed): For gcc.
1699 (tree_check, tree_class_check, cst_or_constructor_check,
1700 expr_check): For other compilers.
1701
1702 * gencheck.c: Do not define any *_CHECK1 macros.
1703
1704 Thu Aug 19 14:42:38 1999 Mike Stump <mrs@wrs.com>
1705 Mark Mitchell <mark@codesourcery.com>
1706
1707 * c-common.c (c_get_alias_set): Fix support for poitners and
1708 references.
1709
1710 Thu Aug 19 11:51:22 EDT 1999 John Wehle (john@feith.com)
1711
1712 * alias.c: Include tree.h.
1713 (nonlocal_reference_p, mark_constant_function): New functions.
1714 * flow.c (life_analysis): Call mark_constant_function.
1715 * rtl.h (mark_constant_function): Declare it.
1716
1717 Thu Aug 19 15:02:01 1999 Nick Clifton <nickc@cygnus.com>
1718
1719 * config/rs6000/rs6000.c (rs6000_override_options): Fix test for
1720 unrecognisable switches.
1721
1722 Wed Aug 18 23:31:57 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
1723
1724 * loop.c (recombine_givs): Set ix field after sorting.
1725 (recombine_givs): Remove bogus index / giv lockstep looping.
1726
1727 Wed Aug 18 18:20:40 1999 Bernd Schmidt <bernds@cygnus.co.uk>
1728
1729 * expmed.c (emit_store_flag): If UNSIGNEDP, call unsigned_condition
1730 on CODE.
1731 (emit_store_flag_force): Use do_compare_rtx_and_jump.
1732 (do_cmp_and_jump): Formatting fixes.
1733 * expr.c (do_compare_and_jump): Renamed from compare; changed to call
1734 do_compare_rtx_and_jump instead of compare_from_rtx.
1735 (do_compare_rtx_and_jump): New function; mostly copied from
1736 compare_from_rtx.
1737 (do_jump_for_compare): Delete.
1738 (expand_expr): Use do_compare_rtx_and_jump when handling MAX_EXPR and
1739 MIN_EXPR.
1740 (do_jump): Use do_compare_and_jump or do_compare_rtx_and_jump instead
1741 of compare/do_jump_for_compare pairs.
1742 (do_jump_by_parts_greater): Use do_jump_by_parts_greater_rtx.
1743 (do_jump_by_parts_greater_rtx): Use do_compare_rtx_and_jump instead of
1744 compare_from_rtx/do_jump_for_compare pairs.
1745 (do_jump_by_parts_equality): Likewise.
1746 (do_jump_by_parts_equality_rtx): Likewise.
1747 * expr.h (do_compare_rtx_and_jump): Declare.
1748 * optabs.c (prepare_cmp_insn): New function, contains most of the code
1749 that used to be in emit_cmp_insn.
1750 (cmp_available_p): New function.
1751 (prepare_operand): New function.
1752 (emit_cmp_and_jump_insn_1): New function, contains some code that used
1753 to be in emit_cmp_insn.
1754 (prepare_float_lib_cmp): Renamed from emit_float_lib_cmp; change some
1755 parameters to be pointers; don't emit final compare but modify some of
1756 the values pointed to by the args so the caller can perform the
1757 correct comparison.
1758 (expand_binop): Call emit_store_flag_force with signed forms of
1759 comparison code.
1760 (expand_abs): Use do_compare_rtx_and_jump instead of compare_from_rtx/
1761 emit_jump_insn pair.
1762 (emit_cmp_and_jump_insn): Use prepare_cmp_insn and
1763 emit_cmp_and_jump_insn_1. Call emit_queue.
1764 (emit_cmp_insn): Just call emit_cmp_and_jump_insns with zero for LABEL
1765 arg.
1766 * flow.c (tidy_fallthru_edge): If HAVE_cc0, verify insn before a
1767 jump sets cc0 before deleting it.
1768 * integrate.c (expand_inline_function): Likewise.
1769 * unroll.c (unroll_loop): Similar changes in several places.
1770 (copy_loop_body): If HAVE_cc0, verify insn before a jump sets cc0
1771 before deleting it.
1772
1773 Wed Aug 18 06:37:44 1999 Bernd Schmidt <bernds@cygnus.co.uk>
1774
1775 * Makefile.in (insn-recog.o): Update dependencies.
1776 * genrecog.c (main): Make generated file include "function.h".
1777
1778 Sat Aug 14 00:54:57 1999 Geoffrey Keating <geoffk@cygnus.com>
1779
1780 * cse.c (cse_insn): Call never_reached_warning when a jump is
1781 changed to be unconditional.
1782 * flags.h: Declare warn_notreached.
1783 * flow.c (delete_block): Call never_reached_warning when
1784 a block is deleted.
1785 * jump.c (delete_barrier_successors): Call never_reached_warning
1786 when we delete everything after a BARRIER.
1787 (never_reached_warning): New function.
1788 * rtl.h: Declare never_reached_warning.
1789 * toplev.c (warn_notreached): New variable.
1790 (lang_independent_options): Set warn_notreached
1791 when -Wunreachable-code.
1792 (compile_file): We need line numbers for -Wunreachable-code.
1793
1794 Tue Aug 17 22:06:11 1999 Jan Hubicka <hubicka@freesoft.cz>
1795
1796 * haifa-sched.c (insn_unit): Fix typo on out of range test.
1797 * sched.c (insn_unit): Likewise.
1798
1799 Tue Aug 17 21:57:23 1999 Andreas Schwab <schwab@suse.de>
1800
1801 * combine.c (distribute_notes): Handle REG_EH_RETHROW.
1802
1803 Tue Aug 17 17:39:43 EDT 1999 Andrew MacLeod <amacleod@cygnus.com>
1804
1805 * flow.c (create_edge_list): Use xmalloc, not malloc.
1806
1807 Tue Aug 17 01:40:54 1999 Loren Rittle <ljrittle@acm.org>
1808
1809 * fixinc/inclhack.def (no_double_slash): Do not trash single-line
1810 C-style comments. Do not lose the character before double slash.
1811
1812 Mon Aug 16 18:08:22 EDT 1999 Andrew MacLeod <amacleod@cygnus.com>
1813
1814 * basic-block.h (struct edge_list): Stucture to maintain a vector
1815 of edges.
1816 (EDGE_INDEX_NO_EDGE, EDGE_INDEX, INDEX_EDGE_PRED_BB, INDEX_EDGE_SUCC_BB,
1817 INDEX_EDGE, NUM_EDGES): New Macros for accessing edge list.
1818 (create_edge_list, free_edge-List, print_edge_list, verify_edge_list):
1819 New function prototypes.
1820 * flow.c (create_edge_list): Function to create an edge list.
1821 (free_edge_list): Discards memory used by an edge list.
1822 (print_edge_list): Debug output showing an edge list.
1823 (verify_edge_list): Internal consistency check for an edge list.
1824 (find_edge_index): Function to find an edge index for a pred and succ.
1825
1826 Mon Aug 16 11:56:36 1999 Mark Mitchell <mark@codesourcery.com>
1827
1828 * tree.c (type_hash_add): Use permalloc to allocate nodes in the
1829 hashtable.
1830
1831 Mon Aug 16 17:04:15 1999 Jorn Rennecke <amylaar@cygnus.co.uk>
1832
1833 * mips.h (CLASS_CANNOT_CHANGE_SIZE): Define.
1834
1835 Fri Aug 13 15:20:43 1999 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
1836
1837 * config/i386/freebsd.h (HANDLE_PRAGMA_PACK_PUSH_POP): Define.
1838
1839 Fri Aug 13 10:21:28 1999 Nick Clifton <nickc@cygnus.com>
1840
1841 * toplev.c (rest_of_compilation): Allow machine dependent
1842 reorganisation pass to place information into the RTL dump
1843 file if it so wishes.
1844
1845 Sun Aug 15 12:41:21 1999 Jim Wilson <wilson@cygnus.com>
1846
1847 * explow.c (hard_function_value): Use VOIDmode instead of
1848 MAX_MACHINE_MODE.
1849 * stmt.c (expand_return): Likewise.
1850 * stor-layout.c (get_best_mode): Likewise.
1851
1852 * genemit.c (gen_expand): If next is MATCH_PAR_DUP, then output
1853 emit call instead of emit_insn call.
1854
1855 Sat Aug 14 15:04:06 1999 Mumit Khan <khan@xraylith.wisc.edu>
1856
1857 * configure.in: Handle --disable/enable-win32-registry.
1858 * install.texi: Document --disable/enable-win32-registry.
1859 * acconfig.h (ENABLE_WIN32_REGISTRY): New macro.
1860 (WIN32_REGISTRY_KEY): New macro.
1861 * prefix.c: Use to enable/disable win32-specific code.
1862 (lookup_key): Use versioned key.
1863 * configure: Regenerate.
1864 * config.in: Likewise.
1865
1866 Fri Aug 13 17:41:55 1999 Jason Merrill <jason@yorick.cygnus.com>
1867
1868 * cpplib.c (read_line_number): New fn, split out of...
1869 (do_line): Here.
1870
1871 Fri Aug 13 14:18:27 1999 Gavin Romig-Koch <gavin@cygnus.com>
1872
1873 tree.c (lang_unsave_expr_now) : New.
1874 (unsave_expr_now): Call lang_unsave_expr_now.
1875 tree.h (lang_unsave_expr_now) : New.
1876
1877 Fri Aug 13 00:49:46 1999 Jason Merrill <jason@yorick.cygnus.com>
1878
1879 * toplev.c (flag_new_exceptions): On by default.
1880
1881 1999-08-13 Michael Meissner <meissner@cygnus.com>
1882
1883 * Makefile.in (GCC_FOR_TARGET): Move -B./ after the tooldir -B.
1884
1885 Fri Aug 13 01:29:57 1999 Alexandre Oliva <oliva@dcc.unicamp.br>
1886
1887 * dwarfout.c (fundamental_type_code): Return FT_boolean for
1888 INTEGER_TYPE with precision==1, it's __java_boolean.
1889
1890 Thu Aug 12 23:51:04 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
1891
1892 * global.c (prune_preferences): Move some invariants out of the
1893 inner loop.
1894
1895 Thu Aug 12 15:30:29 1999 Jesse Perry (jap@unx.dec.com)
1896
1897 * configure.in (alpha*-dec-osf*): Add osf5.
1898
1899 Sun Aug 1 22:24:03 1999 Philip Blundell <philb@gnu.org>
1900
1901 * configure.in: Rework handling of ARM GNU/Linux slightly.
1902 (arm*-*-linux-gnuoldld): New target.
1903 * configure: Regenerate.
1904 * install.texi (Configurations): Add arm-*-linux-gnu{oldld} and
1905 arm-*-elf. Mention that arm-*-linux-gnuaout is obsolete.
1906 * config/arm/linux-oldld.h: New file.
1907 * config/arm/linux-elf26.h: Don't include linux-elf.h.
1908 (TARGET_DEFAULT, SUBTARGET_LINK_SPEC, SUBTARGET_EXTRA_ASM_SPEC):
1909 Don't define.
1910 * config/arm/linux-elf.h (ASM_SPEC): Define.
1911 (TARGET_DEFAULT, SUBTARGET_EXTRA_LINK_SPEC,
1912 SUBTARGET_EXTRA_ASM_SPEC, CPP_APCS_PC_DEFAULT): Add definitions
1913 for 26-bit APCS and old linker.
1914 (CPP_PREDEFINES): Define `__arm__'; don't define `arm' or
1915 `arm_elf'.
1916 (FP_DEFAULT): Define to FP_SOFT3 for all machines.
1917 * config/arm/linux-aout.h (CPP_PREDEFINES): Define `__arm__';
1918 don't define `arm' or `arm_elf'.
1919 * config/arm/t-linux (EXTRA_MULTILIB_PARTS, MULTILIB_OPTIONS,
1920 MULTILIB_DIRNAMES): Define. Fix typo in comment.
1921
1922 Thu Aug 12 10:14:47 1999 Andreas Schwab <schwab@suse.de>
1923
1924 * rtl.texi: Fix typo.
1925
1926 Wed Aug 11 23:50:57 1999 Jason Merrill <jason@yorick.cygnus.com>
1927
1928 * invoke.texi (C++ Dialect Options): Add -fms-extensions.
1929
1930 Wed Aug 11 12:59:37 1999 Mark Mitchell <mark@codesourcery.com>
1931
1932 * extend.texi (C++ Signatures): Remove node.
1933 * invoke.texi: Remove discussion of -fhandle-signatures,
1934 signature, sigof, __signature__, and __sigof__.
1935
1936 Wed Aug 11 03:38:25 1999 Jeffrey A Law (law@cygnus.com)
1937
1938 * Makefile.in (JAVAGC): Removed.
1939
1940 Wed Aug 11 02:13:26 1999 Mumit Khan <khan@xraylith.wisc.edu>
1941
1942 * i386/cygwin.h (ASM_OUTPUT_ALIGNED_BSS): Define.
1943
1944 1999-08-11 Mark Elbrecht <snowball3@bigfoot.com>
1945
1946 * i386/djgpp.h (ASM_OUTPUT_ALIGNED_BSS): Define.
1947
1948 1999-08-11 Richard Earnshaw (rearnsha@arm.com)
1949
1950 * emit-rtl.c (mark_reg_pointer): Don't increase the alignment of
1951 a register that is already known to be a pointer.
1952
1953 1999-08-11 Bruce Korb <ddsinc09@ix.netcom.com>
1954
1955 * fixinc/inclhack.tpl: Only install assert.h conditionally.
1956 * fixinc/inclhack.sh: Regenerated.
1957 * fixinc/fixincl.sh: Regenerated.
1958
1959 Wed Aug 11 00:34:22 1999 Joe Buck <jbuck@synopsys.com>
1960
1961 * invoke.texi: s/GNU CC/GCC/ for consistency with gcc.texi.
1962 Fix documentation of -ansi flag to describe its C++ behavior.
1963 Remove bogus reference to GCC 2.9.
1964
1965 Tue Aug 10 17:19:02 1999 Jim Wilson <wilson@cygnus.com>
1966
1967 * config/sh/sh.c (machine_dependent_reorg): Only call PUT_MODE on
1968 note if it is non-NULL.
1969
1970 Tue Aug 10 10:47:42 EDT 1999 Andrew MacLeod <amacleod@cygnus.com>
1971
1972 * except.h (eh_nesting_info): Add new structure defintion.
1973 (init_eh_nesting_info, free_eh_nesting_info): Add function prototypes.
1974 (reachable_handlers, update_rethrow_references): Add function
1975 prototypes.
1976 * rtl.h (struct rtvec_def): Update comments. REG_EH_RETHROW takes
1977 a rethrow symbol instead of an integer exception region number.
1978 * flow.c (Make_edges): Use new exception nesting routines to determine
1979 which handlers are reachable from a CALL or asynchronous insn.
1980 Dont add an edge for calls with a REG_EH_REGION of -1 to non-local
1981 goto receivers.
1982 (delete_eh_regions): Update rethrow labels, and don't delete
1983 regions which are the target of a rethrow.
1984 * except.c (struct func_eh_entry): Add rethrow_ref field, now we can
1985 avoid overloading the SYMBOL_REF_USED flag.
1986 (rethrow_symbol_map): Use new rethrow_ref field.
1987 (rethrow_used): Use new rethrow_ref field.
1988 (expand_rethrow): REG_EH_RETHROW now has a SYMBOL_REF instead
1989 of an integer. Fix formatting.
1990 (output_exception_table_entry): Use new rethrow_ref field.
1991 (can_throw): Check for EH_REGION_NOTE before deciding
1992 whether a CALL can throw or not.
1993 (scan_region): Call rethrow_used() instead of accessing data structure.
1994 (update_rethrow_references): New function to make sure only regions
1995 which are still targets of a rethrow are flagged as such.
1996 (process_nestinfo): New static function to initialize a handler
1997 list for a specific region.
1998 (init_eh_nesting_info): New function to allocate and initialize
1999 the list of all EH handlers reachable from all regions.
2000 (reachable_handlers): New function to retrieve the list of handlers
2001 reachable from a specific region and insn.
2002 (free_eh_nesting_info): New function to dispose of a list of
2003 reachable handlers.
2004
2005 Tue Aug 10 10:39:31 EDT 1999 Andrew MacLeod <amacleod@cygnus.com>
2006
2007 * flow.c (split_edge): Set JUMP_LABEL field.
2008 (commit_one_edge_insertion): Set head correctly for insert_before.
2009 When inserting insns, update insn block numbers if allocated.
2010
2011 Tue Aug 10 09:26:07 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2012
2013 * dwarf2out.c (dwarf2out_frame_debug_expr, add_incomplete_type,
2014 retry_incomplete_types): Add static prototype.
2015 (stripattributes, dwarf_cfi_name, ASM_OUTPUT_DWARF_STRING,
2016 dwarf_tag_name, dwarf_attr_name, dwarf_form_name,
2017 dwarf_stack_op_name, dwarf_type_encoding_name, add_AT_string,
2018 dwarf2_name, add_name_attribute, lookup_filename, dwarf2out_line,
2019 dwarf2out_start_source_file, dwarf2out_define, dwarf2out_undef):
2020 Constify a char*.
2021
2022 * dwarf2out.h (dwarf2out_define, dwarf2out_undef,
2023 dwarf2out_start_source_file, dwarf2out_line): Likewise.
2024
2025 Tue Aug 10 09:21:46 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2026
2027 * output.h (assemble_name): Constify a char*.
2028
2029 * varasm.c (UNIQUE_SECTION, assemble_start_function,
2030 assemble_variable, assemble_name): Likewise.
2031
2032 * dwarf2out.c (ASM_NAME_TO_STRING): Likewise.
2033
2034 * arm/pe.c (arm_pe_unique_section): Likewise.
2035
2036 * i386/cygwin.h (STRIP_NAME_ENCODING): Likewise.
2037
2038 * i386/i386-interix.h (STRIP_NAME_ENCODING): Likewise.
2039
2040 * i386/interix.c (i386_pe_unique_section): Likewise.
2041
2042 * i386/win32.h (STRIP_NAME_ENCODING): Likewise.
2043
2044 * i386/winnt.c (i386_pe_unique_section): Likewise.
2045
2046 * m32r/m32r.h (ASM_OUTPUT_LABELREF): Likewise.
2047
2048 * mn10200/mn10200.h (ASM_OUTPUT_LABELREF): Likewise.
2049
2050 * mn10300/mn10300.h (ASM_OUTPUT_LABELREF): Likewise.
2051
2052 * pa/pa.c (output_call): Likewise.
2053
2054 * pa/pa.h (ASM_OUTPUT_MI_THUNK): Likewise.
2055
2056 * pa/som.h (ASM_OUTPUT_FUNCTION_PREFIX): Likewise.
2057
2058 * rs6000/rs6000.c (rs6000_output_load_toc_table, output_toc):
2059 Likewise.
2060
2061 * rs6000/rs6000.h (RS6000_OUTPUT_BASENAME, STRIP_NAME_ENCODING):
2062 Likewise.
2063
2064 * rs6000/sol2.h (ASM_OUTPUT_SOURCE_LINE): Likewise.
2065
2066 * rs6000/sysv4.h (ASM_DECLARE_FUNCTION_NAME, ASM_OUTPUT_INT,
2067 STRIP_NAME_ENCODING, ASM_OUTPUT_LABELREF): Likewise.
2068
2069 * v850/v850.h (ASM_OUTPUT_LABELREF): Likewise.
2070
2071 Mon Aug 9 19:54:05 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2072
2073 * real.c (GET_REAL, PUT_REAL): Use memcpy instead of bcopy.
2074
2075 Mon Aug 9 19:36:00 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2076
2077 * tree.h (lang_identify): Constify a char*.
2078 (print_error_function): Add extern prototype. Constify a char*.
2079
2080 * c-lang.c (lang_identify): Constify a char*.
2081
2082 * objc/objc-act.c (lang_identify): Constify a char*.
2083
2084 Mon Aug 9 16:21:53 1999 Bernd Schmidt <bernds@cygnus.co.uk>
2085
2086 * genpeep.c (main): Make generated file include "function.h".
2087 * arm.c (function_really_clobbers_lr): Delete INLINE_HEADER case.
2088
2089 Mon Aug 9 10:08:50 1999 Bernd Schmidt <bernds@cygnus.co.uk>
2090
2091 * Makefile.in: Update dependencies.
2092 * alias.c: Include "function.h"
2093 * c-decl.c: Likewise.
2094 * caller-save.c: Likewise.
2095 * calls.c: Likewise.
2096 * combine.c: Likewise.
2097 * cse.c: Likewise.
2098 * explow.c: Likewise.
2099 * final.c: Likewise.
2100 * global.c: Likewise.
2101 * graph.c: Likewise.
2102 * local-alloc.c: Likewise.
2103 * loop.c: Likewise.
2104 * optabs.c: Likewise.
2105 * profile.c: Likewise.
2106 * recog.c: Likewise.
2107 * regclass.c: Likewise.
2108 * regmove.c: Likewise.
2109 * reload.c: Likewise.
2110 * reorg.c: Likewise.
2111 * resource.c: Likewise.
2112 * sched.c: Likewise.
2113 * stupid.c: Likewise.
2114 * config/1750a/1750a.c: Likewise.
2115 * config/a29k/a29k.c: Likewise.
2116 * config/arc/arc.c: Likewise.
2117 * config/arm/arm.c: Likewise.
2118 * config/arm/thumb.c: Likewise.
2119 * config/c4x/c4x.c: Likewise.
2120 * config/clipper/clipper.c: Likewise.
2121 * config/convex/convex.c: Likewise.
2122 * config/fx80/fx80.c: Likewise.
2123 * config/i860/i860.c: Likewise.
2124 * config/m68k/m68k.c: Likewise.
2125 * config/m88k/m88k.c: Likewise.
2126 * config/mips/mips.c: Likewise.
2127 * config/pdp11/pdp11.c: Likewise.
2128 * config/pyr/pyr.c: Likewise.
2129 * config/romp/romp.c: Likewise.
2130 * config/sh/sh.c: Likewise.
2131 * config/tahoe/tahoe.c: Likewise.
2132 * config/vax/vax.c: Likewise.
2133 * config/we32k/we32k.c: Likewise.
2134 * config/sparc/sparc.c: Include "function.h".
2135 (mem_min_alignment): Test current_function rather than
2136 regno_pointer_align.
2137 * config/pa/pa.c: Likewise.
2138 (compute_frame_size): Delete declaration of
2139 current_function_outgoing_args_size.
2140 * config/arc/arc.h (current_function_varargs): Delete declaration.
2141 * config/elxsi/elxsi.h (current_function_calls_alloca): Delete
2142 declaration.
2143 * config/i370/i370.h (current_function_outgoing_args_size): Delete
2144 declaration.
2145 * config/i386/i386.h (FINALIZE_PIC): Delete declaration of
2146 current_function_uses_pic_offset_table.
2147 * config/m68k/a-ux.h (FUNCTION_EXTRA_EPILOGUE): Delete declaration
2148 of current_function_returns_pointer.
2149 * config/m68k/altos3068.h (FUNCTION_EXTRA_EPILOGUE): Likewise.
2150 * config/m68k/linux.h (FUNCTION_EXTRA_EPILOGUE): Likewise.
2151 * config/m68k/m68kv4.h (FUNCTION_EXTRA_EPILOGUE): Likewise.
2152 * config/m68k/mot3300.h (FUNCTION_EXTRA_EPILOGUE): Likewise.
2153 * config/m68k/pbb.h (FUNCTION_EXTRA_EPILOGUE): Likewise.
2154 * config/m68k/tower-as.h (FUNCTION_EXTRA_EPILOGUE): Likewise.
2155 * config/m88k/m88k.c: Include "function.h"
2156 (call_used_regs, current_function_pretend_args_size,
2157 current_function_outgoing_args_size, frame_pointer_needed): Delete
2158 declarations.
2159 * config/m88k/m88k.h (current_function_pretend_args_size): Delete
2160 declaration.
2161 * config/mips/mips.h (current_function_calls_alloca): Delete
2162 declaration.
2163 * config/mn10200/mn10200.h (current_function_needs_context,
2164 rtx_equal_function_value_matters): Delete declarations.
2165 * config/ns32k/ns32k (current_function_uses_pic_offset_table,
2166 flag_pic): Delete declarations.
2167 * config/pa/pa.h (current_function_pretend_args_size,
2168 current_function_decl): Delete declarations.
2169 * config/pa/som.h (current_function_varargs): Delete declaration.
2170 * config/pdp11/pdp11.h (current_function_pretend_args_size): Delete
2171 declaration.
2172 * config/pyr/pyr.h (current_function_pretend_args_size,
2173 current_function_args_size, current_function_calls_alloca): Delete
2174 declarations.
2175 * config/sh/sh.h (current_function_varargs): Delete declaration.
2176 * config/sparc/sparc.h (current_function_outgoing_args_size,
2177 current_function_calls_alloca, current_function_decl): Delete
2178 declarations.
2179 * config/spur/spur.h (current_function_pretend_args_size,
2180 current_function_calls_alloca): Delete declarations.
2181 * config/v850/v850.c (current_function_outgoing_args_size): Delete
2182 declaration.
2183 * config/vax/vms.h (current_function_name): Delete declaration.
2184 * gcse.c: Include "function.h".
2185 (current_function_name, current_function_calls_setjmp): Delete
2186 declarations.
2187 * haifa-sched.c: Include "function.h".
2188 (forced_labels): Delete declaration.
2189 * jump.c: Likewise.
2190 * reg-stack.c: Likewise.
2191 * reload1.c: Likewise.
2192 * genemit.c (main): Make generated file include function.h.
2193 * genoutput.c (output_prologue): Likewise.
2194
2195 * builtins.c (saveregs_value, apply_args_value): Delete variables.
2196 * emit-rtl.c (reg_rtx_no, first_label_num, first_insn, last_insn,
2197 sequence_rtl_expr, cur_insn_uid, last_linenum, last_filename,
2198 regno_pointer_flag, regno_pointer_flag_length, regno_pointer_align,
2199 regno_reg_rtx, sequence_stack): Delete variables. Add accessor
2200 macros for some of them.
2201 (emit_filename, emit_lineno): Delete declarations.
2202 (gen_reg_rtx): Use memset/memcpy instead of bzero/bcopy. Access
2203 regno_pointer_* variables through current_function.
2204 (gen_inline_header_rtx): Delete function.
2205 (save_emit_status): Delete function.
2206 (set_new_last_label_num): New function.
2207 (clear_emit_caches): New function.
2208 (restore_emit_status): Just clear last_labelnum and call
2209 clear_emit_caches.
2210 (get_last_insn_anywhere): Variable sequence_stack is now accessed
2211 through macro seq_stack.
2212 (add_insn_after): Likewise.
2213 (add_insn_before): Likewise.
2214 (remove_insn): Likewise.
2215 (pop_topmost_sequence): Likewise.
2216 (in_sequence_p): Likewise.
2217 (start_sequence_for_rtl_expr): Likewise.
2218 (start_sequence): Likewise, and likewise for
2219 sequence_rtl_expr/seq_rtl_expr.
2220 (push_topmost_sequence): Likewise.
2221 (end_sequence): Likewise.
2222 (init_virtual_regs): Now takes a "struct emit_status *" argument.
2223 All callers changed. Store into that pointer instead of globals.
2224 (init_emit): Allocate emit elt of current_function.
2225 Changes for sequence_rtl_expr/sequence_stack renaming.
2226 Call clear_emit_caches instead of doing it in-line.
2227 Access regno_pointer_* variables through current_function.
2228 (init_emit_once) Don't clear sequence_stack.
2229
2230 * expr.c (pending_stack_adjust, inhibit_defer_pop, pending_chain):
2231 Delete variables.
2232 (arg_pointer_save_area): Delete declaration.
2233 (finish_expr_for_function): Renamed from init_queue; no longer static.
2234 (init_expr): Don't call init_queue.
2235 (save_expr_status, restore_expr_status): Delete functions.
2236 (expand_expr): Changes to reflect new layout of struct function.
2237 Don't access current_function_check_memory_usage when current_function
2238 is 0.
2239 * expr.h (forced_labels, save_expr_regs, saveregs_value,
2240 apply_args_value, current_function_calls_alloca, inhibit_defer_pop,
2241 current_function_outgoing_args_size, current_function_arg_offset_rtx,
2242 current_function_uses_const_pool, function_call_count,
2243 current_function_uses_pic_offset_table, nonlocal_labels,
2244 current_function_internal_arg_pointer, nonlocal_goto_stack_level,
2245 current_function_check_memory_usage, nonlocal_goto_handler_slots,
2246 pending_stack_adjust, target_temp_slot_level, temp_slot_level): Delete
2247 declarations.
2248 (finish_expr_for_function): Declare.
2249 * flags.h (current_function_has_nonlocal_label,
2250 current_function_has_nonlocal_goto, current_function_is_thunk,
2251 current_function_has_computed_jump): Delete declarations.
2252 * flow.c (forced_labels): Delete declaration.
2253 * function.c (current_function_pops_args,
2254 current_function_returns_struct, current_function_returns_pcc_struct,
2255 current_function_needs_context, current_function_calls_setjmp,
2256 current_function_calls_longjmp, current_function_has_nonlocal_label,
2257 current_function_has_nonlocal_goto, current_function_is_thunk,
2258 current_function_has_computed_jump, current_function_calls_alloca,
2259 current_function_contains_functions, current_function_returns_pointer,
2260 current_function_epilogue_delay_list, current_function_args_size,
2261 current_function_pretend_args_size, current_function_arg_offset_rtx,
2262 current_function_outgoing_args_size, current_function_varargs,
2263 current_function_stdarg, current_function_args_info, cleanup_label,
2264 current_function_name, current_function_uses_const_pool,
2265 current_function_instrument_entry_exit, current_function_return_rtx,
2266 current_function_uses_pic_offset_table, nonlocal_labels,
2267 current_function_internal_arg_pointer, current_function_cannot_inline,
2268 current_function_check_memory_usage, function_call_count,
2269 nonlocal_goto_handler_slots, nonlocal_goto_handler_labels,
2270 nonlocal_goto_stack_level, return_label, save_expr_regs,
2271 stack_slot_list, rtl_expr_chain, tail_recursion_label, temp_slots,
2272 tail_recursion_reentry, arg_pointer_save_area, frame_offset,
2273 context_display, trampoline_list, parm_birth_insn, invalid_stack_slot,
2274 last_parm_insn, max_parm_reg, parm_reg_stack_loc, sequence_rtl_expr,
2275 temp_slot_level, var_temp_slot_level, target_temp_slot_level):
2276 Delete variables.
2277 (push_function_context_to): Don't save them. Don't call
2278 save_storage_status, save_emit_status or save_expr_status.
2279 (pop_function_context_from): Don't restore them. Don't call
2280 restore_storage_status or restore_expr_status.
2281 (get_func_frame_size): New function.
2282 (get_frame_size): Use it.
2283 (assign_outer_stack_local): Reflect some member name changes in struct
2284 function.
2285 (put_reg_into_stack): Likewise.
2286 (assign_stack_temp_for_type): sequence_rtl_expr was renamed to
2287 seq_rtl_expr.
2288 (fixup_var_refs): Likewise.
2289 (fix_lexical_addr): Likewise.
2290 (trampoline_address): Likewise.
2291 (prepare_function_start): Clear field inlinable of current_function.
2292 (init_function_for_compilation): New function.
2293 (expand_dummy_function_end): New function.
2294 (expand_function_end): Call finish_expr_for_function.
2295 * function.h (struct emit_status): New; fields moved here from struct
2296 function and from global variables. Add accessor macros for some of
2297 the fields.
2298 (struct expr_status): Likewise.
2299 (REGNO_POINTER_ALIGN, REGNO_POINTER_FLAG): Moved here from regs.h.
2300 (struct function): Add fields expr and emit, inlinable, inl_emit,
2301 original_arg_vector, original_decl_initial, inl_last_parm_insn,
2302 inl_max_label_num. Add many comments.
2303 Add accessor macros for all elts of struct function that no longer
2304 have a global variable.
2305 (cleanup_label, return_label, frame_offset, tail_recursion_label,
2306 tail_recursion_reentry, arg_pointer_save_area, rtl_expr_chain,
2307 stack_slot_list): Delete declarations.
2308 (get_func_frame_size): Declare.
2309 (save_expr_status, restore_expr_status, save_emit_status,
2310 save_storage_status, restore_storage_status): Delete declarations.
2311 (init_virtual_regs): Declare.
2312 * output.h (current_function_pops_args,
2313 current_function_returns_struct, current_function_returns_pcc_struct,
2314 current_function_needs_context, current_function_calls_setjmp,
2315 current_function_calls_longjmp, current_function_calls_alloca,
2316 current_function_has_nonlocal_label, current_function_varargs,
2317 current_function_has_computed_jump, current_function_returns_pointer,
2318 current_function_contains_functions, current_function_args_size,
2319 current_function_pretend_args_size, current_function_stdarg,
2320 current_function_outgoing_args_size, current_function_args_info,
2321 current_function_name, current_function_return_rtx,
2322 current_function_epilogue_delay_list,
2323 current_function_uses_const_pool, current_function_cannot_inline):
2324 Delete declarations.
2325 * regs.h (reg_rtx_no, regno_pointer_flag, regno_pointer_flag_length,
2326 regno_reg_rtx): Delete declaration.
2327 (REGNO_POINTER_FLAG): Delete macro.
2328 * stmt.c (expand_goto): Changes to reflect that some fields in struct
2329 function were renamed.
2330 * stor-layout.c (save_storage_status, restore_storage_status): Delete
2331 functions.
2332 * toplev.c: Include "function.h".
2333 (current_function_decl): Delete declaration.
2334 (compile_file): Call init_dummy_function_start and
2335 expand_dummy_function_end around some initializations that need to
2336 emit rtl.
2337 (rest_of_compilation): Use DECL_SAVED_INSNS properly.
2338 Call init_function_for_compilation.
2339 * unroll.c: Include "function.h"
2340 (unroll_loop): Access regno_pointer_* variables through
2341 current_function.
2342
2343 * tree.h (struct tree_decl): Add elt f to saved_insns member.
2344 (DECL_SAVED_INSNS): use it.
2345 (expand_dummy_function_end): Declare.
2346 (init_function_for_compilation): Declare.
2347 * calls.c (calls_function_1): Change use of DECL_SAVED_INSNS now
2348 that it's no longer an INLINE_HEADER.
2349 (expand_call): Likewise.
2350 * integrate.c (finish_inline): Delete function.
2351 (max_parm_reg, parm_reg_stack_loc): Delete declarations.
2352 (initialize_for_inline): Delete min_labelno, max_labelno and max_reg
2353 args. Don't generate an INLINE_HEADER rtx, just return the arg
2354 vector. All callers changed.
2355 (save_for_inline_copying): Create a duplicate struct emit_status to
2356 hold the emit state for compiling the current function. Use this and
2357 the other new fields in struct function that are for integration
2358 instead of an INLINE_HEADER.
2359 Use memcpy instead of bcopy.
2360 Store the current struct function in DECL_SAVED_INSNS of fndecl.
2361 (save_for_inline_nocopy): Similar changes, except no new emit_status
2362 is needed here.
2363 (expand_inline_function): Get information from function structure,
2364 not from an inline header rtx.
2365 (output_inline_function): Lose code to extract the necessary
2366 information from an inline header; simply put back the function
2367 structure into current_function. Clear its inlinable elt.
2368 * rtl.def (INLINE_HEADER): Delete.
2369 * rtl.h: Delete all accessors for an INLINE_HEADER.
2370 (gen_inline_header_rtx): Delete declaration.
2371 (regno_reg_rtx, regno_pointer_align, nonlocal_goto_handler_labels):
2372 Delete declarations.
2373 (REGNO_POINTER_ALIGN): Delete.
2374 (clear_emit_caches): Declare.
2375 (set_new_last_label_num): Declare.
2376
2377 Mon Aug 9 01:52:24 1999 Jason Merrill <jason@yorick.cygnus.com>
2378
2379 * print-tree.c (print_node): Print base for OFFSET_TYPEs.
2380
2381 * except.c (expand_eh_region_start_for_decl): Always start a new block.
2382 * stmt.c (is_eh_region): Make sure current_function is present, too.
2383
2384 Mon Aug 9 01:15:24 1999 Jeffrey A Law (law@cygnus.com)
2385
2386 * pa.h (HARD_REGNO_MODE_OK): Correctly handle FPregs, even when
2387 for 64bit PA targets.
2388
2389 * pa.h (SELECT_SECTION): Define.
2390 * som.h (SELECT_SECTION): Delete.
2391
2392 Sun Aug 8 15:13:20 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2393
2394 * alias.c (init_alias_analysis): Wrap call to
2395 `prologue_epilogue_contains' within HAVE_prologue||HAVE_epilogue.
2396
2397 1999-08-07 Bruce Korb <autogen@linuxbox.com>
2398
2399 * fixinc/inclhack.def(irix_asm_apostrophe): IRIX 5.2's
2400 <sys/asm.h> contains an asm comment with an apostrophe
2401 * fixinc/inclhack.sh: regen
2402 * fixinc/fixincl.x: regen
2403
2404 Sat Aug 7 19:37:07 1999 Richard Henderson <rth@cygnus.com>
2405
2406 * function.c (init_function_start): Clear prologue & epilogue.
2407 (prologue_epilogue_contains): New function.
2408 * alias.c (init_alias_analysis): Use it.
2409 * rtl.h (prologue_epilogue_contains): Declare it.
2410
2411 Sat Aug 7 19:32:16 1999 Richard Henderson <rth@cygnus.com>
2412
2413 * jump.c (onlyjump_p): New function.
2414 * rtl.h: Declare it.
2415 * flow.c (delete_unreachable_blocks): Use onlyjump_p instead
2416 of condjump_p in calling tidy_fallthru_edge and merge_blocks.
2417
2418 Sat Aug 7 17:09:36 1999 Richard Henderson <rth@cygnus.com>
2419
2420 * global.c (build_insn_chain): Use EXECUTE_IF_SET_IN_REG_SET
2421 to invert loops. Simplify block scanning.
2422
2423 Sat Aug 7 02:11:13 1999 Bernd Schmidt <bernds@cygnus.co.uk>
2424
2425 * gcse.c (hash_scan_set): Treat SYMBOL_REFs like CONST_INTs.
2426 (cprop_insn): Treat SYMBOL_REFs like CONST_INTs.
2427
2428 1999-08-07 Jonathan Larmour <jlarmour@cygnus.co.uk>
2429
2430 * config/sparc/liteelf.h: New file to support sparclite-elf target
2431 * config/sparc/t-sp86x: New file to support sparc86x targets
2432 * config/sparc/sp86x-aout.h: New file to support sparc86x-aout target
2433 * config/sparc/sp86x-elf.h: New file to support sparc86x-elf target
2434 * configure.in: Support above target triplets
2435 * configure: Regenerated
2436
2437 Sat Aug 7 01:39:27 1999 Philippe De Muyter <phdm@macqel.be>
2438
2439 * fixinc/server.c (server_setup): Do not prefix function used as
2440 parameter with `&'.
2441
2442 Sat Aug 7 00:21:20 1999 Richard Henderson <rth@cygnus.com>
2443
2444 * alpha.md (movhi and movqi patterns): Correct predicate for !BWX.
2445 Remove fp reg alternatives.
2446
2447 Sat Aug 7 00:06:54 1999 Jeffrey A Law (law@cygnus.com)
2448
2449 * Makefile.in (TAROUTOPTS): Kill.
2450 (install-headers-tar): Use "xpf" for tar headerfile extraction
2451 * i370/x-oe (TAROUTOPTS): Delete.
2452 * m68k/x-apollo68 (TAROUTOPTS): Delete.
2453 * m68k/x-hp320 (TAROUTOPTS): Delete.
2454 * m68k/x-hp320g (TAROUTOPTS): Delete.
2455 * gcc.texi: Update bug reporting text.
2456
2457 1999-08-6 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
2458
2459 * reg-stack.c (change_stack) Fixed problem with negative array index.
2460
2461 Fri Aug 6 23:08:44 1999 Jeffrey A Law (law@cygnus.com)
2462
2463 * extend.texi, install.texi: Fix spelling mistakes.
2464
2465 * Makefile.in (PREMADE_ATTRTAB_MD, PREMADE_ATTRTAB): Delete.
2466 (s-attrtab); No longer try to use pre-made insn-attrtab file.
2467 * mips/t-bsd: Delete references to obsolete PREMADE_ATTRTAB and
2468 PREMADE_ATTRTAB_MD.
2469 * mips/t-ecoff: Likewise.
2470 * mips/t-elf: Likewise.
2471 * mips/t-mips: Likewise.
2472 * mips/t-osfrose: Likewise.
2473 * mips/t-r3900: Likewise.
2474 * mips/t-svr3: Likewise.
2475 * mips/t-svr4: Likewise.
2476 * mips/t-ultrix: Likewise.
2477
2478 * gcc.texi: Document recommend means to provide software floating
2479 point libraries in libgcc.a
2480
2481 1999-08-06 Jason Merrill <jason@yorick.cygnus.com>
2482
2483 * c-lex.c (yylex): We can have a number with no digits.
2484
2485 Fri Aug 6 16:53:55 EDT 1999 John Wehle (john@feith.com)
2486
2487 * jump.c (delete_prior_computation): New function, broken
2488 out of delete_computation. Check for side effects with
2489 side_effects_p instead of FIND_REG_INC_NOTE. Handle
2490 multi-word hard registers.
2491 (delete_computation): Use it. Check for side effects with
2492 side_effects_p instead of FIND_REG_INC_NOTE. Synthesize a
2493 missing REG_DEAD note for a register which is both set and
2494 used by an insn.
2495
2496 Fri Aug 6 11:05:29 1999 Jeffrey A Law (law@cygnus.com)
2497
2498 * elf.h (TEXT_SPACE_P, FUNCTION_NAME_P): Delete.
2499 (ASM_GLOBALIZE_LABEL, ASM_OUTPUT_INT, ASM_OUTPUT_DOUBLE_INT): Likewise.
2500 (ASM_FILE_START): Import _mcount with the right type.
2501 (ASM_DECLARE_FUNCTION_NAME): Define.
2502 (ASM_OUTPUT_EXTERNAL, ASM_OUTPUT_EXTERNAL_LIBCALL): Define.
2503 * pa.c (output_function_prologue): Always emit the function's label
2504 here.
2505 * pa.h (TEXT_SPACE_P): Define.
2506 (FUNCTION_NAME_P, ENCODE_SECTION_INFO, STRIP_NAME_ENCODING): Likewise.
2507 (ASM_OUTPUT_INT, ASM_OUTPUT_DOUBLE_INT, ASM_GLOBALIZE_LABEL): Likewise.
2508 * som.h (TEXT_SPACE_P): Delete.
2509 (FUNCTION_NAME_P, ENCODE_SECTION_INFO, STRIP_NAME_ENCODING): Likewise.
2510 (ASM_GLOBALIZE_LABEL, ASM_OUTPUT_INT): Likewise.
2511
2512 Thu Aug 5 19:29:39 1999 Jim Wilson <wilson@cygnus.com>
2513
2514 * expr.c (emit_group_load): Allow src to be a CONCAT.
2515
2516 Thu Aug 5 22:27:15 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
2517
2518 * config/sh/lib1funcs.asm (___movstrSI0): Change or r0,r0,r0 to nop.
2519 (___mulsi3): Use '!' comment character.
2520
2521 Thu Aug 5 13:34:14 1999 Bernd Schmidt <bernds@cygnus.co.uk>
2522
2523 * reload1.c (maybe_fix_stack_asms): Also declare P as "const char *".
2524
2525 Thu Aug 5 02:40:42 1999 Jeffrey A Law (law@cygnus.com)
2526
2527 * gcc.c: Update URLs and mail addresses.
2528 * gcc.texi: Likewise.
2529
2530 Thu Aug 5 01:14:13 1999 Daniel Jacobowitz <drow@false.org>
2531
2532 * rs6000.c (current_file_function_operand): Return zero for
2533 weak functions.
2534 (rs6000_encode_section_info): Do not set SYMBOL_REF_FLAG for
2535 weak symbols.
2536 * rs6000.h (ENCODE_SECTION_NIFO): Do not set SYMBOL_REF_FLAG
2537 for weak symbols.
2538
2539 Thu Aug 5 00:56:30 1999 Geoffrey Keating <geoffk@cygnus.com>
2540
2541 * rs6000.c (rs6000_stack_info): For ABI_V4/ABI_SOLARIS -fpic, always
2542 allocate space in the stack frame for the PIC register.
2543
2544 Thu Aug 5 00:20:47 1999 Jeffrey A Law (law@cygnus.com)
2545
2546 * m68k.md (xordi3, anddi3): These patterns are not available on
2547 the coldfire.
2548
2549 Wed Aug 4 23:39:20 1999 Mark Mitchell <mark@codesourcery.com>
2550
2551 * real.c (GET_REAL): Don't violate ANSI/ISO aliasing rules.
2552 (PUT_REAL): Likewise.
2553
2554 Wed Aug 4 20:45:04 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
2555
2556 * final.c (shorten_branches): Don't add an alignment for loops
2557 that have no label inside.
2558
2559 Wed Aug 4 16:39:24 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2560
2561 * builtins.c (expand_builtin_memcmp, expand_builtin_strcmp): Wrap
2562 prototypes in macro HAVE_cmpstrsi.
2563
2564 * cpplib.c (cpp_get_token): Remove unused label `op3'.
2565
2566 * emit-rtl.c (operand_subword): Remove unused variable
2567 `bits_per_word'.
2568
2569 * rtl.c (shallow_copy_rtx): Remove unused variable `format_ptr'.
2570
2571 * tree.c (chainon): Wrap variable `t2' in macro ENABLE_CHECKING.
2572
2573 Wed Aug 4 13:29:23 1999 Zack Weinberg <zack@bitmover.com>
2574
2575 * cpphash.c (macroexpand): Delete leading whitespace when arg
2576 is concatenated before.
2577 (unsafe_chars): Correct test for whether + and - can extend a
2578 token.
2579
2580 * cppinit.c (cpp_start_read): Do dependencies for
2581 -include/-imacros files also.
2582
2583 * cpplib.c (cpp_scan_buffer): In no-output mode, don't bother
2584 tokenizing non-directive lines.
2585 (cpp_expand_to_buffer): Temporarily disable no-output mode.
2586 * cppmain.c: In no-output mode, just call cpp_scan_buffer for
2587 the input file.
2588
2589 Wed Aug 4 12:53:44 1999 Jason Merrill <jason@yorick.cygnus.com>
2590
2591 * expr.c (expand_expr, case PLUS_EXPR): Fix parallel case, too.
2592
2593 * c-lex.c: Sync with C++ frontend.
2594 (linemode): New variable.
2595 (parse_float): imag, conversion_errno, and type are output only.
2596 (yylex): Adjust. Move initial '.' case into main switch.
2597 Use linemode.
2598 (handle_generic_pragma): Just deal with tokens.
2599 (readescape): Use ISXDIGIT and ISGRAPH.
2600 * c-parse.in: Add END_OF_LINE token.
2601
2602 * c-lex.c (lang_init): Generalize.
2603 (nextchar): Remove. Replace uses with UNGETC.
2604 (skip_white_space): Handle linemode here. Optimize for cpplib.
2605 (skip_white_space_on_line): Remove.
2606 (extend_token_buffer_to): New fn.
2607 (extend_token_buffer): Use it.
2608 (read_line_number, check_newline): Just deal with tokens.
2609 (token_getch, token_put_back): New fns.
2610 (yylex): Use them. More cpplib optimizations. Simplify.
2611
2612 Wed Aug 4 12:53:44 1999 Michael Tiemann <tiemann@holodeck.cygnus.com>
2613 Jason Merrill <jason@yorick.cygnus.com>
2614
2615 * c-lex.c (init_parse): Set cpp_token to CPP_DIRECTIVE.
2616 (consume_string): Make this smart about USE_CPPLIB.
2617 (check_newline): Rewrite to be intelligent about USE_CPPLIB.
2618 (yylex): Rewrite to be intelligent about USE_CPPLIB.
2619 Also, clean up cases where we redundantly set token_buffer[0].
2620 (read_line_number): New fn.
2621 (ignore_escape_flag): New variable.
2622
2623 Wed Aug 4 13:12:17 1999 Jeffrey A Law (law@cygnus.com)
2624
2625 * a29k/t-a29kbare: Fix some comments.
2626 (LIB2FUNCS_EXTRA): Remove fp-bit.c and dp-bit.c
2627 (FPBIT, DPBIT): Define.
2628 * a29k/t-vx29k: Likewise.
2629 * arc/t-arc: Likewise.
2630 * arm/t-arm-elf: Likewise.
2631 * arm/t-bare: Likewise.
2632 * arm/t-pe: Likewise.
2633 * arm/t-pe-thumb: Likewise.
2634 * arm/t-semi: Likewise.
2635 * arm/t-thumb: Likewise.
2636 * arm/t-thumb-elf: Likewise.
2637 * arm/t-thumb-linux: Likewise.
2638 * h8300/t-h8300: Likewise.
2639 * i960/t-i960: Likewise.
2640 * i960/t-vxworks960: Likewise.
2641 * m32r/t-m32r: Likewise.
2642 * mips/t-ecoff: Likewise.
2643 * mips/t-elf: Likewise.
2644 * mips/t-r3900: Likewise.
2645 * pa/t-pro: Likewise.
2646 * rs6000/t-aix43: Likewise.
2647 * rs6000/t-beos: Likewise.
2648 * rs6000/t-newas: Likewise.
2649 * rs6000/t-ppccomm: Likewise.
2650 * rs6000/t-rs6000: Likewise.
2651 * rs6000/t-winnt: Likewise.
2652 * rs6000/t-xnewas: Likewise.
2653 * rs6000/t-xrs6000: Likewise.
2654 * sh/t-sh: Likewise.
2655 * sparc/t-elf: Likewise.
2656 * sparc/t-sparcbare: Likewise.
2657 * sparc/t-sparclite: Likewise.
2658 * sparc/t-splet: Likewise.
2659 * v850/t-v850: Likewise.
2660 * mn10200/t-mn10200: Fix comments.
2661 * mn10300/t-mn10300: Likewise.
2662
2663 * pa.md (divsi3, udivsi3, modsi3, umodsi3 expanders): Clobber a new
2664 dummy operand. Allocate a new pseudo for the dummy operand.
2665 (divsi3, udivsi3, modis3, umodsi3 patterns): Corresponding changes.
2666
2667 * pa.md (movqi, movhi patterns): Do not expose FP regs to regclass.
2668
2669 Wed Aug 4 11:53:55 1999 Tom Tromey <tromey@cygnus.com>
2670
2671 * configure: Rebuilt.
2672 * configure.in: Removed --enable-java-gc option and JAVAGC subst.
2673
2674 Wed Aug 4 09:06:14 1999 Richard Earnshaw (rearnsha@arm.com)
2675
2676 * recog.c (preproces_constraints): Zero recog_op_alt before
2677 processing the constraints.
2678
2679 * arm.c (typedef minipool_node): Renamed from pool_node.
2680 (minipool_vector, minipool_size, minipool_vector_label): Similarly.
2681 (add_minipool_constant): New function.
2682 (dump_minipool): New function.
2683 (find_barrier): Remove special case for getting the insn size of
2684 an insn that references the constant pool.
2685 (minipool_fixup): New structure.
2686 (push_minipool_barrier): New function.
2687 (push_minipool_fix): New function.
2688 (note_invalid_constants): New function.
2689 (add_pool_constant, dump_table, fixit, broken_move): Delete.
2690 (arm_reorg): Rewrite code to fix up the constant pool into a
2691 series of mini-pools embedded in the insn stream.
2692 (arm_output_epilogue): New function, made mainly from the body
2693 of output_func_epilogue.
2694 (output_func_epilogue): Move insn generation part of epilogue code
2695 to arm_output_epilogue.
2696 * arm.h (ASM_OUTPUT_SPECIAL_POOL_ENTRY): Delete.
2697 * arm.md (pool_range): New attribute.
2698 (zero_extendqidi2): Add attribute pool_range.
2699 (zero_extend_hisi_insn, load_extendqisi, extendhisi_insn,
2700 extendqihi_insn, extendqisi_insn, movdi, movsi_insn, pic_load_addr,
2701 pic_load_addr_based_insn, movhi_insn_arch4, movhi_insn_littleend,
2702 movhi_insn_bigend, loadhi_si_bigend, movsf_hard_insn, movsf_soft_insn,
2703 movdf_hard_insn, movdf_soft_insn, movxf_hard_insn): Likewise.
2704 (epilogue): New expand.
2705 (epilogue_insn): New insn. Call arm_output_epilogue.
2706
2707 * arm.c (arm_poke_function_name): Undo change of July 17. Tidy up.
2708 * arm.h (TARGET_SWITCHES): Add missing doc string for TARGET_DEFAULT.
2709
2710 Mon Aug 2 19:18:44 1999 Jason Merrill <jason@yorick.cygnus.com>
2711
2712 * linux.h (HANDLE_PRAGMA_PACK_PUSH_POP): Define.
2713
2714 1999-08-04 Mark Elbrecht <snowball3@bigfoot.com>
2715
2716 * config/i386/djgpp.h (BSS_SECTION_ASM_OP): Define.
2717
2718 Wed Aug 4 02:15:32 1999 Richard Henderson <rth@cygnus.com>
2719
2720 * jump.c (delete_insn): Delete the addr_vec when deleting a tablejump.
2721
2722 Wed Aug 4 01:48:08 1999 Jim Kingdon <http://developer.redhat.com>
2723
2724 * global.c: Fix comment.
2725
2726 Wed Aug 4 01:43:01 1999 Ian Lance Taylor <ian@zembu.com>
2727
2728 * gcc.c (access_check): New static function.
2729 (find_a_file): Use it when searching a directory list.
2730 * collect2.c (find_a_file): Don't accept directories found when
2731 searching a directory list.
2732
2733 Wed Aug 4 01:40:43 1999 Philippe De Muyter <phdm@macqel.be>
2734
2735 * tlink.c (symbol_hash_lookup): Do not prefix functions used as
2736 function parameters with `&'.
2737 (file_hash_lookup, demangled_hash_lookup, tlink_init): Ditto.
2738
2739 Wed Aug 4 01:08:44 1999 Jeffrey A Law (law@cygnus.com)
2740
2741 * flow.c (delete_unreachable_blocks): Do not call merge_blocks
2742 or tidy_fallthru_edge if the last insn in the block is not
2743 an unconditional jump or a simple conditional jump.
2744
2745 Tue Aug 3 20:21:20 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
2746
2747 * Makefile.in (c-decl.o): Depends on defaults.h.
2748
2749 Tue Aug 3 14:14:52 1999 Jeffrey A Law (law@cygnus.com)
2750
2751 * pa.h (HARD_REGNO_NREGS): FP registers are always 4 bytes wide for
2752 PA1.1 and above.
2753 (CLASS_MAX_NREGS): Likewise.
2754
2755 Tue Aug 3 03:51:20 1999 Jeffrey A Law (law@cygnus.com)
2756
2757 * cse.c (cse_insn): Fix dumb thinko in last change.
2758
2759 Tue Aug 3 10:36:13 1999 Bernd Schmidt <bernds@cygnus.co.uk>
2760
2761 * reload1.c (maybe_fix_stack_asms): Declare CONSTRAINTS as
2762 "const char *".
2763
2764 Mon Aug 2 23:45:45 1999 Hans-Peter Nilsson <hp@bitrange.com>
2765
2766 * dwarf2out.c (add_location_or_const_value_attribute): Correct
2767 test for sizes of passed and declared parameter types.
2768
2769 Tue Aug 3 00:03:41 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2770
2771 * fixincludes: Fix the return type of bsearch, char* -> void*.
2772
2773 * fixinc/inclhack.def: Likewise.
2774
2775 Mon Aug 2 18:29:32 1999 Mark Mitchell <mark@codesourcery.com>
2776
2777 * invoke.texi (-fdump-translation-unit): New option.
2778
2779 Mon Aug 2 17:54:19 1999 Richard Henderson <rth@cygnus.com>
2780
2781 * expr.h (PROMOTE_PROTOTYPES): Move ...
2782 * defaults.h: ... to here.
2783 * c-decl.c: Include defaults.h instead of expr.h.
2784 * c-typeck.c: Include defaults.h.
2785
2786 Mon Aug 2 17:10:24 1999 Mark Mitchell <mark@codesourcery.com>
2787
2788 * toplev.h (errorcount): Declare.
2789 (warningcount): Likewise.
2790 (sorrycount): Likewise.
2791 * c-lex.c (errorcount): Don't declare.
2792 * dwarf2out.c (errorcount): Don't declare.
2793
2794 Mon Aug 2 17:02:08 1999 Jason Merrill <jason@yorick.cygnus.com>
2795
2796 * config/libgloss.h: Add a note discouraging use with ELF.
2797 * configure.in: Don't use libgloss.h for ELF targets.
2798 Always use_collect2 on a.out targets.
2799
2800 Mon Aug 2 16:27:42 1999 Jim Wilson <wilson@cygnus.com>
2801
2802 * combine.c (force_to_mode, case LSHIFTRT): Add goto shiftrt.
2803 (force_to_mode, case ASHIFTRT): Add shiftrt label.
2804
2805 Tue Aug 3 00:45:02 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
2806
2807 * loop.c (strength_reduce): When doing biv->giv conversion, update
2808 reg note of NEXT->insn.
2809
2810 1999-08-02 Jakub Jelinek <jj@ultra.linux.cz>
2811
2812 * real.c (PUT_REAL): Clear unused bytes if long double is IEEE quad.
2813
2814 1999-08-02 Jakub Jelinek <jj@ultra.linux.cz>
2815
2816 * c-decl.c (get_parm_info, store_parm_decls): Change all uses of
2817 PROMOTE_PROTOTYPES, so that it tests it as a C expression.
2818 Ensure expr.h is included.
2819 * c-typecheck.c (convert_arguments): Ditto.
2820
2821 * expr.h: Supply default for PROMOTE_PROTOTYPES (0).
2822
2823 * config/arc/arc.h: Define PROMOTE_PROTOTYPES to 1.
2824 * config/convex/convex.h: Ditto.
2825 * config/dsp16xx/dsp16xx.h: Ditto.
2826 * config/fx80/fx80.h: Ditto.
2827 * config/gmicro/gmicro.h: Ditto.
2828 * config/i370/i370.h: Ditto.
2829 * config/i386/i386.h: Ditto.
2830 * config/m32r/m32r.h: Ditto.
2831 * config/m68k/m68k.h: Ditto.
2832 * config/m88k/m88k.h: Ditto.
2833 * config/mips/mips.h: Ditto.
2834 * config/pa/pa.h: Ditto.
2835 * config/pyr/pyr.h: Ditto.
2836 * config/tahoe/tahoe.h: Ditto.
2837 * config/we32k/we32k.h: Ditto.
2838
2839 * config/sparc/sparc.h: Define PROMOTE_PROTOTYPES
2840 based on arch size.
2841
2842 * config/i1750a/i1750a.h: Define PROMOTE_PROTOTYPES to 0.
2843
2844 * config/i860/paragon.h: Remove PROMOTE_PROTOTYPES
2845 from comment.
2846
2847 * tm.texi: Document new usage of PROMOTE_PROTOTYPES.
2848
2849 1999-08-02 Richard Henderson <rth@cygnus.com>
2850
2851 * m32r.c (m32r_setup_incoming_varargs): Use get_varargs_alias_set
2852 for the register spill block.
2853 (m32r_va_arg): New.
2854 * m32r.h (EXPAND_BUILTIN_VA_ARG): New.
2855 (EXPAND_BUILTIN_SAVEREGS): Delete #if 0 code.
2856
2857 * m32r.h (INT8_P): Don't short-cut test with (unsigned).
2858 (INT16_P, CMP_INT16_P, UINT16_P): Likewise.
2859 (UPPER16_P, UINT24_P, INT32_P, UINT5_P): Likewise.
2860
2861 1999-08-02 Jakub Jelinek <jj@ultra.linux.cz>
2862
2863 * config/sparc/linux.h: Define WCHAR_TYPE as "int" and undef
2864 MAX_WCHAR_TYPE defined in sparc.h.
2865 * config/sparc/linuxaout.h: Likewise.
2866 * config/sparc/linux64.h: Likewise.
2867 Also default to -mvis if CPU is UltraSPARC.
2868
2869 1999-08-02 Jakub Jelinek <jj@ultra.linux.cz>
2870
2871 * config/sparc/sparc.h (ASM_DECLARE_REGISTER_GLOBAL): New macro.
2872 (RTX_OK_FOR_OLO10): Likewise.
2873 (GO_IF_LEGITIMATE_ADDRESS): If assembler supports offsetable
2874 %lo(), allow it in addresses...
2875 (PRINT_OPERAND_ADDRESS): ... and print it appropriately.
2876 * config/sparc/sparc.md (sethi_di_medlow_embmedany_pic): sethi %lo()
2877 does not make sense.
2878 * config/sparc/sparc.c (sparc_hard_reg_printed): New array.
2879 (sparc_output_scratch_registers): New function.
2880 (output_function_prologue, sparc_flat_output_function_prologue): Use
2881 it.
2882 * varasm.c (make_decl_rtl): Use ASM_DECLARE_REGISTER_GLOBAL if
2883 defined.
2884 * tm.texi (ASM_DECLARE_REGISTER_GLOBAL): Document it.
2885 * configure.in: Add check for .register pseudo-op support in as and
2886 check for offsetable %lo().
2887 * acconfig.h: Add templates for the above checks.
2888 * configure: Regenerate.
2889
2890 1999-08-02 Richard Henderson <rth@cygnus.com>
2891
2892 * sparc/linux64.h (TARGET_DEFAULT): Remove MASK_APP_REGS.
2893 * sparc/sol2-sld-64.h (TARGET_DEFAULT): Likewise.
2894 * sparc/sol2.h (TARGET_DEFAULT): Likewise.
2895
2896 Mon Aug 2 23:46:45 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
2897
2898 * loop.c (strength_reduce): When doing biv->giv conversion, fix up
2899 reg_biv_class.
2900
2901 1999-08-02 Jakub Jelinek <jj@ultra.linux.cz>
2902
2903 * config/float-sparc.h: New file.
2904 * configure.in: Use float_format=sparc for sparc-*-linux-gnulibc1,
2905 sparc-*-linux-gnu and sparc64-*-linux*.
2906
2907 1999-08-02 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
2908
2909 * rs6000.c (rs6000_va_list): Type is an array.
2910 (rs6000_va_start): Don't doubly adjust for varargs.
2911 (rs6000_va_arg): Evaluate long long GPR adjustment.
2912
2913 Mon Aug 2 16:15:57 1999 David Edelsohn <edelsohn@gnu.org>
2914
2915 * rs6000/aix43.h (SUBTARGET_SWITCHES): Use -m64 and -m32 instead of
2916 -maix64 and -maix32.
2917 (ASM_SPEC, ASM_CPU_SPEC, CPP_SPEC, CPP_CPU_SPEC, LIB_SPEC,
2918 LINK_SPEC): Change appropriately.
2919 * rs6000/rs6000.c (short_cint_operand): Use CONST_OK_FOR_LETTER_P.
2920 (u_short_cint_operand): Likewise.
2921 * rs6000/rs6000.md (movdi splitters): Add TARGET_POWERPC64 support
2922 for 64-bit hosts.
2923 * rs6000/t-aix43 (MULTILIB): Change to -m64.
2924
2925 * invoke.texi (RS/6000 Submodel): Document 64-bit processor options.
2926
2927 Mon Aug 2 16:15:57 1999 Geoff Keating <geoffk@cygnus.com>
2928
2929 * rs6000/rs6000.c (num_insns_constant_wide): Correct
2930 for type promotion.
2931 (add_operand): Get test correct for 64-bit HOST_WIDE_INT.
2932 (non_add_cint_operand): Likewise.
2933 (logical_operand): Likewise.
2934 (non_logical_cint_operand): Likewise.
2935 (print_operand): Correct printf()s for 64-bit HOST_WIDE_INT.
2936 (print_operand_address): Correct printf() for 64-bit HOST_WIDE_INT.
2937 (rs6000_select_rtx_section): Suppress warning.
2938 (small_data_operand): Suppress warning.
2939 (rs6000_got_register): Suppress warning.
2940 * rs6000/rs6000.md (andsi3): HOST_WIDE_INT is a signed
2941 type, so `J' is generally the wrong constraint for a SImode value;
2942 use `L' instead.
2943 (andsi3_internal2): Likewise.
2944 (andsi3_internal3): Likewise.
2945 (iorsi3_internal1): Likewise.
2946 (xorsi3_internal1): Likewise.
2947 (movsi): Likewise.
2948 (movsf_softfloat): Likewise.
2949 (scc insns): Likewise.
2950 (movsi+2): Preserve sign bits of SImode constant.
2951 (floatsidf2_internal+1): Sign-extend SImode constant correctly.
2952 (movdf+1): Sign-extend properly.
2953 (movdi_32+1): Sign-extend properly.
2954 (scc insns): Sign-extend properly.
2955
2956 * md.texi (RS/6000 EXTRA_CONSTRAINTS): Update documentation for J,
2957 K, L, and T.
2958
2959 1999-08-02 Richard Henderson <rth@cygnus.com>
2960
2961 * alpha.c (override_options): Move ev6 alpha_tp frobbing out of
2962 -mcpu parsing code.
2963 (print_operand): Notice alpha_fptm not alpha_tp for sw completion.
2964 * alpha.md (all fp insns): Likewise.
2965
2966 1999-08-02 Nick Clifton <nickc@cygnus.com>
2967
2968 * config/v850/v850.h (STRICT_ALIGNMENT): Only define if not
2969 already defined.
2970
2971 Mon Aug 2 03:38:33 1999 Jeffrey A Law (law@cygnus.com)
2972
2973 * pa.c (legitimize_pic_address): Clarify comments. Do not call the
2974 pic_load_label generator directly.
2975 * pa.md (pic_load_label): Clarify comments. Remove modes on operands.
2976 No longer a named pattern.
2977
2978 Mon Aug 2 09:38:10 1999 Nick Clifton <nickc@cygnus.com>
2979
2980 * explow.c (force_reg): Call force_operand if X does not
2981 satisfy general_operand.
2982
2983 Mon Aug 2 01:34:22 1999 Jeffrey A Law (law@cygnus.com)
2984
2985 * fix-header.c (main): When testing for CONTINUED, use string
2986 equality, not pointer equality.
2987
2988 Mon Aug 2 01:27:24 1999 Dan Nicolaescu <dann@ics.uci.edu>
2989
2990 * sparc.c (sparc_block_profiler): Use the %g2 register, not %o0.
2991
2992 Sun Aug 1 22:46:42 1999 Jeffrey A Law (law@cygnus.com)
2993
2994 * cse.c (cse_insn): Fix loop which deletes insns after a jump
2995 that has become an unconditional jump.
2996
2997 * m68k.c (output_function_prologue): Fix typo in CPU32 case.
2998 (output_function_epilogue): Similarly.
2999
3000 Sun Aug 1 20:14:00 1999 Bernd Schmidt <bernds@cygnus.co.uk>
3001
3002 * tree.h (init_dummy_function_start): Declare.
3003
3004 Sun Aug 1 12:55:31 1999 Bernd Schmidt <bernds@cygnus.co.uk>
3005
3006 * stmt.c (emit_filename, emit_lineno, expr_stmts_for_value,
3007 last_expr_type, last_expr_value, block_start_count, block_stack,
3008 stack_block_stack, cond_stack, loop_stack, case_stack, nesting_stack,
3009 nesting_depth, goto_fixup_chain): Delete global vars; now allocated
3010 dynamically in stmt elt of struct function for each function.
3011 (struct nesting): Rename function_call_count elt to n_function_calls,
3012 target_temp_slot_level to block_target_temp_slot_level. All users
3013 changed.
3014 (struct stmt_status): New structure definition.
3015 Add many accessor macros for stmt_status elements which previously
3016 were global variables.
3017 (init_stmt_for_function): Allocate stmt elt for current_function.
3018 Reflect that block_start_count was renamed to
3019 current_block_start_count.
3020 (save_stmt_status, restore_stmt_status): Delete functions.
3021 (preserve_subexpressions_p): Don't access loop_stack when outside
3022 a function.
3023 (expand_start_bindings): Reflect that block_start_count was renamed to
3024 current_block_start_count.
3025 (expand_fixup): Likewise.
3026 (expand_decl): Don't access block_stack when outside a function.
3027 (expand_decl_cleanup): Likewise.
3028 (expand_dcc_cleanup): Likewise.
3029 (expand_dhc_cleanup): Likewise.
3030 (expand_anon_union_decl): Likewise.
3031 (set_file_and_line_for_stmt): New function.
3032 (in_control_zone_p): New function.
3033
3034 * function.h (struct function): Add new elt stmt.
3035 Delete elts block_stack, stack_block_stack, cond_stack, loop_stack,
3036 case_stack, nesting_stack, nesting_depth, block_start_count,
3037 last_expr_type, last_expr_value, expr_stmts_for_value, emit_filename,
3038 emit_lineno, goto_fixup_chain.
3039 (save_eh_status, restore_eh_status, save_stmt_status,
3040 restore_stmt_status): Delete declarations.
3041 * function.c (push_function_context_to): Don't call save_stmt_status.
3042 (pop_function_context_to): Don't call restore_stmt_status.
3043 * tree.h (in_control_zone_p): Declare.
3044 * rtl.h (set_file_and_line_for_stmt): Declare.
3045
3046 * emit-rtl.c (emit_line_note): Don't set emit_filename/emit_lineno;
3047 call set_file_and_line_for_stmt.
3048
3049 Thu Jul 31 12:34:45 1999 Joe Buck <jbuck@synopsys.com>
3050
3051 * gcc.texi: Use terms "GNU Compiler Collection" and "GCC".
3052 Also update copyright.
3053
3054 Sat Jul 31 11:10:07 1999 Bernd Schmidt <bernds@cygnus.co.uk>
3055
3056 * c-pragma.c: Don't include "except.h".
3057 * emit-rtl.c: Likewise.
3058 * stor-layout.c: Likewise.
3059 * tree.c: Likewise.
3060 * varasm.c: Likewise.
3061
3062 * flow.c: Include "function.h".
3063 * tree.h (init_dummy_function_start): Declare new function.
3064
3065 * except.h (struct eh_status): New structure.
3066 (struct label_node, struct eh_entry): Declare even if tree.h hasn't
3067 been included.
3068 (eh_return_stub_label, ehstack, catchstack, ehqueue,
3069 catch_clauses, false_label_stack, caught_return_label_stack,
3070 protect_list, current_function_ehc): Add accessor macros for the
3071 corresponding fields in current_function->eh; delete declarations
3072 for all items that used to be declared here.
3073 * except.c (eh_return_stub_label, ehstack, catchstack, ehqueue,
3074 catch_clauses, false_label_stack, caught_return_label_stack,
3075 protect_list, current_function_ehc): Delete variables.
3076 (init_eh_for_function): Allocate current_function->eh.
3077 (save_eh_status, restore_eh_status): Delete functions.
3078
3079 * function.h (struct function): Add fields next_global and eh.
3080 Delete all exception handling related fields.
3081 * function.c (current_function): New variable.
3082 (all_functions): New variable.
3083 (push_function_context_to): Don't allocate a struct function,
3084 use current_function instead. Call init_dummy_function_start when
3085 outside a function. Clear current_function before returning.
3086 (pop_function_context_from): Restore current_function.
3087 Don't free the restored struct function.
3088 (prepare_function_start): New function.
3089 (init_dummy_function_start): New function.
3090 (init_function_start): Break out some code into prepare_function_start
3091 and call it here.
3092
3093 * stmt.c (save_stmt_status): Don't call save_eh_status.
3094 (restore_stmt_status): Don't call restore_eh_status.
3095
3096 * Makefile.in: Update dependencies.
3097
3098 Sat Jul 31 04:10:01 1999 Jeffrey A Law (law@cygnus.com)
3099
3100 * pa.c (compute_frame_size): Use STARTINg_FRAME_OFFSET instead
3101 of depending on a magic constant value. Update comments.
3102 (hppa_expand_prologue): Similarly.
3103
3104 * pa.md (reload_indi, reload_outdi): Allow any register for the
3105 original reload register.
3106
3107 Fri Jul 30 19:41:35 1999 Jim Wilson <wilson@cygnus.com>
3108
3109 * cccp.c (print_help): Change marcos to macros.
3110
3111 1999-07-30 Richard Henderson <rth@cygnus.com>
3112
3113 * c-typeck.c (initializer_constant_valid_p): Move ...
3114 * c-common.c (initializer_constant_valid_p): ... here. Use
3115 FOO_TYPE_P instead of tests against TREE_CODE. Allow subtraction
3116 of label addresses.
3117 * c-common.h (initializer_constant_valid_p): Declare.
3118 * c-tree.h (initializer_constant_valid_p): Remove.
3119
3120 Fri Jul 30 16:33:42 1999 Mathias Froehlich <frohlich@na.uni-tuebingen.de>
3121
3122 * config/i386/sol2-c1.asm: Align the stack.
3123 * config/i386/sol2-gc1.asm: Likewise.
3124
3125 1999-07-30 Vladimir Makarov <vmakarov@loony.cygnus.com>
3126
3127 * config/sparc/sparc.h (ASM_CPU32_DEFAULT_SPEC): Change -Av8 onto
3128 -Asparclite for sparc86x.
3129 (CPP_CPU32_DEFAULT_SPEC, CPP_CPU_SPEC): Remove -D__sparc_v8__ for
3130 sparc86x.
3131 (ASM_CPU_SPEC): Use -Asparclite for sparc86x.
3132
3133 Fri Jul 30 14:53:56 1999 Jakub Jelinek <jj@ultra.linux.cz>
3134
3135 * config/sparc/linux64.h (CC1_SPEC): Preserve CPU specified by
3136 the user if using the non-default arch size in BI_ARCH configuration.
3137 * config/sparc/sol2-sld-64.h (CC1_SPEC): Ditto.
3138
3139 * config/sparc/sparc.md (cmp_mul_set, cmp_udiv_cc_set):
3140 Fix patterns so that they actually match.
3141 (cmp_sdiv_cc_set): Ditto, also don't require g0 to be zero.
3142 (mulsidi3_sp64, const_mulsidi3_sp64): New patterns.
3143 (const_mulsidi3_sp32): Renamed from const_mulsidi3, only on
3144 TARGET_HARD_MUL32.
3145 (mulsidi3): Reflect this in the expand.
3146 (smulsi3_highpart): Only on TARGET_ARCH32.
3147 (umulsidi3_sp64, const_umulsidi3_sp64): New patterns.
3148 (const_umulsidi3_sp32): Renamed from const_umulsidi3.
3149 (umulsidi3): Reflect this in the expand.
3150 (umulsi3_highpart): Only on TARGET_ARCH32.
3151 (divsi3_sp32): Renamed from divsi3, only on TARGET_ARCH32,
3152 don't require g0 to be zero.
3153 (udivsi3_sp32): Renamed from udivsi3, only on TARGET_ARCH32.
3154 ({,u}divsi3): New expands.
3155 ({,u}divsi3_sp64): New patterns.
3156 (after lshrdi3_v8plus): Four new patterns to help combiner
3157 optimizing nested mixed mode shifts.
3158
3159 * config/sparc/sparc.c (sparc_override_options): Use deprecated
3160 v8 instructions if optimizing for UltraSPARC I, II, IIi, as it
3161 speed things up. Don't use them by default on plain v9 in 64bit
3162 mode, according to what SPAMv9 sais.
3163
3164 * config/sparc/sparc.h: Fix comments, e.g. Linux already preserves
3165 top 32 bits of %[og][0-7] in signal handlers.
3166 Also, TARGET_HARD_MUL32 now is only true for TARGET_ARCH32.
3167
3168 Fri Jul 30 03:00:41 1999 Jeffrey A Law (law@cygnus.com)
3169
3170 * pa.md (zvdep_imm32): Renamed from zvdep_imm.
3171 (ashlsi3): Corresponding changes.
3172
3173 * pa.c (compute_zdepwi_operands): Renamed from compute_zdepi_operands.
3174
3175 Thu Jul 29 18:37:13 1999 Jeffrey A Law (law@cygnus.com)
3176
3177 * pa.h (FIRST_PARM_CALLER_OFFSET): Delete.
3178
3179 Thu Jul 29 19:01:58 1999 Bernd Schmidt <bernds@cygnus.co.uk>
3180
3181 * arm.h (Hint): Delete macro.
3182 Substitute HOST_WIDE_INT for Hint in some prototypes.
3183 * arm.c: Substitute HOST_WIDE_INT for Hint in one prototype.
3184
3185 Thu Jul 29 09:21:42 1999 Nick Clifton <nickc@cygnus.com>
3186
3187 * builtins.c (expand_builtin_setjmp): Use force_operand to
3188 make sure that the buffer address is in a suitable form to be
3189 passed to force_reg.
3190
3191 Wed Jul 28 12:50:48 1999 Geoff Keating <geoffk@cygnus.com>
3192
3193 * config/mips/mips.c: system.h handles MIN and MAX, don't undefine
3194 them here.
3195
3196 Wed Jul 28 13:18:35 1999 Jeffrey A Law (law@cygnus.com)
3197
3198 * pa.md (indirect_jump): Remove mode from match_operand. Verify
3199 proper mode in the condition string.
3200 (icacheflush, dcacheflush): Remove modes from match_operands.
3201
3202 * pa.c (emit_move_sequence): Always convert scratch_reg to the
3203 proper mode before using it.
3204
3205 * pa.md (adddi3, subdi3): Turn into a define_expand/define_insn
3206 pair.
3207
3208 * pa.c (store_reg): Do not call add_high_const generator directly.
3209 (load_reg, set_reg_plus_d): Likewise.
3210 * pa.md (add_high_const): No longer a named pattern.
3211
3212 * pa.c (legitimize_address): Consistently use Pmode rather than
3213 SImode. Do not call gen_pic2_highpart directly anymore.
3214 * pa.md (pic2_highpart): No longer a named pattern.
3215 (pic2_lo_sum): Similarly. Reformat to make more readable.
3216
3217 * pa.md (call, call_value): Use "word_mode" instead of "SImode" as
3218 needed.
3219
3220 * README: Update.
3221
3222 Wed Jul 28 11:28:04 1999 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
3223
3224 * builtins.c (expand_builtin): Typo in call to expand_builtin_ffs.
3225
3226 Wed Jul 28 11:23:48 1999 Richard Henderson <rth@cygnus.com>
3227
3228 * pa.c (hppa_builtin_saveregs): Use get_varargs_alias_set
3229 and tag the spill mems.
3230 (hppa_va_start): New.
3231 (hppa_va_arg): New.
3232 * pa.h (EXPAND_BUILTIN_VA_START): New.
3233 (EXPAND_BUILTIN_VA_ARG): New.
3234
3235 Wed Jul 28 11:22:21 1999 Richard Henderson <rth@cygnus.com>
3236
3237 * mn10300.c (mn10300_builtin_saveregs): Use get_varargs_alias_set
3238 and tag the spill mems.
3239 (mn10300_va_start): New.
3240 (mn10300_va_arg): New.
3241 * mn10300.h (EXPAND_BUILTIN_VA_START): New.
3242 (EXPAND_BUILTIN_VA_ARG): New.
3243
3244 Wed Jul 28 11:20:19 1999 Richard Henderson <rth@cygnus.com>
3245
3246 * mn10200.c (mn10200_va_arg): New.
3247 * mn10200.h (EXPAND_BUILTIN_VA_ARG): New.
3248
3249 Wed Jul 28 11:19:06 1999 Richard Henderson <rth@cygnus.com>
3250
3251 * builtins.c (std_expand_builtin_va_arg): Use int_size_in_bytes
3252 rather than play with TREE_INT_CST_LOW.
3253
3254 1999-07-27 Philip Blundell <pb@nexus.co.uk>
3255
3256 * config/arm/telf.h: Include dbxelf.h.
3257 (CPP_PREDEFINES): Only define if not already defined.
3258 (ASM_IDENTIFY_GCC): Likewise.
3259 (SUBTARGET_EXTRA_SECTIONS): Likewise.
3260 (SUBTARGET_EXTRA_SECTION_FUNCTIONS): Likewise.
3261 * config/arm/thumb.h (LINK_SPEC): Only define if not already
3262 defined.
3263 (DBX_DEBUGGING_INFO): Don't define.
3264 * config/arm/linux-telf.h: New file.
3265 * config/arm/linux-tgas.h: New file.
3266 * config/arm/t-thumb-linux: New file.
3267 * config/arm/uclinux-elf.h: New file.
3268 * config/arm/uclinux-telf.h: New file.
3269 * configure.in (arm-*-uclinux, thumb-*-linux-gnu,
3270 thumb-*-uclinux): New targets.
3271 * configure: Regenerate.
3272
3273 Tue Jul 27 23:20:21 1999 Jeffrey A Law (law@cygnus.com)
3274
3275 * pa.md (post_store, pre_load): New expanders.
3276 (post_stwm, pre_ldwm): Renamed to post_stw and pre_ldw respectively.
3277 (post_ldwm, pre_stwm): Make these unnamed patterns since we never
3278 need to directly generate RTL for them.
3279 * pa.c (hppa_expand_prologue, hppa_expand_epilogue): Corresponding
3280 changes.
3281
3282 Tue Jul 27 16:05:52 1999 David Edelsohn <edelsohn@gnu.org>
3283
3284 * aix43.h (ASM_CPU_SPEC, CPP_CPU_SPEC): Add rs64a and PPC630.
3285 * rs6000.c (processor_target_table): Add powerpc64, rs64a, and PPC630.
3286 (rs6000_cpu): Choose between 32-bit and 64-bit default processors.
3287 (secndary_reload_class): Make TARGET_ELF conditional compile.
3288 (print_operand_address): Similar.
3289 (output_toc): Print all values as hex.
3290 (get_issue_rate): Rearrange and add RS64A and PPC630.
3291 * rs6000.h (processor_type): Add RS64A and PPC630.
3292 (PROCESSOR_POWERPC64): New.
3293 (PROMOTE_MODE): Use word_mode.
3294 (RTX_COSTS): Add RS64A and PPC630.
3295 * rs6000.md (scheduling information): Add lmul and ldiv
3296 representing 64-bit integer multiply and divide. Add rs64a and
3297 PPC630 information.
3298 (ashldi3): Add support for "rldic" instruction.
3299 * sysv4.h (PROCESSOR_DEFAULT): Change to PROCESSOR_750.
3300
3301 Tue Jul 27 15:31:53 1999 Vladimir Makarov <vmakarov@toad.to.cygnus.com>
3302
3303 * config/sparc/sparc.c (sparc_override_options): Enable SPARCLITE
3304 instead of V8 for sparclite86x in cpu_table.
3305
3306 Tue Jul 27 17:49:42 1999 Bernd Schmidt <bernds@cygnus.co.uk>
3307
3308 * config/arm/coff.h (ASM_FILE_START): If generating SDB output, call
3309 output_file_directive.
3310
3311 Tue Jul 27 03:15:33 1999 Jason Merrill <jason@yorick.cygnus.com>
3312
3313 * expr.c (expand_expr, case PLUS_EXPR): Get the mode from the
3314 tree for op1, not the rtl.
3315
3316 Tue Jul 27 00:18:34 1999 Richard Henderson <rth@cygnus.com>
3317
3318 * m88k.c (m88k_builtin_saveregs): Break out the constructor code
3319 to m88k_va_start, leaving only the register spill.
3320 (m88k_build_va_list): New.
3321 (m88k_va_start): New.
3322 (m88k_va_arg): New.
3323 * m88k.h (BUILD_VA_LIST_TYPE): New.
3324 (EXPAND_BUILTIN_VA_START): New.
3325 (EXPAND_BUILTIN_VA_ARG): New.
3326
3327 Mon Jul 26 19:07:11 1999 Geoff Keating <geoffk@cygnus.com>
3328
3329 * config/rs6000/rs6000.c (rs6000_expand_builtin_saveregs):
3330 Rename from expand_builtin_saveregs.
3331 * config/rs6000/rs6000.h (EXPAND_BUILTIN_SAVEREGS): Change caller.
3332
3333 Mon Jul 26 22:52:47 1999 Richard Henderson <rth@cygnus.com>
3334
3335 * i960.c (i960_setup_incoming_varargs): Use get_varargs_alias_set
3336 for the register spill block.
3337 (i960_build_va_list): New.
3338 (i960_va_start): New.
3339 (i960_va_arg): New.
3340 * i960.h (BUILD_VA_LIST_TYPE): New.
3341 (EXPAND_BUILTIN_VA_START): New.
3342 (EXPAND_BUILTIN_VA_ARG): New.
3343 * i960.md (store_multiple): Use change_address on individul mems.
3344
3345 Mon Jul 26 22:43:12 1999 Richard Henderson <rth@cygnus.com>
3346
3347 * builtins.c (stabilize_va_list): Don't INDIRECT_REF through
3348 an ARRAY_TYPE.
3349 (std_expand_builtin_va_start): Back out one word if !stdarg_p.
3350 (expand_builtin_va_end): Evaluate arg for side effects.
3351 * c-common.c (c_common_nodes_and_builtins): Construct a
3352 va_list_arg_type_node to handle array decomposition to pointer.
3353
3354 Mon Jul 26 18:51:34 1999 Richard Henderson <rth@cygnus.com>
3355
3356 * except.c (start_dynamic_cleanup): Use force_operand on the
3357 buffer's address.
3358
3359 Mon Jul 26 16:43:26 1999 Richard Henderson <rth@cygnus.com>
3360
3361 * c4x.h (EXPAND_BUILTIN_VA_ARG): New.
3362 * c4x.c (c4x_va_arg): New.
3363
3364 Mon Jul 26 12:30:09 1999 Jason Merrill <jason@yorick.cygnus.com>
3365
3366 * cpplib.c (cpp_get_token): Don't return a CPP_POP if the buffer
3367 has manual_pop set.
3368
3369 1999-07-26 Nathan Sidwell <nathan@acm.org>
3370
3371 * eh-common.h (__eh_matcher): Prototype correctly.
3372
3373 Mon Jul 26 17:24:51 1999 Philip Blundell <pb@nexus.co.uk>
3374
3375 * config/arm/thumb.h (THUMB_FLAG_SINGLE_PIC_BASE): Define.
3376 (TARGET_SINGLE_PIC_BASE): Likewise.
3377 (GOT_PCREL, NEED_GOT_RELOC, NEED_PLT_RELOC): Provide default
3378 definitions.
3379 (TARGET_CALLEE_INTERWORKING): Fix typo in comment.
3380 (TARGET_SWITCHES): Add -m{no-}single-pic-base.
3381 (TARGET_OPTIONS): Add -mpic-register=N.
3382 (OUTPUT_INT_ADDR_CONST): New macro.
3383 (INDEX_REGISTER_RTX_P, PIC_OFFSET_TABLE_REGNUM, FINALIZE_PIC,
3384 LEGITIMATE_PIC_OPERAND_P): Likewise.
3385 (LEGITIMIZE_ADDRESS, GOT_IF_LEGITIMATE_ADDRESS): Support PIC.
3386 (ASM_OUTPUT_INT): Use OUTPUT_INT_ADDR_CONST rather than calling
3387 output_addr_const directly.
3388 (PRINT_OPERAND_PUNCT_VALID_P): Accept `|' for compatibility with
3389 ARM port.
3390 (thumb_pic_register, thumb_pic_register_string): Declare.
3391
3392 * config/arm/thumb.c (symbol_mentioned_p): New function: Imported
3393 from arm.c.
3394 (label_mentioned_p): New function: Imported from arm.c.
3395 (legitimize_pic_address): New function: Imported from arm.c.
3396 (is_pic):New function: Imported from arm.c.
3397 (thumb_finalize_pic):New function: Imported from arm.c.
3398 (add_constant): Cope with PIC constants.
3399 (fixit): Cope with PIC constants.
3400 (output_return): Do not treat the PIC register as live if
3401 TARGET_SINGLE_PIC_BASE is true.
3402 (thumb_function_prologue): Do not treat the PIC register as live if
3403 TARGET_SINGLE_PIC_BASE is true.
3404 (thumb_expand_prologue): Do not treat the PIC register as live if
3405 TARGET_SINGLE_PIC_BASE is true.
3406 (thumb_unexpand_epilogue): Do not treat the PIC register as live if
3407 TARGET_SINGLE_PIC_BASE is true.
3408 (thumb_print_operand): Accept '|'.
3409 (thumb_override_options): Process PIC options.
3410
3411 * config/arm/thumb.md (movsi): Support PIC.
3412 (call_insn): Change "i" constraint to "X".
3413 (call_value_insn): Likewise.
3414 (consttable_4, consttable_8, consttable_end): Set and clear
3415 "making_const_table" as appropriate.
3416 (pic_load_addr, pic_add_dot_plus_four): New insns.
3417
3418 * invoke.texi (Thumb Options): Fix spelling. Document new
3419 options -msingle-pic-base and -mpic-register=.
3420
3421 1999-07-26 Andrew Haley <aph@cygnus.com>
3422
3423 * config/m32r/initfini.c (__init): Use a full word immediate for
3424 __fini: this allows it to be placed in any memory region.
3425
3426 * config/m32r/t-m32r: Compile crtinit.o and crtfini.o for
3427 -mmodel=medium. This is OK for all memory models.
3428
3429 Mon Jul 26 11:58:46 1999 Nick Clifton <nickc@cygnus.com>
3430
3431 * config/arm/arm.c: Replace %R%s in asm_fprintf strings with %r.
3432 * config/arm/arm.h: Replace %R%s in asm_fprintf strings with %r.
3433
3434 Mon Jul 26 10:23:36 1999 Nick Clifton <nickc@cygnus.com>
3435
3436 * final.c (asm_fprintf): Accept ASM_FPRINTF_EXTENSIONS, if
3437 defined.
3438
3439 * tm.texi: Document ASM_FPRINTF_EXTENSIONS.
3440
3441 Sun Jul 25 23:51:59 1999 Richard Henderson <rth@cygnus.com>
3442
3443 * i860.h (EXPAND_BUILTIN_SAVEREGS): New.
3444 (BUILD_VA_LIST_TYPE): New.
3445 (EXPAND_BUILTIN_VA_START): New.
3446 (EXPAND_BUILTIN_VA_ARG): New.
3447 * i860.c (output_delayed_branch): Disable.
3448 (output_delay_insn): Likewise.
3449 (i860_saveregs): New.
3450 (i860_build_va_list): New.
3451 (i860_va_start): New.
3452 (i860_va_arg): New.
3453 * i860.md: Disable all peepholes using output_delayed_branch.
3454 * i860/sysv4.h (I860_SVR4_VA_LIST): New.
3455
3456 Sun Jul 25 23:44:13 1999 Richard Henderson <rth@cygnus.com>
3457
3458 * clipper.h (EXPAND_BUILTIN_SAVEREGS): Remove argument.
3459 (BUILD_VA_LIST_TYPE): New.
3460 (EXPAND_BUILTIN_VA_START): New.
3461 (EXPAND_BUILTIN_VA_ARG): New.
3462 * clipper.c (clipper_builtin_saveregs): Only dump registers.
3463 Return the address of the save area.
3464 (clipper_build_va_list): New.
3465 (clipper_va_start): New.
3466 (clipper_va_arg): New.
3467
3468 Sun Jul 25 22:56:47 1999 Richard Henderson <rth@cygnus.com>
3469
3470 * arc.h (EXPAND_BUILTIN_VA_START): New.
3471 (EXPAND_BUILTIN_VA_ARG): New.
3472 * arc.c (arc_setup_incoming_varargs): Set alias set of
3473 varargs save area.
3474 (arc_va_start): New.
3475 (arc_va_arg): New.
3476
3477 Sun Jul 25 22:45:55 1999 Richard Henderson <rth@cygnus.com>
3478
3479 * alpha.h (EXPAND_BUILTIN_SAVEREGS): Delete.
3480 (BUILD_VA_LIST_TYPE): New.
3481 (EXPAND_BUILTIN_VA_START): New.
3482 (EXPAND_BUILTIN_VA_ARG): New.
3483 * alpha.c (alpha_builtin_saveregs): Delete.
3484 (alpha_build_va_list): New.
3485 (alpha_va_start): New.
3486 (alpha_va_arg): New.
3487
3488 Sun Jul 25 21:40:33 1999 Jeffrey A Law (law@cygnus.com)
3489
3490 * config/svr4.h (CTORS_SECTION_ASM_OP): Do not emit directives in
3491 column zero.
3492 (DTORS_SECTION_ASM_OP, INIT_SECTION_ASM_OP): Likewise.
3493 (FINI_SECTION_ASM_OP, ASM_OUTPUT_SECTION_NAME): Likewise.
3494
3495 * gcc.texi: More changes related to list conversion.
3496 * invoke.texi: Likewise.
3497
3498 Sun Jul 25 18:15:39 1999 Richard Henderson <rth@cygnus.com>
3499
3500 * builtins.c (expand_builtin_saveregs): Remove static, remove exp
3501 and ignore arguments, bail if no EXPAND_BUILTIN_SAVEREGS.
3502 (expand_builtin_next_arg): Accept ARGLIST not EXP.
3503 (stabilize_va_list): New function.
3504 (std_expand_builtin_va_start): New function.
3505 (expand_builtin_va_start): New function.
3506 (get_varargs_alias_set): New function.
3507 (std_expand_builtin_va_arg): New function.
3508 (expand_builtin_va_arg): New function.
3509 (expand_builtin_va_end): New function.
3510 (expand_builtin_va_copy): New function.
3511 (expand_builtin): Call them.
3512 * c-common.c (c_common_nodes_and_builtins): Build __builtin_va_list,
3513 __builtin_{varargs_start,stdarg_start,end,copy}.
3514 (build_va_arg): New function.
3515 * c-common.h (CTI_PTR_TYPE, ptr_type_node): Delete.
3516 (build_va_arg): Declare.
3517 * c-decl.c (ptr_type_node, va_list_type_node): New.
3518 * c-parse.gperf (__builtin_va_arg): New.
3519 * c-parse.in (VA_ARG): New token.
3520 (unary_expr): Recognize it.
3521 * expr.c (expand_expr): Expand VA_ARG_EXPR.
3522 * expr.h (std_expand_builtin_va_start): Declare.
3523 (std_expand_builtin_va_arg): Declare.
3524 (expand_builtin_va_arg): Declare.
3525 (get_varargs_alias_set): Declare.
3526 * tree.def (VA_ARG_EXPR): New.
3527 * tree.h (BUILT_IN_VARARGS_START): New.
3528 (BUILT_IN_STDARG_START, BUILT_IN_VA_END): New.
3529 (ptr_type_node, va_list_type_node): Declare.
3530 * tm.texi (EXPAND_BUILTIN_SAVEREGS): Kill unused ARGLIST argument.
3531 * m32r.h (EXPAND_BUILTIN_SAVEREGS): Likewise.
3532 * m88k.h, m88k.c: Likewise.
3533 * mn10300.h, mn10300.c: Likewise.
3534 * pa.h, pa.c: Likewise.
3535 * rs6000.h, rs6000.c: Likewise.
3536 * sh.h, sh.c: Likewise.
3537 * sparc.h, sparc.c: Likewise.
3538
3539 * emit-rtl.c (operand_subword): Copy alias set.
3540 (change_address): Likewise.
3541
3542 Sun Jul 25 15:04:37 1999 Jeffrey A Law (law@cygnus.com)
3543
3544 * pa.c (compute_frame_size): Scan all the used callee saved registers,
3545 not just the first one.
3546
3547 Fri Jul 23 14:09:58 1999 Philip Blundell <pb@nexus.co.uk>
3548
3549 * config/arm/arm.h (TARGET_SWITCHES): Add
3550 -m{no-}single-pic-base. Correct help string for -mshort-load-words.
3551 (TARGET_OPTIONS): Add -mpic-register=.
3552 (ARM_FLAG_SINGLE_PIC_BASE, TARGET_SINGLE_PIC_BASE): Define.
3553 (arm_pic_register_string): Declare.
3554 (NEED_PLT_GOT): Delete, replace with ...
3555 (NEED_GOT_RELOC, NEED_PLT_RELOC): ... these. New macros.
3556 (OUTPUT_INT_ADDR_CONST): Replace NEED_PLT_GOT with NEED_GOT_RELOC.
3557 (ASM_OUTPUT_MI_THUNK): Replace NEED_PLT_GOT with NEED_PLT_RELOC.
3558 * config/arm/arm.c (arm_override_options): Add new option
3559 -mpic-register=N.
3560 (arm_pic_register_string): New variable.
3561 (arm_finalize_pic): Respect TARGET_SINGLE_PIC_BASE.
3562 (output_func_prologue): If TARGET_SINGLE_PIC_BASE, treat the PIC
3563 register as never live. Use NEED_PLT_RELOC not NEED_PLT_GOT.
3564 (output_return_instruction): Likewise.
3565 * config/arm/elf.h (NEED_PLT_GOT): Delete, replace with ...
3566 (NEED_GOT_RELOC, NEED_PLT_RELOC): ... these. Define to flag_pic.
3567 * config/arm/arm.md: Use NEED_PLT_RELOC in place of NEED_PLT_GOT.
3568
3569 * invoke.texi (ARM Options): Fix spelling. Remove duplicate
3570 mention of -msched-prolog. Document new options -msingle-pic-base
3571 and -mpic-register=.
3572
3573 Thu Jul 22 18:23:56 1999 Richard Henderson <rth@cygnus.com>
3574
3575 * haifa-sched.c (reemit_notes): Tidy.
3576 * sched.c (reemit_notes): Duplicate 1998-08-31 patch to
3577 haifa's routine.
3578
3579 Thu Jul 22 18:21:04 1999 Richard Henderson <rth@cygnus.com>
3580
3581 * explow.c (trunc_int_for_mode): New function.
3582 (plus_constant_wide): Use it.
3583 * combine.c (simplify_and_const_int): Likewise.
3584 (merge_outer_ops): Likewise.
3585 (simplify_shift_const): Likewise.
3586 * cse.c (simplify_unary_operation): Likewise.
3587 (simplify_binary_operation): Likewise.
3588 * emit-rtl.c (operand_subword): Likewise.
3589 * rtl.h: Declare it.
3590
3591 Thu Jul 22 14:34:59 1999 Bernd Schmidt <bernds@cygnus.co.uk>
3592
3593 * config/arm/arm.c (arm_print_operand): Fix typo in 'M' case
3594 (use NUM_REGS instead of NUM_INTS).
3595
3596 Thu Jul 22 11:25:20 1999 Bernd Schmidt <bernds@cygnus.co.uk>
3597
3598 * builtins.c: New file.
3599 * expr.c (saveregs_value, apply_args_value): Delete definition,
3600 moved into builtins.c.
3601 (string_constant): No longer static.
3602 (get_pointer_alignment, c_strlen, get_memory_rtx, expand_builtin,
3603 apply_args_size, apply_result_size, result_vector,
3604 expand_builtin_apply_args, expand_builtin_apply,
3605 expand_builtin_return): Delete functions, moved into builtins.c.
3606 (INCOMING_REGNO, OUTGOING_REGNO): Delete unused macros.
3607 * expr.h (saveregs_value, apply_args_value): Declare variables.
3608 (expand_builtin, string_constant): Declare functions.
3609 * Makefile.in: Update to build builtin.o.
3610
3611 Wed Jul 21 00:46:58 1999 Mark P. Mitchell <mark@codesourcery.com>
3612
3613 * defaults.h (DWARF2_GENERATE_TEXT_SECTION_LABEL): New macro.
3614 * tm.texi (DWARF2_GENERATE_TEXT_SECTION_LABEL): Define it.
3615 * dwarf2out.c (dwarf2out_init): Don't output a label to mark the
3616 start of the text section if DWARF2_GENERATE_TEXT_SECTION_LABEL is
3617 false.
3618 * config/mips/iris6.h (DWARF2_GENERATE_TEXT_SECTION_LABEL):
3619 Define to zero.
3620
3621 1999-07-21 Michael Meissner <meissner@cygnus.com>
3622
3623 * print-rtl.c (print_rtx): Print the names of the virtual
3624 registers.
3625
3626 Wed Jul 21 16:00:32 1999 Nick Clifton <nickc@cygnus.com>
3627
3628 * config/arm/arm.h (INITIAL_ELIMINATION_OFFSET): Fix typo
3629 introduced in previous delta.
3630
3631 Wed Jul 21 14:30:51 1999 Bernd Schmidt <bernds@cygnus.co.uk>
3632
3633 * c-lang.c (finish_file): Rename void_list_node to void_list_node_1
3634 to avoid name clash.
3635
3636 Wed Jul 21 08:39:22 1999 Gavin Romig-Koch <gavin@cygnus.com>
3637
3638 * c-lex.c (yylex) : Correct the test for overflow when lexing
3639 integer literals.
3640
3641 Tue Jul 20 18:02:42 1999 Richard Henderson <rth@cygnus.com>
3642
3643 * haifa-sched.c (insn_cost): FREE implies cost 0 and vice versa.
3644 (adjust_priority): Always call ADJUST_PRIORITY.
3645 (schedule_insn): Only put insns into the ready at cost 0.
3646 (schedule_block): Remove redundant initial sort. Give clock_var
3647 and can_issue_more to MD_SCHED_REORDER. Requeue if hazard cost
3648 is not 0.
3649 * tm.texi (MD_SCHED_REORDER): Update docs.
3650
3651 * sparc.h (MD_SCHED_REORDER): Update. Set CAN_ISSUE_MORE.
3652 * sparc.c (ultra_reorder_called_this_block): Delete.
3653 (ultrasparc_sched_init): Don't set it.
3654 (ultrasparc_sched_reorder): Don't check it.
3655
3656 Tue Jul 20 17:07:54 1999 Richard Henderson <rth@cygnus.com>
3657
3658 * rs6000.h (struct rs6000_args): Add sysv_gregno.
3659 * rs6000.c (init_cumulative_args): Init sysv_gregno.
3660 (function_arg_boundary): Align DFmode.
3661 (function_arg_advance): Restructure for ABI_V4; use sysv_gregno
3662 to get fp reg and stack overflow correct.
3663 (function_arg): Likewise.
3664 (function_arg_pass_by_reference): True for TFmode for ABI_V4.
3665 (setup_incoming_varargs): Restructure for ABI_V4; use
3666 function_arg_advance to skip final named argument.
3667 (expand_builtin_saveregs): Properly unskip the last integer arg
3668 when doing varargs. Adjust overflow location calculation.
3669
3670 * ginclude/va-ppc.h (struct __va_list_tag): Make gpr and fpr
3671 explicitly unsigned.
3672 (__VA_FP_REGSAVE): Use new OFS argument instead of AP->fpr directly.
3673 (__VA_GP_REGSAVE): Similarly.
3674 (__va_longlong_p): Delete.
3675 (__va_arg_type_violation): New declaration.
3676 (va_arg): Restructure. Flag promotion errors. Align double.
3677 TFmode passed by reference.
3678
3679 * rs6000.md (movdi_32+1): Use GEN_INT after arithmetic
3680 in the HOST_BITS_PER_WIDE_INT > 32 case.
3681
3682 Tue Jul 20 12:37:30 1999 Hans-Peter Nilsson <hp@bitrange.com>
3683
3684 * dwarf2out.c (output_abbrev_section): Terminate with a zero.
3685
3686 Tue Jul 20 12:12:27 1999 Jason Merrill <jason@yorick.cygnus.com>
3687
3688 * gcc.c (default_compilers, cpp-output): Pass -fpreprocessed.
3689 * toplev.c (documented_lang_options): Add -fpreprocessed.
3690 * cpplib.h (struct cpp_buffer): Add preprocessed.
3691 * cppinit.c (cpp_handle_option): Handle -fpreprocessed.
3692 (cpp_start_read): Don't expand macros or emit an initial #line
3693 directive if -fpreprocessed.
3694
3695 Tue Jul 20 12:12:09 1999 Michael Tiemann <tiemann@holodeck.cygnus.com>
3696
3697 * cpplib.h (struct cpp_buffer): Added manual_pop for
3698 better C++ tokenization.
3699 * cpplib.c (cpp_get_token): Return CPP_EOF if manual_pop.
3700 Also, support C++ tokenization for ->*, .*, <?, and >? operators.
3701 * c-common.c (cpp_token): Make non-static.
3702
3703 Tue Jul 20 11:24:19 1999 Bernd Schmidt <bernds@cygnus.co.uk>
3704
3705 * c-common.h: New file.
3706 * c-common.c (permanent_obstack): Delete unused declaration.
3707 (c_global_trees): New array.
3708 (c_common_nodes_and_builtins): New function; split off common code
3709 from init_decl_processing in both c-decl.c and cp/decl.c.
3710 * c-tree.h: Delete lots of declarations of tree nodes; replaced by
3711 c_global_trees and accessor macros defined in c-common.h.
3712 Include c-common.h.
3713 * c-decl.c: Delete definitions for tree nodes that were replaced by
3714 c_global_trees.
3715 (init_decl_processing): Build void_list_node.
3716 Call c_common_nodes_and_builtins; delete code to generate the common
3717 builtins here.
3718 * objc/objc-act.c (build_module_descriptor): Rename variable
3719 void_list_node to avoid clash with c-common.h.
3720
3721 * Makefile.in: Update dependencies.
3722 * objc/Make-lang.in: Likewise.
3723
3724 Mon Jul 19 14:22:18 1999 Mark P. Mitchell <mark@codesourcery.com>
3725
3726 * config/mips/iris6gld.h (MAKE_DECL_ONE_ONLY): Define.
3727 (UNIQUE_SECTION_P): Likewise.
3728 (UNIQUE_SECTION): Likewise.
3729
3730 1999-07-19 Linas Vepstas <linas@linas.org>
3731
3732 * config/i370/README: New file.
3733 * config/i370/linux.h: New file.
3734 * config/i370/mvs.h: New file.
3735 * config/i370/oe.h: New file.
3736 * config/i370/t-linux: New file.
3737 * config/i370/t-mvs: New file.
3738 * config/i370/t-oe: New file.
3739 * config/i370/x-oe: New file.
3740 * config/i370/xm-linux.h: New file.
3741 * config/i370/xm-mvs.h: New file.
3742 * config/i370/xm-oe.h: New file.
3743
3744 * i370.c (label_node_t): Add first_ref_page, label_addr,
3745 label_first_ref, label_last_ref members.
3746 (mvs_need_base_reload): Renamed from mvs_label_emitted.
3747 (MAX_MVS_LABEL_SIZE): Define.
3748 (MAX_LONG_LABEL_SIZE): Define.
3749 (alias_node_t, alias_anchor, alias_number): New.
3750 (mvs_function_table): Reorder for EBCDIC.
3751 (ascebc, ebcasc): Unconditionally define.
3752 (i370_branch_dest, i370_branch_length): New functions.
3753 (i370_short_branch, i370_label_scan): New functions.
3754 (mvs_get_label): Renamed from mvs_add_label. Search for
3755 an existing label before creating a new one.
3756 (mvs_add_label): New function.
3757 (mvs_get_label_page): New function.
3758 (mvs_free_label_list): Renamed from mvs_free_label. Iterate
3759 over the entire list.
3760 (mvs_check_page) [TARGET_HLASM]: Use BASR not BALR.
3761 (mvs_check_page) [TARGET_ELF_ABI]: New function.
3762 (mvs_add_alias, mvs_need_alias): New functions.
3763 (mvs_get_alias, mvs_check_alias): New functions.
3764 (handle_pragma): New function.
3765 (mvs_function_check): New function.
3766 (unsigned_jump_follows_p): Search harder.
3767 (i370_function_prolog) [TARGET_HLASM]: Handle LE370. Scan labels.
3768 (i370_function_prolog) [TARGET_ELF_ABI]: New function.
3769 * i370.h (TARGET_VERSION): Delete.
3770 (CPP_SPEC, CPP_PREDEFINES): Delete.
3771 (mvs_label_emitted): Delete.
3772 (TARGET_EBCDIC): Delete.
3773 (MAP_CHARACTER): Define only if TARGET_EBCDIC.
3774 (HANDLE_PRAGMA): Define.
3775 (HARD_REGNO_NREGS): Handle complex modes.
3776 (HARD_REGNO_MODE_OK): Likewise.
3777 (CLASS_MAX_NREGS): Likewise.
3778 (RET_REG): Likewise.
3779 (EXTRA_CONSTRAINT): Define.
3780 (RETURN_IN_MEMORY): True for DImode.
3781 (TRAMPOLINE_TEMPLATE): Use gen_rtx instead of GEN_INT.
3782 (FUNCTION_PROFILER): Delete.
3783 (COUNT_REGS): Fail if REG_P but not REG_OK_FOR_BASE_P.
3784 (NOTICE_UPDATE_CC): Correct handling of MULT, DIV, logicals and shifts.
3785 (TARGET_ESC, TARGET_BELL): Conditionally define for TARGET_EBCDIC.
3786 (TARGET_BS, TARGET_TAB, TARGET_NEWLINE): Likewise.
3787 (TARGET_VT, TARGET_FF, TARGET_CR): Likewise.
3788 (ASM_FILE_START): Add "RMODE ANY".
3789 (ASM_OUTPUT_EXTERNAL): Check for aliases.
3790 (ASM_GLOBALIZE_LABEL): Likewise.
3791 (ASM_OUTPUT_LABELREF): Likewise.
3792 (ASM_OUTPUT_COMMON): Likewise.
3793 (PRINT_OPERAND): Handle 'K', 'W', default.
3794 (PRINT_OPERAND_ADDRESS): New.
3795 (Lots of defines): Add support for TARGET_ELF_ABI.
3796 * i370.md (attr length): New. Define for all patterns.
3797 (*): Lots of tweeks to assembly output and constraints.
3798
3799 Mon Jul 19 15:09:29 1999 David Edelsohn <edelsohn@gnu.org>
3800
3801 * rs6000.md (arithmetic, logical, and shift Rc combiner patterns):
3802 Disable patterns performing SImode comparisons with SImode values
3803 if TARGET_POWERPC64 and instruction does not sign-extend or does
3804 not mask to narrower than SImode, i.e. where bit 31 and bit 63 may
3805 differ for signed quantities.
3806 (indirect_jump): Add expander to choose RTL based on TARGET_64BIT.
3807 (tablejump): Patterns contingent on TARGET_64BIT not TARGET_POWERPC64.
3808 (decrement_and_branch_on_count): Add 64-bit variant.
3809
3810 Mon Jul 19 09:36:27 1999 Bernd Schmidt <bernds@cygnus.co.uk>
3811
3812 * final.c (output_asm_insn): When searching for the matching string
3813 for a given dialect, don't run past the end of the list of
3814 alternatives if there are fewer alternatives in the template than
3815 dialects.
3816
3817 1999-07-17 Alexandre Oliva <oliva@dcc.unicamp.br>
3818
3819 * gcc.texi: Update e-mail addresses and URLs to gcc.gnu.org.
3820 Removed paragraph about compression of files and size limitation,
3821 duplicated in the FAQ. Use gcc-patches for posting patches.
3822 * gcc.c (main): Updated URL with bug reporting instructions to
3823 gcc.gnu.org. Removed e-mail address.
3824 * system.h (abort): Likewise.
3825
3826 1999-07-17 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3827
3828 * Makefile.in (stmp-multilib-sub): Make the files extracted
3829 from $(LIBGCC1) writable.
3830
3831 Sat Jul 17 14:25:46 1999 Nick Clifton <nickc@cygnus.com>
3832
3833 * config/arm/aout.h: Reformat for improved readability.
3834
3835 * config/arm/arm.h: Reformat for improved readability.
3836 Replace uses of fprintf with asm_fprintf where appropriate.
3837 (ARM_DECLARE_FUNCTION_NAME): New macro: Perform any generic ARM
3838 function declaration assembler actions.
3839 (NUM_INTS): New macro: Convert from bytes to words.
3840 (NUM_REGS): New macro: Compute number of registers required to
3841 hold a quanitity of tyep MODE.
3842 (NUM_REGS2): New macro: Like NUM_REGS but also copes with BLKmode
3843 types.
3844 (NUM_ARG_REGS): New macro: The number of argument registers
3845 available.
3846 (ARG_REGISTER): New macro: Compute the register number of the Nth
3847 argument register.
3848 (LAST_ARG_REGNUM): New macro: The number of the last argument
3849 register.
3850 (SP_REGNUM): New macro: Register number of the stack pointer.
3851 (FP_REGNUM): New macro: Register number of the frame pointer.
3852 (FUNCTION_ARG, FUNCTION_ARG_PARTIAL_NREGS, INIT_CUMULATIVE_AGS,
3853 FUNCTION_ARG_ADVANCE, SETUP_INCOMING_VARARGS): Change
3854 CUMULATIVE_ARGS so that it counts registers not bytes.
3855
3856 * config/arm/arm.c: Rename TARGET_THUMB_INTERWORK to
3857 TARGET_INTERWORK.
3858 Replace uses of fprintf with asm_fprintf where appropriate.
3859 (output_ascii_pseudo_op): Replace with version from thumb.c
3860
3861 * config/arm/coff.h (ASM_FILE_START): Emit ASM_APP_OFF.
3862
3863 * config/arm/elf.h (CPP_PREDEFINES): Replace with
3864 SUBTARGET_CPP_SPEC.
3865 (ASM_DECLARE_FUNCTION_NAME): Use ARM_DECLARE_FUNCTION_NAME.
3866 (ASM_FILE_START): Emit ASM_APP_OFF.
3867
3868 Fri Jul 16 13:48:09 1999 Jeffrey A Law (law@cygnus.com)
3869
3870 * pa.c (compute_frame_size): Round frame according to
3871 STACK_BOUNDARY rather than a hardwired value.
3872
3873 * pa.h (POINTER_SIZE, PARM_BOUNDARY): Define in terms of BITS_PER_WORD.
3874
3875 * configure.in (hppa*-*-hpux11*): Use symbolic MASK_PA_11 instead
3876 of "1".
3877 * configure: Rebuilt.
3878
3879 * configure.in (hppa*-*-linux*): New configuration.
3880 * configure: Rebuilt.
3881 * pa.h (MAX_OFILE_ALIGNMENT): Delete.
3882 * pa/som.h (MAX_OFILE_ALIGNMENT): Define.
3883 * pa/pa-linux.h: New file.
3884 * pa/t-linux: New file.
3885 * pa/xm-linux.h: New file.
3886
3887 * pa.c (hppa_legitimize_address): Change references from SImode to
3888 either Pmode or word_mode as appropriate.
3889 (emit_move_sequence, store_reg, load_reg): Likewise.
3890 (set_reg_plus_d, hppa_expand_prologue): Likewise.
3891 (output_mul_insn): Likewise.
3892 * pa.h (PROMOTE_MODE): Likewise.
3893 (INITIALZE_TRAMPOLINE): Likewise.
3894 (Pmode): Define to word_mode.
3895
3896 * pa.c (compute_frame_size): Use UNITS_PER_WORD instead of hardwired
3897 value of 4. Allocate 8 bytes for each FP register save.
3898 (hppa_expand_epilogue): Use UNITS_PER_WORD instead of harwarewired
3899 value of 4.
3900 (hppa_expand_prologue): Likewise.
3901 * pa.h (PROMOTE_MODE): Likewise.
3902 (HARD_REGNO_MODE_OK, FUNCTION_ARG_SIZE): Likewise.
3903 (FUNCTION_ARG_BOUNDARY): Likewise.
3904
3905 * invoke.texi (HPPA Options): Remove -mspace/-mno-space.
3906
3907 * pa.c (out_of_line_prologue_epilogue): Delete.
3908 (override_options): Remove -mspace related code.
3909 (hppa_expand_prologue, hppa_expand_epilogue): Likewise.
3910 (compute_frame_size): Only allocate space for register that
3911 actually need to be saved.
3912 * pa.h (MASK_SPACE, TARGET_SPACE): Delete.
3913 (TARGET_SWITCHES): Remove -mspace, -mno-space
3914 * pa/t-pa (LIB2FUNCS_EXTRA): Remove ee.asm and ee_fp.asm
3915 * pa/t-pro (LIB2FUNCS_EXTRA): Likewise. Remove -mspace multilib.
3916 * pa/ee.asm, pa/ee_fp.asm: Delete.
3917
3918 * pa/elf.h (ASM_OUTPUT_DOUBLE_INT): Define.
3919
3920 * config/svr4.h (CONST_SECTION_ASM_OP): Do not emit assembler
3921 directive in column zero.
3922
3923 Fri Jul 16 01:39:57 1999 Jeffrey A Law (law@cygnus.com)
3924
3925 * m68k.c (output_function_prologue): Fix computation of save mask
3926 when generating PIC code.
3927
3928 Thu Jul 15 15:40:09 1999 Jim Wilson <wilson@cygnus.com>
3929
3930 * tree.c (build_type_attribute_variant): Move current_obstack restore
3931 after build_qualified_type call.
3932
3933 1999-07-15 Mark Mitchell <mark@codesourcery.com>
3934
3935 * configure.in: Use t-iris6, even with GNU LD.
3936 * config/mips/iris6gld.h: Fix typo in linker spec.
3937 * config/mips/t-iris6gld: Remove.
3938
3939 Thu Jul 15 15:15:43 1999 David Edelsohn <edelsohn@gnu.org>
3940
3941 * rs6000.md (insv, extzv): Remove SImode dependence in named
3942 patterns. Explicitly generate DImode RTL if PowerPC64 and
3943 operand is DImode.
3944 (insvdi): Reverse start and size in instruction template.
3945
3946 1999-07-12 Joseph S. Myers <jsm28@cam.ac.uk>
3947
3948 * invoke.texi: Typo fixes.
3949
3950 Wed Jul 14 23:28:06 1999 Jeffrey A Law (law@cygnus.com)
3951
3952 * emit-rtl.c (gen_realpart): Issue an error for cases GCC can not
3953 handle at this time instead of silently generating incorrect code.
3954 (gen_imagpart): Likewise.
3955
3956 * reload.c (find_reloads): Emit a USE for a pseudo register without
3957 a hard register if we could not create an optional reload for the
3958 pseudo.
3959
3960 Wed Jul 14 23:45:48 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
3961
3962 * c-typeck.c (output_init_element, process_init_element):
3963 When advancing constructor_unfilled_fields for a RECORD_TYPE,
3964 check for nameless bit fields.
3965
3966 Wed Jul 14 01:57:39 1999 Richard Henderson <rth@cygnus.com>
3967
3968 * regclass.c (scan_one_insn): Notice subregs that change the
3969 size of their operand.
3970 (record_reg_classes): Use that to obey CLASS_CANNOT_CHANGE_SIZE.
3971
3972 Wed Jul 14 01:41:42 1999 Jeffrey A Law (law@cygnus.com)
3973
3974 * configure.in (alpha*-*-*): Include alpha/t-ieee.
3975 * configure: Rebuilt.
3976 * alpha/t-ieee: New file.
3977
3978 Tue Jul 13 10:45:58 1999 Jeffrey A Law (law@cygnus.com)
3979
3980 * rs6000.c (find_addr_reg): Do not select r0 as an address
3981 register.
3982
3983 Tue Jul 13 00:46:18 1999 Philippe De Muyter <phdm@macqel.be>
3984
3985 * m68k/x-mot3300 (XCFLAGS): List of big files now includes `cse.o'.
3986
3987 Mon Jul 12 14:29:15 1999 Jeffrey A Law (law@cygnus.com)
3988
3989 * rs6000.md (movsf): Do not force easy FP constants into memory.
3990
3991 * expr.c (expand_expr, case PLUS_EXPR): Pass constants through
3992 immed_double_const to ensure they are properly truncated then
3993 sign extended.
3994
3995 Mon Jul 12 10:40:01 1999 Vladimir Makarov <vmakarov@tofu.to.cygnus.com>
3996
3997 * config/arm/thumb.c (thumb_reorg): Call replace_symbols_in_block
3998 always unless NO_DEBUG is used. Compile this code
3999 unconditionally.
4000 (replace_symbols_in_block): Compile it unconditionally.
4001
4002 Sun Jul 11 12:32:32 1999 Jeffrey A Law (law@cygnus.com)
4003
4004 * configure.in (i?86-*-elf*): New target.
4005 * configure: Rebuilt.
4006 * i386/i386elf.h, i386/t-i386elf: New files.
4007
4008 Fri Jul 9 22:39:44 1999 Jason Merrill <jason@yorick.cygnus.com>
4009
4010 * toplev.c (main): Don't complain about saying -gdwarf.
4011 (rest_of_compilation): Remove redundant code.
4012
4013 Fri Jul 9 19:08:55 1999 Jim Wilson <wilson@cygnus.com>
4014
4015 * unroll.c (unroll_loops): Don't delete named CODE_LABELs.
4016
4017 Fri Jul 9 18:54:18 1999 Felix Lee <flee@cygnus.com>
4018
4019 * config/i960/i960.c (ret_label): Change asm label from "LR:" to
4020 "Li960R:", to avoid name clash.
4021
4022 Fri Jul 9 10:48:28 1999 Bernd Schmidt <bernds@cygnus.co.uk>
4023
4024 * loop.c (check_dbra_loop): When reversing a loop, delete all
4025 REG_EQUAL notes referencing the reversed biv except those which are
4026 for a giv based on it.
4027
4028 Fri Jul 9 03:51:52 1999 Jeffrey A Law (law@cygnus.com)
4029
4030 * version.c: Drop "gcc-" prefix from version #.
4031
4032 Thu Jul 8 18:06:30 1999 Jason Merrill <jason@yorick.cygnus.com>
4033
4034 * dwarf2out.c (dwarf2out_line): Emit a line number comment after
4035 the label if we're being verbose.
4036
4037 Thu Jul 8 14:18:46 1999 Richard Henderson <rth@cygnus.com>
4038
4039 * m68k.c (output_function_prologue): Add pic register to mask
4040 if live and flag_pic.
4041 (output_function_epilogue): Likewise.
4042
4043 Thu Jul 8 12:55:12 1999 Jeffrey A Law (law@cygnus.com)
4044
4045 * dbxelf.h (ASM_OUTPUT_SOURCE_LINE): Do not put assembler
4046 directives in column zero.
4047
4048 * pa/elf.h (ASM_FILE_START): Define.
4049 * pa/som.h (ASM_FILE_START): Include .level directives.
4050 * pa/hpux10.h (ASM_FILE_START): Delete.
4051 * pa/hpux11.h (ASM_FILE_START): Delete.
4052
4053 * pa/elf.h (BSS_SECTION_ASM_OP): Use .section .bss.
4054
4055 Thu Jul 8 18:03:19 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
4056
4057 * reload1.c (choose_reload_regs): Never call remove_adress_replacements
4058 when reload_out equals reload_in.
4059
4060 Thu Jul 8 16:50:14 1999 Nick Clifton <nickc@cygnus.com>
4061
4062 * invoke.texi (Spec Files): New node: Describe the contents of
4063 spec files.
4064
4065 Thu Jul 8 10:28:25 1999 Craig Burley <craig@jcb-sc.com>
4066
4067 * invoke.texi (DEC Alpha Options): Put @end table at
4068 beginning of line, to avoid confusing texi2html.
4069
4070 Thu Jul 8 09:22:06 1999 Nick Clifton <nickc@cygnus.com>
4071
4072 * config/arm/elf.h (ASM_OUTPUT_INTERNAL_LABEL): Fixed typo
4073 introduced in previous delta.
4074
4075 Wed Jul 7 02:00:04 1999 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
4076
4077 * reload1.c (gen_reload): When synthesizing a 3 operand add
4078 sequence, improve test for when to reload OP1 into the reload
4079 register instead of OP0.
4080
4081 Wed Jul 7 01:38:03 1999 Jim Wilson <wilson@cygnus.com>
4082
4083 * unroll.c (unroll_loop): Don't delete NOTE_INSN_DELETED_LABEL notes.
4084
4085 1999-07-07 Manfred Hollstein <mhollstein@cygnus.com>
4086
4087 * m88k/dguxbcs.h (CPP_SPEC): Add missing \ in multi-line
4088 string literal.
4089
4090 Wed Jul 7 01:16:43 1999 Richard Henderson <rth@cygnus.com>
4091
4092 * ginclude/varargs.h (__builtin_va_alist_t): New typedef.
4093 (va_dcl): Use __builtin_va_alist_t.
4094
4095 Wed Jul 7 01:14:42 1999 Jason Merrill <jason@yorick.cygnus.com>
4096
4097 * dwarf2out.c (gen_struct_or_union_type_die): Only remember types
4098 on the permanent_obstack.
4099 * dwarfout.c (output_type): Likewise.
4100
4101 Tue Jul 6 15:25:32 1999 Gavin Romig-Koch <gavin@cygnus.com>
4102
4103 * c-common.c (unsigned_type,signed_type,signed_or_unsigned_type) :
4104 Merged from c-typeck.c and cp/typeck.c.
4105 * c-typeck.c (unsigned_type,signed_type,signed_or_unsigned_type) :
4106 Merged into c-common.
4107
4108 Tue Jul 6 13:06:01 1999 Dave Brolley <brolley@cygnus.com>
4109
4110 * c-lex.c (errorcount): Declare it.
4111 (finish_parse): Update errorcount when using CPPLIB.
4112
4113 1999-07-06 Bruce Korb <ddsinc09@ix.netcom.com>
4114
4115 * fixinc/inclhack.def(end_else_label): Double the backslash so
4116 sed gets a chance to see it.
4117 * fixinc/inclhack.sh: regen
4118 * fixinc/fixincl.x: regen
4119
4120 Fri Jul 2 18:49:51 1999 Nick Clifton <nickc@cygnus.com>
4121
4122 Add framework to support armv5 architecture when it becomes
4123 available:
4124
4125 * config/arm/arm.c (FL_ARCH5): New processor capability flag.
4126 (arm_arch5): New variable.
4127 (all_architectures): Add armv5 line.
4128 * config/arm/arm.h (CPP_CPU_ARCH_SPEC): Define __ARM_ARCH_5__ if
4129 -march=armv5 is specified on the command line.
4130 (arm_arch5): Export this variable.
4131 * invoke.texi: Document new string accepted by -march= switch for
4132 ARM ports.
4133
4134 * config/arm/arm.h: Replace use of constant 12 as a register
4135 number with IP_REGNUM. Similarly 14 and LR_REGNUM.
4136 * config/arm/arm.c: Replace use of constant 12 as a register
4137 number with IP_REGNUM. Similarly 14 and LR_REGNUM.
4138
4139 * config/arm/elf.h: Tidy up.
4140 * config/arm/coff.h: Tidy up.
4141
4142 Thu Jul 1 19:08:13 1999 Mark P. Mitchell <mark@codesourcery.com>
4143
4144 * gcc/configure.in (mips-sgi-irix6*): Handle --with-gnu-ld.
4145 * gcc/config/mips/t-iris6gld: New file.
4146 * gcc/config/mips/iris6gld.h: Likewise.
4147
4148 Fri Jul 2 13:23:39 1999 Gavin Romig-Koch <gavin@cygnus.com>
4149
4150 * c-decl.c (widest_integer_literal_type_node,
4151 widest_unsigned_literal_type) : New.
4152 (init_decl_processing): Handle/use the two new types.
4153 * c-common.c (type_for_size,type_for_mode) : Same.
4154 * c-lex.c (yylex) : Same.
4155 * c-typeck.c (unsigned_type,signed_type,signed_or_unsigned_type) :
4156 Same.
4157 * c-tree.h (widest_integer_literal_type_node,
4158 widest_unsigned_literal_type) : New.
4159
4160 Fri Jul 2 03:05:44 1999 Jeffrey A Law (law@cygnus.com)
4161
4162 * dwarfout.c (field_byte_offset): Correctly compute the object's
4163 byte offset for the first bit of a field which crosses an alignment
4164 boundary on a !BYTES_BIG_ENDIAN target.
4165
4166 Fri Jul 2 01:36:36 1999 Robert Lipe <robertlipe@usa.net>
4167
4168 * fixinc.svr4: Fix <arpa/inet.h> by deleting protos for htons and
4169 ntohs.
4170
4171 Fri Jul 2 00:46:47 1999 Richard Henderson <rth@cygnus.com>
4172 Jeff Law <law@cygnus.com>
4173
4174 * ginclude/varargs.h (va_dcl): Use word_mode for type of
4175 __builtin_va_list.
4176
4177 * except.c: Include intl.h.
4178 (expand_eh_return): Set current_function_cannot_inline.
4179 (save_eh_status, restore_eh_status): Twiddle eh_return_stub_label.
4180 * function.h (struct function): Add eh_return_stub_label.
4181 * flow.c (delete_unreachable_blocks): Don't merge across EH edges.
4182 * Makefile.in (except.o): Depend on intl.h.
4183
4184 Fri Jul 2 00:04:23 1999 David Edelsohn <edelsohn@gnu.org>
4185
4186 * rs6000.md (movdf_hardfloat32): Handle PRE_INC and PRE_DEC the
4187 same as offsettable in cases 1 and 2.
4188
4189 Thu Jul 1 20:54:10 1999 Richard Henderson <rth@cygnus.com>
4190
4191 * alpha.md (extqh): Define as 64-((R&7)*8) instead of 56-(((R-1)&7)*8).
4192 (extlh, extwh): Likewise.
4193
4194 Thu Jul 1 11:05:25 1999 Gavin Romig-Koch <gavin@cygnus.com>
4195
4196 * c-lex.c (yylex): Improve 'integer constant out of range' messages.
4197
4198 Wed Jun 30 16:51:41 1999 Nick Clifton <nickc@cygnus.com>
4199
4200 * configure.in: Add arm-pe and thumb-pe targets.
4201 * configure: Regenerate.
4202
4203 * thumb.c (arm_naked_function_p): New function: Determines if
4204 a function is naked (has no gcc generated prologue/epilogue).
4205 (is_called_in_ARM_mode): Return true if the func has the
4206 interfacearm attribute.
4207 (output_return): Do not generate a return for naked functions.
4208 (thumb_function_prologue): Do not generate a prologue for
4209 naked functions.
4210 (thumb_expand_prologue): Do not generate a prologue for naked
4211 functions.
4212 (thumb_expand_epilogue): Do not generate an epilogue for naked
4213 functions.
4214 (arm_valid_machine_decl_attribute): New function, copied from
4215 arm.c: Permit naked and interfacearm attributes.
4216
4217 * config/arm/pe.c: New file: Support code for arm-pe target.
4218 * config/arm/pe.h: New file: Header file for arm-pe target.
4219 * config/arm/tpe.h: New file: Header file for thumb-pe target.
4220 * config/arm/t-thumb-pe: New file: Makefile fragment for
4221 thumb-pe target.
4222
4223 1999-07-01 Mark Kettenis <kettenis@gnu.org>
4224
4225 * config/i386/gnu.h (CPP_SPEC): Define __PIC__ and __pic__ if
4226 -fPIC or -fpic is specified.
4227
4228 Wed Jun 30 03:31:54 1999 Jeffrey A Law (law@cygnus.com)
4229
4230 * expr.c (emit_block_move): Use copy_to_mode_reg for
4231 !TARGET_MEM_FUNCTIONS case too.
4232
4233 * configure.in (hppa*-*-*): Add som.h or elf.h to tm_file as
4234 appropriate.
4235 * configure: Rebuilt.
4236 (hppa1.1-*-pro*, hppa1.1-*-rtems*): Define target_cpu_default.
4237 * pa.h: Include dbxelf.h. Delete various dbx/stabs related
4238 definitions made redundant by dbxelf.h inclusion. Delete
4239 lots of definitions related to assembly output that are
4240 specific to the SOM object format.
4241 * pa.c (output_function_prologue): Do not emit the function's
4242 name for OBJ_ELF.
4243 * pa-pro-end.h (STARTFILE_SPEC): Undefine before redefining.
4244 * pa-pro.h: Deleted.
4245 * som.h: New file with SOM specific definitions.
4246 * elf.h: New file with ELF specific definitions.
4247
4248 * elfos.h (const_section): Output a tab before assembler directives.
4249 (ctors_section, dtors_section): Likewise.
4250 (ASM_OUTPUT_SECTION_NAME): Likewise.
4251
4252 * pa/pa1.h: Delete unused file.
4253
4254 Tue Jun 29 01:37:53 1999 Jeffrey A Law (law@cygnus.com)
4255
4256 * configure.in (hppa*-hp-hpux11*): New configuration.
4257 * configure: Rebuilt.
4258 * pa/pa-hpux11.h: New file.
4259 * pa.h (CPP_SPEC): Conditionally add -D__STDC_EXT__ to the cpp
4260 command line.
4261
4262 * mips.md (leasi, leadi): New patterns.
4263
4264 * expr.c (emit_block_move): Properly handle case where one of the
4265 block move arguments has a queued increment or decrement.
4266 (clear_storage): Similarly. Fix formatting goof.
4267
4268 1999-06-28 "David O'Brien" <obrien@NUXI.com>
4269
4270 * fixinc/inclhack.def(stdio_va_list): This patch Removes a
4271 semicolon from the BSD VA_LIST replacement expression.
4272
4273 * fixinc/inclhack.sh: regen
4274 * fixinc/fixincl.x: regen
4275
4276 * fixinc/mkfixinc.sh: Have `i[34567]86-*-freebsd*' machines
4277 now use the fixincl program.
4278
4279 Mon Jun 28 05:28:12 1999 Jeffrey A Law (law@cygnus.com)
4280
4281 * m68k.h (CONDITIONAL_REGISTER_USAGE): Define for !SUN_FPA
4282 case. Also make the PIC register call_used.
4283
4284 * m68k.h (FINALIZE_PIC): Delete.
4285 * m68k.c (finalize_pic): Delete.
4286
4287 Mon Jun 28 05:16:35 1999 Richard Henderson <rth@cygnus.com>
4288
4289 * m68k.h (PREFERRED_RELOAD_CLASS): Don't force any FP const_doubles
4290 to memory.
4291
4292 Mon Jun 28 04:07:27 1999 David Edelsohn <edelsohn@gnu.org>
4293
4294 * expmed.c (expand_divmod): Ensure unsigned value fits in reg_note.
4295
4296 Sun Jun 27 02:39:08 1999 Richard Henderson <rth@cygnus.com>
4297
4298 * jump.c (jump_optimize_1): Validate the cmov copy to a temporary.
4299
4300 Sat Jun 26 17:18:18 1999 David Edelsohn <edelsohn@gnu.org>
4301
4302 * rs6000.c (print_operand, case 'L'): Use plus_constant_for_output.
4303
4304 Fri Jun 25 11:33:24 1999 Richard Henderson <rth@cygnus.com>
4305
4306 * alpha.c (override_options): Add -mcpu=ev45 as an alias for ev4.
4307
4308 Fri Jun 25 13:41:25 1999 David Edelsohn <edelsohn@gnu.org>
4309
4310 * rs6000.c (output_toc): Always use hex values for floating-point
4311 constants. Store single-precision values in upper-half of TOC
4312 entry in 64-bit mode.
4313 * rs6000.md (floatsidf2, floatunssidf2): Add !TARGET_POWERPC64
4314 to final constraints.
4315 (fix_truncdfsi2 splitter): Change pattern matching fctiwz.
4316 (fctiwz): Improve accuracy of RTL for pattern.
4317
4318 Fri Jun 25 11:26:38 1999 Gavin Romig-Koch <gavin@cygnus.com>
4319
4320 * expr.c (expand_expr): Allow RTL_EXPR's through the
4321 MAX_INTEGER_COMPUTATION_MODE checks.
4322
4323 Fri Jun 25 06:06:37 1999 Richard Henderson <rth@cygnus.com>
4324
4325 * alpha.h (MASK_SUPPORT_ARCH, MASK_CPU_EV5, MASK_CPU_EV6): Define
4326 such that MASK_SUPPORT_ARCH is not negative.
4327
4328 Fri Jun 25 05:35:44 1999 Jeffrey A Law (law@cygnus.com)
4329
4330 * loop.c (verify_dominator): Properly handle ADDR_VEC and
4331 ADDR_DIFF_VEC insns that appear inside loops.
4332
4333 Thu Jun 24 22:54:05 1999 David Edelsohn <edelsohn@gnu.org>
4334 Jeff Law <law@cygnus.com>
4335
4336 * rs6000.md (movdf_hardfloat32): Revert previous patch.
4337 Handle LO_SUM the same as offsettable in cases 1 and 2.
4338 * rs6000.c (find_addr_reg): Revert previous patch.
4339
4340 Thu Jun 24 22:43:12 1999 Philippe De Muyter <phdm@macqel.be>
4341
4342 * system.h (strstr): New external function declaration.
4343 * acconfig.h (NEED_DECLARATION_STRSTR): New define slot.
4344 * configure.in (GCC_NEED_DECLARATIONS): Check for strstr.
4345 * config.in, configure: Rebuilt.
4346
4347 1999-06-24 Tom Tromey <tromey@cygnus.com>
4348
4349 * gcc.c (main): Read user-specified specs files after computing
4350 additional startfile_prefixes.
4351
4352 Thu Jun 24 15:00:47 1999 Mark Mitchell <mark@codesourcery.com>
4353
4354 Revert these two patches:
4355
4356 Thu Jun 17 21:34:24 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
4357 * loop.c (strength_reduce): When doing biv->giv conversion, update
4358 reg note of NEXT->insn.
4359
4360 Thu Jun 17 17:22:07 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
4361 * loop.c (strength_reduce): When doing biv->giv conversion, fix up
4362 reg_biv_class.
4363 (recombine_givs): Set ix field after sorting.
4364
4365 Wed Jun 23 21:26:00 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
4366
4367 * rtlanal.c (reg_referenced_p): Use reg_overlap_mentioned_p
4368 for the parts of an UNSPEC / UNSPEC_VOLATILE.
4369
4370 1999-06-23 Bruce Korb <ddsinc09@ix.netcom.com>
4371
4372 *fixinc/inclhack.def: Add fix development commentary
4373 (read_ret_type): reactivate and add selection clause
4374 (zzz_*): tweak output file name to match what is used in hackshell.tpl
4375 *fixinc/{fixincl.x|inclhack.sh}: regen
4376
4377 Wed Jun 23 00:48:21 1999 Jason Merrill <jason@yorick.cygnus.com>
4378
4379 * expr.c (expand_expr): STRIP_NOPS before checking against
4380 MAX_INTEGER_COMPUTATION_MODE
4381 (check_max_integer_computation_mode): Likewise.
4382
4383 Tue Jun 22 20:23:43 1999 Jim Wilson <wilson@cygnus.com>
4384
4385 * md.texi (smul@var{m}3_highpart): Add missing 's' prefix.
4386
4387 1999-06-22 Jim Wilson <wilson@cygnus.com>
4388
4389 * expr.c (store_expr): When target is a promoted subreg, return a
4390 promoted subreg as a result.
4391
4392 Tue Jun 22 17:14:58 1999 Michael Meissner <meissner@cygnus.com>
4393
4394 * dwarf2out.c (dwarf2out_frame_debug_expr): Reformat to match GNU
4395 coding standards.
4396 (dwarf2out_define): Mark unused parameters appropriately.
4397 (gen_unspecified_parameters_die): Ditto.
4398 (gen_subprogram_die): Fix signed/unsigned warnings.
4399 (gen_variable_die): Ditto.
4400
4401 1999-06-22 Bruce Korb <ddsinc09@ix.netcom.com>
4402
4403 * fixinc/inclhack.def(end_else_label): combined else_label
4404 and endif_label and fixed the sed expression.
4405 *fixinc/{fixincl.x|inclhack.sh}: regen
4406
4407 Tue Jun 22 01:58:18 1999 Jeffrey A Law (law@cygnus.com)
4408
4409 * rs6000.md (movdf_hardfloat32): Use %X instead of always emitting
4410 'x' when handling non-offsettable addresses
4411
4412 Tue Jun 22 00:20:05 1999 Richard Earnshaw (rearnsha@arm.com)
4413
4414 * final.c (shorten_branches): Don't try to split an insn that has
4415 been deleted.
4416
4417 Mon Jun 21 12:47:39 1999 Mark Mitchell <mark@codesourcery.com>
4418
4419 * config/mips/mips.c (symbolic_expression_p): New function.
4420 (mips_select_rtx_section): Put symbolic expressions in the
4421 data section, not the read-only data section.
4422
4423 Mon Jun 21 22:13:06 1999 Jeffrey A Law (law@cygnus.com)
4424
4425 * rs6000.md (find_addr_reg): Handle LO_SUM addresses.
4426
4427 Mon Jun 21 20:10:42 1999 Richard Henderson <rth@cygnus.com>
4428
4429 * collect2.c (main): Log frame table count.
4430 (GCC_OK_SYMBOL) [ECOFF]: Accept stGlobal.
4431 (scan_prog_file) [COFF]: Handle frame tables.
4432
4433 * alpha/alpha.h (UNALIGNED_SHORT_ASM_OP): Define.
4434 (UNALIGNED_INT_ASM_OP, UNALIGNED_DOUBLE_INT_ASM_OP): Define.
4435 * alpha/elf.h: Undef them again.
4436 * alpha/vms.h: Remove their definitions.
4437
4438 Tue Jun 22 03:17:53 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
4439
4440 * sh.c (machine_dependent_reorg): When fixing up fp pcloads,
4441 remove the clobber of r0 and change the REG_UNUSED note to
4442 REG_INC.
4443
4444 1999-06-21 Jakub Jelinek <jj@ultra.linux.cz>
4445
4446 * real.c (ereal_from_double): Fix for 64-bit big endian hosts.
4447 * emit-rtl.c (gen_lowpart_common): Add case for hosts where double
4448 fits in HOST_WIDE_INT and one uses union to access a long constant
4449 as double.
4450
4451 Mon Jun 21 17:18:25 1999 Richard Henderson <rth@cygnus.com>
4452
4453 * sparc.c (sparc_override_options): Don't allow profiling for
4454 code models other than medlow.
4455 (sparc_function_profiler): New function from old FUNCTION_PROFILER
4456 macro. Use ASM_GENERATE_INTERNAL_LABEL and MCOUNT_FUNCTION.
4457 (sparc_function_block_profiler): Likewise. Use user_label_prefix.
4458 (sparc_block_profiler): Likewise.
4459 (sparc_function_block_profiler_exit): Likewise.
4460 * sparc.h (FUNCTION_PROFILER): Call new sparc.c function.
4461 (FUNCTION_BLOCK_PROFILER): Likewise.
4462 (BLOCK_PROFILER): Likewise.
4463 (FUNCTION_BLOCK_PROFILER_EXIT): Likewise.
4464 (MCOUNT_FUNCTION): New.
4465 * sparc/pbd.h (FUNCTION_PROFILER): Delete.
4466 (FUNCTION_BLOCK_PROFILER, BLOCK_PROFILER): Delete.
4467 * sparc/sun4o3.h (FUNCTION_PROFILER): Delete.
4468 (MCOUNT_FUNCTION): New.
4469 * sparc/sysv4.h (FUNCTION_BLOCK_PROFILER): Delete.
4470 (BLOCK_PROFILER): Delete.
4471 (MCOUNT_FUNCTION): New.
4472
4473 Mon Jun 21 14:11:29 1999 David Edelsohn <edelsohn@gnu.org>
4474
4475 * rs6000.md (movdf_hardfloat32): Fix typo in case 2.
4476
4477 Mon Jun 21 12:27:17 1999 Vladimir Makarov <vmakarov@tofu.to.cygnus.com>
4478
4479 * config/mips/elf.h (BSS_SECTION_ASM_OP, ASM_OUTPUT_ALIGNED_BSS):
4480 Add the macros.
4481
4482 * config/m68k/m68kelf.h (BSS_SECTION_ASM_OP, ASM_OUTPUT_ALIGNED_BSS):
4483 Ditto.
4484
4485 * config/sh/sh.h (BSS_SECTION_ASM_OP, ASM_OUTPUT_ALIGNED_BSS):
4486 Ditto.
4487
4488 * config/arm/telf.h (BSS_SECTION_ASM_OP, ASM_OUTPUT_ALIGNED_BSS):
4489 Ditto.
4490
4491 Mon Jun 21 14:58:42 1999 Nick Clifton <nickc@cygnus.com>
4492
4493 * config/arm/arm.h: Add cpp support for ARM920 and ARM920T cpu
4494 types.
4495
4496 Mon Jun 21 06:22:21 1999 Mark Elbrecht <snowball3@bigfoot.com>
4497
4498 * i386/djgpp.h (LIB_SPEC): New.
4499 (STARTFILE_SPEC): New.
4500
4501 * i386/xm-djgpp.h (NO_SYS_SIGLIST): Deleted. Now obsolete.
4502
4503 Mon Jun 21 06:19:33 1999 Philippe De Muyter <phdm@macqel.be>
4504
4505 * fixinc/Makefile.in (gnu-regex.o): Do not define STDC_HEADERS in
4506 compiler flags.
4507
4508 * system.h (WSTOPSIG): New macro.
4509
4510 Mon Jun 21 05:33:15 1999 Mumit Khan <khan@xraylith.wisc.edu>
4511
4512 * c-pragma.c (push_alignment): Don't ignore alignments greater than
4513 4 bytes.
4514 (insert_pack_attributes): Take into account member natural
4515 alignment.
4516
4517 * i386/winnt.c (exports_head): New static variable.
4518 (i386_pe_record_exported_symbol): New function.
4519 (i386_pe_asm_file_end): Use.
4520 * i386/cygwin.h (ASM_OUTPUT_COMMON): Record the exported
4521 symbols to be emitted at end of assembly.
4522 (ASM_DECLARE_OBJECT_NAME): Likewise.
4523 (ASM_DECLARE_FUNCTION_NAME): Likewise.
4524
4525 * i386/uwin.h (CPP_SPEC): Use -idirafter instead -iprefix and
4526 -iwithprefix.
4527
4528 Mon Jun 21 04:44:31 1999 Jeffrey A Law (law@cygnus.com)
4529
4530 * sparc.h (LEGITIMIZE_RELOAD_ADDRESS): Fix paren error introduced
4531 in last change.
4532
4533 Sun Jun 20 17:27:20 1999 Richard Henderson <rth@cygnus.com>
4534
4535 * haifa-sched.c (sched_analyze_1): Use free_list instead of
4536 zapping reg_last_uses directly.
4537 (sched_analyze_2, sched_analyze_insn): Likewise.
4538 (sched_analyze): Likewise. Don't clear reg_last_uses on calls.
4539
4540 Sun Jun 20 16:57:29 1999 David Edelsohn <edelsohn@gnu.org>
4541
4542 * rs6000.md (movdf_hardfloat32): Use worst case insn length
4543 attributes for cases 1 and 2.
4544
4545 Sat Jun 19 22:52:55 1999 Richard Henderson <rth@cygnus.com>
4546
4547 * haifa-sched.c (sched_analyze): Mark call-user regs as clobbered
4548 instead of set.
4549
4550 Sat Jun 19 05:40:07 1999 Philip Blundell <pb@nexus.co.uk>
4551
4552 * arm.c (arm_reload_in_hi): Invert sense of test on BYTES_BIG_ENDIAN.
4553
4554 Sat Jun 19 05:25:05 1999 Richard Earnshaw (rearnsha@arm.com)
4555
4556 * arm.h (CONDITIONAL_REGISTER_USAGE): If flag_pic, never use
4557 PIC_OFFSET_TABLE_REGNUM for general alloaction.
4558 (INITIAL_ELIMINATION_OFFSET): Count the fact that the PIC register
4559 must be stacked if it is used for PIC accesses.
4560 * arm.c (use_return_insn): Handle PIC register specially.
4561 (output_return_instruction): Likewise.
4562 (output_func_{prologue,epilogue}): Likewise.
4563 (output_expand_prologue): Likewise.
4564
4565 * arm.md (*adddf_esfdf_df): Renamed from *adddf_df_esfdf.
4566 (*strsi_predec): Renamed from *strqi_predec.
4567 (*loadsi_shiftpreinc): Renamed from *loadqi_shiftpreinc.
4568 (*loadsi_shiftpredec): Renamed from *loadqi_shiftpredec.
4569
4570 * arm.c (arm_override_options): Remove warning about PIC code
4571 not being supported.
4572
4573 Fri Jun 18 23:47:06 1999 David Edelsohn <edelsohn@gnu.org>
4574
4575 * rs6000.c (find_addr_reg): New function.
4576 * rs6000.h (find_addr_reg): Declare.
4577 (offsettable_addr_operand): Delete.
4578 * rs6000.md (movdf_hardfloat32): Handle non-offsettable loads
4579 from and stores to GPRs.
4580
4581 Fri Jun 18 15:44:18 1999 Richard Henderson <rth@cygnus.com>
4582
4583 * alpha.c (alpha_expand_block_move): Use get_insns rather than
4584 gen_sequence as argument to emit_no_conflict_block.
4585
4586 Fri Jun 18 07:02 1999 Bruce Korb <ddsinc09@ix.netcom.com>
4587
4588 * fixinc/mkfixinc.sh: enable the fixincl program for DG/UX
4589 * fixinc/inclhack.def(dgux_int_varargs): script must end with \n
4590 *fixinc/fixincl.x: regen
4591 *fixinc/inclhack.sh: regen
4592
4593 Thu Jun 17 15:06:10 PDT 1999 Don Lindsay <dlindsay@cygnus.com>
4594
4595 * added support for -mpcrel (PC relative addressing for m68k)
4596 based on code done by Michael Tiemann <tiemann@axon.cygnus.com>.
4597 * invoke.texi (m68000 options): Add documentation for -mpcrel flag.
4598 * m68k.c (print_operand_address): Handle 32-bit PIC case.
4599 (comments for general_src_operand): Add some explanation
4600 about EXTRA_CONSTRAINTS.
4601 (OVERRIDE_OPTIONS): Enable -fPIC in combination with -mpcrel.
4602 * m68kelf.h (OVERRIDE_OPTIONS): Ditto.
4603 (LEGITIMATE_PIC_OPERAND_P): Fix typo.
4604 (LEGITIMATE_PIC_OPERAND_P): Re-derive from m68k.h case.
4605 * m68k.h (LEGITIMATE_PIC_OPERAND_P): Fix delete-o.
4606 (INDIRECTABLE_1_ADDRESS): Delete spurious '/' at end of macro.
4607 (OVERRIDE_OPTIONS): Change behavior so that -mpcrel implies -fpic
4608 if not already set.
4609 (OVERRIDE_OPTIONS): Merge in changes from m68k.h.
4610 * m68k.h (TARGET_PCREL): New target flag.
4611 (TARGET_SWITCHES): Add "pcrel" as a recognized switch.
4612 (OVERRIDE_OPTIONS): Add checks for -mpcrel.
4613 (LEGITIMATE_PIC_OPERAND_P): Don't normally accept anything that
4614 contains a SYMBOL_REF. Relax this constraint during reload, since
4615 we want to use the predicates, not reload's built-in concept of a
4616 valid memory address, to control what insns need reloading.
4617 (EXTRA_CONSTRAINT): Define constraints to accept pc-relative
4618 operands (essentially 'g', 'm', and 's' under normal circumstances).
4619 * m68k.c (print_operand): Cause printing of pc-relative addresses
4620 to include pc register.
4621 (print_operand_address): Ditto.
4622 (general_src_operand): Accept operands that are not only
4623 general_operands, but are also valid when used as a pc-relative
4624 source.
4625 (nonimmediate_src_operand): Similar, for nonimmediate_operands.
4626 (memory_src_operand): Similar, for memory_operands.
4627 (pcrel_address): New predicate to accept the special case of a
4628 pc-relative address.
4629 * m68k.md (many patterns): Rewrite common SImode, HImode, and
4630 QImode insns to accept *_src_operand instead of *_operand where
4631 pc-relative operands can fit. For example, a pc-relative operand
4632 can be used as a memory source operand for addsi3, but not as a
4633 memory destination.
4634 * hp320.h linux.h m68kv4.h (LEGITIMATE_PIC_OPERAND_P) as in m68k.h.
4635
4636 Fri Jun 18 09:11:07 1999 Nick Clifton <nickc@cygnus.com>
4637
4638 * config/arm/telf.h (ASM_OUTPUT_DEF_FROM_DECLS): New Marco: USe
4639 .thumb_set pseudo op to mark aliases of thumb functions.
4640
4641 Wed Jun 16 18:19:13 1999 Nick Clifton <nickc@cygnus.com>
4642
4643 * varasm.c (assemble_alias): Use ASM_OUTPUT_DEF_FROM_DECLS in
4644 preference to ASM_OUTPUT_DEF, if it is defined.
4645
4646 * tm.texi: Document new, optional target macro
4647 ASM_OUTPUT_DEF_FROM_DECLS.
4648
4649 Thu Jun 17 15:07 1999 Bruce Korb <ddsinc09@ix.netcom.com>
4650
4651 * fixincludes: ISCNTL patch
4652 * fixinc/inclhack.def (ioctl_fix_ctrl): Fix the definition of [_]*ISCTRL().
4653 (dgux_int_varargs): new for DG/UX
4654 * fixinc/{fixincl.x,inclhack.sh}: Regenerated.
4655
4656 Thu Jun 17 21:34:24 1999 Jeff Law <law@cygnus.com>
4657
4658 * invoke.texi (ia32 options): Fix typo.
4659
4660 Thu Jun 17 21:34:24 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
4661
4662 * loop.c (strength_reduce): When doing biv->giv conversion, update
4663 reg note of NEXT->insn.
4664
4665 Thu Jun 17 14:25:08 1999 Jeffrey A Law (law@cygnus.com)
4666
4667 * loop.c (move_movables): Note issues with replacing REGs with
4668 SUBREGs.
4669 * mips.h (GO_IF_LEGITIMATE_ADDRESS): Handle SUBREGs properly.
4670
4671 Thu Jun 17 13:28:30 1999 David O'Brien <obrien@FreeBSD.org>
4672
4673 * i386/freebsd-elf.h (LINK_SPEC): Fix typo.
4674
4675 * i386/freebsd-elf.h (FUNCTION_PROFILER): labels are not needed and
4676 the reference to `mcount' was not correct for the ELF on FreeBSD.
4677
4678 Thu Jun 17 17:22:07 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
4679
4680 * loop.c (strength_reduce): When doing biv->giv conversion, fix up
4681 reg_biv_class.
4682
4683 (recombine_givs): Set ix field after sorting.
4684
4685 Thu Jun 17 02:54:30 1999 Jeffrey A Law (law@cygnus.com)
4686
4687 * emit-rtl.c (operand_subword): Tighten checks for when it is safe
4688 to safe to extract a subword out of a REG.
4689
4690 Thu Jun 17 01:45:24 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
4691
4692 * sh.md (mulsi3): Don't add a no-op move at the end.
4693
4694 Wed Jun 16 20:29:00 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
4695
4696 * cse.c (cse_insn): Don't put hard register source into tables for
4697 the last insn of a libcall.
4698
4699 Wed Jun 16 19:44:33 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
4700
4701 * loop.c (strength_reduce): Insert sets of derived givs at every
4702 biv increment, even if it's the only one.
4703
4704 Wed Jun 16 10:33:02 1999 Jason Merrill <jason@yorick.cygnus.com>
4705
4706 * dwarfout.c (add_incomplete_type): New fn.
4707 (output_type): Call it.
4708 (retry_incomplete_types): New fn.
4709 (dwarfout_finish): Call it.
4710
4711 From Eric Raskin <ehr@listworks.com>:
4712 (output_type): Output types for bases.
4713
4714 Tue Jun 15 12:51:23 1999 Alexandre Oliva <oliva@dcc.unicamp.br>
4715
4716 * mips.c (mips_output_conditional_branch): Add `break'
4717 between `default' label and `close braces'.
4718
4719 Tue Jun 15 01:55:20 1999 David O'Brien <obrien@FreeBSD.org>
4720
4721 * i386/freebsd-elf.h (LINK_SPEC): clean up the linking library
4722 specifications and make it realistic.
4723 (LIB_SPEC): Likewise.
4724
4725 Mon Jun 14 15:38:43 1999 Jim Wilson <wilson@cygnus.com>
4726
4727 * config/mips/mips.c (mips_secondary_reload_class): Check for
4728 (PLUS (SP) (REG)) and return appropriate register class.
4729 * config/mips/mips.md (reload_insi): Delete predicate for operand 1.
4730 Handle (PLUS (SP) (REG)).
4731 (tablejump): In mips16 code, use emit_insn instead of emit_jump_insn.
4732 (tablejump_mips161, tablejump_mips162): Use emit_jump_insn instead
4733 of emit_insn for tablejump.
4734
4735 Mon Jun 14 17:26:40 1999 David Edelsohn <edelsohn@gnu.org>
4736
4737 * rs6000.c (output_prolog): RS6000_CALL_GLUE must be
4738 asm_fprintf format string by itself.
4739 (output_function_profiler): Likewise.
4740
4741 Mon Jun 14 12:57:38 1999 David Mosberger <davidm@hpl.hp.com>
4742
4743 * combine.c (simplify_logical, case AND): Only call
4744 simplify_and_const_int if the mode is no wider than HOST_WIDE_INT
4745 or the constant is positive.
4746
4747 Mon Jun 14 11:43:41 1999 Nick Clifton <nickc@cygnus.com>
4748
4749 * configure.in: Fix typo in rs6000-ibm-aix4 case.
4750 * configure: Regenerate.
4751
4752 Mon Jun 14 03:55:40 1999 Jeffrey A Law (law@cygnus.com)
4753
4754 * configure.in (rs6000-ibm-aix4.3*, powerpc-ibm-aix4.3*): Do not
4755 require a sub-version #.
4756 * configure: Rebuilt.
4757
4758 1999-06-14 Robert Lipe (robertlipe@usa.net)
4759
4760 * svr4.h (DWARF2_DEBUGGING_INFO): Check for redefinition.
4761
4762 Mon Jun 14 10:30:52 BST 1999 Nathan Sidwell <nathan@acm.org>
4763
4764 * c-typeck.c (process_init_element): Detect excess elements in
4765 char array initializer.
4766
4767 1999-06-14 Andreas Jaeger <aj@arthur.rhein-neckar.de>
4768
4769 * gcc.texi: Mention gcc 2.96 instead of egcs 1.00.
4770
4771 Sat Jun 12 22:29:48 EDT 1999 Jerry Quinn <jquinn@nortelnetworks.com>
4772
4773 * invoke.texi (Option Summary): Add -fpermissive flag.
4774
4775 Sat Jun 12 03:40:42 1999 Jeffrey A Law (law@cygnus.com)
4776
4777 * sparc.h (LEGITIMIZE_RELOAD_ADDRESS): Do nothing with operands
4778 that require PIC code sequences.
4779
4780 Wed Jun 9 16:29:01 1999 Nick Clifton <nickc@cygnus.com>
4781
4782 * configure.in: Add new target: thumb-elf.
4783 * configure: Regenerate.
4784 * config/arm/t-thumb-elf: New file: Makefile fragment for
4785 thumb-elf build.
4786 * config/arm/telf.h: New file: Header file for thumb-elf
4787 build.
4788
4789 Fri Jun 11 03:17:51 1999 Jeffrey A Law (law@cygnus.com)
4790
4791 * Makefile.in (libgcc2): Pass MAYBE_USE_COLLECT2 as an argument.
4792 * libgcc2.c (__CTOR_LIST, __DTOR_LIST); Do not provide
4793 initializers is some circumstances.
4794
4795 * fixinc/inclhack.def (endif_label): Add additional selector for
4796 more bogus stuff after #endif statements.
4797 * fixinc/inclhack.sh, fixinc/fixincl.x: Rebuilt.
4798
4799 Thu Jun 10 20:44:36 1999 Mumit Khan <khan@xraylith.wisc.edu>
4800
4801 * i386/cygwin.h (SET_ASM_OP): Define.
4802
4803 Thu Jun 10 20:37:57 1999 Mumit Khan <khan@xraylith.wisc.edu>
4804
4805 * reg-stack.c (stack_reg_life_analysis): Find all the RETURN insns.
4806
4807 Thu Jun 10 19:23:00 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
4808
4809 * sh.h (TARGET_HARWARD, TARGET_HARVARD): Changed the former to the
4810 latter.
4811
4812 * sh.md (ic_invalidate_line_i): Remove second alternative.
4813
4814 Thu Jun 10 06:55 1999 Bruce Korb <ddsinc09@ix.netcom.com>
4815
4816 *fixinc/inclhack.def(sun_auth_proto): We do not know how to
4817 test for the presence of valid prototypes. Delete bypass expr.
4818 (ioctl_fix_ctrl): Correct the selection expression.
4819 (no_double_slash): Correct quoting rules
4820 *fixinc/fixincl.x: regen
4821 *fixinc/inclhack.sh: regen
4822
4823 Thu Jun 10 15:08:15 1999 Nick Clifton <nickc@cygnus.com>
4824
4825 * config/arm/arm.c (struct all_cores): Add ARM920 and ARM920t.
4826
4827 Wed Jun 9 15:57:57 1999 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
4828
4829 * rs6000.md (movsi_got_internal_mem): Delete.
4830 * rs6000.h (CONDITIONAL_REGISTER_USAGE): Mark PIC_OFFSET_TABLE_REGNUM.
4831 (GOT_TOC_REGNUM): Delete.
4832 (PIC_OFFSET_TABLE_REGNUM): Define.
4833 (FINALIZE_PIC): Disable.
4834 * rs6000.c (rs6000_got_register): New code for fixed pic register.
4835 (rs6000_replace_regno): Delete.
4836 (rs6000_finalize_pic): Likewise.
4837 (output_prolog): Handle PIC_OFFSET_TABLE_REGNUM.
4838
4839 Wed Jun 9 19:44:26 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
4840
4841 * loop.c (loop_insn_first_p): Don't compare LUIDs when P
4842 is a note; use <= for the compare; advance P while it is
4843 a NOTE.
4844
4845 Wed Jun 9 13:12:24 1999 Jeffrey A Law (law@cygnus.com)
4846
4847 * fixinc/inclhack.def (no_double_slash): Fix quoting for test.
4848 * fixinc/inclhack.sh, fixinc/fixincl.x, fixinc/fixincl.sh; Rebuilt.
4849
4850 * varasm.c (remove_from_pending_weak_list): Verify t->name
4851 is non-NULL before passing it to strcmp.
4852
4853 Wed Jun 9 06:50 1999 Bruce Korb <ddsinc09@ix.netcom.com>
4854
4855 *fixinc/inclhack.def(sun_auth_proto): bypass the patch if
4856 the typed arguments are not part of a comment
4857 (ioctl_fix_ctrl): Added a purpose comment
4858 *fixinc/fixincl.x: regenerate
4859 *fixinc/inclhack.sh: regenerate
4860
4861 Wed Jun 9 22:57:02 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
4862
4863 * invoke.texi: Add C4x invocation docs.
4864
4865 Wed Jun 9 22:34:38 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
4866
4867 * config/c4x/c4x.h (TARGET_EXPOSE_LDP, LEGITIMIZE_RELOAD_ADDRESS):
4868 Define new macros.
4869 * config/c4x/c4x.c (c4x_emit_move_sequence, src_operand): Use
4870 TARGET_EXPOSE_LDP.
4871 (c4x_legitimize_reload_address): New function.
4872 * config/c4x/c4x.md: Update docs.
4873
4874 Wed Jun 9 04:14:48 1999 Jeffrey A Law (law@cygnus.com)
4875
4876 * fixincludes: Avoid removing '.'.
4877 * fixinc/fixinc.svr4: Likewise.
4878 * fixinc/fixinc.winnt: Likewise.
4879 * fixinc/inclhack.tpl: Likewise.
4880 * fixinc/fixincl.sh, fixinc/inclhack.sh: Rebuilt.
4881
4882 1999-06-09 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4883
4884 * fixinc/inclhack.def (sun_catmacro): Escape parens in the select
4885 pattern.
4886 * fixinc/fixincl.x, fixinc/inclhack.sh: Rebuilt.
4887
4888 Wed Jun 9 03:10:34 1999 Mumit Khan <khan@xraylith.wisc.edu>
4889
4890 * c-pragma.c (handle_pragma_token): Handle `#pragma pack()'
4891 correctly.
4892
4893 Tue Jun 8 13:06:15 1999 Jim Wilson <wilson@cygnus.com>
4894
4895 * configure.in (rs6000-ibm-aix4.[12]*): Change rx6000 to rs6000.
4896 * configure: Regenerate.
4897
4898 Tue Jun 8 05:47:48 1999 Richard Earnshaw (rearnsha@arm.com)
4899
4900 * optabs.c (expand_cmplxdiv_wide): Use expand_abs to get the absolute
4901 values.
4902
4903 Mon Jun 7 22:30:37 1999 Jeffrey A Law (law@cygnus.com)
4904
4905 * fixinc/inclhack.def (avoid_bool): Also catch
4906 "typedef [unsigned] int bool".
4907 * fixinc/inclhack.sh, fixinc/fixincl.x, fixinc/fixincl.sh: Rebuilt.
4908
4909 * m68k/x-hp3bsd44: Delete obsolete and incorrect file.
4910 * configure.in (m68k-hp-bsd4.4): No longer use x-hp3bsd44.
4911 * configure: Rebuilt.
4912
4913 Mon Jun 7 22:05:03 1999 Mark Kettenis <kettenis@gnu.org>
4914
4915 * config/i386/gnu.h: Include <gnu.h> right after <i386/linux.h>,
4916 such that we can override its definitions if necessary.
4917 (CPP_SPEC): New define. Support processor specific predefines via
4918 %(cpp_cpu).
4919 (CC1_SPEC): New define. Support processor specific compiler
4920 options via %(cc1_cpu).
4921 (STARTFILE_SPEC): New define. Use crt0.o instead of crt1.o for
4922 -static.
4923
4924 1999-06-07 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4925
4926 * fixinc/inclhack.def (math_gcc_ifndefs): Insert whitespace
4927 between sed's -e flag, and the open-quote following it.
4928 * fixinc/fixincl.x, fixinc/fixincl.sh: Rebuilt.
4929
4930 Mon Jun 7 20:34:20 1999 Robert Lipe <robertlipe@usa.net>
4931 Jeffrey A Law (law@cygnus.com)
4932
4933 * varasm.c (assemble_start_function): Remove the function
4934 from the pending weak decls list when we define a function.
4935 (assemble_variable): Similarly for variables.
4936 (weak_finish): Ignore items on the list with a NULL name.
4937 (remove_from_ending_weak_list); New function to "remove" an item
4938 from the pending weak declarations list.
4939
4940 Mon Jun 7 19:27:07 1999 Jerry Quinn <jquinn@nortelnetworks.com>
4941
4942 * pa.md (fmpyfadd, fmpynfadd, fnegabs): New patterns.
4943
4944 Mon Jun 7 14:07:39 1999 Dave Brolley <brolley@cygnus.com>
4945
4946 * c-lex.c (GETC): Redefine to call getch.
4947 (UNGETC): Redefine to call put_back.
4948 (putback_buffer): New structure type.
4949 (putback): New static structure.
4950 (getch): New function.
4951 (put_back): New function.
4952 (yylex): Replace unused bytes from bad multibyte character.
4953
4954 Mon Jun 7 13:33:39 1999 Dave Brolley <brolley@cygnus.com>
4955
4956 * cpplib.c (do_define): Cast `alloca' return value.
4957 (do_include, do_undef, do_pragma): Likewise.
4958 * cpphash.c (dump_definition): Cast `xstrdup' and `alloca' return
4959 values.
4960 * cppfiles.c (initialize_input_buffer): Cast `xmalloc' return values.
4961 * gcc/cppspec.c (lang_specific_driver): Cast xmalloc return value.
4962
4963 Sun Jun 6 11:58:34 1999 Jakub Jelinek <jj@ultra.linux.cz>
4964
4965 * sparc.md (abstf2): This should be an expand.
4966 (split after abstf2_notv9): Fix mode.
4967 (abstf2_hq_v9): New pattern.
4968 (abstf2_v9): Only use when no hard quad.
4969 (absdf2_v9): Fix if target is not the same as source.
4970 (ashrsi3_extend, ashrsi3_extend2, lshrsi3_extend, lshrsi3_extend2):
4971 Add correct output constraints.
4972
4973 Sat Jun 5 17:04:16 1999 Craig Burley <craig@jcb-sc.com>
4974
4975 From Dave Love to egcs-patches on 20 May 1999 17:38:38 +0100:
4976 * invoke.texi: Clarify text vis-a-vis Intel CPUs.
4977
4978 Sat Jun 5 12:11:24 1999 Mark Mitchell <mark@codesourcery.com>
4979
4980 * mips.h (mips_output_conditional_branch): New function.
4981 (mips_adjust_insn_length): Likewise.
4982 (ASSEMBLER_SCRATCH_REGNUM): New macro.
4983 (ADJUST_INSN_LENGTH): Likewise.
4984 * mips.c (print_operand): Add `F' and `W' for floating-point
4985 comparison opcodes.
4986 (machine_dependent_reorg): Adjust MIPS16 code; instruction-lengths
4987 are now in bytes.
4988 (mips_adjust_insn_length): New function.
4989 (mips_output_conditional_branch): New function.
4990 * mips.md (length): Adjust attribute definition to handle
4991 conditional branches. Change lengths to bytes, rather than
4992 instructions throughout. Remove length attribute from
4993 instructions whose length is four bytes, and rely on the default
4994 instead.
4995 (dslot): Fix typo in comment.
4996 Reword conditional branch patterns to use
4997 mips_output_conditional_branch.
4998
4999 Fri Jun 4 13:30:27 1999 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
5000
5001 * alpha/osf.h (CPP_SUBTARGET_SPEC): Handle -threads.
5002 (LIB_SPEC): Likewise.
5003 Link with -lprof1_r for -g/-pg.
5004
5005 1999-06-04 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
5006
5007 * loop.c (check_dbra_loop): Fix change of Jan 19.
5008
5009 Fri Jun 4 00:12:40 1999 Marc Espie <espie@cvs.openbsd.org>
5010
5011 * freebsd-elf.h (SWITCH_TAKES_ARG): Redefine, not define.
5012 (STARTFILE_SPEC): Define, override the svr4.h version.
5013 (ENDFILE_SPEC): Likewise.
5014
5015 Thu Jun 3 23:58:55 1999 Jeffrey A Law (law@cygnus.com)
5016
5017 * fixinc/inclhack.def (limits_ifndefs): Also apply to sys/limits.h
5018 * fixinc/fixincl.x: Regenerated.
5019 * fixinc/inclhack.sh: Regenerated.
5020
5021 Fri Jun 4 05:42:23 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
5022
5023 * sh.c (barrier_align): Don't return early for normal branch/barrier
5024 when optimizing for SH2.
5025
5026 Thu Jun 3 22:27:50 1999 Robert Lipe <robertlipe@usa.net>
5027
5028 * i386/udk.h (LINK_SPEC): Correct linker search path for
5029 system libraries.
5030
5031 Fri Jun 4 03:20:40 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
5032
5033 * sh.c (fixup_addr_diff_vecs): Emit braf reference label.
5034 (braf_label_ref_operand): Delete.
5035 * sh.h (PREDICATE_CODES): Remove braf_label_ref_operand.
5036 * sh.md (casesi_jump_2): Operand1 is now the inside of a
5037 label_ref, and has no predicate.
5038 The patten has a predicate to guard against invalid substitutions.
5039 (dummy_jump): Delete.
5040 (casesi): Update use of casesi_jump_2.
5041
5042 Thu Jun 3 07:48 1999 Bruce Korb <ddsinc09@ix.netcom.com>
5043
5044 *fixinc/inclhack.def(Io_Def_Quotes): corrected sed expression
5045 *fixinc/fixincl.x: regenerate
5046 *fixinc/inclhack.sh: regenerate
5047
5048 Thu Jun 3 02:15:07 1999 Jason Merrill <jason@yorick.cygnus.com>
5049
5050 * dwarf2out.c (add_incomplete_type): New fn.
5051 (gen_struct_or_union_type_die): Call it.
5052 (retry_incomplete_types): New fn.
5053 (dwarf2out_finish): Call it.
5054
5055 Thu Jun 3 01:19:03 1999 Jeffrey A Law (law@cygnus.com)
5056
5057 * gcse.c (insert_insn_end_bb): Correct placement of insns when the
5058 current block starts with a CODE_LABEL and ends with a CALL and
5059 we can not find all the argument setup instructions for the CALL.
5060
5061 Wed Jun 2 15:44:15 1999 Mark Mitchell <mark@codesourcery.com>
5062
5063 Revert this change:
5064 * fold-const.c (fold): STRIP_NOPS when deciding whether or not
5065 something is a candidate for optimize_bit_field_compare.
5066
5067 Wed Jun 2 21:53:05 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
5068
5069 * sh.h (CONST_OK_FOR_I, CONST_OK_FOR_L): Cast VALUE to HOST_WIDE_INT.
5070
5071 Wed Jun 2 12:25:55 1999 Richard Henderson <rth@cygnus.com>
5072
5073 * alpha.c (override_options): Thinko in last patch.
5074
5075 * alpha/osf.h (CPP_SUBTARGET_SPEC): Define.
5076 (LIB_SPEC): Recognize -pthread.
5077
5078 Wed Jun 2 08:42:55 1999 Nick Clifton <nickc@cygnus.com>
5079
5080 * config/arm/tcoff.h (USER_LABEL_PREFIX): Synchronise with
5081 definition in config/arm/coff.h
5082 * config/arm/coff.h: Add comment about USER_LABEL_PREFIX.
5083
5084 Wed Jun 2 07:07 1999 Bruce Korb <ddsinc09@ix.netcom.com>
5085
5086 * fixinc/fixincl.c(global def): Add FD_SHELL_SCRIPT to mark
5087 fixes that need "file=xxx\n" prepended before invocation
5088 (start_fixer - new): starting the fixer process is complex enough
5089 to warrent its own routine. It prepends the "file=xxx\n" stuff.
5090 (process): uses the new routine; omit usage of putenv()
5091 * fixinc/fixincl.tpl: mark shell scripts with FD_SHELL_SCRIPT
5092 * fixinc/fixincl.x: regenerate
5093
5094 Wed Jun 2 02:29:07 1999 Jeffrey A Law (law@cygnus.com)
5095
5096 * README, configure.in, gcc.1, gcc.texi: Update name (egcs -> gcc)
5097 and version #s (1.1 -> 2.96) as needed.
5098 * README.g77: Kill way out of date file in the toplevel directory.
5099
5100 Wed Jun 2 00:52:34 1999 David O'Brien <obrien@FreeBSD.org>
5101
5102 * configure.in (i[34567]86-*-freebsdelf): Don't include linux.h,
5103 i386/freebsd-elf.h no longer requires it. Instead include svr4.h.
5104 * configure: Rebuilt.
5105 * i386/freebsd-elf.h (DEFAULT_VTABLE_THUNKS): Define.
5106 (ASM_COMMENT_START, ASM_APP_ON, ASM_APP_OFF, SET_ASM_OP): Likewise.
5107 (PREFERRED_DEBUGGING_TYPE, WCHAR_UNSIGNED): Likewise.
5108 (SWITCH_TAKES_ARG): Likewise.
5109 * i386/freebsd.h: Remove FREEBSD_NATIVE support.
5110 * config/t-freebsd: Moved from config/i386/ so it can used for all
5111 FreeBSD targets.
5112
5113 Mon May 31 02:22:55 1999 Philippe De Muyter <phdm@macqel.be>
5114
5115 * m68k/x-mot3300 (XCFLAGS): Fixed to match stb.o, not f/stb.o.
5116
5117 Wed Jun 2 00:08:34 1999 Robert Lipe <robertlipe@usa.net>
5118
5119 * configure.in (i[34567]86-*-udk*): Install headers with cpio.
5120 * configure: Rebuilt.
5121
5122 Tue Jun 1 19:06:22 1999 David Edelsohn <edelsohn@gnu.org>
5123
5124 * rs6000/aix41.h (RS6000_CALL_GLUE): Define.
5125 * rs6000/aix43.h (RS6000_CALL_GLUE): Likewise.
5126 * rs6000/rs6000.c (rs6000_file_start): Use putc.
5127 (rs6000_output_load_toc_table): Same.
5128 (output_prolog, output_mi_thunk): Same.
5129 * rs6000/rs6000.h (SELECT_SECTION): Formatting.
5130 (ASM_GLOBALIZE_LABEL): Use putc.
5131
5132 Mon May 31 15:23:23 1999 Richard Henderson <rth@cygnus.com>
5133
5134 * alpha.md (reload_*_help): New patterns and splitters.
5135 (reload_*): Use them.
5136 (mov[qh]i): Likewise.
5137
5138 Mon May 31 11:48:07 1999 Mark Mitchell <mark@codesourcery.com>
5139
5140 * cccp.c (handle_directive): Handle backslash-newlines in quoted
5141 strings correctly.
5142
5143 Mon May 31 09:36:11 1999 Cort Dougan <cort@cs.nmt.edu>
5144
5145 * rs6000/linux.h (LINK_SPEC): Use emulation elf32ppclinux.
5146
5147 Mon May 31 11:40:20 EDT 1999 John Wehle (john@feith.com)
5148
5149 * flow.c (mark_regs_live_at_end, insn_dead_p,
5150 mark_set_1, mark_used_regs): Only give FRAME_POINTER_REGNUM
5151 and HARD_FRAME_POINTER_REGNUM special treatment if reload
5152 hasn't run or the frame pointer is needed.
5153 * haifa-sched.c (attach_deaths): Likewise.
5154 * sched.c (attach_deaths): Likewise.
5155
5156 Mon May 31 00:46:17 1999 Jeffrey A Law (law@cygnus.com)
5157
5158 * jump.c (jump_optimize_1): Only set CAN_REACH_END if
5159 calculate_can_reach_end returns nonzero.
5160
5161 * configure.in (native gas tests): Search for an assembler in the
5162 same manner that the installed compiler will.
5163 * configure: Rebuilt.
5164 * tm.texi (MD_EXEC_PREFIX): Note need to update configure.in too.
5165
5166 * alias.c (find_base_term): Improve handling of addresses
5167 constructed from binary operations.
5168
5169 Sun May 30 14:29:17 1999 Eric Raskin (ehr@listworks.com)
5170
5171 * dgux.h (STARTFILE_SPEC): Fix incorrectly matched curly-braces.
5172
5173 Sun May 30 14:19:13 1999 Jeffrey A Law (law@cygnus.com)
5174
5175 * function.h (cleanup_label, frame_offset): Declare.
5176 (tail_recursion_label, tail_recursion_reentry): Likewise.
5177 (arg_pointer_save_area, rtl_expr_chain): Likewise.
5178 * stmt.c (cleanup_label, frame_offset): Delete extern declarations.
5179 (tail_recursion_label, tail_recursion_reentry): Likewise.
5180 (arg_pointer_save_area, rtl_expr_chain): Likewise.
5181
5182 Sat May 29 19:08:10 1999 Philip Blundell <philb@gnu.org>
5183
5184 * config/arm/aout.h (ASM_OUTPUT_ALIGN): Only define if not already
5185 defined.
5186 * config/arm/elf.h (ASM_OUTPUT_ALIGN): Define.
5187 (MAX_OFILE_ALIGNMENT): Define.
5188
5189 Fri May 28 21:40 1999 Robert Lipe <robertlipe@usa.net>
5190
5191 * fixincl.c: Replace local include scheme with #includes of
5192 gansidecl.h and system.h.
5193 * procopen.c: Likewise.
5194 * server.c: Likewise.
5195
5196 Fri May 28 03:47:03 1999 Eric Raskin (ehr@listworks.com)
5197
5198 * i386/t-dgux (EXTRA_PARTS): Add crti.o
5199 (crti.o): Add build rule and dependencies.
5200 * fixinc/fixinc.dgux: Use modified _int_varargs.h
5201
5202 Fri May 28 03:41:02 1999 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
5203
5204 * rs6000/sysv4.h (CC1_SPEC): Add support for -profile
5205 (LIB_LINUX_SPEC): Likewise.
5206 (LIB_LINUX_SPEC): Add support for -pthread
5207 (CPP_OS_LINUX_SPEC): Likewise.
5208 (CPP_SYSV_SPEC): Avoid redefinitions if both -fpic and -fPIC are
5209 specified.
5210
5211 Thu May 27 13:04:52 1999 H.J. Lu (hjl@gnu.org)
5212
5213 * i386.c (output_fp_cc0_set): Don't check the JUMP_INSN code for
5214 conditional move.
5215 (notice_update_cc, output_float_compare): Enable TARGET_CMOVE support.
5216 (output_float_compare, output_fp_cc0_set): Fix the FLOAT comparison
5217 for IEEE math and CC_FCOMI.
5218 (put_jump_code): No IEEE if CC_FCOMI is set.
5219
5220 1999-05-27 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
5221
5222 * fold-const.c (fold_truthop): Make the field reference unsigned
5223 when converting a single bit compare.
5224
5225 Thu May 27 02:40:48 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
5226
5227 * loop.c (strength_reduce): Don't do biv->giv conversion on constants.
5228
5229 Thu May 27 02:09:27 1999 Jeffrey A Law (law@cygnus.com)
5230
5231 * varasm.c (STRIP_NAME_ENCODING): Remove default definition.
5232 * output.h (STRIP_NAME_ENCODING): Strip '*' like the old varasm
5233 version did.
5234
5235 * reload.c (push_reload): Do not call remove_address_replacements
5236 when presented with identical optional reloads.
5237
5238 Wed May 26 14:18:05 1999 Richard Henderson <rth@cygnus.com>
5239
5240 * alpha.h (MASK_FIX, TARGET_FIX): New.
5241 (MASK_*): Reorganize constants.
5242 (CPP_AM_FIX_SPEC): New.
5243 (TARGET_SWITCHES): Add FIX.
5244 (EXTRA_SPECS): Likewise.
5245 (CPP_CPU_EV6_SPEC): Use FIX, not CIX.
5246 (SECONDARY_MEMORY_NEEDED): Likewise.
5247 (REGISTER_MOVE_COST): Likewise.
5248 * alpha.c (override_options): Add FIX support. Always use
5249 ALPHA_TP_PROG for ev6.
5250 * alpha.md (sqrt and mov[sd]i patterns): Use FIX, not CIX.
5251 * alpha/elf.h (ASM_FILE_START): Look at FIX too.
5252 * configure.in (target_cpu_default2) [ev6]: Use FIX, not CIX.
5253
5254 Wed May 26 09:53:05 1999 Mark Mitchell <mark@codesourcery.com>
5255
5256 * fold-const.c (fold): STRIP_NOPS when deciding whether or not
5257 something is a candidate for optimize_bit_field_compare.
5258
5259 Wed May 26 09:40:02 1999 Mark Mitchell <mark@codesourcery.com>
5260
5261 * gcc.texi (Passes): Document branch-shortening.
5262 * invoke.texi (Debugging Options): Document the fact that `-dp'
5263 outputs length information for instructions.
5264
5265 Wed May 26 08:49:31 1999 Nick Clifton <nickc@cygnus.com>
5266
5267 * flow.c: Revert previous delta.
5268
5269 Wed May 26 06:05:10 1999 Nick Clifton <nickc@cygnus.com>
5270
5271 * flow.c (insn_dead_p): Check against frame_pointer_rtx not
5272 FRAME_POINTER_REGNUM.
5273 (mark_set_1): Ditto.
5274 (mark_used_regs): Ditto.
5275
5276 Wed May 26 02:19:31 1999 Philip Blundell <pb@nexus.co.uk>
5277
5278 * arm.h (NEED_PLT_GOT): Fix mistake in last change.
5279 (GOT_PCREL): New macro. Define to 1 if not already defined.
5280 * arm/elf.h (GOT_PCREL): Define to 0.
5281 * arm.c (arm_finalize_pic): Take into account the setting of
5282 GOT_PCREL.
5283
5284 Tue May 25 14:06:06 1999 Jeffrey A Law (law@cygnus.com)
5285
5286 * output.h (STRIP_NAME_ENCODING): Provide default definition.
5287 * dwarf2out.c (ASM_NAME_TO_STRING): Use STRIP_NAME_ENCODING.
5288
5289 * flow.c (mark_set_1): Do not record BLKmode stores as dead
5290 store elimination candidates.
5291
5292 Tue May 25 08:55:57 1999 Gavin Romig-Koch <gavin@cygnus.com>
5293
5294 * config/mips/mips.h (ASM_OUTPUT_DOUBLE_INT) : Use 'dword' if
5295 TARGET_GAS.
5296
5297 Mon May 24 20:30:08 1999 Jim Wilson <wilson@cygnus.com>
5298
5299 * configure.in (rs6000-ibm-aix4.[12]*): Delete use of aix41-gld.h.
5300 Add use of x-aix41-gld.
5301
5302 Mon May 24 16:44:09 1999 Jakub Jelinek <jj@ultra.linux.cz>
5303
5304 * sparc/linux64.h (ASM_OUTPUT_CONSTRUCTOR): Define.
5305 (ASM_OUTPUT_DESTRUCTOR): Define.
5306
5307 Mon May 24 14:35:24 1999 Jeffrey A Law (law@cygnus.com)
5308
5309 * loop.c (strength_reduce): Do not clear NOT_EVERY_ITERATION at the
5310 last CODE_LABEL in a loop if we have previously passed a jump
5311 to the top of the loop.
5312
5313 Mon May 24 07:56:29 1999 Nick Clifton <nickc@cygnus.com>
5314
5315 * config/arm/arm.h (OUTPUT_INT_ADDR_CONST): Fix blunder made when
5316 applying Philip's patch.
5317
5318 Mon May 24 01:02:12 1999 Mark Mitchell <mark@codesourcery.com>
5319
5320 * stmt.c (expand_end_bindings): Ignore any elements of VARS that
5321 are not VAR_DECLs.
5322
5323 Sun May 23 20:31:16 1999 Jeffrey A Law (law@cygnus.com)
5324
5325 * loop.c (strength_reduce): Grow reg_single_usage as needed.
5326
5327 Sun May 23 10:13:20 1999 David O'Brien <obrien@FreeBSD.org>
5328
5329 * i386/freebsd-elf.h (LINK_SPEC): Change -static to -Bstatic.
5330 Also remove a useless comment.
5331
5332 Sun May 23 10:05:23 1999 Jerry Quinn <jquinn@nortelnetworks.com>
5333
5334 * pa.md (negdf2,negsf2): Use fneg instead of fsub on pa 2.0.
5335
5336 Sat May 22 21:02:06 1999 David Edelsohn <edelsohn@gnu.org>
5337
5338 * collect2.c (main): Only generate import or export file and add
5339 to link arguments if non-empty. Use xmalloc not alloca.
5340 (write_{export,import}_file): Delete.
5341 (write_aix_file): New function.
5342 (locatelib): Use xmalloc not malloc.
5343 (GCC_OK_SYMBOL): Do not check type if aix64.
5344
5345 Sat May 22 09:35:51 1999 Philip Blundell <pb@nexus.co.uk>
5346
5347 Based on patch by Scott Bambrough and Pat Beirne:
5348 * config/arm/arm.c (making_const_table): New variable.
5349 * config/arm/arm.h (making_const_table): Declare.
5350 (OUTPUT_INT_ADDR_CONST): Mark symbols as position independent if
5351 appropriate.
5352 * config/arm/arm.md (consttable_4, consttable_8, consttable_end):
5353 Keep track of when we are building the constant table.
5354
5355 Sat May 22 09:34:22 1999 Philip Blundell <pb@nexus.co.uk>
5356
5357 * config/arm/arm.c (arm_override_options): Fix erroneous warning
5358 message.
5359
5360 Sat May 22 09:06:33 1999 Nick Clifton <nickc@cygnus.com>
5361
5362 * config/arm/arm.h (NEED_PLT_GOT): Only define if not already
5363 defined.
5364
5365 Sat May 22 07:17:05 1999 Nick Clifton <nickc@cygnus.com>
5366
5367 * tm.texi (FUNCTION_ARG): Correct description of a stack element
5368 in a PARALLEL.
5369
5370 Sat May 22 01:27:49 1999 Mark Mitchell <mark@codesourcery.com>
5371
5372 * expr.h (lang_expand_constant): Guard with #ifdef TREE_CODE.
5373
5374 Fri May 21 21:19:02 1999 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
5375
5376 * rs6000.c (output_mi_thunk): Enable full support again.
5377
5378 Fri May 21 20:09:52 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
5379
5380 * sh.h (BRANCH_COST): Define.
5381
5382 Thu May 20 10:00:42 1999 Stephen L Moshier <moshier@world.std.com>
5383
5384 * Makefile.in (GCC_FOR_TARGET): Add -I$(build_tooldir)/include.
5385
5386 Thu May 20 09:58:57 1999 Jan Hubicka <hubicka@freesoft.cz>
5387
5388 * function.c (assign_stack_local): Align stack slot propertly.
5389 (assign_outer_stack_local): Likewise.
5390
5391 Thu May 20 10:38:43 1999 Mark Mitchell <mark@codesourcery.com>
5392
5393 * expr.h (lang_expand_constant): Declare.
5394 * toplev.c (lang_expand_constant): Define it.
5395 * varasm.c (output_constant): Use it.
5396
5397 Thu May 20 11:28:53 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5398
5399 * optabs.c (expand_cmplxdiv_straight, expand_cmplxdiv_wide):
5400 Change function definitions to K&R style.
5401
5402 Thu May 20 08:16:39 1999 Bruce Korb <ddsinc09@ix.netcom.com>
5403
5404 * fixinc/fixincl.c: We must not ignore SIGCLD now.
5405
5406 Thu May 20 07:06:39 1999 Alexandre Oliva <aoliva@acm.org>
5407
5408 * fixinc/Makefile.in(gnu-regex.o): add $(INCLUDES) to compile options
5409 * fixinc/fixincl.c(wait_for_pid): K&R-ify arguments
5410 (several places): omit static initialization
5411 (process): use single fd, since only the read fd is used
5412 * fixinc/gnu-regex.c: define 'const' away, if not supported
5413 * fixinc/procopen.c(several places): omit static initialization
5414 * fixinc/server.c: define 'volitile' away, if not supported
5415
5416 1999-05-20 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
5417
5418 * config/dbxcoff.h (DBX_OUTPUT_MAIN_SOURCE_FILE_END): Use
5419 asm_fprintf and %L to generate the label name.
5420 * config/dbxelf.h (DBX_OUTPUT_MAIN_SOURCE_FILE_END): Likewise.
5421 (ASM_OUTPUT_SOURCE_LINE): Correct generation of internal labels.
5422
5423 Thu May 20 01:40:55 1999 Jeffrey A Law (law@cygnus.com)
5424
5425 * jump.c (can_reverse_comparison_p): Do not abort if the comparison
5426 insn for a conditional jump can not be found.
5427
5428 Wed May 19 23:58:58 1999 Jeffrey A Law (law@cygnus.com)
5429
5430 * mips.h (ENCODE_SECTION_INFO): Do not perform GP optimizations
5431 on variables in specific sections other than .sbss and .sdata.
5432
5433 Wed May 19 03:56:56 1999 Mark Mitchell <mark@codesourcery.com>
5434
5435 * stmt.c (expand_return): Call start_cleanup_deferral and
5436 end_cleanup_deferral around conditional code.
5437
5438 Wed May 19 08:40:08 1999 Bruce Korb <ddsinc09@ix.netcom.com>
5439
5440 * fixinc/fixincl.tpl: Avoid depending on ANSI C features for
5441 filename lists. Utilizes new "krstr" AutoGen function.
5442 * fixinc/fixincl.x: Rebuilt.
5443
5444 Wed May 19 02:47:11 1999 Jan Hubicka (hubicka@freesoft.cz)
5445
5446 * i386.c (output_float_compare): Avoid GNU-C extensions.
5447
5448 Wed May 19 00:34:40 1999 Jeffrey A Law (law@cygnus.com)
5449
5450 * version.c: Bump to distinguish mainline tree from the
5451 gcc-2.95 branch.
5452
5453 See ChangeLog.1 for earlier changes.
5454
5455 Local Variables:
5456 add-log-time-format: current-time-string
5457 End:
This page took 0.279062 seconds and 6 git commands to generate.