1 Wed 10 May 09:08:30 2000 Neil Booth <NeilB@earthling.net>
3 * cpplex.c (_cpp_lex_line): Maintain PREV_WHITESPACE flag
4 when removing escaped newlines. Reverse sense of test for
7 2000-05-09 Richard Henderson <rth@cygnus.com>
9 * flow.c (find_basic_blocks_1): Do not delete the first
10 bb_note we run across.
11 (create_basic_block): Use reorder_insns to move an existing
12 bb_note to the correct place.
14 2000-05-09 Richard Henderson <rth@cygnus.com>
16 * calls.c (expand_call): Increment currently_expanding_call
17 before calling optimize_tail_recursion.
19 Tue May 9 18:54:16 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
21 * reload1.c (reload_combine): Fix errors in last change.
23 2000-05-09 Zack Weinberg <zack@wolery.cumb.org>
25 * gcc.c (used_arg): Skip over a semicolon at the end of the
26 split-up loop; don't break out of it.
28 * Makefile.in (WARN_CFLAGS): Add -Wwrite-strings.
29 (tree.o): Depend on output.h.
31 * c-decl.c (pending_invalid_xref_file,
32 current_function_prototype_file): Constify.
33 (pushdecl): Constify a local char *.
34 (define_label): Constify filename parameter.
35 * c-lex.c (init_parse): Constify parameter and return value.
36 * c-typeck.c (c_expand_asm_operands): Constify filename parameter.
37 * c-tree.h: Update prototypes.
38 * c-parse.in: Constify filename member of %union, and if_stmt_file.
39 * c-parse.y, c-parse.c, c-parse.h, objc/objc-parse.y,
40 objc/objc-parse.c: Regenerate.
42 * dwarfout.c (dwarfout_init): Constify main_input_filename parameter.
43 * dwarfout.h: Update prototypes.
44 * expr.c (expand_expr): Constify a local char *.
45 * flags.h: Constify main_input_filename.
46 * function.c (expand_function_end): Constify filename parameter.
47 * genrecog.c (make_insn_sequence): Use a character array for
49 (main): Remove unused variables.
50 * input.h: Constify input_filename, main_input_filename, and
51 file_stack.name. Update prototypes.
52 * output.h: Declare first_global_object_name and
53 weak_global_object_name here, as const char *.
54 * stmt.c (expand_asm_operands): Constify filename parameter.
55 * toplev.c (compile_file, push_srcloc, debug_start_source_file):
56 Constify filename parameter.
57 (input_filename, main_input_filename): Constify.
58 * toplev.h: Update prototypes.
59 * tree.c: Include output.h. Don't declare
60 first_global_object_name or weak_global_object_name. Clean up string
61 bashing in get_file_function_name_long.
62 * tree.h (struct tree_decl): Constify filename member.
63 (input_filename): Constify.
65 * varasm.c (first_global_object_name, weak_global_object_name):
67 (assemble_start_function, assemble_variable): Clean up string bashing.
69 * gcc.c: Constify all spec-related strings initialized,
70 transitively, from string constants. Constify all strings
71 and string variables related to multilibs.
72 (set_spec, read_specs): Cast argument to free to PTR.
73 (used_arg): Do not modify multilib_matches. Use strncmp plus
74 length comparison to compare multilib switches.
75 * genmultilib: Constify everything declared in multilib.h.
77 Tue May 9 22:28:03 2000 Denis Chertykov <denisc@overta.ru>
79 * flow.c (flow_delete_insn): Use INSN_DELETED_P for marking insn
82 Tue May 9 20:52:43 2000 Denis Chertykov <denisc@overta.ru>
84 * config/avr/avr-protos.h (extra_constraint): change a type of
85 second argument from char to int to avoid warnings.
86 (asm_output_byte): Likewise.
88 * config/avr/avr.c (MAX_LD_OFFSET) New macro.
89 (initial_elimination_offset): Handle elimination from
90 FRAME_POINTER_REGNUM to STACK_POINTER_REGNUM.
91 (legitimate_address_p): Use MAX_LD_OFFSET.
92 (legitimize_address): Likewise.
93 (out_movqi_r_mr): Likewise.
94 (out_movhi_r_mr): Likewise, use `fatal_insn' instead of `fatal'.
95 (out_movsi_r_mr): Use MAX_LD_OFFSET.
96 (out_movsi_mr_r): Likewise.
97 (out_movqi_mr_r): Likewise.
98 (out_movhi_mr_r): Likewise.
99 (notice_update_cc): Correct CC for the ashrqi3 with the shift
100 count as CONST_INT != 6.
101 (ashlqi3_out): Coding style modifications. Run `fatal_insn' if
102 shift count is a CONSTANT_P, but not a CONST_INT.
103 (ashlhi3_out): Coding style modifications.
104 (ashlsi3_out): Likewise.
105 (ashrhi3_out): Likewise.
106 (ashrsi3_out): Likewise.
107 (lshrhi3_out): Likewise.
108 (lshrsi3_out): Likewise.
109 (ashrqi3_out): Generate shift for any known constant count without
110 scratch register. Run `fatal_insn' if shift count is a CONSTANT_P,
112 (lshrqi3_out): Coding style modifications. Run `fatal_insn' if
113 shift count is a CONSTANT_P, but not a CONST_INT.
114 (extra_constraint): change a type of
115 second argument from char to int to avoid warnings.
116 (asm_output_byte): Likewise.
117 (asm_file_end): Output size generated commands count as a hex
120 * config/avr/avr.h (RETURN_ADDR_RTX): New macro.
122 * config/avr/avr.md (addhi3): Fragment commented by &&0 is
124 (ashlqi3): Values of "length" attribute changed. Shift count
125 uses constraints 'n' instead of 'i'.
126 (ashrqi3): Likewise. Values of "cc" attribute changed. Generate
127 shifts without clobber register.
128 (lshrqi3): Shift count uses constraints 'n' instead of 'i'.
129 (call_insn): Correct test for which_alternative == 1 (was 0).
130 (call_value_insn): Likewise.
132 * config/avr/t-avr: Remove definition of FLOAT while generates
135 2000-05-09 Bruce Korb <bkorb@gnu.org>
137 * fixinc/check.tpl: Template for checking fixes
138 * fixinc/inclhack.def: Added 'test_text' for many fixes
139 disable hpux8_bogus_inlines on SCO
140 * fixinc/fixinc.sco: Oh, yes, we don't need this any more.
142 Tue May 9 16:30:27 MET DST 2000 Jan Hubicka <jh@suse.cz>
144 * calls.c (expand_call): Reorganize somewhat in order
145 to avoid unnecesary recalculation inside loop and make
146 tail call failure code cleaner.
148 Tue May 9 06:30:20 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
150 * alias.c (nonlocal_reference_p): Minor reformatting.
151 * reload.c (find_equiv_reg): Simplify logic for
152 CALL_INSN_FUNCTION_USAGE since can't have SUBREG or pseudos and
153 some some reformatting.
154 * reload1.c (reload_combine): Don't assume everything in
155 CALL_INSN_FUNCTION_USAGE is a REG and clean up code a bit.
157 2000-05-08 Richard Henderson <rth@cygnus.com>
159 * final.c (current_insn_predicate): New.
160 (final_scan_insn): Set it.
161 * output.h (current_insn_predicate): Declare.
163 * ifcvt.c (cond_exec_process_insns): New argument prob_val.
164 Attach it to call insns.
165 (cond_exec_process_if_block): Track probability for true and
167 (dead_or_predicable): Likewise.
169 * predict.c (PROB_NEVER, PROB_VERY_UNLIKELY): New.
170 (PROB_UNLIKELY, PROB_EVEN, PROB_LIKELY): New.
171 (PROB_VERY_LIKELY, PROB_ALWAYS): New.
172 (estimate_probability, expected_value_to_br_prob): Use them.
174 * config/ia64/ia64-protos.h (ia64_expand_prediction): Declare.
175 * config/ia64/ia64.c (ia64_print_operand_address): Handle 'j'.
176 (ia64_expand_prediction): New.
177 (emit_insn_group_barriers): Don't look at notes. Emit barriers
178 as needed after calls.
179 (ia64_epilogue_uses): Mark b0 used.
180 * config/ia64/ia64.md (beq_true, beq_false): Remove.
181 (bne_true, bne_false): Remove.
182 (eq_return, eq_not_return, ne_return, ne_not_return): Remove.
183 (br_true, br_false): New. Use predicate_operator and
184 ia64_expand_prediction.
185 (return_true, return_false): Likewise.
186 (call_internal): Use ia64_expand_prediction. Don't emit stop bit.
187 (call_internal1, call_value_internal): Likewise.
188 (call_value_internal1, call_multiple_values_internal1): Likewise.
190 * config/ia64/ia64.c (ia64_direct_return): Require frame size zero.
192 * config/ia64/ia64.md (extendsfdf2): Split only after reload.
194 2000-05-08 Richard Henderson <rth@cygnus.com>
196 * rtlanal.c (may_trap_p): Consider old-style and volatile
199 Mon May 8 17:16:48 2000 Jim Wilson <wilson@cygnus.com>
201 * config/ia64/ia64.h (RETURN_ADDR_RTX): Use COUNT not count.
203 2000-05-08 Richard Henderson <rth@cygnus.com>
205 * config/ia64/ia64.h (predicate_operator): Declare.
207 * config/ia64/ia64.md (extendsfdf2): Split the nop case out
210 * gensupport.c (process_rtx): Copy and post-process each member
211 of the define_insn rtvec individually.
213 Mon 8 May 22:17:35 2000 Neil Booth <NeilB@earthling.net>
215 * cpplex.c (spell_token): New function.
216 (TOKEN_LEN): Add 1 for whitespace.
217 (_cpp_lex_file): Update to use spell_token.
218 * cpplib.h (E): Remove.
219 (TTYPE_TABLE): Update CPP_VSPACE entry.
221 2000-05-08 Richard Henderson <rth@cygnus.com>
223 * flow.c (init_propagate_block_info): Watch out for conditional
224 branch to next instruction, and thus one outgoing edge.
226 * config/ia64/ia64.c (ia64_encode_section_info): Exit early
227 for global register variables; don't special case __[CD]TOR_LIST__;
228 mind ggc_p for string allocation.
230 2000-05-08 Nick Clifton <nickc@cygnus.com>
232 * config/i386/i386.h (ELIMINABLE_REGS): Fix comment.
234 2000-05-08 Bruce Korb <bkorb@gnu.org>
236 * fixinc/mkfixinc.sh: fixinc.sco is no longer used
237 i?86-*-msdosdjgpp* no longer uses fixincludes
238 * fixinc/genfixes: inclhack.sh and fixincl.sh are no longer generated
239 * fixinc/inclhack.sh: deleted
240 * fixinc/hackshell.tpl: deleted
241 * fixinc/inclhack.tpl: deleted
242 * fixinc/Makefile.in: Remove dependencies on above
243 * fixinc/fixincl.sh: "DO NOT EDIT" text modified
245 2000-05-08 Andreas Jaeger <aj@suse.de>
247 * config/mips/linux.h: Remove undefines which disabled .ctor/.dtor
250 2000-05-07 Zack Weinberg <zack@wolery.cumb.org>
252 * Makefile.in (LOOSE_CFLAGS): Add /g modifiers to both sed
255 Sun 7 May 08:43:53 2000 Neil Booth <NeilB@earthling.net>
257 * cpplex.c: Move new lexer definitions and prototypes
258 to top. Conditional include these and the code if
259 NEW_LEXER is defined. Rename functions whose names
260 clash if this code included.
262 Sun May 7 00:54:57 EDT 2000 John Wehle (john@feith.com)
264 * rtl.def (COND_EXEC): Clarify.
266 * i386.md (extendsidi2): Clobber (reg:CC 17) in the
267 same fashion as zero_extendsidi2.
269 2000-05-06 Richard Henderson <rth@cygnus.com>
271 * config/ia64/ia64.c (predicate_operator): New.
272 (ia64_print_operand): Handle 'J'.
273 (rtx_needs_barrier): Handle COND_EXEC.
274 * config/ia64/ia64.h (BRANCH_COST): Define.
275 (PREDICATE_CODES): Update.
276 * config/ia64/ia64.md: Docuement used unspec values.
277 (attr predicable): New.
278 (movxf, movxf_internal): New.
279 (extendsfdf2): Don't comment out nop.
280 (floatdidf2): Remove.
281 (truncxfsf2, truncxfdf2, floatdixf2): New.
282 (abssi2, absdi2): Put the neg in the "true" slot.
283 (conditional branch instructions): Mark not predicable.
284 (cmov*_internal): Use predicate_operator. Split to cond_exec.
285 (abs*_internal): Likewise.
286 (alloc, set_bsp): Mark not predicable.
287 (barrier, insn_group_barrier, flush_cache): Likewise.
288 (define_cond_exec): New.
290 2000-05-06 Richard Henderson <rth@cygnus.com>
292 * c-decl.c: Include "tm_p.h".
294 * config/ia64/ia64-protos.h: Rearrange decls to reduce ifdef madness.
295 (fetchadd_operand, ia64_expand_fetch_and_op): Declare.
296 (ia64_expand_op_and_fetch): Declare.
297 * config/ia64/ia64.c: Include "toplev.h". Kill trailing whitespace.
298 (setjmp_operand): Constify variables for XSTR.
299 (ia64_encode_section_info): Likewise.
300 (ia64_print_operand): Use %d for exact_log2; cast 32-bit printed
302 (ia64_asm_output_external): Constify name.
303 (process_set): Use HOST_WIDE_INT_PRINT_DEC for frame size.
304 (process_for_unwind_directive): Provide switch default.
305 (ia64_expand_compare_and_swap): Remove unused variables.
306 (ia64_expand_builtin): Likewise.
307 * config/ia64/ia64.h (ASM_OUTPUT_BYTE): Mask and cast value to int
310 * config/ia64/ia64.c (sdata_symbolic_operand): Mark unused args.
311 (symbolic_operand, function_operand, setjmp_operand): Likewise.
312 (shift_count_operand, shift_32bit_count_operand): Likewise.
313 (shladd_operand, fetchadd_operand, ia64_function_prologue): Likewise.
314 (ia64_function_epilogue, ia64_setup_incoming_varargs): Likewise.
315 (ia64_function_arg_partial_nregs, ia64_function_value): Likewise.
316 (ia64_print_operand_address, ia64_secondary_reload_class): Likewise.
317 (ia64_expand_builtin): Likewise.
318 (call_multiple_values_operation): Make dest_regno unsigned.
320 2000-05-06 Richard Henderson <rth@cygnus.com>
322 * rtl.def (DEFINE_COND_EXEC): New.
323 * md.texi: Document it.
325 * gensupport.c (input_file): Remove.
326 (struct queue_elem): Add lineno.
327 (rtx_ready_queue): Remove.
329 (predicable_default): New.
330 (predicable_true, predicable_false): New.
331 (define_attr_queue, define_attr_tail): New.
332 (define_insn_queue, define_insn_tail): New.
333 (define_cond_exec_queue, define_cond_exec_tail): New.
334 (other_queue, other_tail): New.
335 (queue_pattern): New.
336 (process_rtx): Add patterns to the appropriate queues.
337 (is_predicable, identify_predicable_attribute): New.
338 (n_alternatives, collect_insn_data): New.
339 (alter_predicate_for_insn, alter_test_for_insn): New.
340 (shift_output_template, alter_output_for_insn): New.
341 (process_one_cond_exec, process_define_cond_exec): New.
342 (init_md_reader): Read the entire file. Process define_cond_exec.
343 (read_md_rtx): Return elements from the queues.
345 2000-05-06 Richard Henderson <rth@cygnus.com>
347 * flow.c (mark_set_1): Don't update conditional life info
348 if the register is not_dead.
350 2000-05-06 Zack Weinberg <zack@wolery.cumb.org>
352 * Makefile.in (STAGESTUFF): Add genrtl.c and genrtl.h.
353 (mostlyclean): Also delete fixincl, fixinc.sh, and
354 specs.ready, and make clean in the fixinc subdir.
356 2000-05-06 Richard Henderson <rth@cygnus.com>
358 * Makefile.in (gensupport.o): Compile for the host.
359 (host-prefix gensuuprt.o): Remove.
360 (genflags.o): Depend on gensupport.h and OBSTACK_H.
361 (genattrtab.o): Likewise.
362 (gencodes.o): Depend on gensupport.h.
363 (genemit.o, genopinit.o, genrecog.o, genextract.o): Likewise.
364 (genpeep.o, genattr.o, genoutput.o): Likewise.
366 * gensupport.c (obstack, rtl_obstack): New.
367 (init_md_reader): Initialize rtl_obstack.
368 * gensupport.h (rtl_obstack): Declare.
369 (message_with_line): Declare.
371 * genattr.c: Remove all traces of obstack manipulation.
372 * gencodes.c, genconfig.c, genemit.c, genextract.c: Likewise.
373 * genopinit.c, genoutput.c, genpeep.c, genrecog.c: Likewise.
375 * genattrtab.c (obstack, rtl_obstack): Remove.
376 (main): Don't init rtl_obstack.
377 * genflags.c: Likewise.
379 * genrecog.c (message_with_line): Move ...
380 * gensupport.c: ... here.
382 2000-05-06 Richard Henderson <rth@cygnus.com>
384 * c-typeck.c (build_c_cast): Remove dead code.
386 2000-05-06 Richard Henderson <rth@cygnus.com>
388 * flow.c (split_edge): Don't allocate global_live_at_start for
389 the new block unless the old blocks had them as well.
391 * flow.c (mark_set_1): Respect not_dead when updating reg_live.
393 * ifcvt.c (noce_process_if_block): Don't use an insn_b from
394 test_bb if a or b uses x.
396 2000-05-06 Zack Weinberg <zack@wolery.cumb.org>
398 * cpphash.h: Remove conditional #define of __extension__.
399 * rtl.h: Add __extension__ to RTL_CHECK1, RTL_CHECK2,
400 RTL_CHECKC1, RTL_CHECKC2, and RTVEC_ELT macros
401 (ENABLE_RTL_CHECKING only).
402 * tree.h: Add __extension__ to TREE_CHECK, TREE_CLASS_CHECK,
403 CST_OR_CONSTRUCTOR_CHECK, and EXPR_CHECK macros
404 (ENABLE_TREE_CHECKING only).
405 * varray.h: Add __extension__ to VARRAY_CHECK macro
406 (ENABLE_CHECKING only).
408 2000-05-06 Richard Earnshaw (reanrsha@arm.com)
410 Use new tail-calling mechanism on ARM.
411 * arm.md (sibcall, sibcall_value): New expands.
412 (sibcall_insn, sibcall_value_insn, sibcall_epilogue): New insns.
413 (tailcalling peepholes): Delete.
414 (push_multi): Simplify.
415 * arm.c (lr_save_eliminated): Delete definition.
416 (pattern_really_clobbers_lr, function_really_clobbers_lr): Delete.
417 (output_return_instruction): Remove checks on lr_save_eliminated.
418 (output_arm_prologue): Remove old tail-calling code.
419 (arm_output_epilogue): New parameter, really_return. All callers
420 changed. Handle tail-calling epilogues.
421 * arm.h (lr_save_eliminated): Delete declaration.
422 (frame_pointer_needed): Delete declaration.
423 * arm-protos.h (arm_output_epilogue): Adjust prototype.
425 * arm.md (is_thumb): Examine symbol thumb_code, not expression
427 * arm.c (thumb_code): Define it.
428 (arm_override_options): Set it.
429 * arm.h (thumb_code): Declare it.
431 2000-05-06 Richard Earnshaw (reanrsha@arm.com)
433 * arm-protos.h (arm_dllexport_name_p, arm_dllimport_name_p): Constify.
435 2000-05-06 Richard Earnshaw (reanrsha@arm.com)
437 * arm.c (arm_gen_load_multiple, arm_gen_store_mulitple): Don't add
438 bogus clobber to insns.
439 (load_multiple_operation, store_mulitple_operation): Don't check
441 * arm.md (ldmsi_postinc, stmsi_postinc): Adjust accordingly.
443 * arm.md (and_scc, ior_scc): Add missing mode.
445 * arm.md (call_value_symbol): Remove predicate from op2.
447 * arm.h (SPECIAL_MODE_PREDICATES): Define.
449 Sat May 6 06:25:56 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
451 * expr.c (get_subtarget): New function.
452 (force_operand, expand_expr, do_store_flag): Use it.
454 * toplev.c (compile_file): Don't take strlen of NAME if null.
456 2000-05-06 David Edelsohn <edelsohn@gnu.org>
458 * xcoffout.c (xcoff_current_include_file,
459 xcoff_current_function_file, xcoff_lastfile): Constify char *.
460 (xcoffout_source_file, xcoffout_source_line): Make filename 'const
462 (xcoffout_declare_function): Make name 'const char *'.
463 (xcoffout_end_epilogue): Make fname 'const char *'
464 * xcoffout.h (xcoff_current_include_file, xcoff_lastfile,
465 xcoffout_declare_function, xcoffout_source_line): Match above.
467 * aix43.h (SUBTARGET_OVERRIDE_OPTIONS): -mpowerpc64 without
469 * rs6000.c (print_operand): Fix lossage typo.
470 (output_cbranch): Remove "cr" decoration for now.
471 * rs6000.h (ASM_OUTPUT_DEF_FROM_DECLS): Make alias 'const char *'.
473 Sat May 6 06:55:32 2000 Denis Chertykov <denisc@overta.ru>
475 * config/avr/avr.c (out_shift_with_cnt): Bugfix for shift by
478 2000-05-05 Bruce Korb <bkorb@gnu.org>
480 * fixinc/genfixes: Improve the matching for make target names
482 2000-05-05 Catherine Moore <clm@cygnus.com>
484 * c-common.c (decl_attributes): For TYPE_DECLs attach the
485 attribute to the decl.
486 * c-decl.c (pushdecl): Propagate the USED attribute to the
489 2000-05-05 Richard Henderson <rth@cygnus.com>
491 * rtlanal.c (reg_overlap_mentioned_p): Treat parallels in the
492 same way emit_group_load does.
494 2000-05-05 Mark Elbrecht <snowball3@bigfoot.com>
496 * gcc.c (set_input) [HAVE_DOS_STYLE_FILE_SYSTEM]: Skip drive name.
498 * toplev.c (output_file_directive): Use IS_DIR_SEPARATOR.
501 2000-05-05 Rodney Brown <RodneyBrown@mynd.com>
503 * pa.h (FUNCTION_ARG_ADVANCE): Warning removal.
505 Fri May 5 10:29:21 2000 Marc Espie <espie@cvs.openbsd.org>
507 * config/openbsd.h (LINK_SPEC): pass correct flags to ld
508 to support -shared, on platforms with dynamic libraries.
510 Fri May 5 10:27:06 2000 Philippe De Muyter <phdm@macqel.be>
512 * system.h (S_ISBLK): Provide fallback definition.
514 2000-05-05 Geoff Berry <geoffb@bops.com>
516 * extend.texi (Extended Asm): Document inability to give asm
517 statements access to condition codes.
519 2000-05-05 Marek Michalkiewicz <marekm@linux.org.pl>
521 * varasm.c (asm_emit_uninitialised): Use 0, not NULL
522 as arg 2 of UNIQUE_SECTION.
524 Fri May 5 10:11:41 2000 Jeffrey A Law (law@cygnus.com)
526 * predict.c: Remove May 4 change.
527 * bb-reorder.c (make_reorder_chain): Do not perform block movement
528 if we have predicted the branch at 50-50 probability.
530 2000-05-05 Richard Henderson <rth@cygnus.com>
532 * flow.c (init_propagate_block_info): Fix merge error
533 in HAVE_conditional_execution code.
535 Fri May 5 07:43:50 2000 Denis Chertykov <denisc@overta.ru>
537 * config/avr/avr.c (out_shift_with_cnt): Genetare a more optimal
538 shift cycle for unknown shift count. Also generates dec + brpl.
539 (ashlqi3_out): Don't generate dec + brpl which now generates by
540 `out_shift_with_cnt'.
541 (ashlhi3_out): Likewise.
542 (ashlsi3_out): Likewise.
543 (ashrqi3_out): Likewise.
544 (ashrhi3_out): Likewise.
545 (ashrsi3_out): Likewise.
546 (lshrqi3_out): Likewise.
547 (lshrhi3_out): Likewise.
548 (lshrsi3_out): Likewise.
550 2000-05-04 Mark Elbrecht <snowball3@bigfoot.com>
552 * gcc.c (free_split_directories): Correct typo in explanation
553 of make_relative_prefix.
555 2000-05-04 Geoff Keating <geoffk@cygnus.com>
557 * config/rs6000/rs6000.h (PREDICATE_CODES): Add floating-point
558 comparison codes to branch_comparison_operator.
560 2000-05-04 Richard Henderson <rth@cygnus.com>
562 * ifcvt.c (noce_process_if_block): Always reset X in the A == B case.
564 2000-05-04 Richard Henderson <rth@cygnus.com>
566 * Makefile.in (FPBIT_FUNCS): Remove _df_to_usi.
567 (DPBIT_FUNCS): Remove _sf_to_usi.
568 (stmp-multilib): Pass LIB1ASMSRC to libgcc.mk.
570 * ifcvt.c (noce_process_if_block): Fail if A or B modified
571 between condition and jump.
573 * libgcc2.c (near eh_context_specific): Comment #endif string.
574 * longlong.h: Don't use strings with embedded newlines.
576 2000-05-04 Geoff Keating <geoffk@cygnus.com>
578 * config/rs6000/rs6000-protos.h: Add output_cbranch.
579 * config/rs6000/rs6000.c (ccr_bit_negated_p): Delete.
580 (print_operand): Delete %t and %T codes.
581 (output_cbranch): New function. Support branch prediction.
582 * config/rs6000/rs6000.md: Use output_cbranch for
583 conditional branches and returns.
585 2000-05-04 Jason Merrill <jason@casey.cygnus.com>
587 * simplify-rtx.c (simplify_ternary_operation): Cast to unsigned.
588 * stor-layout.c (place_field): Likewise.
589 * integrate.h (struct inline_remap): Make regno_pointer_align unsigned.
590 * expr.c (store_expr): Make align unsigned.
591 * explow.c (plus_constant_wide): Make low words unsigned.
592 * expmed.c (choose_multiplier): Likewise.
593 * fold-const.c (fold): Likewise.
594 * tree.h (build_int_2): Likewise.
595 * tree.c (build_int_2_wide, tree_int_cst_msb): Likewise.
596 * emit-rtl.c (gen_reg_rtx): Add cast to unsigned char*.
597 (init_emit): Change cast to unsigned char*.
598 * varasm.c (compare_constant_1): Add cast to char*.
599 * gcse.c (delete_null_pointer_checks): Change cast to unsigned int*.
600 * reload1.c (reload): Likewise.
602 * rtl.h (MEM_SET_IN_STRUCT_P): Use do { } while (0).
604 Thu May 4 14:37:23 2000 Jeffrey A Law (law@cygnus.com)
606 * predict.c (estimate_probability): If no prediction was found, then
607 predict the successor that is the next physical block (if such a
610 2000-05-04 Richard Henderson <rth@cygnus.com>
612 * config/alpha/t-alpha (LIB2FUNCS_EXTRA): Use qrrnd.asm in place.
614 2000-05-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
616 * system.h: Don't wrap <sys/types.h> with HAVE_SYS_TYPES_H.
618 2000-05-04 Mumit Khan <khan@xraylith.wisc.edu>
620 * i386/cygwin.h (CPP_PREDEFINES): Don't define __STDC__. Move
621 attribute macros from here ...
623 * i386/mingw32.h (CPP_PREDEFINES): Likewise.
624 (CPP_SPEC): Likewise.
625 * i386/crtdll.h (CPP_PREDEFINES): Delete attribute macros.
627 * Makefile.in ($(HOST_PREFIX_1)gensupport.o): Add build rule.
628 (libgcc.a): Pass LIB1ASMSRC to libgcc.mk.
630 2000-05-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
632 * bb-reorder.c (get_next_bb_note, get_prev_bb_note): Prototype.
634 * diagnostic (vbuild_message_string, build_message_string,
635 build_location_prefix, output_get_prefix, init_output_buffer,
636 output_notice, vline_wrapper_message_with_location,
637 v_message_with_decl, default_print_error_function): De-constify.
638 (set_real_maximum_length): Prototype.
640 * diagnostic.h (struct output_buffer, init_output_buffer,
641 output_get_prefix, output_set_prefix): De-constify.
643 * function.c (init_function_start): Constify.
645 * gensupport.c (remove_constraints, process_rtx): Prototype.
647 * gthr-posix.h: Indent uses of #pragma.
649 * objc/objc-act.c (ggc_mark_imp_list, ggc_mark_hash_table):
652 * predict.c (find_expected_value): Delete prototype.
653 (expected_value_to_br_prob): Initialize variable `ev_reg'.
655 * sbitmap.h (debug_sbitmap): Prototype.
657 * ssa.c (compute_coalesced_reg_partition): Prototype.
659 * stor-layout.c (debug_rli): Prototype.
661 * tree.h (round_down): Prototype.
662 (init_function_start): Constify.
664 2000-05-04 Zack Weinberg <zack@wolery.cumb.org>
666 * cpphash.h: #define __extension__ away if GCC_VERSION < 2095
667 (overly conservative). Change extern inline wrappers to
668 static inline, define them always, use PARAMS properly.
669 * cpplex.c (_cpp_get_directive_token): Don't issue pedantic
670 whitespace warnings for \f and \v at the beginning of a line.
672 Thu May 4 10:03:50 2000 Jeffrey A Law (law@cygnus.com)
674 * haifa-sched.c (schedule_insns): Free the flow edge list when it
677 2000-05-04 Bruce Korb <bkorb@gnu.org>
679 * fixincl/inclhack.def: added broken_cabs -
680 Remove `extern double cabs' declarations from math.h
681 * fixincl/inclhack.sh: regen
682 * fixincl/fixincl.x: regen
683 * fixincl/fixincl.c: Remove BOGOSITY code
684 * fixincl/mkfixinc.sh: Remove code for installing "shell" version
686 Thu May 4 09:45:12 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
688 * rtl.h (MEM_COPY_ATTRIBUTES): Also copy RTX_UNCHANGING_P and
690 * alias.c (canon_rtx): Don't copy RTX_UNCHANGING_P or MEM_ALIAS_SET
691 when calling MEM_COPY_ATTRIBUTES.
692 * emit-rtl.c (operand_subword, change_address): Likewise.
693 * explow.c (stabilize): Likewise.
694 * expr.c (protect_from_queue, emit_move_insn_1): Likewise.
695 * integrate.c (copy_rtx_and_substitute): Likewise.
696 * combine.c (combine_simplify_rtx): Don't copy RTX_UNCHANGING_P
697 when calling MEM_COPY_ATTRIBUTES.
698 (make_extraction, simplify_shift_const, gen_lowpart_for_combine):
700 * cse.c (gen_lowpart_if_possible): Likewise.
701 * function.c (fixup_var_refs_1, purge_addressof_1): Likewise.
702 * optabs.c (gen_move_insn): Likewise.
703 * recog.c (validate_replace_rtx_1): Likewise.
704 * simplify-rtx.c (add_mem_for_addr): Likewise.
705 * stmt.c (expand_anon_union_decl): Likewise.
706 * config/arm/arm.md: Likewise.
707 * config/h8300/h7300.c (fix_bit_operand): Likewise.
708 * config/m88k/m88k.c (legitimize_address, block_move_loop): Likewise.
709 (block_move_no_loop, block_move_sequence): Likewise.
710 * config/rs6000/rs6000.c (expand_block_move_mem): Likewise.
711 * config/alpha/alpha.c (get_aligned_mem): Likewise.
713 * final.c (alter_subreg): Don't copy MEM_ALIAS_SET when calling
716 2000-05-03 Robert Lipe <robertlipe@usa.net>
718 * configure.in (i[34567]86-*-isc*) [tmake_file]: Add t-i386bare
720 (i[34567]86-*-sco3.2v5*) Likewise.
721 (i[34567]86-*-sco3.2v4*) Likewise.
722 (i[34567]86-*-sco) Likewise.
723 (i[34567]86-*-solaris2) Likewise.
724 (i[34567]86-*-sysv5*) Likewise.
725 (i[34567]86-*-sysv4*) Likewise.
726 (i[34567]86-*-udk*) Likewise.
727 (i[34567]86-*-sysv*) Likewise.
729 2000-05-03 Zack Weinberg <zack@wolery.cumb.org>
731 * cpphash.h (U): New define, to correct type of string constants.
732 (ustrcmp, ustrncmp, ustrlen, uxstrdup, ustrchr): New wrapper
733 routines, to do casts when passing unsigned strings to libc.
734 * cppexp.c, cppfiles.c, cpphash.c, cppinit.c, cpplib.c: Use them.
736 * cppfiles.c (_cpp_execute_include): Make filename an U_CHAR *.
737 * cpphash.c (_cpp_quote_string): Make string an U_CHAR *.
738 * cppinit.c (dump_special_to_buffer): Make macro name an U_CHAR *.
739 * cpplex.c (parse_ifdef, parse_include, validate_else): Make
740 second argument an U_CHAR *.
742 * cppinit.c (builtin_array): Make name and value U_CHAR *, add
743 length field, clean up initializer.
744 (ISTABLE): Add __extension__ to designated-
745 initializers version.
746 * cpplex.c (CHARTAB): Likewise.
748 * mbchar.c: Add dummy external declaration to the !MULTIBYTE_CHARS
749 case so the file won't be empty.
751 Wed May 3 21:01:46 2000 Jason Eckhardt <jle@cygnus.com>
753 * bb-reorder.c (struct reorder_block_def): Member succ removed.
754 (REORDER_BLOCK_SUCC): Removed.
755 (enum reorder_skip_type): Removed.
756 (skip_insns_between_block): Renamed to skip_insns_after_block.
757 Removed second argument. Removed dead code and cleaned up.
758 (make_reorder_chain): Removed use of REORDER_BLOCK_SUCC.
759 (reorder_basic_blocks): Remove use of REORDER_SKIP_AFTER. Removed
760 second parameter to skip_insns_after_block.
762 Wed May 3 13:29:54 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
764 * tree.c (staticp, case LABEL_DECL): New case.
766 2000-05-03 Richard Henderson <rth@cygnus.com>
768 * Makefile.in (start.encap): Do not depend on LIBGCC1.
770 * mklibgcc1.in: Fix typo last change.
772 2000-05-03 Jason Merrill <jason@casey.cygnus.com>
774 * Makefile.in (WARN_CFLAGS): Add -pedantic -Wno-long-long.
775 (LOOSE_CFLAGS): New: CFLAGS without -pedantic and -Wtraditional.
776 (GCC_CFLAGS): Use it.
777 (LANG_FLAGS_TO_PASS): New: SUBDIR_FLAGS_TO_PASS with LOOSE_CFLAGS.
778 * cp/Make-lang.in, java/Make-lang.in, f/Make-lang.in, ch/Make-lang.in,
779 objc/Make-lang.in: Use it.
781 2000-05-03 Jason R Thorpe <thorpej@zembu.com>
783 * config/i386/i386.md (lshrqi2_cmpno): Use q not r in constraint.
785 2000-05-03 Richard Henderson <rth@cygnus.com>
787 * mklibgcc.in: Restrict OLDCC=GCC test to native. Equate
788 LIBGCC1 empty with libgcc1.null.
790 Wed May 3 12:55:46 2000 Jim Wilson <wilson@cygnus.com>
792 * fold-const.c (extract_muldiv, case MAX_EXPR): Don't allow signedness
795 2000-05-03 Greg McGary <gkm@gnu.org>
797 * tree.h (tree_common): Add bounded_flag member. Remove
798 inaccurate comment about number of remaining bits.
799 (BOUNDED_INDIRECT_TYPE_P, BOUNDED_POINTER_TYPE_P,
800 BOUNDED_REFERENCE_TYPE_P, MAYBE_BOUNDED_INDIRECT_TYPE_P,
801 MAYBE_BOUNDED_POINTER_TYPE_P, MAYBE_BOUNDED_REFERENCE_TYPE_P,
802 TREE_BOUNDED, TYPE_MAIN_VARIANTS_PHYSICALLY_EQUAL_P,
803 TYPE_MAIN_PHYSICAL_VARIANT, TYPE_BOUNDED): New macros.
804 (TYPE_QUAL_BOUNDED): New constant.
805 (TYPE_QUALS): Handle bounded qualifier.
806 (TREE_EXPR_QUALS, TREE_FUNC_QUALS): New macros.
807 (TYPE_BOUNDED_VALUE, TYPE_BOUNDED_BASE, TYPE_BOUNDED_EXTENT,
808 TYPE_BOUNDED_SUBTYPE, TYPE_UNBOUNDED_VARIANT, TYPE_POINTER_DEPTH,
809 TYPE_AMBIENT_BOUNDEDNESS): New macros.
810 (MAX_POINTER_DEPTH, VA_LIST_POINTER_DEPTH): New constants.
811 (tree_type): Add pointer_depth member. Remove
812 inaccurate comment about number of remaining bits.
813 (DECL_POINTER_DEPTH): Add macro.
814 (tree_decl): Add pointer_depth member.
816 Wed May 3 22:52:53 2000 Denis Chertykov <denisc@overta.ru>
818 * config/avr/avr-protos.h (test_hard_reg_class): Declared.
819 * config/avr/avr.c (ashrhi3_out): optimized shift by 15.
820 (lshrhi3_out): Likewise.
821 (ashrsi3_out): bugfix in shift by 8.
822 (test_hard_reg_class): New function.
823 * config/avr/avr.md: Bugfix inside conditions in peepholes.
824 (ashlhi3): removed define_expand of this pattern.
825 (*ashlhi3_insn): renamed to ashlhi3.
826 (ashlsi3): removed define_expand of this pattern.
827 (*ashlsi3_insn): renamed to ashlsi3.
828 (ashrqi3): removed define_expand of this pattern.
829 (*ashrqi3_insn): renamed to ashrqi3.
830 (ashrhi3): removed define_expand of this pattern.
831 (*ashrhi3_insn): renamed to ashrhi3.
832 (ashrsi3): removed define_expand of this pattern.
833 (*ashrsi3_insn): renamed to ashrsi3.
834 (lshrhi3): removed define_expand of this pattern.
835 (*lshrhi3_insn): renamed to lshrhi3.
836 (lshrsi3): removed define_expand of this pattern.
837 (*lshrsi3_insn): renamed to lshrsi3.
839 2000-05-03 Rodney Brown <RodneyBrown@pmsc.com>
841 * config/mcore/mcore.c: Replacing inclusion of "stdio,h" with
842 inclusion of "system.h".
844 Wed May 3 11:43:53 2000 Jim Wilson <wilson@cygnus.com>
846 * config/ia64/ia64.c (ia64_encode_section_info): Add check for
849 2000-05-03 David Mosberger <davidm@hpl.hp.com>
851 * config/ia64/ia64.c (ia64_override_options): Force -mconstant-gp
853 (ia64_epilogue_uses): Mark "gp" (r1) as used by the epilogue if
854 -mconstant-gp is in effect and function-descriptors are being used
855 to make indirect calls.
856 * config/ia64/ia64.h (MASK_CONST_GP): New macro.
857 (MASK_AUTO_PIC): Ditto.
858 (TARGET_CONST_GP): Ditto.
859 (TARGET_AUTO_PIC): Ditto.
860 (TARGET_SWITCHES): Add -mconstant-gp and -mauto-pic options.
861 (ASM_OUTPUT_DOUBLE_INT): Don't generate @fptr() if -mauto-pic or
862 -mno-pic is in effect.
863 (ASM_OUTPUT_XDATA_DOUBLE_INT): Ditto.
864 * config/ia64/ia64.md (movdi): Use gen_load_gprel64() if
865 -mauto-pic is in effect.
866 (gprel64_offset): New pattern.
867 (load_gprel64): Ditto.
868 (call): Handle -mauto-pic like -mno-pic (don't use fptr). If
869 -mconstant-gp is in effect, no need to preserve gp around direct
872 * config/ia64/linux.h (PROFILE_BEFORE_PROLOGUE): Define.
873 (FUNCTION_PROFILER): Define.
874 * config/ia64/sysv4.h (ASM_OUTPUT_CONSTRUCTOR): Don't generate
875 @fptr() directive when -mno-pic or -mauto-pic is in effect.
876 (ASM_OUTPUT_DESTRUCTOR): Ditto.
878 2000-05-03 Richard Henderson <rth@cygnus.com>
880 * Makefile.in (STAGESTUFF): Add libgcc libgcc.mk.
881 (libgcc1.null, libgcc1.cross, libgcc1.a): Remove targets.
882 (libgcc1-asm.a, libgcc1.S, libgcc2.a): Remove targets.
883 (mklibgcc, libgcc.mk): New targets.
884 (libgcc.a): Use libgcc.mk.
885 (stmp-multilib): Likewise.
886 (stmp-multilib-sub): Remove.
887 (mostlyclean): Don't delete libgcc2 temp files.
888 * configure.in (AC_PROG_CC_C_O): Add.
889 (NO_MINUS_C_MINUS_O): Substitute it.
890 (all_outputs): Add mklibgcc.
891 * mklibgcc.in: New file.
893 2000-05-03 Jason Merrill <jason@casey.cygnus.com>
895 * cppexp.c (op_t): Make an int.
897 * rtlanal.c (dead_or_set_regno_p): Remove unused variable.
899 * varasm.c (initializer_constant_valid_p): Fix parenthesis.
901 * gensupport.c (process_rtx): Fix macros used.
903 2000-05-03 Richard Henderson <rth@cygnus.com>
905 * flow.c (propagate_one_insn): Also don't PROP_REG_INFO for
906 call-clobbered registers of a call.
908 Wed May 3 12:40:53 2000 Clinton Popetz <cpopetz@cygnus.com>
910 * gensupport.c: New file.
911 * gensupport.h: New file.
912 * Makefile.in (HOST_RTL): Depend on gensupport.
913 (gensupport.o) New rule.
914 * genattr.c: Use gensupport for reading .md files.
915 * genattrtab.c: Ditto.
917 * genconfig.c: Ditto.
919 * genextract.c: Ditto.
921 * genopinit.c: Ditto.
922 * genoutput.c: Ditto.
925 * rtl.def (define_insn_and_split): New DEF_RTL_EXPR.
926 * md.texi (Insn Splitting): Document define_insn_and_split.
928 Tue May 2 00:20:30 2000 Jason Eckhardt <jle@cygnus.com>
930 * flow.c (verify_flow_info): Added two more sanity checks. The
931 first checks that the blocks are numbered consecutively. The second
932 checks that n_basic_blocks is actually equal to the number of
933 basic blocks in the insn chain.
935 2000-05-03 Zack Weinberg <zack@wolery.cumb.org>
937 * cpplib.h: Add accessor macros for token lists.
938 * cpplib.c, cpphash.c, cpplex.c: Use them.
940 Wed May 3 09:29:17 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
942 * expr.c (expand_expr, case COMPONENT_REF): Don't check for checking
943 memory usage if not in a function.
944 * varasm.c (initializer_constant_valid_p, case ADDR_EXPR): Only
945 return address if static.
947 Wed May 3 13:14:49 MET DST 2000 Jan Hubicka <jh@suse.cz>
949 * ifcvt.c (noce_try_cmove_arith): Use may_trap_p to thest
950 whether address may trap.
952 Tue May 2 23:38:37 2000 Jason Eckhardt <jle@cygnus.com>
954 * bb-reorder (chain_reorder_blocks): Changed code to test for
955 EDGE_FALLTHRU rather than making erroneous assumption that the
956 first outgoing edge is the fall-through edge.
958 Tue May 2 18:20:31 2000 Donald Lindsay <dlindsay@hound.cygnus.com>
960 * config/mips/mips.c (mips_build_va_list,mips_va_start,mips_va_arg): new
961 ABI for varargs, across all MIPS. This is incompatible because the
962 va_list (__builtin_va_list) structure is different, so a compilation
963 unit passing a va_list and a compilation unit being passed one, should
964 both be compiled with the same ABI. (The old structure had two
965 pointers, now it has three.)
967 Tue May 2 19:18:43 2000 Jason Eckhardt <jle@cygnus.com>
969 * bb-reorder.c (struct reorder_block_def): Remove members end,
970 block_begin, and block_end.
971 (REORDER_BLOCK_OLD_END): Delete.
972 (REORDER_BLOCK_BEGIN): Delete.
973 (REORDER_BLOCK_END): Delete.
974 (chain_reorder_blocks): Remove dead code.
976 Tue May 2 17:06:53 2000 Jason Eckhardt <jle@cygnus.com>
978 * bb-reorder.c (remove_scope_notes): Check for both types of scope
979 notes as the end of a basic block before deleting.
981 2000-05-02 Mumit Khan <khan@xraylith.wisc.edu>
983 * final.c (final_start_function): Fix spelling of "necessary".
985 2000-05-02 Jason Merrill <jason@casey.cygnus.com>
987 * toplev.c (debug_ignore_block): Return int.
988 * dwarf2out.c (dwarf2out_ignore_block): Likewise.
989 * toplev.h, dwarf2out.h: Adjust.
990 * emit-rtl.c (remove_unnecessary_notes): Test return value.
992 * emit-rtl.c (remove_unnecessary_notes): Fix spelling of "necessary".
993 * toplev.c, final.c, rtl.h: Adjust.
995 2000-05-02 Zack Weinberg <zack@wolery.cumb.org>
997 * aclocal.m4 (gcc_AC_CHECK_PROG_VER): New macro.
998 * configure.in: Look for makeinfo in the unified tree, then
999 for a system makeinfo which is sufficiently new.
1000 * Makefile.in: If configure says makeinfo is too old, don't
1001 build or install Info documentation.
1003 2000-05-02 Zack Weinberg <zack@wolery.cumb.org>
1005 * cpphash.c (collect_params): Fix off-by-one error.
1006 (dump_hash_helper): Dump all four macro nodetypes.
1008 2000-05-02 Jakub Jelinek <jakub@redhat.com>
1010 * cpphash.c (trad_stringify): Adjust p after stringification as
1013 2000-05-02 Zack Weinberg <zack@wolery.cumb.org>
1015 * cpplib.h (CPP_POP, parse_cleanup_t): Delete.
1016 (cpp_buffer): Remove cleanup, seen_eof, manual_pop members.
1018 * cppfiles.c (file_cleanup): Delete.
1019 * cpphash.c (macro_cleanup): Delete.
1020 (collect_objlike_expansion, collect_funlike_expansion,
1021 macarg, scan_arguments): Remove CPP_POP case.
1023 * cpplex.c (null_cleanup): Delete.
1024 (cpp_pop_buffer): Do the work that was done in the cleanups
1025 here. Call _cpp_unwind_if_stack from here.
1026 (_cpp_expand_to_buffer, cpp_scan_buffer_nooutput,
1027 cpp_scan_buffer): Run until we see CPP_EOF and the top of
1028 stack is the buffer _below_ the one we stacked.
1029 (cpp_get_token): Always pop an exhausted buffer. Return
1030 CPP_EOF unless it's a macro buffer. Don't call _cpp_handle_eof.
1031 * cpplib.c (skip_if_group): Don't call cpp_get_token to
1032 increment the line number.
1033 (_cpp_handle_eof): Rename to _cpp_unwind_if_stack.
1035 * fix-header.c (read_scan_file) [parsing getchar()]: Run until
1036 we see CPP_EOF and the top of stack is the buffer _below_ the
1038 * scan-decls.c: Likewise.
1040 2000-05-02 Andrew Haley <aph@cygnus.com>
1042 * config/ia64/ia64.c (ia64_encode_section_info): Handle the case
1043 where this function is called for the second time on a decl that
1044 has had its section info changed in such a way as to move it out
1046 * config/ia64/ia64.h (REDO_SECTION_INFO_P): New definition.
1048 2000-05-01 Richard Henderson <rth@cygnus.com>
1050 * ifcvt.c (dead_or_predicable): Set merge_bb->end to the insn before
1051 the sequence we're moving, not to merge_bb->head.
1053 2000-05-01 Richard Henderson <rth@cygnus.com>
1055 * configure.in (alpha*-*-linux-gnulibc1*) [tmake_file]: Remove
1056 reference to alpha/t-linux.
1057 (alpha*-*-linux-gnu*): Likewise.
1058 * configure: Rebuild.
1060 * calls.c (expand_call): Don't emit reg notes for a sibcall.
1062 * flow.c (calculate_global_regs_live): Skip for_each_successor_phi
1065 * ifcvt.c (if_convert): Only verify_flow_info if ENABLE_CHECKING.
1067 2000-05-01 Jason Merrill <jason@casey.cygnus.com>
1069 * integrate.c (copy_decl_for_inlining): Copy TREE_READONLY and
1072 2000-05-01 Richard Henderson <rth@cygnus.com>
1074 * ifcvt.c (noce_emit_cmove): Conditionally compile call to
1075 emit_conditional_move.
1077 2000-05-01 Jakub Jelinek <jakub@redhat.com>
1079 * config/ia64/linux.h (LINK_SPEC): Use /lib/ld-linux-ia64.so.1
1080 as the dynamic linker.
1082 2000-05-01 Zack Weinberg <zack@wolery.cumb.org>
1084 * cppfiles.c (open_include_file): Open file in blocking mode.
1085 (read_include_file): Don't fcntl(fd, F_SETFL, 0) anymore.
1086 Only exclude block devices and directories.
1088 * cpphash.c (_cpp_make_hashnode): Rename make_HASHNODE, now
1089 static. Allocate the hashnode and its string in the same
1091 (del_HASHNODE): Don't free h->name.
1092 (_cpp_lookup): If there is no entry for this string, create
1093 one, of type T_VOID.
1094 (_cpp_lookup_slot): Delete.
1095 * cpphash.h: Update prototypes.
1097 * cpplex.c (maybe_macroexpand): Check for hp->type == T_VOID,
1099 * cpplib.c (do_define, do_undef, do_pragma_poison, do_assert,
1100 do_unassert, cpp_defined): Use _cpp_lookup. Don't create a
1101 node here, just fill in the value field properly. "Delete"
1102 entries by setting the value field to T_VOID. Check for
1103 hp->type == T_VOID, not hp == NULL.
1105 * Makefile.in (cpplib.o): Don't depend on $(HASHTAB_H).
1106 * cpperror.c, cppexp.c, cpplex.c, cpplib.c: Don't include
1109 2000-05-01 Alexandre Oliva <aoliva@cygnus.com>
1111 * config/mn10300/mn10300.c (print_operand_address): Do not add
1114 * config/mn10300/mn10300.c (expand_epilogue): If SP is to be
1115 adjusted by less than 256 bytes, use ret regardless of having any
1116 callee-saved register to restore.
1118 2000-05-01 Laurynas Biveinis <lauras@softhome.net>
1120 * tm.texi (TARGET_HAS_F_SETFLKW): Fix typo.
1122 2000-05-01 Mark Elbrecht <snowball3@bigfoot.com>
1124 * config/i386/djgpp.h (INT_ASM_OP): Define.
1125 (CPP_PREDEFINES): Rename MSDOS to __MSDOS__.
1126 (ASM_WEAKEN_LABEL): Define.
1127 (MASK_BNU210): Define.
1128 (SUBTARGET_SWITCHES): Define.
1129 (SUPPORTS_WEAK, SUPPORTS_ONE_ONLY): Define.
1130 (MAKE_DECL_ONE_ONLY): Define.
1131 (UNIQUE_SECTION_P, UNIQUE_SECTION): Define.
1133 2000-05-01 Mumit Khan <khan@xraylith.wisc.edu>
1135 * i386/cygwin.h (INT_ASM_OP): Define.
1137 Mon May 1 18:20:06 2000 Denis Chertykov <denisc@overta.ru>
1139 * config/avr/avr.c (address_cost): renamed to avr_address_cost.
1140 * config/avr/avr.h (ADDRESS_COST): use avr_address_cost.
1142 Mon May 1 17:50:44 2000 Denis Chertykov <denisc@overta.ru>
1144 * config/avr/avr.c (asm_file_start): output 0 as r0 and 1 as r1 in
1145 __tmp_reg__ and __zero_reg__ initialization.
1147 2000-04-30 Richard Henderson <rth@cygnus.com>
1149 * flow.c (propagate_one_insn): Mark sets even when the insn is dead.
1151 * ifcvt.c (noce_process_if_block): Fail the conversion if X is
1152 referenced bewteen the condition and the jump. Don't delete
1153 anything but the jump.
1155 Sun Apr 30 22:48:24 2000 Jason Eckhardt <jle@cygnus.com>
1157 * bb-reorder.c (scope_def): New struct.
1158 (scope_forest_info): New struct.
1159 (struct reorder_block_def): New member "scope".
1160 (REORDER_BLOCK_SCOPE): New macro.
1161 (relate_bbs_with_scopes): New function and prototype.
1162 (make_new_scope): Likewise.
1163 (build_scope_forest): Likewise.
1164 (remove_scope_notes): Likewise.
1165 (insert_intra_1): Likewise.
1166 (insert_intra_bb_scope_notes): Likewise.
1167 (insert_inter_bb_scope_notes): Likewise.
1168 (rebuild_scope_notes): Likewise.
1169 (free_scope_forest_1): Likewise.
1170 (free_scope_forest): Likewise.
1171 (dump_scope_forest): Likewise.
1172 (dump_scope_forest_1): Likewise.
1173 (chain_reorder_blocks): Set REORDER_BLOCK_SCOPE for new block.
1174 Update REORDER_BLOCK_EFF_HEAD and REORDER_BLOCK_EFF_END for new
1176 (reorder_basic_blocks): Added calls to build_scope_scope_forest
1177 and remove_scope_notes before reordering is done. Added calls to
1178 rebuild_scope_notes, free_scope_forest, and reorder_blocks after
1179 after reordering is done.
1181 2000-40-30 Bruce Korb <bkorb@gnu.org>
1183 * fixinc/inclhack.def: Added definitions needed by OSR5,
1184 removed two stale entries (defined away with OLD_CPP).
1185 * fixinc/inclhack.sh: regen
1186 * fixinc/fixincl.x: regen
1188 2000-04-30 Richard Henderson <rth@cygnus.com>
1190 * ifcvt.c (dead_or_predicable): Manually squeeze non-movable notes
1191 from the last insn in the sequence.
1193 2000-04-30 Zack Weinberg <zack@wolery.cumb.org>
1195 * cpplex.c (cpp_idcmp): New function.
1196 * cpplib.h: Prototype it.
1197 * scan_decls.c (scan_decls): Use it to inspect token names.
1198 * fix-header.c (read_scan_file): Likewise. Set system_header_p on
1199 the file being run through the preprocessor.
1200 (check_macro_names): Provide length of token to cpp_defined.
1202 * Makefile.in: Remove stale warning message.
1204 * cppfiles.c (redundant_include_p): Provide length of token to
1206 * cpphash.c (_cpp_make_hashnode, _cpp_lookup_slot): Hash
1207 values are unsigned int.
1208 (_cpp_lookup, _cpp_lookup_slot): Do not calculate the length.
1209 (_cpp_lookup_slot): Do not calculate the hash, either.
1210 * cpphash.h: Update prototypes.
1211 * cpplib.c (do_define, do_undef, do_pragma_poison, do_assert):
1212 Hashes are unsigned int. Calculate hash here, pass by value
1213 to _cpp_lookup_slot.
1215 2000-04-30 Bernd Schmidt <bernds@cygnus.co.uk>
1217 * simplify-rtx.c (check_value_useless): Delete function.
1218 (discard_useless_locs): Don't call it; manage N_USELES_VALUES counter
1220 (cselib_invalidate_regno): Likewise.
1221 (cselib_invalidate_mem_1): Likewise.
1222 (references_value_p): Recognize useless values by the fact that they
1224 (discard_useless_values): Likewise.
1225 (cselib_record_set): This may turn a useless value
1228 2000-04-30 Richard Henderson <rth@cygnus.com>
1230 * config/d30v: New port.
1232 * configure.in (d30v-*): Set fp format.
1233 * configure: Rebuild.
1235 2000-04-30 Richard Henderson <rth@cygnus.com>
1237 * ifcvt.c: New file.
1238 * Makefile.in (OBJS): Add it.
1239 (ifcvt.o): New target.
1240 * jump.c (jump_optimize_1): Remove all code related to if-conversion,
1241 and conditional arithmetic.
1242 (find_insert_position): Remove.
1243 * timevar.def (TV_IFCVT, TV_IFCVT2): New.
1244 * toplev.c (DFI_ce, DFI_ce2): New.
1245 (dump_file): Add ce and ce2 dumps.
1246 (rest_of_compilation): Run if_convert a couple o times. Set
1247 cse_not_expected after cse2. Don't set no_new_pseudos until
1248 after sched1 or recompute_reg_usage.
1250 2000-04-30 Richard Henderson <rth@cygnus.com>
1252 * config/alpha/t-crtbe (crtbegin.o): Add "-I.".
1253 (crtend.o, crtbeginS.o, crtendS.o): Likewise.
1255 2000-04-30 Richard Henderson <rth@cygnus.com>
1257 * flow.c (struct reg_cond_life_info): New.
1258 (struct propagate_block_info): Add reg_cond_dead and reg_cond_reg.
1259 (init_propagate_block_info): Initialize them.
1260 (free_propagate_block_info): Destruct them.
1261 (mark_set_1): Consider conditional life before killing a register.
1262 (mark_regno_cond_dead): New.
1263 (free_reg_cond_life_info): New.
1264 (flush_reg_cond_reg_1, flush_reg_cond_reg): New.
1265 (ior_reg_cond, not_reg_cond, nand_reg_cond): New.
1266 (mark_used_reg): Record conditional life.
1268 * haifa-sched.c (schedule_insns): Disable death counting
1269 sanity check for HAVE_conditional_execution.
1271 2000-04-30 Richard Henderson <rth@cygnus.com>
1273 * Makefile.in (TIMEVAR_H): New.
1274 (ggc-simple.o, ggc-page.o, toplev.o, timevar.o): Use it.
1275 (timevar.h): Remove rule.
1277 2000-04-29 Richard Henderson <rth@cygnus.com>
1279 * config/alpha/crtend.asm: Use C comments instead of #.
1280 * config/alpha/crtbegin.asm: Likewise. Mark __dso_handle hidden.
1282 * config/alpha/elf.h (SELECT_SECTION): Treat CONSTRUCTOR like VAR_DECL.
1284 2000-04-29 Zack Weinberg <zack@wolery.cumb.org>
1286 * cpphash.h (enum node_type: Take out T_MCONST.
1287 (union hashval): Move into struct hashnode.
1288 (struct hashnode): Pack tighter. Remove file, line, col
1290 * cpphash.c: Constify most of the macro-definition structures.
1291 (struct definition): Replace by struct object_defn
1292 and struct funct_defn. Put file, line, column information
1293 here. All users updated to match.
1294 (_cpp_create_definition, _cpp_macroexpand): Remove special
1295 case for #define WORD OTHERWORD.
1296 * cpplib.c (do_undef): Remove T_MCONST case.
1298 * cpphash.h: Move struct reflist, struct definition, and the
1299 DEFINITION typedef to cpphash.c. Use 'struct definition *' in
1300 union hashval. _cpp_free_definition takes a HASHNODE pointer.
1301 * cpphash.c (_cpp_free_definition): Free data pointed to by
1302 MCONST, XCONST, MACRO, and FMACRO nodes properly.
1303 (_cpp_create_definition, del_HASHNODE): Just call
1304 _cpp_free_definition to clear out a hashnode.
1305 * cpplib.c (do_pragma_poison): Likewise.
1307 Sat Apr 29 12:25:17 2000 Alexandre Oliva <aoliva@cygnus.com>
1309 * config/mn10300/mn10300.h (FIRST_DATA_REGNUM,
1310 LAST_DATA_REGNUM, FIRST_ADDRESS_REGNUM, LAST_ADDRESS_REGNUM,
1311 FIRST_EXTENDED_REGNUM, LAST_EXTENDED_REGNUM): New macros.
1312 (REGNO_SP_P): Redefine in terms of STACK_POINTER_REGNUM.
1313 (REGNO_DATA_P, REGNO_ADDRESS_P, REGNO_EXTENDED_P,
1314 REGNO_AM33_P): Redefine in terms of the new macros.
1315 (CONDITIONAL_REGISTER_USAGE, REGNO_REG_CLASS): Likewise.
1316 (FUNCTION_VALUE, LIBCALL_VALUE, FUNCTION_VALUE_REGNO_P,
1317 STRUCT_VALUE): Likewise.
1318 (STACK_POINTER_REGNUM, FRAME_POINTER_REGNUM,
1319 ARG_POINTER_REGNUM, STATIC_CHAIN_REGNUM): Likewise. Moved.
1321 Sat Apr 29 01:18:45 MET DST 2000 Jan Hubicka <jh@suse.cz>
1323 * regmove.c (struct record_stack_memrefs_data): New.
1324 (record_stack_memrefs): New function.
1325 (combine_stack_adjustments_for_block): Use it.
1327 Sat Apr 29 01:15:27 MET DST 2000 Jan Hubicka <jh@suse.cz>
1329 * calls.c (calls_function_1): Propertly handle TREE_LIST expressions;
1330 use special_function_p to detect alloca.
1332 Fri Apr 28 16:30:33 2000 Marc Espie <espie@cvs.openbsd.org>
1334 * gcc.texi: Fixes for makeinfo 4.0 --html.
1336 2000-04-28 Zack Weinberg <zack@wolery.cumb.org>
1338 * pcp.h: Delete file.
1340 2000-04-28 Kazu Hirata <kazu@hxi.com>
1342 * h8300.c (function_epilogue): Clean up flags when the last insn
1343 in a function is a barrier.
1345 2000-04-28 Chris Demetriou <cgd@sibyte.com>
1347 * configure.in (sparc-hal-solaris2*): protect [] glob from
1349 (mips*-*-ecoff*, mips*-*-elf*, mips*-*-*): use MASK_ defines
1350 rather than hard-coded constants in target_cpu_default2.
1351 * configure: Regenerate.
1353 2000-04-28 Jason Merrill <jason@casey.cygnus.com>
1355 * tree.c (get_callee_fndecl): Extract the initial value from
1358 2000-04-28 Richard Henderson <rth@cygnus.com>
1360 * varasm.c (record_constant_1): Record the CODE_LABEL when
1361 taking the address of a LABEL_REF.
1363 2000-04-28 Richard Henderson <rth@cygnus.com>
1364 Jan Hubicka <jh@suse.cz>
1366 * calls.c (combine_pending_stack_adjustment_and_call): Return the
1367 adjustment; don't do the stack adjust.
1368 (expand_call): Call compute_argument_block_size right before
1369 allocating the block; update comment; don't do alignment sanity
1370 checking for sibling call; use args_size instead of
1371 unadjusted_args_size before args_size is adjusted. Use
1372 combine_pending_stack_adjustment_and_call to compute stack adjust
1373 for must_preallocate case.
1375 * expr.c (push_block): Remove shadow `temp' in inner scope.
1377 2000-04-28 Jason Merrill <jason@casey.cygnus.com>
1379 * toplev.c (rest_of_compilation): Call
1380 note_deferral_of_defined_inline_function even if the function
1383 2000-04-28 Scott Bambrough <scottb@netwinder.org>
1385 * cpplex.c (_cpp_scan_line): Fix buffer overwrite.
1387 2000-04-28 Richard Henderson <rth@cygnus.com>
1389 * toplev.c (rest_of_type_compilation): Fix sdb TIMEVAR typo.
1391 2000-04-28 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1393 * timevar.c (init_timevar): DeANSIfy function definition.
1395 2000-04-27 Alex Samuel <samuel@codesourcery.com>
1397 * Makefile.in (timevar.o): Depend on flags.h.
1398 * timevar.c (unused_stack_instances): New variable.
1399 (timevar_push): Take a timevar_stack_def from
1400 unused_stack_instances if available.
1401 (timevar_pop): Push the popped timevar_stack_def onto
1402 unused_stack_instances.
1403 (TIMEVAR_ENABLE): New macro.
1404 (timevar_def): Make standalone a 1-bit field. Add field used.
1405 (get_time): Rename parameter to now. Return after clearing it if
1407 (init_timevar): Do nothing if not TIMEVAR_ENABLE.
1408 (timevar_pop): Likewise.
1409 (timevar_stop): Likewise.
1410 (timevar_push): Likewise. Mark the timing variable as used.
1411 (timevar_start): Likewise.
1412 (timevar_print): Do nothing if not TIMEVAR_ENABLE. Don't print
1413 timevars that were never used.
1415 2000-04-27 Mark Mitchell <mark@codesourcery.com>
1417 * c-common.c (c_apply_type_quals_to_decl): REFERENCE_TYPES are
1418 always TREE_READONLY.
1420 2000-04-27 Ulrich Drepper <drepper@cygnus.com>
1422 * i386.h (FUNCTION_BLOCK_PROFILER_EXIT): Generate mem reference
1423 for call instruction with mode QImode.
1425 2000-04-27 Alex Samuel <samuel@codesourcery.com>
1427 * Makefile.in (OBJS): Add timevar.o.
1428 (toplev.o): Depend on timevar.h.
1429 (ggc-simple.o): Likewise.
1430 (ggc-page.o): Likewise.
1431 (timevar.o): New rule.
1432 (timevar.h): New rule.
1434 * timevar.h: New file.
1435 * timevar.c: Likewise.
1436 * timevar.def: Likewise.
1438 * toplev.h (gc_time, parse_time, varconst_time): Remove.
1439 * toplev.c: Use timevar_push and timevar_pop instead of TIMEVAR
1441 (TIMEVAR): Remove macro.
1442 (gc_time, parse_time, varconst_time, integration_time, jump_time,
1443 cse_time, gcse_time, loop_time, cse2_time, branch_prob_time,
1444 flow_time, combine_time, regmove_time, sched_time,
1445 local_alloc_time, global_alloc_time, flow2_time, peephole2_time,
1446 sched2_time, dbr_sched_time, reorder_blocks_time,
1447 rename_registers_time, shorten_branch_time, stack_reg_time,
1448 to_ssa_time, from_ssa_time, final_time, symout_time, dump_time,
1450 (compile_file): Don't initialize time variables. Call
1451 init_timevar and start TV_TOTAL timer. Call timevar_print instead
1452 of many calls to print_time.
1453 (rest_of_compilation): Add timing for reload_cse_regs.
1454 (get_run_time): Removed to timevar.c.
1455 (print_time): Likewise.
1456 (get_run_time): Implement using TV_TOTAL time variable.
1457 (print_time): Get total run time from get_run_time.
1458 * ggc-page.c (ggc_collect): Push and pop TV_GC instead of
1459 computing elapsed time explicitly.
1460 * ggc-simple.c (ggc_collect): Likewise.
1461 (gc_time): Remove declaration.
1463 2000-04-27 Mark Mitchell <mark@codesourcery.com>
1465 * calls.c (combine_pending_stack_adjustment_and_call): New function.
1466 (expand_call): Use it.
1468 2000-04-27 Jan Hubicka <jh@suse.cz>
1470 * flow.c (mark_set_1): Handle MEMs in ZERO_EXTRACT/SIGN_EXTRACT
1473 Thu Apr 27 12:47:00 2000 Alexandre Oliva <aoliva@cygnus.com>
1475 * config/mn10300/mn10300.md (movhi): Simplify. Prefer data
1478 Thu Apr 27 17:33:05 MET DST 2000 Jan Hubicka <jh@suse.cz>
1480 * function.c (epilogue_done): Pass whole insn to record_insns.
1482 Thu Apr 27 16:55:28 MET DST 2000 Jan Hubicka <jh@suse.cz>
1484 * cse.c (CSE_ADDRESS_COST): Remove.
1485 (find_best_addr): Add new parameter "MODE", use address_cost instead
1487 (address_cost): New.
1488 (fold_rtx): Update call of find_best_addr.
1489 * rtl.h (address_cost): Declare.
1490 * loop.c (general_induction_var): Add new parameter "MODE", use
1491 address_cost instead of ADDRESS_COST
1492 (init_loop): Use address_cost instead of ADDRESS_COST.
1493 (check_insn_for_givs): Update call of general_induction_var.
1494 (find_mem_givs): Likewise.
1495 (consec_sets_giv): Likewise.
1496 * config/i386/i386.h (ADDRESS_COST): Call ix86_address_cost.
1497 * i386.c (ix86_address_cost): New.
1498 * i386-protos.h (ix86_address_cost): Declare.
1500 Thu Apr 27 11:45:16 2000 Alexandre Oliva <aoliva@cygnus.com>
1502 * config/mn10300/mn10300.md (movqi): Simplify. Prefer data
1505 Thu Apr 27 16:11:00 MET DST 2000 Jan Hubicka <jh@suse.cz>
1507 * expr.c (store_expr): Use clear_storage instead of direct memset
1510 Thu Apr 27 10:36:51 2000 Alexandre Oliva <aoliva@cygnus.com>
1512 * config/mn10300/mn10300.c (mn10300_address_cost): Test
1513 ASHIFT, AND and LABEL_REF.
1515 Thu Apr 27 15:08:46 MET DST 2000 Jan Hubicka <jh@suse.cz>
1517 * invoke.texi (-foptimize-sibling-calls): Fix.
1519 Thu Apr 27 14:54:22 MET DST 2000 Jan Hubicka <jh@suse.cz>
1521 * loop.c (load_mems) Don't use hard registers for the hoisting.
1523 * unroll.c (unroll_loop): Avoid overflow in the n_iterations
1524 calculation; rename const_equiv array in the preconditioning code
1525 from loop_unroll to loop_unroll_precondition
1527 2000-04-27 Richard Henderson <rth@cygnus.com>
1529 * flow.c (struct propagate_block_info): Remove new_dead, new_live;
1531 (propagate_one_insn): Clear it. Don't update reg_live here.
1532 (init_propagate_block_info): Update for pbi member changes.
1533 (free_propagate_block_info): Likewise.
1534 (mark_set_1): Know that zero_extract, sign_extract, and
1535 strict_low_part don't kill their argument. Alter hard subregs.
1536 Update new_set for non-CLOBBER sets. Update reg_live.
1537 (find_auto_inc): Update reg_live, not new_dead.
1538 (mark_used_reg): Update reg_live, not new_live. Examine new_set
1539 to determine if the reg in question was set this insn. Only update
1540 reg info with PROP_REG_INFO.
1542 2000-04-26 Richard Henderson <rth@cygnus.com>
1544 * flow.c (allocate_reg_life_data): Set max_regno here ...
1545 (life_analysis): ... not here.
1547 * flow.c (calculate_global_regs_live): Force stack pointer
1550 2000-04-26 Richard Henderson <rth@cygnus.com>
1552 * jump.c (redirect_exp_1): Rework from old redirect_exp. Never
1553 commit change group changes.
1554 (invert_exp_1): Similarly.
1555 (redirect_exp, invert_exp): Use them.
1556 (redirect_jump_1): New.
1557 (invert_jump_1): New.
1558 (jump_optimize_1): Remove code subsumed by condexec.c.
1559 * rtl.h (invert_jump_1, redirect_jump_1): Declare.
1561 2000-04-26 Richard Henderson <rth@cygnus.com>
1563 * rtlanal.c (dead_or_set_regno_p): Use find_regno_note.
1565 * genconfig.c (main): Set all HAVE_foo to 1.
1567 * graph.c (node_data): Use GET_NOTE_INSN_NAME instead of local array.
1569 2000-04-26 Alex Samuel <samuel@codesourcery.com>
1571 * invoke.texi: Document -fssa flag.
1573 2000-04-26 Richard Henderson <rth@cygnus.com>
1575 * flow.c (count_reg_sets_1): Remove.
1576 (count_reg_sets, count_reg_references): Remove.
1577 (recompute_reg_usage): Implement with update_life_info.
1578 Reallocate life data.
1580 2000-04-26 Richard Henderson <rth@cygnus.com>
1582 * flow.c (update_life_info): Consider blocks null to mean the
1584 (calculate_global_regs_live): Likewise.
1585 (life_analysis): Do that instead of collecting all_blocks.
1587 2000-04-26 Richard Henderson <rth@cygnus.com>
1589 * flow.c (tidy_fallthru_edge): Don't delete the jump when it's
1590 a still-valid conditional jump.
1592 2000-04-26 Richard Henderson <rth@cygnus.com>
1594 * jump.c (invert_jump): Always invert REG_BR_PROB. Do it correctly.
1596 * bb-reorder.c (reorder_basic_blocks): Don't run estimate_probability.
1597 * flow.c (calculate_loop_depth): Remove.
1598 * output.h (calculate_loop_depth): Don't declare.
1599 * toplev.c (rest_of_compilation): Expand calculate_loop_depth
1600 inline; run estimate_probability at the same time.
1602 2000-04-26 Neil Booth <NeilB@earthling.net>
1604 * cpplib.h: "~=" is not a single pp-token.
1605 * cpplex.c: Correct commentary.
1607 2000-04-26 Richard Henderson <rth@cygnus.com>
1609 * flow.c (mark_set_1): New arguments code and flags; update all
1610 callers. Track regno_first and regno_last; do HARD_REGNO_NREGS
1611 test in one place. Tidy flags tests. Don't bias REG_N_REFS by
1612 loop_depth when optimizing for size. Do new_dead update after
1613 emitting REG_UNUSED notes. Merge mark_set_reg code.
1614 (mark_set_reg): Remove.
1615 (propagate_one_insn): Use mark_set_1 for call-clobbered registers;
1616 arrange to not emit REG_UNUSED notes.
1618 2000-04-26 Richard Henderson <rth@cygnus.com>
1620 * flow.c (find_auto_inc): Use pbi->bb instead of BLOCK_FOR_INSN.
1621 * ssa.c (convert_from_ssa): Don't run compute_bb_for_insn.
1623 2000-04-26 Richard Henderson <rth@cygnus.com>
1625 * flow.c (propagate_one_insn): Break out from propagate_block.
1626 (init_propagate_block_info): Likewise.
1627 (free_propagate_block_info): Likewise.
1628 (propagate_block): Use them. Export.
1629 * basic-block.h: Declare them all.
1631 2000-04-26 Richard Henderson <rth@cygnus.com>
1633 * basic-block.h (life_analysis): Declare here ...
1634 * output.h: ... not here.
1635 * flow.c (life_analysis): Remove nregs parameter; replace
1636 remove_dead_code with flags. Remove ssa dead code check.
1637 Only init alias analysis if we'll use it.
1638 * reg-stack.c (reg_to_stack): Update life_analysis arguments.
1639 * ssa.c (convert_to_ssa): Likewise.
1640 (convert_from_ssa): Likewise.
1641 * toplev.c (rest_of_compilation): Likewise.
1643 2000-04-26 Richard Henderson <rth@cygnus.com>
1645 * flow.c (flow_delete_block): Rename from delete_block. Export.
1646 * basic-block.h (flow_delete_block): Declare.
1648 2000-04-26 David S. Miller <davem@redhat.com>
1650 * optabs.c (emit_libcall_block): Verify insns with INSN_P before
1651 taking a PATTERN of it.
1653 2000-04-26 <NeilB@earthling.net>
1655 * cpplex.c (spell_other, spell_char): Remove.
1657 (token_spelling, trigraph_map): Use unsigned chars.
1658 (_cpp_lex_line): Tidy up the switch statement.
1659 * cpplib.h: Implement spell_char with spell_string.
1662 2000-04-26 <RodneyBrown@pmsc.com>
1664 * pa/pa32-regs.h (HARD_REGNO_MODE_OK): Warning removal.
1665 * pa/pa64-regs.h (HARD_REGNO_MODE_OK): Warning removal.
1667 2000-04-26 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1669 * dwarf2out.c (dw_cfi_oprnd_struct, dw_fde_struct, add_fde_cfi,
1670 reg_save, dwarf2out_frame_debug_expr, dwarf2out_def_cfa,
1671 dwarf2out_window_save, dwarf2out_args_size, dwarf2out_reg_save,
1672 dwarf2out_return_save, dwarf2out_return_reg,
1673 dwarf2out_stack_adjust, dwarf2out_frame_debug, primary_filename,
1674 add_AT_lbl_id, add_AT_lbl_offset, type_tag, decl_start_label,
1675 gen_compile_unit_die, dwarf2out_init): Constify a char*.
1677 * dwarf2out.h (dwarf2out_init): Likewise.
1679 * dwarfout.c (filename_entry, primary_filename, last_filename,
1680 type_tag, output_compile_unit_die, dwarfout_init): Likewise.
1682 * tree.h (dwarf2out_def_cfa, dwarf2out_window_save,
1683 dwarf2out_args_size, dwarf2out_reg_save, dwarf2out_return_save,
1684 dwarf2out_return_reg): Likewise.
1686 2000-04-26 Andreas Jaeger <aj@suse.de>
1688 * extend.texi (Function Attributes): Fix description of pure
1691 2000-04-26 Jason Merrill <jason@casey.cygnus.com>
1693 * integrate.c (output_inline_function): Do clear DECL_DEFER_OUTPUT
1694 before calling rest_of_compilation.
1696 2000-04-26 Andreas Jaeger <aj@suse.de>
1698 * config/mips/linux.h: Remove erroneous commit of #if 0/#endif in
1701 2000-04-25 Richard Henderson <rth@cygnus.com>
1703 * cse.c (cse_insn): Emit barrier after unconditional jump.
1705 * calls.c (expand_call): Disable tail call generation once
1706 rtx_equal_function_value_matters is false.
1708 * reg-stack.c (convert_regs_1): Treat EDGE_ABNORMAL_CALL edges
1711 2000-04-25 Jason Merrill <jason@casey.cygnus.com>
1713 * dwarf2out.c (add_bound_info): Don't crash on an unexpanded SAVE_EXPR.
1715 * dwarfout.c (output_decl): Ignore NAMESPACE_DECLs.
1717 * dwarf2out.c (gen_subprogram_die): The class-scope declaration DIE
1718 is the primary DIE for a member function.
1719 (gen_decl_die): Call set_decl_origin_self here.
1720 * dwarfout.c (output_decl): And here.
1721 * integrate.c (output_inline_function): Not here.
1722 Don't clear DECL_INLINE until after calling rest_of_compilation.
1723 (set_decl_origin_self): No longer static.
1724 * tree.h: Add prototype.
1725 * toplev.c (note_deferral_of_defined_inline_function): Only write
1726 out abstract instance for actual inlines.
1728 2000-04-25 Alexandre Oliva <aoliva@cygnus.com>
1730 * config/mn10300/mn10300.h (REG_CLASS_FROM_LETTER): Return
1731 EXTENDED_REGS only if TARGET_AM33.
1732 * config/mn10300/mn10300.md (movsi, addsi): Avoid exposing
1733 SP_REGS to register allocation and reloading unless absolutely
1735 (movsi3): Remove special-case of adding non-constants to SP.
1737 2000-04-25 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1739 * aclocal.m4 (gcc_AC_NEED_DECLARATION): This macro now requires
1740 INCLUDES to search and does not provide any of its own. Also it
1741 now accepts optional ACTION-IF-NEEDED and ACTION-IF-NOT-NEEDED
1742 parameters. Also it does not call AC_DEFINE.
1743 (gcc_AC_NEED_DECLARATIONS): Likewise. Also this macro now calls
1744 AC_DEFINE and provides for automatic entries for autoheader.
1745 (gcc_AC_FUNC_PRINTF_PTR): Cleanup C code in test.
1747 * configure.in (gcc_AC_NEED_DECLARATIONS): Save and restore CFLAGS
1748 so we can pass -I flags and include gansidecl.h/system.h in this
1751 * acconfig.h: Delete all NEED_DECLARATION_* entries.
1753 2000-04-25 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1755 * acconfig.h (ENABLE_STD_NAMESPACE, ENABLE_CHECKING,
1756 ENABLE_TREE_CHECKING, ENABLE_RTL_CHECKING, ENABLE_GC_CHECKING,
1757 ENABLE_GC_ALWAYS_COLLECT): Delete entries.
1759 * configure.in (ENABLE_STD_NAMESPACE, ENABLE_CHECKING,
1760 ENABLE_TREE_CHECKING, ENABLE_RTL_CHECKING, ENABLE_GC_CHECKING,
1761 ENABLE_GC_ALWAYS_COLLECT): Use three argument form of AC_DEFINE
1762 for these macros. Clean up spacing and linewraps.
1764 2000-04-26 Jason Merrill <jason@casey.cygnus.com>
1766 * calls.c (expand_call): Use get_callee_fndecl.
1768 * print-tree.c (print_node): Print the chain of an _EXPR.
1770 Tue Apr 25 16:16:04 2000 Andrew MacLeod <amacleod@cygnus.com>
1771 Jim Wilson <wilson@cygnus.com>
1772 Andrew Haley <aph@cygnus.com>
1774 * config/ia64/crtbegin.asm: Add IA-64 unwind support. Correct alloc
1775 and gp save/restore problems.
1776 * config/ia64/crtend.asm: Add IA-64 unwind support.
1777 * config/ia64/ia64.c (ia64_compute_frame_size): Don't include pr_size
1778 in fr_pad_size calculation.
1779 (save_restore_insns): Move PR save area. Correct uses of
1780 RTX_FRAME_RELATED_P.
1781 (ia64_expand_prologue): Mark alloc with RTX_FRAME_RELATED_P.
1782 (ia64_expand_epilogue): Add eh_epilogue support.
1783 (ia64_function_prologue): Emit .prologue directive.
1784 (ia64_init_machine_status, ia64_mark_machine_status): New functions.
1785 (ia64_override_options): Set init_machine_status and
1786 mark_machine_status.
1787 (rtx_needs_barrier): Handle bsp reads and writes.
1788 (spill_offset, sp_offset, spill_offset_emitted, tmp_reg, tmp_saved):
1789 New static variables.
1790 (process_set, process_for_unwind_directive): New functions.
1791 * config/ia64/ia64.h (ASM_OUTPUT_XDATA_CHAR, ASM_OUTPUT_XDATA_SHORT,
1792 ASM_OUTPUT_XDATA_INT, ASM_OUTPUT_XDATA_DOUBLE_INT, ASM_OUTPUT_EH_CHAR,
1793 ASM_OUTPUT_EH_SHORT, ASM_OUTPUT_EH_INT, ASM_OUTPUT_EH_DOUBLE_INT): New
1795 (EH_FRAME_SECTION_ASM_OP): Define to IA_64.unwind section.
1796 (IA64_UNWIND_INFO, HANDLER_SECTION, IA64_UNWIND_EMIT): Define.
1797 (struct machine_function): Define.
1798 * config/ia64/ia64.md (bsp_value, set_bsp, eh_epilogue): New patterns.
1800 2000-04-25 Bruce Korb <bkorb@gnu.org>
1802 * fixinc/Makefile.in: make the removal of old programs more
1804 * fixinc/mkfixinc.sh: use the two new targets in the Makefile:
1805 install-bin and install-sh
1807 2000-04-25 Nick Clifton <nickc@cygnus.com>
1809 * integrate.c (FUNCTION_ATTRIBUTE_INLINABLE_P): If not
1810 defined, define to return zero.
1811 (function_cannot_inline_p): If a function has any target
1812 specific attributes, then use the macro
1813 FUNCTION_ATTRIBUTE_INLINABLE_P to allow the target to decide
1814 whether it can be inlined. If it cannot, issue a suitable
1817 * tm.texi: Add a new node 'Inlining' to document the new macro
1818 FUNCTION_ATTRIBUTE_INLINABLE_P.
1820 2000-04-25 Zack Weinberg <zack@wolery.cumb.org>
1822 * cpplib.h (struct cpp_buffer): Add 'mapped' flag; fix
1825 2000-04-25 Neil Booth <NeilB@earthling.net>
1827 Restore previous patch, plus the following fixes:
1829 * cpphash.c (_cpp_create_definition): Test PREV_WHITESPACE in
1830 flags, not CPP_OPEN_PAREN.
1831 * cpplex.c (expand_token_space, init_token_list,
1832 cpp_free_token_list): Put the dummy token at list->tokens[-1].
1833 (_cpp_lex_line, _cpp_lex_file): token list is 0-based.
1835 Tue Apr 25 14:06:40 2000 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
1837 * config/i386/freebsd.h (INT_ASM_OP): Define.
1839 Tue Apr 25 14:51:07 MET DST 2000 Jan Hubicka <jh@suse.cz>
1841 * loop.c (strength_reduce): Fix typo in the last checkin.
1843 Tue Apr 25 07:33:12 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1845 * stor-layout.c (finalize_record_size): Simplify to use existing
1847 (compute_record_mode): No longer static.
1848 * tree.h (compute_record_mode): New declaration.
1850 2000-04-25 Neil Booth <NeilB@earthling.net>
1852 * Revert my patch below until cause of build failures
1855 2000-04-25 Richard Henderson <rth@cygnus.com>
1857 * combine.c (combine_instructions): Add missing argument
1860 * toplev.c (rest_of_compilation): Delay sibcall optimization
1861 until after emit_eh_context.
1863 2000-04-24 Nick Clifton <nickc@redhat.com>
1865 * combine.c (combine_instructions): Do not try to combine a
1866 sequence of insns when the second insn has been replaced by a
1869 Mon Apr 24 17:34:18 2000 Mumit Khan <khan@xraylith.wisc.edu>
1871 * gcc.c (load_specs): New static function.
1872 (read_specs): Use it.
1874 * gcc.c (lookup_compiler): Make multiple passes for case
1875 insensitive filesystems.
1877 2000-04-24 Neil Booth <NeilB@earthling.net>
1879 * cpphash.c: replace HSPACE_BEFORE with PREV_WHITESPACE.
1880 * cpphash.h (_cpp_check_directive): new.
1881 * cpplex.c (handle_newline, cpp_free_token_list,
1882 init_trigraph_map, trigraph_ok, trigraph_replace,
1883 backslash_start, skip_block_comment, skip_line_comment,
1884 skip_whitespace, parse_name, parse_number, parse_string,
1885 copy_comment, _cpp_lex_line, spell_char, spell_string,
1886 spell_comment, spell_name, spell_other, _cpp_lex_file,
1887 _cpp_output_list): new.
1888 (expand_name_space): take length argument.
1889 (init_token_list): add comment list initialisation.
1890 (cpp_scan_line): use auto_expand_name_space. PREV_WHITESPACE
1891 instead of HSPACE_BEFORE.
1893 * cpplib.c (_cpp_check_directive): new
1894 * cpplib.h (cpp_name, PREV_WHITESPACE, PREV_COMMENT,
1895 DIGRAPH, UNSIGNED_INT, TOK_NAME): new.
1896 (HSPACE_BEFORE): delete.
1897 (TTYPE_TABLE): rearrange.
1898 (struct cpp_toklist): update.
1900 2000-04-24 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1902 * aclocal.m4 (gcc_AC_HEADER_STRING, gcc_AC_FUNC_PRINTF_PTR,
1903 gcc_AC_C_VOLATILE, gcc_AC_FUNC_MKDIR_TAKES_ONE_ARG): Use the three
1904 argument form of AC_DEFINE.
1906 * configure.in (DEFAULT_LINKER, DEFAULT_ASSEMBLER,
1907 HAVE_INTTYPES_H, PACKAGE, VERSION, ENABLE_WIN32_REGISTRY,
1908 WIN32_REGISTRY_KEY, HAVE_GAS_SUBSECTION_ORDERING, HAVE_GAS_WEAK,
1909 HAVE_GAS_HIDDEN, HAVE_AS_REGISTER_PSEUDO_OP, AS_SPARC64_FLAG,
1910 HAVE_AS_OFFSETABLE_LO10, ENABLE_NEW_GXX_ABI): Likewise.
1912 * acconfig.h: Delete stubs made redundant by 3-arg AC_DEFINE.
1914 2000-04-24 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1916 * Makefile.in (GCC_FOR_TARGET, GCC_CFLAGS, LIBGCC2_INCLUDES,
1917 deduced.h): Use -isystem, not -I, for including system headers.
1919 2000-04-24 Nick Clifton <nickc@cygnus.com>
1921 * config/fr30/fr30.md (addsi3): Do not use small add instruction if
1922 the source register is the frame pointer or arg pointer.
1923 (addsi3_small_int): Disallow if source register is the frame
1924 pointer or arg pointer.
1926 2000-04-24 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1928 * configure.in (ENUM_BITFIELDS_ARE_UNSIGNED): Delete redundant
1929 call to AC_MSG_RESULT.
1931 2000-04-24 Martin v. Löwis <loewis@informatik.hu-berlin.de>
1933 * invoke.texi: Correct grammatical errors, document
1934 -fno-gnu-keywords as identical to -fno-asm for C++.
1936 2000-04-24 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1938 * aclocal.m4: (GCC_HEADER_STRING, GCC_NEED_DECLARATION,
1939 GCC_NEED_DECLARATIONS, GCC_FUNC_VFPRINTF_DOPRNT,
1940 GCC_FUNC_PRINTF_PTR, GCC_PROG_LN_S, GCC_PROG_LN, GCC_C_VOLATILE,
1941 AC_GCC_C_LONG_DOUBLE, GCC_FUNC_MKDIR_TAKES_ONE_ARG,
1942 EGCS_PROG_INSTALL): Rename autoconf macros with prefix gcc_AC_.
1944 * configure.in (AC_GCC_C_LONG_DOUBLE, GCC_PROG_LN, GCC_PROG_LN_S,
1945 GCC_C_VOLATILE, EGCS_PROG_INSTALL, GCC_HEADER_STRING,
1946 GCC_FUNC_VFPRINTF_DOPRNT, GCC_FUNC_PRINTF_PTR,
1947 GCC_NEED_DECLARATIONS, GCC_FUNC_MKDIR_TAKES_ONE_ARG): Invoke with
1950 2000-04-24 Mumit Khan <khan@xraylith.wisc.edu>
1952 * c-pragma.c (push_alignment): Use BITS_PER_UNIT macro.
1953 (pop_alignment): Likewise.
1954 (handle_pragma_token): Likewise.
1956 2000-04-24 Robert Lipe <robertlipe@usa.net>
1958 * tree.h (tree_decl): Member `mode' now ENUM_BITFIELD.
1960 2000-04-24 Hiroyuki Machida <machida@sm.sony.co.jp>
1962 * combine.c (try_combine): Update reg_nonzero_bits of
1963 newi2pat before newpat.
1965 Mon Apr 24 10:19:48 MET DST 2000 Jan Hubicka <jh@suse.cz>
1967 * loop.c (strength_reduce): Simplify test to INSN_P.
1968 (record_giv): Attempt to simplify the add value, use CONSTANT_P
1969 expressions instead of CONST_INT.
1970 (express_from_1): Likewise.
1972 2000-04-24 Mark Mitchell <mark@codesourcery.com>
1974 * regs.h (reg_n_max): Don't declare.
1975 * flow.c (reg_n_max): Don't define.
1976 * regclass.c (renumber): Don't initialize to zero.
1977 (regno_allocated): Likewise.
1978 (reg_n_max): Define.
1979 (allocate_reg_info): Don't initialize unnecessarily.
1981 Mon Apr 24 00:21:36 2000 Jeffrey A Law (law@cygnus.com)
1983 * genattrtab.c (find_attr): Initialize unsigned_p, func_units_p
1984 and blockage_p in the newly allocated attribute.
1986 Sun Apr 23 20:16:49 2000 Alexandre Oliva <aoliva@cygnus.com>
1988 * config/mn10300/mn10300.md (addsi): `inc4' on address
1989 registers does not modify cc, but `inc' on an extended
1992 Sun Apr 23 16:24:35 2000 Denis Chertykov <denisc@overta.ru>
1994 * reload.c (find_equiv_reg): Checks all valueno regs
1995 as a reload_reg_p regs.
1997 2000-04-23 Zack Weinberg <zack@wolery.cumb.org>
1999 * cpphash.c (collect_objlike_expansion): Add sanity check.
2000 (special_symbol): Remove case T_CONST, T_XCONST, T_MCONST. If
2001 the buffer is the empty string, return. Mark __DATE__ and
2002 __TIME__ as XCONST nodes, not MCONST.
2003 (_cpp_macroexpand): Avoid pushing an empty buffer.
2004 (funlike_macroexpand): Don't pop token_buffer here.
2006 Sun Apr 23 18:37:53 2000 Alexandre Oliva <aoliva@cygnus.com>
2008 * config/mn10300/mn10300.h (REGNO_IN_RANGE_P): New macro.
2009 (REGNO_DATA_P, REGNO_ADDRESS_P, REGNO_SP_P): New macros.
2010 (REGNO_EXTENDED_P, REGNO_AM33_P): New macros.
2011 (REGNO_OK_FOR_BASE_P): Define in terms of them.
2012 (REGNO_OK_FOR_BIT_BASE_P, REGNO_OK_FOR_INDEX_P): Likewise.
2013 (REG_OK_FOR_BASE_P): Define in terms of the REGNO macro.
2014 (REG_OK_FOR_BIT_BASE_P, REG_OK_FOR_INDEX_P): Likewise.
2016 Sun Apr 23 22:23:08 MET DST 2000 Jan Hubicka <jh@suse.cz>
2018 * loop.c (simplify_giv_expr): Be more agressive on simplifying
2021 2000-04-23 Zack Weinberg <zack@wolery.cumb.org>
2023 * cpphash.h (struct definition): Move file, line, col members...
2024 (struct hashnode): ... here. Also add 'disabled' flag.
2025 (enum node_type): Add T_VOID, T_XCONST, T_FMACRO, and
2026 T_IDENTITY. Remove T_DISABLED.
2029 * cpphash.c (_cpp_dump_definition): Split out dump_DEFINITION.
2030 (collect_expansion): Split into collect_objlike_expansion and
2031 collect_funlike_expansion.
2032 (_cpp_macroexpand): Split out scan_arguments, stringify, and
2033 funlike_macroexpand.
2034 (_cpp_compare_defs): Rename compare_defs, make static.
2035 (_cpp_make_hashnode): Initialize hp->disabled.
2036 (macro_cleanup): Adjust for new token types. Clear
2038 (_cpp_create_definition): Move code here to determine what
2039 sort of macro it is, and code to check for redefinitions, from
2040 do_define. Implement a few simple cases without creating a
2042 (_cpp_macroexpand, special_symbol, _cpp_dump_definition):
2043 Handle the simple cases.
2044 (push_macro_expansion): Set buf->has_escapes and hp->disabled
2047 * cppinit.c (builtin_array): Change MCONST to XCONST
2049 * cpplex.c (maybe_macroexpand): Handle IDENTITY macros here;
2050 fix check for disabled and function-like macros.
2051 * cpplib.c (do_define): Move most logic to
2052 _cpp_create_definition.
2053 (do_undef): Handle new special token types.
2055 Sun Apr 23 14:27:44 MET DST 2000 Jan Hubicka <jh@suse.cz>
2057 * loop.c (maybe_eliminate_biv_1): Use GET_CODE (x) == CONST_INT instead
2058 of CONSTANT_P for mult_val; always use validate_change to update insn.
2060 2000-04-22 Zack Weinberg <zack@wolery.cumb.org>
2062 * cpphash.c (trad_stringify, add_pat): New functions.
2063 (collect_expansion): Restore support for -traditional syntax.
2064 Use trad_stringify and add_pat.
2065 (_cpp_macroexpand): Restore support for -traditional semantics.
2066 * cpplex.c (_cpp_scan_line): Don't change space_before if we
2067 get a COMMENT token.
2068 (_cpp_lex_token): Provide COMMENT tokens to caller if
2069 traditional and parsing_define_directive.
2070 (skip_comment): Warn about // comments if -Wtraditional.
2071 * cpplib.c (do_define): Fix typo. Create EMPTY nodes with
2073 (do_undef): Don't warn about undefining EMPTY nodes.
2075 Sat Apr 22 22:35:38 MET DST 2000 Jan Hubicka <jh@suse.cz>
2077 * loop.c (strength_reduce): Fix biv removal code.
2079 2000-04-22 Richard Henderson <rth@cygnus.com>
2081 * predict.c (estimate_probability): Examine both sides of
2082 a branch for no exits. Use 90% not 50% for predict taken.
2083 Reorg for one copy of note generation code.
2085 2000-04-22 Richard Henderson <rth@cygnus.com>
2087 * flow.c (mark_used_reg): Hack around rs6000 eliminable pic reg.
2089 2000-04-22 Richard Henderson <rth@cygnus.com>
2091 * diagnostic.c (init_output_buffer): Don't initialize format_args.
2092 (output_clear): Likewise.
2093 (output_printf): Use va_copy.
2094 (vline_wrapper_message_with_location): Likewise.
2095 (v_message_with_decl): Likewise.
2096 (line_wrapper_printf): VA_START infor buffer.format_args directly.
2097 * system.h (va_copy): Provide default implementation.
2099 2000-04-22 Richard Henderson <rth@cygnus.com>
2101 * predict.c (expected_value_to_br_prob): Don't bomb if op1 of
2102 the collected condition is not a constant.
2104 2000-04-22 Gabriel Dos Reis <gdr@codesourcery.com>
2106 * diagnostic.h: New file.
2108 * Makefile.in (diagnostic.o): Depends on diagnostic.h
2110 * diagnostic.c: Tweak. Rationalize the output logic. Adjust
2111 various function prototypes.
2112 (diagnostic.h): #include.
2113 (struct output_buffer): Move into diagnostic.h.
2114 (get_output_prefix): Rename to output_get_prefix. Export.
2115 (init_output_buffer): Export. Break out. Ajust intialization.
2116 (output_space_left, output_append): Export.
2117 (output_newline): Rename to output_add_newline. Export.
2118 (output_clear): Nullify additional output_buffer fields.
2119 (output_puts): Rename to output_add_string. Export.
2120 (dump_output): Rename to output_flush_on. Export.
2121 (build_location_prefix): Constify return-type.
2122 (emit_output_prefix): Rename to output_emit_prefix. Export.
2123 (set_real_maximum_length): New function.
2124 (output_set_maximum_length): Ditto
2125 (output_clear): Ditto.
2126 (output_add_character): Ditto.
2127 (output_add_integer): Ditto.
2128 (output_add_space): Ditto.
2129 (output_format): Ditto.
2130 (output_printf): Adjust buffer initialization.
2131 (vline_wrapper_message_with_location): Ditto.
2132 (v_message_with_decl): Ditto. Adjust call to output_puts
2133 and get_output_prefix.
2134 (default_print_error_function): Adjust buffer intialization.
2136 Sat Apr 22 06:45:04 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
2138 * expr.c (preexpand_calls, case CALL_EXPR): Don't look at TYPE_SIZE
2141 Fri Apr 21 18:33:09 2000 Alexandre Oliva <aoliva@cygnus.com>
2143 * config/mn10300/mn10300.h (REGNO_REG_CLASS): Use NO_REGS instead
2146 Fri Apr 21 18:30:00 2000 Alexandre Oliva <aoliva@cygnus.com>
2148 * config/mn10300/mn10300.h (REGISTER_MOVE_COST): Provide more
2149 accurate data about SP moves.
2151 Fri Apr 21 18:28:28 2000 Alexandre Oliva <aoliva@cygnus.com>
2153 * config/mn10300/mn10300.h (ADDITIONAL_REGISTER_NAMES): Added
2154 aliases to AM33 registers.
2156 Fri Apr 21 18:26:17 2000 Alexandre Oliva <aoliva@cygnus.com>
2158 * config/mn10300/mn10300.h (REG_CLASS_CONTENTS): Added register 16
2159 to all EXTENDED bitmaps.
2161 Fri Apr 21 18:17:12 2000 Alexandre Oliva <aoliva@cygnus.com>
2163 * config/mn10300/mn10300-protos.h (mn10300_address_cost): Declare.
2164 * config/mn10300/mn10300.h (ADDRESS_COST): New macro.
2165 * config/mn10300/mn10300.c (mn10300_address_cost): New function.
2167 Fri Apr 21 18:11:56 2000 Alexandre Oliva <aoliva@cygnus.com>
2169 * config/mn10300/mn10300.md (movdi, movdf): Do not use `movu' when
2170 the operand is not constant.
2172 Fri Apr 21 14:58:29 2000 Denis Chertykov <denisc@overta.ru>
2174 * reload.c (find_equiv_reg): Checks all valueno and regno regs
2175 as a call-clobbered regs.
2177 Fri Apr 21 13:30:26 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
2179 * rtl.c: Use NOTE_INSN_REPEATED_LINE_NUMBER and NOTE_INSN_RANGE_BEG.
2181 * rtl.def: Update comment.
2182 * function.c (expand_function): Use NOTE_INSN_REPEATED_LINE_NUMBER.
2183 * integrate.c (expand_inline_function): Likewise.
2184 * profile.c (branch_prob): Likewise.
2185 * ggc-common.c (ggc_mark_rtx_children): Use NOTE_INSN_RANGE_BEG.
2186 * print-rtl.c (print_rtx): Likewise.
2187 * haifa-sched.c (sched_analyze, unlink_other_notes): Likewise.
2188 (reemit_notes): Likewise; also use enum insn_note.
2190 * stor-layout.c (layout_decl): Only set DECL_MODE if not already set.
2191 (place_field): Properly compute know and actual alignment.
2193 * gengenrtl.c (gencode): Write obstack_alloc_rtx function start
2196 * cse.c (cse_insn): In (set REG0 REG1) case, remove a REG_EQUAL
2199 2000-04-21 Zack Weinberg <zack@wolery.cumb.org>
2201 * cpphash.c (struct arg, struct arglist): Const-ify strings.
2202 (warn_trad_stringify, duplicate_arg_p): New helper functions.
2203 (collect_expansion): Rewrite to scan over a token list.
2204 Remove -traditional support.
2205 (collect_formal_parameters): Rename to collect_params; rewrite
2206 to scan over a token list.
2207 (_cpp_create_definition): Adjust to scan a token list.
2208 (_cpp_macroexpand): Remove -traditional support.
2209 (_cpp_compare_defs): Whitespace is now canonicalized.
2210 (comp_def_part): Delete function.
2212 * cpphash.h: Update prototypes.
2213 * cpplex.c (init_token_list): Don't set lineno if there is no
2215 (pedantic_whitespace): New function.
2216 (_cpp_scan_line): Mark tokens that had hspace before. Don't
2217 consume a newline. Use pedantic_whitespace.
2218 (_cpp_lex_token): Remove support for -traditional macros.
2219 (_cpp_get_define_token): Delete.
2220 (_cpp_get_directive_token): Do the real work here. Use
2221 pedantic_whitespace.
2222 (_cpp_init_input_buffer): Initialize pfile->directbuf.
2224 * cpplib.c (get_macro_name): Delete.
2225 (do_define): Read the entire line into pfile->directbuf, then
2226 feed the token list to _cpp_create_definition.
2227 * cpplib.h (HSPACE_BEFORE): new define.
2228 (struct cpp_reader): Add a toklist member, "directbuf".
2230 * predict.c (estimate_probability): New heuristic: if a jump
2231 branches around a block with no successors, predict it taken.
2232 Disentangle control flow.
2234 2000-04-20 Richard Henderson <rth@cygnus.com>
2236 * loop.c (emit_iv_add_mult): Revert last change.
2238 2000-04-20 Zack Weinberg <zack@wolery.cumb.org>
2240 * cpplib.h (enum cpp_ttype): Add token types for all
2241 punctuators. Distinguish pp-numbers from valid C numbers.
2242 Give some tokens better names. Initialize from macro.
2243 (struct cpp_name, cpp_token, cpp_toklist): New data
2246 * cpplex.c (bump_column, expand_name_space,
2247 expand_token_space, init_token_list, cpp_output_list,
2248 _cpp_scan_line): New functions.
2249 (output_line_command): Add third argument, new line number.
2250 * cpphash.h: Update prototypes.
2251 * cppexp.c, cpphash.c, cpplib.c, scan-decls.c: Update for new
2254 2000-04-20 Richard Henderson <rth@cygnus.com>
2256 * config/alpha/alpha.c (alpha_emit_floatuns): Emit missing barrier.
2258 2000-04-20 Zack Weinberg <zack@wolery.cumb.org>
2260 * c-common.c (decl_attributes) [A_ALIAS]: Set TREE_USED on the
2263 Thu Apr 20 14:19:18 MET DST 2000 Jan Hubicka <jh@suse.cz>
2265 * loop.c (emit_iv_add_mult): Simplify it's input and emit
2266 REG_EQUAL note explaining the calculated value.
2268 * calls.c (expand_call): Avoid unnecesary precalculation
2269 and outgoing parameters space guarding for sibling calls.
2270 (store_one_arg): Likewise.
2272 Thu Apr 20 08:01:07 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
2274 * toplev.c (enum dump_file_index, dump_file): Add DFI_sibling.
2275 (rest_of_compilation): Write sibling dump file and account
2276 for time as jump time.
2277 * invoke.texi: Update documentation on dump flags.
2279 2000-04-19 Marek Michalkiewicz <marekm@linux.org.pl>
2281 * avr.c: #include "system.h" instead of <stdio.h> and <stdlib.h>.
2283 2000-04-19 Zack Weinberg <zack@wolery.cumb.org>
2285 * cpphash.c (special_symbol): Represent an empty macro with
2286 "\r \r " not just "\r ".
2287 (_cpp_macroexpand): Correct condition for the foo ( ) special
2289 (unsafe_chars): Handle EOF as second argument.
2290 (push_macro_expansion): Simplify test for removing escape at
2291 end. Do not trim both escapes if there is no text in between.
2293 2000-04-19 Jim Blandy <jimb@redhat.com>
2295 * dwarf2out.c (DWARF2_ADDR_SIZE): New macro. Use it instead
2296 of PTR_SIZE, when appropriate.
2298 2000-04-19 Mark Mitchell <mark@codesourcery.com>
2300 * system.h (ONLY_INT_FIELDS): Make sure it is defined.
2301 (USE_ENUM_BITFIELDS): Fix typo.
2303 Wed Apr 19 12:14:55 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
2305 * stor-layout.c (place_field): Set rli->offset_align properly.
2307 2000-04-19 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2309 * mips.h (BITS_PER_WORD, UNITS_PER_WORD, UNITS_PER_FPREG,
2310 INT_TYPE_SIZE, LONG_TYPE_SIZE, POINTER_SIZE, POINTER_BOUNDARY,
2311 PARM_BOUNDARY): Remove unnecessary casts.
2313 Wed Apr 19 12:02:37 MET DST 2000 Jan Hubicka <jh@suse.cz>
2315 * calls.c (precompute_arguments): Remove must_preallocate and
2317 (expand_call): Update call of precompute_arguments.
2319 * loop.c (check_insn_for_bivs, for_every_insn_in_loop,
2320 check_insn_for_givs): Break out from ...
2321 (strength_reduce) ... here; use for_every_insn_in_loop to call
2322 check_insn_for_givs.
2323 * loop.h (for_every_insn_in_loop): Declare.
2324 (loop_insn_callback): New type.
2326 2000-04-18 Zack Weinberg <zack@wolery.cumb.org>
2328 * cpplib.c (do_pragma_poison): Strings in the token buffer are
2331 Tue Apr 18 16:04:12 2000 Jim Wilson <wilson@cygnus.com>
2333 * config/ia64/sysv4.h (SELECT_SECTION): Use data_section if
2336 2000-04-18 Zack Weinberg <zack@wolery.cumb.org>
2338 * cccp.c, cexp.y, cexp.c, cccp.1: Removed.
2340 * configure.in: Delete --disable-cpplib option and all
2341 references to cpp_main.
2342 * configure: Regenerate.
2343 * Makefile.in: Remove all references to CCCP, CCCP_OBJS,
2344 @cpp_main@, cccp.c, cexp.c, cexp.y, cexp.output, cexp.o,
2345 cccp.o, cccp, or cppmain. Link cppmain.o straight to
2346 cpp$(exeext). Add --no-headers to makeinfo command line when
2347 generating INSTALL. Install and uninstall cpp.1 manpage, not
2349 * install.texi: Delete all references to cexp.y/cexp.c.
2350 Delete ancient instructions for compiling GCC on 3b1.
2351 * INSTALL: Regenerate.
2353 * cppfiles.c, cpplib.h, jump.c, protoize.c, c-lex.c, mips/t-ecoff,
2354 mips/t-elf, mips/t-r3900: Remove references to cccp.c.
2355 * convex.h, fx80.h, m68k.h, pdp11.h: Remove references to
2357 * xm-linux.h, xm-os2.h, romp.h: Remove definition of BSTRING,
2358 which is no longer tested anywhere.
2360 * cppinit.c (handle_option): Don't run error message through
2363 Tue Apr 18 14:16:47 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
2365 * conflict.c (conflict_graph_add): Pass enum type to htab_find_slot.
2366 * cpperror.c (hashtab.h): Now include.
2367 * cppexp.c (hashtab.h): Likewise.
2368 * cpplex.c (hashtab.h): Likewise.
2369 * cppfiles.c (hashtab.h): Likewise.
2370 (find_include_file, _cpp_calc_hash, cpp_read_file): Pass enum type
2371 to htab_find_slot_with_hash.
2372 * cpphash.c (hashtab.h): Now include.
2373 (_cpp_lookup_slot): INSERT is now enum insert_option.
2374 * cpphash.h (_cpp_lookup_slot): Likewise.
2375 * cppinit.c (hashtab.h): Include earlier.
2376 (initialize_builtins): Pass enum to htab_find_slot.
2377 * cpplib.c (hashtab.h): Now include.
2378 (do_define, do_undef): Pass enum type to _cpp_lookup_slot.
2379 (do_pragma_poison, do_assert): Likewise.
2380 * emit-rtl.c (gen_rtx_CONST_INT): Pass enum to
2381 htab_find_slot_with_hash.
2382 * simplify-rtx.c (cselib_lookup_mem, cselib_lookup): Likewise.
2383 * tree.c (type_hash_add): Likewise.
2384 (build1): Minor cleanup.
2386 * ggc-common.c: Add missing blanks.
2387 * print-tree.c (print_node): Print DECL_OFFSET_ALIGN.
2388 * tree.h (DECL_OFFSET_ALIGN): Fix typo in comment.
2390 * stmt.c (mark_case_node): New function.
2391 (mark_case_nesting): Call it.
2393 * expmed.c (emit_store_flag): If comparing two-word integer
2394 with zero, can optimize NE, EQ, GE, and LT.
2396 * c-decl.c (mark_binding_level): Use 'for' instead of `while'.
2397 * conflict.c: Minor cleanups.
2398 * optabs.c: Add blank line
2399 * simplify-rtx.c: Minor cleanups.
2401 2000-04-18 Stan Cox <scox@cygnus.com>
2403 * gengenrtl.c (genlegend): Fix misspelling.
2405 2000-04-18 Robert Lipe <robertlipe@usa.net>
2407 * configure.in (ENUM_BITFIELDS_ARE_UNSIGNED): Added. Check that
2408 bitfields of the host compiler are not signed quantities.
2409 * config.in: Regenerate.
2410 * configure: Regenerate.
2411 * system.h (USE_ENUM_BITFIELDS): Added.
2412 (ENUM_BITFIELDS): Added.
2413 * rtl.h (rtx_def): Members `code', `mode', now ENUM_BITFIELD.
2414 (SHORT_ENUM_BUG): Deleted.
2415 * tree.h (tree_common): Members `code', `mode', `built_in_class',
2417 * config/i386/xm-sco.h (ONLY_INT_FIELDS): Deleted.
2418 (CODE_FIELD_BUG): Likewise.
2419 * config/m68k/x-apollo68 (CC): Deleted SHORT_ENUM_BUG.
2421 * config/m68k/x-ccur (X_CFLAGS): Likewise.
2423 2000-04-18 Mark Mitchell <mark@codesourcery.com>
2425 * cpplex.c (_cpp_lex_token): Don't call CPP_BUMP_LINE when the
2428 2000-04-17 Zack Weinberg <zack@wolery.cumb.org>
2430 * cppexp.c (lex): Don't assume tokens are NUL terminated.
2431 * cpplib.c (do_include, do_import, do_include_next,
2432 read_line_number, detect_if_not_defined): Likewise.
2433 * cpphash.c (collect_expansion): Likewise.
2434 (special_symbol, _cpp_macroexpand): Check return from
2436 * cpphash.h (CPP_NUL_TERMINATE, CPP_NUL_TERMINATE_Q): Delete
2437 macros. Delete all uses.
2439 * gcc.dg/cpp-mi.c: Add two more test cases.
2440 * gcc.dg/cpp-mind.h, gcc.dg/cpp-mindp.h: New files.
2442 2000-04-17 Richard Henderson <rth@cygnus.com>
2444 * bb-reorder.c (fixup_reorder_chain): Don't look up new block again.
2445 (reorder_basic_blocks): If no epilogue in rtl, force last block last.
2447 2000-04-17 Mark Mitchell <mark@codesourcery.com>
2449 * function.c (expand_function_start): Use hard_function_value to
2450 compute the RTL to use for DECL_RESULT.
2452 Mon Apr 17 23:35:29 MET DST 2000 Jan Hubicka <jh@suse.cz>
2454 * i386.c (athlon_cost): Fix lea, divide and XFmode move costs.
2455 (x86_integer_DFmode_moves, x86_partial_reg_dependency,
2456 x86_memory_mismatch_stall): New global variables.
2457 (ix86_adjust_cost): Handle MEMORY_BOTH on places MEMORY_STORE was only
2458 alloved; fix load penalties for Athlon.
2459 * i386.h (x86_integer_DFmode_moves, x86_partial_reg_dependency,
2460 x86_memory_mismatch_stall): Declare.
2461 (TARGET_INTEGER_DFMODE_MOVES, TARGET_PARTIAL_REG_DEPENDENCY,
2462 TARGET_MEMORY_MISMATCH_STALL): New.
2463 * i386.md (athlon scheduling parameters): Fix latencies according to
2464 Athlon Optimization Manual.
2465 (sahf, xchg, fldcw, leave instruction patterns): Set athlon_decode to
2467 (fsqrt instruction patterns): Set athlon_decode to direct.
2468 (movhi_1): Promote for TARGET_PARTIAL_REG_DEPENDENCY and for
2469 PARTIAL_REGISTER_STALL with !TARGET_HIMODE_MATH machines.
2470 (movqi_1): Handle promoting correctly for TARGET_PARTIAL_REG_DEPENDENCY
2471 and TARGET_PARTIAL_REGISTER_STALL machines.
2472 (pushdf_nointeger): New pattern.
2473 (pushdf_integer): Rename from pushdf.
2474 (movdf_nointger): Enable for !TARGET_INTEGER_DFMODE_MOVES machines.
2475 (movdf_intger): Disable for !TARGET_INTEGER_DFMODE_MOVES machines.
2477 2000-04-17 Richard Henderson <rth@cygnus.com>
2479 * loop.c (canonicalize_condition): Add WANT_REG argument.
2480 Stop the search if we match it.
2481 * expr.h (canonicalize_condition): Update decl.
2482 * predict.c (expected_value_to_br_prob): Use it. Track last
2483 expected value note.
2484 (find_expected_value): Remove.
2486 * reorg.c (mostly_true_jump): Always use BR_PROB if present.
2488 2000-04-17 Zack Weinberg <zack@wolery.cumb.org>
2490 * aclocal.m4 (AM_GNU_GETTEXT): Don't AC_REQUIRE([AC_FUNC_MMAP]).
2491 (AC_FUNC_MMAP_FILE): New macro, tests read-only private map of
2493 * configure.in: Call AC_FUNC_MMAP_FILE.
2494 * configure: Regenerate.
2495 * config.in: Regenerate.
2497 * intl/loadmsgcat.c: Test HAVE_MMAP_FILE not HAVE_MMAP.
2498 * fixinc/fixincl.c: Likewise.
2500 2000-04-17 Richard Henderson <rth@cygnus.com>
2502 * builtins.c (expand_builtin_expect): New.
2503 (expand_builtin): Call it.
2504 * builtins.def (BUILT_IN_EXPECT): New.
2505 * c-common.c (c_common_nodes_and_builtins): Declare __builtin_expect.
2506 * extend.texi: Document it.
2508 * predict.c (expected_value_to_br_prob): New.
2509 (find_expected_value): New.
2510 * basic-block.h (expected_value_to_br_prob): Declare.
2511 * toplev.c (rest_of_compilation): Invoke it.
2513 * rtl.h (NOTE_EXPECTED_VALUE): New.
2514 (NOTE_INSN_EXPECTED_VALUE): New.
2515 * rtl.c (note_insn_name): Update.
2516 * print-rtl.c (print_rtx): Reorg NOTE_LINE_NUMBER special
2517 cases; handle NOTE_INSN_EXPECTED_VALUE.
2519 2000-04-17 Jakub Jelinek <jakub@redhat.com>
2521 * config/sparc/sparc.c (eligible_for_sibcall_delay): Cannot use
2522 leaf sibcall delay slot if flag_pic.
2523 (output_sibcall): Always emit call for leaf sibcall if flag_pic.
2525 2000-04-17 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2527 * Makefile.in (stmp-fixproto): Acknowledge errors in fixproto.
2529 * fixproto: If fix-header fails, exit with an error.
2531 Mon Apr 17 14:59:36 MET DST 2000 Jan Hubicka <jh@suse.cz>
2533 * cse.c (struct check_depdendence_data): New.
2534 (check_dependence): New function.
2535 (invalidate): Use check_depdenence.
2537 2000-04-16 Mark Mitchell <mark@codesourcery.com>
2539 * dwarf2out.c (DWARF_CIE_DATA_ALIGNMENT): Adjust, now that
2540 UNITS_PER_WORD is unsigned.
2542 * tree.h (struct tree_common): Remove misleading comment.
2544 2000-04-16 Dave Pitts <dpitts@cozx.com>
2546 * Makefile.in ($(srcdir)/c-parse.y: c-parse.in): Enclose the whole
2547 message in quotes. Otherwise, IBM's make program treats the '#' as the
2548 start of a comment and ignores the remainder of the line.
2550 * c-lex.c (yylex): Change for EBCDIC, lower case characters preceed
2552 * cccp.c (initialize_char_syntax): Allow for holes in EBCDIC.
2553 * cexp.y (initialize_random_junk): Likewise.
2554 * cppfiles.c (find_include_file): Cast alloca return value.
2555 * cppinit.c (initialize_standard_includes): Likewise.
2556 * cpplib.c (cpp_define, cpp_undef): Likewise.
2557 * defaults.h (ASM_OUTPUT_ASCII): Use ISPRINT.
2558 * final.c (output_asm_insn): Allow for holes in EBCDIC.
2559 * fold-const.c (CHARMASK): New.
2560 (real_hex_to_f): Use it.
2561 * real.c (CHARMASK): New.
2562 (etoasc, asctoeg): Use it.
2563 (asctoeg): EBCDIC lower case characters preceed upper case.
2565 * i370.c (mvs_add_label): Change spacing for coding conventions.
2566 * i370.h (ASM_OUTPUT_CASE_LABEL): Change to the data CSECT for the
2567 outputing case vectors.
2568 (ASM_OUTPUT_CASE_END): New, put assembler back into code CSECT.
2569 (ASM_OUTPUT_ADDR_VEC_ELT, ASM_OUTPUT_ADDR_DIFF_ELT): Remove page check,
2570 since vector in in the data CSECT.
2571 (ASM_OUTPUT_REG_POP, ASM_OUTPUT_REG_PUSH): Restore to correct operation.
2572 * i370.md (Many patterns): Put the length in the XL directives.
2573 (movdi): Put back STM and MVC in definition.
2574 (floatsidf2): Correct TARGET_ELF_ABI pattern and add back the LE370
2575 pattern using the TCA.
2576 * oe.h (CPP_SPEC): Added to allow trigraphs.
2577 * xm-oe.h (HOST_BITS_PER_LONGLONG): Change to 32. IBM's compiler does
2578 not support the "long long" type.
2580 2000-04-16 Mark Mitchell <mark@codesourcery.com>
2582 * config/mips/mips-protos.h (mips_legitimate_address_p): New
2584 (mips_reg_mode_ok_for_base_p): Likewise.
2585 * config/mips/mips.h (REG_OK_STRICT_P): Don't define.
2586 (REG_OK_FOR_INDEX_P): Define unconditionally.
2587 (REG_MODE_OK_FOR_BASE_P): Use mips_reg_mode_ok_for_base_p.
2588 (GO_IF_LEGITIMATE_ADDRESS): Use mips_legitimate_address_p.
2589 * config/mips/mips.c (mips16_simple_memory_operand): Adjust now
2590 that GET_MODE_SIZE is unsigned.
2591 (mips_reg_mode_ok_for_base_p): Define.
2592 (mips_legitimate_address_p): Likewise. Adjust now
2593 that GET_MODE_SIZE is unsigned.
2594 (block_move_loop): Make the number of bytes unsigned.
2595 (expand_block_move): Likewise.
2596 (function_arg): Make the loop counter unsigned to match the
2599 2000-04-16 Richard Henderson <rth@cygnus.com>
2601 * rtl.h (enum insn_note): New enumeration. Subsume
2602 NOTE_INSN_DELETED and friends.
2603 (GET_NOTE_INSN_NAME): Adjust index by NOTE_INSN_BIAS.
2604 * rtl.c (note_insn_name): Tweak string order.
2606 2000-04-15 Zack Weinberg <zack@wolery.cumb.org>
2608 * cpplex.c (_cpp_read_and_prescan): Enlarge len by setting it
2611 * cpplex.c (output_line_command): Remove debugging prints.
2612 (cpp_output_tokens): Don't write out a zero-length buffer or
2613 try to see if it has a newline in it.
2614 (_cpp_expand_to_buffer): Copy the source buffer before pushing.
2615 (_cpp_read_and_prescan): Move shift-down of pushback bytes to
2616 the end of the loop. Use memmove. Don't read past the end of
2617 the buffer. Remove trailing newlines from error messages.
2619 2004-04-16 Neil Booth <NeilB@earthling.net>
2621 * cpphash.h (SYNTAX_INCLUDE, SYNTAX_ASSERT, directive_handler): new.
2622 * cpplib.c: Add new syntax flags to directive table, and
2625 2000-04-15 Ulrich Drepper <drepper@redhat.com>
2627 * i386.c (ix86_expand_epilogue): Yes, the x86 can pop 64k at once
2630 2000-04-15 David Edelsohn <edelsohn@gnu.org>
2632 * toplev.c (display_help): Prefix "f" to "sched-verbose=".
2633 * haifa-sched.c: Update -fsched-verbose comments to use "=".
2635 Sat Apr 15 10:59:19 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
2637 * Makefile.in (ggc-page.o): Now includes toplev.h.
2638 * ggc-page.c (toplev.h): Now included.
2639 (gc_time): Remove declaration.
2640 (ggc_collect): TIME now long.
2641 * toplev.c (parse_time, varasm_time, gc_time): Still global; all
2643 * toplev.h (gc_time, parse_time, gc_time): New declarations.
2645 * toplev.c: Make *_time variable long to reduce chance of overflow.
2646 (TIMEVAR): Likewise for `otime'.
2647 (print_time): Arg is now long; compute percentage in FP and round.
2648 * toplev.h (print_time): Arg is long.
2650 * tree.c: Minor whitespace changes.
2652 * configure.in (alpha*-*-*): Add config/alpha/t-alpha.
2653 * configure: Rebuilt.
2654 * libgcc2.c (__fixunstfDI): Renamed from __fixunstfdi.
2655 (__fixunsxfDI): Renamed from __fixunsxfdi.
2656 (__fixunsdfDI): Renamed from __fixunsdfdi.
2657 (__fixunssfDI): Renamed from __fixunssfdi.
2658 (__floatdisf): Use proper type in REP_BIT macro.
2659 (__fixunsxfSI): Renamed from __fixunsxfsi.
2660 (__fixunsdfSI): Renamed from __fixunsdfsi.
2661 (__fixunssfSI): Renamed from __fixunssfsi.
2662 * libgcc2.h: Add cases for MIN_UNITS_PER_WORD > 4.
2663 Change location of macros and upper-case some names as above.
2664 * longlong.h ([alpha]): Use PARAMS, not __P in decl of __udiv__qrnnd.
2665 * config/alpha/t-alpha, config/alpha/qrnnd.asm: New files.
2667 * varasm.c (assemble_variable): Add cast to remove warning.
2668 (immed_real_const_1): Only use CONST[01]_RTX if not in nested function.
2670 * flow.c (count_basic_blocks, find_basic_blocks_1): Remove last change.
2671 * optabs.c (emit_libcall_block): If have REG_EH_REGION, update
2672 region number to -1.
2674 2000-04-15 Richard Earnshaw (rearnsah@arm.com)
2676 * emit-rtl.c (unshare_all_rtl_again): Unmark everything, then
2677 call unshare_all_rtl.
2679 * arm.md (movhi): REGNO_POINTER_ALIGN is now bits.
2681 Fri Apr 14 16:58:45 2000 Jim Wilson <wilson@cygnus.com>
2683 * config/ia64/lib1funcs.asm (__divdi3, __moddi3, __udivdi3, __umoddi3):
2684 Use .s1 not .s0 for all FP instructions.
2686 2000-04-14 Zack Weinberg <zack@wolery.cumb.org>
2688 * cpplex.c (cpp_output_tokens, cpp_scan_buffer_nooutput): New public
2690 (safe_fwrite, output_line_command): New static functions.
2691 (cpp_expand_to_buffer): Now private to cpplib.
2692 (cpp_scan_buffer): Take a printer.
2694 * cpphash.h: Update prototypes.
2695 * cpplib.h: Update prototypes.
2697 (cpp_buffer): Remove last_nominal_fname.
2698 (cpp_reader): Remove lineno.
2700 * cppmain.c: Use a cpp_printer.
2701 * fix-header.c: No need to inhibit line commands. Call
2702 cpp_start_read with no printer.
2704 * cpperror.c (cpp_notice_from_errno): Provide default name.
2705 * cppfiles.c (make_IHASH, _cpp_fake_ihash): New functions.
2706 (find_include_file, cpp_read_file): Use make_IHASH.
2707 (file_cleanup): Set control_macro and clear
2708 input_stack_listing_current here.
2709 (_cpp_execute_include): Don't output entering-file marker.
2710 * cpphash.c (special_symbol): Look for the line number in the
2711 buffer, not the reader.
2712 (_cpp_macroexpand): No need to disable line commands.
2713 (_cpp_dump_definition): No need to generate line commands.
2714 (dump_hash_helper): Remove excess newline from output.
2715 * cppinit.c (dump_special_to_buffer): No need to generate line
2717 (cpp_printer_init): New.
2718 (cpp_start_read): Take a printer, and start it up if it's not
2719 NULL. No need to generate line commands.
2720 (cpp_finish): Expect no buffers stacked at all. Take a
2721 printer argument, and flush the output buffer if it's not
2723 * cpplex.c (_cpp_lex_token): Return EOF if there's no buffer.
2724 Don't put two hashes at the beginning of an assertion.
2725 (cpp_get_token): Don't increment pfile->lineno or emit line
2726 commands here. Return EOF if there's no buffer when we get
2728 * cpplib.c (do_define, skip_if_group):
2729 No need to disable line commands.
2730 (_cpp_output_line_command): Delete function.
2731 (do_line): Don't emit line commands here, but set things up so
2732 they will be emitted if necessary. Use _cpp_fake_ihash to
2733 make unique nominal_fnames if necessary.
2734 (do_elif, do_else, _cpp_handle_eof): Call cpp_error_with_line
2735 with 0 for column, not -1.
2736 (_cpp_handle_eof): Don't set the control macro here. Don't
2737 clear input_stack_listing_current here. Don't emit line
2740 2000-04-14 Geoff Keating <geoffk@cygnus.com>
2742 * config/rs6000/sysv4.h (LINK_START_SOLARIS_SPEC): Define to empty
2743 always, use the default SVR4 start address.
2745 * config/rs6000/linux.h (LINK_SPEC): Don't define.
2746 (LINK_SHLIB_SPEC): Define.
2747 (LINK_START_DEFAULT_SPEC): Define.
2748 (LINK_OS_DEFAULT_SPEC): Define.
2750 * config/rs6000/sysv4.h (ENDFILE_SPEC): Use the %(endfile_*) macros.
2752 * config/rs6000/eabi.asm (__eabi): Call __init rather than
2753 __do_global_ctors to handle constructors.
2754 * config/rs6000/sysv4.h (STARTFILE_ADS_SPEC): Use crtbegin.
2755 (STARTFILE_YELLOWKNIFE_SPEC): Likewise.
2756 (STARTFILE_MVME_SPEC): Likewise.
2757 (STARTFILE_SIM_SPEC): Likewise.
2758 (ENDFILE_ADS_SPEC): Use crtend.
2759 (ENDFILE_YELLOWKNIFE_SPEC): Likewise.
2760 (ENDFILE_MVME_SPEC): Likewise.
2761 (ENDFILE_SIM_SPEC): Likewise.
2762 (STARTFILE_SOLARIS_SPEC): Use crtbegin/crtbeginS.
2763 (ENDFILE_SOLARIS_SPEC): Use crtend/crtendS.
2764 (STARTFILE_LINUX_SPEC): Use crtbeginS for shared objects.
2765 (ENDFILE_LINUX_SPEC): Use crtendS for shared objects.
2766 * config/rs6000/t-ppccomm (LIB2FUNCS_EXTRA): Don't build eabi-ctors.o.
2767 (EXTRA_MULTILIB_PARTS): Build crtbeginS/crtendS.
2768 (CRTSTUFF_T_CFLAGS_S): Define.
2769 * config/rs6000/eabi-ctors.c: Delete.
2771 * config/rs6000/eabi-ci.asm (__init): Align stack to 16-byte
2774 * config/rs6000/eabi-cn.asm (__init): Allow for 16-byte stack frame.
2778 Fri Apr 14 16:09:02 2000 Jim Wilson <wilson@cygnus.com>
2780 * combine.c (force_to_mode, case LSHIFTRT): Check that shift shift
2781 plus mask size is smaller or equal to the mode size.
2783 Fri Apr 14 18:07:30 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
2785 * print-rtl.c (print_rtx, case NOTE): Don't blow up if NOTE_BASIC_BLOCK
2788 * expr.c (reload.h): Now included.
2789 (emit_block_move): Set volatile_ok when checking for movstr.
2790 (emit_move_1): Check for replacements in addresses in multi-word case.
2791 * Makefile.in (expr.o): Now includes reload.h.
2793 * flow.c (count_basic_blocks): Remove unused var PREV_CALL.
2794 Never have a LIBCALL end a basic block.
2795 (find_basic_blocks_1): Likewise.
2796 Reorganize CALL_INSN cases.
2798 * sbitmap.h (EXECUTE_IF_SET_IN_SBITMAP): Revert last change.
2800 Fri Apr 14 10:54:22 2000 Jim Wilson <wilson@cygnus.com>
2802 * config/ia64/lib1funcs.asm (__ia64_nonlocal_goto): Drop obsolete
2803 completers from mov.ret instruction.
2805 2000-04-14 Richard Henderson <rth@cygnus.com>
2807 * fold-const.c (extract_muldiv): Don't distribute and widen
2808 multiply across plus for non-sizetype unsigned types.
2810 2000-04-14 Richard Henderson <rth@cygnus.com>
2812 * flow.c (find_auto_inc): Don't autoinc eliminable registers.
2813 If the original source is dead in the incr insn, it's dead now.
2815 Fri Apr 14 07:40:32 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
2817 * stor-layout.c (layout_decl): Properly compare KNOWN_ALIGN to
2818 see if DECL_BIT_FIELD needs to still be set.
2820 * tree.h (struct tree_type): Make PRECISION 9 bits and MODE 7.
2822 * dbxout.c (dbxout_type, case INTEGER_TYPE): Don't call
2823 print_int_cst_octal with something that's not an INTEGER_CST.
2825 * config/alpha/alpha.c (alpha_emit_floatuns): Ensure we pass a REG
2826 and not a SUBREG to a FLOAT rtl.
2828 Thu Apr 13 19:39:56 2000 Clinton Popetz <cpopetz@cygnus.com>
2830 * emit-rtl.c (try_split): Avoid infinite loop if the split
2831 results in a sequence that contains the original insn.
2833 2000-04-13 Andreas Jaeger <aj@suse.de>
2835 * config/mips/mips.c (expand_block_move): Pass alignment
2836 argument to move_by_pieces in bits, not bytes.
2838 * config/mips/linux.h (CPP_PREDEFINES): Also define __PIC__ and
2839 __pic__ for little endian.
2841 2000-04-13 Andreas Jaeger <aj@suse.de>
2843 * config/i386/i386-protos.h: Add prototype for
2844 uno_comparison_operator.
2846 Thu Apr 13 15:55:08 MET DST 2000 Jan Hubicka <jh@suse.cz>
2848 * alias.c (nonlocal_reference_p): Take care of CALL_INSNS's fusage.
2849 * calls.c (ECF_PURE): New flag.
2850 (emit_call_1): Handle ECF_PURE calls.
2851 (initialize_argument_information): Unset ECF_PURE flag too.
2852 (precompute_arguments): Precompute for ECF_PURE too.
2853 (expand_call): Handle ECF_PURE calls too.
2854 (emit_library_call_value_1): Rename no_queue argument to fn_type,
2855 accept value of 2 as pure function.
2856 (emit_library_call_value, emit_library_call): Rename no_queue argument
2858 * optabs.c (prepare_cmp_insn): Pass fn_type 2 to memcmp call.
2860 * tree.h (DECL_IS_PURE): New macro.
2861 (struct tree_decl): Add pure_flag.
2862 * c-common.c (enum attrs): Add attribute "pure".
2863 (init_attributes): Initialize attribute "pure"
2864 (decl_attributes): Handle attribute "pure".
2865 * extend.texi (Attribute "pure"): Document.
2866 * calls.c (expand_call): Add (mem:BLK (scratch)) to "equal from"
2868 (flags_from_decl_or_type): Support attribute "pure".
2870 2000-04-13 Jason Merrill <jason@casey.cygnus.com>
2872 * cpplex.c (_cpp_lex_token): Handle digraphs. Don't null-terminate
2873 the token except for numbers and identifiers.
2875 Thu Apr 13 00:09:16 EDT 2000 John Wehle (john@feith.com)
2877 * i386.c (ix86_expand_binary_operator,
2878 ix86_expand_unary_operator): Check no_new_pseudos
2879 instead of reload_in_progress and reload_completed.
2880 (ix86_split_ashldi, ix86_split_ashrdi,
2881 ix86_split_lshrdi): Check no_new_pseudos instead
2882 of reload_completed.
2884 2000-04-12 Jeffrey A Law (law@cygnus.com)
2886 * function.c (purge_addressof): Unshare any shared rtl created by
2887 purge_addressof and its children.
2889 2000-04-12 Mark Mitchell <mark@codesourcery.com>
2891 * function.c (aggregate_value_p): VOID_TYPE nodes are never
2894 2000-04-05 Andreas Jaeger <aj@suse.de>
2896 * config/mips/linux.h (SUBTARGET_ASM_SPEC): Use proper flags if
2897 not compiling PIC code, add flags for mabi=64.
2898 (SUBTARGET_CPP_SIZE_SPEC): New.
2899 (SUBTARGET_CPP_SPEC): New.
2900 (CPP_PREDEFINES): Define __PIC__ and __pic__. PIC code is default
2901 for MIPS/Linux and lots of code needs these defines.
2903 Wed Apr 12 22:44:11 2000 Hans-Peter Nilsson <hp@axis.com>
2905 * reorg.c (fill_slots_from_thread): Check side_effects_p when
2906 trying the "opposite arithmetic" approach.
2908 Wed Apr 12 20:51:20 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
2910 * sh.h (STRUCT_VALUE): Just 0 for TARGET_HITACHI.
2911 (struct sh_args): Add new field force_mem.
2912 (INIT_CUMULATIVE_ARGS): Initialize it.
2913 (FUNCTION_ARG, FUNCTION_ARG_ADVANCE): Act on it.
2915 Wed Apr 12 17:20:41 MET DST 2000 Jan Hubicka <jh@suse.cz>
2917 * calls.c (expand_call): Do not reverse args in "equal from" field.
2918 (emit_library_call_value_1): Emit_libcall_block for const and pure
2921 Wed Apr 12 16:00:25 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
2923 * reload1.c (reload_combine): Don't enable optimization for fixed
2924 registers when encountering a BARRIER.
2926 Wed Apr 12 15:54:11 MET DST 2000 Jan Hubicka <jh@suse.cz>
2928 * builtins.c (expand_builtin_memcmp): Do expansion even with
2929 !HAVE_cmpstrsi, do libcall when gen_strcmpsi fails.
2931 * calls.c (expand_call): Do NO_DEFER_POP unconditionally once
2932 stack is propertly aligned; add sanity checking for aligned
2934 (expand_library_call_value_1): Add sanity checking for aligned
2937 Wed Apr 12 07:51:54 2000 Catherine Moore <clm@cygnus.com>
2939 * calls.c (emit_library_call_value_1): Change 3rd arg to
2940 locate_and_pad_parm to disregard the setting of partial.
2942 Wed Apr 12 08:47:38 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
2944 * tree.c (unsave_expr_now_r, unsafe_for_reeval): Properly do TREE_LIST.
2946 * print-rtl.c (print_rtx): For CALL_PLACEHOLDER, output the
2947 CALL_INSN from the normal case.
2949 Fri Apr 7 12:23:04 MET DST 2000 Jan Hubicka <jh@suse.cz>
2951 * i386.c (x86_sub_esp_4, x86_sub_esp_8, x86_add_esp_4, x86_add_esp_8):
2952 New global variables.
2953 (ix86_emit_epilogue_adjustment): Do not attempt to use pop for the
2955 * i386.h (x86_sub_esp_4, x86_sub_esp_8, x86_add_esp_4, x86_add_esp_8):
2957 (TARGET_SUB_ESP_4, TARGET_SUB_ESP_8, TARGET_ADD_ESP_4,
2958 TARGET_ADD_ESP_8): New macros.
2959 * i386.md: Add peep2s to convert esp adjustments to push and pop
2961 (pushsi_prologue, popsi_epilogue): New patterns.
2963 2000-04-12 Jakub Jelinek <jakub@redhat.com>
2965 * real.c (toe64): Remove stale #endif from the last change.
2967 2000-04-12 Stephen L Moshier <moshier@mediaone.net>
2969 * real.h (MAX_LONG_DOUBLE_TYPE_SIZE): Comment.
2970 * real.c (toe64): Revert previous change.
2972 2000-04-12 Jakub Jelinek <jakub@redhat.com>
2974 * objc/objc-act.c: Include ggc.h.
2975 (objc_tree_index, objc_global_trees): Convert most of the
2976 static tree variables into a static array with previous names
2978 (objc_ellipsis_node): New variable.
2979 (lang_init): Call objc_act_parse_init and c_parse_init.
2980 Create objc_ellipsis_node.
2981 (build_selector_translation_table): Use objc_ellipsis_node instead
2983 (hack_method_prototype): Likewise.
2984 (get_arg_type_list): Likewise.
2985 (start_method_def): Likewise.
2986 (continue_method_def): Likewise.
2987 (gen_method_decl): Likewise.
2988 (ggc_mark_imp_list): New function.
2989 (ggc_mark_hash_table): New function.
2990 (objc_act_parse_init): New function.
2991 * objc/objc-act.h (objc_ellipsis_node): Add extern variable.
2992 * c-parse.in (c_parse_init): For objc add roots of objc specific
2993 local tree variables.
2994 * objc/objc-parse.y: Rebuilt.
2995 * objc/objc-parse.c: Rebuilt.
2996 (opt_parm_list): Use objc_ellipsis_node instead of (tree)1.
2998 Wed Apr 12 01:00:44 EDT 2000 John Wehle (john@feith.com)
3000 * cse.c (delete_trivially_dead_insns): Also delete insns
3001 that copy a register to itself where the destination is
3004 2000-04-11 Richard Henderson <rth@cygnus.com>
3006 * flow.c (struct propagate_block_info): Add new_dead, new_live.
3007 (propagate_block): Initialize them. Use them in parallel instead
3008 of one tmp variable, ie revert much of the 0408 and 0407 functional
3009 changes, but keep the structural changes.
3010 (mark_set_regs): Take new_dead from propagate_block_info instead.
3011 (mark_set_1, mark_set_reg): Likewise.
3012 (mark_used_regs): Likewise with new_live.
3013 (mark_used_reg): Likewise. Revert 0408 change.
3015 2000-04-11 Nick Clifton <nickc@cygnus.com>
3017 * config/arm/arm.h: (INCOMING_RETURN_ADDR_RTX): Remove Dwarf2
3019 (DWARF_FRAME_RETURN_COLUMN): Remove Dwarf2 restriction.
3021 2000-04-11 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
3023 * config/elfos.h (SELECT_SECTION): Decide whether to use a data or
3024 const section to output a CONSTRUCTOR based on the same conditions
3027 Tue Apr 11 09:55:59 2000 Jeffrey A Law (law@cygnus.com)
3029 * pa/long-double.h (FIX_TRUNCTFSI2_LIBCALL): Tweak for PA64.
3030 * pa/pa-protos.h (output_call): Add additional argument indicating
3031 if the call is a sibling/tail call.
3032 (compute_zdepdi_operands, output_64bit_and): Prototype new functions.
3033 (compute_64bit_ior, cmpib_comparison_operator): Likewise.
3034 (function_arg, function_arg_partial_nregs): Likewise
3035 * pa/pa.c (override_options): Always set flag_pic for TARGET_64BIT.
3036 (emit_move_sequence): Zero extend certain constants as needed
3038 (compute_zdepdi_operands, output_64bit_and): New functions.
3039 (output_64bit_ior, function_arg): Likewise.
3040 (cmpib_comparison_operator, function_arg_partial_nregs): Likewise.
3041 (compute_frame_size, hppa_expand_prologue): Handle TARGET_64BIT.
3042 (hppa_expand_epilogue, return_addr_rtx, hppa_va_arg): Likewise.
3043 (hppa_builtin_saveregs, output_cbranch, output_bb): Likewise.
3044 (output_bvb): Likewise.
3045 (output_millicode_call): Return pointer is in %r2 for TARGET_64BIT.
3046 (output_call): New argument 'sibcall'. Generate sibcall sequences
3048 (print_operand); Handle cases 'Q', 'p', and 'z' for TARGET_64BIT. For
3049 (ouput_arg_descriptor): Do not emit argument descriptors for
3051 * pa/pa.h (TARGET_PA_11, TARGET_PA_20): Only define if not already
3053 (TARGET_64BIT, PROMOTE_FUNCTION_RETURN): Define.
3054 (FUNCTION_OK_FOR_SIBALL): Define.
3055 (CPP_PA10_SPEC, CPP_PA11_SPEC, CPP_PA20_SPEC): Define.
3056 (CPP_CPU_DEFAULT_SPEC, SUBTARGET_EXTRA_SPECS, EXTRA_SPECS): Likewise.
3057 (CPP_SPEC): Use new spec infrastructure.
3058 (BITS_PER_WORD, UNITS_PER_WORD): Handle TARGET_64BIT.
3059 (STACK_BOUNDARY, FUNCTION_BOUNDARY, PIC_OFFSET_TABLE_REGNUM): Likewise.
3060 (RETURN_IN_MEMORY, EXTRA_CONSTRAINT, FIRST_PARM_OFFSET): Likewise.
3061 (REG_PARM_STACK_SPACE, STACK_POINTER_OFFSET): Likewise.
3062 (STACK_DYNAMIC_OFFSET, FUNCTION_VALUE): Likewise.
3063 (FUNCTION_ARG_PASS_BY_REFERENCE, FUNCTION_ARG_CALLEE_COPIES): Likewise.
3064 (TRAMPOLINE_TEMPLATE, TRAMPOLINE_SIZE): Likewise.
3065 (INITIALIZE_TRAMPOLINE, LEGITIMATE_CONSTANT_P): Likewise.
3066 (CONST_OK_FOR_LETTER_P, MOVE_RATIO): Likewise.
3067 (FUNCTION_ARG); Call out to C code.
3068 (FUNCTION_ARG_PARTIAL_NREGS): Likewise.
3069 (MAX_BITS_PER_WORD, MAX_LONG_TYPE_SIZE, MAX_WCHAR_TYPE_SIZE): Define.
3070 (MIN_UNITS_PER_WORD): Likewise.
3071 * pa/pa.md (cmpdi): New expander.
3072 (scc patterns, movstrsi): Not available for TARGET_64BIT.
3073 (64bit conditional arithmetic): New patterns.
3074 (absdi2, smindi3, umindi3, smaxdi3, umaxdi3): New patterns.
3075 (movsicc): Not available if modes on all the operands to not match.
3076 (movdicc): New expander and associated patterns.
3077 (64bit branches): New patterns.
3078 (pre_load, post_store): Generate appropriate code for TARGET_64BIT.
3079 (pre_ldd, post_std): New patterns.
3080 (64bit addil, load low part): New patterns.
3081 (special movsf constant): Not available for TARGET_64BIT.
3082 (movsf, movdf expanders): Force constants into memory.
3083 (32bit movdf/movdi patterns): Disable for TARGET_64BIT.
3084 (64bit movdf/movdi patterns): New patterns.
3085 (zero_extendqidi2, zero_extendhidi2, zero_extendsidi2): New patterns
3087 (extendqidi2, extendhidi2, extendsidi2): Similarly.
3088 (adddi3 expander): Allow "arith_operand" for second input.
3089 (32bit adddi3, subdi3, uaddcm): Disable for TARGET_64BIT.
3090 (64bit adddi3, subsi3, uaddcm): New patterns for TARGET_64BIT.
3091 (mulsi3 expander): Revamp slightly so it supports TARGET_64BIT too.
3092 (muldi3): New expander for TARGET_64BIT.
3093 (divsi3, udivsi3, modsi3, umodsi3): Fourth operand must be (reg:SI 2)
3095 (32bit anddi3, iordi3, xordi3, andcm, negdi2, uaddcm): Disable
3096 patterns for TARGET_64BIT.
3097 (64bit anddi3, iordi3, xordi3, andcm, negdi2, uaddcm, shadd): New
3098 patterns for TARGET_64BIT.
3099 (64bit bit insertion/extractions): New patterns for TARGET_64BIT.
3100 (64bit shifts/rotates): New patterns/expanders for TARGET_64BIT.
3101 (sibcall_epilogue): New expander.
3102 (casesi): Tweak for TARGET_64BIT.
3103 (call expanders): Set & use the outgoing argument pointer. Use the
3104 64bit call patterns as needed. Add additional arg to output_call.
3105 (call_internal_reg_64bit, call_value_internal_reg_64bit): New pattern.
3106 (sibcall, sibcall_internal_symref): New expanders.
3107 (sibcall_value, sibcall_value_internal_symref
3108 (interspace_jump): Turn into an expander + matching patterns.
3109 (canonicalize_funcptr_for_compare): Not needed for TARGET_64BIT.
3110 * pa/pa64-regs.h: Eliminate trigraph sequences.
3111 * pa/pa64-start.h (TARGET_PA_20): Fix typo.
3113 2000-04-11 Zack Weinberg <zack@wolery.cumb.org>
3115 * cppexp.c, cpphash.c, cpphash.h, cpplex.c, cpplib.c,
3116 cpplib.h, cppmain.c, fix-header.c, scan-decls.c: Replace
3117 cpp_token with cpp_ttype everywhere.
3118 * cpperror.c, cpphash.c, cpplex.c, cpplib.c, scan-decls.c:
3119 Replace cpp_buf_line_and_col with CPP_BUF_LINE and/or
3120 CPP_BUF_COL. Line and column numbers are unsigned int, not
3122 * cpplex.c (cpp_buf_line_and_col): Delete.
3123 * cpplib.h (struct cpp_buffer, struct cpp_reader): Change
3124 'long lineno' to 'unsigned int lineno'.
3125 (CPP_BUF_LINE, CPP_BUF_COL): New macros.
3127 2000-04-11 Martin v. Löwis <loewis@informatik.hu-berlin.de>
3129 * extend.texi: ISO C99 is not a draft anymore.
3130 * invoke.texi: ISO C++ is not a draft anymore.
3131 * cpp.texi: __cplusplus is required by the ISO standard.
3133 * extend.texi (-fthis-is-variable): Undocument.
3134 * flags.h (warn_template_debugging): Remove declaration.
3135 * gcc.1 (-fall-virtual, -fenum-int-equiv, -fthis-is-variable,
3136 -Wenum-clash, -Wtemplate-debugging): Undocument.
3138 2000-04-10 Nick Clifton <nickc@cygnus.com>
3140 * config/arm/arm.h (HOST_INT): New macro: Declare a HOST_WIDE_INT
3142 (HOST_UINT): New macro: Declare an unsigned HOST_WIDE_INT
3144 (ARM_SIGN_EXTEND): Use HOST_UINT.
3145 (STRIP_NAME_ENCODING): Prevent warnings about redefinitions.
3146 (ASM_OUTPUT_LABELREF): Prevent warnings about redefinitions.
3147 (INCOMING_RETURN_ADDR_RTX): Only define if Dwarf2 is supported.
3148 (DWARF_FRAME_RETURN_COLUMN): Only define if Dwarf2 is supported.
3150 * config/arm/arm.c: (const_ok_for_arm): Use HOST_UINT.
3151 (arm_gen_constant): Use HOST_UINT.
3152 (arm_canonicalize_constant): Use HOST_UINT.
3153 (arm_reload_in_hi): Use HOST_UINT.
3154 (arm_reload_out_hi): Use HOST_UINT.
3155 (output_multi_immediate): Use HOST_UINT.
3156 (int_log2): Use HOST_UINT.
3157 (arm_poke_function_name): Use HOST_UINT.
3158 (arm_output_epilogue): Use arm_volatile_func().
3159 (output_thumb_prologue): Use arm_strip_name_encoding().
3161 Mon Apr 10 15:40:59 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
3163 * sbitmap.c (sbitmap_a_subset_b_p): Rework loop to avoid potential
3164 of sequence point problems.
3166 2000-04-10 Nathan Sidwell <nathan@codesourcery.com>
3168 * rtl.def (ASHIFT, ROTATE, ASHIFTRT, LSHIFTRT, ROTATERT):
3170 * tree.def (LSHIFT_EXPR, RSHIFT_EXPR): Recomment.
3172 Mon Apr 10 07:21:13 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
3174 * sbitmap.h: Whitespace changes and use upper-case macro args.
3175 (struct simple_bitmap_def): All sizes now unsigned.
3176 (EXECUTE_IF_SET_IN_SBITMAP): Internal vars now _X instead of X_.
3177 * sbitmap.c (sbitmap_alloc): N_ELMS now unsigned; also local vars.
3178 (sbitmap_vector_alloc): Parms and local vars now unsigned.
3179 (sbitmap_zero): Cast bzero arg to PTR.
3180 (sbitmap_vector_zero, sbitmap_vector_one): Parm and Local var unsigned.
3181 (sbitmap_union_of_diffs): Change loop index to unsigned and rework
3182 loop to make structure clearer.
3183 (sbitmap_not, sbitmap_difference, sbitmap_a_and_b): Likewise.
3184 (sbitmap_a_or_b, sbitmap_a_subset_b_p, sbitmap_a_or_b_and_c): Likewise.
3185 (sbitmap_a_and_b_or_c): Likewise.
3186 (sbitmap_intersection_of_succs): Minor cleanups.
3187 (sbitmap_intersection_of_preds, sbitmap_union_of_succs): Likewise.
3188 (sbitmap_union_of_preds): Likewise.
3189 (sbitmap_first_set_bit, dump_sbitmap): Local variables now unsigned.
3190 (debug_sbitmap): New function.
3192 * c-convert.c (convert): Handle REFERENCE_TYPE like POINTER_TYPE.
3193 * c-typeck.c (convert_for_assignment): Likewise.
3195 * expmed.c (init_expmed): Don't free objects we make.
3196 * emit-rtl.c (gen_rtx_CONST_INT, init_emit_once): Minor cleanups.
3198 * expr.c (get_inner_reference): Correct some WITH_RECORD_EXPR cases.
3199 (expand_expr, case CONVERT_EXPR): Pass proper alignment to store_field.
3201 * gcse.c (expr_hash_table_size): Now unsigned.
3202 (compute_ae_gen): Local variable `i' now unsigned.
3203 (compute_ae_kill, pre_insert_copies, pre_delete, pre_gcse): Likewise.
3204 (compute_transout, hoist_code): Likewise.
3205 (compute_local_properties): Likewise, also hash_table_size.
3206 (alloc_expr_hash_table): N_INSNS now unsigned.
3207 (delete_null_pointer_checks): Mark arg F as unused.
3209 * regrename.c: Minor cleanups, including chang some variables
3212 2000-04-10 Neil Booth <NeilB@earthling.net>
3214 * cpplex.c (skip_block_comment): Use pointer arithmetic rather
3216 * cpphash.h: (CPP_BUMP_BUFFER_LINE_CUR, CPP_BUMP_LINE_CUR): New.
3218 2000-04-10 Martin v. Löwis <loewis@informatik.hu-berlin.de>
3220 * invoke.texi (-fno-gnu-keywords): Remove classof, headof,
3221 __classof__, and __headof__ from the list of gnu keywords.
3222 (-ansi): Remove -foperator-names from list of implied options.
3223 Do not call it ANSI C++.
3224 (-foperator-names): Document as -fno-operator-names.
3226 2000-04-09 Zack Weinberg <zack@wolery.cumb.org>
3228 * cpphash.c (timestamp): Delete.
3229 (del_HASHNODE): If type is T_MCONST, free value.cpval.
3230 (special_symbol): Remove unnecessary braces. Remove
3231 T_VERSION. Treat T_STDC like T_CONST unless
3232 STDC_0_IN_SYSTEM_HEADERS. Render both __DATE__ and __TIME__
3233 when one is encountered, then convert them into T_MCONST
3235 * cppinit.c (builtin_array): version_string is T_MCONST.
3236 __STDC__ has a "1" in its cpval. Don't have a terminator
3237 entry. Clean up which entries are dumped.
3238 (initialize_builtins): Only __STDC__ gets the special
3239 -traditional treatment. Count the length of builtin_array.
3240 Render version_string here.
3241 * cpphash.h: Remove T_VERSION. Add T_MCONST.
3242 * cpplib.h (struct cpp_reader): Remove timebuf.
3244 2000-04-09 Richard Henderson <rth@cygnus.com>
3246 * genrecog.c (pred): Update comparison_operator for the unordered
3249 * config/i386/i386.c (no_comparison_operator): Disallow unordered
3251 (fcmov_comparison_operator): Allow UNORDERED/ORDERED.
3252 (uno_comparison_operator): New.
3253 (put_condition_code): Handle UNORDERED/ORDERED.
3254 (unsigned_comparison): Likewise.
3255 (ix86_fp_compare_mode): Broken out of ix86_expand_fp_compare.
3256 (ix86_use_fcomi_compare, ix86_prepare_fp_compare_args): Likewise.
3257 (ix86_expand_fp_compare): Use them. Take scratch as argument,
3258 update all callers. Handle all 8 unordered operators.
3259 (ix86_expand_setcc): Lose the unordered argument, update all callers.
3260 (ix86_expand_branch): Likewise. Don't fully expand fp branches.
3261 * config/i386/i386.h (PREDICATE_CODES): Update.
3262 * config/i386/i386-protos.h (ix86_expand_fp_compare): Declare.
3263 (ix86_expand_branch, ix86_expand_setcc): Update.
3264 * config/i386/i386.md (sunordered, sordered): New.
3265 (suneq, sunge, sungt, sunle, sunlt, sltgt): New.
3266 (bunordered, bordered): New.
3267 (buneq, bunge, bungt, bunle, bunlt, bltgt): New.
3268 (*fp_jcc_1, *fp_jcc_2, *fp_jcc_3, *fp_jcc_4): New.
3269 (*fp_jcc_5, *fp_jcc_6, and splitters): New.
3271 2000-04-09 Philip Blundell <philb@gnu.org>
3273 * config/arm/arm.h (ARM_NAME_ENCODING_LENGTHS): Strip `*' too.
3275 Sun Apr 9 15:16:14 EDT 2000 John Wehle (john@feith.com)
3277 * i386.md (fix_truncsfhi2, fix_truncdfhi2,
3278 fix_truncxfhi2): New patterns.
3279 * i386.c (output_fix_trunc): Handle converting to HImode.
3281 2000-04-08 Alex Samuel <samuel@codesourcery.com>
3283 * ssa.c (convert_to_ssa): Eliminate dead code when calling
3285 (convert_from_ssa): Call compute_bb_for_insn before life_analysis.
3286 (for_each_successor_phi): Change parameter to basic_block.
3287 (coalesce_regs_in_successor_phi_nodes): Likewise.
3288 (coalesce_regs_in_copies): Likewise.
3289 (compute_coalesced_reg_partition): Use basic_block instead of index.
3290 * rtl.h (convert_to_ssa): Delete.
3291 (convert_from_ssa): Likewise.
3292 (successor_phi_fn): Likewise.
3293 (for_each_successor_phi): Likewise.
3294 (in_ssa_form): Likewise.
3295 * basic-block.h (convert_to_ssa): Moved from rtl.h.
3296 (convert_from_ssa): Likewise.
3297 (successor_phi_fn): Likewise.
3298 (in_ssa_form): Likewise.
3299 (for_each_successor_phi): Likewise. Change parameter to basic_block.
3300 * flow.c (calculate_global_regs_live): Pass a basic_block to
3301 for_each_successor_phi.
3303 2000-04-08 Richard Henderson <rth@cygnus.com>
3305 * flow.c (mark_used_reg): Use reg_set_p to determine if a register
3306 was modified in the current insn.
3308 2000-04-08 Richard Earnshaw (rearnsha@arm.com)
3310 * arm/thumb.md: Delete.
3311 * arm/thumb-protos.h: Delete.
3313 2000-04-08 Richard Earnshaw (rearnsha@arm.com)
3315 Merge changes from merged-arm-thumb-backend-branch onto trunk.
3317 2000-04-08 Richard Earnshaw (rearnsha@arm.com)
3319 * Merge trunk code from tag merged-arm-thumb-backend-merge_20000408
3322 * arm.md (nop): Use the standard RTL expression. Don't code as a
3324 (*arm_nop, *thumb_nop): Delete.
3326 * arm.c (const_ok_for_arm): Don't use ANSI extensions for defining
3327 constants. Use casts instead.
3328 (arm_gen_constant, arm_rtx_costs, arm_reload_in_hi, arm_reload_out_hi,
3329 output_multi_immediate, arm_poke_function_name): Likewise.
3330 * arm.h (ARM_LEGITIIMIZE_RELOAD_ADDRESS, ARM_SIGN_EXTEND,
3331 MASK_RETURN_ADDDR): Likewise.
3333 2000-03-31 Richard Earnshaw (rearnsha@arm.com)
3335 * Merge trunk code from tag merged-arm-thumb-backend-merge_20000325
3338 * arm.md (eh_epilogue): New function.
3339 * arm.h (struct machine_function): Move to here ...
3340 * arm.c: ... from here.
3341 (arm_output_epilogue): Support epilogues for __builtin_eh_return.
3342 (thumb_exit): Extra parameter eh_ofs. All callers changed.
3343 Handle epilogues for __builtin_eh_return. Make bit-fields unsigned.
3345 2000-03-30 Nick Clifton <nickc@cygnus.com>
3347 * config/arm/semi.h (ASM_SPEC): Restore definition.
3348 (SUBTARGET_EXTRA_ASM_SPEC): Define if not already defined.
3350 * config/arm/elf.h (ASM_SPEC): Restore definition.
3351 (SUBTARGET_EXTRA_ASM_SPEC): Define if not already defined.
3353 * config/arm/arm.h (ASM_SPEC): Remove definition.
3354 (SUBTARGET_EXTRA_ASM_SPEC): Remove definition.
3356 2000-03-26 Bernd Schmidt <bernds@cygnus.co.uk>
3358 * config/arm/arm.c: Disable -fschedule-insns for Thumb.
3360 2000-03-24 Nick Clifton <nickc@cygnus.com>
3362 Various formating tidyups, elimination of compile time
3363 warnings and synchronisation with internal sources:
3365 * config/arm/arm-protos.h (assemble_align): Add prototype.
3366 (gen_rotated_half_load): Rename to arm_gen_rotated_half_load.
3367 (gen_comapre_reg): Rename to arm_gen_compare_reg.
3368 (arm_return_addr_rtx): Rename to arm_return_addr.
3370 * config/arm/arm.c: Include except.h.
3371 Define shorter typenames for strict minipool_node and struct
3373 (arm_return_in_memory): For WinCE return all structures <= 32 bits
3375 (gen_rotated_half_load): Rename to arm_gen_rotated_half_load.
3376 (gen_comapre_reg): Rename to arm_gen_compare_reg.
3378 * config/arm/arm.h (SUBTARGET_EXTRA_ASM_SPEC): Define if not
3380 (ASM_SPEC): Define if not already defined.
3381 (ASM_OUTPUT_DEF_FROM_DECLS): Define.
3383 * config/arm/arm.md: Rename references to gen_rotated_half_load to
3384 arm_gen_rotated_half_load, and references to gen_comapre_reg to
3385 arm_gen_compare_reg.
3386 (indirect_jump): Only accept register operands.
3387 (load_indirect_jump): Keep this pattern since combine can generate
3390 * config/arm/coff.h: Include aout.h.
3391 (MULTILIB_DEFAULTS): Only define if not already defined.
3393 * config/arm/elf.h (ASM_OUTPUT_DEF_FROM_DECLS): Move definition
3394 into arm.h (so that COFF ports can support thumb based aliases).
3395 (ASM_SPEC): Move definition into arm.h
3397 * config/arm/linux-elf.h (SUBTARGET_EXTRA_ASM_SPEC): Remove
3398 redundant apcs spec.
3399 (ASM_SPEC): Move definition to arm.h
3401 * config/arm/semi.h (ASM_SPEC): Move definition to arm.h
3403 * config/arm/unknown-elf.h (ASM_OUTPUT_SECTION_NAME): Add support
3404 for entries in the .bss section
3406 2000-03-23 Nick Clifton <nickc@cygnus.com>
3408 * config/arm/arm.h (THUMB_INITIAL_ELIMINATION_OFFSET): Pass 0
3409 to thumb_far_jump_used_p.
3411 * config/arm/arm-protos.h (thumb_far_jump_used_p): Take a
3412 single integer parameter.
3414 * config/arm/arm.c (struct machine_function): Add two new
3415 fields, 'far_jump_used' and 'arg_pointer_live'.
3416 (thumb_far_jump_used_p): Once the decision has been made that
3417 far jumps might be used, always return true.
3418 If being called from the initial elimination offset macro then
3419 do not bother to perform the test if the arg pointer is not
3421 (thumb_unexpand_epilogue): Pass 1 to thumb_far_jump_used_p().
3422 (output_thumb_prologue): Pass 1 to thumb_far_jump_used_p().
3424 2000-03-23 Richard Earnshaw (rearnsha@arm.com)
3426 * arm.c (output_return_instruction): Handle more cases where we can
3427 return from a function with an ldr instruction.
3428 (arm_output_epilogue): Likewise.
3430 * arm.c (thumb_expand_prologue): Don't clobber the frame pointer
3431 if we need to push a large stack frame and there are no callee-saved
3434 * arm.c (arm_debugger_arg_offset): An offset of 0 is also valid
3435 in ARM code if the frame pointer has been eliminated.
3437 * arm.md (epilogue, *epilogue_insns, consttable_*, align_4): Renumber
3438 unspec_volatile arguments to avoid duplicates.
3439 (consttable_1, consttable_2): Fixes for big-endian mode.
3441 * arm.md (all ARM-mode load insns): Add neg_pool_range attribute
3444 Re-write constant pool code.
3445 * arm.c (minipool_node, minipool_fix): New types.
3446 (minifix): Delete type.
3447 (arm_add_minipool_constant): Delete.
3448 (arm_compute_minipool_offsets, arm_find_barrier,
3449 arm_find_minipool_constant, fixup_compare, sort_fixups): Likewise.
3450 (get_jump_table_size): Now returns HOST_WIDE_INT.
3451 (move_minipool_fix_forward_ref, add_minipool_forward_ref): New
3453 (move_minipool_fix_backward_ref, add_minipool_backward_ref): Likewise.
3454 (assign_minipool_offsets, arm_print_value): Likewise.
3455 (dump_minipool): Rewrite.
3456 (arm_barrier_cost): New function.
3457 (create_fix_barrier): New function.
3458 (push_minipool_barrier): New function.
3459 (push_minipool_fix): Record additional information about the fixup
3461 (note_invalid_constants): Remove push for (UNSPEC 3). Don't
3462 check the mode of what needs fixing.
3463 (arm_reorg): Rewrite.
3465 2000-03-08 Nick Clifton <nickc@cygnus.com>
3467 * config/arm/arm.md (indirect_jump): Force constant addresses into
3470 2000-03-01 Bernd Schmidt <bernds@cygnus.co.uk>
3472 * config/arm/arm.md: Add splitter to turn SF moves into SI moves.
3474 2000-02-24 Nick Clifton <nickc@cygnus.com>
3476 * config/arm/arm.c (thumb_expand_prologue): Make sure that stack
3477 adjust is word aligned.
3478 (thumb_expand_epilogue): Make sure that stack adjust is word
3481 * config/arm/elf.h (ASM_FILE_START): Fix type of version string.
3483 2000-02-24 Bernd Schmidt <bernds@cygnus.com>
3485 * config/arm/arm.h (THUMB_GO_IF_LEGITIMATE_ADDRESS): Allow frame
3486 pointer relative addresses.
3488 2000-02-10 Richard Earnshaw <rearnsha@arm.com>
3490 * arm.c (find_barrier): Find the last barrier within the allowed
3493 2000-02-09 Nick Clifton <nickc@cygnus.com>
3495 * config/arm/arm-protos.h: Replace PROTO with PARAMS.
3497 2000-02-09 Nick Clifton <nickc@cygnus.com>
3499 * config/arm/linux-elf.h (FUNCTION_PROFILER): Rename to
3500 ARM_FUNCTION_PROFILER.
3502 * config/arm/netbsd.h (FUNCTION_PROFILER): Rename to
3503 ARM_FUNCTION_PROFILER.
3505 * config/arm/linux-oldld.h: Imported from mainline sources.
3507 2000-02-07 Nick Clifton <nickc@cygnus.com>
3509 * config/arm/lib1funcs.asm: Merge in thumb functions from
3512 * config/arm/lib1thumb.asm: Delete.
3514 2000-02-04 Nick Clifton <nickc@cygnus.com>
3516 * config/arm/arm.c: Sychronised with current Red hat local
3518 * config/arm/arm.h: Ditto.
3519 * config/arm/arm-protos.h: Ditto.
3521 2000-02-02 Bernd Schmidt <bernds@cygnus.co.uk>
3523 * arm.c (soft_df_operand): Reject SUBREGs containing a constant.
3525 * arm.c (arm_gen_movstrqi): Generate halfword stores rather than two
3528 2000-02-02 Nick Clifton <nickc@cygnus.com>
3530 * config/arm/thumb.c (thumb_exit): Additional fix for same bug.
3532 * config/arm/arm.md (epilogue): Fix rtl checking abort because
3533 (return) was emited using an emit_insn() call.
3535 2000-01-31 Nick Clifton <nickc@cygnus.com>
3537 * config/arm/arm.c (output_thumb_prologue): Fix bug generating
3539 (thumb_exit): Move frame pointer back into hard frame pointer
3540 register if backtracing is being used.
3542 2000-01-13 Richard Earnshaw (rearnsha@arm.com)
3544 * Merge trunk code from tag merged-arm-thumb-backend-merge_20000113
3547 1999-12-15 Bernd Schmidt <bernds@cygnus.co.uk>
3549 * config/arm/arm.md (neg_pool_offset): Provide default for new
3551 (arm_movsi_insn): Add neg_pool_offset attribute.
3552 * config/arm/arm.c (arm_find_barrier): Replace arg FIX with an
3553 rtx for the insn that starts the scan and an unsigned long for its
3554 address. Add MIN_OFFSET and PINSERTED args. All callers changed.
3555 Change scan to ignore insns before MIN_OFFSET. Store size of inserted
3556 instructions in *PINSERTED.
3557 (struct minipool_fixup): Add MIN_ADDRESS elt.
3558 (sort_fixups): Compute it.
3559 (arm_reorg): Changes to support inserting pools before the insn to be
3562 1999-12-08 Bernd Schmidt <bernds@cygnus.co.uk>
3564 * config/arm/elf.h (MULTILIB_DEFAULTS): Add "marm".
3565 * config/arm/linux-elf.h (MULTILIB_DEFAULTS): Add "marm".
3566 * config/arm/coff.h (MULTILIB_DEFAULTS): Add "marm".
3568 Wed Nov 3 10:04:07 1999 Nick Clifton <nickc@cygnus.com>
3570 * config/arm/semi.h (TARGET_VERSION): Do not define if already
3572 (TARGET_DEFAULT): Do not define if already defined.
3574 Tue Nov 2 10:37:25 1999 Nick Clifton <nickc@cygnus.com>
3576 * config/arm/arm.md (anddi3): Allow disjoint source operands.
3577 (iordi3): Allow disjoint source operands.
3578 (xordi3): Allow disjoint source operands.
3579 (negdi2): Permit construction for ARM and Thumb.
3580 (arm_negdi2): Renamed version of old negdi2 pattern.
3581 (thumb_negdi2): New pattern: Only permit non-overlapping
3582 source and destination.
3584 Fri Oct 29 18:52:38 1999 Nick Clifton <nickc@cygnus.com>
3586 * config/arm/arm.c (thumb_expand_prologue): Emit a USE of the
3587 scratch low register so that it will not be deleted.
3589 Fri Oct 29 15:23:48 1999 Nick Clifton <nickc@cygnus.com>
3591 * config/arm/pe.h (ARM_PE): Define.
3593 * config/arm/arm.c (arm_valid_machine_decl_attribute): Allow
3594 interfacearm attribute if this is a PE toolchain.
3595 (output_return_instruction): Do not emit anything if the function
3596 has the naked attribute set.
3597 (is_called_in_ARM_mode): If the function has the interfacearm
3598 attribute then return true.
3599 (thumb_expand_prologue): Do not generate a prologue for naked
3601 (thumb_expand_epilogue): Do not generate an epilogie for a naked
3603 (output_thumb_prologue): Do not bother if the function is naked.
3604 Strip PE encoding from function name before emitting.
3606 Thu Oct 28 11:05:13 1999 Richard Earnshaw <rearnsha@arm.com>
3608 * arm.md (pic_load_addr): Fix constraints.
3610 * arm.md (casesi_insn): Fix mis-applied patch.
3612 * arm.md ("core" function unit): Add rules for single- and
3614 (All TARGET_THUMB patterns): Add "type" attribute information
3616 * arm.c (arm_adjust_cost): Reduce the cost of a data dependency if
3617 the following insn is a CALL.
3619 * arm.c (thumb_expand_epilogue): Add a use of the adjusted stack
3621 * arm.h (CONDITIONAL_REGISTER_USAGE): Nail down the
3622 ARM_HARD_FRAME_POINTER_REGNUM when TARGET_APCS_FRAME.
3623 (FRAME_POINTER_REQUIRED): Only check TARGET_APCS_FRAME if TARGET_ARM.
3625 Wed Oct 27 14:40:48 1999 Nick Clifton <nickc@cygnus.com>
3627 * config/arm/linux-gas.h: oops - this file was missed out when the
3628 branch was created...
3630 Tue Oct 26 17:07:38 1999 Richard Earnshaw <rearnsha@arm.com>
3632 * thumb.c: Deleted. Move contents to ...
3634 * t-arm-aout, t-arm-coff, t-arm-elf, t-linux, t-netbsd, t-semi: Remove
3636 * configure.in (arm*-*-*): Remove thumb.o from extra_objs list.
3639 * arm-protos.h: Use RTX_CODE and tidy up long lines. Don't
3640 declare a prototype for asm_output_align();
3642 * arm.c (thumb_condition_code): Delete.
3643 (arm_print_operand): Always use arm_condition_code array.
3645 * arm.c (thumb_return_addr_rtx): Delete.
3646 (arm_save_machine_status, arm_restore_machine_status): Delete.
3647 (arm_init_machine_status, arm_mark_machine_status): New functions.
3648 (arm_init_expanders): Update accordingly.
3649 (arm_return_addr): Renamed from arm_return_addr_rtx. Rewrite.
3650 (thumb_expand_prologue): Delete code referencing thumb_return_addr_rtx.
3651 * arm.h (RETURN_ADDR_RTX): Call arm_return_addr().
3653 Tue Oct 26 13:24:16 1999 Nick Clifton <nickc@cygnus.com>
3655 * configure.in : Fix arm-*-aout target to use new t-arm-aout
3657 * config/arm/t-arm-aout: New file: Makefile script for arm-*-aout
3660 Tue Oct 26 11:27:12 1999 Nick Clifton <nickc@cygnus.com>
3662 * config/arm/thumb.c (output_thumb_prologue): Fix bug creating
3663 stack backtrace structure.
3665 * config/arm/arm-protos.h: Add prototypes for functions defined in
3668 * config/arm/arm.c (arm_override_options): Fix selection of
3669 attributes of default processor.
3671 * config/arm/coff.h: Delete needless #include.
3673 * config/arm/pe.c: Delete unused code.
3675 * config/arm/pe.h (CPP_DEFINES): Delete
3676 (SUBTARGET_CPP_SPEC): Define.
3677 (ASM_DECLARE_FUNCTION_NAME): Use ARM_DECLARE_FUNCTION_NAME.
3679 * config/arm/t-pe: Add -DInhibit_libc to allof libgcc.a to build.
3681 Mon Oct 25 15:42:09 1999 Richard Earnshaw (rearnsha@arm.com)
3683 * arm.h (TARGET_APCS_FRAME): Renamed from TARGET_APCS -- all uses
3685 (CAN_DEBUG_WITHOUT_FP): Define.
3686 (FIXED_REGISTERS): Make r11 call-saved.
3687 (CALL_USED_REGISTERS): Likewise.
3688 (CONDITIONAL_REGISTER_USAGE): Fix r11 if TARGET_APCS_FRAME.
3689 (FRAME_POINTER_REQUIRED): Correct logic for determining when a
3690 frame-pointer is required.
3691 (TARGET_DEFAULT): Make default setting include ARM_FLAG_APCS_FRAME.
3692 * arm.c (arm_override_options): Warn about -mno-apcs-frame and -g
3693 if the target normally needs a stack frame in non-leaf functions.
3694 (use_return_insn): Correct logic for determining when a return
3695 instruction can be used.
3696 (output_return_instruction): Handle the frame-pointer register as
3697 a normal register when not TARGET_APCS_FRAME.
3698 (arm_output_prologue): Likewise.
3699 (arm_output_epilogue): Likewise.
3700 (output_func_epilogue): Likewise.
3701 (arm_expand_prologue): Likewise.
3702 * netbsd.h semi.h (TARGET_DEFAULT): Add ARM_FLAG_APCS_FRAME.
3704 * arm.c (use_return_insn): No need to check floating point regs if
3706 (arm_find_minipool_constant): Correct typo; use GET_CODE to get
3707 the code of value stored in the minipool array.
3708 (arm_add_minipool_constant): Likewise.
3710 2000-04-08 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3712 * basic-block.h (conflict_graph_enum_fn): K&R fix.
3714 2000-04-08 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3716 * tree.c (tree_expr_nonnegative_p): New function.
3718 * tree.h (tree_expr_nonnegative_p): Declare.
3720 * c-typeck.c (build_binary_op): Call `tree_expr_nonnegative_p' to
3721 elide some sign_compare warnings.
3722 (build_conditional_expr): Likewise.
3724 Sat Apr 8 00:21:51 EDT 2000 John Wehle (john@feith.com)
3726 * i386.md (ashrsi3, ashrhi3, ashrqi3): Fix typo.
3728 * i386.md (floathisf2, floathidf2, floathixf2): New patterns.
3729 * i386.c (print_operand): Use the proper suffix for a 387 HImode
3730 operand. Abort if a 387 operand has an unsupported size.
3732 2000-04-08 Neil Booth <NeilB@earthling.net>
3734 * cppexp.c (parse_charconst): Null does not end character
3736 * cppinit.c (ISTABLE): Null character handled as whitespace.
3737 * cpplex.c (null_warning): new function.
3738 (skip_string): Emit warning if nulls encountered.
3739 (_cpp_skip_hspace): Emit warning if nulls encountered.
3740 (_cpp_lex_token): Emit warning if nulls encountered. Drop
3744 2000-04-07 Richard Henderson <rth@cygnus.com>
3746 * flow.c (loop_depth): Remove.
3747 (reg_next_use, cc0_live, mem_set_list): Replace with ...
3748 (struct propagate_block_info): New.
3749 (life_analysis): Don't allocate reg_next_use.
3750 (propagate_block_delete_insn): Break out of propagate_block.
3751 Use flow_delete_insn to unlink rather than use NOTE_INSN_DELETED.
3752 (propagate_block_delete_libcall): Likewise.
3753 (propagate_block): Create a propagate_block_info struct to pass
3754 to subroutines. Allocate one not two temporary regsets. Don't
3755 clobber memory for const calls. Look for clobbers in
3756 CALL_INSN_FUNCTION_USAGE.
3757 (mark_set_regs): Recognize COND_EXEC.
3758 (mark_set_reg): Break out of mark_set_1.
3759 (mark_used_reg): Break out of mark_used_regs.
3760 (mark_used_regs): Recognize COND_EXEC.
3761 (insn_dead_p): Use propagate_block_info struct.
3762 (libcall_dead_p, invalidate_mems_from_autoinc): Likewise.
3763 (find_auto_inc, try_pre_increment_1): Likewise.
3764 (print_rtl_with_bb): Dump regs live at end too.
3765 (count_reg_sets_1): Pass in loop_depth.
3766 (count_reg_sets, count_reg_references): Likewise.
3767 (recompute_reg_usage): Provide it.
3769 2000-04-07 Richard Henderson <rth@cygnus.com>
3771 * Makefile.in (conflict.o): Depend on $(RTL_H) and $(BASIC_BLOCK_H)
3774 2000-04-07 Zack Weinberg <zack@wolery.cumb.org>
3776 * cpplib.c (do_elif): Skip the rest of the line if we're
3777 not going to bother evaluating it.
3778 (skip_if_group): Clear pfile->only_seen_white. Reorder loop
3779 to avoid pointless calls to the lexer.
3781 Fri Apr 7 11:50:54 2000 Jim Wilson <wilson@cygnus.com>
3783 * config/ia64/ia64.c: Delete stdio.h and ctype.h includes.
3785 2000-04-07 Jason Merrill <jason@casey.cygnus.com>
3787 * calls.c (expand_call): emit_queue if we're trying a sibcall.
3789 2000-04-07 Jakub Jelinek <jakub@redhat.com>
3791 * config/sparc/t-linux64 (tcrtbeginS.o, tcrtendS.o): Remove.
3793 2000-04-06 Geoff Keating <geoffk@cygnus.com>
3795 * Makefile.in: Build crtbeginS and crtendS like crtbegin and
3796 crtend so they can be multilibbed.
3797 (STAGESTUFF): Remove s-crt and s-crtS.
3799 2000-04-07 Richard Henderson <rth@cygnus.com>
3801 * config/alpha/alpha.c (alpha_emit_conditional_move): Fail
3802 if we discover we need a pseudo and no_new_pseudos is true.
3803 * config/alpha/alpha.md (ne:DI insn): New.
3804 (trunctfsf2, sne): Emit NE instead of non-canonical LTU.
3806 2000-04-07 Richard Henderson <rth@cygnus.com>
3808 * rtl.def (COND_EXEC): New.
3809 * rtl.h (COND_EXEC_TEST, COND_EXEC_CODE): New.
3810 * tm.texi (MAX_CONDITIONAL_EXECUTE): Document.
3812 * genconfig.c (have_cond_arith_flag): Remove.
3813 (have_cond_exec_flag): New.
3814 (walk_insn_part): Detect COND_EXEC, not arithmetic in IF_THEN_ELSE.
3815 (main): Print HAVE_conditional_execution.
3817 * haifa-sched.c (haifa_classify_insn): Recognize COND_EXEC.
3818 (sched_analyze_insn, print_pattern): Likewise.
3819 * reload.c (find_equiv_reg): Likewise.
3820 * rtlanal.c (reg_referenced_p): Likewise.
3821 (note_stores, dead_or_set_regno_p): Likewise.
3822 (reg_overlap_mentioned_p): Rewrite to use a switch.
3824 * ggc.h (struct rtx_def): Forward declare.
3826 * print-rtl.c (debug_rtx_range): New.
3827 * rtl.h (debug_rtx_range): Declare.
3829 * varray.h (VARRAY_ACTIVE_SIZE, VARRAY_POP_ALL): New.
3831 * gcse.c (gcse_main): Don't rebuild the CFG here.
3832 (delete_null_pointer_checks): Likewise.
3833 * ssa.c (convert_to_ssa): Likewise.
3834 * toplev.c (rest_of_compilation): Do it here instead. Combine
3835 sequential calls to TIMEVAR. Consistently use `insns' instead of
3836 `get_insns()'. Always split insns after reload when optimizing.
3838 * basic-block.h (merge_blocks_nomove): Declare.
3839 (tidy_fallthru_edge): Declare.
3840 * flow.c (merge_blocks_nomove): Document as merging into previous
3841 blocks. Remove cruft from between blocks; remove all edges out of A.
3842 (tidy_fallthru_edge): Export.
3844 2000-04-06 Alex Samuel <samuel@codesourcery.com>
3846 * ssa.c (compute_conservative_reg_partition): Declare with
3848 * toplev.c (clean_dump_file): Remove previously-deleted function
3849 inadvertantly merged back in.
3850 * conflict.c (conflict_graph_add): Use a single call to
3851 htab_find_slot to look up and insert.
3853 2000-04-06 Richard Henderson <rth@cygnus.com>
3855 * genrecog.c (*): Rename _last_insn to last_insn.
3856 (make_insn_sequence): Set the position of the peephole2 C test
3857 to be at the last insn.
3859 2000-04-06 Richard Henderson <rth@cygnus.com>
3861 * flow.c (compute_flow_dominators): Free worklist.
3863 2000-04-06 Michael Matz <matzmich@cs.tu-berlin.de>
3865 * flow.c (compute_flow_dominators): Process blocks FIFO not LIFO.
3867 2000-04-06 Alex Samuel <samuel@codesourcery.com>
3869 * rtl.h (INSN_P): New macro.
3870 (successor_phi_fn): New typedef.
3871 (for_each_successor_phi): New prototype.
3872 (in_ssa_form): New variable.
3873 (PHI_NODE_P): Likewise.
3874 * flow.c (calculate_global_regs_live): Add to new_live_at_end from
3875 phi nodes in successors.
3876 (mark_used_regs): Add PHI case.
3877 (set_phi_alternative_reg): New function.
3878 (life_analysis): Assert that dead code elimination is not selected
3880 * toplev.c (to_ssa_time): New variable.
3881 (from_ssa_time): Likewise.
3882 (compile_file): Zero to_ssa_time and from_ssa_time.
3883 Print time to convert to and from SSA.
3884 (rest_of_compilation): Time convert_to_ssa and convert_from_ssa.
3885 (print_time): Compute percent fraction as integer.
3886 * ssa.c (PHI_NODE_P): Moved to rtl.h.
3887 (convert_to_ssa): Check if we're already in SSA.
3888 Don't eliminate dead code in life_analysis.
3889 Rerun flow and life analysis at bottom.
3890 (eliminate_phi): Use canonical regnos when adding nodes.
3891 (mark_reg_in_phi): New function.
3892 (mark_phi_and_copy_regs): Likewise.
3893 (convert_from_ssa): Rerun life analysis at top.
3894 Use coalesced partition.
3895 Check for removing a phi node at the end of the block.
3896 (compute_coalesced_reg_partition): New function.
3897 (coalesce_regs_in_copies): Likewise.
3898 (coalesce_reg_in_phi): Likewise.
3899 (coalesce_regs_in_sucessor_phi_nodes): Likewise.
3900 (for_each_successor_phi): Likewise.
3901 (rename_context): New struct.
3902 (rename_block): Use a rename_context with rename_insn_1. When
3903 renaming sets of a subreg, emit a copy of the entire reg first.
3904 (rename_insn_1): Treat data as a rename_context *. Save current
3906 (rename_set_data): Add field set_insn.
3907 * Makefile.in (HASHTAB_H): Move up in file.
3908 (OBSTACK_H): New macro.
3909 (collect2.o): Use OBSTACK_H in dependencies.
3910 (sdbout.o): Likewise.
3911 (emit-rtl.o): Likewise.
3912 (simplify-rtx.o): Likewise.
3913 (fix-header.o): Likewise.
3914 (OBJS): Add conflict.o.
3915 (conflict.o): New rule.
3916 * basic-block.h: Include partition.h.
3917 (conflict_graph): New typedef.
3918 (conflict_graph_enum_fn): Likewise.
3919 (conflict_graph_new): New prototype.
3920 (conflict_graph_delete): Likewise.
3921 (conflict_graph_add): Likewise.
3922 (conflict_graph_conflict_p): Likewise.
3923 (conflict_graph_enum): Likewise.
3924 (conflict_graph_merge_regs): Likewise.
3925 (conflict_graph_print): Likewise.
3926 (conflict_graph_compute): Likewise.
3927 * conflict.c: New file.
3929 2000-04-06 Jason Merrill <jason@yorick.cygnus.com>
3931 * tlink.c (read_repo_files): Don't look for .rpo info for
3934 Thu Apr 6 20:39:26 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
3936 * sh.h (STRUCT_VALUE, RETURN_IN_MEMORY): Define.
3938 Thu Apr 6 19:34:08 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
3940 * config/sh/lib1funcs.asm (___udivsi3_i4):
3941 ( __SH4_SINGLE__ / __SH4_SINGLE_ONLY__ variant): value for fpscr
3942 only depends on FMOVD_WORKS.
3944 Thu Apr 6 19:11:47 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
3946 * config/sh/lib1funcs.asm (___udivsi3_i4): When using fmovd,
3947 make double constant 8-byte aligned.
3949 2000-04-06 Jakub Jelinek <jakub@redhat.com>
3951 * config/sparc/sparc.md (movtf_insn_sp32, movtf_insn_vis_sp32,
3952 movtf_no_e_insn_sp32, movtf_insn_hq_sp64, movtf_insn_hq_vis_sp64,
3953 movtf_no_e_insn_sp64): Accept loading 0.0 into GENERAL_REGS.
3954 (movtf_insn_sp64, movtf_insn_vis_sp64): Likewise.
3955 Accept storing GENERAL_REGS into offsetable memory.
3956 * config/sparc/sparc.h (PREFERRED_RELOAD_CLASS): Don't allow
3957 building a TFmode constant other than 0.0L into GENERAL_REGS.
3959 2000-04-06 Clinton Popetz <cpopetz@cygnus.com>
3961 * regrename.c (regrename_optimize): Handle no REG_ALLOC_ORDER.
3963 2000-04-06 Zack Weinberg <zack@wolery.cumb.org>
3965 * cpphash.c (CPP_IS_MACRO_BUFFER, FORWARD, PEEKC): Delete.
3966 (macro_cleanup): No need to cast pbuf->macro.
3967 (collect_expansion): Use _cpp_get_define_token. Goto done if
3968 it returns VSPACE. Remove check for trailing space after
3970 (_cpp_create_definition): Don't diddle flags here. Return
3972 (unsafe_chars): Handle c1 being EOF.
3973 (push_macro_expansion): Use unsafe_chars for both accidental-paste
3974 checks. Don't push the buffer till after we're done with
3976 * cpplex.c (PEEKBUF, GETBUF, FORWARDBUF): New.
3977 (PEEKN, FORWARD, GETC, PEEKC): Use them.
3978 (cpp_push_buffer): Don't set new->alimit. Set new->mark
3980 (_cpp_parse_assertion): Don't NUL terminate.
3981 (_cpp_lex_token): Fix -traditional macro handling. Don't skip
3982 hspace before calling _cpp_parse_assertion. Remove all sets
3983 of only_seen_white. Treat '\f' as hspace. Don't do anything
3984 special with '\n' here.
3985 (maybe_macroexpand): Handle T_EMPTY hash entries without
3986 pushing a buffer at all.
3987 (cpp_get_token): Handle clearing only_seen_white here. Handle
3988 incrementing the line number here. Clear
3989 potential_control_macro as well as only_seen_white, if
3991 (cpp_get_non_space_token): Don't eat CPP_POP tokens.
3992 (_cpp_get_define_token): New function, basically like
3993 _cpp_get_directive_token was but doesn't eat horizontal space.
3994 Don't do anything with only_seen_white here.
3995 (_cpp_get_directive_token): Just call _cpp_get_define_token
3996 repeatedly till it returns non-hspace.
3998 * cpplib.c (PEEKN, FORWARD, GETC, PEEKC): Delete.
3999 (conditional_skip, skip_if_group): Return int.
4000 (DIRECTIVE_TABLE): Change origin of all conditional directives
4002 (TRAD_DIRECT_P): New macro.
4003 (_cpp_handle_directive): Use _cpp_get_directive_token. Issue
4004 an error for a bogus directive, unless -lang-asm. Use
4005 TRAD_DIRECT_P. Loop calling handler functions till one returns
4007 (get_macro_name): Don't diddle flags here.
4008 (do_define): Diddle flags here. Use _cpp_get_directive_token.
4009 Create T_EMPTY nodes for #define macro /* nothing */.
4010 (do_undef): Don't copy the name. Use _cpp_get_directive_token.
4011 Use hp->name when calling pass_thru_directive.
4012 (do_if, do_else, do_elif, do_ifdef, do_ifndef, conditional_skip):
4013 Return the result of conditional_skip and/or skip_if_group.
4014 Don't call _cpp_output_line_command.
4015 (consider_directive_while_skipping): Use _cpp_get_directive_token.
4016 Issue -Wtraditional warnings as appropriate. Don't complain
4017 about unrecognized directives. If we are to stop skipping,
4018 return the number of the directive that ended the skip.
4019 (skip_if_group): Use _cpp_get_directive_token. Turn off macro
4020 expansion and line commands while skipping. Return the result
4021 of consider_directive_while_skipping, if nonzero.
4022 (do_endif): Just set potential_control_macro here.
4023 (validate_else): Use _cpp_get_directive_token.
4024 (do_assert, do_unassert): Don't save pointers into the
4025 token_buffer across calls to the lexer. Use
4026 _cpp_get_directive_token.
4028 * cpplib.h (cpp_buffer): Remove alimit and colno. Make mark a
4029 pointer, not an offset. Replace 'data', which was a generic
4030 pointer, with 'macro', which points to a struct hashnode.
4031 (cpp_reader): Add 'potential_control_macro' pointer.
4032 * cpphash.h (T_UNUSED): Replace with T_EMPTY.
4033 (CPP_BUF_GET, CPP_FORWARD): Delete.
4034 (CPP_IN_COLUMN_1, ADJACENT_TO_MARK): New macros.
4035 (CPP_IS_MACRO_BUFFER, CPP_SET_BUF_MARK, CPP_GOTO_BUF_MARK,
4036 ACTIVE_MARK_P): Update.
4037 (_cpp_get_define_token): New internal function.
4038 * cppfiles.c (read_include_file): Don't set fp->alimit or fp->colno.
4040 2000-04-05 Benjamin Kosnik <bkoz@cygnus.com>
4042 * configure.in: And here.
4043 * configure: Regenerate.
4044 * acconfig.h: Add ENABLE_STD_NAMESPACE to set flag_honor_std if
4045 --enable-libstdcxx-v3 is passed at configure time.
4046 * config.h.in: Regenerate.
4048 2000-04-05 Mark Mitchell <mark@codesourcery.com>
4050 * final.c (final): Use xcalloc to allocate line_note_exists.
4051 * function.c (free_after_compilation): Free the temp_slots.
4052 (assign_stack_temp_for_type): Use xmalloc to allocate temp_slots.
4053 (combine_temp_slot): Free temp_slots when they get combined.
4054 (purge_addressof): Fix typo in comment.
4055 * stmt.c (mark_goto_fixup): Mark the fixup itself.
4056 (expand_fixup): Allocate the fixup with ggc_alloc_obj.
4058 * ggc.h: Include varray.h.
4059 (ggc_pending_trees): Declare.
4060 (ggc_mark_tree_children): Remove declaration.
4061 (ggc_mark_tree): Just push unmarked trees on ggc_pending_trees.
4062 * ggc-common.c (ggc_pending_trees): New variable.
4063 (ggc_mark_roots): Call ggc_mark_trees.
4064 (ggc_mark_tree_children): Rename to ggc_mark_trees. Process all
4065 the ggc_pending_trees.
4066 * Makefile.in (GGC_H): New variable. Use it throughout in place
4069 Thu Apr 6 00:30:50 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
4071 * sh.h (FUNCTION_ARG_PARTIAL_NREGS): Accomodate an unsigned
4074 Wed Apr 5 23:17:10 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
4076 * sh.c (sh_insn_length_adjustment): New function.
4077 * sh-protos.h (sh_insn_length_adjustment): Declare.
4078 * sh.h (ADJUST_INSN_LENGTH): Use it.
4080 Wed Apr 5 12:35:18 2000 Hans-Peter Nilsson <hp@axis.com>
4082 * optabs.c (emit_libcall_block): Remove spurious REG_EQUAL notes
4083 from the insn where REG_RETVAL is added.
4084 (emit_no_conflict_block): Ditto.
4086 * md.texi (Standard Names): Clarify when movX is needed.
4088 * combine.c (simplify_comparison) [MINUS]: Do not replace
4089 all (op (minus A B) 0) with (op A B).
4091 Wed Apr 5 18:03:31 2000 Toshiyasu Morita (toshi.morita@sega.com)
4092 J"orn Rennecke <amylaar@cygnus.co.uk>
4094 * sh.md (block_lump_real_i4): Add missing clobber of T_REG
4095 (block_lump_real): Likewise.
4097 2000-04-05 Chris Demetriou <cgd@netbsd.org>
4099 * mips.h (MASK_DEBUG_A, MASK_DEBUG_B, MASK_DEBUG_C): Zero the
4100 remaining non-zero debugging masks.
4102 Wed Apr 5 09:44:07 2000 Jeffrey A Law (law@cygnus.com)
4104 * basic-block.h (verify_flow_info): Declare.
4105 (flow_loop_outside_edge_p): Declare.
4106 * flow.c (verify_flow_info): Remove declaration.
4107 (clear_log_links, flow_loop_outside_edge_p): Likewise.
4109 Wed Apr 5 09:34:26 2000 Philippe De Muyter <phdm@macqel.be>
4111 * m68k/m68k-protos.h (finalize_pic): Turn prototype off using `#if 0',
4114 2000-04-05 Jakub Jelinek <jakub@redhat.com>
4116 * config/sparc/sparc.md (snedi_zero+1, neg_snedi_zero+1,
4117 snedi_zero_trunc+1, seqdi_zero+1, neg_seqdi_zero+1,
4118 seqdi_zero_trunc+1): Allow splits only if registers are
4121 2000-04-04 Ulrich Drepper <drepper@cygnus.com>
4123 * acconfig.h: Add HAVE_GAS_HIDDEN.
4124 * config.in: Regenerated.
4125 * configure.in: Add test for .hidden pseudo-op in gas.
4126 * configure: Regenerated.
4127 * crtstuff.c: Include auto-host.h.
4128 Emit additional .hidden pseudo-op for __dso_handle if the
4129 assembler knows about it.
4131 2000-04-04 Philippe De Muyter <phdm@macqel.be>
4133 * cpphash.c (_cpp_free_definition): Test argnames, not nargs >= 0,
4134 before freeing argnames.
4135 * cpplib.c (do_ifndef): Cast return value of xstrdup.
4137 2000-04-05 Michael Meissner <meissner@redhat.com>
4139 * config/rs6000/rs6000.c (print_operand): Patch from Jonathan
4140 Walton <jonboy@gordian.com> to make memory references with update
4141 work wtih -mregnames.
4143 2000-04-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4145 * regrename.c (regno_first_use_in): Wrap prototype in PARAMS.
4146 (regrename_optimize): Rename variables `def_uses' and
4147 `ext_basic_blocks' to avoid conflicts with similarly named
4148 typedefs in traditional C.
4150 * calls.c (initialize_argument_information): Fix typo in previous
4153 2000-04-04 Richard Henderson <rth@cygnus.com>
4155 * regrename.c (consider_available): Test fixed_regs not
4156 PIC_OFFSET_TABLE_REGNUM.
4158 2000-04-04 Geoff Keating <geoffk@cygnus.com>
4160 * config/rs6000/t-ppccomm (EXTRA_MULTILIB_PARTS): Add crtbegin,
4162 (CRTSTUFF_T_CFLAGS_S): Delete definition.
4163 * config/rs6000/sysv4.h (STARTFILE_LINUX_SPEC): Always use crtbegin.
4164 (ENDFILE_LINUX_SPEC): Always use crtend.
4165 * configure.in (powerpc-*-linux-gnulibc1): Don't define extra_parts.
4166 (powerpc-*-linux-gnu): Likewise.
4167 * configure: Regenerate.
4169 * config/rs6000/eabi.h: Don't include sysv4.h.
4170 (MULTILIB_DEFAULTS): Don't define.
4171 * config/rs6000/eabiaix.h: Don't include eabi.h.
4172 * config/rs6000/eabile.h: Delete.
4173 * config/rs6000/eabilesim.h: Delete.
4174 * config/rs6000/eabisim.h: Don't include eabi.h.
4175 * config/rs6000/linux.h: Don't include sysv4.h.
4176 (JUMP_TABLES_IN_TEXT_SECTION): Don't redefine.
4177 (MULTILIB_DEFAULTS): Don't redefine.
4178 * config/rs6000/rtems.h: Don't include eabi.h.
4179 * config/rs6000/sol2.h: Don't include sysv4le.h.
4180 * config/rs6000/sysv4le.h: Don't include sysv4.h.
4181 * config/rs6000/t-ppc: Delete.
4182 * config/rs6000/t-ppcgas: Correct comment.
4183 * config/rs6000/t-ppcos: Correct comment. Don't build
4184 multilibs for -fPIC, rather use -fPIC -mstrict-align
4186 * config/rs6000/t-ppc: Delete.
4187 * config/rs6000/vxppc.h: Don't include sysv4.h.
4188 * config/rs6000/vxppcle.h: Delete.
4189 * configure.in: Use multiple header files for p2pc ELF targets
4190 powerpc-eabiaix, powerpc-eabisim, powerpc-rtems, powerpcle-eabi,
4191 powerpcle-eabisim, powerpc-elf, powerpcle-elf, powerpc-linux-gnu,
4192 powerpc-linux-gnulibc1, powerpc-sysv, powerpcle-sysv,
4193 powerpc-vxworks, powerpcle-vxworks. Assume GAS functionality is
4194 always available for these platforms.
4196 2000-04-04 Richard Henderson <rth@cygnus.com>
4198 * calls.c (try_to_integrate): Initialize reg_parm_stack_space.
4200 2000-04-04 Stan Cox <scox@cygnus.com>
4202 * Makefile.in: Add rules for regrename.o
4203 * regrename.c: New file.
4204 * rtl.h (regrename_optimize): Add prototype.
4205 * toplev.c (rename_registers_dump, flag_rename_registers): New variables
4206 (compile_file, decode_d_option): Add support for -frename-registers.
4207 (rest_of_compilation): Call regrename_optimize.
4208 * config/ia64/ia64.h (HARD_REGNO_RENAME_OK, RENAME_EXTENDED_BLOCKS):
4211 2000-04-04 Martin v. Löwis <loewis@informatik.hu-berlin.de>
4213 * Makefile (gccbug): New target.
4214 (doc): Depend on it.
4215 * gcc.texi (Bugs): Link subnodes.
4217 * gccbug.in (CATEGORIES): Remove gc, host, profiling, libgcc.
4218 Document severities, priorities, and classes in bug form.
4220 2000-04-04 Zack Weinberg <zack@wolery.cumb.org>
4222 * cpplex.c (trigraph_map, speccase): Combine into single
4224 (NORMAL, NONTRI): New macros.
4225 (_cpp_read_and_prescan): Change to use unified table. Use
4226 is_hspace to test for whitespace.
4228 * dbxout.c (CONTIN): If it doesn't have to do anything, give it a
4229 definition that doesn't provoke the "empty body in an
4230 if-statement" warning.
4232 2000-04-04 Clinton Popetz <cpopetz@cygnus.com>
4234 * builtins.c (expand_builtin_strlen): Force the source to
4235 be a memory address.
4237 2000-04-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4239 * cpplib.c (D): Adjust to call CONCAT2 macro without whitespace.
4241 Tue Apr 4 19:17:20 MET DST 2000 Jan Hubicka <jh@suse.cz>
4243 * calls.c (ECF_MALLOC, ECF_MAY_BE_ALLOCA, ECF_RETURNS_TWICE,
4244 ECF_LONGJMP, ECF_FORK_OR_EXEC): New constants.
4245 (ECF_IS_CONST): Rename to ECF_CONST.
4246 (special_function_p): Make static, change interface.
4247 (flags_from_decl_or_type, try_to_integrate): Break out from ...
4248 (expand_call) ... here; convert number of variables to flags.
4249 (emit_library_call_vlue_1): Likewise.
4250 (setjmp_call_p): New function.
4251 (initialize_argument_information): Accepts flags as argument;
4253 (precompute_arguments): Likewise.
4254 * tree.h (special_function_p): Remove.
4255 (setjmp_call_p): Add prototype.
4257 2000-04-04 Jakub Jelinek <jakub@redhat.com>
4259 * config/sparc/sparc.h (RTX_OK_FOR_OFFSET_P): Leave minor margin
4260 so that addresses are offsetable by up to 16 bytes.
4261 (GO_IF_LEGITIMATE_ADDRESS): Don't allow REG+REG addresses for
4262 non-optimizing TARGET_ARCH32 in DF or DI modes because it is not
4265 * config/sparc/sparc.md (movdi_insn_sp64_novis): New pattern.
4266 (movdi_insn_sp64_vis): Renamed from movdi_insn_sp64.
4267 (movsf): Don't force any constant to memory if target is integer
4269 Move fp_zero_operand check below the const0_rtx check.
4270 (movtf): Likewise. Also allow fp_zero_operand for stores into
4272 (movdf): Likewise. Also allow fp_zero_operand for stores into
4273 memory and into integer hard registers.
4274 (clear_df, clear_dfp, movdf_const_intreg_sp32,
4275 movdf_const_intreg_sp64): Remove.
4276 (movdf_insn_sp32, movdf_no_e_insn_sp32): Redo constraints and
4278 (movdf_no_e_insn_v9_sp32): New pattern.
4279 (movdf_insn_v9only): Remove.
4280 (movdf_insn_v9only_novis, movdf_insn_v9only_vis): New patterns.
4281 (movdf_insn_sp64): Remove.
4282 (movdf_insn_sp64_novis, movdf_insn_sp64_vis): New patterns.
4283 (movdf_no_e_insn_sp64): Allow storing 0.0 into memory.
4284 (following splits): Rewrite conditions. Add two new splits
4285 for storing 0.0 into memory and registers.
4286 (clear_tf, clear_tf+1, clear_tfp, clear_tfp+1): Remove.
4287 (movtf_insn_sp32): Redo constraints and conditions.
4288 (movtf_insn_vis_sp32): New pattern.
4289 (movtf_no_e_insn_sp32): Redo constraints and conditions.
4290 (movtf_insn_hq_sp64): Likewise.
4291 (movtf_insn_hq_vis_sp64): New pattern.
4292 (movtf_insn_sp64): Redo constraints and conditions.
4293 (movtf_insn_vis_sp64): New pattern.
4294 (movtf_no_e_insn_sp64): Redo constraints and conditions.
4295 (movtf_no_e_insn_sp64+1): New split for storing 0.0L into registers
4297 * config/sparc/sparc.c (sparc_override_options): Assume v9 if either
4298 -mvis or -m64 to take down the number of various reload patterns.
4300 Tue Apr 4 00:41:53 2000 Jeffrey A Law (law@cygnus.com)
4302 * pa/pa-64.h: New file.
4303 * pa/pa64-regs.h: New file.
4304 * pa/pa64-start.h: New file.
4305 * pa/t-pa64: New file.
4306 * pa/xm-pa64hpux.h: New file.
4308 2000-04-03 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4310 * sparc.c (output_restore_regs): Prototype.
4311 (sparc_emit_float_lib_cmp): Constification.
4313 * emit-rtl.c (const_int_htab_hash, const_int_htab_eq): Likewise.
4315 * reload1.c (reload_cse_delete_noop_set, reload_cse_simplify):
4318 * simplify-rtx.c (entry_and_rtx_equal_p): Constification.
4319 (get_value_hash, hash_rtx): Likewise.
4321 * ssa.c (compute_conservative_reg_partition): Prototype.
4323 * tree.c (mark_hash_entry): Prototype.
4325 2000-04-03 Zack Weinberg <zack@wolery.cumb.org>
4327 * bb-reorder.c (verify_insn_chain): #ifdef out unless ENABLE_CHECKING.
4328 * i386.h (FUNCTION_ARG_REGNO_P): Remove unnecessary test for N >= 0.
4329 * i386.md (call_value, call_value_pop): Remove unused variable 'addr'.
4331 * gcc.c (C specs): Pass -fno-show-column to the preprocessor.
4332 * objc/lang-specs.h: Likewise.
4334 2000-04-03 Neil Booth <NeilB@earthling.net>
4336 * cppexp.c: wrap long lines. New macros CPP_ICE, SYNTAX_ERROR
4337 and SYNTAX_ERROR2. Replace `' in messages with ''.
4338 (op_to_str): Make re-entrant.
4339 (_cpp_parse_expr): Implement new error macros. Use | rather
4340 than || to logically or 2 boolean integers. Simply expression
4341 checking we have a left operand iff needed.
4343 2000-04-03 Nick Clifton <nickc@cygnus.com>
4345 * Makefile.in (diagnostic.o): Depend upon diagnostic.c
4347 2000-04-03 Philip Blundell <philb@gnu.org>
4349 * config/arm/linux-elf.h (SUBTARGET_EXTRA_LINK_SPEC): Fix typos.
4351 2000-04-03 Felix Lee <flee@cygnus.com>
4353 * fixinc/server.c (find_shell): New function. Avoid $SHELL.
4354 (run_shell): Use it.
4356 2000-04-03 Jonathan Larmour <jlarmour@redhat.co.uk>
4358 * Makefile.in (stmp-int-hdrs): Make include subdir here...
4359 (stmp-fixproto): ...rather than here.
4361 Mon Apr 3 00:50:06 2000 Jason Eckhardt <jle@cygnus.com>
4363 * pa.c (print_operand): Compute 'base' only inside the code paths
4366 2000-04-03 Geoffrey Keating <geoffk@cygnus.com>
4368 * stor-layout.c (byte_from_pos): Use TRUNC_DIV_EXPR rather than
4371 2000-04-03 Philipp Thomas <pthomas@suse.de>
4373 * i386.h (TARGET_SWITCHES): Remove bogus empty strings, fix typo.
4375 Mon Apr 3 00:02:59 2000 Brad Lucier <lucier@math.purdue.edu>
4377 * Makefile.in (alias.o): Depend on $(TREE_H).
4379 2000-04-02 Zack Weinberg <zack@wolery.cumb.org>
4381 * cppinit.c (cpp_start_read): Turn off -Wtraditional if
4383 * cpplib.c (_cpp_handle_directive): Improve warnings for
4384 traditional C and indented directives.
4386 * enquire.c, gsyslimits.h, limity.h, config/convex/fixinc.convex,
4387 fixinc/fixinc.irix, fixinc/fixinc.sco, fixinc/fixinc.wrap,
4388 fixinc/inclhack.def: Indent the # of #include_next one space.
4389 * cp/rtti.c: Un-indent #if and #endif.
4391 * cppexp.c (_cpp_parse_expr): If lex returns '#', it's a
4392 syntax error, but an error has already been printed.
4393 * cpplex.c (_cpp_parse_assertion): Give a more specific error
4394 message when called with nothing remaining on the line.
4395 (_cpp_lex_token): If _cpp_parse_assertion fails, return an
4396 OTHER token, not an ASSERTION.
4397 * cpplib.c (do_assert): When we create a 'base' node, clear
4398 its aschain pointer.
4400 2000-04-02 Neil Booth <NeilB@earthling.net>
4402 * cppexp.c: New typedef op_t. struct operation and struct
4403 token updated to use it.
4404 (op_to_str): New function.
4405 (_cpp_parse_expr): Error messages modified to use op_to_str.
4407 2000-04-02 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
4409 * config/c4x/c4x.c (c4x_function_arg): Check for void_type_node
4410 before checking MUST_PASS_IN_STACK.
4412 2000-04-02 Neil Booth <NeilB@earthling.net>
4414 * cppexp.c: New FINISHED dummy token. Combine operator initial
4415 flags and initial priority into a single constant. New
4416 EQUALITY macro. New operator flag SHORT_CIRCUIT.
4417 (_parse_cpp_expr): Implement new constants. Take left operand
4418 checks out of reduction loop. Handle SHORT_CIRCUIT. End of
4419 parse indicated by reducing FINISHED token. Remove new lines
4420 from cpp_error messages.
4422 2000-04-01 Mark Mitchell <mark@codesourcery.com>
4424 * emit-rtl.c (gen_rtx_CONST_INT): Create cached CONST_INTs on the
4427 2000-04-01 Zack Weinberg <zack@wolery.cumb.org>
4429 * cpplib.c: Include symcat.h. Add 'origin' field to struct
4430 directive. Add origin values to DIRECTIVE_TABLE. Generate
4431 the strings and function names on the fly. Take the #sccs
4432 entry out of the table if SCCS_DIRECTIVE is not defined.
4433 (_cpp_handle_directive): Decide if the # was at the beginning
4434 of the line here. Issue -pedantic warnings for extended
4435 directives here. Warn about K+R directives with the #
4436 indented, and C89/extended directives with the # not indented,
4438 (do_import, do_include_next, do_warning, do_ident, do_sccs,
4439 do_assert, do_unassert): Don't issue pedantic warning here.
4441 * cpphash.h: Add CPP_WTRADITIONAL macro.
4442 * cpplib.h (struct cpp_options): Rename warn_stringify to
4443 warn_traditional; update comments.
4444 * cppinit.c (handle_option): Set warn_traditional not
4446 * cpphash.c: Replace CPP_OPTION (pfile, warn_stringify) with
4447 CPP_WTRADITIONAL (pfile).
4448 * cpplex.c (_cpp_lex_token): Don't decide if directives should
4449 be ignored in -traditional mode here.
4451 * cpplex.c: Copy ISTABLE macros from cppinit.c, and adapt them
4452 to initialize speccase[] and trigraph_map[]. Delete all
4453 references to pfile->input_speccase. Always treat '?' as a
4454 special character. Remove table-initialization code from
4455 _cpp_init_input_buffer.
4457 * cpplib.h (struct cpp_reader): Remove input_speccase field.
4458 * cppinit.c (cpp_cleanup): Don't free input_speccase.
4460 2000-04-01 Richard Henderson <rth@cygnus.com>
4462 * Makefile.in (STAGESTUFF): Wildcard all debugging dumps at once.
4463 (mostlyclean): Likewise.
4465 * toplev.c (rtl_dump, jump_opt_dump, etc): Remove.
4466 (struct dump_file_info, enum dump_file_index, dump_file): New.
4467 (open_dump_file): Take a dump_file_index not a suffix, and a decl
4468 not a string. Clean out file if we havn't yet done so. Do nothing
4469 if the dump isn't enabled.
4470 (close_dump_file): Do nothing if the dump isn't open. Dump
4471 graph data if requested.
4472 (dump_rtl, clean_dump_file): Remove.
4473 (compile_file): Don't clean the dump files. Only finalize .bp dump
4474 if flag_test_coverage or flag_branch_probabilities. Only finalize
4475 .combine dump if optimizing. Iterate over dump_file to finalize the
4477 (rest_of_compilation): Update for open_dump_file/close_dump_file.
4478 Convert all uses of dump_rtl.
4479 (decode_d_option): Iterate over dump_file to implement 'a' and to
4480 locate pass-specific dumps.
4482 2000-04-01 Neil Booth <NeilB@earthling.net>
4484 * cppexp.c: Redefine priority constants.
4485 (_cpp_parse_expr): Replace left and right priority scheme with
4486 single priority logic. Move LOGICAL to same place as COMPARE.
4487 Remove bogus check for multiple unary +/- operators.
4489 2000-04-01 Neil Booth <NeilB@earthling.net>
4491 * cppexp.c: (_cpp_parse_expr): Numerical constants are pushed
4492 within the switch statement. Binary operations break out of
4493 the switch naturally. '(' tokens handled by forcing
4494 immediate shift. ')' handled by forcing immediate reduce to
4495 the previous '('. New error messages.
4497 2000-03-31 Geoff Keating <geoffk@cygnus.com>
4499 * config/rs6000/rs6000.c (print_operand): Don't use %l for 'low
4500 part', it's already in use. Use %K instead. Add a return at the
4501 end of what is now %K.
4502 * config/rs6000/rs6000.md (elf_low): Use %K instead of %l.
4504 Sat Apr 1 02:05:29 MET DST 2000 Jan Hubicka <jh@suse.cz>
4506 * builtins.c (expand_builtin_apply): Pass proper parameters to
4507 allocate_dynamic_stack_space.
4508 * calls.c (emit_call_1): Do not adjust stack pointer for SIB,
4509 update stack_pointer_delta; do not update arg_size_so_far.
4510 (compute_argument_block_size): Use stack_delta instead of
4511 stack_pointer_pending and arg_size_so_far.
4512 (expand_call): Add sanity checking for stack_pointer_delta;
4513 save and restore stack_pointer_delta for SIB, use
4514 stack_pointer_delta for alignment; do not update arg_space_so_far.
4515 (emit_library_call_value): Use stack_pointer_delta for alignment.
4516 (store_one_arg): Do not update arg_space_so_far.
4517 * explow.c (adjust_stack, anti_adjust_stack): Update
4518 stack_pointer_delta.
4519 (allocate_dynamic_stack_space): Add sanity checking for
4520 stack_pointer_delta.
4521 * expr.c (init_expr, clear_pending_stack_adjust): Clear
4522 stack_pointer_delta.
4523 (emit_push_insn): Update stack_pointer_delta.
4524 * function.h (struct expr_status): Add x_stack_pointer_delta;
4525 remove x_arg_space_so_far.
4526 (arg_space_so_far): Remove.
4527 (stack_pointer_delta): New macro.
4529 2000-03-31 Zack Weinberg <zack@wolery.cumb.org>
4531 * cpplib.h: Merge struct cpp_options into struct cpp_reader.
4532 Reorder struct cpp_options and struct cpp_reader for better
4533 packing. Replace CPP_OPTIONS macro with CPP_OPTION which
4534 takes two args. Change all 'char' flags to 'unsigned char'.
4535 Move show_column flag into struct cpp_options. Don't
4536 prototype cpp_options_init.
4537 * cpphash.h, cpperror.c, cppexp.c, cppfiles.c, cpphash.c,
4538 cppinit.c, cpplex.c, cpplib.c:
4539 Replace CPP_OPTIONS (pfile)->whatever with
4540 CPP_OPTION (pfile, whatever), and likewise for
4541 opts = CPP_OPTIONS (pfile); ... opts->whatever;
4543 * cppinit.c (merge_include_chains): Take a cpp_reader *.
4544 Extract CPP_OPTION (pfile, pending) and work with that
4546 (cpp_options_init): Delete.
4547 (cpp_reader_init): Turn on on-by-default options here.
4548 Allocate the pending structure here.
4549 (cl_options, enum opt_code): Define these from the same table,
4550 kept in a large macro. Add -fshow-column and -fno-show-column
4553 * cpperror.c (v_message): If show_column is off, don't print
4556 * cppmain.c: Update for new interface.
4557 * fix-header.c: Likewise.
4559 2000-03-30 Geoff Keating <geoffk@cygnus.com>
4561 * config/rs6000/t-aix43 (AR_FLAGS_FOR_TARGET): Adjust for new
4563 * Makefile.in (AR_FLAGS_FOR_TARGET): Is now the flags that
4564 are passed to any invocation of AR_FOR_TARGET.
4565 (AR_CREATE_FOR_TARGET): New macro.
4566 (AR_EXTRACT_FOR_TARGET): New macro.
4567 (ORDINARY_FLAGS_TO_PASS): Add AR_CREATE_FOR_TARGET,
4568 AR_EXTRACT_FOR_TARGET.
4569 (many places): Use AR_CREATE_FOR_TARGET, AR_EXTRACT_FOR_TARGET
4570 in place of `$(AR_FOR_TARGET) $(AR_FLAGS_FOR_TARGET)' and
4571 `$(AR_FOR_TARGET) x'. Pass AR_CREATE_FOR_TARGET and
4572 AR_EXTRACT_FOR_TARGET to sub-makes.
4574 2000-03-31 Neil Booth <NeilB@earthling.net>
4576 * cppexp.c: Delete SKIP_OPERAND. Correct priority
4578 (_cpp_parse_expr): Check for multiple unary +/- operators.
4579 Correct priorities of ':' and '?'. Treat ')' as having a
4580 value. Ensure conditional expression is not void.
4582 2000-03-31 Mark Mitchell <mark@codesourcery.com>
4584 * alias.c (canon_rtx): Make it global.
4585 (rtx_equal_for_memref_p): CONST_INT equality is now pointer
4587 * cse.c (struct table_elt): Add canon_exp.
4589 (invalidate): Canonicalize expressions only once.
4590 * rtl.h (canon_rtx): Declare.
4592 2000-03-30 Mark Mitchell <mark@codesourcery.com>
4594 * Makefile.in (emit-rtl.o): Depend on HASHTAB_H.
4595 * alias.c (reg_known_value): Add comments.
4596 (init_alias_analysis): Likewise.
4597 * cse.c (exp_equiv_p): CONST_INTs are equal iff they have the same
4599 (cse_basic_block): Fix typo in comment.
4600 * emit-rtl.c: Include hashtab.h.
4601 (const_int_htab): New variable.
4602 (const_int_htab_hash): New function.
4603 (const_int_htab_eq): Likewise.
4604 (rtx_htab_mark_1): Likewise.
4605 (rtx_htab_mark): Likewise.
4606 (gen_rtx_CONST_INT): Cache all CONST_INTs.
4607 (unshare_all_rtx): Fix formatting.
4608 (init_emit_once): Initialize const_int_htab.
4609 * rtl.c (rtx_equal_p): CONST_INTs are equal iff they have the same
4611 * rtl.texi: Document the fact that all CONST_INTs with the same
4614 2000-03-30 Richard Henderson <rth@cygnus.com>
4616 * alpha.h (FUNCTION_BOUNDARY): Reduce to 128 bits.
4618 2000-03-30 Zack Weinberg <zack@wolery.cumb.org>
4620 * configure.in: Comment out --enable-c-cpplib stanza.
4621 * configure: Regenerate.
4623 Thu Mar 30 06:32:51 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
4625 * expr.c (store_constructor): Properly compute displacement and
4626 alignment when offset is variable.
4628 * expmed.c (store_bit_field, store_fixed_bit_field): Fix more
4629 cases of alignment in bytes.
4631 Thu Mar 30 13:30:40 2000 Jeffrey A Law (law@cygnus.com)
4633 * c-parse.in (cast_expr): Move change from March 21 into c-parse.in
4634 since it is used to generate c-parse.y.
4635 * objc-parse.c, objc-parse.y: Regenerated.
4637 * function.c (expand_function_end): Pass alignment argument to
4638 emit_block_move in bits, not bytes.
4640 Thu Mar 30 06:32:51 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
4642 * expr.c (move_by_pieces_ninsns): Fix one more missing align
4645 * expmed.c (store_fixed_bit_field): STRUCT_ALIGN is in bits.
4647 * calls.c (expand_call): Pass bit alignment to mark_reg_pointer.
4648 * explow.c (memory_address, allocate_dynamic_stack_space): Likewise.
4649 * function.c (assign_parms): Likewise.
4650 * integrate.c (expand_inline_function): Likewise.
4651 * stmt.c (expand_decl): Likewise.
4652 (copy_rtx_and_substitute): Likewise.
4653 * expr.c (expand_expr, expand_expr_unaligned): Likewise.
4654 (clear_by_pieces): Fix error in last change.
4655 * emit-rtl.c (init_emit): Set known registers alignment in bits.
4656 * function.h (regno_pointer_align): Now unsigned.
4657 * config/arm/arm.c (alignable_memory_operand): REGNO_POINTER_ALIGN
4659 * config/i386/i386.c (aligned_operand): Likewise.
4660 * config/sparc/sparc.c (mem_min_alignment): Likewise.
4661 * config/alpha/alpha.c (aligned_memory_operand): Likewise.
4662 (unaligned_memory_operand): Likewise.
4663 (alpha_expand_block_move, alpha_expand_block_clear): Likewise.
4664 Also make alignments and sizes unsigned and some whitespace cleanup.
4665 (alpha_va_start): Do nothing if VALIST's type is error_mark_node.
4667 * builtins.c (get_pointer_alignment): Use host_integerp & tree_low_cst.
4668 (expand_builtin_apply): Pass alignment to emit_block_move in bits.
4669 (expand_builtin_memcpy, expand_builtin_va_copy): Likewise.
4670 (expand_builtin_memset): Likewise, but to clear_storage.
4671 * calls.c (save_fixed_argument_area): Likewise, to move_by_pieces.
4672 (restore_fixed_argument_area): Likewise.
4673 (store_unaligned_arguments_into_pseudos): Likewise, to store_bit_field.
4674 (load_register_parameters): Likewise, to emit_group_load.
4675 (expand_call): Likewise, to emit_group_store and emit_block_move.
4676 (emit_library_call_value_1): Likewise, to emit_block_move.
4677 (store_one_arg): Likewise, and to emit_push_insn.
4678 * expmed.c (extract_bit_field): Alignment is in bits, not bytes.
4679 (extract_fixed_bit_field, extract_split_bit_field): Likewise.
4680 * expr.c (move_by_pieces, move_by_pieces_ninsns): Likewise.
4681 (emit_block_move, emit_group_load, emit_group_store): Likewise.
4682 (clear_by_pieces, clear_storage, emit_push_insn): Likewise.
4683 (expand_assigment, store_expr, store_constructor_field): Likewise.
4684 (expand_expr_unaligned, do_jump, do_compare_and_jump): Likewise.
4685 (store_constructor, store_field, get_inner_reference): Likewise.
4686 Use host_integerp and tree_low_cst; sizes and positions HOST_WIDE_INT.
4687 (expand_expr, case COMPONENT_REF): Likewise.
4688 (copy_blkmode_from_regs): Use UNSIGNED_HOST_WIDE_INT for sizes
4689 and positions; reindent code.
4690 * expr.h (emit_cmp_insn, emit_cmp_and_jump_insns): Alignment unsigned.
4691 * function.c (purge_addressof_1): Pass bit align to store_bit_field.
4692 (assign_parms): Likewise to emit_group_store.
4693 * optabs.c (prepare_cmp_insn): Alignment is in bits.
4694 (emit_cmp_and_jump_insns, emit_cmp_insn): Likewise, and also unsigned.
4695 * stmt.c (expand_value_return): Pass align in bits to emit_group_load.
4696 (expand_return): Likewise to {extract,store}_bit_field.
4697 * stor-layout.c (get_mode_alignment): Minor cleanup.
4698 * config/rs6000/rs6000.h (SLOW_UNALIGNED_ACCESS): Align is in bits.
4699 * config/sh/sh.h (MOVE_BY_PIECES_P): Likewise.
4701 2000-03-29 Nick Clifton <nickc@cygnus.com>
4703 * config/arm/arm.h: Undo effects of previous delta:
4704 (ASM_SPEC): Do not define.
4705 (SUBTARGET_EXTRA_ASM_SPEC): Do not define.
4707 * config/arm/linux-elf.h: (SUBTARGET_EXTRA_ASM_SPEC) Fix
4710 2000-03-29 Zack Weinberg <zack@wolery.cumb.org>
4712 * cppinit.c (cpp_start_read): Call initialize_dependency_output
4713 only after reading in the primary source file.
4715 2000-03-29 Geoff Keating <geoffk@cygnus.com>
4717 * c-common.c (c_common_nodes_and_builtins): The first parameter to
4718 __builtin_va_start and __builtin_va_copy is now either a 'va_list'
4719 or a reference to a va_list.
4720 * builtins.c (stabilize_va_list): Simplify now we don't have to
4721 work around C array address decay.
4722 * c-typeck.c (convert_for_assignment): Handle assignment to
4723 a reference parameter by taking the address of the RHS.
4724 * ginclude/stdarg.h (va_start): Don't take address of first parameter.
4725 (va_copy): Likewise.
4726 (__va_copy): Likewise.
4727 * ginclude/varargs.h (va_start): Likewise.
4728 (__va_copy): Likewise.
4730 Wed Mar 29 15:44:53 2000 Jeffrey A Law (law@cygnus.com)
4732 * i386/djgpp.h: Remove extraneous "+".
4734 * stmt.c (stmt_loop_nest_empty): Fix thinko in last change.
4736 * calls.c (expand_call): Fix typo in last change.
4738 2000-03-29 Jason Merrill <jason@casey.cygnus.com>
4740 * tree.c (unsave_expr_1): Don't mess with a TARGET_EXPR that hasn't
4743 Wed Mar 29 15:39:10 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
4745 * stor-layout.c (bit_from_pos, byte_from_pos): New functions.
4746 (pos_from_byte, pos_from_bit, normalize_offset): Likewise.
4747 (normalize_rli, rli_size_so_far, rli_size_unit_so_far): Use them.
4748 * tree.c (bit_position, byte_position): Likewise.
4749 * tree.h: Declare new functions.
4751 2000-03-29 Nick Clifton <nickc@cygnus.com>
4753 * config/arm/arm.c: Minor formatting changes/
4754 * config/arm/arm.h (SUBTARGET_EXTRA_ASM_SPEC): Define if not
4756 (ASM_SPEC): Define if not already defined.
4758 2000-03-29 Zack Weinberg <zack@wolery.cumb.org>
4760 * cppfiles.c (cpp_read_file): Don't pass zero-length string to
4763 2000-03-29 Jakub Jelinek <jakub@redhat.com>
4765 * dwarf2out.c (gen_enumeration_type_die): If enum has a negative
4766 value, don't output it as unsigned.
4768 Wed Mar 29 10:53:49 2000 Jeffrey A Law (law@cygnus.com)
4770 * stmt.c (stmt_loop_nest_empty): Allow cfun->stmt to be NULL.
4772 2000-03-29 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4774 * c-common.c (c_common_nodes_and_builtins): Don't special case
4775 cplus_mode when declaring builtin bzero/bcmp, always avoid
4776 prototype arguments.
4778 2000-03-29 Bruce Korb <bkorb@gnu.org>
4780 * fixinc/mkfixinc.sh: Initially set the variable "fixincludes"
4783 Wed Mar 29 15:08:01 MET DST 2000 Jan Hubicka <jh@suse.cz>
4785 Convert ACCUMULATE_OUTGOING_ARGS to an expression.
4786 * calls.c (PUSH_ARGS_REVERSED) Change to expression.
4787 (ACCUMULATE_OUTGOING_ARGS, PUSH_ARGS): Provide default value.
4788 (struct arg_data): Remove #ifdef ACCUMULATE_OUTGOING_ARGS.
4789 (save_fixed_argument_area, restore_fixed_argument_area):
4790 conditionize by #ifdef REG_PARM_STACK_SPACE only.
4791 (emit_call): Change #ifdefs on ACCUMULATE_OUTGOING_ARGS
4792 to conditions, handle RETURN_POPS_ARGS on ACCUMULATE_OUTGOING_ARGS.
4793 (precompute_register_parameters): Avoid #ifdefs on
4794 ACCUMULATE_OUTGOING_ARGS and PUSH_ARGS_REVERSED.
4795 (stire_one_args): Likewise.
4796 (expand_call): Likewise; conditionize PUSH_ROUNDING code by PUSH_ARGS.
4797 (emit_library_call_value_1): Likewise.
4798 (compute_argument_block_size): Align to STACK_BOUNDARY only for
4799 ACCUMULATE_OUTGOING_ARGS.
4800 * combine.c (ACCUMULATE_OUTGOING_ARGS, PUSH_ARGS): Provide default
4802 (nonzero_bits): Conditionize PUSH_ROUNDING code by USE_PUSH.
4803 (use_crosses_set_p): Likewise.
4804 * all targets (ACCUMULATE_OUTGOING_ARGS define): Change to
4805 #define ACCUMULATE_OUTGOING_ARGS 1.
4806 * i386.c (ix86_compute_frame_size): Handle ACCUMULATE_OUTGOING_ARGS
4808 * i386.h (MASK_NO_PUSH_ARGS, MASK_ACCUMULATE_OUTGOING_ARGS): New
4810 (TARGET_PUSH_ARGS, TARGET_ACCUMULATE_OUTGOING_ARGS): New macros.
4811 (TARGET_SWITCHES): Add push-args, no-push-args,
4812 accumulate-outgoing-args and no-accumulate-outgoing-args.
4813 (ACCUMULATE_OUTGOING_ARGS, PUSH_ARGS): New macro.
4814 * expr.c (ACCUMULATE_OUTGONG_ARGS, PUSH_ARGS): Provide default.
4815 (push_block): Avoid ifdefs on ACCUMULATE_OUTGONG_ARGS
4817 (emit_push_insn): Likewise.
4818 * final.c (ACCUMULATE_OUTGOING_ARGS): Provide default.
4819 (final_scan_insn): Avoid ifdefs on ACCUMULATE_OUTGOING_ARGS.
4820 * function.c (ACCUMULATE_OUTGOING_ARGS): Provide default.
4821 (STACK_DYNAMIC_OFFSET): Define correctly for both
4822 ACCUMULATE_OUTGOING_ARGS and normal mode.
4823 * invoke.texi (-mpush_args, -maccumulate-outgoing-args): Document.
4824 * tm.texi (PUSH_ARGS): Document.
4825 (ACCUMULATE_OUTGOING_ARGS, PUSH_ROUNDING): Update documentation.
4827 Wed Mar 29 11:51:13 MET DST 2000 Jan Hubicka <jh@suse.cz>
4829 * flags.h (flag_optimize_sibling_calls): Declare.
4830 * calls.c (expand_call): Fail sibcall when
4831 !flag_optimize_sibling_calls
4832 * invoke.texi (flag_optimize_sibling_calls): Document.
4833 * toplev.c (flag_optimize_sibling_calls): New global variable.
4834 (f_options): Add flag_optimize_sibling_calls.
4835 (rest_of_compilation): Conditionize
4836 optimize_sibling_and_tail_recursive_calls by
4837 flag_optimize_sibling_calls.
4838 (main): Set flag_optimize_sibling_calls for -O2.
4839 * stmt.c (expand_return): Conditionize tail recursion by
4840 flag_optimize_sibling_calls.
4842 2000-03-29 Richard Henderson <rth@cygnus.com>
4844 * config/i386/att.h (LOCAL_LABEL_PREFIX): Define.
4845 (ASM_GENERATE_INTERNAL_LABEL, ASM_OUTPUT_INTERNAL_LABEL): Use it.
4847 2000-03-29 Nathan Sidwell <nathan@codesourcery.com>
4849 * except.c (add_eh_table_entry): Mark type_info's as referenced.
4851 2000-03-29 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
4853 * config/rs6000/aix41.h (CPP_SPEC): Define _ANSI_C_SOURCE if -ansi
4855 * config/rs6000/aix43.h (CPP_SPEC): Likewise.
4856 * config/rs6000/rs6000.h (CPP_SPEC): Moved to...
4857 * config/rs6000/aix.h: then modified likewise.
4859 2000-03-28 Richard Henderson <rth@cygnus.com>
4861 * rtl.h: Redistribute enum reg_note documentation.
4862 Kill trailing whitespace.
4863 * rtl.c (reg_note_name): Adjust to match enum reg_note tweeks.
4864 Kill trailing whitespace.
4866 2000-03-28 Zack Weinberg <zack@wolery.cumb.org>
4868 * cppfiles.c (hash_IHASH): Just return i->hash.
4869 (cpp_included): Set dummy.hash using _cpp_calc_hash. Use
4870 htab_find_with_hash.
4871 (cpp_read_file): Likewise.
4872 (find_include_file): Likewise. Properly initialize
4873 ih->nshort. Share ih->name and ih->nshort if possible.
4874 * cpphash.c (_cpp_calc_hash): New function.
4875 (hash_HASHNODE): Just return h->hash.
4876 (_cpp_lookup): Set dummy.hash using _cpp_calc_hash. Use
4877 htab_find_with_hash.
4878 * cpphash.h: Prototype _cpp_calc_hash.
4879 * cppinit.c (initialize_builtins): Provide a valid hash
4880 to _cpp_make_hashnode, using _cpp_calc_hash.
4882 * cpphash.c (collect_expansion): # is not a special character
4883 in object-like macros. In -traditional mode, /**/ is not
4884 token paste at the beginning or end of the line.
4885 * cpplib.c (do_include, do_import, do_include_next): If
4886 parse_include fails, return immediately.
4888 2000-03-28 Jason Merrill <jason@casey.cygnus.com>
4890 * config/arm/arm.md (return peepholes): Update to reflect the new
4892 * config/arm/arm.c (arm_volatile_func): Also check
4893 current_function_nothrow.
4894 (output_return_instruction, output_func_prologue): Use it.
4895 (arm_output_epilogue, arm_expand_prologue): Likewise.
4897 2000-03-27 Tom Tromey <tromey@cygnus.com>
4899 * gcc.c (handle_braces): In {x*...} case, break out of loop if
4902 Tue Mar 28 11:55:48 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
4904 * expr.c (store_constructor): SIZE now signed.
4905 For EXPR_SIZE, don't evaluate size; just needed if constant.
4906 * fold-const.c (fold): Fix a number of cases when folded tree is
4908 * function.c (flush_addressof): Reenable.
4909 * tree.h (flush_addressof): Likewise.
4910 * toplev.c (independent_decode_option): Look at strings_processed.
4911 * config/alpha/alpha.h (MINIMUM_ATOMIC_ALIGNMENT): Cast to unsigned.
4913 Tue Mar 28 08:29:46 2000 Jan Hubicka <jh@suse.cz>
4915 * sibcall.c (indentify_call_return_value): Find last call in the chain;
4916 Allow stack adjustment after function call.
4918 * regmove.c (struct csa_memlist): Make mem field rtx *.
4919 (record_one_stack_ref): Accept rtx * instead of rtx as parameter.
4920 (try_apply_stack_adjustment): Replace whole MEM rtx.
4921 (combine_stack_adjustments_for_block): Update calls
4922 to record_one_stack_ref.
4924 2000-03-28 Neil Booth <NeilB@earthling.net>
4926 * cpplex.c (_cpp_read_and_prescan): Mark end of input buffer with
4927 '\\' rather than a null character, so nulls are not special. Fix
4928 "\\\n" handling in end-of-buffer conditions. Use trigraph map to
4929 speed trigraph conversion.
4930 (_cpp_init_input_buffer): Initialize trigraph map.
4932 2000-03-27 Alan Modra <alan@linuxcare.com.au>
4934 * config/i386/i386.c (output_387_binary_op): Correct intel
4935 mode assembly output, and add spaces after commas in AT&T
4936 output. Correct Unixware assembler comment. Document input
4937 constraints. Comment fp operations. Reduce profligate buffer
4938 size. Remove extraneous abort. Localize temp var.
4939 (SYSV386_COMPAT): Define. Add !SYSV386_COMPAT code.
4940 (output_fix_trunc): Add spaces after commas in assembly output.
4942 2000-03-27 Richard Henderson <rth@cygnus.com>
4944 * i386-protos.h (ix86_match_ccmode): Declare.
4945 * i386.c (ix86_match_ccmode): New.
4946 (ix86_expand_fp_compare): Update for pattern renames.
4947 (ix86_expand_strlensi_unroll_1): Likewise.
4948 * i386.h (EXTRA_CC_MODES): Add CCZ.
4949 (SELECT_CC_MODE): Use it for EQ/NE zero.
4950 * i386.md (cmpsi_ccz_1): New.
4952 (*testsi_ccz_1): New.
4953 (testqi_ccz_1): New.
4954 (cmpsi_ccno_1): Rename from cmpsi_0.
4955 (testsi_ccno_1): Rename from testsi_1.
4956 (testqi_ccno_1): Rename from testqi_1.
4957 (*testqi_ext_ccz_0): Rename from testqi_ext_0.
4958 (testqi_ext_ccno_0): Rename from *testqi_ext_1.
4959 (*cmphi_0): Use ix86_match_ccmode.
4960 (*cmpqi_ext_2, *addsi_2, *addhi_2, *addqi_2): Likewise.
4961 (*subsi_2, *subhi_2, *subqi_2, *testhi_1): Likewise.
4962 (*testqi_ext_1, *testqi_ext_2, *testqi_ext_3): Likewise.
4963 (*andsi_2, *andhi_2, *andqi_2, *andqi_ext_0_cc): Likewise.
4964 (*iorsi_2, *iorhi_2, *iorqi_2): Likewise.
4965 (*xorsi_2, *xorhi_2, *xorqi_cc_1): Likewise.
4966 (*one_cmplsi2_2, *one_cmplhi2_2, *one_cmplqi2_2): Likewise.
4967 (*ashlsi3_cmpno, *ashlhi3_cmpno, *ashlqi3_cmpno): Likewise.
4968 (*ashrsi3_cmpno, *ashrhi3_cmpno, *ashrqi3_cmpno): Likewise.
4969 (*lshrsi3_cmpno, *lshrhi3_cmpno, *lshrqi3_cmpno): Likewise.
4970 (appropriate peepholes): Likewise.
4971 (*cmphi_1, *cmpqi_ccno_1, *cmpqi_1): Star out name.
4972 (*subsi_3, *subhi_3, *subqi_3): Remove.
4973 (*negdi2_1+1 splitter): Use CCZ for neg patterns.
4974 (*negsi2_cmp, *neghi2_cmp, *negqi2_cmp): Remove.
4975 (*negsi2_cmpz): Rename from *negsi2_cmpno, use CCZ.
4976 (*neghi2_cmpz, *negqi2_cmpz): Similarly.
4977 (x86_shift_adj_1): Use CCZ.
4978 (*dbra_ge+1, *dbra_ge+2, ffssi2, ffssi_1): Likewise.
4980 2000-03-27 Stan Cox <scox@cygnus.com>
4982 * resource.h (mark_resource_type): New.
4983 * resource.c (find_dead_or_set_registers, mark_target_live_regs,
4984 find_free_register): Use mark_resource_type.
4985 (mark_set_resources): Change include_delayed_effects
4986 to mark_resource_type.
4987 * reorg.c (steal_delay_list_from_target, try_merge_delay_insns,
4988 redundant_insn, fill_simple_delay_slots, fill_slots_from_thread):
4989 Use mark_resource_type.
4991 2000-03-27 Richard Henderson <rth@cygnus.com>
4993 * i386.md (call_pop_0, call_value_pop_0): New.
4994 (call_pop_1): Remove constraint from unused arg. Support sibcalls.
4995 (call_value_pop_1): Likewise.
4996 (call_0, call_value_0): New.
4997 (call_1, call_value_1): Remove constraint from unused arg.
4999 2000-03-27 Nick Clifton <nickc@cygnus.com>
5001 * invoke.texi (Spec Files): Document new spec % command created by
5002 Tom Tromey's recent patch.
5004 2000-03-27 Jakub Jelinek <jakub@redhat.com>
5006 * libgcc2.h (MIN_UNITS_PER_WORD): Define to UNITS_PER_WORD
5009 Mon Mar 27 06:04:22 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
5011 * expr.c (expand_assignment): Fix typo in last change.
5013 * libgcc2.h: Use MIN_UNITS_PER_WORD, not UNITS_PER_WORD.
5015 Sun Mar 26 20:15:26 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
5017 * c-convert.c (convert): Return if output or input type is ERROR_MARK.
5018 * c-decl.c (duplicate_decls): Only look at DECL_BUILT_IN_NONANSI
5019 and DECL_INLINE if FUNCTION_DECL.
5020 (pushdecl, redeclaration_error_message): Likewise, for DECL_INLINE.
5021 (store_parm_decls): Check for type of PARM_DECL being ERROR_MARK.
5022 Use DECL_WEAK, not DECL_RESULT, to flag for already seen.
5023 (combine_parm_decls): Likewise.
5024 * ggc-common.c (gcc_mark_tree_children, case 'd'): Use DECL_RESULT_FLD.
5025 * print-tree.c (print_node): Likewise.
5026 Only test DECL_PACKED, DECL_INLINE, DECL_BIT_FIELD, and
5027 DECL_TRANSPARENT_UNION on proper decl types.
5028 Properly handly DECL_INCOMING_RTL and DECL_SAVED_INSNS.
5029 * stor-layout.c (layout_decl): Only check DECL_PACKED and
5030 DECL_BIT_FIELD of FIELD_DECL.
5031 * tree.h (DECL_RESULT_FLD): New macro.
5033 * expr.c (expand_assignment): Add code to handle variable-sized
5036 2000-03-26 Richard Henderson <rth@cygnus.com>
5038 * calls.c (expand_call): Pass parms not original exp to
5039 optimize_tail_recursion. Mind return value instead of looking
5041 * stmt.c (optimize_tail_recursion): Take parameter list, not entire
5042 call_expr. Move checks for call_expr and current_function_decl ...
5043 (expand_return): ... here.
5045 2000-03-26 Tom Tromey <tromey@cygnus.com>
5047 * gcc.c (handle_braces): Recognize `%{<S}' construct.
5048 (SWITCH_OK, SWITCH_FALSE, SWITCH_IGNORE, SWITCH_LIVE): New
5050 (process_command): Use them.
5051 (check_live_switch): Likewise.
5052 (give_switch): Skip ignored switches.
5054 2000-03-26 Jan Hubicka <jh@suse.cz>
5056 * jump.c (jump_optimize_1): Fix typo in elide optimizations
5057 for minimal jump pass test.
5059 2000-03-26 Mark Mitchell <mark@codesourcery.com>
5061 * integrate.c (function_cannot_inline_p): Do inline functions that
5064 Sun Mar 26 11:37:55 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
5066 * stor-layout.c (layout_type, set_sizetype): early_type_list is
5067 now a list of TREE_LIST entries, not types.
5068 * tree.c (build_common_tree_nodes_2): Eliminate dupliate type sets.
5070 * expmed.c (extract_bit_field): Ensure BITS_PER_WORD is signed in MAX.
5071 * config/arm/pe.c (arm_pe_return_in_memory): Use host_integerp and
5073 * config/mips/mips.c (function_arg): Likewise; also remove cast
5074 and make variables unsigned or HOST_WIDE_INT and use tree_low_cst.
5075 (mips_function_value): Use int_byte_position and make HOST_WIDE_INT.
5076 * config/mips/abi64.h (SETUP_INCOMING_VARARGS): Offsets are unsigned.
5077 * config/mips/mips.h (BITS_PER_WORD, UNITS_PER_WORD): Cast to unsigned.
5078 (UNITS_PER_FPREG, INT_TYPE_SIZE, LONG_TYPE_SIZE): Likewise.
5079 (POINTER_SIZE, POINTER_BOUNDARY,PARM_BOUNDARY): Likewise.
5080 (GP_REG_P, FP_REG_P, MD_REG_P, ST_REG_P): Ensure subtraction signed.
5081 (struct mips_arg): arg_number, arg_words, fp_arg_words, and
5082 num_adjusts now unsigned.
5083 (FUNCTION_ARG_BOUNDARY): Remove unneeded cast.
5084 * config/sparc/sparc.c (struct function_arg_record_value_parms):
5086 (function_arg_record_value_1): STARTBITPOS arg now HOST_WIDE_INT
5087 as is BITPOS variable; use host_integerp and int_bit_position.
5088 (function_arg_record_value_2): Likewise.
5089 (function_arg_record_value_3): Arg BITPOS now HOST_WIDE_INT.
5090 Variable REGNO now unsigned.
5091 (function_arg_record_value): NREGS now unsigned.
5093 2000-03-26 Bernd Schmidt <bernds@cygnus.co.uk>
5095 * jump.c (mark_all_labels): Handle CALL_PLACEHOLDERs.
5097 Sat Mar 25 09:12:10 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
5099 * Rework fields used to describe positions of bitfields and
5100 modify sizes to be unsigned and use HOST_WIDE_INT.
5101 * alias.c (reg_known_value_size): Now unsigned.
5102 * c-typeck.c (build_unary_op, case ADDR_EXPR): Use byte_position.
5103 (really_start_incremental_init): Use bitsize_zero_node.
5104 (push_init_level, pop_init_level, output_init_element): Likewise.
5105 Use bitsize_unit_node and bitsize_one_node.
5106 (output_pending_init_elements, process_init_element): Likewise.
5107 * combine.c (combine_max_regno, reg_sign_bit_copies): Now unsigned.
5108 (make_extraction): Position and length HOST_WIDE_INT and unsigned
5109 HOST_WIDE_INT, respectively.
5110 (get_pos_from_mask): Passed in value is unsigned HOST_WIDE_INT.
5111 (num_sign_bit_copies): Returns unsigned.
5112 BITWIDTH now unsigned; rework arithmetic.
5113 Remove recursive call from arg to MAX.
5114 (combine_instructions, init_reg_last_arrays): NREGS now unsigned.
5115 (setup_incoming_promotions, can_combine_p, try_combine, simplify_set):
5117 (set_nonzero_bit_and_sign_copies): NUM now unsigned.
5118 (find_split_point, expand_compound_operation, make_extraction): LEN
5119 now unsigned HOST_WIDE_INT, POS now HOST_WIDE_INT.
5120 (make_field_assignment): Likewise.
5121 (combine_simplify_rtx): Add cast.
5122 (expand_compound_operation): MODEWIDTH now unsigned; rework arithmetic.
5123 (force_to_mode): WIDTH now unsigned; add cast.
5124 (if_then_else_cond): SIZE now unsigned.
5125 (nonzero_bits): MODE_WIDTH, RESULT_WIDTH, and WIDTH now unsigned.
5126 (extended_count): Now returns unsigned.
5127 (simplify_shift_const): COUNT unsigned; arg is now INPUT_COUNT.
5128 Add SIGNED_COUNT variable; MODE_WORDS and FIRST_COUNT now unsigned.
5129 (simplify_comparison): MODE_WIDTH now unsigned.
5130 (update_table_tick): REGNO and ENDREGNO now unsigned; new var R.
5131 (mark_used_regs_combine): Likewise; rework arithmetic.
5132 (record_value_for_reg): REGNO, ENDREGNO, and I now unsigned.
5133 (record_dead_and_set_regs, reg_dead_at_p, distribute_notes): Likewise.
5134 (record_promoted_value): REGNO now unsigned.
5135 (get_last_value_validate): REGNO, ENDREGNO, and J now unsigned.
5136 (get_last_value): REGNO now unsigned.
5137 (use_crosses_set_p): REGNO and ENDREGNO now unsigned.
5138 (reg_dead_regno, reg_dead_endregno): Now unsigned.
5139 (remove_death): Arg REGNO now unsigned.
5140 (move_deaths): REGNO, DEADREGNO, DEADEND, OUREND, and I now unsigned.
5141 (reg_bitfield_target_p): REGNO, REGNO, ENDREGNO, and ENDTREGNO
5143 * convert.c (convert_to_integer): INPREC and OUTPREC now unsigned.
5144 * cse.c (struct qty_table_elem): FIRST_REG and LAST_REG now unsigned.
5145 (struct cse_reg_info): REGNO now unsigned.
5146 (cached_regno): Now unsigned.
5147 (REGNO_QTY_VALID_P): Add cast.
5148 (make_new_qty, make_regs_eqv, delete_reg_eqiv): Regno args unsigned.
5149 (remove_invalid_regs): Likewise.
5150 (remove_invalid_subreg_refs): Likewise; arg WORD also unsigned
5151 as are variables END and I.
5152 (get_cse_reg_info, insert): Likewise.
5153 (mention_regs, invalidate_for_call): REGNO, ENDREGNO, and I unsigned.
5154 (canon_hash): Likewise.
5155 (insert_regs, lookup_for_remove): REGNO now unsigned.
5156 (invalidate): REGNO, ENDREGNO, TREGNO, and TENDREGNO now unsigned.
5158 * dbxout.c (dbxout_parms, dbxout_reg_parms): Don't check for REGNO < 0.
5159 * dwarf2out.c (dwarf2ou_frame_debug_expr): Remove cast.
5160 * emit-rtl.c (subreg_realpart_p): Add cast.
5161 (operand_subword): Arg I is now unsigned as is var PARTWORDS.
5162 (operand_subword_force): Arg I is now unsigned.
5163 * except.c (eh_regs): Variable I is now unsigned.
5164 * explow.c (hard_function_value): BYTES is unsigned HOST_WIDE_INT.
5165 * expmed.c (store_fixed_bit_field): Position is HOST_WIDE_INT;
5166 length is unsigned HOST_WIDE_INT; likewise for internal variables.
5167 (store_split_bit_field, extract_fixed_bit_field): Likewise.
5168 (extract_split_bit_field, store_bit_field, extract_bit_field):
5170 * expr.c (store_constructor_fields, store_constructor, store_field):
5171 Positions are HOST_WIDE_INT and lengths are unsigned HOST_WIDE_INT.
5172 (expand_assignment, expand_expr, expand_expr_unaligned): Likewise.
5173 (do_jump): Likewise.
5174 (move_by_pieces, move_by_pieces_ninsns, clear_by_pieces):
5175 MAX_SIZE is now unsigned.
5176 (emit_group_load): BYTEPOS is HOST_WIDE_INT; BYTELEN is unsigned.
5177 (emit_group_store): Likewise.
5178 (emit_move_insn): I now unsigned.
5179 (store_constructor): Use host_integerp, tree_low_cst, and
5181 (get_inner_reference): Return bitpos and bitsize as HOST_WIDE_INT.
5182 Rework all calculations to use trees and new fields.
5183 * expr.h (promoted_input_arg): Regno now unsigned.
5184 (store_bit_field, extract_bit_field): Adjust types of pos and size.
5185 (mark_seen_cases): Arg is HOST_WIDE_INT.
5186 * flow.c (verify_wide_reg_1): REGNO now unsigned.
5187 * fold-const.c (decode_field_reference): Size and pos HOST_WIDE_INT;
5188 precisions and alignments are unsigned.
5189 (optimize_bit_field_compare, fold_truthop): Likewise.
5190 (int_const_binop): Adjust threshold for size_int_type_wide call.
5191 (fold_convert): Likewise.
5192 (size_int_type_wide): Make table larger and fix thinko that only
5193 had half of table used.
5194 (all_ones_mask_p, fold): Precisions are unsigned.
5195 * function.c (put_reg_info_stack): REGNO is unsigned.
5196 (instantiate_decl): Size is HOST_WIDE_INT.
5197 (instantiate_virtual_regs): I is unsigned.
5198 (assign_parms): REGNO, REGNOI, and REGNOR are unsigned.
5199 (promoted_input_arg): REGNO is unsigned.
5200 * function.h (struct function): x_max_parm_reg is now unsigned.
5201 * gcse.c (max_gcse_regno): Now unsigned.
5202 (struct null_pointer_info): min_reg and max_reg now unsigned.
5203 (lookup_set, next_set): REGNO arg now unsigned.
5204 (compute_hash_table): REGNO and I now unsigned.
5205 (handle_avail_expr): regnum_for_replacing now unsigned.
5206 (cprop_insn): REGNO now unsigned.
5207 (delete_null_pointer_checks_1): BLOCK_REG now pointer to unsigned.
5208 * ggc-common.c (ggc_mark_tree_children, case FIELD_DECL): New case.
5209 * global.c (set_preference): SRC_REGNO, DEST_REGNO, and I now unsigned.
5210 * hard-reg-set.h (reg_class_size): Now unsigned.
5211 * integrate.c (mark_stores): LAST_REG and I now unsigned; new UREGNO.
5212 * jump.c (mark_modified_reg): I now unsigned; add cast.
5213 (rtx_equal_for_thread_p): Add cast.
5214 * loop.c (max_reg_before_loop): Now unsigned.
5215 (struct_movable): REGNO now unsigned.
5216 (try_copy_prop): REGNO arg unsigned.
5217 (regs_match_p): XN and YN now unsigned.
5218 (consec_sets_invariant_p, maybe_eliminate_biv): REGNO now unsigned.
5219 (strength_reduce): Likewise; NREGS also unsigned.
5220 (first_increment_giv, last_increment_giv unsigned): Now unsigned.
5221 * loop.h (struct iv_class): REGNO now unsigned.
5222 (max_reg_before_loop, first_increment_giv, last_increment_giv):
5224 * machmode.h (mode_size, mode_unit_size): Now unsigned.
5225 (mode_for_size, smallest_mode_for_size): Pass size as unsigned.
5226 * optabs.c (expand_binop): I and NWORDS now unsigned.
5227 (expand_unop): I now unsigned.
5228 * print-tree.c (print_node): Don't print DECL_FIELD_BITPOS, but do
5229 print DECL_FIELD_OFFSET and DECL_FIELD_BIT_OFFSET.
5230 * real.c (significand_size): Now returns unsigned.
5231 * real.h (significand_size): Likewise.
5232 * regclass.c (reg_class_size): Now unsigned.
5233 (choose_hard_reg_mode): Both operands now unsigned.
5234 (record_reg_classes): REGNO and NR now unsigned.
5235 (reg_scan): NREGS now unsigned.
5236 (reg_scan_update): old_max_regno now unsigned.
5237 (reg_scan_mark_refs): Arg MIN_REGNO and var REGNO now unsigned.
5238 * reload.c (find_valid_class): BEST_SIZE now unsigned.
5239 (find_dummy_reload): REGNO, NWORDS, and I now unsigned.
5240 (hard_reg_set_here_p): Args BEG_REGNO and END_REGNO now unsigned.
5241 Likewise for variable R.
5242 (refers_to_regno_for_reload_p): Args REGNO and END_REGNO now unsigned,
5243 as are variables INNER_REGNO and INNER_ENDREGNO; add new variable R.
5244 (find_equiv_reg): Add casts.
5245 (regno_clobbered_p): Arg REGNO now unsigned.
5246 * reload.h (struct reload): NREGS now unsigned.
5247 (refers_to_regno_for_reload_p): Regno args are unsigned.
5248 (regno_clobbered_p): Likewise.
5249 * reload1.c (reg_max_ref_width, spill_stack_slot_width): Now unsigned.
5250 (compute_use_by_pseudos): REGNO now unsigned.
5251 (find_reg): I and J now unsigned, new variable K, and change loop
5252 variables accordingly; THIS_NREGS now unsigned.
5253 (alter_reg): INHERENT_SIZE and TOTAL_SIZE now unsigned.
5254 (spill_hard_reg): REGNO arg now unsigned; add casts.
5255 (forget_old_reloads_1): REGNO, NR, and I now unsigned.
5256 (mark_reload_reg_in_use): Arg REGNO and vars NREGS and I now unsigned.
5257 (clear_reload_reg_in_use): Arg REGNO and vars NREGS, START_REGNO,
5258 END_REGNO, CONFLICT_START, and CONFLICT_END now unsigned.
5259 (reload_reg_free_p, reload_reg_reaches_end_p): Arg REGNO now unsigned.
5260 (choose_reload_regs): MAX_GROUP_SIZE now unsigned.
5261 (emit_reload_insns): REGNO now unsigned.
5262 (reload_cse_move2add): Add cast.
5263 (move2add_note_store): REGNO and I now unsigned; new variable ENDREGNO
5265 * resource.c (mark_referenced_resources, mark_set_resources): New
5266 variable R; REGNO and LAST_REGNO now unsigned.
5267 (mark_target_live_regs): J and REGNO now unsigned.
5268 * rtl.c (mode_size, mode_unit_size): Now unsigned.
5269 * rtl.h (union rtunion_def): New field rtuint.
5270 (XCUINT): New macro.
5271 (ADDRESSOF_REGNO, REGNO, SUBREG_WORD): New XCUINT.
5272 (operand_subword, operand_subword_force): Word number is unsigned.
5273 (choose_hard_reg_mode): Operands are unsigned.
5274 (refers_to-regno_p, dead_or_set_regno_p): Regno arg is unsigned.
5275 (find_regno_note, find_regno_fusage, replace_regs): Likewise.
5276 (regno_use_in, combine_instructions, remove_death): Likewise.
5277 (reg_scan, reg_scan_update): Likewise.
5278 (extended_count): Return is unsigned.
5279 * rtlanal.c (refers_to_regno_p): Args REGNO and ENDREGNO and vars I,
5280 INNER_REGNO, and INNER_ENDREGNO now unsigned; new variable X_REGNO.
5281 (reg_overlap_mentioned_p): REGNO and ENDREGNO now unsigned.
5282 (reg_set_last_first_regno, reg_set_last_last_regno): Now unsigned.
5283 (reg_reg_last_1): FIRS and LAST now unsigned.
5284 (dead_or_set_p): REGNO, LAST_REGNO, and I now unsigned.
5285 (dead_or_set_regno_p): Arg TEST_REGNO and vars REGNO and ENDREGNO
5287 (find_regno_note, regno_use_in): Arg REGNO now unsigned.
5288 (find_regno_fusage): Likewise; also var REGNOTE now unsigned.
5289 (find_reg_fusage): Variables REGNO, END_REGNO, and I now unsigned.
5290 (replace_regs): Arg NREGS now unsigned.
5291 * sdbout.c (sdbout_parms, sdbout_reg_parms): Don't check REGNO < 0.
5292 * simplify-rtx.c (simplify_unary_operation): WIDTH now unsigned.
5293 (simplify_binary_operation): Likewise.
5294 (cselib_invalidate_regno): Arg REGNO and variables ENDREGNO, I, and
5295 THIS_LAST now unsigned.
5296 (cselib_record_set): Add cast.
5297 * ssa.c (ssa_max_reg_num): Now unsigned.
5298 (rename_block): REGNO now unsigned.
5299 * stmt.c (expand_return): Bit positions unsigned HOST_WIDE_INT;
5301 (all_cases_count): Just return -1 not -2.
5302 COUNT, MINVAL, and LASTVAL now HOST_WIDE_INT.
5303 Rework tests to use trees whenever possible.
5304 Use host_integerp and tree_low_cst.
5305 (mark_seen_cases): COUNT arg now HOST_WIDE_INT;
5306 Likewise variable NEXT_NODE_OFFSET; XLO now unsigned.
5307 (check_for_full_enumeration_handing): BYTES_NEEDED, I to HOST_WIDE_INT.
5308 * stor-layout.c (mode_for_size): SIZE arg now unsigned.
5309 (smallest_mode_for_size): Likewise.
5310 (layout_decl): Simplify handing of a specified DECL_SIZE_UNIT.
5311 KNOWN_ALIGN is now an alignment, so simplify code.
5312 Don't turn off DECL_BIT_FIELD if field is BLKmode, but not type.
5313 (start_record_layout): Renamed from new_record_layout_info.
5314 Update to new fields.
5315 (debug_rli, normalize_rli, rli_size_unit_so_far, rli_size_so_far):
5317 (place_union_field): Renamed from layout_union_field.
5318 Update to use new fields in rli.
5319 (place_field): Renamed from layout_field.
5320 Major rewrite to use new fields in rli; pass alignment to layout_decl.
5321 (finalize_record_size): Rework to use new fields in rli and handle
5323 (compute_record_mode): Rework to simplify and to use new DECL fields.
5324 (finalize_type_size): Make rounding more consistent.
5325 (finish_union_layout): Deleted.
5326 (layout_type, case VOID_TYPE): Don't set TYPE_SIZE_UNIT either.
5327 (layout_type, case RECORD_TYPE): Call new function names.
5328 (initialize_sizetypes): Set TYPE_IS_SIZETYPE.
5329 (set_sizetype): Set TYPE_IS_SIZETYPE earlier.
5330 (get_best_mode): UNIT is now unsigned; remove casts.
5331 * tree.c (bit_position): Compute from new fields.
5332 (byte_position, int_byte_position): New functions.
5333 (print_type_hash_statistics): Cast to remove warning.
5334 (build_range_type): Use host_integerp and tree_low_cst to try to hash.
5335 (build_index_type): Likewise; make subtype of sizetype.
5336 (build_index_2_type): Pass sizetype to build_range_type.
5337 (build_common_tree_nodes): Use size_int and bitsize_int to
5338 initialize nodes; add bitsize_{zero,one,unit}_node.
5339 * tree.h (DECL_FIELD_CONTEXT): Use FIELD_DECL_CHECK.
5340 (DECL_BIT_FIELD_TYPE, DECL_QUALIFIER, DECL_FCONTEXT): Likewise.
5341 (DECL_PACKED, DECL_BIT_FIELD): Likewise.
5342 (DECL_FIELD_BITPOS): Deleted.
5343 (DECL_FIELD_OFFSET, DECL_FIELD_BIT_OFFSET): New fields.
5344 (DECL_RESULT, DECL_SAVED_INSNS): Use FUNCTION_DECL_CHECK.
5345 (DECL_FRAME_SIZE, DECL_FUNCTION_CODE, DECL_NO_STATIC_CHAIN): Likewise.
5346 (DECL_INLINE, DECL_BUILT_IN_NONANSI, DECL_IS_MALLOC): Likewise.
5347 (DECL_BUILT_IN_CLASS, DECL_STATIC_CONSTRUCTOR): Likewise.
5348 (DECL_STATIC_DESTRUCTOR, DECL_NO_CHECK_MEMORY_USAGE): Likewise.
5349 (DECL_NO_INSTRUMENT_FUNCTION_ENTRY_EXIT, DECL_NO_LIMIT_STACK) Likewise.
5350 (DECL_ORIGINAL_TYPE, TYPE_DECL_SUPPRESS_DEBUG): Use TYPE_DECL_CHECK.
5351 (DECL_ARG_TYPE_AS_WRITEN, DECL_ARG_TYPE): Use PARM_DECL_CHECK.
5352 (DECL_INCOMING_RTL, DECL_TRANSPARENT_UNION): Likewise.
5353 (DECL_ALIGN): Adjust to new field in union.
5354 (DECL_OFFSET_ALIGN): New field.
5355 (DECL_ERROR_ISSUED, DECL_TOO_LATE): Use LABEL_DECL_CHECK.
5356 (DECL_IN_TEXT_SECTION): Use VAR_DECL_CHECK.
5357 (union tree_decl): Add struct for both aligns.
5358 (enum tree_index): Add TI_BITSIZE_{ZERO,ONE,UNIT}.
5359 (bitsize_zero_node, bitsize_one_node, bitsize_unit_node): Added.
5360 (struct record_layout_info): Rework fields to have offset
5361 alignment and byte and bit position.
5362 (start_record_layout, place_field): Renamed from old names.
5363 (rli_size_so_far, rli_size_unit_so_far, normalize_rli): New decls.
5364 (byte_position, int_byte_position): Likewise.
5365 (get_inner_reference): Change types of position and length.
5366 * unroll.c (unroll_loop): New variable R; use for some loops.
5367 MAX_LOCAL_REGNUM and MAXREGNUM now unsigned.
5368 (calculate_giv_inc): Arg REGNO now unsigned.
5369 (copy_loop_body): REGNO and SRC_REGNO now unsigned.
5370 * varasm.c (assemble_variable): Clean up handling of size using
5371 host_integerp and tree_low_cst.
5372 (decode_addr_const): Use byte, not bit, position.
5373 (output_constructor): bitpos and offsets are HOST_WIDE_INT;
5374 use tree_low_cst and int_bit_position.
5375 * objc/objc-act.c (build_ivar_list_initializer): Use byte_position.
5377 Fri Mar 24 20:13:49 2000 Jason Eckhardt <jle@cygnus.com>
5379 * bb-reorder.c (REORDER_MOVED_BLOCK_END): Removed.
5380 (reorder_block_def): New members eff_head and eff_end.
5381 (REORDER_BLOCK_EFF_HEAD, REORDER_BLOCK_EFF_END): New macros.
5382 (verify_insn_chain): New function.
5383 (skip_insns_between_block): Add code to skip deleted insns.
5384 Check for note before using.
5385 (chain_reorder_blocks): Replace calls to skip_insns_between_block
5386 with references to REORDER_BLOCK_EFF_HEAD and REORDER_BLOCK_EFF_END.
5387 Check for note before using.
5388 (make_reorder_chain): Use INTVAL rather than XINT to get REG_BR_PROB.
5389 (fixup_reorder_chain): Restructure, clean up, defect removal.
5390 (reorder_basic_blocks): Remove last_insn and references to it.
5391 Moved insn chain verification code into a new function (see above).
5392 Delete defective code that sets last insn.
5393 Initialize REORDER_BLOCK_EFF_HEAD and REORDER_BLOCK_EFF_END for
5396 2000-03-25 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
5398 * config/c4x/c4x.h (CPP_SPEC): Remove erroneous space.
5400 2000-03-24 Richard Henderson <rth@cygnus.com>
5402 * tree.c (lang_safe_for_unsave): Remove.
5403 (unsafe_for_reeval): Transmute and rename from safe_for_unsave,
5404 allowing for two levels of unsafeness. Remove lang hook.
5405 * tree.h: Update declarations.
5406 * calls.c (expand_call): Rename safe_for_reeval to try_tail_call.
5407 Create temporary VAR_DECLs to protect very unsafe_for_reeval trees.
5408 Always fail sibcalls when there are pending cleanups.
5410 2000-03-24 Geoff Keating <geoffk@cygnus.com>
5412 * flow.c (propagate_block): When we delete an ADDR_VEC,
5413 also delete the BARRIER following it if there is one.
5415 2000-03-24 Richard Henderson <rth@cygnus.com>
5417 * builtins.c (expand_builtin_bzero): Convert `length' argument
5420 2000-03-24 Jakub Jelinek <jakub@redhat.com>
5422 * sibcall.c (skip_copy_to_return_value): Use OUTGOING_REGNO for
5423 comparison if regno's are equal.
5424 * calls.c (initialize_argument_informat): Add ecf_flags argument.
5425 Use FUNCTION_INCOMING_ARG if available and ECF_SIBCALL.
5426 (expand_call): Update caller.
5427 Avoid making a sibling call if argument size of the callee is larger
5428 than argument size of the caller.
5429 Call hard_function_value with outgoing set if in sibcall pass.
5430 Use FUNCTION_INCOMING_ARG if available and ECF_SIBCALL.
5432 * final.c (permitted_reg_in_leaf_functions, only_leaf_regs_used):
5433 Change LEAF_REGISTERS from an array initializer to actual array
5434 identifier. Move static global variable into the function.
5435 (leaf_function_p): Allow SIBLING_CALL_P calls even outside of
5436 sequences for leaf functions.
5437 * global.c (global_alloc): Likewise.
5438 * tm.texi (LEAF_REGISTERS): Update documentation.
5440 * config/sparc/sparc.h (CONDITIONAL_REGISTER_USAGE): Remove the ugly
5441 TARGET_FLAT leaf disabling hack.
5442 (LEAF_REGISTERS): Changed from an array initializer to actual array
5443 identifier to avoid duplication and remove the above hack.
5444 (FUNCTION_OK_FOR_SIBCALL): Define.
5445 * config/sparc/sparc.md (sibcall): New attr type. Use it almost
5446 always like call attribute.
5447 (eligible_for_sibcall_delay): New attribute.
5448 (sibcall): New delay type.
5449 (sibcall, sibcall_value, sibcall_epilogue): New expands.
5450 (sibcall_symbolic_sp32, sibcall_symbolic_sp64,
5451 sibcall_value_symbolic_sp32, sibcall_value_symbolic_sp64): New insns.
5452 * config/sparc/sparc.c (sparc_leaf_regs): New array.
5453 (eligible_for_sibcall_delay, output_restore_regs, output_sibcall):
5455 (output_function_epilogue): Move part of the code into
5456 output_restore_regs.
5457 (ultra_code_from_mask, ultrasparc_sched_reorder): Handle
5459 * sparc-protos.h (output_sibcall, eligible_for_sibcall_delay): New
5462 * config/sparc/sparc.h (REVERSIBLE_CC_MODE): Revert Jan, 25 change
5463 until infrastructure is finished.
5465 Fri Mar 24 13:49:45 2000 Jeffrey A Law (law@cygnus.com)
5467 * integrate.c (save_for_inline_nocopy): Clear in_nonparm_insns here.
5468 (save_parm_insns): Not here.
5470 2000-03-24 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5472 * builtins.c (expand_builtin_bzero): New function.
5473 (expand_builtin): Handle bzero.
5475 * builtins.def: Add BUILT_IN_BZERO.
5477 * c-common.c (c_common_nodes_and_builtins): Provide builtin
5478 prototype & function for bzero.
5480 2000-03-23 Michael Meissner <meissner@redhat.com>
5482 * config/alpha/alpha.md (TF floating point insns): Undo 2000-03-21
5483 change adding TARGET_FP to the TF floating point insns, except for
5484 trunctfsf2, which generates direct calls to truncdfsf2.
5486 2000-03-23 Geoff Keating <geoffk@cygnus.com>
5488 * config/rs6000/rs6000.h (ARG_POINTER_CFA_OFFSET): New definition,
5489 try to protect against middle-end changes that break binary
5491 (DWARF_FRAME_REGISTERS): New definition, likewise for backend.
5493 2000-03-24 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
5495 * config/c4x/c4x.md (load_immed_address): Add DP reg clobber.
5497 Thu Mar 23 17:10:48 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
5499 * calls.c (expand_call): If TARGET is passed by reference and
5500 is readonly, write a CLOBBER.
5502 2000-03-23 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5504 * builtins.c (expand_builtin): Handle bcmp.
5506 * builtins.def: Add BUILT_IN_BCMP.
5508 * c-common.c (c_common_nodes_and_builtins): Provide builtin
5509 prototype & function for bcmp.
5511 Thu Mar 23 11:34:39 2000 Jim Wilson <wilson@cygnus.com>
5513 * config/ia64/ia64.c (rtx_needs_barrier, case UNSPEC): Move case 6...
5514 (rtx_needs_barrier, case UNSPEC_VOLATILE): to here.
5515 * config/ia64/ia64.md (pr_restore): Change UNSPEC to UNSPEC_VOLATILE.
5517 Thu Mar 23 16:04:40 2000 Andrew Haley <aph@cygnus.com>
5519 * config/mips/mips.md (movdf_internal1a): Delete (set 'f', 'F')
5520 alternative when using -fp64 -gp32.
5522 2000-03-22 Jason Merrill <jason@casey.cygnus.com>
5524 * config/rs6000/rs6000.h (DWARF_FRAME_RETURN_COLUMN): Define.
5525 * config/alpha/alpha.h (DWARF_FRAME_RETURN_COLUMN): Define.
5526 * config/sparc/sparc.h (DWARF_FRAME_RETURN_COLUMN): Define.
5528 * frame.h (frame_state): Revert last change.
5529 * frame.c (execute_cfa_insn): Just don't record the save of a CFA reg.
5530 * libgcc2.c (throw_helper): Revert last change.
5532 2000-03-22 Richard Henderson <rth@cygnus.com>
5534 * stmt.c (expand_asm_operands): Don't promote the temporary.
5536 2000-03-22 Theodore Papadopoulo <Theodore.Papadopoulo@sophia.inria.fr>
5538 * builtin.c (get_pointer_alignment): Use DECL_P and TYPE_P macros.
5539 * c-common.c (decl_attributes,check_format_info,truthvalue_conversion,
5540 c_get_alias_set): Likewise.
5541 * c-decl.c (duplicate_decls): Likewise.
5542 * c-typeck.c (default_conversion,build_unary_op): Likewise.
5543 * calls.c (initialize_argument_information): Likewise.
5544 * dwarf2out.c (decl_class_context,add_abstract_origin_attribute):
5546 * dwarfout.c (decl_class_context,output_type): Likewise.
5547 * expr.c (get_inner_reference): Likewise.
5548 * fold-const.c (simple_operand_p,fold): Likewise.
5549 * function.c (aggregate_value_p): Likewise.
5550 * stmt.c (expand_asm_operands): Likewise.
5551 * varasm.c (named_section): Likewise.
5553 2000-03-22 Jason Merrill <jason@casey.cygnus.com>
5555 Implement dwarf2 exception handling for the ARM.
5556 * config/arm/arm.h (INCOMING_RETURN_ADDR_RTX): Define.
5557 (DWARF_FRAME_RETURN_COLUMN): Define.
5558 * config/arm/arm.c (emit_multi_reg_push): Return rtx. Attach
5559 REG_FRAME_RELATED_EXPR note.
5560 (emit_sfm): Likewise.
5561 (arm_expand_prologue): Set RTX_FRAME_RELATED_P on everything.
5562 * dwarf2out.c (reg_save): Handle saving a register to itself.
5563 (dwarf2out_frame_debug_expr): Handle an intermediate cfa reg.
5564 * except.c (eh_regs): Don't use the static chain reg if it's
5566 * frame.h (frame_state): Add cfa_saved field.
5567 * frame.c (execute_cfa_insn): Set it.
5568 * libgcc2.c (throw_helper): Don't adjust sp if it's restored in
5570 * function.c (ARG_POINTER_CFA_OFFSET): Default to FIRST_PARM_OFFSET.
5572 (instantiate_virtual_regs): Adjust.
5574 * config/m68k/m68k.h (ARG_POINTER_CFA_OFFSET): Don't define.
5575 * config/ns32k/ns32k.h (ARG_POINTER_CFA_OFFSET): Don't define.
5576 * config/sparc/sparc.h (ARG_POINTER_CFA_OFFSET): Take a parm.
5578 * dwarf2out.c (reg_number): Refer to FIRST_PSEUDO_REGISTER.
5579 (initial_return_save): Use DWARF_FRAME_REGNUM, not reg_number.
5581 2000-03-22 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5583 * builtins.def: New file.
5585 * Makefile.in (TREE_H): Depend on builtins.def.
5587 * builtins.c (built_in_names): Use builtins.def.
5589 * tree.h (built_in_function): Likewise.
5591 2000-03-22 Mark Mitchell <mark@codesourcery.com>
5593 * tree.c (size_in_bytes): Return size_zero_node, not
5596 2000-03-22 Geoff Keating <geoffk@cygnus.com>
5598 * config/fp-bit.c (pack_d): Correct the case when a denormal
5599 is rounded up and stops being denormal.
5601 2000-03-21 Richard Henderson <rth@cygnus.com>
5603 * config/alpha/alpha.c (function_arg): Check for void_type_node
5604 before using MUST_PASS_IN_STACK.
5606 2000-03-21 Stephane Carrez <stcarrez@worldnet.fr>
5608 * regmove.c (combine_stack_adjustments_for_block): Check that
5609 the stack pointer is a valid memory address.
5611 Wed Mar 22 11:44:50 MET 2000 Jan Hubicka <jh@suse.cz>
5613 * calls.c: re-install Mar 16 emit_library_call merge.
5615 2000-03-21 Jakub Jelinek <jakub@redhat.com>
5617 * config/sparc/sparc.c (mem_min_alignment): If not optimizing,
5618 we cannot be sure that if reload_completed base register will
5619 be properly aligned.
5621 2000-03-21 Richard Henderson <rth@cygnus.com>
5623 * flow.c (delete_block): Fix typo last change.
5625 2000-03-21 Mark Mitchell <mark@codesourcery.com>
5627 * c-common.c (c_expand_expr_stmt): Use COMPLETE_TYPE_OR_VOID_P,
5628 not COMPLETE_TYPE_P, to check the type of the expression.
5630 2000-03-21 Michael Meissner <meissner@redhat.com>
5632 * config/alpha/alpha.md (floating point insns): Add TARGET_FP to
5633 all floating point insns that just tested the macro
5634 TARGET_HAS_XFLOATING_LIBS.
5635 (movsf/movdf recognizers): Add separate insns if -mno-fp-regs is
5636 used to only use the gprs.
5638 2000-03-21 Nathan Sidwell <nathan@codesourcery.com>
5640 * tree.h (COMPLETE_TYPE_P): New macro.
5641 (COMPLETE_OR_VOID_TYPE_P): New macro.
5642 (COMPLETE_OR_UNBOUND_ARRAY_TYPE_P): New macro.
5643 * stor-layout.c (layout_type, case VOID_TYPE): Don't set TYPE_SIZE.
5644 * c-aux-info.c (gen_type): Use them.
5645 * c-common.c (c_expand_expr_stmt): Likewise.
5646 * c-decl.c (poplevel, pushdecl, start_decl, finish_decl,
5647 grokdeclarator, grokparms, finish_struct, start_function,
5648 store_parm_decls, combine_parm_decls): Likewise.
5649 * c-parse.y (cast_expr): Likewise.
5650 * c-typeck.c (require_complete_type, c_sizeof, c_sizeof_nowarn,
5651 c_size_in_bytes, c_alignof, build_component_ref,
5652 build_indirect_ref, build_array_ref, convert_arguments,
5653 build_binary_op, pointer_diff, build_unary_op, digest_init: Likewise.
5654 * calls.c (initialize_argument_information): Likewise.
5655 * convert.c (convert_to_integer): Likewise.
5656 * dbxout.c (dbxout_typedefs, dbxout_type, dbxout_symbol): Likewise.
5657 * dwarfout.c (location_or_const_value_attribute,
5658 output_enumeration_type_die, output_structure_type_die,
5659 output_union_type_die, output_type): Likewise.
5660 * expr.c (safe_from_p, expand_expr): Likewise.
5661 * function.c (assign_parms): Likewise.
5662 * sdbout.c (sdbout_symbol, sdbout_one_type): Likewise.
5663 * tree.c (build_array_type, build_function_type,
5664 build_method_type, build_offset_type, build_complex_type): Likewise.
5665 * c-parse.c, c-parse.h: Regenerated.
5667 2000-03-21 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
5669 * config/c4x/rtems.h: Include config/rtems.h.
5671 Tue Mar 21 09:24:00 2000 Denis Chertykov <denisc@overta.ru>
5673 * config/avr/avr.c (encode_section_info): sets SYMBOL_REF_FLAG if
5674 decl is a FUNCTION_DECL
5676 Mon Mar 20 19:53:53 2000 Jim Wilson <wilson@cygnus.com>
5678 * config/ia64/ia64.c (ia64_expand_prologue): Don't abort if leaf
5679 function uses output registers. Don't save RP for leaf functions.
5680 Do save RP even if no epilogue.
5681 * config/ia64/ia64.h (FIXED_REGISTERS): Unmark in/out registers.
5682 (CALL_USED_REGISTERS): Unmark in registers.
5683 (REG_ALLOC_ORDER): Move out regs up, to near the top. Move in regs up,
5686 2000-03-20 Geoff Keating <geoffk@cygnus.com>
5688 * config/rs6000/rs6000.md (bunordered): New expander.
5689 (bordered): New expander.
5690 (buneq): New expander.
5691 (bunge): New expander.
5692 (bungt): New expander.
5693 (bunle): New expander.
5694 (bunlt): New expander.
5695 (bltgt): New expander.
5697 * config/rs6000/rs6000.c (ccr_bit): Handle unordered comparisons.
5698 (ccr_bit_negated_p): New function.
5699 (print_operand): For %C, generate appropriate cror for UNEQ,
5700 UNLT, UNGT, and LTGT. For %T and %t, use ccr_bit_negated_p.
5702 2000-03-20 Andreas Jaeger <aj@suse.de>
5704 * sdbout.c (sdbout_one_type): Add braces to avoid "ambigous else"
5707 * tree.h (safe_for_unsave): Prototype.
5709 2000-03-20 Richard Henderson <rth@cygnus.com>
5711 * regmove.c (stack_memref_p): Fix typo, reorg for readability.
5712 (combine_stack_adjustments_for_block): Don't allow sp references
5713 in the side of a set we're not fixing up.
5714 * toplev.c (rest_of_compilation): Run combine_stack_adjustments
5715 after life_analysis.
5717 2000-03-20 Richard Henderson <rth@cygnus.com>
5719 * calls.c (expand_call): Don't bother generating tail call
5720 sequences if there are pending cleanups. Use
5721 expand_start_target_temps/expand_end_target_temps to elide
5722 cleanups created during sibcall expansion.
5724 2000-03-20 Geoff Keating <geoffk@cygnus.com>
5726 * configure.in: Set $IFS to a value if it doesn't already have one
5727 in the --enable-checking handling.
5728 * configure: Regenerate.
5730 2000-03-20 Martin v. Löwis <loewis@informatik.hu-berlin.de>
5732 * c-parse.in (SAVE_WARN_FLAGS): Use size_int.
5733 * c-parse.y, c-parse.c, objc/objc-parse.y, objc/objc-parse.c:
5736 Mon Mar 20 11:43:15 MET 2000 Jan Hubicka <jh@suse.cz>
5738 * jump.c (delete_noop_moves): Remove code attempting to
5739 combine stack adjustments.
5741 2000-03-19 Martin v. Löwis <loewis@informatik.hu-berlin.de>
5743 * emit-rtl.c (push_to_full_sequence, end_full_sequence): New functions.
5744 * except.c (emit_cleanup_handler): Use them.
5745 (expand_end_all_catch): Likewise.
5746 * function.c (fixup_var_refs): Likewise.
5747 (expand_function_end): Clear catch_clauses_last.
5748 * rtl.h (push_to_full_sequence, end_full_sequence): Declare.
5749 * except.h (struct eh_status): New field x_catch_clauses_last.
5750 (catch_clauses_last): New define.
5752 * Makefile.in (tree.o): Depend on HASHTAB_H.
5753 * tree.c: Include hashtab.h.
5754 (struct type_hash): Remove next field.
5755 (TYPE_HASH_SIZE): Remove.
5756 (TYPE_HASH_INITIAL_SIZE): New define.
5757 (type_hash_table): Change type to htab_t.
5758 (type_hash_eq, type_hash_hash, print_type_hash_statistics,
5759 mark_hash_entry): New functions.
5760 (init_obstacks): Allocate type hash.
5761 (type_hash_lookup): Use htab functions.
5762 (type_hash_add, mark_type_hash): Likewise.
5763 (dump_tree_statistics): Call print_type_hash_statistics.
5765 2000-03-19 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5767 * rs6000/t-aix41: New file.
5769 * configure.in ({rs6000,powerpc}-ibm-aix4.[12]*): Use it.
5771 Sun Mar 19 13:27:30 2000 Hans-Peter Nilsson <hp@axis.com>
5773 * tm.texi (Driver): Fix typos and tweak entry for
5775 Move misplaced STRUCT_FORCE_BLK entry ...
5776 (Storage Layout): ... to here.
5777 (Run-time Target): Recommend having TARGET_MASK_... helper macros.
5779 2000-03-19 Richard Henderson <rth@cygnus.com>
5781 * flow.c (delete_block): Delete the addr_vec along with the block.
5782 (flow_delete_insn): Decrement LABEL_NUSES when deleting insns that
5785 * fold-const.c (extract_muldiv): Apply type check for defined
5786 overflow to multiply as well as divide.
5788 * stor-layout.c (layout_decl): Don't abort on any zero sized decl.
5790 2000-03-18 Mark Mitchell <mark@codesourcery.com>
5792 * emit-rtl.c (remove_unncessary_notes): Check that all
5793 NOTE_INSN_BLOCK_BEG and NOTE_INSN_BLOCK_END notes have an
5794 associated NOTE_BLOCK.
5795 * function.h (identify_blocks): Update comments.
5796 (reorder_blocks): Declare.
5797 * function.c (identify_blocks): Don't take paramters.
5798 (reorder_blocks): Don't take parameters.
5799 * loop.h (find_loop_tree_blocks): Remove.
5800 (unroll_block_trees): Likewise.
5801 * loop.c (loop_optimize): Don't call find_loop_tree_blocks. Use
5802 reorder_blocks instead of unroll_block_trees.h
5803 * sibcall.c (optimize_sibling_and_tail_recursive_calls): Likewise.
5804 * stmt.c (find_loop_tree_blocks): Remove.
5805 (unroll_block_trees): Likewise.
5806 * toplev.c (rest_of_compilation): Don't call find_loop_tree_blocks
5807 in whole-function mode.
5808 * tree.h (reorder_blocks): Remove declaration.
5810 * expr.c: Include intl.h.
5811 * Makefile.in (expr.o): Depend on intl.h.
5813 2000-03-18 Richard Henderson <rth@cygnus.com>
5815 * expr.c (emit_move_insn_1): Clarify cannot_inline message.
5817 2000-03-18 Mark Mitchell <mark@codesourcery.com>
5819 * tree.h (tree_index): Remove enumerals for integer types.
5820 (integer_type_kind): New type.
5821 (integer_types): New variable.
5822 (char_type_node): Adjust.
5823 (signed_char_type_node): Likewise.
5824 (unsigned_char_type_node): Likewise.
5825 (short_integer_type_node): Likewise.
5826 (short_unsigned_type_node): Likewise.
5827 (integer_type_node): Likewise.
5828 (unsigned_type_node): Likewise.
5829 (long_integer_type_node): Likewise.
5830 (long_unsigned_type_node): Likewise.
5831 (long_long_integer_type_node): Likewise.
5832 (long_long_unsigned_type_node): Likewise.
5833 * tree.c (integer_types): New variable.
5834 (init_obstacks): Register it as a root.
5836 Sat Mar 18 14:38:00 2000 Jason Eckhardt <jle@cygnus.com>
5838 * bb-reorder.c (reorder_basic_blocks): Update PREV_INSN as well as
5839 NEXT_INSN. Update last insn in chain.
5841 2000-03-17 Jason Merrill <jason@casey.cygnus.com>
5843 * dwarf2out.c (dwarf2out_decl): Don't emit anything for types
5844 with TYPE_DECL_SUPPRESS_DEBUG set.
5846 2000-03-18 Richard Henderson <rth@cygnus.com>
5848 * flow.c (make_edges): Use INTVAL to access REG_EH_REGION value.
5850 2000-03-18 Richard Henderson <rth@cygnus.com>
5852 * i386.c (call_insn_operand): Always allow SYMBOL_REF,
5853 care for HALF_PIC_P.
5854 (expander_call_insn_operand): Remove.
5855 (ix86_expand_epilogue): New arg `emit_return' to control return insn.
5856 * i386.h (PREDICATE_CODES): Update.
5857 * i386.md (all call expanders): Remove predicates, remove special
5858 handling for half-pic.
5859 (*call_1, *call_value_1): Handle SIBLING_CALL_P insns.
5860 (*call_pop_pic2, *call_pic2, *call_value_pop_2, *call_value_2): Remove.
5861 (sibcall_epilogue): New.
5863 2000-03-17 Richard Henderson <rth@cygnus.com>
5865 * rtlanal.c (single_set): Reject if the parallel has anything
5866 except SET or USE or CLOBBER.
5868 2000-03-17 Jeff Law <law@cygnus.com>
5869 Richard Henderson <rth@cygnus.com>
5871 * Makefile.in (OBJS): Add sibcall.o.
5873 * sibcall.c: New file.
5874 * calls.c (FUNCTION_OK_FOR_SIBCALL): Provide default.
5875 (ECF_IS_CONST, ECF_NOTHROW, ECF_SIBCALL): New.
5876 (emit_call_1): Replace `is_const' and `nothrow' with `ecf_flags'.
5877 Emit sibcall patterns when requested. Update all callers.
5878 (expand_call): Generate CALL_PLACEHOLDER insns when tail call
5879 elimination seems feasable.
5880 * final.c (leaf_function_p): Sibling calls don't discount being
5882 * flow.c (HAVE_sibcall_epilogue): Provide default.
5883 (find_basic_blocks_1): Sibling calls don't throw.
5884 (make_edges): Make edge from sibling call to EXIT.
5885 (propagate_block): Don't remove sibcall_epilogue insns.
5886 * function.c (prologue, epilogue): Turn into varrays. Update all uses.
5887 (sibcall_epilogue): New.
5888 (fixup_var_refs): Scan CALL_PLACEHOLDER sub-sequences.
5889 (identify_blocks_1): Likewise. Break out from ...
5890 (identify_blocks): ... here.
5891 (reorder_blocks_1): Scan CALL_PLACEHOLDER. Break out from ...
5892 (reorder_blocks): ... here.
5893 (init_function_for_compilation): Zap prologue/epilogue as varrays.
5894 (record_insns): Extend a varray instead of mallocing new memory.
5895 (contains): Read a varray not array of ints.
5896 (sibcall_epilogue_contains): New.
5897 (thread_prologue_and_epilogue_insns): Emit and record
5898 sibcall_epilogue patterns.
5899 (init_function_once): Allocate prologue/epilogue varrays.
5900 * genflags.c (gen_insn): Treat sibcall patterns as calls.
5901 * integrate.c (save_parm_insns): Recurse on CALL_PLACEHOLDER patterns.
5903 (save_for_inline_nocopy): ... here.
5904 (copy_insn_list): Recurse on CALL_PLACEHOLDER patterns.
5906 (expand_inline_function): ... here.
5907 (copy_rtx_and_substitute): Handle NOTE_INSN_DELETED_LABEL.
5908 (subst_constants): Handle 'n' formats.
5909 * jump.c (jump_optimize_minimal): New.
5910 (jump_optimize_1): New arg `minimal'; update callers. Elide most
5911 optimizations if it's set.
5912 * rtl.c (copy_rtx): Do copy jump & call for insns.
5913 * rtl.h (struct rtx_def): Document use of jump and call for insns.
5914 (SIBLING_CALL_P): New.
5915 (sibcall_use_t): New.
5916 * toplev.c (rest_of_compilation): Do init_EXPR_INSN_LIST_cache earlier.
5917 Invoke optimize_sibling_and_tail_recursive_calls.
5918 * tree.c (lang_safe_for_unsave): New.
5919 (safe_for_unsave): New.
5920 * tree.h (lang_safe_for_unsave, safe_for_unsave): Declare.
5922 * alpha.h (FUNCTION_OK_FOR_SIBCALL): New.
5923 * alpha.md (sibcall, sibcall_value, sibcall_epilogue): New.
5924 (*sibcall_osf_1, *sibcall_value_osf_1): New.
5926 2000-03-17 Mark Mitchell <mark@codesourcery.com>
5928 * objc/objc-act.c (encode_method_prototype): Pass types, not
5929 PARM_DECLs, to int_size_in_bytes.
5931 Fri Mar 17 11:51:34 2000 Jim Wilson <wilson@cygnus.com>
5933 * config/ia64/ia64.md (mix4right_3op): Swap %1 and %2 in template.
5935 * config/ia64/ia64-protos.h, config/ia64/ia64.c, config/ia64/ia64.h,
5936 config/ia64/ia64.md, config/ia64/xm-ia64.h: Fix copyrights again.
5938 Fri Mar 17 08:09:14 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
5940 * Clean up usages of TREE_INT_CST_LOW.
5941 * c-parse.in (RESTORE_WARN_FLAGS): Use tree_low_cst.
5942 * c-parse.y, c-parse.c, objc/objc-parse.y, objc/objc-parse.c:
5944 * c-tree.h (min_precision): Move declaration to here.
5945 * c-typeck.c (build_binary_op): Use host_integerp and tree_low_cst.
5946 (build_unary_op, add_pending_init): Use bit_position.
5947 (pending_init_member, process_init_element): Likewise.
5948 (really_start_incremental_init, push_init_level, pop_init_level):
5949 Don't make copies of nodes or modify them in place, use consistent
5950 types when tracking positions, and use tree routines computations.
5951 (set_init_index, output_init_element): Likewise.
5952 (output_pending_init_elements, process_init_element): Likewise.
5953 * dbxout.c (dbxout_type_fields): Use bit_position, host_integerp,
5954 tree_low_cst and int_bit_position; also minor cleanup.
5955 (dbxout_type_method_1, dbxout_range_type, dbxout_type): Likewise.
5956 (print_cst_octal): Precision is unsigned.
5957 (dbxout_symbol): Ensure DECL_INITIAL is in-range and use tree_low_cst.
5958 * dwarf2out.c (ceiling): Input and output are unsigned HOST_WIDE_INT.
5959 (simple_type_align_in_bits): Result is unsigned int.
5960 Use tree_int_low_cst and host_integerp.
5961 (simple_type_size_in_bits): Result is unsigned HOST_WIDE_INT.
5962 (field_byte_offset): Result is HOST_WIDE_INT.
5963 Change types of internal variables so alignments are unsigned int,
5964 offsets are HOST_WIDE_INT and sizes are unsigned HOST_WIDE_INT.
5965 Use host_integerp, tree_low_cst, and int_bit_position.
5966 (add_bit_offset_attribute): Likewise.
5967 (add_data_member_location_attribute): Use tree_cst_low.
5968 (add_bound_info): Use host_integerp, integer_zerop, and integer_onep.
5969 (add_bit_size_attribute): Use tree_low_cst.
5970 (add_pure_or_virtual_attribute, gen_enumeration_type_die): Likewise.
5971 * dwarfout.c: Similar changes to dwarf2out.c.
5972 * expr.c (expand_expr, case ARRAY_REF): Remove redundant code.
5973 * genoutput.c (n_occurences): Return -1 for null string.
5974 (strip_whitespace): Accept null string and make into function.
5975 (scan_operands): Reflect above changes.
5976 * sdbout.c (plain_type_1): Use host_integerp and tree_low_cst.
5977 (sdbout_field_types, sdbout_one_type): Likewise; also use bit_position.
5978 * ssa.c (rename_registers): Add missing cast of arg to bzero.
5979 * tree.c (int_size_in_bytes): Check for too big to represent.
5980 (bit_position, int_bit_position, host_integerp, tree_low_cst): New fns.
5981 * tree.h (host_integerp, tree_low_cst, bit_position, int_bit_position):
5983 (min_precision): Delete from here.
5984 * varasm.c (decode_addr_const): Use host_integerp, bit_position,
5985 and int_bit_position.
5986 * objc/objc-act.c (encode_method_prototype): Sizes are HOST_WIDE_INT.
5987 (encode_method_def): Likewise.
5988 (build_ivar_list_initializer): Use int_bit_position.
5989 (generate_shared_structures): Convert size.
5990 (encode_type, encode_complete_bitfield): Use integer_zerop.
5991 (encode_bitfield): Use tree_low_cst and int_bit_position.
5993 2000-03-17 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
5995 * config/c4x/c4x.h (CPP_SPEC): Fix typo.
5997 2000-03-17 Martin v. Löwis <loewis@informatik.hu-berlin.de>
5999 * call.c (special_function_p): It is only malloc if it returns
6002 2000-03-17 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
6004 * config/c4x/c4x.h (ASM_SPEC, CPP_SPEC, LINK_SPEC): Support C33.
6005 (C33_FLAG, TARGET_C3X): Add macros.
6006 (TARGET_SWITCHES): Add -m33 option.
6007 * config/c4x/c4x.c (c4x_override_options): Test for TARGET_C33.
6009 2000-03-17 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
6011 * config/c4x/c4x.h (PARALLEL_INSN_FLAG): Add.
6012 (PARALLEL_PACK_FLAG): Delete.
6013 (TARGET_SWITCHES): Update.
6014 (TARGET_PARALLEL): Use PARALLEL_INSN_FLAG.
6016 Thu Mar 16 18:52:32 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
6018 * fold-const.c (fold): Fix a few cases when the returned result
6019 is not of the same type as the input.
6021 2000-03-16 Nick Clifton <nickc@cygnus.com>
6023 * config/arm/arm.h (ASM_OUTPUT_MI_THUNK): Fix compile time
6026 2000-03-16 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
6028 * libgcc2.h: Move prototypes above macros with the same name.
6029 Wrap some function prototypes in the conditional which indicates
6030 whether they are supported, i.e. "BITS_PER_UNIT == 8".
6032 2000-03-16 Richard Henderson <rth@cygnus.com>
6034 * calls.c: Revert last two changes.
6036 2000-03-16 Bernd Schmidt <bernds@cygnus.co.uk>
6038 * fp-bit.c (_unpack_d): If NO_DENORMALS is defined, anything that
6039 has exponent 0 is a zero.
6041 * simplify-rtx.c (hash_rtx, case MEM/REG): Take into account that
6042 HASH may already be nonzero. Add code/mode into hash value
6043 immediately after repeat label.
6044 (cselib_lookup): Don't leave the hash table in an inconsistent
6045 state before a hash lookup operation.
6047 Thu Mar 16 17:03:10 MET 2000 Jan Hubicka <jh@suse.cz>
6049 * i386.md (all HI and QI mode non-move patterns): Conditionize
6050 by TARGET_[HQ]IMODE_MATH.
6051 * i386.h (x86_himode_math, x86_qimode_math, x86_promote_hi_regs,
6052 x86_promote_qi_regs): Declare.
6053 (TARGET_HIMODE_MATH, TARGET_QIMODE_MATH, TARGET_PROMOTE_HI_REGS,
6054 TARGET_PROMOTE_QI_REGS): New macros.
6055 (PROMOTE_MODE): New macro.
6056 * i386.c (x86_himode_math, x86_qimode_math, x86_promote_hi_regs,
6057 x86_promote_qi_regs): New global variables.
6059 Thu Mar 16 16:50:44 MET 2000 Jan Hubicka <jh@suse.cz>
6061 * calls.c (emit_library_call_value_1): Break out from ...; handle
6062 VOIDmode function calls too.
6063 (emit_library_call_value): ... here.
6064 (emit_library_call): Implement by calling emit_library_call_value_1.
6066 Thu Mar 16 16:01:30 MET 2000 Jan Hubicka <jh@suse.cz>
6068 * calls.c (expand_call): Do sanity checking on arg_space_so_far.
6069 Update arg_space_so_far on stack adjustments.
6070 (emit_library_call, emit_library_call_value): Likewise; take into
6071 account arg_space_so_far and pending_stack_adjust when calculcating
6074 Thu Mar 16 09:02:19 2000 Jason Eckhardt <jle@cygnus.com>
6076 * flow.c: Move all basic block reordering code into its own file.
6077 (create_basic_block): Externalize.
6078 * bb-reorder.c: New file. Copy all basic block reordering code from
6079 flow.c to this file.
6080 (reorder_basic_blocks): Fix fencepost error in for-loop.
6081 (reorder_basic_blocks): Remove braces from single statement for-loops.
6082 * basic-block.h: Add declaration for create_basic_block.
6083 * Makefile.in: Add rules for bb-reorder.o.
6085 2000-03-16 Neil Booth <NeilB@earthling.net>
6087 * cppinit.c (handle_option): Implement #unassert directive
6088 as -A- command line option.
6089 (print_help): Update.
6090 * cpptexi.c: Update.
6092 Thu Mar 16 02:14:16 2000 Hans-Peter Nilsson <hp@bitrange.com>
6094 * md.texi (Standard Names): Document `jump'.
6096 2000-03-15 Jason Merrill <jason@casey.cygnus.com>
6098 * calls.c (emit_call_1): Nothrow functions can still have nonlocal
6101 2000-03-15 Geoff Keating <geoffk@cygnus.com>
6103 Merge changes from newppc-branch onto trunk.
6105 2000-03-15 Geoff Keating <geoffk@cygnus.com>
6107 * rs6000.c (toc_hash_table): Update for new hash table functions.
6108 (toc_hash_function): Likewise.
6109 (toc_hash_eq): Likewise.
6110 (toc_hash_mark_entry): Likewise.
6111 (toc_hash_mark_table): Likewise.
6112 (output_toc): Likewise.
6113 (rs6000_add_gc_roots): Likewise.
6115 2000-03-15 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
6117 * t-aix43 (AR_FOR_TARGET): Deleted. Moved `-X32_64'...
6118 (AR_FLAGS_FOR_TARGET): here. New macro.
6120 2000-03-05 Clinton Popetz <cpopetz@cygnus.com>
6122 * config/rs6000/rs6000.c (rs6000_fpmem_offset, rs6000_fpmem_size,
6123 fpmem_operand) Delete.
6125 (rs6000_reg_names, alt_reg_names): Change fpmem to xer.
6126 (machine_function): Remove fpmem_size, fpmem_offset, save_toc_p.
6127 (rs6000_save_machine_status, rs6000_restore_machine_status,
6128 rs6000_init_expanders, rs6000_stack_info, debug_stack_info): Remove
6129 references to above variables.
6130 (gpc_reg_operand): Use XER_REGNO_P instead of FPMEM_REGNO_P.
6131 * config/rs6000/rs6000.h (REG_ALLOC_ORDER, REGISTER_NAMES,
6132 DEBUG_REGISTER_NAMES): Chagne fpmem to xer.
6133 (FPMEM_REGNO_P, FPMEM_REGNUM): Delete.
6134 (XER_REGNO_P, XER_REGNO): New.
6135 (rs6000_stack): Remove fpmem_p, fpmem_offset, fpmem_size.
6136 (PREDICATE_CODES): Change fpmem_operand to xer_operand.
6137 (HARD_REGNO_NREGS, HARD_REGNO_MODE_OK): Change FPMEM_REGNO_P to
6139 (reg_class, REG_CLASS_NAMES, REG_CLASS_CONTENTS, REGNO_REG_CLASS,
6140 REG_CLASS_FROM_LETTER, CLASS_MAX_NREGS): Change FPMEM_REGS to XER_REGS, and remove FLOAT_OR_FPMEM_REGS.
6141 (CLASS_CANNOT_CHANGE_SIZE): Change to FLOAT_REGS.
6143 2000-02-29 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
6145 * aix.h (FP_SAVE_INLINE, ASM_OUTPUT_INTERNAL_LABEL_PREFIX,
6146 TEXT_SECTION_ASM_OP, DATA_SECTION_ASM_OP): Move here...
6147 * rs6000.h: from here.
6149 * rs6000-protos.h (rs6000_select_section): Provide prototype.
6150 (rs6000_select_rtx_section): Likewise.
6151 (rs6000_encode_section_info): Likewise.
6152 (sdata_section): Likewise.
6153 (sdata2_section): Likewise.
6154 (sbss_section): Likewise.
6155 * sysv4.h (rs6000_select_section): Delete prototype.
6156 (rs6000_select_rtx_section): Likewise.
6157 (rs6000_encode_section_info): Likewise.
6158 (sdata_section): Likewise.
6159 (sdata2_section): Likewise.
6160 (sbss_section): Likewise.
6161 (REG_SAVE_AREA): Delete definition duplicated in rs6000.h.
6163 * sysv4.h: Delete various unnecessary #undef's and put a comment
6164 on the remaining ones.
6165 Change various comments according to coding standard.
6167 2000-02-29 Clinton Popetz <cpopetz@cygnus.com>
6169 * config/rs6000/rs6000.h (MQ_REGNO, CR0_REGNO, CR1_REGNO, CR2_REGNO,
6170 CR3_REGNO, CR4_REGNO, MAX_CR_REGNO): Define.
6171 (CR0_REGNO_P) Remove.
6172 * config/rs6000/rs6000.c (gpc_reg_operand, and64_operand, and_operand,
6173 setup_incoming_varargs, mtcrf_operation, print_operand,
6174 rs6000_stack_info, rs6000_emit_prologue, rs6000_emit_epilogue):
6175 Use the above macros.
6177 2000-02-24 Clinton Popetz <cpopetz@cygnus.com>
6179 * config/rs6000/rs6000.md: Added a new alternative for each
6180 pattern that had a 'x' alternative but no 'y' alternative.
6181 Added a new split for each of the above patterns.
6183 2000-02-18 Geoff Keating <geoffk@cygnus.com>
6185 * aix41.h (ASM_CPU_SPEC): Delete.
6186 (CPP_CPU_SPEC): Delete.
6188 * aix.h (RS6000_OUTPUT_BASENAME): Define.
6189 (ASM_OUTPUT_LABEL): Define.
6190 (ASM_GLOBALIZE_LABEL): Define.
6191 (STRIP_NAME_ENCODING): Define.
6192 * rs6000.h (RS6000_OUTPUT_BASENAME): Don't define.
6193 (STRIP_NAME_ENCODING): Don't define.
6194 (ASM_OUTPUT_LABEL): Don't define.
6195 (ASM_GLOBALIZE_LABEL): Don't define.
6196 * sysv4.h (ASM_DECLARE_FUNCTION_NAME): Use assemble_name to output
6197 names, and ASM_OUTPUT_LABEL to output labels, rather than
6199 (ASM_OUTPUT_LABEL): Define.
6200 (ASM_OUTPUT_INT): Use assemble_name.
6201 (ASM_OUTPUT_DWARF_ADDR): Use assemble_name.
6202 (STRIP_NAME_ENCODING): Don't undefine first.
6203 (RS6000_OUTPUT_BASENAME): Make equivalent to assemble_name for
6205 (ASM_OUTPUT_LABELREF): Don't prepend underscores to labels
6206 specified with 'asm' even with -fleading-underscore.
6207 * rs6000.c (print_operand): Use assemble_name when !TARGET_AIX.
6208 (output_epilog): Likewise.
6209 (output_toc): Likewise.
6210 * tramp.asm: Handle -fleading-underscore correctly.
6212 * rs6000.md (builtin_setjmp_receiver): Also run for -fPIC and
6214 (nonlocal_goto_receiver): Delete.
6215 * rs6000.h (DONT_ACCESS_GBLS_AFTER_EPILOGUE): Delete.
6217 * rs6000.h (ASM_OUTPUT_DEF): Don't define.
6218 (SET_ASM_OP): Define.
6219 * sysv4.h (ASM_OUTPUT_DEF): Don't undefine.
6221 * rs6000.h (ASM_OUTPUT_ADDR_VEC_ELT): Don't define.
6224 * rs6000.c (rs6000_dll_import_ref): Delete, not used.
6225 * rs6000-protos.h (rs6000_dll_import_ref): Delete.
6227 * rs6000.h: Add 'u' to more constants.
6229 2000-02-18 David Edelsohn <edelsohn@gnu.org>
6231 * rs6000.md (mfcr+shift): Delete PowerPC64 version.
6233 2000-02-15 David Edelsohn <edelsohn@gnu.org>
6235 * rs6000.c (reg_or_u_cint_operand): New function.
6236 (logical_operand): Handle 64-bit hosts.
6237 (logical_u_operand): New function.
6238 (non_logical_cint_operand): Handle 64-bit hosts.
6239 (non_logical_u_cint_operand): New function.
6240 * rs6000.h (DATA_SECTION_ASM_OP): Add tab.
6241 (PREDICATE_CODES): Define new functions.
6242 * rs6000-protos.h: Declare new functions.
6243 * rs6000.md (iordi3, xordi3): Constant int must be unsigned 32-bits.
6244 (movdi_64): Bracket code intended for 64-bit hosts. Create
6245 CONST_DOUBLE for 32-bit values.
6246 (scc insns): Generate DImode compares.
6247 (mfcr insns): Create DImode versions.
6248 (sge matchers): New patterns.
6250 2000-02-15 Gabriel Paubert <paubert@iram.es>
6252 * rs6000.md: Correct instructions length attributes and
6253 constraints on unsigned compare instructions.
6254 (*ne0): Disable for PowerPC64.
6256 2000-02-11 Geoff Keating <geoffk@cygnus.com>
6258 * rs6000.c (output_function_profiler): Use .long for a 32-bit
6259 quantity, fix profile1.C test failure under -fPIC.
6261 * rs6000.c: Add 'u' to many constants to suppress warnings.
6262 (constant_pool_expr_1): Make static.
6263 (rs6000_emit_eh_toc_restore): Remove unused 'r2'.
6264 * rs6000.h: Add 'u' to many constants to suppress warnings.
6266 * rs6000.c (rs6000_emit_load_toc_table): Use LCTOC..1 under AIX
6267 for the start of the TOC, instead of LCTOC..0.
6268 * aix.h (toc_section): Use LCTOC..1 under AIX for the start
6270 * rs6000.md (load_toc_aix_si): Use LCTOC..1.
6271 (load_toc_aix_di): Use LCTOC..1.
6273 * rs6000.h (LEGITIMIZE_ADDRESS): Turn into a function.
6274 * rs6000.c (rs6000_legitimize_address): New function from
6275 LEGITIMIZE_ADDRESS. Only use create_TOC_reference on
6276 symbols in the constant pool that really are TOC references.
6277 (print_operand_address): For ELF, write TOC offsets under
6278 -fPIC as subtractions in the insn.
6279 (output_toc): For ELF, define symbols in TOC as normal labels,
6281 (create_TOC_reference): Use gen_rtx_PLUS rather than gen_rtx.
6282 * rs6000-protos.h (rs6000_legitimize_address): Prototype.
6283 (create_TOC_reference): Prototype only when RTX_CODE is defined.
6284 * rs6000.md (movsi): Only use create_TOC_reference on
6285 symbols in the constant pool that really are TOC references.
6287 * rs6000.h (MACHINE_DEPENDENT_REORG): Don't define.
6288 * rs6000.c (rs6000_reorg): Delete.
6289 * rs6000-protos.h (rs6000_reorg): Delete.
6291 2000-02-09 Geoff Keating <geoffk@cygnus.com>
6293 * rs6000.h (INCOMING_RETURN_ADDR_RTX): New macro.
6295 * aix.h (SETUP_FRAME_ADDRESSES): Define.
6296 * rs6000.c [TARGET_AIX] (insn_after_throw): New static variable.
6297 [TARGET_AIX] (rs6000_aix_emit_builtin_unwind_init): New function.
6298 [TARGET_AIX] (rs6000_emit_eh_toc_restore): New function.
6299 * rs6000-protos.h: Prototype rs6000_emit_eh_toc_restore,
6300 rs6000_aix_emit_builtin_unwind_init.
6301 * rs6000.md (eh_epilogue) [TARGET_AIX]: Call
6302 rs6000_emit_eh_toc_restore on AIX.
6303 (return_eh_si): Use r2.
6304 (return_eh_di): Use r2.
6306 * aix43.h: Turn on HAS_INIT_SECTION and LD_INIT_SWITCH,
6307 since we're breaking binary compatibility anyway.
6309 2000-02-09 Clinton Popetz <cpopetz@cygnus.com>
6311 * config/rs6000/rs6000-protos.h: (get_TOC_alias_set, uses_TOC,
6312 constant_pool_expr_p): Declare them.
6313 (constant_pool_expr_p): Declare it.
6314 * config/rs6000/rs6000.c (toc_label_name): Define.
6315 (rs6000_override_options): Set toc_label_name.
6316 (input_operand): Allow any TOC_RELATIVE_EXPR_P.
6317 (get_TOC_alias_set, constant_pool_expr_p, constant_pool_expr_1,
6318 uses_TOC): New functions.
6319 (print_operand): Delete old '*' case.
6320 (print_operand_address): Use LEGITIMATE_CONSTANT_POOL_ADDRESS_P,
6321 and strip off rtl for TOC before calling output_addr_const.
6322 (rs6000_emit_load_toc_table): Use toc_label_name.
6323 * config/rs6000/rs6000.h (TARGET_SWITCHES): Make msched-prolog
6325 (LEGITIMATE_CONSTANT_POOL_BASE_P): Delete.
6326 (CONSTANT_POOL_EXPR_P, TOC_RELATIVE_EXPR_P): New macros.
6327 (LEGITIMATE_CONSTANT_POOL_ADDRESS_P): Use CONSTANT_POOL_EXPR_P.
6328 (LEGITIMIZE_ADDRESS, LEGITIMIZE_RELOAD_ADDRESS): Turn symbol_refs
6329 into explicit TOC_REGISTER offsets.
6330 (TOC_REGISTER): New macro.
6331 * config/rs6000/rs6000.md (movsi, movdi): Emit rtl under
6332 TARGET_TOC to reference TOC_REGISTER.
6333 (load_toc_v4_PIC_1b): Add 4 to offset for toc reload.
6334 * config/rs6000/sysv4.h (ASM_DECLARE_FUNCTION_NAME): Call
6335 uses_TOC before emitting label references.
6337 2000-02-05 Geoff Keating <geoffk@cygnus.com>
6339 * rs6000.md (stack_tie): Fix warning.
6341 * eabi-ctors.c: Use 'asm' names for the start/end variables,
6342 to handle -fleading-underscore.
6343 * sysv4.h (ASM_DECLARE_FUNCTION_NAME): Use asm_fprintf and %U.
6344 (USER_LABEL_PREFIX): New macro.
6345 (ASM_OUTPUT_INTERNAL_LABEL_PREFIX): Use asm_fprintf and %L.
6346 (ASM_OUTPUT_LABELREF): Use asm_fprintf and %U.
6347 * t-ppccomm (MULTILIB_MATCHES_SYSV): Note that call-sysv and
6348 call-linux can use the same multilibs.
6349 * t-ppcgas (MULTILIB_OPTIONS): Don't need to have separate call-sysv
6350 and call-linux multilibs. Do multilib with -fleading-underscore.
6351 (MULTILIB_DIRNAMES): Follow MULTILIB_OPTIONS change.
6352 (MULTILIB_EXCEPTIONS): Remove call-linux exceptions. Add restrictions
6355 * sysv4.h (CPP_SYSV_SPEC): Define _SOFT_FLOAT for all those CPUs that
6356 have MASK_SOFT_FLOAT set.
6357 (CPP_FLOAT_DEFAULT_SPEC): New macro.
6358 (SUBTARGET_EXTRA_SPECS): Set `cpp_float_default' to the value of
6359 CPP_FLOAT_DEFAULT_SPEC.
6361 * rs6000.c (ccr_bit): Add some consistency checks and a variable 'reg'.
6362 * rs6000.md: Whitespace change.
6363 * sysv4.h (LINK_TARGET_SPEC): Whitespace change.
6364 * sysv4le.h (LINK_TARGET_SPEC): Whitespace change.
6366 2000-02-05 Geoff Keating <geoffk@cygnus.com>
6368 * rs6000.md (eh_epilogue): New expander.
6369 (eh_reg_restore): New expand/split/insn combination.
6370 (return_eh_si): New insn.
6371 (return_eh_di): New insn.
6373 * eabi-ci.asm: Put a label at the start of the .eh_frame section.
6374 * eabi-cn.asm: Put a zero at the end of the .eh_frame section.
6375 * eabi-ctors.c (__do_global_ctors): Register this object's
6376 frame. Clean up. Call atexit() after the constructors.
6377 (__do_global_dtors): Deregister this object's frame. Clean up.
6378 Allow for recursive calls to exit().
6379 * rs6000.c (fixuplabelno): New variable.
6380 * sysv4.h (ASM_OUTPUT_INT): Don't do .fixup if not
6381 TARGET_RELOCATABLE, it slows down exec() under linux.
6382 (ASM_OUTPUT_DWARF_ADDR): Do .fixup if TARGET_RELOCATABLE.
6384 * aix.h (ASM_OUTPUT_DWARF_ADDR_VAR): New macro.
6385 (ASM_OUTPUT_DWARF_DELTA_VAR): New macro.
6386 (ASM_OUTPUT_DWARF_DELTA2): New macro.
6387 (ASM_OUTPUT_DWARF_DELTA4): New macro.
6388 (ASM_OUTPUT_DWARF_ADDR_DELTA): New macro.
6389 (ASM_OUTPUT_DWARF_ADDR): New macro.
6390 (ASM_OUTPUT_DWARF_DATA4): New macro.
6391 (ASM_OUTPUT_DWARF_DATA2): New macro.
6392 (ASM_OUTPUT_DWARF_OFFSET4): New macro.
6393 (ASM_OUTPUT_DWARF_OFFSET): New macro.
6394 (UNALIGNED_INT_ASM_OP): New macro, fake definition.
6396 2000-02-03 Geoff Keating <geoffk@cygnus.com>
6398 * rs6000.c (rs6000_sr_alias_set): New variable.
6399 (rs6000_override_options): Initialise rs6000_sr_alias_set.
6400 (rs6000_emit_stack_tie): New function.
6401 (rs6000_emit_allocate_stack): Specify RTX_FRAME_RELATED_P
6402 in a way that dwarf2out can understand.
6403 (rs6000_frame_related): New function.
6404 (rs6000_emit_prologue): Use rs6000_sr_alias_set. Specify
6405 RTX_FRAME_RELATED_P in a way that dwarf2out can understand.
6406 Use rs6000_emit_stack_tie when needed.
6407 (rs6000_emit_epilogue): Use rs6000_sr_alias_set. Don't set
6408 RTX_FRAME_RELATED_P. Use rs6000_emit_stack_tie when needed.
6409 * rs6000.md (stack_tie): New insn.
6410 (return_internal_si): Allow return value to be in the count
6412 (return_internal_di): Likewise.
6414 * rs6000.c (output_mi_thunk): Remove unused variable `sp'.
6416 2000-02-03 Geoff Keating <geoffk@cygnus.com>
6418 * sysv4.h (LOCAL_LABEL_PREFIX): Define, for the use of dbxelf.h.
6420 2000-01-31 Geoff Keating <geoffk@cygnus.com>
6422 * rs6000.h (ASM_OUTPUT_DEF_FROM_DECLS): New macro.
6424 * rs6000.md (stmw): Use the right POWER opcode.
6427 2000-01-31 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
6429 * rs6000-protos.h: New file.
6431 * rs6000.c: Include tm_p.h. Fix compile time warnings.
6433 * rs6000.h: Move prototypes to rs6000-protos.h. Fix compile time
6436 * sysv4.h: Likewise.
6438 2000-01-28 Geoff Keating <geoffk@cygnus.com>
6440 * ../../configure.in: Delete powerpcle-*-winnt*
6441 and powerpcle-*-pe|powerpcle-*-cygwin*.
6442 * ../../configure: Regenerated.
6444 * rs6000.h (OBJECT_WINDOWS_NT): Delete.
6445 (TARGET_WINDOWS_NT): Delete.
6447 (CALL_NT_DLLIMPORT): Delete.
6448 Delete NT-specific code.
6449 * rs6000.md, rs6000.c, sysv4.h: Delete NT-specific code.
6452 * nt-ci.asm: Delete.
6453 * nt-cn.asm: Delete.
6454 * ntstack.asm: Delete.
6456 2000-01-27 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
6458 * rs6000.h (SELECT_RTX_SECTION): Move to aix.h.
6459 (ASM_FILE_START): Likewise.
6460 (ASM_DECLARE_FUNCTION_NAME): Likewise.
6461 (ASM_OUTPUT_LABELREF): Likewise.
6462 (ASM_OUTPUT_SKIP): Likewise.
6463 (ASM_OUTPUT_INTERNAL_LABEL): Likewise.
6464 (ASM_GENERATE_INTERNAL_LABEL): Likewise.
6465 (ASM_OUTPUT_CASE_LABEL): Likewise.
6466 (ASM_OUTPUT_ALIGNED_COMMON): Likewise.
6467 (ASM_OUTPUT_ASCII): Likewise.
6469 2000-01-27 Clinton Popetz <cpopetz@cygnus.com>
6471 * rs6000.c (rs6000_emit_load_toc_table): Use "LCG" and
6472 reload_toc_labelno for non-prologue TOC reloads. Also, don't
6473 increment rs6000_pic_labelno here.
6474 (rs6000_emit_prologue): Pass TRUE to rs6000_emit_load_toc_table,
6475 and increment rs6000_pic_labelno here.
6477 2000-01-24 Geoffrey Keating <geoffk@cygnus.com>
6479 * rs6000.md (fctiwz): Use (set (reg) (unspec:DI [(fix:SI ...)]))
6480 rather than (set (subreg:SI (reg)) (fix:SI ...)) so that register
6481 allocation knows (reg) is dead before the insn.
6483 2000-01-21 Geoff Keating <geoffk@cygnus.com>
6485 * rs6000.md (movsi_to_cr): Correct typo in output template.
6487 2000-01-19 Geoffrey Keating <geoffk@cygnus.com>
6489 * rs6000.c (rs6000_pic_labelno): Always define.
6490 (rs6000_pic_func_labelno): Delete.
6491 (lmw_operation): Check for a zero base register,
6492 which doesn't mean what we want.
6493 (stmw_operation): New function.
6494 (print_operand): Define new 'l' modifier.
6495 (rs6000_stack_info): We must save all 64 bits of the registers
6496 if TARGET_POWERPC64.
6497 (rs6000_output_load_toc_table): Delete.
6498 (rs6000_emit_load_toc_table): New function.
6499 (rs6000_allocate_stack_space): Delete.
6500 (rs6000_emit_allocate_stack): New function.
6501 (rs6000_emit_prologue): New function.
6502 (output_prolog): Use rs6000_emit_prologue.
6503 (rs6000_emit_epilogue): Change a few variable names to be
6504 more accurate. Restore all 64 bits of the registers if
6505 TARGET_POWERPC64. Only restore the FP registers which were used
6506 if they are being saved/restored one-at-a-time.
6507 (output_mi_thunk): Delete inefficient code generation.
6508 (output_function_profiler): Don't use rs6000_output_load_toc_table.
6509 * rs6000.h: Declare rs6000_emit_load_toc_table,
6510 rs6000_allocate_stack_space, stmw_operation. Don't declare
6511 rs6000_output_load_toc_table.
6512 * rs6000.md (elf_high): Allow register 0, but discourage it
6514 (elf_low): Support loading into register 0.
6515 (load_toc_aix_si): New pattern.
6516 (load_toc_aix_di): New pattern.
6517 (load_toc_v4_pic_si): New pattern.
6518 (load_toc_v4_pic_di): New pattern.
6519 (load_toc_v4_PIC_1): New pattern.
6520 (load_toc_v4_PIC_1b): New pattern.
6521 (load_toc_v4_PIC_2): New pattern.
6522 (builtin_setjmp_receiver): Use rs6000_emit_load_toc_table.
6523 (nonlocal_goto_receiver): Use rs6000_emit_load_toc_table.
6524 (prologue): New expander.
6525 (movesi_from_cr): New pattern.
6526 (stmw): New pattern.
6527 (save_fpregs_si): New pattern.
6528 (save_fpregs_di): New pattern.
6530 2000-01-19 Geoff Keating <geoffk@cygnus.com>
6532 * rs6000.md (movsi): Don't use force_reg when no_new_pseudos.
6537 2000-01-19 Geoff Keating <geoffk@cygnus.com>
6539 * rs6000.md (movsi_got): 'unspec 8' returns a SImode result,
6541 (movsi_got_internal): Likewise.
6542 (movsi_got_internal+1): Likewise.
6543 (set_sp): 'unspec 7' does a SImode clobber.
6545 2000-01-19 Geoff Keating <geoffk@cygnus.com>
6547 * rs6000.md (floatsidf2): Don't use the fpmem "register", just
6548 allocate a stack temporary.
6549 (floatsidf2_internal): Likewise.
6550 (floatsidf2_internal+1): Likewise. Don't do bizzare hacks
6552 (floatunssidf2): Don't use the fpmem "register", just
6553 allocate a stack temporary.
6554 (floatunssidf2_internal): Likewise.
6555 (floatunssidf2_internal+1): Likewise. Don't do bizzare hacks
6557 (floatsidf2_loadaddr): Delete.
6558 (floatsidf2_store1): Delete.
6559 (floatsidf2_store2): Delete.
6560 (floatsidf2_load): Delete.
6561 (fix_truncdfsi2): Don't use the fpmem "register", just
6562 allocate a stack temporary.
6563 (fix_truncdfsi2_internal_si): Delete.
6564 (fix_truncdfsi2_internal_di): Delete.
6565 (fix_truncdfsi2_internal): New insn.
6566 (fix_truncdfsi2_internal+1): Don't use the fpmem "register".
6567 (fix_truncdfsi2_store): Delete.
6568 (fix_truncdfsi2_load): Delete.
6569 (fctiwz): Produce gen_fctiwz.
6571 2000-01-19 Geoffrey Keating <geoffk@cygnus.com>
6573 * eabi.h (INVOKE__main): Define.
6574 * rs6000.c (rs6000_stack_info): Don't handle call to NAME__MAIN
6576 (rs6000_emit_prologue): Likewise.
6577 * rs6000.h (struct rs6000_stack): Don't keep track of whether
6578 this is the main program.
6580 2000-01-19 Geoff Keating <geoffk@cygnus.com>
6582 * rs6000.c (rs6000_va_arg): Delete some unused variables.
6584 2000-01-19 Geoff Keating <geoffk@cygnus.com>
6586 * rs6000.c (rs6000_va_arg): On AIX, padding for small arguments
6587 goes after the argument.
6589 2000-01-12 Geoff Keating <geoffk@cygnus.com>
6591 * rs6000.md: Document 'unspec' values used.
6592 (epilogue): New expander.
6593 (movesi_to_cr_one): New expander.
6594 (movesi_to_cr and following): New pattern.
6596 (return_internal_si): New pattern.
6597 (return_internal_di): New pattern.
6598 (return_and_restore_fpregs_si): New pattern.
6599 (return_and_restore_fpregs_di): New pattern.
6600 * rs6000.h: Declare new functions.
6601 * rs6000.c (rs6000_stack_info): Use current_function_is_leaf
6602 rather than rs6000_calls_p.
6603 (rs6000_makes_calls): Delete.
6604 (lmw_operation): New function.
6605 (mtcrf_operation): New function.
6606 (rs6000_emit_epilogue): New function.
6607 (output_epilog): Call rs6000_emit_epilogue and final if
6608 !TARGET_SCHED_PROLOG, instead of writing text unconditionally.
6610 2000-01-12 Geoff Keating <geoffk@cygnus.com>
6612 * aix43.h (SUBSUBTARGET_SWITCHES): Document switches.
6613 * aix41.h (SUBSUBTARGET_SWITCHES): Document switches.
6614 * aix.h (SUBTARGET_SWITCHES): Document switches.
6615 * rs6000.h: (TARGET_SWITCHES): Don't print options twice. Make
6616 sched-prolog and sched-epilog the same. Document all the
6618 (TARGET_OPTIONS): No longer allow -mdebug-.
6620 2000-01-12 Geoff Keating <geoffk@cygnus.com>
6622 * rs6000.h (ASM_FILE_END): Move to aix.h.
6623 (EXTRA_SECTIONS): Move to aix.h.
6624 (READONLY_DATA_SECTION): Move to aix.h.
6625 (EXTRA_SECTION_FUNCTIONS): Move to aix.h.
6626 (SELECT_SECTION): Move to aix.h.
6627 (JUMP_TABLES_IN_TEXT_SECTION): Move to aix.h.
6628 (INT_REGNO_P): Use symbolic name for ARG_POINTER_REGNUM.
6629 (LINK_REGISTER_REGNUM): New definition.
6630 (RETURN_ADDR_RTX): Use symbolic name for LINK_REGISTER_REGNUM.
6631 (SLOW_UNALIGNED_ACCESS): Define in a way suitable for both
6633 * sysv4.h: Delete the code between the inclusion of rs6000.h
6635 (DWARF_DEBUGGING_INFO): Don't define, it's defined in elfos.h.
6636 (FP_ARG_MAX_REG): Move generic definition to rs6000.h.
6637 (RS6000_REG_SAVE): Move generic definition to rs6000.h.
6638 (RS6000_SAVE_AREA): Move generic definition to rs6000.h.
6639 * rs6000.md (floatsidf2_loadaddr): The first arg here is Pmode.
6640 (fix_truncdfsi2_internal): Rename to fix_truncdfsi2_internal_si.
6641 (fix_truncdfsi2_internal_di): New pattern.
6642 (fix_truncdfsi2_store): The second arg here is Pmode too.
6643 (fix_truncdfsi2_load): The second arg here is Pmode too.
6644 (tablejumpdi): Now that switch tables hold only SImode values,
6645 gcc needs to know how to add them to the pc which is DImode.
6646 * rs6000.c (rs6000_stack_info): Use symbolic name for
6647 LINK_REGISTER_REGNUM.
6648 (output_mi_thunk) [!TARGET_ELF]: Don't define sp, it's not used.
6649 (output_toc): Delete unused variables s1 and s2.
6650 (output_ascii): Use fputs not fprintf on a variable string.
6652 2000-01-07 David Edelsohn <edelsohn@gnu.org>
6654 * rs6000.c (processor_target_table): Add power3 as alias for 630.
6655 * aix43.h: Revert Aug 2 change.
6656 (HAS_INIT_SECTION): Define, not visible yet.
6657 (LD_INIT_SWITCH): Define, not visible yet.
6658 * t-aix43 (MULTILIB_OPTIONS): Revert Aug 2 change.
6660 2000-01-04 Joel Sherrill (joel@OARcorp.com>
6662 * config/rs6000/rtems.h: Include config/rtems.h.
6664 2000-01-04 David Edelsohn <edelsohn@gnu.org>
6666 * rs6000.h (HANDLE_PRAGMA_PACK): Define.
6667 (SLOW_UNALIGNED_ACCESS): Define.
6668 (CASE_VECTOR_MODE): Always use 32-bit offsets.
6669 (ASM_FILE_END): Generate 64-bit symbol in 64-bit mode.
6670 (EXTRA_SECTOIN_FUNCTIONS): Indent .csect pseudo-op.
6671 (toc_section): Likewise and .toc pseudo-op.
6672 (ASM_DECLARE_FUNCTION): Likewise. Align text more strictly in
6674 (TEXT_SECTION_ASM_OP): Likewise.
6675 (ASM_OUTPUT_ADD_VEC_ELT, ASM_OUTPUT_ADDR_DIFF_ELT): Always use
6678 1999-12-17 Jakub Jelinek <jakub@redhat.com>
6680 * config/rs6000/rs6000.h (TARGET_POWERPC64): Make sure
6681 UNITS_PER_WORD and BITS_PER_WORD are compile time constants when
6684 2000-01-06 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
6686 * rs6000.h: Move more stuff from here...
6688 * sysv4.h: Cleanup accordingly.
6689 * netware.h: Likewise
6691 2000-01-05 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
6693 * rs6000.h: Continue cleanup.
6696 * netware.h: Likewise.
6698 * sysv4.h: Likewise.
6699 * win-nt.h: Likewise.
6701 * rs6000.h (TARGET_SWITCHES): Add descriptions.
6702 (TARGET_OPTIONS): Likewise.
6704 * sysv4.h (SUBTARGET_SWITCHES): Add descriptions.
6705 (SUBTARGET_OPTIONS): Likewise.
6707 * rs6000.md: Fix compile time warnings.
6709 2000-01-04 Geoff Keating <geoffk@cygnus.com>
6711 vxworks patches from the Cygnus tree originally by
6712 Michael Meissner <meissner@cygnus.com> and Vladimir Makarov
6713 <vmakarov@cygnus.com>.
6714 * sysv4.h (SUBTARGET_SWITCHES): Add vxworks.
6715 (ENDFILE_SPEC): Likewise.
6716 (LIB_VXWORKS_SPEC): New macro.
6717 (STARTFILE_VXWORKS_SPEC): New macro.
6718 (ENDFILE_VXWORKS_SPEC): New macro.
6719 (LINK_START_VXWORKS_SPEC): New macro.
6720 (LINK_OS_VXWORKS_SPEC): New macro.
6721 (CPP_OS_VXWORKS_SPEC): New macro.
6722 (SUBTARGET_EXTRA_SPECS): Add all the vxworks specs.
6723 * vxppc.h: Rewrite to use proper configuration method.
6724 * vxppcle.h: New file.
6725 * ../../configure.in: Add powerpcle-wrs-vxworks*.
6726 * ../../configure: Rebuilt.
6728 2000-01-04 Geoff Keating <geoffk@cygnus.com>
6730 Lots of changes to rs6000.h, sysv4.h, aix.h,
6731 aix31.h, aix3newas.h, aix41.h, aix43.h, beos.h,
6732 with the aim that rs6000.h is the first header
6733 included and the others override it.
6736 * x-aix41-gld: Remove.
6738 * x-aix41: Remove target-specific switches, and don't specify
6739 -Wl,-bbigtoc as we don't need it any more.
6740 * ../../configure.in: Use x-aix41 for ppc AIX 4.1 and above.
6741 Use t-aix43 for AIX 4.3 and above.
6742 * ../../configure: Regenerated.
6744 * rs6000.h (TARGET_SWITCHES): Add some initial prolog-scheduling
6745 options, that don't do anything yet.
6746 (MASK_SCHED_PROLOG): New macro.
6747 (MASK_SCHED_EPILOG): New macro.
6748 (TARGET_SCHED_PROLOG): New macro.
6749 (TARGET_SCHED_EPILOG): New macro.
6751 2000-01-04 Geoff Keating <geoffk@cygnus.com>
6753 * rs6000.c: Correct comment, the `minimal' TOCs are actually
6754 one per translation unit, not one per function.
6755 (output_toc): Also do duplicate constant elimination
6756 for per-translation-unit TOCs.
6758 * rs6000.md (nonlocal_goto_receiver): Put it back as before. Add
6759 a comment explaining _exactly_ when this pattern gets used.
6760 (builtin_setjmp_receiver): New pattern for better clarity.
6761 (init_v4_pic): Move it into a section dealing with TOC registers.
6763 1999-12-30 Geoff Keating <geoffk@cygnus.com>
6765 * rs6000.c (toc_hash_table): New variable.
6766 (rs6000_hash_constant): New function.
6767 (toc_hash_function): New function.
6768 (toc_hash_eq): New function.
6769 (toc_hash_mark_entry): New function.
6770 (toc_hash_mark_table): New function.
6771 (output_toc): Don't output duplicate TOC entries in
6773 (rs6000_add_gc_roots): Add the hash table as a GC root.
6774 * t-aix43: Move AR_FOR_TARGET and CLIB here from x-aix43,
6775 where they clearly shouldn't be. This may need to be fixed
6776 later when there is a GNU ar for AIX.
6777 * x-aix43: Don't define CLIB or AR_FOR_TARGET.
6778 Don't define BOOT_LDFLAGS as it is now not necessary.
6780 1999-12-29 Geoff Keating <geoffk@cygnus.com>
6782 * rs6000.c (rs6000_build_va_list): Use 'char *' rather than 'void *'
6783 for va_list on AIX. Use unsigned_char_type_node rather than
6784 constructing our own version on svr4.
6786 1999-12-17 Geoff Keating <geoffk@cygnus.com>
6788 * tramp.asm (__trampoline_size): Delete CYGNUS LOCAL comment,
6789 since patently it's not.
6791 1999-12-08 Geoff Keating <geoffk@cygnus.com>
6793 * config/rs6000/rs6000.md (nonlocal_goto_receiver): Turn into
6794 define_expand/define_insn pair, and handle restore of the
6795 SVR4 -fpic register.
6797 Wed Mar 15 15:43:38 2000 Jeffrey A Law (law@cygnus.com)
6799 * acconfig.h (HAVE_GAS_WEAK): New define.
6800 * configure.in (assembler weak support): Check for .weak support.
6801 * config.in, configure: Rebuilt.
6802 * pa/som.h (MAKE_DECL_ONE_ONLY, ASM_WEAKEN_LABEL): Only define if
6803 HAVE_GAS_WEAK is defined.
6805 2000-03-15 Nick Clifton <nickc@cygnus.com>
6807 * config/arm/arm.c (arm_output_epilogue): Do not pass %c to
6810 2000-03-15 Zack Weinberg <zack@wolery.cumb.org>
6812 * cppfiles.c (open_include_file): New function.
6813 (find_include_file, cpp_read_file): Use it.
6815 2000-03-15 Jason Merrill <jason@casey.cygnus.com>
6817 * cpphash.c (dump_hash_helper): Take the slot, not the element.
6819 Wed Mar 15 14:28:54 2000 Jason Eckhardt <jle@cygnus.com>
6821 * flow.c (verify_flow_info): Check for unconditional return.
6823 Wed Mar 15 11:34:27 2000 Jim Wilson <wilson@cygnus.com>
6825 * config/ia64/ia64.md (restore_stack_nonlocal): New.
6826 * config/ia64/lib1funcs.asm (__ia64_nonlocal_goto): Delete padding nop.
6827 (__ia64_restore_stack_nonlocal): New.
6828 * config/ia64/t-ia64 (LIB1ASMFUNCS): Add __restore_stack_nonlocal.
6830 2000-03-15 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
6832 * cpphash.c (collect_formal_parameters): Do not complain about
6833 parameter names that just start with `__VA_ARGS__'.
6835 Wed Mar 15 13:26:58 MET 2000 Jan Hubicka <jh@suse.cz>
6837 * i386.md (movhi_1): Promote movw imm, reg to movl imm, reg and
6838 movw reg, reg to movzwl reg, reg on PARTIAL_REGISTER_STALL machines.
6839 * i386.c (pentiumpro_cost): Set mul cost to 4.
6840 (x86_use_movx): Set for PPro.
6842 Wed Mar 15 13:07:05 MET 2000 Jan Hubicka <jh@suse.cz>
6844 * i386.md (ix86_compute_frame_size): stack_alignment_needed is
6845 STACK_BOUNDARY for empty frames now.
6847 2000-03-14 Mark Mitchell <mark@codesourcery.com>
6849 * stor-layout.c (layout_union): Remove.
6850 (layout_union_field): New function, split out from layout_union.
6851 (finish_union_layout): Likewise.
6852 (layout_field): Handle unions by calling layout_union_field.
6853 (finish_record_layout): Handle unions.
6854 (layout_type): Combine RECORD_TYPE, UNION_TYPE, and
6855 QUAL_UNION_TYPE handling.
6857 Wed Feb 23 13:00:06 CET 2000 Jan Hubicka <jh@suse.cz>
6859 * flow.c (fixup_reorder_chain): Avoid double labels in the basic block;
6860 end of basic block is jump_insn, not barrier; use create_basic_block
6861 instead of creating basic block by hand.
6863 2000-03-14 Jason Eckhardt <jle@cygnus.com>
6865 * flow.c (reorder_basic_blocks): Account for barriers when writing
6866 over NEXT_INSN (last_bb->end).
6867 (verify_flow_info): Add check for missing barriers.
6869 2000-03-14 Greg McGary <gkm@gnu.org>
6871 * c-lex.h (enum rid): Add RID_BOUNDED & RID_UNBOUNDED.
6872 * c-lex.c (init_lex): Handle RID_BOUNDED & RID_UNBOUNDED.
6873 * c-parse.gperf (__bounded, __bounded__, __ptrbase, __ptrbase__,
6874 __ptrextent, __ptrextent__, __ptrvalue, __ptrvalue__,
6875 __unbounded, __unbounded__): New keywords.
6876 * c-parse.in (PTR_VALUE PTR_BASE PTR_EXTENT): New tokens.
6877 * c-parse.y, c-parse.c, c-parse.h: Regenerate.
6878 * objc/objc-parse.y, objc/objc-parse.c: Regenerate.
6880 2000-03-14 Bernd Schmidt <bernds@cygnus.co.uk>
6882 * cselib.h: New file.
6883 * alias.c: Include "cselib.h".
6884 (fixed_scalar_and_varying_struct_p): Accept the addresses of the
6885 MEMs as two new arguments.
6886 (get_addr): New static function.
6887 (find_base_term): Handle VALUEs.
6888 (memrefs_conflict_p): Likewise.
6889 (true_dependence): Call get_addr on the addresses.
6890 Call fixed_scalar_and_varying_struct_p with addresses that have been
6891 passed through get_addr and canon_rtx.
6892 (write_dependence_p): Move DIFFERENT_ALIAS_SETS_P test for consistency
6893 with true_dependence.
6894 Call get_addr on the addresses; don't call canon_rtx on the MEMs.
6895 * loop.c: Include "cselib.h".
6896 (load_mems): Process extended basic block that enters the loop with
6897 cselib. Use that information to change initialization of the shadow
6898 register so that a constant equivalence is seen by later passes.
6899 * reload1.c: Include "cselib.h".
6900 (reload_cse_invalidate_regno): Delete function.
6901 (reload_cse_mem_conflict_p): Likewise.
6902 (reload_cse_invalidate_mem): Likewise.
6903 (reload_cse_invalidate_rtx): Likewise.
6904 (reload_cse_regno_equal_p): Likewise.
6905 (reload_cse_check_clobber): Likewise.
6906 (reload_cse_record_set): Likewise.
6907 (reg_values): Delete static variable.
6908 (invalidate_regno_rtx): Likewise.
6909 (reload_cse_delete_noop_set): New static function.
6910 (reload_cse_simplify): New static function, broken out of
6912 (reload_cse_noop_set_p): Delete unused argument INSN.
6913 Just call rtx_equal_for_cselib_p on set source and destination.
6914 (reload_cse_regs_1): Break out some code into reload_cse_simplify and
6915 reload_cse_delete_noop_set. Delete code to keep track of values; use
6916 cselib functions instead. Delete code to push/pop obstacks.
6917 (reload_cse_simplify_set): Use cselib to find equivalent values.
6918 Delete code to push/pop obstacks.
6919 (reload_cse_simplify_operands): Likewise.
6920 * rtl.def (VALUE): New rtx code.
6921 * rtl.h (union rtunion_def): New elt rt_cselib.
6922 (X0CSELIB, CSELIB_VAL_PTR): New macros.
6923 * simplify_rtx.c: Include "ggc.h", "obstack.h", "cselib.h".
6924 (new_elt_list, new_elt_loc_list, unchain_one_value, clear_table,
6925 unchain_one_elt_list, unchain_one_elt_loc_list, check_useless_values,
6926 discard_useless_locs, discard_useless_values, entry_and_rtx_equal_p,
6927 hash_rtx, new_cselib_val, add_mem_for_addr, get_value_hash,
6928 cselib_lookup_mem, cselib_subst_to_values, cselib_invalidate_regno,
6929 cselib_mem_conflict_p, cselib_invalidate_mem, cselib_invalidate_rtx,
6930 cselib_record_set, cselib_record_sets): New static functions.
6931 (cselib_lookup, cselib_update_varray_sizes, cselib_init,
6932 cselib_finish, cselib_process_insn, rtx_equal_for_cselib_p,
6933 references_value_p): New functions.
6934 (MAX_USELESS_VALUES, REG_VALUES): New macros.
6935 (table, cselib_current_insn, next_unknown_value, cselib_nregs,
6936 n_useless_values, reg_values, callmem, cselib_obstack,
6937 cselib_startobj, empty_vals, empty_elt_lists, empty_elt_loc_lists):
6938 New static variables.
6939 * varray.h (union varray_data_tag): New elt te.
6940 (VARRAY_ELT_LIST_INIT, VARRAY_ELT_LIST): New macros.
6941 * Makefile.in (reload1.o, loop.o, simplify-rtx.o, alias.o): Update
6944 2000-03-14 Nick Clifton <nickc@cygnus.com>
6946 * gcc.c (do_spec_1): Catch the case where %* is used in a
6947 substitution pattern, but it has not been initialised.
6948 Issue a meaningful error message if an unrecognised operator
6949 is encountered in a spec string.
6951 2000-03-14 Richard Earnshaw <rearnsha@arm.com>
6953 * function.c (prepare_function_start): Correctly initialize
6954 cfun->stack_alignment_needed.
6956 2000-03-14 Zack Weinberg <zack@wolery.cumb.org>
6958 * cppfiles.c (find_include_file): Don't assume nshort is a
6961 Tue Mar 14 08:42:21 2000 Jeffrey A Law (law@cygnus.com)
6963 * configure.in (hppa configurations): Add pa32-regs.h to the
6964 list of tm files as appropriate.
6965 * configure: Rebuilt.
6966 * pa.c (compute_frame_size): Remove explicit knowledge about FP
6968 (hppa_expand_prologue, hppa_expand_epilogue): Likewise.
6969 (fmpyaddoperands, fmpysuboperands): Likewise.
6970 * pa.h: Remove various definitions which depend on knowing
6971 how registers are numbered.
6972 * pa32-regs.h: New file with PA32 register numbering specific
6975 2000-03-14 Richard Henderson <rth@cygnus.com>
6977 * regmove.c (combine_stack_adjustments): New.
6978 (stack_memref_p, single_set_for_csa): New.
6979 (free_csa_memlist, record_one_stack_memref): New.
6980 (try_apply_stack_adjustment): New.
6981 (combine_stack_adjustments_for_block): New.
6982 * rtl.h (combine_stack_adjustments): Declare.
6983 * toplev.c (rest_of_compilation): Call it.
6985 * i386.md: Revert 2000-01-16 change.
6987 2000-03-14 Martin v. Löwis <loewis@informatik.hu-berlin.de>
6989 * gccbug.in: Add web category, gcc specific classes.
6991 2000-03-14 Nathan Sidwell <nathan@codesourcery.com>
6993 * stor-layout.c (finalize_record_size): Fix typo.
6995 2000-03-14 Stan Shebs <shebs@apple.com>
6997 * c-typeck.c (c_alignof): Error on incomplete types.
6998 * extend.texi (Alignment): Document this.
7000 2000-03-13 Zack Weinberg <zack@wolery.cumb.org>
7002 * cppfiles.c: Include mkdeps.h.
7003 (find_include_file, read_include_file): Remove _cpp_ prefix
7004 from name, make static.
7005 (_cpp_execute_include): New function, broken out of
7008 * cpplib.c: Don't include mkdeps.h.
7009 (struct directive): Remove type field. Reorder entries. The
7010 function takes only one argument.
7011 (struct if_stack): Make type field an int.
7012 (directive_table): Rename to dtable. Generate it, the
7013 prototypes of the directive handlers, and the enum for the
7014 directive numbers, from a template macro.
7015 (do_ifndef, do_include_next, do_import): New functions.
7016 (do_define, do_include, do_endif, do_ifdef, do_if, do_else,
7017 do_undef, do_line, do_elif, do_error, do_pragma, do_warning,
7018 do_ident, do_assert, do_unassert, do_sccs): Take only one
7020 (do_sccs): Define always, but alter behavior based on
7022 (_cpp_handle_directive, consider_directive_while_skipping):
7023 Restructure for new directive table layout.
7025 (pass_thru_directive): Take a directive number, not a pointer
7026 to a struct directive.
7027 (parse_include): New function, broken out of do_include.
7028 (do_include, do_import, do_include_next): Use parse_include
7029 and _cpp_execute_include.
7030 (do_elif, do_else): Test for T_ELSE specifically when checking
7031 for #elif/#else after #else.
7032 (parse_ifdef): New function, broken out of do_ifdef.
7033 (validate_else): Expect a name arg without a leading #.
7034 (if_directive_name): Delete.
7035 (cpp_define, cpp_assert, cpp_undef, cpp_unassert): Call
7036 directive handlers with only one argument.
7038 * cpphash.h: Update prototypes.
7039 (enum node_type): Remove entries for directives.
7040 * Makefile.in: Update dependencies.
7042 * cpphash.c (dump_hash_helper): Only dump nodes of type
7043 T_MACRO. Emit a newline after each definition.
7045 2000-03-14 Martin v. Löwis <loewis@informatik.hu-berlin.de>
7047 * gccbug.in: New file.
7048 * configure.in (all_outputs): Add gccbug.
7049 * Makefile.in (install-common): Install gccbug.
7050 (GCCBUG_INSTALL_NAME): New variable.
7051 * configure: Rebuilt.
7053 2000-03-13 Jason Merrill <jason@casey.cygnus.com>
7055 * function.c (put_var_into_stack): Use type_for_mode to calculate
7056 part_type. Use MEM_SET_IN_STRUCT_P.
7057 * expr.c (store_field): Handle CONCAT.
7058 (store_constructor): Use fields_length.
7059 * tree.c (fields_length): New fn.
7060 * tree.h: Declare it.
7062 2000-03-13 Zack Weinberg <zack@wolery.cumb.org>
7064 * Makefile.in (LIBCPP_OBJS): Add cpplex.o.
7065 (cpplex.o): New target.
7066 * po/POTFILES.in: Add cpplex.c.
7068 * cpplex.c (_cpp_grow_token_buffer, null_cleanup,
7069 cpp_push_buffer, cpp_pop_buffer, cpp_scan_buffer,
7070 cpp_expand_to_buffer, cpp_buf_line_and_col, cpp_file_buffer,
7071 skip_block_comment, skip_line_comment, skip_comment,
7072 copy_comment, _cpp_skip_hspace, _cpp_skip_rest_of_line,
7073 _cpp_parse_name, skip_string, parse_string,
7074 _cpp_parse_assertion, cpp_get_token, cpp_get_non_space_token,
7075 _cpp_get_directive_token, find_position,
7076 _cpp_read_and_prescan, _cpp_init_input_buffer): Move here.
7077 (maybe_macroexpand, _cpp_lex_token): New functions.
7079 * cpplib.c (SKIP_WHITE_SPACE, eval_if_expr, parse_set_mark,
7080 parse_goto_mark): Delete.
7081 (_cpp_handle_eof): New function.
7082 (_cpp_handle_directive): Rename from handle_directive.
7083 (_cpp_output_line_command): Rename from output_line_command.
7084 (do_if, do_elif): Call _cpp_parse_expr directly.
7085 * cppfiles.c (_cpp_read_include_file): Don't call
7086 init_input_buffer here.
7087 * cpphash.c (quote_string): Move here, rename _cpp_quote_string.
7088 * cppexp.c (_cpp_parse_expr): Diddle parsing_if_directive
7089 here; pop the token_buffer and skip the rest of the line here.
7090 * cppinit.c (cpp_start_read): Call _cpp_init_input_buffer
7093 * cpphash.h (CPP_RESERVE, CPP_IS_MACRO_BUFFER, ACTIVE_MARK_P):
7095 (CPP_SET_BUF_MARK, CPP_GOTO_BUF_MARK, CPP_SET_MARK,
7096 CPP_GOTO_MARK): New macros.
7097 (_cpp_quote_string, _cpp_parse_name, _cpp_skip_rest_of_line,
7098 _cpp_skip_hspace, _cpp_parse_assertion, _cpp_lex_token,
7099 _cpp_read_and_prescan, _cpp_init_input_buffer,
7100 _cpp_grow_token_buffer, _cpp_get_directive_token,
7101 _cpp_handle_directive, _cpp_handle_eof,
7102 _cpp_output_line_command): Prototype them here.
7103 * cpplib.h (enum cpp_token): Add CPP_MACRO.
7104 (CPP_RESERVE, get_directive_token, cpp_grow_buffer,
7105 quote_string, output_line_command): Remove.
7107 2000-03-13 Bernd Schmidt <bernds@cygnus.co.uk>
7109 * stmt.c (expand_end_case): RANGE may be signed, and when checking
7110 whether it is too large we must also verify that it isn't negative.
7112 2000-03-13 Jakub Jelinek <jakub@redhat.com>
7114 * config/sparc/sparc.md: Remove all traces of TARGET_LIVE_G0.
7115 (movsi_zero_liveg0): Remove.
7116 (movsf_insn_novis_liveg0): Remove.
7118 (negsi2_not_liveg0): Rename to negsi2.
7119 (one_cmplsi2): Remove.
7120 (one_cmplsi2_not_liveg0): Rename to one_cmplsi2.
7121 (one_cmplsi2_liveg0): Remove.
7122 * config/sparc/sparc.h (TARGET_LIVE_G0, TARGET_BROKEN_SAVERESTORE,
7123 MASK_LIVE_G0, MASK_BROKEN_SAVERESTORE): Remove.
7124 (CONDITIONAL_REGISTER_USAGE): Remove TARGET_LIVE_G0 if.
7125 (PREDICATE_CODES): Remove zero_operand.
7126 * config/sparc/sparc.c: Remove all traces of TARGET_LIVE_G0 and
7127 TARGET_BROKEN_SAVERESTORE.
7128 (zero_operand): Remove.
7129 * config/sparc/splet.h (SUBTARGET_SWITCHES): Remove -mlive-g0,
7130 -mno-live-g0, -mbroken-saverestore and -mno-broken-saverestore
7132 (SUBTARGET_OVERRIDE_OPTIONS): Remove.
7133 * config/sparc/linux-aout.h (TARGET_LIVE_G0,
7134 TARGET_BROKEN_SAVERESTORE): Remove.
7135 * config/sparc/linux.h (TARGET_LIVE_G0, TARGET_BROKEN_SAVERESTORE):
7137 * config/sparc/linux64.h (TARGET_LIVE_G0, TARGET_BROKEN_SAVERESTORE):
7139 * config/sparc/sol2.h (TARGET_LIVE_G0, TARGET_BROKEN_SAVERESTORE):
7142 * config/sparc/sparc.md (return_df_no_fpu): New pattern.
7144 2000-03-13 Zack Weinberg <zack@wolery.cumb.org>
7146 * cpplib.c (do_pragma_implementation): Fix off-by-one error
7147 truncating a string. Don't assume tokens are nul terminated.
7148 Problem noted by Andreas Jaeger <aj@suse.de>
7150 2000-03-13 Jason Merrill <jason@casey.cygnus.com>
7152 * dwarf2out.c (add_name_and_src_coords_attributes): Only add
7153 DW_AT_MIPS_linkage_name for TREE_PUBLIC decls.
7154 (ASM_OUTPUT_DWARF_ADDR_CONST): Don't output trailing newline.
7156 2000-03-13 Richard Earnshaw <rearnsha@arm.com>
7158 * stor-layout.c (new_record_layout_info): Fix typo inside ifdef
7159 STRUCTURE_SIZE_BOUNDARY.
7161 2000-03-13 Mark Mitchell <mark@codesourcery.com>
7163 * tree.h (record_layout_info_s): New structure.
7164 (record_layout_info): New type.
7165 (new_record_layout_info): New function.
7166 (layout_field): Likewise.
7167 (finish_record_layout): Likewise.
7168 * stor-layout.c (layout_record): Remove.
7169 (new_record_layout_info): New function.
7170 (layout_field): New function, broken out from layout_record.
7171 (finalize_record_size): Likewise.
7172 (compute_record_mode): Likewise.
7173 (finalize_type_size): New function, broken out from layout_type.
7174 (finish_record_layout): Likewise.
7175 (layout_type): Use them.
7177 2000-03-12 Zack Weinberg <zack@wolery.cumb.org>
7179 * cpphash.c: Don't include version.h.
7180 (special_symbol) [case T_VERSION]: Look for the string in
7181 hp->value.cpval; don't use version_string.
7182 * cppinit.c (initialize_builtins): Set hp->value.cpval for
7183 __VERSION__ to version_string.
7184 * Makefile.in (cpphash.o): Update deps.
7186 2000-03-12 Zack Weinberg <zack@wolery.cumb.org>
7188 Convert cpplib to use libiberty/hashtab.c.
7190 * cpplib.h (struct cpp_reader): Make hashtab and
7191 all_include_files of type 'struct htab *'. Delete HASHSIZE
7192 and ALL_INCLUDE_HASHSIZE macros.
7194 * cpphash.h: Update prototypes.
7195 (struct hashnode): Remove next, prev, and bucket_hdr members.
7196 Make length a size_t. Add hash member.
7197 (struct ihash): Remove next member. Add hash member. Make
7198 name a flexible array member.
7200 * cppfiles.c: Include hashtab.h.
7201 (include_hash): Delete.
7202 (IHASHSIZE): New macro.
7203 (hash_IHASH, eq_IHASH, _cpp_init_include_hash): New functions.
7204 (cpp_included): Do the hash lookup here.
7205 (_cpp_find_include_file): Rewrite.
7206 (cpp_read_file): Put the "fake" hash entry into the hash
7207 table. Honor the control_macro, if it turns out we've seen
7208 the file before. Don't push the buffer here.
7209 (_cpp_read_include_file): Push the buffer here.
7210 (OMODES): New macro. Use it whenever we call open(2).
7212 * cpphash.c: Include hashtab.h.
7213 (hash_HASHNODE, eq_HASHNODE, del_HASHNODE, dump_hash_helper,
7214 _cpp_init_macro_hash, _cpp_dump_macro_hash, _cpp_make_hashnode,
7215 _cpp_lookup_slot): New functions.
7216 (HASHSIZE): new macro.
7217 (hashf, _cpp_install, _cpp_delete_macro): Delete.
7218 (_cpp_lookup): Use hashtab.h routines.
7220 * cppinit.c: Include hashtab.h.
7221 (cpp_reader_init): Call _cpp_init_macro_hash and
7222 _cpp_init_include_hash. Don't allocate hashtab directly.
7223 (cpp_cleanup): Just call htab_delete on pfile->hashtab and
7224 pfile->all_include_files.
7225 (initialize_builtins): Use _cpp_make_hashnode and
7226 htab_find_slot to add hash entries.
7227 (cpp_finish): Just call _cpp_dump_macro_hash.
7228 * cpplib.c: Include hashtab.h.
7229 (do_define): Use _cpp_lookup_slot and _cpp_make_hashnode to
7230 create hash entries.
7231 (do_pragma_poison, do_assert): Likewise.
7232 (do_include): Don't push the buffer here. Don't increment
7233 system_include_depth unless _cpp_read_include_file succeeds.
7234 (do_undef, do_unassert): Use _cpp_lookup_slot and htab_clear_slot
7236 (do_pragma_implementation): Use alloca to create copy.
7238 * Makefile.in: Update dependencies.
7240 2000-03-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
7242 * cppinit.c (cl_directive_handler): More K&R fixing.
7244 Sat Mar 11 23:54:26 2000 Jim Wilson <wilson@cygnus.com>
7246 * config/ia64/ia64.c (ia64_compute_frame_size): Align size to
7248 * config/ia64/ia64.h (REGISTER_MOVE_COST): Add missing parentheses.
7250 2000-03-11 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
7252 * cppinit.c (no_arg, no_ass, no_dir, no_fil, no_mac, no_pth):
7253 Change from char[] to macros.
7255 2000-03-12 Neil Booth <NeilB@earthling.net>
7257 * cppinit.c (cpp_start_read): Update indirect function
7260 Sat Mar 11 16:18:12 2000 Jim Wilson <wilson@cygnus.com>
7262 * config/ia64/ia64.h (ADDITIONAL_REGISTER_NAMES): Fix typo in loc79
7265 * config/ia64/ia64-protos.h, config/ia64/ia64.c, config/ia64/ia64.h,
7266 config/ia64/ia64.md, config/ia64/xm-ia64.h: Fix copyright messages.
7268 2000-03-11 Neil Booth <NeilB@earthling.net>
7270 * cppinit.c (struct pending option): Replace undef with a
7271 pointer to a directive handling routine.
7272 (struct cpp_pending): Replace separate assert_ and define_
7273 lists with one directive_ list.
7274 (new_pending_define): Rename new_pending_directive. Extra
7275 argument is the directive's handling routine.
7276 (handle_option): Update to use new_pending_directive.
7278 2000-03-11 Neil Booth <NeilB@earthling.net>
7280 * cppfiles.c (file_cleanup, _cpp_find_include_file,
7281 remap_filename, _cpp_read_include_file, actual_directory,
7282 hack_vms_include_specification): Replace bcopy(), index() etc
7283 calls. Add casts to some allocations. Make some variables
7284 pointers to const [unsigned] char.
7285 * cpphash.c (_cpp_install, macro_cleanup, collect_expansion,
7286 collect_formal_parameters): Similarly.
7287 * cppinit.c (struct pending_option, append_include_chain,
7288 cpp_options_init, cpp_reader_init, initialize_standard_includes,
7289 cpp_start_read, new_pending_define, handle_option): Similarly.
7290 * cpplib.c (cpp_define, copy_comment, do_define, do_include,
7291 do_undef, do_error, do_warning, do_pragma, do_pragma_once,
7292 do_pragma_implementation, detect_if_not_defined,
7293 do_ifdef, skip_if_group, cpp_get_token, parse_string,
7294 do_assert, do_unassert): Similarly.
7295 * cpplib.h (cpp_buffer, cpp_options): Update types. Update
7296 function prototypes.
7297 * mkdeps.c (deps_add_target, deps_add_dep): cast allocations.
7299 2000-03-10 Richard Henderson <rth@cygnus.com>
7301 * builtins.c (expand_builtin_strlen): Revert last change.
7302 Use emit_insn_before if we're at the beginning of a sequence.
7304 2000-03-10 Jason Merrill <jason@casey.cygnus.com>
7306 * builtins.c (expand_builtin_strlen): Make sure that we have something
7307 at the beginning of the sequence.
7309 * toplev.c (rest_of_compilation): Also set TREE_NOTHROW for
7312 * invoke.texi (C++ Dialect Options): Document -fno-enforce-eh-specs.
7314 2000-03-10 Richard Henderson <rth@cygnus.com>
7316 * except.c (can_throw): Use INTVAL on a CONST_INT.
7317 (reachable_handlers): Likewise.
7318 * flow.c (count_basic_blocks, find_basic_blocks_1): Likewise.
7320 2000-03-10 Andreas Jaeger <aj@suse.de>
7322 * config/mips/linux.h: Undefine MD_EXEC_PREFIX and
7323 MD_STARTFILE_PREFIX since those are not needed on linux.
7324 (ASM_FILE_START): New, from mips/gnu.h.
7326 2000-03-09 Richard Henderson <rth@cygnus.com>
7327 Alex Samuel <samuel@codesourcery.com> and others
7329 * Makefile.in (ssa.o): New rule.
7331 (STAGESTUFF): Add *.ssa and *.ussa.
7332 (mostlyclean): Delete *.ssa, *.ussa, */*.ssa, */*.ussa.
7333 * rtl.def (PHI): New RTL expression.
7334 * rtl.h (clear_log_links): New declaration.
7335 (convert_to_ssa): Likewise.
7336 (convert_from_ssa): Likewise.
7337 * flow.c (split_edge): If the entry node falls through to the
7338 split edge's source block, split the entry edge.
7339 (clear_log_links): New function.
7340 * toplev.c (ssa_dump): New variable.
7341 (flag_ssa): Likewise.
7342 (f_options): Add "ssa".
7343 (compile_file): Create SSA dump files.
7344 (rest_of_compilation): Go to and from SSA if enabled.
7345 (decide_d_option): Handle -de for SSA dump files.
7348 Thu Mar 9 20:01:38 2000 Jim Wilson <wilson@cygnus.com>
7350 * expr.c (expand_assignment): For a CALL_EXPR, special case PARM_DECL
7353 2000-03-09 Benjamin Kosnik <bkoz@cygnus.com>
7355 * config/alpha/linux.h (WCHAR_TYPE): Make consistent.
7357 Thu Mar 9 18:10:02 2000 Jeffrey A Law (law@cygnus.com)
7359 * config/pa/pa-hpux10.h (LIB_SPEC): Correct typo in !p case.
7360 (MD_STARTFILE_PREFIX_1): New macro.
7362 2000-03-09 Robert Lipe <robertl@sco.com>
7364 * config/ia64/ia64.c: Include system.h.
7366 2000-03-09 Jason Merrill <jason@casey.cygnus.com>
7368 * except.c (nothrow_function_p): If -fno-exceptions, just return.
7369 (init_eh_nesting_info): Likewise.
7371 * tree.h (struct tree_common): Rename raises_flag to nothrow_flag.
7372 (TREE_NOTHROW): Rename from TREE_RAISES.
7373 * toplev.c (rest_of_compilation): Set it.
7374 * print-tree.c (print_node): Adjust.
7375 * tree.c (stabilize_reference, build, build1): Don't set TREE_RAISES.
7376 (stabilize_reference_1, get_unwidened, get_narrower): Likewise.
7377 * calls.c (emit_call_1): Add 'nothrow' parm. Add
7378 REG_EH_REGION note as appropriate.
7379 (libfunc_nothrow): New fn.
7380 (emit_library_call, emit_library_call_value): Use it.
7381 (expand_call): Check TREE_NOTHROW.
7383 * varasm.c (make_decl_rtl): Skip initial '*' when setting
7384 DECL_ASSEMBLER_NAME.
7386 2000-03-09 Andreas Jaeger <aj@suse.de>
7388 * mips/linux.h (NO_IMPLICIT_EXTERN_C): Define.
7389 (TARGET_MEM_FUNCTIONS): Define.
7391 2000-03-09 Jason Merrill <jason@casey.cygnus.com>
7393 * i386.c (ix86_valid_type_attribute_p): Use compare_tree_int.
7395 * except.c (can_throw): See through a SEQUENCE.
7396 (nothrow_function_p): New fn.
7397 * except.h: Declare it.
7398 * function.c (current_function_nothrow): New var.
7399 (prepare_function_start): Initialize it.
7400 * output.h: Declare it.
7401 * toplev.c (rest_of_compilation): Set it.
7402 * dwarf2out.c (dwarf2out_begin_prologue): Use it.
7404 2000-03-09 Zack Weinberg <zack@wolery.cumb.org>
7406 * cpphash.c (collect_formal_parameters): strncmp returns 0 for
7407 match. (cpp_compare_defs): Count the nul separator when
7408 advancing over argument names.
7410 2000-03-09 Bernd Schmidt <bernds@cygnus.co.uk>
7412 * recog.c (preprocess_constraints): Matching constraints affect
7413 same alternative/different operand, not same operand/different
7416 * reload1.c (eliminate_regs_in_insn): Handle additions of eliminable
7417 register and a constant specially.
7419 2000-03-08 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
7421 * libgcc2.h: New file.
7422 * libgcc2.c: Move macros, typedefs and prototypes to libgcc2.h.
7424 Wed Mar 8 16:19:42 2000 Jim Wilson <wilson@cygnus.com>
7426 * configure.in (ia64*-*-elf*, ia64*-*-linux*): New.
7427 * configure: Regenerate.
7430 2000-03-08 Zack Weinberg <zack@wolery.cumb.org>
7432 * Makefile.in (LIBCPP_DEPS): New macro.
7433 (cpplib.o, cpphash.o, cpperror.o, cppexp.o, cppfiles.o): Use
7435 * cpperror.c: Include cpphash.h.
7436 * cppexp.c: Include cpphash.h. Remove MULTIBYTE_CHARS
7438 (lex): Don't use CPP_WARN_UNDEF.
7439 (_cpp_parse_expr): Return an int, the truth value.
7440 * cppfiles.c: Include cpphash.h.
7441 (_cpp_merge_include_chains): Move to cppinit.c and make static.
7442 * cppinit.c (include_defaults_array): Disentangle.
7443 (cpp_cleanup): Don't free the if stack here.
7444 (cpp_finish): Pop off all buffers, not just one.
7445 * cpplib.c (eval_if_expr): Return int.
7446 (do_xifdef): Rename do_ifdef.
7447 (handle_directive): Don't use CPP_PREPROCESSED.
7448 (cpp_get_token): Don't use CPP_C89.
7449 * fix-header.c: Don't use CPP_OPTIONS.
7451 * cpplib.h: Move U_CHAR, enum node_type, struct
7452 file_name_list, struct ihash, is_idchar, is_idstart,
7453 is_numchar, is_numstart, is_hspace, is_space, CPP_BUF_PEEK,
7454 CPP_BUF_GET, CPP_FORWARD, CPP_PUTS, CPP_PUTS_Q, CPP_PUTC,
7455 CPP_PUTC_Q, CPP_NUL_TERMINATE, CPP_NUL_TERMINATE_Q,
7456 CPP_BUMP_BUFFER_LINE, CPP_BUMP_LINE, CPP_PREV_BUFFER,
7457 CPP_PRINT_DEPS, CPP_TRADITIONAL, CPP_PEDANTIC, and prototypes
7458 of _cpp_simplify_pathname, _cpp_find_include_file,
7459 _cpp_read_include_file, and _cpp_parse_expr to cpphash.h.
7460 Move struct if_stack to cpplib.c. Move struct cpp_pending to
7462 Change all uses of U_CHAR to be unsigned char instead.
7463 Delete CPP_WARN_UNDEF, CPP_C89, and CPP_PREPROCESSED.
7465 2000-03-08 Jason Merrill <jason@casey.cygnus.com>
7467 * dwarf2out.c (dw_fde_struct): Add 'nothrow'.
7468 (dwarf2out_begin_prologue): Set it.
7469 (output_call_frame_info): Don't emit EH unwind info for leaves.
7471 * flow.c (count_basic_blocks, find_basic_blocks_1): A rethrow
7472 can occur outside of an EH region.
7473 * except.c: Correct comments about rethrow behavior.
7474 (rethrow_symbol_map): Do nothing if !flag_new_exceptions.
7476 2000-03-08 Andrew MacLeod <amacleod@cygnus.com>
7478 * flow.c (make_edges): Always call make_eh_edge for calls.
7480 2000-03-08 Zack Weinberg <zack@wolery.cumb.org>
7482 * cpplib.h (parse_underflow_t, CPP_NULL_BUFFER): Delete.
7483 (struct cpp_buffer): Remove fname and underflow fields.
7484 (struct cpp_reader): Remove get_token field.
7485 (struct include_hash): Rename to struct ihash. Add typedef to
7487 (struct if_stack): Remove fname field.
7488 (IF_STACK_FRAME): Rename to IF_STACK.
7490 * cpperror.c (print_containing_files): Trust that there are no
7491 macro buffers below the top file buffer.
7492 * cppfiles.c: Replace all references to 'struct include_hash'
7493 with 'IHASH'. Rename initialize_input_buffer to
7494 init_input_buffer. Don't set or reference cpp_buffer->fname,
7495 use buffer->ihash->name instead.
7496 * cpphash.c (special_symbol): Use cpp_file_buffer. Use NULL
7497 not CPP_NULL_BUFFER.
7498 * cppinit.c: Use NULL not CPP_NULL_BUFFER, IF_STACK not
7499 IF_STACK_FRAME, IHASH not struct include_hash.
7500 * cpplib.c: Rename eval_if_expression to eval_if_expr. Remove
7501 null_underflow. Use IF_STACK not IF_STACK_FRAME, IHASH not
7502 struct include_hash, NULL not CPP_NULL_BUFFER. Remove all
7503 references to cpp_buffer->fname (delete entirely, or use
7504 ->ihash->name instead) and IF_STACK->fname.
7505 (cpp_push_buffer): Don't set new->underflow.
7506 (do_include): Use cpp_file_buffer.
7508 * cpphash.c (collect_formal_parameters): Remove duplicate
7509 increment of argslen. Pedwarn in C99 mode if __VA_ARGS__ is
7510 used as a macro argument name. Don't append "..." to namebuf
7511 for varargs macros. After we're done scanning, go through
7512 namebuf and make it NUL separated, not comma separated.
7513 (_cpp_compare_defs): Remove register tag from variables.
7514 Expect defn->argnames to be NUL separated.
7515 (_cpp_dump_definition): Expect defn->argnames to be NUL
7516 separated and in forward order.
7517 * cpphash.h: Update documentation of argnames field.
7519 2000-03-08 Richard Henderson <rth@cygnus.com>
7521 * builtins.c (expand_builtin_strlen): Be prepared for strlensi
7522 to fail. Don't pre-expand the source operand.
7524 * i386.md (strlensi): Initialize eoschar and align before use.
7526 2000-03-08 Jason Merrill <jason@casey.cygnus.com>
7528 * expr.c (expand_expr, case ARRAY_REF): Still check for missing
7529 CONSTRUCTOR element.
7531 2000-03-08 Gavin Romig-Koch <gavin@cetus.cygnus.com>
7533 * mips.c (mips_expand_prologue): If the last
7534 named argument is the vararg marker "va_list", treat it as
7535 an unnamed argument.
7537 2000-03-08 Clinton Popetz <cpopetz@cygnus.com>
7539 * dbxout.c (dbxout_parms): When correcting for promoted
7540 big-endian parameters, use the mode of the DECL_RTL rather
7541 than UNITS_PER_WORD.
7543 2000-03-08 Nathan Sidwell <nathan@codesourcery.com>
7545 * c-common.h (make_fname_decl): Declare.
7546 * c-common.c (make_fname_decl): Define.
7547 (declare_hidden_char_array): Remove.
7548 (declare_function_name): Use make_fname_decl.
7549 * c-decl.c (c_make_fname_decl): New function.
7550 (init_decl_processing): Set make_fname_decl.
7552 Tue Mar 7 23:50:31 2000 Jeffrey A Law (law@cygnus.com)
7554 * cccp.c (handle_directive): Initialize backslash_newlines_p.
7556 2000-03-07 Philipp Thomas <pthomas@suse.de>
7558 * po/POTFILES.in: Remove cppalloc.c from file list.
7560 2000-03-07 Steve Chamberlain <sac@pobox.com>
7562 * pj.c (pj_expand_prologue): current_function->args_info is
7563 now current_function_args_info.
7565 * pj.h (STORE_FLAG_VALUE, USER_LABEL_PREFIX,
7566 LOCAL_LABEL_PREFIX, ASM_GENERATE_INTERNAL_LABEL,
7567 ASM_OUTPUT_INTERNAL_LABEL, ASM_OUTPUT_SKIP): Define.
7569 2000-03-08 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
7571 * config/c4x/c4x.h (PUT_SDB_TYPE): Define so that the type info is
7572 output as hexadecimal rather than the default octal.
7574 2000-03-07 Zack Weinberg <zack@wolery.cumb.org>
7576 * cpphash.c (special_symbol): Fix thinko in previous commit.
7578 2000-03-07 Neil Booth <NeilB@earthling.net>
7580 * cppexp.c (struct operation, left_shift, right_shift,
7581 cpp_parse_expr): Change some "char"s to "U_CHAR"s, and some
7582 "int"s to "unsigned int"s.
7583 * cpplib.c (detect_if_not_defined, do_assert, do_unassert):
7585 * cpplib.h: Update for above.
7586 * mkdeps.c (deps_init, deps_calc_target): Cast pointers
7587 returned from allocations.
7589 * cppinit.c (opt_comp, parse_options): New functions.
7590 (handle_option): Use parse_option to parse a single command
7591 line option, that possibly takes an argument.
7592 (cpp_handle_options): Sort the array of command line options on
7593 first invocation (non-ASCII hosts only).
7594 (print_help): Update.
7596 2000-03-07 Zack Weinberg <zack@wolery.cumb.org>
7598 * mkdeps.c (munge): Fix off-by-one bug and inconsistencies in
7599 backslash counting loops. Problem noted by Matt Kraai <kraai@ghs.com>.
7601 * cppfiles.c (_cpp_find_include_file): Make sure ih->name is
7603 * cppinit.c (cpp_cleanup): Free imp->nshort also.
7605 * cpperror.c (cpp_print_containing_files,
7606 cpp_print_file_and_line, v_cpp_message): Rename to
7607 print_containing_files, print_file_and_line, and v_message.
7608 * cppexp.c (cpp_parse_expr, cpp_parse_escape, cpp_lex): Rename
7609 to _cpp_parse_expr, parse_escape, and lex.
7610 (parse_charconst): Remove broken multibyte support.
7611 * cppfiles.c (include_hash): Make static.
7612 (cpp_included): New function.
7613 (merge_include_chains, find_include_file, finclude,
7614 simplify_pathname): Rename to _cpp_merge_include_chains,
7615 _cpp_find_include_file, _cpp_read_include_file, and
7616 _cpp_simplify_pathname.
7617 * cpphash.c (cpp_lookup, free_definition, delete_macro,
7618 cpp_install, create_definition, macroexpand, compare_defs,
7619 dump_definition): Rename to _cpp_lookup, _cpp_free_definition,
7620 _cpp_delete_macro, _cpp_install, _cpp_create_definition,
7621 _cpp_macroexpand, _cpp_compare_defs, and _cpp_dump_definition.
7622 * cppinit.c (cpp_handle_option): Rename to handle_option, make
7624 * cpplib.c: Remove extern prototype of cpp_parse_expr.
7626 * cpphash.h: Update prototypes.
7627 * cpplib.h: Likewise. Prototype _cpp_parse_expr here.
7629 2000-03-07 Andrew Haley <aph@cygnus.com>
7631 * config/mips/mips.h (PTRDIFF_TYPE): Revert broken change;
7632 PTRDIFF_TYPE should be based solely on Pmode.
7635 2000-03-07 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
7637 * rtl.h (rtunion_def): Constify member `rtstr'.
7638 (emit_line_note_after, emit_line_note, emit_line_note_force,
7639 emit_note, decode_asm_operands): Constify.
7641 * cse.c (canon_hash): Likewise.
7643 * dbxout.c (dbxout_block): Likewise.
7645 * diagnostic.c (file_and_line_for_asm, v_error_for_asm,
7646 v_warning_for_asm): Likewise.
7648 * dwarfout.c (function_start_label): Likewise.
7650 * emit-rtl.c (emit_line_note_after, emit_line_note, emit_note,
7651 emit_line_note_force): Likewise.
7653 * final.c (last_filename, asm_insn_count, final_scan_insn,
7654 output_source_line): Likewise.
7656 * function.h (struct emit_status): Likewise.
7658 * gcse.c (hash_expr_1): Likewise.
7660 * genattr.c (gen_attr, main): Likewise.
7662 * genattrtab.c (struct function_unit, current_alternative_string,
7663 write_attr_valueq, n_comma_elts, next_comma_elt, attr_eq,
7664 attr_numeral, check_attr_test, check_attr_value,
7665 convert_set_attr_alternative, convert_set_attr,
7666 compute_alternative_mask, simplify_by_exploding, gen_attr,
7667 gen_unit): Likewise.
7669 * genflags.c (gen_insn): Likewise.
7671 * gengenrtl.c (type_from_format): Likewise.
7673 * genopinit.c (gen_insn): Likewise.
7675 * genoutput.c (n_occurrences, process_template, process_template):
7678 * ggc-page.c (ggc_set_mark, ggc_mark_if_gcable, ggc_get_size):
7681 * ggc-simple.c (ggc_set_mark, ggc_mark_if_gcable, ggc_get_size):
7684 * ggc.h (ggc_mark_string, ggc_mark, ggc_mark_if_gcable,
7685 ggc_set_mark, ggc_get_size): Likewise.
7687 * objc/objc-act.c (build_module_descriptor, finish_objc): Likewise.
7689 * optabs.c (init_one_libfunc): Likewise.
7691 * output.h (assemble_start_function): Likewise.
7693 * recog.c (decode_asm_operands): Likewise.
7695 * toplev.c (rest_of_compilation): Likewise.
7697 * tree.h (emit_line_note_after, emit_line_note,
7698 emit_line_note_force): Likewise.
7700 * varasm.c (asm_output_bss, asm_output_aligned_bss,
7701 asm_emit_uninitialised, assemble_start_function,
7702 assemble_variable, const_hash, compare_constant_1,
7703 find_pool_constant, mark_constant_pool, assemble_alias): Likewise.
7705 * xcoffout.h (DBX_FINISH_SYMBOL): Likewise.
7707 * alpha/alpha.md (call_vms, call_value_vms): Likewise.
7709 * arm/aof.h (ASM_OUTPUT_ASCII): Likewise.
7711 * arm/aout.h (ASM_OUTPUT_ASCII): Likewise.
7713 * arm/arm-protos.h (output_ascii_pseudo_op, arm_dllexport_name_p,
7714 arm_dllimport_name_p): Likewise.
7716 * arm/arm.c (arm_encode_call_attribute, output_ascii_pseudo_op):
7719 * arm/arm.h (ASM_OUTPUT_MI_THUNK): Likewise.
7721 * arm/elf.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
7723 * arm/pe.c (arm_dllexport_name_p, arm_dllimport_name_p,
7724 arm_mark_dllexport, arm_mark_dllimport,
7725 arm_pe_encode_section_info): Likewise.
7727 * arm/telf.h (ASM_OUTPUT_DEF_FROM_DECLS,
7728 ASM_FINISH_DECLARE_OBJECT): Likewise.
7730 * arm/thumb.c (thumb_function_prologue): Likewise.
7732 * arm/thumb.h (ASM_OUTPUT_ASCII): Likewise.
7734 * avr/avr.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
7736 * clipper/clix.h (ASM_OUTPUT_ASCII): Likewise.
7738 * fx80/fx80.h (ASM_OUTPUT_ASCII): Likewise.
7740 * i386/cygwin.h (ASM_OUTPUT_SECTION_NAME): Likewise.
7742 * i386/freebsd.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
7744 * i386/i386-interix.h (ASM_OUTPUT_LIMITED_STRING,
7745 ASM_OUTPUT_ASCII, ASM_OUTPUT_SECTION_NAME): Likewise.
7747 * i386/i386-protos.h (asm_output_function_prefix): Likewise.
7749 * i386/i386.c (asm_output_function_prefix): Likewise.
7751 * i386/i386elf.h (ASM_OUTPUT_ASCII): Likewise.
7753 * i386/osfrose.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
7755 * i386/ptx4-i.h (ASM_OUTPUT_ASCII): Likewise.
7757 * i386/sco5.h (ASM_FINISH_DECLARE_OBJECT,
7758 ASM_OUTPUT_LIMITED_STRING, ASM_OUTPUT_ASCII,
7759 ASM_OUTPUT_SECTION_NAME): Likewise.
7761 * i386/sysv4.h (ASM_OUTPUT_ASCII): Likewise.
7763 * i860/paragon.h (ASM_OUTPUT_ASCII): Likewise.
7765 * i860/sysv3.h (ASM_OUTPUT_ASCII): Likewise.
7767 * m32r/m32r.c (m32r_encode_section_info): Likewise.
7769 * mcore-elf.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
7771 * mcore/mcore.c (mcore_encode_section_info): Likewise.
7773 * mips/elf.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
7775 * mips/elf64.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
7777 * mips/iris6.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
7779 * mips/mips.h (ASM_OUTPUT_IDENT): Likewise.
7781 * mips/mips.md (movdi, movsi): Likewise.
7783 * mips/netbsd.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
7785 * netbsd.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
7787 * openbsd.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
7789 * ptx4.h (ASM_FINISH_DECLARE_OBJECT, ASM_OUTPUT_LIMITED_STRING,
7790 ASM_OUTPUT_ASCII): Likewise.
7792 * rs6000/rs6000.c (rs6000_allocate_stack_space, output_epilog,
7793 output_mi_thunk, output_toc): Likewise.
7795 * rs6000/rs6000.md (movsi): Likewise.
7797 * rs6000/sysv4.h (ASM_OUTPUT_INT, ASM_OUTPUT_SECTION_NAME): Likewise.
7799 * tahoe/harris.h (ASM_OUTPUT_ASCII): Likewise.
7801 * v850/v850.c (print_operand, print_operand_address,
7802 v850_encode_data_area): Likewise.
7804 2000-03-07 Clinton Popetz <cpopetz@cygnus.com>
7806 * config/mips/mips.md (zero_extendsidi2): Always force operand
7807 one to memory for mips16.
7809 Mon Mar 6 15:22:29 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
7811 * tree.h (INT_CST_LT, INT_CST_LT_UNSIGNED): Remove unneeded casts.
7812 (struct tree_int_cst): int_cst_low is now unsigned HOST_WIDE_INT.
7813 (attribute_hash_list, type_hash_canon): hashcode is now unsigned.
7814 (type_hash_lookup, type_hash_add, type_hash_list): Likewise.
7815 (min_precision): Result is unsigned.
7816 (add_double, neg_double, mul_double): Low word is unsigned.
7817 (lshift_double, rshift_double, lrotate_double): Likewise.
7818 (rrotate_double, div_and_round_double): Likewise.
7819 (tree_floor_log2, compare_tree_int): New functions.
7820 (preserve_rtl_expr_temps): New declaration.
7821 * c-common.c (declare_hidden_char_array): Use compare_tree_int.
7822 (decl_attributes): Use tree_log2 to find alignment.
7823 Check for TREE_INT_CST_HIGH for format args.
7824 (min_precision): Now unsigned.
7825 Use tree_floor_log2.
7826 (truthvalue_conversion): Delete long-disabled code.
7827 * c-decl.c (finish_struct): Clean up tests on field width.
7828 (finish_function): Use compare_tree_int.
7829 * c-pragma.c (handle_pragma_token): Use tree_log2 for alignment.
7830 * c-typeck.c (comptypes): Use tree_int_cst_equal.
7831 (default_conversion, digest_init): Use compare_tree_int.
7832 (build_binary_op): Use integer_all_onesp and compare_tree_int.
7833 Fix type errors in forming masks.
7834 * calls.c (initialize_argument_information): Use compare_tree_int.
7835 * dbxout.c (dbxout_type): Cast TREE_INT_CST_LOW to HOST_WIDE_INT.
7836 * except.c (expand_eh_region_start_tree): Use compare_tree_int.
7837 * expr.c (is_zeros_p, case INTEGER_CST): Use integer_zerop.
7838 (store_field): Use compare_tree_int.
7839 (expand_expr, case CONSTRUCTOR): Use TYPE_SIZE_UNIT.
7840 (expand_expr, case ARRAY_REF): Use compare_tree_int.
7841 (do_jump, case BIT_AND_EXPR): Use tree_floor_log2.
7842 (do_store_flag): Use compare_tree_int.
7843 * fold-const.c (encode, decode): Low part is always unsigned.
7844 (force_fit_type, add_double, neg_double, mul_double): Likewise.
7845 (lshift_double, rshift_double, lrotate_double): Likewise.
7846 (rrotate_double, div_and_round_double, int_const_binop): Likewise.
7847 (fold_convert): Use compare_tree_int.
7848 (operand_equal_p, case INTEGER_CST): Use tree_int_cst_equal.
7849 (invert_truthvalue, case INTEGER_CST): Likewise.
7850 (fold): Use compare_tree_int; add casts for unsigned TREE_INT_CST_LOW.
7851 * mkdeps.c (deps_dummy_targets): Make I unsigned.
7852 * rtl.h (add_double, neg_double, mul_double): Low words are unsigned.
7853 (lshift_double, rshift_double, lrotate_double, rrotate_double):
7855 * stmt.c (expand_decl): Use compare_tree_int and mode_for_size_tree.
7856 (expand_end_case): Use compare_tree_int.
7857 (estimate_case_costs): Cast TREE_INT_CST_LOW to HOST_WIDE_INT.
7858 * stor-layout.c (mode_for_size_tree): Use compare_tree_int.
7859 (layout_decl): Likewise.
7860 (layout_record, layout_union): Make sizes unsigned.
7861 (layout_type, case VOID_TYPE): TYPE_SIZE must be bitsizetype.
7862 (layout_type, case QUAL_UNION_TYPE): Use compare_tree_int.
7863 * tree.c (struct type_hash): hashcode is unsigned.
7864 (build_type_attribute_variant, type_hash_list): Likewise.
7865 (type_hash_lookup, type_hash_add, type_hash_canon): Likewise.
7866 (attribute_hash_list, build_array_type, build_method_type): Likewise.
7867 (build_complex_type): Likewise.
7868 (real_value_from_int_cst): Remove unneeded casts.
7869 (integer_all_onesp): Add casts.
7870 (tree_floor_log2, compare_tree_int): New functions.
7871 (build_index_type): Use tree_int_cst_sgn.
7872 * varasm.c (assemble_variable): Use compare_tree_int.
7874 2000-03-06 Jason Merrill <jason@casey.cygnus.com>
7876 * cpphash.c (collect_expansion): Also catch ## at start of macro.
7878 * varasm.c (make_decl_rtl): Don't add a number to members of
7880 (make_function_rtl): Likewise.
7882 2000-03-06 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
7884 * gcse.c (compute_can_copy): Adjust if/else blocks from rth's
7885 patch from 2000-01-28.
7887 2000-03-06 Clinton Popetz <cpopetz@cygnus.com>
7889 * config/sh/sh.c: (barrier_align): Handle a delay slot that is
7890 filled with an insn from the jump target.
7892 2000-03-07 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
7894 * config/c4x/c4x-protos.h (c4x_global_name): Constify char *.
7895 (c4x_external_ref): Likewise.
7896 * config/c4x/c4x.c (struct name_list): Likewise.
7898 1999-12-16 Ben Collins <bcollins@debian.org>
7900 * Makefile.in: Pass a new MULTILIB_EXCLUSIONS option as the sixth
7901 argument to genmultilib.
7902 * genmultilib: accept new MULTILIB_EXCLUSIONS option and output
7903 the contents into the multilib.h header.
7904 * gcc.c: Declare multilib_exclusions for the specs file.
7905 (set_multilib_dir): Use it.
7906 (print_multilib_info): Likewise.
7907 * t-linux64: Declare arguments for new MULTILIB_EXCLUSIONS option
7908 to pass to genmultilib.
7910 2000-03-06 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
7912 * builtins.c (built_in_class_names, built_in_names): Constify a
7915 * gmon-sol2.c (monstartup, moncontrol): Cast ptrs to long, not
7917 (_mcleanup): Ensure value matches format specifier in sprintf.
7919 * cpphash.c (special_symbol): Don't needlessly cast away
7922 * cppinit.c (base_name): Delete unused prototype.
7924 * mkdeps.c (deps_init): Make definition K&R safe.
7926 * tree.h (built_in_class_names, built_in_names): Constify a
7929 2000-03-06 Jakub Jelinek <jakub@redhat.com>
7931 * config/sparc/sparc.c (eligible_for_epilogue_delay): Accept
7932 floating point instructions for epilogue delay.
7934 * config/sparc/sparc.h (ASM_ARCH64_SPEC): Pass -no-undeclared-regs
7935 to gas if it supports .register pseudo.
7937 * real.h (MAX_LONG_DOUBLE_TYPE_SIZE): Define to
7938 LONG_DOUBLE_TYPE_SIZE if not defined.
7939 Use MAX_LONG_DOUBLE_TYPE_SIZE instead of
7940 LONG_DOUBLE_TYPE_SIZE in preprocessor if clauses.
7942 * gengenrtl.c: Likewise.
7943 * print-rtl.c: Likewise.
7945 * config/sparc/sol2-sld-64.h (TARGET_DEFAULT): Set
7946 MASK_LONG_DOUBLE_128.
7947 * config/sparc/sol2.h (TARGET_DEFAULT): Likewise.
7948 * config/sparc/sp64-elf.h (TARGET_DEFAULT): Likewise.
7949 * config/sparc/linux64 (TARGET_DEFAULT): Likewise.
7950 (SUBTARGET_SWITCHES): Define.
7951 (CPP_ARCH32_SPEC): Define __LONG_DOUBLE_128__ if compiling
7952 with -mlong-double-128.
7953 (LONG_DOUBLE_TYPE_SIZE): Define depending on target_flags.
7954 (MAX_LONG_DOUBLE_TYPE_SIZE): Define.
7955 (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Define depending on CPP macros.
7956 (CC1_SPEC): Include -mlong-double-{64,128} as needed.
7957 * config/sparc/linux.h (SUBTARGET_SWITCHES): Define.
7958 (CPP_SUBTARGET_SPEC): Define __LONG_DOUBLE_128__ if compiling
7959 with -mlong-double-128.
7960 (LONG_DOUBLE_TYPE_SIZE): Define depending on target_flags.
7961 (MAX_LONG_DOUBLE_TYPE_SIZE): Define.
7962 (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Define depending on CPP macros.
7963 * config/sparc/sparc.h (MASK_LONG_DOUBLE_128,
7964 TARGET_LONG_DOUBLE_128): Define.
7965 * config/sparc/linux-aout.h (LONG_DOUBLE_TYPE_SIZE): Remove.
7966 * config/sparc/sparc.c (sparc_override_options): Disallow 64bit
7967 long double on TARGET_ARCH64.
7969 2000-03-06 Mark Mitchell <mark@codesourcery.com>
7971 * function.c (free_temps_for_rtl_expr): Don't free slots
7972 that have been pushed into a higher level.
7975 2000-03-05 Mark Mitchell <mark@codesourcery.com>
7977 2000-03-05 Mark Mitchell <mark@codesourcery.com>
7979 * basic-block.h (ALLOCA_REG_SET): Remove.
7980 (INITIALIZE_REG_SET): New macro.
7981 * flow.c (update_life_info): Use it.
7982 (calculate_global_regs_live): Likewise.
7983 (propagate_block): Likewise.
7984 * global.c (build_insn_chain): Likewise.
7985 * haifa-sched.c (schedule_region): Likewise.
7987 2000-03-05 Stephane Carrez <stcarrez@worldnet.fr>
7989 * dwarf2out.c (UNALIGNED_WORD_ASM_OP): Support 2 bytes pointer.
7990 (ASM_OUTPUT_DWARF_ADDR_CONST): Use UNALIGNED_WORD_ASM_OP.
7991 (DWARF_ARANGES_PAD_SIZE): New define.
7992 (output_aranges): Use it to pad the address range header.
7993 (DWARF_ROUND): Fix for non power of 2 rounding.
7995 2000-03-05 Jason Merrill <jason@casey.cygnus.com>
7997 * mkdeps.c (deps_calc_target): Remove incorrect 'const'.
7999 2000-03-05 Mark Mitchell <mark@codesourcery.com>
8001 * tree.def (RTL_EXPR): Update documentation.
8002 * tree.h (RTL_EXPR_HAS_NO_SCOPE): New macro.
8003 * expr.c (expand_expr): Handle RTL_EXPR_HAS_NO_SCOPE.
8004 * function.c (preserve_rtl_expr_temp): New function.
8005 (preserve_rtl_expr_temps): Likewise.
8006 (preserve_rtl_expr_result): Use it.
8009 2000-03-04 Mark Mitchell <mark@codesourcery.com>
8011 2000-03-04 Thomas Schuster <Thomas.Schuster@gmx.net>
8013 * regmove.c (copy_src_to_dest) Do not create src->dest move
8014 for unchanging destination.
8016 2000-03-04 Mark Mitchell <mark@codesourcery.com>
8018 * function.h (struct sequence_stack): Remove rtl_expr.
8019 (struct emit_staus): Likewise.
8020 (seq_rtl_expr): Remove.
8021 * tree.h (free_temps_for_rtl_expr): Don't declare.
8022 (start_sequence_for_rtl_expr): Likewise.
8023 * rtl.h (preserve_rtl_expr_result): Likewise.
8024 * emit-rtl.c (start_sequence): Don't set sequence_rtl_expr.
8025 (start_sequence_for_rtl_expr): Remove.
8026 (push_topmost_sequence): Don't save sequence_rtl_expr.
8027 (pop_topmost_sequence): Remove comment about not restoring it.
8028 (end_sequence): Don't set seq_rtl_expr.
8029 (init_emit): Don't initialize it.
8030 (mark_sequence_stack): Don't mark it.
8031 (mark_emit_status): Likewise.
8032 * except.c (protect_with_terminate): Use
8033 start_sequence_for_rtl_expr, not start_sequence.
8034 * expr.c (expand_expr, case RTL_EXPR): Don't call
8035 preserve_rtl_expr_result or free_temps_for_rtl_expr.
8036 * function.c (assign_stack_temp_for_type): Don't set rtl_expr.
8037 (preserve_rtl_expr_result): Remove.
8038 (free_temps_for_rtl_expr): Likewise.
8039 (pop_temp_slots): Likewise.
8040 (mark_temp_slot): Don't mark the rtl_expr.
8041 * stmt.c (expand_start_stmt_expr): Use start_sequence, not
8042 start_sequence_for_rtl_expr.
8044 2000-03-04 Zack Weinberg <zack@wolery.cumb.org>
8046 * mkdeps.c, mkdeps.h: New files.
8047 * po/POTFILES.in: Add them.
8048 * Makefile.in (LIBCPP_OBJS): Add mkdeps.o.
8049 (cpplib.o, cppinit.o): Depend on mkdeps.h.
8050 (mkdeps.o): New target.
8052 * cppfiles.c: Delete deps_output.
8053 * cppinit.c: Include mkdeps.h. Delete known_suffixes,
8054 OBJECT_SUFFIX, and base_name.
8055 (cpp_cleanup): Use deps_free. Free ihash->name when clearing
8057 (initialize_dependency_output): Use deps_init,
8058 deps_add_target, deps_calc_target, and deps_add_dep. Remove
8059 all the unnecessary string bashing.
8060 (cpp_finish): Use deps_write. Remove an unnecessary nesting
8062 * cpplib.c (do_include): Use deps_add_dep.
8063 * cpplib.h (struct cpp_reader): Replace deps_buffer,
8064 deps_allocated_size, deps_size, deps_column members with
8065 single pointer to a struct deps. Delete prototype of
8068 * cppinit.c: Fix thinko in previous patch.
8070 Sat Mar 4 11:32:30 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
8072 * machmode.h (mode_for_size, smallest_mode_for_size): SIZE now signed.
8073 * stor-layout.c (mode_for_size, smallest_mode_for_size): Likewise.
8074 (mode_for_size_tree): New function.
8075 (layout_decl, layout_type): Call it and clean up BLKmode checks.
8076 * tree.h (mode_for_size_tree): New declaration.
8078 * toplev.c (debug_ignore_block): Mark arg BLOCK as possibly unused.
8080 2000-03-04 Jason Merrill <jason@casey.cygnus.com>
8082 * stmt.c (is_body_block): Move...
8083 * dwarfout.c, dwarf2out.c: ...from here.
8084 * tree.h: Declare it.
8085 * emit-rtl.c (remove_unncessary_notes): Don't remove the body block.
8086 * final.c (final_start_function): Do call remove_unnecessary_notes
8089 2000-03-03 Zack Weinberg <zack@wolery.cumb.org>
8091 * config/vax/xm-vms.h: Define OBJECT_SUFFIX and EXECUTABLE_SUFFIX.
8093 * cpplib.h (_dollar_ok): New macro.
8094 (is_idchar, is_idstart): Use it.
8095 (IStable): Rename to _cpp_IStable. Declare it const if
8096 gcc >=2.7 or C99. Delete all references to FAKE_CONST.
8097 (is_idchar, is_idstart, is_numchar, is_numstart, is_hspace,
8098 is_space): Update for renamed IStable.
8100 * cppinit.c: Delete all references to FAKE_CONST and CAT
8101 macros. Define init_IStable as empty macro if gcc >=2.7 or
8102 C99. Change TABLE() to ISTABLE and hardcode name of table.
8103 (cpp_start_read): Don't change the IStable based on
8106 * cpphash.c (unsafe_chars): Add pfile argument. All callers
8107 changed. Handle '$' for char1 correctly.
8108 * cpplib.c (cpp_get_token): Use is_numchar when parsing numbers.
8110 * cppexp.c (tokentab2): Make const.
8111 (cpp_lex): Make toktab const.
8112 * cppinit.c (include_defaults_array): Make const.
8113 (initialize_standard_includes): Make default_include const.
8115 2000-03-03 Jason Merrill <jason@casey.cygnus.com>
8117 * dwarf2out.c (dwarf2out_frame_debug): Add cast to silence warning.
8118 (dwarf2out_decl): Functions can now have DECL_IGNORED_P.
8119 (gen_decl_die): Likewise.
8120 * dwarfout.c (dwarfout_file_scope_decl): Likewise.
8121 (output_decl): Likewise.
8123 * varasm.c (make_function_rtl): If we change the name used in the
8124 rtl, update DECL_ASSEMBLER_NAME accordingly.
8125 (make_decl_rtl): Likewise.
8127 * toplev.c (rest_of_compilation): Tweak formatting.
8129 * toplev.c (rest_of_compilation): find_loop_tree_blocks before
8130 remove_unnecessary_notes.
8131 (debug_ignore_block): New fn.
8132 * toplev.h: Declare it.
8133 * emit-rtl.c (remove_unncessary_notes): Call it.
8134 * dwarf2out.c (dwarf2out_ignore_block): New fn.
8135 * dwarf2out.h: Declare it.
8136 * final.c (final_start_function): Don't call remove_unnecessary_notes
8137 if we did insn scheduling.
8139 2000-03-03 Zack Weinberg <zack@wolery.cumb.org>
8141 * cppinit.c (cpp_handle_option): Set opts->pedantic directly.
8142 * cpplib.h: Delete SET_CPP_PEDANTIC.
8144 Fri Mar 3 14:56:12 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
8146 * expr.c (expand_expr, case COMPONENT_REF): Use bitfield case if
8147 result is a RECORD_TYPE.
8149 2000-03-03 Jonathan Larmour <jlarmour@cygnus.co.uk>
8151 * mips/elf.h (CTOR_LISTS_DEFINED_EXTERNALLY): Added.
8153 2000-03-03 Richard Henderson <rth@cygnus.com>
8155 * alpha.c (alpha_emit_set_const_1): Re-order cases to prefer
8156 addition over compliments over shifts.
8158 Fri Mar 3 12:49:28 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
8160 * reload1.c (reload_combine_note_use): Handle return register USEs.
8161 REG case: Handle multi-hard-register hard regs.
8163 Fri Mar 3 07:38:34 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
8165 * md.texi: Document use of '*' in insn pattern name.
8167 2000-03-03 Jason Merrill <jason@casey.cygnus.com>
8169 * calls.c (special_function_p): operator new may not be malloc-like.
8171 * gcse.c (dump_hash_table): Really fix error in last change.
8173 2000-03-02 Denis Chertykov <denisc@overta.ru>
8175 * avr.c (print_operand): Use print_operand_address instead of
8177 * avr/libgcc.S: Cleanup code.
8179 2000-03-02 Richard Henderson <rth@cygnus.com>
8181 * alpha.c (alpha_emit_set_const_1): Also try c + small constant.
8183 2000-03-02 Mark Mitchell <mark@codesourcery.com>
8185 * tree.h (TYPE_ALIGN_UNIT): New macro.
8187 2000-03-02 Clinton Popetz <cpopetz@cygnus.com>
8189 * i386.c: (constant_call_address_operand): Reject CONST_INT.
8191 2000-03-02 Jason Merrill <jason@casey.cygnus.com>
8193 * cpplib.h (CPP_PEDANTIC): Only true if system_header_p is not set
8195 (SET_CPP_PEDANTIC): New macro.
8196 * cpplib.c (do_include): Don't bother checking system_header_p.
8197 (do_warning, do_ident, do_assert, do_unassert): Likewise.
8198 * cppinit.c (cpp_handle_option): Use SET_CPP_PEDANTIC.
8200 * function.h (struct expr_status): Add x_arg_space_so_far.
8201 (arg_space_so_far): New macro.
8202 * expr.c (init_expr): Initialize it.
8203 * calls.c (emit_call_1): Reset it.
8204 (compute_argument_block_size, expand_call): Use it.
8205 (expand_call, store_one_arg): Increment it.
8207 Thu Mar 2 17:27:13 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
8209 * varasm.c (output_constant): Strip off a CONVERT_EXPR to
8212 2000-03-02 Zack Weinberg <zack@wolery.cumb.org>
8214 * cppfiles.c (cpp_read_file): New function.
8216 * cpphash.c (collect_expansion): Make sure to reset last_token
8217 to NORM when we hit a string. Handle trailing whitespace
8218 properly when the expansion is empty.
8219 (create_definition): Disable line commands while parsing the
8221 (dump_definition): If pfile->lineno == 0, output a line
8222 command ahead of the dump, and add a trailing newline.
8224 * cppinit.c (append_include_chain): Add fifth argument, which
8225 indicates whether or not system headers are C++ aware.
8226 (initialize_standard_includes): New function,
8227 broken out of read_and_prescan. Pass 'cxx_aware' value from
8228 the include_defaults_array on to append_include_chain.
8229 (dump_special_to_buffer): Const-ify char array.
8230 (builtin_array): Don't dump __BASE_FILE__.
8231 (cpp_start_read): Use cpp_read_file. Reorder code for
8232 clarity. Don't output line commands here for -D/-A/-U
8233 switches. Don't call deps_output for files included with
8234 -include or -imacros.
8236 * cpplib.c (do_define): Don't pay any attention to the second
8238 (cpp_expand_to_buffer): Disable line commands while scanning.
8239 (output_line_command): Work in the file buffer.
8240 * cpplib.h: Remove no_record_file flag from struct cpp_reader.
8241 Fix formatting of comments. Prototype cpp_read_file.
8243 Thu Mar 2 13:29:46 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
8245 * c-common.c (c_common_nodes_and_builtins): Make sizetype_endlink
8246 reference the language-equivalent of sizetype.
8247 * c-typeck.c (comptypes): Treat sizetype like its language equivalent.
8248 * fold-const.c (size_binop, size_diffop): Put back checks.
8249 * gcse.c (dump_hash_table): Fix minor error in last change.
8250 * stor-layout.c (set_sizetype): Set TYPE_DOMAIN of sizetype.
8251 Clear TYPE_{NEXT,MAIN}_VARIANT and TYPE_{POINTER,REFERENCE}_to of
8254 Thu Mar 2 12:48:45 MET 2000 Jan Hubicka <jh@suse.cz>
8256 * calls.c (expand_call) Do not attempt to combine stack adjustments
8257 with inhibit_defer_pop set.
8259 2000-03-01 Mark Mitchell <mark@codesourcery.com>
8261 * stor-layout.c (layout_decl): Allow front-ends to explicitly set
8262 the DECL_SIZE for a FIELD_DECL.
8264 2000-03-01 Bruce Korb <bkorb@gnu.org>
8266 * fixinc/inclhack.tpl: remove unused symlinks
8267 * fixinc/README: GCC Maintainer info
8268 * fixinc/inclhack.sh: regen
8269 * fixinc/fixincl.sh: regen
8271 2000-03-01 Zack Weinberg <zack@wolery.cumb.org>
8273 * cpphash.c (collect_expansion): Trim trailing white space
8274 from macro definitions, but don't go past the last insertion
8277 Wed Mar 1 12:14:31 MET 2000 Jan Hubicka <jh@suse.cz>
8279 * i386.md (mulqi3): New pattern.
8281 2000-02-29 Zack Weinberg <zack@wolery.cumb.org>
8283 * cpplib.h (CPP_ASSERTION, CPP_STRINGIZE, CPP_TOKPASTE): New
8285 (struct cpp_reader): Add parsing_if_directive and
8286 parsing_define_directive flags.
8287 (struct cpp_options): Remove output_conditionals flag.
8288 (check_macro_name): Delete prototype.
8290 * cpphash.h (struct macrodef): Delete.
8291 (struct reflist): Separate from struct definition.
8292 (struct definition): Remove unused fields. Add column number.
8293 (create_definition): Returns a DEFINITION *. Takes a
8294 cpp_reader * and an int.
8296 * cpphash.c (SKIP_WHITE_SPACE): Delete.
8297 (PEEKC): Copy defn from cpplib.c.
8298 (rest_extension, REST_EXTENSION_LENGTH): Delete.
8300 (struct arglist): Simplify.
8301 (collect_expansion): Rewrite. Get tokens by calling
8302 cpp_get_token. Add more error checking.
8303 (collect_formal_parameters): New function, broken out of
8304 create_definition and reworked to use get_directive_token.
8305 (create_definition): All real work is now in collect_expansion
8306 and collect_formal_parameters. do_define handles finding the
8307 macro name. Return a DEFINITION, not a MACRODEF.
8308 (macroexpand): Replace bcopy with memcpy throughout. Replace
8309 character-at-a-time copy loop with memcpy and pointer increments.
8310 (compare-defs): d1->argnames / d2->argnames might be null.
8312 * cpplib.c (copy_rest_of_line): Delete function.
8313 (skip_rest_of_line): Do all the work ourselves.
8314 (skip_string): New function.
8315 (parse_string): Use skip_string.
8316 (get_macro_name): New function.
8317 (check_macro_name): Delete.
8318 (copy_comment): Use CPP_RESERVE and CPP_PUTC_Q.
8319 (cpp_skip_hspace): Use CPP_BUMP_LINE.
8320 (handle_directive): ICE if we're called on a macro buffer.
8321 (do_define): Determine macro name and type (funlike/objlike)
8322 here. Expunge all uses of MACRODEF.
8323 (cpp_push_buffer): Set line_base to NULL.
8324 (do_undef, read_line_number): Don't worry about getting a POP token.
8325 (eval_if_expression): Set/reset parsing_if_directive around
8326 cpp_parse_expr. Don't clear only_seen_white.
8327 (skip_if_group): Remove output_conditionals logic. Use
8329 (cpp_get_token): Return ASSERTION, STRINGIZE, and TOKPASTE
8330 tokens under appropriate conditions.
8331 (cpp_unassert): Call do_unassert not do_assert. Oops.
8333 * cppexp.c (parse_defined): New function, break out of
8335 (cpp_lex): We now get CPP_ASSERTION tokens and can check them
8336 ourselves, with cpp_defined.
8337 * cppinit.c (cpp_handle_option, print_help): Delete -ifoutput.
8339 * gcc.dg/20000209-2.c: Turn off -pedantic-errors.
8340 * gcc.dg/strpaste-2.c: New.
8342 2000-02-29 Mark Mitchell <mark@codesourcery.com>
8344 * fold-const.c (size_binop): Don't asert inputs are the same and
8345 have TYPE_IS_SIZETYPE set.
8346 (size_diffop): Likewise.
8348 2000-02-29 Jason Merrill <jason@casey.cygnus.com>
8350 * dwarfout.c (output_block): Output abstract blocks even if they
8351 don't have TREE_ASM_WRITTEN set.
8353 * calls.c (emit_library_call): Check for null REG.
8355 2000-03-01 Martin von Loewis <loewis@informatik.hu-berlin.de>
8357 * c-decl.c (current_function_decl): Move to toplev.c.
8358 (init_decl_processing): Don't add current_function_decl as a ggc
8360 * dbxout.c (dbxout_symbol): Change return type to int.
8361 (dbxout_symbol_location, dbxout_syms): Likewise.
8362 (dbxout_block): Don't emit LBRAC/RBRAC pairs for blocks without
8363 any locals. Use current_function_func_begin_label if set.
8364 * dbxout.h (dbxout_symbol, dbxout_syms): Change return type.
8365 * dwarf2out.c (dwarf2out_begin_prologue): Set
8366 current_function_func_begin_label.
8367 * final.c (final_start_function): Reset it.
8368 * toplev.c (current_function_decl): Define it here.
8369 (current_function_func_begin_label): New variable.
8370 (main): Add both as ggc roots.
8371 * tree.h (current_function_func_begin_label): Declare.
8373 Tue Feb 29 14:07:04 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
8375 * gcse.c: Cleanups throughout: mostly white-space, but also
8376 some minor rearrangement of code.
8378 Tue Feb 29 10:45:59 2000 Jeffrey A Law (law@cygnus.com)
8380 * calls.c (emit_library_call): Do not abort if FUNCTION_ARG
8381 returns a PARALLEL. Use emit_group_load and use_group_regs
8383 (emit_library_call_value): Similarly.
8385 * pa/t-pa: Use quadlib.c instead of quadlib.asm.
8386 * pa/quadlib.asm: Remove.
8387 * pa/quadlib.c: New file.
8389 * configure.in (hpux10, hpux11, PA32 mode): Use i128 float format.
8390 * configure: Rebuilt.
8392 2000-02-29 Philip Blundell <pb@futuretv.com>
8394 * config/arm/conix-elf.h: New file.
8395 * configure.in (arm*-*-conix*): New configuration.
8396 * configure: Regenerate.
8398 2000-02-28 Jason Merrill <jason@casey.cygnus.com>
8400 * dwarf2out.c (gen_block_die): Output abstract blocks even if they
8401 don't have TREE_ASM_WRITTEN set.
8403 Mon Feb 28 21:07:59 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
8405 * Eliminate DECL_FIELD_SIZE.
8406 * builtins.c (built_in_class_names, built_in_names): New variables.
8407 * c-decl.c (finish_struct): Set specified size in DECL_SIZE.
8408 * expr.c (expand_expr, case COMPONENT_REF): Get field size from
8409 DECL_SIZE, not DECL_FIELD_SIZE.
8410 * print-tree.c (print_node): Remove code that prints extra blank
8411 lines in some cases.
8412 Properly handle inline and builtin function cases.
8413 * stor-layout.c (layout_decl): Get specified size from DEC_SIZE.
8414 * tree.h (built_in_class_named, built_in_names): New declarations.
8415 (union tree_decl): Rename internal unions to u1 and u2 and change
8416 some of their components.
8417 Add new field built_in_class.
8418 (DECL_ALIGN, DECL_INCOMING_RTL, DECL_SAVED_INSNS, DECL_FRAME_SIZE):
8419 Reflect above changes.
8420 (DECL_FUNCTION_CODE, DECL_BUILT_IN_CLASS): Likewise.
8421 (DECL_SET_FUNCTION_CODE, DECL_FIELD_SIZE): Deleted.
8422 * objc/objc-act.c (objc_copy_list): Use DECL_SIZE, not DECL_FIELD_SIZE.
8423 (encode_field_decl): Likewise; also remove obsolete test for bitfield.
8425 2000-02-28 Dmitri Makarov <dim@windriver.com>
8427 * extend.texi: Document ARM's support for long/short calls.
8429 * invoke.texi: Document ARM's -mlong-calls command line switch.
8431 * config/arm/arm-protos.h (arm_is_longcall_p): Add prototype.
8432 (arm_encode_call_attribute): Add prototype.
8433 (arm_set_default_type_attribute): Add prototype.
8434 (arm_strip_name_encoding): Add prototype.
8436 * config/arm/arm.c (arm_init_cumulative_args): replace
8437 initialisation og 'long_calls' field with initialisation of
8438 'call_cookie' field.
8439 (enum arm_pragma_enum): New enum.
8440 (arm_pragma_long_calls): New static variable.
8441 (arm_process_pragma): Also process "#pragma long_calls_off".
8442 (arm_valid_type_attribute_p): Accept short_call attribute.
8443 (arm_comp_type_attributes): Check long/short call attributes.
8444 (arm_encode_call_attribute): New function: Encode long_call
8445 or short_call attribute in function name.
8446 (arm_set_default_type_attributes): New function: Assign
8447 default attributes to newly defined type.
8448 (current_file_function_operand): New function: Return true if
8449 the symbol is a function which has already been compiled.
8450 (arm_is_longcall_p): New function: Return true if the
8451 indicated function should be called via a long call.
8452 (arm_get_strip_length): New function. Returns number of
8453 prefix characters to be stripped from a function's name.
8454 (arm_strip_name_encoding): New function. Strip prefix characters
8455 from a function's name.
8457 * config/arm/arm.h (CUMULATIVE_ARGS): Replace 'long_call' field
8459 (SHORT_CALL_FAG_CHAR): Define.
8460 (LONG_CALL_FAG_CHAR): Define.
8461 (ENCODED_SHORT_CALL_ATTR_P): Define.
8462 (ENCODED_LONG_CALL_ATTR_P): Define.
8463 (ARM_NAME_ENCODING_LENGTHS): Define.
8464 (STRIP_NAME_ENCODING): Define.
8465 (ASM_OUTPUT_LABELREF): Define, and use to strip name encoding.
8466 (ARM_ENCODE_CALL_TYPE): Define.
8467 (ENCODE_SECTION): Invoke ARM_ENCODE_CALL_TYPE.
8468 (ARM_DECLARE_FUNCTION_SIZE): Define.
8469 (SET_DEFAULT_TYPE_ATTRIBUTES): Define.
8471 * config/arm/arm.md (call): Call arm_is_longcall_p to decide
8472 if a long call is needed.
8473 (call_value): Ditto.
8474 (call_symbol): Ditto.
8476 * config/arm/elf.h (ASM_DECLARE_FUNCTION_SIZE): Add invocation of
8477 ARM_DECLARE_FUNCTION_SIZE.
8479 * config/arm/pe.h (ARM_PE_FLAG_CHAR): Define.
8480 (SUBTARGET_NAME_ENCODING_LENGTHS): Define.
8481 (ARM_STRIP_NAME_ENCODING): Undefine.
8482 (STRIP_NAME_ENCODING): Undefine.
8483 (ASM_OUTPUT_LABELREF): Use arm_strip_name_encoding.
8484 (ASM_DECLARE_FUNCTION_NAME): Ditto.
8485 (ASM_OUTPUT_COMMON): Ditto.
8486 (ASM_DECLARE_OBJECT_NAME): Ditto.
8488 * config/arm/pe.c (arm_dllexport_name_p): Check for
8490 (arm_dllimport_name_p): Ditto.
8491 (arm_mark_dllexport): Use ARM_PE_FLAG_CHAR.
8492 (arm_mark_dllimport): Ditto.
8494 Mon Feb 28 22:11:12 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
8496 * sh.h (DWARF_LINE_MIN_INSTR_LENGTH): Define.
8498 2000-02-28 Mark Mitchell <mark@codesourcery.com>
8500 * xcoffout.c (xcoffout_begin_function): Fix typo in previous change.
8502 2000-02-28 Zack Weinberg <zack@wolery.cumb.org>
8504 * tm.texi: Document new target switch, NO_BUILTIN_WCHAR_TYPE.
8505 * cppinit.c (builtin_array): Define __WCHAR_TYPE__ only if
8506 NO_BUILTIN_WCHAR_TYPE is not defined.
8507 (CPP_WCHAR_TYPE): Delete.
8508 * cccp.c (main): Don't change wchar_type if cplusplus.
8509 (special_symbol, initialize_builtins): Honor NO_BUILTIN_WCHAR_TYPE.
8511 2000-02-28 Nick Clifton <nickc@cygnus.com>
8513 * config/arm/arm-wince-pe.h (SIZE_TYPE): Define to "unsigned long".
8515 Mon Feb 28 14:21:15 2000 Catherine Moore <clm@cygnus.com>
8517 * config/pa/som.h (MAKE_DECL_ONE_ONLY): Define.
8518 (ASM_WEAKEN_LABEL): Define.
8520 Mon Feb 28 13:07:19 MET 2000 Jan Hubicka <jh@suse.cz>
8522 * expr.c (store_constructor): Do not emit USE.
8523 * rtl.h (stupid_life_analysis): Remove.
8525 Mon Feb 28 07:03:27 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
8527 * function.c (number_blocks): Reset next_block_index based on
8528 what debugging format is used, not what is defined.
8530 * lcm.c: Minor reformatting throughout.
8531 (reg_dies, reg_becomes_live): Properly handle multiple hard regs.
8533 * toplev.c (rest_of_compilation): Account for time in
8534 optimize_mode_switching.
8536 * jump.c (jump_optimize_1): Don't call delete_barrier_successors
8537 if only marking labels.
8539 Mon Feb 28 12:53:57 MET 2000 Jan Hubicka <jh@suse.cz>
8541 * calls.c (expand_call): Attempt to combine stack adjustments with
8542 pending stack adjustments.
8544 Mon Feb 28 11:34:43 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
8546 * loop.c (reg_in_basic_block_p): Don't abort when falling through
8547 to the end of the function.
8549 2000-02-27 Mark Mitchell <mark@codesourcery.com>
8551 * emit-rtl.c (remove_unncessary_notes): Remove notes for empty
8553 * final.c (next_block_index): Remove.
8554 (max_block_depth): Likewise.
8555 (pending_blocks): Likewise.
8556 (init_final): Don't initialize them.
8557 (final_start_function): Don't set next_block_index. Set up
8559 (final_scan_insn): Use BLOCK_NUMBER, not next_block_index.
8560 * function.h (number_blocks): New function.
8561 * function.c (get_block_vector): New function.
8562 (identify_blocks): Use it.
8563 (reorder_blocks): Set NOTE_BLOCK.
8564 (number_blocks): New function.
8565 * tree.def (BLOCK): Add documentation for TREE_ASM_WRITTEN flag.
8566 * tree.h (BLOCK_NUMBER): New macro.
8567 (tree_block): Add block_num field.
8568 * dbxout.c (next_block_number): Remove.
8569 (dbxout_init): Don't set it.
8570 (dbxout_block): Only output blocks that have TREE_ASM_WRITTEN
8571 set. Use BLOCK_NUMBER, rather than next_block_num, to determine
8573 * toplev.c (rest_of_compilation): Always call
8574 find_loop_tree_blocks. Fix indentation.
8575 * dwarf2out.c (next_block_number): Remove.
8576 (gen_lexical_block_die): Use BLOCK_NUMBER, not next_block_number,
8577 to determine block numbers.
8578 (gen_inlined_subroutine_die): Likewise.
8579 (gen_block_die): Only output blocks that have TREE_ASM_WRITTEN set.
8580 (decls_for_scope): Don't increment next_block_number.
8581 * dwarfout.c (next_block_number): Remove.
8582 (output_lexical_block_die): Use BLOCK_NUMBER, not next_block_number,
8583 to determine block numbers.
8584 (output_inlined_subroutine_die): Likewise.
8585 (output_block): Only output blocks that have TREE_ASM_WRITTEN set.
8586 (output_decls_for_scope): Don't increment next_block_number.
8587 * sdbout.c (next_block_number): Remove.
8588 (sdbout_block): Use BLOCK_NUMBER.
8589 (sdbout_begin_block): Simplify.
8590 * xcoffout.c (next_block_number): Remove.
8591 (xcoffout_block): Use BLOCK_NUMBER, not next_block_number.
8592 (xcoffout_begin_block): Don't set next_block_number.
8593 (xcoffout_begin_function): Likewise. Use BLOCK_NUMBER, not
8596 Sun Feb 27 16:40:33 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
8598 * builtins.c (c_strlen): Use size_diffop and return ssizetype value.
8599 (expand_builtin_strcpy): Pass correct type to size_binop.
8600 (expand_builtin_strcmp): Likewise.
8601 Clean up conditional structure.
8602 * c-decl.c (init_decl_processing): Don't call set_sizetype twice.
8603 (complete_array_type): Don't use size_binop for MAXINDEX.
8604 * c-typeck.c (c_sizeof): Use size_one_node and TYPE_SIZE_UNIT.
8605 (c_sizeof_nowarn, c_size_in_bytes): Likewise.
8606 (c_alignof): Use size_one_node.
8607 (build_unary_op): Pass arg of proper type to size_binop.
8608 (really_start_incremental_init, push_init_level): Use sizetype for
8609 constructor{,_bit,_unfilled}_index.
8610 (pop_init_label, output_init_element): Likewise.
8611 (output_pending_init_elements, process_init_element): Likewise.
8612 * calls.c (compute_argument_block_size): Field VAR is ssizetype.
8613 * expr.c (store_expr): Use size_int.
8614 (store_constructor): Use proper types for size_binop args.
8615 (get_inner_reference, expand_expr, case ARRAY_REF): Likewise.
8616 (expand_expr_unaligned): Likewise.
8617 (string_contant): Return object of sizetype.
8618 * expr.h (SUB_PARM_SIZE): Call size_diffop and pass proper types.
8619 (ARGS_SIZE_RTX): Call ARGS_SIZE_TREE.
8620 (ARGS_SIZE_TREE): Pass proper types to size_binop.
8621 * fold-const.c (int_const_binop): Refine when size_int is called.
8622 (fold_convert): Likewise.
8623 (size_int_wide): Rework to take KIND as arg, only take low order
8624 bits, handle new sizetype_tab datatype, and chain entries in
8626 (size_int_type_wide): New function.
8627 (size_binop): Validate types of arguments.
8628 (ssize_binop): Deleted.
8629 (size_diffop): New function.
8630 (extract_muldiv): Only fold division into multiplication for sizetypes.
8631 * function.c (assign_parms): Use size_diffop and make sure
8632 VAR field is of ssizetype; also pass proper type to size_binop.
8633 (locate_and_pad_parm, pad_to_arg_alignment): Likewise.
8634 (round_down): Deleted from here.
8635 * store-layout.c (sizetype_tab): Now an array.
8636 (sizetype_set, early_root_list): New variables.
8637 (variable_size): Use size_one_node.
8638 (round_up): Pass proper type to size_binop.
8639 (round_down): Moved to here and corrected as above.
8640 (layout_record): Pass proper arg types to size_binop.
8641 (layout_type): Likewise.
8642 If sizetype_set is zero, record the type just laid out.
8643 (make_unsigned_type): Don't call set_sizetype;
8644 (make_signed_type): Likewise; also, call fixup_signed_type.
8645 (initialize_sizetypes): New function.
8646 (set_sizetype): Make copy of types, set TYPE_IS_SIZETYPE, and
8647 set name of bitsizetype to "bit_size_type".
8648 Fix up type of sizes of all types made before call.
8649 * tm.texi (ROUND_TYPE_SIZE_UNIT): New macro.
8650 * tree.c (fix_sizetype): Deleted.
8651 (build_common_tree_nodes): Call initialize_sizetypes.
8652 (build_common_tree_nodes_2): Don't call fix_sizetype.
8653 * tree.h (TYPE_IS_SIZETYPE): New macro.
8654 (initialize_sizetype): New declaration.
8655 (enum size_type_kind): New type.
8656 (struct sizetype_tab): Deleted.
8657 (sizetype_tab): Now array; adjust sizetype macros.
8658 (size_diffop, size_int_type_wide): New functions.
8659 (size_int_wide): Change number of args and type; access macros changed.
8660 (ssize_int, sbitsize_int): New macros.
8661 * config/i960/i960.h (ROUND_TYPE_SIZE): Use size_int.
8662 (ROUND_TYPE_SIZE_UNIT): New macro.
8664 2000-02-27 Zack Weinberg <zack@wolery.cumb.org>
8666 * c-lex.c (putback_buffer): Make 'buffer' an unsigned char *.
8668 Sun Feb 27 07:44:17 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
8670 * gcov-io.h (__fetch_long, __store_long, __read_long, __write_long):
8671 Mark as possibly unused.
8673 * cse.c (cse_insn): Delete dead code involving tablejump.
8674 Pass CODE_LABEL, not LABEL_REF to gen_jump and reset INSN_CODE.
8676 * Makefile.in (libcpp.a): Start by deleting it.
8678 2000-02-27 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
8680 * cpplib.h (enum file_change_code): Added rename_file.
8681 * cpplib.c (do_line): If a filename is given, set file_change to
8683 (output_line_command): If file_change is rename_file, always
8684 output a # directive with the file name.
8686 * cpplib.c (do_pragma): Accept #pragma without consecutive token.
8688 2000-02-26 Mark Mitchell <mark@codesourcery.com>
8690 * integrate.c (copy_decl_for_inlining): Preserve TREE_ADDRESSABLE
8691 when copying a PARM_DECL or RESULT_DECL.
8693 2000-02-26 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
8695 * fix-header.c (recognized_function): Also fix prototypes for
8696 functions taking "void".
8698 2000-02-26 Geoff Keating <geoffk@cygnus.com>
8700 * reload1.c (do_output_reload): Check reg_reloaded_valid before
8701 looking at reg_reloaded_contents.
8703 2000-02-26 Zack Weinberg <zack@wolery.cumb.org>
8705 * Makefile.in (STMP_FIXINC): New toggle.
8706 (LIBGCC2_DEPS): Delete all references.
8707 (stmp-headers): Delete target. All references either deleted
8708 or changed to stmp-int-headers.
8709 (all.cross): Don't depend on stmp-headers or STMP_FIXPROTO.
8710 (LIBCPP_OBJS): Take out cppalloc.o.
8711 (cppalloc.o): Delete target.
8712 (stmp-int-hdrs): Depend on $(STMP_FIXINC).
8713 (gen-protos, fix-header): Link with libiberty.a.
8714 * build-make: Don't change FIXINCLUDES. Override STMP_FIXINC
8717 * configure.in: Remove refs to strerror.
8718 * acconfig.h: Take out NEED_DECLARATION_STRERROR.
8719 * system.h: Take out strerror stanza.
8721 * cpperror.c (my_strerror): Delete function.
8722 (cpp_error_from_errno, cpp_notice_from_errno): Use xstrerror.
8723 * cppmain.c (main): Call xmalloc_set_program_name first thing.
8724 * cppalloc.c: Delete file.
8725 * gen-protos.c: Don't provide xrealloc.
8727 * fixinc/fixincl.c, fixinc/fixlib.c, fixinc/procopen.c: Use
8728 xstrerror throughout.
8730 2000-02-26 Bruce Korb <bkorb@gnu.org>
8732 * fixinc/inclhack.def (undefine_null): the bypass pattern needs to
8733 match for DOS headers, too.
8734 * fixinc/inclhack.sh,fixincl.x: Regenerate.
8736 2000-02-26 Geoff Keating <geoffk@cygnus.com>
8738 * config/elfos.h (ASM_OUTPUT_LABELREF): Don't define. The default
8739 is right for most ELF targets.
8740 * config/ns32k/ns32k.h (ASM_OUTPUT_LABELREF): Don't define.
8741 Let the default file use %U properly.
8742 * config/sh/elf.h (ASM_OUTPUT_LABELREF): Don't define. Use the
8745 * config/fp-bit.c (pack_d): Properly handle rounding of denormal
8748 Sat Feb 26 09:39:16 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
8750 * toplev.c (documented_lang_options): Correct spelling error.
8751 (decode_d_option, decode_f_option, main): Likewise.
8753 * toplev.c (print_time): Avoid SIGFPE when all_time is zero.
8755 * config/alpha/alpha.h (ASM_OUTPUT_MI_THUNK): Use .set at
8756 to tell assembler it is permitted to expand large constants.
8758 2000-02-25 Mumit Khan <khan@xraylith.wisc.edu>
8760 * protoize.c: (AUX_INFO_SUFFIX): New macro.
8761 (aux_info_suffix): Use.
8762 (SAVE_SUFFIX): New macro.
8764 (munge_compile_parms): Fix typo in NUL. DJGPP supports /dev/null.
8765 (gen_aux_info_file): Use aux_info_suffix instead of ".X".
8766 (edit_file): Handle 8.3 restriction for DOS/DJGPP filenames.
8768 * invoke.texi (Running Protoize): Update documentation.
8770 2000-02-25 Mark Elbrecht <snowball3@bigfoot.com>
8772 * i386/djgpp.h (CPP_PREDEFINES): Remove Unix defines.
8774 2000-02-25 John Wehle (john@feith.com)
8776 * rtlanal.c (find_last_value): Allow NULL_RTX for valid_to.
8778 2000-02-25 Anthony Green <green@cygnus.com>
8780 * toplev.c (rest_of_compilation): Rebuild jump labels if
8781 combine_instructions has created a new direct jump.
8782 * combine.c (try_combine): Add new_direct_jump_p argument. Set it
8784 (combine_instructions): Call try_combine with new argument.
8785 Return non-null value when new direct jump instruction is created.
8786 * rtl.h: combine_instructions returns an int.
8788 Fri Feb 25 19:49:08 2000 Jeffrey A Law (law@cygnus.com)
8790 * cse.c (cse_insn): Replace the PATTERN of the insn with an new
8791 jump when changing a computed jump into a jump to a known
8794 Fri Feb 25 19:22:44 2000 Graham Stott <grahams@rcp.co.uk>
8796 * resource.c (mark_referenced_resources): Changed use SET_DEST (...)
8797 to XEXP (..., 0) on RTL nodes which are not SET or CLOBBER.
8799 * i386.md (define_expand "clrstrsi"): Fix typo.
8801 Fri Feb 25 18:49:39 2000 "K. Richard Pixley" <rich@microunity.com>
8803 * rtl.texi: Fix typo.
8805 Fri Feb 25 20:02:35 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
8807 * sh.c (calc_live_regs): Multiply value assigned to *COUNT_PTR by
8808 UNITS_PER_WORD. Change caller initial_elimination_offset.
8809 (rounded_frame_size): Take into account that argument pushed has
8810 changed. Fix TARGET_ALIGN_DOUBLE problem.
8812 2000-02-25 Geoff Keating <geoffk@cygnus.com>
8814 * haifa-sched.c (schedule_block): Explain the real reason
8815 we delete REG_SAVE_NOTEs on the first insn of a block.
8816 Don't delete REG_SAVE_NOTES for NOTE_INSN_SETJMP.
8818 2000-02-24 Mark Mitchell <mark@codesourcery.com>
8820 * input.h (push_srcloc): New function.
8821 (pop_srcloc): Likewise.
8822 * toplev.c (push_srcloc): Define it.
8823 (pop_srcloc): Likewise.
8825 2000-02-24 Richard Henderson <rth@cygnus.com>
8827 * flow.c (life_analysis): When collecting reg info, clear
8830 Thu Feb 24 22:06:52 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
8832 Fix bug exposed by reload.c no longer rounding the frame
8833 size to BIGGEST_ALIGNMENT:
8834 * sh.c (rounded_frame_size): New function.
8835 (sh_expand_prologue, sh_expand_epilogue): Use it.
8836 (initial_elimination_offset): Likewise.
8838 Thu Feb 24 20:04:11 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
8840 Fix breakage from 6th Feb thread_prologue_and_epilogue_insns change:
8841 * sh-protos.h (sh_need_epilogue): Declare.
8842 * sh.c (sh_need_epilogue_known): New static variable.
8843 (sh_need_epilogue): New function.
8844 (function_epilogue): Clear need_epilogue_known.
8845 * sh.md (return): Split into expander / insn pattern.
8846 Make the expander conditional on ! sh_need_epilogue ().
8848 2000-02-24 Nathan Sidwell <nathan@codesourcery.com>
8850 * machmode.h (get_mode_alignment): Declare.
8851 (GET_MODE_ALIGNMENT): Call it.
8852 * stor-layout.c (get_mode_alignment): New function. Make
8853 sure alignment is always power of 2.
8855 2000-02-23 Zack Weinberg <zack@wolery.cumb.org>
8857 * i386.h: Remove useless definition of "I386" and misleading
8860 2000-02-23 Zack Weinberg <zack@wolery.cumb.org>
8862 * tree.h (TREE_SET_PERMANENT): New macro. Document conditions
8863 under which TREE_PERMANENT will be set.
8864 * tree.c (make_node, copy_node, make_tree_vec, tree_cons,
8865 build1): Use TREE_SET_PERMANENT.
8866 * print-tree.c (print_node): Don't report value of
8867 TREE_PERMANENT if ggc_p is true.
8869 * c-common.c (c_get_alias_set): Don't use TREE_PERMANENT to
8870 decide whether to give a type a new alias set.
8871 * objc/objc-act.c (build_objc_string_object): Never copy the string.
8872 * tree.c (make_node): Set DECL_IN_SYSTEM_HEADER irrespective
8873 of value of 'obstack'.
8876 2000-02-24 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
8878 * config/c4x/c4x.c (c4x_process_after_reload): Split all insns.
8880 2000-02-23 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
8882 * cpplib.h (enum cpp_token): Added CPP_WCHAR and CPP_WSTRING.
8883 * cpplib.c (cpp_get_token): Produce them.
8884 * cppexp.c (cpp_lex): Handle them.
8886 2000-02-23 Nick Clifton <nickc@cygnus.com>
8888 * config/arm/arm.c (arm_comp_type_attributes): Simply and
8889 comment tests on type attributes.
8891 Wed Feb 23 16:42:21 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
8893 * final.c (shorten_branches): Make value passed to LOOP_ALIGN
8894 conform to documentation.
8895 * sh.h (LOOP_ALIGN): If aligning loops, call sh_loop_align
8896 to check for special cases.
8897 * sh-protos.h (sh_loop_align): Declare.
8898 * sh.c (sh_loop_align): Define.
8900 2000-02-22 Andrew Haley <aph@cygnus.com>
8902 * config/mips/mips.h (GAS_ASM_SPEC): Pass -mgp32/-mgp64 to gas.
8903 (SIZE_TYPE): Is 32 bits when using -mgp32.
8904 (PTRDIFF_TYPE): Ditto.
8906 Wed Feb 23 07:26:27 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
8908 * diagnostic.c (init_output_buffer): Handle case of null PREFIX.
8910 2000-02-23 Zack Weinberg <zack@wolery.cumb.org>
8912 * config/i386/i386.h: If IN_TARGET_LIBS is defined, make
8913 BIGGEST_FIELD_ALIGNMENT a constant.
8915 2000-02-21 Jason Merrill <jason@casey.cygnus.com>
8917 * dwarf2out.c (output_line_info): Put the marker for the end of
8918 the line number info at the actual end.
8919 (gen_struct_or_union_type_die): Use decl_function_context
8920 to check for local classes.
8921 * dwarfout.c (output_type): Likewise.
8923 Tue Feb 22 01:38:57 2000 Jeffrey A Law (law@cygnus.com)
8925 * pa.h (FUNCTION_ARG_PASS_BY_REFERENCE): Handle pass-by-reference
8926 for arguments with a mode, but no type.
8927 (FUNCTION_ARG_CALLEE_COPIES): Similarly.
8928 * t-pa (LIB2FUNCS_EXTRA): Add quadlib.asm.
8929 * pa/long_double.h: New file.
8930 * configure.in (hpux10, hpux11 configurations): hpux10 and hpux11
8931 both have 128bit wide long doubles.
8932 * configure: Rebuilt.
8934 2000-02-21 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
8936 * defaults.h (ASM_OUTPUT_ASCII): Constify a char*.
8938 * flow.c (get_common_dest, chain_reorder_blocks, make_reorder_chain,
8939 fixup_reorder_chain, skip_insns_between_block): Add static prototypes.
8940 (life_analysis): Wrap variable `i' with macro ELIMINABLE_REGS.
8942 * haifa-sched.c (rank_for_schedule): Don't cast away const-ness.
8944 * integrate.c (compare_blocks, find_block): Likewise.
8946 * rtl.c (fatal_with_file_and_line): Add ATTRIBUTE_PRINTF_2.
8948 * rtl.h (set_file_and_line_for_stmt): Constify a char*.
8950 * stmt.c (stmt_status, set_file_and_line_for_stmt,
8951 expand_asm_operands): Likewise.
8953 Mon Feb 21 17:06:27 2000 Jason Eckhardt <jle@cygnus.com>
8955 * predict.c (estimate_probability): Added the pointer heuristic to
8956 the collection of static branch predictors.
8958 2000-02-21 Catherine Moore <clm@cygnus.com>
8960 * config/mips/mips.h (ASM_SPEC): Add -mfix700.
8961 * invoke.texi (-mfix7000): Document.
8963 2000-02-21 Gabriel Dos Reis <gdr@codesourcery.com>
8965 * diagnostic.c (init_output_buffer): Make it possible to output at
8966 least 32 characters if we're given a too long prefix.
8968 2000-02-20 Mark Mitchell <mark@codesourcery.com>
8970 * varasm.c (initializer_constant_valid_p): Call
8971 lang_expand_constant to simplify the constant.
8973 2000-02-20 Bruce Korb <bkorb@gnu.org>
8975 * fixinc/inclhack.def(stdio_va_list):
8976 typedef needs to be disabled.
8977 * fixinc/inclhack.sh: regen
8978 * fixinc/fixincl.x: regen
8980 2000-02-20 Geoff Keating <geoffk@cygnus.com>
8982 * print-rtl.c (print_rtx): Don't print addresses when
8983 flag_dump_unnumbered.
8985 2000-02-20 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
8987 * sparc.c (sparc_output_scratch_registers): Mark parameter with
8989 (sparc_va_arg, sparc_flat_output_function_prologue,
8990 sparc_flat_output_function_epilogue): Cast value to unsigned in
8992 (sparc_emit_float_lib_cmp): Remove unused variable `cmp'.
8994 * sparc.md: Add default case in switch.
8996 2000-02-19 Richard Henderson <rth@cygnus.com>
8998 * c-typeck.c (add_pending_init): Don't abort for multiple
8999 fields at the same offset.
9000 (pending_init_member): Test the correct member.
9002 2000-02-19 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
9004 * except.c (start_dynamic_handler) : Use TYPE_MODE (integer_type_node)
9006 (start_catch_handler) : Same.
9008 2000-02-19 Brad Lucier (lucier@math.purdue.edu)
9010 * Makefile.in: Have flow.o depend on $(EXPR_H)
9012 Sat Feb 19 18:43:13 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
9014 * c-common.c (decl_attributes): Set DECL_SIZE_UNIT.
9015 * c-decl.c (duplicate_decls, finish_enum): Likewise.
9016 (finish_decl): Remove -Wlarger-than code from here.
9017 * flags.h (id_clash_len): Now int.
9018 (larger_than_size): Now HOST_WIDE_INT.
9019 * fold-const.c (size_int_wide): No more HIGH parm; NUMBER is signed.
9020 Clean up checking to see if in table.
9021 (make_bit_field_ref): Remove extra parm to bitsize_int.
9022 * ggc-common.c (ggc_mark_tree_children): Mark DECL_SIZE_UNIT.
9023 * print-tree.c (print_node): Print DECL_SIZE_UNIT and TYPE_SIZE_UNIT.
9024 * stmt.c (expand_decl): Use DECL_SIZE_UNIT for stack checking size
9025 and for computing size of decl.
9026 * stor-layout.c (layout_decl): Set DECL_SIZE_UNIT.
9027 Move -Wlarger-than code to here.
9028 (layout_record): Remove extra arg to bitsize_int.
9029 Set TYPE_BINFO_SIZE_UNIT.
9030 (layout_union): Remove extra arg to bitsize_int.
9031 Use proper type for size of QUAL_UNION.
9032 (layout_type): Remove extra arg to bitsize_int.
9033 * toplev.c (id_clash_len): Now int.
9034 (larger_than_size): Now HOST_WIDE_INT.
9035 (decode_W_option): Clean up id-clash and larger-than- cases.
9036 * tree.c (get_identifier, maybe_get_identifier): Remove unneeded casts.
9037 (expr_align, case FUNCTION_DECL): DECL_ALIGN is not defined.
9038 * tree.h (BINFO_SIZE_UNIT, TYPE_BINFO_SIZE_UNIT, DECL_SIZE_UNIT): New.
9039 (struct tree_decl): New field size_unit.
9040 (size_int_wide): No HIGH operand; NUMBER is now signed.
9041 (size_int_2): Deleted.
9042 (size_int, bitsize_int): Don't use it and rework args.
9043 * varasm.c (assemble_variable, output_constructor): Use DECL_SIZE_UNIT.
9045 Fri Feb 18 20:01:58 2000 Jeffrey A Law (law@cygnus.com)
9047 * pa/quadlib.asm (_U_QFgt, _U_Qfge): Fix flags for _U_Qfcmp call.
9049 2000-02-18 Geoff Keating <geoffk@cygnus.com>
9051 * invoke.texi (Warning Options): Add an explanation of why
9052 you might want the -Wfloat-equal flag.
9054 Fri Feb 18 20:08:57 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
9056 * bitmap.c (bitmap_operation): Avoid using -1 for index since unsigned.
9057 * cppinit.c (new_pending_define): Add cast to avoid warning.
9058 * expmed.c (extract_bit_field): Likewise.
9059 * flow.c (enum reorder_skip_type): New type.
9060 (skip_insns_between_blcok): New it.
9061 Rework to avoid warning about possibly undefined variable.
9062 * function.c (assign_parms): Make thisparm_boundary unsigned.
9063 * genrecog.c (write_switch): Cast XWINT result to int.
9064 * lcm.c: Many static fcns and vars now #ifdef OPTIMIZE_MODE_SWITCHING.
9065 * mips-tfile.c (init_file): Make two versions of FDR intializer:
9066 one for MIPS and one for Alpha.
9067 (get_tag, copy_object): Add casts to avoid warnings.
9068 * optabs.c (init_one_libfunc): Cast NAME to (char *).
9069 * reload.c (find_reloads): Make TYPE enum reload_type.
9070 * sbitmap.c (dump_sbitmap): J is unsigned; don't use "1L".
9071 * unroll.c (unroll_loop): Initialize UNROLL_NUMBER.
9072 * varasm.c (compare_constant_1): Add cast to avoid warning.
9073 * config/alpha/alpha.c (alpha_emit_xfloating_libcall): Cast FUNC
9075 (alpha_expand_unaligned_load, alpha_expand_unaligned_store):
9076 Cast switch operand of size to int.
9077 (alpha_expand_epilogue): Always initialize fp_offset and sa_reg.
9078 * config/alpha/alpha.h (INITIAL_ELIMINATION_OFFSET): Add abort
9081 2000-02-18 Nick Clifton <nickc@cygnus.com>
9083 * config/arm/elf.h (ASM_OUTPUT_ALIGN): Do not generate
9084 anything for an alignment of zero.
9086 * config/arm/thumb.h (ASM_OUTPUT_ALIGN): Do not generate
9087 anything for an alignment of zero.
9089 2000-02-18 Martin von Loewis <loewis@informatik.hu-berlin.de>
9091 * gcc.texi (Bug Reporting): Refer to bugs.html.
9092 (Bug Lists): Likewise.
9093 * system.h (GCCBUGURL): New preprocessor define.
9094 * rtl.c (fancy_abort): Use it.
9095 * gcc.c (main): Likewise.
9097 2000-02-18 Richard Henderson <rth@cygnus.com>
9099 * flow.c (INSN_VOLATILE, SET_INSN_VOLATILE, uid_volatile): Remove.
9100 (life_analysis_1): Subsume into ...
9101 (life_analysis): ... here. Force PROP_REG_INFO off after reload.
9102 Use update_life_info for the relaxation.
9103 (update_life_info): Update REG_BASIC_BLOCK for registers live on
9104 entry and regs_live_at_setjmp.
9105 (set_noop_p): Simplify.
9106 (notice_stack_pointer_modification_1): Renamed from s/_1//.
9107 (record_volatile_insns): Split into ...
9108 (delete_noop_moves): ... here,
9109 (notice_stack_pointer_modification): ... here,
9110 (insn_dead_p): ... and here.
9111 (propagate_block): Don't query INSN_VOLATILE.
9112 (mark_used_regs): Mind !PROP_REG_INFO.
9113 * toplev.c (rest_of_compilation): Call mark_constant_function here,
9114 not in life_analysis.
9116 Fri Feb 18 01:29:22 EST 2000 John Wehle (john@feith.com)
9118 * loop.c (canonicalize_condition): New function,
9119 broken out of get_condition.
9120 (get_condition): Use it.
9121 * expr.h (canonicalize_condition): Prototype it.
9123 * tree.h (tree_int_cst_msb): Declare.
9124 * tree.c (tree_int_cst_msb): New function.
9126 2000-02-17 Mark Mitchell <mark@codesourcery.com>
9128 * stmt.c (set_file_and_line_for_stmt): Don't crash if cfun->stmt
9131 * invoke.texi (-fmessage-length=n): Document.
9133 2000-02-17 Jason Merrill <jason@casey.cygnus.com>
9135 * bitmap.c (bitmap_operation): Don't leak bitmap elements.
9137 2000-02-17 Mark Mitchell <mark@codesourcery.com>
9139 * function.c (thread_prologue_and_epilogue_insns): Put a line note
9142 2000-02-17 Nick Clifton <nickc@cygnus.com>
9144 * config/arm/thumb.c: Replace includes of system headers with
9145 #include "system.h".
9147 2000-02-16 Richard Henderson <rth@cygnus.com>
9149 * configure.in (alpha-linux*, alpha-netbsd) [extra_parts]:
9150 Add crtbeginS.o and crtendS.o.
9151 * alpha/elf.h (STARTFILE_SPEC): Use crtbeginS.o.
9152 (ENDFILE_SPEC): Use crtendS.o.
9153 * alpha/t-crtbe (crtbeginS.o, crtendS.o): New targets.
9155 * alpha/crtbegin.asm (__do_frame_takedown): Merge into ...
9156 (__do_global_dtors_aux): ... here. Call __cxa_finalize if
9158 (__dso_handle): New variable.
9159 * alpha/crtend.asm (__do_global_ctors_aux): Remove runtime
9160 bias to __CTOR_END__.
9162 2000-02-16 Richard Henderson <rth@cygnus.com>
9164 * Makefile.in (s-crtS, crtbeginS, crtendS): Prefix usage with $(T).
9166 Wed Feb 16 21:40:04 2000 Hans-Peter Nilsson <hp@bitrange.com>
9168 * longlong.h (__clz_tab): Declare as static to match definition.
9170 2000-02-16 Mark Elbrecht <snowball3@bigfoot.com>
9171 * i386/xm-djgpp.h (LIBSTDCXX): Delete. Moved to config/i386/djgpp.h.
9172 (XREF_FILE_NAME): Define.
9174 * i386/djgpp.h (DATA_SECTION_ASM_OP): Define.
9175 (EH_FRAME_SECTION_ASM_OP): Define.
9176 (IDENT_ASM_OP): Define.
9177 (TEXT_SECTION_ASM_OP): Define.
9179 (CTORS_SECTION_ASM_OP): Define.
9180 (CTOR_SECTION_FUNCTION): Use it.
9181 (DTORS_SECTION_ASM_OP): Define.
9182 (DTOR_SECTION_FUNCTION): Use it.
9184 2000-02-16 Zack Weinberg <zack@wolery.cumb.org>
9186 * reg-stack.c (emit_swap_insn): Do not put a new insn before a
9189 * flow.c (dump_regset, debug_regset, dump_bb, debug_bb,
9190 debug_bb_n): New functions.
9191 (dump_flow_info, print_rtl_with_bb): Use dump_regset.
9192 * basic-block.h: Prototype new functions.
9194 Wed Feb 16 21:07:53 2000 Denis Chertykov <denisc@overta.ru>
9196 * configure.in: Add support for avr target.
9197 * configure: Rebuilt.
9199 * invoke.texi: Add AVR invocation docs.
9200 * install.texi: Add information about AVR.
9201 * md.texi: Add AVR constraint letters description.
9202 * extend.texi: Add description for AVR specific attributes.
9204 2000-02-16 Jason Merrill <jason@casey.cygnus.com>
9206 * fixinc/fixinc.svr4: Wrap byteorder.h with extern "C".
9208 2000-02-16 Nick Clifton <nickc@cygnus.com>
9210 * emit-rtl.c (emit_insn): Move RTL check into make_insn_raw.
9211 (make_insn_raw): Move RTL check here.
9213 2000-02-16 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
9215 * version.c: Include gansidecl.h and version.h.
9217 * version.h: Wrap entire file in macro __GCC_VERSION_H__.
9219 * configure.in (gcc_version): When setting, narrow search to
9220 lines containing `version_string'.
9222 * Makefile.in (mainversion): Likewise.
9223 (GCC_H): New variable.
9224 (gcc.h): Delete target.
9225 (gcc.o, gccspec.o, cppspec.o): Depend on $(GCC_H), not gcc.h.
9226 (version.o): Depend on version.h.
9227 (dbxout.o): Don't depend on gcc.h.
9229 Wed Feb 16 15:04:49 2000 Hans-Peter Nilsson <hp@bitrange.com>
9230 Michael Meissner <meissner@cygnus.com>
9232 * md.texi (Simple Constraints): Add item about whitespace.
9233 * genoutput.c (strip_whitespace): New.
9234 (scan_operands) [MATCH_OPERAND, MATCH_SCRATCH]: Call
9235 strip_whitespace for constraints.
9236 Test pointer using NULL, not 0.
9238 2000-02-16 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
9240 * cpplib.c (do_line): Pedwarn for #line > 32767.
9242 * c-lex.c (readescape): Warn about '\x', but do not reject it.
9244 2000-02-15 Jonathan Larmour <jlarmour@redhat.co.uk>
9246 * gcc.c (default_compilers): Add new __GNUC_PATCHLEVEL__ define
9247 to default cpp spec.
9248 (do_spec_1): Add support for %v3 spec used by __GNUC_PATCHLEVEL__.
9249 * cpp.texi: Document __GNUC_PATCHLEVEL__.
9252 * objc/lang-specs.h: Add new __GNUC_PATCHLEVEL__ define to
9255 2000-02-15 Denis Chertykov <denisc@overta.ru>
9257 * configure.in: Add support for avr target.
9259 Wed Feb 16 03:21:43 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
9261 * sh.h (OVERRIDE_OPTIONS): Don't set sh_addr_diff_vec_mode.
9262 (sh_addr_diff_vec_mode): Don't declare.
9263 * sh.c (sh_addr_diff_vec_mode): Delete.
9265 Wed Feb 16 01:27:52 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
9267 * sh.md (mulsi3_highpart): Add REG_EQUAL note to last insn.
9269 Wed Feb 16 00:58:06 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
9271 * sh.md (udivsi3_i1, divsi3_i1, umulhisi3_i, mulhisi3_i): Name.
9272 (smulsi3_highpart_i): Name.
9273 (udivsi3): Wrap emitted insns in REG_LIBCALL / REG_RETVAL notes.
9274 (divsi3, mulhisi3, umulhisi3, mulsidi3, umulsidi3): Likewise.
9275 (smulsi3_highpart, umulsi3_highpart): Likewise.
9277 (mulsidi3_i, umulsidi3_i): Make rtl describe operation
9278 correctly independent of endianness.
9279 (mulsidi3, umulsidi3): Now define_insn. Hide details that
9280 confuse the optimizers.
9281 (mulsidi3+1, umulsidi3+1): New define_split.
9283 Tue Feb 15 23:22:26 2000 Andrew Haley <aph@cygnus.com>
9285 * config/sh/sh.md: Guard insn splits against illegal registers.
9286 * config/sh/sh.h: Correct comment about macros.
9288 Tue Feb 15 22:30:36 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
9289 Andrew MacLeod <amacleod@cygnus.com>
9291 * Makefile.in (lcm.o): Depend on insn-attr.h.
9292 * basic-block.h (optimize_mode_switching): Declare.
9293 * lcm.c (tm_p.h, insn-attr.h): #include.
9294 (seginfo, bb_info): New structs.
9295 (antic, transp, comp, delete, insert) : New file-scope static variables.
9296 (new_seginfo, add_seginfo, make_preds_opaque, reg_dies): New functions.
9297 (reg_becomes_live, optimize_mode_switching): Likewise.
9298 * tm.texi: Add description of mode switching macros.
9299 * toplev.c (rest_of_compilation): Call optimize_mode_switching.
9301 * sh-protos.h (remove_dead_before_cse): Remove prototype.
9302 (fldi_ok, fpscr_set_from_mem): New prototypes.
9303 * sh.h (OPTIMIZATION_OPTION): Remove sh_flag_remove_dead_before_cse set.
9304 (CONST_DOUBLE_OK_FOR_LETTER_P, SECONDARY_INPUT_RELOAD_CLASS):
9305 Disable fldi for (TARGET_SH4 && ! TARGET_FMOVD).
9306 (sh_flag_remove_dead_before_cse): Remove declaration.
9307 (NUM_MODES_FOR_MODE_SWITCHING, OPTIMIZE_MODE_SWITCHING): New macros.
9308 (MODE_USES_IN_EXIT_BLOCK, MODE_NEEDED, MODE_AT_ENTRY): Likewise.
9309 (MODE_PRIORITY_TO_MODE, EMIT_MODE_SET): Likewise.
9310 * sh.c (broken_move): Disable fldi for (TARGET_SH4 && ! TARGET_FMOVD).
9311 (barrier_align): Allow for JUMP_INSNS containing a parallel.
9312 (machine_dependent_reorg): Remove sh_flag_remove_dead_before_cse set.
9313 (fldi_ok): New function.
9314 (get_fpscr_rtx): Add fpscr_rtx as GC root.
9315 (emit_sf_insn): Only generate fpu switches when optimize < 1.
9316 (emit_df_insn): Likewise.
9317 (expand_fp_branch, emit_fpscr_use, remove_dead_before_cse): Delete.
9318 (sh_flag_remove_dead_before_cse): Delete.
9319 (get_free_reg, fpscr_set_from_mem): New functions.
9320 * sh.md (movdf, movsf): Remove no_new_pseudos code.
9321 (return): Remove emit_fpscr_use / remove_dead_before_cse calls.
9323 2000-02-15 Loren Rittle <ljrittle@acm.org>
9325 * ginclude/stddef.h: Correct usage of _BSD_RUNE_T_ for FreeBSD.
9327 2000-02-15 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
9329 * Makefile.in (TREE_H, collect2.o, gcc.h, mips-tfile.o, cccp.o,
9330 cpphash.o, cppinit.o, protoize.o, unprotoize.o): Depend on version.h.
9332 * cccp.c: Include version.h and/or don't declare `version_string'.
9333 * collect2.c: Likewise.
9334 * alpha.c: Likewise.
9335 * arm/aof.h: Likewise.
9336 * arm/coff.h: Likewise.
9337 * arm/elf.h: Likewise.
9338 * arm/pe.h: Likewise.
9339 * arm/tcoff.h: Likewise.
9340 * arm/telf.h: Likewise.
9341 * arm/tpe.h: Likewise.
9342 * arm/vxarm.h: Likewise.
9343 * convex/convex.c: Likewise.
9344 * i386/dgux.c: Likewise.
9345 * i386/sun386.h: Likewise.
9346 * m88k/m88k.c: Likewise.
9347 * mcore/mcore-pe.h: Likewise.
9348 * mips/mips.h: Likewise.
9349 * romp/romp.h: Likewise.
9350 * sh/sh.c: Likewise.
9351 * cpphash.c: Likewise.
9352 * cppinit.c: Likewise.
9353 * dwarf2out.c: Likewise.
9354 * dwarfout.c: Likewise.
9357 * mips-tfile.c: Likewise.
9358 * protoize.c: Likewise.
9359 * toplev.c: Likewise.
9362 * version.c (version_string): Constify a char*.
9364 * version.h: New file.
9366 2000-02-14 Nick Clifton <nickc@cygnus.com>
9368 * configure.in: Add mcore-elf and mcore-pe targets.
9369 * configure: Regenerate.
9371 * NEWS: Add note that MCore port has been contributed.
9373 * invoke.texi: Document command line switches for MCore port.
9374 * install.texi: Add MCore to list of supported targets.
9376 2000-02-14 Geoff Keating <geoffk@cygnus.com>
9378 * collect2.c (main) [COLLECT_EXPORT_LIST]: If we have frames,
9379 then we will need to import the frame handling functions.
9380 (scan_prog_file) [COLLECT_EXPORT_LIST]: We will also need
9381 to import the frames themselves.
9383 Mon Feb 14 13:31:01 2000 Stan Cox <scox@cygnus.com>
9384 Jason Eckhardt <jle@cygnus.com>
9386 * basic_block.h: Added prototype for reorder_basic_blocks.
9387 * toplev.c: Changes to add -freorder-blocks and graph dump after
9388 block reordering is done.
9389 * flow.c (reorder_block_def): New structure for use during block
9391 (REORDER_BLOCK_*): New macros to access members of above structure.
9392 (skip_insns_between_block, get_common_dest, chain_reorder_blocks,
9393 make_reorder_chain, fixup_reorder_chain, reorder_basic_blocks): New
9394 functions for block reordering.
9396 Mon Feb 14 11:24:44 2000 Hans-Peter Nilsson <hp@bitrange.com>
9398 * gcc.texi (Passes): Fix typo.
9399 * md.texi (Standard Names): Ditto.
9400 * tm.texi (Storage Layout): Ditto.
9402 2000-02-13 Zack Weinberg <zack@wolery.cumb.org>
9404 * cpplib.c (do_define): Only free the old definition if it
9407 2000-02-13 Neil Booth <NeilB@earthling.net>
9409 * cppfiles.c (read_and_prescan): When emitting deferred
9410 newlines, test speccase[] again instead of checking each
9411 possible whitespace character in turn. When we encounter \r,
9412 look behind for \n first, then ahead.
9414 2000-02-13 Zack Weinberg <zack@wolery.cumb.org>
9416 * cse.c (cse_altered): New internal flag.
9417 (cse_insn): Set it if we changed an insn.
9418 (cse_main): Clear cse_altered before each basic block.
9419 Only garbage collect if cse_altered is true afterward.
9421 Sun Feb 13 14:12:28 2000 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
9423 * sparc/sol2.h (LIB_SPEC): Link -ldl if profiling.
9425 Sun Feb 13 13:21:55 2000 Jeffrey A Law (law@cygnus.com)
9427 * combine.c (simplify_comparison): Fix typo.
9429 Sun Feb 13 12:57:52 2000 Neil Booth <NeilB@earthling.net>
9431 * prefix.c (concat, lookup_key): Use xmalloc and xrealloc
9434 2000-02-13 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
9436 * flow.c (flow_loop_tree_node_add): Use better algorithm by passing
9437 previously inserted node instead of root node. Caller changed.
9439 2000-02-13 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
9441 * basic-block.h (FLOW_LOOP_FIRST_BLOCK, FLOW_LOOP_LAST_BLOCK): Delete.
9443 2000-02-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
9445 * crtstuff.c (__do_global_ctors_aux, __reg_frame_ctor,
9446 __dereg_frame_dtor): Add prototype argument.
9448 * gthr-dce.h (__gthread_active_p, __gthread_once): Likewise.
9450 * gthr-posix.h (__gthread_active_p, __gthread_once): Likewise.
9452 * gthr-solaris.h (__gthread_active_p, __gthread_once): Likewise.
9454 * gthr-vxworks.h (__gthread_once): Likewise.
9456 * gthr-win32.h (__gthread_active_p, __gthread_once): Likewise.
9458 Sat Feb 12 01:44:26 MET 2000 Jan Hubicka <jh@suse.cz>
9460 * i386.c (ix86_emit_restore_regs_using_mov): Break out from ...
9461 (ix86_expand_epilogue): ... here. Use mov instead of add to restore
9462 stack pointer in functions w/o saved registers, output LEAVE more often
9463 on TARGET_USE_LEAVE machines.
9465 2000-02-07 Dmitri Makarov <dim@wrs.com> & Bernd Schmidt <bernds@redhat.com>
9467 * config/arm/arm.c (arm_init_cumulative_args); New function:
9468 Initlaise the CUMULATIE_ARGS strcuture for a function
9470 (arm_function_arg): New function: Determine where to place a
9471 function's argument. Also handles deciding the function's
9473 (current_file_function_operand): New function: Return true if
9474 the symbol is a function which has already been compiled.
9475 (arm_is_long_call_p): New function: Return true if the
9476 indicated function should be called via a long call.
9477 (arm_valid_type_attribute_p): New function: Return true if the
9478 attribute is a valid, arm specific, attribute.
9479 (arm_comp_type_attribute): New function: Return true if the
9480 two types have compatable, arm specific, attributes.
9482 * config/arm/arm.h (CUMULATIVE_ARGS): Redefine to be a
9484 (FUNCTION_ARG): Redefine to call arm_function_arg.
9485 (FUNCTION_ARG_PARTIAL_NREGS): Redefine to use correct
9487 (INIT_CUMULATIVE_ARGS): Redefine to call
9488 arm_init_cumulative_args.
9489 (FUNCTION_ARG_ADVANCE): Redefine to use correct structure
9491 (SETUP_INCOMING_VARARGS): Redefine to use correct structure
9493 (ARM_MARK_NEARBY_FUNCTION): New macro: Mark already compiled
9495 (ENCODE_SECTION): Add call to ARM_MARK_NEARBY_FUNCTION.
9496 (VALID_MACHINE_TYPE_ATTRIBUTE): Define.
9497 (COMP_TYPE_ATTRIBUTES): Define.
9499 * config/arm/arm.md (call): Call arm_is_long_call_p to decide
9500 if a long call is needed.
9501 (call_value): Call arm_is_long_call_p to decide if a long call
9503 (call_symbol): Call arm_is_long_call_p to decide if a long call
9506 * config/arm/arm-protos.h: Add prototype for arm_is_long_call_p.
9508 2000-02-11 Denis Chertykov <denisc@overta.ru>
9510 * README.AVR: New file with information about the avr ports.
9511 * config/avr: New directory with avr port files.
9513 2000-02-11 Andreas Jaeger <aj@suse.de>
9515 * fixinc/Makefile.in (FIXINC_DEFS): Remove unneeded @fixinc_defs@.
9517 2000-02-11 Zack Weinberg <zack@wolery.cumb.org>
9519 * cpphash.c: Fix formatting, update commentary.
9520 (dump_definition): Take three separate arguments instead of a
9521 MACRODEF structure argument.
9522 * cpphash.h: Update prototype of dump_definition.
9523 * cppinit.c (cpp_finish): Update call of dump_definition.
9525 * cpplib.c (do_define): Always create new hash entry with
9526 T_MACRO type. Remove redundant check for redefinition of
9527 poisoned identifier. Update call of dump_definition.
9528 (do_undef): Don't call check_macro_name. Rename sym_length to
9530 (do_error, do_warning): Don't use copy_rest_of_line or
9532 (do_warning): Don't use pedwarn for the actual warning,
9533 only the notice about its not being in the standard. (Fixes
9534 bug with #warning in system headers.)
9535 (do_ident): Stricter argument checking - accept only a single
9536 string after #ident. Also, macro-expand the line.
9537 (do_xifdef): Use cpp_defined. De-obfuscate.
9539 (do_pragma): Split out specific pragma handling to separate
9540 functions. Use get_directive_token. Update commentary. Do
9541 not pass on #pragma once or #pragma poison to the front end.
9542 (do_pragma_once, do_pragma_implementation, do_pragma_poison,
9543 do_pragma_default): New.
9545 Feb 11 12:30:53 2000 Jeffrey A Law (law@cygnus.com)
9547 * jump.c (jump_optimize_1): The first operand in a relational
9549 * optabs.c (emit_conditional_move): Handle relationals which
9550 have a known true/false result.
9552 2000-02-11 Geoff Keating <geoffk@cygnus.com>
9554 * function.c (thread_prologue_and_epilogue_insns): Don't insert
9555 a RETURN insn into a block which already ends with a jump.
9557 2000-02-11 Geoff Keating <geoffk@cygnus.com>
9559 * haifa-sched.c (BUF_LEN): Increase a lot.
9561 2000-02-11 Nick Clifton <nickc@cygnus.com>
9563 * configure.in: Add tm_p_file specification for thumb targets.
9564 * configure: Regenerate.
9566 * config/arm/thumb-protos.h: New file: Prototypes for exported
9567 functions defined in thumb.c.
9569 2000-02-11 Robert Lipe <robertl@sco.com>
9571 * Makefile.in (bootstrap-lean): Remove additional files.
9572 (bootstrap2-lean): Likewise.
9573 (VOL_FILES): List of files for above.
9575 2000-02-11 Nathan Sidwell <nathan@acm.org>
9577 * cpphash.c (special_symbol): Remove spurious argument to
9580 2000-02-11 Joel Sherrill (joel@OARcorp.com>
9582 * configure.in: (i*86-*-rtems*): Swapped elf and coff
9584 * configure: Rebuilt.
9586 2000-02-11 Rodney Brown <RodneyBrown@pmsc.com>
9588 * pa-protos.h: Wrap function_arg_padding in TREE_CODE #ifdef.
9590 Fri Feb 11 02:59:05 2000 Jeffrey A Law (law@cygnus.com)
9592 * pa.c, pa.h: Remove trigraph sequences within comments.
9594 Fri Feb 11 02:51:56 2000 Pavel Roskin <pavel_roskin@geocities.com>
9596 * invoke.texi (PPC Options): -mno-new-mnenomics -> -mold-mnemonics.
9598 Fri Feb 11 02:48:30 2000 Brad Lucier (lucier@math.purdue.edu)
9600 * sbitmap.h: Make SBITMAP_ELT_BITS unsigned.
9602 2000-02-11 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
9604 * config/c4x/c4x.c (fp_zero_operand): Check for CONST_DOUBLE.
9606 2000-02-11 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
9608 * config/c4x/c4x.h (ASM_GLOBALIZE_LABEL): Use c4x_global_label.
9609 (ASM_OUTPUT_EXTERNAL): Use c4x_external_ref.
9610 (ASM_OUTPUT_EXTERNAL_LIBCALL): Likewise.
9611 (ASM_FILE_END): Use c4x_file_end.
9612 * config/c4x/c4x.c (c4x_global_label): New function.
9613 (c4x_external_ref, c4x_file_end): Likewise.
9615 * config/c4x/c4x-protos.h (c4x_global_label): Add prototype.
9616 (c4x_external_ref, c4x_end_file): Likewise.
9618 2000-02-10 Zack Weinberg <zack@wolery.cumb.org>
9620 * cppexp.c: Don't include cpphash.h.
9621 (parse_charconst, cpp_lex): Use cpp_defined.
9622 (cpp_lex): Use get_directive_token throughout. Remove
9623 unnecessary cases from switch. Move assertion-handling code
9625 (cpp_parse_expr): If we see '+' or '-', check the context to
9626 determine if they are unary or binary operators. Streamline
9627 the jumps a bit. Do not call skip_rest_of_line.
9629 * cpplib.c: Make skip_rest_of_line and cpp_skip_hspace
9630 static. Export get_directive_token. Update commentary.
9631 (cpp_defined): New function.
9632 (do_define): Remove reference to T_PCSTRING. Call
9633 free_definition to release memory for old definition, when
9635 (eval_if_expression): Set only_seen_white to 0 before calling
9636 cpp_parse_expr. Call skip_rest_of_line after it returns.
9637 (cpp_read_check_assertion): Don't preserve a pointer into the
9638 token buffer across a call to cpp_get_token.
9640 * Makefile.in (cppexp.o): Don't depend on cpphash.h.
9641 * cppfiles.c (redundant_include_p): Use cpp_defined.
9642 * cpphash.c (free_definition): New function.
9643 (delete_macro): Use it. Update commentary.
9644 * cpphash.h: Typedef HASHNODE here. Prototype cpp_lookup and
9646 * cpplib.h: Don't typedef HASHNODE here. Delete T_PCSTRING
9647 from enum node_type. Prototype cpp_defined and get_directive_token.
9648 Don't prototype cpp_lookup, skip_rest_of_line, or cpp_skip_hspace.
9650 * fix-header.c (check_macro_names): Use cpp_defined.
9651 (read_scan_file): Set inhibit_warnings and inhibit_errors in
9652 the options structure.
9654 2000-02-10 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
9656 * c-pragma.c (maximum_field_alignment): Remove duplicate declaration.
9658 2000-02-10 Jason Merrill <jason@casey.cygnus.com>
9660 * dwarf2out.c (add_abstract_origin_attribute): Check TREE_CODE (origin)
9661 rather than die->die_tag.
9663 Thu Feb 10 16:26:49 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
9665 * combine.c (make_extraction, force_to_mode): Avoid warning on
9666 mixed-signedness conditionals.
9667 (make_field_assignment, nonzero_bits): Likewise.
9668 * expmed.c (store_fixed_bit_field): ALIGN arg now unsigned.
9669 (store_split_bit_field, extract_split_bit_field): Likewise.
9670 (extract_fixed_bit_field, store_bit_field,
9671 * expr.c: Change alignment to be unsigned everywhere.
9672 (move_by_pieces, store_constructor_field, store_constructor):
9673 Alignment parm is unsigned.
9674 (emit_block_move, emit_group_load, emit_group_store): Likewise.
9675 (clear_storage, emit_push_insn, compare_from_rtx): Likewise.
9676 (do_compare_rtx_and_jump): Likewise.
9677 (move_by_pieces_ninsns, clear_by_pieces): Likewise.
9678 Compare align with GET_MODE_ALIGNMENT.
9679 (expand_expr_unaligned): Pointer to alignment is pointer to unsigned.
9680 (get_inner_reference): Likewise.
9681 (copy_blkmode_from_reg, emit_push_insn): Remove unneeded casts.
9682 (expand_assignment): Local vars for alignment now unsigned.
9683 (store_constructor, store_field, expand_expr, do_jump): Likewise.
9684 (do_compare_and_jump): Likewise.
9685 (store_field): Call new function expr_align.
9686 * expr.h (emit_block_move, emit_group_load, emit_group_store):
9687 Alignment arg now unsigned.
9688 (clear_storage, emit_push_insn, compare_from_rtx): Likewise.
9689 (do_compare_rtx_and_jump, store_bit_field): Likewise.
9690 (extract_bit_field): Likewise.
9691 * fold-const.c (add_double): Add cast to eliminate signedness warning.
9692 * machmode.h (GET_MODE_ALIGNMENT): Result is unsigned.
9693 (get_best_mode): Alignment arg is unsigned.
9694 * rtl.h (move_by_pieces): Likewise.
9695 * store-layout.c (maximum_field_alignment, set_alignment):
9697 (layout_decl): Alignment arg is now unsigned.
9698 Remove unneeded casts.
9699 (layout_record, layout_union, layout_type): Remove unneeded casts.
9700 Local alignment variables now unsigned.
9701 (get_best_mode): Alignment arg now unsigned.
9702 * tree.c (expr_align): New function.
9703 * tree.h (expr_align): Likewise.
9704 (maximum_field_alignment, set_alignment): Now unsigned.
9705 (get_inner_reference): Alignment argument is now pointer to unsigned.
9706 * varasm.c (assemble_variable): Add cast to eliminate warning.
9708 Thu Feb 10 12:56:47 2000 Jim Wilson <wilson@cygnus.com>
9710 * expmed.c (store_bit_field): If op0 and fieldmode are the same size,
9711 then store directly into op0.
9713 * calls.c (expand_call): When emitting a NOTE_INSN_SETJMP, search for
9714 the CALL_INSN, and emit the note immediately after it.
9716 2000-02-10 Nick Clifton <nickc@cygnus.com>
9718 * config/arm/thumb.md (epilogue): Include a (return) in the
9719 generated insn, and emit it using emit_jump_insn not
9722 Thu Feb 10 18:28:59 MET 2000 Jan Hubicka <jh@suse.cz>
9724 * function.c (assign_temp): Change zero-sized arrays to size 1.
9725 * integrate.c (expand_inline_function): Do not update
9726 stack_alignment_needed
9727 * i386.c (compute_frame_size): Remove #ifdef PREFERRED_FRAME_BOUNDARY,
9728 add some sanity checking, remove optimization for function with
9731 2000-02-10 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
9733 * flow.c (mark_regs_live_at_end): Delete unused variables.
9735 * ggc-page.c (ggc_page_print_statistics): bzero -> memset.
9737 * integrate.c (copy_rtx_and_substitute): Wrap variable `alignment'
9738 in macro FRAME_GROWS_DOWNWARD.
9740 * stmt.c (expand_end_bindings): Delete unused variable.
9742 * unroll.c (iteration_info): Mark parameter `loop' with
9745 2000-02-10 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
9747 * fixinc/server.c (load_data): Return NULL if the marker line is
9749 (run_shell): If load_data returns NULL, retry the command once, in
9752 * configure: Rebuilt.
9754 2000-02-09 Bruce Korb <bkorb@gnu.org>
9756 * gcc/fixincludes: ** DELETED **
9757 * gcc/fixcpp: ** DELETED **
9758 * gcc/fixinc-nt.sed: ** DELETED **
9759 * gcc/just-fixinc: ** DELETED **
9760 * gcc/Makefile.in: Removed out-dated commentary
9761 * gcc/configure.in: Removed fast-fixincludes disablement.
9762 * MAINTAINERS(Ian Taylor) moved to "Write after approval" group.
9764 2000-02-09 Clinton Popetz <cpopetz@cygnus.com>
9765 * function.c (thread_prologue_and_epilogue_insns): Uncomment
9768 2000-02-09 Richard Henderson <rth@cygnus.com>
9770 * jump.c (delete_insn): Don't delete user labels at -O0.
9772 2000-02-09 Robert Lipe <robertl@sco.com>
9774 * Makefile.in (gen-protos): Don't depend on HOST_LIBDEPS.
9775 Don't link with HOST_LIBS.
9777 2000-02-09 Zack Weinberg <zack@wolery.cumb.org>
9779 * configure.in: Correct --help text for --with-dwarf2.
9780 Put tm-dwarf2.h after other tm files, if it's requested.
9781 * configure: Regenerate.
9782 * config/tm-dwarf2.h: #undef PREFERRED_DEBUGGING_TYPE before
9785 2000-02-09 Zack Weinberg <zack@wolery.cumb.org>
9787 * cpplib.h: Provide HASHNODE typedef and forward decl of
9788 struct hashnode only. Kill cpp_hashnode typedef. MACRODEF,
9789 DEFINITION, struct hashnode, struct macrodef, struct
9790 definition, scan_decls prototype, default defn of
9791 INCLUDE_LEN_FUDGE moved elsewhere.
9793 * cpphash.h: MACRODEF, DEFINITION, struct macrodef, struct
9794 definition, and struct hashnode moved here. Remove the unused
9795 'predefined' field from struct definition. Replace the 'args'
9796 union with its sole member. All users updated (cpphash.c).
9797 Delete HASHSTEP and MAKE_POS macros, and hashf prototype. Add
9798 multiple include guard.
9800 * cpphash.c (hashf): Make static; use better algorithm; drop
9801 HASHSIZE parameter; return an unsigned int.
9802 (cpp_lookup): Drop HASH parameter. PFILE parameter is
9803 used. Calculate HASHSIZE modulus here.
9804 (cpp_install): Drop HASH parameter. Calculate HASHSIZE modulus
9806 (create_definition): Drop PREDEFINITION parameter.
9807 * cpplib.c (do_define): Don't calculate a hash value here.
9808 Don't pass (keyword == NULL) to create_definition.
9810 * scan.h: Prototype scan_decls here.
9811 * cppfiles.c: Move INCLUDE_LEN_FUDGE default defn here.
9812 * cppexp.c, cppfiles.c, cppinit.c, cpplib.c, fix-header.c: All
9813 callers of cpp_lookup and cpp_install updated.
9815 * cpphash.c (macarg): Hoist all the flag diddling out of the
9817 (macroexpand): ... and out of the loop that calls macarg.
9818 Skip over the initial paren before macro arguments with
9819 cpp_get_non_space_token; point may be some distance before
9820 that paren. Abort if it's not there.
9822 * cpplib.c (parse_clear_mark): Delete function.
9823 (parse_set_mark, parse_goto_mark): Make static.
9824 (ACTIVE_MARK_P): New macro.
9825 (skip_block_comment, skip_line_comment): Do not bump the line
9826 if ACTIVE_MARK_P is true.
9827 (cpp_pop_buffer): The buffer to be popped may not have an
9829 (cpp_get_token): When looking for the initial paren before
9830 macro arguments, only set a mark in a file buffer, Always
9831 return to that mark before proceeding to call macroexpand or
9832 return a NAME token.
9834 * cpplib.h: Remove prototypes of parse_set_mark,
9835 parse_clear_mark, parse_goto_mark.
9836 (struct cpp_options): Rename 'put_out_comments' to
9837 'discard_comments' and invert its sense.
9838 * cppinit.c, cpphash.c, cpplib.c: All users of
9839 put_out_comments changed to use discard_comments, with
9842 2000-02-09 Clinton Popetz <cpopetz@cygnus.com>
9844 * function.c (thread_prologue_and_epilogue_insns): Don't delete
9845 the edge from a block that both jumps and falls through to the
9848 2000-02-09 Scott Bambrough <scottb@netwinder.org>
9850 * config/arm/arm.md (movsi): In PIC mode, make sure that a
9851 constant source address is legitimate.
9853 2000-02-09 Philip Blundell <pb@futuretv.com>
9855 * config/arm/arm.c (legitimize_pic_address): Handle LABEL_REF
9858 * config/arm/arm.h (LEGITIMATE_CONSTANT_P): Allow anything when
9860 (LEGITIMATE_PIC_OPERAND): Disallow references to labels.
9862 2000-02-09 Zack Weinberg <zack@wolery.cumb.org>
9864 * cpplib.c (cpp_define, cpp_undef): Make sure the stacked buffer
9865 ends with a newline and a NUL. Don't be so clever manipulating
9868 Wed Feb 9 14:18:08 MET 2000 Jan Hubicka <jh@suse.cz>
9870 * reload1.c (reload) Align stack frame to cfun->stack_alignment_needed,
9871 not to BIGGEST_ALIGNMENT.
9873 2000-02-08 Geoff Keating <geoffk@cygnus.com>
9875 * dwarf2.h (DW_CFA_GNU_negative_offset_extended): New constant.
9876 * dwarf2out.c (dwarf_cfi_name): Print name of new constant.
9877 (reg_save): Use DW_CFA_GNU_negative_offset_extended when needed.
9878 (output_cfi): Handle output of DW_CFA_GNU_negative_offset_extended.
9879 * frame.c (execute_cfa_insn): Handle
9880 DW_CFA_GNU_negative_offset_extended.
9882 2000-02-08 Richard Henderson <rth@cygnus.com>
9884 * flow.c (tidy_fallthru_edges): Split out from ...
9885 (delete_unreachable_blocks): ... here.
9886 (find_basic_blocks): Use it.
9888 Tue Feb 8 15:51:50 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
9890 * stmt.c (expand_decl): Do set RTX_UNCHANGING_P for TREE_READONLY.
9892 2000-02-08 Zack Weinberg <zack@wolery.cumb.org>
9894 * Makefile.in (GEN_PROTOS_OBJS): Remove libcpp.a.
9895 (gen_protos.o): Don't depend on cpplib.h or cpphash.h.
9896 (fix-header.o): Don't depend on cpphash.h.
9898 * scan.c (hashstr): New function.
9899 * scan.h: Prototype it.
9900 * fix-header.c: Don't include cpphash.h. Use hashstr.
9901 * gen-protos.c: Don't include cpphash.h or cpplib.h. Use
9902 hashstr. Report hash table statistics. Add private
9903 definition of xrealloc.
9905 2000-02-08 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
9907 * i386.h (TARGET_SWITCHES): Fix typo in option name.
9909 2000-02-08 Clinton Popetz <cpopetz@cygnus.com>
9911 * function.c (thread_prologue_and_epilogue_insns): Don't replace
9912 jumps with returns unless they are jumps to the fallthru block.
9914 Tue Feb 8 07:53:55 2000 Jan Hubicka <jh@suse.cz>
9916 * i386.md (addqi3_cc): Fix contraints.
9918 Tue Feb 8 01:39:45 2000 Hans-Peter Nilsson <hp@bitrange.com>
9920 * function.c (emit_return_into_block): Wrap in #ifdef HAVE_return.
9922 2000-02-07 Mark Mitchell <mark@codesourcery.com>
9924 * cpplib.c (cpp_get_token): Call CPP_BUMP_LINE after reading a
9925 carriage return after a macro name.
9927 2000-02-07 Fred Fish <fnf@be.com>
9929 * i386/beos-elf.h: (ASM_IDENTIFY_GCC): Define to nothing
9930 so the gcc2_compiled symbol doesn't confuse BeOS debuggers.
9932 2000-02-07 Zack Weinberg <zack@wolery.cumb.org>
9934 * cppfiles.c (deps_output): Count spacers in deps_column.
9936 2000-02-07 Neil Booth <NeilB@earthling.net>
9938 * cppinit.c (initialize_dependency_output): If there is no
9939 suffix, don't try to look for known suffixes. Use strrchr.
9940 (cpp_start_read): Remove duplicate initialization.
9942 Mon Feb 7 18:36:41 MET 2000 Jan Hubicka <jh@suse.cz>
9944 * calls.c (compute_argument_block_size): New argument
9945 preferred_stack_boundary.
9946 (expand_call): update cfun->preferred_stack_boundary, update call of
9947 compute_argument_block_size
9948 (emit_library_call): Increate cfun->preferred_stack_boundary
9949 to PREFERRED_STACK_BOUNDARY
9950 (emit_library_call_value): Likewise.
9951 * explow.c (allocate_dynamic_stack_spave): Likewise.
9952 * function.c (prepare_function_start): Set
9953 cfun->preferred_stack_boundary
9954 * function.h (struct function): Add preferred_stack_boundary field.
9955 * integrate.c (expand_inline_function): Update
9956 cfun->preferred_stack_boundary and cfun->stack_alignment_needed.
9957 (copy_rtx_and_substitute): Align frame to stack_alignment_needed only.
9958 * i386.c (compute_frame_size): Use cfun->preferred_stack_boundary.
9960 2000-02-06 Zack Weinberg <zack@wolery.cumb.org>
9962 * cpplib.c (my_strerror, cpp_error, cpp_error_with_line,
9963 cpp_error_from_errno, cpp_warning, cpp_warning_with_line,
9964 cpp_pedwarn, cpp_pedwarn_with_line,
9965 cpp_pedwarn_with_file_and_line): Move to cpperror.c.
9966 (cpp_print_file_and_line, v_cpp_error, v_cpp_warning,
9967 v_cpp_error_with_line, v_cpp_warning_with_line,
9968 cpp_message_from_errno, cpp_perror_with_name): Delete.
9970 * cpperror.c (cpp_print_containing_files): Take starting
9972 (cpp_file_line_for_message): Rename to cpp_print_file_and_line.
9973 (v_cpp_message): Now called directly by all entry points.
9975 (cpp_pfatal_with_name, cpp_message): Delete.
9976 (cpp_notice_from_errno, cpp_ice): New functions.
9977 (cpp_notice): Is now for reporting error conditions, just
9978 without an associated file.
9979 (cpp_error, cpp_error_with_line): Don't do anything if
9980 opts->inhibit_errors is on.
9981 (cpp_pedwarn_with_file_and_line): Take column argument also.
9983 * cpplib.h: Update prototypes of exported functions.
9984 (struct cpp_options): Add inhibit_errors.
9986 * cppalloc.c, cppfiles.c: Use fprintf not cpp_notice for
9987 non-error messages. Include intl.h.
9989 * cppinit.c, cppmain.c: Likewise. Also, use
9990 cpp_notice_from_errno instead of cpp_perror_with_name or
9991 cpp_pfatal_with_name, and cpp_notice instead of cpp_message.
9993 * cppexp.c, cpphash.c, cppinit.c, cpplib.c: Use cpp_ice to
9994 report internal errors.
9996 * cpplib.c (do_define): Switch bcopy to memcpy.
9997 Give cpp_pedwarn_with_file_and_line a dummy column argument.
9999 * cpplib.c (copy_rest_of_line): Revert previous change: don't
10000 bail out early if we hit a line comment.
10002 2000-02-06 Richard Henderson <rth@cygnus.com>
10004 * flow.c (flow_delete_insn, make_edge, remove_edge): Export.
10005 * basic-block.h: Declare them.
10006 * emit-rtl.h (active_insn_p): New.
10007 (next_active_insn, prev_active_insn): Use it.
10008 * rtl.h: Declare it.
10009 * function.c (emit_return_into_block): New.
10010 (thread_prologue_and_epilogue_insns): Insert return insns instead
10011 of epilogues when possible.
10012 * jump.c (jump_optimize_1): Remove code to insert a return insn
10013 on the fallthru to the exit block.
10015 * i386.c (ix86_can_use_return_insn_p): Fail for large poped args
10016 and for non-empty stack frames.
10017 * i386.md (return): Expand to return-pop as needed.
10019 2000-02-06 Richard Henderson <rth@cygnus.com>
10021 * simplify-rtx.c (simplify_relational_operation): Canonicalize
10022 constant to op1 for testing.
10024 2000-02-06 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
10026 * config/c4x/c4x.md (*ldi_on_overflow): New pattern.
10027 (fixuns_truncqfqi2): Use it.
10029 2000-02-06 Richard Henderson <rth@cygnus.com>
10031 * i386.c (ix86_agi_dependant): Handle pro_epilogue_adjust_stack
10032 as a TYPE_LEA insn.
10034 * i386.md (widening and peepholes): Mask the constant instead of
10037 2000-02-05 Zack Weinberg <zack@wolery.cumb.org>
10039 * cppfiles.c (read_and_prescan) [case SPECCASE_QUESTION]: Bump
10040 input pointer before possibly branching off to the backslash
10042 * cpphash.c (macroexpand): Correctly delete \r escapes when
10043 stringifying parameters.
10044 * cpplib.c (copy_rest_of_line): Go directly to skip_block_comment
10045 if we can; bail out early if we hit a line comment.
10046 (handle_directive): Treat '# 123' in an .S file just like
10047 '# <punctuation>'. Discard the shifted '#' if we hit '#\n'.
10048 Return 1 for '# not_a_directive'.
10049 (get_directive_token): Pop macro buffers here, so that
10050 cpp_get_token can't sneakily move past a newline.
10052 (cpp_get_token): goto randomchar if handle_directive returns 0.
10054 * cppalloc.c: Update copyright.
10055 * cpplib.c: Merge all the static function prototypes into one
10057 * cpplib.h: Remove #if 0 block.
10059 * cpperror.c: Remove #ifdef EMACS block.
10060 * cppmain.c: Likewise.
10061 * cpphash.c: Remove #if 0 blocks.
10062 * cppinit.c: Remove #if 0 blocks, and the -lint option.
10063 * cpplib.c: Remove #if 0 blocks and code referencing
10064 pcp_inside_if or for_lint. Remove duplicate error message.
10065 Fix error messages for #else after #else or #elif. Reformat.
10066 Remove archaic TODO list.
10067 * cpplib.h: Remove pcp_inside_if and for_lint flags.
10069 2000-02-05 Zack Weinberg <zack@wolery.cumb.org>
10071 * i386/osf1elf.h: Add missing backslash to multiline string.
10073 2000-02-05 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
10075 * longlong.h [sparc] (udiv_qrnnd): Avoid stringifying macro arg.
10077 2000-02-05 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
10079 * Makefile.in (c-common.o): Depend on $(EXPR_H).
10081 * c-common.c: Include expr.h.
10083 * c-pragma.c (mark_align_stack): Add prototype.
10085 * caller-save.c (add_stored_regs): Likewise.
10087 * combine.c (record_promoted_value): Likewise.
10089 * i386.c (ix86_sched_reorder_pentium, ix86_sched_reorder_ppro):
10092 * cppinit.c (new_pending_define): Likewise.
10094 * cpplib.c (skip_block_comment, skip_line_comment): Likewise.
10096 * dwarf2out.c (save_rtx, splice_child_die, reverse_die_lists,
10097 AT_class, AT_flag, AT_int, AT_unsigned, AT_string, AT_ref, AT_loc,
10098 AT_addr, AT_lbl, get_AT_ref, free_AT, free_die, local_scope_p,
10099 class_scope_p): Likewise.
10101 * dwarf2out.h (dwarf2out_set_demangle_name_func,
10102 dwarf2out_add_library_unit_info): Likewise.
10104 * ggc.h (ggc_page_print_statistics): Likewise.
10106 * haifa-sched.c (propagate_deps): Likewise.
10108 * reg-stack.c (next_flags_user, record_label_references): Likewise.
10110 * rtl.h (set_stack_check_libfunc): Likewise.
10112 * toplev.h (set_fatal_function): Likewise.
10114 * toplev.c (set_fatal_function): Delete prototype.
10116 * diagnostic.c: Deconstify functions returning malloc'ed ptrs.
10118 2000-02-05 Geoff Keating <geoffk@cygnus.com>
10120 * ginclude/ppc-asm.h (FUNC_START): Use USER_LABEL_PREFIX.
10121 (FUNC_END): Likewise.
10123 2000-02-05 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
10125 * caller-save.c: Include tm_p.h.
10127 2000-02-05 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
10129 * Makefile.in (libgcc.a): Add $(LIBGCC1) to libgcc.a after $(LIBGCC2).
10131 2000-02-04 Neil Booth <NeilB@earthling.net>
10133 * cccp.c (main): Check 'dir' for a NULL pointer before passing
10136 2000-02-04 Zack Weinberg <zack@wolery.cumb.org>
10138 * recog.h: Remove NO_MD_PROTOTYPES ifdefs.
10139 * genflags.c: Use the max_operand_1 logic from genemit.c to
10140 calculate how many arguments gen_insn prototypes have. Remove
10141 NO_MD_PROTOTYPES ifdefs from the generated file.
10142 * genoutput.c: Don't define NO_MD_PROTOTYPES in the generated
10143 file. Cast gen_insn initializers to insn_gen_fn.
10144 * config/alpha/vms.h: Don't define NO_MD_PROTOTYPES.
10145 * gcc.texi: Remove documentation of NO_MD_PROTOTYPES.
10147 2000-02-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
10149 * fixinc/Makefile.in (HDR): Add machname.h.
10152 2000-02-05 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
10154 * config/c4x/c4x.h (c4x_compare_op0, c4x_compare_op1): Move ...
10155 (c4x_regclass_map, c4x_caller_save_map, c4x_rpts_cycles): Ditto.
10156 (c4x_cpu_version): Ditto.
10157 * config/c4x/c4x-protos.h: ... here.
10159 2000-02-04 Jason Merrill <jason@casey.cygnus.com>
10161 * dwarf2out.c (add_abstract_origin_attribute): Don't call
10162 gen_abstract_function on our context if we're a nested function.
10164 2000-02-05 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
10166 * config/c4x/c4x.md (fixuns_truncqfqi2): Rewrite.
10167 * config/c4x/libgcc.S (ufix_truncqfhi2n): Fix.
10169 2000-02-04 Bruce Korb <bkorb@gnu.org>
10171 * fixinc/genfixes(machname.h):
10172 Move the functionality from gen-machine.h into this file.
10173 UNdef MN_NAME_PAT if there are no names to change.
10174 Also, be a little kinder when AutoGen is not present.
10176 * fixinc/Makefile.in(machname.h):
10177 Change the generation rule to use genfixes.
10179 * fixinc/fixfixes.c(machine_name):
10180 machine_name_fix's functionality now dependent upon whether
10181 MN_NAME_PAT is defined.
10183 * fixinc/fixtests.c(machine_name):
10186 * fixinc/fixlib.c(mn_get_regexps): conditional on definition
10189 * fixinc/fixlib.h(mn_get_regexps):
10192 * fixinc/gen-machine.h: DELETED
10194 2000-02-04 Jan Hubicka <jh@suse.cz>
10195 Richard Henderson <rth@cygnus.com>
10197 * i386.c (SAVE_REGS_FIRST): Remove.
10198 (ix86_initial_elimination_offset): Handle only SAVE_REGS_FIRST mode.
10199 (ix86_compute_frame_size): Likewise.
10200 (ix86_expand_prologue): Likewise. Use pro_epilogue_adjust_stack.
10201 (ix86_emit_restore_regs): Remove.
10202 (ix86_emit_epilogue_esp_adjustment): Use pro_epilogue_adjust_stack
10203 when a frame pointer is in use.
10204 (ix86_expand_epilogue): Handle only SAVE_REGS_FIRST mode. Use mov
10205 instead of pop to restore a register when profitable; emit leave
10207 (ix86_attr_length_default): Handle pro_epilogue_adjust_stack
10208 as a TYPE_LEA insn.
10209 (ix86_adjust_cost): Handle pro_epilogue_adjust_stack as TYPE_ALU.
10210 * i386.md (prologue_allocate_stack): Remove.
10211 (epilogue_deallocate_stack): Remove.
10212 (pro_epilogue_adjust_stack): New.
10214 2000-02-04 Richard Henderson <rth@cygnus.com>
10216 * function.c (diddle_return_value): Rework to use a callback function.
10217 Use current_function_return_rtx if it's been set up.
10218 (do_clobber_return_reg, clobber_return_register): New.
10219 (do_use_return_reg, use_return_register): New.
10220 (expand_function_end): Use them.
10221 * stmt.c (expand_null_return): Likewise.
10222 * function.h: Declare them.
10223 * flow.c (mark_regs_live_at_end): Use diddle_return_value.
10224 (mark_reg): Change arguments as appropriate for callback.
10225 * integrate.c (expand_inline_function): Revert 19 Jan change.
10227 Fri Feb 4 20:25:42 2000 Hans-Peter Nilsson <hp@bitrange.com>
10229 * tm.texi (Values in Registers): Fix typo: "fo" "for".
10230 (Misc): Say the scheduler, not the Haifa scheduler.
10232 2000-02-04 Clinton Popetz <cpopetz@cygnus.com>
10234 * jump.c (mark_jump_label): Add in_mem param, check SYMBOL_REFs
10235 when in_mem is set. Update all callers.
10237 2000-02-04 Richard Henderson <rth@cygnus.com>
10239 * i386/openbsd.h (INT_ASM_OP): Define.
10241 Fri Feb 4 10:51:30 2000 Hans-Peter Nilsson <hp@bitrange.com>
10243 * tm.texi: Fix various typos.
10245 Thu Feb 3 17:17:32 2000 Steve Ellcey <sje@cup.hp.com>
10247 * config/pa/pa-hpux11.h (LIB_SPEC): Correct typo in !p case.
10248 (MD_STARTFILE_PREFIX_1): New macro.
10250 Thu Feb 3 15:08:13 MET 2000 Jan Hubicka <jh@suse.cz>
10252 * i386.md (movstrsi, clrstrsi): Support variable sized copies, align
10253 destination when needed.
10254 (strmovsi, strsetsi): New expander.
10255 (strmovsi_1, strsetsi_1): New pattern.
10256 * i386.h (MASK_NO_ALIGN_STROP, MASK_INLINE_ALL_STROP,
10257 TARGET_ALIGN_STRINGOPS, TARGET_INLINE_ALL_STRINGOPS): New macros.
10258 (TARGET_SWITCHES) Add align-stringops and inline-all-stringops.
10259 * invoke.texi (align-stringops, inline-all-stringops): Document.
10261 Wed Feb 2 23:04:47 2000 Krister Walfridsson <cato@df.lth.se>
10263 * i386/netbsd.h (INT_ASM_OP): Define.
10265 2000-02-02 Zack Weinberg <zack@wolery.cumb.org>
10267 * cpplib.h (cpp_reader): Add new flag, no_directives.
10268 * cpphash.c (macarg): Set it.
10269 * cpplib.c (handle_directive): If no_directives is on and we
10270 find a directive, issue an error and discard the line.
10272 Wed Feb 2 13:07:10 2000 Jim Wilson <wilson@cygnus.com>
10274 * config/sparc/sparc.h (PREFERRED_RELOAD_CLASS): Delete 'E' check for
10275 FP constants. Add ! TARGET_FPU check for FP constants.
10277 2000-02-02 Clinton Popetz <cpopetz@cygnus.com>
10279 * flow.c (find_basic_blocks): Don't kill label_value_list
10281 (cleanup_cfg): Kill it here.
10283 Wed Feb 2 08:12:30 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
10285 * expr.c (store_field): Ensure ALIGN is no stricter than the
10288 2000-02-02 Richard Henderson <rth@cygnus.com>
10290 * jump.c (delete_insn): Partially revert 19 Jan change;
10291 don't convert unused code labels to notes at -O0.
10293 2000-02-02 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
10295 * toplev.c (rest_of_compilation): Run rebuild_jump_labels after
10296 split_all_insns to recreate REG_LABEL notes for flow2 pass.
10298 2000-02-01 Richard Henderson <rth@cygnus.com>
10300 * i386.c (general_no_elim_operand): New.
10301 (nonmemory_no_elim_operand): New.
10302 (ix86_expand_move): Copy eliminable operands before a push.
10303 * i386-protos.h: Declare new functions.
10304 * i386.h (CAN_ELIMINATE): Simplify.
10305 (PREDICATE_CODES): Update.
10306 * i386.md (push insns): Don't allow eliminable register operands.
10308 2000-02-01 Richard Henderson <rth@cygnus.com>
10310 * flow.c (mark_regs_live_at_end): Follow expand_function_end and
10311 replace BLKmode with DECL_RTL's mode.
10313 2000-02-01 Zack Weinberg <zack@wolery.cumb.org>
10315 * frame.c (find_fde): Convert for loop to do-while so compiler
10316 sees it's always executed at least once.
10317 * libgcc2.c (BBINBUFSIZE): Kill.
10318 (__bb_init_prg): Use fgets.
10319 (__bb_exit_trace_func): Don't paste strings.
10320 * unroll.c (unroll_loop): Initialize unroll_type, not
10321 unroll_number, and tweak logic to match.
10323 * i386.c (ix86_expand_int_movcc): Add explicit 'return 0' in
10325 (ix86_flags_dependant): Likewise. Disentangle control flow.
10326 (ix86_sched_reorder): Break guts out to
10327 ix86_sched_reorder_pentium and ix86_sched_reorder_ppro.
10328 (ix86_sched_reorder_ppro): Initialize pair2 and insnp before
10331 * i386.h (MACHINE_STATE_SAVE, MACHINE_STATE_RESTORE): Don't
10332 use string concatenation. Don't save and restore esi.
10334 * fixinc/Makefile.in (fixincl.sh): Don't depend on inclhack.def.
10335 (machname.h): Remove script to separate file. Use two-step
10336 sequence so target is not created if script fails.
10337 * fixinc/gen-machname.h: New file. Handle case where no non-reserved
10338 identifiers are defined.
10339 * fixinc/fixlib.c (mn_get_regexps): Return a flag: if MN_NAME_PAT is
10340 an empty string, machine_name doesn't need to do anything at
10342 (is_cxx_header): Add more cases to regexp.
10343 * fixinc/fixlib.h: Update prototype.
10344 * fixinc/fixtests.c, fixinc/fixfixes.c: Update callers of
10346 * fixinc/fixincl.c: Define NO_BOGOSITY.
10348 * fixinc/inclhack.def (no_double_slash, else_endif_label): Ifdef out.
10349 (hp_sysfile): Add missing comma.
10350 (math_exception): Put the wrapper ifdefs at the beginning and
10351 the end of the file.
10352 * fixinc/fixincl.x, fixinc/inclhack.sh: Regenerate.
10354 2000-02-01 Richard Henderson <rth@cygnus.com>
10356 * sparc.c (fp_zero_operand): Turn into a normal predicate.
10357 Use CONST0_RTX. Update all callers.
10358 * sparc.h, sparc-protos.h: Update accordingly.
10359 * sparc.md (fp mov insns): Use fp_zero_operand directly
10362 Wed Feb 2 02:59:45 2000 Hans-Peter Nilsson <hp@bitrange.com>
10364 * tm.texi (Values in Registers): Fix typo in HARD_REGNO_NREGS
10367 2000-02-01 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
10369 * Makefile.in (specs.ready): New target.
10370 (fixinc.sh): Depend on `specs.ready' instead of `specs'.
10372 2000-02-01 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
10374 * fixinc.irix: Use unique filenames for writing into /tmp,
10375 * fixinc.ptx: Likewise.
10376 * fixinc.sco: Likewise.
10377 * fixinc.svr4: Likewise.
10378 * fixinc.winnt: Likewise.
10380 2000-02-01 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
10382 * tsystem.h: New file.
10384 * Makefile.in (libgcc2.a, stmp-multilib, crtbegin.o, crtend.o,
10385 s-crtS): Depend on tsystem.h.
10387 * crtstuff.c: Include tsystem.h.
10388 * frame.c: Likewise.
10389 * libgcc2.c: Likewise.
10391 Tue Feb 1 19:53:27 CET 2000 Jan Hubicka <jh@suse.cz>
10393 * builtins.c (expand_builtin_memset): Expand for variable sized
10396 2000-02-01 David Billinghurst <David.Billinghurst@riotinto.com.au>
10398 * config/mips/iris6.h (SUBTARGET_ASM_SPEC) : Default ISA based
10401 Tue Feb 1 00:57:40 2000 Hans-Peter Nilsson <hp@bitrange.com>
10403 * dwarfout.c (SHORT_TYPE_SIZE): Correct default.
10405 * tm.texi (Type Layout): Correct entry for CHAR_TYPE_SIZE.
10407 2000-01-31 Chandra Chavva <cchavva@cygnus.com>
10409 * combine.c (try_combine) [HAVE_cc0]: Trying to check the missed
10410 case 3->2 combining (combining with splitting) in which 2 is CC0
10411 setter/user and 3 is user. The rest of cases 2->1 and 3->2 are
10412 checked at the begining of the function with the aid of calling
10413 function 'can_combine_p'.
10415 2000-01-31 Dave Brolley <brolley@redhat.com>
10417 * cccp.c (struct argdata): Redeclare 'newlines' field as 'int'.
10419 2000-01-31 Jason Merrill <jason@casey.cygnus.com>
10421 * jump.c (redirect_jump): Move a NOTE_INSN_FUNCTION_END to the
10424 2000-01-31 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
10426 * gansidecl.h (PROTO, VPROTO, PVPROTO): Delete macros.
10428 * sbitmap.h (sbitmap_first_set_bit, sbitmap_last_set_bit):
10431 2000-01-30 Zack Weinberg <zack@wolery.cumb.org>
10433 * i386/386bsd.h, i386/beos-pe.h, i386/bsd386.h, i386/crtdll.h,
10434 i386/cygwin.h, i386/dgux.h, i386/djgpp-rtems.h, i386/djgpp.h,
10435 i386/freebsd.h, i386/gnu.h, i386/i386-aout.h, i386/i386-coff.h,
10436 i386/i386-interix.h, i386/i386elf.h, i386/linux.h, i386/lynx-ng.h,
10437 i386/lynx.h, i386/mach.h, i386/mingw32.h, i386/moss.h,
10438 i386/netbsd.h, i386/next.h, i386/openbsd.h, i386/osf1elf.h,
10439 i386/ptx4-i.h, i386/rtems.h, i386/rtemself.h, i386/sco.h,
10440 i386/sequent.h, i386/sun.h, i386/sysv4.h, i386/uwin.h, i386/vsta.h,
10441 i386/vxi386.h, i386/win-nt.h, i386/win32.h:
10442 Remove -Di386 -Acpu(i386) -Amachine(i386) from CPP_PREDEFINES.
10444 * i386/osf1elf.h, i386/scodbx.h, i386/seq-sysv3.h, i386/sysv5.h:
10445 Add %(cpp_cpu) to CPP_SPEC.
10447 * i386/osf1elf.h, i386/osfelf.h, i386/osfrose.h:
10448 Add %(cc1_cpu) to CC1_SPEC.
10450 2000-01-28 Ulrich Drepper <drepper@redhat.com>
10452 * c-decl.c (c_decode_option): Accept optional numeric argument to
10453 -Wformat and set warn_format.
10454 * c-common.c: Don't emit warning about non-constant printf format
10455 string unless warn_format > 1.
10457 2000-01-30 Richard Henderson <rth@cygnus.com>
10459 * alpha.md (return_internal): Allow after reload only.
10461 2000-01-30 Richard Henderson <rth@cygnus.com>
10463 * i386.c (ix86_compute_frame_size): Omit padding1 if the
10464 local frame size is zero.
10466 2000-01-30 Richard Henderson <rth@cygnus.com>
10468 * alpha.c (alpha_expand_epilogue): Don't emit the return insn.
10469 * alpha.h (EPILOGUE_USES): New. Mark $26 live.
10470 * alpha.md (return): Turn into an expander.
10471 (return_internal): Don't use $26.
10472 (epilogue): Emit the return insn.
10474 2000-01-30 Richard Henderson <rth@cygnus.com>
10476 * alpha.md (negtf2, abstf2): Fix word order thinko.
10477 (extendsftf2): New.
10478 (trunctfsf2): Avoid intermediate rounding errors.
10480 2000-01-30 Zack Weinberg <zack@wolery.cumb.org>
10482 * cppfiles.c (find_position): Drop 'colp' argument, return the
10484 (read_and_prescan): Adjust to match. Don't ever manipulate
10485 line or line_base except via find_position.
10487 2000-01-29 Zack Weinberg <zack@wolery.cumb.org>
10489 * c-parse.in: Apply Ulrich's changes from c-parse.y.
10490 * c-parse.y, objc/objc-parse.y, c-parse.c, objc/objc-parse.c:
10493 2000-01-29 Zack Weinberg <zack@wolery.cumb.org>
10495 * cpperror.c (cpp_file_line_for_message): If 'line' is zero,
10496 just print "<command line>". If 'filename' is null or an
10497 empty string, print "<stdin>" for the filename.
10498 * cpplib.c (do_define): Don't print the 'location of the
10499 previous definition' message if we're still parsing the
10501 (cpp_pedwarn_with_file_and_line): Always call
10502 cpp_file_line_for_message.
10504 2000-01-29 Mark Mitchell <mark@codesourcery.com>
10506 * flow.c (mark_regs_live_at_end): Fix typo.
10508 2000-01-28 Ulrich Drepper <drepper@redhat.com>
10510 * c-common.c: Adjust variable names, comments, help strings to c99.
10511 * c-lex.c: Likewise.
10512 * c-parse.y: Likewise.
10513 * c-tree.h: Likewise.
10514 * cccp.c: Likewise.
10515 * cpplib.h: Likewise.
10516 * c-decl.c: Likewise. Recognize options with names "*99" as well.
10517 * cppinit.c: Likewise.
10519 2000-01-29 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
10521 * c4x.h (INIT_TARGET_OPTABS): Add all missing local optab entries.
10522 * c4x.c: Define the optab rtx values.
10523 (c4x_add_gc_roots): Add the ggc roots for these optab rtx values.
10524 (c4x_emit_libcall): Use new optab rtx values.
10525 (c4x_emit_libcall3): Likewise.
10526 (c4x_emit_libcall_mulhi): Likewise.
10527 * c4x-protos.h: Add prototypes for optab rtx values and change
10528 prototypes for above c4x_emit_libcall functions.
10530 2000-01-29 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
10532 * c4x.c (c4x_output_ascii): Restrict line length of output when TI
10534 (c4x_function_prologue): Use regnames intead of float_reg_names when
10536 (c4x_function_epilogue): Likewise.
10537 (c4x_print_operand): Likewise.
10538 * c4x.h (HOST_WIDE_INT_PRINT_HEX): Redefine.
10539 * c4x.md (set_high): Disable for TARGET_TI.
10541 2000-01-29 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
10543 * c4x.h (PREFERRED_RELOAD_CLASS): Change to restrict the reloading
10544 of framepointer + constant to ADDR_REGS class.
10545 * c4x.md (addqi3, addqi3_noclobber_reload): Update.
10546 * c4x.c (std_or_reg_operand): New function.
10547 * c4x-protos.h (std_or_reg_operand): Prototype it.
10549 2000-01-29 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
10551 * t-c4x: Change qi,qf,di,df into si,sf,hi,hf to generate same
10552 object names as libgcc2.c.
10553 * libgcc.S: Use newly defined names.
10555 Fri Jan 7 19:48:04 CET 2000 Jan Hubicka <jh@suse.cz>
10556 * sbitmap.c (sbitmap_first_set_bit, sbitmap_last_set_bit): New
10558 * sbitmap.h (sbitmap_first_set_bit, sbitmap_last_set_bit): Declare.
10559 * basic_block.h (FLOW_LOOP_FIRST_BLOCK): New macro.
10560 (FLOW_LOOP_LAST_BLOCK): Likewise.
10562 2000-01-21 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
10564 * basic-block.h (struct loop): New fields 'first' and 'last'.
10565 * flow.c (flow_loops_find): Compute loop->first and loop->last.
10566 (flow_loops_dump): Use loop->first to check for NOTE_INSN_LOOP_BEG
10567 and loop->last to check for NOTE_INSN_LOOP_END.
10569 Fri Jan 28 10:57:58 2000 Jason Eckhardt <jle@cygnus.com>
10571 * predict.c (estimate_probability): Use the new FIRST and LAST fields
10572 of the loop descriptor rather than HEADER and LATCH. Also added
10573 missing break statements as well making some coding style modifications
10574 as suggested by Michael Hayes.
10576 2000-01-28 Richard Henderson <rth@cygnus.com>
10578 * flow.c (find_basic_blocks): Remove do_cleanup argument.
10579 Break out that code ...
10580 (cleanup_cfg): ... here.
10581 (commit_one_edge_insertion): Detect a return instruction being
10582 emitted to an edge. Emit a barrier following; clear fallthru.
10583 (commit_edge_insertions): Verify CFG consistency.
10584 * function.c (expand_function_start): Kill unused variable.
10585 (expand_function_end): Likewise.
10586 (thread_prologue_and_epilogue_insns): Use insert_insn_on_edge
10587 to insert the epilogue.
10589 * gcse.c (gcse_main): Adjust for find_basic_blocks change.
10590 (delete_null_pointer_checks): Likewise.
10591 * output.h: Likewise.
10592 * reg-stack.c (reg_to_stack): Likewise.
10593 * toplev.c (rest_of_compilation): Likewise. Run
10594 thread_prologue_and_epilogue_insns after rebuilding the CFG.
10596 2000-01-28 Richard Henderson <rth@cygnus.com>
10598 * Makefile.in (flow.o): Revert 24 Jan change.
10599 * flow.c (mark_regs_live_at_end): Likewise. Force BLKmode
10600 FUNCTION_VALUE result to DECL_RESULT's mode.
10602 * haifa-sched.c (schedule_insns): Don't recompute reg info
10605 2000-01-28 Zack Weinberg <zack@wolery.cumb.org>
10607 * configure.in: Make --enable-cpplib the default.
10608 * configure: Regenerate.
10609 * gcc.dg/990119-1.c: No longer expected to fail.
10611 2000-01-28 Bernd Schmidt <bernds@cygnus.co.uk>
10613 * jump.c (jump_optimize_1): Delete an optimization that is also done
10614 by merge_blocks in flow.
10616 2000-01-28 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
10618 * diagnostic.c (build_message_string, output_printf,
10619 line_wrapper_printf): Add ATTRIBUTE_PRINTF_*.
10620 (build_location_prefix): Fix non-literal format string.
10622 2000-01-27 Richard Henderson <rth@cygnus.com>
10624 * alpha.md (trunctfsf2): New.
10626 2000-01-27 Andrew Hobson <ahobson@eng.mindspring.net>
10628 * configure.in (alpha-dec-osf5): Enable MASK_SUPPORT_ARCH.
10630 2000-01-27 Zack Weinberg <zack@wolery.cumb.org>
10632 * cppinit.c (cpp_handle_option): Recognize C++ comments under
10634 * cpplib.c (skip_block_comment, skip_line_comment): Split code
10636 (skip_comment) ... here. Permit C++ comments in system
10637 headers always. Warn about C++ comments in user code under
10638 -std=gnu89 -pedantic.
10639 (copy_comment): Use skip_comment.
10640 (cpp_skip_hspace, cpp_get_token): skip_comment can no longer
10642 (consider_directive_while_skipping, do_else, do_endif): Call
10643 validate_else unconditionally.
10644 (validate_else): Check CPP_PEDANTIC here. Accept non-comment
10645 text after the conditional in a system header.
10646 * cpplib.h (struct cpp_buffer): Add flag
10647 warned_cplusplus_comments.
10649 2000-01-27 Geoffrey Keating <geoffk@cygnus.com>
10651 * emit-rtl.c (unshare_all_rtl): Unshare virtual parameters too.
10652 Use unshare_all_rtl_1.
10653 (unshare_all_rtl_again): New function.
10654 (unshare_all_rtl_1): New function split out of unshare_all_rtl.
10656 * function.c (purge_addressof_1): Use unshare_all_rtl_again
10657 rather than resetting the 'used' flags ourself.
10659 * toplev.c (rest_of_compilation): Add current_function_decl
10660 to the unshare_all_rtl call.
10661 * tree.h: Prototype unshare_all_rtl.
10662 * rtl.h: Prototype unshare_all_rtl_again here.
10664 2000-01-27 Geoffrey Keating <geoffk@cygnus.com>
10666 * genoutput.c (output_prologue): Include ggc.h in generated
10668 * Makefile.in (insn-output.o): Depends on ggc.h.
10670 2000-01-27 Ian Dall <ian@sibyl.beware.dropbear.id.au>
10671 Hans-Peter Nilsson <hp@bitrange.com>
10673 * ns32k/xm-ns32k.h (memcpy, memset, memcmp): Delete.
10674 Remove redundant include of xm-ns32k.h.
10675 * ns32k/xm-genix.h (memcpy, memset, memcmp): Add definitions.
10676 Remove redundant include of xm-ns32k.h.
10677 * ns32k/xm-netbsd.h (memcpy, memset, memcmp): No longer undefine.
10678 Remove redundant include of xm-ns32k.h.
10679 * ns32k/netbsd.h (TARGET_DEFAULT): Enable multiply-add instructions.
10681 * ns32k/ns32k.h: Update comment on multiply-add instructions.
10682 (TARGET_SWITCHES): Add documentation strings.
10683 (DWARF_FRAME_REGNUM): Override default definition.
10684 (REG_CLASS_CONTENTS): Add comments.
10685 (SUBSET_P): Format to reduce line length.
10686 (SMALL_REGISTER_CLASSES): Make a run time option.
10687 (GO_IF_NONINDEXED_ADDRESS): Reformat.
10688 (GO_IF_LEGITIMATE_ADDRESS): Ensure that cfun is non NULL before
10689 dereferencing it. Braces to avoid "ambiguous else" were misplaced.
10690 (regclass_map): fix typo in comment.
10691 * ns32k/ns32k.c: Add spaces before parentheses for consistant style.
10692 Prefer gen_rtx_FOO(...) to gen_rtx(FOO,...).
10693 (trace, reg_or_mem_operand): Delete, unused function.
10694 (calc_address_cost): Small offsets are cheaper than large ones.
10695 (expand_block_move): Generate more efficient code when bytes is a
10696 known at compile time.
10697 * ns32k/ns32k.md: Alternate constraints for multiply-add instructions.
10698 (udivmodsi4, udivmodhi4, udivmodqi4): Use nonimmediate_operand
10699 instead of reg_or_mem_operand.
10701 * ns32k/ns32k.md: Use nonimmediate_operand or stricter for outputs,
10702 not general_operand. Similarly use "=rm" or stricter, not "=g".
10703 For input operands, use stricter constraints than "g" if not
10704 general_operand. Similarly use stricter predicate than
10705 "general_operand" when stricter constraints than "g" are present,
10706 except for matching constraints.
10707 (movstrsi): Use "memory_operand" for operands 0 and 1.
10708 (truncsiqi2, truncsihi2, trunchiqi2): Remove.
10709 (udivmoddisi4_internal): Use nonimmediate_operand for operand 0,
10710 not reg_or_mem_operand.
10711 (udivmoddisi4): Ditto.
10712 Use nonimmediate_operand for operand 1, not reg_or_mem_operand.
10713 Use nonimmediate_operand for operand 3, not register_operand.
10714 (udivmoddiqi4_internal): Use register_operand for operand 1, not
10715 reg_or_mem_operand.
10717 2000-01-27 Fred Fish <fnf@be.com>
10719 * gthr-posix.h: Fix typo; compatibily -> compatibility.
10720 * gthr-single.h: Likewise.
10721 * gthr-solaris.h: Likewise.
10722 * gthr-vxworks.h: Likewise.
10723 * gthr-win32.h: Likewise.
10724 * gthr.h: Likewise.
10726 2000-01-27 Zack Weinberg <zack@wolery.cumb.org>
10728 * cppinit.c: Add " (cpplib)" to end of string printed by
10731 2000-01-27 Richard Henderson <rth@cygnus.com>
10733 * alpha.c (alpha_emit_conditional_move): Use VOIDmode when
10734 testing for a signed comparison.
10735 (alpha_emit_floatuns): New.
10736 * alpha-protos.h: Declare it.
10737 * alpha.md (floatunsdisf2, floatunsdidf2): New.
10738 (extendsfdf2): Tidy.
10740 2000-01-27 Jakub Jelinek <jakub@redhat.com>
10742 * config/sparc/linux64.h (CC1_SPEC): If compiling -m32 with -g but
10743 no -g option specifying debugging format, default to -gstabs+.
10745 Wed Jan 26 22:19:14 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
10747 * calls.c (special_function_p): New argument fork_or_exec.
10748 (expand_call): When profile_arc_flag is set and the function
10749 is in the fork_or_exec group, call __bb_fork_func first.
10750 * libgcc2.c, _bb module (__bb_fork_func): New function.
10751 (__bb_exit_func): If fcntl F_SETLKW is available, use it to lock
10753 * config/svr4.h (TARGET_HAS_F_SETLKW): Define.
10754 * tree.h (special_function_p): Update prototype.
10756 2000-01-26 Richard Henderson <rth@cygnus.com>
10758 * alpha.c (alpha_split_tfmode_pair): New.
10759 * alpha-protos.h: Declare it.
10760 * alpha.md (abstf2, negtf2): New.
10761 (movtf insn): Add input G constraint.
10762 (movtf splitter): Use alpha_split_tfmode_pair.
10764 2000-01-26 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
10766 * i386/cygwin.h: PROTO -> PARAMS.
10768 2000-01-26 Jakub Jelinek <jakub@redhat.com>
10770 * config/sparc/sparc.c (sparc_emit_float_lib_cmp): Handle
10771 TARGET_ARCH32 again. Handle ORDERED, UN* and LTGT comparisons
10772 using _Qp_cmp/_Q_cmp and testing the return value.
10773 (print_operand): Call reverse_condition_maybe_unordered if
10774 we are handling CCFPmode or CCFPEmode.
10775 Handle ORDERED, UN* and LTGT comparisons.
10776 * config/sparc/sparc.md (cmptf): Use even on TARGET_ARCH32
10777 if not TARGET_HARD_QUAD.
10778 (seq, sne, sgt, slt, sge, sle, beq, bne, bgt, blt, bge, ble,
10779 bunordered, bordered, bungt, bunlt, buneq, bunge, bunle, bltgt):
10780 Call sparc_emit_float_lib_cmp even on TARGET_ARCH32.
10781 Adjust gen_b* calls so that they reflect return comparison of
10782 sparc_emit_float_lib_cmp.
10784 2000-01-26 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
10786 * config/alpha/alpha.c (alpha_emit_xfloating_cvt): Do not assume
10787 incoming operands array is large enough for one more operand.
10788 (alpha_emit_xfloating_arith): Likewise.
10790 2000-01-25 Zack Weinberg <zack@wolery.cumb.org>
10792 * fixinc/Makefile.in (machname.h): SunOS 4 sed can't handle a
10793 file with one line and no trailing newline.
10794 Patch by Kaveh Ghazi <ghazi@caip.rutgers.edu>.
10795 * fixinc/fixtests.c (machine_name_test): Fix fencepost error
10796 checking if the match is on the line.
10797 * fixinc/gnu-regex.c: Provide regerror not __regerror.
10799 2000-01-25 Richard Henderson <rth@cygnus.com>
10801 * sparc.c (output_cbranch): Fix accidental squashing of the
10802 fp branch pre-delay nop.
10804 2000-01-25 Richard Henderson <rth@cygnus.com>
10806 * tree.def (UNNE_EXPR): Remove.
10807 * c-typeck.c (build_binary_op): Don't handle it.
10808 * expr.c (expand_expr, do_jump, do_store_flag): Likewise.
10810 * rtl.def (UNNE): Remove.
10812 * jump.c (reverse_condition): Update accordingly.
10813 (swap_condition): Likewise.
10814 (comparison_dominates_p): Handle unordered comparisons.
10815 (reverse_condition_maybe_unordered): New.
10816 * rtl.h (reverse_condition_maybe_unordered): Declare.
10818 * sparc.c (select_cc_mode): Update for UNNE/LTGT.
10819 (output_cbranch): Use reverse_condition_maybe_unordered and LTGT.
10820 * sparc.h (REVERSIBLE_CC_MODE): Always true. Update docs.
10821 * sparc.md (bltgt): New.
10823 2000-01-25 Nick Clifton <nickc@redhat.com>
10825 * emit-rtl.c (emit_insn): Only check machine class insns for
10826 improper emission of a RETURN.
10828 2000-01-25 Richard Henderson <rth@cygnus.com>
10830 * Makefile.in (flow.o): Depend on $(EXPR_H).
10831 * flow.c (mark_regs_live_at_end): Use hard_function_value, i.e.
10832 duplicate the structure of diddle_return_value for keeping regs live.
10834 2000-01-26 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
10836 * loop.c (current_loop_info): Delete.
10837 (consec_sets_invariant_p): Add loop argument, update callers.
10838 (get_condition_for_loop): Likewise.
10839 (count_nonfixed_reads, update_giv_derive): Likewise.
10840 (simplify_giv_expr, general_induction_var): Likewise.
10841 (consec_sets_giv, recombine_givs): Likewise.
10842 (move_movables): Delete loop_start and loop_end arguments,
10843 add loop argument, and update callers.
10844 (find_mem_givs, check_final_value): Likewise.
10845 (record_giv, maybe_eliminate_biv, maybe_eliminate_biv_1): Likewise.
10846 (loop_invariant_p): Rename from invariant_p, add loop argument, and
10848 (basic_induction_var): Add loop argument, delete loop_level argument,
10849 and update callers.
10850 * unroll.c (iteration_info): Delete loop_start and loop_end arguments,
10851 add loop argument, and update callers.
10852 (find_splittable_regs, find_splittable_givs): Likewise.
10853 (reg_dead_after_loop, loop_find_equiv_value): Likewise.
10854 (final_biv_value, final_giv_value, back_branch_in_range_p): Likewise.
10855 (biv_total_increment): Delete loop_start and loop_end arguments;
10857 (precondition_loop_p): Delete loop_start and loop_info arguments;
10859 * loop.h (get_condition_for_loop): Add loop argument.
10860 (biv_total_increment): Delete loop_start and loop_end arguments.
10861 (precondition_loop_p): Delete loop_start and loop_info arguments;
10863 (final_biv_value): Delete loop_start and loop_end arguments;
10865 (final_giv_value, back_branch_in_range_p): Likewise.
10867 2000-01-25 Gavin Romig-Koch <gavin@cygnus.com>
10869 * config/mips/mips.h (LEGITIMATE_CONSTANT_P): Fix for mips16.
10871 2000-01-25 Gavin Romig-Koch <gavin@cygnus.com>
10873 * Makefile.in (c-gperf.h) : Change the "See" pointer to
10874 point to the new "generated_files" doc.
10876 2000-01-25 Clinton Popetz <cpopetz@cygnus.com>
10878 * config/fp-bit.c (_unord_f2): Fix typo.
10880 2000-01-25 Zack Weinberg <zack@wolery.cumb.org>
10882 * c-common.c, c-decl.c, c-lang.c, c-lex.c, c-parse.in, c-pragma.c,
10883 c-typeck.c, objc/objc-act.c: Remove all references to obstack
10884 functions obsoleted by GC, such as push_obstacks_nochange,
10885 end_temporary_allocation, savealloc, saveable_tree_cons, etc.
10886 and code which existed only to decide whether or not to call
10887 them. Remove now-unused NESTED argument from start_function;
10888 all callers changed. Do not change behavior based on ggc_p.
10889 The use of the ixp_obstack in c-iterate.c and the util_obstack
10890 in objc/objc-act.c remain; these are not obsoleted by garbage
10892 * c-tree.h: Update prototype for start_function.
10894 * c-parse.y, c-parse.c, objc/objc-parse.c, objc/objc-parse.y: Rebuild.
10896 2000-01-25 Clinton Popetz <cpopetz@cygnus.com>
10898 * config/mips/mips.md (zero_extendsidi2_internal): Disable for
10901 2000-01-25 Richard Henderson <rth@cygnus.com>
10903 * sparc-protos.h (select_cc_mode): Declare.
10904 * sparc.c (select_cc_mode): New. Handle unordered compares.
10905 (output_cbranch): Always reverse via code change. Handle
10906 unordered compares. Factor tests and string updates.
10907 * sparc.h (SELECT_CC_MODE): Split out to select_cc_mode.
10908 (REVERSIBLE_CC_MODE): Also exclude CCFPmode.
10909 * sparc.md (bunordered, bordered): New.
10910 (bungt, bunlt, buneq, bunge, bunle): New.
10912 2000-01-25 Richard Henderson <rth@cygnus.com>
10914 * dwarf2out.c (dwarf2out_init): Use ggc_add_rtx_varray_root.
10915 * ggc-common.c (ggc_add_rtx_varray_root): New.
10916 (ggc_mark_rtx_varray): New.
10917 (ggc_mark_rtx_varray_ptr): New. Shift all ggc_mark_foo_ptr
10918 functions down below ggc_mark_foo.
10919 * ggc.h (ggc_add_rtx_varray_root, ggc_mark_rtx_varray): Declare.
10921 2000-01-25 Richard Henderson <rth@cygnus.com>
10923 * alpha.c (secondary_reload_class): Don't allocate a secondary
10924 for integral mode memories into FLOAT_REGS. Rearrange the more
10925 complicated memory expression inward.
10927 2000-01-25 Zack Weinberg <zack@wolery.cumb.org>
10929 * inclhack.def: Fixes to play nicer with FreeBSD, and
10930 corrections to comments.
10931 (cxx_unready): Add select expression.
10932 (irix_sockaddr): Add bypass expression.
10933 (machine_ansi_h_va_list): New fix.
10934 (stdio_va_list): No need to edit _BSD_VA_LIST_.
10935 Split out addition of "#include <stdarg.h>" to...
10936 (stdio_stdarg_h): ... here.
10937 (systypes_for_aix): Rename to systypes_stdlib_size_t. Apply
10938 to stdlib.h also. Do not munge _BSD_SIZE_T_.
10939 (sysz_stdlib_for_sun): Delete duplicate fix for unprotected
10941 (ultrix_ifdef): Tighten up select expression.
10943 * fixincl.tpl: Exorcise 'exesel'. Rewrite calculations of
10944 re_ct and max_mach to avoid use of shell. Make printed names
10945 match names in inclhack.def. Use static copyright date.
10946 Don't count c_test and test expressions as requiring regex_t
10947 slots. Add some commentary.
10948 * inclhack.tpl: Do not include the 'This script contains N
10949 fixup scripts' line if PROGRAM is defined. Use static
10952 2000-01-24 Jason Merrill <jason@casey.cygnus.com>
10954 * dwarf2out.c: include "varray.h", not dyn-string.h.
10955 (ASM_OUTPUT_DWARF2_ADDR_CONST, ASM_NAME_TO_STRING): Lose.
10956 (addr_const_to_string, addr_to_string): Lose.
10957 (ASM_OUTPUT_DWARF_ADDR_CONST): Copy from dwarfout.c.
10958 (struct dw_val_struct): val_addr is now an rtx.
10959 (add_AT_addr, AT_addr, free_AT, output_aranges): Adjust.
10960 (used_rtx_varray): New varray.
10961 (dwarf2out_init): Initialize it.
10962 (save_rtx): New fn.
10963 (mem_loc_descriptor, add_const_value_attribute): Call it instead of
10965 * arm/telf.h, arm/unknown-elf.h, mn10200.h, mn10300.h,
10966 sparc/sp64-elf.h: Remove definition of ASM_OUTPUT_DWARF2_ADDR_CONST.
10967 * Makefile.in (dwarf2out.o): Update dependencies.
10969 2000-01-24 Richard Henderson <rth@cygnus.com>
10971 * i386.c (i386_dwarf_output_addr_const): New.
10972 * i386.h (ASM_OUTPUT_DWARF_ADDR_CONST): New.
10974 * dwarf2out.c (mem_loc_descriptor): Call ASM_SIMPLIFY_DWARF_ADDR
10976 * dwarfout.c (output_mem_loc_descriptor): Likewise.
10977 * i386.c (i386_simplify_dwarf_addr): New.
10978 * i386.h (ASM_SIMPLIFY_DWARF_ADDR): New.
10980 Mon Jan 24 16:56:10 2000 Jim Wilson <wilson@cygnus.com>
10982 * dwarf2out.c (gen_struct_or_union_type_die): Set complete if
10983 TYPE_STUB_DECL is NULL.
10985 2000-01-24 Richard Henderson <rth@cygnus.com>
10987 * builtins.c (expand_tree_builtin): Move ...
10988 * c-common.c (expand_tree_builtin): ... here.
10990 2000-01-25 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
10992 * loop.h (LOOP_INFO): New accessor macro.
10993 * basic-block.h (struct loop): Rename field `info' to `aux'.
10994 * loop.c (scan_loop): Replace loop->info with LOOP_INFO (loop).
10995 (prescan_loop, strength_reduce, check_dbra_loop, insert_bct): Likewise.
10996 * unroll.c (loop_iterations, unroll_loop): Likewise.
10998 2000-01-24 Christopher Faylor <cgf@cygnus.com>
11000 * config/i386/t-cygwin: Accomodate new winsup directory layout
11001 when searching for include files.
11003 2000-01-24 Richard Henderson <rth@cygnus.com>
11005 * rtl.def: Add unordered fp comparisions.
11006 * tree.def: Likewise.
11007 * tree.h: Add ISO C 9x unordered fp comparision builtins.
11009 * builtins.c (expand_tree_builtin): New function.
11010 * c-typeck.c (build_function_call): Use it.
11011 (build_binary_op): Support unordered compares.
11012 * c-common.c (c_common_nodes_and_builtins): Add unordered compares.
11014 * combine.c (known_cond): Handle reverse_condition returning UNKNOWN.
11015 (reversible_comparison_p): Allow UNORDERED/ORDERED to be reversed.
11016 * cse.c (fold_rtx): Check FLOAT_MODE_P before reversing.
11017 (record_jump_equiv): Handle reverse_condition returning UNKNOWN.
11018 * jump.c (reverse_condition): Don't abort for UNLE etc, but
11020 (swap_condition): Handle unordered compares.
11021 (thread_jumps): Check can_reverse before reversing.
11022 * loop.c (get_condition): Likewise. Allow UNORERED/ORDERED to be
11025 * optabs.c (can_compare_p): New argument CODE. Verify branch or
11026 setcc is present before acking for cmp_optab. Update all callers.
11027 (prepare_float_lib_cmp, init_optabs): Handle UNORDERED.
11028 * expmed.c (do_cmp_and_jump): Update for can_compare_p.
11029 * expr.c (expand_expr): Likewise. Support unordered compares.
11030 (do_jump, do_store_flag): Likewise.
11031 * expr.h (enum libfunc_index): Add unordered compares.
11033 * Makefile.in (FPBIT_FUNCS): Add _unord_sf.
11034 (DPBIT_FUNCS): Add _unord_df.
11035 * config/fp-bit.c (_unord_f2): New.
11036 * fp-test.c (main): Try unordered compare builtins.
11038 * alpha-protos.h (alpha_fp_comparison_operator): Declare.
11039 * alpha.c (alpha_comparison_operator): Check mode properly.
11040 (alpha_swapped_comparison_operator): Likewise.
11041 (signed_comparison_operator): Likewise.
11042 (alpha_fp_comparison_operator): New.
11043 (alpha_emit_conditional_branch): Handle unordered compares.
11044 * alpha.h (PREDICATE_CODES): Update.
11045 * alpha.md (fp compares): Use alpha_fp_comparison_operator.
11046 (bunordered, bordered): New.
11048 2000-01-24 Richard Henderson <rth@cygnus.com>
11050 * alpha.c (alpha_emit_xfloating_cvt): Thinko in operand manipulation.
11051 * alpha.md (movtf): New expander, insn, and splitter.
11053 Mon Jan 24 19:49:47 MET 2000 Jan Hubicka <jh@suse.cz>
11055 * reg-stack.c (subst_stack_regs_pat): Handle correctly USEs of
11058 Mon Jan 24 17:37:31 MET 2000 Jan Hubicka <jh@suse.cz>
11060 * i386.h (FIRST_PSEUDO_REGISTER): Set to 21.
11061 (FIXED_REGISTERS, CALL_USED_REGISTERS,
11062 REG_ALLOC_ORDER): Add frame pointer
11063 (FRAME_POINTER_REGNUM): Set to 20
11064 (HARD_FRAME_POINTER_REGNUM): New macro.
11065 (ELIMINABLE_REGS): Eliminate ARG_POINTER and FRAME_POINTER
11066 to HARD_FRAME_POINTER.
11067 (REGNO_OK_FOR_BASE_P): Accept FRAME_POINTER_REGNUM
11068 (REG_OK_FOR_INDEX_NONSTRICT_P): Likewise.
11069 (REG_OK_FOR_BASE_NONSTRICT_P): Likewise.
11070 (HI_REGISTER_NAMES): Add "frame".
11071 (CAN_ELIMINATE): Handle FRAME_POINTER_REGNUM elimination.
11072 (debug_reg): Handle FRAME_POINTER_REGNUM.
11073 (reg_class): Add arg pointer and frame pointer to NON_Q_REGS,
11074 GENERAL_REGS and INDEX_REGS.
11075 * i386.c (SAVED_REGS_FIRST): new macro.
11076 (AT_BP): Use hard_frame_pointer_rtx instead of frame_pointer_rtx
11077 (ix86_decompose_address, memory_address_length): Likewise.
11078 (regclass_map): Add frame pointer.
11079 (call_insn_operand): Handle frame_pointer_rtx.
11080 (reg_no_sp_operand): Likewise.
11081 (ix86_decompose_address): Handle frame_pointer_rtx as stack_pointer_rtx.
11082 (print_operand, legitimize_pic_address): Fix formating.
11083 (ix86_compute_frame_size): Make static, update prototype, new
11084 parameters padding1, padding2, use ix86_nsaved_regs, use
11085 stack_alignment_needed.
11086 (ix86_initial_elimination_offset): Handle FRAME_POINTER_REGNUM
11087 to HARD_FRAME_POINTER_REGNUM conversions.
11088 (ix86_expand_prologue): Handle SAVED_REGS_FIRST prologues.
11089 (ix86_expand_epilogue): Handle SAVED_REGS_FIRST epilogues.
11090 (print_reg): Abort on FRAME_POINTER_REGNUM
11092 Mon Jan 24 16:50:08 MET 2000 Jan Hubicka <jh@suse.cz>
11094 * i386.h (PREDICATE_CODES): Add aligned_operand.
11095 * i386.c (aligned_operand): New function.
11096 (ix86_aligned_p): Kill.
11097 * i386.md (movhi_1): Emit mov for aligned operands.
11098 (promoting peep2s): Use aligned_operand.
11100 2000-01-23 Zack Weinberg <zack@wolery.cumb.org>
11102 * fixinc/fixfixes.c (fix_char_macro_uses): Correct regular
11103 expression to allow underscores in macro names.
11104 (fix_char_macro_defines): Increment scanning pointer.
11106 2000-01-23 Richard Henderson <rth@cygnus.com>
11108 * alpha/osf.h (TARGET_HAS_XFLOATING_LIBS): Define.
11109 * alpha/osf5.h: New file.
11110 * configure.in (alpha-*-osf5): Add it to tm_file.
11112 * emit-rtl.c (operand_subword): Support TFmode on a 64-bit target.
11114 * alpha-protos.h (alpha_emit_xfloating_arith): Declare.
11115 (alpha_emit_xfloating_cvt, function_arg): Declare.
11116 * alpha.c (alpha_emit_conditional_branch): Call
11117 alpha_emit_xfloating_compare for TFmode compares.
11118 (alpha_lookup_xfloating_lib_func): New.
11119 (alpha_compute_xfloating_mode_arg): New.
11120 (alpha_emit_xfloating_libcall): New.
11121 (alpha_emit_xfloating_arith): New.
11122 (alpha_emit_xfloating_compare): New.
11123 (alpha_emit_xfloating_cvt): New.
11124 (print_operand): Add default abort case.
11125 (function_arg): Mind FUNCTION_ARG_PASS_BY_REFERENCE.
11126 * alpha.h (TARGET_HAS_XFLOATING_LIBS): New.
11127 (BIGGEST_ALIGNMENT): Increase to 128 bits.
11128 (RETURN_IN_MEMORY): True for TF/TCmode.
11129 (ALPHA_ARG_SIZE): TF/TCmode is passed indirect.
11130 (FUNCTION_ARG): Move to function_arg.
11131 (FUNCTION_ARG_PASS_BY_REFERENCE): New.
11132 (ASM_OUTPUT_LONG_DOUBLE): New.
11133 (ASM_OUTPUT_DOUBLE): Always output bits.
11134 * alpha.md (addtf3, divtf3, multf3, subtf3, cmptf): New.
11135 (fix_trunctfdi2, floatditf2, floatunsditf2): New.
11136 (extenddftf2, trunctfdf2): New.
11138 2000-01-23 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
11140 * config/sparc/sol2-sld-64.h (TRANSFER_FROM_TRAMPOLINE): Moved...
11141 * config/sparc/sol2.h: ... here.
11143 2000-01-24 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
11145 * basic-block.h (struct loops): New field `levels'.
11146 * flow.c (flow_loops_level_compute): Traverse all outer loops.
11147 (flow_loop_level_compute): Initialise level to 1.
11148 (flow_loops_find): Set loops->levels.
11149 (flow_loops_dump): Print loops->levels.
11151 2000-01-23 Richard Henderson <rth@cygnus.com>
11153 * libgcc2.c (dwarf_reg_size_table): Size with DWARF_FRAME_REGISTERS.
11154 (throw_helper): Iterate over DWARF_FRAME_REGISTERS.
11156 2000-01-23 Richard Henderson <rth@cygnus.com>
11158 * i386.c (dbx_register_map, svr4_dbx_register_map): New.
11159 * i386.h (DBX_REGISTER_NUMBER): Use them.
11160 * i386/beos-elf.h, i386/freebsd-elf.h, i386/i386elf.h: Likewise.
11161 * i386/linux.h, i386/osfrose.h, i386/ptx4-i.h: Likewise.
11162 * i386/rtemself.h, i386/sco5.h, i386/sysv4.h: Likewise.
11163 * i386/sequent.h: Kill incorrect comment.
11165 2000-01-23 Mark Mitchell <mark@codesourcery.com>
11167 * ggc-page.c (struct page_entry): Make `context_depth' an
11169 (struct globals): Likewise.
11171 2000-01-23 Clinton Popetz <cpopetz@cygnus.com>
11173 * loop.c (check_dbra_loop): When checking a loop for
11174 reversability, check the source of any stores to ensure
11175 they don't depend on an initial value.
11177 2000-01-23 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
11179 * config/c4x/c4x.h (ASM_OUTPUT_BSS): Redefine.
11181 2000-01-22 Zack Weinberg <zack@wolery.cumb.org>
11183 * fixinc/fixincl.c: Move declarations of 'pz_fname' and
11184 'pz_scan' into scope of entire function. Only affects
11185 compiles with -DDEBUG.
11187 2000-01-22 Alan Modra <alan@SPRI.Levels.UniSA.Edu.Au>
11189 * config/elfos.h (UNIQUE_SECTION): Restore uninitialised data
11190 section naming to that prior to 2000-01-07 patch.
11191 * config/mips/elf.h (UNIQUE_SECTION): Ditto.
11192 * config/mips/elf64.h (UNIQUE_SECTION): Ditto.
11193 * config/mips/iris6gld.h (UNIQUE_SECTION): Ditto.
11194 * config/i386/interix.c (UNIQUE_SECTION): Ditto.
11195 * config/i386/winnt.c (UNIQUE_SECTION): Ditto.
11197 2000-01-22 Bernd Schmidt <bernds@cygnus.co.uk>
11199 * config/arm/arm.c (soft_df_operand): Reject SUBREGs containing a
11202 2000-01-21 Jim Wilson <wilson@cygnus.com>
11204 * fixinc/inclhack.tpl: Test for directory before trying to cd into it.
11205 * fixinc/fixincl.sh, fixinc/inclhack.sh: Regenerate.
11207 2000-01-21 Zack Weinberg <zack@wolery.cumb.org>
11209 * cpphash.c (change_newlines): Delete function.
11210 (struct argdata): Delete 'newlines' and 'use_count' fields.
11211 (macroexpand): Remove code referencing those fields.
11213 2000-01-22 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
11215 * loop.c (loops_info): New variable.
11216 (loop_optimize): Allocate loops->array and free it on exit.
11217 Allocate memory for loops_info and assign to each loop,
11219 (find_and_verify_loops): Do not allocate loops->array.
11221 2000-01-21 Zack Weinberg <zack@wolery.cumb.org>
11223 * fixinc/fixfixes.c (machine_name_fix): Don't free 'scratch'.
11225 2000-01-21 Jakub Jelinek <jakub@redhat.com>
11227 * config/sparc/sparc.md (movsi_pic_label_ref): Avoid creating new
11228 pseudos if expanded after first flow.
11229 (movdi_pic_label_ref): Likewise.
11231 2000-01-20 Richard Henderson <rth@cygnus.com>
11233 * jump.c (jump_optimize_1): Don't do addr_vec optimizations at -O0.
11235 2000-01-20 Zack Weinberg <zack@wolery.cumb.org>
11237 * Makefile.in (fixinc.sh): Depend on specs.
11238 * fixinc/Makefile.in: Add rule to create machname.h.
11239 (fixlib.o): Depend on machname.h.
11240 * fixinc/fixtests.c (machine_name): New test.
11241 * fixinc/fixfixes.c (machine_name): New fix.
11242 * fixinc/fixlib.c (mn_get_regexps): New helper function for
11243 the machine_name test and fix.
11244 * fixinc/fixlib.h: Prototype it.
11245 * fixinc/inclhack.def (machine_name): Use the C test and fix.
11246 * fixinc/fixincl.x, fixinc/inclhack.sh: Rebuild.
11248 * gcc.c (do_spec_1) [case P]: Take care not to create
11249 identifiers with three leading or trailing underscores.
11251 * fixinc/Makefile.in (FIXINC_DEFS): Add -DIN_GCC.
11252 (fixincl): Don't specify libraries twice on link line.
11253 (gnu-regex.o): Remove special rule.
11254 * fixinc/gnu-regex.c: Define REGEX_MALLOC if C_ALLOCA was
11255 defined by config.h. Do not define _REGEX_RE_COMP.
11256 (regcomp): Allocate and initialize a fastmap.
11257 * fixinc/gnu-regex.h: Do not define _REGEX_RE_COMP.
11259 2000-01-20 Brad Lucier <lucier@math.purdue.edu>
11261 * Makefile.in (predict.o): Depend on $(EXPR_H), not expr.h.
11263 2000-01-19 Richard Henderson <rth@cygnus.com>
11265 * flow.c (propagate_block): Replace FIRST, LAST and BNUM
11266 arguments with BB. Update all callers. Tidy line wrapping.
11268 2000-01-19 Clinton Popetz <cpopetz@cygnus.com>
11270 * emit-rtl.c (try_split): Return last_insn if we split the
11273 Thu Jan 20 01:01:23 MET 2000 Jan Hubicka <jh@suse.cz>
11275 * i386-protos.h (ix86_compute_frame_size): Remove prototype.
11276 (ix86_initial_elimination_offset): Declare.
11277 * i386.c (ix86_nsaved_regs): Break out from ...
11278 (ix86_can_use_return_insn_p): ... here.
11279 (ix86_emit_save_regs): Break out from ...
11280 (ix86_expand_prologue): ... here.
11281 (ix86_emit_epilogue_esp_adjustment, ix86_emit_restore_regs): Break
11283 (ix86_expand_epilogue): ... here.
11284 (ix86_compute_frame_size): Make static, add prototype.
11285 (ix86_initial_elimination_offset): Break out from ...
11286 * i386.h (INITIAL_ELIMINATION_OFFSET): ... here.
11288 2000-01-19 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
11290 * recog.h (OUT_FCN): Delete.
11292 * vax.md: Call `get_insn_template' instead of OUT_FCN.
11294 2000-01-19 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
11296 * cppalloc.c: PROTO -> PARAMS.
11297 * cpperror.c: Likewise.
11298 * cppfiles.c: Likewise.
11299 * cpplib.c: Likewise.
11300 * cpplib.h: Likewise.
11302 * config/arm/arm-protos.h: PROTO -> PARAMS.
11303 * config/arm/arm.c: Likewise.
11304 * config/c4x/c4x.c: Likewise.
11305 * config/fr30/fr30-protos.h: Likewise.
11306 * config/nextstep.c: Likewise.
11307 * config/pa/pa.c: Likewise.
11308 * config/pj/pj.c: Likewise.
11309 * config/rs6000/rs6000.c: Likewise.
11310 * config/v850/v850-protos.h: Likewise.
11311 * config/v850/v850.c: Likewise.
11313 2000-01-19 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
11315 * i370-protos.h: New file.
11317 * i370.c: Include tm_p.h. Fix compile time warnings.
11319 * i370.h: Move prototypes to i370-protos.h. Fix compile time
11322 * i370.md: Likewise.
11324 2000-01-19 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
11326 * real.c (enan, einan, eiisnan, eiisneg, make_nan): Wrap in NANS.
11327 (target_isinf, target_isnan, eisnan): Mark parameter with
11329 (eiisinf): Wrap in INFINITY.
11330 (etoe113, etoe64, etoe53, etoe24): Wrap label `nonorm' in INFINITY.
11331 (ibmtoe): Remove unused variable `rndsav'.
11333 Wed Jan 19 20:23:06 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
11335 * sh.h (PASS_IN_REG_P): Remove extraneous paranthesis.
11336 (GO_IF_LEGITIMATE_ADDRESS): Added missing tab.
11338 2000-01-19 Zack Weinberg <zack@wolery.cumb.org>
11340 * fixinc/Makefile.in: Correct dependencies of fixincl and fixincl.o.
11341 * fixinc/fixfixes.c (IO_use, CTRL_use, IO_defn, CTRL_defn): New fixes.
11342 (fix_char_macro_defines, fix_char_macro_uses): New functions.
11344 * fixinc/fixlib.c (is_cxx_header): Do the text scan with a regexp.
11345 Recognize Emacs mode markers also.
11346 * fixinc/fixtests.c (else_endif_label): Fix bug in recognition of
11347 C++ comments in C++ headers. Call is_cxx_header only if
11350 * fixinc/inclhack.def (avoid_bool): Add select for the problem and
11351 bypass for ncurses.
11352 (bsd43_io_macros, io_def_quotes, ioctl_fix_ctrl): Replace with...
11353 (io_def_quotes, io_use_quotes, ctrl_def_quotes, ctrl_use_quotes):
11354 ... these, which use the new C fixes.
11355 (math_exception): Escape literal '+' in bypass expression.
11357 * fixinc/fixincl.x, fixinc/fixincl.sh, fixinc/inclhack.sh:
11360 2000-01-19 Geoff Keating <geoffk@cygnus.com>
11362 * rtlanal.c (reg_referenced_p): A CLOBBER of a MEM uses any REGs
11365 2000-01-20 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
11367 * loop.c (loop_optimize): Allocate loop_info structure for each loop
11368 prior to calling scan_loop.
11370 Wed Jan 19 19:54:38 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
11372 * sh.c (find_barrier, gen_block_redirect): Fix indentation.
11373 (split_branches, calc_live_regs): Likewise.
11375 Wed Jan 19 19:12:36 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
11377 * sh.md (fpu_single, fp_mode): New attributes.
11379 2000-01-20 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
11381 * loop.c (current_loop_info): Renamed from loop_info_data
11382 and changed to a pointer.
11383 (loop_optimize): Allocate loop_info structure for each loop
11384 and initialise to zero.
11385 (scan_loop): Set current_loop_info.
11387 * unroll.c (loop_iterations): Don't abort if REG_USERVAR_P set
11390 2000-01-19 Richard Henderson <rth@cygnus.com>
11392 * stupid.c: Die die die.
11393 * Makefile.in (OBJS): Remove stupid.o.
11394 (stupid.o): Likewise.
11396 * except.c (emit_eh_context): Don't emit USEs for stupid.
11397 * explow.c (probe_stack_range): Likewise.
11398 * flags.h (obey_regdecls): Remove.
11399 * flow.c (find_basic_blocks): Don't run try_merge_blocks
11400 when not optimizing.
11401 (life_analysis): Limit data collection when not optimizing.
11402 (mark_regs_live_at_end): Always mark the return value registers.
11403 (mark_used_regs): Remove dummy RETURN case.
11404 (print_rtl_with_bb): Don't consult obey_regdecls.
11405 * function.c (use_variable, use_variable_after): Remove.
11406 (assign_parms): Consult optimize not obey_regdecls.
11407 (expand_function_start): Don't emit USEs for stupid.
11408 (expand_function_end): Likewise.
11409 * global.c (build_insn_chain): Export.
11410 * integrate.c (expand_inline_function): Kill return-value USE
11412 * jump.c (jump_optimize_1): Do simple jump optimizations and
11413 dead code elimination.
11414 (calculate_can_reach_end): Remove check_deleted argument.
11415 (delete_insn): Patch out insns even when not optimizing.
11416 * local-alloc.c (block_alloc): Don't do tying when not optimizing.
11417 * rtl.h (use_variable, use_variable_after): Remove declarations.
11418 (build_insn_chain): Declare.
11419 * stmt.c (expand_value_return): Don't emit USEs for stupid.
11420 (expand_end_bindings): Likewise.
11421 (expand_decl): Likewise. Consult optimize not obey_regdecls.
11422 * toplev.c (obey_regdecls): Remove.
11423 (rest_of_compilation): Don't set it. Kill stupid in favour of
11424 flow1, local-alloc, and reload.
11425 (main): Don't set obey_regdecls.
11427 * config/nextstep.c (handle_pragma): Likewise.
11429 * alpha/alpha.md (allocate_stack): Don't emit USEs for stupid.
11431 * arm/arm.h (CONDITIONAL_REGISTER_USAGE): Don't fix reg 0 for stupid.
11433 2000-01-18 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
11435 * alpha-protos.h: PROTO -> PARAMS.
11436 * alpha.c: Likewise.
11438 * h8300.c: Likewise.
11439 * i386-protos.h: Likewise.
11440 * i386.c: Likewise.
11441 * m32r-protos.h: Likewise.
11442 * m32r.c: Likewise.
11443 * mips.c: Likewise.
11444 * mips.md: Likewise.
11445 * gmon-sol2.c: Likewise.
11446 * sparc.c: Likewise.
11448 2000-01-18 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
11450 * ns32k-protos.h: New file.
11452 * ns32k.c: Fix compile time warnings.
11454 * ns32k.h: Move prototypes to ns32k-protos.h. Fix compile time
11457 * ns32k.md: Likewise.
11459 2000-01-18 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
11461 * vax-protos.h: New file.
11463 * vax.c: Fix compile time warnings.
11465 * vax.h: Move prototypes to vax-protos.h. Fix compile time
11468 * vax.md: Likewise.
11470 * vaxv.md: Likewise.
11472 2000-01-18 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
11474 * romp-protos.h: New file.
11476 * romp.c: Fix compile time warnings.
11478 * romp.h: Move prototypes to romp-protos.h. Fix compile time
11481 * romp.md: Likewise.
11483 2000-01-18 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
11485 * we32k-protos.h: New file.
11487 * we32k.c: Fix compile time warnings.
11489 * we32k.h: Move prototypes to we32k-protos.h. Fix compile time
11492 2000-01-18 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
11494 * calls.c (emit_call_1): Mark parameter with ATTRIBUTE_UNUSED.
11496 * except.c (eh_regs): Likewise.
11498 * final.c (output_operand): Likewise.
11500 * fold-const.c (target_isinf, target_isnan): Likewise.
11502 Tue Jan 18 16:19:55 MET 2000 Jan Hubicka <hubicka@freesoft.cz>
11504 * i386.h (BIGGEST_ALIGNMENT): Set to 128.
11505 (BIGGEST_FIELD_ALIGNMENT): Set to (TARGET_ALIGN_DOUBLE ? 64 : 32)
11507 * i386.md (memstr): Do not use rep stosb for counts divisible by 4
11508 when optimize_size.
11509 (clrstrsi): Rewrite.
11510 (strsethi, strsetqi): New expanders.
11511 (strsethi_1, strsetqi_1, rep_stossi, rep_stosqi): New insn patterns.
11512 (cmpstrsi): Emit compare insn before cmpstrsi_1
11513 (cmpstrsi_nz): use flags, set type to str, prefix_length to 1.
11514 (strlensi_1): Likewise.
11515 (cmpstrsi_1): Likewise; do not output compare.
11516 (strlen expander): Do not unroll when optimizing for size.
11517 (*subsi3_carry): Rename to subsi3_carry
11518 (addqi3_cc): New pattern.
11519 * i386.h (processor_costs): Add move_ratio field.
11520 (MOVE_RATIO): Use move_ratio field, set to 3 for OPTIMIZE_SIZE
11521 * i386.c (*_cost): Set move_ratio.
11522 (x86_unroll_strlen): Enable for Athlon, PPro and K6 too.
11523 (x86_expand_strlensi_1): Rewrite the main loop.
11525 2000-01-17 Richard Henderson <rth@cygnus.com>
11527 * combine.c (combine_simplify_rtx): Give FLOAT_STORE_FLAG_VALUE a mode.
11528 * cse.c (find_comparison_args, fold_rtx): Likewise.
11529 * integrate.c (subst_constants): Likewise.
11530 * loop.c (get_condition): Likewise.
11532 * tm.texi (FLOAT_STORE_FLAG_VALUE): Update docs.
11534 * alpha.h (FLOAT_STORE_FLAG_VALUE): Use REAL_VALUE_ATOF.
11536 2000-01-18 Martin v. Löwis <loewis@informatik.hu-berlin.de>
11538 * c-parse.in (SAVE_WARN_FLAGS): Create an INTEGER_CST.
11539 (RESTORE_WARN_FLAGS): Unpack it.
11540 Change semantic type of extension to ttype.
11541 * c-common.c (split_specs_attrs): Expect an INTEGER_CST.
11542 * c-parse.y, c-parse.c, objc/objc-parse.y,
11543 objc/objc-parse.c: Regenerate.
11545 2000-01-17 Zack Weinberg <zack@wolery.cumb.org>
11547 * fixinc/fixlib.c: Add copyright notice.
11548 (compile_re): New function.
11549 * fixinc/fixlib.h: Prototype compile_re.
11551 * fixinc/fixfixes.c, fixinc/fixtests.c, fixinc/fixincl.c:
11552 Use compile_re to compile regular expressions.
11554 * fixinc/fixincl.c (egrep_test): Don't bother asking regexec
11555 where the pattern matched.
11557 * fixinc/inclhack.def (sun_memcpy): Move to AAB_sun_memcpy,
11559 (ultrix_ansi_compat): Likewise.
11560 (interactv_add1): Rename to 'isc_omits_with_stdc', remove shell test,
11562 (interactv_add2, interactv_add3): Delete.
11563 (x11_sprintf): Don't use filename glob.
11564 * fixinc/fixincl.x, fixinc/inclhack.sh, fixinc/fixincl.sh:
11567 2000-01-17 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
11569 * print-rtl.c: PROTO -> PARAMS.
11570 * real.c: Likewise.
11571 * reg-stack.c: Likewise.
11572 * resource.c: Likewise.
11573 * sdbout.h: Likewise.
11574 * simplify-rtx.c: Likewise.
11575 * stor-layout.c: Likewise.
11576 * stupid.c: Likewise.
11577 * xcoffout.c: Likewise.
11578 * xcoffout.h: Likewise.
11580 2000-01-17 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
11582 * toplev.c: PROTO -> PARAMS.
11583 * toplev.h: Likewise.
11584 * tree.c: Likewise.
11585 * tree.h: Likewise.
11586 * unroll.c: Likewise.
11587 * varasm.c: Likewise.
11588 * varray.c: Likewise.
11589 * varray.h: Likewise.
11591 2000-01-17 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
11593 * reload.c: PROTO -> PARAMS.
11594 * reload.h: Likewise.
11595 * reload1.c: Likewise.
11596 * reorg.c: Likewise.
11597 * resource.h: Likewise.
11600 * rtlanal.c: Likewise.
11601 * sbitmap.h: Likewise.
11602 * sdbout.c: Likewise.
11603 * stack.h: Likewise.
11604 * stmt.c: Likewise.
11605 * system.h: Likewise.
11607 2000-01-17 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
11609 * machmode.h: PROTO -> PARAMS.
11610 * mbchar.h: Likewise.
11611 * mips-tdump.c: Likewise.
11612 * mips-tfile.c: Likewise.
11613 * optabs.c: Likewise.
11614 * output.h: Likewise.
11615 * prefix.c: Likewise.
11616 * profile.c: Likewise.
11617 * protoize.c: Likewise.
11618 * real.h: Likewise.
11619 * recog.c: Likewise.
11620 * recog.h: Likewise.
11621 * regclass.c: Likewise.
11622 * regmove.c: Likewise.
11623 * regs.h: Likewise.
11625 2000-01-17 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
11627 * ggc-common.c: PROTO -> PARAMS.
11628 * ggc-page.c: Likewise.
11629 * ggc-simple.c: Likewise.
11631 * global.c: Likewise.
11632 * graph.c: Likewise.
11633 * gthr-win32.h: Likewise.
11634 * haifa-sched.c: Likewise.
11635 * halfpic.h: Likewise.
11636 * integrate.c: Likewise.
11637 * integrate.h: Likewise.
11638 * jump.c: Likewise.
11640 * local-alloc.c: Likewise.
11641 * loop.c: Likewise.
11642 * loop.h: Likewise.
11644 2000-01-17 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
11646 * genattr.c: PROTO -> PARAMS.
11647 * genattrtab.c: Likewise.
11648 * gencheck.c: Likewise.
11649 * gencodes.c: Likewise.
11650 * genconfig.c: Likewise.
11651 * genemit.c: Likewise.
11652 * genextract.c: Likewise.
11653 * genflags.c: Likewise.
11654 * gengenrtl.c: Likewise.
11655 * genopinit.c: Likewise.
11656 * genoutput.c: Likewise.
11657 * genpeep.c: Likewise.
11658 * genrecog.c: Likewise.
11660 2000-01-16 Mark Mitchell <mark@codesourcery.com>
11662 * tree.h (BINFO_VPTR_FIELD): Augment documentation.
11664 2000-01-16 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
11666 * aclocal.m4 (AC_FUNC_MMAP_ZERO): New macro.
11667 * configure.in (AC_FUNC_MMAP_ZERO): Use instead of AC_FUNC_MMAP.
11668 * ggc-page.c: Replace HAVE_MMAP with HAVE_MMAP_ZERO.
11669 * configure, config.in: Rebuilt.
11671 2000-01-16 Zack Weinberg <zack@wolery.cumb.org>
11673 * config/i386/i386.md: Add peephole to merge successive stack
11676 Sat Jan 15 15:41:14 EST 2000 John Wehle (john@feith.com)
11678 * gcse.c (insert_insn_end_bb): Use emit_block_insn_before
11679 instead of emit_insn_before. Also handle NOTE_INSN_BASIC_BLOCK
11680 when walking backwards to find all the parameter loads when
11681 the basic block ends in a call.
11683 2000-01-15 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
11685 * loop.c (this_loop_info): Delete.
11686 (uid_loop): Add in place of uid_loop_num. All uses updated.
11687 (loop_number_exit_count): Delete and replace with entry in loop
11688 structure. All uses updated.
11689 (loop_number_loop_starts, loop_number_loop_ends): Likewise.
11690 (loop_number_loop_cont, loop_number_cont_dominator): Likewise.
11691 (loop_outer_loop): Likewise.
11692 (loop_invalid, loop_number_exit_labels): Likewise.
11693 (loop_used_count_register): Delete and replace with entry in
11694 loop_info structure.
11695 (find_and_verify_loops): Add loops argument.
11696 (verify_dominator, mark_loop_jump, prescan_loop): Replace loop_start,
11697 loop_end, etc. arguments with loop structure pointer. All callers
11699 (loop_reg_used_before_p, scan_loop, strength_reduce): Likewise.
11700 (check_dbra_loop, next_insn_in_loop, try_copy_prop): Likewise.
11701 (load_mems_and_recount_loop_regs_set, load_mems): Likewise.
11702 (insert_bct): Likewise.
11703 (basic_induction_var): New argument level.
11704 * loop.h (struct loop_info): Delete fields num, loops_enclosed,
11705 vtop, and cont. Add used_count_register.
11706 (uid_loop): Delete declaration.
11707 (loop_number_exit_count): Likewise.
11708 (loop_number_loop_starts, loop_number_loop_ends): Likewise.
11709 (loop_number_loop_cont, loop_number_cont_dominator): Likewise.
11710 (loop_outer_loop, loop_used_count_register): Likewise.
11711 (loop_invalid, loop_number_exit_labels): Likewise.
11712 (unroll_loop): Replace loop_start and loop_end arguments
11713 with loop structure pointer.
11714 (loop_precondition_p, loop_iterations): Likewise.
11715 Include basic-block.h.
11716 * unroll.c: (unroll_loop): Replace loop_start and loop_end arguments
11717 with loop structure pointer.
11718 (loop_precondition_p, loop_iterations): Likewise.
11719 * basic-block.h (struct loop): New entries vtop, cont,
11720 cont_dominator, start, end, top, scan_start, exit_labels,
11722 * Makefile.in (LOOP_H): Add basic-block.h to dependencies.
11724 2000-01-15 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
11726 * defaults.h (ASM_OUTPUT_ASCII): Use ISDIGIT.
11728 2000-01-14 Nathan Sidwell <sidwell@codesourcery.com>
11730 * config.in: Rebuilt for 2000-01-13 change to acconfig.h.
11732 2000-01-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
11734 * pdp11-protos.h: New file.
11736 * pdp11.c: Include tm_p.h. Add static prototypes. Fix compile
11739 * pdp11.h: Move prototypes to pdp11-protos.h. Fix compile time
11742 * pdp11.md: Likewise.
11744 * 2bsd.h: Likewise.
11746 2000-01-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
11748 * mn10300-protos.h: New file.
11750 * mn10300.c: Include tm_p.h. Add static prototypes. Fix compile
11753 * mn10300.h: Move prototypes to mn10300-protos.h. Fix compile time
11756 * mn10300.md: Likewise.
11758 2000-01-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
11760 * mn10200-protos.h: New file.
11762 * mn10200.c: Include tm_p.h. Add static prototypes. Fix compile
11765 * mn10200.h: Move prototypes to mn10200-protos.h. Fix compile time
11768 * mn10200.md: Likewise.
11770 2000-01-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
11772 * h8300-protos.h: New file.
11774 * h8300.c: Include tm_p.h. Add static prototypes. Fix compile
11777 * h8300.h: Move prototypes to h8300-protos.h. Fix compile time
11780 * h8300.md: Likewise.
11782 2000-01-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
11784 * varasm.c (asm_output_bss): Mark parameters with ATTRIBUTE_UNUSED.
11785 (asm_emit_uninitialised): Likewise.
11787 2000-01-13 Gavin Romig-Koch <gavin@cygnus.com>
11789 * config/mips/mips.h (ISA_HAS_INT_CONDMOVE): New.
11790 * config/mips/mips.md: Use ISA_HAS_INT_CONDMOVE.
11792 2000-01-14 Clinton Popetz <cpopetz@cygnus.com>
11794 * config/mips/mips.c (override_options): Don't turn on extra
11795 alignment for mips16.
11797 2000-01-14 Clinton Popetz <cpopetz@cygnus.com>
11799 * config/mips/mips.c (mips_va_arg): Fix fprv for the 32 bit
11800 eabi, and make sure queued POSTINCREMENT rtl is emitted at
11803 2000-01-14 Clinton Popetz <cpopetz@cygnus.com>
11805 * builtins.c (PAD_VARARGS_DOWN): Define.
11806 (std_expand_builtin_va_arg): Use the above macro.
11807 * config/mips/mips.h (PAD_VARARGS_DOWN): Define.
11808 * tm.texi (Register Arguments): Document the above macro.
11810 2000-01-14 Nick Clifton <nickc@cygnus.com>
11812 * emit-rtl.c (emit_insn): If checking is enabled, make sure
11813 that this function has not been used to emit a jump
11816 * jump.c (return_jump_1): Cope with being passed a null rtx.
11818 2000-01-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
11820 * eh-common.h: PROTO -> PARAMS.
11821 * emit-rtl.c: Likewise.
11822 * errors.c: Likewise.
11823 * errors.h: Likewise.
11824 * except.c: Likewise.
11825 * except.h: Likewise.
11826 * explow.c: Likewise.
11827 * expmed.c: Likewise.
11828 * expr.c: Likewise.
11829 * expr.h: Likewise.
11830 * final.c: Likewise.
11831 * fix-header.c: Likewise.
11832 * flow.c: Likewise.
11833 * fold-const.c: Likewise.
11834 * function.c: Likewise.
11835 * function.h: Likewise.
11837 * gcov-io.h: Likewise.
11838 * gcov.c: Likewise.
11839 * gcse.c: Likewise.
11841 2000-01-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
11843 * sh-protos.h: New file.
11845 * sh.c: Include insn-config.h, toplev.h, recog.h and tm_p.h.
11846 Add static prototypes. Fix compile time warnings.
11848 * sh.h: Move prototypes to sh-protos.h. Fix compile time warnings.
11852 2000-01-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
11854 * arc-protos.h: New file.
11856 * arc.c: Include tm_p.h. Add static prototypes. Fix compile
11859 * arc.h: Move prototypes to arc-protos.h. Fix compile time
11862 * arc.md: Likewise.
11864 2000-01-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
11866 * dsp16xx-protos.h: New file.
11868 * dsp16xx.c: Include tm_p.h. Add static prototypes. Fix compile
11871 * dsp16xx.h: Move prototypes to dsp16xx-protos.h. Fix compile time
11874 * dsp16xx.md: Likewise.
11876 2000-01-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
11878 * convex-protos.h: New file.
11880 * convex.c: Include tm_p.h. Add static prototypes. Fix compile
11883 * convex.h: Move prototypes to convex-protos.h. Fix compile time
11886 2000-01-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
11888 * elxsi-protos.h: New file.
11890 * elxsi.c: Include tm_p.h. Add static prototypes. Fix compile
11893 * elxsi.h: Move prototypes to elxsi-protos.h. Fix compile time
11896 * elxsi.md: Likewise.
11898 2000-01-14 Clinton Popetz <cpopetz@cygnus.com>
11900 * config/mips/mips.h (REGISTER_MOVE_COST): Remove redundant
11901 case for moving from HI/LO/HI_LO_REG. This makes the behavior
11902 match the comment for MIPS16.
11904 Fri Jan 14 00:28:06 2000 Jeffrey A Law (law@cygnus.com)
11906 * flow.c (split_edge): Do not call set_block_for_insn if we
11907 do not have a basic_block_for_insn structure.
11909 * fr30.h (TRAMPOLINE_TEMPLATE): Use nops to ensure the static chain
11910 and destination functions are 32bit aligned within the trampoline.
11911 (TRAMPOLINE_SIZE, INITIALIZE_TRAMPOLINE): Corresponding changes.
11912 (TRAMPOLINE_ALIGNMENT): Define.
11914 * cse.c (cse_insn): When changing (set (pc) (reg)) to
11915 (set (pc) (label_ref)), verify the change creates a valid insn.
11917 * fr30.c (call_operand): Tighten and rework to match rules for
11918 call RTL expressions.
11919 * fr30.h (PREDICATE_CODES, case call_operand): Only allow MEMs.
11920 * fr30.md (call patterns): Improve constraints.
11922 Thu Jan 13 23:44:03 2000 Richard Henderson <rth@cygnus.com>
11924 * fr30.c (fr30_expand_epilogue): Revert last change.
11925 Use emit_jump_insn for the return insn.
11927 Thu Jan 13 14:46:03 2000 Jason Eckhardt <jle@cygnus.com>
11928 Stan Cox <scox@cygnus.com>
11930 * predict.c: New file. Preliminary infrastructure work for static
11931 branch prediction and basic block reordering.
11932 * basic-block.h: Add prototype for estimate_probability.
11933 * Makefile.in: Add rules for predict.o.
11935 2000-01-13 Jason Merrill <jason@yorick.cygnus.com>
11937 * fixincludes (va_list): Use __not_va_list__ for the dummy.
11938 * fixinc/*: Likewise.
11940 2000-01-13 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
11942 * cccp.c: PROTO -> PARAMS.
11943 * cexp.y: Likewise.
11944 * collect2.c: Likewise.
11945 * combine.c: Likewise.
11946 * convert.h: Likewise.
11948 * dbxout.c: Likewise.
11949 * dbxout.h: Likewise.
11950 * diagnostic.c: Likewise.
11951 * doprint.c: Likewise.
11952 * dwarf2out.c: Likewise.
11953 * dwarf2out.h: Likewise.
11954 * dwarfout.c: Likewise.
11955 * dwarfout.h: Likewise.
11956 * dyn-string.h: Likewise.
11958 2000-01-13 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
11960 * calls.c (emit_call_1): Wrap varaible `struct_value_size_rtx' in
11961 macro conditionals guarding use.
11963 * dwarf2out.c: Include "tm_p.h".
11965 * function.c (locate_and_pad_parm): Mark parameter with
11967 (expand_function_end): Likewise for variable `context'.
11969 * reorg.c (make_return_insns): Wrap prototype in macro HAVE_return.
11971 2000-01-13 Nick Clifton <nickc@cygnus.com>
11973 * config/fr30/fr30.c (fr30_expand_epilogue): Emit USEs of pop'ed
11974 register to prevent compile time warnings.
11976 2000-01-13 Zack Weinberg <zack@wolery.cumb.org>
11978 * longlong.h [i386] (udiv_qrnnd): Rename 'd' argument to 'dv'
11979 to avoid -Wtraditional warning.
11981 2000-01-13 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
11983 * 1750a-protos.h: New file.
11985 * 1750a.c: Include tm_p.h. Add static prototypes. Fix compile
11988 * 1750a.h: Move prototypes to 1750a-protos.h. Fix compile time
11991 * 1750a.md: Likewise.
11993 2000-01-13 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
11995 * a29k-protos.h: New file.
11997 * a29k.c: Include tm_p.h. Add static prototypes. Fix compile
12000 * a29k.h: Move prototypes to a29k-protos.h. Fix compile time
12003 2000-01-13 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
12005 * clipper-protos.h: New file.
12007 * clipper.c: Include tm_p.h. Add static prototypes. Fix compile
12010 * clipper.h: Move prototypes to clipper-protos.h. Fix compile time
12013 Thu Jan 13 16:03:06 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
12015 * reload1.c (reload_combine_note_store): Use HARD_REGNO_NREGS.
12017 2000-01-13 Nathan Sidwell <sidwell@codesourcery.com>
12019 * configure.in (--enable-new-gxx-abi): New option.
12020 * acconfig.h (ENABLE_NEW_GXX_ABI): New define.
12021 * Makefile.in (GXX_ABI_FLAG): New variable.
12022 * configure: Regenerate.
12024 2000-01-13 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
12026 * stor-layout.c (layout_type): Use FORCE_STRUCT_BLK.
12027 * tm.texi (FORCE_STRUCT_BLK): Document.
12028 * config/c4x/c4x.h (FORCE_STRUCT_BLK): New macro.
12030 Wed Jan 12 23:12:47 2000 Hans-Peter Nilsson <hp@axis.com>
12032 * config/ns32k/ns32k.md: Revert Jan 9 change.
12034 * genrecog.c (maybe_both_true_2): Do not compare a predicate-test
12035 to a mode-test, if the predicate is address_operand.
12037 Wed Jan 12 22:34:00 2000 Jeffrey A Law (law@cygnus.com)
12039 * combine.c (if_then_else_cond): Be careful about what kinds
12040 of RTL expressions are passed to operand_subword.
12042 * flow.c (split_edge): If we have to insert a new jump, make
12043 sure to associate it with a basic block.
12045 * flow.c (commit_one_edge_insertion): A block with one successor
12046 can end in a JUMP_INSN that is not a simplejump.
12048 2000-01-12 Robert Lipe <robertl@sco.com>
12050 * i386/sco5.h (INIT_SECTION_ASM_OP_COFF): Rename section to "ctor".
12051 (BUILD_VA_LIST_TYPE): Define.
12052 (EH_FRAME_SECTION_ASM_OP): Explictly define to better interact
12055 2000-01-12 Jason Merrill <jason@casey.cygnus.com>
12057 * cccp.c (do_pragma): Add cast to (char *).
12059 2000-01-12 Richard Henderson <rth@cygnus.com>
12060 Fred Fish <fnf@be.com>
12061 Jason Merrill <jason@cygnus.com>
12063 * configure.in (i?86-*-beos{pe,elf,}*): Recognize.
12064 * i386/t-beos, i386/x-beos, i386/xm-beos.h: New files.
12065 * i386/beos-elf.h, i386/beos-pe.h: New files.
12067 * Makefile.in (CROSS_SYSTEM_HEADER_DIR): New.
12068 * cross-make (SYSTEM_HEADER_DIR): Define using
12069 CROSS_SYSTEM_HEADER_DIR.
12071 * gcc.c (LIBRARY_PATH_ENV): Provide default.
12072 (process_command): Use it.
12073 (main): Likewise. Kill trailing = from env vars.
12074 (build_search_list): Put it back.
12075 * collect2.c (main): Use LIBRARY_PATH_ENV.
12077 * configure.in (GCC_NEED_DECLARATIONS): Add environ.
12078 * toplev.c: Use NEED_DECLARATION_ENVIRON.
12080 * tm.texi (Frame Layout): Document SMALL_STACK.
12081 * c-common.c (c_common_nodes_and_builtins): Check it.
12083 * system.h: Undef alloca after including glibc's <stdlib.h>,
12084 if USE_C_ALLOCA is defined.
12086 * gcc.c (set_input): New fn.
12087 (main): After all input files are compiled, reset the input file
12090 * aclocal.m4 (rindex, index): If already defined, don't attempt
12093 * ginclude/varargs.h: (__va_list__): Define ifndef.
12094 * ginclude/stdarg.h: Likewise.
12096 * ginclude/stddef.h (__WCHAR_TYPE__) [BEOS]: Use int
12097 instead of unsigned char.
12099 * hash.h (true, false, boolean): Undef before enum.
12101 * expmed.c (choose_multiplier): Cast &mhigh_lo and &mhigh_hi to be
12102 proper type of "HOST_WIDE_INT *", rather than their natural type of
12103 "unsigned HOST_WIDE_INT *".
12105 2000-01-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
12107 * svr3.h (ASM_FILE_START): Wrap if-clause in squigly brackets.
12109 * recog.c (memory_address_p): Mark parameter with ATTRIBUTE_UNUSED.
12111 * regclass.c (choose_hard_reg_mode): Likewise.
12113 * reload.c (find_valid_class, strict_memory_address_p): Likewise.
12115 * reorg.c (optimize_skip): Wrap prototype in macro conditionals.
12117 2000-01-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
12119 * c-common.c: PROTO -> PARAMS.
12120 * c-common.h: Likewise.
12121 * c-decl.c: Likewise.
12122 * c-iterate.c: Likewise.
12123 * c-lang.c: Likewise.
12124 * c-lex.c: Likewise.
12125 * c-lex.h: Likewise.
12126 * c-parse.in: Likewise.
12127 * c-pragma.c: Likewise.
12128 * c-pragma.h: Likewise.
12129 * c-tree.h: Likewise.
12130 * c-typeck.c: Likewise.
12131 * objc/objc-act.c: Likewise.
12132 * objc/objc-act.h: Likewise.
12134 2000-01-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
12136 * m88k-protos.h: New file.
12138 * m88k.c: Include tm_p.h. Add static prototypes. Fix compile
12141 * m88k.h: Move prototypes to m88k-protos.h. Fix compile time warnings.
12143 * m88k.md: Likewise.
12145 * tekXD88.h: Likewise.
12147 2000-01-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
12149 * m68k-protos.h: New file.
12151 * m68k.c: Include tm_p.h. Add static prototypes. Fix compile
12154 * m68k.h: Move prototypes to m68k-protos.h. Fix compile time warnings.
12156 * mot3300.h: Likewise.
12158 2000-01-12 Richard Earnshaw <rearnsha@arm.com>
12160 * haifa-sched.c (split_edges): Pass edgeset_size as second arg to
12162 (extract_bitlist): Declare bitlen.
12164 2000-01-12 Zack Weinberg <zack@wolery.cumb.org
12166 * cccp.c: Accept and ignore -lang-fortran.
12168 * c-typeck.c (build_c_cast): Issue -Wcast-qual warnings if the
12169 qualifiers don't match at any level of pointerness.
12171 2000-01-12 Robert Lipe <robertl@sco.com>
12173 * i386/sysv5.h (CPP_SPEC, LIBSPEC): Add -pthreadT.
12175 2000-01-12 Bernd Schmidt <bernds@cygnus.co.uk>
12177 * reload1.c (reload_reg_unavailable): New static variable.
12178 (reload_reg_free_p): Test it.
12179 (reload_reg_free_for_value_p): Test it instead of
12181 (choose_reload_regs_init): Compute it.
12183 Wed Jan 12 03:24:41 2000 Toshiyasu Morita (toshi.morita@sega.com)
12185 * reorg.c (fill_slots_from_thread): Check modified_in_p
12188 Wed Jan 12 03:20:31 2000 John Marshall <john_w_marshall@palm.com>
12190 * gcc.texi (Funding, GNU/Linux, Copying, Contributors): Format
12191 these nodes even if INTERNALS is not set.
12193 Wed Jan 12 09:39:22 2000 Nick Burrett <nick.burrett@btinternet.com>
12195 * gcse.c (delete_null_pointer_checks_1): Cope when
12196 get_condition cannot determine the condition.
12198 2000-01-12 Gabriel Dos Reis <gdr@codesourcery.com>
12200 * toplev.h (set_message_length): Declare.
12202 * diagnostic.c (obstack_chunk_alloc): Define macro.
12203 (obstack_chunk_free): Likewise.
12204 (struct output_buffer): New data structure.
12205 (vmessage): Remove.
12206 (output_maximum_width): New variable.
12207 (doing_line_wrapping, set_message_length, init_output_buffer,
12208 get_output_prefix, output_space_left, emit_output_prefix,
12209 output_newline, output_append, output_puts, dump_output,
12210 vbuild_message_string, build_message_string, build_location_prefix,
12211 voutput_notice, output_printf, line_wrapper_printf,
12212 vline_wrapper_message_with_location): New functions. Implement
12213 automatic line wrapping.
12214 (v_message_with_decl): Make it handle automatic line wrapping.
12215 (v_error_with_file_and_line): Likewise.
12216 (v_warning_with_file_and_line): Likewise.
12217 (announce_function): Likewise.
12218 (default_print_error_function): Likewise.
12220 2000-01-11 16:24 -0800 Zack Weinberg <zack@wolery.cumb.org>
12222 * cpplib.h (struct cpp_options): Change lang_asm to char.
12224 * cppinit.c (builtin_array): Take out __STDC_VERSION__, it's
12225 done in cpp_handle_option now.
12226 (initialize_builtins): Take out special case code used only by
12228 (cpp_handle_option): Turn off trigraphs and trigraph warnings
12229 if -traditional. Recognize -lang-fortran and set
12230 lang_fortran, also turn off cplusplus_comments.
12231 (print_help): Document -lang-fortran.
12232 * cpplib.c (handle_directive): Ignore `# 123 "file"' if
12233 lang_asm. Ignore all directives other than `# 123 "file"' if
12235 (cpp_get_token): If -traditional, don't recognize directives
12236 unless the # is in column 1.
12237 (parse_string): If lang_fortran or lang_asm, silently
12238 terminate strings ('' or "") at end of line.
12239 Remove unnecessary braces.
12241 2000-01-11 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
12242 Richard Henderson <rth@cygnus.com>
12244 * resource.c (mark_referenced_resources): Mark a set strict_low_part
12246 * config/i386/i386.c (ix86_expand_setcc): Re-enable clear + set
12247 strict_low_part when possible.
12249 2000-01-11 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
12251 * alias.c: PROTO -> PARAMS.
12252 * basic-block.h: Likewise.
12253 * bitmap.c: Likewise.
12254 * bitmap.h: Likewise.
12255 * builtins.c: Likewise.
12256 * c-aux-info.c: Likewise.
12257 * caller-save.c: Likewise.
12258 * calls.c: Likewise.
12260 2000-01-11 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
12262 * Makefile.in (toplev.o): Depend on regs.h.
12264 * output.h (tdesc_section): Prototype.
12266 * regclass.c (copy_cost): Mark parameters with ATTRIBUTE_UNUSED.
12268 * sdbout.c: Include "tm_p.h".
12270 * toplev.c: Include "regs.h".
12272 Tue Jan 11 11:37:58 2000 Mike Stump <mrs@wrs.com>
12274 * unroll.c (unroll_loop): Add EH support.
12276 2000-01-11 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
12278 * pa-protos.h: New file.
12280 * pa.c: Include recog.h and tm_p.h.
12281 (compute_zdepwi_operands, compute_movstrsi_length,
12282 remove_useless_addtr_insns, store_reg, load_reg, set_reg_plus_d,
12283 find_addr_reg, import_milli): Add static prototypes.
12284 (pa_cpu_string, pa_arch_string): Constify a char*.
12285 (legitimize_pic_address): Pass argument `mode' to pic_label_operand.
12286 (read_only_operand): Add argument `mode'.
12287 (singlemove_string, output_move_double, output_fp_move_double,
12288 output_block_move, output_and, output_ior, output_ascii,
12289 remove_useless_addtr_insns, milli_names, output_mul_insn,
12290 output_div_insn, output_mod_insn, output_arg_descriptor,
12291 output_cbranch, output_bb, output_bvb, output_dbra, ,
12292 output_millicode_call, output_call, hppa_encode_label,
12293 output_parallel_movb, output_parallel_addb): Constify a char*.
12294 (hppa_va_start): Mark parameter `stdarg_p' with ATTRIBUTE_UNUSED.
12295 (output_parallel_addb): Remove extra arg to `constrain_operands'
12297 * pa.h: Move all prototypes to pa-protos.h.
12298 (pa_cpu_string, pa_arch_string): Constify a char*.
12299 (LEGITIMIZE_ADDRESS): Call `symbolic_operand' with mode argument.
12301 * pa.md: Call `function_label_operand' with mode argument.
12302 Likewise for `read_only_operand'.
12303 Fix nesting of parens in call to `symbolic_operand'.
12305 2000-01-11 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
12307 * i860-protos.h: New file.
12309 * i860.c: Include tm_p.h. Add static prototypes. Fix compile
12312 * i860.h: Move prototypes to i860-protos.h. Fix compile time warnings.
12314 * i860.md: Likewise.
12316 Tue Jan 11 18:59:35 MET 2000 Jan Hubicka <jh@suse.cz>
12318 * i386.md (movstrsi expander): Rewrite.
12319 (movstrsi_1 insn): Deleted.
12320 (strmovhi, strmovqi expander): New expanders.
12321 (movshi_1, movsqi_1, rep_movsi, rep_movqi): New patterns.
12322 * i386.c (x86_single_stringop): New global variable.
12323 * i386.h (x86_single_stringop): Declare.
12324 (TARGET_SINGLE_STRINGOP): New macro.
12326 2000-01-11 Clinton Popetz <cpopetz@cygnus.com>
12328 * config/mips/mips.c (mips_va_arg): For EABI, emit the queued
12329 integer vararg POSTINCREMENT before the destination of the jump
12330 for the hard fp case.
12331 (function_arg_pass_by_reference): Pass a copy of CUM to
12334 * config/mips/mips.h (GO_IF_LEGITIMATE_ADDRESS): Move check
12335 for CONSTANT_ADDRESS_P above while loop for subreg.
12337 2000-01-11 Clinton Popetz <cpopetz@cygnus.com>
12339 * flow.c (propagate_block): When a prologue/epilogue insn
12340 is marked dead, unconditionally clear libcall_is_dead and
12341 insn_is_dead, and only dump rtl if warnings aren't being
12344 Tue Jan 11 16:26:47 MET 2000 Jan Hubicka <jh@suse.cz>
12346 * i386.c (ix86_attr_length_default): Handle TYPE_STR and TYPE_CLD.
12347 * i386.md (FIRST_PSEUDO_REGISTER): Set to 20.
12348 (FIXED_REGISTERS): Set dirflag as fixed.
12349 (CALL_USED_REGISTERS): Set dirflag as used.
12350 (REG_ALLOC_ORDER): Set dirflag as last one.
12351 (DIRFLAG_REG): New macro.
12352 (MD_ASM_CLOBBERS): Asm clobber dirflag for backward compatibility.
12353 (HI_REGISTER_NAMES): Add dirflag.
12354 (DEBUF_PRINT_REG): Handle dirflag.
12355 * i386.md (type attribute): New cld and str types.
12356 (length_opcode attribute): Set cld and str to 1.
12357 (memory attribute): Set str to unknown - it is not clear from the
12359 (pent_np function unit): Prefixed string operations takes 12 cycles
12360 minimally; cld takes 2 cycles.
12361 (ppro_uops attribute): Str is "many" and cld is "few".
12362 (ppro_p0 unit): Handle cld here.
12363 (k6_alux unit): Handle cld and str types.
12364 (k6_load unit): It is ocupied by str opcodes.
12365 (k6_store unit): It is ocupied by str opcodes.
12366 (athlon_decode): Str is vector decoded.
12367 (athlon_ieu): Handle str and cld.
12368 (cld pattern): New.
12369 (movstrsi, clrstr, cmpstr, strlen expander): Emit cld instruction
12370 (movstrsi_1, clrstrsi_1, cmpstrsi_1, strlensi_1,
12371 cmpstrsi_nz_1 insn): Do not output cld instruction
12373 Tue Jan 11 06:14:39 2000 David Starner <dstarner98@aasaa.ofe.org>
12375 * gcc.texi (G++ and GCC): Add Java and Chill.
12376 (Bug Critera): Don't list languages.
12378 * gcc.texi (Incompatibilities): No longer claim most C compilers
12381 * gcc.texi (G++ and GCC): Update other front-ends list.
12383 Tue Jan 11 05:49:01 2000 Jeffrey A Law (law@cygnus.com)
12385 * i386.c (ix86_expand_setcc): Fix typo.
12386 (ix86_expand_movcc): Similarly.
12388 * Band-aid until haifa's bitset implementation is nuked.
12389 * haifa-sched.c (extract_bitlst): New parameter for size of the
12390 bitset in bits. All callers changed. Avoid looking at undefined
12391 bits in the bitset.
12392 (edgeset_bitsize): New variable.
12393 (schedule_region): Initialize edgeset_bitsize.
12395 2000-01-10 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
12397 * Makefile.in (optabs.o): Depend on real.h
12398 (resource.o): Depend on insn-attr.h
12400 * builtins.c (result_vector): Wrap prototype in macro conditions
12401 governing definition and use.
12403 * c-common.c: Include tm_p.h.
12405 * c-lex.c: Likewise.
12407 * elfos.h: Constify a char*.
12409 * final.c (align_fuzz): Wrap prototype in macro HAVE_ATTR_length.
12410 (get_attr_length, shorten_branches, profile_after_prologue): Mark
12411 parameter with ATTRIBUTE_UNUSED.
12413 * fold-const.c (exact_real_inverse): Wrap variable `i' in
12416 * haifa-sched.c (schedule_insns): Mark parameter with
12419 * optabs.c: Include real.h.
12421 * real.h (ereal_atof): Add prototype arguments.
12423 * resource.c: Include insn-attr.h.
12425 * sdbout.c (sdbout_queue_anonymous_type,
12426 sdbout_dequeue_anonymous_types): Wrap in macro
12427 SDB_ALLOW_FORWARD_REFERENCES.
12428 (sdbout_init, sdbout_start_new_source_file): Mark parameter with
12431 * stmt.c (expand_return): Wrap variable `op0' in macro HAVE_return.
12433 * stupid.c: Include tm_p.h.
12435 * tree.c (real_value_from_int_cst): Mark parameter with
12438 2000-01-10 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
12440 * i960-protos.h: New file.
12442 * i960.c: Include tm_p.h. Add static prototypes. Fix compile
12445 * i960.h: Move prototypes to i960-protos.h. Fix compile time warnings.
12447 2000-01-10 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
12449 * combine.c (expand_field_assignment): Do not discard SUBREGs
12450 while computing nonzero_bits.
12452 2000-01-09 Nick Clifton <nickc@cygnus.com>
12454 * config/arm/arm.c: Fix compile time warnings about signed vs
12455 unsigned constants.
12456 * config/arm/arm.h: Fix compile time warnings about signed vs
12457 unsigned constants.
12459 2000-01-09 Philip Blundell <philb@gnu.org>
12461 * config/arm/arm.c (output_return_instruction): Use `ldr' rather
12462 than `ldm' with only one register.
12463 * config/arm/arm.md (push_multi): Use `str' rather than `stm' with
12466 * config/arm/linux-gas.h (CLEAR_INSN_CACHE): Say that R0 is
12469 Sun Jan 9 17:50:23 2000 Hans-Peter Nilsson <hp@axis.com>
12471 * config/ns32k/ns32k.md (load or push effective address): Operand 1
12474 2000-01-09 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
12476 * elfos.h (ASM_OUTPUT_LIMITED_STRING): Add parentheses around
12477 assignment used as truth value.
12479 * function.c (assign_temp): Mark parameter `dont_promote' with
12480 ATTRIBUTE_UNUSED. Wrap variable `unsignedp' with macro
12481 PROMOTE_FOR_CALL_ONLY.
12483 * genrecog.c (write_subroutine): Mark variable `operands' with
12486 * optabs.c (prepare_cmp_insn): Mark parameter `align' with
12489 * sdbout.c (sdbout_init): Likewise for parameter `asm_file'.
12490 (sdbout_begin_block, sdbout_end_block): Likewise for `file'.
12492 * toplev.c (note_deferral_of_defined_inline_function): Likewise
12495 2000-01-09 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
12497 * config/c4x.h: Tidy up comments.
12498 * config/c4x.c: Likewise.
12500 Sun Jan 9 01:02:55 EST 2000 John Wehle (john@feith.com)
12502 * fold-const.c (lshift_double, rshift_double): Handle
12503 shifting by 2 * HOST_BITS_PER_WIDE_INT correctly.
12505 2000-01-08 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
12507 * toplev.c (rest_of_compilation): Initialize cse_not_expected as
12508 in prepare_function_start().
12510 Sat Jan 8 12:12:46 2000 Nick Clifton <nickc@cygnus.com>
12512 * config/v850/v850.c (expand_epilogue): Interrupt functions no
12513 longer allocate extra stack for function calls.
12515 2000-01-08 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
12517 * config/c4x/c4x.md (*subqf3_set): Fix typo.
12519 2000-01-08 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
12521 * config/c4x/c4x.h (CALLER_SAVE_PROFITABLE): Define as 0.
12523 2000-01-07 David Edelsohn <edelsohn@gnu.org>
12525 * rs6000.c (processor_target_table): Add power3 as alias for 630.
12526 * aix43.h: Revert Aug 2 change.
12527 (HAS_INIT_SECTION): Define, not visible yet.
12528 (LD_INIT_SWITCH): Define, not visible yet.
12529 * t-aix43 (MULTILIB_OPTIONS): Revert Aug 2 change.
12531 * glimits.h (__LONG_MAX__): Recognize 64-bit AIX too.
12533 * collect2.c (main): Expand ld2 size further.
12534 (export_object_lst): Cast assignment to avoid warning.
12535 (main, LD_INIT_SWITCH): Add AIX 4.2+ -binitfini support.
12536 (scan_prog_file, COFF): Do not collect initialization or
12537 finalization functions generated for entire shared object if
12538 init/fini support present.
12540 2000-01-07 Nick Clifton <nickc@cygnus.com>
12542 * config/elfos.h: Tidy up formatting of marcos. Make sure
12543 that .section directives are always prefixed by a tab.
12545 * config/svr4.h: Add #include "elfos.h" and remove duplicate
12548 2000-01-07 Matt Austern <austern@sgi.com>
12550 * fold-const.c (real_hex_to_f): Remove duplicate declaration of
12553 Fri Jan 7 01:55:34 2000 Jeffrey A Law (law@cygnus.com)
12555 * Makefile.in (crtend.o): Pass @inhibit_libc@ to compilation of
12557 (crtbegin.o, s-crtS): Likewise.
12559 2000-01-06 Richard Henderson <rth@cygnus.com>
12561 * alpha.md (adddi_2+1): Limit offset such that it will be
12562 loadable with a single ldah+lda pair.
12563 (adddi_2+2): Explicitly fail split if we can't make it work.
12565 2000-01-06 Mumit Khan <khan@xraylith.wisc.edu>
12567 * protoize.c: Conditionally include unistd.h.
12568 (IS_SAME_PATH_CHAR): New macro.
12569 (IS_SAME_PATH): New macro.
12570 (CPLUS_FILE_SUFFIX): New macro.
12571 (cplus_suffix): New static variable.
12572 (is_abspath): New static function.
12573 (in_system_include_dir): Handle DOS style pathnames.
12574 (file_could_be_converted): Likewise.
12575 (file_normally_convertible): Likewise.
12576 (directory_specified_p): Likewise.
12577 (file_excluded_p): Likewise.
12578 (abspath): Likewise.
12579 (shortpath): Likewise.
12580 (referenced_file_is_newer): Likewise.
12581 (save_def_or_dec): Likewise.
12582 (do_processing): Likewise.
12584 (edit_file): Likewise. Use rename instead of link.
12585 (rename_c_file): Likewise. Don't rename syscalls file.
12586 (munge_compile_params): Define null device for DOS based systems.
12587 (process_aux_info_file): Use binary mode if appliable.
12588 (edit_file): Likewise.
12589 * invoke.texi (Running Protoize): Document C++ suffixes used.
12591 * cccp.c: Delete PATH_SEPARATOR, DIR_SEPARATOR and
12592 IS_DIR_SEPARATOR macros.
12593 * collect2.c: Likewise.
12594 * cppinit.c: Likewise.
12595 * dwarf2out.c: Likewise.
12597 * gcov.c: Likewise.
12598 * prefix.c: Likewise.
12600 * toplev.c: Likewise.
12601 * system.h: And move to here.
12603 * prefix.c (update_path): Fix typo in variable name.
12605 2000-01-06 Richard Henderson <rth@cygnus.com>
12607 * flow.c (mark_set_1): Use loop_depth+1 as reference weight.
12608 (find_auto_inc, mark_used_regs, try_pre_increment_1): Likewise.
12609 (count_reg_sets_1, count_reg_references): Likewise.
12610 (flow_loops_level_compute): Start counting actual loop depth at 1.
12611 (flow_loops_find): Likewise.
12612 * local-alloc.c (update_equiv_regs): Likewise.
12613 * regclass.c (regclass): Re-instate Jan 4 0-based loop_depth change.
12615 2000-01-06 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
12617 * defaults.h (DWARF_FRAME_REGISTERS): if not defined, default to
12618 FIRST_PSEUDO_REGISTER
12619 * dwarf2out.c: Don't include frame.h
12620 * dwarfout.c: Likewise
12621 * Makefile.in (dwarfout.o, dwarf2out.o): Remove dependence on
12624 Thu Jan 6 13:44:59 CET 2000 Jan Hubicka <jh@suse.cz>
12626 * reg-stack.c (subst_stack_regs_pat): Handle correctly USEs of
12629 * i386.c (movsf splitter): Fix typo in my last checkin.
12631 2000-01-05 Nick Clifton <nickc@cygnus.com>
12633 * varasm.c (IN_NAMED_SECTION): Allow targets to provide their
12634 own definition of this macro.
12635 (asm_emit_uninitialised): Invoke UNIQUE_SECTION if either
12636 flag_data_sections or UNIQUE_SECTION_P are true.
12638 * tm.texi (UNIQUE_SECTION): Document that it can be called for
12639 unitialised data decls.
12641 * config/i386/winnt.c (i386_pe_unique_section): Cope with
12642 being called for uninitialised data.
12644 * config/i386/interix.c (i386_pe_unique_section): Cope with
12645 being called for uninitialised data.
12647 * config/mips/elf.h (UNIQUE_SECTION): Cope with being called
12648 for uninitialised data.
12650 * config/mips/elf64.h (UNIQUE_SECTION): Cope with being called
12651 for uninitialised data.
12653 * config/mips/iri6gld.h (UNIQUE_SECTION): Cope with being called
12654 for uninitialised data.
12656 * config/arm/unknown-elf.h (IN_NAMED_SECTION): Define.
12657 (UNIQUE_SECTION_P): Always generate a unique section if
12658 flag_data_sections is true.
12659 (UNIQUE_SECTION): Also generate unique sections for
12660 uninitialised data.
12661 (ASM_OUTPUT_ALIGNED_BSS): Redefine to use named_section().
12662 (ASM_OUTPUT_ALIGNED_DECL_LOCAL): Redefine to use
12665 2000-01-06 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
12667 * config/c4x/t-c4x (TARGET_LIBGCC2_CFLAGS): Don't redefine SF, DF,
12670 2000-01-06 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
12672 * config/c4x/c4x.md (udivqi3, divqi3): Delete.
12673 (umodqi3, modqi3, udivhi3, divhi3, umodhi3, modhi3, ffsqi2): Likewise.
12674 (*smulqi3_highpart_noclobber, *umulqi3_highpart_noclobber): New.
12675 (*lshrqi3_const_noclobber, *lshrqi3_nonconst_noclobber): Likewise.
12676 (*ashrqi3_const_noclobber, *ashrqi3_nonconst_noclobber): Likewise.
12678 * c4x.h (INIT_TARGET_OPTABS): Define to init libcalls.
12680 2000-01-05 11:25 -0800 Zack Weinberg <zack@rabi.columbia.edu>
12682 * c-decl.c (finish_enum): Simplify code to determine minimum and
12683 maximum values of the enum, and calculate the type. Remove check
12684 for FUNCTION_DECLs in the values list, which cannot happen. Replace
12685 the DECL_INITIAL of each enumeration constant with a copy converted
12686 to the enumeration type. When updating variant types, don't bother
12687 updating the type itself.
12689 * c-typeck.c (build_binary_op): Simplify conditional expressions
12690 when weeding out spurious signed-unsigned warnings. Add new
12691 spurious warning category: if the unsigned quantity is an enum
12692 and its maximum value fits in signed_type(result_type). Update
12694 (build_conditional_expr): Warn here if one alternative is signed
12695 and the other is unsigned.
12697 2000-01-05 Nick Clifton <nickc@cygnus.com>
12699 * config/fr30/fr30.h: Remove extraneous comments.
12701 2000-01-05 Bernd Schmidt <bernds@cygnus.co.uk>
12703 * reload1.c (choose_reload_regs): When disabling a reload, also
12704 set reload_spill_index to -1.
12706 2000-01-04 Joel Sherrill (joel@OARcorp.com>
12708 * configure.in (m68*-*-rtemscoff*): New target, formal name for
12710 (m68*-*-rtemself*): New target.
12711 (mips64orion-*-rtems*): Remove duplicate definition of tm_file.
12712 (sparc*-*-rtemsaout*): New target, formal name for old sparc*-*-rtems*.
12713 (sparc*-*-rtemself*): New target.
12714 (sparc*-*-rtems*): Now elf not a.out.
12715 * config/i386/rtems.h: Include config/rtems.h.
12716 * config/i386/rtemself.h: Include config/rtems.h.
12717 * config/i960/rtems.h: Include config/rtems.h.
12718 * config/m68k/rtems.h: Include config/rtems.h.
12719 * config/m68k/rtemself.h: Include config/rtems.h.
12720 * config/mips/rtems64.h: Include config/rtems.h.
12721 * config/pa/rtems.h: Include config/rtems.h.
12722 * config/rs6000/rtems.h: Include config/rtems.h.
12723 * config/sh/rtems.h: Include config/rtems.h.
12724 * config/sh/rtemself.h: Include config/rtems.h.
12725 * config/sparc/rtems.h: Include config/rtems.h.
12726 * config/sparc/rtemself.h: Include config/rtems.h
12728 Tue Jan 4 23:59:26 2000 Denis Chertykov <denisc@overta.ru>
12730 * final.c (shorten_branches): Correctly compute length of
12731 asms without operands.
12733 Tue Jan 4 22:55:41 2000 Steve Chamberlain <sac@pobox.com>
12735 * configure.in: Add pj target.
12736 * configure: Regenerate.
12737 * config/pj: New directory.
12738 * config/pj/lib1funcs.S: New file.
12739 * config/pj/linux.h: New file.
12740 * config/pj/pj.c: New file.
12741 * config/pj/pj.md: New file.
12742 * config/pj/pjl.h: New file.
12743 * config/pj/t-pj: New file.
12744 * config/pj/xm-pj.h: New file
12746 Tue Jan 4 22:30:16 2000 Jeffrey A Law (law@cygnus.com)
12748 * toplev.c (rest_of_compilation): Run shorten-branches before
12751 2000-01-05 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
12753 * config/c4x/c4x.h (IS_XXX_REG, IS_XXX_REGNO): Swap behaviour of
12754 macros so that they're consistent with their names.
12755 * config/c4x/c4x.c (IS_XXX_REG, IS_XXX_REGNO): Likewise.
12756 * config/c4x/c4x.md (IS_XXX_REG, IS_XXX_REGNO): Likewise.
12758 2000-01-05 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
12760 * config/c4x/c4x.md (*addqi3_noclobber_reload): Ensure that CC never
12761 modified inadvertently.
12763 2000-01-04 Joel Sherrill <joel@OARcorp.com>
12765 * configure.in (v850*-*-rtems*): New target.
12766 * configure: Regenerate.
12767 * config/v850/rtems.h: New file.
12769 2000-01-04 Mumit Khan <khan@xraylith.wisc.edu>
12771 * gthr-win32.h (__gthread_active_p): Support Mingw MT runtime.
12772 (__gthread_key_create): Likewise.
12773 (__gthread_key_dtor): Likewise.
12774 (__gthread_once): Fix logic.
12775 (__gthread_key_delete): Cast away constness.
12777 * i386/cygwin.h (SUBTARGET_SWITCHES): Add -mthreads option.
12778 * invoke.texi: Document.
12779 * i386/mingw32.h (CPP_SPEC): Use.
12780 (LIBGCC_SPEC): Likewise.
12781 * i386/crtdll.h (LIBGCC_SPEC): Likewise.
12783 2000-01-04 David Edelsohn <edelsohn@gnu.org>
12785 * rs6000/sysv4.h (ASM_OUTPUT_DEF): Undefine.
12786 (HANDLE_PRAGMA_PACK): Undefine.
12787 (SLOW_UNALIGNED_ACCESS): Define.
12789 2000-01-04 David Edelsohn <edelsohn@gnu.org>
12791 * expmed.c (SLOW_UNALIGNED_ACCESS): Add mode and align parameters
12792 to default definition.
12793 (store_bit_field): Call SLOW_UNALIGNED_ACCESS with mode and alignment.
12794 (store_fixed_bit_field): Call macro with word_mode and alignment.
12795 (extract_bit_field): Call macro with relevant mode and alignment.
12796 * expr.c (SLOW_UNALIGNED_ACCESS): Add mode and align parameters
12797 to default definition.
12798 (move_by_pieces): Call SLOW_UNALIGNED_ACCESS with word_mode
12800 (move_by_pieces_ninsns): Likewise.
12801 (clear_by_pieces): Likewise.
12802 (emit_push_insn): Likewise.
12803 (store_field): Call macro with relevant mode and alignment.
12804 (expand_expr): Likewise.
12805 (expand_expr_unaligned): Likewise.
12807 * rs6000.h (HANDLE_PRAGMA_PACK): Define.
12808 (SLOW_UNALIGNED_ACCESS): Define.
12809 (CASE_VECTOR_MODE): Always use 32-bit offsets.
12810 (ASM_FILE_END): Generate 64-bit symbol in 64-bit mode.
12811 (EXTRA_SECTION_FUNCTIONS): Indent .csect pseudo-op.
12812 (toc_section): Likewise and .toc pseudo-op.
12813 (ASM_DECLARE_FUNCTION): Likewise. Align text more strictly in
12815 (TEXT_SECTION_ASM_OP): Likewise.
12816 (ASM_OUTPUT_ADD_VEC_ELT, ASM_OUTPUT_ADDR_DIFF_ELT): Always use
12819 * a29k.h (SLOW_UNALIGNED_ACCESS): Add MODE and ALIGN parameters.
12820 * alpha.h (SLOW_UNALIGNED_ACCESS): Likewise.
12821 * arm/thumb.h (SLOW_UNALIGNED_ACCESS): Likewise.
12822 * gmicro.h (SLOW_UNALIGNED_ACCESS): Likewise.
12823 * fr30.h (SLOW_UNALIGNED_ACCESS): Likewise.
12825 Tue Jan 4 11:44:13 2000 Jeffrey A Law (law@cygnus.com)
12827 * regclass.c: Revert my Jan 4 change to loop cost computation.
12829 Tue Jan 4 19:22:39 MET 2000 Jan Hubicka <hubicka@freesoft.cz>
12831 * regclass.c (regclass): Do not obey REG_N_REFS in non-optimizing
12834 2000-01-04 Stan Cox <scox@cygnus.com>
12836 * haifa-sched.c (build_control_flow): Change unreachable simple
12837 loop test to check if current block has only one predecessor.
12838 (find_rgns): Initialize degree. Use dest as degree index, not src.
12840 2000-01-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
12842 * builtins.c (expand_builtin_strlen): Initialize variable `icode'.
12844 * calls.c (expand_call): Likewise for
12845 `old_stack_arg_under_construction'.
12847 * cpphash.c (macroexpand): Likewise for `args' and `rest_zero'.
12849 * function.c (pad_to_arg_alignment): Likewise for `save_var' and
12852 * gcc.c (execute): Likewise for `ut' and `st'.
12854 * genattrtab.c (attr_rtx): Likewise for `rt_val'.
12856 * genopinit.c (gen_insn): Likewise for `m1', `m2' and `op'.
12858 * jump.c (jump_optimize_1): Likewise for `temp2'.
12860 * local-alloc.c (block_alloc): Likewise for `r1'.
12862 * loop.c (recombine_givs): Likewise for `life_start' and `life_end'.
12864 * reg-stack.c (check_asm_stack_operands): Likewise for `clobber_reg'.
12865 (subst_asm_stack_regs): Likewise for `clobber_reg' and `clobber_loc'.
12867 * regmove.c (fixup_match_1): Likewise for `insn_const', `dst_node'
12870 * reload.c (find_reloads): Likewise for `goal_alternative_number'
12871 and `goal_earlyclobber'.
12873 * scan-decls.c (scan_decls): Likewise for `prev_id_end'.
12875 * sdbout.c (sdbout_one_type): Likewise for `member_scl'.
12877 * stupid.c (stupid_life_analysis): Likewise for `chain'.
12879 * unroll.c (copy_loop_body): Likewise for `copy'.
12881 * varasm.c (output_constructor): Likewise for `byte'.
12883 Tue Jan 4 15:34:34 MET 2000 Jan Hubicka <hubicka@freesoft.cz>
12885 * i386.c (ix86_expand_move): Allow pushes of memory, offload to memory
12886 all FP constants for constant->reg moves.
12887 (ix86_split_to_parts): Try to convert memory address into immediate
12888 when available in the constant pool.
12889 * i386.h (PREFERRED_RELOAD_CLASS): Allow CONST_DOUBLE->integer reg
12891 (LEGITIMATE_CONSTANT_P): Return 1.
12892 * i386.md (pushsf): New splitter to convert constant pool memory
12893 reference to immediate.
12894 (mov?f): Likewise; do not allow CONST_DOUBLE for reg moves before
12897 2000-01-04 Bernd Schmidt <bernds@cygnus.co.uk>
12899 * i386.md (ashlsi3_cmpno): Don't accept variables shifts.
12900 (ashlhi3_cmpno, ashlqi3_cmpno, ashrsi3_cmpno, ashrhi3_cmpno,
12901 ashrqi3_cmpno, lshrsi3_cmpno, lshrhi3_cmpno, lshrqi3_cmpno): Likewise.
12902 (rotlsi3_cmpno, rotlhi3_cmpno, rotlqi3_cmpno, rotrsi3_cmpno,
12903 rotrhi3_cmpno, rotrqi3_cmpno): Likewise.
12905 2000-01-04 Martin von Löwis <loewis@informatik.hu-berlin.de>
12907 * ginclude/stdbool.h: Support compilation as C++.
12909 Tue Jan 4 01:35:13 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
12911 * fold-const.c (make_range): Don't try to reverse an unbounded range.
12913 Tue Jan 4 00:18:46 2000 Jeffrey A Law (law@cygnus.com)
12915 * regclass.c (regclass): Properly compute loop_cost. Adjust
12918 * regclass.c: Fix minor whitespace problems.
12920 2000-01-03 Anthony Green <green@cygnus.com>
12922 * config/i386/i386.md (builtin_setjmp_receiver): New pattern.
12923 Restore the pic register if required.
12925 2000-01-03 Ulrich Drepper <drepper@cygnus.com>
12927 * c-common.c (format_char_info): Update comment.
12928 (check_format_info): Recognize 'z' modifier in the same way 'Z'
12929 was recognized. Emit warning for formats new in ISO C99 only
12930 if flag_isoc9x is not set.
12932 Mon Jan 3 12:59:54 2000 Mark P. Mitchell <mark@codesourcery.com>
12934 * config/mips/iris6gld.h: Fix typo in -mabi=n32 specs.
12936 Mon Jan 3 15:33:37 MET 2000 Jan Hubicka <hubicka@freesoft.cz>
12938 * combine.c (expand_compound_operation): Do not convert ZERO_EXTEND to
12939 SIGN_EXTEND, convert SIGN_EXTEND to ZERO_EXTEND.
12940 (make_compound_operation): Choose cheaper alternative between
12941 ZERO_EXTEND and SIGN_EXTEND when sign bit is not set.
12943 * regclass.c (op_costs): Remove global variable.
12944 (record_reg_classes): New parameter "op_costs" and "reg_pref".
12945 (record_operand_costs): Break out from ...
12946 (scan_one_insn): ... here.
12947 (dump_regclass): Make dumps nicer.
12948 (regclass): Dump preferrences choosed and changes done during passes.
12950 2000-01-03 Jakub Jelinek <jakub@redhat.com>
12952 * config/sparc/sparc.c (gen_df_reg): Fix for 32bit SPARC.
12954 2000-01-03 Jakub Jelinek <jakub@redhat.com>
12956 * config/sparc/sparc.c (gen_df_reg): New function.
12957 * config/sparc/sparc-protos.h (gen_df_reg): Add prototype.
12958 * config/sparc/sparc.md (movtf_no_e_insn_sp64+1,
12959 movtf_no_e_insn_sp64+2, movtf_no_e_insn_sp64+3, movtf_cc_sp64+1,
12960 movtf_cc_reg_sp64+1): Use it.
12962 2000-01-02 Mark Mitchell <mark@codesourcery.com>
12964 * integrate.c (copy_decl_for_inlining): Clear TREE_ADDRESSABLE on
12965 copied LABEL_DECLs.
12967 Mon Jan 3 02:54:40 2000 Hans-Peter Nilsson <hp@bitrange.com>
12969 * config/i386/i386.c (ix86_expand_unary_operator): Function
12970 definition made void.
12971 (ix86_expand_binary_operator): Update outdated preceding comment.
12972 * config/i386/i386-protos.h (ix86_expand_unary_operator): Update
12975 * config/i386/i386.c (override_options): Fix option-name typo.
12977 2000-01-02 Mark Mitchell <mark@codesourcery.com>
12979 * system.h (CEIL): Define.
12980 * builtins.c (CEIL): Remove.
12981 * expmed.c (CEIL): Likewise.
12982 * expr.c (CEIL): Likewise.
12983 * stor-layout.c (CEIL): Likewise.
12985 2000-01-02 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
12987 * expr.c (store_constructor_field): Fix typo introduced with last
12990 2000-01-01 Mark Mitchell <mark@codesourcery.com>
12992 * tree.h (BINFO_N_BASETYPES): New macro.
12994 2000-01-01 Bernd Schmidt <bernds@cygnus.co.uk>
12996 * expmed.c (emit_store_flag): Prevent losing a pending stack
12997 adjust the same way we prevent losing queued increments.
12999 Fri Dec 31 19:10:31 1999 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
13001 * function.c (update_temp_slot_address): Handle case where sum of
13002 temporary address plus offset in register is a valid address.
13004 1999-12-30 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
13006 * genrecog.c (change_state) Corrected typo.
13008 1999-12-30 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
13010 * system.h (bcopy, bcmp, bzero, index, rindex, atof, atol, free,
13011 getcwd, getenv, getwd, sbrk, strstr, malloc, calloc, realloc,
13012 strerror, getrlimit, setrlimit, abort): Add prototype arguments.
13014 1999-12-30 Bernd Schmidt <bernds@cygnus.co.uk>
13016 * i386.c (ix86_expand_fp_compare): In non-sahf non-TARGET_IEEE
13017 case, expand GT comparisons correctly. Fix a comment before this
13020 1999-12-30 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
13022 * dwarfout.c: Include "frame.h"
13023 * dwarf2out.c: Likewise.
13024 * Makefile.in (dwarfout.o): Depend on frame.h
13025 (dwarf2out.o): Likewise.
13027 1999-12-29 "Martin v. Loewis" <martin@loewis.home.cs.tu-berlin.de>
13029 Restore i386 binary compatibility in Dwarf EH info.
13030 * config/i386/i386.h (DWARF_FRAME_REGISTERS): Define as 17, the old
13031 value of FIRST_PSEUDO_REGISTER.
13032 * frame.h (DWARF_FRAME_REGISTERS): Default to FIRST_PSEUDO_REGISTER.
13033 (struct frame_state): Use DWARF_FRAME_REGISTERS.
13034 * dwarfout.c (output_reg_number): Ditto.
13035 * dwarf2out.c (reg_number, expand_builtin_init_dwarf_reg_sizes): Ditto.
13036 (DWARF_FRAME_RETURN_COLUMN): Default to DWARF_FRAME_REGISTERS.
13038 1999-12-29 Bruce Korb <autogen@linuxbox.com>
13040 * fixinc/fixincl.c(wait_for_pid): sometimes a WSTOPSIG of zero is OK
13041 * fixinc/fixincl.tpl(<hack>TEST_CT): Just do the existence test once
13042 (<hack>_RE_CT): not needed
13043 * fixinc/fixlib.c(is_cxx_header): moved from fixtests.c
13044 rewritten to scan the file text once only
13045 "template<..." test added
13046 * fixinc/fixlib.h(apply_fix_p_t): moved from fixtests.c
13047 (is_cxx_header): declaration added
13048 * fixinc/fixtests.c(is_cxx_header): removed
13049 (apply_fix_p_t): removed
13050 (double_slash_test): is_cxx_header is only called once now
13051 * fixinc/hackshell.tpl: indexing the fixes is now done under DEBUG
13052 * fixinc/inclhack.def(FIXINC_DEBUG): added for testing DEBUG state
13053 within the templates.
13054 The borken spelling of "broken" was fixed.
13055 * fixinc/inclhack.tpl: The $VERBOSE level is used on various messages
13056 The default level depends on FIXINC_DEBUG.
13058 1999-12-29 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
13060 * crtstuff.c: If !inhibit_libc, include stdlib.h/unistd.h.
13061 Otherwise provide a declaration for atexit.
13062 (init_dummy): Make sure dummy call to atexit is nevertheless
13063 called with correct number of args.
13065 * frame.c: Update comments referring to other files.
13067 * libgcc2.c: Likewise.
13069 1999-12-29 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
13071 * cse.c (free_element, get_element): Remove unused prototypes.
13073 * fold-const.c (extract_muldiv): Initialize variables `op0' and
13076 * jump.c (invert_exp): Add explicit braces to avoid ambiguous
13079 Wed Dec 29 12:44:54 1999 Donald Lindsay <dlindsay@cygnus.com>
13081 * configure.in,configure: case arm for mn10200-*-* now sets
13082 float_format=i32 so that float.h will correctly claim "double"
13083 to be 32 bits. Ran autoconf to generate configure from .in file.
13085 Wed Dec 29 10:53:21 1999 Jeffrey A Law (law@cygnus.com)
13087 * pa.md (conditional zero): If op1 is a register, force it into
13088 the same register as op0.
13090 1999-12-28 Mark Mitchell <mark@codesourcery.com>
13092 * tree.h (BINFO_BASETYPES): Improve documentation.
13094 1999-12-28 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
13096 * configure.in (--enable-checking): Use a more portable `for'
13099 1999-12-28 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
13101 * configure.in (AC_DECL_SYS_SIGLIST, xm-siglist.h,
13102 arm/xm-netbsd.h, NO_SYS_SIGLIST): Don't use.
13104 * xm-siglist.h, arm/xm-netbsd.h, mips/xm-news.h, mips/xm-sysv4.h:
13107 * gcc.texi (NO_SYS_SIGLIST, sys_siglist, SYS_SIGLIST_DECLARED):
13108 Delete descriptions.
13110 * i386/osf1elf.h, i386/xm-cygwin.h, i386/xm-mingw32.h, m68k/3b1.h,
13111 m68k/a-ux.h, m68k/dpx2.h, m68k/plexus.h, m68k/xm-hp320.h,
13112 m88k/xm-m88k.h, mips/x-sni-svr4, pa/xm-pa.h, pa/xm-pahpux.h,
13113 pa/xm-papro.h, we32k/xm-we32k.h, winnt/xm-winnt.h, xm-interix.h,
13114 xm-svr4.h: Remove all instances of sys_siglist handling.
13116 1999-12-27 Jakub Jelinek <jakub@redhat.com>
13118 * config/sparc/sparc.md (cmp_zero_qi,
13119 cmp_zero_extendqisi2_andcc_set, cmp_zero_qi_sp64,
13120 cmp_zero_extendqidi2_andcc_set): New patterns.
13122 1999-12-28 Manfred Hollstein <mhollstein@cygnus.com>
13124 * m68k/t-mot3300-gald (CROSS_LIBGCC1): Define to libgcc1-asm.a.
13125 (LIB1ASMSRC, LIB1ASMFUNCS, LIB2FUNCS_EXTRA): Define.
13126 (fpgnulib.c, xfgnulib.c): Add rules.
13127 * m68k/t-mot3300-gas: Likewise.
13129 1999-12-27 Ian Lance Taylor <ian@zembu.com>
13131 * configure.in: Avoid [[ by using test and changequote. Add
13132 changequote required by 1999-12-14 change.
13133 * configure: Rebuild.
13135 1999-12-27 Clinton Popetz <cpopetz@cygnus.com>
13137 * config/mips/mips.h: Fix typo from 12/17/99 libgcc2 fix.
13139 1999-12-27 Christophe Jaillet <jaillet.christophe@caramail.com>
13141 * alias.c (nonlocal_reference_p): Add else for disjoint ifs.
13142 * flow.c (find_use_as_address): Likewise.
13143 * function.c (fixup_var_refs_1): Likewise.
13144 (walk_fixup_memory_subreg, fixup_stack_1): Likewise.
13145 * jump.c (invert_exp, redirect_exp): Likewise.
13146 * loop.c (replace_call_address): Likewise.
13147 (count_nonfixed_reads): Likewise.
13148 * rtlanal.c (modified_between_p): Likewise.
13149 (modified_in_p, volatile_insn_p, volatile_refs_p): Likewise.
13150 (side_effects_p, replace_regs, jmp_uses_reg_or_mem): Likewise.
13151 * unroll.c (remap_split_bivs): Likewise.
13153 1999-12-27 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
13155 * diagnostic.c (v_message_with_decl): Use .* format specifier
13156 instead of building the format specifier width manually.
13158 * system.h (strsignal): Don't check HAVE_STRSIGNAL when
13159 determining whether to provide a prototype. Remove the
13160 sys_siglist clause in the conditional.
13162 1999-12-23 Martin v. Löwis <loewis@informatik.hu-berlin.de>
13164 * fold-const.c (operand_equal_p): Use memcmp to compare string
13166 Suggested by D. J. Bernstein
13168 1999-12-17 Jakub Jelinek <jakub@redhat.com>
13170 * config/h8300/h8300.h (TARGET_H8300H, TARGET_H8300S): Make sure
13171 UNITS_PER_WORD and BITS_PER_WORD are compile time constants when
13173 * config/mips/mips.h (TARGET_64BIT): Likewise.
13174 * config/rs6000/rs6000.h (TARGET_POWERPC64): Likewise.
13175 * libgcc2.c: Use {,U}{HW,W,DW}type and DWunion everywhere instead
13176 of {SI,DI}type and DIunion. Define these types to QI/HI modes on
13177 dsps. Give routines proper names if SI/DI modes are not used.
13178 * longlong.h: Use DWunion instead of DIunion.
13180 1999-12-26 Zack Weinberg <zack@wolery.cumb.org>
13182 * acconfig.h: New ENABLE flags: TREE_CHECKING, RTL_CHECKING,
13183 GC_CHECKING, GC_ALWAYS_COLLECT.
13184 * configure.in: Allow --enable-checking with an argument
13185 listing check modes to enable.
13186 * config.in, configure: Rebuilt.
13187 * ggc-page.c, ggc-simple.c: Define GGC_POISON (and
13188 GGC_ALWAYS_VERIFY for ggc-simple.c) only if
13189 ENABLE_GC_CHECKING. Define GGC_ALWAYS_COLLECT only if
13190 ENABLE_GC_ALWAYS_COLLECT.
13191 * rtl.h, rtl.c: Change ENABLE_CHECKING to ENABLE_RTL_CHECKING
13193 * tree.h, tree.c: Change ENABLE_CHECKING to
13194 ENABLE_TREE_CHECKING throughout.
13196 Sun Dec 26 07:48:20 1999 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
13198 * fold-const.c (fold_truthop): Properly check for FP RHS.
13200 1999-12-24 Mark Mitchell <mark@codesourcery.com>
13202 * toplev.h (note_deferall_of_defined_inline_function): Declare.
13203 * toplev.c (note_deferral_of_defined_inline_function): New
13204 function, split out from ...
13205 (rest_of_compilation): ... here. Use it.
13207 Fri Dec 24 12:34:26 1999 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
13209 * expr.c (store_constructor): Don't call clear_storage if size is
13212 1999-12-24 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
13214 * Makefile.in (toplev.o): Depend on loop.h.
13216 * dwarfout.c: Include tm_p.h.
13218 * emit-rtl.c (restore_emit_status): Mark parameter with
13221 * final.c (final_scan_insn): Likewise.
13223 * flow.c (flow_nodes_print, flow_exits_print, flow_loops_cfg_dump,
13224 flow_loop_nested_p, flow_loop_exits_find, flow_loop_nodes_find,
13225 flow_depth_first_order_compute, flow_loop_pre_header_find,
13226 flow_loop_tree_node_add, flow_loops_tree_build,
13227 flow_loop_level_compute, flow_loops_level_compute,
13228 flow_loop_outside_edge_p): Add prototypes.
13229 (recompute_reg_usage): Mark parameters with ATTRIBUTE_UNUSED.
13231 * ggc-callbacks.c (lang_mark_tree, lang_mark_false_label_stack):
13232 Mark with ATTRIBUTE_NORETURN.
13234 * hash.c (hash_newfunc): Mark parameter with ATTRIBUTE_UNUSED.
13236 * local-alloc.c (no_conflict_p): Likewise.
13238 * loop.c (insert_bct): Hide definitions of variables with hidden
13240 (note_reg_stored): Mark parameter with ATTRIBUTE_UNUSED.
13242 * regclass.c (memory_move_secondary_cost): Mark variable `mem'
13243 with ATTRIBUTE_UNUSED.
13244 (record_reg_classes): Mark parameter with ATTRIBUTE_UNUSED.
13245 (reg_scan): Likewise.
13247 * reload.c (find_reloads): Remove unused variables `changed'.
13249 * reload1.c (reload_reg_class_lower): Don't unnecessarily cast
13251 (allocate_reload_reg): Mark parameter with ATTRIBUTE_UNUSED.
13252 Remove unused variable `insn'.
13254 * toplev.c: Include loop.h.
13255 (report_file_and_line): Remove unnecessary prototype.
13257 * tree.c (build_block): Mark parameter with ATTRIBUTE_UNUSED.
13259 * unroll.c (biv_total_increment): Likewise.
13261 Thu Dec 23 23:15:22 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
13263 * reload1.c (emit_input_reload_insns): Restore old behaviour
13264 wrt. 'special' reloads.
13266 1999-12-23 Zack Weinberg <zack@wolery.cumb.org>
13268 * Makefile.in (ggc-simple.c, ggc-page.c): Don't depend on
13269 hash.h. (cse.c): Don't depend on hashtab.h.
13271 * cse.c: Don't include hashtab.h.
13272 (hash_cse_reg_info, cse_reg_info_equal_p): Delete prototypes
13274 * ggc-simple.c: Don't include hash.h.
13276 1999-12-22 Jason Merrill <jason@casey.cygnus.com>
13278 * dwarf2out.c (add_abstract_origin_attribute): Call
13279 gen_abstract_function on our function context.
13281 Thu Dec 23 03:57:10 1999 Hans-Peter Nilsson <hp@bitrange.com>
13283 * Makefile.in (INTEGRATE_H): Fix typo: INTEGRATE_H, not INTREGRATE_H.
13285 1999-12-23 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
13287 * config/c4x/c4x.c (c4x_address_cost): Add statement to default
13290 1999-12-22 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
13292 * config/c4x/c4x.md (*addqi3_noclobber_reload): Change operand 0
13293 constraints to "a!r".
13295 1999-12-21 Mark Mitchell <mark@codesourcery.com>
13297 * Makefile.in (calls.o): Depend on function.h.
13298 (alias.o): Likewise.
13300 1999-12-21 Bernd Schmidt <bernds@cygnus.co.uk>
13302 * reload1.c (emit_reload_insns): Break out code and variables into...
13303 (input_reload_insns, other_input_address_reload_insns,
13304 other_input_reload_insns, input_address_reload_insns,
13305 inpaddr_address_reload_insns, output_reload_insns,
13306 output_address_reload_insns, outaddr_address_reload_insns,
13307 operand_reload_insns, other_operand_reload_insns,
13308 other_output_reload_insns): ... new static variables, and...
13309 (emit_input_reload_insns, emit_output_reload_insns, do_input_reload,
13310 do_output_reload): ... new functions.
13312 Tue Dec 21 07:06:36 1999 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
13314 * pa.h (FUNCTION_ARG_BOUNDARY): Never return 0.
13316 1999-12-21 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
13318 * md.texi: Add c4x constraints documentation.
13320 1999-12-21 Martin v. Löwis <loewis@informatik.hu-berlin.de>
13322 * config/i386/dgux.c (struct option): Rename to
13323 lang_independent_option.
13324 (struct m_options): Add description field.
13325 (output_options): Rename option type, add sep declaration, output
13326 ix86_cpu_string and ix86_arch_string only if set.
13327 (output_file_start): Rename option type.
13329 Mon Dec 20 23:15:36 1999 Mike Stump <mrs@wrs.com>
13331 * Makefile.in (crtbegin.o, crtend.o, s-crtS): Depend on
13333 (libgcc2.a): Similarly.
13335 Mon Dec 20 23:06:47 1999 David Edelsohn <edelsohn@gnu.org>
13337 * longlong.h (_ARCH_PPC): Only protect add_ssaaaa and sub_ddmmss
13338 with W_TYPE_SIZE == 32. Do not fall through to POWER architecture
13339 for umul_ppmm and smul_ppmm if !_ARCH_PPC and !_ARCH_POWER.
13341 Mon Dec 20 23:02:03 1999 Jeffrey A Law (law@cygnus.com)
13343 * fold-const.c (real_hex_to_f): Remove unused "isldouble" variable.
13344 Remove redundant initialization of "frexpon" and "expon".
13346 Mon Dec 20 15:00:04 1999 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
13348 * tree.c (real_value_from_int_cst): Clear REAL_VALUE_TYPE object first.
13350 * expr.c (store_constructor): New argument SIZE; pass to clear_storage.
13351 (store_constructor_field, expand_expr): Pass new arg.
13353 1999-12-20 Mark Mitchell <mark@codesourcery.com>
13355 * Makefile.in (explow.o): Depend on function.h.
13357 * stor-layout.c (set_sizetype): Fix typo.
13359 1999-12-20 Bernd Schmidt <bernds@cygnus.co.uk>
13361 * function.c (cfun): Renamed from current_function. All users
13363 * function.h (cfun): Rename declaration as well.
13365 * reload.h (struct insn_chain): Change live_throughout and dead_or_set
13366 to be of type regset_head, not regset. All users changed by adding
13368 * reload1.c (new_insn_chain): Don't allocate regsets, just clear them.
13370 1999-12-20 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
13372 * config/c4x/rtems.h: New file.
13374 1999-12-19 Bernd Schmidt <bernds@cygnus.co.uk>
13376 * reload1.c (spill_failure): Take class of failed reload as argument
13377 and print it. Caller changed.
13379 Sun Dec 19 07:50:42 1999 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
13381 * rs6000.h (SUBTARGET_DEFAULT): New macro.
13382 (TARGET_SWITCHES): Allow subtargets to default switches.
13383 * rs6000/vxppc.h (SUBTARGET_DEFAULT): New macro.
13385 1999-12-18 Mark Mitchell <mark@codesourcery.com>
13387 * crtstuff.c (__do_global_ctors_aux): Do not call __cxa_finalize
13390 Sat Dec 18 20:42:43 1999 Richard Henderson <rth@cygnus.com>
13392 * cccp.c (main): Define __STDC_VERSION__ as necessary.
13393 * cppinit.c (cpp_handle_option): Likewise.
13395 * ginclude/stdarg.h (va_copy): Use __STDC_VERSION__ to
13396 determine when to define.
13398 Sat Dec 18 20:34:00 1999 Richard Henderson <rth@cygnus.com>
13400 * alpha.c (alpha_emit_conditional_move): If TARGET_FIX, handle
13401 cmove with mismatched test and data modes.
13403 Sat Dec 18 20:30:15 1999 Richard Henderson <rth@cygnus.com>
13405 * c-typeck.c (c_expand_start_case): Don't warn for long switch
13408 Sat Dec 18 16:28:43 1999 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
13410 * alias.c: Minor reformatting.
13411 * flow.c: Likewise.
13412 * regs.h: Likewise.
13413 * stor-layout.c: Likewise.
13414 * fold-const.c: Likewise.
13415 (OVERFLOW_SUM_SIGN): Renamed from overflow_sum_sign.
13416 (struct cb_args, const_binop_1, const_binop): Pass type of arg,
13418 (size_int_wide): Cache nodes even if garbage collecting.
13419 (twoval_comparison_p): Reenable SAVE_EXPR case if operand
13420 of SAVE_EXPR has no side effects.
13421 * cse.c: Move a comment.
13422 * tree.c: Minor reformatting.
13423 (int_size_in_bytes): Return -1 if constant overflows.
13425 Sat Dec 18 18:30:20 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
13427 * unroll.c (copy_loop_body): Don't treat a REG like a PLUS.
13429 1999-12-18 10:42 -0800 Zack Weinberg <zack@wolery.cumb.org>
13431 * objc/objc-parse.c: Regenerate. This file must be rebuilt
13432 after any change to c-parse.in, even if objc-parse.y didn't
13435 1999-12-18 David S. Miller <davem@redhat.com>
13437 * toplev.c (rest_of_compilation): Restore BLOCK tree
13438 reconstruction and branch shortening changes lost in
13439 December 18th change.
13441 Sat Dec 18 05:29:29 1999 Scott Bambrough <scottb@netwinder.org>
13443 * config/arm/linux-elf.h: Change all instances of
13444 ARM_FLAG_SHORT_BYTES to ARM_FLAG_MMU_TRAPS.
13445 * config/arm/uclinux-elf.h: Likewise.
13447 1999-12-18 Gabriel Dos Reis <gdr@codesourcery.com>
13449 * toplev.c (notice, vmessage, v_message_with_file_and_line,
13450 v_message_with_decl, file_and_line_for_asm,
13451 v_error_with_file_and_line, v_error_with_decl, v_error_for_asm,
13452 verror, vfatal, v_warning_with_file_and_line, v_warning_with_decl,
13453 v_warning_for_asm, vwarning, vpedwarn, v_pedwarn_with_decl,
13454 v_pedwarn_with_file_and_line, vsorry, vnotice, count_error,
13455 pfatal_with_name, fatal_io_error, need_error_newline,
13456 last_error_function, last_error_tick, announce_function,
13457 default_print_error_function, print_error_function,
13458 report_error_function, fnotice, error_with_file_and_line,
13459 error_with_decl, error_for_asm, error, set_fatal_function, fatal,
13460 _fatal_insn, _fatal_insn_not_found, warning_with_file_and_line,
13461 warning_with_decl, warning_for_asm, warning, pedwarn,
13462 pedwarn_with_decl, pedwarn_with_file_and_line, sorry): Move to
13464 (compile_file): Use fnotice instead of notice. Adjust call.
13466 * diagnostic.c: New file.
13468 * Makefile.in (OBJS): Include diagnostic.o
13469 (diagnostic.o): Define dependence.
13471 1999-12-18 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
13473 * config/c4x/c4x.h (ASM_OUTPUT_XXX): Wrap in do-while(0).
13476 1999-12-18 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
13478 * config/c4x/c4x.md (rpts_top, rptb_top): Add clobbers for rs and re.
13480 1999-12-17 13:21 -0800 Zack Weinberg <zack@rabi.columbia.edu>
13482 * fixtests.c (is_cxx_header): New fn, split out of
13484 (else_endif_label): Allow "#endif // comment" in C++ headers,
13485 as determined by is_cxx_header.
13486 * fixfixes.c (else_endif_label_fix): Update comment.
13487 * fixincl.c: Don't output VERB_PROGRESS lines if stdout is not
13489 * genfixes: Correct double thinko in commandline parsing.
13490 * hackshell.tpl: Generate correct sh syntax for bypass
13493 * inclhack.def (all): Whenever an inserted preprocessor
13494 conditional is split over multiple lines, use double
13495 backslashes in this file so the fixed header will be readable.
13497 (AAB_fd_zero_glibc_1_0): Rename to AAB_fd_zero_asm_posix_types_h
13498 and add bypass entry for correct version of this header.
13499 (AAB_fd_zero_glibc_1_x): Rename to AAB_fd_zero_gnu_types_h.
13500 (AAB_fd_zero_glibc_2_0): Rename to AAB_fd_zero_selectbits_h.
13502 (hpux8_bogus_inlines): New fix, split from...
13503 (ultrix_atof_param) ... here.
13504 (math_expression): Add bypass entry keyed to glibc comment
13505 indicating the problem has been dealt with; disable
13506 unnecessary sed operations; update commentary.
13507 (math_gcc_ifndefs): Rename to math_huge_val_from_dbl_max,
13508 add select and bypass entries, simplify shell operation.
13509 (math_huge_val_ifndef): Split from math_gcc_ifndefs.
13511 (ip_missing_semi, rs6000_param, tinfo_cplusplus,
13512 ultrix_atof_param): Add select entry.
13513 (stdio_va_list, sunos_mather_decl): Add bypass entry.
13514 (systypes_for_aix, sysv86_string, tinfo_cplusplus): Put the
13515 comments with the fixes they describe.
13517 * c-parse.in (string action): Do not warn about ANSI string
13518 concatenation in system headers. Affects C parser only.
13519 * c-parse.y, c-parse.c, c-parse.h: Rebuild.
13521 1999-12-16 Jakub Jelinek <jakub@redhat.com>
13523 * config/sparc/sparc.h (TARGET_ARCH32): Exchange ifdefs so that if
13524 compiling libgcc2 the macro depends always on arch cpp defines.
13526 Fri Dec 17 10:34:16 1999 Richard Earnshaw <rearnsha@arm.com>
13528 * loop.c (insert_loop_mem): Don't record MEMs from inside
13531 Fri Dec 17 12:08:11 MET 1999 Jan Hubicka <hubicka@freesoftr.cz>
13533 * regclass.c (regclass): Do not use flowgraph when not optimizing.
13535 * gcse.c (try_replace_reg): Do replacements in REG_EQUAL/REG_EQUIV
13536 notes too, create one when replacement failed, attempt to simplify
13538 (cprop_insn): Propagate even to registers mentioned only in REG_EQUAL
13539 or REG_EQUIV notes.
13541 1999-12-16 Mark Mitchell <mark@codesourcery.com>
13543 * crtstuff.c (__dso_handle): Declare.
13544 (__cxa_finalize): Likewise.
13545 (do_global_dtors_aux): Call __cxa_finalize if __dso_handle is
13548 * invoke.texi: Document -fuse-cxa-atexit.
13550 * tree.h (ptr_type_node): Document.
13551 (const_ptr_type_node): Likewise.
13553 Fri Dec 17 01:32:38 MET 1999 Jan Hubicka <hubicka@freesoft.cz>
13555 * regmove.c (optimize_reg_copy_1): Ignore LOOP notes.
13556 (optimize_reg_copy_2): Likewise.
13557 (optimize_reg_copy_3): Likewise.
13558 (fixup_match_2): Likewise.
13559 (regmove_optimize): Likewise.
13560 (fixup_match_1): Liekwise.
13562 * i386.md (HI to SImode promoting splitters): Rewrite.
13563 (pushsf mem peep2): New.
13564 (testhi to andhi peep2): Remove.
13565 * i386.h (x86_promote_QImode): New.
13566 (TARGET_PROMOTE_QImode): New.
13567 (PREDICATE_CODES): Add promotable_binary_operator.
13568 * i386.c (x86_promote_QImode0: New.
13569 (promotable_binary_operator): New.
13570 * i386-protos.h (promotable_binary_operator): New.
13572 * i386.md (test?i_1): Use "nonmemory_operand" predicate, simplify
13574 (one_cmpl?i*): Pass "NOT" to unary_operator_ok.
13576 1999-12-16 Mark Mitchell <mark@codesourcery.com>
13578 * Makefile.in (INTREGRATE_H): Rename to INTEGRATE_H.
13579 * function.c (insert_block_after_note): Remove.
13580 (retrofit_block): Likewise.
13581 (identify_blocks): Fix indentation.
13582 (reorder_blocks): Don't NULL out NOTE_SOURCE_FILE for a
13583 NOTE_INSN_BLOCK_BEG or NOTE_INSN_BLOCK_END.
13584 * function.h (insert_block_after_note): Remove prototype.
13585 (retrofit_block): Likewise.
13586 * integrate.c (expand_inline_function): Don't call
13587 find_loop_tree_blocks. Use expand_start_bindings_and_block, not
13588 just expand_start_bindings. Use the block_map to remap old
13589 NOTE_BLOCKs to new ones.
13590 (integrate_decl_tree): Keep track of remapped blocks.
13591 * integrate.h (struct inline_remap): Add block_map.
13592 * stmt.c (expand_fixup): Don't try to retrofit_blocks. Just set
13593 NOTE_BLOCK on the notes.
13594 (expand_start_bindings): Rename to ...
13595 (expand_start_bindings_and_block): Add parameter. Set NOTE_BLOCK.
13596 (expand_end_bindings): Set NOTE_BLOCK.
13597 * toplev.c (rest_of_compilation): In function-at-a-time-mode,
13598 reconstruct the BLOCK tree.
13599 * tree.h (expand_start_bindings): Macroize. Call ...
13600 (expand_start_bindings_and_block): New function.
13602 1999-12-16 Jakub Jelinek <jakub@redhat.com>
13604 * config/sparc/sparc.c (print_operand): Cast fprintf arguments
13605 to match the format.
13607 1999-12-16 David S. Miller <davem@redhat.com>
13609 * expr.c (emit_move_insn_1): Only emit clobbers if one of
13610 the outputs is a SUBREG.
13611 * rtlanal.c (reg_overlap_mentioned_p): Revert December 15th
13614 * config/sparc/sparc.c (epilogue_renumber): Add default case
13617 Thu Dec 16 11:33:57 MET 1999 Jan Hubicka <hubicka@freesoft.cz>
13619 * toplev.c (rest_of_compilation): Run branch shortening after
13622 * regclass.c (loop_depth): Remove
13623 (scan_one_insn): Do not handle LOOP_NOTE insns.
13624 (regclass): Go through basic blocks and set loop_cost
13626 Thu Dec 16 02:56:25 1999 Zack Weinberg <zack@bitmover.com>
13628 * tree.h (DECL_FROM_INLINE): Check DECL_ABSTRACT_ORIGIN too.
13630 Thu Dec 16 10:43:35 MET 1999 Jan Hubicka <hubicka@freesoft.cz>
13632 * i386.md (movqi): Use "nonimmediate_operand" for output operand.
13633 (movstrictqi, movdi, movsf, movdf, movxf): Likewise.
13634 (adddi, addqi, addhi, subdi, subqi, subhi, ffs): Likewise.
13636 Thu Dec 16 02:41:26 1999 Richard Henderson (rth@cygnus.com)
13638 * loop.c (insert_loop_mem): Ignore memory clobbers.
13640 * combine.c (simplify_comparison): Reduce (OP (MINUS A B) 0)
13643 Thu Dec 16 02:26:11 1999 Jeffrey A Law (law@cygnus.com)
13645 * profile.c: Remove redundant #include "output.h".
13647 * h8300.md (HImode preinc peephole): Fix typo.
13649 1999-12-15 Jason Merrill <jason@casey.cygnus.com>
13651 * function.c (retrofit_block): Abort if we don't find a suitable insn.
13652 (insert_block_after_note): Abort if we don't have a previous block.
13653 Remove FN parameter.
13654 * function.h: Adjust.
13656 1999-12-15 Mark Mitchell <mark@codesourcery.com>
13658 * builtins.c (expand_builtin_mathfn): Make sure not to expand the
13659 argument more than once.
13661 1999-12-15 Jason Merrill <jason@casey.cygnus.com>
13663 * stmt.c (expand_decl): Expand upper bound of a dynamic array.
13665 1999-12-15 Jakub Jelinek <jakub@redhat.com>
13667 * expr.c (emit_group_load): Use dst mode if src is VOIDmode.
13669 Wed Dec 15 16:11:55 MET 1999 Jan Hubicka <hubicka@freesoft.cz>
13671 * function.c (PREFERRED_STACK_BOUDNARY): Provide default value.
13672 (assign_stack_local_1): Limit alignment to PREFERRED_STACK_BOUNDARY,
13673 update stack_alignment_needed.
13674 (prepare_function_start): Initialize stack_alignment_needed
13675 * function.h (struct function): Add field stack_alignment_needed.
13677 Wed Dec 15 14:55:24 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
13679 * caller-save.c (insert_one_insn): Returns struct insn_chain *.
13680 Handle live_throughout / dead_or_set instead of live_before /
13682 (save_call_clobbered_regs): Get register livenessinformation from
13683 chain->live_throughout.
13684 (add_stored_regs): New function.
13685 (insert_restore, insert_save): Add restored / saved registers to
13687 * global.c (reg_dies): New parameter chain.
13688 (reg_becomes_live): Third parameter is regs_set now.
13689 Changed all callers.
13690 (reg_dies): New parameter chain. Changed all callers.
13691 (build_insn_chain): Set live_throughout instead of
13692 live_before / live_after.
13693 * reload.h (struct insn_chain): Replace members live_before /
13694 live_after with live_throughout / dead_or_set.
13695 * reload1.c (new_insn_chain): Handle live_throughout / dead_or_set
13696 instead of live_before / live_after.
13697 (maybe_fix_stack_asms, find_reload_regs, finish_spills): Likewise.
13698 (order_regs_for_reload, find_reg, finish_spills): Likewise.
13699 (choose_reload_regs_init): Likewise.
13700 * stupid.c (current_chain, find_clobbered_regs): Delete.
13701 (stupid_life_analysis): Set chain->live_throughout chain->dead_or_set
13702 instead of chain->live_before / chain->live_after.
13703 (mark_hard_ref): New function.
13704 (stupid_mark_refs): Call mark_hard_ref. Clear chain->live_throughout.
13706 1999-12-15 David S. Miller <davem@redhat.com>
13708 * rtlanal.c (reg_overlap_mentioned_p): Handle CONCAT.
13710 Wed Dec 15 15:05:30 MET 1999 Jan Hubicka <hubicka@freesoft.cz>
13712 * flow.c (calculate_loop_depth): Make global, remove prototype,
13713 rewrite to use new loop infrastructure.
13714 (find_basic_block): Remove calculate_loop_depth call.
13715 * toplev.c (rest_of_compilation): Call find_basic_block.
13716 * output.h (calculate_loop_depth): Declare.
13718 * flow.c (dump_flow_info): Dump loop_depth.
13719 (flow_loops_nodes_find): Increase loop_depth for basic block in the
13721 (flow_loops_find): Initialize the loop_depth for each basic block.
13723 1999-12-15 Jason Merrill <jason@casey.cygnus.com>
13725 * tree.c (decl_function_context): Handle virtual functions.
13727 * tlink.c (scan_linker_output): Don't look in demangled name when
13728 looking for linker output keywords.
13730 * dwarfout.c (output_type): We can defer namespace-scope classes.
13732 Wed Dec 15 01:23:29 1999 Jeffrey A Law (law@cygnus.com)
13734 * regclass.c (record_reg_classes): Update comment for merging
13735 register class preferences in reg->reg copies. Tighten conditions
13736 for merging register class preferences in reg->reg copies.
13738 Wed Dec 15 02:19:32 1999 David Edelsohn <edelsohn@gnu.org>
13740 * rs6000.md (tablejumpdi): Generate DImode LABEL_REF.
13742 1999-12-14 Geoff Keating <geoffk@cygnus.com>
13744 * config/m68k/m68020-elf.h (ENDFILE_SPEC): Delete.
13745 (INIT_SECTION_ASM_OP): Delete.
13746 (FINI_SECTION_ASM_OP): Delete.
13747 (STARTFILE_SPEC): Define to hold just crtbegin.o.
13749 1999-12-14 Jason Merrill <jason@casey.cygnus.com>
13751 * dwarf2out.c (add_abstract_origin_attribute): Do call abort if
13752 the abstract origin wasn't emitted.
13754 * dwarf2out.c (class_scope_p): New fn.
13755 (gen_subprogram_die): Use it.
13756 (gen_variable_die): Use it. Tweak logic.
13757 (gen_struct_or_union_type_die): Check context_die to determine
13758 if we're function-local.
13759 (dwarf2out_decl): Check DECL_BUILT_IN, not DECL_FUNCTION_CODE.
13761 1999-12-14 Bernd Schmidt <bernds@cygnus.co.uk>
13763 * loop.c (check_dbra_loop): Can't reverse a biv that has
13764 maybe_multiple set.
13766 1999-12-14 Nick Clifton <nickc@cygnus.com>
13768 * config/arm/arm.c: Add support for -mcpu=arm720 command line
13771 Tue Dec 14 18:13:32 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
13773 * loop.c (strength_reduce): Fix sign of giv lifetime calculation
13774 for givs made from biv increments.
13776 Tue Dec 14 08:11:27 1999 Richard Henderson <rth@cygnus.com>
13778 * configure.in (alpha-osf, alpha-linux): Handle ev6[78].
13779 * alpha.c (override_options): Recognize -mcpu=ev67.
13780 * alpha.h (CPP_CPU_EV67_SPEC): New.
13781 (CPP_CPU_DEFAULT_SPEC): Examine TARGET_CPU_DEFAULT to use it.
13782 (EXTRA_SPECS): Update.
13784 Tue Dec 14 08:04:28 1999 Richard Henderson <rth@cygnus.com>
13786 * cppp.c (main): Set trigraphs and __STRICT_ANSI__ as
13787 appropriate for -lang-c89 and -std=*.
13788 * cppinit.c (cpp_handle_option): Likewise.
13789 (new_pending_define): New, split out from cpp_handle_option.
13790 * gcc.c (default_compilers): Don't define __STRICT_ANSI__
13791 or enable trigraphs for -ansi/-std=*.
13793 * ginclude/stdarg.h (__va_copy): New.
13794 (va_copy): Don't define for C89.
13796 Tue Dec 14 08:37:27 CST 1999 Clinton Popetz <cpopetz@cygnus.com>
13798 * config/arm/arm.md (mulsidi3adddi, umulsidi3adddi): New patterns
13799 for long long multiply-accumulate.
13801 Tue Dec 14 13:51:38 MET 1999 Jan Hubicka <hubicka@freesoft.cz>
13803 * regclass.c (scan_one_insn): Set loop_cost to 1 when
13804 optimizing for size.
13806 1999-12-14 Bernd Schmidt <bernds@cygnus.co.uk>
13808 * reload1.c (reload): Can't avoid select_reload_regs/finish_spills
13809 if something changed. Back out that part of yesterday's changes.
13811 * loop.c (loop_max_reg): New static variable.
13812 (loop_optimize): Initialize it. Eliminate one unnecessary call to
13814 (scan_loop): Call reg_scan_update whenever we may have added new
13815 registers, and update loop_max_reg.
13817 Tue Dec 14 12:07:29 MET 1999 Jan Hubicka <hubicka@freesoft.cz>
13819 * regclass.c (record_reg_classes): Do not do the copying preferrencing
13820 when source does not die.
13822 * regclass.c (record_reg_classes): Handle INOUT operands propertly.
13824 1999-12-14 Jakub Jelinek <jakub@redhat.com>
13826 * config/sparc/linux64.h (TARGET_LIVE_G0,
13827 TARGET_BROKEN_SAVERESTORE): Don't support weird SPARC
13829 * config/sparc/linux.h (TARGET_LIVE_G0,
13830 TARGET_BROKEN_SAVERESTORE): Likewise.
13831 * config/sparc/linux-aout.h (TARGET_LIVE_G0,
13832 TARGET_BROKEN_SAVERESTORE): Likewise.
13834 * config/sparc/sparc.h (SPARC_DEFAULT_CMODEL): Default to CM_32.
13835 (CONDITIONAL_REGISTER_USAGE): For block profiling fix %g4 on sparc64,
13837 (MACHINE_STATE_SAVE, MACHINE_STATE_RESTORE): Use %g4 instead of %g2
13838 as sparc64 block profiling register.
13839 * config/sparc/sparc.c (sparc_override_options): Allow block
13840 profiling with -m32.
13841 (sparc_block_profiler): Use %g4 instead of %g2 as sparc64 block
13842 profiling register.
13843 * config/sparc/linux64.h (MACHINE_STATE_*): Only provide these
13844 macros on TARGET_ARCH32. sparc.h has macros good enough for sparc64.
13845 * config/sparc/sol2.h (MACHINE_STATE_*): Likewise.
13847 * config/sparc/xm-sp64.h: Avoid using __sparc_v9__ when testing
13849 * config/sparc/sparc.h: Likewise.
13850 * config/sparc/xm-sysv4-64.h: Likewise.
13851 * config/float-sparc.h: Likewise.
13852 * glimits.h: Likewise.
13853 * longlong.h: Likewise.
13855 * config/sparc/linux64.h (DEFAULT_VTABLE_THUNKS): Define to 1.
13856 (ASM_IDENTIFY_GCC): Remove.
13858 1999-12-14 Bernd Schmidt <bernds@cygnus.co.uk>
13860 * combine.c (combine_simplify_rtx): Don't make shared rtl.
13861 (simplify_logical): Likewise.
13863 1999-12-14 Mumit Khan <khan@xraylith.wisc.edu>
13865 * cccp.c (INO_T_EQ): Disable inode-based optimization for Cygwin.
13866 * cppfiles.c (INO_T_EQ): Likewise.
13868 1999-12-14 Mumit Khan <khan@xraylith.wisc.edu>
13870 * i386/crtdll.h (STARTFILE_SPEC): Add -pg profiling support.
13871 * i386/mingw32.h (LIB_SPEC): Likewise.
13872 (STARTFILE_SPEC): Likewise.
13873 * i386/uwin.h (LIB_SPEC): Likewise.
13874 (STARTFILE_SPEC): Likewise.
13876 * i386/mingw32.h (SUBTARGET_PROLOGUE): Override Cygwin definition.
13877 * i386/uwin.h (SUBTARGET_PROLOGUE): Likewise.
13879 Mon Dec 13 20:25:29 1999 Jeffrey A Law (law@cygnus.com)
13881 * combine.c (combine_simplify_rtx): Fix order of checks for
13882 (ashiftrt foo C) -> (lt foo (const_int 0)) simplification.
13884 1999-12-13 Clinton Popetz <cpopetz@cygnus.com>
13886 * config/arm/arm.md (*mulsidi3adddi, *umulsidi3adddi) Backed out
13887 12/10/99 change, reapplied to merged-arm-thumb-backend-branch.
13889 1999-12-10 Bernd Schmidt <bernds@cygnus.co.uk>
13891 * hard-reg-set.h (inv_reg_alloc_order): Declare if REG_ALLOC_ORDER is
13893 * regclass.c (inv_reg_alloc_order): New array.
13894 (regclass_init): If REG_ALLOC_ORDER is defined, initialize it.
13896 * reload.h (struct insn_chain): Delete fields group_size, group_mode,
13897 counted_for_groups, counted_for_nongroups. Add fields rld and
13899 * reload.c (push_secondary_reload): Don't set nongroup field of
13901 (push_reload): Likewise.
13902 (find_reloads): Delete code to compute nongroup fields.
13903 * reload1.c (reload_insn_firstobj): New static variable.
13904 (pseudos_counted, spilled_pseudos): Now of type regset_head. All
13906 (calculate_needs, find_tworeg_group, find_group, possible_group_p,
13907 count_possible_groups, modes_equiv_for_class_p, new_spill_reg,
13908 dump_needs, maybe_mark_pseudo_spilled, hard_reg_use_compare): Delete
13910 (count_pseudo, select_reload_regs, copy_reloads, find_reg): New
13912 (struct hard_reg_n_uses): Deleted.
13913 (potential_reload_regs): Deleted.
13914 (init_reload): Initialize spilled_pseudos and pseudos_counted.
13915 (reload): Don't try to allocate reload registers if we already know
13916 we have to make another pass. Call select_reload_regs. Free memory
13917 starting with reload_firstobj when starting another pass.
13918 Don't allocate spilled_pseudos.
13919 (calculate_needs_all_insns): Call copy_reloads for an insn that
13920 needs reloads; don't call calculate_needs.
13921 (spill_cost): New static array.
13922 (used_spill_regs_local): New static variable.
13923 (order_regs_for_reload): Rewrite to lose hard_reg_n_uses and the code
13924 to compute potential_reload_regs.
13925 (find_reload_regs): Completely rewritten to use find_reg.
13926 (allocate_reload_reg): Don't test counted_for_groups or
13927 counted_for_nongroups. Lose NOERROR arg and code to give an error;
13928 all cllers changed.
13929 (choose_reload_regs): Add fallback code that uses the existing
13930 register allocation from find_reload_regs.
13932 Mon Dec 13 00:54:14 1999 Philippe De Muyter <phdm@macqel.be>
13934 * flow.c (create_edge_list): Cast xmalloc return value.
13936 Mon Dec 13 00:47:58 1999 Jeffrey A Law (law@cygnus.com)
13938 * doprnt.c: Remove incorrect comment closure.
13940 * cse.c: Fix a few minor whitespace goofs.
13942 1999-12-13 Don Bowman <don@pixstream.com>
13944 * mips/vxworks.h: Fix problem with comment termination.
13945 (EXTRA_SECTIONS): Add in_sbss.
13946 (EXTRA_SECTION_FUNCTIONS): Corresponding changes.
13948 1999-12-12 David S. Miller <davem@redhat.com>
13950 * cse.c (struct cse_reg_info): Add hash_next member,
13951 reorder rest of struct for better packing on 64-bit
13953 (cse_reg_info_tree): Kill.
13954 (REGHASH_SHIFT, REGHASH_SIZE, REGHASH_MASK, reg_hash,
13955 REGHASH_FN): New custom pow2 hash mechanism.
13957 (HASH_SHIFT, HASH_SIZE, HASH_MASK, HASH, table): Rework to
13958 use a pow2 hash table.
13959 (get_cse_reg_info): Rework to use new REGHASH.
13960 (new_basic_block): Likewise, use HASH_SIZE, and inline
13962 (remove_from_table): Rework to use HASH_SIZE/HASH_MASK,
13963 and inline free_element call.
13964 (lookup_as_function, insert, flush_hash_table, invalidate,
13965 remove_invalid_refs, remove_invalid_subreg_refs, rehash_using_reg,
13966 invalidate_for_call, use_related_value, find_comparison_args,
13967 fold_rtx, equiv_constant, cse_insn, invalidate_memory): Likewise.
13968 (hash_cse_reg_info, cse_reg_info_equal_p, free_element,
13969 get_element): Kill.
13971 Sun Dec 12 21:31:44 1999 Jeffrey A Law (law@cygnus.com)
13973 * cse.c (cse_basic_block): Free qty_table consistently.
13975 1999-12-12 David S. Miller <davem@redhat.com>
13976 Jakub Jelinek <jakub@redhat.com>
13978 * config/sparc/sparc.md (movtf reg/reg split): Don't generate
13979 SUBREGs by hand, gen the appropriate hard reg directly.
13980 (movtf reg/mem split): Likewise and alter_subreg on destination
13982 (movtf mem/reg split): Similarly.
13983 (movdf_cc_sp64): Rename from hidden pattern.
13984 (movtf_cc_hq_sp64): Renamed from movtf_cc_sp64.
13985 (movtf_cc_sp64, following split): New pattern and splitter.
13986 (movdf_cc_reg_sp64): Rename from hidden pattern.
13987 (movtf_cc_reg_hq_sp64): Renamed from movtf_cc_reg_sp64, require
13989 (movtf_cc_reg_sp64, following split): New pattern and splitter.
13991 1999-12-12 Stephen L Moshier <moshier@mediaone.net>
13993 * loop.c (load_mems): Don't hoist written floating point mem
13996 1999-12-12 Mark Mitchell <mark@codesourcery.com>
13998 * except.h (struct eh_queue): Add `next' pointer.
13999 (struct eh_status): Make x_ehqueue a pointer.
14000 (push_ehqueue): Declare.
14001 (pop_ehqueue): Likewise.
14002 * except.c (expand_eh_region_end): Adjust now that ehqueue is a
14004 (expand_fixup_region_end): Likewise.
14005 (expand_leftover_cleanups): Likewise.
14006 (push_ehqueue): Define.
14007 (pop_ehqueue): Likewise.
14008 (emit_cleanup_handler): Use push_ehqueue and pop_ehqueue rather
14009 than doing it inline.
14010 (expand_start_all_catch): Adjust now that ehqueue is a
14012 (mark_eh_queue): Mark all level of the queue.
14013 (mark_eh_status): Adjust now that ehqueue is a
14015 (init_eh_for_function): Allocate ehqueue.
14016 (free_eh_status): Free it.
14017 * stmt.c (expand_cleanups): Save the ehqueue around the cleanup
14018 expansion for a fixup.
14020 1999-12-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
14022 * gthr-single.h (__gthread_active_p): Add prototype arguments.
14024 * libgcc2.c (__udivmoddi4): Remove unnecessary decls.
14025 (__dummy, __builtin_saveregs, __bb_exit_trace_func, __bb_init_prg,
14026 __bb_trace_func, __bb_trace_func_ret, __bb_trace_ret,
14027 function_ptr, getpagesize, __enable_execute_stack,
14028 __enable_execute_stack, __clear_insn_cache,
14029 __enable_execute_stack, __do_global_dtors, __do_global_ctors,
14030 _cleanup, _exit, __default_terminate, __terminate_func,
14031 __terminate, __empty, __throw, new_eh_context,
14032 eh_context_initialize, eh_context_static, eh_context_specific,
14033 get_eh_context, __get_eh_context, __get_eh_info,
14034 init_reg_size_table, eh_threads_initialize,
14035 __get_dynamic_handler_chain, __sjthrow, __sjpopnthrow,
14036 __unwinding_cleanup, throw_helper, __throw, __rethrow,
14037 __pure_virtual): Add prototype arguments.
14038 (__bb_exit_func): Cast a sizeof to long when comparing against one.
14039 Cast a signed value to unsigned long when comparing against one.
14040 (new_eh_context): Wrap in _GTHREADS macro.
14041 (__sjthrow, __sjpopnthrow): Initialize variable `cleanup' at
14043 (in_reg_window): Mark parameters with __attribute__ ((__unused__)).
14044 (throw_helper): Initialize variables `handler_p' and `pc_p'.
14046 1999-12-11 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
14048 * combine.c (record_promoted_value): Remove unused variable
14051 * emit-rtl.c (renumber_insns): Likewise for `old_max_uid'.
14053 * global.c (record_conflicts): Likewise for `j'.
14055 * genoutput.c (output_insn_data): Don't unnecessarily cast away
14058 1999-12-11 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
14060 * i386-protos.h (output_387_binary_op, output_fix_trunc,
14061 output_fp_compare): Constify a char*.
14063 * i386.c (ix86_split_to_parts, ix86_safe_length_prefix): Add
14065 (override_options, ix86_comp_type_attributes, print_operand,
14066 output_387_binary_op, output_fix_trunc, output_fp_compare):
14068 (ix86_sched_reorder): Mark parameter `clock_var' with
14071 * i386.h (DEBUG_PRINT_REG): Constify a char*.
14073 Fri Dec 10 16:12:13 1999 Alexandre Petit-Bianco <apbianco@cygnus.com>
14075 * tree.def (EXPR_WITH_FILE_LOCATION): Temporarily add a third
14076 operand, for use in the Java front-end.
14078 1999-12-10 Ben Collins <bcollins@debian.org>
14080 * configure.in: Fix typo for "-64" in 64bit as check.
14081 * configure: Rebuilt.
14083 1999-12-10 Jakub Jelinek <jakub@redhat.com>
14085 * longlong.h (__sparc_v9__): Use %rDIGIT instead of %DIGIT where
14088 1999-12-10 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
14090 * c-parse.in (string): With -Wtraditional, warn if ANSI string
14091 concatenation is utilized.
14093 * invoke.texi (-Wtraditional): Document it.
14095 1999-12-10 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
14097 * flow.c (flow_loops_dump): Avoid ANSI string concatenation.
14098 Cast a ptrdiff_t to long and pass it to printf with %ld.
14100 1999-12-10 Geoff Keating <geoffk@cygnus.com>
14102 * config/m68k/m68k.h (CONDITIONAL_REGISTER_USAGE): If we have no
14103 68881, we have no 68881 registers at all.
14104 (HARD_REGNO_MODE_OK): It is always OK to put a MODE_FLOAT
14105 value in a 68881 register if it is available.
14107 1999-12-10 Clinton Popetz <cpopetz@cygnus.com>
14109 * config/arm/arm.md (*mulsidi3adddi, *umulsidi3adddi): New patterns
14110 for long long multiply-accumulate.
14112 1999-12-10 Bernd Schmidt <bernds@cygnus.co.uk>
14114 * loop.c (insert_loop_mem): Undo last change.
14116 1999-12-10 David S. Miller <davem@redhat.com>
14118 * config/sparc/sparc.c (fp_sethi_p, fp_mov_p, fp_high_losum_p):
14120 * config/sparc/sparc-protos.h: Add them.
14121 * config/sparc/sparc.h: Add them to PREDICATE_CODES.
14122 (EXTRA_CONSTRAINT_BASE): New macro, handling Q, R, and S
14123 constraints which use those helpers.
14124 (EXTRA_CONSTRAINT): Use this new macro.
14125 * md.texi: Update sparc target constraints documentation.
14126 * config/sparc/sparc.md (clear_sf, clear_sfp, movsf_const_intreg,
14127 movsf_const_high, movsf_const_lo, movsf_insn): Delete.
14128 (movsf_insn_novis_liveg0, movsf_insn_novis_noliveg0,
14129 movsf_insn_vis, movsf_lo_sum, movsf_high): New patterns.
14130 (movsf high/lo_sum split): Rework for new patterns.
14131 (movsf expander): Allow storing fp_zero to memory if ! live_g0.
14133 1999-12-09 Gavin Romig-Koch <gavin@cetus.cygnus.com>
14135 * c-common.c (c_common_nodes_and_builtins):
14136 Create __builtin_ptrdiff_t and __builtin_size_t.
14138 Thu Dec 9 18:05:48 1999 Jeffrey A Law (law@cygnus.com)
14140 * pa/elf.h (MAX_OFILE_ALIGNMENT): Define.
14142 Fri Dec 10 00:53:10 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
14144 * regclass.c (globalize_reg): Re-instate test that allows
14145 fixed registers to be declared as a variable even after functions
14148 Fri Dec 10 00:52:13 MET 1999 Jan Hubicka <hubicka@freesoft.cz>
14150 * i386.md (cpu attribute): Add "athlon".
14151 (athlon_decode): New attribute.
14152 (Athlon scheduling units definitions): New.
14153 (fcmp and shld patterns): Set athlon_decode to "vector".
14154 * i386.c (athlon_cost): New.
14156 (x86_use_leave, x86_push_memory, x86_movx, x86_cmove, x86_deep_branch,
14157 x86_use_sahf): Set for Athlon.
14158 (x86_use_fiop): Unset for Athlon.
14159 (override_options): Define Athlon alignments and "athlon" name.
14160 (x86_adjust_cost): Penalize AGI and delayed latencies for Athlon.
14161 * i386.h (TARGET_ATHLON): New.
14162 (enum processor_type): Add PROCESSOR_ATHLON.
14163 (TARGET_CPU_DEFAULT_SPEC): Set to "-D__tune_athlon__"
14165 (TARGET_CPP_CPU_SPECS): Set -D__tune_athlon__ for Athlon.
14167 1999-12-09 Andreas Jaeger <aj@suse.de>
14169 * loop.c (record_biv): Declare parameter as int.
14171 * config/i386/i386-protos.h: Declare long_memory_operand.
14173 1999-12-09 Mark Mitchell <mark@codesourcery.com>
14175 * tree.c (copy_node): Do zero the TREE_CHAIN, even for an
14176 EXPR_WITH_FILE_LOCATION.
14178 Thu Dec 9 11:36:24 MET 1999 Jan Hubicka <hubicka@freesoft.cz>
14180 * i386.md (neg??, abs?f, one_cmpl?i): Use nonimmediate_operand
14183 * flow.c (recompute_reg_usage): Use basic block info to get loop_depth.
14185 * combine.c (try_combine, distribute_notes): Remove REG_N_REFS
14188 1999-12-09 Jakub Jelinek <jakub@redhat.com>
14190 * config/sparc/linux64.h (TARGET_DEFAULT): Make -mapp-regs
14191 default on linux64 again.
14192 * config/sparc/t-linux64: Add mno-app-regs and non-medlow code
14193 models for multilibing.
14194 * genmultilib: Accept | as alternative separator within a set in
14197 * config/sparc/sparc.h (PROMOTE_FOR_CALL_ONLY): Define.
14199 * calls.c (precompute_arguments): Make sure initial_value contains
14200 value pseudo which CSE expects.
14201 * cse.c (struct set): New entry orig_src.
14202 (cse_insn): Set it early on entry, use it for libcall EQUIV note
14205 Wed Dec 8 22:24:15 1999 Richard Henderson <rth@cygnus.com>
14207 * flow.c (count_basic_blocks): Don't add (use (const_int 0)) insns.
14209 1999-12-08 Bernd Schmidt <bernds@cygnus.co.uk>
14211 * loop.c (insert_loop_mem): Don't hoist volatile mems out of loops.
14213 1999-12-08 Jakub Jelinek <jakub@redhat.com>
14215 * config/sparc/sparc.c (ultra_cmove_results_ready_p,
14216 ultra_fpmode_conflict_exists, ultra_flush_pipeline): Typo fix.
14218 * config/sparc/sparc.h (SPARC_SETHI_P): Don't look at topmost 32 bits
14221 * longlong.h: Merge in changes from glibc.
14222 Also don't clobber %g2 register in 32bit SPARC assembly, so that
14223 -mno-app-regs libgcc can be compiled.
14224 * libgcc2.c: Add defines so that the updated longlong.h
14225 can be used in libgcc2.a. Also, make sure on most architectures
14226 (at least on all which have optimized code in longlong.h defined
14227 for) {SI,W}_TYPE_SIZE is suitable for preprocessor tests.
14229 1999-12-08 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
14231 * config/sparc/sol2-64.h: Same as sol2-sld-64.h, except that
14232 `-m EMULATION' is added to non-default LINK_ARCH_SPECs.
14233 * configure.in: Use sol2-64.h instead of sol2-sld-64.h if linker
14235 * configure: Rebuilt.
14237 Wed Dec 8 03:45:40 1999 Richard Henderson <rth@cygnus.com>
14239 * alpha.c (secondary_reload_class): For !BWX, sub-simode
14240 outputs require a register.
14242 1999-12-08 Brendan Kehoe <brendan@cygnus.com>
14244 * Makefile.in (FPBIT_FUNCS, DPBIT_FUNCS): Add _sf_to_usi
14245 _df_to_usi. Required by some targets, so US_SOFTWARE_GOFAST calls to
14246 functions like dptoul will be resolved.
14247 (libgcc2.a): Make sure that the object files from DPBIT are named
14248 differently (prefix `_dp') from those that would be coming from
14251 1999-12-08 Alexandre Oliva <oliva@lsd.ic.unicamp.br>, Jakub Jelinek <jakub@redhat.com>
14253 * configure.in: When target is sparc* and tm_file contains 64,
14254 test for 64bit support in assembler. If not supported, remove
14255 sparc/t-sol2-64 from target-dependent Makefile fragments.
14256 (AS_SPARC64_FLAG): Define to the assembler flag for 64bit.
14257 (HAVE_AS_OFFSETABLE_LO10): Rework test to use these flags.
14258 (HAVE_AS_REGISTER_PSEUDO_OP): Use config.cache.
14259 * acconfig.h (AS_SPARC64_FLAG): Added.
14260 * configure, config.in: Rebuilt.
14261 * config/sparc/sol2-sld-64.h: Same as sol2.h, if without 64bit
14262 support. Use AS_SPARC64_FLAG.
14264 1999-12-07 Jakub Jelinek <jakub@redhat.com>
14266 * config/sparc/sparc.c (hard_32bit_mode_classes): Mark registers
14267 suitable for holding OFmode values so that gcc works with complex
14269 (hard_64bit_mode_classes): Likewise.
14271 * config/sparc/sparc.md (sethi_di_medlow_embmedany_pic): Fix pattern
14272 so that it is actually matched.
14273 (sethi_di_medlow): Likewise.
14275 * config/sparc/sparc.h (LEGITIMATE_CONSTANT_P): Consider TFmode 0.0L
14276 as legitimate constant if -mvis.
14277 * config/sparc/sparc.md (movtf): Likewise.
14278 (clear_sf): Use const_double_operand.
14279 (clear_sfp, clear_dfp, clear_tf, clear_tfp): New patterns.
14281 * config/sparc/sparc.c (sparc_emit_float_lib_cmp): New function.
14282 * config/sparc/sparc-protos.h (sparc_emit_float_lib_cmp): Prototype.
14283 * config/sparc/sparc.h (*_LIBCALL): Only use for _Q_*
14284 routines, _Qp_* cannot be handled like that now.
14285 (INIT_TARGET_OPTABS): Likewise.
14286 * config/sparc/sparc.md (cmptf): Accept soft float ARCH64.
14287 (seq, sne, sgt, sge, slt, sle, beq, bne, bgt, bge, blt, ble): Call
14288 sparc_emit_float_lib_cmp if ARCH64 and soft float.
14289 (extendsftf2, extenddftf2, trunctfsf2, trunctfdf2, floatsitf2,
14290 floatditf2, fix_trunctfsi2, fix_trunctfdi2, addtf3, subtf3, multf3,
14291 divtf3, sqrttf3): New expanders.
14292 (extendsftf2_hq, extenddftf2_hq, trunctfsf2_hq, trunctfdf2_hq,
14293 floatsitf2_hq, floatditf2_hq, fix_trunctfsi2_hq, fix_trunctfdi2_hq,
14294 addtf3_hq, subtf3_hq, multf3_hq, divtf3_hq, sqrttf3_hq): Rename from
14297 * configure.in (sparc64-*-linux*): Use posix threads if enabled.
14298 * configure: Rebuilt.
14299 * config/sparc/linux64.h: Default to -mcpu=ultrasparc if no
14300 -mcpu is given and we're doing 64bit compiles.
14302 Tue Dec 7 19:22:06 1999 Richard Henderson <rth@cygnus.com>
14304 * loop.h (struct induction): Add multi_insn_incr.
14305 * loop.c (basic_induction_var): New multi_insn_incr argument.
14306 Set it if we search back through previous insns for the biv.
14307 (record_biv): New multi_insn_incr argument; fill in struct induction.
14308 (strength_reduce): Discard an iv with multiple bivs, any of
14309 which require multiple insns to increment.
14311 1999-12-07 Martin v. Löwis <loewis@informatik.hu-berlin.de>
14313 * invoke.texi (C Dialect Options): Remove -flang-c9x, add -std
14316 1999-12-06 David S. Miller <davem@redhat.com>
14318 * combine.c (check_promoted_subreg): Do not conditionalize this upon
14319 PROMOTE_FUNCTION_RETURN.
14321 Mon Dec 6 15:12:14 1999 Jim Wilson <wilson@cygnus.com>
14323 * regmove.c (optimize_reg_copy_1): If no REG_DEAD note, check for
14324 and handle REG_UNUSED note on insn.
14326 * combine.c (force_to_mode, case LSHIFTRT): New local inner_mask. Set
14327 inner_mask instead of mask.
14329 1999-12-06 Brendan Kehoe <brendan@cygnus.com>
14331 * dwarf2out.c (field_byte_offset): As with dwarfout.c, size can be
14332 zero if there was an error.
14334 1999-12-06 Jakub Jelinek <jakub@redhat.com>
14336 * config/sparc/sparc.md (return_losum_di): Fix typo in asm
14339 * longlong.h: Fix clobbers in SPARC asm statements.
14341 * config/sparc/sparc.c (input_operand): Allow HImode and QImode
14342 valid sethi operations when TARGET_ARCH64.
14344 * calls.c (save_fixed_argument_area): If save_mode is BLKmode,
14345 always use move_by_pieces to avoid infinite recursion.
14346 (restore_fixed_argument_area): Likewise.
14348 * combine.c (check_promoted_subreg, record_promoted_value): New
14350 (combine_instructions): Use them to retain nonzero and sign bit
14351 information after SUBREGs are eliminated by optimizations in
14352 this pass if PROMOTE_FUNCTION_RETURN.
14354 * config/sparc/sparc.h (ASM_DECLARE_REGISTER_GLOBAL): Document
14355 .register declaration. Don't use variables with __ prefixes.
14357 Mon Dec 6 12:24:52 1999 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
14359 * fold-const.c (optimize_bit_field_compare): Only use one mode
14360 for both RHS and LHS in non-constant case.
14362 1999-12-06 Nathan Sidwell <nathan@acm.org>
14364 * frame.c (start_fde_sort): Only allocate erratic array, if
14365 linear one was allocated. Return allocated flag.
14366 (fde_insert): Only insert, if there's a valid array.
14367 (fde_end_sort): Split, sort and merge if linear and erratic
14368 arrays exist, else just sort linear one.
14369 (search_fdes): New function. Linear search through original fde
14371 (frame_init): Permit multiple initializations. Cope with
14373 (find_fde): Fallback on linear search, if failed to sort array.
14374 (__deregister_frame_info): Only free sorted array, if we
14377 1999-12-06 Jakub Jelinek <jakub@redhat.com>
14379 * config/sparc/sparc.h (MUST_PASS_IN_STACK): New macro.
14381 1999-12-05 Jakub Jelinek <jakub@redhat.com>
14383 * config/sparc/sparc.c (sparc64_initialize_trampoline): Use gen_flushdi.
14385 1999-12-05 Mark Mitchell <mark@codesourcery.com>
14387 * tree.h (special_function_p): Declare.
14388 * calls.c (special_function_p): Make it global. Don't take `name'
14389 as a parameter. Fix typo in 1999-11-28 change.
14390 (expand_cal): Adjust.
14392 1999-12-04 Mark Mitchell <mark@codesourcery.com>
14394 * tree.def (EXPR_WITH_FILE_LOCATION): Fix comment formatting.
14395 * tree.h (EXPR_WFL_FILENAME): Define in terms of
14396 EXPR_WFL_FILENAME_NODE.
14397 (EXPR_WFL_FILENAME_NODE): Use the second operand slot rather than
14399 * print-tree.c (print_note): Print TREE_PRIVATE and
14402 * dwarf2out.c (add_abstract_origin_attribute): Don't abort when
14403 the original die cannot be found.
14405 * varray.h (varray_head_tag): Add elements_used.
14406 (VARRAY_PUSH): New macro.
14407 (VARRAY_POP): Likewise.
14408 (VARRAY_TOP): Likewise.
14409 Add variants of VARRAY_PUSH and VARRAY_POP for all varray element
14411 * varray.c (varray_init): Initialize elements_used.
14412 * Makefile.in (BASIC_BLOCK_H): Add varray.h.
14413 (INTEGRATE_H): New variable.
14414 (integrate.o): Depend on INTEGRATE_H.
14415 (unroll.o): Likewise.
14417 * function.h (insert_block_after_note): Declare.
14418 * function.c (insert_block_after_note): Split out from ...
14419 (retrofit_block): ... here.
14421 * stmt.c (expand_fixup): Fix typo in comment.
14423 Sat Dec 4 14:13:38 MET 1999 Jan Hubicka <hubicka@freesoft.cz>
14425 * regmove.c (copy_src_to_dest): Remove loop_depth parameter.
14426 (optimize_reg_copy_1): Remove REG_N_REFS updating code.
14427 (optimize_reg_copy_2, copy_src_to_dest, fixup_match_2): Likewise.
14428 (regmove_optimize, fixup_match_1): Likewise.
14430 1999-12-05 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
14432 * flow.c (flow_loops_dump): Add missing argument when calling
14433 flow_loop_nested_p.
14435 1999-12-04 Geoffrey Keating <geoffk@cygnus.com>
14436 Greg McGary <gkm@gnu.org>
14438 * c-common.c (enum attrs): Add A_NO_LIMIT_STACK.
14439 (init_attributes): Add A_NO_LIMIT_STACK.
14440 (decl_attributes): Handle A_NO_LIMIT_STACK.
14441 * c-decl.c (duplicate_decls): Handle DECL_NO_LIMIT_STACK.
14442 * explow.c (allocate_dynamic_stack_space) [!HAVE_allocate_stack]:
14443 Handle stack bounds checking.
14444 * flags.h (flag_stack_check): Use the word 'probe' rather than
14445 'check', because the flag doesn't actually cause any checking to
14447 * function.c (expand_function_start): Set
14448 current_function_limit_stack.
14449 * function.h (struct function): Add limit_stack.
14450 (current_function_limit_stack): Define.
14451 * invoke.texi (Code Gen Options): Document new options.
14452 * rtl.h: Declare stack_limit_rtx.
14453 * toplev.c (stack_limit_rtx): New variable.
14454 (decode_f_option): Handle new options -fstack-limit-register=REG,
14455 -fstack-limit-symbol=IDENT, -fno-stack-limit.
14456 (main): Add stack_limit_rtx as GC root.
14457 * tree.h (DECL_NO_LIMIT_STACK): New macro.
14458 (struct tree_decl): New member no_limit_stack.
14460 * config/rs6000/rs6000.c (rs6000_allocate_stack_space): Handle
14462 * config/rs6000/rs6000.md (allocate_stack): Handle stack_limit_rtx.
14463 (conditional_trap+1): Get new mnemonic correct.
14464 (conditional_trap+2): New pattern for DImode traps.
14466 * config/m68k/m68k.c (output_function_prologue): Handle
14468 * config/m68k/m68k.md (trap): New insn.
14469 (conditional_trap): New insn.
14470 * md.texi (Standard Names): Document `trap' and
14471 `conditional_trap'.
14472 * optabs.c (gen_cond_trap): Use start_sequence()/end_sequence()
14473 so a cc0 setter doesn't get emitted at some random place in the
14476 * config/i960/i960.md (trap): New insn.
14477 (conditional_trap): New expander.
14478 (conditional_trap+1, conditional_trap+2): New insns for signed
14479 and unsigned cases.
14480 * config/i960/i960.c (i960_function_prologue): Use
14481 STARTING_FRAME_OFFSET. Handle stack_limit_rtx.
14483 Thu Dec 2 21:22:45 1999 Greg McGary <gkm@gnu.org>
14484 Geoffrey Keating <geoffk@cygnus.com>
14486 * flags.h (warn_padded, warn_packed): Add global var decls.
14487 * toplev.c (warn_padded, warn_packed): Add global var defns.
14488 (W_options): Add warnings `-Wpacked' and `-Wpadded'.
14489 * stor-layout.c (layout_record): Add local variable `type'
14490 to hold often-used TREE_TYPE (field). Add local variable
14491 `unpacked_align' to hold alignment that would be in force
14492 if no `packed' attribute were present. Warn if `packed' attribute
14493 is unnecessary, or even harmful. Warn when gcc inserts padding
14494 to satisfy alignment requirements of members. Use NULL_TREE
14495 when checking whether var_size is set.
14496 * invoke.texi: Document new flags.
14498 1999-12-03 Nathan Sidwell <nathan@acm.org>
14500 * frame.c (fde_split): Reimplement to avoid variable sized array.
14502 Thu Dec 2 18:59:48 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
14504 * combine.c (try_combine): Before fixing up LOG_LINKS for the
14505 i3_subst_into_i2 case, check that GET_CODE (PATTERN (i2)) == PARALLEL.
14507 1999-12-02 Gavin Romig-Koch <gavin@cygnus.com>
14509 * invoke.texi: Document the mips option -mno-crt0
14511 1999-12-02 Mike Karr <mkarr@mathworks.com>
14513 * cccp.c (argdata): Added free_ptr member.
14514 (macroexpand): Initialize free_ptr of each argument. When an
14515 argument's buffers are freed, if the argument's free_ptr corresponds
14516 to a buffer on the input stack, then return the free_ptr to that stack
14517 frame, otherwise, free it.
14518 (macarg): If an argument begins and ends on the same input stack level,
14519 then transfer the free_ptr of that buffer to the argument in case
14520 the stack is popped during the processing of a subsequent argument.
14522 1999-12-02 Bernd Schmidt <bernds@cygnus.co.uk>
14524 * loop.c (note_reg_stored): New function.
14525 (struct note_reg_stored_arg): New structure.
14526 (try_copy_prop): Change to be more conservative; only replace within
14527 one extended basic block and stop replacing if a store to the
14528 replacement reg is seen.
14530 1999-12-02 Nick Clifton <nickc@cygnus.com>
14532 * config/fp-bit.c: Initialise all fields of the NAN
14535 * c-lex.c (check_newline): Pass pragma_getc and pragma_ungetc
14538 Wed Dec 1 18:16:38 1999 Jan Hubicka <hubicka@freesoft.cz>
14540 * i386.md (extend?f?f2): Force the input into a register, not
14543 1999-12-01 Jakub Jelinek <jakub@redhat.com>
14545 * config/sparc/sparc.md (movsf_const_intreg): Add constraints for
14547 (movdf_const_intreg_sp32): Likewise. Prefer the memory load
14548 alternative because setting up 64bit constant is usually costly,
14549 especially when reload is in progress or completed.
14550 (movdf_const_intreg_sp64): Likewise.
14551 (movdf_const_intreg split): Fix building up constants when
14552 HOST_BITS_PER_WIDE_INT is 64 yet long is 32bit.
14554 Wed Dec 1 16:51:22 1999 Jeffrey A Law (law@cygnus.com)
14556 * combine.c (if_then_else_cond): Use const_true_rtx instead of
14557 const1_rtx for return values in EQ/NE comparison against (const_int 0)
14560 * mn10300.c (REG_SAVE_BYTES): Allocate space for AM33 registers.
14561 (asm_file_start): Emit .am33 into assembly file when compiling for
14563 (print_operand_address): Handle POST_INC addresses.
14564 (can_use_return_insn, initial_offset): Check AM33 registers too.
14565 (expand_prologue): Check & save AM33 registers too.
14566 (expand_epilogue): Similarly.
14567 (secondary_reload_class): Handle AM33 specific secondary reloads.
14568 (output_tst): Emit efficient code for the AM33 too.
14569 * mn10300.h (CPP_SPEC, TARGET_AM33): Define.
14570 (TARGET_SWITCHES): Add -mam33 switch.
14571 (FIRST_PSEUDO_REGISTER): Handle new AM33 registers.
14572 (FIXED_REGISTERS, CALL_USED_REGISTERS): Likewise.
14573 (REG_ALLOC_ORDER, CONDITIONAL_REGISTER_USAGE): Likewise.
14574 (HARD_REGNO_MODE_OK, MODES_TIEABLE_P): Likewise.
14575 (enum reg_class, REG_CLASS_NAMES): Likewise.
14576 (REG_CLASS_CONTENTS, REGNO_REG_CLASS): Likewise.
14577 (INDEX_REG_CLASS, REG_CLASS_FROM_LETTER): Likewise.
14578 (REGNO_OK_FOR_INDEX_P, PREFERRED_RELOAD_CLASS): Likewise.
14579 (PREFERRED_OUTPUT_RELOAD_CLASS, LIMIT_RELOAD_CLASS): Likewise.
14580 (REGISTER_MOVE_COST, REGISTER_NAMES): Likewise.
14581 (HAVE_POST_INCREMENT): Define.
14582 (GO_IF_LEGITIMATE_ADDRESS): Allow POST_INC addresses for the AM33.
14583 (GO_IF_MODE_DEPENDENT_ADDRESS): POST_INC is a mode dependent address.
14584 * mn10300.md (movqi, movhi, addsi, subsi): Add AM33 variants.
14585 (mulsi, andsi, iorsi, xorsi, notsi): Likewise.
14586 (ashiftsi, lshiftrtsi, ashiftrtsi): Likewise.
14587 (zero_extend to SI from QI/HI): Likewise.
14588 (sign_extend to SI from QI/HI): Likewise.
14589 (mulsidi3, umulsidi3): New patterns for the AM33.
14590 (tstsi with zero extension from QI/HI): Add AM33 variants.
14591 (movsi, movsf, movdi, movdf): Generate efficient code for the AM33 too.
14592 (return_internal_regs, store_movm): Handle new AM33 registers.
14593 * t-mn10300 (MULTILIB_OPTIONS, MULTILIB_DIRNAMES): Define.
14594 (LIBGCC, INSTALL_LIBGCC): Likewise.
14595 * invoke.texi: Document new flags.
14597 Fri Nov 26 10:59:12 CET 1999 Jan Hubicka <hubicka@freesoft.cz>
14599 * i386.md (addsi3_cc): Add "binary_operator_ok" to the condition.
14600 (addsi3_carry): Likewise.
14601 (sbbsi3_cc): Add "binary_operator_ok" to the condition.
14602 (sbbsi3_carry): Likewise.
14603 (mulsi3): Rewrite to expander, ensure that only one operand is memory.
14604 (mulhi3): Likewise.
14605 (test?i_1): Ensure that only one operand is memory.
14606 (conditional move patterns): likewise.
14607 (shift and rotate patterns): Rewrite to expander, add
14608 "binary_operator_ok" to the condition.
14610 * i386.md (QImode patterns): Remove '*' before the 'r' constraints.
14611 * i386.h (procesor_costs): Add movzbl_load field.
14612 (HARD_REGNO_MODE_OK): Accept QImode on non PARTIAL_REGISTER_STALL in
14613 non-Q registers, accept DImode registers anywhere.
14615 (MEMORY_MOVE_COST): Calculate QImode moves correctly.
14616 * i386.c (*_cost): Set value for movxbl_load field.
14618 * (addsi): New add to lea splitter.
14619 (ashlsi): Likewise.
14620 (lea to add/shift peep2): New.
14622 1999-12-01 Mark Salter <msalter@cygnus.com>
14624 * config/mips/elf.h (STARTFILE_SPEC): Add no-crt0.
14625 * config/mips/elf64.h (STARTFILE_SPEC): Add no-crt0.
14626 * config/mips/mips.h (TARGET_SWITCHES): Add no-crt0.
14628 Tue Nov 30 15:20:52 MET 1999 Jan Hubicka <hubicka@freesoft.cz>
14630 * i386.c (ix86_expand_move): Never add clobbers to move patterns.
14631 * i386.md (movsi_xor): New.
14633 (movsi_1, movhi_1, movqi_1): Remove.
14634 (movsi_2): Rename to movsi_1.
14635 (movhi_2): Rename to movhi_1.
14636 (movqi_2): Rename to movqi_1.
14637 (movdi_1): Remove; remove splitter.
14638 (movdi_2): Rename to movdi_1.
14639 (divmodsi4 splitter): Do not emit clobbers for move patterns.
14640 (long move peep2): Do not create QI or HI mode mov0s
14641 (mov -1,reg -> or peep2s): Enable again, rewrite to single peephole.
14643 * i386.md (zero_extend?i?i2): Rewrite to expanders; new patterns,
14646 * i386.md (neg?f2_if): Split "r" and "f" to separate alternatives.
14647 (abs?f2_if): Likewise.
14649 1999-11-30 Alex Samuel <samuel@codesourcery.com>
14651 * ggc.h (ggc_test_and_set_mark): New macro.
14652 (ggc_mark_rtx): Use ggc_test_and_set_mark.
14653 (ggc_mark_tree): Likewise.
14654 (ggc_mark_rtvec): Likewise.
14655 * ggc-common.c (ggc_mark_rtx_children): Reduce recursion.
14657 1999-11-30 Jason Merrill <jason@casey.cygnus.com>
14659 * dwarf2out.c (scope_die_for): Only handle types. Only search for
14661 (decl_scope_table): Just an array of trees now.
14662 (push_decl_scope): Simplify.
14663 (dwarf2out_init): Adjust.
14664 (local_scope_p): New fn.
14665 (gen_inlined_enumeration_type_die): Don't call scope_die_for.
14666 (gen_inlined_union_type_die, gen_inlined_structure_type_die): Likewise.
14667 (gen_typedef_die): Likewise.
14668 (gen_lexical_block_die): Don't call push/pop_decl_scope.
14669 (gen_inlined_subroutine_die): Likewise.
14670 (gen_abstract_function): Set current_function_decl temporarily.
14671 (gen_subprogram_die): Don't check DECL_ABSTRACT to set declaration.
14672 Handle block extern declarations. Don't call push/pop_decl_scope.
14673 (gen_decl_die): Fix logic for block externs.
14675 1999-11-30 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
14677 * calls.c (special_function_p): Remove `realloc' and add `strdup'
14678 to the list of functions which have attribute malloc by default.
14680 1999-11-30 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
14682 * c-lex.c (yylex): With -Wtraditional, when the ANSI type of an
14683 integer constant does not match the traditional type, limit the
14684 warnings to cases where the base of the type is ten.
14686 * invoke.texi (-Wtraditional): Document it.
14688 Tue Nov 30 15:18:35 1999 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
14690 * combine.c (try_combine): Only pass SET or CLOBBER to SET_DEST
14691 * rs6000.md: Only access a CONST_INT with INTVAL
14693 Tue Nov 30 14:21:00 1999 Richard Henderson <rth@cygnus.com>
14695 * lcm.c (compute_laterin): Cast bb->aux to size_t not int.
14696 (compute_nearerout): Likewise.
14697 * ggc-page.c (ggc_page_print_statistics): Explicitly cast
14698 size_t to unsigned long for formatting.
14700 1999-11-30 Jakub Jelinek <jakub@redhat.com>
14702 * config/sparc/sparc.h (FIXED_REGISTERS, CONDITIONAL_REGISTER_USAGE):
14703 Allow the user to override call-used/fixed state of %g2-5
14704 registers from the command line (with the exception of %g4 for
14706 (REG_LEAF_ALLOC_ORDER): Move %g1 and %g4-7 registers to front, so that
14707 there is a higher chance of having a leaf function.
14708 (MACHINE_STATE_SAVE, MACHINE_STATE_RESTORE): Provide separate macros
14709 for ARCH64 which has %ccr register.
14710 * config/sparc/sparc.md (return_losum_si, return_losum_di): New
14712 * config/sparc/sparc.c (eligible_for_epilogue_delay): For the return
14713 insn accept into delay slot any insn which does not use %[ol]
14714 registers. Accept some LO_SUM and shift left by 1 for the normal
14716 (output_function_epilogue): Likewise.
14717 (epilogue_renumber): Added argument which inhibits any renumbering
14718 and just tests if the rtx does not use any %[ol] registers.
14719 (output_return): Reflect above change.
14721 1999-11-30 Jakub Jelinek <jakub@redhat.com>
14723 * config/sparc/sparc.c (sparc_va_arg): Fix sparc64 va_arg
14724 aggregate passing for sizes <= 16 bytes.
14726 1999-11-30 Bernd Schmidt <bernds@cygnus.co.uk>
14728 * cse.c (FIXED_REGNO_P): Delete tests for OVERLAPPING_REGNO_P.
14729 * global.c (global_alloc): Delete [OVERLAPPING_REGNO_P] code.
14730 * reload.c (find_dummy_reload): Likewise.
14731 (find_equiv_reg): Likewise; also for INSN_CLOBBERS_REGNO_P.
14732 * reload1.c (reload_as_needed): Likewise.
14733 * stupid.c (stupid_find_reg): Likewise.
14734 * tm.texi (Obsolete Register Macros): Delete section.
14735 * gmicro.h: Remove all traces of the two macros.
14736 * i386.h: Likewise.
14737 * m88k.h: Likewise.
14738 * mips.h: Likewise.
14740 1999-11-30 Brendan Kehoe <brendan@cygnus.com>
14742 * sparc.h (MASK_FASTER_STRUCTS, TARGET_FASTER_STRUCTS): Define.
14743 (TARGET_SWITCHES): Add -mfaster-structs/-mno-faster-structs flags.
14744 (ROUND_TYPE_ALIGN): Use better value if -mfaster-structs.
14745 * sparc.md (sparclite86x_branch, sparclite86x_shift): New function
14746 units for the sparclite86x chip.
14747 (flush): Revert October 14th change; add SImode specifically.
14748 (flushdi): Copy of flush, but DImode, to avoid genrecog warnings.
14749 * invoke.texi: Document it.
14751 Tue Nov 30 14:58:14 1999 Nick Clifton <nickc@cygnus.com>
14753 * config/mn10200/mn10200.h (PREDICATE_CODES): Add
14754 psimode_truncation_operand.
14756 * config/mn10200/mn10200.c (psimode_truncation_operand): New
14757 function. Return true if the operand is either a MEM valid
14758 for a PSImode address or not a MEM at all.
14760 * config/mn10200/mn10200.md (truncsipsi2): Use
14761 psimode_truncation_operand.
14763 1999-11-30 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
14765 * flow.c (flow_nodes_print, flow_loops_cfg_dump): New functions.
14766 (flow_loop_nested_p, flow_loops_dump, flow_loops_free): Likewise.
14767 (flow_loop_exits_find, flow_loop_nodes_find): Likewise.
14768 (flow_depth_first_order_compute, flow_loop_pre_header_find): Likewise.
14769 (flow_loop_tree_node_add, flow_loops_tree_build): Likewise.
14770 (flow_loop_level_compute, low_loops_level_compute): Likewise.
14771 (flow_loops_find, flow_loop_outside_edge_p): Likewise.
14772 * basic-block.h: Protect from multiple inclusion.
14773 (flow_loops_find, flow_loops_free, flow_loop_dump): Add protoypes.
14774 (struct loops, struct loop): Define structures.
14775 * sbitmap.c (sbitmap_a_subset_b_p): New function.
14776 * sbitmap.h: Protect from multiple inclusion.
14777 (sbitmap_a_subset_b_p): Add prototype.
14778 * Makefile.in (LOOP_H): New macro.
14779 (stmt.o, integrate.o, loop.o, unroll.o): Replace loop.h with LOOP_H.
14781 Tue Nov 30 01:34:47 1999 Philippe De Muyter <phdm@macqel.be>
14783 * cppinit.c (CAT): The argument list of this macro may not contain
14786 1999-11-29 David S. Miller <davem@redhat.com>
14788 Move quantity tables and register equivalence chains into
14789 per-qty and per-register structure arrays respectively.
14790 * cse.c (qty_first_reg, qty_last_reg, qty_mode, qty_const,
14791 qty_const_insn, qty_comparison_code, qty_comparison_const,
14792 qty_comparison_qty): Delete, replace with...
14793 (qty_table): this structure table.
14794 (reg_next_eqv, reg_prev_eqv): Delete, replace with...
14795 (reg_eqv_table): this structure table.
14796 (make_new_qty): Add argument MODE. Caller updated.
14797 Update to use qty_table and reg_eqv_table.
14798 (make_regs_eqv, delete_reg_equiv, insert_regs,
14799 insert, exp_equiv_p, cse_rtx_varies_p, canon_reg,
14800 fold_rtx, equiv_constant, record_jump_cond, cse_insn,
14801 cse_process_notes, cse_main, cse_basic_block): Likewise.
14803 Mon Nov 29 16:56:42 1999 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
14805 * fold-const.c (extract_muldiv, case {MIN,MAX}_EXPR): Reverse
14806 operation if C is negative.
14807 (extract_muldiv, case SAVE_EXPR): Supresss if arg has side effects.
14808 (extract_muldiv, case {PLUS,MINUS}_EXPR): Don't apply distributive
14809 law for some divisions if constant is negative and change other
14810 divisions to the opposite rounding.
14812 * expr.c (store_constructor_field): If bit position is not multiple
14813 of alignment of TARGET's mode, use BLKmode.
14815 * expr.c (expand_expr_unaligned): Add more code from full case
14816 that is needed when OP0 is in a register.
14818 Mon Nov 29 18:09:39 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
14820 * dwarfout.c (field_byte_offset): Size can be zero if there was
14823 1999-11-29 Bernd Schmidt <bernds@cygnus.co.uk>
14825 * fold-const.c (split_tree): Delete unused vars ORIG_IN and TYPE.
14826 (associate_trees): Delete unused var TEM.
14827 (extract_muldiv): Delete unused var CANCEL_P.
14829 * fold-const.c [TARGET_FLOAT_FORMAT != IEEE_FLOAT_FORMAT]
14830 (target_isinf, target_isnan, target_negative): Add return types to
14831 function definitions.
14833 1999-11-29 Bruce Korb <autogen@linuxbox.com>
14835 * fixinc/fixincl.c(process): don't skip GLIBC files any more.
14836 * fixinc/hackshell.tpl: ditto
14837 * fixinc/fixtests.c(double_slash_test): more C++ header testing
14838 * fixinc/inclhack.def(AAB_fd_zero_glibc*): corrected spelling of mach
14840 1999-11-29 Bernd Schmidt <bernds@cygnus.co.uk>
14842 * reload.c (push_reload): When looking for a register to put into
14843 reg_rtx, make sure all hard regs in a multi-reg register are in the
14844 right class and nonfixed.
14846 * haifa-sched.c (reg_last_uses, reg_last_sets, reg_last_clobbers,
14847 pending_read_insns, pending_write_insns, pending_read_mems,
14848 pending_write_mems, pending_list_length, last_pending_memory_flush,
14849 last_function_call, sched_before_next_call): Move static variables
14851 (bb_ prefixed versions): Replace with single array bb_deps.
14852 (struct deps): New structure.
14853 (add_insn_mem_dependence, flush_pending_lists, sched_analyze_1,
14854 sched_analyze_2, sched_analyze_insn, sched_analyze): Accept new
14855 argument of type "struct deps *"; use that instead of global
14856 variables. All callers changed.
14857 (init_rgn_data_dependencies): Delete function.
14858 (init_rtx_vector): Delete function.
14859 (init_deps): New function.
14861 (free_pending_lists): Simplify, we always use the bb_deps array even
14862 if only one basic block.
14863 (compute_block_backward_dependences): Likewise.
14864 (schedule_region): Likewise.
14866 (propagate_deps): New function, broken out of
14867 compute_block_backward_dependences.
14868 (compute_block_backward_dependences): Use it.
14870 * alpha.md: Delete useless patterns that tried to work around
14871 register elimination problems.
14873 * unroll.c (loop_iterations): Don't abort if iteration variable
14876 From Joern Rennecke:
14877 * reload1.c (reloads_conflict): Reverse test comparing operand
14878 numbers when testing for conflict between output/outaddr reloads.
14880 1999-11-29 David S. Miller <davem@redhat.com>
14882 * config/sparc/sparc.c (init_cumulative_args): Fix type of third
14884 * config/sparc/sparc-protos.h: Update proto, move into RTX_CODE.
14886 1999-11-28 Robert Lipe <robertl@cygnus.com>
14888 * i386/sco5.h (FINI_SECTION_ASM_OP_COFF): Move destructor fn
14889 table from .fini into .dtor.
14891 1999-11-28 Anthony Green <green@cygnus.com>
14893 * tree.h (struct tree_decl): Add malloc_flag.
14894 (DECL_IS_MALLOC): Define.
14895 * c-common.c (attrs): Add A_MALLOC attribute.
14896 (init_attributes): Add this attribute to the table.
14897 (decl_attributes): Handle malloc attribute.
14898 * calls.c (special_function_p): Check for the malloc attribute.
14899 * extend.texi (Function Attributes): Document malloc attribute.
14901 Sun Nov 28 13:21:00 1999 Jeffrey A Law (law@cygnus.com)
14903 * pa.md (reload shift-add patterns): Remove.
14905 1999-11-28 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
14907 * reorg.c (dbr_schedule) Print more statistics. Corrected
14908 problem when printing info when 3 delay slots are filled.
14910 1999-11-28 Jakub Jelinek <jakub@redhat.com>
14912 * combine.c (setup_incoming_promotions): Pass an outgoing
14913 regno to FUNCTION_ARG_REGNO_P which it expects.
14915 1999-11-28 Andreas Jaeger <aj@suse.de>
14917 * mips/linux.h (CPP_PREDEFINES): Undefine before redefining.
14919 Sun Nov 28 00:48:15 1999 Philippe De Muyter <phdm@macqel.be>
14921 * cccp.c (do_include): Avoid initialization of automatic variable.
14923 * integrate.c (mark_stores): Function definition made void, to match
14924 previous declaration.
14925 * regclass.c (dump_regclass): Ditto.
14926 * Makefile.in (WARN_CFLAGS): Macro augmented by `-Wtraditional'.
14928 Sat Nov 27 08:38:26 1999 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
14930 * expr.c (store_constructor): Use EXACT_DIV_EXPR when dividend is
14931 known to be multiple of divisor.
14933 * expr.c (store_constructor): Don't clobber TARGET if CLEARED.
14935 * combine.c (try_combine): Add code to try to merge a set of a
14936 two-word pseudo to a constant with a setting of one of those words
14939 * fold-const.c (negate_expr, associate_trees, extract_muldiv): New.
14940 (split_tree): Completely rework to make more general.
14941 (make_range, fold): Call negate_expr.
14942 (fold, case NEGATE_EXPR): Simplify -(a-b) is -ffast-math.
14943 (fold, associate): Call new split_tree and associate_trees.
14944 (fold, case MULT_EXPR, case *_{DIV,MOD}_EXPR): Call extract_muldiv.
14946 1999-11-26 Bernd Schmidt <bernds@cygnus.co.uk>
14948 * loop.c (try_copy_prop): Avoid GNU C extension.
14950 1999-11-25 Mark Mitchell <mark@codesourcery.com>
14952 * except.c (init_eh_for_function): Still zero eh_return_context,
14953 eh_return_stack_adjust, and eh_return_handler.
14955 * except.h (eh_status): Adjust documentation for x_protect_list.
14956 (begin_protect_partials): New function.
14957 * except.c (enqueue_eh_entry): Fix formatting.
14958 (get_first_handler): Add consistency check.
14959 (add_partial_entry): Adjust usage of protect_list.
14960 (emit_cleanup_handler): Save and restore ehqueue.
14961 (expand_start_all_catch): Add comment.
14962 (begin_protect_partials): New function.
14963 (end_protect_partials): Adjust usage of protect_list.
14964 (init_eh_for_function): Use xcalloc.
14966 1999-11-25 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
14968 * c-common.c (check_format_info): Don't call a variadic function
14969 with a non-literal format string.
14971 * c-decl.c (grokdeclarator, start_struct, finish_struct): Likewise.
14973 * c-typeck.c (build_component_ref, build_unary_op, lvalue_or_else,
14974 pedantic_lvalue_warning, error_init, pedwarn_init, warning_init):
14977 * cccp.c (check_macro_name, do_xifdef, vwarning_with_line):
14980 * collect2.c (collect_wait): Likewise.
14982 * dbxout.c (dbxout_type): Likewise.
14984 * gcc.c (do_spec_1): Likewise.
14986 * genemit.c (gen_insn, gen_expand): Likewise.
14988 * genrecog.c (write_switch, write_subroutine): Likewise.
14990 * mips-tfile.c (catch_signal, botch): Likewise.
14992 * print-rtl.c (print_rtx): Likewise.
14994 * toplev.c (default_print_error_function, report_error_function,
14995 _fatal_insn): Likewise.
14997 1999-11-25 Mark Mitchell <mark@codesourcery.com>
14999 * tree.c (unsave_expr_now): Handle NULL_TREE as input.
15001 Wed Nov 24 17:08:09 MET 1999 Jan Hubicka <hubicka@freesoft.cz>
15003 * reg-stack.c (subst_stack_regs_pat): Swap operands in commutative
15004 operations when needed.
15005 * i386.md (fop_?f_comm): New.
15006 (fop_?f_1): Do not accept commutative operands.
15008 1999-11-25 Andreas Jaeger <aj@suse.de>
15010 * config/mips/mips.md (casesi_internal): Add missing brace.
15012 1999-11-25 Jason Merrill <jason@casey.cygnus.com>
15014 * dwarf2out.c (pend_type, output_pending_types_for_scope): Lose.
15015 (splice_child_die): Handle moving a child DIE from the declaration
15016 DIE of a class to its specification.
15017 (gen_struct_or_union_type_die): Use 'complete' consistently.
15018 (gen_decl_die): Generate the virtual context DIE first.
15019 Use decl_ultimate_origin instead of DECL_ABSTRACT_ORIGIN.
15021 1999-11-24 Gavin Romig-Koch <gavin@cygnus.com>
15023 * config/mips/mips.md (call_value_multiple_interanal1): New.
15025 1999-11-24 Jason Merrill <jason@casey.cygnus.com>
15027 * dwarf2out.c (free_AT, free_die): New fns.
15028 (remove_children): Call them.
15029 (output_line_info): Disable removal of duplicate notes.
15031 Generate minimal debug info for types with TYPE_DECL_SUPPRESS_INFO set.
15032 * dwarf2out.c (gen_struct_or_union_type_die): TYPE_DECL_SUPPRESS_INFO
15033 means pretend the type isn't defined.
15034 Don't defer emitting types.
15035 (gen_type_die_for_member): New fn.
15036 (gen_decl_die): Call it.
15037 (splice_child_die): New fn.
15038 (gen_member_die): Call it rather than generate duplicate dies.
15040 Defer emitting information for the abstract instance of an inline
15041 until we either inline it or emit an out-of-line copy.
15042 * dwarf2out.c (decl_ultimate_origin): Ignore DECL_ABSTRACT_ORIGIN
15043 from output_inline_function if DECL_ABSTRACT is also set.
15044 (block_ultimate_origin): Likewise.
15045 (gen_abstract_function): New fn.
15046 (gen_decl_die, gen_inlined_subroutine_die): Call it.
15047 (gen_subprogram_die): An abstract instance is not a declaration
15048 just because it doesn't match current_function_decl. Don't abort
15049 because DECL_DEFER_OUTPUT isn't set. Do abort if a declaration
15050 has an abstract origin.
15051 * toplev.c (rest_of_compilation): Don't emit dwarf2 info for the
15052 abstract instance here.
15054 Wed Nov 24 18:39:18 1999 Andrew Haley <aph@cygnus.com>
15056 * config/sh/sh.h (SECONDARY_OUTPUT_RELOAD_CLASS): Add the case
15057 where we need to reload fpul from a system register.
15059 1999-11-24 Andreas Jaeger <aj@suse.de>
15061 * config/mips/linux.h (CPP_PREDEFINES): Added.
15062 (LINK_SPEC): Remove -Y since this is only needed on sparc.
15064 1999-11-24 Andreas Jaeger <aj@suse.de>
15066 * config/mips/linux.h (TARGET_VERSION): Added.
15067 (HANDLE_SYSV_PRAGMA): Added.
15068 (DEFAULT_VTABLE_THUNKS): Added.
15070 Wed Nov 24 14:12:15 MET 1999 Jan Hubicka <hubicka@freesoft.cz>
15072 * local-alloc.c (qty): New structure and static variable.
15073 (qty_phys_reg): Remove, all references changed to qty.
15074 (qty_n_refs): Likewise.
15075 (qty_min_class): Likewise.
15076 (qty_birth): Likewise.
15077 (qty_death): Likewise.
15078 (qty_size): Likewise.
15079 (qty_mode): Likewise.
15080 (qty_n_calls_crossed): Likewise.
15081 (qty_alternate_class): Likewise.
15082 (qty_changes_size): Likewise.
15083 (qty_first_reg): Likewise.
15084 (alloc_qty): Rename variable QTY to QTYNO.
15085 (finf_free_reg): Likewise.
15086 (local_alloc): Allocate qty, do not allocate the removed variables.
15088 Wed Nov 24 17:26:05 1999 Geoffrey Keating <geoffk@cygnus.com>
15090 * config/mips/mips.h (ASM_SPEC): Don't pass -G to the assembler
15091 when -membedded-pic is passed.
15093 * config/mips/mips.md (casesi): Handle 64-bit case too.
15094 (casesi_internal_di): New insn.
15096 * config/mips/mips.c (embedded_pic_offset): Always make the
15097 embedded-pic subtractions relative to the name of the current
15098 function by use of the magic string "..CURRENT_FUNCTION".
15099 * config/mips/mips.h (ASM_OUTPUT_LABELREF): Make the magic happen.
15101 1999-11-24 Geoffrey Keating <geoffk@cygnus.com>
15103 * config/mips/mips.md (div_trap_normal): Don't ask for the REGNO
15104 of (const_int 0), when what we really care about is
15105 whether it's a zero constant anyway.
15106 (div_trap_mips16): Likewise.
15108 1999-11-23 Mark Mitchell <mark@codesourcery.com>
15110 * loop.c (loop_optimize): Always find_loop_tree_blocks and
15111 unroll_block_trees when generating debuggable code.
15113 * tree.h (unsave_expr_1): New function.
15114 (lang_unsave): New variable.
15115 (get_callee_fndecl): New function.
15116 * tree.c (unsave_expr_now_r): New function.
15117 (lang_unsave): Define.
15118 (unsave_expr_1): Likewise.
15119 (unsave_expr_now_r): Split out from unsave_expr_now.
15120 (unsave_expr_now): Call lang_unsave if it is non-NULL. Otherwise,
15121 call unsave_expr_now_r.
15122 (get_callee_fndecl): Define.
15124 * Makefile.in (gencheck): Don't depend on lang_tree_files.
15125 (gencheck.o): Do depend on lang_tree_files.
15127 * integrate.h (copy_decl_for_inlining): New declaration.
15128 * integrate.c (copy_and_set_decl_abstract_origin): Remove.
15129 (copy_decl_for_inlining): New function.
15130 (integrate_parm_decls): Use it.
15131 (integrate_decl_tree): Likewise.
15133 1999-11-23 Gavin Romig-Koch <gavin@cygnus.com>
15135 * config/mips/mips.h (ISA_HAS_FP4,ISA_HAS_CONDMOVE,ISA_HAS_8CC): Split
15136 the second two from the first.
15137 (CONDITIONAL_REGISTER_USAGE): Use ISA_HAS_8CC rather than ISA_HAS_FP4.
15138 * config/mips/mips.md (movcc,reload_incc,reload_outcc,
15139 conditional move): Use ISA_HAS_CONDMOVE or ISA_HAS_8CC rather than
15141 * config/mips/mips.c (mips_move_1word,gen_conditional_branch,
15142 override_options): Use ISA_HAS_CONDMOVE or ISA_HAS_8CC rather than
15145 Tue Nov 23 11:15:04 1999 Jeffrey A Law (law@cygnus.com)
15147 * pa.md (call_internal_symref, call_value_internal_symref): No mode
15148 needed on the address operand.
15149 * pa.c (call_operand_address): Check for the correct mode.
15151 1999-11-23 Bernd Schmidt <bernds@cygnus.co.uk>
15153 * loop.c: Include "basic-block.h".
15154 (try_copy_prop, replace_loop_reg): New functions.
15155 (load_mems): Detect registers that just hold copies of the hoisted
15156 mem, and call try_copy_prop to eliminate them.
15157 * Makefile.in (loop.o): Update dependencies.
15159 Tue Nov 23 01:03:29 1999 Hans-Peter Nilsson <hp@axis.com>
15161 * Makefile.in (gencheck.o): Depend on gencheck.h.
15162 (insn-emit.o): Depend on flags.h, hard-reg-set.h and resource.h.
15163 (insn-peep.o): Depend on except.h and function.h.
15164 (insn-attrtab.o): Depend on RECOG_H.
15165 (insn-output.o): Depend on toplev.h and flags.h.
15166 (gengenrtl.o): Depend on real.h.
15167 (gen-protos.o): Depend on cpplib.h and cpphash.h.
15168 Unify all dependencies to be on RECOG_H rather than recog.h.
15170 Tue Nov 23 00:57:10 1999 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
15172 From Casper H.S. Dik on comp.unix.solaris, 23 Oct 1998:
15173 * configure.in: Try building a bi-arch 32/64-bit compiler on
15174 sparc-*-solaris2.7 and higher.
15175 * configure: Rebuild.
15177 Mon Nov 22 23:09:44 1999 David O'Brien <obrien@FreeBSD.org>
15179 * config/freebsd.h: New, FreeBSD architecture independent file.
15180 * config/i386/freebsd-elf.h: removed FreeBSD architecturally
15181 independent pieces.
15182 * config/i386/freebsd.h: include i386/perform.h via tm.h rather than
15183 directly by i386/freebsd.h.
15184 * configure.in (*-*-freebsdelf): Include new FreeBSD architecturally
15185 independent configuration file.
15186 (*-*-freebsdelf): Include i386/perform.h via tm.h rather than
15187 directly by i386/freebsd.h.
15188 * configure: Rebuilt.
15190 * xm-i386.h: Define `__i386__' if not defined, rather than `i386'
15191 which is in the user's namespace.
15192 * libgcc2.c: Look for the ANSI-C approved `__i386__' symbol, vs.
15193 `i386' which is not in our namespace.
15195 Mon Nov 22 22:58:01 1999 "R. Kelley Cook" <KelleyCook@attglobal.net>
15197 * invoke.texi (ARM Options): Add in -mno-alignment-traps
15199 1999-11-22 Jason Merrill <jason@casey.cygnus.com>
15201 * dwarf2out.c (die_struct): Remove die_attr_last and die_child_last.
15202 (add_dwarf_attr, add_child_die): Just push onto the front.
15203 (reverse_die_lists): New fn.
15204 (add_sibling_attributes): Use it.
15205 (push_decl_scope): Reorganize.
15206 (add_name_and_src_coords_attributes): Don't set file and line for
15207 an artificial decl.
15208 (gen_subprogram_die): An artificial function doesn't need to match
15210 (gen_compile_unit_die): Return the generated die. Only add
15211 AT_comp_dir if the filename is relative.
15212 (remove_AT): Simplify loop. Also free string values.
15213 (output_die): A DIE ref can't be null.
15214 (output_value_format, value_format): Take a dw_attr_ref.
15215 (dwarf_last_decl, is_extern_subr_die, sibling_offset): Remove.
15216 (AT_class, AT_flag, AT_int, AT_unsigned, AT_string, AT_ref, AT_loc,
15217 AT_addr, AT_lbl): New fns.
15218 (various): Use them.
15219 (various): Constify.
15221 Mon Nov 22 23:53:50 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
15223 * combine.c (combine_simplify_rtx): When handling a SUBREG,
15224 take SUBREG_WORD into account.
15225 (if_then_else_cond): Likewise.
15227 1999-11-22 Jason Merrill <jason@casey.cygnus.com>
15229 * gmon.c, i386/gmon-sol2.c, sparc/gmon-sol2.c: Remove advertising
15230 clause from BSD license, pursuant with
15232 ftp://ftp.cs.berkeley.edu/pub/4bsd/README.Impt.License.Change
15234 1999-11-22 Bernd Schmidt <bernds@cygnus.co.uk>
15236 * loop.c (load_mems): Reformat slightly.
15237 * basic-block.h (regset_head): New typedef.
15238 (INIT_REG_SET): New macro.
15240 1999-11-22 Bruce Korb <autogen@linuxbox.com
15242 * fixinc/mkfisinc.sh(i?86-*-linux): disable script, run fixincl exe
15243 (mips-dec-bsd*): non-functional code
15244 (alpha*-*-linux-gnu*): redundant, duplicated by "*-*-linux-gnu*"
15246 * fixinc/inclhack.def(AAB_fd_zero_glibc_*):
15247 added three replacement fixes
15248 (no_double_slash): removed comments that are not (any longer) pertinent
15249 (bad_lval): this fix currently runs against many files.
15250 The comment seems to indicate that we should select for files
15251 containing 'pragma extern_prefix'.
15253 * fixinc/fixinc.x86-linux-gnu: deleted
15254 * fixinc/inclhack.sh: regen
15255 * fixinc/fixincl.x: regen
15256 * fixinc/fixincl.sh: regen
15258 Fri Nov 12 14:08:40 1999 Andrew Haley <aph@cygnus.com>
15260 * emit-rtl.c (gen_sequence): Only return the pattern of an insn if
15261 its code is INSN and it has no notes.
15263 1999-11-22 Andrew Haley <aph@cygnus.com>
15265 * varasm.c (function_defined): Remove.
15266 (make_function_rtl): Don't set function_defined.
15267 (make_decl_rtl): Remove global register warning.
15268 * regclass.c (no_global_reg_vars): New variable.
15269 (globalize_reg): Warn if function has already been defined.
15270 (regclass_init): Set no_global_reg_vars.
15272 Mon Nov 22 14:42:22 MET 1999 Jan Hubicka <hubicka@freesoft.cz>
15274 * regclass.c (reg_pref): New structure and static variable
15275 (prefclass): Delete.
15276 (altclass): Delete.
15277 (all uses of prefclass and altclass): Use reg_pref instead.
15279 1999-11-21 Nick Clifton <nickc@cygnus.com>
15281 * invoke.texi (ARM Options): Replace -mshort-load-bytes with
15283 (arm.h): Replace -mshort-load-bytes with -malignment-traps.
15284 (arm.c): Replace TARGET_SHORT_BY_BYTES with TARGET_MMU_TRAPS.
15285 (arm.md): Replace TARGET_SHORT_BY_BYTES with TARGET_MMU_TRAPS.
15287 Sun Nov 21 17:11:13 1999 Geoffrey Keating <geoffk@cygnus.com>
15289 * varasm.c (output_constructor): Solve problem with long long
15290 bitfields, even on BYTES_BIG_ENDIAN machines (testcase 991118-1).
15292 Fri Nov 19 05:48:45 CET 1999 Jan Hubicka <hubicka@freesoft.cz>
15294 * global.c (allocno): New structure and static variable.
15295 (allocno_reg): Remove, all references replaced by allocno.
15296 (allocno_size): Likewise.
15297 (hard_reg_conflicts): Likewise.
15298 (hard_reg_preferences): Likewise.
15299 (hard_reg_copy_preferences): Likewise.
15300 (hard_reg_full_preferences): Likewise.
15301 (regs_someone_prefers): Likewise.
15302 (allocno_calls_crossed): Likewise.
15303 (allocno_n_refs): Likewise.
15304 (allocno_live_length): Likewise.
15305 (find_reg): Rename ALLOCNO to NUM.
15307 * regclass.c (may_move_in_cost): Rename from may_move_cost, all
15308 references updated.
15309 (may_move_out_cost): New variable.
15310 (init_reg_sets_1): Initialize may_move_out_cost.
15311 (record_reg_classes): Use may_move_out_cost.
15313 * regclass.c (dump_regclass): New function.
15314 (regclass): New parameter DUMP, call DUMP_REGCLASS.
15315 * toplev.c (rest_of_compilation): Open lreg dump file before regclass,
15316 pass rtl_dump_file to regclass.
15317 * rtl.h (regclass): Update prototype.
15319 Fri Nov 19 06:32:19 CET 1999 Jan Hubicka <hubicka@freesoft.cz>
15321 * i386.md (neg, not and abs patterns): Revmap to use
15322 ix86_expand_unary_operator and ix86_unary_operator_ok.
15323 (add?f and sub?f expanders): Force operand 1 to register.
15324 * i386.c (ix86_expand_unary_operator): Rewrite.
15325 (ix86_unary_operator_ok): Ensure that memory operands
15327 (ix86_binary_operator_ok): Do not allow operand 1 to
15328 come into memory and operand 0 not.
15329 (ix86_expand_binary_operator): Ensure that
15330 src1 is not non-matching memory.
15332 * i386.md (negs?2): Rewrite to expanders, new patterns and splitters
15333 to support integer registers and memory.
15334 (abss?2_integer): Likewise.
15336 * i386.h (enum reg_class): Add FLOAT_INT_REGS.
15337 (REG_CLASS_NAMES): Likewise.
15338 (REG_CLASS_CONTENTS): Define FLOAT_INT_REGS as union of FLOAT_REGS
15340 * i386.md (pushsf): Do not preferre FLOAT_REGS over GENERAL_REGS.
15341 (movsf): Likewise; unify 4th and 5th alternative.
15342 (pushdf): Likewise.
15343 (movdf_1): Likewise; rename to movdf_integer.
15344 (pushxf): Likewise; rename to pushxf_integer; fix output template;
15345 remove redundant splitter.
15346 (movxf_1): Likewise; rename to movxf_integer; fix splitter's condition.
15347 (movdf_nointeger): New.
15348 (movxf_nointeger): New.
15349 (pushxf_nointeger): New.
15351 * i386.md (extend?f?f): Split to expander and pattern, refuse two
15352 memory operands in patterns.
15353 (fop*): Refuse two memory operands.
15355 * i386.md (ashrsi3_31): Allow cltd when optimizing for size even
15356 on !TARGET_USE_CLTD CPUs.
15358 Fri Nov 19 10:41:15 GMT 1999 Nathan Sidwell <nathan@acm.org>
15360 * extend.texi: Document C++ restricted pointers and references.
15362 1999-11-19 Bernd Schmidt <bernds@cygnus.co.uk>
15364 * cse.c (addr_affects_sp): No longer conditional on AUTO_INC_DEC.
15365 (invalidate_skipped_set): Call it unconditionally.
15366 (cse_set_around_loop): Likewise.
15368 Thu Nov 18 17:29:34 MST 1999 Diego Novillo <dnovillo@cygnus.com>
15370 * rtl.texi (mem): Add documentation for alias-set argument
15373 Fri Nov 18 13:39:22 CET 1999 Jan Hubicka <hubicka@freesoft.cz>
15375 * i386.h (struct_processor_costs): New fields int_load, int_store,
15376 fp_move, fp_load and fp_store
15377 (REGISTER_MOVE_COST): Fix comment, calculate exactly the cost of
15379 (MEMORY_MOVE_COST): New macro.
15380 * i386.c (386_cost): Define new fields.
15381 (i486_cost): Likewise.
15382 (pentium_cost): Likewise.
15383 (pentiumpro_cost): Likewise.
15384 (k6_cost): Likewise.
15386 Fri Nov 19 11:11:55 1999 Greg McGary <gkm@gnu.org>
15387 Geoffrey Keating <geoffk@cygnus.com>
15389 * config/m68k/m68kelf.h: Suppress '/* within comment' warning.
15391 * config/m68k/m68k.h (MASK_PCREL): Don't use same value as
15394 * config/m68k/m68k.h (MASK_NO_STRICT_ALIGNMENT): New macro.
15395 (TARGET_STRICT_ALIGNMENT): New macro.
15396 (TARGET_SWITCHES): Add "strict-align" and "no-strict-align".
15397 (STRICT_ALIGNMENT): Depend on TARGET_STRICT_ALIGNMENT.
15398 * invoke.texi (M680x0 Options): Document -mstrict-align.
15400 Thu Nov 18 11:10:03 1999 Jan Hubicka <hubicka@freesoft.cz>
15401 Richard Henderson <rth@cygnus.com>
15403 * i386-protos.h (split_xf, ix86_split_movdi): Remove.
15404 (ix86_split_long_move): Declare.
15405 * i386.c (split_xf, ix86_split_movdi): Remove.
15406 (ix86_split_to_parts, ix86_split_long_move): New.
15407 * i386.md (dimode move splitters): Use ix86_split_long_move.
15408 (dfmode move splitters): Likewise.
15409 (xfmode move splitters): Likewise.
15410 (movsf_1): Allow F->r.
15411 (movdf_1, movxf_1): Allow F->ro.
15413 1999-11-17 Mark Mitchell <mark@codesourcery.com>
15415 * except.h (struct eh_entry): Add goto_entry_p.
15416 (eh_region_from_symbol): Remove prototype.
15417 * except.c (find_func_region_from_symbol): New function.
15418 (emit_cleanup_handler): Likewise.
15419 (eh_region_from_symbol): Make it static.
15420 (add_new_handler): Verify the argument.
15421 (find_func_region): Update comment.
15422 (expand_eh_region_end): Expand handlers here, rater than waiting
15423 until expand_leftover_cleanups or start_all_catch.
15424 (expand_leftover_cleanups): Don't expand here.
15425 (expand_start_all_catch): Or here.
15426 (expand_rethrow): Check the return value from find_func_region.
15427 * function.c (expand_function_end): Emit the catch_clauses.
15429 1999-11-18 Gavin Romig-Koch <gavin@cygnus.com>
15431 * integrate.c (expand_inline_function): Add necessary check for NULL.
15433 1999-11-18 Nick Clifton <nickc@cygnus.com>
15435 * toplev.c (main): Correctly detect an unrecognised option.
15437 * cppinit.c (cpp_handle_option): Do not claim to have consumed
15438 a -f option if it has not been recognised.
15440 Thu Nov 18 00:59:11 1999 Michael Gschwind <mikeg@alagoas.watson.ibm.com>
15442 * basic-block.h (update_life_extent): Remove trailing comma on
15443 enumeration type list.
15445 1999-11-18 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
15447 * varasm.c (output_constructor) Solved problem with long long
15448 bitfields. Corrected calculating this_time and shift. Also
15449 corrected calculating mask when BITS_PER_UNIT == 32 (c4x).
15451 Wed Nov 17 23:46:14 1999 Jeffrey A Law (law@cygnus.com)
15453 * flow.c (split_edge): Take looping structure into account when
15454 determining where to put the new block note.
15456 Wed Nov 17 20:42:43 1999 Jeff Holcomb <jeffh@cygnus.com>
15458 * Makefile.in (ggc-none.o): Provide host specific version if
15461 Wed Nov 17 16:51:23 1999 Richard Henderson <rth@cygnus.com>
15463 * cse.c (delete_trivially_dead_insns): Identify no-op insns
15464 containing subregs too.
15466 Wed Nov 17 17:39:48 MST 1999 Diego Novillo <dnovillo@cygnus.com>
15468 * invoke.texi: Add documentation for -muninit-const-in-rodata.
15469 * config/mips/mips.h (MASK_UNINIT_CONST_IN_RODATA): Define.
15470 (TARGET_UNINIT_CONST_IN_RODATA): Define.
15471 (text_section): Add switches -munint-const-in-rodata and
15472 -mno-uninit-const-in-rodata.
15473 (ASM_OUTPUT_COMMON): Remove.
15474 (ASM_OUTPUT_ALIGNED_DECL_COMMON): Define. Check if uninitialized
15475 const objects should be placed in read-only data. Otherwise declare
15478 Wed Nov 17 16:38:32 1999 Richard Henderson <rth@cygnus.com>
15480 * jump.c (jump_optimize_1): Revert last change.
15482 Wed Nov 17 15:18:30 1999 Richard Henderson <rth@cygnus.com>
15484 * jump.c (jump_optimize_1): Don't try to duplicate the loop exit
15485 test if optimizing for size.
15487 1999-11-17 Mark Mitchell <mark@codesourcery.com>
15489 * Makefile.in (toplev.o): Depend on except.h.
15490 (dwarf2out.o,loop.o,flow.o,haifa-sched.o): Likewise.
15492 Mon Nov 15 22:45:39 CET 1999 Jan Hubicka <hubicka@freesoft.cz>
15494 * i386.md (divmodsi4): Rewrite to expander.
15495 (*divmodsi4_nocltd): New.
15496 (*divmodsi4_cltd): New.
15497 (divmodsi4 splitter): Handle the case when input comes in edx.
15498 (udivmodhi4): Do not use constraints in exander.
15499 (ashrsi3_31): Conditionize by TARGET_USE_CLTD.
15501 1999-11-17 Jason Merrill <jason@yorick.cygnus.com>
15503 * dwarf2out.c (push_decl_scope): Still use decl_scope_depth - 1
15504 for the common case.
15506 1999-11-16 Jakub Jelinek <jakub@redhat.com>
15508 * explow.c (hard_function_value): Add outgoing argument.
15509 * expr.h (hard_function_value): Declare it.
15510 * calls.c (expand_call, emit_library_call_value): Update callers.
15511 * function.c (aggregate_value_p): Ditto.
15512 (diddle_return_value): Must look at the outgoing registers
15513 on archs with register windows.
15515 Mon Nov 15 20:46:45 1999 Richard Henderson <rth@cygnus.com>
15517 * alpha.c (alpha_build_va_list): Use make_lang_type and
15518 initialize TYPE_NAME for the va_list record.
15520 * flow.c (calculate_global_regs_live): Zero bb->aux to begin.
15522 * ggc-common.c (ggc_print_statistics): Cast size_t to unsigned long
15524 * ggc.h (struct ggc_statistics): Rearrange elements for better
15525 packing on 64-bit hosts.
15526 * lcm.c (compute_laterin): Store a size_t not an int in bb->aux.
15527 (compute_nearerout): Likewise.
15529 Tue Nov 16 14:37:52 1999 Geoffrey Keating <geoffk@cygnus.com>
15531 * config/rs6000/rs6000.c (first_reg_to_save): Save
15532 PIC_OFFSET_TABLE_REGNUM when -fpic even though it is fixed.
15534 1999-11-15 Jason Merrill <jason@casey.cygnus.com>
15536 * dwarf2out.c (scope_die_for): Don't rely on the decl_scope_table
15537 notion of nesting to find the DIE for a type or function.
15538 DIEs can go in limbo even if we got a context_die.
15539 (push_decl_scope): Our context doesn't need to be in decl_scope_table.
15540 (gen_struct_or_union_type_die): Don't use TREE_PERMANENT to test
15542 (gen_decl_die): Ignore NAMESPACE_DECLs for now.
15543 (gen_type_die): Writing out the context doesn't cause member class
15544 template instantiations to be written out as well.
15546 Mon Nov 15 15:33:18 1999 Richard Henderson <rth@cygnus.com>
15548 * rs6000.h (ASM_OUTPUT_DEF): New.
15549 Based on proposed addition from David Edelsohn.
15551 1999-11-15 Robert Lipe <RobertLipe@usa.net>
15552 Bruce Korb <autogen@linuxbox.com>
15554 * fixinc/inclhack.def
15555 (AAB_svr4_replace_byteorder): added. Takes advantage of GCC features
15556 (unixware7_byteorder_fix): added. Removes conflicts for new defs
15558 (svr5_mach_defines): added. Like svr4_mach_defines, with new syntax
15559 (svr4_endian): enabled with SVR5
15560 (svr4_mkdev): simplified syntax and enabled with SVR5
15562 Sun Nov 14 18:49:37 1999 David O'Brien <obrien@FreeBSD.org>
15564 * configure.in: Handle libgcc2 threads support on FreeBSD platforms.
15565 * configure: Rebuilt.
15566 * config/t-freebsd-thread: New file.
15568 Sun Nov 14 23:11:05 1999 Jeffrey A Law (law@cygnus.com)
15570 * i386.c (ix86_decompose_address): Verify the base is a REG
15571 before trying to examine its register number.
15573 * basic-block.h: Remove all #defines and prototypes related to
15575 (free_bb_mem, compute_preds_succs): Remove prototype.
15576 * rtl.h (free_bb_mem): Remove prototype.
15577 * flow.c (alloc_int_list_node); Remove function.
15578 (add_inst_list_node, free_int_list, add_pred_succ): Likewise.
15579 (compute_preds_succs, free_bb_mem): Likewise.
15580 * gcse.c (gcse_main): Do not call free_bb_mem anymore.
15581 * toplev.c (rest_of_compilation): Likewise.
15582 * haifa-sched.c (build_control_flow): Use flow generated edge
15583 list to build the haifa specific edge list.
15584 (find_rgns): Use new CFG data structures instead of pred/succ lists.
15585 (schedule_insns): Do not build pred/succ lists anymore. Instead
15586 build the edge table.
15588 * basic-block.h (dump_bb_data): Remove declaration.
15589 * flow.c (dump_bb_data): Remove function.
15590 * sbitmap.c (sbitmap_intersect_of_predsucc): Delete function.
15591 (sbitmap_union_of_predsucc): Likewise.
15593 * gcse.c (delete_null_pointer_checks_1): Kill unused s_preds
15594 argument. All callers changed.
15595 (delete_null_pointer_checks_1): No longer need to compute the
15598 * gcse.c (pre_expr_reaches_here_p): Kill CHECK_PRE_COM argument.
15599 All callers changed.
15600 (pre_expr_reaches_here_p_work): Likewise.
15601 (pre_edge_insert): No longer call pre_expr_reaches_here_p.
15602 * lcm.c (compute_laterin): Fix initialization of LATER.
15603 (compute_nearerout): Similarly for NEARER.
15605 Sun Nov 14 12:41:57 1999 Bernd Schmidt <bernds@cygnus.co.uk>
15607 * cse.c (set_nonvarying_address_components): Delete unused function.
15608 (refers_to_p): Likewise.
15610 Fri Nov 12 20:53:22 1999 Jeffrey A Law (law@cygnus.com)
15612 * function.c (diddle_return_value): Set REG_FUNCTION_VALUE_P as
15615 Sat Nov 13 16:20:09 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
15617 * defaults.h (ASM_OUTPUT_ALTERNATE_LABEL_NAME): Wrap macro
15618 definition in do while (0).
15620 Fri Nov 12 16:26:25 1999 Jim Wilson <wilson@cygnus.com>
15622 * stmt.c (pushcase, pushcase_range): Partially revert Oct 28 change.
15624 Fri Nov 12 12:43:49 1999 Richard Henderson <rth@cygnus.com>
15626 * unroll.c (unroll_loop): Make temp an unsigned HOST_WIDE_INT.
15628 Fri Nov 12 15:14:19 1999 Vladimir Makarov <vmakarov@tofu.to.cygnus.com>
15630 * i960.h (CAN_DEBUG_WITHOUT_FP): Don't define it.
15631 (FRAME_POINTER_REQUIRED): Don't worry about nonlocal goto.
15632 (ELIMINABLE_REGS, CAN_ELIMINATE, INITIAL_ELIMINATION_OFFSET): New.
15633 (INITIAL_FRAME_POINTER_OFFSET): Remove it.
15635 * i960.c (i960_function_prologue): Don't allocate space for g8-g11
15636 saved on the stack. Output more accurate stack frame statistics
15637 into assembler file.
15639 1999-11-12 11:47 -0800 Zack Weinberg <zack@bitmover.com>
15641 * genextract.c (record_insn_name): New function.
15642 (get_insn_name): No longer a stub.
15643 (main): Call record_insn_name for each insn. After each label
15644 written, print the insn name in a comment.
15646 Fri Nov 12 13:45:02 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
15648 * output.h (const_section, init_section, fini_section): Add
15651 * alpha/elf.h (const_section): Delete declaration.
15653 * svr4.h (const_section): Likewise.
15655 Fri Nov 12 08:54:22 1999 Mark Mitchell <mark@codesourcery.com>
15657 * tree.h (SAVE_EXPR_PERSISTENT_P): New macro.
15658 * tree.c (array_type_nelts): Don't handle SAVE_EXPRs specially.
15659 (unsave_expr_now): Don't unsave SAVE_EXPR_PERSISTENT_P
15661 * stor-layout.c (variable_size): Set SAVE_EXPR_PERSISTENT_P on
15662 variable-sized array bounds.
15664 Fri Nov 12 08:04:45 1999 Catherine Moore <clm@cygnus.com>
15666 * defaults.h (ASM_OUTPUT_ALTERNATE_LABEL_NAME): Use
15669 Fri Nov 12 13:31:54 1999 Bernd Schmidt <bernds@cygnus.co.uk>
15671 * config/arm/arm.h (LEGITIMIZE_RELOAD_ADDRESS): Treat QImode
15672 addresses the same way GO_IF_LEGITIMATE_INDEX does.
15674 Fri Nov 12 12:36:04 1999 Bernd Schmidt <bernds@cygnus.co.uk>
15676 * cse.c (hash_arg_in_struct): Delete.
15677 (struct table_elt): Delete elt in_struct.
15678 (struct set): Delete elt src_in_struct.
15679 (merge_equiv_classes): Don't set either hash_arg_in_struct or
15680 the corresponding in_struct elts.
15681 (canon_hash): Likewise.
15682 (safe_hash): Likewise.
15683 (find_best_addr): Likewise.
15684 (record_jump_cond): Likewise.
15685 (cse_insn): Likewise.
15687 Thu Nov 11 19:45:24 1999 Jim Wilson <wilson@cygnus.com>
15689 * loop.c (invariant_p, case MEM): Put MEM_VOLATILE_P check back.
15691 * dbxout.c (dbxout_type, case INTEGER_TYPE): Handle too large
15694 Thu Nov 11 18:54:24 1999 Jeffrey A Law (law@cygnus.com)
15696 * function.c (diddle_return_value): Put back check that the DECL_RTL
15697 for the function is a register.
15699 * function.c (diddle_return_value): Use hard_function_value to
15700 get an rtx suitable for use in the USE/CLOBBER insn.
15702 * global.c (global_conflicts): Update comments.
15703 (record_conflicts): No need to record conflicts between pseudos here.
15705 1999-11-11 Bruce Korb <autogen@linuxbox.com>
15707 * fixinc/fixincl.c: Added verbose levels for status messages
15709 Thu Nov 11 13:23:04 1999 Bernd Schmidt <bernds@cygnus.co.uk>
15711 * jump.c (jump_optimize_1): Avoid passing an rtx that is not an
15712 operand as argument to expand_and or expand_binop.
15714 Thu Nov 11 02:21:16 1999 Rodney Brown <RodneyBrown@pmsc.com>
15716 * xcoffout.c (xcoffout_source_file): Change ggc_add_root to
15717 gcc_add_string_root.
15719 Wed Nov 10 21:24:19 1999 Jason Eckhardt <jle@cygnus.com>
15721 * config/pa/pa.h (MASK_RETURN_ADDR): Change 0xfffffffc to -4.
15723 Wed Nov 10 15:56:16 1999 Jeffrey A Law (law@cygnus.com)
15725 * flow.c (compute_flow_dominators): Initially put all blocks on
15727 * lcm.c (compute_antinout_edge, compute_available): Similarly.
15728 * gcse.c (compute_cprop_avinout): Remove.
15729 (compute_cprop_data): Use compute_available.
15730 (delete_null_pointer_checks_1): Use compute_available.
15732 * basic-block.h (compute_available): Returns a void now.
15733 * gcse.c (one_classic_gcse_pass): Do not expect compute_available
15734 to return a value anymore.
15735 * lcm.c (compute_available, compute_antinout_edge): Revamp to use
15736 worklists. Fix boundary cases. Compute maximal solutions.
15737 (compute_laterin, compute_nearerout): Similarly.
15739 * dwarf2out.c (add_AT_location_description): Allow
15740 (mem (plus (pseudo) (...)) too.
15742 Wed Nov 10 10:52:42 1999 Tom Tromey <tromey@cygnus.com>
15744 * gcc.c (do_spec_1): Support text between `%u' and `%O'.
15746 Wed Nov 10 12:43:21 1999 Philippe De Muyter <phdm@macqel.be>
15747 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
15749 * cppinit.c: Test `GCC_VERSION', not `HAVE_GCC_VERSION'.
15751 * gansidecl.h: Likewise.
15757 * toplev.h: Likewise.
15759 * tree.c: Likewise.
15761 * tree.h: Likewise.
15763 * varray.c: Likewise.
15765 * varray.h: Likewise.
15767 Wed Nov 10 10:57:22 1999 Clinton Popetz <cpopetz@cygnus.com>
15769 * gcov.c (struct arcdata): Add hits and total, remove prob.
15770 (output_branch_counts): New.
15771 (process_args): Set output_branch_counts if -c.
15772 (calculate_branch_probs): Store hits and total instead of
15774 (output_data): Emit counts if output_branch_counts is true.
15775 * gcov.texi (Invoking Gcov): Document -c switch..
15777 Wed Nov 10 01:10:41 1999 Philippe De Muyter <phdm@macqel.be>
15779 * genoutput.c (output_insn_data): Cast `INSN_OUTPUT_FORMAT_MULTI' and
15780 `INSN_OUTPUT_FORMAT_FUNCTION' to `PTR'-type.
15782 Wed Nov 10 00:51:41 1999 Hans-Peter Nilsson <hp@axis.se>
15784 * invoke.texi (C Dialect Options): Add missing builtins from
15785 c-common.c to list.
15786 * extend.texi (Other Builtins): Copy to this list.
15788 Wed Nov 10 04:58:09 1999 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
15790 * Makefile.in (recog.o): Use BASIC_BLOCK_H macro.
15791 (print-rtl.o, $(HOST_PREFIX_1)print-rtl.o): Likewise. Remove
15792 redundant bitmap.h.
15794 Wed Nov 10 00:02:53 1999 Jeffrey A Law (law@cygnus.com)
15796 * flow.c (compute_flow_dominators): No longer treat basic block 0
15797 or (n_basic_blocks - 1) specially. Clear the AUX field before
15798 starting computation of doms/pdoms. Fix initial state for pdoms.
15800 Wed Nov 10 03:58:08 1999 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
15802 * Makefile.in ($(HOST_PREFIX_1)rtl.o): Update dependencies to
15803 match rtl.o's: added ggc.h and toplev.h
15804 ($(HOST_PREFIX_1)print-rtl.o): Likewise: added system.h.
15805 ($(HOST_PREFIX_1)rtlanal.o): Likewise: added system.h.
15806 ($(HOST_PREFIX_1)obstack.o): Likewise: added $(CONFIG_H).
15808 Tue Nov 9 10:30:08 1999 Tom Tromey <tromey@cygnus.com>
15810 * config/i386/xm-djgpp.h (HAVE_DOS_BASED_FILE_SYSTEM): Renamed
15811 from HAVE_DOS_BASED_FILESYSTEM.
15812 * gcc.c (find_a_file): Use HAVE_DOS_BASED_FILE_SYSTEM, not
15813 HAVE_DOS_BASED_FILESYSTEM.
15815 (split_directories): Only special-case DOS file names if
15816 HAVE_DOS_BASED_FILE_SYSTEM is defined. Use IS_DIR_SEPARATOR
15817 instead of explicit tests. Conditionalize on !VMS.
15818 (make_relative_prefix): Use IS_DIR_SEPARATOR instead of explicit
15819 tests. Conditionalize on !VMS.
15820 (process_command): Only use make_relative_prefix if !VMS.
15821 (free_split_directories): Conditionalize on !VMS.
15822 (DIR_UP): Conditionalize on !VMS.
15824 Wed Jun 9 16:57:11 1999 Mumit Khan <khan@xraylith.wisc.edu>
15826 * gcc.c (STANDARD_BINDIR_PREFIX): Provide default.
15828 Fri Feb 5 14:22:01 1999 Mumit Khan <khan@xraylith.wisc.edu>
15830 * gcc.c (make_relative_prefix): Handle the HAVE_EXECUTABLE_SUFFIX
15833 Mon Nov 8 14:16:57 1999 Michael Meissner <meissner@cygnus.com>
15835 * invoke.texi (Environment Variables): Document relative path
15837 * gcc.c (DIR_UP): If not defined, define as "..".
15838 (standard_bindir_prefix): New static, holds target location to
15840 (split_directories): New function to split a filename into
15841 component directories.
15842 (free_split_directories): New function, release memory allocated
15843 by split_directories.
15844 (make_relative_prefix): New function, make a relative pathname if
15845 the compiler is not in the expected location.
15846 (process_command): If GCC_EXEC_PREFIX was not specified, see if we
15847 can figure out an appropriate prefix from argv[0].
15848 * Makefile.in (DRIVER_DEFINES): Use unlibsubdir in definition of
15849 STANDARD_STARTFILE_PREFIX and TOOLDIR_BASE_PREFIX. Define
15850 STANDARD_BINDIR_PREFIX.
15852 Wed Nov 10 11:47:54 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
15854 * config/c4x/c4x-protos.h: New file. Prototypes for functions defined
15856 * config/c4x/c4x.h: Moved prototypes to c4x.h.
15857 * config/c4x/c4x.c (c4x_preferred_reload_class, c4x_limit_reload_class,
15858 c4x_secondary_memory_needed) Delete.
15859 (fp_zero_operand): Add mode argument.
15861 Thu Nov 4 15:52:35 1999 Andrew Haley <aph@cygnus.com>
15863 * reload1.c (reload_reg_free_for_value_p): Don't use a register
15864 that is in reload_reg_used.
15866 Tue Nov 9 16:43:00 1999 Nick Clifton <nickc@cygnus.com>
15868 * config/arm/arm-protos.h: New file: Prototypes for functions
15869 defined in arm.c and pe.c.
15870 * config/arm/arm.h: Fix compile time warnings.
15871 * config/arm/arm.c: Fix compile time warnings.
15872 * config/arm/pe.h: Fix compile time warnings.
15873 * config/arm/aout.h: Fix compile time warnings.
15875 Tue Nov 9 14:55:44 1999 Nick Clifton <nickc@cygnus.com>
15877 * config/m32r/m32r-protos.h: New file: Prototypes for functions
15880 * config/m32r/m32r.h: Move prototypes to m32r-protos.h
15881 Add support for subtargets.
15882 Add prototypes for new predicates.
15883 Add scheduling macros.
15885 * config/m32r/m32r.c: Fix compile time warnings.
15886 (int8_operand): New predicate function.
15887 (reg_or_cmp_int16_operand): New predicate function.
15888 (extend_operand): New predicate function.
15889 (m32r_adjust_code): New scheduling function.
15890 (m32r_adjust_priorty): New scheduling function.
15891 (m32r_sched_init): New scheduling function.
15892 (m32r_sched_reorder): New scheduling function.
15893 (m32r_sched_variable_issue): New scheduling function.
15894 (direct_return): New codegen function.
15895 (m32r_not_same_reg): New rtl testsing function.
15897 * config/m32r/m32r.md: Fix compile time warnings.
15898 Add support for pre decrement and post increment memory
15900 Add S<cc> patterns.
15903 Mon Nov 8 22:20:13 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
15905 * global.c (EXECUTE_IF_CONFLICT): Don't define.
15906 (prune_preferences): Use EXECUTE_IF_SET_IN_ALLOCNO_SET instead.
15907 (find_reg): Likewise.
15909 Mon Nov 8 13:16:46 1999 Jason Eckhardt <jle@cygnus.com>
15911 * config/pa/pa.md (fmpynfadd,{sgl,dbl} insns): Use %fr0 rather than 0
15912 to avoid assembler errors.
15914 Mon Nov 8 15:38:41 1999 Nick Clifton <nickc@cygnus.com>
15916 * config/v850/v850-protos.h: New file: Prototypes for functions
15918 * config/v850/v850.h: Move prototypes to v850-protos.h
15919 * config/v850/v850.c: Move prototypes to v850-protos.h
15920 * config/v850/v850.md: Fix compile time warnings.
15922 * config/fr30/fr30-protos.h: New file: Prototypes for functions
15924 * config/fr30/fr30.h: Move prototypes to fr30-protos.h
15925 * config/fr30/fr30.c: Fix compile time warnings.
15926 * config/fr30/fr30.md: Fix compile time warnings.
15928 Mon Nov 8 07:25:37 1999 Mark Mitchell <mark@codesourcery.com>
15930 * tree.h (get_containing_scope): Declare it.
15931 * tree.c (get_containing_scope): New fucntion.
15932 (decl_function_context): Use it.
15933 * toplev.c (rest_of_compilation): Use get_containing_scope.
15935 aMon Nov 8 03:03:07 1999 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
15937 * Makefile.in (rtl.o): Depend on toplev.h.
15939 Sun Nov 7 20:55:14 1999 Mark Mitchell <mark@codesourcery.com>
15941 * cse.c (delete_trivially_dead_insns): Replace alloca with
15943 * except.c (update_rethrow_references): Likewise.
15944 (init_eh_nesting_info): Likewise.
15945 * function.c (identify_blocks): Likewise.
15946 * gcse.c (dump_hash_table): Likewise.
15947 * graph.c (print_rtl_graph_with_bb): Likewise.
15948 * loop.c (combine_movables): Likewise.
15949 (move_movables): Likewise.
15950 (count_loop_regs_set): Likewise.
15951 (strength_reduce): Likewise.
15952 * profile.c (compute_branch_probabilities): New function, split
15954 (branch_prob): Here. Replace alloca with xmalloc/xcalloc.
15955 * regclass.c (regclass): Likewise.
15956 * regmove.c (regmove_optimize): Likewise.
15957 * toplev.c (compile_file): Likewise.
15958 (main): Don't mess with the stack rlimit.
15960 Sun Nov 7 19:41:17 1999 Catherine Moore <clm@cygnus.com>
15962 * config/elfos.h (ASM_DECLARE_FUNCTION_NAME): Conditionally define.
15963 (ASM_DECLARE_FUNCTION_SIZE): Conditionally define.
15965 Sun Nov 7 10:23:28 1999 Mark P. Mitchell <mark@codesourcery.com>
15967 * integrate.c (save_for_inline_nocopy): Clear in_nonparm_insns.
15969 Sun Nov 7 02:58:48 1999 Jeffrey A Law (law@cygnus.com)
15971 * global.c (EXECUTE_IF_CONFLICT): Undo Robert's change.
15972 (EXECUTE_IF_SET_IN_ALLOCNO_SET): Put curleys around CODE in
15975 Sat Nov 6 23:48:30 1999 Robert Lipe (robertlipe@usa.net)
15977 * global.c (EXECUTE_IF_CONFLICT): Correct quoting typo.
15979 Sat Nov 6 17:34:39 1999 Jeffrey A Law (law@cygnus.com)
15981 * gcse.c (post_dominators): Kill.
15982 (alloc_code_hoist_mem, free_code_hoist_mem); Kill post_dominators.
15983 (compute_code_hoist_data): Use compute_flow_dominators. Do not
15984 pass in a pdom array since we do not need pdoms.
15985 * haifa-sched.c (schedule_insns): Similarly.
15986 * flow.c (compute_dominators): Remove dead function.
15987 (compute_flow_dominators): Do not compute doms or pdoms if the
15988 caller does not request them. Split up loop to build doms and
15989 pdoms. Use a worklist to compute doms and pdoms.
15990 * basic-block.h (compute_dominators): Remove prototype.
15992 Sat Nov 6 11:38:39 1999 Richard Henderson <rth@cygnus.com>
15994 * haifa-sched.c (struct haifa_insn_data, h_i_d): New.
15995 (insn_luid, insn_priority, insn_costs, insn_units): Remove.
15996 (insn_reg_weight, insn_depend, insn_dep_count): Remove.
15997 (insn_blockage, insn_ref_count, line_note, insn_tick): Remove.
15998 (cant_move, fed_by_spec_load, is_load_insn): Remove.
15999 (schedule_region): Remove unused variable.
16000 (schedule_insns): Allocate h_i_d, and not all the separate arrays.
16002 Sat Nov 6 10:00:34 1999 Mark Mitchell <mark@codesourcery.com>
16004 * local-alloc.c (local_alloc): Use xmalloc/xcalloc, not alloca.
16005 (update_equiv_regs): Likewise.
16006 (block_alloc): Likewise.
16007 * reg-stack.c (reg_to_stack): Likewise.
16008 (convert_regs_2): Likewise.
16009 * reload1.c (reload_as_needed): Likewise.
16011 Sat Nov 6 09:57:59 1999 Mark Mitchell <mark@codesourcery.com>
16013 * Makefile.in (dbxout.o): Depend on ggc.h.
16014 (dwarf2out.o): Likewise.
16015 (xcoffout.o): Likewise.
16016 * dbxout.c: Include ggc.h.
16017 (dbxout_init): Register lastfile as a root.
16018 * dwarf2out.c: Include ggc.h.
16019 (dwarf2out_line): Register lastfile as a root.
16020 * xcoffout.c: Include ggc.h.
16021 (xcoffout_source_line): Register xcoff_lastfile as a root.
16023 Sat Nov 6 09:52:09 1999 Richard Henderson <rth@cygnus.com>
16025 * i386.md (movdf_1, movxf_1): Earlyclobber general regs destination.
16027 Sat Nov 6 07:48:59 1999 Catherine Moore <clm@cygnus.com>
16029 * config/svr4.h (ASM_DECLARE_FUNCTION): Check if already
16031 (ASM_DECLARE_FUNCTION_SIZE): Likewise.
16033 Fri Nov 5 18:33:39 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
16035 * global.c (EXECUTE_IF_SET_IN_ALLOCNO_SET): New macro.
16036 (EXECUTE_IF_CONFLICT): Likewise.
16037 (ALLOCNO_LIVE_P): Avoid signed division.
16038 (SET_ALLOCNO_LIVE, CLEAR_ALLOCNO_LIVE): Likewise.
16039 (prune_preferences, find_reg): Use EXECUTE_IF_CONFLICT.
16040 (record_one_conflict): Use EXECUTE_IF_SET_IN_ALLOCNO_SET.
16042 Fri Nov 5 12:04:02 1999 Richard Henderson <rth@cygnus.com>
16044 * haifa-sched.c (schedule_block): Don't crash if there's no
16045 next insn for an interblock movement.
16046 (add_branch_dependences): Don't allow clobber insns to move either.
16048 Fri Nov 5 10:18:11 1999 Richard Henderson <rth@cygnus.com>
16050 * i386.c (split_xf): New.
16051 * i386-protos.h: Declare it.
16052 * i386.md (movxf_1): Add general regs alternatives.
16053 (movxf_1+1): New splitter for same.
16055 Fri Nov 5 12:05:52 1999 Nick Clifton <nickc@cygnus.com>
16057 * function.c (purge_addressof_1): Add missing return values.
16059 Fri Nov 5 10:07:25 1999 Nick Clifton <nickc@cygnus.com>
16061 * function.c (is_addressof): New function. Returns true if
16062 the given piece of RTL is an ADDRESSOF.
16063 (purge_addressof_1): Make boolean. Return false if the
16064 ADDRESSOFs could not be purged.
16065 (purge_addressof): If ADDRESSOFs could not be purged from the
16066 notes attached to an insn, remove the offending note(s),
16067 unless they are attached to a libcall.
16069 1999-11-05 Andreas Jaeger <aj@suse.de>
16071 * genoutput.c (null_operand =): Initialize all fields.
16073 * errors.h: Add extern to prototypes.
16075 Fri Nov 5 01:44:09 1999 Jeffrey A Law (law@cygnus.com)
16077 * configure.in (m68k-next-nextstep4): Handle Openstep 4.2.
16078 * configure: Rebuilt.
16080 Fri Nov 5 01:24:37 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
16082 * global.c (CONFLICTP, SET_CONFLICT): Avoid signed division.
16083 (mirror_conflicts): New function.
16084 (global_alloc): Call it.
16085 (expand_preferences): Remove redundant CONFLICTP test.
16086 (find_reg, dump_conflicts): Likewise.
16087 (prune_preferences): Process conflicts one word at a time.
16089 Fri Nov 5 01:05:21 1999 Richard Henderson <rth@cygnus.com>
16091 * global.c (build_insn_chain): Use EXECUTE_IF_SET_IN_BITMAP
16092 instead of an explicit loop.
16094 Thu Nov 4 23:07:14 1999 Jim Wilson <wilson@cygnus.com>
16096 * cse.c (cse_insn): Revert Oct 31 change. When computing src_elt,
16097 if REG_RETVAL check succeeds, then put classp in src_elt.
16099 Thu Nov 4 23:48:14 1999 Jeffrey A Law (law@cygnus.com)
16101 * function.c (pad_to_arg_alignment): Only update argument_pad
16102 if the argument's alignment is greater than STACK_BOUNDARY.
16104 Thu Nov 4 16:44:53 1999 Richard Henderson <rth@cygnus.com>
16106 * bitmap.h (BITMAP_XFREE): New.
16107 * flow.c (life_analysis): Use it.
16108 (life_analysis_1): Free blocks.
16110 * combine.c (undo_commit): New.
16111 (try_combine): Use it. Don't zap undobuf.undos.
16112 (combine_instructions): Don't zap undobuf.undos; free the
16113 undobuf.frees list.
16115 * local-alloc.c (local_alloc): Free qty_phys_num_sugg.
16117 * stmt.c (cost_table_): New.
16118 (estimate_case_costs): Use it instead of xmalloc.
16120 * toplev.c (compile_file): Reuse dumpname memory instead
16123 Thu Nov 4 16:36:44 1999 Richard Henderson <rth@cygnus.com>
16125 * reg-stack.c (convert_regs_1): Initialize target_stack->top
16126 after verifying an EH edge.
16128 * haifa-sched.c (init_rgn_data_dependences): Correctly
16129 size bb_pending_lists_length when zeroing.
16131 Thu Nov 4 16:36:36 1999 Richard Henderson <rth@cygnus.com>
16133 * function.c (diddle_return_value): New.
16134 (expand_function_end): Use it.
16135 * stmt.c (expand_null_return): Likewise.
16136 (expand_value_return): Likewise.
16138 * reg-stack.c (subst_stack_regs_pat): Handle clobbers at top-level.
16140 * reload1.c (reload): Don't remove return value clobbers.
16142 Thu Nov 4 13:33:46 1999 Richard Henderson <rth@cygnus.com>
16144 * rtl.c (read_rtx): Use fatal_with_file_and_line not fatal.
16146 Thu Nov 4 12:49:52 1999 Richard Henderson <rth@cygnus.com>
16148 * cse.c (cse_main): Use xmalloc, not alloca.
16149 (cse_basic_block): Likewise.
16150 * local-alloc.c (local_alloc): Likewise.
16152 Thu Nov 4 14:22:12 1999 David Billinghurst <David.Billinghurst@riotinto.com.au>
16153 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
16155 * rtl.c: Include toplev.h.
16156 (fatal): Remove declaration.
16158 Thu Nov 4 06:39:47 1999 Jeffrey A Law (law@cygnus.com)
16160 * haifa-sched.c (schedule_block): Fix thinko.
16162 1999-11-03 James McKelvey <mckelvey@fafnir.com>
16164 * fixinc/fixincl.c(create_file): Allow for systems that do not have
16165 S_IR* defined values
16167 1999-11-03 Philippe De Muyter <phdm@macqel.be>
16169 * fixlib.c (load_file_data): Do not call `realloc' with a NULL pointer;
16170 call `malloc' instead.
16172 Wed Nov 3 23:05:14 1999 Mark Mitchell <mark@codesourcery.com>
16174 * flags.h (flag_renumber_insns): Declare.
16175 * emit-rtl.c (renumber_insns): Check flag_renumber_insns. Print
16177 * rtl.h (renumber_insns): Change prototype.
16178 * toplev.c (flag_renumber_insns): Define.
16179 (rest_of_compilation): Pass rtl_dump_file to flag_renumber_insns.
16181 Wed Nov 3 15:11:27 1999 David S. Miller <davem@redhat.com>
16183 * config/sparc/sparc.md: Remove insn type fpsqrt, add fpsqrts
16184 and fpsqrtd. Use them and create fdiv function unit to more
16185 accurately represent fpu sqrt pipeline semantics on UltraSparc.
16186 * config/sparc/sparc.c: Account for fpsqrt{s,d} changes.
16188 Wed Nov 3 15:11:27 1999 Matteo Frigo <athena@fftw.org>
16190 * config/sparc/sparc.md: Adjust FADD/FMUL result latencies to
16192 * config/sparc/sparc.c (ultra_schedule_insn): Insert launched
16193 insn into ready list, do not use just a raw swap.
16195 Wed Nov 3 14:51:59 1999 Mark P. Mitchell <mark@codesourcery.com>
16197 * rtl.h (renumber_insns): New function.
16198 (remove_unnecessary_notes): Likewise.
16199 * emit-rtl.c (renumber_insns): Define.
16200 (remove_unncessary_notes): Likewise.
16201 * toplev.c (rest_of_compilation): Remove dead code.
16202 Use renumber_insns and remove_unncessary_notes.
16204 * gcse.c (struct null_pointer_info): New type.
16205 (get_bitmap_width): New function.
16206 (current_block): Remove.
16207 (nonnull_local): Likewise.
16208 (nonnull_killed): Likewise.
16209 (invalidate_nonnull_info): Take a null_pointer_info as input.
16210 (delete_null_pointer_checks_1): New function.
16211 (delete_null_pointer_checks): Use it.
16213 * haifa-sched.c (find_rgns): Replace uses of alloca with xmalloc.
16214 (split_edges): Likewise.
16215 (schedule_block): Likewise.
16216 (compute_block_backward_dependencies): Likewise.
16217 (schedule_region): Likewise.
16218 (schedule_insns): Likewise.
16220 Wed Nov 3 15:40:23 1999 Catherine Moore <clm@cygnus.com>
16222 * defaults.h (ASM_OUTPUT_ALTERNATE_LABEL_NAME): Provide default.
16223 * emit-rtl.c (gen_label_rtx): Support LABEL_ALTERNATE_NAME.
16224 * final.c (final_scan_insn): Emit LABEL_ALTERNATE_NAME.
16225 * ggc-common.c (ggc_mark_rtx_children): Mark LABEL_ALTERNATE_NAME.
16226 * jump.c (delete_unreferenced_labels): Don't delete if
16227 LABEL_ALTERNATE_NAME is set.
16228 * print-rtl.c (print_rtx): Dump alternate name.
16229 * rtl.def (CODE_LABEL): Change format to "iuuis00s".
16230 * rtl.h (LABEL_ALTERNATE_NAME): Define.
16231 * rtl.texi (LABEL_ALTERNATE_NAME): Document.
16232 * tm.texi (ASM_OUTPUT_ALTERNATE_LABEL_NAME): Document.
16234 Wed Nov 3 15:39:19 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
16236 * fix-header.c (recognized_extern, recognized_function): Constify
16239 * lcm.c (compute_laterin): Remove unused variable `temp_bitmap'.
16240 (pre_edge_lcm): Mark parameter `file' with ATTRIBUTE_UNUSED.
16241 (compute_available): Remove unused variable `last'.
16242 (compute_nearerout): Remove unused variable `temp_bitmap'.
16243 (pre_edge_rev_lcm): Mark parameter `file' with ATTRIBUTE_UNUSED.
16244 Remove unused variable `x'.
16246 * scan.h (recognized_function, recognized_extern): Constify a
16249 * simplify-rtx.c (simplify_rtx): Remove unused variable `new'.
16251 Wed Nov 3 10:40:53 1999 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
16253 * varasm.c (decode_rtx_const): Use XSTR to access the string
16256 Wed Nov 3 10:10:58 1999 Richard Henderson <rth@cygnus.com>
16258 * c-decl.c (duplicate_decls): Copy DECL_MODE too.
16260 Wed Nov 3 12:12:59 1999 Bernd Schmidt <bernds@cygnus.co.uk>
16262 * reload1.c (eliminate_regs_in_insn): If copying insn, also copy notes.
16264 Wed Nov 3 03:26:28 1999 Jeffrey A Law (law@cygnus.com)
16266 * pa.c (ireg_operand): New function.
16267 * pa.h (PREDICATE_CODES): Handle ireg_operand.
16268 * pa.md (parallel_addb, parallel_movb): Use ireg_operand.
16269 Fix out of date comment.
16271 * pa.md (negdi2): Turn into expander + anonymous pattern.
16273 * reload.c (find_reloads): Fix typos in recent change.
16275 * dwarf2out.c: Do not include ctype.h.
16277 Tue Nov 2 21:53:44 1999 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
16279 * regclass.c (record_reg_classes): Always use may_move_cost when
16280 seeing how operand fits with various register classes.
16282 Tue Nov 2 15:38:17 1999 Richard Henderson <rth@cygnus.com>
16284 * resource.c: Revert Oct 26 20:42 and Oct 27 00:56 changes.
16285 * toplev.c: Revert Nov 1 13:22 change.
16287 Tue Nov 2 14:21:37 1999 Jason Eckhardt <jle@cygnus.com>
16289 * config/pa/pa.md (height reduction patterns): Add checks for
16290 overlapping operands to avoid semantic-destroying splits for
16291 height reduction patterns.
16293 Tue Nov 2 15:27:31 1999 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
16295 * configure.in (m68k-hp-hpux*, xm_alloca.h): The underscore should
16296 have been an hyphen, fixed.
16297 * configure: Rebuilt.
16299 Tue Nov 2 17:04:36 1999 Nick Clifton <nickc@cygnus.com>
16301 * config/arm/tpe.h: Add prototypes for exported functions.
16302 * config/arm/pe.c: Fix compile time warnings.
16303 * config/arm/semi.h: Fix compile time warnings.
16304 * config/arm/arm.c: Fix compile time warnings.
16305 * config/arm/arm.h: Fix compile time warnings.
16306 * config/arm/arm.md: Fix compile time warnings.
16307 * config/arm/thumb.c: Fix compile time warnings.
16308 * config/arm/thumb.h: Fix compile time warnings.
16309 * config/arm/thumb.md: Fix compile time warnings.
16311 Tue Nov 2 04:10:24 1999 Jan Hubicka <hubicka@freesoft.cz>
16313 * jump.c (jump_optimize_1): Swap the incscc and the conditional mode
16316 * unroll.c (unroll_loop): Remove LOOP notes when loop is
16317 completely unrolled.
16319 Tue Nov 2 16:57:22 1999 Bernd Schmidt <bernds@cygnus.co.uk>
16321 * cse.c (simplify_plus_minus, check_fold_const): Delete declarations.
16323 Tue Nov 2 09:43:00 1999 Catherine Moore <clm@cygnus.com>
16325 * Makefile.in (genattrtab): Don't use (HOST_RTLANAL).
16326 * rtl.h (rtx_equal_p): Move prototype.
16327 * rtl.c (rtx_equal_function_value_matters): Move from
16329 (rtx_equal_p): Likewise.
16330 * rtlanal.c (rtx_equal_function_value_matters): Delete.
16331 (rtx_equal_p): Likewise.
16333 Mon Nov 1 23:21:17 1999 Jason Merrill <jason@yorick.cygnus.com>
16335 * libgcc2.c (__do_global_dtors): Only do EH frame stuff if
16336 ! HAS_INIT_SECTION.
16338 Mon Nov 1 23:37:38 1999 Jeffrey A Law (law@cygnus.com)
16340 * gcc.1 (PA options): Remove obsolete -mshared-libs options.
16342 * pa.h (ADDR_VEC_ALIGN): Define.
16344 * jump.c (jump_optimize_1): Also move LOOP_VTOP and LOOP_CONT
16345 notes when presented with "if (foo) break; end_of_loop" and
16346 the break sequence gets moved out of the loop.
16348 * unroll.c (unroll_loop): Allocate memory for MAP using xcalloc.
16349 Remove explicit zero initializations of entries within MAP.
16351 Mon Nov 1 18:09:14 1999 Richard Henderson <rth@cygnus.com>
16353 * reg-stack.c (convert_regs_1): Handle EH edges specially.
16355 Mon Nov 1 15:41:01 1999 Mark P. Mitchell <mark@codesourcery.com>
16357 * bitmap.h (BITMAP_XMALLOC): New macro.
16358 * flow.c (CLEAN_ALLOCA): Remove.
16359 (delete_unreachable_blocks): Use xmalloc/xcalloc instead of alloca.
16360 (life_analysis): Likewise.
16361 (update_life_info): Don't use CLEAN_ALLOCA.
16362 (life_analysis_1): Use xmalloc/xcalloc instead of alloca.
16363 (calculate_global_regs_live): Likewise.
16364 (print_rtl_with_bb): Likewise.
16365 (verify_flow_info): Likewise.
16366 * global.c (global_alloc): Likewise.
16367 (global_conflicts): Likewise.
16368 * integrate.c (save_for_inline_nocopy): Likewise.
16369 (expand_inline_function): Likewise.
16370 * jump.c (jump_optimize_1): Likewise.
16371 (duplicate_loop_exit_test): Likewise.
16372 (thread_jumps): Likewise.
16373 * loop.c (loop_optimize): Likewise.
16374 (combine_givs): Likewise.
16375 (recombine_givs): Likewise.
16376 * reorg.c (dbr_schedule): Likewise.
16377 * unroll.c (unroll_loop): Likewise.
16379 * combine.c (combine_instructions): Use xmalloc instead of alloca.
16381 Mon Nov 1 13:22:30 1999 Richard Henderson <rth@cygnus.com>
16383 * toplev.c (rest_of_compilation): Don't optimize the CFG
16384 when rebuilding, just before dbr.
16386 Mon Nov 1 14:35:50 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
16388 * output.h (assemble_end_function, assemble_destructor,
16389 assemble_constructor, assemble_gc_entry, assemble_global,
16390 assemble_label, output_constant_pool) Constify a char*.
16392 * varasm.c (assemble_destructor, assemble_constructor,
16393 assemble_gc_entry, assemble_end_function, assemble_global,
16394 assemble_label, output_constant_pool): Likewise.
16396 Mon Nov 1 14:22:51 1999 Nick Clifton <nickc@cygnus.com>
16398 * config/arm/thumb.c (thumb_expand_prologue): Add comments
16399 explaining what is goin on in this function.
16401 Mon Nov 1 08:03:15 1999 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
16403 * regclass.c (record_reg_classes): In matching case, recompute
16404 costs since the direction of movement is different.
16406 Sun Oct 31 21:59:34 MST 1999 Diego Novillo <dnovillo@cygnus.com>
16408 * resource.c (mark_target_live_regs): For unconditional branches,
16409 the resources found at the branch target should be added to the
16410 resources found so far, not intersected.
16412 Sun Oct 31 15:48:49 1999 Philippe De Muyter <phdm@macqel.be>
16414 * fixinc/fixtests.c, fixinc/fixfixes.c : Keep `#' in first column for
16416 * fixinc/fixincl.c (fcntl.h) : Do not include this file twice.
16417 (sys/mman.h): Include this file only if #HAVE_MMAP.
16418 (run_compiles): Initialize `esac_fmt' with one old KR string, not
16419 with automatically concatenated ANSI strings.
16421 Sun Oct 31 23:57:07 1999 Mark Mitchell <mark@codesourcery.com>
16423 * ggc-page.c (struct page_entry): Remove save_num_free_objects.
16424 (DIV_ROUND_UP): Robustify.
16425 (ggc_recalculate_in_use_p): New function.
16426 (release_pages): Don't inline it.
16427 (ggc_alloc_obj): Don't refuse to allocate objects on pages for
16429 (ggc_pop_context): Use ggc_recalculate_in_use_p.
16430 (clear_marks): Always save in_use_p.
16431 (sweep_pages): Use ggc_recalculate_in_use_p.
16432 (ggc_page_print_statistics): Avoid signed/unsigned comparisons.
16433 Release pages before counting statistics.
16435 Sun Oct 31 23:42:37 1999 Mark Mitchell <mark@codesourcery.com>
16437 * toplev.c (rest_of_compilation): Fix thinko in this change:
16439 Fri Oct 29 15:25:07 1999 Arnaud Charlet <charlet@ACT-Europe.FR>
16441 (rest_of_compilation): If inside an inlined external function,
16442 pretend we are just being declared.
16444 Sun Oct 31 23:03:25 1999 Jeffrey A Law (law@cygnus.com)
16446 * flow.c (calculate_global_regs_live): Fix thinko.
16448 * integrate.c (expand_inline_function): Fix bugs in previous
16449 change from Oct 28, 1999.
16451 Sun Oct 31 20:27:45 1999 Mark Mitchell <mark@codesourcery.com>
16453 * stmt.c (expand_value_return): Fix typo in this change:
16455 Thu Oct 28 18:06:50 1999 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
16456 (expand_value_return): Correctly convert VAL when promoting function
16457 return; support RETURN_REG being a PARALLEL.
16459 Sun Oct 31 20:25:42 1999 Mark P. Mitchell <mark@codesourcery.com>
16461 * expr.c (readonly_fields_p): Ignore everything except FIELD_DECLs.
16463 Sun Oct 31 20:42:17 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
16465 * hard-reg-set.h (reg_names): Constify a char*.
16467 * regclass.c (reg_names): Likewise.
16469 * regs.h (reg_names): Likewise
16471 * a29k/a29k.c (reg_names): Delete declaration.
16473 * a29k/a29k.h (CONDITIONAL_REGISTER_USAGE): Constify a char*.
16475 * arc/arc.c (arc_save_restore, arc_output_function_prologue,
16476 arc_output_function_epilogue): Likewise.
16478 * elxsi/elxsi.c (reg_names): Likewise.
16480 * gmicro/gmicro.h (FUNCTION_PROLOGUE, FUNCTION_EPILOGUE): Likewise.
16482 * m32r/m32r.c (m32r_output_function_epilogue, emit_cond_move):
16485 * m88k/m88k.c (output_function_profiler): Likewise.
16487 * sparc/sparc.c (sparc_flat_output_function_prologue,
16488 sparc_flat_output_function_epilogue): Likewise.
16490 Sun Oct 31 13:32:15 CET 1999 Marc Lehmann <pcg@goof.com>
16492 * toplev.c (rest_of_compilation): Seperate the setjmp/vfork clobber
16493 warning from -Wuninitialized and put it under -W.
16494 * function.c (uninitialized_vars_warning): Warn only when the
16495 corresponding flag is set.
16497 Sun Oct 31 01:53:30 1999 Jeffrey A Law (law@cygnus.com)
16499 * cse.c (cse_insn): If an insn has only a single set, SRC_EQV
16500 is nonzero and the single set does not have an elt, then assign
16503 * simplify-rtx.c: New file.
16504 * Makefile.in (OBJS): Add simplify-rtx.o
16505 (simplify-rtx.o): Add dependencies.
16506 * rtl.h (simplify_gen_binary, simplify_rtx): Add prototypes.
16507 * cse.c: Use simplify_gen_binary intead of cse_gen_binary.
16508 (cse_gen_binary, simplify_unary_operation): Delete.
16509 (simplify_binary_operation, simplify_plus_minus): Likewise.
16510 (check_fold_consts, simplify_relation_operation): Likewise.
16511 (simplify_ternary_operation): Likewise.
16512 (delete_trivially_dead_insns): Simplify the contents of the
16513 REG_EQUAL note before trying to substitute it into the source
16514 of the reg-reg copy at the end of a libcall sequence.
16516 * combine.c (combine_simplify_rtx): Renamed from simplify_rtx. All
16517 references/callers changed.
16519 * mn10200.c (mn10200_va_arg): Force the return value into a
16522 * fr30.h (EXTRA_CC_NAMES): Remove obsolete macro.
16524 * cccp.c (macroexpand): Avoid out of range accesses for omitted
16527 Sat Oct 30 22:42:50 1999 Stephen L Moshier <moshier@mediaone.net>
16529 * c-lex.c (yylex): Accept 'f' in mantissa of hex float constant.
16531 Sat Oct 30 22:19:26 1999 Jeffrey A Law (law@cygnus.com)
16533 * fold-const.c (fold): Fix thinko when optimizing comparisons
16536 Sat Oct 30 21:32:17 1999 David Starner <dstarner98@aasaa.ofe.org>
16538 * gcc.texi (Passes): Update front-end files to their current
16541 Sat Oct 30 14:41:40 1999 Richard Henderson <rth@cygnus.com>
16543 * alpha.h (SECONDARY_INPUT_RELOAD_CLASS): Call secondary_reload_class.
16544 (SECONDARY_OUTPUT_RELOAD_CLASS): Likewise.
16545 (PREDICATE_CODES): Add addition_operation.
16546 * alpha-protos.h (addition_operation): Declare.
16547 (secondary_reload_class): Likewise.
16548 * alpha.c (addition_operation): New.
16549 (secondary_reload_class): New, from old SECONDARY_INPUT_RELOAD_CLASS.
16550 * alpha.md (adddi3): Turn into expander.
16551 (*lda, *adddi_2): New.
16552 (movsf, movdf patterns): Don't preference integer regs.
16553 (movsi, movdi patterns): Don't preference fp regs.
16555 Sat Oct 30 14:38:22 1999 Richard Henderson <rth@cygnus.com>
16557 * genrecog.c (write_switch): Check for duplicate CODE cases.
16559 Sat Oct 30 14:31:48 1999 Richard Henderson <rth@cygnus.com>
16561 * ggc-common.c: Update pre-function commentary.
16562 * ggc-page.c: Likewise.
16564 (poison_pages): Use memset directly.
16565 (ggc_alloc_obj): Likewise. Use a different pattern than poison_pages.
16566 (ggc_collect): Poison before sweeping.
16567 * ggc-simple.c: Update pre-function commentary.
16568 (ggc_alloc_obj): Poison non-zeroed memory.
16570 Sat Oct 30 14:28:52 1999 Mark Mitchell <mark@codesourcery.com>
16572 * ggc-common.c (ggc_print_statistics): Make arguments to fprintf
16573 match format string, even on 64-bit hosts.
16574 * gcc-page.c (ggc_page_print_statistics): Likewise.
16576 Sat Oct 30 14:38:04 1999 Catherine Moore <clm@cygnus.com>
16578 * config/i386/i386.c (ix86_cpu): Revert last patch.
16579 * config/i386/i386.h (ix86_cpu): Ditto.
16581 Fri Oct 29 17:00:42 1999 Jim Wilson <wilson@cygnus.com>
16583 * stor-layout.c (layout_type): When compute TYPE_SIZE_UNIT from
16584 TYPE_SIZE, convert type of result to sizetype.
16586 Fri Oct 29 14:34:17 1999 Richard Henderson <rth@cygnus.com>
16588 * flow.c (count_or_remove_death_notes): Equate NULL with the
16591 * jump.c, reg-stack.c, toplev.c: Revert Oct 27 change.
16592 * toplev.c (rest_of_compilation): Rebuild CFG immediately before
16595 * i386.c (pic_label_no): Delete.
16596 (ix86_attr_length_default): Don't use single_set to peek
16599 * recog.c (peephole2_optimize): Allow recog_next_insn to index
16600 the first insn after bb->end.
16601 * i386.md (push mem peeps): Scratch is live after evaluation
16603 (cmp mem peep): Similarly.
16605 Fri Oct 29 11:50:11 1999 Catherine Moore <clm@cygnus.com>
16607 * calls.c (emit_library_call_value): Fix declaration of alignment_pad.
16608 * function.c (pad_to_arg_alignment): Add missing braces.
16610 Fri Oct 29 13:53:48 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
16612 * alpha/alpha-protos.h (literal_section): Add prototype.
16613 (alpha_need_linkage, alpha_start_function,alpha_end_function):
16616 * alpha/alpha.c (alpha_ra_ever_killed, set_frame_related_p): Add
16618 (alpha_start_function, alpha_end_function, float_strings,
16619 alpha_need_linkage): Constify a char*
16621 * alpha/alpha.h (ASM_OUTPUT_ASCII, ASM_OUTPUT_MI_THUNK): Likewise.
16623 * alpha/alpha32.h (ASM_OUTPUT_MI_THUNK): Likewise.
16625 * alpha/elf.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
16627 * alpha/vms.h (ASM_OUTPUT_SECTION_NAME): Likewise.
16629 Fri Oct 29 13:49:39 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
16631 * flow.c (debug_flow_info): Add prototype.
16633 * gcc.c (main): Likewise.
16635 * gcse.c (expr_reaches_here_p_work, pre_expr_reaches_here_p_work):
16638 * reload1.c (failed_reload, set_reload_reg): Likewise.
16640 * mips-tfile.c (main): Likewise.
16641 (pfatal_with_name, fancy_abort, botch, fatal, catch_signal): Mark
16642 with ATTRIBUTE_NORETURN.
16644 Fri Oct 29 18:16:03 1999 Andrew Haley <aph@cygnus.com>
16646 * config/i386/i386.h (ENCODE_SECTION_INFO): Don't do anything if
16647 DECL is not a memory ref.
16649 Fri Oct 29 09:05:34 1999 Catherine Moore <clm@cygnus.com>
16651 * config/i386/i386.h (ix86_cpu): Remove extern attribute.
16652 * config/i386/i386.c (ix86_cpu): Add extern attribute.
16654 Fri Oct 29 16:30:04 1999 Andrew Haley <aph@cygnus.com>
16656 * config/mips/elf.h: remove NAME__MAIN and SYMBOL__MAIN.
16657 * config/mips/elf64.h: ditto.
16659 Fri Oct 29 08:03:57 1999 Catherine Moore <clm@cygnus.com>
16661 * expr.c (emit_push_insn): New argument alignment_pad.
16662 Update all callers. Adjust stack pointer based on alignment pad.
16663 * function.c (pad_to_arg_alignment): New argument alignment_pad.
16664 Update all callers. Track alignment_pad if boundary > PARM_BOUNDARY.
16665 (locate_and_pad_parm): New argument alignment_pad. Update all
16667 * expr.h (emit_push_insn): Update prototype.
16668 (locate_and_pad_parm): Update prototype.
16669 * calls.c (arg_data): Add new field alignment_pad.
16670 (initialize_argument_information): Initialize alignment_pad.
16672 Fri Oct 29 02:51:35 1999 Mark Mitchell <mark@codesourcery.com>
16674 * except.c (free_eh_nesting_info): Free the info itself.
16675 * function.c (free_after_compilation): Don't free NULL.
16676 * gcse.c (alloc_pre_mem): Free the temp_bitmap, too.
16677 (pre_edge_insert): Free inserted.
16678 * stmt.c (free_stmt_status): Don't free NULL.
16680 Fri Oct 29 15:25:07 1999 Arnaud Charlet <charlet@ACT-Europe.FR>
16682 * gcov.c (DIR_SEPARATOR): Provide default.
16683 (output_data): Add test for MS-DOS format absolute filename.
16684 (fancy_abort): Correct program name.
16685 (open_files): Open all files in binary mode.
16686 * libgcc2.c (__bb_exit_func): Likewise.
16688 * profile.c (init_branch_prob): Specify binary when opening files.
16690 * flags.h (flag_unwind_tables): New decl.
16691 * toplev.c (flag_unwind_table): New definition.
16692 (f_options): Add -funwind-tables.
16693 (decode_g_option): Clarify warning when unknown -g option is given.
16694 (rest_of_compilation): If inside an inlined external function,
16695 pretend we are just being declared.
16697 * dwarf2out.c (dwarf2out_do_frame): Check -funwind_tables.
16698 (dwarf2out_frame_finish): Likewise.
16700 Fri Oct 29 07:44:26 1999 Vasco Pedro <vp@di.fct.unl.pt>
16702 * fold-const.c (merge_ranges): If not in0, but in1, handle
16703 upper bounds equal like subset case.
16705 Thu Oct 28 19:22:24 1999 Douglas Rupp <rupp@gnat.com>
16707 * dbxout.c (dbxout_parms): Generate a second stabs line for parameters
16708 passed in a register but moved to the stack.
16710 Thu Oct 28 19:12:57 1999 Sam Tardieu <tardieu@act-europe.fr>
16712 * gcc.c (pass_exit_codes, greatest_status): New variables.
16713 (struct option_map): Add entry for "--pass-exit-codes".
16714 (execute): Update greatest_status if error.
16715 (display_help): Add documentation for -pass-exit-codes.
16716 (process_command): Handle -pass-exit-codes.
16717 (main): Look at pass_exit_codes and greatest_status on call to exit.
16719 Thu Oct 28 18:06:50 1999 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
16721 * reload.c (find_reloads): Refine test for no input reload
16722 case to not includes reloads emitted after insn.
16724 * function.c (find_temp_slots_from_address): Handle sum involving
16725 a register that points to a temp slot.
16726 (update_temp_slot_address): Make recursive call if both old and
16727 new are PLUS with a common operand.
16728 * calls.c (expand_call): Mark temp slot for result as having
16731 * rtlanal.c (reg_referenced_p, case IF_THEN_ELSE): New case.
16733 * gcc.c (process_command): Add standard_exec_prefix with "GCC"
16734 component as well as "BINUTILS".
16736 * integrate.h (copy_rtx_and_substitute): New arg, FOR_LHS.
16737 * integrate.c (copy_rtx_and_substitute): Likewise.
16738 (expand_inline_function, integrate_parm_decls, integrate_decl_tree):
16739 All callers changed.
16740 * unroll.c (inital_reg_note_copy, copy_loop_body): Likewise.
16742 * dbxout.c (dbxout_type, case INTEGER_TYPE_NODE): If can use
16743 gdb extensions, write size of type; also be more consistent
16744 in using references when this is a subtype.
16746 * pa.md (extv, extzv, insv): Use define_expand to reject constant
16747 that is out of range.
16749 * loop.c (unknown_constant_address_altered): New variable.
16750 (prescan_loop): Initialize it.
16751 (note_addr_stored): Set it for RTX_UNCHANGING_P MEM.
16752 (invariant_p, case MEM): Remove handling for volatile and readonly;
16753 check new variable if readonly.
16754 (check_dbra_loop): Chdeck unknown_constant_address_altered.
16756 * cse.c (canon_hash, case MEM): Do not record if BLKmode.
16757 (addr_affects_sp_p): Removed from note_mem_written and only
16758 define #ifdef AUTO_INC_DEC.
16760 * alpha.c (input_operand, case ADDRESSOF): Treat as REG.
16762 * regclass.c (record_reg_classes): Properly handle register move
16765 * varasm.c (initializer_constant_valid_p, case MINUS_EXPR):
16766 Don't think valid if both operands are invalid.
16767 (struct constant_descriptor): New field RTL.
16768 (mark_const_hash_entry): Mark it.
16769 (record_constant{,_rtx}): Initialize it.
16770 (output_constant_def): Allocate RTL in permanent obstack and
16772 ({record,compare}_constant_1): Modes must match for
16773 CONSTRUCTOR of ARRAY_TYPE.
16775 * c-common.h (initializer_constant_valid_p): Delete decl from here.
16776 * output.h (initializer_constant_valid_p): Move decl to here.
16777 * c-common.c (initializer_constant_valid_p): Delete function from here.
16778 * varasm.c (initializer_constant_valid_p): Move function to here.
16780 * tree.h (STRIP_SIGN_NOPS): New macro.
16781 * fold-const.c (optimize_minmax_comparison): New function.
16782 (invert_truthvalue, case WITH_RECORD_EXPR): New case.
16783 (fold): Use STRIP_SIGN_NOPS instead of STRIP_TYPE_NOPS.
16784 (fold, case EQ_EXPR): Call optimize_minmax_comparison and add
16785 cases with ABS_EXPR, NEGATE_EXPR, PLUS_EXPR, MINUS_EXPR, and
16786 widening conversions.
16787 (fold, case LE_EXPR): Rework changing unsigned to signed comparisons
16788 to look at size of mode, not precision of type; also add missing cases.
16789 (optimize_bit_field_compare, decode_field_reference): Don't try to
16790 optimize COMPONENT_REF of a PLACEHOLDER_EXPR.
16792 * dwarf2out.c (ctype.h): Include.
16793 (dwarf2out_set_demangle_name_func): New function.
16794 (size_of_line_info): Deleted.
16795 (output_line_info): Compute size of line info table from difference
16797 (base_type_die, add_name_attribute): Call demangle function, if any.
16798 (field_byte_offset): Use bits per word for variable length fields.
16799 (gen_array_type_die): Add array name.
16800 (gen_subprogram_die): Ignore DECL_INLINE if -fno-inline.
16801 (dwarf2out_add_library_unit_info): New function.
16803 * explow.c (set_stack_check_libfunc): New function.
16804 (stack_check_libfunc): New static variable.
16805 (probe_stack_range): Allow front-end to set up a libfunc to call.
16807 * combine.c (simplify_comparison): When making comparison in wider
16808 mode, check for having commuted an AND and a SUBREG.
16809 (contains_muldiv): New function.
16810 (try_combine): Call it when dividing a PARALLEL.
16811 (simplify_rtx, case TRUNCATE): Don't remove for umulsi3_highpart.
16812 (simplify_comparison, case ASHIFTRT): Recognize sign-extension of
16814 (record_value_for_reg): If TEM is a binary operation with two CLOBBERs,
16815 use one of the CLOBBERs instead.
16816 (if_then_else_cond): If comparing against zero, just return thing
16819 * optabs.c (expand_abs): If machine has MAX, ABS (x) is MAX (x, -x).
16820 Don't generate shifts and subtract if have conditional arithmetic.
16822 * rtl.h (delete_barrier): New declaration.
16823 * jump.c (jump_optimize): Set up to handle conditional call.
16824 In conditional arithmetic case, handle CALL_INSN followed by a BARRIER.
16825 (delete_barrier): New function.
16827 * rtl.c (read_rtx): Call fatal if bad RTL code; check for bad mode.
16829 * recog.c (nonmemory_operand): Accept ADDRESSOF.
16831 * tree.c (build_type_attribute_variant): Push to obstack of
16832 ttype around type_hash_canon call.
16834 * expr.c (placeholder_list): Move decl to file scope.
16835 (expand_expr): Don't force access to volatile just because its
16837 If ignoring reference operations, just expand the operands.
16838 (expand_expr, case COMPONENT_REF): Propagate
16839 EXPAND_CONST_ADDRESS to recursive call when expanding inner.
16840 Refine test for using bitfield operations vs pointer punning.
16841 (expand_expr, case CONVERT_EXPR): If converting to
16842 BLKmode UNION_TYPE from BLKmode, just return inner object.
16843 Use proper mode in store_field call.
16844 Properly set sizes of object to store and total size in store_field
16845 call for convert to union.
16846 (expand_expr, case ARRAY_REF): If OP0 is in a register, put it in
16847 memory (like for ADDR_EXPR). Also, don't put constant in register if
16848 we'll want it in memory.
16849 (readonly_fields_p): New function.
16850 (expand_expr, case INDIRECT_REF): Call it if LHS.
16851 (expand_assignment): Handle a RESULT_DECL where
16852 DECL_RTL is a PARALLEL.
16853 (do_jump, case WITH_RECORD_EXPR): New case.
16854 (get_inner_reference): Always go inside a CONVERT_EXPR
16855 and NOP_EXPR if both modes are the same.
16856 (store_field): Use bitfield operations if size of bitsize is not same
16857 as size of RHS's type.
16858 Check for bitpos not a multiple of alignment in BLKmode case.
16859 Do block move in largest possible alignment.
16860 (store_constructor): Set BITSIZE to -1 for variable size and properly
16861 in case of array of BLKmode.
16862 (expand_expr_unaligned): New function.
16863 (do_compare_and_jump): Call it.
16865 * mips/iris5.h (SWITCHES_NEED_SPACES): New macro.
16866 * collect2.c (main): Only allow -ofoo if SWITCHES_NEED_SPACES
16867 does not include 'o'.
16869 * function.c (instantiate_virtual_regs_1, case SET): Handle case where
16870 both SET_DEST and SET_SRC reference a virtual register.
16871 (gen_mem_addressof): Copy RTX_UNCHANGING_P from new REG to old REG.
16873 * integrate.c (expand_inline_function): Handle case of setting
16874 virtual stack vars register (from built in setjmp); when parameter
16875 lives in memory, expand virtual_{stack_vars,incoming_args}_rtx early.
16876 (subst_constant): Add new parm, MEMONLY.
16877 (expand_inline_function, integrate_parm_decls): Pass new parm.
16878 (integrate_decl_tree): Likewise.
16879 (copy_rtx_and_substitute, case MEM): Do copy RTX_UNCHANGING_P.
16880 (try_constants): Call subst_constants twice, with MEMONLY 0 and 1.
16881 (copy_rtx_and_substitute, case SET): Add explicit calls to
16882 copy_rtx_and_substitute for both sides.
16884 * stmt.c (expand_asm_operands): Don't use TREE_STRING_LENGTH for
16886 (pushcase{,_range}): Convert to NOMINAL_TYPE after checking for
16887 within INDEX_TYPE, instead of before.
16888 (fixup_gotos): Use f->target_rtl, not the next insn,
16889 since latter may be from a later fixup.
16890 (expand_value_return): Correctly convert VAL when promoting function
16891 return; support RETURN_REG being a PARALLEL.
16892 (expand_return): When checking for result in regs and having
16893 cleanup, consider PARALLEL in DECL_RTL as being in regs.
16895 1999-10-28 21:27 -0700 Zack Weinberg <zack@bitmover.com>
16897 * cpplib.h (struct cpp_buffer: fname, nominal_fname,
16898 last_nominal_fname): Mark const.
16899 (struct include_hash: name, nshort, control_macro): Mark
16901 (struct macrodef: symnam): Mark const.
16902 (struct if_stack: fname): Mark const.
16903 (is_idchar, is_idstart, is_hor_space, trigraph_table): Delete.
16904 (IStable): New character-syntax array which encompasses all
16905 the old is_foo arrays.
16906 (is_idchar, is_numchar, is_idstart, is_numstart, is_hspace,
16907 is_space): New macros for interrogating IStable.
16908 (check_macro_name): Kill last argument. All callers changed.
16910 * cppinit.c (initialize_char_syntax): Delete.
16911 (is_idchar, is_idstart, is_hor_space, is_space,
16912 trigraph_table): Delete.
16913 (IStable): New. Initialize with clever macros to avoid
16914 information duplication.
16915 (builtin_array): Table of builtins to get rid of explicit list
16916 in initialize_builtins.
16917 (initialize_builtins): Use builtins_array.
16918 (cpp_start_read): Call init_IStable, and set IStable['$'] if
16919 opts->dollars_in_ident.
16921 * cppexp.c: Change all refs to is_xyz[] arrays to use new
16923 (cpp_parse_expr): Avoid 'format string is not constant'
16924 warning. Use ISGRAPH to identify printable chars.
16925 * cppfiles.c: Change all refs to is_xyz[] arrays to use new
16927 (read_and_prescan): Map trigraphs to chars with open-coded
16928 if-else-if-... sequence, not a lookup table.
16929 * cpphash.c: Change all refs to is_xyz[] arrays to use new
16931 * cpplib.c: Change all refs to is_xyz[] arrays to use new
16932 is_xyz() macros. Kill SKIP_ALL_WHITE_SPACE (unused).
16933 (check_macro_name): Remove ability to report an invalid
16934 assertion name, which is never used.
16935 (do_line): Constify a couple of char *'s.
16936 * cppmain.c (main): Call cpp_cleanup before returning.
16938 Thu Oct 28 21:16:35 1999 Mark Mitchell <mark@codesourcery.com>
16940 * ggc.h (struct ggc_statistics): New type.
16941 (ggc_get_size): New function.
16942 (ggc_print_statistics): Likewise.
16943 * ggc-common.c (ggc_stats): New variable.
16944 (ggc_mark_rtx_children): Keep statistics.
16945 (ggc_mark_tree_children): Likewise.
16946 (ggc_print_statistics): New function.
16947 * ggc-page.c (struct globals): Add bytes_mapped field.
16948 (alloc_anon): Update it.
16949 (release_pages): Likewise.
16950 (ggc_get_size): New function.
16951 (ggc_page_print_statistics): New function.
16952 * ggc-simple.c (ggc_get_size): New function.
16954 Fri Oct 29 06:32:44 1999 Geoffrey Keating <geoffk@cygnus.com>
16956 * flow.c (propagate_block): When the last reference to a label
16957 before an ADDR_VEC is deleted because the reference is a dead
16958 store, delete the ADDR_VEC.
16960 Thu Oct 28 12:28:50 1999 Richard Henderson <rth@cygnus.com>
16962 * resource.c (find_free_register): Don't use the frame pointer
16963 if frame_pointer_needed.
16965 Thu Oct 28 10:02:00 1999 Jim Wilson <wilson@cygnus.com>
16967 * config/mips/mips.c (mips_va_arg): Delete gen_jump as emit_jump arg.
16968 (function_arg_pass_by_reference): Check for a NULL pointer in cum.
16970 * config/i960/i960.c (i960_va_start): New locals base, num.
16971 Use INDIRECT_REF instead of ARRAY_REF on valist.
16972 (i960_va_arg): Use INDIRECT_REF instead of ARRAY_REF on valist.
16974 Thu Oct 28 09:45:48 1999 Mark Mitchell <mark@codesourcery.com>
16976 * gcse.c (delete_null_pointer_checks): Fix typo in previous change.
16978 Thu Oct 28 03:37:50 1999 Peter Gerwinski <peter@gerwinski.de>
16980 * tree.def (PLACEHOLDER_EXPR): Update comments.
16982 Thu Oct 28 06:47:32 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
16984 * c-common.c (check_format_info): Avoid non-literal format string
16985 warnings when `first_arg_num' is zero.
16987 Thu Oct 28 12:28:48 1999 Bernd Schmidt <bernds@cygnus.co.uk>
16989 * rtl.texi: Delete explicit Prev, Up and Next entries in "@node"s.
16991 Thu Oct 28 11:05:13 1999 Richard Earnshaw <rearnsha@arm.com>
16993 * arm.md (casesi_insn): Add a clobber of the condition code
16996 Mon Oct 18 21:16:06 1999 Fred Fish <fnf@be.com>
16998 * tm.texi (CC1PLUS_SPEC): Make it clear in the docs that CC1_SPEC is
16999 used by both cc1 and cc1plus.
17001 Thu Oct 28 10:00:48 1999 Nick Clifton <nickc@cygnus.com>
17003 * config/arm/arm.c: Initialise arm_structure_size_boundary to
17004 DEFAULT_STRUCTURE_SIZE_BOUNDARY.
17005 * config/arm/arm.h (DEFAULT_STRUCTURE_SIZE_BOUNDARY): Define
17006 to the value 32 if it has not already been defined.
17007 * config/arm/netbsd.h (DEFAULT_STRUCTURE_SIZE_BOUNDARY):
17008 Override definition in arm.h with a value of 8.
17010 Thu Oct 28 03:12:02 1999 David Starner <dstarner98@aasaa.ofe.org>
17012 * c-pragma.c (push_alignment): Don't check the return value
17015 Thu Oct 28 03:08:38 1999 Matteo Frigo <athena@fftw.org>
17017 * sparc.h (ADJUST_COST): Fix thinko.
17019 Thu Oct 28 02:44:03 1999 Glen Nakamura <glen.nakamura@usa.net>
17021 * cccp.c (rescan): Fixed obp pointer handling around call to
17022 check_expand subroutine.
17024 Thu Oct 28 02:15:22 1999 Jeffrey A Law (law@cygnus.com)
17026 * gcse.c (delete_null_pointer_checks): Only record non-null info
17027 for pseudos when examining stores.
17029 * arm.md (adddi3, adddi_sesidi_di, adddi_sesidi_di): Add
17030 splitters for these patterns. Use "#" for output templates.
17031 (addsi3_carryin_shift): New pattern.
17033 Thu Oct 28 10:20:02 1999 Geoffrey Keating <geoffk@cygnus.com>
17035 * config/rs6000/rs6000.md (movsf): Don't convert a SUBREG
17036 of the function return register into a plain REG until
17037 after function inlining is done.
17039 Wed Oct 27 15:21:46 1999 Richard Henderson <rth@cygnus.com>
17041 * jump.c (jump_optimize_1): If we did cross-jumping, and
17042 the data will matter, rebuild the CFG.
17043 * reg-stack.c (reg_to_stack): Only (re)build the CFG if
17044 not optimizing. Don't run shorten_branches.
17045 * toplev.c (rest_of_compilation): Run shorten_branches after
17048 Wed Oct 27 12:33:40 1999 Mark Mitchell <mark@codesourcery.com>
17050 * rtl.h (note_stores): Add additional paramter.
17051 * rtlanal.c (reg_set_p_1): Take additional paramter.
17052 (reg_set_last_1): Likewise.
17053 (reg_set_p): Adjust call to note_stores.
17054 (reg_set_last): Likewise.
17055 (note_stores): Pass data parameter to worker function.
17056 * alias.c (record_set): Take additional parameter.
17057 (init_alias_analysis): Pass it.
17058 * caller-save.c (mark_set_regs): Take additional parameter.
17059 (save_call_clobbered_regs): Pass NULL to note_stores.
17060 * combine.c (set_nonzero_bits_and_sign_copies): Take additional
17062 (record_dead_and_set_regs_1): Likewise.
17063 (reg_dead_at_p_1): Likewise.
17064 (combine_instructions): Adjust calls to note_stores.
17065 (try_combine): Likewise.
17066 (record_dead_insn): Remove.
17067 (record_dead_and_set_regs): Adjust calls to note_stores.
17068 (reg_dead_at_p): Likewise.
17069 * cse.c (invalidate_skipped_set): Take additional parameter.
17070 (cse_check_loop_start): Likewise.
17071 (cse_check_loop_start_value): Remove.
17072 (cse_set_around_loop): Adjust calls to note_stores.
17073 * flow.c (notice_stack_pointer_modification): Take additional
17074 parameter. Remove duplicate declaration.
17075 (record_volatile_insns): Adjust calls to note_stores.
17076 * gcse.c (record_set_info): Take additional parameter.
17077 (record_last_set_info): Likewise.
17078 (invalidate_nonnull_info): Likewise.
17079 (record_set_insn): Remove.
17080 (compute_sets): Adjust calls to note_stores.
17081 (last_set_insn): Remove.
17082 (compute_hash_table): Adjust calls to note_stores.
17083 (insert_insn_end_bb): Likewise.
17084 (delete_null_pointer_checks): Likewise.
17085 * global.c (mark_reg_store): Take additional parameter.
17086 (mark_reg_clobber): Likewise.
17087 (reg_becomes_live): Likewise.
17088 (global_conflicts): Adjust calls to note_stores.
17089 (build_insn_chain): Likewise.
17090 * integrate.c (note_modified_parmregs): Take additional parameter.
17091 (mark_stores): Likewise. Make it static.
17092 (save_for_inline_nocopy): Adjust calls to note_stores.
17093 (try_constants): Likewise.
17094 * integrate.h (mark_stores): Remove declaration.
17095 * jump.c (mark_modified_reg): Take additional parameter.
17096 (thread_jumps): Adjust calls to note_stores.
17097 * local-alloc.c (validate_equiv_mem_from_store): Take additional
17099 (no_equiv): Likewise.
17100 (reg_is_set): Likewise.
17101 (validate_equiv_mem): Adjust calls to note_stores.
17102 (update_equiv_regs): Likewise.
17103 (block_alloc): Likewise.
17104 * loop.c (note_set_pseudo_multiple_uses_retval): Remove.
17105 (note_addr_stored): Take additional parameter.
17106 (note_set_pseudo_multiple_uses): Likewise.
17107 (record_initial): Likewise.
17108 (prescan_loop): Adjust calls to note_stores.
17109 (strength_reduce): Likewise.
17110 (check_dbra_loop): Likewise.
17111 * regmove.c (flags_set_1): Take additional paramter.
17112 (mark_flags_life_zones): Adjust calls to note_stores.
17113 * reload1.c (mark_not_eliminable): Take additional parameter.
17114 (forget_old_reloads_1): Likewise.
17115 (reload_cse_invalidate_rtx): Likewise.
17116 (reload_cse_check_clobber): Likewise.
17117 (reload_combine_note_store): Likewise.
17118 (move2add_note_store): Likewise.
17119 (reload): Adjust calls to note_stores.
17120 (reload_as_needed): Likewise.
17121 (emit_reload_insns): Likewise.
17122 (reload_cse_regs_1): Likewise.
17123 (reload_cse_record_set): Adjust calls to reload_cse_invalidate_rtx.
17124 (reload_combine): Adjust calls to note_stores.
17125 * resource.c (update_live_status): Take additional paramter.
17126 (mark_target_live_regs): Adjust calls to note_stores.
17127 * stupid.c (find_clobbered_regs): Take additional parameter.
17128 (stupid_life_analysis): Adjust calls to note_stores.
17130 Wed Oct 27 19:26:12 1999 Nick Clifton <nickc@cygnus.com>
17132 * config/arm/coff.h (STRUCTURE_SIZE_BOUNDARY): Delete
17135 * config/arm/elf.h (STRUCTURE_SIZE_BOUNDARY): Delete
17138 * config/arm/arm.h (STRUCTURE_SIZE_BOUNDARY): Define in terms
17139 of the variable arm_structure_size_boundary.
17141 Wed Oct 27 02:05:58 1999 Mark P. Mitchell <mark@codesourcery.com>
17143 * alias.c (init_alias_analysis): Allocate reg_known_value and
17144 reg_known_equiv_p on the heap. Likewise for new_reg_base_value
17146 (end_alias_analysis): Free reg_known_value and reg_known_equiv_p.
17147 * cse.c (cse_main): Call end_alias_analysis.
17148 * haifa-sched.c (schedule_insns): Likewise.
17149 * local-alloc. (update_equiv_regs): Likewise.
17150 * reload1.c (reload_cse_regs): Likewise.
17152 Wed Oct 27 01:49:17 1999 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
17154 * sparc/sparc.c (sparc_override_options): Clear MASK_FPU_SET.
17155 * sparc/sparc.h (TARGET_SWITCHES): Add "fpu" entry for reverse
17156 mapping from MASK_FPU.
17158 Wed Oct 27 01:42:26 1999 Scott Christley <scottc@net-community.com>
17160 * sparc.md (call): Don't bound structure return size to 0xfff.
17162 Wed Oct 27 00:56:59 1999 Richard Henderson <rth@cygnus.com>
17164 * resource.c (mark_target_live_regs): Check that the target
17165 insn wasn't created after compute_bb_for_insn.
17167 Tue Oct 26 23:15:03 1999 Mark Mitchell <mark@codesourcery.com>
17169 * ggc-page.c (poison_pages): Don't be overzealous.
17171 Tue Oct 26 23:29:18 1999 Jeffrey A Law (law@cygnus.com)
17173 * alias.c: Update comments for ADDRESS.
17174 (nonlocal_reference_p): Look inside the ADDRESS to determine if
17175 it is a local memory reference.
17177 * c-typeck.c (build_function_call): Check that the built-in
17178 function is of class BUILT_IN_NORMAL before trying to recongize
17179 it as BUILT_IN_ABS.
17180 * calls.c (calls_function_1): Similarly for BUILT_IN_ALLOCA.
17181 * stmt.c (expand_end_cae): Similarly for BUILT_IN_CLASSIFY_TYPE.
17183 Wed Oct 27 00:14:13 1999 Robert Lipe <robertlipe@usa.net>
17185 * gcse.c (expr_reaches_here_p): Use xcalloc and explit free instead
17187 (pre_gcse): Likewise.
17188 (hoist_expr_reaches_here_p): Likewise.
17189 (hoist_code): Likewise.
17190 (pre_expr_reaches_here_p): Replace alloca with xcalloc. Move core
17192 (pre_expr_reaches_here_p_work): ... here.
17193 (expr_reaches_here_p): Replace alloca with xcalloc. Move core
17195 (expr_reaches_here_p_work): ... here.
17197 Tue Oct 26 20:42:45 1999 Richard Henderson <rth@cygnus.com>
17199 * resource.c (find_basic_block): Delete.
17200 (mark_target_live_regs, incr_ticks_for_insn): Use BLOCK_NUM instead.
17201 (init_resource_info): Call compute_bb_for_insn.
17203 Tue Oct 26 20:21:02 1999 Richard Henderson <rth@cygnus.com>
17205 * flow.c (merge_blocks_move_predecessor_nojumps): Cope
17206 with already adjacent blocks, but no fallthru.
17207 (merge_blocks_move_successor_nojumps): Simplify.
17208 (debug_flow_info): New.
17210 * toplev.c (rest_of_compilation): Open jump1 dump file before
17211 jump and close after, as opposed to just using dump_rtl.
17213 Wed Oct 27 03:09:23 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
17215 * reload.h (earlyclobber_operand_p): Declare.
17216 * reload.c (earlyclobber_operand_p): Don't declare. No longer static.
17217 * reload1.c (reload_reg_free_for_value_p): RELOAD_OTHER reloads with
17218 an earlyclobbered output conflict with RELOAD_INPUT reloads - handle
17219 case where the RELOAD_OTHER reload is new. Use earlyclobber_operand_p.
17221 Tue Oct 26 18:23:38 1999 Jan Hubicka <hubicka@freesoft.cz>
17222 Richard Henderson <rth@cygnus.com>
17224 * emit-rtl.c (emit_block_insn_before): New.
17225 (emit_block_insn_after): New.
17226 * basic-block.h: Declare them.
17228 * bitmap.h: Protect from multiple inclusion.
17230 * recog.c (scratch_operand): Handle VOIDmode correctly.
17232 * rtl.h (JUMP_CROSS_JUMP_DEATH_MATTERS): New.
17234 * builtins.c (expand_builtin_apply_args_1): Remove STACK_REGS hack.
17235 * function.c (assign_parms): Likewise.
17236 * global.c (global_conflicts): Clarify STACK_REGS commentary.
17238 * reg-stack.c (max_uid): Remove.
17239 (blocks, block_begin, block_end, block_drops_in): Remove.
17240 (block_stack_in, block_out_reg_set, block_number): Remove.
17241 (struct block_info_def, BLOCK_INFO): New.
17242 (enum emit_where): New.
17243 (current_block): New.
17244 (BLOCK_NUM): Remove.
17245 (mark_regs_pat, record_label_references): Remove.
17246 (record_reg_life_pat, record_reg_life, find_blocks): Remove.
17248 (goto_block_pat, print_blocks, dump_stack_info): Remove.
17249 (reg_to_stack): Simplified test for existance of fp code. Use
17250 flow.c code. Call shorten_branches after cross-jump opt.
17251 (check_asm_stack_operands): Renamed from record_asm_reg_life.
17252 Return false if the asm doesn't use stack regs. Don't do life
17253 analysis on the asm.
17254 (emit_pop_insn): Replace function pointer arg `when' with
17255 enum `where'. Update all callers.
17256 (change_stack): Likewise. Update basic block end.
17257 (emit_swap_insn): Use current_block->head to limit reverse search
17258 for start of block. Use emit_block_insn_after.
17259 (subst_stack_regs_pat): Handle USE and CLOBBER patterns.
17260 (subst_asm_stack_regs): Use check_asm_stack_operands. Use direct
17261 structure assignment instead of bcopy.
17262 (print_stack): New.
17263 (convert_regs_entry, convert_regs_exit): New.
17264 (convert_regs_1, convert_regs_2): Split out from convert_regs.
17265 Work on basic blocks and the CFG.
17266 (convert_regs): Use them.
17268 * i386.c (output_fix_trunc): Remove code for DImode input operand
17269 not at top-of-stack.
17270 * i386.c (fix_truncdfdi2, fix_truncsfdi2): Use scratch with
17272 (fix_truncdi_1): Allow any mode scratch.
17274 Tue Oct 26 13:30:35 1999 Richard Henderson <rth@cygnus.com>
17276 * alpha.h (TARGET_MEM_FUNCTIONS): Define here.
17277 * linux.h, netbsd.h, vms.h: Not here.
17279 1999-10-26 Gavin Romig-Koch <gavin@cygnus.com>
17281 * config/mips/mips.h (ISA_HAS_64BIT_REGS,ISA_HAS_BRANCHLIKELY,
17282 ISA_HAS_FP4,ISA_HAS_CONDMOVE): New.
17283 (GENERATE_BRANCHLIKELY,HAVE_SQRT_P,
17284 CONDITIONAL_REGISTER_USEAGE): Use them.
17285 * config/mips/mips.c (mips_move_1word,mips_move_2words,
17286 gen_conditional_branch,override_options) : Use them.
17287 * config/mips/mips.md : Use them.
17289 Tue Oct 26 13:09:23 1999 Richard Henderson <rth@cygnus.com>
17291 * i386.md (zero_extendqihi2): Use SImode register name with andl.
17293 Tue Oct 26 12:35:38 1999 Richard Henderson <rth@cygnus.com>
17295 * integrate.c (function_cannot_inline_p): Don't allow inlining
17298 Tue Oct 26 14:10:23 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
17300 * c-parse.in (cast_expr): Constify.
17302 * cccp.c (special_symbol): Likewise.
17304 * cse.c (hash_cse_reg_info, cse_reg_info_equal_p): Likewise.
17306 * dwarf2out.c (base_type_die): Likewise.
17308 * global.c (allocno_compare): Likewise.
17310 * local-alloc.c (qty_compare_1, qty_sugg_compare_1): Likewise.
17312 * regclass.c (fix_register): Likewise.
17314 * rtl.h (fix_register): Likewise.
17316 * stupid.c (stupid_reg_compare): Likewise.
17318 * toplev.c (decode_f_option): Likewise.
17320 * tree.c (build_complex_type): Likewise.
17322 Tue Oct 26 18:35:25 1999 Richard Earnshaw <rearnsha@arm.com>
17324 * output.h: Don't unnecessarily conditionalize prototypes on TREE_CODE.
17326 Tue Oct 26 15:42:56 1999 Bernd Schmidt <bernds@cygnus.co.uk>
17328 * reload.c (find_reloads): Compute mode and nregs fields of all
17330 * reload1.c (calculate_needs_all_insns): Simplify a bit.
17331 (calculate_needs): Use precomputed mode/nregs values.
17332 (allocate_reload_reg): Likewise.
17334 (failed_reload, set_reload_reg): ... new functions.
17335 (choose_reload_regs_init): New function, mostly broken out from...
17336 (choose_reload_regs): ... here. Lose all the save_xxx nonsense.
17337 Also lose one #if 0 block.
17339 Tue Oct 26 02:48:32 1999 Marc Espie <espie@cvs.openbsd.org>
17341 * Makefile.in (AR_FOR_TARGET, RANLIB_FOR_TARGET): Fix target name
17344 Tue Oct 26 01:27:32 1999 Mark Mitchell <mark@codesourcery.com>
17346 * tree.h (BLOCK_TYPE_TAGS): Remove.
17347 (BLOCK_END_NOTE): Likewise.
17348 (BLOCK_LIVE_RANGE_FLAG): Likewise.
17349 (BLOCK_LIVE_RANGE_START): Likewise.
17350 (BLOCK_LIVE_RANGE_END): Likewise.
17351 (tree_block): Remove live_range_flag, live_range_var_flag, and
17352 type_tags. Remove end_note, live_range_start, and live_range_end.
17353 (remember_end_note): Remove prototype.
17354 * tree.c (build_block): Don't set BLOCK_TYPE_TAGS.
17355 * c-decl.c (poplevel): Don't set BLOCK_TYPE_TAGS or call
17357 * ggc-common.c (ggc_mark_tree_children): Don't mark
17358 BLOCK_TYPE_TAGS or BLOCK_END_NOTE.
17359 * integrate.c (adjust_copied_decl_tree): Remove.
17360 * print-tree.c (print_node): Don't print BLOCK_TYPE_TAGS.
17361 * stmt.c (last_block_end_note): Remove.
17362 (init_stmt): Don't add a GC root for it.
17363 (expand_fixup): Don't set it.
17364 (remember_end_note): Remove.
17365 (expand_end_bindings): Don't set last_block_end_note.
17367 Tue Oct 26 00:41:54 1999 Bernd Schmidt <bernds@cygnus.co.uk>
17369 * reload1.c (reload_reg_free_for_value_p): Show
17370 RELOAD_FOR_OTHER_ADDRESS reloads can conflict with RELOAD_OTHER
17373 Mon Oct 25 23:54:45 1999 Geoff Keating <geoffk@cygnus.com>
17375 * expmed.c (extract_bit_field): Allow for the case of non-integer
17376 objects that are smaller than a word (like SFmode on a 64-bit
17379 * loop.c (basic_induction_var): A non-integer variable which is
17380 being set by a paradoxical subreg is probably not a biv.
17382 1999-10-25 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
17384 * prefix.c (translate_name) Check for empty prefix string.
17386 Mon Oct 25 23:10:45 1999 Andreas Schwab <schwab@suse.de>
17388 * Makefile.in (CPP_CROSS_NAME): New variable.
17389 (install-cpp): Use it instead of CPP_INSTALL_NAME for the cross
17391 (uninstall-cpp): Use CPP_INSTALL_NAME and CPP_CROSS_NAME for the
17392 names of the files to be uninstalled.
17394 Mon Oct 25 23:03:09 1999 Jeffrey A Law (law@cygnus.com)
17396 * collect2.c (IS_DIR_SEPARATOR): Define.
17397 (prefix_from_string): Use IS_DIR_SEPARATOR and DIR_SEPARATOR.
17399 * som.h (ASM_DECLARE_FUNCTION_NAME): Set PRIV_LEV for static
17402 * haifa-sched.c (add_dependence): Update the true dependency
17403 cache the first time we add a true dependence to the LOG_LINKS chain.
17405 Mon Oct 25 22:27:40 1999 Jim Kingdon <http://developer.redhat.com/>
17407 * fold-const.c (fold): Fix comment.
17409 Mon Oct 25 22:49:34 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
17411 * dbxout.c (lastfile, cwd, dbxout_type_method_1,
17412 dbxout_symbol_location, dbxout_symbol_name, dbxout_init,
17413 dbxout_start_new_source_file, dbxout_source_file,
17414 dbxout_source_line, dbxout_finish, dbxout_type_fields,
17415 dbxout_type_methods, dbxout_symbol, dbxout_prepare_symbol):
17417 (dbxout_types, dbxout_args, dbxout_symbol): Delete prototypes.
17418 (dbxout_symbol): Mark parameter `local' with ATTRIBUTE_UNUSED.
17419 (dbxout_block): Initialize variable `blocknum'.
17421 * dbxout.h (dbxout_init, dbxout_finish,
17422 dbxout_start_new_source_file, dbxout_source_file, dbxout_types,
17423 dbxout_args, dbxout_source_line): Constify a char*.
17425 * dwarfout.c (dwarf_tag_name, dwarf_attr_name,
17426 dwarf_stack_op_name, dwarf_typemod_name, dwarf_fmt_byte_name,
17427 dwarf_fund_type_name, name_attribute, stmt_list_attribute,
17428 low_pc_attribute, high_pc_attribute, body_begin_attribute,
17429 body_end_attribute, comp_dir_attribute, sf_names_attribute,
17430 src_info_attribute, mac_info_attribute, producer_attribute,
17431 lookup_filename, generate_macinfo_entry, fundamental_type_code,
17432 dwarfout_line, dwarfout_start_new_source_file, dwarfout_define,
17433 dwarfout_undef): Constify a char*.
17434 (add_incomplete_type, retry_incomplete_types): Add prototypes.
17436 * dwarfout.h (dwarfout_define, dwarfout_undef,
17437 dwarfout_start_new_source_file, dwarfout_line): Constify a char*.
17439 1999-10-25 Gavin Romig-Koch <gavin@cygnus.com>
17441 * config/mips/mips.h (MIPS_ISA_DEFAULT): Insure it's defined.
17442 (MULTILIB_ISA_DEFAULT): New.
17443 (MULTILIB_DEFAULTS): Use it.
17444 * config/mips/mips.c (): Remove the now unnecessary definition
17445 of MIPS_ISA_DEFAULT.
17446 * config/mips/elf64.h (MULTILIB_DEFAULTS): Remove the now
17447 unnecessary definition.
17449 Mon Oct 25 22:08:35 1999 Richard Earnshaw (rearnsha@arm.com)
17451 * arm.md (pic_load_addr): Add constraints to operand 1.
17453 1999-10-25 Bruce Korb <autogen@linuxbox.com>
17455 * fixinc/genfixes: Provide a means for specifying -D options to
17458 Mon Oct 25 00:42:35 1999 Jeffrey A Law (law@cygnus.com)
17460 * arm.c (arm_override_options): Correct initialization of
17461 arm_fast_multiply, arm_arch4, arm_arch5, arm_ld_sched,
17462 arm_is_strong, and arm_is_6_or_7.
17464 * loop.c (note_set_pseudo_multiple_uses_retval): New variable.
17465 (note_set_pseudo_multiple_uses): New function.
17466 (check_dbra_loop): Use not_set_pseudo_multiple_uses to determine
17467 if a pseudo set in the loop exit is used elsewhere.
17469 Sun Oct 24 20:52:40 1999 Mark Mitchell <mark@codesourcery.com>
17471 * i386.md (mulsi3): Tweak to work with SCO OSR5 COFF assembler.
17473 Sun Oct 24 21:02:46 1999 Richard Henderson <rth@cygnus.com>
17475 * i386.md (*lea_0): Collapse addsi_0, addsi_lea_[123] into
17476 a single load-address pattern.
17478 Sun Oct 24 19:33:24 1999 Mark P. Mitchell <mark@codesourcery.com>
17480 * haifa-sched.c (schedule_insns): Don't assign LUIDs differently
17481 depending on whether or not line-number notes are present.
17483 Sun Oct 24 20:29:59 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
17485 * cccp.c (progname, file_buf, default_include, include_file,
17486 macrodef, definition, hashval, wchar_type, user_label_prefix,
17487 directive, out_fname, if_stack, safe_write, index0, get_lintcmd,
17488 expand_to_temp_buffer, is_system_include, base_name,
17489 absolute_filename, read_name_map, open_include_file,
17490 record_control_macro, check_precompiled, check_preconditions,
17491 pcfinclude, pass_thru_directive, create_definition,
17492 check_macro_name, comp_def_part, collect_expansion,
17493 check_assertion, read_token_list, assertion_install,
17494 assertion_lookup, eval_if_expression, conditional_skip,
17495 validate_else, skip_quoted_string, quote_string, macarg1,
17496 error_from_errno, install, lookup, hashf, dump_defn_1,
17497 perror_with_name, pfatal_with_name, main, trigraph_pcp,
17498 check_white_space, rescan, handle_directive, monthnames,
17499 special_symbol, do_include, remap_include_file, write_output,
17500 arglist, do_assert, do_unassert, do_line, do_error, do_once,
17501 do_ident, do_sccs, do_xifdef, skip_if_group,
17502 output_line_directive, macroexpand, macarg, change_newlines,
17503 initialize_builtins, make_definition): Constify a char*.
17505 * pcp.h (stringdef): Likewise.
17507 Sun Oct 24 13:29:28 1999 Richard Henderson <rth@cygnus.com>
17509 * unroll.c (copy_loop_body): Examine SET_DEST of single_set
17512 Sun Oct 24 13:14:20 1999 Graham <grahams@rcp.co.uk>
17513 Richard Henderson <rth@cygnus.com>
17515 * alias.c: Include ggc.h.
17516 (reg_base_value, new_reg_base_value, reg_base_value_size): Make static.
17517 (record_set): Verify enough room in reg_base_value.
17518 (init_alias_analysis): Allocate reg_base_value with xcalloc.
17519 Register it as a GC root.
17520 (end_alias_analysis): Free reg_base_value. Remove it as a GC root.
17521 * Makefile.in (alias.o): Depend on ggc.h.
17523 * unroll.c (unroll_loop): Verify the insn before a barrier
17524 is a JUMP_INSN before checking JUMP_LABEL.
17526 Sun Oct 24 15:46:44 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
17528 * mips/bsd-5.h (ASM_OUTPUT_ASCII): Constify a char*.
17529 * mips/iris4.h (ASM_OUTPUT_ASCII): Likewise.
17530 * mips/mips-5.h (ASM_OUTPUT_ASCII): Likewise.
17531 * mips/mips.h (ASM_OUTPUT_ASCII): Likewise.
17532 * mips/svr3-5.h (ASM_OUTPUT_ASCII): Likewise.
17533 * mips/svr4-5.h (ASM_OUTPUT_ASCII): Likewise.
17535 Sun Oct 24 15:35:43 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
17537 * output.h (ctors_section, dtors_section, bss_section): Prototype.
17539 * alpha/alpha-interix.h (text_section): Delete prototype.
17540 * alpha/elf.h (text_section): Likewise.
17541 * arm/linux-elf.h (text_section): Likewise.
17542 * arm/linux-telf.h (text_section): Likewise.
17543 * c4x/c4x.h (text_section): Likewise.
17544 * dsp16xx/dsp16xx.h (bss_section): Likewise.
17545 * elfos.h (text_section): Likewise.
17546 * i386/aix386ng.h (text_section): Likewise.
17547 * i386/i386-interix.h (text_section): Likewise.
17548 * i386/sco5.h (text_section): Likewise.
17549 * i386/svr3gas.h (text_section): Likewise.
17550 * nextstep.h (text_section): Likewise.
17551 * psos.h (text_section): Likewise.
17552 * ptx4.h (text_section): Likewise.
17553 * svr3.h (text_section): Likewise.
17554 * svr4.h (text_section, ctors_section, dtors_section): Likewise.
17556 Sun Oct 24 15:20:59 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
17558 * final.c (peephole): Delete prototype.
17560 * gcse.c (process_insert_insn, pre_edge_insert): Add prototypes.
17561 (pre_insert_copies): Remove unused variable `bb'.
17563 * genrecog.c (debug_decision_0, debug_decision_list, main): Add
17566 * output.h (peephole): Add prototype.
17568 Sun Oct 24 11:35:30 1999 Mark P. Mitchell <mark@codesourcery.com>
17570 * config/mips/iris6.h (SUBTARGET_ASM_OPTIMIZING_SPEC): Define to
17573 Sat Oct 23 21:13:00 1999 Mark Mitchell <mark@codesourcery.com>
17575 * integrate.c (integrate_decl_tree): Tweak setting of DECL_CONTEXT
17576 for inlined declarations.
17578 Fri Oct 22 18:05:43 1999 Jeffrey A Law (law@cygnus.com)
17580 * arm.c (logical_binary_operator): New fucntion.
17581 * arm.h (logical_binary_operator): Declare it.
17582 (PREDICATE_CODES): Handle logical_binary_operator.
17583 * arm.md (anddi3, anddi_zesidi_di, anddi_sesdi_di): Use "#" for
17584 output constraints. Add appropriate splitters.
17585 (anddi_notdi_di, anddi_notzesidi_di, anddi_notsesidi_di): Likewise.
17586 (iordi3, iordi_zesidi_di, iordi_sesidi_di): Likewise.
17587 (xordi3, xordi_zesidi_di, xordi_sesidi_di): Likewise.
17589 Fri Oct 22 23:46:50 1999 Bernd Schmidt <bernds@cygnus.co.uk>
17591 * genoutput.c (struct operand_data): New elt eliminable.
17592 (output_operand_data): Write it.
17593 (scan_operands): Set it for MATCH_OPERAND, clear for other matchers.
17594 (compare_operands): Take it into account.
17595 * recog.h (struct insn_operand_data): New elt eliminable.
17596 * reload1.c (check_eliminable_occurrences, elimination_effects): New
17598 (old_asm_operands_vec, new_asm_operands_vec): Delete.
17599 (eliminate_regs): Move code that detects changes to elimination
17600 target regs into new function elimination_effects.
17601 Delete one #if 0 block.
17602 Abort for USE, CLOBBER, ASM_OPERANDS and SET.
17603 (eliminate_regs_in_insn): Return immediately for USEs, CLOBBERs,
17604 ADDR_VECs, ADDR_DIFF_VECs and ASM_INPUTs.
17605 Only call eliminate_regs for real operands of the insn, not for parts
17606 of its structure or parts matched by things like match_operator.
17607 Use elimination_effects and check_eliminable_occurrences. Use
17608 copy_insn to duplicate the pattern when not in the final pass.
17610 Fri Oct 22 09:03:44 1999 Mark Mitchell <mark@codesourcery.com>
17612 * i386.md: Add missing `y' modifiers to uses of fst, fstp, fld,
17615 1999-10-22 Bruce Korb <autogen@linuxbox.com>
17617 * fixinc/README: document the "mach" machine matching test
17618 * fixinc/fixfixes.c: Implement the #else/#endif label fix
17619 * fixinc/fixtests.c: Implement the #else/#endif label test
17620 * fixinc/inclhack.def: utilize these tests and fixes
17621 * fixinc/inclhack.sh: regen
17622 * fixinc/fixincl.x: regen
17623 * fixinc/fixincl.sh: regen
17625 Thu Oct 21 20:37:19 1999 Jeffrey A Law (law@cygnus.com)
17627 * Makefile.in (cse.o): Depend on hashtab.h, not splay-tree.h. Also
17630 Thu Oct 21 20:30:19 1999 Matthias Klose <doko@debian.org>
17632 * gcc.1: Document exit codes.
17634 Thu Oct 21 12:49:05 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
17636 * calls.c: Include tm_p.h later, so everything we need is defined.
17637 * expr.c: Likewise.
17638 * function.c: Likewise.
17640 * except.c: Include tm_p.h.
17642 * sparc.c: Likewise.
17643 (dwarf2out_cfi_label): Don't prototype.
17644 (check_return_regs, epilogue_renumber,
17645 ultra_cmove_results_ready_p, ultra_fpmode_conflict_exists,
17646 ultra_find_type, ultra_build_types_avail, ultra_flush_pipeline,
17647 ultra_rescan_pipeline_state, set_extends, ultra_code_from_mask,
17648 ultra_schedule_insn): Add static prototype.
17649 (data_segment_operand, text_segment_operand): Call itself with the
17650 proper number of arguments.
17651 (sparc_flat_save_restore, sparc_v8plus_shift): Constify a char*.
17653 * sparc.h: Move all declarations to sparc-protos.h.
17654 (SELECT_RTX_SECTION): Pass a missing MODE argument to
17657 * sparc/sysv4.h (SELECT_RTX_SECTION): Likewise.
17659 * config/svr4.h (text_section, ctors_section, dtors_section): Add
17661 (ASM_OUTPUT_SECTION_NAME, UNIQUE_SECTION,
17662 ASM_FINISH_DECLARE_OBJECT, ASM_OUTPUT_LIMITED_STRING,
17663 ASM_OUTPUT_ASCII): Constify a char*.
17665 * sparc-protos.h: New file for sparc prototypes.
17667 Thu Oct 21 12:23:40 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
17669 * function.c (record_insns, contains): Always declare and define.
17670 (record_insns): Mark with ATTRIBUTE_UNUSED.
17672 Thu Oct 21 13:03:49 1999 Jonathan Larmour <jlarmour@cygnus.co.uk>
17674 * config/arm/telf.h (ASM_OUTPUT_SECTION_NAME): Add %nobits option
17675 to .section when outputting a .bss section to deal with multiple
17676 .bss input sections (as happens with -fdata-sections)
17677 Also output %progbits, not @progbits so the assembler doesn't treat as
17679 * config/arm/unknown-elf.h (ASM_OUTPUT_SECTION_NAME): Likewise
17681 * config/arm/lib1funcs.asm (_call_via_rX): Allow compilation of
17682 thumb parts even when building with non-thumb CPUs, by forcing
17685 Wed Oct 20 22:57:58 1999 Jeffrey A Law (law@cygnus.com)
17687 * sparc.md (movsf_const_intreg): If splitting, length must be > 1.
17688 (movdf_const_intreg_sp64): Similarly.
17690 * local-alloc.c (update_equiv_regs): Check the correct insn
17691 for pre-existing REG_EQUIV notes.
17693 Wed Oct 20 20:41:46 1999 Mark Mitchell <mark@codesourcery.com>
17695 * cse.c (cse_end_of_basic_block): Don't return the end of a basic
17696 block reached by a branch if we're not going to actually process
17699 Wed Oct 20 15:18:42 1999 Jim Wilson <wilson@cygnus.com>
17701 * integrate.c (integrate_decl_tree): Set DECL_CONTEXT to 0 if this is
17702 a local extern function declaration.
17704 Wed Oct 20 13:56:01 1999 Richard Henderson <rth@cygnus.com>
17706 * i386.c (ix86_expand_prologue): Properly wrap USE around
17707 reg for CALL_INSN_FUNCTION_USAGE.
17709 Thu Oct 14 18:51:37 1999 Andrew Haley <aph@cygnus.com>
17711 * config/mips/mips.md (movdf_internal1a): Allow floating-point
17712 move between GP_REGs.
17714 Wed Oct 20 15:36:11 1999 Andrew Haley <aph@cygnus.com>
17716 * config/arm/thumb.h (GO_IF_LEGITIMATE_ADDRESS): Take account of
17717 the mode size when finding out if an offset is legal.
17719 Wed Oct 20 06:26:58 1999 Richard Henderson <rth@cygnus.com>
17721 * basic-block.h (PROP_*): Move constants from ...
17722 * flow.c: ... here.
17723 (compute_bb_for_insn): Free the array before reallocating.
17724 (update_life_info): New arg PROP_FLAGS; pass on to propagate_block.
17725 (allocate_reg_life_data): Reset all reg variables collected by
17727 (get_block_head_tail): Don't convert from bb to block.
17728 (get_bb_head_tail): New. Update all callers of get_block_head_tail.
17729 (find_insn_reg_weight): Take block not bb.
17730 (schedule_block): Don't set block num for moved insns.
17731 (schedule_region): Don't update_life_info or find_insn_reg_weight.
17732 (schedule_insns): Do it here instead.
17733 * combine.c (combine_instructions): Invoke compute_bb_for_insn
17734 before update_life_info.
17735 * recog.c (split_all_insns, peephole2_optimize): Update for
17736 new arg to update_life_info.
17737 * rtlanal.c (remove_note): Cope with NULL note.
17738 * toplev.c (rest_of_compilation): Don't invoke recompute_reg_usage
17741 Wed Oct 20 10:46:41 1999 Richard Earnshaw (rearnsha@arm.com)
17743 * jump.c (jump_optimize_1): More accurately detect casesi insns.
17745 * flow.c (merge_blocks_move_predecessor_nojumps): Re-order the basic
17746 block records so that merge_blocks_nomove will clean up correctly.
17747 (split_edge): Handle casesi insns.
17749 * gcc-page.c: Try MAP_ANON if we don't have MAP_ANONYMOUS.
17751 Tue Oct 19 23:43:50 1999 Jeffrey A Law (law@cygnus.com)
17753 * pa.md (call, call_value): Do not emit a blockage after restoring
17756 Tue Oct 19 17:22:39 1999 Mark Mitchell <mark@codesourcery.com>
17758 * c-typeck.c (c_expand_asm_operands): Fix typo.
17760 Tue Oct 19 18:42:58 1999 Bernd Schmidt <bernds@cygnus.co.uk>
17762 * arm.c (fpu_rhs_operand): Verify modes.
17763 (fpu_add_operand): Likewise.
17764 (di_operand): Likewise.
17765 (soft_df_operand): Likewise.
17767 Tue Oct 19 15:26:11 1999 Richard Earnshaw (rearnsha@arm.com)
17769 * arm.c (arm_return_in_memory): APCS rules state that the elements
17770 of a structure returned in a register must be 'integer-like'.
17772 1999-10-19 Bruce Korb <autogen@linuxbox.com>
17774 * fixinc/Makefile.in: Change the generation rules to run `genfixes'
17775 in the source tree when the generated targets are out of date
17776 * fixinc/genfixes: Alter it to run individual fixes for make.
17777 * fixinc/README: rewrite
17778 * fixinc/inclhack.def: moved initial comments to README
17780 Tue Oct 19 14:01:34 1999 Nick Clifton <nickc@cygnus.com>
17782 * toplev.c (main): Do not generate an error message if an
17783 unrecognised command line switch is recognisable by another
17784 language. If extra_warnings are enabled, then generate a
17785 warning message instead.
17787 Tue Oct 19 11:41:12 1999 Mumit Khan <khan@xraylith.wisc.edu>
17789 * c-pragma.h (PRAGMA_INSERT_ATTRIBUTES): Delete macro.
17790 (insert_pack_attributes): Delete prototype.
17792 * c-pragma.c (default_alignment): New static variable.
17793 (push_alignment): Initialize to current effective alignment.
17794 (pop_alignment): Use to set new alignment.
17795 (insert_pack_attributes): Delete function.
17796 (handle_pragma_token): Set default_alignment as well each time
17797 a #pragma pack(<n>) is encountered.
17799 Tue Oct 19 02:03:00 1999 Jeffrey A Law (law@cygnus.com)
17801 * reg-stack.c (stack_result): Aggregates are not returned in
17804 Tue Oct 19 01:26:48 1999 Alasdair Baird <alasdair@wildcat.demon.co.uk>
17806 * fold-const.c (fold): Fix thinko in x+(-0) -> x transformation.
17808 Mon Oct 18 15:19:41 1999 Richard Henderson <rth@cygnus.com>
17810 * basic-block.h (set_block_num): Declare.
17811 * flow.c (update_life_info): Don't call compute_bb_for_insn
17812 or free_basic_block_vars.
17813 * haifa-sched.c (remove_dependence): Conditionalize on HAVE_cc0.
17814 (insn_orig_block): Remove.
17815 (INSN_BLOCK): Remove. Update all callers to use BLOCK_NUM.
17816 (schedule_block): Keep BLOCK_NUM up-to-date.
17817 (schedule_insns): Use compute_bb_for_insn.
17818 * recog.c (split_all_insns): Likewise.
17819 (peephole2_optimize): Likewise.
17821 Mon Oct 18 18:50:51 1999 Andreas Schwab <schwab@suse.de>
17823 * config/m68k/m68k.h (INITIAL_FRAME_POINTER_OFFSET): Add one word
17824 if the pic register is used.
17826 Mon Oct 18 02:38:46 1999 Bernd Schmidt <bernds@cygnus.co.uk>
17828 * c-decl.c (pushdecl): Use TYPE_CONTEXT rather than TREE_PERMANENT.
17829 (finish_decl): Duplicate test for TREE_ASM_WRITTEN in else branch of
17830 if that tests TREE_PERMANENT.
17832 Mon Oct 18 01:41:35 1999 Jeffrey A Law (law@cygnus.com)
17834 * cse.c (invalidate_for_call): Do not remove memory references from
17835 the table here. It's handled elsewhere.
17837 * haifa-sched.c (add_dependence): Protect references to the
17838 true dependency cache with #ifdef INSN_SCHEDULING.
17839 (remove_dependence): Similarly.
17841 * mn10200.md (outline_epilogue_jump): Embed a (return) to indicate
17842 to the cfg code that this is a return instruction.
17843 * mn10300.md (return_internal): Similarly.
17845 * combine.c (get_last_value): If the last set of a register
17846 is after subst_low_cuid, then we can not use it to determine
17847 the register's last value.
17849 Sun Oct 17 11:02:52 1999 Mark Mitchell <mark@codesourcery.com>
17851 * Makefile.in: Back out previous change.
17853 Sun Oct 17 15:22:50 1999 Jeffrey A Law (law@cygnus.com)
17855 * pa.c (move_operand): Reject (lo_sum (reg) (unspec ...)).
17857 * haifa-sched.c (add_dependence): Only check/update the cache
17859 (remove_dependence): Likewise.
17860 (schedule_insns): Only create the true_dependency_cache if the
17861 average number of instructions in a basic block is very large.
17863 Sun Oct 17 11:02:52 1999 Mark Mitchell <mark@codesourcery.com>
17865 * Makefile.in (ggc-common.o): Depend on genrtl.h.
17866 (ggc-simple.o): Likewise.
17867 (ggc-page.o): Likewise.
17869 Sun Oct 17 02:09:50 1999 Andrew MacLeod <amacleod@cygnus.com>
17871 * basic-block.h (pre_edge_lcm, pre_edge_rev_lcm, compute_available):
17872 Prototype for exported functions.
17873 (pre_lcm, pre_rev_lcm): Remove prototypes.
17874 * gcse.c (compute_ae_kill): Add ae_gen and ae_kill as parameters.
17875 (compute_available): Move to lcm.c, and change parameter order.
17876 (one_classic_gcse_pass): Call compute_ae_kill with parameters.
17877 (pre_insert, s_preds, s_succs, num_preds, num_succs): Delete.
17878 (gcse_main): No longer call compute_preds_succs. Rebuild the
17879 set table after reach pre pass.
17880 (pre_insert_map, pre_delete_map, edge_list): New.
17881 (alloc_pre_mem): Allocate edge vectors.
17882 (free_pre_mem): Delete edge vectors.
17883 (compute_pre_data): Call new edge based lcm routines.
17884 (process_insert_insn): New function.
17885 (insert_insn_end_bb): Use it.
17886 (pre_edge_insert): New function.
17887 (pre_insert_copy_insn): Formatting fixes. Update BLOCK_END as
17889 (pre_insert_copies): Revamp using new edge based lcm outputs.
17890 (pre_delete): Likewise.
17891 (one_pre_gcse_pass): Insert & remove fake edges to the exit
17893 (compute_code_hoist_vbeinout): New new edge based routines.
17894 * lcm.c: Remove all the old LCM functions. Replace with new ones
17895 that work with the new cfg datastructures and work with edges
17898 Sun Oct 17 00:44:17 1999 Bernd Schmidt <bernds@cygnus.co.uk>
17900 * reload.h (struct reload): Add new fields "mode" and "nregs".
17901 * reload1.c: Change all occurrences of reload_mode and reload_nregs
17902 to reference the "mode" and "nregs" field within struct reload.
17904 Sat Oct 16 21:50:28 1999 Jeffrey A Law (law@cygnus.com)
17906 * haifa-sched.c (true_dependency_cache): New.
17907 (add_dependence): Use the true dependency cache to avoid expensive
17908 walks down the LOG_LINKS dependency list. Add entries to the
17909 cache as necessary.
17910 (remove_dependence): Remove entries from the true dependency cache
17912 (schedule_insns): Allocate and initialize and free the true
17915 * haifa-sched.c (schedule_insns): Do not remove inter-block
17916 dependencies anymore.
17918 Sat Oct 16 11:19:52 1999 Richard Henderson <rth@cygnus.com>
17920 * i386/t-cygwin (winnt.o): Depend on RTL_H and TREE_H.
17921 * i386/t-winnt: Likewise.
17923 Sat Oct 16 11:11:54 1999 Richard Henderson <rth@cygnus.com>
17925 * ggc-page.c (init_ggc): Work around SunOS unaligned mmap bug.
17927 1999-10-16 Manfred Hollstein <mhollstein@cygnus.com>
17929 * Makefile.in (LANGUAGES): Omit "proto".
17930 (clean): Remove stale comment about removing unprotoize.c.
17932 Sat Oct 16 11:29:14 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
17934 * protoize.c (safe_read, safe_write): Avoid the gcc extension of
17935 using arithmetic on void pointers.
17937 Sat Oct 16 02:48:22 1999 Jeffrey A Law (law@cygnus.com)
17939 * haifa-sched.c (compute_block_forward_dependencies): Only check
17940 for notes, deleted insns and duplicates if ENABLE_CHECKING is defined.
17942 Sat Oct 16 00:07:01 1999 Richard Henderson <rth@cygnus.com>
17944 * gcse.c (hash_expr_1): Add in MEM_ALIAS_SET.
17945 (expr_equiv_p): Reject memories with different alias sets.
17947 Fri Oct 15 15:17:29 1999 Greg McGary <gkm@gnu.org>
17949 * flags.h (flag_bounds_check, flag_bounded_pointers): New extern decls.
17950 * toplev.c (flag_bounds_check, flag_bounded_pointers): New flags.
17951 (f_options): Add "bounded-pointers" and "bounds-check" entries.
17952 * c-lang.c (lang_init_options): Set flag_bounds_check as "unspecified".
17953 (lang_init): Set default for flag_bounds_check if still "unspecified".
17955 Sat Oct 16 13:42:29 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
17957 * config/c4x/c4x.md (HF mode patterns): Add missing modes.
17959 Sat Oct 16 13:37:46 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
17961 * config/c4x/c4x.md (movstrqi_small): Utilise parallel move
17964 Sat Oct 16 13:26:47 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
17966 * config/c4x/c4x.md (*db_noclobber,
17967 *decrement_and_branch_until_zero_noclobber): New patterns and
17968 associated splitters.
17970 Sat Oct 16 13:13:15 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
17972 * config/c4x/c4x.md (parallel instruction patterns): Rework
17973 constraints to keep reload happy.
17975 Sat Oct 16 13:03:16 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
17977 * config/c4x/c4x.md (*absqi2_noclobber, *negqi2_noclobber,
17978 *one_cmplqi2_noclobber, *subqi3_noclobber, *andqi3_255_noclobber,
17979 *andqi3_65535_noclobber, *andnqi3_noclobber, *xorqi3_noclobber):
17980 Add new patterns and associated post-reload splitters.
17982 Sat Oct 16 12:42:12 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
17984 * config/c4x/c4x.c (c4x_emit_libcall): Use ggc_alloc_string.
17986 Sat Oct 16 12:34:44 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
17988 * config/c4x/c4x.c (c4x_rptb_insert): Emit rpts_top pattern
17990 * config/c4x/c4x.md (rpts_top): New pattern and splitter.
17992 Sat Oct 16 12:26:30 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
17994 * config/c4x/c4x.c (src_operand): Check SYMBOL_REF and LABEL_REF
17997 Fri Oct 15 17:02:09 1999 Jeffrey A Law (law@cygnus.com)
17999 * pa.c (move_operand): Rely on memory_address_p to determine the
18000 validity of non-indexed memory addresses.
18001 * pa.h (GO_IF_LEGITIMATE_ADDRESS): Allow LO_SUM with a symbolic
18002 operand in DFmode and SFmode when generating PA2.0 code.
18004 Fri Oct 15 14:25:19 1999 Richard Henderson <rth@cygnus.com>
18006 * print-rtl.c (print_rtx): Limit last 'u' change to LABEL_REF.
18008 Fri Oct 15 13:48:45 1999 Richard Henderson <rth@cygnus.com>
18010 * mips.c (function_prologue): Fix argument types.
18011 * mips.md (casesi): Use emit_jump_insn for casesi_internal.
18012 (casesi_internal): Write to the scratch register.
18014 1999-10-15 11:16 -0700 Zack Weinberg <zack@bitmover.com>
18016 * cppexp.c (cpp_parse_escape): Make static. Change second arg
18018 (parse_charconst): Delete unnecessary cast when calling
18020 (cpplib.h): Kill prototype of cpp_parse_escape.
18022 Fri Oct 15 11:02:46 1999 Richard Henderson <rth@cygnus.com>
18024 Based on patch from Michael Gschwind <mikeg@watson.ibm.com>:
18025 * unroll.c (unroll_loop): Cast return value of alloca.
18026 * i370/i370.c: Include function.h and toplev.h.
18027 (i370_label_scan): Remove c++ commented abort.
18028 * i370/i370.h (HANDLE_PRAGMA): Takes three arguments.
18029 (ASM_OUTPUT_LABELREF): Fix TOUPPER/else broken 16 Sept.
18030 * i370/xm-i370.h (HOST_BITS_PER_LONGLONG): Define.
18031 * i370/xm-mvs.h, i370/xm-oe.h: Likewise.
18033 Fri Oct 15 03:01:01 1999 Loren Rittle <ljrittle@acm.org>
18035 * config/t-freebsd: Do not override USER_H.
18036 * ginclude/stddef.h: Generalize check for _MACHINE_ANSI_H_.
18038 Fri Oct 15 02:37:28 1999 Alastair J. Houghton <ajh8@doc.ic.ac.uk>
18039 Mumit Khan <khan@xraylith.wisc.edu>
18041 * c-parse.in (component_decl): Support anonymous struct/union.
18043 * c-parse.y: Regenerate.
18044 * c-parse.c: Likewise.
18045 * objc/objc-parse.y: Likewise.
18046 * objc/objc-parse.c: Likewise.
18047 * c-decl.c (finish_struct): Don't sort the fields.
18048 (field_decl_cmp): Delete unused function.
18050 Fri Oct 15 01:20:52 1999 Richard Henderson <rth@cygnus.com>
18052 * sparc.md (movsf_const_intreg): Revert last constraint change.
18053 (movdf_const_intreg_sp32): Likewise.
18055 Fri Oct 15 01:47:51 1999 Vladimir Makarov <vmakarov@loony.cygnus.com>
18057 * cse.c: Include hashtab.h instead of splay-tree.h
18058 (struct cse_reg_info): No longer use variant union. Add new
18059 field "regno". All references changed to avoid union.
18060 (cse_reg_info_used_list, cse_reg_info_used_list_end): New variables.
18061 (free_cse_reg_info): Remove.
18062 (hash_cse_reg_info, cse_reg_info_equal_p): New functions.
18063 (get_cse_reg_info): Revamp to use expandable hash tables instead
18064 of splay trees. Initialize new fields in cse_reg_info structure.
18065 (new_basic_block): Similarly.
18067 Thu Oct 14 23:51:56 1999 Richard Henderson <rth@cygnus.com>
18069 * genrecog.c (message_with_line): Prototype.
18070 (validate_pattern): Pass along the set for the dest, not a flag.
18071 Fix non-lvalue message. Don't warn for VOIDmode SET_DEST of CALL.
18072 Check for PC/CC0 as sources.
18073 (nodes_identical): Check for children position match before
18074 allowing the combination.
18076 * rtl.c (read_rtx): Track line number across \\\n.
18078 Thu Oct 14 23:50:25 1999 Richard Henderson <rth@cygnus.com>
18080 * mips.h (SPECIAL_MODE_PREDICATES): New.
18081 * mips.md (*) Use nonimmediate_operand not general_operand for outputs.
18082 (movdi+1, movsi+1): Add output reload constraint.
18083 (casesi_internal): Likewise. Fix commentary.
18084 (return_internal): Use pmode_register_operand.
18086 Thu Oct 14 23:19:34 1999 Richard Henderson <rth@cygnus.com>
18088 * 1750a.md (movstrqi): Add missing output reload constraint.
18089 (call_value): Likewise.
18090 * a29k.md (cpxxx patterns): Add missing match_operator mode.
18091 (jmpfdec): Add missing inout reload constraint.
18092 * elxsi.md (addsi patterns): Add missing output reload constraint.
18093 (move from sp): Use @ alternates.
18094 (call_value): No constraint on output.
18095 * fr30.md (movsi_pop): Add missing output reload constraint.
18096 (movsf_constant_store): Likewise.
18097 (splits): Remove constraints.
18098 (subsi3): Add missing mode.
18099 * i370.md (cmpstrsi+1): Add missing output reload constraint.
18100 (call_value): Likewise.
18101 * i960.md (cmpinc/cmpdec patterns): Add inout reload constraints.
18102 * m32r.h (PREDICATE_CODES): Add seth_add3_operand.
18103 * m32r.md (movsicc_internal): Add output reload constraint.
18104 (movstrsi_internal): Add inout reload constraints.
18105 * m88k.h (reg_names): Don't declare.
18106 (SPECIAL_MODE_PREDICATES): New.
18107 * m88k.md (*): Use register_operand not reg_or_0_operand
18109 * mn10200.h (PREDICATE_CODES): New.
18110 * ns32k.md (ffs pattern): Add output reload constraint.
18111 * pdp11.md (sob pattern): Add inout reload constraint.
18112 * sh.md (splits): Remove constraints.
18113 (indirect_jump_scratch, fpu_switch): Add output reload constraint.
18114 * v850.md (pattern_is_ok_for_epilogue): Likewise.
18115 * vax.md (jgequ pattern): Add inout reload constraint.
18117 Fri Oct 15 00:05:00 1999 Jeffrey A Law (law@cygnus.com)
18119 * configure.in (djgpp): Revert previous patch.
18120 * configure: Rebuit.
18121 * config/i386/djgpp.h: Revert previous patch.
18123 Fri Oct 15 00:00:24 1999 Loren J. Rittle <ljrittle@acm.org>
18125 * fixinc/inclhack.def: Restore patch lost during last merge of
18126 "no_bogosity" branch.
18127 * fixinc/inclhack.sh, fixinc/fixincl.x: Rebuilt.
18129 Thu Oct 14 23:57:56 1999 Gavin Romig-Koch <gavin@cygnus.com>
18131 * fixincludes: Add a HPUX 11 fix for inttypes.h.
18132 * fixinc/inclhack.def: Same.
18133 * fixinc/inclhack.sh, fixinc/fixincl.sh, fixinc/fixincl.x: Regenerate.
18135 Thu Oct 14 22:51:55 1999 Richard Henderson <rth@cygnus.com>
18137 * alpha.h (GO_IF_LEGITIMATE_SIMPLE_ADDRESS): Accept ADDRESSOF
18138 as the base of a PLUS.
18140 Fri Oct 15 18:36:07 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
18142 * config/c4x/c4x.md: Define mode for remaining unspec operators.
18143 * config/c4x/c4x.c (dst_operand): Use nonimmediate_operand.
18145 Thu Oct 14 22:14:23 1999 Richard Henderson <rth@cygnus.com>
18147 * pa.md (post_stw+1): Use pmode_register_operand.
18148 (dcacheflush, icacheflush): Likewise.
18150 * i386.md (movstricthi_1): Allow r/r.
18152 Thu Oct 14 19:44:08 1999 Jan Hubicka <hubicka@freesoft.cz>
18154 * fold-const.c (fold): Convert (or (not arg0) (not arg1))
18155 to (not (and (arg0) (arg1))). Similary for and.
18157 * fold-const.c (fold): Move bit_rotate code to the EXPR_PLUS case,
18158 fallthrough to associate code.
18159 Convert XOR to OR in code like (a&c1)^(a&c2) where c1 and c2 don't have
18162 * combine.c (simplify_logical): Convert XOR to IOR if operands have
18163 no bits in common; remove XOR to ROTATE conversion.
18165 Fri Oct 15 17:40:11 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
18167 * config/c4x/c4x.h (c4x_va_start, c4x_va_arg): Declare.
18169 Fri Oct 15 17:27:17 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
18171 * config/c4x/c4x.c (dst_operand): New.
18172 (PREDICATE_CODES): Update.
18173 * config/c4x/c4x.h (dst_operand): Declare it.
18174 * config/c4x/c4x.md: Define mode for each unspec usage.
18175 (move patterns): Use dst_operand predicate instead of src_operand.
18176 (movqi_update, movqf_update): Delete.
18178 Thu Oct 14 18:48:54 1999 Richard Henderson <rth@cygnus.com>
18180 * recog.c (pmode_register_operand): New.
18181 * recog.h: Declare it.
18182 * genrecog.c (pred_codes): Likewise.
18183 (special_mode_pred_table): Likewise.
18184 (validate_pattern): Don't warn no mode for address_operand.
18186 * print-rtl.c (print_rtx) [LABEL_REF]: Only do full subexpression
18187 if the operand is not insn-like.
18189 Thu Oct 14 19:38:42 1999 Jeffrey A Law (law@cygnus.com)
18190 Sylvian Pion <Sylvain.Pion@sophia.inria.fr>
18192 * fold-const.c (fold): Handle more simplifications allowed by IEEE.
18194 Thu Oct 14 17:30:14 1999 Richard Henderson <rth@cygnus.com>
18196 * sparc.md (*): Use {nonimmediate,register}_operand as appropriate
18197 instead of general_operand in a SET_DEST. Use const_double_operand
18198 instead of an explicit test against CONST_DOUBLE.
18199 (movsf_const_lo): Add missing register mode.
18200 (goto_handler_and_restore): Add auxiliary test for Pmode.
18201 (flush): Adjust to use address_operand.
18202 (return_sf_no_fpu): Add missing output constraint.
18204 Thu Oct 14 17:21:26 1999 Richard Henderson <rth@cygnus.com>
18206 * rs6000.md (call_value_indirect_aix32): Use wildcard match_operand
18207 for call return value.
18208 (call_value_indirect_aix64, call_value_indirect_nt): Likewise.
18210 Thu Oct 14 13:54:25 1999 Jason Merrill <jason@yorick.cygnus.com>
18212 * toplev.c (main): Only warn about options for other languages.
18213 * collect2.c (main): Pass -w to sub-gcc.
18215 Thu Oct 14 16:27:50 1999 Richard Henderson <rth@cygnus.com>
18217 * flow.c (propagate_block): Add call-clobbered registers to
18220 * flow.c (propagate_block): Use free_EXPR_LIST_list instead of
18221 zapping mem_set_list.
18222 (invalidate_mems_from_autoinc): Use free_EXPR_LIST_node.
18223 (mark_set_1, mark_used_regs): Likewise.
18225 Thu Oct 14 10:51:49 1999 Richard Henderson <rth@cygnus.com>
18227 * m68k.md (zero_extendsidi2): Add missing output reload constraint.
18229 Wed Oct 13 00:09:18 1999 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
18231 * invoke.texi: Label -Wbad-function-cast, -Wmissing-prototypes,
18232 -Wnested-externs, -Wstrict-prototypes, and -Wtraditional as C only
18233 options. Also add a new item "C-only Warning Options" to the
18236 1999-10-14 Gavin Romig-Koch <gavin@cygnus.com>
18238 * libgcc2.c (__do_global_dtors): Protect __deregister_frame_info
18239 from multiple calls.
18241 Thu Oct 14 04:54:54 1999 Richard Henderson <rth@cygnus.com>
18243 * i386.md (call value patterns): Move to the end of the file.
18244 (prologue_set_got, prologue_get_pc): Use register_operand for op 0.
18246 1999-10-14 Mark Elbrecht <snowball3@bigfoot.com>
18248 * configure.in (djgpp configuration): Define extra_objects..
18249 * configure: Rebuilt.
18250 * config/i386/djgpp.h (CTORS_SECTION_ASM_OP): Define.
18251 (DTORS_SECTION_ASM_OP): Define.
18252 (INIT_SECTION_ASM_OP): Define.
18253 (FINI_SECTION_ASM_OP): Define.
18254 (DATA_SECTION_ASM_OP): Define.
18255 (TEXT_SECTION_ASM_OP): Define.
18256 (EH_FRAME_SECTION_ASM_OP): Define.
18257 (LINK_COMMAND_SPEC): Remove -Tdjgpp.djl.
18258 (STARTFILE_SPEC): Add crtbegin.o.
18259 (ENDFILE_SPEC): Define and add crtend.o. Move argument -Tdjgpp.djl
18260 to here from LINK_COMMAND_SPEC.
18261 (DO_GLOBAL_CTORS_BODY): Define.
18262 (CRTSTUFF_USE_FINI_SECTION): Define
18263 (HAS_INIT_SECTION): Delete.
18265 Thu Oct 14 05:08:14 1999 Andreas Schwab <schwab@suse.de>
18267 * Makefile.in (all.cross): Depend on xcpp$(exeext).
18269 Thu Oct 14 04:00:40 1999 Richard Henderson <rth@cygnus.com>
18271 * pa.h (PREDICATE_CODES): New.
18273 * genrecog.c (validate_pattern): Condense the destination
18274 non-lvalue message.
18276 Thu Oct 14 03:23:08 1999 Richard Henderson <rth@cygnus.com>
18278 * alpha.md (call-1): Supply missing mode for operator.
18279 (*): Add missing output reload constraints. Remove constraints
18280 from define_splits.
18282 * i386.h (SPECIAL_MODE_PREDICATES): New.
18283 * i386.md (movstricthi_1): Use nonimmediate_operand for op 0.
18284 (movqi_1, movdi_1, movdi_2, some splits): Likewise.
18285 (addsi_lea_3): Add missing mode for op 3.
18286 (prologue_set_got, prologue_get_pc): Add missing modes.
18287 (*) Add missing output reload constraints.
18289 Thu Oct 14 03:59:57 1999 Stephane Carrez <stcarrez@worldnet.fr>
18291 * stor-layout.c (layout_union): Use HOST_WIDE_INT for const_size;
18292 check for member bit-size overflow and use var_size if it occurs.
18293 (layout_record): Use bitsize_int() to define the type size in bits.
18294 Likewise for computation and assignment to DECL_FIELD_BITPOS.
18295 (layout_decl): Likewise when assigning to DECL_SIZE.
18297 Thu Oct 14 02:57:05 1999 Richard Henderson <rth@cygnus.com>
18299 * genrecog.c (validate_pattern): Typo last change. Verify
18300 that output operands have output reloads.
18302 Thu Oct 14 01:49:54 1999 Richard Henderson <rth@cygnus.com>
18304 * genrecog.c (special_mode_pred_table): New.
18305 (NUM_SPECIAL_MODE_PREDS): New.
18306 (find_operand): New.
18307 (validate_pattern): New argument `insn'. Warn for assignment to
18308 any predicate accepting non-lvalues. Conditionaly warn for
18309 match_operand without a mode. Try much harder to match source
18310 and destination modes on a set.
18311 * tm.texi (SPECIAL_MODE_PREDICATES): Document.
18313 Thu Oct 14 02:54:13 1999 Jeffrey A Law (law@cygnus.com)
18315 * fold-const.c (fold): Detect rotates built from BIT_XOR_EXPRs.
18317 Thu Oct 14 02:18:19 1999 Marc Espie <espie@cvs.openbsd.org>
18319 * combine.c (simplify_logical): Recognize xor pattern that encodes
18322 Wed Oct 13 23:23:45 1999 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
18324 * rs6000.c (expand_block_move): Use INTVAL, not XINT to access
18327 Wed Oct 13 21:47:18 1999 Richard Henderson <rth@cygnus.com>
18329 * ggc-page.c (MAP_FAILED): Provide default.
18331 Wed Oct 13 21:41:59 1999 Richard Henderson <rth@cygnus.com>
18333 * sparc.c (symbolic_operand): Verify mode; don't accept CONST_DOUBLE.
18334 * sparc.h (PREDICATE_CODES): Update.
18336 Wed Oct 13 21:18:17 1999 Richard Henderson <rth@cygnus.com>
18338 * alpha.c (some_ni_operand): New.
18339 * alpha-protos.h: Declare it.
18340 * alpha.h (PREDICATE_CODES): Update.
18341 * alpha.md (sXaddq reload insns): Use some_ni_operand
18342 for SET_DEST instead of some_operand.
18344 Wed Oct 13 21:04:45 1999 Richard Henderson <rth@cygnus.com>
18345 Jim Wilson <wilson@cygnus.com>
18347 * genrecog.c (maybe_both_true_2): Don't compare modes of
18349 (process_tree): Elide peephole2_insns. Invoke simplify_tests
18350 after find_afterward.
18351 (debug_decision_1): Dump next and afterward codes.
18353 Wed Oct 13 20:35:16 1999 Richard Henderson <rth@cygnus.com>
18355 * rtl.c (dump_and_abort): Remove.
18356 (fatal_with_file_and_line): New.
18357 (fatal_expected_char): New.
18358 (read_rtx_lineno, read_rtx_filename): New.
18359 (read_skip_spaces): Track line number.
18360 (read_name): Use fatal_with_file_and_line.
18361 (read_rtx): Use fatal_expected_char. Track line number.
18362 * rtl.h (read_rtx_filename, read_rtx_lineno): Declare.
18364 * print-rtl.c (print_rtx): Don't special case LABEL_REF argument
18365 if it isn't a CODE_LABEL.
18367 * genattr.c (main): Set read_rtx_filename.
18368 * genattrtab.c (main): Likewise.
18369 * gencodes.c (main): Likewise.
18370 * genconfig.c (main): Likewise.
18371 * genemit.c (main): Likewise.
18372 * genextract.c (main): Likewise.
18373 * genflags.c (main): Likewise.
18374 * genopinit.c (main): Likewise.
18375 * genoutput.c (main): Likewise.
18376 * genpeep.c (main): Likewise.
18378 * genrecog.c (decision_test.u.insn): Add `lineno'.
18379 (pattern_lineno, error_count): New variables.
18380 (message_with_line): New.
18381 (add_to_sequence): Break out checking code to ...
18382 (validate_pattern): ... here. Detect SET_DEST matching CONST_INT.
18383 (merge_insn): Use message_with_line.
18384 (make_insn_sequence): Use validate_pattern. Record insn lineno.
18385 (main): Set read_rtx_filename, pattern_lineno. Exit early on error.
18387 Wed Oct 13 22:01:35 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
18389 * expr.c (store_constructor): Clear union if constructor is empty.
18391 Wed Oct 13 15:19:04 1999 Jim Wilson <wilson@cygnus.com>
18393 * config/rs6000/sysv4.h (CC1_SPEC): Fix errors from Jan 19 change.
18394 Add !endian checks. Change %{...} to %(...).
18396 Wed Oct 13 13:30:34 1999 Richard Henderson <rth@cygnus.com>
18398 * i386.md (*addsi3_cc): Renamed from addcsi3.
18399 (*addsi3_carry): Renamed from addxsi3.
18400 (*subsi3_cc): Renamed from subcsi3.
18401 (*subsi3_carry): Renamed from subxsi3.
18402 (*xorqi_cc_1): Renamed from xorcqi_1.
18403 (xorqi_cc_ext_1): Renamed from xorcqi_ext_1.
18404 * i386.c (ix86_expand_fp_compare): Update for xorqi_cc_ext_1.
18406 Wed Oct 13 13:10:46 1999 Richard Henderson <rth@cygnus.com>
18408 * Makefile.in (ggc-common.o): Depend on RTL_H not RTL_BASE_H.
18409 (ggc-simple.o, ggc-page.o, ggc-none.o, ggc-callbacks.o): Likewise.
18411 1999-10-13 Brendan Kehoe <brendan@cygnus.com>
18413 * regmove.c (optimize_reg_copy_3): Make sure P is non-nil as we
18414 climb up the chain of insns.
18416 Wed Oct 13 10:20:58 1999 Richard Henderson <rth@cygnus.com>
18418 * genrecog.c (write_subroutine): Careful for null trees.
18419 (process_tree): Don't elide empty functions.
18421 Wed Oct 13 10:07:54 1999 Richard Henderson <rth@cygnus.com>
18423 * Makefile.in (genrtl.o): Depend on ggc.h.
18424 * configure.in (valloc): Probe for it.
18425 (with-gc): Use ggc-page if valloc present.
18426 * ggc-common.c (ggc_mark_rtx_children): Use ggc_mark_if_gcable.
18427 (ggc_mark_rtvec_children): New from corpse of ggc_mark_rtvec.
18428 (ggc_alloc_string): Moved from ggc-page.c.
18429 * ggc-none.c (ggc_alloc_obj): New.
18430 (ggc_alloc_rtx, ggc_alloc_rtvec): Remove.
18431 * ggc-page.c (sys/mman.h): Only include if HAVE_MMAP.
18432 (struct globals): Likewise for dev_zero_fd.
18433 (init_ggc): Likewise for it's initialization.
18434 (ggc_allocated_p): Move careful dereference from ...
18435 (ggc_lookup_page_table): ... here. Delete.
18436 (lookup_page_table_entry): Don't use ggc_lookup_page_table.
18437 (alloc_anon): Use valloc if no mmap.
18438 (release_pages): Use free if using valloc.
18439 (ggc_alloc_obj): Renamed from alloc_obj.
18440 (ggc_set_mark): Renamed from mark_obj.
18441 (ggc_mark_if_gcable): Renamed from ggc_mark_string_if_gcable.
18442 (ggc_alloc_rtx, ggc_alloc_rtvec): Delete.
18443 (ggc_alloc_tree, ggc_alloc_string, ggc_alloc): Delete.
18444 (ggc_set_mark_rtx, ggc_set_mark_rtvec): Delete.
18445 (ggc_set_mark_tree, ggc_mark_string, ggc_mark): Delete.
18446 (ggc_collect): Use fp printing instead of our own rounding.
18447 * ggc-simple.c (IS_MARKED, IGNORE_MARK): Delete.
18448 (GGC_STRING_MAGIC, GGC_STRING_MAGIC_MARK): Delete.
18449 (GGC_ANY_MAGIC, GGC_ANY_MAGIC_MARK): Delete.
18450 (struct ggc_rtx, struct ggc_rtvec, struct ggc_tree): Delete.
18451 (struct ggc_string, struct ggc_any): Delete.
18452 (offsetof): Provide default definition.
18453 (GGC_BALANCE, GGC_ALWAYS_COLLECT, GGC_ALWAYS_VERIFY): New.
18455 (struct ggc_mem): New, from corpse of ggc_any.
18456 (struct ggc_status): Delete.
18457 (ggc_chain, ggc_allocated_strings, ggc_strings_used): Delete.
18458 (n_rtxs_collected, n_vecs_collected, n_trees_collected): Delete.
18459 (n_strings_collected, n_anys_collected): Delete.
18460 (ggc_alloc_rtx, ggc_alloc_rtvec, ggc_alloc_tree): Delete.
18461 (ggc_alloc_string, ggc_alloc): Delete.
18462 (ggc_free_rtx, ggc_free_rtvec, ggc_free_tree): Delete.
18463 (ggc_free_string, ggc_free_any): Delete.
18464 (ggc_set_mark_rtx, ggc_set_mark_rtvec, ggc_set_mark_tree): Delete.
18465 (ggc_compare_addresses, ggc_mark_string): Delete.
18466 (ggc_mark_string_if_gcable, ggc_mark): Delete.
18467 (search_data): Delete.
18468 (struct globals): New.
18469 (GGC_MIN_EXPAND_FOR_GC, GGC_MIN_LAST_ALLOCATED): New.
18470 (tree_insert, tree_lookup): New.
18471 (ggc_alloc_obj, ggc_set_mark, ggc_mark_if_gcable): New.
18472 (clear_marks, sweep_objs): New.
18473 (ggc_collect): Gut. Use clear_marks, sweep_objs.
18474 (init_ggc): Set allocated_last_gc.
18475 (ggc_push_context): Gut. Use G.context.
18476 (ggc_pop_context): Likewise.
18477 (ggc_pop_context_1): New.
18478 (debug_ggc_tree): New.
18479 (debug_ggc_balance, tally_leaves): New.
18480 * ggc.h (ggc_mark_rtvec, ggc_mark_string, ggc_mark): Remove decl.
18481 (ggc_mark_string_if_gcable): Remove decl.
18482 (ggc_mark_rtx, ggc_mark_tree): Use ggc_set_mark.
18483 (ggc_mark_rtvec_children): New.
18484 (ggc_mark_rtvec, ggc_mark_string, ggc_mark): New.
18485 (ggc_mark_if_gcable): New decl.
18486 (ggc_alloc_rtx, ggc_alloc_rtvec): Remove decl.
18487 (ggc_alloc_tree, ggc_alloc): Likewise.
18488 (ggc_set_mark_rtx, ggc_set_mark_rtvec, ggc_set_mark_tree): Likewise.
18489 (ggc_alloc_obj): New decl.
18490 (ggc_alloc_rtx, ggc_alloc_rtvec): New macros.
18491 (ggc_alloc_tree, ggc_alloc): Likewise.
18492 (ggc_set_mark): New decl.
18493 * rtl.h (struct rtx_def): Remove gc_mark.
18494 (struct rtvec_def): Likewise.
18495 * tree.h (struct tree_common): Likewise.
18497 Wed Oct 13 01:44:29 1999 Carol LePage <carolo@hal.com>
18499 * configure.in (sparc-hal-solaris2*): Fix xm_file, xm_defines,
18500 float_format and thread_file definitions.
18501 * configure: Rebuilt.
18503 Wed Oct 13 09:25:03 1999 Niels Möller <nisse@lysator.liu.se>
18505 * extend.texi (Function Names): Document types of function names.
18507 Wed Oct 13 00:45:04 1999 Bernd Schmidt <bernds@cygnus.co.uk>
18509 * reload1.c (reload_reg_free_for_value_p): RELOAD_OTHER reloads with
18510 an earlyclobbered output conflict with RELOAD_INPUT reloads.
18512 Tue Oct 12 23:28:28 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
18514 * sh.h (BOOL_TYPE_SIZE): Don't use INT_TYPE_SIZE / CHAR_TYPE_SIZE.
18516 Tue Oct 12 23:19:32 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
18518 * sh.h (REGISTER_MOVE_COST): Change PR_REG to PR_REGS.
18520 Tue Oct 12 17:09:38 1999 David Edelsohn <edelsohn@gnu.org>
18522 * collect2.c (main): Do prelimnary link on AIX if rflag.
18524 Tue Oct 12 09:45:19 1999 Jonathan Larmour <jlarmour@cygnus.co.uk>
18526 * config/rs6000/eabi-ctors.c (__do_global_ctors): Run through
18527 __CTOR_LIST__ in opposite order, which is the correct order for sorted
18529 (__do_global_dtors): similarly for __DTOR_LIST__.
18531 Fri Oct 8 19:46:03 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
18532 Diego Novillo <dnovillo@cygnus.com>
18534 * config/sh/sh.h (REGISTER_MOVE_COST): Handle moves from T_REGS to
18537 Tue Oct 12 07:38:41 1999 Bruce Korb <autogen@linuxbox.com>
18539 * fixincl/*: Merged "no_bogosity" branch
18540 * fixincl/fixlib.h: protect against doubly defining t_bool
18541 * fixincl/server.h: protect against doubly defining t_bool
18543 Mon Oct 11 20:18:41 1999 Jim Wilson <wilson@cygnus.com>
18545 * genoutput.c: Include toplev.h.
18547 Mon Oct 11 18:56:14 1999 Jim Wilson <wilson@cygnus.com>
18549 * config/sparc/liteelf.h (INIT_SECTION_ASM_OP, FINI_SECTION_ASM_OP):
18551 * configure.in (sparclite-*-elf, sparc86x-*-elf): Don't use libgloss.h.
18552 * configure: Regenerate.
18554 Mon Oct 11 16:07:49 1999 Richard Henderson <rth@cygnus.com>
18556 * gcse.c (delete_null_pointer_checks): Returns void.
18558 Mon Oct 11 20:31:51 1999 Bernd Schmidt <bernds@cygnus.co.uk>
18560 * rtl.c (copy_rtx): Don't use accessor macros to copy fields.
18561 * emit-rtl.c (copy_insn_1): Likewise.
18563 Mon Oct 11 13:29:06 1999 Geoffrey Keating <geoffk@cygnus.com>
18565 * config/mips/mips.c (mips_build_va_list): Correct
18566 TREE_CHAIN setting when hard-float.
18567 (mips_va_start): Use corrected setting.
18568 (mips_va_arg): Likewise. Also pass a tree to build of
18569 POSTINCREMENT_EXPR rather than a naked 'int'.
18571 Sun Oct 10 18:27:27 1999 Mark Mitchell <mark@codesourcery.com>
18573 * ggc.h (ggc_push_context): Fix comment.
18574 (ggc_pop_context): Likewise.
18575 (mark_string_if_gcable): Likewise.
18576 * ggc-common.c (ggc_mark_rtx_children): Use
18577 ggc_mark_string_if_gcable.
18578 * ggc-page.c (ggc_lookup_page_table): New function.
18579 (ggc_allocated_p): Likewise.
18580 (mark_obj): Fix formatting.
18581 (ggc_mark_string_if_gcable): New function.
18582 * ggc-simple.c (ggc_allocated_strings): New variable.
18583 (ggc_strings_used): Likewise.
18584 (ggc_compare_addresses): New function.
18585 (ggc_pop_context): Pop the `any' memory too.
18586 (ggc_mark_string_if_gcable): New function.
18587 (ggc_collect): Initialize and tear down ggc_allocated_strings.
18589 Sun Oct 10 20:05:21 1999 David Edelsohn <edelsohn@gnu.org>
18591 * rs6000.md (movstrsi_?reg): Use preferred rD/rS = r5 form.
18592 (scc patterns): Disable most SImode variants if TARGET_POWERPC64.
18593 * rs6000.c (expand_block_move): Match movstrsi_?reg register
18596 Sun Oct 10 16:37:01 1999 Richard Henderson <rth@cygnus.com>
18598 * haifa-sched.c (sched_reg_n_calls_crossed): Delete.
18599 (sched_reg_live_length, sched_reg_basic_block): Delete.
18600 (current_block_num, bb_live_regs, old_live_regs): Delete.
18601 (dead_notes, struct sometimes): Delete.
18602 (sched_note_set, birthing_insn_p): Delete.
18603 (adjust_priority): Gut useless reg lifetime code.
18604 (create_reg_dead_note, attach_deaths): Delete.
18605 (attach_deaths_insn, new_sometimes_live): Delete.
18606 (finish_sometimes_live): Delete.
18607 (find_pre_sched_live, find_post_sched_live): Delete.
18608 (update_reg_usage): Delete.
18609 (find_insn_reg_weight): New, from corpse of find_pre_sched_live.
18610 (schedule_insns): Delete reg lifetime code.
18611 (sched_analyze): Use REG_SAVE_NOTE to stuff NOTE_INSN notes away.
18612 (unlink_other_notes): Adjust REG_NOTE commentary.
18613 (reemit_notes): Use REG_SAVE_NOTE.
18614 (schedule_block): Likewise.
18615 (schedule_region): Allocate bitmap of blocks in region. Use
18616 count_or_remove_death_notes. Use update_life_info.
18618 * rtl.h (REG_SAVE_NOTE): New.
18619 * rtl.c (reg_note_name): Update.
18621 Sun Oct 10 16:14:16 1999 Richard Henderson <rth@cygnus.com>
18623 * combine.c (refresh_blocks, need_refresh): New.
18624 (combine_instructions): Allocate refresh_blocks. Invoke
18625 update_life_info if needed.
18626 (distribute_notes): Mark refresh_blocks instead of installing
18628 * flow.c (update_life_info): Remove notes if GLOBAL_RM_NOTES.
18629 * basic_block.h (enum update_life_extent): Add GLOBAL_RM_NOTES.
18631 * Makefile.in (recog.o): Depend on basic-block.h.
18633 Sun Oct 10 12:03:21 1999 Richard Henderson <rth@cygnus.com>
18635 * genrecog.c (add_to_sequence): Thinko last change: delete
18636 shadowing allow_const_int variable.
18638 Sun Oct 10 08:40:00 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
18640 * cppinit.c: Use HAVE_GCC_VERSION instead of explicitly testing
18641 __GNUC__ and __GNUC_MINOR__.
18643 * gansidecl.h: Likewise.
18649 * toplev.h: Likewise.
18651 * tree.c: Likewise.
18653 * tree.h: Likewise.
18655 * varray.c: Likewise.
18657 * varray.h: Likewise.
18659 Sun Oct 10 13:28:48 1999 Bernd Schmidt <bernds@cygnus.co.uk>
18661 * loop.c (find_and_verify_loops): When looking for a BARRIER, don't
18662 use one before a jump table.
18664 * rtl.def (ADDRESS): Change documentation to match reality.
18665 * md.texi: Don't document it.
18666 * gmicro.md (load address pattern): Use 'p' constraint, delete use
18669 * emit-rtl.c (copy_insn_1): Make format_ptr a const char *.
18671 Sun Oct 10 02:41:41 1999 Richard Henderson <rth@cygnus.com>
18673 * genrecog.c (add_to_sequence): Move allow_const_int test outside
18674 known predicate block; default allow_const_int true.
18675 (debug_decision_list): New.
18677 Sun Oct 10 00:43:08 1999 Richard Henderson <rth@cygnus.com>
18679 * i386.h (CC1_SPEC): Typo -- use cc1_cpu.
18681 Sat Oct 9 23:26:55 1999 Jeffrey A Law (law@cygnus.com)
18683 * gcse.c (gcse_main): Avoid global optimizations if we have a
18684 large number of basic blocks and the ratio of edges to blocks
18686 (delete_null_pointer_checks): Likewise.
18688 Sat Oct 9 23:16:01 1999 Ken Raeburn <raeburn@mit.edu>
18690 * c-common.c (check_format_info): Warn if format string isn't a
18693 Sat Oct 9 23:04:02 1999 Jonathan Larmour <jlarmour@cygnus.co.uk>
18695 * configure.in (arm*-*-*): Don't let autoconf remove brackets
18696 * configure: regenerate
18698 Sat Oct 9 13:15:53 1999 Richard Henderson <rth@cygnus.com>
18700 * alpha.md (extendsidi2): Turn into a splitter. Allow f/f.
18701 If TARGET_FIX, allow r/f. Remove cvtlq unspec pattern.
18702 (peepholes): Re-enable.
18704 Sat Oct 9 12:18:16 1999 Richard Henderson <rth@cygnus.com>
18706 * Makefile.in (flow.o): Depend on TREE_H.
18707 * basic-block.h (REG_SET_EQUAL_P): New.
18708 (XOR_REG_SET): New.
18709 (n_edges): Declare.
18710 (free_regset_vector): Remove declaration.
18711 (flow_delete_insn_chain): Declare.
18712 (enum update_life_extent): New.
18713 (update_life_info, count_or_remove_death_notes): Declare.
18714 * combine.c (distribute_notes) [REG_DEAD]: Stop search at bb->head.
18715 Verify register live at bb->global_live_at_start before adding USE.
18716 * flow.c (HAVE_epilogue, HAVE_prologue): Provide default.
18717 (CLEAN_ALLOCA): New.
18719 (PROP_*): New flags.
18720 (find_basic_blocks_1): Use alloc_EXPR_LIST.
18721 (clear_edges): Zero n_edges.
18722 (make_edge): Increment n_edges.
18723 (split_edge): Don't allocate bb->local_set. Increment n_edges.
18724 (flow_delete_insn_chain): Export.
18725 (delete_block): Decrement n_edges.
18726 (merge_blocks_nomove): Likewise.
18727 (life_analysis): Give life_analysis_1 PROP flags.
18728 (verify_wide_reg_1, verify_wide_reg): New.
18729 (verify_local_live_at_start): New.
18730 (update_life_info): Rewrite to call into propogate_block.
18732 (mark_regs_live_at_end): After reload, if epilogue as rtl,
18733 always mark stack pointer. Conditionally mark PIC register.
18734 After reload, mark call-saved registers, return regsiters.
18735 (life_analysis_1): Accept PROP flags not remove_dead_code.
18736 Call mark_regs_live_at_end before zeroing regs_ever_live.
18737 Use calculate_global_regs_live. Copy global_live_at_end before
18738 calling final propagate_block. Zero reg_next_use on exit.
18739 (calculate_global_regs_live): New.
18740 (allocate_bb_life_data): Don't allocate bb->local_set.
18741 (init_regset_vector, free_regset_vector): Remove.
18742 (propagate_block): Accept FLAGS not FINAL or REMOVE_DEAD_CODE.
18743 Test flags before every operation. Warn if prologue/epilogue insn
18744 would have been deleted.
18745 (mark_set_regs, mark_set_1): Accept and use FLAGS.
18746 Use alloc_EXPR_LIST.
18747 (mark_used_regs): Accept and use FLAGS, not FINAL.
18748 Remove special handling for RETURN.
18749 (try_pre_increment): Use alloc_EXPR_LIST.
18750 (dump_flow_info): Dump n_edges.
18751 (unlink_insn_chain, split_hard_reg_notes): Remove.
18752 (maybe_add_dead_note, maybe_add_dead_note_use): Remove.
18753 (find_insn_with_note, new_insn_dead_notes): Remove.
18754 (update_n_sets, sets_reg_or_subreg_1, sets_reg_or_subreg): Remove.
18755 (maybe_remove_dead_notes, prepend_reg_notes): Remove.
18756 (replace_insns): Remove.
18757 (count_or_remove_death_notes): New.
18758 (verify_flow_info): Abort on error after all checks.
18759 (remove_edge): Decrement n_edges.
18760 (remove_fake_edges): Tweak format.
18761 * haifa-sched.c (schedule_insns): Use split_all_insns.
18762 * output.h (update_life_info): Remove declaration.
18763 * recog.c (split_all_insns): From the corpse of split_block_insns,
18764 do the whole function block by block. Use update_life_info.
18765 (recog_last_allowed_insn): New.
18766 (recog_next_insn): Mind it.
18767 (peephole2_optimize): Set it. Walk backwards through blocks.
18768 Use update_life_info.
18769 * rtl.h (update_flow_info, replace_insns): Remove declarations.
18770 (split_all_insns): Declare.
18771 * toplev.c (rest_of_compilation): Thread prologue before flow2.
18772 Use split_all_insns.
18774 * i386.md (or -1 peep2s): Disable.
18776 Fri Oct 8 17:49:08 1999 Richard Henderson <rth@cygnus.com>
18778 * config/mips/mips.md (movstrsi+[123]) : Combine these into
18779 a single pattern. Scrap the 'd' versions as unnecessary.
18781 * config/mips/mips.md (tablejump_internal3,tablejump_mips161,
18782 tablejump_mips162,tablejump_internal4): The operands to a
18783 label_ref must be VOIDmode.
18785 Fri Oct 8 16:12:42 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
18787 * configure.in (c-mbchar): Append, don't overwrite, `extra_c_flags'.
18789 Fri Oct 8 11:58:34 1999 Richard Henderson <rth@cygnus.com>
18791 * mips.c (mips_va_arg) [EABI]: Return addr_rtx.
18793 Fri Oct 8 11:58:34 1999 Richard Henderson <rth@cygnus.com>
18795 * lists.c (init_EXPR_INSN_LIST_cache): Don't need to zap the
18796 cache every function if ggc_p.
18798 Fri Oct 8 18:46:11 1999 Bernd Schmidt <bernds@cygnus.co.uk>
18800 * jump.c (duplicate_loop_exit_test): Use copy_insn/copy_insn_1
18801 instead of copy_rtx. Accept sequences that contain asm statements.
18802 * emit-rtl.c (copy_insn_1, copy_insn): New functions.
18803 (copy_insn_scratch_in, copy_insn_scratch_out, copy_insn_n_scratches,
18804 orig_asm_operands_vector, copy_asm_operands_vector,
18805 orig_asm_constraints_vecotr, copy_asm_constraints_vector): New static
18807 * rtl.h (copy_insn, copy_insn_1): Declare.
18809 Fri Oct 8 13:08:12 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
18811 * Makefile.in (insn-recog.o): Depend on hard-reg-set.h and resource.h.
18813 * alpha.h (ASM_OUTPUT_MI_THUNK): Pass the correct number of
18814 arguments to `current_file_function_operand'.
18816 * genrecog.c: Include hard-reg-set.h and resource.h in the
18817 generated output file.
18819 * real.c: Include tm_p.h.
18821 Fri Oct 8 18:46:11 1999 Bernd Schmidt <bernds@cygnus.co.uk>
18823 * i386.md (prologue_allocate_stack): Add '=' constraint letter on
18826 Thu Oct 7 23:06:50 1999 Richard Henderson <rth@cygnus.com>
18828 * rs6000.md (fix_truncdfsi2_internal+1): Emit a clobber
18829 before the fctiwz insn.
18831 Thu Oct 7 22:53:00 1999 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
18832 Mark Mitchell <mark@codesourcery.com>
18834 * tree.c (make_lang_type_fn): New funtion pointer.
18835 (make_lang_type): Call it.
18836 * tree.h (make_lang_type): Declare.
18837 (make_lang_type_fn): Likewise.
18838 * rs6000.c (rs6000_build_va_list): Use make_lang_type.
18840 Thu Oct 7 00:36:17 1999 Diego Novillo <dnovillo@cygnus.com>
18842 * config/rs6000/rs6000.c (secondary_reload_class): For TARGET_ELF
18843 make sure that HIGH instructions are copied into BASE_REGS.
18845 Thu Oct 7 17:02:34 1999 Jason Merrill <jason@yorick.cygnus.com>
18847 * expr.c (expand_expr, TARGET_EXPR): Set TREE_USED sooner.
18849 Thu Oct 7 17:01:58 1999 Greg McGary <gkm@gnu.org>
18851 * c-decl.c (finish_struct): Use simpler method of
18852 removing elements of a singly-linked list.
18854 Thu Oct 7 15:23:28 1999 Michael Meissner <meissner@cygnus.com>
18856 * alpha.md (peephole2's): Comment out peephole2's that generate
18859 Thu Oct 7 12:00:53 1999 Richard Henderson <rth@cygnus.com>
18861 * genrecog.c (add_to_sequence): Disable mode check for
18864 Thu Oct 7 20:14:16 1999 Bernd Schmidt <bernds@cygnus.co.uk>
18866 * ggc-simple.c (init_ggc): Set empty_string.
18868 Thu Oct 7 01:13:15 1999 Richard Henderson <rth@cygnus.com>
18870 * configure.in: Detect mmap. Add --with-gc=foo to select
18871 garbage collector; default to page if mmap available.
18872 * Makefile.in (GGC): Substitute.
18874 Wed Oct 6 23:56:30 1999 Richard Henderson <rth@cygnus.com>
18876 * c-decl.c (ggc_p): Enable.
18878 Wed Oct 6 17:17:08 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
18880 * flow.c (verify_flow_info): Make it extern & unconditionally define.
18882 1999-10-06 Brendan Kehoe <brendan@cygnus.com>
18884 * sparc/sp86x-elf.h (SUBTARGET_SWITCHES): Add missing doc
18885 string for little-endian-data.
18887 Wed Oct 6 16:10:35 1999 Michael Meissner <meissner@cygnus.com>
18889 * varray.h (VARRAY_CHECK): Fix up appropriate revision check, in
18890 case somebody tries to compile --enable-checking code with gcc
18893 Wed Oct 6 12:22:50 1999 Richard Henderson <rth@cygnus.com>
18895 * genrecog.c (add_to_sequence): Verify operand to label_ref is
18898 Wed Oct 6 10:21:15 1999 Richard Henderson <rth@cygnus.com>
18900 * genconfig.c (main): Disable HAVE_conditional_arithmetic.
18901 * jump.c (jump_optimize_1): Document why.
18903 Wed Oct 6 10:41:56 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
18905 * collect2.c (scan_prog_file, scan_libraries): Prototype function
18906 pointers and casts for `int_handler' and `quit_handler'.
18908 * flow.c (verify_flow_info, split_hard_reg_notes,
18909 find_insn_with_note, sets_reg_or_subreg_1, prepend_reg_notes,
18910 remove_edge, remove_fake_successors): Add static prototypes.
18911 (verify_flow_info): Wrap with macro ENABLE_CHECKING.
18912 (mark_set_1): Initialize variable `regno'.
18913 (unlink_insn_chain): Likewise for variable `curr'.
18914 (remove_fake_edges): Remove unused variables `e', `tmp' and `last'.
18916 * loop.c (strength_reduce): Initialize variable
18917 `unrolled_insn_copies'.
18918 (cmp_combine_givs_stats, cmp_recombine_givs_stats): Add static
18919 prototypes. Change these functions to take const PTR parameters
18920 to avoid prototype conflict when used as the comparson argument
18922 (check_dbra_loop): Initialize variable `comparison_val'.
18924 * reload.c (debug_reload_to_stream, debug_reload): Add prototypes.
18925 (get_secondary_mem): Mark parameter `x' with ATTRIBUTE_UNUSED.
18926 (find_valid_class): Initialize variable `best_class'.
18927 (find_reloads): Call memcpy, not bcopy.
18929 * reload1.c (gen_mode_int, dump_needs): Add prototypes.
18930 (hard_reg_use_compare): Don't needlessly cast away const.
18931 (reload_reg_class_lower): Likewise.
18932 (choose_reload_regs): Initialize variable `regno'.
18934 Tue Oct 5 16:34:12 1999 Paul Burchard <burchard@pobox.com>
18936 * ggc-page.c (GGC_ALWAYS_COLLECT): Fix typo when undef'ing.
18938 Tue Oct 5 16:14:40 1999 Michael Meissner <meissner@cygnus.com>
18940 * libgcc1-test.c (toplevel): Include stddef.h to get size_t.
18941 ({,d}discard): Add forward declarations. Declare parameter as
18943 (main_without_main): Explicitly declare return type to be int.
18944 (memcpy): Properly declare.
18946 * libgcc2.c (toplevel): If inhibit_libc is defined and not
18947 building the trampoline support, declare malloc, free, and
18949 (__clear_cache): Mark arguments as potentially unused.
18951 * frame.c (toplevel): If inhibit_libc is defined, declare
18954 Tue Oct 5 12:00:32 1999 Richard Henderson <rth@cygnus.com>
18956 * flow.c (make_edge): Accept an optional 2D bitmap in which
18957 to cache edge existence. Update all callers.
18958 (make_label_edge, make_eh_edge): Pass through the edge cache.
18959 (make_edges): Provide the cache.
18961 Tue Oct 5 12:16:49 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
18963 * mbchar.c (literal_codeset, local_mbtowc, local_mblen): Constify
18965 (local_mbtowc): Change the type of variable `i' from int to size_t.
18967 * mbchar.h (ISSJIS1, ISSJIS2): Use parens around && within ||.
18968 (local_mbtowc, local_mblen, literal_codeset): Constify a char*.
18970 Tue Oct 5 11:34:52 1999 Michael Meissner <meissner@cygnus.com>
18972 * ggc-common.c (toplevel): Reorder includes, so that ggc.h comes
18973 after other includes that define the appropriate types. Include
18974 tm_p.h for getting user prototypes.
18975 * ggc-callbacks.c (toplevel): Ditto.
18976 * ggc-none.c (toplevel): Ditto.
18977 * gcc-page.c (toplevel): Ditto.
18978 * ggc-simple.c (toplevel): Ditto.
18980 Mon Oct 4 16:48:16 1999 Diego Novillo <dnovillo@cygnus.com>
18981 Jonathan Larmour <jlarmour@cygnus.co.uk>
18983 * config/mips/mips.c (mips_move_2words): Split doubles if
18984 ISA >= 3, !TARGET_64BIT, and destination is not an FP register.
18986 Mon Oct 4 21:47:31 1999 Richard Henderson <rth@cygnus.com>
18988 * genrecog.c (struct decision_test): New.
18989 (struct decision): Remove test-related members, sort the rest by size.
18990 (IS_SPLIT): Simplify.
18991 (new_decision, new_decision_test): New.
18992 (add_to_sequence): Use them. No special handling for args of
18994 (maybe_both_true): Renamed from not_both_true; return sense changed.
18995 (maybe_both_true_1, maybe_both_true_2): New. Broken out
18996 of maybe_both_true and adjusted for decision_test.
18997 (position_merit): Remove.
18998 (nodes_identical, nodes_identical_1): New, broken out of merge_trees.
18999 (merge_accept_insn): New, broken out of merge_trees.
19000 (merge_trees): Use them. No special case for c_test; no node
19001 splitting; use test type instead of position_merit.
19002 (factor_tests): New.
19003 (simplify_tests): New.
19004 (break_out_subroutines): Don't write code now.
19005 (find_afterward): New.
19006 (write_afterward, write_switch, write_cond): New.
19007 (write_action, is_unconditional): New.
19008 (write_node): New. Use them.
19009 (write_tree_1): Rewrite. Use the new functions above.
19010 (write_tree): Remove afterward processing.
19011 (write_subroutine): Simplify function variant emission.
19012 (write_subroutines): New.
19013 (same_codes, clear_codes): Remove.
19014 (same_modes, clear_modes): Remove.
19015 (write_header): New, broken out of main.
19016 (make_insn_sequence): Use new_decision and new_decision_test.
19017 (process_tree): New, broken out of main.
19018 (main): Adjust for merge_trees interface change.
19019 Don't #define operands in the output file.
19020 (record_insn_name): New, broken out of make_insn_sequence.
19021 (debug_decision_2, debug_decision_1, debug_decision_0): New.
19022 (debug_decision): New.
19024 1999-10-04 21:58 -0700 Zack Weinberg <zack@bitmover.com>
19026 * resource.c (find_free_register): Mark class_str argument const.
19027 * resource.h: Update prototype to match.
19029 * i386.h (PREDICATE_CODES): Add entry for long_memory_operand.
19030 * i386.md: Give all anonymous insns names.
19032 Mon Oct 4 21:12:02 1999 Jeffrey A Law (law@cygnus.com)
19034 * flow.c (merge_blocks): Avoid assing BASIC_BLOCK for non-existent
19037 Mon Oct 4 21:01:39 1999 Richard Henderson <rth@cygnus.com>
19039 * toplev.c (dbr_sched_time): Unconditional.
19040 (peephole2_time): New.
19041 (compile_file): Add pass numbers to all of the dump file suffixes.
19042 Dump peephole2_time. Don't dump times for non-applicable passes.
19043 (rest_of_compilation): Add pass numbers to dump file suffixes.
19044 Conditionalize calls to the scheduler.
19045 * invoke.texi: Update.
19047 Mon Oct 4 20:25:13 1999 Anthony Green <green@cygnus.com>
19049 * flow.c (make_edges): Fix insn iteration.
19050 (find_basic_blocks): Assign NULL_RTX, not 0, to rtx.
19051 (find_basic_blocks_1): Fix spelling mistake.
19053 Mon Oct 4 16:56:11 1999 Richard Henderson <rth@cygnus.com>
19055 * tree.c (build1): Set TREE_SIDE_EFFECTS for expressions that
19056 always have side-effects. Use memset not bzero.
19057 (make_node): Likewise.
19059 Mon Oct 4 16:22:20 1999 Mark Mitchell <mark@codesourcery.com>
19061 * stmt.c (expand_anon_union_decl): When any of the elements of the
19062 union is addressable, so is the entire union.
19064 Mon Oct 4 11:38:33 1999 Richard Henderson <rth@cygnus.com>
19066 * sbitmap.c (sbitmap_ones): Don't set too many bits.
19068 * bitmap.h (enum bitmap_bits): Add BITMAP_XOR.
19069 * bitmap.c (bitmap_operation): Return true iff TO changed.
19070 (bitmap_equal_p): New.
19071 (bitmap_bit_p): Tidy arithmetic.
19072 (debug_bitmap_file): Likewise.
19074 Mon Oct 4 11:28:37 1999 Richard Henderson <rth@cygnus.com>
19076 * toplev.c (rest_of_compilation): Turn on cse_not_expected
19077 before cse2 instead of after.
19079 Mon Oct 4 09:55:17 1999 Stan Cox <scox@cygnus.com>
19081 * mips.h (GO_IF_LEGITIMATE_ADDRESS): Let leasi/liadi handle large
19084 Mon Oct 4 08:54:12 1999 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
19086 * cppinit.c (is_idchar initializer): Loosen tests to accept
19089 Mon Oct 4 02:31:20 1999 Mark Mitchell <mark@codesourcery.com>
19091 * mips.md: Define conditional move patterns for floating point
19092 operands and DI mode conditions.
19094 Mon Oct 4 02:12:41 1999 Mark Mitchell <mark@codesourcery.com>
19096 * tree.c (make_node): Set TREE_SIDE_EFFECTS for expressions that
19097 always have side-effects.
19099 Sun Oct 3 14:14:16 1999 Jeffrey A Law (law@cygnus.com)
19101 * mn10200.c (asm_file_start): Fix typo.
19103 * cppinit.c (is_idchar initializer): Tighten tests for when
19104 to put the table into initialized memory.
19106 * ggc-none.c (ggc_alloc_rtvec): An rtvec is an array of rtx,
19107 not an array of rtunion.
19108 * gcc-page.c (ggc_alloc_rtvec): Similarly.
19109 * gcc-simple (ggc_free_rtvec): Similarly.
19111 * genattrtab.c (simplify_cond): Make TESTS an array of rtxs, instead
19114 * mbchar.h: Add missing #endif.
19116 * t-fr30 (LIB2FUNCS_EXTRA): Remove definition.
19117 (FPBIT, DPBIT): Define.
19119 Sun Oct 3 12:44:05 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
19121 * print-tree.c (print_node, indent_to): Remove redundant prototypes.
19123 * profile.c (instrument_arcs, output_gcov_string,
19124 tablejump_entry_p): Add static prototypes.
19125 (output_gcov_string): Constify a char*.
19127 * regmove.c (replacement_quality, fixup_match_2): Add static
19130 * resource.h (reg_dead_p): Add extern prototype.
19132 * rtl.c (trim_filename): Add static prototype.
19134 * scan-decls.c (skip_to_closing_brace): Likewise.
19136 * stmt.c (expand_decl_cleanup_no_eh): Hide definition.
19137 (expand_end_case): Initialize variable `range'.
19138 (emit_case_nodes): Remove unused prototype `rtx_fn'.
19140 * varasm.c (asm_emit_uninitialised): Add static prototype.
19141 (asm_emit_uninitialised, assemble_variable): Mark parameter with
19144 Sun Oct 3 12:24:52 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
19146 * cpplib.c (if_directive_nameo): Add static prototype.
19148 * cse.c (cse_insn): Remove unused variable `p'.
19150 * except.c (create_rethrow_ref, push_entry,
19151 receive_exception_label, new_eh_region_entry, find_func_region,
19152 clear_function_eh_region, process_nestinfo): Add static prototypes.
19153 (get_reg_for_handler): Hide definition.
19154 (process_nestinfo): Initialize variable `extra_handlers'.
19156 * expr.h (expand_builtin_longjmp): Add extern prototype.
19158 * final.c (final_addr_vec_align, align_fuzz): Add static prototypes.
19160 * function.c (prepare_function_start): Likewise.
19161 (pop_function_context_from): Mark parameter `context' with
19163 (push_temp_slots_for_block, flush_addressof): Hide definition.
19165 * gcov.c (init_arc, reverse_arcs, create_program_flow_graph,
19166 solve_program_flow_graph, calculate_branch_probs,
19167 function_summary, main, fancy_abort): Add prototypes.
19169 * gen-protos.c (add_hash, parse_fn_proto, main): Likewise.
19170 (add_hash): Constify a char*.
19172 * ggc-common.c (ggc_mark_rtx_ptr, ggc_mark_tree_ptr,
19173 ggc_mark_tree_varray_ptr, ggc_mark_tree_hash_table_ptr,
19174 ggc_mark_string_ptr, ggc_mark_tree_hash_table_entry): Add prototypes.
19176 * integrate.c (expand_inline_function_eh_labelmap): Likewise.
19178 * lists.c (free_list, zap_lists): Likewise.
19180 Sun Oct 3 12:05:28 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
19182 * alias.c (nonlocal_reference_p): Add static prototype.
19184 * bitmap.c (bitmap_element_allocate): Prototype args in function
19187 * builtins.c (stabilize_va_list): Add static prototype.
19188 (expand_builtin_va_arg): Constify a char*.
19190 * c-lex.c (getch, put_back, extend_token_buffer_to,
19191 read_line_number, token_getch, token_put_back): Add static
19194 * c-parse.gperf (hash, is_reserved_word): Likewise.
19196 * cccp.c (is_dir_separator): Likewise.
19198 Sat Oct 2 16:07:56 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
19200 * graph.h: New file to prototype functions exported by graph.c.
19202 * Makefile.in (graph.o, toplev.o): Depend on graph.h.
19204 * graph.c: Include graph.h.
19206 * toplev.c: Likewise. Remove redundant prototypes.
19208 Sat Oct 2 11:28:33 1999 Krister Walfridsson <cato@df.lth.se>
19210 * invoke.texi: Removed duplicated description for -Q.
19212 Sat Oct 2 11:16:00 1999 Jim Kingdon <http://developer.redhat.com>
19214 * extend.texi: Grammar fix in __extension__ text.
19216 Sat Oct 2 11:06:31 1999 Richard Henderson <rth@cygnus.com>
19218 * md.texi (define_peephole2): New section.
19220 Sat Oct 2 10:57:56 1999 Jan Hubicka <hubicka@freesoft.cz>
19222 * i386.md (mov?i patterns): Fix handling of TARGET_USE_MOV0
19223 (mov $-1 to or peepholer): Enable for pentium when optimizing for
19226 Sat Oct 2 10:55:25 1999 Jan Hubicka <hubicka@freesoft.cz>
19228 * builtins.c (expand_builtin_strlen): Fix best mode searching loop.
19230 Sat Oct 2 10:53:22 1999 Jan Hubicka <hubicka@freesoft.cz>
19232 * i386.md (ffs expander): Emit Pentium friendly code for
19235 Sat Oct 2 02:48:21 1999 Mark P. Mitchell <mark@codesourcery.com>
19237 * tree.c (build): Don't look at TREE_SIDE_EFFECTS or TREE_RAISES
19239 (build1): Likewise.
19241 Fri Oct 1 18:01:11 1999 Bernd Schmidt <bernds@cygnus.co.uk>
19243 * i386elf.h (TARGET_DEFAULT): Use symbolic constants.
19245 Fri Oct 1 12:42:53 1999 Andreas Schwab <schwab@suse.de>
19247 * config/m68k/m68k.c (use_return_insn): Return false if the pic
19248 register is in use.
19250 Fri Oct 1 10:56:06 1999 Bernd Schmidt <bernds@cygnus.co.uk>
19252 * md.texi (No Constraints): Delete section.
19253 * Makefile.in (genattrtab.o): Don't depend on "insn-config.h".
19254 * final.c (final_scan_insn): We always have register constraints.
19255 * genattrtab.c: Don't include "insn-config.h".
19256 (write_attr_case): We always have register constraints.
19257 * genconfig.c (register_constraint_flag): Delete.
19258 (walk_insn_part): Don't check whether we have register constraints.
19259 (main): Don't write out "#define REGISTER_CONSTRAINTS".
19260 * genoutput.c (have_constraints): Delete.
19261 (main): Don't set it.
19262 (output_operand_data): We always have constraints.
19263 (scan_operands): Likewise.
19264 (compare_operands): Likewise.
19265 * local-alloc.c (block_alloc): We always have constraints.
19266 (requires_inout): Always compile this function.
19267 * recog.c (extract_insn): We always have constraints.
19268 (constrain_operands, reg_fits_class_p): Always compile these
19270 * recog.h (struct recog_data): Delete non-REGISTER_CONSTRAINTS
19272 (struct insn_operand_data): Likewise.
19273 * regclass.c (regclass): We always have constraints.
19274 (record_reg_classes, copy_cost, record_address_regs,
19275 auto_inc_dec_reg_p): Always compile these functions.
19276 * regmove.c (regmove_optimize): We always have constraints.
19277 * reload.c (find_reloads): Likewise.
19278 * reload1.c (reload): Likewise.
19279 (reload_cse_simplify_operands): Likewise.
19280 * i860.c (output_delay_insn): Likewise.
19282 Thu Sep 30 23:04:41 1999 Mark P. Mitchell <mark@codesourcery.com>
19284 * iris6.h (BUILD_VA_LIST_TYPE): Define.
19286 Thu Sep 30 18:44:50 1999 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
19288 * rs6000.c (rs6000_build_va_list): Create a TYPE_DECL node
19289 for the va_list record.
19291 Thu Sep 30 18:34:54 1999 Jan Hubicka <hubicka@freesoft.cz>
19293 * i386.c (ix86_adjust_cost): Ignore false ebp dependencies in
19296 Thu Sep 30 18:31:36 1999 Jan Hubicka <hubicka@freesoft.cz>
19298 * alias.c: Include insn-flags.h.
19299 * Makefile.in (alias.o): Update.
19301 Thu Sep 30 18:21:30 1999 Jan Hubicka <hubicka@freesoft.cz>
19303 * i386.c (ix86_expand_int_movcc): Convert LEU and GTU comparisons
19304 to LTU and GEU. Handle more cases using sbb.
19306 Thu Sep 30 18:18:39 1999 Jan Hubicka <hubicka@freesoft.cz>
19308 * i386.md (truncatexfdf splitters): Do not use subreg.
19309 (fop XFmode patterns): Fix mode in operand testing.
19311 Thu Sep 30 18:04:13 1999 Richard Henderson <rth@cygnus.com>
19313 * jump.c (jump_optimize_1): Amend last change to test only the
19314 form of the operand, not the insn.
19316 * jump.c (jump_optimize_1) [conditional_move]: Use general_operand
19317 not register_operand to determine when B may need preloading.
19319 Thu Sep 30 17:39:16 1999 Richard Henderson <rth@cygnus.com>
19321 * alpha.md (*): Use nonimmediate not general_operand for SET_DEST.
19322 (ffsdi2, extxl, insxh, mskxh): Add missing DImode to SET_SRC.
19323 (call-value patterns): Move to end of file.
19324 (*): Remove mode from label_ref in (pc) context.
19325 (movstrqi): Use memory not general_operand for BLKmode operands.
19326 (prologue_stack_probe_loop, builtin_longjmp): Add missing mode
19327 to register_operand operands.
19328 (peep2 patterns): Convert from commented-out peephole patterns.
19330 Thu Sep 30 14:39:17 1999 Bernd Schmidt <bernds@cygnus.co.uk>
19332 * tree.h (enum built_in_function): Rename BUILT_IN_DWARF_REG_SIZE
19333 to BUILT_IN_INIT_DWARF_REG_SIZES.
19334 * builtins.c (expand_builtins, case BUILT_IN_INIT_DWARF_REG_SIZES):
19335 Renamed from BUILT_IN_DWARF_REG_SIZE; call
19336 expand_builtin_init_dwarf_reg_sizes.
19337 * c-decl.c (init_decl_processing): Replace __builtin_dwarf_reg_size
19338 with __builtin_init_dwarf_reg_size_table.
19339 * dwarf2out.c (struct reg_size_range): Delete.
19340 (expand_builtin_init_dwarf_reg_sizes): New function.
19341 (expand_builtin_dwarf_reg_size): Delete.
19342 * except.h (expand_builtin_init_dwarf_reg_sizes): Declare.
19343 (expand_builtin_dwarf_reg_size): Don't declare.
19344 * libgcc2.c (dwarf_reg_size_table_initialized): New.
19345 (dwarf_reg_size_table): New.
19346 (init_reg_size_table): New function.
19347 (copy_reg): Use dwarf_reg_size_table.
19348 (eh_context_initialize): Make sure dwarf_reg_size_table is initialized
19351 Thu Sep 30 05:40:34 1999 Richard Earnshaw <rearnsha@arm.com>
19353 * c-lang.c (finish_file case ndef ASM_OUTPUT_{CON,DE}STRUCTOR):
19354 Correctly build argument list to constructor and destructor functions.
19356 Thu Sep 30 00:13:27 1999 Dirk Zoller <duz@rtsffm.com>
19358 * c-tree.h (warn_float_equal): Declare.
19359 * c-decl.c (warn_float_equal): Define.
19360 (c_decode_option): Recognize -W[no-]float-equal.
19361 * c-typeck.c (build_binary_op): Conditionally warn
19362 about equality tests of floating point types.
19363 * toplev.c (documented_lan_options): Add -W[no-]float-equal.
19364 * invoke.texi: Add docs for -Wfloat-equal warning.
19366 Wed Sep 29 23:43:39 1999 Jeffrey A Law (law@cygnus.com)
19368 * h8300.h (INIT_TARGET_OPTABS): Use init_one_optab instead of
19369 generating RTL directly.
19370 * mips.h (INIT_TARGET_OPTABS): Likewise.
19371 * mn10200.h (INIT_TARGET_OPTABS): Likewise.
19373 * expr.h (init_mov_optab): Delete declaration
19375 * h8300.c (WORD_REG_USED): Update to avoid useless register
19376 saves in interrupt functions and functions which never return.
19378 * cse.c (struct set): Delete inner_dest_loc field.
19379 (cse_insn): Remove assignments to inner_dest_loc field.
19381 Wed Sep 29 16:06:20 1999 Richard Henderson <rth@cygnus.com>
19383 * ggc-page.c: Don't include <unistd.h> etc taken care of
19384 by "system.h". Include <sys/mman.h> afterward.
19386 Wed Sep 29 16:05:18 1999 Richard Henderson <rth@cygnus.com>
19388 * rs6000.c (rs6000_encode_section_info): If ggc_p, use
19391 Tue Sep 28 16:45:40 1999 David Edelsohn <edelsohn@gnu.org>
19393 * xcoffout.c (xcoffout_declare_function): Add documentation.
19394 * rs6000.c (num_insns_constant_wide): Use TARGET_POWERPC64 not
19395 TARGET_64BIT. Compare constant to -1, not bit pattern.
19396 (easy_fp_constant): Use TARGET_POWERPC64 not TARGET_64BIT.
19397 (expand_block_move): Allow 8 DImode loads for PowerPC64. Fix
19400 Tue Sep 28 16:43:14 1999 Nick Clifton <nickc@cygnus.com>
19402 * dwarf2out.c (add_abstract_origin_attribute): Abort if
19403 origin_die is NULL.
19404 (gen_inlined_enumeration_type_die): Do not abort if the type has
19405 not been writeen out.
19406 (gen_inlined_structure_type_die): Do not abort if the type has
19407 not been writeen out.
19408 (gen_inlined_union_type_die): Do not abort if the type has
19409 not been writeen out.
19410 (gen_tagged_type_instantiation_die): Do not abort if the type
19411 has not been written out.
19413 Tue Sep 28 14:33:47 1999 Bernd Schmidt <bernds@cygnus.co.uk>
19415 * c-decl.c (init_decl_processing): If MD_INIT_BUILTINS is defined,
19417 * reg-stack.c (straighten_stack): Copy hard reg set with
19420 Tue Sep 28 01:11:05 1999 Richard Henderson <rth@cygnus.com>
19422 * builtins.c (stabilize_va_list): Stabilize array type va_list
19423 to a pointer type, not the base record type.
19424 (expand_builtin_va_copy): Dereference the pointers explicitly;
19425 use the correct size for the copy.
19427 * rs6000.c (rs6000_va_start): Dereference valist to get to the record.
19428 (rs6000_va_arg): Likewise.
19430 Mon Sep 27 23:27:21 1999 Richard Henderson <rth@cygnus.com>
19432 * rtl.h (struct rtx_def): Move gc_mark to align mode field.
19434 Mon Sep 27 23:20:29 1999 Mark Mitchell <mark@codesourcery.com>
19436 * tree.h (struct tree_decl): Use `bclass', not `class', in name of
19438 (DECL_BUILT_IN_CLASS): Adjust accordingly.
19440 Mon Sep 27 23:03:16 1999 Richard Henderson <rth@cygnus.com>
19442 * ggc-page.c (GGC_MIN_LAST_ALLOCATED): New.
19443 (init_ggc): Use it instead of a constant.
19444 (ggc_collect): Bound allocated_last_gc by it.
19446 Mon Sep 27 19:06:04 1999 Jeffrey A Law (law@cygnus.com)
19448 * fixinc/fixinc.irix (stdio.h): Hack stdio.h to avoid problems
19451 Mon Sep 27 19:40:17 CEST 1999 Marc Espie <espie@cvs.openbsd.org>
19453 * configure.in (mips*el-*-openbsd*): Don't duplicate default settings.
19454 (mips*-*-openbsd*): Let big endian configuration be a fragment.
19455 * configure: Regen.
19456 * config/mips/openbsd.h: New, OpenBSD little endian target.
19457 * config/mips/openbsd-be.h: New, OpenBSD big endian target fragment.
19458 * config/mips/xm-openbsd.h: New, OpenBSD host.
19460 Mon Sep 27 10:28:48 1999 Andreas Schwab <schwab@suse.de>
19462 * config/m68k/m68k.c (output_function_prologue,
19463 output_function_epilogue): Use
19464 current_function_uses_pic_offset_table instead of regs_ever_live
19465 to decide whether to save/restore pic register.
19466 (legitimize_pic_address): Don't modify regs_ever_live any more.
19468 Sun Sep 26 10:55:36 1999 Mark Mitchell <mark@codesourcery.com>
19470 * function.h (struct function): Add x_dont_save_pending_sizes_p.
19471 * stor-layout.c (variable_size): Don't add sizes to the pending
19472 sizes list if x_dont_save_pending_sizes_p is set.
19474 Sun Sep 26 16:36:52 1999 Robert Lipe (robertlipe@usa.net)
19476 * config/i386/dgux.h (SELECT_RTX_SECTION): Provide dummy argument
19477 for symbolic_operand().
19478 * config/i386/sco5.h (SELECT_RTX_SECTION): Likewise.
19480 Sun Sep 26 07:37:11 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
19482 * combine.c (gen_rtx_combine): Add missing call to va_end().
19484 * final.c (asm_fprintf): Likewise.
19486 * genattrtab.c (attr_rtx): Likewise.
19488 Sat Sep 25 13:11:07 1999 Jeffrey A Law (law@cygnus.com)
19490 * cse.c: Update comments.
19491 (cse_insn): When converting a conditional/computed jump into
19492 an unconditional jump, always make sure a BARRIER immediately
19493 follows the converted jump. Do not delete unreachable code.
19494 (cse_basic_block): Do not delete unreachable code.
19495 * toplev.c (rest_of_compilation): Move call to
19496 delete_trivially_dead_insns after the conditional call to
19499 Sat Sep 25 09:03:17 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
19501 * collect2.c (make_temp_file): Don't prototype.
19503 * gcc.c (make_temp_file): Likewise.
19505 * mips.c (mips_make_temp_file): Renamed from `make_temp_file'.
19507 Sat Sep 25 13:42:15 1999 Nick Clifton <nickc@cygnus.com>
19509 * varasm.c (asm_emit_uninitialised): New function: Generate
19510 the assembler statements necessary to declare an uninitialised
19512 (ASM_EMIT_LOCAL): New macro: Emit a local, uninitialised
19514 (ASM_EMIT_BSS): New macro: Emit an entry in the bss section.
19515 (ASM_EMIT_COMMON): New macro: Emit an entry in the common
19517 (assemble_variable): Use asm_emit_uninitialised to emit an
19518 uninitialised variable.
19520 Fri Sep 24 17:10:56 1999 Nick Clifton <nickc@cygnus.com>
19522 * combine.c (simplify_comparison): Cope with downshifting a 32 bit
19523 constant on a 64 bit host. Patch supplied by Geoffrey Keating
19524 <geoffk@cygnus.com>.
19526 Fri Sep 24 10:48:10 1999 Bernd Schmidt <bernds@cygnus.co.uk>
19528 * builtins.c (expand_builtin): Use MD_EXPAND_BUILTIN if defined.
19529 * c-common.h (builtin_function): Don't declare.
19531 * c-decl.c (duplicate_decls): Use DECL_BUILT_IN_CLASS rather than
19533 (pushdecl): Likewise.
19534 (finish_decl): Likewise.
19535 (builtin_function): New arg CLASS. Arg FUNCTION_CODE now of type
19536 int. All callers changed.
19537 Set the builtin's DECL_BUILT_IN_CLASS.
19538 * tree.h (enum built_in_class): New.
19539 (enum built_in_function): Delete NOT_BUILT_IN.
19540 (DECL_FUNCTION_CODE): The corresponding field in tree_decl is now
19542 (DECL_SET_FUNCTION_CODE): Likewise.
19543 (DECL_BUILT_IN_CLASS): New macro.
19544 (DECL_BUILT_IN): Use DECL_BUILT_IN_CLASS.
19545 (struct tree_decl): Split builtin function code field into a
19547 (builtin_function): Declare.
19549 Fri Sep 24 01:45:05 1999 Mark Mitchell <mark@codesourcery.com>
19551 * optabs.c (init_traps): Fix typo in last change.
19553 Fri Sep 24 01:10:11 1999 Mark Mitchell <mark@codesourcery.com>
19555 * toplev.c (rest_of_decl_compilation): Update comment.
19557 Fri Sep 24 11:57:06 1999 Geoffrey Keating <geoffk@cygnus.com>
19559 * config/mips/elf.h (ASM_OUTPUT_ALIGNED_BSS): Put the symbol
19560 in .sbss if appropriate.
19561 (EXTRA_SECTION_FUNCTIONS): Add sbss.
19562 (SBSS_SECTION_ASM_OP): New macro.
19563 * config/mips/linux.h (EXTRA_SECTION_FUNCTIONS): Add sbss.
19564 (EXTRA_SECTIONS): Add in_sbss.
19565 * config/mips/mips.h: Prototype sbss_section.
19567 Thu Sep 23 18:18:55 1999 Mark Mitchell <mark@codesourcery.com>
19569 * stmt.c (expand_start_bindings): Don't allow cleanup instructions
19572 Thu Sep 23 18:07:01 1999 Mark Mitchell <mark@codesourcery.com>
19574 * optabs.c (init_traps): Register trap_rtx as a GC root.
19576 Thu Sep 23 17:41:47 1999 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
19578 * config/mips/mips.c (function_arg_pass_by_reference): Define
19579 unconditionally, since it's called unconditionally.
19581 Thu Sep 23 13:40:02 1999 Jason Merrill <jason@yorick.cygnus.com>
19583 * toplev.c (documented_lang_options): Add -fshort-wchar.
19584 * c-decl.c (c_decode_option): Likewise.
19585 (init_decl_processing): If -fshort-wchar, use 'short unsigned int'
19587 * c-common.c, c-lex.c: Get WCHAR_TYPE_SIZE from wchar_type_node.
19588 * gcc.c (default_compilers): If -fshort-wchar,
19589 override __WCHAR_TYPE__.
19590 * tm.texi (C Dialect Options): Add -fshort-wchar.
19592 * dwarf2out.c (output_aranges): Use DW_AT_location to find the
19593 symbol for a variable.
19595 * cpplib.h (CPP_PREPROCESSED): New macro.
19596 * cpplib.c (handle_directive): Don't complain about `# NUMBER' if
19597 we're seeing this input for a second time.
19599 Thu Sep 23 12:54:49 1999 Alex Samuel <samuel@codesourcery.com>
19601 * emit-rtl.c (init_emit_once): Initialize modes first.
19603 Sun Sep 19 01:23:23 1999 Alex Samuel <samuel@codesourcery.com>
19605 * config/i386/i386.c (pic_label_name): Change to char pointer.
19606 (global_offset_table): New variable.
19607 (load_pic_register): Fill global_offset_table if it hasn't
19608 already been done. Allocate pic_label_name dynamically.
19609 * ggc.h (empty_string): New variable.
19610 * ggc-simple.c (empty_string): Likewise.
19611 (init_ggc): Allocate empty_string and add as root.
19612 * stmt.c (digit_strings): New variable.
19613 (init_stmt): Add last_block_end_note as root. Allocate and
19614 initialize digit_strings.
19615 (expand_asm_operands): Use empty_string instead of string
19616 constant. Use digit_strings instead of string constants.
19617 * profile.c (init_arc_profiler): Allocate string with
19618 ggc_alloc_string instead of xmalloc.
19619 (output_func_start_profiler): Likewise.
19620 * c-typeck.c (digest_init): Check if init is error_mark_node.
19622 Thu Sep 23 12:59:14 1999 Alex Samuel <samuel@codesourcery.com>
19623 Richard Henderson <rth@cygnus.com>
19625 * ggc-page.c: New file.
19626 * Makefile.in (ggc-page.o): New.
19628 Thu Sep 23 13:55:21 1999 Jeffrey A Law (law@cygnus.com)
19630 * invoke.texi: Document -fdelete-null-pointer-checks
19631 * toplev.c (flag_delete_null_pointer_checks): New.
19632 (f_options): Add entry for -fdelete-null-pointer-checks.
19633 (rest_of_compilation): Conditionalize null pointer check
19634 elimination on flag_delete_null_pointer_checks.
19635 (main): If -O2 or greater, enable -fdelete-null-pointer-checks
19637 1999-09-23 10:56 -0700 Zack Weinberg <zack@bitmover.com>
19639 * iso646.h, stdarg.h, stdbool.h, stddef.h, varargs.h: Add
19640 copyright notice and special exception to GPL.
19642 Thu Sep 23 13:40:23 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
19644 * abi64.h (mips_function_value): Add prototype arguments.
19646 * mips-protos.h: New file with mips prototypes.
19648 * mips.c: Include "tm_p.h".
19649 (mktemp, lookup_name): Add prototype arguments.
19650 (extern_list, string_constant, mips_fill_delay_slot,
19651 mips_output_external, mips_output_external_libcall,
19652 mips_output_filename, mips_declare_object, function_prologue,
19653 mips_expand_prologue, function_epilogue, mips16_constant,
19654 build_mips16_function_stub, mips_output_conditional_branch):
19656 (mips_va_start): Remove unused variable `u'.
19657 (mips_va_arg): Cast value to unsigned when comparing against one.
19659 (save_restore_insns, mips_expand_prologue): Add missing arg in
19660 call to `large_int'.
19662 * mips.h: Move prototypes to mips-protos.h.
19663 (data_section, memory_address_p, rdata_section,
19664 readonly_data_section, simple_epilogue_p, text_section): Delete
19665 prototypes delcared elsewhere.
19666 (mips_epilogue_delay_slots, print_options): Delete unused decls.
19668 (GO_PRINTF, GO_PRINTF2): Call fprintf, not trace.
19670 * mips.md: Delete extra args in call to `mips_move_2words'.
19672 * xm-iris6.h (alloca): Add prototype argument.
19674 * genpeep.c: Include "tm_p.h" in generated output file.
19676 Thu Sep 23 10:36:55 EDT 1999 Andrew MacLeod <amacleod@cygnus.com>
19678 * basic-block.h (find_edge_index): Change parameters.
19679 * flow.c (verify_edge_list): Pass basic_block parameters to
19680 find_edge_index instead of integers.
19682 Thu Sep 23 15:54:12 1999 Nick Clifton <nickc@cygnus.com>
19684 * combine.c (simplify_comparison): Use an unsigned shift to adjust
19687 Thu Sep 23 08:46:21 1999 Guy Harris <guy@netapp.com>
19689 * gcc.1: Fix a formatting error.
19691 Wed Sep 22 16:10:21 1999 Martin v. Löwis <loewis@informatik.hu-berlin.de>
19693 * install.texi (Configurations): Remove pyramid. Add fr30, i686,
19694 i786, mn10200, mn10300, pdp11, v850.
19696 Thu Sep 23 07:37:13 1999 Dan Nicolaescu <dann@ics.uci.edu>
19698 * libgcc2.c (num_digits): Add prototype with
19699 __attribute__((const)).
19700 (__terminate): Add prototype.
19702 Thu Sep 23 05:32:06 1999 Richard Henderson <rth@cygnus.com>
19704 * builtins.c, dbxout.c, varasm.c: Include tm_p.h.
19706 * alpha/alpha.c (print_operand): Fix type of `code'.
19707 (alpha_output_filename): Constify.
19708 * alpha/alpha.h: Move all function declarations ...
19709 * alpha/alpha-protos.h: ... here. New file.
19710 * alpha/elf.h (CONST_SECTION_FUNCTION): Prototype the function.
19711 (SECTION_FUNCTION_TEMPLATE): Likewise.
19713 Thu Sep 23 11:15:36 1999 Bernd Schmidt <bernds@cygnus.co.uk>
19715 * expmed.c (do_cmp_and_jump): Pass ccp_jump to can_compare_p.
19716 * expr.c (expand_expr): Likewise.
19717 (do_jump): Likewise.
19718 (do_store_flag): Pass ccp_store_flag to can_compare_p.
19719 * expr.h (enum optab_index): Add cbranch, cmov, cstore optabs and
19721 (enum can_compare_purpose): New.
19722 (can_compare_p): Adjust prototype.
19723 (prepare_cmp_insn, prepare_operand): Declare.
19724 * genopinit.c (optabs): Add cbranch_optab, cmov_optab, cstore_optab.
19725 * optabs.c (cmp_available_p): Deleted.
19726 (expand_abs): Pass ccp_jump to can_compare_p.
19727 (can_compare_p): New arg PURPOSE. Check for combined optabs.
19728 (prepare_cmp_insn): No longer static. Add arg PURPOSE.
19729 Call can_compare_p rather than cmp_available_p.
19730 (prepare_operand): No longer static.
19731 (emit_cmp_and_jump_insn): Check for and use cbranch patterns.
19732 (emit_cmp_and_jump_insns): Pass ccp_jump to prepare_cmp_insn.
19733 (expand_float): Fix a slightly broken emit_cmp_insn/emit_jump_insn
19734 sequence to use emit_cmp_and_jump_insns.
19735 (init_optabs): Initialize cbranch_optab, cmov_optab, cstore_optab.
19737 Wed Sep 22 17:58:01 1999 Stan Cox <scox@cygnus.com>
19739 * mips.h (GO_IF_LEGITIMATE_ADDRESS): Don't accept large
19740 register offsets; let LEGITIMIZE_ADDRESS load it into a register.
19741 (LEGITIMIZE_ADDRESS): Use plus_constant to avoid
19742 (plus (reg) (const_int 0))
19743 * mips.md (call_internal3c): New pattern for -mips16 -mlong-calls.
19745 Wed Sep 22 17:55:31 1999 David Edelsohn <edelsohn@gnu.org>
19747 * rs6000.c (expand_block_move): DImode loads and stores require
19748 word-aligned displacements. Increment address registers with
19749 adddi3 on 64-bit platform. Use TARGET_POWERPC64 not TARGET_64BIT.
19751 Wed Sep 22 17:35:55 1999 Michael Meissner <meissner@cygnus.com>
19753 * dwarf2out.c (base_type_die): Use the name __unknown__ if there
19754 is no name for the base type, rather than segfault. If we are
19755 writing out a complex integer type, use DW_ATE_lo_user.
19757 * expr.c (emit_move_insn_1): If we are copying a complex that fits
19758 in one word or less (complex char, complex short, or on 64 bit
19759 systems complex float) to/from a hard register, copy it through
19760 memory instead of dying in gen_{real,imag}part. If we have a
19761 short complex type, prevent inlining since it allocates stack
19764 * tree.c (build_complex_type): If we are writing dwarf2 output,
19765 generate a name for complex integer types.
19767 Wed Sep 22 11:34:08 EDT 1999 Andrew MacLeod <amacleod@cygnus.com>
19769 * basic-block.h (add_noreturn_fake_exit_edges): Use correct name.
19770 * flow.c (remove_edge): Remove extra whitespace.
19771 (remove_fake_edges): Fix comment.
19772 (add_noreturn_fake_exit_edges): Use the correct name.
19774 Wed Sep 22 16:12:40 BST 1999 Nathan Sidwell <nathan@acm.org>
19776 * Makefile.in (INTL_MOSTLYCLEAN, INTL_CLEAN): New variables.
19777 (mostlyclean): Depend on INTL_MOSTLYCLEAN.
19778 (clean): Depend on INTL_CLEAN.
19779 (maintainer-clean): Adjust.
19781 Wed Sep 22 10:18:56 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
19783 * configure.in (AC_PREREQ): Bump to 2.13.
19784 (AC_C_STRINGIZE): Call this instead of using a custom macro.
19786 * gansidecl.h (HAVE_STRINGIZE): Define, if stage2 gcc && __STDC__.
19788 * system.h (HAVE_STRINGIZE): Test this instead of HAVE_CPP_STRINGIFY.
19790 * acconfig.h (HAVE_CPP_STRINGIFY): Delete.
19792 * alpha/xm-vms.h (HAVE_CPP_STRINGIFY): Delete.
19793 (HAVE_STRINGIZE): Define.
19795 Wed Sep 22 06:25:15 1999 Jim Kingdon <http://developer.redhat.com>
19797 * c-parse.in: save and restore warn_pointer_arith on __extension__
19798 along with pedantic.
19799 (SAVE_WARN_FLAGS, RESTORE_WARN_FLAGS): Added.
19800 Set the type of extension to itype rather than $<itype>1 kludge.
19801 * extend.texi (Alternate Keywords): Adjust documentation.
19802 * c-parse.c, c-parse.y, objc-parse.c, objc-parse.y: Rebuilt.
19804 Wed Sep 22 06:06:57 1999 Jeffrey A Law (law@cygnus.com)
19806 * pa.c, pa.h, pa.md: Support multiple assembler dialects in
19807 most assembler templates.
19809 * pa.c (hppa_legitimize_address): Handle full offsets for PA2.0
19810 FP loads and stores.
19811 (following_call): Always return zero for the PA8000.
19812 * pa.h (GO_IF_LEGITIMATE_ADDRESS): Handle full offsets for PA2.0
19813 FP loads and stores.
19814 (LEGITIMIZE_RELOAD_ADDRESS): Similarly.
19816 * pa.h (BRANCH_COST): Define.
19818 * pa.md (return, return_internal): Use bve for PA2.0.
19820 * pa.md (fused multiply): Add variants which reduce height for the
19821 fused multiply, but which still generate 2 insns.
19822 (fnegabs): Similarly.
19824 * pa.md (subsi3): Turn into an expander. Create two anonymous
19825 patterns. One for PA2.0 one for PA1.x. Use mtsarcm for PA2.0.
19826 * pa.h (EXTRA_CONSTRAINT): Handle 'S'.
19828 * pa.md (floatunssisf2, floatunssidf2): Generate different RTL
19830 (floatunssidf2_pa20, floatunssisf2_pa20): New patterns for PA2.0
19832 (floatunsdisf2, floatunsdidf2, fixuns_truncsfsi2): Likewise.
19833 (fixuns_truncdfsi2, fixuns_truncsfdi2, fixuns_truncdfsi2): Likewise.
19835 * regclass.c (init_regs): Add "top_of_stack" as a garbage
19838 * flow.c (record_active_eh_regions): Terminate loop after finding
19839 the last insn in the last basic block.
19841 Wed Sep 22 20:25:00 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
19843 * config/c4x/c4x.md: Delete parallel instruction peepholes.
19845 Wed Sep 22 19:59:19 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
19847 * config/c4x/c4x.c (c4x_add_gc_roots): Add tree roots.
19849 Wed Sep 22 19:56:25 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
19851 * config/c4x/c4x.c (c4x_process_after_reload): Rework machdep insn
19852 splitting to not use output template.
19854 Wed Sep 22 19:50:12 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
19856 * config/c4x/c4x.h (EXPAND_BUILTIN_VA_START): Call c4x_va_start.
19857 * config/c4x/c4x.c (c4x_va_start): New function.
19859 Tue Sep 21 18:40:01 1999 Jan Hubicka <hubicka@freesoft.cz>
19861 * genrecog.c (not_both_true): Handle correctly cases when called for
19862 tests with different positions in the insn.
19864 Tue Sep 21 18:29:11 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
19866 * machmode.h (HOST_PTR_PRINTF): Move from here ...
19868 * system.h (HOST_PTR_PRINTF): ... to here.
19870 * mips-tfile.c: Don't include machmode.h.
19872 * Makefile.in (MACHMODE_H): New variable. Update to use it.
19873 (mips-tfile.o): Don't depend on machmode.h.
19875 Tue Sep 21 18:27:34 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
19877 * haifa-sched.c (sched_analyze): Rename local variable `region' to
19878 avoid conflicts with typedef struct `region' at the top level scope.
19880 Tue Sep 21 14:14:50 1999 Richard Henderson <rth@cygnus.com>
19882 * basic-block.h (basic_block): Add eh_beg, eh_end.
19883 * flow.c (entry_exit_blocks): Update.
19884 (find_basic_blocks): Don't allocate bb_eh_end, or pass it around.
19885 Call new functions.
19886 (find_basic_blocks_1): Don't record eh_list at each bb. Use
19887 lists.c functions to allocate insn lists.
19888 (make_edges): Use eh_beg+eh_end, not the lists. Split out EH
19890 (make_eh_edge): ... here. New.
19891 (move_stray_eh_region_notes): New.
19892 (record_active_eh_regions): New.
19893 (delete_unreachable_blocks): Split out block merging ...
19894 (try_merge_blocks): ... here. New.
19895 (merge_blocks_move_predecessor_nojumps): Remove edge arg.
19896 Dump debugging data.
19897 (merge_blocks_move_successor_nojumps): Likewise.
19898 (merge_blocks): Use eh_beg+eh_end to validate block movement.
19900 Tue Sep 21 11:15:03 1999 Martin v. Löwis <loewis@informatik.hu-berlin.de>
19902 * extend.texi (Bound member functions): Document unbound pmf
19905 Tue Sep 21 14:55:11 EDT 1999 Andrew MacLeod <amacleod@cygnus.com>
19907 * flow.c (split_edge): Handle insertion on a fallthrough edge which
19908 has the EXIT_BLOCK as a dest.
19910 Tue Sep 21 14:51:23 EDT 1999 Andrew MacLeod <amacleod@cygnus.com>
19912 * flow.c (remove_edge): New function to remove an edge from the
19914 (remove_fake_successors): New function to remove fake successor edges.
19915 (remove_fake_edges): New function to remove all fake edges from the
19917 (add_fake_exit_edges): New function to add fake edges from all blocks
19918 with no successors to the exit block.
19919 * basic-block.h (remove_fake_edges, add_fake_exit_edges): Add
19920 prototypes for new functions.
19922 Tue Sep 21 14:49:53 EDT 1999 Andrew MacLeod <amacleod@cygnus.com>
19924 * config/mips/elf64.h (ASM_OUTPUT_CONSTRUCTOR, ASM_OUTPUT_DESTRUCTOR):
19925 Use Pmode to determine whether to output .dword or .word.
19927 Tue Sep 21 11:04:34 1999 Alex Samuel <samuel@codesourcery.com>
19929 * tree.c (built_in_filename): New variable.
19930 (BUILT_IN_FILENAME): New macro.
19931 (init_tree_codes): Allocate built_in_filename.
19932 (make_node): Use built_in_filename instead of string constant.
19934 Tue Sep 21 14:13:27 1999 Nick Clifton <nickc@cygnus.com>
19936 * configure.in: Add fr30 target.
19937 * configure: Regenerate.
19938 * config/fr30: New directory.
19939 * config/fr30/crti.asm: New file.
19940 * config/fr30/fr30.c: New file.
19941 * config/fr30/crtn.asm: New file.
19942 * config/fr30/fr30.h: New file.
19943 * config/fr30/fr30.md: New file.
19944 * config/fr30/lib1funcs.asm: New file.
19945 * config/fr30/t-fr30: New file.
19946 * config/fr30/xm-fr30.h: New file.
19948 Tue Sep 21 06:45:31 1999 Jeffrey A Law (law@cygnus.com)
19950 * flow.c (merge_blocks_move_successor_nojumps): Delete the
19951 BARRIER at the end of the successor, not the BARRIER before
19954 * pa.c (pa_add_gc_roots): Fix thinko in last change.
19956 Tue Sep 21 05:29:17 1999 Richard Earnshaw (rearnsha@arm.com)
19958 * stmt.c (any_pending_cleanups): Don't crash when
19959 current_function->stmt is unset.
19961 Tue Sep 21 00:59:49 1999 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
19963 * emit-rtl.c (init_emit_once): Initialize const_int_rtx before
19964 other initializations that may use it for relative offsets.
19966 Mon Sep 20 21:43:25 1999 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
19968 * config/i386/sol2.h (PREFERRED_DEBUGGING_TYPE): Use stabs.
19969 (ASM_SPEC): Moved from sol2dbg.h. Added work-around for gas.
19970 * config/i386/sol2dbg.h: Removed.
19971 * config/i386/sol2gas.h: New file, to enable gas work-around.
19972 * configure.in: Use i386/sol2gas.h on Solaris/x86 --with-gas.
19973 Don't use sol2dbg.h.
19974 * configure: Rebuilt.
19976 Mon Sep 20 13:29:41 1999 Mark Mitchell <mark@codesourcery.com>
19978 * invoke.texi (-fthis-is-variable): Remove documentation.
19980 Mon Sep 20 12:59:16 1999 Richard Henderson <rth@cygnus.com>
19982 * basic-block.h (compute_bb_for_insn): Declare.
19983 * flow.c (compute_bb_for_insn): Export. Don't accept the varray
19984 to use; set size of basic_block_for_insn directly.
19985 (find_basic_blocks): Update.
19987 Mon Sep 20 15:11:54 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
19989 * flow.c (verify_flow_info): Fix typo, "abort;" -> "abort ();".
19991 Mon Sep 20 14:56:34 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
19993 * crtstuff.c (ON_EXIT): Delete empty macro definition.
19994 (__do_global_ctors_aux): Call atexit(), not ON_EXIT().
19996 Mon Sep 20 15:25:35 1999 Nick Clifton <nickc@cygnus.com>
19998 * c-decl.c (c_decode_option): Extend comment.
20000 Mon Sep 20 14:43:37 1999 Nick Clifton <nickc@cygnus.com>
20002 * toplev.c (progname): Make 'const char *'
20003 (flag_print_mem): Move out of main.
20004 (version_flag): Move out of main.
20005 (filename): Move out of main.
20006 (debug_args): Remove g prefix from options.
20007 (documented_lang_options): Remove cpplib specific options.
20008 (display_help): Add g prefix to debug options.
20009 (check_lang_option): Delete this function.
20010 (decode_d_option): New function: Decode -d... option.
20011 (decode_f_option): New function: Decode -f... option.
20012 (decode_W_option): New function: Decode -W... option.
20013 (decode_g_option): New function: Decode -g... option.
20014 (independent_decode_option): New function: Decode a language
20015 independent command line option.
20016 (main): Invoke lang_decode_option and then
20017 independent_decode_option on each command line option in
20020 Mon Sep 20 05:41:36 1999 Jeffrey A Law (law@cygnus.com)
20022 Revert this change. Gavin's patch to operand_equal_p is a better fix.
20023 * fold-const.c (fold_range_test): Do not try to fold the range
20024 test if the rhs or lhs has side effects.
20026 * basic-block.h (compute_flow_dominators): Declare.
20028 * gcse.c (alloc_code_hoist_mem): New function.
20029 (free_code_hoist_mem, compute_code_hoist_vbeinout): Likewise.
20030 (compute_code_hoist_data, hoist_expr_reaches_here_p): Likewise.
20031 (hoist_code, one_code_hoisting_pass): Likewise.
20032 (gcse_main): If optimizing for size, then hoist expressions
20033 computed in multiple dominated basic blocks.
20035 * gcse.c (invalid_nonnull_info): New function.
20036 (delete_null_pointer_checks): Likewise.
20037 * rtl.h (delete_null_pointer_checks): Declare.
20038 * toplev.c (rest_of_compilation): Call delete_null_pointer_checks.
20040 * flow.c (merge_blocks_move_predecessor_nojumps): New function.
20041 (merge-blocks_move_successor_nojumps): Likewise.
20042 (merge_blocks): Allow merging of some blocks, even if it requires
20043 physical movement of the blocks, but not if it requires new jumps.
20045 * bitmap.c (debug_bitmap_file): Renmaed from bitmap_debug_file.
20046 Callers and prototype changed.
20047 * bitmap.h: Fix debug_bitmap and debug_bitmap_file prototypes.
20049 Mon Sep 20 06:56:32 1999 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
20051 * config/sparc/sol2.h (LINK_SPEC): Avoid the duplication of
20052 -YP when both -p and -pg are present. From i386/sol2.h.
20054 Mon Sep 20 10:49:05 1999 Bernd Schmidt <bernds@cygnus.co.uk>
20056 * Makefile.in (distclean): Delete tm_p.h.
20057 * configure.in: Create a new file, "tm_p.h", from a list in
20058 "tm_p_file". For ix86 systems, set up "tm_p_file" to include
20059 "i386/i386-protos.h".
20061 * alias.c: Include "tm_p.h".
20062 * c-typeck.c: Likewise.
20063 * calls.c: Likewise.
20065 * emit-rtl.c: Likewise.
20066 * explow.c: Likewise.
20067 * expmed.c: Likewise.
20068 * expr.c: Likewise.
20069 * final.c: Likewise.
20070 * flow.c: Likewise.
20071 * fold-const.c: Likewise.
20072 * function.c: Likewise.
20073 * gcse.c: Likewise.
20074 * global.c: Likewise.
20075 * haifa-sched.c: Likewise.
20076 * integrate.c: Likewise.
20077 * jump.c: Likewise.
20078 * local-alloc.c: Likewise.
20079 * loop.c: Likewise.
20080 * optabs.c: Likewise.
20081 * recog.c: Likewise.
20082 * reg-stack.c: Likewise.
20083 * regclass.c: Likewise.
20084 * regmove.c: Likewise.
20085 * reload.c: Likewise.
20086 * reload1.c: Likewise.
20087 * reorg.c: Likewise.
20088 * resource.c: Likewise.
20089 * stmt.c: Likewise.
20090 * stor-layout.c: Likewise.
20091 * toplev.c: Likewise.
20092 * tree.c: Likewise.
20093 * unroll.c: Likewise.
20094 * genattrtab.c (main): Make generated file include "tm_p.h".
20095 * genemit.c (main): Likewise.
20096 * genoutput.c (main): Likewise.
20097 * genrecog.c (main): Likewise.
20099 * i386.h: Delete all prototypes.
20100 * i386.c: Include "tm_p.h".
20101 (ix86_attr_length_default): Call constant_call_address_operand
20102 with correct number of arguments.
20103 * i386-protos.h: New file.
20104 * i386.md (unnamed patterns): Call constant_call_address_operand
20105 with correct number of arguments.
20106 (exception_receiver): Call load_pic_register with correct number
20109 Sun Sep 19 14:18:39 1999 Richard Henderson <rth@cygnus.com>
20111 * c-pragma.c (mark_align_stack): Dereference the void* properly.
20113 Sun Sep 19 09:03:40 1999 Mark Mitchell <mark@codesourcery.com>
20115 * rtl.h (insns_safe_to_move_p): New function.
20116 * loop.c (find_and_verify_loops): Use it.
20117 * rtlanal.c (insns_safe_to_move_p): Define it.
20119 Sun Sep 19 02:54:33 1999 Richard Henderson <rth@cygnus.com>
20121 * c-pragma.c: Include ggc.h.
20122 * Makefile.in (c-pragma.o): Update.
20124 Sat Sep 18 16:01:18 1999 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
20126 * config/i386/sol2.h (CPP_SPEC): Support -[p]threads
20127 (LIB_SPEC): Likewise.
20128 (LINK_SPEC): Do not assert -z text with -shared -mimpure-text.
20129 Reindent -YP/-p/-pg.
20130 Copied from config/sparc/sol2.h.
20132 Sat Sep 18 11:52:43 1999 Richard Henderson <rth@cygnus.com>
20134 * c-pragma.c (mark_align_stack): New.
20135 (init_pragma): New.
20136 * c-pragma.h (init_pragma): Declare it.
20137 * c-lex.c (init_parse): Call it.
20139 Sat Sep 18 15:20:38 1999 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
20141 * configure.in: Pick up thread library on Solaris/x86 just
20142 like on Solaris/sparc.
20143 * configure: Rebuilt.
20145 Sat Sep 18 11:15:58 1999 Alex Samuel <samuel@codesourcery.com>
20147 * rtl.h (global_rtx_index): New enum.
20148 (global_rtl): Change to array of rtx.
20149 (pc_rtx, cc0_rtx): Redefine accordingly.
20150 (cc0_rtx, stack_pointer_rtx, frame_pointer_rtx): Likewise.
20151 (hard_frame_pointer_rtx, arg_pointer_rtx): Likewise.
20152 (virtual_incoming_args_rtx, virtual_stack_vars_rtx): Likewise.
20153 (virtual_outgoing_args_rtx, virtual_cfa): Likewise.
20154 (const_int_rtx): Change to array of rtx.
20155 (const0_rtx, const1_rtx, const2_rtx, constm1_rtx): Redefine
20157 * emit-rtl.c (global_rtl): Change to array of rtx.
20158 (const_int_rtx): Change to aray of rtx.
20159 (gen_rtx_CONST_INT): Redefine accordingly.
20160 (init_emit_once): Allocate and initialize global_rtl. Likewise
20161 for const_int_rtx. Add both as GC roots.
20162 * genattrtab.c (global_rtl): Update declaration.
20164 1999-09-17 Ulrich Drepper <drepper@cygnus.com>
20166 * Makefile (USER_H): Add iso646.h back.
20168 Sat Sep 18 01:07:21 1999 Jeffrey A Law (law@cygnus.com)
20170 * haifa-sched.c (sched_analyze): Use free_INSN_LIST_list instead of
20171 zapping the LOG_LINKS of sched_before_next_call.
20173 * pa.h (INSN_SETS_ARE_DELAYED): Delete.
20174 * pa.c (insn_refs_are_delayed): Renamed from
20175 insn_sets_and_refs_are_delayed.
20177 Fri Sep 17 15:19:01 1999 Mark Mitchell <mark@codesourcery.com>
20179 * functiion.h (struct function): Add x_whole_function_mode_p.
20180 (retrofit_block): Declare.
20181 * function.c (retrofit_block): New function.
20182 (identify_blocks): Add assertions. Allow an incomplete set of
20183 block notes if we're still generating code for the function.
20184 * integrate.c: Include loop.h.
20185 (expand_inline_function): Call find_loop_tree_blocks to map block
20186 notes to blocks when in whole-function mode. Use retrofit_block
20187 to insert new BLOCKs for the inlined function, rather than
20189 * stmt.c (expand_fixup): Likewise. Don't use pushlevel/polevel.
20190 * Makefile.in (integrate.o): Depend on loop.h.
20192 Fri Sep 17 15:11:20 1999 Mark Mitchell <mark@codesourcery.com>
20194 * tree.h (warn_about_unused_variables): Declare.
20195 * stmt.c (warn_about_unused_variables): New function, split out
20197 (expand_end_bindings): Here.
20199 Fri Sep 17 15:07:37 1999 Mark Mitchell <mark@codesourcery.com>
20201 * stmt.c (preserve_subexpressions_p): Don't crash when
20202 current_function->stmt is unset.
20204 Fri Sep 17 15:03:16 1999 Mark Mitchell <mark@codesourcery.com>
20206 * stmt.c (expand_start_bindings): Allow callers to pass a flag
20207 indicating that no NOTE_INSN_BLOCK_BEG note is required.
20208 (expand_start_target_temps): Use it.
20209 * except.c (expand_eh_region_start_for_decl): Likewise.
20210 * expr.c (expand_expr): Likewise.
20212 Fri Sep 17 15:05:27 1999 Gavin Romig-Koch <gavin@cygnus.com>
20214 * fold-const.c (operand_equal_p): Pay attention to side effects.
20216 Fri Sep 17 11:14:17 1999 Jason Merrill <jason@yorick.cygnus.com>
20218 * libgcc2.c (L_exit): Check for ON_EXIT, not HAVE_ON_EXIT.
20219 * sparc/sunos4.h (HAVE_ON_EXIT): Remove.
20221 * tlink.c (scan_linker_output): Look for keywords before accepting
20222 a mangled name in quotes.
20224 Thu Sep 16 16:47:08 1999 Richard Henderson <rth@cygnus.com>
20226 * alpha/alpha-interix.h (DWARF2_UNWIND_INFO): Define to zero.
20227 * alpha/osf2or3.h (DWARF2_UNWIND_INFO): Likewise.
20229 Thu Sep 16 16:35:41 1999 Richard Henderson <rth@cygnus.com>
20231 * alpha.md: Revert Thu Nov 26 change that came in through the
20232 last gcc2 merge: reinstate (plus (plus ...)) reload patterns.
20233 Avoid earlyclobber when possible.
20235 Thu Sep 16 18:44:48 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
20237 * libgcc2.c (__do_global_ctors): Call atexit with one arg.
20239 * sparc/sunos4.h (on_exit): Wrap prototype parameters in PARAMS().
20240 Define HAVE_ON_EXIT.
20242 Thu Sep 16 18:06:35 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
20244 * system.h (CTYPE_CONV, TOUPPER, TOLOWER): New macros. Use
20245 CTYPE_CONV in all ctype macros.
20247 * cccp.c (initialize_char_syntax): Use uppercase ctype macro
20250 * cexp.y (initialize_random_junk): Likewise.
20252 * c4x.c (c4x_interrupt_function_p, c4x_handle_pragma): Likewise.
20254 * i370.c (handle_pragma): Likewise.
20256 * i370.h (ASM_OUTPUT_LABELREF, ASM_OUTPUT_ASCII): Likewise.
20258 * v850.c (override_options): Likewise.
20260 * doprint.c (_doprnt): Likewise.
20262 * fixinc/fixincl.c (main, quoted_file_exists, extract_quoted_files):
20265 * fixinc/server.c (load_data): Likewise.
20267 * fold-const.c (real_hex_to_f): Likewise.
20269 * genattr.c (write_upcase, gen_attr): Likewise.
20271 * genattrtab.c (convert_const_symbol_ref, evaluate_eq_attr,
20272 write_upcase): Likewise.
20274 * genemit.c (print_code): Likewise.
20276 * genopinit.c (gen_insn): Likewise.
20278 * genpeep.c (print_code): Likewise.
20280 * genrecog.c (print_code): Likewise.
20282 * optabs.c (init_libfuncs): Likewise.
20284 Thu Sep 16 14:03:32 1999 Mark Mitchell <mark@codesourcery.com>
20286 * haifa-sched.c (sched_analyze): Keep the list of notes organized
20288 (reemit_notes): Likewise.
20290 Thu Sep 16 11:50:52 1999 Alex Samuel <samuel@codesourcery.com>
20292 * ggc.h (ggc_root): Move to ggc-common.c.
20294 (ggc_mark_rtx, ggc_mark_tree): Change to macro.
20295 (ggc_mark_rtvec, ggc_mark_tree_varray): Declare extern.
20296 (ggc_mark_tree_hash_table, ggc_mark_string, ggc_mark): Likewise.
20297 (ggc_mark_roots, ggc_mark_rtx_children, ggc_mark_tree_children): New.
20298 * ggc-common.c (ggc_root): Move from ggc.h.
20299 (roots): Declare, static.
20300 (ggc_mark_rtx, ggc_mark_tree): Renamed to...
20301 (ggc_mark_rtx_children, ggc_mark_tree_children): Don't check for
20302 null or check/set mark bit.
20303 (ggc_mark_roots): New.
20304 * ggc-simple.c (ggc_collect): Call ggc_mark_roots.
20306 Thu Sep 16 11:37:32 1999 Richard Henderson <rth@cygnus.com>
20308 * m32r.c: Include toplev.h.
20309 (*): Add ATTRIBUTE_UNUSED as needed to arguments.
20310 (gen_compare): Rename swap_p to must_swap to match uses.
20311 Add default abort case.
20312 (m32r_output_function_epilogue): Remove unused variables.
20313 (m32r_print_operand): Use HOST_WIDE_INT_PRINT_HEX.
20314 * m32r.h (PROTO, STDIO_PROTO): Rename XPROTO; unconditionally
20315 define to empty parameter list. Update all uses.
20316 (predicate decls): Use enum machine_mode not int.
20317 * m32r.md (movsi): Call abort, not fatal_insn.
20318 (zero_branch_insn, rev_zero_branch_insn): Add default abort case.
20320 1999-09-14 Andrew Haley <aph@cygnus.com>
20322 * config/mips/mips.md (movsi_usw): if operand 1 is const_int 0,
20323 use $0 instead of 0.
20325 Thu Sep 16 10:53:36 1999 Bernd Schmidt <bernds@cygnus.co.uk>
20327 * reload1.c (order_regs_for_reload): Move hard_reg_n_uses
20328 computation out of loop over hard regs.
20330 Wed Sep 15 21:37:06 1999 Mark Mitchell <mark@codesourcery.com>
20332 * function.c (identify_blocks): Don't shadow a variable in an
20334 * integrate.c (integrate_decl_tree): Don't use pushlevel,
20335 pushdecl, or poplevel to build up the new BLOCK tree.
20336 (expand_inline_function): Likewise.
20337 (integrate_parm_decls): Likewise.
20339 Wed Sep 15 21:20:38 1999 Mark Mitchell <mark@codesourcery.com>
20341 * c-typeck.c (qualify_type): Merge qualifiers from both types.
20343 1999-09-15 Brad Lucier <lucier@math.purdue.edu>
20345 * toplev.c: Allow -f[no-]math-errno to set (clear) flag_errno_math
20346 * invoke.texi: Document this change.
20348 Wed Sep 15 17:56:00 1999 Richard Henderson <rth@cygnus.com>
20350 * emit-rtl.c (free_emit_status): Don't check DECL_DEFER_OUTPUT.
20352 (mark_emit_status): Renamed from mark_emit_state.
20353 * except.c (mark_eh_status): Renamed from mark_eh_state.
20354 Check not null before marking.
20355 (free_eh_status): New.
20356 * expr.c (mark_expr_status, free_expr_status): New.
20357 * function.c (free_machine_status): New.
20358 (free_after_parsing): New.
20359 (free_after_compilation): Move bits to free_after_parsing; call
20360 free_eh_status, free_expr_status; zero the marked members of the
20362 (prepare_function_start): No can_garbage_collect.
20363 Call init_eh_for_function.
20364 (expand_dummy_function_end): Free up current_function state.
20365 (mark_function_status): Renamed from mark_function_state.
20366 (mark_function_chain): No can_garbage_collect. Call mark_expr_status.
20367 * function.h (struct function): No can_garbage_collect.
20368 (free_machine_status, free_after_parsing): Declare.
20369 (free_eh_status, free_expr_status): Declare.
20370 * ggc.h (mark_expr_status): Declare.
20371 * stmt.c (free_stmt_status): Free the struct.
20372 (mark_stmt_status): Renamed from mark_stmt_state.
20373 (init_stmt): Don't call init_eh.
20374 (init_stmt_for_function): Don't call init_eh_for_function.
20375 * toplev.c (compile_file): Call init_eh.
20376 (rest_of_compilation): Free basic block info before ggc_collect.
20377 Call free_after_parsing; conditionally call free_after_compilation.
20378 * varasm.c (mark_varasm_status): Renamed from mark_varasm_state.
20379 Check not null before marking.
20380 (free_varasm_status): Don't check DECL_DEFER_OUTPUT. Free the struct.
20382 Wed Sep 15 17:53:16 1999 Richard Henderson <rth@cygnus.com>
20384 * c-lex.c (yylex): Initialize warn.
20386 Wed Sep 15 18:35:38 1999 Jeffrey A Law (law@cygnus.com)
20388 * pa.c (emit_move_sequence): Properly set the mode of the scratch
20389 register when performing secondary reloads for the SAR register.
20391 Wed Sep 15 15:51:52 1999 Mark Mitchell <mark@codesourcery.com>
20393 * rtl.h (NOTE_BLOCK_NUMBER): Replace with ...
20394 (NOTE_BLOCK): New macro.
20395 (NOTE_BLOCK_LIVE_RANGE_BLOCK): Remove.
20396 * function.h (identify_blocks): Change prototype.
20397 * function.c (identify_blocks): Simplify.
20398 (reorder_blocks): Likewise.
20399 * ggc-common.c (ggc_mark_rtx): Mark the BLOCK associated with a
20400 NOTE_INSN_BLOCK_{BEG,END}.
20401 * haifa-sched.c (sched_analyze): Don't put NOTE_BLOCK_NUMBER on
20402 the list of saved notes if the note isn't a
20403 NOTE_INSN_BLOCK_{BEG,END}.
20404 (move_insn1): Use NOTE_EH_HANDLER in comment, rather than
20406 (reemit_notes): Adjust recreation of notes to reflect new saved
20408 * print-rtl.c (print_rtx): Print the address of the BLOCK when
20409 printing a block note.
20410 * stmt.c (block_vector): Remove.
20411 (find_loop_tree_blocks): Simplify.
20412 (unroll_block_trees): Likewise.
20413 * tree.h (reorder_block): Change prototype.
20415 Wed Sep 15 14:39:35 1999 Jason Merrill <jason@yorick.cygnus.com>
20417 * gbl-ctors.h: Lose HAVE_ATEXIT. Don't define ON_EXIT.
20418 * libgcc2.c: Lose obsolete defn of WEAK_ALIAS.
20419 (__bb_init_func, __bb_init_prg): Use atexit instead of ON_EXIT.
20420 (__do_global_dtors): Likewise. Don't mess with _exit_dummy_decl.
20421 (atexit, exit): Simplify.
20422 * tm.texi: Document NEED_ATEXIT and ON_EXIT. Remove HAVE_ATEXIT.
20423 * config/lots: Remove defns of HAVE_ATEXIT.
20425 Wed Sep 15 10:25:12 1999 Mark Mitchell <mark@codesourcery.com>
20427 * calls.c (precompute_arguments): Fix typo in comment.
20428 * expr.c (preexpand_calls): Don't preexpand the cleanup in a
20431 Wed Sep 15 09:59:59 1999 Mark Mitchell <mark@codesourcery.com>
20433 * dsp16xx.c (override_options): Fix typos in GC root registration.
20435 Wed Sep 15 15:23:28 1999 Philip Blundell <pb@nexus.co.uk>
20437 * config/arm/linux-elf.h (MAKE_DECL_ONE_ONLY): Copy definition
20438 from config/svr4.h.
20439 (UNIQUE_SECTION_P, UNIQUE_SECTION): Likewise.
20440 (FUNCTION_PROFILER): Redefine appropriately for Linux.
20441 (CC1_SPEC): Likewise.
20443 Wed Sep 15 10:09:48 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
20445 * genattr.c (main): Add extern prototype. Call return, not exit.
20446 * genattrtab.c (main): Likewise.
20447 * gencheck.c (main): Likewise.
20448 * gencodes.c (main): Likewise.
20449 * genconfig.c (main): Likewise.
20450 * genemit.c (main): Likewise.
20451 * genextract.c (main): Likewise.
20452 * genflags.c (main): Likewise.
20453 * gengenrtl.c (main): Likewise.
20454 * genopinit.c (main): Likewise.
20455 * genoutput.c (main): Likewise.
20456 * genpeep.c (main): Likewise.
20457 * genrecog.c (main): Likewise.
20459 * genattr.c (get_insn_name): Mark parameter with ATTRIBUTE_UNUSED.
20460 * genattrtab.c (get_insn_name): Likewise.
20461 * gencodes.c (get_insn_name): Likewise.
20462 * genconfig.c (get_insn_name): Likewise.
20463 * genemit.c (get_insn_name): Likewise.
20464 * genextract.c (get_insn_name): Likewise.
20465 * genflags.c (get_insn_name): Likewise.
20466 * genopinit.c (get_insn_name): Likewise.
20467 * genpeep.c (get_insn_name): Likewise.
20469 * gencheck.c (usage): Add static prototype.
20470 * genextract.c (print_path): Constify a char*.
20471 * genopinit.c (optabs): Likewise.
20472 * genoutput.c (operand_data, data, output_predicate_decls,
20473 compare_operands): Likewise.
20474 * genrecog.c (write_tree): Add default case in switch.
20476 Wed Sep 15 09:59:16 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
20478 * rtl.h (get_insn_name, print_rtl_with_bb): Add prototypes.
20480 * print-rtl.c (get_insn_name): Remove prototype.
20482 * toplev.h (progname): Declare const.
20484 * toplev.c (init_decl_processing, init_obstacks, init_tree_codes,
20485 init_regs, init_optabs, init_stmt, init_reg_sets, dump_flow_info,
20486 dump_sched_info, dump_local_alloc, regset_release_memory,
20487 print_rtl, print_rtl_with_bb, rest_of_decl_compilation,
20488 error_with_file_and_line, error_with_decl, error_for_asm, error,
20489 fatal, warning_with_file_and_line, warning_with_decl, warning,
20490 pedwarn, pedwarn_with_decl, pedwarn_with_file_and_line, sorry):
20491 Remove redundant prototypes.
20493 (notice, check_lang_option, report_file_and_line, vnotice,
20494 mark_file_stack): Add static prototype.
20495 (set_fatal_function): Add prototype.
20496 (vnotice, report_file_and_line, set_fatal_function,
20497 check_lang_option): Constify a char*.
20498 (main): Prototype. Call return, not exit.
20500 Wed Sep 15 09:50:18 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
20502 * aclocal.m4 (AC_GCC_C_LONG_DOUBLE): New macro.
20504 * configure.in (AC_GCC_C_LONG_DOUBLE): Call it.
20506 * gansidecl.h (HAVE_LONG_DOUBLE): Define if gcc for stage2.
20508 * ggc-simple.c (HAVE_LONG_DOUBLE): Test before using long double.
20510 Wed Sep 15 11:04:43 1999 Bernd Schmidt <bernds@cygnus.co.uk>
20512 * function.c (assign_parms): Delete arg SECOND_TIME. Don't test it,
20513 behave as if it's zero in all cases.
20514 (expand_function_start): Adjust call to assign_parms.
20515 * tree.h (assign_parms): Adjust prototype.
20516 * objc/objc-act.c (hack_method_prototype): Adjust call to
20519 Tue Sep 14 21:47:06 1999 Jeffrey A Law (law@cygnus.com)
20521 * cse.c (FIXED_BASE_PLUS_P): Do not consider referneces to
20522 arg_pointer_rtx fixed if the argument pointer register is
20524 (NONZERO_BASE_PLUS_P): Likewise.
20526 Tue Sep 14 20:26:02 1999 Richard Henderson <rth@cygnus.com>
20528 * rtl.def (match_insn, match_insn2): Remove match_insn; rename
20529 match_insn2 to match_insn.
20530 * genrecog.c (add_to_sequence): Rename MATCH_INSN2.
20532 Tue Sep 14 20:10:29 1999 Richard Henderson <rth@cygnus.com>
20534 * Makefile.in (USER_H): Remove va-foo.h.
20536 * ginclude/{va-alpha.h,va-arc.h,va-c4x.h,va-clipper.h,va-h8300.h,
20537 va-i860.h,va-i960.h,va-m32r.h,va-m88k.h,va-mips.h,va-mn10200.h,
20538 va-mn10300.h,va-pa.h,va-ppc.h,va-pyr.h,va-sh.h,va-sparc.h,
20539 va-spur.h,va-v850.h}: Remove.
20541 Tue Sep 14 19:43:16 1999 Richard Henderson <rth@cygnus.com>
20543 * sparc/sparc.md (eligible_for_return_delay): New attribute.
20544 (in_return_delay): Use it instead of match_insn.
20546 Tue Sep 14 23:05:37 1999 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
20548 * config/alpha/va_list.h (va-alpha.h): Do not include.
20549 (__gnuc_va_list): Typedef as in varargs.h.
20551 Tue Sep 14 18:14:03 1999 Richard Henderson <rth@cygnus.com>
20553 * ggc-common.c (ggc_mark_tree): Mark DECL_SOURCE_FILE and
20554 DECL_LIVE_RANGE_RTL.
20556 Tue Sep 14 16:47:08 1999 Mark Mitchell <mark@codesourcery.com>
20558 * except.c (expand_eh_region_start_for_decl): Use NOTE_EH_HANDLER,
20559 not NOTE_BLOCK_NUMBER.
20560 (expand_eh_region_end): Likewise.
20561 (find_exception_handler_labels): Likewise.
20562 (scan_region): Likewise.
20563 (exception_optimize): Likewise.
20564 (update_rethrow_references): Likewise.
20565 (set_insn_eh_region): Likewise.
20566 * final.c (final_scan_insn): Likewise.
20567 * flow.c (make_edges): Likewise.
20568 * integrate.c (expand_inline_function): Likewise.
20569 * print-rtl.c (print_rtx): Likewise.
20571 Tue Sep 14 16:30:16 1999 Richard Henderson <rth@cygnus.com>
20573 * ginclude/stdarg.h, ginclude/varargs.h: Implement in
20574 terms of builtin functions and types.
20576 * mips.c (mips_build_va_list): New.
20577 (mips_va_start, mips_va_arg): New.
20578 * mips.h (BUILD_VA_LIST_TYPE): New.
20579 (EXPAND_BUILTIN_VA_START, EXPAND_BUILTIN_VA_ARG): New.
20581 * sh.c (sh_builtin_saveregs): Use get_varargs_alias_set.
20582 (sh_build_va_list, sh_va_start, sh_va_arg): New.
20583 * sh.h (BUILD_VA_LIST_TYPE): New.
20584 (EXPAND_BUILTIN_VA_START, EXPAND_BUILTIN_VA_ARG): New.
20586 Tue Sep 14 16:20:24 1999 Richard Henderson <rth@cygnus.com>
20588 * recog.h (struct recog_data): Make dup_num, operand_address_p,
20589 n_operands, n_dups, n_alternatives `char' instead of `unsigned char'.
20590 (struct insn_data): Likewise with n_operands, n_dups,
20591 n_alternatives, output_format.
20592 * regclass.c (scan_one_insn): Cast n_operands to int before
20593 arithmetic inside comparison.
20595 Tue Sep 14 15:13:36 1999 Richard Henderson <rth@cygnus.com>
20597 * toplev.c (compile_function): Unconditionally emit nop.
20599 Tue Sep 14 14:41:47 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
20601 * haifa-sched.c (actual_hazard): Move declaration of variable
20602 `this_cost' into the scope where it is used.
20604 Tue Sep 14 14:14:28 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
20606 * c-pragma.c (handle_pragma_token): Wrap variables `name' and
20607 `value' in HANDLE_PRAGMA_WEAK. Wrap variable `align' in
20608 HANDLE_PRAGMA_PACK||HANDLE_PRAGMA_PACK_PUSH_POP.
20610 * genrecog.c (make_insn_sequence): Call memset, not bzero.
20612 * jump.c (find_insert_position): Don't declare or define unless
20613 !HAVE_conditional_arithmetic.
20614 (returnjump_p_1, delete_prior_computation): Add static prototypes.
20616 * mips-tdump.c (fatal, fancy_abort, main): Add extern prototypes.
20618 * recog.c (offsettable_address_p): Prototype function pointer.
20619 (preprocess_constraints): Call memset, not bzero.
20621 * tree.c (tree_node_kind_names): Constify a char*. Make static.
20622 (gcc_obstack_init): Don't declare.
20623 (fix_sizetype): Add static prototype.
20624 (gcc_obstack_init): Use prototype casts in call to _obstack_begin.
20625 (tree_cons): Call memset, not bzero.
20627 * varasm.c (remove_from_pending_weak_list): Wrap declaration and
20628 definition in macro ASM_WEAKEN_LABEL.
20629 (mark_const_hash_entry): Add static prototype.
20631 Tue Sep 14 12:22:50 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
20633 * c-lex.c (handle_generic_pragma): Remove unused variable `c'.
20635 * unroll.c (find_common_reg_term, subtract_reg_term,
20636 loop_find_equiv_value): Add static prototypes.
20637 (unroll_loop): Wrap variable `prev' in macro HAVE_cc0.
20638 (copy_loop_body): Remove unreachable break statement.
20640 * sparc.c (sparc_va_arg): Remove unused variable `tmp'.
20642 * sparc.h (sparc_va_start, sparc_va_arg): Add extern prototypes.
20644 Tue Sep 14 15:28:00 1999 Bernd Schmidt <bernds@cygnus.co.uk>
20646 Undo some changes from the gcc2 merge:
20647 * rtl.def (CONSTANT_P_RTX): Fix the comment for this rtx code.
20648 * emit-rtl.c (gen_rtx_REG): Don't test special reg rtx's for null
20652 Sat Oct 3 07:20:28 1998 Stephen L Moshier <moshier@world.std.com>
20653 * emit-rtl.c (gen_lowpart_common): Disable optimization of
20654 initialized float-int union if the value is a NaN.
20656 Tue Sep 14 04:03:44 1999 Mumit Khan <khan@xraylith.wisc.edu>
20658 * gthr-win32.h: New file.
20660 * i386/winnt.c (i386_pe_valid_decl_attribute_p): Recognize
20661 shared as a valid attribute.
20662 * i386/cygwin.h (ASM_OUTPUT_SECTION): Handle shared attribute.
20663 * extend.texi: Document `shared' variable attribute.
20665 Tue Sep 14 04:01:46 1999 Loren Rittle <ljrittle@acm.org>
20667 * configure.in: Handle --enable-threads on FreeBSD.
20668 * configure: Rebuit.
20670 Tue Sep 14 03:58:44 1999 Andreas Jaeger <aj@arthur.rhein-neckar.de>
20672 * configure.in: Add crtbeginS.o, crtendS.o for mips-linux; add
20674 * configure: Rebuilt.
20676 Tue Sep 14 03:47:23 1999 Joel Sherrill <joel@OARcorp.com>
20677 Charles-Antoine Gauthier <charles.gauthier@iit.nrc.ca>
20678 Rosimildo DaSilva <rdasilva@connecttel.com>
20680 * configure.in (m68k-*-rtemscoff*): Added.
20681 * configure.in (mips64orion-*-rtems*): Converted to ELF.
20682 * configure.in (sparc-*-rtemsaout*): Added as alias for old
20683 sparc-rtems configuration.
20684 * configure.in (sparc-*-rtemself*): Added.
20685 * configure.in (sparc-*-rtems*): Now ELF not a.out.
20686 * config/i386/rtems.h: Added comment.
20687 * config/sparc/rtemself.h: New file.
20689 * configure.in (m68k-rtemself): Added.
20690 * config/elfos.h: Added ifndef wrapper for DWARF2_DEBUGGING_INFO
20691 and DWARF_DEBUGGING_INFO.
20692 * config/m68k/crti.s: New file.
20693 * config/m68k/crtn.s: New file.
20694 * config/m68k/t-crtstuff: New file.
20695 * config/m68k/rtemself.h: New file.
20697 * configure.in (i[[34567]]86-*-rtemself*): Now uses crtstuff for
20698 global ctor/dtor and C++ exception handling.
20699 * config/i386/rtemself.h: Now uses crtstuff (crti.o + crtbegin.o)
20700 for STARTFILE_SPEC and crtstuff (crtend.o + crtn.o) for
20702 * config/i386/t-rtems-i386: New File.
20704 Tue Sep 14 09:47:41 1999 Andreas Schwab <schwab@suse.de>
20706 * stmt.c (expand_end_case): Return right away if the case stack is
20709 Tue Sep 14 01:47:19 1999 Jeffrey A Law (law@cygnus.com)
20711 * Makefile.in (version.c): Remove rule incorrectly brought in from
20714 Tue Sep 14 01:42:27 1999 Marc Espie <espie@cvs.openbsd.org>
20716 * Makefile.in: Prepend $(SHELL) to move-if-change calls.
20717 * msdos/top.sed: Take into account a prepended $(SHELL) to
20719 * winnt/config-nt.sed: Likewise. Kill bogus substitution.
20721 * objc/Make-lang.in: Prepend $(SHELL) to move-if-change calls.
20723 Tue Sep 14 01:38:52 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
20725 * regmove.c (fixup_match_1): Don't change an unchanging register.
20726 (stable_but_for_p): Renamed to:
20727 (stable_and_no_regs_but_for_p). Reject unchanging registers too.
20728 Changed all callers.
20730 Tue Sep 14 01:33:15 1999 Andreas Schwab <schwab@suse.de>
20732 * loop.c (strength_reduce): Don't call reg_used_between_p if the
20733 insn from BL2 is after the insn from BL.
20735 Mon Sep 13 21:06:01 1999 Richard Henderson <rth@cygnus.com>
20737 * recog.h (INSN_OUTPUT_FORMAT_*): New.
20738 (struct insn_data): Merge `template' and `outfun' into `output'.
20739 Add `output_format'.
20740 * genoutput.c (INSN_OUTPUT_FORMAT_*): New.
20741 (struct data): Remove `outfun'; add `output_format'.
20742 (name_for_index): Remove declaration.
20743 (output_insn_data): Handle output formats.
20744 (process_template): Emit the bare array for @.
20745 (gen_expand, gen_split): Set output_format to NONE.
20746 * output.h (get_insn_template): Declare.
20747 * final.c (get_insn_template): New.
20748 (final_scan_insn): Use it.
20749 * toplev.c (compile_file): Likewise.
20751 * c4x/c4x.c (c4x_process_after_reload): Likewise.
20752 * i860/i860.c (output_delayed_branch): Likewise.
20753 (output_delay_insn): Likewise.
20755 1999-09-13 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
20757 * rtl.c (obstack_alloc_rtx): Removed.
20759 1999-09-13 17:03 -0700 Zack Weinberg <zack@bitmover.com>
20761 * config/gmicro/gmicro.md: Disable move DF->DI anonymous pattern.
20763 Mon Sep 13 15:21:46 1999 Richard Henderson <rth@cygnus.com>
20765 * i386.c (call_insn_operand): Reject const_int.
20766 (expander_call_insn_operand): Use call_insn_operand.
20768 Mon Sep 13 17:44:28 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
20770 * gcc.c (getrusage): Wrap prototype arguments in PROTO().
20772 1999-09-13 12:18 -0700 Zack Weinberg <zack@bitmover.com>
20774 * config/i370/i370.md (mulsi, divsi, modsi anonymous insns):
20775 Use DImode operation.
20777 1999-09-13 12:13 -0700 Zack Weinberg <zack@bitmover.com>
20779 * gcc.c: Include sys/resource.h.
20780 (report_times): New flag.
20781 (execute): If report_times is set, calculate and report the
20782 CPU time consumed by each subprocess.
20784 (rus, prus): New globals.
20785 (option_map): Add --time.
20786 (display_help): Document -time.
20787 (process_command): Set report_times if -time is given.
20788 Turn off -pipe if -time is given.
20790 * invoke.texi: Document new option -time.
20792 * configure.in: Check for getrusage. Check if we have to
20793 prototype getrusage.
20794 * acconfig.h: Add NEED_DECLARATION_GETRUSAGE.
20795 * configure: Regenerate.
20796 * config.in: Regenerate.
20798 Mon Sep 13 12:57:06 1999 Dave Brolley <brolley@cygnus.com>
20800 * cppinit.c (append_include_chain): Initialize 'next' and 'alloc'
20803 Mon Sep 13 10:01:33 1999 Nick Clifton <nickc@cygnus.com>
20805 * config/fp-bit.c: Define L_thenan_sf or L_thenan_df (as
20806 appropriate) if FINE_GRAINED_LIBRARIES is not defined.
20807 (nan): Return _thenan_sf or _thenan_df as appropriate.
20808 (L_thenan_sf): Define _thenan_sf.
20809 (L_thenan_df): Define _thenan_df.
20811 * Makefile.in (FPBIT_FUNCS): Add _thenan_sf.
20812 (DPBIT_FUNCS): Add _thenan_df.
20814 Mon Sep 13 09:38:53 1999 Andreas Schwab <schwab@suse.de>
20816 * tree.c (fix_sizetype): Exchange the types for TYPE_SIZE and
20819 Sun Sep 12 23:28:20 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
20821 * Makefile.in (gcc.o, gccspec.o, cppspec.o): Depend on gcc.h.
20824 (lang_specific_driver): Don't take a function pointer parameter.
20825 All callers changed.
20827 * gcc.c: Include gcc.h.
20828 (do_spec, fancy_abort,lang_specific_driver,lang_specific_pre_link,
20829 lang_specific_extra_outfiles, fatal): Don't declare.
20830 (multilib_defaults_raw): Constify.
20831 (read_specs): Call memset, rather than bzero.
20832 (main): Call return, not exit.
20833 (lookup_compiler): Call memcpy, not bcopy.
20834 (fatal): Make extern.
20836 * cppspec.c: Include gcc.h.
20837 (lang_specific_driver): Initialize variable `quote'. Constify a
20838 char*. All calls to the function pointer parameter now
20839 explicitly call `fatal'.
20841 * gccspec.c (lang_specific_driver): Include gcc.h.
20843 Sun Sep 12 19:52:10 1999 Richard Earnshaw <rearnsha@arm.com>
20845 * arm.c (note_invalid_constants): Use recog_data.operand_type
20848 Sun Sep 12 15:53:20 1999 Bernd Schmidt <bernds@cygnus.co.uk>
20850 * tree.h (build_common_tree_nodes, build_common_tree_nodes_2):
20853 * reload.h (reload_in, reload_out, reload_in_reg, reload_out_reg,
20854 reload_reg_class, reload_inmode, reload_outmode, reload_optional,
20855 reload_nongroup, reload_inc, reload_opnum, reload_secondary_p,
20856 reload_secondary_in_reload, reload_secondary_out_reload,
20857 reload_secondary_in_icode, reload_secondary_out_icode,
20858 reload_reg_rtx, reload_when_needed): Delete declarations.
20859 (struct reload): New structure.
20860 (rld): Declare new array.
20861 * reload.c (reload_in, reload_out, reload_in_reg, reload_out_reg,
20862 reload_reg_class, reload_inmode, reload_outmode, reload_optional,
20863 reload_nongroup, reload_inc, reload_opnum, reload_secondary_p,
20864 reload_secondary_in_reload, reload_secondary_out_reload,
20865 reload_secondary_in_icode, reload_secondary_out_icode,
20866 reload_reg_rtx, reload_when_needed): Delete definitions.
20868 (whole file): Replace uses of the deleted arrays with uses of rld.
20869 * reload1.c (whole file): Replace uses of the deleted arrays with
20871 (choose_reload_regs): Copy in/out of save_reload_reg_rtx with
20872 explicit loops, not with bcopy.
20874 Sun Sep 12 05:00:24 1999 Richard Henderson <rth@cygnus.com>
20876 * recog.h (insn_template, insn_outfun, insn_n_operands, insn_n_dups,
20877 insn_n_alternatives, insn_operand_constraint, insn_operand_address_p,
20878 insn_operand_mode, insn_operand_strict_low, insn_operand_predicate,
20879 insn_name): Delete and consolidate into new structures.
20880 (insn_operand_predicate_fn): New.
20881 (insn_output_fn): New.
20882 (insn_gen_fn): New.
20883 (struct insn_operand_data): New.
20884 (struct insn_data): New.
20886 (OUT_FCN): Update for insn_data change.
20887 * builtins.c (expand_builtin_strlen): Likewise.
20888 (expand_builtin_memcmp): Likewise.
20889 * combine.c (make_extraction, simplify_comparison): Likewise.
20890 * cse.c (canon_reg, cse_insn): Likewise.
20891 * explow.c (allocate_dynamic_stack_space, probe_stack_range): Likewise.
20892 * expmed.c (store_bit_field, extract_bit_field): Likewise.
20893 (emit_store_flag): Likewise.
20894 * expr.c (convert_move, emit_block_move): Likewise.
20895 (clear_storage, emit_push_insn, expand_increment): Likewise.
20896 (do_store_flag): Likewise.
20897 * expr.h (GEN_FCN): Likewise.
20898 (insn_gen_function): Die.
20899 * final.c (final_scan_insn): Update for insn_data change.
20900 (output_asm_name): Likewise.
20901 * function.c (fixup_var_refs_1): Likewise.
20902 * loop.c (check_dbra_loop): Likewise.
20903 * optabs.c (expand_binop, expand_twoval_binop): Likewise.
20904 (expand_unop, expand_complex_abs, emit_unop_insn): Likewise.
20905 (prepare_cmp_insn, prepare_operand, emit_indirect_jump): Likewise.
20906 (emit_conditional_move, gen_add2_insn, gen_sub2_insn): Likewise.
20907 * recog.c (validate_replace_rtx_1, extract_insn): Likewise.
20908 * regmove.c (gen_add3_insn): Likewise.
20909 * reload.c (push_secondary_reload, combine_reloads): Likewise.
20910 (find_reloads, find_reloads_address_1): Likewise.
20911 (debug_reload_to_stream): Likewise.
20912 * reload1.c (emit_reload_insns, gen_reload): Likewise.
20913 * stmt.c (expand_end_case): Likewise.
20914 * toplev.c (compile_file): Likewise.
20916 * c4x/c4x.c (c4x_process_after_reload): Likewise.
20917 * i860/i860.c (output_delayed_branch, output_delay_insn): Likewise.
20919 * print-rtl.c (insn_name_ptr): Remove declaration.
20920 (get_insn_name): Declare.
20921 (print_rtx): Use it.
20922 * genoutput.c (insn_name_ptr): Remove.
20923 (next_operand_number): New.
20924 (struct operand_data): New.
20925 (null_operand, odata, odata_end): New.
20926 (struct data): Use struct operand_data.
20927 (idata, idata_end): Renamed from insn_data and end_of_insn_data.
20928 (get_insn_name): Renamed from name_for_index.
20929 (output_prologue): Define NO_MD_PROTOTYPES.
20930 (output_predicate_decls): Break out from output_epilogue.
20931 Iterate over the operands list.
20932 (output_operand_data): Break out from output_epilogue. Emit
20933 just the operands list.
20934 (output_insn_data): Break out from output_epilogue. Emit just
20936 (output_epilogue): Remove.
20937 (output_get_insn_name): New.
20938 (constraints, op_n_alternatives, predicates, address_p): Die.
20939 (modes, strict_low, seen): Die.
20940 (scan_operands): Take new param `d' instead of writing to
20941 seven global variables.
20942 (compare_operands): New.
20943 (place_operands): New.
20944 (validate_insn_alternatives): Update for struct data change.
20945 (gen_insn): Don't zero or copy 7 global arrays. Update for
20946 scan_operands; call place_operands.
20947 (gen_peephole, gen_expand, gen_split): Likewise.
20948 (main): Update for new output routines.
20950 * genattr.c (insn_name_ptr): Remove.
20951 (get_insn_name): New function.
20952 * genattrtab.c, gencodes.c, genconfig.c, genemit.c: Likewise.
20953 * genextract.c, genflags.c, genopinit.c, genpeep.c: Likewise.
20954 * genrecog.c: Likewise.
20956 * alpha.md (adddi3): Make `pattern' array static.
20958 Sun Sep 12 22:05:21 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
20960 * config/c4x/c4x.h (c4x_rpts_cycles_string,
20961 c4x_cpu_version_string): Constify char *.
20962 * config/c4x/c4x.c (c4x_rpts_cycles_string,
20963 c4x_cpu_version_string): Likewise.
20965 Sat Sep 11 23:28:33 1999 Richard Henderson <rth@cygnus.com>
20967 * tree.c (save_tree_status): Revert 10 Sep change.
20968 (restore_tree_status): Likewise. Call obstack_free with NULL
20969 before freeing the obstack proper.
20971 Sat Sep 11 23:23:46 1999 Richard Henderson <rth@cygnus.com>
20973 * cse.c (cse_main): If gc'ing, collect around cse_basic_block.
20975 * ggc-simple.c (ggc_pop_context): Fold outstanding bytes into
20976 surrounding context.
20978 Sat Sep 11 19:52:43 1999 Mark Mitchell <mark@codesourcery.com>
20980 * tree.c (type_hash_canon): Put all types in the hash-table, when
20983 Sat Sep 11 18:37:04 1999 Richard Henderson <rth@cygnus.com>
20985 * recog.h (struct recog_data, recog_data): New.
20986 (recog_foo variables): Kill.
20987 * recog.c (recog_operand, recog_operand_loc): Kill.
20988 (recog_dup_loc, recog_dup_num, recog_n_operands): Kill.
20989 (recog_n_dups, recog_n_alternatives, recog_operand_mode): Kill.
20990 (recog_constraints, recog_op_type, recog_operand_address_p): Kill.
20991 (recog_data): Define.
20992 (extract_insn): Update all recog_foo references to use recog_data.
20993 (preprocess_constraints, constrain_operands): Likewise.
20994 * final.c (final_scan_insn, cleanup_subreg_operands): Likewise.
20995 * genattrtab.c (main): Likewise.
20996 * genextract.c (main): Likewise.
20997 * genoutput.c: Likewise.
20998 * genrecog.c (write_subroutine, main): Likewise.
20999 * local-alloc.c (block_alloc): Likewise.
21000 * reg-stack.c (record_asm_reg_life, subst_asm_stack_regs): Likewise.
21001 * regclass.c (scan_one_insn, record_reg_classes): Likewise.
21002 * regmove.c (regmove_optimize, find_matches, fixup_match_1): Likewise.
21003 * reload.c (find_reloads, find_reloads_toplev): Likewise.
21004 * reload1.c (maybe_fix_stack_asms, eliminate_regs_in_insn): Likewise.
21005 (reload_cse_simplify_operands): Likewise.
21007 * arc/arc.c (arc_final_prescan_insn): Likewise.
21008 * arm/arm.c (note_invalid_constants, arm_final_prescan_insn): Likewise.
21009 * h8300/h8300.c (notice_update_cc): Likewise.
21010 * i386/i386.c (ix86_attr_length_default, ix86_agi_dependant): Likewise.
21011 * i860/i860.c (output_delayed_branch, output_delay_insn): Likewise.
21012 * mn10200/mn10200.c (notice_update_cc): Likewise.
21013 * mn10300/mn10300.c (notice_update_cc): Likewise.
21014 * romp/romp.c (update_cc): Likewise.
21015 * sparc/sparc.c (check_pic): Likewise.
21016 * v850/v850.c (notice_update_cc): Likewise.
21018 * genemit.c (main): Don't declare recog_operand.
21020 Sat Sep 11 12:41:55 1999 Alex Samuel <samuel@codesourcery.com>
21022 * ggc.h (rtvec_def): Forward declare.
21023 (tree_node): Likewise.
21024 (ggc_root): Define.
21026 (ggc_set_mark_rtx): Add prototype.
21027 (ggc_set_mark_rtvec): Likewise.
21028 (ggc_set_mark_tree): Likewise.
21029 * ggc-simple.c (ggc_root): Don't define.
21030 (roots): Don't declare.
21031 (ggc_mark_rtx): Remove.
21032 (ggc_mark_rtvec): Likewise.
21033 (ggc_mark_tree): Likewise.
21034 (ggc_mark_varray): Likewise.
21035 (ggc_mark_tree_hash_table_entry): Likewise.
21036 (ggc_mark_tree_hash_table): Likewise.
21037 (ggc_set_mart_rtx): New function.
21038 (ggc_set_mark_rtvec): Likewise.
21039 (ggc_set_mark_tree): Likewise.
21040 (ggc_add_root): Remove.
21041 (ggc_add_rtx_root): Likewise.
21042 (ggc_remove_tree_root): Likewise.
21043 (ggc_add_string_root): Likewise.
21044 (ggc_add_tree_varray_root): Likewise.
21045 (ggc_add_tree_hash_table_root): Likewise.
21046 (ggc_del_root): Likewise.
21047 (ggc_mark_rtx_ptr): Likewise.
21048 (ggc_mark_tree_ptr): Likewise.
21049 (ggc_mark_string_ptr): Likewise.
21050 (ggc_mark_tree_varray_ptr): Likewise.
21051 (ggc_mark_tree_hash_table_ptr): Likewise.
21052 * ggc-common.c: New file.
21053 * Makefile.in (OBJS): Add ggc-common.o.
21054 (ggc-common.o): List dependencies.
21056 1999-09-10 22:37 -0700 Zack Weinberg <zack@bitmover.com>
21058 * cppalloc.c (xstrdup): Use memcpy.
21059 * cpperror.c (cpp_print_containing_files): Don't use
21061 * cpplib.c (conditional_skip): Set temp->lineno.
21062 (do_endif): Make error message less obscure.
21063 (if_directive_name): New function.
21064 (cpp_get_token [case EOF]): Unwind the if stack and generate
21065 error messages for each unterminated conditional in this file.
21066 (parse_string): Do not behave differently if -traditional.
21068 Fri Sep 10 14:04:07 1999 Richard Henderson <rth@cygnus.com>
21070 * builtins.c (expand_builtin_va_arg): Cope with an array-type
21071 va_list decomposing to pointer-type.
21072 * rs6000.c (rs6000_va_start) Unwrap the ARRAY_TYPE to get at fields.
21073 (rs6000_va_arg): Likewise.
21075 Fri Sep 10 13:21:21 1999 Jim Wilson <wilson@cygnus.com>
21077 * except.c (start_dynamic_handler): Compute size using
21078 STACK_SAVEAREA_MODE.
21080 Fri Sep 10 16:01:23 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
21082 * protoize.c: Remove various __STDC__ and POSIX hacks. Don't
21083 include directory headers. Don't define strrchr. Don't provide
21084 my_* replacement functions. Prefer PTR over `pointer_type'.
21085 Don't prototype system functions. Don't redefine getopt.
21087 (shortpath, fancy_abort, notice, savestring, dupnstr, substr,
21088 safe_read, safe_write, save_pointers, restore_pointers,
21089 is_id_char, in_system_include_dir, directory_specified_p,
21090 file_excluded_p, unexpand_if_needed, abspath, check_aux_info,
21091 find_corresponding_lparen, referenced_file_is_newer,
21092 save_def_or_dec, munge_compile_params, gen_aux_info_file,
21093 process_aux_info_file, identify_lineno, check_source,
21094 seek_to_line, forward_to_next_token_char, output_bytes,
21095 output_string, output_up_to, other_variable_style_function,
21096 find_rightmost_formals_list, do_cleaning, careful_find_l_paren,
21097 do_processing, is_syscalls_file, rename_c_file, find_extern_def,
21098 find_static_definition, connect_defs_and_decs, add_local_decl,
21099 add_global_decls, needs_to_be_converted, visit_each_hash_node,
21100 add_symbol, lookup, free_def_dec, find_file, reverse_def_dec_list,
21101 edit_fn_declaration, edit_formals_lists, edit_fn_definition,
21102 scan_for_missed_items, edit_file, string_list_cons): Add static
21104 (standard_exec_prefix, target_machine, target_version,
21105 default_syscalls_dir, string_list, string_list_cons, find_file,
21106 do_cleaning): Constify a char*.
21107 (safe_read, safe_write): Use PTR, not a char*.
21108 (is_id_char): Take an int, not a char.
21109 (main): Add prototype. Call return, not exit.
21111 Fri Sep 10 16:48:26 1999 Andrew Haley <aph@cygnus.com>
21113 * tree.c (type_hash_lookup): Check for equal TYPE_ALIGN fields
21114 when comparing types.
21116 Fri Sep 10 08:43:32 1999 Richard Henderson <rth@cygnus.com>
21118 * loop.c (basic_induction_var): Typo NULL_RTX -> NULL.
21119 (strength_reduce): Release the varrays from the no-bivs early exit.
21121 * reload1.c (order_regs_for_reload): Init hard_reg_n_uses before
21122 the loop over the registers.
21124 * tree.c (save_tree_status): Set maybepermanent_firstobj NULL
21126 (restore_tree_status): Check that instead when freeing the obstack.
21128 Wed Sep 8 16:12:04 1999 Andrew Haley <aph@cygnus.com>
21130 * alias.c (rtx_equal_for_memref_p): Allow CONST_DOUBLEs to be used
21133 Fri Sep 10 11:58:55 1999 Bernd Schmidt <bernds@cygnus.co.uk>
21135 * i386.md (ashlqi3): For NON_QI_REG_P regs, use sall. Fix some
21136 operand size modifiers.
21138 Fri Sep 10 10:32:32 1999 Bernd Schmidt <bernds@cygnus.co.uk>
21140 * c-common.c (c_common_nodes_and_builtins): Don't build
21142 * c-common.h (enum c_tree_index and related accesor macros): Remove
21143 everything now declared in tree.h.
21144 * c-decl.c (CHAR_TYPE_SIZE, SHORT_TYPE_SIZE, INT_TYPE_SIZE,
21145 LONG_TYPE_SIZE, LONG_LONG_TYPE_SIZE, WCHAR_UNSIGNED, FLOAT_TYPE_SIZE,
21146 DOUBLE_TYPE_SIZE, LONG_DOUBLE_TYPE_SIZE): Don't provide defaults.
21147 (error_mark_node, void_type_node, char_type_node, integer_type_node,
21148 unsigned_type_node, ptr_type_node, va_list_type_node,
21149 integer_zero_node, null_pointer_node, integer_one_node): Delete.
21150 (init_decl_processing): Call build_common_tree_nodes and
21151 build_common_tree_nodes_2 instead of building their nodes here.
21152 Don't add roots for these nodes.
21153 * stor-layout.c (size_zero_node, size_one_node): Delete.
21154 (set_sizetype): Make a new node for bitsizetype each time.
21155 * tree.c (global_trees): New variable.
21156 (init_obstacks): Add a gc root for it.
21157 (CHAR_TYPE_SIZE, SHORT_TYPE_SIZE, INT_TYPE_SIZE,
21158 LONG_TYPE_SIZE, LONG_LONG_TYPE_SIZE, FLOAT_TYPE_SIZE,
21159 DOUBLE_TYPE_SIZE, LONG_DOUBLE_TYPE_SIZE): Provide defaults.
21160 (build_common_tree_nodes): New function.
21161 (fix_sizetype): New function.
21162 (build_common_tree_nodes_2): New function.
21163 * tree.h (enum tree_index): New.
21164 (global_trees): Declare.
21165 Add accessor macros for all nodes now moved to global_trees.
21166 Delete their declarations.
21168 Thu Sep 9 20:15:46 1999 Richard Henderson <rth@cygnus.com>
21170 * c-decl.c (finish_function): When processing a nested function,
21171 push and pop GC context around rest_of_compilation.
21173 Thu Sep 9 16:42:06 1999 Richard Henderson <rth@cygnus.com>
21175 * i386.c (override_options): Remove ppro, pentium2, and p2 as aliases.
21176 Default ix86_arch to PROCESSOR_I386.
21177 * i386.h (CC1_CPU_SPEC): Don't add -march=foo. Remove -mno-foo.
21178 (CPP_486_SPEC, CPP_586_SPEC, CPP_686_SPEC): Delete.
21179 (CPP_CPU_DEFAULT_SPEC): Define to __tune_foo__.
21180 (CC1_CPU_SPEC): Make -march=foo define __foo__, and provide
21181 __tune_foo__ if no -mcpu. Make -mcpu=bar define __tune_bar__.
21182 (EXTRA_SPECS): Remove deleted specs.
21184 Thu Sep 9 16:03:06 1999 Richard Henderson <rth@cygnus.com>
21186 * function.c (assign_stack_local_1): Allocate from
21187 function->x_frame_offset, not frame_offset.
21189 Thu Sep 9 14:36:31 1999 Mark Mitchell <mark@codesourcery.com>
21191 * ggc.h (lang_cleanup_tree): Remove.
21192 * gcc-simple.c (ggc_free_tree): Don't call lang_cleanup_tree.
21193 * ggc-callbacks.c (lang_cleanup_tree): Remove.
21195 * c-decl.c (finish_struct): Use ggc_alloc to allocate
21196 TYPE_LANG_SPECIFIC when garbage collecting.
21197 (lang_mark_tree): Mark TYPE_LANG_SPECIFIC.
21198 (lang_cleanup_tree): Remove.
21200 Thu Sep 9 14:23:02 1999 Jason Merrill <jason@yorick.cygnus.com>
21202 * defaults.h (EH_FRAME_SECTION, EH_FRAME_SECTION_ASM_OP): Define here.
21203 * crtstuff.c: Not here.
21204 * dwarf2out.c: Or here.
21205 * libgcc2.c (__do_global_ctors, __do_global_dtors): Handle EH frame
21208 Thu Sep 9 09:40:58 1999 Mark Mitchell <mark@codesourcery.com>
21210 * function.h (free_after_compilation): Remove decl parameter.
21211 (free_varasm_status0: Likewise.
21212 (free_emit_status): Likewise.
21213 (free_stmt_status): Likewise.
21214 (free_after_compilation): Likewise.
21215 (init_lang_status): New variable.
21216 (free_lang_status): Likewise.
21217 * emit-rtl.c (free_emit_status): Make decl parameter implicit.
21218 * function.c (init_lang_status): New variable.
21219 (free_lang_status): Likewise.
21220 (push_function_context_to): Don't set function::decl here.
21221 (free_after_copmilation): Make decl parameter implicit. Call
21222 free_lang_status if defined.
21223 (prepare_function_start): Call init_lang_status if defined.
21224 (init_function_start): Set function::decl here.
21225 * profile.c (output_func_start_profiler): Don't call pushdecl
21226 until we've actually started the function.
21227 * stmt.c (free_stmt_status): Make decl parameter implicit.
21228 * toplev.c (rest_of_compilation): Don't pass decl to
21229 free_after_compilation.
21230 * varasm.c (free_varasm_status): Likewise.
21232 Thu Sep 9 17:23:19 1999 Bernd Schmidt <bernds@cygnus.co.uk>
21234 * except.c (call_get_eh_context): Add root when allocating static
21237 Thu Sep 9 15:24:59 BST 1999 Richard Earnshaw <rearnsha@arm.com>
21239 * arm.c: Include "ggc.h".
21240 (arm_add_gc_roots): New function.
21241 (arm_override_options): Call it.
21242 (aof_pic_entry): Add a GC root for aof_pic_label when it's allocated.
21244 * arm.md (define_asm_attributes): Add a pool_range attribute.
21246 Thu Sep 9 12:32:57 BST 1999 Nathan Sidwell <nathan@acm.org>
21248 * extend.texi (Volatiles): New node.
21250 Thu Sep 9 03:37:31 1999 Richard Henderson <rth@cygnus.com>
21252 * ggc-simple.c (IS_MARKED, IGNORE_MARK): New.
21253 (GGC_ANY_MAGIC, GGC_ANY_MAGIC_MARK): New.
21254 (struct ggc_any): Replace `mark' with `magic_mark'.
21255 (ggc_alloc_string): Use memcpy, not bcopy.
21256 (ggc_alloc_any): Set magic_mark. Update bytes_alloced_since_gc.
21257 (ggc_free_{rtx,rtvec,tree,string}): Mark inline.
21258 (ggc_free_any): New.
21259 (ggc_mark_string): Use IGNORE_MARK. Calc back to struct gcc_string.
21260 (ggc_mark): Use IGNORE_MARK. Abort if magic doesn't match.
21261 (ggc_collect): Re-enable collection avoidance. Use GGC_ANY_MARK.
21262 Use IS_MARKED. Use ggc_free_any.
21264 1999-09-09 Scott Bambrough <scottb@netwinder.org>
21266 * config/arm/linux-elf.h: define NO_IMPLICIT_EXTERN_C
21268 Thu Sep 9 01:55:21 1999 Richard Henderson <rth@cygnus.com>
21270 * toplev.c (main): Always init_ggc.
21272 Wed Sep 8 23:53:22 1999 Richard Henderson <rth@cygnus.com>
21274 * except.c (find_all_handler_type_matches): Free the list if
21275 we found no matches.
21277 * combine.c (SUBST): Break out to a real function do_SUBST.
21278 (SUBST_INT): Likewise.
21279 * gcse.c (free_pre_mem): Free `temp_bitmap'.
21280 (pre_insert): Free `inserted'.
21281 * loop.c (basic_induction_var): Always set `location'.
21283 * function.c (expand_function_end): Add initial_trampoline as a root.
21284 * rtl.h (init_varasm_once): Declare.
21285 * toplev.c (compile_file): Call it.
21286 * ggc-simple.c (ggc_mark_string_ptr): New.
21287 (ggc_add_string_root): New.
21288 (ggc_collect): Disable collection avoidance temporarily.
21289 * ggc.h (ggc_add_string_root): Declare.
21290 * except.c (create_rethrow_ref): Use ggc_alloc_string.
21291 * optabs.c (init_libfuncs): Likewise.
21292 * varasm.c (named_section): Use ggc_alloc_string.
21293 (make_function_rtl): Likewise.
21294 (make_decl_rtl): Likewise.
21295 (assemble_static_space): Likewise.
21296 (assemble_trampoline_template): Likewise.
21297 (output_constant_def): Likewise.
21298 (force_const_mem): Likewise.
21299 (mark_const_hash_entry): New.
21300 (mark_pool_sym_hash_table): New.
21301 (mark_varasm_state): Use it.
21302 (init_varasm_once): New.
21304 * expr.h (init_one_libfunc): Declare.
21305 * optabs.c (init_one_libfunc): New.
21306 (init_optabs): Use it.
21307 * config/gofast.h: Likewise.
21308 * config/sparc/sol2.h (INIT_SUBTARGET_OPTABS): Likewise.
21309 * config/sparc/sparc.h (INIT_TARGET_OPTABS): Likewise.
21311 Thu Sep 9 13:46:06 1999 Geoffrey Keating <geoffk@cygnus.com>
21313 * Makefile.in (cppexp.o): Depend on cpphash.h.
21314 * cppexp.c (cpp_lex): Handle `defined (xxx)' for poisoned xxx.
21316 * cpphash.c (special_symbol): Handle plain `xxx' for poisoned xxx.
21317 * cpplib.c (do_define): Generalise to handle poisoned definitions,
21318 redefining poisoned identifiers, etc.
21319 (do_undef): Don't allow poisoned identifiers to be undefined.
21320 (do_pragma): Add #pragma poison.
21321 (do_xifdef): Handle `#ifdef xxx' for poisoned xxx.
21323 * cccp.c: Add T_POISON node type.
21324 (special_symbol): Handle `defined(xxx)' and plain `xxx' for
21326 (do_define): Generalise to handle poisoned definitions,
21327 redefining poisoned identifiers, etc.
21328 (do_undef): Don't allow poisoned identifiers to be undefined.
21329 (do_pragma): Add #pragma poison.
21330 (do_xifdef): Handle `#ifdef xxx' for poisoned xxx.
21332 * c-pragma.c (handle_pragma_token): Ignore #pragma poison.
21333 * c-pragma.h: Add ps_poison state. We now always have generic
21336 Wed Sep 8 20:30:42 1999 Mark Mitchell <mark@codesourcery.com>
21338 * ggc.h (ggc_alloc): New function.
21339 (ggc_mark): Likewise.
21340 * ggc-simple.c (ggc_any): New structure.
21341 (ggc_status): Add anys.
21342 (n_anys_collected): New variable.
21343 (ggc_alloc): Define.
21344 (ggc_mark): Likewise.
21345 (ggc_collect): Collect the anys.
21347 Wed Sep 8 20:15:14 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
21349 * c-decl.c (mark_binding_level): Make static to match prototype.
21351 Wed Sep 8 16:41:27 1999 Richard Henderson <rth@cygnus.com>
21353 * flow.c (new_insn_dead_notes): Don't early out for preexisting regs.
21355 Wed Sep 8 16:07:52 1999 Richard Henderson <rth@cygnus.com>
21357 * gengenrtl.c (CONST_DOUBLE_FORMAT): Take the size REAL_ARITHMETIC
21358 will use into account. Expand the max width to 5.
21361 Wed Sep 8 16:01:14 1999 Richard Henderson <rth@cygnus.com>
21363 * ggc-simple.c (ggc_free_rtx): Poison the correct amount
21364 for the rtx length.
21366 Wed Sep 8 15:23:54 1999 Richard Henderson <rth@cygnus.com>
21368 * alpha.md (call value patterns): Remove the result predicates.
21370 Wed Sep 8 13:35:38 1999 Richard Henderson <rth@cygnus.com>
21372 * Makefile.in (stmp-fixinc): Remove extraneous exit 1 from
21375 Wed Sep 8 15:32:16 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
21377 * system.h (sbrk, malloc, calloc, realloc): Backup prototypes
21378 changed from extern char *, to extern PTR. Also fix typo in
21379 NEED_DECLARATION_REALLOC test.
21381 * mips-tdump.c (malloc, calloc, realloc): Don't prototype.
21383 Wed Sep 8 11:40:47 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
21385 * gansidecl.h (__attribute__, ATTRIBUTE_UNUSED_LABEL,
21386 ATTRIBUTE_UNUSED, ATTRIBUTE_NORETURN, ATTRIBUTE_PRINTF,
21387 ATTRIBUTE_PRINTF_1, ATTRIBUTE_PRINTF_2, ATTRIBUTE_PRINTF_3,
21388 ATTRIBUTE_PRINTF_4, ATTRIBUTE_PRINTF_5, GENERIC_PTR): Delete.
21390 * c-decl.c (field_decl_cmp): Use PTR instead of GENERIC_PTR.
21392 * cccp.c (pcfinclude): Likewise.
21394 * global.c (allocno_compare): Likewise.
21396 * haifa-sched.c (rank_for_schedule): Likewise.
21398 * local-alloc.c (qty_sugg_compare_1, qty_compare_1): Likewise.
21400 * reload1.c (hard_reg_use_compare, reload_reg_class_lower): Likewise.
21402 * stupid.c (stupid_reg_compare): Likewise.
21404 * tree.c (_obstack_allocated_p): Likewise.
21406 * varray.h (varray_data_tag, VARRAY_GENERIC_PTR_INIT): Likewise.
21408 1999-09-08 Bruce Korb autogen@linuxbox.com
21410 * Makefile.in: Give the hapless gperf user a hint about
21411 why "gperf -F" fails.
21413 Wed Sep 8 04:43:22 1999 Richard Henderson <rth@cygnus.com>
21415 * lists.c: Include ggc.h.
21417 (init_EXPR_INSN_LIST_cache): Install it.
21419 * ggc-simple.c (init_ggc): Absorb the old init.
21420 (ggc_push_context): Use xcalloc.
21421 (ggc_alloc_rtx, ggc_alloc_rtvec, ggc_alloc_tree): Likewise.
21422 (ggc_collect): Add [rvts] tags to the collection stats.
21424 Wed Sep 8 11:14:25 1999 Andreas Schwab <schwab@suse.de>
21426 * cccp.c (main): Fix handling of -include and -imacros options.
21428 Wed Sep 8 02:23:08 1999 Jeffrey A Law (law@cygnus.com)
21430 * cpplib.c (cpp_push_buffer): Fix order of arguments.
21432 Wed Sep 8 04:44:09 1999 Alexandre Oliva <oliva@dcc.unicamp.br>
21434 * rtl.h (obstack_alloc_rtx): Removed, it's now static in
21437 Wed Sep 8 00:33:43 1999 Alasdair Baird <alasdair@wildcat.demon.co.uk>
21439 * flow.c (insn_dead_p): Use XEXP rather than SUBREG_REG.
21440 * haifa-sched.c (sched_analyze_1): Use XEXP rather than SUBREG_REG
21441 and SET_DEST. Update comment.
21443 Wed Sep 8 18:55:17 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
21445 * config/c4x/c4x.c: Include ggc.h.
21446 (c4x_add_gc_roots): New function.
21447 (c4x_override_options): Call c4x_add_gc_roots.
21449 Wed Sep 8 00:00:16 1999 Richard Henderson <rth@cygnus.com>
21451 * defaults.h (TARGET_ESC): Move ...
21452 * system.h: ... here, where Linas had it in the first place. Silly me.
21454 Tue Sep 7 23:46:35 1999 Linas Vepstas <linas@linas.org>
21456 * c-common.c: Use ISGRAPH, ISLOWER, toupper.
21457 * c-lex.c, cccp.c, cexp.c, cexp.y, cppexp.c, dwarf2out.c, genattr.c,
21458 genattrtab.c, genemit.c, genextract.c, genpeep.c, tree.c: Likewise.
21459 * system.h (IN_CTYPE_DOMAIN): Define to 1 if HOST_EBCDIC.
21460 * defaults.h (TARGET_ESC): Add default.
21462 Tue Sep 7 23:36:59 1999 Linas Vepstas <linas@linas.org>
21464 * configure.in: add i370-*-openedition, i370-*-mvs and
21465 i370-*-linux targets
21467 Tue Sep 7 23:31:53 1999 Mark Mitchell <mark@codesourcery.com>
21469 * dsp16xxx.c: Include ggc.h
21470 (override_options): Mark GC roots.
21471 * mn10200.c: Include ggc.h.
21472 (asm_file_start): Mark GC roots.
21473 * tahoe.c: Include ggc.h.
21474 (extensible_operand): Mark GC roots.
21476 Tue Sep 7 23:23:15 1999 Linas Vepstas <linas@linas.org>
21478 * README: Add section discussing status of ELF ABI.
21479 * i370.c: Fix misc spelling mistakes.
21480 (i370_label_scan): Updated notes, exception handling.
21481 (i370_function_prolog): Simplify ELF stack handling.
21482 * i370.h: (FIXED_REGISTERS): Free up r12 for ELF.
21483 (STACK_GROWS_DOWNWARD): ELF stack grows down.
21484 (ASM_DECLARE_FUNCTION_NAME): Fix crazy malloc size.
21485 * i370.md: (movdi): Add notes.
21486 (floatsidf2): Use stack not rtca for scratch float area.
21487 (iorsi3): Correct operand constraints.
21488 * x-oe: Restore TAROUTOPTS which are used by pax.
21490 Tue Sep 7 22:39:18 1999 Mark Mitchell <mark@codesourcery.com>
21492 * rs6000.c: Include ggc.h.
21493 (rs6000_add_gc_roots): New function.
21494 (override_options): Call it.
21496 Tue Sep 7 22:09:03 1999 Richard Henderson <rth@cygnus.com>
21498 * alpha.h (alpha_compare): New.
21499 (alpha_compare_op0, alpha_compare_op1, alpha_compare_fp_p): Remove.
21500 * alpha.c: Likewise for the definitions.
21501 (alpha_emit_conditional_branch): Update for alpha_compare.
21502 (alpha_emit_conditional_move): Likewise.
21503 * alpha.md (cmpdf, cmpdi): Likewise.
21504 (setcc patterns): Likewise. Zero alpha_compare after use.
21505 (sne): Optimize (x != 0) into (0U < x).
21507 Tue Sep 7 21:55:02 1999 Richard Henderson <rth@cygnus.com>
21509 * alpha.h (alpha_eh_epilogue_sp_ofs): Remove.
21510 (struct machine_function): Declare; add eh_epilogue_sp_ofs.
21511 (INIT_EXPANDERS): Remove.
21512 * alpha.c: Include ggc.h.
21513 (alpha_eh_epilogue_sp_ofs, alpha_return_addr_rtx): Remove.
21514 (alpha_init_machine_status, alpha_mark_machine_status): New.
21515 (override_options): Install them.
21516 (struct machine_function): Moved to alpha.h.
21517 (alpha_save_machine_status, alpha_restore_machine_status): Remove.
21518 (alpha_init_expanders): Remove.
21519 (alpha_return_addr): Adjust to use current_function->machine.
21520 (alpha_ra_ever_killed): Likewise.
21521 (alpha_expand_epilogue): Likewise.
21522 * alpha.md (eh_epilogue): Likewise.
21524 Wed Sep 8 14:34:42 1999 Ian Piumarta <piumarta@prof.inria.fr>
21525 Melissa O'Neill <oneill@cs.sfu.ca>
21526 Geoffrey Keating <geoffk@cygnus.com>
21528 * config/rs6000/rs6000.c (first_reg_to_save): Don't save fixed or
21529 call-used registers (call-saved registers must still be contiguous
21530 and end with r31, of course).
21532 Tue Sep 7 21:41:38 1999 Richard Henderson <rth@cygnus.com>
21534 * c-typeck.c (type_lists_compatible_p): Use simple_type_promotes_to.
21535 (self_promoting_type_p): Delete.
21536 (self_promoting_args_p): Move ...
21537 * c-common.c: ... here.
21538 (c_common_nodes_and_builtins): Initialize lang_type_promotes_to.
21539 (simple_type_promotes_to): New.
21540 * builtins.c (lang_type_promotes_to): New.
21541 (expand_builtin_va_arg): Use it to give diagnostic for illegal types.
21542 * c-tree.h (C_PROMOTING_INTEGER_TYPE_P): Move ...
21543 * c-common.h: ... here.
21544 (self_promoting_args_p, simple_type_promotes_to): Declare.
21545 * c-decl.c (duplicate_decls): Use simple_type_promotes_to.
21546 (grokdeclarator): Likewise.
21547 * tree.h (lang_type_promotes_to): Declare.
21549 Tue Sep 7 17:15:21 1999 Mark Mitchell <mark@codesourcery.com>
21551 Add some machine-dependent GC roots.
21552 * sparc.c: Include ggc.h.
21553 (sparc_add_gc_roots): New function.
21554 (mark_ultrasparc_pipeline_state): Likewise.
21555 (override_options): Call sparc_add_gc_roots.
21556 * pa.c: Include ggc.h.
21557 (pa_add_gc_roots): New function.
21558 (mark_deferred_plabels): Likewise.
21559 (override_options): Call pa_add_gc_roots.
21560 * mips.c: Include ggc.h.
21561 (mips_add_gc_roots): New function.
21562 (override_options): Use it.
21564 Tue Sep 7 11:39:41 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
21566 * cpperror.c (cpp_file_line_for_message): Constify a char*.
21568 * cppexp.c (parse_number, parse_charconst, cpp_lex,
21569 cpp_parse_expr): Add static prototypes.
21570 (parse_charconst): Don't cast away const-ness.
21571 (token): Constify a char*.
21573 * cppfiles.c (file_name_list, include_hash, find_include_file,
21574 finclude, initialize_input_buffer): Constify a char*.
21575 (file_cleanup, find_position): Add static prototypes.
21577 * cpphash.c (macro_cleanup, macarg, timestamp, special_symbol,
21578 collect_expansion): Add static prototypes.
21579 (cpp_install, create_definition, monthnames): Constify a char*.
21581 * cpphash.h (cpp_install): Likewise.
21583 * cppinit.c (known_suffixes, default_include,
21584 dump_special_to_buffer, NAME, cpp_start_read, cpp_finish): Likewise.
21585 (base_name, dump_special_to_buffer, initialize_dependency_output):
21586 Add static prototypes.
21588 * cpplib.c (my_strerror): Constify a char*.
21589 (null_underflow, null_cleanup, skip_comment, copy_comment,
21590 copy_rest_of_line, handle_directive, pass_thru_directive,
21591 get_directive_token, read_line_number, cpp_print_file_and_line,
21592 v_cpp_error, v_cpp_warning, v_cpp_error_with_line,
21593 v_cpp_warning_with_line, detect_if_not_defined,
21594 consider_directive_while_skipping): Add static prototypes.
21595 (pass_thru_directive, check_macro_name, cpp_expand_to_buffer,
21596 cpp_pedwarn_with_file_and_line): Constify a char*.
21598 * cpplib.h (cpp_options, include_hash, progname, definition,
21599 cpp_pedwarn_with_file_and_line, cpp_expand_to_buffer,
21600 check_macro_name, cpp_pfatal_with_name, cpp_file_line_for_message,
21601 find_include_file, deps_output, include_hash): Constify a char*.
21603 * cppmain.c (progname): Constify.
21604 (main): Add prototype. Use return, not exit.
21606 * fix-header.c (fatal, add_symbols, lookup_std_proto, write_lbrac,
21607 recognized_macro, check_macro_names, read_scan_file, write_rbrac,
21608 inf_skip_spaces, inf_read_upto, inf_scan_ident, inf_scan_ident,
21609 check_protection): Add static prototype.
21611 (progname, recognized_macrom, recognized_extern): Constify a char*.
21612 (main): Add prototype.
21614 * gen-protos.c (progname): Constify a char*.
21616 Tue Sep 7 00:47:52 1999 Mark Mitchell <mark@codesourcery.com>
21618 * emit-rtl.c (free_emit_status): Take decl as a parameter.
21619 (init_emit_once): Add more GC roots.
21620 * except.c (mark_func_eh_entry): New function.
21621 (mark_eh_node): Mark false_label and rethrow_label.
21622 (init_eh): Add more GC roots.
21623 * function.c (free_after_compilation): Take decl as a paramter.
21624 Call free_stmt_status.
21625 (mark_function_state): Don't assume x_parm_reg_stack_loc is
21627 * function.h (free_after_compilation): Change prototype.
21628 (free_varasm_status): Likewise.
21629 (free_emit_status): Likewise.
21630 (free_stmt_status): New function.
21631 * ggc-simple.c (rtx, vecs, trees, strings, bytes_alloced_since_gc):
21632 Remove, replacing with ...
21633 (ggc_status): New structure.
21634 (ggc_chain): New variable.
21635 (init_gcc): Define.
21636 (ggc_push_context): New function.
21637 (ggc_pop_context): Likewise.
21638 (ggc_alloc_rtx): Adjust for use of ggc_chain.
21639 (ggc_alloc_rtvec): Likewise.
21640 (ggc_alloc_tree): Likewise.
21641 (ggc_alloc_string): Likewise.
21642 (ggc_mark_rtx): Mark NOTE_SOURCE_FILE and NOTE_RANGE_INFO.
21643 (ggc_mark_tree): Give language-dependent code a chance to mark
21645 (ggc_mark_tree_varray): Handle empty arrays.
21646 (ggc_collect): Adjust for use of ggc_chain. Clear
21647 bytes_alloced_since_last_gc.
21648 * ggc.h (ggc_pop_context): New function.
21649 (ggc_push_context): Likewise.
21650 * print-tree.c (print_node): Don't print obstacks when GC'ing.
21651 * stmt.c (free_stmt_status): New function.
21652 (init_stmt_for_function): Clear last_expr_value.
21653 * toplev.c (rest_of_compilation): Always call free_after_compilation.
21654 Conditionalize call to ggc_collect.
21655 (main): Call init_ggc.
21656 * tree.c (push_obstacks): Do the push, even when GC'ing.
21657 (push_obstacks_nochange): Likewise.
21658 (pop_obstacks): Liekwise.
21659 * varasm.c (free_varasm_status): Take decl as a parameter.
21661 Tue Sep 7 08:15:49 1999 Gavin Romig-Koch <gavin@cygnus.com>
21663 * config/mips/mips.h (MULTILIB_ENDIAN_DEFAULT) : New macro.
21664 (MULTILIB_ENDIAN_DEFAULT) : Use the new macro.
21665 * config/mips/elf64.h (MULTILIB_DEFAULTS) : Use the new macro.
21666 * config/mips/r3900.h (MULTILIB_DEFAULTS) : Use the new macro.
21668 Tue Sep 7 03:42:45 1999 Mark Klein (mklein@dis.com)
21670 * pa/x-pa-mpeix: New file for the MPE port.
21672 * pa/quadlib.asm: New file for long double support.
21674 * configure.in: Add hppa1.0-*-mpeix for MPE port.
21675 * configure: Rebuilt.
21677 Tue Sep 7 10:08:40 1999 Andreas Schwab <schwab@suse.de>
21679 * final.c (shorten_branches): Fix last change.
21681 Tue Sep 7 00:30:32 1999 Jeffrey A Law (law@cygnus.com)
21683 * pa.h (ASM_OUTPUT_DOUBLE_INT): Delete.
21685 Mon Sep 6 22:44:47 1999 Jeffrey A Law (law@cygnus.com)
21687 * Merge from gcc2 snapshot Jan 9, 1999. See FSFChangeLog for
21690 Mon Sep 6 22:31:28 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
21692 * c-aux-info.c (concat): Don't define.
21694 * cccp.c (my_strerror): Likewise. All callers changed to use
21696 (do_include): Call xstrdup, not xmalloc/strcpy.
21697 (grow_outbuf): Don't check if xrealloc returns NULL, it can't.
21698 (xmalloc, xrealloc, xcalloc, xstrdup): Don't define.
21700 * collect2.c (my_strsignal): Likewise. All callers changed to use
21702 (locatelib): Call xstrdup, not xmalloc/strcpy.
21704 * 1750a.h (ASM_OUTPUT_INTERNAL_LABEL): Call xmalloc, not malloc.
21706 * dsp16xx.c (override_options): Call xstrdup, not xmalloc/strcpy.
21708 * i370.h (ASM_DECLARE_FUNCTION_NAME): Call xmalloc, not malloc.
21710 * mips.c (build_mips16_call_stub): Call xstrdup, not xmalloc/strcpy.
21712 * cppinit.c (cpp_options_init): Call xcalloc, not xmalloc/bzero.
21714 * dwarfout.c (dwarfout_init): Call concat, not xmalloc/strcpy/...
21716 * except.c (new_eh_region_entry): Call xmalloc/xrealloc, not
21718 (find_all_handler_type_matches): Likewise. Don't check return
21720 (get_new_handler, init_insn_eh_region, process_nestinfo): Call
21721 xmalloc, not malloc.
21722 (init_eh_nesting_info): Likewise. Call xcalloc, not xmalloc/bzero.
21724 * gcc.c (xstrerror, xmalloc, xrealloc): Don't define.
21725 (init_spec): Call xcalloc, not xmalloc/bzero.
21726 (set_spec): Call xstrdup, not save_string.
21727 (record_temp_file): Call xstrdup, not xmalloc/strcpy.
21728 (find_a_file): Call xstrdup, not xmalloc/strcpy.
21729 (process_command): Call xstrdup, not save_string.
21730 (main): Call xcalloc, not xmalloc/bzero.
21732 * gcov.c (xmalloc): Don't define.
21733 (create_program_flow_graph): Call xcalloc, not xmalloc/bzero.
21734 (scan_for_source_files): Call xstrdup, not xmalloc/strcpy.
21735 (output_data): Call xcalloc, not xmalloc/bzero.
21737 * haifa-sched.c (schedule_insns): Call xcalloc, not xmalloc/bzero.
21739 * mips-tdump.c (xmalloc): Don't define.
21740 (print_symbol): Call xmalloc, not malloc.
21741 (read_tfile): Call xcalloc, not calloc.
21743 * mips-tfile.c (xfree, my_strsignal, xmalloc, xcalloc, xrealloc):
21744 Don't define. All callers of xfree/my_strsignal changed to use
21745 free/strsignal instead.
21746 (allocate_cluster): Call xcalloc, not calloc.
21748 * objc/objc-act.c (lang_init): Call concat, not xmalloc/strcpy/...
21749 Fix memory leak, free allocated memory.
21751 * prefix.c (translate_name): Call xstrdup, not save_string.
21752 (update_path): Likewise.
21754 * profile.c (branch_prob): Call xstrdup, not xmalloc/strcpy.
21756 * protoize.c (xstrerror, xmalloc, xrealloc, xfree, savestring2):
21757 Don't define. Callers of xfree/savestring2 changed to use
21758 free/concat instead.
21760 * reload1.c (reload): Call xcalloc, not xmalloc/bzero.
21761 (init_elim_table): Likewise.
21763 * resource.c (init_resource_info): Likewise.
21765 * stupid.c (stupid_life_analysis): Likewise.
21767 * toplev.c (xmalloc, xcalloc, xrealloc, xstrdup): Don't define.
21768 (open_dump_file): Call concat, not xmalloc/strcpy/...
21769 (clean_dump_file): Likewise.
21770 (compile_file): Call xstrdup, not xmalloc/strcpy.
21772 Mon Sep 6 15:04:55 1999 Richard Henderson <rth@cygnus.com>
21774 * v850.h (EXPAND_BUILTIN_VA_ARG): New.
21775 * v850.c (v850_va_arg): New.
21777 Tue Sep 7 09:36:01 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
21779 * haifa-sched.c: Tidy comments.
21781 Mon Sep 6 14:30:13 1999 Bernd Schmidt <bernds@cygnus.co.uk>
21783 * Makefile.in (C_AND_OBJC_OBJS): Remove ggc-callbacks.o.
21784 (c-parse.o, c-decl.o, c-lang.o, c-lex.o, c-common.o,
21785 $(out_object_file)): Depend on ggc.h.
21786 * c-common.c: Include "ggc.h".
21787 (combine_strings): If doing GC, use ggc_alloc_string.
21788 * c-decl.c: Include "ggc.h".
21789 (ggc_p): Define with value 0.
21790 (mark_binding_level): New function.
21791 (init_decl_processing): Add GC roots.
21792 (mark_c_function_context): New function.
21793 (lang_mark_false_label_stack): New function.
21794 (lang_mark_tree): New function.
21795 (lang_cleanup_tree): New function.
21796 * c-lang.c: Include "ggc.h".
21797 (lang_init): Call c_parse_init.
21798 * c-lex.c: Include "ggc.h".
21799 (check_linenum): If doing GC, don't copy filenames to permanent
21801 * c-parse.in: Include "ggc.h".
21802 (c_parse_init): New function.
21803 * c-tree.h (c_parse_init, mark_c_function_context): Declare.
21804 * objc/Make-lang.in (objc-parse.o): Depend on ggc.h.
21806 * except.c (mark_eh_state): Mark more state.
21807 * function.c (mark_function_state): Likewise.
21808 * ggc-simple.c (ggc_alloc_rtvec): Bring in sync with non-gc version.
21809 (ggc_alloc_string) [GGC_DUMP]: Fix typo.
21810 * toplev.c (mark_file_stack): New function.
21811 (compile_file): If doing GC, use ggc_alloc_string on input filename.
21812 (main): Add root for input_file_stack.
21814 * i386.c: Include "ggc.h".
21815 (ix86_mark_machine_status): New function.
21816 (override_options): Set mark_machine_status.
21818 Mon Sep 6 15:26:23 1999 Bernd Schmidt <bernds@cygnus.co.uk>
21820 * tree.c (copy_node): Copy node contents also if doing GC.
21822 Mon Sep 6 08:42:06 1999 Alexandre Oliva <oliva@dcc.unicamp.br>
21824 * collect2.c (scan_libraries): Fix double-thinko :-).
21826 Mon Sep 6 02:42:36 1999 Jeffrey A Law (law@cygnus.com)
21828 * collect2.c (scan_libraries): Fix thinko.
21830 * cse.c (delete_trivially_dead_insns): Do not skip the last
21831 insn if it is a real insn.
21833 Sun Sep 5 18:57:42 1999 Mark Mitchell <mark@codesourcery.com>
21835 * Makefile.in (ggc-simple.o): Depend on hash.h.
21836 * ggc.h (ggc_add_tree_hash_table_root): Declare.
21837 (ggc_mark_tree_varray): Likewise.
21838 (ggc_mark_tree_hash_table): Likewise.
21839 * ggc-simple.c: Include hash.h.
21840 (ggc_mark_tree_hash_table_ptr): New function.
21841 (ggc_mark_tree_hash_table_entry): Likewise.
21842 (ggc_mark_tree_hash_table): Likewise.
21843 (ggc_add_tree_hash_table_root): Likewise.
21844 * varray.h (const_equiv_data): Use struct rtx_def *, rather than
21845 rtx, when defining fields.
21847 Sun Sep 5 18:57:42 1999 Bernd Schmidt <crux@pool.informatik.rwth-aachen.de>
21849 * profile.c (output_func_start_profiler): Remove apparently
21850 nonsensical call to start_sequence.
21852 Sun Sep 5 17:34:33 1999 Richard Henderson <rth@cygnus.com>
21854 * clipper/clipper.c (clipper_va_start): Fix typos.
21856 * pyr/pyr.c (pyr_build_va_list, pyr_va_start, pyr_va_arg): New stubs.
21857 * spur/spur.c (spur_build_va_list, spur_va_start): New stubs.
21858 (spur_va_arg): New stub.
21860 * configure.in: Comment out pyramid.
21862 Sun Sep 5 19:11:01 1999 Michael Meissner <meissner@cygnus.com>
21864 * i386.h (MASK_{DEBUG_{ADDR,ARG},INTEL_SYNTAX}): Move so these
21865 don't conflict with the bits that win32, cygwin, and dgux
21868 Sun Sep 5 09:31:56 1999 Richard Henderson <rth@cygnus.com>
21869 Bernd Schmidt <bernds@cygnus.co.uk>
21871 * integrate.c (function_cannot_inline_p): Do not inline
21872 functions with forced labels.
21874 Sun Sep 5 00:35:17 1999 Richard Henderson <rth@cygnus.com>
21875 Bernd Schmidt <bernds@cygnus.co.uk>
21876 Mark Mitchell <mark@codesourcery.com>
21878 * Makefile.in (ggc-simple.o): Depend on varray.h.
21879 (rtl.o): Depend on ggc.h.
21880 (genattrtab.o): Depend on ggc.h.
21881 (print-tree.o): Likewise.
21882 (fold-const.o): Likewise.
21883 * emit-rtl.c (sequence_element_free_list): Remove, and all references.
21884 (make_insn_raw): Don't cache insns when GC'ing.
21885 (emit_insn_before): Likewise.
21886 (emit_insn_after): Likewise.
21887 (emit_insn): Likewise.
21888 (start_sequence): Use xmalloc to allocate the sequence_stack.
21889 (end_sequence): Add free to free it.
21890 (gen_sequence): Don't cache insns when GC'ing.
21891 (clear_emit_caches): Don't use sequence_element_free_list.
21892 (init_emit): Use xcalloc, not xmalloc+bzero.
21893 * fold-const.c (size_int_wide): Kill the cache, when GC'ing.
21894 * function.c (pop_function_context_from): Use free to free the
21895 fixup_var_refs_queue.
21896 (put_reg_into_stack): Allocate it with xmalloc.
21897 * genattrtab.c: Include ggc.h.
21898 (operate_exp): Don't use obstack_free when GC'ing.
21899 (simplify_cond): Likewise.
21900 (simplify_text_exp): Likewise.
21901 (optimize_attrs): Likewise.
21902 * gengenrtl.c (gendef): Use ggc_alloc_rtx to allocate RTL, when
21904 (gencode): Generate a #include for ggc.h.
21905 * ggc-callbacks.c (ggc_p): Define it to zero.
21906 * ggc-none.c (ggc_p): Likewise.
21907 * ggc-simple.c: Include varray.h.
21908 (ggc_mark_tree_varray): New function.
21909 (ggc_add_tree_varray_root): Likewise.
21910 (ggc_mark_tree_varray_ptr): Likewise.
21911 * ggc.h (ggc_p): Declare.
21912 (varray_head_tag): Likewise.
21913 (ggc_add_tree_varray_root): Declare.
21914 * print-tree.c (print_node): Don't check for TREE_PERMANENT
21915 inconsistencies when GC'ing.
21916 * rtl.c: Include ggc.h.
21917 (rtvec_alloc): Use ggc_alloc_rtvec when GC'ing.
21918 (rtx_alloc): Use ggc_alloc_rtx when GC'ing.
21919 (rtx_free): Don't call obstack_free when GC'ing.
21920 * toplev.c (rest_of_compilation): Call ggc_collect after every
21922 * tree.c (push_obstacks): Do nothing, if GC'ing.
21923 (pop_obstacks_nochange): Likewise.
21924 (pop_obstacks): Likewise.
21925 (make_node): Use ggc_alloc_tree when GC'ing.
21926 (copy_node): Likewise.
21927 (get_identifier): Use ggc_alloc_string when GC'ing.
21928 (build_string): Likewise.
21929 (make_tree_vec): Use ggc_alloc_tree when GC'ing.
21930 (tree_cons): Likewise.
21931 (build1): Likewise.
21932 (type_hash_canon): Don't call obstack_free when GC'ing.
21934 Sat Sep 4 21:52:32 1999 Richard Henderson <rth@cygnus.com>
21936 * haifa-sched.c (schedule_block): Use next_nonnote_insn instead
21937 of NEXT_INSN when examining speculative insns for SCHED_GROUP_P.
21939 Sat Sep 4 20:40:19 1999 Richard Henderson <rth@cygnus.com>
21940 Bernd Schmidt <bernds@cygnus.co.uk>
21941 Mark Mitchell <mark@codesourcery.com>
21943 * Makefile.in (stor-layout.o): Depend on ggc.h.
21944 (expr.o): Depend on ggc.h.
21945 (profile.o): Depend on ggc.h.
21946 (stor-layout.o): Depend on ggc.h.
21947 * emit-rtl.c (init_emit_once): Add gc roots.
21948 * expr.c: Include ggc.h.
21949 (emit_block_move): Add gc roots.
21950 (clear_storage): Likewise.
21951 * expr.h (init_stor_layout_once): New function.
21952 * profile.c: Include ggc.h.
21953 (init_arc_profiler): profiler_label is a root.
21954 * scan.c (make_sstring_space): Trust xrealloc to function
21955 correctly with first parameter NULL.
21956 * stor-layout.c: Include ggc.h.
21957 (set_sizetype): Add gc root.
21958 (init_stor_layout_once): New function.
21959 * toplev.c (compile_file): Call it.
21961 Sat Sep 4 19:26:25 1999 Richard Henderson <rth@cygnus.com>
21962 Bernd Schmidt <bernds@cygnus.co.uk>
21963 Mark Mitchell <mark@codesourcery.com>
21965 * Makefile.in (tree.o): Depend on ggc.h.
21966 (varasm.o): Likewise.
21967 (function.o): Likewise.
21968 (stmt.o): Likewise.
21969 (except.o): Likewise.
21970 (optabs.o): Likewise.
21971 (emit-rtl.o): Likewise.
21972 * emit-rtl.c: Include ggc.h.
21973 (sequence_element_free_list): Remove, and all references.
21974 (mark_sequence): New functions.
21975 (mark_emit_state): New function.
21976 * except.c: Include ggc.h.
21977 (mark_eh_node, mark_eh_stack, mark_eh_queue): New functions.
21978 (mark_tree_label_node): New functions.
21979 (mark_eh_state): New function.
21980 * function.c: Include ggc.h.
21981 (mark_temp_slot, mark_function_chain): New functions.
21982 (mark_function_state): New function.
21983 (init_function_once): New function.
21984 * function.h (init_function_once): New function.
21985 * ggc-callbacks.c (lang_mark_false_label_stack): New function.
21986 * ggc.h (label_node): Declare.
21987 (eh_status, emit_status, stmt_status, varasm_status): Likewise.
21988 (lang_mark_false_label_stack): New function.
21989 (mark_temp_slot): Remove declaration.
21990 (mark_function_chain): Likewise.
21991 (mark_eh_state): Adjust prototype.
21992 (mark_stmt_state, mark_emit_state, mark_varasm_state, mark_optab):
21994 * optabs.c: Include ggc.h.
21995 (mark_optab): New function.
21996 (init_optabs): Add gc roots.
21997 * stmt.c: Include ggc.h.
21998 (mark_cond_nesting, mark_loop_nesting): New functions.
21999 (mark_block_nesting, mark_case_nesting, mark_goto_fixup): Likewise.
22000 (mark_stmt_state): New function.
22001 * toplev.c (compile_file): Call init_function_once.
22002 * tree.c: Include ggc.h.
22003 (type_hash): Move declaration earlier in file.
22004 (TYPE_HASH_SIZE, type_hash_table): Likewise.
22005 (init_obstacks): Add gc roots.
22006 (mark_type_hash): New function.
22007 * varasm.c: Include ggc.h.
22008 (mark_pool_constant): New function.
22009 (mark_varasm_state): New function.
22011 Sat Sep 4 22:28:56 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
22013 * ggc-simple.c (ggc_root, ggc_collect): Wrap prototype with PROTO.
22015 Sat Sep 4 18:01:45 1999 Bernd Schmidt <bernds@cygnus.co.uk>
22017 * c-decl.c (struct language_function): Renamed from struct c_function.
22019 (c_function_chain): Delete.
22020 (push_c_function_context): New arg F. Don't warn about nested
22021 functions here. Fill LANGUAGE elt of F. Delete code to update
22022 c_function_chain. Don't call push_function_context.
22023 (pop_c_function_context): New arg F. Restore from there instead of
22024 from c_function_chain. Don't call pop_function_context. Clear out
22025 LANGUAGE field of F when done.
22026 * c-lang.c: Include "function.h"
22027 (lang_init): Initialize save_lang_status and restore_lang_status.
22028 * c-parse.in (nested_function, nested_function_notype): Warn about
22029 nested functions. Call push_function_context/pop_function_context
22030 instead of the _c_ variants.
22031 * c-tree.h (push_c_function_context, pop_c_function_context): Update
22033 * Makefile.in (c-lang.o): Update dependencies.
22035 * emit-rtl.c (init_emit): Use xmalloc to allocate regno_reg_rtx,
22036 regno_pointer_flag, regno_pointer_align.
22037 (gen_reg_rtx): Use xrealloc to enlarge them.
22038 (free_emit_status): New function.
22039 * function.c (mark_machine_status, mark_lang_status): New variables.
22040 (assign_stack_local_1): Renamed from assign_outer_stack_local. Merge
22041 in some bits from assign_stack_local. All callers changed to use new
22043 (assign_stack_local): Just call assign_stack_local_1.
22044 (free_after_compilation): New function.
22045 (put_reg_into_stack): Simplify to always call assign_stack_local_1.
22046 (trampoline_address): Likewise.
22047 (assign_parms): Use xcalloc/xrealloc to allocate parm_reg_stack_loc.
22048 (prepare_function_start): Explicitly clear some more variables.
22049 * function.h (struct function): New elt can_garbage_collect.
22050 (mark_machine_status, mark_lang_status): Declare variables.
22051 (free_after_compilation, free_emit_status, free_varasm_status,
22052 init_varasm_status): Declare functions.
22053 * toplev.c (rest_of_compilation): Call free_after_compilation when
22054 done with the current function.
22055 * varasm.c (free_varasm_status): New function.
22057 Sat Sep 4 17:15:13 1999 Richard Henderson <rth@cygnus.com>
22059 * sparc.h (EXPAND_BUILTIN_VA_START): Define.
22060 (EXPAND_BUILTIN_VA_ARG): Define.
22061 * sparc.c (sparc_va_start): New.
22062 (sparc_va_arg): New.
22064 Sun Sep 5 11:11:59 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
22066 * config/c4x/c4x.h (DBR_OUTPUT_SEQEND): Use XVECEXP not XEXPs.
22068 Sun Sep 5 10:13:19 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
22070 * config/c4x/c4x.h (CALLER_SAVE_PROFITABLE): Disable.
22072 Sat Sep 4 13:44:01 1999 Mark Mitchell <mark@codesourcery.com>
22074 * Makefile.in (C_AND_C_OBJS): Add gcc-callbacks.o.
22075 (OBJS): Add $(GGC).
22076 (ggc-callbacks.o): New target.
22077 * ggc-callbacks.c: New file.
22079 Sat Sep 4 22:53:13 1999 Bernd Schmidt <bernds@cygnus.co.uk>
22081 * expr.h: Collapse individual optab and libfunc vars to arrays.
22082 (optab_index, libfunc_index): New enumerations.
22083 (optab_table, libfunc_table): New arrays.
22084 Add accessor macros for both.
22086 * optabs.c (optab_table, libfunc_table): New.
22087 Delete declarations for individual optab and libfunc vars.
22089 Sat Sep 4 12:57:17 1999 Richard Henderson <rth@cygnus.com>
22091 * i386/sco5.h (RETURN_POPS_ARGS): Name change ix86_return_pops_args.
22093 Sat Sep 4 11:19:52 1999 Richard Henderson <rth@cygnus.com>
22095 * Makefile.in (GGC, GGC_LIB): New.
22096 (HOST_RTL): Include ggc-none.o.
22097 (ggc-simple.o): New target.
22098 (ggc-none.o): Likewise.
22099 * tree.h (tree_common): Add gc_mark.
22100 * rtl.h (struct rtx_def): Steal a bit from code to make gc_mark.
22101 (struct rtvec_def): Add gc_mark.
22102 * emit-rtl.c (global_rtl): Update static initializers to contain
22103 enough initializers.
22104 * ggc.h, ggc-none.c, ggc-simple.c: New files.
22105 * toplev.c (gc_time): New variable.
22106 (all_time): New variable.
22107 (compile_file): Print gc time.
22108 (print_time): Calculate percentage of the whole.
22110 Sat Sep 4 13:11:01 1999 Bernd Schmidt <bernds@cygnus.co.uk>
22112 Change obstack memory management and varasm constant pool handling so
22113 that nested functions are treated like any other functions.
22114 * function.c (init_machine_status): New variable.
22115 (push_function_context_to): Set contains_functions for the outer
22116 function. Don't call save_varasm_status.
22117 (pop_function_context_from): Don't call restore_varasm_status. Don't
22118 set current_function_contains_functions.
22119 (prepare_function_start): Call init_varasm_status rather than
22120 init_const_rtx_hash_table. Call (*init_machine_status) if the pointer
22122 * function.h (struct function) Add field varasm. Delete fields
22123 inline_obstacks, inl_emit, const_rtx_hash_table, first_pool,
22124 last_pool, const_rtx_sym_hash_table, pool_offset, const_double_chain.
22125 (init_machine_status): Declare.
22126 (save_varasm_status, restore_varasm_status): Delete declarations.
22127 (save_tree_status, restore_tree_status): Delete last argument.
22128 * integrate.c (initialize_for_inline): Lose arg COPY. Delete copying
22129 code. All callers changed.
22130 (copy_decl_list, copy_decl_tree, copy_decl_rtls, copy_for_inline,
22131 save_constants_in_decl_trees, restore_constants, save_constants,
22132 save_for_inline_eh_labelmap, save_for_inline_copying): Delete
22134 (inlining): New variable.
22135 (reg_map, label_map, insn_map, orig_asm_operands_vector,
22136 copy_asm_operands_vector, copy_asm_constraints_vector): Delete
22138 (save_for_inline_nocopy): Don't save constants.
22139 Don't set inl_emit field in current_function.
22140 (expand_inline_function): Use emit field, not inl_emit, of the inlined
22141 function. Set new variable inlining before
22142 calling copy_rtx_and_substitute.
22143 (copy_rtx_and_substitute): In MEM and SYMBOL_REF cases, handle
22144 constant pool references if inlining is nonzero.
22145 Delete ADDRESS and (most of the) CONST cases.
22146 (output_inline_function): Save and restore current_function/
22147 current_function_decl. Delete restore_constants code. Don't call
22148 init_const_rtx_hash_table.
22149 * output.h (init_const_rtx_hash_table): Don't declare.
22150 * rtl.h (struct function): Declare.
22151 (get_pool_constant_for_function, get_pool_mode_for_function): Declare.
22152 * toplev.c (rest_of_compilation): Don't treat nested functions or
22153 functions containing them specially. Delete all code to deal with
22154 save_for_inline_copying.
22155 * tree.c (toplev_inline_obstacks, extra_inline_obstacks,
22156 inline_obstacks): Delete variables.
22157 (save_tree_status): Lose arg CONTEXT. All callers changed.
22158 Simply allocate a new function_maybepermanent_obstack for the new
22159 function, delete all the special cases.
22160 Don't save inline_obstacks.
22161 (restore_tree_status): Lose arg CONTEXT. All callers changed.
22162 Delete special handling for function_maybepermanent_obstack; simply
22164 Don't restore inline_obstacks.
22165 (permanent_allocation): Delete code that frees inline_obstacks.
22166 (print_inline_obstack_statistics): Delete function.
22167 (dump_tree_statistics): Don't call it.
22168 * varasm.c (struct varasm_status): New.
22169 (const_rtx_hash_table, const_rtx_sym_hash_table, first_pool,
22170 last_pool, pool_offset, const_double_chain): Delete global
22171 variables, replace with accessor macros.
22172 (immed_double_const): Don't walk const_double_chain outside a
22173 function, but don't treat nested functions specially anymore.
22174 (immed_real_const_1): Likewise.
22175 (clear_const_double_mem): Don't treat nested functions specially.
22176 (init_const_rtx_hash_table): Deleted, code moved to init_varasm_status.
22177 (save_varasm_status, restore_varasm_status): Delete functions.
22178 (init_varasm_status): New function.
22179 (force_const_mem): Don't treat nested functions specially.
22180 (find_pool_constant): Accept new arg F, search for constants in
22181 that function's pool rather than the current one. All callers
22183 (get_pool_constant_for_function, get_pool_mode_for_function): New
22186 * i386.c (init_386_machine_status): New function, mostly from
22187 clear_386_stack_locals.
22188 (struct machine_functions): Rename element names to avoid name
22190 (pic_label_rtx, pic_label_name, i386_stack_locals): New accessor
22191 macros, replacing global variables.
22192 (clear_386_stack_locals, save_386_machine_status,
22193 restore_386_machine_status): Delete functions.
22194 (override_options): Initialize init_machine_status.
22195 * i386.h (INIT_EXPANDERS): Delete macro.
22196 (save_386_machine_status, restore_386_machine_status,
22197 clear_386_stack_locals): Delete declarations.
22199 Sat Sep 4 16:56:28 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
22201 * config/c4x/c4x.md (rptb_init): Renamed from *rptb_init.
22202 (doloop_begin): Simplify pattern and use emit_jump_insn.
22203 (doloop_end): Simplify pattern, switch operand order,
22204 and use emit_jump_insn.
22206 Fri Sep 3 19:02:38 1999 Bernd Schmidt <crux@pool.informatik.rwth-aachen.de>
22208 * function.h (struct function): Add new element LANGUAGE.
22209 (save_lang_status): Declare new variable.
22210 (restore_lang_status): Likewise.
22211 * function.c (save_lang_status): Define.
22212 (restore_lang_status): Likewise.
22213 (push_function_context_to): Call language-specific save function.
22214 (pop_function_context_from): Call language-specific restore function.
22216 Fri Sep 3 01:16:18 1999 Alasdair Baird <alasdair@wildcat.demon.co.uk>
22218 * i386.md (movsf_1): Check REG_P before use of REGNO.
22219 (movdf_1): Likewise.
22220 (movxf_1): Likewise.
22221 (extendsfdf2): Likewise.
22222 (extendsfxf2): Likewise.
22223 (extenddfxf2): Likewise.
22225 Sat Sep 4 11:37:15 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
22227 * config/c4x/c4x.c (c4x_emit_move_sequence): Do not force large
22228 constants into memory.
22229 (c4x_shiftable_constant): New function.
22230 * config/c4x/c4x.c (LEGITIMATE_CONSTANT_P): Allow any CONST_INT.
22231 (c4x_shiftable_constant): Declare.
22232 * config/c4x/c4x.md (loadqi_big_constant, loadhi_big_constant,
22233 ashlqi3_noclobber): Add new patterns and associated splitters.
22235 Fri Sep 3 16:22:17 1999 Richard Henderson <rth@cygnus.com>
22237 * dbxout.c (dbxout_init): Use xcalloc instead of xmalloc+bzero.
22238 * dwarf2out.c (dwarf2out_frame_init): Likewise.
22239 * final.c (shorten_branches): Likewise.
22240 * global.c (global_alloc): Likewise.
22241 * haifa-sched.c (build_control_flow): Likewise.
22242 * stmt.c (check_for_full_enumeration_handling): Likewise.
22243 (estimate_case_costs): Likewise.
22245 Fri Sep 3 15:49:56 1999 Mark Mitchell <mark@codesourcery.com>
22247 * rtl.h (RTL_CHECKC2): Fix typo in last change.
22249 Fri Sep 3 15:13:34 1999 Richard Henderson <rth@cygnus.com>
22251 * flow.c (propagate_block): Use XEXP not SET_DEST for a USE.
22252 (recompute_reg_usage): Likewise.
22253 * rtlanal.c (find_regno_fusage): Likewise.
22255 * rtl.c (rtl_check_failed_code1): New function.
22256 (rtl_check_failed_code2): New.
22257 * rtl.h (RTL_CHECK1, RTL_CHECK2, RTVEC_ELT): Parenthesize args.
22258 (RTL_CHECKC1, RTL_CHECKC2): New.
22259 (XC*): New accessor macros.
22260 (NOTE_*, LABEL_NAME, LABEL_NUSES, ADDRESSOF_REGNO): Use them.
22261 (ADDRESSOF_DECL, JUMP_LABEL, LABEL_REFS, LABEL_NEXTREF): Likewise.
22262 (CONTAINING_INSN, REGNO, INTVAL, SUBREG_REG, SUBREG_WORD): Likewise.
22263 (ASM_OPERANDS_*, MEM_ALIAS_SET, SET_SRC, SET_DEST): Likewise.
22264 (TRAP_*, RANGE_INFO_*): Likewise.
22266 Fri Sep 3 15:10:20 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
22268 * Makefile.in (tlink.o): Don't depend on toplev.h.
22270 * collect2.c (c_file, o_file, export_file, import_file, ldout,
22271 output_file, nm_file_name, ldd_file_name, strip_file_name,
22272 c_file_name, prefix_list, libexts, is_ctor_dtor, find_a_file,
22273 add_prefix, prefix_from_env, prefix_from_string, do_wait,
22274 fork_execute, maybe_unlink, add_to_list,
22275 extract_init_priority, write_list, dump_list,
22276 dump_prefix_list, write_list_with_asm, write_c_file,
22277 write_c_file_stat, write_c_file_glob, scan_prog_file,
22278 scan_libraries, is_in_list, resolve_lib_name, use_import_list,
22279 ignore_library, extract_string, notice, dump_file, target_machine,
22280 collect_wait, collect_execute, libname, locatelib, aix_std_libs,
22281 read_file, print_load_command): Constify a char*.
22282 (fdopen, error, fatal, fatal_perror): Don't prototype.
22283 (my_strerror): Remove. All callers use xstrerror instead.
22284 (xcalloc, xmalloc, xrealloc, xstrdup, putenv): Remove definitions.
22285 (main): Add prototype. Constify lots of char* ptrs. Change calls
22286 to xcalloc/strcpy/strcat/... to one call to concat.
22287 (main, scan_prog_file, scan_libraries): Use an intermediate
22288 `const char **' to build an argv array.
22289 (mapfile, libselect, libcompare, locatelib): Add prototypes.
22291 * collect2.h (collect_execute, collect_wait, dump_file,
22292 file_exists): Constify a char*.
22293 (ldout, c_file_name, temporary_obstack, permanent_obstack,
22294 temporary_firstobj, vflag, debug): Add extern declarations.
22295 (fancy_abort, error, notice, fatal, fatal_perror): Add prototypes.
22297 * tlink.c: Don't include toplev.h.
22298 (vflag, debug, ldout, c_file_name, temporary_obstack,
22299 permanent_obstack, temporary_firstobj): Don't declare.
22300 (tlink_execute, frob_extension, symbol_hash_lookup,
22301 file_hash_lookup, demangled_hash_lookup, tlink_init, freadsym,
22302 recompile_files, read_repo_files, demangle_new_symbols,
22303 scan_linker_output): Constify a char*.
22304 (symbol_hash_newfunc, file_hash_newfunc, demangled_hash_newfunc,
22305 do_tlink): Mark parameters with ATTRIBUTE_UNUSED.
22307 Fri Sep 3 18:09:24 1999 Andrew Haley <aph@cygnus.com>
22309 * config/m68k/m68kelf.h: Set USE_GAS; this makes gcc generate jbsr
22310 (relative) rather than jsr (absolute) subroutine call insns.
22311 * config/m68k/m68k-coff.h: Ditto.
22313 Fri Sep 3 17:24:31 1999 Richard Earnshaw <rearnsha@arm.com>
22315 * arm.c (note_invalid_constants): No need to ignore ASMs, we can
22316 now rework these too.
22317 (arm_reorg): If an insn can't reach the end of the current pool,
22318 ensure that we emit that pool before the insn.
22320 Fri Sep 3 09:14:32 1999 Marc Espie <espie@tetto.liafa.jussieu.fr>
22322 * tlink.c (scan_linker_output): Skip the initial underscore in
22323 a mangled name if appropriate.
22325 Fri Sep 3 01:28:33 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
22327 * objc/objc-act.c (objc_tree_code_type, objc_tree_code_length,
22328 objc_tree_code_name, synth_id_with_class_suffix, warn_with_method,
22329 error_with_ivar, gen_declarator, create_builtin_decl,
22330 my_build_string, generate_descriptor_table, generate_ivars_list,
22331 generate_dispatch_table, check_protocols, TAG_GETCLASS,
22332 TAG_GETMETACLASS, TAG_MSGSEND, TAG_MSGSENDSUPER, TAG_EXECCLASS,
22333 dump_base_name, lang_decode_option, build_encode_expr,
22334 start_class, finish_class, encode_pointer, really_start_method,
22335 gen_declaration, dump_interface, handle_class_ref, handle_impent):
22337 (objc_demangle, objc_printable_name, generate_struct_by_value_array):
22338 Add static prototypes.
22339 (build_objc_string_decl, build_selector_reference_decl,
22340 encode_bitfield, build_class_reference_decl): Remove unused
22341 parameter, all callers changed.
22342 (maybe_objc_method_name): Mark with ATTRIBUTE_UNUSED.
22343 (objc_printable_name): Likewise. Change second parameter to type int.
22344 (init_objc): Use memcpy, not bcopy, to avoid casts.
22346 Thu Sep 2 21:49:52 1999 Richard Henderson <rth@cygnus.com>
22348 * reload1.c (eliminate_regs_in_insn): Avoid eliminating the
22349 reg notes on a deleted insn.
22350 * gcse.c (hash_expr_1): Use XWINT on a CONST_DOUBLE.
22352 Thu Sep 2 20:18:12 1999 Jeffrey A Law (law@cygnus.com)
22354 * i386.c (ix86_attr_length_default): Handle TYPE_FXCH.
22356 Thu Sep 2 22:00:08 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
22358 * stmt.c (expand_asm_operands): Fix index into inout_mode when
22361 Thu Sep 2 13:00:48 1999 Richard Henderson <rth@cygnus.com>
22363 * stmt.c (expand_asm_operands): Invoke MD_ASM_CLOBBERS if present.
22364 * tm.texi (MD_ASM_CLOBBERS): Document it.
22366 Thu Sep 2 10:22:40 1999 Richard Henderson <rth@cygnus.com>
22368 * dwarf2out.c (dwarf2out_line): Constify `lastfile'.
22369 * except.c (expand_rethrow): Remove unused variable.
22370 * expr.c (do_jump_by_parts_greater_rtx): Likewise.
22371 * flow.c (replace_insns): Likewise.
22372 (create_edge_list, verify_edge_list): Likewise.
22373 * gcse.c (cprop_cc0_jump): Protect declaration with HAVE_cc0.
22375 * genemit.c (gen_expand): Only emit `operands[N]' decl if there
22376 is special code to run.
22377 (main): Don't define operands to emit_operand.
22378 * genrecog.c (main): Don't emit an empty peephole2_insn function.
22380 * rtl.h (NOTE_BASIC_BLOCK): Use X0BBDEF.
22382 * alpha/alpha.h (normal_memory_operand): Declare.
22383 (reg_no_subreg_operand): Declare.
22384 * alpha/elf.h (ASM_DECLARE_OBJECT_NAME): Use HOST_WIDE_INT_PRINT_DEC.
22386 Thu Sep 2 10:19:20 1999 Richard Henderson <rth@cygnus.com>
22388 * c-parse.in (compstmt_primary_start): New, broken out of first
22389 part of compstmt handling in primary.
22390 (primary): Use it. Add an error clause.
22391 (compstmt_nostart): Renamed from compstmt; remove all
22392 initial invocations of compstmt_start.
22395 Thu Sep 2 01:35:50 1999 Marc Espie <espie@cvs.openbsd.org>
22397 * protoize.c (gen_aux_info_file): Let pexecute call choose_temp_base if
22400 Thu Sep 2 00:43:59 1999 Finn Hakansson <finn@axis.com>
22402 * combine.c (simplify_shift_const): Remove extra semicolon.
22403 * dwarf2out.c (remove_AT): Likewise.
22404 * expmed.c (expand_mult): Likewise.
22405 * gcov.c (create_program_flow_graph): Likewise.
22406 * reorg.c (mostly_true_jump): Likewise.
22408 Thu Sep 2 00:06:43 1999 Jeffrey A Law (law@cygnus.com)
22410 * fold-const.c (fold_range_test): Do not try to fold the range
22411 test if the rhs or lhs has side effects.
22413 * combine.c (simplify_rtx): Recognize another case of a synthesized
22416 * varasm.c (mark_constant_pool): When marking indirect references,
22417 only look at SYMBOL_REFs.
22419 * except.c (expand_fixup_region_end): Do not peek at
22420 INSN_UID (node->entry->outer_context) for flag_new_exceptions.
22422 Thu Sep 2 13:52:53 1999 Geoffrey Keating <geoffk@cygnus.com>
22424 * flags.h: New variables align_loops, align_loops_log,
22425 align_jumps, align_jumps_log, align_labels, align_labels_log,
22426 align_functions, align_functions_log.
22427 * toplev.c: Define them.
22428 (f_options): Handle -falign-* when they have no argument.
22429 (main): Add logic to set variables for -falign-functions,
22430 -falign-jumps, -falign-labels, -falign-loops.
22431 Make it -fsched-verbose=<n> and -finline-limit=<n>.
22432 (display_help): Change help to match options.
22433 * final.c (LABEL_ALIGN): Default to align_labels_log.
22434 (LABEL_ALIGN_MAX_SKIP): Default to align_labels-1.
22435 (LOOP_ALIGN): Default to align_loops_log.
22436 (LOOP_ALIGN_MAX_SKIP): Default to align_loops-1.
22437 (LABEL_ALIGN_AFTER_BARRIER): Default to align_jumps_log.
22438 (LABEL_ALIGN_AFTER_BARRIER_MAX_SKIP): Default to align_jumps-1.
22439 * varasm.c (assemble_start_function): Handle align_functions.
22441 * config/sparc/sparc.h: Don't declare sparc_align_*.
22442 Don't provide LABEL_ALIGN_AFTER_BARRIER or LOOP_ALIGN.
22443 (DEFAULT_SPARC_ALIGN_FUNCS): Delete; take functionality into
22445 (FUNCTION_BOUNDARY): Fix incorrect use---it's not just a request,
22447 * config/sparc/sparc.c: Delete sparc_align_loops,
22448 sparc_align_jumps, sparc_align_funcs and the corresponding string
22450 (sparc_override_options): Default align_functions on ultrasparc.
22451 Delete -malign-* handling.
22453 * config/mips/mips.c (override_options): On 64-bit targets,
22454 try to align code to 64-bit boundaries.
22455 (print_operand): New substitution, %~,
22456 which aligns labels to align_labels_log.
22457 * config/mips/mips.md (div_trap_normal): Use %~.
22458 (div_trap_mips16): Likewise.
22460 (absdi2): Likewise.
22461 (ffssi2): Likewise.
22462 (ffsdi2): Likewise.
22463 (ashldi3_internal): Likewise.
22464 (ashrdi3_internal): Likewise.
22465 (lshrdi3_internal): Likewise.
22466 (casesi_internal): Likewise.
22468 Wed Sep 1 21:13:48 1999 Richard Henderson <rth@cygnus.com>
22470 Merge new ia32 backend from the branch!
22472 * i386.h, i386.c, i386.md, reg-stack.c, i386/unix.h: Many changes.
22473 See ChangeLog.P2 on new_ia32_branch for details.
22475 * rtl.h (stack_regs_mentioned_p): Delete prototype.
22476 * i386/cygwin.h (SUBTARGET_PROLOGUE): No more do_rtl.
22477 * i386/win32.h (SUBTARGET_PROLOGUE): Likewise.
22478 * i386/gas.h (ASM_FILE_START): Define.
22479 * i386/winnt.c (i386_pe_valid_decl_attribute_p): Update
22480 for name change of ix86_valid_decl_attribute_p.
22481 (i386_pe_valid_type_attribute_p): Similarly.
22483 Wed Sep 1 18:21:23 1999 Richard Henderson <rth@cygnus.com>
22485 * emit-rtl.c (init_emit_once): Don't use GET_MODE_WIDER_MODE
22486 to step through CC modes.
22488 Wed Sep 1 20:18:06 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
22490 * regmove.c (fixup_match_1): Don't move INSN in front of P if
22491 it would end up in the shadow of a live flags regsiter.
22493 Wed Sep 1 11:32:00 1999 Bernd Schmidt <bernds@cygnus.co.uk>
22495 * reload1.c: Fix many indentation problems.
22496 * reload.c: Likewise.
22498 Tue Aug 31 22:08:03 1999 Marc Espie <espie@cvs.openbsd.org>
22500 * alias.c (non_local_reference_p): Constify fmt.
22502 Tue Aug 31 23:19:35 1999 Michael Meissner <meissner@cygnus.com>
22504 * config/i386/xm-cygwin.h (HAVE_DOS_BASED_FILE_SYSTEM): Define.
22506 Tue Aug 31 16:44:52 1999 Jeffrey A Law (law@cygnus.com)
22508 * cse.c (delete_trivially_dead_insns): Do not delete stores to
22509 the internal_arg_pointer.
22511 Tue Aug 31 13:35:42 1999 Richard Henderson <rth@cygnus.com>
22513 Merge peephole2 from new_ia32_branch:
22514 * Makefile.in (STAGESTUFF): Add *.peephole2.
22515 (mostlyclean): Likewise.
22516 (recog.o): Depend on resource.h.
22518 * final.c (peephole): Conditionalize decl on HAVE_peephole.
22519 (final_scan_insn): Likewise for the invocation of peephole.
22520 * genconfig.c (main): Look for peephole and peephole2 patterns.
22521 Emit HAVE_peephole* accordingly.
22522 * genpeep.c (main): Conditionalize entire output on HAVE_peephole.
22523 * flags.h (flag_peephole2): Declare.
22524 * toplev.c: New pass peephole2. New flag -fpeephole2.
22526 * genattrtab.c (main): Count DEFINE_PEEPHOLE2.
22527 * gencodes.c (main): Likewise.
22528 * genextract.c (main): Likewise.
22529 * genoutput.c (main): Likewise.
22530 * genemit.c (max_operand_1): Look for the max scratch operand.
22531 (gen_rtx_scratch): New.
22532 (gen_exp): Use it, and pass on new arg subroutine_type.
22533 (gen_expand): Take max scratch into account.
22534 (gen_split): Emit peephole2 functions.
22535 (output_peephole2_scratch): New.
22536 (main): Include hard-reg-set.h and resource.h. Handle peephole2.
22537 * genrecog.c (routine_type): Add PEEPHOLE2.
22539 (make_insn_sequence): Match outer parallel for peep2. Discard
22540 top level scratches and dups.
22541 (add_to_sequence): New args insn_type and top. Update all callers.
22542 Handle toplevel peep2 matching insns.
22543 (write_subroutine): Handle peep2.
22544 (write_tree_1): Likewise.
22545 (write_tree): Likewise.
22547 (change_state): New arg afterward. Update all callers.
22548 Handle matching separate insns.
22549 * recog.c (recog_next_insn): New.
22550 (peephole2_optimize): New.
22551 * rtl.def (DEFINE_PEEPHOLE2): New.
22552 * resource.c (find_free_register): New argument last_insn. Use it
22553 to find a register available through the entire span.
22554 * resource.h (find_free_register): Update prototype.
22556 Tue Aug 31 11:51:06 1999 Jim Kingdon <http://developer.redhat.com>
22558 * i386.c (output_strlen_unroll): Don't write xops[7]
22559 label if it wasn't set.
22561 1999-08-31 12:44 -0700 Zack Weinberg <zack@bitmover.com>
22563 * cpplib.c (struct directive): Const-ify name pointer and
22564 function pointer prototype.
22565 (validate_else, do_define, do_line, do_include, do_undef,
22566 do_error, do_pragma, do_ident, do_if, do_xifdef, do_else,
22567 do_elif, do_endif, do_sccs, do_assert, do_unassert,
22568 do_warning): Const-ify second arg.
22569 (directive_table): Mark const. Reorder entries by frequency
22570 of usage, record statistics.
22572 1999-08-31 12:20 -0700 Zack Weinberg <zack@bitmover.com>
22574 * rtl.h (RTL_CHECK1, RTL_CHECK2): New macros which type- and
22575 bounds- check RTL accesses if --enable-checking.
22576 (RTVEC_ELT): Bounds check if --enable-checking.
22577 (XWINT, XINT, XSTR, XEXP, XVEC, XMODE, XBITMAP, XTREE,
22578 XBBDEF): Use RTL_CHECK1/RTL_CHECK2 as appropriate.
22579 (XVECEXP, XVECLEN): Define in terms of XVEC, RTVEC_ELT, and
22581 (X0WINT, X0INT, X0STR, X0EXP, X0VEC, X0MODE, X0BITMAP, X0TREE,
22582 X0BBDEF, X0ADVFLAGS): New macros for accessing '0' slots of RTXes.
22584 (ADDR_DIFF_VEC_FLAGS): Use X0ADVFLAGS.
22585 (NOTE_SOURCE_FILE): Use X0STR.
22586 (NOTE_BLOCK_NUMBER, NOTE_EH_HANDLER, LABEL_NUSES,
22587 MEM_ALIAS_SET): Use X0INT.
22588 (NOTE_RANGE_INFO, NOTE_LIVE_INFO, NOTE_BASIC_BLOCK,
22589 JUMP_LABEL, LABEL_REFS, LABEL_NEXTREF, CONTAINING_INSN):
22591 * real.h (CONST_DOUBLE_CHAIN): Use X0EXP.
22592 * rtl.c (copy_rtx, copy_most_rtx): Copy '0' slots with X0WINT.
22593 (rtl_check_failed_bounds, rtl_check_failed_type1,
22594 rtl_check_failed_type2, rtvec_check_failed_bounds): New
22596 (fancy_abort): Fix comment.
22598 * cse.c (canon_hash): Read CONST_DOUBLE data slots with XWINT.
22599 (cse_insn): Decrement LABEL_NUSES for jump target before
22600 deleting jump insn.
22601 * emit-rtl.c (gen_rtx_CONST_DOUBLE): Use X0EXP for slot 1.
22602 * final.c (alter_subreg): Compute regno before changing x to
22603 REG; set REGNO(x) after changing it.
22604 * flow.c (count_basic_blocks): Use XWINT to inspect EH_REGION
22605 notes containing CONST_INTs.
22606 (delete_eh_regions): Use NOTE_EH_HANDLER.
22607 * function.c (put_reg_into_stack): Make reg a MEM before
22609 (fixup_var_refs_insns): Save REG_NOTES (insn) in case we
22611 (gen_mem_addressof): Make reg a MEM before initializing it.
22612 * integrate.c (copy_rtx_and_substitute): Copy '0' slots with
22614 * local-alloc.c (update_equiv_regs): Zap REG_NOTES before
22615 deleting an insn, not after.
22616 (block_alloc): Only look at PATTERN(insn) if we have to, and
22617 only if it's format class 'i'.
22618 * loop.c (check_dbra_loop): Check bl->biv->add_val is a
22619 CONST_INT before using its INTVAL.
22620 * print-rtl.c (print_rtx): Use X0STR.
22621 * regmove.c (fixup_match_1): Don't look at PATTERN of
22622 non-class-'i' insn chain elements.
22623 * reload.c (loc_mentioned_in_p): Take address of
22624 in->fld[1].rtx directly.
22625 * reload1.c (reload): Change reg to a MEM before initializing
22627 * varasm.c (mark_constant_pool): Skip CONST_DOUBLES, which
22629 * config/i386/i386.md (decrement_and_branch_if_zero): Fix typo.
22631 Fri Aug 20 13:43:41 1999 Andrew Haley <aph@cygnus.com>
22633 * config/mips/mips.c (machine_dependent_reorg): Force a
22634 barrier to output the local constant pool if a barrier hasn't
22635 been found at a natural point in the instruction stream.
22637 Mon Aug 30 22:04:36 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
22639 * c-parse.in (language_string): Constify.
22641 * dwarf2out.c (language_string): Remove declaration.
22643 * dwarfout.c (language_string): Likewise.
22645 * toplev.c (language_string, init_parse, finish_parse): Likewise.
22647 * tree.h (language_string, init_parse, finish_parse): Declare.
22649 * i386/sun386.h (language_string): Remove declaration.
22651 * mips.h (language_string): Likewise.
22653 * nextstep.h (language_string): Likewise.
22655 * nextstep21.h (language_string): Likewise.
22657 * rs6000.c (language_string): Likewise.
22659 Mon Aug 30 20:56:08 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
22661 * Makefile.in (OBJS, PROTO_OBJS): Remove getpwd.o.
22662 (getpwd.o): Remove target.
22664 * getpwd.c: Delete file. Its in libiberty now.
22666 * dbxout.c (getpwd): Don't prototype.
22667 * dwarf2out.c (getpwd): Likewise
22668 * dwarfout.c (getpwd): Likewise
22669 * final.c (getpwd): Likewise.
22670 * protoize.c (getpwd): Likewise.
22672 Mon Aug 30 20:21:34 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
22674 * cse.c: (fold_rtx): Cast to HOST_WIDE_INT in left shift.
22676 Mon Aug 30 16:07:49 1999 Richard Henderson <rth@cygnus.com>
22678 * flow.c (new_insn_dead_notes): Use sets_reg_or_subreg not
22679 mark_set_resources.
22681 Mon Aug 30 12:23:53 1999 Jim Wilson <wilson@cygnus.com>
22683 * fixinc/Makefile.in (subdir): New.
22684 (fixincl.x, inclhack.sh, fixincl.sh): Use cp instead of $(CP).
22687 Mon Aug 30 01:02:09 1999 Jeffrey A Law (law@cygnus.com)
22689 * emit-rtl.c (copy_rtx_if_shared): A MEM which references
22690 virtual_stack_vars_rtx or virtual_incoming_args_rtx can not
22693 * invoke.texi: Fix typo.
22695 * dwarf2out.c (mem_loc_descriptor): New argument MODE. All callers
22696 changed. Handle autoincrement addressing modes.
22698 * integrate.c (copy_rtx_and_substitute): Handle internal_arg_pointer
22699 just like we would the virtual incoming args register when
22702 Sun Aug 29 23:17:54 1999 David Edelsohn <edelsohn@gnu.org>
22704 * rs6000.h (ASM_FILE_START): Specify complete filename, including
22705 path, in .file directive.
22707 Sun Aug 29 05:06:43 1999 Russ Allbery <rra@stanford.edu>
22709 * gcc.texi (External Bugs): Remove obsolete note about Perl on
22712 1999-08-29 08:38 -0700 Zack Weinberg <zack@bitmover.com>
22714 * stdbool.h: Make the typedef name _Bool, with bool a #defined
22717 Sun Aug 29 09:36:50 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
22719 * tree.c (tree_code_name): Constify a char*.
22721 * tree.h (tree_code_name, decl_printable_name): Likewise.
22723 * function.h (struct function): Likewise.
22725 * toplev.c (decl_name, decl_printable_name): Likewise.
22727 * vax/vms.h (MAYBE_VMS_FUNCTION_PROLOGUE): Likewise.
22729 * objc/objc-act.c (decl_printable_name): Remove redundant prototype.
22730 (init_objc): Remove function pointer cast.
22732 Sun Aug 29 05:01:17 1999 John David Anglin <dave@hiauly1.hia.nrc.ca>
22734 * pa.md (interspace_jump): New pattern.
22735 (builtin_longjmp): New expander.
22737 1999-08-29 Bernd Schmidt <bernds@cygnus.co.uk>
22739 * fp-bit.c (add, sub, multiply, divide, compare, _eq_f2, _ne_f2,
22740 _gt_f2, _ge_f2, _lt_f2, _le_f2, float_to_si, float_to_usi, negate,
22741 sf_to_df, df_to_sf): Fix potential problem with alias analysis.
22743 Sun Aug 29 04:30:52 1999 John Wehle (john@feith.com)
22745 * jump.c (delete_prior_computation): Also check calls
22746 to constant functions. Don't bother checking for a
22747 REG_UNUSED note before adding it.
22748 (delete_computation): Handle multi-word hard registers
22749 when synthesizing missing REG_DEAD notes for a register
22750 which is both set and used by an insn.
22752 1999-08-29 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
22754 * loop.c (this_loop_info): New variable.
22755 (loop_has_call, loop_has_volatile, loop_has_tablejump,
22756 loop_continue, loops_enclosed): Replace with fields in this_loop_info.
22758 (prescan_loop, strength_reduce): New argument loop_info. All callers
22760 (scan_loop): New variable loop_info, initialise to address of
22762 (prescan_loop): Set loop_info->vtop if find NOTE_INSN_LOOP_VTOP.
22763 Delete variable loop_has_multiple_exit targets and replace with
22764 field in this_loop_info.
22765 (find_and_verify_loops): Rename this_loop to this_loop_num.
22766 (strength_reduce): Delete loop_iteration_info. Replace variable
22767 loop_info with function argument of same name.
22768 (insert_bct): Rework test for loop being completely unrolled.
22770 * loop.h (struct loop_info): New fields num, loops_enclosed,
22771 has_call, has_volatile, has_tablejump, has_multiple_exit_targets,
22772 has_indirect_jump, and cont. Redefine use of unroll_number.
22773 (loop_unroll_number): Delete.
22775 * unroll.c (unroll_loop): Store loop unroll count in unroll_number
22776 field of loop_info.
22777 (loop_iterations): Delete variable vtop and instead use
22778 loop_info->vtop computed in prescan_loop.
22780 Sun Aug 29 03:27:23 1999 Scott Weikart <scott@igc.apc.org>
22782 * fix-header.c (main): Do not pass a null pointer to strcmp.
22784 Sun Aug 29 03:18:48 1999 William Bader (william@nscs.fast.net)
22786 * configure.in (i[34567]86-*-sco3.2v4*): Target does not truncate
22788 * configure: Rebuilt.
22790 Sat Aug 28 19:36:05 1999 Jeffrey A Law (law@cygnus.com)
22792 * jump.c (jump_optimize_1): Do not delete assignments to
22793 internal_arg_pointer.
22794 * cse.c (delete_trivially_dead_insns): Always consider a set of
22795 the internal_arg_pointer live.
22797 Sat Aug 28 16:24:31 1999 Richard Henderson <rth@cygnus.com>
22799 * flow.c (flow_delete_insn_chain): Rename from delete_insn_chain.
22800 (update_life_info) [REG_WAS_0]: Search the original insns rather
22801 than the new insns for the note. Fix typos finding note_dest.
22802 If no dest found, discard the note rather than abort.
22803 [REG_NOALIAS]: Handle as REG_NO_CONFLICT.
22804 (replace_insns): Remove the old insn list after update_life_info
22807 Sat Aug 28 16:20:12 1999 Richard Henderson <rth@cygnus.com>
22809 * haifa-sched.c (sched_analyze): Clear LOG_LINKS before calling
22810 sched_analyze_insn.
22811 (sched_analyze_1): Let add_dependence care for not adding dups.
22812 (sched_analyze_2): Likewise.
22813 (add_branch_dependences): Likewise.
22815 Sat Aug 28 15:58:16 1999 Mumit Khan <khan@xraylith.wisc.edu>
22817 * i386/winnt.c (export_list): New type.
22818 (exports_head): Rename to
22819 (export_head): this.
22820 (i386_pe_record_exported_symbol): Add is_data flag.
22821 (i386_pe_asm_file_end): Emit directive for exported variables.
22822 * i386/cygwin.h (i386_pe_record_exported_symbol): Update
22824 * i386/cygwin.h (ASM_OUTPUT_COMMON): Specify symbol type.
22825 (ASM_DECLARE_OBJECT_NAME): Likewise.
22826 (ASM_DECLARE_FUNCTION_NAME): Likewise.
22827 * i386/uwin.h (ASM_DECLARE_FUNCTION_NAME): Likewise.
22829 Fri Aug 27 15:35:24 1999 Jeffrey A Law (law@cygnus.com)
22831 * cse.c (fold_rtx): Work around bug in Sun V5.0 compilers.
22833 * pa.c (emit_move_sequence): Do not stop on SUBREG_WORD of an
22836 Fri Aug 27 14:01:19 1999 Marc Espie <espie@cvs.openbsd.org>
22838 * config/openbsd.h: Define SET_ASM_OP.
22839 * tm.texi: cross-reference SET_ASM_OP in the index.
22841 1999-08-27 13:27 -0700 Zack Weinberg <zack@bitmover.com>
22843 * rtl.c: Define CONST_DOUBLE_FORMAT to the appropriate format
22844 for a CONST_DOUBLE, at compile time. Initialize rtx_length
22845 and class_narrowest_mode at compile time. Kill init_rtl.
22846 Mark rtx_length, mode_class, mode_size, mode_unit_size,
22847 mode_wider_mode, mode_mask_array, class_narrowest_mode, and
22848 rtx_format as const. Kill all references to EXTRA_CC_MODES or
22850 * rtl.def (CONST_DOUBLE): Use CONST_DOUBLE_FORMAT macro for
22852 * rtl.h: Declare rtx_length and rtx_format as const.
22853 * machmode.def: Define CC(). Use CC() to define CCmode. If
22854 EXTRA_CC_MODES is defined, expand it here.
22855 * machmode.h: Declare mode_class, mode_size, mode_unit_size,
22856 mode_wider_mode, mode_mask_array, and class_narrowest_mode as
22857 const. Kill all references to EXTRA_CC_MODES.
22859 * toplev.c: Don't prototype or call init_rtl.
22860 * optabs.c: Don't call init_mov_optab.
22861 * genemit.c: Don't generate init_mov_optab. Don't call
22863 * gengenrtl.c: Duplicate calculation of CONST_DOUBLE_FORMAT
22865 * genattr.c, genattrtab.c, gencodes.c, genconfig.c,
22866 genextract.c, genflags.c, genopinit.c, genoutput.c, genpeep.c,
22867 genrecog.c: Don't call init_rtl.
22869 * arc.h, arm.h, c4x.h, i386.h, i960.h, m88k.h, pa.h, pdp11.h,
22870 rs6000.h, sparc.h: Don't define EXTRA_CC_NAMES. Use CC() in
22871 definition of EXTRA_CC_MODES.
22873 * md.texi: Kill ref to EXTRA_CC_NAMES.
22874 * tm.texi: Document new way to define EXTRA_CC_MODES.
22876 * genrecog.c: Do not look up the name of a define_split.
22877 (Unrelated bugfix.)
22879 Fri Aug 27 17:03:42 1999 Nick Clifton <nickc@cygnus.com>
22881 * config/v850/v850.md: Fix typo introduced by previous delta.
22883 Fri Aug 27 09:48:59 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
22885 * gcc.c (fatal): Make definition static to match prototype.
22887 Fri Aug 27 10:33:35 1999 Bernd Schmidt <bernds@cygnus.co.uk>
22889 * combine.c (get_last_value): Don't look for earlier sets if the last
22890 known set is somewhere in between the insns being combined.
22892 Fri Aug 27 10:03:12 BST 1999 Nathan Sidwell <nathan@acm.org>
22894 * configure.in: Don't use shell ! to negate exit codes
22895 * configure: Regenerate
22897 Fri Aug 27 09:36:17 1999 Andreas Schwab <schwab@suse.de>
22899 * function.c (assign_stack_temp_for_type): Fix change of Mar 5 for
22900 the fact that ALIGN is measured in bits, not bytes.
22902 1999-08-27 00:27 -0700 Zack Weinberg <zack@bitmover.com>
22904 * errors.c: New file; defines functions error, warning, and
22905 fatal, variables have_error and progname.
22906 * errors.h: New file; prototypes and decls for stuff in errors.c.
22908 * Makefile: Add rules to build errors.o and
22909 $(HOST_PREFIX)errors.o. Link genconfig, gencodes, genemit,
22910 genopinit, genrecog, genextract, genpeep, genattr, and
22911 genoutput with errors.o. Add errors.h to deps of genconfig.o,
22912 gencodes.o, genemit.o, genopinit.o, genrecog.o, genextract.o,
22913 genpeep.o, genattr.o, and genoutput.o.
22915 * genconfig.c, gencodes.c, genemit.c, genopinit.c, genrecog.c,
22916 genextract.c, genpeep.c, genattr.c: Include errors.h. Don't
22917 define or prototype fatal. Set progname at beginning of main.
22918 * genoutput.c: Likewise, and don't define or prototype error
22921 * c-typeck.c (c_expand_start_case): Return immediately if exp
22923 * fold-const.c (operand_equal_p): Return immediately if arg1
22924 or arg0 are ERROR_MARKs.
22925 * stor-layout.c (layout_type [case RECORD_TYPE]): Ignore
22926 fields of type ERROR_MARK when calculating if the record can
22929 Fri Aug 27 01:03:48 1999 Jim Kingdon <http://developer.redhat.com>
22930 with much help from Jeffrey A Law and Richard Henderson
22932 * i386.md: In the 6 insns which call output_fix_trunc,
22933 earlyclobber operands[0].
22935 Fri Aug 27 01:01:51 1999 Philip Blundell <pb@nexus.co.uk>
22937 * jump.c (duplicate_loop_exit_test): Call reg_scan_update after
22938 creating new registers.
22940 1999-08-26 23:09 -0700 Zack Weinberg <zack@bitmover.com>
22942 * i386.h: Declare ix86_cpu_string, ix86_arch_string,
22943 i386_reg_alloc_order, i386_regparm_string,
22944 i386_align_loops_string, i386_align_jumps_string,
22945 i386_align_funcs_string, i386_preferred_stack_boundary_string,
22946 and i386_branch_cost_string as type "const char *".
22947 * i386.c: Define all above strings as type "const char *".
22949 Thu Aug 26 20:36:30 1999 Jim Wilson <wilson@cygnus.com>
22951 * dwarf2out.c (output_aranges): Check DWARF_OFFSET_SIZE not PTR_SIZE
22952 when emitting alignment padding. Emit padding byte of 0 instead of 4.
22954 Thu Aug 26 18:11:20 1999 Mark Mitchell <mark@codesourcery.com>
22956 * tree.c (array_type_nelts): Don't create RTL_EXPRs from
22957 SAVE_EXPRs unless the SAVE_EXPRs have already been expanded.
22959 Thu Aug 26 19:33:23 1999 Jim Wilson <wilson@cygnus.com>
22961 * dwarf2out.c (DWARF2_ASM_LINE_DEBUG_INFO): Add default definition.
22962 (debug_dwarf): Add DWARF2_ASM_LINE_DEBUG_INFO support.
22963 (dwarf2out_line, dwarf2out_finish): Likewise.
22964 * tm.texi (DWARF2_ASM_LINE_DEBUG_INFO): Add documetation.
22966 Thu Aug 26 16:10:56 1999 Gavin Romig-Koch <gavin@cygnus.com>
22968 * tree.c (lang_unsave_expr_now) : Correct return type.
22969 * tree.h (lang_unsave_expr_now) : Same.
22971 Thu Aug 26 13:12:29 1999 Jeffrey A Law (law@cygnus.com)
22973 * pa.c (cint_ok_for_move): Use CONST_INT_OK_FOR_LETTER_P macros
22974 instead of duplicating code.
22976 Thu Aug 26 18:32:32 1999 Bernd Schmidt <bernds@cygnus.co.uk>
22978 * gcse.c (hash_scan_insn): Don't scan obvious no-ops.
22980 1999-08-26 09:42 -0700 Zack Weinberg <zack@bitmover.com>
22982 * tree.h: fancy_abort always takes three args.
22983 * resource.c: Move include of system.h before toplev.h.
22985 Thu Aug 26 09:46:16 1999 Nick Clifton <nickc@cygnus.com>
22987 * dwarf2out.c (mem_loc_descriptor): Accept LABEL_REFs as well
22990 1999-08-25 22:10 -0700 Zack Weinberg <zack@bitmover.com>
22992 * system.h: Don't redefine abort or trim_filename.
22993 * rtl.h: Define abort to fancy_abort (__FILE__, __LINE__, 0)
22994 or fancy_abort (__FILE__, __LINE__, __FUNCTION__) depending on
22995 whether or not __FUNCTION__ is available.
22996 * tree.h: Duplicate rtl.h's definition of abort, for files
22997 that don't include rtl.h. Delete all code to perform type
22998 checking with a compiler other than GCC.
22999 * varray.h: Delete all code to perform type checking with a
23000 compiler other than GCC. Make VARRAY_CHECK() always evaluate
23001 its arguments exactly once, using a statement expression.
23002 Adjust the VARRAY_<type> accessor macros to match.
23003 * toplev.h (fatal_insn, fatal_insn_not_found): Kill.
23004 (_fatal_insn, _fatal_insn_not_found): New fns, take info on
23005 caller's location. Define fatal_insn and fatal_insn_not_found
23006 as macros that use _fatal_insn and _fatal_insn_not_found.
23007 (fancy_abort, trim_filename): Kill prototypes.
23009 * rtl.c (trim_filename): Move here from toplev.c.
23010 (fancy_abort): New function.
23011 (DIR_SEPARATOR): Provide default definition.
23012 * tree.c (tree_check_failed, tree_class_check_failed): Go
23013 through fancy_abort.
23014 (tree_check, tree_class_check, cst_or_constructor_check,
23015 expr_check): Delete.
23016 * varray.c (varray_check_failed): New function.
23017 * toplev.c (fatal_insn, fatal_insn_not_found): Replace with
23018 _fatal_insn and _fatal_insn_not_found. Go through
23020 (trim_filename, fancy_abort): Delete.
23022 * builtins.c (expand_builtin_args_info): Report ICE with abort.
23023 * except.c (start_catch_handler): Report ICE with error/abort
23025 * final.c (output_operand_lossage): Likewise.
23026 * flow.c (verify_flow_info): Likewise.
23028 * gcc.c: Prototype fatal.
23029 * gengenrtl.c: Undef abort after including rtl.h not system.h.
23030 * genattr.c, genattrtab.c, genemit.c, genextract.c,
23031 genflags.c, genopinit.c, genoutput.c, genpeep.c, genrecog.c:
23032 Don't define fancy_abort.
23034 Wed Aug 25 17:56:59 1999 Richard Henderson <rth@cygnus.com>
23036 * optabs.c (emit_cmp_and_jump_insns): Be more thorough in
23039 Wed Aug 25 15:35:55 1999 Richard Henderson <rth@cygnus.com>
23041 * m88k.h (VERSION_INFO2): Kill.
23042 (VERSION_STRING): Kill.
23044 (VERSION_INFO1): Tidy.
23045 (TARGET_VERSION): Update.
23046 * m88k/dgux.h (VERSION_INFO2): Kill.
23047 (ASM_FIRST_LINE): Adjust for death of VERSION_STRING.
23048 * m88k/luna.h (VERSION_INFO1): Tidy.
23049 * m88k/sysv4.h (VERSION_INFO1): Likewise.
23050 * m88k.c (out_rcs_id, tm_rcs_id): Kill.
23051 (output_file_start): Adjust for death of VERSION_STRING.
23053 1999-08-25 13:51 -0700 Jim Meyering <meyering@ascend.com>
23055 * cpplib.c (detect_if_not_defined): New function.
23056 (do_if): Use it to detect potential once-only headers.
23058 Wed Aug 25 14:00:18 1999 Jason Merrill <jason@yorick.cygnus.com>
23060 * c-common.c (combine_strings): Always set TREE_CONSTANT.
23062 Wed Aug 25 15:27:22 1999 Gavin Romig-Koch <gavin@cygnus.com>
23064 * combine.c (nonzero_bits) : Allow single-ly set registers to be
23065 anywere in the function only if they are pseudos and set before
23066 being used (not live at the start of the function).
23067 (num_sign_bit_copies) : Same.
23068 (get_last_value_validate) : Same.
23069 (get_last_value) : Same.
23071 Wed Aug 25 11:13:29 1999 Richard Henderson <rth@cygnus.com>
23073 * loop.c (express_from): Try harder to unify (* c N) and (* c M)
23074 where N and M are constant and N is an integer multiple of M.
23076 Wed Aug 25 13:55:47 EDT 1999 Andrew MacLeod <amacleod@cygnus.com>
23078 * sbitmap.h (sbitmap_intersection_of_succs): Add prototype.
23079 (sbitmap_intersection_of_preds, sbitmap_union_of_succs,
23080 sbitmap_union_of_preds): Add prototypes.
23081 * sbitmap.c (sbitmap_intersection_of_succs): New function to compute
23082 the intersection of successors with the new flow graph structures.
23083 (sbitmap_intersection_of_preds): New function to compute the
23084 intersection of predecessors with the new flow graph structures.
23085 (sbitmap_union_of_succs): New function to compute the union of
23086 successors with the new flow graph structures.
23087 (sbitmap_union_of_preds): New function to compute the union of
23088 predecessors with the new flow graph structures.
23089 * gcse.c (compute_rdm, compute_available): Use new sbitmap routines.
23090 (expr_reaches_here_p): Use edge and basic_block structures instead
23091 of s_preds and s_succs.
23092 (compute_cprop_avinout): Use new sbitmap routines.
23093 (pre_expr_reaches_here_p): Use edge and basic_block structures instead
23094 of s_preds and s_succs.
23095 * flow.c (compute_flow_dominators): Compute dominators using
23096 edges and basic blocks instead of s_preds and s_succs.
23098 Wed Aug 25 13:41:47 EDT 1999 Andrew MacLeod <amacleod@cygnus.com>
23100 * lists.c (unused_insn_list, unused_expr_list): New file for
23101 maintaining various types of lists. New statics for maintaining a
23102 cache of available INSN_LIST and EXPR_LIST nodes.
23103 (free_list): Static function for freeing a list of INSN/EXPR nodes.
23104 (alloc_INSN_LIST): Function to get a free INSN_LIST node.
23105 (alloc_EXPR_LIST): Function to get a free EXPR_LIST node.
23106 (init_EXPR_INSN_LIST_cache): Initialize the cache lists.
23107 (free_EXPR_LIST_list): Free an entire list of EXPR_LIST nodes.
23108 (free_INSN_LIST_list): Free an entire list of INSN_LIST nodes.
23109 (free_EXPR_LIST_node): Free an individual EXPR_LIST node.
23110 (free_INSN_LIST_node): Free an individual INSN_LIST node.
23111 * haifa-sched.c (unused_insn_list, unused_expr_list): Moved to flow.c
23112 (free_list, alloc_INSN_LIST, alloc_EXPR_LIST): Moved to flow.c
23113 (remove_dependence, free_pending_lists): Use new global routines.
23114 (flush_pending_lists, sched_analyze_insn): Use new global routines.
23115 (sched_analyze, compute_block_backward_dependences): Use new routines.
23116 (sched_analyze_1, sched_analyze_2): Use new routines.
23117 (schedule_insns): Use new global routines.
23118 * rtl.h (init_EXPR_INSN_LIST_cache, free_EXPR_LIST_list): Add function
23120 (free_INSN_LIST_list, free_EXPR_LIST_node): Add prototypes.
23121 (free_INSN_LIST_node, alloc_INSN_LIST, alloc_EXPR_LIST): Add function
23123 * toplev.c (rest_of_compilation): Initialize node cache.
23124 * Makefile.in (OBJS): Add lists.o to list of object files.
23125 (lists.o): Add dependancies.
23127 Wed Aug 25 17:31:56 1999 Nick Clifton <nickc@cygnus.com>
23129 * config/v850/v850.md: Fix compile time warning messages.
23130 * config/v850/v850.c: Fix compile time warning messages.
23131 * config/v850/v850.h: Fix compile time warning messages.
23133 Wed Aug 25 09:44:43 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
23135 * genattr.c (gen_attr): Add prototype arguments for get_attr_*().
23136 Remove unused prototype for `init_lengths'.
23138 Wed Aug 25 09:32:31 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
23140 * calls.c (emit_call_1): Mark parameter `stack_size' with
23142 (expand_call): Initialize variable `insn'.
23143 (emit_library_call): Likewise for variable `high_to_save'.
23144 (emit_library_call_value): Likewise.
23145 (store_one_arg): Likewise for variables `lower_bound' and
23148 * combine.c (try_combine): Likewise for variables `i2_code_number'
23149 and `other_code_number'.
23150 (find_split_point): Likewise for variables `pos', `unsignedp' and
23152 (simplify_if_then_else): Likewise for variables `op' and `c1'.
23153 (simplify_and_const_int): Remove unused variable `width'.
23154 (merge_outer_ops): Likewise.
23156 * cse.c (simplify_binary_operation): Cast an INTVAL() to `unsigned
23157 HOST_WIDE_INT' when comparing against one.
23158 (simplify_relational_operation): Likewise.
23159 (cse_insn): Initialize variables `src_eqv_volatile',
23160 `src_eqv_in_memory', `src_eqv_in_struct', `src_eqv_hash' and `sets'.
23162 * final.c (init_final): Constify parameter `filename'.
23163 (final_start_function): Mark parameter `optimize' with
23165 (profile_function): Likewise for parameters `first' and `optimize'.
23166 (output_source_line): Likewise for parameter `file'.
23168 * integrate.c (subst_constants): Cast a value to `size_t' when
23169 comparing against one.
23170 (mark_stores): Initialize variable `mode'. Cast a value to
23171 `size_t' when comparing against one.
23173 * integrate.h (MAYBE_EXTEND_CONST_EQUIV_VARRAY): Likewise.
23175 * loop.c (move_movables): Initialize variable `first'.
23176 (strength_reduce): Likewise for variable `increment'.
23177 (check_dbra_loop): Likewise for variable `comparison_val'. Cast a
23178 value to `size_t' when comparing against one.
23179 (load_mems): Initialize variable `end_label'.
23181 * output.h (init_final): Constify parameter.
23183 * reload.c (decompose): Initialize variable `base'.
23185 * reload1.c (reload): Likewise for variable `is_scalar'.
23186 (spill_hard_reg): Mark parameter `dumpfile' with ATTRIBUTE_UNUSED.
23187 (choose_reload_regs): Initialize variable `mode'.
23188 (emit_reload_insns): Likewise for variable `store_insn'.
23189 (reload_cse_noop_set_p): Mark parameter `insn' with
23191 (reload_combine): Initialize variable `set'.
23193 * unroll.c (unroll_loop): Likewise for variable `local_label'.
23194 (copy_loop_body): Cast a value to `size_t' when comparing against
23197 * varasm.c (assemble_variable): Initialize variable `size_tree'.
23198 (const_hash): Add an `else abort()' in an if-else-if-else sequence.
23199 (remove_from_pending_weak_list): Mark parameter `name' with
23202 Wed Aug 25 11:18:39 1999 Bernd Schmidt <bernds@cygnus.co.uk>
23204 * toplev.c (rest_of_compilation): Use decl_printable_name when opening
23207 Wed Aug 25 10:57:12 1999 Nick Clifton <nickc@cygnus.com>
23209 * config/arm/telf.h (ASM_WEAKEN_LABEL): Define.
23210 (ASM_DECLARE_FUNCTION_NAME): Define.
23211 (TYPE_ASM_OP, SIZE_ASM_OP, TYPE_OPERAND_FORMAT,
23212 ASM_DECLARE_RESULT, ASM_DECLARE_OBJECT_NAME,
23213 ASM_FINISH_DECLARE_OBJECT, ASM_DECLARE_FUNCTION_SIZE): Define if
23214 not already defined.
23216 Wed Aug 25 01:36:11 1999 John David Anglin <dave@hiauly1.hia.nrc.ca>
23218 * calls.c (emit_call_1): Use call_pop/call_value_pop for all values
23219 of n_popped when call/call_value are not defined.
23221 Wed Aug 25 01:25:14 1999 Jeffrey A Law (law@cygnus.com)
23223 * tm.texi: GNU CC -> GCC conversion.
23224 (CC1_SPEC): Indicate it is used for all language front ends.
23226 Tue Aug 24 23:43:03 1999 Mark Mitchell <mark@codesourcery.com>
23228 * flow.c (delete_block): Spell NOTE_INSN_EH_REGION_BEG and
23229 NOTE_INSN_EH_REGION_END correctly.
23231 Tue Aug 24 23:26:44 1999 Michael Tiemann <tiemann@holodeck.cygnus.com>
23232 Jeff Law <law@cygnus.com>
23234 * loop.c (strength_reduce): Automatically unroll loops if the
23235 unrolled loop size is smaller than the rolled loop size.
23237 * loop.c (insert_bct): Replace use of sdiv_optab with asr_optab
23238 and delete comment that code should be rewritten.
23240 Tue Aug 24 22:56:35 1999 Jeffrey A Law (law@cygnus.com)
23242 * haifa-sched.c (find_rgns): Mark a block found during the DFS search
23245 * haifa-sched.c (get_visual_tbl_length): Fix off-by-one error.
23247 Tue Aug 24 22:41:06 1999 Mumit Khan <khan@xraylith.wisc.edu>
23249 * fixinc/mkfixinc.sh: Don't fix uwin headers.
23250 * i386/uwin.h (MD_STARTFILE_PREFIX): Define.
23251 (LINK_SPEC): Add -u _main when building executables.
23252 (ASM_DECLARE_FUNCTION): Update from Cygwin.
23253 (ASM_FILE_END): Use the default for ix86-pe.
23254 * i386/xm-uwin.h (HAVE_BCOPY): Undefine.
23256 Tue Aug 24 20:49:47 1999 Art Haas <ahaas@neosoft.com>
23258 * final.c (output_addr_const): Handle case where ASM_OPEN_PAREN
23259 and ASM_CLOSE_PAREN are empty strings.
23261 Wed Aug 25 12:46:22 1999 Fred Fish <fnf@cygnus.com>
23262 Geoffrey Keating <geoffk@cygnus.com>
23264 * Makefile.in (PREPROCESSOR_DEFINES): New macro.
23265 (protoize.o): Use PREPROCESSOR_DEFINES and DRIVER_DEFINES.
23266 (unprotoize.o): Ditto.
23267 (test-protoize-simple): Don't define STD_PROTO_DIR.
23268 * protoize.c: Use PARAMS rather than PROTO. Minor whitespace
23269 changes to make 'test-protoize-simple' pass.
23270 (STD_PROTO_DIR): Remove define.
23271 (STANDARD_EXEC_PREFIX): Supply default define.
23272 (standard_exec_prefix): New variable, init to STANDARD_EXEC_PREFIX.
23273 (target_machine): New variable, init to DEFAULT_TARGET_MACHINE.
23274 (target_version): New variable, init to DEFAULT_TARGET_VERSION.
23275 (GET_ENV_PATH_LIST): New macro.
23276 (default_syscalls_dir): No longer initialized to STD_PROTO_DIR.
23277 (do_processing): Initialize default_syscalls_dir using new
23278 macros. Use it to initialize syscalls_absolute_filename.
23280 Tue Aug 24 16:58:15 1999 Richard Henderson <rth@cygnus.com>
23282 * jump.c (jump_optimize_1): Do cmov opt on any single-set; force
23283 B into a register before emit_conditional_move.
23285 Tue Aug 24 15:37:03 1999 Richard Henderson <rth@cygnus.com>
23287 * fold-const.c (fold): Reassociate (+ (+ (* a b) c) (* d e))
23288 as (+ (+ (* a b) (* d e)) c). Factor a common power-of-two
23289 multiplicand out of (+ (* a b) (* c d)).
23291 Tue Aug 24 11:46:10 1999 Bob Manson <manson@cygnus.com>
23292 Richard Henderson <rth@cygnus.com>
23294 * haifa-sched.c (split_hard_reg_notes): Move to flow.c
23295 (new_insn_dead_notes): Likewise.
23296 (update_n_sets): Likewise.
23297 (update_flow_info): Move to flow.c, renamed to update_life_info;
23298 extend to handle multiple source insns.
23299 * flow.c: Include resource.h
23300 (unlink_insn_chain): New.
23301 (split_hard_reg_notes): New.
23302 (maybe_add_dead_note): New.
23303 (maybe_add_dead_note_use): New.
23304 (find_insn_with_note): New.
23305 (new_insn_dead_notes): New.
23306 (update_n_sets): New.
23307 (sets_reg_or_subreg_1, sets_reg_or_subreg): New.
23308 (maybe_remove_dead_notes): New.
23309 (update_life_info): New.
23310 (prepend_reg_notes): New.
23311 (replace_insns): New.
23312 * output.h (update_life_info): Declare.
23313 * recog.c (split_block_insns): Use update_life_info.
23314 * resource.c (find_free_register): Use reg_alloc_order, don't use
23315 fixed regs, make sure the mode is supported, don't use new regs.
23317 * rtl.h (replace_insns): Declare.
23319 Tue Aug 24 13:48:39 1999 Nathan Sidwell <nathan@acm.org>
23321 * expr.c (expand_expr): Cope with COND_EXPRs with one
23322 non-returning branch.
23324 Mon Aug 23 22:28:16 1999 Mark Mitchell <mark@codesourcery.com>
23326 * expr.c (store_expr): Always pass down the target, even when not
23329 1999-08-24 Nick Clifton <nickc@cygnus.com>
23331 * configure.in: Define target_cpu_default for v850 targets.
23332 * configure: Regenerate
23334 * config/v850/v850.h (TARGET_CPU_generic): Define.
23335 (GO_IF_LEGITIMATE_ADDRESS): Insist that SImode and larger constant
23336 addresses are 4 byte aligned.
23338 * config/v850/v850.c (print_operand): Cope with 'R' format DFmode
23341 Tue Aug 24 09:32:07 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
23343 * genattr.c (function_unit_desc): Constify a char*. Add prototype.
23344 (main): Add prototypes.
23346 * genattrtab.c (substitute_address, write_const_num_delay_slots,
23347 attr_eq, attr_numeral, attr_equal_p, attr_copy_rtx): Prototype.
23348 (write_attr_get): Emit prototypes along with function definition.
23349 (write_eligible_delay): Mark a parameter with ATTRIBUTE_UNUSED.
23350 (write_complex_function): Emit static prototype along with
23351 function definition.
23353 * genemit.c (gen_split): Emit prototypes along with function
23356 * genoutput.c (output_epilogue): Add prototype to `insn_outfun'.
23357 Likewise for predicates and `insn_operand_predicate'.
23358 (process_template): Emit static prototype along with function
23361 * genrecog.c (make_insn_sequence): Constify a char*. Add
23362 prototypes for get_split_*().
23363 (write_subroutine): Emit prototypes along with function
23366 Tue Aug 24 12:35:20 1999 Bernd Schmidt <bernds@cygnus.co.uk>
23368 * gcse.c (find_avail_set): Follow chains of register-register copies.
23369 Use oprs_not_set_p to guarantee that the returned value can be
23371 (cprop_insn): Don't verify the return value of find_avail_set with
23374 * gcse.c (cprop_jump): New function, broken out of cprop_insn.
23375 (cprop_cc0_jump): New function.
23376 (cprop_insn): Break out new function cprop_jump and use it.
23377 Also use cprop_cc0_jump for machines with CC0.
23378 (cprop): Don't crash if cprop_insn turned the insn into a NOTE.
23380 * tree.h (current_function_calls_setjmp,
23381 current_function_calls_longjmp): Delete declarations.
23382 * dsp16xx.c: Include "function.h".
23383 * elxsi.c: Likewise.
23384 * gmicro.c: Likewise.
23385 * h8300.c: Likewise.
23386 * i370.c: Likewise.
23387 * m32r.c: Likewise.
23388 * mn10200.c: Likewise.
23389 * mn10300.c: Likewise.
23390 * ns32k.c: Likewise.
23391 * spur.c: Likewise.
23392 * v850.c: Likewise.
23394 * rtl.h (rtx_equal_function_value_matters): Declare.
23395 * toplev.c (rtx_equal_function_value_matters): Don't declare.
23397 * function.c: Likewise.
23398 * emit-rtl.c: Likewise.
23400 Tue Aug 24 02:47:44 1999 Jeffrey A Law (law@cygnus.com)
23402 * expr.c (convert_move): Fix arguments to TRULY_NOOP_TRUNCATION
23405 1999-08-24 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
23407 * jump.c (delete_barrier_successors) Match (set (pc) (pc)) insn
23410 Mon Aug 23 23:35:52 1999 Matthias Klose <doko@cs.tu-berlin.de>
23412 * cpp.texi: Add a node documenting macro varargs (copied
23415 1999-08-23 22:23 -0700 Zack Weinberg <zack@bitmover.com>
23417 * cppspec.c: Put a null pointer at the end of the new argv.
23419 Mon Aug 23 21:23:24 1999 Jeffrey A Law (law@cygnus.com)
23421 * configure.in: Remove code to select/de-select the haifa
23422 scheduler. Every scheduled port gets haifa now.
23423 * configure: Rebuilt.
23424 * flags.h, genattrtab.c, rtl.h, toplev.c: Remove HAIFA ifdefs.
23426 * Makefile.in: Corresponding changes.
23428 Mon Aug 23 16:04:13 1999 Bernd Schmidt <bernds@cygnus.co.uk>
23430 * optabs.c (prepare_cmp_insn): Turn COMPARISON arg into a pointer.
23431 All callers changed.
23432 (prepare_float_lib_cmp): Likewise.
23433 Use FLOAT_LIB_COMPARE_RETURNS_BOOL.
23434 * expr.h (emit_float_lib_cmp): Delete declaration.
23435 * tm.texi (FLOAT_LIB_COMPARE_RETURNS_BOOL): Document.
23436 * sparc.h (FLOAT_LIB_COMPARE_RETURNS_BOOL): Define.
23437 * sparc.md (bcc and scc patterns): Don't handle TFmode comparisons
23439 (cmptf): Now conditional on TARGET_HARD_QUAD.
23441 Fri Aug 20 17:52:27 1999 Jim Wilson <wilson@cygnus.com>
23443 * resource.c (mark_target_live_regs): Use
23444 PIC_OFFSET_TABLE_REG_CALL_CLOBBERED.
23446 Fri Aug 20 19:07:55 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
23448 * rtl.c (rtx_class, note_insn_name, reg_note_name): Constify.
23450 * rtl.h (rtx_class, reg_note_name, note_insn_name): Likewise.
23452 * genopinit.c (gen_insn): Use accessor macro, not `rtx_class'.
23454 Fri Aug 20 18:53:43 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
23456 * rtl.h (rtx_format): Constify a char*.
23458 * rtl.c (rtx_format): Likewise.
23459 (copy_rtx, copy_most_rtx, read_rtx): Likewise.
23460 (init_rtl): Use accessor macro, not `rtx_format'.
23462 * alias.c (rtx_equal_for_memref_p, find_symbolic_term): Constify a
23465 * caller-save.c (mark_referenced_regs): Likewise.
23467 * combine.c (subst, make_compound_operation, known_cond,
23468 gen_rtx_combine, update_table_tick, get_last_value_validate,
23469 use_crosses_set_p, mark_used_regs_combine, move_deaths): Likewise.
23471 * cse.c (rtx_cost, mention_regs, canon_hash, exp_equiv_p,
23472 refers_to_p, canon_reg, fold_rtx, cse_process_notes,
23473 count_reg_usage): Likewise.
23475 * emit-rtl.c (gen_rtx, copy_rtx_if_shared, reset_used_flags):
23478 * final.c (leaf_renumber_regs_insn): Likewise.
23480 * flow.c (mark_used_regs, find_use_as_address, dump_flow_info,
23481 dump_edge_info, count_reg_references): Likewise.
23483 * function.c (fixup_var_refs_1, walk_fixup_memory_subreg,
23484 fixup_stack_1, purge_addressof_1, instantiate_virtual_regs_1):
23487 * gcse.c (oprs_unchanged_p, hash_expr_1, expr_equiv_p,
23488 oprs_not_set_p, expr_killed_p, compute_transp, find_used_regs,
23489 add_label_notes): Likewise.
23491 * genattrtab.c (attr_rtx, attr_copy_rtx, encode_units_mask,
23492 clear_struct_flag, count_sub_rtxs, count_alternatives,
23493 compares_alternatives_p, contained_in_p, walk_attr_value,
23494 write_expr_attr_cache): Likewise.
23496 * genconfig.c (walk_insn_part): Likewise.
23498 * genemit.c (max_operand_1, gen_exp): Likewise.
23500 * genextract.c (walk_rtx): Likewise.
23502 * genflags.c (num_operands): Likewise.
23504 * genoutput.c (scan_operands): Likewise.
23506 * genpeep.c (match_rtx): Likewise.
23508 * genrecog.c (add_to_sequence): Likewise.
23510 * haifa-sched.c (may_trap_exp, sched_analyze_2, attach_deaths):
23513 * integrate.c (save_constants, copy_for_inline,
23514 copy_rtx_and_substitute, subst_constants, restore_constants):
23517 * jump.c (mark_jump_label, invert_exp, redirect_exp,
23518 rtx_renumbered_equal_p, rtx_equal_for_thread_p): Likewise.
23520 * local-alloc.c (contains_replace_regs, memref_referenced_p):
23523 * loop.c (record_excess_regs, rtx_equal_for_loop_p,
23524 add_label_notes, replace_call_address, count_nonfixed_reads,
23525 invariant_p, find_single_use_in_loop, find_mem_givs,
23526 find_life_end, maybe_eliminate_biv_1, update_reg_last_use):
23529 * print-rtl.c (reg_names, print_rtx): Likewise.
23531 * recog.c (validate_replace_rtx_1, find_single_use_1): Likewise.
23533 * reg-stack.c (stack_regs_mentioned_p, record_label_references,
23534 record_reg_life_pat, swap_rtx_condition, goto_block_pat,
23535 print_blocks): Likewise.
23537 * regclass.c (fix_register, record_address_regs,
23538 reg_scan_mark_refs): Likewise.
23540 * regmove.c (stable_but_for_p): Likewise.
23542 * reload.c (loc_mentioned_in_p, operands_match_p,
23543 find_reloads_toplevsubst_reg_equivs, find_reloads_address_1,
23544 copy_replacements, refers_to_regno_for_reload_p,
23545 refers_to_mem_for_reload_p, find_inc_amount, regno_clobbered_p,
23546 reload_when_needed_name, reg_class_names, debug_reload_to_stream):
23549 * reload1.c (eliminate_regs, scan_paradoxical_subregs,
23550 delete_address_reloads_1, count_occurrences,
23551 reload_cse_mem_conflict_p, reload_combine_note_use,
23552 add_auto_inc_notes): Likewise.
23554 * resource.c (mark_referenced_resources, mark_set_resources):
23557 * rtlanal.c (rtx_unstable_p, rtx_varies_p, rtx_addr_varies_p,
23558 reg_mentioned_p, regs_set_between_p, modified_between_p,
23559 modified_in_p, refers_to_regno_p, reg_overlap_mentioned_p,
23560 rtx_equal_p, volatile_insn_p, volatile_refs_p, side_effects_p,
23561 may_trap_p, inequality_comparisons_p, replace_rtx, replace_regs,
23562 jmp_uses_reg_or_mem, for_each_rtx, regno_use_in): Likewise.
23564 * sched.c (sched_analyze_2, attach_deaths): Likewise.
23566 * stupid.c (stupid_mark_refs): Likewise.
23568 * unroll.c (remap_split_bivs): Likewise.
23570 * varasm.c (mark_constants): Likewise.
23572 * a29k/a29k.c (uses_local_reg_p): Likewise.
23574 * alpha/alpha.c (summarize_insn): Likewise.
23576 * arm/arm.c (symbol_mentioned_p, label_mentioned_p,
23577 eliminate_lr2ip): Likewise.
23579 * arm/thumb.c (symbol_mentioned_p, label_mentioned_p): Likewise.
23581 * i386/i386.c (symbolic_reference_mentioned_p, copy_all_rtx,
23582 reg_mentioned_in_mem): Likewise.
23584 * ns32k/ns32k.c (global_symbolic_reference_mentioned_p,
23585 symbolic_reference_mentioned_p): Likewise.
23587 * romp/romp.c (unsigned_comparisons_p, hash_rtx): Likewise.
23589 * sh/sh.c (regs_used, mark_use): Likewise.
23591 * vax/vax.c (vax_rtx_cost): Likewise.
23593 Fri Aug 20 18:38:43 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
23595 * machmode.h (mode_name): Constify a char*.
23597 * rtl.c (mode_name): Likewise.
23599 * genopinit.c (gen_insn): Use accessor macro, not `mode_name'.
23601 * optabs.c (init_libfuncs): Constify a char*.
23603 * print-tree.c (mode_name): Remove redundant declaration.
23604 (print_node): Use accessor macro, not `mode_name'.
23606 * reload1.c (dump_needs): Constify a char*. Use accessor macro,
23608 (new_spill_reg): Constify a char*.
23610 * tree.c (mode_name): Remove redundant declaration.
23612 Fri Aug 20 18:31:26 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
23614 * rtl.c (rtx_name): Constify a char*.
23616 * rtl.h (rtx_name, fix_sched_param): Likewise.
23618 * gmicro/gmicro.c (rtx_name): Remove redundant declaration.
23619 (mypr): Use accessor macro, not `rtx_name'.
23621 * genemit.c (print_code): Constify a char*.
23623 * genopinit.c (gen_insn): Use accessor macro, not `rtx_name'.
23625 * genpeep.c (print_code): Constify a char*.
23627 * genrecog.c (print_code): Likewise.
23629 * graph.c (start_fct, start_bb, node_data, draw_edge, end_fct,
23630 end_bb): Add static prototype.
23631 (draw_edge): Constify a char*.
23632 (end_bb): Remove unused parameter.
23634 * haifa-sched.c (fix_sched_param, safe_concat, print_exp
23635 print_block_visualization): Constify a char*.
23637 Fri Aug 20 15:02:10 1999 Mark Mitchell <mark@codesourcery.com>
23639 * c-common.c (c_get_alias_set): Update comment.
23641 1999-08-20 Andreas Jaeger <aj@arthur.rhein-neckar.de>
23643 * linux.h (LIB_SPEC): Added.
23645 Fri Aug 20 22:32:17 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
23647 * config/c4x/c4x.h (STARTFILE_SPEC): Don't def.
23649 1999-08-19 18:43 -0700 Zack Weinberg <zack@bitmover.com>
23651 * tree.c (expr_check): Fix typo in last change.
23653 1999-08-19 14:44 -0700 Zack Weinberg <zack@bitmover.com>
23655 * rtl.def (NOTE): Change format to "iuu0n".
23656 (ADDR_DIFF_VEC): Change format to "eEee0".
23657 (ADDRESSOF): Change format to "eit".
23659 * rtl.h (rtvec): Make "elem" an array of rtx, not rtunion.
23660 (RTVEC_ELT): Change to match.
23661 (XVECEXP): Use XVEC and RTVEC_ELT.
23662 (INSN_UID, INSN_CODE, CODE_LABEL_NUMBER, NOTE_LINE_NUMBER,
23663 ADDRESSOF_REGNO, REGNO, SUBREG_WORD): Use XINT.
23664 (PREV_INSN, NEXT_INSN, PATTERN, REG_NOTES,
23665 CALL_INSN_FUNCTION_USAGE, SUBREG_REG, SET_SRC, SET_DEST,
23666 TRAP_CONDITION, TRAP_CODE): Use XEXP.
23667 (INTVAL): Use XWINT.
23668 (ADDRESSOF_DECL): Use XTREE.
23669 (SET_ADDRESSOF_DECL): Delete.
23670 (NOTE_DECL_NAME, NOTE_DECL_CODE, NOTE_DECL_RTL,
23671 NOTE_DECL_IDENTIFIER, NOTE_DECL_TYPE): Kill. These have been
23672 ifdefed out since 2.6 at least.
23673 (gen_rtvec_vv): Delete prototype.
23675 * rtl.h (rtvec_alloc): rt->elem is now an array of rtx,
23677 (copy_most_rtx): Handle 't' format letter.
23678 * emit-rtl.c (gen_rtvec_v): rt_val->elem is an array of rtx.
23679 (gen_rtvec_vv): Delete function. All callers changed to use
23680 gen_rtvec_v instead.
23681 * print-rtl.c (print_rtx): Move special casing of NOTEs to
23682 the '0' format letter.
23684 * function.c (gen_mem_addressof): Don't use
23685 SET_ADDRESSOF_DECL; provide `decl' to gen_rtx_ADDRESSOF
23687 * integrate.c (copy_rtx_and_substitute): Likewise.
23688 Copy 't' slots with XTREE.
23689 (subst_constants): Treat 't' slots like '[swi]' slots.
23690 * cse.c (canon_hash, exp_equiv_p): Treat 't' slots like '0' slots.
23691 * jump.c (rtx_equal_for_thread_p): Likewise.
23692 * rtlanal.c (rtx_equal_p): Likewise.
23693 * stmt.c (expand_end_case): gen_rtx_ADDR_DIFF_VEC now takes
23694 only four arguments.
23695 * gengenrtl.c (type_from_format): Provide correct types for
23699 * tree.h [ENABLE_CHECKING] (TREE_CHECK, TREE_CLASS_CHECK):
23700 If a recent gcc is in use (always in stage2 and beyond), use
23701 statement expressions, so we don't make a function call unless
23702 the check fails. Evaluate arguments exactly once.
23703 (CHAIN_CHECK, DO_CHECK, DO_CHECK1, TREE_CHECK1,
23704 TREE_CLASS_CHECK1, TYPE_CHECK1, DECL_CHECK1, CST_CHECK1):
23706 (CST_OR_CONSTRUCTOR_CHECK, EXPR_CHECK): Redefine such that
23707 they evaluate their arguments exactly once, irrespective of
23708 the compiler in use.
23710 * tree.c [ENABLE_CHECKING]: Define whichever set of functions
23711 is used by the currently-enabled check macros. This is:
23712 (tree_check_failed, tree_class_check_failed): For gcc.
23713 (tree_check, tree_class_check, cst_or_constructor_check,
23714 expr_check): For other compilers.
23716 * gencheck.c: Do not define any *_CHECK1 macros.
23718 Thu Aug 19 14:42:38 1999 Mike Stump <mrs@wrs.com>
23719 Mark Mitchell <mark@codesourcery.com>
23721 * c-common.c (c_get_alias_set): Fix support for poitners and
23724 Thu Aug 19 11:51:22 EDT 1999 John Wehle (john@feith.com)
23726 * alias.c: Include tree.h.
23727 (nonlocal_reference_p, mark_constant_function): New functions.
23728 * flow.c (life_analysis): Call mark_constant_function.
23729 * rtl.h (mark_constant_function): Declare it.
23731 Thu Aug 19 15:02:01 1999 Nick Clifton <nickc@cygnus.com>
23733 * config/rs6000/rs6000.c (rs6000_override_options): Fix test for
23734 unrecognisable switches.
23736 Wed Aug 18 23:31:57 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
23738 * loop.c (recombine_givs): Set ix field after sorting.
23739 (recombine_givs): Remove bogus index / giv lockstep looping.
23741 Wed Aug 18 18:20:40 1999 Bernd Schmidt <bernds@cygnus.co.uk>
23743 * expmed.c (emit_store_flag): If UNSIGNEDP, call unsigned_condition
23745 (emit_store_flag_force): Use do_compare_rtx_and_jump.
23746 (do_cmp_and_jump): Formatting fixes.
23747 * expr.c (do_compare_and_jump): Renamed from compare; changed to call
23748 do_compare_rtx_and_jump instead of compare_from_rtx.
23749 (do_compare_rtx_and_jump): New function; mostly copied from
23751 (do_jump_for_compare): Delete.
23752 (expand_expr): Use do_compare_rtx_and_jump when handling MAX_EXPR and
23754 (do_jump): Use do_compare_and_jump or do_compare_rtx_and_jump instead
23755 of compare/do_jump_for_compare pairs.
23756 (do_jump_by_parts_greater): Use do_jump_by_parts_greater_rtx.
23757 (do_jump_by_parts_greater_rtx): Use do_compare_rtx_and_jump instead of
23758 compare_from_rtx/do_jump_for_compare pairs.
23759 (do_jump_by_parts_equality): Likewise.
23760 (do_jump_by_parts_equality_rtx): Likewise.
23761 * expr.h (do_compare_rtx_and_jump): Declare.
23762 * optabs.c (prepare_cmp_insn): New function, contains most of the code
23763 that used to be in emit_cmp_insn.
23764 (cmp_available_p): New function.
23765 (prepare_operand): New function.
23766 (emit_cmp_and_jump_insn_1): New function, contains some code that used
23767 to be in emit_cmp_insn.
23768 (prepare_float_lib_cmp): Renamed from emit_float_lib_cmp; change some
23769 parameters to be pointers; don't emit final compare but modify some of
23770 the values pointed to by the args so the caller can perform the
23771 correct comparison.
23772 (expand_binop): Call emit_store_flag_force with signed forms of
23774 (expand_abs): Use do_compare_rtx_and_jump instead of compare_from_rtx/
23775 emit_jump_insn pair.
23776 (emit_cmp_and_jump_insn): Use prepare_cmp_insn and
23777 emit_cmp_and_jump_insn_1. Call emit_queue.
23778 (emit_cmp_insn): Just call emit_cmp_and_jump_insns with zero for LABEL
23780 * flow.c (tidy_fallthru_edge): If HAVE_cc0, verify insn before a
23781 jump sets cc0 before deleting it.
23782 * integrate.c (expand_inline_function): Likewise.
23783 * unroll.c (unroll_loop): Similar changes in several places.
23784 (copy_loop_body): If HAVE_cc0, verify insn before a jump sets cc0
23785 before deleting it.
23787 Wed Aug 18 06:37:44 1999 Bernd Schmidt <bernds@cygnus.co.uk>
23789 * Makefile.in (insn-recog.o): Update dependencies.
23790 * genrecog.c (main): Make generated file include "function.h".
23792 Sat Aug 14 00:54:57 1999 Geoffrey Keating <geoffk@cygnus.com>
23794 * cse.c (cse_insn): Call never_reached_warning when a jump is
23795 changed to be unconditional.
23796 * flags.h: Declare warn_notreached.
23797 * flow.c (delete_block): Call never_reached_warning when
23798 a block is deleted.
23799 * jump.c (delete_barrier_successors): Call never_reached_warning
23800 when we delete everything after a BARRIER.
23801 (never_reached_warning): New function.
23802 * rtl.h: Declare never_reached_warning.
23803 * toplev.c (warn_notreached): New variable.
23804 (lang_independent_options): Set warn_notreached
23805 when -Wunreachable-code.
23806 (compile_file): We need line numbers for -Wunreachable-code.
23808 Tue Aug 17 22:06:11 1999 Jan Hubicka <hubicka@freesoft.cz>
23810 * haifa-sched.c (insn_unit): Fix typo on out of range test.
23811 * sched.c (insn_unit): Likewise.
23813 Tue Aug 17 21:57:23 1999 Andreas Schwab <schwab@suse.de>
23815 * combine.c (distribute_notes): Handle REG_EH_RETHROW.
23817 Tue Aug 17 17:39:43 EDT 1999 Andrew MacLeod <amacleod@cygnus.com>
23819 * flow.c (create_edge_list): Use xmalloc, not malloc.
23821 Tue Aug 17 01:40:54 1999 Loren Rittle <ljrittle@acm.org>
23823 * fixinc/inclhack.def (no_double_slash): Do not trash single-line
23824 C-style comments. Do not lose the character before double slash.
23826 Mon Aug 16 18:08:22 EDT 1999 Andrew MacLeod <amacleod@cygnus.com>
23828 * basic-block.h (struct edge_list): Stucture to maintain a vector
23830 (EDGE_INDEX_NO_EDGE, EDGE_INDEX, INDEX_EDGE_PRED_BB, INDEX_EDGE_SUCC_BB,
23831 INDEX_EDGE, NUM_EDGES): New Macros for accessing edge list.
23832 (create_edge_list, free_edge-List, print_edge_list, verify_edge_list):
23833 New function prototypes.
23834 * flow.c (create_edge_list): Function to create an edge list.
23835 (free_edge_list): Discards memory used by an edge list.
23836 (print_edge_list): Debug output showing an edge list.
23837 (verify_edge_list): Internal consistency check for an edge list.
23838 (find_edge_index): Function to find an edge index for a pred and succ.
23840 Mon Aug 16 11:56:36 1999 Mark Mitchell <mark@codesourcery.com>
23842 * tree.c (type_hash_add): Use permalloc to allocate nodes in the
23845 Mon Aug 16 17:04:15 1999 Jorn Rennecke <amylaar@cygnus.co.uk>
23847 * mips.h (CLASS_CANNOT_CHANGE_SIZE): Define.
23849 Fri Aug 13 15:20:43 1999 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
23851 * config/i386/freebsd.h (HANDLE_PRAGMA_PACK_PUSH_POP): Define.
23853 Fri Aug 13 10:21:28 1999 Nick Clifton <nickc@cygnus.com>
23855 * toplev.c (rest_of_compilation): Allow machine dependent
23856 reorganisation pass to place information into the RTL dump
23857 file if it so wishes.
23859 Sun Aug 15 12:41:21 1999 Jim Wilson <wilson@cygnus.com>
23861 * explow.c (hard_function_value): Use VOIDmode instead of
23863 * stmt.c (expand_return): Likewise.
23864 * stor-layout.c (get_best_mode): Likewise.
23866 * genemit.c (gen_expand): If next is MATCH_PAR_DUP, then output
23867 emit call instead of emit_insn call.
23869 Sat Aug 14 15:04:06 1999 Mumit Khan <khan@xraylith.wisc.edu>
23871 * configure.in: Handle --disable/enable-win32-registry.
23872 * install.texi: Document --disable/enable-win32-registry.
23873 * acconfig.h (ENABLE_WIN32_REGISTRY): New macro.
23874 (WIN32_REGISTRY_KEY): New macro.
23875 * prefix.c: Use to enable/disable win32-specific code.
23876 (lookup_key): Use versioned key.
23877 * configure: Regenerate.
23878 * config.in: Likewise.
23880 Fri Aug 13 17:41:55 1999 Jason Merrill <jason@yorick.cygnus.com>
23882 * cpplib.c (read_line_number): New fn, split out of...
23885 Fri Aug 13 14:18:27 1999 Gavin Romig-Koch <gavin@cygnus.com>
23887 tree.c (lang_unsave_expr_now) : New.
23888 (unsave_expr_now): Call lang_unsave_expr_now.
23889 tree.h (lang_unsave_expr_now) : New.
23891 Fri Aug 13 00:49:46 1999 Jason Merrill <jason@yorick.cygnus.com>
23893 * toplev.c (flag_new_exceptions): On by default.
23895 1999-08-13 Michael Meissner <meissner@cygnus.com>
23897 * Makefile.in (GCC_FOR_TARGET): Move -B./ after the tooldir -B.
23899 Fri Aug 13 01:29:57 1999 Alexandre Oliva <oliva@dcc.unicamp.br>
23901 * dwarfout.c (fundamental_type_code): Return FT_boolean for
23902 INTEGER_TYPE with precision==1, it's __java_boolean.
23904 Thu Aug 12 23:51:04 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
23906 * global.c (prune_preferences): Move some invariants out of the
23909 Thu Aug 12 15:30:29 1999 Jesse Perry (jap@unx.dec.com)
23911 * configure.in (alpha*-dec-osf*): Add osf5.
23913 Sun Aug 1 22:24:03 1999 Philip Blundell <philb@gnu.org>
23915 * configure.in: Rework handling of ARM GNU/Linux slightly.
23916 (arm*-*-linux-gnuoldld): New target.
23917 * configure: Regenerate.
23918 * install.texi (Configurations): Add arm-*-linux-gnu{oldld} and
23919 arm-*-elf. Mention that arm-*-linux-gnuaout is obsolete.
23920 * config/arm/linux-oldld.h: New file.
23921 * config/arm/linux-elf26.h: Don't include linux-elf.h.
23922 (TARGET_DEFAULT, SUBTARGET_LINK_SPEC, SUBTARGET_EXTRA_ASM_SPEC):
23924 * config/arm/linux-elf.h (ASM_SPEC): Define.
23925 (TARGET_DEFAULT, SUBTARGET_EXTRA_LINK_SPEC,
23926 SUBTARGET_EXTRA_ASM_SPEC, CPP_APCS_PC_DEFAULT): Add definitions
23927 for 26-bit APCS and old linker.
23928 (CPP_PREDEFINES): Define `__arm__'; don't define `arm' or
23930 (FP_DEFAULT): Define to FP_SOFT3 for all machines.
23931 * config/arm/linux-aout.h (CPP_PREDEFINES): Define `__arm__';
23932 don't define `arm' or `arm_elf'.
23933 * config/arm/t-linux (EXTRA_MULTILIB_PARTS, MULTILIB_OPTIONS,
23934 MULTILIB_DIRNAMES): Define. Fix typo in comment.
23936 Thu Aug 12 10:14:47 1999 Andreas Schwab <schwab@suse.de>
23938 * rtl.texi: Fix typo.
23940 Wed Aug 11 23:50:57 1999 Jason Merrill <jason@yorick.cygnus.com>
23942 * invoke.texi (C++ Dialect Options): Add -fms-extensions.
23944 Wed Aug 11 12:59:37 1999 Mark Mitchell <mark@codesourcery.com>
23946 * extend.texi (C++ Signatures): Remove node.
23947 * invoke.texi: Remove discussion of -fhandle-signatures,
23948 signature, sigof, __signature__, and __sigof__.
23950 Wed Aug 11 03:38:25 1999 Jeffrey A Law (law@cygnus.com)
23952 * Makefile.in (JAVAGC): Removed.
23954 Wed Aug 11 02:13:26 1999 Mumit Khan <khan@xraylith.wisc.edu>
23956 * i386/cygwin.h (ASM_OUTPUT_ALIGNED_BSS): Define.
23958 1999-08-11 Mark Elbrecht <snowball3@bigfoot.com>
23960 * i386/djgpp.h (ASM_OUTPUT_ALIGNED_BSS): Define.
23962 1999-08-11 Richard Earnshaw (rearnsha@arm.com)
23964 * emit-rtl.c (mark_reg_pointer): Don't increase the alignment of
23965 a register that is already known to be a pointer.
23967 1999-08-11 Bruce Korb <ddsinc09@ix.netcom.com>
23969 * fixinc/inclhack.tpl: Only install assert.h conditionally.
23970 * fixinc/inclhack.sh: Regenerated.
23971 * fixinc/fixincl.sh: Regenerated.
23973 Wed Aug 11 00:34:22 1999 Joe Buck <jbuck@synopsys.com>
23975 * invoke.texi: s/GNU CC/GCC/ for consistency with gcc.texi.
23976 Fix documentation of -ansi flag to describe its C++ behavior.
23977 Remove bogus reference to GCC 2.9.
23979 Tue Aug 10 17:19:02 1999 Jim Wilson <wilson@cygnus.com>
23981 * config/sh/sh.c (machine_dependent_reorg): Only call PUT_MODE on
23982 note if it is non-NULL.
23984 Tue Aug 10 10:47:42 EDT 1999 Andrew MacLeod <amacleod@cygnus.com>
23986 * except.h (eh_nesting_info): Add new structure defintion.
23987 (init_eh_nesting_info, free_eh_nesting_info): Add function prototypes.
23988 (reachable_handlers, update_rethrow_references): Add function
23990 * rtl.h (struct rtvec_def): Update comments. REG_EH_RETHROW takes
23991 a rethrow symbol instead of an integer exception region number.
23992 * flow.c (Make_edges): Use new exception nesting routines to determine
23993 which handlers are reachable from a CALL or asynchronous insn.
23994 Dont add an edge for calls with a REG_EH_REGION of -1 to non-local
23996 (delete_eh_regions): Update rethrow labels, and don't delete
23997 regions which are the target of a rethrow.
23998 * except.c (struct func_eh_entry): Add rethrow_ref field, now we can
23999 avoid overloading the SYMBOL_REF_USED flag.
24000 (rethrow_symbol_map): Use new rethrow_ref field.
24001 (rethrow_used): Use new rethrow_ref field.
24002 (expand_rethrow): REG_EH_RETHROW now has a SYMBOL_REF instead
24003 of an integer. Fix formatting.
24004 (output_exception_table_entry): Use new rethrow_ref field.
24005 (can_throw): Check for EH_REGION_NOTE before deciding
24006 whether a CALL can throw or not.
24007 (scan_region): Call rethrow_used() instead of accessing data structure.
24008 (update_rethrow_references): New function to make sure only regions
24009 which are still targets of a rethrow are flagged as such.
24010 (process_nestinfo): New static function to initialize a handler
24011 list for a specific region.
24012 (init_eh_nesting_info): New function to allocate and initialize
24013 the list of all EH handlers reachable from all regions.
24014 (reachable_handlers): New function to retrieve the list of handlers
24015 reachable from a specific region and insn.
24016 (free_eh_nesting_info): New function to dispose of a list of
24017 reachable handlers.
24019 Tue Aug 10 10:39:31 EDT 1999 Andrew MacLeod <amacleod@cygnus.com>
24021 * flow.c (split_edge): Set JUMP_LABEL field.
24022 (commit_one_edge_insertion): Set head correctly for insert_before.
24023 When inserting insns, update insn block numbers if allocated.
24025 Tue Aug 10 09:26:07 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
24027 * dwarf2out.c (dwarf2out_frame_debug_expr, add_incomplete_type,
24028 retry_incomplete_types): Add static prototype.
24029 (stripattributes, dwarf_cfi_name, ASM_OUTPUT_DWARF_STRING,
24030 dwarf_tag_name, dwarf_attr_name, dwarf_form_name,
24031 dwarf_stack_op_name, dwarf_type_encoding_name, add_AT_string,
24032 dwarf2_name, add_name_attribute, lookup_filename, dwarf2out_line,
24033 dwarf2out_start_source_file, dwarf2out_define, dwarf2out_undef):
24036 * dwarf2out.h (dwarf2out_define, dwarf2out_undef,
24037 dwarf2out_start_source_file, dwarf2out_line): Likewise.
24039 Tue Aug 10 09:21:46 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
24041 * output.h (assemble_name): Constify a char*.
24043 * varasm.c (UNIQUE_SECTION, assemble_start_function,
24044 assemble_variable, assemble_name): Likewise.
24046 * dwarf2out.c (ASM_NAME_TO_STRING): Likewise.
24048 * arm/pe.c (arm_pe_unique_section): Likewise.
24050 * i386/cygwin.h (STRIP_NAME_ENCODING): Likewise.
24052 * i386/i386-interix.h (STRIP_NAME_ENCODING): Likewise.
24054 * i386/interix.c (i386_pe_unique_section): Likewise.
24056 * i386/win32.h (STRIP_NAME_ENCODING): Likewise.
24058 * i386/winnt.c (i386_pe_unique_section): Likewise.
24060 * m32r/m32r.h (ASM_OUTPUT_LABELREF): Likewise.
24062 * mn10200/mn10200.h (ASM_OUTPUT_LABELREF): Likewise.
24064 * mn10300/mn10300.h (ASM_OUTPUT_LABELREF): Likewise.
24066 * pa/pa.c (output_call): Likewise.
24068 * pa/pa.h (ASM_OUTPUT_MI_THUNK): Likewise.
24070 * pa/som.h (ASM_OUTPUT_FUNCTION_PREFIX): Likewise.
24072 * rs6000/rs6000.c (rs6000_output_load_toc_table, output_toc):
24075 * rs6000/rs6000.h (RS6000_OUTPUT_BASENAME, STRIP_NAME_ENCODING):
24078 * rs6000/sol2.h (ASM_OUTPUT_SOURCE_LINE): Likewise.
24080 * rs6000/sysv4.h (ASM_DECLARE_FUNCTION_NAME, ASM_OUTPUT_INT,
24081 STRIP_NAME_ENCODING, ASM_OUTPUT_LABELREF): Likewise.
24083 * v850/v850.h (ASM_OUTPUT_LABELREF): Likewise.
24085 Mon Aug 9 19:54:05 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
24087 * real.c (GET_REAL, PUT_REAL): Use memcpy instead of bcopy.
24089 Mon Aug 9 19:36:00 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
24091 * tree.h (lang_identify): Constify a char*.
24092 (print_error_function): Add extern prototype. Constify a char*.
24094 * c-lang.c (lang_identify): Constify a char*.
24096 * objc/objc-act.c (lang_identify): Constify a char*.
24098 Mon Aug 9 16:21:53 1999 Bernd Schmidt <bernds@cygnus.co.uk>
24100 * genpeep.c (main): Make generated file include "function.h".
24101 * arm.c (function_really_clobbers_lr): Delete INLINE_HEADER case.
24103 Mon Aug 9 10:08:50 1999 Bernd Schmidt <bernds@cygnus.co.uk>
24105 * Makefile.in: Update dependencies.
24106 * alias.c: Include "function.h"
24107 * c-decl.c: Likewise.
24108 * caller-save.c: Likewise.
24109 * calls.c: Likewise.
24110 * combine.c: Likewise.
24112 * explow.c: Likewise.
24113 * final.c: Likewise.
24114 * global.c: Likewise.
24115 * graph.c: Likewise.
24116 * local-alloc.c: Likewise.
24117 * loop.c: Likewise.
24118 * optabs.c: Likewise.
24119 * profile.c: Likewise.
24120 * recog.c: Likewise.
24121 * regclass.c: Likewise.
24122 * regmove.c: Likewise.
24123 * reload.c: Likewise.
24124 * reorg.c: Likewise.
24125 * resource.c: Likewise.
24126 * sched.c: Likewise.
24127 * stupid.c: Likewise.
24128 * config/1750a/1750a.c: Likewise.
24129 * config/a29k/a29k.c: Likewise.
24130 * config/arc/arc.c: Likewise.
24131 * config/arm/arm.c: Likewise.
24132 * config/arm/thumb.c: Likewise.
24133 * config/c4x/c4x.c: Likewise.
24134 * config/clipper/clipper.c: Likewise.
24135 * config/convex/convex.c: Likewise.
24136 * config/fx80/fx80.c: Likewise.
24137 * config/i860/i860.c: Likewise.
24138 * config/m68k/m68k.c: Likewise.
24139 * config/m88k/m88k.c: Likewise.
24140 * config/mips/mips.c: Likewise.
24141 * config/pdp11/pdp11.c: Likewise.
24142 * config/pyr/pyr.c: Likewise.
24143 * config/romp/romp.c: Likewise.
24144 * config/sh/sh.c: Likewise.
24145 * config/tahoe/tahoe.c: Likewise.
24146 * config/vax/vax.c: Likewise.
24147 * config/we32k/we32k.c: Likewise.
24148 * config/sparc/sparc.c: Include "function.h".
24149 (mem_min_alignment): Test current_function rather than
24150 regno_pointer_align.
24151 * config/pa/pa.c: Likewise.
24152 (compute_frame_size): Delete declaration of
24153 current_function_outgoing_args_size.
24154 * config/arc/arc.h (current_function_varargs): Delete declaration.
24155 * config/elxsi/elxsi.h (current_function_calls_alloca): Delete
24157 * config/i370/i370.h (current_function_outgoing_args_size): Delete
24159 * config/i386/i386.h (FINALIZE_PIC): Delete declaration of
24160 current_function_uses_pic_offset_table.
24161 * config/m68k/a-ux.h (FUNCTION_EXTRA_EPILOGUE): Delete declaration
24162 of current_function_returns_pointer.
24163 * config/m68k/altos3068.h (FUNCTION_EXTRA_EPILOGUE): Likewise.
24164 * config/m68k/linux.h (FUNCTION_EXTRA_EPILOGUE): Likewise.
24165 * config/m68k/m68kv4.h (FUNCTION_EXTRA_EPILOGUE): Likewise.
24166 * config/m68k/mot3300.h (FUNCTION_EXTRA_EPILOGUE): Likewise.
24167 * config/m68k/pbb.h (FUNCTION_EXTRA_EPILOGUE): Likewise.
24168 * config/m68k/tower-as.h (FUNCTION_EXTRA_EPILOGUE): Likewise.
24169 * config/m88k/m88k.c: Include "function.h"
24170 (call_used_regs, current_function_pretend_args_size,
24171 current_function_outgoing_args_size, frame_pointer_needed): Delete
24173 * config/m88k/m88k.h (current_function_pretend_args_size): Delete
24175 * config/mips/mips.h (current_function_calls_alloca): Delete
24177 * config/mn10200/mn10200.h (current_function_needs_context,
24178 rtx_equal_function_value_matters): Delete declarations.
24179 * config/ns32k/ns32k (current_function_uses_pic_offset_table,
24180 flag_pic): Delete declarations.
24181 * config/pa/pa.h (current_function_pretend_args_size,
24182 current_function_decl): Delete declarations.
24183 * config/pa/som.h (current_function_varargs): Delete declaration.
24184 * config/pdp11/pdp11.h (current_function_pretend_args_size): Delete
24186 * config/pyr/pyr.h (current_function_pretend_args_size,
24187 current_function_args_size, current_function_calls_alloca): Delete
24189 * config/sh/sh.h (current_function_varargs): Delete declaration.
24190 * config/sparc/sparc.h (current_function_outgoing_args_size,
24191 current_function_calls_alloca, current_function_decl): Delete
24193 * config/spur/spur.h (current_function_pretend_args_size,
24194 current_function_calls_alloca): Delete declarations.
24195 * config/v850/v850.c (current_function_outgoing_args_size): Delete
24197 * config/vax/vms.h (current_function_name): Delete declaration.
24198 * gcse.c: Include "function.h".
24199 (current_function_name, current_function_calls_setjmp): Delete
24201 * haifa-sched.c: Include "function.h".
24202 (forced_labels): Delete declaration.
24203 * jump.c: Likewise.
24204 * reg-stack.c: Likewise.
24205 * reload1.c: Likewise.
24206 * genemit.c (main): Make generated file include function.h.
24207 * genoutput.c (output_prologue): Likewise.
24209 * builtins.c (saveregs_value, apply_args_value): Delete variables.
24210 * emit-rtl.c (reg_rtx_no, first_label_num, first_insn, last_insn,
24211 sequence_rtl_expr, cur_insn_uid, last_linenum, last_filename,
24212 regno_pointer_flag, regno_pointer_flag_length, regno_pointer_align,
24213 regno_reg_rtx, sequence_stack): Delete variables. Add accessor
24214 macros for some of them.
24215 (emit_filename, emit_lineno): Delete declarations.
24216 (gen_reg_rtx): Use memset/memcpy instead of bzero/bcopy. Access
24217 regno_pointer_* variables through current_function.
24218 (gen_inline_header_rtx): Delete function.
24219 (save_emit_status): Delete function.
24220 (set_new_last_label_num): New function.
24221 (clear_emit_caches): New function.
24222 (restore_emit_status): Just clear last_labelnum and call
24224 (get_last_insn_anywhere): Variable sequence_stack is now accessed
24225 through macro seq_stack.
24226 (add_insn_after): Likewise.
24227 (add_insn_before): Likewise.
24228 (remove_insn): Likewise.
24229 (pop_topmost_sequence): Likewise.
24230 (in_sequence_p): Likewise.
24231 (start_sequence_for_rtl_expr): Likewise.
24232 (start_sequence): Likewise, and likewise for
24233 sequence_rtl_expr/seq_rtl_expr.
24234 (push_topmost_sequence): Likewise.
24235 (end_sequence): Likewise.
24236 (init_virtual_regs): Now takes a "struct emit_status *" argument.
24237 All callers changed. Store into that pointer instead of globals.
24238 (init_emit): Allocate emit elt of current_function.
24239 Changes for sequence_rtl_expr/sequence_stack renaming.
24240 Call clear_emit_caches instead of doing it in-line.
24241 Access regno_pointer_* variables through current_function.
24242 (init_emit_once) Don't clear sequence_stack.
24244 * expr.c (pending_stack_adjust, inhibit_defer_pop, pending_chain):
24246 (arg_pointer_save_area): Delete declaration.
24247 (finish_expr_for_function): Renamed from init_queue; no longer static.
24248 (init_expr): Don't call init_queue.
24249 (save_expr_status, restore_expr_status): Delete functions.
24250 (expand_expr): Changes to reflect new layout of struct function.
24251 Don't access current_function_check_memory_usage when current_function
24253 * expr.h (forced_labels, save_expr_regs, saveregs_value,
24254 apply_args_value, current_function_calls_alloca, inhibit_defer_pop,
24255 current_function_outgoing_args_size, current_function_arg_offset_rtx,
24256 current_function_uses_const_pool, function_call_count,
24257 current_function_uses_pic_offset_table, nonlocal_labels,
24258 current_function_internal_arg_pointer, nonlocal_goto_stack_level,
24259 current_function_check_memory_usage, nonlocal_goto_handler_slots,
24260 pending_stack_adjust, target_temp_slot_level, temp_slot_level): Delete
24262 (finish_expr_for_function): Declare.
24263 * flags.h (current_function_has_nonlocal_label,
24264 current_function_has_nonlocal_goto, current_function_is_thunk,
24265 current_function_has_computed_jump): Delete declarations.
24266 * flow.c (forced_labels): Delete declaration.
24267 * function.c (current_function_pops_args,
24268 current_function_returns_struct, current_function_returns_pcc_struct,
24269 current_function_needs_context, current_function_calls_setjmp,
24270 current_function_calls_longjmp, current_function_has_nonlocal_label,
24271 current_function_has_nonlocal_goto, current_function_is_thunk,
24272 current_function_has_computed_jump, current_function_calls_alloca,
24273 current_function_contains_functions, current_function_returns_pointer,
24274 current_function_epilogue_delay_list, current_function_args_size,
24275 current_function_pretend_args_size, current_function_arg_offset_rtx,
24276 current_function_outgoing_args_size, current_function_varargs,
24277 current_function_stdarg, current_function_args_info, cleanup_label,
24278 current_function_name, current_function_uses_const_pool,
24279 current_function_instrument_entry_exit, current_function_return_rtx,
24280 current_function_uses_pic_offset_table, nonlocal_labels,
24281 current_function_internal_arg_pointer, current_function_cannot_inline,
24282 current_function_check_memory_usage, function_call_count,
24283 nonlocal_goto_handler_slots, nonlocal_goto_handler_labels,
24284 nonlocal_goto_stack_level, return_label, save_expr_regs,
24285 stack_slot_list, rtl_expr_chain, tail_recursion_label, temp_slots,
24286 tail_recursion_reentry, arg_pointer_save_area, frame_offset,
24287 context_display, trampoline_list, parm_birth_insn, invalid_stack_slot,
24288 last_parm_insn, max_parm_reg, parm_reg_stack_loc, sequence_rtl_expr,
24289 temp_slot_level, var_temp_slot_level, target_temp_slot_level):
24291 (push_function_context_to): Don't save them. Don't call
24292 save_storage_status, save_emit_status or save_expr_status.
24293 (pop_function_context_from): Don't restore them. Don't call
24294 restore_storage_status or restore_expr_status.
24295 (get_func_frame_size): New function.
24296 (get_frame_size): Use it.
24297 (assign_outer_stack_local): Reflect some member name changes in struct
24299 (put_reg_into_stack): Likewise.
24300 (assign_stack_temp_for_type): sequence_rtl_expr was renamed to
24302 (fixup_var_refs): Likewise.
24303 (fix_lexical_addr): Likewise.
24304 (trampoline_address): Likewise.
24305 (prepare_function_start): Clear field inlinable of current_function.
24306 (init_function_for_compilation): New function.
24307 (expand_dummy_function_end): New function.
24308 (expand_function_end): Call finish_expr_for_function.
24309 * function.h (struct emit_status): New; fields moved here from struct
24310 function and from global variables. Add accessor macros for some of
24312 (struct expr_status): Likewise.
24313 (REGNO_POINTER_ALIGN, REGNO_POINTER_FLAG): Moved here from regs.h.
24314 (struct function): Add fields expr and emit, inlinable, inl_emit,
24315 original_arg_vector, original_decl_initial, inl_last_parm_insn,
24316 inl_max_label_num. Add many comments.
24317 Add accessor macros for all elts of struct function that no longer
24318 have a global variable.
24319 (cleanup_label, return_label, frame_offset, tail_recursion_label,
24320 tail_recursion_reentry, arg_pointer_save_area, rtl_expr_chain,
24321 stack_slot_list): Delete declarations.
24322 (get_func_frame_size): Declare.
24323 (save_expr_status, restore_expr_status, save_emit_status,
24324 save_storage_status, restore_storage_status): Delete declarations.
24325 (init_virtual_regs): Declare.
24326 * output.h (current_function_pops_args,
24327 current_function_returns_struct, current_function_returns_pcc_struct,
24328 current_function_needs_context, current_function_calls_setjmp,
24329 current_function_calls_longjmp, current_function_calls_alloca,
24330 current_function_has_nonlocal_label, current_function_varargs,
24331 current_function_has_computed_jump, current_function_returns_pointer,
24332 current_function_contains_functions, current_function_args_size,
24333 current_function_pretend_args_size, current_function_stdarg,
24334 current_function_outgoing_args_size, current_function_args_info,
24335 current_function_name, current_function_return_rtx,
24336 current_function_epilogue_delay_list,
24337 current_function_uses_const_pool, current_function_cannot_inline):
24338 Delete declarations.
24339 * regs.h (reg_rtx_no, regno_pointer_flag, regno_pointer_flag_length,
24340 regno_reg_rtx): Delete declaration.
24341 (REGNO_POINTER_FLAG): Delete macro.
24342 * stmt.c (expand_goto): Changes to reflect that some fields in struct
24343 function were renamed.
24344 * stor-layout.c (save_storage_status, restore_storage_status): Delete
24346 * toplev.c: Include "function.h".
24347 (current_function_decl): Delete declaration.
24348 (compile_file): Call init_dummy_function_start and
24349 expand_dummy_function_end around some initializations that need to
24351 (rest_of_compilation): Use DECL_SAVED_INSNS properly.
24352 Call init_function_for_compilation.
24353 * unroll.c: Include "function.h"
24354 (unroll_loop): Access regno_pointer_* variables through
24357 * tree.h (struct tree_decl): Add elt f to saved_insns member.
24358 (DECL_SAVED_INSNS): use it.
24359 (expand_dummy_function_end): Declare.
24360 (init_function_for_compilation): Declare.
24361 * calls.c (calls_function_1): Change use of DECL_SAVED_INSNS now
24362 that it's no longer an INLINE_HEADER.
24363 (expand_call): Likewise.
24364 * integrate.c (finish_inline): Delete function.
24365 (max_parm_reg, parm_reg_stack_loc): Delete declarations.
24366 (initialize_for_inline): Delete min_labelno, max_labelno and max_reg
24367 args. Don't generate an INLINE_HEADER rtx, just return the arg
24368 vector. All callers changed.
24369 (save_for_inline_copying): Create a duplicate struct emit_status to
24370 hold the emit state for compiling the current function. Use this and
24371 the other new fields in struct function that are for integration
24372 instead of an INLINE_HEADER.
24373 Use memcpy instead of bcopy.
24374 Store the current struct function in DECL_SAVED_INSNS of fndecl.
24375 (save_for_inline_nocopy): Similar changes, except no new emit_status
24377 (expand_inline_function): Get information from function structure,
24378 not from an inline header rtx.
24379 (output_inline_function): Lose code to extract the necessary
24380 information from an inline header; simply put back the function
24381 structure into current_function. Clear its inlinable elt.
24382 * rtl.def (INLINE_HEADER): Delete.
24383 * rtl.h: Delete all accessors for an INLINE_HEADER.
24384 (gen_inline_header_rtx): Delete declaration.
24385 (regno_reg_rtx, regno_pointer_align, nonlocal_goto_handler_labels):
24386 Delete declarations.
24387 (REGNO_POINTER_ALIGN): Delete.
24388 (clear_emit_caches): Declare.
24389 (set_new_last_label_num): Declare.
24391 Mon Aug 9 01:52:24 1999 Jason Merrill <jason@yorick.cygnus.com>
24393 * print-tree.c (print_node): Print base for OFFSET_TYPEs.
24395 * except.c (expand_eh_region_start_for_decl): Always start a new block.
24396 * stmt.c (is_eh_region): Make sure current_function is present, too.
24398 Mon Aug 9 01:15:24 1999 Jeffrey A Law (law@cygnus.com)
24400 * pa.h (HARD_REGNO_MODE_OK): Correctly handle FPregs, even when
24401 for 64bit PA targets.
24403 * pa.h (SELECT_SECTION): Define.
24404 * som.h (SELECT_SECTION): Delete.
24406 Sun Aug 8 15:13:20 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
24408 * alias.c (init_alias_analysis): Wrap call to
24409 `prologue_epilogue_contains' within HAVE_prologue||HAVE_epilogue.
24411 1999-08-07 Bruce Korb <autogen@linuxbox.com>
24413 * fixinc/inclhack.def(irix_asm_apostrophe): IRIX 5.2's
24414 <sys/asm.h> contains an asm comment with an apostrophe
24415 * fixinc/inclhack.sh: regen
24416 * fixinc/fixincl.x: regen
24418 Sat Aug 7 19:37:07 1999 Richard Henderson <rth@cygnus.com>
24420 * function.c (init_function_start): Clear prologue & epilogue.
24421 (prologue_epilogue_contains): New function.
24422 * alias.c (init_alias_analysis): Use it.
24423 * rtl.h (prologue_epilogue_contains): Declare it.
24425 Sat Aug 7 19:32:16 1999 Richard Henderson <rth@cygnus.com>
24427 * jump.c (onlyjump_p): New function.
24428 * rtl.h: Declare it.
24429 * flow.c (delete_unreachable_blocks): Use onlyjump_p instead
24430 of condjump_p in calling tidy_fallthru_edge and merge_blocks.
24432 Sat Aug 7 17:09:36 1999 Richard Henderson <rth@cygnus.com>
24434 * global.c (build_insn_chain): Use EXECUTE_IF_SET_IN_REG_SET
24435 to invert loops. Simplify block scanning.
24437 Sat Aug 7 02:11:13 1999 Bernd Schmidt <bernds@cygnus.co.uk>
24439 * gcse.c (hash_scan_set): Treat SYMBOL_REFs like CONST_INTs.
24440 (cprop_insn): Treat SYMBOL_REFs like CONST_INTs.
24442 1999-08-07 Jonathan Larmour <jlarmour@cygnus.co.uk>
24444 * config/sparc/liteelf.h: New file to support sparclite-elf target
24445 * config/sparc/t-sp86x: New file to support sparc86x targets
24446 * config/sparc/sp86x-aout.h: New file to support sparc86x-aout target
24447 * config/sparc/sp86x-elf.h: New file to support sparc86x-elf target
24448 * configure.in: Support above target triplets
24449 * configure: Regenerated
24451 Sat Aug 7 01:39:27 1999 Philippe De Muyter <phdm@macqel.be>
24453 * fixinc/server.c (server_setup): Do not prefix function used as
24454 parameter with `&'.
24456 Sat Aug 7 00:21:20 1999 Richard Henderson <rth@cygnus.com>
24458 * alpha.md (movhi and movqi patterns): Correct predicate for !BWX.
24459 Remove fp reg alternatives.
24461 Sat Aug 7 00:06:54 1999 Jeffrey A Law (law@cygnus.com)
24463 * Makefiin (TAROUTOPTS): Kill.
24464 (install-headers-tar): Use "xpf" for tar headerfile extraction
24465 * i370/x-oe (TAROUTOPTS): Delete.
24466 * m68k/x-apollo68 (TAROUTOPTS): Delete.
24467 * m68k/x-hp320 (TAROUTOPTS): Delete.
24468 * m68k/x-hp320g (TAROUTOPTS): Delete.
24469 * gcc.texi: Update bug reporting text.
24471 1999-08-6 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
24473 * reg-stack.c (change_stack) Fixed problem with negative array index.
24475 Fri Aug 6 23:08:44 1999 Jeffrey A Law (law@cygnus.com)
24477 * extend.texi, install.texi: Fix spelling mistakes.
24479 * Makefile.in (PREMADE_ATTRTAB_MD, PREMADE_ATTRTAB): Delete.
24480 (s-attrtab); No longer try to use pre-made insn-attrtab file.
24481 * mips/t-bsd: Delete references to obsolete PREMADE_ATTRTAB and
24482 PREMADE_ATTRTAB_MD.
24483 * mips/t-ecoff: Likewise.
24484 * mips/t-elf: Likewise.
24485 * mips/t-mips: Likewise.
24486 * mips/t-osfrose: Likewise.
24487 * mips/t-r3900: Likewise.
24488 * mips/t-svr3: Likewise.
24489 * mips/t-svr4: Likewise.
24490 * mips/t-ultrix: Likewise.
24492 * gcc.texi: Document recommend means to provide software floating
24493 point libraries in libgcc.a
24495 1999-08-06 Jason Merrill <jason@yorick.cygnus.com>
24497 * c-lex.c (yylex): We can have a number with no digits.
24499 Fri Aug 6 16:53:55 EDT 1999 John Wehle (john@feith.com)
24501 * jump.c (delete_prior_computation): New function, broken
24502 out of delete_computation. Check for side effects with
24503 side_effects_p instead of FIND_REG_INC_NOTE. Handle
24504 multi-word hard registers.
24505 (delete_computation): Use it. Check for side effects with
24506 side_effects_p instead of FIND_REG_INC_NOTE. Synthesize a
24507 missing REG_DEAD note for a register which is both set and
24510 Fri Aug 6 11:05:29 1999 Jeffrey A Law (law@cygnus.com)
24512 * elf.h (TEXT_SPACE_P, FUNCTION_NAME_P): Delete.
24513 (ASM_GLOBALIZE_LABEL, ASM_OUTPUT_INT, ASM_OUTPUT_DOUBLE_INT): Likewise.
24514 (ASM_FILE_START): Import _mcount with the right type.
24515 (ASM_DECLARE_FUNCTION_NAME): Define.
24516 (ASM_OUTPUT_EXTERNAL, ASM_OUTPUT_EXTERNAL_LIBCALL): Define.
24517 * pa.c (output_function_prologue): Always emit the function's label
24519 * pa.h (TEXT_SPACE_P): Define.
24520 (FUNCTION_NAME_P, ENCODE_SECTION_INFO, STRIP_NAME_ENCODING): Likewise.
24521 (ASM_OUTPUT_INT, ASM_OUTPUT_DOUBLE_INT, ASM_GLOBALIZE_LABEL): Likewise.
24522 * som.h (TEXT_SPACE_P): Delete.
24523 (FUNCTION_NAME_P, ENCODE_SECTION_INFO, STRIP_NAME_ENCODING): Likewise.
24524 (ASM_GLOBALIZE_LABEL, ASM_OUTPUT_INT): Likewise.
24526 Thu Aug 5 19:29:39 1999 Jim Wilson <wilson@cygnus.com>
24528 * expr.c (emit_group_load): Allow src to be a CONCAT.
24530 Thu Aug 5 22:27:15 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
24532 * config/sh/lib1funcs.asm (___movstrSI0): Change or r0,r0,r0 to nop.
24533 (___mulsi3): Use '!' comment character.
24535 Thu Aug 5 13:34:14 1999 Bernd Schmidt <bernds@cygnus.co.uk>
24537 * reload1.c (maybe_fix_stack_asms): Also declare P as "const char *".
24539 Thu Aug 5 02:40:42 1999 Jeffrey A Law (law@cygnus.com)
24541 * gcc.c: Update URLs and mail addresses.
24542 * gcc.texi: Likewise.
24544 Thu Aug 5 01:14:13 1999 Daniel Jacobowitz <drow@false.org>
24546 * rs6000.c (current_file_function_operand): Return zero for
24548 (rs6000_encode_section_info): Do not set SYMBOL_REF_FLAG for
24550 * rs6000.h (ENCODE_SECTION_NIFO): Do not set SYMBOL_REF_FLAG
24553 Thu Aug 5 00:56:30 1999 Geoffrey Keating <geoffk@cygnus.com>
24555 * rs6000.c (rs6000_stack_info): For ABI_V4/ABI_SOLARIS -fpic, always
24556 allocate space in the stack frame for the PIC register.
24558 Thu Aug 5 00:20:47 1999 Jeffrey A Law (law@cygnus.com)
24560 * m68k.md (xordi3, anddi3): These patterns are not available on
24563 Wed Aug 4 23:39:20 1999 Mark Mitchell <mark@codesourcery.com>
24565 * real.c (GET_REAL): Don't violate ANSI/ISO aliasing rules.
24566 (PUT_REAL): Likewise.
24568 Wed Aug 4 20:45:04 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
24570 * final.c (shorten_branches): Don't add an alignment for loops
24571 that have no label inside.
24573 Wed Aug 4 16:39:24 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
24575 * builtins.c (expand_builtin_memcmp, expand_builtin_strcmp): Wrap
24576 prototypes in macro HAVE_cmpstrsi.
24578 * cpplib.c (cpp_get_token): Remove unused label `op3'.
24580 * emit-rtl.c (operand_subword): Remove unused variable
24583 * rtl.c (shallow_copy_rtx): Remove unused variable `format_ptr'.
24585 * tree.c (chainon): Wrap variable `t2' in macro ENABLE_CHECKING.
24587 Wed Aug 4 13:29:23 1999 Zack Weinberg <zack@bitmover.com>
24589 * cpphash.c (macroexpand): Delete leading whitespace when arg
24590 is concatenated before.
24591 (unsafe_chars): Correct test for whether + and - can extend a
24594 * cppinit.c (cpp_start_read): Do dependencies for
24595 -include/-imacros files also.
24597 * cpplib.c (cpp_scan_buffer): In no-output mode, don't bother
24598 tokenizing non-directive lines.
24599 (cpp_expand_to_buffer): Temporarily disable no-output mode.
24600 * cppmain.c: In no-output mode, just call cpp_scan_buffer for
24603 Wed Aug 4 12:53:44 1999 Jason Merrill <jason@yorick.cygnus.com>
24605 * expr.c (expand_expr, case PLUS_EXPR): Fix parallel case, too.
24607 * c-lex.c: Sync with C++ frontend.
24608 (linemode): New variable.
24609 (parse_float): imag, conversion_errno, and type are output only.
24610 (yylex): Adjust. Move initial '.' case into main switch.
24612 (handle_generic_pragma): Just deal with tokens.
24613 (readescape): Use ISXDIGIT and ISGRAPH.
24614 * c-parse.in: Add END_OF_LINE token.
24616 * c-lex.c (lang_init): Generalize.
24617 (nextchar): Remove. Replace uses with UNGETC.
24618 (skip_white_space): Handle linemode here. Optimize for cpplib.
24619 (skip_white_space_on_line): Remove.
24620 (extend_token_buffer_to): New fn.
24621 (extend_token_buffer): Use it.
24622 (read_line_number, check_newline): Just deal with tokens.
24623 (token_getch, token_put_back): New fns.
24624 (yylex): Use them. More cpplib optimizations. Simplify.
24626 Wed Aug 4 12:53:44 1999 Michael Tiemann <tiemann@holodeck.cygnus.com>
24627 Jason Merrill <jason@yorick.cygnus.com>
24629 * c-lex.c (init_parse): Set cpp_token to CPP_DIRECTIVE.
24630 (consume_string): Make this smart about USE_CPPLIB.
24631 (check_newline): Rewrite to be intelligent about USE_CPPLIB.
24632 (yylex): Rewrite to be intelligent about USE_CPPLIB.
24633 Also, clean up cases where we redundantly set token_buffer[0].
24634 (read_line_number): New fn.
24635 (ignore_escape_flag): New variable.
24637 Wed Aug 4 13:12:17 1999 Jeffrey A Law (law@cygnus.com)
24639 * a29k/t-a29kbare: Fix some comments.
24640 (LIB2FUNCS_EXTRA): Remove fp-bit.c and dp-bit.c
24641 (FPBIT, DPBIT): Define.
24642 * a29k/t-vx29k: Likewise.
24643 * arc/t-arc: Likewise.
24644 * arm/t-arm-elf: Likewise.
24645 * arm/t-bare: Likewise.
24646 * arm/t-pe: Likewise.
24647 * arm/t-pe-thumb: Likewise.
24648 * arm/t-semi: Likewise.
24649 * arm/t-thumb: Likewise.
24650 * arm/t-thumb-elf: Likewise.
24651 * arm/t-thumb-linux: Likewise.
24652 * h8300/t-h8300: Likewise.
24653 * i960/t-i960: Likewise.
24654 * i960/t-vxworks960: Likewise.
24655 * m32r/t-m32r: Likewise.
24656 * mips/t-ecoff: Likewise.
24657 * mips/t-elf: Likewise.
24658 * mips/t-r3900: Likewise.
24659 * pa/t-pro: Likewise.
24660 * rs6000/t-aix43: Likewise.
24661 * rs6000/t-beos: Likewise.
24662 * rs6000/t-newas: Likewise.
24663 * rs6000/t-ppccomm: Likewise.
24664 * rs6000/t-rs6000: Likewise.
24665 * rs6000/t-winnt: Likewise.
24666 * rs6000/t-xnewas: Likewise.
24667 * rs6000/t-xrs6000: Likewise.
24668 * sh/t-sh: Likewise.
24669 * sparc/t-elf: Likewise.
24670 * sparc/t-sparcbare: Likewise.
24671 * sparc/t-sparclite: Likewise.
24672 * sparc/t-splet: Likewise.
24673 * v850/t-v850: Likewise.
24674 * mn10200/t-mn10200: Fix comments.
24675 * mn10300/t-mn10300: Likewise.
24677 * pa.md (divsi3, udivsi3, modsi3, umodsi3 expanders): Clobber a new
24678 dummy operand. Allocate a new pseudo for the dummy operand.
24679 (divsi3, udivsi3, modis3, umodsi3 patterns): Corresponding changes.
24681 * pa.md (movqi, movhi patterns): Do not expose FP regs to regclass.
24683 Wed Aug 4 11:53:55 1999 Tom Tromey <tromey@cygnus.com>
24685 * configure: Rebuilt.
24686 * configure.in: Removed --enable-java-gc option and JAVAGC subst.
24688 Wed Aug 4 09:06:14 1999 Richard Earnshaw (rearnsha@arm.com)
24690 * recog.c (preproces_constraints): Zero recog_op_alt before
24691 processing the constraints.
24693 * arm.c (typedef minipool_node): Renamed from pool_node.
24694 (minipool_vector, minipool_size, minipool_vector_label): Similarly.
24695 (add_minipool_constant): New function.
24696 (dump_minipool): New function.
24697 (find_barrier): Remove special case for getting the insn size of
24698 an insn that references the constant pool.
24699 (minipool_fixup): New structure.
24700 (push_minipool_barrier): New function.
24701 (push_minipool_fix): New function.
24702 (note_invalid_constants): New function.
24703 (add_pool_constant, dump_table, fixit, broken_move): Delete.
24704 (arm_reorg): Rewrite code to fix up the constant pool into a
24705 series of mini-pools embedded in the insn stream.
24706 (arm_output_epilogue): New function, made mainly from the body
24707 of output_func_epilogue.
24708 (output_func_epilogue): Move insn generation part of epilogue code
24709 to arm_output_epilogue.
24710 * arm.h (ASM_OUTPUT_SPECIAL_POOL_ENTRY): Delete.
24711 * arm.md (pool_range): New attribute.
24712 (zero_extendqidi2): Add attribute pool_range.
24713 (zero_extend_hisi_insn, load_extendqisi, extendhisi_insn,
24714 extendqihi_insn, extendqisi_insn, movdi, movsi_insn, pic_load_addr,
24715 pic_load_addr_based_insn, movhi_insn_arch4, movhi_insn_littleend,
24716 movhi_insn_bigend, loadhi_si_bigend, movsf_hard_insn, movsf_soft_insn,
24717 movdf_hard_insn, movdf_soft_insn, movxf_hard_insn): Likewise.
24718 (epilogue): New expand.
24719 (epilogue_insn): New insn. Call arm_output_epilogue.
24721 * arm.c (arm_poke_function_name): Undo change of July 17. Tidy up.
24722 * arm.h (TARGET_SWITCHES): Add missing doc string for TARGET_DEFAULT.
24724 Mon Aug 2 19:18:44 1999 Jason Merrill <jason@yorick.cygnus.com>
24726 * linux.h (HANDLE_PRAGMA_PACK_PUSH_POP): Define.
24728 1999-08-04 Mark Elbrecht <snowball3@bigfoot.com>
24730 * config/i386/djgpp.h (BSS_SECTION_ASM_OP): Define.
24732 Wed Aug 4 02:15:32 1999 Richard Henderson <rth@cygnus.com>
24734 * jump.c (delete_insn): Delete the addr_vec when deleting a tablejump.
24736 Wed Aug 4 01:48:08 1999 Jim Kingdon <http://developer.redhat.com>
24738 * global.c: Fix comment.
24740 Wed Aug 4 01:43:01 1999 Ian Lance Taylor <ian@zembu.com>
24742 * gcc.c (access_check): New static function.
24743 (find_a_file): Use it when searching a directory list.
24744 * collect2.c (find_a_file): Don't accept directories found when
24745 searching a directory list.
24747 Wed Aug 4 01:40:43 1999 Philippe De Muyter <phdm@macqel.be>
24749 * tlink.c (symbol_hash_lookup): Do not prefix functions used as
24750 function parameters with `&'.
24751 (file_hash_lookup, demangled_hash_lookup, tlink_init): Ditto.
24753 Wed Aug 4 01:08:44 1999 Jeffrey A Law (law@cygnus.com)
24755 * flow.c (delete_unreachable_blocks): Do not call merge_blocks
24756 or tidy_fallthru_edge if the last insn in the block is not
24757 an unconditional jump or a simple conditional jump.
24759 Tue Aug 3 20:21:20 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
24761 * Makefile.in (c-decl.o): Depends on defaults.h.
24763 Tue Aug 3 14:14:52 1999 Jeffrey A Law (law@cygnus.com)
24765 * pa.h (HARD_REGNO_NREGS): FP registers are always 4 bytes wide for
24767 (CLASS_MAX_NREGS): Likewise.
24769 Tue Aug 3 03:51:20 1999 Jeffrey A Law (law@cygnus.com)
24771 * cse.c (cse_insn): Fix dumb thinko in last change.
24773 Tue Aug 3 10:36:13 1999 Bernd Schmidt <bernds@cygnus.co.uk>
24775 * reload1.c (maybe_fix_stack_asms): Declare CONSTRAINTS as
24778 Mon Aug 2 23:45:45 1999 Hans-Peter Nilsson <hp@bitrange.com>
24780 * dwarf2out.c (add_location_or_const_value_attribute): Correct
24781 test for sizes of passed and declared parameter types.
24783 Tue Aug 3 00:03:41 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
24785 * fixincludes: Fix the return type of bsearch, char* -> void*.
24787 * fixinc/inclhack.def: Likewise.
24789 Mon Aug 2 18:29:32 1999 Mark Mitchell <mark@codesourcery.com>
24791 * invoke.texi (-fdump-translation-unit): New option.
24793 Mon Aug 2 17:54:19 1999 Richard Henderson <rth@cygnus.com>
24795 * expr.h (PROMOTE_PROTOTYPES): Move ...
24796 * defaults.h: ... to here.
24797 * c-decl.c: Include defaults.h instead of expr.h.
24798 * c-typeck.c: Include defaults.h.
24800 Mon Aug 2 17:10:24 1999 Mark Mitchell <mark@codesourcery.com>
24802 * toplev.h (errorcount): Declare.
24803 (warningcount): Likewise.
24804 (sorrycount): Likewise.
24805 * c-lex.c (errorcount): Don't declare.
24806 * dwarf2out.c (errorcount): Don't declare.
24808 Mon Aug 2 17:02:08 1999 Jason Merrill <jason@yorick.cygnus.com>
24810 * config/libgloss.h: Add a note discouraging use with ELF.
24811 * configure.in: Don't use libgloss.h for ELF targets.
24812 Always use_collect2 on a.out targets.
24814 Mon Aug 2 16:27:42 1999 Jim Wilson <wilson@cygnus.com>
24816 * combine.c (force_to_mode, case LSHIFTRT): Add goto shiftrt.
24817 (force_to_mode, case ASHIFTRT): Add shiftrt label.
24819 Tue Aug 3 00:45:02 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
24821 * loop.c (strength_reduce): When doing biv->giv conversion, update
24822 reg note of NEXT->insn.
24824 1999-08-02 Jakub Jelinek <jj@ultra.linux.cz>
24826 * real.c (PUT_REAL): Clear unused bytes if long double is IEEE quad.
24828 1999-08-02 Jakub Jelinek <jj@ultra.linux.cz>
24830 * c-decl.c (get_parm_info, store_parm_decls): Change all uses of
24831 PROMOTE_PROTOTYPES, so that it tests it as a C expression.
24832 Ensure expr.h is included.
24833 * c-typecheck.c (convert_arguments): Ditto.
24835 * expr.h: Supply default for PROMOTE_PROTOTYPES (0).
24837 * config/arc/arc.h: Define PROMOTE_PROTOTYPES to 1.
24838 * config/convex/convex.h: Ditto.
24839 * config/dsp16xx/dsp16xx.h: Ditto.
24840 * config/fx80/fx80.h: Ditto.
24841 * config/gmicro/gmicro.h: Ditto.
24842 * config/i370/i370.h: Ditto.
24843 * config/i386/i386.h: Ditto.
24844 * config/m32r/m32r.h: Ditto.
24845 * config/m68k/m68k.h: Ditto.
24846 * config/m88k/m88k.h: Ditto.
24847 * config/mips/mips.h: Ditto.
24848 * config/pa/pa.h: Ditto.
24849 * config/pyr/pyr.h: Ditto.
24850 * config/tahoe/tahoe.h: Ditto.
24851 * config/we32k/we32k.h: Ditto.
24853 * config/sparc/sparc.h: Define PROMOTE_PROTOTYPES
24854 based on arch size.
24856 * config/i1750a/i1750a.h: Define PROMOTE_PROTOTYPES to 0.
24858 * config/i860/paragon.h: Remove PROMOTE_PROTOTYPES
24861 * tm.texi: Document new usage of PROMOTE_PROTOTYPES.
24863 1999-08-02 Richard Henderson <rth@cygnus.com>
24865 * m32r.c (m32r_setup_incoming_varargs): Use get_varargs_alias_set
24866 for the register spill block.
24867 (m32r_va_arg): New.
24868 * m32r.h (EXPAND_BUILTIN_VA_ARG): New.
24869 (EXPAND_BUILTIN_SAVEREGS): Delete #if 0 code.
24871 * m32r.h (INT8_P): Don't short-cut test with (unsigned).
24872 (INT16_P, CMP_INT16_P, UINT16_P): Likewise.
24873 (UPPER16_P, UINT24_P, INT32_P, UINT5_P): Likewise.
24875 1999-08-02 Jakub Jelinek <jj@ultra.linux.cz>
24877 * config/sparc/linux.h: Define WCHAR_TYPE as "int" and undef
24878 MAX_WCHAR_TYPE defined in sparc.h.
24879 * config/sparc/linuxaout.h: Likewise.
24880 * config/sparc/linux64.h: Likewise.
24881 Also default to -mvis if CPU is UltraSPARC.
24883 1999-08-02 Jakub Jelinek <jj@ultra.linux.cz>
24885 * config/sparc/sparc.h (ASM_DECLARE_REGISTER_GLOBAL): New macro.
24886 (RTX_OK_FOR_OLO10): Likewise.
24887 (GO_IF_LEGITIMATE_ADDRESS): If assembler supports offsetable
24888 %lo(), allow it in addresses...
24889 (PRINT_OPERAND_ADDRESS): ... and print it appropriately.
24890 * config/sparc/sparc.md (sethi_di_medlow_embmedany_pic): sethi %lo()
24891 does not make sense.
24892 * config/sparc/sparc.c (sparc_hard_reg_printed): New array.
24893 (sparc_output_scratch_registers): New function.
24894 (output_function_prologue, sparc_flat_output_function_prologue): Use
24896 * varasm.c (make_decl_rtl): Use ASM_DECLARE_REGISTER_GLOBAL if
24898 * tm.texi (ASM_DECLARE_REGISTER_GLOBAL): Document it.
24899 * configure.in: Add check for .register pseudo-op support in as and
24900 check for offsetable %lo().
24901 * acconfig.h: Add templates for the above checks.
24902 * configure: Regenerate.
24904 1999-08-02 Richard Henderson <rth@cygnus.com>
24906 * sparc/linux64.h (TARGET_DEFAULT): Remove MASK_APP_REGS.
24907 * sparc/sol2-sld-64.h (TARGET_DEFAULT): Likewise.
24908 * sparc/sol2.h (TARGET_DEFAULT): Likewise.
24910 Mon Aug 2 23:46:45 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
24912 * loop.c (strength_reduce): When doing biv->giv conversion, fix up
24915 1999-08-02 Jakub Jelinek <jj@ultra.linux.cz>
24917 * config/float-sparc.h: New file.
24918 * configure.in: Use float_format=sparc for sparc-*-linux-gnulibc1,
24919 sparc-*-linux-gnu and sparc64-*-linux*.
24921 1999-08-02 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
24923 * rs6000.c (rs6000_va_list): Type is an array.
24924 (rs6000_va_start): Don't doubly adjust for varargs.
24925 (rs6000_va_arg): Evaluate long long GPR adjustment.
24927 Mon Aug 2 16:15:57 1999 David Edelsohn <edelsohn@gnu.org>
24929 * rs6000/aix43.h (SUBTARGET_SWITCHES): Use -m64 and -m32 instead of
24930 -maix64 and -maix32.
24931 (ASM_SPEC, ASM_CPU_SPEC, CPP_SPEC, CPP_CPU_SPEC, LIB_SPEC,
24932 LINK_SPEC): Change appropriately.
24933 * rs6000/rs6000.c (short_cint_operand): Use CONST_OK_FOR_LETTER_P.
24934 (u_short_cint_operand): Likewise.
24935 * rs6000/rs6000.md (movdi splitters): Add TARGET_POWERPC64 support
24937 * rs6000/t-aix43 (MULTILIB): Change to -m64.
24939 * invoke.texi (RS/6000 Submodel): Document 64-bit processor options.
24941 Mon Aug 2 16:15:57 1999 Geoff Keating <geoffk@cygnus.com>
24943 * rs6000/rs6000.c (num_insns_constant_wide): Correct
24944 for type promotion.
24945 (add_operand): Get test correct for 64-bit HOST_WIDE_INT.
24946 (non_add_cint_operand): Likewise.
24947 (logical_operand): Likewise.
24948 (non_logical_cint_operand): Likewise.
24949 (print_operand): Correct printf()s for 64-bit HOST_WIDE_INT.
24950 (print_operand_address): Correct printf() for 64-bit HOST_WIDE_INT.
24951 (rs6000_select_rtx_section): Suppress warning.
24952 (small_data_operand): Suppress warning.
24953 (rs6000_got_register): Suppress warning.
24954 * rs6000/rs6000.md (andsi3): HOST_WIDE_INT is a signed
24955 type, so `J' is generally the wrong constraint for a SImode value;
24957 (andsi3_internal2): Likewise.
24958 (andsi3_internal3): Likewise.
24959 (iorsi3_internal1): Likewise.
24960 (xorsi3_internal1): Likewise.
24962 (movsf_softfloat): Likewise.
24963 (scc insns): Likewise.
24964 (movsi+2): Preserve sign bits of SImode constant.
24965 (floatsidf2_internal+1): Sign-extend SImode constant correctly.
24966 (movdf+1): Sign-extend properly.
24967 (movdi_32+1): Sign-extend properly.
24968 (scc insns): Sign-extend properly.
24970 * md.texi (RS/6000 EXTRA_CONSTRAINTS): Update documentation for J,
24973 1999-08-02 Richard Henderson <rth@cygnus.com>
24975 * alpha.c (override_options): Move ev6 alpha_tp frobbing out of
24976 -mcpu parsing code.
24977 (print_operand): Notice alpha_fptm not alpha_tp for sw completion.
24978 * alpha.md (all fp insns): Likewise.
24980 1999-08-02 Nick Clifton <nickc@cygnus.com>
24982 * config/v850/v850.h (STRICT_ALIGNMENT): Only define if not
24985 Mon Aug 2 03:38:33 1999 Jeffrey A Law (law@cygnus.com)
24987 * pa.c (legitimize_pic_address): Clarify comments. Do not call the
24988 pic_load_label generator directly.
24989 * pa.md (pic_load_label): Clarify comments. Remove modes on operands.
24990 No longer a named pattern.
24992 Mon Aug 2 09:38:10 1999 Nick Clifton <nickc@cygnus.com>
24994 * explow.c (force_reg): Call force_operand if X does not
24995 satisfy general_operand.
24997 Mon Aug 2 01:34:22 1999 Jeffrey A Law (law@cygnus.com)
24999 * fix-header.c (main): When testing for CONTINUED, use string
25000 equality, not pointer equality.
25002 Mon Aug 2 01:27:24 1999 Dan Nicolaescu <dann@ics.uci.edu>
25004 * sparc.c (sparc_block_profiler): Use the %g2 register, not %o0.
25006 Sun Aug 1 22:46:42 1999 Jeffrey A Law (law@cygnus.com)
25008 * cse.c (cse_insn): Fix loop which deletes insns after a jump
25009 that has become an unconditional jump.
25011 * m68k.c (output_function_prologue): Fix typo in CPU32 case.
25012 (output_function_epilogue): Similarly.
25014 Sun Aug 1 20:14:00 1999 Bernd Schmidt <bernds@cygnus.co.uk>
25016 * tree.h (init_dummy_function_start): Declare.
25018 Sun Aug 1 12:55:31 1999 Bernd Schmidt <bernds@cygnus.co.uk>
25020 * stmt.c (emit_filename, emit_lineno, expr_stmts_for_value,
25021 last_expr_type, last_expr_value, block_start_count, block_stack,
25022 stack_block_stack, cond_stack, loop_stack, case_stack, nesting_stack,
25023 nesting_depth, goto_fixup_chain): Delete global vars; now allocated
25024 dynamically in stmt elt of struct function for each function.
25025 (struct nesting): Rename function_call_count elt to n_function_calls,
25026 target_temp_slot_level to block_target_temp_slot_level. All users
25028 (struct stmt_status): New structure definition.
25029 Add many accessor macros for stmt_status elements which previously
25030 were global variables.
25031 (init_stmt_for_function): Allocate stmt elt for current_function.
25032 Reflect that block_start_count was renamed to
25033 current_block_start_count.
25034 (save_stmt_status, restore_stmt_status): Delete functions.
25035 (preserve_subexpressions_p): Don't access loop_stack when outside
25037 (expand_start_bindings): Reflect that block_start_count was renamed to
25038 current_block_start_count.
25039 (expand_fixup): Likewise.
25040 (expand_decl): Don't access block_stack when outside a function.
25041 (expand_decl_cleanup): Likewise.
25042 (expand_dcc_cleanup): Likewise.
25043 (expand_dhc_cleanup): Likewise.
25044 (expand_anon_union_decl): Likewise.
25045 (set_file_and_line_for_stmt): New function.
25046 (in_control_zone_p): New function.
25048 * function.h (struct function): Add new elt stmt.
25049 Delete elts block_stack, stack_block_stack, cond_stack, loop_stack,
25050 case_stack, nesting_stack, nesting_depth, block_start_count,
25051 last_expr_type, last_expr_value, expr_stmts_for_value, emit_filename,
25052 emit_lineno, goto_fixup_chain.
25053 (save_eh_status, restore_eh_status, save_stmt_status,
25054 restore_stmt_status): Delete declarations.
25055 * function.c (push_function_context_to): Don't call save_stmt_status.
25056 (pop_function_context_to): Don't call restore_stmt_status.
25057 * tree.h (in_control_zone_p): Declare.
25058 * rtl.h (set_file_and_line_for_stmt): Declare.
25060 * emit-rtl.c (emit_line_note): Don't set emit_filename/emit_lineno;
25061 call set_file_and_line_for_stmt.
25063 Thu Jul 31 12:34:45 1999 Joe Buck <jbuck@synopsys.com>
25065 * gcc.texi: Use terms "GNU Compiler Collection" and "GCC".
25066 Also update copyright.
25068 Sat Jul 31 11:10:07 1999 Bernd Schmidt <bernds@cygnus.co.uk>
25070 * c-pragma.c: Don't include "except.h".
25071 * emit-rtl.c: Likewise.
25072 * stor-layout.c: Likewise.
25073 * tree.c: Likewise.
25074 * varasm.c: Likewise.
25076 * flow.c: Include "function.h".
25077 * tree.h (init_dummy_function_start): Declare new function.
25079 * except.h (struct eh_status): New structure.
25080 (struct label_node, struct eh_entry): Declare even if tree.h hasn't
25082 (eh_return_stub_label, ehstack, catchstack, ehqueue,
25083 catch_clauses, false_label_stack, caught_return_label_stack,
25084 protect_list, current_function_ehc): Add accessor macros for the
25085 corresponding fields in current_function->eh; delete declarations
25086 for all items that used to be declared here.
25087 * except.c (eh_return_stub_label, ehstack, catchstack, ehqueue,
25088 catch_clauses, false_label_stack, caught_return_label_stack,
25089 protect_list, current_function_ehc): Delete variables.
25090 (init_eh_for_function): Allocate current_function->eh.
25091 (save_eh_status, restore_eh_status): Delete functions.
25093 * function.h (struct function): Add fields next_global and eh.
25094 Delete all exception handling related fields.
25095 * function.c (current_function): New variable.
25096 (all_functions): New variable.
25097 (push_function_context_to): Don't allocate a struct function,
25098 use current_function instead. Call init_dummy_function_start when
25099 outside a function. Clear current_function before returning.
25100 (pop_function_context_from): Restore current_function.
25101 Don't free the restored struct function.
25102 (prepare_function_start): New function.
25103 (init_dummy_function_start): New function.
25104 (init_function_start): Break out some code into prepare_function_start
25107 * stmt.c (save_stmt_status): Don't call save_eh_status.
25108 (restore_stmt_status): Don't call restore_eh_status.
25110 * Makefile.in: Update dependencies.
25112 Sat Jul 31 04:10:01 1999 Jeffrey A Law (law@cygnus.com)
25114 * pa.c (compute_frame_size): Use STARTINg_FRAME_OFFSET instead
25115 of depending on a magic constant value. Update comments.
25116 (hppa_expand_prologue): Similarly.
25118 * pa.md (reload_indi, reload_outdi): Allow any register for the
25119 original reload register.
25121 Fri Jul 30 19:41:35 1999 Jim Wilson <wilson@cygnus.com>
25123 * cccp.c (print_help): Change marcos to macros.
25125 1999-07-30 Richard Henderson <rth@cygnus.com>
25127 * c-typeck.c (initializer_constant_valid_p): Move ...
25128 * c-common.c (initializer_constant_valid_p): ... here. Use
25129 FOO_TYPE_P instead of tests against TREE_CODE. Allow subtraction
25130 of label addresses.
25131 * c-common.h (initializer_constant_valid_p): Declare.
25132 * c-tree.h (initializer_constant_valid_p): Remove.
25134 Fri Jul 30 16:33:42 1999 Mathias Froehlich <frohlich@na.uni-tuebingen.de>
25136 * config/i386/sol2-c1.asm: Align the stack.
25137 * config/i386/sol2-gc1.asm: Likewise.
25139 1999-07-30 Vladimir Makarov <vmakarov@loony.cygnus.com>
25141 * config/sparc/sparc.h (ASM_CPU32_DEFAULT_SPEC): Change -Av8 onto
25142 -Asparclite for sparc86x.
25143 (CPP_CPU32_DEFAULT_SPEC, CPP_CPU_SPEC): Remove -D__sparc_v8__ for
25145 (ASM_CPU_SPEC): Use -Asparclite for sparc86x.
25147 Fri Jul 30 14:53:56 1999 Jakub Jelinek <jj@ultra.linux.cz>
25149 * config/sparc/linux64.h (CC1_SPEC): Preserve CPU specified by
25150 the user if using the non-default arch size in BI_ARCH configuration.
25151 * config/sparc/sol2-sld-64.h (CC1_SPEC): Ditto.
25153 * config/sparc/sparc.md (cmp_mul_set, cmp_udiv_cc_set):
25154 Fix patterns so that they actually match.
25155 (cmp_sdiv_cc_set): Ditto, also don't require g0 to be zero.
25156 (mulsidi3_sp64, const_mulsidi3_sp64): New patterns.
25157 (const_mulsidi3_sp32): Renamed from const_mulsidi3, only on
25159 (mulsidi3): Reflect this in the expand.
25160 (smulsi3_highpart): Only on TARGET_ARCH32.
25161 (umulsidi3_sp64, const_umulsidi3_sp64): New patterns.
25162 (const_umulsidi3_sp32): Renamed from const_umulsidi3.
25163 (umulsidi3): Reflect this in the expand.
25164 (umulsi3_highpart): Only on TARGET_ARCH32.
25165 (divsi3_sp32): Renamed from divsi3, only on TARGET_ARCH32,
25166 don't require g0 to be zero.
25167 (udivsi3_sp32): Renamed from udivsi3, only on TARGET_ARCH32.
25168 ({,u}divsi3): New expands.
25169 ({,u}divsi3_sp64): New patterns.
25170 (after lshrdi3_v8plus): Four new patterns to help combiner
25171 optimizing nested mixed mode shifts.
25173 * config/sparc/sparc.c (sparc_override_options): Use deprecated
25174 v8 instructions if optimizing for UltraSPARC I, II, IIi, as it
25175 speed things up. Don't use them by default on plain v9 in 64bit
25176 mode, according to what SPAMv9 sais.
25178 * config/sparc/sparc.h: Fix comments, e.g. Linux already preserves
25179 top 32 bits of %[og][0-7] in signal handlers.
25180 Also, TARGET_HARD_MUL32 now is only true for TARGET_ARCH32.
25182 Fri Jul 30 03:00:41 1999 Jeffrey A Law (law@cygnus.com)
25184 * pa.md (zvdep_imm32): Renamed from zvdep_imm.
25185 (ashlsi3): Corresponding changes.
25187 * pa.c (compute_zdepwi_operands): Renamed from compute_zdepi_operands.
25189 Thu Jul 29 18:37:13 1999 Jeffrey A Law (law@cygnus.com)
25191 * pa.h (FIRST_PARM_CALLER_OFFSET): Delete.
25193 Thu Jul 29 19:01:58 1999 Bernd Schmidt <bernds@cygnus.co.uk>
25195 * arm.h (Hint): Delete macro.
25196 Substitute HOST_WIDE_INT for Hint in some prototypes.
25197 * arm.c: Substitute HOST_WIDE_INT for Hint in one prototype.
25199 Thu Jul 29 09:21:42 1999 Nick Clifton <nickc@cygnus.com>
25201 * builtins.c (expand_builtin_setjmp): Use force_operand to
25202 make sure that the buffer address is in a suitable form to be
25203 passed to force_reg.
25205 Wed Jul 28 12:50:48 1999 Geoff Keating <geoffk@cygnus.com>
25207 * config/mips/mips.c: system.h handles MIN and MAX, don't undefine
25210 Wed Jul 28 13:18:35 1999 Jeffrey A Law (law@cygnus.com)
25212 * pa.md (indirect_jump): Remove mode from match_operand. Verify
25213 proper mode in the condition string.
25214 (icacheflush, dcacheflush): Remove modes from match_operands.
25216 * pa.c (emit_move_sequence): Always convert scratch_reg to the
25217 proper mode before using it.
25219 * pa.md (adddi3, subdi3): Turn into a define_expand/define_insn
25222 * pa.c (store_reg): Do not call add_high_const generator directly.
25223 (load_reg, set_reg_plus_d): Likewise.
25224 * pa.md (add_high_const): No longer a named pattern.
25226 * pa.c (legitimize_address): Consistently use Pmode rather than
25227 SImode. Do not call gen_pic2_highpart directly anymore.
25228 * pa.md (pic2_highpart): No longer a named pattern.
25229 (pic2_lo_sum): Similarly. Reformat to make more readable.
25231 * pa.md (call, call_value): Use "word_mode" instead of "SImode" as
25236 Wed Jul 28 11:28:04 1999 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
25238 * builtins.c (expand_builtin): Typo in call to expand_builtin_ffs.
25240 Wed Jul 28 11:23:48 1999 Richard Henderson <rth@cygnus.com>
25242 * pa.c (hppa_builtin_saveregs): Use get_varargs_alias_set
25243 and tag the spill mems.
25244 (hppa_va_start): New.
25245 (hppa_va_arg): New.
25246 * pa.h (EXPAND_BUILTIN_VA_START): New.
25247 (EXPAND_BUILTIN_VA_ARG): New.
25249 Wed Jul 28 11:22:21 1999 Richard Henderson <rth@cygnus.com>
25251 * mn10300.c (mn10300_builtin_saveregs): Use get_varargs_alias_set
25252 and tag the spill mems.
25253 (mn10300_va_start): New.
25254 (mn10300_va_arg): New.
25255 * mn10300.h (EXPAND_BUILTIN_VA_START): New.
25256 (EXPAND_BUILTIN_VA_ARG): New.
25258 Wed Jul 28 11:20:19 1999 Richard Henderson <rth@cygnus.com>
25260 * mn10200.c (mn10200_va_arg): New.
25261 * mn10200.h (EXPAND_BUILTIN_VA_ARG): New.
25263 Wed Jul 28 11:19:06 1999 Richard Henderson <rth@cygnus.com>
25265 * builtins.c (std_expand_builtin_va_arg): Use int_size_in_bytes
25266 rather than play with TREE_INT_CST_LOW.
25268 1999-07-27 Philip Blundell <pb@nexus.co.uk>
25270 * config/arm/telf.h: Include dbxelf.h.
25271 (CPP_PREDEFINES): Only define if not already defined.
25272 (ASM_IDENTIFY_GCC): Likewise.
25273 (SUBTARGET_EXTRA_SECTIONS): Likewise.
25274 (SUBTARGET_EXTRA_SECTION_FUNCTIONS): Likewise.
25275 * config/arm/thumb.h (LINK_SPEC): Only define if not already
25277 (DBX_DEBUGGING_INFO): Don't define.
25278 * config/arm/linux-telf.h: New file.
25279 * config/arm/linux-tgas.h: New file.
25280 * config/arm/t-thumb-linux: New file.
25281 * config/arm/uclinux-elf.h: New file.
25282 * config/arm/uclinux-telf.h: New file.
25283 * configure.in (arm-*-uclinux, thumb-*-linux-gnu,
25284 thumb-*-uclinux): New targets.
25285 * configure: Regenerate.
25287 Tue Jul 27 23:20:21 1999 Jeffrey A Law (law@cygnus.com)
25289 * pa.md (post_store, pre_load): New expanders.
25290 (post_stwm, pre_ldwm): Renamed to post_stw and pre_ldw respectively.
25291 (post_ldwm, pre_stwm): Make these unnamed patterns since we never
25292 need to directly generate RTL for them.
25293 * pa.c (hppa_expand_prologue, hppa_expand_epilogue): Corresponding
25296 Tue Jul 27 16:05:52 1999 David Edelsohn <edelsohn@gnu.org>
25298 * aix43.h (ASM_CPU_SPEC, CPP_CPU_SPEC): Add rs64a and PPC630.
25299 * rs6000.c (processor_target_table): Add powerpc64, rs64a, and PPC630.
25300 (rs6000_cpu): Choose between 32-bit and 64-bit default processors.
25301 (secndary_reload_class): Make TARGET_ELF conditional compile.
25302 (print_operand_address): Similar.
25303 (output_toc): Print all values as hex.
25304 (get_issue_rate): Rearrange and add RS64A and PPC630.
25305 * rs6000.h (processor_type): Add RS64A and PPC630.
25306 (PROCESSOR_POWERPC64): New.
25307 (PROMOTE_MODE): Use word_mode.
25308 (RTX_COSTS): Add RS64A and PPC630.
25309 * rs6000.md (scheduling information): Add lmul and ldiv
25310 representing 64-bit integer multiply and divide. Add rs64a and
25311 PPC630 information.
25312 (ashldi3): Add support for "rldic" instruction.
25313 * sysv4.h (PROCESSOR_DEFAULT): Change to PROCESSOR_750.
25315 Tue Jul 27 15:31:53 1999 Vladimir Makarov <vmakarov@toad.to.cygnus.com>
25317 * config/sparc/sparc.c (sparc_override_options): Enable SPARCLITE
25318 instead of V8 for sparclite86x in cpu_table.
25320 Tue Jul 27 17:49:42 1999 Bernd Schmidt <bernds@cygnus.co.uk>
25322 * config/arm/coff.h (ASM_FILE_START): If generating SDB output, call
25323 output_file_directive.
25325 Tue Jul 27 03:15:33 1999 Jason Merrill <jason@yorick.cygnus.com>
25327 * expr.c (expand_expr, case PLUS_EXPR): Get the mode from the
25328 tree for op1, not the rtl.
25330 Tue Jul 27 00:18:34 1999 Richard Henderson <rth@cygnus.com>
25332 * m88k.c (m88k_builtin_saveregs): Break out the constructor code
25333 to m88k_va_start, leaving only the register spill.
25334 (m88k_build_va_list): New.
25335 (m88k_va_start): New.
25336 (m88k_va_arg): New.
25337 * m88k.h (BUILD_VA_LIST_TYPE): New.
25338 (EXPAND_BUILTIN_VA_START): New.
25339 (EXPAND_BUILTIN_VA_ARG): New.
25341 Mon Jul 26 19:07:11 1999 Geoff Keating <geoffk@cygnus.com>
25343 * config/rs6000/rs6000.c (rs6000_expand_builtin_saveregs):
25344 Rename from expand_builtin_saveregs.
25345 * config/rs6000/rs6000.h (EXPAND_BUILTIN_SAVEREGS): Change caller.
25347 Mon Jul 26 22:52:47 1999 Richard Henderson <rth@cygnus.com>
25349 * i960.c (i960_setup_incoming_varargs): Use get_varargs_alias_set
25350 for the register spill block.
25351 (i960_build_va_list): New.
25352 (i960_va_start): New.
25353 (i960_va_arg): New.
25354 * i960.h (BUILD_VA_LIST_TYPE): New.
25355 (EXPAND_BUILTIN_VA_START): New.
25356 (EXPAND_BUILTIN_VA_ARG): New.
25357 * i960.md (store_multiple): Use change_address on individul mems.
25359 Mon Jul 26 22:43:12 1999 Richard Henderson <rth@cygnus.com>
25361 * builtins.c (stabilize_va_list): Don't INDIRECT_REF through
25363 (std_expand_builtin_va_start): Back out one word if !stdarg_p.
25364 (expand_builtin_va_end): Evaluate arg for side effects.
25365 * c-common.c (c_common_nodes_and_builtins): Construct a
25366 va_list_arg_type_node to handle array decomposition to pointer.
25368 Mon Jul 26 18:51:34 1999 Richard Henderson <rth@cygnus.com>
25370 * except.c (st_dynamic_cleanup): Use force_operand on the
25373 Mon Jul 26 16:43:26 1999 Richard Henderson <rth@cygnus.com>
25375 * c4x.h (EXPAND_BUILTIN_VA_ARG): New.
25376 * c4x.c (c4x_va_arg): New.
25378 Mon Jul 26 12:30:09 1999 Jason Merrill <jason@yorick.cygnus.com>
25380 * cpplib.c (cpp_get_token): Don't return a CPP_POP if the buffer
25381 has manual_pop set.
25383 1999-07-26 Nathan Sidwell <nathan@acm.org>
25385 * eh-common.h (__eh_matcher): Prototype correctly.
25387 Mon Jul 26 17:24:51 1999 Philip Blundell <pb@nexus.co.uk>
25389 * config/arm/thumb.h (THUMB_FLAG_SINGLE_PIC_BASE): Define.
25390 (TARGET_SINGLE_PIC_BASE): Likewise.
25391 (GOT_PCREL, NEED_GOT_RELOC, NEED_PLT_RELOC): Provide default
25393 (TARGET_CALLEE_INTERWORKING): Fix typo in comment.
25394 (TARGET_SWITCHES): Add -m{no-}single-pic-base.
25395 (TARGET_OPTIONS): Add -mpic-register=N.
25396 (OUTPUT_INT_ADDR_CONST): New macro.
25397 (INDEX_REGISTER_RTX_P, PIC_OFFSET_TABLE_REGNUM, FINALIZE_PIC,
25398 LEGITIMATE_PIC_OPERAND_P): Likewise.
25399 (LEGITIMIZE_ADDRESS, GOT_IF_LEGITIMATE_ADDRESS): Support PIC.
25400 (ASM_OUTPUT_INT): Use OUTPUT_INT_ADDR_CONST rather than calling
25401 output_addr_const directly.
25402 (PRINT_OPERAND_PUNCT_VALID_P): Accept `|' for compatibility with
25404 (thumb_pic_register, thumb_pic_register_string): Declare.
25406 * config/arm/thumb.c (symbol_mentioned_p): New function: Imported
25408 (label_mentioned_p): New function: Imported from arm.c.
25409 (legitimize_pic_address): New function: Imported from arm.c.
25410 (is_pic):New function: Imported from arm.c.
25411 (thumb_finalize_pic):New function: Imported from arm.c.
25412 (add_constant): Cope with PIC constants.
25413 (fixit): Cope with PIC constants.
25414 (output_return): Do not treat the PIC register as live if
25415 TARGET_SINGLE_PIC_BASE is true.
25416 (thumb_function_prologue): Do not treat the PIC register as live if
25417 TARGET_SINGLE_PIC_BASE is true.
25418 (thumb_expand_prologue): Do not treat the PIC register as live if
25419 TARGET_SINGLE_PIC_BASE is true.
25420 (thumb_unexpand_epilogue): Do not treat the PIC register as live if
25421 TARGET_SINGLE_PIC_BASE is true.
25422 (thumb_print_operand): Accept '|'.
25423 (thumb_override_options): Process PIC options.
25425 * config/arm/thumb.md (movsi): Support PIC.
25426 (call_insn): Change "i" constraint to "X".
25427 (call_value_insn): Likewise.
25428 (consttable_4, consttable_8, consttable_end): Set and clear
25429 "making_const_table" as appropriate.
25430 (pic_load_addr, pic_add_dot_plus_four): New insns.
25432 * invoke.texi (Thumb Options): Fix spelling. Document new
25433 options -msingle-pic-base and -mpic-register=.
25435 1999-07-26 Andrew Haley <aph@cygnus.com>
25437 * config/m32r/initfini.c (__init): Use a full word immediate for
25438 __fini: this allows it to be placed in any memory region.
25440 * config/m32r/t-m32r: Compile crtinit.o and crtfini.o for
25441 -mmodel=medium. This is OK for all memory models.
25443 Mon Jul 26 11:58:46 1999 Nick Clifton <nickc@cygnus.com>
25445 * config/arm/arm.c: Replace %R%s in asm_fprintf strings with %r.
25446 * config/arm/arm.h: Replace %R%s in asm_fprintf strings with %r.
25448 Mon Jul 26 10:23:36 1999 Nick Clifton <nickc@cygnus.com>
25450 * final.c (asm_fprintf): Accept ASM_FPRINTF_EXTENSIONS, if
25453 * tm.texi: Document ASM_FPRINTF_EXTENSIONS.
25455 Sun Jul 25 23:51:59 1999 Richard Henderson <rth@cygnus.com>
25457 * i860.h (EXPAND_BUILTIN_SAVEREGS): New.
25458 (BUILD_VA_LIST_TYPE): New.
25459 (EXPAND_BUILTIN_VA_START): New.
25460 (EXPAND_BUILTIN_VA_ARG): New.
25461 * i860.c (output_delayed_branch): Disable.
25462 (output_delay_insn): Likewise.
25463 (i860_saveregs): New.
25464 (i860_build_va_list): New.
25465 (i860_va_start): New.
25466 (i860_va_arg): New.
25467 * i860.md: Disable all peepholes using output_delayed_branch.
25468 * i860/sysv4.h (I860_SVR4_VA_LIST): New.
25470 Sun Jul 25 23:44:13 1999 Richard Henderson <rth@cygnus.com>
25472 * clipper.h (EXPAND_BUILTIN_SAVEREGS): Remove argument.
25473 (BUILD_VA_LIST_TYPE): New.
25474 (EXPAND_BUILTIN_VA_START): New.
25475 (EXPAND_BUILTIN_VA_ARG): New.
25476 * clipper.c (clipper_builtin_saveregs): Only dump registers.
25477 Return the address of the save area.
25478 (clipper_build_va_list): New.
25479 (clipper_va_start): New.
25480 (clipper_va_arg): New.
25482 Sun Jul 25 22:56:47 1999 Richard Henderson <rth@cygnus.com>
25484 * arc.h (EXPAND_BUILTIN_VA_START): New.
25485 (EXPAND_BUILTIN_VA_ARG): New.
25486 * arc.c (arc_setup_incoming_varargs): Set alias set of
25488 (arc_va_start): New.
25491 Sun Jul 25 22:45:55 1999 Richard Henderson <rth@cygnus.com>
25493 * alpha.h (EXPAND_BUILTIN_SAVEREGS): Delete.
25494 (BUILD_VA_LIST_TYPE): New.
25495 (EXPAND_BUILTIN_VA_START): New.
25496 (EXPAND_BUILTIN_VA_ARG): New.
25497 * alpha.c (alpha_builtin_saveregs): Delete.
25498 (alpha_build_va_list): New.
25499 (alpha_va_start): New.
25500 (alpha_va_arg): New.
25502 Sun Jul 25 21:40:33 1999 Jeffrey A Law (law@cygnus.com)
25504 * config/svr4.h (CTORS_SECTION_ASM_OP): Do not emit directives in
25506 (DTORS_SECTION_ASM_OP, INIT_SECTION_ASM_OP): Likewise.
25507 (FINI_SECTION_ASM_OP, ASM_OUTPUT_SECTION_NAME): Likewise.
25509 * gcc.texi: More changes related to list conversion.
25510 * invoke.texi: Likewise.
25512 Sun Jul 25 18:15:39 1999 Richard Henderson <rth@cygnus.com>
25514 * builtins.c (expand_builtin_saveregs): Remove static, remove exp
25515 and ignore arguments, bail if no EXPAND_BUILTIN_SAVEREGS.
25516 (expand_builtin_next_arg): Accept ARGLIST not EXP.
25517 (stabilize_va_list): New function.
25518 (std_expand_builtin_va_start): New function.
25519 (expand_builtin_va_start): New function.
25520 (get_varargs_alias_set): New function.
25521 (std_expand_builtin_va_arg): New function.
25522 (expand_builtin_va_arg): New function.
25523 (expand_builtin_va_end): New function.
25524 (expand_builtin_va_copy): New function.
25525 (expand_builtin): Call them.
25526 * c-common.c (c_common_nodes_and_builtins): Build __builtin_va_list,
25527 __builtin_{varargs_start,stdarg_start,end,copy}.
25528 (build_va_arg): New function.
25529 * c-common.h (CTI_PTR_TYPE, ptr_type_node): Delete.
25530 (build_va_arg): Declare.
25531 * c-decl.c (ptr_type_node, va_list_type_node): New.
25532 * c-parse.gperf (__builtin_va_arg): New.
25533 * c-parse.in (VA_ARG): New token.
25534 (unary_expr): Recognize it.
25535 * expr.c (expand_expr): Expand VA_ARG_EXPR.
25536 * expr.h (std_expand_builtin_va_start): Declare.
25537 (std_expand_builtin_va_arg): Declare.
25538 (expand_builtin_va_arg): Declare.
25539 (get_varargs_alias_set): Declare.
25540 * tree.def (VA_ARG_EXPR): New.
25541 * tree.h (BUILT_IN_VARARGS_START): New.
25542 (BUILT_IN_STDARG_START, BUILT_IN_VA_END): New.
25543 (ptr_type_node, va_list_type_node): Declare.
25544 * tm.texi (EXPAND_BUILTIN_SAVEREGS): Kill unused ARGLIST argument.
25545 * m32r.h (EXPAND_BUILTIN_SAVEREGS): Likewise.
25546 * m88k.h, m88k.c: Likewise.
25547 * mn10300.h, mn10300.c: Likewise.
25548 * pa.h, pa.c: Likewise.
25549 * rs6000.h, rs6000.c: Likewise.
25550 * sh.h, sh.c: Likewise.
25551 * sparc.h, sparc.c: Likewise.
25553 * emit-rtl.c (operand_subword): Copy alias set.
25554 (change_address): Likewise.
25556 Sun Jul 25 15:04:37 1999 Jeffrey A Law (law@cygnus.com)
25558 * pa.c (compute_frame_size): Scan all the used callee saved registers,
25559 not just the first one.
25561 Fri Jul 23 14:09:58 1999 Philip Blundell <pb@nexus.co.uk>
25563 * config/arm/arm.h (TARGET_SWITCHES): Add
25564 -m{no-}single-pic-base. Correct help string for -mshort-load-words.
25565 (TARGET_OPTIONS): Add -mpic-register=.
25566 (ARM_FLAG_SINGLE_PIC_BASE, TARGET_SINGLE_PIC_BASE): Define.
25567 (arm_pic_register_string): Declare.
25568 (NEED_PLT_GOT): Delete, replace with ...
25569 (NEED_GOT_RELOC, NEED_PLT_RELOC): ... these. New macros.
25570 (OUTPUT_INT_ADDR_CONST): Replace NEED_PLT_GOT with NEED_GOT_RELOC.
25571 (ASM_OUTPUT_MI_THUNK): Replace NEED_PLT_GOT with NEED_PLT_RELOC.
25572 * config/arm/arm.c (arm_override_options): Add new option
25574 (arm_pic_register_string): New variable.
25575 (arm_finalize_pic): Respect TARGET_SINGLE_PIC_BASE.
25576 (output_func_prologue): If TARGET_SINGLE_PIC_BASE, treat the PIC
25577 register as never live. Use NEED_PLT_RELOC not NEED_PLT_GOT.
25578 (output_return_instruction): Likewise.
25579 * config/arm/elf.h (NEED_PLT_GOT): Delete, replace with ...
25580 (NEED_GOT_RELOC, NEED_PLT_RELOC): ... these. Define to flag_pic.
25581 * config/arm/arm.md: Use NEED_PLT_RELOC in place of NEED_PLT_GOT.
25583 * invoke.texi (ARM Options): Fix spelling. Remove duplicate
25584 mention of -msched-prolog. Document new options -msingle-pic-base
25585 and -mpic-register=.
25587 Thu Jul 22 18:23:56 1999 Richard Henderson <rth@cygnus.com>
25589 * haifa-sched.c (reemit_notes): Tidy.
25590 * sched.c (reemit_notes): Duplicate 1998-08-31 patch to
25593 Thu Jul 22 18:21:04 1999 Richard Henderson <rth@cygnus.com>
25595 * explow.c (trunc_int_for_mode): New function.
25596 (plus_constant_wide): Use it.
25597 * combine.c (simplify_and_const_int): Likewise.
25598 (merge_outer_ops): Likewise.
25599 (simplify_shift_const): Likewise.
25600 * cse.c (simplify_unary_operation): Likewise.
25601 (simplify_binary_operation): Likewise.
25602 * emit-rtl.c (operand_subword): Likewise.
25603 * rtl.h: Declare it.
25605 Thu Jul 22 14:34:59 1999 Bernd Schmidt <bernds@cygnus.co.uk>
25607 * config/arm/arm.c (arm_print_operand): Fix typo in 'M' case
25608 (use NUM_REGS instead of NUM_INTS).
25610 Thu Jul 22 11:25:20 1999 Bernd Schmidt <bernds@cygnus.co.uk>
25612 * builtins.c: New file.
25613 * expr.c (saveregs_value, apply_args_value): Delete definition,
25614 moved into builtins.c.
25615 (string_constant): No longer static.
25616 (get_pointer_alignment, c_strlen, get_memory_rtx, expand_builtin,
25617 apply_args_size, apply_result_size, result_vector,
25618 expand_builtin_apply_args, expand_builtin_apply,
25619 expand_builtin_return): Delete functions, moved into builtins.c.
25620 (INCOMING_REGNO, OUTGOING_REGNO): Delete unused macros.
25621 * expr.h (saveregs_value, apply_args_value): Declare variables.
25622 (expand_builtin, string_constant): Declare functions.
25623 * Makefile.in: Update to build builtin.o.
25625 Wed Jul 21 00:46:58 1999 Mark P. Mitchell <mark@codesourcery.com>
25627 * defaults.h (DWARF2_GENERATE_TEXT_SECTION_LABEL): New macro.
25628 * tm.texi (DWARF2_GENERATE_TEXT_SECTION_LABEL): Define it.
25629 * dwarf2out.c (dwarf2out_init): Don't output a label to mark the
25630 start of the text section if DWARF2_GENERATE_TEXT_SECTION_LABEL is
25632 * config/mips/iris6.h (DWARF2_GENERATE_TEXT_SECTION_LABEL):
25635 1999-07-21 Michael Meissner <meissner@cygnus.com>
25637 * print-rtl.c (print_rtx): Print the names of the virtual
25640 Wed Jul 21 16:00:32 1999 Nick Clifton <nickc@cygnus.com>
25642 * config/arm/arm.h (INITIAL_ELIMINATION_OFFSET): Fix typo
25643 introduced in previous delta.
25645 Wed Jul 21 14:30:51 1999 Bernd Schmidt <bernds@cygnus.co.uk>
25647 * c-lang.c (finish_file): Rename void_list_node to void_list_node_1
25648 to avoid name clash.
25650 Wed Jul 21 08:39:22 1999 Gavin Romig-Koch <gavin@cygnus.com>
25652 * c-lex.c (yylex) : Correct the test for overflow when lexing
25655 Tue Jul 20 18:02:42 1999 Richard Henderson <rth@cygnus.com>
25657 * haifa-sched.c (insn_cost): FREE implies cost 0 and vice versa.
25658 (adjust_priority): Always call ADJUST_PRIORITY.
25659 (schedule_insn): Only put insns into the ready at cost 0.
25660 (schedule_block): Remove redundant initial sort. Give clock_var
25661 and can_issue_more to MD_SCHED_REORDER. Requeue if hazard cost
25663 * tm.texi (MD_SCHED_REORDER): Update docs.
25665 * sparc.h (MD_SCHED_REORDER): Update. Set CAN_ISSUE_MORE.
25666 * sparc.c (ultra_reorder_called_this_block): Delete.
25667 (ultrasparc_sched_init): Don't set it.
25668 (ultrasparc_sched_reorder): Don't check it.
25670 Tue Jul 20 17:07:54 1999 Richard Henderson <rth@cygnus.com>
25672 * rs6000.h (struct rs6000_args): Add sysv_gregno.
25673 * rs6000.c (init_cumulative_args): Init sysv_gregno.
25674 (function_arg_boundary): Align DFmode.
25675 (function_arg_advance): Restructure for ABI_V4; use sysv_gregno
25676 to get fp reg and stack overflow correct.
25677 (function_arg): Likewise.
25678 (function_arg_pass_by_reference): True for TFmode for ABI_V4.
25679 (setup_incoming_varargs): Restructure for ABI_V4; use
25680 function_arg_advance to skip final named argument.
25681 (expand_builtin_saveregs): Properly unskip the last integer arg
25682 when doing varargs. Adjust overflow location calculation.
25684 * ginclude/va-ppc.h (struct __va_list_tag): Make gpr and fpr
25685 explicitly unsigned.
25686 (__VA_FP_REGSAVE): Use new OFS argument instead of AP->fpr directly.
25687 (__VA_GP_REGSAVE): Similarly.
25688 (__va_longlong_p): Delete.
25689 (__va_arg_type_violation): New declaration.
25690 (va_arg): Restructure. Flag promotion errors. Align double.
25691 TFmode passed by reference.
25693 * rs6000.md (movdi_32+1): Use GEN_INT after arithmetic
25694 in the HOST_BITS_PER_WIDE_INT > 32 case.
25696 Tue Jul 20 12:37:30 1999 Hans-Peter Nilsson <hp@bitrange.com>
25698 * dwarf2out.c (output_abbrev_section): Terminate with a zero.
25700 Tue Jul 20 12:12:27 1999 Jason Merrill <jason@yorick.cygnus.com>
25702 * gcc.c (default_compilers, cpp-output): Pass -fpreprocessed.
25703 * toplev.c (documented_lang_options): Add -fpreprocessed.
25704 * cpplib.h (struct cpp_buffer): Add preprocessed.
25705 * cppinit.c (cpp_handle_option): Handle -fpreprocessed.
25706 (cpp_start_read): Don't expand macros or emit an initial #line
25707 directive if -fpreprocessed.
25709 Tue Jul 20 12:12:09 1999 Michael Tiemann <tiemann@holodeck.cygnus.com>
25711 * cpplib.h (struct cpp_buffer): Added manual_pop for
25712 better C++ tokenization.
25713 * cpplib.c (cpp_get_token): Return CPP_EOF if manual_pop.
25714 Also, support C++ tokenization for ->*, .*, <?, and >? operators.
25715 * c-common.c (cpp_token): Make non-static.
25717 Tue Jul 20 11:24:19 1999 Bernd Schmidt <bernds@cygnus.co.uk>
25719 * c-common.h: New file.
25720 * c-common.c (permanent_obstack): Delete unused declaration.
25721 (c_global_trees): New array.
25722 (c_common_nodes_and_builtins): New function; split off common code
25723 from init_decl_processing in both c-decl.c and cp/decl.c.
25724 * c-tree.h: Delete lots of declarations of tree nodes; replaced by
25725 c_global_trees and accessor macros defined in c-common.h.
25726 Include c-common.h.
25727 * c-decl.c: Delete definitions for tree nodes that were replaced by
25729 (init_decl_processing): Build void_list_node.
25730 Call c_common_nodes_and_builtins; delete code to generate the common
25732 * objc/objc-act.c (build_module_descriptor): Rename variable
25733 void_list_node to avoid clash with c-common.h.
25735 * Makefile.in: Update dependencies.
25736 * objc/Make-lang.in: Likewise.
25738 Mon Jul 19 14:22:18 1999 Mark P. Mitchell <mark@codesourcery.com>
25740 * config/mips/iris6gld.h (MAKE_DECL_ONE_ONLY): Define.
25741 (UNIQUE_SECTION_P): Likewise.
25742 (UNIQUE_SECTION): Likewise.
25744 1999-07-19 Linas Vepstas <linas@linas.org>
25746 * config/i370/README: New file.
25747 * config/i370/linux.h: New file.
25748 * config/i370/mvs.h: New file.
25749 * config/i370/oe.h: New file.
25750 * config/i370/t-linux: New file.
25751 * config/i370/t-mvs: New file.
25752 * config/i370/t-oe: New file.
25753 * config/i370/x-oe: New file.
25754 * config/i370/xm-linux.h: New file.
25755 * config/i370/xm-mvs.h: New file.
25756 * config/i370/xm-oe.h: New file.
25758 * i370.c (label_node_t): Add first_ref_page, label_addr,
25759 label_first_ref, label_last_ref members.
25760 (mvs_need_base_reload): Renamed from mvs_label_emitted.
25761 (MAX_MVS_LABEL_SIZE): Define.
25762 (MAX_LONG_LABEL_SIZE): Define.
25763 (alias_node_t, alias_anchor, alias_number): New.
25764 (mvs_function_table): Reorder for EBCDIC.
25765 (ascebc, ebcasc): Unconditionally define.
25766 (i370_branch_dest, i370_branch_length): New functions.
25767 (i370_short_branch, i370_label_scan): New functions.
25768 (mvs_get_label): Renamed from mvs_add_label. Search for
25769 an existing label before creating a new one.
25770 (mvs_add_label): New function.
25771 (mvs_get_label_page): New function.
25772 (mvs_free_label_list): Renamed from mvs_free_label. Iterate
25773 over the entire list.
25774 (mvs_check_page) [TARGET_HLASM]: Use BASR not BALR.
25775 (mvs_check_page) [TARGET_ELF_ABI]: New function.
25776 (mvs_add_alias, mvs_need_alias): New functions.
25777 (mvs_get_alias, mvs_check_alias): New functions.
25778 (handle_pragma): New function.
25779 (mvs_function_check): New function.
25780 (unsigned_jump_follows_p): Search harder.
25781 (i370_function_prolog) [TARGET_HLASM]: Handle LE370. Scan labels.
25782 (i370_function_prolog) [TARGET_ELF_ABI]: New function.
25783 * i370.h (TARGET_VERSION): Delete.
25784 (CPP_SPEC, CPP_PREDEFINES): Delete.
25785 (mvs_label_emitted): Delete.
25786 (TARGET_EBCDIC): Delete.
25787 (MAP_CHARACTER): Define only if TARGET_EBCDIC.
25788 (HANDLE_PRAGMA): Define.
25789 (HARD_REGNO_NREGS): Handle complex modes.
25790 (HARD_REGNO_MODE_OK): Likewise.
25791 (CLASS_MAX_NREGS): Likewise.
25792 (RET_REG): Likewise.
25793 (EXTRA_CONSTRAINT): Define.
25794 (RETURN_IN_MEMORY): True for DImode.
25795 (TRAMPOLINE_TEMPLATE): Use gen_rtx instead of GEN_INT.
25796 (FUNCTION_PROFILER): Delete.
25797 (COUNT_REGS): Fail if REG_P but not REG_OK_FOR_BASE_P.
25798 (NOTICE_UPDATE_CC): Correct handling of MULT, DIV, logicals and shifts.
25799 (TARGET_ESC, TARGET_BELL): Conditionally define for TARGET_EBCDIC.
25800 (TARGET_BS, TARGET_TAB, TARGET_NEWLINE): Likewise.
25801 (TARGET_VT, TARGET_FF, TARGET_CR): Likewise.
25802 (ASM_FILE_START): Add "RMODE ANY".
25803 (ASM_OUTPUT_EXTERNAL): Check for aliases.
25804 (ASM_GLOBALIZE_LABEL): Likewise.
25805 (ASM_OUTPUT_LABELREF): Likewise.
25806 (ASM_OUTPUT_COMMON): Likewise.
25807 (PRINT_OPERAND): Handle 'K', 'W', default.
25808 (PRINT_OPERAND_ADDRESS): New.
25809 (Lots of defines): Add support for TARGET_ELF_ABI.
25810 * i370.md (attr length): New. Define for all patterns.
25811 (*): Lots of tweeks to assembly output and constraints.
25813 Mon Jul 19 15:09:29 1999 David Edelsohn <edelsohn@gnu.org>
25815 * rs6000.md (arithmetic, logical, and shift Rc combiner patterns):
25816 Disable patterns performing SImode comparisons with SImode values
25817 if TARGET_POWERPC64 and instruction does not sign-extend or does
25818 not mask to narrower than SImode, i.e. where bit 31 and bit 63 may
25819 differ for signed quantities.
25820 (indirect_jump): Add expander to choose RTL based on TARGET_64BIT.
25821 (tablejump): Patterns contingent on TARGET_64BIT not TARGET_POWERPC64.
25822 (decrement_and_branch_on_count): Add 64-bit variant.
25824 Mon Jul 19 09:36:27 1999 Bernd Schmidt <bernds@cygnus.co.uk>
25826 * final.c (output_asm_insn): When searching for the matching string
25827 for a given dialect, don't run past the end of the list of
25828 alternatives if there are fewer alternatives in the template than
25831 1999-07-17 Alexandre Oliva <oliva@dcc.unicamp.br>
25833 * gcc.texi: Update e-mail addresses and URLs to gcc.gnu.org.
25834 Removed paragraph about compression of files and size limitation,
25835 duplicated in the FAQ. Use gcc-patches for posting patches.
25836 * gcc.c (main): Updated URL with bug reporting instructions to
25837 gcc.gnu.org. Removed e-mail address.
25838 * system.h (abort): Likewise.
25840 1999-07-17 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
25842 * Makefile.in (stmp-multilib-sub): Make the files extracted
25843 from $(LIBGCC1) writable.
25845 Sat Jul 17 14:25:46 1999 Nick Clifton <nickc@cygnus.com>
25847 * config/arm/aout.h: Reformat for improved readability.
25849 * config/arm/arm.h: Reformat for improved readability.
25850 Replace uses of fprintf with asm_fprintf where appropriate.
25851 (ARM_DECLARE_FUNCTION_NAME): New macro: Perform any generic ARM
25852 function declaration assembler actions.
25853 (NUM_INTS): New macro: Convert from bytes to words.
25854 (NUM_REGS): New macro: Compute number of registers required to
25855 hold a quanitity of tyep MODE.
25856 (NUM_REGS2): New macro: Like NUM_REGS but also copes with BLKmode
25858 (NUM_ARG_REGS): New macro: The number of argument registers
25860 (ARG_REGISTER): New macro: Compute the register number of the Nth
25862 (LAST_ARG_REGNUM): New macro: The number of the last argument
25864 (SP_REGNUM): New macro: Register number of the stack pointer.
25865 (FP_REGNUM): New macro: Register number of the frame pointer.
25866 (FUNCTION_ARG, FUNCTION_ARG_PARTIAL_NREGS, INIT_CUMULATIVE_AGS,
25867 FUNCTION_ARG_ADVANCE, SETUP_INCOMING_VARARGS): Change
25868 CUMULATIVE_ARGS so that it counts registers not bytes.
25870 * config/arm/arm.c: Rename TARGET_THUMB_INTERWORK to
25872 Replace uses of fprintf with asm_fprintf where appropriate.
25873 (output_ascii_pseudo_op): Replace with version from thumb.c
25875 * config/arm/coff.h (ASM_FILE_START): Emit ASM_APP_OFF.
25877 * config/arm/elf.h (CPP_PREDEFINES): Replace with
25878 SUBTARGET_CPP_SPEC.
25879 (ASM_DECLARE_FUNCTION_NAME): Use ARM_DECLARE_FUNCTION_NAME.
25880 (ASM_FILE_START): Emit ASM_APP_OFF.
25882 Fri Jul 16 13:48:09 1999 Jeffrey A Law (law@cygnus.com)
25884 * pa.c (compute_frame_size): Round frame according to
25885 STACK_BOUNDARY rather than a hardwired value.
25887 * pa.h (POINTER_SIZE, PARM_BOUNDARY): Define in terms of BITS_PER_WORD.
25889 * configure.in (hppa*-*-hpux11*): Use symbolic MASK_PA_11 instead
25891 * configure: Rebuilt.
25893 * configure.in (hppa*-*-linux*): New configuration.
25894 * configure: Rebuilt.
25895 * pa.h (MAX_OFILE_ALIGNMENT): Delete.
25896 * pa/som.h (MAX_OFILE_ALIGNMENT): Define.
25897 * pa/pa-linux.h: New file.
25898 * pa/t-linux: New file.
25899 * pa/xm-linux.h: New file.
25901 * pa.c (hppa_legitimize_address): Change references from SImode to
25902 either Pmode or word_mode as appropriate.
25903 (emit_move_sequence, store_reg, load_reg): Likewise.
25904 (set_reg_plus_d, hppa_expand_prologue): Likewise.
25905 (output_mul_insn): Likewise.
25906 * pa.h (PROMOTE_MODE): Likewise.
25907 (INITIALZE_TRAMPOLINE): Likewise.
25908 (Pmode): Define to word_mode.
25910 * pa.c (compute_frame_size): Use UNITS_PER_WORD instead of hardwired
25911 value of 4. Allocate 8 bytes for each FP register save.
25912 (hppa_expand_epilogue): Use UNITS_PER_WORD instead of harwarewired
25914 (hppa_expand_prologue): Likewise.
25915 * pa.h (PROMOTE_MODE): Likewise.
25916 (HARD_REGNO_MODE_OK, FUNCTION_ARG_SIZE): Likewise.
25917 (FUNCTION_ARG_BOUNDARY): Likewise.
25919 * invoke.texi (HPPA Options): Remove -mspace/-mno-space.
25921 * pa.c (out_of_line_prologue_epilogue): Delete.
25922 (override_options): Remove -mspace related code.
25923 (hppa_expand_prologue, hppa_expand_epilogue): Likewise.
25924 (compute_frame_size): Only allocate space for register that
25925 actually need to be saved.
25926 * pa.h (MASK_SPACE, TARGET_SPACE): Delete.
25927 (TARGET_SWITCHES): Remove -mspace, -mno-space
25928 * pa/t-pa (LIB2FUNCS_EXTRA): Remove ee.asm and ee_fp.asm
25929 * pa/t-pro (LIB2FUNCS_EXTRA): Likewise. Remove -mspace multilib.
25930 * pa/ee.asm, pa/ee_fp.asm: Delete.
25932 * pa/elf.h (ASM_OUTPUT_DOUBLE_INT): Define.
25934 * config/svr4.h (CONST_SECTION_ASM_OP): Do not emit assembler
25935 directive in column zero.
25937 Fri Jul 16 01:39:57 1999 Jeffrey A Law (law@cygnus.com)
25939 * m68k.c (output_function_prologue): Fix computation of save mask
25940 when generating PIC code.
25942 Thu Jul 15 15:40:09 1999 Jim Wilson <wilson@cygnus.com>
25944 * tree.c (build_type_attribute_variant): Move current_obstack restore
25945 after build_qualified_type call.
25947 1999-07-15 Mark Mitchell <mark@codesourcery.com>
25949 * configure.in: Use t-iris6, even with GNU LD.
25950 * config/mips/iris6gld.h: Fix typo in linker spec.
25951 * config/mips/t-iris6gld: Remove.
25953 Thu Jul 15 15:15:43 1999 David Edelsohn <edelsohn@gnu.org>
25955 * rs6000.md (insv, extzv): Remove SImode dependence in named
25956 patterns. Explicitly generate DImode RTL if PowerPC64 and
25958 (insvdi): Reverse start and size in instruction template.
25960 1999-07-12 Joseph S. Myers <jsm28@cam.ac.uk>
25962 * invoke.texi: Typo fixes.
25964 Wed Jul 14 23:28:06 1999 Jeffrey A Law (law@cygnus.com)
25966 * emit-rtl.c (gen_realpart): Issue an error for cases GCC can not
25967 handle at this time instead of silently generating incorrect code.
25968 (gen_imagpart): Likewise.
25970 * reload.c (find_reloads): Emit a USE for a pseudo register without
25971 a hard register if we could not create an optional reload for the
25974 Wed Jul 14 23:45:48 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
25976 * c-typeck.c (output_init_element, process_init_element):
25977 When advancing constructor_unfilled_fields for a RECORD_TYPE,
25978 check for nameless bit fields.
25980 Wed Jul 14 01:57:39 1999 Richard Henderson <rth@cygnus.com>
25982 * regclass.c (scan_one_insn): Notice subregs that change the
25983 size of their operand.
25984 (record_reg_classes): Use that to obey CLASS_CANNOT_CHANGE_SIZE.
25986 Wed Jul 14 01:41:42 1999 Jeffrey A Law (law@cygnus.com)
25988 * configure.in (alpha*-*-*): Include alpha/t-ieee.
25989 * configure: Rebuilt.
25990 * alpha/t-ieee: New file.
25992 Tue Jul 13 10:45:58 1999 Jeffrey A Law (law@cygnus.com)
25994 * rs6000.c (find_addr_reg): Do not select r0 as an address
25997 Tue Jul 13 00:46:18 1999 Philippe De Muyter <phdm@macqel.be>
25999 * m68k/x-mot3300 (XCFLAGS): List of big files now includes `cse.o'.
26001 Mon Jul 12 14:29:15 1999 Jeffrey A Law (law@cygnus.com)
26003 * rs6000.md (movsf): Do not force easy FP constants into memory.
26005 * expr.c (expand_expr, case PLUS_EXPR): Pass constants through
26006 immed_double_const to ensure they are properly truncated then
26009 Mon Jul 12 10:40:01 1999 Vladimir Makarov <vmakarov@tofu.to.cygnus.com>
26011 * config/arm/thumb.c (thumb_reorg): Call replace_symbols_in_block
26012 always unless NO_DEBUG is used. Compile this code
26014 (replace_symbols_in_block): Compile it unconditionally.
26016 Sun Jul 11 12:32:32 1999 Jeffrey A Law (law@cygnus.com)
26018 * configure.in (i?86-*-elf*): New target.
26019 * configure: Rebuilt.
26020 * i386/i386elf.h, i386/t-i386elf: New files.
26022 Fri Jul 9 22:39:44 1999 Jason Merrill <jason@yorick.cygnus.com>
26024 * toplev.c (main): Don't complain about saying -gdwarf.
26025 (rest_of_compilation): Remove redundant code.
26027 Fri Jul 9 19:08:55 1999 Jim Wilson <wilson@cygnus.com>
26029 * unroll.c (unroll_loops): Don't delete named CODE_LABELs.
26031 Fri Jul 9 18:54:18 1999 Felix Lee <flee@cygnus.com>
26033 * config/i960/i960.c (ret_label): Change asm label from "LR:" to
26034 "Li960R:", to avoid name clash.
26036 Fri Jul 9 10:48:28 1999 Bernd Schmidt <bernds@cygnus.co.uk>
26038 * loop.c (check_dbra_loop): When reversing a loop, delete all
26039 REG_EQUAL notes referencing the reversed biv except those which are
26040 for a giv based on it.
26042 Fri Jul 9 03:51:52 1999 Jeffrey A Law (law@cygnus.com)
26044 * version.c: Drop "gcc-" prefix from version #.
26046 Thu Jul 8 18:06:30 1999 Jason Merrill <jason@yorick.cygnus.com>
26048 * dwarf2out.c (dwarf2out_line): Emit a line number comment after
26049 the label if we're being verbose.
26051 Thu Jul 8 14:18:46 1999 Richard Henderson <rth@cygnus.com>
26053 * m68k.c (output_function_prologue): Add pic register to mask
26054 if live and flag_pic.
26055 (output_function_epilogue): Likewise.
26057 Thu Jul 8 12:55:12 1999 Jeffrey A Law (law@cygnus.com)
26059 * dbxelf.h (ASM_OUTPUT_SOURCE_LINE): Do not put assembler
26060 directives in column zero.
26062 * pa/elf.h (ASM_FILE_START): Define.
26063 * pa/som.h (ASM_FILE_START): Include .level directives.
26064 * pa/hpux10.h (ASM_FILE_START): Delete.
26065 * pa/hpux11.h (ASM_FILE_START): Delete.
26067 * pa/elf.h (BSS_SECTION_ASM_OP): Use .section .bss.
26069 Thu Jul 8 18:03:19 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
26071 * reload1.c (choose_reload_regs): Never call remove_adress_replacements
26072 when reload_out equals reload_in.
26074 Thu Jul 8 16:50:14 1999 Nick Clifton <nickc@cygnus.com>
26076 * invoke.texi (Spec Files): New node: Describe the contents of
26079 Thu Jul 8 10:28:25 1999 Craig Burley <craig@jcb-sc.com>
26081 * invoke.texi (DEC Alpha Options): Put @end table at
26082 beginning of line, to avoid confusing texi2html.
26084 Thu Jul 8 09:22:06 1999 Nick Clifton <nickc@cygnus.com>
26086 * config/arm/elf.h (ASM_OUTPUT_INTERNAL_LABEL): Fixed typo
26087 introduced in previous delta.
26089 Wed Jul 7 02:00:04 1999 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
26091 * reload1.c (gen_reload): When synthesizing a 3 operand add
26092 sequence, improve test for when to reload OP1 into the reload
26093 register instead of OP0.
26095 Wed Jul 7 01:38:03 1999 Jim Wilson <wilson@cygnus.com>
26097 * unroll.c (unroll_loop): Don't delete NOTE_INSN_DELETED_LABEL notes.
26099 1999-07-07 Manfred Hollstein <mhollstein@cygnus.com>
26101 * m88k/dguxbcs.h (CPP_SPEC): Add missing \ in multi-line
26104 Wed Jul 7 01:16:43 1999 Richard Henderson <rth@cygnus.com>
26106 * ginclude/varargs.h (__builtin_va_alist_t): New typedef.
26107 (va_dcl): Use __builtin_va_alist_t.
26109 Wed Jul 7 01:14:42 1999 Jason Merrill <jason@yorick.cygnus.com>
26111 * dwarf2out.c (gen_struct_or_union_type_die): Only remember types
26112 on the permanent_obstack.
26113 * dwarfout.c (output_type): Likewise.
26115 Tue Jul 6 15:25:32 1999 Gavin Romig-Koch <gavin@cygnus.com>
26117 * c-common.c (unsigned_type,signed_type,signed_or_unsigned_type) :
26118 Merged from c-typeck.c and cp/typeck.c.
26119 * c-typeck.c (unsigned_type,signed_type,signed_or_unsigned_type) :
26120 Merged into c-common.
26122 Tue Jul 6 13:06:01 1999 Dave Brolley <brolley@cygnus.com>
26124 * c-lex.c (errorcount): Declare it.
26125 (finish_parse): Update errorcount when using CPPLIB.
26127 1999-07-06 Bruce Korb <ddsinc09@ix.netcom.com>
26129 * fixinc/inclhack.def(end_else_label): Double the backslash so
26130 sed gets a chance to see it.
26131 * fixinc/inclhack.sh: regen
26132 * fixinc/fixincl.x: regen
26134 Fri Jul 2 18:49:51 1999 Nick Clifton <nickc@cygnus.com>
26136 Add framework to support armv5 architecture when it becomes
26139 * config/arm/arm.c (FL_ARCH5): New processor capability flag.
26140 (arm_arch5): New variable.
26141 (all_architectures): Add armv5 line.
26142 * config/arm/arm.h (CPP_CPU_ARCH_SPEC): Define __ARM_ARCH_5__ if
26143 -march=armv5 is specified on the command line.
26144 (arm_arch5): Export this variable.
26145 * invoke.texi: Document new string accepted by -march= switch for
26148 * config/arm/arm.h: Replace use of constant 12 as a register
26149 number with IP_REGNUM. Similarly 14 and LR_REGNUM.
26150 * config/arm/arm.c: Replace use of constant 12 as a register
26151 number with IP_REGNUM. Similarly 14 and LR_REGNUM.
26153 * config/arm/elf.h: Tidy up.
26154 * config/arm/coff.h: Tidy up.
26156 Thu Jul 1 19:08:13 1999 Mark P. Mitchell <mark@codesourcery.com>
26158 * gcc/configure.in (mips-sgi-irix6*): Handle --with-gnu-ld.
26159 * gcc/config/mips/t-iris6gld: New file.
26160 * gcc/config/mips/iris6gld.h: Likewise.
26162 Fri Jul 2 13:23:39 1999 Gavin Romig-Koch <gavin@cygnus.com>
26164 * c-decl.c (widest_integer_literal_type_node,
26165 widest_unsigned_literal_type) : New.
26166 (init_decl_processing): Handle/use the two new types.
26167 * c-common.c (type_for_size,type_for_mode) : Same.
26168 * c-lex.c (yylex) : Same.
26169 * c-typeck.c (unsigned_type,signed_type,signed_or_unsigned_type) :
26171 * c-tree.h (widest_integer_literal_type_node,
26172 widest_unsigned_literal_type) : New.
26174 Fri Jul 2 03:05:44 1999 Jeffrey A Law (law@cygnus.com)
26176 * dwarfout.c (field_byte_offset): Correctly compute the object's
26177 byte offset for the first bit of a field which crosses an alignment
26178 boundary on a !BYTES_BIG_ENDIAN target.
26180 Fri Jul 2 01:36:36 1999 Robert Lipe <robertlipe@usa.net>
26182 * fixinc.svr4: Fix <arpa/inet.h> by deleting protos for htons and
26185 Fri Jul 2 00:46:47 1999 Richard Henderson <rth@cygnus.com>
26186 Jeff Law <law@cygnus.com>
26188 * ginclude/varargs.h (va_dcl): Use word_mode for type of
26191 * except.c: Include intl.h.
26192 (expand_eh_return): Set current_function_cannot_inline.
26193 (save_eh_status, restore_eh_status): Twiddle eh_return_stub_label.
26194 * function.h (struct function): Add eh_return_stub_label.
26195 * flow.c (delete_unreachable_blocks): Don't merge across EH edges.
26196 * Makefile.in (except.o): Depend on intl.h.
26198 Fri Jul 2 00:04:23 1999 David Edelsohn <edelsohn@gnu.org>
26200 * rs6000.md (movdf_hardfloat32): Handle PRE_INC and PRE_DEC the
26201 same as offsettable in cases 1 and 2.
26203 Thu Jul 1 20:54:10 1999 Richard Henderson <rth@cygnus.com>
26205 * alpha.md (extqh): Define as 64-((R&7)*8) instead of 56-(((R-1)&7)*8).
26206 (extlh, extwh): Likewise.
26208 Thu Jul 1 11:05:25 1999 Gavin Romig-Koch <gavin@cygnus.com>
26210 * c-lex.c (yylex): Improve 'integer constant out of range' messages.
26212 Wed Jun 30 16:51:41 1999 Nick Clifton <nickc@cygnus.com>
26214 * configure.in: Add arm-pe and thumb-pe targets.
26215 * configure: Regenerate.
26217 * thumb.c (arm_naked_function_p): New function: Determines if
26218 a function is naked (has no gcc generated prologue/epilogue).
26219 (is_called_in_ARM_mode): Return true if the func has the
26220 interfacearm attribute.
26221 (output_return): Do not generate a return for naked functions.
26222 (thumb_function_prologue): Do not generate a prologue for
26224 (thumb_expand_prologue): Do not generate a prologue for naked
26226 (thumb_expand_epilogue): Do not generate an epilogue for naked
26228 (arm_valid_machine_decl_attribute): New function, copied from
26229 arm.c: Permit naked and interfacearm attributes.
26231 * config/arm/pe.c: New file: Support code for arm-pe target.
26232 * config/arm/pe.h: New file: Header file for arm-pe target.
26233 * config/arm/tpe.h: New file: Header file for thumb-pe target.
26234 * config/arm/t-thumb-pe: New file: Makefile fragment for
26237 1999-07-01 Mark Kettenis <kettenis@gnu.org>
26239 * config/i386/gnu.h (CPP_SPEC): Define __PIC__ and __pic__ if
26240 -fPIC or -fpic is specified.
26242 Wed Jun 30 03:31:54 1999 Jeffrey A Law (law@cygnus.com)
26244 * expr.c (emit_block_move): Use copy_to_mode_reg for
26245 !TARGET_MEM_FUNCTIONS case too.
26247 * configure.in (hppa*-*-*): Add som.h or elf.h to tm_file as
26249 * configure: Rebuilt.
26250 (hppa1.1-*-pro*, hppa1.1-*-rtems*): Define target_cpu_default.
26251 * pa.h: Include dbxelf.h. Delete various dbx/stabs related
26252 definitions made redundant by dbxelf.h inclusion. Delete
26253 lots of definitions related to assembly output that are
26254 specific to the SOM object format.
26255 * pa.c (output_function_prologue): Do not emit the function's
26257 * pa-pro-end.h (STARTFILE_SPEC): Undefine before redefining.
26258 * pa-pro.h: Deleted.
26259 * som.h: New file with SOM specific definitions.
26260 * elf.h: New file with ELF specific definitions.
26262 * elfos.h (const_section): Output a tab before assembler directives.
26263 (ctors_section, dtors_section): Likewise.
26264 (ASM_OUTPUT_SECTION_NAME): Likewise.
26266 * pa/pa1.h: Delete unused file.
26268 Tue Jun 29 01:37:53 1999 Jeffrey A Law (law@cygnus.com)
26270 * configure.in (hppa*-hp-hpux11*): New configuration.
26271 * configure: Rebuilt.
26272 * pa/pa-hpux11.h: New file.
26273 * pa.h (CPP_SPEC): Conditionally add -D__STDC_EXT__ to the cpp
26276 * mips.md (leasi, leadi): New patterns.
26278 * expr.c (emit_block_move): Properly handle case where one of the
26279 block move arguments has a queued increment or decrement.
26280 (clear_storage): Similarly. Fix formatting goof.
26282 1999-06-28 "David O'Brien" <obrien@NUXI.com>
26284 * fixinc/inclhack.def(stdio_va_list): This patch Removes a
26285 semicolon from the BSD VA_LIST replacement expression.
26287 * fixinc/inclhack.sh: regen
26288 * fixinc/fixincl.x: regen
26290 * fixinc/mkfixinc.sh: Have `i[34567]86-*-freebsd*' machines
26291 now use the fixincl program.
26293 Mon Jun 28 05:28:12 1999 Jeffrey A Law (law@cygnus.com)
26295 * m68k.h (CONDITIONAL_REGISTER_USAGE): Define for !SUN_FPA
26296 case. Also make the PIC register call_used.
26298 * m68k.h (FINALIZE_PIC): Delete.
26299 * m68k.c (finalize_pic): Delete.
26301 Mon Jun 28 05:16:35 1999 Richard Henderson <rth@cygnus.com>
26303 * m68k.h (PREFERRED_RELOAD_CLASS): Don't force any FP const_doubles
26306 Mon Jun 28 04:07:27 1999 David Edelsohn <edelsohn@gnu.org>
26308 * expmed.c (expand_divmod): Ensure unsigned value fits in reg_note.
26310 Sun Jun 27 02:39:08 1999 Richard Henderson <rth@cygnus.com>
26312 * jump.c (jump_optimize_1): Validate the cmov copy to a temporary.
26314 Sat Jun 26 17:18:18 1999 David Edelsohn <edelsohn@gnu.org>
26316 * rs6000.c (print_operand, case 'L'): Use plus_constant_for_output.
26318 Fri Jun 25 11:33:24 1999 Richard Henderson <rth@cygnus.com>
26320 * alpha.c (override_options): Add -mcpu=ev45 as an alias for ev4.
26322 Fri Jun 25 13:41:25 1999 David Edelsohn <edelsohn@gnu.org>
26324 * rs6000.c (output_toc): Always use hex values for floating-point
26325 constants. Store single-precision values in upper-half of TOC
26326 entry in 64-bit mode.
26327 * rs6000.md (floatsidf2, floatunssidf2): Add !TARGET_POWERPC64
26328 to final constraints.
26329 (fix_truncdfsi2 splitter): Change pattern matching fctiwz.
26330 (fctiwz): Improve accuracy of RTL for pattern.
26332 Fri Jun 25 11:26:38 1999 Gavin Romig-Koch <gavin@cygnus.com>
26334 * expr.c (expand_expr): Allow RTL_EXPR's through the
26335 MAX_INTEGER_COMPUTATION_MODE checks.
26337 Fri Jun 25 06:06:37 1999 Richard Henderson <rth@cygnus.com>
26339 * alpha.h (MASK_SUPPORT_ARCH, MASK_CPU_EV5, MASK_CPU_EV6): Define
26340 such that MASK_SUPPORT_ARCH is not negative.
26342 Fri Jun 25 05:35:44 1999 Jeffrey A Law (law@cygnus.com)
26344 * loop.c (verify_dominator): Properly handle ADDR_VEC and
26345 ADDR_DIFF_VEC insns that appear inside loops.
26347 Thu Jun 24 22:54:05 1999 David Edelsohn <edelsohn@gnu.org>
26348 Jeff Law <law@cygnus.com>
26350 * rs6000.md (movdf_hardfloat32): Revert previous patch.
26351 Handle LO_SUM the same as offsettable in cases 1 and 2.
26352 * rs6000.c (find_addr_reg): Revert previous patch.
26354 Thu Jun 24 22:43:12 1999 Philippe De Muyter <phdm@macqel.be>
26356 * system.h (strstr): New external function declaration.
26357 * acconfig.h (NEED_DECLARATION_STRSTR): New define slot.
26358 * configure.in (GCC_NEED_DECLARATIONS): Check for strstr.
26359 * config.in, configure: Rebuilt.
26361 1999-06-24 Tom Tromey <tromey@cygnus.com>
26363 * gcc.c (main): Read user-specified specs files after computing
26364 additional startfile_prefixes.
26366 Thu Jun 24 15:00:47 1999 Mark Mitchell <mark@codesourcery.com>
26368 Revert these two patches:
26370 Thu Jun 17 21:34:24 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
26371 * loop.c (strength_reduce): When doing biv->giv conversion, update
26372 reg note of NEXT->insn.
26374 Thu Jun 17 17:22:07 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
26375 * loop.c (strength_reduce): When doing biv->giv conversion, fix up
26377 (recombine_givs): Set ix field after sorting.
26379 Wed Jun 23 21:26:00 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
26381 * rtlanal.c (reg_referenced_p): Use reg_overlap_mentioned_p
26382 for the parts of an UNSPEC / UNSPEC_VOLATILE.
26384 1999-06-23 Bruce Korb <ddsinc09@ix.netcom.com>
26386 *fixinc/inclhack.def: Add fix development commentary
26387 (read_ret_type): reactivate and add selection clause
26388 (zzz_*): tweak output file name to match what is used in hackshell.tpl
26389 *fixinc/{fixincl.x|inclhack.sh}: regen
26391 Wed Jun 23 00:48:21 1999 Jason Merrill <jason@yorick.cygnus.com>
26393 * expr.c (expand_expr): STRIP_NOPS before checking against
26394 MAX_INTEGER_COMPUTATION_MODE
26395 (check_max_integer_computation_mode): Likewise.
26397 Tue Jun 22 20:23:43 1999 Jim Wilson <wilson@cygnus.com>
26399 * md.texi (smul@var{m}3_highpart): Add missing 's' prefix.
26401 1999-06-22 Jim Wilson <wilson@cygnus.com>
26403 * expr.c (store_expr): When target is a promoted subreg, return a
26404 promoted subreg as a result.
26406 Tue Jun 22 17:14:58 1999 Michael Meissner <meissner@cygnus.com>
26408 * dwarf2out.c (dwarf2out_frame_debug_expr): Reformat to match GNU
26410 (dwarf2out_define): Mark unused parameters appropriately.
26411 (gen_unspecified_parameters_die): Ditto.
26412 (gen_subprogram_die): Fix signed/unsigned warnings.
26413 (gen_variable_die): Ditto.
26415 1999-06-22 Bruce Korb <ddsinc09@ix.netcom.com>
26417 * fixinc/inclhack.def(end_else_label): combined else_label
26418 and endif_label and fixed the sed expression.
26419 *fixinc/{fixincl.x|inclhack.sh}: regen
26421 Tue Jun 22 01:58:18 1999 Jeffrey A Law (law@cygnus.com)
26423 * rs6000.md (movdf_hardfloat32): Use %X instead of always emitting
26424 'x' when handling non-offsettable addresses
26426 Tue Jun 22 00:20:05 1999 Richard Earnshaw (rearnsha@arm.com)
26428 * final.c (shorten_branches): Don't try to split an insn that has
26431 Mon Jun 21 12:47:39 1999 Mark Mitchell <mark@codesourcery.com>
26433 * config/mips/mips.c (symbolic_expression_p): New function.
26434 (mips_select_rtx_section): Put symbolic expressions in the
26435 data section, not the read-only data section.
26437 Mon Jun 21 22:13:06 1999 Jeffrey A Law (law@cygnus.com)
26439 * rs6000.md (find_addr_reg): Handle LO_SUM addresses.
26441 Mon Jun 21 20:10:42 1999 Richard Henderson <rth@cygnus.com>
26443 * collect2.c (main): Log frame table count.
26444 (GCC_OK_SYMBOL) [ECOFF]: Accept stGlobal.
26445 (scan_prog_file) [COFF]: Handle frame tables.
26447 * alpha/alpha.h (UNALIGNED_SHORT_ASM_OP): Define.
26448 (UNALIGNED_INT_ASM_OP, UNALIGNED_DOUBLE_INT_ASM_OP): Define.
26449 * alpha/elf.h: Undef them again.
26450 * alpha/vms.h: Remove their definitions.
26452 Tue Jun 22 03:17:53 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
26454 * sh.c (machine_dependent_reorg): When fixing up fp pcloads,
26455 remove the clobber of r0 and change the REG_UNUSED note to
26458 1999-06-21 Jakub Jelinek <jj@ultra.linux.cz>
26460 * real.c (ereal_from_double): Fix for 64-bit big endian hosts.
26461 * emit-rtl.c (gen_lowpart_common): Add case for hosts where double
26462 fits in HOST_WIDE_INT and one uses union to access a long constant
26465 Mon Jun 21 17:18:25 1999 Richard Henderson <rth@cygnus.com>
26467 * sparc.c (sparc_override_options): Don't allow profiling for
26468 code models other than medlow.
26469 (sparc_function_profiler): New function from old FUNCTION_PROFILER
26470 macro. Use ASM_GENERATE_INTERNAL_LABEL and MCOUNT_FUNCTION.
26471 (sparc_function_block_profiler): Likewise. Use user_label_prefix.
26472 (sparc_block_profiler): Likewise.
26473 (sparc_function_block_profiler_exit): Likewise.
26474 * sparc.h (FUNCTION_PROFILER): Call new sparc.c function.
26475 (FUNCTION_BLOCK_PROFILER): Likewise.
26476 (BLOCK_PROFILER): Likewise.
26477 (FUNCTION_BLOCK_PROFILER_EXIT): Likewise.
26478 (MCOUNT_FUNCTION): New.
26479 * sparc/pbd.h (FUNCTION_PROFILER): Delete.
26480 (FUNCTION_BLOCK_PROFILER, BLOCK_PROFILER): Delete.
26481 * sparc/sun4o3.h (FUNCTION_PROFILER): Delete.
26482 (MCOUNT_FUNCTION): New.
26483 * sparc/sysv4.h (FUNCTION_BLOCK_PROFILER): Delete.
26484 (BLOCK_PROFILER): Delete.
26485 (MCOUNT_FUNCTION): New.
26487 Mon Jun 21 14:11:29 1999 David Edelsohn <edelsohn@gnu.org>
26489 * rs6000.md (movdf_hardfloat32): Fix typo in case 2.
26491 Mon Jun 21 12:27:17 1999 Vladimir Makarov <vmakarov@tofu.to.cygnus.com>
26493 * config/mips/elf.h (BSS_SECTION_ASM_OP, ASM_OUTPUT_ALIGNED_BSS):
26496 * config/m68k/m68kelf.h (BSS_SECTION_ASM_OP, ASM_OUTPUT_ALIGNED_BSS):
26499 * config/sh/sh.h (BSS_SECTION_ASM_OP, ASM_OUTPUT_ALIGNED_BSS):
26502 * config/arm/telf.h (BSS_SECTION_ASM_OP, ASM_OUTPUT_ALIGNED_BSS):
26505 Mon Jun 21 14:58:42 1999 Nick Clifton <nickc@cygnus.com>
26507 * config/arm/arm.h: Add cpp support for ARM920 and ARM920T cpu
26510 Mon Jun 21 06:22:21 1999 Mark Elbrecht <snowball3@bigfoot.com>
26512 * i386/djgpp.h (LIB_SPEC): New.
26513 (STARTFILE_SPEC): New.
26515 * i386/xm-djgpp.h (NO_SYS_SIGLIST): Deleted. Now obsolete.
26517 Mon Jun 21 06:19:33 1999 Philippe De Muyter <phdm@macqel.be>
26519 * fixinc/Makefile.in (gnu-regex.o): Do not define STDC_HEADERS in
26522 * system.h (WSTOPSIG): New macro.
26524 Mon Jun 21 05:33:15 1999 Mumit Khan <khan@xraylith.wisc.edu>
26526 * c-pragma.c (push_alignment): Don't ignore alignments greater than
26528 (insert_pack_attributes): Take into account member natural
26531 * i386/winnt.c (exports_head): New static variable.
26532 (i386_pe_record_exported_symbol): New function.
26533 (i386_pe_asm_file_end): Use.
26534 * i386/cygwin.h (ASM_OUTPUT_COMMON): Record the exported
26535 symbols to be emitted at end of assembly.
26536 (ASM_DECLARE_OBJECT_NAME): Likewise.
26537 (ASM_DECLARE_FUNCTION_NAME): Likewise.
26539 * i386/uwin.h (CPP_SPEC): Use -idirafter instead -iprefix and
26542 Mon Jun 21 04:44:31 1999 Jeffrey A Law (law@cygnus.com)
26544 * sparc.h (LEGITIMIZE_RELOAD_ADDRESS): Fix paren error introduced
26547 Sun Jun 20 17:27:20 1999 Richard Henderson <rth@cygnus.com>
26549 * haifa-sched.c (sched_analyze_1): Use free_list instead of
26550 zapping reg_last_uses directly.
26551 (sched_analyze_2, sched_analyze_insn): Likewise.
26552 (sched_analyze): Likewise. Don't clear reg_last_uses on calls.
26554 Sun Jun 20 16:57:29 1999 David Edelsohn <edelsohn@gnu.org>
26556 * rs6000.md (movdf_hardfloat32): Use worst case insn length
26557 attributes for cases 1 and 2.
26559 Sat Jun 19 22:52:55 1999 Richard Henderson <rth@cygnus.com>
26561 * haifa-sched.c (sched_analyze): Mark call-user regs as clobbered
26564 Sat Jun 19 05:40:07 1999 Philip Blundell <pb@nexus.co.uk>
26566 * arm.c (arm_reload_in_hi): Invert sense of test on BYTES_BIG_ENDIAN.
26568 Sat Jun 19 05:25:05 1999 Richard Earnshaw (rearnsha@arm.com)
26570 * arm.h (CONDITIONAL_REGISTER_USAGE): If flag_pic, never use
26571 PIC_OFFSET_TABLE_REGNUM for general alloaction.
26572 (INITIAL_ELIMINATION_OFFSET): Count the fact that the PIC register
26573 must be stacked if it is used for PIC accesses.
26574 * arm.c (use_return_insn): Handle PIC register specially.
26575 (output_return_instruction): Likewise.
26576 (output_func_{prologue,epilogue}): Likewise.
26577 (output_expand_prologue): Likewise.
26579 * arm.md (*adddf_esfdf_df): Renamed from *adddf_df_esfdf.
26580 (*strsi_predec): Renamed from *strqi_predec.
26581 (*loadsi_shiftpreinc): Renamed from *loadqi_shiftpreinc.
26582 (*loadsi_shiftpredec): Renamed from *loadqi_shiftpredec.
26584 * arm.c (arm_override_options): Remove warning about PIC code
26585 not being supported.
26587 Fri Jun 18 23:47:06 1999 David Edelsohn <edelsohn@gnu.org>
26589 * rs6000.c (find_addr_reg): New function.
26590 * rs6000.h (find_addr_reg): Declare.
26591 (offsettable_addr_operand): Delete.
26592 * rs6000.md (movdf_hardfloat32): Handle non-offsettable loads
26593 from and stores to GPRs.
26595 Fri Jun 18 15:44:18 1999 Richard Henderson <rth@cygnus.com>
26597 * alpha.c (alpha_expand_block_move): Use get_insns rather than
26598 gen_sequence as argument to emit_no_conflict_block.
26600 Fri Jun 18 07:02 1999 Bruce Korb <ddsinc09@ix.netcom.com>
26602 * fixinc/mkfixinc.sh: enable the fixincl program for DG/UX
26603 * fixinc/inclhack.def(dgux_int_varargs): script must end with \n
26604 *fixinc/fixincl.x: regen
26605 *fixinc/inclhack.sh: regen
26607 Thu Jun 17 15:06:10 PDT 1999 Don Lindsay <dlindsay@cygnus.com>
26609 * added support for -mpcrel (PC relative addressing for m68k)
26610 based on code done by Michael Tiemann <tiemann@axon.cygnus.com>.
26611 * invoke.texi (m68000 options): Add documentation for -mpcrel flag.
26612 * m68k.c (print_operand_address): Handle 32-bit PIC case.
26613 (comments for general_src_operand): Add some explanation
26614 about EXTRA_CONSTRAINTS.
26615 (OVERRIDE_OPTIONS): Enable -fPIC in combination with -mpcrel.
26616 * m68kelf.h (OVERRIDE_OPTIONS): Ditto.
26617 (LEGITIMATE_PIC_OPERAND_P): Fix typo.
26618 (LEGITIMATE_PIC_OPERAND_P): Re-derive from m68k.h case.
26619 * m68k.h (LEGITIMATE_PIC_OPERAND_P): Fix delete-o.
26620 (INDIRECTABLE_1_ADDRESS): Delete spurious '/' at end of macro.
26621 (OVERRIDE_OPTIONS): Change behavior so that -mpcrel implies -fpic
26622 if not already set.
26623 (OVERRIDE_OPTIONS): Merge in changes from m68k.h.
26624 * m68k.h (TARGET_PCREL): New target flag.
26625 (TARGET_SWITCHES): Add "pcrel" as a recognized switch.
26626 (OVERRIDE_OPTIONS): Add checks for -mpcrel.
26627 (LEGITIMATE_PIC_OPERAND_P): Don't normally accept anything that
26628 contains a SYMBOL_REF. Relax this constraint during reload, since
26629 we want to use the predicates, not reload's built-in concept of a
26630 valid memory address, to control what insns need reloading.
26631 (EXTRA_CONSTRAINT): Define constraints to accept pc-relative
26632 operands (essentially 'g', 'm', and 's' under normal circumstances).
26633 * m68k.c (print_operand): Cause printing of pc-relative addresses
26634 to include pc register.
26635 (print_operand_address): Ditto.
26636 (general_src_operand): Accept operands that are not only
26637 general_operands, but are also valid when used as a pc-relative
26639 (nonimmediate_src_operand): Similar, for nonimmediate_operands.
26640 (memory_src_operand): Similar, for memory_operands.
26641 (pcrel_address): New predicate to accept the special case of a
26642 pc-relative address.
26643 * m68k.md (many patterns): Rewrite common SImode, HImode, and
26644 QImode insns to accept *_src_operand instead of *_operand where
26645 pc-relative operands can fit. For example, a pc-relative operand
26646 can be used as a memory source operand for addsi3, but not as a
26647 memory destination.
26648 * hp320.h linux.h m68kv4.h (LEGITIMATE_PIC_OPERAND_P) as in m68k.h.
26650 Fri Jun 18 09:11:07 1999 Nick Clifton <nickc@cygnus.com>
26652 * config/arm/telf.h (ASM_OUTPUT_DEF_FROM_DECLS): New Marco: USe
26653 .thumb_set pseudo op to mark aliases of thumb functions.
26655 Wed Jun 16 18:19:13 1999 Nick Clifton <nickc@cygnus.com>
26657 * varasm.c (assemble_alias): Use ASM_OUTPUT_DEF_FROM_DECLS in
26658 preference to ASM_OUTPUT_DEF, if it is defined.
26660 * tm.texi: Document new, optional target macro
26661 ASM_OUTPUT_DEF_FROM_DECLS.
26663 Thu Jun 17 15:07 1999 Bruce Korb <ddsinc09@ix.netcom.com>
26665 * fixincludes: ISCNTL patch
26666 * fixinc/inclhack.def (ioctl_fix_ctrl): Fix the definition of [_]*ISCTRL().
26667 (dgux_int_varargs): new for DG/UX
26668 * fixinc/{fixincl.x,inclhack.sh}: Regenerated.
26670 Thu Jun 17 21:34:24 1999 Jeff Law <law@cygnus.com>
26672 * invoke.texi (ia32 options): Fix typo.
26674 Thu Jun 17 21:34:24 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
26676 * loop.c (strength_reduce): When doing biv->giv conversion, update
26677 reg note of NEXT->insn.
26679 Thu Jun 17 14:25:08 1999 Jeffrey A Law (law@cygnus.com)
26681 * loop.c (move_movables): Note issues with replacing REGs with
26683 * mips.h (GO_IF_LEGITIMATE_ADDRESS): Handle SUBREGs properly.
26685 Thu Jun 17 13:28:30 1999 David O'Brien <obrien@FreeBSD.org>
26687 * i386/freebsd-elf.h (LINK_SPEC): Fix typo.
26689 * i386/freebsd-elf.h (FUNCTION_PROFILER): labels are not needed and
26690 the reference to `mcount' was not correct for the ELF on FreeBSD.
26692 Thu Jun 17 17:22:07 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
26694 * loop.c (strength_reduce): When doing biv->giv conversion, fix up
26697 (recombine_givs): Set ix field after sorting.
26699 Thu Jun 17 02:54:30 1999 Jeffrey A Law (law@cygnus.com)
26701 * emit-rtl.c (operand_subword): Tighten checks for when it is safe
26702 to safe to extract a subword out of a REG.
26704 Thu Jun 17 01:45:24 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
26706 * sh.md (mulsi3): Don't add a no-op move at the end.
26708 Wed Jun 16 20:29:00 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
26710 * cse.c (cse_insn): Don't put hard register source into tables for
26711 the last insn of a libcall.
26713 Wed Jun 16 19:44:33 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
26715 * loop.c (strength_reduce): Insert sets of derived givs at every
26716 biv increment, even if it's the only one.
26718 Wed Jun 16 10:33:02 1999 Jason Merrill <jason@yorick.cygnus.com>
26720 * dwarfout.c (add_incomplete_type): New fn.
26721 (output_type): Call it.
26722 (retry_incomplete_types): New fn.
26723 (dwarfout_finish): Call it.
26725 From Eric Raskin <ehr@listworks.com>:
26726 (output_type): Output types for bases.
26728 Tue Jun 15 12:51:23 1999 Alexandre Oliva <oliva@dcc.unicamp.br>
26730 * mips.c (mips_output_conditional_branch): Add `break'
26731 between `default' label and `close braces'.
26733 Tue Jun 15 01:55:20 1999 David O'Brien <obrien@FreeBSD.org>
26735 * i386/freebsd-elf.h (LINK_SPEC): clean up the linking library
26736 specifications and make it realistic.
26737 (LIB_SPEC): Likewise.
26739 Mon Jun 14 15:38:43 1999 Jim Wilson <wilson@cygnus.com>
26741 * config/mips/mips.c (mips_secondary_reload_class): Check for
26742 (PLUS (SP) (REG)) and return appropriate register class.
26743 * config/mips/mips.md (reload_insi): Delete predicate for operand 1.
26744 Handle (PLUS (SP) (REG)).
26745 (tablejump): In mips16 code, use emit_insn instead of emit_jump_insn.
26746 (tablejump_mips161, tablejump_mips162): Use emit_jump_insn instead
26747 of emit_insn for tablejump.
26749 Mon Jun 14 17:26:40 1999 David Edelsohn <edelsohn@gnu.org>
26751 * rs6000.c (output_prolog): RS6000_CALL_GLUE must be
26752 asm_fprintf format string by itself.
26753 (output_function_profiler): Likewise.
26755 Mon Jun 14 12:57:38 1999 David Mosberger <davidm@hpl.hp.com>
26757 * combine.c (simplify_logical, case AND): Only call
26758 simplify_and_const_int if the mode is no wider than HOST_WIDE_INT
26759 or the constant is positive.
26761 Mon Jun 14 11:43:41 1999 Nick Clifton <nickc@cygnus.com>
26763 * configure.in: Fix typo in rs6000-ibm-aix4 case.
26764 * configure: Regenerate.
26766 Mon Jun 14 03:55:40 1999 Jeffrey A Law (law@cygnus.com)
26768 * configure.in (rs6000-ibm-aix4.3*, powerpc-ibm-aix4.3*): Do not
26769 require a sub-version #.
26770 * configure: Rebuilt.
26772 1999-06-14 Robert Lipe (robertlipe@usa.net)
26774 * svr4.h (DWARF2_DEBUGGING_INFO): Check for redefinition.
26776 Mon Jun 14 10:30:52 BST 1999 Nathan Sidwell <nathan@acm.org>
26778 * c-typeck.c (process_init_element): Detect excess elements in
26779 char array initializer.
26781 1999-06-14 Andreas Jaeger <aj@arthur.rhein-neckar.de>
26783 * gcc.texi: Mention gcc 2.96 instead of egcs 1.00.
26785 Sat Jun 12 22:29:48 EDT 1999 Jerry Quinn <jquinn@nortelnetworks.com>
26787 * invoke.texi (Option Summary): Add -fpermissive flag.
26789 Sat Jun 12 03:40:42 1999 Jeffrey A Law (law@cygnus.com)
26791 * sparc.h (LEGITIMIZE_RELOAD_ADDRESS): Do nothing with operands
26792 that require PIC code sequences.
26794 Wed Jun 9 16:29:01 1999 Nick Clifton <nickc@cygnus.com>
26796 * configure.in: Add new target: thumb-elf.
26797 * configure: Regenerate.
26798 * config/arm/t-thumb-elf: New file: Makefile fragment for
26800 * config/arm/telf.h: New file: Header file for thumb-elf
26803 Fri Jun 11 03:17:51 1999 Jeffrey A Law (law@cygnus.com)
26805 * Makefile.in (libgcc2): Pass MAYBE_USE_COLLECT2 as an argument.
26806 * libgcc2.c (__CTOR_LIST, __DTOR_LIST); Do not provide
26807 initializers is some circumstances.
26809 * fixinc/inclhack.def (endif_label): Add additional selector for
26810 more bogus stuff after #endif statements.
26811 * fixinc/inclhack.sh, fixinc/fixincl.x: Rebuilt.
26813 Thu Jun 10 20:44:36 1999 Mumit Khan <khan@xraylith.wisc.edu>
26815 * i386/cygwin.h (SET_ASM_OP): Define.
26817 Thu Jun 10 20:37:57 1999 Mumit Khan <khan@xraylith.wisc.edu>
26819 * reg-stack.c (stack_reg_life_analysis): Find all the RETURN insns.
26821 Thu Jun 10 19:23:00 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
26823 * sh.h (TARGET_HARWARD, TARGET_HARVARD): Changed the former to the
26826 * sh.md (ic_invalidate_line_i): Remove second alternative.
26828 Thu Jun 10 06:55 1999 Bruce Korb <ddsinc09@ix.netcom.com>
26830 *fixinc/inclhack.def(sun_auth_proto): We do not know how to
26831 test for the presence of valid prototypes. Delete bypass expr.
26832 (ioctl_fix_ctrl): Correct the selection expression.
26833 (no_double_slash): Correct quoting rules
26834 *fixinc/fixincl.x: regen
26835 *fixinc/inclhack.sh: regen
26837 Thu Jun 10 15:08:15 1999 Nick Clifton <nickc@cygnus.com>
26839 * config/arm/arm.c (struct all_cores): Add ARM920 and ARM920t.
26841 Wed Jun 9 15:57:57 1999 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
26843 * rs6000.md (movsi_got_internal_mem): Delete.
26844 * rs6000.h (CONDITIONAL_REGISTER_USAGE): Mark PIC_OFFSET_TABLE_REGNUM.
26845 (GOT_TOC_REGNUM): Delete.
26846 (PIC_OFFSET_TABLE_REGNUM): Define.
26847 (FINALIZE_PIC): Disable.
26848 * rs6000.c (rs6000_got_register): New code for fixed pic register.
26849 (rs6000_replace_regno): Delete.
26850 (rs6000_finalize_pic): Likewise.
26851 (output_prolog): Handle PIC_OFFSET_TABLE_REGNUM.
26853 Wed Jun 9 19:44:26 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
26855 * loop.c (loop_insn_first_p): Don't compare LUIDs when P
26856 is a note; use <= for the compare; advance P while it is
26859 Wed Jun 9 13:12:24 1999 Jeffrey A Law (law@cygnus.com)
26861 * fixinc/inclhack.def (no_double_slash): Fix quoting for test.
26862 * fixinc/inclhack.sh, fixinc/fixincl.x, fixinc/fixincl.sh; Rebuilt.
26864 * varasm.c (remove_from_pending_weak_list): Verify t->name
26865 is non-NULL before passing it to strcmp.
26867 Wed Jun 9 06:50 1999 Bruce Korb <ddsinc09@ix.netcom.com>
26869 *fixinc/inclhack.def(sun_auth_proto): bypass the patch if
26870 the typed arguments are not part of a comment
26871 (ioctl_fix_ctrl): Added a purpose comment
26872 *fixinc/fixincl.x: regenerate
26873 *fixinc/inclhack.sh: regenerate
26875 Wed Jun 9 22:57:02 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
26877 * invoke.texi: Add C4x invocation docs.
26879 Wed Jun 9 22:34:38 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
26881 * config/c4x/c4x.h (TARGET_EXPOSE_LDP, LEGITIMIZE_RELOAD_ADDRESS):
26883 * config/c4x/c4x.c (c4x_emit_move_sequence, src_operand): Use
26885 (c4x_legitimize_reload_address): New function.
26886 * config/c4x/c4x.md: Update docs.
26888 Wed Jun 9 04:14:48 1999 Jeffrey A Law (law@cygnus.com)
26890 * fixincludes: Avoid removing '.'.
26891 * fixinc/fixinc.svr4: Likewise.
26892 * fixinc/fixinc.winnt: Likewise.
26893 * fixinc/inclhack.tpl: Likewise.
26894 * fixinc/fixincl.sh, fixinc/inclhack.sh: Rebuilt.
26896 1999-06-09 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
26898 * fixinc/inclhack.def (sun_catmacro): Escape parens in the select
26900 * fixinc/fixincl.x, fixinc/inclhack.sh: Rebuilt.
26902 Wed Jun 9 03:10:34 1999 Mumit Khan <khan@xraylith.wisc.edu>
26904 * c-pragma.c (handle_pragma_token): Handle `#pragma pack()'
26907 Tue Jun 8 13:06:15 1999 Jim Wilson <wilson@cygnus.com>
26909 * configure.in (rs6000-ibm-aix4.[12]*): Change rx6000 to rs6000.
26910 * configure: Regenerate.
26912 Tue Jun 8 05:47:48 1999 Richard Earnshaw (rearnsha@arm.com)
26914 * optabs.c (expand_cmplxdiv_wide): Use expand_abs to get the absolute
26917 Mon Jun 7 22:30:37 1999 Jeffrey A Law (law@cygnus.com)
26919 * fixinc/inclhack.def (avoid_bool): Also catch
26920 "typedef [unsigned] int bool".
26921 * fixinc/inclhack.sh, fixinc/fixincl.x, fixinc/fixincl.sh: Rebuilt.
26923 * m68k/x-hp3bsd44: Delete obsolete and incorrect file.
26924 * configure.in (m68k-hp-bsd4.4): No longer use x-hp3bsd44.
26925 * configure: Rebuilt.
26927 Mon Jun 7 22:05:03 1999 Mark Kettenis <kettenis@gnu.org>
26929 * config/i386/gnu.h: Include <gnu.h> right after <i386/linux.h>,
26930 such that we can override its definitions if necessary.
26931 (CPP_SPEC): New define. Support processor specific predefines via
26933 (CC1_SPEC): New define. Support processor specific compiler
26934 options via %(cc1_cpu).
26935 (STARTFILE_SPEC): New define. Use crt0.o instead of crt1.o for
26938 1999-06-07 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
26940 * fixinc/inclhack.def (math_gcc_ifndefs): Insert whitespace
26941 between sed's -e flag, and the open-quote following it.
26942 * fixinc/fixincl.x, fixinc/fixincl.sh: Rebuilt.
26944 Mon Jun 7 20:34:20 1999 Robert Lipe <robertlipe@usa.net>
26945 Jeffrey A Law (law@cygnus.com)
26947 * varasm.c (assemble_start_function): Remove the function
26948 from the pending weak decls list when we define a function.
26949 (assemble_variable): Similarly for variables.
26950 (weak_finish): Ignore items on the list with a NULL name.
26951 (remove_from_ending_weak_list); New function to "remove" an item
26952 from the pending weak declarations list.
26954 Mon Jun 7 19:27:07 1999 Jerry Quinn <jquinn@nortelnetworks.com>
26956 * pa.md (fmpyfadd, fmpynfadd, fnegabs): New patterns.
26958 Mon Jun 7 14:07:39 1999 Dave Brolley <brolley@cygnus.com>
26960 * c-lex.c (GETC): Redefine to call getch.
26961 (UNGETC): Redefine to call put_back.
26962 (putback_buffer): New structure type.
26963 (putback): New static structure.
26964 (getch): New function.
26965 (put_back): New function.
26966 (yylex): Replace unused bytes from bad multibyte character.
26968 Mon Jun 7 13:33:39 1999 Dave Brolley <brolley@cygnus.com>
26970 * cpplib.c (do_define): Cast `alloca' return value.
26971 (do_include, do_undef, do_pragma): Likewise.
26972 * cpphash.c (dump_definition): Cast `xstrdup' and `alloca' return
26974 * cppfiles.c (initialize_input_buffer): Cast `xmalloc' return values.
26975 * gcc/cppspec.c (lang_specific_driver): Cast xmalloc return value.
26977 Sun Jun 6 11:58:34 1999 Jakub Jelinek <jj@ultra.linux.cz>
26979 * sparc.md (abstf2): This should be an expand.
26980 (split after abstf2_notv9): Fix mode.
26981 (abstf2_hq_v9): New pattern.
26982 (abstf2_v9): Only use when no hard quad.
26983 (absdf2_v9): Fix if target is not the same as source.
26984 (ashrsi3_extend, ashrsi3_extend2, lshrsi3_extend, lshrsi3_extend2):
26985 Add correct output constraints.
26987 Sat Jun 5 17:04:16 1999 Craig Burley <craig@jcb-sc.com>
26989 From Dave Love to egcs-patches on 20 May 1999 17:38:38 +0100:
26990 * invoke.texi: Clarify text vis-a-vis Intel CPUs.
26992 Sat Jun 5 12:11:24 1999 Mark Mitchell <mark@codesourcery.com>
26994 * mips.h (mips_output_conditional_branch): New function.
26995 (mips_adjust_insn_length): Likewise.
26996 (ASSEMBLER_SCRATCH_REGNUM): New macro.
26997 (ADJUST_INSN_LENGTH): Likewise.
26998 * mips.c (print_operand): Add `F' and `W' for floating-point
26999 comparison opcodes.
27000 (machine_dependent_reorg): Adjust MIPS16 code; instruction-lengths
27002 (mips_adjust_insn_length): New function.
27003 (mips_output_conditional_branch): New function.
27004 * mips.md (length): Adjust attribute definition to handle
27005 conditional branches. Change lengths to bytes, rather than
27006 instructions throughout. Remove length attribute from
27007 instructions whose length is four bytes, and rely on the default
27009 (dslot): Fix typo in comment.
27010 Reword conditional branch patterns to use
27011 mips_output_conditional_branch.
27013 Fri Jun 4 13:30:27 1999 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
27015 * alpha/osf.h (CPP_SUBTARGET_SPEC): Handle -threads.
27016 (LIB_SPEC): Likewise.
27017 Link with -lprof1_r for -g/-pg.
27019 1999-06-04 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
27021 * loop.c (check_dbra_loop): Fix change of Jan 19.
27023 Fri Jun 4 00:12:40 1999 Marc Espie <espie@cvs.openbsd.org>
27025 * freebsd-elf.h (SWITCH_TAKES_ARG): Redefine, not define.
27026 (STARTFILE_SPEC): Define, override the svr4.h version.
27027 (ENDFILE_SPEC): Likewise.
27029 Thu Jun 3 23:58:55 1999 Jeffrey A Law (law@cygnus.com)
27031 * fixinc/inclhack.def (limits_ifndefs): Also apply to sys/limits.h
27032 * fixinc/fixincl.x: Regenerated.
27033 * fixinc/inclhack.sh: Regenerated.
27035 Fri Jun 4 05:42:23 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
27037 * sh.c (barrier_align): Don't return early for normal branch/barrier
27038 when optimizing for SH2.
27040 Thu Jun 3 22:27:50 1999 Robert Lipe <robertlipe@usa.net>
27042 * i386/udk.h (LINK_SPEC): Correct linker search path for
27045 Fri Jun 4 03:20:40 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
27047 * sh.c (fixup_addr_diff_vecs): Emit braf reference label.
27048 (braf_label_ref_operand): Delete.
27049 * sh.h (PREDICATE_CODES): Remove braf_label_ref_operand.
27050 * sh.md (casesi_jump_2): Operand1 is now the inside of a
27051 label_ref, and has no predicate.
27052 The patten has a predicate to guard against invalid substitutions.
27053 (dummy_jump): Delete.
27054 (casesi): Update use of casesi_jump_2.
27056 Thu Jun 3 07:48 1999 Bruce Korb <ddsinc09@ix.netcom.com>
27058 *fixinc/inclhack.def(Io_Def_Quotes): corrected sed expression
27059 *fixinc/fixincl.x: regenerate
27060 *fixinc/inclhack.sh: regenerate
27062 Thu Jun 3 02:15:07 1999 Jason Merrill <jason@yorick.cygnus.com>
27064 * dwarf2out.c (add_incomplete_type): New fn.
27065 (gen_struct_or_union_type_die): Call it.
27066 (retry_incomplete_types): New fn.
27067 (dwarf2out_finish): Call it.
27069 Thu Jun 3 01:19:03 1999 Jeffrey A Law (law@cygnus.com)
27071 * gcse.c (insert_insn_end_bb): Correct placement of insns when the
27072 current block starts with a CODE_LABEL and ends with a CALL and
27073 we can not find all the argument setup instructions for the CALL.
27075 Wed Jun 2 15:44:15 1999 Mark Mitchell <mark@codesourcery.com>
27077 Revert this change:
27078 * fold-const.c (fold): STRIP_NOPS when deciding whether or not
27079 something is a candidate for optimize_bit_field_compare.
27081 Wed Jun 2 21:53:05 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
27083 * sh.h (CONST_OK_FOR_I, CONST_OK_FOR_L): Cast VALUE to HOST_WIDE_INT.
27085 Wed Jun 2 12:25:55 1999 Richard Henderson <rth@cygnus.com>
27087 * alpha.c (override_options): Thinko in last patch.
27089 * alpha/osf.h (CPP_SUBTARGET_SPEC): Define.
27090 (LIB_SPEC): Recognize -pthread.
27092 Wed Jun 2 08:42:55 1999 Nick Clifton <nickc@cygnus.com>
27094 * config/arm/tcoff.h (USER_LABEL_PREFIX): Synchronise with
27095 definition in config/arm/coff.h
27096 * config/arm/coff.h: Add comment about USER_LABEL_PREFIX.
27098 Wed Jun 2 07:07 1999 Bruce Korb <ddsinc09@ix.netcom.com>
27100 * fixinc/fixincl.c(global def): Add FD_SHELL_SCRIPT to mark
27101 fixes that need "file=xxx\n" prepended before invocation
27102 (start_fixer - new): starting the fixer process is complex enough
27103 to warrent its own routine. It prepends the "file=xxx\n" stuff.
27104 (process): uses the new routine; omit usage of putenv()
27105 * fixinc/fixincl.tpl: mark shell scripts with FD_SHELL_SCRIPT
27106 * fixinc/fixincl.x: regenerate
27108 Wed Jun 2 02:29:07 1999 Jeffrey A Law (law@cygnus.com)
27110 * README, configure.in, gcc.1, gcc.texi: Update name (egcs -> gcc)
27111 and version #s (1.1 -> 2.96) as needed.
27112 * README.g77: Kill way out of date file in the toplevel directory.
27114 Wed Jun 2 00:52:34 1999 David O'Brien <obrien@FreeBSD.org>
27116 * configure.in (i[34567]86-*-freebsdelf): Don't include linux.h,
27117 i386/freebsd-elf.h no longer requires it. Instead include svr4.h.
27118 * configure: Rebuilt.
27119 * i386/freebsd-elf.h (DEFAULT_VTABLE_THUNKS): Define.
27120 (ASM_COMMENT_START, ASM_APP_ON, ASM_APP_OFF, SET_ASM_OP): Likewise.
27121 (PREFERRED_DEBUGGING_TYPE, WCHAR_UNSIGNED): Likewise.
27122 (SWITCH_TAKES_ARG): Likewise.
27123 * i386/freebsd.h: Remove FREEBSD_NATIVE support.
27124 * config/t-freebsd: Moved from config/i386/ so it can used for all
27127 Mon May 31 02:22:55 1999 Philippe De Muyter <phdm@macqel.be>
27129 * m68k/x-mot3300 (XCFLAGS): Fixed to match stb.o, not f/stb.o.
27131 Wed Jun 2 00:08:34 1999 Robert Lipe <robertlipe@usa.net>
27133 * configure.in (i[34567]86-*-udk*): Install headers with cpio.
27134 * configure: Rebuilt.
27136 Tue Jun 1 19:06:22 1999 David Edelsohn <edelsohn@gnu.org>
27138 * rs6000/aix41.h (RS6000_CALL_GLUE): Define.
27139 * rs6000/aix43.h (RS6000_CALL_GLUE): Likewise.
27140 * rs6000/rs6000.c (rs6000_file_start): Use putc.
27141 (rs6000_output_load_toc_table): Same.
27142 (output_prolog, output_mi_thunk): Same.
27143 * rs6000/rs6000.h (SELECT_SECTION): Formatting.
27144 (ASM_GLOBALIZE_LABEL): Use putc.
27146 Mon May 31 15:23:23 1999 Richard Henderson <rth@cygnus.com>
27148 * alpha.md (reload_*_help): New patterns and splitters.
27149 (reload_*): Use them.
27150 (mov[qh]i): Likewise.
27152 Mon May 31 11:48:07 1999 Mark Mitchell <mark@codesourcery.com>
27154 * cccp.c (handle_directive): Handle backslash-newlines in quoted
27157 Mon May 31 09:36:11 1999 Cort Dougan <cort@cs.nmt.edu>
27159 * rs6000/linux.h (LINK_SPEC): Use emulation elf32ppclinux.
27161 Mon May 31 11:40:20 EDT 1999 John Wehle (john@feith.com)
27163 * flow.c (mark_regs_live_at_end, insn_dead_p,
27164 mark_set_1, mark_used_regs): Only give FRAME_POINTER_REGNUM
27165 and HARD_FRAME_POINTER_REGNUM special treatment if reload
27166 hasn't run or the frame pointer is needed.
27167 * haifa-sched.c (attach_deaths): Likewise.
27168 * sched.c (attach_deaths): Likewise.
27170 Mon May 31 00:46:17 1999 Jeffrey A Law (law@cygnus.com)
27172 * jump.c (jump_optimize_1): Only set CAN_REACH_END if
27173 calculate_can_reach_end returns nonzero.
27175 * configure.in (native gas tests): Search for an assembler in the
27176 same manner that the installed compiler will.
27177 * configure: Rebuilt.
27178 * tm.texi (MD_EXEC_PREFIX): Note need to update configure.in too.
27180 * alias.c (find_base_term): Improve handling of addresses
27181 constructed from binary operations.
27183 Sun May 30 14:29:17 1999 Eric Raskin (ehr@listworks.com)
27185 * dgux.h (STARTFILE_SPEC): Fix incorrectly matched curly-braces.
27187 Sun May 30 14:19:13 1999 Jeffrey A Law (law@cygnus.com)
27189 * function.h (cleanup_label, frame_offset): Declare.
27190 (tail_recursion_label, tail_recursion_reentry): Likewise.
27191 (arg_pointer_save_area, rtl_expr_chain): Likewise.
27192 * stmt.c (cleanup_label, frame_offset): Delete extern declarations.
27193 (tail_recursion_label, tail_recursion_reentry): Likewise.
27194 (arg_pointer_save_area, rtl_expr_chain): Likewise.
27196 Sat May 29 19:08:10 1999 Philip Blundell <philb@gnu.org>
27198 * config/arm/aout.h (ASM_OUTPUT_ALIGN): Only define if not already
27200 * config/arm/elf.h (ASM_OUTPUT_ALIGN): Define.
27201 (MAX_OFILE_ALIGNMENT): Define.
27203 Fri May 28 21:40 1999 Robert Lipe <robertlipe@usa.net>
27205 * fixincl.c: Replace local include scheme with #includes of
27206 gansidecl.h and system.h.
27207 * procopen.c: Likewise.
27208 * server.c: Likewise.
27210 Fri May 28 03:47:03 1999 Eric Raskin (ehr@listworks.com)
27212 * i386/t-dgux (EXTRA_PARTS): Add crti.o
27213 (crti.o): Add build rule and dependencies.
27214 * fixinc/fixinc.dgux: Use modified _int_varargs.h
27216 Fri May 28 03:41:02 1999 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
27218 * rs6000/sysv4.h (CC1_SPEC): Add support for -profile
27219 (LIB_LINUX_SPEC): Likewise.
27220 (LIB_LINUX_SPEC): Add support for -pthread
27221 (CPP_OS_LINUX_SPEC): Likewise.
27222 (CPP_SYSV_SPEC): Avoid redefinitions if both -fpic and -fPIC are
27225 Thu May 27 13:04:52 1999 H.J. Lu (hjl@gnu.org)
27227 * i386.c (output_fp_cc0_set): Don't check the JUMP_INSN code for
27229 (notice_update_cc, output_float_compare): Enable TARGET_CMOVE support.
27230 (output_float_compare, output_fp_cc0_set): Fix the FLOAT comparison
27231 for IEEE math and CC_FCOMI.
27232 (put_jump_code): No IEEE if CC_FCOMI is set.
27234 1999-05-27 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
27236 * fold-const.c (fold_truthop): Make the field reference unsigned
27237 when converting a single bit compare.
27239 Thu May 27 02:40:48 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
27241 * loop.c (strength_reduce): Don't do biv->giv conversion on constants.
27243 Thu May 27 02:09:27 1999 Jeffrey A Law (law@cygnus.com)
27245 * varasm.c (STRIP_NAME_ENCODING): Remove default definition.
27246 * output.h (STRIP_NAME_ENCODING): Strip '*' like the old varasm
27249 * reload.c (push_reload): Do not call remove_address_replacements
27250 when presented with identical optional reloads.
27252 Wed May 26 14:18:05 1999 Richard Henderson <rth@cygnus.com>
27254 * alpha.h (MASK_FIX, TARGET_FIX): New.
27255 (MASK_*): Reorganize constants.
27256 (CPP_AM_FIX_SPEC): New.
27257 (TARGET_SWITCHES): Add FIX.
27258 (EXTRA_SPECS): Likewise.
27259 (CPP_CPU_EV6_SPEC): Use FIX, not CIX.
27260 (SECONDARY_MEMORY_NEEDED): Likewise.
27261 (REGISTER_MOVE_COST): Likewise.
27262 * alpha.c (override_options): Add FIX support. Always use
27263 ALPHA_TP_PROG for ev6.
27264 * alpha.md (sqrt and mov[sd]i patterns): Use FIX, not CIX.
27265 * alpha/elf.h (ASM_FILE_START): Look at FIX too.
27266 * configure.in (target_cpu_default2) [ev6]: Use FIX, not CIX.
27268 Wed May 26 09:53:05 1999 Mark Mitchell <mark@codesourcery.com>
27270 * fold-const.c (fold): STRIP_NOPS when deciding whether or not
27271 something is a candidate for optimize_bit_field_compare.
27273 Wed May 26 09:40:02 1999 Mark Mitchell <mark@codesourcery.com>
27275 * gcc.texi (Passes): Document branch-shortening.
27276 * invoke.texi (Debugging Options): Document the fact that `-dp'
27277 outputs length information for instructions.
27279 Wed May 26 08:49:31 1999 Nick Clifton <nickc@cygnus.com>
27281 * flow.c: Revert previous delta.
27283 Wed May 26 06:05:10 1999 Nick Clifton <nickc@cygnus.com>
27285 * flow.c (insn_dead_p): Check against frame_pointer_rtx not
27286 FRAME_POINTER_REGNUM.
27287 (mark_set_1): Ditto.
27288 (mark_used_regs): Ditto.
27290 Wed May 26 02:19:31 1999 Philip Blundell <pb@nexus.co.uk>
27292 * arm.h (NEED_PLT_GOT): Fix mistake in last change.
27293 (GOT_PCREL): New macro. Define to 1 if not already defined.
27294 * arm/elf.h (GOT_PCREL): Define to 0.
27295 * arm.c (arm_finalize_pic): Take into account the setting of
27298 Tue May 25 14:06:06 1999 Jeffrey A Law (law@cygnus.com)
27300 * output.h (STRIP_NAME_ENCODING): Provide default definition.
27301 * dwarf2out.c (ASM_NAME_TO_STRING): Use STRIP_NAME_ENCODING.
27303 * flow.c (mark_set_1): Do not record BLKmode stores as dead
27304 store elimination candidates.
27306 Tue May 25 08:55:57 1999 Gavin Romig-Koch <gavin@cygnus.com>
27308 * config/mips/mips.h (ASM_OUTPUT_DOUBLE_INT) : Use 'dword' if
27311 Mon May 24 20:30:08 1999 Jim Wilson <wilson@cygnus.com>
27313 * configure.in (rs6000-ibm-aix4.[12]*): Delete use of aix41-gld.h.
27314 Add use of x-aix41-gld.
27316 Mon May 24 16:44:09 1999 Jakub Jelinek <jj@ultra.linux.cz>
27318 * sparc/linux64.h (ASM_OUTPUT_CONSTRUCTOR): Define.
27319 (ASM_OUTPUT_DESTRUCTOR): Define.
27321 Mon May 24 14:35:24 1999 Jeffrey A Law (law@cygnus.com)
27323 * loop.c (strength_reduce): Do not clear NOT_EVERY_ITERATION at the
27324 last CODE_LABEL in a loop if we have previously passed a jump
27325 to the top of the loop.
27327 Mon May 24 07:56:29 1999 Nick Clifton <nickc@cygnus.com>
27329 * config/arm/arm.h (OUTPUT_INT_ADDR_CONST): Fix blunder made when
27330 applying Philip's patch.
27332 Mon May 24 01:02:12 1999 Mark Mitchell <mark@codesourcery.com>
27334 * stmt.c (expand_end_bindings): Ignore any elements of VARS that
27337 Sun May 23 20:31:16 1999 Jeffrey A Law (law@cygnus.com)
27339 * loop.c (strength_reduce): Grow reg_single_usage as needed.
27341 Sun May 23 10:13:20 1999 David O'Brien <obrien@FreeBSD.org>
27343 * i386/freebsd-elf.h (LINK_SPEC): Change -static to -Bstatic.
27344 Also remove a useless comment.
27346 Sun May 23 10:05:23 1999 Jerry Quinn <jquinn@nortelnetworks.com>
27348 * pa.md (negdf2,negsf2): Use fneg instead of fsub on pa 2.0.
27350 Sat May 22 21:02:06 1999 David Edelsohn <edelsohn@gnu.org>
27352 * collect2.c (main): Only generate import or export file and add
27353 to link arguments if non-empty. Use xmalloc not alloca.
27354 (write_{export,import}_file): Delete.
27355 (write_aix_file): New function.
27356 (locatelib): Use xmalloc not malloc.
27357 (GCC_OK_SYMBOL): Do not check type if aix64.
27359 Sat May 22 09:35:51 1999 Philip Blundell <pb@nexus.co.uk>
27361 Based on patch by Scott Bambrough and Pat Beirne:
27362 * config/arm/arm.c (making_const_table): New variable.
27363 * config/arm/arm.h (making_const_table): Declare.
27364 (OUTPUT_INT_ADDR_CONST): Mark symbols as position independent if
27366 * config/arm/arm.md (consttable_4, consttable_8, consttable_end):
27367 Keep track of when we are building the constant table.
27369 Sat May 22 09:34:22 1999 Philip Blundell <pb@nexus.co.uk>
27371 * config/arm/arm.c (arm_override_options): Fix erroneous warning
27374 Sat May 22 09:06:33 1999 Nick Clifton <nickc@cygnus.com>
27376 * config/arm/arm.h (NEED_PLT_GOT): Only define if not already
27379 Sat May 22 07:17:05 1999 Nick Clifton <nickc@cygnus.com>
27381 * tm.texi (FUNCTION_ARG): Correct description of a stack element
27384 Sat May 22 01:27:49 1999 Mark Mitchell <mark@codesourcery.com>
27386 * expr.h (lang_expand_constant): Guard with #ifdef TREE_CODE.
27388 Fri May 21 21:19:02 1999 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
27390 * rs6000.c (output_mi_thunk): Enable full support again.
27392 Fri May 21 20:09:52 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
27394 * sh.h (BRANCH_COST): Define.
27396 Thu May 20 10:00:42 1999 Stephen L Moshier <moshier@world.std.com>
27398 * Makefile.in (GCC_FOR_TARGET): Add -I$(build_tooldir)/include.
27400 Thu May 20 09:58:57 1999 Jan Hubicka <hubicka@freesoft.cz>
27402 * function.c (assign_stack_local): Align stack slot propertly.
27403 (assign_outer_stack_local): Likewise.
27405 Thu May 20 10:38:43 1999 Mark Mitchell <mark@codesourcery.com>
27407 * expr.h (lang_expand_constant): Declare.
27408 * toplev.c (lang_expand_constant): Define it.
27409 * varasm.c (output_constant): Use it.
27411 Thu May 20 11:28:53 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
27413 * optabs.c (expand_cmplxdiv_straight, expand_cmplxdiv_wide):
27414 Change function definitions to K&R style.
27416 Thu May 20 08:16:39 1999 Bruce Korb <ddsinc09@ix.netcom.com>
27418 * fixinc/fixincl.c: We must not ignore SIGCLD now.
27420 Thu May 20 07:06:39 1999 Alexandre Oliva <aoliva@acm.org>
27422 * fixinc/Makefile.in(gnu-regex.o): add $(INCLUDES) to compile options
27423 * fixinc/fixincl.c(wait_for_pid): K&R-ify arguments
27424 (several places): omit static initialization
27425 (process): use single fd, since only the read fd is used
27426 * fixinc/gnu-regex.c: define 'const' away, if not supported
27427 * fixinc/procopen.c(several places): omit static initialization
27428 * fixinc/server.c: define 'volitile' away, if not supported
27430 1999-05-20 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
27432 * config/dbxcoff.h (DBX_OUTPUT_MAIN_SOURCE_FILE_END): Use
27433 asm_fprintf and %L to generate the label name.
27434 * config/dbxelf.h (DBX_OUTPUT_MAIN_SOURCE_FILE_END): Likewise.
27435 (ASM_OUTPUT_SOURCE_LINE): Correct generation of internal labels.
27437 Thu May 20 01:40:55 1999 Jeffrey A Law (law@cygnus.com)
27439 * jump.c (can_reverse_comparison_p): Do not abort if the comparison
27440 insn for a conditional jump can not be found.
27442 Wed May 19 23:58:58 1999 Jeffrey A Law (law@cygnus.com)
27444 * mips.h (ENCODE_SECTION_INFO): Do not perform GP optimizations
27445 on variables in specific sections other than .sbss and .sdata.
27447 Wed May 19 03:56:56 1999 Mark Mitchell <mark@codesourcery.com>
27449 * stmt.c (expand_return): Call start_cleanup_deferral and
27450 end_cleanup_deferral around conditional code.
27452 Wed May 19 08:40:08 1999 Bruce Korb <ddsinc09@ix.netcom.com>
27454 * fixinc/fixincl.tpl: Avoid depending on ANSI C features for
27455 filename lists. Utilizes new "krstr" AutoGen function.
27456 * fixinc/fixincl.x: Rebuilt.
27458 Wed May 19 02:47:11 1999 Jan Hubicka (hubicka@freesoft.cz)
27460 * i386.c (output_float_compare): Avoid GNU-C extensions.
27462 Wed May 19 00:34:40 1999 Jeffrey A Law (law@cygnus.com)
27464 * version.c: Bump to distinguish mainline tree from the
27467 See ChangeLog.1 for earlier changes.