1 2000-02-17 Jason Merrill <jason@casey.cygnus.com>
3 * bitmap.c (bitmap_operation): Don't leak bitmap elements.
5 2000-02-17 Mark Mitchell <mark@codesourcery.com>
7 * function.c (thread_prologue_and_epilogue_insns): Put a line note
10 2000-02-17 Nick Clifton <nickc@cygnus.com>
12 * config/arm/thumb.c: Replace includes of system headers with
15 2000-02-16 Richard Henderson <rth@cygnus.com>
17 * configure.in (alpha-linux*, alpha-netbsd) [extra_parts]:
18 Add crtbeginS.o and crtendS.o.
19 * alpha/elf.h (STARTFILE_SPEC): Use crtbeginS.o.
20 (ENDFILE_SPEC): Use crtendS.o.
21 * alpha/t-crtbe (crtbeginS.o, crtendS.o): New targets.
23 * alpha/crtbegin.asm (__do_frame_takedown): Merge into ...
24 (__do_global_dtors_aux): ... here. Call __cxa_finalize if
26 (__dso_handle): New variable.
27 * alpha/crtend.asm (__do_global_ctors_aux): Remove runtime
30 2000-02-16 Richard Henderson <rth@cygnus.com>
32 * Makefile.in (s-crtS, crtbeginS, crtendS): Prefix usage with $(T).
34 Wed Feb 16 21:40:04 2000 Hans-Peter Nilsson <hp@bitrange.com>
36 * longlong.h (__clz_tab): Declare as static to match definition.
38 2000-02-16 Mark Elbrecht <snowball3@bigfoot.com>
39 * i386/xm-djgpp.h (LIBSTDCXX): Delete. Moved to config/i386/djgpp.h.
40 (XREF_FILE_NAME): Define.
42 * i386/djgpp.h (DATA_SECTION_ASM_OP): Define.
43 (EH_FRAME_SECTION_ASM_OP): Define.
44 (IDENT_ASM_OP): Define.
45 (TEXT_SECTION_ASM_OP): Define.
47 (CTORS_SECTION_ASM_OP): Define.
48 (CTOR_SECTION_FUNCTION): Use it.
49 (DTORS_SECTION_ASM_OP): Define.
50 (DTOR_SECTION_FUNCTION): Use it.
52 2000-02-16 Zack Weinberg <zack@wolery.cumb.org>
54 * reg-stack.c (emit_swap_insn): Do not put a new insn before a
57 * flow.c (dump_regset, debug_regset, dump_bb, debug_bb,
58 debug_bb_n): New functions.
59 (dump_flow_info, print_rtl_with_bb): Use dump_regset.
60 * basic-block.h: Prototype new functions.
62 Wed Feb 16 21:07:53 2000 Denis Chertykov <denisc@overta.ru>
64 * configure.in: Add support for avr target.
67 * invoke.texi: Add AVR invocation docs.
68 * install.texi: Add information about AVR.
69 * md.texi: Add AVR constraint letters description.
70 * extend.texi: Add description for AVR specific attributes.
72 2000-02-16 Jason Merrill <jason@casey.cygnus.com>
74 * fixinc/fixinc.svr4: Wrap byteorder.h with extern "C".
76 2000-02-16 Nick Clifton <nickc@cygnus.com>
78 * emit-rtl.c (emit_insn): Move RTL check into make_insn_raw.
79 (make_insn_raw): Move RTL check here.
81 2000-02-16 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
83 * version.c: Include gansidecl.h and version.h.
85 * version.h: Wrap entire file in macro __GCC_VERSION_H__.
87 * configure.in (gcc_version): When setting, narrow search to
88 lines containing `version_string'.
90 * Makefile.in (mainversion): Likewise.
91 (GCC_H): New variable.
92 (gcc.h): Delete target.
93 (gcc.o, gccspec.o, cppspec.o): Depend on $(GCC_H), not gcc.h.
94 (version.o): Depend on version.h.
95 (dbxout.o): Don't depend on gcc.h.
97 Wed Feb 16 15:04:49 2000 Hans-Peter Nilsson <hp@bitrange.com>
98 Michael Meissner <meissner@cygnus.com>
100 * md.texi (Simple Constraints): Add item about whitespace.
101 * genoutput.c (strip_whitespace): New.
102 (scan_operands) [MATCH_OPERAND, MATCH_SCRATCH]: Call
103 strip_whitespace for constraints.
104 Test pointer using NULL, not 0.
106 2000-02-16 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
108 * cpplib.c (do_line): Pedwarn for #line > 32767.
110 * c-lex.c (readescape): Warn about '\x', but do not reject it.
112 2000-02-15 Jonathan Larmour <jlarmour@redhat.co.uk>
114 * gcc.c (default_compilers): Add new __GNUC_PATCHLEVEL__ define
116 (do_spec_1): Add support for %v3 spec used by __GNUC_PATCHLEVEL__.
117 * cpp.texi: Document __GNUC_PATCHLEVEL__.
120 * objc/lang-specs.h: Add new __GNUC_PATCHLEVEL__ define to
123 2000-02-15 Denis Chertykov <denisc@overta.ru>
125 * configure.in: Add support for avr target.
127 Wed Feb 16 03:21:43 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
129 * sh.h (OVERRIDE_OPTIONS): Don't set sh_addr_diff_vec_mode.
130 (sh_addr_diff_vec_mode): Don't declare.
131 * sh.c (sh_addr_diff_vec_mode): Delete.
133 Wed Feb 16 01:27:52 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
135 * sh.md (mulsi3_highpart): Add REG_EQUAL note to last insn.
137 Wed Feb 16 00:58:06 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
139 * sh.md (udivsi3_i1, divsi3_i1, umulhisi3_i, mulhisi3_i): Name.
140 (smulsi3_highpart_i): Name.
141 (udivsi3): Wrap emitted insns in REG_LIBCALL / REG_RETVAL notes.
142 (divsi3, mulhisi3, umulhisi3, mulsidi3, umulsidi3): Likewise.
143 (smulsi3_highpart, umulsi3_highpart): Likewise.
145 (mulsidi3_i, umulsidi3_i): Make rtl describe operation
146 correctly independent of endianness.
147 (mulsidi3, umulsidi3): Now define_insn. Hide details that
148 confuse the optimizers.
149 (mulsidi3+1, umulsidi3+1): New define_split.
151 Tue Feb 15 23:22:26 2000 Andrew Haley <aph@cygnus.com>
153 * config/sh/sh.md: Guard insn splits against illegal registers.
154 * config/sh/sh.h: Correct comment about macros.
156 Tue Feb 15 22:30:36 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
157 Andrew MacLeod <amacleod@cygnus.com>
159 * Makefile.in (lcm.o): Depend on insn-attr.h.
160 * basic-block.h (optimize_mode_switching): Declare.
161 * lcm.c (tm_p.h, insn-attr.h): #include.
162 (seginfo, bb_info): New structs.
163 (antic, transp, comp, delete, insert) : New file-scope static variables.
164 (new_seginfo, add_seginfo, make_preds_opaque, reg_dies): New functions.
165 (reg_becomes_live, optimize_mode_switching): Likewise.
166 * tm.texi: Add description of mode switching macros.
167 * toplev.c (rest_of_compilation): Call optimize_mode_switching.
169 * sh-protos.h (remove_dead_before_cse): Remove prototype.
170 (fldi_ok, fpscr_set_from_mem): New prototypes.
171 * sh.h (OPTIMIZATION_OPTION): Remove sh_flag_remove_dead_before_cse set.
172 (CONST_DOUBLE_OK_FOR_LETTER_P, SECONDARY_INPUT_RELOAD_CLASS):
173 Disable fldi for (TARGET_SH4 && ! TARGET_FMOVD).
174 (sh_flag_remove_dead_before_cse): Remove declaration.
175 (NUM_MODES_FOR_MODE_SWITCHING, OPTIMIZE_MODE_SWITCHING): New macros.
176 (MODE_USES_IN_EXIT_BLOCK, MODE_NEEDED, MODE_AT_ENTRY): Likewise.
177 (MODE_PRIORITY_TO_MODE, EMIT_MODE_SET): Likewise.
178 * sh.c (broken_move): Disable fldi for (TARGET_SH4 && ! TARGET_FMOVD).
179 (barrier_align): Allow for JUMP_INSNS containing a parallel.
180 (machine_dependent_reorg): Remove sh_flag_remove_dead_before_cse set.
181 (fldi_ok): New function.
182 (get_fpscr_rtx): Add fpscr_rtx as GC root.
183 (emit_sf_insn): Only generate fpu switches when optimize < 1.
184 (emit_df_insn): Likewise.
185 (expand_fp_branch, emit_fpscr_use, remove_dead_before_cse): Delete.
186 (sh_flag_remove_dead_before_cse): Delete.
187 (get_free_reg, fpscr_set_from_mem): New functions.
188 * sh.md (movdf, movsf): Remove no_new_pseudos code.
189 (return): Remove emit_fpscr_use / remove_dead_before_cse calls.
191 2000-02-15 Loren Rittle <ljrittle@acm.org>
193 * ginclude/stddef.h: Correct usage of _BSD_RUNE_T_ for FreeBSD.
195 2000-02-15 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
197 * Makefile.in (TREE_H, collect2.o, gcc.h, mips-tfile.o, cccp.o,
198 cpphash.o, cppinit.o, protoize.o, unprotoize.o): Depend on version.h.
200 * cccp.c: Include version.h and/or don't declare `version_string'.
201 * collect2.c: Likewise.
203 * arm/aof.h: Likewise.
204 * arm/coff.h: Likewise.
205 * arm/elf.h: Likewise.
206 * arm/pe.h: Likewise.
207 * arm/tcoff.h: Likewise.
208 * arm/telf.h: Likewise.
209 * arm/tpe.h: Likewise.
210 * arm/vxarm.h: Likewise.
211 * convex/convex.c: Likewise.
212 * i386/dgux.c: Likewise.
213 * i386/sun386.h: Likewise.
214 * m88k/m88k.c: Likewise.
215 * mcore/mcore-pe.h: Likewise.
216 * mips/mips.h: Likewise.
217 * romp/romp.h: Likewise.
219 * cpphash.c: Likewise.
220 * cppinit.c: Likewise.
221 * dwarf2out.c: Likewise.
222 * dwarfout.c: Likewise.
225 * mips-tfile.c: Likewise.
226 * protoize.c: Likewise.
227 * toplev.c: Likewise.
230 * version.c (version_string): Constify a char*.
232 * version.h: New file.
234 2000-02-14 Nick Clifton <nickc@cygnus.com>
236 * configure.in: Add mcore-elf and mcore-pe targets.
237 * configure: Regenerate.
239 * NEWS: Add note that MCore port has been contributed.
241 * invoke.texi: Document command line switches for MCore port.
242 * install.texi: Add MCore to list of supported targets.
244 2000-02-14 Geoff Keating <geoffk@cygnus.com>
246 * collect2.c (main) [COLLECT_EXPORT_LIST]: If we have frames,
247 then we will need to import the frame handling functions.
248 (scan_prog_file) [COLLECT_EXPORT_LIST]: We will also need
249 to import the frames themselves.
251 Mon Feb 14 13:31:01 2000 Stan Cox <scox@cygnus.com>
252 Jason Eckhardt <jle@cygnus.com>
254 * basic_block.h: Added prototype for reorder_basic_blocks.
255 * toplev.c: Changes to add -freorder-blocks and graph dump after
256 block reordering is done.
257 * flow.c (reorder_block_def): New structure for use during block
259 (REORDER_BLOCK_*): New macros to access members of above structure.
260 (skip_insns_between_block, get_common_dest, chain_reorder_blocks,
261 make_reorder_chain, fixup_reorder_chain, reorder_basic_blocks): New
262 functions for block reordering.
264 Mon Feb 14 11:24:44 2000 Hans-Peter Nilsson <hp@bitrange.com>
266 * gcc.texi (Passes): Fix typo.
267 * md.texi (Standard Names): Ditto.
268 * tm.texi (Storage Layout): Ditto.
270 2000-02-13 Zack Weinberg <zack@wolery.cumb.org>
272 * cpplib.c (do_define): Only free the old definition if it
275 2000-02-13 Neil Booth <NeilB@earthling.net>
277 * cppfiles.c (read_and_prescan): When emitting deferred
278 newlines, test speccase[] again instead of checking each
279 possible whitespace character in turn. When we encounter \r,
280 look behind for \n first, then ahead.
282 2000-02-13 Zack Weinberg <zack@wolery.cumb.org>
284 * cse.c (cse_altered): New internal flag.
285 (cse_insn): Set it if we changed an insn.
286 (cse_main): Clear cse_altered before each basic block.
287 Only garbage collect if cse_altered is true afterward.
289 Sun Feb 13 14:12:28 2000 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
291 * sparc/sol2.h (LIB_SPEC): Link -ldl if profiling.
293 Sun Feb 13 13:21:55 2000 Jeffrey A Law (law@cygnus.com)
295 * combine.c (simplify_comparison): Fix typo.
297 Sun Feb 13 12:57:52 2000 Neil Booth <NeilB@earthling.net>
299 * prefix.c (concat, lookup_key): Use xmalloc and xrealloc
302 2000-02-13 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
304 * flow.c (flow_loop_tree_node_add): Use better algorithm by passing
305 previously inserted node instead of root node. Caller changed.
307 2000-02-13 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
309 * basic-block.h (FLOW_LOOP_FIRST_BLOCK, FLOW_LOOP_LAST_BLOCK): Delete.
311 2000-02-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
313 * crtstuff.c (__do_global_ctors_aux, __reg_frame_ctor,
314 __dereg_frame_dtor): Add prototype argument.
316 * gthr-dce.h (__gthread_active_p, __gthread_once): Likewise.
318 * gthr-posix.h (__gthread_active_p, __gthread_once): Likewise.
320 * gthr-solaris.h (__gthread_active_p, __gthread_once): Likewise.
322 * gthr-vxworks.h (__gthread_once): Likewise.
324 * gthr-win32.h (__gthread_active_p, __gthread_once): Likewise.
326 Sat Feb 12 01:44:26 MET 2000 Jan Hubicka <jh@suse.cz>
328 * i386.c (ix86_emit_restore_regs_using_mov): Break out from ...
329 (ix86_expand_epilogue): ... here. Use mov instead of add to restore
330 stack pointer in functions w/o saved registers, output LEAVE more often
331 on TARGET_USE_LEAVE machines.
333 2000-02-07 Dmitri Makarov <dim@wrs.com> & Bernd Schmidt <bernds@redhat.com>
335 * config/arm/arm.c (arm_init_cumulative_args); New function:
336 Initlaise the CUMULATIE_ARGS strcuture for a function
338 (arm_function_arg): New function: Determine where to place a
339 function's argument. Also handles deciding the function's
341 (current_file_function_operand): New function: Return true if
342 the symbol is a function which has already been compiled.
343 (arm_is_long_call_p): New function: Return true if the
344 indicated function should be called via a long call.
345 (arm_valid_type_attribute_p): New function: Return true if the
346 attribute is a valid, arm specific, attribute.
347 (arm_comp_type_attribute): New function: Return true if the
348 two types have compatable, arm specific, attributes.
350 * config/arm/arm.h (CUMULATIVE_ARGS): Redefine to be a
352 (FUNCTION_ARG): Redefine to call arm_function_arg.
353 (FUNCTION_ARG_PARTIAL_NREGS): Redefine to use correct
355 (INIT_CUMULATIVE_ARGS): Redefine to call
356 arm_init_cumulative_args.
357 (FUNCTION_ARG_ADVANCE): Redefine to use correct structure
359 (SETUP_INCOMING_VARARGS): Redefine to use correct structure
361 (ARM_MARK_NEARBY_FUNCTION): New macro: Mark already compiled
363 (ENCODE_SECTION): Add call to ARM_MARK_NEARBY_FUNCTION.
364 (VALID_MACHINE_TYPE_ATTRIBUTE): Define.
365 (COMP_TYPE_ATTRIBUTES): Define.
367 * config/arm/arm.md (call): Call arm_is_long_call_p to decide
368 if a long call is needed.
369 (call_value): Call arm_is_long_call_p to decide if a long call
371 (call_symbol): Call arm_is_long_call_p to decide if a long call
374 * config/arm/arm-protos.h: Add prototype for arm_is_long_call_p.
376 2000-02-11 Denis Chertykov <denisc@overta.ru>
378 * README.AVR: New file with information about the avr ports.
379 * config/avr: New directory with avr port files.
381 2000-02-11 Andreas Jaeger <aj@suse.de>
383 * fixinc/Makefile.in (FIXINC_DEFS): Remove unneeded @fixinc_defs@.
385 2000-02-11 Zack Weinberg <zack@wolery.cumb.org>
387 * cpphash.c: Fix formatting, update commentary.
388 (dump_definition): Take three separate arguments instead of a
389 MACRODEF structure argument.
390 * cpphash.h: Update prototype of dump_definition.
391 * cppinit.c (cpp_finish): Update call of dump_definition.
393 * cpplib.c (do_define): Always create new hash entry with
394 T_MACRO type. Remove redundant check for redefinition of
395 poisoned identifier. Update call of dump_definition.
396 (do_undef): Don't call check_macro_name. Rename sym_length to
398 (do_error, do_warning): Don't use copy_rest_of_line or
400 (do_warning): Don't use pedwarn for the actual warning,
401 only the notice about its not being in the standard. (Fixes
402 bug with #warning in system headers.)
403 (do_ident): Stricter argument checking - accept only a single
404 string after #ident. Also, macro-expand the line.
405 (do_xifdef): Use cpp_defined. De-obfuscate.
407 (do_pragma): Split out specific pragma handling to separate
408 functions. Use get_directive_token. Update commentary. Do
409 not pass on #pragma once or #pragma poison to the front end.
410 (do_pragma_once, do_pragma_implementation, do_pragma_poison,
411 do_pragma_default): New.
413 Feb 11 12:30:53 2000 Jeffrey A Law (law@cygnus.com)
415 * jump.c (jump_optimize_1): The first operand in a relational
417 * optabs.c (emit_conditional_move): Handle relationals which
418 have a known true/false result.
420 2000-02-11 Geoff Keating <geoffk@cygnus.com>
422 * function.c (thread_prologue_and_epilogue_insns): Don't insert
423 a RETURN insn into a block which already ends with a jump.
425 2000-02-11 Geoff Keating <geoffk@cygnus.com>
427 * haifa-sched.c (BUF_LEN): Increase a lot.
429 2000-02-11 Nick Clifton <nickc@cygnus.com>
431 * configure.in: Add tm_p_file specification for thumb targets.
432 * configure: Regenerate.
434 * config/arm/thumb-protos.h: New file: Prototypes for exported
435 functions defined in thumb.c.
437 2000-02-11 Robert Lipe <robertl@sco.com>
439 * Makefile.in (bootstrap-lean): Remove additional files.
440 (bootstrap2-lean): Likewise.
441 (VOL_FILES): List of files for above.
443 2000-02-11 Nathan Sidwell <nathan@acm.org>
445 * cpphash.c (special_symbol): Remove spurious argument to
448 2000-02-11 Joel Sherrill (joel@OARcorp.com>
450 * configure.in: (i*86-*-rtems*): Swapped elf and coff
452 * configure: Rebuilt.
454 2000-02-11 Rodney Brown <RodneyBrown@pmsc.com>
456 * pa-protos.h: Wrap function_arg_padding in TREE_CODE #ifdef.
458 Fri Feb 11 02:59:05 2000 Jeffrey A Law (law@cygnus.com)
460 * pa.c, pa.h: Remove trigraph sequences within comments.
462 Fri Feb 11 02:51:56 2000 Pavel Roskin <pavel_roskin@geocities.com>
464 * invoke.texi (PPC Options): -mno-new-mnenomics -> -mold-mnemonics.
466 Fri Feb 11 02:48:30 2000 Brad Lucier (lucier@math.purdue.edu)
468 * sbitmap.h: Make SBITMAP_ELT_BITS unsigned.
470 2000-02-11 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
472 * config/c4x/c4x.c (fp_zero_operand): Check for CONST_DOUBLE.
474 2000-02-11 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
476 * config/c4x/c4x.h (ASM_GLOBALIZE_LABEL): Use c4x_global_label.
477 (ASM_OUTPUT_EXTERNAL): Use c4x_external_ref.
478 (ASM_OUTPUT_EXTERNAL_LIBCALL): Likewise.
479 (ASM_FILE_END): Use c4x_file_end.
480 * config/c4x/c4x.c (c4x_global_label): New function.
481 (c4x_external_ref, c4x_file_end): Likewise.
483 * config/c4x/c4x-protos.h (c4x_global_label): Add prototype.
484 (c4x_external_ref, c4x_end_file): Likewise.
486 2000-02-10 Zack Weinberg <zack@wolery.cumb.org>
488 * cppexp.c: Don't include cpphash.h.
489 (parse_charconst, cpp_lex): Use cpp_defined.
490 (cpp_lex): Use get_directive_token throughout. Remove
491 unnecessary cases from switch. Move assertion-handling code
493 (cpp_parse_expr): If we see '+' or '-', check the context to
494 determine if they are unary or binary operators. Streamline
495 the jumps a bit. Do not call skip_rest_of_line.
497 * cpplib.c: Make skip_rest_of_line and cpp_skip_hspace
498 static. Export get_directive_token. Update commentary.
499 (cpp_defined): New function.
500 (do_define): Remove reference to T_PCSTRING. Call
501 free_definition to release memory for old definition, when
503 (eval_if_expression): Set only_seen_white to 0 before calling
504 cpp_parse_expr. Call skip_rest_of_line after it returns.
505 (cpp_read_check_assertion): Don't preserve a pointer into the
506 token buffer across a call to cpp_get_token.
508 * Makefile.in (cppexp.o): Don't depend on cpphash.h.
509 * cppfiles.c (redundant_include_p): Use cpp_defined.
510 * cpphash.c (free_definition): New function.
511 (delete_macro): Use it. Update commentary.
512 * cpphash.h: Typedef HASHNODE here. Prototype cpp_lookup and
514 * cpplib.h: Don't typedef HASHNODE here. Delete T_PCSTRING
515 from enum node_type. Prototype cpp_defined and get_directive_token.
516 Don't prototype cpp_lookup, skip_rest_of_line, or cpp_skip_hspace.
518 * fix-header.c (check_macro_names): Use cpp_defined.
519 (read_scan_file): Set inhibit_warnings and inhibit_errors in
520 the options structure.
522 2000-02-10 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
524 * c-pragma.c (maximum_field_alignment): Remove duplicate declaration.
526 2000-02-10 Jason Merrill <jason@casey.cygnus.com>
528 * dwarf2out.c (add_abstract_origin_attribute): Check TREE_CODE (origin)
529 rather than die->die_tag.
531 Thu Feb 10 16:26:49 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
533 * combine.c (make_extraction, force_to_mode): Avoid warning on
534 mixed-signedness conditionals.
535 (make_field_assignment, nonzero_bits): Likewise.
536 * expmed.c (store_fixed_bit_field): ALIGN arg now unsigned.
537 (store_split_bit_field, extract_split_bit_field): Likewise.
538 (extract_fixed_bit_field, store_bit_field,
539 * expr.c: Change alignment to be unsigned everywhere.
540 (move_by_pieces, store_constructor_field, store_constructor):
541 Alignment parm is unsigned.
542 (emit_block_move, emit_group_load, emit_group_store): Likewise.
543 (clear_storage, emit_push_insn, compare_from_rtx): Likewise.
544 (do_compare_rtx_and_jump): Likewise.
545 (move_by_pieces_ninsns, clear_by_pieces): Likewise.
546 Compare align with GET_MODE_ALIGNMENT.
547 (expand_expr_unaligned): Pointer to alignment is pointer to unsigned.
548 (get_inner_reference): Likewise.
549 (copy_blkmode_from_reg, emit_push_insn): Remove unneeded casts.
550 (expand_assignment): Local vars for alignment now unsigned.
551 (store_constructor, store_field, expand_expr, do_jump): Likewise.
552 (do_compare_and_jump): Likewise.
553 (store_field): Call new function expr_align.
554 * expr.h (emit_block_move, emit_group_load, emit_group_store):
555 Alignment arg now unsigned.
556 (clear_storage, emit_push_insn, compare_from_rtx): Likewise.
557 (do_compare_rtx_and_jump, store_bit_field): Likewise.
558 (extract_bit_field): Likewise.
559 * fold-const.c (add_double): Add cast to eliminate signedness warning.
560 * machmode.h (GET_MODE_ALIGNMENT): Result is unsigned.
561 (get_best_mode): Alignment arg is unsigned.
562 * rtl.h (move_by_pieces): Likewise.
563 * store-layout.c (maximum_field_alignment, set_alignment):
565 (layout_decl): Alignment arg is now unsigned.
566 Remove unneeded casts.
567 (layout_record, layout_union, layout_type): Remove unneeded casts.
568 Local alignment variables now unsigned.
569 (get_best_mode): Alignment arg now unsigned.
570 * tree.c (expr_align): New function.
571 * tree.h (expr_align): Likewise.
572 (maximum_field_alignment, set_alignment): Now unsigned.
573 (get_inner_reference): Alignment argument is now pointer to unsigned.
574 * varasm.c (assemble_variable): Add cast to eliminate warning.
576 Thu Feb 10 12:56:47 2000 Jim Wilson <wilson@cygnus.com>
578 * expmed.c (store_bit_field): If op0 and fieldmode are the same size,
579 then store directly into op0.
581 * calls.c (expand_call): When emitting a NOTE_INSN_SETJMP, search for
582 the CALL_INSN, and emit the note immediately after it.
584 2000-02-10 Nick Clifton <nickc@cygnus.com>
586 * config/arm/thumb.md (epilogue): Include a (return) in the
587 generated insn, and emit it using emit_jump_insn not
590 Thu Feb 10 18:28:59 MET 2000 Jan Hubicka <jh@suse.cz>
592 * function.c (assign_temp): Change zero-sized arrays to size 1.
593 * integrate.c (expand_inline_function): Do not update
594 stack_alignment_needed
595 * i386.c (compute_frame_size): Remove #ifdef PREFERRED_FRAME_BOUNDARY,
596 add some sanity checking, remove optimization for function with
599 2000-02-10 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
601 * flow.c (mark_regs_live_at_end): Delete unused variables.
603 * ggc-page.c (ggc_page_print_statistics): bzero -> memset.
605 * integrate.c (copy_rtx_and_substitute): Wrap variable `alignment'
606 in macro FRAME_GROWS_DOWNWARD.
608 * stmt.c (expand_end_bindings): Delete unused variable.
610 * unroll.c (iteration_info): Mark parameter `loop' with
613 2000-02-10 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
615 * fixinc/server.c (load_data): Return NULL if the marker line is
617 (run_shell): If load_data returns NULL, retry the command once, in
620 * configure: Rebuilt.
622 2000-02-09 Bruce Korb <bkorb@gnu.org>
624 * gcc/fixincludes: ** DELETED **
625 * gcc/fixcpp: ** DELETED **
626 * gcc/fixinc-nt.sed: ** DELETED **
627 * gcc/just-fixinc: ** DELETED **
628 * gcc/Makefile.in: Removed out-dated commentary
629 * gcc/configure.in: Removed fast-fixincludes disablement.
630 * MAINTAINERS(Ian Taylor) moved to "Write after approval" group.
632 2000-02-09 Clinton Popetz <cpopetz@cygnus.com>
633 * function.c (thread_prologue_and_epilogue_insns): Uncomment
636 2000-02-09 Richard Henderson <rth@cygnus.com>
638 * jump.c (delete_insn): Don't delete user labels at -O0.
640 2000-02-09 Robert Lipe <robertl@sco.com>
642 * Makefile.in (gen-protos): Don't depend on HOST_LIBDEPS.
643 Don't link with HOST_LIBS.
645 2000-02-09 Zack Weinberg <zack@wolery.cumb.org>
647 * configure.in: Correct --help text for --with-dwarf2.
648 Put tm-dwarf2.h after other tm files, if it's requested.
649 * configure: Regenerate.
650 * config/tm-dwarf2.h: #undef PREFERRED_DEBUGGING_TYPE before
653 2000-02-09 Zack Weinberg <zack@wolery.cumb.org>
655 * cpplib.h: Provide HASHNODE typedef and forward decl of
656 struct hashnode only. Kill cpp_hashnode typedef. MACRODEF,
657 DEFINITION, struct hashnode, struct macrodef, struct
658 definition, scan_decls prototype, default defn of
659 INCLUDE_LEN_FUDGE moved elsewhere.
661 * cpphash.h: MACRODEF, DEFINITION, struct macrodef, struct
662 definition, and struct hashnode moved here. Remove the unused
663 'predefined' field from struct definition. Replace the 'args'
664 union with its sole member. All users updated (cpphash.c).
665 Delete HASHSTEP and MAKE_POS macros, and hashf prototype. Add
666 multiple include guard.
668 * cpphash.c (hashf): Make static; use better algorithm; drop
669 HASHSIZE parameter; return an unsigned int.
670 (cpp_lookup): Drop HASH parameter. PFILE parameter is
671 used. Calculate HASHSIZE modulus here.
672 (cpp_install): Drop HASH parameter. Calculate HASHSIZE modulus
674 (create_definition): Drop PREDEFINITION parameter.
675 * cpplib.c (do_define): Don't calculate a hash value here.
676 Don't pass (keyword == NULL) to create_definition.
678 * scan.h: Prototype scan_decls here.
679 * cppfiles.c: Move INCLUDE_LEN_FUDGE default defn here.
680 * cppexp.c, cppfiles.c, cppinit.c, cpplib.c, fix-header.c: All
681 callers of cpp_lookup and cpp_install updated.
683 * cpphash.c (macarg): Hoist all the flag diddling out of the
685 (macroexpand): ... and out of the loop that calls macarg.
686 Skip over the initial paren before macro arguments with
687 cpp_get_non_space_token; point may be some distance before
688 that paren. Abort if it's not there.
690 * cpplib.c (parse_clear_mark): Delete function.
691 (parse_set_mark, parse_goto_mark): Make static.
692 (ACTIVE_MARK_P): New macro.
693 (skip_block_comment, skip_line_comment): Do not bump the line
694 if ACTIVE_MARK_P is true.
695 (cpp_pop_buffer): The buffer to be popped may not have an
697 (cpp_get_token): When looking for the initial paren before
698 macro arguments, only set a mark in a file buffer, Always
699 return to that mark before proceeding to call macroexpand or
702 * cpplib.h: Remove prototypes of parse_set_mark,
703 parse_clear_mark, parse_goto_mark.
704 (struct cpp_options): Rename 'put_out_comments' to
705 'discard_comments' and invert its sense.
706 * cppinit.c, cpphash.c, cpplib.c: All users of
707 put_out_comments changed to use discard_comments, with
710 2000-02-09 Clinton Popetz <cpopetz@cygnus.com>
712 * function.c (thread_prologue_and_epilogue_insns): Don't delete
713 the edge from a block that both jumps and falls through to the
716 2000-02-09 Scott Bambrough <scottb@netwinder.org>
718 * config/arm/arm.md (movsi): In PIC mode, make sure that a
719 constant source address is legitimate.
721 2000-02-09 Philip Blundell <pb@futuretv.com>
723 * config/arm/arm.c (legitimize_pic_address): Handle LABEL_REF
726 * config/arm/arm.h (LEGITIMATE_CONSTANT_P): Allow anything when
728 (LEGITIMATE_PIC_OPERAND): Disallow references to labels.
730 2000-02-09 Zack Weinberg <zack@wolery.cumb.org>
732 * cpplib.c (cpp_define, cpp_undef): Make sure the stacked buffer
733 ends with a newline and a NUL. Don't be so clever manipulating
736 Wed Feb 9 14:18:08 MET 2000 Jan Hubicka <jh@suse.cz>
738 * reload1.c (reload) Align stack frame to cfun->stack_alignment_needed,
739 not to BIGGEST_ALIGNMENT.
741 2000-02-08 Geoff Keating <geoffk@cygnus.com>
743 * dwarf2.h (DW_CFA_GNU_negative_offset_extended): New constant.
744 * dwarf2out.c (dwarf_cfi_name): Print name of new constant.
745 (reg_save): Use DW_CFA_GNU_negative_offset_extended when needed.
746 (output_cfi): Handle output of DW_CFA_GNU_negative_offset_extended.
747 * frame.c (execute_cfa_insn): Handle
748 DW_CFA_GNU_negative_offset_extended.
750 2000-02-08 Richard Henderson <rth@cygnus.com>
752 * flow.c (tidy_fallthru_edges): Split out from ...
753 (delete_unreachable_blocks): ... here.
754 (find_basic_blocks): Use it.
756 Tue Feb 8 15:51:50 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
758 * stmt.c (expand_decl): Do set RTX_UNCHANGING_P for TREE_READONLY.
760 2000-02-08 Zack Weinberg <zack@wolery.cumb.org>
762 * Makefile.in (GEN_PROTOS_OBJS): Remove libcpp.a.
763 (gen_protos.o): Don't depend on cpplib.h or cpphash.h.
764 (fix-header.o): Don't depend on cpphash.h.
766 * scan.c (hashstr): New function.
767 * scan.h: Prototype it.
768 * fix-header.c: Don't include cpphash.h. Use hashstr.
769 * gen-protos.c: Don't include cpphash.h or cpplib.h. Use
770 hashstr. Report hash table statistics. Add private
771 definition of xrealloc.
773 2000-02-08 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
775 * i386.h (TARGET_SWITCHES): Fix typo in option name.
777 2000-02-08 Clinton Popetz <cpopetz@cygnus.com>
779 * function.c (thread_prologue_and_epilogue_insns): Don't replace
780 jumps with returns unless they are jumps to the fallthru block.
782 Tue Feb 8 07:53:55 2000 Jan Hubicka <jh@suse.cz>
784 * i386.md (addqi3_cc): Fix contraints.
786 Tue Feb 8 01:39:45 2000 Hans-Peter Nilsson <hp@bitrange.com>
788 * function.c (emit_return_into_block): Wrap in #ifdef HAVE_return.
790 2000-02-07 Mark Mitchell <mark@codesourcery.com>
792 * cpplib.c (cpp_get_token): Call CPP_BUMP_LINE after reading a
793 carriage return after a macro name.
795 2000-02-07 Fred Fish <fnf@be.com>
797 * i386/beos-elf.h: (ASM_IDENTIFY_GCC): Define to nothing
798 so the gcc2_compiled symbol doesn't confuse BeOS debuggers.
800 2000-02-07 Zack Weinberg <zack@wolery.cumb.org>
802 * cppfiles.c (deps_output): Count spacers in deps_column.
804 2000-02-07 Neil Booth <NeilB@earthling.net>
806 * cppinit.c (initialize_dependency_output): If there is no
807 suffix, don't try to look for known suffixes. Use strrchr.
808 (cpp_start_read): Remove duplicate initialization.
810 Mon Feb 7 18:36:41 MET 2000 Jan Hubicka <jh@suse.cz>
812 * calls.c (compute_argument_block_size): New argument
813 preferred_stack_boundary.
814 (expand_call): update cfun->preferred_stack_boundary, update call of
815 compute_argument_block_size
816 (emit_library_call): Increate cfun->preferred_stack_boundary
817 to PREFERRED_STACK_BOUNDARY
818 (emit_library_call_value): Likewise.
819 * explow.c (allocate_dynamic_stack_spave): Likewise.
820 * function.c (prepare_function_start): Set
821 cfun->preferred_stack_boundary
822 * function.h (struct function): Add preferred_stack_boundary field.
823 * integrate.c (expand_inline_function): Update
824 cfun->preferred_stack_boundary and cfun->stack_alignment_needed.
825 (copy_rtx_and_substitute): Align frame to stack_alignment_needed only.
826 * i386.c (compute_frame_size): Use cfun->preferred_stack_boundary.
828 2000-02-06 Zack Weinberg <zack@wolery.cumb.org>
830 * cpplib.c (my_strerror, cpp_error, cpp_error_with_line,
831 cpp_error_from_errno, cpp_warning, cpp_warning_with_line,
832 cpp_pedwarn, cpp_pedwarn_with_line,
833 cpp_pedwarn_with_file_and_line): Move to cpperror.c.
834 (cpp_print_file_and_line, v_cpp_error, v_cpp_warning,
835 v_cpp_error_with_line, v_cpp_warning_with_line,
836 cpp_message_from_errno, cpp_perror_with_name): Delete.
838 * cpperror.c (cpp_print_containing_files): Take starting
840 (cpp_file_line_for_message): Rename to cpp_print_file_and_line.
841 (v_cpp_message): Now called directly by all entry points.
843 (cpp_pfatal_with_name, cpp_message): Delete.
844 (cpp_notice_from_errno, cpp_ice): New functions.
845 (cpp_notice): Is now for reporting error conditions, just
846 without an associated file.
847 (cpp_error, cpp_error_with_line): Don't do anything if
848 opts->inhibit_errors is on.
849 (cpp_pedwarn_with_file_and_line): Take column argument also.
851 * cpplib.h: Update prototypes of exported functions.
852 (struct cpp_options): Add inhibit_errors.
854 * cppalloc.c, cppfiles.c: Use fprintf not cpp_notice for
855 non-error messages. Include intl.h.
857 * cppinit.c, cppmain.c: Likewise. Also, use
858 cpp_notice_from_errno instead of cpp_perror_with_name or
859 cpp_pfatal_with_name, and cpp_notice instead of cpp_message.
861 * cppexp.c, cpphash.c, cppinit.c, cpplib.c: Use cpp_ice to
862 report internal errors.
864 * cpplib.c (do_define): Switch bcopy to memcpy.
865 Give cpp_pedwarn_with_file_and_line a dummy column argument.
867 * cpplib.c (copy_rest_of_line): Revert previous change: don't
868 bail out early if we hit a line comment.
870 2000-02-06 Richard Henderson <rth@cygnus.com>
872 * flow.c (flow_delete_insn, make_edge, remove_edge): Export.
873 * basic-block.h: Declare them.
874 * emit-rtl.h (active_insn_p): New.
875 (next_active_insn, prev_active_insn): Use it.
877 * function.c (emit_return_into_block): New.
878 (thread_prologue_and_epilogue_insns): Insert return insns instead
879 of epilogues when possible.
880 * jump.c (jump_optimize_1): Remove code to insert a return insn
881 on the fallthru to the exit block.
883 * i386.c (ix86_can_use_return_insn_p): Fail for large poped args
884 and for non-empty stack frames.
885 * i386.md (return): Expand to return-pop as needed.
887 2000-02-06 Richard Henderson <rth@cygnus.com>
889 * simplify-rtx.c (simplify_relational_operation): Canonicalize
890 constant to op1 for testing.
892 2000-02-06 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
894 * config/c4x/c4x.md (*ldi_on_overflow): New pattern.
895 (fixuns_truncqfqi2): Use it.
897 2000-02-06 Richard Henderson <rth@cygnus.com>
899 * i386.c (ix86_agi_dependant): Handle pro_epilogue_adjust_stack
902 * i386.md (widening and peepholes): Mask the constant instead of
905 2000-02-05 Zack Weinberg <zack@wolery.cumb.org>
907 * cppfiles.c (read_and_prescan) [case SPECCASE_QUESTION]: Bump
908 input pointer before possibly branching off to the backslash
910 * cpphash.c (macroexpand): Correctly delete \r escapes when
911 stringifying parameters.
912 * cpplib.c (copy_rest_of_line): Go directly to skip_block_comment
913 if we can; bail out early if we hit a line comment.
914 (handle_directive): Treat '# 123' in an .S file just like
915 '# <punctuation>'. Discard the shifted '#' if we hit '#\n'.
916 Return 1 for '# not_a_directive'.
917 (get_directive_token): Pop macro buffers here, so that
918 cpp_get_token can't sneakily move past a newline.
920 (cpp_get_token): goto randomchar if handle_directive returns 0.
922 * cppalloc.c: Update copyright.
923 * cpplib.c: Merge all the static function prototypes into one
925 * cpplib.h: Remove #if 0 block.
927 * cpperror.c: Remove #ifdef EMACS block.
928 * cppmain.c: Likewise.
929 * cpphash.c: Remove #if 0 blocks.
930 * cppinit.c: Remove #if 0 blocks, and the -lint option.
931 * cpplib.c: Remove #if 0 blocks and code referencing
932 pcp_inside_if or for_lint. Remove duplicate error message.
933 Fix error messages for #else after #else or #elif. Reformat.
934 Remove archaic TODO list.
935 * cpplib.h: Remove pcp_inside_if and for_lint flags.
937 2000-02-05 Zack Weinberg <zack@wolery.cumb.org>
939 * i386/osf1elf.h: Add missing backslash to multiline string.
941 2000-02-05 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
943 * longlong.h [sparc] (udiv_qrnnd): Avoid stringifying macro arg.
945 2000-02-05 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
947 * Makefile.in (c-common.o): Depend on $(EXPR_H).
949 * c-common.c: Include expr.h.
951 * c-pragma.c (mark_align_stack): Add prototype.
953 * caller-save.c (add_stored_regs): Likewise.
955 * combine.c (record_promoted_value): Likewise.
957 * i386.c (ix86_sched_reorder_pentium, ix86_sched_reorder_ppro):
960 * cppinit.c (new_pending_define): Likewise.
962 * cpplib.c (skip_block_comment, skip_line_comment): Likewise.
964 * dwarf2out.c (save_rtx, splice_child_die, reverse_die_lists,
965 AT_class, AT_flag, AT_int, AT_unsigned, AT_string, AT_ref, AT_loc,
966 AT_addr, AT_lbl, get_AT_ref, free_AT, free_die, local_scope_p,
967 class_scope_p): Likewise.
969 * dwarf2out.h (dwarf2out_set_demangle_name_func,
970 dwarf2out_add_library_unit_info): Likewise.
972 * ggc.h (ggc_page_print_statistics): Likewise.
974 * haifa-sched.c (propagate_deps): Likewise.
976 * reg-stack.c (next_flags_user, record_label_references): Likewise.
978 * rtl.h (set_stack_check_libfunc): Likewise.
980 * toplev.h (set_fatal_function): Likewise.
982 * toplev.c (set_fatal_function): Delete prototype.
984 * diagnostic.c: Deconstify functions returning malloc'ed ptrs.
986 2000-02-05 Geoff Keating <geoffk@cygnus.com>
988 * ginclude/ppc-asm.h (FUNC_START): Use USER_LABEL_PREFIX.
989 (FUNC_END): Likewise.
991 2000-02-05 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
993 * caller-save.c: Include tm_p.h.
995 2000-02-05 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
997 * Makefile.in (libgcc.a): Add $(LIBGCC1) to libgcc.a after $(LIBGCC2).
999 2000-02-04 Neil Booth <NeilB@earthling.net>
1001 * cccp.c (main): Check 'dir' for a NULL pointer before passing
1004 2000-02-04 Zack Weinberg <zack@wolery.cumb.org>
1006 * recog.h: Remove NO_MD_PROTOTYPES ifdefs.
1007 * genflags.c: Use the max_operand_1 logic from genemit.c to
1008 calculate how many arguments gen_insn prototypes have. Remove
1009 NO_MD_PROTOTYPES ifdefs from the generated file.
1010 * genoutput.c: Don't define NO_MD_PROTOTYPES in the generated
1011 file. Cast gen_insn initializers to insn_gen_fn.
1012 * config/alpha/vms.h: Don't define NO_MD_PROTOTYPES.
1013 * gcc.texi: Remove documentation of NO_MD_PROTOTYPES.
1015 2000-02-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1017 * fixinc/Makefile.in (HDR): Add machname.h.
1020 2000-02-05 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
1022 * config/c4x/c4x.h (c4x_compare_op0, c4x_compare_op1): Move ...
1023 (c4x_regclass_map, c4x_caller_save_map, c4x_rpts_cycles): Ditto.
1024 (c4x_cpu_version): Ditto.
1025 * config/c4x/c4x-protos.h: ... here.
1027 2000-02-04 Jason Merrill <jason@casey.cygnus.com>
1029 * dwarf2out.c (add_abstract_origin_attribute): Don't call
1030 gen_abstract_function on our context if we're a nested function.
1032 2000-02-05 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
1034 * config/c4x/c4x.md (fixuns_truncqfqi2): Rewrite.
1035 * config/c4x/libgcc.S (ufix_truncqfhi2n): Fix.
1037 2000-02-04 Bruce Korb <bkorb@gnu.org>
1039 * fixinc/genfixes(machname.h):
1040 Move the functionality from gen-machine.h into this file.
1041 UNdef MN_NAME_PAT if there are no names to change.
1042 Also, be a little kinder when AutoGen is not present.
1044 * fixinc/Makefile.in(machname.h):
1045 Change the generation rule to use genfixes.
1047 * fixinc/fixfixes.c(machine_name):
1048 machine_name_fix's functionality now dependent upon whether
1049 MN_NAME_PAT is defined.
1051 * fixinc/fixtests.c(machine_name):
1054 * fixinc/fixlib.c(mn_get_regexps): conditional on definition
1057 * fixinc/fixlib.h(mn_get_regexps):
1060 * fixinc/gen-machine.h: DELETED
1062 2000-02-04 Jan Hubicka <jh@suse.cz>
1063 Richard Henderson <rth@cygnus.com>
1065 * i386.c (SAVE_REGS_FIRST): Remove.
1066 (ix86_initial_elimination_offset): Handle only SAVE_REGS_FIRST mode.
1067 (ix86_compute_frame_size): Likewise.
1068 (ix86_expand_prologue): Likewise. Use pro_epilogue_adjust_stack.
1069 (ix86_emit_restore_regs): Remove.
1070 (ix86_emit_epilogue_esp_adjustment): Use pro_epilogue_adjust_stack
1071 when a frame pointer is in use.
1072 (ix86_expand_epilogue): Handle only SAVE_REGS_FIRST mode. Use mov
1073 instead of pop to restore a register when profitable; emit leave
1075 (ix86_attr_length_default): Handle pro_epilogue_adjust_stack
1077 (ix86_adjust_cost): Handle pro_epilogue_adjust_stack as TYPE_ALU.
1078 * i386.md (prologue_allocate_stack): Remove.
1079 (epilogue_deallocate_stack): Remove.
1080 (pro_epilogue_adjust_stack): New.
1082 2000-02-04 Richard Henderson <rth@cygnus.com>
1084 * function.c (diddle_return_value): Rework to use a callback function.
1085 Use current_function_return_rtx if it's been set up.
1086 (do_clobber_return_reg, clobber_return_register): New.
1087 (do_use_return_reg, use_return_register): New.
1088 (expand_function_end): Use them.
1089 * stmt.c (expand_null_return): Likewise.
1090 * function.h: Declare them.
1091 * flow.c (mark_regs_live_at_end): Use diddle_return_value.
1092 (mark_reg): Change arguments as appropriate for callback.
1093 * integrate.c (expand_inline_function): Revert 19 Jan change.
1095 Fri Feb 4 20:25:42 2000 Hans-Peter Nilsson <hp@bitrange.com>
1097 * tm.texi (Values in Registers): Fix typo: "fo" "for".
1098 (Misc): Say the scheduler, not the Haifa scheduler.
1100 2000-02-04 Clinton Popetz <cpopetz@cygnus.com>
1102 * jump.c (mark_jump_label): Add in_mem param, check SYMBOL_REFs
1103 when in_mem is set. Update all callers.
1105 2000-02-04 Richard Henderson <rth@cygnus.com>
1107 * i386/openbsd.h (INT_ASM_OP): Define.
1109 Fri Feb 4 10:51:30 2000 Hans-Peter Nilsson <hp@bitrange.com>
1111 * tm.texi: Fix various typos.
1113 Thu Feb 3 17:17:32 2000 Steve Ellcey <sje@cup.hp.com>
1115 * config/pa/pa-hpux11.h (LIB_SPEC): Correct typo in !p case.
1116 (MD_STARTFILE_PREFIX_1): New macro.
1118 Thu Feb 3 15:08:13 MET 2000 Jan Hubicka <jh@suse.cz>
1120 * i386.md (movstrsi, clrstrsi): Support variable sized copies, align
1121 destination when needed.
1122 (strmovsi, strsetsi): New expander.
1123 (strmovsi_1, strsetsi_1): New pattern.
1124 * i386.h (MASK_NO_ALIGN_STROP, MASK_INLINE_ALL_STROP,
1125 TARGET_ALIGN_STRINGOPS, TARGET_INLINE_ALL_STRINGOPS): New macros.
1126 (TARGET_SWITCHES) Add align-stringops and inline-all-stringops.
1127 * invoke.texi (align-stringops, inline-all-stringops): Document.
1129 Wed Feb 2 23:04:47 2000 Krister Walfridsson <cato@df.lth.se>
1131 * i386/netbsd.h (INT_ASM_OP): Define.
1133 2000-02-02 Zack Weinberg <zack@wolery.cumb.org>
1135 * cpplib.h (cpp_reader): Add new flag, no_directives.
1136 * cpphash.c (macarg): Set it.
1137 * cpplib.c (handle_directive): If no_directives is on and we
1138 find a directive, issue an error and discard the line.
1140 Wed Feb 2 13:07:10 2000 Jim Wilson <wilson@cygnus.com>
1142 * config/sparc/sparc.h (PREFERRED_RELOAD_CLASS): Delete 'E' check for
1143 FP constants. Add ! TARGET_FPU check for FP constants.
1145 2000-02-02 Clinton Popetz <cpopetz@cygnus.com>
1147 * flow.c (find_basic_blocks): Don't kill label_value_list
1149 (cleanup_cfg): Kill it here.
1151 Wed Feb 2 08:12:30 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1153 * expr.c (store_field): Ensure ALIGN is no stricter than the
1156 2000-02-02 Richard Henderson <rth@cygnus.com>
1158 * jump.c (delete_insn): Partially revert 19 Jan change;
1159 don't convert unused code labels to notes at -O0.
1161 2000-02-02 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
1163 * toplev.c (rest_of_compilation): Run rebuild_jump_labels after
1164 split_all_insns to recreate REG_LABEL notes for flow2 pass.
1166 2000-02-01 Richard Henderson <rth@cygnus.com>
1168 * i386.c (general_no_elim_operand): New.
1169 (nonmemory_no_elim_operand): New.
1170 (ix86_expand_move): Copy eliminable operands before a push.
1171 * i386-protos.h: Declare new functions.
1172 * i386.h (CAN_ELIMINATE): Simplify.
1173 (PREDICATE_CODES): Update.
1174 * i386.md (push insns): Don't allow eliminable register operands.
1176 2000-02-01 Richard Henderson <rth@cygnus.com>
1178 * flow.c (mark_regs_live_at_end): Follow expand_function_end and
1179 replace BLKmode with DECL_RTL's mode.
1181 2000-02-01 Zack Weinberg <zack@wolery.cumb.org>
1183 * frame.c (find_fde): Convert for loop to do-while so compiler
1184 sees it's always executed at least once.
1185 * libgcc2.c (BBINBUFSIZE): Kill.
1186 (__bb_init_prg): Use fgets.
1187 (__bb_exit_trace_func): Don't paste strings.
1188 * unroll.c (unroll_loop): Initialize unroll_type, not
1189 unroll_number, and tweak logic to match.
1191 * i386.c (ix86_expand_int_movcc): Add explicit 'return 0' in
1193 (ix86_flags_dependant): Likewise. Disentangle control flow.
1194 (ix86_sched_reorder): Break guts out to
1195 ix86_sched_reorder_pentium and ix86_sched_reorder_ppro.
1196 (ix86_sched_reorder_ppro): Initialize pair2 and insnp before
1199 * i386.h (MACHINE_STATE_SAVE, MACHINE_STATE_RESTORE): Don't
1200 use string concatenation. Don't save and restore esi.
1202 * fixinc/Makefile.in (fixincl.sh): Don't depend on inclhack.def.
1203 (machname.h): Remove script to separate file. Use two-step
1204 sequence so target is not created if script fails.
1205 * fixinc/gen-machname.h: New file. Handle case where no non-reserved
1206 identifiers are defined.
1207 * fixinc/fixlib.c (mn_get_regexps): Return a flag: if MN_NAME_PAT is
1208 an empty string, machine_name doesn't need to do anything at
1210 (is_cxx_header): Add more cases to regexp.
1211 * fixinc/fixlib.h: Update prototype.
1212 * fixinc/fixtests.c, fixinc/fixfixes.c: Update callers of
1214 * fixinc/fixincl.c: Define NO_BOGOSITY.
1216 * fixinc/inclhack.def (no_double_slash, else_endif_label): Ifdef out.
1217 (hp_sysfile): Add missing comma.
1218 (math_exception): Put the wrapper ifdefs at the beginning and
1219 the end of the file.
1220 * fixinc/fixincl.x, fixinc/inclhack.sh: Regenerate.
1222 2000-02-01 Richard Henderson <rth@cygnus.com>
1224 * sparc.c (fp_zero_operand): Turn into a normal predicate.
1225 Use CONST0_RTX. Update all callers.
1226 * sparc.h, sparc-protos.h: Update accordingly.
1227 * sparc.md (fp mov insns): Use fp_zero_operand directly
1230 Wed Feb 2 02:59:45 2000 Hans-Peter Nilsson <hp@bitrange.com>
1232 * tm.texi (Values in Registers): Fix typo in HARD_REGNO_NREGS
1235 2000-02-01 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1237 * Makefile.in (specs.ready): New target.
1238 (fixinc.sh): Depend on `specs.ready' instead of `specs'.
1240 2000-02-01 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1242 * fixinc.irix: Use unique filenames for writing into /tmp,
1243 * fixinc.ptx: Likewise.
1244 * fixinc.sco: Likewise.
1245 * fixinc.svr4: Likewise.
1246 * fixinc.winnt: Likewise.
1248 2000-02-01 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1250 * tsystem.h: New file.
1252 * Makefile.in (libgcc2.a, stmp-multilib, crtbegin.o, crtend.o,
1253 s-crtS): Depend on tsystem.h.
1255 * crtstuff.c: Include tsystem.h.
1256 * frame.c: Likewise.
1257 * libgcc2.c: Likewise.
1259 Tue Feb 1 19:53:27 CET 2000 Jan Hubicka <jh@suse.cz>
1261 * builtins.c (expand_builtin_memset): Expand for variable sized
1264 2000-02-01 David Billinghurst <David.Billinghurst@riotinto.com.au>
1266 * config/mips/iris6.h (SUBTARGET_ASM_SPEC) : Default ISA based
1269 Tue Feb 1 00:57:40 2000 Hans-Peter Nilsson <hp@bitrange.com>
1271 * dwarfout.c (SHORT_TYPE_SIZE): Correct default.
1273 * tm.texi (Type Layout): Correct entry for CHAR_TYPE_SIZE.
1275 2000-01-31 Chandra Chavva <cchavva@cygnus.com>
1277 * combine.c (try_combine) [HAVE_cc0]: Trying to check the missed
1278 case 3->2 combining (combining with splitting) in which 2 is CC0
1279 setter/user and 3 is user. The rest of cases 2->1 and 3->2 are
1280 checked at the begining of the function with the aid of calling
1281 function 'can_combine_p'.
1283 2000-01-31 Dave Brolley <brolley@redhat.com>
1285 * cccp.c (struct argdata): Redeclare 'newlines' field as 'int'.
1287 2000-01-31 Jason Merrill <jason@casey.cygnus.com>
1289 * jump.c (redirect_jump): Move a NOTE_INSN_FUNCTION_END to the
1292 2000-01-31 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1294 * gansidecl.h (PROTO, VPROTO, PVPROTO): Delete macros.
1296 * sbitmap.h (sbitmap_first_set_bit, sbitmap_last_set_bit):
1299 2000-01-30 Zack Weinberg <zack@wolery.cumb.org>
1301 * i386/386bsd.h, i386/beos-pe.h, i386/bsd386.h, i386/crtdll.h,
1302 i386/cygwin.h, i386/dgux.h, i386/djgpp-rtems.h, i386/djgpp.h,
1303 i386/freebsd.h, i386/gnu.h, i386/i386-aout.h, i386/i386-coff.h,
1304 i386/i386-interix.h, i386/i386elf.h, i386/linux.h, i386/lynx-ng.h,
1305 i386/lynx.h, i386/mach.h, i386/mingw32.h, i386/moss.h,
1306 i386/netbsd.h, i386/next.h, i386/openbsd.h, i386/osf1elf.h,
1307 i386/ptx4-i.h, i386/rtems.h, i386/rtemself.h, i386/sco.h,
1308 i386/sequent.h, i386/sun.h, i386/sysv4.h, i386/uwin.h, i386/vsta.h,
1309 i386/vxi386.h, i386/win-nt.h, i386/win32.h:
1310 Remove -Di386 -Acpu(i386) -Amachine(i386) from CPP_PREDEFINES.
1312 * i386/osf1elf.h, i386/scodbx.h, i386/seq-sysv3.h, i386/sysv5.h:
1313 Add %(cpp_cpu) to CPP_SPEC.
1315 * i386/osf1elf.h, i386/osfelf.h, i386/osfrose.h:
1316 Add %(cc1_cpu) to CC1_SPEC.
1318 2000-01-28 Ulrich Drepper <drepper@redhat.com>
1320 * c-decl.c (c_decode_option): Accept optional numeric argument to
1321 -Wformat and set warn_format.
1322 * c-common.c: Don't emit warning about non-constant printf format
1323 string unless warn_format > 1.
1325 2000-01-30 Richard Henderson <rth@cygnus.com>
1327 * alpha.md (return_internal): Allow after reload only.
1329 2000-01-30 Richard Henderson <rth@cygnus.com>
1331 * i386.c (ix86_compute_frame_size): Omit padding1 if the
1332 local frame size is zero.
1334 2000-01-30 Richard Henderson <rth@cygnus.com>
1336 * alpha.c (alpha_expand_epilogue): Don't emit the return insn.
1337 * alpha.h (EPILOGUE_USES): New. Mark $26 live.
1338 * alpha.md (return): Turn into an expander.
1339 (return_internal): Don't use $26.
1340 (epilogue): Emit the return insn.
1342 2000-01-30 Richard Henderson <rth@cygnus.com>
1344 * alpha.md (negtf2, abstf2): Fix word order thinko.
1346 (trunctfsf2): Avoid intermediate rounding errors.
1348 2000-01-30 Zack Weinberg <zack@wolery.cumb.org>
1350 * cppfiles.c (find_position): Drop 'colp' argument, return the
1352 (read_and_prescan): Adjust to match. Don't ever manipulate
1353 line or line_base except via find_position.
1355 2000-01-29 Zack Weinberg <zack@wolery.cumb.org>
1357 * c-parse.in: Apply Ulrich's changes from c-parse.y.
1358 * c-parse.y, objc/objc-parse.y, c-parse.c, objc/objc-parse.c:
1361 2000-01-29 Zack Weinberg <zack@wolery.cumb.org>
1363 * cpperror.c (cpp_file_line_for_message): If 'line' is zero,
1364 just print "<command line>". If 'filename' is null or an
1365 empty string, print "<stdin>" for the filename.
1366 * cpplib.c (do_define): Don't print the 'location of the
1367 previous definition' message if we're still parsing the
1369 (cpp_pedwarn_with_file_and_line): Always call
1370 cpp_file_line_for_message.
1372 2000-01-29 Mark Mitchell <mark@codesourcery.com>
1374 * flow.c (mark_regs_live_at_end): Fix typo.
1376 2000-01-28 Ulrich Drepper <drepper@redhat.com>
1378 * c-common.c: Adjust variable names, comments, help strings to c99.
1379 * c-lex.c: Likewise.
1380 * c-parse.y: Likewise.
1381 * c-tree.h: Likewise.
1383 * cpplib.h: Likewise.
1384 * c-decl.c: Likewise. Recognize options with names "*99" as well.
1385 * cppinit.c: Likewise.
1387 2000-01-29 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
1389 * c4x.h (INIT_TARGET_OPTABS): Add all missing local optab entries.
1390 * c4x.c: Define the optab rtx values.
1391 (c4x_add_gc_roots): Add the ggc roots for these optab rtx values.
1392 (c4x_emit_libcall): Use new optab rtx values.
1393 (c4x_emit_libcall3): Likewise.
1394 (c4x_emit_libcall_mulhi): Likewise.
1395 * c4x-protos.h: Add prototypes for optab rtx values and change
1396 prototypes for above c4x_emit_libcall functions.
1398 2000-01-29 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
1400 * c4x.c (c4x_output_ascii): Restrict line length of output when TI
1402 (c4x_function_prologue): Use regnames intead of float_reg_names when
1404 (c4x_function_epilogue): Likewise.
1405 (c4x_print_operand): Likewise.
1406 * c4x.h (HOST_WIDE_INT_PRINT_HEX): Redefine.
1407 * c4x.md (set_high): Disable for TARGET_TI.
1409 2000-01-29 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
1411 * c4x.h (PREFERRED_RELOAD_CLASS): Change to restrict the reloading
1412 of framepointer + constant to ADDR_REGS class.
1413 * c4x.md (addqi3, addqi3_noclobber_reload): Update.
1414 * c4x.c (std_or_reg_operand): New function.
1415 * c4x-protos.h (std_or_reg_operand): Prototype it.
1417 2000-01-29 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
1419 * t-c4x: Change qi,qf,di,df into si,sf,hi,hf to generate same
1420 object names as libgcc2.c.
1421 * libgcc.S: Use newly defined names.
1423 Fri Jan 7 19:48:04 CET 2000 Jan Hubicka <jh@suse.cz>
1424 * sbitmap.c (sbitmap_first_set_bit, sbitmap_last_set_bit): New
1426 * sbitmap.h (sbitmap_first_set_bit, sbitmap_last_set_bit): Declare.
1427 * basic_block.h (FLOW_LOOP_FIRST_BLOCK): New macro.
1428 (FLOW_LOOP_LAST_BLOCK): Likewise.
1430 2000-01-21 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
1432 * basic-block.h (struct loop): New fields 'first' and 'last'.
1433 * flow.c (flow_loops_find): Compute loop->first and loop->last.
1434 (flow_loops_dump): Use loop->first to check for NOTE_INSN_LOOP_BEG
1435 and loop->last to check for NOTE_INSN_LOOP_END.
1437 Fri Jan 28 10:57:58 2000 Jason Eckhardt <jle@cygnus.com>
1439 * predict.c (estimate_probability): Use the new FIRST and LAST fields
1440 of the loop descriptor rather than HEADER and LATCH. Also added
1441 missing break statements as well making some coding style modifications
1442 as suggested by Michael Hayes.
1444 2000-01-28 Richard Henderson <rth@cygnus.com>
1446 * flow.c (find_basic_blocks): Remove do_cleanup argument.
1447 Break out that code ...
1448 (cleanup_cfg): ... here.
1449 (commit_one_edge_insertion): Detect a return instruction being
1450 emitted to an edge. Emit a barrier following; clear fallthru.
1451 (commit_edge_insertions): Verify CFG consistency.
1452 * function.c (expand_function_start): Kill unused variable.
1453 (expand_function_end): Likewise.
1454 (thread_prologue_and_epilogue_insns): Use insert_insn_on_edge
1455 to insert the epilogue.
1457 * gcse.c (gcse_main): Adjust for find_basic_blocks change.
1458 (delete_null_pointer_checks): Likewise.
1459 * output.h: Likewise.
1460 * reg-stack.c (reg_to_stack): Likewise.
1461 * toplev.c (rest_of_compilation): Likewise. Run
1462 thread_prologue_and_epilogue_insns after rebuilding the CFG.
1464 2000-01-28 Richard Henderson <rth@cygnus.com>
1466 * Makefile.in (flow.o): Revert 24 Jan change.
1467 * flow.c (mark_regs_live_at_end): Likewise. Force BLKmode
1468 FUNCTION_VALUE result to DECL_RESULT's mode.
1470 * haifa-sched.c (schedule_insns): Don't recompute reg info
1473 2000-01-28 Zack Weinberg <zack@wolery.cumb.org>
1475 * configure.in: Make --enable-cpplib the default.
1476 * configure: Regenerate.
1477 * gcc.dg/990119-1.c: No longer expected to fail.
1479 2000-01-28 Bernd Schmidt <bernds@cygnus.co.uk>
1481 * jump.c (jump_optimize_1): Delete an optimization that is also done
1482 by merge_blocks in flow.
1484 2000-01-28 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1486 * diagnostic.c (build_message_string, output_printf,
1487 line_wrapper_printf): Add ATTRIBUTE_PRINTF_*.
1488 (build_location_prefix): Fix non-literal format string.
1490 2000-01-27 Richard Henderson <rth@cygnus.com>
1492 * alpha.md (trunctfsf2): New.
1494 2000-01-27 Andrew Hobson <ahobson@eng.mindspring.net>
1496 * configure.in (alpha-dec-osf5): Enable MASK_SUPPORT_ARCH.
1498 2000-01-27 Zack Weinberg <zack@wolery.cumb.org>
1500 * cppinit.c (cpp_handle_option): Recognize C++ comments under
1502 * cpplib.c (skip_block_comment, skip_line_comment): Split code
1504 (skip_comment) ... here. Permit C++ comments in system
1505 headers always. Warn about C++ comments in user code under
1506 -std=gnu89 -pedantic.
1507 (copy_comment): Use skip_comment.
1508 (cpp_skip_hspace, cpp_get_token): skip_comment can no longer
1510 (consider_directive_while_skipping, do_else, do_endif): Call
1511 validate_else unconditionally.
1512 (validate_else): Check CPP_PEDANTIC here. Accept non-comment
1513 text after the conditional in a system header.
1514 * cpplib.h (struct cpp_buffer): Add flag
1515 warned_cplusplus_comments.
1517 2000-01-27 Geoffrey Keating <geoffk@cygnus.com>
1519 * emit-rtl.c (unshare_all_rtl): Unshare virtual parameters too.
1520 Use unshare_all_rtl_1.
1521 (unshare_all_rtl_again): New function.
1522 (unshare_all_rtl_1): New function split out of unshare_all_rtl.
1524 * function.c (purge_addressof_1): Use unshare_all_rtl_again
1525 rather than resetting the 'used' flags ourself.
1527 * toplev.c (rest_of_compilation): Add current_function_decl
1528 to the unshare_all_rtl call.
1529 * tree.h: Prototype unshare_all_rtl.
1530 * rtl.h: Prototype unshare_all_rtl_again here.
1532 2000-01-27 Geoffrey Keating <geoffk@cygnus.com>
1534 * genoutput.c (output_prologue): Include ggc.h in generated
1536 * Makefile.in (insn-output.o): Depends on ggc.h.
1538 2000-01-27 Ian Dall <ian@sibyl.beware.dropbear.id.au>
1539 Hans-Peter Nilsson <hp@bitrange.com>
1541 * ns32k/xm-ns32k.h (memcpy, memset, memcmp): Delete.
1542 Remove redundant include of xm-ns32k.h.
1543 * ns32k/xm-genix.h (memcpy, memset, memcmp): Add definitions.
1544 Remove redundant include of xm-ns32k.h.
1545 * ns32k/xm-netbsd.h (memcpy, memset, memcmp): No longer undefine.
1546 Remove redundant include of xm-ns32k.h.
1547 * ns32k/netbsd.h (TARGET_DEFAULT): Enable multiply-add instructions.
1549 * ns32k/ns32k.h: Update comment on multiply-add instructions.
1550 (TARGET_SWITCHES): Add documentation strings.
1551 (DWARF_FRAME_REGNUM): Override default definition.
1552 (REG_CLASS_CONTENTS): Add comments.
1553 (SUBSET_P): Format to reduce line length.
1554 (SMALL_REGISTER_CLASSES): Make a run time option.
1555 (GO_IF_NONINDEXED_ADDRESS): Reformat.
1556 (GO_IF_LEGITIMATE_ADDRESS): Ensure that cfun is non NULL before
1557 dereferencing it. Braces to avoid "ambiguous else" were misplaced.
1558 (regclass_map): fix typo in comment.
1559 * ns32k/ns32k.c: Add spaces before parentheses for consistant style.
1560 Prefer gen_rtx_FOO(...) to gen_rtx(FOO,...).
1561 (trace, reg_or_mem_operand): Delete, unused function.
1562 (calc_address_cost): Small offsets are cheaper than large ones.
1563 (expand_block_move): Generate more efficient code when bytes is a
1564 known at compile time.
1565 * ns32k/ns32k.md: Alternate constraints for multiply-add instructions.
1566 (udivmodsi4, udivmodhi4, udivmodqi4): Use nonimmediate_operand
1567 instead of reg_or_mem_operand.
1569 * ns32k/ns32k.md: Use nonimmediate_operand or stricter for outputs,
1570 not general_operand. Similarly use "=rm" or stricter, not "=g".
1571 For input operands, use stricter constraints than "g" if not
1572 general_operand. Similarly use stricter predicate than
1573 "general_operand" when stricter constraints than "g" are present,
1574 except for matching constraints.
1575 (movstrsi): Use "memory_operand" for operands 0 and 1.
1576 (truncsiqi2, truncsihi2, trunchiqi2): Remove.
1577 (udivmoddisi4_internal): Use nonimmediate_operand for operand 0,
1578 not reg_or_mem_operand.
1579 (udivmoddisi4): Ditto.
1580 Use nonimmediate_operand for operand 1, not reg_or_mem_operand.
1581 Use nonimmediate_operand for operand 3, not register_operand.
1582 (udivmoddiqi4_internal): Use register_operand for operand 1, not
1585 2000-01-27 Fred Fish <fnf@be.com>
1587 * gthr-posix.h: Fix typo; compatibily -> compatibility.
1588 * gthr-single.h: Likewise.
1589 * gthr-solaris.h: Likewise.
1590 * gthr-vxworks.h: Likewise.
1591 * gthr-win32.h: Likewise.
1594 2000-01-27 Zack Weinberg <zack@wolery.cumb.org>
1596 * cppinit.c: Add " (cpplib)" to end of string printed by
1599 2000-01-27 Richard Henderson <rth@cygnus.com>
1601 * alpha.c (alpha_emit_conditional_move): Use VOIDmode when
1602 testing for a signed comparison.
1603 (alpha_emit_floatuns): New.
1604 * alpha-protos.h: Declare it.
1605 * alpha.md (floatunsdisf2, floatunsdidf2): New.
1606 (extendsfdf2): Tidy.
1608 2000-01-27 Jakub Jelinek <jakub@redhat.com>
1610 * config/sparc/linux64.h (CC1_SPEC): If compiling -m32 with -g but
1611 no -g option specifying debugging format, default to -gstabs+.
1613 Wed Jan 26 22:19:14 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
1615 * calls.c (special_function_p): New argument fork_or_exec.
1616 (expand_call): When profile_arc_flag is set and the function
1617 is in the fork_or_exec group, call __bb_fork_func first.
1618 * libgcc2.c, _bb module (__bb_fork_func): New function.
1619 (__bb_exit_func): If fcntl F_SETLKW is available, use it to lock
1621 * config/svr4.h (TARGET_HAS_F_SETLKW): Define.
1622 * tree.h (special_function_p): Update prototype.
1624 2000-01-26 Richard Henderson <rth@cygnus.com>
1626 * alpha.c (alpha_split_tfmode_pair): New.
1627 * alpha-protos.h: Declare it.
1628 * alpha.md (abstf2, negtf2): New.
1629 (movtf insn): Add input G constraint.
1630 (movtf splitter): Use alpha_split_tfmode_pair.
1632 2000-01-26 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1634 * i386/cygwin.h: PROTO -> PARAMS.
1636 2000-01-26 Jakub Jelinek <jakub@redhat.com>
1638 * config/sparc/sparc.c (sparc_emit_float_lib_cmp): Handle
1639 TARGET_ARCH32 again. Handle ORDERED, UN* and LTGT comparisons
1640 using _Qp_cmp/_Q_cmp and testing the return value.
1641 (print_operand): Call reverse_condition_maybe_unordered if
1642 we are handling CCFPmode or CCFPEmode.
1643 Handle ORDERED, UN* and LTGT comparisons.
1644 * config/sparc/sparc.md (cmptf): Use even on TARGET_ARCH32
1645 if not TARGET_HARD_QUAD.
1646 (seq, sne, sgt, slt, sge, sle, beq, bne, bgt, blt, bge, ble,
1647 bunordered, bordered, bungt, bunlt, buneq, bunge, bunle, bltgt):
1648 Call sparc_emit_float_lib_cmp even on TARGET_ARCH32.
1649 Adjust gen_b* calls so that they reflect return comparison of
1650 sparc_emit_float_lib_cmp.
1652 2000-01-26 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
1654 * config/alpha/alpha.c (alpha_emit_xfloating_cvt): Do not assume
1655 incoming operands array is large enough for one more operand.
1656 (alpha_emit_xfloating_arith): Likewise.
1658 2000-01-25 Zack Weinberg <zack@wolery.cumb.org>
1660 * fixinc/Makefile.in (machname.h): SunOS 4 sed can't handle a
1661 file with one line and no trailing newline.
1662 Patch by Kaveh Ghazi <ghazi@caip.rutgers.edu>.
1663 * fixinc/fixtests.c (machine_name_test): Fix fencepost error
1664 checking if the match is on the line.
1665 * fixinc/gnu-regex.c: Provide regerror not __regerror.
1667 2000-01-25 Richard Henderson <rth@cygnus.com>
1669 * sparc.c (output_cbranch): Fix accidental squashing of the
1670 fp branch pre-delay nop.
1672 2000-01-25 Richard Henderson <rth@cygnus.com>
1674 * tree.def (UNNE_EXPR): Remove.
1675 * c-typeck.c (build_binary_op): Don't handle it.
1676 * expr.c (expand_expr, do_jump, do_store_flag): Likewise.
1678 * rtl.def (UNNE): Remove.
1680 * jump.c (reverse_condition): Update accordingly.
1681 (swap_condition): Likewise.
1682 (comparison_dominates_p): Handle unordered comparisons.
1683 (reverse_condition_maybe_unordered): New.
1684 * rtl.h (reverse_condition_maybe_unordered): Declare.
1686 * sparc.c (select_cc_mode): Update for UNNE/LTGT.
1687 (output_cbranch): Use reverse_condition_maybe_unordered and LTGT.
1688 * sparc.h (REVERSIBLE_CC_MODE): Always true. Update docs.
1689 * sparc.md (bltgt): New.
1691 2000-01-25 Nick Clifton <nickc@redhat.com>
1693 * emit-rtl.c (emit_insn): Only check machine class insns for
1694 improper emission of a RETURN.
1696 2000-01-25 Richard Henderson <rth@cygnus.com>
1698 * Makefile.in (flow.o): Depend on $(EXPR_H).
1699 * flow.c (mark_regs_live_at_end): Use hard_function_value, i.e.
1700 duplicate the structure of diddle_return_value for keeping regs live.
1702 2000-01-26 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
1704 * loop.c (current_loop_info): Delete.
1705 (consec_sets_invariant_p): Add loop argument, update callers.
1706 (get_condition_for_loop): Likewise.
1707 (count_nonfixed_reads, update_giv_derive): Likewise.
1708 (simplify_giv_expr, general_induction_var): Likewise.
1709 (consec_sets_giv, recombine_givs): Likewise.
1710 (move_movables): Delete loop_start and loop_end arguments,
1711 add loop argument, and update callers.
1712 (find_mem_givs, check_final_value): Likewise.
1713 (record_giv, maybe_eliminate_biv, maybe_eliminate_biv_1): Likewise.
1714 (loop_invariant_p): Rename from invariant_p, add loop argument, and
1716 (basic_induction_var): Add loop argument, delete loop_level argument,
1718 * unroll.c (iteration_info): Delete loop_start and loop_end arguments,
1719 add loop argument, and update callers.
1720 (find_splittable_regs, find_splittable_givs): Likewise.
1721 (reg_dead_after_loop, loop_find_equiv_value): Likewise.
1722 (final_biv_value, final_giv_value, back_branch_in_range_p): Likewise.
1723 (biv_total_increment): Delete loop_start and loop_end arguments;
1725 (precondition_loop_p): Delete loop_start and loop_info arguments;
1727 * loop.h (get_condition_for_loop): Add loop argument.
1728 (biv_total_increment): Delete loop_start and loop_end arguments.
1729 (precondition_loop_p): Delete loop_start and loop_info arguments;
1731 (final_biv_value): Delete loop_start and loop_end arguments;
1733 (final_giv_value, back_branch_in_range_p): Likewise.
1735 2000-01-25 Gavin Romig-Koch <gavin@cygnus.com>
1737 * config/mips/mips.h (LEGITIMATE_CONSTANT_P): Fix for mips16.
1739 2000-01-25 Gavin Romig-Koch <gavin@cygnus.com>
1741 * Makefile.in (c-gperf.h) : Change the "See" pointer to
1742 point to the new "generated_files" doc.
1744 2000-01-25 Clinton Popetz <cpopetz@cygnus.com>
1746 * config/fp-bit.c (_unord_f2): Fix typo.
1748 2000-01-25 Zack Weinberg <zack@wolery.cumb.org>
1750 * c-common.c, c-decl.c, c-lang.c, c-lex.c, c-parse.in, c-pragma.c,
1751 c-typeck.c, objc/objc-act.c: Remove all references to obstack
1752 functions obsoleted by GC, such as push_obstacks_nochange,
1753 end_temporary_allocation, savealloc, saveable_tree_cons, etc.
1754 and code which existed only to decide whether or not to call
1755 them. Remove now-unused NESTED argument from start_function;
1756 all callers changed. Do not change behavior based on ggc_p.
1757 The use of the ixp_obstack in c-iterate.c and the util_obstack
1758 in objc/objc-act.c remain; these are not obsoleted by garbage
1760 * c-tree.h: Update prototype for start_function.
1762 * c-parse.y, c-parse.c, objc/objc-parse.c, objc/objc-parse.y: Rebuild.
1764 2000-01-25 Clinton Popetz <cpopetz@cygnus.com>
1766 * config/mips/mips.md (zero_extendsidi2_internal): Disable for
1769 2000-01-25 Richard Henderson <rth@cygnus.com>
1771 * sparc-protos.h (select_cc_mode): Declare.
1772 * sparc.c (select_cc_mode): New. Handle unordered compares.
1773 (output_cbranch): Always reverse via code change. Handle
1774 unordered compares. Factor tests and string updates.
1775 * sparc.h (SELECT_CC_MODE): Split out to select_cc_mode.
1776 (REVERSIBLE_CC_MODE): Also exclude CCFPmode.
1777 * sparc.md (bunordered, bordered): New.
1778 (bungt, bunlt, buneq, bunge, bunle): New.
1780 2000-01-25 Richard Henderson <rth@cygnus.com>
1782 * dwarf2out.c (dwarf2out_init): Use ggc_add_rtx_varray_root.
1783 * ggc-common.c (ggc_add_rtx_varray_root): New.
1784 (ggc_mark_rtx_varray): New.
1785 (ggc_mark_rtx_varray_ptr): New. Shift all ggc_mark_foo_ptr
1786 functions down below ggc_mark_foo.
1787 * ggc.h (ggc_add_rtx_varray_root, ggc_mark_rtx_varray): Declare.
1789 2000-01-25 Richard Henderson <rth@cygnus.com>
1791 * alpha.c (secondary_reload_class): Don't allocate a secondary
1792 for integral mode memories into FLOAT_REGS. Rearrange the more
1793 complicated memory expression inward.
1795 2000-01-25 Zack Weinberg <zack@wolery.cumb.org>
1797 * inclhack.def: Fixes to play nicer with FreeBSD, and
1798 corrections to comments.
1799 (cxx_unready): Add select expression.
1800 (irix_sockaddr): Add bypass expression.
1801 (machine_ansi_h_va_list): New fix.
1802 (stdio_va_list): No need to edit _BSD_VA_LIST_.
1803 Split out addition of "#include <stdarg.h>" to...
1804 (stdio_stdarg_h): ... here.
1805 (systypes_for_aix): Rename to systypes_stdlib_size_t. Apply
1806 to stdlib.h also. Do not munge _BSD_SIZE_T_.
1807 (sysz_stdlib_for_sun): Delete duplicate fix for unprotected
1809 (ultrix_ifdef): Tighten up select expression.
1811 * fixincl.tpl: Exorcise 'exesel'. Rewrite calculations of
1812 re_ct and max_mach to avoid use of shell. Make printed names
1813 match names in inclhack.def. Use static copyright date.
1814 Don't count c_test and test expressions as requiring regex_t
1815 slots. Add some commentary.
1816 * inclhack.tpl: Do not include the 'This script contains N
1817 fixup scripts' line if PROGRAM is defined. Use static
1820 2000-01-24 Jason Merrill <jason@casey.cygnus.com>
1822 * dwarf2out.c: include "varray.h", not dyn-string.h.
1823 (ASM_OUTPUT_DWARF2_ADDR_CONST, ASM_NAME_TO_STRING): Lose.
1824 (addr_const_to_string, addr_to_string): Lose.
1825 (ASM_OUTPUT_DWARF_ADDR_CONST): Copy from dwarfout.c.
1826 (struct dw_val_struct): val_addr is now an rtx.
1827 (add_AT_addr, AT_addr, free_AT, output_aranges): Adjust.
1828 (used_rtx_varray): New varray.
1829 (dwarf2out_init): Initialize it.
1831 (mem_loc_descriptor, add_const_value_attribute): Call it instead of
1833 * arm/telf.h, arm/unknown-elf.h, mn10200.h, mn10300.h,
1834 sparc/sp64-elf.h: Remove definition of ASM_OUTPUT_DWARF2_ADDR_CONST.
1835 * Makefile.in (dwarf2out.o): Update dependencies.
1837 2000-01-24 Richard Henderson <rth@cygnus.com>
1839 * i386.c (i386_dwarf_output_addr_const): New.
1840 * i386.h (ASM_OUTPUT_DWARF_ADDR_CONST): New.
1842 * dwarf2out.c (mem_loc_descriptor): Call ASM_SIMPLIFY_DWARF_ADDR
1844 * dwarfout.c (output_mem_loc_descriptor): Likewise.
1845 * i386.c (i386_simplify_dwarf_addr): New.
1846 * i386.h (ASM_SIMPLIFY_DWARF_ADDR): New.
1848 Mon Jan 24 16:56:10 2000 Jim Wilson <wilson@cygnus.com>
1850 * dwarf2out.c (gen_struct_or_union_type_die): Set complete if
1851 TYPE_STUB_DECL is NULL.
1853 2000-01-24 Richard Henderson <rth@cygnus.com>
1855 * builtins.c (expand_tree_builtin): Move ...
1856 * c-common.c (expand_tree_builtin): ... here.
1858 2000-01-25 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
1860 * loop.h (LOOP_INFO): New accessor macro.
1861 * basic-block.h (struct loop): Rename field `info' to `aux'.
1862 * loop.c (scan_loop): Replace loop->info with LOOP_INFO (loop).
1863 (prescan_loop, strength_reduce, check_dbra_loop, insert_bct): Likewise.
1864 * unroll.c (loop_iterations, unroll_loop): Likewise.
1866 2000-01-24 Christopher Faylor <cgf@cygnus.com>
1868 * config/i386/t-cygwin: Accomodate new winsup directory layout
1869 when searching for include files.
1871 2000-01-24 Richard Henderson <rth@cygnus.com>
1873 * rtl.def: Add unordered fp comparisions.
1874 * tree.def: Likewise.
1875 * tree.h: Add ISO C 9x unordered fp comparision builtins.
1877 * builtins.c (expand_tree_builtin): New function.
1878 * c-typeck.c (build_function_call): Use it.
1879 (build_binary_op): Support unordered compares.
1880 * c-common.c (c_common_nodes_and_builtins): Add unordered compares.
1882 * combine.c (known_cond): Handle reverse_condition returning UNKNOWN.
1883 (reversible_comparison_p): Allow UNORDERED/ORDERED to be reversed.
1884 * cse.c (fold_rtx): Check FLOAT_MODE_P before reversing.
1885 (record_jump_equiv): Handle reverse_condition returning UNKNOWN.
1886 * jump.c (reverse_condition): Don't abort for UNLE etc, but
1888 (swap_condition): Handle unordered compares.
1889 (thread_jumps): Check can_reverse before reversing.
1890 * loop.c (get_condition): Likewise. Allow UNORERED/ORDERED to be
1893 * optabs.c (can_compare_p): New argument CODE. Verify branch or
1894 setcc is present before acking for cmp_optab. Update all callers.
1895 (prepare_float_lib_cmp, init_optabs): Handle UNORDERED.
1896 * expmed.c (do_cmp_and_jump): Update for can_compare_p.
1897 * expr.c (expand_expr): Likewise. Support unordered compares.
1898 (do_jump, do_store_flag): Likewise.
1899 * expr.h (enum libfunc_index): Add unordered compares.
1901 * Makefile.in (FPBIT_FUNCS): Add _unord_sf.
1902 (DPBIT_FUNCS): Add _unord_df.
1903 * config/fp-bit.c (_unord_f2): New.
1904 * fp-test.c (main): Try unordered compare builtins.
1906 * alpha-protos.h (alpha_fp_comparison_operator): Declare.
1907 * alpha.c (alpha_comparison_operator): Check mode properly.
1908 (alpha_swapped_comparison_operator): Likewise.
1909 (signed_comparison_operator): Likewise.
1910 (alpha_fp_comparison_operator): New.
1911 (alpha_emit_conditional_branch): Handle unordered compares.
1912 * alpha.h (PREDICATE_CODES): Update.
1913 * alpha.md (fp compares): Use alpha_fp_comparison_operator.
1914 (bunordered, bordered): New.
1916 2000-01-24 Richard Henderson <rth@cygnus.com>
1918 * alpha.c (alpha_emit_xfloating_cvt): Thinko in operand manipulation.
1919 * alpha.md (movtf): New expander, insn, and splitter.
1921 Mon Jan 24 19:49:47 MET 2000 Jan Hubicka <jh@suse.cz>
1923 * reg-stack.c (subst_stack_regs_pat): Handle correctly USEs of
1926 Mon Jan 24 17:37:31 MET 2000 Jan Hubicka <jh@suse.cz>
1928 * i386.h (FIRST_PSEUDO_REGISTER): Set to 21.
1929 (FIXED_REGISTERS, CALL_USED_REGISTERS,
1930 REG_ALLOC_ORDER): Add frame pointer
1931 (FRAME_POINTER_REGNUM): Set to 20
1932 (HARD_FRAME_POINTER_REGNUM): New macro.
1933 (ELIMINABLE_REGS): Eliminate ARG_POINTER and FRAME_POINTER
1934 to HARD_FRAME_POINTER.
1935 (REGNO_OK_FOR_BASE_P): Accept FRAME_POINTER_REGNUM
1936 (REG_OK_FOR_INDEX_NONSTRICT_P): Likewise.
1937 (REG_OK_FOR_BASE_NONSTRICT_P): Likewise.
1938 (HI_REGISTER_NAMES): Add "frame".
1939 (CAN_ELIMINATE): Handle FRAME_POINTER_REGNUM elimination.
1940 (debug_reg): Handle FRAME_POINTER_REGNUM.
1941 (reg_class): Add arg pointer and frame pointer to NON_Q_REGS,
1942 GENERAL_REGS and INDEX_REGS.
1943 * i386.c (SAVED_REGS_FIRST): new macro.
1944 (AT_BP): Use hard_frame_pointer_rtx instead of frame_pointer_rtx
1945 (ix86_decompose_address, memory_address_length): Likewise.
1946 (regclass_map): Add frame pointer.
1947 (call_insn_operand): Handle frame_pointer_rtx.
1948 (reg_no_sp_operand): Likewise.
1949 (ix86_decompose_address): Handle frame_pointer_rtx as stack_pointer_rtx.
1950 (print_operand, legitimize_pic_address): Fix formating.
1951 (ix86_compute_frame_size): Make static, update prototype, new
1952 parameters padding1, padding2, use ix86_nsaved_regs, use
1953 stack_alignment_needed.
1954 (ix86_initial_elimination_offset): Handle FRAME_POINTER_REGNUM
1955 to HARD_FRAME_POINTER_REGNUM conversions.
1956 (ix86_expand_prologue): Handle SAVED_REGS_FIRST prologues.
1957 (ix86_expand_epilogue): Handle SAVED_REGS_FIRST epilogues.
1958 (print_reg): Abort on FRAME_POINTER_REGNUM
1960 Mon Jan 24 16:50:08 MET 2000 Jan Hubicka <jh@suse.cz>
1962 * i386.h (PREDICATE_CODES): Add aligned_operand.
1963 * i386.c (aligned_operand): New function.
1964 (ix86_aligned_p): Kill.
1965 * i386.md (movhi_1): Emit mov for aligned operands.
1966 (promoting peep2s): Use aligned_operand.
1968 2000-01-23 Zack Weinberg <zack@wolery.cumb.org>
1970 * fixinc/fixfixes.c (fix_char_macro_uses): Correct regular
1971 expression to allow underscores in macro names.
1972 (fix_char_macro_defines): Increment scanning pointer.
1974 2000-01-23 Richard Henderson <rth@cygnus.com>
1976 * alpha/osf.h (TARGET_HAS_XFLOATING_LIBS): Define.
1977 * alpha/osf5.h: New file.
1978 * configure.in (alpha-*-osf5): Add it to tm_file.
1980 * emit-rtl.c (operand_subword): Support TFmode on a 64-bit target.
1982 * alpha-protos.h (alpha_emit_xfloating_arith): Declare.
1983 (alpha_emit_xfloating_cvt, function_arg): Declare.
1984 * alpha.c (alpha_emit_conditional_branch): Call
1985 alpha_emit_xfloating_compare for TFmode compares.
1986 (alpha_lookup_xfloating_lib_func): New.
1987 (alpha_compute_xfloating_mode_arg): New.
1988 (alpha_emit_xfloating_libcall): New.
1989 (alpha_emit_xfloating_arith): New.
1990 (alpha_emit_xfloating_compare): New.
1991 (alpha_emit_xfloating_cvt): New.
1992 (print_operand): Add default abort case.
1993 (function_arg): Mind FUNCTION_ARG_PASS_BY_REFERENCE.
1994 * alpha.h (TARGET_HAS_XFLOATING_LIBS): New.
1995 (BIGGEST_ALIGNMENT): Increase to 128 bits.
1996 (RETURN_IN_MEMORY): True for TF/TCmode.
1997 (ALPHA_ARG_SIZE): TF/TCmode is passed indirect.
1998 (FUNCTION_ARG): Move to function_arg.
1999 (FUNCTION_ARG_PASS_BY_REFERENCE): New.
2000 (ASM_OUTPUT_LONG_DOUBLE): New.
2001 (ASM_OUTPUT_DOUBLE): Always output bits.
2002 * alpha.md (addtf3, divtf3, multf3, subtf3, cmptf): New.
2003 (fix_trunctfdi2, floatditf2, floatunsditf2): New.
2004 (extenddftf2, trunctfdf2): New.
2006 2000-01-23 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
2008 * config/sparc/sol2-sld-64.h (TRANSFER_FROM_TRAMPOLINE): Moved...
2009 * config/sparc/sol2.h: ... here.
2011 2000-01-24 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
2013 * basic-block.h (struct loops): New field `levels'.
2014 * flow.c (flow_loops_level_compute): Traverse all outer loops.
2015 (flow_loop_level_compute): Initialise level to 1.
2016 (flow_loops_find): Set loops->levels.
2017 (flow_loops_dump): Print loops->levels.
2019 2000-01-23 Richard Henderson <rth@cygnus.com>
2021 * libgcc2.c (dwarf_reg_size_table): Size with DWARF_FRAME_REGISTERS.
2022 (throw_helper): Iterate over DWARF_FRAME_REGISTERS.
2024 2000-01-23 Richard Henderson <rth@cygnus.com>
2026 * i386.c (dbx_register_map, svr4_dbx_register_map): New.
2027 * i386.h (DBX_REGISTER_NUMBER): Use them.
2028 * i386/beos-elf.h, i386/freebsd-elf.h, i386/i386elf.h: Likewise.
2029 * i386/linux.h, i386/osfrose.h, i386/ptx4-i.h: Likewise.
2030 * i386/rtemself.h, i386/sco5.h, i386/sysv4.h: Likewise.
2031 * i386/sequent.h: Kill incorrect comment.
2033 2000-01-23 Mark Mitchell <mark@codesourcery.com>
2035 * ggc-page.c (struct page_entry): Make `context_depth' an
2037 (struct globals): Likewise.
2039 2000-01-23 Clinton Popetz <cpopetz@cygnus.com>
2041 * loop.c (check_dbra_loop): When checking a loop for
2042 reversability, check the source of any stores to ensure
2043 they don't depend on an initial value.
2045 2000-01-23 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
2047 * config/c4x/c4x.h (ASM_OUTPUT_BSS): Redefine.
2049 2000-01-22 Zack Weinberg <zack@wolery.cumb.org>
2051 * fixinc/fixincl.c: Move declarations of 'pz_fname' and
2052 'pz_scan' into scope of entire function. Only affects
2053 compiles with -DDEBUG.
2055 2000-01-22 Alan Modra <alan@SPRI.Levels.UniSA.Edu.Au>
2057 * config/elfos.h (UNIQUE_SECTION): Restore uninitialised data
2058 section naming to that prior to 2000-01-07 patch.
2059 * config/mips/elf.h (UNIQUE_SECTION): Ditto.
2060 * config/mips/elf64.h (UNIQUE_SECTION): Ditto.
2061 * config/mips/iris6gld.h (UNIQUE_SECTION): Ditto.
2062 * config/i386/interix.c (UNIQUE_SECTION): Ditto.
2063 * config/i386/winnt.c (UNIQUE_SECTION): Ditto.
2065 2000-01-22 Bernd Schmidt <bernds@cygnus.co.uk>
2067 * config/arm/arm.c (soft_df_operand): Reject SUBREGs containing a
2070 2000-01-21 Jim Wilson <wilson@cygnus.com>
2072 * fixinc/inclhack.tpl: Test for directory before trying to cd into it.
2073 * fixinc/fixincl.sh, fixinc/inclhack.sh: Regenerate.
2075 2000-01-21 Zack Weinberg <zack@wolery.cumb.org>
2077 * cpphash.c (change_newlines): Delete function.
2078 (struct argdata): Delete 'newlines' and 'use_count' fields.
2079 (macroexpand): Remove code referencing those fields.
2081 2000-01-22 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
2083 * loop.c (loops_info): New variable.
2084 (loop_optimize): Allocate loops->array and free it on exit.
2085 Allocate memory for loops_info and assign to each loop,
2087 (find_and_verify_loops): Do not allocate loops->array.
2089 2000-01-21 Zack Weinberg <zack@wolery.cumb.org>
2091 * fixinc/fixfixes.c (machine_name_fix): Don't free 'scratch'.
2093 2000-01-21 Jakub Jelinek <jakub@redhat.com>
2095 * config/sparc/sparc.md (movsi_pic_label_ref): Avoid creating new
2096 pseudos if expanded after first flow.
2097 (movdi_pic_label_ref): Likewise.
2099 2000-01-20 Richard Henderson <rth@cygnus.com>
2101 * jump.c (jump_optimize_1): Don't do addr_vec optimizations at -O0.
2103 2000-01-20 Zack Weinberg <zack@wolery.cumb.org>
2105 * Makefile.in (fixinc.sh): Depend on specs.
2106 * fixinc/Makefile.in: Add rule to create machname.h.
2107 (fixlib.o): Depend on machname.h.
2108 * fixinc/fixtests.c (machine_name): New test.
2109 * fixinc/fixfixes.c (machine_name): New fix.
2110 * fixinc/fixlib.c (mn_get_regexps): New helper function for
2111 the machine_name test and fix.
2112 * fixinc/fixlib.h: Prototype it.
2113 * fixinc/inclhack.def (machine_name): Use the C test and fix.
2114 * fixinc/fixincl.x, fixinc/inclhack.sh: Rebuild.
2116 * gcc.c (do_spec_1) [case P]: Take care not to create
2117 identifiers with three leading or trailing underscores.
2119 * fixinc/Makefile.in (FIXINC_DEFS): Add -DIN_GCC.
2120 (fixincl): Don't specify libraries twice on link line.
2121 (gnu-regex.o): Remove special rule.
2122 * fixinc/gnu-regex.c: Define REGEX_MALLOC if C_ALLOCA was
2123 defined by config.h. Do not define _REGEX_RE_COMP.
2124 (regcomp): Allocate and initialize a fastmap.
2125 * fixinc/gnu-regex.h: Do not define _REGEX_RE_COMP.
2127 2000-01-20 Brad Lucier <lucier@math.purdue.edu>
2129 * Makefile.in (predict.o): Depend on $(EXPR_H), not expr.h.
2131 2000-01-19 Richard Henderson <rth@cygnus.com>
2133 * flow.c (propagate_block): Replace FIRST, LAST and BNUM
2134 arguments with BB. Update all callers. Tidy line wrapping.
2136 2000-01-19 Clinton Popetz <cpopetz@cygnus.com>
2138 * emit-rtl.c (try_split): Return last_insn if we split the
2141 Thu Jan 20 01:01:23 MET 2000 Jan Hubicka <jh@suse.cz>
2143 * i386-protos.h (ix86_compute_frame_size): Remove prototype.
2144 (ix86_initial_elimination_offset): Declare.
2145 * i386.c (ix86_nsaved_regs): Break out from ...
2146 (ix86_can_use_return_insn_p): ... here.
2147 (ix86_emit_save_regs): Break out from ...
2148 (ix86_expand_prologue): ... here.
2149 (ix86_emit_epilogue_esp_adjustment, ix86_emit_restore_regs): Break
2151 (ix86_expand_epilogue): ... here.
2152 (ix86_compute_frame_size): Make static, add prototype.
2153 (ix86_initial_elimination_offset): Break out from ...
2154 * i386.h (INITIAL_ELIMINATION_OFFSET): ... here.
2156 2000-01-19 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2158 * recog.h (OUT_FCN): Delete.
2160 * vax.md: Call `get_insn_template' instead of OUT_FCN.
2162 2000-01-19 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2164 * cppalloc.c: PROTO -> PARAMS.
2165 * cpperror.c: Likewise.
2166 * cppfiles.c: Likewise.
2167 * cpplib.c: Likewise.
2168 * cpplib.h: Likewise.
2170 * config/arm/arm-protos.h: PROTO -> PARAMS.
2171 * config/arm/arm.c: Likewise.
2172 * config/c4x/c4x.c: Likewise.
2173 * config/fr30/fr30-protos.h: Likewise.
2174 * config/nextstep.c: Likewise.
2175 * config/pa/pa.c: Likewise.
2176 * config/pj/pj.c: Likewise.
2177 * config/rs6000/rs6000.c: Likewise.
2178 * config/v850/v850-protos.h: Likewise.
2179 * config/v850/v850.c: Likewise.
2181 2000-01-19 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2183 * i370-protos.h: New file.
2185 * i370.c: Include tm_p.h. Fix compile time warnings.
2187 * i370.h: Move prototypes to i370-protos.h. Fix compile time
2190 * i370.md: Likewise.
2192 2000-01-19 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2194 * real.c (enan, einan, eiisnan, eiisneg, make_nan): Wrap in NANS.
2195 (target_isinf, target_isnan, eisnan): Mark parameter with
2197 (eiisinf): Wrap in INFINITY.
2198 (etoe113, etoe64, etoe53, etoe24): Wrap label `nonorm' in INFINITY.
2199 (ibmtoe): Remove unused variable `rndsav'.
2201 Wed Jan 19 20:23:06 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
2203 * sh.h (PASS_IN_REG_P): Remove extraneous paranthesis.
2204 (GO_IF_LEGITIMATE_ADDRESS): Added missing tab.
2206 2000-01-19 Zack Weinberg <zack@wolery.cumb.org>
2208 * fixinc/Makefile.in: Correct dependencies of fixincl and fixincl.o.
2209 * fixinc/fixfixes.c (IO_use, CTRL_use, IO_defn, CTRL_defn): New fixes.
2210 (fix_char_macro_defines, fix_char_macro_uses): New functions.
2212 * fixinc/fixlib.c (is_cxx_header): Do the text scan with a regexp.
2213 Recognize Emacs mode markers also.
2214 * fixinc/fixtests.c (else_endif_label): Fix bug in recognition of
2215 C++ comments in C++ headers. Call is_cxx_header only if
2218 * fixinc/inclhack.def (avoid_bool): Add select for the problem and
2220 (bsd43_io_macros, io_def_quotes, ioctl_fix_ctrl): Replace with...
2221 (io_def_quotes, io_use_quotes, ctrl_def_quotes, ctrl_use_quotes):
2222 ... these, which use the new C fixes.
2223 (math_exception): Escape literal '+' in bypass expression.
2225 * fixinc/fixincl.x, fixinc/fixincl.sh, fixinc/inclhack.sh:
2228 2000-01-19 Geoff Keating <geoffk@cygnus.com>
2230 * rtlanal.c (reg_referenced_p): A CLOBBER of a MEM uses any REGs
2233 2000-01-20 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
2235 * loop.c (loop_optimize): Allocate loop_info structure for each loop
2236 prior to calling scan_loop.
2238 Wed Jan 19 19:54:38 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
2240 * sh.c (find_barrier, gen_block_redirect): Fix indentation.
2241 (split_branches, calc_live_regs): Likewise.
2243 Wed Jan 19 19:12:36 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
2245 * sh.md (fpu_single, fp_mode): New attributes.
2247 2000-01-20 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
2249 * loop.c (current_loop_info): Renamed from loop_info_data
2250 and changed to a pointer.
2251 (loop_optimize): Allocate loop_info structure for each loop
2252 and initialise to zero.
2253 (scan_loop): Set current_loop_info.
2255 * unroll.c (loop_iterations): Don't abort if REG_USERVAR_P set
2258 2000-01-19 Richard Henderson <rth@cygnus.com>
2260 * stupid.c: Die die die.
2261 * Makefile.in (OBJS): Remove stupid.o.
2262 (stupid.o): Likewise.
2264 * except.c (emit_eh_context): Don't emit USEs for stupid.
2265 * explow.c (probe_stack_range): Likewise.
2266 * flags.h (obey_regdecls): Remove.
2267 * flow.c (find_basic_blocks): Don't run try_merge_blocks
2268 when not optimizing.
2269 (life_analysis): Limit data collection when not optimizing.
2270 (mark_regs_live_at_end): Always mark the return value registers.
2271 (mark_used_regs): Remove dummy RETURN case.
2272 (print_rtl_with_bb): Don't consult obey_regdecls.
2273 * function.c (use_variable, use_variable_after): Remove.
2274 (assign_parms): Consult optimize not obey_regdecls.
2275 (expand_function_start): Don't emit USEs for stupid.
2276 (expand_function_end): Likewise.
2277 * global.c (build_insn_chain): Export.
2278 * integrate.c (expand_inline_function): Kill return-value USE
2280 * jump.c (jump_optimize_1): Do simple jump optimizations and
2281 dead code elimination.
2282 (calculate_can_reach_end): Remove check_deleted argument.
2283 (delete_insn): Patch out insns even when not optimizing.
2284 * local-alloc.c (block_alloc): Don't do tying when not optimizing.
2285 * rtl.h (use_variable, use_variable_after): Remove declarations.
2286 (build_insn_chain): Declare.
2287 * stmt.c (expand_value_return): Don't emit USEs for stupid.
2288 (expand_end_bindings): Likewise.
2289 (expand_decl): Likewise. Consult optimize not obey_regdecls.
2290 * toplev.c (obey_regdecls): Remove.
2291 (rest_of_compilation): Don't set it. Kill stupid in favour of
2292 flow1, local-alloc, and reload.
2293 (main): Don't set obey_regdecls.
2295 * config/nextstep.c (handle_pragma): Likewise.
2297 * alpha/alpha.md (allocate_stack): Don't emit USEs for stupid.
2299 * arm/arm.h (CONDITIONAL_REGISTER_USAGE): Don't fix reg 0 for stupid.
2301 2000-01-18 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2303 * alpha-protos.h: PROTO -> PARAMS.
2304 * alpha.c: Likewise.
2306 * h8300.c: Likewise.
2307 * i386-protos.h: Likewise.
2309 * m32r-protos.h: Likewise.
2312 * mips.md: Likewise.
2313 * gmon-sol2.c: Likewise.
2314 * sparc.c: Likewise.
2316 2000-01-18 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2318 * ns32k-protos.h: New file.
2320 * ns32k.c: Fix compile time warnings.
2322 * ns32k.h: Move prototypes to ns32k-protos.h. Fix compile time
2325 * ns32k.md: Likewise.
2327 2000-01-18 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2329 * vax-protos.h: New file.
2331 * vax.c: Fix compile time warnings.
2333 * vax.h: Move prototypes to vax-protos.h. Fix compile time
2338 * vaxv.md: Likewise.
2340 2000-01-18 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2342 * romp-protos.h: New file.
2344 * romp.c: Fix compile time warnings.
2346 * romp.h: Move prototypes to romp-protos.h. Fix compile time
2349 * romp.md: Likewise.
2351 2000-01-18 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2353 * we32k-protos.h: New file.
2355 * we32k.c: Fix compile time warnings.
2357 * we32k.h: Move prototypes to we32k-protos.h. Fix compile time
2360 2000-01-18 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2362 * calls.c (emit_call_1): Mark parameter with ATTRIBUTE_UNUSED.
2364 * except.c (eh_regs): Likewise.
2366 * final.c (output_operand): Likewise.
2368 * fold-const.c (target_isinf, target_isnan): Likewise.
2370 Tue Jan 18 16:19:55 MET 2000 Jan Hubicka <hubicka@freesoft.cz>
2372 * i386.h (BIGGEST_ALIGNMENT): Set to 128.
2373 (BIGGEST_FIELD_ALIGNMENT): Set to (TARGET_ALIGN_DOUBLE ? 64 : 32)
2375 * i386.md (memstr): Do not use rep stosb for counts divisible by 4
2377 (clrstrsi): Rewrite.
2378 (strsethi, strsetqi): New expanders.
2379 (strsethi_1, strsetqi_1, rep_stossi, rep_stosqi): New insn patterns.
2380 (cmpstrsi): Emit compare insn before cmpstrsi_1
2381 (cmpstrsi_nz): use flags, set type to str, prefix_length to 1.
2382 (strlensi_1): Likewise.
2383 (cmpstrsi_1): Likewise; do not output compare.
2384 (strlen expander): Do not unroll when optimizing for size.
2385 (*subsi3_carry): Rename to subsi3_carry
2386 (addqi3_cc): New pattern.
2387 * i386.h (processor_costs): Add move_ratio field.
2388 (MOVE_RATIO): Use move_ratio field, set to 3 for OPTIMIZE_SIZE
2389 * i386.c (*_cost): Set move_ratio.
2390 (x86_unroll_strlen): Enable for Athlon, PPro and K6 too.
2391 (x86_expand_strlensi_1): Rewrite the main loop.
2393 2000-01-17 Richard Henderson <rth@cygnus.com>
2395 * combine.c (combine_simplify_rtx): Give FLOAT_STORE_FLAG_VALUE a mode.
2396 * cse.c (find_comparison_args, fold_rtx): Likewise.
2397 * integrate.c (subst_constants): Likewise.
2398 * loop.c (get_condition): Likewise.
2400 * tm.texi (FLOAT_STORE_FLAG_VALUE): Update docs.
2402 * alpha.h (FLOAT_STORE_FLAG_VALUE): Use REAL_VALUE_ATOF.
2404 2000-01-18 Martin v. Löwis <loewis@informatik.hu-berlin.de>
2406 * c-parse.in (SAVE_WARN_FLAGS): Create an INTEGER_CST.
2407 (RESTORE_WARN_FLAGS): Unpack it.
2408 Change semantic type of extension to ttype.
2409 * c-common.c (split_specs_attrs): Expect an INTEGER_CST.
2410 * c-parse.y, c-parse.c, objc/objc-parse.y,
2411 objc/objc-parse.c: Regenerate.
2413 2000-01-17 Zack Weinberg <zack@wolery.cumb.org>
2415 * fixinc/fixlib.c: Add copyright notice.
2416 (compile_re): New function.
2417 * fixinc/fixlib.h: Prototype compile_re.
2419 * fixinc/fixfixes.c, fixinc/fixtests.c, fixinc/fixincl.c:
2420 Use compile_re to compile regular expressions.
2422 * fixinc/fixincl.c (egrep_test): Don't bother asking regexec
2423 where the pattern matched.
2425 * fixinc/inclhack.def (sun_memcpy): Move to AAB_sun_memcpy,
2427 (ultrix_ansi_compat): Likewise.
2428 (interactv_add1): Rename to 'isc_omits_with_stdc', remove shell test,
2430 (interactv_add2, interactv_add3): Delete.
2431 (x11_sprintf): Don't use filename glob.
2432 * fixinc/fixincl.x, fixinc/inclhack.sh, fixinc/fixincl.sh:
2435 2000-01-17 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2437 * print-rtl.c: PROTO -> PARAMS.
2439 * reg-stack.c: Likewise.
2440 * resource.c: Likewise.
2441 * sdbout.h: Likewise.
2442 * simplify-rtx.c: Likewise.
2443 * stor-layout.c: Likewise.
2444 * stupid.c: Likewise.
2445 * xcoffout.c: Likewise.
2446 * xcoffout.h: Likewise.
2448 2000-01-17 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2450 * toplev.c: PROTO -> PARAMS.
2451 * toplev.h: Likewise.
2454 * unroll.c: Likewise.
2455 * varasm.c: Likewise.
2456 * varray.c: Likewise.
2457 * varray.h: Likewise.
2459 2000-01-17 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2461 * reload.c: PROTO -> PARAMS.
2462 * reload.h: Likewise.
2463 * reload1.c: Likewise.
2464 * reorg.c: Likewise.
2465 * resource.h: Likewise.
2468 * rtlanal.c: Likewise.
2469 * sbitmap.h: Likewise.
2470 * sdbout.c: Likewise.
2471 * stack.h: Likewise.
2473 * system.h: Likewise.
2475 2000-01-17 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2477 * machmode.h: PROTO -> PARAMS.
2478 * mbchar.h: Likewise.
2479 * mips-tdump.c: Likewise.
2480 * mips-tfile.c: Likewise.
2481 * optabs.c: Likewise.
2482 * output.h: Likewise.
2483 * prefix.c: Likewise.
2484 * profile.c: Likewise.
2485 * protoize.c: Likewise.
2487 * recog.c: Likewise.
2488 * recog.h: Likewise.
2489 * regclass.c: Likewise.
2490 * regmove.c: Likewise.
2493 2000-01-17 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2495 * ggc-common.c: PROTO -> PARAMS.
2496 * ggc-page.c: Likewise.
2497 * ggc-simple.c: Likewise.
2499 * global.c: Likewise.
2500 * graph.c: Likewise.
2501 * gthr-win32.h: Likewise.
2502 * haifa-sched.c: Likewise.
2503 * halfpic.h: Likewise.
2504 * integrate.c: Likewise.
2505 * integrate.h: Likewise.
2508 * local-alloc.c: Likewise.
2512 2000-01-17 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2514 * genattr.c: PROTO -> PARAMS.
2515 * genattrtab.c: Likewise.
2516 * gencheck.c: Likewise.
2517 * gencodes.c: Likewise.
2518 * genconfig.c: Likewise.
2519 * genemit.c: Likewise.
2520 * genextract.c: Likewise.
2521 * genflags.c: Likewise.
2522 * gengenrtl.c: Likewise.
2523 * genopinit.c: Likewise.
2524 * genoutput.c: Likewise.
2525 * genpeep.c: Likewise.
2526 * genrecog.c: Likewise.
2528 2000-01-16 Mark Mitchell <mark@codesourcery.com>
2530 * tree.h (BINFO_VPTR_FIELD): Augment documentation.
2532 2000-01-16 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
2534 * aclocal.m4 (AC_FUNC_MMAP_ZERO): New macro.
2535 * configure.in (AC_FUNC_MMAP_ZERO): Use instead of AC_FUNC_MMAP.
2536 * ggc-page.c: Replace HAVE_MMAP with HAVE_MMAP_ZERO.
2537 * configure, config.in: Rebuilt.
2539 2000-01-16 Zack Weinberg <zack@wolery.cumb.org>
2541 * config/i386/i386.md: Add peephole to merge successive stack
2544 Sat Jan 15 15:41:14 EST 2000 John Wehle (john@feith.com)
2546 * gcse.c (insert_insn_end_bb): Use emit_block_insn_before
2547 instead of emit_insn_before. Also handle NOTE_INSN_BASIC_BLOCK
2548 when walking backwards to find all the parameter loads when
2549 the basic block ends in a call.
2551 2000-01-15 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
2553 * loop.c (this_loop_info): Delete.
2554 (uid_loop): Add in place of uid_loop_num. All uses updated.
2555 (loop_number_exit_count): Delete and replace with entry in loop
2556 structure. All uses updated.
2557 (loop_number_loop_starts, loop_number_loop_ends): Likewise.
2558 (loop_number_loop_cont, loop_number_cont_dominator): Likewise.
2559 (loop_outer_loop): Likewise.
2560 (loop_invalid, loop_number_exit_labels): Likewise.
2561 (loop_used_count_register): Delete and replace with entry in
2562 loop_info structure.
2563 (find_and_verify_loops): Add loops argument.
2564 (verify_dominator, mark_loop_jump, prescan_loop): Replace loop_start,
2565 loop_end, etc. arguments with loop structure pointer. All callers
2567 (loop_reg_used_before_p, scan_loop, strength_reduce): Likewise.
2568 (check_dbra_loop, next_insn_in_loop, try_copy_prop): Likewise.
2569 (load_mems_and_recount_loop_regs_set, load_mems): Likewise.
2570 (insert_bct): Likewise.
2571 (basic_induction_var): New argument level.
2572 * loop.h (struct loop_info): Delete fields num, loops_enclosed,
2573 vtop, and cont. Add used_count_register.
2574 (uid_loop): Delete declaration.
2575 (loop_number_exit_count): Likewise.
2576 (loop_number_loop_starts, loop_number_loop_ends): Likewise.
2577 (loop_number_loop_cont, loop_number_cont_dominator): Likewise.
2578 (loop_outer_loop, loop_used_count_register): Likewise.
2579 (loop_invalid, loop_number_exit_labels): Likewise.
2580 (unroll_loop): Replace loop_start and loop_end arguments
2581 with loop structure pointer.
2582 (loop_precondition_p, loop_iterations): Likewise.
2583 Include basic-block.h.
2584 * unroll.c: (unroll_loop): Replace loop_start and loop_end arguments
2585 with loop structure pointer.
2586 (loop_precondition_p, loop_iterations): Likewise.
2587 * basic-block.h (struct loop): New entries vtop, cont,
2588 cont_dominator, start, end, top, scan_start, exit_labels,
2590 * Makefile.in (LOOP_H): Add basic-block.h to dependencies.
2592 2000-01-15 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
2594 * defaults.h (ASM_OUTPUT_ASCII): Use ISDIGIT.
2596 2000-01-14 Nathan Sidwell <sidwell@codesourcery.com>
2598 * config.in: Rebuilt for 2000-01-13 change to acconfig.h.
2600 2000-01-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2602 * pdp11-protos.h: New file.
2604 * pdp11.c: Include tm_p.h. Add static prototypes. Fix compile
2607 * pdp11.h: Move prototypes to pdp11-protos.h. Fix compile time
2610 * pdp11.md: Likewise.
2614 2000-01-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2616 * mn10300-protos.h: New file.
2618 * mn10300.c: Include tm_p.h. Add static prototypes. Fix compile
2621 * mn10300.h: Move prototypes to mn10300-protos.h. Fix compile time
2624 * mn10300.md: Likewise.
2626 2000-01-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2628 * mn10200-protos.h: New file.
2630 * mn10200.c: Include tm_p.h. Add static prototypes. Fix compile
2633 * mn10200.h: Move prototypes to mn10200-protos.h. Fix compile time
2636 * mn10200.md: Likewise.
2638 2000-01-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2640 * h8300-protos.h: New file.
2642 * h8300.c: Include tm_p.h. Add static prototypes. Fix compile
2645 * h8300.h: Move prototypes to h8300-protos.h. Fix compile time
2648 * h8300.md: Likewise.
2650 2000-01-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2652 * varasm.c (asm_output_bss): Mark parameters with ATTRIBUTE_UNUSED.
2653 (asm_emit_uninitialised): Likewise.
2655 2000-01-13 Gavin Romig-Koch <gavin@cygnus.com>
2657 * config/mips/mips.h (ISA_HAS_INT_CONDMOVE): New.
2658 * config/mips/mips.md: Use ISA_HAS_INT_CONDMOVE.
2660 2000-01-14 Clinton Popetz <cpopetz@cygnus.com>
2662 * config/mips/mips.c (override_options): Don't turn on extra
2663 alignment for mips16.
2665 2000-01-14 Clinton Popetz <cpopetz@cygnus.com>
2667 * config/mips/mips.c (mips_va_arg): Fix fprv for the 32 bit
2668 eabi, and make sure queued POSTINCREMENT rtl is emitted at
2671 2000-01-14 Clinton Popetz <cpopetz@cygnus.com>
2673 * builtins.c (PAD_VARARGS_DOWN): Define.
2674 (std_expand_builtin_va_arg): Use the above macro.
2675 * config/mips/mips.h (PAD_VARARGS_DOWN): Define.
2676 * tm.texi (Register Arguments): Document the above macro.
2678 2000-01-14 Nick Clifton <nickc@cygnus.com>
2680 * emit-rtl.c (emit_insn): If checking is enabled, make sure
2681 that this function has not been used to emit a jump
2684 * jump.c (return_jump_1): Cope with being passed a null rtx.
2686 2000-01-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2688 * eh-common.h: PROTO -> PARAMS.
2689 * emit-rtl.c: Likewise.
2690 * errors.c: Likewise.
2691 * errors.h: Likewise.
2692 * except.c: Likewise.
2693 * except.h: Likewise.
2694 * explow.c: Likewise.
2695 * expmed.c: Likewise.
2698 * final.c: Likewise.
2699 * fix-header.c: Likewise.
2701 * fold-const.c: Likewise.
2702 * function.c: Likewise.
2703 * function.h: Likewise.
2705 * gcov-io.h: Likewise.
2709 2000-01-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2711 * sh-protos.h: New file.
2713 * sh.c: Include insn-config.h, toplev.h, recog.h and tm_p.h.
2714 Add static prototypes. Fix compile time warnings.
2716 * sh.h: Move prototypes to sh-protos.h. Fix compile time warnings.
2720 2000-01-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2722 * arc-protos.h: New file.
2724 * arc.c: Include tm_p.h. Add static prototypes. Fix compile
2727 * arc.h: Move prototypes to arc-protos.h. Fix compile time
2732 2000-01-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2734 * dsp16xx-protos.h: New file.
2736 * dsp16xx.c: Include tm_p.h. Add static prototypes. Fix compile
2739 * dsp16xx.h: Move prototypes to dsp16xx-protos.h. Fix compile time
2742 * dsp16xx.md: Likewise.
2744 2000-01-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2746 * convex-protos.h: New file.
2748 * convex.c: Include tm_p.h. Add static prototypes. Fix compile
2751 * convex.h: Move prototypes to convex-protos.h. Fix compile time
2754 2000-01-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2756 * elxsi-protos.h: New file.
2758 * elxsi.c: Include tm_p.h. Add static prototypes. Fix compile
2761 * elxsi.h: Move prototypes to elxsi-protos.h. Fix compile time
2764 * elxsi.md: Likewise.
2766 2000-01-14 Clinton Popetz <cpopetz@cygnus.com>
2768 * config/mips/mips.h (REGISTER_MOVE_COST): Remove redundant
2769 case for moving from HI/LO/HI_LO_REG. This makes the behavior
2770 match the comment for MIPS16.
2772 Fri Jan 14 00:28:06 2000 Jeffrey A Law (law@cygnus.com)
2774 * flow.c (split_edge): Do not call set_block_for_insn if we
2775 do not have a basic_block_for_insn structure.
2777 * fr30.h (TRAMPOLINE_TEMPLATE): Use nops to ensure the static chain
2778 and destination functions are 32bit aligned within the trampoline.
2779 (TRAMPOLINE_SIZE, INITIALIZE_TRAMPOLINE): Corresponding changes.
2780 (TRAMPOLINE_ALIGNMENT): Define.
2782 * cse.c (cse_insn): When changing (set (pc) (reg)) to
2783 (set (pc) (label_ref)), verify the change creates a valid insn.
2785 * fr30.c (call_operand): Tighten and rework to match rules for
2786 call RTL expressions.
2787 * fr30.h (PREDICATE_CODES, case call_operand): Only allow MEMs.
2788 * fr30.md (call patterns): Improve constraints.
2790 Thu Jan 13 23:44:03 2000 Richard Henderson <rth@cygnus.com>
2792 * fr30.c (fr30_expand_epilogue): Revert last change.
2793 Use emit_jump_insn for the return insn.
2795 Thu Jan 13 14:46:03 2000 Jason Eckhardt <jle@cygnus.com>
2796 Stan Cox <scox@cygnus.com>
2798 * predict.c: New file. Preliminary infrastructure work for static
2799 branch prediction and basic block reordering.
2800 * basic-block.h: Add prototype for estimate_probability.
2801 * Makefile.in: Add rules for predict.o.
2803 2000-01-13 Jason Merrill <jason@yorick.cygnus.com>
2805 * fixincludes (va_list): Use __not_va_list__ for the dummy.
2806 * fixinc/*: Likewise.
2808 2000-01-13 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2810 * cccp.c: PROTO -> PARAMS.
2812 * collect2.c: Likewise.
2813 * combine.c: Likewise.
2814 * convert.h: Likewise.
2816 * dbxout.c: Likewise.
2817 * dbxout.h: Likewise.
2818 * diagnostic.c: Likewise.
2819 * doprint.c: Likewise.
2820 * dwarf2out.c: Likewise.
2821 * dwarf2out.h: Likewise.
2822 * dwarfout.c: Likewise.
2823 * dwarfout.h: Likewise.
2824 * dyn-string.h: Likewise.
2826 2000-01-13 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2828 * calls.c (emit_call_1): Wrap varaible `struct_value_size_rtx' in
2829 macro conditionals guarding use.
2831 * dwarf2out.c: Include "tm_p.h".
2833 * function.c (locate_and_pad_parm): Mark parameter with
2835 (expand_function_end): Likewise for variable `context'.
2837 * reorg.c (make_return_insns): Wrap prototype in macro HAVE_return.
2839 2000-01-13 Nick Clifton <nickc@cygnus.com>
2841 * config/fr30/fr30.c (fr30_expand_epilogue): Emit USEs of pop'ed
2842 register to prevent compile time warnings.
2844 2000-01-13 Zack Weinberg <zack@wolery.cumb.org>
2846 * longlong.h [i386] (udiv_qrnnd): Rename 'd' argument to 'dv'
2847 to avoid -Wtraditional warning.
2849 2000-01-13 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2851 * 1750a-protos.h: New file.
2853 * 1750a.c: Include tm_p.h. Add static prototypes. Fix compile
2856 * 1750a.h: Move prototypes to 1750a-protos.h. Fix compile time
2859 * 1750a.md: Likewise.
2861 2000-01-13 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2863 * a29k-protos.h: New file.
2865 * a29k.c: Include tm_p.h. Add static prototypes. Fix compile
2868 * a29k.h: Move prototypes to a29k-protos.h. Fix compile time
2871 2000-01-13 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2873 * clipper-protos.h: New file.
2875 * clipper.c: Include tm_p.h. Add static prototypes. Fix compile
2878 * clipper.h: Move prototypes to clipper-protos.h. Fix compile time
2881 Thu Jan 13 16:03:06 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
2883 * reload1.c (reload_combine_note_store): Use HARD_REGNO_NREGS.
2885 2000-01-13 Nathan Sidwell <sidwell@codesourcery.com>
2887 * configure.in (--enable-new-gxx-abi): New option.
2888 * acconfig.h (ENABLE_NEW_GXX_ABI): New define.
2889 * Makefile.in (GXX_ABI_FLAG): New variable.
2890 * configure: Regenerate.
2892 2000-01-13 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
2894 * stor-layout.c (layout_type): Use FORCE_STRUCT_BLK.
2895 * tm.texi (FORCE_STRUCT_BLK): Document.
2896 * config/c4x/c4x.h (FORCE_STRUCT_BLK): New macro.
2898 Wed Jan 12 23:12:47 2000 Hans-Peter Nilsson <hp@axis.com>
2900 * config/ns32k/ns32k.md: Revert Jan 9 change.
2902 * genrecog.c (maybe_both_true_2): Do not compare a predicate-test
2903 to a mode-test, if the predicate is address_operand.
2905 Wed Jan 12 22:34:00 2000 Jeffrey A Law (law@cygnus.com)
2907 * combine.c (if_then_else_cond): Be careful about what kinds
2908 of RTL expressions are passed to operand_subword.
2910 * flow.c (split_edge): If we have to insert a new jump, make
2911 sure to associate it with a basic block.
2913 * flow.c (commit_one_edge_insertion): A block with one successor
2914 can end in a JUMP_INSN that is not a simplejump.
2916 2000-01-12 Robert Lipe <robertl@sco.com>
2918 * i386/sco5.h (INIT_SECTION_ASM_OP_COFF): Rename section to "ctor".
2919 (BUILD_VA_LIST_TYPE): Define.
2920 (EH_FRAME_SECTION_ASM_OP): Explictly define to better interact
2923 2000-01-12 Jason Merrill <jason@casey.cygnus.com>
2925 * cccp.c (do_pragma): Add cast to (char *).
2927 2000-01-12 Richard Henderson <rth@cygnus.com>
2928 Fred Fish <fnf@be.com>
2929 Jason Merrill <jason@cygnus.com>
2931 * configure.in (i?86-*-beos{pe,elf,}*): Recognize.
2932 * i386/t-beos, i386/x-beos, i386/xm-beos.h: New files.
2933 * i386/beos-elf.h, i386/beos-pe.h: New files.
2935 * Makefile.in (CROSS_SYSTEM_HEADER_DIR): New.
2936 * cross-make (SYSTEM_HEADER_DIR): Define using
2937 CROSS_SYSTEM_HEADER_DIR.
2939 * gcc.c (LIBRARY_PATH_ENV): Provide default.
2940 (process_command): Use it.
2941 (main): Likewise. Kill trailing = from env vars.
2942 (build_search_list): Put it back.
2943 * collect2.c (main): Use LIBRARY_PATH_ENV.
2945 * configure.in (GCC_NEED_DECLARATIONS): Add environ.
2946 * toplev.c: Use NEED_DECLARATION_ENVIRON.
2948 * tm.texi (Frame Layout): Document SMALL_STACK.
2949 * c-common.c (c_common_nodes_and_builtins): Check it.
2951 * system.h: Undef alloca after including glibc's <stdlib.h>,
2952 if USE_C_ALLOCA is defined.
2954 * gcc.c (set_input): New fn.
2955 (main): After all input files are compiled, reset the input file
2958 * aclocal.m4 (rindex, index): If already defined, don't attempt
2961 * ginclude/varargs.h: (__va_list__): Define ifndef.
2962 * ginclude/stdarg.h: Likewise.
2964 * ginclude/stddef.h (__WCHAR_TYPE__) [BEOS]: Use int
2965 instead of unsigned char.
2967 * hash.h (true, false, boolean): Undef before enum.
2969 * expmed.c (choose_multiplier): Cast &mhigh_lo and &mhigh_hi to be
2970 proper type of "HOST_WIDE_INT *", rather than their natural type of
2971 "unsigned HOST_WIDE_INT *".
2973 2000-01-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2975 * svr3.h (ASM_FILE_START): Wrap if-clause in squigly brackets.
2977 * recog.c (memory_address_p): Mark parameter with ATTRIBUTE_UNUSED.
2979 * regclass.c (choose_hard_reg_mode): Likewise.
2981 * reload.c (find_valid_class, strict_memory_address_p): Likewise.
2983 * reorg.c (optimize_skip): Wrap prototype in macro conditionals.
2985 2000-01-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2987 * c-common.c: PROTO -> PARAMS.
2988 * c-common.h: Likewise.
2989 * c-decl.c: Likewise.
2990 * c-iterate.c: Likewise.
2991 * c-lang.c: Likewise.
2992 * c-lex.c: Likewise.
2993 * c-lex.h: Likewise.
2994 * c-parse.in: Likewise.
2995 * c-pragma.c: Likewise.
2996 * c-pragma.h: Likewise.
2997 * c-tree.h: Likewise.
2998 * c-typeck.c: Likewise.
2999 * objc/objc-act.c: Likewise.
3000 * objc/objc-act.h: Likewise.
3002 2000-01-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3004 * m88k-protos.h: New file.
3006 * m88k.c: Include tm_p.h. Add static prototypes. Fix compile
3009 * m88k.h: Move prototypes to m88k-protos.h. Fix compile time warnings.
3011 * m88k.md: Likewise.
3013 * tekXD88.h: Likewise.
3015 2000-01-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3017 * m68k-protos.h: New file.
3019 * m68k.c: Include tm_p.h. Add static prototypes. Fix compile
3022 * m68k.h: Move prototypes to m68k-protos.h. Fix compile time warnings.
3024 * mot3300.h: Likewise.
3026 2000-01-12 Richard Earnshaw <rearnsha@arm.com>
3028 * haifa-sched.c (split_edges): Pass edgeset_size as second arg to
3030 (extract_bitlist): Declare bitlen.
3032 2000-01-12 Zack Weinberg <zack@wolery.cumb.org
3034 * cccp.c: Accept and ignore -lang-fortran.
3036 * c-typeck.c (build_c_cast): Issue -Wcast-qual warnings if the
3037 qualifiers don't match at any level of pointerness.
3039 2000-01-12 Robert Lipe <robertl@sco.com>
3041 * i386/sysv5.h (CPP_SPEC, LIBSPEC): Add -pthreadT.
3043 2000-01-12 Bernd Schmidt <bernds@cygnus.co.uk>
3045 * reload1.c (reload_reg_unavailable): New static variable.
3046 (reload_reg_free_p): Test it.
3047 (reload_reg_free_for_value_p): Test it instead of
3049 (choose_reload_regs_init): Compute it.
3051 Wed Jan 12 03:24:41 2000 Toshiyasu Morita (toshi.morita@sega.com)
3053 * reorg.c (fill_slots_from_thread): Check modified_in_p
3056 Wed Jan 12 03:20:31 2000 John Marshall <john_w_marshall@palm.com>
3058 * gcc.texi (Funding, GNU/Linux, Copying, Contributors): Format
3059 these nodes even if INTERNALS is not set.
3061 Wed Jan 12 09:39:22 2000 Nick Burrett <nick.burrett@btinternet.com>
3063 * gcse.c (delete_null_pointer_checks_1): Cope when
3064 get_condition cannot determine the condition.
3066 2000-01-12 Gabriel Dos Reis <gdr@codesourcery.com>
3068 * toplev.h (set_message_length): Declare.
3070 * diagnostic.c (obstack_chunk_alloc): Define macro.
3071 (obstack_chunk_free): Likewise.
3072 (struct output_buffer): New data structure.
3074 (output_maximum_width): New variable.
3075 (doing_line_wrapping, set_message_length, init_output_buffer,
3076 get_output_prefix, output_space_left, emit_output_prefix,
3077 output_newline, output_append, output_puts, dump_output,
3078 vbuild_message_string, build_message_string, build_location_prefix,
3079 voutput_notice, output_printf, line_wrapper_printf,
3080 vline_wrapper_message_with_location): New functions. Implement
3081 automatic line wrapping.
3082 (v_message_with_decl): Make it handle automatic line wrapping.
3083 (v_error_with_file_and_line): Likewise.
3084 (v_warning_with_file_and_line): Likewise.
3085 (announce_function): Likewise.
3086 (default_print_error_function): Likewise.
3088 2000-01-11 16:24 -0800 Zack Weinberg <zack@wolery.cumb.org>
3090 * cpplib.h (struct cpp_options): Change lang_asm to char.
3092 * cppinit.c (builtin_array): Take out __STDC_VERSION__, it's
3093 done in cpp_handle_option now.
3094 (initialize_builtins): Take out special case code used only by
3096 (cpp_handle_option): Turn off trigraphs and trigraph warnings
3097 if -traditional. Recognize -lang-fortran and set
3098 lang_fortran, also turn off cplusplus_comments.
3099 (print_help): Document -lang-fortran.
3100 * cpplib.c (handle_directive): Ignore `# 123 "file"' if
3101 lang_asm. Ignore all directives other than `# 123 "file"' if
3103 (cpp_get_token): If -traditional, don't recognize directives
3104 unless the # is in column 1.
3105 (parse_string): If lang_fortran or lang_asm, silently
3106 terminate strings ('' or "") at end of line.
3107 Remove unnecessary braces.
3109 2000-01-11 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
3110 Richard Henderson <rth@cygnus.com>
3112 * resource.c (mark_referenced_resources): Mark a set strict_low_part
3114 * config/i386/i386.c (ix86_expand_setcc): Re-enable clear + set
3115 strict_low_part when possible.
3117 2000-01-11 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3119 * alias.c: PROTO -> PARAMS.
3120 * basic-block.h: Likewise.
3121 * bitmap.c: Likewise.
3122 * bitmap.h: Likewise.
3123 * builtins.c: Likewise.
3124 * c-aux-info.c: Likewise.
3125 * caller-save.c: Likewise.
3126 * calls.c: Likewise.
3128 2000-01-11 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3130 * Makefile.in (toplev.o): Depend on regs.h.
3132 * output.h (tdesc_section): Prototype.
3134 * regclass.c (copy_cost): Mark parameters with ATTRIBUTE_UNUSED.
3136 * sdbout.c: Include "tm_p.h".
3138 * toplev.c: Include "regs.h".
3140 Tue Jan 11 11:37:58 2000 Mike Stump <mrs@wrs.com>
3142 * unroll.c (unroll_loop): Add EH support.
3144 2000-01-11 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3146 * pa-protos.h: New file.
3148 * pa.c: Include recog.h and tm_p.h.
3149 (compute_zdepwi_operands, compute_movstrsi_length,
3150 remove_useless_addtr_insns, store_reg, load_reg, set_reg_plus_d,
3151 find_addr_reg, import_milli): Add static prototypes.
3152 (pa_cpu_string, pa_arch_string): Constify a char*.
3153 (legitimize_pic_address): Pass argument `mode' to pic_label_operand.
3154 (read_only_operand): Add argument `mode'.
3155 (singlemove_string, output_move_double, output_fp_move_double,
3156 output_block_move, output_and, output_ior, output_ascii,
3157 remove_useless_addtr_insns, milli_names, output_mul_insn,
3158 output_div_insn, output_mod_insn, output_arg_descriptor,
3159 output_cbranch, output_bb, output_bvb, output_dbra, ,
3160 output_millicode_call, output_call, hppa_encode_label,
3161 output_parallel_movb, output_parallel_addb): Constify a char*.
3162 (hppa_va_start): Mark parameter `stdarg_p' with ATTRIBUTE_UNUSED.
3163 (output_parallel_addb): Remove extra arg to `constrain_operands'
3165 * pa.h: Move all prototypes to pa-protos.h.
3166 (pa_cpu_string, pa_arch_string): Constify a char*.
3167 (LEGITIMIZE_ADDRESS): Call `symbolic_operand' with mode argument.
3169 * pa.md: Call `function_label_operand' with mode argument.
3170 Likewise for `read_only_operand'.
3171 Fix nesting of parens in call to `symbolic_operand'.
3173 2000-01-11 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3175 * i860-protos.h: New file.
3177 * i860.c: Include tm_p.h. Add static prototypes. Fix compile
3180 * i860.h: Move prototypes to i860-protos.h. Fix compile time warnings.
3182 * i860.md: Likewise.
3184 Tue Jan 11 18:59:35 MET 2000 Jan Hubicka <jh@suse.cz>
3186 * i386.md (movstrsi expander): Rewrite.
3187 (movstrsi_1 insn): Deleted.
3188 (strmovhi, strmovqi expander): New expanders.
3189 (movshi_1, movsqi_1, rep_movsi, rep_movqi): New patterns.
3190 * i386.c (x86_single_stringop): New global variable.
3191 * i386.h (x86_single_stringop): Declare.
3192 (TARGET_SINGLE_STRINGOP): New macro.
3194 2000-01-11 Clinton Popetz <cpopetz@cygnus.com>
3196 * config/mips/mips.c (mips_va_arg): For EABI, emit the queued
3197 integer vararg POSTINCREMENT before the destination of the jump
3198 for the hard fp case.
3199 (function_arg_pass_by_reference): Pass a copy of CUM to
3202 * config/mips/mips.h (GO_IF_LEGITIMATE_ADDRESS): Move check
3203 for CONSTANT_ADDRESS_P above while loop for subreg.
3205 2000-01-11 Clinton Popetz <cpopetz@cygnus.com>
3207 * flow.c (propagate_block): When a prologue/epilogue insn
3208 is marked dead, unconditionally clear libcall_is_dead and
3209 insn_is_dead, and only dump rtl if warnings aren't being
3212 Tue Jan 11 16:26:47 MET 2000 Jan Hubicka <jh@suse.cz>
3214 * i386.c (ix86_attr_length_default): Handle TYPE_STR and TYPE_CLD.
3215 * i386.md (FIRST_PSEUDO_REGISTER): Set to 20.
3216 (FIXED_REGISTERS): Set dirflag as fixed.
3217 (CALL_USED_REGISTERS): Set dirflag as used.
3218 (REG_ALLOC_ORDER): Set dirflag as last one.
3219 (DIRFLAG_REG): New macro.
3220 (MD_ASM_CLOBBERS): Asm clobber dirflag for backward compatibility.
3221 (HI_REGISTER_NAMES): Add dirflag.
3222 (DEBUF_PRINT_REG): Handle dirflag.
3223 * i386.md (type attribute): New cld and str types.
3224 (length_opcode attribute): Set cld and str to 1.
3225 (memory attribute): Set str to unknown - it is not clear from the
3227 (pent_np function unit): Prefixed string operations takes 12 cycles
3228 minimally; cld takes 2 cycles.
3229 (ppro_uops attribute): Str is "many" and cld is "few".
3230 (ppro_p0 unit): Handle cld here.
3231 (k6_alux unit): Handle cld and str types.
3232 (k6_load unit): It is ocupied by str opcodes.
3233 (k6_store unit): It is ocupied by str opcodes.
3234 (athlon_decode): Str is vector decoded.
3235 (athlon_ieu): Handle str and cld.
3237 (movstrsi, clrstr, cmpstr, strlen expander): Emit cld instruction
3238 (movstrsi_1, clrstrsi_1, cmpstrsi_1, strlensi_1,
3239 cmpstrsi_nz_1 insn): Do not output cld instruction
3241 Tue Jan 11 06:14:39 2000 David Starner <dstarner98@aasaa.ofe.org>
3243 * gcc.texi (G++ and GCC): Add Java and Chill.
3244 (Bug Critera): Don't list languages.
3246 * gcc.texi (Incompatibilities): No longer claim most C compilers
3249 * gcc.texi (G++ and GCC): Update other front-ends list.
3251 Tue Jan 11 05:49:01 2000 Jeffrey A Law (law@cygnus.com)
3253 * i386.c (ix86_expand_setcc): Fix typo.
3254 (ix86_expand_movcc): Similarly.
3256 * Band-aid until haifa's bitset implementation is nuked.
3257 * haifa-sched.c (extract_bitlst): New parameter for size of the
3258 bitset in bits. All callers changed. Avoid looking at undefined
3260 (edgeset_bitsize): New variable.
3261 (schedule_region): Initialize edgeset_bitsize.
3263 2000-01-10 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3265 * Makefile.in (optabs.o): Depend on real.h
3266 (resource.o): Depend on insn-attr.h
3268 * builtins.c (result_vector): Wrap prototype in macro conditions
3269 governing definition and use.
3271 * c-common.c: Include tm_p.h.
3273 * c-lex.c: Likewise.
3275 * elfos.h: Constify a char*.
3277 * final.c (align_fuzz): Wrap prototype in macro HAVE_ATTR_length.
3278 (get_attr_length, shorten_branches, profile_after_prologue): Mark
3279 parameter with ATTRIBUTE_UNUSED.
3281 * fold-const.c (exact_real_inverse): Wrap variable `i' in
3284 * haifa-sched.c (schedule_insns): Mark parameter with
3287 * optabs.c: Include real.h.
3289 * real.h (ereal_atof): Add prototype arguments.
3291 * resource.c: Include insn-attr.h.
3293 * sdbout.c (sdbout_queue_anonymous_type,
3294 sdbout_dequeue_anonymous_types): Wrap in macro
3295 SDB_ALLOW_FORWARD_REFERENCES.
3296 (sdbout_init, sdbout_start_new_source_file): Mark parameter with
3299 * stmt.c (expand_return): Wrap variable `op0' in macro HAVE_return.
3301 * stupid.c: Include tm_p.h.
3303 * tree.c (real_value_from_int_cst): Mark parameter with
3306 2000-01-10 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3308 * i960-protos.h: New file.
3310 * i960.c: Include tm_p.h. Add static prototypes. Fix compile
3313 * i960.h: Move prototypes to i960-protos.h. Fix compile time warnings.
3315 2000-01-10 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
3317 * combine.c (expand_field_assignment): Do not discard SUBREGs
3318 while computing nonzero_bits.
3320 2000-01-09 Nick Clifton <nickc@cygnus.com>
3322 * config/arm/arm.c: Fix compile time warnings about signed vs
3324 * config/arm/arm.h: Fix compile time warnings about signed vs
3327 2000-01-09 Philip Blundell <philb@gnu.org>
3329 * config/arm/arm.c (output_return_instruction): Use `ldr' rather
3330 than `ldm' with only one register.
3331 * config/arm/arm.md (push_multi): Use `str' rather than `stm' with
3334 * config/arm/linux-gas.h (CLEAR_INSN_CACHE): Say that R0 is
3337 Sun Jan 9 17:50:23 2000 Hans-Peter Nilsson <hp@axis.com>
3339 * config/ns32k/ns32k.md (load or push effective address): Operand 1
3342 2000-01-09 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3344 * elfos.h (ASM_OUTPUT_LIMITED_STRING): Add parentheses around
3345 assignment used as truth value.
3347 * function.c (assign_temp): Mark parameter `dont_promote' with
3348 ATTRIBUTE_UNUSED. Wrap variable `unsignedp' with macro
3349 PROMOTE_FOR_CALL_ONLY.
3351 * genrecog.c (write_subroutine): Mark variable `operands' with
3354 * optabs.c (prepare_cmp_insn): Mark parameter `align' with
3357 * sdbout.c (sdbout_init): Likewise for parameter `asm_file'.
3358 (sdbout_begin_block, sdbout_end_block): Likewise for `file'.
3360 * toplev.c (note_deferral_of_defined_inline_function): Likewise
3363 2000-01-09 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
3365 * config/c4x.h: Tidy up comments.
3366 * config/c4x.c: Likewise.
3368 Sun Jan 9 01:02:55 EST 2000 John Wehle (john@feith.com)
3370 * fold-const.c (lshift_double, rshift_double): Handle
3371 shifting by 2 * HOST_BITS_PER_WIDE_INT correctly.
3373 2000-01-08 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
3375 * toplev.c (rest_of_compilation): Initialize cse_not_expected as
3376 in prepare_function_start().
3378 Sat Jan 8 12:12:46 2000 Nick Clifton <nickc@cygnus.com>
3380 * config/v850/v850.c (expand_epilogue): Interrupt functions no
3381 longer allocate extra stack for function calls.
3383 2000-01-08 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
3385 * config/c4x/c4x.md (*subqf3_set): Fix typo.
3387 2000-01-08 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
3389 * config/c4x/c4x.h (CALLER_SAVE_PROFITABLE): Define as 0.
3391 2000-01-07 David Edelsohn <edelsohn@gnu.org>
3393 * rs6000.c (processor_target_table): Add power3 as alias for 630.
3394 * aix43.h: Revert Aug 2 change.
3395 (HAS_INIT_SECTION): Define, not visible yet.
3396 (LD_INIT_SWITCH): Define, not visible yet.
3397 * t-aix43 (MULTILIB_OPTIONS): Revert Aug 2 change.
3399 * glimits.h (__LONG_MAX__): Recognize 64-bit AIX too.
3401 * collect2.c (main): Expand ld2 size further.
3402 (export_object_lst): Cast assignment to avoid warning.
3403 (main, LD_INIT_SWITCH): Add AIX 4.2+ -binitfini support.
3404 (scan_prog_file, COFF): Do not collect initialization or
3405 finalization functions generated for entire shared object if
3406 init/fini support present.
3408 2000-01-07 Nick Clifton <nickc@cygnus.com>
3410 * config/elfos.h: Tidy up formatting of marcos. Make sure
3411 that .section directives are always prefixed by a tab.
3413 * config/svr4.h: Add #include "elfos.h" and remove duplicate
3416 2000-01-07 Matt Austern <austern@sgi.com>
3418 * fold-const.c (real_hex_to_f): Remove duplicate declaration of
3421 Fri Jan 7 01:55:34 2000 Jeffrey A Law (law@cygnus.com)
3423 * Makefile.in (crtend.o): Pass @inhibit_libc@ to compilation of
3425 (crtbegin.o, s-crtS): Likewise.
3427 2000-01-06 Richard Henderson <rth@cygnus.com>
3429 * alpha.md (adddi_2+1): Limit offset such that it will be
3430 loadable with a single ldah+lda pair.
3431 (adddi_2+2): Explicitly fail split if we can't make it work.
3433 2000-01-06 Mumit Khan <khan@xraylith.wisc.edu>
3435 * protoize.c: Conditionally include unistd.h.
3436 (IS_SAME_PATH_CHAR): New macro.
3437 (IS_SAME_PATH): New macro.
3438 (CPLUS_FILE_SUFFIX): New macro.
3439 (cplus_suffix): New static variable.
3440 (is_abspath): New static function.
3441 (in_system_include_dir): Handle DOS style pathnames.
3442 (file_could_be_converted): Likewise.
3443 (file_normally_convertible): Likewise.
3444 (directory_specified_p): Likewise.
3445 (file_excluded_p): Likewise.
3446 (abspath): Likewise.
3447 (shortpath): Likewise.
3448 (referenced_file_is_newer): Likewise.
3449 (save_def_or_dec): Likewise.
3450 (do_processing): Likewise.
3452 (edit_file): Likewise. Use rename instead of link.
3453 (rename_c_file): Likewise. Don't rename syscalls file.
3454 (munge_compile_params): Define null device for DOS based systems.
3455 (process_aux_info_file): Use binary mode if appliable.
3456 (edit_file): Likewise.
3457 * invoke.texi (Running Protoize): Document C++ suffixes used.
3459 * cccp.c: Delete PATH_SEPARATOR, DIR_SEPARATOR and
3460 IS_DIR_SEPARATOR macros.
3461 * collect2.c: Likewise.
3462 * cppinit.c: Likewise.
3463 * dwarf2out.c: Likewise.
3466 * prefix.c: Likewise.
3468 * toplev.c: Likewise.
3469 * system.h: And move to here.
3471 * prefix.c (update_path): Fix typo in variable name.
3473 2000-01-06 Richard Henderson <rth@cygnus.com>
3475 * flow.c (mark_set_1): Use loop_depth+1 as reference weight.
3476 (find_auto_inc, mark_used_regs, try_pre_increment_1): Likewise.
3477 (count_reg_sets_1, count_reg_references): Likewise.
3478 (flow_loops_level_compute): Start counting actual loop depth at 1.
3479 (flow_loops_find): Likewise.
3480 * local-alloc.c (update_equiv_regs): Likewise.
3481 * regclass.c (regclass): Re-instate Jan 4 0-based loop_depth change.
3483 2000-01-06 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
3485 * defaults.h (DWARF_FRAME_REGISTERS): if not defined, default to
3486 FIRST_PSEUDO_REGISTER
3487 * dwarf2out.c: Don't include frame.h
3488 * dwarfout.c: Likewise
3489 * Makefile.in (dwarfout.o, dwarf2out.o): Remove dependence on
3492 Thu Jan 6 13:44:59 CET 2000 Jan Hubicka <jh@suse.cz>
3494 * reg-stack.c (subst_stack_regs_pat): Handle correctly USEs of
3497 * i386.c (movsf splitter): Fix typo in my last checkin.
3499 2000-01-05 Nick Clifton <nickc@cygnus.com>
3501 * varasm.c (IN_NAMED_SECTION): Allow targets to provide their
3502 own definition of this macro.
3503 (asm_emit_uninitialised): Invoke UNIQUE_SECTION if either
3504 flag_data_sections or UNIQUE_SECTION_P are true.
3506 * tm.texi (UNIQUE_SECTION): Document that it can be called for
3507 unitialised data decls.
3509 * config/i386/winnt.c (i386_pe_unique_section): Cope with
3510 being called for uninitialised data.
3512 * config/i386/interix.c (i386_pe_unique_section): Cope with
3513 being called for uninitialised data.
3515 * config/mips/elf.h (UNIQUE_SECTION): Cope with being called
3516 for uninitialised data.
3518 * config/mips/elf64.h (UNIQUE_SECTION): Cope with being called
3519 for uninitialised data.
3521 * config/mips/iri6gld.h (UNIQUE_SECTION): Cope with being called
3522 for uninitialised data.
3524 * config/arm/unknown-elf.h (IN_NAMED_SECTION): Define.
3525 (UNIQUE_SECTION_P): Always generate a unique section if
3526 flag_data_sections is true.
3527 (UNIQUE_SECTION): Also generate unique sections for
3529 (ASM_OUTPUT_ALIGNED_BSS): Redefine to use named_section().
3530 (ASM_OUTPUT_ALIGNED_DECL_LOCAL): Redefine to use
3533 2000-01-06 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
3535 * config/c4x/t-c4x (TARGET_LIBGCC2_CFLAGS): Don't redefine SF, DF,
3538 2000-01-06 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
3540 * config/c4x/c4x.md (udivqi3, divqi3): Delete.
3541 (umodqi3, modqi3, udivhi3, divhi3, umodhi3, modhi3, ffsqi2): Likewise.
3542 (*smulqi3_highpart_noclobber, *umulqi3_highpart_noclobber): New.
3543 (*lshrqi3_const_noclobber, *lshrqi3_nonconst_noclobber): Likewise.
3544 (*ashrqi3_const_noclobber, *ashrqi3_nonconst_noclobber): Likewise.
3546 * c4x.h (INIT_TARGET_OPTABS): Define to init libcalls.
3548 2000-01-05 11:25 -0800 Zack Weinberg <zack@rabi.columbia.edu>
3550 * c-decl.c (finish_enum): Simplify code to determine minimum and
3551 maximum values of the enum, and calculate the type. Remove check
3552 for FUNCTION_DECLs in the values list, which cannot happen. Replace
3553 the DECL_INITIAL of each enumeration constant with a copy converted
3554 to the enumeration type. When updating variant types, don't bother
3555 updating the type itself.
3557 * c-typeck.c (build_binary_op): Simplify conditional expressions
3558 when weeding out spurious signed-unsigned warnings. Add new
3559 spurious warning category: if the unsigned quantity is an enum
3560 and its maximum value fits in signed_type(result_type). Update
3562 (build_conditional_expr): Warn here if one alternative is signed
3563 and the other is unsigned.
3565 2000-01-05 Nick Clifton <nickc@cygnus.com>
3567 * config/fr30/fr30.h: Remove extraneous comments.
3569 2000-01-05 Bernd Schmidt <bernds@cygnus.co.uk>
3571 * reload1.c (choose_reload_regs): When disabling a reload, also
3572 set reload_spill_index to -1.
3574 2000-01-04 Joel Sherrill (joel@OARcorp.com>
3576 * configure.in (m68*-*-rtemscoff*): New target, formal name for
3578 (m68*-*-rtemself*): New target.
3579 (mips64orion-*-rtems*): Remove duplicate definition of tm_file.
3580 (sparc*-*-rtemsaout*): New target, formal name for old sparc*-*-rtems*.
3581 (sparc*-*-rtemself*): New target.
3582 (sparc*-*-rtems*): Now elf not a.out.
3583 * config/i386/rtems.h: Include config/rtems.h.
3584 * config/i386/rtemself.h: Include config/rtems.h.
3585 * config/i960/rtems.h: Include config/rtems.h.
3586 * config/m68k/rtems.h: Include config/rtems.h.
3587 * config/m68k/rtemself.h: Include config/rtems.h.
3588 * config/mips/rtems64.h: Include config/rtems.h.
3589 * config/pa/rtems.h: Include config/rtems.h.
3590 * config/rs6000/rtems.h: Include config/rtems.h.
3591 * config/sh/rtems.h: Include config/rtems.h.
3592 * config/sh/rtemself.h: Include config/rtems.h.
3593 * config/sparc/rtems.h: Include config/rtems.h.
3594 * config/sparc/rtemself.h: Include config/rtems.h
3596 Tue Jan 4 23:59:26 2000 Denis Chertykov <denisc@overta.ru>
3598 * final.c (shorten_branches): Correctly compute length of
3599 asms without operands.
3601 Tue Jan 4 22:55:41 2000 Steve Chamberlain <sac@pobox.com>
3603 * configure.in: Add pj target.
3604 * configure: Regenerate.
3605 * config/pj: New directory.
3606 * config/pj/lib1funcs.S: New file.
3607 * config/pj/linux.h: New file.
3608 * config/pj/pj.c: New file.
3609 * config/pj/pj.md: New file.
3610 * config/pj/pjl.h: New file.
3611 * config/pj/t-pj: New file.
3612 * config/pj/xm-pj.h: New file
3614 Tue Jan 4 22:30:16 2000 Jeffrey A Law (law@cygnus.com)
3616 * toplev.c (rest_of_compilation): Run shorten-branches before
3619 2000-01-05 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
3621 * config/c4x/c4x.h (IS_XXX_REG, IS_XXX_REGNO): Swap behaviour of
3622 macros so that they're consistent with their names.
3623 * config/c4x/c4x.c (IS_XXX_REG, IS_XXX_REGNO): Likewise.
3624 * config/c4x/c4x.md (IS_XXX_REG, IS_XXX_REGNO): Likewise.
3626 2000-01-05 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
3628 * config/c4x/c4x.md (*addqi3_noclobber_reload): Ensure that CC never
3629 modified inadvertently.
3631 2000-01-04 Joel Sherrill <joel@OARcorp.com>
3633 * configure.in (v850*-*-rtems*): New target.
3634 * configure: Regenerate.
3635 * config/v850/rtems.h: New file.
3637 2000-01-04 Mumit Khan <khan@xraylith.wisc.edu>
3639 * gthr-win32.h (__gthread_active_p): Support Mingw MT runtime.
3640 (__gthread_key_create): Likewise.
3641 (__gthread_key_dtor): Likewise.
3642 (__gthread_once): Fix logic.
3643 (__gthread_key_delete): Cast away constness.
3645 * i386/cygwin.h (SUBTARGET_SWITCHES): Add -mthreads option.
3646 * invoke.texi: Document.
3647 * i386/mingw32.h (CPP_SPEC): Use.
3648 (LIBGCC_SPEC): Likewise.
3649 * i386/crtdll.h (LIBGCC_SPEC): Likewise.
3651 2000-01-04 David Edelsohn <edelsohn@gnu.org>
3653 * rs6000/sysv4.h (ASM_OUTPUT_DEF): Undefine.
3654 (HANDLE_PRAGMA_PACK): Undefine.
3655 (SLOW_UNALIGNED_ACCESS): Define.
3657 2000-01-04 David Edelsohn <edelsohn@gnu.org>
3659 * expmed.c (SLOW_UNALIGNED_ACCESS): Add mode and align parameters
3660 to default definition.
3661 (store_bit_field): Call SLOW_UNALIGNED_ACCESS with mode and alignment.
3662 (store_fixed_bit_field): Call macro with word_mode and alignment.
3663 (extract_bit_field): Call macro with relevant mode and alignment.
3664 * expr.c (SLOW_UNALIGNED_ACCESS): Add mode and align parameters
3665 to default definition.
3666 (move_by_pieces): Call SLOW_UNALIGNED_ACCESS with word_mode
3668 (move_by_pieces_ninsns): Likewise.
3669 (clear_by_pieces): Likewise.
3670 (emit_push_insn): Likewise.
3671 (store_field): Call macro with relevant mode and alignment.
3672 (expand_expr): Likewise.
3673 (expand_expr_unaligned): Likewise.
3675 * rs6000.h (HANDLE_PRAGMA_PACK): Define.
3676 (SLOW_UNALIGNED_ACCESS): Define.
3677 (CASE_VECTOR_MODE): Always use 32-bit offsets.
3678 (ASM_FILE_END): Generate 64-bit symbol in 64-bit mode.
3679 (EXTRA_SECTOIN_FUNCTIONS): Indent .csect pseudo-op.
3680 (toc_section): Likewise and .toc pseudo-op.
3681 (ASM_DECLARE_FUNCTION): Likewise. Align text more strictly in
3683 (TEXT_SECTION_ASM_OP): Likewise.
3684 (ASM_OUTPUT_ADD_VEC_ELT, ASM_OUTPUT_ADDR_DIFF_ELT): Always use
3687 * a29k.h (SLOW_UNALIGNED_ACCESS): Add MODE and ALIGN parameters.
3688 * alpha.h (SLOW_UNALIGNED_ACCESS): Likewise.
3689 * arm/thumb.h (SLOW_UNALIGNED_ACCESS): Likewise.
3690 * gmicro.h (SLOW_UNALIGNED_ACCESS): Likewise.
3691 * fr30.h (SLOW_UNALIGNED_ACCESS): Likewise.
3693 Tue Jan 4 11:44:13 2000 Jeffrey A Law (law@cygnus.com)
3695 * regclass.c: Revert my Jan 4 change to loop cost computation.
3697 Tue Jan 4 19:22:39 MET 2000 Jan Hubicka <hubicka@freesoft.cz>
3699 * regclass.c (regclass): Do not obey REG_N_REFS in non-optimizing
3702 2000-01-04 Stan Cox <scox@cygnus.com>
3704 * haifa-sched.c (build_control_flow): Change unreachable simple
3705 loop test to check if current block has only one predecessor.
3706 (find_rgns): Initialize degree. Use dest as degree index, not src.
3708 2000-01-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3710 * builtins.c (expand_builtin_strlen): Initialize variable `icode'.
3712 * calls.c (expand_call): Likewise for
3713 `old_stack_arg_under_construction'.
3715 * cpphash.c (macroexpand): Likewise for `args' and `rest_zero'.
3717 * function.c (pad_to_arg_alignment): Likewise for `save_var' and
3720 * gcc.c (execute): Likewise for `ut' and `st'.
3722 * genattrtab.c (attr_rtx): Likewise for `rt_val'.
3724 * genopinit.c (gen_insn): Likewise for `m1', `m2' and `op'.
3726 * jump.c (jump_optimize_1): Likewise for `temp2'.
3728 * local-alloc.c (block_alloc): Likewise for `r1'.
3730 * loop.c (recombine_givs): Likewise for `life_start' and `life_end'.
3732 * reg-stack.c (check_asm_stack_operands): Likewise for `clobber_reg'.
3733 (subst_asm_stack_regs): Likewise for `clobber_reg' and `clobber_loc'.
3735 * regmove.c (fixup_match_1): Likewise for `insn_const', `dst_node'
3738 * reload.c (find_reloads): Likewise for `goal_alternative_number'
3739 and `goal_earlyclobber'.
3741 * scan-decls.c (scan_decls): Likewise for `prev_id_end'.
3743 * sdbout.c (sdbout_one_type): Likewise for `member_scl'.
3745 * stupid.c (stupid_life_analysis): Likewise for `chain'.
3747 * unroll.c (copy_loop_body): Likewise for `copy'.
3749 * varasm.c (output_constructor): Likewise for `byte'.
3751 Tue Jan 4 15:34:34 MET 2000 Jan Hubicka <hubicka@freesoft.cz>
3753 * i386.c (ix86_expand_move): Allow pushes of memory, offload to memory
3754 all FP constants for constant->reg moves.
3755 (ix86_split_to_parts): Try to convert memory address into immediate
3756 when available in the constant pool.
3757 * i386.h (PREFERRED_RELOAD_CLASS): Allow CONST_DOUBLE->integer reg
3759 (LEGITIMATE_CONSTANT_P): Return 1.
3760 * i386.md (pushsf): New splitter to convert constant pool memory
3761 reference to immediate.
3762 (mov?f): Likewise; do not allow CONST_DOUBLE for reg moves before
3765 2000-01-04 Bernd Schmidt <bernds@cygnus.co.uk>
3767 * i386.md (ashlsi3_cmpno): Don't accept variables shifts.
3768 (ashlhi3_cmpno, ashlqi3_cmpno, ashrsi3_cmpno, ashrhi3_cmpno,
3769 ashrqi3_cmpno, lshrsi3_cmpno, lshrhi3_cmpno, lshrqi3_cmpno): Likewise.
3770 (rotlsi3_cmpno, rotlhi3_cmpno, rotlqi3_cmpno, rotrsi3_cmpno,
3771 rotrhi3_cmpno, rotrqi3_cmpno): Likewise.
3773 2000-01-04 Martin von Löwis <loewis@informatik.hu-berlin.de>
3775 * ginclude/stdbool.h: Support compilation as C++.
3777 Tue Jan 4 01:35:13 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
3779 * fold-const.c (make_range): Don't try to reverse an unbounded range.
3781 Tue Jan 4 00:18:46 2000 Jeffrey A Law (law@cygnus.com)
3783 * regclass.c (regclass): Properly compute loop_cost. Adjust
3786 * regclass.c: Fix minor whitespace problems.
3788 2000-01-03 Anthony Green <green@cygnus.com>
3790 * config/i386/i386.md (builtin_setjmp_receiver): New pattern.
3791 Restore the pic register if required.
3793 2000-01-03 Ulrich Drepper <drepper@cygnus.com>
3795 * c-common.c (format_char_info): Update comment.
3796 (check_format_info): Recognize 'z' modifier in the same way 'Z'
3797 was recognized. Emit warning for formats new in ISO C99 only
3798 if flag_isoc9x is not set.
3800 Mon Jan 3 12:59:54 2000 Mark P. Mitchell <mark@codesourcery.com>
3802 * config/mips/iris6gld.h: Fix typo in -mabi=n32 specs.
3804 Mon Jan 3 15:33:37 MET 2000 Jan Hubicka <hubicka@freesoft.cz>
3806 * combine.c (expand_compound_operation): Do not convert ZERO_EXTEND to
3807 SIGN_EXTEND, convert SIGN_EXTEND to ZERO_EXTEND.
3808 (make_compound_operation): Choose cheaper alternative between
3809 ZERO_EXTEND and SIGN_EXTEND when sign bit is not set.
3811 * regclass.c (op_costs): Remove global variable.
3812 (record_reg_classes): New parameter "op_costs" and "reg_pref".
3813 (record_operand_costs): Break out from ...
3814 (scan_one_insn): ... here.
3815 (dump_regclass): Make dumps nicer.
3816 (regclass): Dump preferrences choosed and changes done during passes.
3818 2000-01-03 Jakub Jelinek <jakub@redhat.com>
3820 * config/sparc/sparc.c (gen_df_reg): Fix for 32bit SPARC.
3822 2000-01-03 Jakub Jelinek <jakub@redhat.com>
3824 * config/sparc/sparc.c (gen_df_reg): New function.
3825 * config/sparc/sparc-protos.h (gen_df_reg): Add prototype.
3826 * config/sparc/sparc.md (movtf_no_e_insn_sp64+1,
3827 movtf_no_e_insn_sp64+2, movtf_no_e_insn_sp64+3, movtf_cc_sp64+1,
3828 movtf_cc_reg_sp64+1): Use it.
3830 2000-01-02 Mark Mitchell <mark@codesourcery.com>
3832 * integrate.c (copy_decl_for_inlining): Clear TREE_ADDRESSABLE on
3835 Mon Jan 3 02:54:40 2000 Hans-Peter Nilsson <hp@bitrange.com>
3837 * config/i386/i386.c (ix86_expand_unary_operator): Function
3838 definition made void.
3839 (ix86_expand_binary_operator): Update outdated preceding comment.
3840 * config/i386/i386-protos.h (ix86_expand_unary_operator): Update
3843 * config/i386/i386.c (override_options): Fix option-name typo.
3845 2000-01-02 Mark Mitchell <mark@codesourcery.com>
3847 * system.h (CEIL): Define.
3848 * builtins.c (CEIL): Remove.
3849 * expmed.c (CEIL): Likewise.
3850 * expr.c (CEIL): Likewise.
3851 * stor-layout.c (CEIL): Likewise.
3853 2000-01-02 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
3855 * expr.c (store_constructor_field): Fix typo introduced with last
3858 2000-01-01 Mark Mitchell <mark@codesourcery.com>
3860 * tree.h (BINFO_N_BASETYPES): New macro.
3862 2000-01-01 Bernd Schmidt <bernds@cygnus.co.uk>
3864 * expmed.c (emit_store_flag): Prevent losing a pending stack
3865 adjust the same way we prevent losing queued increments.
3867 Fri Dec 31 19:10:31 1999 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
3869 * function.c (update_temp_slot_address): Handle case where sum of
3870 temporary address plus offset in register is a valid address.
3872 1999-12-30 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
3874 * genrecog.c (change_state) Corrected typo.
3876 1999-12-30 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3878 * system.h (bcopy, bcmp, bzero, index, rindex, atof, atol, free,
3879 getcwd, getenv, getwd, sbrk, strstr, malloc, calloc, realloc,
3880 strerror, getrlimit, setrlimit, abort): Add prototype arguments.
3882 1999-12-30 Bernd Schmidt <bernds@cygnus.co.uk>
3884 * i386.c (ix86_expand_fp_compare): In non-sahf non-TARGET_IEEE
3885 case, expand GT comparisons correctly. Fix a comment before this
3888 1999-12-30 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
3890 * dwarfout.c: Include "frame.h"
3891 * dwarf2out.c: Likewise.
3892 * Makefile.in (dwarfout.o): Depend on frame.h
3893 (dwarf2out.o): Likewise.
3895 1999-12-29 "Martin v. Loewis" <martin@loewis.home.cs.tu-berlin.de>
3897 Restore i386 binary compatibility in Dwarf EH info.
3898 * config/i386/i386.h (DWARF_FRAME_REGISTERS): Define as 17, the old
3899 value of FIRST_PSEUDO_REGISTER.
3900 * frame.h (DWARF_FRAME_REGISTERS): Default to FIRST_PSEUDO_REGISTER.
3901 (struct frame_state): Use DWARF_FRAME_REGISTERS.
3902 * dwarfout.c (output_reg_number): Ditto.
3903 * dwarf2out.c (reg_number, expand_builtin_init_dwarf_reg_sizes): Ditto.
3904 (DWARF_FRAME_RETURN_COLUMN): Default to DWARF_FRAME_REGISTERS.
3906 1999-12-29 Bruce Korb <autogen@linuxbox.com>
3908 * fixinc/fixincl.c(wait_for_pid): sometimes a WSTOPSIG of zero is OK
3909 * fixinc/fixincl.tpl(<hack>TEST_CT): Just do the existence test once
3910 (<hack>_RE_CT): not needed
3911 * fixinc/fixlib.c(is_cxx_header): moved from fixtests.c
3912 rewritten to scan the file text once only
3913 "template<..." test added
3914 * fixinc/fixlib.h(apply_fix_p_t): moved from fixtests.c
3915 (is_cxx_header): declaration added
3916 * fixinc/fixtests.c(is_cxx_header): removed
3917 (apply_fix_p_t): removed
3918 (double_slash_test): is_cxx_header is only called once now
3919 * fixinc/hackshell.tpl: indexing the fixes is now done under DEBUG
3920 * fixinc/inclhack.def(FIXINC_DEBUG): added for testing DEBUG state
3921 within the templates.
3922 The borken spelling of "broken" was fixed.
3923 * fixinc/inclhack.tpl: The $VERBOSE level is used on various messages
3924 The default level depends on FIXINC_DEBUG.
3926 1999-12-29 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3928 * crtstuff.c: If !inhibit_libc, include stdlib.h/unistd.h.
3929 Otherwise provide a declaration for atexit.
3930 (init_dummy): Make sure dummy call to atexit is nevertheless
3931 called with correct number of args.
3933 * frame.c: Update comments referring to other files.
3935 * libgcc2.c: Likewise.
3937 1999-12-29 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3939 * cse.c (free_element, get_element): Remove unused prototypes.
3941 * fold-const.c (extract_muldiv): Initialize variables `op0' and
3944 * jump.c (invert_exp): Add explicit braces to avoid ambiguous
3947 Wed Dec 29 12:44:54 1999 Donald Lindsay <dlindsay@cygnus.com>
3949 * configure.in,configure: case arm for mn10200-*-* now sets
3950 float_format=i32 so that float.h will correctly claim "double"
3951 to be 32 bits. Ran autoconf to generate configure from .in file.
3953 Wed Dec 29 10:53:21 1999 Jeffrey A Law (law@cygnus.com)
3955 * pa.md (conditional zero): If op1 is a register, force it into
3956 the same register as op0.
3958 1999-12-28 Mark Mitchell <mark@codesourcery.com>
3960 * tree.h (BINFO_BASETYPES): Improve documentation.
3962 1999-12-28 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3964 * configure.in (--enable-checking): Use a more portable `for'
3967 1999-12-28 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3969 * configure.in (AC_DECL_SYS_SIGLIST, xm-siglist.h,
3970 arm/xm-netbsd.h, NO_SYS_SIGLIST): Don't use.
3972 * xm-siglist.h, arm/xm-netbsd.h, mips/xm-news.h, mips/xm-sysv4.h:
3975 * gcc.texi (NO_SYS_SIGLIST, sys_siglist, SYS_SIGLIST_DECLARED):
3976 Delete descriptions.
3978 * i386/osf1elf.h, i386/xm-cygwin.h, i386/xm-mingw32.h, m68k/3b1.h,
3979 m68k/a-ux.h, m68k/dpx2.h, m68k/plexus.h, m68k/xm-hp320.h,
3980 m88k/xm-m88k.h, mips/x-sni-svr4, pa/xm-pa.h, pa/xm-pahpux.h,
3981 pa/xm-papro.h, we32k/xm-we32k.h, winnt/xm-winnt.h, xm-interix.h,
3982 xm-svr4.h: Remove all instances of sys_siglist handling.
3984 1999-12-27 Jakub Jelinek <jakub@redhat.com>
3986 * config/sparc/sparc.md (cmp_zero_qi,
3987 cmp_zero_extendqisi2_andcc_set, cmp_zero_qi_sp64,
3988 cmp_zero_extendqidi2_andcc_set): New patterns.
3990 1999-12-28 Manfred Hollstein <mhollstein@cygnus.com>
3992 * m68k/t-mot3300-gald (CROSS_LIBGCC1): Define to libgcc1-asm.a.
3993 (LIB1ASMSRC, LIB1ASMFUNCS, LIB2FUNCS_EXTRA): Define.
3994 (fpgnulib.c, xfgnulib.c): Add rules.
3995 * m68k/t-mot3300-gas: Likewise.
3997 1999-12-27 Ian Lance Taylor <ian@zembu.com>
3999 * configure.in: Avoid [[ by using test and changequote. Add
4000 changequote required by 1999-12-14 change.
4001 * configure: Rebuild.
4003 1999-12-27 Clinton Popetz <cpopetz@cygnus.com>
4005 * config/mips/mips.h: Fix typo from 12/17/99 libgcc2 fix.
4007 1999-12-27 Christophe Jaillet <jaillet.christophe@caramail.com>
4009 * alias.c (nonlocal_reference_p): Add else for disjoint ifs.
4010 * flow.c (find_use_as_address): Likewise.
4011 * function.c (fixup_var_refs_1): Likewise.
4012 (walk_fixup_memory_subreg, fixup_stack_1): Likewise.
4013 * jump.c (invert_exp, redirect_exp): Likewise.
4014 * loop.c (replace_call_address): Likewise.
4015 (count_nonfixed_reads): Likewise.
4016 * rtlanal.c (modified_between_p): Likewise.
4017 (modified_in_p, volatile_insn_p, volatile_refs_p): Likewise.
4018 (side_effects_p, replace_regs, jmp_uses_reg_or_mem): Likewise.
4019 * unroll.c (remap_split_bivs): Likewise.
4021 1999-12-27 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4023 * diagnostic.c (v_message_with_decl): Use .* format specifier
4024 instead of building the format specifier width manually.
4026 * system.h (strsignal): Don't check HAVE_STRSIGNAL when
4027 determining whether to provide a prototype. Remove the
4028 sys_siglist clause in the conditional.
4030 1999-12-23 Martin v. Löwis <loewis@informatik.hu-berlin.de>
4032 * fold-const.c (operand_equal_p): Use memcmp to compare string
4034 Suggested by D. J. Bernstein
4036 1999-12-17 Jakub Jelinek <jakub@redhat.com>
4038 * config/h8300/h8300.h (TARGET_H8300H, TARGET_H8300S): Make sure
4039 UNITS_PER_WORD and BITS_PER_WORD are compile time constants when
4041 * config/mips/mips.h (TARGET_64BIT): Likewise.
4042 * config/rs6000/rs6000.h (TARGET_POWERPC64): Likewise.
4043 * libgcc2.c: Use {,U}{HW,W,DW}type and DWunion everywhere instead
4044 of {SI,DI}type and DIunion. Define these types to QI/HI modes on
4045 dsps. Give routines proper names if SI/DI modes are not used.
4046 * longlong.h: Use DWunion instead of DIunion.
4048 1999-12-26 Zack Weinberg <zack@wolery.cumb.org>
4050 * acconfig.h: New ENABLE flags: TREE_CHECKING, RTL_CHECKING,
4051 GC_CHECKING, GC_ALWAYS_COLLECT.
4052 * configure.in: Allow --enable-checking with an argument
4053 listing check modes to enable.
4054 * config.in, configure: Rebuilt.
4055 * ggc-page.c, ggc-simple.c: Define GGC_POISON (and
4056 GGC_ALWAYS_VERIFY for ggc-simple.c) only if
4057 ENABLE_GC_CHECKING. Define GGC_ALWAYS_COLLECT only if
4058 ENABLE_GC_ALWAYS_COLLECT.
4059 * rtl.h, rtl.c: Change ENABLE_CHECKING to ENABLE_RTL_CHECKING
4061 * tree.h, tree.c: Change ENABLE_CHECKING to
4062 ENABLE_TREE_CHECKING throughout.
4064 Sun Dec 26 07:48:20 1999 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
4066 * fold-const.c (fold_truthop): Properly check for FP RHS.
4068 1999-12-24 Mark Mitchell <mark@codesourcery.com>
4070 * toplev.h (note_deferall_of_defined_inline_function): Declare.
4071 * toplev.c (note_deferral_of_defined_inline_function): New
4072 function, split out from ...
4073 (rest_of_compilation): ... here. Use it.
4075 Fri Dec 24 12:34:26 1999 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
4077 * expr.c (store_constructor): Don't call clear_storage if size is
4080 1999-12-24 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4082 * Makefile.in (toplev.o): Depend on loop.h.
4084 * dwarfout.c: Include tm_p.h.
4086 * emit-rtl.c (restore_emit_status): Mark parameter with
4089 * final.c (final_scan_insn): Likewise.
4091 * flow.c (flow_nodes_print, flow_exits_print, flow_loops_cfg_dump,
4092 flow_loop_nested_p, flow_loop_exits_find, flow_loop_nodes_find,
4093 flow_depth_first_order_compute, flow_loop_pre_header_find,
4094 flow_loop_tree_node_add, flow_loops_tree_build,
4095 flow_loop_level_compute, flow_loops_level_compute,
4096 flow_loop_outside_edge_p): Add prototypes.
4097 (recompute_reg_usage): Mark parameters with ATTRIBUTE_UNUSED.
4099 * ggc-callbacks.c (lang_mark_tree, lang_mark_false_label_stack):
4100 Mark with ATTRIBUTE_NORETURN.
4102 * hash.c (hash_newfunc): Mark parameter with ATTRIBUTE_UNUSED.
4104 * local-alloc.c (no_conflict_p): Likewise.
4106 * loop.c (insert_bct): Hide definitions of variables with hidden
4108 (note_reg_stored): Mark parameter with ATTRIBUTE_UNUSED.
4110 * regclass.c (memory_move_secondary_cost): Mark variable `mem'
4111 with ATTRIBUTE_UNUSED.
4112 (record_reg_classes): Mark parameter with ATTRIBUTE_UNUSED.
4113 (reg_scan): Likewise.
4115 * reload.c (find_reloads): Remove unused variables `changed'.
4117 * reload1.c (reload_reg_class_lower): Don't unnecessarily cast
4119 (allocate_reload_reg): Mark parameter with ATTRIBUTE_UNUSED.
4120 Remove unused variable `insn'.
4122 * toplev.c: Include loop.h.
4123 (report_file_and_line): Remove unnecessary prototype.
4125 * tree.c (build_block): Mark parameter with ATTRIBUTE_UNUSED.
4127 * unroll.c (biv_total_increment): Likewise.
4129 Thu Dec 23 23:15:22 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
4131 * reload1.c (emit_input_reload_insns): Restore old behaviour
4132 wrt. 'special' reloads.
4134 1999-12-23 Zack Weinberg <zack@wolery.cumb.org>
4136 * Makefile.in (ggc-simple.c, ggc-page.c): Don't depend on
4137 hash.h. (cse.c): Don't depend on hashtab.h.
4139 * cse.c: Don't include hashtab.h.
4140 (hash_cse_reg_info, cse_reg_info_equal_p): Delete prototypes
4142 * ggc-simple.c: Don't include hash.h.
4144 1999-12-22 Jason Merrill <jason@casey.cygnus.com>
4146 * dwarf2out.c (add_abstract_origin_attribute): Call
4147 gen_abstract_function on our function context.
4149 Thu Dec 23 03:57:10 1999 Hans-Peter Nilsson <hp@bitrange.com>
4151 * Makefile.in (INTEGRATE_H): Fix typo: INTEGRATE_H, not INTREGRATE_H.
4153 1999-12-23 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
4155 * config/c4x/c4x.c (c4x_address_cost): Add statement to default
4158 1999-12-22 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
4160 * config/c4x/c4x.md (*addqi3_noclobber_reload): Change operand 0
4161 constraints to "a!r".
4163 1999-12-21 Mark Mitchell <mark@codesourcery.com>
4165 * Makefile.in (calls.o): Depend on function.h.
4166 (alias.o): Likewise.
4168 1999-12-21 Bernd Schmidt <bernds@cygnus.co.uk>
4170 * reload1.c (emit_reload_insns): Break out code and variables into...
4171 (input_reload_insns, other_input_address_reload_insns,
4172 other_input_reload_insns, input_address_reload_insns,
4173 inpaddr_address_reload_insns, output_reload_insns,
4174 output_address_reload_insns, outaddr_address_reload_insns,
4175 operand_reload_insns, other_operand_reload_insns,
4176 other_output_reload_insns): ... new static variables, and...
4177 (emit_input_reload_insns, emit_output_reload_insns, do_input_reload,
4178 do_output_reload): ... new functions.
4180 Tue Dec 21 07:06:36 1999 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
4182 * pa.h (FUNCTION_ARG_BOUNDARY): Never return 0.
4184 1999-12-21 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
4186 * md.texi: Add c4x constraints documentation.
4188 1999-12-21 Martin v. Löwis <loewis@informatik.hu-berlin.de>
4190 * config/i386/dgux.c (struct option): Rename to
4191 lang_independent_option.
4192 (struct m_options): Add description field.
4193 (output_options): Rename option type, add sep declaration, output
4194 ix86_cpu_string and ix86_arch_string only if set.
4195 (output_file_start): Rename option type.
4197 Mon Dec 20 23:15:36 1999 Mike Stump <mrs@wrs.com>
4199 * Makefile.in (crtbegin.o, crtend.o, s-crtS): Depend on
4201 (libgcc2.a): Similarly.
4203 Mon Dec 20 23:06:47 1999 David Edelsohn <edelsohn@gnu.org>
4205 * longlong.h (_ARCH_PPC): Only protect add_ssaaaa and sub_ddmmss
4206 with W_TYPE_SIZE == 32. Do not fall through to POWER architecture
4207 for umul_ppmm and smul_ppmm if !_ARCH_PPC and !_ARCH_POWER.
4209 Mon Dec 20 23:02:03 1999 Jeffrey A Law (law@cygnus.com)
4211 * fold-const.c (real_hex_to_f): Remove unused "isldouble" variable.
4212 Remove redundant initialization of "frexpon" and "expon".
4214 Mon Dec 20 15:00:04 1999 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
4216 * tree.c (real_value_from_int_cst): Clear REAL_VALUE_TYPE object first.
4218 * expr.c (store_constructor): New argument SIZE; pass to clear_storage.
4219 (store_constructor_field, expand_expr): Pass new arg.
4221 1999-12-20 Mark Mitchell <mark@codesourcery.com>
4223 * Makefile.in (explow.o): Depend on function.h.
4225 * stor-layout.c (set_sizetype): Fix typo.
4227 1999-12-20 Bernd Schmidt <bernds@cygnus.co.uk>
4229 * function.c (cfun): Renamed from current_function. All users
4231 * function.h (cfun): Rename declaration as well.
4233 * reload.h (struct insn_chain): Change live_throughout and dead_or_set
4234 to be of type regset_head, not regset. All users changed by adding
4236 * reload1.c (new_insn_chain): Don't allocate regsets, just clear them.
4238 1999-12-20 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
4240 * config/c4x/rtems.h: New file.
4242 1999-12-19 Bernd Schmidt <bernds@cygnus.co.uk>
4244 * reload1.c (spill_failure): Take class of failed reload as argument
4245 and print it. Caller changed.
4247 Sun Dec 19 07:50:42 1999 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
4249 * rs6000.h (SUBTARGET_DEFAULT): New macro.
4250 (TARGET_SWITCHES): Allow subtargets to default switches.
4251 * rs6000/vxppc.h (SUBTARGET_DEFAULT): New macro.
4253 1999-12-18 Mark Mitchell <mark@codesourcery.com>
4255 * crtstuff.c (__do_global_ctors_aux): Do not call __cxa_finalize
4258 Sat Dec 18 20:42:43 1999 Richard Henderson <rth@cygnus.com>
4260 * cccp.c (main): Define __STDC_VERSION__ as necessary.
4261 * cppinit.c (cpp_handle_option): Likewise.
4263 * ginclude/stdarg.h (va_copy): Use __STDC_VERSION__ to
4264 determine when to define.
4266 Sat Dec 18 20:34:00 1999 Richard Henderson <rth@cygnus.com>
4268 * alpha.c (alpha_emit_conditional_move): If TARGET_FIX, handle
4269 cmove with mismatched test and data modes.
4271 Sat Dec 18 20:30:15 1999 Richard Henderson <rth@cygnus.com>
4273 * c-typeck.c (c_expand_start_case): Don't warn for long switch
4276 Sat Dec 18 16:28:43 1999 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
4278 * alias.c: Minor reformatting.
4281 * stor-layout.c: Likewise.
4282 * fold-const.c: Likewise.
4283 (OVERFLOW_SUM_SIGN): Renamed from overflow_sum_sign.
4284 (struct cb_args, const_binop_1, const_binop): Pass type of arg,
4286 (size_int_wide): Cache nodes even if garbage collecting.
4287 (twoval_comparison_p): Reenable SAVE_EXPR case if operand
4288 of SAVE_EXPR has no side effects.
4289 * cse.c: Move a comment.
4290 * tree.c: Minor reformatting.
4291 (int_size_in_bytes): Return -1 if constant overflows.
4293 Sat Dec 18 18:30:20 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
4295 * unroll.c (copy_loop_body): Don't treat a REG like a PLUS.
4297 1999-12-18 10:42 -0800 Zack Weinberg <zack@wolery.cumb.org>
4299 * objc/objc-parse.c: Regenerate. This file must be rebuilt
4300 after any change to c-parse.in, even if objc-parse.y didn't
4303 1999-12-18 David S. Miller <davem@redhat.com>
4305 * toplev.c (rest_of_compilation): Restore BLOCK tree
4306 reconstruction and branch shortening changes lost in
4307 December 18th change.
4309 Sat Dec 18 05:29:29 1999 Scott Bambrough <scottb@netwinder.org>
4311 * config/arm/linux-elf.h: Change all instances of
4312 ARM_FLAG_SHORT_BYTES to ARM_FLAG_MMU_TRAPS.
4313 * config/arm/uclinux-elf.h: Likewise.
4315 1999-12-18 Gabriel Dos Reis <gdr@codesourcery.com>
4317 * toplev.c (notice, vmessage, v_message_with_file_and_line,
4318 v_message_with_decl, file_and_line_for_asm,
4319 v_error_with_file_and_line, v_error_with_decl, v_error_for_asm,
4320 verror, vfatal, v_warning_with_file_and_line, v_warning_with_decl,
4321 v_warning_for_asm, vwarning, vpedwarn, v_pedwarn_with_decl,
4322 v_pedwarn_with_file_and_line, vsorry, vnotice, count_error,
4323 pfatal_with_name, fatal_io_error, need_error_newline,
4324 last_error_function, last_error_tick, announce_function,
4325 default_print_error_function, print_error_function,
4326 report_error_function, fnotice, error_with_file_and_line,
4327 error_with_decl, error_for_asm, error, set_fatal_function, fatal,
4328 _fatal_insn, _fatal_insn_not_found, warning_with_file_and_line,
4329 warning_with_decl, warning_for_asm, warning, pedwarn,
4330 pedwarn_with_decl, pedwarn_with_file_and_line, sorry): Move to
4332 (compile_file): Use fnotice instead of notice. Adjust call.
4334 * diagnostic.c: New file.
4336 * Makefile.in (OBJS): Include diagnostic.o
4337 (diagnostic.o): Define dependence.
4339 1999-12-18 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
4341 * config/c4x/c4x.h (ASM_OUTPUT_XXX): Wrap in do-while(0).
4344 1999-12-18 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
4346 * config/c4x/c4x.md (rpts_top, rptb_top): Add clobbers for rs and re.
4348 1999-12-17 13:21 -0800 Zack Weinberg <zack@rabi.columbia.edu>
4350 * fixtests.c (is_cxx_header): New fn, split out of
4352 (else_endif_label): Allow "#endif // comment" in C++ headers,
4353 as determined by is_cxx_header.
4354 * fixfixes.c (else_endif_label_fix): Update comment.
4355 * fixincl.c: Don't output VERB_PROGRESS lines if stdout is not
4357 * genfixes: Correct double thinko in commandline parsing.
4358 * hackshell.tpl: Generate correct sh syntax for bypass
4361 * inclhack.def (all): Whenever an inserted preprocessor
4362 conditional is split over multiple lines, use double
4363 backslashes in this file so the fixed header will be readable.
4365 (AAB_fd_zero_glibc_1_0): Rename to AAB_fd_zero_asm_posix_types_h
4366 and add bypass entry for correct version of this header.
4367 (AAB_fd_zero_glibc_1_x): Rename to AAB_fd_zero_gnu_types_h.
4368 (AAB_fd_zero_glibc_2_0): Rename to AAB_fd_zero_selectbits_h.
4370 (hpux8_bogus_inlines): New fix, split from...
4371 (ultrix_atof_param) ... here.
4372 (math_expression): Add bypass entry keyed to glibc comment
4373 indicating the problem has been dealt with; disable
4374 unnecessary sed operations; update commentary.
4375 (math_gcc_ifndefs): Rename to math_huge_val_from_dbl_max,
4376 add select and bypass entries, simplify shell operation.
4377 (math_huge_val_ifndef): Split from math_gcc_ifndefs.
4379 (ip_missing_semi, rs6000_param, tinfo_cplusplus,
4380 ultrix_atof_param): Add select entry.
4381 (stdio_va_list, sunos_mather_decl): Add bypass entry.
4382 (systypes_for_aix, sysv86_string, tinfo_cplusplus): Put the
4383 comments with the fixes they describe.
4385 * c-parse.in (string action): Do not warn about ANSI string
4386 concatenation in system headers. Affects C parser only.
4387 * c-parse.y, c-parse.c, c-parse.h: Rebuild.
4389 1999-12-16 Jakub Jelinek <jakub@redhat.com>
4391 * config/sparc/sparc.h (TARGET_ARCH32): Exchange ifdefs so that if
4392 compiling libgcc2 the macro depends always on arch cpp defines.
4394 Fri Dec 17 10:34:16 1999 Richard Earnshaw <rearnsha@arm.com>
4396 * loop.c (insert_loop_mem): Don't record MEMs from inside
4399 Fri Dec 17 12:08:11 MET 1999 Jan Hubicka <hubicka@freesoftr.cz>
4401 * regclass.c (regclass): Do not use flowgraph when not optimizing.
4403 * gcse.c (try_replace_reg): Do replacements in REG_EQUAL/REG_EQUIV
4404 notes too, create one when replacement failed, attempt to simplify
4406 (cprop_insn): Propagate even to registers mentioned only in REG_EQUAL
4409 1999-12-16 Mark Mitchell <mark@codesourcery.com>
4411 * crtstuff.c (__dso_handle): Declare.
4412 (__cxa_finalize): Likewise.
4413 (do_global_dtors_aux): Call __cxa_finalize if __dso_handle is
4416 * invoke.texi: Document -fuse-cxa-atexit.
4418 * tree.h (ptr_type_node): Document.
4419 (const_ptr_type_node): Likewise.
4421 Fri Dec 17 01:32:38 MET 1999 Jan Hubicka <hubicka@freesoft.cz>
4423 * regmove.c (optimize_reg_copy_1): Ignore LOOP notes.
4424 (optimize_reg_copy_2): Likewise.
4425 (optimize_reg_copy_3): Likewise.
4426 (fixup_match_2): Likewise.
4427 (regmove_optimize): Likewise.
4428 (fixup_match_1): Liekwise.
4430 * i386.md (HI to SImode promoting splitters): Rewrite.
4431 (pushsf mem peep2): New.
4432 (testhi to andhi peep2): Remove.
4433 * i386.h (x86_promote_QImode): New.
4434 (TARGET_PROMOTE_QImode): New.
4435 (PREDICATE_CODES): Add promotable_binary_operator.
4436 * i386.c (x86_promote_QImode0: New.
4437 (promotable_binary_operator): New.
4438 * i386-protos.h (promotable_binary_operator): New.
4440 * i386.md (test?i_1): Use "nonmemory_operand" predicate, simplify
4442 (one_cmpl?i*): Pass "NOT" to unary_operator_ok.
4444 1999-12-16 Mark Mitchell <mark@codesourcery.com>
4446 * Makefile.in (INTREGRATE_H): Rename to INTEGRATE_H.
4447 * function.c (insert_block_after_note): Remove.
4448 (retrofit_block): Likewise.
4449 (identify_blocks): Fix indentation.
4450 (reorder_blocks): Don't NULL out NOTE_SOURCE_FILE for a
4451 NOTE_INSN_BLOCK_BEG or NOTE_INSN_BLOCK_END.
4452 * function.h (insert_block_after_note): Remove prototype.
4453 (retrofit_block): Likewise.
4454 * integrate.c (expand_inline_function): Don't call
4455 find_loop_tree_blocks. Use expand_start_bindings_and_block, not
4456 just expand_start_bindings. Use the block_map to remap old
4457 NOTE_BLOCKs to new ones.
4458 (integrate_decl_tree): Keep track of remapped blocks.
4459 * integrate.h (struct inline_remap): Add block_map.
4460 * stmt.c (expand_fixup): Don't try to retrofit_blocks. Just set
4461 NOTE_BLOCK on the notes.
4462 (expand_start_bindings): Rename to ...
4463 (expand_start_bindings_and_block): Add parameter. Set NOTE_BLOCK.
4464 (expand_end_bindings): Set NOTE_BLOCK.
4465 * toplev.c (rest_of_compilation): In function-at-a-time-mode,
4466 reconstruct the BLOCK tree.
4467 * tree.h (expand_start_bindings): Macroize. Call ...
4468 (expand_start_bindings_and_block): New function.
4470 1999-12-16 Jakub Jelinek <jakub@redhat.com>
4472 * config/sparc/sparc.c (print_operand): Cast fprintf arguments
4473 to match the format.
4475 1999-12-16 David S. Miller <davem@redhat.com>
4477 * expr.c (emit_move_insn_1): Only emit clobbers if one of
4478 the outputs is a SUBREG.
4479 * rtlanal.c (reg_overlap_mentioned_p): Revert December 15th
4482 * config/sparc/sparc.c (epilogue_renumber): Add default case
4485 Thu Dec 16 11:33:57 MET 1999 Jan Hubicka <hubicka@freesoft.cz>
4487 * toplev.c (rest_of_compilation): Run branch shortening after
4490 * regclass.c (loop_depth): Remove
4491 (scan_one_insn): Do not handle LOOP_NOTE insns.
4492 (regclass): Go through basic blocks and set loop_cost
4494 Thu Dec 16 02:56:25 1999 Zack Weinberg <zack@bitmover.com>
4496 * tree.h (DECL_FROM_INLINE): Check DECL_ABSTRACT_ORIGIN too.
4498 Thu Dec 16 10:43:35 MET 1999 Jan Hubicka <hubicka@freesoft.cz>
4500 * i386.md (movqi): Use "nonimmediate_operand" for output operand.
4501 (movstrictqi, movdi, movsf, movdf, movxf): Likewise.
4502 (adddi, addqi, addhi, subdi, subqi, subhi, ffs): Likewise.
4504 Thu Dec 16 02:41:26 1999 Richard Henderson (rth@cygnus.com)
4506 * loop.c (insert_loop_mem): Ignore memory clobbers.
4508 * combine.c (simplify_comparison): Reduce (OP (MINUS A B) 0)
4511 Thu Dec 16 02:26:11 1999 Jeffrey A Law (law@cygnus.com)
4513 * profile.c: Remove redundant #include "output.h".
4515 * h8300.md (HImode preinc peephole): Fix typo.
4517 1999-12-15 Jason Merrill <jason@casey.cygnus.com>
4519 * function.c (retrofit_block): Abort if we don't find a suitable insn.
4520 (insert_block_after_note): Abort if we don't have a previous block.
4521 Remove FN parameter.
4522 * function.h: Adjust.
4524 1999-12-15 Mark Mitchell <mark@codesourcery.com>
4526 * builtins.c (expand_builtin_mathfn): Make sure not to expand the
4527 argument more than once.
4529 1999-12-15 Jason Merrill <jason@casey.cygnus.com>
4531 * stmt.c (expand_decl): Expand upper bound of a dynamic array.
4533 1999-12-15 Jakub Jelinek <jakub@redhat.com>
4535 * expr.c (emit_group_load): Use dst mode if src is VOIDmode.
4537 Wed Dec 15 16:11:55 MET 1999 Jan Hubicka <hubicka@freesoft.cz>
4539 * function.c (PREFERRED_STACK_BOUDNARY): Provide default value.
4540 (assign_stack_local_1): Limit alignment to PREFERRED_STACK_BOUNDARY,
4541 update stack_alignment_needed.
4542 (prepare_function_start): Initialize stack_alignment_needed
4543 * function.h (struct function): Add field stack_alignment_needed.
4545 Wed Dec 15 14:55:24 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
4547 * caller-save.c (insert_one_insn): Returns struct insn_chain *.
4548 Handle live_throughout / dead_or_set instead of live_before /
4550 (save_call_clobbered_regs): Get register livenessinformation from
4551 chain->live_throughout.
4552 (add_stored_regs): New function.
4553 (insert_restore, insert_save): Add restored / saved registers to
4555 * global.c (reg_dies): New parameter chain.
4556 (reg_becomes_live): Third parameter is regs_set now.
4557 Changed all callers.
4558 (reg_dies): New parameter chain. Changed all callers.
4559 (build_insn_chain): Set live_throughout instead of
4560 live_before / live_after.
4561 * reload.h (struct insn_chain): Replace members live_before /
4562 live_after with live_throughout / dead_or_set.
4563 * reload1.c (new_insn_chain): Handle live_throughout / dead_or_set
4564 instead of live_before / live_after.
4565 (maybe_fix_stack_asms, find_reload_regs, finish_spills): Likewise.
4566 (order_regs_for_reload, find_reg, finish_spills): Likewise.
4567 (choose_reload_regs_init): Likewise.
4568 * stupid.c (current_chain, find_clobbered_regs): Delete.
4569 (stupid_life_analysis): Set chain->live_throughout chain->dead_or_set
4570 instead of chain->live_before / chain->live_after.
4571 (mark_hard_ref): New function.
4572 (stupid_mark_refs): Call mark_hard_ref. Clear chain->live_throughout.
4574 1999-12-15 David S. Miller <davem@redhat.com>
4576 * rtlanal.c (reg_overlap_mentioned_p): Handle CONCAT.
4578 Wed Dec 15 15:05:30 MET 1999 Jan Hubicka <hubicka@freesoft.cz>
4580 * flow.c (calculate_loop_depth): Make global, remove prototype,
4581 rewrite to use new loop infrastructure.
4582 (find_basic_block): Remove calculate_loop_depth call.
4583 * toplev.c (rest_of_compilation): Call find_basic_block.
4584 * output.h (calculate_loop_depth): Declare.
4586 * flow.c (dump_flow_info): Dump loop_depth.
4587 (flow_loops_nodes_find): Increase loop_depth for basic block in the
4589 (flow_loops_find): Initialize the loop_depth for each basic block.
4591 1999-12-15 Jason Merrill <jason@casey.cygnus.com>
4593 * tree.c (decl_function_context): Handle virtual functions.
4595 * tlink.c (scan_linker_output): Don't look in demangled name when
4596 looking for linker output keywords.
4598 * dwarfout.c (output_type): We can defer namespace-scope classes.
4600 Wed Dec 15 01:23:29 1999 Jeffrey A Law (law@cygnus.com)
4602 * regclass.c (record_reg_classes): Update comment for merging
4603 register class preferences in reg->reg copies. Tighten conditions
4604 for merging register class preferences in reg->reg copies.
4606 Wed Dec 15 02:19:32 1999 David Edelsohn <edelsohn@gnu.org>
4608 * rs6000.md (tablejumpdi): Generate DImode LABEL_REF.
4610 1999-12-14 Geoff Keating <geoffk@cygnus.com>
4612 * config/m68k/m68020-elf.h (ENDFILE_SPEC): Delete.
4613 (INIT_SECTION_ASM_OP): Delete.
4614 (FINI_SECTION_ASM_OP): Delete.
4615 (STARTFILE_SPEC): Define to hold just crtbegin.o.
4617 1999-12-14 Jason Merrill <jason@casey.cygnus.com>
4619 * dwarf2out.c (add_abstract_origin_attribute): Do call abort if
4620 the abstract origin wasn't emitted.
4622 * dwarf2out.c (class_scope_p): New fn.
4623 (gen_subprogram_die): Use it.
4624 (gen_variable_die): Use it. Tweak logic.
4625 (gen_struct_or_union_type_die): Check context_die to determine
4626 if we're function-local.
4627 (dwarf2out_decl): Check DECL_BUILT_IN, not DECL_FUNCTION_CODE.
4629 1999-12-14 Bernd Schmidt <bernds@cygnus.co.uk>
4631 * loop.c (check_dbra_loop): Can't reverse a biv that has
4634 1999-12-14 Nick Clifton <nickc@cygnus.com>
4636 * config/arm/arm.c: Add support for -mcpu=arm720 command line
4639 Tue Dec 14 18:13:32 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
4641 * loop.c (strength_reduce): Fix sign of giv lifetime calculation
4642 for givs made from biv increments.
4644 Tue Dec 14 08:11:27 1999 Richard Henderson <rth@cygnus.com>
4646 * configure.in (alpha-osf, alpha-linux): Handle ev6[78].
4647 * alpha.c (override_options): Recognize -mcpu=ev67.
4648 * alpha.h (CPP_CPU_EV67_SPEC): New.
4649 (CPP_CPU_DEFAULT_SPEC): Examine TARGET_CPU_DEFAULT to use it.
4650 (EXTRA_SPECS): Update.
4652 Tue Dec 14 08:04:28 1999 Richard Henderson <rth@cygnus.com>
4654 * cppp.c (main): Set trigraphs and __STRICT_ANSI__ as
4655 appropriate for -lang-c89 and -std=*.
4656 * cppinit.c (cpp_handle_option): Likewise.
4657 (new_pending_define): New, split out from cpp_handle_option.
4658 * gcc.c (default_compilers): Don't define __STRICT_ANSI__
4659 or enable trigraphs for -ansi/-std=*.
4661 * ginclude/stdarg.h (__va_copy): New.
4662 (va_copy): Don't define for C89.
4664 Tue Dec 14 08:37:27 CST 1999 Clinton Popetz <cpopetz@cygnus.com>
4666 * config/arm/arm.md (mulsidi3adddi, umulsidi3adddi): New patterns
4667 for long long multiply-accumulate.
4669 Tue Dec 14 13:51:38 MET 1999 Jan Hubicka <hubicka@freesoft.cz>
4671 * regclass.c (scan_one_insn): Set loop_cost to 1 when
4672 optimizing for size.
4674 1999-12-14 Bernd Schmidt <bernds@cygnus.co.uk>
4676 * reload1.c (reload): Can't avoid select_reload_regs/finish_spills
4677 if something changed. Back out that part of yesterday's changes.
4679 * loop.c (loop_max_reg): New static variable.
4680 (loop_optimize): Initialize it. Eliminate one unnecessary call to
4682 (scan_loop): Call reg_scan_update whenever we may have added new
4683 registers, and update loop_max_reg.
4685 Tue Dec 14 12:07:29 MET 1999 Jan Hubicka <hubicka@freesoft.cz>
4687 * regclass.c (record_reg_classes): Do not do the copying preferrencing
4688 when source does not die.
4690 * regclass.c (record_reg_classes): Handle INOUT operands propertly.
4692 1999-12-14 Jakub Jelinek <jakub@redhat.com>
4694 * config/sparc/linux64.h (TARGET_LIVE_G0,
4695 TARGET_BROKEN_SAVERESTORE): Don't support weird SPARC
4697 * config/sparc/linux.h (TARGET_LIVE_G0,
4698 TARGET_BROKEN_SAVERESTORE): Likewise.
4699 * config/sparc/linux-aout.h (TARGET_LIVE_G0,
4700 TARGET_BROKEN_SAVERESTORE): Likewise.
4702 * config/sparc/sparc.h (SPARC_DEFAULT_CMODEL): Default to CM_32.
4703 (CONDITIONAL_REGISTER_USAGE): For block profiling fix %g4 on sparc64,
4705 (MACHINE_STATE_SAVE, MACHINE_STATE_RESTORE): Use %g4 instead of %g2
4706 as sparc64 block profiling register.
4707 * config/sparc/sparc.c (sparc_override_options): Allow block
4708 profiling with -m32.
4709 (sparc_block_profiler): Use %g4 instead of %g2 as sparc64 block
4711 * config/sparc/linux64.h (MACHINE_STATE_*): Only provide these
4712 macros on TARGET_ARCH32. sparc.h has macros good enough for sparc64.
4713 * config/sparc/sol2.h (MACHINE_STATE_*): Likewise.
4715 * config/sparc/xm-sp64.h: Avoid using __sparc_v9__ when testing
4717 * config/sparc/sparc.h: Likewise.
4718 * config/sparc/xm-sysv4-64.h: Likewise.
4719 * config/float-sparc.h: Likewise.
4720 * glimits.h: Likewise.
4721 * longlong.h: Likewise.
4723 * config/sparc/linux64.h (DEFAULT_VTABLE_THUNKS): Define to 1.
4724 (ASM_IDENTIFY_GCC): Remove.
4726 1999-12-14 Bernd Schmidt <bernds@cygnus.co.uk>
4728 * combine.c (combine_simplify_rtx): Don't make shared rtl.
4729 (simplify_logical): Likewise.
4731 1999-12-14 Mumit Khan <khan@xraylith.wisc.edu>
4733 * cccp.c (INO_T_EQ): Disable inode-based optimization for Cygwin.
4734 * cppfiles.c (INO_T_EQ): Likewise.
4736 1999-12-14 Mumit Khan <khan@xraylith.wisc.edu>
4738 * i386/crtdll.h (STARTFILE_SPEC): Add -pg profiling support.
4739 * i386/mingw32.h (LIB_SPEC): Likewise.
4740 (STARTFILE_SPEC): Likewise.
4741 * i386/uwin.h (LIB_SPEC): Likewise.
4742 (STARTFILE_SPEC): Likewise.
4744 * i386/mingw32.h (SUBTARGET_PROLOGUE): Override Cygwin definition.
4745 * i386/uwin.h (SUBTARGET_PROLOGUE): Likewise.
4747 Mon Dec 13 20:25:29 1999 Jeffrey A Law (law@cygnus.com)
4749 * combine.c (combine_simplify_rtx): Fix order of checks for
4750 (ashiftrt foo C) -> (lt foo (const_int 0)) simplification.
4752 1999-12-13 Clinton Popetz <cpopetz@cygnus.com>
4754 * config/arm/arm.md (*mulsidi3adddi, *umulsidi3adddi) Backed out
4755 12/10/99 change, reapplied to merged-arm-thumb-backend-branch.
4757 1999-12-10 Bernd Schmidt <bernds@cygnus.co.uk>
4759 * hard-reg-set.h (inv_reg_alloc_order): Declare if REG_ALLOC_ORDER is
4761 * regclass.c (inv_reg_alloc_order): New array.
4762 (regclass_init): If REG_ALLOC_ORDER is defined, initialize it.
4764 * reload.h (struct insn_chain): Delete fields group_size, group_mode,
4765 counted_for_groups, counted_for_nongroups. Add fields rld and
4767 * reload.c (push_secondary_reload): Don't set nongroup field of
4769 (push_reload): Likewise.
4770 (find_reloads): Delete code to compute nongroup fields.
4771 * reload1.c (reload_insn_firstobj): New static variable.
4772 (pseudos_counted, spilled_pseudos): Now of type regset_head. All
4774 (calculate_needs, find_tworeg_group, find_group, possible_group_p,
4775 count_possible_groups, modes_equiv_for_class_p, new_spill_reg,
4776 dump_needs, maybe_mark_pseudo_spilled, hard_reg_use_compare): Delete
4778 (count_pseudo, select_reload_regs, copy_reloads, find_reg): New
4780 (struct hard_reg_n_uses): Deleted.
4781 (potential_reload_regs): Deleted.
4782 (init_reload): Initialize spilled_pseudos and pseudos_counted.
4783 (reload): Don't try to allocate reload registers if we already know
4784 we have to make another pass. Call select_reload_regs. Free memory
4785 starting with reload_firstobj when starting another pass.
4786 Don't allocate spilled_pseudos.
4787 (calculate_needs_all_insns): Call copy_reloads for an insn that
4788 needs reloads; don't call calculate_needs.
4789 (spill_cost): New static array.
4790 (used_spill_regs_local): New static variable.
4791 (order_regs_for_reload): Rewrite to lose hard_reg_n_uses and the code
4792 to compute potential_reload_regs.
4793 (find_reload_regs): Completely rewritten to use find_reg.
4794 (allocate_reload_reg): Don't test counted_for_groups or
4795 counted_for_nongroups. Lose NOERROR arg and code to give an error;
4797 (choose_reload_regs): Add fallback code that uses the existing
4798 register allocation from find_reload_regs.
4800 Mon Dec 13 00:54:14 1999 Philippe De Muyter <phdm@macqel.be>
4802 * flow.c (create_edge_list): Cast xmalloc return value.
4804 Mon Dec 13 00:47:58 1999 Jeffrey A Law (law@cygnus.com)
4806 * doprnt.c: Remove incorrect comment closure.
4808 * cse.c: Fix a few minor whitespace goofs.
4810 1999-12-13 Don Bowman <don@pixstream.com>
4812 * mips/vxworks.h: Fix problem with comment termination.
4813 (EXTRA_SECTIONS): Add in_sbss.
4814 (EXTRA_SECTION_FUNCTIONS): Corresponding changes.
4816 1999-12-12 David S. Miller <davem@redhat.com>
4818 * cse.c (struct cse_reg_info): Add hash_next member,
4819 reorder rest of struct for better packing on 64-bit
4821 (cse_reg_info_tree): Kill.
4822 (REGHASH_SHIFT, REGHASH_SIZE, REGHASH_MASK, reg_hash,
4823 REGHASH_FN): New custom pow2 hash mechanism.
4825 (HASH_SHIFT, HASH_SIZE, HASH_MASK, HASH, table): Rework to
4826 use a pow2 hash table.
4827 (get_cse_reg_info): Rework to use new REGHASH.
4828 (new_basic_block): Likewise, use HASH_SIZE, and inline
4830 (remove_from_table): Rework to use HASH_SIZE/HASH_MASK,
4831 and inline free_element call.
4832 (lookup_as_function, insert, flush_hash_table, invalidate,
4833 remove_invalid_refs, remove_invalid_subreg_refs, rehash_using_reg,
4834 invalidate_for_call, use_related_value, find_comparison_args,
4835 fold_rtx, equiv_constant, cse_insn, invalidate_memory): Likewise.
4836 (hash_cse_reg_info, cse_reg_info_equal_p, free_element,
4839 Sun Dec 12 21:31:44 1999 Jeffrey A Law (law@cygnus.com)
4841 * cse.c (cse_basic_block): Free qty_table consistently.
4843 1999-12-12 David S. Miller <davem@redhat.com>
4844 Jakub Jelinek <jakub@redhat.com>
4846 * config/sparc/sparc.md (movtf reg/reg split): Don't generate
4847 SUBREGs by hand, gen the appropriate hard reg directly.
4848 (movtf reg/mem split): Likewise and alter_subreg on destination
4850 (movtf mem/reg split): Similarly.
4851 (movdf_cc_sp64): Rename from hidden pattern.
4852 (movtf_cc_hq_sp64): Renamed from movtf_cc_sp64.
4853 (movtf_cc_sp64, following split): New pattern and splitter.
4854 (movdf_cc_reg_sp64): Rename from hidden pattern.
4855 (movtf_cc_reg_hq_sp64): Renamed from movtf_cc_reg_sp64, require
4857 (movtf_cc_reg_sp64, following split): New pattern and splitter.
4859 1999-12-12 Stephen L Moshier <moshier@mediaone.net>
4861 * loop.c (load_mems): Don't hoist written floating point mem
4864 1999-12-12 Mark Mitchell <mark@codesourcery.com>
4866 * except.h (struct eh_queue): Add `next' pointer.
4867 (struct eh_status): Make x_ehqueue a pointer.
4868 (push_ehqueue): Declare.
4869 (pop_ehqueue): Likewise.
4870 * except.c (expand_eh_region_end): Adjust now that ehqueue is a
4872 (expand_fixup_region_end): Likewise.
4873 (expand_leftover_cleanups): Likewise.
4874 (push_ehqueue): Define.
4875 (pop_ehqueue): Likewise.
4876 (emit_cleanup_handler): Use push_ehqueue and pop_ehqueue rather
4877 than doing it inline.
4878 (expand_start_all_catch): Adjust now that ehqueue is a
4880 (mark_eh_queue): Mark all level of the queue.
4881 (mark_eh_status): Adjust now that ehqueue is a
4883 (init_eh_for_function): Allocate ehqueue.
4884 (free_eh_status): Free it.
4885 * stmt.c (expand_cleanups): Save the ehqueue around the cleanup
4886 expansion for a fixup.
4888 1999-12-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4890 * gthr-single.h (__gthread_active_p): Add prototype arguments.
4892 * libgcc2.c (__udivmoddi4): Remove unnecessary decls.
4893 (__dummy, __builtin_saveregs, __bb_exit_trace_func, __bb_init_prg,
4894 __bb_trace_func, __bb_trace_func_ret, __bb_trace_ret,
4895 function_ptr, getpagesize, __enable_execute_stack,
4896 __enable_execute_stack, __clear_insn_cache,
4897 __enable_execute_stack, __do_global_dtors, __do_global_ctors,
4898 _cleanup, _exit, __default_terminate, __terminate_func,
4899 __terminate, __empty, __throw, new_eh_context,
4900 eh_context_initialize, eh_context_static, eh_context_specific,
4901 get_eh_context, __get_eh_context, __get_eh_info,
4902 init_reg_size_table, eh_threads_initialize,
4903 __get_dynamic_handler_chain, __sjthrow, __sjpopnthrow,
4904 __unwinding_cleanup, throw_helper, __throw, __rethrow,
4905 __pure_virtual): Add prototype arguments.
4906 (__bb_exit_func): Cast a sizeof to long when comparing against one.
4907 Cast a signed value to unsigned long when comparing against one.
4908 (new_eh_context): Wrap in _GTHREADS macro.
4909 (__sjthrow, __sjpopnthrow): Initialize variable `cleanup' at
4911 (in_reg_window): Mark parameters with __attribute__ ((__unused__)).
4912 (throw_helper): Initialize variables `handler_p' and `pc_p'.
4914 1999-12-11 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4916 * combine.c (record_promoted_value): Remove unused variable
4919 * emit-rtl.c (renumber_insns): Likewise for `old_max_uid'.
4921 * global.c (record_conflicts): Likewise for `j'.
4923 * genoutput.c (output_insn_data): Don't unnecessarily cast away
4926 1999-12-11 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4928 * i386-protos.h (output_387_binary_op, output_fix_trunc,
4929 output_fp_compare): Constify a char*.
4931 * i386.c (ix86_split_to_parts, ix86_safe_length_prefix): Add
4933 (override_options, ix86_comp_type_attributes, print_operand,
4934 output_387_binary_op, output_fix_trunc, output_fp_compare):
4936 (ix86_sched_reorder): Mark parameter `clock_var' with
4939 * i386.h (DEBUG_PRINT_REG): Constify a char*.
4941 Fri Dec 10 16:12:13 1999 Alexandre Petit-Bianco <apbianco@cygnus.com>
4943 * tree.def (EXPR_WITH_FILE_LOCATION): Temporarily add a third
4944 operand, for use in the Java front-end.
4946 1999-12-10 Ben Collins <bcollins@debian.org>
4948 * configure.in: Fix typo for "-64" in 64bit as check.
4949 * configure: Rebuilt.
4951 1999-12-10 Jakub Jelinek <jakub@redhat.com>
4953 * longlong.h (__sparc_v9__): Use %rDIGIT instead of %DIGIT where
4956 1999-12-10 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4958 * c-parse.in (string): With -Wtraditional, warn if ANSI string
4959 concatenation is utilized.
4961 * invoke.texi (-Wtraditional): Document it.
4963 1999-12-10 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4965 * flow.c (flow_loops_dump): Avoid ANSI string concatenation.
4966 Cast a ptrdiff_t to long and pass it to printf with %ld.
4968 1999-12-10 Geoff Keating <geoffk@cygnus.com>
4970 * config/m68k/m68k.h (CONDITIONAL_REGISTER_USAGE): If we have no
4971 68881, we have no 68881 registers at all.
4972 (HARD_REGNO_MODE_OK): It is always OK to put a MODE_FLOAT
4973 value in a 68881 register if it is available.
4975 1999-12-10 Clinton Popetz <cpopetz@cygnus.com>
4977 * config/arm/arm.md (*mulsidi3adddi, *umulsidi3adddi): New patterns
4978 for long long multiply-accumulate.
4980 1999-12-10 Bernd Schmidt <bernds@cygnus.co.uk>
4982 * loop.c (insert_loop_mem): Undo last change.
4984 1999-12-10 David S. Miller <davem@redhat.com>
4986 * config/sparc/sparc.c (fp_sethi_p, fp_mov_p, fp_high_losum_p):
4988 * config/sparc/sparc-protos.h: Add them.
4989 * config/sparc/sparc.h: Add them to PREDICATE_CODES.
4990 (EXTRA_CONSTRAINT_BASE): New macro, handling Q, R, and S
4991 constraints which use those helpers.
4992 (EXTRA_CONSTRAINT): Use this new macro.
4993 * md.texi: Update sparc target constraints documentation.
4994 * config/sparc/sparc.md (clear_sf, clear_sfp, movsf_const_intreg,
4995 movsf_const_high, movsf_const_lo, movsf_insn): Delete.
4996 (movsf_insn_novis_liveg0, movsf_insn_novis_noliveg0,
4997 movsf_insn_vis, movsf_lo_sum, movsf_high): New patterns.
4998 (movsf high/lo_sum split): Rework for new patterns.
4999 (movsf expander): Allow storing fp_zero to memory if ! live_g0.
5001 1999-12-09 Gavin Romig-Koch <gavin@cetus.cygnus.com>
5003 * c-common.c (c_common_nodes_and_builtins):
5004 Create __builtin_ptrdiff_t and __builtin_size_t.
5006 Thu Dec 9 18:05:48 1999 Jeffrey A Law (law@cygnus.com)
5008 * pa/elf.h (MAX_OFILE_ALIGNMENT): Define.
5010 Fri Dec 10 00:53:10 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
5012 * regclass.c (globalize_reg): Re-instate test that allows
5013 fixed registers to be declared as a variable even after functions
5016 Fri Dec 10 00:52:13 MET 1999 Jan Hubicka <hubicka@freesoft.cz>
5018 * i386.md (cpu attribute): Add "athlon".
5019 (athlon_decode): New attribute.
5020 (Athlon scheduling units definitions): New.
5021 (fcmp and shld patterns): Set athlon_decode to "vector".
5022 * i386.c (athlon_cost): New.
5024 (x86_use_leave, x86_push_memory, x86_movx, x86_cmove, x86_deep_branch,
5025 x86_use_sahf): Set for Athlon.
5026 (x86_use_fiop): Unset for Athlon.
5027 (override_options): Define Athlon alignments and "athlon" name.
5028 (x86_adjust_cost): Penalize AGI and delayed latencies for Athlon.
5029 * i386.h (TARGET_ATHLON): New.
5030 (enum processor_type): Add PROCESSOR_ATHLON.
5031 (TARGET_CPU_DEFAULT_SPEC): Set to "-D__tune_athlon__"
5033 (TARGET_CPP_CPU_SPECS): Set -D__tune_athlon__ for Athlon.
5035 1999-12-09 Andreas Jaeger <aj@suse.de>
5037 * loop.c (record_biv): Declare parameter as int.
5039 * config/i386/i386-protos.h: Declare long_memory_operand.
5041 1999-12-09 Mark Mitchell <mark@codesourcery.com>
5043 * tree.c (copy_node): Do zero the TREE_CHAIN, even for an
5044 EXPR_WITH_FILE_LOCATION.
5046 Thu Dec 9 11:36:24 MET 1999 Jan Hubicka <hubicka@freesoft.cz>
5048 * i386.md (neg??, abs?f, one_cmpl?i): Use nonimmediate_operand
5051 * flow.c (recompute_reg_usage): Use basic block info to get loop_depth.
5053 * combine.c (try_combine, distribute_notes): Remove REG_N_REFS
5056 1999-12-09 Jakub Jelinek <jakub@redhat.com>
5058 * config/sparc/linux64.h (TARGET_DEFAULT): Make -mapp-regs
5059 default on linux64 again.
5060 * config/sparc/t-linux64: Add mno-app-regs and non-medlow code
5061 models for multilibing.
5062 * genmultilib: Accept | as alternative separator within a set in
5065 * config/sparc/sparc.h (PROMOTE_FOR_CALL_ONLY): Define.
5067 * calls.c (precompute_arguments): Make sure initial_value contains
5068 value pseudo which CSE expects.
5069 * cse.c (struct set): New entry orig_src.
5070 (cse_insn): Set it early on entry, use it for libcall EQUIV note
5073 Wed Dec 8 22:24:15 1999 Richard Henderson <rth@cygnus.com>
5075 * flow.c (count_basic_blocks): Don't add (use (const_int 0)) insns.
5077 1999-12-08 Bernd Schmidt <bernds@cygnus.co.uk>
5079 * loop.c (insert_loop_mem): Don't hoist volatile mems out of loops.
5081 1999-12-08 Jakub Jelinek <jakub@redhat.com>
5083 * config/sparc/sparc.c (ultra_cmove_results_ready_p,
5084 ultra_fpmode_conflict_exists, ultra_flush_pipeline): Typo fix.
5086 * config/sparc/sparc.h (SPARC_SETHI_P): Don't look at topmost 32 bits
5089 * longlong.h: Merge in changes from glibc.
5090 Also don't clobber %g2 register in 32bit SPARC assembly, so that
5091 -mno-app-regs libgcc can be compiled.
5092 * libgcc2.c: Add defines so that the updated longlong.h
5093 can be used in libgcc2.a. Also, make sure on most architectures
5094 (at least on all which have optimized code in longlong.h defined
5095 for) {SI,W}_TYPE_SIZE is suitable for preprocessor tests.
5097 1999-12-08 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
5099 * config/sparc/sol2-64.h: Same as sol2-sld-64.h, except that
5100 `-m EMULATION' is added to non-default LINK_ARCH_SPECs.
5101 * configure.in: Use sol2-64.h instead of sol2-sld-64.h if linker
5103 * configure: Rebuilt.
5105 Wed Dec 8 03:45:40 1999 Richard Henderson <rth@cygnus.com>
5107 * alpha.c (secondary_reload_class): For !BWX, sub-simode
5108 outputs require a register.
5110 1999-12-08 Brendan Kehoe <brendan@cygnus.com>
5112 * Makefile.in (FPBIT_FUNCS, DPBIT_FUNCS): Add _sf_to_usi
5113 _df_to_usi. Required by some targets, so US_SOFTWARE_GOFAST calls to
5114 functions like dptoul will be resolved.
5115 (libgcc2.a): Make sure that the object files from DPBIT are named
5116 differently (prefix `_dp') from those that would be coming from
5119 1999-12-08 Alexandre Oliva <oliva@lsd.ic.unicamp.br>, Jakub Jelinek <jakub@redhat.com>
5121 * configure.in: When target is sparc* and tm_file contains 64,
5122 test for 64bit support in assembler. If not supported, remove
5123 sparc/t-sol2-64 from target-dependent Makefile fragments.
5124 (AS_SPARC64_FLAG): Define to the assembler flag for 64bit.
5125 (HAVE_AS_OFFSETABLE_LO10): Rework test to use these flags.
5126 (HAVE_AS_REGISTER_PSEUDO_OP): Use config.cache.
5127 * acconfig.h (AS_SPARC64_FLAG): Added.
5128 * configure, config.in: Rebuilt.
5129 * config/sparc/sol2-sld-64.h: Same as sol2.h, if without 64bit
5130 support. Use AS_SPARC64_FLAG.
5132 1999-12-07 Jakub Jelinek <jakub@redhat.com>
5134 * config/sparc/sparc.c (hard_32bit_mode_classes): Mark registers
5135 suitable for holding OFmode values so that gcc works with complex
5137 (hard_64bit_mode_classes): Likewise.
5139 * config/sparc/sparc.md (sethi_di_medlow_embmedany_pic): Fix pattern
5140 so that it is actually matched.
5141 (sethi_di_medlow): Likewise.
5143 * config/sparc/sparc.h (LEGITIMATE_CONSTANT_P): Consider TFmode 0.0L
5144 as legitimate constant if -mvis.
5145 * config/sparc/sparc.md (movtf): Likewise.
5146 (clear_sf): Use const_double_operand.
5147 (clear_sfp, clear_dfp, clear_tf, clear_tfp): New patterns.
5149 * config/sparc/sparc.c (sparc_emit_float_lib_cmp): New function.
5150 * config/sparc/sparc-protos.h (sparc_emit_float_lib_cmp): Prototype.
5151 * config/sparc/sparc.h (*_LIBCALL): Only use for _Q_*
5152 routines, _Qp_* cannot be handled like that now.
5153 (INIT_TARGET_OPTABS): Likewise.
5154 * config/sparc/sparc.md (cmptf): Accept soft float ARCH64.
5155 (seq, sne, sgt, sge, slt, sle, beq, bne, bgt, bge, blt, ble): Call
5156 sparc_emit_float_lib_cmp if ARCH64 and soft float.
5157 (extendsftf2, extenddftf2, trunctfsf2, trunctfdf2, floatsitf2,
5158 floatditf2, fix_trunctfsi2, fix_trunctfdi2, addtf3, subtf3, multf3,
5159 divtf3, sqrttf3): New expanders.
5160 (extendsftf2_hq, extenddftf2_hq, trunctfsf2_hq, trunctfdf2_hq,
5161 floatsitf2_hq, floatditf2_hq, fix_trunctfsi2_hq, fix_trunctfdi2_hq,
5162 addtf3_hq, subtf3_hq, multf3_hq, divtf3_hq, sqrttf3_hq): Rename from
5165 * configure.in (sparc64-*-linux*): Use posix threads if enabled.
5166 * configure: Rebuilt.
5167 * config/sparc/linux64.h: Default to -mcpu=ultrasparc if no
5168 -mcpu is given and we're doing 64bit compiles.
5170 Tue Dec 7 19:22:06 1999 Richard Henderson <rth@cygnus.com>
5172 * loop.h (struct induction): Add multi_insn_incr.
5173 * loop.c (basic_induction_var): New multi_insn_incr argument.
5174 Set it if we search back through previous insns for the biv.
5175 (record_biv): New multi_insn_incr argument; fill in struct induction.
5176 (strength_reduce): Discard an iv with multiple bivs, any of
5177 which require multiple insns to increment.
5179 1999-12-07 Martin v. Löwis <loewis@informatik.hu-berlin.de>
5181 * invoke.texi (C Dialect Options): Remove -flang-c9x, add -std
5184 1999-12-06 David S. Miller <davem@redhat.com>
5186 * combine.c (check_promoted_subreg): Do not conditionalize this upon
5187 PROMOTE_FUNCTION_RETURN.
5189 Mon Dec 6 15:12:14 1999 Jim Wilson <wilson@cygnus.com>
5191 * regmove.c (optimize_reg_copy_1): If no REG_DEAD note, check for
5192 and handle REG_UNUSED note on insn.
5194 * combine.c (force_to_mode, case LSHIFTRT): New local inner_mask. Set
5195 inner_mask instead of mask.
5197 1999-12-06 Brendan Kehoe <brendan@cygnus.com>
5199 * dwarf2out.c (field_byte_offset): As with dwarfout.c, size can be
5200 zero if there was an error.
5202 1999-12-06 Jakub Jelinek <jakub@redhat.com>
5204 * config/sparc/sparc.md (return_losum_di): Fix typo in asm
5207 * longlong.h: Fix clobbers in SPARC asm statements.
5209 * config/sparc/sparc.c (input_operand): Allow HImode and QImode
5210 valid sethi operations when TARGET_ARCH64.
5212 * calls.c (save_fixed_argument_area): If save_mode is BLKmode,
5213 always use move_by_pieces to avoid infinite recursion.
5214 (restore_fixed_argument_area): Likewise.
5216 * combine.c (check_promoted_subreg, record_promoted_value): New
5218 (combine_instructions): Use them to retain nonzero and sign bit
5219 information after SUBREGs are eliminated by optimizations in
5220 this pass if PROMOTE_FUNCTION_RETURN.
5222 * config/sparc/sparc.h (ASM_DECLARE_REGISTER_GLOBAL): Document
5223 .register declaration. Don't use variables with __ prefixes.
5225 Mon Dec 6 12:24:52 1999 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
5227 * fold-const.c (optimize_bit_field_compare): Only use one mode
5228 for both RHS and LHS in non-constant case.
5230 1999-12-06 Nathan Sidwell <nathan@acm.org>
5232 * frame.c (start_fde_sort): Only allocate erratic array, if
5233 linear one was allocated. Return allocated flag.
5234 (fde_insert): Only insert, if there's a valid array.
5235 (fde_end_sort): Split, sort and merge if linear and erratic
5236 arrays exist, else just sort linear one.
5237 (search_fdes): New function. Linear search through original fde
5239 (frame_init): Permit multiple initializations. Cope with
5241 (find_fde): Fallback on linear search, if failed to sort array.
5242 (__deregister_frame_info): Only free sorted array, if we
5245 1999-12-06 Jakub Jelinek <jakub@redhat.com>
5247 * config/sparc/sparc.h (MUST_PASS_IN_STACK): New macro.
5249 1999-12-05 Jakub Jelinek <jakub@redhat.com>
5251 * config/sparc/sparc.c (sparc64_initialize_trampoline): Use gen_flushdi.
5253 1999-12-05 Mark Mitchell <mark@codesourcery.com>
5255 * tree.h (special_function_p): Declare.
5256 * calls.c (special_function_p): Make it global. Don't take `name'
5257 as a parameter. Fix typo in 1999-11-28 change.
5258 (expand_cal): Adjust.
5260 1999-12-04 Mark Mitchell <mark@codesourcery.com>
5262 * tree.def (EXPR_WITH_FILE_LOCATION): Fix comment formatting.
5263 * tree.h (EXPR_WFL_FILENAME): Define in terms of
5264 EXPR_WFL_FILENAME_NODE.
5265 (EXPR_WFL_FILENAME_NODE): Use the second operand slot rather than
5267 * print-tree.c (print_note): Print TREE_PRIVATE and
5270 * dwarf2out.c (add_abstract_origin_attribute): Don't abort when
5271 the original die cannot be found.
5273 * varray.h (varray_head_tag): Add elements_used.
5274 (VARRAY_PUSH): New macro.
5275 (VARRAY_POP): Likewise.
5276 (VARRAY_TOP): Likewise.
5277 Add variants of VARRAY_PUSH and VARRAY_POP for all varray element
5279 * varray.c (varray_init): Initialize elements_used.
5280 * Makefile.in (BASIC_BLOCK_H): Add varray.h.
5281 (INTEGRATE_H): New variable.
5282 (integrate.o): Depend on INTEGRATE_H.
5283 (unroll.o): Likewise.
5285 * function.h (insert_block_after_note): Declare.
5286 * function.c (insert_block_after_note): Split out from ...
5287 (retrofit_block): ... here.
5289 * stmt.c (expand_fixup): Fix typo in comment.
5291 Sat Dec 4 14:13:38 MET 1999 Jan Hubicka <hubicka@freesoft.cz>
5293 * regmove.c (copy_src_to_dest): Remove loop_depth parameter.
5294 (optimize_reg_copy_1): Remove REG_N_REFS updating code.
5295 (optimize_reg_copy_2, copy_src_to_dest, fixup_match_2): Likewise.
5296 (regmove_optimize, fixup_match_1): Likewise.
5298 1999-12-05 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
5300 * flow.c (flow_loops_dump): Add missing argument when calling
5303 1999-12-04 Geoffrey Keating <geoffk@cygnus.com>
5304 Greg McGary <gkm@gnu.org>
5306 * c-common.c (enum attrs): Add A_NO_LIMIT_STACK.
5307 (init_attributes): Add A_NO_LIMIT_STACK.
5308 (decl_attributes): Handle A_NO_LIMIT_STACK.
5309 * c-decl.c (duplicate_decls): Handle DECL_NO_LIMIT_STACK.
5310 * explow.c (allocate_dynamic_stack_space) [!HAVE_allocate_stack]:
5311 Handle stack bounds checking.
5312 * flags.h (flag_stack_check): Use the word 'probe' rather than
5313 'check', because the flag doesn't actually cause any checking to
5315 * function.c (expand_function_start): Set
5316 current_function_limit_stack.
5317 * function.h (struct function): Add limit_stack.
5318 (current_function_limit_stack): Define.
5319 * invoke.texi (Code Gen Options): Document new options.
5320 * rtl.h: Declare stack_limit_rtx.
5321 * toplev.c (stack_limit_rtx): New variable.
5322 (decode_f_option): Handle new options -fstack-limit-register=REG,
5323 -fstack-limit-symbol=IDENT, -fno-stack-limit.
5324 (main): Add stack_limit_rtx as GC root.
5325 * tree.h (DECL_NO_LIMIT_STACK): New macro.
5326 (struct tree_decl): New member no_limit_stack.
5328 * config/rs6000/rs6000.c (rs6000_allocate_stack_space): Handle
5330 * config/rs6000/rs6000.md (allocate_stack): Handle stack_limit_rtx.
5331 (conditional_trap+1): Get new mnemonic correct.
5332 (conditional_trap+2): New pattern for DImode traps.
5334 * config/m68k/m68k.c (output_function_prologue): Handle
5336 * config/m68k/m68k.md (trap): New insn.
5337 (conditional_trap): New insn.
5338 * md.texi (Standard Names): Document `trap' and
5340 * optabs.c (gen_cond_trap): Use start_sequence()/end_sequence()
5341 so a cc0 setter doesn't get emitted at some random place in the
5344 * config/i960/i960.md (trap): New insn.
5345 (conditional_trap): New expander.
5346 (conditional_trap+1, conditional_trap+2): New insns for signed
5348 * config/i960/i960.c (i960_function_prologue): Use
5349 STARTING_FRAME_OFFSET. Handle stack_limit_rtx.
5351 Thu Dec 2 21:22:45 1999 Greg McGary <gkm@gnu.org>
5352 Geoffrey Keating <geoffk@cygnus.com>
5354 * flags.h (warn_padded, warn_packed): Add global var decls.
5355 * toplev.c (warn_padded, warn_packed): Add global var defns.
5356 (W_options): Add warnings `-Wpacked' and `-Wpadded'.
5357 * stor-layout.c (layout_record): Add local variable `type'
5358 to hold often-used TREE_TYPE (field). Add local variable
5359 `unpacked_align' to hold alignment that would be in force
5360 if no `packed' attribute were present. Warn if `packed' attribute
5361 is unnecessary, or even harmful. Warn when gcc inserts padding
5362 to satisfy alignment requirements of members. Use NULL_TREE
5363 when checking whether var_size is set.
5364 * invoke.texi: Document new flags.
5366 1999-12-03 Nathan Sidwell <nathan@acm.org>
5368 * frame.c (fde_split): Reimplement to avoid variable sized array.
5370 Thu Dec 2 18:59:48 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
5372 * combine.c (try_combine): Before fixing up LOG_LINKS for the
5373 i3_subst_into_i2 case, check that GET_CODE (PATTERN (i2)) == PARALLEL.
5375 1999-12-02 Gavin Romig-Koch <gavin@cygnus.com>
5377 * invoke.texi: Document the mips option -mno-crt0
5379 1999-12-02 Mike Karr <mkarr@mathworks.com>
5381 * cccp.c (argdata): Added free_ptr member.
5382 (macroexpand): Initialize free_ptr of each argument. When an
5383 argument's buffers are freed, if the argument's free_ptr corresponds
5384 to a buffer on the input stack, then return the free_ptr to that stack
5385 frame, otherwise, free it.
5386 (macarg): If an argument begins and ends on the same input stack level,
5387 then transfer the free_ptr of that buffer to the argument in case
5388 the stack is popped during the processing of a subsequent argument.
5390 1999-12-02 Bernd Schmidt <bernds@cygnus.co.uk>
5392 * loop.c (note_reg_stored): New function.
5393 (struct note_reg_stored_arg): New structure.
5394 (try_copy_prop): Change to be more conservative; only replace within
5395 one extended basic block and stop replacing if a store to the
5396 replacement reg is seen.
5398 1999-12-02 Nick Clifton <nickc@cygnus.com>
5400 * config/fp-bit.c: Initialise all fields of the NAN
5403 * c-lex.c (check_newline): Pass pragma_getc and pragma_ungetc
5406 Wed Dec 1 18:16:38 1999 Jan Hubicka <hubicka@freesoft.cz>
5408 * i386.md (extend?f?f2): Force the input into a register, not
5411 1999-12-01 Jakub Jelinek <jakub@redhat.com>
5413 * config/sparc/sparc.md (movsf_const_intreg): Add constraints for
5415 (movdf_const_intreg_sp32): Likewise. Prefer the memory load
5416 alternative because setting up 64bit constant is usually costly,
5417 especially when reload is in progress or completed.
5418 (movdf_const_intreg_sp64): Likewise.
5419 (movdf_const_intreg split): Fix building up constants when
5420 HOST_BITS_PER_WIDE_INT is 64 yet long is 32bit.
5422 Wed Dec 1 16:51:22 1999 Jeffrey A Law (law@cygnus.com)
5424 * combine.c (if_then_else_cond): Use const_true_rtx instead of
5425 const1_rtx for return values in EQ/NE comparison against (const_int 0)
5428 * mn10300.c (REG_SAVE_BYTES): Allocate space for AM33 registers.
5429 (asm_file_start): Emit .am33 into assembly file when compiling for
5431 (print_operand_address): Handle POST_INC addresses.
5432 (can_use_return_insn, initial_offset): Check AM33 registers too.
5433 (expand_prologue): Check & save AM33 registers too.
5434 (expand_epilogue): Similarly.
5435 (secondary_reload_class): Handle AM33 specific secondary reloads.
5436 (output_tst): Emit efficient code for the AM33 too.
5437 * mn10300.h (CPP_SPEC, TARGET_AM33): Define.
5438 (TARGET_SWITCHES): Add -mam33 switch.
5439 (FIRST_PSEUDO_REGISTER): Handle new AM33 registers.
5440 (FIXED_REGISTERS, CALL_USED_REGISTERS): Likewise.
5441 (REG_ALLOC_ORDER, CONDITIONAL_REGISTER_USAGE): Likewise.
5442 (HARD_REGNO_MODE_OK, MODES_TIEABLE_P): Likewise.
5443 (enum reg_class, REG_CLASS_NAMES): Likewise.
5444 (REG_CLASS_CONTENTS, REGNO_REG_CLASS): Likewise.
5445 (INDEX_REG_CLASS, REG_CLASS_FROM_LETTER): Likewise.
5446 (REGNO_OK_FOR_INDEX_P, PREFERRED_RELOAD_CLASS): Likewise.
5447 (PREFERRED_OUTPUT_RELOAD_CLASS, LIMIT_RELOAD_CLASS): Likewise.
5448 (REGISTER_MOVE_COST, REGISTER_NAMES): Likewise.
5449 (HAVE_POST_INCREMENT): Define.
5450 (GO_IF_LEGITIMATE_ADDRESS): Allow POST_INC addresses for the AM33.
5451 (GO_IF_MODE_DEPENDENT_ADDRESS): POST_INC is a mode dependent address.
5452 * mn10300.md (movqi, movhi, addsi, subsi): Add AM33 variants.
5453 (mulsi, andsi, iorsi, xorsi, notsi): Likewise.
5454 (ashiftsi, lshiftrtsi, ashiftrtsi): Likewise.
5455 (zero_extend to SI from QI/HI): Likewise.
5456 (sign_extend to SI from QI/HI): Likewise.
5457 (mulsidi3, umulsidi3): New patterns for the AM33.
5458 (tstsi with zero extension from QI/HI): Add AM33 variants.
5459 (movsi, movsf, movdi, movdf): Generate efficient code for the AM33 too.
5460 (return_internal_regs, store_movm): Handle new AM33 registers.
5461 * t-mn10300 (MULTILIB_OPTIONS, MULTILIB_DIRNAMES): Define.
5462 (LIBGCC, INSTALL_LIBGCC): Likewise.
5463 * invoke.texi: Document new flags.
5465 Fri Nov 26 10:59:12 CET 1999 Jan Hubicka <hubicka@freesoft.cz>
5467 * i386.md (addsi3_cc): Add "binary_operator_ok" to the condition.
5468 (addsi3_carry): Likewise.
5469 (sbbsi3_cc): Add "binary_operator_ok" to the condition.
5470 (sbbsi3_carry): Likewise.
5471 (mulsi3): Rewrite to expander, ensure that only one operand is memory.
5473 (test?i_1): Ensure that only one operand is memory.
5474 (conditional move patterns): likewise.
5475 (shift and rotate patterns): Rewrite to expander, add
5476 "binary_operator_ok" to the condition.
5478 * i386.md (QImode patterns): Remove '*' before the 'r' constraints.
5479 * i386.h (procesor_costs): Add movzbl_load field.
5480 (HARD_REGNO_MODE_OK): Accept QImode on non PARTIAL_REGISTER_STALL in
5481 non-Q registers, accept DImode registers anywhere.
5483 (MEMORY_MOVE_COST): Calculate QImode moves correctly.
5484 * i386.c (*_cost): Set value for movxbl_load field.
5486 * (addsi): New add to lea splitter.
5488 (lea to add/shift peep2): New.
5490 1999-12-01 Mark Salter <msalter@cygnus.com>
5492 * config/mips/elf.h (STARTFILE_SPEC): Add no-crt0.
5493 * config/mips/elf64.h (STARTFILE_SPEC): Add no-crt0.
5494 * config/mips/mips.h (TARGET_SWITCHES): Add no-crt0.
5496 Tue Nov 30 15:20:52 MET 1999 Jan Hubicka <hubicka@freesoft.cz>
5498 * i386.c (ix86_expand_move): Never add clobbers to move patterns.
5499 * i386.md (movsi_xor): New.
5501 (movsi_1, movhi_1, movqi_1): Remove.
5502 (movsi_2): Rename to movsi_1.
5503 (movhi_2): Rename to movhi_1.
5504 (movqi_2): Rename to movqi_1.
5505 (movdi_1): Remove; remove splitter.
5506 (movdi_2): Rename to movdi_1.
5507 (divmodsi4 splitter): Do not emit clobbers for move patterns.
5508 (long move peep2): Do not create QI or HI mode mov0s
5509 (mov -1,reg -> or peep2s): Enable again, rewrite to single peephole.
5511 * i386.md (zero_extend?i?i2): Rewrite to expanders; new patterns,
5514 * i386.md (neg?f2_if): Split "r" and "f" to separate alternatives.
5515 (abs?f2_if): Likewise.
5517 1999-11-30 Alex Samuel <samuel@codesourcery.com>
5519 * ggc.h (ggc_test_and_set_mark): New macro.
5520 (ggc_mark_rtx): Use ggc_test_and_set_mark.
5521 (ggc_mark_tree): Likewise.
5522 (ggc_mark_rtvec): Likewise.
5523 * ggc-common.c (ggc_mark_rtx_children): Reduce recursion.
5525 1999-11-30 Jason Merrill <jason@casey.cygnus.com>
5527 * dwarf2out.c (scope_die_for): Only handle types. Only search for
5529 (decl_scope_table): Just an array of trees now.
5530 (push_decl_scope): Simplify.
5531 (dwarf2out_init): Adjust.
5532 (local_scope_p): New fn.
5533 (gen_inlined_enumeration_type_die): Don't call scope_die_for.
5534 (gen_inlined_union_type_die, gen_inlined_structure_type_die): Likewise.
5535 (gen_typedef_die): Likewise.
5536 (gen_lexical_block_die): Don't call push/pop_decl_scope.
5537 (gen_inlined_subroutine_die): Likewise.
5538 (gen_abstract_function): Set current_function_decl temporarily.
5539 (gen_subprogram_die): Don't check DECL_ABSTRACT to set declaration.
5540 Handle block extern declarations. Don't call push/pop_decl_scope.
5541 (gen_decl_die): Fix logic for block externs.
5543 1999-11-30 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5545 * calls.c (special_function_p): Remove `realloc' and add `strdup'
5546 to the list of functions which have attribute malloc by default.
5548 1999-11-30 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5550 * c-lex.c (yylex): With -Wtraditional, when the ANSI type of an
5551 integer constant does not match the traditional type, limit the
5552 warnings to cases where the base of the type is ten.
5554 * invoke.texi (-Wtraditional): Document it.
5556 Tue Nov 30 15:18:35 1999 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
5558 * combine.c (try_combine): Only pass SET or CLOBBER to SET_DEST
5559 * rs6000.md: Only access a CONST_INT with INTVAL
5561 Tue Nov 30 14:21:00 1999 Richard Henderson <rth@cygnus.com>
5563 * lcm.c (compute_laterin): Cast bb->aux to size_t not int.
5564 (compute_nearerout): Likewise.
5565 * ggc-page.c (ggc_page_print_statistics): Explicitly cast
5566 size_t to unsigned long for formatting.
5568 1999-11-30 Jakub Jelinek <jakub@redhat.com>
5570 * config/sparc/sparc.h (FIXED_REGISTERS, CONDITIONAL_REGISTER_USAGE):
5571 Allow the user to override call-used/fixed state of %g2-5
5572 registers from the command line (with the exception of %g4 for
5574 (REG_LEAF_ALLOC_ORDER): Move %g1 and %g4-7 registers to front, so that
5575 there is a higher chance of having a leaf function.
5576 (MACHINE_STATE_SAVE, MACHINE_STATE_RESTORE): Provide separate macros
5577 for ARCH64 which has %ccr register.
5578 * config/sparc/sparc.md (return_losum_si, return_losum_di): New
5580 * config/sparc/sparc.c (eligible_for_epilogue_delay): For the return
5581 insn accept into delay slot any insn which does not use %[ol]
5582 registers. Accept some LO_SUM and shift left by 1 for the normal
5584 (output_function_epilogue): Likewise.
5585 (epilogue_renumber): Added argument which inhibits any renumbering
5586 and just tests if the rtx does not use any %[ol] registers.
5587 (output_return): Reflect above change.
5589 1999-11-30 Jakub Jelinek <jakub@redhat.com>
5591 * config/sparc/sparc.c (sparc_va_arg): Fix sparc64 va_arg
5592 aggregate passing for sizes <= 16 bytes.
5594 1999-11-30 Bernd Schmidt <bernds@cygnus.co.uk>
5596 * cse.c (FIXED_REGNO_P): Delete tests for OVERLAPPING_REGNO_P.
5597 * global.c (global_alloc): Delete [OVERLAPPING_REGNO_P] code.
5598 * reload.c (find_dummy_reload): Likewise.
5599 (find_equiv_reg): Likewise; also for INSN_CLOBBERS_REGNO_P.
5600 * reload1.c (reload_as_needed): Likewise.
5601 * stupid.c (stupid_find_reg): Likewise.
5602 * tm.texi (Obsolete Register Macros): Delete section.
5603 * gmicro.h: Remove all traces of the two macros.
5608 1999-11-30 Brendan Kehoe <brendan@cygnus.com>
5610 * sparc.h (MASK_FASTER_STRUCTS, TARGET_FASTER_STRUCTS): Define.
5611 (TARGET_SWITCHES): Add -mfaster-structs/-mno-faster-structs flags.
5612 (ROUND_TYPE_ALIGN): Use better value if -mfaster-structs.
5613 * sparc.md (sparclite86x_branch, sparclite86x_shift): New function
5614 units for the sparclite86x chip.
5615 (flush): Revert October 14th change; add SImode specifically.
5616 (flushdi): Copy of flush, but DImode, to avoid genrecog warnings.
5617 * invoke.texi: Document it.
5619 Tue Nov 30 14:58:14 1999 Nick Clifton <nickc@cygnus.com>
5621 * config/mn10200/mn10200.h (PREDICATE_CODES): Add
5622 psimode_truncation_operand.
5624 * config/mn10200/mn10200.c (psimode_truncation_operand): New
5625 function. Return true if the operand is either a MEM valid
5626 for a PSImode address or not a MEM at all.
5628 * config/mn10200/mn10200.md (truncsipsi2): Use
5629 psimode_truncation_operand.
5631 1999-11-30 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
5633 * flow.c (flow_nodes_print, flow_loops_cfg_dump): New functions.
5634 (flow_loop_nested_p, flow_loops_dump, flow_loops_free): Likewise.
5635 (flow_loop_exits_find, flow_loop_nodes_find): Likewise.
5636 (flow_depth_first_order_compute, flow_loop_pre_header_find): Likewise.
5637 (flow_loop_tree_node_add, flow_loops_tree_build): Likewise.
5638 (flow_loop_level_compute, low_loops_level_compute): Likewise.
5639 (flow_loops_find, flow_loop_outside_edge_p): Likewise.
5640 * basic-block.h: Protect from multiple inclusion.
5641 (flow_loops_find, flow_loops_free, flow_loop_dump): Add protoypes.
5642 (struct loops, struct loop): Define structures.
5643 * sbitmap.c (sbitmap_a_subset_b_p): New function.
5644 * sbitmap.h: Protect from multiple inclusion.
5645 (sbitmap_a_subset_b_p): Add prototype.
5646 * Makefile.in (LOOP_H): New macro.
5647 (stmt.o, integrate.o, loop.o, unroll.o): Replace loop.h with LOOP_H.
5649 Tue Nov 30 01:34:47 1999 Philippe De Muyter <phdm@macqel.be>
5651 * cppinit.c (CAT): The argument list of this macro may not contain
5654 1999-11-29 David S. Miller <davem@redhat.com>
5656 Move quantity tables and register equivalence chains into
5657 per-qty and per-register structure arrays respectively.
5658 * cse.c (qty_first_reg, qty_last_reg, qty_mode, qty_const,
5659 qty_const_insn, qty_comparison_code, qty_comparison_const,
5660 qty_comparison_qty): Delete, replace with...
5661 (qty_table): this structure table.
5662 (reg_next_eqv, reg_prev_eqv): Delete, replace with...
5663 (reg_eqv_table): this structure table.
5664 (make_new_qty): Add argument MODE. Caller updated.
5665 Update to use qty_table and reg_eqv_table.
5666 (make_regs_eqv, delete_reg_equiv, insert_regs,
5667 insert, exp_equiv_p, cse_rtx_varies_p, canon_reg,
5668 fold_rtx, equiv_constant, record_jump_cond, cse_insn,
5669 cse_process_notes, cse_main, cse_basic_block): Likewise.
5671 Mon Nov 29 16:56:42 1999 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
5673 * fold-const.c (extract_muldiv, case {MIN,MAX}_EXPR): Reverse
5674 operation if C is negative.
5675 (extract_muldiv, case SAVE_EXPR): Supresss if arg has side effects.
5676 (extract_muldiv, case {PLUS,MINUS}_EXPR): Don't apply distributive
5677 law for some divisions if constant is negative and change other
5678 divisions to the opposite rounding.
5680 * expr.c (store_constructor_field): If bit position is not multiple
5681 of alignment of TARGET's mode, use BLKmode.
5683 * expr.c (expand_expr_unaligned): Add more code from full case
5684 that is needed when OP0 is in a register.
5686 Mon Nov 29 18:09:39 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
5688 * dwarfout.c (field_byte_offset): Size can be zero if there was
5691 1999-11-29 Bernd Schmidt <bernds@cygnus.co.uk>
5693 * fold-const.c (split_tree): Delete unused vars ORIG_IN and TYPE.
5694 (associate_trees): Delete unused var TEM.
5695 (extract_muldiv): Delete unused var CANCEL_P.
5697 * fold-const.c [TARGET_FLOAT_FORMAT != IEEE_FLOAT_FORMAT]
5698 (target_isinf, target_isnan, target_negative): Add return types to
5699 function definitions.
5701 1999-11-29 Bruce Korb <autogen@linuxbox.com>
5703 * fixinc/fixincl.c(process): don't skip GLIBC files any more.
5704 * fixinc/hackshell.tpl: ditto
5705 * fixinc/fixtests.c(double_slash_test): more C++ header testing
5706 * fixinc/inclhack.def(AAB_fd_zero_glibc*): corrected spelling of mach
5708 1999-11-29 Bernd Schmidt <bernds@cygnus.co.uk>
5710 * reload.c (push_reload): When looking for a register to put into
5711 reg_rtx, make sure all hard regs in a multi-reg register are in the
5712 right class and nonfixed.
5714 * haifa-sched.c (reg_last_uses, reg_last_sets, reg_last_clobbers,
5715 pending_read_insns, pending_write_insns, pending_read_mems,
5716 pending_write_mems, pending_list_length, last_pending_memory_flush,
5717 last_function_call, sched_before_next_call): Move static variables
5719 (bb_ prefixed versions): Replace with single array bb_deps.
5720 (struct deps): New structure.
5721 (add_insn_mem_dependence, flush_pending_lists, sched_analyze_1,
5722 sched_analyze_2, sched_analyze_insn, sched_analyze): Accept new
5723 argument of type "struct deps *"; use that instead of global
5724 variables. All callers changed.
5725 (init_rgn_data_dependencies): Delete function.
5726 (init_rtx_vector): Delete function.
5727 (init_deps): New function.
5729 (free_pending_lists): Simplify, we always use the bb_deps array even
5730 if only one basic block.
5731 (compute_block_backward_dependences): Likewise.
5732 (schedule_region): Likewise.
5734 (propagate_deps): New function, broken out of
5735 compute_block_backward_dependences.
5736 (compute_block_backward_dependences): Use it.
5738 * alpha.md: Delete useless patterns that tried to work around
5739 register elimination problems.
5741 * unroll.c (loop_iterations): Don't abort if iteration variable
5744 From Joern Rennecke:
5745 * reload1.c (reloads_conflict): Reverse test comparing operand
5746 numbers when testing for conflict between output/outaddr reloads.
5748 1999-11-29 David S. Miller <davem@redhat.com>
5750 * config/sparc/sparc.c (init_cumulative_args): Fix type of third
5752 * config/sparc/sparc-protos.h: Update proto, move into RTX_CODE.
5754 1999-11-28 Robert Lipe <robertl@cygnus.com>
5756 * i386/sco5.h (FINI_SECTION_ASM_OP_COFF): Move destructor fn
5757 table from .fini into .dtor.
5759 1999-11-28 Anthony Green <green@cygnus.com>
5761 * tree.h (struct tree_decl): Add malloc_flag.
5762 (DECL_IS_MALLOC): Define.
5763 * c-common.c (attrs): Add A_MALLOC attribute.
5764 (init_attributes): Add this attribute to the table.
5765 (decl_attributes): Handle malloc attribute.
5766 * calls.c (special_function_p): Check for the malloc attribute.
5767 * extend.texi (Function Attributes): Document malloc attribute.
5769 Sun Nov 28 13:21:00 1999 Jeffrey A Law (law@cygnus.com)
5771 * pa.md (reload shift-add patterns): Remove.
5773 1999-11-28 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
5775 * reorg.c (dbr_schedule) Print more statistics. Corrected
5776 problem when printing info when 3 delay slots are filled.
5778 1999-11-28 Jakub Jelinek <jakub@redhat.com>
5780 * combine.c (setup_incoming_promotions): Pass an outgoing
5781 regno to FUNCTION_ARG_REGNO_P which it expects.
5783 1999-11-28 Andreas Jaeger <aj@suse.de>
5785 * mips/linux.h (CPP_PREDEFINES): Undefine before redefining.
5787 Sun Nov 28 00:48:15 1999 Philippe De Muyter <phdm@macqel.be>
5789 * cccp.c (do_include): Avoid initialization of automatic variable.
5791 * integrate.c (mark_stores): Function definition made void, to match
5792 previous declaration.
5793 * regclass.c (dump_regclass): Ditto.
5794 * Makefile.in (WARN_CFLAGS): Macro augmented by `-Wtraditional'.
5796 Sat Nov 27 08:38:26 1999 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
5798 * expr.c (store_constructor): Use EXACT_DIV_EXPR when dividend is
5799 known to be multiple of divisor.
5801 * expr.c (store_constructor): Don't clobber TARGET if CLEARED.
5803 * combine.c (try_combine): Add code to try to merge a set of a
5804 two-word pseudo to a constant with a setting of one of those words
5807 * fold-const.c (negate_expr, associate_trees, extract_muldiv): New.
5808 (split_tree): Completely rework to make more general.
5809 (make_range, fold): Call negate_expr.
5810 (fold, case NEGATE_EXPR): Simplify -(a-b) is -ffast-math.
5811 (fold, associate): Call new split_tree and associate_trees.
5812 (fold, case MULT_EXPR, case *_{DIV,MOD}_EXPR): Call extract_muldiv.
5814 1999-11-26 Bernd Schmidt <bernds@cygnus.co.uk>
5816 * loop.c (try_copy_prop): Avoid GNU C extension.
5818 1999-11-25 Mark Mitchell <mark@codesourcery.com>
5820 * except.c (init_eh_for_function): Still zero eh_return_context,
5821 eh_return_stack_adjust, and eh_return_handler.
5823 * except.h (eh_status): Adjust documentation for x_protect_list.
5824 (begin_protect_partials): New function.
5825 * except.c (enqueue_eh_entry): Fix formatting.
5826 (get_first_handler): Add consistency check.
5827 (add_partial_entry): Adjust usage of protect_list.
5828 (emit_cleanup_handler): Save and restore ehqueue.
5829 (expand_start_all_catch): Add comment.
5830 (begin_protect_partials): New function.
5831 (end_protect_partials): Adjust usage of protect_list.
5832 (init_eh_for_function): Use xcalloc.
5834 1999-11-25 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5836 * c-common.c (check_format_info): Don't call a variadic function
5837 with a non-literal format string.
5839 * c-decl.c (grokdeclarator, start_struct, finish_struct): Likewise.
5841 * c-typeck.c (build_component_ref, build_unary_op, lvalue_or_else,
5842 pedantic_lvalue_warning, error_init, pedwarn_init, warning_init):
5845 * cccp.c (check_macro_name, do_xifdef, vwarning_with_line):
5848 * collect2.c (collect_wait): Likewise.
5850 * dbxout.c (dbxout_type): Likewise.
5852 * gcc.c (do_spec_1): Likewise.
5854 * genemit.c (gen_insn, gen_expand): Likewise.
5856 * genrecog.c (write_switch, write_subroutine): Likewise.
5858 * mips-tfile.c (catch_signal, botch): Likewise.
5860 * print-rtl.c (print_rtx): Likewise.
5862 * toplev.c (default_print_error_function, report_error_function,
5863 _fatal_insn): Likewise.
5865 1999-11-25 Mark Mitchell <mark@codesourcery.com>
5867 * tree.c (unsave_expr_now): Handle NULL_TREE as input.
5869 Wed Nov 24 17:08:09 MET 1999 Jan Hubicka <hubicka@freesoft.cz>
5871 * reg-stack.c (subst_stack_regs_pat): Swap operands in commutative
5872 operations when needed.
5873 * i386.md (fop_?f_comm): New.
5874 (fop_?f_1): Do not accept commutative operands.
5876 1999-11-25 Andreas Jaeger <aj@suse.de>
5878 * config/mips/mips.md (casesi_internal): Add missing brace.
5880 1999-11-25 Jason Merrill <jason@casey.cygnus.com>
5882 * dwarf2out.c (pend_type, output_pending_types_for_scope): Lose.
5883 (splice_child_die): Handle moving a child DIE from the declaration
5884 DIE of a class to its specification.
5885 (gen_struct_or_union_type_die): Use 'complete' consistently.
5886 (gen_decl_die): Generate the virtual context DIE first.
5887 Use decl_ultimate_origin instead of DECL_ABSTRACT_ORIGIN.
5889 1999-11-24 Gavin Romig-Koch <gavin@cygnus.com>
5891 * config/mips/mips.md (call_value_multiple_interanal1): New.
5893 1999-11-24 Jason Merrill <jason@casey.cygnus.com>
5895 * dwarf2out.c (free_AT, free_die): New fns.
5896 (remove_children): Call them.
5897 (output_line_info): Disable removal of duplicate notes.
5899 Generate minimal debug info for types with TYPE_DECL_SUPPRESS_INFO set.
5900 * dwarf2out.c (gen_struct_or_union_type_die): TYPE_DECL_SUPPRESS_INFO
5901 means pretend the type isn't defined.
5902 Don't defer emitting types.
5903 (gen_type_die_for_member): New fn.
5904 (gen_decl_die): Call it.
5905 (splice_child_die): New fn.
5906 (gen_member_die): Call it rather than generate duplicate dies.
5908 Defer emitting information for the abstract instance of an inline
5909 until we either inline it or emit an out-of-line copy.
5910 * dwarf2out.c (decl_ultimate_origin): Ignore DECL_ABSTRACT_ORIGIN
5911 from output_inline_function if DECL_ABSTRACT is also set.
5912 (block_ultimate_origin): Likewise.
5913 (gen_abstract_function): New fn.
5914 (gen_decl_die, gen_inlined_subroutine_die): Call it.
5915 (gen_subprogram_die): An abstract instance is not a declaration
5916 just because it doesn't match current_function_decl. Don't abort
5917 because DECL_DEFER_OUTPUT isn't set. Do abort if a declaration
5918 has an abstract origin.
5919 * toplev.c (rest_of_compilation): Don't emit dwarf2 info for the
5920 abstract instance here.
5922 Wed Nov 24 18:39:18 1999 Andrew Haley <aph@cygnus.com>
5924 * config/sh/sh.h (SECONDARY_OUTPUT_RELOAD_CLASS): Add the case
5925 where we need to reload fpul from a system register.
5927 1999-11-24 Andreas Jaeger <aj@suse.de>
5929 * config/mips/linux.h (CPP_PREDEFINES): Added.
5930 (LINK_SPEC): Remove -Y since this is only needed on sparc.
5932 1999-11-24 Andreas Jaeger <aj@suse.de>
5934 * config/mips/linux.h (TARGET_VERSION): Added.
5935 (HANDLE_SYSV_PRAGMA): Added.
5936 (DEFAULT_VTABLE_THUNKS): Added.
5938 Wed Nov 24 14:12:15 MET 1999 Jan Hubicka <hubicka@freesoft.cz>
5940 * local-alloc.c (qty): New structure and static variable.
5941 (qty_phys_reg): Remove, all references changed to qty.
5942 (qty_n_refs): Likewise.
5943 (qty_min_class): Likewise.
5944 (qty_birth): Likewise.
5945 (qty_death): Likewise.
5946 (qty_size): Likewise.
5947 (qty_mode): Likewise.
5948 (qty_n_calls_crossed): Likewise.
5949 (qty_alternate_class): Likewise.
5950 (qty_changes_size): Likewise.
5951 (qty_first_reg): Likewise.
5952 (alloc_qty): Rename variable QTY to QTYNO.
5953 (finf_free_reg): Likewise.
5954 (local_alloc): Allocate qty, do not allocate the removed variables.
5956 Wed Nov 24 17:26:05 1999 Geoffrey Keating <geoffk@cygnus.com>
5958 * config/mips/mips.h (ASM_SPEC): Don't pass -G to the assembler
5959 when -membedded-pic is passed.
5961 * config/mips/mips.md (casesi): Handle 64-bit case too.
5962 (casesi_internal_di): New insn.
5964 * config/mips/mips.c (embedded_pic_offset): Always make the
5965 embedded-pic subtractions relative to the name of the current
5966 function by use of the magic string "..CURRENT_FUNCTION".
5967 * config/mips/mips.h (ASM_OUTPUT_LABELREF): Make the magic happen.
5969 1999-11-24 Geoffrey Keating <geoffk@cygnus.com>
5971 * config/mips/mips.md (div_trap_normal): Don't ask for the REGNO
5972 of (const_int 0), when what we really care about is
5973 whether it's a zero constant anyway.
5974 (div_trap_mips16): Likewise.
5976 1999-11-23 Mark Mitchell <mark@codesourcery.com>
5978 * loop.c (loop_optimize): Always find_loop_tree_blocks and
5979 unroll_block_trees when generating debuggable code.
5981 * tree.h (unsave_expr_1): New function.
5982 (lang_unsave): New variable.
5983 (get_callee_fndecl): New function.
5984 * tree.c (unsave_expr_now_r): New function.
5985 (lang_unsave): Define.
5986 (unsave_expr_1): Likewise.
5987 (unsave_expr_now_r): Split out from unsave_expr_now.
5988 (unsave_expr_now): Call lang_unsave if it is non-NULL. Otherwise,
5989 call unsave_expr_now_r.
5990 (get_callee_fndecl): Define.
5992 * Makefile.in (gencheck): Don't depend on lang_tree_files.
5993 (gencheck.o): Do depend on lang_tree_files.
5995 * integrate.h (copy_decl_for_inlining): New declaration.
5996 * integrate.c (copy_and_set_decl_abstract_origin): Remove.
5997 (copy_decl_for_inlining): New function.
5998 (integrate_parm_decls): Use it.
5999 (integrate_decl_tree): Likewise.
6001 1999-11-23 Gavin Romig-Koch <gavin@cygnus.com>
6003 * config/mips/mips.h (ISA_HAS_FP4,ISA_HAS_CONDMOVE,ISA_HAS_8CC): Split
6004 the second two from the first.
6005 (CONDITIONAL_REGISTER_USAGE): Use ISA_HAS_8CC rather than ISA_HAS_FP4.
6006 * config/mips/mips.md (movcc,reload_incc,reload_outcc,
6007 conditional move): Use ISA_HAS_CONDMOVE or ISA_HAS_8CC rather than
6009 * config/mips/mips.c (mips_move_1word,gen_conditional_branch,
6010 override_options): Use ISA_HAS_CONDMOVE or ISA_HAS_8CC rather than
6013 Tue Nov 23 11:15:04 1999 Jeffrey A Law (law@cygnus.com)
6015 * pa.md (call_internal_symref, call_value_internal_symref): No mode
6016 needed on the address operand.
6017 * pa.c (call_operand_address): Check for the correct mode.
6019 1999-11-23 Bernd Schmidt <bernds@cygnus.co.uk>
6021 * loop.c: Include "basic-block.h".
6022 (try_copy_prop, replace_loop_reg): New functions.
6023 (load_mems): Detect registers that just hold copies of the hoisted
6024 mem, and call try_copy_prop to eliminate them.
6025 * Makefile.in (loop.o): Update dependencies.
6027 Tue Nov 23 01:03:29 1999 Hans-Peter Nilsson <hp@axis.com>
6029 * Makefile.in (gencheck.o): Depend on gencheck.h.
6030 (insn-emit.o): Depend on flags.h, hard-reg-set.h and resource.h.
6031 (insn-peep.o): Depend on except.h and function.h.
6032 (insn-attrtab.o): Depend on RECOG_H.
6033 (insn-output.o): Depend on toplev.h and flags.h.
6034 (gengenrtl.o): Depend on real.h.
6035 (gen-protos.o): Depend on cpplib.h and cpphash.h.
6036 Unify all dependencies to be on RECOG_H rather than recog.h.
6038 Tue Nov 23 00:57:10 1999 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
6040 From Casper H.S. Dik on comp.unix.solaris, 23 Oct 1998:
6041 * configure.in: Try building a bi-arch 32/64-bit compiler on
6042 sparc-*-solaris2.7 and higher.
6043 * configure: Rebuild.
6045 Mon Nov 22 23:09:44 1999 David O'Brien <obrien@FreeBSD.org>
6047 * config/freebsd.h: New, FreeBSD architecture independent file.
6048 * config/i386/freebsd-elf.h: removed FreeBSD architecturally
6050 * config/i386/freebsd.h: include i386/perform.h via tm.h rather than
6051 directly by i386/freebsd.h.
6052 * configure.in (*-*-freebsdelf): Include new FreeBSD architecturally
6053 independent configuration file.
6054 (*-*-freebsdelf): Include i386/perform.h via tm.h rather than
6055 directly by i386/freebsd.h.
6056 * configure: Rebuilt.
6058 * xm-i386.h: Define `__i386__' if not defined, rather than `i386'
6059 which is in the user's namespace.
6060 * libgcc2.c: Look for the ANSI-C approved `__i386__' symbol, vs.
6061 `i386' which is not in our namespace.
6063 Mon Nov 22 22:58:01 1999 "R. Kelley Cook" <KelleyCook@attglobal.net>
6065 * invoke.texi (ARM Options): Add in -mno-alignment-traps
6067 1999-11-22 Jason Merrill <jason@casey.cygnus.com>
6069 * dwarf2out.c (die_struct): Remove die_attr_last and die_child_last.
6070 (add_dwarf_attr, add_child_die): Just push onto the front.
6071 (reverse_die_lists): New fn.
6072 (add_sibling_attributes): Use it.
6073 (push_decl_scope): Reorganize.
6074 (add_name_and_src_coords_attributes): Don't set file and line for
6076 (gen_subprogram_die): An artificial function doesn't need to match
6078 (gen_compile_unit_die): Return the generated die. Only add
6079 AT_comp_dir if the filename is relative.
6080 (remove_AT): Simplify loop. Also free string values.
6081 (output_die): A DIE ref can't be null.
6082 (output_value_format, value_format): Take a dw_attr_ref.
6083 (dwarf_last_decl, is_extern_subr_die, sibling_offset): Remove.
6084 (AT_class, AT_flag, AT_int, AT_unsigned, AT_string, AT_ref, AT_loc,
6085 AT_addr, AT_lbl): New fns.
6086 (various): Use them.
6087 (various): Constify.
6089 Mon Nov 22 23:53:50 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
6091 * combine.c (combine_simplify_rtx): When handling a SUBREG,
6092 take SUBREG_WORD into account.
6093 (if_then_else_cond): Likewise.
6095 1999-11-22 Jason Merrill <jason@casey.cygnus.com>
6097 * gmon.c, i386/gmon-sol2.c, sparc/gmon-sol2.c: Remove advertising
6098 clause from BSD license, pursuant with
6100 ftp://ftp.cs.berkeley.edu/pub/4bsd/README.Impt.License.Change
6102 1999-11-22 Bernd Schmidt <bernds@cygnus.co.uk>
6104 * loop.c (load_mems): Reformat slightly.
6105 * basic-block.h (regset_head): New typedef.
6106 (INIT_REG_SET): New macro.
6108 1999-11-22 Bruce Korb <autogen@linuxbox.com
6110 * fixinc/mkfisinc.sh(i?86-*-linux): disable script, run fixincl exe
6111 (mips-dec-bsd*): non-functional code
6112 (alpha*-*-linux-gnu*): redundant, duplicated by "*-*-linux-gnu*"
6114 * fixinc/inclhack.def(AAB_fd_zero_glibc_*):
6115 added three replacement fixes
6116 (no_double_slash): removed comments that are not (any longer) pertinent
6117 (bad_lval): this fix currently runs against many files.
6118 The comment seems to indicate that we should select for files
6119 containing 'pragma extern_prefix'.
6121 * fixinc/fixinc.x86-linux-gnu: deleted
6122 * fixinc/inclhack.sh: regen
6123 * fixinc/fixincl.x: regen
6124 * fixinc/fixincl.sh: regen
6126 Fri Nov 12 14:08:40 1999 Andrew Haley <aph@cygnus.com>
6128 * emit-rtl.c (gen_sequence): Only return the pattern of an insn if
6129 its code is INSN and it has no notes.
6131 1999-11-22 Andrew Haley <aph@cygnus.com>
6133 * varasm.c (function_defined): Remove.
6134 (make_function_rtl): Don't set function_defined.
6135 (make_decl_rtl): Remove global register warning.
6136 * regclass.c (no_global_reg_vars): New variable.
6137 (globalize_reg): Warn if function has already been defined.
6138 (regclass_init): Set no_global_reg_vars.
6140 Mon Nov 22 14:42:22 MET 1999 Jan Hubicka <hubicka@freesoft.cz>
6142 * regclass.c (reg_pref): New structure and static variable
6143 (prefclass): Delete.
6145 (all uses of prefclass and altclass): Use reg_pref instead.
6147 1999-11-21 Nick Clifton <nickc@cygnus.com>
6149 * invoke.texi (ARM Options): Replace -mshort-load-bytes with
6151 (arm.h): Replace -mshort-load-bytes with -malignment-traps.
6152 (arm.c): Replace TARGET_SHORT_BY_BYTES with TARGET_MMU_TRAPS.
6153 (arm.md): Replace TARGET_SHORT_BY_BYTES with TARGET_MMU_TRAPS.
6155 Sun Nov 21 17:11:13 1999 Geoffrey Keating <geoffk@cygnus.com>
6157 * varasm.c (output_constructor): Solve problem with long long
6158 bitfields, even on BYTES_BIG_ENDIAN machines (testcase 991118-1).
6160 Fri Nov 19 05:48:45 CET 1999 Jan Hubicka <hubicka@freesoft.cz>
6162 * global.c (allocno): New structure and static variable.
6163 (allocno_reg): Remove, all references replaced by allocno.
6164 (allocno_size): Likewise.
6165 (hard_reg_conflicts): Likewise.
6166 (hard_reg_preferences): Likewise.
6167 (hard_reg_copy_preferences): Likewise.
6168 (hard_reg_full_preferences): Likewise.
6169 (regs_someone_prefers): Likewise.
6170 (allocno_calls_crossed): Likewise.
6171 (allocno_n_refs): Likewise.
6172 (allocno_live_length): Likewise.
6173 (find_reg): Rename ALLOCNO to NUM.
6175 * regclass.c (may_move_in_cost): Rename from may_move_cost, all
6177 (may_move_out_cost): New variable.
6178 (init_reg_sets_1): Initialize may_move_out_cost.
6179 (record_reg_classes): Use may_move_out_cost.
6181 * regclass.c (dump_regclass): New function.
6182 (regclass): New parameter DUMP, call DUMP_REGCLASS.
6183 * toplev.c (rest_of_compilation): Open lreg dump file before regclass,
6184 pass rtl_dump_file to regclass.
6185 * rtl.h (regclass): Update prototype.
6187 Fri Nov 19 06:32:19 CET 1999 Jan Hubicka <hubicka@freesoft.cz>
6189 * i386.md (neg, not and abs patterns): Revmap to use
6190 ix86_expand_unary_operator and ix86_unary_operator_ok.
6191 (add?f and sub?f expanders): Force operand 1 to register.
6192 * i386.c (ix86_expand_unary_operator): Rewrite.
6193 (ix86_unary_operator_ok): Ensure that memory operands
6195 (ix86_binary_operator_ok): Do not allow operand 1 to
6196 come into memory and operand 0 not.
6197 (ix86_expand_binary_operator): Ensure that
6198 src1 is not non-matching memory.
6200 * i386.md (negs?2): Rewrite to expanders, new patterns and splitters
6201 to support integer registers and memory.
6202 (abss?2_integer): Likewise.
6204 * i386.h (enum reg_class): Add FLOAT_INT_REGS.
6205 (REG_CLASS_NAMES): Likewise.
6206 (REG_CLASS_CONTENTS): Define FLOAT_INT_REGS as union of FLOAT_REGS
6208 * i386.md (pushsf): Do not preferre FLOAT_REGS over GENERAL_REGS.
6209 (movsf): Likewise; unify 4th and 5th alternative.
6211 (movdf_1): Likewise; rename to movdf_integer.
6212 (pushxf): Likewise; rename to pushxf_integer; fix output template;
6213 remove redundant splitter.
6214 (movxf_1): Likewise; rename to movxf_integer; fix splitter's condition.
6215 (movdf_nointeger): New.
6216 (movxf_nointeger): New.
6217 (pushxf_nointeger): New.
6219 * i386.md (extend?f?f): Split to expander and pattern, refuse two
6220 memory operands in patterns.
6221 (fop*): Refuse two memory operands.
6223 * i386.md (ashrsi3_31): Allow cltd when optimizing for size even
6224 on !TARGET_USE_CLTD CPUs.
6226 Fri Nov 19 10:41:15 GMT 1999 Nathan Sidwell <nathan@acm.org>
6228 * extend.texi: Document C++ restricted pointers and references.
6230 1999-11-19 Bernd Schmidt <bernds@cygnus.co.uk>
6232 * cse.c (addr_affects_sp): No longer conditional on AUTO_INC_DEC.
6233 (invalidate_skipped_set): Call it unconditionally.
6234 (cse_set_around_loop): Likewise.
6236 Thu Nov 18 17:29:34 MST 1999 Diego Novillo <dnovillo@cygnus.com>
6238 * rtl.texi (mem): Add documentation for alias-set argument
6241 Fri Nov 18 13:39:22 CET 1999 Jan Hubicka <hubicka@freesoft.cz>
6243 * i386.h (struct_processor_costs): New fields int_load, int_store,
6244 fp_move, fp_load and fp_store
6245 (REGISTER_MOVE_COST): Fix comment, calculate exactly the cost of
6247 (MEMORY_MOVE_COST): New macro.
6248 * i386.c (386_cost): Define new fields.
6249 (i486_cost): Likewise.
6250 (pentium_cost): Likewise.
6251 (pentiumpro_cost): Likewise.
6252 (k6_cost): Likewise.
6254 Fri Nov 19 11:11:55 1999 Greg McGary <gkm@gnu.org>
6255 Geoffrey Keating <geoffk@cygnus.com>
6257 * config/m68k/m68kelf.h: Suppress '/* within comment' warning.
6259 * config/m68k/m68k.h (MASK_PCREL): Don't use same value as
6262 * config/m68k/m68k.h (MASK_NO_STRICT_ALIGNMENT): New macro.
6263 (TARGET_STRICT_ALIGNMENT): New macro.
6264 (TARGET_SWITCHES): Add "strict-align" and "no-strict-align".
6265 (STRICT_ALIGNMENT): Depend on TARGET_STRICT_ALIGNMENT.
6266 * invoke.texi (M680x0 Options): Document -mstrict-align.
6268 Thu Nov 18 11:10:03 1999 Jan Hubicka <hubicka@freesoft.cz>
6269 Richard Henderson <rth@cygnus.com>
6271 * i386-protos.h (split_xf, ix86_split_movdi): Remove.
6272 (ix86_split_long_move): Declare.
6273 * i386.c (split_xf, ix86_split_movdi): Remove.
6274 (ix86_split_to_parts, ix86_split_long_move): New.
6275 * i386.md (dimode move splitters): Use ix86_split_long_move.
6276 (dfmode move splitters): Likewise.
6277 (xfmode move splitters): Likewise.
6278 (movsf_1): Allow F->r.
6279 (movdf_1, movxf_1): Allow F->ro.
6281 1999-11-17 Mark Mitchell <mark@codesourcery.com>
6283 * except.h (struct eh_entry): Add goto_entry_p.
6284 (eh_region_from_symbol): Remove prototype.
6285 * except.c (find_func_region_from_symbol): New function.
6286 (emit_cleanup_handler): Likewise.
6287 (eh_region_from_symbol): Make it static.
6288 (add_new_handler): Verify the argument.
6289 (find_func_region): Update comment.
6290 (expand_eh_region_end): Expand handlers here, rater than waiting
6291 until expand_leftover_cleanups or start_all_catch.
6292 (expand_leftover_cleanups): Don't expand here.
6293 (expand_start_all_catch): Or here.
6294 (expand_rethrow): Check the return value from find_func_region.
6295 * function.c (expand_function_end): Emit the catch_clauses.
6297 1999-11-18 Gavin Romig-Koch <gavin@cygnus.com>
6299 * integrate.c (expand_inline_function): Add necessary check for NULL.
6301 1999-11-18 Nick Clifton <nickc@cygnus.com>
6303 * toplev.c (main): Correctly detect an unrecognised option.
6305 * cppinit.c (cpp_handle_option): Do not claim to have consumed
6306 a -f option if it has not been recognised.
6308 Thu Nov 18 00:59:11 1999 Michael Gschwind <mikeg@alagoas.watson.ibm.com>
6310 * basic-block.h (update_life_extent): Remove trailing comma on
6311 enumeration type list.
6313 1999-11-18 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
6315 * varasm.c (output_constructor) Solved problem with long long
6316 bitfields. Corrected calculating this_time and shift. Also
6317 corrected calculating mask when BITS_PER_UNIT == 32 (c4x).
6319 Wed Nov 17 23:46:14 1999 Jeffrey A Law (law@cygnus.com)
6321 * flow.c (split_edge): Take looping structure into account when
6322 determining where to put the new block note.
6324 Wed Nov 17 20:42:43 1999 Jeff Holcomb <jeffh@cygnus.com>
6326 * Makefile.in (ggc-none.o): Provide host specific version if
6329 Wed Nov 17 16:51:23 1999 Richard Henderson <rth@cygnus.com>
6331 * cse.c (delete_trivially_dead_insns): Identify no-op insns
6332 containing subregs too.
6334 Wed Nov 17 17:39:48 MST 1999 Diego Novillo <dnovillo@cygnus.com>
6336 * invoke.texi: Add documentation for -muninit-const-in-rodata.
6337 * config/mips/mips.h (MASK_UNINIT_CONST_IN_RODATA): Define.
6338 (TARGET_UNINIT_CONST_IN_RODATA): Define.
6339 (text_section): Add switches -munint-const-in-rodata and
6340 -mno-uninit-const-in-rodata.
6341 (ASM_OUTPUT_COMMON): Remove.
6342 (ASM_OUTPUT_ALIGNED_DECL_COMMON): Define. Check if uninitialized
6343 const objects should be placed in read-only data. Otherwise declare
6346 Wed Nov 17 16:38:32 1999 Richard Henderson <rth@cygnus.com>
6348 * jump.c (jump_optimize_1): Revert last change.
6350 Wed Nov 17 15:18:30 1999 Richard Henderson <rth@cygnus.com>
6352 * jump.c (jump_optimize_1): Don't try to duplicate the loop exit
6353 test if optimizing for size.
6355 1999-11-17 Mark Mitchell <mark@codesourcery.com>
6357 * Makefile.in (toplev.o): Depend on except.h.
6358 (dwarf2out.o,loop.o,flow.o,haifa-sched.o): Likewise.
6360 Mon Nov 15 22:45:39 CET 1999 Jan Hubicka <hubicka@freesoft.cz>
6362 * i386.md (divmodsi4): Rewrite to expander.
6363 (*divmodsi4_nocltd): New.
6364 (*divmodsi4_cltd): New.
6365 (divmodsi4 splitter): Handle the case when input comes in edx.
6366 (udivmodhi4): Do not use constraints in exander.
6367 (ashrsi3_31): Conditionize by TARGET_USE_CLTD.
6369 1999-11-17 Jason Merrill <jason@yorick.cygnus.com>
6371 * dwarf2out.c (push_decl_scope): Still use decl_scope_depth - 1
6372 for the common case.
6374 1999-11-16 Jakub Jelinek <jakub@redhat.com>
6376 * explow.c (hard_function_value): Add outgoing argument.
6377 * expr.h (hard_function_value): Declare it.
6378 * calls.c (expand_call, emit_library_call_value): Update callers.
6379 * function.c (aggregate_value_p): Ditto.
6380 (diddle_return_value): Must look at the outgoing registers
6381 on archs with register windows.
6383 Mon Nov 15 20:46:45 1999 Richard Henderson <rth@cygnus.com>
6385 * alpha.c (alpha_build_va_list): Use make_lang_type and
6386 initialize TYPE_NAME for the va_list record.
6388 * flow.c (calculate_global_regs_live): Zero bb->aux to begin.
6390 * ggc-common.c (ggc_print_statistics): Cast size_t to unsigned long
6392 * ggc.h (struct ggc_statistics): Rearrange elements for better
6393 packing on 64-bit hosts.
6394 * lcm.c (compute_laterin): Store a size_t not an int in bb->aux.
6395 (compute_nearerout): Likewise.
6397 Tue Nov 16 14:37:52 1999 Geoffrey Keating <geoffk@cygnus.com>
6399 * config/rs6000/rs6000.c (first_reg_to_save): Save
6400 PIC_OFFSET_TABLE_REGNUM when -fpic even though it is fixed.
6402 1999-11-15 Jason Merrill <jason@casey.cygnus.com>
6404 * dwarf2out.c (scope_die_for): Don't rely on the decl_scope_table
6405 notion of nesting to find the DIE for a type or function.
6406 DIEs can go in limbo even if we got a context_die.
6407 (push_decl_scope): Our context doesn't need to be in decl_scope_table.
6408 (gen_struct_or_union_type_die): Don't use TREE_PERMANENT to test
6410 (gen_decl_die): Ignore NAMESPACE_DECLs for now.
6411 (gen_type_die): Writing out the context doesn't cause member class
6412 template instantiations to be written out as well.
6414 Mon Nov 15 15:33:18 1999 Richard Henderson <rth@cygnus.com>
6416 * rs6000.h (ASM_OUTPUT_DEF): New.
6417 Based on proposed addition from David Edelsohn.
6419 1999-11-15 Robert Lipe <RobertLipe@usa.net>
6420 Bruce Korb <autogen@linuxbox.com>
6422 * fixinc/inclhack.def
6423 (AAB_svr4_replace_byteorder): added. Takes advantage of GCC features
6424 (unixware7_byteorder_fix): added. Removes conflicts for new defs
6426 (svr5_mach_defines): added. Like svr4_mach_defines, with new syntax
6427 (svr4_endian): enabled with SVR5
6428 (svr4_mkdev): simplified syntax and enabled with SVR5
6430 Sun Nov 14 18:49:37 1999 David O'Brien <obrien@FreeBSD.org>
6432 * configure.in: Handle libgcc2 threads support on FreeBSD platforms.
6433 * configure: Rebuilt.
6434 * config/t-freebsd-thread: New file.
6436 Sun Nov 14 23:11:05 1999 Jeffrey A Law (law@cygnus.com)
6438 * i386.c (ix86_decompose_address): Verify the base is a REG
6439 before trying to examine its register number.
6441 * basic-block.h: Remove all #defines and prototypes related to
6443 (free_bb_mem, compute_preds_succs): Remove prototype.
6444 * rtl.h (free_bb_mem): Remove prototype.
6445 * flow.c (alloc_int_list_node); Remove function.
6446 (add_inst_list_node, free_int_list, add_pred_succ): Likewise.
6447 (compute_preds_succs, free_bb_mem): Likewise.
6448 * gcse.c (gcse_main): Do not call free_bb_mem anymore.
6449 * toplev.c (rest_of_compilation): Likewise.
6450 * haifa-sched.c (build_control_flow): Use flow generated edge
6451 list to build the haifa specific edge list.
6452 (find_rgns): Use new CFG data structures instead of pred/succ lists.
6453 (schedule_insns): Do not build pred/succ lists anymore. Instead
6454 build the edge table.
6456 * basic-block.h (dump_bb_data): Remove declaration.
6457 * flow.c (dump_bb_data): Remove function.
6458 * sbitmap.c (sbitmap_intersect_of_predsucc): Delete function.
6459 (sbitmap_union_of_predsucc): Likewise.
6461 * gcse.c (delete_null_pointer_checks_1): Kill unused s_preds
6462 argument. All callers changed.
6463 (delete_null_pointer_checks_1): No longer need to compute the
6466 * gcse.c (pre_expr_reaches_here_p): Kill CHECK_PRE_COM argument.
6467 All callers changed.
6468 (pre_expr_reaches_here_p_work): Likewise.
6469 (pre_edge_insert): No longer call pre_expr_reaches_here_p.
6470 * lcm.c (compute_laterin): Fix initialization of LATER.
6471 (compute_nearerout): Similarly for NEARER.
6473 Sun Nov 14 12:41:57 1999 Bernd Schmidt <bernds@cygnus.co.uk>
6475 * cse.c (set_nonvarying_address_components): Delete unused function.
6476 (refers_to_p): Likewise.
6478 Fri Nov 12 20:53:22 1999 Jeffrey A Law (law@cygnus.com)
6480 * function.c (diddle_return_value): Set REG_FUNCTION_VALUE_P as
6483 Sat Nov 13 16:20:09 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
6485 * defaults.h (ASM_OUTPUT_ALTERNATE_LABEL_NAME): Wrap macro
6486 definition in do while (0).
6488 Fri Nov 12 16:26:25 1999 Jim Wilson <wilson@cygnus.com>
6490 * stmt.c (pushcase, pushcase_range): Partially revert Oct 28 change.
6492 Fri Nov 12 12:43:49 1999 Richard Henderson <rth@cygnus.com>
6494 * unroll.c (unroll_loop): Make temp an unsigned HOST_WIDE_INT.
6496 Fri Nov 12 15:14:19 1999 Vladimir Makarov <vmakarov@tofu.to.cygnus.com>
6498 * i960.h (CAN_DEBUG_WITHOUT_FP): Don't define it.
6499 (FRAME_POINTER_REQUIRED): Don't worry about nonlocal goto.
6500 (ELIMINABLE_REGS, CAN_ELIMINATE, INITIAL_ELIMINATION_OFFSET): New.
6501 (INITIAL_FRAME_POINTER_OFFSET): Remove it.
6503 * i960.c (i960_function_prologue): Don't allocate space for g8-g11
6504 saved on the stack. Output more accurate stack frame statistics
6505 into assembler file.
6507 1999-11-12 11:47 -0800 Zack Weinberg <zack@bitmover.com>
6509 * genextract.c (record_insn_name): New function.
6510 (get_insn_name): No longer a stub.
6511 (main): Call record_insn_name for each insn. After each label
6512 written, print the insn name in a comment.
6514 Fri Nov 12 13:45:02 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
6516 * output.h (const_section, init_section, fini_section): Add
6519 * alpha/elf.h (const_section): Delete declaration.
6521 * svr4.h (const_section): Likewise.
6523 Fri Nov 12 08:54:22 1999 Mark Mitchell <mark@codesourcery.com>
6525 * tree.h (SAVE_EXPR_PERSISTENT_P): New macro.
6526 * tree.c (array_type_nelts): Don't handle SAVE_EXPRs specially.
6527 (unsave_expr_now): Don't unsave SAVE_EXPR_PERSISTENT_P
6529 * stor-layout.c (variable_size): Set SAVE_EXPR_PERSISTENT_P on
6530 variable-sized array bounds.
6532 Fri Nov 12 08:04:45 1999 Catherine Moore <clm@cygnus.com>
6534 * defaults.h (ASM_OUTPUT_ALTERNATE_LABEL_NAME): Use
6537 Fri Nov 12 13:31:54 1999 Bernd Schmidt <bernds@cygnus.co.uk>
6539 * config/arm/arm.h (LEGITIMIZE_RELOAD_ADDRESS): Treat QImode
6540 addresses the same way GO_IF_LEGITIMATE_INDEX does.
6542 Fri Nov 12 12:36:04 1999 Bernd Schmidt <bernds@cygnus.co.uk>
6544 * cse.c (hash_arg_in_struct): Delete.
6545 (struct table_elt): Delete elt in_struct.
6546 (struct set): Delete elt src_in_struct.
6547 (merge_equiv_classes): Don't set either hash_arg_in_struct or
6548 the corresponding in_struct elts.
6549 (canon_hash): Likewise.
6550 (safe_hash): Likewise.
6551 (find_best_addr): Likewise.
6552 (record_jump_cond): Likewise.
6553 (cse_insn): Likewise.
6555 Thu Nov 11 19:45:24 1999 Jim Wilson <wilson@cygnus.com>
6557 * loop.c (invariant_p, case MEM): Put MEM_VOLATILE_P check back.
6559 * dbxout.c (dbxout_type, case INTEGER_TYPE): Handle too large
6562 Thu Nov 11 18:54:24 1999 Jeffrey A Law (law@cygnus.com)
6564 * function.c (diddle_return_value): Put back check that the DECL_RTL
6565 for the function is a register.
6567 * function.c (diddle_return_value): Use hard_function_value to
6568 get an rtx suitable for use in the USE/CLOBBER insn.
6570 * global.c (global_conflicts): Update comments.
6571 (record_conflicts): No need to record conflicts between pseudos here.
6573 1999-11-11 Bruce Korb <autogen@linuxbox.com>
6575 * fixinc/fixincl.c: Added verbose levels for status messages
6577 Thu Nov 11 13:23:04 1999 Bernd Schmidt <bernds@cygnus.co.uk>
6579 * jump.c (jump_optimize_1): Avoid passing an rtx that is not an
6580 operand as argument to expand_and or expand_binop.
6582 Thu Nov 11 02:21:16 1999 Rodney Brown <RodneyBrown@pmsc.com>
6584 * xcoffout.c (xcoffout_source_file): Change ggc_add_root to
6585 gcc_add_string_root.
6587 Wed Nov 10 21:24:19 1999 Jason Eckhardt <jle@cygnus.com>
6589 * config/pa/pa.h (MASK_RETURN_ADDR): Change 0xfffffffc to -4.
6591 Wed Nov 10 15:56:16 1999 Jeffrey A Law (law@cygnus.com)
6593 * flow.c (compute_flow_dominators): Initially put all blocks on
6595 * lcm.c (compute_antinout_edge, compute_available): Similarly.
6596 * gcse.c (compute_cprop_avinout): Remove.
6597 (compute_cprop_data): Use compute_available.
6598 (delete_null_pointer_checks_1): Use compute_available.
6600 * basic-block.h (compute_available): Returns a void now.
6601 * gcse.c (one_classic_gcse_pass): Do not expect compute_available
6602 to return a value anymore.
6603 * lcm.c (compute_available, compute_antinout_edge): Revamp to use
6604 worklists. Fix boundary cases. Compute maximal solutions.
6605 (compute_laterin, compute_nearerout): Similarly.
6607 * dwarf2out.c (add_AT_location_description): Allow
6608 (mem (plus (pseudo) (...)) too.
6610 Wed Nov 10 10:52:42 1999 Tom Tromey <tromey@cygnus.com>
6612 * gcc.c (do_spec_1): Support text between `%u' and `%O'.
6614 Wed Nov 10 12:43:21 1999 Philippe De Muyter <phdm@macqel.be>
6615 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
6617 * cppinit.c: Test `GCC_VERSION', not `HAVE_GCC_VERSION'.
6619 * gansidecl.h: Likewise.
6625 * toplev.h: Likewise.
6631 * varray.c: Likewise.
6633 * varray.h: Likewise.
6635 Wed Nov 10 10:57:22 1999 Clinton Popetz <cpopetz@cygnus.com>
6637 * gcov.c (struct arcdata): Add hits and total, remove prob.
6638 (output_branch_counts): New.
6639 (process_args): Set output_branch_counts if -c.
6640 (calculate_branch_probs): Store hits and total instead of
6642 (output_data): Emit counts if output_branch_counts is true.
6643 * gcov.texi (Invoking Gcov): Document -c switch..
6645 Wed Nov 10 01:10:41 1999 Philippe De Muyter <phdm@macqel.be>
6647 * genoutput.c (output_insn_data): Cast `INSN_OUTPUT_FORMAT_MULTI' and
6648 `INSN_OUTPUT_FORMAT_FUNCTION' to `PTR'-type.
6650 Wed Nov 10 00:51:41 1999 Hans-Peter Nilsson <hp@axis.se>
6652 * invoke.texi (C Dialect Options): Add missing builtins from
6654 * extend.texi (Other Builtins): Copy to this list.
6656 Wed Nov 10 04:58:09 1999 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
6658 * Makefile.in (recog.o): Use BASIC_BLOCK_H macro.
6659 (print-rtl.o, $(HOST_PREFIX_1)print-rtl.o): Likewise. Remove
6662 Wed Nov 10 00:02:53 1999 Jeffrey A Law (law@cygnus.com)
6664 * flow.c (compute_flow_dominators): No longer treat basic block 0
6665 or (n_basic_blocks - 1) specially. Clear the AUX field before
6666 starting computation of doms/pdoms. Fix initial state for pdoms.
6668 Wed Nov 10 03:58:08 1999 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
6670 * Makefile.in ($(HOST_PREFIX_1)rtl.o): Update dependencies to
6671 match rtl.o's: added ggc.h and toplev.h
6672 ($(HOST_PREFIX_1)print-rtl.o): Likewise: added system.h.
6673 ($(HOST_PREFIX_1)rtlanal.o): Likewise: added system.h.
6674 ($(HOST_PREFIX_1)obstack.o): Likewise: added $(CONFIG_H).
6676 Tue Nov 9 10:30:08 1999 Tom Tromey <tromey@cygnus.com>
6678 * config/i386/xm-djgpp.h (HAVE_DOS_BASED_FILE_SYSTEM): Renamed
6679 from HAVE_DOS_BASED_FILESYSTEM.
6680 * gcc.c (find_a_file): Use HAVE_DOS_BASED_FILE_SYSTEM, not
6681 HAVE_DOS_BASED_FILESYSTEM.
6683 (split_directories): Only special-case DOS file names if
6684 HAVE_DOS_BASED_FILE_SYSTEM is defined. Use IS_DIR_SEPARATOR
6685 instead of explicit tests. Conditionalize on !VMS.
6686 (make_relative_prefix): Use IS_DIR_SEPARATOR instead of explicit
6687 tests. Conditionalize on !VMS.
6688 (process_command): Only use make_relative_prefix if !VMS.
6689 (free_split_directories): Conditionalize on !VMS.
6690 (DIR_UP): Conditionalize on !VMS.
6692 Wed Jun 9 16:57:11 1999 Mumit Khan <khan@xraylith.wisc.edu>
6694 * gcc.c (STANDARD_BINDIR_PREFIX): Provide default.
6696 Fri Feb 5 14:22:01 1999 Mumit Khan <khan@xraylith.wisc.edu>
6698 * gcc.c (make_relative_prefix): Handle the HAVE_EXECUTABLE_SUFFIX
6701 Mon Nov 8 14:16:57 1999 Michael Meissner <meissner@cygnus.com>
6703 * invoke.texi (Environment Variables): Document relative path
6705 * gcc.c (DIR_UP): If not defined, define as "..".
6706 (standard_bindir_prefix): New static, holds target location to
6708 (split_directories): New function to split a filename into
6709 component directories.
6710 (free_split_directories): New function, release memory allocated
6711 by split_directories.
6712 (make_relative_prefix): New function, make a relative pathname if
6713 the compiler is not in the expected location.
6714 (process_command): If GCC_EXEC_PREFIX was not specified, see if we
6715 can figure out an appropriate prefix from argv[0].
6716 * Makefile.in (DRIVER_DEFINES): Use unlibsubdir in definition of
6717 STANDARD_STARTFILE_PREFIX and TOOLDIR_BASE_PREFIX. Define
6718 STANDARD_BINDIR_PREFIX.
6720 Wed Nov 10 11:47:54 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
6722 * config/c4x/c4x-protos.h: New file. Prototypes for functions defined
6724 * config/c4x/c4x.h: Moved prototypes to c4x.h.
6725 * config/c4x/c4x.c (c4x_preferred_reload_class, c4x_limit_reload_class,
6726 c4x_secondary_memory_needed) Delete.
6727 (fp_zero_operand): Add mode argument.
6729 Thu Nov 4 15:52:35 1999 Andrew Haley <aph@cygnus.com>
6731 * reload1.c (reload_reg_free_for_value_p): Don't use a register
6732 that is in reload_reg_used.
6734 Tue Nov 9 16:43:00 1999 Nick Clifton <nickc@cygnus.com>
6736 * config/arm/arm-protos.h: New file: Prototypes for functions
6737 defined in arm.c and pe.c.
6738 * config/arm/arm.h: Fix compile time warnings.
6739 * config/arm/arm.c: Fix compile time warnings.
6740 * config/arm/pe.h: Fix compile time warnings.
6741 * config/arm/aout.h: Fix compile time warnings.
6743 Tue Nov 9 14:55:44 1999 Nick Clifton <nickc@cygnus.com>
6745 * config/m32r/m32r-protos.h: New file: Prototypes for functions
6748 * config/m32r/m32r.h: Move prototypes to m32r-protos.h
6749 Add support for subtargets.
6750 Add prototypes for new predicates.
6751 Add scheduling macros.
6753 * config/m32r/m32r.c: Fix compile time warnings.
6754 (int8_operand): New predicate function.
6755 (reg_or_cmp_int16_operand): New predicate function.
6756 (extend_operand): New predicate function.
6757 (m32r_adjust_code): New scheduling function.
6758 (m32r_adjust_priorty): New scheduling function.
6759 (m32r_sched_init): New scheduling function.
6760 (m32r_sched_reorder): New scheduling function.
6761 (m32r_sched_variable_issue): New scheduling function.
6762 (direct_return): New codegen function.
6763 (m32r_not_same_reg): New rtl testsing function.
6765 * config/m32r/m32r.md: Fix compile time warnings.
6766 Add support for pre decrement and post increment memory
6771 Mon Nov 8 22:20:13 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
6773 * global.c (EXECUTE_IF_CONFLICT): Don't define.
6774 (prune_preferences): Use EXECUTE_IF_SET_IN_ALLOCNO_SET instead.
6775 (find_reg): Likewise.
6777 Mon Nov 8 13:16:46 1999 Jason Eckhardt <jle@cygnus.com>
6779 * config/pa/pa.md (fmpynfadd,{sgl,dbl} insns): Use %fr0 rather than 0
6780 to avoid assembler errors.
6782 Mon Nov 8 15:38:41 1999 Nick Clifton <nickc@cygnus.com>
6784 * config/v850/v850-protos.h: New file: Prototypes for functions
6786 * config/v850/v850.h: Move prototypes to v850-protos.h
6787 * config/v850/v850.c: Move prototypes to v850-protos.h
6788 * config/v850/v850.md: Fix compile time warnings.
6790 * config/fr30/fr30-protos.h: New file: Prototypes for functions
6792 * config/fr30/fr30.h: Move prototypes to fr30-protos.h
6793 * config/fr30/fr30.c: Fix compile time warnings.
6794 * config/fr30/fr30.md: Fix compile time warnings.
6796 Mon Nov 8 07:25:37 1999 Mark Mitchell <mark@codesourcery.com>
6798 * tree.h (get_containing_scope): Declare it.
6799 * tree.c (get_containing_scope): New fucntion.
6800 (decl_function_context): Use it.
6801 * toplev.c (rest_of_compilation): Use get_containing_scope.
6803 aMon Nov 8 03:03:07 1999 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
6805 * Makefile.in (rtl.o): Depend on toplev.h.
6807 Sun Nov 7 20:55:14 1999 Mark Mitchell <mark@codesourcery.com>
6809 * cse.c (delete_trivially_dead_insns): Replace alloca with
6811 * except.c (update_rethrow_references): Likewise.
6812 (init_eh_nesting_info): Likewise.
6813 * function.c (identify_blocks): Likewise.
6814 * gcse.c (dump_hash_table): Likewise.
6815 * graph.c (print_rtl_graph_with_bb): Likewise.
6816 * loop.c (combine_movables): Likewise.
6817 (move_movables): Likewise.
6818 (count_loop_regs_set): Likewise.
6819 (strength_reduce): Likewise.
6820 * profile.c (compute_branch_probabilities): New function, split
6822 (branch_prob): Here. Replace alloca with xmalloc/xcalloc.
6823 * regclass.c (regclass): Likewise.
6824 * regmove.c (regmove_optimize): Likewise.
6825 * toplev.c (compile_file): Likewise.
6826 (main): Don't mess with the stack rlimit.
6828 Sun Nov 7 19:41:17 1999 Catherine Moore <clm@cygnus.com>
6830 * config/elfos.h (ASM_DECLARE_FUNCTION_NAME): Conditionally define.
6831 (ASM_DECLARE_FUNCTION_SIZE): Conditionally define.
6833 Sun Nov 7 10:23:28 1999 Mark P. Mitchell <mark@codesourcery.com>
6835 * integrate.c (save_for_inline_nocopy): Clear in_nonparm_insns.
6837 Sun Nov 7 02:58:48 1999 Jeffrey A Law (law@cygnus.com)
6839 * global.c (EXECUTE_IF_CONFLICT): Undo Robert's change.
6840 (EXECUTE_IF_SET_IN_ALLOCNO_SET): Put curleys around CODE in
6843 Sat Nov 6 23:48:30 1999 Robert Lipe (robertlipe@usa.net)
6845 * global.c (EXECUTE_IF_CONFLICT): Correct quoting typo.
6847 Sat Nov 6 17:34:39 1999 Jeffrey A Law (law@cygnus.com)
6849 * gcse.c (post_dominators): Kill.
6850 (alloc_code_hoist_mem, free_code_hoist_mem); Kill post_dominators.
6851 (compute_code_hoist_data): Use compute_flow_dominators. Do not
6852 pass in a pdom array since we do not need pdoms.
6853 * haifa-sched.c (schedule_insns): Similarly.
6854 * flow.c (compute_dominators): Remove dead function.
6855 (compute_flow_dominators): Do not compute doms or pdoms if the
6856 caller does not request them. Split up loop to build doms and
6857 pdoms. Use a worklist to compute doms and pdoms.
6858 * basic-block.h (compute_dominators): Remove prototype.
6860 Sat Nov 6 11:38:39 1999 Richard Henderson <rth@cygnus.com>
6862 * haifa-sched.c (struct haifa_insn_data, h_i_d): New.
6863 (insn_luid, insn_priority, insn_costs, insn_units): Remove.
6864 (insn_reg_weight, insn_depend, insn_dep_count): Remove.
6865 (insn_blockage, insn_ref_count, line_note, insn_tick): Remove.
6866 (cant_move, fed_by_spec_load, is_load_insn): Remove.
6867 (schedule_region): Remove unused variable.
6868 (schedule_insns): Allocate h_i_d, and not all the separate arrays.
6870 Sat Nov 6 10:00:34 1999 Mark Mitchell <mark@codesourcery.com>
6872 * local-alloc.c (local_alloc): Use xmalloc/xcalloc, not alloca.
6873 (update_equiv_regs): Likewise.
6874 (block_alloc): Likewise.
6875 * reg-stack.c (reg_to_stack): Likewise.
6876 (convert_regs_2): Likewise.
6877 * reload1.c (reload_as_needed): Likewise.
6879 Sat Nov 6 09:57:59 1999 Mark Mitchell <mark@codesourcery.com>
6881 * Makefile.in (dbxout.o): Depend on ggc.h.
6882 (dwarf2out.o): Likewise.
6883 (xcoffout.o): Likewise.
6884 * dbxout.c: Include ggc.h.
6885 (dbxout_init): Register lastfile as a root.
6886 * dwarf2out.c: Include ggc.h.
6887 (dwarf2out_line): Register lastfile as a root.
6888 * xcoffout.c: Include ggc.h.
6889 (xcoffout_source_line): Register xcoff_lastfile as a root.
6891 Sat Nov 6 09:52:09 1999 Richard Henderson <rth@cygnus.com>
6893 * i386.md (movdf_1, movxf_1): Earlyclobber general regs destination.
6895 Sat Nov 6 07:48:59 1999 Catherine Moore <clm@cygnus.com>
6897 * config/svr4.h (ASM_DECLARE_FUNCTION): Check if already
6899 (ASM_DECLARE_FUNCTION_SIZE): Likewise.
6901 Fri Nov 5 18:33:39 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
6903 * global.c (EXECUTE_IF_SET_IN_ALLOCNO_SET): New macro.
6904 (EXECUTE_IF_CONFLICT): Likewise.
6905 (ALLOCNO_LIVE_P): Avoid signed division.
6906 (SET_ALLOCNO_LIVE, CLEAR_ALLOCNO_LIVE): Likewise.
6907 (prune_preferences, find_reg): Use EXECUTE_IF_CONFLICT.
6908 (record_one_conflict): Use EXECUTE_IF_SET_IN_ALLOCNO_SET.
6910 Fri Nov 5 12:04:02 1999 Richard Henderson <rth@cygnus.com>
6912 * haifa-sched.c (schedule_block): Don't crash if there's no
6913 next insn for an interblock movement.
6914 (add_branch_dependences): Don't allow clobber insns to move either.
6916 Fri Nov 5 10:18:11 1999 Richard Henderson <rth@cygnus.com>
6918 * i386.c (split_xf): New.
6919 * i386-protos.h: Declare it.
6920 * i386.md (movxf_1): Add general regs alternatives.
6921 (movxf_1+1): New splitter for same.
6923 Fri Nov 5 12:05:52 1999 Nick Clifton <nickc@cygnus.com>
6925 * function.c (purge_addressof_1): Add missing return values.
6927 Fri Nov 5 10:07:25 1999 Nick Clifton <nickc@cygnus.com>
6929 * function.c (is_addressof): New function. Returns true if
6930 the given piece of RTL is an ADDRESSOF.
6931 (purge_addressof_1): Make boolean. Return false if the
6932 ADDRESSOFs could not be purged.
6933 (purge_addressof): If ADDRESSOFs could not be purged from the
6934 notes attached to an insn, remove the offending note(s),
6935 unless they are attached to a libcall.
6937 1999-11-05 Andreas Jaeger <aj@suse.de>
6939 * genoutput.c (null_operand =): Initialize all fields.
6941 * errors.h: Add extern to prototypes.
6943 Fri Nov 5 01:44:09 1999 Jeffrey A Law (law@cygnus.com)
6945 * configure.in (m68k-next-nextstep4): Handle Openstep 4.2.
6946 * configure: Rebuilt.
6948 Fri Nov 5 01:24:37 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
6950 * global.c (CONFLICTP, SET_CONFLICT): Avoid signed division.
6951 (mirror_conflicts): New function.
6952 (global_alloc): Call it.
6953 (expand_preferences): Remove redundant CONFLICTP test.
6954 (find_reg, dump_conflicts): Likewise.
6955 (prune_preferences): Process conflicts one word at a time.
6957 Fri Nov 5 01:05:21 1999 Richard Henderson <rth@cygnus.com>
6959 * global.c (build_insn_chain): Use EXECUTE_IF_SET_IN_BITMAP
6960 instead of an explicit loop.
6962 Thu Nov 4 23:07:14 1999 Jim Wilson <wilson@cygnus.com>
6964 * cse.c (cse_insn): Revert Oct 31 change. When computing src_elt,
6965 if REG_RETVAL check succeeds, then put classp in src_elt.
6967 Thu Nov 4 23:48:14 1999 Jeffrey A Law (law@cygnus.com)
6969 * function.c (pad_to_arg_alignment): Only update argument_pad
6970 if the argument's alignment is greater than STACK_BOUNDARY.
6972 Thu Nov 4 16:44:53 1999 Richard Henderson <rth@cygnus.com>
6974 * bitmap.h (BITMAP_XFREE): New.
6975 * flow.c (life_analysis): Use it.
6976 (life_analysis_1): Free blocks.
6978 * combine.c (undo_commit): New.
6979 (try_combine): Use it. Don't zap undobuf.undos.
6980 (combine_instructions): Don't zap undobuf.undos; free the
6983 * local-alloc.c (local_alloc): Free qty_phys_num_sugg.
6985 * stmt.c (cost_table_): New.
6986 (estimate_case_costs): Use it instead of xmalloc.
6988 * toplev.c (compile_file): Reuse dumpname memory instead
6991 Thu Nov 4 16:36:44 1999 Richard Henderson <rth@cygnus.com>
6993 * reg-stack.c (convert_regs_1): Initialize target_stack->top
6994 after verifying an EH edge.
6996 * haifa-sched.c (init_rgn_data_dependences): Correctly
6997 size bb_pending_lists_length when zeroing.
6999 Thu Nov 4 16:36:36 1999 Richard Henderson <rth@cygnus.com>
7001 * function.c (diddle_return_value): New.
7002 (expand_function_end): Use it.
7003 * stmt.c (expand_null_return): Likewise.
7004 (expand_value_return): Likewise.
7006 * reg-stack.c (subst_stack_regs_pat): Handle clobbers at top-level.
7008 * reload1.c (reload): Don't remove return value clobbers.
7010 Thu Nov 4 13:33:46 1999 Richard Henderson <rth@cygnus.com>
7012 * rtl.c (read_rtx): Use fatal_with_file_and_line not fatal.
7014 Thu Nov 4 12:49:52 1999 Richard Henderson <rth@cygnus.com>
7016 * cse.c (cse_main): Use xmalloc, not alloca.
7017 (cse_basic_block): Likewise.
7018 * local-alloc.c (local_alloc): Likewise.
7020 Thu Nov 4 14:22:12 1999 David Billinghurst <David.Billinghurst@riotinto.com.au>
7021 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
7023 * rtl.c: Include toplev.h.
7024 (fatal): Remove declaration.
7026 Thu Nov 4 06:39:47 1999 Jeffrey A Law (law@cygnus.com)
7028 * haifa-sched.c (schedule_block): Fix thinko.
7030 1999-11-03 James McKelvey <mckelvey@fafnir.com>
7032 * fixinc/fixincl.c(create_file): Allow for systems that do not have
7033 S_IR* defined values
7035 1999-11-03 Philippe De Muyter <phdm@macqel.be>
7037 * fixlib.c (load_file_data): Do not call `realloc' with a NULL pointer;
7038 call `malloc' instead.
7040 Wed Nov 3 23:05:14 1999 Mark Mitchell <mark@codesourcery.com>
7042 * flags.h (flag_renumber_insns): Declare.
7043 * emit-rtl.c (renumber_insns): Check flag_renumber_insns. Print
7045 * rtl.h (renumber_insns): Change prototype.
7046 * toplev.c (flag_renumber_insns): Define.
7047 (rest_of_compilation): Pass rtl_dump_file to flag_renumber_insns.
7049 Wed Nov 3 15:11:27 1999 David S. Miller <davem@redhat.com>
7051 * config/sparc/sparc.md: Remove insn type fpsqrt, add fpsqrts
7052 and fpsqrtd. Use them and create fdiv function unit to more
7053 accurately represent fpu sqrt pipeline semantics on UltraSparc.
7054 * config/sparc/sparc.c: Account for fpsqrt{s,d} changes.
7056 Wed Nov 3 15:11:27 1999 Matteo Frigo <athena@fftw.org>
7058 * config/sparc/sparc.md: Adjust FADD/FMUL result latencies to
7060 * config/sparc/sparc.c (ultra_schedule_insn): Insert launched
7061 insn into ready list, do not use just a raw swap.
7063 Wed Nov 3 14:51:59 1999 Mark P. Mitchell <mark@codesourcery.com>
7065 * rtl.h (renumber_insns): New function.
7066 (remove_unnecessary_notes): Likewise.
7067 * emit-rtl.c (renumber_insns): Define.
7068 (remove_unncessary_notes): Likewise.
7069 * toplev.c (rest_of_compilation): Remove dead code.
7070 Use renumber_insns and remove_unncessary_notes.
7072 * gcse.c (struct null_pointer_info): New type.
7073 (get_bitmap_width): New function.
7074 (current_block): Remove.
7075 (nonnull_local): Likewise.
7076 (nonnull_killed): Likewise.
7077 (invalidate_nonnull_info): Take a null_pointer_info as input.
7078 (delete_null_pointer_checks_1): New function.
7079 (delete_null_pointer_checks): Use it.
7081 * haifa-sched.c (find_rgns): Replace uses of alloca with xmalloc.
7082 (split_edges): Likewise.
7083 (schedule_block): Likewise.
7084 (compute_block_backward_dependencies): Likewise.
7085 (schedule_region): Likewise.
7086 (schedule_insns): Likewise.
7088 Wed Nov 3 15:40:23 1999 Catherine Moore <clm@cygnus.com>
7090 * defaults.h (ASM_OUTPUT_ALTERNATE_LABEL_NAME): Provide default.
7091 * emit-rtl.c (gen_label_rtx): Support LABEL_ALTERNATE_NAME.
7092 * final.c (final_scan_insn): Emit LABEL_ALTERNATE_NAME.
7093 * ggc-common.c (ggc_mark_rtx_children): Mark LABEL_ALTERNATE_NAME.
7094 * jump.c (delete_unreferenced_labels): Don't delete if
7095 LABEL_ALTERNATE_NAME is set.
7096 * print-rtl.c (print_rtx): Dump alternate name.
7097 * rtl.def (CODE_LABEL): Change format to "iuuis00s".
7098 * rtl.h (LABEL_ALTERNATE_NAME): Define.
7099 * rtl.texi (LABEL_ALTERNATE_NAME): Document.
7100 * tm.texi (ASM_OUTPUT_ALTERNATE_LABEL_NAME): Document.
7102 Wed Nov 3 15:39:19 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
7104 * fix-header.c (recognized_extern, recognized_function): Constify
7107 * lcm.c (compute_laterin): Remove unused variable `temp_bitmap'.
7108 (pre_edge_lcm): Mark parameter `file' with ATTRIBUTE_UNUSED.
7109 (compute_available): Remove unused variable `last'.
7110 (compute_nearerout): Remove unused variable `temp_bitmap'.
7111 (pre_edge_rev_lcm): Mark parameter `file' with ATTRIBUTE_UNUSED.
7112 Remove unused variable `x'.
7114 * scan.h (recognized_function, recognized_extern): Constify a
7117 * simplify-rtx.c (simplify_rtx): Remove unused variable `new'.
7119 Wed Nov 3 10:40:53 1999 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
7121 * varasm.c (decode_rtx_const): Use XSTR to access the string
7124 Wed Nov 3 10:10:58 1999 Richard Henderson <rth@cygnus.com>
7126 * c-decl.c (duplicate_decls): Copy DECL_MODE too.
7128 Wed Nov 3 12:12:59 1999 Bernd Schmidt <bernds@cygnus.co.uk>
7130 * reload1.c (eliminate_regs_in_insn): If copying insn, also copy notes.
7132 Wed Nov 3 03:26:28 1999 Jeffrey A Law (law@cygnus.com)
7134 * pa.c (ireg_operand): New function.
7135 * pa.h (PREDICATE_CODES): Handle ireg_operand.
7136 * pa.md (parallel_addb, parallel_movb): Use ireg_operand.
7137 Fix out of date comment.
7139 * pa.md (negdi2): Turn into expander + anonymous pattern.
7141 * reload.c (find_reloads): Fix typos in recent change.
7143 * dwarf2out.c: Do not include ctype.h.
7145 Tue Nov 2 21:53:44 1999 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
7147 * regclass.c (record_reg_classes): Always use may_move_cost when
7148 seeing how operand fits with various register classes.
7150 Tue Nov 2 15:38:17 1999 Richard Henderson <rth@cygnus.com>
7152 * resource.c: Revert Oct 26 20:42 and Oct 27 00:56 changes.
7153 * toplev.c: Revert Nov 1 13:22 change.
7155 Tue Nov 2 14:21:37 1999 Jason Eckhardt <jle@cygnus.com>
7157 * config/pa/pa.md (height reduction patterns): Add checks for
7158 overlapping operands to avoid semantic-destroying splits for
7159 height reduction patterns.
7161 Tue Nov 2 15:27:31 1999 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
7163 * configure.in (m68k-hp-hpux*, xm_alloca.h): The underscore should
7164 have been an hyphen, fixed.
7165 * configure: Rebuilt.
7167 Tue Nov 2 17:04:36 1999 Nick Clifton <nickc@cygnus.com>
7169 * config/arm/tpe.h: Add prototypes for exported functions.
7170 * config/arm/pe.c: Fix compile time warnings.
7171 * config/arm/semi.h: Fix compile time warnings.
7172 * config/arm/arm.c: Fix compile time warnings.
7173 * config/arm/arm.h: Fix compile time warnings.
7174 * config/arm/arm.md: Fix compile time warnings.
7175 * config/arm/thumb.c: Fix compile time warnings.
7176 * config/arm/thumb.h: Fix compile time warnings.
7177 * config/arm/thumb.md: Fix compile time warnings.
7179 Tue Nov 2 04:10:24 1999 Jan Hubicka <hubicka@freesoft.cz>
7181 * jump.c (jump_optimize_1): Swap the incscc and the conditional mode
7184 * unroll.c (unroll_loop): Remove LOOP notes when loop is
7185 completely unrolled.
7187 Tue Nov 2 16:57:22 1999 Bernd Schmidt <bernds@cygnus.co.uk>
7189 * cse.c (simplify_plus_minus, check_fold_const): Delete declarations.
7191 Tue Nov 2 09:43:00 1999 Catherine Moore <clm@cygnus.com>
7193 * Makefile.in (genattrtab): Don't use (HOST_RTLANAL).
7194 * rtl.h (rtx_equal_p): Move prototype.
7195 * rtl.c (rtx_equal_function_value_matters): Move from
7197 (rtx_equal_p): Likewise.
7198 * rtlanal.c (rtx_equal_function_value_matters): Delete.
7199 (rtx_equal_p): Likewise.
7201 Mon Nov 1 23:21:17 1999 Jason Merrill <jason@yorick.cygnus.com>
7203 * libgcc2.c (__do_global_dtors): Only do EH frame stuff if
7206 Mon Nov 1 23:37:38 1999 Jeffrey A Law (law@cygnus.com)
7208 * gcc.1 (PA options): Remove obsolete -mshared-libs options.
7210 * pa.h (ADDR_VEC_ALIGN): Define.
7212 * jump.c (jump_optimize_1): Also move LOOP_VTOP and LOOP_CONT
7213 notes when presented with "if (foo) break; end_of_loop" and
7214 the break sequence gets moved out of the loop.
7216 * unroll.c (unroll_loop): Allocate memory for MAP using xcalloc.
7217 Remove explicit zero initializations of entries within MAP.
7219 Mon Nov 1 18:09:14 1999 Richard Henderson <rth@cygnus.com>
7221 * reg-stack.c (convert_regs_1): Handle EH edges specially.
7223 Mon Nov 1 15:41:01 1999 Mark P. Mitchell <mark@codesourcery.com>
7225 * bitmap.h (BITMAP_XMALLOC): New macro.
7226 * flow.c (CLEAN_ALLOCA): Remove.
7227 (delete_unreachable_blocks): Use xmalloc/xcalloc instead of alloca.
7228 (life_analysis): Likewise.
7229 (update_life_info): Don't use CLEAN_ALLOCA.
7230 (life_analysis_1): Use xmalloc/xcalloc instead of alloca.
7231 (calculate_global_regs_live): Likewise.
7232 (print_rtl_with_bb): Likewise.
7233 (verify_flow_info): Likewise.
7234 * global.c (global_alloc): Likewise.
7235 (global_conflicts): Likewise.
7236 * integrate.c (save_for_inline_nocopy): Likewise.
7237 (expand_inline_function): Likewise.
7238 * jump.c (jump_optimize_1): Likewise.
7239 (duplicate_loop_exit_test): Likewise.
7240 (thread_jumps): Likewise.
7241 * loop.c (loop_optimize): Likewise.
7242 (combine_givs): Likewise.
7243 (recombine_givs): Likewise.
7244 * reorg.c (dbr_schedule): Likewise.
7245 * unroll.c (unroll_loop): Likewise.
7247 * combine.c (combine_instructions): Use xmalloc instead of alloca.
7249 Mon Nov 1 13:22:30 1999 Richard Henderson <rth@cygnus.com>
7251 * toplev.c (rest_of_compilation): Don't optimize the CFG
7252 when rebuilding, just before dbr.
7254 Mon Nov 1 14:35:50 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
7256 * output.h (assemble_end_function, assemble_destructor,
7257 assemble_constructor, assemble_gc_entry, assemble_global,
7258 assemble_label, output_constant_pool) Constify a char*.
7260 * varasm.c (assemble_destructor, assemble_constructor,
7261 assemble_gc_entry, assemble_end_function, assemble_global,
7262 assemble_label, output_constant_pool): Likewise.
7264 Mon Nov 1 14:22:51 1999 Nick Clifton <nickc@cygnus.com>
7266 * config/arm/thumb.c (thumb_expand_prologue): Add comments
7267 explaining what is goin on in this function.
7269 Mon Nov 1 08:03:15 1999 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
7271 * regclass.c (record_reg_classes): In matching case, recompute
7272 costs since the direction of movement is different.
7274 Sun Oct 31 21:59:34 MST 1999 Diego Novillo <dnovillo@cygnus.com>
7276 * resource.c (mark_target_live_regs): For unconditional branches,
7277 the resources found at the branch target should be added to the
7278 resources found so far, not intersected.
7280 Sun Oct 31 15:48:49 1999 Philippe De Muyter <phdm@macqel.be>
7282 * fixinc/fixtests.c, fixinc/fixfixes.c : Keep `#' in first column for
7284 * fixinc/fixincl.c (fcntl.h) : Do not include this file twice.
7285 (sys/mman.h): Include this file only if #HAVE_MMAP.
7286 (run_compiles): Initialize `esac_fmt' with one old KR string, not
7287 with automatically concatenated ANSI strings.
7289 Sun Oct 31 23:57:07 1999 Mark Mitchell <mark@codesourcery.com>
7291 * ggc-page.c (struct page_entry): Remove save_num_free_objects.
7292 (DIV_ROUND_UP): Robustify.
7293 (ggc_recalculate_in_use_p): New function.
7294 (release_pages): Don't inline it.
7295 (ggc_alloc_obj): Don't refuse to allocate objects on pages for
7297 (ggc_pop_context): Use ggc_recalculate_in_use_p.
7298 (clear_marks): Always save in_use_p.
7299 (sweep_pages): Use ggc_recalculate_in_use_p.
7300 (ggc_page_print_statistics): Avoid signed/unsigned comparisons.
7301 Release pages before counting statistics.
7303 Sun Oct 31 23:42:37 1999 Mark Mitchell <mark@codesourcery.com>
7305 * toplev.c (rest_of_compilation): Fix thinko in this change:
7307 Fri Oct 29 15:25:07 1999 Arnaud Charlet <charlet@ACT-Europe.FR>
7309 (rest_of_compilation): If inside an inlined external function,
7310 pretend we are just being declared.
7312 Sun Oct 31 23:03:25 1999 Jeffrey A Law (law@cygnus.com)
7314 * flow.c (calculate_global_regs_live): Fix thinko.
7316 * integrate.c (expand_inline_function): Fix bugs in previous
7317 change from Oct 28, 1999.
7319 Sun Oct 31 20:27:45 1999 Mark Mitchell <mark@codesourcery.com>
7321 * stmt.c (expand_value_return): Fix typo in this change:
7323 Thu Oct 28 18:06:50 1999 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
7324 (expand_value_return): Correctly convert VAL when promoting function
7325 return; support RETURN_REG being a PARALLEL.
7327 Sun Oct 31 20:25:42 1999 Mark P. Mitchell <mark@codesourcery.com>
7329 * expr.c (readonly_fields_p): Ignore everything except FIELD_DECLs.
7331 Sun Oct 31 20:42:17 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
7333 * hard-reg-set.h (reg_names): Constify a char*.
7335 * regclass.c (reg_names): Likewise.
7337 * regs.h (reg_names): Likewise
7339 * a29k/a29k.c (reg_names): Delete declaration.
7341 * a29k/a29k.h (CONDITIONAL_REGISTER_USAGE): Constify a char*.
7343 * arc/arc.c (arc_save_restore, arc_output_function_prologue,
7344 arc_output_function_epilogue): Likewise.
7346 * elxsi/elxsi.c (reg_names): Likewise.
7348 * gmicro/gmicro.h (FUNCTION_PROLOGUE, FUNCTION_EPILOGUE): Likewise.
7350 * m32r/m32r.c (m32r_output_function_epilogue, emit_cond_move):
7353 * m88k/m88k.c (output_function_profiler): Likewise.
7355 * sparc/sparc.c (sparc_flat_output_function_prologue,
7356 sparc_flat_output_function_epilogue): Likewise.
7358 Sun Oct 31 13:32:15 CET 1999 Marc Lehmann <pcg@goof.com>
7360 * toplev.c (rest_of_compilation): Seperate the setjmp/vfork clobber
7361 warning from -Wuninitialized and put it under -W.
7362 * function.c (uninitialized_vars_warning): Warn only when the
7363 corresponding flag is set.
7365 Sun Oct 31 01:53:30 1999 Jeffrey A Law (law@cygnus.com)
7367 * cse.c (cse_insn): If an insn has only a single set, SRC_EQV
7368 is nonzero and the single set does not have an elt, then assign
7371 * simplify-rtx.c: New file.
7372 * Makefile.in (OBJS): Add simplify-rtx.o
7373 (simplify-rtx.o): Add dependencies.
7374 * rtl.h (simplify_gen_binary, simplify_rtx): Add prototypes.
7375 * cse.c: Use simplify_gen_binary intead of cse_gen_binary.
7376 (cse_gen_binary, simplify_unary_operation): Delete.
7377 (simplify_binary_operation, simplify_plus_minus): Likewise.
7378 (check_fold_consts, simplify_relation_operation): Likewise.
7379 (simplify_ternary_operation): Likewise.
7380 (delete_trivially_dead_insns): Simplify the contents of the
7381 REG_EQUAL note before trying to substitute it into the source
7382 of the reg-reg copy at the end of a libcall sequence.
7384 * combine.c (combine_simplify_rtx): Renamed from simplify_rtx. All
7385 references/callers changed.
7387 * mn10200.c (mn10200_va_arg): Force the return value into a
7390 * fr30.h (EXTRA_CC_NAMES): Remove obsolete macro.
7392 * cccp.c (macroexpand): Avoid out of range accesses for omitted
7395 Sat Oct 30 22:42:50 1999 Stephen L Moshier <moshier@mediaone.net>
7397 * c-lex.c (yylex): Accept 'f' in mantissa of hex float constant.
7399 Sat Oct 30 22:19:26 1999 Jeffrey A Law (law@cygnus.com)
7401 * fold-const.c (fold): Fix thinko when optimizing comparisons
7404 Sat Oct 30 21:32:17 1999 David Starner <dstarner98@aasaa.ofe.org>
7406 * gcc.texi (Passes): Update front-end files to their current
7409 Sat Oct 30 14:41:40 1999 Richard Henderson <rth@cygnus.com>
7411 * alpha.h (SECONDARY_INPUT_RELOAD_CLASS): Call secondary_reload_class.
7412 (SECONDARY_OUTPUT_RELOAD_CLASS): Likewise.
7413 (PREDICATE_CODES): Add addition_operation.
7414 * alpha-protos.h (addition_operation): Declare.
7415 (secondary_reload_class): Likewise.
7416 * alpha.c (addition_operation): New.
7417 (secondary_reload_class): New, from old SECONDARY_INPUT_RELOAD_CLASS.
7418 * alpha.md (adddi3): Turn into expander.
7419 (*lda, *adddi_2): New.
7420 (movsf, movdf patterns): Don't preference integer regs.
7421 (movsi, movdi patterns): Don't preference fp regs.
7423 Sat Oct 30 14:38:22 1999 Richard Henderson <rth@cygnus.com>
7425 * genrecog.c (write_switch): Check for duplicate CODE cases.
7427 Sat Oct 30 14:31:48 1999 Richard Henderson <rth@cygnus.com>
7429 * ggc-common.c: Update pre-function commentary.
7430 * ggc-page.c: Likewise.
7432 (poison_pages): Use memset directly.
7433 (ggc_alloc_obj): Likewise. Use a different pattern than poison_pages.
7434 (ggc_collect): Poison before sweeping.
7435 * ggc-simple.c: Update pre-function commentary.
7436 (ggc_alloc_obj): Poison non-zeroed memory.
7438 Sat Oct 30 14:28:52 1999 Mark Mitchell <mark@codesourcery.com>
7440 * ggc-common.c (ggc_print_statistics): Make arguments to fprintf
7441 match format string, even on 64-bit hosts.
7442 * gcc-page.c (ggc_page_print_statistics): Likewise.
7444 Sat Oct 30 14:38:04 1999 Catherine Moore <clm@cygnus.com>
7446 * config/i386/i386.c (ix86_cpu): Revert last patch.
7447 * config/i386/i386.h (ix86_cpu): Ditto.
7449 Fri Oct 29 17:00:42 1999 Jim Wilson <wilson@cygnus.com>
7451 * stor-layout.c (layout_type): When compute TYPE_SIZE_UNIT from
7452 TYPE_SIZE, convert type of result to sizetype.
7454 Fri Oct 29 14:34:17 1999 Richard Henderson <rth@cygnus.com>
7456 * flow.c (count_or_remove_death_notes): Equate NULL with the
7459 * jump.c, reg-stack.c, toplev.c: Revert Oct 27 change.
7460 * toplev.c (rest_of_compilation): Rebuild CFG immediately before
7463 * i386.c (pic_label_no): Delete.
7464 (ix86_attr_length_default): Don't use single_set to peek
7467 * recog.c (peephole2_optimize): Allow recog_next_insn to index
7468 the first insn after bb->end.
7469 * i386.md (push mem peeps): Scratch is live after evaluation
7471 (cmp mem peep): Similarly.
7473 Fri Oct 29 11:50:11 1999 Catherine Moore <clm@cygnus.com>
7475 * calls.c (emit_library_call_value): Fix declaration of alignment_pad.
7476 * function.c (pad_to_arg_alignment): Add missing braces.
7478 Fri Oct 29 13:53:48 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
7480 * alpha/alpha-protos.h (literal_section): Add prototype.
7481 (alpha_need_linkage, alpha_start_function,alpha_end_function):
7484 * alpha/alpha.c (alpha_ra_ever_killed, set_frame_related_p): Add
7486 (alpha_start_function, alpha_end_function, float_strings,
7487 alpha_need_linkage): Constify a char*
7489 * alpha/alpha.h (ASM_OUTPUT_ASCII, ASM_OUTPUT_MI_THUNK): Likewise.
7491 * alpha/alpha32.h (ASM_OUTPUT_MI_THUNK): Likewise.
7493 * alpha/elf.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
7495 * alpha/vms.h (ASM_OUTPUT_SECTION_NAME): Likewise.
7497 Fri Oct 29 13:49:39 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
7499 * flow.c (debug_flow_info): Add prototype.
7501 * gcc.c (main): Likewise.
7503 * gcse.c (expr_reaches_here_p_work, pre_expr_reaches_here_p_work):
7506 * reload1.c (failed_reload, set_reload_reg): Likewise.
7508 * mips-tfile.c (main): Likewise.
7509 (pfatal_with_name, fancy_abort, botch, fatal, catch_signal): Mark
7510 with ATTRIBUTE_NORETURN.
7512 Fri Oct 29 18:16:03 1999 Andrew Haley <aph@cygnus.com>
7514 * config/i386/i386.h (ENCODE_SECTION_INFO): Don't do anything if
7515 DECL is not a memory ref.
7517 Fri Oct 29 09:05:34 1999 Catherine Moore <clm@cygnus.com>
7519 * config/i386/i386.h (ix86_cpu): Remove extern attribute.
7520 * config/i386/i386.c (ix86_cpu): Add extern attribute.
7522 Fri Oct 29 16:30:04 1999 Andrew Haley <aph@cygnus.com>
7524 * config/mips/elf.h: remove NAME__MAIN and SYMBOL__MAIN.
7525 * config/mips/elf64.h: ditto.
7527 Fri Oct 29 08:03:57 1999 Catherine Moore <clm@cygnus.com>
7529 * expr.c (emit_push_insn): New argument alignment_pad.
7530 Update all callers. Adjust stack pointer based on alignment pad.
7531 * function.c (pad_to_arg_alignment): New argument alignment_pad.
7532 Update all callers. Track alignment_pad if boundary > PARM_BOUNDARY.
7533 (locate_and_pad_parm): New argument alignment_pad. Update all
7535 * expr.h (emit_push_insn): Update prototype.
7536 (locate_and_pad_parm): Update prototype.
7537 * calls.c (arg_data): Add new field alignment_pad.
7538 (initialize_argument_information): Initialize alignment_pad.
7540 Fri Oct 29 02:51:35 1999 Mark Mitchell <mark@codesourcery.com>
7542 * except.c (free_eh_nesting_info): Free the info itself.
7543 * function.c (free_after_compilation): Don't free NULL.
7544 * gcse.c (alloc_pre_mem): Free the temp_bitmap, too.
7545 (pre_edge_insert): Free inserted.
7546 * stmt.c (free_stmt_status): Don't free NULL.
7548 Fri Oct 29 15:25:07 1999 Arnaud Charlet <charlet@ACT-Europe.FR>
7550 * gcov.c (DIR_SEPARATOR): Provide default.
7551 (output_data): Add test for MS-DOS format absolute filename.
7552 (fancy_abort): Correct program name.
7553 (open_files): Open all files in binary mode.
7554 * libgcc2.c (__bb_exit_func): Likewise.
7556 * profile.c (init_branch_prob): Specify binary when opening files.
7558 * flags.h (flag_unwind_tables): New decl.
7559 * toplev.c (flag_unwind_table): New definition.
7560 (f_options): Add -funwind-tables.
7561 (decode_g_option): Clarify warning when unknown -g option is given.
7562 (rest_of_compilation): If inside an inlined external function,
7563 pretend we are just being declared.
7565 * dwarf2out.c (dwarf2out_do_frame): Check -funwind_tables.
7566 (dwarf2out_frame_finish): Likewise.
7568 Fri Oct 29 07:44:26 1999 Vasco Pedro <vp@di.fct.unl.pt>
7570 * fold-const.c (merge_ranges): If not in0, but in1, handle
7571 upper bounds equal like subset case.
7573 Thu Oct 28 19:22:24 1999 Douglas Rupp <rupp@gnat.com>
7575 * dbxout.c (dbxout_parms): Generate a second stabs line for parameters
7576 passed in a register but moved to the stack.
7578 Thu Oct 28 19:12:57 1999 Sam Tardieu <tardieu@act-europe.fr>
7580 * gcc.c (pass_exit_codes, greatest_status): New variables.
7581 (struct option_map): Add entry for "--pass-exit-codes".
7582 (execute): Update greatest_status if error.
7583 (display_help): Add documentation for -pass-exit-codes.
7584 (process_command): Handle -pass-exit-codes.
7585 (main): Look at pass_exit_codes and greatest_status on call to exit.
7587 Thu Oct 28 18:06:50 1999 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
7589 * reload.c (find_reloads): Refine test for no input reload
7590 case to not includes reloads emitted after insn.
7592 * function.c (find_temp_slots_from_address): Handle sum involving
7593 a register that points to a temp slot.
7594 (update_temp_slot_address): Make recursive call if both old and
7595 new are PLUS with a common operand.
7596 * calls.c (expand_call): Mark temp slot for result as having
7599 * rtlanal.c (reg_referenced_p, case IF_THEN_ELSE): New case.
7601 * gcc.c (process_command): Add standard_exec_prefix with "GCC"
7602 component as well as "BINUTILS".
7604 * integrate.h (copy_rtx_and_substitute): New arg, FOR_LHS.
7605 * integrate.c (copy_rtx_and_substitute): Likewise.
7606 (expand_inline_function, integrate_parm_decls, integrate_decl_tree):
7607 All callers changed.
7608 * unroll.c (inital_reg_note_copy, copy_loop_body): Likewise.
7610 * dbxout.c (dbxout_type, case INTEGER_TYPE_NODE): If can use
7611 gdb extensions, write size of type; also be more consistent
7612 in using references when this is a subtype.
7614 * pa.md (extv, extzv, insv): Use define_expand to reject constant
7615 that is out of range.
7617 * loop.c (unknown_constant_address_altered): New variable.
7618 (prescan_loop): Initialize it.
7619 (note_addr_stored): Set it for RTX_UNCHANGING_P MEM.
7620 (invariant_p, case MEM): Remove handling for volatile and readonly;
7621 check new variable if readonly.
7622 (check_dbra_loop): Chdeck unknown_constant_address_altered.
7624 * cse.c (canon_hash, case MEM): Do not record if BLKmode.
7625 (addr_affects_sp_p): Removed from note_mem_written and only
7626 define #ifdef AUTO_INC_DEC.
7628 * alpha.c (input_operand, case ADDRESSOF): Treat as REG.
7630 * regclass.c (record_reg_classes): Properly handle register move
7633 * varasm.c (initializer_constant_valid_p, case MINUS_EXPR):
7634 Don't think valid if both operands are invalid.
7635 (struct constant_descriptor): New field RTL.
7636 (mark_const_hash_entry): Mark it.
7637 (record_constant{,_rtx}): Initialize it.
7638 (output_constant_def): Allocate RTL in permanent obstack and
7640 ({record,compare}_constant_1): Modes must match for
7641 CONSTRUCTOR of ARRAY_TYPE.
7643 * c-common.h (initializer_constant_valid_p): Delete decl from here.
7644 * output.h (initializer_constant_valid_p): Move decl to here.
7645 * c-common.c (initializer_constant_valid_p): Delete function from here.
7646 * varasm.c (initializer_constant_valid_p): Move function to here.
7648 * tree.h (STRIP_SIGN_NOPS): New macro.
7649 * fold-const.c (optimize_minmax_comparison): New function.
7650 (invert_truthvalue, case WITH_RECORD_EXPR): New case.
7651 (fold): Use STRIP_SIGN_NOPS instead of STRIP_TYPE_NOPS.
7652 (fold, case EQ_EXPR): Call optimize_minmax_comparison and add
7653 cases with ABS_EXPR, NEGATE_EXPR, PLUS_EXPR, MINUS_EXPR, and
7654 widening conversions.
7655 (fold, case LE_EXPR): Rework changing unsigned to signed comparisons
7656 to look at size of mode, not precision of type; also add missing cases.
7657 (optimize_bit_field_compare, decode_field_reference): Don't try to
7658 optimize COMPONENT_REF of a PLACEHOLDER_EXPR.
7660 * dwarf2out.c (ctype.h): Include.
7661 (dwarf2out_set_demangle_name_func): New function.
7662 (size_of_line_info): Deleted.
7663 (output_line_info): Compute size of line info table from difference
7665 (base_type_die, add_name_attribute): Call demangle function, if any.
7666 (field_byte_offset): Use bits per word for variable length fields.
7667 (gen_array_type_die): Add array name.
7668 (gen_subprogram_die): Ignore DECL_INLINE if -fno-inline.
7669 (dwarf2out_add_library_unit_info): New function.
7671 * explow.c (set_stack_check_libfunc): New function.
7672 (stack_check_libfunc): New static variable.
7673 (probe_stack_range): Allow front-end to set up a libfunc to call.
7675 * combine.c (simplify_comparison): When making comparison in wider
7676 mode, check for having commuted an AND and a SUBREG.
7677 (contains_muldiv): New function.
7678 (try_combine): Call it when dividing a PARALLEL.
7679 (simplify_rtx, case TRUNCATE): Don't remove for umulsi3_highpart.
7680 (simplify_comparison, case ASHIFTRT): Recognize sign-extension of
7682 (record_value_for_reg): If TEM is a binary operation with two CLOBBERs,
7683 use one of the CLOBBERs instead.
7684 (if_then_else_cond): If comparing against zero, just return thing
7687 * optabs.c (expand_abs): If machine has MAX, ABS (x) is MAX (x, -x).
7688 Don't generate shifts and subtract if have conditional arithmetic.
7690 * rtl.h (delete_barrier): New declaration.
7691 * jump.c (jump_optimize): Set up to handle conditional call.
7692 In conditional arithmetic case, handle CALL_INSN followed by a BARRIER.
7693 (delete_barrier): New function.
7695 * rtl.c (read_rtx): Call fatal if bad RTL code; check for bad mode.
7697 * recog.c (nonmemory_operand): Accept ADDRESSOF.
7699 * tree.c (build_type_attribute_variant): Push to obstack of
7700 ttype around type_hash_canon call.
7702 * expr.c (placeholder_list): Move decl to file scope.
7703 (expand_expr): Don't force access to volatile just because its
7705 If ignoring reference operations, just expand the operands.
7706 (expand_expr, case COMPONENT_REF): Propagate
7707 EXPAND_CONST_ADDRESS to recursive call when expanding inner.
7708 Refine test for using bitfield operations vs pointer punning.
7709 (expand_expr, case CONVERT_EXPR): If converting to
7710 BLKmode UNION_TYPE from BLKmode, just return inner object.
7711 Use proper mode in store_field call.
7712 Properly set sizes of object to store and total size in store_field
7713 call for convert to union.
7714 (expand_expr, case ARRAY_REF): If OP0 is in a register, put it in
7715 memory (like for ADDR_EXPR). Also, don't put constant in register if
7716 we'll want it in memory.
7717 (readonly_fields_p): New function.
7718 (expand_expr, case INDIRECT_REF): Call it if LHS.
7719 (expand_assignment): Handle a RESULT_DECL where
7720 DECL_RTL is a PARALLEL.
7721 (do_jump, case WITH_RECORD_EXPR): New case.
7722 (get_inner_reference): Always go inside a CONVERT_EXPR
7723 and NOP_EXPR if both modes are the same.
7724 (store_field): Use bitfield operations if size of bitsize is not same
7725 as size of RHS's type.
7726 Check for bitpos not a multiple of alignment in BLKmode case.
7727 Do block move in largest possible alignment.
7728 (store_constructor): Set BITSIZE to -1 for variable size and properly
7729 in case of array of BLKmode.
7730 (expand_expr_unaligned): New function.
7731 (do_compare_and_jump): Call it.
7733 * mips/iris5.h (SWITCHES_NEED_SPACES): New macro.
7734 * collect2.c (main): Only allow -ofoo if SWITCHES_NEED_SPACES
7735 does not include 'o'.
7737 * function.c (instantiate_virtual_regs_1, case SET): Handle case where
7738 both SET_DEST and SET_SRC reference a virtual register.
7739 (gen_mem_addressof): Copy RTX_UNCHANGING_P from new REG to old REG.
7741 * integrate.c (expand_inline_function): Handle case of setting
7742 virtual stack vars register (from built in setjmp); when parameter
7743 lives in memory, expand virtual_{stack_vars,incoming_args}_rtx early.
7744 (subst_constant): Add new parm, MEMONLY.
7745 (expand_inline_function, integrate_parm_decls): Pass new parm.
7746 (integrate_decl_tree): Likewise.
7747 (copy_rtx_and_substitute, case MEM): Do copy RTX_UNCHANGING_P.
7748 (try_constants): Call subst_constants twice, with MEMONLY 0 and 1.
7749 (copy_rtx_and_substitute, case SET): Add explicit calls to
7750 copy_rtx_and_substitute for both sides.
7752 * stmt.c (expand_asm_operands): Don't use TREE_STRING_LENGTH for
7754 (pushcase{,_range}): Convert to NOMINAL_TYPE after checking for
7755 within INDEX_TYPE, instead of before.
7756 (fixup_gotos): Use f->target_rtl, not the next insn,
7757 since latter may be from a later fixup.
7758 (expand_value_return): Correctly convert VAL when promoting function
7759 return; support RETURN_REG being a PARALLEL.
7760 (expand_return): When checking for result in regs and having
7761 cleanup, consider PARALLEL in DECL_RTL as being in regs.
7763 1999-10-28 21:27 -0700 Zack Weinberg <zack@bitmover.com>
7765 * cpplib.h (struct cpp_buffer: fname, nominal_fname,
7766 last_nominal_fname): Mark const.
7767 (struct include_hash: name, nshort, control_macro): Mark
7769 (struct macrodef: symnam): Mark const.
7770 (struct if_stack: fname): Mark const.
7771 (is_idchar, is_idstart, is_hor_space, trigraph_table): Delete.
7772 (IStable): New character-syntax array which encompasses all
7773 the old is_foo arrays.
7774 (is_idchar, is_numchar, is_idstart, is_numstart, is_hspace,
7775 is_space): New macros for interrogating IStable.
7776 (check_macro_name): Kill last argument. All callers changed.
7778 * cppinit.c (initialize_char_syntax): Delete.
7779 (is_idchar, is_idstart, is_hor_space, is_space,
7780 trigraph_table): Delete.
7781 (IStable): New. Initialize with clever macros to avoid
7782 information duplication.
7783 (builtin_array): Table of builtins to get rid of explicit list
7784 in initialize_builtins.
7785 (initialize_builtins): Use builtins_array.
7786 (cpp_start_read): Call init_IStable, and set IStable['$'] if
7787 opts->dollars_in_ident.
7789 * cppexp.c: Change all refs to is_xyz[] arrays to use new
7791 (cpp_parse_expr): Avoid 'format string is not constant'
7792 warning. Use ISGRAPH to identify printable chars.
7793 * cppfiles.c: Change all refs to is_xyz[] arrays to use new
7795 (read_and_prescan): Map trigraphs to chars with open-coded
7796 if-else-if-... sequence, not a lookup table.
7797 * cpphash.c: Change all refs to is_xyz[] arrays to use new
7799 * cpplib.c: Change all refs to is_xyz[] arrays to use new
7800 is_xyz() macros. Kill SKIP_ALL_WHITE_SPACE (unused).
7801 (check_macro_name): Remove ability to report an invalid
7802 assertion name, which is never used.
7803 (do_line): Constify a couple of char *'s.
7804 * cppmain.c (main): Call cpp_cleanup before returning.
7806 Thu Oct 28 21:16:35 1999 Mark Mitchell <mark@codesourcery.com>
7808 * ggc.h (struct ggc_statistics): New type.
7809 (ggc_get_size): New function.
7810 (ggc_print_statistics): Likewise.
7811 * ggc-common.c (ggc_stats): New variable.
7812 (ggc_mark_rtx_children): Keep statistics.
7813 (ggc_mark_tree_children): Likewise.
7814 (ggc_print_statistics): New function.
7815 * ggc-page.c (struct globals): Add bytes_mapped field.
7816 (alloc_anon): Update it.
7817 (release_pages): Likewise.
7818 (ggc_get_size): New function.
7819 (ggc_page_print_statistics): New function.
7820 * ggc-simple.c (ggc_get_size): New function.
7822 Fri Oct 29 06:32:44 1999 Geoffrey Keating <geoffk@cygnus.com>
7824 * flow.c (propagate_block): When the last reference to a label
7825 before an ADDR_VEC is deleted because the reference is a dead
7826 store, delete the ADDR_VEC.
7828 Thu Oct 28 12:28:50 1999 Richard Henderson <rth@cygnus.com>
7830 * resource.c (find_free_register): Don't use the frame pointer
7831 if frame_pointer_needed.
7833 Thu Oct 28 10:02:00 1999 Jim Wilson <wilson@cygnus.com>
7835 * config/mips/mips.c (mips_va_arg): Delete gen_jump as emit_jump arg.
7836 (function_arg_pass_by_reference): Check for a NULL pointer in cum.
7838 * config/i960/i960.c (i960_va_start): New locals base, num.
7839 Use INDIRECT_REF instead of ARRAY_REF on valist.
7840 (i960_va_arg): Use INDIRECT_REF instead of ARRAY_REF on valist.
7842 Thu Oct 28 09:45:48 1999 Mark Mitchell <mark@codesourcery.com>
7844 * gcse.c (delete_null_pointer_checks): Fix typo in previous change.
7846 Thu Oct 28 03:37:50 1999 Peter Gerwinski <peter@gerwinski.de>
7848 * tree.def (PLACEHOLDER_EXPR): Update comments.
7850 Thu Oct 28 06:47:32 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
7852 * c-common.c (check_format_info): Avoid non-literal format string
7853 warnings when `first_arg_num' is zero.
7855 Thu Oct 28 12:28:48 1999 Bernd Schmidt <bernds@cygnus.co.uk>
7857 * rtl.texi: Delete explicit Prev, Up and Next entries in "@node"s.
7859 Thu Oct 28 11:05:13 1999 Richard Earnshaw <rearnsha@arm.com>
7861 * arm.md (casesi_insn): Add a clobber of the condition code
7864 Mon Oct 18 21:16:06 1999 Fred Fish <fnf@be.com>
7866 * tm.texi (CC1PLUS_SPEC): Make it clear in the docs that CC1_SPEC is
7867 used by both cc1 and cc1plus.
7869 Thu Oct 28 10:00:48 1999 Nick Clifton <nickc@cygnus.com>
7871 * config/arm/arm.c: Initialise arm_structure_size_boundary to
7872 DEFAULT_STRUCTURE_SIZE_BOUNDARY.
7873 * config/arm/arm.h (DEFAULT_STRUCTURE_SIZE_BOUNDARY): Define
7874 to the value 32 if it has not already been defined.
7875 * config/arm/netbsd.h (DEFAULT_STRUCTURE_SIZE_BOUNDARY):
7876 Override definition in arm.h with a value of 8.
7878 Thu Oct 28 03:12:02 1999 David Starner <dstarner98@aasaa.ofe.org>
7880 * c-pragma.c (push_alignment): Don't check the return value
7883 Thu Oct 28 03:08:38 1999 Matteo Frigo <athena@fftw.org>
7885 * sparc.h (ADJUST_COST): Fix thinko.
7887 Thu Oct 28 02:44:03 1999 Glen Nakamura <glen.nakamura@usa.net>
7889 * cccp.c (rescan): Fixed obp pointer handling around call to
7890 check_expand subroutine.
7892 Thu Oct 28 02:15:22 1999 Jeffrey A Law (law@cygnus.com)
7894 * gcse.c (delete_null_pointer_checks): Only record non-null info
7895 for pseudos when examining stores.
7897 * arm.md (adddi3, adddi_sesidi_di, adddi_sesidi_di): Add
7898 splitters for these patterns. Use "#" for output templates.
7899 (addsi3_carryin_shift): New pattern.
7901 Thu Oct 28 10:20:02 1999 Geoffrey Keating <geoffk@cygnus.com>
7903 * config/rs6000/rs6000.md (movsf): Don't convert a SUBREG
7904 of the function return register into a plain REG until
7905 after function inlining is done.
7907 Wed Oct 27 15:21:46 1999 Richard Henderson <rth@cygnus.com>
7909 * jump.c (jump_optimize_1): If we did cross-jumping, and
7910 the data will matter, rebuild the CFG.
7911 * reg-stack.c (reg_to_stack): Only (re)build the CFG if
7912 not optimizing. Don't run shorten_branches.
7913 * toplev.c (rest_of_compilation): Run shorten_branches after
7916 Wed Oct 27 12:33:40 1999 Mark Mitchell <mark@codesourcery.com>
7918 * rtl.h (note_stores): Add additional paramter.
7919 * rtlanal.c (reg_set_p_1): Take additional paramter.
7920 (reg_set_last_1): Likewise.
7921 (reg_set_p): Adjust call to note_stores.
7922 (reg_set_last): Likewise.
7923 (note_stores): Pass data parameter to worker function.
7924 * alias.c (record_set): Take additional parameter.
7925 (init_alias_analysis): Pass it.
7926 * caller-save.c (mark_set_regs): Take additional parameter.
7927 (save_call_clobbered_regs): Pass NULL to note_stores.
7928 * combine.c (set_nonzero_bits_and_sign_copies): Take additional
7930 (record_dead_and_set_regs_1): Likewise.
7931 (reg_dead_at_p_1): Likewise.
7932 (combine_instructions): Adjust calls to note_stores.
7933 (try_combine): Likewise.
7934 (record_dead_insn): Remove.
7935 (record_dead_and_set_regs): Adjust calls to note_stores.
7936 (reg_dead_at_p): Likewise.
7937 * cse.c (invalidate_skipped_set): Take additional parameter.
7938 (cse_check_loop_start): Likewise.
7939 (cse_check_loop_start_value): Remove.
7940 (cse_set_around_loop): Adjust calls to note_stores.
7941 * flow.c (notice_stack_pointer_modification): Take additional
7942 parameter. Remove duplicate declaration.
7943 (record_volatile_insns): Adjust calls to note_stores.
7944 * gcse.c (record_set_info): Take additional parameter.
7945 (record_last_set_info): Likewise.
7946 (invalidate_nonnull_info): Likewise.
7947 (record_set_insn): Remove.
7948 (compute_sets): Adjust calls to note_stores.
7949 (last_set_insn): Remove.
7950 (compute_hash_table): Adjust calls to note_stores.
7951 (insert_insn_end_bb): Likewise.
7952 (delete_null_pointer_checks): Likewise.
7953 * global.c (mark_reg_store): Take additional parameter.
7954 (mark_reg_clobber): Likewise.
7955 (reg_becomes_live): Likewise.
7956 (global_conflicts): Adjust calls to note_stores.
7957 (build_insn_chain): Likewise.
7958 * integrate.c (note_modified_parmregs): Take additional parameter.
7959 (mark_stores): Likewise. Make it static.
7960 (save_for_inline_nocopy): Adjust calls to note_stores.
7961 (try_constants): Likewise.
7962 * integrate.h (mark_stores): Remove declaration.
7963 * jump.c (mark_modified_reg): Take additional parameter.
7964 (thread_jumps): Adjust calls to note_stores.
7965 * local-alloc.c (validate_equiv_mem_from_store): Take additional
7967 (no_equiv): Likewise.
7968 (reg_is_set): Likewise.
7969 (validate_equiv_mem): Adjust calls to note_stores.
7970 (update_equiv_regs): Likewise.
7971 (block_alloc): Likewise.
7972 * loop.c (note_set_pseudo_multiple_uses_retval): Remove.
7973 (note_addr_stored): Take additional parameter.
7974 (note_set_pseudo_multiple_uses): Likewise.
7975 (record_initial): Likewise.
7976 (prescan_loop): Adjust calls to note_stores.
7977 (strength_reduce): Likewise.
7978 (check_dbra_loop): Likewise.
7979 * regmove.c (flags_set_1): Take additional paramter.
7980 (mark_flags_life_zones): Adjust calls to note_stores.
7981 * reload1.c (mark_not_eliminable): Take additional parameter.
7982 (forget_old_reloads_1): Likewise.
7983 (reload_cse_invalidate_rtx): Likewise.
7984 (reload_cse_check_clobber): Likewise.
7985 (reload_combine_note_store): Likewise.
7986 (move2add_note_store): Likewise.
7987 (reload): Adjust calls to note_stores.
7988 (reload_as_needed): Likewise.
7989 (emit_reload_insns): Likewise.
7990 (reload_cse_regs_1): Likewise.
7991 (reload_cse_record_set): Adjust calls to reload_cse_invalidate_rtx.
7992 (reload_combine): Adjust calls to note_stores.
7993 * resource.c (update_live_status): Take additional paramter.
7994 (mark_target_live_regs): Adjust calls to note_stores.
7995 * stupid.c (find_clobbered_regs): Take additional parameter.
7996 (stupid_life_analysis): Adjust calls to note_stores.
7998 Wed Oct 27 19:26:12 1999 Nick Clifton <nickc@cygnus.com>
8000 * config/arm/coff.h (STRUCTURE_SIZE_BOUNDARY): Delete
8003 * config/arm/elf.h (STRUCTURE_SIZE_BOUNDARY): Delete
8006 * config/arm/arm.h (STRUCTURE_SIZE_BOUNDARY): Define in terms
8007 of the variable arm_structure_size_boundary.
8009 Wed Oct 27 02:05:58 1999 Mark P. Mitchell <mark@codesourcery.com>
8011 * alias.c (init_alias_analysis): Allocate reg_known_value and
8012 reg_known_equiv_p on the heap. Likewise for new_reg_base_value
8014 (end_alias_analysis): Free reg_known_value and reg_known_equiv_p.
8015 * cse.c (cse_main): Call end_alias_analysis.
8016 * haifa-sched.c (schedule_insns): Likewise.
8017 * local-alloc. (update_equiv_regs): Likewise.
8018 * reload1.c (reload_cse_regs): Likewise.
8020 Wed Oct 27 01:49:17 1999 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
8022 * sparc/sparc.c (sparc_override_options): Clear MASK_FPU_SET.
8023 * sparc/sparc.h (TARGET_SWITCHES): Add "fpu" entry for reverse
8024 mapping from MASK_FPU.
8026 Wed Oct 27 01:42:26 1999 Scott Christley <scottc@net-community.com>
8028 * sparc.md (call): Don't bound structure return size to 0xfff.
8030 Wed Oct 27 00:56:59 1999 Richard Henderson <rth@cygnus.com>
8032 * resource.c (mark_target_live_regs): Check that the target
8033 insn wasn't created after compute_bb_for_insn.
8035 Tue Oct 26 23:15:03 1999 Mark Mitchell <mark@codesourcery.com>
8037 * ggc-page.c (poison_pages): Don't be overzealous.
8039 Tue Oct 26 23:29:18 1999 Jeffrey A Law (law@cygnus.com)
8041 * alias.c: Update comments for ADDRESS.
8042 (nonlocal_reference_p): Look inside the ADDRESS to determine if
8043 it is a local memory reference.
8045 * c-typeck.c (build_function_call): Check that the built-in
8046 function is of class BUILT_IN_NORMAL before trying to recongize
8048 * calls.c (calls_function_1): Similarly for BUILT_IN_ALLOCA.
8049 * stmt.c (expand_end_cae): Similarly for BUILT_IN_CLASSIFY_TYPE.
8051 Wed Oct 27 00:14:13 1999 Robert Lipe <robertlipe@usa.net>
8053 * gcse.c (expr_reaches_here_p): Use xcalloc and explit free instead
8055 (pre_gcse): Likewise.
8056 (hoist_expr_reaches_here_p): Likewise.
8057 (hoist_code): Likewise.
8058 (pre_expr_reaches_here_p): Replace alloca with xcalloc. Move core
8060 (pre_expr_reaches_here_p_work): ... here.
8061 (expr_reaches_here_p): Replace alloca with xcalloc. Move core
8063 (expr_reaches_here_p_work): ... here.
8065 Tue Oct 26 20:42:45 1999 Richard Henderson <rth@cygnus.com>
8067 * resource.c (find_basic_block): Delete.
8068 (mark_target_live_regs, incr_ticks_for_insn): Use BLOCK_NUM instead.
8069 (init_resource_info): Call compute_bb_for_insn.
8071 Tue Oct 26 20:21:02 1999 Richard Henderson <rth@cygnus.com>
8073 * flow.c (merge_blocks_move_predecessor_nojumps): Cope
8074 with already adjacent blocks, but no fallthru.
8075 (merge_blocks_move_successor_nojumps): Simplify.
8076 (debug_flow_info): New.
8078 * toplev.c (rest_of_compilation): Open jump1 dump file before
8079 jump and close after, as opposed to just using dump_rtl.
8081 Wed Oct 27 03:09:23 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
8083 * reload.h (earlyclobber_operand_p): Declare.
8084 * reload.c (earlyclobber_operand_p): Don't declare. No longer static.
8085 * reload1.c (reload_reg_free_for_value_p): RELOAD_OTHER reloads with
8086 an earlyclobbered output conflict with RELOAD_INPUT reloads - handle
8087 case where the RELOAD_OTHER reload is new. Use earlyclobber_operand_p.
8089 Tue Oct 26 18:23:38 1999 Jan Hubicka <hubicka@freesoft.cz>
8090 Richard Henderson <rth@cygnus.com>
8092 * emit-rtl.c (emit_block_insn_before): New.
8093 (emit_block_insn_after): New.
8094 * basic-block.h: Declare them.
8096 * bitmap.h: Protect from multiple inclusion.
8098 * recog.c (scratch_operand): Handle VOIDmode correctly.
8100 * rtl.h (JUMP_CROSS_JUMP_DEATH_MATTERS): New.
8102 * builtins.c (expand_builtin_apply_args_1): Remove STACK_REGS hack.
8103 * function.c (assign_parms): Likewise.
8104 * global.c (global_conflicts): Clarify STACK_REGS commentary.
8106 * reg-stack.c (max_uid): Remove.
8107 (blocks, block_begin, block_end, block_drops_in): Remove.
8108 (block_stack_in, block_out_reg_set, block_number): Remove.
8109 (struct block_info_def, BLOCK_INFO): New.
8110 (enum emit_where): New.
8111 (current_block): New.
8112 (BLOCK_NUM): Remove.
8113 (mark_regs_pat, record_label_references): Remove.
8114 (record_reg_life_pat, record_reg_life, find_blocks): Remove.
8116 (goto_block_pat, print_blocks, dump_stack_info): Remove.
8117 (reg_to_stack): Simplified test for existance of fp code. Use
8118 flow.c code. Call shorten_branches after cross-jump opt.
8119 (check_asm_stack_operands): Renamed from record_asm_reg_life.
8120 Return false if the asm doesn't use stack regs. Don't do life
8121 analysis on the asm.
8122 (emit_pop_insn): Replace function pointer arg `when' with
8123 enum `where'. Update all callers.
8124 (change_stack): Likewise. Update basic block end.
8125 (emit_swap_insn): Use current_block->head to limit reverse search
8126 for start of block. Use emit_block_insn_after.
8127 (subst_stack_regs_pat): Handle USE and CLOBBER patterns.
8128 (subst_asm_stack_regs): Use check_asm_stack_operands. Use direct
8129 structure assignment instead of bcopy.
8131 (convert_regs_entry, convert_regs_exit): New.
8132 (convert_regs_1, convert_regs_2): Split out from convert_regs.
8133 Work on basic blocks and the CFG.
8134 (convert_regs): Use them.
8136 * i386.c (output_fix_trunc): Remove code for DImode input operand
8137 not at top-of-stack.
8138 * i386.c (fix_truncdfdi2, fix_truncsfdi2): Use scratch with
8140 (fix_truncdi_1): Allow any mode scratch.
8142 Tue Oct 26 13:30:35 1999 Richard Henderson <rth@cygnus.com>
8144 * alpha.h (TARGET_MEM_FUNCTIONS): Define here.
8145 * linux.h, netbsd.h, vms.h: Not here.
8147 1999-10-26 Gavin Romig-Koch <gavin@cygnus.com>
8149 * config/mips/mips.h (ISA_HAS_64BIT_REGS,ISA_HAS_BRANCHLIKELY,
8150 ISA_HAS_FP4,ISA_HAS_CONDMOVE): New.
8151 (GENERATE_BRANCHLIKELY,HAVE_SQRT_P,
8152 CONDITIONAL_REGISTER_USEAGE): Use them.
8153 * config/mips/mips.c (mips_move_1word,mips_move_2words,
8154 gen_conditional_branch,override_options) : Use them.
8155 * config/mips/mips.md : Use them.
8157 Tue Oct 26 13:09:23 1999 Richard Henderson <rth@cygnus.com>
8159 * i386.md (zero_extendqihi2): Use SImode register name with andl.
8161 Tue Oct 26 12:35:38 1999 Richard Henderson <rth@cygnus.com>
8163 * integrate.c (function_cannot_inline_p): Don't allow inlining
8166 Tue Oct 26 14:10:23 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
8168 * c-parse.in (cast_expr): Constify.
8170 * cccp.c (special_symbol): Likewise.
8172 * cse.c (hash_cse_reg_info, cse_reg_info_equal_p): Likewise.
8174 * dwarf2out.c (base_type_die): Likewise.
8176 * global.c (allocno_compare): Likewise.
8178 * local-alloc.c (qty_compare_1, qty_sugg_compare_1): Likewise.
8180 * regclass.c (fix_register): Likewise.
8182 * rtl.h (fix_register): Likewise.
8184 * stupid.c (stupid_reg_compare): Likewise.
8186 * toplev.c (decode_f_option): Likewise.
8188 * tree.c (build_complex_type): Likewise.
8190 Tue Oct 26 18:35:25 1999 Richard Earnshaw <rearnsha@arm.com>
8192 * output.h: Don't unnecessarily conditionalize prototypes on TREE_CODE.
8194 Tue Oct 26 15:42:56 1999 Bernd Schmidt <bernds@cygnus.co.uk>
8196 * reload.c (find_reloads): Compute mode and nregs fields of all
8198 * reload1.c (calculate_needs_all_insns): Simplify a bit.
8199 (calculate_needs): Use precomputed mode/nregs values.
8200 (allocate_reload_reg): Likewise.
8202 (failed_reload, set_reload_reg): ... new functions.
8203 (choose_reload_regs_init): New function, mostly broken out from...
8204 (choose_reload_regs): ... here. Lose all the save_xxx nonsense.
8205 Also lose one #if 0 block.
8207 Tue Oct 26 02:48:32 1999 Marc Espie <espie@cvs.openbsd.org>
8209 * Makefile.in (AR_FOR_TARGET, RANLIB_FOR_TARGET): Fix target name
8212 Tue Oct 26 01:27:32 1999 Mark Mitchell <mark@codesourcery.com>
8214 * tree.h (BLOCK_TYPE_TAGS): Remove.
8215 (BLOCK_END_NOTE): Likewise.
8216 (BLOCK_LIVE_RANGE_FLAG): Likewise.
8217 (BLOCK_LIVE_RANGE_START): Likewise.
8218 (BLOCK_LIVE_RANGE_END): Likewise.
8219 (tree_block): Remove live_range_flag, live_range_var_flag, and
8220 type_tags. Remove end_note, live_range_start, and live_range_end.
8221 (remember_end_note): Remove prototype.
8222 * tree.c (build_block): Don't set BLOCK_TYPE_TAGS.
8223 * c-decl.c (poplevel): Don't set BLOCK_TYPE_TAGS or call
8225 * ggc-common.c (ggc_mark_tree_children): Don't mark
8226 BLOCK_TYPE_TAGS or BLOCK_END_NOTE.
8227 * integrate.c (adjust_copied_decl_tree): Remove.
8228 * print-tree.c (print_node): Don't print BLOCK_TYPE_TAGS.
8229 * stmt.c (last_block_end_note): Remove.
8230 (init_stmt): Don't add a GC root for it.
8231 (expand_fixup): Don't set it.
8232 (remember_end_note): Remove.
8233 (expand_end_bindings): Don't set last_block_end_note.
8235 Tue Oct 26 00:41:54 1999 Bernd Schmidt <bernds@cygnus.co.uk>
8237 * reload1.c (reload_reg_free_for_value_p): Show
8238 RELOAD_FOR_OTHER_ADDRESS reloads can conflict with RELOAD_OTHER
8241 Mon Oct 25 23:54:45 1999 Geoff Keating <geoffk@cygnus.com>
8243 * expmed.c (extract_bit_field): Allow for the case of non-integer
8244 objects that are smaller than a word (like SFmode on a 64-bit
8247 * loop.c (basic_induction_var): A non-integer variable which is
8248 being set by a paradoxical subreg is probably not a biv.
8250 1999-10-25 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
8252 * prefix.c (translate_name) Check for empty prefix string.
8254 Mon Oct 25 23:10:45 1999 Andreas Schwab <schwab@suse.de>
8256 * Makefile.in (CPP_CROSS_NAME): New variable.
8257 (install-cpp): Use it instead of CPP_INSTALL_NAME for the cross
8259 (uninstall-cpp): Use CPP_INSTALL_NAME and CPP_CROSS_NAME for the
8260 names of the files to be uninstalled.
8262 Mon Oct 25 23:03:09 1999 Jeffrey A Law (law@cygnus.com)
8264 * collect2.c (IS_DIR_SEPARATOR): Define.
8265 (prefix_from_string): Use IS_DIR_SEPARATOR and DIR_SEPARATOR.
8267 * som.h (ASM_DECLARE_FUNCTION_NAME): Set PRIV_LEV for static
8270 * haifa-sched.c (add_dependence): Update the true dependency
8271 cache the first time we add a true dependence to the LOG_LINKS chain.
8273 Mon Oct 25 22:27:40 1999 Jim Kingdon <http://developer.redhat.com/>
8275 * fold-const.c (fold): Fix comment.
8277 Mon Oct 25 22:49:34 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
8279 * dbxout.c (lastfile, cwd, dbxout_type_method_1,
8280 dbxout_symbol_location, dbxout_symbol_name, dbxout_init,
8281 dbxout_start_new_source_file, dbxout_source_file,
8282 dbxout_source_line, dbxout_finish, dbxout_type_fields,
8283 dbxout_type_methods, dbxout_symbol, dbxout_prepare_symbol):
8285 (dbxout_types, dbxout_args, dbxout_symbol): Delete prototypes.
8286 (dbxout_symbol): Mark parameter `local' with ATTRIBUTE_UNUSED.
8287 (dbxout_block): Initialize variable `blocknum'.
8289 * dbxout.h (dbxout_init, dbxout_finish,
8290 dbxout_start_new_source_file, dbxout_source_file, dbxout_types,
8291 dbxout_args, dbxout_source_line): Constify a char*.
8293 * dwarfout.c (dwarf_tag_name, dwarf_attr_name,
8294 dwarf_stack_op_name, dwarf_typemod_name, dwarf_fmt_byte_name,
8295 dwarf_fund_type_name, name_attribute, stmt_list_attribute,
8296 low_pc_attribute, high_pc_attribute, body_begin_attribute,
8297 body_end_attribute, comp_dir_attribute, sf_names_attribute,
8298 src_info_attribute, mac_info_attribute, producer_attribute,
8299 lookup_filename, generate_macinfo_entry, fundamental_type_code,
8300 dwarfout_line, dwarfout_start_new_source_file, dwarfout_define,
8301 dwarfout_undef): Constify a char*.
8302 (add_incomplete_type, retry_incomplete_types): Add prototypes.
8304 * dwarfout.h (dwarfout_define, dwarfout_undef,
8305 dwarfout_start_new_source_file, dwarfout_line): Constify a char*.
8307 1999-10-25 Gavin Romig-Koch <gavin@cygnus.com>
8309 * config/mips/mips.h (MIPS_ISA_DEFAULT): Insure it's defined.
8310 (MULTILIB_ISA_DEFAULT): New.
8311 (MULTILIB_DEFAULTS): Use it.
8312 * config/mips/mips.c (): Remove the now unnecessary definition
8313 of MIPS_ISA_DEFAULT.
8314 * config/mips/elf64.h (MULTILIB_DEFAULTS): Remove the now
8315 unnecessary definition.
8317 Mon Oct 25 22:08:35 1999 Richard Earnshaw (rearnsha@arm.com)
8319 * arm.md (pic_load_addr): Add constraints to operand 1.
8321 1999-10-25 Bruce Korb <autogen@linuxbox.com>
8323 * fixinc/genfixes: Provide a means for specifying -D options to
8326 Mon Oct 25 00:42:35 1999 Jeffrey A Law (law@cygnus.com)
8328 * arm.c (arm_override_options): Correct initialization of
8329 arm_fast_multiply, arm_arch4, arm_arch5, arm_ld_sched,
8330 arm_is_strong, and arm_is_6_or_7.
8332 * loop.c (note_set_pseudo_multiple_uses_retval): New variable.
8333 (note_set_pseudo_multiple_uses): New function.
8334 (check_dbra_loop): Use not_set_pseudo_multiple_uses to determine
8335 if a pseudo set in the loop exit is used elsewhere.
8337 Sun Oct 24 20:52:40 1999 Mark Mitchell <mark@codesourcery.com>
8339 * i386.md (mulsi3): Tweak to work with SCO OSR5 COFF assembler.
8341 Sun Oct 24 21:02:46 1999 Richard Henderson <rth@cygnus.com>
8343 * i386.md (*lea_0): Collapse addsi_0, addsi_lea_[123] into
8344 a single load-address pattern.
8346 Sun Oct 24 19:33:24 1999 Mark P. Mitchell <mark@codesourcery.com>
8348 * haifa-sched.c (schedule_insns): Don't assign LUIDs differently
8349 depending on whether or not line-number notes are present.
8351 Sun Oct 24 20:29:59 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
8353 * cccp.c (progname, file_buf, default_include, include_file,
8354 macrodef, definition, hashval, wchar_type, user_label_prefix,
8355 directive, out_fname, if_stack, safe_write, index0, get_lintcmd,
8356 expand_to_temp_buffer, is_system_include, base_name,
8357 absolute_filename, read_name_map, open_include_file,
8358 record_control_macro, check_precompiled, check_preconditions,
8359 pcfinclude, pass_thru_directive, create_definition,
8360 check_macro_name, comp_def_part, collect_expansion,
8361 check_assertion, read_token_list, assertion_install,
8362 assertion_lookup, eval_if_expression, conditional_skip,
8363 validate_else, skip_quoted_string, quote_string, macarg1,
8364 error_from_errno, install, lookup, hashf, dump_defn_1,
8365 perror_with_name, pfatal_with_name, main, trigraph_pcp,
8366 check_white_space, rescan, handle_directive, monthnames,
8367 special_symbol, do_include, remap_include_file, write_output,
8368 arglist, do_assert, do_unassert, do_line, do_error, do_once,
8369 do_ident, do_sccs, do_xifdef, skip_if_group,
8370 output_line_directive, macroexpand, macarg, change_newlines,
8371 initialize_builtins, make_definition): Constify a char*.
8373 * pcp.h (stringdef): Likewise.
8375 Sun Oct 24 13:29:28 1999 Richard Henderson <rth@cygnus.com>
8377 * unroll.c (copy_loop_body): Examine SET_DEST of single_set
8380 Sun Oct 24 13:14:20 1999 Graham <grahams@rcp.co.uk>
8381 Richard Henderson <rth@cygnus.com>
8383 * alias.c: Include ggc.h.
8384 (reg_base_value, new_reg_base_value, reg_base_value_size): Make static.
8385 (record_set): Verify enough room in reg_base_value.
8386 (init_alias_analysis): Allocate reg_base_value with xcalloc.
8387 Register it as a GC root.
8388 (end_alias_analysis): Free reg_base_value. Remove it as a GC root.
8389 * Makefile.in (alias.o): Depend on ggc.h.
8391 * unroll.c (unroll_loop): Verify the insn before a barrier
8392 is a JUMP_INSN before checking JUMP_LABEL.
8394 Sun Oct 24 15:46:44 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
8396 * mips/bsd-5.h (ASM_OUTPUT_ASCII): Constify a char*.
8397 * mips/iris4.h (ASM_OUTPUT_ASCII): Likewise.
8398 * mips/mips-5.h (ASM_OUTPUT_ASCII): Likewise.
8399 * mips/mips.h (ASM_OUTPUT_ASCII): Likewise.
8400 * mips/svr3-5.h (ASM_OUTPUT_ASCII): Likewise.
8401 * mips/svr4-5.h (ASM_OUTPUT_ASCII): Likewise.
8403 Sun Oct 24 15:35:43 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
8405 * output.h (ctors_section, dtors_section, bss_section): Prototype.
8407 * alpha/alpha-interix.h (text_section): Delete prototype.
8408 * alpha/elf.h (text_section): Likewise.
8409 * arm/linux-elf.h (text_section): Likewise.
8410 * arm/linux-telf.h (text_section): Likewise.
8411 * c4x/c4x.h (text_section): Likewise.
8412 * dsp16xx/dsp16xx.h (bss_section): Likewise.
8413 * elfos.h (text_section): Likewise.
8414 * i386/aix386ng.h (text_section): Likewise.
8415 * i386/i386-interix.h (text_section): Likewise.
8416 * i386/sco5.h (text_section): Likewise.
8417 * i386/svr3gas.h (text_section): Likewise.
8418 * nextstep.h (text_section): Likewise.
8419 * psos.h (text_section): Likewise.
8420 * ptx4.h (text_section): Likewise.
8421 * svr3.h (text_section): Likewise.
8422 * svr4.h (text_section, ctors_section, dtors_section): Likewise.
8424 Sun Oct 24 15:20:59 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
8426 * final.c (peephole): Delete prototype.
8428 * gcse.c (process_insert_insn, pre_edge_insert): Add prototypes.
8429 (pre_insert_copies): Remove unused variable `bb'.
8431 * genrecog.c (debug_decision_0, debug_decision_list, main): Add
8434 * output.h (peephole): Add prototype.
8436 Sun Oct 24 11:35:30 1999 Mark P. Mitchell <mark@codesourcery.com>
8438 * config/mips/iris6.h (SUBTARGET_ASM_OPTIMIZING_SPEC): Define to
8441 Sat Oct 23 21:13:00 1999 Mark Mitchell <mark@codesourcery.com>
8443 * integrate.c (integrate_decl_tree): Tweak setting of DECL_CONTEXT
8444 for inlined declarations.
8446 Fri Oct 22 18:05:43 1999 Jeffrey A Law (law@cygnus.com)
8448 * arm.c (logical_binary_operator): New fucntion.
8449 * arm.h (logical_binary_operator): Declare it.
8450 (PREDICATE_CODES): Handle logical_binary_operator.
8451 * arm.md (anddi3, anddi_zesidi_di, anddi_sesdi_di): Use "#" for
8452 output constraints. Add appropriate splitters.
8453 (anddi_notdi_di, anddi_notzesidi_di, anddi_notsesidi_di): Likewise.
8454 (iordi3, iordi_zesidi_di, iordi_sesidi_di): Likewise.
8455 (xordi3, xordi_zesidi_di, xordi_sesidi_di): Likewise.
8457 Fri Oct 22 23:46:50 1999 Bernd Schmidt <bernds@cygnus.co.uk>
8459 * genoutput.c (struct operand_data): New elt eliminable.
8460 (output_operand_data): Write it.
8461 (scan_operands): Set it for MATCH_OPERAND, clear for other matchers.
8462 (compare_operands): Take it into account.
8463 * recog.h (struct insn_operand_data): New elt eliminable.
8464 * reload1.c (check_eliminable_occurrences, elimination_effects): New
8466 (old_asm_operands_vec, new_asm_operands_vec): Delete.
8467 (eliminate_regs): Move code that detects changes to elimination
8468 target regs into new function elimination_effects.
8469 Delete one #if 0 block.
8470 Abort for USE, CLOBBER, ASM_OPERANDS and SET.
8471 (eliminate_regs_in_insn): Return immediately for USEs, CLOBBERs,
8472 ADDR_VECs, ADDR_DIFF_VECs and ASM_INPUTs.
8473 Only call eliminate_regs for real operands of the insn, not for parts
8474 of its structure or parts matched by things like match_operator.
8475 Use elimination_effects and check_eliminable_occurrences. Use
8476 copy_insn to duplicate the pattern when not in the final pass.
8478 Fri Oct 22 09:03:44 1999 Mark Mitchell <mark@codesourcery.com>
8480 * i386.md: Add missing `y' modifiers to uses of fst, fstp, fld,
8483 1999-10-22 Bruce Korb <autogen@linuxbox.com>
8485 * fixinc/README: document the "mach" machine matching test
8486 * fixinc/fixfixes.c: Implement the #else/#endif label fix
8487 * fixinc/fixtests.c: Implement the #else/#endif label test
8488 * fixinc/inclhack.def: utilize these tests and fixes
8489 * fixinc/inclhack.sh: regen
8490 * fixinc/fixincl.x: regen
8491 * fixinc/fixincl.sh: regen
8493 Thu Oct 21 20:37:19 1999 Jeffrey A Law (law@cygnus.com)
8495 * Makefile.in (cse.o): Depend on hashtab.h, not splay-tree.h. Also
8498 Thu Oct 21 20:30:19 1999 Matthias Klose <doko@debian.org>
8500 * gcc.1: Document exit codes.
8502 Thu Oct 21 12:49:05 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
8504 * calls.c: Include tm_p.h later, so everything we need is defined.
8506 * function.c: Likewise.
8508 * except.c: Include tm_p.h.
8510 * sparc.c: Likewise.
8511 (dwarf2out_cfi_label): Don't prototype.
8512 (check_return_regs, epilogue_renumber,
8513 ultra_cmove_results_ready_p, ultra_fpmode_conflict_exists,
8514 ultra_find_type, ultra_build_types_avail, ultra_flush_pipeline,
8515 ultra_rescan_pipeline_state, set_extends, ultra_code_from_mask,
8516 ultra_schedule_insn): Add static prototype.
8517 (data_segment_operand, text_segment_operand): Call itself with the
8518 proper number of arguments.
8519 (sparc_flat_save_restore, sparc_v8plus_shift): Constify a char*.
8521 * sparc.h: Move all declarations to sparc-protos.h.
8522 (SELECT_RTX_SECTION): Pass a missing MODE argument to
8525 * sparc/sysv4.h (SELECT_RTX_SECTION): Likewise.
8527 * config/svr4.h (text_section, ctors_section, dtors_section): Add
8529 (ASM_OUTPUT_SECTION_NAME, UNIQUE_SECTION,
8530 ASM_FINISH_DECLARE_OBJECT, ASM_OUTPUT_LIMITED_STRING,
8531 ASM_OUTPUT_ASCII): Constify a char*.
8533 * sparc-protos.h: New file for sparc prototypes.
8535 Thu Oct 21 12:23:40 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
8537 * function.c (record_insns, contains): Always declare and define.
8538 (record_insns): Mark with ATTRIBUTE_UNUSED.
8540 Thu Oct 21 13:03:49 1999 Jonathan Larmour <jlarmour@cygnus.co.uk>
8542 * config/arm/telf.h (ASM_OUTPUT_SECTION_NAME): Add %nobits option
8543 to .section when outputting a .bss section to deal with multiple
8544 .bss input sections (as happens with -fdata-sections)
8545 Also output %progbits, not @progbits so the assembler doesn't treat as
8547 * config/arm/unknown-elf.h (ASM_OUTPUT_SECTION_NAME): Likewise
8549 * config/arm/lib1funcs.asm (_call_via_rX): Allow compilation of
8550 thumb parts even when building with non-thumb CPUs, by forcing
8553 Wed Oct 20 22:57:58 1999 Jeffrey A Law (law@cygnus.com)
8555 * sparc.md (movsf_const_intreg): If splitting, length must be > 1.
8556 (movdf_const_intreg_sp64): Similarly.
8558 * local-alloc.c (update_equiv_regs): Check the correct insn
8559 for pre-existing REG_EQUIV notes.
8561 Wed Oct 20 20:41:46 1999 Mark Mitchell <mark@codesourcery.com>
8563 * cse.c (cse_end_of_basic_block): Don't return the end of a basic
8564 block reached by a branch if we're not going to actually process
8567 Wed Oct 20 15:18:42 1999 Jim Wilson <wilson@cygnus.com>
8569 * integrate.c (integrate_decl_tree): Set DECL_CONTEXT to 0 if this is
8570 a local extern function declaration.
8572 Wed Oct 20 13:56:01 1999 Richard Henderson <rth@cygnus.com>
8574 * i386.c (ix86_expand_prologue): Properly wrap USE around
8575 reg for CALL_INSN_FUNCTION_USAGE.
8577 Thu Oct 14 18:51:37 1999 Andrew Haley <aph@cygnus.com>
8579 * config/mips/mips.md (movdf_internal1a): Allow floating-point
8580 move between GP_REGs.
8582 Wed Oct 20 15:36:11 1999 Andrew Haley <aph@cygnus.com>
8584 * config/arm/thumb.h (GO_IF_LEGITIMATE_ADDRESS): Take account of
8585 the mode size when finding out if an offset is legal.
8587 Wed Oct 20 06:26:58 1999 Richard Henderson <rth@cygnus.com>
8589 * basic-block.h (PROP_*): Move constants from ...
8591 (compute_bb_for_insn): Free the array before reallocating.
8592 (update_life_info): New arg PROP_FLAGS; pass on to propagate_block.
8593 (allocate_reg_life_data): Reset all reg variables collected by
8595 (get_block_head_tail): Don't convert from bb to block.
8596 (get_bb_head_tail): New. Update all callers of get_block_head_tail.
8597 (find_insn_reg_weight): Take block not bb.
8598 (schedule_block): Don't set block num for moved insns.
8599 (schedule_region): Don't update_life_info or find_insn_reg_weight.
8600 (schedule_insns): Do it here instead.
8601 * combine.c (combine_instructions): Invoke compute_bb_for_insn
8602 before update_life_info.
8603 * recog.c (split_all_insns, peephole2_optimize): Update for
8604 new arg to update_life_info.
8605 * rtlanal.c (remove_note): Cope with NULL note.
8606 * toplev.c (rest_of_compilation): Don't invoke recompute_reg_usage
8609 Wed Oct 20 10:46:41 1999 Richard Earnshaw (rearnsha@arm.com)
8611 * jump.c (jump_optimize_1): More accurately detect casesi insns.
8613 * flow.c (merge_blocks_move_predecessor_nojumps): Re-order the basic
8614 block records so that merge_blocks_nomove will clean up correctly.
8615 (split_edge): Handle casesi insns.
8617 * gcc-page.c: Try MAP_ANON if we don't have MAP_ANONYMOUS.
8619 Tue Oct 19 23:43:50 1999 Jeffrey A Law (law@cygnus.com)
8621 * pa.md (call, call_value): Do not emit a blockage after restoring
8624 Tue Oct 19 17:22:39 1999 Mark Mitchell <mark@codesourcery.com>
8626 * c-typeck.c (c_expand_asm_operands): Fix typo.
8628 Tue Oct 19 18:42:58 1999 Bernd Schmidt <bernds@cygnus.co.uk>
8630 * arm.c (fpu_rhs_operand): Verify modes.
8631 (fpu_add_operand): Likewise.
8632 (di_operand): Likewise.
8633 (soft_df_operand): Likewise.
8635 Tue Oct 19 15:26:11 1999 Richard Earnshaw (rearnsha@arm.com)
8637 * arm.c (arm_return_in_memory): APCS rules state that the elements
8638 of a structure returned in a register must be 'integer-like'.
8640 1999-10-19 Bruce Korb <autogen@linuxbox.com>
8642 * fixinc/Makefile.in: Change the generation rules to run `genfixes'
8643 in the source tree when the generated targets are out of date
8644 * fixinc/genfixes: Alter it to run individual fixes for make.
8645 * fixinc/README: rewrite
8646 * fixinc/inclhack.def: moved initial comments to README
8648 Tue Oct 19 14:01:34 1999 Nick Clifton <nickc@cygnus.com>
8650 * toplev.c (main): Do not generate an error message if an
8651 unrecognised command line switch is recognisable by another
8652 language. If extra_warnings are enabled, then generate a
8653 warning message instead.
8655 Tue Oct 19 11:41:12 1999 Mumit Khan <khan@xraylith.wisc.edu>
8657 * c-pragma.h (PRAGMA_INSERT_ATTRIBUTES): Delete macro.
8658 (insert_pack_attributes): Delete prototype.
8660 * c-pragma.c (default_alignment): New static variable.
8661 (push_alignment): Initialize to current effective alignment.
8662 (pop_alignment): Use to set new alignment.
8663 (insert_pack_attributes): Delete function.
8664 (handle_pragma_token): Set default_alignment as well each time
8665 a #pragma pack(<n>) is encountered.
8667 Tue Oct 19 02:03:00 1999 Jeffrey A Law (law@cygnus.com)
8669 * reg-stack.c (stack_result): Aggregates are not returned in
8672 Tue Oct 19 01:26:48 1999 Alasdair Baird <alasdair@wildcat.demon.co.uk>
8674 * fold-const.c (fold): Fix thinko in x+(-0) -> x transformation.
8676 Mon Oct 18 15:19:41 1999 Richard Henderson <rth@cygnus.com>
8678 * basic-block.h (set_block_num): Declare.
8679 * flow.c (update_life_info): Don't call compute_bb_for_insn
8680 or free_basic_block_vars.
8681 * haifa-sched.c (remove_dependence): Conditionalize on HAVE_cc0.
8682 (insn_orig_block): Remove.
8683 (INSN_BLOCK): Remove. Update all callers to use BLOCK_NUM.
8684 (schedule_block): Keep BLOCK_NUM up-to-date.
8685 (schedule_insns): Use compute_bb_for_insn.
8686 * recog.c (split_all_insns): Likewise.
8687 (peephole2_optimize): Likewise.
8689 Mon Oct 18 18:50:51 1999 Andreas Schwab <schwab@suse.de>
8691 * config/m68k/m68k.h (INITIAL_FRAME_POINTER_OFFSET): Add one word
8692 if the pic register is used.
8694 Mon Oct 18 02:38:46 1999 Bernd Schmidt <bernds@cygnus.co.uk>
8696 * c-decl.c (pushdecl): Use TYPE_CONTEXT rather than TREE_PERMANENT.
8697 (finish_decl): Duplicate test for TREE_ASM_WRITTEN in else branch of
8698 if that tests TREE_PERMANENT.
8700 Mon Oct 18 01:41:35 1999 Jeffrey A Law (law@cygnus.com)
8702 * cse.c (invalidate_for_call): Do not remove memory references from
8703 the table here. It's handled elsewhere.
8705 * haifa-sched.c (add_dependence): Protect references to the
8706 true dependency cache with #ifdef INSN_SCHEDULING.
8707 (remove_dependence): Similarly.
8709 * mn10200.md (outline_epilogue_jump): Embed a (return) to indicate
8710 to the cfg code that this is a return instruction.
8711 * mn10300.md (return_internal): Similarly.
8713 * combine.c (get_last_value): If the last set of a register
8714 is after subst_low_cuid, then we can not use it to determine
8715 the register's last value.
8717 Sun Oct 17 11:02:52 1999 Mark Mitchell <mark@codesourcery.com>
8719 * Makefile.in: Back out previous change.
8721 Sun Oct 17 15:22:50 1999 Jeffrey A Law (law@cygnus.com)
8723 * pa.c (move_operand): Reject (lo_sum (reg) (unspec ...)).
8725 * haifa-sched.c (add_dependence): Only check/update the cache
8727 (remove_dependence): Likewise.
8728 (schedule_insns): Only create the true_dependency_cache if the
8729 average number of instructions in a basic block is very large.
8731 Sun Oct 17 11:02:52 1999 Mark Mitchell <mark@codesourcery.com>
8733 * Makefile.in (ggc-common.o): Depend on genrtl.h.
8734 (ggc-simple.o): Likewise.
8735 (ggc-page.o): Likewise.
8737 Sun Oct 17 02:09:50 1999 Andrew MacLeod <amacleod@cygnus.com>
8739 * basic-block.h (pre_edge_lcm, pre_edge_rev_lcm, compute_available):
8740 Prototype for exported functions.
8741 (pre_lcm, pre_rev_lcm): Remove prototypes.
8742 * gcse.c (compute_ae_kill): Add ae_gen and ae_kill as parameters.
8743 (compute_available): Move to lcm.c, and change parameter order.
8744 (one_classic_gcse_pass): Call compute_ae_kill with parameters.
8745 (pre_insert, s_preds, s_succs, num_preds, num_succs): Delete.
8746 (gcse_main): No longer call compute_preds_succs. Rebuild the
8747 set table after reach pre pass.
8748 (pre_insert_map, pre_delete_map, edge_list): New.
8749 (alloc_pre_mem): Allocate edge vectors.
8750 (free_pre_mem): Delete edge vectors.
8751 (compute_pre_data): Call new edge based lcm routines.
8752 (process_insert_insn): New function.
8753 (insert_insn_end_bb): Use it.
8754 (pre_edge_insert): New function.
8755 (pre_insert_copy_insn): Formatting fixes. Update BLOCK_END as
8757 (pre_insert_copies): Revamp using new edge based lcm outputs.
8758 (pre_delete): Likewise.
8759 (one_pre_gcse_pass): Insert & remove fake edges to the exit
8761 (compute_code_hoist_vbeinout): New new edge based routines.
8762 * lcm.c: Remove all the old LCM functions. Replace with new ones
8763 that work with the new cfg datastructures and work with edges
8766 Sun Oct 17 00:44:17 1999 Bernd Schmidt <bernds@cygnus.co.uk>
8768 * reload.h (struct reload): Add new fields "mode" and "nregs".
8769 * reload1.c: Change all occurrences of reload_mode and reload_nregs
8770 to reference the "mode" and "nregs" field within struct reload.
8772 Sat Oct 16 21:50:28 1999 Jeffrey A Law (law@cygnus.com)
8774 * haifa-sched.c (true_dependency_cache): New.
8775 (add_dependence): Use the true dependency cache to avoid expensive
8776 walks down the LOG_LINKS dependency list. Add entries to the
8778 (remove_dependence): Remove entries from the true dependency cache
8780 (schedule_insns): Allocate and initialize and free the true
8783 * haifa-sched.c (schedule_insns): Do not remove inter-block
8784 dependencies anymore.
8786 Sat Oct 16 11:19:52 1999 Richard Henderson <rth@cygnus.com>
8788 * i386/t-cygwin (winnt.o): Depend on RTL_H and TREE_H.
8789 * i386/t-winnt: Likewise.
8791 Sat Oct 16 11:11:54 1999 Richard Henderson <rth@cygnus.com>
8793 * ggc-page.c (init_ggc): Work around SunOS unaligned mmap bug.
8795 1999-10-16 Manfred Hollstein <mhollstein@cygnus.com>
8797 * Makefile.in (LANGUAGES): Omit "proto".
8798 (clean): Remove stale comment about removing unprotoize.c.
8800 Sat Oct 16 11:29:14 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
8802 * protoize.c (safe_read, safe_write): Avoid the gcc extension of
8803 using arithmetic on void pointers.
8805 Sat Oct 16 02:48:22 1999 Jeffrey A Law (law@cygnus.com)
8807 * haifa-sched.c (compute_block_forward_dependencies): Only check
8808 for notes, deleted insns and duplicates if ENABLE_CHECKING is defined.
8810 Sat Oct 16 00:07:01 1999 Richard Henderson <rth@cygnus.com>
8812 * gcse.c (hash_expr_1): Add in MEM_ALIAS_SET.
8813 (expr_equiv_p): Reject memories with different alias sets.
8815 Fri Oct 15 15:17:29 1999 Greg McGary <gkm@gnu.org>
8817 * flags.h (flag_bounds_check, flag_bounded_pointers): New extern decls.
8818 * toplev.c (flag_bounds_check, flag_bounded_pointers): New flags.
8819 (f_options): Add "bounded-pointers" and "bounds-check" entries.
8820 * c-lang.c (lang_init_options): Set flag_bounds_check as "unspecified".
8821 (lang_init): Set default for flag_bounds_check if still "unspecified".
8823 Sat Oct 16 13:42:29 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
8825 * config/c4x/c4x.md (HF mode patterns): Add missing modes.
8827 Sat Oct 16 13:37:46 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
8829 * config/c4x/c4x.md (movstrqi_small): Utilise parallel move
8832 Sat Oct 16 13:26:47 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
8834 * config/c4x/c4x.md (*db_noclobber,
8835 *decrement_and_branch_until_zero_noclobber): New patterns and
8836 associated splitters.
8838 Sat Oct 16 13:13:15 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
8840 * config/c4x/c4x.md (parallel instruction patterns): Rework
8841 constraints to keep reload happy.
8843 Sat Oct 16 13:03:16 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
8845 * config/c4x/c4x.md (*absqi2_noclobber, *negqi2_noclobber,
8846 *one_cmplqi2_noclobber, *subqi3_noclobber, *andqi3_255_noclobber,
8847 *andqi3_65535_noclobber, *andnqi3_noclobber, *xorqi3_noclobber):
8848 Add new patterns and associated post-reload splitters.
8850 Sat Oct 16 12:42:12 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
8852 * config/c4x/c4x.c (c4x_emit_libcall): Use ggc_alloc_string.
8854 Sat Oct 16 12:34:44 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
8856 * config/c4x/c4x.c (c4x_rptb_insert): Emit rpts_top pattern
8858 * config/c4x/c4x.md (rpts_top): New pattern and splitter.
8860 Sat Oct 16 12:26:30 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
8862 * config/c4x/c4x.c (src_operand): Check SYMBOL_REF and LABEL_REF
8865 Fri Oct 15 17:02:09 1999 Jeffrey A Law (law@cygnus.com)
8867 * pa.c (move_operand): Rely on memory_address_p to determine the
8868 validity of non-indexed memory addresses.
8869 * pa.h (GO_IF_LEGITIMATE_ADDRESS): Allow LO_SUM with a symbolic
8870 operand in DFmode and SFmode when generating PA2.0 code.
8872 Fri Oct 15 14:25:19 1999 Richard Henderson <rth@cygnus.com>
8874 * print-rtl.c (print_rtx): Limit last 'u' change to LABEL_REF.
8876 Fri Oct 15 13:48:45 1999 Richard Henderson <rth@cygnus.com>
8878 * mips.c (function_prologue): Fix argument types.
8879 * mips.md (casesi): Use emit_jump_insn for casesi_internal.
8880 (casesi_internal): Write to the scratch register.
8882 1999-10-15 11:16 -0700 Zack Weinberg <zack@bitmover.com>
8884 * cppexp.c (cpp_parse_escape): Make static. Change second arg
8886 (parse_charconst): Delete unnecessary cast when calling
8888 (cpplib.h): Kill prototype of cpp_parse_escape.
8890 Fri Oct 15 11:02:46 1999 Richard Henderson <rth@cygnus.com>
8892 Based on patch from Michael Gschwind <mikeg@watson.ibm.com>:
8893 * unroll.c (unroll_loop): Cast return value of alloca.
8894 * i370/i370.c: Include function.h and toplev.h.
8895 (i370_label_scan): Remove c++ commented abort.
8896 * i370/i370.h (HANDLE_PRAGMA): Takes three arguments.
8897 (ASM_OUTPUT_LABELREF): Fix TOUPPER/else broken 16 Sept.
8898 * i370/xm-i370.h (HOST_BITS_PER_LONGLONG): Define.
8899 * i370/xm-mvs.h, i370/xm-oe.h: Likewise.
8901 Fri Oct 15 03:01:01 1999 Loren Rittle <ljrittle@acm.org>
8903 * config/t-freebsd: Do not override USER_H.
8904 * ginclude/stddef.h: Generalize check for _MACHINE_ANSI_H_.
8906 Fri Oct 15 02:37:28 1999 Alastair J. Houghton <ajh8@doc.ic.ac.uk>
8907 Mumit Khan <khan@xraylith.wisc.edu>
8909 * c-parse.in (component_decl): Support anonymous struct/union.
8911 * c-parse.y: Regenerate.
8912 * c-parse.c: Likewise.
8913 * objc/objc-parse.y: Likewise.
8914 * objc/objc-parse.c: Likewise.
8915 * c-decl.c (finish_struct): Don't sort the fields.
8916 (field_decl_cmp): Delete unused function.
8918 Fri Oct 15 01:20:52 1999 Richard Henderson <rth@cygnus.com>
8920 * sparc.md (movsf_const_intreg): Revert last constraint change.
8921 (movdf_const_intreg_sp32): Likewise.
8923 Fri Oct 15 01:47:51 1999 Vladimir Makarov <vmakarov@loony.cygnus.com>
8925 * cse.c: Include hashtab.h instead of splay-tree.h
8926 (struct cse_reg_info): No longer use variant union. Add new
8927 field "regno". All references changed to avoid union.
8928 (cse_reg_info_used_list, cse_reg_info_used_list_end): New variables.
8929 (free_cse_reg_info): Remove.
8930 (hash_cse_reg_info, cse_reg_info_equal_p): New functions.
8931 (get_cse_reg_info): Revamp to use expandable hash tables instead
8932 of splay trees. Initialize new fields in cse_reg_info structure.
8933 (new_basic_block): Similarly.
8935 Thu Oct 14 23:51:56 1999 Richard Henderson <rth@cygnus.com>
8937 * genrecog.c (message_with_line): Prototype.
8938 (validate_pattern): Pass along the set for the dest, not a flag.
8939 Fix non-lvalue message. Don't warn for VOIDmode SET_DEST of CALL.
8940 Check for PC/CC0 as sources.
8941 (nodes_identical): Check for children position match before
8942 allowing the combination.
8944 * rtl.c (read_rtx): Track line number across \\\n.
8946 Thu Oct 14 23:50:25 1999 Richard Henderson <rth@cygnus.com>
8948 * mips.h (SPECIAL_MODE_PREDICATES): New.
8949 * mips.md (*) Use nonimmediate_operand not general_operand for outputs.
8950 (movdi+1, movsi+1): Add output reload constraint.
8951 (casesi_internal): Likewise. Fix commentary.
8952 (return_internal): Use pmode_register_operand.
8954 Thu Oct 14 23:19:34 1999 Richard Henderson <rth@cygnus.com>
8956 * 1750a.md (movstrqi): Add missing output reload constraint.
8957 (call_value): Likewise.
8958 * a29k.md (cpxxx patterns): Add missing match_operator mode.
8959 (jmpfdec): Add missing inout reload constraint.
8960 * elxsi.md (addsi patterns): Add missing output reload constraint.
8961 (move from sp): Use @ alternates.
8962 (call_value): No constraint on output.
8963 * fr30.md (movsi_pop): Add missing output reload constraint.
8964 (movsf_constant_store): Likewise.
8965 (splits): Remove constraints.
8966 (subsi3): Add missing mode.
8967 * i370.md (cmpstrsi+1): Add missing output reload constraint.
8968 (call_value): Likewise.
8969 * i960.md (cmpinc/cmpdec patterns): Add inout reload constraints.
8970 * m32r.h (PREDICATE_CODES): Add seth_add3_operand.
8971 * m32r.md (movsicc_internal): Add output reload constraint.
8972 (movstrsi_internal): Add inout reload constraints.
8973 * m88k.h (reg_names): Don't declare.
8974 (SPECIAL_MODE_PREDICATES): New.
8975 * m88k.md (*): Use register_operand not reg_or_0_operand
8977 * mn10200.h (PREDICATE_CODES): New.
8978 * ns32k.md (ffs pattern): Add output reload constraint.
8979 * pdp11.md (sob pattern): Add inout reload constraint.
8980 * sh.md (splits): Remove constraints.
8981 (indirect_jump_scratch, fpu_switch): Add output reload constraint.
8982 * v850.md (pattern_is_ok_for_epilogue): Likewise.
8983 * vax.md (jgequ pattern): Add inout reload constraint.
8985 Fri Oct 15 00:05:00 1999 Jeffrey A Law (law@cygnus.com)
8987 * configure.in (djgpp): Revert previous patch.
8988 * configure: Rebuit.
8989 * config/i386/djgpp.h: Revert previous patch.
8991 Fri Oct 15 00:00:24 1999 Loren J. Rittle <ljrittle@acm.org>
8993 * fixinc/inclhack.def: Restore patch lost during last merge of
8994 "no_bogosity" branch.
8995 * fixinc/inclhack.sh, fixinc/fixincl.x: Rebuilt.
8997 Thu Oct 14 23:57:56 1999 Gavin Romig-Koch <gavin@cygnus.com>
8999 * fixincludes: Add a HPUX 11 fix for inttypes.h.
9000 * fixinc/inclhack.def: Same.
9001 * fixinc/inclhack.sh, fixinc/fixincl.sh, fixinc/fixincl.x: Regenerate.
9003 Thu Oct 14 22:51:55 1999 Richard Henderson <rth@cygnus.com>
9005 * alpha.h (GO_IF_LEGITIMATE_SIMPLE_ADDRESS): Accept ADDRESSOF
9006 as the base of a PLUS.
9008 Fri Oct 15 18:36:07 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
9010 * config/c4x/c4x.md: Define mode for remaining unspec operators.
9011 * config/c4x/c4x.c (dst_operand): Use nonimmediate_operand.
9013 Thu Oct 14 22:14:23 1999 Richard Henderson <rth@cygnus.com>
9015 * pa.md (post_stw+1): Use pmode_register_operand.
9016 (dcacheflush, icacheflush): Likewise.
9018 * i386.md (movstricthi_1): Allow r/r.
9020 Thu Oct 14 19:44:08 1999 Jan Hubicka <hubicka@freesoft.cz>
9022 * fold-const.c (fold): Convert (or (not arg0) (not arg1))
9023 to (not (and (arg0) (arg1))). Similary for and.
9025 * fold-const.c (fold): Move bit_rotate code to the EXPR_PLUS case,
9026 fallthrough to associate code.
9027 Convert XOR to OR in code like (a&c1)^(a&c2) where c1 and c2 don't have
9030 * combine.c (simplify_logical): Convert XOR to IOR if operands have
9031 no bits in common; remove XOR to ROTATE conversion.
9033 Fri Oct 15 17:40:11 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
9035 * config/c4x/c4x.h (c4x_va_start, c4x_va_arg): Declare.
9037 Fri Oct 15 17:27:17 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
9039 * config/c4x/c4x.c (dst_operand): New.
9040 (PREDICATE_CODES): Update.
9041 * config/c4x/c4x.h (dst_operand): Declare it.
9042 * config/c4x/c4x.md: Define mode for each unspec usage.
9043 (move patterns): Use dst_operand predicate instead of src_operand.
9044 (movqi_update, movqf_update): Delete.
9046 Thu Oct 14 18:48:54 1999 Richard Henderson <rth@cygnus.com>
9048 * recog.c (pmode_register_operand): New.
9049 * recog.h: Declare it.
9050 * genrecog.c (pred_codes): Likewise.
9051 (special_mode_pred_table): Likewise.
9052 (validate_pattern): Don't warn no mode for address_operand.
9054 * print-rtl.c (print_rtx) [LABEL_REF]: Only do full subexpression
9055 if the operand is not insn-like.
9057 Thu Oct 14 19:38:42 1999 Jeffrey A Law (law@cygnus.com)
9058 Sylvian Pion <Sylvain.Pion@sophia.inria.fr>
9060 * fold-const.c (fold): Handle more simplifications allowed by IEEE.
9062 Thu Oct 14 17:30:14 1999 Richard Henderson <rth@cygnus.com>
9064 * sparc.md (*): Use {nonimmediate,register}_operand as appropriate
9065 instead of general_operand in a SET_DEST. Use const_double_operand
9066 instead of an explicit test against CONST_DOUBLE.
9067 (movsf_const_lo): Add missing register mode.
9068 (goto_handler_and_restore): Add auxiliary test for Pmode.
9069 (flush): Adjust to use address_operand.
9070 (return_sf_no_fpu): Add missing output constraint.
9072 Thu Oct 14 17:21:26 1999 Richard Henderson <rth@cygnus.com>
9074 * rs6000.md (call_value_indirect_aix32): Use wildcard match_operand
9075 for call return value.
9076 (call_value_indirect_aix64, call_value_indirect_nt): Likewise.
9078 Thu Oct 14 13:54:25 1999 Jason Merrill <jason@yorick.cygnus.com>
9080 * toplev.c (main): Only warn about options for other languages.
9081 * collect2.c (main): Pass -w to sub-gcc.
9083 Thu Oct 14 16:27:50 1999 Richard Henderson <rth@cygnus.com>
9085 * flow.c (propagate_block): Add call-clobbered registers to
9088 * flow.c (propagate_block): Use free_EXPR_LIST_list instead of
9089 zapping mem_set_list.
9090 (invalidate_mems_from_autoinc): Use free_EXPR_LIST_node.
9091 (mark_set_1, mark_used_regs): Likewise.
9093 Thu Oct 14 10:51:49 1999 Richard Henderson <rth@cygnus.com>
9095 * m68k.md (zero_extendsidi2): Add missing output reload constraint.
9097 Wed Oct 13 00:09:18 1999 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
9099 * invoke.texi: Label -Wbad-function-cast, -Wmissing-prototypes,
9100 -Wnested-externs, -Wstrict-prototypes, and -Wtraditional as C only
9101 options. Also add a new item "C-only Warning Options" to the
9104 1999-10-14 Gavin Romig-Koch <gavin@cygnus.com>
9106 * libgcc2.c (__do_global_dtors): Protect __deregister_frame_info
9107 from multiple calls.
9109 Thu Oct 14 04:54:54 1999 Richard Henderson <rth@cygnus.com>
9111 * i386.md (call value patterns): Move to the end of the file.
9112 (prologue_set_got, prologue_get_pc): Use register_operand for op 0.
9114 1999-10-14 Mark Elbrecht <snowball3@bigfoot.com>
9116 * configure.in (djgpp configuration): Define extra_objects..
9117 * configure: Rebuilt.
9118 * config/i386/djgpp.h (CTORS_SECTION_ASM_OP): Define.
9119 (DTORS_SECTION_ASM_OP): Define.
9120 (INIT_SECTION_ASM_OP): Define.
9121 (FINI_SECTION_ASM_OP): Define.
9122 (DATA_SECTION_ASM_OP): Define.
9123 (TEXT_SECTION_ASM_OP): Define.
9124 (EH_FRAME_SECTION_ASM_OP): Define.
9125 (LINK_COMMAND_SPEC): Remove -Tdjgpp.djl.
9126 (STARTFILE_SPEC): Add crtbegin.o.
9127 (ENDFILE_SPEC): Define and add crtend.o. Move argument -Tdjgpp.djl
9128 to here from LINK_COMMAND_SPEC.
9129 (DO_GLOBAL_CTORS_BODY): Define.
9130 (CRTSTUFF_USE_FINI_SECTION): Define
9131 (HAS_INIT_SECTION): Delete.
9133 Thu Oct 14 05:08:14 1999 Andreas Schwab <schwab@suse.de>
9135 * Makefile.in (all.cross): Depend on xcpp$(exeext).
9137 Thu Oct 14 04:00:40 1999 Richard Henderson <rth@cygnus.com>
9139 * pa.h (PREDICATE_CODES): New.
9141 * genrecog.c (validate_pattern): Condense the destination
9144 Thu Oct 14 03:23:08 1999 Richard Henderson <rth@cygnus.com>
9146 * alpha.md (call-1): Supply missing mode for operator.
9147 (*): Add missing output reload constraints. Remove constraints
9150 * i386.h (SPECIAL_MODE_PREDICATES): New.
9151 * i386.md (movstricthi_1): Use nonimmediate_operand for op 0.
9152 (movqi_1, movdi_1, movdi_2, some splits): Likewise.
9153 (addsi_lea_3): Add missing mode for op 3.
9154 (prologue_set_got, prologue_get_pc): Add missing modes.
9155 (*) Add missing output reload constraints.
9157 Thu Oct 14 03:59:57 1999 Stephane Carrez <stcarrez@worldnet.fr>
9159 * stor-layout.c (layout_union): Use HOST_WIDE_INT for const_size;
9160 check for member bit-size overflow and use var_size if it occurs.
9161 (layout_record): Use bitsize_int() to define the type size in bits.
9162 Likewise for computation and assignment to DECL_FIELD_BITPOS.
9163 (layout_decl): Likewise when assigning to DECL_SIZE.
9165 Thu Oct 14 02:57:05 1999 Richard Henderson <rth@cygnus.com>
9167 * genrecog.c (validate_pattern): Typo last change. Verify
9168 that output operands have output reloads.
9170 Thu Oct 14 01:49:54 1999 Richard Henderson <rth@cygnus.com>
9172 * genrecog.c (special_mode_pred_table): New.
9173 (NUM_SPECIAL_MODE_PREDS): New.
9174 (find_operand): New.
9175 (validate_pattern): New argument `insn'. Warn for assignment to
9176 any predicate accepting non-lvalues. Conditionaly warn for
9177 match_operand without a mode. Try much harder to match source
9178 and destination modes on a set.
9179 * tm.texi (SPECIAL_MODE_PREDICATES): Document.
9181 Thu Oct 14 02:54:13 1999 Jeffrey A Law (law@cygnus.com)
9183 * fold-const.c (fold): Detect rotates built from BIT_XOR_EXPRs.
9185 Thu Oct 14 02:18:19 1999 Marc Espie <espie@cvs.openbsd.org>
9187 * combine.c (simplify_logical): Recognize xor pattern that encodes
9190 Wed Oct 13 23:23:45 1999 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
9192 * rs6000.c (expand_block_move): Use INTVAL, not XINT to access
9195 Wed Oct 13 21:47:18 1999 Richard Henderson <rth@cygnus.com>
9197 * ggc-page.c (MAP_FAILED): Provide default.
9199 Wed Oct 13 21:41:59 1999 Richard Henderson <rth@cygnus.com>
9201 * sparc.c (symbolic_operand): Verify mode; don't accept CONST_DOUBLE.
9202 * sparc.h (PREDICATE_CODES): Update.
9204 Wed Oct 13 21:18:17 1999 Richard Henderson <rth@cygnus.com>
9206 * alpha.c (some_ni_operand): New.
9207 * alpha-protos.h: Declare it.
9208 * alpha.h (PREDICATE_CODES): Update.
9209 * alpha.md (sXaddq reload insns): Use some_ni_operand
9210 for SET_DEST instead of some_operand.
9212 Wed Oct 13 21:04:45 1999 Richard Henderson <rth@cygnus.com>
9213 Jim Wilson <wilson@cygnus.com>
9215 * genrecog.c (maybe_both_true_2): Don't compare modes of
9217 (process_tree): Elide peephole2_insns. Invoke simplify_tests
9218 after find_afterward.
9219 (debug_decision_1): Dump next and afterward codes.
9221 Wed Oct 13 20:35:16 1999 Richard Henderson <rth@cygnus.com>
9223 * rtl.c (dump_and_abort): Remove.
9224 (fatal_with_file_and_line): New.
9225 (fatal_expected_char): New.
9226 (read_rtx_lineno, read_rtx_filename): New.
9227 (read_skip_spaces): Track line number.
9228 (read_name): Use fatal_with_file_and_line.
9229 (read_rtx): Use fatal_expected_char. Track line number.
9230 * rtl.h (read_rtx_filename, read_rtx_lineno): Declare.
9232 * print-rtl.c (print_rtx): Don't special case LABEL_REF argument
9233 if it isn't a CODE_LABEL.
9235 * genattr.c (main): Set read_rtx_filename.
9236 * genattrtab.c (main): Likewise.
9237 * gencodes.c (main): Likewise.
9238 * genconfig.c (main): Likewise.
9239 * genemit.c (main): Likewise.
9240 * genextract.c (main): Likewise.
9241 * genflags.c (main): Likewise.
9242 * genopinit.c (main): Likewise.
9243 * genoutput.c (main): Likewise.
9244 * genpeep.c (main): Likewise.
9246 * genrecog.c (decision_test.u.insn): Add `lineno'.
9247 (pattern_lineno, error_count): New variables.
9248 (message_with_line): New.
9249 (add_to_sequence): Break out checking code to ...
9250 (validate_pattern): ... here. Detect SET_DEST matching CONST_INT.
9251 (merge_insn): Use message_with_line.
9252 (make_insn_sequence): Use validate_pattern. Record insn lineno.
9253 (main): Set read_rtx_filename, pattern_lineno. Exit early on error.
9255 Wed Oct 13 22:01:35 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
9257 * expr.c (store_constructor): Clear union if constructor is empty.
9259 Wed Oct 13 15:19:04 1999 Jim Wilson <wilson@cygnus.com>
9261 * config/rs6000/sysv4.h (CC1_SPEC): Fix errors from Jan 19 change.
9262 Add !endian checks. Change %{...} to %(...).
9264 Wed Oct 13 13:30:34 1999 Richard Henderson <rth@cygnus.com>
9266 * i386.md (*addsi3_cc): Renamed from addcsi3.
9267 (*addsi3_carry): Renamed from addxsi3.
9268 (*subsi3_cc): Renamed from subcsi3.
9269 (*subsi3_carry): Renamed from subxsi3.
9270 (*xorqi_cc_1): Renamed from xorcqi_1.
9271 (xorqi_cc_ext_1): Renamed from xorcqi_ext_1.
9272 * i386.c (ix86_expand_fp_compare): Update for xorqi_cc_ext_1.
9274 Wed Oct 13 13:10:46 1999 Richard Henderson <rth@cygnus.com>
9276 * Makefile.in (ggc-common.o): Depend on RTL_H not RTL_BASE_H.
9277 (ggc-simple.o, ggc-page.o, ggc-none.o, ggc-callbacks.o): Likewise.
9279 1999-10-13 Brendan Kehoe <brendan@cygnus.com>
9281 * regmove.c (optimize_reg_copy_3): Make sure P is non-nil as we
9282 climb up the chain of insns.
9284 Wed Oct 13 10:20:58 1999 Richard Henderson <rth@cygnus.com>
9286 * genrecog.c (write_subroutine): Careful for null trees.
9287 (process_tree): Don't elide empty functions.
9289 Wed Oct 13 10:07:54 1999 Richard Henderson <rth@cygnus.com>
9291 * Makefile.in (genrtl.o): Depend on ggc.h.
9292 * configure.in (valloc): Probe for it.
9293 (with-gc): Use ggc-page if valloc present.
9294 * ggc-common.c (ggc_mark_rtx_children): Use ggc_mark_if_gcable.
9295 (ggc_mark_rtvec_children): New from corpse of ggc_mark_rtvec.
9296 (ggc_alloc_string): Moved from ggc-page.c.
9297 * ggc-none.c (ggc_alloc_obj): New.
9298 (ggc_alloc_rtx, ggc_alloc_rtvec): Remove.
9299 * ggc-page.c (sys/mman.h): Only include if HAVE_MMAP.
9300 (struct globals): Likewise for dev_zero_fd.
9301 (init_ggc): Likewise for it's initialization.
9302 (ggc_allocated_p): Move careful dereference from ...
9303 (ggc_lookup_page_table): ... here. Delete.
9304 (lookup_page_table_entry): Don't use ggc_lookup_page_table.
9305 (alloc_anon): Use valloc if no mmap.
9306 (release_pages): Use free if using valloc.
9307 (ggc_alloc_obj): Renamed from alloc_obj.
9308 (ggc_set_mark): Renamed from mark_obj.
9309 (ggc_mark_if_gcable): Renamed from ggc_mark_string_if_gcable.
9310 (ggc_alloc_rtx, ggc_alloc_rtvec): Delete.
9311 (ggc_alloc_tree, ggc_alloc_string, ggc_alloc): Delete.
9312 (ggc_set_mark_rtx, ggc_set_mark_rtvec): Delete.
9313 (ggc_set_mark_tree, ggc_mark_string, ggc_mark): Delete.
9314 (ggc_collect): Use fp printing instead of our own rounding.
9315 * ggc-simple.c (IS_MARKED, IGNORE_MARK): Delete.
9316 (GGC_STRING_MAGIC, GGC_STRING_MAGIC_MARK): Delete.
9317 (GGC_ANY_MAGIC, GGC_ANY_MAGIC_MARK): Delete.
9318 (struct ggc_rtx, struct ggc_rtvec, struct ggc_tree): Delete.
9319 (struct ggc_string, struct ggc_any): Delete.
9320 (offsetof): Provide default definition.
9321 (GGC_BALANCE, GGC_ALWAYS_COLLECT, GGC_ALWAYS_VERIFY): New.
9323 (struct ggc_mem): New, from corpse of ggc_any.
9324 (struct ggc_status): Delete.
9325 (ggc_chain, ggc_allocated_strings, ggc_strings_used): Delete.
9326 (n_rtxs_collected, n_vecs_collected, n_trees_collected): Delete.
9327 (n_strings_collected, n_anys_collected): Delete.
9328 (ggc_alloc_rtx, ggc_alloc_rtvec, ggc_alloc_tree): Delete.
9329 (ggc_alloc_string, ggc_alloc): Delete.
9330 (ggc_free_rtx, ggc_free_rtvec, ggc_free_tree): Delete.
9331 (ggc_free_string, ggc_free_any): Delete.
9332 (ggc_set_mark_rtx, ggc_set_mark_rtvec, ggc_set_mark_tree): Delete.
9333 (ggc_compare_addresses, ggc_mark_string): Delete.
9334 (ggc_mark_string_if_gcable, ggc_mark): Delete.
9335 (search_data): Delete.
9336 (struct globals): New.
9337 (GGC_MIN_EXPAND_FOR_GC, GGC_MIN_LAST_ALLOCATED): New.
9338 (tree_insert, tree_lookup): New.
9339 (ggc_alloc_obj, ggc_set_mark, ggc_mark_if_gcable): New.
9340 (clear_marks, sweep_objs): New.
9341 (ggc_collect): Gut. Use clear_marks, sweep_objs.
9342 (init_ggc): Set allocated_last_gc.
9343 (ggc_push_context): Gut. Use G.context.
9344 (ggc_pop_context): Likewise.
9345 (ggc_pop_context_1): New.
9346 (debug_ggc_tree): New.
9347 (debug_ggc_balance, tally_leaves): New.
9348 * ggc.h (ggc_mark_rtvec, ggc_mark_string, ggc_mark): Remove decl.
9349 (ggc_mark_string_if_gcable): Remove decl.
9350 (ggc_mark_rtx, ggc_mark_tree): Use ggc_set_mark.
9351 (ggc_mark_rtvec_children): New.
9352 (ggc_mark_rtvec, ggc_mark_string, ggc_mark): New.
9353 (ggc_mark_if_gcable): New decl.
9354 (ggc_alloc_rtx, ggc_alloc_rtvec): Remove decl.
9355 (ggc_alloc_tree, ggc_alloc): Likewise.
9356 (ggc_set_mark_rtx, ggc_set_mark_rtvec, ggc_set_mark_tree): Likewise.
9357 (ggc_alloc_obj): New decl.
9358 (ggc_alloc_rtx, ggc_alloc_rtvec): New macros.
9359 (ggc_alloc_tree, ggc_alloc): Likewise.
9360 (ggc_set_mark): New decl.
9361 * rtl.h (struct rtx_def): Remove gc_mark.
9362 (struct rtvec_def): Likewise.
9363 * tree.h (struct tree_common): Likewise.
9365 Wed Oct 13 01:44:29 1999 Carol LePage <carolo@hal.com>
9367 * configure.in (sparc-hal-solaris2*): Fix xm_file, xm_defines,
9368 float_format and thread_file definitions.
9369 * configure: Rebuilt.
9371 Wed Oct 13 09:25:03 1999 Niels Möller <nisse@lysator.liu.se>
9373 * extend.texi (Function Names): Document types of function names.
9375 Wed Oct 13 00:45:04 1999 Bernd Schmidt <bernds@cygnus.co.uk>
9377 * reload1.c (reload_reg_free_for_value_p): RELOAD_OTHER reloads with
9378 an earlyclobbered output conflict with RELOAD_INPUT reloads.
9380 Tue Oct 12 23:28:28 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
9382 * sh.h (BOOL_TYPE_SIZE): Don't use INT_TYPE_SIZE / CHAR_TYPE_SIZE.
9384 Tue Oct 12 23:19:32 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
9386 * sh.h (REGISTER_MOVE_COST): Change PR_REG to PR_REGS.
9388 Tue Oct 12 17:09:38 1999 David Edelsohn <edelsohn@gnu.org>
9390 * collect2.c (main): Do prelimnary link on AIX if rflag.
9392 Tue Oct 12 09:45:19 1999 Jonathan Larmour <jlarmour@cygnus.co.uk>
9394 * config/rs6000/eabi-ctors.c (__do_global_ctors): Run through
9395 __CTOR_LIST__ in opposite order, which is the correct order for sorted
9397 (__do_global_dtors): similarly for __DTOR_LIST__.
9399 Fri Oct 8 19:46:03 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
9400 Diego Novillo <dnovillo@cygnus.com>
9402 * config/sh/sh.h (REGISTER_MOVE_COST): Handle moves from T_REGS to
9405 Tue Oct 12 07:38:41 1999 Bruce Korb <autogen@linuxbox.com>
9407 * fixincl/*: Merged "no_bogosity" branch
9408 * fixincl/fixlib.h: protect against doubly defining t_bool
9409 * fixincl/server.h: protect against doubly defining t_bool
9411 Mon Oct 11 20:18:41 1999 Jim Wilson <wilson@cygnus.com>
9413 * genoutput.c: Include toplev.h.
9415 Mon Oct 11 18:56:14 1999 Jim Wilson <wilson@cygnus.com>
9417 * config/sparc/liteelf.h (INIT_SECTION_ASM_OP, FINI_SECTION_ASM_OP):
9419 * configure.in (sparclite-*-elf, sparc86x-*-elf): Don't use libgloss.h.
9420 * configure: Regenerate.
9422 Mon Oct 11 16:07:49 1999 Richard Henderson <rth@cygnus.com>
9424 * gcse.c (delete_null_pointer_checks): Returns void.
9426 Mon Oct 11 20:31:51 1999 Bernd Schmidt <bernds@cygnus.co.uk>
9428 * rtl.c (copy_rtx): Don't use accessor macros to copy fields.
9429 * emit-rtl.c (copy_insn_1): Likewise.
9431 Mon Oct 11 13:29:06 1999 Geoffrey Keating <geoffk@cygnus.com>
9433 * config/mips/mips.c (mips_build_va_list): Correct
9434 TREE_CHAIN setting when hard-float.
9435 (mips_va_start): Use corrected setting.
9436 (mips_va_arg): Likewise. Also pass a tree to build of
9437 POSTINCREMENT_EXPR rather than a naked 'int'.
9439 Sun Oct 10 18:27:27 1999 Mark Mitchell <mark@codesourcery.com>
9441 * ggc.h (ggc_push_context): Fix comment.
9442 (ggc_pop_context): Likewise.
9443 (mark_string_if_gcable): Likewise.
9444 * ggc-common.c (ggc_mark_rtx_children): Use
9445 ggc_mark_string_if_gcable.
9446 * ggc-page.c (ggc_lookup_page_table): New function.
9447 (ggc_allocated_p): Likewise.
9448 (mark_obj): Fix formatting.
9449 (ggc_mark_string_if_gcable): New function.
9450 * ggc-simple.c (ggc_allocated_strings): New variable.
9451 (ggc_strings_used): Likewise.
9452 (ggc_compare_addresses): New function.
9453 (ggc_pop_context): Pop the `any' memory too.
9454 (ggc_mark_string_if_gcable): New function.
9455 (ggc_collect): Initialize and tear down ggc_allocated_strings.
9457 Sun Oct 10 20:05:21 1999 David Edelsohn <edelsohn@gnu.org>
9459 * rs6000.md (movstrsi_?reg): Use preferred rD/rS = r5 form.
9460 (scc patterns): Disable most SImode variants if TARGET_POWERPC64.
9461 * rs6000.c (expand_block_move): Match movstrsi_?reg register
9464 Sun Oct 10 16:37:01 1999 Richard Henderson <rth@cygnus.com>
9466 * haifa-sched.c (sched_reg_n_calls_crossed): Delete.
9467 (sched_reg_live_length, sched_reg_basic_block): Delete.
9468 (current_block_num, bb_live_regs, old_live_regs): Delete.
9469 (dead_notes, struct sometimes): Delete.
9470 (sched_note_set, birthing_insn_p): Delete.
9471 (adjust_priority): Gut useless reg lifetime code.
9472 (create_reg_dead_note, attach_deaths): Delete.
9473 (attach_deaths_insn, new_sometimes_live): Delete.
9474 (finish_sometimes_live): Delete.
9475 (find_pre_sched_live, find_post_sched_live): Delete.
9476 (update_reg_usage): Delete.
9477 (find_insn_reg_weight): New, from corpse of find_pre_sched_live.
9478 (schedule_insns): Delete reg lifetime code.
9479 (sched_analyze): Use REG_SAVE_NOTE to stuff NOTE_INSN notes away.
9480 (unlink_other_notes): Adjust REG_NOTE commentary.
9481 (reemit_notes): Use REG_SAVE_NOTE.
9482 (schedule_block): Likewise.
9483 (schedule_region): Allocate bitmap of blocks in region. Use
9484 count_or_remove_death_notes. Use update_life_info.
9486 * rtl.h (REG_SAVE_NOTE): New.
9487 * rtl.c (reg_note_name): Update.
9489 Sun Oct 10 16:14:16 1999 Richard Henderson <rth@cygnus.com>
9491 * combine.c (refresh_blocks, need_refresh): New.
9492 (combine_instructions): Allocate refresh_blocks. Invoke
9493 update_life_info if needed.
9494 (distribute_notes): Mark refresh_blocks instead of installing
9496 * flow.c (update_life_info): Remove notes if GLOBAL_RM_NOTES.
9497 * basic_block.h (enum update_life_extent): Add GLOBAL_RM_NOTES.
9499 * Makefile.in (recog.o): Depend on basic-block.h.
9501 Sun Oct 10 12:03:21 1999 Richard Henderson <rth@cygnus.com>
9503 * genrecog.c (add_to_sequence): Thinko last change: delete
9504 shadowing allow_const_int variable.
9506 Sun Oct 10 08:40:00 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
9508 * cppinit.c: Use HAVE_GCC_VERSION instead of explicitly testing
9509 __GNUC__ and __GNUC_MINOR__.
9511 * gansidecl.h: Likewise.
9517 * toplev.h: Likewise.
9523 * varray.c: Likewise.
9525 * varray.h: Likewise.
9527 Sun Oct 10 13:28:48 1999 Bernd Schmidt <bernds@cygnus.co.uk>
9529 * loop.c (find_and_verify_loops): When looking for a BARRIER, don't
9530 use one before a jump table.
9532 * rtl.def (ADDRESS): Change documentation to match reality.
9533 * md.texi: Don't document it.
9534 * gmicro.md (load address pattern): Use 'p' constraint, delete use
9537 * emit-rtl.c (copy_insn_1): Make format_ptr a const char *.
9539 Sun Oct 10 02:41:41 1999 Richard Henderson <rth@cygnus.com>
9541 * genrecog.c (add_to_sequence): Move allow_const_int test outside
9542 known predicate block; default allow_const_int true.
9543 (debug_decision_list): New.
9545 Sun Oct 10 00:43:08 1999 Richard Henderson <rth@cygnus.com>
9547 * i386.h (CC1_SPEC): Typo -- use cc1_cpu.
9549 Sat Oct 9 23:26:55 1999 Jeffrey A Law (law@cygnus.com)
9551 * gcse.c (gcse_main): Avoid global optimizations if we have a
9552 large number of basic blocks and the ratio of edges to blocks
9554 (delete_null_pointer_checks): Likewise.
9556 Sat Oct 9 23:16:01 1999 Ken Raeburn <raeburn@mit.edu>
9558 * c-common.c (check_format_info): Warn if format string isn't a
9561 Sat Oct 9 23:04:02 1999 Jonathan Larmour <jlarmour@cygnus.co.uk>
9563 * configure.in (arm*-*-*): Don't let autoconf remove brackets
9564 * configure: regenerate
9566 Sat Oct 9 13:15:53 1999 Richard Henderson <rth@cygnus.com>
9568 * alpha.md (extendsidi2): Turn into a splitter. Allow f/f.
9569 If TARGET_FIX, allow r/f. Remove cvtlq unspec pattern.
9570 (peepholes): Re-enable.
9572 Sat Oct 9 12:18:16 1999 Richard Henderson <rth@cygnus.com>
9574 * Makefile.in (flow.o): Depend on TREE_H.
9575 * basic-block.h (REG_SET_EQUAL_P): New.
9578 (free_regset_vector): Remove declaration.
9579 (flow_delete_insn_chain): Declare.
9580 (enum update_life_extent): New.
9581 (update_life_info, count_or_remove_death_notes): Declare.
9582 * combine.c (distribute_notes) [REG_DEAD]: Stop search at bb->head.
9583 Verify register live at bb->global_live_at_start before adding USE.
9584 * flow.c (HAVE_epilogue, HAVE_prologue): Provide default.
9585 (CLEAN_ALLOCA): New.
9587 (PROP_*): New flags.
9588 (find_basic_blocks_1): Use alloc_EXPR_LIST.
9589 (clear_edges): Zero n_edges.
9590 (make_edge): Increment n_edges.
9591 (split_edge): Don't allocate bb->local_set. Increment n_edges.
9592 (flow_delete_insn_chain): Export.
9593 (delete_block): Decrement n_edges.
9594 (merge_blocks_nomove): Likewise.
9595 (life_analysis): Give life_analysis_1 PROP flags.
9596 (verify_wide_reg_1, verify_wide_reg): New.
9597 (verify_local_live_at_start): New.
9598 (update_life_info): Rewrite to call into propogate_block.
9600 (mark_regs_live_at_end): After reload, if epilogue as rtl,
9601 always mark stack pointer. Conditionally mark PIC register.
9602 After reload, mark call-saved registers, return regsiters.
9603 (life_analysis_1): Accept PROP flags not remove_dead_code.
9604 Call mark_regs_live_at_end before zeroing regs_ever_live.
9605 Use calculate_global_regs_live. Copy global_live_at_end before
9606 calling final propagate_block. Zero reg_next_use on exit.
9607 (calculate_global_regs_live): New.
9608 (allocate_bb_life_data): Don't allocate bb->local_set.
9609 (init_regset_vector, free_regset_vector): Remove.
9610 (propagate_block): Accept FLAGS not FINAL or REMOVE_DEAD_CODE.
9611 Test flags before every operation. Warn if prologue/epilogue insn
9612 would have been deleted.
9613 (mark_set_regs, mark_set_1): Accept and use FLAGS.
9614 Use alloc_EXPR_LIST.
9615 (mark_used_regs): Accept and use FLAGS, not FINAL.
9616 Remove special handling for RETURN.
9617 (try_pre_increment): Use alloc_EXPR_LIST.
9618 (dump_flow_info): Dump n_edges.
9619 (unlink_insn_chain, split_hard_reg_notes): Remove.
9620 (maybe_add_dead_note, maybe_add_dead_note_use): Remove.
9621 (find_insn_with_note, new_insn_dead_notes): Remove.
9622 (update_n_sets, sets_reg_or_subreg_1, sets_reg_or_subreg): Remove.
9623 (maybe_remove_dead_notes, prepend_reg_notes): Remove.
9624 (replace_insns): Remove.
9625 (count_or_remove_death_notes): New.
9626 (verify_flow_info): Abort on error after all checks.
9627 (remove_edge): Decrement n_edges.
9628 (remove_fake_edges): Tweek format.
9629 * haifa-sched.c (schedule_insns): Use split_all_insns.
9630 * output.h (update_life_info): Remove declaration.
9631 * recog.c (split_all_insns): From the corpse of split_block_insns,
9632 do the whole function block by block. Use update_life_info.
9633 (recog_last_allowed_insn): New.
9634 (recog_next_insn): Mind it.
9635 (peephole2_optimize): Set it. Walk backwards through blocks.
9636 Use update_life_info.
9637 * rtl.h (update_flow_info, replace_insns): Remove declarations.
9638 (split_all_insns): Declare.
9639 * toplev.c (rest_of_compilation): Thread prologue before flow2.
9640 Use split_all_insns.
9642 * i386.md (or -1 peep2s): Disable.
9644 Fri Oct 8 17:49:08 1999 Richard Henderson <rth@cygnus.com>
9646 * config/mips/mips.md (movstrsi+[123]) : Combine these into
9647 a single pattern. Scrap the 'd' versions as unnecessary.
9649 * config/mips/mips.md (tablejump_internal3,tablejump_mips161,
9650 tablejump_mips162,tablejump_internal4): The operands to a
9651 label_ref must be VOIDmode.
9653 Fri Oct 8 16:12:42 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
9655 * configure.in (c-mbchar): Append, don't overwrite, `extra_c_flags'.
9657 Fri Oct 8 11:58:34 1999 Richard Henderson <rth@cygnus.com>
9659 * mips.c (mips_va_arg) [EABI]: Return addr_rtx.
9661 Fri Oct 8 11:58:34 1999 Richard Henderson <rth@cygnus.com>
9663 * lists.c (init_EXPR_INSN_LIST_cache): Don't need to zap the
9664 cache every function if ggc_p.
9666 Fri Oct 8 18:46:11 1999 Bernd Schmidt <bernds@cygnus.co.uk>
9668 * jump.c (duplicate_loop_exit_test): Use copy_insn/copy_insn_1
9669 instead of copy_rtx. Accept sequences that contain asm statements.
9670 * emit-rtl.c (copy_insn_1, copy_insn): New functions.
9671 (copy_insn_scratch_in, copy_insn_scratch_out, copy_insn_n_scratches,
9672 orig_asm_operands_vector, copy_asm_operands_vector,
9673 orig_asm_constraints_vecotr, copy_asm_constraints_vector): New static
9675 * rtl.h (copy_insn, copy_insn_1): Declare.
9677 Fri Oct 8 13:08:12 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
9679 * Makefile.in (insn-recog.o): Depend on hard-reg-set.h and resource.h.
9681 * alpha.h (ASM_OUTPUT_MI_THUNK): Pass the correct number of
9682 arguments to `current_file_function_operand'.
9684 * genrecog.c: Include hard-reg-set.h and resource.h in the
9685 generated output file.
9687 * real.c: Include tm_p.h.
9689 Fri Oct 8 18:46:11 1999 Bernd Schmidt <bernds@cygnus.co.uk>
9691 * i386.md (prologue_allocate_stack): Add '=' constraint letter on
9694 Thu Oct 7 23:06:50 1999 Richard Henderson <rth@cygnus.com>
9696 * rs6000.md (fix_truncdfsi2_internal+1): Emit a clobber
9697 before the fctiwz insn.
9699 Thu Oct 7 22:53:00 1999 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
9700 Mark Mitchell <mark@codesourcery.com>
9702 * tree.c (make_lang_type_fn): New funtion pointer.
9703 (make_lang_type): Call it.
9704 * tree.h (make_lang_type): Declare.
9705 (make_lang_type_fn): Likewise.
9706 * rs6000.c (rs6000_build_va_list): Use make_lang_type.
9708 Thu Oct 7 00:36:17 1999 Diego Novillo <dnovillo@cygnus.com>
9710 * config/rs6000/rs6000.c (secondary_reload_class): For TARGET_ELF
9711 make sure that HIGH instructions are copied into BASE_REGS.
9713 Thu Oct 7 17:02:34 1999 Jason Merrill <jason@yorick.cygnus.com>
9715 * expr.c (expand_expr, TARGET_EXPR): Set TREE_USED sooner.
9717 Thu Oct 7 17:01:58 1999 Greg McGary <gkm@gnu.org>
9719 * c-decl.c (finish_struct): Use simpler method of
9720 removing elements of a singly-linked list.
9722 Thu Oct 7 15:23:28 1999 Michael Meissner <meissner@cygnus.com>
9724 * alpha.md (peephole2's): Comment out peephole2's that generate
9727 Thu Oct 7 12:00:53 1999 Richard Henderson <rth@cygnus.com>
9729 * genrecog.c (add_to_sequence): Disable mode check for
9732 Thu Oct 7 20:14:16 1999 Bernd Schmidt <bernds@cygnus.co.uk>
9734 * ggc-simple.c (init_ggc): Set empty_string.
9736 Thu Oct 7 01:13:15 1999 Richard Henderson <rth@cygnus.com>
9738 * configure.in: Detect mmap. Add --with-gc=foo to select
9739 garbage collector; default to page if mmap available.
9740 * Makefile.in (GGC): Substitute.
9742 Wed Oct 6 23:56:30 1999 Richard Henderson <rth@cygnus.com>
9744 * c-decl.c (ggc_p): Enable.
9746 Wed Oct 6 17:17:08 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
9748 * flow.c (verify_flow_info): Make it extern & unconditionally define.
9750 1999-10-06 Brendan Kehoe <brendan@cygnus.com>
9752 * sparc/sp86x-elf.h (SUBTARGET_SWITCHES): Add missing doc
9753 string for little-endian-data.
9755 Wed Oct 6 16:10:35 1999 Michael Meissner <meissner@cygnus.com>
9757 * varray.h (VARRAY_CHECK): Fix up appropriate revision check, in
9758 case somebody tries to compile --enable-checking code with gcc
9761 Wed Oct 6 12:22:50 1999 Richard Henderson <rth@cygnus.com>
9763 * genrecog.c (add_to_sequence): Verify operand to label_ref is
9766 Wed Oct 6 10:21:15 1999 Richard Henderson <rth@cygnus.com>
9768 * genconfig.c (main): Disable HAVE_conditional_arithmetic.
9769 * jump.c (jump_optimize_1): Document why.
9771 Wed Oct 6 10:41:56 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
9773 * collect2.c (scan_prog_file, scan_libraries): Prototype function
9774 pointers and casts for `int_handler' and `quit_handler'.
9776 * flow.c (verify_flow_info, split_hard_reg_notes,
9777 find_insn_with_note, sets_reg_or_subreg_1, prepend_reg_notes,
9778 remove_edge, remove_fake_successors): Add static prototypes.
9779 (verify_flow_info): Wrap with macro ENABLE_CHECKING.
9780 (mark_set_1): Initialize variable `regno'.
9781 (unlink_insn_chain): Likewise for variable `curr'.
9782 (remove_fake_edges): Remove unused variables `e', `tmp' and `last'.
9784 * loop.c (strength_reduce): Initialize variable
9785 `unrolled_insn_copies'.
9786 (cmp_combine_givs_stats, cmp_recombine_givs_stats): Add static
9787 prototypes. Change these functions to take const PTR parameters
9788 to avoid prototype conflict when used as the comparson argument
9790 (check_dbra_loop): Initialize variable `comparison_val'.
9792 * reload.c (debug_reload_to_stream, debug_reload): Add prototypes.
9793 (get_secondary_mem): Mark parameter `x' with ATTRIBUTE_UNUSED.
9794 (find_valid_class): Initialize variable `best_class'.
9795 (find_reloads): Call memcpy, not bcopy.
9797 * reload1.c (gen_mode_int, dump_needs): Add prototypes.
9798 (hard_reg_use_compare): Don't needlessly cast away const.
9799 (reload_reg_class_lower): Likewise.
9800 (choose_reload_regs): Initialize variable `regno'.
9802 Tue Oct 5 16:34:12 1999 Paul Burchard <burchard@pobox.com>
9804 * ggc-page.c (GGC_ALWAYS_COLLECT): Fix typo when undef'ing.
9806 Tue Oct 5 16:14:40 1999 Michael Meissner <meissner@cygnus.com>
9808 * libgcc1-test.c (toplevel): Include stddef.h to get size_t.
9809 ({,d}discard): Add forward declarations. Declare parameter as
9811 (main_without_main): Explicitly declare return type to be int.
9812 (memcpy): Properly declare.
9814 * libgcc2.c (toplevel): If inhibit_libc is defined and not
9815 building the trampoline support, declare malloc, free, and
9817 (__clear_cache): Mark arguments as potentially unused.
9819 * frame.c (toplevel): If inhibit_libc is defined, declare
9822 Tue Oct 5 12:00:32 1999 Richard Henderson <rth@cygnus.com>
9824 * flow.c (make_edge): Accept an optional 2D bitmap in which
9825 to cache edge existence. Update all callers.
9826 (make_label_edge, make_eh_edge): Pass through the edge cache.
9827 (make_edges): Provide the cache.
9829 Tue Oct 5 12:16:49 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
9831 * mbchar.c (literal_codeset, local_mbtowc, local_mblen): Constify
9833 (local_mbtowc): Change the type of variable `i' from int to size_t.
9835 * mbchar.h (ISSJIS1, ISSJIS2): Use parens around && within ||.
9836 (local_mbtowc, local_mblen, literal_codeset): Constify a char*.
9838 Tue Oct 5 11:34:52 1999 Michael Meissner <meissner@cygnus.com>
9840 * ggc-common.c (toplevel): Reorder includes, so that ggc.h comes
9841 after other includes that define the appropriate types. Include
9842 tm_p.h for getting user prototypes.
9843 * ggc-callbacks.c (toplevel): Ditto.
9844 * ggc-none.c (toplevel): Ditto.
9845 * gcc-page.c (toplevel): Ditto.
9846 * ggc-simple.c (toplevel): Ditto.
9848 Mon Oct 4 16:48:16 1999 Diego Novillo <dnovillo@cygnus.com>
9849 Jonathan Larmour <jlarmour@cygnus.co.uk>
9851 * config/mips/mips.c (mips_move_2words): Split doubles if
9852 ISA >= 3, !TARGET_64BIT, and destination is not an FP register.
9854 Mon Oct 4 21:47:31 1999 Richard Henderson <rth@cygnus.com>
9856 * genrecog.c (struct decision_test): New.
9857 (struct decision): Remove test-related members, sort the rest by size.
9858 (IS_SPLIT): Simplify.
9859 (new_decision, new_decision_test): New.
9860 (add_to_sequence): Use them. No special handling for args of
9862 (maybe_both_true): Renamed from not_both_true; return sense changed.
9863 (maybe_both_true_1, maybe_both_true_2): New. Broken out
9864 of maybe_both_true and adjusted for decision_test.
9865 (position_merit): Remove.
9866 (nodes_identical, nodes_identical_1): New, broken out of merge_trees.
9867 (merge_accept_insn): New, broken out of merge_trees.
9868 (merge_trees): Use them. No special case for c_test; no node
9869 splitting; use test type instead of position_merit.
9870 (factor_tests): New.
9871 (simplify_tests): New.
9872 (break_out_subroutines): Don't write code now.
9873 (find_afterward): New.
9874 (write_afterward, write_switch, write_cond): New.
9875 (write_action, is_unconditional): New.
9876 (write_node): New. Use them.
9877 (write_tree_1): Rewrite. Use the new functions above.
9878 (write_tree): Remove afterward processing.
9879 (write_subroutine): Simplify function variant emission.
9880 (write_subroutines): New.
9881 (same_codes, clear_codes): Remove.
9882 (same_modes, clear_modes): Remove.
9883 (write_header): New, broken out of main.
9884 (make_insn_sequence): Use new_decision and new_decision_test.
9885 (process_tree): New, broken out of main.
9886 (main): Adjust for merge_trees interface change.
9887 Don't #define operands in the output file.
9888 (record_insn_name): New, broken out of make_insn_sequence.
9889 (debug_decision_2, debug_decision_1, debug_decision_0): New.
9890 (debug_decision): New.
9892 1999-10-04 21:58 -0700 Zack Weinberg <zack@bitmover.com>
9894 * resource.c (find_free_register): Mark class_str argument const.
9895 * resource.h: Update prototype to match.
9897 * i386.h (PREDICATE_CODES): Add entry for long_memory_operand.
9898 * i386.md: Give all anonymous insns names.
9900 Mon Oct 4 21:12:02 1999 Jeffrey A Law (law@cygnus.com)
9902 * flow.c (merge_blocks): Avoid assing BASIC_BLOCK for non-existent
9905 Mon Oct 4 21:01:39 1999 Richard Henderson <rth@cygnus.com>
9907 * toplev.c (dbr_sched_time): Unconditional.
9908 (peephole2_time): New.
9909 (compile_file): Add pass numbers to all of the dump file suffixes.
9910 Dump peephole2_time. Don't dump times for non-applicable passes.
9911 (rest_of_compilation): Add pass numbers to dump file suffixes.
9912 Conditionalize calls to the scheduler.
9913 * invoke.texi: Update.
9915 Mon Oct 4 20:25:13 1999 Anthony Green <green@cygnus.com>
9917 * flow.c (make_edges): Fix insn iteration.
9918 (find_basic_blocks): Assign NULL_RTX, not 0, to rtx.
9919 (find_basic_blocks_1): Fix spelling mistake.
9921 Mon Oct 4 16:56:11 1999 Richard Henderson <rth@cygnus.com>
9923 * tree.c (build1): Set TREE_SIDE_EFFECTS for expressions that
9924 always have side-effects. Use memset not bzero.
9925 (make_node): Likewise.
9927 Mon Oct 4 16:22:20 1999 Mark Mitchell <mark@codesourcery.com>
9929 * stmt.c (expand_anon_union_decl): When any of the elements of the
9930 union is addressable, so is the entire union.
9932 Mon Oct 4 11:38:33 1999 Richard Henderson <rth@cygnus.com>
9934 * sbitmap.c (sbitmap_ones): Don't set too many bits.
9936 * bitmap.h (enum bitmap_bits): Add BITMAP_XOR.
9937 * bitmap.c (bitmap_operation): Return true iff TO changed.
9938 (bitmap_equal_p): New.
9939 (bitmap_bit_p): Tidy arithmetic.
9940 (debug_bitmap_file): Likewise.
9942 Mon Oct 4 11:28:37 1999 Richard Henderson <rth@cygnus.com>
9944 * toplev.c (rest_of_compilation): Turn on cse_not_expected
9945 before cse2 instead of after.
9947 Mon Oct 4 09:55:17 1999 Stan Cox <scox@cygnus.com>
9949 * mips.h (GO_IF_LEGITIMATE_ADDRESS): Let leasi/liadi handle large
9952 Mon Oct 4 08:54:12 1999 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
9954 * cppinit.c (is_idchar initializer): Loosen tests to accept
9957 Mon Oct 4 02:31:20 1999 Mark Mitchell <mark@codesourcery.com>
9959 * mips.md: Define conditional move patterns for floating point
9960 operands and DI mode conditions.
9962 Mon Oct 4 02:12:41 1999 Mark Mitchell <mark@codesourcery.com>
9964 * tree.c (make_node): Set TREE_SIDE_EFFECTS for expressions that
9965 always have side-effects.
9967 Sun Oct 3 14:14:16 1999 Jeffrey A Law (law@cygnus.com)
9969 * mn10200.c (asm_file_start): Fix typo.
9971 * cppinit.c (is_idchar initializer): Tighten tests for when
9972 to put the table into initialized memory.
9974 * ggc-none.c (ggc_alloc_rtvec): An rtvec is an array of rtx,
9975 not an array of rtunion.
9976 * gcc-page.c (ggc_alloc_rtvec): Similarly.
9977 * gcc-simple (ggc_free_rtvec): Similarly.
9979 * genattrtab.c (simplify_cond): Make TESTS an array of rtxs, instead
9982 * mbchar.h: Add missing #endif.
9984 * t-fr30 (LIB2FUNCS_EXTRA): Remove definition.
9985 (FPBIT, DPBIT): Define.
9987 Sun Oct 3 12:44:05 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
9989 * print-tree.c (print_node, indent_to): Remove redundant prototypes.
9991 * profile.c (instrument_arcs, output_gcov_string,
9992 tablejump_entry_p): Add static prototypes.
9993 (output_gcov_string): Constify a char*.
9995 * regmove.c (replacement_quality, fixup_match_2): Add static
9998 * resource.h (reg_dead_p): Add extern prototype.
10000 * rtl.c (trim_filename): Add static prototype.
10002 * scan-decls.c (skip_to_closing_brace): Likewise.
10004 * stmt.c (expand_decl_cleanup_no_eh): Hide definition.
10005 (expand_end_case): Initialize variable `range'.
10006 (emit_case_nodes): Remove unused prototype `rtx_fn'.
10008 * varasm.c (asm_emit_uninitialised): Add static prototype.
10009 (asm_emit_uninitialised, assemble_variable): Mark parameter with
10012 Sun Oct 3 12:24:52 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
10014 * cpplib.c (if_directive_nameo): Add static prototype.
10016 * cse.c (cse_insn): Remove unused variable `p'.
10018 * except.c (create_rethrow_ref, push_entry,
10019 receive_exception_label, new_eh_region_entry, find_func_region,
10020 clear_function_eh_region, process_nestinfo): Add static prototypes.
10021 (get_reg_for_handler): Hide definition.
10022 (process_nestinfo): Initialize variable `extra_handlers'.
10024 * expr.h (expand_builtin_longjmp): Add extern prototype.
10026 * final.c (final_addr_vec_align, align_fuzz): Add static prototypes.
10028 * function.c (prepare_function_start): Likewise.
10029 (pop_function_context_from): Mark parameter `context' with
10031 (push_temp_slots_for_block, flush_addressof): Hide definition.
10033 * gcov.c (init_arc, reverse_arcs, create_program_flow_graph,
10034 solve_program_flow_graph, calculate_branch_probs,
10035 function_summary, main, fancy_abort): Add prototypes.
10037 * gen-protos.c (add_hash, parse_fn_proto, main): Likewise.
10038 (add_hash): Constify a char*.
10040 * ggc-common.c (ggc_mark_rtx_ptr, ggc_mark_tree_ptr,
10041 ggc_mark_tree_varray_ptr, ggc_mark_tree_hash_table_ptr,
10042 ggc_mark_string_ptr, ggc_mark_tree_hash_table_entry): Add prototypes.
10044 * integrate.c (expand_inline_function_eh_labelmap): Likewise.
10046 * lists.c (free_list, zap_lists): Likewise.
10048 Sun Oct 3 12:05:28 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
10050 * alias.c (nonlocal_reference_p): Add static prototype.
10052 * bitmap.c (bitmap_element_allocate): Prototype args in function
10055 * builtins.c (stabilize_va_list): Add static prototype.
10056 (expand_builtin_va_arg): Constify a char*.
10058 * c-lex.c (getch, put_back, extend_token_buffer_to,
10059 read_line_number, token_getch, token_put_back): Add static
10062 * c-parse.gperf (hash, is_reserved_word): Likewise.
10064 * cccp.c (is_dir_separator): Likewise.
10066 Sat Oct 2 16:07:56 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
10068 * graph.h: New file to prototype functions exported by graph.c.
10070 * Makefile.in (graph.o, toplev.o): Depend on graph.h.
10072 * graph.c: Include graph.h.
10074 * toplev.c: Likewise. Remove redundant prototypes.
10076 Sat Oct 2 11:28:33 1999 Krister Walfridsson <cato@df.lth.se>
10078 * invoke.texi: Removed duplicated description for -Q.
10080 Sat Oct 2 11:16:00 1999 Jim Kingdon <http://developer.redhat.com>
10082 * extend.texi: Grammar fix in __extension__ text.
10084 Sat Oct 2 11:06:31 1999 Richard Henderson <rth@cygnus.com>
10086 * md.texi (define_peephole2): New section.
10088 Sat Oct 2 10:57:56 1999 Jan Hubicka <hubicka@freesoft.cz>
10090 * i386.md (mov?i patterns): Fix handling of TARGET_USE_MOV0
10091 (mov $-1 to or peepholer): Enable for pentium when optimizing for
10094 Sat Oct 2 10:55:25 1999 Jan Hubicka <hubicka@freesoft.cz>
10096 * builtins.c (expand_builtin_strlen): Fix best mode searching loop.
10098 Sat Oct 2 10:53:22 1999 Jan Hubicka <hubicka@freesoft.cz>
10100 * i386.md (ffs expander): Emit Pentium friendly code for
10103 Sat Oct 2 02:48:21 1999 Mark P. Mitchell <mark@codesourcery.com>
10105 * tree.c (build): Don't look at TREE_SIDE_EFFECTS or TREE_RAISES
10107 (build1): Likewise.
10109 Fri Oct 1 18:01:11 1999 Bernd Schmidt <bernds@cygnus.co.uk>
10111 * i386elf.h (TARGET_DEFAULT): Use symbolic constants.
10113 Fri Oct 1 12:42:53 1999 Andreas Schwab <schwab@suse.de>
10115 * config/m68k/m68k.c (use_return_insn): Return false if the pic
10116 register is in use.
10118 Fri Oct 1 10:56:06 1999 Bernd Schmidt <bernds@cygnus.co.uk>
10120 * md.texi (No Constraints): Delete section.
10121 * Makefile.in (genattrtab.o): Don't depend on "insn-config.h".
10122 * final.c (final_scan_insn): We always have register constraints.
10123 * genattrtab.c: Don't include "insn-config.h".
10124 (write_attr_case): We always have register constraints.
10125 * genconfig.c (register_constraint_flag): Delete.
10126 (walk_insn_part): Don't check whether we have register constraints.
10127 (main): Don't write out "#define REGISTER_CONSTRAINTS".
10128 * genoutput.c (have_constraints): Delete.
10129 (main): Don't set it.
10130 (output_operand_data): We always have constraints.
10131 (scan_operands): Likewise.
10132 (compare_operands): Likewise.
10133 * local-alloc.c (block_alloc): We always have constraints.
10134 (requires_inout): Always compile this function.
10135 * recog.c (extract_insn): We always have constraints.
10136 (constrain_operands, reg_fits_class_p): Always compile these
10138 * recog.h (struct recog_data): Delete non-REGISTER_CONSTRAINTS
10140 (struct insn_operand_data): Likewise.
10141 * regclass.c (regclass): We always have constraints.
10142 (record_reg_classes, copy_cost, record_address_regs,
10143 auto_inc_dec_reg_p): Always compile these functions.
10144 * regmove.c (regmove_optimize): We always have constraints.
10145 * reload.c (find_reloads): Likewise.
10146 * reload1.c (reload): Likewise.
10147 (reload_cse_simplify_operands): Likewise.
10148 * i860.c (output_delay_insn): Likewise.
10150 Thu Sep 30 23:04:41 1999 Mark P. Mitchell <mark@codesourcery.com>
10152 * iris6.h (BUILD_VA_LIST_TYPE): Define.
10154 Thu Sep 30 18:44:50 1999 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
10156 * rs6000.c (rs6000_build_va_list): Create a TYPE_DECL node
10157 for the va_list record.
10159 Thu Sep 30 18:34:54 1999 Jan Hubicka <hubicka@freesoft.cz>
10161 * i386.c (ix86_adjust_cost): Ignore false ebp dependencies in
10164 Thu Sep 30 18:31:36 1999 Jan Hubicka <hubicka@freesoft.cz>
10166 * alias.c: Include insn-flags.h.
10167 * Makefile.in (alias.o): Update.
10169 Thu Sep 30 18:21:30 1999 Jan Hubicka <hubicka@freesoft.cz>
10171 * i386.c (ix86_expand_int_movcc): Convert LEU and GTU comparisons
10172 to LTU and GEU. Handle more cases using sbb.
10174 Thu Sep 30 18:18:39 1999 Jan Hubicka <hubicka@freesoft.cz>
10176 * i386.md (truncatexfdf splitters): Do not use subreg.
10177 (fop XFmode patterns): Fix mode in operand testing.
10179 Thu Sep 30 18:04:13 1999 Richard Henderson <rth@cygnus.com>
10181 * jump.c (jump_optimize_1): Amend last change to test only the
10182 form of the operand, not the insn.
10184 * jump.c (jump_optimize_1) [conditional_move]: Use general_operand
10185 not register_operand to determine when B may need preloading.
10187 Thu Sep 30 17:39:16 1999 Richard Henderson <rth@cygnus.com>
10189 * alpha.md (*): Use nonimmediate not general_operand for SET_DEST.
10190 (ffsdi2, extxl, insxh, mskxh): Add missing DImode to SET_SRC.
10191 (call-value patterns): Move to end of file.
10192 (*): Remove mode from label_ref in (pc) context.
10193 (movstrqi): Use memory not general_operand for BLKmode operands.
10194 (prologue_stack_probe_loop, builtin_longjmp): Add missing mode
10195 to register_operand operands.
10196 (peep2 patterns): Convert from commented-out peephole patterns.
10198 Thu Sep 30 14:39:17 1999 Bernd Schmidt <bernds@cygnus.co.uk>
10200 * tree.h (enum built_in_function): Rename BUILT_IN_DWARF_REG_SIZE
10201 to BUILT_IN_INIT_DWARF_REG_SIZES.
10202 * builtins.c (expand_builtins, case BUILT_IN_INIT_DWARF_REG_SIZES):
10203 Renamed from BUILT_IN_DWARF_REG_SIZE; call
10204 expand_builtin_init_dwarf_reg_sizes.
10205 * c-decl.c (init_decl_processing): Replace __builtin_dwarf_reg_size
10206 with __builtin_init_dwarf_reg_size_table.
10207 * dwarf2out.c (struct reg_size_range): Delete.
10208 (expand_builtin_init_dwarf_reg_sizes): New function.
10209 (expand_builtin_dwarf_reg_size): Delete.
10210 * except.h (expand_builtin_init_dwarf_reg_sizes): Declare.
10211 (expand_builtin_dwarf_reg_size): Don't declare.
10212 * libgcc2.c (dwarf_reg_size_table_initialized): New.
10213 (dwarf_reg_size_table): New.
10214 (init_reg_size_table): New function.
10215 (copy_reg): Use dwarf_reg_size_table.
10216 (eh_context_initialize): Make sure dwarf_reg_size_table is initialized
10219 Thu Sep 30 05:40:34 1999 Richard Earnshaw <rearnsha@arm.com>
10221 * c-lang.c (finish_file case ndef ASM_OUTPUT_{CON,DE}STRUCTOR):
10222 Correctly build argument list to constructor and destructor functions.
10224 Thu Sep 30 00:13:27 1999 Dirk Zoller <duz@rtsffm.com>
10226 * c-tree.h (warn_float_equal): Declare.
10227 * c-decl.c (warn_float_equal): Define.
10228 (c_decode_option): Recognize -W[no-]float-equal.
10229 * c-typeck.c (build_binary_op): Conditionally warn
10230 about equality tests of floating point types.
10231 * toplev.c (documented_lan_options): Add -W[no-]float-equal.
10232 * invoke.texi: Add docs for -Wfloat-equal warning.
10234 Wed Sep 29 23:43:39 1999 Jeffrey A Law (law@cygnus.com)
10236 * h8300.h (INIT_TARGET_OPTABS): Use init_one_optab instead of
10237 generating RTL directly.
10238 * mips.h (INIT_TARGET_OPTABS): Likewise.
10239 * mn10200.h (INIT_TARGET_OPTABS): Likewise.
10241 * expr.h (init_mov_optab): Delete declaration
10243 * h8300.c (WORD_REG_USED): Update to avoid useless register
10244 saves in interrupt functions and functions which never return.
10246 * cse.c (struct set): Delete inner_dest_loc field.
10247 (cse_insn): Remove assignments to inner_dest_loc field.
10249 Wed Sep 29 16:06:20 1999 Richard Henderson <rth@cygnus.com>
10251 * ggc-page.c: Don't include <unistd.h> etc taken care of
10252 by "system.h". Include <sys/mman.h> afterward.
10254 Wed Sep 29 16:05:18 1999 Richard Henderson <rth@cygnus.com>
10256 * rs6000.c (rs6000_encode_section_info): If ggc_p, use
10259 Tue Sep 28 16:45:40 1999 David Edelsohn <edelsohn@gnu.org>
10261 * xcoffout.c (xcoffout_declare_function): Add documentation.
10262 * rs6000.c (num_insns_constant_wide): Use TARGET_POWERPC64 not
10263 TARGET_64BIT. Compare constant to -1, not bit pattern.
10264 (easy_fp_constant): Use TARGET_POWERPC64 not TARGET_64BIT.
10265 (expand_block_move): Allow 8 DImode loads for PowerPC64. Fix
10268 Tue Sep 28 16:43:14 1999 Nick Clifton <nickc@cygnus.com>
10270 * dwarf2out.c (add_abstract_origin_attribute): Abort if
10271 origin_die is NULL.
10272 (gen_inlined_enumeration_type_die): Do not abort if the type has
10273 not been writeen out.
10274 (gen_inlined_structure_type_die): Do not abort if the type has
10275 not been writeen out.
10276 (gen_inlined_union_type_die): Do not abort if the type has
10277 not been writeen out.
10278 (gen_tagged_type_instantiation_die): Do not abort if the type
10279 has not been written out.
10281 Tue Sep 28 14:33:47 1999 Bernd Schmidt <bernds@cygnus.co.uk>
10283 * c-decl.c (init_decl_processing): If MD_INIT_BUILTINS is defined,
10285 * reg-stack.c (straighten_stack): Copy hard reg set with
10288 Tue Sep 28 01:11:05 1999 Richard Henderson <rth@cygnus.com>
10290 * builtins.c (stabilize_va_list): Stabilize array type va_list
10291 to a pointer type, not the base record type.
10292 (expand_builtin_va_copy): Dereference the pointers explicitly;
10293 use the correct size for the copy.
10295 * rs6000.c (rs6000_va_start): Dereference valist to get to the record.
10296 (rs6000_va_arg): Likewise.
10298 Mon Sep 27 23:27:21 1999 Richard Henderson <rth@cygnus.com>
10300 * rtl.h (struct rtx_def): Move gc_mark to align mode field.
10302 Mon Sep 27 23:20:29 1999 Mark Mitchell <mark@codesourcery.com>
10304 * tree.h (struct tree_decl): Use `bclass', not `class', in name of
10306 (DECL_BUILT_IN_CLASS): Adjust accordingly.
10308 Mon Sep 27 23:03:16 1999 Richard Henderson <rth@cygnus.com>
10310 * ggc-page.c (GGC_MIN_LAST_ALLOCATED): New.
10311 (init_ggc): Use it instead of a constant.
10312 (ggc_collect): Bound allocated_last_gc by it.
10314 Mon Sep 27 19:06:04 1999 Jeffrey A Law (law@cygnus.com)
10316 * fixinc/fixinc.irix (stdio.h): Hack stdio.h to avoid problems
10319 Mon Sep 27 19:40:17 CEST 1999 Marc Espie <espie@cvs.openbsd.org>
10321 * configure.in (mips*el-*-openbsd*): Don't duplicate default settings.
10322 (mips*-*-openbsd*): Let big endian configuration be a fragment.
10323 * configure: Regen.
10324 * config/mips/openbsd.h: New, OpenBSD little endian target.
10325 * config/mips/openbsd-be.h: New, OpenBSD big endian target fragment.
10326 * config/mips/xm-openbsd.h: New, OpenBSD host.
10328 Mon Sep 27 10:28:48 1999 Andreas Schwab <schwab@suse.de>
10330 * config/m68k/m68k.c (output_function_prologue,
10331 output_function_epilogue): Use
10332 current_function_uses_pic_offset_table instead of regs_ever_live
10333 to decide whether to save/restore pic register.
10334 (legitimize_pic_address): Don't modify regs_ever_live any more.
10336 Sun Sep 26 10:55:36 1999 Mark Mitchell <mark@codesourcery.com>
10338 * function.h (struct function): Add x_dont_save_pending_sizes_p.
10339 * stor-layout.c (variable_size): Don't add sizes to the pending
10340 sizes list if x_dont_save_pending_sizes_p is set.
10342 Sun Sep 26 16:36:52 1999 Robert Lipe (robertlipe@usa.net)
10344 * config/i386/dgux.h (SELECT_RTX_SECTION): Provide dummy argument
10345 for symbolic_operand().
10346 * config/i386/sco5.h (SELECT_RTX_SECTION): Likewise.
10348 Sun Sep 26 07:37:11 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
10350 * combine.c (gen_rtx_combine): Add missing call to va_end().
10352 * final.c (asm_fprintf): Likewise.
10354 * genattrtab.c (attr_rtx): Likewise.
10356 Sat Sep 25 13:11:07 1999 Jeffrey A Law (law@cygnus.com)
10358 * cse.c: Update comments.
10359 (cse_insn): When converting a conditional/computed jump into
10360 an unconditional jump, always make sure a BARRIER immediately
10361 follows the converted jump. Do not delete unreachable code.
10362 (cse_basic_block): Do not delete unreachable code.
10363 * toplev.c (rest_of_compilation): Move call to
10364 delete_trivially_dead_insns after the conditional call to
10367 Sat Sep 25 09:03:17 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
10369 * collect2.c (make_temp_file): Don't prototype.
10371 * gcc.c (make_temp_file): Likewise.
10373 * mips.c (mips_make_temp_file): Renamed from `make_temp_file'.
10375 Sat Sep 25 13:42:15 1999 Nick Clifton <nickc@cygnus.com>
10377 * varasm.c (asm_emit_uninitialised): New function: Generate
10378 the assembler statements necessary to declare an uninitialised
10380 (ASM_EMIT_LOCAL): New macro: Emit a local, uninitialised
10382 (ASM_EMIT_BSS): New macro: Emit an entry in the bss section.
10383 (ASM_EMIT_COMMON): New macro: Emit an entry in the common
10385 (assemble_variable): Use asm_emit_uninitialised to emit an
10386 uninitialised variable.
10388 Fri Sep 24 17:10:56 1999 Nick Clifton <nickc@cygnus.com>
10390 * combine.c (simplify_comparison): Cope with downshifting a 32 bit
10391 constant on a 64 bit host. Patch supplied by Geoffrey Keating
10392 <geoffk@cygnus.com>.
10394 Fri Sep 24 10:48:10 1999 Bernd Schmidt <bernds@cygnus.co.uk>
10396 * builtins.c (expand_builtin): Use MD_EXPAND_BUILTIN if defined.
10397 * c-common.h (builtin_function): Don't declare.
10399 * c-decl.c (duplicate_decls): Use DECL_BUILT_IN_CLASS rather than
10401 (pushdecl): Likewise.
10402 (finish_decl): Likewise.
10403 (builtin_function): New arg CLASS. Arg FUNCTION_CODE now of type
10404 int. All callers changed.
10405 Set the builtin's DECL_BUILT_IN_CLASS.
10406 * tree.h (enum built_in_class): New.
10407 (enum built_in_function): Delete NOT_BUILT_IN.
10408 (DECL_FUNCTION_CODE): The corresponding field in tree_decl is now
10410 (DECL_SET_FUNCTION_CODE): Likewise.
10411 (DECL_BUILT_IN_CLASS): New macro.
10412 (DECL_BUILT_IN): Use DECL_BUILT_IN_CLASS.
10413 (struct tree_decl): Split builtin function code field into a
10415 (builtin_function): Declare.
10417 Fri Sep 24 01:45:05 1999 Mark Mitchell <mark@codesourcery.com>
10419 * optabs.c (init_traps): Fix typo in last change.
10421 Fri Sep 24 01:10:11 1999 Mark Mitchell <mark@codesourcery.com>
10423 * toplev.c (rest_of_decl_compilation): Update comment.
10425 Fri Sep 24 11:57:06 1999 Geoffrey Keating <geoffk@cygnus.com>
10427 * config/mips/elf.h (ASM_OUTPUT_ALIGNED_BSS): Put the symbol
10428 in .sbss if appropriate.
10429 (EXTRA_SECTION_FUNCTIONS): Add sbss.
10430 (SBSS_SECTION_ASM_OP): New macro.
10431 * config/mips/linux.h (EXTRA_SECTION_FUNCTIONS): Add sbss.
10432 (EXTRA_SECTIONS): Add in_sbss.
10433 * config/mips/mips.h: Prototype sbss_section.
10435 Thu Sep 23 18:18:55 1999 Mark Mitchell <mark@codesourcery.com>
10437 * stmt.c (expand_start_bindings): Don't allow cleanup instructions
10440 Thu Sep 23 18:07:01 1999 Mark Mitchell <mark@codesourcery.com>
10442 * optabs.c (init_traps): Register trap_rtx as a GC root.
10444 Thu Sep 23 17:41:47 1999 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
10446 * config/mips/mips.c (function_arg_pass_by_reference): Define
10447 unconditionally, since it's called unconditionally.
10449 Thu Sep 23 13:40:02 1999 Jason Merrill <jason@yorick.cygnus.com>
10451 * toplev.c (documented_lang_options): Add -fshort-wchar.
10452 * c-decl.c (c_decode_option): Likewise.
10453 (init_decl_processing): If -fshort-wchar, use 'short unsigned int'
10455 * c-common.c, c-lex.c: Get WCHAR_TYPE_SIZE from wchar_type_node.
10456 * gcc.c (default_compilers): If -fshort-wchar,
10457 override __WCHAR_TYPE__.
10458 * tm.texi (C Dialect Options): Add -fshort-wchar.
10460 * dwarf2out.c (output_aranges): Use DW_AT_location to find the
10461 symbol for a variable.
10463 * cpplib.h (CPP_PREPROCESSED): New macro.
10464 * cpplib.c (handle_directive): Don't complain about `# NUMBER' if
10465 we're seeing this input for a second time.
10467 Thu Sep 23 12:54:49 1999 Alex Samuel <samuel@codesourcery.com>
10469 * emit-rtl.c (init_emit_once): Initialize modes first.
10471 Sun Sep 19 01:23:23 1999 Alex Samuel <samuel@codesourcery.com>
10473 * config/i386/i386.c (pic_label_name): Change to char pointer.
10474 (global_offset_table): New variable.
10475 (load_pic_register): Fill global_offset_table if it hasn't
10476 already been done. Allocate pic_label_name dynamically.
10477 * ggc.h (empty_string): New variable.
10478 * ggc-simple.c (empty_string): Likewise.
10479 (init_ggc): Allocate empty_string and add as root.
10480 * stmt.c (digit_strings): New variable.
10481 (init_stmt): Add last_block_end_note as root. Allocate and
10482 initialize digit_strings.
10483 (expand_asm_operands): Use empty_string instead of string
10484 constant. Use digit_strings instead of string constants.
10485 * profile.c (init_arc_profiler): Allocate string with
10486 ggc_alloc_string instead of xmalloc.
10487 (output_func_start_profiler): Likewise.
10488 * c-typeck.c (digest_init): Check if init is error_mark_node.
10490 Thu Sep 23 12:59:14 1999 Alex Samuel <samuel@codesourcery.com>
10491 Richard Henderson <rth@cygnus.com>
10493 * ggc-page.c: New file.
10494 * Makefile.in (ggc-page.o): New.
10496 Thu Sep 23 13:55:21 1999 Jeffrey A Law (law@cygnus.com)
10498 * invoke.texi: Document -fdelete-null-pointer-checks
10499 * toplev.c (flag_delete_null_pointer_checks): New.
10500 (f_options): Add entry for -fdelete-null-pointer-checks.
10501 (rest_of_compilation): Conditionalize null pointer check
10502 elimination on flag_delete_null_pointer_checks.
10503 (main): If -O2 or greater, enable -fdelete-null-pointer-checks
10505 1999-09-23 10:56 -0700 Zack Weinberg <zack@bitmover.com>
10507 * iso646.h, stdarg.h, stdbool.h, stddef.h, varargs.h: Add
10508 copyright notice and special exception to GPL.
10510 Thu Sep 23 13:40:23 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
10512 * abi64.h (mips_function_value): Add prototype arguments.
10514 * mips-protos.h: New file with mips prototypes.
10516 * mips.c: Include "tm_p.h".
10517 (mktemp, lookup_name): Add prototype arguments.
10518 (extern_list, string_constant, mips_fill_delay_slot,
10519 mips_output_external, mips_output_external_libcall,
10520 mips_output_filename, mips_declare_object, function_prologue,
10521 mips_expand_prologue, function_epilogue, mips16_constant,
10522 build_mips16_function_stub, mips_output_conditional_branch):
10524 (mips_va_start): Remove unused variable `u'.
10525 (mips_va_arg): Cast value to unsigned when comparing against one.
10527 (save_restore_insns, mips_expand_prologue): Add missing arg in
10528 call to `large_int'.
10530 * mips.h: Move prototypes to mips-protos.h.
10531 (data_section, memory_address_p, rdata_section,
10532 readonly_data_section, simple_epilogue_p, text_section): Delete
10533 prototypes delcared elsewhere.
10534 (mips_epilogue_delay_slots, print_options): Delete unused decls.
10536 (GO_PRINTF, GO_PRINTF2): Call fprintf, not trace.
10538 * mips.md: Delete extra args in call to `mips_move_2words'.
10540 * xm-iris6.h (alloca): Add prototype argument.
10542 * genpeep.c: Include "tm_p.h" in generated output file.
10544 Thu Sep 23 10:36:55 EDT 1999 Andrew MacLeod <amacleod@cygnus.com>
10546 * basic-block.h (find_edge_index): Change parameters.
10547 * flow.c (verify_edge_list): Pass basic_block parameters to
10548 find_edge_index instead of integers.
10550 Thu Sep 23 15:54:12 1999 Nick Clifton <nickc@cygnus.com>
10552 * combine.c (simplify_comparison): Use an unsigned shift to adjust
10555 Thu Sep 23 08:46:21 1999 Guy Harris <guy@netapp.com>
10557 * gcc.1: Fix a formatting error.
10559 Wed Sep 22 16:10:21 1999 Martin v. Löwis <loewis@informatik.hu-berlin.de>
10561 * install.texi (Configurations): Remove pyramid. Add fr30, i686,
10562 i786, mn10200, mn10300, pdp11, v850.
10564 Thu Sep 23 07:37:13 1999 Dan Nicolaescu <dann@ics.uci.edu>
10566 * libgcc2.c (num_digits): Add prototype with
10567 __attribute__((const)).
10568 (__terminate): Add prototype.
10570 Thu Sep 23 05:32:06 1999 Richard Henderson <rth@cygnus.com>
10572 * builtins.c, dbxout.c, varasm.c: Include tm_p.h.
10574 * alpha/alpha.c (print_operand): Fix type of `code'.
10575 (alpha_output_filename): Constify.
10576 * alpha/alpha.h: Move all function declarations ...
10577 * alpha/alpha-protos.h: ... here. New file.
10578 * alpha/elf.h (CONST_SECTION_FUNCTION): Prototype the function.
10579 (SECTION_FUNCTION_TEMPLATE): Likewise.
10581 Thu Sep 23 11:15:36 1999 Bernd Schmidt <bernds@cygnus.co.uk>
10583 * expmed.c (do_cmp_and_jump): Pass ccp_jump to can_compare_p.
10584 * expr.c (expand_expr): Likewise.
10585 (do_jump): Likewise.
10586 (do_store_flag): Pass ccp_store_flag to can_compare_p.
10587 * expr.h (enum optab_index): Add cbranch, cmov, cstore optabs and
10589 (enum can_compare_purpose): New.
10590 (can_compare_p): Adjust prototype.
10591 (prepare_cmp_insn, prepare_operand): Declare.
10592 * genopinit.c (optabs): Add cbranch_optab, cmov_optab, cstore_optab.
10593 * optabs.c (cmp_available_p): Deleted.
10594 (expand_abs): Pass ccp_jump to can_compare_p.
10595 (can_compare_p): New arg PURPOSE. Check for combined optabs.
10596 (prepare_cmp_insn): No longer static. Add arg PURPOSE.
10597 Call can_compare_p rather than cmp_available_p.
10598 (prepare_operand): No longer static.
10599 (emit_cmp_and_jump_insn): Check for and use cbranch patterns.
10600 (emit_cmp_and_jump_insns): Pass ccp_jump to prepare_cmp_insn.
10601 (expand_float): Fix a slightly broken emit_cmp_insn/emit_jump_insn
10602 sequence to use emit_cmp_and_jump_insns.
10603 (init_optabs): Initialize cbranch_optab, cmov_optab, cstore_optab.
10605 Wed Sep 22 17:58:01 1999 Stan Cox <scox@cygnus.com>
10607 * mips.h (GO_IF_LEGITIMATE_ADDRESS): Don't accept large
10608 register offsets; let LEGITIMIZE_ADDRESS load it into a register.
10609 (LEGITIMIZE_ADDRESS): Use plus_constant to avoid
10610 (plus (reg) (const_int 0))
10611 * mips.md (call_internal3c): New pattern for -mips16 -mlong-calls.
10613 Wed Sep 22 17:55:31 1999 David Edelsohn <edelsohn@gnu.org>
10615 * rs6000.c (expand_block_move): DImode loads and stores require
10616 word-aligned displacements. Increment address registers with
10617 adddi3 on 64-bit platform. Use TARGET_POWERPC64 not TARGET_64BIT.
10619 Wed Sep 22 17:35:55 1999 Michael Meissner <meissner@cygnus.com>
10621 * dwarf2out.c (base_type_die): Use the name __unknown__ if there
10622 is no name for the base type, rather than segfault. If we are
10623 writing out a complex integer type, use DW_ATE_lo_user.
10625 * expr.c (emit_move_insn_1): If we are copying a complex that fits
10626 in one word or less (complex char, complex short, or on 64 bit
10627 systems complex float) to/from a hard register, copy it through
10628 memory instead of dying in gen_{real,imag}part. If we have a
10629 short complex type, prevent inlining since it allocates stack
10632 * tree.c (build_complex_type): If we are writing dwarf2 output,
10633 generate a name for complex integer types.
10635 Wed Sep 22 11:34:08 EDT 1999 Andrew MacLeod <amacleod@cygnus.com>
10637 * basic-block.h (add_noreturn_fake_exit_edges): Use correct name.
10638 * flow.c (remove_edge): Remove extra whitespace.
10639 (remove_fake_edges): Fix comment.
10640 (add_noreturn_fake_exit_edges): Use the correct name.
10642 Wed Sep 22 16:12:40 BST 1999 Nathan Sidwell <nathan@acm.org>
10644 * Makefile.in (INTL_MOSTLYCLEAN, INTL_CLEAN): New variables.
10645 (mostlyclean): Depend on INTL_MOSTLYCLEAN.
10646 (clean): Depend on INTL_CLEAN.
10647 (maintainer-clean): Adjust.
10649 Wed Sep 22 10:18:56 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
10651 * configure.in (AC_PREREQ): Bump to 2.13.
10652 (AC_C_STRINGIZE): Call this instead of using a custom macro.
10654 * gansidecl.h (HAVE_STRINGIZE): Define, if stage2 gcc && __STDC__.
10656 * system.h (HAVE_STRINGIZE): Test this instead of HAVE_CPP_STRINGIFY.
10658 * acconfig.h (HAVE_CPP_STRINGIFY): Delete.
10660 * alpha/xm-vms.h (HAVE_CPP_STRINGIFY): Delete.
10661 (HAVE_STRINGIZE): Define.
10663 Wed Sep 22 06:25:15 1999 Jim Kingdon <http://developer.redhat.com>
10665 * c-parse.in: save and restore warn_pointer_arith on __extension__
10666 along with pedantic.
10667 (SAVE_WARN_FLAGS, RESTORE_WARN_FLAGS): Added.
10668 Set the type of extension to itype rather than $<itype>1 kludge.
10669 * extend.texi (Alternate Keywords): Adjust documentation.
10670 * c-parse.c, c-parse.y, objc-parse.c, objc-parse.y: Rebuilt.
10672 Wed Sep 22 06:06:57 1999 Jeffrey A Law (law@cygnus.com)
10674 * pa.c, pa.h, pa.md: Support multiple assembler dialects in
10675 most assembler templates.
10677 * pa.c (hppa_legitimize_address): Handle full offsets for PA2.0
10678 FP loads and stores.
10679 (following_call): Always return zero for the PA8000.
10680 * pa.h (GO_IF_LEGITIMATE_ADDRESS): Handle full offsets for PA2.0
10681 FP loads and stores.
10682 (LEGITIMIZE_RELOAD_ADDRESS): Similarly.
10684 * pa.h (BRANCH_COST): Define.
10686 * pa.md (return, return_internal): Use bve for PA2.0.
10688 * pa.md (fused multiply): Add variants which reduce height for the
10689 fused multiply, but which still generate 2 insns.
10690 (fnegabs): Similarly.
10692 * pa.md (subsi3): Turn into an expander. Create two anonymous
10693 patterns. One for PA2.0 one for PA1.x. Use mtsarcm for PA2.0.
10694 * pa.h (EXTRA_CONSTRAINT): Handle 'S'.
10696 * pa.md (floatunssisf2, floatunssidf2): Generate different RTL
10698 (floatunssidf2_pa20, floatunssisf2_pa20): New patterns for PA2.0
10700 (floatunsdisf2, floatunsdidf2, fixuns_truncsfsi2): Likewise.
10701 (fixuns_truncdfsi2, fixuns_truncsfdi2, fixuns_truncdfsi2): Likewise.
10703 * regclass.c (init_regs): Add "top_of_stack" as a garbage
10706 * flow.c (record_active_eh_regions): Terminate loop after finding
10707 the last insn in the last basic block.
10709 Wed Sep 22 20:25:00 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
10711 * config/c4x/c4x.md: Delete parallel instruction peepholes.
10713 Wed Sep 22 19:59:19 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
10715 * config/c4x/c4x.c (c4x_add_gc_roots): Add tree roots.
10717 Wed Sep 22 19:56:25 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
10719 * config/c4x/c4x.c (c4x_process_after_reload): Rework machdep insn
10720 splitting to not use output template.
10722 Wed Sep 22 19:50:12 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
10724 * config/c4x/c4x.h (EXPAND_BUILTIN_VA_START): Call c4x_va_start.
10725 * config/c4x/c4x.c (c4x_va_start): New function.
10727 Tue Sep 21 18:40:01 1999 Jan Hubicka <hubicka@freesoft.cz>
10729 * genrecog.c (not_both_true): Handle correctly cases when called for
10730 tests with different positions in the insn.
10732 Tue Sep 21 18:29:11 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
10734 * machmode.h (HOST_PTR_PRINTF): Move from here ...
10736 * system.h (HOST_PTR_PRINTF): ... to here.
10738 * mips-tfile.c: Don't include machmode.h.
10740 * Makefile.in (MACHMODE_H): New variable. Update to use it.
10741 (mips-tfile.o): Don't depend on machmode.h.
10743 Tue Sep 21 18:27:34 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
10745 * haifa-sched.c (sched_analyze): Rename local variable `region' to
10746 avoid conflicts with typedef struct `region' at the top level scope.
10748 Tue Sep 21 14:14:50 1999 Richard Henderson <rth@cygnus.com>
10750 * basic-block.h (basic_block): Add eh_beg, eh_end.
10751 * flow.c (entry_exit_blocks): Update.
10752 (find_basic_blocks): Don't allocate bb_eh_end, or pass it around.
10753 Call new functions.
10754 (find_basic_blocks_1): Don't record eh_list at each bb. Use
10755 lists.c functions to allocate insn lists.
10756 (make_edges): Use eh_beg+eh_end, not the lists. Split out EH
10758 (make_eh_edge): ... here. New.
10759 (move_stray_eh_region_notes): New.
10760 (record_active_eh_regions): New.
10761 (delete_unreachable_blocks): Split out block merging ...
10762 (try_merge_blocks): ... here. New.
10763 (merge_blocks_move_predecessor_nojumps): Remove edge arg.
10764 Dump debugging data.
10765 (merge_blocks_move_successor_nojumps): Likewise.
10766 (merge_blocks): Use eh_beg+eh_end to validate block movement.
10768 Tue Sep 21 11:15:03 1999 Martin v. Löwis <loewis@informatik.hu-berlin.de>
10770 * extend.texi (Bound member functions): Document unbound pmf
10773 Tue Sep 21 14:55:11 EDT 1999 Andrew MacLeod <amacleod@cygnus.com>
10775 * flow.c (split_edge): Handle insertion on a fallthrough edge which
10776 has the EXIT_BLOCK as a dest.
10778 Tue Sep 21 14:51:23 EDT 1999 Andrew MacLeod <amacleod@cygnus.com>
10780 * flow.c (remove_edge): New function to remove an edge from the
10782 (remove_fake_successors): New function to remove fake successor edges.
10783 (remove_fake_edges): New function to remove all fake edges from the
10785 (add_fake_exit_edges): New function to add fake edges from all blocks
10786 with no successors to the exit block.
10787 * basic-block.h (remove_fake_edges, add_fake_exit_edges): Add
10788 prototypes for new functions.
10790 Tue Sep 21 14:49:53 EDT 1999 Andrew MacLeod <amacleod@cygnus.com>
10792 * config/mips/elf64.h (ASM_OUTPUT_CONSTRUCTOR, ASM_OUTPUT_DESTRUCTOR):
10793 Use Pmode to determine whether to output .dword or .word.
10795 Tue Sep 21 11:04:34 1999 Alex Samuel <samuel@codesourcery.com>
10797 * tree.c (built_in_filename): New variable.
10798 (BUILT_IN_FILENAME): New macro.
10799 (init_tree_codes): Allocate built_in_filename.
10800 (make_node): Use built_in_filename instead of string constant.
10802 Tue Sep 21 14:13:27 1999 Nick Clifton <nickc@cygnus.com>
10804 * configure.in: Add fr30 target.
10805 * configure: Regenerate.
10806 * config/fr30: New directory.
10807 * config/fr30/crti.asm: New file.
10808 * config/fr30/fr30.c: New file.
10809 * config/fr30/crtn.asm: New file.
10810 * config/fr30/fr30.h: New file.
10811 * config/fr30/fr30.md: New file.
10812 * config/fr30/lib1funcs.asm: New file.
10813 * config/fr30/t-fr30: New file.
10814 * config/fr30/xm-fr30.h: New file.
10816 Tue Sep 21 06:45:31 1999 Jeffrey A Law (law@cygnus.com)
10818 * flow.c (merge_blocks_move_successor_nojumps): Delete the
10819 BARRIER at the end of the successor, not the BARRIER before
10822 * pa.c (pa_add_gc_roots): Fix thinko in last change.
10824 Tue Sep 21 05:29:17 1999 Richard Earnshaw (rearnsha@arm.com)
10826 * stmt.c (any_pending_cleanups): Don't crash when
10827 current_function->stmt is unset.
10829 Tue Sep 21 00:59:49 1999 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
10831 * emit-rtl.c (init_emit_once): Initialize const_int_rtx before
10832 other initializations that may use it for relative offsets.
10834 Mon Sep 20 21:43:25 1999 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
10836 * config/i386/sol2.h (PREFERRED_DEBUGGING_TYPE): Use stabs.
10837 (ASM_SPEC): Moved from sol2dbg.h. Added work-around for gas.
10838 * config/i386/sol2dbg.h: Removed.
10839 * config/i386/sol2gas.h: New file, to enable gas work-around.
10840 * configure.in: Use i386/sol2gas.h on Solaris/x86 --with-gas.
10841 Don't use sol2dbg.h.
10842 * configure: Rebuilt.
10844 Mon Sep 20 13:29:41 1999 Mark Mitchell <mark@codesourcery.com>
10846 * invoke.texi (-fthis-is-variable): Remove documentation.
10848 Mon Sep 20 12:59:16 1999 Richard Henderson <rth@cygnus.com>
10850 * basic-block.h (compute_bb_for_insn): Declare.
10851 * flow.c (compute_bb_for_insn): Export. Don't accept the varray
10852 to use; set size of basic_block_for_insn directly.
10853 (find_basic_blocks): Update.
10855 Mon Sep 20 15:11:54 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
10857 * flow.c (verify_flow_info): Fix typo, "abort;" -> "abort ();".
10859 Mon Sep 20 14:56:34 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
10861 * crtstuff.c (ON_EXIT): Delete empty macro definition.
10862 (__do_global_ctors_aux): Call atexit(), not ON_EXIT().
10864 Mon Sep 20 15:25:35 1999 Nick Clifton <nickc@cygnus.com>
10866 * c-decl.c (c_decode_option): Extend comment.
10868 Mon Sep 20 14:43:37 1999 Nick Clifton <nickc@cygnus.com>
10870 * toplev.c (progname): Make 'const char *'
10871 (flag_print_mem): Move out of main.
10872 (version_flag): Move out of main.
10873 (filename): Move out of main.
10874 (debug_args): Remove g prefix from options.
10875 (documented_lang_options): Remove cpplib specific options.
10876 (display_help): Add g prefix to debug options.
10877 (check_lang_option): Delete this function.
10878 (decode_d_option): New function: Decode -d... option.
10879 (decode_f_option): New function: Decode -f... option.
10880 (decode_W_option): New function: Decode -W... option.
10881 (decode_g_option): New function: Decode -g... option.
10882 (independent_decode_option): New function: Decode a language
10883 independent command line option.
10884 (main): Invoke lang_decode_option and then
10885 independent_decode_option on each command line option in
10888 Mon Sep 20 05:41:36 1999 Jeffrey A Law (law@cygnus.com)
10890 Revert this change. Gavin's patch to operand_equal_p is a better fix.
10891 * fold-const.c (fold_range_test): Do not try to fold the range
10892 test if the rhs or lhs has side effects.
10894 * basic-block.h (compute_flow_dominators): Declare.
10896 * gcse.c (alloc_code_hoist_mem): New function.
10897 (free_code_hoist_mem, compute_code_hoist_vbeinout): Likewise.
10898 (compute_code_hoist_data, hoist_expr_reaches_here_p): Likewise.
10899 (hoist_code, one_code_hoisting_pass): Likewise.
10900 (gcse_main): If optimizing for size, then hoist expressions
10901 computed in multiple dominated basic blocks.
10903 * gcse.c (invalid_nonnull_info): New function.
10904 (delete_null_pointer_checks): Likewise.
10905 * rtl.h (delete_null_pointer_checks): Declare.
10906 * toplev.c (rest_of_compilation): Call delete_null_pointer_checks.
10908 * flow.c (merge_blocks_move_predecessor_nojumps): New function.
10909 (merge-blocks_move_successor_nojumps): Likewise.
10910 (merge_blocks): Allow merging of some blocks, even if it requires
10911 physical movement of the blocks, but not if it requires new jumps.
10913 * bitmap.c (debug_bitmap_file): Renmaed from bitmap_debug_file.
10914 Callers and prototype changed.
10915 * bitmap.h: Fix debug_bitmap and debug_bitmap_file prototypes.
10917 Mon Sep 20 06:56:32 1999 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
10919 * config/sparc/sol2.h (LINK_SPEC): Avoid the duplication of
10920 -YP when both -p and -pg are present. From i386/sol2.h.
10922 Mon Sep 20 10:49:05 1999 Bernd Schmidt <bernds@cygnus.co.uk>
10924 * Makefile.in (distclean): Delete tm_p.h.
10925 * configure.in: Create a new file, "tm_p.h", from a list in
10926 "tm_p_file". For ix86 systems, set up "tm_p_file" to include
10927 "i386/i386-protos.h".
10929 * alias.c: Include "tm_p.h".
10930 * c-typeck.c: Likewise.
10931 * calls.c: Likewise.
10933 * emit-rtl.c: Likewise.
10934 * explow.c: Likewise.
10935 * expmed.c: Likewise.
10936 * expr.c: Likewise.
10937 * final.c: Likewise.
10938 * flow.c: Likewise.
10939 * fold-const.c: Likewise.
10940 * function.c: Likewise.
10941 * gcse.c: Likewise.
10942 * global.c: Likewise.
10943 * haifa-sched.c: Likewise.
10944 * integrate.c: Likewise.
10945 * jump.c: Likewise.
10946 * local-alloc.c: Likewise.
10947 * loop.c: Likewise.
10948 * optabs.c: Likewise.
10949 * recog.c: Likewise.
10950 * reg-stack.c: Likewise.
10951 * regclass.c: Likewise.
10952 * regmove.c: Likewise.
10953 * reload.c: Likewise.
10954 * reload1.c: Likewise.
10955 * reorg.c: Likewise.
10956 * resource.c: Likewise.
10957 * stmt.c: Likewise.
10958 * stor-layout.c: Likewise.
10959 * toplev.c: Likewise.
10960 * tree.c: Likewise.
10961 * unroll.c: Likewise.
10962 * genattrtab.c (main): Make generated file include "tm_p.h".
10963 * genemit.c (main): Likewise.
10964 * genoutput.c (main): Likewise.
10965 * genrecog.c (main): Likewise.
10967 * i386.h: Delete all prototypes.
10968 * i386.c: Include "tm_p.h".
10969 (ix86_attr_length_default): Call constant_call_address_operand
10970 with correct number of arguments.
10971 * i386-protos.h: New file.
10972 * i386.md (unnamed patterns): Call constant_call_address_operand
10973 with correct number of arguments.
10974 (exception_receiver): Call load_pic_register with correct number
10977 Sun Sep 19 14:18:39 1999 Richard Henderson <rth@cygnus.com>
10979 * c-pragma.c (mark_align_stack): Dereference the void* properly.
10981 Sun Sep 19 09:03:40 1999 Mark Mitchell <mark@codesourcery.com>
10983 * rtl.h (insns_safe_to_move_p): New function.
10984 * loop.c (find_and_verify_loops): Use it.
10985 * rtlanal.c (insns_safe_to_move_p): Define it.
10987 Sun Sep 19 02:54:33 1999 Richard Henderson <rth@cygnus.com>
10989 * c-pragma.c: Include ggc.h.
10990 * Makefile.in (c-pragma.o): Update.
10992 Sat Sep 18 16:01:18 1999 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
10994 * config/i386/sol2.h (CPP_SPEC): Support -[p]threads
10995 (LIB_SPEC): Likewise.
10996 (LINK_SPEC): Do not assert -z text with -shared -mimpure-text.
10997 Reindent -YP/-p/-pg.
10998 Copied from config/sparc/sol2.h.
11000 Sat Sep 18 11:52:43 1999 Richard Henderson <rth@cygnus.com>
11002 * c-pragma.c (mark_align_stack): New.
11003 (init_pragma): New.
11004 * c-pragma.h (init_pragma): Declare it.
11005 * c-lex.c (init_parse): Call it.
11007 Sat Sep 18 15:20:38 1999 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
11009 * configure.in: Pick up thread library on Solaris/x86 just
11010 like on Solaris/sparc.
11011 * configure: Rebuilt.
11013 Sat Sep 18 11:15:58 1999 Alex Samuel <samuel@codesourcery.com>
11015 * rtl.h (global_rtx_index): New enum.
11016 (global_rtl): Change to array of rtx.
11017 (pc_rtx, cc0_rtx): Redefine accordingly.
11018 (cc0_rtx, stack_pointer_rtx, frame_pointer_rtx): Likewise.
11019 (hard_frame_pointer_rtx, arg_pointer_rtx): Likewise.
11020 (virtual_incoming_args_rtx, virtual_stack_vars_rtx): Likewise.
11021 (virtual_outgoing_args_rtx, virtual_cfa): Likewise.
11022 (const_int_rtx): Change to array of rtx.
11023 (const0_rtx, const1_rtx, const2_rtx, constm1_rtx): Redefine
11025 * emit-rtl.c (global_rtl): Change to array of rtx.
11026 (const_int_rtx): Change to aray of rtx.
11027 (gen_rtx_CONST_INT): Redefine accordingly.
11028 (init_emit_once): Allocate and initialize global_rtl. Likewise
11029 for const_int_rtx. Add both as GC roots.
11030 * genattrtab.c (global_rtl): Update declaration.
11032 1999-09-17 Ulrich Drepper <drepper@cygnus.com>
11034 * Makefile (USER_H): Add iso646.h back.
11036 Sat Sep 18 01:07:21 1999 Jeffrey A Law (law@cygnus.com)
11038 * haifa-sched.c (sched_analyze): Use free_INSN_LIST_list instead of
11039 zapping the LOG_LINKS of sched_before_next_call.
11041 * pa.h (INSN_SETS_ARE_DELAYED): Delete.
11042 * pa.c (insn_refs_are_delayed): Renamed from
11043 insn_sets_and_refs_are_delayed.
11045 Fri Sep 17 15:19:01 1999 Mark Mitchell <mark@codesourcery.com>
11047 * functiion.h (struct function): Add x_whole_function_mode_p.
11048 (retrofit_block): Declare.
11049 * function.c (retrofit_block): New function.
11050 (identify_blocks): Add assertions. Allow an incomplete set of
11051 block notes if we're still generating code for the function.
11052 * integrate.c: Include loop.h.
11053 (expand_inline_function): Call find_loop_tree_blocks to map block
11054 notes to blocks when in whole-function mode. Use retrofit_block
11055 to insert new BLOCKs for the inlined function, rather than
11057 * stmt.c (expand_fixup): Likewise. Don't use pushlevel/polevel.
11058 * Makefile.in (integrate.o): Depend on loop.h.
11060 Fri Sep 17 15:11:20 1999 Mark Mitchell <mark@codesourcery.com>
11062 * tree.h (warn_about_unused_variables): Declare.
11063 * stmt.c (warn_about_unused_variables): New function, split out
11065 (expand_end_bindings): Here.
11067 Fri Sep 17 15:07:37 1999 Mark Mitchell <mark@codesourcery.com>
11069 * stmt.c (preserve_subexpressions_p): Don't crash when
11070 current_function->stmt is unset.
11072 Fri Sep 17 15:03:16 1999 Mark Mitchell <mark@codesourcery.com>
11074 * stmt.c (expand_start_bindings): Allow callers to pass a flag
11075 indicating that no NOTE_INSN_BLOCK_BEG note is required.
11076 (expand_start_target_temps): Use it.
11077 * except.c (expand_eh_region_start_for_decl): Likewise.
11078 * expr.c (expand_expr): Likewise.
11080 Fri Sep 17 15:05:27 1999 Gavin Romig-Koch <gavin@cygnus.com>
11082 * fold-const.c (operand_equal_p): Pay attention to side effects.
11084 Fri Sep 17 11:14:17 1999 Jason Merrill <jason@yorick.cygnus.com>
11086 * libgcc2.c (L_exit): Check for ON_EXIT, not HAVE_ON_EXIT.
11087 * sparc/sunos4.h (HAVE_ON_EXIT): Remove.
11089 * tlink.c (scan_linker_output): Look for keywords before accepting
11090 a mangled name in quotes.
11092 Thu Sep 16 16:47:08 1999 Richard Henderson <rth@cygnus.com>
11094 * alpha/alpha-interix.h (DWARF2_UNWIND_INFO): Define to zero.
11095 * alpha/osf2or3.h (DWARF2_UNWIND_INFO): Likewise.
11097 Thu Sep 16 16:35:41 1999 Richard Henderson <rth@cygnus.com>
11099 * alpha.md: Revert Thu Nov 26 change that came in through the
11100 last gcc2 merge: reinstate (plus (plus ...)) reload patterns.
11101 Avoid earlyclobber when possible.
11103 Thu Sep 16 18:44:48 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
11105 * libgcc2.c (__do_global_ctors): Call atexit with one arg.
11107 * sparc/sunos4.h (on_exit): Wrap prototype parameters in PARAMS().
11108 Define HAVE_ON_EXIT.
11110 Thu Sep 16 18:06:35 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
11112 * system.h (CTYPE_CONV, TOUPPER, TOLOWER): New macros. Use
11113 CTYPE_CONV in all ctype macros.
11115 * cccp.c (initialize_char_syntax): Use uppercase ctype macro
11118 * cexp.y (initialize_random_junk): Likewise.
11120 * c4x.c (c4x_interrupt_function_p, c4x_handle_pragma): Likewise.
11122 * i370.c (handle_pragma): Likewise.
11124 * i370.h (ASM_OUTPUT_LABELREF, ASM_OUTPUT_ASCII): Likewise.
11126 * v850.c (override_options): Likewise.
11128 * doprint.c (_doprnt): Likewise.
11130 * fixinc/fixincl.c (main, quoted_file_exists, extract_quoted_files):
11133 * fixinc/server.c (load_data): Likewise.
11135 * fold-const.c (real_hex_to_f): Likewise.
11137 * genattr.c (write_upcase, gen_attr): Likewise.
11139 * genattrtab.c (convert_const_symbol_ref, evaluate_eq_attr,
11140 write_upcase): Likewise.
11142 * genemit.c (print_code): Likewise.
11144 * genopinit.c (gen_insn): Likewise.
11146 * genpeep.c (print_code): Likewise.
11148 * genrecog.c (print_code): Likewise.
11150 * optabs.c (init_libfuncs): Likewise.
11152 Thu Sep 16 14:03:32 1999 Mark Mitchell <mark@codesourcery.com>
11154 * haifa-sched.c (sched_analyze): Keep the list of notes organized
11156 (reemit_notes): Likewise.
11158 Thu Sep 16 11:50:52 1999 Alex Samuel <samuel@codesourcery.com>
11160 * ggc.h (ggc_root): Move to ggc-common.c.
11162 (ggc_mark_rtx, ggc_mark_tree): Change to macro.
11163 (ggc_mark_rtvec, ggc_mark_tree_varray): Declare extern.
11164 (ggc_mark_tree_hash_table, ggc_mark_string, ggc_mark): Likewise.
11165 (ggc_mark_roots, ggc_mark_rtx_children, ggc_mark_tree_children): New.
11166 * ggc-common.c (ggc_root): Move from ggc.h.
11167 (roots): Declare, static.
11168 (ggc_mark_rtx, ggc_mark_tree): Renamed to...
11169 (ggc_mark_rtx_children, ggc_mark_tree_children): Don't check for
11170 null or check/set mark bit.
11171 (ggc_mark_roots): New.
11172 * ggc-simple.c (ggc_collect): Call ggc_mark_roots.
11174 Thu Sep 16 11:37:32 1999 Richard Henderson <rth@cygnus.com>
11176 * m32r.c: Include toplev.h.
11177 (*): Add ATTRIBUTE_UNUSED as needed to arguments.
11178 (gen_compare): Rename swap_p to must_swap to match uses.
11179 Add default abort case.
11180 (m32r_output_function_epilogue): Remove unused variables.
11181 (m32r_print_operand): Use HOST_WIDE_INT_PRINT_HEX.
11182 * m32r.h (PROTO, STDIO_PROTO): Rename XPROTO; unconditionally
11183 define to empty parameter list. Update all uses.
11184 (predicate decls): Use enum machine_mode not int.
11185 * m32r.md (movsi): Call abort, not fatal_insn.
11186 (zero_branch_insn, rev_zero_branch_insn): Add default abort case.
11188 1999-09-14 Andrew Haley <aph@cygnus.com>
11190 * config/mips/mips.md (movsi_usw): if operand 1 is const_int 0,
11191 use $0 instead of 0.
11193 Thu Sep 16 10:53:36 1999 Bernd Schmidt <bernds@cygnus.co.uk>
11195 * reload1.c (order_regs_for_reload): Move hard_reg_n_uses
11196 computation out of loop over hard regs.
11198 Wed Sep 15 21:37:06 1999 Mark Mitchell <mark@codesourcery.com>
11200 * function.c (identify_blocks): Don't shadow a variable in an
11202 * integrate.c (integrate_decl_tree): Don't use pushlevel,
11203 pushdecl, or poplevel to build up the new BLOCK tree.
11204 (expand_inline_function): Likewise.
11205 (integrate_parm_decls): Likewise.
11207 Wed Sep 15 21:20:38 1999 Mark Mitchell <mark@codesourcery.com>
11209 * c-typeck.c (qualify_type): Merge qualifiers from both types.
11211 1999-09-15 Brad Lucier <lucier@math.purdue.edu>
11213 * toplev.c: Allow -f[no-]math-errno to set (clear) flag_errno_math
11214 * invoke.texi: Document this change.
11216 Wed Sep 15 17:56:00 1999 Richard Henderson <rth@cygnus.com>
11218 * emit-rtl.c (free_emit_status): Don't check DECL_DEFER_OUTPUT.
11220 (mark_emit_status): Renamed from mark_emit_state.
11221 * except.c (mark_eh_status): Renamed from mark_eh_state.
11222 Check not null before marking.
11223 (free_eh_status): New.
11224 * expr.c (mark_expr_status, free_expr_status): New.
11225 * function.c (free_machine_status): New.
11226 (free_after_parsing): New.
11227 (free_after_compilation): Move bits to free_after_parsing; call
11228 free_eh_status, free_expr_status; zero the marked members of the
11230 (prepare_function_start): No can_garbage_collect.
11231 Call init_eh_for_function.
11232 (expand_dummy_function_end): Free up current_function state.
11233 (mark_function_status): Renamed from mark_function_state.
11234 (mark_function_chain): No can_garbage_collect. Call mark_expr_status.
11235 * function.h (struct function): No can_garbage_collect.
11236 (free_machine_status, free_after_parsing): Declare.
11237 (free_eh_status, free_expr_status): Declare.
11238 * ggc.h (mark_expr_status): Declare.
11239 * stmt.c (free_stmt_status): Free the struct.
11240 (mark_stmt_status): Renamed from mark_stmt_state.
11241 (init_stmt): Don't call init_eh.
11242 (init_stmt_for_function): Don't call init_eh_for_function.
11243 * toplev.c (compile_file): Call init_eh.
11244 (rest_of_compilation): Free basic block info before ggc_collect.
11245 Call free_after_parsing; conditionally call free_after_compilation.
11246 * varasm.c (mark_varasm_status): Renamed from mark_varasm_state.
11247 Check not null before marking.
11248 (free_varasm_status): Don't check DECL_DEFER_OUTPUT. Free the struct.
11250 Wed Sep 15 17:53:16 1999 Richard Henderson <rth@cygnus.com>
11252 * c-lex.c (yylex): Initialize warn.
11254 Wed Sep 15 18:35:38 1999 Jeffrey A Law (law@cygnus.com)
11256 * pa.c (emit_move_sequence): Properly set the mode of the scratch
11257 register when performing secondary reloads for the SAR register.
11259 Wed Sep 15 15:51:52 1999 Mark Mitchell <mark@codesourcery.com>
11261 * rtl.h (NOTE_BLOCK_NUMBER): Replace with ...
11262 (NOTE_BLOCK): New macro.
11263 (NOTE_BLOCK_LIVE_RANGE_BLOCK): Remove.
11264 * function.h (identify_blocks): Change prototype.
11265 * function.c (identify_blocks): Simplify.
11266 (reorder_blocks): Likewise.
11267 * ggc-common.c (ggc_mark_rtx): Mark the BLOCK associated with a
11268 NOTE_INSN_BLOCK_{BEG,END}.
11269 * haifa-sched.c (sched_analyze): Don't put NOTE_BLOCK_NUMBER on
11270 the list of saved notes if the note isn't a
11271 NOTE_INSN_BLOCK_{BEG,END}.
11272 (move_insn1): Use NOTE_EH_HANDLER in comment, rather than
11274 (reemit_notes): Adjust recreation of notes to reflect new saved
11276 * print-rtl.c (print_rtx): Print the address of the BLOCK when
11277 printing a block note.
11278 * stmt.c (block_vector): Remove.
11279 (find_loop_tree_blocks): Simplify.
11280 (unroll_block_trees): Likewise.
11281 * tree.h (reorder_block): Change prototype.
11283 Wed Sep 15 14:39:35 1999 Jason Merrill <jason@yorick.cygnus.com>
11285 * gbl-ctors.h: Lose HAVE_ATEXIT. Don't define ON_EXIT.
11286 * libgcc2.c: Lose obsolete defn of WEAK_ALIAS.
11287 (__bb_init_func, __bb_init_prg): Use atexit instead of ON_EXIT.
11288 (__do_global_dtors): Likewise. Don't mess with _exit_dummy_decl.
11289 (atexit, exit): Simplify.
11290 * tm.texi: Document NEED_ATEXIT and ON_EXIT. Remove HAVE_ATEXIT.
11291 * config/lots: Remove defns of HAVE_ATEXIT.
11293 Wed Sep 15 10:25:12 1999 Mark Mitchell <mark@codesourcery.com>
11295 * calls.c (precompute_arguments): Fix typo in comment.
11296 * expr.c (preexpand_calls): Don't preexpand the cleanup in a
11299 Wed Sep 15 09:59:59 1999 Mark Mitchell <mark@codesourcery.com>
11301 * dsp16xx.c (override_options): Fix typos in GC root registration.
11303 Wed Sep 15 15:23:28 1999 Philip Blundell <pb@nexus.co.uk>
11305 * config/arm/linux-elf.h (MAKE_DECL_ONE_ONLY): Copy definition
11306 from config/svr4.h.
11307 (UNIQUE_SECTION_P, UNIQUE_SECTION): Likewise.
11308 (FUNCTION_PROFILER): Redefine appropriately for Linux.
11309 (CC1_SPEC): Likewise.
11311 Wed Sep 15 10:09:48 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
11313 * genattr.c (main): Add extern prototype. Call return, not exit.
11314 * genattrtab.c (main): Likewise.
11315 * gencheck.c (main): Likewise.
11316 * gencodes.c (main): Likewise.
11317 * genconfig.c (main): Likewise.
11318 * genemit.c (main): Likewise.
11319 * genextract.c (main): Likewise.
11320 * genflags.c (main): Likewise.
11321 * gengenrtl.c (main): Likewise.
11322 * genopinit.c (main): Likewise.
11323 * genoutput.c (main): Likewise.
11324 * genpeep.c (main): Likewise.
11325 * genrecog.c (main): Likewise.
11327 * genattr.c (get_insn_name): Mark parameter with ATTRIBUTE_UNUSED.
11328 * genattrtab.c (get_insn_name): Likewise.
11329 * gencodes.c (get_insn_name): Likewise.
11330 * genconfig.c (get_insn_name): Likewise.
11331 * genemit.c (get_insn_name): Likewise.
11332 * genextract.c (get_insn_name): Likewise.
11333 * genflags.c (get_insn_name): Likewise.
11334 * genopinit.c (get_insn_name): Likewise.
11335 * genpeep.c (get_insn_name): Likewise.
11337 * gencheck.c (usage): Add static prototype.
11338 * genextract.c (print_path): Constify a char*.
11339 * genopinit.c (optabs): Likewise.
11340 * genoutput.c (operand_data, data, output_predicate_decls,
11341 compare_operands): Likewise.
11342 * genrecog.c (write_tree): Add default case in switch.
11344 Wed Sep 15 09:59:16 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
11346 * rtl.h (get_insn_name, print_rtl_with_bb): Add prototypes.
11348 * print-rtl.c (get_insn_name): Remove prototype.
11350 * toplev.h (progname): Declare const.
11352 * toplev.c (init_decl_processing, init_obstacks, init_tree_codes,
11353 init_regs, init_optabs, init_stmt, init_reg_sets, dump_flow_info,
11354 dump_sched_info, dump_local_alloc, regset_release_memory,
11355 print_rtl, print_rtl_with_bb, rest_of_decl_compilation,
11356 error_with_file_and_line, error_with_decl, error_for_asm, error,
11357 fatal, warning_with_file_and_line, warning_with_decl, warning,
11358 pedwarn, pedwarn_with_decl, pedwarn_with_file_and_line, sorry):
11359 Remove redundant prototypes.
11361 (notice, check_lang_option, report_file_and_line, vnotice,
11362 mark_file_stack): Add static prototype.
11363 (set_fatal_function): Add prototype.
11364 (vnotice, report_file_and_line, set_fatal_function,
11365 check_lang_option): Constify a char*.
11366 (main): Prototype. Call return, not exit.
11368 Wed Sep 15 09:50:18 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
11370 * aclocal.m4 (AC_GCC_C_LONG_DOUBLE): New macro.
11372 * configure.in (AC_GCC_C_LONG_DOUBLE): Call it.
11374 * gansidecl.h (HAVE_LONG_DOUBLE): Define if gcc for stage2.
11376 * ggc-simple.c (HAVE_LONG_DOUBLE): Test before using long double.
11378 Wed Sep 15 11:04:43 1999 Bernd Schmidt <bernds@cygnus.co.uk>
11380 * function.c (assign_parms): Delete arg SECOND_TIME. Don't test it,
11381 behave as if it's zero in all cases.
11382 (expand_function_start): Adjust call to assign_parms.
11383 * tree.h (assign_parms): Adjust prototype.
11384 * objc/objc-act.c (hack_method_prototype): Adjust call to
11387 Tue Sep 14 21:47:06 1999 Jeffrey A Law (law@cygnus.com)
11389 * cse.c (FIXED_BASE_PLUS_P): Do not consider referneces to
11390 arg_pointer_rtx fixed if the argument pointer register is
11392 (NONZERO_BASE_PLUS_P): Likewise.
11394 Tue Sep 14 20:26:02 1999 Richard Henderson <rth@cygnus.com>
11396 * rtl.def (match_insn, match_insn2): Remove match_insn; rename
11397 match_insn2 to match_insn.
11398 * genrecog.c (add_to_sequence): Rename MATCH_INSN2.
11400 Tue Sep 14 20:10:29 1999 Richard Henderson <rth@cygnus.com>
11402 * Makefile.in (USER_H): Remove va-foo.h.
11404 * ginclude/{va-alpha.h,va-arc.h,va-c4x.h,va-clipper.h,va-h8300.h,
11405 va-i860.h,va-i960.h,va-m32r.h,va-m88k.h,va-mips.h,va-mn10200.h,
11406 va-mn10300.h,va-pa.h,va-ppc.h,va-pyr.h,va-sh.h,va-sparc.h,
11407 va-spur.h,va-v850.h}: Remove.
11409 Tue Sep 14 19:43:16 1999 Richard Henderson <rth@cygnus.com>
11411 * sparc/sparc.md (eligible_for_return_delay): New attribute.
11412 (in_return_delay): Use it instead of match_insn.
11414 Tue Sep 14 23:05:37 1999 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
11416 * config/alpha/va_list.h (va-alpha.h): Do not include.
11417 (__gnuc_va_list): Typedef as in varargs.h.
11419 Tue Sep 14 18:14:03 1999 Richard Henderson <rth@cygnus.com>
11421 * ggc-common.c (ggc_mark_tree): Mark DECL_SOURCE_FILE and
11422 DECL_LIVE_RANGE_RTL.
11424 Tue Sep 14 16:47:08 1999 Mark Mitchell <mark@codesourcery.com>
11426 * except.c (expand_eh_region_start_for_decl): Use NOTE_EH_HANDLER,
11427 not NOTE_BLOCK_NUMBER.
11428 (expand_eh_region_end): Likewise.
11429 (find_exception_handler_labels): Likewise.
11430 (scan_region): Likewise.
11431 (exception_optimize): Likewise.
11432 (update_rethrow_references): Likewise.
11433 (set_insn_eh_region): Likewise.
11434 * final.c (final_scan_insn): Likewise.
11435 * flow.c (make_edges): Likewise.
11436 * integrate.c (expand_inline_function): Likewise.
11437 * print-rtl.c (print_rtx): Likewise.
11439 Tue Sep 14 16:30:16 1999 Richard Henderson <rth@cygnus.com>
11441 * ginclude/stdarg.h, ginclude/varargs.h: Implement in
11442 terms of builtin functions and types.
11444 * mips.c (mips_build_va_list): New.
11445 (mips_va_start, mips_va_arg): New.
11446 * mips.h (BUILD_VA_LIST_TYPE): New.
11447 (EXPAND_BUILTIN_VA_START, EXPAND_BUILTIN_VA_ARG): New.
11449 * sh.c (sh_builtin_saveregs): Use get_varargs_alias_set.
11450 (sh_build_va_list, sh_va_start, sh_va_arg): New.
11451 * sh.h (BUILD_VA_LIST_TYPE): New.
11452 (EXPAND_BUILTIN_VA_START, EXPAND_BUILTIN_VA_ARG): New.
11454 Tue Sep 14 16:20:24 1999 Richard Henderson <rth@cygnus.com>
11456 * recog.h (struct recog_data): Make dup_num, operand_address_p,
11457 n_operands, n_dups, n_alternatives `char' instead of `unsigned char'.
11458 (struct insn_data): Likewise with n_operands, n_dups,
11459 n_alternatives, output_format.
11460 * regclass.c (scan_one_insn): Cast n_operands to int before
11461 arithmetic inside comparison.
11463 Tue Sep 14 15:13:36 1999 Richard Henderson <rth@cygnus.com>
11465 * toplev.c (compile_function): Unconditionally emit nop.
11467 Tue Sep 14 14:41:47 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
11469 * haifa-sched.c (actual_hazard): Move declaration of variable
11470 `this_cost' into the scope where it is used.
11472 Tue Sep 14 14:14:28 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
11474 * c-pragma.c (handle_pragma_token): Wrap variables `name' and
11475 `value' in HANDLE_PRAGMA_WEAK. Wrap variable `align' in
11476 HANDLE_PRAGMA_PACK||HANDLE_PRAGMA_PACK_PUSH_POP.
11478 * genrecog.c (make_insn_sequence): Call memset, not bzero.
11480 * jump.c (find_insert_position): Don't declare or define unless
11481 !HAVE_conditional_arithmetic.
11482 (returnjump_p_1, delete_prior_computation): Add static prototypes.
11484 * mips-tdump.c (fatal, fancy_abort, main): Add extern prototypes.
11486 * recog.c (offsettable_address_p): Prototype function pointer.
11487 (preprocess_constraints): Call memset, not bzero.
11489 * tree.c (tree_node_kind_names): Constify a char*. Make static.
11490 (gcc_obstack_init): Don't declare.
11491 (fix_sizetype): Add static prototype.
11492 (gcc_obstack_init): Use prototype casts in call to _obstack_begin.
11493 (tree_cons): Call memset, not bzero.
11495 * varasm.c (remove_from_pending_weak_list): Wrap declaration and
11496 definition in macro ASM_WEAKEN_LABEL.
11497 (mark_const_hash_entry): Add static prototype.
11499 Tue Sep 14 12:22:50 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
11501 * c-lex.c (handle_generic_pragma): Remove unused variable `c'.
11503 * unroll.c (find_common_reg_term, subtract_reg_term,
11504 loop_find_equiv_value): Add static prototypes.
11505 (unroll_loop): Wrap variable `prev' in macro HAVE_cc0.
11506 (copy_loop_body): Remove unreachable break statement.
11508 * sparc.c (sparc_va_arg): Remove unused variable `tmp'.
11510 * sparc.h (sparc_va_start, sparc_va_arg): Add extern prototypes.
11512 Tue Sep 14 15:28:00 1999 Bernd Schmidt <bernds@cygnus.co.uk>
11514 Undo some changes from the gcc2 merge:
11515 * rtl.def (CONSTANT_P_RTX): Fix the comment for this rtx code.
11516 * emit-rtl.c (gen_rtx_REG): Don't test special reg rtx's for null
11520 Sat Oct 3 07:20:28 1998 Stephen L Moshier <moshier@world.std.com>
11521 * emit-rtl.c (gen_lowpart_common): Disable optimization of
11522 initialized float-int union if the value is a NaN.
11524 Tue Sep 14 04:03:44 1999 Mumit Khan <khan@xraylith.wisc.edu>
11526 * gthr-win32.h: New file.
11528 * i386/winnt.c (i386_pe_valid_decl_attribute_p): Recognize
11529 shared as a valid attribute.
11530 * i386/cygwin.h (ASM_OUTPUT_SECTION): Handle shared attribute.
11531 * extend.texi: Document `shared' variable attribute.
11533 Tue Sep 14 04:01:46 1999 Loren Rittle <ljrittle@acm.org>
11535 * configure.in: Handle --enable-threads on FreeBSD.
11536 * configure: Rebuit.
11538 Tue Sep 14 03:58:44 1999 Andreas Jaeger <aj@arthur.rhein-neckar.de>
11540 * configure.in: Add crtbeginS.o, crtendS.o for mips-linux; add
11542 * configure: Rebuilt.
11544 Tue Sep 14 03:47:23 1999 Joel Sherrill <joel@OARcorp.com>
11545 Charles-Antoine Gauthier <charles.gauthier@iit.nrc.ca>
11546 Rosimildo DaSilva <rdasilva@connecttel.com>
11548 * configure.in (m68k-*-rtemscoff*): Added.
11549 * configure.in (mips64orion-*-rtems*): Converted to ELF.
11550 * configure.in (sparc-*-rtemsaout*): Added as alias for old
11551 sparc-rtems configuration.
11552 * configure.in (sparc-*-rtemself*): Added.
11553 * configure.in (sparc-*-rtems*): Now ELF not a.out.
11554 * config/i386/rtems.h: Added comment.
11555 * config/sparc/rtemself.h: New file.
11557 * configure.in (m68k-rtemself): Added.
11558 * config/elfos.h: Added ifndef wrapper for DWARF2_DEBUGGING_INFO
11559 and DWARF_DEBUGGING_INFO.
11560 * config/m68k/crti.s: New file.
11561 * config/m68k/crtn.s: New file.
11562 * config/m68k/t-crtstuff: New file.
11563 * config/m68k/rtemself.h: New file.
11565 * configure.in (i[[34567]]86-*-rtemself*): Now uses crtstuff for
11566 global ctor/dtor and C++ exception handling.
11567 * config/i386/rtemself.h: Now uses crtstuff (crti.o + crtbegin.o)
11568 for STARTFILE_SPEC and crtstuff (crtend.o + crtn.o) for
11570 * config/i386/t-rtems-i386: New File.
11572 Tue Sep 14 09:47:41 1999 Andreas Schwab <schwab@suse.de>
11574 * stmt.c (expand_end_case): Return right away if the case stack is
11577 Tue Sep 14 01:47:19 1999 Jeffrey A Law (law@cygnus.com)
11579 * Makefile.in (version.c): Remove rule incorrectly brought in from
11582 Tue Sep 14 01:42:27 1999 Marc Espie <espie@cvs.openbsd.org>
11584 * Makefile.in: Prepend $(SHELL) to move-if-change calls.
11585 * msdos/top.sed: Take into account a prepended $(SHELL) to
11587 * winnt/config-nt.sed: Likewise. Kill bogus substitution.
11589 * objc/Make-lang.in: Prepend $(SHELL) to move-if-change calls.
11591 Tue Sep 14 01:38:52 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
11593 * regmove.c (fixup_match_1): Don't change an unchanging register.
11594 (stable_but_for_p): Renamed to:
11595 (stable_and_no_regs_but_for_p). Reject unchanging registers too.
11596 Changed all callers.
11598 Tue Sep 14 01:33:15 1999 Andreas Schwab <schwab@suse.de>
11600 * loop.c (strength_reduce): Don't call reg_used_between_p if the
11601 insn from BL2 is after the insn from BL.
11603 Mon Sep 13 21:06:01 1999 Richard Henderson <rth@cygnus.com>
11605 * recog.h (INSN_OUTPUT_FORMAT_*): New.
11606 (struct insn_data): Merge `template' and `outfun' into `output'.
11607 Add `output_format'.
11608 * genoutput.c (INSN_OUTPUT_FORMAT_*): New.
11609 (struct data): Remove `outfun'; add `output_format'.
11610 (name_for_index): Remove declaration.
11611 (output_insn_data): Handle output formats.
11612 (process_template): Emit the bare array for @.
11613 (gen_expand, gen_split): Set output_format to NONE.
11614 * output.h (get_insn_template): Declare.
11615 * final.c (get_insn_template): New.
11616 (final_scan_insn): Use it.
11617 * toplev.c (compile_file): Likewise.
11619 * c4x/c4x.c (c4x_process_after_reload): Likewise.
11620 * i860/i860.c (output_delayed_branch): Likewise.
11621 (output_delay_insn): Likewise.
11623 1999-09-13 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
11625 * rtl.c (obstack_alloc_rtx): Removed.
11627 1999-09-13 17:03 -0700 Zack Weinberg <zack@bitmover.com>
11629 * config/gmicro/gmicro.md: Disable move DF->DI anonymous pattern.
11631 Mon Sep 13 15:21:46 1999 Richard Henderson <rth@cygnus.com>
11633 * i386.c (call_insn_operand): Reject const_int.
11634 (expander_call_insn_operand): Use call_insn_operand.
11636 Mon Sep 13 17:44:28 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
11638 * gcc.c (getrusage): Wrap prototype arguments in PROTO().
11640 1999-09-13 12:18 -0700 Zack Weinberg <zack@bitmover.com>
11642 * config/i370/i370.md (mulsi, divsi, modsi anonymous insns):
11643 Use DImode operation.
11645 1999-09-13 12:13 -0700 Zack Weinberg <zack@bitmover.com>
11647 * gcc.c: Include sys/resource.h.
11648 (report_times): New flag.
11649 (execute): If report_times is set, calculate and report the
11650 CPU time consumed by each subprocess.
11652 (rus, prus): New globals.
11653 (option_map): Add --time.
11654 (display_help): Document -time.
11655 (process_command): Set report_times if -time is given.
11656 Turn off -pipe if -time is given.
11658 * invoke.texi: Document new option -time.
11660 * configure.in: Check for getrusage. Check if we have to
11661 prototype getrusage.
11662 * acconfig.h: Add NEED_DECLARATION_GETRUSAGE.
11663 * configure: Regenerate.
11664 * config.in: Regenerate.
11666 Mon Sep 13 12:57:06 1999 Dave Brolley <brolley@cygnus.com>
11668 * cppinit.c (append_include_chain): Initialize 'next' and 'alloc'
11671 Mon Sep 13 10:01:33 1999 Nick Clifton <nickc@cygnus.com>
11673 * config/fp-bit.c: Define L_thenan_sf or L_thenan_df (as
11674 appropriate) if FINE_GRAINED_LIBRARIES is not defined.
11675 (nan): Return _thenan_sf or _thenan_df as appropriate.
11676 (L_thenan_sf): Define _thenan_sf.
11677 (L_thenan_df): Define _thenan_df.
11679 * Makefile.in (FPBIT_FUNCS): Add _thenan_sf.
11680 (DPBIT_FUNCS): Add _thenan_df.
11682 Mon Sep 13 09:38:53 1999 Andreas Schwab <schwab@suse.de>
11684 * tree.c (fix_sizetype): Exchange the types for TYPE_SIZE and
11687 Sun Sep 12 23:28:20 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
11689 * Makefile.in (gcc.o, gccspec.o, cppspec.o): Depend on gcc.h.
11692 (lang_specific_driver): Don't take a function pointer parameter.
11693 All callers changed.
11695 * gcc.c: Include gcc.h.
11696 (do_spec, fancy_abort,lang_specific_driver,lang_specific_pre_link,
11697 lang_specific_extra_outfiles, fatal): Don't declare.
11698 (multilib_defaults_raw): Constify.
11699 (read_specs): Call memset, rather than bzero.
11700 (main): Call return, not exit.
11701 (lookup_compiler): Call memcpy, not bcopy.
11702 (fatal): Make extern.
11704 * cppspec.c: Include gcc.h.
11705 (lang_specific_driver): Initialize variable `quote'. Constify a
11706 char*. All calls to the function pointer parameter now
11707 explicitly call `fatal'.
11709 * gccspec.c (lang_specific_driver): Include gcc.h.
11711 Sun Sep 12 19:52:10 1999 Richard Earnshaw <rearnsha@arm.com>
11713 * arm.c (note_invalid_constants): Use recog_data.operand_type
11716 Sun Sep 12 15:53:20 1999 Bernd Schmidt <bernds@cygnus.co.uk>
11718 * tree.h (build_common_tree_nodes, build_common_tree_nodes_2):
11721 * reload.h (reload_in, reload_out, reload_in_reg, reload_out_reg,
11722 reload_reg_class, reload_inmode, reload_outmode, reload_optional,
11723 reload_nongroup, reload_inc, reload_opnum, reload_secondary_p,
11724 reload_secondary_in_reload, reload_secondary_out_reload,
11725 reload_secondary_in_icode, reload_secondary_out_icode,
11726 reload_reg_rtx, reload_when_needed): Delete declarations.
11727 (struct reload): New structure.
11728 (rld): Declare new array.
11729 * reload.c (reload_in, reload_out, reload_in_reg, reload_out_reg,
11730 reload_reg_class, reload_inmode, reload_outmode, reload_optional,
11731 reload_nongroup, reload_inc, reload_opnum, reload_secondary_p,
11732 reload_secondary_in_reload, reload_secondary_out_reload,
11733 reload_secondary_in_icode, reload_secondary_out_icode,
11734 reload_reg_rtx, reload_when_needed): Delete definitions.
11736 (whole file): Replace uses of the deleted arrays with uses of rld.
11737 * reload1.c (whole file): Replace uses of the deleted arrays with
11739 (choose_reload_regs): Copy in/out of save_reload_reg_rtx with
11740 explicit loops, not with bcopy.
11742 Sun Sep 12 05:00:24 1999 Richard Henderson <rth@cygnus.com>
11744 * recog.h (insn_template, insn_outfun, insn_n_operands, insn_n_dups,
11745 insn_n_alternatives, insn_operand_constraint, insn_operand_address_p,
11746 insn_operand_mode, insn_operand_strict_low, insn_operand_predicate,
11747 insn_name): Delete and consolidate into new structures.
11748 (insn_operand_predicate_fn): New.
11749 (insn_output_fn): New.
11750 (insn_gen_fn): New.
11751 (struct insn_operand_data): New.
11752 (struct insn_data): New.
11754 (OUT_FCN): Update for insn_data change.
11755 * builtins.c (expand_builtin_strlen): Likewise.
11756 (expand_builtin_memcmp): Likewise.
11757 * combine.c (make_extraction, simplify_comparison): Likewise.
11758 * cse.c (canon_reg, cse_insn): Likewise.
11759 * explow.c (allocate_dynamic_stack_space, probe_stack_range): Likewise.
11760 * expmed.c (store_bit_field, extract_bit_field): Likewise.
11761 (emit_store_flag): Likewise.
11762 * expr.c (convert_move, emit_block_move): Likewise.
11763 (clear_storage, emit_push_insn, expand_increment): Likewise.
11764 (do_store_flag): Likewise.
11765 * expr.h (GEN_FCN): Likewise.
11766 (insn_gen_function): Die.
11767 * final.c (final_scan_insn): Update for insn_data change.
11768 (output_asm_name): Likewise.
11769 * function.c (fixup_var_refs_1): Likewise.
11770 * loop.c (check_dbra_loop): Likewise.
11771 * optabs.c (expand_binop, expand_twoval_binop): Likewise.
11772 (expand_unop, expand_complex_abs, emit_unop_insn): Likewise.
11773 (prepare_cmp_insn, prepare_operand, emit_indirect_jump): Likewise.
11774 (emit_conditional_move, gen_add2_insn, gen_sub2_insn): Likewise.
11775 * recog.c (validate_replace_rtx_1, extract_insn): Likewise.
11776 * regmove.c (gen_add3_insn): Likewise.
11777 * reload.c (push_secondary_reload, combine_reloads): Likewise.
11778 (find_reloads, find_reloads_address_1): Likewise.
11779 (debug_reload_to_stream): Likewise.
11780 * reload1.c (emit_reload_insns, gen_reload): Likewise.
11781 * stmt.c (expand_end_case): Likewise.
11782 * toplev.c (compile_file): Likewise.
11784 * c4x/c4x.c (c4x_process_after_reload): Likewise.
11785 * i860/i860.c (output_delayed_branch, output_delay_insn): Likewise.
11787 * print-rtl.c (insn_name_ptr): Remove declaration.
11788 (get_insn_name): Declare.
11789 (print_rtx): Use it.
11790 * genoutput.c (insn_name_ptr): Remove.
11791 (next_operand_number): New.
11792 (struct operand_data): New.
11793 (null_operand, odata, odata_end): New.
11794 (struct data): Use struct operand_data.
11795 (idata, idata_end): Renamed from insn_data and end_of_insn_data.
11796 (get_insn_name): Renamed from name_for_index.
11797 (output_prologue): Define NO_MD_PROTOTYPES.
11798 (output_predicate_decls): Break out from output_epilogue.
11799 Iterate over the operands list.
11800 (output_operand_data): Break out from output_epilogue. Emit
11801 just the operands list.
11802 (output_insn_data): Break out from output_epilogue. Emit just
11804 (output_epilogue): Remove.
11805 (output_get_insn_name): New.
11806 (constraints, op_n_alternatives, predicates, address_p): Die.
11807 (modes, strict_low, seen): Die.
11808 (scan_operands): Take new param `d' instead of writing to
11809 seven global variables.
11810 (compare_operands): New.
11811 (place_operands): New.
11812 (validate_insn_alternatives): Update for struct data change.
11813 (gen_insn): Don't zero or copy 7 global arrays. Update for
11814 scan_operands; call place_operands.
11815 (gen_peephole, gen_expand, gen_split): Likewise.
11816 (main): Update for new output routines.
11818 * genattr.c (insn_name_ptr): Remove.
11819 (get_insn_name): New function.
11820 * genattrtab.c, gencodes.c, genconfig.c, genemit.c: Likewise.
11821 * genextract.c, genflags.c, genopinit.c, genpeep.c: Likewise.
11822 * genrecog.c: Likewise.
11824 * alpha.md (adddi3): Make `pattern' array static.
11826 Sun Sep 12 22:05:21 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
11828 * config/c4x/c4x.h (c4x_rpts_cycles_string,
11829 c4x_cpu_version_string): Constify char *.
11830 * config/c4x/c4x.c (c4x_rpts_cycles_string,
11831 c4x_cpu_version_string): Likewise.
11833 Sat Sep 11 23:28:33 1999 Richard Henderson <rth@cygnus.com>
11835 * tree.c (save_tree_status): Revert 10 Sep change.
11836 (restore_tree_status): Likewise. Call obstack_free with NULL
11837 before freeing the obstack proper.
11839 Sat Sep 11 23:23:46 1999 Richard Henderson <rth@cygnus.com>
11841 * cse.c (cse_main): If gc'ing, collect around cse_basic_block.
11843 * ggc-simple.c (ggc_pop_context): Fold outstanding bytes into
11844 surrounding context.
11846 Sat Sep 11 19:52:43 1999 Mark Mitchell <mark@codesourcery.com>
11848 * tree.c (type_hash_canon): Put all types in the hash-table, when
11851 Sat Sep 11 18:37:04 1999 Richard Henderson <rth@cygnus.com>
11853 * recog.h (struct recog_data, recog_data): New.
11854 (recog_foo variables): Kill.
11855 * recog.c (recog_operand, recog_operand_loc): Kill.
11856 (recog_dup_loc, recog_dup_num, recog_n_operands): Kill.
11857 (recog_n_dups, recog_n_alternatives, recog_operand_mode): Kill.
11858 (recog_constraints, recog_op_type, recog_operand_address_p): Kill.
11859 (recog_data): Define.
11860 (extract_insn): Update all recog_foo references to use recog_data.
11861 (preprocess_constraints, constrain_operands): Likewise.
11862 * final.c (final_scan_insn, cleanup_subreg_operands): Likewise.
11863 * genattrtab.c (main): Likewise.
11864 * genextract.c (main): Likewise.
11865 * genoutput.c: Likewise.
11866 * genrecog.c (write_subroutine, main): Likewise.
11867 * local-alloc.c (block_alloc): Likewise.
11868 * reg-stack.c (record_asm_reg_life, subst_asm_stack_regs): Likewise.
11869 * regclass.c (scan_one_insn, record_reg_classes): Likewise.
11870 * regmove.c (regmove_optimize, find_matches, fixup_match_1): Likewise.
11871 * reload.c (find_reloads, find_reloads_toplev): Likewise.
11872 * reload1.c (maybe_fix_stack_asms, eliminate_regs_in_insn): Likewise.
11873 (reload_cse_simplify_operands): Likewise.
11875 * arc/arc.c (arc_final_prescan_insn): Likewise.
11876 * arm/arm.c (note_invalid_constants, arm_final_prescan_insn): Likewise.
11877 * h8300/h8300.c (notice_update_cc): Likewise.
11878 * i386/i386.c (ix86_attr_length_default, ix86_agi_dependant): Likewise.
11879 * i860/i860.c (output_delayed_branch, output_delay_insn): Likewise.
11880 * mn10200/mn10200.c (notice_update_cc): Likewise.
11881 * mn10300/mn10300.c (notice_update_cc): Likewise.
11882 * romp/romp.c (update_cc): Likewise.
11883 * sparc/sparc.c (check_pic): Likewise.
11884 * v850/v850.c (notice_update_cc): Likewise.
11886 * genemit.c (main): Don't declare recog_operand.
11888 Sat Sep 11 12:41:55 1999 Alex Samuel <samuel@codesourcery.com>
11890 * ggc.h (rtvec_def): Forward declare.
11891 (tree_node): Likewise.
11892 (ggc_root): Define.
11894 (ggc_set_mark_rtx): Add prototype.
11895 (ggc_set_mark_rtvec): Likewise.
11896 (ggc_set_mark_tree): Likewise.
11897 * ggc-simple.c (ggc_root): Don't define.
11898 (roots): Don't declare.
11899 (ggc_mark_rtx): Remove.
11900 (ggc_mark_rtvec): Likewise.
11901 (ggc_mark_tree): Likewise.
11902 (ggc_mark_varray): Likewise.
11903 (ggc_mark_tree_hash_table_entry): Likewise.
11904 (ggc_mark_tree_hash_table): Likewise.
11905 (ggc_set_mart_rtx): New function.
11906 (ggc_set_mark_rtvec): Likewise.
11907 (ggc_set_mark_tree): Likewise.
11908 (ggc_add_root): Remove.
11909 (ggc_add_rtx_root): Likewise.
11910 (ggc_remove_tree_root): Likewise.
11911 (ggc_add_string_root): Likewise.
11912 (ggc_add_tree_varray_root): Likewise.
11913 (ggc_add_tree_hash_table_root): Likewise.
11914 (ggc_del_root): Likewise.
11915 (ggc_mark_rtx_ptr): Likewise.
11916 (ggc_mark_tree_ptr): Likewise.
11917 (ggc_mark_string_ptr): Likewise.
11918 (ggc_mark_tree_varray_ptr): Likewise.
11919 (ggc_mark_tree_hash_table_ptr): Likewise.
11920 * ggc-common.c: New file.
11921 * Makefile.in (OBJS): Add ggc-common.o.
11922 (ggc-common.o): List dependencies.
11924 1999-09-10 22:37 -0700 Zack Weinberg <zack@bitmover.com>
11926 * cppalloc.c (xstrdup): Use memcpy.
11927 * cpperror.c (cpp_print_containing_files): Don't use
11929 * cpplib.c (conditional_skip): Set temp->lineno.
11930 (do_endif): Make error message less obscure.
11931 (if_directive_name): New function.
11932 (cpp_get_token [case EOF]): Unwind the if stack and generate
11933 error messages for each unterminated conditional in this file.
11934 (parse_string): Do not behave differently if -traditional.
11936 Fri Sep 10 14:04:07 1999 Richard Henderson <rth@cygnus.com>
11938 * builtins.c (expand_builtin_va_arg): Cope with an array-type
11939 va_list decomposing to pointer-type.
11940 * rs6000.c (rs6000_va_start) Unwrap the ARRAY_TYPE to get at fields.
11941 (rs6000_va_arg): Likewise.
11943 Fri Sep 10 13:21:21 1999 Jim Wilson <wilson@cygnus.com>
11945 * except.c (start_dynamic_handler): Compute size using
11946 STACK_SAVEAREA_MODE.
11948 Fri Sep 10 16:01:23 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
11950 * protoize.c: Remove various __STDC__ and POSIX hacks. Don't
11951 include directory headers. Don't define strrchr. Don't provide
11952 my_* replacement functions. Prefer PTR over `pointer_type'.
11953 Don't prototype system functions. Don't redefine getopt.
11955 (shortpath, fancy_abort, notice, savestring, dupnstr, substr,
11956 safe_read, safe_write, save_pointers, restore_pointers,
11957 is_id_char, in_system_include_dir, directory_specified_p,
11958 file_excluded_p, unexpand_if_needed, abspath, check_aux_info,
11959 find_corresponding_lparen, referenced_file_is_newer,
11960 save_def_or_dec, munge_compile_params, gen_aux_info_file,
11961 process_aux_info_file, identify_lineno, check_source,
11962 seek_to_line, forward_to_next_token_char, output_bytes,
11963 output_string, output_up_to, other_variable_style_function,
11964 find_rightmost_formals_list, do_cleaning, careful_find_l_paren,
11965 do_processing, is_syscalls_file, rename_c_file, find_extern_def,
11966 find_static_definition, connect_defs_and_decs, add_local_decl,
11967 add_global_decls, needs_to_be_converted, visit_each_hash_node,
11968 add_symbol, lookup, free_def_dec, find_file, reverse_def_dec_list,
11969 edit_fn_declaration, edit_formals_lists, edit_fn_definition,
11970 scan_for_missed_items, edit_file, string_list_cons): Add static
11972 (standard_exec_prefix, target_machine, target_version,
11973 default_syscalls_dir, string_list, string_list_cons, find_file,
11974 do_cleaning): Constify a char*.
11975 (safe_read, safe_write): Use PTR, not a char*.
11976 (is_id_char): Take an int, not a char.
11977 (main): Add prototype. Call return, not exit.
11979 Fri Sep 10 16:48:26 1999 Andrew Haley <aph@cygnus.com>
11981 * tree.c (type_hash_lookup): Check for equal TYPE_ALIGN fields
11982 when comparing types.
11984 Fri Sep 10 08:43:32 1999 Richard Henderson <rth@cygnus.com>
11986 * loop.c (basic_induction_var): Typo NULL_RTX -> NULL.
11987 (strength_reduce): Release the varrays from the no-bivs early exit.
11989 * reload1.c (order_regs_for_reload): Init hard_reg_n_uses before
11990 the loop over the registers.
11992 * tree.c (save_tree_status): Set maybepermanent_firstobj NULL
11994 (restore_tree_status): Check that instead when freeing the obstack.
11996 Wed Sep 8 16:12:04 1999 Andrew Haley <aph@cygnus.com>
11998 * alias.c (rtx_equal_for_memref_p): Allow CONST_DOUBLEs to be used
12001 Fri Sep 10 11:58:55 1999 Bernd Schmidt <bernds@cygnus.co.uk>
12003 * i386.md (ashlqi3): For NON_QI_REG_P regs, use sall. Fix some
12004 operand size modifiers.
12006 Fri Sep 10 10:32:32 1999 Bernd Schmidt <bernds@cygnus.co.uk>
12008 * c-common.c (c_common_nodes_and_builtins): Don't build
12010 * c-common.h (enum c_tree_index and related accesor macros): Remove
12011 everything now declared in tree.h.
12012 * c-decl.c (CHAR_TYPE_SIZE, SHORT_TYPE_SIZE, INT_TYPE_SIZE,
12013 LONG_TYPE_SIZE, LONG_LONG_TYPE_SIZE, WCHAR_UNSIGNED, FLOAT_TYPE_SIZE,
12014 DOUBLE_TYPE_SIZE, LONG_DOUBLE_TYPE_SIZE): Don't provide defaults.
12015 (error_mark_node, void_type_node, char_type_node, integer_type_node,
12016 unsigned_type_node, ptr_type_node, va_list_type_node,
12017 integer_zero_node, null_pointer_node, integer_one_node): Delete.
12018 (init_decl_processing): Call build_common_tree_nodes and
12019 build_common_tree_nodes_2 instead of building their nodes here.
12020 Don't add roots for these nodes.
12021 * stor-layout.c (size_zero_node, size_one_node): Delete.
12022 (set_sizetype): Make a new node for bitsizetype each time.
12023 * tree.c (global_trees): New variable.
12024 (init_obstacks): Add a gc root for it.
12025 (CHAR_TYPE_SIZE, SHORT_TYPE_SIZE, INT_TYPE_SIZE,
12026 LONG_TYPE_SIZE, LONG_LONG_TYPE_SIZE, FLOAT_TYPE_SIZE,
12027 DOUBLE_TYPE_SIZE, LONG_DOUBLE_TYPE_SIZE): Provide defaults.
12028 (build_common_tree_nodes): New function.
12029 (fix_sizetype): New function.
12030 (build_common_tree_nodes_2): New function.
12031 * tree.h (enum tree_index): New.
12032 (global_trees): Declare.
12033 Add accessor macros for all nodes now moved to global_trees.
12034 Delete their declarations.
12036 Thu Sep 9 20:15:46 1999 Richard Henderson <rth@cygnus.com>
12038 * c-decl.c (finish_function): When processing a nested function,
12039 push and pop GC context around rest_of_compilation.
12041 Thu Sep 9 16:42:06 1999 Richard Henderson <rth@cygnus.com>
12043 * i386.c (override_options): Remove ppro, pentium2, and p2 as aliases.
12044 Default ix86_arch to PROCESSOR_I386.
12045 * i386.h (CC1_CPU_SPEC): Don't add -march=foo. Remove -mno-foo.
12046 (CPP_486_SPEC, CPP_586_SPEC, CPP_686_SPEC): Delete.
12047 (CPP_CPU_DEFAULT_SPEC): Define to __tune_foo__.
12048 (CC1_CPU_SPEC): Make -march=foo define __foo__, and provide
12049 __tune_foo__ if no -mcpu. Make -mcpu=bar define __tune_bar__.
12050 (EXTRA_SPECS): Remove deleted specs.
12052 Thu Sep 9 16:03:06 1999 Richard Henderson <rth@cygnus.com>
12054 * function.c (assign_stack_local_1): Allocate from
12055 function->x_frame_offset, not frame_offset.
12057 Thu Sep 9 14:36:31 1999 Mark Mitchell <mark@codesourcery.com>
12059 * ggc.h (lang_cleanup_tree): Remove.
12060 * gcc-simple.c (ggc_free_tree): Don't call lang_cleanup_tree.
12061 * ggc-callbacks.c (lang_cleanup_tree): Remove.
12063 * c-decl.c (finish_struct): Use ggc_alloc to allocate
12064 TYPE_LANG_SPECIFIC when garbage collecting.
12065 (lang_mark_tree): Mark TYPE_LANG_SPECIFIC.
12066 (lang_cleanup_tree): Remove.
12068 Thu Sep 9 14:23:02 1999 Jason Merrill <jason@yorick.cygnus.com>
12070 * defaults.h (EH_FRAME_SECTION, EH_FRAME_SECTION_ASM_OP): Define here.
12071 * crtstuff.c: Not here.
12072 * dwarf2out.c: Or here.
12073 * libgcc2.c (__do_global_ctors, __do_global_dtors): Handle EH frame
12076 Thu Sep 9 09:40:58 1999 Mark Mitchell <mark@codesourcery.com>
12078 * function.h (free_after_compilation): Remove decl parameter.
12079 (free_varasm_status0: Likewise.
12080 (free_emit_status): Likewise.
12081 (free_stmt_status): Likewise.
12082 (free_after_compilation): Likewise.
12083 (init_lang_status): New variable.
12084 (free_lang_status): Likewise.
12085 * emit-rtl.c (free_emit_status): Make decl parameter implicit.
12086 * function.c (init_lang_status): New variable.
12087 (free_lang_status): Likewise.
12088 (push_function_context_to): Don't set function::decl here.
12089 (free_after_copmilation): Make decl parameter implicit. Call
12090 free_lang_status if defined.
12091 (prepare_function_start): Call init_lang_status if defined.
12092 (init_function_start): Set function::decl here.
12093 * profile.c (output_func_start_profiler): Don't call pushdecl
12094 until we've actually started the function.
12095 * stmt.c (free_stmt_status): Make decl parameter implicit.
12096 * toplev.c (rest_of_compilation): Don't pass decl to
12097 free_after_compilation.
12098 * varasm.c (free_varasm_status): Likewise.
12100 Thu Sep 9 17:23:19 1999 Bernd Schmidt <bernds@cygnus.co.uk>
12102 * except.c (call_get_eh_context): Add root when allocating static
12105 Thu Sep 9 15:24:59 BST 1999 Richard Earnshaw <rearnsha@arm.com>
12107 * arm.c: Include "ggc.h".
12108 (arm_add_gc_roots): New function.
12109 (arm_override_options): Call it.
12110 (aof_pic_entry): Add a GC root for aof_pic_label when it's allocated.
12112 * arm.md (define_asm_attributes): Add a pool_range attribute.
12114 Thu Sep 9 12:32:57 BST 1999 Nathan Sidwell <nathan@acm.org>
12116 * extend.texi (Volatiles): New node.
12118 Thu Sep 9 03:37:31 1999 Richard Henderson <rth@cygnus.com>
12120 * ggc-simple.c (IS_MARKED, IGNORE_MARK): New.
12121 (GGC_ANY_MAGIC, GGC_ANY_MAGIC_MARK): New.
12122 (struct ggc_any): Replace `mark' with `magic_mark'.
12123 (ggc_alloc_string): Use memcpy, not bcopy.
12124 (ggc_alloc_any): Set magic_mark. Update bytes_alloced_since_gc.
12125 (ggc_free_{rtx,rtvec,tree,string}): Mark inline.
12126 (ggc_free_any): New.
12127 (ggc_mark_string): Use IGNORE_MARK. Calc back to struct gcc_string.
12128 (ggc_mark): Use IGNORE_MARK. Abort if magic doesn't match.
12129 (ggc_collect): Re-enable collection avoidance. Use GGC_ANY_MARK.
12130 Use IS_MARKED. Use ggc_free_any.
12132 1999-09-09 Scott Bambrough <scottb@netwinder.org>
12134 * config/arm/linux-elf.h: define NO_IMPLICIT_EXTERN_C
12136 Thu Sep 9 01:55:21 1999 Richard Henderson <rth@cygnus.com>
12138 * toplev.c (main): Always init_ggc.
12140 Wed Sep 8 23:53:22 1999 Richard Henderson <rth@cygnus.com>
12142 * except.c (find_all_handler_type_matches): Free the list if
12143 we found no matches.
12145 * combine.c (SUBST): Break out to a real function do_SUBST.
12146 (SUBST_INT): Likewise.
12147 * gcse.c (free_pre_mem): Free `temp_bitmap'.
12148 (pre_insert): Free `inserted'.
12149 * loop.c (basic_induction_var): Always set `location'.
12151 * function.c (expand_function_end): Add initial_trampoline as a root.
12152 * rtl.h (init_varasm_once): Declare.
12153 * toplev.c (compile_file): Call it.
12154 * ggc-simple.c (ggc_mark_string_ptr): New.
12155 (ggc_add_string_root): New.
12156 (ggc_collect): Disable collection avoidance temporarily.
12157 * ggc.h (ggc_add_string_root): Declare.
12158 * except.c (create_rethrow_ref): Use ggc_alloc_string.
12159 * optabs.c (init_libfuncs): Likewise.
12160 * varasm.c (named_section): Use ggc_alloc_string.
12161 (make_function_rtl): Likewise.
12162 (make_decl_rtl): Likewise.
12163 (assemble_static_space): Likewise.
12164 (assemble_trampoline_template): Likewise.
12165 (output_constant_def): Likewise.
12166 (force_const_mem): Likewise.
12167 (mark_const_hash_entry): New.
12168 (mark_pool_sym_hash_table): New.
12169 (mark_varasm_state): Use it.
12170 (init_varasm_once): New.
12172 * expr.h (init_one_libfunc): Declare.
12173 * optabs.c (init_one_libfunc): New.
12174 (init_optabs): Use it.
12175 * config/gofast.h: Likewise.
12176 * config/sparc/sol2.h (INIT_SUBTARGET_OPTABS): Likewise.
12177 * config/sparc/sparc.h (INIT_TARGET_OPTABS): Likewise.
12179 Thu Sep 9 13:46:06 1999 Geoffrey Keating <geoffk@cygnus.com>
12181 * Makefile.in (cppexp.o): Depend on cpphash.h.
12182 * cppexp.c (cpp_lex): Handle `defined (xxx)' for poisoned xxx.
12184 * cpphash.c (special_symbol): Handle plain `xxx' for poisoned xxx.
12185 * cpplib.c (do_define): Generalise to handle poisoned definitions,
12186 redefining poisoned identifiers, etc.
12187 (do_undef): Don't allow poisoned identifiers to be undefined.
12188 (do_pragma): Add #pragma poison.
12189 (do_xifdef): Handle `#ifdef xxx' for poisoned xxx.
12191 * cccp.c: Add T_POISON node type.
12192 (special_symbol): Handle `defined(xxx)' and plain `xxx' for
12194 (do_define): Generalise to handle poisoned definitions,
12195 redefining poisoned identifiers, etc.
12196 (do_undef): Don't allow poisoned identifiers to be undefined.
12197 (do_pragma): Add #pragma poison.
12198 (do_xifdef): Handle `#ifdef xxx' for poisoned xxx.
12200 * c-pragma.c (handle_pragma_token): Ignore #pragma poison.
12201 * c-pragma.h: Add ps_poison state. We now always have generic
12204 Wed Sep 8 20:30:42 1999 Mark Mitchell <mark@codesourcery.com>
12206 * ggc.h (ggc_alloc): New function.
12207 (ggc_mark): Likewise.
12208 * ggc-simple.c (ggc_any): New structure.
12209 (ggc_status): Add anys.
12210 (n_anys_collected): New variable.
12211 (ggc_alloc): Define.
12212 (ggc_mark): Likewise.
12213 (ggc_collect): Collect the anys.
12215 Wed Sep 8 20:15:14 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
12217 * c-decl.c (mark_binding_level): Make static to match prototype.
12219 Wed Sep 8 16:41:27 1999 Richard Henderson <rth@cygnus.com>
12221 * flow.c (new_insn_dead_notes): Don't early out for preexisting regs.
12223 Wed Sep 8 16:07:52 1999 Richard Henderson <rth@cygnus.com>
12225 * gengenrtl.c (CONST_DOUBLE_FORMAT): Take the size REAL_ARITHMETIC
12226 will use into account. Expand the max width to 5.
12229 Wed Sep 8 16:01:14 1999 Richard Henderson <rth@cygnus.com>
12231 * ggc-simple.c (ggc_free_rtx): Poison the correct amount
12232 for the rtx length.
12234 Wed Sep 8 15:23:54 1999 Richard Henderson <rth@cygnus.com>
12236 * alpha.md (call value patterns): Remove the result predicates.
12238 Wed Sep 8 13:35:38 1999 Richard Henderson <rth@cygnus.com>
12240 * Makefile.in (stmp-fixinc): Remove extraneous exit 1 from
12243 Wed Sep 8 15:32:16 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
12245 * system.h (sbrk, malloc, calloc, realloc): Backup prototypes
12246 changed from extern char *, to extern PTR. Also fix typo in
12247 NEED_DECLARATION_REALLOC test.
12249 * mips-tdump.c (malloc, calloc, realloc): Don't prototype.
12251 Wed Sep 8 11:40:47 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
12253 * gansidecl.h (__attribute__, ATTRIBUTE_UNUSED_LABEL,
12254 ATTRIBUTE_UNUSED, ATTRIBUTE_NORETURN, ATTRIBUTE_PRINTF,
12255 ATTRIBUTE_PRINTF_1, ATTRIBUTE_PRINTF_2, ATTRIBUTE_PRINTF_3,
12256 ATTRIBUTE_PRINTF_4, ATTRIBUTE_PRINTF_5, GENERIC_PTR): Delete.
12258 * c-decl.c (field_decl_cmp): Use PTR instead of GENERIC_PTR.
12260 * cccp.c (pcfinclude): Likewise.
12262 * global.c (allocno_compare): Likewise.
12264 * haifa-sched.c (rank_for_schedule): Likewise.
12266 * local-alloc.c (qty_sugg_compare_1, qty_compare_1): Likewise.
12268 * reload1.c (hard_reg_use_compare, reload_reg_class_lower): Likewise.
12270 * stupid.c (stupid_reg_compare): Likewise.
12272 * tree.c (_obstack_allocated_p): Likewise.
12274 * varray.h (varray_data_tag, VARRAY_GENERIC_PTR_INIT): Likewise.
12276 1999-09-08 Bruce Korb autogen@linuxbox.com
12278 * gcc/ch/Makefile.in: Give the hapless gperf user a hint about
12279 why "gperf -F" fails.
12280 * gcc/cp/Makefile.in: ditto
12281 * gcc/Makefile.in: ditto
12282 * gcc/java/Makefile.in: ditto
12284 Wed Sep 8 04:43:22 1999 Richard Henderson <rth@cygnus.com>
12286 * lists.c: Include ggc.h.
12288 (init_EXPR_INSN_LIST_cache): Install it.
12290 * ggc-simple.c (init_ggc): Absorb the old init.
12291 (ggc_push_context): Use xcalloc.
12292 (ggc_alloc_rtx, ggc_alloc_rtvec, ggc_alloc_tree): Likewise.
12293 (ggc_collect): Add [rvts] tags to the collection stats.
12295 Wed Sep 8 11:14:25 1999 Andreas Schwab <schwab@suse.de>
12297 * cccp.c (main): Fix handling of -include and -imacros options.
12299 Wed Sep 8 02:23:08 1999 Jeffrey A Law (law@cygnus.com)
12301 * cpplib.c (cpp_push_buffer): Fix order of arguments.
12303 Wed Sep 8 04:44:09 1999 Alexandre Oliva <oliva@dcc.unicamp.br>
12305 * rtl.h (obstack_alloc_rtx): Removed, it's now static in
12308 Wed Sep 8 00:33:43 1999 Alasdair Baird <alasdair@wildcat.demon.co.uk>
12310 * flow.c (insn_dead_p): Use XEXP rather than SUBREG_REG.
12311 * haifa-sched.c (sched_analyze_1): Use XEXP rather than SUBREG_REG
12312 and SET_DEST. Update comment.
12314 Wed Sep 8 18:55:17 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
12316 * config/c4x/c4x.c: Include ggc.h.
12317 (c4x_add_gc_roots): New function.
12318 (c4x_override_options): Call c4x_add_gc_roots.
12320 Wed Sep 8 00:00:16 1999 Richard Henderson <rth@cygnus.com>
12322 * defaults.h (TARGET_ESC): Move ...
12323 * system.h: ... here, where Linas had it in the first place. Silly me.
12325 Tue Sep 7 23:46:35 1999 Linas Vepstas <linas@linas.org>
12327 * c-common.c: Use ISGRAPH, ISLOWER, toupper.
12328 * c-lex.c, cccp.c, cexp.c, cexp.y, cppexp.c, dwarf2out.c, genattr.c,
12329 genattrtab.c, genemit.c, genextract.c, genpeep.c, tree.c: Likewise.
12330 * system.h (IN_CTYPE_DOMAIN): Define to 1 if HOST_EBCDIC.
12331 * defaults.h (TARGET_ESC): Add default.
12333 Tue Sep 7 23:36:59 1999 Linas Vepstas <linas@linas.org>
12335 * configure.in: add i370-*-openedition, i370-*-mvs and
12336 i370-*-linux targets
12338 Tue Sep 7 23:31:53 1999 Mark Mitchell <mark@codesourcery.com>
12340 * dsp16xxx.c: Include ggc.h
12341 (override_options): Mark GC roots.
12342 * mn10200.c: Include ggc.h.
12343 (asm_file_start): Mark GC roots.
12344 * tahoe.c: Include ggc.h.
12345 (extensible_operand): Mark GC roots.
12347 Tue Sep 7 23:23:15 1999 Linas Vepstas <linas@linas.org>
12349 * README: Add section discussing status of ELF ABI.
12350 * i370.c: Fix misc spelling mistakes.
12351 (i370_label_scan): Updated notes, exception handling.
12352 (i370_function_prolog): Simplify ELF stack handling.
12353 * i370.h: (FIXED_REGISTERS): Free up r12 for ELF.
12354 (STACK_GROWS_DOWNWARD): ELF stack grows down.
12355 (ASM_DECLARE_FUNCTION_NAME): Fix crazy malloc size.
12356 * i370.md: (movdi): Add notes.
12357 (floatsidf2): Use stack not rtca for scratch float area.
12358 (iorsi3): Correct operand constraints.
12359 * x-oe: Restore TAROUTOPTS which are used by pax.
12361 Tue Sep 7 22:39:18 1999 Mark Mitchell <mark@codesourcery.com>
12363 * rs6000.c: Include ggc.h.
12364 (rs6000_add_gc_roots): New function.
12365 (override_options): Call it.
12367 Tue Sep 7 22:09:03 1999 Richard Henderson <rth@cygnus.com>
12369 * alpha.h (alpha_compare): New.
12370 (alpha_compare_op0, alpha_compare_op1, alpha_compare_fp_p): Remove.
12371 * alpha.c: Likewise for the definitions.
12372 (alpha_emit_conditional_branch): Update for alpha_compare.
12373 (alpha_emit_conditional_move): Likewise.
12374 * alpha.md (cmpdf, cmpdi): Likewise.
12375 (setcc patterns): Likewise. Zero alpha_compare after use.
12376 (sne): Optimize (x != 0) into (0U < x).
12378 Tue Sep 7 21:55:02 1999 Richard Henderson <rth@cygnus.com>
12380 * alpha.h (alpha_eh_epilogue_sp_ofs): Remove.
12381 (struct machine_function): Declare; add eh_epilogue_sp_ofs.
12382 (INIT_EXPANDERS): Remove.
12383 * alpha.c: Include ggc.h.
12384 (alpha_eh_epilogue_sp_ofs, alpha_return_addr_rtx): Remove.
12385 (alpha_init_machine_status, alpha_mark_machine_status): New.
12386 (override_options): Install them.
12387 (struct machine_function): Moved to alpha.h.
12388 (alpha_save_machine_status, alpha_restore_machine_status): Remove.
12389 (alpha_init_expanders): Remove.
12390 (alpha_return_addr): Adjust to use current_function->machine.
12391 (alpha_ra_ever_killed): Likewise.
12392 (alpha_expand_epilogue): Likewise.
12393 * alpha.md (eh_epilogue): Likewise.
12395 Wed Sep 8 14:34:42 1999 Ian Piumarta <piumarta@prof.inria.fr>
12396 Melissa O'Neill <oneill@cs.sfu.ca>
12397 Geoffrey Keating <geoffk@cygnus.com>
12399 * config/rs6000/rs6000.c (first_reg_to_save): Don't save fixed or
12400 call-used registers (call-saved registers must still be contiguous
12401 and end with r31, of course).
12403 Tue Sep 7 21:41:38 1999 Richard Henderson <rth@cygnus.com>
12405 * c-typeck.c (type_lists_compatible_p): Use simple_type_promotes_to.
12406 (self_promoting_type_p): Delete.
12407 (self_promoting_args_p): Move ...
12408 * c-common.c: ... here.
12409 (c_common_nodes_and_builtins): Initialize lang_type_promotes_to.
12410 (simple_type_promotes_to): New.
12411 * builtins.c (lang_type_promotes_to): New.
12412 (expand_builtin_va_arg): Use it to give diagnostic for illegal types.
12413 * c-tree.h (C_PROMOTING_INTEGER_TYPE_P): Move ...
12414 * c-common.h: ... here.
12415 (self_promoting_args_p, simple_type_promotes_to): Declare.
12416 * c-decl.c (duplicate_decls): Use simple_type_promotes_to.
12417 (grokdeclarator): Likewise.
12418 * tree.h (lang_type_promotes_to): Declare.
12420 Tue Sep 7 17:15:21 1999 Mark Mitchell <mark@codesourcery.com>
12422 Add some machine-dependent GC roots.
12423 * sparc.c: Include ggc.h.
12424 (sparc_add_gc_roots): New function.
12425 (mark_ultrasparc_pipeline_state): Likewise.
12426 (override_options): Call sparc_add_gc_roots.
12427 * pa.c: Include ggc.h.
12428 (pa_add_gc_roots): New function.
12429 (mark_deferred_plabels): Likewise.
12430 (override_options): Call pa_add_gc_roots.
12431 * mips.c: Include ggc.h.
12432 (mips_add_gc_roots): New function.
12433 (override_options): Use it.
12435 Tue Sep 7 11:39:41 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
12437 * cpperror.c (cpp_file_line_for_message): Constify a char*.
12439 * cppexp.c (parse_number, parse_charconst, cpp_lex,
12440 cpp_parse_expr): Add static prototypes.
12441 (parse_charconst): Don't cast away const-ness.
12442 (token): Constify a char*.
12444 * cppfiles.c (file_name_list, include_hash, find_include_file,
12445 finclude, initialize_input_buffer): Constify a char*.
12446 (file_cleanup, find_position): Add static prototypes.
12448 * cpphash.c (macro_cleanup, macarg, timestamp, special_symbol,
12449 collect_expansion): Add static prototypes.
12450 (cpp_install, create_definition, monthnames): Constify a char*.
12452 * cpphash.h (cpp_install): Likewise.
12454 * cppinit.c (known_suffixes, default_include,
12455 dump_special_to_buffer, NAME, cpp_start_read, cpp_finish): Likewise.
12456 (base_name, dump_special_to_buffer, initialize_dependency_output):
12457 Add static prototypes.
12459 * cpplib.c (my_strerror): Constify a char*.
12460 (null_underflow, null_cleanup, skip_comment, copy_comment,
12461 copy_rest_of_line, handle_directive, pass_thru_directive,
12462 get_directive_token, read_line_number, cpp_print_file_and_line,
12463 v_cpp_error, v_cpp_warning, v_cpp_error_with_line,
12464 v_cpp_warning_with_line, detect_if_not_defined,
12465 consider_directive_while_skipping): Add static prototypes.
12466 (pass_thru_directive, check_macro_name, cpp_expand_to_buffer,
12467 cpp_pedwarn_with_file_and_line): Constify a char*.
12469 * cpplib.h (cpp_options, include_hash, progname, definition,
12470 cpp_pedwarn_with_file_and_line, cpp_expand_to_buffer,
12471 check_macro_name, cpp_pfatal_with_name, cpp_file_line_for_message,
12472 find_include_file, deps_output, include_hash): Constify a char*.
12474 * cppmain.c (progname): Constify.
12475 (main): Add prototype. Use return, not exit.
12477 * fix-header.c (fatal, add_symbols, lookup_std_proto, write_lbrac,
12478 recognized_macro, check_macro_names, read_scan_file, write_rbrac,
12479 inf_skip_spaces, inf_read_upto, inf_scan_ident, inf_scan_ident,
12480 check_protection): Add static prototype.
12482 (progname, recognized_macrom, recognized_extern): Constify a char*.
12483 (main): Add prototype.
12485 * gen-protos.c (progname): Constify a char*.
12487 Tue Sep 7 00:47:52 1999 Mark Mitchell <mark@codesourcery.com>
12489 * emit-rtl.c (free_emit_status): Take decl as a parameter.
12490 (init_emit_once): Add more GC roots.
12491 * except.c (mark_func_eh_entry): New function.
12492 (mark_eh_node): Mark false_label and rethrow_label.
12493 (init_eh): Add more GC roots.
12494 * function.c (free_after_compilation): Take decl as a paramter.
12495 Call free_stmt_status.
12496 (mark_function_state): Don't assume x_parm_reg_stack_loc is
12498 * function.h (free_after_compilation): Change prototype.
12499 (free_varasm_status): Likewise.
12500 (free_emit_status): Likewise.
12501 (free_stmt_status): New function.
12502 * ggc-simple.c (rtx, vecs, trees, strings, bytes_alloced_since_gc):
12503 Remove, replacing with ...
12504 (ggc_status): New structure.
12505 (ggc_chain): New variable.
12506 (init_gcc): Define.
12507 (ggc_push_context): New function.
12508 (ggc_pop_context): Likewise.
12509 (ggc_alloc_rtx): Adjust for use of ggc_chain.
12510 (ggc_alloc_rtvec): Likewise.
12511 (ggc_alloc_tree): Likewise.
12512 (ggc_alloc_string): Likewise.
12513 (ggc_mark_rtx): Mark NOTE_SOURCE_FILE and NOTE_RANGE_INFO.
12514 (ggc_mark_tree): Give language-dependent code a chance to mark
12516 (ggc_mark_tree_varray): Handle empty arrays.
12517 (ggc_collect): Adjust for use of ggc_chain. Clear
12518 bytes_alloced_since_last_gc.
12519 * ggc.h (ggc_pop_context): New function.
12520 (ggc_push_context): Likewise.
12521 * print-tree.c (print_node): Don't print obstacks when GC'ing.
12522 * stmt.c (free_stmt_status): New function.
12523 (init_stmt_for_function): Clear last_expr_value.
12524 * toplev.c (rest_of_compilation): Always call free_after_compilation.
12525 Conditionalize call to ggc_collect.
12526 (main): Call init_ggc.
12527 * tree.c (push_obstacks): Do the push, even when GC'ing.
12528 (push_obstacks_nochange): Likewise.
12529 (pop_obstacks): Liekwise.
12530 * varasm.c (free_varasm_status): Take decl as a parameter.
12532 Tue Sep 7 08:15:49 1999 Gavin Romig-Koch <gavin@cygnus.com>
12534 * config/mips/mips.h (MULTILIB_ENDIAN_DEFAULT) : New macro.
12535 (MULTILIB_ENDIAN_DEFAULT) : Use the new macro.
12536 * config/mips/elf64.h (MULTILIB_DEFAULTS) : Use the new macro.
12537 * config/mips/r3900.h (MULTILIB_DEFAULTS) : Use the new macro.
12539 Tue Sep 7 03:42:45 1999 Mark Klein (mklein@dis.com)
12541 * pa/x-pa-mpeix: New file for the MPE port.
12543 * pa/quadlib.asm: New file for long double support.
12545 * configure.in: Add hppa1.0-*-mpeix for MPE port.
12546 * configure: Rebuilt.
12548 Tue Sep 7 10:08:40 1999 Andreas Schwab <schwab@suse.de>
12550 * final.c (shorten_branches): Fix last change.
12552 Tue Sep 7 00:30:32 1999 Jeffrey A Law (law@cygnus.com)
12554 * pa.h (ASM_OUTPUT_DOUBLE_INT): Delete.
12556 Mon Sep 6 22:44:47 1999 Jeffrey A Law (law@cygnus.com)
12558 * Merge from gcc2 snapshot Jan 9, 1999. See FSFChangeLog for
12561 Mon Sep 6 22:31:28 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
12563 * c-aux-info.c (concat): Don't define.
12565 * cccp.c (my_strerror): Likewise. All callers changed to use
12567 (do_include): Call xstrdup, not xmalloc/strcpy.
12568 (grow_outbuf): Don't check if xrealloc returns NULL, it can't.
12569 (xmalloc, xrealloc, xcalloc, xstrdup): Don't define.
12571 * collect2.c (my_strsignal): Likewise. All callers changed to use
12573 (locatelib): Call xstrdup, not xmalloc/strcpy.
12575 * 1750a.h (ASM_OUTPUT_INTERNAL_LABEL): Call xmalloc, not malloc.
12577 * dsp16xx.c (override_options): Call xstrdup, not xmalloc/strcpy.
12579 * i370.h (ASM_DECLARE_FUNCTION_NAME): Call xmalloc, not malloc.
12581 * mips.c (build_mips16_call_stub): Call xstrdup, not xmalloc/strcpy.
12583 * cppinit.c (cpp_options_init): Call xcalloc, not xmalloc/bzero.
12585 * dwarfout.c (dwarfout_init): Call concat, not xmalloc/strcpy/...
12587 * except.c (new_eh_region_entry): Call xmalloc/xrealloc, not
12589 (find_all_handler_type_matches): Likewise. Don't check return
12591 (get_new_handler, init_insn_eh_region, process_nestinfo): Call
12592 xmalloc, not malloc.
12593 (init_eh_nesting_info): Likewise. Call xcalloc, not xmalloc/bzero.
12595 * gcc.c (xstrerror, xmalloc, xrealloc): Don't define.
12596 (init_spec): Call xcalloc, not xmalloc/bzero.
12597 (set_spec): Call xstrdup, not save_string.
12598 (record_temp_file): Call xstrdup, not xmalloc/strcpy.
12599 (find_a_file): Call xstrdup, not xmalloc/strcpy.
12600 (process_command): Call xstrdup, not save_string.
12601 (main): Call xcalloc, not xmalloc/bzero.
12603 * gcov.c (xmalloc): Don't define.
12604 (create_program_flow_graph): Call xcalloc, not xmalloc/bzero.
12605 (scan_for_source_files): Call xstrdup, not xmalloc/strcpy.
12606 (output_data): Call xcalloc, not xmalloc/bzero.
12608 * haifa-sched.c (schedule_insns): Call xcalloc, not xmalloc/bzero.
12610 * mips-tdump.c (xmalloc): Don't define.
12611 (print_symbol): Call xmalloc, not malloc.
12612 (read_tfile): Call xcalloc, not calloc.
12614 * mips-tfile.c (xfree, my_strsignal, xmalloc, xcalloc, xrealloc):
12615 Don't define. All callers of xfree/my_strsignal changed to use
12616 free/strsignal instead.
12617 (allocate_cluster): Call xcalloc, not calloc.
12619 * objc/objc-act.c (lang_init): Call concat, not xmalloc/strcpy/...
12620 Fix memory leak, free allocated memory.
12622 * prefix.c (translate_name): Call xstrdup, not save_string.
12623 (update_path): Likewise.
12625 * profile.c (branch_prob): Call xstrdup, not xmalloc/strcpy.
12627 * protoize.c (xstrerror, xmalloc, xrealloc, xfree, savestring2):
12628 Don't define. Callers of xfree/savestring2 changed to use
12629 free/concat instead.
12631 * reload1.c (reload): Call xcalloc, not xmalloc/bzero.
12632 (init_elim_table): Likewise.
12634 * resource.c (init_resource_info): Likewise.
12636 * stupid.c (stupid_life_analysis): Likewise.
12638 * toplev.c (xmalloc, xcalloc, xrealloc, xstrdup): Don't define.
12639 (open_dump_file): Call concat, not xmalloc/strcpy/...
12640 (clean_dump_file): Likewise.
12641 (compile_file): Call xstrdup, not xmalloc/strcpy.
12643 Mon Sep 6 15:04:55 1999 Richard Henderson <rth@cygnus.com>
12645 * v850.h (EXPAND_BUILTIN_VA_ARG): New.
12646 * v850.c (v850_va_arg): New.
12648 Tue Sep 7 09:36:01 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
12650 * haifa-sched.c: Tidy comments.
12652 Mon Sep 6 14:30:13 1999 Bernd Schmidt <bernds@cygnus.co.uk>
12654 * Makefile.in (C_AND_OBJC_OBJS): Remove ggc-callbacks.o.
12655 (c-parse.o, c-decl.o, c-lang.o, c-lex.o, c-common.o,
12656 $(out_object_file)): Depend on ggc.h.
12657 * c-common.c: Include "ggc.h".
12658 (combine_strings): If doing GC, use ggc_alloc_string.
12659 * c-decl.c: Include "ggc.h".
12660 (ggc_p): Define with value 0.
12661 (mark_binding_level): New function.
12662 (init_decl_processing): Add GC roots.
12663 (mark_c_function_context): New function.
12664 (lang_mark_false_label_stack): New function.
12665 (lang_mark_tree): New function.
12666 (lang_cleanup_tree): New function.
12667 * c-lang.c: Include "ggc.h".
12668 (lang_init): Call c_parse_init.
12669 * c-lex.c: Include "ggc.h".
12670 (check_linenum): If doing GC, don't copy filenames to permanent
12672 * c-parse.in: Include "ggc.h".
12673 (c_parse_init): New function.
12674 * c-tree.h (c_parse_init, mark_c_function_context): Declare.
12675 * objc/Make-lang.in (objc-parse.o): Depend on ggc.h.
12677 * except.c (mark_eh_state): Mark more state.
12678 * function.c (mark_function_state): Likewise.
12679 * ggc-simple.c (ggc_alloc_rtvec): Bring in sync with non-gc version.
12680 (ggc_alloc_string) [GGC_DUMP]: Fix typo.
12681 * toplev.c (mark_file_stack): New function.
12682 (compile_file): If doing GC, use ggc_alloc_string on input filename.
12683 (main): Add root for input_file_stack.
12685 * i386.c: Include "ggc.h".
12686 (ix86_mark_machine_status): New function.
12687 (override_options): Set mark_machine_status.
12689 Mon Sep 6 15:26:23 1999 Bernd Schmidt <bernds@cygnus.co.uk>
12691 * tree.c (copy_node): Copy node contents also if doing GC.
12693 Mon Sep 6 08:42:06 1999 Alexandre Oliva <oliva@dcc.unicamp.br>
12695 * collect2.c (scan_libraries): Fix double-thinko :-).
12697 Mon Sep 6 02:42:36 1999 Jeffrey A Law (law@cygnus.com)
12699 * collect2.c (scan_libraries): Fix thinko.
12701 * cse.c (delete_trivially_dead_insns): Do not skip the last
12702 insn if it is a real insn.
12704 Sun Sep 5 18:57:42 1999 Mark Mitchell <mark@codesourcery.com>
12706 * Makefile.in (ggc-simple.o): Depend on hash.h.
12707 * ggc.h (ggc_add_tree_hash_table_root): Declare.
12708 (ggc_mark_tree_varray): Likewise.
12709 (ggc_mark_tree_hash_table): Likewise.
12710 * ggc-simple.c: Include hash.h.
12711 (ggc_mark_tree_hash_table_ptr): New function.
12712 (ggc_mark_tree_hash_table_entry): Likewise.
12713 (ggc_mark_tree_hash_table): Likewise.
12714 (ggc_add_tree_hash_table_root): Likewise.
12715 * varray.h (const_equiv_data): Use struct rtx_def *, rather than
12716 rtx, when defining fields.
12718 Sun Sep 5 18:57:42 1999 Bernd Schmidt <crux@pool.informatik.rwth-aachen.de>
12720 * profile.c (output_func_start_profiler): Remove apparently
12721 nonsensical call to start_sequence.
12723 Sun Sep 5 17:34:33 1999 Richard Henderson <rth@cygnus.com>
12725 * clipper/clipper.c (clipper_va_start): Fix typos.
12727 * pyr/pyr.c (pyr_build_va_list, pyr_va_start, pyr_va_arg): New stubs.
12728 * spur/spur.c (spur_build_va_list, spur_va_start): New stubs.
12729 (spur_va_arg): New stub.
12731 * configure.in: Comment out pyramid.
12733 Sun Sep 5 19:11:01 1999 Michael Meissner <meissner@cygnus.com>
12735 * i386.h (MASK_{DEBUG_{ADDR,ARG},INTEL_SYNTAX}): Move so these
12736 don't conflict with the bits that win32, cygwin, and dgux
12739 Sun Sep 5 09:31:56 1999 Richard Henderson <rth@cygnus.com>
12740 Bernd Schmidt <bernds@cygnus.co.uk>
12742 * integrate.c (function_cannot_inline_p): Do not inline
12743 functions with forced labels.
12745 Sun Sep 5 00:35:17 1999 Richard Henderson <rth@cygnus.com>
12746 Bernd Schmidt <bernds@cygnus.co.uk>
12747 Mark Mitchell <mark@codesourcery.com>
12749 * Makefile.in (ggc-simple.o): Depend on varray.h.
12750 (rtl.o): Depend on ggc.h.
12751 (genattrtab.o): Depend on ggc.h.
12752 (print-tree.o): Likewise.
12753 (fold-const.o): Likewise.
12754 * emit-rtl.c (sequence_element_free_list): Remove, and all references.
12755 (make_insn_raw): Don't cache insns when GC'ing.
12756 (emit_insn_before): Likewise.
12757 (emit_insn_after): Likewise.
12758 (emit_insn): Likewise.
12759 (start_sequence): Use xmalloc to allocate the sequence_stack.
12760 (end_sequence): Add free to free it.
12761 (gen_sequence): Don't cache insns when GC'ing.
12762 (clear_emit_caches): Don't use sequence_element_free_list.
12763 (init_emit): Use xcalloc, not xmalloc+bzero.
12764 * fold-const.c (size_int_wide): Kill the cache, when GC'ing.
12765 * function.c (pop_function_context_from): Use free to free the
12766 fixup_var_refs_queue.
12767 (put_reg_into_stack): Allocate it with xmalloc.
12768 * genattrtab.c: Include ggc.h.
12769 (operate_exp): Don't use obstack_free when GC'ing.
12770 (simplify_cond): Likewise.
12771 (simplify_text_exp): Likewise.
12772 (optimize_attrs): Likewise.
12773 * gengenrtl.c (gendef): Use ggc_alloc_rtx to allocate RTL, when
12775 (gencode): Generate a #include for ggc.h.
12776 * ggc-callbacks.c (ggc_p): Define it to zero.
12777 * ggc-none.c (ggc_p): Likewise.
12778 * ggc-simple.c: Include varray.h.
12779 (ggc_mark_tree_varray): New function.
12780 (ggc_add_tree_varray_root): Likewise.
12781 (ggc_mark_tree_varray_ptr): Likewise.
12782 * ggc.h (ggc_p): Declare.
12783 (varray_head_tag): Likewise.
12784 (ggc_add_tree_varray_root): Declare.
12785 * print-tree.c (print_node): Don't check for TREE_PERMANENT
12786 inconsistencies when GC'ing.
12787 * rtl.c: Include ggc.h.
12788 (rtvec_alloc): Use ggc_alloc_rtvec when GC'ing.
12789 (rtx_alloc): Use ggc_alloc_rtx when GC'ing.
12790 (rtx_free): Don't call obstack_free when GC'ing.
12791 * toplev.c (rest_of_compilation): Call ggc_collect after every
12793 * tree.c (push_obstacks): Do nothing, if GC'ing.
12794 (pop_obstacks_nochange): Likewise.
12795 (pop_obstacks): Likewise.
12796 (make_node): Use ggc_alloc_tree when GC'ing.
12797 (copy_node): Likewise.
12798 (get_identifier): Use ggc_alloc_string when GC'ing.
12799 (build_string): Likewise.
12800 (make_tree_vec): Use ggc_alloc_tree when GC'ing.
12801 (tree_cons): Likewise.
12802 (build1): Likewise.
12803 (type_hash_canon): Don't call obstack_free when GC'ing.
12805 Sat Sep 4 21:52:32 1999 Richard Henderson <rth@cygnus.com>
12807 * haifa-sched.c (schedule_block): Use next_nonnote_insn instead
12808 of NEXT_INSN when examining speculative insns for SCHED_GROUP_P.
12810 Sat Sep 4 20:40:19 1999 Richard Henderson <rth@cygnus.com>
12811 Bernd Schmidt <bernds@cygnus.co.uk>
12812 Mark Mitchell <mark@codesourcery.com>
12814 * Makefile.in (stor-layout.o): Depend on ggc.h.
12815 (expr.o): Depend on ggc.h.
12816 (profile.o): Depend on ggc.h.
12817 (stor-layout.o): Depend on ggc.h.
12818 * emit-rtl.c (init_emit_once): Add gc roots.
12819 * expr.c: Include ggc.h.
12820 (emit_block_move): Add gc roots.
12821 (clear_storage): Likewise.
12822 * expr.h (init_stor_layout_once): New function.
12823 * profile.c: Include ggc.h.
12824 (init_arc_profiler): profiler_label is a root.
12825 * scan.c (make_sstring_space): Trust xrealloc to function
12826 correctly with first parameter NULL.
12827 * stor-layout.c: Include ggc.h.
12828 (set_sizetype): Add gc root.
12829 (init_stor_layout_once): New function.
12830 * toplev.c (compile_file): Call it.
12832 Sat Sep 4 19:26:25 1999 Richard Henderson <rth@cygnus.com>
12833 Bernd Schmidt <bernds@cygnus.co.uk>
12834 Mark Mitchell <mark@codesourcery.com>
12836 * Makefile.in (tree.o): Depend on ggc.h.
12837 (varasm.o): Likewise.
12838 (function.o): Likewise.
12839 (stmt.o): Likewise.
12840 (except.o): Likewise.
12841 (optabs.o): Likewise.
12842 (emit-rtl.o): Likewise.
12843 * emit-rtl.c: Include ggc.h.
12844 (sequence_element_free_list): Remove, and all references.
12845 (mark_sequence): New functions.
12846 (mark_emit_state): New function.
12847 * except.c: Include ggc.h.
12848 (mark_eh_node, mark_eh_stack, mark_eh_queue): New functions.
12849 (mark_tree_label_node): New functions.
12850 (mark_eh_state): New function.
12851 * function.c: Include ggc.h.
12852 (mark_temp_slot, mark_function_chain): New functions.
12853 (mark_function_state): New function.
12854 (init_function_once): New function.
12855 * function.h (init_function_once): New function.
12856 * ggc-callbacks.c (lang_mark_false_label_stack): New function.
12857 * ggc.h (label_node): Declare.
12858 (eh_status, emit_status, stmt_status, varasm_status): Likewise.
12859 (lang_mark_false_label_stack): New function.
12860 (mark_temp_slot): Remove declaration.
12861 (mark_function_chain): Likewise.
12862 (mark_eh_state): Adjust prototype.
12863 (mark_stmt_state, mark_emit_state, mark_varasm_state, mark_optab):
12865 * optabs.c: Include ggc.h.
12866 (mark_optab): New function.
12867 (init_optabs): Add gc roots.
12868 * stmt.c: Include ggc.h.
12869 (mark_cond_nesting, mark_loop_nesting): New functions.
12870 (mark_block_nesting, mark_case_nesting, mark_goto_fixup): Likewise.
12871 (mark_stmt_state): New function.
12872 * toplev.c (compile_file): Call init_function_once.
12873 * tree.c: Include ggc.h.
12874 (type_hash): Move declaration earlier in file.
12875 (TYPE_HASH_SIZE, type_hash_table): Likewise.
12876 (init_obstacks): Add gc roots.
12877 (mark_type_hash): New function.
12878 * varasm.c: Include ggc.h.
12879 (mark_pool_constant): New function.
12880 (mark_varasm_state): New function.
12882 Sat Sep 4 22:28:56 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
12884 * ggc-simple.c (ggc_root, ggc_collect): Wrap prototype with PROTO.
12886 Sat Sep 4 18:01:45 1999 Bernd Schmidt <bernds@cygnus.co.uk>
12888 * c-decl.c (struct language_function): Renamed from struct c_function.
12890 (c_function_chain): Delete.
12891 (push_c_function_context): New arg F. Don't warn about nested
12892 functions here. Fill LANGUAGE elt of F. Delete code to update
12893 c_function_chain. Don't call push_function_context.
12894 (pop_c_function_context): New arg F. Restore from there instead of
12895 from c_function_chain. Don't call pop_function_context. Clear out
12896 LANGUAGE field of F when done.
12897 * c-lang.c: Include "function.h"
12898 (lang_init): Initialize save_lang_status and restore_lang_status.
12899 * c-parse.in (nested_function, nested_function_notype): Warn about
12900 nested functions. Call push_function_context/pop_function_context
12901 instead of the _c_ variants.
12902 * c-tree.h (push_c_function_context, pop_c_function_context): Update
12904 * Makefile.in (c-lang.o): Update dependencies.
12906 * emit-rtl.c (init_emit): Use xmalloc to allocate regno_reg_rtx,
12907 regno_pointer_flag, regno_pointer_align.
12908 (gen_reg_rtx): Use xrealloc to enlarge them.
12909 (free_emit_status): New function.
12910 * function.c (mark_machine_status, mark_lang_status): New variables.
12911 (assign_stack_local_1): Renamed from assign_outer_stack_local. Merge
12912 in some bits from assign_stack_local. All callers changed to use new
12914 (assign_stack_local): Just call assign_stack_local_1.
12915 (free_after_compilation): New function.
12916 (put_reg_into_stack): Simplify to always call assign_stack_local_1.
12917 (trampoline_address): Likewise.
12918 (assign_parms): Use xcalloc/xrealloc to allocate parm_reg_stack_loc.
12919 (prepare_function_start): Explicitly clear some more variables.
12920 * function.h (struct function): New elt can_garbage_collect.
12921 (mark_machine_status, mark_lang_status): Declare variables.
12922 (free_after_compilation, free_emit_status, free_varasm_status,
12923 init_varasm_status): Declare functions.
12924 * toplev.c (rest_of_compilation): Call free_after_compilation when
12925 done with the current function.
12926 * varasm.c (free_varasm_status): New function.
12928 Sat Sep 4 17:15:13 1999 Richard Henderson <rth@cygnus.com>
12930 * sparc.h (EXPAND_BUILTIN_VA_START): Define.
12931 (EXPAND_BUILTIN_VA_ARG): Define.
12932 * sparc.c (sparc_va_start): New.
12933 (sparc_va_arg): New.
12935 Sun Sep 5 11:11:59 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
12937 * config/c4x/c4x.h (DBR_OUTPUT_SEQEND): Use XVECEXP not XEXPs.
12939 Sun Sep 5 10:13:19 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
12941 * config/c4x/c4x.h (CALLER_SAVE_PROFITABLE): Disable.
12943 Sat Sep 4 13:44:01 1999 Mark Mitchell <mark@codesourcery.com>
12945 * Makefile.in (C_AND_C_OBJS): Add gcc-callbacks.o.
12946 (OBJS): Add $(GGC).
12947 (ggc-callbacks.o): New target.
12948 * ggc-callbacks.c: New file.
12950 Sat Sep 4 22:53:13 1999 Bernd Schmidt <bernds@cygnus.co.uk>
12952 * expr.h: Collapse individual optab and libfunc vars to arrays.
12953 (optab_index, libfunc_index): New enumerations.
12954 (optab_table, libfunc_table): New arrays.
12955 Add accessor macros for both.
12957 * optabs.c (optab_table, libfunc_table): New.
12958 Delete declarations for individual optab and libfunc vars.
12960 Sat Sep 4 12:57:17 1999 Richard Henderson <rth@cygnus.com>
12962 * i386/sco5.h (RETURN_POPS_ARGS): Name change ix86_return_pops_args.
12964 Sat Sep 4 11:19:52 1999 Richard Henderson <rth@cygnus.com>
12966 * Makefile.in (GGC, GGC_LIB): New.
12967 (HOST_RTL): Include ggc-none.o.
12968 (ggc-simple.o): New target.
12969 (ggc-none.o): Likewise.
12970 * tree.h (tree_common): Add gc_mark.
12971 * rtl.h (struct rtx_def): Steal a bit from code to make gc_mark.
12972 (struct rtvec_def): Add gc_mark.
12973 * emit-rtl.c (global_rtl): Update static initializers to contain
12974 enough initializers.
12975 * ggc.h, ggc-none.c, ggc-simple.c: New files.
12976 * toplev.c (gc_time): New variable.
12977 (all_time): New variable.
12978 (compile_file): Print gc time.
12979 (print_time): Calculate percentage of the whole.
12981 Sat Sep 4 13:11:01 1999 Bernd Schmidt <bernds@cygnus.co.uk>
12983 Change obstack memory management and varasm constant pool handling so
12984 that nested functions are treated like any other functions.
12985 * function.c (init_machine_status): New variable.
12986 (push_function_context_to): Set contains_functions for the outer
12987 function. Don't call save_varasm_status.
12988 (pop_function_context_from): Don't call restore_varasm_status. Don't
12989 set current_function_contains_functions.
12990 (prepare_function_start): Call init_varasm_status rather than
12991 init_const_rtx_hash_table. Call (*init_machine_status) if the pointer
12993 * function.h (struct function) Add field varasm. Delete fields
12994 inline_obstacks, inl_emit, const_rtx_hash_table, first_pool,
12995 last_pool, const_rtx_sym_hash_table, pool_offset, const_double_chain.
12996 (init_machine_status): Declare.
12997 (save_varasm_status, restore_varasm_status): Delete declarations.
12998 (save_tree_status, restore_tree_status): Delete last argument.
12999 * integrate.c (initialize_for_inline): Lose arg COPY. Delete copying
13000 code. All callers changed.
13001 (copy_decl_list, copy_decl_tree, copy_decl_rtls, copy_for_inline,
13002 save_constants_in_decl_trees, restore_constants, save_constants,
13003 save_for_inline_eh_labelmap, save_for_inline_copying): Delete
13005 (inlining): New variable.
13006 (reg_map, label_map, insn_map, orig_asm_operands_vector,
13007 copy_asm_operands_vector, copy_asm_constraints_vector): Delete
13009 (save_for_inline_nocopy): Don't save constants.
13010 Don't set inl_emit field in current_function.
13011 (expand_inline_function): Use emit field, not inl_emit, of the inlined
13012 function. Set new variable inlining before
13013 calling copy_rtx_and_substitute.
13014 (copy_rtx_and_substitute): In MEM and SYMBOL_REF cases, handle
13015 constant pool references if inlining is nonzero.
13016 Delete ADDRESS and (most of the) CONST cases.
13017 (output_inline_function): Save and restore current_function/
13018 current_function_decl. Delete restore_constants code. Don't call
13019 init_const_rtx_hash_table.
13020 * output.h (init_const_rtx_hash_table): Don't declare.
13021 * rtl.h (struct function): Declare.
13022 (get_pool_constant_for_function, get_pool_mode_for_function): Declare.
13023 * toplev.c (rest_of_compilation): Don't treat nested functions or
13024 functions containing them specially. Delete all code to deal with
13025 save_for_inline_copying.
13026 * tree.c (toplev_inline_obstacks, extra_inline_obstacks,
13027 inline_obstacks): Delete variables.
13028 (save_tree_status): Lose arg CONTEXT. All callers changed.
13029 Simply allocate a new function_maybepermanent_obstack for the new
13030 function, delete all the special cases.
13031 Don't save inline_obstacks.
13032 (restore_tree_status): Lose arg CONTEXT. All callers changed.
13033 Delete special handling for function_maybepermanent_obstack; simply
13035 Don't restore inline_obstacks.
13036 (permanent_allocation): Delete code that frees inline_obstacks.
13037 (print_inline_obstack_statistics): Delete function.
13038 (dump_tree_statistics): Don't call it.
13039 * varasm.c (struct varasm_status): New.
13040 (const_rtx_hash_table, const_rtx_sym_hash_table, first_pool,
13041 last_pool, pool_offset, const_double_chain): Delete global
13042 variables, replace with accessor macros.
13043 (immed_double_const): Don't walk const_double_chain outside a
13044 function, but don't treat nested functions specially anymore.
13045 (immed_real_const_1): Likewise.
13046 (clear_const_double_mem): Don't treat nested functions specially.
13047 (init_const_rtx_hash_table): Deleted, code moved to init_varasm_status.
13048 (save_varasm_status, restore_varasm_status): Delete functions.
13049 (init_varasm_status): New function.
13050 (force_const_mem): Don't treat nested functions specially.
13051 (find_pool_constant): Accept new arg F, search for constants in
13052 that function's pool rather than the current one. All callers
13054 (get_pool_constant_for_function, get_pool_mode_for_function): New
13057 * i386.c (init_386_machine_status): New function, mostly from
13058 clear_386_stack_locals.
13059 (struct machine_functions): Rename element names to avoid name
13061 (pic_label_rtx, pic_label_name, i386_stack_locals): New accessor
13062 macros, replacing global variables.
13063 (clear_386_stack_locals, save_386_machine_status,
13064 restore_386_machine_status): Delete functions.
13065 (override_options): Initialize init_machine_status.
13066 * i386.h (INIT_EXPANDERS): Delete macro.
13067 (save_386_machine_status, restore_386_machine_status,
13068 clear_386_stack_locals): Delete declarations.
13070 Sat Sep 4 16:56:28 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
13072 * config/c4x/c4x.md (rptb_init): Renamed from *rptb_init.
13073 (doloop_begin): Simplify pattern and use emit_jump_insn.
13074 (doloop_end): Simplify pattern, switch operand order,
13075 and use emit_jump_insn.
13077 Fri Sep 3 19:02:38 1999 Bernd Schmidt <crux@pool.informatik.rwth-aachen.de>
13079 * function.h (struct function): Add new element LANGUAGE.
13080 (save_lang_status): Declare new variable.
13081 (restore_lang_status): Likewise.
13082 * function.c (save_lang_status): Define.
13083 (restore_lang_status): Likewise.
13084 (push_function_context_to): Call language-specific save function.
13085 (pop_function_context_from): Call language-specific restore function.
13087 Fri Sep 3 01:16:18 1999 Alasdair Baird <alasdair@wildcat.demon.co.uk>
13089 * i386.md (movsf_1): Check REG_P before use of REGNO.
13090 (movdf_1): Likewise.
13091 (movxf_1): Likewise.
13092 (extendsfdf2): Likewise.
13093 (extendsfxf2): Likewise.
13094 (extenddfxf2): Likewise.
13096 Sat Sep 4 11:37:15 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
13098 * config/c4x/c4x.c (c4x_emit_move_sequence): Do not force large
13099 constants into memory.
13100 (c4x_shiftable_constant): New function.
13101 * config/c4x/c4x.c (LEGITIMATE_CONSTANT_P): Allow any CONST_INT.
13102 (c4x_shiftable_constant): Declare.
13103 * config/c4x/c4x.md (loadqi_big_constant, loadhi_big_constant,
13104 ashlqi3_noclobber): Add new patterns and associated splitters.
13106 Fri Sep 3 16:22:17 1999 Richard Henderson <rth@cygnus.com>
13108 * dbxout.c (dbxout_init): Use xcalloc instead of xmalloc+bzero.
13109 * dwarf2out.c (dwarf2out_frame_init): Likewise.
13110 * final.c (shorten_branches): Likewise.
13111 * global.c (global_alloc): Likewise.
13112 * haifa-sched.c (build_control_flow): Likewise.
13113 * stmt.c (check_for_full_enumeration_handling): Likewise.
13114 (estimate_case_costs): Likewise.
13116 Fri Sep 3 15:49:56 1999 Mark Mitchell <mark@codesourcery.com>
13118 * rtl.h (RTL_CHECKC2): Fix typo in last change.
13120 Fri Sep 3 15:13:34 1999 Richard Henderson <rth@cygnus.com>
13122 * flow.c (propagate_block): Use XEXP not SET_DEST for a USE.
13123 (recompute_reg_usage): Likewise.
13124 * rtlanal.c (find_regno_fusage): Likewise.
13126 * rtl.c (rtl_check_failed_code1): New function.
13127 (rtl_check_failed_code2): New.
13128 * rtl.h (RTL_CHECK1, RTL_CHECK2, RTVEC_ELT): Parenthesize args.
13129 (RTL_CHECKC1, RTL_CHECKC2): New.
13130 (XC*): New accessor macros.
13131 (NOTE_*, LABEL_NAME, LABEL_NUSES, ADDRESSOF_REGNO): Use them.
13132 (ADDRESSOF_DECL, JUMP_LABEL, LABEL_REFS, LABEL_NEXTREF): Likewise.
13133 (CONTAINING_INSN, REGNO, INTVAL, SUBREG_REG, SUBREG_WORD): Likewise.
13134 (ASM_OPERANDS_*, MEM_ALIAS_SET, SET_SRC, SET_DEST): Likewise.
13135 (TRAP_*, RANGE_INFO_*): Likewise.
13137 Fri Sep 3 15:10:20 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
13139 * Makefile.in (tlink.o): Don't depend on toplev.h.
13141 * collect2.c (c_file, o_file, export_file, import_file, ldout,
13142 output_file, nm_file_name, ldd_file_name, strip_file_name,
13143 c_file_name, prefix_list, libexts, is_ctor_dtor, find_a_file,
13144 add_prefix, prefix_from_env, prefix_from_string, do_wait,
13145 fork_execute, maybe_unlink, add_to_list,
13146 extract_init_priority, write_list, dump_list,
13147 dump_prefix_list, write_list_with_asm, write_c_file,
13148 write_c_file_stat, write_c_file_glob, scan_prog_file,
13149 scan_libraries, is_in_list, resolve_lib_name, use_import_list,
13150 ignore_library, extract_string, notice, dump_file, target_machine,
13151 collect_wait, collect_execute, libname, locatelib, aix_std_libs,
13152 read_file, print_load_command): Constify a char*.
13153 (fdopen, error, fatal, fatal_perror): Don't prototype.
13154 (my_strerror): Remove. All callers use xstrerror instead.
13155 (xcalloc, xmalloc, xrealloc, xstrdup, putenv): Remove definitions.
13156 (main): Add prototype. Constify lots of char* ptrs. Change calls
13157 to xcalloc/strcpy/strcat/... to one call to concat.
13158 (main, scan_prog_file, scan_libraries): Use an intermediate
13159 `const char **' to build an argv array.
13160 (mapfile, libselect, libcompare, locatelib): Add prototypes.
13162 * collect2.h (collect_execute, collect_wait, dump_file,
13163 file_exists): Constify a char*.
13164 (ldout, c_file_name, temporary_obstack, permanent_obstack,
13165 temporary_firstobj, vflag, debug): Add extern declarations.
13166 (fancy_abort, error, notice, fatal, fatal_perror): Add prototypes.
13168 * tlink.c: Don't include toplev.h.
13169 (vflag, debug, ldout, c_file_name, temporary_obstack,
13170 permanent_obstack, temporary_firstobj): Don't declare.
13171 (tlink_execute, frob_extension, symbol_hash_lookup,
13172 file_hash_lookup, demangled_hash_lookup, tlink_init, freadsym,
13173 recompile_files, read_repo_files, demangle_new_symbols,
13174 scan_linker_output): Constify a char*.
13175 (symbol_hash_newfunc, file_hash_newfunc, demangled_hash_newfunc,
13176 do_tlink): Mark parameters with ATTRIBUTE_UNUSED.
13178 Fri Sep 3 18:09:24 1999 Andrew Haley <aph@cygnus.com>
13180 * config/m68k/m68kelf.h: Set USE_GAS; this makes gcc generate jbsr
13181 (relative) rather than jsr (absolute) subroutine call insns.
13182 * config/m68k/m68k-coff.h: Ditto.
13184 Fri Sep 3 17:24:31 1999 Richard Earnshaw <rearnsha@arm.com>
13186 * arm.c (note_invalid_constants): No need to ignore ASMs, we can
13187 now rework these too.
13188 (arm_reorg): If an insn can't reach the end of the current pool,
13189 ensure that we emit that pool before the insn.
13191 Fri Sep 3 09:14:32 1999 Marc Espie <espie@tetto.liafa.jussieu.fr>
13193 * tlink.c (scan_linker_output): Skip the initial underscore in
13194 a mangled name if appropriate.
13196 Fri Sep 3 01:28:33 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
13198 * objc/objc-act.c (objc_tree_code_type, objc_tree_code_length,
13199 objc_tree_code_name, synth_id_with_class_suffix, warn_with_method,
13200 error_with_ivar, gen_declarator, create_builtin_decl,
13201 my_build_string, generate_descriptor_table, generate_ivars_list,
13202 generate_dispatch_table, check_protocols, TAG_GETCLASS,
13203 TAG_GETMETACLASS, TAG_MSGSEND, TAG_MSGSENDSUPER, TAG_EXECCLASS,
13204 dump_base_name, lang_decode_option, build_encode_expr,
13205 start_class, finish_class, encode_pointer, really_start_method,
13206 gen_declaration, dump_interface, handle_class_ref, handle_impent):
13208 (objc_demangle, objc_printable_name, generate_struct_by_value_array):
13209 Add static prototypes.
13210 (build_objc_string_decl, build_selector_reference_decl,
13211 encode_bitfield, build_class_reference_decl): Remove unused
13212 parameter, all callers changed.
13213 (maybe_objc_method_name): Mark with ATTRIBUTE_UNUSED.
13214 (objc_printable_name): Likewise. Change second parameter to type int.
13215 (init_objc): Use memcpy, not bcopy, to avoid casts.
13217 Thu Sep 2 21:49:52 1999 Richard Henderson <rth@cygnus.com>
13219 * reload1.c (eliminate_regs_in_insn): Avoid eliminating the
13220 reg notes on a deleted insn.
13221 * gcse.c (hash_expr_1): Use XWINT on a CONST_DOUBLE.
13223 Thu Sep 2 20:18:12 1999 Jeffrey A Law (law@cygnus.com)
13225 * i386.c (ix86_attr_length_default): Handle TYPE_FXCH.
13227 Thu Sep 2 22:00:08 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
13229 * stmt.c (expand_asm_operands): Fix index into inout_mode when
13232 Thu Sep 2 13:00:48 1999 Richard Henderson <rth@cygnus.com>
13234 * stmt.c (expand_asm_operands): Invoke MD_ASM_CLOBBERS if present.
13235 * tm.texi (MD_ASM_CLOBBERS): Document it.
13237 Thu Sep 2 10:22:40 1999 Richard Henderson <rth@cygnus.com>
13239 * dwarf2out.c (dwarf2out_line): Constify `lastfile'.
13240 * except.c (expand_rethrow): Remove unused variable.
13241 * expr.c (do_jump_by_parts_greater_rtx): Likewise.
13242 * flow.c (replace_insns): Likewise.
13243 (create_edge_list, verify_edge_list): Likewise.
13244 * gcse.c (cprop_cc0_jump): Protect declaration with HAVE_cc0.
13246 * genemit.c (gen_expand): Only emit `operands[N]' decl if there
13247 is special code to run.
13248 (main): Don't define operands to emit_operand.
13249 * genrecog.c (main): Don't emit an empty peephole2_insn function.
13251 * rtl.h (NOTE_BASIC_BLOCK): Use X0BBDEF.
13253 * alpha/alpha.h (normal_memory_operand): Declare.
13254 (reg_no_subreg_operand): Declare.
13255 * alpha/elf.h (ASM_DECLARE_OBJECT_NAME): Use HOST_WIDE_INT_PRINT_DEC.
13257 Thu Sep 2 10:19:20 1999 Richard Henderson <rth@cygnus.com>
13259 * c-parse.in (compstmt_primary_start): New, broken out of first
13260 part of compstmt handling in primary.
13261 (primary): Use it. Add an error clause.
13262 (compstmt_nostart): Renamed from compstmt; remove all
13263 initial invocations of compstmt_start.
13266 Thu Sep 2 01:35:50 1999 Marc Espie <espie@cvs.openbsd.org>
13268 * protoize.c (gen_aux_info_file): Let pexecute call choose_temp_base if
13271 Thu Sep 2 00:43:59 1999 Finn Hakansson <finn@axis.com>
13273 * combine.c (simplify_shift_const): Remove extra semicolon.
13274 * dwarf2out.c (remove_AT): Likewise.
13275 * expmed.c (expand_mult): Likewise.
13276 * gcov.c (create_program_flow_graph): Likewise.
13277 * reorg.c (mostly_true_jump): Likewise.
13279 Thu Sep 2 00:06:43 1999 Jeffrey A Law (law@cygnus.com)
13281 * fold-const.c (fold_range_test): Do not try to fold the range
13282 test if the rhs or lhs has side effects.
13284 * combine.c (simplify_rtx): Recognize another case of a synthesized
13287 * varasm.c (mark_constant_pool): When marking indirect references,
13288 only look at SYMBOL_REFs.
13290 * except.c (expand_fixup_region_end): Do not peek at
13291 INSN_UID (node->entry->outer_context) for flag_new_exceptions.
13293 Thu Sep 2 13:52:53 1999 Geoffrey Keating <geoffk@cygnus.com>
13295 * flags.h: New variables align_loops, align_loops_log,
13296 align_jumps, align_jumps_log, align_labels, align_labels_log,
13297 align_functions, align_functions_log.
13298 * toplev.c: Define them.
13299 (f_options): Handle -falign-* when they have no argument.
13300 (main): Add logic to set variables for -falign-functions,
13301 -falign-jumps, -falign-labels, -falign-loops.
13302 Make it -fsched-verbose=<n> and -finline-limit=<n>.
13303 (display_help): Change help to match options.
13304 * final.c (LABEL_ALIGN): Default to align_labels_log.
13305 (LABEL_ALIGN_MAX_SKIP): Default to align_labels-1.
13306 (LOOP_ALIGN): Default to align_loops_log.
13307 (LOOP_ALIGN_MAX_SKIP): Default to align_loops-1.
13308 (LABEL_ALIGN_AFTER_BARRIER): Default to align_jumps_log.
13309 (LABEL_ALIGN_AFTER_BARRIER_MAX_SKIP): Default to align_jumps-1.
13310 * varasm.c (assemble_start_function): Handle align_functions.
13312 * config/sparc/sparc.h: Don't declare sparc_align_*.
13313 Don't provide LABEL_ALIGN_AFTER_BARRIER or LOOP_ALIGN.
13314 (DEFAULT_SPARC_ALIGN_FUNCS): Delete; take functionality into
13316 (FUNCTION_BOUNDARY): Fix incorrect use---it's not just a request,
13318 * config/sparc/sparc.c: Delete sparc_align_loops,
13319 sparc_align_jumps, sparc_align_funcs and the corresponding string
13321 (sparc_override_options): Default align_functions on ultrasparc.
13322 Delete -malign-* handling.
13324 * config/mips/mips.c (override_options): On 64-bit targets,
13325 try to align code to 64-bit boundaries.
13326 (print_operand): New substitution, %~,
13327 which aligns labels to align_labels_log.
13328 * config/mips/mips.md (div_trap_normal): Use %~.
13329 (div_trap_mips16): Likewise.
13331 (absdi2): Likewise.
13332 (ffssi2): Likewise.
13333 (ffsdi2): Likewise.
13334 (ashldi3_internal): Likewise.
13335 (ashrdi3_internal): Likewise.
13336 (lshrdi3_internal): Likewise.
13337 (casesi_internal): Likewise.
13339 Wed Sep 1 21:13:48 1999 Richard Henderson <rth@cygnus.com>
13341 Merge new ia32 backend from the branch!
13343 * i386.h, i386.c, i386.md, reg-stack.c, i386/unix.h: Many changes.
13344 See ChangeLog.P2 on new_ia32_branch for details.
13346 * rtl.h (stack_regs_mentioned_p): Delete prototype.
13347 * i386/cygwin.h (SUBTARGET_PROLOGUE): No more do_rtl.
13348 * i386/win32.h (SUBTARGET_PROLOGUE): Likewise.
13349 * i386/gas.h (ASM_FILE_START): Define.
13350 * i386/winnt.c (i386_pe_valid_decl_attribute_p): Update
13351 for name change of ix86_valid_decl_attribute_p.
13352 (i386_pe_valid_type_attribute_p): Similarly.
13354 Wed Sep 1 18:21:23 1999 Richard Henderson <rth@cygnus.com>
13356 * emit-rtl.c (init_emit_once): Don't use GET_MODE_WIDER_MODE
13357 to step through CC modes.
13359 Wed Sep 1 20:18:06 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
13361 * regmove.c (fixup_match_1): Don't move INSN in front of P if
13362 it would end up in the shadow of a live flags regsiter.
13364 Wed Sep 1 11:32:00 1999 Bernd Schmidt <bernds@cygnus.co.uk>
13366 * reload1.c: Fix many indentation problems.
13367 * reload.c: Likewise.
13369 Tue Aug 31 22:08:03 1999 Marc Espie <espie@cvs.openbsd.org>
13371 * alias.c (non_local_reference_p): Constify fmt.
13373 Tue Aug 31 23:19:35 1999 Michael Meissner <meissner@cygnus.com>
13375 * config/i386/xm-cygwin.h (HAVE_DOS_BASED_FILE_SYSTEM): Define.
13377 Tue Aug 31 16:44:52 1999 Jeffrey A Law (law@cygnus.com)
13379 * cse.c (delete_trivially_dead_insns): Do not delete stores to
13380 the internal_arg_pointer.
13382 Tue Aug 31 13:35:42 1999 Richard Henderson <rth@cygnus.com>
13384 Merge peephole2 from new_ia32_branch:
13385 * Makefile.in (STAGESTUFF): Add *.peephole2.
13386 (mostlyclean): Likewise.
13387 (recog.o): Depend on resource.h.
13389 * final.c (peephole): Conditionalize decl on HAVE_peephole.
13390 (final_scan_insn): Likewise for the invocation of peephole.
13391 * genconfig.c (main): Look for peephole and peephole2 patterns.
13392 Emit HAVE_peephole* accordingly.
13393 * genpeep.c (main): Conditionalize entire output on HAVE_peephole.
13394 * flags.h (flag_peephole2): Declare.
13395 * toplev.c: New pass peephole2. New flag -fpeephole2.
13397 * genattrtab.c (main): Count DEFINE_PEEPHOLE2.
13398 * gencodes.c (main): Likewise.
13399 * genextract.c (main): Likewise.
13400 * genoutput.c (main): Likewise.
13401 * genemit.c (max_operand_1): Look for the max scratch operand.
13402 (gen_rtx_scratch): New.
13403 (gen_exp): Use it, and pass on new arg subroutine_type.
13404 (gen_expand): Take max scratch into account.
13405 (gen_split): Emit peephole2 functions.
13406 (output_peephole2_scratch): New.
13407 (main): Include hard-reg-set.h and resource.h. Handle peephole2.
13408 * genrecog.c (routine_type): Add PEEPHOLE2.
13410 (make_insn_sequence): Match outer parallel for peep2. Discard
13411 top level scratches and dups.
13412 (add_to_sequence): New args insn_type and top. Update all callers.
13413 Handle toplevel peep2 matching insns.
13414 (write_subroutine): Handle peep2.
13415 (write_tree_1): Likewise.
13416 (write_tree): Likewise.
13418 (change_state): New arg afterward. Update all callers.
13419 Handle matching separate insns.
13420 * recog.c (recog_next_insn): New.
13421 (peephole2_optimize): New.
13422 * rtl.def (DEFINE_PEEPHOLE2): New.
13423 * resource.c (find_free_register): New argument last_insn. Use it
13424 to find a register available through the entire span.
13425 * resource.h (find_free_register): Update prototype.
13427 Tue Aug 31 11:51:06 1999 Jim Kingdon <http://developer.redhat.com>
13429 * i386.c (output_strlen_unroll): Don't write xops[7]
13430 label if it wasn't set.
13432 1999-08-31 12:44 -0700 Zack Weinberg <zack@bitmover.com>
13434 * cpplib.c (struct directive): Const-ify name pointer and
13435 function pointer prototype.
13436 (validate_else, do_define, do_line, do_include, do_undef,
13437 do_error, do_pragma, do_ident, do_if, do_xifdef, do_else,
13438 do_elif, do_endif, do_sccs, do_assert, do_unassert,
13439 do_warning): Const-ify second arg.
13440 (directive_table): Mark const. Reorder entries by frequency
13441 of usage, record statistics.
13443 1999-08-31 12:20 -0700 Zack Weinberg <zack@bitmover.com>
13445 * rtl.h (RTL_CHECK1, RTL_CHECK2): New macros which type- and
13446 bounds- check RTL accesses if --enable-checking.
13447 (RTVEC_ELT): Bounds check if --enable-checking.
13448 (XWINT, XINT, XSTR, XEXP, XVEC, XMODE, XBITMAP, XTREE,
13449 XBBDEF): Use RTL_CHECK1/RTL_CHECK2 as appropriate.
13450 (XVECEXP, XVECLEN): Define in terms of XVEC, RTVEC_ELT, and
13452 (X0WINT, X0INT, X0STR, X0EXP, X0VEC, X0MODE, X0BITMAP, X0TREE,
13453 X0BBDEF, X0ADVFLAGS): New macros for accessing '0' slots of RTXes.
13455 (ADDR_DIFF_VEC_FLAGS): Use X0ADVFLAGS.
13456 (NOTE_SOURCE_FILE): Use X0STR.
13457 (NOTE_BLOCK_NUMBER, NOTE_EH_HANDLER, LABEL_NUSES,
13458 MEM_ALIAS_SET): Use X0INT.
13459 (NOTE_RANGE_INFO, NOTE_LIVE_INFO, NOTE_BASIC_BLOCK,
13460 JUMP_LABEL, LABEL_REFS, LABEL_NEXTREF, CONTAINING_INSN):
13462 * real.h (CONST_DOUBLE_CHAIN): Use X0EXP.
13463 * rtl.c (copy_rtx, copy_most_rtx): Copy '0' slots with X0WINT.
13464 (rtl_check_failed_bounds, rtl_check_failed_type1,
13465 rtl_check_failed_type2, rtvec_check_failed_bounds): New
13467 (fancy_abort): Fix comment.
13469 * cse.c (canon_hash): Read CONST_DOUBLE data slots with XWINT.
13470 (cse_insn): Decrement LABEL_NUSES for jump target before
13471 deleting jump insn.
13472 * emit-rtl.c (gen_rtx_CONST_DOUBLE): Use X0EXP for slot 1.
13473 * final.c (alter_subreg): Compute regno before changing x to
13474 REG; set REGNO(x) after changing it.
13475 * flow.c (count_basic_blocks): Use XWINT to inspect EH_REGION
13476 notes containing CONST_INTs.
13477 (delete_eh_regions): Use NOTE_EH_HANDLER.
13478 * function.c (put_reg_into_stack): Make reg a MEM before
13480 (fixup_var_refs_insns): Save REG_NOTES (insn) in case we
13482 (gen_mem_addressof): Make reg a MEM before initializing it.
13483 * integrate.c (copy_rtx_and_substitute): Copy '0' slots with
13485 * local-alloc.c (update_equiv_regs): Zap REG_NOTES before
13486 deleting an insn, not after.
13487 (block_alloc): Only look at PATTERN(insn) if we have to, and
13488 only if it's format class 'i'.
13489 * loop.c (check_dbra_loop): Check bl->biv->add_val is a
13490 CONST_INT before using its INTVAL.
13491 * print-rtl.c (print_rtx): Use X0STR.
13492 * regmove.c (fixup_match_1): Don't look at PATTERN of
13493 non-class-'i' insn chain elements.
13494 * reload.c (loc_mentioned_in_p): Take address of
13495 in->fld[1].rtx directly.
13496 * reload1.c (reload): Change reg to a MEM before initializing
13498 * varasm.c (mark_constant_pool): Skip CONST_DOUBLES, which
13500 * config/i386/i386.md (decrement_and_branch_if_zero): Fix typo.
13502 Fri Aug 20 13:43:41 1999 Andrew Haley <aph@cygnus.com>
13504 * config/mips/mips.c (machine_dependent_reorg): Force a
13505 barrier to output the local constant pool if a barrier hasn't
13506 been found at a natural point in the instruction stream.
13508 Mon Aug 30 22:04:36 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
13510 * c-parse.in (language_string): Constify.
13512 * dwarf2out.c (language_string): Remove declaration.
13514 * dwarfout.c (language_string): Likewise.
13516 * toplev.c (language_string, init_parse, finish_parse): Likewise.
13518 * tree.h (language_string, init_parse, finish_parse): Declare.
13520 * i386/sun386.h (language_string): Remove declaration.
13522 * mips.h (language_string): Likewise.
13524 * nextstep.h (language_string): Likewise.
13526 * nextstep21.h (language_string): Likewise.
13528 * rs6000.c (language_string): Likewise.
13530 Mon Aug 30 20:56:08 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
13532 * Makefile.in (OBJS, PROTO_OBJS): Remove getpwd.o.
13533 (getpwd.o): Remove target.
13535 * getpwd.c: Delete file. Its in libiberty now.
13537 * dbxout.c (getpwd): Don't prototype.
13538 * dwarf2out.c (getpwd): Likewise
13539 * dwarfout.c (getpwd): Likewise
13540 * final.c (getpwd): Likewise.
13541 * protoize.c (getpwd): Likewise.
13543 Mon Aug 30 20:21:34 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
13545 * cse.c: (fold_rtx): Cast to HOST_WIDE_INT in left shift.
13547 Mon Aug 30 16:07:49 1999 Richard Henderson <rth@cygnus.com>
13549 * flow.c (new_insn_dead_notes): Use sets_reg_or_subreg not
13550 mark_set_resources.
13552 Mon Aug 30 12:23:53 1999 Jim Wilson <wilson@cygnus.com>
13554 * fixinc/Makefile.in (subdir): New.
13555 (fixincl.x, inclhack.sh, fixincl.sh): Use cp instead of $(CP).
13558 Mon Aug 30 01:02:09 1999 Jeffrey A Law (law@cygnus.com)
13560 * emit-rtl.c (copy_rtx_if_shared): A MEM which references
13561 virtual_stack_vars_rtx or virtual_incoming_args_rtx can not
13564 * invoke.texi: Fix typo.
13566 * dwarf2out.c (mem_loc_descriptor): New argument MODE. All callers
13567 changed. Handle autoincrement addressing modes.
13569 * integrate.c (copy_rtx_and_substitute): Handle internal_arg_pointer
13570 just like we would the virtual incoming args register when
13573 Sun Aug 29 23:17:54 1999 David Edelsohn <edelsohn@gnu.org>
13575 * rs6000.h (ASM_FILE_START): Specify complete filename, including
13576 path, in .file directive.
13578 Sun Aug 29 05:06:43 1999 Russ Allbery <rra@stanford.edu>
13580 * gcc.texi (External Bugs): Remove obsolete note about Perl on
13583 1999-08-29 08:38 -0700 Zack Weinberg <zack@bitmover.com>
13585 * stdbool.h: Make the typedef name _Bool, with bool a #defined
13588 Sun Aug 29 09:36:50 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
13590 * tree.c (tree_code_name): Constify a char*.
13592 * tree.h (tree_code_name, decl_printable_name): Likewise.
13594 * function.h (struct function): Likewise.
13596 * toplev.c (decl_name, decl_printable_name): Likewise.
13598 * vax/vms.h (MAYBE_VMS_FUNCTION_PROLOGUE): Likewise.
13600 * objc/objc-act.c (decl_printable_name): Remove redundant prototype.
13601 (init_objc): Remove function pointer cast.
13603 Sun Aug 29 05:01:17 1999 John David Anglin <dave@hiauly1.hia.nrc.ca>
13605 * pa.md (interspace_jump): New pattern.
13606 (builtin_longjmp): New expander.
13608 1999-08-29 Bernd Schmidt <bernds@cygnus.co.uk>
13610 * fp-bit.c (add, sub, multiply, divide, compare, _eq_f2, _ne_f2,
13611 _gt_f2, _ge_f2, _lt_f2, _le_f2, float_to_si, float_to_usi, negate,
13612 sf_to_df, df_to_sf): Fix potential problem with alias analysis.
13614 Sun Aug 29 04:30:52 1999 John Wehle (john@feith.com)
13616 * jump.c (delete_prior_computation): Also check calls
13617 to constant functions. Don't bother checking for a
13618 REG_UNUSED note before adding it.
13619 (delete_computation): Handle multi-word hard registers
13620 when synthesizing missing REG_DEAD notes for a register
13621 which is both set and used by an insn.
13623 1999-08-29 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
13625 * loop.c (this_loop_info): New variable.
13626 (loop_has_call, loop_has_volatile, loop_has_tablejump,
13627 loop_continue, loops_enclosed): Replace with fields in this_loop_info.
13629 (prescan_loop, strength_reduce): New argument loop_info. All callers
13631 (scan_loop): New variable loop_info, initialise to address of
13633 (prescan_loop): Set loop_info->vtop if find NOTE_INSN_LOOP_VTOP.
13634 Delete variable loop_has_multiple_exit targets and replace with
13635 field in this_loop_info.
13636 (find_and_verify_loops): Rename this_loop to this_loop_num.
13637 (strength_reduce): Delete loop_iteration_info. Replace variable
13638 loop_info with function argument of same name.
13639 (insert_bct): Rework test for loop being completely unrolled.
13641 * loop.h (struct loop_info): New fields num, loops_enclosed,
13642 has_call, has_volatile, has_tablejump, has_multiple_exit_targets,
13643 has_indirect_jump, and cont. Redefine use of unroll_number.
13644 (loop_unroll_number): Delete.
13646 * unroll.c (unroll_loop): Store loop unroll count in unroll_number
13647 field of loop_info.
13648 (loop_iterations): Delete variable vtop and instead use
13649 loop_info->vtop computed in prescan_loop.
13651 Sun Aug 29 03:27:23 1999 Scott Weikart <scott@igc.apc.org>
13653 * fix-header.c (main): Do not pass a null pointer to strcmp.
13655 Sun Aug 29 03:18:48 1999 William Bader (william@nscs.fast.net)
13657 * configure.in (i[34567]86-*-sco3.2v4*): Target does not truncate
13659 * configure: Rebuilt.
13661 Sat Aug 28 19:36:05 1999 Jeffrey A Law (law@cygnus.com)
13663 * jump.c (jump_optimize_1): Do not delete assignments to
13664 internal_arg_pointer.
13665 * cse.c (delete_trivially_dead_insns): Always consider a set of
13666 the internal_arg_pointer live.
13668 Sat Aug 28 16:24:31 1999 Richard Henderson <rth@cygnus.com>
13670 * flow.c (flow_delete_insn_chain): Rename from delete_insn_chain.
13671 (update_life_info) [REG_WAS_0]: Search the original insns rather
13672 than the new insns for the note. Fix typos finding note_dest.
13673 If no dest found, discard the note rather than abort.
13674 [REG_NOALIAS]: Handle as REG_NO_CONFLICT.
13675 (replace_insns): Remove the old insn list after update_life_info
13678 Sat Aug 28 16:20:12 1999 Richard Henderson <rth@cygnus.com>
13680 * haifa-sched.c (sched_analyze): Clear LOG_LINKS before calling
13681 sched_analyze_insn.
13682 (sched_analyze_1): Let add_dependence care for not adding dups.
13683 (sched_analyze_2): Likewise.
13684 (add_branch_dependences): Likewise.
13686 Sat Aug 28 15:58:16 1999 Mumit Khan <khan@xraylith.wisc.edu>
13688 * i386/winnt.c (export_list): New type.
13689 (exports_head): Rename to
13690 (export_head): this.
13691 (i386_pe_record_exported_symbol): Add is_data flag.
13692 (i386_pe_asm_file_end): Emit directive for exported variables.
13693 * i386/cygwin.h (i386_pe_record_exported_symbol): Update
13695 * i386/cygwin.h (ASM_OUTPUT_COMMON): Specify symbol type.
13696 (ASM_DECLARE_OBJECT_NAME): Likewise.
13697 (ASM_DECLARE_FUNCTION_NAME): Likewise.
13698 * i386/uwin.h (ASM_DECLARE_FUNCTION_NAME): Likewise.
13700 Fri Aug 27 15:35:24 1999 Jeffrey A Law (law@cygnus.com)
13702 * cse.c (fold_rtx): Work around bug in Sun V5.0 compilers.
13704 * pa.c (emit_move_sequence): Do not stop on SUBREG_WORD of an
13707 Fri Aug 27 14:01:19 1999 Marc Espie <espie@cvs.openbsd.org>
13709 * config/openbsd.h: Define SET_ASM_OP.
13710 * tm.texi: cross-reference SET_ASM_OP in the index.
13712 1999-08-27 13:27 -0700 Zack Weinberg <zack@bitmover.com>
13714 * rtl.c: Define CONST_DOUBLE_FORMAT to the appropriate format
13715 for a CONST_DOUBLE, at compile time. Initialize rtx_length
13716 and class_narrowest_mode at compile time. Kill init_rtl.
13717 Mark rtx_length, mode_class, mode_size, mode_unit_size,
13718 mode_wider_mode, mode_mask_array, class_narrowest_mode, and
13719 rtx_format as const. Kill all references to EXTRA_CC_MODES or
13721 * rtl.def (CONST_DOUBLE): Use CONST_DOUBLE_FORMAT macro for
13723 * rtl.h: Declare rtx_length and rtx_format as const.
13724 * machmode.def: Define CC(). Use CC() to define CCmode. If
13725 EXTRA_CC_MODES is defined, expand it here.
13726 * machmode.h: Declare mode_class, mode_size, mode_unit_size,
13727 mode_wider_mode, mode_mask_array, and class_narrowest_mode as
13728 const. Kill all references to EXTRA_CC_MODES.
13730 * toplev.c: Don't prototype or call init_rtl.
13731 * optabs.c: Don't call init_mov_optab.
13732 * genemit.c: Don't generate init_mov_optab. Don't call
13734 * gengenrtl.c: Duplicate calculation of CONST_DOUBLE_FORMAT
13736 * genattr.c, genattrtab.c, gencodes.c, genconfig.c,
13737 genextract.c, genflags.c, genopinit.c, genoutput.c, genpeep.c,
13738 genrecog.c: Don't call init_rtl.
13740 * arc.h, arm.h, c4x.h, i386.h, i960.h, m88k.h, pa.h, pdp11.h,
13741 rs6000.h, sparc.h: Don't define EXTRA_CC_NAMES. Use CC() in
13742 definition of EXTRA_CC_MODES.
13744 * md.texi: Kill ref to EXTRA_CC_NAMES.
13745 * tm.texi: Document new way to define EXTRA_CC_MODES.
13747 * genrecog.c: Do not look up the name of a define_split.
13748 (Unrelated bugfix.)
13750 Fri Aug 27 17:03:42 1999 Nick Clifton <nickc@cygnus.com>
13752 * config/v850/v850.md: Fix typo introduced by previous delta.
13754 Fri Aug 27 09:48:59 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
13756 * gcc.c (fatal): Make definition static to match prototype.
13758 Fri Aug 27 10:33:35 1999 Bernd Schmidt <bernds@cygnus.co.uk>
13760 * combine.c (get_last_value): Don't look for earlier sets if the last
13761 known set is somewhere in between the insns being combined.
13763 Fri Aug 27 10:03:12 BST 1999 Nathan Sidwell <nathan@acm.org>
13765 * configure.in: Don't use shell ! to negate exit codes
13766 * configure: Regenerate
13768 Fri Aug 27 09:36:17 1999 Andreas Schwab <schwab@suse.de>
13770 * function.c (assign_stack_temp_for_type): Fix change of Mar 5 for
13771 the fact that ALIGN is measured in bits, not bytes.
13773 1999-08-27 00:27 -0700 Zack Weinberg <zack@bitmover.com>
13775 * errors.c: New file; defines functions error, warning, and
13776 fatal, variables have_error and progname.
13777 * errors.h: New file; prototypes and decls for stuff in errors.c.
13779 * Makefile: Add rules to build errors.o and
13780 $(HOST_PREFIX)errors.o. Link genconfig, gencodes, genemit,
13781 genopinit, genrecog, genextract, genpeep, genattr, and
13782 genoutput with errors.o. Add errors.h to deps of genconfig.o,
13783 gencodes.o, genemit.o, genopinit.o, genrecog.o, genextract.o,
13784 genpeep.o, genattr.o, and genoutput.o.
13786 * genconfig.c, gencodes.c, genemit.c, genopinit.c, genrecog.c,
13787 genextract.c, genpeep.c, genattr.c: Include errors.h. Don't
13788 define or prototype fatal. Set progname at beginning of main.
13789 * genoutput.c: Likewise, and don't define or prototype error
13792 * c-typeck.c (c_expand_start_case): Return immediately if exp
13794 * fold-const.c (operand_equal_p): Return immediately if arg1
13795 or arg0 are ERROR_MARKs.
13796 * stor-layout.c (layout_type [case RECORD_TYPE]): Ignore
13797 fields of type ERROR_MARK when calculating if the record can
13800 Fri Aug 27 01:03:48 1999 Jim Kingdon <http://developer.redhat.com>
13801 with much help from Jeffrey A Law and Richard Henderson
13803 * i386.md: In the 6 insns which call output_fix_trunc,
13804 earlyclobber operands[0].
13806 Fri Aug 27 01:01:51 1999 Philip Blundell <pb@nexus.co.uk>
13808 * jump.c (duplicate_loop_exit_test): Call reg_scan_update after
13809 creating new registers.
13811 1999-08-26 23:09 -0700 Zack Weinberg <zack@bitmover.com>
13813 * i386.h: Declare ix86_cpu_string, ix86_arch_string,
13814 i386_reg_alloc_order, i386_regparm_string,
13815 i386_align_loops_string, i386_align_jumps_string,
13816 i386_align_funcs_string, i386_preferred_stack_boundary_string,
13817 and i386_branch_cost_string as type "const char *".
13818 * i386.c: Define all above strings as type "const char *".
13820 Thu Aug 26 20:36:30 1999 Jim Wilson <wilson@cygnus.com>
13822 * dwarf2out.c (output_aranges): Check DWARF_OFFSET_SIZE not PTR_SIZE
13823 when emitting alignment padding. Emit padding byte of 0 instead of 4.
13825 Thu Aug 26 18:11:20 1999 Mark Mitchell <mark@codesourcery.com>
13827 * tree.c (array_type_nelts): Don't create RTL_EXPRs from
13828 SAVE_EXPRs unless the SAVE_EXPRs have already been expanded.
13830 Thu Aug 26 19:33:23 1999 Jim Wilson <wilson@cygnus.com>
13832 * dwarf2out.c (DWARF2_ASM_LINE_DEBUG_INFO): Add default definition.
13833 (debug_dwarf): Add DWARF2_ASM_LINE_DEBUG_INFO support.
13834 (dwarf2out_line, dwarf2out_finish): Likewise.
13835 * tm.texi (DWARF2_ASM_LINE_DEBUG_INFO): Add documetation.
13837 Thu Aug 26 16:10:56 1999 Gavin Romig-Koch <gavin@cygnus.com>
13839 * tree.c (lang_unsave_expr_now) : Correct return type.
13840 * tree.h (lang_unsave_expr_now) : Same.
13842 Thu Aug 26 13:12:29 1999 Jeffrey A Law (law@cygnus.com)
13844 * pa.c (cint_ok_for_move): Use CONST_INT_OK_FOR_LETTER_P macros
13845 instead of duplicating code.
13847 Thu Aug 26 18:32:32 1999 Bernd Schmidt <bernds@cygnus.co.uk>
13849 * gcse.c (hash_scan_insn): Don't scan obvious no-ops.
13851 1999-08-26 09:42 -0700 Zack Weinberg <zack@bitmover.com>
13853 * tree.h: fancy_abort always takes three args.
13854 * resource.c: Move include of system.h before toplev.h.
13856 Thu Aug 26 09:46:16 1999 Nick Clifton <nickc@cygnus.com>
13858 * dwarf2out.c (mem_loc_descriptor): Accept LABEL_REFs as well
13861 1999-08-25 22:10 -0700 Zack Weinberg <zack@bitmover.com>
13863 * system.h: Don't redefine abort or trim_filename.
13864 * rtl.h: Define abort to fancy_abort (__FILE__, __LINE__, 0)
13865 or fancy_abort (__FILE__, __LINE__, __FUNCTION__) depending on
13866 whether or not __FUNCTION__ is available.
13867 * tree.h: Duplicate rtl.h's definition of abort, for files
13868 that don't include rtl.h. Delete all code to perform type
13869 checking with a compiler other than GCC.
13870 * varray.h: Delete all code to perform type checking with a
13871 compiler other than GCC. Make VARRAY_CHECK() always evaluate
13872 its arguments exactly once, using a statement expression.
13873 Adjust the VARRAY_<type> accessor macros to match.
13874 * toplev.h (fatal_insn, fatal_insn_not_found): Kill.
13875 (_fatal_insn, _fatal_insn_not_found): New fns, take info on
13876 caller's location. Define fatal_insn and fatal_insn_not_found
13877 as macros that use _fatal_insn and _fatal_insn_not_found.
13878 (fancy_abort, trim_filename): Kill prototypes.
13880 * rtl.c (trim_filename): Move here from toplev.c.
13881 (fancy_abort): New function.
13882 (DIR_SEPARATOR): Provide default definition.
13883 * tree.c (tree_check_failed, tree_class_check_failed): Go
13884 through fancy_abort.
13885 (tree_check, tree_class_check, cst_or_constructor_check,
13886 expr_check): Delete.
13887 * varray.c (varray_check_failed): New function.
13888 * toplev.c (fatal_insn, fatal_insn_not_found): Replace with
13889 _fatal_insn and _fatal_insn_not_found. Go through
13891 (trim_filename, fancy_abort): Delete.
13893 * builtins.c (expand_builtin_args_info): Report ICE with abort.
13894 * except.c (start_catch_handler): Report ICE with error/abort
13896 * final.c (output_operand_lossage): Likewise.
13897 * flow.c (verify_flow_info): Likewise.
13899 * gcc.c: Prototype fatal.
13900 * gengenrtl.c: Undef abort after including rtl.h not system.h.
13901 * genattr.c, genattrtab.c, genemit.c, genextract.c,
13902 genflags.c, genopinit.c, genoutput.c, genpeep.c, genrecog.c:
13903 Don't define fancy_abort.
13905 Wed Aug 25 17:56:59 1999 Richard Henderson <rth@cygnus.com>
13907 * optabs.c (emit_cmp_and_jump_insns): Be more thorough in
13910 Wed Aug 25 15:35:55 1999 Richard Henderson <rth@cygnus.com>
13912 * m88k.h (VERSION_INFO2): Kill.
13913 (VERSION_STRING): Kill.
13915 (VERSION_INFO1): Tidy.
13916 (TARGET_VERSION): Update.
13917 * m88k/dgux.h (VERSION_INFO2): Kill.
13918 (ASM_FIRST_LINE): Adjust for death of VERSION_STRING.
13919 * m88k/luna.h (VERSION_INFO1): Tidy.
13920 * m88k/sysv4.h (VERSION_INFO1): Likewise.
13921 * m88k.c (out_rcs_id, tm_rcs_id): Kill.
13922 (output_file_start): Adjust for death of VERSION_STRING.
13924 1999-08-25 13:51 -0700 Jim Meyering <meyering@ascend.com>
13926 * cpplib.c (detect_if_not_defined): New function.
13927 (do_if): Use it to detect potential once-only headers.
13929 Wed Aug 25 14:00:18 1999 Jason Merrill <jason@yorick.cygnus.com>
13931 * c-common.c (combine_strings): Always set TREE_CONSTANT.
13933 Wed Aug 25 15:27:22 1999 Gavin Romig-Koch <gavin@cygnus.com>
13935 * combine.c (nonzero_bits) : Allow single-ly set registers to be
13936 anywere in the function only if they are pseudos and set before
13937 being used (not live at the start of the function).
13938 (num_sign_bit_copies) : Same.
13939 (get_last_value_validate) : Same.
13940 (get_last_value) : Same.
13942 Wed Aug 25 11:13:29 1999 Richard Henderson <rth@cygnus.com>
13944 * loop.c (express_from): Try harder to unify (* c N) and (* c M)
13945 where N and M are constant and N is an integer multiple of M.
13947 Wed Aug 25 13:55:47 EDT 1999 Andrew MacLeod <amacleod@cygnus.com>
13949 * sbitmap.h (sbitmap_intersection_of_succs): Add prototype.
13950 (sbitmap_intersection_of_preds, sbitmap_union_of_succs,
13951 sbitmap_union_of_preds): Add prototypes.
13952 * sbitmap.c (sbitmap_intersection_of_succs): New function to compute
13953 the intersection of successors with the new flow graph structures.
13954 (sbitmap_intersection_of_preds): New function to compute the
13955 intersection of predecessors with the new flow graph structures.
13956 (sbitmap_union_of_succs): New function to compute the union of
13957 successors with the new flow graph structures.
13958 (sbitmap_union_of_preds): New function to compute the union of
13959 predecessors with the new flow graph structures.
13960 * gcse.c (compute_rdm, compute_available): Use new sbitmap routines.
13961 (expr_reaches_here_p): Use edge and basic_block structures instead
13962 of s_preds and s_succs.
13963 (compute_cprop_avinout): Use new sbitmap routines.
13964 (pre_expr_reaches_here_p): Use edge and basic_block structures instead
13965 of s_preds and s_succs.
13966 * flow.c (compute_flow_dominators): Compute dominators using
13967 edges and basic blocks instead of s_preds and s_succs.
13969 Wed Aug 25 13:41:47 EDT 1999 Andrew MacLeod <amacleod@cygnus.com>
13971 * lists.c (unused_insn_list, unused_expr_list): New file for
13972 maintaining various types of lists. New statics for maintaining a
13973 cache of available INSN_LIST and EXPR_LIST nodes.
13974 (free_list): Static function for freeing a list of INSN/EXPR nodes.
13975 (alloc_INSN_LIST): Function to get a free INSN_LIST node.
13976 (alloc_EXPR_LIST): Function to get a free EXPR_LIST node.
13977 (init_EXPR_INSN_LIST_cache): Initialize the cache lists.
13978 (free_EXPR_LIST_list): Free an entire list of EXPR_LIST nodes.
13979 (free_INSN_LIST_list): Free an entire list of INSN_LIST nodes.
13980 (free_EXPR_LIST_node): Free an individual EXPR_LIST node.
13981 (free_INSN_LIST_node): Free an individual INSN_LIST node.
13982 * haifa-sched.c (unused_insn_list, unused_expr_list): Moved to flow.c
13983 (free_list, alloc_INSN_LIST, alloc_EXPR_LIST): Moved to flow.c
13984 (remove_dependence, free_pending_lists): Use new global routines.
13985 (flush_pending_lists, sched_analyze_insn): Use new global routines.
13986 (sched_analyze, compute_block_backward_dependences): Use new routines.
13987 (sched_analyze_1, sched_analyze_2): Use new routines.
13988 (schedule_insns): Use new global routines.
13989 * rtl.h (init_EXPR_INSN_LIST_cache, free_EXPR_LIST_list): Add function
13991 (free_INSN_LIST_list, free_EXPR_LIST_node): Add prototypes.
13992 (free_INSN_LIST_node, alloc_INSN_LIST, alloc_EXPR_LIST): Add function
13994 * toplev.c (rest_of_compilation): Initialize node cache.
13995 * Makefile.in (OBJS): Add lists.o to list of object files.
13996 (lists.o): Add dependancies.
13998 Wed Aug 25 17:31:56 1999 Nick Clifton <nickc@cygnus.com>
14000 * config/v850/v850.md: Fix compile time warning messages.
14001 * config/v850/v850.c: Fix compile time warning messages.
14002 * config/v850/v850.h: Fix compile time warning messages.
14004 Wed Aug 25 09:44:43 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
14006 * genattr.c (gen_attr): Add prototype arguments for get_attr_*().
14007 Remove unused prototype for `init_lengths'.
14009 Wed Aug 25 09:32:31 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
14011 * calls.c (emit_call_1): Mark parameter `stack_size' with
14013 (expand_call): Initialize variable `insn'.
14014 (emit_library_call): Likewise for variable `high_to_save'.
14015 (emit_library_call_value): Likewise.
14016 (store_one_arg): Likewise for variables `lower_bound' and
14019 * combine.c (try_combine): Likewise for variables `i2_code_number'
14020 and `other_code_number'.
14021 (find_split_point): Likewise for variables `pos', `unsignedp' and
14023 (simplify_if_then_else): Likewise for variables `op' and `c1'.
14024 (simplify_and_const_int): Remove unused variable `width'.
14025 (merge_outer_ops): Likewise.
14027 * cse.c (simplify_binary_operation): Cast an INTVAL() to `unsigned
14028 HOST_WIDE_INT' when comparing against one.
14029 (simplify_relational_operation): Likewise.
14030 (cse_insn): Initialize variables `src_eqv_volatile',
14031 `src_eqv_in_memory', `src_eqv_in_struct', `src_eqv_hash' and `sets'.
14033 * final.c (init_final): Constify parameter `filename'.
14034 (final_start_function): Mark parameter `optimize' with
14036 (profile_function): Likewise for parameters `first' and `optimize'.
14037 (output_source_line): Likewise for parameter `file'.
14039 * integrate.c (subst_constants): Cast a value to `size_t' when
14040 comparing against one.
14041 (mark_stores): Initialize variable `mode'. Cast a value to
14042 `size_t' when comparing against one.
14044 * integrate.h (MAYBE_EXTEND_CONST_EQUIV_VARRAY): Likewise.
14046 * loop.c (move_movables): Initialize variable `first'.
14047 (strength_reduce): Likewise for variable `increment'.
14048 (check_dbra_loop): Likewise for variable `comparison_val'. Cast a
14049 value to `size_t' when comparing against one.
14050 (load_mems): Initialize variable `end_label'.
14052 * output.h (init_final): Constify parameter.
14054 * reload.c (decompose): Initialize variable `base'.
14056 * reload1.c (reload): Likewise for variable `is_scalar'.
14057 (spill_hard_reg): Mark parameter `dumpfile' with ATTRIBUTE_UNUSED.
14058 (choose_reload_regs): Initialize variable `mode'.
14059 (emit_reload_insns): Likewise for variable `store_insn'.
14060 (reload_cse_noop_set_p): Mark parameter `insn' with
14062 (reload_combine): Initialize variable `set'.
14064 * unroll.c (unroll_loop): Likewise for variable `local_label'.
14065 (copy_loop_body): Cast a value to `size_t' when comparing against
14068 * varasm.c (assemble_variable): Initialize variable `size_tree'.
14069 (const_hash): Add an `else abort()' in an if-else-if-else sequence.
14070 (remove_from_pending_weak_list): Mark parameter `name' with
14073 Wed Aug 25 11:18:39 1999 Bernd Schmidt <bernds@cygnus.co.uk>
14075 * toplev.c (rest_of_compilation): Use decl_printable_name when opening
14078 Wed Aug 25 10:57:12 1999 Nick Clifton <nickc@cygnus.com>
14080 * config/arm/telf.h (ASM_WEAKEN_LABEL): Define.
14081 (ASM_DECLARE_FUNCTION_NAME): Define.
14082 (TYPE_ASM_OP, SIZE_ASM_OP, TYPE_OPERAND_FORMAT,
14083 ASM_DECLARE_RESULT, ASM_DECLARE_OBJECT_NAME,
14084 ASM_FINISH_DECLARE_OBJECT, ASM_DECLARE_FUNCTION_SIZE): Define if
14085 not already defined.
14087 Wed Aug 25 01:36:11 1999 John David Anglin <dave@hiauly1.hia.nrc.ca>
14089 * calls.c (emit_call_1): Use call_pop/call_value_pop for all values
14090 of n_popped when call/call_value are not defined.
14092 Wed Aug 25 01:25:14 1999 Jeffrey A Law (law@cygnus.com)
14094 * tm.texi: GNU CC -> GCC conversion.
14095 (CC1_SPEC): Indicate it is used for all language front ends.
14097 Tue Aug 24 23:43:03 1999 Mark Mitchell <mark@codesourcery.com>
14099 * flow.c (delete_block): Spell NOTE_INSN_EH_REGION_BEG and
14100 NOTE_INSN_EH_REGION_END correctly.
14102 Tue Aug 24 23:26:44 1999 Michael Tiemann <tiemann@holodeck.cygnus.com>
14103 Jeff Law <law@cygnus.com>
14105 * loop.c (strength_reduce): Automatically unroll loops if the
14106 unrolled loop size is smaller than the rolled loop size.
14108 * loop.c (insert_bct): Replace use of sdiv_optab with asr_optab
14109 and delete comment that code should be rewritten.
14111 Tue Aug 24 22:56:35 1999 Jeffrey A Law (law@cygnus.com)
14113 * haifa-sched.c (find_rgns): Mark a block found during the DFS search
14116 * haifa-sched.c (get_visual_tbl_length): Fix off-by-one error.
14118 Tue Aug 24 22:41:06 1999 Mumit Khan <khan@xraylith.wisc.edu>
14120 * fixinc/mkfixinc.sh: Don't fix uwin headers.
14121 * i386/uwin.h (MD_STARTFILE_PREFIX): Define.
14122 (LINK_SPEC): Add -u _main when building executables.
14123 (ASM_DECLARE_FUNCTION): Update from Cygwin.
14124 (ASM_FILE_END): Use the default for ix86-pe.
14125 * i386/xm-uwin.h (HAVE_BCOPY): Undefine.
14127 Tue Aug 24 20:49:47 1999 Art Haas <ahaas@neosoft.com>
14129 * final.c (output_addr_const): Handle case where ASM_OPEN_PAREN
14130 and ASM_CLOSE_PAREN are empty strings.
14132 Wed Aug 25 12:46:22 1999 Fred Fish <fnf@cygnus.com>
14133 Geoffrey Keating <geoffk@cygnus.com>
14135 * Makefile.in (PREPROCESSOR_DEFINES): New macro.
14136 (protoize.o): Use PREPROCESSOR_DEFINES and DRIVER_DEFINES.
14137 (unprotoize.o): Ditto.
14138 (test-protoize-simple): Don't define STD_PROTO_DIR.
14139 * protoize.c: Use PARAMS rather than PROTO. Minor whitespace
14140 changes to make 'test-protoize-simple' pass.
14141 (STD_PROTO_DIR): Remove define.
14142 (STANDARD_EXEC_PREFIX): Supply default define.
14143 (standard_exec_prefix): New variable, init to STANDARD_EXEC_PREFIX.
14144 (target_machine): New variable, init to DEFAULT_TARGET_MACHINE.
14145 (target_version): New variable, init to DEFAULT_TARGET_VERSION.
14146 (GET_ENV_PATH_LIST): New macro.
14147 (default_syscalls_dir): No longer initialized to STD_PROTO_DIR.
14148 (do_processing): Initialize default_syscalls_dir using new
14149 macros. Use it to initialize syscalls_absolute_filename.
14151 Tue Aug 24 16:58:15 1999 Richard Henderson <rth@cygnus.com>
14153 * jump.c (jump_optimize_1): Do cmov opt on any single-set; force
14154 B into a register before emit_conditional_move.
14156 Tue Aug 24 15:37:03 1999 Richard Henderson <rth@cygnus.com>
14158 * fold-const.c (fold): Reassociate (+ (+ (* a b) c) (* d e))
14159 as (+ (+ (* a b) (* d e)) c). Factor a common power-of-two
14160 multiplicand out of (+ (* a b) (* c d)).
14162 Tue Aug 24 11:46:10 1999 Bob Manson <manson@cygnus.com>
14163 Richard Henderson <rth@cygnus.com>
14165 * haifa-sched.c (split_hard_reg_notes): Move to flow.c
14166 (new_insn_dead_notes): Likewise.
14167 (update_n_sets): Likewise.
14168 (update_flow_info): Move to flow.c, renamed to update_life_info;
14169 extend to handle multiple source insns.
14170 * flow.c: Include resource.h
14171 (unlink_insn_chain): New.
14172 (split_hard_reg_notes): New.
14173 (maybe_add_dead_note): New.
14174 (maybe_add_dead_note_use): New.
14175 (find_insn_with_note): New.
14176 (new_insn_dead_notes): New.
14177 (update_n_sets): New.
14178 (sets_reg_or_subreg_1, sets_reg_or_subreg): New.
14179 (maybe_remove_dead_notes): New.
14180 (update_life_info): New.
14181 (prepend_reg_notes): New.
14182 (replace_insns): New.
14183 * output.h (update_life_info): Declare.
14184 * recog.c (split_block_insns): Use update_life_info.
14185 * resource.c (find_free_register): Use reg_alloc_order, don't use
14186 fixed regs, make sure the mode is supported, don't use new regs.
14188 * rtl.h (replace_insns): Declare.
14190 Tue Aug 24 13:48:39 1999 Nathan Sidwell <nathan@acm.org>
14192 * expr.c (expand_expr): Cope with COND_EXPRs with one
14193 non-returning branch.
14195 Mon Aug 23 22:28:16 1999 Mark Mitchell <mark@codesourcery.com>
14197 * expr.c (store_expr): Always pass down the target, even when not
14200 1999-08-24 Nick Clifton <nickc@cygnus.com>
14202 * configure.in: Define target_cpu_default for v850 targets.
14203 * configure: Regenerate
14205 * config/v850/v850.h (TARGET_CPU_generic): Define.
14206 (GO_IF_LEGITIMATE_ADDRESS): Insist that SImode and larger constant
14207 addresses are 4 byte aligned.
14209 * config/v850/v850.c (print_operand): Cope with 'R' format DFmode
14212 Tue Aug 24 09:32:07 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
14214 * genattr.c (function_unit_desc): Constify a char*. Add prototype.
14215 (main): Add prototypes.
14217 * genattrtab.c (substitute_address, write_const_num_delay_slots,
14218 attr_eq, attr_numeral, attr_equal_p, attr_copy_rtx): Prototype.
14219 (write_attr_get): Emit prototypes along with function definition.
14220 (write_eligible_delay): Mark a parameter with ATTRIBUTE_UNUSED.
14221 (write_complex_function): Emit static prototype along with
14222 function definition.
14224 * genemit.c (gen_split): Emit prototypes along with function
14227 * genoutput.c (output_epilogue): Add prototype to `insn_outfun'.
14228 Likewise for predicates and `insn_operand_predicate'.
14229 (process_template): Emit static prototype along with function
14232 * genrecog.c (make_insn_sequence): Constify a char*. Add
14233 prototypes for get_split_*().
14234 (write_subroutine): Emit prototypes along with function
14237 Tue Aug 24 12:35:20 1999 Bernd Schmidt <bernds@cygnus.co.uk>
14239 * gcse.c (find_avail_set): Follow chains of register-register copies.
14240 Use oprs_not_set_p to guarantee that the returned value can be
14242 (cprop_insn): Don't verify the return value of find_avail_set with
14245 * gcse.c (cprop_jump): New function, broken out of cprop_insn.
14246 (cprop_cc0_jump): New function.
14247 (cprop_insn): Break out new function cprop_jump and use it.
14248 Also use cprop_cc0_jump for machines with CC0.
14249 (cprop): Don't crash if cprop_insn turned the insn into a NOTE.
14251 * tree.h (current_function_calls_setjmp,
14252 current_function_calls_longjmp): Delete declarations.
14253 * dsp16xx.c: Include "function.h".
14254 * elxsi.c: Likewise.
14255 * gmicro.c: Likewise.
14256 * h8300.c: Likewise.
14257 * i370.c: Likewise.
14258 * m32r.c: Likewise.
14259 * mn10200.c: Likewise.
14260 * mn10300.c: Likewise.
14261 * ns32k.c: Likewise.
14262 * spur.c: Likewise.
14263 * v850.c: Likewise.
14265 * rtl.h (rtx_equal_function_value_matters): Declare.
14266 * toplev.c (rtx_equal_function_value_matters): Don't declare.
14268 * function.c: Likewise.
14269 * emit-rtl.c: Likewise.
14271 Tue Aug 24 02:47:44 1999 Jeffrey A Law (law@cygnus.com)
14273 * expr.c (convert_move): Fix arguments to TRULY_NOOP_TRUNCATION
14276 1999-08-24 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
14278 * jump.c (delete_barrier_successors) Match (set (pc) (pc)) insn
14281 Mon Aug 23 23:35:52 1999 Matthias Klose <doko@cs.tu-berlin.de>
14283 * cpp.texi: Add a node documenting macro varargs (copied
14286 1999-08-23 22:23 -0700 Zack Weinberg <zack@bitmover.com>
14288 * cppspec.c: Put a null pointer at the end of the new argv.
14290 Mon Aug 23 21:23:24 1999 Jeffrey A Law (law@cygnus.com)
14292 * configure.in: Remove code to select/de-select the haifa
14293 scheduler. Every scheduled port gets haifa now.
14294 * configure: Rebuilt.
14295 * flags.h, genattrtab.c, rtl.h, toplev.c: Remove HAIFA ifdefs.
14297 * Makefile.in: Corresponding changes.
14299 Mon Aug 23 16:04:13 1999 Bernd Schmidt <bernds@cygnus.co.uk>
14301 * optabs.c (prepare_cmp_insn): Turn COMPARISON arg into a pointer.
14302 All callers changed.
14303 (prepare_float_lib_cmp): Likewise.
14304 Use FLOAT_LIB_COMPARE_RETURNS_BOOL.
14305 * expr.h (emit_float_lib_cmp): Delete declaration.
14306 * tm.texi (FLOAT_LIB_COMPARE_RETURNS_BOOL): Document.
14307 * sparc.h (FLOAT_LIB_COMPARE_RETURNS_BOOL): Define.
14308 * sparc.md (bcc and scc patterns): Don't handle TFmode comparisons
14310 (cmptf): Now conditional on TARGET_HARD_QUAD.
14312 Fri Aug 20 17:52:27 1999 Jim Wilson <wilson@cygnus.com>
14314 * resource.c (mark_target_live_regs): Use
14315 PIC_OFFSET_TABLE_REG_CALL_CLOBBERED.
14317 Fri Aug 20 19:07:55 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
14319 * rtl.c (rtx_class, note_insn_name, reg_note_name): Constify.
14321 * rtl.h (rtx_class, reg_note_name, note_insn_name): Likewise.
14323 * genopinit.c (gen_insn): Use accessor macro, not `rtx_class'.
14325 Fri Aug 20 18:53:43 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
14327 * rtl.h (rtx_format): Constify a char*.
14329 * rtl.c (rtx_format): Likewise.
14330 (copy_rtx, copy_most_rtx, read_rtx): Likewise.
14331 (init_rtl): Use accessor macro, not `rtx_format'.
14333 * alias.c (rtx_equal_for_memref_p, find_symbolic_term): Constify a
14336 * caller-save.c (mark_referenced_regs): Likewise.
14338 * combine.c (subst, make_compound_operation, known_cond,
14339 gen_rtx_combine, update_table_tick, get_last_value_validate,
14340 use_crosses_set_p, mark_used_regs_combine, move_deaths): Likewise.
14342 * cse.c (rtx_cost, mention_regs, canon_hash, exp_equiv_p,
14343 refers_to_p, canon_reg, fold_rtx, cse_process_notes,
14344 count_reg_usage): Likewise.
14346 * emit-rtl.c (gen_rtx, copy_rtx_if_shared, reset_used_flags):
14349 * final.c (leaf_renumber_regs_insn): Likewise.
14351 * flow.c (mark_used_regs, find_use_as_address, dump_flow_info,
14352 dump_edge_info, count_reg_references): Likewise.
14354 * function.c (fixup_var_refs_1, walk_fixup_memory_subreg,
14355 fixup_stack_1, purge_addressof_1, instantiate_virtual_regs_1):
14358 * gcse.c (oprs_unchanged_p, hash_expr_1, expr_equiv_p,
14359 oprs_not_set_p, expr_killed_p, compute_transp, find_used_regs,
14360 add_label_notes): Likewise.
14362 * genattrtab.c (attr_rtx, attr_copy_rtx, encode_units_mask,
14363 clear_struct_flag, count_sub_rtxs, count_alternatives,
14364 compares_alternatives_p, contained_in_p, walk_attr_value,
14365 write_expr_attr_cache): Likewise.
14367 * genconfig.c (walk_insn_part): Likewise.
14369 * genemit.c (max_operand_1, gen_exp): Likewise.
14371 * genextract.c (walk_rtx): Likewise.
14373 * genflags.c (num_operands): Likewise.
14375 * genoutput.c (scan_operands): Likewise.
14377 * genpeep.c (match_rtx): Likewise.
14379 * genrecog.c (add_to_sequence): Likewise.
14381 * haifa-sched.c (may_trap_exp, sched_analyze_2, attach_deaths):
14384 * integrate.c (save_constants, copy_for_inline,
14385 copy_rtx_and_substitute, subst_constants, restore_constants):
14388 * jump.c (mark_jump_label, invert_exp, redirect_exp,
14389 rtx_renumbered_equal_p, rtx_equal_for_thread_p): Likewise.
14391 * local-alloc.c (contains_replace_regs, memref_referenced_p):
14394 * loop.c (record_excess_regs, rtx_equal_for_loop_p,
14395 add_label_notes, replace_call_address, count_nonfixed_reads,
14396 invariant_p, find_single_use_in_loop, find_mem_givs,
14397 find_life_end, maybe_eliminate_biv_1, update_reg_last_use):
14400 * print-rtl.c (reg_names, print_rtx): Likewise.
14402 * recog.c (validate_replace_rtx_1, find_single_use_1): Likewise.
14404 * reg-stack.c (stack_regs_mentioned_p, record_label_references,
14405 record_reg_life_pat, swap_rtx_condition, goto_block_pat,
14406 print_blocks): Likewise.
14408 * regclass.c (fix_register, record_address_regs,
14409 reg_scan_mark_refs): Likewise.
14411 * regmove.c (stable_but_for_p): Likewise.
14413 * reload.c (loc_mentioned_in_p, operands_match_p,
14414 find_reloads_toplevsubst_reg_equivs, find_reloads_address_1,
14415 copy_replacements, refers_to_regno_for_reload_p,
14416 refers_to_mem_for_reload_p, find_inc_amount, regno_clobbered_p,
14417 reload_when_needed_name, reg_class_names, debug_reload_to_stream):
14420 * reload1.c (eliminate_regs, scan_paradoxical_subregs,
14421 delete_address_reloads_1, count_occurrences,
14422 reload_cse_mem_conflict_p, reload_combine_note_use,
14423 add_auto_inc_notes): Likewise.
14425 * resource.c (mark_referenced_resources, mark_set_resources):
14428 * rtlanal.c (rtx_unstable_p, rtx_varies_p, rtx_addr_varies_p,
14429 reg_mentioned_p, regs_set_between_p, modified_between_p,
14430 modified_in_p, refers_to_regno_p, reg_overlap_mentioned_p,
14431 rtx_equal_p, volatile_insn_p, volatile_refs_p, side_effects_p,
14432 may_trap_p, inequality_comparisons_p, replace_rtx, replace_regs,
14433 jmp_uses_reg_or_mem, for_each_rtx, regno_use_in): Likewise.
14435 * sched.c (sched_analyze_2, attach_deaths): Likewise.
14437 * stupid.c (stupid_mark_refs): Likewise.
14439 * unroll.c (remap_split_bivs): Likewise.
14441 * varasm.c (mark_constants): Likewise.
14443 * a29k/a29k.c (uses_local_reg_p): Likewise.
14445 * alpha/alpha.c (summarize_insn): Likewise.
14447 * arm/arm.c (symbol_mentioned_p, label_mentioned_p,
14448 eliminate_lr2ip): Likewise.
14450 * arm/thumb.c (symbol_mentioned_p, label_mentioned_p): Likewise.
14452 * i386/i386.c (symbolic_reference_mentioned_p, copy_all_rtx,
14453 reg_mentioned_in_mem): Likewise.
14455 * ns32k/ns32k.c (global_symbolic_reference_mentioned_p,
14456 symbolic_reference_mentioned_p): Likewise.
14458 * romp/romp.c (unsigned_comparisons_p, hash_rtx): Likewise.
14460 * sh/sh.c (regs_used, mark_use): Likewise.
14462 * vax/vax.c (vax_rtx_cost): Likewise.
14464 Fri Aug 20 18:38:43 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
14466 * machmode.h (mode_name): Constify a char*.
14468 * rtl.c (mode_name): Likewise.
14470 * genopinit.c (gen_insn): Use accessor macro, not `mode_name'.
14472 * optabs.c (init_libfuncs): Constify a char*.
14474 * print-tree.c (mode_name): Remove redundant declaration.
14475 (print_node): Use accessor macro, not `mode_name'.
14477 * reload1.c (dump_needs): Constify a char*. Use accessor macro,
14479 (new_spill_reg): Constify a char*.
14481 * tree.c (mode_name): Remove redundant declaration.
14483 Fri Aug 20 18:31:26 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
14485 * rtl.c (rtx_name): Constify a char*.
14487 * rtl.h (rtx_name, fix_sched_param): Likewise.
14489 * gmicro/gmicro.c (rtx_name): Remove redundant declaration.
14490 (mypr): Use accessor macro, not `rtx_name'.
14492 * genemit.c (print_code): Constify a char*.
14494 * genopinit.c (gen_insn): Use accessor macro, not `rtx_name'.
14496 * genpeep.c (print_code): Constify a char*.
14498 * genrecog.c (print_code): Likewise.
14500 * graph.c (start_fct, start_bb, node_data, draw_edge, end_fct,
14501 end_bb): Add static prototype.
14502 (draw_edge): Constify a char*.
14503 (end_bb): Remove unused parameter.
14505 * haifa-sched.c (fix_sched_param, safe_concat, print_exp
14506 print_block_visualization): Constify a char*.
14508 Fri Aug 20 15:02:10 1999 Mark Mitchell <mark@codesourcery.com>
14510 * c-common.c (c_get_alias_set): Update comment.
14512 1999-08-20 Andreas Jaeger <aj@arthur.rhein-neckar.de>
14514 * linux.h (LIB_SPEC): Added.
14516 Fri Aug 20 22:32:17 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
14518 * config/c4x/c4x.h (STARTFILE_SPEC): Don't define.
14520 1999-08-19 18:43 -0700 Zack Weinberg <zack@bitmover.com>
14522 * tree.c (expr_check): Fix typo in last change.
14524 1999-08-19 14:44 -0700 Zack Weinberg <zack@bitmover.com>
14526 * rtl.def (NOTE): Change format to "iuu0n".
14527 (ADDR_DIFF_VEC): Change format to "eEee0".
14528 (ADDRESSOF): Change format to "eit".
14530 * rtl.h (rtvec): Make "elem" an array of rtx, not rtunion.
14531 (RTVEC_ELT): Change to match.
14532 (XVECEXP): Use XVEC and RTVEC_ELT.
14533 (INSN_UID, INSN_CODE, CODE_LABEL_NUMBER, NOTE_LINE_NUMBER,
14534 ADDRESSOF_REGNO, REGNO, SUBREG_WORD): Use XINT.
14535 (PREV_INSN, NEXT_INSN, PATTERN, REG_NOTES,
14536 CALL_INSN_FUNCTION_USAGE, SUBREG_REG, SET_SRC, SET_DEST,
14537 TRAP_CONDITION, TRAP_CODE): Use XEXP.
14538 (INTVAL): Use XWINT.
14539 (ADDRESSOF_DECL): Use XTREE.
14540 (SET_ADDRESSOF_DECL): Delete.
14541 (NOTE_DECL_NAME, NOTE_DECL_CODE, NOTE_DECL_RTL,
14542 NOTE_DECL_IDENTIFIER, NOTE_DECL_TYPE): Kill. These have been
14543 ifdefed out since 2.6 at least.
14544 (gen_rtvec_vv): Delete prototype.
14546 * rtl.h (rtvec_alloc): rt->elem is now an array of rtx,
14548 (copy_most_rtx): Handle 't' format letter.
14549 * emit-rtl.c (gen_rtvec_v): rt_val->elem is an array of rtx.
14550 (gen_rtvec_vv): Delete function. All callers changed to use
14551 gen_rtvec_v instead.
14552 * print-rtl.c (print_rtx): Move special casing of NOTEs to
14553 the '0' format letter.
14555 * function.c (gen_mem_addressof): Don't use
14556 SET_ADDRESSOF_DECL; provide `decl' to gen_rtx_ADDRESSOF
14558 * integrate.c (copy_rtx_and_substitute): Likewise.
14559 Copy 't' slots with XTREE.
14560 (subst_constants): Treat 't' slots like '[swi]' slots.
14561 * cse.c (canon_hash, exp_equiv_p): Treat 't' slots like '0' slots.
14562 * jump.c (rtx_equal_for_thread_p): Likewise.
14563 * rtlanal.c (rtx_equal_p): Likewise.
14564 * stmt.c (expand_end_case): gen_rtx_ADDR_DIFF_VEC now takes
14565 only four arguments.
14566 * gengenrtl.c (type_from_format): Provide correct types for
14570 * tree.h [ENABLE_CHECKING] (TREE_CHECK, TREE_CLASS_CHECK):
14571 If a recent gcc is in use (always in stage2 and beyond), use
14572 statement expressions, so we don't make a function call unless
14573 the check fails. Evaluate arguments exactly once.
14574 (CHAIN_CHECK, DO_CHECK, DO_CHECK1, TREE_CHECK1,
14575 TREE_CLASS_CHECK1, TYPE_CHECK1, DECL_CHECK1, CST_CHECK1):
14577 (CST_OR_CONSTRUCTOR_CHECK, EXPR_CHECK): Redefine such that
14578 they evaluate their arguments exactly once, irrespective of
14579 the compiler in use.
14581 * tree.c [ENABLE_CHECKING]: Define whichever set of functions
14582 is used by the currently-enabled check macros. This is:
14583 (tree_check_failed, tree_class_check_failed): For gcc.
14584 (tree_check, tree_class_check, cst_or_constructor_check,
14585 expr_check): For other compilers.
14587 * gencheck.c: Do not define any *_CHECK1 macros.
14589 Thu Aug 19 14:42:38 1999 Mike Stump <mrs@wrs.com>
14590 Mark Mitchell <mark@codesourcery.com>
14592 * c-common.c (c_get_alias_set): Fix support for poitners and
14595 Thu Aug 19 11:51:22 EDT 1999 John Wehle (john@feith.com)
14597 * alias.c: Include tree.h.
14598 (nonlocal_reference_p, mark_constant_function): New functions.
14599 * flow.c (life_analysis): Call mark_constant_function.
14600 * rtl.h (mark_constant_function): Declare it.
14602 Thu Aug 19 15:02:01 1999 Nick Clifton <nickc@cygnus.com>
14604 * config/rs6000/rs6000.c (rs6000_override_options): Fix test for
14605 unrecognisable switches.
14607 Wed Aug 18 23:31:57 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
14609 * loop.c (recombine_givs): Set ix field after sorting.
14610 (recombine_givs): Remove bogus index / giv lockstep looping.
14612 Wed Aug 18 18:20:40 1999 Bernd Schmidt <bernds@cygnus.co.uk>
14614 * expmed.c (emit_store_flag): If UNSIGNEDP, call unsigned_condition
14616 (emit_store_flag_force): Use do_compare_rtx_and_jump.
14617 (do_cmp_and_jump): Formatting fixes.
14618 * expr.c (do_compare_and_jump): Renamed from compare; changed to call
14619 do_compare_rtx_and_jump instead of compare_from_rtx.
14620 (do_compare_rtx_and_jump): New function; mostly copied from
14622 (do_jump_for_compare): Delete.
14623 (expand_expr): Use do_compare_rtx_and_jump when handling MAX_EXPR and
14625 (do_jump): Use do_compare_and_jump or do_compare_rtx_and_jump instead
14626 of compare/do_jump_for_compare pairs.
14627 (do_jump_by_parts_greater): Use do_jump_by_parts_greater_rtx.
14628 (do_jump_by_parts_greater_rtx): Use do_compare_rtx_and_jump instead of
14629 compare_from_rtx/do_jump_for_compare pairs.
14630 (do_jump_by_parts_equality): Likewise.
14631 (do_jump_by_parts_equality_rtx): Likewise.
14632 * expr.h (do_compare_rtx_and_jump): Declare.
14633 * optabs.c (prepare_cmp_insn): New function, contains most of the code
14634 that used to be in emit_cmp_insn.
14635 (cmp_available_p): New function.
14636 (prepare_operand): New function.
14637 (emit_cmp_and_jump_insn_1): New function, contains some code that used
14638 to be in emit_cmp_insn.
14639 (prepare_float_lib_cmp): Renamed from emit_float_lib_cmp; change some
14640 parameters to be pointers; don't emit final compare but modify some of
14641 the values pointed to by the args so the caller can perform the
14642 correct comparison.
14643 (expand_binop): Call emit_store_flag_force with signed forms of
14645 (expand_abs): Use do_compare_rtx_and_jump instead of compare_from_rtx/
14646 emit_jump_insn pair.
14647 (emit_cmp_and_jump_insn): Use prepare_cmp_insn and
14648 emit_cmp_and_jump_insn_1. Call emit_queue.
14649 (emit_cmp_insn): Just call emit_cmp_and_jump_insns with zero for LABEL
14651 * flow.c (tidy_fallthru_edge): If HAVE_cc0, verify insn before a
14652 jump sets cc0 before deleting it.
14653 * integrate.c (expand_inline_function): Likewise.
14654 * unroll.c (unroll_loop): Similar changes in several places.
14655 (copy_loop_body): If HAVE_cc0, verify insn before a jump sets cc0
14656 before deleting it.
14658 Wed Aug 18 06:37:44 1999 Bernd Schmidt <bernds@cygnus.co.uk>
14660 * Makefile.in (insn-recog.o): Update dependencies.
14661 * genrecog.c (main): Make generated file include "function.h".
14663 Sat Aug 14 00:54:57 1999 Geoffrey Keating <geoffk@cygnus.com>
14665 * cse.c (cse_insn): Call never_reached_warning when a jump is
14666 changed to be unconditional.
14667 * flags.h: Declare warn_notreached.
14668 * flow.c (delete_block): Call never_reached_warning when
14669 a block is deleted.
14670 * jump.c (delete_barrier_successors): Call never_reached_warning
14671 when we delete everything after a BARRIER.
14672 (never_reached_warning): New function.
14673 * rtl.h: Declare never_reached_warning.
14674 * toplev.c (warn_notreached): New variable.
14675 (lang_independent_options): Set warn_notreached
14676 when -Wunreachable-code.
14677 (compile_file): We need line numbers for -Wunreachable-code.
14679 Tue Aug 17 22:06:11 1999 Jan Hubicka <hubicka@freesoft.cz>
14681 * haifa-sched.c (insn_unit): Fix typo on out of range test.
14682 * sched.c (insn_unit): Likewise.
14684 Tue Aug 17 21:57:23 1999 Andreas Schwab <schwab@suse.de>
14686 * combine.c (distribute_notes): Handle REG_EH_RETHROW.
14688 Tue Aug 17 17:39:43 EDT 1999 Andrew MacLeod <amacleod@cygnus.com>
14690 * flow.c (create_edge_list): Use xmalloc, not malloc.
14692 Tue Aug 17 01:40:54 1999 Loren Rittle <ljrittle@acm.org>
14694 * fixinc/inclhack.def (no_double_slash): Do not trash single-line
14695 C-style comments. Do not lose the character before double slash.
14697 Mon Aug 16 18:08:22 EDT 1999 Andrew MacLeod <amacleod@cygnus.com>
14699 * basic-block.h (struct edge_list): Stucture to maintain a vector
14701 (EDGE_INDEX_NO_EDGE, EDGE_INDEX, INDEX_EDGE_PRED_BB, INDEX_EDGE_SUCC_BB,
14702 INDEX_EDGE, NUM_EDGES): New Macros for accessing edge list.
14703 (create_edge_list, free_edge-List, print_edge_list, verify_edge_list):
14704 New function prototypes.
14705 * flow.c (create_edge_list): Function to create an edge list.
14706 (free_edge_list): Discards memory used by an edge list.
14707 (print_edge_list): Debug output showing an edge list.
14708 (verify_edge_list): Internal consistency check for an edge list.
14709 (find_edge_index): Function to find an edge index for a pred and succ.
14711 Mon Aug 16 11:56:36 1999 Mark Mitchell <mark@codesourcery.com>
14713 * tree.c (type_hash_add): Use permalloc to allocate nodes in the
14716 Mon Aug 16 17:04:15 1999 Jorn Rennecke <amylaar@cygnus.co.uk>
14718 * mips.h (CLASS_CANNOT_CHANGE_SIZE): Define.
14720 Fri Aug 13 15:20:43 1999 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
14722 * config/i386/freebsd.h (HANDLE_PRAGMA_PACK_PUSH_POP): Define.
14724 Fri Aug 13 10:21:28 1999 Nick Clifton <nickc@cygnus.com>
14726 * toplev.c (rest_of_compilation): Allow machine dependent
14727 reorganisation pass to place information into the RTL dump
14728 file if it so wishes.
14730 Sun Aug 15 12:41:21 1999 Jim Wilson <wilson@cygnus.com>
14732 * explow.c (hard_function_value): Use VOIDmode instead of
14734 * stmt.c (expand_return): Likewise.
14735 * stor-layout.c (get_best_mode): Likewise.
14737 * genemit.c (gen_expand): If next is MATCH_PAR_DUP, then output
14738 emit call instead of emit_insn call.
14740 Sat Aug 14 15:04:06 1999 Mumit Khan <khan@xraylith.wisc.edu>
14742 * configure.in: Handle --disable/enable-win32-registry.
14743 * install.texi: Document --disable/enable-win32-registry.
14744 * acconfig.h (ENABLE_WIN32_REGISTRY): New macro.
14745 (WIN32_REGISTRY_KEY): New macro.
14746 * prefix.c: Use to enable/disable win32-specific code.
14747 (lookup_key): Use versioned key.
14748 * configure: Regenerate.
14749 * config.in: Likewise.
14751 Fri Aug 13 17:41:55 1999 Jason Merrill <jason@yorick.cygnus.com>
14753 * cpplib.c (read_line_number): New fn, split out of...
14756 Fri Aug 13 14:18:27 1999 Gavin Romig-Koch <gavin@cygnus.com>
14758 tree.c (lang_unsave_expr_now) : New.
14759 (unsave_expr_now): Call lang_unsave_expr_now.
14760 tree.h (lang_unsave_expr_now) : New.
14762 Fri Aug 13 00:49:46 1999 Jason Merrill <jason@yorick.cygnus.com>
14764 * toplev.c (flag_new_exceptions): On by default.
14766 1999-08-13 Michael Meissner <meissner@cygnus.com>
14768 * Makefile.in (GCC_FOR_TARGET): Move -B./ after the tooldir -B.
14770 Fri Aug 13 01:29:57 1999 Alexandre Oliva <oliva@dcc.unicamp.br>
14772 * dwarfout.c (fundamental_type_code): Return FT_boolean for
14773 INTEGER_TYPE with precision==1, it's __java_boolean.
14775 Thu Aug 12 23:51:04 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
14777 * global.c (prune_preferences): Move some invariants out of the
14780 Thu Aug 12 15:30:29 1999 Jesse Perry (jap@unx.dec.com)
14782 * configure.in (alpha*-dec-osf*): Add osf5.
14784 Sun Aug 1 22:24:03 1999 Philip Blundell <philb@gnu.org>
14786 * configure.in: Rework handling of ARM GNU/Linux slightly.
14787 (arm*-*-linux-gnuoldld): New target.
14788 * configure: Regenerate.
14789 * install.texi (Configurations): Add arm-*-linux-gnu{oldld} and
14790 arm-*-elf. Mention that arm-*-linux-gnuaout is obsolete.
14791 * config/arm/linux-oldld.h: New file.
14792 * config/arm/linux-elf26.h: Don't include linux-elf.h.
14793 (TARGET_DEFAULT, SUBTARGET_LINK_SPEC, SUBTARGET_EXTRA_ASM_SPEC):
14795 * config/arm/linux-elf.h (ASM_SPEC): Define.
14796 (TARGET_DEFAULT, SUBTARGET_EXTRA_LINK_SPEC,
14797 SUBTARGET_EXTRA_ASM_SPEC, CPP_APCS_PC_DEFAULT): Add definitions
14798 for 26-bit APCS and old linker.
14799 (CPP_PREDEFINES): Define `__arm__'; don't define `arm' or
14801 (FP_DEFAULT): Define to FP_SOFT3 for all machines.
14802 * config/arm/linux-aout.h (CPP_PREDEFINES): Define `__arm__';
14803 don't define `arm' or `arm_elf'.
14804 * config/arm/t-linux (EXTRA_MULTILIB_PARTS, MULTILIB_OPTIONS,
14805 MULTILIB_DIRNAMES): Define. Fix typo in comment.
14807 Thu Aug 12 10:14:47 1999 Andreas Schwab <schwab@suse.de>
14809 * rtl.texi: Fix typo.
14811 Wed Aug 11 23:50:57 1999 Jason Merrill <jason@yorick.cygnus.com>
14813 * invoke.texi (C++ Dialect Options): Add -fms-extensions.
14815 Wed Aug 11 12:59:37 1999 Mark Mitchell <mark@codesourcery.com>
14817 * extend.texi (C++ Signatures): Remove node.
14818 * invoke.texi: Remove discussion of -fhandle-signatures,
14819 signature, sigof, __signature__, and __sigof__.
14821 Wed Aug 11 03:38:25 1999 Jeffrey A Law (law@cygnus.com)
14823 * Makefile.in (JAVAGC): Removed.
14825 Wed Aug 11 02:13:26 1999 Mumit Khan <khan@xraylith.wisc.edu>
14827 * i386/cygwin.h (ASM_OUTPUT_ALIGNED_BSS): Define.
14829 1999-08-11 Mark Elbrecht <snowball3@bigfoot.com>
14831 * i386/djgpp.h (ASM_OUTPUT_ALIGNED_BSS): Define.
14833 1999-08-11 Richard Earnshaw (rearnsha@arm.com)
14835 * emit-rtl.c (mark_reg_pointer): Don't increase the alignment of
14836 a register that is already known to be a pointer.
14838 1999-08-11 Bruce Korb <ddsinc09@ix.netcom.com>
14840 * fixinc/inclhack.tpl: Only install assert.h conditionally.
14841 * fixinc/inclhack.sh: Regenerated.
14842 * fixinc/fixincl.sh: Regenerated.
14844 Wed Aug 11 00:34:22 1999 Joe Buck <jbuck@synopsys.com>
14846 * invoke.texi: s/GNU CC/GCC/ for consistency with gcc.texi.
14847 Fix documentation of -ansi flag to describe its C++ behavior.
14848 Remove bogus reference to GCC 2.9.
14850 Tue Aug 10 17:19:02 1999 Jim Wilson <wilson@cygnus.com>
14852 * config/sh/sh.c (machine_dependent_reorg): Only call PUT_MODE on
14853 note if it is non-NULL.
14855 Tue Aug 10 10:47:42 EDT 1999 Andrew MacLeod <amacleod@cygnus.com>
14857 * except.h (eh_nesting_info): Add new structure defintion.
14858 (init_eh_nesting_info, free_eh_nesting_info): Add function prototypes.
14859 (reachable_handlers, update_rethrow_references): Add function
14861 * rtl.h (struct rtvec_def): Update comments. REG_EH_RETHROW takes
14862 a rethrow symbol instead of an integer exception region number.
14863 * flow.c (Make_edges): Use new exception nesting routines to determine
14864 which handlers are reachable from a CALL or asynchronous insn.
14865 Dont add an edge for calls with a REG_EH_REGION of -1 to non-local
14867 (delete_eh_regions): Update rethrow labels, and don't delete
14868 regions which are the target of a rethrow.
14869 * except.c (struct func_eh_entry): Add rethrow_ref field, now we can
14870 avoid overloading the SYMBOL_REF_USED flag.
14871 (rethrow_symbol_map): Use new rethrow_ref field.
14872 (rethrow_used): Use new rethrow_ref field.
14873 (expand_rethrow): REG_EH_RETHROW now has a SYMBOL_REF instead
14874 of an integer. Fix formatting.
14875 (output_exception_table_entry): Use new rethrow_ref field.
14876 (can_throw): Check for EH_REGION_NOTE before deciding
14877 whether a CALL can throw or not.
14878 (scan_region): Call rethrow_used() instead of accessing data structure.
14879 (update_rethrow_references): New function to make sure only regions
14880 which are still targets of a rethrow are flagged as such.
14881 (process_nestinfo): New static function to initialize a handler
14882 list for a specific region.
14883 (init_eh_nesting_info): New function to allocate and initialize
14884 the list of all EH handlers reachable from all regions.
14885 (reachable_handlers): New function to retrieve the list of handlers
14886 reachable from a specific region and insn.
14887 (free_eh_nesting_info): New function to dispose of a list of
14888 reachable handlers.
14890 Tue Aug 10 10:39:31 EDT 1999 Andrew MacLeod <amacleod@cygnus.com>
14892 * flow.c (split_edge): Set JUMP_LABEL field.
14893 (commit_one_edge_insertion): Set head correctly for insert_before.
14894 When inserting insns, update insn block numbers if allocated.
14896 Tue Aug 10 09:26:07 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
14898 * dwarf2out.c (dwarf2out_frame_debug_expr, add_incomplete_type,
14899 retry_incomplete_types): Add static prototype.
14900 (stripattributes, dwarf_cfi_name, ASM_OUTPUT_DWARF_STRING,
14901 dwarf_tag_name, dwarf_attr_name, dwarf_form_name,
14902 dwarf_stack_op_name, dwarf_type_encoding_name, add_AT_string,
14903 dwarf2_name, add_name_attribute, lookup_filename, dwarf2out_line,
14904 dwarf2out_start_source_file, dwarf2out_define, dwarf2out_undef):
14907 * dwarf2out.h (dwarf2out_define, dwarf2out_undef,
14908 dwarf2out_start_source_file, dwarf2out_line): Likewise.
14910 Tue Aug 10 09:21:46 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
14912 * output.h (assemble_name): Constify a char*.
14914 * varasm.c (UNIQUE_SECTION, assemble_start_function,
14915 assemble_variable, assemble_name): Likewise.
14917 * dwarf2out.c (ASM_NAME_TO_STRING): Likewise.
14919 * arm/pe.c (arm_pe_unique_section): Likewise.
14921 * i386/cygwin.h (STRIP_NAME_ENCODING): Likewise.
14923 * i386/i386-interix.h (STRIP_NAME_ENCODING): Likewise.
14925 * i386/interix.c (i386_pe_unique_section): Likewise.
14927 * i386/win32.h (STRIP_NAME_ENCODING): Likewise.
14929 * i386/winnt.c (i386_pe_unique_section): Likewise.
14931 * m32r/m32r.h (ASM_OUTPUT_LABELREF): Likewise.
14933 * mn10200/mn10200.h (ASM_OUTPUT_LABELREF): Likewise.
14935 * mn10300/mn10300.h (ASM_OUTPUT_LABELREF): Likewise.
14937 * pa/pa.c (output_call): Likewise.
14939 * pa/pa.h (ASM_OUTPUT_MI_THUNK): Likewise.
14941 * pa/som.h (ASM_OUTPUT_FUNCTION_PREFIX): Likewise.
14943 * rs6000/rs6000.c (rs6000_output_load_toc_table, output_toc):
14946 * rs6000/rs6000.h (RS6000_OUTPUT_BASENAME, STRIP_NAME_ENCODING):
14949 * rs6000/sol2.h (ASM_OUTPUT_SOURCE_LINE): Likewise.
14951 * rs6000/sysv4.h (ASM_DECLARE_FUNCTION_NAME, ASM_OUTPUT_INT,
14952 STRIP_NAME_ENCODING, ASM_OUTPUT_LABELREF): Likewise.
14954 * v850/v850.h (ASM_OUTPUT_LABELREF): Likewise.
14956 Mon Aug 9 19:54:05 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
14958 * real.c (GET_REAL, PUT_REAL): Use memcpy instead of bcopy.
14960 Mon Aug 9 19:36:00 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
14962 * tree.h (lang_identify): Constify a char*.
14963 (print_error_function): Add extern prototype. Constify a char*.
14965 * c-lang.c (lang_identify): Constify a char*.
14967 * objc/objc-act.c (lang_identify): Constify a char*.
14969 Mon Aug 9 16:21:53 1999 Bernd Schmidt <bernds@cygnus.co.uk>
14971 * genpeep.c (main): Make generated file include "function.h".
14972 * arm.c (function_really_clobbers_lr): Delete INLINE_HEADER case.
14974 Mon Aug 9 10:08:50 1999 Bernd Schmidt <bernds@cygnus.co.uk>
14976 * Makefile.in: Update dependencies.
14977 * alias.c: Include "function.h"
14978 * c-decl.c: Likewise.
14979 * caller-save.c: Likewise.
14980 * calls.c: Likewise.
14981 * combine.c: Likewise.
14983 * explow.c: Likewise.
14984 * final.c: Likewise.
14985 * global.c: Likewise.
14986 * graph.c: Likewise.
14987 * local-alloc.c: Likewise.
14988 * loop.c: Likewise.
14989 * optabs.c: Likewise.
14990 * profile.c: Likewise.
14991 * recog.c: Likewise.
14992 * regclass.c: Likewise.
14993 * regmove.c: Likewise.
14994 * reload.c: Likewise.
14995 * reorg.c: Likewise.
14996 * resource.c: Likewise.
14997 * sched.c: Likewise.
14998 * stupid.c: Likewise.
14999 * config/1750a/1750a.c: Likewise.
15000 * config/a29k/a29k.c: Likewise.
15001 * config/arc/arc.c: Likewise.
15002 * config/arm/arm.c: Likewise.
15003 * config/arm/thumb.c: Likewise.
15004 * config/c4x/c4x.c: Likewise.
15005 * config/clipper/clipper.c: Likewise.
15006 * config/convex/convex.c: Likewise.
15007 * config/fx80/fx80.c: Likewise.
15008 * config/i860/i860.c: Likewise.
15009 * config/m68k/m68k.c: Likewise.
15010 * config/m88k/m88k.c: Likewise.
15011 * config/mips/mips.c: Likewise.
15012 * config/pdp11/pdp11.c: Likewise.
15013 * config/pyr/pyr.c: Likewise.
15014 * config/romp/romp.c: Likewise.
15015 * config/sh/sh.c: Likewise.
15016 * config/tahoe/tahoe.c: Likewise.
15017 * config/vax/vax.c: Likewise.
15018 * config/we32k/we32k.c: Likewise.
15019 * config/sparc/sparc.c: Include "function.h".
15020 (mem_min_alignment): Test current_function rather than
15021 regno_pointer_align.
15022 * config/pa/pa.c: Likewise.
15023 (compute_frame_size): Delete declaration of
15024 current_function_outgoing_args_size.
15025 * config/arc/arc.h (current_function_varargs): Delete declaration.
15026 * config/elxsi/elxsi.h (current_function_calls_alloca): Delete
15028 * config/i370/i370.h (current_function_outgoing_args_size): Delete
15030 * config/i386/i386.h (FINALIZE_PIC): Delete declaration of
15031 current_function_uses_pic_offset_table.
15032 * config/m68k/a-ux.h (FUNCTION_EXTRA_EPILOGUE): Delete declaration
15033 of current_function_returns_pointer.
15034 * config/m68k/altos3068.h (FUNCTION_EXTRA_EPILOGUE): Likewise.
15035 * config/m68k/linux.h (FUNCTION_EXTRA_EPILOGUE): Likewise.
15036 * config/m68k/m68kv4.h (FUNCTION_EXTRA_EPILOGUE): Likewise.
15037 * config/m68k/mot3300.h (FUNCTION_EXTRA_EPILOGUE): Likewise.
15038 * config/m68k/pbb.h (FUNCTION_EXTRA_EPILOGUE): Likewise.
15039 * config/m68k/tower-as.h (FUNCTION_EXTRA_EPILOGUE): Likewise.
15040 * config/m88k/m88k.c: Include "function.h"
15041 (call_used_regs, current_function_pretend_args_size,
15042 current_function_outgoing_args_size, frame_pointer_needed): Delete
15044 * config/m88k/m88k.h (current_function_pretend_args_size): Delete
15046 * config/mips/mips.h (current_function_calls_alloca): Delete
15048 * config/mn10200/mn10200.h (current_function_needs_context,
15049 rtx_equal_function_value_matters): Delete declarations.
15050 * config/ns32k/ns32k (current_function_uses_pic_offset_table,
15051 flag_pic): Delete declarations.
15052 * config/pa/pa.h (current_function_pretend_args_size,
15053 current_function_decl): Delete declarations.
15054 * config/pa/som.h (current_function_varargs): Delete declaration.
15055 * config/pdp11/pdp11.h (current_function_pretend_args_size): Delete
15057 * config/pyr/pyr.h (current_function_pretend_args_size,
15058 current_function_args_size, current_function_calls_alloca): Delete
15060 * config/sh/sh.h (current_function_varargs): Delete declaration.
15061 * config/sparc/sparc.h (current_function_outgoing_args_size,
15062 current_function_calls_alloca, current_function_decl): Delete
15064 * config/spur/spur.h (current_function_pretend_args_size,
15065 current_function_calls_alloca): Delete declarations.
15066 * config/v850/v850.c (current_function_outgoing_args_size): Delete
15068 * config/vax/vms.h (current_function_name): Delete declaration.
15069 * gcse.c: Include "function.h".
15070 (current_function_name, current_function_calls_setjmp): Delete
15072 * haifa-sched.c: Include "function.h".
15073 (forced_labels): Delete declaration.
15074 * jump.c: Likewise.
15075 * reg-stack.c: Likewise.
15076 * reload1.c: Likewise.
15077 * genemit.c (main): Make generated file include function.h.
15078 * genoutput.c (output_prologue): Likewise.
15080 * builtins.c (saveregs_value, apply_args_value): Delete variables.
15081 * emit-rtl.c (reg_rtx_no, first_label_num, first_insn, last_insn,
15082 sequence_rtl_expr, cur_insn_uid, last_linenum, last_filename,
15083 regno_pointer_flag, regno_pointer_flag_length, regno_pointer_align,
15084 regno_reg_rtx, sequence_stack): Delete variables. Add accessor
15085 macros for some of them.
15086 (emit_filename, emit_lineno): Delete declarations.
15087 (gen_reg_rtx): Use memset/memcpy instead of bzero/bcopy. Access
15088 regno_pointer_* variables through current_function.
15089 (gen_inline_header_rtx): Delete function.
15090 (save_emit_status): Delete function.
15091 (set_new_last_label_num): New function.
15092 (clear_emit_caches): New function.
15093 (restore_emit_status): Just clear last_labelnum and call
15095 (get_last_insn_anywhere): Variable sequence_stack is now accessed
15096 through macro seq_stack.
15097 (add_insn_after): Likewise.
15098 (add_insn_before): Likewise.
15099 (remove_insn): Likewise.
15100 (pop_topmost_sequence): Likewise.
15101 (in_sequence_p): Likewise.
15102 (start_sequence_for_rtl_expr): Likewise.
15103 (start_sequence): Likewise, and likewise for
15104 sequence_rtl_expr/seq_rtl_expr.
15105 (push_topmost_sequence): Likewise.
15106 (end_sequence): Likewise.
15107 (init_virtual_regs): Now takes a "struct emit_status *" argument.
15108 All callers changed. Store into that pointer instead of globals.
15109 (init_emit): Allocate emit elt of current_function.
15110 Changes for sequence_rtl_expr/sequence_stack renaming.
15111 Call clear_emit_caches instead of doing it in-line.
15112 Access regno_pointer_* variables through current_function.
15113 (init_emit_once) Don't clear sequence_stack.
15115 * expr.c (pending_stack_adjust, inhibit_defer_pop, pending_chain):
15117 (arg_pointer_save_area): Delete declaration.
15118 (finish_expr_for_function): Renamed from init_queue; no longer static.
15119 (init_expr): Don't call init_queue.
15120 (save_expr_status, restore_expr_status): Delete functions.
15121 (expand_expr): Changes to reflect new layout of struct function.
15122 Don't access current_function_check_memory_usage when current_function
15124 * expr.h (forced_labels, save_expr_regs, saveregs_value,
15125 apply_args_value, current_function_calls_alloca, inhibit_defer_pop,
15126 current_function_outgoing_args_size, current_function_arg_offset_rtx,
15127 current_function_uses_const_pool, function_call_count,
15128 current_function_uses_pic_offset_table, nonlocal_labels,
15129 current_function_internal_arg_pointer, nonlocal_goto_stack_level,
15130 current_function_check_memory_usage, nonlocal_goto_handler_slots,
15131 pending_stack_adjust, target_temp_slot_level, temp_slot_level): Delete
15133 (finish_expr_for_function): Declare.
15134 * flags.h (current_function_has_nonlocal_label,
15135 current_function_has_nonlocal_goto, current_function_is_thunk,
15136 current_function_has_computed_jump): Delete declarations.
15137 * flow.c (forced_labels): Delete declaration.
15138 * function.c (current_function_pops_args,
15139 current_function_returns_struct, current_function_returns_pcc_struct,
15140 current_function_needs_context, current_function_calls_setjmp,
15141 current_function_calls_longjmp, current_function_has_nonlocal_label,
15142 current_function_has_nonlocal_goto, current_function_is_thunk,
15143 current_function_has_computed_jump, current_function_calls_alloca,
15144 current_function_contains_functions, current_function_returns_pointer,
15145 current_function_epilogue_delay_list, current_function_args_size,
15146 current_function_pretend_args_size, current_function_arg_offset_rtx,
15147 current_function_outgoing_args_size, current_function_varargs,
15148 current_function_stdarg, current_function_args_info, cleanup_label,
15149 current_function_name, current_function_uses_const_pool,
15150 current_function_instrument_entry_exit, current_function_return_rtx,
15151 current_function_uses_pic_offset_table, nonlocal_labels,
15152 current_function_internal_arg_pointer, current_function_cannot_inline,
15153 current_function_check_memory_usage, function_call_count,
15154 nonlocal_goto_handler_slots, nonlocal_goto_handler_labels,
15155 nonlocal_goto_stack_level, return_label, save_expr_regs,
15156 stack_slot_list, rtl_expr_chain, tail_recursion_label, temp_slots,
15157 tail_recursion_reentry, arg_pointer_save_area, frame_offset,
15158 context_display, trampoline_list, parm_birth_insn, invalid_stack_slot,
15159 last_parm_insn, max_parm_reg, parm_reg_stack_loc, sequence_rtl_expr,
15160 temp_slot_level, var_temp_slot_level, target_temp_slot_level):
15162 (push_function_context_to): Don't save them. Don't call
15163 save_storage_status, save_emit_status or save_expr_status.
15164 (pop_function_context_from): Don't restore them. Don't call
15165 restore_storage_status or restore_expr_status.
15166 (get_func_frame_size): New function.
15167 (get_frame_size): Use it.
15168 (assign_outer_stack_local): Reflect some member name changes in struct
15170 (put_reg_into_stack): Likewise.
15171 (assign_stack_temp_for_type): sequence_rtl_expr was renamed to
15173 (fixup_var_refs): Likewise.
15174 (fix_lexical_addr): Likewise.
15175 (trampoline_address): Likewise.
15176 (prepare_function_start): Clear field inlinable of current_function.
15177 (init_function_for_compilation): New function.
15178 (expand_dummy_function_end): New function.
15179 (expand_function_end): Call finish_expr_for_function.
15180 * function.h (struct emit_status): New; fields moved here from struct
15181 function and from global variables. Add accessor macros for some of
15183 (struct expr_status): Likewise.
15184 (REGNO_POINTER_ALIGN, REGNO_POINTER_FLAG): Moved here from regs.h.
15185 (struct function): Add fields expr and emit, inlinable, inl_emit,
15186 original_arg_vector, original_decl_initial, inl_last_parm_insn,
15187 inl_max_label_num. Add many comments.
15188 Add accessor macros for all elts of struct function that no longer
15189 have a global variable.
15190 (cleanup_label, return_label, frame_offset, tail_recursion_label,
15191 tail_recursion_reentry, arg_pointer_save_area, rtl_expr_chain,
15192 stack_slot_list): Delete declarations.
15193 (get_func_frame_size): Declare.
15194 (save_expr_status, restore_expr_status, save_emit_status,
15195 save_storage_status, restore_storage_status): Delete declarations.
15196 (init_virtual_regs): Declare.
15197 * output.h (current_function_pops_args,
15198 current_function_returns_struct, current_function_returns_pcc_struct,
15199 current_function_needs_context, current_function_calls_setjmp,
15200 current_function_calls_longjmp, current_function_calls_alloca,
15201 current_function_has_nonlocal_label, current_function_varargs,
15202 current_function_has_computed_jump, current_function_returns_pointer,
15203 current_function_contains_functions, current_function_args_size,
15204 current_function_pretend_args_size, current_function_stdarg,
15205 current_function_outgoing_args_size, current_function_args_info,
15206 current_function_name, current_function_return_rtx,
15207 current_function_epilogue_delay_list,
15208 current_function_uses_const_pool, current_function_cannot_inline):
15209 Delete declarations.
15210 * regs.h (reg_rtx_no, regno_pointer_flag, regno_pointer_flag_length,
15211 regno_reg_rtx): Delete declaration.
15212 (REGNO_POINTER_FLAG): Delete macro.
15213 * stmt.c (expand_goto): Changes to reflect that some fields in struct
15214 function were renamed.
15215 * stor-layout.c (save_storage_status, restore_storage_status): Delete
15217 * toplev.c: Include "function.h".
15218 (current_function_decl): Delete declaration.
15219 (compile_file): Call init_dummy_function_start and
15220 expand_dummy_function_end around some initializations that need to
15222 (rest_of_compilation): Use DECL_SAVED_INSNS properly.
15223 Call init_function_for_compilation.
15224 * unroll.c: Include "function.h"
15225 (unroll_loop): Access regno_pointer_* variables through
15228 * tree.h (struct tree_decl): Add elt f to saved_insns member.
15229 (DECL_SAVED_INSNS): use it.
15230 (expand_dummy_function_end): Declare.
15231 (init_function_for_compilation): Declare.
15232 * calls.c (calls_function_1): Change use of DECL_SAVED_INSNS now
15233 that it's no longer an INLINE_HEADER.
15234 (expand_call): Likewise.
15235 * integrate.c (finish_inline): Delete function.
15236 (max_parm_reg, parm_reg_stack_loc): Delete declarations.
15237 (initialize_for_inline): Delete min_labelno, max_labelno and max_reg
15238 args. Don't generate an INLINE_HEADER rtx, just return the arg
15239 vector. All callers changed.
15240 (save_for_inline_copying): Create a duplicate struct emit_status to
15241 hold the emit state for compiling the current function. Use this and
15242 the other new fields in struct function that are for integration
15243 instead of an INLINE_HEADER.
15244 Use memcpy instead of bcopy.
15245 Store the current struct function in DECL_SAVED_INSNS of fndecl.
15246 (save_for_inline_nocopy): Similar changes, except no new emit_status
15248 (expand_inline_function): Get information from function structure,
15249 not from an inline header rtx.
15250 (output_inline_function): Lose code to extract the necessary
15251 information from an inline header; simply put back the function
15252 structure into current_function. Clear its inlinable elt.
15253 * rtl.def (INLINE_HEADER): Delete.
15254 * rtl.h: Delete all accessors for an INLINE_HEADER.
15255 (gen_inline_header_rtx): Delete declaration.
15256 (regno_reg_rtx, regno_pointer_align, nonlocal_goto_handler_labels):
15257 Delete declarations.
15258 (REGNO_POINTER_ALIGN): Delete.
15259 (clear_emit_caches): Declare.
15260 (set_new_last_label_num): Declare.
15262 Mon Aug 9 01:52:24 1999 Jason Merrill <jason@yorick.cygnus.com>
15264 * print-tree.c (print_node): Print base for OFFSET_TYPEs.
15266 * except.c (expand_eh_region_start_for_decl): Always start a new block.
15267 * stmt.c (is_eh_region): Make sure current_function is present, too.
15269 Mon Aug 9 01:15:24 1999 Jeffrey A Law (law@cygnus.com)
15271 * pa.h (HARD_REGNO_MODE_OK): Correctly handle FPregs, even when
15272 for 64bit PA targets.
15274 * pa.h (SELECT_SECTION): Define.
15275 * som.h (SELECT_SECTION): Delete.
15277 Sun Aug 8 15:13:20 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
15279 * alias.c (init_alias_analysis): Wrap call to
15280 `prologue_epilogue_contains' within HAVE_prologue||HAVE_epilogue.
15282 1999-08-07 Bruce Korb <autogen@linuxbox.com>
15284 * fixinc/inclhack.def(irix_asm_apostrophe): IRIX 5.2's
15285 <sys/asm.h> contains an asm comment with an apostrophe
15286 * fixinc/inclhack.sh: regen
15287 * fixinc/fixincl.x: regen
15289 Sat Aug 7 19:37:07 1999 Richard Henderson <rth@cygnus.com>
15291 * function.c (init_function_start): Clear prologue & epilogue.
15292 (prologue_epilogue_contains): New function.
15293 * alias.c (init_alias_analysis): Use it.
15294 * rtl.h (prologue_epilogue_contains): Declare it.
15296 Sat Aug 7 19:32:16 1999 Richard Henderson <rth@cygnus.com>
15298 * jump.c (onlyjump_p): New function.
15299 * rtl.h: Declare it.
15300 * flow.c (delete_unreachable_blocks): Use onlyjump_p instead
15301 of condjump_p in calling tidy_fallthru_edge and merge_blocks.
15303 Sat Aug 7 17:09:36 1999 Richard Henderson <rth@cygnus.com>
15305 * global.c (build_insn_chain): Use EXECUTE_IF_SET_IN_REG_SET
15306 to invert loops. Simplify block scanning.
15308 Sat Aug 7 02:11:13 1999 Bernd Schmidt <bernds@cygnus.co.uk>
15310 * gcse.c (hash_scan_set): Treat SYMBOL_REFs like CONST_INTs.
15311 (cprop_insn): Treat SYMBOL_REFs like CONST_INTs.
15313 1999-08-07 Jonathan Larmour <jlarmour@cygnus.co.uk>
15315 * config/sparc/liteelf.h: New file to support sparclite-elf target
15316 * config/sparc/t-sp86x: New file to support sparc86x targets
15317 * config/sparc/sp86x-aout.h: New file to support sparc86x-aout target
15318 * config/sparc/sp86x-elf.h: New file to support sparc86x-elf target
15319 * configure.in: Support above target triplets
15320 * configure: Regenerated
15322 Sat Aug 7 01:39:27 1999 Philippe De Muyter <phdm@macqel.be>
15324 * fixinc/server.c (server_setup): Do not prefix function used as
15325 parameter with `&'.
15327 Sat Aug 7 00:21:20 1999 Richard Henderson <rth@cygnus.com>
15329 * alpha.md (movhi and movqi patterns): Correct predicate for !BWX.
15330 Remove fp reg alternatives.
15332 Sat Aug 7 00:06:54 1999 Jeffrey A Law (law@cygnus.com)
15334 * Makefile.in (TAROUTOPTS): Kill.
15335 (install-headers-tar): Use "xpf" for tar headerfile extraction
15336 * i370/x-oe (TAROUTOPTS): Delete.
15337 * m68k/x-apollo68 (TAROUTOPTS): Delete.
15338 * m68k/x-hp320 (TAROUTOPTS): Delete.
15339 * m68k/x-hp320g (TAROUTOPTS): Delete.
15340 * gcc.texi: Update bug reporting text.
15342 1999-08-6 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
15344 * reg-stack.c (change_stack) Fixed problem with negative array index.
15346 Fri Aug 6 23:08:44 1999 Jeffrey A Law (law@cygnus.com)
15348 * extend.texi, install.texi: Fix spelling mistakes.
15350 * Makefile.in (PREMADE_ATTRTAB_MD, PREMADE_ATTRTAB): Delete.
15351 (s-attrtab); No longer try to use pre-made insn-attrtab file.
15352 * mips/t-bsd: Delete references to obsolete PREMADE_ATTRTAB and
15353 PREMADE_ATTRTAB_MD.
15354 * mips/t-ecoff: Likewise.
15355 * mips/t-elf: Likewise.
15356 * mips/t-mips: Likewise.
15357 * mips/t-osfrose: Likewise.
15358 * mips/t-r3900: Likewise.
15359 * mips/t-svr3: Likewise.
15360 * mips/t-svr4: Likewise.
15361 * mips/t-ultrix: Likewise.
15363 * gcc.texi: Document recommend means to provide software floating
15364 point libraries in libgcc.a
15366 1999-08-06 Jason Merrill <jason@yorick.cygnus.com>
15368 * c-lex.c (yylex): We can have a number with no digits.
15370 Fri Aug 6 16:53:55 EDT 1999 John Wehle (john@feith.com)
15372 * jump.c (delete_prior_computation): New function, broken
15373 out of delete_computation. Check for side effects with
15374 side_effects_p instead of FIND_REG_INC_NOTE. Handle
15375 multi-word hard registers.
15376 (delete_computation): Use it. Check for side effects with
15377 side_effects_p instead of FIND_REG_INC_NOTE. Synthesize a
15378 missing REG_DEAD note for a register which is both set and
15381 Fri Aug 6 11:05:29 1999 Jeffrey A Law (law@cygnus.com)
15383 * elf.h (TEXT_SPACE_P, FUNCTION_NAME_P): Delete.
15384 (ASM_GLOBALIZE_LABEL, ASM_OUTPUT_INT, ASM_OUTPUT_DOUBLE_INT): Likewise.
15385 (ASM_FILE_START): Import _mcount with the right type.
15386 (ASM_DECLARE_FUNCTION_NAME): Define.
15387 (ASM_OUTPUT_EXTERNAL, ASM_OUTPUT_EXTERNAL_LIBCALL): Define.
15388 * pa.c (output_function_prologue): Always emit the function's label
15390 * pa.h (TEXT_SPACE_P): Define.
15391 (FUNCTION_NAME_P, ENCODE_SECTION_INFO, STRIP_NAME_ENCODING): Likewise.
15392 (ASM_OUTPUT_INT, ASM_OUTPUT_DOUBLE_INT, ASM_GLOBALIZE_LABEL): Likewise.
15393 * som.h (TEXT_SPACE_P): Delete.
15394 (FUNCTION_NAME_P, ENCODE_SECTION_INFO, STRIP_NAME_ENCODING): Likewise.
15395 (ASM_GLOBALIZE_LABEL, ASM_OUTPUT_INT): Likewise.
15397 Thu Aug 5 19:29:39 1999 Jim Wilson <wilson@cygnus.com>
15399 * expr.c (emit_group_load): Allow src to be a CONCAT.
15401 Thu Aug 5 22:27:15 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
15403 * config/sh/lib1funcs.asm (___movstrSI0): Change or r0,r0,r0 to nop.
15404 (___mulsi3): Use '!' comment character.
15406 Thu Aug 5 13:34:14 1999 Bernd Schmidt <bernds@cygnus.co.uk>
15408 * reload1.c (maybe_fix_stack_asms): Also declare P as "const char *".
15410 Thu Aug 5 02:40:42 1999 Jeffrey A Law (law@cygnus.com)
15412 * gcc.c: Update URLs and mail addresses.
15413 * gcc.texi: Likewise.
15415 Thu Aug 5 01:14:13 1999 Daniel Jacobowitz <drow@false.org>
15417 * rs6000.c (current_file_function_operand): Return zero for
15419 (rs6000_encode_section_info): Do not set SYMBOL_REF_FLAG for
15421 * rs6000.h (ENCODE_SECTION_NIFO): Do not set SYMBOL_REF_FLAG
15424 Thu Aug 5 00:56:30 1999 Geoffrey Keating <geoffk@cygnus.com>
15426 * rs6000.c (rs6000_stack_info): For ABI_V4/ABI_SOLARIS -fpic, always
15427 allocate space in the stack frame for the PIC register.
15429 Thu Aug 5 00:20:47 1999 Jeffrey A Law (law@cygnus.com)
15431 * m68k.md (xordi3, anddi3): These patterns are not available on
15434 Wed Aug 4 23:39:20 1999 Mark Mitchell <mark@codesourcery.com>
15436 * real.c (GET_REAL): Don't violate ANSI/ISO aliasing rules.
15437 (PUT_REAL): Likewise.
15439 Wed Aug 4 20:45:04 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
15441 * final.c (shorten_branches): Don't add an alignment for loops
15442 that have no label inside.
15444 Wed Aug 4 16:39:24 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
15446 * builtins.c (expand_builtin_memcmp, expand_builtin_strcmp): Wrap
15447 prototypes in macro HAVE_cmpstrsi.
15449 * cpplib.c (cpp_get_token): Remove unused label `op3'.
15451 * emit-rtl.c (operand_subword): Remove unused variable
15454 * rtl.c (shallow_copy_rtx): Remove unused variable `format_ptr'.
15456 * tree.c (chainon): Wrap variable `t2' in macro ENABLE_CHECKING.
15458 Wed Aug 4 13:29:23 1999 Zack Weinberg <zack@bitmover.com>
15460 * cpphash.c (macroexpand): Delete leading whitespace when arg
15461 is concatenated before.
15462 (unsafe_chars): Correct test for whether + and - can extend a
15465 * cppinit.c (cpp_start_read): Do dependencies for
15466 -include/-imacros files also.
15468 * cpplib.c (cpp_scan_buffer): In no-output mode, don't bother
15469 tokenizing non-directive lines.
15470 (cpp_expand_to_buffer): Temporarily disable no-output mode.
15471 * cppmain.c: In no-output mode, just call cpp_scan_buffer for
15474 Wed Aug 4 12:53:44 1999 Jason Merrill <jason@yorick.cygnus.com>
15476 * expr.c (expand_expr, case PLUS_EXPR): Fix parallel case, too.
15478 * c-lex.c: Sync with C++ frontend.
15479 (linemode): New variable.
15480 (parse_float): imag, conversion_errno, and type are output only.
15481 (yylex): Adjust. Move initial '.' case into main switch.
15483 (handle_generic_pragma): Just deal with tokens.
15484 (readescape): Use ISXDIGIT and ISGRAPH.
15485 * c-parse.in: Add END_OF_LINE token.
15487 * c-lex.c (lang_init): Generalize.
15488 (nextchar): Remove. Replace uses with UNGETC.
15489 (skip_white_space): Handle linemode here. Optimize for cpplib.
15490 (skip_white_space_on_line): Remove.
15491 (extend_token_buffer_to): New fn.
15492 (extend_token_buffer): Use it.
15493 (read_line_number, check_newline): Just deal with tokens.
15494 (token_getch, token_put_back): New fns.
15495 (yylex): Use them. More cpplib optimizations. Simplify.
15497 Wed Aug 4 12:53:44 1999 Michael Tiemann <tiemann@holodeck.cygnus.com>
15498 Jason Merrill <jason@yorick.cygnus.com>
15500 * c-lex.c (init_parse): Set cpp_token to CPP_DIRECTIVE.
15501 (consume_string): Make this smart about USE_CPPLIB.
15502 (check_newline): Rewrite to be intelligent about USE_CPPLIB.
15503 (yylex): Rewrite to be intelligent about USE_CPPLIB.
15504 Also, clean up cases where we redundantly set token_buffer[0].
15505 (read_line_number): New fn.
15506 (ignore_escape_flag): New variable.
15508 Wed Aug 4 13:12:17 1999 Jeffrey A Law (law@cygnus.com)
15510 * a29k/t-a29kbare: Fix some comments.
15511 (LIB2FUNCS_EXTRA): Remove fp-bit.c and dp-bit.c
15512 (FPBIT, DPBIT): Define.
15513 * a29k/t-vx29k: Likewise.
15514 * arc/t-arc: Likewise.
15515 * arm/t-arm-elf: Likewise.
15516 * arm/t-bare: Likewise.
15517 * arm/t-pe: Likewise.
15518 * arm/t-pe-thumb: Likewise.
15519 * arm/t-semi: Likewise.
15520 * arm/t-thumb: Likewise.
15521 * arm/t-thumb-elf: Likewise.
15522 * arm/t-thumb-linux: Likewise.
15523 * h8300/t-h8300: Likewise.
15524 * i960/t-i960: Likewise.
15525 * i960/t-vxworks960: Likewise.
15526 * m32r/t-m32r: Likewise.
15527 * mips/t-ecoff: Likewise.
15528 * mips/t-elf: Likewise.
15529 * mips/t-r3900: Likewise.
15530 * pa/t-pro: Likewise.
15531 * rs6000/t-aix43: Likewise.
15532 * rs6000/t-beos: Likewise.
15533 * rs6000/t-newas: Likewise.
15534 * rs6000/t-ppccomm: Likewise.
15535 * rs6000/t-rs6000: Likewise.
15536 * rs6000/t-winnt: Likewise.
15537 * rs6000/t-xnewas: Likewise.
15538 * rs6000/t-xrs6000: Likewise.
15539 * sh/t-sh: Likewise.
15540 * sparc/t-elf: Likewise.
15541 * sparc/t-sparcbare: Likewise.
15542 * sparc/t-sparclite: Likewise.
15543 * sparc/t-splet: Likewise.
15544 * v850/t-v850: Likewise.
15545 * mn10200/t-mn10200: Fix comments.
15546 * mn10300/t-mn10300: Likewise.
15548 * pa.md (divsi3, udivsi3, modsi3, umodsi3 expanders): Clobber a new
15549 dummy operand. Allocate a new pseudo for the dummy operand.
15550 (divsi3, udivsi3, modis3, umodsi3 patterns): Corresponding changes.
15552 * pa.md (movqi, movhi patterns): Do not expose FP regs to regclass.
15554 Wed Aug 4 11:53:55 1999 Tom Tromey <tromey@cygnus.com>
15556 * configure: Rebuilt.
15557 * configure.in: Removed --enable-java-gc option and JAVAGC subst.
15559 Wed Aug 4 09:06:14 1999 Richard Earnshaw (rearnsha@arm.com)
15561 * recog.c (preproces_constraints): Zero recog_op_alt before
15562 processing the constraints.
15564 * arm.c (typedef minipool_node): Renamed from pool_node.
15565 (minipool_vector, minipool_size, minipool_vector_label): Similarly.
15566 (add_minipool_constant): New function.
15567 (dump_minipool): New function.
15568 (find_barrier): Remove special case for getting the insn size of
15569 an insn that references the constant pool.
15570 (minipool_fixup): New structure.
15571 (push_minipool_barrier): New function.
15572 (push_minipool_fix): New function.
15573 (note_invalid_constants): New function.
15574 (add_pool_constant, dump_table, fixit, broken_move): Delete.
15575 (arm_reorg): Rewrite code to fix up the constant pool into a
15576 series of mini-pools embedded in the insn stream.
15577 (arm_output_epilogue): New function, made mainly from the body
15578 of output_func_epilogue.
15579 (output_func_epilogue): Move insn generation part of epilogue code
15580 to arm_output_epilogue.
15581 * arm.h (ASM_OUTPUT_SPECIAL_POOL_ENTRY): Delete.
15582 * arm.md (pool_range): New attribute.
15583 (zero_extendqidi2): Add attribute pool_range.
15584 (zero_extend_hisi_insn, load_extendqisi, extendhisi_insn,
15585 extendqihi_insn, extendqisi_insn, movdi, movsi_insn, pic_load_addr,
15586 pic_load_addr_based_insn, movhi_insn_arch4, movhi_insn_littleend,
15587 movhi_insn_bigend, loadhi_si_bigend, movsf_hard_insn, movsf_soft_insn,
15588 movdf_hard_insn, movdf_soft_insn, movxf_hard_insn): Likewise.
15589 (epilogue): New expand.
15590 (epilogue_insn): New insn. Call arm_output_epilogue.
15592 * arm.c (arm_poke_function_name): Undo change of July 17. Tidy up.
15593 * arm.h (TARGET_SWITCHES): Add missing doc string for TARGET_DEFAULT.
15595 Mon Aug 2 19:18:44 1999 Jason Merrill <jason@yorick.cygnus.com>
15597 * linux.h (HANDLE_PRAGMA_PACK_PUSH_POP): Define.
15599 1999-08-04 Mark Elbrecht <snowball3@bigfoot.com>
15601 * config/i386/djgpp.h (BSS_SECTION_ASM_OP): Define.
15603 Wed Aug 4 02:15:32 1999 Richard Henderson <rth@cygnus.com>
15605 * jump.c (delete_insn): Delete the addr_vec when deleting a tablejump.
15607 Wed Aug 4 01:48:08 1999 Jim Kingdon <http://developer.redhat.com>
15609 * global.c: Fix comment.
15611 Wed Aug 4 01:43:01 1999 Ian Lance Taylor <ian@zembu.com>
15613 * gcc.c (access_check): New static function.
15614 (find_a_file): Use it when searching a directory list.
15615 * collect2.c (find_a_file): Don't accept directories found when
15616 searching a directory list.
15618 Wed Aug 4 01:40:43 1999 Philippe De Muyter <phdm@macqel.be>
15620 * tlink.c (symbol_hash_lookup): Do not prefix functions used as
15621 function parameters with `&'.
15622 (file_hash_lookup, demangled_hash_lookup, tlink_init): Ditto.
15624 Wed Aug 4 01:08:44 1999 Jeffrey A Law (law@cygnus.com)
15626 * flow.c (delete_unreachable_blocks): Do not call merge_blocks
15627 or tidy_fallthru_edge if the last insn in the block is not
15628 an unconditional jump or a simple conditional jump.
15630 Tue Aug 3 20:21:20 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
15632 * Makefile.in (c-decl.o): Depends on defaults.h.
15634 Tue Aug 3 14:14:52 1999 Jeffrey A Law (law@cygnus.com)
15636 * pa.h (HARD_REGNO_NREGS): FP registers are always 4 bytes wide for
15638 (CLASS_MAX_NREGS): Likewise.
15640 Tue Aug 3 03:51:20 1999 Jeffrey A Law (law@cygnus.com)
15642 * cse.c (cse_insn): Fix dumb thinko in last change.
15644 Tue Aug 3 10:36:13 1999 Bernd Schmidt <bernds@cygnus.co.uk>
15646 * reload1.c (maybe_fix_stack_asms): Declare CONSTRAINTS as
15649 Mon Aug 2 23:45:45 1999 Hans-Peter Nilsson <hp@bitrange.com>
15651 * dwarf2out.c (add_location_or_const_value_attribute): Correct
15652 test for sizes of passed and declared parameter types.
15654 Tue Aug 3 00:03:41 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
15656 * fixincludes: Fix the return type of bsearch, char* -> void*.
15658 * fixinc/inclhack.def: Likewise.
15660 Mon Aug 2 18:29:32 1999 Mark Mitchell <mark@codesourcery.com>
15662 * invoke.texi (-fdump-translation-unit): New option.
15664 Mon Aug 2 17:54:19 1999 Richard Henderson <rth@cygnus.com>
15666 * expr.h (PROMOTE_PROTOTYPES): Move ...
15667 * defaults.h: ... to here.
15668 * c-decl.c: Include defaults.h instead of expr.h.
15669 * c-typeck.c: Include defaults.h.
15671 Mon Aug 2 17:10:24 1999 Mark Mitchell <mark@codesourcery.com>
15673 * toplev.h (errorcount): Declare.
15674 (warningcount): Likewise.
15675 (sorrycount): Likewise.
15676 * c-lex.c (errorcount): Don't declare.
15677 * dwarf2out.c (errorcount): Don't declare.
15679 Mon Aug 2 17:02:08 1999 Jason Merrill <jason@yorick.cygnus.com>
15681 * config/libgloss.h: Add a note discouraging use with ELF.
15682 * configure.in: Don't use libgloss.h for ELF targets.
15683 Always use_collect2 on a.out targets.
15685 Mon Aug 2 16:27:42 1999 Jim Wilson <wilson@cygnus.com>
15687 * combine.c (force_to_mode, case LSHIFTRT): Add goto shiftrt.
15688 (force_to_mode, case ASHIFTRT): Add shiftrt label.
15690 Tue Aug 3 00:45:02 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
15692 * loop.c (strength_reduce): When doing biv->giv conversion, update
15693 reg note of NEXT->insn.
15695 1999-08-02 Jakub Jelinek <jj@ultra.linux.cz>
15697 * real.c (PUT_REAL): Clear unused bytes if long double is IEEE quad.
15699 1999-08-02 Jakub Jelinek <jj@ultra.linux.cz>
15701 * c-decl.c (get_parm_info, store_parm_decls): Change all uses of
15702 PROMOTE_PROTOTYPES, so that it tests it as a C expression.
15703 Ensure expr.h is included.
15704 * c-typecheck.c (convert_arguments): Ditto.
15706 * expr.h: Supply default for PROMOTE_PROTOTYPES (0).
15708 * config/arc/arc.h: Define PROMOTE_PROTOTYPES to 1.
15709 * config/convex/convex.h: Ditto.
15710 * config/dsp16xx/dsp16xx.h: Ditto.
15711 * config/fx80/fx80.h: Ditto.
15712 * config/gmicro/gmicro.h: Ditto.
15713 * config/i370/i370.h: Ditto.
15714 * config/i386/i386.h: Ditto.
15715 * config/m32r/m32r.h: Ditto.
15716 * config/m68k/m68k.h: Ditto.
15717 * config/m88k/m88k.h: Ditto.
15718 * config/mips/mips.h: Ditto.
15719 * config/pa/pa.h: Ditto.
15720 * config/pyr/pyr.h: Ditto.
15721 * config/tahoe/tahoe.h: Ditto.
15722 * config/we32k/we32k.h: Ditto.
15724 * config/sparc/sparc.h: Define PROMOTE_PROTOTYPES
15725 based on arch size.
15727 * config/i1750a/i1750a.h: Define PROMOTE_PROTOTYPES to 0.
15729 * config/i860/paragon.h: Remove PROMOTE_PROTOTYPES
15732 * tm.texi: Document new usage of PROMOTE_PROTOTYPES.
15734 1999-08-02 Richard Henderson <rth@cygnus.com>
15736 * m32r.c (m32r_setup_incoming_varargs): Use get_varargs_alias_set
15737 for the register spill block.
15738 (m32r_va_arg): New.
15739 * m32r.h (EXPAND_BUILTIN_VA_ARG): New.
15740 (EXPAND_BUILTIN_SAVEREGS): Delete #if 0 code.
15742 * m32r.h (INT8_P): Don't short-cut test with (unsigned).
15743 (INT16_P, CMP_INT16_P, UINT16_P): Likewise.
15744 (UPPER16_P, UINT24_P, INT32_P, UINT5_P): Likewise.
15746 1999-08-02 Jakub Jelinek <jj@ultra.linux.cz>
15748 * config/sparc/linux.h: Define WCHAR_TYPE as "int" and undef
15749 MAX_WCHAR_TYPE defined in sparc.h.
15750 * config/sparc/linuxaout.h: Likewise.
15751 * config/sparc/linux64.h: Likewise.
15752 Also default to -mvis if CPU is UltraSPARC.
15754 1999-08-02 Jakub Jelinek <jj@ultra.linux.cz>
15756 * config/sparc/sparc.h (ASM_DECLARE_REGISTER_GLOBAL): New macro.
15757 (RTX_OK_FOR_OLO10): Likewise.
15758 (GO_IF_LEGITIMATE_ADDRESS): If assembler supports offsetable
15759 %lo(), allow it in addresses...
15760 (PRINT_OPERAND_ADDRESS): ... and print it appropriately.
15761 * config/sparc/sparc.md (sethi_di_medlow_embmedany_pic): sethi %lo()
15762 does not make sense.
15763 * config/sparc/sparc.c (sparc_hard_reg_printed): New array.
15764 (sparc_output_scratch_registers): New function.
15765 (output_function_prologue, sparc_flat_output_function_prologue): Use
15767 * varasm.c (make_decl_rtl): Use ASM_DECLARE_REGISTER_GLOBAL if
15769 * tm.texi (ASM_DECLARE_REGISTER_GLOBAL): Document it.
15770 * configure.in: Add check for .register pseudo-op support in as and
15771 check for offsetable %lo().
15772 * acconfig.h: Add templates for the above checks.
15773 * configure: Regenerate.
15775 1999-08-02 Richard Henderson <rth@cygnus.com>
15777 * sparc/linux64.h (TARGET_DEFAULT): Remove MASK_APP_REGS.
15778 * sparc/sol2-sld-64.h (TARGET_DEFAULT): Likewise.
15779 * sparc/sol2.h (TARGET_DEFAULT): Likewise.
15781 Mon Aug 2 23:46:45 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
15783 * loop.c (strength_reduce): When doing biv->giv conversion, fix up
15786 1999-08-02 Jakub Jelinek <jj@ultra.linux.cz>
15788 * config/float-sparc.h: New file.
15789 * configure.in: Use float_format=sparc for sparc-*-linux-gnulibc1,
15790 sparc-*-linux-gnu and sparc64-*-linux*.
15792 1999-08-02 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
15794 * rs6000.c (rs6000_va_list): Type is an array.
15795 (rs6000_va_start): Don't doubly adjust for varargs.
15796 (rs6000_va_arg): Evaluate long long GPR adjustment.
15798 Mon Aug 2 16:15:57 1999 David Edelsohn <edelsohn@gnu.org>
15800 * rs6000/aix43.h (SUBTARGET_SWITCHES): Use -m64 and -m32 instead of
15801 -maix64 and -maix32.
15802 (ASM_SPEC, ASM_CPU_SPEC, CPP_SPEC, CPP_CPU_SPEC, LIB_SPEC,
15803 LINK_SPEC): Change appropriately.
15804 * rs6000/rs6000.c (short_cint_operand): Use CONST_OK_FOR_LETTER_P.
15805 (u_short_cint_operand): Likewise.
15806 * rs6000/rs6000.md (movdi splitters): Add TARGET_POWERPC64 support
15808 * rs6000/t-aix43 (MULTILIB): Change to -m64.
15810 * invoke.texi (RS/6000 Submodel): Document 64-bit processor options.
15812 Mon Aug 2 16:15:57 1999 Geoff Keating <geoffk@cygnus.com>
15814 * rs6000/rs6000.c (num_insns_constant_wide): Correct
15815 for type promotion.
15816 (add_operand): Get test correct for 64-bit HOST_WIDE_INT.
15817 (non_add_cint_operand): Likewise.
15818 (logical_operand): Likewise.
15819 (non_logical_cint_operand): Likewise.
15820 (print_operand): Correct printf()s for 64-bit HOST_WIDE_INT.
15821 (print_operand_address): Correct printf() for 64-bit HOST_WIDE_INT.
15822 (rs6000_select_rtx_section): Suppress warning.
15823 (small_data_operand): Suppress warning.
15824 (rs6000_got_register): Suppress warning.
15825 * rs6000/rs6000.md (andsi3): HOST_WIDE_INT is a signed
15826 type, so `J' is generally the wrong constraint for a SImode value;
15828 (andsi3_internal2): Likewise.
15829 (andsi3_internal3): Likewise.
15830 (iorsi3_internal1): Likewise.
15831 (xorsi3_internal1): Likewise.
15833 (movsf_softfloat): Likewise.
15834 (scc insns): Likewise.
15835 (movsi+2): Preserve sign bits of SImode constant.
15836 (floatsidf2_internal+1): Sign-extend SImode constant correctly.
15837 (movdf+1): Sign-extend properly.
15838 (movdi_32+1): Sign-extend properly.
15839 (scc insns): Sign-extend properly.
15841 * md.texi (RS/6000 EXTRA_CONSTRAINTS): Update documentation for J,
15844 1999-08-02 Richard Henderson <rth@cygnus.com>
15846 * alpha.c (override_options): Move ev6 alpha_tp frobbing out of
15847 -mcpu parsing code.
15848 (print_operand): Notice alpha_fptm not alpha_tp for sw completion.
15849 * alpha.md (all fp insns): Likewise.
15851 1999-08-02 Nick Clifton <nickc@cygnus.com>
15853 * config/v850/v850.h (STRICT_ALIGNMENT): Only define if not
15856 Mon Aug 2 03:38:33 1999 Jeffrey A Law (law@cygnus.com)
15858 * pa.c (legitimize_pic_address): Clarify comments. Do not call the
15859 pic_load_label generator directly.
15860 * pa.md (pic_load_label): Clarify comments. Remove modes on operands.
15861 No longer a named pattern.
15863 Mon Aug 2 09:38:10 1999 Nick Clifton <nickc@cygnus.com>
15865 * explow.c (force_reg): Call force_operand if X does not
15866 satisfy general_operand.
15868 Mon Aug 2 01:34:22 1999 Jeffrey A Law (law@cygnus.com)
15870 * fix-header.c (main): When testing for CONTINUED, use string
15871 equality, not pointer equality.
15873 Mon Aug 2 01:27:24 1999 Dan Nicolaescu <dann@ics.uci.edu>
15875 * sparc.c (sparc_block_profiler): Use the %g2 register, not %o0.
15877 Sun Aug 1 22:46:42 1999 Jeffrey A Law (law@cygnus.com)
15879 * cse.c (cse_insn): Fix loop which deletes insns after a jump
15880 that has become an unconditional jump.
15882 * m68k.c (output_function_prologue): Fix typo in CPU32 case.
15883 (output_function_epilogue): Similarly.
15885 Sun Aug 1 20:14:00 1999 Bernd Schmidt <bernds@cygnus.co.uk>
15887 * tree.h (init_dummy_function_start): Declare.
15889 Sun Aug 1 12:55:31 1999 Bernd Schmidt <bernds@cygnus.co.uk>
15891 * stmt.c (emit_filename, emit_lineno, expr_stmts_for_value,
15892 last_expr_type, last_expr_value, block_start_count, block_stack,
15893 stack_block_stack, cond_stack, loop_stack, case_stack, nesting_stack,
15894 nesting_depth, goto_fixup_chain): Delete global vars; now allocated
15895 dynamically in stmt elt of struct function for each function.
15896 (struct nesting): Rename function_call_count elt to n_function_calls,
15897 target_temp_slot_level to block_target_temp_slot_level. All users
15899 (struct stmt_status): New structure definition.
15900 Add many accessor macros for stmt_status elements which previously
15901 were global variables.
15902 (init_stmt_for_function): Allocate stmt elt for current_function.
15903 Reflect that block_start_count was renamed to
15904 current_block_start_count.
15905 (save_stmt_status, restore_stmt_status): Delete functions.
15906 (preserve_subexpressions_p): Don't access loop_stack when outside
15908 (expand_start_bindings): Reflect that block_start_count was renamed to
15909 current_block_start_count.
15910 (expand_fixup): Likewise.
15911 (expand_decl): Don't access block_stack when outside a function.
15912 (expand_decl_cleanup): Likewise.
15913 (expand_dcc_cleanup): Likewise.
15914 (expand_dhc_cleanup): Likewise.
15915 (expand_anon_union_decl): Likewise.
15916 (set_file_and_line_for_stmt): New function.
15917 (in_control_zone_p): New function.
15919 * function.h (struct function): Add new elt stmt.
15920 Delete elts block_stack, stack_block_stack, cond_stack, loop_stack,
15921 case_stack, nesting_stack, nesting_depth, block_start_count,
15922 last_expr_type, last_expr_value, expr_stmts_for_value, emit_filename,
15923 emit_lineno, goto_fixup_chain.
15924 (save_eh_status, restore_eh_status, save_stmt_status,
15925 restore_stmt_status): Delete declarations.
15926 * function.c (push_function_context_to): Don't call save_stmt_status.
15927 (pop_function_context_to): Don't call restore_stmt_status.
15928 * tree.h (in_control_zone_p): Declare.
15929 * rtl.h (set_file_and_line_for_stmt): Declare.
15931 * emit-rtl.c (emit_line_note): Don't set emit_filename/emit_lineno;
15932 call set_file_and_line_for_stmt.
15934 Thu Jul 31 12:34:45 1999 Joe Buck <jbuck@synopsys.com>
15936 * gcc.texi: Use terms "GNU Compiler Collection" and "GCC".
15937 Also update copyright.
15939 Sat Jul 31 11:10:07 1999 Bernd Schmidt <bernds@cygnus.co.uk>
15941 * c-pragma.c: Don't include "except.h".
15942 * emit-rtl.c: Likewise.
15943 * stor-layout.c: Likewise.
15944 * tree.c: Likewise.
15945 * varasm.c: Likewise.
15947 * flow.c: Include "function.h".
15948 * tree.h (init_dummy_function_start): Declare new function.
15950 * except.h (struct eh_status): New structure.
15951 (struct label_node, struct eh_entry): Declare even if tree.h hasn't
15953 (eh_return_stub_label, ehstack, catchstack, ehqueue,
15954 catch_clauses, false_label_stack, caught_return_label_stack,
15955 protect_list, current_function_ehc): Add accessor macros for the
15956 corresponding fields in current_function->eh; delete declarations
15957 for all items that used to be declared here.
15958 * except.c (eh_return_stub_label, ehstack, catchstack, ehqueue,
15959 catch_clauses, false_label_stack, caught_return_label_stack,
15960 protect_list, current_function_ehc): Delete variables.
15961 (init_eh_for_function): Allocate current_function->eh.
15962 (save_eh_status, restore_eh_status): Delete functions.
15964 * function.h (struct function): Add fields next_global and eh.
15965 Delete all exception handling related fields.
15966 * function.c (current_function): New variable.
15967 (all_functions): New variable.
15968 (push_function_context_to): Don't allocate a struct function,
15969 use current_function instead. Call init_dummy_function_start when
15970 outside a function. Clear current_function before returning.
15971 (pop_function_context_from): Restore current_function.
15972 Don't free the restored struct function.
15973 (prepare_function_start): New function.
15974 (init_dummy_function_start): New function.
15975 (init_function_start): Break out some code into prepare_function_start
15978 * stmt.c (save_stmt_status): Don't call save_eh_status.
15979 (restore_stmt_status): Don't call restore_eh_status.
15981 * Makefile.in: Update dependencies.
15983 Sat Jul 31 04:10:01 1999 Jeffrey A Law (law@cygnus.com)
15985 * pa.c (compute_frame_size): Use STARTINg_FRAME_OFFSET instead
15986 of depending on a magic constant value. Update comments.
15987 (hppa_expand_prologue): Similarly.
15989 * pa.md (reload_indi, reload_outdi): Allow any register for the
15990 original reload register.
15992 Fri Jul 30 19:41:35 1999 Jim Wilson <wilson@cygnus.com>
15994 * cccp.c (print_help): Change marcos to macros.
15996 1999-07-30 Richard Henderson <rth@cygnus.com>
15998 * c-typeck.c (initializer_constant_valid_p): Move ...
15999 * c-common.c (initializer_constant_valid_p): ... here. Use
16000 FOO_TYPE_P instead of tests against TREE_CODE. Allow subtraction
16001 of label addresses.
16002 * c-common.h (initializer_constant_valid_p): Declare.
16003 * c-tree.h (initializer_constant_valid_p): Remove.
16005 Fri Jul 30 16:33:42 1999 Mathias Froehlich <frohlich@na.uni-tuebingen.de>
16007 * config/i386/sol2-c1.asm: Align the stack.
16008 * config/i386/sol2-gc1.asm: Likewise.
16010 1999-07-30 Vladimir Makarov <vmakarov@loony.cygnus.com>
16012 * config/sparc/sparc.h (ASM_CPU32_DEFAULT_SPEC): Change -Av8 onto
16013 -Asparclite for sparc86x.
16014 (CPP_CPU32_DEFAULT_SPEC, CPP_CPU_SPEC): Remove -D__sparc_v8__ for
16016 (ASM_CPU_SPEC): Use -Asparclite for sparc86x.
16018 Fri Jul 30 14:53:56 1999 Jakub Jelinek <jj@ultra.linux.cz>
16020 * config/sparc/linux64.h (CC1_SPEC): Preserve CPU specified by
16021 the user if using the non-default arch size in BI_ARCH configuration.
16022 * config/sparc/sol2-sld-64.h (CC1_SPEC): Ditto.
16024 * config/sparc/sparc.md (cmp_mul_set, cmp_udiv_cc_set):
16025 Fix patterns so that they actually match.
16026 (cmp_sdiv_cc_set): Ditto, also don't require g0 to be zero.
16027 (mulsidi3_sp64, const_mulsidi3_sp64): New patterns.
16028 (const_mulsidi3_sp32): Renamed from const_mulsidi3, only on
16030 (mulsidi3): Reflect this in the expand.
16031 (smulsi3_highpart): Only on TARGET_ARCH32.
16032 (umulsidi3_sp64, const_umulsidi3_sp64): New patterns.
16033 (const_umulsidi3_sp32): Renamed from const_umulsidi3.
16034 (umulsidi3): Reflect this in the expand.
16035 (umulsi3_highpart): Only on TARGET_ARCH32.
16036 (divsi3_sp32): Renamed from divsi3, only on TARGET_ARCH32,
16037 don't require g0 to be zero.
16038 (udivsi3_sp32): Renamed from udivsi3, only on TARGET_ARCH32.
16039 ({,u}divsi3): New expands.
16040 ({,u}divsi3_sp64): New patterns.
16041 (after lshrdi3_v8plus): Four new patterns to help combiner
16042 optimizing nested mixed mode shifts.
16044 * config/sparc/sparc.c (sparc_override_options): Use deprecated
16045 v8 instructions if optimizing for UltraSPARC I, II, IIi, as it
16046 speed things up. Don't use them by default on plain v9 in 64bit
16047 mode, according to what SPAMv9 sais.
16049 * config/sparc/sparc.h: Fix comments, e.g. Linux already preserves
16050 top 32 bits of %[og][0-7] in signal handlers.
16051 Also, TARGET_HARD_MUL32 now is only true for TARGET_ARCH32.
16053 Fri Jul 30 03:00:41 1999 Jeffrey A Law (law@cygnus.com)
16055 * pa.md (zvdep_imm32): Renamed from zvdep_imm.
16056 (ashlsi3): Corresponding changes.
16058 * pa.c (compute_zdepwi_operands): Renamed from compute_zdepi_operands.
16060 Thu Jul 29 18:37:13 1999 Jeffrey A Law (law@cygnus.com)
16062 * pa.h (FIRST_PARM_CALLER_OFFSET): Delete.
16064 Thu Jul 29 19:01:58 1999 Bernd Schmidt <bernds@cygnus.co.uk>
16066 * arm.h (Hint): Delete macro.
16067 Substitute HOST_WIDE_INT for Hint in some prototypes.
16068 * arm.c: Substitute HOST_WIDE_INT for Hint in one prototype.
16070 Thu Jul 29 09:21:42 1999 Nick Clifton <nickc@cygnus.com>
16072 * builtins.c (expand_builtin_setjmp): Use force_operand to
16073 make sure that the buffer address is in a suitable form to be
16074 passed to force_reg.
16076 Wed Jul 28 12:50:48 1999 Geoff Keating <geoffk@cygnus.com>
16078 * config/mips/mips.c: system.h handles MIN and MAX, don't undefine
16081 Wed Jul 28 13:18:35 1999 Jeffrey A Law (law@cygnus.com)
16083 * pa.md (indirect_jump): Remove mode from match_operand. Verify
16084 proper mode in the condition string.
16085 (icacheflush, dcacheflush): Remove modes from match_operands.
16087 * pa.c (emit_move_sequence): Always convert scratch_reg to the
16088 proper mode before using it.
16090 * pa.md (adddi3, subdi3): Turn into a define_expand/define_insn
16093 * pa.c (store_reg): Do not call add_high_const generator directly.
16094 (load_reg, set_reg_plus_d): Likewise.
16095 * pa.md (add_high_const): No longer a named pattern.
16097 * pa.c (legitimize_address): Consistently use Pmode rather than
16098 SImode. Do not call gen_pic2_highpart directly anymore.
16099 * pa.md (pic2_highpart): No longer a named pattern.
16100 (pic2_lo_sum): Similarly. Reformat to make more readable.
16102 * pa.md (call, call_value): Use "word_mode" instead of "SImode" as
16107 Wed Jul 28 11:28:04 1999 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
16109 * builtins.c (expand_builtin): Typo in call to expand_builtin_ffs.
16111 Wed Jul 28 11:23:48 1999 Richard Henderson <rth@cygnus.com>
16113 * pa.c (hppa_builtin_saveregs): Use get_varargs_alias_set
16114 and tag the spill mems.
16115 (hppa_va_start): New.
16116 (hppa_va_arg): New.
16117 * pa.h (EXPAND_BUILTIN_VA_START): New.
16118 (EXPAND_BUILTIN_VA_ARG): New.
16120 Wed Jul 28 11:22:21 1999 Richard Henderson <rth@cygnus.com>
16122 * mn10300.c (mn10300_builtin_saveregs): Use get_varargs_alias_set
16123 and tag the spill mems.
16124 (mn10300_va_start): New.
16125 (mn10300_va_arg): New.
16126 * mn10300.h (EXPAND_BUILTIN_VA_START): New.
16127 (EXPAND_BUILTIN_VA_ARG): New.
16129 Wed Jul 28 11:20:19 1999 Richard Henderson <rth@cygnus.com>
16131 * mn10200.c (mn10200_va_arg): New.
16132 * mn10200.h (EXPAND_BUILTIN_VA_ARG): New.
16134 Wed Jul 28 11:19:06 1999 Richard Henderson <rth@cygnus.com>
16136 * builtins.c (std_expand_builtin_va_arg): Use int_size_in_bytes
16137 rather than play with TREE_INT_CST_LOW.
16139 1999-07-27 Philip Blundell <pb@nexus.co.uk>
16141 * config/arm/telf.h: Include dbxelf.h.
16142 (CPP_PREDEFINES): Only define if not already defined.
16143 (ASM_IDENTIFY_GCC): Likewise.
16144 (SUBTARGET_EXTRA_SECTIONS): Likewise.
16145 (SUBTARGET_EXTRA_SECTION_FUNCTIONS): Likewise.
16146 * config/arm/thumb.h (LINK_SPEC): Only define if not already
16148 (DBX_DEBUGGING_INFO): Don't define.
16149 * config/arm/linux-telf.h: New file.
16150 * config/arm/linux-tgas.h: New file.
16151 * config/arm/t-thumb-linux: New file.
16152 * config/arm/uclinux-elf.h: New file.
16153 * config/arm/uclinux-telf.h: New file.
16154 * configure.in (arm-*-uclinux, thumb-*-linux-gnu,
16155 thumb-*-uclinux): New targets.
16156 * configure: Regenerate.
16158 Tue Jul 27 23:20:21 1999 Jeffrey A Law (law@cygnus.com)
16160 * pa.md (post_store, pre_load): New expanders.
16161 (post_stwm, pre_ldwm): Renamed to post_stw and pre_ldw respectively.
16162 (post_ldwm, pre_stwm): Make these unnamed patterns since we never
16163 need to directly generate RTL for them.
16164 * pa.c (hppa_expand_prologue, hppa_expand_epilogue): Corresponding
16167 Tue Jul 27 16:05:52 1999 David Edelsohn <edelsohn@gnu.org>
16169 * aix43.h (ASM_CPU_SPEC, CPP_CPU_SPEC): Add rs64a and PPC630.
16170 * rs6000.c (processor_target_table): Add powerpc64, rs64a, and PPC630.
16171 (rs6000_cpu): Choose between 32-bit and 64-bit default processors.
16172 (secndary_reload_class): Make TARGET_ELF conditional compile.
16173 (print_operand_address): Similar.
16174 (output_toc): Print all values as hex.
16175 (get_issue_rate): Rearrange and add RS64A and PPC630.
16176 * rs6000.h (processor_type): Add RS64A and PPC630.
16177 (PROCESSOR_POWERPC64): New.
16178 (PROMOTE_MODE): Use word_mode.
16179 (RTX_COSTS): Add RS64A and PPC630.
16180 * rs6000.md (scheduling information): Add lmul and ldiv
16181 representing 64-bit integer multiply and divide. Add rs64a and
16182 PPC630 information.
16183 (ashldi3): Add support for "rldic" instruction.
16184 * sysv4.h (PROCESSOR_DEFAULT): Change to PROCESSOR_750.
16186 Tue Jul 27 15:31:53 1999 Vladimir Makarov <vmakarov@toad.to.cygnus.com>
16188 * config/sparc/sparc.c (sparc_override_options): Enable SPARCLITE
16189 instead of V8 for sparclite86x in cpu_table.
16191 Tue Jul 27 17:49:42 1999 Bernd Schmidt <bernds@cygnus.co.uk>
16193 * config/arm/coff.h (ASM_FILE_START): If generating SDB output, call
16194 output_file_directive.
16196 Tue Jul 27 03:15:33 1999 Jason Merrill <jason@yorick.cygnus.com>
16198 * expr.c (expand_expr, case PLUS_EXPR): Get the mode from the
16199 tree for op1, not the rtl.
16201 Tue Jul 27 00:18:34 1999 Richard Henderson <rth@cygnus.com>
16203 * m88k.c (m88k_builtin_saveregs): Break out the constructor code
16204 to m88k_va_start, leaving only the register spill.
16205 (m88k_build_va_list): New.
16206 (m88k_va_start): New.
16207 (m88k_va_arg): New.
16208 * m88k.h (BUILD_VA_LIST_TYPE): New.
16209 (EXPAND_BUILTIN_VA_START): New.
16210 (EXPAND_BUILTIN_VA_ARG): New.
16212 Mon Jul 26 19:07:11 1999 Geoff Keating <geoffk@cygnus.com>
16214 * config/rs6000/rs6000.c (rs6000_expand_builtin_saveregs):
16215 Rename from expand_builtin_saveregs.
16216 * config/rs6000/rs6000.h (EXPAND_BUILTIN_SAVEREGS): Change caller.
16218 Mon Jul 26 22:52:47 1999 Richard Henderson <rth@cygnus.com>
16220 * i960.c (i960_setup_incoming_varargs): Use get_varargs_alias_set
16221 for the register spill block.
16222 (i960_build_va_list): New.
16223 (i960_va_start): New.
16224 (i960_va_arg): New.
16225 * i960.h (BUILD_VA_LIST_TYPE): New.
16226 (EXPAND_BUILTIN_VA_START): New.
16227 (EXPAND_BUILTIN_VA_ARG): New.
16228 * i960.md (store_multiple): Use change_address on individul mems.
16230 Mon Jul 26 22:43:12 1999 Richard Henderson <rth@cygnus.com>
16232 * builtins.c (stabilize_va_list): Don't INDIRECT_REF through
16234 (std_expand_builtin_va_start): Back out one word if !stdarg_p.
16235 (expand_builtin_va_end): Evaluate arg for side effects.
16236 * c-common.c (c_common_nodes_and_builtins): Construct a
16237 va_list_arg_type_node to handle array decomposition to pointer.
16239 Mon Jul 26 18:51:34 1999 Richard Henderson <rth@cygnus.com>
16241 * except.c (start_dynamic_cleanup): Use force_operand on the
16244 Mon Jul 26 16:43:26 1999 Richard Henderson <rth@cygnus.com>
16246 * c4x.h (EXPAND_BUILTIN_VA_ARG): New.
16247 * c4x.c (c4x_va_arg): New.
16249 Mon Jul 26 12:30:09 1999 Jason Merrill <jason@yorick.cygnus.com>
16251 * cpplib.c (cpp_get_token): Don't return a CPP_POP if the buffer
16252 has manual_pop set.
16254 1999-07-26 Nathan Sidwell <nathan@acm.org>
16256 * eh-common.h (__eh_matcher): Prototype correctly.
16258 Mon Jul 26 17:24:51 1999 Philip Blundell <pb@nexus.co.uk>
16260 * config/arm/thumb.h (THUMB_FLAG_SINGLE_PIC_BASE): Define.
16261 (TARGET_SINGLE_PIC_BASE): Likewise.
16262 (GOT_PCREL, NEED_GOT_RELOC, NEED_PLT_RELOC): Provide default
16264 (TARGET_CALLEE_INTERWORKING): Fix typo in comment.
16265 (TARGET_SWITCHES): Add -m{no-}single-pic-base.
16266 (TARGET_OPTIONS): Add -mpic-register=N.
16267 (OUTPUT_INT_ADDR_CONST): New macro.
16268 (INDEX_REGISTER_RTX_P, PIC_OFFSET_TABLE_REGNUM, FINALIZE_PIC,
16269 LEGITIMATE_PIC_OPERAND_P): Likewise.
16270 (LEGITIMIZE_ADDRESS, GOT_IF_LEGITIMATE_ADDRESS): Support PIC.
16271 (ASM_OUTPUT_INT): Use OUTPUT_INT_ADDR_CONST rather than calling
16272 output_addr_const directly.
16273 (PRINT_OPERAND_PUNCT_VALID_P): Accept `|' for compatibility with
16275 (thumb_pic_register, thumb_pic_register_string): Declare.
16277 * config/arm/thumb.c (symbol_mentioned_p): New function: Imported
16279 (label_mentioned_p): New function: Imported from arm.c.
16280 (legitimize_pic_address): New function: Imported from arm.c.
16281 (is_pic):New function: Imported from arm.c.
16282 (thumb_finalize_pic):New function: Imported from arm.c.
16283 (add_constant): Cope with PIC constants.
16284 (fixit): Cope with PIC constants.
16285 (output_return): Do not treat the PIC register as live if
16286 TARGET_SINGLE_PIC_BASE is true.
16287 (thumb_function_prologue): Do not treat the PIC register as live if
16288 TARGET_SINGLE_PIC_BASE is true.
16289 (thumb_expand_prologue): Do not treat the PIC register as live if
16290 TARGET_SINGLE_PIC_BASE is true.
16291 (thumb_unexpand_epilogue): Do not treat the PIC register as live if
16292 TARGET_SINGLE_PIC_BASE is true.
16293 (thumb_print_operand): Accept '|'.
16294 (thumb_override_options): Process PIC options.
16296 * config/arm/thumb.md (movsi): Support PIC.
16297 (call_insn): Change "i" constraint to "X".
16298 (call_value_insn): Likewise.
16299 (consttable_4, consttable_8, consttable_end): Set and clear
16300 "making_const_table" as appropriate.
16301 (pic_load_addr, pic_add_dot_plus_four): New insns.
16303 * invoke.texi (Thumb Options): Fix spelling. Document new
16304 options -msingle-pic-base and -mpic-register=.
16306 1999-07-26 Andrew Haley <aph@cygnus.com>
16308 * config/m32r/initfini.c (__init): Use a full word immediate for
16309 __fini: this allows it to be placed in any memory region.
16311 * config/m32r/t-m32r: Compile crtinit.o and crtfini.o for
16312 -mmodel=medium. This is OK for all memory models.
16314 Mon Jul 26 11:58:46 1999 Nick Clifton <nickc@cygnus.com>
16316 * config/arm/arm.c: Replace %R%s in asm_fprintf strings with %r.
16317 * config/arm/arm.h: Replace %R%s in asm_fprintf strings with %r.
16319 Mon Jul 26 10:23:36 1999 Nick Clifton <nickc@cygnus.com>
16321 * final.c (asm_fprintf): Accept ASM_FPRINTF_EXTENSIONS, if
16324 * tm.texi: Document ASM_FPRINTF_EXTENSIONS.
16326 Sun Jul 25 23:51:59 1999 Richard Henderson <rth@cygnus.com>
16328 * i860.h (EXPAND_BUILTIN_SAVEREGS): New.
16329 (BUILD_VA_LIST_TYPE): New.
16330 (EXPAND_BUILTIN_VA_START): New.
16331 (EXPAND_BUILTIN_VA_ARG): New.
16332 * i860.c (output_delayed_branch): Disable.
16333 (output_delay_insn): Likewise.
16334 (i860_saveregs): New.
16335 (i860_build_va_list): New.
16336 (i860_va_start): New.
16337 (i860_va_arg): New.
16338 * i860.md: Disable all peepholes using output_delayed_branch.
16339 * i860/sysv4.h (I860_SVR4_VA_LIST): New.
16341 Sun Jul 25 23:44:13 1999 Richard Henderson <rth@cygnus.com>
16343 * clipper.h (EXPAND_BUILTIN_SAVEREGS): Remove argument.
16344 (BUILD_VA_LIST_TYPE): New.
16345 (EXPAND_BUILTIN_VA_START): New.
16346 (EXPAND_BUILTIN_VA_ARG): New.
16347 * clipper.c (clipper_builtin_saveregs): Only dump registers.
16348 Return the address of the save area.
16349 (clipper_build_va_list): New.
16350 (clipper_va_start): New.
16351 (clipper_va_arg): New.
16353 Sun Jul 25 22:56:47 1999 Richard Henderson <rth@cygnus.com>
16355 * arc.h (EXPAND_BUILTIN_VA_START): New.
16356 (EXPAND_BUILTIN_VA_ARG): New.
16357 * arc.c (arc_setup_incoming_varargs): Set alias set of
16359 (arc_va_start): New.
16362 Sun Jul 25 22:45:55 1999 Richard Henderson <rth@cygnus.com>
16364 * alpha.h (EXPAND_BUILTIN_SAVEREGS): Delete.
16365 (BUILD_VA_LIST_TYPE): New.
16366 (EXPAND_BUILTIN_VA_START): New.
16367 (EXPAND_BUILTIN_VA_ARG): New.
16368 * alpha.c (alpha_builtin_saveregs): Delete.
16369 (alpha_build_va_list): New.
16370 (alpha_va_start): New.
16371 (alpha_va_arg): New.
16373 Sun Jul 25 21:40:33 1999 Jeffrey A Law (law@cygnus.com)
16375 * config/svr4.h (CTORS_SECTION_ASM_OP): Do not emit directives in
16377 (DTORS_SECTION_ASM_OP, INIT_SECTION_ASM_OP): Likewise.
16378 (FINI_SECTION_ASM_OP, ASM_OUTPUT_SECTION_NAME): Likewise.
16380 * gcc.texi: More changes related to list conversion.
16381 * invoke.texi: Likewise.
16383 Sun Jul 25 18:15:39 1999 Richard Henderson <rth@cygnus.com>
16385 * builtins.c (expand_builtin_saveregs): Remove static, remove exp
16386 and ignore arguments, bail if no EXPAND_BUILTIN_SAVEREGS.
16387 (expand_builtin_next_arg): Accept ARGLIST not EXP.
16388 (stabilize_va_list): New function.
16389 (std_expand_builtin_va_start): New function.
16390 (expand_builtin_va_start): New function.
16391 (get_varargs_alias_set): New function.
16392 (std_expand_builtin_va_arg): New function.
16393 (expand_builtin_va_arg): New function.
16394 (expand_builtin_va_end): New function.
16395 (expand_builtin_va_copy): New function.
16396 (expand_builtin): Call them.
16397 * c-common.c (c_common_nodes_and_builtins): Build __builtin_va_list,
16398 __builtin_{varargs_start,stdarg_start,end,copy}.
16399 (build_va_arg): New function.
16400 * c-common.h (CTI_PTR_TYPE, ptr_type_node): Delete.
16401 (build_va_arg): Declare.
16402 * c-decl.c (ptr_type_node, va_list_type_node): New.
16403 * c-parse.gperf (__builtin_va_arg): New.
16404 * c-parse.in (VA_ARG): New token.
16405 (unary_expr): Recognize it.
16406 * expr.c (expand_expr): Expand VA_ARG_EXPR.
16407 * expr.h (std_expand_builtin_va_start): Declare.
16408 (std_expand_builtin_va_arg): Declare.
16409 (expand_builtin_va_arg): Declare.
16410 (get_varargs_alias_set): Declare.
16411 * tree.def (VA_ARG_EXPR): New.
16412 * tree.h (BUILT_IN_VARARGS_START): New.
16413 (BUILT_IN_STDARG_START, BUILT_IN_VA_END): New.
16414 (ptr_type_node, va_list_type_node): Declare.
16415 * tm.texi (EXPAND_BUILTIN_SAVEREGS): Kill unused ARGLIST argument.
16416 * m32r.h (EXPAND_BUILTIN_SAVEREGS): Likewise.
16417 * m88k.h, m88k.c: Likewise.
16418 * mn10300.h, mn10300.c: Likewise.
16419 * pa.h, pa.c: Likewise.
16420 * rs6000.h, rs6000.c: Likewise.
16421 * sh.h, sh.c: Likewise.
16422 * sparc.h, sparc.c: Likewise.
16424 * emit-rtl.c (operand_subword): Copy alias set.
16425 (change_address): Likewise.
16427 Sun Jul 25 15:04:37 1999 Jeffrey A Law (law@cygnus.com)
16429 * pa.c (compute_frame_size): Scan all the used callee saved registers,
16430 not just the first one.
16432 Fri Jul 23 14:09:58 1999 Philip Blundell <pb@nexus.co.uk>
16434 * config/arm/arm.h (TARGET_SWITCHES): Add
16435 -m{no-}single-pic-base. Correct help string for -mshort-load-words.
16436 (TARGET_OPTIONS): Add -mpic-register=.
16437 (ARM_FLAG_SINGLE_PIC_BASE, TARGET_SINGLE_PIC_BASE): Define.
16438 (arm_pic_register_string): Declare.
16439 (NEED_PLT_GOT): Delete, replace with ...
16440 (NEED_GOT_RELOC, NEED_PLT_RELOC): ... these. New macros.
16441 (OUTPUT_INT_ADDR_CONST): Replace NEED_PLT_GOT with NEED_GOT_RELOC.
16442 (ASM_OUTPUT_MI_THUNK): Replace NEED_PLT_GOT with NEED_PLT_RELOC.
16443 * config/arm/arm.c (arm_override_options): Add new option
16445 (arm_pic_register_string): New variable.
16446 (arm_finalize_pic): Respect TARGET_SINGLE_PIC_BASE.
16447 (output_func_prologue): If TARGET_SINGLE_PIC_BASE, treat the PIC
16448 register as never live. Use NEED_PLT_RELOC not NEED_PLT_GOT.
16449 (output_return_instruction): Likewise.
16450 * config/arm/elf.h (NEED_PLT_GOT): Delete, replace with ...
16451 (NEED_GOT_RELOC, NEED_PLT_RELOC): ... these. Define to flag_pic.
16452 * config/arm/arm.md: Use NEED_PLT_RELOC in place of NEED_PLT_GOT.
16454 * invoke.texi (ARM Options): Fix spelling. Remove duplicate
16455 mention of -msched-prolog. Document new options -msingle-pic-base
16456 and -mpic-register=.
16458 Thu Jul 22 18:23:56 1999 Richard Henderson <rth@cygnus.com>
16460 * haifa-sched.c (reemit_notes): Tidy.
16461 * sched.c (reemit_notes): Duplicate 1998-08-31 patch to
16464 Thu Jul 22 18:21:04 1999 Richard Henderson <rth@cygnus.com>
16466 * explow.c (trunc_int_for_mode): New function.
16467 (plus_constant_wide): Use it.
16468 * combine.c (simplify_and_const_int): Likewise.
16469 (merge_outer_ops): Likewise.
16470 (simplify_shift_const): Likewise.
16471 * cse.c (simplify_unary_operation): Likewise.
16472 (simplify_binary_operation): Likewise.
16473 * emit-rtl.c (operand_subword): Likewise.
16474 * rtl.h: Declare it.
16476 Thu Jul 22 14:34:59 1999 Bernd Schmidt <bernds@cygnus.co.uk>
16478 * config/arm/arm.c (arm_print_operand): Fix typo in 'M' case
16479 (use NUM_REGS instead of NUM_INTS).
16481 Thu Jul 22 11:25:20 1999 Bernd Schmidt <bernds@cygnus.co.uk>
16483 * builtins.c: New file.
16484 * expr.c (saveregs_value, apply_args_value): Delete definition,
16485 moved into builtins.c.
16486 (string_constant): No longer static.
16487 (get_pointer_alignment, c_strlen, get_memory_rtx, expand_builtin,
16488 apply_args_size, apply_result_size, result_vector,
16489 expand_builtin_apply_args, expand_builtin_apply,
16490 expand_builtin_return): Delete functions, moved into builtins.c.
16491 (INCOMING_REGNO, OUTGOING_REGNO): Delete unused macros.
16492 * expr.h (saveregs_value, apply_args_value): Declare variables.
16493 (expand_builtin, string_constant): Declare functions.
16494 * Makefile.in: Update to build builtin.o.
16496 Wed Jul 21 00:46:58 1999 Mark P. Mitchell <mark@codesourcery.com>
16498 * defaults.h (DWARF2_GENERATE_TEXT_SECTION_LABEL): New macro.
16499 * tm.texi (DWARF2_GENERATE_TEXT_SECTION_LABEL): Define it.
16500 * dwarf2out.c (dwarf2out_init): Don't output a label to mark the
16501 start of the text section if DWARF2_GENERATE_TEXT_SECTION_LABEL is
16503 * config/mips/iris6.h (DWARF2_GENERATE_TEXT_SECTION_LABEL):
16506 1999-07-21 Michael Meissner <meissner@cygnus.com>
16508 * print-rtl.c (print_rtx): Print the names of the virtual
16511 Wed Jul 21 16:00:32 1999 Nick Clifton <nickc@cygnus.com>
16513 * config/arm/arm.h (INITIAL_ELIMINATION_OFFSET): Fix typo
16514 introduced in previous delta.
16516 Wed Jul 21 14:30:51 1999 Bernd Schmidt <bernds@cygnus.co.uk>
16518 * c-lang.c (finish_file): Rename void_list_node to void_list_node_1
16519 to avoid name clash.
16521 Wed Jul 21 08:39:22 1999 Gavin Romig-Koch <gavin@cygnus.com>
16523 * c-lex.c (yylex) : Correct the test for overflow when lexing
16526 Tue Jul 20 18:02:42 1999 Richard Henderson <rth@cygnus.com>
16528 * haifa-sched.c (insn_cost): FREE implies cost 0 and vice versa.
16529 (adjust_priority): Always call ADJUST_PRIORITY.
16530 (schedule_insn): Only put insns into the ready at cost 0.
16531 (schedule_block): Remove redundant initial sort. Give clock_var
16532 and can_issue_more to MD_SCHED_REORDER. Requeue if hazard cost
16534 * tm.texi (MD_SCHED_REORDER): Update docs.
16536 * sparc.h (MD_SCHED_REORDER): Update. Set CAN_ISSUE_MORE.
16537 * sparc.c (ultra_reorder_called_this_block): Delete.
16538 (ultrasparc_sched_init): Don't set it.
16539 (ultrasparc_sched_reorder): Don't check it.
16541 Tue Jul 20 17:07:54 1999 Richard Henderson <rth@cygnus.com>
16543 * rs6000.h (struct rs6000_args): Add sysv_gregno.
16544 * rs6000.c (init_cumulative_args): Init sysv_gregno.
16545 (function_arg_boundary): Align DFmode.
16546 (function_arg_advance): Restructure for ABI_V4; use sysv_gregno
16547 to get fp reg and stack overflow correct.
16548 (function_arg): Likewise.
16549 (function_arg_pass_by_reference): True for TFmode for ABI_V4.
16550 (setup_incoming_varargs): Restructure for ABI_V4; use
16551 function_arg_advance to skip final named argument.
16552 (expand_builtin_saveregs): Properly unskip the last integer arg
16553 when doing varargs. Adjust overflow location calculation.
16555 * ginclude/va-ppc.h (struct __va_list_tag): Make gpr and fpr
16556 explicitly unsigned.
16557 (__VA_FP_REGSAVE): Use new OFS argument instead of AP->fpr directly.
16558 (__VA_GP_REGSAVE): Similarly.
16559 (__va_longlong_p): Delete.
16560 (__va_arg_type_violation): New declaration.
16561 (va_arg): Restructure. Flag promotion errors. Align double.
16562 TFmode passed by reference.
16564 * rs6000.md (movdi_32+1): Use GEN_INT after arithmetic
16565 in the HOST_BITS_PER_WIDE_INT > 32 case.
16567 Tue Jul 20 12:37:30 1999 Hans-Peter Nilsson <hp@bitrange.com>
16569 * dwarf2out.c (output_abbrev_section): Terminate with a zero.
16571 Tue Jul 20 12:12:27 1999 Jason Merrill <jason@yorick.cygnus.com>
16573 * gcc.c (default_compilers, cpp-output): Pass -fpreprocessed.
16574 * toplev.c (documented_lang_options): Add -fpreprocessed.
16575 * cpplib.h (struct cpp_buffer): Add preprocessed.
16576 * cppinit.c (cpp_handle_option): Handle -fpreprocessed.
16577 (cpp_start_read): Don't expand macros or emit an initial #line
16578 directive if -fpreprocessed.
16580 Tue Jul 20 12:12:09 1999 Michael Tiemann <tiemann@holodeck.cygnus.com>
16582 * cpplib.h (struct cpp_buffer): Added manual_pop for
16583 better C++ tokenization.
16584 * cpplib.c (cpp_get_token): Return CPP_EOF if manual_pop.
16585 Also, support C++ tokenization for ->*, .*, <?, and >? operators.
16586 * c-common.c (cpp_token): Make non-static.
16588 Tue Jul 20 11:24:19 1999 Bernd Schmidt <bernds@cygnus.co.uk>
16590 * c-common.h: New file.
16591 * c-common.c (permanent_obstack): Delete unused declaration.
16592 (c_global_trees): New array.
16593 (c_common_nodes_and_builtins): New function; split off common code
16594 from init_decl_processing in both c-decl.c and cp/decl.c.
16595 * c-tree.h: Delete lots of declarations of tree nodes; replaced by
16596 c_global_trees and accessor macros defined in c-common.h.
16597 Include c-common.h.
16598 * c-decl.c: Delete definitions for tree nodes that were replaced by
16600 (init_decl_processing): Build void_list_node.
16601 Call c_common_nodes_and_builtins; delete code to generate the common
16603 * objc/objc-act.c (build_module_descriptor): Rename variable
16604 void_list_node to avoid clash with c-common.h.
16606 * Makefile.in: Update dependencies.
16607 * objc/Make-lang.in: Likewise.
16609 Mon Jul 19 14:22:18 1999 Mark P. Mitchell <mark@codesourcery.com>
16611 * config/mips/iris6gld.h (MAKE_DECL_ONE_ONLY): Define.
16612 (UNIQUE_SECTION_P): Likewise.
16613 (UNIQUE_SECTION): Likewise.
16615 1999-07-19 Linas Vepstas <linas@linas.org>
16617 * config/i370/README: New file.
16618 * config/i370/linux.h: New file.
16619 * config/i370/mvs.h: New file.
16620 * config/i370/oe.h: New file.
16621 * config/i370/t-linux: New file.
16622 * config/i370/t-mvs: New file.
16623 * config/i370/t-oe: New file.
16624 * config/i370/x-oe: New file.
16625 * config/i370/xm-linux.h: New file.
16626 * config/i370/xm-mvs.h: New file.
16627 * config/i370/xm-oe.h: New file.
16629 * i370.c (label_node_t): Add first_ref_page, label_addr,
16630 label_first_ref, label_last_ref members.
16631 (mvs_need_base_reload): Renamed from mvs_label_emitted.
16632 (MAX_MVS_LABEL_SIZE): Define.
16633 (MAX_LONG_LABEL_SIZE): Define.
16634 (alias_node_t, alias_anchor, alias_number): New.
16635 (mvs_function_table): Reorder for EBCDIC.
16636 (ascebc, ebcasc): Unconditionally define.
16637 (i370_branch_dest, i370_branch_length): New functions.
16638 (i370_short_branch, i370_label_scan): New functions.
16639 (mvs_get_label): Renamed from mvs_add_label. Search for
16640 an existing label before creating a new one.
16641 (mvs_add_label): New function.
16642 (mvs_get_label_page): New function.
16643 (mvs_free_label_list): Renamed from mvs_free_label. Iterate
16644 over the entire list.
16645 (mvs_check_page) [TARGET_HLASM]: Use BASR not BALR.
16646 (mvs_check_page) [TARGET_ELF_ABI]: New function.
16647 (mvs_add_alias, mvs_need_alias): New functions.
16648 (mvs_get_alias, mvs_check_alias): New functions.
16649 (handle_pragma): New function.
16650 (mvs_function_check): New function.
16651 (unsigned_jump_follows_p): Search harder.
16652 (i370_function_prolog) [TARGET_HLASM]: Handle LE370. Scan labels.
16653 (i370_function_prolog) [TARGET_ELF_ABI]: New function.
16654 * i370.h (TARGET_VERSION): Delete.
16655 (CPP_SPEC, CPP_PREDEFINES): Delete.
16656 (mvs_label_emitted): Delete.
16657 (TARGET_EBCDIC): Delete.
16658 (MAP_CHARACTER): Define only if TARGET_EBCDIC.
16659 (HANDLE_PRAGMA): Define.
16660 (HARD_REGNO_NREGS): Handle complex modes.
16661 (HARD_REGNO_MODE_OK): Likewise.
16662 (CLASS_MAX_NREGS): Likewise.
16663 (RET_REG): Likewise.
16664 (EXTRA_CONSTRAINT): Define.
16665 (RETURN_IN_MEMORY): True for DImode.
16666 (TRAMPOLINE_TEMPLATE): Use gen_rtx instead of GEN_INT.
16667 (FUNCTION_PROFILER): Delete.
16668 (COUNT_REGS): Fail if REG_P but not REG_OK_FOR_BASE_P.
16669 (NOTICE_UPDATE_CC): Correct handling of MULT, DIV, logicals and shifts.
16670 (TARGET_ESC, TARGET_BELL): Conditionally define for TARGET_EBCDIC.
16671 (TARGET_BS, TARGET_TAB, TARGET_NEWLINE): Likewise.
16672 (TARGET_VT, TARGET_FF, TARGET_CR): Likewise.
16673 (ASM_FILE_START): Add "RMODE ANY".
16674 (ASM_OUTPUT_EXTERNAL): Check for aliases.
16675 (ASM_GLOBALIZE_LABEL): Likewise.
16676 (ASM_OUTPUT_LABELREF): Likewise.
16677 (ASM_OUTPUT_COMMON): Likewise.
16678 (PRINT_OPERAND): Handle 'K', 'W', default.
16679 (PRINT_OPERAND_ADDRESS): New.
16680 (Lots of defines): Add support for TARGET_ELF_ABI.
16681 * i370.md (attr length): New. Define for all patterns.
16682 (*): Lots of tweeks to assembly output and constraints.
16684 Mon Jul 19 15:09:29 1999 David Edelsohn <edelsohn@gnu.org>
16686 * rs6000.md (arithmetic, logical, and shift Rc combiner patterns):
16687 Disable patterns performing SImode comparisons with SImode values
16688 if TARGET_POWERPC64 and instruction does not sign-extend or does
16689 not mask to narrower than SImode, i.e. where bit 31 and bit 63 may
16690 differ for signed quantities.
16691 (indirect_jump): Add expander to choose RTL based on TARGET_64BIT.
16692 (tablejump): Patterns contingent on TARGET_64BIT not TARGET_POWERPC64.
16693 (decrement_and_branch_on_count): Add 64-bit variant.
16695 Mon Jul 19 09:36:27 1999 Bernd Schmidt <bernds@cygnus.co.uk>
16697 * final.c (output_asm_insn): When searching for the matching string
16698 for a given dialect, don't run past the end of the list of
16699 alternatives if there are fewer alternatives in the template than
16702 1999-07-17 Alexandre Oliva <oliva@dcc.unicamp.br>
16704 * gcc.texi: Update e-mail addresses and URLs to gcc.gnu.org.
16705 Removed paragraph about compression of files and size limitation,
16706 duplicated in the FAQ. Use gcc-patches for posting patches.
16707 * gcc.c (main): Updated URL with bug reporting instructions to
16708 gcc.gnu.org. Removed e-mail address.
16709 * system.h (abort): Likewise.
16711 1999-07-17 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
16713 * Makefile.in (stmp-multilib-sub): Make the files extracted
16714 from $(LIBGCC1) writable.
16716 Sat Jul 17 14:25:46 1999 Nick Clifton <nickc@cygnus.com>
16718 * config/arm/aout.h: Reformat for improved readability.
16720 * config/arm/arm.h: Reformat for improved readability.
16721 Replace uses of fprintf with asm_fprintf where appropriate.
16722 (ARM_DECLARE_FUNCTION_NAME): New macro: Perform any generic ARM
16723 function declaration assembler actions.
16724 (NUM_INTS): New macro: Convert from bytes to words.
16725 (NUM_REGS): New macro: Compute number of registers required to
16726 hold a quanitity of tyep MODE.
16727 (NUM_REGS2): New macro: Like NUM_REGS but also copes with BLKmode
16729 (NUM_ARG_REGS): New macro: The number of argument registers
16731 (ARG_REGISTER): New macro: Compute the register number of the Nth
16733 (LAST_ARG_REGNUM): New macro: The number of the last argument
16735 (SP_REGNUM): New macro: Register number of the stack pointer.
16736 (FP_REGNUM): New macro: Register number of the frame pointer.
16737 (FUNCTION_ARG, FUNCTION_ARG_PARTIAL_NREGS, INIT_CUMULATIVE_AGS,
16738 FUNCTION_ARG_ADVANCE, SETUP_INCOMING_VARARGS): Change
16739 CUMULATIVE_ARGS so that it counts registers not bytes.
16741 * config/arm/arm.c: Rename TARGET_THUMB_INTERWORK to
16743 Replace uses of fprintf with asm_fprintf where appropriate.
16744 (output_ascii_pseudo_op): Replace with version from thumb.c
16746 * config/arm/coff.h (ASM_FILE_START): Emit ASM_APP_OFF.
16748 * config/arm/elf.h (CPP_PREDEFINES): Replace with
16749 SUBTARGET_CPP_SPEC.
16750 (ASM_DECLARE_FUNCTION_NAME): Use ARM_DECLARE_FUNCTION_NAME.
16751 (ASM_FILE_START): Emit ASM_APP_OFF.
16753 Fri Jul 16 13:48:09 1999 Jeffrey A Law (law@cygnus.com)
16755 * pa.c (compute_frame_size): Round frame according to
16756 STACK_BOUNDARY rather than a hardwired value.
16758 * pa.h (POINTER_SIZE, PARM_BOUNDARY): Define in terms of BITS_PER_WORD.
16760 * configure.in (hppa*-*-hpux11*): Use symbolic MASK_PA_11 instead
16762 * configure: Rebuilt.
16764 * configure.in (hppa*-*-linux*): New configuration.
16765 * configure: Rebuilt.
16766 * pa.h (MAX_OFILE_ALIGNMENT): Delete.
16767 * pa/som.h (MAX_OFILE_ALIGNMENT): Define.
16768 * pa/pa-linux.h: New file.
16769 * pa/t-linux: New file.
16770 * pa/xm-linux.h: New file.
16772 * pa.c (hppa_legitimize_address): Change references from SImode to
16773 either Pmode or word_mode as appropriate.
16774 (emit_move_sequence, store_reg, load_reg): Likewise.
16775 (set_reg_plus_d, hppa_expand_prologue): Likewise.
16776 (output_mul_insn): Likewise.
16777 * pa.h (PROMOTE_MODE): Likewise.
16778 (INITIALZE_TRAMPOLINE): Likewise.
16779 (Pmode): Define to word_mode.
16781 * pa.c (compute_frame_size): Use UNITS_PER_WORD instead of hardwired
16782 value of 4. Allocate 8 bytes for each FP register save.
16783 (hppa_expand_epilogue): Use UNITS_PER_WORD instead of harwarewired
16785 (hppa_expand_prologue): Likewise.
16786 * pa.h (PROMOTE_MODE): Likewise.
16787 (HARD_REGNO_MODE_OK, FUNCTION_ARG_SIZE): Likewise.
16788 (FUNCTION_ARG_BOUNDARY): Likewise.
16790 * invoke.texi (HPPA Options): Remove -mspace/-mno-space.
16792 * pa.c (out_of_line_prologue_epilogue): Delete.
16793 (override_options): Remove -mspace related code.
16794 (hppa_expand_prologue, hppa_expand_epilogue): Likewise.
16795 (compute_frame_size): Only allocate space for register that
16796 actually need to be saved.
16797 * pa.h (MASK_SPACE, TARGET_SPACE): Delete.
16798 (TARGET_SWITCHES): Remove -mspace, -mno-space
16799 * pa/t-pa (LIB2FUNCS_EXTRA): Remove ee.asm and ee_fp.asm
16800 * pa/t-pro (LIB2FUNCS_EXTRA): Likewise. Remove -mspace multilib.
16801 * pa/ee.asm, pa/ee_fp.asm: Delete.
16803 * pa/elf.h (ASM_OUTPUT_DOUBLE_INT): Define.
16805 * config/svr4.h (CONST_SECTION_ASM_OP): Do not emit assembler
16806 directive in column zero.
16808 Fri Jul 16 01:39:57 1999 Jeffrey A Law (law@cygnus.com)
16810 * m68k.c (output_function_prologue): Fix computation of save mask
16811 when generating PIC code.
16813 Thu Jul 15 15:40:09 1999 Jim Wilson <wilson@cygnus.com>
16815 * tree.c (build_type_attribute_variant): Move current_obstack restore
16816 after build_qualified_type call.
16818 1999-07-15 Mark Mitchell <mark@codesourcery.com>
16820 * configure.in: Use t-iris6, even with GNU LD.
16821 * config/mips/iris6gld.h: Fix typo in linker spec.
16822 * config/mips/t-iris6gld: Remove.
16824 Thu Jul 15 15:15:43 1999 David Edelsohn <edelsohn@gnu.org>
16826 * rs6000.md (insv, extzv): Remove SImode dependence in named
16827 patterns. Explicitly generate DImode RTL if PowerPC64 and
16829 (insvdi): Reverse start and size in instruction template.
16831 1999-07-12 Joseph S. Myers <jsm28@cam.ac.uk>
16833 * invoke.texi: Typo fixes.
16835 Wed Jul 14 23:28:06 1999 Jeffrey A Law (law@cygnus.com)
16837 * emit-rtl.c (gen_realpart): Issue an error for cases GCC can not
16838 handle at this time instead of silently generating incorrect code.
16839 (gen_imagpart): Likewise.
16841 * reload.c (find_reloads): Emit a USE for a pseudo register without
16842 a hard register if we could not create an optional reload for the
16845 Wed Jul 14 23:45:48 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
16847 * c-typeck.c (output_init_element, process_init_element):
16848 When advancing constructor_unfilled_fields for a RECORD_TYPE,
16849 check for nameless bit fields.
16851 Wed Jul 14 01:57:39 1999 Richard Henderson <rth@cygnus.com>
16853 * regclass.c (scan_one_insn): Notice subregs that change the
16854 size of their operand.
16855 (record_reg_classes): Use that to obey CLASS_CANNOT_CHANGE_SIZE.
16857 Wed Jul 14 01:41:42 1999 Jeffrey A Law (law@cygnus.com)
16859 * configure.in (alpha*-*-*): Include alpha/t-ieee.
16860 * configure: Rebuilt.
16861 * alpha/t-ieee: New file.
16863 Tue Jul 13 10:45:58 1999 Jeffrey A Law (law@cygnus.com)
16865 * rs6000.c (find_addr_reg): Do not select r0 as an address
16868 Tue Jul 13 00:46:18 1999 Philippe De Muyter <phdm@macqel.be>
16870 * m68k/x-mot3300 (XCFLAGS): List of big files now includes `cse.o'.
16872 Mon Jul 12 14:29:15 1999 Jeffrey A Law (law@cygnus.com)
16874 * rs6000.md (movsf): Do not force easy FP constants into memory.
16876 * expr.c (expand_expr, case PLUS_EXPR): Pass constants through
16877 immed_double_const to ensure they are properly truncated then
16880 Mon Jul 12 10:40:01 1999 Vladimir Makarov <vmakarov@tofu.to.cygnus.com>
16882 * config/arm/thumb.c (thumb_reorg): Call replace_symbols_in_block
16883 always unless NO_DEBUG is used. Compile this code
16885 (replace_symbols_in_block): Compile it unconditionally.
16887 Sun Jul 11 12:32:32 1999 Jeffrey A Law (law@cygnus.com)
16889 * configure.in (i?86-*-elf*): New target.
16890 * configure: Rebuilt.
16891 * i386/i386elf.h, i386/t-i386elf: New files.
16893 Fri Jul 9 22:39:44 1999 Jason Merrill <jason@yorick.cygnus.com>
16895 * toplev.c (main): Don't complain about saying -gdwarf.
16896 (rest_of_compilation): Remove redundant code.
16898 Fri Jul 9 19:08:55 1999 Jim Wilson <wilson@cygnus.com>
16900 * unroll.c (unroll_loops): Don't delete named CODE_LABELs.
16902 Fri Jul 9 18:54:18 1999 Felix Lee <flee@cygnus.com>
16904 * config/i960/i960.c (ret_label): Change asm label from "LR:" to
16905 "Li960R:", to avoid name clash.
16907 Fri Jul 9 10:48:28 1999 Bernd Schmidt <bernds@cygnus.co.uk>
16909 * loop.c (check_dbra_loop): When reversing a loop, delete all
16910 REG_EQUAL notes referencing the reversed biv except those which are
16911 for a giv based on it.
16913 Fri Jul 9 03:51:52 1999 Jeffrey A Law (law@cygnus.com)
16915 * version.c: Drop "gcc-" prefix from version #.
16917 Thu Jul 8 18:06:30 1999 Jason Merrill <jason@yorick.cygnus.com>
16919 * dwarf2out.c (dwarf2out_line): Emit a line number comment after
16920 the label if we're being verbose.
16922 Thu Jul 8 14:18:46 1999 Richard Henderson <rth@cygnus.com>
16924 * m68k.c (output_function_prologue): Add pic register to mask
16925 if live and flag_pic.
16926 (output_function_epilogue): Likewise.
16928 Thu Jul 8 12:55:12 1999 Jeffrey A Law (law@cygnus.com)
16930 * dbxelf.h (ASM_OUTPUT_SOURCE_LINE): Do not put assembler
16931 directives in column zero.
16933 * pa/elf.h (ASM_FILE_START): Define.
16934 * pa/som.h (ASM_FILE_START): Include .level directives.
16935 * pa/hpux10.h (ASM_FILE_START): Delete.
16936 * pa/hpux11.h (ASM_FILE_START): Delete.
16938 * pa/elf.h (BSS_SECTION_ASM_OP): Use .section .bss.
16940 Thu Jul 8 18:03:19 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
16942 * reload1.c (choose_reload_regs): Never call remove_adress_replacements
16943 when reload_out equals reload_in.
16945 Thu Jul 8 16:50:14 1999 Nick Clifton <nickc@cygnus.com>
16947 * invoke.texi (Spec Files): New node: Describe the contents of
16950 Thu Jul 8 10:28:25 1999 Craig Burley <craig@jcb-sc.com>
16952 * invoke.texi (DEC Alpha Options): Put @end table at
16953 beginning of line, to avoid confusing texi2html.
16955 Thu Jul 8 09:22:06 1999 Nick Clifton <nickc@cygnus.com>
16957 * config/arm/elf.h (ASM_OUTPUT_INTERNAL_LABEL): Fixed typo
16958 introduced in previous delta.
16960 Wed Jul 7 02:00:04 1999 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
16962 * reload1.c (gen_reload): When synthesizing a 3 operand add
16963 sequence, improve test for when to reload OP1 into the reload
16964 register instead of OP0.
16966 Wed Jul 7 01:38:03 1999 Jim Wilson <wilson@cygnus.com>
16968 * unroll.c (unroll_loop): Don't delete NOTE_INSN_DELETED_LABEL notes.
16970 1999-07-07 Manfred Hollstein <mhollstein@cygnus.com>
16972 * m88k/dguxbcs.h (CPP_SPEC): Add missing \ in multi-line
16975 Wed Jul 7 01:16:43 1999 Richard Henderson <rth@cygnus.com>
16977 * ginclude/varargs.h (__builtin_va_alist_t): New typedef.
16978 (va_dcl): Use __builtin_va_alist_t.
16980 Wed Jul 7 01:14:42 1999 Jason Merrill <jason@yorick.cygnus.com>
16982 * dwarf2out.c (gen_struct_or_union_type_die): Only remember types
16983 on the permanent_obstack.
16984 * dwarfout.c (output_type): Likewise.
16986 Tue Jul 6 15:25:32 1999 Gavin Romig-Koch <gavin@cygnus.com>
16988 * c-common.c (unsigned_type,signed_type,signed_or_unsigned_type) :
16989 Merged from c-typeck.c and cp/typeck.c.
16990 * c-typeck.c (unsigned_type,signed_type,signed_or_unsigned_type) :
16991 Merged into c-common.
16993 Tue Jul 6 13:06:01 1999 Dave Brolley <brolley@cygnus.com>
16995 * c-lex.c (errorcount): Declare it.
16996 (finish_parse): Update errorcount when using CPPLIB.
16998 1999-07-06 Bruce Korb <ddsinc09@ix.netcom.com>
17000 * fixinc/inclhack.def(end_else_label): Double the backslash so
17001 sed gets a chance to see it.
17002 * fixinc/inclhack.sh: regen
17003 * fixinc/fixincl.x: regen
17005 Fri Jul 2 18:49:51 1999 Nick Clifton <nickc@cygnus.com>
17007 Add framework to support armv5 architecture when it becomes
17010 * config/arm/arm.c (FL_ARCH5): New processor capability flag.
17011 (arm_arch5): New variable.
17012 (all_architectures): Add armv5 line.
17013 * config/arm/arm.h (CPP_CPU_ARCH_SPEC): Define __ARM_ARCH_5__ if
17014 -march=armv5 is specified on the command line.
17015 (arm_arch5): Export this variable.
17016 * invoke.texi: Document new string accepted by -march= switch for
17019 * config/arm/arm.h: Replace use of constant 12 as a register
17020 number with IP_REGNUM. Similarly 14 and LR_REGNUM.
17021 * config/arm/arm.c: Replace use of constant 12 as a register
17022 number with IP_REGNUM. Similarly 14 and LR_REGNUM.
17024 * config/arm/elf.h: Tidy up.
17025 * config/arm/coff.h: Tidy up.
17027 Thu Jul 1 19:08:13 1999 Mark P. Mitchell <mark@codesourcery.com>
17029 * gcc/configure.in (mips-sgi-irix6*): Handle --with-gnu-ld.
17030 * gcc/config/mips/t-iris6gld: New file.
17031 * gcc/config/mips/iris6gld.h: Likewise.
17033 Fri Jul 2 13:23:39 1999 Gavin Romig-Koch <gavin@cygnus.com>
17035 * c-decl.c (widest_integer_literal_type_node,
17036 widest_unsigned_literal_type) : New.
17037 (init_decl_processing): Handle/use the two new types.
17038 * c-common.c (type_for_size,type_for_mode) : Same.
17039 * c-lex.c (yylex) : Same.
17040 * c-typeck.c (unsigned_type,signed_type,signed_or_unsigned_type) :
17042 * c-tree.h (widest_integer_literal_type_node,
17043 widest_unsigned_literal_type) : New.
17045 Fri Jul 2 03:05:44 1999 Jeffrey A Law (law@cygnus.com)
17047 * dwarfout.c (field_byte_offset): Correctly compute the object's
17048 byte offset for the first bit of a field which crosses an alignment
17049 boundary on a !BYTES_BIG_ENDIAN target.
17051 Fri Jul 2 01:36:36 1999 Robert Lipe <robertlipe@usa.net>
17053 * fixinc.svr4: Fix <arpa/inet.h> by deleting protos for htons and
17056 Fri Jul 2 00:46:47 1999 Richard Henderson <rth@cygnus.com>
17057 Jeff Law <law@cygnus.com>
17059 * ginclude/varargs.h (va_dcl): Use word_mode for type of
17062 * except.c: Include intl.h.
17063 (expand_eh_return): Set current_function_cannot_inline.
17064 (save_eh_status, restore_eh_status): Twiddle eh_return_stub_label.
17065 * function.h (struct function): Add eh_return_stub_label.
17066 * flow.c (delete_unreachable_blocks): Don't merge across EH edges.
17067 * Makefile.in (except.o): Depend on intl.h.
17069 Fri Jul 2 00:04:23 1999 David Edelsohn <edelsohn@gnu.org>
17071 * rs6000.md (movdf_hardfloat32): Handle PRE_INC and PRE_DEC the
17072 same as offsettable in cases 1 and 2.
17074 Thu Jul 1 20:54:10 1999 Richard Henderson <rth@cygnus.com>
17076 * alpha.md (extqh): Define as 64-((R&7)*8) instead of 56-(((R-1)&7)*8).
17077 (extlh, extwh): Likewise.
17079 Thu Jul 1 11:05:25 1999 Gavin Romig-Koch <gavin@cygnus.com>
17081 * c-lex.c (yylex): Improve 'integer constant out of range' messages.
17083 Wed Jun 30 16:51:41 1999 Nick Clifton <nickc@cygnus.com>
17085 * configure.in: Add arm-pe and thumb-pe targets.
17086 * configure: Regenerate.
17088 * thumb.c (arm_naked_function_p): New function: Determines if
17089 a function is naked (has no gcc generated prologue/epilogue).
17090 (is_called_in_ARM_mode): Return true if the func has the
17091 interfacearm attribute.
17092 (output_return): Do not generate a return for naked functions.
17093 (thumb_function_prologue): Do not generate a prologue for
17095 (thumb_expand_prologue): Do not generate a prologue for naked
17097 (thumb_expand_epilogue): Do not generate an epilogue for naked
17099 (arm_valid_machine_decl_attribute): New function, copied from
17100 arm.c: Permit naked and interfacearm attributes.
17102 * config/arm/pe.c: New file: Support code for arm-pe target.
17103 * config/arm/pe.h: New file: Header file for arm-pe target.
17104 * config/arm/tpe.h: New file: Header file for thumb-pe target.
17105 * config/arm/t-thumb-pe: New file: Makefile fragment for
17108 1999-07-01 Mark Kettenis <kettenis@gnu.org>
17110 * config/i386/gnu.h (CPP_SPEC): Define __PIC__ and __pic__ if
17111 -fPIC or -fpic is specified.
17113 Wed Jun 30 03:31:54 1999 Jeffrey A Law (law@cygnus.com)
17115 * expr.c (emit_block_move): Use copy_to_mode_reg for
17116 !TARGET_MEM_FUNCTIONS case too.
17118 * configure.in (hppa*-*-*): Add som.h or elf.h to tm_file as
17120 * configure: Rebuilt.
17121 (hppa1.1-*-pro*, hppa1.1-*-rtems*): Define target_cpu_default.
17122 * pa.h: Include dbxelf.h. Delete various dbx/stabs related
17123 definitions made redundant by dbxelf.h inclusion. Delete
17124 lots of definitions related to assembly output that are
17125 specific to the SOM object format.
17126 * pa.c (output_function_prologue): Do not emit the function's
17128 * pa-pro-end.h (STARTFILE_SPEC): Undefine before redefining.
17129 * pa-pro.h: Deleted.
17130 * som.h: New file with SOM specific definitions.
17131 * elf.h: New file with ELF specific definitions.
17133 * elfos.h (const_section): Output a tab before assembler directives.
17134 (ctors_section, dtors_section): Likewise.
17135 (ASM_OUTPUT_SECTION_NAME): Likewise.
17137 * pa/pa1.h: Delete unused file.
17139 Tue Jun 29 01:37:53 1999 Jeffrey A Law (law@cygnus.com)
17141 * configure.in (hppa*-hp-hpux11*): New configuration.
17142 * configure: Rebuilt.
17143 * pa/pa-hpux11.h: New file.
17144 * pa.h (CPP_SPEC): Conditionally add -D__STDC_EXT__ to the cpp
17147 * mips.md (leasi, leadi): New patterns.
17149 * expr.c (emit_block_move): Properly handle case where one of the
17150 block move arguments has a queued increment or decrement.
17151 (clear_storage): Similarly. Fix formatting goof.
17153 1999-06-28 "David O'Brien" <obrien@NUXI.com>
17155 * fixinc/inclhack.def(stdio_va_list): This patch Removes a
17156 semicolon from the BSD VA_LIST replacement expression.
17158 * fixinc/inclhack.sh: regen
17159 * fixinc/fixincl.x: regen
17161 * fixinc/mkfixinc.sh: Have `i[34567]86-*-freebsd*' machines
17162 now use the fixincl program.
17164 Mon Jun 28 05:28:12 1999 Jeffrey A Law (law@cygnus.com)
17166 * m68k.h (CONDITIONAL_REGISTER_USAGE): Define for !SUN_FPA
17167 case. Also make the PIC register call_used.
17169 * m68k.h (FINALIZE_PIC): Delete.
17170 * m68k.c (finalize_pic): Delete.
17172 Mon Jun 28 05:16:35 1999 Richard Henderson <rth@cygnus.com>
17174 * m68k.h (PREFERRED_RELOAD_CLASS): Don't force any FP const_doubles
17177 Mon Jun 28 04:07:27 1999 David Edelsohn <edelsohn@gnu.org>
17179 * expmed.c (expand_divmod): Ensure unsigned value fits in reg_note.
17181 Sun Jun 27 02:39:08 1999 Richard Henderson <rth@cygnus.com>
17183 * jump.c (jump_optimize_1): Validate the cmov copy to a temporary.
17185 Sat Jun 26 17:18:18 1999 David Edelsohn <edelsohn@gnu.org>
17187 * rs6000.c (print_operand, case 'L'): Use plus_constant_for_output.
17189 Fri Jun 25 11:33:24 1999 Richard Henderson <rth@cygnus.com>
17191 * alpha.c (override_options): Add -mcpu=ev45 as an alias for ev4.
17193 Fri Jun 25 13:41:25 1999 David Edelsohn <edelsohn@gnu.org>
17195 * rs6000.c (output_toc): Always use hex values for floating-point
17196 constants. Store single-precision values in upper-half of TOC
17197 entry in 64-bit mode.
17198 * rs6000.md (floatsidf2, floatunssidf2): Add !TARGET_POWERPC64
17199 to final constraints.
17200 (fix_truncdfsi2 splitter): Change pattern matching fctiwz.
17201 (fctiwz): Improve accuracy of RTL for pattern.
17203 Fri Jun 25 11:26:38 1999 Gavin Romig-Koch <gavin@cygnus.com>
17205 * expr.c (expand_expr): Allow RTL_EXPR's through the
17206 MAX_INTEGER_COMPUTATION_MODE checks.
17208 Fri Jun 25 06:06:37 1999 Richard Henderson <rth@cygnus.com>
17210 * alpha.h (MASK_SUPPORT_ARCH, MASK_CPU_EV5, MASK_CPU_EV6): Define
17211 such that MASK_SUPPORT_ARCH is not negative.
17213 Fri Jun 25 05:35:44 1999 Jeffrey A Law (law@cygnus.com)
17215 * loop.c (verify_dominator): Properly handle ADDR_VEC and
17216 ADDR_DIFF_VEC insns that appear inside loops.
17218 Thu Jun 24 22:54:05 1999 David Edelsohn <edelsohn@gnu.org>
17219 Jeff Law <law@cygnus.com>
17221 * rs6000.md (movdf_hardfloat32): Revert previous patch.
17222 Handle LO_SUM the same as offsettable in cases 1 and 2.
17223 * rs6000.c (find_addr_reg): Revert previous patch.
17225 Thu Jun 24 22:43:12 1999 Philippe De Muyter <phdm@macqel.be>
17227 * system.h (strstr): New external function declaration.
17228 * acconfig.h (NEED_DECLARATION_STRSTR): New define slot.
17229 * configure.in (GCC_NEED_DECLARATIONS): Check for strstr.
17230 * config.in, configure: Rebuilt.
17232 1999-06-24 Tom Tromey <tromey@cygnus.com>
17234 * gcc.c (main): Read user-specified specs files after computing
17235 additional startfile_prefixes.
17237 Thu Jun 24 15:00:47 1999 Mark Mitchell <mark@codesourcery.com>
17239 Revert these two patches:
17241 Thu Jun 17 21:34:24 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
17242 * loop.c (strength_reduce): When doing biv->giv conversion, update
17243 reg note of NEXT->insn.
17245 Thu Jun 17 17:22:07 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
17246 * loop.c (strength_reduce): When doing biv->giv conversion, fix up
17248 (recombine_givs): Set ix field after sorting.
17250 Wed Jun 23 21:26:00 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
17252 * rtlanal.c (reg_referenced_p): Use reg_overlap_mentioned_p
17253 for the parts of an UNSPEC / UNSPEC_VOLATILE.
17255 1999-06-23 Bruce Korb <ddsinc09@ix.netcom.com>
17257 *fixinc/inclhack.def: Add fix development commentary
17258 (read_ret_type): reactivate and add selection clause
17259 (zzz_*): tweak output file name to match what is used in hackshell.tpl
17260 *fixinc/{fixincl.x|inclhack.sh}: regen
17262 Wed Jun 23 00:48:21 1999 Jason Merrill <jason@yorick.cygnus.com>
17264 * expr.c (expand_expr): STRIP_NOPS before checking against
17265 MAX_INTEGER_COMPUTATION_MODE
17266 (check_max_integer_computation_mode): Likewise.
17268 Tue Jun 22 20:23:43 1999 Jim Wilson <wilson@cygnus.com>
17270 * md.texi (smul@var{m}3_highpart): Add missing 's' prefix.
17272 1999-06-22 Jim Wilson <wilson@cygnus.com>
17274 * expr.c (store_expr): When target is a promoted subreg, return a
17275 promoted subreg as a result.
17277 Tue Jun 22 17:14:58 1999 Michael Meissner <meissner@cygnus.com>
17279 * dwarf2out.c (dwarf2out_frame_debug_expr): Reformat to match GNU
17281 (dwarf2out_define): Mark unused parameters appropriately.
17282 (gen_unspecified_parameters_die): Ditto.
17283 (gen_subprogram_die): Fix signed/unsigned warnings.
17284 (gen_variable_die): Ditto.
17286 1999-06-22 Bruce Korb <ddsinc09@ix.netcom.com>
17288 * fixinc/inclhack.def(end_else_label): combined else_label
17289 and endif_label and fixed the sed expression.
17290 *fixinc/{fixincl.x|inclhack.sh}: regen
17292 Tue Jun 22 01:58:18 1999 Jeffrey A Law (law@cygnus.com)
17294 * rs6000.md (movdf_hardfloat32): Use %X instead of always emitting
17295 'x' when handling non-offsettable addresses
17297 Tue Jun 22 00:20:05 1999 Richard Earnshaw (rearnsha@arm.com)
17299 * final.c (shorten_branches): Don't try to split an insn that has
17302 Mon Jun 21 12:47:39 1999 Mark Mitchell <mark@codesourcery.com>
17304 * config/mips/mips.c (symbolic_expression_p): New function.
17305 (mips_select_rtx_section): Put symbolic expressions in the
17306 data section, not the read-only data section.
17308 Mon Jun 21 22:13:06 1999 Jeffrey A Law (law@cygnus.com)
17310 * rs6000.md (find_addr_reg): Handle LO_SUM addresses.
17312 Mon Jun 21 20:10:42 1999 Richard Henderson <rth@cygnus.com>
17314 * collect2.c (main): Log frame table count.
17315 (GCC_OK_SYMBOL) [ECOFF]: Accept stGlobal.
17316 (scan_prog_file) [COFF]: Handle frame tables.
17318 * alpha/alpha.h (UNALIGNED_SHORT_ASM_OP): Define.
17319 (UNALIGNED_INT_ASM_OP, UNALIGNED_DOUBLE_INT_ASM_OP): Define.
17320 * alpha/elf.h: Undef them again.
17321 * alpha/vms.h: Remove their definitions.
17323 Tue Jun 22 03:17:53 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
17325 * sh.c (machine_dependent_reorg): When fixing up fp pcloads,
17326 remove the clobber of r0 and change the REG_UNUSED note to
17329 1999-06-21 Jakub Jelinek <jj@ultra.linux.cz>
17331 * real.c (ereal_from_double): Fix for 64-bit big endian hosts.
17332 * emit-rtl.c (gen_lowpart_common): Add case for hosts where double
17333 fits in HOST_WIDE_INT and one uses union to access a long constant
17336 Mon Jun 21 17:18:25 1999 Richard Henderson <rth@cygnus.com>
17338 * sparc.c (sparc_override_options): Don't allow profiling for
17339 code models other than medlow.
17340 (sparc_function_profiler): New function from old FUNCTION_PROFILER
17341 macro. Use ASM_GENERATE_INTERNAL_LABEL and MCOUNT_FUNCTION.
17342 (sparc_function_block_profiler): Likewise. Use user_label_prefix.
17343 (sparc_block_profiler): Likewise.
17344 (sparc_function_block_profiler_exit): Likewise.
17345 * sparc.h (FUNCTION_PROFILER): Call new sparc.c function.
17346 (FUNCTION_BLOCK_PROFILER): Likewise.
17347 (BLOCK_PROFILER): Likewise.
17348 (FUNCTION_BLOCK_PROFILER_EXIT): Likewise.
17349 (MCOUNT_FUNCTION): New.
17350 * sparc/pbd.h (FUNCTION_PROFILER): Delete.
17351 (FUNCTION_BLOCK_PROFILER, BLOCK_PROFILER): Delete.
17352 * sparc/sun4o3.h (FUNCTION_PROFILER): Delete.
17353 (MCOUNT_FUNCTION): New.
17354 * sparc/sysv4.h (FUNCTION_BLOCK_PROFILER): Delete.
17355 (BLOCK_PROFILER): Delete.
17356 (MCOUNT_FUNCTION): New.
17358 Mon Jun 21 14:11:29 1999 David Edelsohn <edelsohn@gnu.org>
17360 * rs6000.md (movdf_hardfloat32): Fix typo in case 2.
17362 Mon Jun 21 12:27:17 1999 Vladimir Makarov <vmakarov@tofu.to.cygnus.com>
17364 * config/mips/elf.h (BSS_SECTION_ASM_OP, ASM_OUTPUT_ALIGNED_BSS):
17367 * config/m68k/m68kelf.h (BSS_SECTION_ASM_OP, ASM_OUTPUT_ALIGNED_BSS):
17370 * config/sh/sh.h (BSS_SECTION_ASM_OP, ASM_OUTPUT_ALIGNED_BSS):
17373 * config/arm/telf.h (BSS_SECTION_ASM_OP, ASM_OUTPUT_ALIGNED_BSS):
17376 Mon Jun 21 14:58:42 1999 Nick Clifton <nickc@cygnus.com>
17378 * config/arm/arm.h: Add cpp support for ARM920 and ARM920T cpu
17381 Mon Jun 21 06:22:21 1999 Mark Elbrecht <snowball3@bigfoot.com>
17383 * i386/djgpp.h (LIB_SPEC): New.
17384 (STARTFILE_SPEC): New.
17386 * i386/xm-djgpp.h (NO_SYS_SIGLIST): Deleted. Now obsolete.
17388 Mon Jun 21 06:19:33 1999 Philippe De Muyter <phdm@macqel.be>
17390 * fixinc/Makefile.in (gnu-regex.o): Do not define STDC_HEADERS in
17393 * system.h (WSTOPSIG): New macro.
17395 Mon Jun 21 05:33:15 1999 Mumit Khan <khan@xraylith.wisc.edu>
17397 * c-pragma.c (push_alignment): Don't ignore alignments greater than
17399 (insert_pack_attributes): Take into account member natural
17402 * i386/winnt.c (exports_head): New static variable.
17403 (i386_pe_record_exported_symbol): New function.
17404 (i386_pe_asm_file_end): Use.
17405 * i386/cygwin.h (ASM_OUTPUT_COMMON): Record the exported
17406 symbols to be emitted at end of assembly.
17407 (ASM_DECLARE_OBJECT_NAME): Likewise.
17408 (ASM_DECLARE_FUNCTION_NAME): Likewise.
17410 * i386/uwin.h (CPP_SPEC): Use -idirafter instead -iprefix and
17413 Mon Jun 21 04:44:31 1999 Jeffrey A Law (law@cygnus.com)
17415 * sparc.h (LEGITIMIZE_RELOAD_ADDRESS): Fix paren error introduced
17418 Sun Jun 20 17:27:20 1999 Richard Henderson <rth@cygnus.com>
17420 * haifa-sched.c (sched_analyze_1): Use free_list instead of
17421 zapping reg_last_uses directly.
17422 (sched_analyze_2, sched_analyze_insn): Likewise.
17423 (sched_analyze): Likewise. Don't clear reg_last_uses on calls.
17425 Sun Jun 20 16:57:29 1999 David Edelsohn <edelsohn@gnu.org>
17427 * rs6000.md (movdf_hardfloat32): Use worst case insn length
17428 attributes for cases 1 and 2.
17430 Sat Jun 19 22:52:55 1999 Richard Henderson <rth@cygnus.com>
17432 * haifa-sched.c (sched_analyze): Mark call-user regs as clobbered
17435 Sat Jun 19 05:40:07 1999 Philip Blundell <pb@nexus.co.uk>
17437 * arm.c (arm_reload_in_hi): Invert sense of test on BYTES_BIG_ENDIAN.
17439 Sat Jun 19 05:25:05 1999 Richard Earnshaw (rearnsha@arm.com)
17441 * arm.h (CONDITIONAL_REGISTER_USAGE): If flag_pic, never use
17442 PIC_OFFSET_TABLE_REGNUM for general alloaction.
17443 (INITIAL_ELIMINATION_OFFSET): Count the fact that the PIC register
17444 must be stacked if it is used for PIC accesses.
17445 * arm.c (use_return_insn): Handle PIC register specially.
17446 (output_return_instruction): Likewise.
17447 (output_func_{prologue,epilogue}): Likewise.
17448 (output_expand_prologue): Likewise.
17450 * arm.md (*adddf_esfdf_df): Renamed from *adddf_df_esfdf.
17451 (*strsi_predec): Renamed from *strqi_predec.
17452 (*loadsi_shiftpreinc): Renamed from *loadqi_shiftpreinc.
17453 (*loadsi_shiftpredec): Renamed from *loadqi_shiftpredec.
17455 * arm.c (arm_override_options): Remove warning about PIC code
17456 not being supported.
17458 Fri Jun 18 23:47:06 1999 David Edelsohn <edelsohn@gnu.org>
17460 * rs6000.c (find_addr_reg): New function.
17461 * rs6000.h (find_addr_reg): Declare.
17462 (offsettable_addr_operand): Delete.
17463 * rs6000.md (movdf_hardfloat32): Handle non-offsettable loads
17464 from and stores to GPRs.
17466 Fri Jun 18 15:44:18 1999 Richard Henderson <rth@cygnus.com>
17468 * alpha.c (alpha_expand_block_move): Use get_insns rather than
17469 gen_sequence as argument to emit_no_conflict_block.
17471 Fri Jun 18 07:02 1999 Bruce Korb <ddsinc09@ix.netcom.com>
17473 * fixinc/mkfixinc.sh: enable the fixincl program for DG/UX
17474 * fixinc/inclhack.def(dgux_int_varargs): script must end with \n
17475 *fixinc/fixincl.x: regen
17476 *fixinc/inclhack.sh: regen
17478 Thu Jun 17 15:06:10 PDT 1999 Don Lindsay <dlindsay@cygnus.com>
17480 * added support for -mpcrel (PC relative addressing for m68k)
17481 based on code done by Michael Tiemann <tiemann@axon.cygnus.com>.
17482 * invoke.texi (m68000 options): Add documentation for -mpcrel flag.
17483 * m68k.c (print_operand_address): Handle 32-bit PIC case.
17484 (comments for general_src_operand): Add some explanation
17485 about EXTRA_CONSTRAINTS.
17486 (OVERRIDE_OPTIONS): Enable -fPIC in combination with -mpcrel.
17487 * m68kelf.h (OVERRIDE_OPTIONS): Ditto.
17488 (LEGITIMATE_PIC_OPERAND_P): Fix typo.
17489 (LEGITIMATE_PIC_OPERAND_P): Re-derive from m68k.h case.
17490 * m68k.h (LEGITIMATE_PIC_OPERAND_P): Fix delete-o.
17491 (INDIRECTABLE_1_ADDRESS): Delete spurious '/' at end of macro.
17492 (OVERRIDE_OPTIONS): Change behavior so that -mpcrel implies -fpic
17493 if not already set.
17494 (OVERRIDE_OPTIONS): Merge in changes from m68k.h.
17495 * m68k.h (TARGET_PCREL): New target flag.
17496 (TARGET_SWITCHES): Add "pcrel" as a recognized switch.
17497 (OVERRIDE_OPTIONS): Add checks for -mpcrel.
17498 (LEGITIMATE_PIC_OPERAND_P): Don't normally accept anything that
17499 contains a SYMBOL_REF. Relax this constraint during reload, since
17500 we want to use the predicates, not reload's built-in concept of a
17501 valid memory address, to control what insns need reloading.
17502 (EXTRA_CONSTRAINT): Define constraints to accept pc-relative
17503 operands (essentially 'g', 'm', and 's' under normal circumstances).
17504 * m68k.c (print_operand): Cause printing of pc-relative addresses
17505 to include pc register.
17506 (print_operand_address): Ditto.
17507 (general_src_operand): Accept operands that are not only
17508 general_operands, but are also valid when used as a pc-relative
17510 (nonimmediate_src_operand): Similar, for nonimmediate_operands.
17511 (memory_src_operand): Similar, for memory_operands.
17512 (pcrel_address): New predicate to accept the special case of a
17513 pc-relative address.
17514 * m68k.md (many patterns): Rewrite common SImode, HImode, and
17515 QImode insns to accept *_src_operand instead of *_operand where
17516 pc-relative operands can fit. For example, a pc-relative operand
17517 can be used as a memory source operand for addsi3, but not as a
17518 memory destination.
17519 * hp320.h linux.h m68kv4.h (LEGITIMATE_PIC_OPERAND_P) as in m68k.h.
17521 Fri Jun 18 09:11:07 1999 Nick Clifton <nickc@cygnus.com>
17523 * config/arm/telf.h (ASM_OUTPUT_DEF_FROM_DECLS): New Marco: USe
17524 .thumb_set pseudo op to mark aliases of thumb functions.
17526 Wed Jun 16 18:19:13 1999 Nick Clifton <nickc@cygnus.com>
17528 * varasm.c (assemble_alias): Use ASM_OUTPUT_DEF_FROM_DECLS in
17529 preference to ASM_OUTPUT_DEF, if it is defined.
17531 * tm.texi: Document new, optional target macro
17532 ASM_OUTPUT_DEF_FROM_DECLS.
17534 Thu Jun 17 15:07 1999 Bruce Korb <ddsinc09@ix.netcom.com>
17536 * fixincludes: ISCNTL patch
17537 * fixinc/inclhack.def (ioctl_fix_ctrl): Fix the definition of [_]*ISCTRL().
17538 (dgux_int_varargs): new for DG/UX
17539 * fixinc/{fixincl.x,inclhack.sh}: Regenerated.
17541 Thu Jun 17 21:34:24 1999 Jeff Law <law@cygnus.com>
17543 * invoke.texi (ia32 options): Fix typo.
17545 Thu Jun 17 21:34:24 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
17547 * loop.c (strength_reduce): When doing biv->giv conversion, update
17548 reg note of NEXT->insn.
17550 Thu Jun 17 14:25:08 1999 Jeffrey A Law (law@cygnus.com)
17552 * loop.c (move_movables): Note issues with replacing REGs with
17554 * mips.h (GO_IF_LEGITIMATE_ADDRESS): Handle SUBREGs properly.
17556 Thu Jun 17 13:28:30 1999 David O'Brien <obrien@FreeBSD.org>
17558 * i386/freebsd-elf.h (LINK_SPEC): Fix typo.
17560 * i386/freebsd-elf.h (FUNCTION_PROFILER): labels are not needed and
17561 the reference to `mcount' was not correct for the ELF on FreeBSD.
17563 Thu Jun 17 17:22:07 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
17565 * loop.c (strength_reduce): When doing biv->giv conversion, fix up
17568 (recombine_givs): Set ix field after sorting.
17570 Thu Jun 17 02:54:30 1999 Jeffrey A Law (law@cygnus.com)
17572 * emit-rtl.c (operand_subword): Tighten checks for when it is safe
17573 to safe to extract a subword out of a REG.
17575 Thu Jun 17 01:45:24 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
17577 * sh.md (mulsi3): Don't add a no-op move at the end.
17579 Wed Jun 16 20:29:00 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
17581 * cse.c (cse_insn): Don't put hard register source into tables for
17582 the last insn of a libcall.
17584 Wed Jun 16 19:44:33 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
17586 * loop.c (strength_reduce): Insert sets of derived givs at every
17587 biv increment, even if it's the only one.
17589 Wed Jun 16 10:33:02 1999 Jason Merrill <jason@yorick.cygnus.com>
17591 * dwarfout.c (add_incomplete_type): New fn.
17592 (output_type): Call it.
17593 (retry_incomplete_types): New fn.
17594 (dwarfout_finish): Call it.
17596 From Eric Raskin <ehr@listworks.com>:
17597 (output_type): Output types for bases.
17599 Tue Jun 15 12:51:23 1999 Alexandre Oliva <oliva@dcc.unicamp.br>
17601 * mips.c (mips_output_conditional_branch): Add `break'
17602 between `default' label and `close braces'.
17604 Tue Jun 15 01:55:20 1999 David O'Brien <obrien@FreeBSD.org>
17606 * i386/freebsd-elf.h (LINK_SPEC): clean up the linking library
17607 specifications and make it realistic.
17608 (LIB_SPEC): Likewise.
17610 Mon Jun 14 15:38:43 1999 Jim Wilson <wilson@cygnus.com>
17612 * config/mips/mips.c (mips_secondary_reload_class): Check for
17613 (PLUS (SP) (REG)) and return appropriate register class.
17614 * config/mips/mips.md (reload_insi): Delete predicate for operand 1.
17615 Handle (PLUS (SP) (REG)).
17616 (tablejump): In mips16 code, use emit_insn instead of emit_jump_insn.
17617 (tablejump_mips161, tablejump_mips162): Use emit_jump_insn instead
17618 of emit_insn for tablejump.
17620 Mon Jun 14 17:26:40 1999 David Edelsohn <edelsohn@gnu.org>
17622 * rs6000.c (output_prolog): RS6000_CALL_GLUE must be
17623 asm_fprintf format string by itself.
17624 (output_function_profiler): Likewise.
17626 Mon Jun 14 12:57:38 1999 David Mosberger <davidm@hpl.hp.com>
17628 * combine.c (simplify_logical, case AND): Only call
17629 simplify_and_const_int if the mode is no wider than HOST_WIDE_INT
17630 or the constant is positive.
17632 Mon Jun 14 11:43:41 1999 Nick Clifton <nickc@cygnus.com>
17634 * configure.in: Fix typo in rs6000-ibm-aix4 case.
17635 * configure: Regenerate.
17637 Mon Jun 14 03:55:40 1999 Jeffrey A Law (law@cygnus.com)
17639 * configure.in (rs6000-ibm-aix4.3*, powerpc-ibm-aix4.3*): Do not
17640 require a sub-version #.
17641 * configure: Rebuilt.
17643 1999-06-14 Robert Lipe (robertlipe@usa.net)
17645 * svr4.h (DWARF2_DEBUGGING_INFO): Check for redefinition.
17647 Mon Jun 14 10:30:52 BST 1999 Nathan Sidwell <nathan@acm.org>
17649 * c-typeck.c (process_init_element): Detect excess elements in
17650 char array initializer.
17652 1999-06-14 Andreas Jaeger <aj@arthur.rhein-neckar.de>
17654 * gcc.texi: Mention gcc 2.96 instead of egcs 1.00.
17656 Sat Jun 12 22:29:48 EDT 1999 Jerry Quinn <jquinn@nortelnetworks.com>
17658 * invoke.texi (Option Summary): Add -fpermissive flag.
17660 Sat Jun 12 03:40:42 1999 Jeffrey A Law (law@cygnus.com)
17662 * sparc.h (LEGITIMIZE_RELOAD_ADDRESS): Do nothing with operands
17663 that require PIC code sequences.
17665 Wed Jun 9 16:29:01 1999 Nick Clifton <nickc@cygnus.com>
17667 * configure.in: Add new target: thumb-elf.
17668 * configure: Regenerate.
17669 * config/arm/t-thumb-elf: New file: Makefile fragment for
17671 * config/arm/telf.h: New file: Header file for thumb-elf
17674 Fri Jun 11 03:17:51 1999 Jeffrey A Law (law@cygnus.com)
17676 * Makefile.in (libgcc2): Pass MAYBE_USE_COLLECT2 as an argument.
17677 * libgcc2.c (__CTOR_LIST, __DTOR_LIST); Do not provide
17678 initializers is some circumstances.
17680 * fixinc/inclhack.def (endif_label): Add additional selector for
17681 more bogus stuff after #endif statements.
17682 * fixinc/inclhack.sh, fixinc/fixincl.x: Rebuilt.
17684 Thu Jun 10 20:44:36 1999 Mumit Khan <khan@xraylith.wisc.edu>
17686 * i386/cygwin.h (SET_ASM_OP): Define.
17688 Thu Jun 10 20:37:57 1999 Mumit Khan <khan@xraylith.wisc.edu>
17690 * reg-stack.c (stack_reg_life_analysis): Find all the RETURN insns.
17692 Thu Jun 10 19:23:00 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
17694 * sh.h (TARGET_HARWARD, TARGET_HARVARD): Changed the former to the
17697 * sh.md (ic_invalidate_line_i): Remove second alternative.
17699 Thu Jun 10 06:55 1999 Bruce Korb <ddsinc09@ix.netcom.com>
17701 *fixinc/inclhack.def(sun_auth_proto): We do not know how to
17702 test for the presence of valid prototypes. Delete bypass expr.
17703 (ioctl_fix_ctrl): Correct the selection expression.
17704 (no_double_slash): Correct quoting rules
17705 *fixinc/fixincl.x: regen
17706 *fixinc/inclhack.sh: regen
17708 Thu Jun 10 15:08:15 1999 Nick Clifton <nickc@cygnus.com>
17710 * config/arm/arm.c (struct all_cores): Add ARM920 and ARM920t.
17712 Wed Jun 9 15:57:57 1999 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
17714 * rs6000.md (movsi_got_internal_mem): Delete.
17715 * rs6000.h (CONDITIONAL_REGISTER_USAGE): Mark PIC_OFFSET_TABLE_REGNUM.
17716 (GOT_TOC_REGNUM): Delete.
17717 (PIC_OFFSET_TABLE_REGNUM): Define.
17718 (FINALIZE_PIC): Disable.
17719 * rs6000.c (rs6000_got_register): New code for fixed pic register.
17720 (rs6000_replace_regno): Delete.
17721 (rs6000_finalize_pic): Likewise.
17722 (output_prolog): Handle PIC_OFFSET_TABLE_REGNUM.
17724 Wed Jun 9 19:44:26 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
17726 * loop.c (loop_insn_first_p): Don't compare LUIDs when P
17727 is a note; use <= for the compare; advance P while it is
17730 Wed Jun 9 13:12:24 1999 Jeffrey A Law (law@cygnus.com)
17732 * fixinc/inclhack.def (no_double_slash): Fix quoting for test.
17733 * fixinc/inclhack.sh, fixinc/fixincl.x, fixinc/fixincl.sh; Rebuilt.
17735 * varasm.c (remove_from_pending_weak_list): Verify t->name
17736 is non-NULL before passing it to strcmp.
17738 Wed Jun 9 06:50 1999 Bruce Korb <ddsinc09@ix.netcom.com>
17740 *fixinc/inclhack.def(sun_auth_proto): bypass the patch if
17741 the typed arguments are not part of a comment
17742 (ioctl_fix_ctrl): Added a purpose comment
17743 *fixinc/fixincl.x: regenerate
17744 *fixinc/inclhack.sh: regenerate
17746 Wed Jun 9 22:57:02 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
17748 * invoke.texi: Add C4x invocation docs.
17750 Wed Jun 9 22:34:38 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
17752 * config/c4x/c4x.h (TARGET_EXPOSE_LDP, LEGITIMIZE_RELOAD_ADDRESS):
17754 * config/c4x/c4x.c (c4x_emit_move_sequence, src_operand): Use
17756 (c4x_legitimize_reload_address): New function.
17757 * config/c4x/c4x.md: Update docs.
17759 Wed Jun 9 04:14:48 1999 Jeffrey A Law (law@cygnus.com)
17761 * fixincludes: Avoid removing '.'.
17762 * fixinc/fixinc.svr4: Likewise.
17763 * fixinc/fixinc.winnt: Likewise.
17764 * fixinc/inclhack.tpl: Likewise.
17765 * fixinc/fixincl.sh, fixinc/inclhack.sh: Rebuilt.
17767 1999-06-09 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
17769 * fixinc/inclhack.def (sun_catmacro): Escape parens in the select
17771 * fixinc/fixincl.x, fixinc/inclhack.sh: Rebuilt.
17773 Wed Jun 9 03:10:34 1999 Mumit Khan <khan@xraylith.wisc.edu>
17775 * c-pragma.c (handle_pragma_token): Handle `#pragma pack()'
17778 Tue Jun 8 13:06:15 1999 Jim Wilson <wilson@cygnus.com>
17780 * configure.in (rs6000-ibm-aix4.[12]*): Change rx6000 to rs6000.
17781 * configure: Regenerate.
17783 Tue Jun 8 05:47:48 1999 Richard Earnshaw (rearnsha@arm.com)
17785 * optabs.c (expand_cmplxdiv_wide): Use expand_abs to get the absolute
17788 Mon Jun 7 22:30:37 1999 Jeffrey A Law (law@cygnus.com)
17790 * fixinc/inclhack.def (avoid_bool): Also catch
17791 "typedef [unsigned] int bool".
17792 * fixinc/inclhack.sh, fixinc/fixincl.x, fixinc/fixincl.sh: Rebuilt.
17794 * m68k/x-hp3bsd44: Delete obsolete and incorrect file.
17795 * configure.in (m68k-hp-bsd4.4): No longer use x-hp3bsd44.
17796 * configure: Rebuilt.
17798 Mon Jun 7 22:05:03 1999 Mark Kettenis <kettenis@gnu.org>
17800 * config/i386/gnu.h: Include <gnu.h> right after <i386/linux.h>,
17801 such that we can override its definitions if necessary.
17802 (CPP_SPEC): New define. Support processor specific predefines via
17804 (CC1_SPEC): New define. Support processor specific compiler
17805 options via %(cc1_cpu).
17806 (STARTFILE_SPEC): New define. Use crt0.o instead of crt1.o for
17809 1999-06-07 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
17811 * fixinc/inclhack.def (math_gcc_ifndefs): Insert whitespace
17812 between sed's -e flag, and the open-quote following it.
17813 * fixinc/fixincl.x, fixinc/fixincl.sh: Rebuilt.
17815 Mon Jun 7 20:34:20 1999 Robert Lipe <robertlipe@usa.net>
17816 Jeffrey A Law (law@cygnus.com)
17818 * varasm.c (assemble_start_function): Remove the function
17819 from the pending weak decls list when we define a function.
17820 (assemble_variable): Similarly for variables.
17821 (weak_finish): Ignore items on the list with a NULL name.
17822 (remove_from_ending_weak_list); New function to "remove" an item
17823 from the pending weak declarations list.
17825 Mon Jun 7 19:27:07 1999 Jerry Quinn <jquinn@nortelnetworks.com>
17827 * pa.md (fmpyfadd, fmpynfadd, fnegabs): New patterns.
17829 Mon Jun 7 14:07:39 1999 Dave Brolley <brolley@cygnus.com>
17831 * c-lex.c (GETC): Redefine to call getch.
17832 (UNGETC): Redefine to call put_back.
17833 (putback_buffer): New structure type.
17834 (putback): New static structure.
17835 (getch): New function.
17836 (put_back): New function.
17837 (yylex): Replace unused bytes from bad multibyte character.
17839 Mon Jun 7 13:33:39 1999 Dave Brolley <brolley@cygnus.com>
17841 * cpplib.c (do_define): Cast `alloca' return value.
17842 (do_include, do_undef, do_pragma): Likewise.
17843 * cpphash.c (dump_definition): Cast `xstrdup' and `alloca' return
17845 * cppfiles.c (initialize_input_buffer): Cast `xmalloc' return values.
17846 * gcc/cppspec.c (lang_specific_driver): Cast xmalloc return value.
17848 Sun Jun 6 11:58:34 1999 Jakub Jelinek <jj@ultra.linux.cz>
17850 * sparc.md (abstf2): This should be an expand.
17851 (split after abstf2_notv9): Fix mode.
17852 (abstf2_hq_v9): New pattern.
17853 (abstf2_v9): Only use when no hard quad.
17854 (absdf2_v9): Fix if target is not the same as source.
17855 (ashrsi3_extend, ashrsi3_extend2, lshrsi3_extend, lshrsi3_extend2):
17856 Add correct output constraints.
17858 Sat Jun 5 17:04:16 1999 Craig Burley <craig@jcb-sc.com>
17860 From Dave Love to egcs-patches on 20 May 1999 17:38:38 +0100:
17861 * invoke.texi: Clarify text vis-a-vis Intel CPUs.
17863 Sat Jun 5 12:11:24 1999 Mark Mitchell <mark@codesourcery.com>
17865 * mips.h (mips_output_conditional_branch): New function.
17866 (mips_adjust_insn_length): Likewise.
17867 (ASSEMBLER_SCRATCH_REGNUM): New macro.
17868 (ADJUST_INSN_LENGTH): Likewise.
17869 * mips.c (print_operand): Add `F' and `W' for floating-point
17870 comparison opcodes.
17871 (machine_dependent_reorg): Adjust MIPS16 code; instruction-lengths
17873 (mips_adjust_insn_length): New function.
17874 (mips_output_conditional_branch): New function.
17875 * mips.md (length): Adjust attribute definition to handle
17876 conditional branches. Change lengths to bytes, rather than
17877 instructions throughout. Remove length attribute from
17878 instructions whose length is four bytes, and rely on the default
17880 (dslot): Fix typo in comment.
17881 Reword conditional branch patterns to use
17882 mips_output_conditional_branch.
17884 Fri Jun 4 13:30:27 1999 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
17886 * alpha/osf.h (CPP_SUBTARGET_SPEC): Handle -threads.
17887 (LIB_SPEC): Likewise.
17888 Link with -lprof1_r for -g/-pg.
17890 1999-06-04 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
17892 * loop.c (check_dbra_loop): Fix change of Jan 19.
17894 Fri Jun 4 00:12:40 1999 Marc Espie <espie@cvs.openbsd.org>
17896 * freebsd-elf.h (SWITCH_TAKES_ARG): Redefine, not define.
17897 (STARTFILE_SPEC): Define, override the svr4.h version.
17898 (ENDFILE_SPEC): Likewise.
17900 Thu Jun 3 23:58:55 1999 Jeffrey A Law (law@cygnus.com)
17902 * fixinc/inclhack.def (limits_ifndefs): Also apply to sys/limits.h
17903 * fixinc/fixincl.x: Regenerated.
17904 * fixinc/inclhack.sh: Regenerated.
17906 Fri Jun 4 05:42:23 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
17908 * sh.c (barrier_align): Don't return early for normal branch/barrier
17909 when optimizing for SH2.
17911 Thu Jun 3 22:27:50 1999 Robert Lipe <robertlipe@usa.net>
17913 * i386/udk.h (LINK_SPEC): Correct linker search path for
17916 Fri Jun 4 03:20:40 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
17918 * sh.c (fixup_addr_diff_vecs): Emit braf reference label.
17919 (braf_label_ref_operand): Delete.
17920 * sh.h (PREDICATE_CODES): Remove braf_label_ref_operand.
17921 * sh.md (casesi_jump_2): Operand1 is now the inside of a
17922 label_ref, and has no predicate.
17923 The patten has a predicate to guard against invalid substitutions.
17924 (dummy_jump): Delete.
17925 (casesi): Update use of casesi_jump_2.
17927 Thu Jun 3 07:48 1999 Bruce Korb <ddsinc09@ix.netcom.com>
17929 *fixinc/inclhack.def(Io_Def_Quotes): corrected sed expression
17930 *fixinc/fixincl.x: regenerate
17931 *fixinc/inclhack.sh: regenerate
17933 Thu Jun 3 02:15:07 1999 Jason Merrill <jason@yorick.cygnus.com>
17935 * dwarf2out.c (add_incomplete_type): New fn.
17936 (gen_struct_or_union_type_die): Call it.
17937 (retry_incomplete_types): New fn.
17938 (dwarf2out_finish): Call it.
17940 Thu Jun 3 01:19:03 1999 Jeffrey A Law (law@cygnus.com)
17942 * gcse.c (insert_insn_end_bb): Correct placement of insns when the
17943 current block starts with a CODE_LABEL and ends with a CALL and
17944 we can not find all the argument setup instructions for the CALL.
17946 Wed Jun 2 15:44:15 1999 Mark Mitchell <mark@codesourcery.com>
17948 Revert this change:
17949 * fold-const.c (fold): STRIP_NOPS when deciding whether or not
17950 something is a candidate for optimize_bit_field_compare.
17952 Wed Jun 2 21:53:05 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
17954 * sh.h (CONST_OK_FOR_I, CONST_OK_FOR_L): Cast VALUE to HOST_WIDE_INT.
17956 Wed Jun 2 12:25:55 1999 Richard Henderson <rth@cygnus.com>
17958 * alpha.c (override_options): Thinko in last patch.
17960 * alpha/osf.h (CPP_SUBTARGET_SPEC): Define.
17961 (LIB_SPEC): Recognize -pthread.
17963 Wed Jun 2 08:42:55 1999 Nick Clifton <nickc@cygnus.com>
17965 * config/arm/tcoff.h (USER_LABEL_PREFIX): Synchronise with
17966 definition in config/arm/coff.h
17967 * config/arm/coff.h: Add comment about USER_LABEL_PREFIX.
17969 Wed Jun 2 07:07 1999 Bruce Korb <ddsinc09@ix.netcom.com>
17971 * fixinc/fixincl.c(global def): Add FD_SHELL_SCRIPT to mark
17972 fixes that need "file=xxx\n" prepended before invocation
17973 (start_fixer - new): starting the fixer process is complex enough
17974 to warrent its own routine. It prepends the "file=xxx\n" stuff.
17975 (process): uses the new routine; omit usage of putenv()
17976 * fixinc/fixincl.tpl: mark shell scripts with FD_SHELL_SCRIPT
17977 * fixinc/fixincl.x: regenerate
17979 Wed Jun 2 02:29:07 1999 Jeffrey A Law (law@cygnus.com)
17981 * README, configure.in, gcc.1, gcc.texi: Update name (egcs -> gcc)
17982 and version #s (1.1 -> 2.96) as needed.
17983 * README.g77: Kill way out of date file in the toplevel directory.
17985 Wed Jun 2 00:52:34 1999 David O'Brien <obrien@FreeBSD.org>
17987 * configure.in (i[34567]86-*-freebsdelf): Don't include linux.h,
17988 i386/freebsd-elf.h no longer requires it. Instead include svr4.h.
17989 * configure: Rebuilt.
17990 * i386/freebsd-elf.h (DEFAULT_VTABLE_THUNKS): Define.
17991 (ASM_COMMENT_START, ASM_APP_ON, ASM_APP_OFF, SET_ASM_OP): Likewise.
17992 (PREFERRED_DEBUGGING_TYPE, WCHAR_UNSIGNED): Likewise.
17993 (SWITCH_TAKES_ARG): Likewise.
17994 * i386/freebsd.h: Remove FREEBSD_NATIVE support.
17995 * config/t-freebsd: Moved from config/i386/ so it can used for all
17998 Mon May 31 02:22:55 1999 Philippe De Muyter <phdm@macqel.be>
18000 * m68k/x-mot3300 (XCFLAGS): Fixed to match stb.o, not f/stb.o.
18002 Wed Jun 2 00:08:34 1999 Robert Lipe <robertlipe@usa.net>
18004 * configure.in (i[34567]86-*-udk*): Install headers with cpio.
18005 * configure: Rebuilt.
18007 Tue Jun 1 19:06:22 1999 David Edelsohn <edelsohn@gnu.org>
18009 * rs6000/aix41.h (RS6000_CALL_GLUE): Define.
18010 * rs6000/aix43.h (RS6000_CALL_GLUE): Likewise.
18011 * rs6000/rs6000.c (rs6000_file_start): Use putc.
18012 (rs6000_output_load_toc_table): Same.
18013 (output_prolog, output_mi_thunk): Same.
18014 * rs6000/rs6000.h (SELECT_SECTION): Formatting.
18015 (ASM_GLOBALIZE_LABEL): Use putc.
18017 Mon May 31 15:23:23 1999 Richard Henderson <rth@cygnus.com>
18019 * alpha.md (reload_*_help): New patterns and splitters.
18020 (reload_*): Use them.
18021 (mov[qh]i): Likewise.
18023 Mon May 31 11:48:07 1999 Mark Mitchell <mark@codesourcery.com>
18025 * cccp.c (handle_directive): Handle backslash-newlines in quoted
18028 Mon May 31 09:36:11 1999 Cort Dougan <cort@cs.nmt.edu>
18030 * rs6000/linux.h (LINK_SPEC): Use emulation elf32ppclinux.
18032 Mon May 31 11:40:20 EDT 1999 John Wehle (john@feith.com)
18034 * flow.c (mark_regs_live_at_end, insn_dead_p,
18035 mark_set_1, mark_used_regs): Only give FRAME_POINTER_REGNUM
18036 and HARD_FRAME_POINTER_REGNUM special treatment if reload
18037 hasn't run or the frame pointer is needed.
18038 * haifa-sched.c (attach_deaths): Likewise.
18039 * sched.c (attach_deaths): Likewise.
18041 Mon May 31 00:46:17 1999 Jeffrey A Law (law@cygnus.com)
18043 * jump.c (jump_optimize_1): Only set CAN_REACH_END if
18044 calculate_can_reach_end returns nonzero.
18046 * configure.in (native gas tests): Search for an assembler in the
18047 same manner that the installed compiler will.
18048 * configure: Rebuilt.
18049 * tm.texi (MD_EXEC_PREFIX): Note need to update configure.in too.
18051 * alias.c (find_base_term): Improve handling of addresses
18052 constructed from binary operations.
18054 Sun May 30 14:29:17 1999 Eric Raskin (ehr@listworks.com)
18056 * dgux.h (STARTFILE_SPEC): Fix incorrectly matched curly-braces.
18058 Sun May 30 14:19:13 1999 Jeffrey A Law (law@cygnus.com)
18060 * function.h (cleanup_label, frame_offset): Declare.
18061 (tail_recursion_label, tail_recursion_reentry): Likewise.
18062 (arg_pointer_save_area, rtl_expr_chain): Likewise.
18063 * stmt.c (cleanup_label, frame_offset): Delete extern declarations.
18064 (tail_recursion_label, tail_recursion_reentry): Likewise.
18065 (arg_pointer_save_area, rtl_expr_chain): Likewise.
18067 Sat May 29 19:08:10 1999 Philip Blundell <philb@gnu.org>
18069 * config/arm/aout.h (ASM_OUTPUT_ALIGN): Only define if not already
18071 * config/arm/elf.h (ASM_OUTPUT_ALIGN): Define.
18072 (MAX_OFILE_ALIGNMENT): Define.
18074 Fri May 28 21:40 1999 Robert Lipe <robertlipe@usa.net>
18076 * fixincl.c: Replace local include scheme with #includes of
18077 gansidecl.h and system.h.
18078 * procopen.c: Likewise.
18079 * server.c: Likewise.
18081 Fri May 28 03:47:03 1999 Eric Raskin (ehr@listworks.com)
18083 * i386/t-dgux (EXTRA_PARTS): Add crti.o
18084 (crti.o): Add build rule and dependencies.
18085 * fixinc/fixinc.dgux: Use modified _int_varargs.h
18087 Fri May 28 03:41:02 1999 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
18089 * rs6000/sysv4.h (CC1_SPEC): Add support for -profile
18090 (LIB_LINUX_SPEC): Likewise.
18091 (LIB_LINUX_SPEC): Add support for -pthread
18092 (CPP_OS_LINUX_SPEC): Likewise.
18093 (CPP_SYSV_SPEC): Avoid redefinitions if both -fpic and -fPIC are
18096 Thu May 27 13:04:52 1999 H.J. Lu (hjl@gnu.org)
18098 * i386.c (output_fp_cc0_set): Don't check the JUMP_INSN code for
18100 (notice_update_cc, output_float_compare): Enable TARGET_CMOVE support.
18101 (output_float_compare, output_fp_cc0_set): Fix the FLOAT comparison
18102 for IEEE math and CC_FCOMI.
18103 (put_jump_code): No IEEE if CC_FCOMI is set.
18105 1999-05-27 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
18107 * fold-const.c (fold_truthop): Make the field reference unsigned
18108 when converting a single bit compare.
18110 Thu May 27 02:40:48 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
18112 * loop.c (strength_reduce): Don't do biv->giv conversion on constants.
18114 Thu May 27 02:09:27 1999 Jeffrey A Law (law@cygnus.com)
18116 * varasm.c (STRIP_NAME_ENCODING): Remove default definition.
18117 * output.h (STRIP_NAME_ENCODING): Strip '*' like the old varasm
18120 * reload.c (push_reload): Do not call remove_address_replacements
18121 when presented with identical optional reloads.
18123 Wed May 26 14:18:05 1999 Richard Henderson <rth@cygnus.com>
18125 * alpha.h (MASK_FIX, TARGET_FIX): New.
18126 (MASK_*): Reorganize constants.
18127 (CPP_AM_FIX_SPEC): New.
18128 (TARGET_SWITCHES): Add FIX.
18129 (EXTRA_SPECS): Likewise.
18130 (CPP_CPU_EV6_SPEC): Use FIX, not CIX.
18131 (SECONDARY_MEMORY_NEEDED): Likewise.
18132 (REGISTER_MOVE_COST): Likewise.
18133 * alpha.c (override_options): Add FIX support. Always use
18134 ALPHA_TP_PROG for ev6.
18135 * alpha.md (sqrt and mov[sd]i patterns): Use FIX, not CIX.
18136 * alpha/elf.h (ASM_FILE_START): Look at FIX too.
18137 * configure.in (target_cpu_default2) [ev6]: Use FIX, not CIX.
18139 Wed May 26 09:53:05 1999 Mark Mitchell <mark@codesourcery.com>
18141 * fold-const.c (fold): STRIP_NOPS when deciding whether or not
18142 something is a candidate for optimize_bit_field_compare.
18144 Wed May 26 09:40:02 1999 Mark Mitchell <mark@codesourcery.com>
18146 * gcc.texi (Passes): Document branch-shortening.
18147 * invoke.texi (Debugging Options): Document the fact that `-dp'
18148 outputs length information for instructions.
18150 Wed May 26 08:49:31 1999 Nick Clifton <nickc@cygnus.com>
18152 * flow.c: Revert previous delta.
18154 Wed May 26 06:05:10 1999 Nick Clifton <nickc@cygnus.com>
18156 * flow.c (insn_dead_p): Check against frame_pointer_rtx not
18157 FRAME_POINTER_REGNUM.
18158 (mark_set_1): Ditto.
18159 (mark_used_regs): Ditto.
18161 Wed May 26 02:19:31 1999 Philip Blundell <pb@nexus.co.uk>
18163 * arm.h (NEED_PLT_GOT): Fix mistake in last change.
18164 (GOT_PCREL): New macro. Define to 1 if not already defined.
18165 * arm/elf.h (GOT_PCREL): Define to 0.
18166 * arm.c (arm_finalize_pic): Take into account the setting of
18169 Tue May 25 14:06:06 1999 Jeffrey A Law (law@cygnus.com)
18171 * output.h (STRIP_NAME_ENCODING): Provide default definition.
18172 * dwarf2out.c (ASM_NAME_TO_STRING): Use STRIP_NAME_ENCODING.
18174 * flow.c (mark_set_1): Do not record BLKmode stores as dead
18175 store elimination candidates.
18177 Tue May 25 08:55:57 1999 Gavin Romig-Koch <gavin@cygnus.com>
18179 * config/mips/mips.h (ASM_OUTPUT_DOUBLE_INT) : Use 'dword' if
18182 Mon May 24 20:30:08 1999 Jim Wilson <wilson@cygnus.com>
18184 * configure.in (rs6000-ibm-aix4.[12]*): Delete use of aix41-gld.h.
18185 Add use of x-aix41-gld.
18187 Mon May 24 16:44:09 1999 Jakub Jelinek <jj@ultra.linux.cz>
18189 * sparc/linux64.h (ASM_OUTPUT_CONSTRUCTOR): Define.
18190 (ASM_OUTPUT_DESTRUCTOR): Define.
18192 Mon May 24 14:35:24 1999 Jeffrey A Law (law@cygnus.com)
18194 * loop.c (strength_reduce): Do not clear NOT_EVERY_ITERATION at the
18195 last CODE_LABEL in a loop if we have previously passed a jump
18196 to the top of the loop.
18198 Mon May 24 07:56:29 1999 Nick Clifton <nickc@cygnus.com>
18200 * config/arm/arm.h (OUTPUT_INT_ADDR_CONST): Fix blunder made when
18201 applying Philip's patch.
18203 Mon May 24 01:02:12 1999 Mark Mitchell <mark@codesourcery.com>
18205 * stmt.c (expand_end_bindings): Ignore any elements of VARS that
18208 Sun May 23 20:31:16 1999 Jeffrey A Law (law@cygnus.com)
18210 * loop.c (strength_reduce): Grow reg_single_usage as needed.
18212 Sun May 23 10:13:20 1999 David O'Brien <obrien@FreeBSD.org>
18214 * i386/freebsd-elf.h (LINK_SPEC): Change -static to -Bstatic.
18215 Also remove a useless comment.
18217 Sun May 23 10:05:23 1999 Jerry Quinn <jquinn@nortelnetworks.com>
18219 * pa.md (negdf2,negsf2): Use fneg instead of fsub on pa 2.0.
18221 Sat May 22 21:02:06 1999 David Edelsohn <edelsohn@gnu.org>
18223 * collect2.c (main): Only generate import or export file and add
18224 to link arguments if non-empty. Use xmalloc not alloca.
18225 (write_{export,import}_file): Delete.
18226 (write_aix_file): New function.
18227 (locatelib): Use xmalloc not malloc.
18228 (GCC_OK_SYMBOL): Do not check type if aix64.
18230 Sat May 22 09:35:51 1999 Philip Blundell <pb@nexus.co.uk>
18232 Based on patch by Scott Bambrough and Pat Beirne:
18233 * config/arm/arm.c (making_const_table): New variable.
18234 * config/arm/arm.h (making_const_table): Declare.
18235 (OUTPUT_INT_ADDR_CONST): Mark symbols as position independent if
18237 * config/arm/arm.md (consttable_4, consttable_8, consttable_end):
18238 Keep track of when we are building the constant table.
18240 Sat May 22 09:34:22 1999 Philip Blundell <pb@nexus.co.uk>
18242 * config/arm/arm.c (arm_override_options): Fix erroneous warning
18245 Sat May 22 09:06:33 1999 Nick Clifton <nickc@cygnus.com>
18247 * config/arm/arm.h (NEED_PLT_GOT): Only define if not already
18250 Sat May 22 07:17:05 1999 Nick Clifton <nickc@cygnus.com>
18252 * tm.texi (FUNCTION_ARG): Correct description of a stack element
18255 Sat May 22 01:27:49 1999 Mark Mitchell <mark@codesourcery.com>
18257 * expr.h (lang_expand_constant): Guard with #ifdef TREE_CODE.
18259 Fri May 21 21:19:02 1999 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
18261 * rs6000.c (output_mi_thunk): Enable full support again.
18263 Fri May 21 20:09:52 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
18265 * sh.h (BRANCH_COST): Define.
18267 Thu May 20 10:00:42 1999 Stephen L Moshier <moshier@world.std.com>
18269 * Makefile.in (GCC_FOR_TARGET): Add -I$(build_tooldir)/include.
18271 Thu May 20 09:58:57 1999 Jan Hubicka <hubicka@freesoft.cz>
18273 * function.c (assign_stack_local): Align stack slot propertly.
18274 (assign_outer_stack_local): Likewise.
18276 Thu May 20 10:38:43 1999 Mark Mitchell <mark@codesourcery.com>
18278 * expr.h (lang_expand_constant): Declare.
18279 * toplev.c (lang_expand_constant): Define it.
18280 * varasm.c (output_constant): Use it.
18282 Thu May 20 11:28:53 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
18284 * optabs.c (expand_cmplxdiv_straight, expand_cmplxdiv_wide):
18285 Change function definitions to K&R style.
18287 Thu May 20 08:16:39 1999 Bruce Korb <ddsinc09@ix.netcom.com>
18289 * fixinc/fixincl.c: We must not ignore SIGCLD now.
18291 Thu May 20 07:06:39 1999 Alexandre Oliva <aoliva@acm.org>
18293 * fixinc/Makefile.in(gnu-regex.o): add $(INCLUDES) to compile options
18294 * fixinc/fixincl.c(wait_for_pid): K&R-ify arguments
18295 (several places): omit static initialization
18296 (process): use single fd, since only the read fd is used
18297 * fixinc/gnu-regex.c: define 'const' away, if not supported
18298 * fixinc/procopen.c(several places): omit static initialization
18299 * fixinc/server.c: define 'volitile' away, if not supported
18301 1999-05-20 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
18303 * config/dbxcoff.h (DBX_OUTPUT_MAIN_SOURCE_FILE_END): Use
18304 asm_fprintf and %L to generate the label name.
18305 * config/dbxelf.h (DBX_OUTPUT_MAIN_SOURCE_FILE_END): Likewise.
18306 (ASM_OUTPUT_SOURCE_LINE): Correct generation of internal labels.
18308 Thu May 20 01:40:55 1999 Jeffrey A Law (law@cygnus.com)
18310 * jump.c (can_reverse_comparison_p): Do not abort if the comparison
18311 insn for a conditional jump can not be found.
18313 Wed May 19 23:58:58 1999 Jeffrey A Law (law@cygnus.com)
18315 * mips.h (ENCODE_SECTION_INFO): Do not perform GP optimizations
18316 on variables in specific sections other than .sbss and .sdata.
18318 Wed May 19 03:56:56 1999 Mark Mitchell <mark@codesourcery.com>
18320 * stmt.c (expand_return): Call start_cleanup_deferral and
18321 end_cleanup_deferral around conditional code.
18323 Wed May 19 08:40:08 1999 Bruce Korb <ddsinc09@ix.netcom.com>
18325 * fixinc/fixincl.tpl: Avoid depending on ANSI C features for
18326 filename lists. Utilizes new "krstr" AutoGen function.
18327 * fixinc/fixincl.x: Rebuilt.
18329 Wed May 19 02:47:11 1999 Jan Hubicka (hubicka@freesoft.cz)
18331 * i386.c (output_float_compare): Avoid GNU-C extensions.
18333 Wed May 19 00:34:40 1999 Jeffrey A Law (law@cygnus.com)
18335 * version.c: Bump to distinguish mainline tree from the
18338 See ChangeLog.1 for earlier changes.