1 2000-05-24 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
3 * emit-rtl.c (unshare_all_decls): New function.
4 (unshare_all_rtl): Call it.
6 2000-05-23 Nick Clifton <nickc@cygnus.com>
8 * configure.in: Treat 'strongarm' as if it were 'arm' when
11 * configure: Regenerate.
13 * config/arm/arm.c: Change 'char *' to 'const char *' for cases
14 where constant strings are involved.
16 * config/arm/arm.h (arm_condition_codes): Change type to 'const
19 * config/arm/arm-protos.h: Change 'char *' to 'const char *' for
20 cases where constant strings are involved.
22 Tue May 23 15:08:31 2000 Clinton Popetz <cpopetz@cygnus.com>
24 * config/sh/sh.c (gen_far_branch, split_branches): Update
25 to reflect new prototypes for redirect_jump and invert_jump.
26 (sh_insn_length_adjustment): Get rid of const warnings.
28 2000-05-23 Kazu Hirata <kazu@hxi.com>
30 * invoke.texi (Options for Debugging Your Program or GCC): Update
31 the names of dump files.
33 Tue May 23 13:58:52 2000 Philippe De Muyter <phdm@macqel.be>
35 * configure.in (NO_MINUS_C_MINUS_O): Fix thinko in previous fix.
36 * configure: Regenerated.
38 2000-05-23 Zack Weinberg <zack@wolery.cumb.org>
40 * simplify-rtx.c (SIGN_EXTEND): New macro.
41 (simplify_unary_operation, simplify_binary_operation,
42 simplify_relational_operation): Use SIGN_EXTEND. Make low
43 halves of (low, high) pairs unsigned if they weren't already.
44 (simplify_ternary_operation): Cast INTVAL to unsigned before
45 comparing to a MODE_BITSIZE.
47 2000-05-23 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
49 * aclocal.m4 (gcc_AC_CHECK_DECL, gcc_AC_CHECK_DECLS): New macros
50 rewritten from the internals of gcc_AC_NEED_DECLARATION{S}.
52 * configure.in (gcc_AC_CHECK_DECLS): Call this instead of
53 gcc_AC_NEED_DECLARATIONS.
55 * dwarfout.c: Don't prototype time().
57 * gcc.c: Check HAVE_DECL_* instead of NEED_DECLARATION_*.
63 2000-05-23 Zack Weinberg <zack@wolery.cumb.org>
65 * c-decl.c (pushdecl): Invert sense of test for non-global types.
67 Tue May 23 18:11:42 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
69 * reload1.c (reload_cse_move2add): Honor TRULY_NOOP_TRUNCATION.
71 2000-05-23 Jonathan Larmour <jlarmour@redhat.co.uk>
73 * config/mips/elf64.h (CTOR_LISTS_DEFINED_EXTERNALLY): Define
75 Tue May 23 06:50:29 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
77 * config/alpha/alpha.c: Remove #ifdef HAIFA since now only scheduler.
78 (alpha_start_function): Never write ..ng label if VMS or NT.
79 (alpha_align_insns): Remove GP_IN_USE arg.
80 Alignment now unsigned.
81 (alpha_reorg): Don't pass GP_IN_USE arg to alpha_align_insns.
82 * config/alpha/alpha.md (prologue_ldgp): Split into one define_expand
83 and two define_insn's.
85 2000-05-22 Richard Henderson <rth@cygnus.com>
87 * combine.c (simplify_comparison): Use trunc_int_for_mode.
89 2000-05-22 Richard Henderson <rth@cygnus.com>
91 * stor-layout.c (place_field): Change rli->size to rli->offset.
93 2000-05-22 Richard Henderson <rth@cygnus.com>
95 * function.c (thread_prologue_and_epilogue_insns): Make sure
96 existing line number notes appear after the prologue.
98 Mon May 22 21:49:00 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
100 * config/alpha/alpha.c (alpha_fnname): New static variable.
101 (print_operand, case '~'): New case.
102 (alpha_expand_prologue): Emit prologue_ldgp insn if needed.
103 (alpha_start_function): Set alpha_fnname.
104 Write "ng" label if no ldgp; don't write ldgp insn.
105 * config/alpha/alpha.h (PRINT_OPERAND_PUNCT_VALID_P): New case '~'.
106 * config/alpha/alpha.md (prologue_ldgp): New define_insn.
108 Mon May 22 11:30:48 2000 Clinton Popetz <cpopetz@cygnus.com>
110 * jump.c (jump_optimize_1): Don't increment LABEL_NUSES
113 2000-05-22 Zack Weinberg <zack@wolery.cumb.org>
115 * varasm.c (eh_frame_section): Revert change to argument list.
117 Mon May 22 13:14:03 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
119 * optabs.c (can_extend_p): Allow unsignedp to have any nonzero value.
120 (gen_extend_insn, can_fix_p, can_float_p): Likewise.
122 * final.c (final_scan_insn, case NOTE_INSN_FUNCTION_BEG): Remove
123 dangling "else" that causes "break" to be conditional.
124 Also remove unneeded code at start.
126 Mon May 22 17:31:35 2000 Philippe De Muyter <phdm@macqel.be>
128 * m68k/m68k.h (STORE_FLAG_VALUE): Macro set to (-1), not -1.
129 * fx80/fx80.h, i370/i370.h, m88k/m88k.h (STORE_FLAG_VALUE): Ditto.
130 * gmicro/gmicro.h, we32k/we32k.h (STORE_FLAG_VALUE): Ditto.
132 2000-05-22 Jakub Jelinek <jakub@redhat.com>
134 * config/sparc/sparc.md (movdf_insn_v9only_vis): fzero has
137 Mon May 22 06:57:49 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
139 * alias.c (record_component_aliases): New function.
140 * tree.h: Clean up some declarations and comments.
141 (record_component_aliases): New declaration.
142 * tree.c (get_alias_set): If type and has alias set, use it.
144 2000-05-22 Richard Henderson <rth@cygnus.com>
146 * simplify-rtx.c (simplify_ternary_operation): Try to simplify
147 IF_THEN_ELSE to a setcc form.
148 * jump.c (can_reverse_comparison_p): Be prepared for insn null.
150 2000-05-21 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
152 * fixinc/inclhack.def (sun_malloc): Handle `calloc'.
153 (sun_malloc, sysz_stdtypes_for_sun): Add test_text.
155 Sun May 21 16:42:31 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
157 * combine.c (try_combine): Handle i3_subst_into_i2 case when I2 is
160 2000-05-20 Alexandre Oliva <aoliva@cygnus.com>
162 * config/mn10300/mn10300.md (movdi, movdf): 64-bit clean-up.
163 * config/mn10300/mn10300.c (print_operand): Likewise.
165 * final.c (split_double): Right shift of negative values is not
168 * ifcvt.c (if_convert): Scan and kill dead code.
170 * emit-rtl.c (unshare_all_rtl): Store the copied rtx.
172 2000-05-20 Zack Weinberg <zack@wolery.cumb.org>
174 * diagnostic.c: Eliminate implicit int.
175 * except.c, gcc.c: Add static prototypes.
176 * final.c (final_end_function): Mark file arg ATTRIBUTE_UNUSED.
177 * gensupport.c (process_rtx): Use XVEC to initialize vector
180 * print-rtl.c: If DEBUG_REGISTER_NAMES, define static
181 debug_reg_names instead of static reg_names. If not, define
183 * regclass.c: Don't define global reg_names unless
184 DEBUG_REGISTER_NAMES is defined.
186 * reload1.c (order_regs_for_reload): Remove unused variable.
187 * varasm.c: Include output.h after defaults.h. Define
188 eh_frame_section as function of no args, not of unspecified args.
190 * gcc.c: Constify argbuf; arguments to store_arg,
191 process_command, main; elements of struct command and struct
192 switchstr; local variables in execute, process_command, main.
194 2000-05-20 Bruce Korb <bkorb@gnu.org>
196 * fixinc/inclhack.def: many applications of c_fix=format + tests
197 * fixinc/check.diff: regenerated
198 * fixinc/fixincl.x: regenerated
200 Sat May 20 09:30:55 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
202 * alias.c: Clarify some comments.
203 (record_base_value): REGNO is unsigned.
204 * rtl.h (record_base_value): Likewise.
206 * alias.c (aliases_everything_p): Don't special-case QImode here.
207 * c-common.c (c_get_alias_set): Do it here.
208 Handle BIT_FIELD_REF by getting alias info for arg.
211 2000-05-20 Alexandre Oliva <aoliva@cygnus.com>
213 * mklibgcc.in: Restore rule to create ${dir}.
215 Sat May 20 08:45:41 2000 H.J. Lu <hjl@gnu.org>
217 * Makefile.in (libgcc.mk): Depend on xgcc$(exeext) for
218 GCC_FOR_TARGET used by MULTILIBS.
219 * mklibgcc.in: Make sure each .o file depends on the
220 directory it will be in.
221 Make the multilib directory depends libgcc.
223 Sat May 20 08:29:28 2000 H.J. Lu <hjl@gnu.org>
225 * Makefile.in (bootstrap): Unset LANG_LIB2FUNCS for stage 1.
227 Sat May 20 07:27:35 2000 Alexandre Oliva <aoliva@cygnus.com>
229 * fold-const.c (make_range): Handle degenerated intervals.
230 Fixes c-torture/execute/991221-1.c
232 Fri May 19 18:16:31 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
234 * cse.c (cse_basic_block): Only call find_reg_note if REG_NOTES not 0.
235 * reload.c (find_equiv_reg): Likewise.
236 * alias.c (init_alias_analysis): Likewise.
237 Only call prologue_epilogue_contains on insns.
238 * basic-block.h (REG_SET_TO_HARD_REG_SET): Call new function.
239 * bb-reorder.c (hard-reg-set.h): Include earlier.
240 * haifa-sched.c (hard-reg-set.h): Likewise.
241 * ifcvt.c (hard-reg-set.h): Likewise.
242 * local-alloc.c (hard-reg-set.h): Likewise.
243 * loop.c (hard-reg-set.h): Likewise.
244 * predict.c (hard-reg-set.h): Likewise.
245 * regrename.c (hard-reg-set.h): Likewise.
246 * flow.c (hard-reg-set.h): Likewise.
247 (reg_set_to_hard_reg_set): New function.
248 * bitmap.c (regs.h, basic-block.h): No longer include.
249 (bitmap.h): Now include.
250 * conflict.c (hard-reg-set.h): Include.
251 * profile.c (hard-reg-set.h): Likewise.
252 * print-rtl.c (hard-reg-set.h): Likewise.
253 * sbitmap.c (hard-reg-set.h): Likewise.
254 * toplev.c (hard-reg-set.h): Likewise.
255 * unroll.c (hard-reg-set.h, basic-block.h): Likewise.
256 * hard-reg-set.h (reg_names): Now constant.
257 * regs.h (reg_names): Likewise.
258 * regclass.c (reg_names): Likewise.
259 * loop.h (basic-block.h): No longer include.
260 (bitmap.h): Now include.
261 * reload1.c (order_regs_for_reload): Avoid loop over reg sets.
262 * Makefile.in (LOOP_H, sbitmap.o, profile.o): Reflect above changes.
263 (toplev.o, print-rtl.o, conflict.o, unroll.o, bitmap.o): Likewise.
265 2000-05-19 Jan Hubicka <jh@suse.cz>
266 Richard Henderson <rth@cygnus.com>
268 * basic-block.h (struct edge_def): New field "count".
269 (struct basic_block_def): Likewise.
270 * flow.c (entry_exit_blocks): Add count fileds.
271 (split_edge): Keep count information up-to-date.
272 (dump_edge_info, dump_flow_info): Dump count fields.
274 * final.c (count_instrumented_edges): Rename to edge from arc.
275 (end_final): Update users.
276 * profile.c: Include expr.h, basic-block.h.
277 (struct adj_list, ARC_TARGET, ARC_SOURCE, ARC_COUNT): Kill.
278 (struct bb_info, label_to_bb, label_to_bb_size, bb_graph): Kill.
279 (ignore_next_note, return_label_execution_count): Kill.
280 (bbg_file_name, da_file_name): Kill.
281 (edge_info, bb_info): New structures.
282 (EDGE_INFO, BB_INFO, GCOV_INDEX_TO_BB, BB_TO_GCOV_INDEX): New macros.
283 (count_instrumented_edges, total_num_edges): Rename to edge from arc.
284 (total_num_edges_instrumented): Likewise.
285 (init_arc, expand_spanning_tree): Kill.
286 (fill_spanning_tree, tablejump_entry_p): Kill.
287 (instrument_edges): Rewrite from instrument_arcs to use
288 commit_edge_insertions infrastructure.
289 (compute_branch_probabilities): Remove arguments; rewrite for
290 CFG infrastructure; use rtl_dump_file directly.
291 (branch_prob, find_spanning_tree): Likewise.
292 (union_groups, find_group): New.
293 (init_branch_prob): Make bbg_file_name and da_file_name local.
294 (end_branch_prob): Use rtl_dump_file directly.
295 (init_edge_profiler): Rename to edge from arc.
296 (output_arc_profiler): Kill.
297 (gen_edge_profiler): New.
298 (output_func_start_profiler): Turn off profiling. Make the
299 constructor static when we can.
300 * rtl.h (branch_prob, end_branch_prob): Update prototypes.
302 * toplev.c (DFI_flow): Remove.
303 (DFI_cfg, DFI_life): New.
304 (dump_file): Update accordingly.
305 (compile_file): Call end_branch_prob if profile_arc_flag too.
306 (rest_of_compilation): Move flow1 cfg creation to DFI_cfg. Do edge
307 profiling after the CFG is built. Move flow1 life analysis to
308 DFI_life. Always estimate remaining probabilities.
310 2000-05-19 Richard Henderson <rth@cygnus.com>
312 * ifcvt.c (find_if_case_2): Don't allow THEN to be EXIT.
314 * flow.c (make_edges): The sibling call edge to exit is abnormal.
316 2000-05-19 Richard Henderson <rth@cygnus.com>
318 * jump.c (redirect_jump): Add delete_unused argument. Don't
319 remove labels and code following when LABEL_NUSES goes to zero.
320 (invert_jump): Likewise.
321 (jump_optimize_1): Fix redirect/invert arguments.
322 (do_cross_jump, thread_jumps): Likewise.
323 * flow.c (split_edge): Likewise.
324 * reorg.c (optimize_skip): Likewise.
325 (reorg_redirect_jump, relax_delay_slots, dbr_schedule): Likewise.
326 * profile.c (instrument_arcs): Likewise.
327 * loop.c (find_and_verify_loops): Likewise. Fix indentation.
328 * rtl.h: Update prototypes.
330 Fri May 19 12:05:13 2000 Clinton Popetz <cpopetz@cygnus.com>
332 * ssa.c (convert_from_ssa): Tell life_analysis we need death
334 (make_regs_equivalent_over_bad_edges): Only look at abnormal
337 2000-05-19 Zack Weinberg <zack@wolery.cumb.org>
339 * cpphash.c (funlike_macroexpand): Make sure not to walk p1
340 past l1 when deleting whitespace and markers.
342 * cpplex.c (_cpp_scan_until): Clear AUX field of tokens.
343 * cpplib.c (do_unassert): Put the list to compare against on
346 2000-05-19 Bruce Korb <bkorb@gnu.org>
348 * fixinc/README: cleaned up old documentation
349 * fixinc/check.diff: regenerated & verified on OSR5 on ix86
350 * fixinc/check.tpl: compute the list of needed directories
351 emit "#if defined(name)" because of conflict
352 omit machine name differences from output differences
353 * fixinc/inclhack.def( m88k_multi_incl ): Use `wrap' function
354 (machine_name): change test text to use `sed' markers
355 * fixinc/fixincl.x: regen
357 Fri May 19 06:49:35 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
359 * config/elfos.h (SELECT_SECTION): Don't access DECL_INITIAL of
362 2000-05-18 Chris Demetriou <cgd@sibyte.com>
364 * gcc.texi (MULTILIB_EXCEPTIONS): Correct example and update
365 it to match the current practice.
367 2000-05-18 Mark Mitchell <mark@codesourcery.com>
369 * Makefile.in (STAGESTUFF): Fix typo in spelling of s-under.
371 2000-05-18 Richard Henderson <rth@cygnus.com>
373 * rtlanal.c (insn_dependant_p, insn_dependant_p_1): New.
374 * rtl.h (insn_dependant_p): Declare it.
375 * loop.c (strength_reduce): Use it.
377 2000-05-18 Alexandre Oliva <aoliva@cygnus.com>
379 * config/mn10300/mn10300.c (expand_prologue, expand_epilogue):
380 16-bit and 64-bit clean-up.
382 2000-05-18 Mark Elbrecht <snowball3@bigfoot.com>
384 * configure.in (*-pc-msdosdjgpp): Set float_format to none.
385 * configure: Rebuilt.
387 2000-05-18 Zack Weinberg <zack@wolery.cumb.org>
389 * genopinit.c: Use $ for escape sequences in optab patterns.
390 Remove backslashes from optab patterns. Change $A, $B, $C to
391 expand to (int) whatever instead of just whatever; remove
392 explicit (int) from all optab patterns.
394 * gensupport.c (xmalloc, xrealloc, xstrdup): Provide.
395 * genattr.c, genattrtab.c, gencodes.c, genconfig.c, genemit.c,
396 genextract.c, genflags.c, genopinit.c, genoutput.c, genpeep.c,
397 genrecog.c: Remove private copies of xmalloc, xrealloc, and
400 2000-05-18 Richard Henderson <rth@cygnus.com>
402 * jump.c (jump_optimize_1): Base minimum insn count during
403 find_cross_jump on BRANCH_COST.
405 2000-05-18 Jakub Jelinek <jakub@redhat.com>
407 * print-rtl.c (print_rtx): Only print note line number as string
408 if between NOTE_INSN_BIAS and NOTE_INSN_MAX.
409 * final.c (final_scan_insn): Do nothing for note line number 0.
411 2000-05-18 Jakub Jelinek <jakub@redhat.com>
413 * gcc-common.c (ggc_mark_rtx_children): Mark NOTE_EXPECTED_VALUE
414 from NOTE_INSN_EXPECTED_VALUE notes and NOTE_SOURCE_FILE from
415 NOTE_INSN_DELETED_LABEL.
417 2000-05-18 Nick Clifton <nickc@cygnus.com>
419 * config/arm/unknown-elf.h (UNIQUE_SECTION): Place constant,
420 uninitialised data in .rodata not .bss, and do not interpret an
421 error in the initialisation value as meaning that the variable
422 should be placed in the .bss section.
424 Thu May 18 12:10:18 2000 Philippe De Muyter <phdm@macqel.be>
426 * configure.in (NO_MINUS_C_MINUS_O): Test `$ac_cv_prog_cc_${ac_cc}_c_o',
427 not `$ac_cv_prog_cc_cc_c_o'.
428 * configure: Regenerated.
430 2000-05-18 Chris Demetriou <cgd@sibyte.com>
431 Richard Henderson <rth@cygnus.com>
433 * c-common.h (enum c_tree_index): Add g77 type entries.
434 (g77_integer_type_node, g77_uinteger_type_node): New.
435 (g77_longint_type_node, g77_ulongint_type_node): New.
436 * c-decl.c (init_decl_processing): Initialize them.
438 2000-05-18 Richard Henderson <rth@cygnus.com>
440 * config/h8300/h8300.md (subs patterns): Use %G to negate.
442 * config/h8300/h8300.c (ok_for_bclr): Take a HOST_WIDE_INT.
443 (small_power_of_two): Likewise; use exact_log2.
444 (adds_subs_operand, one_insn_adds_subs_operand): Remove.
445 (output_adds_subs): Remove.
446 (two_insn_adds_subs_operand): New.
447 (split_adds_subs): New.
448 * config/h8300/h8300-protos.h: Update.
449 * config/h8300/h8300.h (CONST_OK_FOR_J): Cast to uns HOST_WIDE_INT.
450 (CONST_OK_FOR_L): Match strict adds operands.
451 (CONST_OK_FOR_N): Match struct subs operands.
452 * config/h8300/h8300.md (adds_subs insns): Remove.
453 (addhi patterns): Output adds/subs directly.
454 (addsi_h8300h): Likewise.
455 (addhi/addsi splitters): New. Decompose two_insn_adds_subs_operand.
457 2000-05-18 Zack Weinberg <zack@wolery.cumb.org>
459 * cppexp.c (parse_assertion): New.
460 (lex): Call it for CPP_HASH. Remove CPP_ASSERTION case.
461 (_cpp_parse_expr): Remove case '#'. Don't set
462 parsing_if_directive.
463 * cpphash.c (collect_objlike_expansion,
464 collect_funlike_expansion, collect_params,
465 _cpp_create_definition): The list no longer has a trailing
467 * cpphash.h (enum node_type): Add T_ASSERTION.
468 (struct hashnode): Remove aschain, add pred.
469 (struct predicate): New.
472 * cpplex.c (expand_token_space): Handle both offset and
474 (init_token_list, _cpp_free_token_list, _cpp_parse_assertion): Delete.
475 (_cpp_init_toklist, _cpp_clear_toklist, _cpp_free_toklist,
476 _cpp_slice_toklist, _cpp_squeeze_toklist, _cpp_equiv_tokens,
477 _cpp_equiv_toklists): New.
478 (_cpp_scan_line): Rename to _cpp_scan_until; add ability to
479 stop at any single-character token, not just newline.
480 (_cpp_lex_token): Remove special cases for #define and #if.
481 (cpp_get_token): Expect # as a separate token type. Remove
483 (_cpp_get_directive_token): Remove DIRECTIVE case.
484 (_cpp_lex_line, _cpp_lex_file, _cpp_init_input_buffer): Update.
486 * cpplib.c (_cpp_check_directive): Set dirno and
487 SYNTAX_INCLUDE bit of flags, not dir_handler and dir_flags.
488 (_cpp_handle_directive): Run # <number> through the same logic
489 as normal directives.
490 (do_define): Don't set parsing_define_directive. Use
491 _cpp_scan_until. The list does not have a VSPACE at the end.
492 (do_if): Save, clear, and restore only_seen_white around
494 (skip_if_group): s/CPP_DIRECTIVE/CPP_HASH/
495 (do_assert, do_unassert): Rewrite.
497 * cpplib.h (TTYPE_TABLE): Remove CPP_ASSERTION.
498 (LIST_OFFSET): New flag.
499 (struct cpp_toklist): Replace dir_handler and dir_flags with
501 (struct cpp_reader): Remove parsing_if_directive and
502 parsing_define_directive.
504 2000-05-18 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
506 * fixinc/inclhack.def (broken_cabs): Update fix to handle comments
507 following the cabs decl which terminate on the following line.
508 Add the corresponding test_text case.
510 2000-05-18 Neil Booth <NeilB@earthling.net>
512 * cppinit.c (cpp_reader_init): Initialise col_adjust and
513 default tab stop size.
514 (no_num, OPT_ftabstop): New.
515 (handle_option): Handle "ftabstop=" command-line option.
516 (print_help): Document it.
517 * cpplex.c (COLUMN): Remove.
518 (handle_newline): Reset col_adjust.
519 (skip_whitespace): Update col_adjust as tabs encountered.
520 (_cpp_lex_line): Update to use col_adjust. Call
521 skip_whitespace for all whitespace.
522 * cpplib.h (struct cpp_options): New member tabstop.
523 (struct cpp_reader): New member col_adjust.
524 (CPP_BUF_COL): Update.
525 (CPP_BUF_COLUMN): New.
526 * cpp.texi: Document "-ftabstop=" command line option.
528 Wed May 17 18:19:41 2000 Philippe De Muyter <phdm@macqel.be>
530 * configure.in (NO_MINUS_C_MINUS_O): Macro made availabe for AC_OUTPUT
532 * configure: Rebuilt.
534 Wed May 17 18:06:12 2000 John David Anglin <dave@hiauly1.hia.nrc.ca>
536 * mklibgcc.in Add missing -DL$name when compiling modules in libgcc1.c.
538 * tree.c (build_common_tree_nodes): Do not build TI nodes unless
539 HOST_BITS_PER_WIDE_INT is >= 64.
541 2000-05-17 Richard Henderson <rth@cygnus.com>
543 * jump.c (jump_optimize_1): Remove inactive but real insns
544 in jump-to-next-insn optimization.
546 2000-05-17 Richard Henderson <rth@cygnus.com>
548 * toplev.c (rest_of_compilation): Don't call optimize_mode_switching
549 unless OPTIMIZE_MODE_SWITCHING. Conditionally set no_new_pseudos.
550 Don't call recompute_reg_usage if no_new_pseudos is true.
551 * lcm.c (optimize_mode_switching): Move ifdefs outside function.
552 Return true if we did work; update global life information.
553 * basic-block.h (optimize_mode_switching): Update decl.
555 2000-05-17 Neil Booth <neilb@earthling.net>
557 * cpplex.c (expand_name_space): Don't use ptrdiff_t.
559 2000-05-17 Zack Weinberg <zack@wolery.cumb.org>
561 * cpplib.c: New feature, #pragma system_header.
562 * cpp.texi: Document special treatment of system headers, and
563 the various mechanisms to get a header that special treatment.
565 2000-05-17 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
567 * system.h (offsetof): Define at the very end, to ensure we prefer
568 the platform's definition if available.
570 2000-05-16 Bruce Korb <bkorb@gnu.org>
572 * fixinc/fixincl.c: improve the debug displays, ignore SIGPIPE
573 * fixinc/server.c: likewise
574 * fixinc/fixfixes.c( char_macro_def_fix ): fix regex
575 + #ifdef debugging code + use #def constant for
577 * fixinc/inclhack.def( hpux11_fabsf ): Keep HP-UX 11 from stomping
578 on C++ math namespace
580 2000-05-17 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
582 * fixinc/fixfixes.c (char_macro_use_fix, char_macro_def_fix):
583 Don't check the return value of sprintf. Use asprintf to avoid
586 Wed May 17 17:27:44 2000 Andrew Cagney <cagney@b1.cygnus.com>
588 * flags.h (warn_unused_function, warn_unused_label,
589 warn_unused_parameter, warn_unused_variable, warn_unused_value):
590 Replace ``warn_unused''.
591 (set_Wunused): Add declaration.
592 * toplev.c (set_Wunused): New function.
593 (warn_unused_function, warn_unused_label, warn_unused_parameter,
594 warn_unused_variable, warn_unused_value): New variables.
595 (W_options): Add -Wunused-function, -Wunused-function,
596 -Wunused-label, -Wunused-parameter, -Wunused-variable and
597 -Wunused-value. Delete -Wunused. Handled in decode_W_option.
599 * toplev.c (decode_W_option): Update -Wunused flags by calling
601 * c-decl.c (c_decode_option): Ditto for -Wall.
603 * stmt.c (expand_expr_stmt, expand_expr_stmt,
604 warn_about_unused_variables): Replace warn_unused with more
605 explicit warn_unused_value et.al.
606 * function.c (expand_function_end): Ditto.
607 * c-typeck.c (internal_build_compound_expr,
608 internal_build_compound_expr): Ditto.
609 * c-decl.c (poplevel, pop_label_level): Ditto.
610 * toplev.c (check_global_declarations): Replace warn_unused with
611 check for either warn_unused_function or warn_unused_variable.
613 * gcc.1, invoke.texi (Warning Options): Document
614 -Wunused-function, -Wunused-function, -Wunused-label,
615 -Wunused-parameter, -Wunused-variable and -Wunused-value options.
617 Wed May 17 10:28:12 2000 Philippe De Muyter <phdm@macqel.be>
619 * mklibgcc.in (building libgcc1) [Xlibgcc1.a]: Find libgcc1.c in
620 $(srcdir), not in the current directory.
622 2000-05-16 Richard Henderson <rth@cygnus.com>
624 * config/ia64/crtbegin.asm (__dso_handle): Mark hidden if the
625 assembler supports it.
626 (.fini, .init): Use a gp-relative indirect call.
627 (__do_global_dtors_aux): Preserve the gp; rebundle.
628 (__do_frame_setup): Likewise.
629 * config/ia64/crtend.asm (.IA_64.unwind): Don't terminate with -1.
630 (.init): Use a gp-relative indirect call.
631 (__do_global_ctors_aux): Preserve the gp.
633 2000-05-16 Richard Henderson <rth@cygnus.com>
635 * flow.c (commit_one_edge_insertion): Be prepared for a return
636 insn to be inserted on the edge with a normal jump.
637 * jump.c (jump_optimize_1): Don't look to create return isns.
639 * flow.c (flow_delete_insn): Don't adjust reference count of notes.
640 * jump.c (jump_optimize_1): Likewise.
641 (returnjump_p): Verify the argument is a JUMP_INSN.
642 * rtl.def (NOTE): Add 5th element for NOTE_INSN_DELETED_LABEL.
644 2000-05-16 Nick Clifton <nickc@cygnus.com>
646 * config/m32r/m32r.c (small_insn_p): Use INSN_P() to replace
647 GET_RTX_CLASS (GET_CODE ()) == 'i'.
648 (large_insn_p): Ditto.
649 (m32r_is_insn): New function: Return true if the insn contains
650 an executable instruction.
651 (m32r_adjust_insn): Use m32r_is_insn.
652 (m32r_sched_reorder): Use m32r_is_insn.
653 (m32r_sched_variable_issue): Use m32r_is_insn.
655 2000-05-16 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
657 * rs6000/rs6000.c (rs6000_select_section): Treat CONSTRUCTOR like
660 * rs6000/sysv4.h (ASM_OUTPUT_DWARF_ADDR): Delete unused variable.
662 * rs6000/sysv4.h (CPP_OS_LINUX_SPEC): Define __unix and __linux
663 according to given options.
665 Tue May 16 12:17:31 2000 Jeffrey A Law (law@cygnus.com)
667 * mn10200.h (PREFERRED_RELOAD_CLASS): Do not prefer DATA_REGS
668 if X has VOIDmode either.
669 (LIMIT_RELOAD_CLASS): Similarly.
671 * mn10200.md (indirect_jump, tablejump): Use "register_operand",
672 not "general_operand" to match the processor's capabilities.
674 2000-05-16 Bruce Korb <bkorb@gnu.org>
676 * fixinc/README: corrected return address
677 * fixinc/check.diff: regenerate, now that test works
678 * fixinc/fixfixes.c(format_fix,format_write): reformatted
679 (char_macro_def_fix,char_macro_use_fix): corrected and
680 rewrote to use regex to parse the text
681 * fixinc/inclhack.def: more testing
682 * fixinc/fixincl.x: regenerated
684 * fixinc/inclhack.def: added several "test_text" attributes
685 changed several fixes to use `c_fix = format'
686 re-alphabetized the fixes
688 * fixinc/check.diff: regenerate
689 * fixinc/fixincl.x: regenerate
690 * fixinc/check.tpl: added `sparc' and `netinet' to the list
694 2000-05-16 Alexandre Oliva <aoliva@cygnus.com>
696 * config/mn10300/mn10300.h (ASM_OUTPUT_DWARF2_ADDR_CONST): Remove.
698 2000-05-15 Richard Henderson <rth@cygnus.com>
700 * toplev.c (rest_of_compilation): Run full jump pass before
701 find_basic_blocks of flow2.
703 2000-05-15 Richard Henderson <rth@cygnus.com>
705 * jump.c: Fix typos and clarify commentary from last change.
706 (any_condjump_p): Verify SET_SRC is an IF_THEN_ELSE.
707 (safe_to_remove_jump_p): Remove.
708 (condjump_label): Use pc_set.
710 2000-05-15 Richard Henderson <rth@cygnus.com>
712 * ifcvt.c (cond_exec_process_insns): Drop USE and CLOBBER insns
713 that get in the way after reload.
714 (cond_exec_process_if_block): Skip a label heading THEN block.
716 2000-05-15 Richard Henderson <rth@cygnus.com>
718 * varasm.c (output_constant_pool): Abort instead of converting
719 (improperly) deleted labels to zero.
721 2000-05-16 Neil Booth <NeilB@earthling.net>
723 * cpplex.c (parse_string2): Update comment.
724 (cpp_lex_line): No special assertion treatment for '('.
725 * cpplib.c (DIRECTIVE_TABLE): Remove SYNTAX_ASSERT.
726 * cpplib.h (SYNTAX_ASSERT): Remove.
728 Mon May 15 21:45:36 MET DST 2000 Jan Hubicka <jh@suse.cz>
730 * jump.c (condjump_p): Mark as depreached.
731 (any_condump_p): New.
732 (any_uncondump_p): New.
734 (safe_to_remove_jump_p): New.
735 * rtl.h (any_condump_p, any_uncondjump_p, pc_set
736 safe_to_remove_jump_p): Declare.
738 Mon May 15 21:07:20 MET DST 2000 Jan Hubicka <jh@suse.cz>
740 * calls.c: Re-install both patches reverted by last patch.
741 (struct arg_data): New field tail_call_reg.
742 (initialize_argument_information): Initialize tail_call_reg
743 (load_register_parameters): New argument flags, use
744 tail_call_reg when emiting tail call sequence.
745 (expand_call): Update call of load_register_parameters;
746 copy unadjusted_args_size to adjusted_args_size.
748 Mon May 15 19:01:42 MET DST 2000 Jan Hubicka <jh@suse.cz>
750 * loop.c (scan_loop, strength_reduce, loop_optimize): Change unroll_p
751 and bct_p parameters to flags.
752 * loop.h (LOOP_UNROLL, LOOP_BCT): New constants.
753 * rtl.h (loop_optimize): Update prototype.
754 * toplev.c (rest_of_compilation): Update call of loop_optimize.
756 2000-05-15 Jakub Jelinek <jakub@redhat.com>
758 * calls.c (expand_call): Move expand_start_target_temps call after
761 2000-05-15 Neil Booth <NeilB@earthling.net>
763 * cpphash.c (trad_stringify, warn_trad_stringify,
764 collect_params): Make some pointers pointers to const.
765 * cpplex.c (auto_expand_name_space) Guaranteed to always
766 expand by at least one character.
767 (SPELL_CHAR, SPELL_NONE): Temporarily reverse order.
768 (struct token_spelling): Use const U_CHAR * rather than PTR.
769 (expand_name_space): Fix up token pointers if name space
770 is moved when expanding.
771 (INIT_NAME, cpp_scan_line, parse_name, parse_number,
772 parse_string2, save_comment, spell_token, cpp_output_list):
773 Update so the routines handle tokens with a direct pointer to
774 their text, rather than an offset into the token's list's namebuf.
775 (_cpp_lex_line): Rearrange for clarity.
777 * cpplib.c (_cpp_check_directive): Similarly.
778 (do_define): Make SYM a pointer to const.
779 * cpplib.h (struct cpp_name): Replace offset with direct pointer.
780 (CPP_INT, CPP_FLOAT): Spelling type should be SPELL_IDENT.
781 (TOK_OFFSET): Delete.
784 2000-05-14 Geoffrey Keating <geoffk@cygnus.com>
786 * config/rs6000/rs6000.h (RETURN_ADDRESS_OFFSET): Correct for
789 * config/rs6000/rs6000.c (logical_operand): Rewrite to take MODE
791 (logical_u_operand): Delete.
792 (non_logical_cint_operand): Rewrite to take MODE into account.
793 (non_logical_u_cint_operand): Delete.
794 (boolean_operator): New function.
795 (print_operand): Add new %q operand.
796 * config/rs6000/rs6000.h (PREDICATE_CODES): Add boolean_operator,
797 remove logical_u_operand and non_logical_u_cint_operand,
798 update logical_operand and non_logical_cint_operand.
799 * config/rs6000/rs6000.md: Rewrite the patterns for performing
800 logical operations to use %q.
802 * config/rs6000/rs6000.md (movsi): Don't modify RTL in-place.
803 (movdi): Make similar to movsi.
804 * config/rs6000/rs6000.h (ASM_OUTPUT_SPECIAL_POOL_ENTRY_P): There
805 is no such thing as a DImode CONST_DOUBLE.
806 * config/rs6000/rs6000.c (output_toc): Likewise.
808 * config/rs6000/rs6000.c (output_cbranch): Don't output prediction
809 codes when old mnemonics are in use. Print register names
810 for cc registers when requested.
812 * optabs.c (expand_float): Don't allow mode widening that causes
815 * invoke.texi (RS/6000 and PowerPC Options): Update -m64/-m32
816 flags to their current names -maix64 and -maix32.
818 2000-05-14 Bruce Korb <bkorb@gnu.org>
820 * fixinc/fixfixes.c(wrap_fix): new fix - inserts text before
821 and/or after current text of file
822 * fixinc/fixlib.c(must_malloc):
823 * fixinc/fixlib.h(must_malloc): + reformatting
824 * fixinc/inclhack.def: replace the "1i" and "$a" sed commands
825 with usages of ``c_fix = wrap;''
826 Add several tests and use the ``c_fix = format'' fixer more.
827 * fixinc/fixincl.x: regen
828 * fixinc/check.diff: regen
829 * fixinc/check.tpl: emit the associated header with the missing
832 Sun May 14 17:58:59 2000 Hans-Peter Nilsson <hp@axis.com>
834 * mklibgcc.in (building libgcc1) [Xlibgcc1.a]: Do not use unset
835 variables $src and $dst.
837 2000-05-13 Gabriel Dos Reis <gdr@codesourcery.com>
839 * diagnostic.h (DIAGNOSTICS_SHOW_PREFIX_ONCE): New macro.
840 (DIAGNOSTICS_SHOW_PREFIX_NEVER): Likewise.
841 (DIAGNOSTICS_SHOW_PREFIX_EVERY_LINE): Likewise.
842 (struct output_buffer: emitted_prefix_p, prefixing_rule): New
844 (set_message_prefixing_rule): Declare.
846 * diagnostic.c: (current_prefixing_rule): New variable.
847 (set_message_prefixing_rule): Define.
848 (output_set_prefix): Adjust buffer->emitted_prefix_p.
849 (init_output_buffer): Adjust Initialization.
850 (output_emit_prefix): Rewrite. Take prefixing rules into account.
852 Sat May 13 11:05:47 2000 Philippe De Muyter <phdm@macqel.be>
854 * ifcvt.c (if_convert): Do not free NULL.
856 2000-05-12 Nick Clifton <nickc@cygnus.com>
858 * config/fr30/fr30.c (fr30_move_double): New function: Emit code
859 to move a double word value.
860 (di_operand): New function: Return true if the operand is suitbale
861 for a double word move operation.
862 (nonimmediate_di_operand): New function: Return true if the
863 operand is a DImode register or MEM.
865 * config/fr30/fr30.h (PREDICATE_CODES): Add di_operand and
866 nonimmediate_di_operand.
868 * config/fr30/fr30-protos.h Add fr30_move_double, di_operand, and
869 nonimmediate_di_operand.
871 * config/fr30/fr30.md (movdi): New pattern. Required because
872 other patterns generate DImode results.
873 (movdi_insn): New pattern.
875 2000-05-12 Richard Henderson <rth@cygnus.com>
877 * config/alpha/alpha.c (struct shadow_summary): Define
878 bitfields as type unsigned int.
880 Sat May 13 00:09:59 2000 Denis Chertykov <denisc@overta.ru>
882 * config/avr/t-avr: Added definition of FLOAT while generates
885 * config/avr/avr.md: `NEXT_INSN (insn)' substituted to `insn' in
886 peepholes for tst+jump = sbrs/sbrc optimization.
888 Fry May 12 20:03:00 CEST 2000 Jan Hubicka <jh@suse.cz>
890 * expr.c (emit_push_insn): Do not adjust stack pointer when
893 Fri May 12 19:03:58 2000 Philippe De Muyter <phdm@macqel.be>
895 * ggc-simple.c (offsetof): Macro fallback definition moved from here ..
896 * system.h (offsetof): ... to here.
898 2000-05-12 Richard Henderson <rth@cygnus.com>
900 * Makefile.in (final.o): Depend on BASIC_BLOCK_H.
901 * final.c (final_end_function): Use app_disable. Rearrange note
902 handling into a switch. Emit deleted labels.
903 (output_asm_label): Generate label strings for deleted labels.
904 * flow.c (tail_recursion_label_list): New.
905 (find_basic_blocks_1): Set label_value_list directly. Collect list
906 of tail recursion labels from call_placeholders. Don't add deleted
907 labels to the label value list.
908 (cleanup_cfg): Use free_EXPR_LIST_list.
909 (flow_delete_insn_chain): Turn non-removable labels into notes.
910 (flow_delete_block): Don't disable deleting the block because of
911 a non-removable label.
912 (tail_recursion_label_p): New.
913 (merge_blocks_move_predecessor_nojumps): Don't disable the merge
915 (merge_blocks_move_successor_nojumps): Likewise. Also move a
917 (merge_blocks): Disable a merge because of tail recursion labels.
918 * ifcvt.c (merge_if_block): Don't disable a merge because of a label.
919 Use a more accurate measure of not merging the join block.
920 (find_if_block): Don't disable conversion because of a label.
921 (find_if_case_1, find_if_case_2): Likewise.
922 * jump.c (duplicate_loop_exit_test): Preserve the kind of list
923 element when copying.
924 (squeeze_notes): Also leave EH notes.
925 (mark_jump_label): Ignore deleted labels. Use an INSN_LIST for
927 (delete_insn): Preserve LABEL_NAME in NOTE_SOURCE_FILE when
929 * print-rtl.c (print_rtx): Print NOTE_SOURCE_FILE for
930 NOTE_INSN_DELETED_LABEL. Print `[# deleted]' for a label_ref
931 referring to a deleted label. Convert tail handling to a switch.
932 * rtl.def (CODE_LABEL): Rearrange elements to be compatible with NOTE
933 for NOTE_INSN_DELETED_LABEL.
934 (NOTE): Fix commentary.
935 * rtl.h (REG_LABEL): Update commentary wrt INSN_LIST.
936 (REG_CC_SETTER, REG_CC_USER, REG_LIBCALL): Likewise.
937 (CODE_LABEL_NUMBER, LABEL_NAME): Update index.
938 (LABEL_NUSES, LABEL_REFS): Likewise.
939 * unroll.c (copy_loop_body): Don't copy NOTE_INSN_DELETED_LABEL.
941 2000-05-12 Bruce Korb <bkorb@gnu.org>
943 * fixinc/fixfixes.c(format_write): buglet & relaxed rules
944 * fixinc/check.diff: updated
945 * fixinc/inclhack.def: corrected & added some test_text-s
946 * fixinc/genfixes: removed unneeded options to autogen invocation
947 * fixinc/fixincl.tpl: Specified the output file
948 * fixinc/fixfixes.c: visual appearance
949 * fixinc/fixincl.x: regenerate
951 2000-05-12 Zack Weinberg <zack@wolery.cumb.org>
953 * fixinc/fixfixes.c (IO_use_fix, IO_defn_fix, CTRL_use_fix,
954 CTRL_defn_fix): Delete.
955 (fix_char_macro_defines, fix_char_macro_uses): Rename to
956 char_macro_def_fix and char_macro_use_fix, respectively. Put
957 them into the FIXUP_TABLE. Get the string to search for from
960 (format_write): New function.
961 (format_fix): Use it.
963 (FIX_PROC_HEAD): Constify text parameter.
964 (machine_name_fix): Constify all char *s.
965 * fixtests.c (skip_quote): Remove double static.
967 * inclhack.def (io_def_quotes, io_use_quotes, ctrl_def_quotes,
968 ctrl_use_quotes): Update for new scheme.
969 * fixincl.x: Regenerate.
971 2000-05-12 Alexandre Oliva <aoliva@cygnus.com>
973 * config/mn10300/mn10300.h (PREFERRED_DEBUGGING_TYPE): Redefine as
975 (DWARF2_ASM_LINE_DEBUG_INFO): Define.
976 (ASM_OUTPUT_DWARF2_ADDR_CONST): Define.
978 2000-05-11 Robert Lipe <robertlipe@usa.net>
980 * fixinc/inclhack.def (hpux8_bogus_inlines): Delete bypass for SCO.
981 * fixincl.x: Regenerate.
983 2000-05-11 Richard Henderson <rth@cygnus.com>
985 * calls.c: Revert both 05-09 patches.
987 2000-05-11 Alexandre Oliva <aoliva@cygnus.com>
989 * config/mn10300/mn10300.c (print_operand): Print FP constants in
991 * config/mn10300/mn10300.md (movsf, movdf): Use the `F' constraint
994 * mklibgcc.in (EQ): Define it to an equal sign in the Makefile,
995 and replace any occurrences of `=' in multilib dirs with `$(EQ)'.
997 2000-05-11 Jason Merrill <jason@casey.cygnus.com>
999 * fixinc/fixincl.c (run_compiles): Don't crash on null pz_machine.
1001 2000-05-11 Zack Weinberg <zack@wolery.cumb.org>
1003 * fixinc/fixfixes.c, fixinc/fixtests.c: Update commentary.
1005 Thu May 11 22:28:05 2000 Denis Chertykov <denisc@overta.ru>
1007 * config/avr/avr-protos.c (jump_over_one_insn_p): New declaration.
1008 * config/avr/avr.c (jump_over_one_insn_p): New function.
1009 * config/avr/avr.md: New peepholes added. Output test and
1010 conditional jump to "sbrc" or "sbrs" command.
1012 2000-05-11 Mark Elbrecht <snowball3@bigfoot.com>
1014 * cppmain.c (main): Use IS_DIR_SEPARATOR.
1016 2000-05-11 Jakub Jelinek <jakub@redhat.com>
1018 * except.c (find_exception_handler_labels_1): New function.
1019 (find_exception_handler_labels): Split into two functions, dive
1020 into CALL_PLACEHOLDERs when looking for exception handler labels.
1022 2000-05-11 Stan Cox <scox@cygnus.com>
1024 * regrename.c (replace_reg_in_block): Improve REG_DEAD handling.
1025 * timevar.def (TV_RENAME_REGISTERS): Move before TV_SCHED2.
1026 * toplev.c (rest_of_compilation): Call regrename_optimize before sched2.
1028 2000-05-11 Bruce Korb <bkorb@gnu.org>
1030 * fixinc/fixfixes.c (double_slash_fix): obsolete
1031 (else_endif_label_fix): obsolete
1032 (format_fix): new, unused as yet
1034 * fixinc/fixlib.h: added fix description struct for use by format_fix
1035 * fixinc/fixincl.c: removed the struct & test for SIGIOT befure using
1036 * fixinc/Makefile.in: compile fixfixes.c and fixtests.c as separate
1037 modules. Removed the vestiges of the script version.
1038 Added support for "make check".
1039 * fixinc/check.diff: base diff file (needs work!!)
1040 * fixinc/check.tpl: quiet the fixup output
1041 * fixinc/fixtests.c (main): obsolete
1042 * fixinc/fixincl.sh: don't bother copying fixincl to ..
1043 * fixinc/fixincl.tpl: provide for arguments to c_fix routines
1045 Thu May 11 11:57:02 MET DST 2000 Jan Hubicka <jh@suse.cz>
1047 * toplev.c (rest_of_compilation): Remove dead code after
1050 2000-05-11 Zack Weinberg <zack@wolery.cumb.org>
1052 * cpphash.c (collect_funlike_expansion): Make "# is not
1053 followed by a macro argument name" a pedwarn, not an error.
1054 Preserve the # in the output. Suppress the warning if lang_asm.
1056 Thu May 11 01:19:31 2000 Jeffrey A Law (law@cygnus.com)
1058 * configure.in (hppa*64*-*-hpux11*): New target for PA64 support.
1059 * configure: Rebuilt.
1061 2000-05-10 Laurynas Biveinis <lauras@softhome.net>
1063 * i386/xm-djgpp.h (XREF_FILE_NAME): Add mising brace.
1065 2000-05-10 Kazu Hirata <kazu@hxi.com>
1067 * combine.c (try_combine): Fix a typo.
1069 Wed May 10 21:31:44 2000 Jim Wilson <wilson@cygnus.com>
1071 * config/ia64/ia64.md (insv): Add comment.
1073 2000-05-10 Richard Henderson <rth@cygnus.com>
1075 * Makefile.in (libgcc.a, stmp-multilib): Depend on FPBIT and DPBIT.
1076 * mklibgcc.in: Rewrite to not use functions. Don't shortcut
1077 dependancies on FPBIT and DPBIT.
1079 2000-05-10 Nick Clifton <nickc@redhat.com>
1081 * flow.c (find_auto_inc): Do not bias REG_N_REFS by loop_depth
1082 when optimising for size.
1083 (mark_used_regs:) Ditto.
1084 (try_pre_increment_1): Ditto.
1086 2000-05-10 Zack Weinberg <zack@wolery.cumb.org>
1088 * cppexp.c (lex): Use %.*s to print non-NUL-terminated string.
1089 Make error message friendlier.
1091 * cpphash.h (struct hashnode): Use struct hack for name
1093 * cpphash.c (struct hashdummy): New.
1094 (eq_HASHNODE): Second argument is a hashdummy, not a HASHNODE.
1095 (make_HASHNODE): No need to set ->name pointer. Correct
1097 (cpp_lookup): Make 'dummy' a struct hashdummy. Tidy up a bit.
1099 2000-05-10 Richard Henderson <rth@cygnus.com>
1101 * flow.c (find_basic_blocks_1): Remove any spare bb_note
1104 2000-05-10 Bruce Korb <bkorb@gnu.org>
1106 * fixinc/gnu-regex.c: reg_syntax_t re_syntax_options must be static
1108 2000-05-10 Eric Schweitz <schweitz@nortelnetworks.com>
1110 * dwarfout.c (dwarfout_finish): Call retry_incomplete_types
1111 after we enter .debug.
1113 2000-05-10 Jason Merrill <jason@casey.cygnus.com>
1115 * dwarf2out.c (gen_subprogram_die): Fixup die_parent for the
1116 abstract instance of a nested inline function.
1118 * stor-layout.c (finish_record_layout): finalize_type_size
1119 before laying out the pending_statics.
1121 Wed 10 May 09:36:47 2000 Neil Booth <NeilB@earthling.net>
1123 * cpplex.c (spell_token): New function.
1124 (spell_string, spell_comment, spell_name): fold into
1127 (E, H): Remove macros.
1128 (save_comment): Save comment opening characters too.
1129 (_cpp_lex_file): Update to use spell_token. Tidy up comment
1131 * cpplib.h (I, S): Add macros.
1132 (E, H): Remove macros.
1133 (TTYPE_TABLE): Update entries for new speller.
1134 (SYNTAX_ASSERT): Remove.
1136 Wed 10 May 09:08:30 2000 Neil Booth <NeilB@earthling.net>
1138 * cpplex.c (_cpp_lex_line): Maintain PREV_WHITESPACE flag
1139 when removing escaped newlines. Reverse sense of test for
1142 2000-05-09 Richard Henderson <rth@cygnus.com>
1144 * flow.c (find_basic_blocks_1): Do not delete the first
1145 bb_note we run across.
1146 (create_basic_block): Use reorder_insns to move an existing
1147 bb_note to the correct place.
1149 2000-05-09 Richard Henderson <rth@cygnus.com>
1151 * calls.c (expand_call): Increment currently_expanding_call
1152 before calling optimize_tail_recursion.
1154 Tue May 9 18:54:16 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1156 * reload1.c (reload_combine): Fix errors in last change.
1158 2000-05-09 Zack Weinberg <zack@wolery.cumb.org>
1160 * gcc.c (used_arg): Skip over a semicolon at the end of the
1161 split-up loop; don't break out of it.
1163 * Makefile.in (WARN_CFLAGS): Add -Wwrite-strings.
1164 (tree.o): Depend on output.h.
1166 * c-decl.c (pending_invalid_xref_file,
1167 current_function_prototype_file): Constify.
1168 (pushdecl): Constify a local char *.
1169 (define_label): Constify filename parameter.
1170 * c-lex.c (init_parse): Constify parameter and return value.
1171 * c-typeck.c (c_expand_asm_operands): Constify filename parameter.
1172 * c-tree.h: Update prototypes.
1173 * c-parse.in: Constify filename member of %union, and if_stmt_file.
1174 * c-parse.y, c-parse.c, c-parse.h, objc/objc-parse.y,
1175 objc/objc-parse.c: Regenerate.
1177 * dwarfout.c (dwarfout_init): Constify main_input_filename parameter.
1178 * dwarfout.h: Update prototypes.
1179 * expr.c (expand_expr): Constify a local char *.
1180 * flags.h: Constify main_input_filename.
1181 * function.c (expand_function_end): Constify filename parameter.
1182 * genrecog.c (make_insn_sequence): Use a character array for
1184 (main): Remove unused variables.
1185 * input.h: Constify input_filename, main_input_filename, and
1186 file_stack.name. Update prototypes.
1187 * output.h: Declare first_global_object_name and
1188 weak_global_object_name here, as const char *.
1189 * stmt.c (expand_asm_operands): Constify filename parameter.
1190 * toplev.c (compile_file, push_srcloc, debug_start_source_file):
1191 Constify filename parameter.
1192 (input_filename, main_input_filename): Constify.
1193 * toplev.h: Update prototypes.
1194 * tree.c: Include output.h. Don't declare
1195 first_global_object_name or weak_global_object_name. Clean up string
1196 bashing in get_file_function_name_long.
1197 * tree.h (struct tree_decl): Constify filename member.
1198 (input_filename): Constify.
1200 * varasm.c (first_global_object_name, weak_global_object_name):
1202 (assemble_start_function, assemble_variable): Clean up string bashing.
1204 * gcc.c: Constify all spec-related strings initialized,
1205 transitively, from string constants. Constify all strings
1206 and string variables related to multilibs.
1207 (set_spec, read_specs): Cast argument to free to PTR.
1208 (used_arg): Do not modify multilib_matches. Use strncmp plus
1209 length comparison to compare multilib switches.
1210 * genmultilib: Constify everything declared in multilib.h.
1212 Tue May 9 22:28:03 2000 Denis Chertykov <denisc@overta.ru>
1214 * flow.c (flow_delete_insn): Use INSN_DELETED_P for marking insn
1217 Tue May 9 20:52:43 2000 Denis Chertykov <denisc@overta.ru>
1219 * config/avr/avr-protos.h (extra_constraint): change a type of
1220 second argument from char to int to avoid warnings.
1221 (asm_output_byte): Likewise.
1223 * config/avr/avr.c (MAX_LD_OFFSET) New macro.
1224 (initial_elimination_offset): Handle elimination from
1225 FRAME_POINTER_REGNUM to STACK_POINTER_REGNUM.
1226 (legitimate_address_p): Use MAX_LD_OFFSET.
1227 (legitimize_address): Likewise.
1228 (out_movqi_r_mr): Likewise.
1229 (out_movhi_r_mr): Likewise, use `fatal_insn' instead of `fatal'.
1230 (out_movsi_r_mr): Use MAX_LD_OFFSET.
1231 (out_movsi_mr_r): Likewise.
1232 (out_movqi_mr_r): Likewise.
1233 (out_movhi_mr_r): Likewise.
1234 (notice_update_cc): Correct CC for the ashrqi3 with the shift
1235 count as CONST_INT != 6.
1236 (ashlqi3_out): Coding style modifications. Run `fatal_insn' if
1237 shift count is a CONSTANT_P, but not a CONST_INT.
1238 (ashlhi3_out): Coding style modifications.
1239 (ashlsi3_out): Likewise.
1240 (ashrhi3_out): Likewise.
1241 (ashrsi3_out): Likewise.
1242 (lshrhi3_out): Likewise.
1243 (lshrsi3_out): Likewise.
1244 (ashrqi3_out): Generate shift for any known constant count without
1245 scratch register. Run `fatal_insn' if shift count is a CONSTANT_P,
1246 but not a CONST_INT.
1247 (lshrqi3_out): Coding style modifications. Run `fatal_insn' if
1248 shift count is a CONSTANT_P, but not a CONST_INT.
1249 (extra_constraint): change a type of
1250 second argument from char to int to avoid warnings.
1251 (asm_output_byte): Likewise.
1252 (asm_file_end): Output size generated commands count as a hex
1255 * config/avr/avr.h (RETURN_ADDR_RTX): New macro.
1257 * config/avr/avr.md (addhi3): Fragment commented by &&0 is
1259 (ashlqi3): Values of "length" attribute changed. Shift count
1260 uses constraints 'n' instead of 'i'.
1261 (ashrqi3): Likewise. Values of "cc" attribute changed. Generate
1262 shifts without clobber register.
1263 (lshrqi3): Shift count uses constraints 'n' instead of 'i'.
1264 (call_insn): Correct test for which_alternative == 1 (was 0).
1265 (call_value_insn): Likewise.
1267 * config/avr/t-avr: Remove definition of FLOAT while generates
1270 2000-05-09 Bruce Korb <bkorb@gnu.org>
1272 * fixinc/check.tpl: Template for checking fixes
1273 * fixinc/inclhack.def: Added 'test_text' for many fixes
1274 disable hpux8_bogus_inlines on SCO
1275 * fixinc/fixinc.sco: Oh, yes, we don't need this any more.
1277 Tue May 9 16:30:27 MET DST 2000 Jan Hubicka <jh@suse.cz>
1279 * calls.c (expand_call): Reorganize somewhat in order
1280 to avoid unnecesary recalculation inside loop and make
1281 tail call failure code cleaner.
1283 Tue May 9 06:30:20 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1285 * alias.c (nonlocal_reference_p): Minor reformatting.
1286 * reload.c (find_equiv_reg): Simplify logic for
1287 CALL_INSN_FUNCTION_USAGE since can't have SUBREG or pseudos and
1288 some some reformatting.
1289 * reload1.c (reload_combine): Don't assume everything in
1290 CALL_INSN_FUNCTION_USAGE is a REG and clean up code a bit.
1292 2000-05-08 Richard Henderson <rth@cygnus.com>
1294 * final.c (current_insn_predicate): New.
1295 (final_scan_insn): Set it.
1296 * output.h (current_insn_predicate): Declare.
1298 * ifcvt.c (cond_exec_process_insns): New argument prob_val.
1299 Attach it to call insns.
1300 (cond_exec_process_if_block): Track probability for true and
1302 (dead_or_predicable): Likewise.
1304 * predict.c (PROB_NEVER, PROB_VERY_UNLIKELY): New.
1305 (PROB_UNLIKELY, PROB_EVEN, PROB_LIKELY): New.
1306 (PROB_VERY_LIKELY, PROB_ALWAYS): New.
1307 (estimate_probability, expected_value_to_br_prob): Use them.
1309 * config/ia64/ia64-protos.h (ia64_expand_prediction): Declare.
1310 * config/ia64/ia64.c (ia64_print_operand_address): Handle 'j'.
1311 (ia64_expand_prediction): New.
1312 (emit_insn_group_barriers): Don't look at notes. Emit barriers
1313 as needed after calls.
1314 (ia64_epilogue_uses): Mark b0 used.
1315 * config/ia64/ia64.md (beq_true, beq_false): Remove.
1316 (bne_true, bne_false): Remove.
1317 (eq_return, eq_not_return, ne_return, ne_not_return): Remove.
1318 (br_true, br_false): New. Use predicate_operator and
1319 ia64_expand_prediction.
1320 (return_true, return_false): Likewise.
1321 (call_internal): Use ia64_expand_prediction. Don't emit stop bit.
1322 (call_internal1, call_value_internal): Likewise.
1323 (call_value_internal1, call_multiple_values_internal1): Likewise.
1325 * config/ia64/ia64.c (ia64_direct_return): Require frame size zero.
1327 * config/ia64/ia64.md (extendsfdf2): Split only after reload.
1329 2000-05-08 Richard Henderson <rth@cygnus.com>
1331 * rtlanal.c (may_trap_p): Consider old-style and volatile
1334 Mon May 8 17:16:48 2000 Jim Wilson <wilson@cygnus.com>
1336 * config/ia64/ia64.h (RETURN_ADDR_RTX): Use COUNT not count.
1338 2000-05-08 Richard Henderson <rth@cygnus.com>
1340 * config/ia64/ia64.h (predicate_operator): Declare.
1342 * config/ia64/ia64.md (extendsfdf2): Split the nop case out
1345 * gensupport.c (process_rtx): Copy and post-process each member
1346 of the define_insn rtvec individually.
1348 Mon 8 May 22:17:35 2000 Neil Booth <NeilB@earthling.net>
1350 * cpplex.c (spell_token): New function.
1351 (TOKEN_LEN): Add 1 for whitespace.
1352 (_cpp_lex_file): Update to use spell_token.
1353 * cpplib.h (E): Remove.
1354 (TTYPE_TABLE): Update CPP_VSPACE entry.
1356 2000-05-08 Richard Henderson <rth@cygnus.com>
1358 * flow.c (init_propagate_block_info): Watch out for conditional
1359 branch to next instruction, and thus one outgoing edge.
1361 * config/ia64/ia64.c (ia64_encode_section_info): Exit early
1362 for global register variables; don't special case __[CD]TOR_LIST__;
1363 mind ggc_p for string allocation.
1365 2000-05-08 Nick Clifton <nickc@cygnus.com>
1367 * config/i386/i386.h (ELIMINABLE_REGS): Fix comment.
1369 2000-05-08 Bruce Korb <bkorb@gnu.org>
1371 * fixinc/mkfixinc.sh: fixinc.sco is no longer used
1372 i?86-*-msdosdjgpp* no longer uses fixincludes
1373 * fixinc/genfixes: inclhack.sh and fixincl.sh are no longer generated
1374 * fixinc/inclhack.sh: deleted
1375 * fixinc/hackshell.tpl: deleted
1376 * fixinc/inclhack.tpl: deleted
1377 * fixinc/Makefile.in: Remove dependencies on above
1378 * fixinc/fixincl.sh: "DO NOT EDIT" text modified
1380 2000-05-08 Andreas Jaeger <aj@suse.de>
1382 * config/mips/linux.h: Remove undefines which disabled .ctor/.dtor
1385 2000-05-07 Zack Weinberg <zack@wolery.cumb.org>
1387 * Makefile.in (LOOSE_CFLAGS): Add /g modifiers to both sed
1390 Sun 7 May 08:43:53 2000 Neil Booth <NeilB@earthling.net>
1392 * cpplex.c: Move new lexer definitions and prototypes
1393 to top. Conditional include these and the code if
1394 NEW_LEXER is defined. Rename functions whose names
1395 clash if this code included.
1397 Sun May 7 00:54:57 EDT 2000 John Wehle (john@feith.com)
1399 * rtl.def (COND_EXEC): Clarify.
1401 * i386.md (extendsidi2): Clobber (reg:CC 17) in the
1402 same fashion as zero_extendsidi2.
1404 2000-05-06 Richard Henderson <rth@cygnus.com>
1406 * config/ia64/ia64.c (predicate_operator): New.
1407 (ia64_print_operand): Handle 'J'.
1408 (rtx_needs_barrier): Handle COND_EXEC.
1409 * config/ia64/ia64.h (BRANCH_COST): Define.
1410 (PREDICATE_CODES): Update.
1411 * config/ia64/ia64.md: Docuement used unspec values.
1412 (attr predicable): New.
1413 (movxf, movxf_internal): New.
1414 (extendsfdf2): Don't comment out nop.
1415 (floatdidf2): Remove.
1416 (truncxfsf2, truncxfdf2, floatdixf2): New.
1417 (abssi2, absdi2): Put the neg in the "true" slot.
1418 (conditional branch instructions): Mark not predicable.
1419 (cmov*_internal): Use predicate_operator. Split to cond_exec.
1420 (abs*_internal): Likewise.
1421 (alloc, set_bsp): Mark not predicable.
1422 (barrier, insn_group_barrier, flush_cache): Likewise.
1423 (define_cond_exec): New.
1425 2000-05-06 Richard Henderson <rth@cygnus.com>
1427 * c-decl.c: Include "tm_p.h".
1429 * config/ia64/ia64-protos.h: Rearrange decls to reduce ifdef madness.
1430 (fetchadd_operand, ia64_expand_fetch_and_op): Declare.
1431 (ia64_expand_op_and_fetch): Declare.
1432 * config/ia64/ia64.c: Include "toplev.h". Kill trailing whitespace.
1433 (setjmp_operand): Constify variables for XSTR.
1434 (ia64_encode_section_info): Likewise.
1435 (ia64_print_operand): Use %d for exact_log2; cast 32-bit printed
1437 (ia64_asm_output_external): Constify name.
1438 (process_set): Use HOST_WIDE_INT_PRINT_DEC for frame size.
1439 (process_for_unwind_directive): Provide switch default.
1440 (ia64_expand_compare_and_swap): Remove unused variables.
1441 (ia64_expand_builtin): Likewise.
1442 * config/ia64/ia64.h (ASM_OUTPUT_BYTE): Mask and cast value to int
1445 * config/ia64/ia64.c (sdata_symbolic_operand): Mark unused args.
1446 (symbolic_operand, function_operand, setjmp_operand): Likewise.
1447 (shift_count_operand, shift_32bit_count_operand): Likewise.
1448 (shladd_operand, fetchadd_operand, ia64_function_prologue): Likewise.
1449 (ia64_function_epilogue, ia64_setup_incoming_varargs): Likewise.
1450 (ia64_function_arg_partial_nregs, ia64_function_value): Likewise.
1451 (ia64_print_operand_address, ia64_secondary_reload_class): Likewise.
1452 (ia64_expand_builtin): Likewise.
1453 (call_multiple_values_operation): Make dest_regno unsigned.
1455 2000-05-06 Richard Henderson <rth@cygnus.com>
1457 * rtl.def (DEFINE_COND_EXEC): New.
1458 * md.texi: Document it.
1460 * gensupport.c (input_file): Remove.
1461 (struct queue_elem): Add lineno.
1462 (rtx_ready_queue): Remove.
1464 (predicable_default): New.
1465 (predicable_true, predicable_false): New.
1466 (define_attr_queue, define_attr_tail): New.
1467 (define_insn_queue, define_insn_tail): New.
1468 (define_cond_exec_queue, define_cond_exec_tail): New.
1469 (other_queue, other_tail): New.
1470 (queue_pattern): New.
1471 (process_rtx): Add patterns to the appropriate queues.
1472 (is_predicable, identify_predicable_attribute): New.
1473 (n_alternatives, collect_insn_data): New.
1474 (alter_predicate_for_insn, alter_test_for_insn): New.
1475 (shift_output_template, alter_output_for_insn): New.
1476 (process_one_cond_exec, process_define_cond_exec): New.
1477 (init_md_reader): Read the entire file. Process define_cond_exec.
1478 (read_md_rtx): Return elements from the queues.
1480 2000-05-06 Richard Henderson <rth@cygnus.com>
1482 * flow.c (mark_set_1): Don't update conditional life info
1483 if the register is not_dead.
1485 2000-05-06 Zack Weinberg <zack@wolery.cumb.org>
1487 * Makefile.in (STAGESTUFF): Add genrtl.c and genrtl.h.
1488 (mostlyclean): Also delete fixincl, fixinc.sh, and
1489 specs.ready, and make clean in the fixinc subdir.
1491 2000-05-06 Richard Henderson <rth@cygnus.com>
1493 * Makefile.in (gensupport.o): Compile for the host.
1494 (host-prefix gensuuprt.o): Remove.
1495 (genflags.o): Depend on gensupport.h and OBSTACK_H.
1496 (genattrtab.o): Likewise.
1497 (gencodes.o): Depend on gensupport.h.
1498 (genemit.o, genopinit.o, genrecog.o, genextract.o): Likewise.
1499 (genpeep.o, genattr.o, genoutput.o): Likewise.
1501 * gensupport.c (obstack, rtl_obstack): New.
1502 (init_md_reader): Initialize rtl_obstack.
1503 * gensupport.h (rtl_obstack): Declare.
1504 (message_with_line): Declare.
1506 * genattr.c: Remove all traces of obstack manipulation.
1507 * gencodes.c, genconfig.c, genemit.c, genextract.c: Likewise.
1508 * genopinit.c, genoutput.c, genpeep.c, genrecog.c: Likewise.
1510 * genattrtab.c (obstack, rtl_obstack): Remove.
1511 (main): Don't init rtl_obstack.
1512 * genflags.c: Likewise.
1514 * genrecog.c (message_with_line): Move ...
1515 * gensupport.c: ... here.
1517 2000-05-06 Richard Henderson <rth@cygnus.com>
1519 * c-typeck.c (build_c_cast): Remove dead code.
1521 2000-05-06 Richard Henderson <rth@cygnus.com>
1523 * flow.c (split_edge): Don't allocate global_live_at_start for
1524 the new block unless the old blocks had them as well.
1526 * flow.c (mark_set_1): Respect not_dead when updating reg_live.
1528 * ifcvt.c (noce_process_if_block): Don't use an insn_b from
1529 test_bb if a or b uses x.
1531 2000-05-06 Zack Weinberg <zack@wolery.cumb.org>
1533 * cpphash.h: Remove conditional #define of __extension__.
1534 * rtl.h: Add __extension__ to RTL_CHECK1, RTL_CHECK2,
1535 RTL_CHECKC1, RTL_CHECKC2, and RTVEC_ELT macros
1536 (ENABLE_RTL_CHECKING only).
1537 * tree.h: Add __extension__ to TREE_CHECK, TREE_CLASS_CHECK,
1538 CST_OR_CONSTRUCTOR_CHECK, and EXPR_CHECK macros
1539 (ENABLE_TREE_CHECKING only).
1540 * varray.h: Add __extension__ to VARRAY_CHECK macro
1541 (ENABLE_CHECKING only).
1543 2000-05-06 Richard Earnshaw (reanrsha@arm.com)
1545 Use new tail-calling mechanism on ARM.
1546 * arm.md (sibcall, sibcall_value): New expands.
1547 (sibcall_insn, sibcall_value_insn, sibcall_epilogue): New insns.
1548 (tailcalling peepholes): Delete.
1549 (push_multi): Simplify.
1550 * arm.c (lr_save_eliminated): Delete definition.
1551 (pattern_really_clobbers_lr, function_really_clobbers_lr): Delete.
1552 (output_return_instruction): Remove checks on lr_save_eliminated.
1553 (output_arm_prologue): Remove old tail-calling code.
1554 (arm_output_epilogue): New parameter, really_return. All callers
1555 changed. Handle tail-calling epilogues.
1556 * arm.h (lr_save_eliminated): Delete declaration.
1557 (frame_pointer_needed): Delete declaration.
1558 * arm-protos.h (arm_output_epilogue): Adjust prototype.
1560 * arm.md (is_thumb): Examine symbol thumb_code, not expression
1562 * arm.c (thumb_code): Define it.
1563 (arm_override_options): Set it.
1564 * arm.h (thumb_code): Declare it.
1566 2000-05-06 Richard Earnshaw (reanrsha@arm.com)
1568 * arm-protos.h (arm_dllexport_name_p, arm_dllimport_name_p): Constify.
1570 2000-05-06 Richard Earnshaw (reanrsha@arm.com)
1572 * arm.c (arm_gen_load_multiple, arm_gen_store_mulitple): Don't add
1573 bogus clobber to insns.
1574 (load_multiple_operation, store_mulitple_operation): Don't check
1576 * arm.md (ldmsi_postinc, stmsi_postinc): Adjust accordingly.
1578 * arm.md (and_scc, ior_scc): Add missing mode.
1580 * arm.md (call_value_symbol): Remove predicate from op2.
1582 * arm.h (SPECIAL_MODE_PREDICATES): Define.
1584 Sat May 6 06:25:56 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1586 * expr.c (get_subtarget): New function.
1587 (force_operand, expand_expr, do_store_flag): Use it.
1589 * toplev.c (compile_file): Don't take strlen of NAME if null.
1591 2000-05-06 David Edelsohn <edelsohn@gnu.org>
1593 * xcoffout.c (xcoff_current_include_file,
1594 xcoff_current_function_file, xcoff_lastfile): Constify char *.
1595 (xcoffout_source_file, xcoffout_source_line): Make filename 'const
1597 (xcoffout_declare_function): Make name 'const char *'.
1598 (xcoffout_end_epilogue): Make fname 'const char *'
1599 * xcoffout.h (xcoff_current_include_file, xcoff_lastfile,
1600 xcoffout_declare_function, xcoffout_source_line): Match above.
1602 * aix43.h (SUBTARGET_OVERRIDE_OPTIONS): -mpowerpc64 without
1604 * rs6000.c (print_operand): Fix lossage typo.
1605 (output_cbranch): Remove "cr" decoration for now.
1606 * rs6000.h (ASM_OUTPUT_DEF_FROM_DECLS): Make alias 'const char *'.
1608 Sat May 6 06:55:32 2000 Denis Chertykov <denisc@overta.ru>
1610 * config/avr/avr.c (out_shift_with_cnt): Bugfix for shift by
1613 2000-05-05 Bruce Korb <bkorb@gnu.org>
1615 * fixinc/genfixes: Improve the matching for make target names
1617 2000-05-05 Catherine Moore <clm@cygnus.com>
1619 * c-common.c (decl_attributes): For TYPE_DECLs attach the
1620 attribute to the decl.
1621 * c-decl.c (pushdecl): Propagate the USED attribute to the
1624 2000-05-05 Richard Henderson <rth@cygnus.com>
1626 * rtlanal.c (reg_overlap_mentioned_p): Treat parallels in the
1627 same way emit_group_load does.
1629 2000-05-05 Mark Elbrecht <snowball3@bigfoot.com>
1631 * gcc.c (set_input) [HAVE_DOS_STYLE_FILE_SYSTEM]: Skip drive name.
1633 * toplev.c (output_file_directive): Use IS_DIR_SEPARATOR.
1636 2000-05-05 Rodney Brown <RodneyBrown@mynd.com>
1638 * pa.h (FUNCTION_ARG_ADVANCE): Warning removal.
1640 Fri May 5 10:29:21 2000 Marc Espie <espie@cvs.openbsd.org>
1642 * config/openbsd.h (LINK_SPEC): pass correct flags to ld
1643 to support -shared, on platforms with dynamic libraries.
1645 Fri May 5 10:27:06 2000 Philippe De Muyter <phdm@macqel.be>
1647 * system.h (S_ISBLK): Provide fallback definition.
1649 2000-05-05 Geoff Berry <geoffb@bops.com>
1651 * extend.texi (Extended Asm): Document inability to give asm
1652 statements access to condition codes.
1654 2000-05-05 Marek Michalkiewicz <marekm@linux.org.pl>
1656 * varasm.c (asm_emit_uninitialised): Use 0, not NULL
1657 as arg 2 of UNIQUE_SECTION.
1659 Fri May 5 10:11:41 2000 Jeffrey A Law (law@cygnus.com)
1661 * predict.c: Remove May 4 change.
1662 * bb-reorder.c (make_reorder_chain): Do not perform block movement
1663 if we have predicted the branch at 50-50 probability.
1665 2000-05-05 Richard Henderson <rth@cygnus.com>
1667 * flow.c (init_propagate_block_info): Fix merge error
1668 in HAVE_conditional_execution code.
1670 Fri May 5 07:43:50 2000 Denis Chertykov <denisc@overta.ru>
1672 * config/avr/avr.c (out_shift_with_cnt): Genetare a more optimal
1673 shift cycle for unknown shift count. Also generates dec + brpl.
1674 (ashlqi3_out): Don't generate dec + brpl which now generates by
1675 `out_shift_with_cnt'.
1676 (ashlhi3_out): Likewise.
1677 (ashlsi3_out): Likewise.
1678 (ashrqi3_out): Likewise.
1679 (ashrhi3_out): Likewise.
1680 (ashrsi3_out): Likewise.
1681 (lshrqi3_out): Likewise.
1682 (lshrhi3_out): Likewise.
1683 (lshrsi3_out): Likewise.
1685 2000-05-04 Mark Elbrecht <snowball3@bigfoot.com>
1687 * gcc.c (free_split_directories): Correct typo in explanation
1688 of make_relative_prefix.
1690 2000-05-04 Geoff Keating <geoffk@cygnus.com>
1692 * config/rs6000/rs6000.h (PREDICATE_CODES): Add floating-point
1693 comparison codes to branch_comparison_operator.
1695 2000-05-04 Richard Henderson <rth@cygnus.com>
1697 * ifcvt.c (noce_process_if_block): Always reset X in the A == B case.
1699 2000-05-04 Richard Henderson <rth@cygnus.com>
1701 * Makefile.in (FPBIT_FUNCS): Remove _df_to_usi.
1702 (DPBIT_FUNCS): Remove _sf_to_usi.
1703 (stmp-multilib): Pass LIB1ASMSRC to libgcc.mk.
1705 * ifcvt.c (noce_process_if_block): Fail if A or B modified
1706 between condition and jump.
1708 * libgcc2.c (near eh_context_specific): Comment #endif string.
1709 * longlong.h: Don't use strings with embedded newlines.
1711 2000-05-04 Geoff Keating <geoffk@cygnus.com>
1713 * config/rs6000/rs6000-protos.h: Add output_cbranch.
1714 * config/rs6000/rs6000.c (ccr_bit_negated_p): Delete.
1715 (print_operand): Delete %t and %T codes.
1716 (output_cbranch): New function. Support branch prediction.
1717 * config/rs6000/rs6000.md: Use output_cbranch for
1718 conditional branches and returns.
1720 2000-05-04 Jason Merrill <jason@casey.cygnus.com>
1722 * simplify-rtx.c (simplify_ternary_operation): Cast to unsigned.
1723 * stor-layout.c (place_field): Likewise.
1724 * integrate.h (struct inline_remap): Make regno_pointer_align unsigned.
1725 * expr.c (store_expr): Make align unsigned.
1726 * explow.c (plus_constant_wide): Make low words unsigned.
1727 * expmed.c (choose_multiplier): Likewise.
1728 * fold-const.c (fold): Likewise.
1729 * tree.h (build_int_2): Likewise.
1730 * tree.c (build_int_2_wide, tree_int_cst_msb): Likewise.
1731 * emit-rtl.c (gen_reg_rtx): Add cast to unsigned char*.
1732 (init_emit): Change cast to unsigned char*.
1733 * varasm.c (compare_constant_1): Add cast to char*.
1734 * gcse.c (delete_null_pointer_checks): Change cast to unsigned int*.
1735 * reload1.c (reload): Likewise.
1737 * rtl.h (MEM_SET_IN_STRUCT_P): Use do { } while (0).
1739 Thu May 4 14:37:23 2000 Jeffrey A Law (law@cygnus.com)
1741 * predict.c (estimate_probability): If no prediction was found, then
1742 predict the successor that is the next physical block (if such a
1745 2000-05-04 Richard Henderson <rth@cygnus.com>
1747 * config/alpha/t-alpha (LIB2FUNCS_EXTRA): Use qrrnd.asm in place.
1749 2000-05-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1751 * system.h: Don't wrap <sys/types.h> with HAVE_SYS_TYPES_H.
1753 2000-05-04 Mumit Khan <khan@xraylith.wisc.edu>
1755 * i386/cygwin.h (CPP_PREDEFINES): Don't define __STDC__. Move
1756 attribute macros from here ...
1757 (CPP_SPEC): to here.
1758 * i386/mingw32.h (CPP_PREDEFINES): Likewise.
1759 (CPP_SPEC): Likewise.
1760 * i386/crtdll.h (CPP_PREDEFINES): Delete attribute macros.
1762 * Makefile.in ($(HOST_PREFIX_1)gensupport.o): Add build rule.
1763 (libgcc.a): Pass LIB1ASMSRC to libgcc.mk.
1765 2000-05-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1767 * bb-reorder.c (get_next_bb_note, get_prev_bb_note): Prototype.
1769 * diagnostic (vbuild_message_string, build_message_string,
1770 build_location_prefix, output_get_prefix, init_output_buffer,
1771 output_notice, vline_wrapper_message_with_location,
1772 v_message_with_decl, default_print_error_function): De-constify.
1773 (set_real_maximum_length): Prototype.
1775 * diagnostic.h (struct output_buffer, init_output_buffer,
1776 output_get_prefix, output_set_prefix): De-constify.
1778 * function.c (init_function_start): Constify.
1780 * gensupport.c (remove_constraints, process_rtx): Prototype.
1782 * gthr-posix.h: Indent uses of #pragma.
1784 * objc/objc-act.c (ggc_mark_imp_list, ggc_mark_hash_table):
1787 * predict.c (find_expected_value): Delete prototype.
1788 (expected_value_to_br_prob): Initialize variable `ev_reg'.
1790 * sbitmap.h (debug_sbitmap): Prototype.
1792 * ssa.c (compute_coalesced_reg_partition): Prototype.
1794 * stor-layout.c (debug_rli): Prototype.
1796 * tree.h (round_down): Prototype.
1797 (init_function_start): Constify.
1799 2000-05-04 Zack Weinberg <zack@wolery.cumb.org>
1801 * cpphash.h: #define __extension__ away if GCC_VERSION < 2095
1802 (overly conservative). Change extern inline wrappers to
1803 static inline, define them always, use PARAMS properly.
1804 * cpplex.c (_cpp_get_directive_token): Don't issue pedantic
1805 whitespace warnings for \f and \v at the beginning of a line.
1807 Thu May 4 10:03:50 2000 Jeffrey A Law (law@cygnus.com)
1809 * haifa-sched.c (schedule_insns): Free the flow edge list when it
1812 2000-05-04 Bruce Korb <bkorb@gnu.org>
1814 * fixincl/inclhack.def: added broken_cabs -
1815 Remove `extern double cabs' declarations from math.h
1816 * fixincl/inclhack.sh: regen
1817 * fixincl/fixincl.x: regen
1818 * fixincl/fixincl.c: Remove BOGOSITY code
1819 * fixincl/mkfixinc.sh: Remove code for installing "shell" version
1821 Thu May 4 09:45:12 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1823 * rtl.h (MEM_COPY_ATTRIBUTES): Also copy RTX_UNCHANGING_P and
1825 * alias.c (canon_rtx): Don't copy RTX_UNCHANGING_P or MEM_ALIAS_SET
1826 when calling MEM_COPY_ATTRIBUTES.
1827 * emit-rtl.c (operand_subword, change_address): Likewise.
1828 * explow.c (stabilize): Likewise.
1829 * expr.c (protect_from_queue, emit_move_insn_1): Likewise.
1830 * integrate.c (copy_rtx_and_substitute): Likewise.
1831 * combine.c (combine_simplify_rtx): Don't copy RTX_UNCHANGING_P
1832 when calling MEM_COPY_ATTRIBUTES.
1833 (make_extraction, simplify_shift_const, gen_lowpart_for_combine):
1835 * cse.c (gen_lowpart_if_possible): Likewise.
1836 * function.c (fixup_var_refs_1, purge_addressof_1): Likewise.
1837 * optabs.c (gen_move_insn): Likewise.
1838 * recog.c (validate_replace_rtx_1): Likewise.
1839 * simplify-rtx.c (add_mem_for_addr): Likewise.
1840 * stmt.c (expand_anon_union_decl): Likewise.
1841 * config/arm/arm.md: Likewise.
1842 * config/h8300/h7300.c (fix_bit_operand): Likewise.
1843 * config/m88k/m88k.c (legitimize_address, block_move_loop): Likewise.
1844 (block_move_no_loop, block_move_sequence): Likewise.
1845 * config/rs6000/rs6000.c (expand_block_move_mem): Likewise.
1846 * config/alpha/alpha.c (get_aligned_mem): Likewise.
1847 Clear MEM_ALIAS_SET.
1848 * final.c (alter_subreg): Don't copy MEM_ALIAS_SET when calling
1849 MEM_COPY_ATTRIBUTES.
1851 2000-05-03 Robert Lipe <robertlipe@usa.net>
1853 * configure.in (i[34567]86-*-isc*) [tmake_file]: Add t-i386bare
1854 to suppress libgcc1.
1855 (i[34567]86-*-sco3.2v5*) Likewise.
1856 (i[34567]86-*-sco3.2v4*) Likewise.
1857 (i[34567]86-*-sco) Likewise.
1858 (i[34567]86-*-solaris2) Likewise.
1859 (i[34567]86-*-sysv5*) Likewise.
1860 (i[34567]86-*-sysv4*) Likewise.
1861 (i[34567]86-*-udk*) Likewise.
1862 (i[34567]86-*-sysv*) Likewise.
1864 2000-05-03 Zack Weinberg <zack@wolery.cumb.org>
1866 * cpphash.h (U): New define, to correct type of string constants.
1867 (ustrcmp, ustrncmp, ustrlen, uxstrdup, ustrchr): New wrapper
1868 routines, to do casts when passing unsigned strings to libc.
1869 * cppexp.c, cppfiles.c, cpphash.c, cppinit.c, cpplib.c: Use them.
1871 * cppfiles.c (_cpp_execute_include): Make filename an U_CHAR *.
1872 * cpphash.c (_cpp_quote_string): Make string an U_CHAR *.
1873 * cppinit.c (dump_special_to_buffer): Make macro name an U_CHAR *.
1874 * cpplex.c (parse_ifdef, parse_include, validate_else): Make
1875 second argument an U_CHAR *.
1877 * cppinit.c (builtin_array): Make name and value U_CHAR *, add
1878 length field, clean up initializer.
1879 (ISTABLE): Add __extension__ to designated-
1880 initializers version.
1881 * cpplex.c (CHARTAB): Likewise.
1883 * mbchar.c: Add dummy external declaration to the !MULTIBYTE_CHARS
1884 case so the file won't be empty.
1886 Wed May 3 21:01:46 2000 Jason Eckhardt <jle@cygnus.com>
1888 * bb-reorder.c (struct reorder_block_def): Member succ removed.
1889 (REORDER_BLOCK_SUCC): Removed.
1890 (enum reorder_skip_type): Removed.
1891 (skip_insns_between_block): Renamed to skip_insns_after_block.
1892 Removed second argument. Removed dead code and cleaned up.
1893 (make_reorder_chain): Removed use of REORDER_BLOCK_SUCC.
1894 (reorder_basic_blocks): Remove use of REORDER_SKIP_AFTER. Removed
1895 second parameter to skip_insns_after_block.
1897 Wed May 3 13:29:54 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1899 * tree.c (staticp, case LABEL_DECL): New case.
1901 2000-05-03 Richard Henderson <rth@cygnus.com>
1903 * Makefile.in (start.encap): Do not depend on LIBGCC1.
1905 * mklibgcc1.in: Fix typo last change.
1907 2000-05-03 Jason Merrill <jason@casey.cygnus.com>
1909 * Makefile.in (WARN_CFLAGS): Add -pedantic -Wno-long-long.
1910 (LOOSE_CFLAGS): New: CFLAGS without -pedantic and -Wtraditional.
1911 (GCC_CFLAGS): Use it.
1912 (LANG_FLAGS_TO_PASS): New: SUBDIR_FLAGS_TO_PASS with LOOSE_CFLAGS.
1913 * cp/Make-lang.in, java/Make-lang.in, f/Make-lang.in, ch/Make-lang.in,
1914 objc/Make-lang.in: Use it.
1916 2000-05-03 Jason R Thorpe <thorpej@zembu.com>
1918 * config/i386/i386.md (lshrqi2_cmpno): Use q not r in constraint.
1920 2000-05-03 Richard Henderson <rth@cygnus.com>
1922 * mklibgcc.in: Restrict OLDCC=GCC test to native. Equate
1923 LIBGCC1 empty with libgcc1.null.
1925 Wed May 3 12:55:46 2000 Jim Wilson <wilson@cygnus.com>
1927 * fold-const.c (extract_muldiv, case MAX_EXPR): Don't allow signedness
1930 2000-05-03 Greg McGary <gkm@gnu.org>
1932 * tree.h (tree_common): Add bounded_flag member. Remove
1933 inaccurate comment about number of remaining bits.
1934 (BOUNDED_INDIRECT_TYPE_P, BOUNDED_POINTER_TYPE_P,
1935 BOUNDED_REFERENCE_TYPE_P, MAYBE_BOUNDED_INDIRECT_TYPE_P,
1936 MAYBE_BOUNDED_POINTER_TYPE_P, MAYBE_BOUNDED_REFERENCE_TYPE_P,
1937 TREE_BOUNDED, TYPE_MAIN_VARIANTS_PHYSICALLY_EQUAL_P,
1938 TYPE_MAIN_PHYSICAL_VARIANT, TYPE_BOUNDED): New macros.
1939 (TYPE_QUAL_BOUNDED): New constant.
1940 (TYPE_QUALS): Handle bounded qualifier.
1941 (TREE_EXPR_QUALS, TREE_FUNC_QUALS): New macros.
1942 (TYPE_BOUNDED_VALUE, TYPE_BOUNDED_BASE, TYPE_BOUNDED_EXTENT,
1943 TYPE_BOUNDED_SUBTYPE, TYPE_UNBOUNDED_VARIANT, TYPE_POINTER_DEPTH,
1944 TYPE_AMBIENT_BOUNDEDNESS): New macros.
1945 (MAX_POINTER_DEPTH, VA_LIST_POINTER_DEPTH): New constants.
1946 (tree_type): Add pointer_depth member. Remove
1947 inaccurate comment about number of remaining bits.
1948 (DECL_POINTER_DEPTH): Add macro.
1949 (tree_decl): Add pointer_depth member.
1951 Wed May 3 22:52:53 2000 Denis Chertykov <denisc@overta.ru>
1953 * config/avr/avr-protos.h (test_hard_reg_class): Declared.
1954 * config/avr/avr.c (ashrhi3_out): optimized shift by 15.
1955 (lshrhi3_out): Likewise.
1956 (ashrsi3_out): bugfix in shift by 8.
1957 (test_hard_reg_class): New function.
1958 * config/avr/avr.md: Bugfix inside conditions in peepholes.
1959 (ashlhi3): removed define_expand of this pattern.
1960 (*ashlhi3_insn): renamed to ashlhi3.
1961 (ashlsi3): removed define_expand of this pattern.
1962 (*ashlsi3_insn): renamed to ashlsi3.
1963 (ashrqi3): removed define_expand of this pattern.
1964 (*ashrqi3_insn): renamed to ashrqi3.
1965 (ashrhi3): removed define_expand of this pattern.
1966 (*ashrhi3_insn): renamed to ashrhi3.
1967 (ashrsi3): removed define_expand of this pattern.
1968 (*ashrsi3_insn): renamed to ashrsi3.
1969 (lshrhi3): removed define_expand of this pattern.
1970 (*lshrhi3_insn): renamed to lshrhi3.
1971 (lshrsi3): removed define_expand of this pattern.
1972 (*lshrsi3_insn): renamed to lshrsi3.
1974 2000-05-03 Rodney Brown <RodneyBrown@pmsc.com>
1976 * config/mcore/mcore.c: Replacing inclusion of "stdio,h" with
1977 inclusion of "system.h".
1979 Wed May 3 11:43:53 2000 Jim Wilson <wilson@cygnus.com>
1981 * config/ia64/ia64.c (ia64_encode_section_info): Add check for
1984 2000-05-03 David Mosberger <davidm@hpl.hp.com>
1986 * config/ia64/ia64.c (ia64_override_options): Force -mconstant-gp
1987 if -mauto-pic is on.
1988 (ia64_epilogue_uses): Mark "gp" (r1) as used by the epilogue if
1989 -mconstant-gp is in effect and function-descriptors are being used
1990 to make indirect calls.
1991 * config/ia64/ia64.h (MASK_CONST_GP): New macro.
1992 (MASK_AUTO_PIC): Ditto.
1993 (TARGET_CONST_GP): Ditto.
1994 (TARGET_AUTO_PIC): Ditto.
1995 (TARGET_SWITCHES): Add -mconstant-gp and -mauto-pic options.
1996 (ASM_OUTPUT_DOUBLE_INT): Don't generate @fptr() if -mauto-pic or
1997 -mno-pic is in effect.
1998 (ASM_OUTPUT_XDATA_DOUBLE_INT): Ditto.
1999 * config/ia64/ia64.md (movdi): Use gen_load_gprel64() if
2000 -mauto-pic is in effect.
2001 (gprel64_offset): New pattern.
2002 (load_gprel64): Ditto.
2003 (call): Handle -mauto-pic like -mno-pic (don't use fptr). If
2004 -mconstant-gp is in effect, no need to preserve gp around direct
2006 (call_value): Ditto.
2007 * config/ia64/linux.h (PROFILE_BEFORE_PROLOGUE): Define.
2008 (FUNCTION_PROFILER): Define.
2009 * config/ia64/sysv4.h (ASM_OUTPUT_CONSTRUCTOR): Don't generate
2010 @fptr() directive when -mno-pic or -mauto-pic is in effect.
2011 (ASM_OUTPUT_DESTRUCTOR): Ditto.
2013 2000-05-03 Richard Henderson <rth@cygnus.com>
2015 * Makefile.in (STAGESTUFF): Add libgcc libgcc.mk.
2016 (libgcc1.null, libgcc1.cross, libgcc1.a): Remove targets.
2017 (libgcc1-asm.a, libgcc1.S, libgcc2.a): Remove targets.
2018 (mklibgcc, libgcc.mk): New targets.
2019 (libgcc.a): Use libgcc.mk.
2020 (stmp-multilib): Likewise.
2021 (stmp-multilib-sub): Remove.
2022 (mostlyclean): Don't delete libgcc2 temp files.
2023 * configure.in (AC_PROG_CC_C_O): Add.
2024 (NO_MINUS_C_MINUS_O): Substitute it.
2025 (all_outputs): Add mklibgcc.
2026 * mklibgcc.in: New file.
2028 2000-05-03 Jason Merrill <jason@casey.cygnus.com>
2030 * cppexp.c (op_t): Make an int.
2032 * rtlanal.c (dead_or_set_regno_p): Remove unused variable.
2034 * varasm.c (initializer_constant_valid_p): Fix parenthesis.
2036 * gensupport.c (process_rtx): Fix macros used.
2038 2000-05-03 Richard Henderson <rth@cygnus.com>
2040 * flow.c (propagate_one_insn): Also don't PROP_REG_INFO for
2041 call-clobbered registers of a call.
2043 Wed May 3 12:40:53 2000 Clinton Popetz <cpopetz@cygnus.com>
2045 * gensupport.c: New file.
2046 * gensupport.h: New file.
2047 * Makefile.in (HOST_RTL): Depend on gensupport.
2048 (gensupport.o) New rule.
2049 * genattr.c: Use gensupport for reading .md files.
2050 * genattrtab.c: Ditto.
2051 * gencodes.c: Ditto.
2052 * genconfig.c: Ditto.
2054 * genextract.c: Ditto.
2055 * genflags.c: Ditto.
2056 * genopinit.c: Ditto.
2057 * genoutput.c: Ditto.
2059 * genrecog.c: Ditto.
2060 * rtl.def (define_insn_and_split): New DEF_RTL_EXPR.
2061 * md.texi (Insn Splitting): Document define_insn_and_split.
2063 Tue May 2 00:20:30 2000 Jason Eckhardt <jle@cygnus.com>
2065 * flow.c (verify_flow_info): Added two more sanity checks. The
2066 first checks that the blocks are numbered consecutively. The second
2067 checks that n_basic_blocks is actually equal to the number of
2068 basic blocks in the insn chain.
2070 2000-05-03 Zack Weinberg <zack@wolery.cumb.org>
2072 * cpplib.h: Add accessor macros for token lists.
2073 * cpplib.c, cpphash.c, cpplex.c: Use them.
2075 Wed May 3 09:29:17 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
2077 * expr.c (expand_expr, case COMPONENT_REF): Don't check for checking
2078 memory usage if not in a function.
2079 * varasm.c (initializer_constant_valid_p, case ADDR_EXPR): Only
2080 return address if static.
2082 Wed May 3 13:14:49 MET DST 2000 Jan Hubicka <jh@suse.cz>
2084 * ifcvt.c (noce_try_cmove_arith): Use may_trap_p to thest
2085 whether address may trap.
2087 Tue May 2 23:38:37 2000 Jason Eckhardt <jle@cygnus.com>
2089 * bb-reorder (chain_reorder_blocks): Changed code to test for
2090 EDGE_FALLTHRU rather than making erroneous assumption that the
2091 first outgoing edge is the fall-through edge.
2093 Tue May 2 18:20:31 2000 Donald Lindsay <dlindsay@hound.cygnus.com>
2095 * config/mips/mips.c (mips_build_va_list,mips_va_start,mips_va_arg): new
2096 ABI for varargs, across all MIPS. This is incompatible because the
2097 va_list (__builtin_va_list) structure is different, so a compilation
2098 unit passing a va_list and a compilation unit being passed one, should
2099 both be compiled with the same ABI. (The old structure had two
2100 pointers, now it has three.)
2102 Tue May 2 19:18:43 2000 Jason Eckhardt <jle@cygnus.com>
2104 * bb-reorder.c (struct reorder_block_def): Remove members end,
2105 block_begin, and block_end.
2106 (REORDER_BLOCK_OLD_END): Delete.
2107 (REORDER_BLOCK_BEGIN): Delete.
2108 (REORDER_BLOCK_END): Delete.
2109 (chain_reorder_blocks): Remove dead code.
2111 Tue May 2 17:06:53 2000 Jason Eckhardt <jle@cygnus.com>
2113 * bb-reorder.c (remove_scope_notes): Check for both types of scope
2114 notes as the end of a basic block before deleting.
2116 2000-05-02 Mumit Khan <khan@xraylith.wisc.edu>
2118 * final.c (final_start_function): Fix spelling of "necessary".
2120 2000-05-02 Jason Merrill <jason@casey.cygnus.com>
2122 * toplev.c (debug_ignore_block): Return int.
2123 * dwarf2out.c (dwarf2out_ignore_block): Likewise.
2124 * toplev.h, dwarf2out.h: Adjust.
2125 * emit-rtl.c (remove_unnecessary_notes): Test return value.
2127 * emit-rtl.c (remove_unnecessary_notes): Fix spelling of "necessary".
2128 * toplev.c, final.c, rtl.h: Adjust.
2130 2000-05-02 Zack Weinberg <zack@wolery.cumb.org>
2132 * aclocal.m4 (gcc_AC_CHECK_PROG_VER): New macro.
2133 * configure.in: Look for makeinfo in the unified tree, then
2134 for a system makeinfo which is sufficiently new.
2135 * Makefile.in: If configure says makeinfo is too old, don't
2136 build or install Info documentation.
2138 2000-05-02 Zack Weinberg <zack@wolery.cumb.org>
2140 * cpphash.c (collect_params): Fix off-by-one error.
2141 (dump_hash_helper): Dump all four macro nodetypes.
2143 2000-05-02 Jakub Jelinek <jakub@redhat.com>
2145 * cpphash.c (trad_stringify): Adjust p after stringification as
2148 2000-05-02 Zack Weinberg <zack@wolery.cumb.org>
2150 * cpplib.h (CPP_POP, parse_cleanup_t): Delete.
2151 (cpp_buffer): Remove cleanup, seen_eof, manual_pop members.
2153 * cppfiles.c (file_cleanup): Delete.
2154 * cpphash.c (macro_cleanup): Delete.
2155 (collect_objlike_expansion, collect_funlike_expansion,
2156 macarg, scan_arguments): Remove CPP_POP case.
2158 * cpplex.c (null_cleanup): Delete.
2159 (cpp_pop_buffer): Do the work that was done in the cleanups
2160 here. Call _cpp_unwind_if_stack from here.
2161 (_cpp_expand_to_buffer, cpp_scan_buffer_nooutput,
2162 cpp_scan_buffer): Run until we see CPP_EOF and the top of
2163 stack is the buffer _below_ the one we stacked.
2164 (cpp_get_token): Always pop an exhausted buffer. Return
2165 CPP_EOF unless it's a macro buffer. Don't call _cpp_handle_eof.
2166 * cpplib.c (skip_if_group): Don't call cpp_get_token to
2167 increment the line number.
2168 (_cpp_handle_eof): Rename to _cpp_unwind_if_stack.
2170 * fix-header.c (read_scan_file) [parsing getchar()]: Run until
2171 we see CPP_EOF and the top of stack is the buffer _below_ the
2173 * scan-decls.c: Likewise.
2175 2000-05-02 Andrew Haley <aph@cygnus.com>
2177 * config/ia64/ia64.c (ia64_encode_section_info): Handle the case
2178 where this function is called for the second time on a decl that
2179 has had its section info changed in such a way as to move it out
2181 * config/ia64/ia64.h (REDO_SECTION_INFO_P): New definition.
2183 2000-05-01 Richard Henderson <rth@cygnus.com>
2185 * ifcvt.c (dead_or_predicable): Set merge_bb->end to the insn before
2186 the sequence we're moving, not to merge_bb->head.
2188 2000-05-01 Richard Henderson <rth@cygnus.com>
2190 * configure.in (alpha*-*-linux-gnulibc1*) [tmake_file]: Remove
2191 reference to alpha/t-linux.
2192 (alpha*-*-linux-gnu*): Likewise.
2193 * configure: Rebuild.
2195 * calls.c (expand_call): Don't emit reg notes for a sibcall.
2197 * flow.c (calculate_global_regs_live): Skip for_each_successor_phi
2200 * ifcvt.c (if_convert): Only verify_flow_info if ENABLE_CHECKING.
2202 2000-05-01 Jason Merrill <jason@casey.cygnus.com>
2204 * integrate.c (copy_decl_for_inlining): Copy TREE_READONLY and
2207 2000-05-01 Richard Henderson <rth@cygnus.com>
2209 * ifcvt.c (noce_emit_cmove): Conditionally compile call to
2210 emit_conditional_move.
2212 2000-05-01 Jakub Jelinek <jakub@redhat.com>
2214 * config/ia64/linux.h (LINK_SPEC): Use /lib/ld-linux-ia64.so.1
2215 as the dynamic linker.
2217 2000-05-01 Zack Weinberg <zack@wolery.cumb.org>
2219 * cppfiles.c (open_include_file): Open file in blocking mode.
2220 (read_include_file): Don't fcntl(fd, F_SETFL, 0) anymore.
2221 Only exclude block devices and directories.
2223 * cpphash.c (_cpp_make_hashnode): Rename make_HASHNODE, now
2224 static. Allocate the hashnode and its string in the same
2226 (del_HASHNODE): Don't free h->name.
2227 (_cpp_lookup): If there is no entry for this string, create
2228 one, of type T_VOID.
2229 (_cpp_lookup_slot): Delete.
2230 * cpphash.h: Update prototypes.
2232 * cpplex.c (maybe_macroexpand): Check for hp->type == T_VOID,
2234 * cpplib.c (do_define, do_undef, do_pragma_poison, do_assert,
2235 do_unassert, cpp_defined): Use _cpp_lookup. Don't create a
2236 node here, just fill in the value field properly. "Delete"
2237 entries by setting the value field to T_VOID. Check for
2238 hp->type == T_VOID, not hp == NULL.
2240 * Makefile.in (cpplib.o): Don't depend on $(HASHTAB_H).
2241 * cpperror.c, cppexp.c, cpplex.c, cpplib.c: Don't include
2244 2000-05-01 Alexandre Oliva <aoliva@cygnus.com>
2246 * config/mn10300/mn10300.c (print_operand_address): Do not add
2249 * config/mn10300/mn10300.c (expand_epilogue): If SP is to be
2250 adjusted by less than 256 bytes, use ret regardless of having any
2251 callee-saved register to restore.
2253 2000-05-01 Laurynas Biveinis <lauras@softhome.net>
2255 * tm.texi (TARGET_HAS_F_SETFLKW): Fix typo.
2257 2000-05-01 Mark Elbrecht <snowball3@bigfoot.com>
2259 * config/i386/djgpp.h (INT_ASM_OP): Define.
2260 (CPP_PREDEFINES): Rename MSDOS to __MSDOS__.
2261 (ASM_WEAKEN_LABEL): Define.
2262 (MASK_BNU210): Define.
2263 (SUBTARGET_SWITCHES): Define.
2264 (SUPPORTS_WEAK, SUPPORTS_ONE_ONLY): Define.
2265 (MAKE_DECL_ONE_ONLY): Define.
2266 (UNIQUE_SECTION_P, UNIQUE_SECTION): Define.
2268 2000-05-01 Mumit Khan <khan@xraylith.wisc.edu>
2270 * i386/cygwin.h (INT_ASM_OP): Define.
2272 Mon May 1 18:20:06 2000 Denis Chertykov <denisc@overta.ru>
2274 * config/avr/avr.c (address_cost): renamed to avr_address_cost.
2275 * config/avr/avr.h (ADDRESS_COST): use avr_address_cost.
2277 Mon May 1 17:50:44 2000 Denis Chertykov <denisc@overta.ru>
2279 * config/avr/avr.c (asm_file_start): output 0 as r0 and 1 as r1 in
2280 __tmp_reg__ and __zero_reg__ initialization.
2282 2000-04-30 Richard Henderson <rth@cygnus.com>
2284 * flow.c (propagate_one_insn): Mark sets even when the insn is dead.
2286 * ifcvt.c (noce_process_if_block): Fail the conversion if X is
2287 referenced bewteen the condition and the jump. Don't delete
2288 anything but the jump.
2290 Sun Apr 30 22:48:24 2000 Jason Eckhardt <jle@cygnus.com>
2292 * bb-reorder.c (scope_def): New struct.
2293 (scope_forest_info): New struct.
2294 (struct reorder_block_def): New member "scope".
2295 (REORDER_BLOCK_SCOPE): New macro.
2296 (relate_bbs_with_scopes): New function and prototype.
2297 (make_new_scope): Likewise.
2298 (build_scope_forest): Likewise.
2299 (remove_scope_notes): Likewise.
2300 (insert_intra_1): Likewise.
2301 (insert_intra_bb_scope_notes): Likewise.
2302 (insert_inter_bb_scope_notes): Likewise.
2303 (rebuild_scope_notes): Likewise.
2304 (free_scope_forest_1): Likewise.
2305 (free_scope_forest): Likewise.
2306 (dump_scope_forest): Likewise.
2307 (dump_scope_forest_1): Likewise.
2308 (chain_reorder_blocks): Set REORDER_BLOCK_SCOPE for new block.
2309 Update REORDER_BLOCK_EFF_HEAD and REORDER_BLOCK_EFF_END for new
2311 (reorder_basic_blocks): Added calls to build_scope_scope_forest
2312 and remove_scope_notes before reordering is done. Added calls to
2313 rebuild_scope_notes, free_scope_forest, and reorder_blocks after
2314 after reordering is done.
2316 2000-40-30 Bruce Korb <bkorb@gnu.org>
2318 * fixinc/inclhack.def: Added definitions needed by OSR5,
2319 removed two stale entries (defined away with OLD_CPP).
2320 * fixinc/inclhack.sh: regen
2321 * fixinc/fixincl.x: regen
2323 2000-04-30 Richard Henderson <rth@cygnus.com>
2325 * ifcvt.c (dead_or_predicable): Manually squeeze non-movable notes
2326 from the last insn in the sequence.
2328 2000-04-30 Zack Weinberg <zack@wolery.cumb.org>
2330 * cpplex.c (cpp_idcmp): New function.
2331 * cpplib.h: Prototype it.
2332 * scan_decls.c (scan_decls): Use it to inspect token names.
2333 * fix-header.c (read_scan_file): Likewise. Set system_header_p on
2334 the file being run through the preprocessor.
2335 (check_macro_names): Provide length of token to cpp_defined.
2337 * Makefile.in: Remove stale warning message.
2339 * cppfiles.c (redundant_include_p): Provide length of token to
2341 * cpphash.c (_cpp_make_hashnode, _cpp_lookup_slot): Hash
2342 values are unsigned int.
2343 (_cpp_lookup, _cpp_lookup_slot): Do not calculate the length.
2344 (_cpp_lookup_slot): Do not calculate the hash, either.
2345 * cpphash.h: Update prototypes.
2346 * cpplib.c (do_define, do_undef, do_pragma_poison, do_assert):
2347 Hashes are unsigned int. Calculate hash here, pass by value
2348 to _cpp_lookup_slot.
2350 2000-04-30 Bernd Schmidt <bernds@cygnus.co.uk>
2352 * simplify-rtx.c (check_value_useless): Delete function.
2353 (discard_useless_locs): Don't call it; manage N_USELES_VALUES counter
2355 (cselib_invalidate_regno): Likewise.
2356 (cselib_invalidate_mem_1): Likewise.
2357 (references_value_p): Recognize useless values by the fact that they
2359 (discard_useless_values): Likewise.
2360 (cselib_record_set): This may turn a useless value
2363 2000-04-30 Richard Henderson <rth@cygnus.com>
2365 * config/d30v: New port.
2367 * configure.in (d30v-*): Set fp format.
2368 * configure: Rebuild.
2370 2000-04-30 Richard Henderson <rth@cygnus.com>
2372 * ifcvt.c: New file.
2373 * Makefile.in (OBJS): Add it.
2374 (ifcvt.o): New target.
2375 * jump.c (jump_optimize_1): Remove all code related to if-conversion,
2376 and conditional arithmetic.
2377 (find_insert_position): Remove.
2378 * timevar.def (TV_IFCVT, TV_IFCVT2): New.
2379 * toplev.c (DFI_ce, DFI_ce2): New.
2380 (dump_file): Add ce and ce2 dumps.
2381 (rest_of_compilation): Run if_convert a couple o times. Set
2382 cse_not_expected after cse2. Don't set no_new_pseudos until
2383 after sched1 or recompute_reg_usage.
2385 2000-04-30 Richard Henderson <rth@cygnus.com>
2387 * config/alpha/t-crtbe (crtbegin.o): Add "-I.".
2388 (crtend.o, crtbeginS.o, crtendS.o): Likewise.
2390 2000-04-30 Richard Henderson <rth@cygnus.com>
2392 * flow.c (struct reg_cond_life_info): New.
2393 (struct propagate_block_info): Add reg_cond_dead and reg_cond_reg.
2394 (init_propagate_block_info): Initialize them.
2395 (free_propagate_block_info): Destruct them.
2396 (mark_set_1): Consider conditional life before killing a register.
2397 (mark_regno_cond_dead): New.
2398 (free_reg_cond_life_info): New.
2399 (flush_reg_cond_reg_1, flush_reg_cond_reg): New.
2400 (ior_reg_cond, not_reg_cond, nand_reg_cond): New.
2401 (mark_used_reg): Record conditional life.
2403 * haifa-sched.c (schedule_insns): Disable death counting
2404 sanity check for HAVE_conditional_execution.
2406 2000-04-30 Richard Henderson <rth@cygnus.com>
2408 * Makefile.in (TIMEVAR_H): New.
2409 (ggc-simple.o, ggc-page.o, toplev.o, timevar.o): Use it.
2410 (timevar.h): Remove rule.
2412 2000-04-29 Richard Henderson <rth@cygnus.com>
2414 * config/alpha/crtend.asm: Use C comments instead of #.
2415 * config/alpha/crtbegin.asm: Likewise. Mark __dso_handle hidden.
2417 * config/alpha/elf.h (SELECT_SECTION): Treat CONSTRUCTOR like VAR_DECL.
2419 2000-04-29 Zack Weinberg <zack@wolery.cumb.org>
2421 * cpphash.h (enum node_type: Take out T_MCONST.
2422 (union hashval): Move into struct hashnode.
2423 (struct hashnode): Pack tighter. Remove file, line, col
2425 * cpphash.c: Constify most of the macro-definition structures.
2426 (struct definition): Replace by struct object_defn
2427 and struct funct_defn. Put file, line, column information
2428 here. All users updated to match.
2429 (_cpp_create_definition, _cpp_macroexpand): Remove special
2430 case for #define WORD OTHERWORD.
2431 * cpplib.c (do_undef): Remove T_MCONST case.
2433 * cpphash.h: Move struct reflist, struct definition, and the
2434 DEFINITION typedef to cpphash.c. Use 'struct definition *' in
2435 union hashval. _cpp_free_definition takes a HASHNODE pointer.
2436 * cpphash.c (_cpp_free_definition): Free data pointed to by
2437 MCONST, XCONST, MACRO, and FMACRO nodes properly.
2438 (_cpp_create_definition, del_HASHNODE): Just call
2439 _cpp_free_definition to clear out a hashnode.
2440 * cpplib.c (do_pragma_poison): Likewise.
2442 Sat Apr 29 12:25:17 2000 Alexandre Oliva <aoliva@cygnus.com>
2444 * config/mn10300/mn10300.h (FIRST_DATA_REGNUM,
2445 LAST_DATA_REGNUM, FIRST_ADDRESS_REGNUM, LAST_ADDRESS_REGNUM,
2446 FIRST_EXTENDED_REGNUM, LAST_EXTENDED_REGNUM): New macros.
2447 (REGNO_SP_P): Redefine in terms of STACK_POINTER_REGNUM.
2448 (REGNO_DATA_P, REGNO_ADDRESS_P, REGNO_EXTENDED_P,
2449 REGNO_AM33_P): Redefine in terms of the new macros.
2450 (CONDITIONAL_REGISTER_USAGE, REGNO_REG_CLASS): Likewise.
2451 (FUNCTION_VALUE, LIBCALL_VALUE, FUNCTION_VALUE_REGNO_P,
2452 STRUCT_VALUE): Likewise.
2453 (STACK_POINTER_REGNUM, FRAME_POINTER_REGNUM,
2454 ARG_POINTER_REGNUM, STATIC_CHAIN_REGNUM): Likewise. Moved.
2456 Sat Apr 29 01:18:45 MET DST 2000 Jan Hubicka <jh@suse.cz>
2458 * regmove.c (struct record_stack_memrefs_data): New.
2459 (record_stack_memrefs): New function.
2460 (combine_stack_adjustments_for_block): Use it.
2462 Sat Apr 29 01:15:27 MET DST 2000 Jan Hubicka <jh@suse.cz>
2464 * calls.c (calls_function_1): Propertly handle TREE_LIST expressions;
2465 use special_function_p to detect alloca.
2467 Fri Apr 28 16:30:33 2000 Marc Espie <espie@cvs.openbsd.org>
2469 * gcc.texi: Fixes for makeinfo 4.0 --html.
2471 2000-04-28 Zack Weinberg <zack@wolery.cumb.org>
2473 * pcp.h: Delete file.
2475 2000-04-28 Kazu Hirata <kazu@hxi.com>
2477 * h8300.c (function_epilogue): Clean up flags when the last insn
2478 in a function is a barrier.
2480 2000-04-28 Chris Demetriou <cgd@sibyte.com>
2482 * configure.in (sparc-hal-solaris2*): protect [] glob from
2484 (mips*-*-ecoff*, mips*-*-elf*, mips*-*-*): use MASK_ defines
2485 rather than hard-coded constants in target_cpu_default2.
2486 * configure: Regenerate.
2488 2000-04-28 Jason Merrill <jason@casey.cygnus.com>
2490 * tree.c (get_callee_fndecl): Extract the initial value from
2493 2000-04-28 Richard Henderson <rth@cygnus.com>
2495 * varasm.c (record_constant_1): Record the CODE_LABEL when
2496 taking the address of a LABEL_REF.
2498 2000-04-28 Richard Henderson <rth@cygnus.com>
2499 Jan Hubicka <jh@suse.cz>
2501 * calls.c (combine_pending_stack_adjustment_and_call): Return the
2502 adjustment; don't do the stack adjust.
2503 (expand_call): Call compute_argument_block_size right before
2504 allocating the block; update comment; don't do alignment sanity
2505 checking for sibling call; use args_size instead of
2506 unadjusted_args_size before args_size is adjusted. Use
2507 combine_pending_stack_adjustment_and_call to compute stack adjust
2508 for must_preallocate case.
2510 * expr.c (push_block): Remove shadow `temp' in inner scope.
2512 2000-04-28 Jason Merrill <jason@casey.cygnus.com>
2514 * toplev.c (rest_of_compilation): Call
2515 note_deferral_of_defined_inline_function even if the function
2518 2000-04-28 Scott Bambrough <scottb@netwinder.org>
2520 * cpplex.c (_cpp_scan_line): Fix buffer overwrite.
2522 2000-04-28 Richard Henderson <rth@cygnus.com>
2524 * toplev.c (rest_of_type_compilation): Fix sdb TIMEVAR typo.
2526 2000-04-28 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2528 * timevar.c (init_timevar): DeANSIfy function definition.
2530 2000-04-27 Alex Samuel <samuel@codesourcery.com>
2532 * Makefile.in (timevar.o): Depend on flags.h.
2533 * timevar.c (unused_stack_instances): New variable.
2534 (timevar_push): Take a timevar_stack_def from
2535 unused_stack_instances if available.
2536 (timevar_pop): Push the popped timevar_stack_def onto
2537 unused_stack_instances.
2538 (TIMEVAR_ENABLE): New macro.
2539 (timevar_def): Make standalone a 1-bit field. Add field used.
2540 (get_time): Rename parameter to now. Return after clearing it if
2542 (init_timevar): Do nothing if not TIMEVAR_ENABLE.
2543 (timevar_pop): Likewise.
2544 (timevar_stop): Likewise.
2545 (timevar_push): Likewise. Mark the timing variable as used.
2546 (timevar_start): Likewise.
2547 (timevar_print): Do nothing if not TIMEVAR_ENABLE. Don't print
2548 timevars that were never used.
2550 2000-04-27 Mark Mitchell <mark@codesourcery.com>
2552 * c-common.c (c_apply_type_quals_to_decl): REFERENCE_TYPES are
2553 always TREE_READONLY.
2555 2000-04-27 Ulrich Drepper <drepper@cygnus.com>
2557 * i386.h (FUNCTION_BLOCK_PROFILER_EXIT): Generate mem reference
2558 for call instruction with mode QImode.
2560 2000-04-27 Alex Samuel <samuel@codesourcery.com>
2562 * Makefile.in (OBJS): Add timevar.o.
2563 (toplev.o): Depend on timevar.h.
2564 (ggc-simple.o): Likewise.
2565 (ggc-page.o): Likewise.
2566 (timevar.o): New rule.
2567 (timevar.h): New rule.
2569 * timevar.h: New file.
2570 * timevar.c: Likewise.
2571 * timevar.def: Likewise.
2573 * toplev.h (gc_time, parse_time, varconst_time): Remove.
2574 * toplev.c: Use timevar_push and timevar_pop instead of TIMEVAR
2576 (TIMEVAR): Remove macro.
2577 (gc_time, parse_time, varconst_time, integration_time, jump_time,
2578 cse_time, gcse_time, loop_time, cse2_time, branch_prob_time,
2579 flow_time, combine_time, regmove_time, sched_time,
2580 local_alloc_time, global_alloc_time, flow2_time, peephole2_time,
2581 sched2_time, dbr_sched_time, reorder_blocks_time,
2582 rename_registers_time, shorten_branch_time, stack_reg_time,
2583 to_ssa_time, from_ssa_time, final_time, symout_time, dump_time,
2585 (compile_file): Don't initialize time variables. Call
2586 init_timevar and start TV_TOTAL timer. Call timevar_print instead
2587 of many calls to print_time.
2588 (rest_of_compilation): Add timing for reload_cse_regs.
2589 (get_run_time): Removed to timevar.c.
2590 (print_time): Likewise.
2591 (get_run_time): Implement using TV_TOTAL time variable.
2592 (print_time): Get total run time from get_run_time.
2593 * ggc-page.c (ggc_collect): Push and pop TV_GC instead of
2594 computing elapsed time explicitly.
2595 * ggc-simple.c (ggc_collect): Likewise.
2596 (gc_time): Remove declaration.
2598 2000-04-27 Mark Mitchell <mark@codesourcery.com>
2600 * calls.c (combine_pending_stack_adjustment_and_call): New function.
2601 (expand_call): Use it.
2603 2000-04-27 Jan Hubicka <jh@suse.cz>
2605 * flow.c (mark_set_1): Handle MEMs in ZERO_EXTRACT/SIGN_EXTRACT
2608 Thu Apr 27 12:47:00 2000 Alexandre Oliva <aoliva@cygnus.com>
2610 * config/mn10300/mn10300.md (movhi): Simplify. Prefer data
2613 Thu Apr 27 17:33:05 MET DST 2000 Jan Hubicka <jh@suse.cz>
2615 * function.c (epilogue_done): Pass whole insn to record_insns.
2617 Thu Apr 27 16:55:28 MET DST 2000 Jan Hubicka <jh@suse.cz>
2619 * cse.c (CSE_ADDRESS_COST): Remove.
2620 (find_best_addr): Add new parameter "MODE", use address_cost instead
2622 (address_cost): New.
2623 (fold_rtx): Update call of find_best_addr.
2624 * rtl.h (address_cost): Declare.
2625 * loop.c (general_induction_var): Add new parameter "MODE", use
2626 address_cost instead of ADDRESS_COST
2627 (init_loop): Use address_cost instead of ADDRESS_COST.
2628 (check_insn_for_givs): Update call of general_induction_var.
2629 (find_mem_givs): Likewise.
2630 (consec_sets_giv): Likewise.
2631 * config/i386/i386.h (ADDRESS_COST): Call ix86_address_cost.
2632 * i386.c (ix86_address_cost): New.
2633 * i386-protos.h (ix86_address_cost): Declare.
2635 Thu Apr 27 11:45:16 2000 Alexandre Oliva <aoliva@cygnus.com>
2637 * config/mn10300/mn10300.md (movqi): Simplify. Prefer data
2640 Thu Apr 27 16:11:00 MET DST 2000 Jan Hubicka <jh@suse.cz>
2642 * expr.c (store_expr): Use clear_storage instead of direct memset
2645 Thu Apr 27 10:36:51 2000 Alexandre Oliva <aoliva@cygnus.com>
2647 * config/mn10300/mn10300.c (mn10300_address_cost): Test
2648 ASHIFT, AND and LABEL_REF.
2650 Thu Apr 27 15:08:46 MET DST 2000 Jan Hubicka <jh@suse.cz>
2652 * invoke.texi (-foptimize-sibling-calls): Fix.
2654 Thu Apr 27 14:54:22 MET DST 2000 Jan Hubicka <jh@suse.cz>
2656 * loop.c (load_mems) Don't use hard registers for the hoisting.
2658 * unroll.c (unroll_loop): Avoid overflow in the n_iterations
2659 calculation; rename const_equiv array in the preconditioning code
2660 from loop_unroll to loop_unroll_precondition
2662 2000-04-27 Richard Henderson <rth@cygnus.com>
2664 * flow.c (struct propagate_block_info): Remove new_dead, new_live;
2666 (propagate_one_insn): Clear it. Don't update reg_live here.
2667 (init_propagate_block_info): Update for pbi member changes.
2668 (free_propagate_block_info): Likewise.
2669 (mark_set_1): Know that zero_extract, sign_extract, and
2670 strict_low_part don't kill their argument. Alter hard subregs.
2671 Update new_set for non-CLOBBER sets. Update reg_live.
2672 (find_auto_inc): Update reg_live, not new_dead.
2673 (mark_used_reg): Update reg_live, not new_live. Examine new_set
2674 to determine if the reg in question was set this insn. Only update
2675 reg info with PROP_REG_INFO.
2677 2000-04-26 Richard Henderson <rth@cygnus.com>
2679 * flow.c (allocate_reg_life_data): Set max_regno here ...
2680 (life_analysis): ... not here.
2682 * flow.c (calculate_global_regs_live): Force stack pointer
2685 2000-04-26 Richard Henderson <rth@cygnus.com>
2687 * jump.c (redirect_exp_1): Rework from old redirect_exp. Never
2688 commit change group changes.
2689 (invert_exp_1): Similarly.
2690 (redirect_exp, invert_exp): Use them.
2691 (redirect_jump_1): New.
2692 (invert_jump_1): New.
2693 (jump_optimize_1): Remove code subsumed by condexec.c.
2694 * rtl.h (invert_jump_1, redirect_jump_1): Declare.
2696 2000-04-26 Richard Henderson <rth@cygnus.com>
2698 * rtlanal.c (dead_or_set_regno_p): Use find_regno_note.
2700 * genconfig.c (main): Set all HAVE_foo to 1.
2702 * graph.c (node_data): Use GET_NOTE_INSN_NAME instead of local array.
2704 2000-04-26 Alex Samuel <samuel@codesourcery.com>
2706 * invoke.texi: Document -fssa flag.
2708 2000-04-26 Richard Henderson <rth@cygnus.com>
2710 * flow.c (count_reg_sets_1): Remove.
2711 (count_reg_sets, count_reg_references): Remove.
2712 (recompute_reg_usage): Implement with update_life_info.
2713 Reallocate life data.
2715 2000-04-26 Richard Henderson <rth@cygnus.com>
2717 * flow.c (update_life_info): Consider blocks null to mean the
2719 (calculate_global_regs_live): Likewise.
2720 (life_analysis): Do that instead of collecting all_blocks.
2722 2000-04-26 Richard Henderson <rth@cygnus.com>
2724 * flow.c (tidy_fallthru_edge): Don't delete the jump when it's
2725 a still-valid conditional jump.
2727 2000-04-26 Richard Henderson <rth@cygnus.com>
2729 * jump.c (invert_jump): Always invert REG_BR_PROB. Do it correctly.
2731 * bb-reorder.c (reorder_basic_blocks): Don't run estimate_probability.
2732 * flow.c (calculate_loop_depth): Remove.
2733 * output.h (calculate_loop_depth): Don't declare.
2734 * toplev.c (rest_of_compilation): Expand calculate_loop_depth
2735 inline; run estimate_probability at the same time.
2737 2000-04-26 Neil Booth <NeilB@earthling.net>
2739 * cpplib.h: "~=" is not a single pp-token.
2740 * cpplex.c: Correct commentary.
2742 2000-04-26 Richard Henderson <rth@cygnus.com>
2744 * flow.c (mark_set_1): New arguments code and flags; update all
2745 callers. Track regno_first and regno_last; do HARD_REGNO_NREGS
2746 test in one place. Tidy flags tests. Don't bias REG_N_REFS by
2747 loop_depth when optimizing for size. Do new_dead update after
2748 emitting REG_UNUSED notes. Merge mark_set_reg code.
2749 (mark_set_reg): Remove.
2750 (propagate_one_insn): Use mark_set_1 for call-clobbered registers;
2751 arrange to not emit REG_UNUSED notes.
2753 2000-04-26 Richard Henderson <rth@cygnus.com>
2755 * flow.c (find_auto_inc): Use pbi->bb instead of BLOCK_FOR_INSN.
2756 * ssa.c (convert_from_ssa): Don't run compute_bb_for_insn.
2758 2000-04-26 Richard Henderson <rth@cygnus.com>
2760 * flow.c (propagate_one_insn): Break out from propagate_block.
2761 (init_propagate_block_info): Likewise.
2762 (free_propagate_block_info): Likewise.
2763 (propagate_block): Use them. Export.
2764 * basic-block.h: Declare them all.
2766 2000-04-26 Richard Henderson <rth@cygnus.com>
2768 * basic-block.h (life_analysis): Declare here ...
2769 * output.h: ... not here.
2770 * flow.c (life_analysis): Remove nregs parameter; replace
2771 remove_dead_code with flags. Remove ssa dead code check.
2772 Only init alias analysis if we'll use it.
2773 * reg-stack.c (reg_to_stack): Update life_analysis arguments.
2774 * ssa.c (convert_to_ssa): Likewise.
2775 (convert_from_ssa): Likewise.
2776 * toplev.c (rest_of_compilation): Likewise.
2778 2000-04-26 Richard Henderson <rth@cygnus.com>
2780 * flow.c (flow_delete_block): Rename from delete_block. Export.
2781 * basic-block.h (flow_delete_block): Declare.
2783 2000-04-26 David S. Miller <davem@redhat.com>
2785 * optabs.c (emit_libcall_block): Verify insns with INSN_P before
2786 taking a PATTERN of it.
2788 2000-04-26 <NeilB@earthling.net>
2790 * cpplex.c (spell_other, spell_char): Remove.
2792 (token_spelling, trigraph_map): Use unsigned chars.
2793 (_cpp_lex_line): Tidy up the switch statement.
2794 * cpplib.h: Implement spell_char with spell_string.
2797 2000-04-26 <RodneyBrown@pmsc.com>
2799 * pa/pa32-regs.h (HARD_REGNO_MODE_OK): Warning removal.
2800 * pa/pa64-regs.h (HARD_REGNO_MODE_OK): Warning removal.
2802 2000-04-26 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2804 * dwarf2out.c (dw_cfi_oprnd_struct, dw_fde_struct, add_fde_cfi,
2805 reg_save, dwarf2out_frame_debug_expr, dwarf2out_def_cfa,
2806 dwarf2out_window_save, dwarf2out_args_size, dwarf2out_reg_save,
2807 dwarf2out_return_save, dwarf2out_return_reg,
2808 dwarf2out_stack_adjust, dwarf2out_frame_debug, primary_filename,
2809 add_AT_lbl_id, add_AT_lbl_offset, type_tag, decl_start_label,
2810 gen_compile_unit_die, dwarf2out_init): Constify a char*.
2812 * dwarf2out.h (dwarf2out_init): Likewise.
2814 * dwarfout.c (filename_entry, primary_filename, last_filename,
2815 type_tag, output_compile_unit_die, dwarfout_init): Likewise.
2817 * tree.h (dwarf2out_def_cfa, dwarf2out_window_save,
2818 dwarf2out_args_size, dwarf2out_reg_save, dwarf2out_return_save,
2819 dwarf2out_return_reg): Likewise.
2821 2000-04-26 Andreas Jaeger <aj@suse.de>
2823 * extend.texi (Function Attributes): Fix description of pure
2826 2000-04-26 Jason Merrill <jason@casey.cygnus.com>
2828 * integrate.c (output_inline_function): Do clear DECL_DEFER_OUTPUT
2829 before calling rest_of_compilation.
2831 2000-04-26 Andreas Jaeger <aj@suse.de>
2833 * config/mips/linux.h: Remove erroneous commit of #if 0/#endif in
2836 2000-04-25 Richard Henderson <rth@cygnus.com>
2838 * cse.c (cse_insn): Emit barrier after unconditional jump.
2840 * calls.c (expand_call): Disable tail call generation once
2841 rtx_equal_function_value_matters is false.
2843 * reg-stack.c (convert_regs_1): Treat EDGE_ABNORMAL_CALL edges
2846 2000-04-25 Jason Merrill <jason@casey.cygnus.com>
2848 * dwarf2out.c (add_bound_info): Don't crash on an unexpanded SAVE_EXPR.
2850 * dwarfout.c (output_decl): Ignore NAMESPACE_DECLs.
2852 * dwarf2out.c (gen_subprogram_die): The class-scope declaration DIE
2853 is the primary DIE for a member function.
2854 (gen_decl_die): Call set_decl_origin_self here.
2855 * dwarfout.c (output_decl): And here.
2856 * integrate.c (output_inline_function): Not here.
2857 Don't clear DECL_INLINE until after calling rest_of_compilation.
2858 (set_decl_origin_self): No longer static.
2859 * tree.h: Add prototype.
2860 * toplev.c (note_deferral_of_defined_inline_function): Only write
2861 out abstract instance for actual inlines.
2863 2000-04-25 Alexandre Oliva <aoliva@cygnus.com>
2865 * config/mn10300/mn10300.h (REG_CLASS_FROM_LETTER): Return
2866 EXTENDED_REGS only if TARGET_AM33.
2867 * config/mn10300/mn10300.md (movsi, addsi): Avoid exposing
2868 SP_REGS to register allocation and reloading unless absolutely
2870 (movsi3): Remove special-case of adding non-constants to SP.
2872 2000-04-25 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2874 * aclocal.m4 (gcc_AC_NEED_DECLARATION): This macro now requires
2875 INCLUDES to search and does not provide any of its own. Also it
2876 now accepts optional ACTION-IF-NEEDED and ACTION-IF-NOT-NEEDED
2877 parameters. Also it does not call AC_DEFINE.
2878 (gcc_AC_NEED_DECLARATIONS): Likewise. Also this macro now calls
2879 AC_DEFINE and provides for automatic entries for autoheader.
2880 (gcc_AC_FUNC_PRINTF_PTR): Cleanup C code in test.
2882 * configure.in (gcc_AC_NEED_DECLARATIONS): Save and restore CFLAGS
2883 so we can pass -I flags and include gansidecl.h/system.h in this
2886 * acconfig.h: Delete all NEED_DECLARATION_* entries.
2888 2000-04-25 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2890 * acconfig.h (ENABLE_STD_NAMESPACE, ENABLE_CHECKING,
2891 ENABLE_TREE_CHECKING, ENABLE_RTL_CHECKING, ENABLE_GC_CHECKING,
2892 ENABLE_GC_ALWAYS_COLLECT): Delete entries.
2894 * configure.in (ENABLE_STD_NAMESPACE, ENABLE_CHECKING,
2895 ENABLE_TREE_CHECKING, ENABLE_RTL_CHECKING, ENABLE_GC_CHECKING,
2896 ENABLE_GC_ALWAYS_COLLECT): Use three argument form of AC_DEFINE
2897 for these macros. Clean up spacing and linewraps.
2899 2000-04-26 Jason Merrill <jason@casey.cygnus.com>
2901 * calls.c (expand_call): Use get_callee_fndecl.
2903 * print-tree.c (print_node): Print the chain of an _EXPR.
2905 Tue Apr 25 16:16:04 2000 Andrew MacLeod <amacleod@cygnus.com>
2906 Jim Wilson <wilson@cygnus.com>
2907 Andrew Haley <aph@cygnus.com>
2909 * config/ia64/crtbegin.asm: Add IA-64 unwind support. Correct alloc
2910 and gp save/restore problems.
2911 * config/ia64/crtend.asm: Add IA-64 unwind support.
2912 * config/ia64/ia64.c (ia64_compute_frame_size): Don't include pr_size
2913 in fr_pad_size calculation.
2914 (save_restore_insns): Move PR save area. Correct uses of
2915 RTX_FRAME_RELATED_P.
2916 (ia64_expand_prologue): Mark alloc with RTX_FRAME_RELATED_P.
2917 (ia64_expand_epilogue): Add eh_epilogue support.
2918 (ia64_function_prologue): Emit .prologue directive.
2919 (ia64_init_machine_status, ia64_mark_machine_status): New functions.
2920 (ia64_override_options): Set init_machine_status and
2921 mark_machine_status.
2922 (rtx_needs_barrier): Handle bsp reads and writes.
2923 (spill_offset, sp_offset, spill_offset_emitted, tmp_reg, tmp_saved):
2924 New static variables.
2925 (process_set, process_for_unwind_directive): New functions.
2926 * config/ia64/ia64.h (ASM_OUTPUT_XDATA_CHAR, ASM_OUTPUT_XDATA_SHORT,
2927 ASM_OUTPUT_XDATA_INT, ASM_OUTPUT_XDATA_DOUBLE_INT, ASM_OUTPUT_EH_CHAR,
2928 ASM_OUTPUT_EH_SHORT, ASM_OUTPUT_EH_INT, ASM_OUTPUT_EH_DOUBLE_INT): New
2930 (EH_FRAME_SECTION_ASM_OP): Define to IA_64.unwind section.
2931 (IA64_UNWIND_INFO, HANDLER_SECTION, IA64_UNWIND_EMIT): Define.
2932 (struct machine_function): Define.
2933 * config/ia64/ia64.md (bsp_value, set_bsp, eh_epilogue): New patterns.
2935 2000-04-25 Bruce Korb <bkorb@gnu.org>
2937 * fixinc/Makefile.in: make the removal of old programs more
2939 * fixinc/mkfixinc.sh: use the two new targets in the Makefile:
2940 install-bin and install-sh
2942 2000-04-25 Nick Clifton <nickc@cygnus.com>
2944 * integrate.c (FUNCTION_ATTRIBUTE_INLINABLE_P): If not
2945 defined, define to return zero.
2946 (function_cannot_inline_p): If a function has any target
2947 specific attributes, then use the macro
2948 FUNCTION_ATTRIBUTE_INLINABLE_P to allow the target to decide
2949 whether it can be inlined. If it cannot, issue a suitable
2952 * tm.texi: Add a new node 'Inlining' to document the new macro
2953 FUNCTION_ATTRIBUTE_INLINABLE_P.
2955 2000-04-25 Zack Weinberg <zack@wolery.cumb.org>
2957 * cpplib.h (struct cpp_buffer): Add 'mapped' flag; fix
2960 2000-04-25 Neil Booth <NeilB@earthling.net>
2962 Restore previous patch, plus the following fixes:
2964 * cpphash.c (_cpp_create_definition): Test PREV_WHITESPACE in
2965 flags, not CPP_OPEN_PAREN.
2966 * cpplex.c (expand_token_space, init_token_list,
2967 cpp_free_token_list): Put the dummy token at list->tokens[-1].
2968 (_cpp_lex_line, _cpp_lex_file): token list is 0-based.
2970 Tue Apr 25 14:06:40 2000 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
2972 * config/i386/freebsd.h (INT_ASM_OP): Define.
2974 Tue Apr 25 14:51:07 MET DST 2000 Jan Hubicka <jh@suse.cz>
2976 * loop.c (strength_reduce): Fix typo in the last checkin.
2978 Tue Apr 25 07:33:12 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
2980 * stor-layout.c (finalize_record_size): Simplify to use existing
2982 (compute_record_mode): No longer static.
2983 * tree.h (compute_record_mode): New declaration.
2985 2000-04-25 Neil Booth <NeilB@earthling.net>
2987 * Revert my patch below until cause of build failures
2990 2000-04-25 Richard Henderson <rth@cygnus.com>
2992 * combine.c (combine_instructions): Add missing argument
2995 * toplev.c (rest_of_compilation): Delay sibcall optimization
2996 until after emit_eh_context.
2998 2000-04-24 Nick Clifton <nickc@redhat.com>
3000 * combine.c (combine_instructions): Do not try to combine a
3001 sequence of insns when the second insn has been replaced by a
3004 Mon Apr 24 17:34:18 2000 Mumit Khan <khan@xraylith.wisc.edu>
3006 * gcc.c (load_specs): New static function.
3007 (read_specs): Use it.
3009 * gcc.c (lookup_compiler): Make multiple passes for case
3010 insensitive filesystems.
3012 2000-04-24 Neil Booth <NeilB@earthling.net>
3014 * cpphash.c: replace HSPACE_BEFORE with PREV_WHITESPACE.
3015 * cpphash.h (_cpp_check_directive): new.
3016 * cpplex.c (handle_newline, cpp_free_token_list,
3017 init_trigraph_map, trigraph_ok, trigraph_replace,
3018 backslash_start, skip_block_comment, skip_line_comment,
3019 skip_whitespace, parse_name, parse_number, parse_string,
3020 copy_comment, _cpp_lex_line, spell_char, spell_string,
3021 spell_comment, spell_name, spell_other, _cpp_lex_file,
3022 _cpp_output_list): new.
3023 (expand_name_space): take length argument.
3024 (init_token_list): add comment list initialisation.
3025 (cpp_scan_line): use auto_expand_name_space. PREV_WHITESPACE
3026 instead of HSPACE_BEFORE.
3028 * cpplib.c (_cpp_check_directive): new
3029 * cpplib.h (cpp_name, PREV_WHITESPACE, PREV_COMMENT,
3030 DIGRAPH, UNSIGNED_INT, TOK_NAME): new.
3031 (HSPACE_BEFORE): delete.
3032 (TTYPE_TABLE): rearrange.
3033 (struct cpp_toklist): update.
3035 2000-04-24 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3037 * aclocal.m4 (gcc_AC_HEADER_STRING, gcc_AC_FUNC_PRINTF_PTR,
3038 gcc_AC_C_VOLATILE, gcc_AC_FUNC_MKDIR_TAKES_ONE_ARG): Use the three
3039 argument form of AC_DEFINE.
3041 * configure.in (DEFAULT_LINKER, DEFAULT_ASSEMBLER,
3042 HAVE_INTTYPES_H, PACKAGE, VERSION, ENABLE_WIN32_REGISTRY,
3043 WIN32_REGISTRY_KEY, HAVE_GAS_SUBSECTION_ORDERING, HAVE_GAS_WEAK,
3044 HAVE_GAS_HIDDEN, HAVE_AS_REGISTER_PSEUDO_OP, AS_SPARC64_FLAG,
3045 HAVE_AS_OFFSETABLE_LO10, ENABLE_NEW_GXX_ABI): Likewise.
3047 * acconfig.h: Delete stubs made redundant by 3-arg AC_DEFINE.
3049 2000-04-24 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3051 * Makefile.in (GCC_FOR_TARGET, GCC_CFLAGS, LIBGCC2_INCLUDES,
3052 deduced.h): Use -isystem, not -I, for including system headers.
3054 2000-04-24 Nick Clifton <nickc@cygnus.com>
3056 * config/fr30/fr30.md (addsi3): Do not use small add instruction if
3057 the source register is the frame pointer or arg pointer.
3058 (addsi3_small_int): Disallow if source register is the frame
3059 pointer or arg pointer.
3061 2000-04-24 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3063 * configure.in (ENUM_BITFIELDS_ARE_UNSIGNED): Delete redundant
3064 call to AC_MSG_RESULT.
3066 2000-04-24 Martin v. Löwis <loewis@informatik.hu-berlin.de>
3068 * invoke.texi: Correct grammatical errors, document
3069 -fno-gnu-keywords as identical to -fno-asm for C++.
3071 2000-04-24 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3073 * aclocal.m4: (GCC_HEADER_STRING, GCC_NEED_DECLARATION,
3074 GCC_NEED_DECLARATIONS, GCC_FUNC_VFPRINTF_DOPRNT,
3075 GCC_FUNC_PRINTF_PTR, GCC_PROG_LN_S, GCC_PROG_LN, GCC_C_VOLATILE,
3076 AC_GCC_C_LONG_DOUBLE, GCC_FUNC_MKDIR_TAKES_ONE_ARG,
3077 EGCS_PROG_INSTALL): Rename autoconf macros with prefix gcc_AC_.
3079 * configure.in (AC_GCC_C_LONG_DOUBLE, GCC_PROG_LN, GCC_PROG_LN_S,
3080 GCC_C_VOLATILE, EGCS_PROG_INSTALL, GCC_HEADER_STRING,
3081 GCC_FUNC_VFPRINTF_DOPRNT, GCC_FUNC_PRINTF_PTR,
3082 GCC_NEED_DECLARATIONS, GCC_FUNC_MKDIR_TAKES_ONE_ARG): Invoke with
3085 2000-04-24 Mumit Khan <khan@xraylith.wisc.edu>
3087 * c-pragma.c (push_alignment): Use BITS_PER_UNIT macro.
3088 (pop_alignment): Likewise.
3089 (handle_pragma_token): Likewise.
3091 2000-04-24 Robert Lipe <robertlipe@usa.net>
3093 * tree.h (tree_decl): Member `mode' now ENUM_BITFIELD.
3095 2000-04-24 Hiroyuki Machida <machida@sm.sony.co.jp>
3097 * combine.c (try_combine): Update reg_nonzero_bits of
3098 newi2pat before newpat.
3100 Mon Apr 24 10:19:48 MET DST 2000 Jan Hubicka <jh@suse.cz>
3102 * loop.c (strength_reduce): Simplify test to INSN_P.
3103 (record_giv): Attempt to simplify the add value, use CONSTANT_P
3104 expressions instead of CONST_INT.
3105 (express_from_1): Likewise.
3107 2000-04-24 Mark Mitchell <mark@codesourcery.com>
3109 * regs.h (reg_n_max): Don't declare.
3110 * flow.c (reg_n_max): Don't define.
3111 * regclass.c (renumber): Don't initialize to zero.
3112 (regno_allocated): Likewise.
3113 (reg_n_max): Define.
3114 (allocate_reg_info): Don't initialize unnecessarily.
3116 Mon Apr 24 00:21:36 2000 Jeffrey A Law (law@cygnus.com)
3118 * genattrtab.c (find_attr): Initialize unsigned_p, func_units_p
3119 and blockage_p in the newly allocated attribute.
3121 Sun Apr 23 20:16:49 2000 Alexandre Oliva <aoliva@cygnus.com>
3123 * config/mn10300/mn10300.md (addsi): `inc4' on address
3124 registers does not modify cc, but `inc' on an extended
3127 Sun Apr 23 16:24:35 2000 Denis Chertykov <denisc@overta.ru>
3129 * reload.c (find_equiv_reg): Checks all valueno regs
3130 as a reload_reg_p regs.
3132 2000-04-23 Zack Weinberg <zack@wolery.cumb.org>
3134 * cpphash.c (collect_objlike_expansion): Add sanity check.
3135 (special_symbol): Remove case T_CONST, T_XCONST, T_MCONST. If
3136 the buffer is the empty string, return. Mark __DATE__ and
3137 __TIME__ as XCONST nodes, not MCONST.
3138 (_cpp_macroexpand): Avoid pushing an empty buffer.
3139 (funlike_macroexpand): Don't pop token_buffer here.
3141 Sun Apr 23 18:37:53 2000 Alexandre Oliva <aoliva@cygnus.com>
3143 * config/mn10300/mn10300.h (REGNO_IN_RANGE_P): New macro.
3144 (REGNO_DATA_P, REGNO_ADDRESS_P, REGNO_SP_P): New macros.
3145 (REGNO_EXTENDED_P, REGNO_AM33_P): New macros.
3146 (REGNO_OK_FOR_BASE_P): Define in terms of them.
3147 (REGNO_OK_FOR_BIT_BASE_P, REGNO_OK_FOR_INDEX_P): Likewise.
3148 (REG_OK_FOR_BASE_P): Define in terms of the REGNO macro.
3149 (REG_OK_FOR_BIT_BASE_P, REG_OK_FOR_INDEX_P): Likewise.
3151 Sun Apr 23 22:23:08 MET DST 2000 Jan Hubicka <jh@suse.cz>
3153 * loop.c (simplify_giv_expr): Be more agressive on simplifying
3156 2000-04-23 Zack Weinberg <zack@wolery.cumb.org>
3158 * cpphash.h (struct definition): Move file, line, col members...
3159 (struct hashnode): ... here. Also add 'disabled' flag.
3160 (enum node_type): Add T_VOID, T_XCONST, T_FMACRO, and
3161 T_IDENTITY. Remove T_DISABLED.
3164 * cpphash.c (_cpp_dump_definition): Split out dump_DEFINITION.
3165 (collect_expansion): Split into collect_objlike_expansion and
3166 collect_funlike_expansion.
3167 (_cpp_macroexpand): Split out scan_arguments, stringify, and
3168 funlike_macroexpand.
3169 (_cpp_compare_defs): Rename compare_defs, make static.
3170 (_cpp_make_hashnode): Initialize hp->disabled.
3171 (macro_cleanup): Adjust for new token types. Clear
3173 (_cpp_create_definition): Move code here to determine what
3174 sort of macro it is, and code to check for redefinitions, from
3175 do_define. Implement a few simple cases without creating a
3177 (_cpp_macroexpand, special_symbol, _cpp_dump_definition):
3178 Handle the simple cases.
3179 (push_macro_expansion): Set buf->has_escapes and hp->disabled
3182 * cppinit.c (builtin_array): Change MCONST to XCONST
3184 * cpplex.c (maybe_macroexpand): Handle IDENTITY macros here;
3185 fix check for disabled and function-like macros.
3186 * cpplib.c (do_define): Move most logic to
3187 _cpp_create_definition.
3188 (do_undef): Handle new special token types.
3190 Sun Apr 23 14:27:44 MET DST 2000 Jan Hubicka <jh@suse.cz>
3192 * loop.c (maybe_eliminate_biv_1): Use GET_CODE (x) == CONST_INT instead
3193 of CONSTANT_P for mult_val; always use validate_change to update insn.
3195 2000-04-22 Zack Weinberg <zack@wolery.cumb.org>
3197 * cpphash.c (trad_stringify, add_pat): New functions.
3198 (collect_expansion): Restore support for -traditional syntax.
3199 Use trad_stringify and add_pat.
3200 (_cpp_macroexpand): Restore support for -traditional semantics.
3201 * cpplex.c (_cpp_scan_line): Don't change space_before if we
3202 get a COMMENT token.
3203 (_cpp_lex_token): Provide COMMENT tokens to caller if
3204 traditional and parsing_define_directive.
3205 (skip_comment): Warn about // comments if -Wtraditional.
3206 * cpplib.c (do_define): Fix typo. Create EMPTY nodes with
3208 (do_undef): Don't warn about undefining EMPTY nodes.
3210 Sat Apr 22 22:35:38 MET DST 2000 Jan Hubicka <jh@suse.cz>
3212 * loop.c (strength_reduce): Fix biv removal code.
3214 2000-04-22 Richard Henderson <rth@cygnus.com>
3216 * predict.c (estimate_probability): Examine both sides of
3217 a branch for no exits. Use 90% not 50% for predict taken.
3218 Reorg for one copy of note generation code.
3220 2000-04-22 Richard Henderson <rth@cygnus.com>
3222 * flow.c (mark_used_reg): Hack around rs6000 eliminable pic reg.
3224 2000-04-22 Richard Henderson <rth@cygnus.com>
3226 * diagnostic.c (init_output_buffer): Don't initialize format_args.
3227 (output_clear): Likewise.
3228 (output_printf): Use va_copy.
3229 (vline_wrapper_message_with_location): Likewise.
3230 (v_message_with_decl): Likewise.
3231 (line_wrapper_printf): VA_START infor buffer.format_args directly.
3232 * system.h (va_copy): Provide default implementation.
3234 2000-04-22 Richard Henderson <rth@cygnus.com>
3236 * predict.c (expected_value_to_br_prob): Don't bomb if op1 of
3237 the collected condition is not a constant.
3239 2000-04-22 Gabriel Dos Reis <gdr@codesourcery.com>
3241 * diagnostic.h: New file.
3243 * Makefile.in (diagnostic.o): Depends on diagnostic.h
3245 * diagnostic.c: Tweak. Rationalize the output logic. Adjust
3246 various function prototypes.
3247 (diagnostic.h): #include.
3248 (struct output_buffer): Move into diagnostic.h.
3249 (get_output_prefix): Rename to output_get_prefix. Export.
3250 (init_output_buffer): Export. Break out. Ajust intialization.
3251 (output_space_left, output_append): Export.
3252 (output_newline): Rename to output_add_newline. Export.
3253 (output_clear): Nullify additional output_buffer fields.
3254 (output_puts): Rename to output_add_string. Export.
3255 (dump_output): Rename to output_flush_on. Export.
3256 (build_location_prefix): Constify return-type.
3257 (emit_output_prefix): Rename to output_emit_prefix. Export.
3258 (set_real_maximum_length): New function.
3259 (output_set_maximum_length): Ditto
3260 (output_clear): Ditto.
3261 (output_add_character): Ditto.
3262 (output_add_integer): Ditto.
3263 (output_add_space): Ditto.
3264 (output_format): Ditto.
3265 (output_printf): Adjust buffer initialization.
3266 (vline_wrapper_message_with_location): Ditto.
3267 (v_message_with_decl): Ditto. Adjust call to output_puts
3268 and get_output_prefix.
3269 (default_print_error_function): Adjust buffer intialization.
3271 Sat Apr 22 06:45:04 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
3273 * expr.c (preexpand_calls, case CALL_EXPR): Don't look at TYPE_SIZE
3276 Fri Apr 21 18:33:09 2000 Alexandre Oliva <aoliva@cygnus.com>
3278 * config/mn10300/mn10300.h (REGNO_REG_CLASS): Use NO_REGS instead
3281 Fri Apr 21 18:30:00 2000 Alexandre Oliva <aoliva@cygnus.com>
3283 * config/mn10300/mn10300.h (REGISTER_MOVE_COST): Provide more
3284 accurate data about SP moves.
3286 Fri Apr 21 18:28:28 2000 Alexandre Oliva <aoliva@cygnus.com>
3288 * config/mn10300/mn10300.h (ADDITIONAL_REGISTER_NAMES): Added
3289 aliases to AM33 registers.
3291 Fri Apr 21 18:26:17 2000 Alexandre Oliva <aoliva@cygnus.com>
3293 * config/mn10300/mn10300.h (REG_CLASS_CONTENTS): Added register 16
3294 to all EXTENDED bitmaps.
3296 Fri Apr 21 18:17:12 2000 Alexandre Oliva <aoliva@cygnus.com>
3298 * config/mn10300/mn10300-protos.h (mn10300_address_cost): Declare.
3299 * config/mn10300/mn10300.h (ADDRESS_COST): New macro.
3300 * config/mn10300/mn10300.c (mn10300_address_cost): New function.
3302 Fri Apr 21 18:11:56 2000 Alexandre Oliva <aoliva@cygnus.com>
3304 * config/mn10300/mn10300.md (movdi, movdf): Do not use `movu' when
3305 the operand is not constant.
3307 Fri Apr 21 14:58:29 2000 Denis Chertykov <denisc@overta.ru>
3309 * reload.c (find_equiv_reg): Checks all valueno and regno regs
3310 as a call-clobbered regs.
3312 Fri Apr 21 13:30:26 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
3314 * rtl.c: Use NOTE_INSN_REPEATED_LINE_NUMBER and NOTE_INSN_RANGE_BEG.
3316 * rtl.def: Update comment.
3317 * function.c (expand_function): Use NOTE_INSN_REPEATED_LINE_NUMBER.
3318 * integrate.c (expand_inline_function): Likewise.
3319 * profile.c (branch_prob): Likewise.
3320 * ggc-common.c (ggc_mark_rtx_children): Use NOTE_INSN_RANGE_BEG.
3321 * print-rtl.c (print_rtx): Likewise.
3322 * haifa-sched.c (sched_analyze, unlink_other_notes): Likewise.
3323 (reemit_notes): Likewise; also use enum insn_note.
3325 * stor-layout.c (layout_decl): Only set DECL_MODE if not already set.
3326 (place_field): Properly compute know and actual alignment.
3328 * gengenrtl.c (gencode): Write obstack_alloc_rtx function start
3331 * cse.c (cse_insn): In (set REG0 REG1) case, remove a REG_EQUAL
3334 2000-04-21 Zack Weinberg <zack@wolery.cumb.org>
3336 * cpphash.c (struct arg, struct arglist): Const-ify strings.
3337 (warn_trad_stringify, duplicate_arg_p): New helper functions.
3338 (collect_expansion): Rewrite to scan over a token list.
3339 Remove -traditional support.
3340 (collect_formal_parameters): Rename to collect_params; rewrite
3341 to scan over a token list.
3342 (_cpp_create_definition): Adjust to scan a token list.
3343 (_cpp_macroexpand): Remove -traditional support.
3344 (_cpp_compare_defs): Whitespace is now canonicalized.
3345 (comp_def_part): Delete function.
3347 * cpphash.h: Update prototypes.
3348 * cpplex.c (init_token_list): Don't set lineno if there is no
3350 (pedantic_whitespace): New function.
3351 (_cpp_scan_line): Mark tokens that had hspace before. Don't
3352 consume a newline. Use pedantic_whitespace.
3353 (_cpp_lex_token): Remove support for -traditional macros.
3354 (_cpp_get_define_token): Delete.
3355 (_cpp_get_directive_token): Do the real work here. Use
3356 pedantic_whitespace.
3357 (_cpp_init_input_buffer): Initialize pfile->directbuf.
3359 * cpplib.c (get_macro_name): Delete.
3360 (do_define): Read the entire line into pfile->directbuf, then
3361 feed the token list to _cpp_create_definition.
3362 * cpplib.h (HSPACE_BEFORE): new define.
3363 (struct cpp_reader): Add a toklist member, "directbuf".
3365 * predict.c (estimate_probability): New heuristic: if a jump
3366 branches around a block with no successors, predict it taken.
3367 Disentangle control flow.
3369 2000-04-20 Richard Henderson <rth@cygnus.com>
3371 * loop.c (emit_iv_add_mult): Revert last change.
3373 2000-04-20 Zack Weinberg <zack@wolery.cumb.org>
3375 * cpplib.h (enum cpp_ttype): Add token types for all
3376 punctuators. Distinguish pp-numbers from valid C numbers.
3377 Give some tokens better names. Initialize from macro.
3378 (struct cpp_name, cpp_token, cpp_toklist): New data
3381 * cpplex.c (bump_column, expand_name_space,
3382 expand_token_space, init_token_list, cpp_output_list,
3383 _cpp_scan_line): New functions.
3384 (output_line_command): Add third argument, new line number.
3385 * cpphash.h: Update prototypes.
3386 * cppexp.c, cpphash.c, cpplib.c, scan-decls.c: Update for new
3389 2000-04-20 Richard Henderson <rth@cygnus.com>
3391 * config/alpha/alpha.c (alpha_emit_floatuns): Emit missing barrier.
3393 2000-04-20 Zack Weinberg <zack@wolery.cumb.org>
3395 * c-common.c (decl_attributes) [A_ALIAS]: Set TREE_USED on the
3398 Thu Apr 20 14:19:18 MET DST 2000 Jan Hubicka <jh@suse.cz>
3400 * loop.c (emit_iv_add_mult): Simplify it's input and emit
3401 REG_EQUAL note explaining the calculated value.
3403 * calls.c (expand_call): Avoid unnecesary precalculation
3404 and outgoing parameters space guarding for sibling calls.
3405 (store_one_arg): Likewise.
3407 Thu Apr 20 08:01:07 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
3409 * toplev.c (enum dump_file_index, dump_file): Add DFI_sibling.
3410 (rest_of_compilation): Write sibling dump file and account
3411 for time as jump time.
3412 * invoke.texi: Update documentation on dump flags.
3414 2000-04-19 Marek Michalkiewicz <marekm@linux.org.pl>
3416 * avr.c: #include "system.h" instead of <stdio.h> and <stdlib.h>.
3418 2000-04-19 Zack Weinberg <zack@wolery.cumb.org>
3420 * cpphash.c (special_symbol): Represent an empty macro with
3421 "\r \r " not just "\r ".
3422 (_cpp_macroexpand): Correct condition for the foo ( ) special
3424 (unsafe_chars): Handle EOF as second argument.
3425 (push_macro_expansion): Simplify test for removing escape at
3426 end. Do not trim both escapes if there is no text in between.
3428 2000-04-19 Jim Blandy <jimb@redhat.com>
3430 * dwarf2out.c (DWARF2_ADDR_SIZE): New macro. Use it instead
3431 of PTR_SIZE, when appropriate.
3433 2000-04-19 Mark Mitchell <mark@codesourcery.com>
3435 * system.h (ONLY_INT_FIELDS): Make sure it is defined.
3436 (USE_ENUM_BITFIELDS): Fix typo.
3438 Wed Apr 19 12:14:55 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
3440 * stor-layout.c (place_field): Set rli->offset_align properly.
3442 2000-04-19 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3444 * mips.h (BITS_PER_WORD, UNITS_PER_WORD, UNITS_PER_FPREG,
3445 INT_TYPE_SIZE, LONG_TYPE_SIZE, POINTER_SIZE, POINTER_BOUNDARY,
3446 PARM_BOUNDARY): Remove unnecessary casts.
3448 Wed Apr 19 12:02:37 MET DST 2000 Jan Hubicka <jh@suse.cz>
3450 * calls.c (precompute_arguments): Remove must_preallocate and
3452 (expand_call): Update call of precompute_arguments.
3454 * loop.c (check_insn_for_bivs, for_every_insn_in_loop,
3455 check_insn_for_givs): Break out from ...
3456 (strength_reduce) ... here; use for_every_insn_in_loop to call
3457 check_insn_for_givs.
3458 * loop.h (for_every_insn_in_loop): Declare.
3459 (loop_insn_callback): New type.
3461 2000-04-18 Zack Weinberg <zack@wolery.cumb.org>
3463 * cpplib.c (do_pragma_poison): Strings in the token buffer are
3466 Tue Apr 18 16:04:12 2000 Jim Wilson <wilson@cygnus.com>
3468 * config/ia64/sysv4.h (SELECT_SECTION): Use data_section if
3471 2000-04-18 Zack Weinberg <zack@wolery.cumb.org>
3473 * cccp.c, cexp.y, cexp.c, cccp.1: Removed.
3475 * configure.in: Delete --disable-cpplib option and all
3476 references to cpp_main.
3477 * configure: Regenerate.
3478 * Makefile.in: Remove all references to CCCP, CCCP_OBJS,
3479 @cpp_main@, cccp.c, cexp.c, cexp.y, cexp.output, cexp.o,
3480 cccp.o, cccp, or cppmain. Link cppmain.o straight to
3481 cpp$(exeext). Add --no-headers to makeinfo command line when
3482 generating INSTALL. Install and uninstall cpp.1 manpage, not
3484 * install.texi: Delete all references to cexp.y/cexp.c.
3485 Delete ancient instructions for compiling GCC on 3b1.
3486 * INSTALL: Regenerate.
3488 * cppfiles.c, cpplib.h, jump.c, protoize.c, c-lex.c, mips/t-ecoff,
3489 mips/t-elf, mips/t-r3900: Remove references to cccp.c.
3490 * convex.h, fx80.h, m68k.h, pdp11.h: Remove references to
3492 * xm-linux.h, xm-os2.h, romp.h: Remove definition of BSTRING,
3493 which is no longer tested anywhere.
3495 * cppinit.c (handle_option): Don't run error message through
3498 Tue Apr 18 14:16:47 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
3500 * conflict.c (conflict_graph_add): Pass enum type to htab_find_slot.
3501 * cpperror.c (hashtab.h): Now include.
3502 * cppexp.c (hashtab.h): Likewise.
3503 * cpplex.c (hashtab.h): Likewise.
3504 * cppfiles.c (hashtab.h): Likewise.
3505 (find_include_file, _cpp_calc_hash, cpp_read_file): Pass enum type
3506 to htab_find_slot_with_hash.
3507 * cpphash.c (hashtab.h): Now include.
3508 (_cpp_lookup_slot): INSERT is now enum insert_option.
3509 * cpphash.h (_cpp_lookup_slot): Likewise.
3510 * cppinit.c (hashtab.h): Include earlier.
3511 (initialize_builtins): Pass enum to htab_find_slot.
3512 * cpplib.c (hashtab.h): Now include.
3513 (do_define, do_undef): Pass enum type to _cpp_lookup_slot.
3514 (do_pragma_poison, do_assert): Likewise.
3515 * emit-rtl.c (gen_rtx_CONST_INT): Pass enum to
3516 htab_find_slot_with_hash.
3517 * simplify-rtx.c (cselib_lookup_mem, cselib_lookup): Likewise.
3518 * tree.c (type_hash_add): Likewise.
3519 (build1): Minor cleanup.
3521 * ggc-common.c: Add missing blanks.
3522 * print-tree.c (print_node): Print DECL_OFFSET_ALIGN.
3523 * tree.h (DECL_OFFSET_ALIGN): Fix typo in comment.
3525 * stmt.c (mark_case_node): New function.
3526 (mark_case_nesting): Call it.
3528 * expmed.c (emit_store_flag): If comparing two-word integer
3529 with zero, can optimize NE, EQ, GE, and LT.
3531 * c-decl.c (mark_binding_level): Use 'for' instead of `while'.
3532 * conflict.c: Minor cleanups.
3533 * optabs.c: Add blank line
3534 * simplify-rtx.c: Minor cleanups.
3536 2000-04-18 Stan Cox <scox@cygnus.com>
3538 * gengenrtl.c (genlegend): Fix misspelling.
3540 2000-04-18 Robert Lipe <robertlipe@usa.net>
3542 * configure.in (ENUM_BITFIELDS_ARE_UNSIGNED): Added. Check that
3543 bitfields of the host compiler are not signed quantities.
3544 * config.in: Regenerate.
3545 * configure: Regenerate.
3546 * system.h (USE_ENUM_BITFIELDS): Added.
3547 (ENUM_BITFIELDS): Added.
3548 * rtl.h (rtx_def): Members `code', `mode', now ENUM_BITFIELD.
3549 (SHORT_ENUM_BUG): Deleted.
3550 * tree.h (tree_common): Members `code', `mode', `built_in_class',
3552 * config/i386/xm-sco.h (ONLY_INT_FIELDS): Deleted.
3553 (CODE_FIELD_BUG): Likewise.
3554 * config/m68k/x-apollo68 (CC): Deleted SHORT_ENUM_BUG.
3556 * config/m68k/x-ccur (X_CFLAGS): Likewise.
3558 2000-04-18 Mark Mitchell <mark@codesourcery.com>
3560 * cpplex.c (_cpp_lex_token): Don't call CPP_BUMP_LINE when the
3563 2000-04-17 Zack Weinberg <zack@wolery.cumb.org>
3565 * cppexp.c (lex): Don't assume tokens are NUL terminated.
3566 * cpplib.c (do_include, do_import, do_include_next,
3567 read_line_number, detect_if_not_defined): Likewise.
3568 * cpphash.c (collect_expansion): Likewise.
3569 (special_symbol, _cpp_macroexpand): Check return from
3571 * cpphash.h (CPP_NUL_TERMINATE, CPP_NUL_TERMINATE_Q): Delete
3572 macros. Delete all uses.
3574 * gcc.dg/cpp-mi.c: Add two more test cases.
3575 * gcc.dg/cpp-mind.h, gcc.dg/cpp-mindp.h: New files.
3577 2000-04-17 Richard Henderson <rth@cygnus.com>
3579 * bb-reorder.c (fixup_reorder_chain): Don't look up new block again.
3580 (reorder_basic_blocks): If no epilogue in rtl, force last block last.
3582 2000-04-17 Mark Mitchell <mark@codesourcery.com>
3584 * function.c (expand_function_start): Use hard_function_value to
3585 compute the RTL to use for DECL_RESULT.
3587 Mon Apr 17 23:35:29 MET DST 2000 Jan Hubicka <jh@suse.cz>
3589 * i386.c (athlon_cost): Fix lea, divide and XFmode move costs.
3590 (x86_integer_DFmode_moves, x86_partial_reg_dependency,
3591 x86_memory_mismatch_stall): New global variables.
3592 (ix86_adjust_cost): Handle MEMORY_BOTH on places MEMORY_STORE was only
3593 alloved; fix load penalties for Athlon.
3594 * i386.h (x86_integer_DFmode_moves, x86_partial_reg_dependency,
3595 x86_memory_mismatch_stall): Declare.
3596 (TARGET_INTEGER_DFMODE_MOVES, TARGET_PARTIAL_REG_DEPENDENCY,
3597 TARGET_MEMORY_MISMATCH_STALL): New.
3598 * i386.md (athlon scheduling parameters): Fix latencies according to
3599 Athlon Optimization Manual.
3600 (sahf, xchg, fldcw, leave instruction patterns): Set athlon_decode to
3602 (fsqrt instruction patterns): Set athlon_decode to direct.
3603 (movhi_1): Promote for TARGET_PARTIAL_REG_DEPENDENCY and for
3604 PARTIAL_REGISTER_STALL with !TARGET_HIMODE_MATH machines.
3605 (movqi_1): Handle promoting correctly for TARGET_PARTIAL_REG_DEPENDENCY
3606 and TARGET_PARTIAL_REGISTER_STALL machines.
3607 (pushdf_nointeger): New pattern.
3608 (pushdf_integer): Rename from pushdf.
3609 (movdf_nointger): Enable for !TARGET_INTEGER_DFMODE_MOVES machines.
3610 (movdf_intger): Disable for !TARGET_INTEGER_DFMODE_MOVES machines.
3612 2000-04-17 Richard Henderson <rth@cygnus.com>
3614 * loop.c (canonicalize_condition): Add WANT_REG argument.
3615 Stop the search if we match it.
3616 * expr.h (canonicalize_condition): Update decl.
3617 * predict.c (expected_value_to_br_prob): Use it. Track last
3618 expected value note.
3619 (find_expected_value): Remove.
3621 * reorg.c (mostly_true_jump): Always use BR_PROB if present.
3623 2000-04-17 Zack Weinberg <zack@wolery.cumb.org>
3625 * aclocal.m4 (AM_GNU_GETTEXT): Don't AC_REQUIRE([AC_FUNC_MMAP]).
3626 (AC_FUNC_MMAP_FILE): New macro, tests read-only private map of
3628 * configure.in: Call AC_FUNC_MMAP_FILE.
3629 * configure: Regenerate.
3630 * config.in: Regenerate.
3632 * intl/loadmsgcat.c: Test HAVE_MMAP_FILE not HAVE_MMAP.
3633 * fixinc/fixincl.c: Likewise.
3635 2000-04-17 Richard Henderson <rth@cygnus.com>
3637 * builtins.c (expand_builtin_expect): New.
3638 (expand_builtin): Call it.
3639 * builtins.def (BUILT_IN_EXPECT): New.
3640 * c-common.c (c_common_nodes_and_builtins): Declare __builtin_expect.
3641 * extend.texi: Document it.
3643 * predict.c (expected_value_to_br_prob): New.
3644 (find_expected_value): New.
3645 * basic-block.h (expected_value_to_br_prob): Declare.
3646 * toplev.c (rest_of_compilation): Invoke it.
3648 * rtl.h (NOTE_EXPECTED_VALUE): New.
3649 (NOTE_INSN_EXPECTED_VALUE): New.
3650 * rtl.c (note_insn_name): Update.
3651 * print-rtl.c (print_rtx): Reorg NOTE_LINE_NUMBER special
3652 cases; handle NOTE_INSN_EXPECTED_VALUE.
3654 2000-04-17 Jakub Jelinek <jakub@redhat.com>
3656 * config/sparc/sparc.c (eligible_for_sibcall_delay): Cannot use
3657 leaf sibcall delay slot if flag_pic.
3658 (output_sibcall): Always emit call for leaf sibcall if flag_pic.
3660 2000-04-17 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3662 * Makefile.in (stmp-fixproto): Acknowledge errors in fixproto.
3664 * fixproto: If fix-header fails, exit with an error.
3666 Mon Apr 17 14:59:36 MET DST 2000 Jan Hubicka <jh@suse.cz>
3668 * cse.c (struct check_depdendence_data): New.
3669 (check_dependence): New function.
3670 (invalidate): Use check_depdenence.
3672 2000-04-16 Mark Mitchell <mark@codesourcery.com>
3674 * dwarf2out.c (DWARF_CIE_DATA_ALIGNMENT): Adjust, now that
3675 UNITS_PER_WORD is unsigned.
3677 * tree.h (struct tree_common): Remove misleading comment.
3679 2000-04-16 Dave Pitts <dpitts@cozx.com>
3681 * Makefile.in ($(srcdir)/c-parse.y: c-parse.in): Enclose the whole
3682 message in quotes. Otherwise, IBM's make program treats the '#' as the
3683 start of a comment and ignores the remainder of the line.
3685 * c-lex.c (yylex): Change for EBCDIC, lower case characters preceed
3687 * cccp.c (initialize_char_syntax): Allow for holes in EBCDIC.
3688 * cexp.y (initialize_random_junk): Likewise.
3689 * cppfiles.c (find_include_file): Cast alloca return value.
3690 * cppinit.c (initialize_standard_includes): Likewise.
3691 * cpplib.c (cpp_define, cpp_undef): Likewise.
3692 * defaults.h (ASM_OUTPUT_ASCII): Use ISPRINT.
3693 * final.c (output_asm_insn): Allow for holes in EBCDIC.
3694 * fold-const.c (CHARMASK): New.
3695 (real_hex_to_f): Use it.
3696 * real.c (CHARMASK): New.
3697 (etoasc, asctoeg): Use it.
3698 (asctoeg): EBCDIC lower case characters preceed upper case.
3700 * i370.c (mvs_add_label): Change spacing for coding conventions.
3701 * i370.h (ASM_OUTPUT_CASE_LABEL): Change to the data CSECT for the
3702 outputing case vectors.
3703 (ASM_OUTPUT_CASE_END): New, put assembler back into code CSECT.
3704 (ASM_OUTPUT_ADDR_VEC_ELT, ASM_OUTPUT_ADDR_DIFF_ELT): Remove page check,
3705 since vector in in the data CSECT.
3706 (ASM_OUTPUT_REG_POP, ASM_OUTPUT_REG_PUSH): Restore to correct operation.
3707 * i370.md (Many patterns): Put the length in the XL directives.
3708 (movdi): Put back STM and MVC in definition.
3709 (floatsidf2): Correct TARGET_ELF_ABI pattern and add back the LE370
3710 pattern using the TCA.
3711 * oe.h (CPP_SPEC): Added to allow trigraphs.
3712 * xm-oe.h (HOST_BITS_PER_LONGLONG): Change to 32. IBM's compiler does
3713 not support the "long long" type.
3715 2000-04-16 Mark Mitchell <mark@codesourcery.com>
3717 * config/mips/mips-protos.h (mips_legitimate_address_p): New
3719 (mips_reg_mode_ok_for_base_p): Likewise.
3720 * config/mips/mips.h (REG_OK_STRICT_P): Don't define.
3721 (REG_OK_FOR_INDEX_P): Define unconditionally.
3722 (REG_MODE_OK_FOR_BASE_P): Use mips_reg_mode_ok_for_base_p.
3723 (GO_IF_LEGITIMATE_ADDRESS): Use mips_legitimate_address_p.
3724 * config/mips/mips.c (mips16_simple_memory_operand): Adjust now
3725 that GET_MODE_SIZE is unsigned.
3726 (mips_reg_mode_ok_for_base_p): Define.
3727 (mips_legitimate_address_p): Likewise. Adjust now
3728 that GET_MODE_SIZE is unsigned.
3729 (block_move_loop): Make the number of bytes unsigned.
3730 (expand_block_move): Likewise.
3731 (function_arg): Make the loop counter unsigned to match the
3734 2000-04-16 Richard Henderson <rth@cygnus.com>
3736 * rtl.h (enum insn_note): New enumeration. Subsume
3737 NOTE_INSN_DELETED and friends.
3738 (GET_NOTE_INSN_NAME): Adjust index by NOTE_INSN_BIAS.
3739 * rtl.c (note_insn_name): Tweak string order.
3741 2000-04-15 Zack Weinberg <zack@wolery.cumb.org>
3743 * cpplex.c (_cpp_read_and_prescan): Enlarge len by setting it
3746 * cpplex.c (output_line_command): Remove debugging prints.
3747 (cpp_output_tokens): Don't write out a zero-length buffer or
3748 try to see if it has a newline in it.
3749 (_cpp_expand_to_buffer): Copy the source buffer before pushing.
3750 (_cpp_read_and_prescan): Move shift-down of pushback bytes to
3751 the end of the loop. Use memmove. Don't read past the end of
3752 the buffer. Remove trailing newlines from error messages.
3754 2004-04-16 Neil Booth <NeilB@earthling.net>
3756 * cpphash.h (SYNTAX_INCLUDE, SYNTAX_ASSERT, directive_handler): new.
3757 * cpplib.c: Add new syntax flags to directive table, and
3760 2000-04-15 Ulrich Drepper <drepper@redhat.com>
3762 * i386.c (ix86_expand_epilogue): Yes, the x86 can pop 64k at once
3765 2000-04-15 David Edelsohn <edelsohn@gnu.org>
3767 * toplev.c (display_help): Prefix "f" to "sched-verbose=".
3768 * haifa-sched.c: Update -fsched-verbose comments to use "=".
3770 Sat Apr 15 10:59:19 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
3772 * Makefile.in (ggc-page.o): Now includes toplev.h.
3773 * ggc-page.c (toplev.h): Now included.
3774 (gc_time): Remove declaration.
3775 (ggc_collect): TIME now long.
3776 * toplev.c (parse_time, varasm_time, gc_time): Still global; all
3778 * toplev.h (gc_time, parse_time, gc_time): New declarations.
3780 * toplev.c: Make *_time variable long to reduce chance of overflow.
3781 (TIMEVAR): Likewise for `otime'.
3782 (print_time): Arg is now long; compute percentage in FP and round.
3783 * toplev.h (print_time): Arg is long.
3785 * tree.c: Minor whitespace changes.
3787 * configure.in (alpha*-*-*): Add config/alpha/t-alpha.
3788 * configure: Rebuilt.
3789 * libgcc2.c (__fixunstfDI): Renamed from __fixunstfdi.
3790 (__fixunsxfDI): Renamed from __fixunsxfdi.
3791 (__fixunsdfDI): Renamed from __fixunsdfdi.
3792 (__fixunssfDI): Renamed from __fixunssfdi.
3793 (__floatdisf): Use proper type in REP_BIT macro.
3794 (__fixunsxfSI): Renamed from __fixunsxfsi.
3795 (__fixunsdfSI): Renamed from __fixunsdfsi.
3796 (__fixunssfSI): Renamed from __fixunssfsi.
3797 * libgcc2.h: Add cases for MIN_UNITS_PER_WORD > 4.
3798 Change location of macros and upper-case some names as above.
3799 * longlong.h ([alpha]): Use PARAMS, not __P in decl of __udiv__qrnnd.
3800 * config/alpha/t-alpha, config/alpha/qrnnd.asm: New files.
3802 * varasm.c (assemble_variable): Add cast to remove warning.
3803 (immed_real_const_1): Only use CONST[01]_RTX if not in nested function.
3805 * flow.c (count_basic_blocks, find_basic_blocks_1): Remove last change.
3806 * optabs.c (emit_libcall_block): If have REG_EH_REGION, update
3807 region number to -1.
3809 2000-04-15 Richard Earnshaw (rearnsah@arm.com)
3811 * emit-rtl.c (unshare_all_rtl_again): Unmark everything, then
3812 call unshare_all_rtl.
3814 * arm.md (movhi): REGNO_POINTER_ALIGN is now bits.
3816 Fri Apr 14 16:58:45 2000 Jim Wilson <wilson@cygnus.com>
3818 * config/ia64/lib1funcs.asm (__divdi3, __moddi3, __udivdi3, __umoddi3):
3819 Use .s1 not .s0 for all FP instructions.
3821 2000-04-14 Zack Weinberg <zack@wolery.cumb.org>
3823 * cpplex.c (cpp_output_tokens, cpp_scan_buffer_nooutput): New public
3825 (safe_fwrite, output_line_command): New static functions.
3826 (cpp_expand_to_buffer): Now private to cpplib.
3827 (cpp_scan_buffer): Take a printer.
3829 * cpphash.h: Update prototypes.
3830 * cpplib.h: Update prototypes.
3832 (cpp_buffer): Remove last_nominal_fname.
3833 (cpp_reader): Remove lineno.
3835 * cppmain.c: Use a cpp_printer.
3836 * fix-header.c: No need to inhibit line commands. Call
3837 cpp_start_read with no printer.
3839 * cpperror.c (cpp_notice_from_errno): Provide default name.
3840 * cppfiles.c (make_IHASH, _cpp_fake_ihash): New functions.
3841 (find_include_file, cpp_read_file): Use make_IHASH.
3842 (file_cleanup): Set control_macro and clear
3843 input_stack_listing_current here.
3844 (_cpp_execute_include): Don't output entering-file marker.
3845 * cpphash.c (special_symbol): Look for the line number in the
3846 buffer, not the reader.
3847 (_cpp_macroexpand): No need to disable line commands.
3848 (_cpp_dump_definition): No need to generate line commands.
3849 (dump_hash_helper): Remove excess newline from output.
3850 * cppinit.c (dump_special_to_buffer): No need to generate line
3852 (cpp_printer_init): New.
3853 (cpp_start_read): Take a printer, and start it up if it's not
3854 NULL. No need to generate line commands.
3855 (cpp_finish): Expect no buffers stacked at all. Take a
3856 printer argument, and flush the output buffer if it's not
3858 * cpplex.c (_cpp_lex_token): Return EOF if there's no buffer.
3859 Don't put two hashes at the beginning of an assertion.
3860 (cpp_get_token): Don't increment pfile->lineno or emit line
3861 commands here. Return EOF if there's no buffer when we get
3863 * cpplib.c (do_define, skip_if_group):
3864 No need to disable line commands.
3865 (_cpp_output_line_command): Delete function.
3866 (do_line): Don't emit line commands here, but set things up so
3867 they will be emitted if necessary. Use _cpp_fake_ihash to
3868 make unique nominal_fnames if necessary.
3869 (do_elif, do_else, _cpp_handle_eof): Call cpp_error_with_line
3870 with 0 for column, not -1.
3871 (_cpp_handle_eof): Don't set the control macro here. Don't
3872 clear input_stack_listing_current here. Don't emit line
3875 2000-04-14 Geoff Keating <geoffk@cygnus.com>
3877 * config/rs6000/sysv4.h (LINK_START_SOLARIS_SPEC): Define to empty
3878 always, use the default SVR4 start address.
3880 * config/rs6000/linux.h (LINK_SPEC): Don't define.
3881 (LINK_SHLIB_SPEC): Define.
3882 (LINK_START_DEFAULT_SPEC): Define.
3883 (LINK_OS_DEFAULT_SPEC): Define.
3885 * config/rs6000/sysv4.h (ENDFILE_SPEC): Use the %(endfile_*) macros.
3887 * config/rs6000/eabi.asm (__eabi): Call __init rather than
3888 __do_global_ctors to handle constructors.
3889 * config/rs6000/sysv4.h (STARTFILE_ADS_SPEC): Use crtbegin.
3890 (STARTFILE_YELLOWKNIFE_SPEC): Likewise.
3891 (STARTFILE_MVME_SPEC): Likewise.
3892 (STARTFILE_SIM_SPEC): Likewise.
3893 (ENDFILE_ADS_SPEC): Use crtend.
3894 (ENDFILE_YELLOWKNIFE_SPEC): Likewise.
3895 (ENDFILE_MVME_SPEC): Likewise.
3896 (ENDFILE_SIM_SPEC): Likewise.
3897 (STARTFILE_SOLARIS_SPEC): Use crtbegin/crtbeginS.
3898 (ENDFILE_SOLARIS_SPEC): Use crtend/crtendS.
3899 (STARTFILE_LINUX_SPEC): Use crtbeginS for shared objects.
3900 (ENDFILE_LINUX_SPEC): Use crtendS for shared objects.
3901 * config/rs6000/t-ppccomm (LIB2FUNCS_EXTRA): Don't build eabi-ctors.o.
3902 (EXTRA_MULTILIB_PARTS): Build crtbeginS/crtendS.
3903 (CRTSTUFF_T_CFLAGS_S): Define.
3904 * config/rs6000/eabi-ctors.c: Delete.
3906 * config/rs6000/eabi-ci.asm (__init): Align stack to 16-byte
3909 * config/rs6000/eabi-cn.asm (__init): Allow for 16-byte stack frame.
3913 Fri Apr 14 16:09:02 2000 Jim Wilson <wilson@cygnus.com>
3915 * combine.c (force_to_mode, case LSHIFTRT): Check that shift shift
3916 plus mask size is smaller or equal to the mode size.
3918 Fri Apr 14 18:07:30 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
3920 * print-rtl.c (print_rtx, case NOTE): Don't blow up if NOTE_BASIC_BLOCK
3923 * expr.c (reload.h): Now included.
3924 (emit_block_move): Set volatile_ok when checking for movstr.
3925 (emit_move_1): Check for replacements in addresses in multi-word case.
3926 * Makefile.in (expr.o): Now includes reload.h.
3928 * flow.c (count_basic_blocks): Remove unused var PREV_CALL.
3929 Never have a LIBCALL end a basic block.
3930 (find_basic_blocks_1): Likewise.
3931 Reorganize CALL_INSN cases.
3933 * sbitmap.h (EXECUTE_IF_SET_IN_SBITMAP): Revert last change.
3935 Fri Apr 14 10:54:22 2000 Jim Wilson <wilson@cygnus.com>
3937 * config/ia64/lib1funcs.asm (__ia64_nonlocal_goto): Drop obsolete
3938 completers from mov.ret instruction.
3940 2000-04-14 Richard Henderson <rth@cygnus.com>
3942 * fold-const.c (extract_muldiv): Don't distribute and widen
3943 multiply across plus for non-sizetype unsigned types.
3945 2000-04-14 Richard Henderson <rth@cygnus.com>
3947 * flow.c (find_auto_inc): Don't autoinc eliminable registers.
3948 If the original source is dead in the incr insn, it's dead now.
3950 Fri Apr 14 07:40:32 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
3952 * stor-layout.c (layout_decl): Properly compare KNOWN_ALIGN to
3953 see if DECL_BIT_FIELD needs to still be set.
3955 * tree.h (struct tree_type): Make PRECISION 9 bits and MODE 7.
3957 * dbxout.c (dbxout_type, case INTEGER_TYPE): Don't call
3958 print_int_cst_octal with something that's not an INTEGER_CST.
3960 * config/alpha/alpha.c (alpha_emit_floatuns): Ensure we pass a REG
3961 and not a SUBREG to a FLOAT rtl.
3963 Thu Apr 13 19:39:56 2000 Clinton Popetz <cpopetz@cygnus.com>
3965 * emit-rtl.c (try_split): Avoid infinite loop if the split
3966 results in a sequence that contains the original insn.
3968 2000-04-13 Andreas Jaeger <aj@suse.de>
3970 * config/mips/mips.c (expand_block_move): Pass alignment
3971 argument to move_by_pieces in bits, not bytes.
3973 * config/mips/linux.h (CPP_PREDEFINES): Also define __PIC__ and
3974 __pic__ for little endian.
3976 2000-04-13 Andreas Jaeger <aj@suse.de>
3978 * config/i386/i386-protos.h: Add prototype for
3979 uno_comparison_operator.
3981 Thu Apr 13 15:55:08 MET DST 2000 Jan Hubicka <jh@suse.cz>
3983 * alias.c (nonlocal_reference_p): Take care of CALL_INSNS's fusage.
3984 * calls.c (ECF_PURE): New flag.
3985 (emit_call_1): Handle ECF_PURE calls.
3986 (initialize_argument_information): Unset ECF_PURE flag too.
3987 (precompute_arguments): Precompute for ECF_PURE too.
3988 (expand_call): Handle ECF_PURE calls too.
3989 (emit_library_call_value_1): Rename no_queue argument to fn_type,
3990 accept value of 2 as pure function.
3991 (emit_library_call_value, emit_library_call): Rename no_queue argument
3993 * optabs.c (prepare_cmp_insn): Pass fn_type 2 to memcmp call.
3995 * tree.h (DECL_IS_PURE): New macro.
3996 (struct tree_decl): Add pure_flag.
3997 * c-common.c (enum attrs): Add attribute "pure".
3998 (init_attributes): Initialize attribute "pure"
3999 (decl_attributes): Handle attribute "pure".
4000 * extend.texi (Attribute "pure"): Document.
4001 * calls.c (expand_call): Add (mem:BLK (scratch)) to "equal from"
4003 (flags_from_decl_or_type): Support attribute "pure".
4005 2000-04-13 Jason Merrill <jason@casey.cygnus.com>
4007 * cpplex.c (_cpp_lex_token): Handle digraphs. Don't null-terminate
4008 the token except for numbers and identifiers.
4010 Thu Apr 13 00:09:16 EDT 2000 John Wehle (john@feith.com)
4012 * i386.c (ix86_expand_binary_operator,
4013 ix86_expand_unary_operator): Check no_new_pseudos
4014 instead of reload_in_progress and reload_completed.
4015 (ix86_split_ashldi, ix86_split_ashrdi,
4016 ix86_split_lshrdi): Check no_new_pseudos instead
4017 of reload_completed.
4019 2000-04-12 Jeffrey A Law (law@cygnus.com)
4021 * function.c (purge_addressof): Unshare any shared rtl created by
4022 purge_addressof and its children.
4024 2000-04-12 Mark Mitchell <mark@codesourcery.com>
4026 * function.c (aggregate_value_p): VOID_TYPE nodes are never
4029 2000-04-05 Andreas Jaeger <aj@suse.de>
4031 * config/mips/linux.h (SUBTARGET_ASM_SPEC): Use proper flags if
4032 not compiling PIC code, add flags for mabi=64.
4033 (SUBTARGET_CPP_SIZE_SPEC): New.
4034 (SUBTARGET_CPP_SPEC): New.
4035 (CPP_PREDEFINES): Define __PIC__ and __pic__. PIC code is default
4036 for MIPS/Linux and lots of code needs these defines.
4038 Wed Apr 12 22:44:11 2000 Hans-Peter Nilsson <hp@axis.com>
4040 * reorg.c (fill_slots_from_thread): Check side_effects_p when
4041 trying the "opposite arithmetic" approach.
4043 Wed Apr 12 20:51:20 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
4045 * sh.h (STRUCT_VALUE): Just 0 for TARGET_HITACHI.
4046 (struct sh_args): Add new field force_mem.
4047 (INIT_CUMULATIVE_ARGS): Initialize it.
4048 (FUNCTION_ARG, FUNCTION_ARG_ADVANCE): Act on it.
4050 Wed Apr 12 17:20:41 MET DST 2000 Jan Hubicka <jh@suse.cz>
4052 * calls.c (expand_call): Do not reverse args in "equal from" field.
4053 (emit_library_call_value_1): Emit_libcall_block for const and pure
4056 Wed Apr 12 16:00:25 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
4058 * reload1.c (reload_combine): Don't enable optimization for fixed
4059 registers when encountering a BARRIER.
4061 Wed Apr 12 15:54:11 MET DST 2000 Jan Hubicka <jh@suse.cz>
4063 * builtins.c (expand_builtin_memcmp): Do expansion even with
4064 !HAVE_cmpstrsi, do libcall when gen_strcmpsi fails.
4066 * calls.c (expand_call): Do NO_DEFER_POP unconditionally once
4067 stack is propertly aligned; add sanity checking for aligned
4069 (expand_library_call_value_1): Add sanity checking for aligned
4072 Wed Apr 12 07:51:54 2000 Catherine Moore <clm@cygnus.com>
4074 * calls.c (emit_library_call_value_1): Change 3rd arg to
4075 locate_and_pad_parm to disregard the setting of partial.
4077 Wed Apr 12 08:47:38 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
4079 * tree.c (unsave_expr_now_r, unsafe_for_reeval): Properly do TREE_LIST.
4081 * print-rtl.c (print_rtx): For CALL_PLACEHOLDER, output the
4082 CALL_INSN from the normal case.
4084 Fri Apr 7 12:23:04 MET DST 2000 Jan Hubicka <jh@suse.cz>
4086 * i386.c (x86_sub_esp_4, x86_sub_esp_8, x86_add_esp_4, x86_add_esp_8):
4087 New global variables.
4088 (ix86_emit_epilogue_adjustment): Do not attempt to use pop for the
4090 * i386.h (x86_sub_esp_4, x86_sub_esp_8, x86_add_esp_4, x86_add_esp_8):
4092 (TARGET_SUB_ESP_4, TARGET_SUB_ESP_8, TARGET_ADD_ESP_4,
4093 TARGET_ADD_ESP_8): New macros.
4094 * i386.md: Add peep2s to convert esp adjustments to push and pop
4096 (pushsi_prologue, popsi_epilogue): New patterns.
4098 2000-04-12 Jakub Jelinek <jakub@redhat.com>
4100 * real.c (toe64): Remove stale #endif from the last change.
4102 2000-04-12 Stephen L Moshier <moshier@mediaone.net>
4104 * real.h (MAX_LONG_DOUBLE_TYPE_SIZE): Comment.
4105 * real.c (toe64): Revert previous change.
4107 2000-04-12 Jakub Jelinek <jakub@redhat.com>
4109 * objc/objc-act.c: Include ggc.h.
4110 (objc_tree_index, objc_global_trees): Convert most of the
4111 static tree variables into a static array with previous names
4113 (objc_ellipsis_node): New variable.
4114 (lang_init): Call objc_act_parse_init and c_parse_init.
4115 Create objc_ellipsis_node.
4116 (build_selector_translation_table): Use objc_ellipsis_node instead
4118 (hack_method_prototype): Likewise.
4119 (get_arg_type_list): Likewise.
4120 (start_method_def): Likewise.
4121 (continue_method_def): Likewise.
4122 (gen_method_decl): Likewise.
4123 (ggc_mark_imp_list): New function.
4124 (ggc_mark_hash_table): New function.
4125 (objc_act_parse_init): New function.
4126 * objc/objc-act.h (objc_ellipsis_node): Add extern variable.
4127 * c-parse.in (c_parse_init): For objc add roots of objc specific
4128 local tree variables.
4129 * objc/objc-parse.y: Rebuilt.
4130 * objc/objc-parse.c: Rebuilt.
4131 (opt_parm_list): Use objc_ellipsis_node instead of (tree)1.
4133 Wed Apr 12 01:00:44 EDT 2000 John Wehle (john@feith.com)
4135 * cse.c (delete_trivially_dead_insns): Also delete insns
4136 that copy a register to itself where the destination is
4139 2000-04-11 Richard Henderson <rth@cygnus.com>
4141 * flow.c (struct propagate_block_info): Add new_dead, new_live.
4142 (propagate_block): Initialize them. Use them in parallel instead
4143 of one tmp variable, ie revert much of the 0408 and 0407 functional
4144 changes, but keep the structural changes.
4145 (mark_set_regs): Take new_dead from propagate_block_info instead.
4146 (mark_set_1, mark_set_reg): Likewise.
4147 (mark_used_regs): Likewise with new_live.
4148 (mark_used_reg): Likewise. Revert 0408 change.
4150 2000-04-11 Nick Clifton <nickc@cygnus.com>
4152 * config/arm/arm.h: (INCOMING_RETURN_ADDR_RTX): Remove Dwarf2
4154 (DWARF_FRAME_RETURN_COLUMN): Remove Dwarf2 restriction.
4156 2000-04-11 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
4158 * config/elfos.h (SELECT_SECTION): Decide whether to use a data or
4159 const section to output a CONSTRUCTOR based on the same conditions
4162 Tue Apr 11 09:55:59 2000 Jeffrey A Law (law@cygnus.com)
4164 * pa/long-double.h (FIX_TRUNCTFSI2_LIBCALL): Tweak for PA64.
4165 * pa/pa-protos.h (output_call): Add additional argument indicating
4166 if the call is a sibling/tail call.
4167 (compute_zdepdi_operands, output_64bit_and): Prototype new functions.
4168 (compute_64bit_ior, cmpib_comparison_operator): Likewise.
4169 (function_arg, function_arg_partial_nregs): Likewise
4170 * pa/pa.c (override_options): Always set flag_pic for TARGET_64BIT.
4171 (emit_move_sequence): Zero extend certain constants as needed
4173 (compute_zdepdi_operands, output_64bit_and): New functions.
4174 (output_64bit_ior, function_arg): Likewise.
4175 (cmpib_comparison_operator, function_arg_partial_nregs): Likewise.
4176 (compute_frame_size, hppa_expand_prologue): Handle TARGET_64BIT.
4177 (hppa_expand_epilogue, return_addr_rtx, hppa_va_arg): Likewise.
4178 (hppa_builtin_saveregs, output_cbranch, output_bb): Likewise.
4179 (output_bvb): Likewise.
4180 (output_millicode_call): Return pointer is in %r2 for TARGET_64BIT.
4181 (output_call): New argument 'sibcall'. Generate sibcall sequences
4183 (print_operand); Handle cases 'Q', 'p', and 'z' for TARGET_64BIT. For
4184 (ouput_arg_descriptor): Do not emit argument descriptors for
4186 * pa/pa.h (TARGET_PA_11, TARGET_PA_20): Only define if not already
4188 (TARGET_64BIT, PROMOTE_FUNCTION_RETURN): Define.
4189 (FUNCTION_OK_FOR_SIBALL): Define.
4190 (CPP_PA10_SPEC, CPP_PA11_SPEC, CPP_PA20_SPEC): Define.
4191 (CPP_CPU_DEFAULT_SPEC, SUBTARGET_EXTRA_SPECS, EXTRA_SPECS): Likewise.
4192 (CPP_SPEC): Use new spec infrastructure.
4193 (BITS_PER_WORD, UNITS_PER_WORD): Handle TARGET_64BIT.
4194 (STACK_BOUNDARY, FUNCTION_BOUNDARY, PIC_OFFSET_TABLE_REGNUM): Likewise.
4195 (RETURN_IN_MEMORY, EXTRA_CONSTRAINT, FIRST_PARM_OFFSET): Likewise.
4196 (REG_PARM_STACK_SPACE, STACK_POINTER_OFFSET): Likewise.
4197 (STACK_DYNAMIC_OFFSET, FUNCTION_VALUE): Likewise.
4198 (FUNCTION_ARG_PASS_BY_REFERENCE, FUNCTION_ARG_CALLEE_COPIES): Likewise.
4199 (TRAMPOLINE_TEMPLATE, TRAMPOLINE_SIZE): Likewise.
4200 (INITIALIZE_TRAMPOLINE, LEGITIMATE_CONSTANT_P): Likewise.
4201 (CONST_OK_FOR_LETTER_P, MOVE_RATIO): Likewise.
4202 (FUNCTION_ARG); Call out to C code.
4203 (FUNCTION_ARG_PARTIAL_NREGS): Likewise.
4204 (MAX_BITS_PER_WORD, MAX_LONG_TYPE_SIZE, MAX_WCHAR_TYPE_SIZE): Define.
4205 (MIN_UNITS_PER_WORD): Likewise.
4206 * pa/pa.md (cmpdi): New expander.
4207 (scc patterns, movstrsi): Not available for TARGET_64BIT.
4208 (64bit conditional arithmetic): New patterns.
4209 (absdi2, smindi3, umindi3, smaxdi3, umaxdi3): New patterns.
4210 (movsicc): Not available if modes on all the operands to not match.
4211 (movdicc): New expander and associated patterns.
4212 (64bit branches): New patterns.
4213 (pre_load, post_store): Generate appropriate code for TARGET_64BIT.
4214 (pre_ldd, post_std): New patterns.
4215 (64bit addil, load low part): New patterns.
4216 (special movsf constant): Not available for TARGET_64BIT.
4217 (movsf, movdf expanders): Force constants into memory.
4218 (32bit movdf/movdi patterns): Disable for TARGET_64BIT.
4219 (64bit movdf/movdi patterns): New patterns.
4220 (zero_extendqidi2, zero_extendhidi2, zero_extendsidi2): New patterns
4222 (extendqidi2, extendhidi2, extendsidi2): Similarly.
4223 (adddi3 expander): Allow "arith_operand" for second input.
4224 (32bit adddi3, subdi3, uaddcm): Disable for TARGET_64BIT.
4225 (64bit adddi3, subsi3, uaddcm): New patterns for TARGET_64BIT.
4226 (mulsi3 expander): Revamp slightly so it supports TARGET_64BIT too.
4227 (muldi3): New expander for TARGET_64BIT.
4228 (divsi3, udivsi3, modsi3, umodsi3): Fourth operand must be (reg:SI 2)
4230 (32bit anddi3, iordi3, xordi3, andcm, negdi2, uaddcm): Disable
4231 patterns for TARGET_64BIT.
4232 (64bit anddi3, iordi3, xordi3, andcm, negdi2, uaddcm, shadd): New
4233 patterns for TARGET_64BIT.
4234 (64bit bit insertion/extractions): New patterns for TARGET_64BIT.
4235 (64bit shifts/rotates): New patterns/expanders for TARGET_64BIT.
4236 (sibcall_epilogue): New expander.
4237 (casesi): Tweak for TARGET_64BIT.
4238 (call expanders): Set & use the outgoing argument pointer. Use the
4239 64bit call patterns as needed. Add additional arg to output_call.
4240 (call_internal_reg_64bit, call_value_internal_reg_64bit): New pattern.
4241 (sibcall, sibcall_internal_symref): New expanders.
4242 (sibcall_value, sibcall_value_internal_symref
4243 (interspace_jump): Turn into an expander + matching patterns.
4244 (canonicalize_funcptr_for_compare): Not needed for TARGET_64BIT.
4245 * pa/pa64-regs.h: Eliminate trigraph sequences.
4246 * pa/pa64-start.h (TARGET_PA_20): Fix typo.
4248 2000-04-11 Zack Weinberg <zack@wolery.cumb.org>
4250 * cppexp.c, cpphash.c, cpphash.h, cpplex.c, cpplib.c,
4251 cpplib.h, cppmain.c, fix-header.c, scan-decls.c: Replace
4252 cpp_token with cpp_ttype everywhere.
4253 * cpperror.c, cpphash.c, cpplex.c, cpplib.c, scan-decls.c:
4254 Replace cpp_buf_line_and_col with CPP_BUF_LINE and/or
4255 CPP_BUF_COL. Line and column numbers are unsigned int, not
4257 * cpplex.c (cpp_buf_line_and_col): Delete.
4258 * cpplib.h (struct cpp_buffer, struct cpp_reader): Change
4259 'long lineno' to 'unsigned int lineno'.
4260 (CPP_BUF_LINE, CPP_BUF_COL): New macros.
4262 2000-04-11 Martin v. Löwis <loewis@informatik.hu-berlin.de>
4264 * extend.texi: ISO C99 is not a draft anymore.
4265 * invoke.texi: ISO C++ is not a draft anymore.
4266 * cpp.texi: __cplusplus is required by the ISO standard.
4268 * extend.texi (-fthis-is-variable): Undocument.
4269 * flags.h (warn_template_debugging): Remove declaration.
4270 * gcc.1 (-fall-virtual, -fenum-int-equiv, -fthis-is-variable,
4271 -Wenum-clash, -Wtemplate-debugging): Undocument.
4273 2000-04-10 Nick Clifton <nickc@cygnus.com>
4275 * config/arm/arm.h (HOST_INT): New macro: Declare a HOST_WIDE_INT
4277 (HOST_UINT): New macro: Declare an unsigned HOST_WIDE_INT
4279 (ARM_SIGN_EXTEND): Use HOST_UINT.
4280 (STRIP_NAME_ENCODING): Prevent warnings about redefinitions.
4281 (ASM_OUTPUT_LABELREF): Prevent warnings about redefinitions.
4282 (INCOMING_RETURN_ADDR_RTX): Only define if Dwarf2 is supported.
4283 (DWARF_FRAME_RETURN_COLUMN): Only define if Dwarf2 is supported.
4285 * config/arm/arm.c: (const_ok_for_arm): Use HOST_UINT.
4286 (arm_gen_constant): Use HOST_UINT.
4287 (arm_canonicalize_constant): Use HOST_UINT.
4288 (arm_reload_in_hi): Use HOST_UINT.
4289 (arm_reload_out_hi): Use HOST_UINT.
4290 (output_multi_immediate): Use HOST_UINT.
4291 (int_log2): Use HOST_UINT.
4292 (arm_poke_function_name): Use HOST_UINT.
4293 (arm_output_epilogue): Use arm_volatile_func().
4294 (output_thumb_prologue): Use arm_strip_name_encoding().
4296 Mon Apr 10 15:40:59 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
4298 * sbitmap.c (sbitmap_a_subset_b_p): Rework loop to avoid potential
4299 of sequence point problems.
4301 2000-04-10 Nathan Sidwell <nathan@codesourcery.com>
4303 * rtl.def (ASHIFT, ROTATE, ASHIFTRT, LSHIFTRT, ROTATERT):
4305 * tree.def (LSHIFT_EXPR, RSHIFT_EXPR): Recomment.
4307 Mon Apr 10 07:21:13 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
4309 * sbitmap.h: Whitespace changes and use upper-case macro args.
4310 (struct simple_bitmap_def): All sizes now unsigned.
4311 (EXECUTE_IF_SET_IN_SBITMAP): Internal vars now _X instead of X_.
4312 * sbitmap.c (sbitmap_alloc): N_ELMS now unsigned; also local vars.
4313 (sbitmap_vector_alloc): Parms and local vars now unsigned.
4314 (sbitmap_zero): Cast bzero arg to PTR.
4315 (sbitmap_vector_zero, sbitmap_vector_one): Parm and Local var unsigned.
4316 (sbitmap_union_of_diffs): Change loop index to unsigned and rework
4317 loop to make structure clearer.
4318 (sbitmap_not, sbitmap_difference, sbitmap_a_and_b): Likewise.
4319 (sbitmap_a_or_b, sbitmap_a_subset_b_p, sbitmap_a_or_b_and_c): Likewise.
4320 (sbitmap_a_and_b_or_c): Likewise.
4321 (sbitmap_intersection_of_succs): Minor cleanups.
4322 (sbitmap_intersection_of_preds, sbitmap_union_of_succs): Likewise.
4323 (sbitmap_union_of_preds): Likewise.
4324 (sbitmap_first_set_bit, dump_sbitmap): Local variables now unsigned.
4325 (debug_sbitmap): New function.
4327 * c-convert.c (convert): Handle REFERENCE_TYPE like POINTER_TYPE.
4328 * c-typeck.c (convert_for_assignment): Likewise.
4330 * expmed.c (init_expmed): Don't free objects we make.
4331 * emit-rtl.c (gen_rtx_CONST_INT, init_emit_once): Minor cleanups.
4333 * expr.c (get_inner_reference): Correct some WITH_RECORD_EXPR cases.
4334 (expand_expr, case CONVERT_EXPR): Pass proper alignment to store_field.
4336 * gcse.c (expr_hash_table_size): Now unsigned.
4337 (compute_ae_gen): Local variable `i' now unsigned.
4338 (compute_ae_kill, pre_insert_copies, pre_delete, pre_gcse): Likewise.
4339 (compute_transout, hoist_code): Likewise.
4340 (compute_local_properties): Likewise, also hash_table_size.
4341 (alloc_expr_hash_table): N_INSNS now unsigned.
4342 (delete_null_pointer_checks): Mark arg F as unused.
4344 * regrename.c: Minor cleanups, including chang some variables
4347 2000-04-10 Neil Booth <NeilB@earthling.net>
4349 * cpplex.c (skip_block_comment): Use pointer arithmetic rather
4351 * cpphash.h: (CPP_BUMP_BUFFER_LINE_CUR, CPP_BUMP_LINE_CUR): New.
4353 2000-04-10 Martin v. Löwis <loewis@informatik.hu-berlin.de>
4355 * invoke.texi (-fno-gnu-keywords): Remove classof, headof,
4356 __classof__, and __headof__ from the list of gnu keywords.
4357 (-ansi): Remove -foperator-names from list of implied options.
4358 Do not call it ANSI C++.
4359 (-foperator-names): Document as -fno-operator-names.
4361 2000-04-09 Zack Weinberg <zack@wolery.cumb.org>
4363 * cpphash.c (timestamp): Delete.
4364 (del_HASHNODE): If type is T_MCONST, free value.cpval.
4365 (special_symbol): Remove unnecessary braces. Remove
4366 T_VERSION. Treat T_STDC like T_CONST unless
4367 STDC_0_IN_SYSTEM_HEADERS. Render both __DATE__ and __TIME__
4368 when one is encountered, then convert them into T_MCONST
4370 * cppinit.c (builtin_array): version_string is T_MCONST.
4371 __STDC__ has a "1" in its cpval. Don't have a terminator
4372 entry. Clean up which entries are dumped.
4373 (initialize_builtins): Only __STDC__ gets the special
4374 -traditional treatment. Count the length of builtin_array.
4375 Render version_string here.
4376 * cpphash.h: Remove T_VERSION. Add T_MCONST.
4377 * cpplib.h (struct cpp_reader): Remove timebuf.
4379 2000-04-09 Richard Henderson <rth@cygnus.com>
4381 * genrecog.c (pred): Update comparison_operator for the unordered
4384 * config/i386/i386.c (no_comparison_operator): Disallow unordered
4386 (fcmov_comparison_operator): Allow UNORDERED/ORDERED.
4387 (uno_comparison_operator): New.
4388 (put_condition_code): Handle UNORDERED/ORDERED.
4389 (unsigned_comparison): Likewise.
4390 (ix86_fp_compare_mode): Broken out of ix86_expand_fp_compare.
4391 (ix86_use_fcomi_compare, ix86_prepare_fp_compare_args): Likewise.
4392 (ix86_expand_fp_compare): Use them. Take scratch as argument,
4393 update all callers. Handle all 8 unordered operators.
4394 (ix86_expand_setcc): Lose the unordered argument, update all callers.
4395 (ix86_expand_branch): Likewise. Don't fully expand fp branches.
4396 * config/i386/i386.h (PREDICATE_CODES): Update.
4397 * config/i386/i386-protos.h (ix86_expand_fp_compare): Declare.
4398 (ix86_expand_branch, ix86_expand_setcc): Update.
4399 * config/i386/i386.md (sunordered, sordered): New.
4400 (suneq, sunge, sungt, sunle, sunlt, sltgt): New.
4401 (bunordered, bordered): New.
4402 (buneq, bunge, bungt, bunle, bunlt, bltgt): New.
4403 (*fp_jcc_1, *fp_jcc_2, *fp_jcc_3, *fp_jcc_4): New.
4404 (*fp_jcc_5, *fp_jcc_6, and splitters): New.
4406 2000-04-09 Philip Blundell <philb@gnu.org>
4408 * config/arm/arm.h (ARM_NAME_ENCODING_LENGTHS): Strip `*' too.
4410 Sun Apr 9 15:16:14 EDT 2000 John Wehle (john@feith.com)
4412 * i386.md (fix_truncsfhi2, fix_truncdfhi2,
4413 fix_truncxfhi2): New patterns.
4414 * i386.c (output_fix_trunc): Handle converting to HImode.
4416 2000-04-08 Alex Samuel <samuel@codesourcery.com>
4418 * ssa.c (convert_to_ssa): Eliminate dead code when calling
4420 (convert_from_ssa): Call compute_bb_for_insn before life_analysis.
4421 (for_each_successor_phi): Change parameter to basic_block.
4422 (coalesce_regs_in_successor_phi_nodes): Likewise.
4423 (coalesce_regs_in_copies): Likewise.
4424 (compute_coalesced_reg_partition): Use basic_block instead of index.
4425 * rtl.h (convert_to_ssa): Delete.
4426 (convert_from_ssa): Likewise.
4427 (successor_phi_fn): Likewise.
4428 (for_each_successor_phi): Likewise.
4429 (in_ssa_form): Likewise.
4430 * basic-block.h (convert_to_ssa): Moved from rtl.h.
4431 (convert_from_ssa): Likewise.
4432 (successor_phi_fn): Likewise.
4433 (in_ssa_form): Likewise.
4434 (for_each_successor_phi): Likewise. Change parameter to basic_block.
4435 * flow.c (calculate_global_regs_live): Pass a basic_block to
4436 for_each_successor_phi.
4438 2000-04-08 Richard Henderson <rth@cygnus.com>
4440 * flow.c (mark_used_reg): Use reg_set_p to determine if a register
4441 was modified in the current insn.
4443 2000-04-08 Richard Earnshaw (rearnsha@arm.com)
4445 * arm/thumb.md: Delete.
4446 * arm/thumb-protos.h: Delete.
4448 2000-04-08 Richard Earnshaw (rearnsha@arm.com)
4450 Merge changes from merged-arm-thumb-backend-branch onto trunk.
4452 2000-04-08 Richard Earnshaw (rearnsha@arm.com)
4454 * Merge trunk code from tag merged-arm-thumb-backend-merge_20000408
4457 * arm.md (nop): Use the standard RTL expression. Don't code as a
4459 (*arm_nop, *thumb_nop): Delete.
4461 * arm.c (const_ok_for_arm): Don't use ANSI extensions for defining
4462 constants. Use casts instead.
4463 (arm_gen_constant, arm_rtx_costs, arm_reload_in_hi, arm_reload_out_hi,
4464 output_multi_immediate, arm_poke_function_name): Likewise.
4465 * arm.h (ARM_LEGITIIMIZE_RELOAD_ADDRESS, ARM_SIGN_EXTEND,
4466 MASK_RETURN_ADDDR): Likewise.
4468 2000-03-31 Richard Earnshaw (rearnsha@arm.com)
4470 * Merge trunk code from tag merged-arm-thumb-backend-merge_20000325
4473 * arm.md (eh_epilogue): New function.
4474 * arm.h (struct machine_function): Move to here ...
4475 * arm.c: ... from here.
4476 (arm_output_epilogue): Support epilogues for __builtin_eh_return.
4477 (thumb_exit): Extra parameter eh_ofs. All callers changed.
4478 Handle epilogues for __builtin_eh_return. Make bit-fields unsigned.
4480 2000-03-30 Nick Clifton <nickc@cygnus.com>
4482 * config/arm/semi.h (ASM_SPEC): Restore definition.
4483 (SUBTARGET_EXTRA_ASM_SPEC): Define if not already defined.
4485 * config/arm/elf.h (ASM_SPEC): Restore definition.
4486 (SUBTARGET_EXTRA_ASM_SPEC): Define if not already defined.
4488 * config/arm/arm.h (ASM_SPEC): Remove definition.
4489 (SUBTARGET_EXTRA_ASM_SPEC): Remove definition.
4491 2000-03-26 Bernd Schmidt <bernds@cygnus.co.uk>
4493 * config/arm/arm.c: Disable -fschedule-insns for Thumb.
4495 2000-03-24 Nick Clifton <nickc@cygnus.com>
4497 Various formating tidyups, elimination of compile time
4498 warnings and synchronisation with internal sources:
4500 * config/arm/arm-protos.h (assemble_align): Add prototype.
4501 (gen_rotated_half_load): Rename to arm_gen_rotated_half_load.
4502 (gen_comapre_reg): Rename to arm_gen_compare_reg.
4503 (arm_return_addr_rtx): Rename to arm_return_addr.
4505 * config/arm/arm.c: Include except.h.
4506 Define shorter typenames for strict minipool_node and struct
4508 (arm_return_in_memory): For WinCE return all structures <= 32 bits
4510 (gen_rotated_half_load): Rename to arm_gen_rotated_half_load.
4511 (gen_comapre_reg): Rename to arm_gen_compare_reg.
4513 * config/arm/arm.h (SUBTARGET_EXTRA_ASM_SPEC): Define if not
4515 (ASM_SPEC): Define if not already defined.
4516 (ASM_OUTPUT_DEF_FROM_DECLS): Define.
4518 * config/arm/arm.md: Rename references to gen_rotated_half_load to
4519 arm_gen_rotated_half_load, and references to gen_comapre_reg to
4520 arm_gen_compare_reg.
4521 (indirect_jump): Only accept register operands.
4522 (load_indirect_jump): Keep this pattern since combine can generate
4525 * config/arm/coff.h: Include aout.h.
4526 (MULTILIB_DEFAULTS): Only define if not already defined.
4528 * config/arm/elf.h (ASM_OUTPUT_DEF_FROM_DECLS): Move definition
4529 into arm.h (so that COFF ports can support thumb based aliases).
4530 (ASM_SPEC): Move definition into arm.h
4532 * config/arm/linux-elf.h (SUBTARGET_EXTRA_ASM_SPEC): Remove
4533 redundant apcs spec.
4534 (ASM_SPEC): Move definition to arm.h
4536 * config/arm/semi.h (ASM_SPEC): Move definition to arm.h
4538 * config/arm/unknown-elf.h (ASM_OUTPUT_SECTION_NAME): Add support
4539 for entries in the .bss section
4541 2000-03-23 Nick Clifton <nickc@cygnus.com>
4543 * config/arm/arm.h (THUMB_INITIAL_ELIMINATION_OFFSET): Pass 0
4544 to thumb_far_jump_used_p.
4546 * config/arm/arm-protos.h (thumb_far_jump_used_p): Take a
4547 single integer parameter.
4549 * config/arm/arm.c (struct machine_function): Add two new
4550 fields, 'far_jump_used' and 'arg_pointer_live'.
4551 (thumb_far_jump_used_p): Once the decision has been made that
4552 far jumps might be used, always return true.
4553 If being called from the initial elimination offset macro then
4554 do not bother to perform the test if the arg pointer is not
4556 (thumb_unexpand_epilogue): Pass 1 to thumb_far_jump_used_p().
4557 (output_thumb_prologue): Pass 1 to thumb_far_jump_used_p().
4559 2000-03-23 Richard Earnshaw (rearnsha@arm.com)
4561 * arm.c (output_return_instruction): Handle more cases where we can
4562 return from a function with an ldr instruction.
4563 (arm_output_epilogue): Likewise.
4565 * arm.c (thumb_expand_prologue): Don't clobber the frame pointer
4566 if we need to push a large stack frame and there are no callee-saved
4569 * arm.c (arm_debugger_arg_offset): An offset of 0 is also valid
4570 in ARM code if the frame pointer has been eliminated.
4572 * arm.md (epilogue, *epilogue_insns, consttable_*, align_4): Renumber
4573 unspec_volatile arguments to avoid duplicates.
4574 (consttable_1, consttable_2): Fixes for big-endian mode.
4576 * arm.md (all ARM-mode load insns): Add neg_pool_range attribute
4579 Re-write constant pool code.
4580 * arm.c (minipool_node, minipool_fix): New types.
4581 (minifix): Delete type.
4582 (arm_add_minipool_constant): Delete.
4583 (arm_compute_minipool_offsets, arm_find_barrier,
4584 arm_find_minipool_constant, fixup_compare, sort_fixups): Likewise.
4585 (get_jump_table_size): Now returns HOST_WIDE_INT.
4586 (move_minipool_fix_forward_ref, add_minipool_forward_ref): New
4588 (move_minipool_fix_backward_ref, add_minipool_backward_ref): Likewise.
4589 (assign_minipool_offsets, arm_print_value): Likewise.
4590 (dump_minipool): Rewrite.
4591 (arm_barrier_cost): New function.
4592 (create_fix_barrier): New function.
4593 (push_minipool_barrier): New function.
4594 (push_minipool_fix): Record additional information about the fixup
4596 (note_invalid_constants): Remove push for (UNSPEC 3). Don't
4597 check the mode of what needs fixing.
4598 (arm_reorg): Rewrite.
4600 2000-03-08 Nick Clifton <nickc@cygnus.com>
4602 * config/arm/arm.md (indirect_jump): Force constant addresses into
4605 2000-03-01 Bernd Schmidt <bernds@cygnus.co.uk>
4607 * config/arm/arm.md: Add splitter to turn SF moves into SI moves.
4609 2000-02-24 Nick Clifton <nickc@cygnus.com>
4611 * config/arm/arm.c (thumb_expand_prologue): Make sure that stack
4612 adjust is word aligned.
4613 (thumb_expand_epilogue): Make sure that stack adjust is word
4616 * config/arm/elf.h (ASM_FILE_START): Fix type of version string.
4618 2000-02-24 Bernd Schmidt <bernds@cygnus.com>
4620 * config/arm/arm.h (THUMB_GO_IF_LEGITIMATE_ADDRESS): Allow frame
4621 pointer relative addresses.
4623 2000-02-10 Richard Earnshaw <rearnsha@arm.com>
4625 * arm.c (find_barrier): Find the last barrier within the allowed
4628 2000-02-09 Nick Clifton <nickc@cygnus.com>
4630 * config/arm/arm-protos.h: Replace PROTO with PARAMS.
4632 2000-02-09 Nick Clifton <nickc@cygnus.com>
4634 * config/arm/linux-elf.h (FUNCTION_PROFILER): Rename to
4635 ARM_FUNCTION_PROFILER.
4637 * config/arm/netbsd.h (FUNCTION_PROFILER): Rename to
4638 ARM_FUNCTION_PROFILER.
4640 * config/arm/linux-oldld.h: Imported from mainline sources.
4642 2000-02-07 Nick Clifton <nickc@cygnus.com>
4644 * config/arm/lib1funcs.asm: Merge in thumb functions from
4647 * config/arm/lib1thumb.asm: Delete.
4649 2000-02-04 Nick Clifton <nickc@cygnus.com>
4651 * config/arm/arm.c: Sychronised with current Red hat local
4653 * config/arm/arm.h: Ditto.
4654 * config/arm/arm-protos.h: Ditto.
4656 2000-02-02 Bernd Schmidt <bernds@cygnus.co.uk>
4658 * arm.c (soft_df_operand): Reject SUBREGs containing a constant.
4660 * arm.c (arm_gen_movstrqi): Generate halfword stores rather than two
4663 2000-02-02 Nick Clifton <nickc@cygnus.com>
4665 * config/arm/thumb.c (thumb_exit): Additional fix for same bug.
4667 * config/arm/arm.md (epilogue): Fix rtl checking abort because
4668 (return) was emited using an emit_insn() call.
4670 2000-01-31 Nick Clifton <nickc@cygnus.com>
4672 * config/arm/arm.c (output_thumb_prologue): Fix bug generating
4674 (thumb_exit): Move frame pointer back into hard frame pointer
4675 register if backtracing is being used.
4677 2000-01-13 Richard Earnshaw (rearnsha@arm.com)
4679 * Merge trunk code from tag merged-arm-thumb-backend-merge_20000113
4682 1999-12-15 Bernd Schmidt <bernds@cygnus.co.uk>
4684 * config/arm/arm.md (neg_pool_offset): Provide default for new
4686 (arm_movsi_insn): Add neg_pool_offset attribute.
4687 * config/arm/arm.c (arm_find_barrier): Replace arg FIX with an
4688 rtx for the insn that starts the scan and an unsigned long for its
4689 address. Add MIN_OFFSET and PINSERTED args. All callers changed.
4690 Change scan to ignore insns before MIN_OFFSET. Store size of inserted
4691 instructions in *PINSERTED.
4692 (struct minipool_fixup): Add MIN_ADDRESS elt.
4693 (sort_fixups): Compute it.
4694 (arm_reorg): Changes to support inserting pools before the insn to be
4697 1999-12-08 Bernd Schmidt <bernds@cygnus.co.uk>
4699 * config/arm/elf.h (MULTILIB_DEFAULTS): Add "marm".
4700 * config/arm/linux-elf.h (MULTILIB_DEFAULTS): Add "marm".
4701 * config/arm/coff.h (MULTILIB_DEFAULTS): Add "marm".
4703 Wed Nov 3 10:04:07 1999 Nick Clifton <nickc@cygnus.com>
4705 * config/arm/semi.h (TARGET_VERSION): Do not define if already
4707 (TARGET_DEFAULT): Do not define if already defined.
4709 Tue Nov 2 10:37:25 1999 Nick Clifton <nickc@cygnus.com>
4711 * config/arm/arm.md (anddi3): Allow disjoint source operands.
4712 (iordi3): Allow disjoint source operands.
4713 (xordi3): Allow disjoint source operands.
4714 (negdi2): Permit construction for ARM and Thumb.
4715 (arm_negdi2): Renamed version of old negdi2 pattern.
4716 (thumb_negdi2): New pattern: Only permit non-overlapping
4717 source and destination.
4719 Fri Oct 29 18:52:38 1999 Nick Clifton <nickc@cygnus.com>
4721 * config/arm/arm.c (thumb_expand_prologue): Emit a USE of the
4722 scratch low register so that it will not be deleted.
4724 Fri Oct 29 15:23:48 1999 Nick Clifton <nickc@cygnus.com>
4726 * config/arm/pe.h (ARM_PE): Define.
4728 * config/arm/arm.c (arm_valid_machine_decl_attribute): Allow
4729 interfacearm attribute if this is a PE toolchain.
4730 (output_return_instruction): Do not emit anything if the function
4731 has the naked attribute set.
4732 (is_called_in_ARM_mode): If the function has the interfacearm
4733 attribute then return true.
4734 (thumb_expand_prologue): Do not generate a prologue for naked
4736 (thumb_expand_epilogue): Do not generate an epilogie for a naked
4738 (output_thumb_prologue): Do not bother if the function is naked.
4739 Strip PE encoding from function name before emitting.
4741 Thu Oct 28 11:05:13 1999 Richard Earnshaw <rearnsha@arm.com>
4743 * arm.md (pic_load_addr): Fix constraints.
4745 * arm.md (casesi_insn): Fix mis-applied patch.
4747 * arm.md ("core" function unit): Add rules for single- and
4749 (All TARGET_THUMB patterns): Add "type" attribute information
4751 * arm.c (arm_adjust_cost): Reduce the cost of a data dependency if
4752 the following insn is a CALL.
4754 * arm.c (thumb_expand_epilogue): Add a use of the adjusted stack
4756 * arm.h (CONDITIONAL_REGISTER_USAGE): Nail down the
4757 ARM_HARD_FRAME_POINTER_REGNUM when TARGET_APCS_FRAME.
4758 (FRAME_POINTER_REQUIRED): Only check TARGET_APCS_FRAME if TARGET_ARM.
4760 Wed Oct 27 14:40:48 1999 Nick Clifton <nickc@cygnus.com>
4762 * config/arm/linux-gas.h: oops - this file was missed out when the
4763 branch was created...
4765 Tue Oct 26 17:07:38 1999 Richard Earnshaw <rearnsha@arm.com>
4767 * thumb.c: Deleted. Move contents to ...
4769 * t-arm-aout, t-arm-coff, t-arm-elf, t-linux, t-netbsd, t-semi: Remove
4771 * configure.in (arm*-*-*): Remove thumb.o from extra_objs list.
4774 * arm-protos.h: Use RTX_CODE and tidy up long lines. Don't
4775 declare a prototype for asm_output_align();
4777 * arm.c (thumb_condition_code): Delete.
4778 (arm_print_operand): Always use arm_condition_code array.
4780 * arm.c (thumb_return_addr_rtx): Delete.
4781 (arm_save_machine_status, arm_restore_machine_status): Delete.
4782 (arm_init_machine_status, arm_mark_machine_status): New functions.
4783 (arm_init_expanders): Update accordingly.
4784 (arm_return_addr): Renamed from arm_return_addr_rtx. Rewrite.
4785 (thumb_expand_prologue): Delete code referencing thumb_return_addr_rtx.
4786 * arm.h (RETURN_ADDR_RTX): Call arm_return_addr().
4788 Tue Oct 26 13:24:16 1999 Nick Clifton <nickc@cygnus.com>
4790 * configure.in : Fix arm-*-aout target to use new t-arm-aout
4792 * config/arm/t-arm-aout: New file: Makefile script for arm-*-aout
4795 Tue Oct 26 11:27:12 1999 Nick Clifton <nickc@cygnus.com>
4797 * config/arm/thumb.c (output_thumb_prologue): Fix bug creating
4798 stack backtrace structure.
4800 * config/arm/arm-protos.h: Add prototypes for functions defined in
4803 * config/arm/arm.c (arm_override_options): Fix selection of
4804 attributes of default processor.
4806 * config/arm/coff.h: Delete needless #include.
4808 * config/arm/pe.c: Delete unused code.
4810 * config/arm/pe.h (CPP_DEFINES): Delete
4811 (SUBTARGET_CPP_SPEC): Define.
4812 (ASM_DECLARE_FUNCTION_NAME): Use ARM_DECLARE_FUNCTION_NAME.
4814 * config/arm/t-pe: Add -DInhibit_libc to allof libgcc.a to build.
4816 Mon Oct 25 15:42:09 1999 Richard Earnshaw (rearnsha@arm.com)
4818 * arm.h (TARGET_APCS_FRAME): Renamed from TARGET_APCS -- all uses
4820 (CAN_DEBUG_WITHOUT_FP): Define.
4821 (FIXED_REGISTERS): Make r11 call-saved.
4822 (CALL_USED_REGISTERS): Likewise.
4823 (CONDITIONAL_REGISTER_USAGE): Fix r11 if TARGET_APCS_FRAME.
4824 (FRAME_POINTER_REQUIRED): Correct logic for determining when a
4825 frame-pointer is required.
4826 (TARGET_DEFAULT): Make default setting include ARM_FLAG_APCS_FRAME.
4827 * arm.c (arm_override_options): Warn about -mno-apcs-frame and -g
4828 if the target normally needs a stack frame in non-leaf functions.
4829 (use_return_insn): Correct logic for determining when a return
4830 instruction can be used.
4831 (output_return_instruction): Handle the frame-pointer register as
4832 a normal register when not TARGET_APCS_FRAME.
4833 (arm_output_prologue): Likewise.
4834 (arm_output_epilogue): Likewise.
4835 (output_func_epilogue): Likewise.
4836 (arm_expand_prologue): Likewise.
4837 * netbsd.h semi.h (TARGET_DEFAULT): Add ARM_FLAG_APCS_FRAME.
4839 * arm.c (use_return_insn): No need to check floating point regs if
4841 (arm_find_minipool_constant): Correct typo; use GET_CODE to get
4842 the code of value stored in the minipool array.
4843 (arm_add_minipool_constant): Likewise.
4845 2000-04-08 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4847 * basic-block.h (conflict_graph_enum_fn): K&R fix.
4849 2000-04-08 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4851 * tree.c (tree_expr_nonnegative_p): New function.
4853 * tree.h (tree_expr_nonnegative_p): Declare.
4855 * c-typeck.c (build_binary_op): Call `tree_expr_nonnegative_p' to
4856 elide some sign_compare warnings.
4857 (build_conditional_expr): Likewise.
4859 Sat Apr 8 00:21:51 EDT 2000 John Wehle (john@feith.com)
4861 * i386.md (ashrsi3, ashrhi3, ashrqi3): Fix typo.
4863 * i386.md (floathisf2, floathidf2, floathixf2): New patterns.
4864 * i386.c (print_operand): Use the proper suffix for a 387 HImode
4865 operand. Abort if a 387 operand has an unsupported size.
4867 2000-04-08 Neil Booth <NeilB@earthling.net>
4869 * cppexp.c (parse_charconst): Null does not end character
4871 * cppinit.c (ISTABLE): Null character handled as whitespace.
4872 * cpplex.c (null_warning): new function.
4873 (skip_string): Emit warning if nulls encountered.
4874 (_cpp_skip_hspace): Emit warning if nulls encountered.
4875 (_cpp_lex_token): Emit warning if nulls encountered. Drop
4879 2000-04-07 Richard Henderson <rth@cygnus.com>
4881 * flow.c (loop_depth): Remove.
4882 (reg_next_use, cc0_live, mem_set_list): Replace with ...
4883 (struct propagate_block_info): New.
4884 (life_analysis): Don't allocate reg_next_use.
4885 (propagate_block_delete_insn): Break out of propagate_block.
4886 Use flow_delete_insn to unlink rather than use NOTE_INSN_DELETED.
4887 (propagate_block_delete_libcall): Likewise.
4888 (propagate_block): Create a propagate_block_info struct to pass
4889 to subroutines. Allocate one not two temporary regsets. Don't
4890 clobber memory for const calls. Look for clobbers in
4891 CALL_INSN_FUNCTION_USAGE.
4892 (mark_set_regs): Recognize COND_EXEC.
4893 (mark_set_reg): Break out of mark_set_1.
4894 (mark_used_reg): Break out of mark_used_regs.
4895 (mark_used_regs): Recognize COND_EXEC.
4896 (insn_dead_p): Use propagate_block_info struct.
4897 (libcall_dead_p, invalidate_mems_from_autoinc): Likewise.
4898 (find_auto_inc, try_pre_increment_1): Likewise.
4899 (print_rtl_with_bb): Dump regs live at end too.
4900 (count_reg_sets_1): Pass in loop_depth.
4901 (count_reg_sets, count_reg_references): Likewise.
4902 (recompute_reg_usage): Provide it.
4904 2000-04-07 Richard Henderson <rth@cygnus.com>
4906 * Makefile.in (conflict.o): Depend on $(RTL_H) and $(BASIC_BLOCK_H)
4909 2000-04-07 Zack Weinberg <zack@wolery.cumb.org>
4911 * cpplib.c (do_elif): Skip the rest of the line if we're
4912 not going to bother evaluating it.
4913 (skip_if_group): Clear pfile->only_seen_white. Reorder loop
4914 to avoid pointless calls to the lexer.
4916 Fri Apr 7 11:50:54 2000 Jim Wilson <wilson@cygnus.com>
4918 * config/ia64/ia64.c: Delete stdio.h and ctype.h includes.
4920 2000-04-07 Jason Merrill <jason@casey.cygnus.com>
4922 * calls.c (expand_call): emit_queue if we're trying a sibcall.
4924 2000-04-07 Jakub Jelinek <jakub@redhat.com>
4926 * config/sparc/t-linux64 (tcrtbeginS.o, tcrtendS.o): Remove.
4928 2000-04-06 Geoff Keating <geoffk@cygnus.com>
4930 * Makefile.in: Build crtbeginS and crtendS like crtbegin and
4931 crtend so they can be multilibbed.
4932 (STAGESTUFF): Remove s-crt and s-crtS.
4934 2000-04-07 Richard Henderson <rth@cygnus.com>
4936 * config/alpha/alpha.c (alpha_emit_conditional_move): Fail
4937 if we discover we need a pseudo and no_new_pseudos is true.
4938 * config/alpha/alpha.md (ne:DI insn): New.
4939 (trunctfsf2, sne): Emit NE instead of non-canonical LTU.
4941 2000-04-07 Richard Henderson <rth@cygnus.com>
4943 * rtl.def (COND_EXEC): New.
4944 * rtl.h (COND_EXEC_TEST, COND_EXEC_CODE): New.
4945 * tm.texi (MAX_CONDITIONAL_EXECUTE): Document.
4947 * genconfig.c (have_cond_arith_flag): Remove.
4948 (have_cond_exec_flag): New.
4949 (walk_insn_part): Detect COND_EXEC, not arithmetic in IF_THEN_ELSE.
4950 (main): Print HAVE_conditional_execution.
4952 * haifa-sched.c (haifa_classify_insn): Recognize COND_EXEC.
4953 (sched_analyze_insn, print_pattern): Likewise.
4954 * reload.c (find_equiv_reg): Likewise.
4955 * rtlanal.c (reg_referenced_p): Likewise.
4956 (note_stores, dead_or_set_regno_p): Likewise.
4957 (reg_overlap_mentioned_p): Rewrite to use a switch.
4959 * ggc.h (struct rtx_def): Forward declare.
4961 * print-rtl.c (debug_rtx_range): New.
4962 * rtl.h (debug_rtx_range): Declare.
4964 * varray.h (VARRAY_ACTIVE_SIZE, VARRAY_POP_ALL): New.
4966 * gcse.c (gcse_main): Don't rebuild the CFG here.
4967 (delete_null_pointer_checks): Likewise.
4968 * ssa.c (convert_to_ssa): Likewise.
4969 * toplev.c (rest_of_compilation): Do it here instead. Combine
4970 sequential calls to TIMEVAR. Consistently use `insns' instead of
4971 `get_insns()'. Always split insns after reload when optimizing.
4973 * basic-block.h (merge_blocks_nomove): Declare.
4974 (tidy_fallthru_edge): Declare.
4975 * flow.c (merge_blocks_nomove): Document as merging into previous
4976 blocks. Remove cruft from between blocks; remove all edges out of A.
4977 (tidy_fallthru_edge): Export.
4979 2000-04-06 Alex Samuel <samuel@codesourcery.com>
4981 * ssa.c (compute_conservative_reg_partition): Declare with
4983 * toplev.c (clean_dump_file): Remove previously-deleted function
4984 inadvertantly merged back in.
4985 * conflict.c (conflict_graph_add): Use a single call to
4986 htab_find_slot to look up and insert.
4988 2000-04-06 Richard Henderson <rth@cygnus.com>
4990 * genrecog.c (*): Rename _last_insn to last_insn.
4991 (make_insn_sequence): Set the position of the peephole2 C test
4992 to be at the last insn.
4994 2000-04-06 Richard Henderson <rth@cygnus.com>
4996 * flow.c (compute_flow_dominators): Free worklist.
4998 2000-04-06 Michael Matz <matzmich@cs.tu-berlin.de>
5000 * flow.c (compute_flow_dominators): Process blocks FIFO not LIFO.
5002 2000-04-06 Alex Samuel <samuel@codesourcery.com>
5004 * rtl.h (INSN_P): New macro.
5005 (successor_phi_fn): New typedef.
5006 (for_each_successor_phi): New prototype.
5007 (in_ssa_form): New variable.
5008 (PHI_NODE_P): Likewise.
5009 * flow.c (calculate_global_regs_live): Add to new_live_at_end from
5010 phi nodes in successors.
5011 (mark_used_regs): Add PHI case.
5012 (set_phi_alternative_reg): New function.
5013 (life_analysis): Assert that dead code elimination is not selected
5015 * toplev.c (to_ssa_time): New variable.
5016 (from_ssa_time): Likewise.
5017 (compile_file): Zero to_ssa_time and from_ssa_time.
5018 Print time to convert to and from SSA.
5019 (rest_of_compilation): Time convert_to_ssa and convert_from_ssa.
5020 (print_time): Compute percent fraction as integer.
5021 * ssa.c (PHI_NODE_P): Moved to rtl.h.
5022 (convert_to_ssa): Check if we're already in SSA.
5023 Don't eliminate dead code in life_analysis.
5024 Rerun flow and life analysis at bottom.
5025 (eliminate_phi): Use canonical regnos when adding nodes.
5026 (mark_reg_in_phi): New function.
5027 (mark_phi_and_copy_regs): Likewise.
5028 (convert_from_ssa): Rerun life analysis at top.
5029 Use coalesced partition.
5030 Check for removing a phi node at the end of the block.
5031 (compute_coalesced_reg_partition): New function.
5032 (coalesce_regs_in_copies): Likewise.
5033 (coalesce_reg_in_phi): Likewise.
5034 (coalesce_regs_in_sucessor_phi_nodes): Likewise.
5035 (for_each_successor_phi): Likewise.
5036 (rename_context): New struct.
5037 (rename_block): Use a rename_context with rename_insn_1. When
5038 renaming sets of a subreg, emit a copy of the entire reg first.
5039 (rename_insn_1): Treat data as a rename_context *. Save current
5041 (rename_set_data): Add field set_insn.
5042 * Makefile.in (HASHTAB_H): Move up in file.
5043 (OBSTACK_H): New macro.
5044 (collect2.o): Use OBSTACK_H in dependencies.
5045 (sdbout.o): Likewise.
5046 (emit-rtl.o): Likewise.
5047 (simplify-rtx.o): Likewise.
5048 (fix-header.o): Likewise.
5049 (OBJS): Add conflict.o.
5050 (conflict.o): New rule.
5051 * basic-block.h: Include partition.h.
5052 (conflict_graph): New typedef.
5053 (conflict_graph_enum_fn): Likewise.
5054 (conflict_graph_new): New prototype.
5055 (conflict_graph_delete): Likewise.
5056 (conflict_graph_add): Likewise.
5057 (conflict_graph_conflict_p): Likewise.
5058 (conflict_graph_enum): Likewise.
5059 (conflict_graph_merge_regs): Likewise.
5060 (conflict_graph_print): Likewise.
5061 (conflict_graph_compute): Likewise.
5062 * conflict.c: New file.
5064 2000-04-06 Jason Merrill <jason@yorick.cygnus.com>
5066 * tlink.c (read_repo_files): Don't look for .rpo info for
5069 Thu Apr 6 20:39:26 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
5071 * sh.h (STRUCT_VALUE, RETURN_IN_MEMORY): Define.
5073 Thu Apr 6 19:34:08 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
5075 * config/sh/lib1funcs.asm (___udivsi3_i4):
5076 ( __SH4_SINGLE__ / __SH4_SINGLE_ONLY__ variant): value for fpscr
5077 only depends on FMOVD_WORKS.
5079 Thu Apr 6 19:11:47 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
5081 * config/sh/lib1funcs.asm (___udivsi3_i4): When using fmovd,
5082 make double constant 8-byte aligned.
5084 2000-04-06 Jakub Jelinek <jakub@redhat.com>
5086 * config/sparc/sparc.md (movtf_insn_sp32, movtf_insn_vis_sp32,
5087 movtf_no_e_insn_sp32, movtf_insn_hq_sp64, movtf_insn_hq_vis_sp64,
5088 movtf_no_e_insn_sp64): Accept loading 0.0 into GENERAL_REGS.
5089 (movtf_insn_sp64, movtf_insn_vis_sp64): Likewise.
5090 Accept storing GENERAL_REGS into offsetable memory.
5091 * config/sparc/sparc.h (PREFERRED_RELOAD_CLASS): Don't allow
5092 building a TFmode constant other than 0.0L into GENERAL_REGS.
5094 2000-04-06 Clinton Popetz <cpopetz@cygnus.com>
5096 * regrename.c (regrename_optimize): Handle no REG_ALLOC_ORDER.
5098 2000-04-06 Zack Weinberg <zack@wolery.cumb.org>
5100 * cpphash.c (CPP_IS_MACRO_BUFFER, FORWARD, PEEKC): Delete.
5101 (macro_cleanup): No need to cast pbuf->macro.
5102 (collect_expansion): Use _cpp_get_define_token. Goto done if
5103 it returns VSPACE. Remove check for trailing space after
5105 (_cpp_create_definition): Don't diddle flags here. Return
5107 (unsafe_chars): Handle c1 being EOF.
5108 (push_macro_expansion): Use unsafe_chars for both accidental-paste
5109 checks. Don't push the buffer till after we're done with
5111 * cpplex.c (PEEKBUF, GETBUF, FORWARDBUF): New.
5112 (PEEKN, FORWARD, GETC, PEEKC): Use them.
5113 (cpp_push_buffer): Don't set new->alimit. Set new->mark
5115 (_cpp_parse_assertion): Don't NUL terminate.
5116 (_cpp_lex_token): Fix -traditional macro handling. Don't skip
5117 hspace before calling _cpp_parse_assertion. Remove all sets
5118 of only_seen_white. Treat '\f' as hspace. Don't do anything
5119 special with '\n' here.
5120 (maybe_macroexpand): Handle T_EMPTY hash entries without
5121 pushing a buffer at all.
5122 (cpp_get_token): Handle clearing only_seen_white here. Handle
5123 incrementing the line number here. Clear
5124 potential_control_macro as well as only_seen_white, if
5126 (cpp_get_non_space_token): Don't eat CPP_POP tokens.
5127 (_cpp_get_define_token): New function, basically like
5128 _cpp_get_directive_token was but doesn't eat horizontal space.
5129 Don't do anything with only_seen_white here.
5130 (_cpp_get_directive_token): Just call _cpp_get_define_token
5131 repeatedly till it returns non-hspace.
5133 * cpplib.c (PEEKN, FORWARD, GETC, PEEKC): Delete.
5134 (conditional_skip, skip_if_group): Return int.
5135 (DIRECTIVE_TABLE): Change origin of all conditional directives
5137 (TRAD_DIRECT_P): New macro.
5138 (_cpp_handle_directive): Use _cpp_get_directive_token. Issue
5139 an error for a bogus directive, unless -lang-asm. Use
5140 TRAD_DIRECT_P. Loop calling handler functions till one returns
5142 (get_macro_name): Don't diddle flags here.
5143 (do_define): Diddle flags here. Use _cpp_get_directive_token.
5144 Create T_EMPTY nodes for #define macro /* nothing */.
5145 (do_undef): Don't copy the name. Use _cpp_get_directive_token.
5146 Use hp->name when calling pass_thru_directive.
5147 (do_if, do_else, do_elif, do_ifdef, do_ifndef, conditional_skip):
5148 Return the result of conditional_skip and/or skip_if_group.
5149 Don't call _cpp_output_line_command.
5150 (consider_directive_while_skipping): Use _cpp_get_directive_token.
5151 Issue -Wtraditional warnings as appropriate. Don't complain
5152 about unrecognized directives. If we are to stop skipping,
5153 return the number of the directive that ended the skip.
5154 (skip_if_group): Use _cpp_get_directive_token. Turn off macro
5155 expansion and line commands while skipping. Return the result
5156 of consider_directive_while_skipping, if nonzero.
5157 (do_endif): Just set potential_control_macro here.
5158 (validate_else): Use _cpp_get_directive_token.
5159 (do_assert, do_unassert): Don't save pointers into the
5160 token_buffer across calls to the lexer. Use
5161 _cpp_get_directive_token.
5163 * cpplib.h (cpp_buffer): Remove alimit and colno. Make mark a
5164 pointer, not an offset. Replace 'data', which was a generic
5165 pointer, with 'macro', which points to a struct hashnode.
5166 (cpp_reader): Add 'potential_control_macro' pointer.
5167 * cpphash.h (T_UNUSED): Replace with T_EMPTY.
5168 (CPP_BUF_GET, CPP_FORWARD): Delete.
5169 (CPP_IN_COLUMN_1, ADJACENT_TO_MARK): New macros.
5170 (CPP_IS_MACRO_BUFFER, CPP_SET_BUF_MARK, CPP_GOTO_BUF_MARK,
5171 ACTIVE_MARK_P): Update.
5172 (_cpp_get_define_token): New internal function.
5173 * cppfiles.c (read_include_file): Don't set fp->alimit or fp->colno.
5175 2000-04-05 Benjamin Kosnik <bkoz@cygnus.com>
5177 * configure.in: And here.
5178 * configure: Regenerate.
5179 * acconfig.h: Add ENABLE_STD_NAMESPACE to set flag_honor_std if
5180 --enable-libstdcxx-v3 is passed at configure time.
5181 * config.h.in: Regenerate.
5183 2000-04-05 Mark Mitchell <mark@codesourcery.com>
5185 * final.c (final): Use xcalloc to allocate line_note_exists.
5186 * function.c (free_after_compilation): Free the temp_slots.
5187 (assign_stack_temp_for_type): Use xmalloc to allocate temp_slots.
5188 (combine_temp_slot): Free temp_slots when they get combined.
5189 (purge_addressof): Fix typo in comment.
5190 * stmt.c (mark_goto_fixup): Mark the fixup itself.
5191 (expand_fixup): Allocate the fixup with ggc_alloc_obj.
5193 * ggc.h: Include varray.h.
5194 (ggc_pending_trees): Declare.
5195 (ggc_mark_tree_children): Remove declaration.
5196 (ggc_mark_tree): Just push unmarked trees on ggc_pending_trees.
5197 * ggc-common.c (ggc_pending_trees): New variable.
5198 (ggc_mark_roots): Call ggc_mark_trees.
5199 (ggc_mark_tree_children): Rename to ggc_mark_trees. Process all
5200 the ggc_pending_trees.
5201 * Makefile.in (GGC_H): New variable. Use it throughout in place
5204 Thu Apr 6 00:30:50 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
5206 * sh.h (FUNCTION_ARG_PARTIAL_NREGS): Accomodate an unsigned
5209 Wed Apr 5 23:17:10 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
5211 * sh.c (sh_insn_length_adjustment): New function.
5212 * sh-protos.h (sh_insn_length_adjustment): Declare.
5213 * sh.h (ADJUST_INSN_LENGTH): Use it.
5215 Wed Apr 5 12:35:18 2000 Hans-Peter Nilsson <hp@axis.com>
5217 * optabs.c (emit_libcall_block): Remove spurious REG_EQUAL notes
5218 from the insn where REG_RETVAL is added.
5219 (emit_no_conflict_block): Ditto.
5221 * md.texi (Standard Names): Clarify when movX is needed.
5223 * combine.c (simplify_comparison) [MINUS]: Do not replace
5224 all (op (minus A B) 0) with (op A B).
5226 Wed Apr 5 18:03:31 2000 Toshiyasu Morita (toshi.morita@sega.com)
5227 J"orn Rennecke <amylaar@cygnus.co.uk>
5229 * sh.md (block_lump_real_i4): Add missing clobber of T_REG
5230 (block_lump_real): Likewise.
5232 2000-04-05 Chris Demetriou <cgd@netbsd.org>
5234 * mips.h (MASK_DEBUG_A, MASK_DEBUG_B, MASK_DEBUG_C): Zero the
5235 remaining non-zero debugging masks.
5237 Wed Apr 5 09:44:07 2000 Jeffrey A Law (law@cygnus.com)
5239 * basic-block.h (verify_flow_info): Declare.
5240 (flow_loop_outside_edge_p): Declare.
5241 * flow.c (verify_flow_info): Remove declaration.
5242 (clear_log_links, flow_loop_outside_edge_p): Likewise.
5244 Wed Apr 5 09:34:26 2000 Philippe De Muyter <phdm@macqel.be>
5246 * m68k/m68k-protos.h (finalize_pic): Turn prototype off using `#if 0',
5249 2000-04-05 Jakub Jelinek <jakub@redhat.com>
5251 * config/sparc/sparc.md (snedi_zero+1, neg_snedi_zero+1,
5252 snedi_zero_trunc+1, seqdi_zero+1, neg_seqdi_zero+1,
5253 seqdi_zero_trunc+1): Allow splits only if registers are
5256 2000-04-04 Ulrich Drepper <drepper@cygnus.com>
5258 * acconfig.h: Add HAVE_GAS_HIDDEN.
5259 * config.in: Regenerated.
5260 * configure.in: Add test for .hidden pseudo-op in gas.
5261 * configure: Regenerated.
5262 * crtstuff.c: Include auto-host.h.
5263 Emit additional .hidden pseudo-op for __dso_handle if the
5264 assembler knows about it.
5266 2000-04-04 Philippe De Muyter <phdm@macqel.be>
5268 * cpphash.c (_cpp_free_definition): Test argnames, not nargs >= 0,
5269 before freeing argnames.
5270 * cpplib.c (do_ifndef): Cast return value of xstrdup.
5272 2000-04-05 Michael Meissner <meissner@redhat.com>
5274 * config/rs6000/rs6000.c (print_operand): Patch from Jonathan
5275 Walton <jonboy@gordian.com> to make memory references with update
5276 work wtih -mregnames.
5278 2000-04-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5280 * regrename.c (regno_first_use_in): Wrap prototype in PARAMS.
5281 (regrename_optimize): Rename variables `def_uses' and
5282 `ext_basic_blocks' to avoid conflicts with similarly named
5283 typedefs in traditional C.
5285 * calls.c (initialize_argument_information): Fix typo in previous
5288 2000-04-04 Richard Henderson <rth@cygnus.com>
5290 * regrename.c (consider_available): Test fixed_regs not
5291 PIC_OFFSET_TABLE_REGNUM.
5293 2000-04-04 Geoff Keating <geoffk@cygnus.com>
5295 * config/rs6000/t-ppccomm (EXTRA_MULTILIB_PARTS): Add crtbegin,
5297 (CRTSTUFF_T_CFLAGS_S): Delete definition.
5298 * config/rs6000/sysv4.h (STARTFILE_LINUX_SPEC): Always use crtbegin.
5299 (ENDFILE_LINUX_SPEC): Always use crtend.
5300 * configure.in (powerpc-*-linux-gnulibc1): Don't define extra_parts.
5301 (powerpc-*-linux-gnu): Likewise.
5302 * configure: Regenerate.
5304 * config/rs6000/eabi.h: Don't include sysv4.h.
5305 (MULTILIB_DEFAULTS): Don't define.
5306 * config/rs6000/eabiaix.h: Don't include eabi.h.
5307 * config/rs6000/eabile.h: Delete.
5308 * config/rs6000/eabilesim.h: Delete.
5309 * config/rs6000/eabisim.h: Don't include eabi.h.
5310 * config/rs6000/linux.h: Don't include sysv4.h.
5311 (JUMP_TABLES_IN_TEXT_SECTION): Don't redefine.
5312 (MULTILIB_DEFAULTS): Don't redefine.
5313 * config/rs6000/rtems.h: Don't include eabi.h.
5314 * config/rs6000/sol2.h: Don't include sysv4le.h.
5315 * config/rs6000/sysv4le.h: Don't include sysv4.h.
5316 * config/rs6000/t-ppc: Delete.
5317 * config/rs6000/t-ppcgas: Correct comment.
5318 * config/rs6000/t-ppcos: Correct comment. Don't build
5319 multilibs for -fPIC, rather use -fPIC -mstrict-align
5321 * config/rs6000/t-ppc: Delete.
5322 * config/rs6000/vxppc.h: Don't include sysv4.h.
5323 * config/rs6000/vxppcle.h: Delete.
5324 * configure.in: Use multiple header files for p2pc ELF targets
5325 powerpc-eabiaix, powerpc-eabisim, powerpc-rtems, powerpcle-eabi,
5326 powerpcle-eabisim, powerpc-elf, powerpcle-elf, powerpc-linux-gnu,
5327 powerpc-linux-gnulibc1, powerpc-sysv, powerpcle-sysv,
5328 powerpc-vxworks, powerpcle-vxworks. Assume GAS functionality is
5329 always available for these platforms.
5331 2000-04-04 Richard Henderson <rth@cygnus.com>
5333 * calls.c (try_to_integrate): Initialize reg_parm_stack_space.
5335 2000-04-04 Stan Cox <scox@cygnus.com>
5337 * Makefile.in: Add rules for regrename.o
5338 * regrename.c: New file.
5339 * rtl.h (regrename_optimize): Add prototype.
5340 * toplev.c (rename_registers_dump, flag_rename_registers): New variables
5341 (compile_file, decode_d_option): Add support for -frename-registers.
5342 (rest_of_compilation): Call regrename_optimize.
5343 * config/ia64/ia64.h (HARD_REGNO_RENAME_OK, RENAME_EXTENDED_BLOCKS):
5346 2000-04-04 Martin v. Löwis <loewis@informatik.hu-berlin.de>
5348 * Makefile (gccbug): New target.
5349 (doc): Depend on it.
5350 * gcc.texi (Bugs): Link subnodes.
5352 * gccbug.in (CATEGORIES): Remove gc, host, profiling, libgcc.
5353 Document severities, priorities, and classes in bug form.
5355 2000-04-04 Zack Weinberg <zack@wolery.cumb.org>
5357 * cpplex.c (trigraph_map, speccase): Combine into single
5359 (NORMAL, NONTRI): New macros.
5360 (_cpp_read_and_prescan): Change to use unified table. Use
5361 is_hspace to test for whitespace.
5363 * dbxout.c (CONTIN): If it doesn't have to do anything, give it a
5364 definition that doesn't provoke the "empty body in an
5365 if-statement" warning.
5367 2000-04-04 Clinton Popetz <cpopetz@cygnus.com>
5369 * builtins.c (expand_builtin_strlen): Force the source to
5370 be a memory address.
5372 2000-04-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5374 * cpplib.c (D): Adjust to call CONCAT2 macro without whitespace.
5376 Tue Apr 4 19:17:20 MET DST 2000 Jan Hubicka <jh@suse.cz>
5378 * calls.c (ECF_MALLOC, ECF_MAY_BE_ALLOCA, ECF_RETURNS_TWICE,
5379 ECF_LONGJMP, ECF_FORK_OR_EXEC): New constants.
5380 (ECF_IS_CONST): Rename to ECF_CONST.
5381 (special_function_p): Make static, change interface.
5382 (flags_from_decl_or_type, try_to_integrate): Break out from ...
5383 (expand_call) ... here; convert number of variables to flags.
5384 (emit_library_call_vlue_1): Likewise.
5385 (setjmp_call_p): New function.
5386 (initialize_argument_information): Accepts flags as argument;
5388 (precompute_arguments): Likewise.
5389 * tree.h (special_function_p): Remove.
5390 (setjmp_call_p): Add prototype.
5392 2000-04-04 Jakub Jelinek <jakub@redhat.com>
5394 * config/sparc/sparc.h (RTX_OK_FOR_OFFSET_P): Leave minor margin
5395 so that addresses are offsetable by up to 16 bytes.
5396 (GO_IF_LEGITIMATE_ADDRESS): Don't allow REG+REG addresses for
5397 non-optimizing TARGET_ARCH32 in DF or DI modes because it is not
5400 * config/sparc/sparc.md (movdi_insn_sp64_novis): New pattern.
5401 (movdi_insn_sp64_vis): Renamed from movdi_insn_sp64.
5402 (movsf): Don't force any constant to memory if target is integer
5404 Move fp_zero_operand check below the const0_rtx check.
5405 (movtf): Likewise. Also allow fp_zero_operand for stores into
5407 (movdf): Likewise. Also allow fp_zero_operand for stores into
5408 memory and into integer hard registers.
5409 (clear_df, clear_dfp, movdf_const_intreg_sp32,
5410 movdf_const_intreg_sp64): Remove.
5411 (movdf_insn_sp32, movdf_no_e_insn_sp32): Redo constraints and
5413 (movdf_no_e_insn_v9_sp32): New pattern.
5414 (movdf_insn_v9only): Remove.
5415 (movdf_insn_v9only_novis, movdf_insn_v9only_vis): New patterns.
5416 (movdf_insn_sp64): Remove.
5417 (movdf_insn_sp64_novis, movdf_insn_sp64_vis): New patterns.
5418 (movdf_no_e_insn_sp64): Allow storing 0.0 into memory.
5419 (following splits): Rewrite conditions. Add two new splits
5420 for storing 0.0 into memory and registers.
5421 (clear_tf, clear_tf+1, clear_tfp, clear_tfp+1): Remove.
5422 (movtf_insn_sp32): Redo constraints and conditions.
5423 (movtf_insn_vis_sp32): New pattern.
5424 (movtf_no_e_insn_sp32): Redo constraints and conditions.
5425 (movtf_insn_hq_sp64): Likewise.
5426 (movtf_insn_hq_vis_sp64): New pattern.
5427 (movtf_insn_sp64): Redo constraints and conditions.
5428 (movtf_insn_vis_sp64): New pattern.
5429 (movtf_no_e_insn_sp64): Redo constraints and conditions.
5430 (movtf_no_e_insn_sp64+1): New split for storing 0.0L into registers
5432 * config/sparc/sparc.c (sparc_override_options): Assume v9 if either
5433 -mvis or -m64 to take down the number of various reload patterns.
5435 Tue Apr 4 00:41:53 2000 Jeffrey A Law (law@cygnus.com)
5437 * pa/pa-64.h: New file.
5438 * pa/pa64-regs.h: New file.
5439 * pa/pa64-start.h: New file.
5440 * pa/t-pa64: New file.
5441 * pa/xm-pa64hpux.h: New file.
5443 2000-04-03 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5445 * sparc.c (output_restore_regs): Prototype.
5446 (sparc_emit_float_lib_cmp): Constification.
5448 * emit-rtl.c (const_int_htab_hash, const_int_htab_eq): Likewise.
5450 * reload1.c (reload_cse_delete_noop_set, reload_cse_simplify):
5453 * simplify-rtx.c (entry_and_rtx_equal_p): Constification.
5454 (get_value_hash, hash_rtx): Likewise.
5456 * ssa.c (compute_conservative_reg_partition): Prototype.
5458 * tree.c (mark_hash_entry): Prototype.
5460 2000-04-03 Zack Weinberg <zack@wolery.cumb.org>
5462 * bb-reorder.c (verify_insn_chain): #ifdef out unless ENABLE_CHECKING.
5463 * i386.h (FUNCTION_ARG_REGNO_P): Remove unnecessary test for N >= 0.
5464 * i386.md (call_value, call_value_pop): Remove unused variable 'addr'.
5466 * gcc.c (C specs): Pass -fno-show-column to the preprocessor.
5467 * objc/lang-specs.h: Likewise.
5469 2000-04-03 Neil Booth <NeilB@earthling.net>
5471 * cppexp.c: wrap long lines. New macros CPP_ICE, SYNTAX_ERROR
5472 and SYNTAX_ERROR2. Replace `' in messages with ''.
5473 (op_to_str): Make re-entrant.
5474 (_cpp_parse_expr): Implement new error macros. Use | rather
5475 than || to logically or 2 boolean integers. Simply expression
5476 checking we have a left operand iff needed.
5478 2000-04-03 Nick Clifton <nickc@cygnus.com>
5480 * Makefile.in (diagnostic.o): Depend upon diagnostic.c
5482 2000-04-03 Philip Blundell <philb@gnu.org>
5484 * config/arm/linux-elf.h (SUBTARGET_EXTRA_LINK_SPEC): Fix typos.
5486 2000-04-03 Felix Lee <flee@cygnus.com>
5488 * fixinc/server.c (find_shell): New function. Avoid $SHELL.
5489 (run_shell): Use it.
5491 2000-04-03 Jonathan Larmour <jlarmour@redhat.co.uk>
5493 * Makefile.in (stmp-int-hdrs): Make include subdir here...
5494 (stmp-fixproto): ...rather than here.
5496 Mon Apr 3 00:50:06 2000 Jason Eckhardt <jle@cygnus.com>
5498 * pa.c (print_operand): Compute 'base' only inside the code paths
5501 2000-04-03 Geoffrey Keating <geoffk@cygnus.com>
5503 * stor-layout.c (byte_from_pos): Use TRUNC_DIV_EXPR rather than
5506 2000-04-03 Philipp Thomas <pthomas@suse.de>
5508 * i386.h (TARGET_SWITCHES): Remove bogus empty strings, fix typo.
5510 Mon Apr 3 00:02:59 2000 Brad Lucier <lucier@math.purdue.edu>
5512 * Makefile.in (alias.o): Depend on $(TREE_H).
5514 2000-04-02 Zack Weinberg <zack@wolery.cumb.org>
5516 * cppinit.c (cpp_start_read): Turn off -Wtraditional if
5518 * cpplib.c (_cpp_handle_directive): Improve warnings for
5519 traditional C and indented directives.
5521 * enquire.c, gsyslimits.h, limity.h, config/convex/fixinc.convex,
5522 fixinc/fixinc.irix, fixinc/fixinc.sco, fixinc/fixinc.wrap,
5523 fixinc/inclhack.def: Indent the # of #include_next one space.
5524 * cp/rtti.c: Un-indent #if and #endif.
5526 * cppexp.c (_cpp_parse_expr): If lex returns '#', it's a
5527 syntax error, but an error has already been printed.
5528 * cpplex.c (_cpp_parse_assertion): Give a more specific error
5529 message when called with nothing remaining on the line.
5530 (_cpp_lex_token): If _cpp_parse_assertion fails, return an
5531 OTHER token, not an ASSERTION.
5532 * cpplib.c (do_assert): When we create a 'base' node, clear
5533 its aschain pointer.
5535 2000-04-02 Neil Booth <NeilB@earthling.net>
5537 * cppexp.c: New typedef op_t. struct operation and struct
5538 token updated to use it.
5539 (op_to_str): New function.
5540 (_cpp_parse_expr): Error messages modified to use op_to_str.
5542 2000-04-02 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
5544 * config/c4x/c4x.c (c4x_function_arg): Check for void_type_node
5545 before checking MUST_PASS_IN_STACK.
5547 2000-04-02 Neil Booth <NeilB@earthling.net>
5549 * cppexp.c: New FINISHED dummy token. Combine operator initial
5550 flags and initial priority into a single constant. New
5551 EQUALITY macro. New operator flag SHORT_CIRCUIT.
5552 (_parse_cpp_expr): Implement new constants. Take left operand
5553 checks out of reduction loop. Handle SHORT_CIRCUIT. End of
5554 parse indicated by reducing FINISHED token. Remove new lines
5555 from cpp_error messages.
5557 2000-04-01 Mark Mitchell <mark@codesourcery.com>
5559 * emit-rtl.c (gen_rtx_CONST_INT): Create cached CONST_INTs on the
5562 2000-04-01 Zack Weinberg <zack@wolery.cumb.org>
5564 * cpplib.c: Include symcat.h. Add 'origin' field to struct
5565 directive. Add origin values to DIRECTIVE_TABLE. Generate
5566 the strings and function names on the fly. Take the #sccs
5567 entry out of the table if SCCS_DIRECTIVE is not defined.
5568 (_cpp_handle_directive): Decide if the # was at the beginning
5569 of the line here. Issue -pedantic warnings for extended
5570 directives here. Warn about K+R directives with the #
5571 indented, and C89/extended directives with the # not indented,
5573 (do_import, do_include_next, do_warning, do_ident, do_sccs,
5574 do_assert, do_unassert): Don't issue pedantic warning here.
5576 * cpphash.h: Add CPP_WTRADITIONAL macro.
5577 * cpplib.h (struct cpp_options): Rename warn_stringify to
5578 warn_traditional; update comments.
5579 * cppinit.c (handle_option): Set warn_traditional not
5581 * cpphash.c: Replace CPP_OPTION (pfile, warn_stringify) with
5582 CPP_WTRADITIONAL (pfile).
5583 * cpplex.c (_cpp_lex_token): Don't decide if directives should
5584 be ignored in -traditional mode here.
5586 * cpplex.c: Copy ISTABLE macros from cppinit.c, and adapt them
5587 to initialize speccase[] and trigraph_map[]. Delete all
5588 references to pfile->input_speccase. Always treat '?' as a
5589 special character. Remove table-initialization code from
5590 _cpp_init_input_buffer.
5592 * cpplib.h (struct cpp_reader): Remove input_speccase field.
5593 * cppinit.c (cpp_cleanup): Don't free input_speccase.
5595 2000-04-01 Richard Henderson <rth@cygnus.com>
5597 * Makefile.in (STAGESTUFF): Wildcard all debugging dumps at once.
5598 (mostlyclean): Likewise.
5600 * toplev.c (rtl_dump, jump_opt_dump, etc): Remove.
5601 (struct dump_file_info, enum dump_file_index, dump_file): New.
5602 (open_dump_file): Take a dump_file_index not a suffix, and a decl
5603 not a string. Clean out file if we havn't yet done so. Do nothing
5604 if the dump isn't enabled.
5605 (close_dump_file): Do nothing if the dump isn't open. Dump
5606 graph data if requested.
5607 (dump_rtl, clean_dump_file): Remove.
5608 (compile_file): Don't clean the dump files. Only finalize .bp dump
5609 if flag_test_coverage or flag_branch_probabilities. Only finalize
5610 .combine dump if optimizing. Iterate over dump_file to finalize the
5612 (rest_of_compilation): Update for open_dump_file/close_dump_file.
5613 Convert all uses of dump_rtl.
5614 (decode_d_option): Iterate over dump_file to implement 'a' and to
5615 locate pass-specific dumps.
5617 2000-04-01 Neil Booth <NeilB@earthling.net>
5619 * cppexp.c: Redefine priority constants.
5620 (_cpp_parse_expr): Replace left and right priority scheme with
5621 single priority logic. Move LOGICAL to same place as COMPARE.
5622 Remove bogus check for multiple unary +/- operators.
5624 2000-04-01 Neil Booth <NeilB@earthling.net>
5626 * cppexp.c: (_cpp_parse_expr): Numerical constants are pushed
5627 within the switch statement. Binary operations break out of
5628 the switch naturally. '(' tokens handled by forcing
5629 immediate shift. ')' handled by forcing immediate reduce to
5630 the previous '('. New error messages.
5632 2000-03-31 Geoff Keating <geoffk@cygnus.com>
5634 * config/rs6000/rs6000.c (print_operand): Don't use %l for 'low
5635 part', it's already in use. Use %K instead. Add a return at the
5636 end of what is now %K.
5637 * config/rs6000/rs6000.md (elf_low): Use %K instead of %l.
5639 Sat Apr 1 02:05:29 MET DST 2000 Jan Hubicka <jh@suse.cz>
5641 * builtins.c (expand_builtin_apply): Pass proper parameters to
5642 allocate_dynamic_stack_space.
5643 * calls.c (emit_call_1): Do not adjust stack pointer for SIB,
5644 update stack_pointer_delta; do not update arg_size_so_far.
5645 (compute_argument_block_size): Use stack_delta instead of
5646 stack_pointer_pending and arg_size_so_far.
5647 (expand_call): Add sanity checking for stack_pointer_delta;
5648 save and restore stack_pointer_delta for SIB, use
5649 stack_pointer_delta for alignment; do not update arg_space_so_far.
5650 (emit_library_call_value): Use stack_pointer_delta for alignment.
5651 (store_one_arg): Do not update arg_space_so_far.
5652 * explow.c (adjust_stack, anti_adjust_stack): Update
5653 stack_pointer_delta.
5654 (allocate_dynamic_stack_space): Add sanity checking for
5655 stack_pointer_delta.
5656 * expr.c (init_expr, clear_pending_stack_adjust): Clear
5657 stack_pointer_delta.
5658 (emit_push_insn): Update stack_pointer_delta.
5659 * function.h (struct expr_status): Add x_stack_pointer_delta;
5660 remove x_arg_space_so_far.
5661 (arg_space_so_far): Remove.
5662 (stack_pointer_delta): New macro.
5664 2000-03-31 Zack Weinberg <zack@wolery.cumb.org>
5666 * cpplib.h: Merge struct cpp_options into struct cpp_reader.
5667 Reorder struct cpp_options and struct cpp_reader for better
5668 packing. Replace CPP_OPTIONS macro with CPP_OPTION which
5669 takes two args. Change all 'char' flags to 'unsigned char'.
5670 Move show_column flag into struct cpp_options. Don't
5671 prototype cpp_options_init.
5672 * cpphash.h, cpperror.c, cppexp.c, cppfiles.c, cpphash.c,
5673 cppinit.c, cpplex.c, cpplib.c:
5674 Replace CPP_OPTIONS (pfile)->whatever with
5675 CPP_OPTION (pfile, whatever), and likewise for
5676 opts = CPP_OPTIONS (pfile); ... opts->whatever;
5678 * cppinit.c (merge_include_chains): Take a cpp_reader *.
5679 Extract CPP_OPTION (pfile, pending) and work with that
5681 (cpp_options_init): Delete.
5682 (cpp_reader_init): Turn on on-by-default options here.
5683 Allocate the pending structure here.
5684 (cl_options, enum opt_code): Define these from the same table,
5685 kept in a large macro. Add -fshow-column and -fno-show-column
5688 * cpperror.c (v_message): If show_column is off, don't print
5691 * cppmain.c: Update for new interface.
5692 * fix-header.c: Likewise.
5694 2000-03-30 Geoff Keating <geoffk@cygnus.com>
5696 * config/rs6000/t-aix43 (AR_FLAGS_FOR_TARGET): Adjust for new
5698 * Makefile.in (AR_FLAGS_FOR_TARGET): Is now the flags that
5699 are passed to any invocation of AR_FOR_TARGET.
5700 (AR_CREATE_FOR_TARGET): New macro.
5701 (AR_EXTRACT_FOR_TARGET): New macro.
5702 (ORDINARY_FLAGS_TO_PASS): Add AR_CREATE_FOR_TARGET,
5703 AR_EXTRACT_FOR_TARGET.
5704 (many places): Use AR_CREATE_FOR_TARGET, AR_EXTRACT_FOR_TARGET
5705 in place of `$(AR_FOR_TARGET) $(AR_FLAGS_FOR_TARGET)' and
5706 `$(AR_FOR_TARGET) x'. Pass AR_CREATE_FOR_TARGET and
5707 AR_EXTRACT_FOR_TARGET to sub-makes.
5709 2000-03-31 Neil Booth <NeilB@earthling.net>
5711 * cppexp.c: Delete SKIP_OPERAND. Correct priority
5713 (_cpp_parse_expr): Check for multiple unary +/- operators.
5714 Correct priorities of ':' and '?'. Treat ')' as having a
5715 value. Ensure conditional expression is not void.
5717 2000-03-31 Mark Mitchell <mark@codesourcery.com>
5719 * alias.c (canon_rtx): Make it global.
5720 (rtx_equal_for_memref_p): CONST_INT equality is now pointer
5722 * cse.c (struct table_elt): Add canon_exp.
5724 (invalidate): Canonicalize expressions only once.
5725 * rtl.h (canon_rtx): Declare.
5727 2000-03-30 Mark Mitchell <mark@codesourcery.com>
5729 * Makefile.in (emit-rtl.o): Depend on HASHTAB_H.
5730 * alias.c (reg_known_value): Add comments.
5731 (init_alias_analysis): Likewise.
5732 * cse.c (exp_equiv_p): CONST_INTs are equal iff they have the same
5734 (cse_basic_block): Fix typo in comment.
5735 * emit-rtl.c: Include hashtab.h.
5736 (const_int_htab): New variable.
5737 (const_int_htab_hash): New function.
5738 (const_int_htab_eq): Likewise.
5739 (rtx_htab_mark_1): Likewise.
5740 (rtx_htab_mark): Likewise.
5741 (gen_rtx_CONST_INT): Cache all CONST_INTs.
5742 (unshare_all_rtx): Fix formatting.
5743 (init_emit_once): Initialize const_int_htab.
5744 * rtl.c (rtx_equal_p): CONST_INTs are equal iff they have the same
5746 * rtl.texi: Document the fact that all CONST_INTs with the same
5749 2000-03-30 Richard Henderson <rth@cygnus.com>
5751 * alpha.h (FUNCTION_BOUNDARY): Reduce to 128 bits.
5753 2000-03-30 Zack Weinberg <zack@wolery.cumb.org>
5755 * configure.in: Comment out --enable-c-cpplib stanza.
5756 * configure: Regenerate.
5758 Thu Mar 30 06:32:51 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
5760 * expr.c (store_constructor): Properly compute displacement and
5761 alignment when offset is variable.
5763 * expmed.c (store_bit_field, store_fixed_bit_field): Fix more
5764 cases of alignment in bytes.
5766 Thu Mar 30 13:30:40 2000 Jeffrey A Law (law@cygnus.com)
5768 * c-parse.in (cast_expr): Move change from March 21 into c-parse.in
5769 since it is used to generate c-parse.y.
5770 * objc-parse.c, objc-parse.y: Regenerated.
5772 * function.c (expand_function_end): Pass alignment argument to
5773 emit_block_move in bits, not bytes.
5775 Thu Mar 30 06:32:51 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
5777 * expr.c (move_by_pieces_ninsns): Fix one more missing align
5780 * expmed.c (store_fixed_bit_field): STRUCT_ALIGN is in bits.
5782 * calls.c (expand_call): Pass bit alignment to mark_reg_pointer.
5783 * explow.c (memory_address, allocate_dynamic_stack_space): Likewise.
5784 * function.c (assign_parms): Likewise.
5785 * integrate.c (expand_inline_function): Likewise.
5786 * stmt.c (expand_decl): Likewise.
5787 (copy_rtx_and_substitute): Likewise.
5788 * expr.c (expand_expr, expand_expr_unaligned): Likewise.
5789 (clear_by_pieces): Fix error in last change.
5790 * emit-rtl.c (init_emit): Set known registers alignment in bits.
5791 * function.h (regno_pointer_align): Now unsigned.
5792 * config/arm/arm.c (alignable_memory_operand): REGNO_POINTER_ALIGN
5794 * config/i386/i386.c (aligned_operand): Likewise.
5795 * config/sparc/sparc.c (mem_min_alignment): Likewise.
5796 * config/alpha/alpha.c (aligned_memory_operand): Likewise.
5797 (unaligned_memory_operand): Likewise.
5798 (alpha_expand_block_move, alpha_expand_block_clear): Likewise.
5799 Also make alignments and sizes unsigned and some whitespace cleanup.
5800 (alpha_va_start): Do nothing if VALIST's type is error_mark_node.
5802 * builtins.c (get_pointer_alignment): Use host_integerp & tree_low_cst.
5803 (expand_builtin_apply): Pass alignment to emit_block_move in bits.
5804 (expand_builtin_memcpy, expand_builtin_va_copy): Likewise.
5805 (expand_builtin_memset): Likewise, but to clear_storage.
5806 * calls.c (save_fixed_argument_area): Likewise, to move_by_pieces.
5807 (restore_fixed_argument_area): Likewise.
5808 (store_unaligned_arguments_into_pseudos): Likewise, to store_bit_field.
5809 (load_register_parameters): Likewise, to emit_group_load.
5810 (expand_call): Likewise, to emit_group_store and emit_block_move.
5811 (emit_library_call_value_1): Likewise, to emit_block_move.
5812 (store_one_arg): Likewise, and to emit_push_insn.
5813 * expmed.c (extract_bit_field): Alignment is in bits, not bytes.
5814 (extract_fixed_bit_field, extract_split_bit_field): Likewise.
5815 * expr.c (move_by_pieces, move_by_pieces_ninsns): Likewise.
5816 (emit_block_move, emit_group_load, emit_group_store): Likewise.
5817 (clear_by_pieces, clear_storage, emit_push_insn): Likewise.
5818 (expand_assigment, store_expr, store_constructor_field): Likewise.
5819 (expand_expr_unaligned, do_jump, do_compare_and_jump): Likewise.
5820 (store_constructor, store_field, get_inner_reference): Likewise.
5821 Use host_integerp and tree_low_cst; sizes and positions HOST_WIDE_INT.
5822 (expand_expr, case COMPONENT_REF): Likewise.
5823 (copy_blkmode_from_regs): Use UNSIGNED_HOST_WIDE_INT for sizes
5824 and positions; reindent code.
5825 * expr.h (emit_cmp_insn, emit_cmp_and_jump_insns): Alignment unsigned.
5826 * function.c (purge_addressof_1): Pass bit align to store_bit_field.
5827 (assign_parms): Likewise to emit_group_store.
5828 * optabs.c (prepare_cmp_insn): Alignment is in bits.
5829 (emit_cmp_and_jump_insns, emit_cmp_insn): Likewise, and also unsigned.
5830 * stmt.c (expand_value_return): Pass align in bits to emit_group_load.
5831 (expand_return): Likewise to {extract,store}_bit_field.
5832 * stor-layout.c (get_mode_alignment): Minor cleanup.
5833 * config/rs6000/rs6000.h (SLOW_UNALIGNED_ACCESS): Align is in bits.
5834 * config/sh/sh.h (MOVE_BY_PIECES_P): Likewise.
5836 2000-03-29 Nick Clifton <nickc@cygnus.com>
5838 * config/arm/arm.h: Undo effects of previous delta:
5839 (ASM_SPEC): Do not define.
5840 (SUBTARGET_EXTRA_ASM_SPEC): Do not define.
5842 * config/arm/linux-elf.h: (SUBTARGET_EXTRA_ASM_SPEC) Fix
5845 2000-03-29 Zack Weinberg <zack@wolery.cumb.org>
5847 * cppinit.c (cpp_start_read): Call initialize_dependency_output
5848 only after reading in the primary source file.
5850 2000-03-29 Geoff Keating <geoffk@cygnus.com>
5852 * c-common.c (c_common_nodes_and_builtins): The first parameter to
5853 __builtin_va_start and __builtin_va_copy is now either a 'va_list'
5854 or a reference to a va_list.
5855 * builtins.c (stabilize_va_list): Simplify now we don't have to
5856 work around C array address decay.
5857 * c-typeck.c (convert_for_assignment): Handle assignment to
5858 a reference parameter by taking the address of the RHS.
5859 * ginclude/stdarg.h (va_start): Don't take address of first parameter.
5860 (va_copy): Likewise.
5861 (__va_copy): Likewise.
5862 * ginclude/varargs.h (va_start): Likewise.
5863 (__va_copy): Likewise.
5865 Wed Mar 29 15:44:53 2000 Jeffrey A Law (law@cygnus.com)
5867 * i386/djgpp.h: Remove extraneous "+".
5869 * stmt.c (stmt_loop_nest_empty): Fix thinko in last change.
5871 * calls.c (expand_call): Fix typo in last change.
5873 2000-03-29 Jason Merrill <jason@casey.cygnus.com>
5875 * tree.c (unsave_expr_1): Don't mess with a TARGET_EXPR that hasn't
5878 Wed Mar 29 15:39:10 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
5880 * stor-layout.c (bit_from_pos, byte_from_pos): New functions.
5881 (pos_from_byte, pos_from_bit, normalize_offset): Likewise.
5882 (normalize_rli, rli_size_so_far, rli_size_unit_so_far): Use them.
5883 * tree.c (bit_position, byte_position): Likewise.
5884 * tree.h: Declare new functions.
5886 2000-03-29 Nick Clifton <nickc@cygnus.com>
5888 * config/arm/arm.c: Minor formatting changes/
5889 * config/arm/arm.h (SUBTARGET_EXTRA_ASM_SPEC): Define if not
5891 (ASM_SPEC): Define if not already defined.
5893 2000-03-29 Zack Weinberg <zack@wolery.cumb.org>
5895 * cppfiles.c (cpp_read_file): Don't pass zero-length string to
5898 2000-03-29 Jakub Jelinek <jakub@redhat.com>
5900 * dwarf2out.c (gen_enumeration_type_die): If enum has a negative
5901 value, don't output it as unsigned.
5903 Wed Mar 29 10:53:49 2000 Jeffrey A Law (law@cygnus.com)
5905 * stmt.c (stmt_loop_nest_empty): Allow cfun->stmt to be NULL.
5907 2000-03-29 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5909 * c-common.c (c_common_nodes_and_builtins): Don't special case
5910 cplus_mode when declaring builtin bzero/bcmp, always avoid
5911 prototype arguments.
5913 2000-03-29 Bruce Korb <bkorb@gnu.org>
5915 * fixinc/mkfixinc.sh: Initially set the variable "fixincludes"
5918 Wed Mar 29 15:08:01 MET DST 2000 Jan Hubicka <jh@suse.cz>
5920 Convert ACCUMULATE_OUTGOING_ARGS to an expression.
5921 * calls.c (PUSH_ARGS_REVERSED) Change to expression.
5922 (ACCUMULATE_OUTGOING_ARGS, PUSH_ARGS): Provide default value.
5923 (struct arg_data): Remove #ifdef ACCUMULATE_OUTGOING_ARGS.
5924 (save_fixed_argument_area, restore_fixed_argument_area):
5925 conditionize by #ifdef REG_PARM_STACK_SPACE only.
5926 (emit_call): Change #ifdefs on ACCUMULATE_OUTGOING_ARGS
5927 to conditions, handle RETURN_POPS_ARGS on ACCUMULATE_OUTGOING_ARGS.
5928 (precompute_register_parameters): Avoid #ifdefs on
5929 ACCUMULATE_OUTGOING_ARGS and PUSH_ARGS_REVERSED.
5930 (stire_one_args): Likewise.
5931 (expand_call): Likewise; conditionize PUSH_ROUNDING code by PUSH_ARGS.
5932 (emit_library_call_value_1): Likewise.
5933 (compute_argument_block_size): Align to STACK_BOUNDARY only for
5934 ACCUMULATE_OUTGOING_ARGS.
5935 * combine.c (ACCUMULATE_OUTGOING_ARGS, PUSH_ARGS): Provide default
5937 (nonzero_bits): Conditionize PUSH_ROUNDING code by USE_PUSH.
5938 (use_crosses_set_p): Likewise.
5939 * all targets (ACCUMULATE_OUTGOING_ARGS define): Change to
5940 #define ACCUMULATE_OUTGOING_ARGS 1.
5941 * i386.c (ix86_compute_frame_size): Handle ACCUMULATE_OUTGOING_ARGS
5943 * i386.h (MASK_NO_PUSH_ARGS, MASK_ACCUMULATE_OUTGOING_ARGS): New
5945 (TARGET_PUSH_ARGS, TARGET_ACCUMULATE_OUTGOING_ARGS): New macros.
5946 (TARGET_SWITCHES): Add push-args, no-push-args,
5947 accumulate-outgoing-args and no-accumulate-outgoing-args.
5948 (ACCUMULATE_OUTGOING_ARGS, PUSH_ARGS): New macro.
5949 * expr.c (ACCUMULATE_OUTGONG_ARGS, PUSH_ARGS): Provide default.
5950 (push_block): Avoid ifdefs on ACCUMULATE_OUTGONG_ARGS
5952 (emit_push_insn): Likewise.
5953 * final.c (ACCUMULATE_OUTGOING_ARGS): Provide default.
5954 (final_scan_insn): Avoid ifdefs on ACCUMULATE_OUTGOING_ARGS.
5955 * function.c (ACCUMULATE_OUTGOING_ARGS): Provide default.
5956 (STACK_DYNAMIC_OFFSET): Define correctly for both
5957 ACCUMULATE_OUTGOING_ARGS and normal mode.
5958 * invoke.texi (-mpush_args, -maccumulate-outgoing-args): Document.
5959 * tm.texi (PUSH_ARGS): Document.
5960 (ACCUMULATE_OUTGOING_ARGS, PUSH_ROUNDING): Update documentation.
5962 Wed Mar 29 11:51:13 MET DST 2000 Jan Hubicka <jh@suse.cz>
5964 * flags.h (flag_optimize_sibling_calls): Declare.
5965 * calls.c (expand_call): Fail sibcall when
5966 !flag_optimize_sibling_calls
5967 * invoke.texi (flag_optimize_sibling_calls): Document.
5968 * toplev.c (flag_optimize_sibling_calls): New global variable.
5969 (f_options): Add flag_optimize_sibling_calls.
5970 (rest_of_compilation): Conditionize
5971 optimize_sibling_and_tail_recursive_calls by
5972 flag_optimize_sibling_calls.
5973 (main): Set flag_optimize_sibling_calls for -O2.
5974 * stmt.c (expand_return): Conditionize tail recursion by
5975 flag_optimize_sibling_calls.
5977 2000-03-29 Richard Henderson <rth@cygnus.com>
5979 * config/i386/att.h (LOCAL_LABEL_PREFIX): Define.
5980 (ASM_GENERATE_INTERNAL_LABEL, ASM_OUTPUT_INTERNAL_LABEL): Use it.
5982 2000-03-29 Nathan Sidwell <nathan@codesourcery.com>
5984 * except.c (add_eh_table_entry): Mark type_info's as referenced.
5986 2000-03-29 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
5988 * config/rs6000/aix41.h (CPP_SPEC): Define _ANSI_C_SOURCE if -ansi
5990 * config/rs6000/aix43.h (CPP_SPEC): Likewise.
5991 * config/rs6000/rs6000.h (CPP_SPEC): Moved to...
5992 * config/rs6000/aix.h: then modified likewise.
5994 2000-03-28 Richard Henderson <rth@cygnus.com>
5996 * rtl.h: Redistribute enum reg_note documentation.
5997 Kill trailing whitespace.
5998 * rtl.c (reg_note_name): Adjust to match enum reg_note tweeks.
5999 Kill trailing whitespace.
6001 2000-03-28 Zack Weinberg <zack@wolery.cumb.org>
6003 * cppfiles.c (hash_IHASH): Just return i->hash.
6004 (cpp_included): Set dummy.hash using _cpp_calc_hash. Use
6005 htab_find_with_hash.
6006 (cpp_read_file): Likewise.
6007 (find_include_file): Likewise. Properly initialize
6008 ih->nshort. Share ih->name and ih->nshort if possible.
6009 * cpphash.c (_cpp_calc_hash): New function.
6010 (hash_HASHNODE): Just return h->hash.
6011 (_cpp_lookup): Set dummy.hash using _cpp_calc_hash. Use
6012 htab_find_with_hash.
6013 * cpphash.h: Prototype _cpp_calc_hash.
6014 * cppinit.c (initialize_builtins): Provide a valid hash
6015 to _cpp_make_hashnode, using _cpp_calc_hash.
6017 * cpphash.c (collect_expansion): # is not a special character
6018 in object-like macros. In -traditional mode, /**/ is not
6019 token paste at the beginning or end of the line.
6020 * cpplib.c (do_include, do_import, do_include_next): If
6021 parse_include fails, return immediately.
6023 2000-03-28 Jason Merrill <jason@casey.cygnus.com>
6025 * config/arm/arm.md (return peepholes): Update to reflect the new
6027 * config/arm/arm.c (arm_volatile_func): Also check
6028 current_function_nothrow.
6029 (output_return_instruction, output_func_prologue): Use it.
6030 (arm_output_epilogue, arm_expand_prologue): Likewise.
6032 2000-03-27 Tom Tromey <tromey@cygnus.com>
6034 * gcc.c (handle_braces): In {x*...} case, break out of loop if
6037 Tue Mar 28 11:55:48 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
6039 * expr.c (store_constructor): SIZE now signed.
6040 For EXPR_SIZE, don't evaluate size; just needed if constant.
6041 * fold-const.c (fold): Fix a number of cases when folded tree is
6043 * function.c (flush_addressof): Reenable.
6044 * tree.h (flush_addressof): Likewise.
6045 * toplev.c (independent_decode_option): Look at strings_processed.
6046 * config/alpha/alpha.h (MINIMUM_ATOMIC_ALIGNMENT): Cast to unsigned.
6048 Tue Mar 28 08:29:46 2000 Jan Hubicka <jh@suse.cz>
6050 * sibcall.c (indentify_call_return_value): Find last call in the chain;
6051 Allow stack adjustment after function call.
6053 * regmove.c (struct csa_memlist): Make mem field rtx *.
6054 (record_one_stack_ref): Accept rtx * instead of rtx as parameter.
6055 (try_apply_stack_adjustment): Replace whole MEM rtx.
6056 (combine_stack_adjustments_for_block): Update calls
6057 to record_one_stack_ref.
6059 2000-03-28 Neil Booth <NeilB@earthling.net>
6061 * cpplex.c (_cpp_read_and_prescan): Mark end of input buffer with
6062 '\\' rather than a null character, so nulls are not special. Fix
6063 "\\\n" handling in end-of-buffer conditions. Use trigraph map to
6064 speed trigraph conversion.
6065 (_cpp_init_input_buffer): Initialize trigraph map.
6067 2000-03-27 Alan Modra <alan@linuxcare.com.au>
6069 * config/i386/i386.c (output_387_binary_op): Correct intel
6070 mode assembly output, and add spaces after commas in AT&T
6071 output. Correct Unixware assembler comment. Document input
6072 constraints. Comment fp operations. Reduce profligate buffer
6073 size. Remove extraneous abort. Localize temp var.
6074 (SYSV386_COMPAT): Define. Add !SYSV386_COMPAT code.
6075 (output_fix_trunc): Add spaces after commas in assembly output.
6077 2000-03-27 Richard Henderson <rth@cygnus.com>
6079 * i386-protos.h (ix86_match_ccmode): Declare.
6080 * i386.c (ix86_match_ccmode): New.
6081 (ix86_expand_fp_compare): Update for pattern renames.
6082 (ix86_expand_strlensi_unroll_1): Likewise.
6083 * i386.h (EXTRA_CC_MODES): Add CCZ.
6084 (SELECT_CC_MODE): Use it for EQ/NE zero.
6085 * i386.md (cmpsi_ccz_1): New.
6087 (*testsi_ccz_1): New.
6088 (testqi_ccz_1): New.
6089 (cmpsi_ccno_1): Rename from cmpsi_0.
6090 (testsi_ccno_1): Rename from testsi_1.
6091 (testqi_ccno_1): Rename from testqi_1.
6092 (*testqi_ext_ccz_0): Rename from testqi_ext_0.
6093 (testqi_ext_ccno_0): Rename from *testqi_ext_1.
6094 (*cmphi_0): Use ix86_match_ccmode.
6095 (*cmpqi_ext_2, *addsi_2, *addhi_2, *addqi_2): Likewise.
6096 (*subsi_2, *subhi_2, *subqi_2, *testhi_1): Likewise.
6097 (*testqi_ext_1, *testqi_ext_2, *testqi_ext_3): Likewise.
6098 (*andsi_2, *andhi_2, *andqi_2, *andqi_ext_0_cc): Likewise.
6099 (*iorsi_2, *iorhi_2, *iorqi_2): Likewise.
6100 (*xorsi_2, *xorhi_2, *xorqi_cc_1): Likewise.
6101 (*one_cmplsi2_2, *one_cmplhi2_2, *one_cmplqi2_2): Likewise.
6102 (*ashlsi3_cmpno, *ashlhi3_cmpno, *ashlqi3_cmpno): Likewise.
6103 (*ashrsi3_cmpno, *ashrhi3_cmpno, *ashrqi3_cmpno): Likewise.
6104 (*lshrsi3_cmpno, *lshrhi3_cmpno, *lshrqi3_cmpno): Likewise.
6105 (appropriate peepholes): Likewise.
6106 (*cmphi_1, *cmpqi_ccno_1, *cmpqi_1): Star out name.
6107 (*subsi_3, *subhi_3, *subqi_3): Remove.
6108 (*negdi2_1+1 splitter): Use CCZ for neg patterns.
6109 (*negsi2_cmp, *neghi2_cmp, *negqi2_cmp): Remove.
6110 (*negsi2_cmpz): Rename from *negsi2_cmpno, use CCZ.
6111 (*neghi2_cmpz, *negqi2_cmpz): Similarly.
6112 (x86_shift_adj_1): Use CCZ.
6113 (*dbra_ge+1, *dbra_ge+2, ffssi2, ffssi_1): Likewise.
6115 2000-03-27 Stan Cox <scox@cygnus.com>
6117 * resource.h (mark_resource_type): New.
6118 * resource.c (find_dead_or_set_registers, mark_target_live_regs,
6119 find_free_register): Use mark_resource_type.
6120 (mark_set_resources): Change include_delayed_effects
6121 to mark_resource_type.
6122 * reorg.c (steal_delay_list_from_target, try_merge_delay_insns,
6123 redundant_insn, fill_simple_delay_slots, fill_slots_from_thread):
6124 Use mark_resource_type.
6126 2000-03-27 Richard Henderson <rth@cygnus.com>
6128 * i386.md (call_pop_0, call_value_pop_0): New.
6129 (call_pop_1): Remove constraint from unused arg. Support sibcalls.
6130 (call_value_pop_1): Likewise.
6131 (call_0, call_value_0): New.
6132 (call_1, call_value_1): Remove constraint from unused arg.
6134 2000-03-27 Nick Clifton <nickc@cygnus.com>
6136 * invoke.texi (Spec Files): Document new spec % command created by
6137 Tom Tromey's recent patch.
6139 2000-03-27 Jakub Jelinek <jakub@redhat.com>
6141 * libgcc2.h (MIN_UNITS_PER_WORD): Define to UNITS_PER_WORD
6144 Mon Mar 27 06:04:22 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
6146 * expr.c (expand_assignment): Fix typo in last change.
6148 * libgcc2.h: Use MIN_UNITS_PER_WORD, not UNITS_PER_WORD.
6150 Sun Mar 26 20:15:26 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
6152 * c-convert.c (convert): Return if output or input type is ERROR_MARK.
6153 * c-decl.c (duplicate_decls): Only look at DECL_BUILT_IN_NONANSI
6154 and DECL_INLINE if FUNCTION_DECL.
6155 (pushdecl, redeclaration_error_message): Likewise, for DECL_INLINE.
6156 (store_parm_decls): Check for type of PARM_DECL being ERROR_MARK.
6157 Use DECL_WEAK, not DECL_RESULT, to flag for already seen.
6158 (combine_parm_decls): Likewise.
6159 * ggc-common.c (gcc_mark_tree_children, case 'd'): Use DECL_RESULT_FLD.
6160 * print-tree.c (print_node): Likewise.
6161 Only test DECL_PACKED, DECL_INLINE, DECL_BIT_FIELD, and
6162 DECL_TRANSPARENT_UNION on proper decl types.
6163 Properly handly DECL_INCOMING_RTL and DECL_SAVED_INSNS.
6164 * stor-layout.c (layout_decl): Only check DECL_PACKED and
6165 DECL_BIT_FIELD of FIELD_DECL.
6166 * tree.h (DECL_RESULT_FLD): New macro.
6168 * expr.c (expand_assignment): Add code to handle variable-sized
6171 2000-03-26 Richard Henderson <rth@cygnus.com>
6173 * calls.c (expand_call): Pass parms not original exp to
6174 optimize_tail_recursion. Mind return value instead of looking
6176 * stmt.c (optimize_tail_recursion): Take parameter list, not entire
6177 call_expr. Move checks for call_expr and current_function_decl ...
6178 (expand_return): ... here.
6180 2000-03-26 Tom Tromey <tromey@cygnus.com>
6182 * gcc.c (handle_braces): Recognize `%{<S}' construct.
6183 (SWITCH_OK, SWITCH_FALSE, SWITCH_IGNORE, SWITCH_LIVE): New
6185 (process_command): Use them.
6186 (check_live_switch): Likewise.
6187 (give_switch): Skip ignored switches.
6189 2000-03-26 Jan Hubicka <jh@suse.cz>
6191 * jump.c (jump_optimize_1): Fix typo in elide optimizations
6192 for minimal jump pass test.
6194 2000-03-26 Mark Mitchell <mark@codesourcery.com>
6196 * integrate.c (function_cannot_inline_p): Do inline functions that
6199 Sun Mar 26 11:37:55 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
6201 * stor-layout.c (layout_type, set_sizetype): early_type_list is
6202 now a list of TREE_LIST entries, not types.
6203 * tree.c (build_common_tree_nodes_2): Eliminate dupliate type sets.
6205 * expmed.c (extract_bit_field): Ensure BITS_PER_WORD is signed in MAX.
6206 * config/arm/pe.c (arm_pe_return_in_memory): Use host_integerp and
6208 * config/mips/mips.c (function_arg): Likewise; also remove cast
6209 and make variables unsigned or HOST_WIDE_INT and use tree_low_cst.
6210 (mips_function_value): Use int_byte_position and make HOST_WIDE_INT.
6211 * config/mips/abi64.h (SETUP_INCOMING_VARARGS): Offsets are unsigned.
6212 * config/mips/mips.h (BITS_PER_WORD, UNITS_PER_WORD): Cast to unsigned.
6213 (UNITS_PER_FPREG, INT_TYPE_SIZE, LONG_TYPE_SIZE): Likewise.
6214 (POINTER_SIZE, POINTER_BOUNDARY,PARM_BOUNDARY): Likewise.
6215 (GP_REG_P, FP_REG_P, MD_REG_P, ST_REG_P): Ensure subtraction signed.
6216 (struct mips_arg): arg_number, arg_words, fp_arg_words, and
6217 num_adjusts now unsigned.
6218 (FUNCTION_ARG_BOUNDARY): Remove unneeded cast.
6219 * config/sparc/sparc.c (struct function_arg_record_value_parms):
6221 (function_arg_record_value_1): STARTBITPOS arg now HOST_WIDE_INT
6222 as is BITPOS variable; use host_integerp and int_bit_position.
6223 (function_arg_record_value_2): Likewise.
6224 (function_arg_record_value_3): Arg BITPOS now HOST_WIDE_INT.
6225 Variable REGNO now unsigned.
6226 (function_arg_record_value): NREGS now unsigned.
6228 2000-03-26 Bernd Schmidt <bernds@cygnus.co.uk>
6230 * jump.c (mark_all_labels): Handle CALL_PLACEHOLDERs.
6232 Sat Mar 25 09:12:10 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
6234 * Rework fields used to describe positions of bitfields and
6235 modify sizes to be unsigned and use HOST_WIDE_INT.
6236 * alias.c (reg_known_value_size): Now unsigned.
6237 * c-typeck.c (build_unary_op, case ADDR_EXPR): Use byte_position.
6238 (really_start_incremental_init): Use bitsize_zero_node.
6239 (push_init_level, pop_init_level, output_init_element): Likewise.
6240 Use bitsize_unit_node and bitsize_one_node.
6241 (output_pending_init_elements, process_init_element): Likewise.
6242 * combine.c (combine_max_regno, reg_sign_bit_copies): Now unsigned.
6243 (make_extraction): Position and length HOST_WIDE_INT and unsigned
6244 HOST_WIDE_INT, respectively.
6245 (get_pos_from_mask): Passed in value is unsigned HOST_WIDE_INT.
6246 (num_sign_bit_copies): Returns unsigned.
6247 BITWIDTH now unsigned; rework arithmetic.
6248 Remove recursive call from arg to MAX.
6249 (combine_instructions, init_reg_last_arrays): NREGS now unsigned.
6250 (setup_incoming_promotions, can_combine_p, try_combine, simplify_set):
6252 (set_nonzero_bit_and_sign_copies): NUM now unsigned.
6253 (find_split_point, expand_compound_operation, make_extraction): LEN
6254 now unsigned HOST_WIDE_INT, POS now HOST_WIDE_INT.
6255 (make_field_assignment): Likewise.
6256 (combine_simplify_rtx): Add cast.
6257 (expand_compound_operation): MODEWIDTH now unsigned; rework arithmetic.
6258 (force_to_mode): WIDTH now unsigned; add cast.
6259 (if_then_else_cond): SIZE now unsigned.
6260 (nonzero_bits): MODE_WIDTH, RESULT_WIDTH, and WIDTH now unsigned.
6261 (extended_count): Now returns unsigned.
6262 (simplify_shift_const): COUNT unsigned; arg is now INPUT_COUNT.
6263 Add SIGNED_COUNT variable; MODE_WORDS and FIRST_COUNT now unsigned.
6264 (simplify_comparison): MODE_WIDTH now unsigned.
6265 (update_table_tick): REGNO and ENDREGNO now unsigned; new var R.
6266 (mark_used_regs_combine): Likewise; rework arithmetic.
6267 (record_value_for_reg): REGNO, ENDREGNO, and I now unsigned.
6268 (record_dead_and_set_regs, reg_dead_at_p, distribute_notes): Likewise.
6269 (record_promoted_value): REGNO now unsigned.
6270 (get_last_value_validate): REGNO, ENDREGNO, and J now unsigned.
6271 (get_last_value): REGNO now unsigned.
6272 (use_crosses_set_p): REGNO and ENDREGNO now unsigned.
6273 (reg_dead_regno, reg_dead_endregno): Now unsigned.
6274 (remove_death): Arg REGNO now unsigned.
6275 (move_deaths): REGNO, DEADREGNO, DEADEND, OUREND, and I now unsigned.
6276 (reg_bitfield_target_p): REGNO, REGNO, ENDREGNO, and ENDTREGNO
6278 * convert.c (convert_to_integer): INPREC and OUTPREC now unsigned.
6279 * cse.c (struct qty_table_elem): FIRST_REG and LAST_REG now unsigned.
6280 (struct cse_reg_info): REGNO now unsigned.
6281 (cached_regno): Now unsigned.
6282 (REGNO_QTY_VALID_P): Add cast.
6283 (make_new_qty, make_regs_eqv, delete_reg_eqiv): Regno args unsigned.
6284 (remove_invalid_regs): Likewise.
6285 (remove_invalid_subreg_refs): Likewise; arg WORD also unsigned
6286 as are variables END and I.
6287 (get_cse_reg_info, insert): Likewise.
6288 (mention_regs, invalidate_for_call): REGNO, ENDREGNO, and I unsigned.
6289 (canon_hash): Likewise.
6290 (insert_regs, lookup_for_remove): REGNO now unsigned.
6291 (invalidate): REGNO, ENDREGNO, TREGNO, and TENDREGNO now unsigned.
6293 * dbxout.c (dbxout_parms, dbxout_reg_parms): Don't check for REGNO < 0.
6294 * dwarf2out.c (dwarf2ou_frame_debug_expr): Remove cast.
6295 * emit-rtl.c (subreg_realpart_p): Add cast.
6296 (operand_subword): Arg I is now unsigned as is var PARTWORDS.
6297 (operand_subword_force): Arg I is now unsigned.
6298 * except.c (eh_regs): Variable I is now unsigned.
6299 * explow.c (hard_function_value): BYTES is unsigned HOST_WIDE_INT.
6300 * expmed.c (store_fixed_bit_field): Position is HOST_WIDE_INT;
6301 length is unsigned HOST_WIDE_INT; likewise for internal variables.
6302 (store_split_bit_field, extract_fixed_bit_field): Likewise.
6303 (extract_split_bit_field, store_bit_field, extract_bit_field):
6305 * expr.c (store_constructor_fields, store_constructor, store_field):
6306 Positions are HOST_WIDE_INT and lengths are unsigned HOST_WIDE_INT.
6307 (expand_assignment, expand_expr, expand_expr_unaligned): Likewise.
6308 (do_jump): Likewise.
6309 (move_by_pieces, move_by_pieces_ninsns, clear_by_pieces):
6310 MAX_SIZE is now unsigned.
6311 (emit_group_load): BYTEPOS is HOST_WIDE_INT; BYTELEN is unsigned.
6312 (emit_group_store): Likewise.
6313 (emit_move_insn): I now unsigned.
6314 (store_constructor): Use host_integerp, tree_low_cst, and
6316 (get_inner_reference): Return bitpos and bitsize as HOST_WIDE_INT.
6317 Rework all calculations to use trees and new fields.
6318 * expr.h (promoted_input_arg): Regno now unsigned.
6319 (store_bit_field, extract_bit_field): Adjust types of pos and size.
6320 (mark_seen_cases): Arg is HOST_WIDE_INT.
6321 * flow.c (verify_wide_reg_1): REGNO now unsigned.
6322 * fold-const.c (decode_field_reference): Size and pos HOST_WIDE_INT;
6323 precisions and alignments are unsigned.
6324 (optimize_bit_field_compare, fold_truthop): Likewise.
6325 (int_const_binop): Adjust threshold for size_int_type_wide call.
6326 (fold_convert): Likewise.
6327 (size_int_type_wide): Make table larger and fix thinko that only
6328 had half of table used.
6329 (all_ones_mask_p, fold): Precisions are unsigned.
6330 * function.c (put_reg_info_stack): REGNO is unsigned.
6331 (instantiate_decl): Size is HOST_WIDE_INT.
6332 (instantiate_virtual_regs): I is unsigned.
6333 (assign_parms): REGNO, REGNOI, and REGNOR are unsigned.
6334 (promoted_input_arg): REGNO is unsigned.
6335 * function.h (struct function): x_max_parm_reg is now unsigned.
6336 * gcse.c (max_gcse_regno): Now unsigned.
6337 (struct null_pointer_info): min_reg and max_reg now unsigned.
6338 (lookup_set, next_set): REGNO arg now unsigned.
6339 (compute_hash_table): REGNO and I now unsigned.
6340 (handle_avail_expr): regnum_for_replacing now unsigned.
6341 (cprop_insn): REGNO now unsigned.
6342 (delete_null_pointer_checks_1): BLOCK_REG now pointer to unsigned.
6343 * ggc-common.c (ggc_mark_tree_children, case FIELD_DECL): New case.
6344 * global.c (set_preference): SRC_REGNO, DEST_REGNO, and I now unsigned.
6345 * hard-reg-set.h (reg_class_size): Now unsigned.
6346 * integrate.c (mark_stores): LAST_REG and I now unsigned; new UREGNO.
6347 * jump.c (mark_modified_reg): I now unsigned; add cast.
6348 (rtx_equal_for_thread_p): Add cast.
6349 * loop.c (max_reg_before_loop): Now unsigned.
6350 (struct_movable): REGNO now unsigned.
6351 (try_copy_prop): REGNO arg unsigned.
6352 (regs_match_p): XN and YN now unsigned.
6353 (consec_sets_invariant_p, maybe_eliminate_biv): REGNO now unsigned.
6354 (strength_reduce): Likewise; NREGS also unsigned.
6355 (first_increment_giv, last_increment_giv unsigned): Now unsigned.
6356 * loop.h (struct iv_class): REGNO now unsigned.
6357 (max_reg_before_loop, first_increment_giv, last_increment_giv):
6359 * machmode.h (mode_size, mode_unit_size): Now unsigned.
6360 (mode_for_size, smallest_mode_for_size): Pass size as unsigned.
6361 * optabs.c (expand_binop): I and NWORDS now unsigned.
6362 (expand_unop): I now unsigned.
6363 * print-tree.c (print_node): Don't print DECL_FIELD_BITPOS, but do
6364 print DECL_FIELD_OFFSET and DECL_FIELD_BIT_OFFSET.
6365 * real.c (significand_size): Now returns unsigned.
6366 * real.h (significand_size): Likewise.
6367 * regclass.c (reg_class_size): Now unsigned.
6368 (choose_hard_reg_mode): Both operands now unsigned.
6369 (record_reg_classes): REGNO and NR now unsigned.
6370 (reg_scan): NREGS now unsigned.
6371 (reg_scan_update): old_max_regno now unsigned.
6372 (reg_scan_mark_refs): Arg MIN_REGNO and var REGNO now unsigned.
6373 * reload.c (find_valid_class): BEST_SIZE now unsigned.
6374 (find_dummy_reload): REGNO, NWORDS, and I now unsigned.
6375 (hard_reg_set_here_p): Args BEG_REGNO and END_REGNO now unsigned.
6376 Likewise for variable R.
6377 (refers_to_regno_for_reload_p): Args REGNO and END_REGNO now unsigned,
6378 as are variables INNER_REGNO and INNER_ENDREGNO; add new variable R.
6379 (find_equiv_reg): Add casts.
6380 (regno_clobbered_p): Arg REGNO now unsigned.
6381 * reload.h (struct reload): NREGS now unsigned.
6382 (refers_to_regno_for_reload_p): Regno args are unsigned.
6383 (regno_clobbered_p): Likewise.
6384 * reload1.c (reg_max_ref_width, spill_stack_slot_width): Now unsigned.
6385 (compute_use_by_pseudos): REGNO now unsigned.
6386 (find_reg): I and J now unsigned, new variable K, and change loop
6387 variables accordingly; THIS_NREGS now unsigned.
6388 (alter_reg): INHERENT_SIZE and TOTAL_SIZE now unsigned.
6389 (spill_hard_reg): REGNO arg now unsigned; add casts.
6390 (forget_old_reloads_1): REGNO, NR, and I now unsigned.
6391 (mark_reload_reg_in_use): Arg REGNO and vars NREGS and I now unsigned.
6392 (clear_reload_reg_in_use): Arg REGNO and vars NREGS, START_REGNO,
6393 END_REGNO, CONFLICT_START, and CONFLICT_END now unsigned.
6394 (reload_reg_free_p, reload_reg_reaches_end_p): Arg REGNO now unsigned.
6395 (choose_reload_regs): MAX_GROUP_SIZE now unsigned.
6396 (emit_reload_insns): REGNO now unsigned.
6397 (reload_cse_move2add): Add cast.
6398 (move2add_note_store): REGNO and I now unsigned; new variable ENDREGNO
6400 * resource.c (mark_referenced_resources, mark_set_resources): New
6401 variable R; REGNO and LAST_REGNO now unsigned.
6402 (mark_target_live_regs): J and REGNO now unsigned.
6403 * rtl.c (mode_size, mode_unit_size): Now unsigned.
6404 * rtl.h (union rtunion_def): New field rtuint.
6405 (XCUINT): New macro.
6406 (ADDRESSOF_REGNO, REGNO, SUBREG_WORD): New XCUINT.
6407 (operand_subword, operand_subword_force): Word number is unsigned.
6408 (choose_hard_reg_mode): Operands are unsigned.
6409 (refers_to-regno_p, dead_or_set_regno_p): Regno arg is unsigned.
6410 (find_regno_note, find_regno_fusage, replace_regs): Likewise.
6411 (regno_use_in, combine_instructions, remove_death): Likewise.
6412 (reg_scan, reg_scan_update): Likewise.
6413 (extended_count): Return is unsigned.
6414 * rtlanal.c (refers_to_regno_p): Args REGNO and ENDREGNO and vars I,
6415 INNER_REGNO, and INNER_ENDREGNO now unsigned; new variable X_REGNO.
6416 (reg_overlap_mentioned_p): REGNO and ENDREGNO now unsigned.
6417 (reg_set_last_first_regno, reg_set_last_last_regno): Now unsigned.
6418 (reg_reg_last_1): FIRS and LAST now unsigned.
6419 (dead_or_set_p): REGNO, LAST_REGNO, and I now unsigned.
6420 (dead_or_set_regno_p): Arg TEST_REGNO and vars REGNO and ENDREGNO
6422 (find_regno_note, regno_use_in): Arg REGNO now unsigned.
6423 (find_regno_fusage): Likewise; also var REGNOTE now unsigned.
6424 (find_reg_fusage): Variables REGNO, END_REGNO, and I now unsigned.
6425 (replace_regs): Arg NREGS now unsigned.
6426 * sdbout.c (sdbout_parms, sdbout_reg_parms): Don't check REGNO < 0.
6427 * simplify-rtx.c (simplify_unary_operation): WIDTH now unsigned.
6428 (simplify_binary_operation): Likewise.
6429 (cselib_invalidate_regno): Arg REGNO and variables ENDREGNO, I, and
6430 THIS_LAST now unsigned.
6431 (cselib_record_set): Add cast.
6432 * ssa.c (ssa_max_reg_num): Now unsigned.
6433 (rename_block): REGNO now unsigned.
6434 * stmt.c (expand_return): Bit positions unsigned HOST_WIDE_INT;
6436 (all_cases_count): Just return -1 not -2.
6437 COUNT, MINVAL, and LASTVAL now HOST_WIDE_INT.
6438 Rework tests to use trees whenever possible.
6439 Use host_integerp and tree_low_cst.
6440 (mark_seen_cases): COUNT arg now HOST_WIDE_INT;
6441 Likewise variable NEXT_NODE_OFFSET; XLO now unsigned.
6442 (check_for_full_enumeration_handing): BYTES_NEEDED, I to HOST_WIDE_INT.
6443 * stor-layout.c (mode_for_size): SIZE arg now unsigned.
6444 (smallest_mode_for_size): Likewise.
6445 (layout_decl): Simplify handing of a specified DECL_SIZE_UNIT.
6446 KNOWN_ALIGN is now an alignment, so simplify code.
6447 Don't turn off DECL_BIT_FIELD if field is BLKmode, but not type.
6448 (start_record_layout): Renamed from new_record_layout_info.
6449 Update to new fields.
6450 (debug_rli, normalize_rli, rli_size_unit_so_far, rli_size_so_far):
6452 (place_union_field): Renamed from layout_union_field.
6453 Update to use new fields in rli.
6454 (place_field): Renamed from layout_field.
6455 Major rewrite to use new fields in rli; pass alignment to layout_decl.
6456 (finalize_record_size): Rework to use new fields in rli and handle
6458 (compute_record_mode): Rework to simplify and to use new DECL fields.
6459 (finalize_type_size): Make rounding more consistent.
6460 (finish_union_layout): Deleted.
6461 (layout_type, case VOID_TYPE): Don't set TYPE_SIZE_UNIT either.
6462 (layout_type, case RECORD_TYPE): Call new function names.
6463 (initialize_sizetypes): Set TYPE_IS_SIZETYPE.
6464 (set_sizetype): Set TYPE_IS_SIZETYPE earlier.
6465 (get_best_mode): UNIT is now unsigned; remove casts.
6466 * tree.c (bit_position): Compute from new fields.
6467 (byte_position, int_byte_position): New functions.
6468 (print_type_hash_statistics): Cast to remove warning.
6469 (build_range_type): Use host_integerp and tree_low_cst to try to hash.
6470 (build_index_type): Likewise; make subtype of sizetype.
6471 (build_index_2_type): Pass sizetype to build_range_type.
6472 (build_common_tree_nodes): Use size_int and bitsize_int to
6473 initialize nodes; add bitsize_{zero,one,unit}_node.
6474 * tree.h (DECL_FIELD_CONTEXT): Use FIELD_DECL_CHECK.
6475 (DECL_BIT_FIELD_TYPE, DECL_QUALIFIER, DECL_FCONTEXT): Likewise.
6476 (DECL_PACKED, DECL_BIT_FIELD): Likewise.
6477 (DECL_FIELD_BITPOS): Deleted.
6478 (DECL_FIELD_OFFSET, DECL_FIELD_BIT_OFFSET): New fields.
6479 (DECL_RESULT, DECL_SAVED_INSNS): Use FUNCTION_DECL_CHECK.
6480 (DECL_FRAME_SIZE, DECL_FUNCTION_CODE, DECL_NO_STATIC_CHAIN): Likewise.
6481 (DECL_INLINE, DECL_BUILT_IN_NONANSI, DECL_IS_MALLOC): Likewise.
6482 (DECL_BUILT_IN_CLASS, DECL_STATIC_CONSTRUCTOR): Likewise.
6483 (DECL_STATIC_DESTRUCTOR, DECL_NO_CHECK_MEMORY_USAGE): Likewise.
6484 (DECL_NO_INSTRUMENT_FUNCTION_ENTRY_EXIT, DECL_NO_LIMIT_STACK) Likewise.
6485 (DECL_ORIGINAL_TYPE, TYPE_DECL_SUPPRESS_DEBUG): Use TYPE_DECL_CHECK.
6486 (DECL_ARG_TYPE_AS_WRITEN, DECL_ARG_TYPE): Use PARM_DECL_CHECK.
6487 (DECL_INCOMING_RTL, DECL_TRANSPARENT_UNION): Likewise.
6488 (DECL_ALIGN): Adjust to new field in union.
6489 (DECL_OFFSET_ALIGN): New field.
6490 (DECL_ERROR_ISSUED, DECL_TOO_LATE): Use LABEL_DECL_CHECK.
6491 (DECL_IN_TEXT_SECTION): Use VAR_DECL_CHECK.
6492 (union tree_decl): Add struct for both aligns.
6493 (enum tree_index): Add TI_BITSIZE_{ZERO,ONE,UNIT}.
6494 (bitsize_zero_node, bitsize_one_node, bitsize_unit_node): Added.
6495 (struct record_layout_info): Rework fields to have offset
6496 alignment and byte and bit position.
6497 (start_record_layout, place_field): Renamed from old names.
6498 (rli_size_so_far, rli_size_unit_so_far, normalize_rli): New decls.
6499 (byte_position, int_byte_position): Likewise.
6500 (get_inner_reference): Change types of position and length.
6501 * unroll.c (unroll_loop): New variable R; use for some loops.
6502 MAX_LOCAL_REGNUM and MAXREGNUM now unsigned.
6503 (calculate_giv_inc): Arg REGNO now unsigned.
6504 (copy_loop_body): REGNO and SRC_REGNO now unsigned.
6505 * varasm.c (assemble_variable): Clean up handling of size using
6506 host_integerp and tree_low_cst.
6507 (decode_addr_const): Use byte, not bit, position.
6508 (output_constructor): bitpos and offsets are HOST_WIDE_INT;
6509 use tree_low_cst and int_bit_position.
6510 * objc/objc-act.c (build_ivar_list_initializer): Use byte_position.
6512 Fri Mar 24 20:13:49 2000 Jason Eckhardt <jle@cygnus.com>
6514 * bb-reorder.c (REORDER_MOVED_BLOCK_END): Removed.
6515 (reorder_block_def): New members eff_head and eff_end.
6516 (REORDER_BLOCK_EFF_HEAD, REORDER_BLOCK_EFF_END): New macros.
6517 (verify_insn_chain): New function.
6518 (skip_insns_between_block): Add code to skip deleted insns.
6519 Check for note before using.
6520 (chain_reorder_blocks): Replace calls to skip_insns_between_block
6521 with references to REORDER_BLOCK_EFF_HEAD and REORDER_BLOCK_EFF_END.
6522 Check for note before using.
6523 (make_reorder_chain): Use INTVAL rather than XINT to get REG_BR_PROB.
6524 (fixup_reorder_chain): Restructure, clean up, defect removal.
6525 (reorder_basic_blocks): Remove last_insn and references to it.
6526 Moved insn chain verification code into a new function (see above).
6527 Delete defective code that sets last insn.
6528 Initialize REORDER_BLOCK_EFF_HEAD and REORDER_BLOCK_EFF_END for
6531 2000-03-25 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
6533 * config/c4x/c4x.h (CPP_SPEC): Remove erroneous space.
6535 2000-03-24 Richard Henderson <rth@cygnus.com>
6537 * tree.c (lang_safe_for_unsave): Remove.
6538 (unsafe_for_reeval): Transmute and rename from safe_for_unsave,
6539 allowing for two levels of unsafeness. Remove lang hook.
6540 * tree.h: Update declarations.
6541 * calls.c (expand_call): Rename safe_for_reeval to try_tail_call.
6542 Create temporary VAR_DECLs to protect very unsafe_for_reeval trees.
6543 Always fail sibcalls when there are pending cleanups.
6545 2000-03-24 Geoff Keating <geoffk@cygnus.com>
6547 * flow.c (propagate_block): When we delete an ADDR_VEC,
6548 also delete the BARRIER following it if there is one.
6550 2000-03-24 Richard Henderson <rth@cygnus.com>
6552 * builtins.c (expand_builtin_bzero): Convert `length' argument
6555 2000-03-24 Jakub Jelinek <jakub@redhat.com>
6557 * sibcall.c (skip_copy_to_return_value): Use OUTGOING_REGNO for
6558 comparison if regno's are equal.
6559 * calls.c (initialize_argument_informat): Add ecf_flags argument.
6560 Use FUNCTION_INCOMING_ARG if available and ECF_SIBCALL.
6561 (expand_call): Update caller.
6562 Avoid making a sibling call if argument size of the callee is larger
6563 than argument size of the caller.
6564 Call hard_function_value with outgoing set if in sibcall pass.
6565 Use FUNCTION_INCOMING_ARG if available and ECF_SIBCALL.
6567 * final.c (permitted_reg_in_leaf_functions, only_leaf_regs_used):
6568 Change LEAF_REGISTERS from an array initializer to actual array
6569 identifier. Move static global variable into the function.
6570 (leaf_function_p): Allow SIBLING_CALL_P calls even outside of
6571 sequences for leaf functions.
6572 * global.c (global_alloc): Likewise.
6573 * tm.texi (LEAF_REGISTERS): Update documentation.
6575 * config/sparc/sparc.h (CONDITIONAL_REGISTER_USAGE): Remove the ugly
6576 TARGET_FLAT leaf disabling hack.
6577 (LEAF_REGISTERS): Changed from an array initializer to actual array
6578 identifier to avoid duplication and remove the above hack.
6579 (FUNCTION_OK_FOR_SIBCALL): Define.
6580 * config/sparc/sparc.md (sibcall): New attr type. Use it almost
6581 always like call attribute.
6582 (eligible_for_sibcall_delay): New attribute.
6583 (sibcall): New delay type.
6584 (sibcall, sibcall_value, sibcall_epilogue): New expands.
6585 (sibcall_symbolic_sp32, sibcall_symbolic_sp64,
6586 sibcall_value_symbolic_sp32, sibcall_value_symbolic_sp64): New insns.
6587 * config/sparc/sparc.c (sparc_leaf_regs): New array.
6588 (eligible_for_sibcall_delay, output_restore_regs, output_sibcall):
6590 (output_function_epilogue): Move part of the code into
6591 output_restore_regs.
6592 (ultra_code_from_mask, ultrasparc_sched_reorder): Handle
6594 * sparc-protos.h (output_sibcall, eligible_for_sibcall_delay): New
6597 * config/sparc/sparc.h (REVERSIBLE_CC_MODE): Revert Jan, 25 change
6598 until infrastructure is finished.
6600 Fri Mar 24 13:49:45 2000 Jeffrey A Law (law@cygnus.com)
6602 * integrate.c (save_for_inline_nocopy): Clear in_nonparm_insns here.
6603 (save_parm_insns): Not here.
6605 2000-03-24 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
6607 * builtins.c (expand_builtin_bzero): New function.
6608 (expand_builtin): Handle bzero.
6610 * builtins.def: Add BUILT_IN_BZERO.
6612 * c-common.c (c_common_nodes_and_builtins): Provide builtin
6613 prototype & function for bzero.
6615 2000-03-23 Michael Meissner <meissner@redhat.com>
6617 * config/alpha/alpha.md (TF floating point insns): Undo 2000-03-21
6618 change adding TARGET_FP to the TF floating point insns, except for
6619 trunctfsf2, which generates direct calls to truncdfsf2.
6621 2000-03-23 Geoff Keating <geoffk@cygnus.com>
6623 * config/rs6000/rs6000.h (ARG_POINTER_CFA_OFFSET): New definition,
6624 try to protect against middle-end changes that break binary
6626 (DWARF_FRAME_REGISTERS): New definition, likewise for backend.
6628 2000-03-24 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
6630 * config/c4x/c4x.md (load_immed_address): Add DP reg clobber.
6632 Thu Mar 23 17:10:48 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
6634 * calls.c (expand_call): If TARGET is passed by reference and
6635 is readonly, write a CLOBBER.
6637 2000-03-23 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
6639 * builtins.c (expand_builtin): Handle bcmp.
6641 * builtins.def: Add BUILT_IN_BCMP.
6643 * c-common.c (c_common_nodes_and_builtins): Provide builtin
6644 prototype & function for bcmp.
6646 Thu Mar 23 11:34:39 2000 Jim Wilson <wilson@cygnus.com>
6648 * config/ia64/ia64.c (rtx_needs_barrier, case UNSPEC): Move case 6...
6649 (rtx_needs_barrier, case UNSPEC_VOLATILE): to here.
6650 * config/ia64/ia64.md (pr_restore): Change UNSPEC to UNSPEC_VOLATILE.
6652 Thu Mar 23 16:04:40 2000 Andrew Haley <aph@cygnus.com>
6654 * config/mips/mips.md (movdf_internal1a): Delete (set 'f', 'F')
6655 alternative when using -fp64 -gp32.
6657 2000-03-22 Jason Merrill <jason@casey.cygnus.com>
6659 * config/rs6000/rs6000.h (DWARF_FRAME_RETURN_COLUMN): Define.
6660 * config/alpha/alpha.h (DWARF_FRAME_RETURN_COLUMN): Define.
6661 * config/sparc/sparc.h (DWARF_FRAME_RETURN_COLUMN): Define.
6663 * frame.h (frame_state): Revert last change.
6664 * frame.c (execute_cfa_insn): Just don't record the save of a CFA reg.
6665 * libgcc2.c (throw_helper): Revert last change.
6667 2000-03-22 Richard Henderson <rth@cygnus.com>
6669 * stmt.c (expand_asm_operands): Don't promote the temporary.
6671 2000-03-22 Theodore Papadopoulo <Theodore.Papadopoulo@sophia.inria.fr>
6673 * builtin.c (get_pointer_alignment): Use DECL_P and TYPE_P macros.
6674 * c-common.c (decl_attributes,check_format_info,truthvalue_conversion,
6675 c_get_alias_set): Likewise.
6676 * c-decl.c (duplicate_decls): Likewise.
6677 * c-typeck.c (default_conversion,build_unary_op): Likewise.
6678 * calls.c (initialize_argument_information): Likewise.
6679 * dwarf2out.c (decl_class_context,add_abstract_origin_attribute):
6681 * dwarfout.c (decl_class_context,output_type): Likewise.
6682 * expr.c (get_inner_reference): Likewise.
6683 * fold-const.c (simple_operand_p,fold): Likewise.
6684 * function.c (aggregate_value_p): Likewise.
6685 * stmt.c (expand_asm_operands): Likewise.
6686 * varasm.c (named_section): Likewise.
6688 2000-03-22 Jason Merrill <jason@casey.cygnus.com>
6690 Implement dwarf2 exception handling for the ARM.
6691 * config/arm/arm.h (INCOMING_RETURN_ADDR_RTX): Define.
6692 (DWARF_FRAME_RETURN_COLUMN): Define.
6693 * config/arm/arm.c (emit_multi_reg_push): Return rtx. Attach
6694 REG_FRAME_RELATED_EXPR note.
6695 (emit_sfm): Likewise.
6696 (arm_expand_prologue): Set RTX_FRAME_RELATED_P on everything.
6697 * dwarf2out.c (reg_save): Handle saving a register to itself.
6698 (dwarf2out_frame_debug_expr): Handle an intermediate cfa reg.
6699 * except.c (eh_regs): Don't use the static chain reg if it's
6701 * frame.h (frame_state): Add cfa_saved field.
6702 * frame.c (execute_cfa_insn): Set it.
6703 * libgcc2.c (throw_helper): Don't adjust sp if it's restored in
6705 * function.c (ARG_POINTER_CFA_OFFSET): Default to FIRST_PARM_OFFSET.
6707 (instantiate_virtual_regs): Adjust.
6709 * config/m68k/m68k.h (ARG_POINTER_CFA_OFFSET): Don't define.
6710 * config/ns32k/ns32k.h (ARG_POINTER_CFA_OFFSET): Don't define.
6711 * config/sparc/sparc.h (ARG_POINTER_CFA_OFFSET): Take a parm.
6713 * dwarf2out.c (reg_number): Refer to FIRST_PSEUDO_REGISTER.
6714 (initial_return_save): Use DWARF_FRAME_REGNUM, not reg_number.
6716 2000-03-22 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
6718 * builtins.def: New file.
6720 * Makefile.in (TREE_H): Depend on builtins.def.
6722 * builtins.c (built_in_names): Use builtins.def.
6724 * tree.h (built_in_function): Likewise.
6726 2000-03-22 Mark Mitchell <mark@codesourcery.com>
6728 * tree.c (size_in_bytes): Return size_zero_node, not
6731 2000-03-22 Geoff Keating <geoffk@cygnus.com>
6733 * config/fp-bit.c (pack_d): Correct the case when a denormal
6734 is rounded up and stops being denormal.
6736 2000-03-21 Richard Henderson <rth@cygnus.com>
6738 * config/alpha/alpha.c (function_arg): Check for void_type_node
6739 before using MUST_PASS_IN_STACK.
6741 2000-03-21 Stephane Carrez <stcarrez@worldnet.fr>
6743 * regmove.c (combine_stack_adjustments_for_block): Check that
6744 the stack pointer is a valid memory address.
6746 Wed Mar 22 11:44:50 MET 2000 Jan Hubicka <jh@suse.cz>
6748 * calls.c: re-install Mar 16 emit_library_call merge.
6750 2000-03-21 Jakub Jelinek <jakub@redhat.com>
6752 * config/sparc/sparc.c (mem_min_alignment): If not optimizing,
6753 we cannot be sure that if reload_completed base register will
6754 be properly aligned.
6756 2000-03-21 Richard Henderson <rth@cygnus.com>
6758 * flow.c (delete_block): Fix typo last change.
6760 2000-03-21 Mark Mitchell <mark@codesourcery.com>
6762 * c-common.c (c_expand_expr_stmt): Use COMPLETE_TYPE_OR_VOID_P,
6763 not COMPLETE_TYPE_P, to check the type of the expression.
6765 2000-03-21 Michael Meissner <meissner@redhat.com>
6767 * config/alpha/alpha.md (floating point insns): Add TARGET_FP to
6768 all floating point insns that just tested the macro
6769 TARGET_HAS_XFLOATING_LIBS.
6770 (movsf/movdf recognizers): Add separate insns if -mno-fp-regs is
6771 used to only use the gprs.
6773 2000-03-21 Nathan Sidwell <nathan@codesourcery.com>
6775 * tree.h (COMPLETE_TYPE_P): New macro.
6776 (COMPLETE_OR_VOID_TYPE_P): New macro.
6777 (COMPLETE_OR_UNBOUND_ARRAY_TYPE_P): New macro.
6778 * stor-layout.c (layout_type, case VOID_TYPE): Don't set TYPE_SIZE.
6779 * c-aux-info.c (gen_type): Use them.
6780 * c-common.c (c_expand_expr_stmt): Likewise.
6781 * c-decl.c (poplevel, pushdecl, start_decl, finish_decl,
6782 grokdeclarator, grokparms, finish_struct, start_function,
6783 store_parm_decls, combine_parm_decls): Likewise.
6784 * c-parse.y (cast_expr): Likewise.
6785 * c-typeck.c (require_complete_type, c_sizeof, c_sizeof_nowarn,
6786 c_size_in_bytes, c_alignof, build_component_ref,
6787 build_indirect_ref, build_array_ref, convert_arguments,
6788 build_binary_op, pointer_diff, build_unary_op, digest_init: Likewise.
6789 * calls.c (initialize_argument_information): Likewise.
6790 * convert.c (convert_to_integer): Likewise.
6791 * dbxout.c (dbxout_typedefs, dbxout_type, dbxout_symbol): Likewise.
6792 * dwarfout.c (location_or_const_value_attribute,
6793 output_enumeration_type_die, output_structure_type_die,
6794 output_union_type_die, output_type): Likewise.
6795 * expr.c (safe_from_p, expand_expr): Likewise.
6796 * function.c (assign_parms): Likewise.
6797 * sdbout.c (sdbout_symbol, sdbout_one_type): Likewise.
6798 * tree.c (build_array_type, build_function_type,
6799 build_method_type, build_offset_type, build_complex_type): Likewise.
6800 * c-parse.c, c-parse.h: Regenerated.
6802 2000-03-21 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
6804 * config/c4x/rtems.h: Include config/rtems.h.
6806 Tue Mar 21 09:24:00 2000 Denis Chertykov <denisc@overta.ru>
6808 * config/avr/avr.c (encode_section_info): sets SYMBOL_REF_FLAG if
6809 decl is a FUNCTION_DECL
6811 Mon Mar 20 19:53:53 2000 Jim Wilson <wilson@cygnus.com>
6813 * config/ia64/ia64.c (ia64_expand_prologue): Don't abort if leaf
6814 function uses output registers. Don't save RP for leaf functions.
6815 Do save RP even if no epilogue.
6816 * config/ia64/ia64.h (FIXED_REGISTERS): Unmark in/out registers.
6817 (CALL_USED_REGISTERS): Unmark in registers.
6818 (REG_ALLOC_ORDER): Move out regs up, to near the top. Move in regs up,
6821 2000-03-20 Geoff Keating <geoffk@cygnus.com>
6823 * config/rs6000/rs6000.md (bunordered): New expander.
6824 (bordered): New expander.
6825 (buneq): New expander.
6826 (bunge): New expander.
6827 (bungt): New expander.
6828 (bunle): New expander.
6829 (bunlt): New expander.
6830 (bltgt): New expander.
6832 * config/rs6000/rs6000.c (ccr_bit): Handle unordered comparisons.
6833 (ccr_bit_negated_p): New function.
6834 (print_operand): For %C, generate appropriate cror for UNEQ,
6835 UNLT, UNGT, and LTGT. For %T and %t, use ccr_bit_negated_p.
6837 2000-03-20 Andreas Jaeger <aj@suse.de>
6839 * sdbout.c (sdbout_one_type): Add braces to avoid "ambigous else"
6842 * tree.h (safe_for_unsave): Prototype.
6844 2000-03-20 Richard Henderson <rth@cygnus.com>
6846 * regmove.c (stack_memref_p): Fix typo, reorg for readability.
6847 (combine_stack_adjustments_for_block): Don't allow sp references
6848 in the side of a set we're not fixing up.
6849 * toplev.c (rest_of_compilation): Run combine_stack_adjustments
6850 after life_analysis.
6852 2000-03-20 Richard Henderson <rth@cygnus.com>
6854 * calls.c (expand_call): Don't bother generating tail call
6855 sequences if there are pending cleanups. Use
6856 expand_start_target_temps/expand_end_target_temps to elide
6857 cleanups created during sibcall expansion.
6859 2000-03-20 Geoff Keating <geoffk@cygnus.com>
6861 * configure.in: Set $IFS to a value if it doesn't already have one
6862 in the --enable-checking handling.
6863 * configure: Regenerate.
6865 2000-03-20 Martin v. Löwis <loewis@informatik.hu-berlin.de>
6867 * c-parse.in (SAVE_WARN_FLAGS): Use size_int.
6868 * c-parse.y, c-parse.c, objc/objc-parse.y, objc/objc-parse.c:
6871 Mon Mar 20 11:43:15 MET 2000 Jan Hubicka <jh@suse.cz>
6873 * jump.c (delete_noop_moves): Remove code attempting to
6874 combine stack adjustments.
6876 2000-03-19 Martin v. Löwis <loewis@informatik.hu-berlin.de>
6878 * emit-rtl.c (push_to_full_sequence, end_full_sequence): New functions.
6879 * except.c (emit_cleanup_handler): Use them.
6880 (expand_end_all_catch): Likewise.
6881 * function.c (fixup_var_refs): Likewise.
6882 (expand_function_end): Clear catch_clauses_last.
6883 * rtl.h (push_to_full_sequence, end_full_sequence): Declare.
6884 * except.h (struct eh_status): New field x_catch_clauses_last.
6885 (catch_clauses_last): New define.
6887 * Makefile.in (tree.o): Depend on HASHTAB_H.
6888 * tree.c: Include hashtab.h.
6889 (struct type_hash): Remove next field.
6890 (TYPE_HASH_SIZE): Remove.
6891 (TYPE_HASH_INITIAL_SIZE): New define.
6892 (type_hash_table): Change type to htab_t.
6893 (type_hash_eq, type_hash_hash, print_type_hash_statistics,
6894 mark_hash_entry): New functions.
6895 (init_obstacks): Allocate type hash.
6896 (type_hash_lookup): Use htab functions.
6897 (type_hash_add, mark_type_hash): Likewise.
6898 (dump_tree_statistics): Call print_type_hash_statistics.
6900 2000-03-19 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
6902 * rs6000/t-aix41: New file.
6904 * configure.in ({rs6000,powerpc}-ibm-aix4.[12]*): Use it.
6906 Sun Mar 19 13:27:30 2000 Hans-Peter Nilsson <hp@axis.com>
6908 * tm.texi (Driver): Fix typos and tweak entry for
6910 Move misplaced STRUCT_FORCE_BLK entry ...
6911 (Storage Layout): ... to here.
6912 (Run-time Target): Recommend having TARGET_MASK_... helper macros.
6914 2000-03-19 Richard Henderson <rth@cygnus.com>
6916 * flow.c (delete_block): Delete the addr_vec along with the block.
6917 (flow_delete_insn): Decrement LABEL_NUSES when deleting insns that
6920 * fold-const.c (extract_muldiv): Apply type check for defined
6921 overflow to multiply as well as divide.
6923 * stor-layout.c (layout_decl): Don't abort on any zero sized decl.
6925 2000-03-18 Mark Mitchell <mark@codesourcery.com>
6927 * emit-rtl.c (remove_unncessary_notes): Check that all
6928 NOTE_INSN_BLOCK_BEG and NOTE_INSN_BLOCK_END notes have an
6929 associated NOTE_BLOCK.
6930 * function.h (identify_blocks): Update comments.
6931 (reorder_blocks): Declare.
6932 * function.c (identify_blocks): Don't take paramters.
6933 (reorder_blocks): Don't take parameters.
6934 * loop.h (find_loop_tree_blocks): Remove.
6935 (unroll_block_trees): Likewise.
6936 * loop.c (loop_optimize): Don't call find_loop_tree_blocks. Use
6937 reorder_blocks instead of unroll_block_trees.h
6938 * sibcall.c (optimize_sibling_and_tail_recursive_calls): Likewise.
6939 * stmt.c (find_loop_tree_blocks): Remove.
6940 (unroll_block_trees): Likewise.
6941 * toplev.c (rest_of_compilation): Don't call find_loop_tree_blocks
6942 in whole-function mode.
6943 * tree.h (reorder_blocks): Remove declaration.
6945 * expr.c: Include intl.h.
6946 * Makefile.in (expr.o): Depend on intl.h.
6948 2000-03-18 Richard Henderson <rth@cygnus.com>
6950 * expr.c (emit_move_insn_1): Clarify cannot_inline message.
6952 2000-03-18 Mark Mitchell <mark@codesourcery.com>
6954 * tree.h (tree_index): Remove enumerals for integer types.
6955 (integer_type_kind): New type.
6956 (integer_types): New variable.
6957 (char_type_node): Adjust.
6958 (signed_char_type_node): Likewise.
6959 (unsigned_char_type_node): Likewise.
6960 (short_integer_type_node): Likewise.
6961 (short_unsigned_type_node): Likewise.
6962 (integer_type_node): Likewise.
6963 (unsigned_type_node): Likewise.
6964 (long_integer_type_node): Likewise.
6965 (long_unsigned_type_node): Likewise.
6966 (long_long_integer_type_node): Likewise.
6967 (long_long_unsigned_type_node): Likewise.
6968 * tree.c (integer_types): New variable.
6969 (init_obstacks): Register it as a root.
6971 Sat Mar 18 14:38:00 2000 Jason Eckhardt <jle@cygnus.com>
6973 * bb-reorder.c (reorder_basic_blocks): Update PREV_INSN as well as
6974 NEXT_INSN. Update last insn in chain.
6976 2000-03-17 Jason Merrill <jason@casey.cygnus.com>
6978 * dwarf2out.c (dwarf2out_decl): Don't emit anything for types
6979 with TYPE_DECL_SUPPRESS_DEBUG set.
6981 2000-03-18 Richard Henderson <rth@cygnus.com>
6983 * flow.c (make_edges): Use INTVAL to access REG_EH_REGION value.
6985 2000-03-18 Richard Henderson <rth@cygnus.com>
6987 * i386.c (call_insn_operand): Always allow SYMBOL_REF,
6988 care for HALF_PIC_P.
6989 (expander_call_insn_operand): Remove.
6990 (ix86_expand_epilogue): New arg `emit_return' to control return insn.
6991 * i386.h (PREDICATE_CODES): Update.
6992 * i386.md (all call expanders): Remove predicates, remove special
6993 handling for half-pic.
6994 (*call_1, *call_value_1): Handle SIBLING_CALL_P insns.
6995 (*call_pop_pic2, *call_pic2, *call_value_pop_2, *call_value_2): Remove.
6996 (sibcall_epilogue): New.
6998 2000-03-17 Richard Henderson <rth@cygnus.com>
7000 * rtlanal.c (single_set): Reject if the parallel has anything
7001 except SET or USE or CLOBBER.
7003 2000-03-17 Jeff Law <law@cygnus.com>
7004 Richard Henderson <rth@cygnus.com>
7006 * Makefile.in (OBJS): Add sibcall.o.
7008 * sibcall.c: New file.
7009 * calls.c (FUNCTION_OK_FOR_SIBCALL): Provide default.
7010 (ECF_IS_CONST, ECF_NOTHROW, ECF_SIBCALL): New.
7011 (emit_call_1): Replace `is_const' and `nothrow' with `ecf_flags'.
7012 Emit sibcall patterns when requested. Update all callers.
7013 (expand_call): Generate CALL_PLACEHOLDER insns when tail call
7014 elimination seems feasable.
7015 * final.c (leaf_function_p): Sibling calls don't discount being
7017 * flow.c (HAVE_sibcall_epilogue): Provide default.
7018 (find_basic_blocks_1): Sibling calls don't throw.
7019 (make_edges): Make edge from sibling call to EXIT.
7020 (propagate_block): Don't remove sibcall_epilogue insns.
7021 * function.c (prologue, epilogue): Turn into varrays. Update all uses.
7022 (sibcall_epilogue): New.
7023 (fixup_var_refs): Scan CALL_PLACEHOLDER sub-sequences.
7024 (identify_blocks_1): Likewise. Break out from ...
7025 (identify_blocks): ... here.
7026 (reorder_blocks_1): Scan CALL_PLACEHOLDER. Break out from ...
7027 (reorder_blocks): ... here.
7028 (init_function_for_compilation): Zap prologue/epilogue as varrays.
7029 (record_insns): Extend a varray instead of mallocing new memory.
7030 (contains): Read a varray not array of ints.
7031 (sibcall_epilogue_contains): New.
7032 (thread_prologue_and_epilogue_insns): Emit and record
7033 sibcall_epilogue patterns.
7034 (init_function_once): Allocate prologue/epilogue varrays.
7035 * genflags.c (gen_insn): Treat sibcall patterns as calls.
7036 * integrate.c (save_parm_insns): Recurse on CALL_PLACEHOLDER patterns.
7038 (save_for_inline_nocopy): ... here.
7039 (copy_insn_list): Recurse on CALL_PLACEHOLDER patterns.
7041 (expand_inline_function): ... here.
7042 (copy_rtx_and_substitute): Handle NOTE_INSN_DELETED_LABEL.
7043 (subst_constants): Handle 'n' formats.
7044 * jump.c (jump_optimize_minimal): New.
7045 (jump_optimize_1): New arg `minimal'; update callers. Elide most
7046 optimizations if it's set.
7047 * rtl.c (copy_rtx): Do copy jump & call for insns.
7048 * rtl.h (struct rtx_def): Document use of jump and call for insns.
7049 (SIBLING_CALL_P): New.
7050 (sibcall_use_t): New.
7051 * toplev.c (rest_of_compilation): Do init_EXPR_INSN_LIST_cache earlier.
7052 Invoke optimize_sibling_and_tail_recursive_calls.
7053 * tree.c (lang_safe_for_unsave): New.
7054 (safe_for_unsave): New.
7055 * tree.h (lang_safe_for_unsave, safe_for_unsave): Declare.
7057 * alpha.h (FUNCTION_OK_FOR_SIBCALL): New.
7058 * alpha.md (sibcall, sibcall_value, sibcall_epilogue): New.
7059 (*sibcall_osf_1, *sibcall_value_osf_1): New.
7061 2000-03-17 Mark Mitchell <mark@codesourcery.com>
7063 * objc/objc-act.c (encode_method_prototype): Pass types, not
7064 PARM_DECLs, to int_size_in_bytes.
7066 Fri Mar 17 11:51:34 2000 Jim Wilson <wilson@cygnus.com>
7068 * config/ia64/ia64.md (mix4right_3op): Swap %1 and %2 in template.
7070 * config/ia64/ia64-protos.h, config/ia64/ia64.c, config/ia64/ia64.h,
7071 config/ia64/ia64.md, config/ia64/xm-ia64.h: Fix copyrights again.
7073 Fri Mar 17 08:09:14 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
7075 * Clean up usages of TREE_INT_CST_LOW.
7076 * c-parse.in (RESTORE_WARN_FLAGS): Use tree_low_cst.
7077 * c-parse.y, c-parse.c, objc/objc-parse.y, objc/objc-parse.c:
7079 * c-tree.h (min_precision): Move declaration to here.
7080 * c-typeck.c (build_binary_op): Use host_integerp and tree_low_cst.
7081 (build_unary_op, add_pending_init): Use bit_position.
7082 (pending_init_member, process_init_element): Likewise.
7083 (really_start_incremental_init, push_init_level, pop_init_level):
7084 Don't make copies of nodes or modify them in place, use consistent
7085 types when tracking positions, and use tree routines computations.
7086 (set_init_index, output_init_element): Likewise.
7087 (output_pending_init_elements, process_init_element): Likewise.
7088 * dbxout.c (dbxout_type_fields): Use bit_position, host_integerp,
7089 tree_low_cst and int_bit_position; also minor cleanup.
7090 (dbxout_type_method_1, dbxout_range_type, dbxout_type): Likewise.
7091 (print_cst_octal): Precision is unsigned.
7092 (dbxout_symbol): Ensure DECL_INITIAL is in-range and use tree_low_cst.
7093 * dwarf2out.c (ceiling): Input and output are unsigned HOST_WIDE_INT.
7094 (simple_type_align_in_bits): Result is unsigned int.
7095 Use tree_int_low_cst and host_integerp.
7096 (simple_type_size_in_bits): Result is unsigned HOST_WIDE_INT.
7097 (field_byte_offset): Result is HOST_WIDE_INT.
7098 Change types of internal variables so alignments are unsigned int,
7099 offsets are HOST_WIDE_INT and sizes are unsigned HOST_WIDE_INT.
7100 Use host_integerp, tree_low_cst, and int_bit_position.
7101 (add_bit_offset_attribute): Likewise.
7102 (add_data_member_location_attribute): Use tree_cst_low.
7103 (add_bound_info): Use host_integerp, integer_zerop, and integer_onep.
7104 (add_bit_size_attribute): Use tree_low_cst.
7105 (add_pure_or_virtual_attribute, gen_enumeration_type_die): Likewise.
7106 * dwarfout.c: Similar changes to dwarf2out.c.
7107 * expr.c (expand_expr, case ARRAY_REF): Remove redundant code.
7108 * genoutput.c (n_occurences): Return -1 for null string.
7109 (strip_whitespace): Accept null string and make into function.
7110 (scan_operands): Reflect above changes.
7111 * sdbout.c (plain_type_1): Use host_integerp and tree_low_cst.
7112 (sdbout_field_types, sdbout_one_type): Likewise; also use bit_position.
7113 * ssa.c (rename_registers): Add missing cast of arg to bzero.
7114 * tree.c (int_size_in_bytes): Check for too big to represent.
7115 (bit_position, int_bit_position, host_integerp, tree_low_cst): New fns.
7116 * tree.h (host_integerp, tree_low_cst, bit_position, int_bit_position):
7118 (min_precision): Delete from here.
7119 * varasm.c (decode_addr_const): Use host_integerp, bit_position,
7120 and int_bit_position.
7121 * objc/objc-act.c (encode_method_prototype): Sizes are HOST_WIDE_INT.
7122 (encode_method_def): Likewise.
7123 (build_ivar_list_initializer): Use int_bit_position.
7124 (generate_shared_structures): Convert size.
7125 (encode_type, encode_complete_bitfield): Use integer_zerop.
7126 (encode_bitfield): Use tree_low_cst and int_bit_position.
7128 2000-03-17 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
7130 * config/c4x/c4x.h (CPP_SPEC): Fix typo.
7132 2000-03-17 Martin v. Löwis <loewis@informatik.hu-berlin.de>
7134 * call.c (special_function_p): It is only malloc if it returns
7137 2000-03-17 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
7139 * config/c4x/c4x.h (ASM_SPEC, CPP_SPEC, LINK_SPEC): Support C33.
7140 (C33_FLAG, TARGET_C3X): Add macros.
7141 (TARGET_SWITCHES): Add -m33 option.
7142 * config/c4x/c4x.c (c4x_override_options): Test for TARGET_C33.
7144 2000-03-17 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
7146 * config/c4x/c4x.h (PARALLEL_INSN_FLAG): Add.
7147 (PARALLEL_PACK_FLAG): Delete.
7148 (TARGET_SWITCHES): Update.
7149 (TARGET_PARALLEL): Use PARALLEL_INSN_FLAG.
7151 Thu Mar 16 18:52:32 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
7153 * fold-const.c (fold): Fix a few cases when the returned result
7154 is not of the same type as the input.
7156 2000-03-16 Nick Clifton <nickc@cygnus.com>
7158 * config/arm/arm.h (ASM_OUTPUT_MI_THUNK): Fix compile time
7161 2000-03-16 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
7163 * libgcc2.h: Move prototypes above macros with the same name.
7164 Wrap some function prototypes in the conditional which indicates
7165 whether they are supported, i.e. "BITS_PER_UNIT == 8".
7167 2000-03-16 Richard Henderson <rth@cygnus.com>
7169 * calls.c: Revert last two changes.
7171 2000-03-16 Bernd Schmidt <bernds@cygnus.co.uk>
7173 * fp-bit.c (_unpack_d): If NO_DENORMALS is defined, anything that
7174 has exponent 0 is a zero.
7176 * simplify-rtx.c (hash_rtx, case MEM/REG): Take into account that
7177 HASH may already be nonzero. Add code/mode into hash value
7178 immediately after repeat label.
7179 (cselib_lookup): Don't leave the hash table in an inconsistent
7180 state before a hash lookup operation.
7182 Thu Mar 16 17:03:10 MET 2000 Jan Hubicka <jh@suse.cz>
7184 * i386.md (all HI and QI mode non-move patterns): Conditionize
7185 by TARGET_[HQ]IMODE_MATH.
7186 * i386.h (x86_himode_math, x86_qimode_math, x86_promote_hi_regs,
7187 x86_promote_qi_regs): Declare.
7188 (TARGET_HIMODE_MATH, TARGET_QIMODE_MATH, TARGET_PROMOTE_HI_REGS,
7189 TARGET_PROMOTE_QI_REGS): New macros.
7190 (PROMOTE_MODE): New macro.
7191 * i386.c (x86_himode_math, x86_qimode_math, x86_promote_hi_regs,
7192 x86_promote_qi_regs): New global variables.
7194 Thu Mar 16 16:50:44 MET 2000 Jan Hubicka <jh@suse.cz>
7196 * calls.c (emit_library_call_value_1): Break out from ...; handle
7197 VOIDmode function calls too.
7198 (emit_library_call_value): ... here.
7199 (emit_library_call): Implement by calling emit_library_call_value_1.
7201 Thu Mar 16 16:01:30 MET 2000 Jan Hubicka <jh@suse.cz>
7203 * calls.c (expand_call): Do sanity checking on arg_space_so_far.
7204 Update arg_space_so_far on stack adjustments.
7205 (emit_library_call, emit_library_call_value): Likewise; take into
7206 account arg_space_so_far and pending_stack_adjust when calculcating
7209 Thu Mar 16 09:02:19 2000 Jason Eckhardt <jle@cygnus.com>
7211 * flow.c: Move all basic block reordering code into its own file.
7212 (create_basic_block): Externalize.
7213 * bb-reorder.c: New file. Copy all basic block reordering code from
7214 flow.c to this file.
7215 (reorder_basic_blocks): Fix fencepost error in for-loop.
7216 (reorder_basic_blocks): Remove braces from single statement for-loops.
7217 * basic-block.h: Add declaration for create_basic_block.
7218 * Makefile.in: Add rules for bb-reorder.o.
7220 2000-03-16 Neil Booth <NeilB@earthling.net>
7222 * cppinit.c (handle_option): Implement #unassert directive
7223 as -A- command line option.
7224 (print_help): Update.
7225 * cpptexi.c: Update.
7227 Thu Mar 16 02:14:16 2000 Hans-Peter Nilsson <hp@bitrange.com>
7229 * md.texi (Standard Names): Document `jump'.
7231 2000-03-15 Jason Merrill <jason@casey.cygnus.com>
7233 * calls.c (emit_call_1): Nothrow functions can still have nonlocal
7236 2000-03-15 Geoff Keating <geoffk@cygnus.com>
7238 Merge changes from newppc-branch onto trunk.
7240 2000-03-15 Geoff Keating <geoffk@cygnus.com>
7242 * rs6000.c (toc_hash_table): Update for new hash table functions.
7243 (toc_hash_function): Likewise.
7244 (toc_hash_eq): Likewise.
7245 (toc_hash_mark_entry): Likewise.
7246 (toc_hash_mark_table): Likewise.
7247 (output_toc): Likewise.
7248 (rs6000_add_gc_roots): Likewise.
7250 2000-03-15 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
7252 * t-aix43 (AR_FOR_TARGET): Deleted. Moved `-X32_64'...
7253 (AR_FLAGS_FOR_TARGET): here. New macro.
7255 2000-03-05 Clinton Popetz <cpopetz@cygnus.com>
7257 * config/rs6000/rs6000.c (rs6000_fpmem_offset, rs6000_fpmem_size,
7258 fpmem_operand) Delete.
7260 (rs6000_reg_names, alt_reg_names): Change fpmem to xer.
7261 (machine_function): Remove fpmem_size, fpmem_offset, save_toc_p.
7262 (rs6000_save_machine_status, rs6000_restore_machine_status,
7263 rs6000_init_expanders, rs6000_stack_info, debug_stack_info): Remove
7264 references to above variables.
7265 (gpc_reg_operand): Use XER_REGNO_P instead of FPMEM_REGNO_P.
7266 * config/rs6000/rs6000.h (REG_ALLOC_ORDER, REGISTER_NAMES,
7267 DEBUG_REGISTER_NAMES): Chagne fpmem to xer.
7268 (FPMEM_REGNO_P, FPMEM_REGNUM): Delete.
7269 (XER_REGNO_P, XER_REGNO): New.
7270 (rs6000_stack): Remove fpmem_p, fpmem_offset, fpmem_size.
7271 (PREDICATE_CODES): Change fpmem_operand to xer_operand.
7272 (HARD_REGNO_NREGS, HARD_REGNO_MODE_OK): Change FPMEM_REGNO_P to
7274 (reg_class, REG_CLASS_NAMES, REG_CLASS_CONTENTS, REGNO_REG_CLASS,
7275 REG_CLASS_FROM_LETTER, CLASS_MAX_NREGS): Change FPMEM_REGS to XER_REGS, and remove FLOAT_OR_FPMEM_REGS.
7276 (CLASS_CANNOT_CHANGE_SIZE): Change to FLOAT_REGS.
7278 2000-02-29 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
7280 * aix.h (FP_SAVE_INLINE, ASM_OUTPUT_INTERNAL_LABEL_PREFIX,
7281 TEXT_SECTION_ASM_OP, DATA_SECTION_ASM_OP): Move here...
7282 * rs6000.h: from here.
7284 * rs6000-protos.h (rs6000_select_section): Provide prototype.
7285 (rs6000_select_rtx_section): Likewise.
7286 (rs6000_encode_section_info): Likewise.
7287 (sdata_section): Likewise.
7288 (sdata2_section): Likewise.
7289 (sbss_section): Likewise.
7290 * sysv4.h (rs6000_select_section): Delete prototype.
7291 (rs6000_select_rtx_section): Likewise.
7292 (rs6000_encode_section_info): Likewise.
7293 (sdata_section): Likewise.
7294 (sdata2_section): Likewise.
7295 (sbss_section): Likewise.
7296 (REG_SAVE_AREA): Delete definition duplicated in rs6000.h.
7298 * sysv4.h: Delete various unnecessary #undef's and put a comment
7299 on the remaining ones.
7300 Change various comments according to coding standard.
7302 2000-02-29 Clinton Popetz <cpopetz@cygnus.com>
7304 * config/rs6000/rs6000.h (MQ_REGNO, CR0_REGNO, CR1_REGNO, CR2_REGNO,
7305 CR3_REGNO, CR4_REGNO, MAX_CR_REGNO): Define.
7306 (CR0_REGNO_P) Remove.
7307 * config/rs6000/rs6000.c (gpc_reg_operand, and64_operand, and_operand,
7308 setup_incoming_varargs, mtcrf_operation, print_operand,
7309 rs6000_stack_info, rs6000_emit_prologue, rs6000_emit_epilogue):
7310 Use the above macros.
7312 2000-02-24 Clinton Popetz <cpopetz@cygnus.com>
7314 * config/rs6000/rs6000.md: Added a new alternative for each
7315 pattern that had a 'x' alternative but no 'y' alternative.
7316 Added a new split for each of the above patterns.
7318 2000-02-18 Geoff Keating <geoffk@cygnus.com>
7320 * aix41.h (ASM_CPU_SPEC): Delete.
7321 (CPP_CPU_SPEC): Delete.
7323 * aix.h (RS6000_OUTPUT_BASENAME): Define.
7324 (ASM_OUTPUT_LABEL): Define.
7325 (ASM_GLOBALIZE_LABEL): Define.
7326 (STRIP_NAME_ENCODING): Define.
7327 * rs6000.h (RS6000_OUTPUT_BASENAME): Don't define.
7328 (STRIP_NAME_ENCODING): Don't define.
7329 (ASM_OUTPUT_LABEL): Don't define.
7330 (ASM_GLOBALIZE_LABEL): Don't define.
7331 * sysv4.h (ASM_DECLARE_FUNCTION_NAME): Use assemble_name to output
7332 names, and ASM_OUTPUT_LABEL to output labels, rather than
7334 (ASM_OUTPUT_LABEL): Define.
7335 (ASM_OUTPUT_INT): Use assemble_name.
7336 (ASM_OUTPUT_DWARF_ADDR): Use assemble_name.
7337 (STRIP_NAME_ENCODING): Don't undefine first.
7338 (RS6000_OUTPUT_BASENAME): Make equivalent to assemble_name for
7340 (ASM_OUTPUT_LABELREF): Don't prepend underscores to labels
7341 specified with 'asm' even with -fleading-underscore.
7342 * rs6000.c (print_operand): Use assemble_name when !TARGET_AIX.
7343 (output_epilog): Likewise.
7344 (output_toc): Likewise.
7345 * tramp.asm: Handle -fleading-underscore correctly.
7347 * rs6000.md (builtin_setjmp_receiver): Also run for -fPIC and
7349 (nonlocal_goto_receiver): Delete.
7350 * rs6000.h (DONT_ACCESS_GBLS_AFTER_EPILOGUE): Delete.
7352 * rs6000.h (ASM_OUTPUT_DEF): Don't define.
7353 (SET_ASM_OP): Define.
7354 * sysv4.h (ASM_OUTPUT_DEF): Don't undefine.
7356 * rs6000.h (ASM_OUTPUT_ADDR_VEC_ELT): Don't define.
7359 * rs6000.c (rs6000_dll_import_ref): Delete, not used.
7360 * rs6000-protos.h (rs6000_dll_import_ref): Delete.
7362 * rs6000.h: Add 'u' to more constants.
7364 2000-02-18 David Edelsohn <edelsohn@gnu.org>
7366 * rs6000.md (mfcr+shift): Delete PowerPC64 version.
7368 2000-02-15 David Edelsohn <edelsohn@gnu.org>
7370 * rs6000.c (reg_or_u_cint_operand): New function.
7371 (logical_operand): Handle 64-bit hosts.
7372 (logical_u_operand): New function.
7373 (non_logical_cint_operand): Handle 64-bit hosts.
7374 (non_logical_u_cint_operand): New function.
7375 * rs6000.h (DATA_SECTION_ASM_OP): Add tab.
7376 (PREDICATE_CODES): Define new functions.
7377 * rs6000-protos.h: Declare new functions.
7378 * rs6000.md (iordi3, xordi3): Constant int must be unsigned 32-bits.
7379 (movdi_64): Bracket code intended for 64-bit hosts. Create
7380 CONST_DOUBLE for 32-bit values.
7381 (scc insns): Generate DImode compares.
7382 (mfcr insns): Create DImode versions.
7383 (sge matchers): New patterns.
7385 2000-02-15 Gabriel Paubert <paubert@iram.es>
7387 * rs6000.md: Correct instructions length attributes and
7388 constraints on unsigned compare instructions.
7389 (*ne0): Disable for PowerPC64.
7391 2000-02-11 Geoff Keating <geoffk@cygnus.com>
7393 * rs6000.c (output_function_profiler): Use .long for a 32-bit
7394 quantity, fix profile1.C test failure under -fPIC.
7396 * rs6000.c: Add 'u' to many constants to suppress warnings.
7397 (constant_pool_expr_1): Make static.
7398 (rs6000_emit_eh_toc_restore): Remove unused 'r2'.
7399 * rs6000.h: Add 'u' to many constants to suppress warnings.
7401 * rs6000.c (rs6000_emit_load_toc_table): Use LCTOC..1 under AIX
7402 for the start of the TOC, instead of LCTOC..0.
7403 * aix.h (toc_section): Use LCTOC..1 under AIX for the start
7405 * rs6000.md (load_toc_aix_si): Use LCTOC..1.
7406 (load_toc_aix_di): Use LCTOC..1.
7408 * rs6000.h (LEGITIMIZE_ADDRESS): Turn into a function.
7409 * rs6000.c (rs6000_legitimize_address): New function from
7410 LEGITIMIZE_ADDRESS. Only use create_TOC_reference on
7411 symbols in the constant pool that really are TOC references.
7412 (print_operand_address): For ELF, write TOC offsets under
7413 -fPIC as subtractions in the insn.
7414 (output_toc): For ELF, define symbols in TOC as normal labels,
7416 (create_TOC_reference): Use gen_rtx_PLUS rather than gen_rtx.
7417 * rs6000-protos.h (rs6000_legitimize_address): Prototype.
7418 (create_TOC_reference): Prototype only when RTX_CODE is defined.
7419 * rs6000.md (movsi): Only use create_TOC_reference on
7420 symbols in the constant pool that really are TOC references.
7422 * rs6000.h (MACHINE_DEPENDENT_REORG): Don't define.
7423 * rs6000.c (rs6000_reorg): Delete.
7424 * rs6000-protos.h (rs6000_reorg): Delete.
7426 2000-02-09 Geoff Keating <geoffk@cygnus.com>
7428 * rs6000.h (INCOMING_RETURN_ADDR_RTX): New macro.
7430 * aix.h (SETUP_FRAME_ADDRESSES): Define.
7431 * rs6000.c [TARGET_AIX] (insn_after_throw): New static variable.
7432 [TARGET_AIX] (rs6000_aix_emit_builtin_unwind_init): New function.
7433 [TARGET_AIX] (rs6000_emit_eh_toc_restore): New function.
7434 * rs6000-protos.h: Prototype rs6000_emit_eh_toc_restore,
7435 rs6000_aix_emit_builtin_unwind_init.
7436 * rs6000.md (eh_epilogue) [TARGET_AIX]: Call
7437 rs6000_emit_eh_toc_restore on AIX.
7438 (return_eh_si): Use r2.
7439 (return_eh_di): Use r2.
7441 * aix43.h: Turn on HAS_INIT_SECTION and LD_INIT_SWITCH,
7442 since we're breaking binary compatibility anyway.
7444 2000-02-09 Clinton Popetz <cpopetz@cygnus.com>
7446 * config/rs6000/rs6000-protos.h: (get_TOC_alias_set, uses_TOC,
7447 constant_pool_expr_p): Declare them.
7448 (constant_pool_expr_p): Declare it.
7449 * config/rs6000/rs6000.c (toc_label_name): Define.
7450 (rs6000_override_options): Set toc_label_name.
7451 (input_operand): Allow any TOC_RELATIVE_EXPR_P.
7452 (get_TOC_alias_set, constant_pool_expr_p, constant_pool_expr_1,
7453 uses_TOC): New functions.
7454 (print_operand): Delete old '*' case.
7455 (print_operand_address): Use LEGITIMATE_CONSTANT_POOL_ADDRESS_P,
7456 and strip off rtl for TOC before calling output_addr_const.
7457 (rs6000_emit_load_toc_table): Use toc_label_name.
7458 * config/rs6000/rs6000.h (TARGET_SWITCHES): Make msched-prolog
7460 (LEGITIMATE_CONSTANT_POOL_BASE_P): Delete.
7461 (CONSTANT_POOL_EXPR_P, TOC_RELATIVE_EXPR_P): New macros.
7462 (LEGITIMATE_CONSTANT_POOL_ADDRESS_P): Use CONSTANT_POOL_EXPR_P.
7463 (LEGITIMIZE_ADDRESS, LEGITIMIZE_RELOAD_ADDRESS): Turn symbol_refs
7464 into explicit TOC_REGISTER offsets.
7465 (TOC_REGISTER): New macro.
7466 * config/rs6000/rs6000.md (movsi, movdi): Emit rtl under
7467 TARGET_TOC to reference TOC_REGISTER.
7468 (load_toc_v4_PIC_1b): Add 4 to offset for toc reload.
7469 * config/rs6000/sysv4.h (ASM_DECLARE_FUNCTION_NAME): Call
7470 uses_TOC before emitting label references.
7472 2000-02-05 Geoff Keating <geoffk@cygnus.com>
7474 * rs6000.md (stack_tie): Fix warning.
7476 * eabi-ctors.c: Use 'asm' names for the start/end variables,
7477 to handle -fleading-underscore.
7478 * sysv4.h (ASM_DECLARE_FUNCTION_NAME): Use asm_fprintf and %U.
7479 (USER_LABEL_PREFIX): New macro.
7480 (ASM_OUTPUT_INTERNAL_LABEL_PREFIX): Use asm_fprintf and %L.
7481 (ASM_OUTPUT_LABELREF): Use asm_fprintf and %U.
7482 * t-ppccomm (MULTILIB_MATCHES_SYSV): Note that call-sysv and
7483 call-linux can use the same multilibs.
7484 * t-ppcgas (MULTILIB_OPTIONS): Don't need to have separate call-sysv
7485 and call-linux multilibs. Do multilib with -fleading-underscore.
7486 (MULTILIB_DIRNAMES): Follow MULTILIB_OPTIONS change.
7487 (MULTILIB_EXCEPTIONS): Remove call-linux exceptions. Add restrictions
7490 * sysv4.h (CPP_SYSV_SPEC): Define _SOFT_FLOAT for all those CPUs that
7491 have MASK_SOFT_FLOAT set.
7492 (CPP_FLOAT_DEFAULT_SPEC): New macro.
7493 (SUBTARGET_EXTRA_SPECS): Set `cpp_float_default' to the value of
7494 CPP_FLOAT_DEFAULT_SPEC.
7496 * rs6000.c (ccr_bit): Add some consistency checks and a variable 'reg'.
7497 * rs6000.md: Whitespace change.
7498 * sysv4.h (LINK_TARGET_SPEC): Whitespace change.
7499 * sysv4le.h (LINK_TARGET_SPEC): Whitespace change.
7501 2000-02-05 Geoff Keating <geoffk@cygnus.com>
7503 * rs6000.md (eh_epilogue): New expander.
7504 (eh_reg_restore): New expand/split/insn combination.
7505 (return_eh_si): New insn.
7506 (return_eh_di): New insn.
7508 * eabi-ci.asm: Put a label at the start of the .eh_frame section.
7509 * eabi-cn.asm: Put a zero at the end of the .eh_frame section.
7510 * eabi-ctors.c (__do_global_ctors): Register this object's
7511 frame. Clean up. Call atexit() after the constructors.
7512 (__do_global_dtors): Deregister this object's frame. Clean up.
7513 Allow for recursive calls to exit().
7514 * rs6000.c (fixuplabelno): New variable.
7515 * sysv4.h (ASM_OUTPUT_INT): Don't do .fixup if not
7516 TARGET_RELOCATABLE, it slows down exec() under linux.
7517 (ASM_OUTPUT_DWARF_ADDR): Do .fixup if TARGET_RELOCATABLE.
7519 * aix.h (ASM_OUTPUT_DWARF_ADDR_VAR): New macro.
7520 (ASM_OUTPUT_DWARF_DELTA_VAR): New macro.
7521 (ASM_OUTPUT_DWARF_DELTA2): New macro.
7522 (ASM_OUTPUT_DWARF_DELTA4): New macro.
7523 (ASM_OUTPUT_DWARF_ADDR_DELTA): New macro.
7524 (ASM_OUTPUT_DWARF_ADDR): New macro.
7525 (ASM_OUTPUT_DWARF_DATA4): New macro.
7526 (ASM_OUTPUT_DWARF_DATA2): New macro.
7527 (ASM_OUTPUT_DWARF_OFFSET4): New macro.
7528 (ASM_OUTPUT_DWARF_OFFSET): New macro.
7529 (UNALIGNED_INT_ASM_OP): New macro, fake definition.
7531 2000-02-03 Geoff Keating <geoffk@cygnus.com>
7533 * rs6000.c (rs6000_sr_alias_set): New variable.
7534 (rs6000_override_options): Initialise rs6000_sr_alias_set.
7535 (rs6000_emit_stack_tie): New function.
7536 (rs6000_emit_allocate_stack): Specify RTX_FRAME_RELATED_P
7537 in a way that dwarf2out can understand.
7538 (rs6000_frame_related): New function.
7539 (rs6000_emit_prologue): Use rs6000_sr_alias_set. Specify
7540 RTX_FRAME_RELATED_P in a way that dwarf2out can understand.
7541 Use rs6000_emit_stack_tie when needed.
7542 (rs6000_emit_epilogue): Use rs6000_sr_alias_set. Don't set
7543 RTX_FRAME_RELATED_P. Use rs6000_emit_stack_tie when needed.
7544 * rs6000.md (stack_tie): New insn.
7545 (return_internal_si): Allow return value to be in the count
7547 (return_internal_di): Likewise.
7549 * rs6000.c (output_mi_thunk): Remove unused variable `sp'.
7551 2000-02-03 Geoff Keating <geoffk@cygnus.com>
7553 * sysv4.h (LOCAL_LABEL_PREFIX): Define, for the use of dbxelf.h.
7555 2000-01-31 Geoff Keating <geoffk@cygnus.com>
7557 * rs6000.h (ASM_OUTPUT_DEF_FROM_DECLS): New macro.
7559 * rs6000.md (stmw): Use the right POWER opcode.
7562 2000-01-31 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
7564 * rs6000-protos.h: New file.
7566 * rs6000.c: Include tm_p.h. Fix compile time warnings.
7568 * rs6000.h: Move prototypes to rs6000-protos.h. Fix compile time
7571 * sysv4.h: Likewise.
7573 2000-01-28 Geoff Keating <geoffk@cygnus.com>
7575 * ../../configure.in: Delete powerpcle-*-winnt*
7576 and powerpcle-*-pe|powerpcle-*-cygwin*.
7577 * ../../configure: Regenerated.
7579 * rs6000.h (OBJECT_WINDOWS_NT): Delete.
7580 (TARGET_WINDOWS_NT): Delete.
7582 (CALL_NT_DLLIMPORT): Delete.
7583 Delete NT-specific code.
7584 * rs6000.md, rs6000.c, sysv4.h: Delete NT-specific code.
7587 * nt-ci.asm: Delete.
7588 * nt-cn.asm: Delete.
7589 * ntstack.asm: Delete.
7591 2000-01-27 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
7593 * rs6000.h (SELECT_RTX_SECTION): Move to aix.h.
7594 (ASM_FILE_START): Likewise.
7595 (ASM_DECLARE_FUNCTION_NAME): Likewise.
7596 (ASM_OUTPUT_LABELREF): Likewise.
7597 (ASM_OUTPUT_SKIP): Likewise.
7598 (ASM_OUTPUT_INTERNAL_LABEL): Likewise.
7599 (ASM_GENERATE_INTERNAL_LABEL): Likewise.
7600 (ASM_OUTPUT_CASE_LABEL): Likewise.
7601 (ASM_OUTPUT_ALIGNED_COMMON): Likewise.
7602 (ASM_OUTPUT_ASCII): Likewise.
7604 2000-01-27 Clinton Popetz <cpopetz@cygnus.com>
7606 * rs6000.c (rs6000_emit_load_toc_table): Use "LCG" and
7607 reload_toc_labelno for non-prologue TOC reloads. Also, don't
7608 increment rs6000_pic_labelno here.
7609 (rs6000_emit_prologue): Pass TRUE to rs6000_emit_load_toc_table,
7610 and increment rs6000_pic_labelno here.
7612 2000-01-24 Geoffrey Keating <geoffk@cygnus.com>
7614 * rs6000.md (fctiwz): Use (set (reg) (unspec:DI [(fix:SI ...)]))
7615 rather than (set (subreg:SI (reg)) (fix:SI ...)) so that register
7616 allocation knows (reg) is dead before the insn.
7618 2000-01-21 Geoff Keating <geoffk@cygnus.com>
7620 * rs6000.md (movsi_to_cr): Correct typo in output template.
7622 2000-01-19 Geoffrey Keating <geoffk@cygnus.com>
7624 * rs6000.c (rs6000_pic_labelno): Always define.
7625 (rs6000_pic_func_labelno): Delete.
7626 (lmw_operation): Check for a zero base register,
7627 which doesn't mean what we want.
7628 (stmw_operation): New function.
7629 (print_operand): Define new 'l' modifier.
7630 (rs6000_stack_info): We must save all 64 bits of the registers
7631 if TARGET_POWERPC64.
7632 (rs6000_output_load_toc_table): Delete.
7633 (rs6000_emit_load_toc_table): New function.
7634 (rs6000_allocate_stack_space): Delete.
7635 (rs6000_emit_allocate_stack): New function.
7636 (rs6000_emit_prologue): New function.
7637 (output_prolog): Use rs6000_emit_prologue.
7638 (rs6000_emit_epilogue): Change a few variable names to be
7639 more accurate. Restore all 64 bits of the registers if
7640 TARGET_POWERPC64. Only restore the FP registers which were used
7641 if they are being saved/restored one-at-a-time.
7642 (output_mi_thunk): Delete inefficient code generation.
7643 (output_function_profiler): Don't use rs6000_output_load_toc_table.
7644 * rs6000.h: Declare rs6000_emit_load_toc_table,
7645 rs6000_allocate_stack_space, stmw_operation. Don't declare
7646 rs6000_output_load_toc_table.
7647 * rs6000.md (elf_high): Allow register 0, but discourage it
7649 (elf_low): Support loading into register 0.
7650 (load_toc_aix_si): New pattern.
7651 (load_toc_aix_di): New pattern.
7652 (load_toc_v4_pic_si): New pattern.
7653 (load_toc_v4_pic_di): New pattern.
7654 (load_toc_v4_PIC_1): New pattern.
7655 (load_toc_v4_PIC_1b): New pattern.
7656 (load_toc_v4_PIC_2): New pattern.
7657 (builtin_setjmp_receiver): Use rs6000_emit_load_toc_table.
7658 (nonlocal_goto_receiver): Use rs6000_emit_load_toc_table.
7659 (prologue): New expander.
7660 (movesi_from_cr): New pattern.
7661 (stmw): New pattern.
7662 (save_fpregs_si): New pattern.
7663 (save_fpregs_di): New pattern.
7665 2000-01-19 Geoff Keating <geoffk@cygnus.com>
7667 * rs6000.md (movsi): Don't use force_reg when no_new_pseudos.
7672 2000-01-19 Geoff Keating <geoffk@cygnus.com>
7674 * rs6000.md (movsi_got): 'unspec 8' returns a SImode result,
7676 (movsi_got_internal): Likewise.
7677 (movsi_got_internal+1): Likewise.
7678 (set_sp): 'unspec 7' does a SImode clobber.
7680 2000-01-19 Geoff Keating <geoffk@cygnus.com>
7682 * rs6000.md (floatsidf2): Don't use the fpmem "register", just
7683 allocate a stack temporary.
7684 (floatsidf2_internal): Likewise.
7685 (floatsidf2_internal+1): Likewise. Don't do bizzare hacks
7687 (floatunssidf2): Don't use the fpmem "register", just
7688 allocate a stack temporary.
7689 (floatunssidf2_internal): Likewise.
7690 (floatunssidf2_internal+1): Likewise. Don't do bizzare hacks
7692 (floatsidf2_loadaddr): Delete.
7693 (floatsidf2_store1): Delete.
7694 (floatsidf2_store2): Delete.
7695 (floatsidf2_load): Delete.
7696 (fix_truncdfsi2): Don't use the fpmem "register", just
7697 allocate a stack temporary.
7698 (fix_truncdfsi2_internal_si): Delete.
7699 (fix_truncdfsi2_internal_di): Delete.
7700 (fix_truncdfsi2_internal): New insn.
7701 (fix_truncdfsi2_internal+1): Don't use the fpmem "register".
7702 (fix_truncdfsi2_store): Delete.
7703 (fix_truncdfsi2_load): Delete.
7704 (fctiwz): Produce gen_fctiwz.
7706 2000-01-19 Geoffrey Keating <geoffk@cygnus.com>
7708 * eabi.h (INVOKE__main): Define.
7709 * rs6000.c (rs6000_stack_info): Don't handle call to NAME__MAIN
7711 (rs6000_emit_prologue): Likewise.
7712 * rs6000.h (struct rs6000_stack): Don't keep track of whether
7713 this is the main program.
7715 2000-01-19 Geoff Keating <geoffk@cygnus.com>
7717 * rs6000.c (rs6000_va_arg): Delete some unused variables.
7719 2000-01-19 Geoff Keating <geoffk@cygnus.com>
7721 * rs6000.c (rs6000_va_arg): On AIX, padding for small arguments
7722 goes after the argument.
7724 2000-01-12 Geoff Keating <geoffk@cygnus.com>
7726 * rs6000.md: Document 'unspec' values used.
7727 (epilogue): New expander.
7728 (movesi_to_cr_one): New expander.
7729 (movesi_to_cr and following): New pattern.
7731 (return_internal_si): New pattern.
7732 (return_internal_di): New pattern.
7733 (return_and_restore_fpregs_si): New pattern.
7734 (return_and_restore_fpregs_di): New pattern.
7735 * rs6000.h: Declare new functions.
7736 * rs6000.c (rs6000_stack_info): Use current_function_is_leaf
7737 rather than rs6000_calls_p.
7738 (rs6000_makes_calls): Delete.
7739 (lmw_operation): New function.
7740 (mtcrf_operation): New function.
7741 (rs6000_emit_epilogue): New function.
7742 (output_epilog): Call rs6000_emit_epilogue and final if
7743 !TARGET_SCHED_PROLOG, instead of writing text unconditionally.
7745 2000-01-12 Geoff Keating <geoffk@cygnus.com>
7747 * aix43.h (SUBSUBTARGET_SWITCHES): Document switches.
7748 * aix41.h (SUBSUBTARGET_SWITCHES): Document switches.
7749 * aix.h (SUBTARGET_SWITCHES): Document switches.
7750 * rs6000.h: (TARGET_SWITCHES): Don't print options twice. Make
7751 sched-prolog and sched-epilog the same. Document all the
7753 (TARGET_OPTIONS): No longer allow -mdebug-.
7755 2000-01-12 Geoff Keating <geoffk@cygnus.com>
7757 * rs6000.h (ASM_FILE_END): Move to aix.h.
7758 (EXTRA_SECTIONS): Move to aix.h.
7759 (READONLY_DATA_SECTION): Move to aix.h.
7760 (EXTRA_SECTION_FUNCTIONS): Move to aix.h.
7761 (SELECT_SECTION): Move to aix.h.
7762 (JUMP_TABLES_IN_TEXT_SECTION): Move to aix.h.
7763 (INT_REGNO_P): Use symbolic name for ARG_POINTER_REGNUM.
7764 (LINK_REGISTER_REGNUM): New definition.
7765 (RETURN_ADDR_RTX): Use symbolic name for LINK_REGISTER_REGNUM.
7766 (SLOW_UNALIGNED_ACCESS): Define in a way suitable for both
7768 * sysv4.h: Delete the code between the inclusion of rs6000.h
7770 (DWARF_DEBUGGING_INFO): Don't define, it's defined in elfos.h.
7771 (FP_ARG_MAX_REG): Move generic definition to rs6000.h.
7772 (RS6000_REG_SAVE): Move generic definition to rs6000.h.
7773 (RS6000_SAVE_AREA): Move generic definition to rs6000.h.
7774 * rs6000.md (floatsidf2_loadaddr): The first arg here is Pmode.
7775 (fix_truncdfsi2_internal): Rename to fix_truncdfsi2_internal_si.
7776 (fix_truncdfsi2_internal_di): New pattern.
7777 (fix_truncdfsi2_store): The second arg here is Pmode too.
7778 (fix_truncdfsi2_load): The second arg here is Pmode too.
7779 (tablejumpdi): Now that switch tables hold only SImode values,
7780 gcc needs to know how to add them to the pc which is DImode.
7781 * rs6000.c (rs6000_stack_info): Use symbolic name for
7782 LINK_REGISTER_REGNUM.
7783 (output_mi_thunk) [!TARGET_ELF]: Don't define sp, it's not used.
7784 (output_toc): Delete unused variables s1 and s2.
7785 (output_ascii): Use fputs not fprintf on a variable string.
7787 2000-01-07 David Edelsohn <edelsohn@gnu.org>
7789 * rs6000.c (processor_target_table): Add power3 as alias for 630.
7790 * aix43.h: Revert Aug 2 change.
7791 (HAS_INIT_SECTION): Define, not visible yet.
7792 (LD_INIT_SWITCH): Define, not visible yet.
7793 * t-aix43 (MULTILIB_OPTIONS): Revert Aug 2 change.
7795 2000-01-04 Joel Sherrill (joel@OARcorp.com>
7797 * config/rs6000/rtems.h: Include config/rtems.h.
7799 2000-01-04 David Edelsohn <edelsohn@gnu.org>
7801 * rs6000.h (HANDLE_PRAGMA_PACK): Define.
7802 (SLOW_UNALIGNED_ACCESS): Define.
7803 (CASE_VECTOR_MODE): Always use 32-bit offsets.
7804 (ASM_FILE_END): Generate 64-bit symbol in 64-bit mode.
7805 (EXTRA_SECTOIN_FUNCTIONS): Indent .csect pseudo-op.
7806 (toc_section): Likewise and .toc pseudo-op.
7807 (ASM_DECLARE_FUNCTION): Likewise. Align text more strictly in
7809 (TEXT_SECTION_ASM_OP): Likewise.
7810 (ASM_OUTPUT_ADD_VEC_ELT, ASM_OUTPUT_ADDR_DIFF_ELT): Always use
7813 1999-12-17 Jakub Jelinek <jakub@redhat.com>
7815 * config/rs6000/rs6000.h (TARGET_POWERPC64): Make sure
7816 UNITS_PER_WORD and BITS_PER_WORD are compile time constants when
7819 2000-01-06 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
7821 * rs6000.h: Move more stuff from here...
7823 * sysv4.h: Cleanup accordingly.
7824 * netware.h: Likewise
7826 2000-01-05 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
7828 * rs6000.h: Continue cleanup.
7831 * netware.h: Likewise.
7833 * sysv4.h: Likewise.
7834 * win-nt.h: Likewise.
7836 * rs6000.h (TARGET_SWITCHES): Add descriptions.
7837 (TARGET_OPTIONS): Likewise.
7839 * sysv4.h (SUBTARGET_SWITCHES): Add descriptions.
7840 (SUBTARGET_OPTIONS): Likewise.
7842 * rs6000.md: Fix compile time warnings.
7844 2000-01-04 Geoff Keating <geoffk@cygnus.com>
7846 vxworks patches from the Cygnus tree originally by
7847 Michael Meissner <meissner@cygnus.com> and Vladimir Makarov
7848 <vmakarov@cygnus.com>.
7849 * sysv4.h (SUBTARGET_SWITCHES): Add vxworks.
7850 (ENDFILE_SPEC): Likewise.
7851 (LIB_VXWORKS_SPEC): New macro.
7852 (STARTFILE_VXWORKS_SPEC): New macro.
7853 (ENDFILE_VXWORKS_SPEC): New macro.
7854 (LINK_START_VXWORKS_SPEC): New macro.
7855 (LINK_OS_VXWORKS_SPEC): New macro.
7856 (CPP_OS_VXWORKS_SPEC): New macro.
7857 (SUBTARGET_EXTRA_SPECS): Add all the vxworks specs.
7858 * vxppc.h: Rewrite to use proper configuration method.
7859 * vxppcle.h: New file.
7860 * ../../configure.in: Add powerpcle-wrs-vxworks*.
7861 * ../../configure: Rebuilt.
7863 2000-01-04 Geoff Keating <geoffk@cygnus.com>
7865 Lots of changes to rs6000.h, sysv4.h, aix.h,
7866 aix31.h, aix3newas.h, aix41.h, aix43.h, beos.h,
7867 with the aim that rs6000.h is the first header
7868 included and the others override it.
7871 * x-aix41-gld: Remove.
7873 * x-aix41: Remove target-specific switches, and don't specify
7874 -Wl,-bbigtoc as we don't need it any more.
7875 * ../../configure.in: Use x-aix41 for ppc AIX 4.1 and above.
7876 Use t-aix43 for AIX 4.3 and above.
7877 * ../../configure: Regenerated.
7879 * rs6000.h (TARGET_SWITCHES): Add some initial prolog-scheduling
7880 options, that don't do anything yet.
7881 (MASK_SCHED_PROLOG): New macro.
7882 (MASK_SCHED_EPILOG): New macro.
7883 (TARGET_SCHED_PROLOG): New macro.
7884 (TARGET_SCHED_EPILOG): New macro.
7886 2000-01-04 Geoff Keating <geoffk@cygnus.com>
7888 * rs6000.c: Correct comment, the `minimal' TOCs are actually
7889 one per translation unit, not one per function.
7890 (output_toc): Also do duplicate constant elimination
7891 for per-translation-unit TOCs.
7893 * rs6000.md (nonlocal_goto_receiver): Put it back as before. Add
7894 a comment explaining _exactly_ when this pattern gets used.
7895 (builtin_setjmp_receiver): New pattern for better clarity.
7896 (init_v4_pic): Move it into a section dealing with TOC registers.
7898 1999-12-30 Geoff Keating <geoffk@cygnus.com>
7900 * rs6000.c (toc_hash_table): New variable.
7901 (rs6000_hash_constant): New function.
7902 (toc_hash_function): New function.
7903 (toc_hash_eq): New function.
7904 (toc_hash_mark_entry): New function.
7905 (toc_hash_mark_table): New function.
7906 (output_toc): Don't output duplicate TOC entries in
7908 (rs6000_add_gc_roots): Add the hash table as a GC root.
7909 * t-aix43: Move AR_FOR_TARGET and CLIB here from x-aix43,
7910 where they clearly shouldn't be. This may need to be fixed
7911 later when there is a GNU ar for AIX.
7912 * x-aix43: Don't define CLIB or AR_FOR_TARGET.
7913 Don't define BOOT_LDFLAGS as it is now not necessary.
7915 1999-12-29 Geoff Keating <geoffk@cygnus.com>
7917 * rs6000.c (rs6000_build_va_list): Use 'char *' rather than 'void *'
7918 for va_list on AIX. Use unsigned_char_type_node rather than
7919 constructing our own version on svr4.
7921 1999-12-17 Geoff Keating <geoffk@cygnus.com>
7923 * tramp.asm (__trampoline_size): Delete CYGNUS LOCAL comment,
7924 since patently it's not.
7926 1999-12-08 Geoff Keating <geoffk@cygnus.com>
7928 * config/rs6000/rs6000.md (nonlocal_goto_receiver): Turn into
7929 define_expand/define_insn pair, and handle restore of the
7930 SVR4 -fpic register.
7932 Wed Mar 15 15:43:38 2000 Jeffrey A Law (law@cygnus.com)
7934 * acconfig.h (HAVE_GAS_WEAK): New define.
7935 * configure.in (assembler weak support): Check for .weak support.
7936 * config.in, configure: Rebuilt.
7937 * pa/som.h (MAKE_DECL_ONE_ONLY, ASM_WEAKEN_LABEL): Only define if
7938 HAVE_GAS_WEAK is defined.
7940 2000-03-15 Nick Clifton <nickc@cygnus.com>
7942 * config/arm/arm.c (arm_output_epilogue): Do not pass %c to
7945 2000-03-15 Zack Weinberg <zack@wolery.cumb.org>
7947 * cppfiles.c (open_include_file): New function.
7948 (find_include_file, cpp_read_file): Use it.
7950 2000-03-15 Jason Merrill <jason@casey.cygnus.com>
7952 * cpphash.c (dump_hash_helper): Take the slot, not the element.
7954 Wed Mar 15 14:28:54 2000 Jason Eckhardt <jle@cygnus.com>
7956 * flow.c (verify_flow_info): Check for unconditional return.
7958 Wed Mar 15 11:34:27 2000 Jim Wilson <wilson@cygnus.com>
7960 * config/ia64/ia64.md (restore_stack_nonlocal): New.
7961 * config/ia64/lib1funcs.asm (__ia64_nonlocal_goto): Delete padding nop.
7962 (__ia64_restore_stack_nonlocal): New.
7963 * config/ia64/t-ia64 (LIB1ASMFUNCS): Add __restore_stack_nonlocal.
7965 2000-03-15 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
7967 * cpphash.c (collect_formal_parameters): Do not complain about
7968 parameter names that just start with `__VA_ARGS__'.
7970 Wed Mar 15 13:26:58 MET 2000 Jan Hubicka <jh@suse.cz>
7972 * i386.md (movhi_1): Promote movw imm, reg to movl imm, reg and
7973 movw reg, reg to movzwl reg, reg on PARTIAL_REGISTER_STALL machines.
7974 * i386.c (pentiumpro_cost): Set mul cost to 4.
7975 (x86_use_movx): Set for PPro.
7977 Wed Mar 15 13:07:05 MET 2000 Jan Hubicka <jh@suse.cz>
7979 * i386.md (ix86_compute_frame_size): stack_alignment_needed is
7980 STACK_BOUNDARY for empty frames now.
7982 2000-03-14 Mark Mitchell <mark@codesourcery.com>
7984 * stor-layout.c (layout_union): Remove.
7985 (layout_union_field): New function, split out from layout_union.
7986 (finish_union_layout): Likewise.
7987 (layout_field): Handle unions by calling layout_union_field.
7988 (finish_record_layout): Handle unions.
7989 (layout_type): Combine RECORD_TYPE, UNION_TYPE, and
7990 QUAL_UNION_TYPE handling.
7992 Wed Feb 23 13:00:06 CET 2000 Jan Hubicka <jh@suse.cz>
7994 * flow.c (fixup_reorder_chain): Avoid double labels in the basic block;
7995 end of basic block is jump_insn, not barrier; use create_basic_block
7996 instead of creating basic block by hand.
7998 2000-03-14 Jason Eckhardt <jle@cygnus.com>
8000 * flow.c (reorder_basic_blocks): Account for barriers when writing
8001 over NEXT_INSN (last_bb->end).
8002 (verify_flow_info): Add check for missing barriers.
8004 2000-03-14 Greg McGary <gkm@gnu.org>
8006 * c-lex.h (enum rid): Add RID_BOUNDED & RID_UNBOUNDED.
8007 * c-lex.c (init_lex): Handle RID_BOUNDED & RID_UNBOUNDED.
8008 * c-parse.gperf (__bounded, __bounded__, __ptrbase, __ptrbase__,
8009 __ptrextent, __ptrextent__, __ptrvalue, __ptrvalue__,
8010 __unbounded, __unbounded__): New keywords.
8011 * c-parse.in (PTR_VALUE PTR_BASE PTR_EXTENT): New tokens.
8012 * c-parse.y, c-parse.c, c-parse.h: Regenerate.
8013 * objc/objc-parse.y, objc/objc-parse.c: Regenerate.
8015 2000-03-14 Bernd Schmidt <bernds@cygnus.co.uk>
8017 * cselib.h: New file.
8018 * alias.c: Include "cselib.h".
8019 (fixed_scalar_and_varying_struct_p): Accept the addresses of the
8020 MEMs as two new arguments.
8021 (get_addr): New static function.
8022 (find_base_term): Handle VALUEs.
8023 (memrefs_conflict_p): Likewise.
8024 (true_dependence): Call get_addr on the addresses.
8025 Call fixed_scalar_and_varying_struct_p with addresses that have been
8026 passed through get_addr and canon_rtx.
8027 (write_dependence_p): Move DIFFERENT_ALIAS_SETS_P test for consistency
8028 with true_dependence.
8029 Call get_addr on the addresses; don't call canon_rtx on the MEMs.
8030 * loop.c: Include "cselib.h".
8031 (load_mems): Process extended basic block that enters the loop with
8032 cselib. Use that information to change initialization of the shadow
8033 register so that a constant equivalence is seen by later passes.
8034 * reload1.c: Include "cselib.h".
8035 (reload_cse_invalidate_regno): Delete function.
8036 (reload_cse_mem_conflict_p): Likewise.
8037 (reload_cse_invalidate_mem): Likewise.
8038 (reload_cse_invalidate_rtx): Likewise.
8039 (reload_cse_regno_equal_p): Likewise.
8040 (reload_cse_check_clobber): Likewise.
8041 (reload_cse_record_set): Likewise.
8042 (reg_values): Delete static variable.
8043 (invalidate_regno_rtx): Likewise.
8044 (reload_cse_delete_noop_set): New static function.
8045 (reload_cse_simplify): New static function, broken out of
8047 (reload_cse_noop_set_p): Delete unused argument INSN.
8048 Just call rtx_equal_for_cselib_p on set source and destination.
8049 (reload_cse_regs_1): Break out some code into reload_cse_simplify and
8050 reload_cse_delete_noop_set. Delete code to keep track of values; use
8051 cselib functions instead. Delete code to push/pop obstacks.
8052 (reload_cse_simplify_set): Use cselib to find equivalent values.
8053 Delete code to push/pop obstacks.
8054 (reload_cse_simplify_operands): Likewise.
8055 * rtl.def (VALUE): New rtx code.
8056 * rtl.h (union rtunion_def): New elt rt_cselib.
8057 (X0CSELIB, CSELIB_VAL_PTR): New macros.
8058 * simplify_rtx.c: Include "ggc.h", "obstack.h", "cselib.h".
8059 (new_elt_list, new_elt_loc_list, unchain_one_value, clear_table,
8060 unchain_one_elt_list, unchain_one_elt_loc_list, check_useless_values,
8061 discard_useless_locs, discard_useless_values, entry_and_rtx_equal_p,
8062 hash_rtx, new_cselib_val, add_mem_for_addr, get_value_hash,
8063 cselib_lookup_mem, cselib_subst_to_values, cselib_invalidate_regno,
8064 cselib_mem_conflict_p, cselib_invalidate_mem, cselib_invalidate_rtx,
8065 cselib_record_set, cselib_record_sets): New static functions.
8066 (cselib_lookup, cselib_update_varray_sizes, cselib_init,
8067 cselib_finish, cselib_process_insn, rtx_equal_for_cselib_p,
8068 references_value_p): New functions.
8069 (MAX_USELESS_VALUES, REG_VALUES): New macros.
8070 (table, cselib_current_insn, next_unknown_value, cselib_nregs,
8071 n_useless_values, reg_values, callmem, cselib_obstack,
8072 cselib_startobj, empty_vals, empty_elt_lists, empty_elt_loc_lists):
8073 New static variables.
8074 * varray.h (union varray_data_tag): New elt te.
8075 (VARRAY_ELT_LIST_INIT, VARRAY_ELT_LIST): New macros.
8076 * Makefile.in (reload1.o, loop.o, simplify-rtx.o, alias.o): Update
8079 2000-03-14 Nick Clifton <nickc@cygnus.com>
8081 * gcc.c (do_spec_1): Catch the case where %* is used in a
8082 substitution pattern, but it has not been initialised.
8083 Issue a meaningful error message if an unrecognised operator
8084 is encountered in a spec string.
8086 2000-03-14 Richard Earnshaw <rearnsha@arm.com>
8088 * function.c (prepare_function_start): Correctly initialize
8089 cfun->stack_alignment_needed.
8091 2000-03-14 Zack Weinberg <zack@wolery.cumb.org>
8093 * cppfiles.c (find_include_file): Don't assume nshort is a
8096 Tue Mar 14 08:42:21 2000 Jeffrey A Law (law@cygnus.com)
8098 * configure.in (hppa configurations): Add pa32-regs.h to the
8099 list of tm files as appropriate.
8100 * configure: Rebuilt.
8101 * pa.c (compute_frame_size): Remove explicit knowledge about FP
8103 (hppa_expand_prologue, hppa_expand_epilogue): Likewise.
8104 (fmpyaddoperands, fmpysuboperands): Likewise.
8105 * pa.h: Remove various definitions which depend on knowing
8106 how registers are numbered.
8107 * pa32-regs.h: New file with PA32 register numbering specific
8110 2000-03-14 Richard Henderson <rth@cygnus.com>
8112 * regmove.c (combine_stack_adjustments): New.
8113 (stack_memref_p, single_set_for_csa): New.
8114 (free_csa_memlist, record_one_stack_memref): New.
8115 (try_apply_stack_adjustment): New.
8116 (combine_stack_adjustments_for_block): New.
8117 * rtl.h (combine_stack_adjustments): Declare.
8118 * toplev.c (rest_of_compilation): Call it.
8120 * i386.md: Revert 2000-01-16 change.
8122 2000-03-14 Martin v. Löwis <loewis@informatik.hu-berlin.de>
8124 * gccbug.in: Add web category, gcc specific classes.
8126 2000-03-14 Nathan Sidwell <nathan@codesourcery.com>
8128 * stor-layout.c (finalize_record_size): Fix typo.
8130 2000-03-14 Stan Shebs <shebs@apple.com>
8132 * c-typeck.c (c_alignof): Error on incomplete types.
8133 * extend.texi (Alignment): Document this.
8135 2000-03-13 Zack Weinberg <zack@wolery.cumb.org>
8137 * cppfiles.c: Include mkdeps.h.
8138 (find_include_file, read_include_file): Remove _cpp_ prefix
8139 from name, make static.
8140 (_cpp_execute_include): New function, broken out of
8143 * cpplib.c: Don't include mkdeps.h.
8144 (struct directive): Remove type field. Reorder entries. The
8145 function takes only one argument.
8146 (struct if_stack): Make type field an int.
8147 (directive_table): Rename to dtable. Generate it, the
8148 prototypes of the directive handlers, and the enum for the
8149 directive numbers, from a template macro.
8150 (do_ifndef, do_include_next, do_import): New functions.
8151 (do_define, do_include, do_endif, do_ifdef, do_if, do_else,
8152 do_undef, do_line, do_elif, do_error, do_pragma, do_warning,
8153 do_ident, do_assert, do_unassert, do_sccs): Take only one
8155 (do_sccs): Define always, but alter behavior based on
8157 (_cpp_handle_directive, consider_directive_while_skipping):
8158 Restructure for new directive table layout.
8160 (pass_thru_directive): Take a directive number, not a pointer
8161 to a struct directive.
8162 (parse_include): New function, broken out of do_include.
8163 (do_include, do_import, do_include_next): Use parse_include
8164 and _cpp_execute_include.
8165 (do_elif, do_else): Test for T_ELSE specifically when checking
8166 for #elif/#else after #else.
8167 (parse_ifdef): New function, broken out of do_ifdef.
8168 (validate_else): Expect a name arg without a leading #.
8169 (if_directive_name): Delete.
8170 (cpp_define, cpp_assert, cpp_undef, cpp_unassert): Call
8171 directive handlers with only one argument.
8173 * cpphash.h: Update prototypes.
8174 (enum node_type): Remove entries for directives.
8175 * Makefile.in: Update dependencies.
8177 * cpphash.c (dump_hash_helper): Only dump nodes of type
8178 T_MACRO. Emit a newline after each definition.
8180 2000-03-14 Martin v. Löwis <loewis@informatik.hu-berlin.de>
8182 * gccbug.in: New file.
8183 * configure.in (all_outputs): Add gccbug.
8184 * Makefile.in (install-common): Install gccbug.
8185 (GCCBUG_INSTALL_NAME): New variable.
8186 * configure: Rebuilt.
8188 2000-03-13 Jason Merrill <jason@casey.cygnus.com>
8190 * function.c (put_var_into_stack): Use type_for_mode to calculate
8191 part_type. Use MEM_SET_IN_STRUCT_P.
8192 * expr.c (store_field): Handle CONCAT.
8193 (store_constructor): Use fields_length.
8194 * tree.c (fields_length): New fn.
8195 * tree.h: Declare it.
8197 2000-03-13 Zack Weinberg <zack@wolery.cumb.org>
8199 * Makefile.in (LIBCPP_OBJS): Add cpplex.o.
8200 (cpplex.o): New target.
8201 * po/POTFILES.in: Add cpplex.c.
8203 * cpplex.c (_cpp_grow_token_buffer, null_cleanup,
8204 cpp_push_buffer, cpp_pop_buffer, cpp_scan_buffer,
8205 cpp_expand_to_buffer, cpp_buf_line_and_col, cpp_file_buffer,
8206 skip_block_comment, skip_line_comment, skip_comment,
8207 copy_comment, _cpp_skip_hspace, _cpp_skip_rest_of_line,
8208 _cpp_parse_name, skip_string, parse_string,
8209 _cpp_parse_assertion, cpp_get_token, cpp_get_non_space_token,
8210 _cpp_get_directive_token, find_position,
8211 _cpp_read_and_prescan, _cpp_init_input_buffer): Move here.
8212 (maybe_macroexpand, _cpp_lex_token): New functions.
8214 * cpplib.c (SKIP_WHITE_SPACE, eval_if_expr, parse_set_mark,
8215 parse_goto_mark): Delete.
8216 (_cpp_handle_eof): New function.
8217 (_cpp_handle_directive): Rename from handle_directive.
8218 (_cpp_output_line_command): Rename from output_line_command.
8219 (do_if, do_elif): Call _cpp_parse_expr directly.
8220 * cppfiles.c (_cpp_read_include_file): Don't call
8221 init_input_buffer here.
8222 * cpphash.c (quote_string): Move here, rename _cpp_quote_string.
8223 * cppexp.c (_cpp_parse_expr): Diddle parsing_if_directive
8224 here; pop the token_buffer and skip the rest of the line here.
8225 * cppinit.c (cpp_start_read): Call _cpp_init_input_buffer
8228 * cpphash.h (CPP_RESERVE, CPP_IS_MACRO_BUFFER, ACTIVE_MARK_P):
8230 (CPP_SET_BUF_MARK, CPP_GOTO_BUF_MARK, CPP_SET_MARK,
8231 CPP_GOTO_MARK): New macros.
8232 (_cpp_quote_string, _cpp_parse_name, _cpp_skip_rest_of_line,
8233 _cpp_skip_hspace, _cpp_parse_assertion, _cpp_lex_token,
8234 _cpp_read_and_prescan, _cpp_init_input_buffer,
8235 _cpp_grow_token_buffer, _cpp_get_directive_token,
8236 _cpp_handle_directive, _cpp_handle_eof,
8237 _cpp_output_line_command): Prototype them here.
8238 * cpplib.h (enum cpp_token): Add CPP_MACRO.
8239 (CPP_RESERVE, get_directive_token, cpp_grow_buffer,
8240 quote_string, output_line_command): Remove.
8242 2000-03-13 Bernd Schmidt <bernds@cygnus.co.uk>
8244 * stmt.c (expand_end_case): RANGE may be signed, and when checking
8245 whether it is too large we must also verify that it isn't negative.
8247 2000-03-13 Jakub Jelinek <jakub@redhat.com>
8249 * config/sparc/sparc.md: Remove all traces of TARGET_LIVE_G0.
8250 (movsi_zero_liveg0): Remove.
8251 (movsf_insn_novis_liveg0): Remove.
8253 (negsi2_not_liveg0): Rename to negsi2.
8254 (one_cmplsi2): Remove.
8255 (one_cmplsi2_not_liveg0): Rename to one_cmplsi2.
8256 (one_cmplsi2_liveg0): Remove.
8257 * config/sparc/sparc.h (TARGET_LIVE_G0, TARGET_BROKEN_SAVERESTORE,
8258 MASK_LIVE_G0, MASK_BROKEN_SAVERESTORE): Remove.
8259 (CONDITIONAL_REGISTER_USAGE): Remove TARGET_LIVE_G0 if.
8260 (PREDICATE_CODES): Remove zero_operand.
8261 * config/sparc/sparc.c: Remove all traces of TARGET_LIVE_G0 and
8262 TARGET_BROKEN_SAVERESTORE.
8263 (zero_operand): Remove.
8264 * config/sparc/splet.h (SUBTARGET_SWITCHES): Remove -mlive-g0,
8265 -mno-live-g0, -mbroken-saverestore and -mno-broken-saverestore
8267 (SUBTARGET_OVERRIDE_OPTIONS): Remove.
8268 * config/sparc/linux-aout.h (TARGET_LIVE_G0,
8269 TARGET_BROKEN_SAVERESTORE): Remove.
8270 * config/sparc/linux.h (TARGET_LIVE_G0, TARGET_BROKEN_SAVERESTORE):
8272 * config/sparc/linux64.h (TARGET_LIVE_G0, TARGET_BROKEN_SAVERESTORE):
8274 * config/sparc/sol2.h (TARGET_LIVE_G0, TARGET_BROKEN_SAVERESTORE):
8277 * config/sparc/sparc.md (return_df_no_fpu): New pattern.
8279 2000-03-13 Zack Weinberg <zack@wolery.cumb.org>
8281 * cpplib.c (do_pragma_implementation): Fix off-by-one error
8282 truncating a string. Don't assume tokens are nul terminated.
8283 Problem noted by Andreas Jaeger <aj@suse.de>
8285 2000-03-13 Jason Merrill <jason@casey.cygnus.com>
8287 * dwarf2out.c (add_name_and_src_coords_attributes): Only add
8288 DW_AT_MIPS_linkage_name for TREE_PUBLIC decls.
8289 (ASM_OUTPUT_DWARF_ADDR_CONST): Don't output trailing newline.
8291 2000-03-13 Richard Earnshaw <rearnsha@arm.com>
8293 * stor-layout.c (new_record_layout_info): Fix typo inside ifdef
8294 STRUCTURE_SIZE_BOUNDARY.
8296 2000-03-13 Mark Mitchell <mark@codesourcery.com>
8298 * tree.h (record_layout_info_s): New structure.
8299 (record_layout_info): New type.
8300 (new_record_layout_info): New function.
8301 (layout_field): Likewise.
8302 (finish_record_layout): Likewise.
8303 * stor-layout.c (layout_record): Remove.
8304 (new_record_layout_info): New function.
8305 (layout_field): New function, broken out from layout_record.
8306 (finalize_record_size): Likewise.
8307 (compute_record_mode): Likewise.
8308 (finalize_type_size): New function, broken out from layout_type.
8309 (finish_record_layout): Likewise.
8310 (layout_type): Use them.
8312 2000-03-12 Zack Weinberg <zack@wolery.cumb.org>
8314 * cpphash.c: Don't include version.h.
8315 (special_symbol) [case T_VERSION]: Look for the string in
8316 hp->value.cpval; don't use version_string.
8317 * cppinit.c (initialize_builtins): Set hp->value.cpval for
8318 __VERSION__ to version_string.
8319 * Makefile.in (cpphash.o): Update deps.
8321 2000-03-12 Zack Weinberg <zack@wolery.cumb.org>
8323 Convert cpplib to use libiberty/hashtab.c.
8325 * cpplib.h (struct cpp_reader): Make hashtab and
8326 all_include_files of type 'struct htab *'. Delete HASHSIZE
8327 and ALL_INCLUDE_HASHSIZE macros.
8329 * cpphash.h: Update prototypes.
8330 (struct hashnode): Remove next, prev, and bucket_hdr members.
8331 Make length a size_t. Add hash member.
8332 (struct ihash): Remove next member. Add hash member. Make
8333 name a flexible array member.
8335 * cppfiles.c: Include hashtab.h.
8336 (include_hash): Delete.
8337 (IHASHSIZE): New macro.
8338 (hash_IHASH, eq_IHASH, _cpp_init_include_hash): New functions.
8339 (cpp_included): Do the hash lookup here.
8340 (_cpp_find_include_file): Rewrite.
8341 (cpp_read_file): Put the "fake" hash entry into the hash
8342 table. Honor the control_macro, if it turns out we've seen
8343 the file before. Don't push the buffer here.
8344 (_cpp_read_include_file): Push the buffer here.
8345 (OMODES): New macro. Use it whenever we call open(2).
8347 * cpphash.c: Include hashtab.h.
8348 (hash_HASHNODE, eq_HASHNODE, del_HASHNODE, dump_hash_helper,
8349 _cpp_init_macro_hash, _cpp_dump_macro_hash, _cpp_make_hashnode,
8350 _cpp_lookup_slot): New functions.
8351 (HASHSIZE): new macro.
8352 (hashf, _cpp_install, _cpp_delete_macro): Delete.
8353 (_cpp_lookup): Use hashtab.h routines.
8355 * cppinit.c: Include hashtab.h.
8356 (cpp_reader_init): Call _cpp_init_macro_hash and
8357 _cpp_init_include_hash. Don't allocate hashtab directly.
8358 (cpp_cleanup): Just call htab_delete on pfile->hashtab and
8359 pfile->all_include_files.
8360 (initialize_builtins): Use _cpp_make_hashnode and
8361 htab_find_slot to add hash entries.
8362 (cpp_finish): Just call _cpp_dump_macro_hash.
8363 * cpplib.c: Include hashtab.h.
8364 (do_define): Use _cpp_lookup_slot and _cpp_make_hashnode to
8365 create hash entries.
8366 (do_pragma_poison, do_assert): Likewise.
8367 (do_include): Don't push the buffer here. Don't increment
8368 system_include_depth unless _cpp_read_include_file succeeds.
8369 (do_undef, do_unassert): Use _cpp_lookup_slot and htab_clear_slot
8371 (do_pragma_implementation): Use alloca to create copy.
8373 * Makefile.in: Update dependencies.
8375 2000-03-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
8377 * cppinit.c (cl_directive_handler): More K&R fixing.
8379 Sat Mar 11 23:54:26 2000 Jim Wilson <wilson@cygnus.com>
8381 * config/ia64/ia64.c (ia64_compute_frame_size): Align size to
8383 * config/ia64/ia64.h (REGISTER_MOVE_COST): Add missing parentheses.
8385 2000-03-11 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
8387 * cppinit.c (no_arg, no_ass, no_dir, no_fil, no_mac, no_pth):
8388 Change from char[] to macros.
8390 2000-03-12 Neil Booth <NeilB@earthling.net>
8392 * cppinit.c (cpp_start_read): Update indirect function
8395 Sat Mar 11 16:18:12 2000 Jim Wilson <wilson@cygnus.com>
8397 * config/ia64/ia64.h (ADDITIONAL_REGISTER_NAMES): Fix typo in loc79
8400 * config/ia64/ia64-protos.h, config/ia64/ia64.c, config/ia64/ia64.h,
8401 config/ia64/ia64.md, config/ia64/xm-ia64.h: Fix copyright messages.
8403 2000-03-11 Neil Booth <NeilB@earthling.net>
8405 * cppinit.c (struct pending option): Replace undef with a
8406 pointer to a directive handling routine.
8407 (struct cpp_pending): Replace separate assert_ and define_
8408 lists with one directive_ list.
8409 (new_pending_define): Rename new_pending_directive. Extra
8410 argument is the directive's handling routine.
8411 (handle_option): Update to use new_pending_directive.
8413 2000-03-11 Neil Booth <NeilB@earthling.net>
8415 * cppfiles.c (file_cleanup, _cpp_find_include_file,
8416 remap_filename, _cpp_read_include_file, actual_directory,
8417 hack_vms_include_specification): Replace bcopy(), index() etc
8418 calls. Add casts to some allocations. Make some variables
8419 pointers to const [unsigned] char.
8420 * cpphash.c (_cpp_install, macro_cleanup, collect_expansion,
8421 collect_formal_parameters): Similarly.
8422 * cppinit.c (struct pending_option, append_include_chain,
8423 cpp_options_init, cpp_reader_init, initialize_standard_includes,
8424 cpp_start_read, new_pending_define, handle_option): Similarly.
8425 * cpplib.c (cpp_define, copy_comment, do_define, do_include,
8426 do_undef, do_error, do_warning, do_pragma, do_pragma_once,
8427 do_pragma_implementation, detect_if_not_defined,
8428 do_ifdef, skip_if_group, cpp_get_token, parse_string,
8429 do_assert, do_unassert): Similarly.
8430 * cpplib.h (cpp_buffer, cpp_options): Update types. Update
8431 function prototypes.
8432 * mkdeps.c (deps_add_target, deps_add_dep): cast allocations.
8434 2000-03-10 Richard Henderson <rth@cygnus.com>
8436 * builtins.c (expand_builtin_strlen): Revert last change.
8437 Use emit_insn_before if we're at the beginning of a sequence.
8439 2000-03-10 Jason Merrill <jason@casey.cygnus.com>
8441 * builtins.c (expand_builtin_strlen): Make sure that we have something
8442 at the beginning of the sequence.
8444 * toplev.c (rest_of_compilation): Also set TREE_NOTHROW for
8447 * invoke.texi (C++ Dialect Options): Document -fno-enforce-eh-specs.
8449 2000-03-10 Richard Henderson <rth@cygnus.com>
8451 * except.c (can_throw): Use INTVAL on a CONST_INT.
8452 (reachable_handlers): Likewise.
8453 * flow.c (count_basic_blocks, find_basic_blocks_1): Likewise.
8455 2000-03-10 Andreas Jaeger <aj@suse.de>
8457 * config/mips/linux.h: Undefine MD_EXEC_PREFIX and
8458 MD_STARTFILE_PREFIX since those are not needed on linux.
8459 (ASM_FILE_START): New, from mips/gnu.h.
8461 2000-03-09 Richard Henderson <rth@cygnus.com>
8462 Alex Samuel <samuel@codesourcery.com> and others
8464 * Makefile.in (ssa.o): New rule.
8466 (STAGESTUFF): Add *.ssa and *.ussa.
8467 (mostlyclean): Delete *.ssa, *.ussa, */*.ssa, */*.ussa.
8468 * rtl.def (PHI): New RTL expression.
8469 * rtl.h (clear_log_links): New declaration.
8470 (convert_to_ssa): Likewise.
8471 (convert_from_ssa): Likewise.
8472 * flow.c (split_edge): If the entry node falls through to the
8473 split edge's source block, split the entry edge.
8474 (clear_log_links): New function.
8475 * toplev.c (ssa_dump): New variable.
8476 (flag_ssa): Likewise.
8477 (f_options): Add "ssa".
8478 (compile_file): Create SSA dump files.
8479 (rest_of_compilation): Go to and from SSA if enabled.
8480 (decide_d_option): Handle -de for SSA dump files.
8483 Thu Mar 9 20:01:38 2000 Jim Wilson <wilson@cygnus.com>
8485 * expr.c (expand_assignment): For a CALL_EXPR, special case PARM_DECL
8488 2000-03-09 Benjamin Kosnik <bkoz@cygnus.com>
8490 * config/alpha/linux.h (WCHAR_TYPE): Make consistent.
8492 Thu Mar 9 18:10:02 2000 Jeffrey A Law (law@cygnus.com)
8494 * config/pa/pa-hpux10.h (LIB_SPEC): Correct typo in !p case.
8495 (MD_STARTFILE_PREFIX_1): New macro.
8497 2000-03-09 Robert Lipe <robertl@sco.com>
8499 * config/ia64/ia64.c: Include system.h.
8501 2000-03-09 Jason Merrill <jason@casey.cygnus.com>
8503 * except.c (nothrow_function_p): If -fno-exceptions, just return.
8504 (init_eh_nesting_info): Likewise.
8506 * tree.h (struct tree_common): Rename raises_flag to nothrow_flag.
8507 (TREE_NOTHROW): Rename from TREE_RAISES.
8508 * toplev.c (rest_of_compilation): Set it.
8509 * print-tree.c (print_node): Adjust.
8510 * tree.c (stabilize_reference, build, build1): Don't set TREE_RAISES.
8511 (stabilize_reference_1, get_unwidened, get_narrower): Likewise.
8512 * calls.c (emit_call_1): Add 'nothrow' parm. Add
8513 REG_EH_REGION note as appropriate.
8514 (libfunc_nothrow): New fn.
8515 (emit_library_call, emit_library_call_value): Use it.
8516 (expand_call): Check TREE_NOTHROW.
8518 * varasm.c (make_decl_rtl): Skip initial '*' when setting
8519 DECL_ASSEMBLER_NAME.
8521 2000-03-09 Andreas Jaeger <aj@suse.de>
8523 * mips/linux.h (NO_IMPLICIT_EXTERN_C): Define.
8524 (TARGET_MEM_FUNCTIONS): Define.
8526 2000-03-09 Jason Merrill <jason@casey.cygnus.com>
8528 * i386.c (ix86_valid_type_attribute_p): Use compare_tree_int.
8530 * except.c (can_throw): See through a SEQUENCE.
8531 (nothrow_function_p): New fn.
8532 * except.h: Declare it.
8533 * function.c (current_function_nothrow): New var.
8534 (prepare_function_start): Initialize it.
8535 * output.h: Declare it.
8536 * toplev.c (rest_of_compilation): Set it.
8537 * dwarf2out.c (dwarf2out_begin_prologue): Use it.
8539 2000-03-09 Zack Weinberg <zack@wolery.cumb.org>
8541 * cpphash.c (collect_formal_parameters): strncmp returns 0 for
8542 match. (cpp_compare_defs): Count the nul separator when
8543 advancing over argument names.
8545 2000-03-09 Bernd Schmidt <bernds@cygnus.co.uk>
8547 * recog.c (preprocess_constraints): Matching constraints affect
8548 same alternative/different operand, not same operand/different
8551 * reload1.c (eliminate_regs_in_insn): Handle additions of eliminable
8552 register and a constant specially.
8554 2000-03-08 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
8556 * libgcc2.h: New file.
8557 * libgcc2.c: Move macros, typedefs and prototypes to libgcc2.h.
8559 Wed Mar 8 16:19:42 2000 Jim Wilson <wilson@cygnus.com>
8561 * configure.in (ia64*-*-elf*, ia64*-*-linux*): New.
8562 * configure: Regenerate.
8565 2000-03-08 Zack Weinberg <zack@wolery.cumb.org>
8567 * Makefile.in (LIBCPP_DEPS): New macro.
8568 (cpplib.o, cpphash.o, cpperror.o, cppexp.o, cppfiles.o): Use
8570 * cpperror.c: Include cpphash.h.
8571 * cppexp.c: Include cpphash.h. Remove MULTIBYTE_CHARS
8573 (lex): Don't use CPP_WARN_UNDEF.
8574 (_cpp_parse_expr): Return an int, the truth value.
8575 * cppfiles.c: Include cpphash.h.
8576 (_cpp_merge_include_chains): Move to cppinit.c and make static.
8577 * cppinit.c (include_defaults_array): Disentangle.
8578 (cpp_cleanup): Don't free the if stack here.
8579 (cpp_finish): Pop off all buffers, not just one.
8580 * cpplib.c (eval_if_expr): Return int.
8581 (do_xifdef): Rename do_ifdef.
8582 (handle_directive): Don't use CPP_PREPROCESSED.
8583 (cpp_get_token): Don't use CPP_C89.
8584 * fix-header.c: Don't use CPP_OPTIONS.
8586 * cpplib.h: Move U_CHAR, enum node_type, struct
8587 file_name_list, struct ihash, is_idchar, is_idstart,
8588 is_numchar, is_numstart, is_hspace, is_space, CPP_BUF_PEEK,
8589 CPP_BUF_GET, CPP_FORWARD, CPP_PUTS, CPP_PUTS_Q, CPP_PUTC,
8590 CPP_PUTC_Q, CPP_NUL_TERMINATE, CPP_NUL_TERMINATE_Q,
8591 CPP_BUMP_BUFFER_LINE, CPP_BUMP_LINE, CPP_PREV_BUFFER,
8592 CPP_PRINT_DEPS, CPP_TRADITIONAL, CPP_PEDANTIC, and prototypes
8593 of _cpp_simplify_pathname, _cpp_find_include_file,
8594 _cpp_read_include_file, and _cpp_parse_expr to cpphash.h.
8595 Move struct if_stack to cpplib.c. Move struct cpp_pending to
8597 Change all uses of U_CHAR to be unsigned char instead.
8598 Delete CPP_WARN_UNDEF, CPP_C89, and CPP_PREPROCESSED.
8600 2000-03-08 Jason Merrill <jason@casey.cygnus.com>
8602 * dwarf2out.c (dw_fde_struct): Add 'nothrow'.
8603 (dwarf2out_begin_prologue): Set it.
8604 (output_call_frame_info): Don't emit EH unwind info for leaves.
8606 * flow.c (count_basic_blocks, find_basic_blocks_1): A rethrow
8607 can occur outside of an EH region.
8608 * except.c: Correct comments about rethrow behavior.
8609 (rethrow_symbol_map): Do nothing if !flag_new_exceptions.
8611 2000-03-08 Andrew MacLeod <amacleod@cygnus.com>
8613 * flow.c (make_edges): Always call make_eh_edge for calls.
8615 2000-03-08 Zack Weinberg <zack@wolery.cumb.org>
8617 * cpplib.h (parse_underflow_t, CPP_NULL_BUFFER): Delete.
8618 (struct cpp_buffer): Remove fname and underflow fields.
8619 (struct cpp_reader): Remove get_token field.
8620 (struct include_hash): Rename to struct ihash. Add typedef to
8622 (struct if_stack): Remove fname field.
8623 (IF_STACK_FRAME): Rename to IF_STACK.
8625 * cpperror.c (print_containing_files): Trust that there are no
8626 macro buffers below the top file buffer.
8627 * cppfiles.c: Replace all references to 'struct include_hash'
8628 with 'IHASH'. Rename initialize_input_buffer to
8629 init_input_buffer. Don't set or reference cpp_buffer->fname,
8630 use buffer->ihash->name instead.
8631 * cpphash.c (special_symbol): Use cpp_file_buffer. Use NULL
8632 not CPP_NULL_BUFFER.
8633 * cppinit.c: Use NULL not CPP_NULL_BUFFER, IF_STACK not
8634 IF_STACK_FRAME, IHASH not struct include_hash.
8635 * cpplib.c: Rename eval_if_expression to eval_if_expr. Remove
8636 null_underflow. Use IF_STACK not IF_STACK_FRAME, IHASH not
8637 struct include_hash, NULL not CPP_NULL_BUFFER. Remove all
8638 references to cpp_buffer->fname (delete entirely, or use
8639 ->ihash->name instead) and IF_STACK->fname.
8640 (cpp_push_buffer): Don't set new->underflow.
8641 (do_include): Use cpp_file_buffer.
8643 * cpphash.c (collect_formal_parameters): Remove duplicate
8644 increment of argslen. Pedwarn in C99 mode if __VA_ARGS__ is
8645 used as a macro argument name. Don't append "..." to namebuf
8646 for varargs macros. After we're done scanning, go through
8647 namebuf and make it NUL separated, not comma separated.
8648 (_cpp_compare_defs): Remove register tag from variables.
8649 Expect defn->argnames to be NUL separated.
8650 (_cpp_dump_definition): Expect defn->argnames to be NUL
8651 separated and in forward order.
8652 * cpphash.h: Update documentation of argnames field.
8654 2000-03-08 Richard Henderson <rth@cygnus.com>
8656 * builtins.c (expand_builtin_strlen): Be prepared for strlensi
8657 to fail. Don't pre-expand the source operand.
8659 * i386.md (strlensi): Initialize eoschar and align before use.
8661 2000-03-08 Jason Merrill <jason@casey.cygnus.com>
8663 * expr.c (expand_expr, case ARRAY_REF): Still check for missing
8664 CONSTRUCTOR element.
8666 2000-03-08 Gavin Romig-Koch <gavin@cetus.cygnus.com>
8668 * mips.c (mips_expand_prologue): If the last
8669 named argument is the vararg marker "va_list", treat it as
8670 an unnamed argument.
8672 2000-03-08 Clinton Popetz <cpopetz@cygnus.com>
8674 * dbxout.c (dbxout_parms): When correcting for promoted
8675 big-endian parameters, use the mode of the DECL_RTL rather
8676 than UNITS_PER_WORD.
8678 2000-03-08 Nathan Sidwell <nathan@codesourcery.com>
8680 * c-common.h (make_fname_decl): Declare.
8681 * c-common.c (make_fname_decl): Define.
8682 (declare_hidden_char_array): Remove.
8683 (declare_function_name): Use make_fname_decl.
8684 * c-decl.c (c_make_fname_decl): New function.
8685 (init_decl_processing): Set make_fname_decl.
8687 Tue Mar 7 23:50:31 2000 Jeffrey A Law (law@cygnus.com)
8689 * cccp.c (handle_directive): Initialize backslash_newlines_p.
8691 2000-03-07 Philipp Thomas <pthomas@suse.de>
8693 * po/POTFILES.in: Remove cppalloc.c from file list.
8695 2000-03-07 Steve Chamberlain <sac@pobox.com>
8697 * pj.c (pj_expand_prologue): current_function->args_info is
8698 now current_function_args_info.
8700 * pj.h (STORE_FLAG_VALUE, USER_LABEL_PREFIX,
8701 LOCAL_LABEL_PREFIX, ASM_GENERATE_INTERNAL_LABEL,
8702 ASM_OUTPUT_INTERNAL_LABEL, ASM_OUTPUT_SKIP): Define.
8704 2000-03-08 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
8706 * config/c4x/c4x.h (PUT_SDB_TYPE): Define so that the type info is
8707 output as hexadecimal rather than the default octal.
8709 2000-03-07 Zack Weinberg <zack@wolery.cumb.org>
8711 * cpphash.c (special_symbol): Fix thinko in previous commit.
8713 2000-03-07 Neil Booth <NeilB@earthling.net>
8715 * cppexp.c (struct operation, left_shift, right_shift,
8716 cpp_parse_expr): Change some "char"s to "U_CHAR"s, and some
8717 "int"s to "unsigned int"s.
8718 * cpplib.c (detect_if_not_defined, do_assert, do_unassert):
8720 * cpplib.h: Update for above.
8721 * mkdeps.c (deps_init, deps_calc_target): Cast pointers
8722 returned from allocations.
8724 * cppinit.c (opt_comp, parse_options): New functions.
8725 (handle_option): Use parse_option to parse a single command
8726 line option, that possibly takes an argument.
8727 (cpp_handle_options): Sort the array of command line options on
8728 first invocation (non-ASCII hosts only).
8729 (print_help): Update.
8731 2000-03-07 Zack Weinberg <zack@wolery.cumb.org>
8733 * mkdeps.c (munge): Fix off-by-one bug and inconsistencies in
8734 backslash counting loops. Problem noted by Matt Kraai <kraai@ghs.com>.
8736 * cppfiles.c (_cpp_find_include_file): Make sure ih->name is
8738 * cppinit.c (cpp_cleanup): Free imp->nshort also.
8740 * cpperror.c (cpp_print_containing_files,
8741 cpp_print_file_and_line, v_cpp_message): Rename to
8742 print_containing_files, print_file_and_line, and v_message.
8743 * cppexp.c (cpp_parse_expr, cpp_parse_escape, cpp_lex): Rename
8744 to _cpp_parse_expr, parse_escape, and lex.
8745 (parse_charconst): Remove broken multibyte support.
8746 * cppfiles.c (include_hash): Make static.
8747 (cpp_included): New function.
8748 (merge_include_chains, find_include_file, finclude,
8749 simplify_pathname): Rename to _cpp_merge_include_chains,
8750 _cpp_find_include_file, _cpp_read_include_file, and
8751 _cpp_simplify_pathname.
8752 * cpphash.c (cpp_lookup, free_definition, delete_macro,
8753 cpp_install, create_definition, macroexpand, compare_defs,
8754 dump_definition): Rename to _cpp_lookup, _cpp_free_definition,
8755 _cpp_delete_macro, _cpp_install, _cpp_create_definition,
8756 _cpp_macroexpand, _cpp_compare_defs, and _cpp_dump_definition.
8757 * cppinit.c (cpp_handle_option): Rename to handle_option, make
8759 * cpplib.c: Remove extern prototype of cpp_parse_expr.
8761 * cpphash.h: Update prototypes.
8762 * cpplib.h: Likewise. Prototype _cpp_parse_expr here.
8764 2000-03-07 Andrew Haley <aph@cygnus.com>
8766 * config/mips/mips.h (PTRDIFF_TYPE): Revert broken change;
8767 PTRDIFF_TYPE should be based solely on Pmode.
8770 2000-03-07 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
8772 * rtl.h (rtunion_def): Constify member `rtstr'.
8773 (emit_line_note_after, emit_line_note, emit_line_note_force,
8774 emit_note, decode_asm_operands): Constify.
8776 * cse.c (canon_hash): Likewise.
8778 * dbxout.c (dbxout_block): Likewise.
8780 * diagnostic.c (file_and_line_for_asm, v_error_for_asm,
8781 v_warning_for_asm): Likewise.
8783 * dwarfout.c (function_start_label): Likewise.
8785 * emit-rtl.c (emit_line_note_after, emit_line_note, emit_note,
8786 emit_line_note_force): Likewise.
8788 * final.c (last_filename, asm_insn_count, final_scan_insn,
8789 output_source_line): Likewise.
8791 * function.h (struct emit_status): Likewise.
8793 * gcse.c (hash_expr_1): Likewise.
8795 * genattr.c (gen_attr, main): Likewise.
8797 * genattrtab.c (struct function_unit, current_alternative_string,
8798 write_attr_valueq, n_comma_elts, next_comma_elt, attr_eq,
8799 attr_numeral, check_attr_test, check_attr_value,
8800 convert_set_attr_alternative, convert_set_attr,
8801 compute_alternative_mask, simplify_by_exploding, gen_attr,
8802 gen_unit): Likewise.
8804 * genflags.c (gen_insn): Likewise.
8806 * gengenrtl.c (type_from_format): Likewise.
8808 * genopinit.c (gen_insn): Likewise.
8810 * genoutput.c (n_occurrences, process_template, process_template):
8813 * ggc-page.c (ggc_set_mark, ggc_mark_if_gcable, ggc_get_size):
8816 * ggc-simple.c (ggc_set_mark, ggc_mark_if_gcable, ggc_get_size):
8819 * ggc.h (ggc_mark_string, ggc_mark, ggc_mark_if_gcable,
8820 ggc_set_mark, ggc_get_size): Likewise.
8822 * objc/objc-act.c (build_module_descriptor, finish_objc): Likewise.
8824 * optabs.c (init_one_libfunc): Likewise.
8826 * output.h (assemble_start_function): Likewise.
8828 * recog.c (decode_asm_operands): Likewise.
8830 * toplev.c (rest_of_compilation): Likewise.
8832 * tree.h (emit_line_note_after, emit_line_note,
8833 emit_line_note_force): Likewise.
8835 * varasm.c (asm_output_bss, asm_output_aligned_bss,
8836 asm_emit_uninitialised, assemble_start_function,
8837 assemble_variable, const_hash, compare_constant_1,
8838 find_pool_constant, mark_constant_pool, assemble_alias): Likewise.
8840 * xcoffout.h (DBX_FINISH_SYMBOL): Likewise.
8842 * alpha/alpha.md (call_vms, call_value_vms): Likewise.
8844 * arm/aof.h (ASM_OUTPUT_ASCII): Likewise.
8846 * arm/aout.h (ASM_OUTPUT_ASCII): Likewise.
8848 * arm/arm-protos.h (output_ascii_pseudo_op, arm_dllexport_name_p,
8849 arm_dllimport_name_p): Likewise.
8851 * arm/arm.c (arm_encode_call_attribute, output_ascii_pseudo_op):
8854 * arm/arm.h (ASM_OUTPUT_MI_THUNK): Likewise.
8856 * arm/elf.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
8858 * arm/pe.c (arm_dllexport_name_p, arm_dllimport_name_p,
8859 arm_mark_dllexport, arm_mark_dllimport,
8860 arm_pe_encode_section_info): Likewise.
8862 * arm/telf.h (ASM_OUTPUT_DEF_FROM_DECLS,
8863 ASM_FINISH_DECLARE_OBJECT): Likewise.
8865 * arm/thumb.c (thumb_function_prologue): Likewise.
8867 * arm/thumb.h (ASM_OUTPUT_ASCII): Likewise.
8869 * avr/avr.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
8871 * clipper/clix.h (ASM_OUTPUT_ASCII): Likewise.
8873 * fx80/fx80.h (ASM_OUTPUT_ASCII): Likewise.
8875 * i386/cygwin.h (ASM_OUTPUT_SECTION_NAME): Likewise.
8877 * i386/freebsd.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
8879 * i386/i386-interix.h (ASM_OUTPUT_LIMITED_STRING,
8880 ASM_OUTPUT_ASCII, ASM_OUTPUT_SECTION_NAME): Likewise.
8882 * i386/i386-protos.h (asm_output_function_prefix): Likewise.
8884 * i386/i386.c (asm_output_function_prefix): Likewise.
8886 * i386/i386elf.h (ASM_OUTPUT_ASCII): Likewise.
8888 * i386/osfrose.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
8890 * i386/ptx4-i.h (ASM_OUTPUT_ASCII): Likewise.
8892 * i386/sco5.h (ASM_FINISH_DECLARE_OBJECT,
8893 ASM_OUTPUT_LIMITED_STRING, ASM_OUTPUT_ASCII,
8894 ASM_OUTPUT_SECTION_NAME): Likewise.
8896 * i386/sysv4.h (ASM_OUTPUT_ASCII): Likewise.
8898 * i860/paragon.h (ASM_OUTPUT_ASCII): Likewise.
8900 * i860/sysv3.h (ASM_OUTPUT_ASCII): Likewise.
8902 * m32r/m32r.c (m32r_encode_section_info): Likewise.
8904 * mcore-elf.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
8906 * mcore/mcore.c (mcore_encode_section_info): Likewise.
8908 * mips/elf.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
8910 * mips/elf64.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
8912 * mips/iris6.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
8914 * mips/mips.h (ASM_OUTPUT_IDENT): Likewise.
8916 * mips/mips.md (movdi, movsi): Likewise.
8918 * mips/netbsd.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
8920 * netbsd.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
8922 * openbsd.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
8924 * ptx4.h (ASM_FINISH_DECLARE_OBJECT, ASM_OUTPUT_LIMITED_STRING,
8925 ASM_OUTPUT_ASCII): Likewise.
8927 * rs6000/rs6000.c (rs6000_allocate_stack_space, output_epilog,
8928 output_mi_thunk, output_toc): Likewise.
8930 * rs6000/rs6000.md (movsi): Likewise.
8932 * rs6000/sysv4.h (ASM_OUTPUT_INT, ASM_OUTPUT_SECTION_NAME): Likewise.
8934 * tahoe/harris.h (ASM_OUTPUT_ASCII): Likewise.
8936 * v850/v850.c (print_operand, print_operand_address,
8937 v850_encode_data_area): Likewise.
8939 2000-03-07 Clinton Popetz <cpopetz@cygnus.com>
8941 * config/mips/mips.md (zero_extendsidi2): Always force operand
8942 one to memory for mips16.
8944 Mon Mar 6 15:22:29 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
8946 * tree.h (INT_CST_LT, INT_CST_LT_UNSIGNED): Remove unneeded casts.
8947 (struct tree_int_cst): int_cst_low is now unsigned HOST_WIDE_INT.
8948 (attribute_hash_list, type_hash_canon): hashcode is now unsigned.
8949 (type_hash_lookup, type_hash_add, type_hash_list): Likewise.
8950 (min_precision): Result is unsigned.
8951 (add_double, neg_double, mul_double): Low word is unsigned.
8952 (lshift_double, rshift_double, lrotate_double): Likewise.
8953 (rrotate_double, div_and_round_double): Likewise.
8954 (tree_floor_log2, compare_tree_int): New functions.
8955 (preserve_rtl_expr_temps): New declaration.
8956 * c-common.c (declare_hidden_char_array): Use compare_tree_int.
8957 (decl_attributes): Use tree_log2 to find alignment.
8958 Check for TREE_INT_CST_HIGH for format args.
8959 (min_precision): Now unsigned.
8960 Use tree_floor_log2.
8961 (truthvalue_conversion): Delete long-disabled code.
8962 * c-decl.c (finish_struct): Clean up tests on field width.
8963 (finish_function): Use compare_tree_int.
8964 * c-pragma.c (handle_pragma_token): Use tree_log2 for alignment.
8965 * c-typeck.c (comptypes): Use tree_int_cst_equal.
8966 (default_conversion, digest_init): Use compare_tree_int.
8967 (build_binary_op): Use integer_all_onesp and compare_tree_int.
8968 Fix type errors in forming masks.
8969 * calls.c (initialize_argument_information): Use compare_tree_int.
8970 * dbxout.c (dbxout_type): Cast TREE_INT_CST_LOW to HOST_WIDE_INT.
8971 * except.c (expand_eh_region_start_tree): Use compare_tree_int.
8972 * expr.c (is_zeros_p, case INTEGER_CST): Use integer_zerop.
8973 (store_field): Use compare_tree_int.
8974 (expand_expr, case CONSTRUCTOR): Use TYPE_SIZE_UNIT.
8975 (expand_expr, case ARRAY_REF): Use compare_tree_int.
8976 (do_jump, case BIT_AND_EXPR): Use tree_floor_log2.
8977 (do_store_flag): Use compare_tree_int.
8978 * fold-const.c (encode, decode): Low part is always unsigned.
8979 (force_fit_type, add_double, neg_double, mul_double): Likewise.
8980 (lshift_double, rshift_double, lrotate_double): Likewise.
8981 (rrotate_double, div_and_round_double, int_const_binop): Likewise.
8982 (fold_convert): Use compare_tree_int.
8983 (operand_equal_p, case INTEGER_CST): Use tree_int_cst_equal.
8984 (invert_truthvalue, case INTEGER_CST): Likewise.
8985 (fold): Use compare_tree_int; add casts for unsigned TREE_INT_CST_LOW.
8986 * mkdeps.c (deps_dummy_targets): Make I unsigned.
8987 * rtl.h (add_double, neg_double, mul_double): Low words are unsigned.
8988 (lshift_double, rshift_double, lrotate_double, rrotate_double):
8990 * stmt.c (expand_decl): Use compare_tree_int and mode_for_size_tree.
8991 (expand_end_case): Use compare_tree_int.
8992 (estimate_case_costs): Cast TREE_INT_CST_LOW to HOST_WIDE_INT.
8993 * stor-layout.c (mode_for_size_tree): Use compare_tree_int.
8994 (layout_decl): Likewise.
8995 (layout_record, layout_union): Make sizes unsigned.
8996 (layout_type, case VOID_TYPE): TYPE_SIZE must be bitsizetype.
8997 (layout_type, case QUAL_UNION_TYPE): Use compare_tree_int.
8998 * tree.c (struct type_hash): hashcode is unsigned.
8999 (build_type_attribute_variant, type_hash_list): Likewise.
9000 (type_hash_lookup, type_hash_add, type_hash_canon): Likewise.
9001 (attribute_hash_list, build_array_type, build_method_type): Likewise.
9002 (build_complex_type): Likewise.
9003 (real_value_from_int_cst): Remove unneeded casts.
9004 (integer_all_onesp): Add casts.
9005 (tree_floor_log2, compare_tree_int): New functions.
9006 (build_index_type): Use tree_int_cst_sgn.
9007 * varasm.c (assemble_variable): Use compare_tree_int.
9009 2000-03-06 Jason Merrill <jason@casey.cygnus.com>
9011 * cpphash.c (collect_expansion): Also catch ## at start of macro.
9013 * varasm.c (make_decl_rtl): Don't add a number to members of
9015 (make_function_rtl): Likewise.
9017 2000-03-06 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
9019 * gcse.c (compute_can_copy): Adjust if/else blocks from rth's
9020 patch from 2000-01-28.
9022 2000-03-06 Clinton Popetz <cpopetz@cygnus.com>
9024 * config/sh/sh.c: (barrier_align): Handle a delay slot that is
9025 filled with an insn from the jump target.
9027 2000-03-07 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
9029 * config/c4x/c4x-protos.h (c4x_global_name): Constify char *.
9030 (c4x_external_ref): Likewise.
9031 * config/c4x/c4x.c (struct name_list): Likewise.
9033 1999-12-16 Ben Collins <bcollins@debian.org>
9035 * Makefile.in: Pass a new MULTILIB_EXCLUSIONS option as the sixth
9036 argument to genmultilib.
9037 * genmultilib: accept new MULTILIB_EXCLUSIONS option and output
9038 the contents into the multilib.h header.
9039 * gcc.c: Declare multilib_exclusions for the specs file.
9040 (set_multilib_dir): Use it.
9041 (print_multilib_info): Likewise.
9042 * t-linux64: Declare arguments for new MULTILIB_EXCLUSIONS option
9043 to pass to genmultilib.
9045 2000-03-06 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
9047 * builtins.c (built_in_class_names, built_in_names): Constify a
9050 * gmon-sol2.c (monstartup, moncontrol): Cast ptrs to long, not
9052 (_mcleanup): Ensure value matches format specifier in sprintf.
9054 * cpphash.c (special_symbol): Don't needlessly cast away
9057 * cppinit.c (base_name): Delete unused prototype.
9059 * mkdeps.c (deps_init): Make definition K&R safe.
9061 * tree.h (built_in_class_names, built_in_names): Constify a
9064 2000-03-06 Jakub Jelinek <jakub@redhat.com>
9066 * config/sparc/sparc.c (eligible_for_epilogue_delay): Accept
9067 floating point instructions for epilogue delay.
9069 * config/sparc/sparc.h (ASM_ARCH64_SPEC): Pass -no-undeclared-regs
9070 to gas if it supports .register pseudo.
9072 * real.h (MAX_LONG_DOUBLE_TYPE_SIZE): Define to
9073 LONG_DOUBLE_TYPE_SIZE if not defined.
9074 Use MAX_LONG_DOUBLE_TYPE_SIZE instead of
9075 LONG_DOUBLE_TYPE_SIZE in preprocessor if clauses.
9077 * gengenrtl.c: Likewise.
9078 * print-rtl.c: Likewise.
9080 * config/sparc/sol2-sld-64.h (TARGET_DEFAULT): Set
9081 MASK_LONG_DOUBLE_128.
9082 * config/sparc/sol2.h (TARGET_DEFAULT): Likewise.
9083 * config/sparc/sp64-elf.h (TARGET_DEFAULT): Likewise.
9084 * config/sparc/linux64 (TARGET_DEFAULT): Likewise.
9085 (SUBTARGET_SWITCHES): Define.
9086 (CPP_ARCH32_SPEC): Define __LONG_DOUBLE_128__ if compiling
9087 with -mlong-double-128.
9088 (LONG_DOUBLE_TYPE_SIZE): Define depending on target_flags.
9089 (MAX_LONG_DOUBLE_TYPE_SIZE): Define.
9090 (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Define depending on CPP macros.
9091 (CC1_SPEC): Include -mlong-double-{64,128} as needed.
9092 * config/sparc/linux.h (SUBTARGET_SWITCHES): Define.
9093 (CPP_SUBTARGET_SPEC): Define __LONG_DOUBLE_128__ if compiling
9094 with -mlong-double-128.
9095 (LONG_DOUBLE_TYPE_SIZE): Define depending on target_flags.
9096 (MAX_LONG_DOUBLE_TYPE_SIZE): Define.
9097 (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Define depending on CPP macros.
9098 * config/sparc/sparc.h (MASK_LONG_DOUBLE_128,
9099 TARGET_LONG_DOUBLE_128): Define.
9100 * config/sparc/linux-aout.h (LONG_DOUBLE_TYPE_SIZE): Remove.
9101 * config/sparc/sparc.c (sparc_override_options): Disallow 64bit
9102 long double on TARGET_ARCH64.
9104 2000-03-06 Mark Mitchell <mark@codesourcery.com>
9106 * function.c (free_temps_for_rtl_expr): Don't free slots
9107 that have been pushed into a higher level.
9110 2000-03-05 Mark Mitchell <mark@codesourcery.com>
9112 2000-03-05 Mark Mitchell <mark@codesourcery.com>
9114 * basic-block.h (ALLOCA_REG_SET): Remove.
9115 (INITIALIZE_REG_SET): New macro.
9116 * flow.c (update_life_info): Use it.
9117 (calculate_global_regs_live): Likewise.
9118 (propagate_block): Likewise.
9119 * global.c (build_insn_chain): Likewise.
9120 * haifa-sched.c (schedule_region): Likewise.
9122 2000-03-05 Stephane Carrez <stcarrez@worldnet.fr>
9124 * dwarf2out.c (UNALIGNED_WORD_ASM_OP): Support 2 bytes pointer.
9125 (ASM_OUTPUT_DWARF_ADDR_CONST): Use UNALIGNED_WORD_ASM_OP.
9126 (DWARF_ARANGES_PAD_SIZE): New define.
9127 (output_aranges): Use it to pad the address range header.
9128 (DWARF_ROUND): Fix for non power of 2 rounding.
9130 2000-03-05 Jason Merrill <jason@casey.cygnus.com>
9132 * mkdeps.c (deps_calc_target): Remove incorrect 'const'.
9134 2000-03-05 Mark Mitchell <mark@codesourcery.com>
9136 * tree.def (RTL_EXPR): Update documentation.
9137 * tree.h (RTL_EXPR_HAS_NO_SCOPE): New macro.
9138 * expr.c (expand_expr): Handle RTL_EXPR_HAS_NO_SCOPE.
9139 * function.c (preserve_rtl_expr_temp): New function.
9140 (preserve_rtl_expr_temps): Likewise.
9141 (preserve_rtl_expr_result): Use it.
9144 2000-03-04 Mark Mitchell <mark@codesourcery.com>
9146 2000-03-04 Thomas Schuster <Thomas.Schuster@gmx.net>
9148 * regmove.c (copy_src_to_dest) Do not create src->dest move
9149 for unchanging destination.
9151 2000-03-04 Mark Mitchell <mark@codesourcery.com>
9153 * function.h (struct sequence_stack): Remove rtl_expr.
9154 (struct emit_staus): Likewise.
9155 (seq_rtl_expr): Remove.
9156 * tree.h (free_temps_for_rtl_expr): Don't declare.
9157 (start_sequence_for_rtl_expr): Likewise.
9158 * rtl.h (preserve_rtl_expr_result): Likewise.
9159 * emit-rtl.c (start_sequence): Don't set sequence_rtl_expr.
9160 (start_sequence_for_rtl_expr): Remove.
9161 (push_topmost_sequence): Don't save sequence_rtl_expr.
9162 (pop_topmost_sequence): Remove comment about not restoring it.
9163 (end_sequence): Don't set seq_rtl_expr.
9164 (init_emit): Don't initialize it.
9165 (mark_sequence_stack): Don't mark it.
9166 (mark_emit_status): Likewise.
9167 * except.c (protect_with_terminate): Use
9168 start_sequence_for_rtl_expr, not start_sequence.
9169 * expr.c (expand_expr, case RTL_EXPR): Don't call
9170 preserve_rtl_expr_result or free_temps_for_rtl_expr.
9171 * function.c (assign_stack_temp_for_type): Don't set rtl_expr.
9172 (preserve_rtl_expr_result): Remove.
9173 (free_temps_for_rtl_expr): Likewise.
9174 (pop_temp_slots): Likewise.
9175 (mark_temp_slot): Don't mark the rtl_expr.
9176 * stmt.c (expand_start_stmt_expr): Use start_sequence, not
9177 start_sequence_for_rtl_expr.
9179 2000-03-04 Zack Weinberg <zack@wolery.cumb.org>
9181 * mkdeps.c, mkdeps.h: New files.
9182 * po/POTFILES.in: Add them.
9183 * Makefile.in (LIBCPP_OBJS): Add mkdeps.o.
9184 (cpplib.o, cppinit.o): Depend on mkdeps.h.
9185 (mkdeps.o): New target.
9187 * cppfiles.c: Delete deps_output.
9188 * cppinit.c: Include mkdeps.h. Delete known_suffixes,
9189 OBJECT_SUFFIX, and base_name.
9190 (cpp_cleanup): Use deps_free. Free ihash->name when clearing
9192 (initialize_dependency_output): Use deps_init,
9193 deps_add_target, deps_calc_target, and deps_add_dep. Remove
9194 all the unnecessary string bashing.
9195 (cpp_finish): Use deps_write. Remove an unnecessary nesting
9197 * cpplib.c (do_include): Use deps_add_dep.
9198 * cpplib.h (struct cpp_reader): Replace deps_buffer,
9199 deps_allocated_size, deps_size, deps_column members with
9200 single pointer to a struct deps. Delete prototype of
9203 * cppinit.c: Fix thinko in previous patch.
9205 Sat Mar 4 11:32:30 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
9207 * machmode.h (mode_for_size, smallest_mode_for_size): SIZE now signed.
9208 * stor-layout.c (mode_for_size, smallest_mode_for_size): Likewise.
9209 (mode_for_size_tree): New function.
9210 (layout_decl, layout_type): Call it and clean up BLKmode checks.
9211 * tree.h (mode_for_size_tree): New declaration.
9213 * toplev.c (debug_ignore_block): Mark arg BLOCK as possibly unused.
9215 2000-03-04 Jason Merrill <jason@casey.cygnus.com>
9217 * stmt.c (is_body_block): Move...
9218 * dwarfout.c, dwarf2out.c: ...from here.
9219 * tree.h: Declare it.
9220 * emit-rtl.c (remove_unncessary_notes): Don't remove the body block.
9221 * final.c (final_start_function): Do call remove_unnecessary_notes
9224 2000-03-03 Zack Weinberg <zack@wolery.cumb.org>
9226 * config/vax/xm-vms.h: Define OBJECT_SUFFIX and EXECUTABLE_SUFFIX.
9228 * cpplib.h (_dollar_ok): New macro.
9229 (is_idchar, is_idstart): Use it.
9230 (IStable): Rename to _cpp_IStable. Declare it const if
9231 gcc >=2.7 or C99. Delete all references to FAKE_CONST.
9232 (is_idchar, is_idstart, is_numchar, is_numstart, is_hspace,
9233 is_space): Update for renamed IStable.
9235 * cppinit.c: Delete all references to FAKE_CONST and CAT
9236 macros. Define init_IStable as empty macro if gcc >=2.7 or
9237 C99. Change TABLE() to ISTABLE and hardcode name of table.
9238 (cpp_start_read): Don't change the IStable based on
9241 * cpphash.c (unsafe_chars): Add pfile argument. All callers
9242 changed. Handle '$' for char1 correctly.
9243 * cpplib.c (cpp_get_token): Use is_numchar when parsing numbers.
9245 * cppexp.c (tokentab2): Make const.
9246 (cpp_lex): Make toktab const.
9247 * cppinit.c (include_defaults_array): Make const.
9248 (initialize_standard_includes): Make default_include const.
9250 2000-03-03 Jason Merrill <jason@casey.cygnus.com>
9252 * dwarf2out.c (dwarf2out_frame_debug): Add cast to silence warning.
9253 (dwarf2out_decl): Functions can now have DECL_IGNORED_P.
9254 (gen_decl_die): Likewise.
9255 * dwarfout.c (dwarfout_file_scope_decl): Likewise.
9256 (output_decl): Likewise.
9258 * varasm.c (make_function_rtl): If we change the name used in the
9259 rtl, update DECL_ASSEMBLER_NAME accordingly.
9260 (make_decl_rtl): Likewise.
9262 * toplev.c (rest_of_compilation): Tweak formatting.
9264 * toplev.c (rest_of_compilation): find_loop_tree_blocks before
9265 remove_unnecessary_notes.
9266 (debug_ignore_block): New fn.
9267 * toplev.h: Declare it.
9268 * emit-rtl.c (remove_unncessary_notes): Call it.
9269 * dwarf2out.c (dwarf2out_ignore_block): New fn.
9270 * dwarf2out.h: Declare it.
9271 * final.c (final_start_function): Don't call remove_unnecessary_notes
9272 if we did insn scheduling.
9274 2000-03-03 Zack Weinberg <zack@wolery.cumb.org>
9276 * cppinit.c (cpp_handle_option): Set opts->pedantic directly.
9277 * cpplib.h: Delete SET_CPP_PEDANTIC.
9279 Fri Mar 3 14:56:12 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
9281 * expr.c (expand_expr, case COMPONENT_REF): Use bitfield case if
9282 result is a RECORD_TYPE.
9284 2000-03-03 Jonathan Larmour <jlarmour@cygnus.co.uk>
9286 * mips/elf.h (CTOR_LISTS_DEFINED_EXTERNALLY): Added.
9288 2000-03-03 Richard Henderson <rth@cygnus.com>
9290 * alpha.c (alpha_emit_set_const_1): Re-order cases to prefer
9291 addition over compliments over shifts.
9293 Fri Mar 3 12:49:28 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
9295 * reload1.c (reload_combine_note_use): Handle return register USEs.
9296 REG case: Handle multi-hard-register hard regs.
9298 Fri Mar 3 07:38:34 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
9300 * md.texi: Document use of '*' in insn pattern name.
9302 2000-03-03 Jason Merrill <jason@casey.cygnus.com>
9304 * calls.c (special_function_p): operator new may not be malloc-like.
9306 * gcse.c (dump_hash_table): Really fix error in last change.
9308 2000-03-02 Denis Chertykov <denisc@overta.ru>
9310 * avr.c (print_operand): Use print_operand_address instead of
9312 * avr/libgcc.S: Cleanup code.
9314 2000-03-02 Richard Henderson <rth@cygnus.com>
9316 * alpha.c (alpha_emit_set_const_1): Also try c + small constant.
9318 2000-03-02 Mark Mitchell <mark@codesourcery.com>
9320 * tree.h (TYPE_ALIGN_UNIT): New macro.
9322 2000-03-02 Clinton Popetz <cpopetz@cygnus.com>
9324 * i386.c: (constant_call_address_operand): Reject CONST_INT.
9326 2000-03-02 Jason Merrill <jason@casey.cygnus.com>
9328 * cpplib.h (CPP_PEDANTIC): Only true if system_header_p is not set
9330 (SET_CPP_PEDANTIC): New macro.
9331 * cpplib.c (do_include): Don't bother checking system_header_p.
9332 (do_warning, do_ident, do_assert, do_unassert): Likewise.
9333 * cppinit.c (cpp_handle_option): Use SET_CPP_PEDANTIC.
9335 * function.h (struct expr_status): Add x_arg_space_so_far.
9336 (arg_space_so_far): New macro.
9337 * expr.c (init_expr): Initialize it.
9338 * calls.c (emit_call_1): Reset it.
9339 (compute_argument_block_size, expand_call): Use it.
9340 (expand_call, store_one_arg): Increment it.
9342 Thu Mar 2 17:27:13 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
9344 * varasm.c (output_constant): Strip off a CONVERT_EXPR to
9347 2000-03-02 Zack Weinberg <zack@wolery.cumb.org>
9349 * cppfiles.c (cpp_read_file): New function.
9351 * cpphash.c (collect_expansion): Make sure to reset last_token
9352 to NORM when we hit a string. Handle trailing whitespace
9353 properly when the expansion is empty.
9354 (create_definition): Disable line commands while parsing the
9356 (dump_definition): If pfile->lineno == 0, output a line
9357 command ahead of the dump, and add a trailing newline.
9359 * cppinit.c (append_include_chain): Add fifth argument, which
9360 indicates whether or not system headers are C++ aware.
9361 (initialize_standard_includes): New function,
9362 broken out of read_and_prescan. Pass 'cxx_aware' value from
9363 the include_defaults_array on to append_include_chain.
9364 (dump_special_to_buffer): Const-ify char array.
9365 (builtin_array): Don't dump __BASE_FILE__.
9366 (cpp_start_read): Use cpp_read_file. Reorder code for
9367 clarity. Don't output line commands here for -D/-A/-U
9368 switches. Don't call deps_output for files included with
9369 -include or -imacros.
9371 * cpplib.c (do_define): Don't pay any attention to the second
9373 (cpp_expand_to_buffer): Disable line commands while scanning.
9374 (output_line_command): Work in the file buffer.
9375 * cpplib.h: Remove no_record_file flag from struct cpp_reader.
9376 Fix formatting of comments. Prototype cpp_read_file.
9378 Thu Mar 2 13:29:46 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
9380 * c-common.c (c_common_nodes_and_builtins): Make sizetype_endlink
9381 reference the language-equivalent of sizetype.
9382 * c-typeck.c (comptypes): Treat sizetype like its language equivalent.
9383 * fold-const.c (size_binop, size_diffop): Put back checks.
9384 * gcse.c (dump_hash_table): Fix minor error in last change.
9385 * stor-layout.c (set_sizetype): Set TYPE_DOMAIN of sizetype.
9386 Clear TYPE_{NEXT,MAIN}_VARIANT and TYPE_{POINTER,REFERENCE}_to of
9389 Thu Mar 2 12:48:45 MET 2000 Jan Hubicka <jh@suse.cz>
9391 * calls.c (expand_call) Do not attempt to combine stack adjustments
9392 with inhibit_defer_pop set.
9394 2000-03-01 Mark Mitchell <mark@codesourcery.com>
9396 * stor-layout.c (layout_decl): Allow front-ends to explicitly set
9397 the DECL_SIZE for a FIELD_DECL.
9399 2000-03-01 Bruce Korb <bkorb@gnu.org>
9401 * fixinc/inclhack.tpl: remove unused symlinks
9402 * fixinc/README: GCC Maintainer info
9403 * fixinc/inclhack.sh: regen
9404 * fixinc/fixincl.sh: regen
9406 2000-03-01 Zack Weinberg <zack@wolery.cumb.org>
9408 * cpphash.c (collect_expansion): Trim trailing white space
9409 from macro definitions, but don't go past the last insertion
9412 Wed Mar 1 12:14:31 MET 2000 Jan Hubicka <jh@suse.cz>
9414 * i386.md (mulqi3): New pattern.
9416 2000-02-29 Zack Weinberg <zack@wolery.cumb.org>
9418 * cpplib.h (CPP_ASSERTION, CPP_STRINGIZE, CPP_TOKPASTE): New
9420 (struct cpp_reader): Add parsing_if_directive and
9421 parsing_define_directive flags.
9422 (struct cpp_options): Remove output_conditionals flag.
9423 (check_macro_name): Delete prototype.
9425 * cpphash.h (struct macrodef): Delete.
9426 (struct reflist): Separate from struct definition.
9427 (struct definition): Remove unused fields. Add column number.
9428 (create_definition): Returns a DEFINITION *. Takes a
9429 cpp_reader * and an int.
9431 * cpphash.c (SKIP_WHITE_SPACE): Delete.
9432 (PEEKC): Copy defn from cpplib.c.
9433 (rest_extension, REST_EXTENSION_LENGTH): Delete.
9435 (struct arglist): Simplify.
9436 (collect_expansion): Rewrite. Get tokens by calling
9437 cpp_get_token. Add more error checking.
9438 (collect_formal_parameters): New function, broken out of
9439 create_definition and reworked to use get_directive_token.
9440 (create_definition): All real work is now in collect_expansion
9441 and collect_formal_parameters. do_define handles finding the
9442 macro name. Return a DEFINITION, not a MACRODEF.
9443 (macroexpand): Replace bcopy with memcpy throughout. Replace
9444 character-at-a-time copy loop with memcpy and pointer increments.
9445 (compare-defs): d1->argnames / d2->argnames might be null.
9447 * cpplib.c (copy_rest_of_line): Delete function.
9448 (skip_rest_of_line): Do all the work ourselves.
9449 (skip_string): New function.
9450 (parse_string): Use skip_string.
9451 (get_macro_name): New function.
9452 (check_macro_name): Delete.
9453 (copy_comment): Use CPP_RESERVE and CPP_PUTC_Q.
9454 (cpp_skip_hspace): Use CPP_BUMP_LINE.
9455 (handle_directive): ICE if we're called on a macro buffer.
9456 (do_define): Determine macro name and type (funlike/objlike)
9457 here. Expunge all uses of MACRODEF.
9458 (cpp_push_buffer): Set line_base to NULL.
9459 (do_undef, read_line_number): Don't worry about getting a POP token.
9460 (eval_if_expression): Set/reset parsing_if_directive around
9461 cpp_parse_expr. Don't clear only_seen_white.
9462 (skip_if_group): Remove output_conditionals logic. Use
9464 (cpp_get_token): Return ASSERTION, STRINGIZE, and TOKPASTE
9465 tokens under appropriate conditions.
9466 (cpp_unassert): Call do_unassert not do_assert. Oops.
9468 * cppexp.c (parse_defined): New function, break out of
9470 (cpp_lex): We now get CPP_ASSERTION tokens and can check them
9471 ourselves, with cpp_defined.
9472 * cppinit.c (cpp_handle_option, print_help): Delete -ifoutput.
9474 * gcc.dg/20000209-2.c: Turn off -pedantic-errors.
9475 * gcc.dg/strpaste-2.c: New.
9477 2000-02-29 Mark Mitchell <mark@codesourcery.com>
9479 * fold-const.c (size_binop): Don't asert inputs are the same and
9480 have TYPE_IS_SIZETYPE set.
9481 (size_diffop): Likewise.
9483 2000-02-29 Jason Merrill <jason@casey.cygnus.com>
9485 * dwarfout.c (output_block): Output abstract blocks even if they
9486 don't have TREE_ASM_WRITTEN set.
9488 * calls.c (emit_library_call): Check for null REG.
9490 2000-03-01 Martin von Loewis <loewis@informatik.hu-berlin.de>
9492 * c-decl.c (current_function_decl): Move to toplev.c.
9493 (init_decl_processing): Don't add current_function_decl as a ggc
9495 * dbxout.c (dbxout_symbol): Change return type to int.
9496 (dbxout_symbol_location, dbxout_syms): Likewise.
9497 (dbxout_block): Don't emit LBRAC/RBRAC pairs for blocks without
9498 any locals. Use current_function_func_begin_label if set.
9499 * dbxout.h (dbxout_symbol, dbxout_syms): Change return type.
9500 * dwarf2out.c (dwarf2out_begin_prologue): Set
9501 current_function_func_begin_label.
9502 * final.c (final_start_function): Reset it.
9503 * toplev.c (current_function_decl): Define it here.
9504 (current_function_func_begin_label): New variable.
9505 (main): Add both as ggc roots.
9506 * tree.h (current_function_func_begin_label): Declare.
9508 Tue Feb 29 14:07:04 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
9510 * gcse.c: Cleanups throughout: mostly white-space, but also
9511 some minor rearrangement of code.
9513 Tue Feb 29 10:45:59 2000 Jeffrey A Law (law@cygnus.com)
9515 * calls.c (emit_library_call): Do not abort if FUNCTION_ARG
9516 returns a PARALLEL. Use emit_group_load and use_group_regs
9518 (emit_library_call_value): Similarly.
9520 * pa/t-pa: Use quadlib.c instead of quadlib.asm.
9521 * pa/quadlib.asm: Remove.
9522 * pa/quadlib.c: New file.
9524 * configure.in (hpux10, hpux11, PA32 mode): Use i128 float format.
9525 * configure: Rebuilt.
9527 2000-02-29 Philip Blundell <pb@futuretv.com>
9529 * config/arm/conix-elf.h: New file.
9530 * configure.in (arm*-*-conix*): New configuration.
9531 * configure: Regenerate.
9533 2000-02-28 Jason Merrill <jason@casey.cygnus.com>
9535 * dwarf2out.c (gen_block_die): Output abstract blocks even if they
9536 don't have TREE_ASM_WRITTEN set.
9538 Mon Feb 28 21:07:59 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
9540 * Eliminate DECL_FIELD_SIZE.
9541 * builtins.c (built_in_class_names, built_in_names): New variables.
9542 * c-decl.c (finish_struct): Set specified size in DECL_SIZE.
9543 * expr.c (expand_expr, case COMPONENT_REF): Get field size from
9544 DECL_SIZE, not DECL_FIELD_SIZE.
9545 * print-tree.c (print_node): Remove code that prints extra blank
9546 lines in some cases.
9547 Properly handle inline and builtin function cases.
9548 * stor-layout.c (layout_decl): Get specified size from DEC_SIZE.
9549 * tree.h (built_in_class_named, built_in_names): New declarations.
9550 (union tree_decl): Rename internal unions to u1 and u2 and change
9551 some of their components.
9552 Add new field built_in_class.
9553 (DECL_ALIGN, DECL_INCOMING_RTL, DECL_SAVED_INSNS, DECL_FRAME_SIZE):
9554 Reflect above changes.
9555 (DECL_FUNCTION_CODE, DECL_BUILT_IN_CLASS): Likewise.
9556 (DECL_SET_FUNCTION_CODE, DECL_FIELD_SIZE): Deleted.
9557 * objc/objc-act.c (objc_copy_list): Use DECL_SIZE, not DECL_FIELD_SIZE.
9558 (encode_field_decl): Likewise; also remove obsolete test for bitfield.
9560 2000-02-28 Dmitri Makarov <dim@windriver.com>
9562 * extend.texi: Document ARM's support for long/short calls.
9564 * invoke.texi: Document ARM's -mlong-calls command line switch.
9566 * config/arm/arm-protos.h (arm_is_longcall_p): Add prototype.
9567 (arm_encode_call_attribute): Add prototype.
9568 (arm_set_default_type_attribute): Add prototype.
9569 (arm_strip_name_encoding): Add prototype.
9571 * config/arm/arm.c (arm_init_cumulative_args): replace
9572 initialisation og 'long_calls' field with initialisation of
9573 'call_cookie' field.
9574 (enum arm_pragma_enum): New enum.
9575 (arm_pragma_long_calls): New static variable.
9576 (arm_process_pragma): Also process "#pragma long_calls_off".
9577 (arm_valid_type_attribute_p): Accept short_call attribute.
9578 (arm_comp_type_attributes): Check long/short call attributes.
9579 (arm_encode_call_attribute): New function: Encode long_call
9580 or short_call attribute in function name.
9581 (arm_set_default_type_attributes): New function: Assign
9582 default attributes to newly defined type.
9583 (current_file_function_operand): New function: Return true if
9584 the symbol is a function which has already been compiled.
9585 (arm_is_longcall_p): New function: Return true if the
9586 indicated function should be called via a long call.
9587 (arm_get_strip_length): New function. Returns number of
9588 prefix characters to be stripped from a function's name.
9589 (arm_strip_name_encoding): New function. Strip prefix characters
9590 from a function's name.
9592 * config/arm/arm.h (CUMULATIVE_ARGS): Replace 'long_call' field
9594 (SHORT_CALL_FAG_CHAR): Define.
9595 (LONG_CALL_FAG_CHAR): Define.
9596 (ENCODED_SHORT_CALL_ATTR_P): Define.
9597 (ENCODED_LONG_CALL_ATTR_P): Define.
9598 (ARM_NAME_ENCODING_LENGTHS): Define.
9599 (STRIP_NAME_ENCODING): Define.
9600 (ASM_OUTPUT_LABELREF): Define, and use to strip name encoding.
9601 (ARM_ENCODE_CALL_TYPE): Define.
9602 (ENCODE_SECTION): Invoke ARM_ENCODE_CALL_TYPE.
9603 (ARM_DECLARE_FUNCTION_SIZE): Define.
9604 (SET_DEFAULT_TYPE_ATTRIBUTES): Define.
9606 * config/arm/arm.md (call): Call arm_is_longcall_p to decide
9607 if a long call is needed.
9608 (call_value): Ditto.
9609 (call_symbol): Ditto.
9611 * config/arm/elf.h (ASM_DECLARE_FUNCTION_SIZE): Add invocation of
9612 ARM_DECLARE_FUNCTION_SIZE.
9614 * config/arm/pe.h (ARM_PE_FLAG_CHAR): Define.
9615 (SUBTARGET_NAME_ENCODING_LENGTHS): Define.
9616 (ARM_STRIP_NAME_ENCODING): Undefine.
9617 (STRIP_NAME_ENCODING): Undefine.
9618 (ASM_OUTPUT_LABELREF): Use arm_strip_name_encoding.
9619 (ASM_DECLARE_FUNCTION_NAME): Ditto.
9620 (ASM_OUTPUT_COMMON): Ditto.
9621 (ASM_DECLARE_OBJECT_NAME): Ditto.
9623 * config/arm/pe.c (arm_dllexport_name_p): Check for
9625 (arm_dllimport_name_p): Ditto.
9626 (arm_mark_dllexport): Use ARM_PE_FLAG_CHAR.
9627 (arm_mark_dllimport): Ditto.
9629 Mon Feb 28 22:11:12 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
9631 * sh.h (DWARF_LINE_MIN_INSTR_LENGTH): Define.
9633 2000-02-28 Mark Mitchell <mark@codesourcery.com>
9635 * xcoffout.c (xcoffout_begin_function): Fix typo in previous change.
9637 2000-02-28 Zack Weinberg <zack@wolery.cumb.org>
9639 * tm.texi: Document new target switch, NO_BUILTIN_WCHAR_TYPE.
9640 * cppinit.c (builtin_array): Define __WCHAR_TYPE__ only if
9641 NO_BUILTIN_WCHAR_TYPE is not defined.
9642 (CPP_WCHAR_TYPE): Delete.
9643 * cccp.c (main): Don't change wchar_type if cplusplus.
9644 (special_symbol, initialize_builtins): Honor NO_BUILTIN_WCHAR_TYPE.
9646 2000-02-28 Nick Clifton <nickc@cygnus.com>
9648 * config/arm/arm-wince-pe.h (SIZE_TYPE): Define to "unsigned long".
9650 Mon Feb 28 14:21:15 2000 Catherine Moore <clm@cygnus.com>
9652 * config/pa/som.h (MAKE_DECL_ONE_ONLY): Define.
9653 (ASM_WEAKEN_LABEL): Define.
9655 Mon Feb 28 13:07:19 MET 2000 Jan Hubicka <jh@suse.cz>
9657 * expr.c (store_constructor): Do not emit USE.
9658 * rtl.h (stupid_life_analysis): Remove.
9660 Mon Feb 28 07:03:27 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
9662 * function.c (number_blocks): Reset next_block_index based on
9663 what debugging format is used, not what is defined.
9665 * lcm.c: Minor reformatting throughout.
9666 (reg_dies, reg_becomes_live): Properly handle multiple hard regs.
9668 * toplev.c (rest_of_compilation): Account for time in
9669 optimize_mode_switching.
9671 * jump.c (jump_optimize_1): Don't call delete_barrier_successors
9672 if only marking labels.
9674 Mon Feb 28 12:53:57 MET 2000 Jan Hubicka <jh@suse.cz>
9676 * calls.c (expand_call): Attempt to combine stack adjustments with
9677 pending stack adjustments.
9679 Mon Feb 28 11:34:43 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
9681 * loop.c (reg_in_basic_block_p): Don't abort when falling through
9682 to the end of the function.
9684 2000-02-27 Mark Mitchell <mark@codesourcery.com>
9686 * emit-rtl.c (remove_unncessary_notes): Remove notes for empty
9688 * final.c (next_block_index): Remove.
9689 (max_block_depth): Likewise.
9690 (pending_blocks): Likewise.
9691 (init_final): Don't initialize them.
9692 (final_start_function): Don't set next_block_index. Set up
9694 (final_scan_insn): Use BLOCK_NUMBER, not next_block_index.
9695 * function.h (number_blocks): New function.
9696 * function.c (get_block_vector): New function.
9697 (identify_blocks): Use it.
9698 (reorder_blocks): Set NOTE_BLOCK.
9699 (number_blocks): New function.
9700 * tree.def (BLOCK): Add documentation for TREE_ASM_WRITTEN flag.
9701 * tree.h (BLOCK_NUMBER): New macro.
9702 (tree_block): Add block_num field.
9703 * dbxout.c (next_block_number): Remove.
9704 (dbxout_init): Don't set it.
9705 (dbxout_block): Only output blocks that have TREE_ASM_WRITTEN
9706 set. Use BLOCK_NUMBER, rather than next_block_num, to determine
9708 * toplev.c (rest_of_compilation): Always call
9709 find_loop_tree_blocks. Fix indentation.
9710 * dwarf2out.c (next_block_number): Remove.
9711 (gen_lexical_block_die): Use BLOCK_NUMBER, not next_block_number,
9712 to determine block numbers.
9713 (gen_inlined_subroutine_die): Likewise.
9714 (gen_block_die): Only output blocks that have TREE_ASM_WRITTEN set.
9715 (decls_for_scope): Don't increment next_block_number.
9716 * dwarfout.c (next_block_number): Remove.
9717 (output_lexical_block_die): Use BLOCK_NUMBER, not next_block_number,
9718 to determine block numbers.
9719 (output_inlined_subroutine_die): Likewise.
9720 (output_block): Only output blocks that have TREE_ASM_WRITTEN set.
9721 (output_decls_for_scope): Don't increment next_block_number.
9722 * sdbout.c (next_block_number): Remove.
9723 (sdbout_block): Use BLOCK_NUMBER.
9724 (sdbout_begin_block): Simplify.
9725 * xcoffout.c (next_block_number): Remove.
9726 (xcoffout_block): Use BLOCK_NUMBER, not next_block_number.
9727 (xcoffout_begin_block): Don't set next_block_number.
9728 (xcoffout_begin_function): Likewise. Use BLOCK_NUMBER, not
9731 Sun Feb 27 16:40:33 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
9733 * builtins.c (c_strlen): Use size_diffop and return ssizetype value.
9734 (expand_builtin_strcpy): Pass correct type to size_binop.
9735 (expand_builtin_strcmp): Likewise.
9736 Clean up conditional structure.
9737 * c-decl.c (init_decl_processing): Don't call set_sizetype twice.
9738 (complete_array_type): Don't use size_binop for MAXINDEX.
9739 * c-typeck.c (c_sizeof): Use size_one_node and TYPE_SIZE_UNIT.
9740 (c_sizeof_nowarn, c_size_in_bytes): Likewise.
9741 (c_alignof): Use size_one_node.
9742 (build_unary_op): Pass arg of proper type to size_binop.
9743 (really_start_incremental_init, push_init_level): Use sizetype for
9744 constructor{,_bit,_unfilled}_index.
9745 (pop_init_label, output_init_element): Likewise.
9746 (output_pending_init_elements, process_init_element): Likewise.
9747 * calls.c (compute_argument_block_size): Field VAR is ssizetype.
9748 * expr.c (store_expr): Use size_int.
9749 (store_constructor): Use proper types for size_binop args.
9750 (get_inner_reference, expand_expr, case ARRAY_REF): Likewise.
9751 (expand_expr_unaligned): Likewise.
9752 (string_contant): Return object of sizetype.
9753 * expr.h (SUB_PARM_SIZE): Call size_diffop and pass proper types.
9754 (ARGS_SIZE_RTX): Call ARGS_SIZE_TREE.
9755 (ARGS_SIZE_TREE): Pass proper types to size_binop.
9756 * fold-const.c (int_const_binop): Refine when size_int is called.
9757 (fold_convert): Likewise.
9758 (size_int_wide): Rework to take KIND as arg, only take low order
9759 bits, handle new sizetype_tab datatype, and chain entries in
9761 (size_int_type_wide): New function.
9762 (size_binop): Validate types of arguments.
9763 (ssize_binop): Deleted.
9764 (size_diffop): New function.
9765 (extract_muldiv): Only fold division into multiplication for sizetypes.
9766 * function.c (assign_parms): Use size_diffop and make sure
9767 VAR field is of ssizetype; also pass proper type to size_binop.
9768 (locate_and_pad_parm, pad_to_arg_alignment): Likewise.
9769 (round_down): Deleted from here.
9770 * store-layout.c (sizetype_tab): Now an array.
9771 (sizetype_set, early_root_list): New variables.
9772 (variable_size): Use size_one_node.
9773 (round_up): Pass proper type to size_binop.
9774 (round_down): Moved to here and corrected as above.
9775 (layout_record): Pass proper arg types to size_binop.
9776 (layout_type): Likewise.
9777 If sizetype_set is zero, record the type just laid out.
9778 (make_unsigned_type): Don't call set_sizetype;
9779 (make_signed_type): Likewise; also, call fixup_signed_type.
9780 (initialize_sizetypes): New function.
9781 (set_sizetype): Make copy of types, set TYPE_IS_SIZETYPE, and
9782 set name of bitsizetype to "bit_size_type".
9783 Fix up type of sizes of all types made before call.
9784 * tm.texi (ROUND_TYPE_SIZE_UNIT): New macro.
9785 * tree.c (fix_sizetype): Deleted.
9786 (build_common_tree_nodes): Call initialize_sizetypes.
9787 (build_common_tree_nodes_2): Don't call fix_sizetype.
9788 * tree.h (TYPE_IS_SIZETYPE): New macro.
9789 (initialize_sizetype): New declaration.
9790 (enum size_type_kind): New type.
9791 (struct sizetype_tab): Deleted.
9792 (sizetype_tab): Now array; adjust sizetype macros.
9793 (size_diffop, size_int_type_wide): New functions.
9794 (size_int_wide): Change number of args and type; access macros changed.
9795 (ssize_int, sbitsize_int): New macros.
9796 * config/i960/i960.h (ROUND_TYPE_SIZE): Use size_int.
9797 (ROUND_TYPE_SIZE_UNIT): New macro.
9799 2000-02-27 Zack Weinberg <zack@wolery.cumb.org>
9801 * c-lex.c (putback_buffer): Make 'buffer' an unsigned char *.
9803 Sun Feb 27 07:44:17 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
9805 * gcov-io.h (__fetch_long, __store_long, __read_long, __write_long):
9806 Mark as possibly unused.
9808 * cse.c (cse_insn): Delete dead code involving tablejump.
9809 Pass CODE_LABEL, not LABEL_REF to gen_jump and reset INSN_CODE.
9811 * Makefile.in (libcpp.a): Start by deleting it.
9813 2000-02-27 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
9815 * cpplib.h (enum file_change_code): Added rename_file.
9816 * cpplib.c (do_line): If a filename is given, set file_change to
9818 (output_line_command): If file_change is rename_file, always
9819 output a # directive with the file name.
9821 * cpplib.c (do_pragma): Accept #pragma without consecutive token.
9823 2000-02-26 Mark Mitchell <mark@codesourcery.com>
9825 * integrate.c (copy_decl_for_inlining): Preserve TREE_ADDRESSABLE
9826 when copying a PARM_DECL or RESULT_DECL.
9828 2000-02-26 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
9830 * fix-header.c (recognized_function): Also fix prototypes for
9831 functions taking "void".
9833 2000-02-26 Geoff Keating <geoffk@cygnus.com>
9835 * reload1.c (do_output_reload): Check reg_reloaded_valid before
9836 looking at reg_reloaded_contents.
9838 2000-02-26 Zack Weinberg <zack@wolery.cumb.org>
9840 * Makefile.in (STMP_FIXINC): New toggle.
9841 (LIBGCC2_DEPS): Delete all references.
9842 (stmp-headers): Delete target. All references either deleted
9843 or changed to stmp-int-headers.
9844 (all.cross): Don't depend on stmp-headers or STMP_FIXPROTO.
9845 (LIBCPP_OBJS): Take out cppalloc.o.
9846 (cppalloc.o): Delete target.
9847 (stmp-int-hdrs): Depend on $(STMP_FIXINC).
9848 (gen-protos, fix-header): Link with libiberty.a.
9849 * build-make: Don't change FIXINCLUDES. Override STMP_FIXINC
9852 * configure.in: Remove refs to strerror.
9853 * acconfig.h: Take out NEED_DECLARATION_STRERROR.
9854 * system.h: Take out strerror stanza.
9856 * cpperror.c (my_strerror): Delete function.
9857 (cpp_error_from_errno, cpp_notice_from_errno): Use xstrerror.
9858 * cppmain.c (main): Call xmalloc_set_program_name first thing.
9859 * cppalloc.c: Delete file.
9860 * gen-protos.c: Don't provide xrealloc.
9862 * fixinc/fixincl.c, fixinc/fixlib.c, fixinc/procopen.c: Use
9863 xstrerror throughout.
9865 2000-02-26 Bruce Korb <bkorb@gnu.org>
9867 * fixinc/inclhack.def (undefine_null): the bypass pattern needs to
9868 match for DOS headers, too.
9869 * fixinc/inclhack.sh,fixincl.x: Regenerate.
9871 2000-02-26 Geoff Keating <geoffk@cygnus.com>
9873 * config/elfos.h (ASM_OUTPUT_LABELREF): Don't define. The default
9874 is right for most ELF targets.
9875 * config/ns32k/ns32k.h (ASM_OUTPUT_LABELREF): Don't define.
9876 Let the default file use %U properly.
9877 * config/sh/elf.h (ASM_OUTPUT_LABELREF): Don't define. Use the
9880 * config/fp-bit.c (pack_d): Properly handle rounding of denormal
9883 Sat Feb 26 09:39:16 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
9885 * toplev.c (documented_lang_options): Correct spelling error.
9886 (decode_d_option, decode_f_option, main): Likewise.
9888 * toplev.c (print_time): Avoid SIGFPE when all_time is zero.
9890 * config/alpha/alpha.h (ASM_OUTPUT_MI_THUNK): Use .set at
9891 to tell assembler it is permitted to expand large constants.
9893 2000-02-25 Mumit Khan <khan@xraylith.wisc.edu>
9895 * protoize.c: (AUX_INFO_SUFFIX): New macro.
9896 (aux_info_suffix): Use.
9897 (SAVE_SUFFIX): New macro.
9899 (munge_compile_parms): Fix typo in NUL. DJGPP supports /dev/null.
9900 (gen_aux_info_file): Use aux_info_suffix instead of ".X".
9901 (edit_file): Handle 8.3 restriction for DOS/DJGPP filenames.
9903 * invoke.texi (Running Protoize): Update documentation.
9905 2000-02-25 Mark Elbrecht <snowball3@bigfoot.com>
9907 * i386/djgpp.h (CPP_PREDEFINES): Remove Unix defines.
9909 2000-02-25 John Wehle (john@feith.com)
9911 * rtlanal.c (find_last_value): Allow NULL_RTX for valid_to.
9913 2000-02-25 Anthony Green <green@cygnus.com>
9915 * toplev.c (rest_of_compilation): Rebuild jump labels if
9916 combine_instructions has created a new direct jump.
9917 * combine.c (try_combine): Add new_direct_jump_p argument. Set it
9919 (combine_instructions): Call try_combine with new argument.
9920 Return non-null value when new direct jump instruction is created.
9921 * rtl.h: combine_instructions returns an int.
9923 Fri Feb 25 19:49:08 2000 Jeffrey A Law (law@cygnus.com)
9925 * cse.c (cse_insn): Replace the PATTERN of the insn with an new
9926 jump when changing a computed jump into a jump to a known
9929 Fri Feb 25 19:22:44 2000 Graham Stott <grahams@rcp.co.uk>
9931 * resource.c (mark_referenced_resources): Changed use SET_DEST (...)
9932 to XEXP (..., 0) on RTL nodes which are not SET or CLOBBER.
9934 * i386.md (define_expand "clrstrsi"): Fix typo.
9936 Fri Feb 25 18:49:39 2000 "K. Richard Pixley" <rich@microunity.com>
9938 * rtl.texi: Fix typo.
9940 Fri Feb 25 20:02:35 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
9942 * sh.c (calc_live_regs): Multiply value assigned to *COUNT_PTR by
9943 UNITS_PER_WORD. Change caller initial_elimination_offset.
9944 (rounded_frame_size): Take into account that argument pushed has
9945 changed. Fix TARGET_ALIGN_DOUBLE problem.
9947 2000-02-25 Geoff Keating <geoffk@cygnus.com>
9949 * haifa-sched.c (schedule_block): Explain the real reason
9950 we delete REG_SAVE_NOTEs on the first insn of a block.
9951 Don't delete REG_SAVE_NOTES for NOTE_INSN_SETJMP.
9953 2000-02-24 Mark Mitchell <mark@codesourcery.com>
9955 * input.h (push_srcloc): New function.
9956 (pop_srcloc): Likewise.
9957 * toplev.c (push_srcloc): Define it.
9958 (pop_srcloc): Likewise.
9960 2000-02-24 Richard Henderson <rth@cygnus.com>
9962 * flow.c (life_analysis): When collecting reg info, clear
9965 Thu Feb 24 22:06:52 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
9967 Fix bug exposed by reload.c no longer rounding the frame
9968 size to BIGGEST_ALIGNMENT:
9969 * sh.c (rounded_frame_size): New function.
9970 (sh_expand_prologue, sh_expand_epilogue): Use it.
9971 (initial_elimination_offset): Likewise.
9973 Thu Feb 24 20:04:11 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
9975 Fix breakage from 6th Feb thread_prologue_and_epilogue_insns change:
9976 * sh-protos.h (sh_need_epilogue): Declare.
9977 * sh.c (sh_need_epilogue_known): New static variable.
9978 (sh_need_epilogue): New function.
9979 (function_epilogue): Clear need_epilogue_known.
9980 * sh.md (return): Split into expander / insn pattern.
9981 Make the expander conditional on ! sh_need_epilogue ().
9983 2000-02-24 Nathan Sidwell <nathan@codesourcery.com>
9985 * machmode.h (get_mode_alignment): Declare.
9986 (GET_MODE_ALIGNMENT): Call it.
9987 * stor-layout.c (get_mode_alignment): New function. Make
9988 sure alignment is always power of 2.
9990 2000-02-23 Zack Weinberg <zack@wolery.cumb.org>
9992 * i386.h: Remove useless definition of "I386" and misleading
9995 2000-02-23 Zack Weinberg <zack@wolery.cumb.org>
9997 * tree.h (TREE_SET_PERMANENT): New macro. Document conditions
9998 under which TREE_PERMANENT will be set.
9999 * tree.c (make_node, copy_node, make_tree_vec, tree_cons,
10000 build1): Use TREE_SET_PERMANENT.
10001 * print-tree.c (print_node): Don't report value of
10002 TREE_PERMANENT if ggc_p is true.
10004 * c-common.c (c_get_alias_set): Don't use TREE_PERMANENT to
10005 decide whether to give a type a new alias set.
10006 * objc/objc-act.c (build_objc_string_object): Never copy the string.
10007 * tree.c (make_node): Set DECL_IN_SYSTEM_HEADER irrespective
10008 of value of 'obstack'.
10011 2000-02-24 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
10013 * config/c4x/c4x.c (c4x_process_after_reload): Split all insns.
10015 2000-02-23 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
10017 * cpplib.h (enum cpp_token): Added CPP_WCHAR and CPP_WSTRING.
10018 * cpplib.c (cpp_get_token): Produce them.
10019 * cppexp.c (cpp_lex): Handle them.
10021 2000-02-23 Nick Clifton <nickc@cygnus.com>
10023 * config/arm/arm.c (arm_comp_type_attributes): Simply and
10024 comment tests on type attributes.
10026 Wed Feb 23 16:42:21 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
10028 * final.c (shorten_branches): Make value passed to LOOP_ALIGN
10029 conform to documentation.
10030 * sh.h (LOOP_ALIGN): If aligning loops, call sh_loop_align
10031 to check for special cases.
10032 * sh-protos.h (sh_loop_align): Declare.
10033 * sh.c (sh_loop_align): Define.
10035 2000-02-22 Andrew Haley <aph@cygnus.com>
10037 * config/mips/mips.h (GAS_ASM_SPEC): Pass -mgp32/-mgp64 to gas.
10038 (SIZE_TYPE): Is 32 bits when using -mgp32.
10039 (PTRDIFF_TYPE): Ditto.
10041 Wed Feb 23 07:26:27 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
10043 * diagnostic.c (init_output_buffer): Handle case of null PREFIX.
10045 2000-02-23 Zack Weinberg <zack@wolery.cumb.org>
10047 * config/i386/i386.h: If IN_TARGET_LIBS is defined, make
10048 BIGGEST_FIELD_ALIGNMENT a constant.
10050 2000-02-21 Jason Merrill <jason@casey.cygnus.com>
10052 * dwarf2out.c (output_line_info): Put the marker for the end of
10053 the line number info at the actual end.
10054 (gen_struct_or_union_type_die): Use decl_function_context
10055 to check for local classes.
10056 * dwarfout.c (output_type): Likewise.
10058 Tue Feb 22 01:38:57 2000 Jeffrey A Law (law@cygnus.com)
10060 * pa.h (FUNCTION_ARG_PASS_BY_REFERENCE): Handle pass-by-reference
10061 for arguments with a mode, but no type.
10062 (FUNCTION_ARG_CALLEE_COPIES): Similarly.
10063 * t-pa (LIB2FUNCS_EXTRA): Add quadlib.asm.
10064 * pa/long_double.h: New file.
10065 * configure.in (hpux10, hpux11 configurations): hpux10 and hpux11
10066 both have 128bit wide long doubles.
10067 * configure: Rebuilt.
10069 2000-02-21 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
10071 * defaults.h (ASM_OUTPUT_ASCII): Constify a char*.
10073 * flow.c (get_common_dest, chain_reorder_blocks, make_reorder_chain,
10074 fixup_reorder_chain, skip_insns_between_block): Add static prototypes.
10075 (life_analysis): Wrap variable `i' with macro ELIMINABLE_REGS.
10077 * haifa-sched.c (rank_for_schedule): Don't cast away const-ness.
10079 * integrate.c (compare_blocks, find_block): Likewise.
10081 * rtl.c (fatal_with_file_and_line): Add ATTRIBUTE_PRINTF_2.
10083 * rtl.h (set_file_and_line_for_stmt): Constify a char*.
10085 * stmt.c (stmt_status, set_file_and_line_for_stmt,
10086 expand_asm_operands): Likewise.
10088 Mon Feb 21 17:06:27 2000 Jason Eckhardt <jle@cygnus.com>
10090 * predict.c (estimate_probability): Added the pointer heuristic to
10091 the collection of static branch predictors.
10093 2000-02-21 Catherine Moore <clm@cygnus.com>
10095 * config/mips/mips.h (ASM_SPEC): Add -mfix700.
10096 * invoke.texi (-mfix7000): Document.
10098 2000-02-21 Gabriel Dos Reis <gdr@codesourcery.com>
10100 * diagnostic.c (init_output_buffer): Make it possible to output at
10101 least 32 characters if we're given a too long prefix.
10103 2000-02-20 Mark Mitchell <mark@codesourcery.com>
10105 * varasm.c (initializer_constant_valid_p): Call
10106 lang_expand_constant to simplify the constant.
10108 2000-02-20 Bruce Korb <bkorb@gnu.org>
10110 * fixinc/inclhack.def(stdio_va_list):
10111 typedef needs to be disabled.
10112 * fixinc/inclhack.sh: regen
10113 * fixinc/fixincl.x: regen
10115 2000-02-20 Geoff Keating <geoffk@cygnus.com>
10117 * print-rtl.c (print_rtx): Don't print addresses when
10118 flag_dump_unnumbered.
10120 2000-02-20 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
10122 * sparc.c (sparc_output_scratch_registers): Mark parameter with
10124 (sparc_va_arg, sparc_flat_output_function_prologue,
10125 sparc_flat_output_function_epilogue): Cast value to unsigned in
10127 (sparc_emit_float_lib_cmp): Remove unused variable `cmp'.
10129 * sparc.md: Add default case in switch.
10131 2000-02-19 Richard Henderson <rth@cygnus.com>
10133 * c-typeck.c (add_pending_init): Don't abort for multiple
10134 fields at the same offset.
10135 (pending_init_member): Test the correct member.
10137 2000-02-19 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
10139 * except.c (start_dynamic_handler) : Use TYPE_MODE (integer_type_node)
10141 (start_catch_handler) : Same.
10143 2000-02-19 Brad Lucier (lucier@math.purdue.edu)
10145 * Makefile.in: Have flow.o depend on $(EXPR_H)
10147 Sat Feb 19 18:43:13 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
10149 * c-common.c (decl_attributes): Set DECL_SIZE_UNIT.
10150 * c-decl.c (duplicate_decls, finish_enum): Likewise.
10151 (finish_decl): Remove -Wlarger-than code from here.
10152 * flags.h (id_clash_len): Now int.
10153 (larger_than_size): Now HOST_WIDE_INT.
10154 * fold-const.c (size_int_wide): No more HIGH parm; NUMBER is signed.
10155 Clean up checking to see if in table.
10156 (make_bit_field_ref): Remove extra parm to bitsize_int.
10157 * ggc-common.c (ggc_mark_tree_children): Mark DECL_SIZE_UNIT.
10158 * print-tree.c (print_node): Print DECL_SIZE_UNIT and TYPE_SIZE_UNIT.
10159 * stmt.c (expand_decl): Use DECL_SIZE_UNIT for stack checking size
10160 and for computing size of decl.
10161 * stor-layout.c (layout_decl): Set DECL_SIZE_UNIT.
10162 Move -Wlarger-than code to here.
10163 (layout_record): Remove extra arg to bitsize_int.
10164 Set TYPE_BINFO_SIZE_UNIT.
10165 (layout_union): Remove extra arg to bitsize_int.
10166 Use proper type for size of QUAL_UNION.
10167 (layout_type): Remove extra arg to bitsize_int.
10168 * toplev.c (id_clash_len): Now int.
10169 (larger_than_size): Now HOST_WIDE_INT.
10170 (decode_W_option): Clean up id-clash and larger-than- cases.
10171 * tree.c (get_identifier, maybe_get_identifier): Remove unneeded casts.
10172 (expr_align, case FUNCTION_DECL): DECL_ALIGN is not defined.
10173 * tree.h (BINFO_SIZE_UNIT, TYPE_BINFO_SIZE_UNIT, DECL_SIZE_UNIT): New.
10174 (struct tree_decl): New field size_unit.
10175 (size_int_wide): No HIGH operand; NUMBER is now signed.
10176 (size_int_2): Deleted.
10177 (size_int, bitsize_int): Don't use it and rework args.
10178 * varasm.c (assemble_variable, output_constructor): Use DECL_SIZE_UNIT.
10180 Fri Feb 18 20:01:58 2000 Jeffrey A Law (law@cygnus.com)
10182 * pa/quadlib.asm (_U_QFgt, _U_Qfge): Fix flags for _U_Qfcmp call.
10184 2000-02-18 Geoff Keating <geoffk@cygnus.com>
10186 * invoke.texi (Warning Options): Add an explanation of why
10187 you might want the -Wfloat-equal flag.
10189 Fri Feb 18 20:08:57 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
10191 * bitmap.c (bitmap_operation): Avoid using -1 for index since unsigned.
10192 * cppinit.c (new_pending_define): Add cast to avoid warning.
10193 * expmed.c (extract_bit_field): Likewise.
10194 * flow.c (enum reorder_skip_type): New type.
10195 (skip_insns_between_blcok): New it.
10196 Rework to avoid warning about possibly undefined variable.
10197 * function.c (assign_parms): Make thisparm_boundary unsigned.
10198 * genrecog.c (write_switch): Cast XWINT result to int.
10199 * lcm.c: Many static fcns and vars now #ifdef OPTIMIZE_MODE_SWITCHING.
10200 * mips-tfile.c (init_file): Make two versions of FDR intializer:
10201 one for MIPS and one for Alpha.
10202 (get_tag, copy_object): Add casts to avoid warnings.
10203 * optabs.c (init_one_libfunc): Cast NAME to (char *).
10204 * reload.c (find_reloads): Make TYPE enum reload_type.
10205 * sbitmap.c (dump_sbitmap): J is unsigned; don't use "1L".
10206 * unroll.c (unroll_loop): Initialize UNROLL_NUMBER.
10207 * varasm.c (compare_constant_1): Add cast to avoid warning.
10208 * config/alpha/alpha.c (alpha_emit_xfloating_libcall): Cast FUNC
10210 (alpha_expand_unaligned_load, alpha_expand_unaligned_store):
10211 Cast switch operand of size to int.
10212 (alpha_expand_epilogue): Always initialize fp_offset and sa_reg.
10213 * config/alpha/alpha.h (INITIAL_ELIMINATION_OFFSET): Add abort
10216 2000-02-18 Nick Clifton <nickc@cygnus.com>
10218 * config/arm/elf.h (ASM_OUTPUT_ALIGN): Do not generate
10219 anything for an alignment of zero.
10221 * config/arm/thumb.h (ASM_OUTPUT_ALIGN): Do not generate
10222 anything for an alignment of zero.
10224 2000-02-18 Martin von Loewis <loewis@informatik.hu-berlin.de>
10226 * gcc.texi (Bug Reporting): Refer to bugs.html.
10227 (Bug Lists): Likewise.
10228 * system.h (GCCBUGURL): New preprocessor define.
10229 * rtl.c (fancy_abort): Use it.
10230 * gcc.c (main): Likewise.
10232 2000-02-18 Richard Henderson <rth@cygnus.com>
10234 * flow.c (INSN_VOLATILE, SET_INSN_VOLATILE, uid_volatile): Remove.
10235 (life_analysis_1): Subsume into ...
10236 (life_analysis): ... here. Force PROP_REG_INFO off after reload.
10237 Use update_life_info for the relaxation.
10238 (update_life_info): Update REG_BASIC_BLOCK for registers live on
10239 entry and regs_live_at_setjmp.
10240 (set_noop_p): Simplify.
10241 (notice_stack_pointer_modification_1): Renamed from s/_1//.
10242 (record_volatile_insns): Split into ...
10243 (delete_noop_moves): ... here,
10244 (notice_stack_pointer_modification): ... here,
10245 (insn_dead_p): ... and here.
10246 (propagate_block): Don't query INSN_VOLATILE.
10247 (mark_used_regs): Mind !PROP_REG_INFO.
10248 * toplev.c (rest_of_compilation): Call mark_constant_function here,
10249 not in life_analysis.
10251 Fri Feb 18 01:29:22 EST 2000 John Wehle (john@feith.com)
10253 * loop.c (canonicalize_condition): New function,
10254 broken out of get_condition.
10255 (get_condition): Use it.
10256 * expr.h (canonicalize_condition): Prototype it.
10258 * tree.h (tree_int_cst_msb): Declare.
10259 * tree.c (tree_int_cst_msb): New function.
10261 2000-02-17 Mark Mitchell <mark@codesourcery.com>
10263 * stmt.c (set_file_and_line_for_stmt): Don't crash if cfun->stmt
10266 * invoke.texi (-fmessage-length=n): Document.
10268 2000-02-17 Jason Merrill <jason@casey.cygnus.com>
10270 * bitmap.c (bitmap_operation): Don't leak bitmap elements.
10272 2000-02-17 Mark Mitchell <mark@codesourcery.com>
10274 * function.c (thread_prologue_and_epilogue_insns): Put a line note
10275 after the prologue.
10277 2000-02-17 Nick Clifton <nickc@cygnus.com>
10279 * config/arm/thumb.c: Replace includes of system headers with
10280 #include "system.h".
10282 2000-02-16 Richard Henderson <rth@cygnus.com>
10284 * configure.in (alpha-linux*, alpha-netbsd) [extra_parts]:
10285 Add crtbeginS.o and crtendS.o.
10286 * alpha/elf.h (STARTFILE_SPEC): Use crtbeginS.o.
10287 (ENDFILE_SPEC): Use crtendS.o.
10288 * alpha/t-crtbe (crtbeginS.o, crtendS.o): New targets.
10290 * alpha/crtbegin.asm (__do_frame_takedown): Merge into ...
10291 (__do_global_dtors_aux): ... here. Call __cxa_finalize if
10292 shared and present.
10293 (__dso_handle): New variable.
10294 * alpha/crtend.asm (__do_global_ctors_aux): Remove runtime
10295 bias to __CTOR_END__.
10297 2000-02-16 Richard Henderson <rth@cygnus.com>
10299 * Makefile.in (s-crtS, crtbeginS, crtendS): Prefix usage with $(T).
10301 Wed Feb 16 21:40:04 2000 Hans-Peter Nilsson <hp@bitrange.com>
10303 * longlong.h (__clz_tab): Declare as static to match definition.
10305 2000-02-16 Mark Elbrecht <snowball3@bigfoot.com>
10307 * i386/xm-djgpp.h (LIBSTDCXX): Delete. Moved to config/i386/djgpp.h.
10308 (XREF_FILE_NAME): Define.
10310 * i386/djgpp.h (DATA_SECTION_ASM_OP): Define.
10311 (EH_FRAME_SECTION_ASM_OP): Define.
10312 (IDENT_ASM_OP): Define.
10313 (TEXT_SECTION_ASM_OP): Define.
10314 (CPP_SPEC): Define.
10315 (CTORS_SECTION_ASM_OP): Define.
10316 (CTOR_SECTION_FUNCTION): Use it.
10317 (DTORS_SECTION_ASM_OP): Define.
10318 (DTOR_SECTION_FUNCTION): Use it.
10320 2000-02-16 Zack Weinberg <zack@wolery.cumb.org>
10322 * reg-stack.c (emit_swap_insn): Do not put a new insn before a
10325 * flow.c (dump_regset, debug_regset, dump_bb, debug_bb,
10326 debug_bb_n): New functions.
10327 (dump_flow_info, print_rtl_with_bb): Use dump_regset.
10328 * basic-block.h: Prototype new functions.
10330 Wed Feb 16 21:07:53 2000 Denis Chertykov <denisc@overta.ru>
10332 * configure.in: Add support for avr target.
10333 * configure: Rebuilt.
10335 * invoke.texi: Add AVR invocation docs.
10336 * install.texi: Add information about AVR.
10337 * md.texi: Add AVR constraint letters description.
10338 * extend.texi: Add description for AVR specific attributes.
10340 2000-02-16 Jason Merrill <jason@casey.cygnus.com>
10342 * fixinc/fixinc.svr4: Wrap byteorder.h with extern "C".
10344 2000-02-16 Nick Clifton <nickc@cygnus.com>
10346 * emit-rtl.c (emit_insn): Move RTL check into make_insn_raw.
10347 (make_insn_raw): Move RTL check here.
10349 2000-02-16 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
10351 * version.c: Include gansidecl.h and version.h.
10353 * version.h: Wrap entire file in macro __GCC_VERSION_H__.
10355 * configure.in (gcc_version): When setting, narrow search to
10356 lines containing `version_string'.
10358 * Makefile.in (mainversion): Likewise.
10359 (GCC_H): New variable.
10360 (gcc.h): Delete target.
10361 (gcc.o, gccspec.o, cppspec.o): Depend on $(GCC_H), not gcc.h.
10362 (version.o): Depend on version.h.
10363 (dbxout.o): Don't depend on gcc.h.
10365 Wed Feb 16 15:04:49 2000 Hans-Peter Nilsson <hp@bitrange.com>
10366 Michael Meissner <meissner@cygnus.com>
10368 * md.texi (Simple Constraints): Add item about whitespace.
10369 * genoutput.c (strip_whitespace): New.
10370 (scan_operands) [MATCH_OPERAND, MATCH_SCRATCH]: Call
10371 strip_whitespace for constraints.
10372 Test pointer using NULL, not 0.
10374 2000-02-16 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
10376 * cpplib.c (do_line): Pedwarn for #line > 32767.
10378 * c-lex.c (readescape): Warn about '\x', but do not reject it.
10380 2000-02-15 Jonathan Larmour <jlarmour@redhat.co.uk>
10382 * gcc.c (default_compilers): Add new __GNUC_PATCHLEVEL__ define
10383 to default cpp spec.
10384 (do_spec_1): Add support for %v3 spec used by __GNUC_PATCHLEVEL__.
10385 * cpp.texi: Document __GNUC_PATCHLEVEL__.
10388 * objc/lang-specs.h: Add new __GNUC_PATCHLEVEL__ define to
10391 2000-02-15 Denis Chertykov <denisc@overta.ru>
10393 * configure.in: Add support for avr target.
10395 Wed Feb 16 03:21:43 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
10397 * sh.h (OVERRIDE_OPTIONS): Don't set sh_addr_diff_vec_mode.
10398 (sh_addr_diff_vec_mode): Don't declare.
10399 * sh.c (sh_addr_diff_vec_mode): Delete.
10401 Wed Feb 16 01:27:52 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
10403 * sh.md (mulsi3_highpart): Add REG_EQUAL note to last insn.
10405 Wed Feb 16 00:58:06 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
10407 * sh.md (udivsi3_i1, divsi3_i1, umulhisi3_i, mulhisi3_i): Name.
10408 (smulsi3_highpart_i): Name.
10409 (udivsi3): Wrap emitted insns in REG_LIBCALL / REG_RETVAL notes.
10410 (divsi3, mulhisi3, umulhisi3, mulsidi3, umulsidi3): Likewise.
10411 (smulsi3_highpart, umulsi3_highpart): Likewise.
10413 (mulsidi3_i, umulsidi3_i): Make rtl describe operation
10414 correctly independent of endianness.
10415 (mulsidi3, umulsidi3): Now define_insn. Hide details that
10416 confuse the optimizers.
10417 (mulsidi3+1, umulsidi3+1): New define_split.
10419 Tue Feb 15 23:22:26 2000 Andrew Haley <aph@cygnus.com>
10421 * config/sh/sh.md: Guard insn splits against illegal registers.
10422 * config/sh/sh.h: Correct comment about macros.
10424 Tue Feb 15 22:30:36 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
10425 Andrew MacLeod <amacleod@cygnus.com>
10427 * Makefile.in (lcm.o): Depend on insn-attr.h.
10428 * basic-block.h (optimize_mode_switching): Declare.
10429 * lcm.c (tm_p.h, insn-attr.h): #include.
10430 (seginfo, bb_info): New structs.
10431 (antic, transp, comp, delete, insert) : New file-scope static variables.
10432 (new_seginfo, add_seginfo, make_preds_opaque, reg_dies): New functions.
10433 (reg_becomes_live, optimize_mode_switching): Likewise.
10434 * tm.texi: Add description of mode switching macros.
10435 * toplev.c (rest_of_compilation): Call optimize_mode_switching.
10437 * sh-protos.h (remove_dead_before_cse): Remove prototype.
10438 (fldi_ok, fpscr_set_from_mem): New prototypes.
10439 * sh.h (OPTIMIZATION_OPTION): Remove sh_flag_remove_dead_before_cse set.
10440 (CONST_DOUBLE_OK_FOR_LETTER_P, SECONDARY_INPUT_RELOAD_CLASS):
10441 Disable fldi for (TARGET_SH4 && ! TARGET_FMOVD).
10442 (sh_flag_remove_dead_before_cse): Remove declaration.
10443 (NUM_MODES_FOR_MODE_SWITCHING, OPTIMIZE_MODE_SWITCHING): New macros.
10444 (MODE_USES_IN_EXIT_BLOCK, MODE_NEEDED, MODE_AT_ENTRY): Likewise.
10445 (MODE_PRIORITY_TO_MODE, EMIT_MODE_SET): Likewise.
10446 * sh.c (broken_move): Disable fldi for (TARGET_SH4 && ! TARGET_FMOVD).
10447 (barrier_align): Allow for JUMP_INSNS containing a parallel.
10448 (machine_dependent_reorg): Remove sh_flag_remove_dead_before_cse set.
10449 (fldi_ok): New function.
10450 (get_fpscr_rtx): Add fpscr_rtx as GC root.
10451 (emit_sf_insn): Only generate fpu switches when optimize < 1.
10452 (emit_df_insn): Likewise.
10453 (expand_fp_branch, emit_fpscr_use, remove_dead_before_cse): Delete.
10454 (sh_flag_remove_dead_before_cse): Delete.
10455 (get_free_reg, fpscr_set_from_mem): New functions.
10456 * sh.md (movdf, movsf): Remove no_new_pseudos code.
10457 (return): Remove emit_fpscr_use / remove_dead_before_cse calls.
10459 2000-02-15 Loren Rittle <ljrittle@acm.org>
10461 * ginclude/stddef.h: Correct usage of _BSD_RUNE_T_ for FreeBSD.
10463 2000-02-15 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
10465 * Makefile.in (TREE_H, collect2.o, gcc.h, mips-tfile.o, cccp.o,
10466 cpphash.o, cppinit.o, protoize.o, unprotoize.o): Depend on version.h.
10468 * cccp.c: Include version.h and/or don't declare `version_string'.
10469 * collect2.c: Likewise.
10470 * alpha.c: Likewise.
10471 * arm/aof.h: Likewise.
10472 * arm/coff.h: Likewise.
10473 * arm/elf.h: Likewise.
10474 * arm/pe.h: Likewise.
10475 * arm/tcoff.h: Likewise.
10476 * arm/telf.h: Likewise.
10477 * arm/tpe.h: Likewise.
10478 * arm/vxarm.h: Likewise.
10479 * convex/convex.c: Likewise.
10480 * i386/dgux.c: Likewise.
10481 * i386/sun386.h: Likewise.
10482 * m88k/m88k.c: Likewise.
10483 * mcore/mcore-pe.h: Likewise.
10484 * mips/mips.h: Likewise.
10485 * romp/romp.h: Likewise.
10486 * sh/sh.c: Likewise.
10487 * cpphash.c: Likewise.
10488 * cppinit.c: Likewise.
10489 * dwarf2out.c: Likewise.
10490 * dwarfout.c: Likewise.
10493 * mips-tfile.c: Likewise.
10494 * protoize.c: Likewise.
10495 * toplev.c: Likewise.
10496 * tree.h: Likewise.
10498 * version.c (version_string): Constify a char*.
10500 * version.h: New file.
10502 2000-02-14 Nick Clifton <nickc@cygnus.com>
10504 * configure.in: Add mcore-elf and mcore-pe targets.
10505 * configure: Regenerate.
10507 * NEWS: Add note that MCore port has been contributed.
10509 * invoke.texi: Document command line switches for MCore port.
10510 * install.texi: Add MCore to list of supported targets.
10512 2000-02-14 Geoff Keating <geoffk@cygnus.com>
10514 * collect2.c (main) [COLLECT_EXPORT_LIST]: If we have frames,
10515 then we will need to import the frame handling functions.
10516 (scan_prog_file) [COLLECT_EXPORT_LIST]: We will also need
10517 to import the frames themselves.
10519 Mon Feb 14 13:31:01 2000 Stan Cox <scox@cygnus.com>
10520 Jason Eckhardt <jle@cygnus.com>
10522 * basic_block.h: Added prototype for reorder_basic_blocks.
10523 * toplev.c: Changes to add -freorder-blocks and graph dump after
10524 block reordering is done.
10525 * flow.c (reorder_block_def): New structure for use during block
10527 (REORDER_BLOCK_*): New macros to access members of above structure.
10528 (skip_insns_between_block, get_common_dest, chain_reorder_blocks,
10529 make_reorder_chain, fixup_reorder_chain, reorder_basic_blocks): New
10530 functions for block reordering.
10532 Mon Feb 14 11:24:44 2000 Hans-Peter Nilsson <hp@bitrange.com>
10534 * gcc.texi (Passes): Fix typo.
10535 * md.texi (Standard Names): Ditto.
10536 * tm.texi (Storage Layout): Ditto.
10538 2000-02-13 Zack Weinberg <zack@wolery.cumb.org>
10540 * cpplib.c (do_define): Only free the old definition if it
10543 2000-02-13 Neil Booth <NeilB@earthling.net>
10545 * cppfiles.c (read_and_prescan): When emitting deferred
10546 newlines, test speccase[] again instead of checking each
10547 possible whitespace character in turn. When we encounter \r,
10548 look behind for \n first, then ahead.
10550 2000-02-13 Zack Weinberg <zack@wolery.cumb.org>
10552 * cse.c (cse_altered): New internal flag.
10553 (cse_insn): Set it if we changed an insn.
10554 (cse_main): Clear cse_altered before each basic block.
10555 Only garbage collect if cse_altered is true afterward.
10557 Sun Feb 13 14:12:28 2000 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
10559 * sparc/sol2.h (LIB_SPEC): Link -ldl if profiling.
10561 Sun Feb 13 13:21:55 2000 Jeffrey A Law (law@cygnus.com)
10563 * combine.c (simplify_comparison): Fix typo.
10565 Sun Feb 13 12:57:52 2000 Neil Booth <NeilB@earthling.net>
10567 * prefix.c (concat, lookup_key): Use xmalloc and xrealloc
10570 2000-02-13 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
10572 * flow.c (flow_loop_tree_node_add): Use better algorithm by passing
10573 previously inserted node instead of root node. Caller changed.
10575 2000-02-13 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
10577 * basic-block.h (FLOW_LOOP_FIRST_BLOCK, FLOW_LOOP_LAST_BLOCK): Delete.
10579 2000-02-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
10581 * crtstuff.c (__do_global_ctors_aux, __reg_frame_ctor,
10582 __dereg_frame_dtor): Add prototype argument.
10584 * gthr-dce.h (__gthread_active_p, __gthread_once): Likewise.
10586 * gthr-posix.h (__gthread_active_p, __gthread_once): Likewise.
10588 * gthr-solaris.h (__gthread_active_p, __gthread_once): Likewise.
10590 * gthr-vxworks.h (__gthread_once): Likewise.
10592 * gthr-win32.h (__gthread_active_p, __gthread_once): Likewise.
10594 Sat Feb 12 01:44:26 MET 2000 Jan Hubicka <jh@suse.cz>
10596 * i386.c (ix86_emit_restore_regs_using_mov): Break out from ...
10597 (ix86_expand_epilogue): ... here. Use mov instead of add to restore
10598 stack pointer in functions w/o saved registers, output LEAVE more often
10599 on TARGET_USE_LEAVE machines.
10601 2000-02-07 Dmitri Makarov <dim@wrs.com> & Bernd Schmidt <bernds@redhat.com>
10603 * config/arm/arm.c (arm_init_cumulative_args); New function:
10604 Initlaise the CUMULATIE_ARGS strcuture for a function
10606 (arm_function_arg): New function: Determine where to place a
10607 function's argument. Also handles deciding the function's
10609 (current_file_function_operand): New function: Return true if
10610 the symbol is a function which has already been compiled.
10611 (arm_is_long_call_p): New function: Return true if the
10612 indicated function should be called via a long call.
10613 (arm_valid_type_attribute_p): New function: Return true if the
10614 attribute is a valid, arm specific, attribute.
10615 (arm_comp_type_attribute): New function: Return true if the
10616 two types have compatable, arm specific, attributes.
10618 * config/arm/arm.h (CUMULATIVE_ARGS): Redefine to be a
10620 (FUNCTION_ARG): Redefine to call arm_function_arg.
10621 (FUNCTION_ARG_PARTIAL_NREGS): Redefine to use correct
10623 (INIT_CUMULATIVE_ARGS): Redefine to call
10624 arm_init_cumulative_args.
10625 (FUNCTION_ARG_ADVANCE): Redefine to use correct structure
10627 (SETUP_INCOMING_VARARGS): Redefine to use correct structure
10629 (ARM_MARK_NEARBY_FUNCTION): New macro: Mark already compiled
10631 (ENCODE_SECTION): Add call to ARM_MARK_NEARBY_FUNCTION.
10632 (VALID_MACHINE_TYPE_ATTRIBUTE): Define.
10633 (COMP_TYPE_ATTRIBUTES): Define.
10635 * config/arm/arm.md (call): Call arm_is_long_call_p to decide
10636 if a long call is needed.
10637 (call_value): Call arm_is_long_call_p to decide if a long call
10639 (call_symbol): Call arm_is_long_call_p to decide if a long call
10642 * config/arm/arm-protos.h: Add prototype for arm_is_long_call_p.
10644 2000-02-11 Denis Chertykov <denisc@overta.ru>
10646 * README.AVR: New file with information about the avr ports.
10647 * config/avr: New directory with avr port files.
10649 2000-02-11 Andreas Jaeger <aj@suse.de>
10651 * fixinc/Makefile.in (FIXINC_DEFS): Remove unneeded @fixinc_defs@.
10653 2000-02-11 Zack Weinberg <zack@wolery.cumb.org>
10655 * cpphash.c: Fix formatting, update commentary.
10656 (dump_definition): Take three separate arguments instead of a
10657 MACRODEF structure argument.
10658 * cpphash.h: Update prototype of dump_definition.
10659 * cppinit.c (cpp_finish): Update call of dump_definition.
10661 * cpplib.c (do_define): Always create new hash entry with
10662 T_MACRO type. Remove redundant check for redefinition of
10663 poisoned identifier. Update call of dump_definition.
10664 (do_undef): Don't call check_macro_name. Rename sym_length to
10666 (do_error, do_warning): Don't use copy_rest_of_line or
10668 (do_warning): Don't use pedwarn for the actual warning,
10669 only the notice about its not being in the standard. (Fixes
10670 bug with #warning in system headers.)
10671 (do_ident): Stricter argument checking - accept only a single
10672 string after #ident. Also, macro-expand the line.
10673 (do_xifdef): Use cpp_defined. De-obfuscate.
10675 (do_pragma): Split out specific pragma handling to separate
10676 functions. Use get_directive_token. Update commentary. Do
10677 not pass on #pragma once or #pragma poison to the front end.
10678 (do_pragma_once, do_pragma_implementation, do_pragma_poison,
10679 do_pragma_default): New.
10681 Feb 11 12:30:53 2000 Jeffrey A Law (law@cygnus.com)
10683 * jump.c (jump_optimize_1): The first operand in a relational
10684 can be a CONST_INT.
10685 * optabs.c (emit_conditional_move): Handle relationals which
10686 have a known true/false result.
10688 2000-02-11 Geoff Keating <geoffk@cygnus.com>
10690 * function.c (thread_prologue_and_epilogue_insns): Don't insert
10691 a RETURN insn into a block which already ends with a jump.
10693 2000-02-11 Geoff Keating <geoffk@cygnus.com>
10695 * haifa-sched.c (BUF_LEN): Increase a lot.
10697 2000-02-11 Nick Clifton <nickc@cygnus.com>
10699 * configure.in: Add tm_p_file specification for thumb targets.
10700 * configure: Regenerate.
10702 * config/arm/thumb-protos.h: New file: Prototypes for exported
10703 functions defined in thumb.c.
10705 2000-02-11 Robert Lipe <robertl@sco.com>
10707 * Makefile.in (bootstrap-lean): Remove additional files.
10708 (bootstrap2-lean): Likewise.
10709 (VOL_FILES): List of files for above.
10711 2000-02-11 Nathan Sidwell <nathan@acm.org>
10713 * cpphash.c (special_symbol): Remove spurious argument to
10716 2000-02-11 Joel Sherrill (joel@OARcorp.com>
10718 * configure.in: (i*86-*-rtems*): Swapped elf and coff
10720 * configure: Rebuilt.
10722 2000-02-11 Rodney Brown <RodneyBrown@pmsc.com>
10724 * pa-protos.h: Wrap function_arg_padding in TREE_CODE #ifdef.
10726 Fri Feb 11 02:59:05 2000 Jeffrey A Law (law@cygnus.com)
10728 * pa.c, pa.h: Remove trigraph sequences within comments.
10730 Fri Feb 11 02:51:56 2000 Pavel Roskin <pavel_roskin@geocities.com>
10732 * invoke.texi (PPC Options): -mno-new-mnenomics -> -mold-mnemonics.
10734 Fri Feb 11 02:48:30 2000 Brad Lucier (lucier@math.purdue.edu)
10736 * sbitmap.h: Make SBITMAP_ELT_BITS unsigned.
10738 2000-02-11 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
10740 * config/c4x/c4x.c (fp_zero_operand): Check for CONST_DOUBLE.
10742 2000-02-11 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
10744 * config/c4x/c4x.h (ASM_GLOBALIZE_LABEL): Use c4x_global_label.
10745 (ASM_OUTPUT_EXTERNAL): Use c4x_external_ref.
10746 (ASM_OUTPUT_EXTERNAL_LIBCALL): Likewise.
10747 (ASM_FILE_END): Use c4x_file_end.
10748 * config/c4x/c4x.c (c4x_global_label): New function.
10749 (c4x_external_ref, c4x_file_end): Likewise.
10751 * config/c4x/c4x-protos.h (c4x_global_label): Add prototype.
10752 (c4x_external_ref, c4x_end_file): Likewise.
10754 2000-02-10 Zack Weinberg <zack@wolery.cumb.org>
10756 * cppexp.c: Don't include cpphash.h.
10757 (parse_charconst, cpp_lex): Use cpp_defined.
10758 (cpp_lex): Use get_directive_token throughout. Remove
10759 unnecessary cases from switch. Move assertion-handling code
10760 down to OTHER case.
10761 (cpp_parse_expr): If we see '+' or '-', check the context to
10762 determine if they are unary or binary operators. Streamline
10763 the jumps a bit. Do not call skip_rest_of_line.
10765 * cpplib.c: Make skip_rest_of_line and cpp_skip_hspace
10766 static. Export get_directive_token. Update commentary.
10767 (cpp_defined): New function.
10768 (do_define): Remove reference to T_PCSTRING. Call
10769 free_definition to release memory for old definition, when
10770 redefining a macro.
10771 (eval_if_expression): Set only_seen_white to 0 before calling
10772 cpp_parse_expr. Call skip_rest_of_line after it returns.
10773 (cpp_read_check_assertion): Don't preserve a pointer into the
10774 token buffer across a call to cpp_get_token.
10776 * Makefile.in (cppexp.o): Don't depend on cpphash.h.
10777 * cppfiles.c (redundant_include_p): Use cpp_defined.
10778 * cpphash.c (free_definition): New function.
10779 (delete_macro): Use it. Update commentary.
10780 * cpphash.h: Typedef HASHNODE here. Prototype cpp_lookup and
10782 * cpplib.h: Don't typedef HASHNODE here. Delete T_PCSTRING
10783 from enum node_type. Prototype cpp_defined and get_directive_token.
10784 Don't prototype cpp_lookup, skip_rest_of_line, or cpp_skip_hspace.
10786 * fix-header.c (check_macro_names): Use cpp_defined.
10787 (read_scan_file): Set inhibit_warnings and inhibit_errors in
10788 the options structure.
10790 2000-02-10 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
10792 * c-pragma.c (maximum_field_alignment): Remove duplicate declaration.
10794 2000-02-10 Jason Merrill <jason@casey.cygnus.com>
10796 * dwarf2out.c (add_abstract_origin_attribute): Check TREE_CODE (origin)
10797 rather than die->die_tag.
10799 Thu Feb 10 16:26:49 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
10801 * combine.c (make_extraction, force_to_mode): Avoid warning on
10802 mixed-signedness conditionals.
10803 (make_field_assignment, nonzero_bits): Likewise.
10804 * expmed.c (store_fixed_bit_field): ALIGN arg now unsigned.
10805 (store_split_bit_field, extract_split_bit_field): Likewise.
10806 (extract_fixed_bit_field, store_bit_field,
10807 * expr.c: Change alignment to be unsigned everywhere.
10808 (move_by_pieces, store_constructor_field, store_constructor):
10809 Alignment parm is unsigned.
10810 (emit_block_move, emit_group_load, emit_group_store): Likewise.
10811 (clear_storage, emit_push_insn, compare_from_rtx): Likewise.
10812 (do_compare_rtx_and_jump): Likewise.
10813 (move_by_pieces_ninsns, clear_by_pieces): Likewise.
10814 Compare align with GET_MODE_ALIGNMENT.
10815 (expand_expr_unaligned): Pointer to alignment is pointer to unsigned.
10816 (get_inner_reference): Likewise.
10817 (copy_blkmode_from_reg, emit_push_insn): Remove unneeded casts.
10818 (expand_assignment): Local vars for alignment now unsigned.
10819 (store_constructor, store_field, expand_expr, do_jump): Likewise.
10820 (do_compare_and_jump): Likewise.
10821 (store_field): Call new function expr_align.
10822 * expr.h (emit_block_move, emit_group_load, emit_group_store):
10823 Alignment arg now unsigned.
10824 (clear_storage, emit_push_insn, compare_from_rtx): Likewise.
10825 (do_compare_rtx_and_jump, store_bit_field): Likewise.
10826 (extract_bit_field): Likewise.
10827 * fold-const.c (add_double): Add cast to eliminate signedness warning.
10828 * machmode.h (GET_MODE_ALIGNMENT): Result is unsigned.
10829 (get_best_mode): Alignment arg is unsigned.
10830 * rtl.h (move_by_pieces): Likewise.
10831 * store-layout.c (maximum_field_alignment, set_alignment):
10833 (layout_decl): Alignment arg is now unsigned.
10834 Remove unneeded casts.
10835 (layout_record, layout_union, layout_type): Remove unneeded casts.
10836 Local alignment variables now unsigned.
10837 (get_best_mode): Alignment arg now unsigned.
10838 * tree.c (expr_align): New function.
10839 * tree.h (expr_align): Likewise.
10840 (maximum_field_alignment, set_alignment): Now unsigned.
10841 (get_inner_reference): Alignment argument is now pointer to unsigned.
10842 * varasm.c (assemble_variable): Add cast to eliminate warning.
10844 Thu Feb 10 12:56:47 2000 Jim Wilson <wilson@cygnus.com>
10846 * expmed.c (store_bit_field): If op0 and fieldmode are the same size,
10847 then store directly into op0.
10849 * calls.c (expand_call): When emitting a NOTE_INSN_SETJMP, search for
10850 the CALL_INSN, and emit the note immediately after it.
10852 2000-02-10 Nick Clifton <nickc@cygnus.com>
10854 * config/arm/thumb.md (epilogue): Include a (return) in the
10855 generated insn, and emit it using emit_jump_insn not
10858 Thu Feb 10 18:28:59 MET 2000 Jan Hubicka <jh@suse.cz>
10860 * function.c (assign_temp): Change zero-sized arrays to size 1.
10861 * integrate.c (expand_inline_function): Do not update
10862 stack_alignment_needed
10863 * i386.c (compute_frame_size): Remove #ifdef PREFERRED_FRAME_BOUNDARY,
10864 add some sanity checking, remove optimization for function with
10867 2000-02-10 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
10869 * flow.c (mark_regs_live_at_end): Delete unused variables.
10871 * ggc-page.c (ggc_page_print_statistics): bzero -> memset.
10873 * integrate.c (copy_rtx_and_substitute): Wrap variable `alignment'
10874 in macro FRAME_GROWS_DOWNWARD.
10876 * stmt.c (expand_end_bindings): Delete unused variable.
10878 * unroll.c (iteration_info): Mark parameter `loop' with
10881 2000-02-10 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
10883 * fixinc/server.c (load_data): Return NULL if the marker line is
10885 (run_shell): If load_data returns NULL, retry the command once, in
10888 * configure: Rebuilt.
10890 2000-02-09 Bruce Korb <bkorb@gnu.org>
10892 * gcc/fixincludes: ** DELETED **
10893 * gcc/fixcpp: ** DELETED **
10894 * gcc/fixinc-nt.sed: ** DELETED **
10895 * gcc/just-fixinc: ** DELETED **
10896 * gcc/Makefile.in: Removed out-dated commentary
10897 * gcc/configure.in: Removed fast-fixincludes disablement.
10898 * MAINTAINERS(Ian Taylor) moved to "Write after approval" group.
10900 2000-02-09 Clinton Popetz <cpopetz@cygnus.com>
10901 * function.c (thread_prologue_and_epilogue_insns): Uncomment
10904 2000-02-09 Richard Henderson <rth@cygnus.com>
10906 * jump.c (delete_insn): Don't delete user labels at -O0.
10908 2000-02-09 Robert Lipe <robertl@sco.com>
10910 * Makefile.in (gen-protos): Don't depend on HOST_LIBDEPS.
10911 Don't link with HOST_LIBS.
10913 2000-02-09 Zack Weinberg <zack@wolery.cumb.org>
10915 * configure.in: Correct --help text for --with-dwarf2.
10916 Put tm-dwarf2.h after other tm files, if it's requested.
10917 * configure: Regenerate.
10918 * config/tm-dwarf2.h: #undef PREFERRED_DEBUGGING_TYPE before
10921 2000-02-09 Zack Weinberg <zack@wolery.cumb.org>
10923 * cpplib.h: Provide HASHNODE typedef and forward decl of
10924 struct hashnode only. Kill cpp_hashnode typedef. MACRODEF,
10925 DEFINITION, struct hashnode, struct macrodef, struct
10926 definition, scan_decls prototype, default defn of
10927 INCLUDE_LEN_FUDGE moved elsewhere.
10929 * cpphash.h: MACRODEF, DEFINITION, struct macrodef, struct
10930 definition, and struct hashnode moved here. Remove the unused
10931 'predefined' field from struct definition. Replace the 'args'
10932 union with its sole member. All users updated (cpphash.c).
10933 Delete HASHSTEP and MAKE_POS macros, and hashf prototype. Add
10934 multiple include guard.
10936 * cpphash.c (hashf): Make static; use better algorithm; drop
10937 HASHSIZE parameter; return an unsigned int.
10938 (cpp_lookup): Drop HASH parameter. PFILE parameter is
10939 used. Calculate HASHSIZE modulus here.
10940 (cpp_install): Drop HASH parameter. Calculate HASHSIZE modulus
10942 (create_definition): Drop PREDEFINITION parameter.
10943 * cpplib.c (do_define): Don't calculate a hash value here.
10944 Don't pass (keyword == NULL) to create_definition.
10946 * scan.h: Prototype scan_decls here.
10947 * cppfiles.c: Move INCLUDE_LEN_FUDGE default defn here.
10948 * cppexp.c, cppfiles.c, cppinit.c, cpplib.c, fix-header.c: All
10949 callers of cpp_lookup and cpp_install updated.
10951 * cpphash.c (macarg): Hoist all the flag diddling out of the
10953 (macroexpand): ... and out of the loop that calls macarg.
10954 Skip over the initial paren before macro arguments with
10955 cpp_get_non_space_token; point may be some distance before
10956 that paren. Abort if it's not there.
10958 * cpplib.c (parse_clear_mark): Delete function.
10959 (parse_set_mark, parse_goto_mark): Make static.
10960 (ACTIVE_MARK_P): New macro.
10961 (skip_block_comment, skip_line_comment): Do not bump the line
10962 if ACTIVE_MARK_P is true.
10963 (cpp_pop_buffer): The buffer to be popped may not have an
10965 (cpp_get_token): When looking for the initial paren before
10966 macro arguments, only set a mark in a file buffer, Always
10967 return to that mark before proceeding to call macroexpand or
10968 return a NAME token.
10970 * cpplib.h: Remove prototypes of parse_set_mark,
10971 parse_clear_mark, parse_goto_mark.
10972 (struct cpp_options): Rename 'put_out_comments' to
10973 'discard_comments' and invert its sense.
10974 * cppinit.c, cpphash.c, cpplib.c: All users of
10975 put_out_comments changed to use discard_comments, with
10978 2000-02-09 Clinton Popetz <cpopetz@cygnus.com>
10980 * function.c (thread_prologue_and_epilogue_insns): Don't delete
10981 the edge from a block that both jumps and falls through to the
10984 2000-02-09 Scott Bambrough <scottb@netwinder.org>
10986 * config/arm/arm.md (movsi): In PIC mode, make sure that a
10987 constant source address is legitimate.
10989 2000-02-09 Philip Blundell <pb@futuretv.com>
10991 * config/arm/arm.c (legitimize_pic_address): Handle LABEL_REF
10994 * config/arm/arm.h (LEGITIMATE_CONSTANT_P): Allow anything when
10996 (LEGITIMATE_PIC_OPERAND): Disallow references to labels.
10998 2000-02-09 Zack Weinberg <zack@wolery.cumb.org>
11000 * cpplib.c (cpp_define, cpp_undef): Make sure the stacked buffer
11001 ends with a newline and a NUL. Don't be so clever manipulating
11004 Wed Feb 9 14:18:08 MET 2000 Jan Hubicka <jh@suse.cz>
11006 * reload1.c (reload) Align stack frame to cfun->stack_alignment_needed,
11007 not to BIGGEST_ALIGNMENT.
11009 2000-02-08 Geoff Keating <geoffk@cygnus.com>
11011 * dwarf2.h (DW_CFA_GNU_negative_offset_extended): New constant.
11012 * dwarf2out.c (dwarf_cfi_name): Print name of new constant.
11013 (reg_save): Use DW_CFA_GNU_negative_offset_extended when needed.
11014 (output_cfi): Handle output of DW_CFA_GNU_negative_offset_extended.
11015 * frame.c (execute_cfa_insn): Handle
11016 DW_CFA_GNU_negative_offset_extended.
11018 2000-02-08 Richard Henderson <rth@cygnus.com>
11020 * flow.c (tidy_fallthru_edges): Split out from ...
11021 (delete_unreachable_blocks): ... here.
11022 (find_basic_blocks): Use it.
11024 Tue Feb 8 15:51:50 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
11026 * stmt.c (expand_decl): Do set RTX_UNCHANGING_P for TREE_READONLY.
11028 2000-02-08 Zack Weinberg <zack@wolery.cumb.org>
11030 * Makefile.in (GEN_PROTOS_OBJS): Remove libcpp.a.
11031 (gen_protos.o): Don't depend on cpplib.h or cpphash.h.
11032 (fix-header.o): Don't depend on cpphash.h.
11034 * scan.c (hashstr): New function.
11035 * scan.h: Prototype it.
11036 * fix-header.c: Don't include cpphash.h. Use hashstr.
11037 * gen-protos.c: Don't include cpphash.h or cpplib.h. Use
11038 hashstr. Report hash table statistics. Add private
11039 definition of xrealloc.
11041 2000-02-08 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
11043 * i386.h (TARGET_SWITCHES): Fix typo in option name.
11045 2000-02-08 Clinton Popetz <cpopetz@cygnus.com>
11047 * function.c (thread_prologue_and_epilogue_insns): Don't replace
11048 jumps with returns unless they are jumps to the fallthru block.
11050 Tue Feb 8 07:53:55 2000 Jan Hubicka <jh@suse.cz>
11052 * i386.md (addqi3_cc): Fix contraints.
11054 Tue Feb 8 01:39:45 2000 Hans-Peter Nilsson <hp@bitrange.com>
11056 * function.c (emit_return_into_block): Wrap in #ifdef HAVE_return.
11058 2000-02-07 Mark Mitchell <mark@codesourcery.com>
11060 * cpplib.c (cpp_get_token): Call CPP_BUMP_LINE after reading a
11061 carriage return after a macro name.
11063 2000-02-07 Fred Fish <fnf@be.com>
11065 * i386/beos-elf.h: (ASM_IDENTIFY_GCC): Define to nothing
11066 so the gcc2_compiled symbol doesn't confuse BeOS debuggers.
11068 2000-02-07 Zack Weinberg <zack@wolery.cumb.org>
11070 * cppfiles.c (deps_output): Count spacers in deps_column.
11072 2000-02-07 Neil Booth <NeilB@earthling.net>
11074 * cppinit.c (initialize_dependency_output): If there is no
11075 suffix, don't try to look for known suffixes. Use strrchr.
11076 (cpp_start_read): Remove duplicate initialization.
11078 Mon Feb 7 18:36:41 MET 2000 Jan Hubicka <jh@suse.cz>
11080 * calls.c (compute_argument_block_size): New argument
11081 preferred_stack_boundary.
11082 (expand_call): update cfun->preferred_stack_boundary, update call of
11083 compute_argument_block_size
11084 (emit_library_call): Increate cfun->preferred_stack_boundary
11085 to PREFERRED_STACK_BOUNDARY
11086 (emit_library_call_value): Likewise.
11087 * explow.c (allocate_dynamic_stack_spave): Likewise.
11088 * function.c (prepare_function_start): Set
11089 cfun->preferred_stack_boundary
11090 * function.h (struct function): Add preferred_stack_boundary field.
11091 * integrate.c (expand_inline_function): Update
11092 cfun->preferred_stack_boundary and cfun->stack_alignment_needed.
11093 (copy_rtx_and_substitute): Align frame to stack_alignment_needed only.
11094 * i386.c (compute_frame_size): Use cfun->preferred_stack_boundary.
11096 2000-02-06 Zack Weinberg <zack@wolery.cumb.org>
11098 * cpplib.c (my_strerror, cpp_error, cpp_error_with_line,
11099 cpp_error_from_errno, cpp_warning, cpp_warning_with_line,
11100 cpp_pedwarn, cpp_pedwarn_with_line,
11101 cpp_pedwarn_with_file_and_line): Move to cpperror.c.
11102 (cpp_print_file_and_line, v_cpp_error, v_cpp_warning,
11103 v_cpp_error_with_line, v_cpp_warning_with_line,
11104 cpp_message_from_errno, cpp_perror_with_name): Delete.
11106 * cpperror.c (cpp_print_containing_files): Take starting
11107 buffer as argument.
11108 (cpp_file_line_for_message): Rename to cpp_print_file_and_line.
11109 (v_cpp_message): Now called directly by all entry points.
11111 (cpp_pfatal_with_name, cpp_message): Delete.
11112 (cpp_notice_from_errno, cpp_ice): New functions.
11113 (cpp_notice): Is now for reporting error conditions, just
11114 without an associated file.
11115 (cpp_error, cpp_error_with_line): Don't do anything if
11116 opts->inhibit_errors is on.
11117 (cpp_pedwarn_with_file_and_line): Take column argument also.
11119 * cpplib.h: Update prototypes of exported functions.
11120 (struct cpp_options): Add inhibit_errors.
11122 * cppalloc.c, cppfiles.c: Use fprintf not cpp_notice for
11123 non-error messages. Include intl.h.
11125 * cppinit.c, cppmain.c: Likewise. Also, use
11126 cpp_notice_from_errno instead of cpp_perror_with_name or
11127 cpp_pfatal_with_name, and cpp_notice instead of cpp_message.
11129 * cppexp.c, cpphash.c, cppinit.c, cpplib.c: Use cpp_ice to
11130 report internal errors.
11132 * cpplib.c (do_define): Switch bcopy to memcpy.
11133 Give cpp_pedwarn_with_file_and_line a dummy column argument.
11135 * cpplib.c (copy_rest_of_line): Revert previous change: don't
11136 bail out early if we hit a line comment.
11138 2000-02-06 Richard Henderson <rth@cygnus.com>
11140 * flow.c (flow_delete_insn, make_edge, remove_edge): Export.
11141 * basic-block.h: Declare them.
11142 * emit-rtl.h (active_insn_p): New.
11143 (next_active_insn, prev_active_insn): Use it.
11144 * rtl.h: Declare it.
11145 * function.c (emit_return_into_block): New.
11146 (thread_prologue_and_epilogue_insns): Insert return insns instead
11147 of epilogues when possible.
11148 * jump.c (jump_optimize_1): Remove code to insert a return insn
11149 on the fallthru to the exit block.
11151 * i386.c (ix86_can_use_return_insn_p): Fail for large poped args
11152 and for non-empty stack frames.
11153 * i386.md (return): Expand to return-pop as needed.
11155 2000-02-06 Richard Henderson <rth@cygnus.com>
11157 * simplify-rtx.c (simplify_relational_operation): Canonicalize
11158 constant to op1 for testing.
11160 2000-02-06 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
11162 * config/c4x/c4x.md (*ldi_on_overflow): New pattern.
11163 (fixuns_truncqfqi2): Use it.
11165 2000-02-06 Richard Henderson <rth@cygnus.com>
11167 * i386.c (ix86_agi_dependant): Handle pro_epilogue_adjust_stack
11168 as a TYPE_LEA insn.
11170 * i386.md (widening and peepholes): Mask the constant instead of
11173 2000-02-05 Zack Weinberg <zack@wolery.cumb.org>
11175 * cppfiles.c (read_and_prescan) [case SPECCASE_QUESTION]: Bump
11176 input pointer before possibly branching off to the backslash
11178 * cpphash.c (macroexpand): Correctly delete \r escapes when
11179 stringifying parameters.
11180 * cpplib.c (copy_rest_of_line): Go directly to skip_block_comment
11181 if we can; bail out early if we hit a line comment.
11182 (handle_directive): Treat '# 123' in an .S file just like
11183 '# <punctuation>'. Discard the shifted '#' if we hit '#\n'.
11184 Return 1 for '# not_a_directive'.
11185 (get_directive_token): Pop macro buffers here, so that
11186 cpp_get_token can't sneakily move past a newline.
11188 (cpp_get_token): goto randomchar if handle_directive returns 0.
11190 * cppalloc.c: Update copyright.
11191 * cpplib.c: Merge all the static function prototypes into one
11193 * cpplib.h: Remove #if 0 block.
11195 * cpperror.c: Remove #ifdef EMACS block.
11196 * cppmain.c: Likewise.
11197 * cpphash.c: Remove #if 0 blocks.
11198 * cppinit.c: Remove #if 0 blocks, and the -lint option.
11199 * cpplib.c: Remove #if 0 blocks and code referencing
11200 pcp_inside_if or for_lint. Remove duplicate error message.
11201 Fix error messages for #else after #else or #elif. Reformat.
11202 Remove archaic TODO list.
11203 * cpplib.h: Remove pcp_inside_if and for_lint flags.
11205 2000-02-05 Zack Weinberg <zack@wolery.cumb.org>
11207 * i386/osf1elf.h: Add missing backslash to multiline string.
11209 2000-02-05 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
11211 * longlong.h [sparc] (udiv_qrnnd): Avoid stringifying macro arg.
11213 2000-02-05 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
11215 * Makefile.in (c-common.o): Depend on $(EXPR_H).
11217 * c-common.c: Include expr.h.
11219 * c-pragma.c (mark_align_stack): Add prototype.
11221 * caller-save.c (add_stored_regs): Likewise.
11223 * combine.c (record_promoted_value): Likewise.
11225 * i386.c (ix86_sched_reorder_pentium, ix86_sched_reorder_ppro):
11228 * cppinit.c (new_pending_define): Likewise.
11230 * cpplib.c (skip_block_comment, skip_line_comment): Likewise.
11232 * dwarf2out.c (save_rtx, splice_child_die, reverse_die_lists,
11233 AT_class, AT_flag, AT_int, AT_unsigned, AT_string, AT_ref, AT_loc,
11234 AT_addr, AT_lbl, get_AT_ref, free_AT, free_die, local_scope_p,
11235 class_scope_p): Likewise.
11237 * dwarf2out.h (dwarf2out_set_demangle_name_func,
11238 dwarf2out_add_library_unit_info): Likewise.
11240 * ggc.h (ggc_page_print_statistics): Likewise.
11242 * haifa-sched.c (propagate_deps): Likewise.
11244 * reg-stack.c (next_flags_user, record_label_references): Likewise.
11246 * rtl.h (set_stack_check_libfunc): Likewise.
11248 * toplev.h (set_fatal_function): Likewise.
11250 * toplev.c (set_fatal_function): Delete prototype.
11252 * diagnostic.c: Deconstify functions returning malloc'ed ptrs.
11254 2000-02-05 Geoff Keating <geoffk@cygnus.com>
11256 * ginclude/ppc-asm.h (FUNC_START): Use USER_LABEL_PREFIX.
11257 (FUNC_END): Likewise.
11259 2000-02-05 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
11261 * caller-save.c: Include tm_p.h.
11263 2000-02-05 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
11265 * Makefile.in (libgcc.a): Add $(LIBGCC1) to libgcc.a after $(LIBGCC2).
11267 2000-02-04 Neil Booth <NeilB@earthling.net>
11269 * cccp.c (main): Check 'dir' for a NULL pointer before passing
11272 2000-02-04 Zack Weinberg <zack@wolery.cumb.org>
11274 * recog.h: Remove NO_MD_PROTOTYPES ifdefs.
11275 * genflags.c: Use the max_operand_1 logic from genemit.c to
11276 calculate how many arguments gen_insn prototypes have. Remove
11277 NO_MD_PROTOTYPES ifdefs from the generated file.
11278 * genoutput.c: Don't define NO_MD_PROTOTYPES in the generated
11279 file. Cast gen_insn initializers to insn_gen_fn.
11280 * config/alpha/vms.h: Don't define NO_MD_PROTOTYPES.
11281 * gcc.texi: Remove documentation of NO_MD_PROTOTYPES.
11283 2000-02-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
11285 * fixinc/Makefile.in (HDR): Add machname.h.
11288 2000-02-05 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
11290 * config/c4x/c4x.h (c4x_compare_op0, c4x_compare_op1): Move ...
11291 (c4x_regclass_map, c4x_caller_save_map, c4x_rpts_cycles): Ditto.
11292 (c4x_cpu_version): Ditto.
11293 * config/c4x/c4x-protos.h: ... here.
11295 2000-02-04 Jason Merrill <jason@casey.cygnus.com>
11297 * dwarf2out.c (add_abstract_origin_attribute): Don't call
11298 gen_abstract_function on our context if we're a nested function.
11300 2000-02-05 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
11302 * config/c4x/c4x.md (fixuns_truncqfqi2): Rewrite.
11303 * config/c4x/libgcc.S (ufix_truncqfhi2n): Fix.
11305 2000-02-04 Bruce Korb <bkorb@gnu.org>
11307 * fixinc/genfixes(machname.h):
11308 Move the functionality from gen-machine.h into this file.
11309 UNdef MN_NAME_PAT if there are no names to change.
11310 Also, be a little kinder when AutoGen is not present.
11312 * fixinc/Makefile.in(machname.h):
11313 Change the generation rule to use genfixes.
11315 * fixinc/fixfixes.c(machine_name):
11316 machine_name_fix's functionality now dependent upon whether
11317 MN_NAME_PAT is defined.
11319 * fixinc/fixtests.c(machine_name):
11322 * fixinc/fixlib.c(mn_get_regexps): conditional on definition
11325 * fixinc/fixlib.h(mn_get_regexps):
11328 * fixinc/gen-machine.h: DELETED
11330 2000-02-04 Jan Hubicka <jh@suse.cz>
11331 Richard Henderson <rth@cygnus.com>
11333 * i386.c (SAVE_REGS_FIRST): Remove.
11334 (ix86_initial_elimination_offset): Handle only SAVE_REGS_FIRST mode.
11335 (ix86_compute_frame_size): Likewise.
11336 (ix86_expand_prologue): Likewise. Use pro_epilogue_adjust_stack.
11337 (ix86_emit_restore_regs): Remove.
11338 (ix86_emit_epilogue_esp_adjustment): Use pro_epilogue_adjust_stack
11339 when a frame pointer is in use.
11340 (ix86_expand_epilogue): Handle only SAVE_REGS_FIRST mode. Use mov
11341 instead of pop to restore a register when profitable; emit leave
11343 (ix86_attr_length_default): Handle pro_epilogue_adjust_stack
11344 as a TYPE_LEA insn.
11345 (ix86_adjust_cost): Handle pro_epilogue_adjust_stack as TYPE_ALU.
11346 * i386.md (prologue_allocate_stack): Remove.
11347 (epilogue_deallocate_stack): Remove.
11348 (pro_epilogue_adjust_stack): New.
11350 2000-02-04 Richard Henderson <rth@cygnus.com>
11352 * function.c (diddle_return_value): Rework to use a callback function.
11353 Use current_function_return_rtx if it's been set up.
11354 (do_clobber_return_reg, clobber_return_register): New.
11355 (do_use_return_reg, use_return_register): New.
11356 (expand_function_end): Use them.
11357 * stmt.c (expand_null_return): Likewise.
11358 * function.h: Declare them.
11359 * flow.c (mark_regs_live_at_end): Use diddle_return_value.
11360 (mark_reg): Change arguments as appropriate for callback.
11361 * integrate.c (expand_inline_function): Revert 19 Jan change.
11363 Fri Feb 4 20:25:42 2000 Hans-Peter Nilsson <hp@bitrange.com>
11365 * tm.texi (Values in Registers): Fix typo: "fo" "for".
11366 (Misc): Say the scheduler, not the Haifa scheduler.
11368 2000-02-04 Clinton Popetz <cpopetz@cygnus.com>
11370 * jump.c (mark_jump_label): Add in_mem param, check SYMBOL_REFs
11371 when in_mem is set. Update all callers.
11373 2000-02-04 Richard Henderson <rth@cygnus.com>
11375 * i386/openbsd.h (INT_ASM_OP): Define.
11377 Fri Feb 4 10:51:30 2000 Hans-Peter Nilsson <hp@bitrange.com>
11379 * tm.texi: Fix various typos.
11381 Thu Feb 3 17:17:32 2000 Steve Ellcey <sje@cup.hp.com>
11383 * config/pa/pa-hpux11.h (LIB_SPEC): Correct typo in !p case.
11384 (MD_STARTFILE_PREFIX_1): New macro.
11386 Thu Feb 3 15:08:13 MET 2000 Jan Hubicka <jh@suse.cz>
11388 * i386.md (movstrsi, clrstrsi): Support variable sized copies, align
11389 destination when needed.
11390 (strmovsi, strsetsi): New expander.
11391 (strmovsi_1, strsetsi_1): New pattern.
11392 * i386.h (MASK_NO_ALIGN_STROP, MASK_INLINE_ALL_STROP,
11393 TARGET_ALIGN_STRINGOPS, TARGET_INLINE_ALL_STRINGOPS): New macros.
11394 (TARGET_SWITCHES) Add align-stringops and inline-all-stringops.
11395 * invoke.texi (align-stringops, inline-all-stringops): Document.
11397 Wed Feb 2 23:04:47 2000 Krister Walfridsson <cato@df.lth.se>
11399 * i386/netbsd.h (INT_ASM_OP): Define.
11401 2000-02-02 Zack Weinberg <zack@wolery.cumb.org>
11403 * cpplib.h (cpp_reader): Add new flag, no_directives.
11404 * cpphash.c (macarg): Set it.
11405 * cpplib.c (handle_directive): If no_directives is on and we
11406 find a directive, issue an error and discard the line.
11408 Wed Feb 2 13:07:10 2000 Jim Wilson <wilson@cygnus.com>
11410 * config/sparc/sparc.h (PREFERRED_RELOAD_CLASS): Delete 'E' check for
11411 FP constants. Add ! TARGET_FPU check for FP constants.
11413 2000-02-02 Clinton Popetz <cpopetz@cygnus.com>
11415 * flow.c (find_basic_blocks): Don't kill label_value_list
11417 (cleanup_cfg): Kill it here.
11419 Wed Feb 2 08:12:30 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
11421 * expr.c (store_field): Ensure ALIGN is no stricter than the
11424 2000-02-02 Richard Henderson <rth@cygnus.com>
11426 * jump.c (delete_insn): Partially revert 19 Jan change;
11427 don't convert unused code labels to notes at -O0.
11429 2000-02-02 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
11431 * toplev.c (rest_of_compilation): Run rebuild_jump_labels after
11432 split_all_insns to recreate REG_LABEL notes for flow2 pass.
11434 2000-02-01 Richard Henderson <rth@cygnus.com>
11436 * i386.c (general_no_elim_operand): New.
11437 (nonmemory_no_elim_operand): New.
11438 (ix86_expand_move): Copy eliminable operands before a push.
11439 * i386-protos.h: Declare new functions.
11440 * i386.h (CAN_ELIMINATE): Simplify.
11441 (PREDICATE_CODES): Update.
11442 * i386.md (push insns): Don't allow eliminable register operands.
11444 2000-02-01 Richard Henderson <rth@cygnus.com>
11446 * flow.c (mark_regs_live_at_end): Follow expand_function_end and
11447 replace BLKmode with DECL_RTL's mode.
11449 2000-02-01 Zack Weinberg <zack@wolery.cumb.org>
11451 * frame.c (find_fde): Convert for loop to do-while so compiler
11452 sees it's always executed at least once.
11453 * libgcc2.c (BBINBUFSIZE): Kill.
11454 (__bb_init_prg): Use fgets.
11455 (__bb_exit_trace_func): Don't paste strings.
11456 * unroll.c (unroll_loop): Initialize unroll_type, not
11457 unroll_number, and tweak logic to match.
11459 * i386.c (ix86_expand_int_movcc): Add explicit 'return 0' in
11461 (ix86_flags_dependant): Likewise. Disentangle control flow.
11462 (ix86_sched_reorder): Break guts out to
11463 ix86_sched_reorder_pentium and ix86_sched_reorder_ppro.
11464 (ix86_sched_reorder_ppro): Initialize pair2 and insnp before
11467 * i386.h (MACHINE_STATE_SAVE, MACHINE_STATE_RESTORE): Don't
11468 use string concatenation. Don't save and restore esi.
11470 * fixinc/Makefile.in (fixincl.sh): Don't depend on inclhack.def.
11471 (machname.h): Remove script to separate file. Use two-step
11472 sequence so target is not created if script fails.
11473 * fixinc/gen-machname.h: New file. Handle case where no non-reserved
11474 identifiers are defined.
11475 * fixinc/fixlib.c (mn_get_regexps): Return a flag: if MN_NAME_PAT is
11476 an empty string, machine_name doesn't need to do anything at
11478 (is_cxx_header): Add more cases to regexp.
11479 * fixinc/fixlib.h: Update prototype.
11480 * fixinc/fixtests.c, fixinc/fixfixes.c: Update callers of
11482 * fixinc/fixincl.c: Define NO_BOGOSITY.
11484 * fixinc/inclhack.def (no_double_slash, else_endif_label): Ifdef out.
11485 (hp_sysfile): Add missing comma.
11486 (math_exception): Put the wrapper ifdefs at the beginning and
11487 the end of the file.
11488 * fixinc/fixincl.x, fixinc/inclhack.sh: Regenerate.
11490 2000-02-01 Richard Henderson <rth@cygnus.com>
11492 * sparc.c (fp_zero_operand): Turn into a normal predicate.
11493 Use CONST0_RTX. Update all callers.
11494 * sparc.h, sparc-protos.h: Update accordingly.
11495 * sparc.md (fp mov insns): Use fp_zero_operand directly
11498 Wed Feb 2 02:59:45 2000 Hans-Peter Nilsson <hp@bitrange.com>
11500 * tm.texi (Values in Registers): Fix typo in HARD_REGNO_NREGS
11503 2000-02-01 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
11505 * Makefile.in (specs.ready): New target.
11506 (fixinc.sh): Depend on `specs.ready' instead of `specs'.
11508 2000-02-01 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
11510 * fixinc.irix: Use unique filenames for writing into /tmp,
11511 * fixinc.ptx: Likewise.
11512 * fixinc.sco: Likewise.
11513 * fixinc.svr4: Likewise.
11514 * fixinc.winnt: Likewise.
11516 2000-02-01 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
11518 * tsystem.h: New file.
11520 * Makefile.in (libgcc2.a, stmp-multilib, crtbegin.o, crtend.o,
11521 s-crtS): Depend on tsystem.h.
11523 * crtstuff.c: Include tsystem.h.
11524 * frame.c: Likewise.
11525 * libgcc2.c: Likewise.
11527 Tue Feb 1 19:53:27 CET 2000 Jan Hubicka <jh@suse.cz>
11529 * builtins.c (expand_builtin_memset): Expand for variable sized
11532 2000-02-01 David Billinghurst <David.Billinghurst@riotinto.com.au>
11534 * config/mips/iris6.h (SUBTARGET_ASM_SPEC) : Default ISA based
11537 Tue Feb 1 00:57:40 2000 Hans-Peter Nilsson <hp@bitrange.com>
11539 * dwarfout.c (SHORT_TYPE_SIZE): Correct default.
11541 * tm.texi (Type Layout): Correct entry for CHAR_TYPE_SIZE.
11543 2000-01-31 Chandra Chavva <cchavva@cygnus.com>
11545 * combine.c (try_combine) [HAVE_cc0]: Trying to check the missed
11546 case 3->2 combining (combining with splitting) in which 2 is CC0
11547 setter/user and 3 is user. The rest of cases 2->1 and 3->2 are
11548 checked at the begining of the function with the aid of calling
11549 function 'can_combine_p'.
11551 2000-01-31 Dave Brolley <brolley@redhat.com>
11553 * cccp.c (struct argdata): Redeclare 'newlines' field as 'int'.
11555 2000-01-31 Jason Merrill <jason@casey.cygnus.com>
11557 * jump.c (redirect_jump): Move a NOTE_INSN_FUNCTION_END to the
11560 2000-01-31 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
11562 * gansidecl.h (PROTO, VPROTO, PVPROTO): Delete macros.
11564 * sbitmap.h (sbitmap_first_set_bit, sbitmap_last_set_bit):
11567 2000-01-30 Zack Weinberg <zack@wolery.cumb.org>
11569 * i386/386bsd.h, i386/beos-pe.h, i386/bsd386.h, i386/crtdll.h,
11570 i386/cygwin.h, i386/dgux.h, i386/djgpp-rtems.h, i386/djgpp.h,
11571 i386/freebsd.h, i386/gnu.h, i386/i386-aout.h, i386/i386-coff.h,
11572 i386/i386-interix.h, i386/i386elf.h, i386/linux.h, i386/lynx-ng.h,
11573 i386/lynx.h, i386/mach.h, i386/mingw32.h, i386/moss.h,
11574 i386/netbsd.h, i386/next.h, i386/openbsd.h, i386/osf1elf.h,
11575 i386/ptx4-i.h, i386/rtems.h, i386/rtemself.h, i386/sco.h,
11576 i386/sequent.h, i386/sun.h, i386/sysv4.h, i386/uwin.h, i386/vsta.h,
11577 i386/vxi386.h, i386/win-nt.h, i386/win32.h:
11578 Remove -Di386 -Acpu(i386) -Amachine(i386) from CPP_PREDEFINES.
11580 * i386/osf1elf.h, i386/scodbx.h, i386/seq-sysv3.h, i386/sysv5.h:
11581 Add %(cpp_cpu) to CPP_SPEC.
11583 * i386/osf1elf.h, i386/osfelf.h, i386/osfrose.h:
11584 Add %(cc1_cpu) to CC1_SPEC.
11586 2000-01-28 Ulrich Drepper <drepper@redhat.com>
11588 * c-decl.c (c_decode_option): Accept optional numeric argument to
11589 -Wformat and set warn_format.
11590 * c-common.c: Don't emit warning about non-constant printf format
11591 string unless warn_format > 1.
11593 2000-01-30 Richard Henderson <rth@cygnus.com>
11595 * alpha.md (return_internal): Allow after reload only.
11597 2000-01-30 Richard Henderson <rth@cygnus.com>
11599 * i386.c (ix86_compute_frame_size): Omit padding1 if the
11600 local frame size is zero.
11602 2000-01-30 Richard Henderson <rth@cygnus.com>
11604 * alpha.c (alpha_expand_epilogue): Don't emit the return insn.
11605 * alpha.h (EPILOGUE_USES): New. Mark $26 live.
11606 * alpha.md (return): Turn into an expander.
11607 (return_internal): Don't use $26.
11608 (epilogue): Emit the return insn.
11610 2000-01-30 Richard Henderson <rth@cygnus.com>
11612 * alpha.md (negtf2, abstf2): Fix word order thinko.
11613 (extendsftf2): New.
11614 (trunctfsf2): Avoid intermediate rounding errors.
11616 2000-01-30 Zack Weinberg <zack@wolery.cumb.org>
11618 * cppfiles.c (find_position): Drop 'colp' argument, return the
11620 (read_and_prescan): Adjust to match. Don't ever manipulate
11621 line or line_base except via find_position.
11623 2000-01-29 Zack Weinberg <zack@wolery.cumb.org>
11625 * c-parse.in: Apply Ulrich's changes from c-parse.y.
11626 * c-parse.y, objc/objc-parse.y, c-parse.c, objc/objc-parse.c:
11629 2000-01-29 Zack Weinberg <zack@wolery.cumb.org>
11631 * cpperror.c (cpp_file_line_for_message): If 'line' is zero,
11632 just print "<command line>". If 'filename' is null or an
11633 empty string, print "<stdin>" for the filename.
11634 * cpplib.c (do_define): Don't print the 'location of the
11635 previous definition' message if we're still parsing the
11637 (cpp_pedwarn_with_file_and_line): Always call
11638 cpp_file_line_for_message.
11640 2000-01-29 Mark Mitchell <mark@codesourcery.com>
11642 * flow.c (mark_regs_live_at_end): Fix typo.
11644 2000-01-28 Ulrich Drepper <drepper@redhat.com>
11646 * c-common.c: Adjust variable names, comments, help strings to c99.
11647 * c-lex.c: Likewise.
11648 * c-parse.y: Likewise.
11649 * c-tree.h: Likewise.
11650 * cccp.c: Likewise.
11651 * cpplib.h: Likewise.
11652 * c-decl.c: Likewise. Recognize options with names "*99" as well.
11653 * cppinit.c: Likewise.
11655 2000-01-29 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
11657 * c4x.h (INIT_TARGET_OPTABS): Add all missing local optab entries.
11658 * c4x.c: Define the optab rtx values.
11659 (c4x_add_gc_roots): Add the ggc roots for these optab rtx values.
11660 (c4x_emit_libcall): Use new optab rtx values.
11661 (c4x_emit_libcall3): Likewise.
11662 (c4x_emit_libcall_mulhi): Likewise.
11663 * c4x-protos.h: Add prototypes for optab rtx values and change
11664 prototypes for above c4x_emit_libcall functions.
11666 2000-01-29 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
11668 * c4x.c (c4x_output_ascii): Restrict line length of output when TI
11670 (c4x_function_prologue): Use regnames intead of float_reg_names when
11672 (c4x_function_epilogue): Likewise.
11673 (c4x_print_operand): Likewise.
11674 * c4x.h (HOST_WIDE_INT_PRINT_HEX): Redefine.
11675 * c4x.md (set_high): Disable for TARGET_TI.
11677 2000-01-29 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
11679 * c4x.h (PREFERRED_RELOAD_CLASS): Change to restrict the reloading
11680 of framepointer + constant to ADDR_REGS class.
11681 * c4x.md (addqi3, addqi3_noclobber_reload): Update.
11682 * c4x.c (std_or_reg_operand): New function.
11683 * c4x-protos.h (std_or_reg_operand): Prototype it.
11685 2000-01-29 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
11687 * t-c4x: Change qi,qf,di,df into si,sf,hi,hf to generate same
11688 object names as libgcc2.c.
11689 * libgcc.S: Use newly defined names.
11691 Fri Jan 7 19:48:04 CET 2000 Jan Hubicka <jh@suse.cz>
11692 * sbitmap.c (sbitmap_first_set_bit, sbitmap_last_set_bit): New
11694 * sbitmap.h (sbitmap_first_set_bit, sbitmap_last_set_bit): Declare.
11695 * basic_block.h (FLOW_LOOP_FIRST_BLOCK): New macro.
11696 (FLOW_LOOP_LAST_BLOCK): Likewise.
11698 2000-01-21 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
11700 * basic-block.h (struct loop): New fields 'first' and 'last'.
11701 * flow.c (flow_loops_find): Compute loop->first and loop->last.
11702 (flow_loops_dump): Use loop->first to check for NOTE_INSN_LOOP_BEG
11703 and loop->last to check for NOTE_INSN_LOOP_END.
11705 Fri Jan 28 10:57:58 2000 Jason Eckhardt <jle@cygnus.com>
11707 * predict.c (estimate_probability): Use the new FIRST and LAST fields
11708 of the loop descriptor rather than HEADER and LATCH. Also added
11709 missing break statements as well making some coding style modifications
11710 as suggested by Michael Hayes.
11712 2000-01-28 Richard Henderson <rth@cygnus.com>
11714 * flow.c (find_basic_blocks): Remove do_cleanup argument.
11715 Break out that code ...
11716 (cleanup_cfg): ... here.
11717 (commit_one_edge_insertion): Detect a return instruction being
11718 emitted to an edge. Emit a barrier following; clear fallthru.
11719 (commit_edge_insertions): Verify CFG consistency.
11720 * function.c (expand_function_start): Kill unused variable.
11721 (expand_function_end): Likewise.
11722 (thread_prologue_and_epilogue_insns): Use insert_insn_on_edge
11723 to insert the epilogue.
11725 * gcse.c (gcse_main): Adjust for find_basic_blocks change.
11726 (delete_null_pointer_checks): Likewise.
11727 * output.h: Likewise.
11728 * reg-stack.c (reg_to_stack): Likewise.
11729 * toplev.c (rest_of_compilation): Likewise. Run
11730 thread_prologue_and_epilogue_insns after rebuilding the CFG.
11732 2000-01-28 Richard Henderson <rth@cygnus.com>
11734 * Makefile.in (flow.o): Revert 24 Jan change.
11735 * flow.c (mark_regs_live_at_end): Likewise. Force BLKmode
11736 FUNCTION_VALUE result to DECL_RESULT's mode.
11738 * haifa-sched.c (schedule_insns): Don't recompute reg info
11741 2000-01-28 Zack Weinberg <zack@wolery.cumb.org>
11743 * configure.in: Make --enable-cpplib the default.
11744 * configure: Regenerate.
11745 * gcc.dg/990119-1.c: No longer expected to fail.
11747 2000-01-28 Bernd Schmidt <bernds@cygnus.co.uk>
11749 * jump.c (jump_optimize_1): Delete an optimization that is also done
11750 by merge_blocks in flow.
11752 2000-01-28 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
11754 * diagnostic.c (build_message_string, output_printf,
11755 line_wrapper_printf): Add ATTRIBUTE_PRINTF_*.
11756 (build_location_prefix): Fix non-literal format string.
11758 2000-01-27 Richard Henderson <rth@cygnus.com>
11760 * alpha.md (trunctfsf2): New.
11762 2000-01-27 Andrew Hobson <ahobson@eng.mindspring.net>
11764 * configure.in (alpha-dec-osf5): Enable MASK_SUPPORT_ARCH.
11766 2000-01-27 Zack Weinberg <zack@wolery.cumb.org>
11768 * cppinit.c (cpp_handle_option): Recognize C++ comments under
11770 * cpplib.c (skip_block_comment, skip_line_comment): Split code
11772 (skip_comment) ... here. Permit C++ comments in system
11773 headers always. Warn about C++ comments in user code under
11774 -std=gnu89 -pedantic.
11775 (copy_comment): Use skip_comment.
11776 (cpp_skip_hspace, cpp_get_token): skip_comment can no longer
11778 (consider_directive_while_skipping, do_else, do_endif): Call
11779 validate_else unconditionally.
11780 (validate_else): Check CPP_PEDANTIC here. Accept non-comment
11781 text after the conditional in a system header.
11782 * cpplib.h (struct cpp_buffer): Add flag
11783 warned_cplusplus_comments.
11785 2000-01-27 Geoffrey Keating <geoffk@cygnus.com>
11787 * emit-rtl.c (unshare_all_rtl): Unshare virtual parameters too.
11788 Use unshare_all_rtl_1.
11789 (unshare_all_rtl_again): New function.
11790 (unshare_all_rtl_1): New function split out of unshare_all_rtl.
11792 * function.c (purge_addressof_1): Use unshare_all_rtl_again
11793 rather than resetting the 'used' flags ourself.
11795 * toplev.c (rest_of_compilation): Add current_function_decl
11796 to the unshare_all_rtl call.
11797 * tree.h: Prototype unshare_all_rtl.
11798 * rtl.h: Prototype unshare_all_rtl_again here.
11800 2000-01-27 Geoffrey Keating <geoffk@cygnus.com>
11802 * genoutput.c (output_prologue): Include ggc.h in generated
11804 * Makefile.in (insn-output.o): Depends on ggc.h.
11806 2000-01-27 Ian Dall <ian@sibyl.beware.dropbear.id.au>
11807 Hans-Peter Nilsson <hp@bitrange.com>
11809 * ns32k/xm-ns32k.h (memcpy, memset, memcmp): Delete.
11810 Remove redundant include of xm-ns32k.h.
11811 * ns32k/xm-genix.h (memcpy, memset, memcmp): Add definitions.
11812 Remove redundant include of xm-ns32k.h.
11813 * ns32k/xm-netbsd.h (memcpy, memset, memcmp): No longer undefine.
11814 Remove redundant include of xm-ns32k.h.
11815 * ns32k/netbsd.h (TARGET_DEFAULT): Enable multiply-add instructions.
11817 * ns32k/ns32k.h: Update comment on multiply-add instructions.
11818 (TARGET_SWITCHES): Add documentation strings.
11819 (DWARF_FRAME_REGNUM): Override default definition.
11820 (REG_CLASS_CONTENTS): Add comments.
11821 (SUBSET_P): Format to reduce line length.
11822 (SMALL_REGISTER_CLASSES): Make a run time option.
11823 (GO_IF_NONINDEXED_ADDRESS): Reformat.
11824 (GO_IF_LEGITIMATE_ADDRESS): Ensure that cfun is non NULL before
11825 dereferencing it. Braces to avoid "ambiguous else" were misplaced.
11826 (regclass_map): fix typo in comment.
11827 * ns32k/ns32k.c: Add spaces before parentheses for consistant style.
11828 Prefer gen_rtx_FOO(...) to gen_rtx(FOO,...).
11829 (trace, reg_or_mem_operand): Delete, unused function.
11830 (calc_address_cost): Small offsets are cheaper than large ones.
11831 (expand_block_move): Generate more efficient code when bytes is a
11832 known at compile time.
11833 * ns32k/ns32k.md: Alternate constraints for multiply-add instructions.
11834 (udivmodsi4, udivmodhi4, udivmodqi4): Use nonimmediate_operand
11835 instead of reg_or_mem_operand.
11837 * ns32k/ns32k.md: Use nonimmediate_operand or stricter for outputs,
11838 not general_operand. Similarly use "=rm" or stricter, not "=g".
11839 For input operands, use stricter constraints than "g" if not
11840 general_operand. Similarly use stricter predicate than
11841 "general_operand" when stricter constraints than "g" are present,
11842 except for matching constraints.
11843 (movstrsi): Use "memory_operand" for operands 0 and 1.
11844 (truncsiqi2, truncsihi2, trunchiqi2): Remove.
11845 (udivmoddisi4_internal): Use nonimmediate_operand for operand 0,
11846 not reg_or_mem_operand.
11847 (udivmoddisi4): Ditto.
11848 Use nonimmediate_operand for operand 1, not reg_or_mem_operand.
11849 Use nonimmediate_operand for operand 3, not register_operand.
11850 (udivmoddiqi4_internal): Use register_operand for operand 1, not
11851 reg_or_mem_operand.
11853 2000-01-27 Fred Fish <fnf@be.com>
11855 * gthr-posix.h: Fix typo; compatibily -> compatibility.
11856 * gthr-single.h: Likewise.
11857 * gthr-solaris.h: Likewise.
11858 * gthr-vxworks.h: Likewise.
11859 * gthr-win32.h: Likewise.
11860 * gthr.h: Likewise.
11862 2000-01-27 Zack Weinberg <zack@wolery.cumb.org>
11864 * cppinit.c: Add " (cpplib)" to end of string printed by
11867 2000-01-27 Richard Henderson <rth@cygnus.com>
11869 * alpha.c (alpha_emit_conditional_move): Use VOIDmode when
11870 testing for a signed comparison.
11871 (alpha_emit_floatuns): New.
11872 * alpha-protos.h: Declare it.
11873 * alpha.md (floatunsdisf2, floatunsdidf2): New.
11874 (extendsfdf2): Tidy.
11876 2000-01-27 Jakub Jelinek <jakub@redhat.com>
11878 * config/sparc/linux64.h (CC1_SPEC): If compiling -m32 with -g but
11879 no -g option specifying debugging format, default to -gstabs+.
11881 Wed Jan 26 22:19:14 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
11883 * calls.c (special_function_p): New argument fork_or_exec.
11884 (expand_call): When profile_arc_flag is set and the function
11885 is in the fork_or_exec group, call __bb_fork_func first.
11886 * libgcc2.c, _bb module (__bb_fork_func): New function.
11887 (__bb_exit_func): If fcntl F_SETLKW is available, use it to lock
11889 * config/svr4.h (TARGET_HAS_F_SETLKW): Define.
11890 * tree.h (special_function_p): Update prototype.
11892 2000-01-26 Richard Henderson <rth@cygnus.com>
11894 * alpha.c (alpha_split_tfmode_pair): New.
11895 * alpha-protos.h: Declare it.
11896 * alpha.md (abstf2, negtf2): New.
11897 (movtf insn): Add input G constraint.
11898 (movtf splitter): Use alpha_split_tfmode_pair.
11900 2000-01-26 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
11902 * i386/cygwin.h: PROTO -> PARAMS.
11904 2000-01-26 Jakub Jelinek <jakub@redhat.com>
11906 * config/sparc/sparc.c (sparc_emit_float_lib_cmp): Handle
11907 TARGET_ARCH32 again. Handle ORDERED, UN* and LTGT comparisons
11908 using _Qp_cmp/_Q_cmp and testing the return value.
11909 (print_operand): Call reverse_condition_maybe_unordered if
11910 we are handling CCFPmode or CCFPEmode.
11911 Handle ORDERED, UN* and LTGT comparisons.
11912 * config/sparc/sparc.md (cmptf): Use even on TARGET_ARCH32
11913 if not TARGET_HARD_QUAD.
11914 (seq, sne, sgt, slt, sge, sle, beq, bne, bgt, blt, bge, ble,
11915 bunordered, bordered, bungt, bunlt, buneq, bunge, bunle, bltgt):
11916 Call sparc_emit_float_lib_cmp even on TARGET_ARCH32.
11917 Adjust gen_b* calls so that they reflect return comparison of
11918 sparc_emit_float_lib_cmp.
11920 2000-01-26 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
11922 * config/alpha/alpha.c (alpha_emit_xfloating_cvt): Do not assume
11923 incoming operands array is large enough for one more operand.
11924 (alpha_emit_xfloating_arith): Likewise.
11926 2000-01-25 Zack Weinberg <zack@wolery.cumb.org>
11928 * fixinc/Makefile.in (machname.h): SunOS 4 sed can't handle a
11929 file with one line and no trailing newline.
11930 Patch by Kaveh Ghazi <ghazi@caip.rutgers.edu>.
11931 * fixinc/fixtests.c (machine_name_test): Fix fencepost error
11932 checking if the match is on the line.
11933 * fixinc/gnu-regex.c: Provide regerror not __regerror.
11935 2000-01-25 Richard Henderson <rth@cygnus.com>
11937 * sparc.c (output_cbranch): Fix accidental squashing of the
11938 fp branch pre-delay nop.
11940 2000-01-25 Richard Henderson <rth@cygnus.com>
11942 * tree.def (UNNE_EXPR): Remove.
11943 * c-typeck.c (build_binary_op): Don't handle it.
11944 * expr.c (expand_expr, do_jump, do_store_flag): Likewise.
11946 * rtl.def (UNNE): Remove.
11948 * jump.c (reverse_condition): Update accordingly.
11949 (swap_condition): Likewise.
11950 (comparison_dominates_p): Handle unordered comparisons.
11951 (reverse_condition_maybe_unordered): New.
11952 * rtl.h (reverse_condition_maybe_unordered): Declare.
11954 * sparc.c (select_cc_mode): Update for UNNE/LTGT.
11955 (output_cbranch): Use reverse_condition_maybe_unordered and LTGT.
11956 * sparc.h (REVERSIBLE_CC_MODE): Always true. Update docs.
11957 * sparc.md (bltgt): New.
11959 2000-01-25 Nick Clifton <nickc@redhat.com>
11961 * emit-rtl.c (emit_insn): Only check machine class insns for
11962 improper emission of a RETURN.
11964 2000-01-25 Richard Henderson <rth@cygnus.com>
11966 * Makefile.in (flow.o): Depend on $(EXPR_H).
11967 * flow.c (mark_regs_live_at_end): Use hard_function_value, i.e.
11968 duplicate the structure of diddle_return_value for keeping regs live.
11970 2000-01-26 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
11972 * loop.c (current_loop_info): Delete.
11973 (consec_sets_invariant_p): Add loop argument, update callers.
11974 (get_condition_for_loop): Likewise.
11975 (count_nonfixed_reads, update_giv_derive): Likewise.
11976 (simplify_giv_expr, general_induction_var): Likewise.
11977 (consec_sets_giv, recombine_givs): Likewise.
11978 (move_movables): Delete loop_start and loop_end arguments,
11979 add loop argument, and update callers.
11980 (find_mem_givs, check_final_value): Likewise.
11981 (record_giv, maybe_eliminate_biv, maybe_eliminate_biv_1): Likewise.
11982 (loop_invariant_p): Rename from invariant_p, add loop argument, and
11984 (basic_induction_var): Add loop argument, delete loop_level argument,
11985 and update callers.
11986 * unroll.c (iteration_info): Delete loop_start and loop_end arguments,
11987 add loop argument, and update callers.
11988 (find_splittable_regs, find_splittable_givs): Likewise.
11989 (reg_dead_after_loop, loop_find_equiv_value): Likewise.
11990 (final_biv_value, final_giv_value, back_branch_in_range_p): Likewise.
11991 (biv_total_increment): Delete loop_start and loop_end arguments;
11993 (precondition_loop_p): Delete loop_start and loop_info arguments;
11995 * loop.h (get_condition_for_loop): Add loop argument.
11996 (biv_total_increment): Delete loop_start and loop_end arguments.
11997 (precondition_loop_p): Delete loop_start and loop_info arguments;
11999 (final_biv_value): Delete loop_start and loop_end arguments;
12001 (final_giv_value, back_branch_in_range_p): Likewise.
12003 2000-01-25 Gavin Romig-Koch <gavin@cygnus.com>
12005 * config/mips/mips.h (LEGITIMATE_CONSTANT_P): Fix for mips16.
12007 2000-01-25 Gavin Romig-Koch <gavin@cygnus.com>
12009 * Makefile.in (c-gperf.h) : Change the "See" pointer to
12010 point to the new "generated_files" doc.
12012 2000-01-25 Clinton Popetz <cpopetz@cygnus.com>
12014 * config/fp-bit.c (_unord_f2): Fix typo.
12016 2000-01-25 Zack Weinberg <zack@wolery.cumb.org>
12018 * c-common.c, c-decl.c, c-lang.c, c-lex.c, c-parse.in, c-pragma.c,
12019 c-typeck.c, objc/objc-act.c: Remove all references to obstack
12020 functions obsoleted by GC, such as push_obstacks_nochange,
12021 end_temporary_allocation, savealloc, saveable_tree_cons, etc.
12022 and code which existed only to decide whether or not to call
12023 them. Remove now-unused NESTED argument from start_function;
12024 all callers changed. Do not change behavior based on ggc_p.
12025 The use of the ixp_obstack in c-iterate.c and the util_obstack
12026 in objc/objc-act.c remain; these are not obsoleted by garbage
12028 * c-tree.h: Update prototype for start_function.
12030 * c-parse.y, c-parse.c, objc/objc-parse.c, objc/objc-parse.y: Rebuild.
12032 2000-01-25 Clinton Popetz <cpopetz@cygnus.com>
12034 * config/mips/mips.md (zero_extendsidi2_internal): Disable for
12037 2000-01-25 Richard Henderson <rth@cygnus.com>
12039 * sparc-protos.h (select_cc_mode): Declare.
12040 * sparc.c (select_cc_mode): New. Handle unordered compares.
12041 (output_cbranch): Always reverse via code change. Handle
12042 unordered compares. Factor tests and string updates.
12043 * sparc.h (SELECT_CC_MODE): Split out to select_cc_mode.
12044 (REVERSIBLE_CC_MODE): Also exclude CCFPmode.
12045 * sparc.md (bunordered, bordered): New.
12046 (bungt, bunlt, buneq, bunge, bunle): New.
12048 2000-01-25 Richard Henderson <rth@cygnus.com>
12050 * dwarf2out.c (dwarf2out_init): Use ggc_add_rtx_varray_root.
12051 * ggc-common.c (ggc_add_rtx_varray_root): New.
12052 (ggc_mark_rtx_varray): New.
12053 (ggc_mark_rtx_varray_ptr): New. Shift all ggc_mark_foo_ptr
12054 functions down below ggc_mark_foo.
12055 * ggc.h (ggc_add_rtx_varray_root, ggc_mark_rtx_varray): Declare.
12057 2000-01-25 Richard Henderson <rth@cygnus.com>
12059 * alpha.c (secondary_reload_class): Don't allocate a secondary
12060 for integral mode memories into FLOAT_REGS. Rearrange the more
12061 complicated memory expression inward.
12063 2000-01-25 Zack Weinberg <zack@wolery.cumb.org>
12065 * inclhack.def: Fixes to play nicer with FreeBSD, and
12066 corrections to comments.
12067 (cxx_unready): Add select expression.
12068 (irix_sockaddr): Add bypass expression.
12069 (machine_ansi_h_va_list): New fix.
12070 (stdio_va_list): No need to edit _BSD_VA_LIST_.
12071 Split out addition of "#include <stdarg.h>" to...
12072 (stdio_stdarg_h): ... here.
12073 (systypes_for_aix): Rename to systypes_stdlib_size_t. Apply
12074 to stdlib.h also. Do not munge _BSD_SIZE_T_.
12075 (sysz_stdlib_for_sun): Delete duplicate fix for unprotected
12077 (ultrix_ifdef): Tighten up select expression.
12079 * fixincl.tpl: Exorcise 'exesel'. Rewrite calculations of
12080 re_ct and max_mach to avoid use of shell. Make printed names
12081 match names in inclhack.def. Use static copyright date.
12082 Don't count c_test and test expressions as requiring regex_t
12083 slots. Add some commentary.
12084 * inclhack.tpl: Do not include the 'This script contains N
12085 fixup scripts' line if PROGRAM is defined. Use static
12088 2000-01-24 Jason Merrill <jason@casey.cygnus.com>
12090 * dwarf2out.c: include "varray.h", not dyn-string.h.
12091 (ASM_OUTPUT_DWARF2_ADDR_CONST, ASM_NAME_TO_STRING): Lose.
12092 (addr_const_to_string, addr_to_string): Lose.
12093 (ASM_OUTPUT_DWARF_ADDR_CONST): Copy from dwarfout.c.
12094 (struct dw_val_struct): val_addr is now an rtx.
12095 (add_AT_addr, AT_addr, free_AT, output_aranges): Adjust.
12096 (used_rtx_varray): New varray.
12097 (dwarf2out_init): Initialize it.
12098 (save_rtx): New fn.
12099 (mem_loc_descriptor, add_const_value_attribute): Call it instead of
12101 * arm/telf.h, arm/unknown-elf.h, mn10200.h, mn10300.h,
12102 sparc/sp64-elf.h: Remove definition of ASM_OUTPUT_DWARF2_ADDR_CONST.
12103 * Makefile.in (dwarf2out.o): Update dependencies.
12105 2000-01-24 Richard Henderson <rth@cygnus.com>
12107 * i386.c (i386_dwarf_output_addr_const): New.
12108 * i386.h (ASM_OUTPUT_DWARF_ADDR_CONST): New.
12110 * dwarf2out.c (mem_loc_descriptor): Call ASM_SIMPLIFY_DWARF_ADDR
12112 * dwarfout.c (output_mem_loc_descriptor): Likewise.
12113 * i386.c (i386_simplify_dwarf_addr): New.
12114 * i386.h (ASM_SIMPLIFY_DWARF_ADDR): New.
12116 Mon Jan 24 16:56:10 2000 Jim Wilson <wilson@cygnus.com>
12118 * dwarf2out.c (gen_struct_or_union_type_die): Set complete if
12119 TYPE_STUB_DECL is NULL.
12121 2000-01-24 Richard Henderson <rth@cygnus.com>
12123 * builtins.c (expand_tree_builtin): Move ...
12124 * c-common.c (expand_tree_builtin): ... here.
12126 2000-01-25 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
12128 * loop.h (LOOP_INFO): New accessor macro.
12129 * basic-block.h (struct loop): Rename field `info' to `aux'.
12130 * loop.c (scan_loop): Replace loop->info with LOOP_INFO (loop).
12131 (prescan_loop, strength_reduce, check_dbra_loop, insert_bct): Likewise.
12132 * unroll.c (loop_iterations, unroll_loop): Likewise.
12134 2000-01-24 Christopher Faylor <cgf@cygnus.com>
12136 * config/i386/t-cygwin: Accomodate new winsup directory layout
12137 when searching for include files.
12139 2000-01-24 Richard Henderson <rth@cygnus.com>
12141 * rtl.def: Add unordered fp comparisions.
12142 * tree.def: Likewise.
12143 * tree.h: Add ISO C 9x unordered fp comparision builtins.
12145 * builtins.c (expand_tree_builtin): New function.
12146 * c-typeck.c (build_function_call): Use it.
12147 (build_binary_op): Support unordered compares.
12148 * c-common.c (c_common_nodes_and_builtins): Add unordered compares.
12150 * combine.c (known_cond): Handle reverse_condition returning UNKNOWN.
12151 (reversible_comparison_p): Allow UNORDERED/ORDERED to be reversed.
12152 * cse.c (fold_rtx): Check FLOAT_MODE_P before reversing.
12153 (record_jump_equiv): Handle reverse_condition returning UNKNOWN.
12154 * jump.c (reverse_condition): Don't abort for UNLE etc, but
12156 (swap_condition): Handle unordered compares.
12157 (thread_jumps): Check can_reverse before reversing.
12158 * loop.c (get_condition): Likewise. Allow UNORERED/ORDERED to be
12161 * optabs.c (can_compare_p): New argument CODE. Verify branch or
12162 setcc is present before acking for cmp_optab. Update all callers.
12163 (prepare_float_lib_cmp, init_optabs): Handle UNORDERED.
12164 * expmed.c (do_cmp_and_jump): Update for can_compare_p.
12165 * expr.c (expand_expr): Likewise. Support unordered compares.
12166 (do_jump, do_store_flag): Likewise.
12167 * expr.h (enum libfunc_index): Add unordered compares.
12169 * Makefile.in (FPBIT_FUNCS): Add _unord_sf.
12170 (DPBIT_FUNCS): Add _unord_df.
12171 * config/fp-bit.c (_unord_f2): New.
12172 * fp-test.c (main): Try unordered compare builtins.
12174 * alpha-protos.h (alpha_fp_comparison_operator): Declare.
12175 * alpha.c (alpha_comparison_operator): Check mode properly.
12176 (alpha_swapped_comparison_operator): Likewise.
12177 (signed_comparison_operator): Likewise.
12178 (alpha_fp_comparison_operator): New.
12179 (alpha_emit_conditional_branch): Handle unordered compares.
12180 * alpha.h (PREDICATE_CODES): Update.
12181 * alpha.md (fp compares): Use alpha_fp_comparison_operator.
12182 (bunordered, bordered): New.
12184 2000-01-24 Richard Henderson <rth@cygnus.com>
12186 * alpha.c (alpha_emit_xfloating_cvt): Thinko in operand manipulation.
12187 * alpha.md (movtf): New expander, insn, and splitter.
12189 Mon Jan 24 19:49:47 MET 2000 Jan Hubicka <jh@suse.cz>
12191 * reg-stack.c (subst_stack_regs_pat): Handle correctly USEs of
12194 Mon Jan 24 17:37:31 MET 2000 Jan Hubicka <jh@suse.cz>
12196 * i386.h (FIRST_PSEUDO_REGISTER): Set to 21.
12197 (FIXED_REGISTERS, CALL_USED_REGISTERS,
12198 REG_ALLOC_ORDER): Add frame pointer
12199 (FRAME_POINTER_REGNUM): Set to 20
12200 (HARD_FRAME_POINTER_REGNUM): New macro.
12201 (ELIMINABLE_REGS): Eliminate ARG_POINTER and FRAME_POINTER
12202 to HARD_FRAME_POINTER.
12203 (REGNO_OK_FOR_BASE_P): Accept FRAME_POINTER_REGNUM
12204 (REG_OK_FOR_INDEX_NONSTRICT_P): Likewise.
12205 (REG_OK_FOR_BASE_NONSTRICT_P): Likewise.
12206 (HI_REGISTER_NAMES): Add "frame".
12207 (CAN_ELIMINATE): Handle FRAME_POINTER_REGNUM elimination.
12208 (debug_reg): Handle FRAME_POINTER_REGNUM.
12209 (reg_class): Add arg pointer and frame pointer to NON_Q_REGS,
12210 GENERAL_REGS and INDEX_REGS.
12211 * i386.c (SAVED_REGS_FIRST): new macro.
12212 (AT_BP): Use hard_frame_pointer_rtx instead of frame_pointer_rtx
12213 (ix86_decompose_address, memory_address_length): Likewise.
12214 (regclass_map): Add frame pointer.
12215 (call_insn_operand): Handle frame_pointer_rtx.
12216 (reg_no_sp_operand): Likewise.
12217 (ix86_decompose_address): Handle frame_pointer_rtx as stack_pointer_rtx.
12218 (print_operand, legitimize_pic_address): Fix formating.
12219 (ix86_compute_frame_size): Make static, update prototype, new
12220 parameters padding1, padding2, use ix86_nsaved_regs, use
12221 stack_alignment_needed.
12222 (ix86_initial_elimination_offset): Handle FRAME_POINTER_REGNUM
12223 to HARD_FRAME_POINTER_REGNUM conversions.
12224 (ix86_expand_prologue): Handle SAVED_REGS_FIRST prologues.
12225 (ix86_expand_epilogue): Handle SAVED_REGS_FIRST epilogues.
12226 (print_reg): Abort on FRAME_POINTER_REGNUM
12228 Mon Jan 24 16:50:08 MET 2000 Jan Hubicka <jh@suse.cz>
12230 * i386.h (PREDICATE_CODES): Add aligned_operand.
12231 * i386.c (aligned_operand): New function.
12232 (ix86_aligned_p): Kill.
12233 * i386.md (movhi_1): Emit mov for aligned operands.
12234 (promoting peep2s): Use aligned_operand.
12236 2000-01-23 Zack Weinberg <zack@wolery.cumb.org>
12238 * fixinc/fixfixes.c (fix_char_macro_uses): Correct regular
12239 expression to allow underscores in macro names.
12240 (fix_char_macro_defines): Increment scanning pointer.
12242 2000-01-23 Richard Henderson <rth@cygnus.com>
12244 * alpha/osf.h (TARGET_HAS_XFLOATING_LIBS): Define.
12245 * alpha/osf5.h: New file.
12246 * configure.in (alpha-*-osf5): Add it to tm_file.
12248 * emit-rtl.c (operand_subword): Support TFmode on a 64-bit target.
12250 * alpha-protos.h (alpha_emit_xfloating_arith): Declare.
12251 (alpha_emit_xfloating_cvt, function_arg): Declare.
12252 * alpha.c (alpha_emit_conditional_branch): Call
12253 alpha_emit_xfloating_compare for TFmode compares.
12254 (alpha_lookup_xfloating_lib_func): New.
12255 (alpha_compute_xfloating_mode_arg): New.
12256 (alpha_emit_xfloating_libcall): New.
12257 (alpha_emit_xfloating_arith): New.
12258 (alpha_emit_xfloating_compare): New.
12259 (alpha_emit_xfloating_cvt): New.
12260 (print_operand): Add default abort case.
12261 (function_arg): Mind FUNCTION_ARG_PASS_BY_REFERENCE.
12262 * alpha.h (TARGET_HAS_XFLOATING_LIBS): New.
12263 (BIGGEST_ALIGNMENT): Increase to 128 bits.
12264 (RETURN_IN_MEMORY): True for TF/TCmode.
12265 (ALPHA_ARG_SIZE): TF/TCmode is passed indirect.
12266 (FUNCTION_ARG): Move to function_arg.
12267 (FUNCTION_ARG_PASS_BY_REFERENCE): New.
12268 (ASM_OUTPUT_LONG_DOUBLE): New.
12269 (ASM_OUTPUT_DOUBLE): Always output bits.
12270 * alpha.md (addtf3, divtf3, multf3, subtf3, cmptf): New.
12271 (fix_trunctfdi2, floatditf2, floatunsditf2): New.
12272 (extenddftf2, trunctfdf2): New.
12274 2000-01-23 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
12276 * config/sparc/sol2-sld-64.h (TRANSFER_FROM_TRAMPOLINE): Moved...
12277 * config/sparc/sol2.h: ... here.
12279 2000-01-24 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
12281 * basic-block.h (struct loops): New field `levels'.
12282 * flow.c (flow_loops_level_compute): Traverse all outer loops.
12283 (flow_loop_level_compute): Initialise level to 1.
12284 (flow_loops_find): Set loops->levels.
12285 (flow_loops_dump): Print loops->levels.
12287 2000-01-23 Richard Henderson <rth@cygnus.com>
12289 * libgcc2.c (dwarf_reg_size_table): Size with DWARF_FRAME_REGISTERS.
12290 (throw_helper): Iterate over DWARF_FRAME_REGISTERS.
12292 2000-01-23 Richard Henderson <rth@cygnus.com>
12294 * i386.c (dbx_register_map, svr4_dbx_register_map): New.
12295 * i386.h (DBX_REGISTER_NUMBER): Use them.
12296 * i386/beos-elf.h, i386/freebsd-elf.h, i386/i386elf.h: Likewise.
12297 * i386/linux.h, i386/osfrose.h, i386/ptx4-i.h: Likewise.
12298 * i386/rtemself.h, i386/sco5.h, i386/sysv4.h: Likewise.
12299 * i386/sequent.h: Kill incorrect comment.
12301 2000-01-23 Mark Mitchell <mark@codesourcery.com>
12303 * ggc-page.c (struct page_entry): Make `context_depth' an
12305 (struct globals): Likewise.
12307 2000-01-23 Clinton Popetz <cpopetz@cygnus.com>
12309 * loop.c (check_dbra_loop): When checking a loop for
12310 reversability, check the source of any stores to ensure
12311 they don't depend on an initial value.
12313 2000-01-23 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
12315 * config/c4x/c4x.h (ASM_OUTPUT_BSS): Redefine.
12317 2000-01-22 Zack Weinberg <zack@wolery.cumb.org>
12319 * fixinc/fixincl.c: Move declarations of 'pz_fname' and
12320 'pz_scan' into scope of entire function. Only affects
12321 compiles with -DDEBUG.
12323 2000-01-22 Alan Modra <alan@SPRI.Levels.UniSA.Edu.Au>
12325 * config/elfos.h (UNIQUE_SECTION): Restore uninitialised data
12326 section naming to that prior to 2000-01-07 patch.
12327 * config/mips/elf.h (UNIQUE_SECTION): Ditto.
12328 * config/mips/elf64.h (UNIQUE_SECTION): Ditto.
12329 * config/mips/iris6gld.h (UNIQUE_SECTION): Ditto.
12330 * config/i386/interix.c (UNIQUE_SECTION): Ditto.
12331 * config/i386/winnt.c (UNIQUE_SECTION): Ditto.
12333 2000-01-22 Bernd Schmidt <bernds@cygnus.co.uk>
12335 * config/arm/arm.c (soft_df_operand): Reject SUBREGs containing a
12338 2000-01-21 Jim Wilson <wilson@cygnus.com>
12340 * fixinc/inclhack.tpl: Test for directory before trying to cd into it.
12341 * fixinc/fixincl.sh, fixinc/inclhack.sh: Regenerate.
12343 2000-01-21 Zack Weinberg <zack@wolery.cumb.org>
12345 * cpphash.c (change_newlines): Delete function.
12346 (struct argdata): Delete 'newlines' and 'use_count' fields.
12347 (macroexpand): Remove code referencing those fields.
12349 2000-01-22 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
12351 * loop.c (loops_info): New variable.
12352 (loop_optimize): Allocate loops->array and free it on exit.
12353 Allocate memory for loops_info and assign to each loop,
12355 (find_and_verify_loops): Do not allocate loops->array.
12357 2000-01-21 Zack Weinberg <zack@wolery.cumb.org>
12359 * fixinc/fixfixes.c (machine_name_fix): Don't free 'scratch'.
12361 2000-01-21 Jakub Jelinek <jakub@redhat.com>
12363 * config/sparc/sparc.md (movsi_pic_label_ref): Avoid creating new
12364 pseudos if expanded after first flow.
12365 (movdi_pic_label_ref): Likewise.
12367 2000-01-20 Richard Henderson <rth@cygnus.com>
12369 * jump.c (jump_optimize_1): Don't do addr_vec optimizations at -O0.
12371 2000-01-20 Zack Weinberg <zack@wolery.cumb.org>
12373 * Makefile.in (fixinc.sh): Depend on specs.
12374 * fixinc/Makefile.in: Add rule to create machname.h.
12375 (fixlib.o): Depend on machname.h.
12376 * fixinc/fixtests.c (machine_name): New test.
12377 * fixinc/fixfixes.c (machine_name): New fix.
12378 * fixinc/fixlib.c (mn_get_regexps): New helper function for
12379 the machine_name test and fix.
12380 * fixinc/fixlib.h: Prototype it.
12381 * fixinc/inclhack.def (machine_name): Use the C test and fix.
12382 * fixinc/fixincl.x, fixinc/inclhack.sh: Rebuild.
12384 * gcc.c (do_spec_1) [case P]: Take care not to create
12385 identifiers with three leading or trailing underscores.
12387 * fixinc/Makefile.in (FIXINC_DEFS): Add -DIN_GCC.
12388 (fixincl): Don't specify libraries twice on link line.
12389 (gnu-regex.o): Remove special rule.
12390 * fixinc/gnu-regex.c: Define REGEX_MALLOC if C_ALLOCA was
12391 defined by config.h. Do not define _REGEX_RE_COMP.
12392 (regcomp): Allocate and initialize a fastmap.
12393 * fixinc/gnu-regex.h: Do not define _REGEX_RE_COMP.
12395 2000-01-20 Brad Lucier <lucier@math.purdue.edu>
12397 * Makefile.in (predict.o): Depend on $(EXPR_H), not expr.h.
12399 2000-01-19 Richard Henderson <rth@cygnus.com>
12401 * flow.c (propagate_block): Replace FIRST, LAST and BNUM
12402 arguments with BB. Update all callers. Tidy line wrapping.
12404 2000-01-19 Clinton Popetz <cpopetz@cygnus.com>
12406 * emit-rtl.c (try_split): Return last_insn if we split the
12409 Thu Jan 20 01:01:23 MET 2000 Jan Hubicka <jh@suse.cz>
12411 * i386-protos.h (ix86_compute_frame_size): Remove prototype.
12412 (ix86_initial_elimination_offset): Declare.
12413 * i386.c (ix86_nsaved_regs): Break out from ...
12414 (ix86_can_use_return_insn_p): ... here.
12415 (ix86_emit_save_regs): Break out from ...
12416 (ix86_expand_prologue): ... here.
12417 (ix86_emit_epilogue_esp_adjustment, ix86_emit_restore_regs): Break
12419 (ix86_expand_epilogue): ... here.
12420 (ix86_compute_frame_size): Make static, add prototype.
12421 (ix86_initial_elimination_offset): Break out from ...
12422 * i386.h (INITIAL_ELIMINATION_OFFSET): ... here.
12424 2000-01-19 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
12426 * recog.h (OUT_FCN): Delete.
12428 * vax.md: Call `get_insn_template' instead of OUT_FCN.
12430 2000-01-19 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
12432 * cppalloc.c: PROTO -> PARAMS.
12433 * cpperror.c: Likewise.
12434 * cppfiles.c: Likewise.
12435 * cpplib.c: Likewise.
12436 * cpplib.h: Likewise.
12438 * config/arm/arm-protos.h: PROTO -> PARAMS.
12439 * config/arm/arm.c: Likewise.
12440 * config/c4x/c4x.c: Likewise.
12441 * config/fr30/fr30-protos.h: Likewise.
12442 * config/nextstep.c: Likewise.
12443 * config/pa/pa.c: Likewise.
12444 * config/pj/pj.c: Likewise.
12445 * config/rs6000/rs6000.c: Likewise.
12446 * config/v850/v850-protos.h: Likewise.
12447 * config/v850/v850.c: Likewise.
12449 2000-01-19 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
12451 * i370-protos.h: New file.
12453 * i370.c: Include tm_p.h. Fix compile time warnings.
12455 * i370.h: Move prototypes to i370-protos.h. Fix compile time
12458 * i370.md: Likewise.
12460 2000-01-19 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
12462 * real.c (enan, einan, eiisnan, eiisneg, make_nan): Wrap in NANS.
12463 (target_isinf, target_isnan, eisnan): Mark parameter with
12465 (eiisinf): Wrap in INFINITY.
12466 (etoe113, etoe64, etoe53, etoe24): Wrap label `nonorm' in INFINITY.
12467 (ibmtoe): Remove unused variable `rndsav'.
12469 Wed Jan 19 20:23:06 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
12471 * sh.h (PASS_IN_REG_P): Remove extraneous paranthesis.
12472 (GO_IF_LEGITIMATE_ADDRESS): Added missing tab.
12474 2000-01-19 Zack Weinberg <zack@wolery.cumb.org>
12476 * fixinc/Makefile.in: Correct dependencies of fixincl and fixincl.o.
12477 * fixinc/fixfixes.c (IO_use, CTRL_use, IO_defn, CTRL_defn): New fixes.
12478 (fix_char_macro_defines, fix_char_macro_uses): New functions.
12480 * fixinc/fixlib.c (is_cxx_header): Do the text scan with a regexp.
12481 Recognize Emacs mode markers also.
12482 * fixinc/fixtests.c (else_endif_label): Fix bug in recognition of
12483 C++ comments in C++ headers. Call is_cxx_header only if
12486 * fixinc/inclhack.def (avoid_bool): Add select for the problem and
12487 bypass for ncurses.
12488 (bsd43_io_macros, io_def_quotes, ioctl_fix_ctrl): Replace with...
12489 (io_def_quotes, io_use_quotes, ctrl_def_quotes, ctrl_use_quotes):
12490 ... these, which use the new C fixes.
12491 (math_exception): Escape literal '+' in bypass expression.
12493 * fixinc/fixincl.x, fixinc/fixincl.sh, fixinc/inclhack.sh:
12496 2000-01-19 Geoff Keating <geoffk@cygnus.com>
12498 * rtlanal.c (reg_referenced_p): A CLOBBER of a MEM uses any REGs
12501 2000-01-20 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
12503 * loop.c (loop_optimize): Allocate loop_info structure for each loop
12504 prior to calling scan_loop.
12506 Wed Jan 19 19:54:38 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
12508 * sh.c (find_barrier, gen_block_redirect): Fix indentation.
12509 (split_branches, calc_live_regs): Likewise.
12511 Wed Jan 19 19:12:36 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
12513 * sh.md (fpu_single, fp_mode): New attributes.
12515 2000-01-20 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
12517 * loop.c (current_loop_info): Renamed from loop_info_data
12518 and changed to a pointer.
12519 (loop_optimize): Allocate loop_info structure for each loop
12520 and initialise to zero.
12521 (scan_loop): Set current_loop_info.
12523 * unroll.c (loop_iterations): Don't abort if REG_USERVAR_P set
12526 2000-01-19 Richard Henderson <rth@cygnus.com>
12528 * stupid.c: Die die die.
12529 * Makefile.in (OBJS): Remove stupid.o.
12530 (stupid.o): Likewise.
12532 * except.c (emit_eh_context): Don't emit USEs for stupid.
12533 * explow.c (probe_stack_range): Likewise.
12534 * flags.h (obey_regdecls): Remove.
12535 * flow.c (find_basic_blocks): Don't run try_merge_blocks
12536 when not optimizing.
12537 (life_analysis): Limit data collection when not optimizing.
12538 (mark_regs_live_at_end): Always mark the return value registers.
12539 (mark_used_regs): Remove dummy RETURN case.
12540 (print_rtl_with_bb): Don't consult obey_regdecls.
12541 * function.c (use_variable, use_variable_after): Remove.
12542 (assign_parms): Consult optimize not obey_regdecls.
12543 (expand_function_start): Don't emit USEs for stupid.
12544 (expand_function_end): Likewise.
12545 * global.c (build_insn_chain): Export.
12546 * integrate.c (expand_inline_function): Kill return-value USE
12548 * jump.c (jump_optimize_1): Do simple jump optimizations and
12549 dead code elimination.
12550 (calculate_can_reach_end): Remove check_deleted argument.
12551 (delete_insn): Patch out insns even when not optimizing.
12552 * local-alloc.c (block_alloc): Don't do tying when not optimizing.
12553 * rtl.h (use_variable, use_variable_after): Remove declarations.
12554 (build_insn_chain): Declare.
12555 * stmt.c (expand_value_return): Don't emit USEs for stupid.
12556 (expand_end_bindings): Likewise.
12557 (expand_decl): Likewise. Consult optimize not obey_regdecls.
12558 * toplev.c (obey_regdecls): Remove.
12559 (rest_of_compilation): Don't set it. Kill stupid in favour of
12560 flow1, local-alloc, and reload.
12561 (main): Don't set obey_regdecls.
12563 * config/nextstep.c (handle_pragma): Likewise.
12565 * alpha/alpha.md (allocate_stack): Don't emit USEs for stupid.
12567 * arm/arm.h (CONDITIONAL_REGISTER_USAGE): Don't fix reg 0 for stupid.
12569 2000-01-18 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
12571 * alpha-protos.h: PROTO -> PARAMS.
12572 * alpha.c: Likewise.
12574 * h8300.c: Likewise.
12575 * i386-protos.h: Likewise.
12576 * i386.c: Likewise.
12577 * m32r-protos.h: Likewise.
12578 * m32r.c: Likewise.
12579 * mips.c: Likewise.
12580 * mips.md: Likewise.
12581 * gmon-sol2.c: Likewise.
12582 * sparc.c: Likewise.
12584 2000-01-18 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
12586 * ns32k-protos.h: New file.
12588 * ns32k.c: Fix compile time warnings.
12590 * ns32k.h: Move prototypes to ns32k-protos.h. Fix compile time
12593 * ns32k.md: Likewise.
12595 2000-01-18 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
12597 * vax-protos.h: New file.
12599 * vax.c: Fix compile time warnings.
12601 * vax.h: Move prototypes to vax-protos.h. Fix compile time
12604 * vax.md: Likewise.
12606 * vaxv.md: Likewise.
12608 2000-01-18 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
12610 * romp-protos.h: New file.
12612 * romp.c: Fix compile time warnings.
12614 * romp.h: Move prototypes to romp-protos.h. Fix compile time
12617 * romp.md: Likewise.
12619 2000-01-18 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
12621 * we32k-protos.h: New file.
12623 * we32k.c: Fix compile time warnings.
12625 * we32k.h: Move prototypes to we32k-protos.h. Fix compile time
12628 2000-01-18 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
12630 * calls.c (emit_call_1): Mark parameter with ATTRIBUTE_UNUSED.
12632 * except.c (eh_regs): Likewise.
12634 * final.c (output_operand): Likewise.
12636 * fold-const.c (target_isinf, target_isnan): Likewise.
12638 Tue Jan 18 16:19:55 MET 2000 Jan Hubicka <hubicka@freesoft.cz>
12640 * i386.h (BIGGEST_ALIGNMENT): Set to 128.
12641 (BIGGEST_FIELD_ALIGNMENT): Set to (TARGET_ALIGN_DOUBLE ? 64 : 32)
12643 * i386.md (memstr): Do not use rep stosb for counts divisible by 4
12644 when optimize_size.
12645 (clrstrsi): Rewrite.
12646 (strsethi, strsetqi): New expanders.
12647 (strsethi_1, strsetqi_1, rep_stossi, rep_stosqi): New insn patterns.
12648 (cmpstrsi): Emit compare insn before cmpstrsi_1
12649 (cmpstrsi_nz): use flags, set type to str, prefix_length to 1.
12650 (strlensi_1): Likewise.
12651 (cmpstrsi_1): Likewise; do not output compare.
12652 (strlen expander): Do not unroll when optimizing for size.
12653 (*subsi3_carry): Rename to subsi3_carry
12654 (addqi3_cc): New pattern.
12655 * i386.h (processor_costs): Add move_ratio field.
12656 (MOVE_RATIO): Use move_ratio field, set to 3 for OPTIMIZE_SIZE
12657 * i386.c (*_cost): Set move_ratio.
12658 (x86_unroll_strlen): Enable for Athlon, PPro and K6 too.
12659 (x86_expand_strlensi_1): Rewrite the main loop.
12661 2000-01-17 Richard Henderson <rth@cygnus.com>
12663 * combine.c (combine_simplify_rtx): Give FLOAT_STORE_FLAG_VALUE a mode.
12664 * cse.c (find_comparison_args, fold_rtx): Likewise.
12665 * integrate.c (subst_constants): Likewise.
12666 * loop.c (get_condition): Likewise.
12668 * tm.texi (FLOAT_STORE_FLAG_VALUE): Update docs.
12670 * alpha.h (FLOAT_STORE_FLAG_VALUE): Use REAL_VALUE_ATOF.
12672 2000-01-18 Martin v. Löwis <loewis@informatik.hu-berlin.de>
12674 * c-parse.in (SAVE_WARN_FLAGS): Create an INTEGER_CST.
12675 (RESTORE_WARN_FLAGS): Unpack it.
12676 Change semantic type of extension to ttype.
12677 * c-common.c (split_specs_attrs): Expect an INTEGER_CST.
12678 * c-parse.y, c-parse.c, objc/objc-parse.y,
12679 objc/objc-parse.c: Regenerate.
12681 2000-01-17 Zack Weinberg <zack@wolery.cumb.org>
12683 * fixinc/fixlib.c: Add copyright notice.
12684 (compile_re): New function.
12685 * fixinc/fixlib.h: Prototype compile_re.
12687 * fixinc/fixfixes.c, fixinc/fixtests.c, fixinc/fixincl.c:
12688 Use compile_re to compile regular expressions.
12690 * fixinc/fixincl.c (egrep_test): Don't bother asking regexec
12691 where the pattern matched.
12693 * fixinc/inclhack.def (sun_memcpy): Move to AAB_sun_memcpy,
12695 (ultrix_ansi_compat): Likewise.
12696 (interactv_add1): Rename to 'isc_omits_with_stdc', remove shell test,
12698 (interactv_add2, interactv_add3): Delete.
12699 (x11_sprintf): Don't use filename glob.
12700 * fixinc/fixincl.x, fixinc/inclhack.sh, fixinc/fixincl.sh:
12703 2000-01-17 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
12705 * print-rtl.c: PROTO -> PARAMS.
12706 * real.c: Likewise.
12707 * reg-stack.c: Likewise.
12708 * resource.c: Likewise.
12709 * sdbout.h: Likewise.
12710 * simplify-rtx.c: Likewise.
12711 * stor-layout.c: Likewise.
12712 * stupid.c: Likewise.
12713 * xcoffout.c: Likewise.
12714 * xcoffout.h: Likewise.
12716 2000-01-17 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
12718 * toplev.c: PROTO -> PARAMS.
12719 * toplev.h: Likewise.
12720 * tree.c: Likewise.
12721 * tree.h: Likewise.
12722 * unroll.c: Likewise.
12723 * varasm.c: Likewise.
12724 * varray.c: Likewise.
12725 * varray.h: Likewise.
12727 2000-01-17 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
12729 * reload.c: PROTO -> PARAMS.
12730 * reload.h: Likewise.
12731 * reload1.c: Likewise.
12732 * reorg.c: Likewise.
12733 * resource.h: Likewise.
12736 * rtlanal.c: Likewise.
12737 * sbitmap.h: Likewise.
12738 * sdbout.c: Likewise.
12739 * stack.h: Likewise.
12740 * stmt.c: Likewise.
12741 * system.h: Likewise.
12743 2000-01-17 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
12745 * machmode.h: PROTO -> PARAMS.
12746 * mbchar.h: Likewise.
12747 * mips-tdump.c: Likewise.
12748 * mips-tfile.c: Likewise.
12749 * optabs.c: Likewise.
12750 * output.h: Likewise.
12751 * prefix.c: Likewise.
12752 * profile.c: Likewise.
12753 * protoize.c: Likewise.
12754 * real.h: Likewise.
12755 * recog.c: Likewise.
12756 * recog.h: Likewise.
12757 * regclass.c: Likewise.
12758 * regmove.c: Likewise.
12759 * regs.h: Likewise.
12761 2000-01-17 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
12763 * ggc-common.c: PROTO -> PARAMS.
12764 * ggc-page.c: Likewise.
12765 * ggc-simple.c: Likewise.
12767 * global.c: Likewise.
12768 * graph.c: Likewise.
12769 * gthr-win32.h: Likewise.
12770 * haifa-sched.c: Likewise.
12771 * halfpic.h: Likewise.
12772 * integrate.c: Likewise.
12773 * integrate.h: Likewise.
12774 * jump.c: Likewise.
12776 * local-alloc.c: Likewise.
12777 * loop.c: Likewise.
12778 * loop.h: Likewise.
12780 2000-01-17 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
12782 * genattr.c: PROTO -> PARAMS.
12783 * genattrtab.c: Likewise.
12784 * gencheck.c: Likewise.
12785 * gencodes.c: Likewise.
12786 * genconfig.c: Likewise.
12787 * genemit.c: Likewise.
12788 * genextract.c: Likewise.
12789 * genflags.c: Likewise.
12790 * gengenrtl.c: Likewise.
12791 * genopinit.c: Likewise.
12792 * genoutput.c: Likewise.
12793 * genpeep.c: Likewise.
12794 * genrecog.c: Likewise.
12796 2000-01-16 Mark Mitchell <mark@codesourcery.com>
12798 * tree.h (BINFO_VPTR_FIELD): Augment documentation.
12800 2000-01-16 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
12802 * aclocal.m4 (AC_FUNC_MMAP_ZERO): New macro.
12803 * configure.in (AC_FUNC_MMAP_ZERO): Use instead of AC_FUNC_MMAP.
12804 * ggc-page.c: Replace HAVE_MMAP with HAVE_MMAP_ZERO.
12805 * configure, config.in: Rebuilt.
12807 2000-01-16 Zack Weinberg <zack@wolery.cumb.org>
12809 * config/i386/i386.md: Add peephole to merge successive stack
12812 Sat Jan 15 15:41:14 EST 2000 John Wehle (john@feith.com)
12814 * gcse.c (insert_insn_end_bb): Use emit_block_insn_before
12815 instead of emit_insn_before. Also handle NOTE_INSN_BASIC_BLOCK
12816 when walking backwards to find all the parameter loads when
12817 the basic block ends in a call.
12819 2000-01-15 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
12821 * loop.c (this_loop_info): Delete.
12822 (uid_loop): Add in place of uid_loop_num. All uses updated.
12823 (loop_number_exit_count): Delete and replace with entry in loop
12824 structure. All uses updated.
12825 (loop_number_loop_starts, loop_number_loop_ends): Likewise.
12826 (loop_number_loop_cont, loop_number_cont_dominator): Likewise.
12827 (loop_outer_loop): Likewise.
12828 (loop_invalid, loop_number_exit_labels): Likewise.
12829 (loop_used_count_register): Delete and replace with entry in
12830 loop_info structure.
12831 (find_and_verify_loops): Add loops argument.
12832 (verify_dominator, mark_loop_jump, prescan_loop): Replace loop_start,
12833 loop_end, etc. arguments with loop structure pointer. All callers
12835 (loop_reg_used_before_p, scan_loop, strength_reduce): Likewise.
12836 (check_dbra_loop, next_insn_in_loop, try_copy_prop): Likewise.
12837 (load_mems_and_recount_loop_regs_set, load_mems): Likewise.
12838 (insert_bct): Likewise.
12839 (basic_induction_var): New argument level.
12840 * loop.h (struct loop_info): Delete fields num, loops_enclosed,
12841 vtop, and cont. Add used_count_register.
12842 (uid_loop): Delete declaration.
12843 (loop_number_exit_count): Likewise.
12844 (loop_number_loop_starts, loop_number_loop_ends): Likewise.
12845 (loop_number_loop_cont, loop_number_cont_dominator): Likewise.
12846 (loop_outer_loop, loop_used_count_register): Likewise.
12847 (loop_invalid, loop_number_exit_labels): Likewise.
12848 (unroll_loop): Replace loop_start and loop_end arguments
12849 with loop structure pointer.
12850 (loop_precondition_p, loop_iterations): Likewise.
12851 Include basic-block.h.
12852 * unroll.c: (unroll_loop): Replace loop_start and loop_end arguments
12853 with loop structure pointer.
12854 (loop_precondition_p, loop_iterations): Likewise.
12855 * basic-block.h (struct loop): New entries vtop, cont,
12856 cont_dominator, start, end, top, scan_start, exit_labels,
12858 * Makefile.in (LOOP_H): Add basic-block.h to dependencies.
12860 2000-01-15 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
12862 * defaults.h (ASM_OUTPUT_ASCII): Use ISDIGIT.
12864 2000-01-14 Nathan Sidwell <sidwell@codesourcery.com>
12866 * config.in: Rebuilt for 2000-01-13 change to acconfig.h.
12868 2000-01-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
12870 * pdp11-protos.h: New file.
12872 * pdp11.c: Include tm_p.h. Add static prototypes. Fix compile
12875 * pdp11.h: Move prototypes to pdp11-protos.h. Fix compile time
12878 * pdp11.md: Likewise.
12880 * 2bsd.h: Likewise.
12882 2000-01-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
12884 * mn10300-protos.h: New file.
12886 * mn10300.c: Include tm_p.h. Add static prototypes. Fix compile
12889 * mn10300.h: Move prototypes to mn10300-protos.h. Fix compile time
12892 * mn10300.md: Likewise.
12894 2000-01-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
12896 * mn10200-protos.h: New file.
12898 * mn10200.c: Include tm_p.h. Add static prototypes. Fix compile
12901 * mn10200.h: Move prototypes to mn10200-protos.h. Fix compile time
12904 * mn10200.md: Likewise.
12906 2000-01-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
12908 * h8300-protos.h: New file.
12910 * h8300.c: Include tm_p.h. Add static prototypes. Fix compile
12913 * h8300.h: Move prototypes to h8300-protos.h. Fix compile time
12916 * h8300.md: Likewise.
12918 2000-01-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
12920 * varasm.c (asm_output_bss): Mark parameters with ATTRIBUTE_UNUSED.
12921 (asm_emit_uninitialised): Likewise.
12923 2000-01-13 Gavin Romig-Koch <gavin@cygnus.com>
12925 * config/mips/mips.h (ISA_HAS_INT_CONDMOVE): New.
12926 * config/mips/mips.md: Use ISA_HAS_INT_CONDMOVE.
12928 2000-01-14 Clinton Popetz <cpopetz@cygnus.com>
12930 * config/mips/mips.c (override_options): Don't turn on extra
12931 alignment for mips16.
12933 2000-01-14 Clinton Popetz <cpopetz@cygnus.com>
12935 * config/mips/mips.c (mips_va_arg): Fix fprv for the 32 bit
12936 eabi, and make sure queued POSTINCREMENT rtl is emitted at
12939 2000-01-14 Clinton Popetz <cpopetz@cygnus.com>
12941 * builtins.c (PAD_VARARGS_DOWN): Define.
12942 (std_expand_builtin_va_arg): Use the above macro.
12943 * config/mips/mips.h (PAD_VARARGS_DOWN): Define.
12944 * tm.texi (Register Arguments): Document the above macro.
12946 2000-01-14 Nick Clifton <nickc@cygnus.com>
12948 * emit-rtl.c (emit_insn): If checking is enabled, make sure
12949 that this function has not been used to emit a jump
12952 * jump.c (return_jump_1): Cope with being passed a null rtx.
12954 2000-01-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
12956 * eh-common.h: PROTO -> PARAMS.
12957 * emit-rtl.c: Likewise.
12958 * errors.c: Likewise.
12959 * errors.h: Likewise.
12960 * except.c: Likewise.
12961 * except.h: Likewise.
12962 * explow.c: Likewise.
12963 * expmed.c: Likewise.
12964 * expr.c: Likewise.
12965 * expr.h: Likewise.
12966 * final.c: Likewise.
12967 * fix-header.c: Likewise.
12968 * flow.c: Likewise.
12969 * fold-const.c: Likewise.
12970 * function.c: Likewise.
12971 * function.h: Likewise.
12973 * gcov-io.h: Likewise.
12974 * gcov.c: Likewise.
12975 * gcse.c: Likewise.
12977 2000-01-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
12979 * sh-protos.h: New file.
12981 * sh.c: Include insn-config.h, toplev.h, recog.h and tm_p.h.
12982 Add static prototypes. Fix compile time warnings.
12984 * sh.h: Move prototypes to sh-protos.h. Fix compile time warnings.
12988 2000-01-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
12990 * arc-protos.h: New file.
12992 * arc.c: Include tm_p.h. Add static prototypes. Fix compile
12995 * arc.h: Move prototypes to arc-protos.h. Fix compile time
12998 * arc.md: Likewise.
13000 2000-01-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
13002 * dsp16xx-protos.h: New file.
13004 * dsp16xx.c: Include tm_p.h. Add static prototypes. Fix compile
13007 * dsp16xx.h: Move prototypes to dsp16xx-protos.h. Fix compile time
13010 * dsp16xx.md: Likewise.
13012 2000-01-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
13014 * convex-protos.h: New file.
13016 * convex.c: Include tm_p.h. Add static prototypes. Fix compile
13019 * convex.h: Move prototypes to convex-protos.h. Fix compile time
13022 2000-01-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
13024 * elxsi-protos.h: New file.
13026 * elxsi.c: Include tm_p.h. Add static prototypes. Fix compile
13029 * elxsi.h: Move prototypes to elxsi-protos.h. Fix compile time
13032 * elxsi.md: Likewise.
13034 2000-01-14 Clinton Popetz <cpopetz@cygnus.com>
13036 * config/mips/mips.h (REGISTER_MOVE_COST): Remove redundant
13037 case for moving from HI/LO/HI_LO_REG. This makes the behavior
13038 match the comment for MIPS16.
13040 Fri Jan 14 00:28:06 2000 Jeffrey A Law (law@cygnus.com)
13042 * flow.c (split_edge): Do not call set_block_for_insn if we
13043 do not have a basic_block_for_insn structure.
13045 * fr30.h (TRAMPOLINE_TEMPLATE): Use nops to ensure the static chain
13046 and destination functions are 32bit aligned within the trampoline.
13047 (TRAMPOLINE_SIZE, INITIALIZE_TRAMPOLINE): Corresponding changes.
13048 (TRAMPOLINE_ALIGNMENT): Define.
13050 * cse.c (cse_insn): When changing (set (pc) (reg)) to
13051 (set (pc) (label_ref)), verify the change creates a valid insn.
13053 * fr30.c (call_operand): Tighten and rework to match rules for
13054 call RTL expressions.
13055 * fr30.h (PREDICATE_CODES, case call_operand): Only allow MEMs.
13056 * fr30.md (call patterns): Improve constraints.
13058 Thu Jan 13 23:44:03 2000 Richard Henderson <rth@cygnus.com>
13060 * fr30.c (fr30_expand_epilogue): Revert last change.
13061 Use emit_jump_insn for the return insn.
13063 Thu Jan 13 14:46:03 2000 Jason Eckhardt <jle@cygnus.com>
13064 Stan Cox <scox@cygnus.com>
13066 * predict.c: New file. Preliminary infrastructure work for static
13067 branch prediction and basic block reordering.
13068 * basic-block.h: Add prototype for estimate_probability.
13069 * Makefile.in: Add rules for predict.o.
13071 2000-01-13 Jason Merrill <jason@yorick.cygnus.com>
13073 * fixincludes (va_list): Use __not_va_list__ for the dummy.
13074 * fixinc/*: Likewise.
13076 2000-01-13 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
13078 * cccp.c: PROTO -> PARAMS.
13079 * cexp.y: Likewise.
13080 * collect2.c: Likewise.
13081 * combine.c: Likewise.
13082 * convert.h: Likewise.
13084 * dbxout.c: Likewise.
13085 * dbxout.h: Likewise.
13086 * diagnostic.c: Likewise.
13087 * doprint.c: Likewise.
13088 * dwarf2out.c: Likewise.
13089 * dwarf2out.h: Likewise.
13090 * dwarfout.c: Likewise.
13091 * dwarfout.h: Likewise.
13092 * dyn-string.h: Likewise.
13094 2000-01-13 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
13096 * calls.c (emit_call_1): Wrap varaible `struct_value_size_rtx' in
13097 macro conditionals guarding use.
13099 * dwarf2out.c: Include "tm_p.h".
13101 * function.c (locate_and_pad_parm): Mark parameter with
13103 (expand_function_end): Likewise for variable `context'.
13105 * reorg.c (make_return_insns): Wrap prototype in macro HAVE_return.
13107 2000-01-13 Nick Clifton <nickc@cygnus.com>
13109 * config/fr30/fr30.c (fr30_expand_epilogue): Emit USEs of pop'ed
13110 register to prevent compile time warnings.
13112 2000-01-13 Zack Weinberg <zack@wolery.cumb.org>
13114 * longlong.h [i386] (udiv_qrnnd): Rename 'd' argument to 'dv'
13115 to avoid -Wtraditional warning.
13117 2000-01-13 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
13119 * 1750a-protos.h: New file.
13121 * 1750a.c: Include tm_p.h. Add static prototypes. Fix compile
13124 * 1750a.h: Move prototypes to 1750a-protos.h. Fix compile time
13127 * 1750a.md: Likewise.
13129 2000-01-13 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
13131 * a29k-protos.h: New file.
13133 * a29k.c: Include tm_p.h. Add static prototypes. Fix compile
13136 * a29k.h: Move prototypes to a29k-protos.h. Fix compile time
13139 2000-01-13 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
13141 * clipper-protos.h: New file.
13143 * clipper.c: Include tm_p.h. Add static prototypes. Fix compile
13146 * clipper.h: Move prototypes to clipper-protos.h. Fix compile time
13149 Thu Jan 13 16:03:06 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
13151 * reload1.c (reload_combine_note_store): Use HARD_REGNO_NREGS.
13153 2000-01-13 Nathan Sidwell <sidwell@codesourcery.com>
13155 * configure.in (--enable-new-gxx-abi): New option.
13156 * acconfig.h (ENABLE_NEW_GXX_ABI): New define.
13157 * Makefile.in (GXX_ABI_FLAG): New variable.
13158 * configure: Regenerate.
13160 2000-01-13 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
13162 * stor-layout.c (layout_type): Use FORCE_STRUCT_BLK.
13163 * tm.texi (FORCE_STRUCT_BLK): Document.
13164 * config/c4x/c4x.h (FORCE_STRUCT_BLK): New macro.
13166 Wed Jan 12 23:12:47 2000 Hans-Peter Nilsson <hp@axis.com>
13168 * config/ns32k/ns32k.md: Revert Jan 9 change.
13170 * genrecog.c (maybe_both_true_2): Do not compare a predicate-test
13171 to a mode-test, if the predicate is address_operand.
13173 Wed Jan 12 22:34:00 2000 Jeffrey A Law (law@cygnus.com)
13175 * combine.c (if_then_else_cond): Be careful about what kinds
13176 of RTL expressions are passed to operand_subword.
13178 * flow.c (split_edge): If we have to insert a new jump, make
13179 sure to associate it with a basic block.
13181 * flow.c (commit_one_edge_insertion): A block with one successor
13182 can end in a JUMP_INSN that is not a simplejump.
13184 2000-01-12 Robert Lipe <robertl@sco.com>
13186 * i386/sco5.h (INIT_SECTION_ASM_OP_COFF): Rename section to "ctor".
13187 (BUILD_VA_LIST_TYPE): Define.
13188 (EH_FRAME_SECTION_ASM_OP): Explictly define to better interact
13191 2000-01-12 Jason Merrill <jason@casey.cygnus.com>
13193 * cccp.c (do_pragma): Add cast to (char *).
13195 2000-01-12 Richard Henderson <rth@cygnus.com>
13196 Fred Fish <fnf@be.com>
13197 Jason Merrill <jason@cygnus.com>
13199 * configure.in (i?86-*-beos{pe,elf,}*): Recognize.
13200 * i386/t-beos, i386/x-beos, i386/xm-beos.h: New files.
13201 * i386/beos-elf.h, i386/beos-pe.h: New files.
13203 * Makefile.in (CROSS_SYSTEM_HEADER_DIR): New.
13204 * cross-make (SYSTEM_HEADER_DIR): Define using
13205 CROSS_SYSTEM_HEADER_DIR.
13207 * gcc.c (LIBRARY_PATH_ENV): Provide default.
13208 (process_command): Use it.
13209 (main): Likewise. Kill trailing = from env vars.
13210 (build_search_list): Put it back.
13211 * collect2.c (main): Use LIBRARY_PATH_ENV.
13213 * configure.in (GCC_NEED_DECLARATIONS): Add environ.
13214 * toplev.c: Use NEED_DECLARATION_ENVIRON.
13216 * tm.texi (Frame Layout): Document SMALL_STACK.
13217 * c-common.c (c_common_nodes_and_builtins): Check it.
13219 * system.h: Undef alloca after including glibc's <stdlib.h>,
13220 if USE_C_ALLOCA is defined.
13222 * gcc.c (set_input): New fn.
13223 (main): After all input files are compiled, reset the input file
13226 * aclocal.m4 (rindex, index): If already defined, don't attempt
13229 * ginclude/varargs.h: (__va_list__): Define ifndef.
13230 * ginclude/stdarg.h: Likewise.
13232 * ginclude/stddef.h (__WCHAR_TYPE__) [BEOS]: Use int
13233 instead of unsigned char.
13235 * hash.h (true, false, boolean): Undef before enum.
13237 * expmed.c (choose_multiplier): Cast &mhigh_lo and &mhigh_hi to be
13238 proper type of "HOST_WIDE_INT *", rather than their natural type of
13239 "unsigned HOST_WIDE_INT *".
13241 2000-01-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
13243 * svr3.h (ASM_FILE_START): Wrap if-clause in squigly brackets.
13245 * recog.c (memory_address_p): Mark parameter with ATTRIBUTE_UNUSED.
13247 * regclass.c (choose_hard_reg_mode): Likewise.
13249 * reload.c (find_valid_class, strict_memory_address_p): Likewise.
13251 * reorg.c (optimize_skip): Wrap prototype in macro conditionals.
13253 2000-01-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
13255 * c-common.c: PROTO -> PARAMS.
13256 * c-common.h: Likewise.
13257 * c-decl.c: Likewise.
13258 * c-iterate.c: Likewise.
13259 * c-lang.c: Likewise.
13260 * c-lex.c: Likewise.
13261 * c-lex.h: Likewise.
13262 * c-parse.in: Likewise.
13263 * c-pragma.c: Likewise.
13264 * c-pragma.h: Likewise.
13265 * c-tree.h: Likewise.
13266 * c-typeck.c: Likewise.
13267 * objc/objc-act.c: Likewise.
13268 * objc/objc-act.h: Likewise.
13270 2000-01-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
13272 * m88k-protos.h: New file.
13274 * m88k.c: Include tm_p.h. Add static prototypes. Fix compile
13277 * m88k.h: Move prototypes to m88k-protos.h. Fix compile time warnings.
13279 * m88k.md: Likewise.
13281 * tekXD88.h: Likewise.
13283 2000-01-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
13285 * m68k-protos.h: New file.
13287 * m68k.c: Include tm_p.h. Add static prototypes. Fix compile
13290 * m68k.h: Move prototypes to m68k-protos.h. Fix compile time warnings.
13292 * mot3300.h: Likewise.
13294 2000-01-12 Richard Earnshaw <rearnsha@arm.com>
13296 * haifa-sched.c (split_edges): Pass edgeset_size as second arg to
13298 (extract_bitlist): Declare bitlen.
13300 2000-01-12 Zack Weinberg <zack@wolery.cumb.org
13302 * cccp.c: Accept and ignore -lang-fortran.
13304 * c-typeck.c (build_c_cast): Issue -Wcast-qual warnings if the
13305 qualifiers don't match at any level of pointerness.
13307 2000-01-12 Robert Lipe <robertl@sco.com>
13309 * i386/sysv5.h (CPP_SPEC, LIBSPEC): Add -pthreadT.
13311 2000-01-12 Bernd Schmidt <bernds@cygnus.co.uk>
13313 * reload1.c (reload_reg_unavailable): New static variable.
13314 (reload_reg_free_p): Test it.
13315 (reload_reg_free_for_value_p): Test it instead of
13317 (choose_reload_regs_init): Compute it.
13319 Wed Jan 12 03:24:41 2000 Toshiyasu Morita (toshi.morita@sega.com)
13321 * reorg.c (fill_slots_from_thread): Check modified_in_p
13324 Wed Jan 12 03:20:31 2000 John Marshall <john_w_marshall@palm.com>
13326 * gcc.texi (Funding, GNU/Linux, Copying, Contributors): Format
13327 these nodes even if INTERNALS is not set.
13329 Wed Jan 12 09:39:22 2000 Nick Burrett <nick.burrett@btinternet.com>
13331 * gcse.c (delete_null_pointer_checks_1): Cope when
13332 get_condition cannot determine the condition.
13334 2000-01-12 Gabriel Dos Reis <gdr@codesourcery.com>
13336 * toplev.h (set_message_length): Declare.
13338 * diagnostic.c (obstack_chunk_alloc): Define macro.
13339 (obstack_chunk_free): Likewise.
13340 (struct output_buffer): New data structure.
13341 (vmessage): Remove.
13342 (output_maximum_width): New variable.
13343 (doing_line_wrapping, set_message_length, init_output_buffer,
13344 get_output_prefix, output_space_left, emit_output_prefix,
13345 output_newline, output_append, output_puts, dump_output,
13346 vbuild_message_string, build_message_string, build_location_prefix,
13347 voutput_notice, output_printf, line_wrapper_printf,
13348 vline_wrapper_message_with_location): New functions. Implement
13349 automatic line wrapping.
13350 (v_message_with_decl): Make it handle automatic line wrapping.
13351 (v_error_with_file_and_line): Likewise.
13352 (v_warning_with_file_and_line): Likewise.
13353 (announce_function): Likewise.
13354 (default_print_error_function): Likewise.
13356 2000-01-11 16:24 -0800 Zack Weinberg <zack@wolery.cumb.org>
13358 * cpplib.h (struct cpp_options): Change lang_asm to char.
13360 * cppinit.c (builtin_array): Take out __STDC_VERSION__, it's
13361 done in cpp_handle_option now.
13362 (initialize_builtins): Take out special case code used only by
13364 (cpp_handle_option): Turn off trigraphs and trigraph warnings
13365 if -traditional. Recognize -lang-fortran and set
13366 lang_fortran, also turn off cplusplus_comments.
13367 (print_help): Document -lang-fortran.
13368 * cpplib.c (handle_directive): Ignore `# 123 "file"' if
13369 lang_asm. Ignore all directives other than `# 123 "file"' if
13371 (cpp_get_token): If -traditional, don't recognize directives
13372 unless the # is in column 1.
13373 (parse_string): If lang_fortran or lang_asm, silently
13374 terminate strings ('' or "") at end of line.
13375 Remove unnecessary braces.
13377 2000-01-11 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
13378 Richard Henderson <rth@cygnus.com>
13380 * resource.c (mark_referenced_resources): Mark a set strict_low_part
13382 * config/i386/i386.c (ix86_expand_setcc): Re-enable clear + set
13383 strict_low_part when possible.
13385 2000-01-11 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
13387 * alias.c: PROTO -> PARAMS.
13388 * basic-block.h: Likewise.
13389 * bitmap.c: Likewise.
13390 * bitmap.h: Likewise.
13391 * builtins.c: Likewise.
13392 * c-aux-info.c: Likewise.
13393 * caller-save.c: Likewise.
13394 * calls.c: Likewise.
13396 2000-01-11 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
13398 * Makefile.in (toplev.o): Depend on regs.h.
13400 * output.h (tdesc_section): Prototype.
13402 * regclass.c (copy_cost): Mark parameters with ATTRIBUTE_UNUSED.
13404 * sdbout.c: Include "tm_p.h".
13406 * toplev.c: Include "regs.h".
13408 Tue Jan 11 11:37:58 2000 Mike Stump <mrs@wrs.com>
13410 * unroll.c (unroll_loop): Add EH support.
13412 2000-01-11 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
13414 * pa-protos.h: New file.
13416 * pa.c: Include recog.h and tm_p.h.
13417 (compute_zdepwi_operands, compute_movstrsi_length,
13418 remove_useless_addtr_insns, store_reg, load_reg, set_reg_plus_d,
13419 find_addr_reg, import_milli): Add static prototypes.
13420 (pa_cpu_string, pa_arch_string): Constify a char*.
13421 (legitimize_pic_address): Pass argument `mode' to pic_label_operand.
13422 (read_only_operand): Add argument `mode'.
13423 (singlemove_string, output_move_double, output_fp_move_double,
13424 output_block_move, output_and, output_ior, output_ascii,
13425 remove_useless_addtr_insns, milli_names, output_mul_insn,
13426 output_div_insn, output_mod_insn, output_arg_descriptor,
13427 output_cbranch, output_bb, output_bvb, output_dbra, ,
13428 output_millicode_call, output_call, hppa_encode_label,
13429 output_parallel_movb, output_parallel_addb): Constify a char*.
13430 (hppa_va_start): Mark parameter `stdarg_p' with ATTRIBUTE_UNUSED.
13431 (output_parallel_addb): Remove extra arg to `constrain_operands'
13433 * pa.h: Move all prototypes to pa-protos.h.
13434 (pa_cpu_string, pa_arch_string): Constify a char*.
13435 (LEGITIMIZE_ADDRESS): Call `symbolic_operand' with mode argument.
13437 * pa.md: Call `function_label_operand' with mode argument.
13438 Likewise for `read_only_operand'.
13439 Fix nesting of parens in call to `symbolic_operand'.
13441 2000-01-11 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
13443 * i860-protos.h: New file.
13445 * i860.c: Include tm_p.h. Add static prototypes. Fix compile
13448 * i860.h: Move prototypes to i860-protos.h. Fix compile time warnings.
13450 * i860.md: Likewise.
13452 Tue Jan 11 18:59:35 MET 2000 Jan Hubicka <jh@suse.cz>
13454 * i386.md (movstrsi expander): Rewrite.
13455 (movstrsi_1 insn): Deleted.
13456 (strmovhi, strmovqi expander): New expanders.
13457 (movshi_1, movsqi_1, rep_movsi, rep_movqi): New patterns.
13458 * i386.c (x86_single_stringop): New global variable.
13459 * i386.h (x86_single_stringop): Declare.
13460 (TARGET_SINGLE_STRINGOP): New macro.
13462 2000-01-11 Clinton Popetz <cpopetz@cygnus.com>
13464 * config/mips/mips.c (mips_va_arg): For EABI, emit the queued
13465 integer vararg POSTINCREMENT before the destination of the jump
13466 for the hard fp case.
13467 (function_arg_pass_by_reference): Pass a copy of CUM to
13470 * config/mips/mips.h (GO_IF_LEGITIMATE_ADDRESS): Move check
13471 for CONSTANT_ADDRESS_P above while loop for subreg.
13473 2000-01-11 Clinton Popetz <cpopetz@cygnus.com>
13475 * flow.c (propagate_block): When a prologue/epilogue insn
13476 is marked dead, unconditionally clear libcall_is_dead and
13477 insn_is_dead, and only dump rtl if warnings aren't being
13480 Tue Jan 11 16:26:47 MET 2000 Jan Hubicka <jh@suse.cz>
13482 * i386.c (ix86_attr_length_default): Handle TYPE_STR and TYPE_CLD.
13483 * i386.md (FIRST_PSEUDO_REGISTER): Set to 20.
13484 (FIXED_REGISTERS): Set dirflag as fixed.
13485 (CALL_USED_REGISTERS): Set dirflag as used.
13486 (REG_ALLOC_ORDER): Set dirflag as last one.
13487 (DIRFLAG_REG): New macro.
13488 (MD_ASM_CLOBBERS): Asm clobber dirflag for backward compatibility.
13489 (HI_REGISTER_NAMES): Add dirflag.
13490 (DEBUF_PRINT_REG): Handle dirflag.
13491 * i386.md (type attribute): New cld and str types.
13492 (length_opcode attribute): Set cld and str to 1.
13493 (memory attribute): Set str to unknown - it is not clear from the
13495 (pent_np function unit): Prefixed string operations takes 12 cycles
13496 minimally; cld takes 2 cycles.
13497 (ppro_uops attribute): Str is "many" and cld is "few".
13498 (ppro_p0 unit): Handle cld here.
13499 (k6_alux unit): Handle cld and str types.
13500 (k6_load unit): It is ocupied by str opcodes.
13501 (k6_store unit): It is ocupied by str opcodes.
13502 (athlon_decode): Str is vector decoded.
13503 (athlon_ieu): Handle str and cld.
13504 (cld pattern): New.
13505 (movstrsi, clrstr, cmpstr, strlen expander): Emit cld instruction
13506 (movstrsi_1, clrstrsi_1, cmpstrsi_1, strlensi_1,
13507 cmpstrsi_nz_1 insn): Do not output cld instruction
13509 Tue Jan 11 06:14:39 2000 David Starner <dstarner98@aasaa.ofe.org>
13511 * gcc.texi (G++ and GCC): Add Java and Chill.
13512 (Bug Critera): Don't list languages.
13514 * gcc.texi (Incompatibilities): No longer claim most C compilers
13517 * gcc.texi (G++ and GCC): Update other front-ends list.
13519 Tue Jan 11 05:49:01 2000 Jeffrey A Law (law@cygnus.com)
13521 * i386.c (ix86_expand_setcc): Fix typo.
13522 (ix86_expand_movcc): Similarly.
13524 * Band-aid until haifa's bitset implementation is nuked.
13525 * haifa-sched.c (extract_bitlst): New parameter for size of the
13526 bitset in bits. All callers changed. Avoid looking at undefined
13527 bits in the bitset.
13528 (edgeset_bitsize): New variable.
13529 (schedule_region): Initialize edgeset_bitsize.
13531 2000-01-10 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
13533 * Makefile.in (optabs.o): Depend on real.h
13534 (resource.o): Depend on insn-attr.h
13536 * builtins.c (result_vector): Wrap prototype in macro conditions
13537 governing definition and use.
13539 * c-common.c: Include tm_p.h.
13541 * c-lex.c: Likewise.
13543 * elfos.h: Constify a char*.
13545 * final.c (align_fuzz): Wrap prototype in macro HAVE_ATTR_length.
13546 (get_attr_length, shorten_branches, profile_after_prologue): Mark
13547 parameter with ATTRIBUTE_UNUSED.
13549 * fold-const.c (exact_real_inverse): Wrap variable `i' in
13552 * haifa-sched.c (schedule_insns): Mark parameter with
13555 * optabs.c: Include real.h.
13557 * real.h (ereal_atof): Add prototype arguments.
13559 * resource.c: Include insn-attr.h.
13561 * sdbout.c (sdbout_queue_anonymous_type,
13562 sdbout_dequeue_anonymous_types): Wrap in macro
13563 SDB_ALLOW_FORWARD_REFERENCES.
13564 (sdbout_init, sdbout_start_new_source_file): Mark parameter with
13567 * stmt.c (expand_return): Wrap variable `op0' in macro HAVE_return.
13569 * stupid.c: Include tm_p.h.
13571 * tree.c (real_value_from_int_cst): Mark parameter with
13574 2000-01-10 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
13576 * i960-protos.h: New file.
13578 * i960.c: Include tm_p.h. Add static prototypes. Fix compile
13581 * i960.h: Move prototypes to i960-protos.h. Fix compile time warnings.
13583 2000-01-10 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
13585 * combine.c (expand_field_assignment): Do not discard SUBREGs
13586 while computing nonzero_bits.
13588 2000-01-09 Nick Clifton <nickc@cygnus.com>
13590 * config/arm/arm.c: Fix compile time warnings about signed vs
13591 unsigned constants.
13592 * config/arm/arm.h: Fix compile time warnings about signed vs
13593 unsigned constants.
13595 2000-01-09 Philip Blundell <philb@gnu.org>
13597 * config/arm/arm.c (output_return_instruction): Use `ldr' rather
13598 than `ldm' with only one register.
13599 * config/arm/arm.md (push_multi): Use `str' rather than `stm' with
13602 * config/arm/linux-gas.h (CLEAR_INSN_CACHE): Say that R0 is
13605 Sun Jan 9 17:50:23 2000 Hans-Peter Nilsson <hp@axis.com>
13607 * config/ns32k/ns32k.md (load or push effective address): Operand 1
13610 2000-01-09 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
13612 * elfos.h (ASM_OUTPUT_LIMITED_STRING): Add parentheses around
13613 assignment used as truth value.
13615 * function.c (assign_temp): Mark parameter `dont_promote' with
13616 ATTRIBUTE_UNUSED. Wrap variable `unsignedp' with macro
13617 PROMOTE_FOR_CALL_ONLY.
13619 * genrecog.c (write_subroutine): Mark variable `operands' with
13622 * optabs.c (prepare_cmp_insn): Mark parameter `align' with
13625 * sdbout.c (sdbout_init): Likewise for parameter `asm_file'.
13626 (sdbout_begin_block, sdbout_end_block): Likewise for `file'.
13628 * toplev.c (note_deferral_of_defined_inline_function): Likewise
13631 2000-01-09 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
13633 * config/c4x.h: Tidy up comments.
13634 * config/c4x.c: Likewise.
13636 Sun Jan 9 01:02:55 EST 2000 John Wehle (john@feith.com)
13638 * fold-const.c (lshift_double, rshift_double): Handle
13639 shifting by 2 * HOST_BITS_PER_WIDE_INT correctly.
13641 2000-01-08 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
13643 * toplev.c (rest_of_compilation): Initialize cse_not_expected as
13644 in prepare_function_start().
13646 Sat Jan 8 12:12:46 2000 Nick Clifton <nickc@cygnus.com>
13648 * config/v850/v850.c (expand_epilogue): Interrupt functions no
13649 longer allocate extra stack for function calls.
13651 2000-01-08 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
13653 * config/c4x/c4x.md (*subqf3_set): Fix typo.
13655 2000-01-08 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
13657 * config/c4x/c4x.h (CALLER_SAVE_PROFITABLE): Define as 0.
13659 2000-01-07 David Edelsohn <edelsohn@gnu.org>
13661 * rs6000.c (processor_target_table): Add power3 as alias for 630.
13662 * aix43.h: Revert Aug 2 change.
13663 (HAS_INIT_SECTION): Define, not visible yet.
13664 (LD_INIT_SWITCH): Define, not visible yet.
13665 * t-aix43 (MULTILIB_OPTIONS): Revert Aug 2 change.
13667 * glimits.h (__LONG_MAX__): Recognize 64-bit AIX too.
13669 * collect2.c (main): Expand ld2 size further.
13670 (export_object_lst): Cast assignment to avoid warning.
13671 (main, LD_INIT_SWITCH): Add AIX 4.2+ -binitfini support.
13672 (scan_prog_file, COFF): Do not collect initialization or
13673 finalization functions generated for entire shared object if
13674 init/fini support present.
13676 2000-01-07 Nick Clifton <nickc@cygnus.com>
13678 * config/elfos.h: Tidy up formatting of marcos. Make sure
13679 that .section directives are always prefixed by a tab.
13681 * config/svr4.h: Add #include "elfos.h" and remove duplicate
13684 2000-01-07 Matt Austern <austern@sgi.com>
13686 * fold-const.c (real_hex_to_f): Remove duplicate declaration of
13689 Fri Jan 7 01:55:34 2000 Jeffrey A Law (law@cygnus.com)
13691 * Makefile.in (crtend.o): Pass @inhibit_libc@ to compilation of
13693 (crtbegin.o, s-crtS): Likewise.
13695 2000-01-06 Richard Henderson <rth@cygnus.com>
13697 * alpha.md (adddi_2+1): Limit offset such that it will be
13698 loadable with a single ldah+lda pair.
13699 (adddi_2+2): Explicitly fail split if we can't make it work.
13701 2000-01-06 Mumit Khan <khan@xraylith.wisc.edu>
13703 * protoize.c: Conditionally include unistd.h.
13704 (IS_SAME_PATH_CHAR): New macro.
13705 (IS_SAME_PATH): New macro.
13706 (CPLUS_FILE_SUFFIX): New macro.
13707 (cplus_suffix): New static variable.
13708 (is_abspath): New static function.
13709 (in_system_include_dir): Handle DOS style pathnames.
13710 (file_could_be_converted): Likewise.
13711 (file_normally_convertible): Likewise.
13712 (directory_specified_p): Likewise.
13713 (file_excluded_p): Likewise.
13714 (abspath): Likewise.
13715 (shortpath): Likewise.
13716 (referenced_file_is_newer): Likewise.
13717 (save_def_or_dec): Likewise.
13718 (do_processing): Likewise.
13720 (edit_file): Likewise. Use rename instead of link.
13721 (rename_c_file): Likewise. Don't rename syscalls file.
13722 (munge_compile_params): Define null device for DOS based systems.
13723 (process_aux_info_file): Use binary mode if appliable.
13724 (edit_file): Likewise.
13725 * invoke.texi (Running Protoize): Document C++ suffixes used.
13727 * cccp.c: Delete PATH_SEPARATOR, DIR_SEPARATOR and
13728 IS_DIR_SEPARATOR macros.
13729 * collect2.c: Likewise.
13730 * cppinit.c: Likewise.
13731 * dwarf2out.c: Likewise.
13733 * gcov.c: Likewise.
13734 * prefix.c: Likewise.
13736 * toplev.c: Likewise.
13737 * system.h: And move to here.
13739 * prefix.c (update_path): Fix typo in variable name.
13741 2000-01-06 Richard Henderson <rth@cygnus.com>
13743 * flow.c (mark_set_1): Use loop_depth+1 as reference weight.
13744 (find_auto_inc, mark_used_regs, try_pre_increment_1): Likewise.
13745 (count_reg_sets_1, count_reg_references): Likewise.
13746 (flow_loops_level_compute): Start counting actual loop depth at 1.
13747 (flow_loops_find): Likewise.
13748 * local-alloc.c (update_equiv_regs): Likewise.
13749 * regclass.c (regclass): Re-instate Jan 4 0-based loop_depth change.
13751 2000-01-06 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
13753 * defaults.h (DWARF_FRAME_REGISTERS): if not defined, default to
13754 FIRST_PSEUDO_REGISTER
13755 * dwarf2out.c: Don't include frame.h
13756 * dwarfout.c: Likewise
13757 * Makefile.in (dwarfout.o, dwarf2out.o): Remove dependence on
13760 Thu Jan 6 13:44:59 CET 2000 Jan Hubicka <jh@suse.cz>
13762 * reg-stack.c (subst_stack_regs_pat): Handle correctly USEs of
13765 * i386.c (movsf splitter): Fix typo in my last checkin.
13767 2000-01-05 Nick Clifton <nickc@cygnus.com>
13769 * varasm.c (IN_NAMED_SECTION): Allow targets to provide their
13770 own definition of this macro.
13771 (asm_emit_uninitialised): Invoke UNIQUE_SECTION if either
13772 flag_data_sections or UNIQUE_SECTION_P are true.
13774 * tm.texi (UNIQUE_SECTION): Document that it can be called for
13775 unitialised data decls.
13777 * config/i386/winnt.c (i386_pe_unique_section): Cope with
13778 being called for uninitialised data.
13780 * config/i386/interix.c (i386_pe_unique_section): Cope with
13781 being called for uninitialised data.
13783 * config/mips/elf.h (UNIQUE_SECTION): Cope with being called
13784 for uninitialised data.
13786 * config/mips/elf64.h (UNIQUE_SECTION): Cope with being called
13787 for uninitialised data.
13789 * config/mips/iri6gld.h (UNIQUE_SECTION): Cope with being called
13790 for uninitialised data.
13792 * config/arm/unknown-elf.h (IN_NAMED_SECTION): Define.
13793 (UNIQUE_SECTION_P): Always generate a unique section if
13794 flag_data_sections is true.
13795 (UNIQUE_SECTION): Also generate unique sections for
13796 uninitialised data.
13797 (ASM_OUTPUT_ALIGNED_BSS): Redefine to use named_section().
13798 (ASM_OUTPUT_ALIGNED_DECL_LOCAL): Redefine to use
13801 2000-01-06 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
13803 * config/c4x/t-c4x (TARGET_LIBGCC2_CFLAGS): Don't redefine SF, DF,
13806 2000-01-06 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
13808 * config/c4x/c4x.md (udivqi3, divqi3): Delete.
13809 (umodqi3, modqi3, udivhi3, divhi3, umodhi3, modhi3, ffsqi2): Likewise.
13810 (*smulqi3_highpart_noclobber, *umulqi3_highpart_noclobber): New.
13811 (*lshrqi3_const_noclobber, *lshrqi3_nonconst_noclobber): Likewise.
13812 (*ashrqi3_const_noclobber, *ashrqi3_nonconst_noclobber): Likewise.
13814 * c4x.h (INIT_TARGET_OPTABS): Define to init libcalls.
13816 2000-01-05 11:25 -0800 Zack Weinberg <zack@rabi.columbia.edu>
13818 * c-decl.c (finish_enum): Simplify code to determine minimum and
13819 maximum values of the enum, and calculate the type. Remove check
13820 for FUNCTION_DECLs in the values list, which cannot happen. Replace
13821 the DECL_INITIAL of each enumeration constant with a copy converted
13822 to the enumeration type. When updating variant types, don't bother
13823 updating the type itself.
13825 * c-typeck.c (build_binary_op): Simplify conditional expressions
13826 when weeding out spurious signed-unsigned warnings. Add new
13827 spurious warning category: if the unsigned quantity is an enum
13828 and its maximum value fits in signed_type(result_type). Update
13830 (build_conditional_expr): Warn here if one alternative is signed
13831 and the other is unsigned.
13833 2000-01-05 Nick Clifton <nickc@cygnus.com>
13835 * config/fr30/fr30.h: Remove extraneous comments.
13837 2000-01-05 Bernd Schmidt <bernds@cygnus.co.uk>
13839 * reload1.c (choose_reload_regs): When disabling a reload, also
13840 set reload_spill_index to -1.
13842 2000-01-04 Joel Sherrill (joel@OARcorp.com>
13844 * configure.in (m68*-*-rtemscoff*): New target, formal name for
13846 (m68*-*-rtemself*): New target.
13847 (mips64orion-*-rtems*): Remove duplicate definition of tm_file.
13848 (sparc*-*-rtemsaout*): New target, formal name for old sparc*-*-rtems*.
13849 (sparc*-*-rtemself*): New target.
13850 (sparc*-*-rtems*): Now elf not a.out.
13851 * config/i386/rtems.h: Include config/rtems.h.
13852 * config/i386/rtemself.h: Include config/rtems.h.
13853 * config/i960/rtems.h: Include config/rtems.h.
13854 * config/m68k/rtems.h: Include config/rtems.h.
13855 * config/m68k/rtemself.h: Include config/rtems.h.
13856 * config/mips/rtems64.h: Include config/rtems.h.
13857 * config/pa/rtems.h: Include config/rtems.h.
13858 * config/rs6000/rtems.h: Include config/rtems.h.
13859 * config/sh/rtems.h: Include config/rtems.h.
13860 * config/sh/rtemself.h: Include config/rtems.h.
13861 * config/sparc/rtems.h: Include config/rtems.h.
13862 * config/sparc/rtemself.h: Include config/rtems.h
13864 Tue Jan 4 23:59:26 2000 Denis Chertykov <denisc@overta.ru>
13866 * final.c (shorten_branches): Correctly compute length of
13867 asms without operands.
13869 Tue Jan 4 22:55:41 2000 Steve Chamberlain <sac@pobox.com>
13871 * configure.in: Add pj target.
13872 * configure: Regenerate.
13873 * config/pj: New directory.
13874 * config/pj/lib1funcs.S: New file.
13875 * config/pj/linux.h: New file.
13876 * config/pj/pj.c: New file.
13877 * config/pj/pj.md: New file.
13878 * config/pj/pjl.h: New file.
13879 * config/pj/t-pj: New file.
13880 * config/pj/xm-pj.h: New file
13882 Tue Jan 4 22:30:16 2000 Jeffrey A Law (law@cygnus.com)
13884 * toplev.c (rest_of_compilation): Run shorten-branches before
13887 2000-01-05 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
13889 * config/c4x/c4x.h (IS_XXX_REG, IS_XXX_REGNO): Swap behaviour of
13890 macros so that they're consistent with their names.
13891 * config/c4x/c4x.c (IS_XXX_REG, IS_XXX_REGNO): Likewise.
13892 * config/c4x/c4x.md (IS_XXX_REG, IS_XXX_REGNO): Likewise.
13894 2000-01-05 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
13896 * config/c4x/c4x.md (*addqi3_noclobber_reload): Ensure that CC never
13897 modified inadvertently.
13899 2000-01-04 Joel Sherrill <joel@OARcorp.com>
13901 * configure.in (v850*-*-rtems*): New target.
13902 * configure: Regenerate.
13903 * config/v850/rtems.h: New file.
13905 2000-01-04 Mumit Khan <khan@xraylith.wisc.edu>
13907 * gthr-win32.h (__gthread_active_p): Support Mingw MT runtime.
13908 (__gthread_key_create): Likewise.
13909 (__gthread_key_dtor): Likewise.
13910 (__gthread_once): Fix logic.
13911 (__gthread_key_delete): Cast away constness.
13913 * i386/cygwin.h (SUBTARGET_SWITCHES): Add -mthreads option.
13914 * invoke.texi: Document.
13915 * i386/mingw32.h (CPP_SPEC): Use.
13916 (LIBGCC_SPEC): Likewise.
13917 * i386/crtdll.h (LIBGCC_SPEC): Likewise.
13919 2000-01-04 David Edelsohn <edelsohn@gnu.org>
13921 * rs6000/sysv4.h (ASM_OUTPUT_DEF): Undefine.
13922 (HANDLE_PRAGMA_PACK): Undefine.
13923 (SLOW_UNALIGNED_ACCESS): Define.
13925 2000-01-04 David Edelsohn <edelsohn@gnu.org>
13927 * expmed.c (SLOW_UNALIGNED_ACCESS): Add mode and align parameters
13928 to default definition.
13929 (store_bit_field): Call SLOW_UNALIGNED_ACCESS with mode and alignment.
13930 (store_fixed_bit_field): Call macro with word_mode and alignment.
13931 (extract_bit_field): Call macro with relevant mode and alignment.
13932 * expr.c (SLOW_UNALIGNED_ACCESS): Add mode and align parameters
13933 to default definition.
13934 (move_by_pieces): Call SLOW_UNALIGNED_ACCESS with word_mode
13936 (move_by_pieces_ninsns): Likewise.
13937 (clear_by_pieces): Likewise.
13938 (emit_push_insn): Likewise.
13939 (store_field): Call macro with relevant mode and alignment.
13940 (expand_expr): Likewise.
13941 (expand_expr_unaligned): Likewise.
13943 * rs6000.h (HANDLE_PRAGMA_PACK): Define.
13944 (SLOW_UNALIGNED_ACCESS): Define.
13945 (CASE_VECTOR_MODE): Always use 32-bit offsets.
13946 (ASM_FILE_END): Generate 64-bit symbol in 64-bit mode.
13947 (EXTRA_SECTION_FUNCTIONS): Indent .csect pseudo-op.
13948 (toc_section): Likewise and .toc pseudo-op.
13949 (ASM_DECLARE_FUNCTION): Likewise. Align text more strictly in
13951 (TEXT_SECTION_ASM_OP): Likewise.
13952 (ASM_OUTPUT_ADD_VEC_ELT, ASM_OUTPUT_ADDR_DIFF_ELT): Always use
13955 * a29k.h (SLOW_UNALIGNED_ACCESS): Add MODE and ALIGN parameters.
13956 * alpha.h (SLOW_UNALIGNED_ACCESS): Likewise.
13957 * arm/thumb.h (SLOW_UNALIGNED_ACCESS): Likewise.
13958 * gmicro.h (SLOW_UNALIGNED_ACCESS): Likewise.
13959 * fr30.h (SLOW_UNALIGNED_ACCESS): Likewise.
13961 Tue Jan 4 11:44:13 2000 Jeffrey A Law (law@cygnus.com)
13963 * regclass.c: Revert my Jan 4 change to loop cost computation.
13965 Tue Jan 4 19:22:39 MET 2000 Jan Hubicka <hubicka@freesoft.cz>
13967 * regclass.c (regclass): Do not obey REG_N_REFS in non-optimizing
13970 2000-01-04 Stan Cox <scox@cygnus.com>
13972 * haifa-sched.c (build_control_flow): Change unreachable simple
13973 loop test to check if current block has only one predecessor.
13974 (find_rgns): Initialize degree. Use dest as degree index, not src.
13976 2000-01-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
13978 * builtins.c (expand_builtin_strlen): Initialize variable `icode'.
13980 * calls.c (expand_call): Likewise for
13981 `old_stack_arg_under_construction'.
13983 * cpphash.c (macroexpand): Likewise for `args' and `rest_zero'.
13985 * function.c (pad_to_arg_alignment): Likewise for `save_var' and
13988 * gcc.c (execute): Likewise for `ut' and `st'.
13990 * genattrtab.c (attr_rtx): Likewise for `rt_val'.
13992 * genopinit.c (gen_insn): Likewise for `m1', `m2' and `op'.
13994 * jump.c (jump_optimize_1): Likewise for `temp2'.
13996 * local-alloc.c (block_alloc): Likewise for `r1'.
13998 * loop.c (recombine_givs): Likewise for `life_start' and `life_end'.
14000 * reg-stack.c (check_asm_stack_operands): Likewise for `clobber_reg'.
14001 (subst_asm_stack_regs): Likewise for `clobber_reg' and `clobber_loc'.
14003 * regmove.c (fixup_match_1): Likewise for `insn_const', `dst_node'
14006 * reload.c (find_reloads): Likewise for `goal_alternative_number'
14007 and `goal_earlyclobber'.
14009 * scan-decls.c (scan_decls): Likewise for `prev_id_end'.
14011 * sdbout.c (sdbout_one_type): Likewise for `member_scl'.
14013 * stupid.c (stupid_life_analysis): Likewise for `chain'.
14015 * unroll.c (copy_loop_body): Likewise for `copy'.
14017 * varasm.c (output_constructor): Likewise for `byte'.
14019 Tue Jan 4 15:34:34 MET 2000 Jan Hubicka <hubicka@freesoft.cz>
14021 * i386.c (ix86_expand_move): Allow pushes of memory, offload to memory
14022 all FP constants for constant->reg moves.
14023 (ix86_split_to_parts): Try to convert memory address into immediate
14024 when available in the constant pool.
14025 * i386.h (PREFERRED_RELOAD_CLASS): Allow CONST_DOUBLE->integer reg
14027 (LEGITIMATE_CONSTANT_P): Return 1.
14028 * i386.md (pushsf): New splitter to convert constant pool memory
14029 reference to immediate.
14030 (mov?f): Likewise; do not allow CONST_DOUBLE for reg moves before
14033 2000-01-04 Bernd Schmidt <bernds@cygnus.co.uk>
14035 * i386.md (ashlsi3_cmpno): Don't accept variables shifts.
14036 (ashlhi3_cmpno, ashlqi3_cmpno, ashrsi3_cmpno, ashrhi3_cmpno,
14037 ashrqi3_cmpno, lshrsi3_cmpno, lshrhi3_cmpno, lshrqi3_cmpno): Likewise.
14038 (rotlsi3_cmpno, rotlhi3_cmpno, rotlqi3_cmpno, rotrsi3_cmpno,
14039 rotrhi3_cmpno, rotrqi3_cmpno): Likewise.
14041 2000-01-04 Martin von Löwis <loewis@informatik.hu-berlin.de>
14043 * ginclude/stdbool.h: Support compilation as C++.
14045 Tue Jan 4 01:35:13 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
14047 * fold-const.c (make_range): Don't try to reverse an unbounded range.
14049 Tue Jan 4 00:18:46 2000 Jeffrey A Law (law@cygnus.com)
14051 * regclass.c (regclass): Properly compute loop_cost. Adjust
14054 * regclass.c: Fix minor whitespace problems.
14056 2000-01-03 Anthony Green <green@cygnus.com>
14058 * config/i386/i386.md (builtin_setjmp_receiver): New pattern.
14059 Restore the pic register if required.
14061 2000-01-03 Ulrich Drepper <drepper@cygnus.com>
14063 * c-common.c (format_char_info): Update comment.
14064 (check_format_info): Recognize 'z' modifier in the same way 'Z'
14065 was recognized. Emit warning for formats new in ISO C99 only
14066 if flag_isoc9x is not set.
14068 Mon Jan 3 12:59:54 2000 Mark P. Mitchell <mark@codesourcery.com>
14070 * config/mips/iris6gld.h: Fix typo in -mabi=n32 specs.
14072 Mon Jan 3 15:33:37 MET 2000 Jan Hubicka <hubicka@freesoft.cz>
14074 * combine.c (expand_compound_operation): Do not convert ZERO_EXTEND to
14075 SIGN_EXTEND, convert SIGN_EXTEND to ZERO_EXTEND.
14076 (make_compound_operation): Choose cheaper alternative between
14077 ZERO_EXTEND and SIGN_EXTEND when sign bit is not set.
14079 * regclass.c (op_costs): Remove global variable.
14080 (record_reg_classes): New parameter "op_costs" and "reg_pref".
14081 (record_operand_costs): Break out from ...
14082 (scan_one_insn): ... here.
14083 (dump_regclass): Make dumps nicer.
14084 (regclass): Dump preferrences choosed and changes done during passes.
14086 2000-01-03 Jakub Jelinek <jakub@redhat.com>
14088 * config/sparc/sparc.c (gen_df_reg): Fix for 32bit SPARC.
14090 2000-01-03 Jakub Jelinek <jakub@redhat.com>
14092 * config/sparc/sparc.c (gen_df_reg): New function.
14093 * config/sparc/sparc-protos.h (gen_df_reg): Add prototype.
14094 * config/sparc/sparc.md (movtf_no_e_insn_sp64+1,
14095 movtf_no_e_insn_sp64+2, movtf_no_e_insn_sp64+3, movtf_cc_sp64+1,
14096 movtf_cc_reg_sp64+1): Use it.
14098 2000-01-02 Mark Mitchell <mark@codesourcery.com>
14100 * integrate.c (copy_decl_for_inlining): Clear TREE_ADDRESSABLE on
14101 copied LABEL_DECLs.
14103 Mon Jan 3 02:54:40 2000 Hans-Peter Nilsson <hp@bitrange.com>
14105 * config/i386/i386.c (ix86_expand_unary_operator): Function
14106 definition made void.
14107 (ix86_expand_binary_operator): Update outdated preceding comment.
14108 * config/i386/i386-protos.h (ix86_expand_unary_operator): Update
14111 * config/i386/i386.c (override_options): Fix option-name typo.
14113 2000-01-02 Mark Mitchell <mark@codesourcery.com>
14115 * system.h (CEIL): Define.
14116 * builtins.c (CEIL): Remove.
14117 * expmed.c (CEIL): Likewise.
14118 * expr.c (CEIL): Likewise.
14119 * stor-layout.c (CEIL): Likewise.
14121 2000-01-02 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
14123 * expr.c (store_constructor_field): Fix typo introduced with last
14126 2000-01-01 Mark Mitchell <mark@codesourcery.com>
14128 * tree.h (BINFO_N_BASETYPES): New macro.
14130 2000-01-01 Bernd Schmidt <bernds@cygnus.co.uk>
14132 * expmed.c (emit_store_flag): Prevent losing a pending stack
14133 adjust the same way we prevent losing queued increments.
14135 Fri Dec 31 19:10:31 1999 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
14137 * function.c (update_temp_slot_address): Handle case where sum of
14138 temporary address plus offset in register is a valid address.
14140 1999-12-30 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
14142 * genrecog.c (change_state) Corrected typo.
14144 1999-12-30 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
14146 * system.h (bcopy, bcmp, bzero, index, rindex, atof, atol, free,
14147 getcwd, getenv, getwd, sbrk, strstr, malloc, calloc, realloc,
14148 strerror, getrlimit, setrlimit, abort): Add prototype arguments.
14150 1999-12-30 Bernd Schmidt <bernds@cygnus.co.uk>
14152 * i386.c (ix86_expand_fp_compare): In non-sahf non-TARGET_IEEE
14153 case, expand GT comparisons correctly. Fix a comment before this
14156 1999-12-30 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
14158 * dwarfout.c: Include "frame.h"
14159 * dwarf2out.c: Likewise.
14160 * Makefile.in (dwarfout.o): Depend on frame.h
14161 (dwarf2out.o): Likewise.
14163 1999-12-29 "Martin v. Loewis" <martin@loewis.home.cs.tu-berlin.de>
14165 Restore i386 binary compatibility in Dwarf EH info.
14166 * config/i386/i386.h (DWARF_FRAME_REGISTERS): Define as 17, the old
14167 value of FIRST_PSEUDO_REGISTER.
14168 * frame.h (DWARF_FRAME_REGISTERS): Default to FIRST_PSEUDO_REGISTER.
14169 (struct frame_state): Use DWARF_FRAME_REGISTERS.
14170 * dwarfout.c (output_reg_number): Ditto.
14171 * dwarf2out.c (reg_number, expand_builtin_init_dwarf_reg_sizes): Ditto.
14172 (DWARF_FRAME_RETURN_COLUMN): Default to DWARF_FRAME_REGISTERS.
14174 1999-12-29 Bruce Korb <autogen@linuxbox.com>
14176 * fixinc/fixincl.c(wait_for_pid): sometimes a WSTOPSIG of zero is OK
14177 * fixinc/fixincl.tpl(<hack>TEST_CT): Just do the existence test once
14178 (<hack>_RE_CT): not needed
14179 * fixinc/fixlib.c(is_cxx_header): moved from fixtests.c
14180 rewritten to scan the file text once only
14181 "template<..." test added
14182 * fixinc/fixlib.h(apply_fix_p_t): moved from fixtests.c
14183 (is_cxx_header): declaration added
14184 * fixinc/fixtests.c(is_cxx_header): removed
14185 (apply_fix_p_t): removed
14186 (double_slash_test): is_cxx_header is only called once now
14187 * fixinc/hackshell.tpl: indexing the fixes is now done under DEBUG
14188 * fixinc/inclhack.def(FIXINC_DEBUG): added for testing DEBUG state
14189 within the templates.
14190 The borken spelling of "broken" was fixed.
14191 * fixinc/inclhack.tpl: The $VERBOSE level is used on various messages
14192 The default level depends on FIXINC_DEBUG.
14194 1999-12-29 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
14196 * crtstuff.c: If !inhibit_libc, include stdlib.h/unistd.h.
14197 Otherwise provide a declaration for atexit.
14198 (init_dummy): Make sure dummy call to atexit is nevertheless
14199 called with correct number of args.
14201 * frame.c: Update comments referring to other files.
14203 * libgcc2.c: Likewise.
14205 1999-12-29 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
14207 * cse.c (free_element, get_element): Remove unused prototypes.
14209 * fold-const.c (extract_muldiv): Initialize variables `op0' and
14212 * jump.c (invert_exp): Add explicit braces to avoid ambiguous
14215 Wed Dec 29 12:44:54 1999 Donald Lindsay <dlindsay@cygnus.com>
14217 * configure.in,configure: case arm for mn10200-*-* now sets
14218 float_format=i32 so that float.h will correctly claim "double"
14219 to be 32 bits. Ran autoconf to generate configure from .in file.
14221 Wed Dec 29 10:53:21 1999 Jeffrey A Law (law@cygnus.com)
14223 * pa.md (conditional zero): If op1 is a register, force it into
14224 the same register as op0.
14226 1999-12-28 Mark Mitchell <mark@codesourcery.com>
14228 * tree.h (BINFO_BASETYPES): Improve documentation.
14230 1999-12-28 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
14232 * configure.in (--enable-checking): Use a more portable `for'
14235 1999-12-28 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
14237 * configure.in (AC_DECL_SYS_SIGLIST, xm-siglist.h,
14238 arm/xm-netbsd.h, NO_SYS_SIGLIST): Don't use.
14240 * xm-siglist.h, arm/xm-netbsd.h, mips/xm-news.h, mips/xm-sysv4.h:
14243 * gcc.texi (NO_SYS_SIGLIST, sys_siglist, SYS_SIGLIST_DECLARED):
14244 Delete descriptions.
14246 * i386/osf1elf.h, i386/xm-cygwin.h, i386/xm-mingw32.h, m68k/3b1.h,
14247 m68k/a-ux.h, m68k/dpx2.h, m68k/plexus.h, m68k/xm-hp320.h,
14248 m88k/xm-m88k.h, mips/x-sni-svr4, pa/xm-pa.h, pa/xm-pahpux.h,
14249 pa/xm-papro.h, we32k/xm-we32k.h, winnt/xm-winnt.h, xm-interix.h,
14250 xm-svr4.h: Remove all instances of sys_siglist handling.
14252 1999-12-27 Jakub Jelinek <jakub@redhat.com>
14254 * config/sparc/sparc.md (cmp_zero_qi,
14255 cmp_zero_extendqisi2_andcc_set, cmp_zero_qi_sp64,
14256 cmp_zero_extendqidi2_andcc_set): New patterns.
14258 1999-12-28 Manfred Hollstein <mhollstein@cygnus.com>
14260 * m68k/t-mot3300-gald (CROSS_LIBGCC1): Define to libgcc1-asm.a.
14261 (LIB1ASMSRC, LIB1ASMFUNCS, LIB2FUNCS_EXTRA): Define.
14262 (fpgnulib.c, xfgnulib.c): Add rules.
14263 * m68k/t-mot3300-gas: Likewise.
14265 1999-12-27 Ian Lance Taylor <ian@zembu.com>
14267 * configure.in: Avoid [[ by using test and changequote. Add
14268 changequote required by 1999-12-14 change.
14269 * configure: Rebuild.
14271 1999-12-27 Clinton Popetz <cpopetz@cygnus.com>
14273 * config/mips/mips.h: Fix typo from 12/17/99 libgcc2 fix.
14275 1999-12-27 Christophe Jaillet <jaillet.christophe@caramail.com>
14277 * alias.c (nonlocal_reference_p): Add else for disjoint ifs.
14278 * flow.c (find_use_as_address): Likewise.
14279 * function.c (fixup_var_refs_1): Likewise.
14280 (walk_fixup_memory_subreg, fixup_stack_1): Likewise.
14281 * jump.c (invert_exp, redirect_exp): Likewise.
14282 * loop.c (replace_call_address): Likewise.
14283 (count_nonfixed_reads): Likewise.
14284 * rtlanal.c (modified_between_p): Likewise.
14285 (modified_in_p, volatile_insn_p, volatile_refs_p): Likewise.
14286 (side_effects_p, replace_regs, jmp_uses_reg_or_mem): Likewise.
14287 * unroll.c (remap_split_bivs): Likewise.
14289 1999-12-27 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
14291 * diagnostic.c (v_message_with_decl): Use .* format specifier
14292 instead of building the format specifier width manually.
14294 * system.h (strsignal): Don't check HAVE_STRSIGNAL when
14295 determining whether to provide a prototype. Remove the
14296 sys_siglist clause in the conditional.
14298 1999-12-23 Martin v. Löwis <loewis@informatik.hu-berlin.de>
14300 * fold-const.c (operand_equal_p): Use memcmp to compare string
14302 Suggested by D. J. Bernstein
14304 1999-12-17 Jakub Jelinek <jakub@redhat.com>
14306 * config/h8300/h8300.h (TARGET_H8300H, TARGET_H8300S): Make sure
14307 UNITS_PER_WORD and BITS_PER_WORD are compile time constants when
14309 * config/mips/mips.h (TARGET_64BIT): Likewise.
14310 * config/rs6000/rs6000.h (TARGET_POWERPC64): Likewise.
14311 * libgcc2.c: Use {,U}{HW,W,DW}type and DWunion everywhere instead
14312 of {SI,DI}type and DIunion. Define these types to QI/HI modes on
14313 dsps. Give routines proper names if SI/DI modes are not used.
14314 * longlong.h: Use DWunion instead of DIunion.
14316 1999-12-26 Zack Weinberg <zack@wolery.cumb.org>
14318 * acconfig.h: New ENABLE flags: TREE_CHECKING, RTL_CHECKING,
14319 GC_CHECKING, GC_ALWAYS_COLLECT.
14320 * configure.in: Allow --enable-checking with an argument
14321 listing check modes to enable.
14322 * config.in, configure: Rebuilt.
14323 * ggc-page.c, ggc-simple.c: Define GGC_POISON (and
14324 GGC_ALWAYS_VERIFY for ggc-simple.c) only if
14325 ENABLE_GC_CHECKING. Define GGC_ALWAYS_COLLECT only if
14326 ENABLE_GC_ALWAYS_COLLECT.
14327 * rtl.h, rtl.c: Change ENABLE_CHECKING to ENABLE_RTL_CHECKING
14329 * tree.h, tree.c: Change ENABLE_CHECKING to
14330 ENABLE_TREE_CHECKING throughout.
14332 Sun Dec 26 07:48:20 1999 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
14334 * fold-const.c (fold_truthop): Properly check for FP RHS.
14336 1999-12-24 Mark Mitchell <mark@codesourcery.com>
14338 * toplev.h (note_deferall_of_defined_inline_function): Declare.
14339 * toplev.c (note_deferral_of_defined_inline_function): New
14340 function, split out from ...
14341 (rest_of_compilation): ... here. Use it.
14343 Fri Dec 24 12:34:26 1999 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
14345 * expr.c (store_constructor): Don't call clear_storage if size is
14348 1999-12-24 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
14350 * Makefile.in (toplev.o): Depend on loop.h.
14352 * dwarfout.c: Include tm_p.h.
14354 * emit-rtl.c (restore_emit_status): Mark parameter with
14357 * final.c (final_scan_insn): Likewise.
14359 * flow.c (flow_nodes_print, flow_exits_print, flow_loops_cfg_dump,
14360 flow_loop_nested_p, flow_loop_exits_find, flow_loop_nodes_find,
14361 flow_depth_first_order_compute, flow_loop_pre_header_find,
14362 flow_loop_tree_node_add, flow_loops_tree_build,
14363 flow_loop_level_compute, flow_loops_level_compute,
14364 flow_loop_outside_edge_p): Add prototypes.
14365 (recompute_reg_usage): Mark parameters with ATTRIBUTE_UNUSED.
14367 * ggc-callbacks.c (lang_mark_tree, lang_mark_false_label_stack):
14368 Mark with ATTRIBUTE_NORETURN.
14370 * hash.c (hash_newfunc): Mark parameter with ATTRIBUTE_UNUSED.
14372 * local-alloc.c (no_conflict_p): Likewise.
14374 * loop.c (insert_bct): Hide definitions of variables with hidden
14376 (note_reg_stored): Mark parameter with ATTRIBUTE_UNUSED.
14378 * regclass.c (memory_move_secondary_cost): Mark variable `mem'
14379 with ATTRIBUTE_UNUSED.
14380 (record_reg_classes): Mark parameter with ATTRIBUTE_UNUSED.
14381 (reg_scan): Likewise.
14383 * reload.c (find_reloads): Remove unused variables `changed'.
14385 * reload1.c (reload_reg_class_lower): Don't unnecessarily cast
14387 (allocate_reload_reg): Mark parameter with ATTRIBUTE_UNUSED.
14388 Remove unused variable `insn'.
14390 * toplev.c: Include loop.h.
14391 (report_file_and_line): Remove unnecessary prototype.
14393 * tree.c (build_block): Mark parameter with ATTRIBUTE_UNUSED.
14395 * unroll.c (biv_total_increment): Likewise.
14397 Thu Dec 23 23:15:22 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
14399 * reload1.c (emit_input_reload_insns): Restore old behaviour
14400 wrt. 'special' reloads.
14402 1999-12-23 Zack Weinberg <zack@wolery.cumb.org>
14404 * Makefile.in (ggc-simple.c, ggc-page.c): Don't depend on
14405 hash.h. (cse.c): Don't depend on hashtab.h.
14407 * cse.c: Don't include hashtab.h.
14408 (hash_cse_reg_info, cse_reg_info_equal_p): Delete prototypes
14410 * ggc-simple.c: Don't include hash.h.
14412 1999-12-22 Jason Merrill <jason@casey.cygnus.com>
14414 * dwarf2out.c (add_abstract_origin_attribute): Call
14415 gen_abstract_function on our function context.
14417 Thu Dec 23 03:57:10 1999 Hans-Peter Nilsson <hp@bitrange.com>
14419 * Makefile.in (INTEGRATE_H): Fix typo: INTEGRATE_H, not INTREGRATE_H.
14421 1999-12-23 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
14423 * config/c4x/c4x.c (c4x_address_cost): Add statement to default
14426 1999-12-22 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
14428 * config/c4x/c4x.md (*addqi3_noclobber_reload): Change operand 0
14429 constraints to "a!r".
14431 1999-12-21 Mark Mitchell <mark@codesourcery.com>
14433 * Makefile.in (calls.o): Depend on function.h.
14434 (alias.o): Likewise.
14436 1999-12-21 Bernd Schmidt <bernds@cygnus.co.uk>
14438 * reload1.c (emit_reload_insns): Break out code and variables into...
14439 (input_reload_insns, other_input_address_reload_insns,
14440 other_input_reload_insns, input_address_reload_insns,
14441 inpaddr_address_reload_insns, output_reload_insns,
14442 output_address_reload_insns, outaddr_address_reload_insns,
14443 operand_reload_insns, other_operand_reload_insns,
14444 other_output_reload_insns): ... new static variables, and...
14445 (emit_input_reload_insns, emit_output_reload_insns, do_input_reload,
14446 do_output_reload): ... new functions.
14448 Tue Dec 21 07:06:36 1999 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
14450 * pa.h (FUNCTION_ARG_BOUNDARY): Never return 0.
14452 1999-12-21 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
14454 * md.texi: Add c4x constraints documentation.
14456 1999-12-21 Martin v. Löwis <loewis@informatik.hu-berlin.de>
14458 * config/i386/dgux.c (struct option): Rename to
14459 lang_independent_option.
14460 (struct m_options): Add description field.
14461 (output_options): Rename option type, add sep declaration, output
14462 ix86_cpu_string and ix86_arch_string only if set.
14463 (output_file_start): Rename option type.
14465 Mon Dec 20 23:15:36 1999 Mike Stump <mrs@wrs.com>
14467 * Makefile.in (crtbegin.o, crtend.o, s-crtS): Depend on
14469 (libgcc2.a): Similarly.
14471 Mon Dec 20 23:06:47 1999 David Edelsohn <edelsohn@gnu.org>
14473 * longlong.h (_ARCH_PPC): Only protect add_ssaaaa and sub_ddmmss
14474 with W_TYPE_SIZE == 32. Do not fall through to POWER architecture
14475 for umul_ppmm and smul_ppmm if !_ARCH_PPC and !_ARCH_POWER.
14477 Mon Dec 20 23:02:03 1999 Jeffrey A Law (law@cygnus.com)
14479 * fold-const.c (real_hex_to_f): Remove unused "isldouble" variable.
14480 Remove redundant initialization of "frexpon" and "expon".
14482 Mon Dec 20 15:00:04 1999 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
14484 * tree.c (real_value_from_int_cst): Clear REAL_VALUE_TYPE object first.
14486 * expr.c (store_constructor): New argument SIZE; pass to clear_storage.
14487 (store_constructor_field, expand_expr): Pass new arg.
14489 1999-12-20 Mark Mitchell <mark@codesourcery.com>
14491 * Makefile.in (explow.o): Depend on function.h.
14493 * stor-layout.c (set_sizetype): Fix typo.
14495 1999-12-20 Bernd Schmidt <bernds@cygnus.co.uk>
14497 * function.c (cfun): Renamed from current_function. All users
14499 * function.h (cfun): Rename declaration as well.
14501 * reload.h (struct insn_chain): Change live_throughout and dead_or_set
14502 to be of type regset_head, not regset. All users changed by adding
14504 * reload1.c (new_insn_chain): Don't allocate regsets, just clear them.
14506 1999-12-20 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
14508 * config/c4x/rtems.h: New file.
14510 1999-12-19 Bernd Schmidt <bernds@cygnus.co.uk>
14512 * reload1.c (spill_failure): Take class of failed reload as argument
14513 and print it. Caller changed.
14515 Sun Dec 19 07:50:42 1999 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
14517 * rs6000.h (SUBTARGET_DEFAULT): New macro.
14518 (TARGET_SWITCHES): Allow subtargets to default switches.
14519 * rs6000/vxppc.h (SUBTARGET_DEFAULT): New macro.
14521 1999-12-18 Mark Mitchell <mark@codesourcery.com>
14523 * crtstuff.c (__do_global_ctors_aux): Do not call __cxa_finalize
14526 Sat Dec 18 20:42:43 1999 Richard Henderson <rth@cygnus.com>
14528 * cccp.c (main): Define __STDC_VERSION__ as necessary.
14529 * cppinit.c (cpp_handle_option): Likewise.
14531 * ginclude/stdarg.h (va_copy): Use __STDC_VERSION__ to
14532 determine when to define.
14534 Sat Dec 18 20:34:00 1999 Richard Henderson <rth@cygnus.com>
14536 * alpha.c (alpha_emit_conditional_move): If TARGET_FIX, handle
14537 cmove with mismatched test and data modes.
14539 Sat Dec 18 20:30:15 1999 Richard Henderson <rth@cygnus.com>
14541 * c-typeck.c (c_expand_start_case): Don't warn for long switch
14544 Sat Dec 18 16:28:43 1999 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
14546 * alias.c: Minor reformatting.
14547 * flow.c: Likewise.
14548 * regs.h: Likewise.
14549 * stor-layout.c: Likewise.
14550 * fold-const.c: Likewise.
14551 (OVERFLOW_SUM_SIGN): Renamed from overflow_sum_sign.
14552 (struct cb_args, const_binop_1, const_binop): Pass type of arg,
14554 (size_int_wide): Cache nodes even if garbage collecting.
14555 (twoval_comparison_p): Reenable SAVE_EXPR case if operand
14556 of SAVE_EXPR has no side effects.
14557 * cse.c: Move a comment.
14558 * tree.c: Minor reformatting.
14559 (int_size_in_bytes): Return -1 if constant overflows.
14561 Sat Dec 18 18:30:20 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
14563 * unroll.c (copy_loop_body): Don't treat a REG like a PLUS.
14565 1999-12-18 10:42 -0800 Zack Weinberg <zack@wolery.cumb.org>
14567 * objc/objc-parse.c: Regenerate. This file must be rebuilt
14568 after any change to c-parse.in, even if objc-parse.y didn't
14571 1999-12-18 David S. Miller <davem@redhat.com>
14573 * toplev.c (rest_of_compilation): Restore BLOCK tree
14574 reconstruction and branch shortening changes lost in
14575 December 18th change.
14577 Sat Dec 18 05:29:29 1999 Scott Bambrough <scottb@netwinder.org>
14579 * config/arm/linux-elf.h: Change all instances of
14580 ARM_FLAG_SHORT_BYTES to ARM_FLAG_MMU_TRAPS.
14581 * config/arm/uclinux-elf.h: Likewise.
14583 1999-12-18 Gabriel Dos Reis <gdr@codesourcery.com>
14585 * toplev.c (notice, vmessage, v_message_with_file_and_line,
14586 v_message_with_decl, file_and_line_for_asm,
14587 v_error_with_file_and_line, v_error_with_decl, v_error_for_asm,
14588 verror, vfatal, v_warning_with_file_and_line, v_warning_with_decl,
14589 v_warning_for_asm, vwarning, vpedwarn, v_pedwarn_with_decl,
14590 v_pedwarn_with_file_and_line, vsorry, vnotice, count_error,
14591 pfatal_with_name, fatal_io_error, need_error_newline,
14592 last_error_function, last_error_tick, announce_function,
14593 default_print_error_function, print_error_function,
14594 report_error_function, fnotice, error_with_file_and_line,
14595 error_with_decl, error_for_asm, error, set_fatal_function, fatal,
14596 _fatal_insn, _fatal_insn_not_found, warning_with_file_and_line,
14597 warning_with_decl, warning_for_asm, warning, pedwarn,
14598 pedwarn_with_decl, pedwarn_with_file_and_line, sorry): Move to
14600 (compile_file): Use fnotice instead of notice. Adjust call.
14602 * diagnostic.c: New file.
14604 * Makefile.in (OBJS): Include diagnostic.o
14605 (diagnostic.o): Define dependence.
14607 1999-12-18 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
14609 * config/c4x/c4x.h (ASM_OUTPUT_XXX): Wrap in do-while(0).
14612 1999-12-18 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
14614 * config/c4x/c4x.md (rpts_top, rptb_top): Add clobbers for rs and re.
14616 1999-12-17 13:21 -0800 Zack Weinberg <zack@rabi.columbia.edu>
14618 * fixtests.c (is_cxx_header): New fn, split out of
14620 (else_endif_label): Allow "#endif // comment" in C++ headers,
14621 as determined by is_cxx_header.
14622 * fixfixes.c (else_endif_label_fix): Update comment.
14623 * fixincl.c: Don't output VERB_PROGRESS lines if stdout is not
14625 * genfixes: Correct double thinko in commandline parsing.
14626 * hackshell.tpl: Generate correct sh syntax for bypass
14629 * inclhack.def (all): Whenever an inserted preprocessor
14630 conditional is split over multiple lines, use double
14631 backslashes in this file so the fixed header will be readable.
14633 (AAB_fd_zero_glibc_1_0): Rename to AAB_fd_zero_asm_posix_types_h
14634 and add bypass entry for correct version of this header.
14635 (AAB_fd_zero_glibc_1_x): Rename to AAB_fd_zero_gnu_types_h.
14636 (AAB_fd_zero_glibc_2_0): Rename to AAB_fd_zero_selectbits_h.
14638 (hpux8_bogus_inlines): New fix, split from...
14639 (ultrix_atof_param) ... here.
14640 (math_expression): Add bypass entry keyed to glibc comment
14641 indicating the problem has been dealt with; disable
14642 unnecessary sed operations; update commentary.
14643 (math_gcc_ifndefs): Rename to math_huge_val_from_dbl_max,
14644 add select and bypass entries, simplify shell operation.
14645 (math_huge_val_ifndef): Split from math_gcc_ifndefs.
14647 (ip_missing_semi, rs6000_param, tinfo_cplusplus,
14648 ultrix_atof_param): Add select entry.
14649 (stdio_va_list, sunos_mather_decl): Add bypass entry.
14650 (systypes_for_aix, sysv86_string, tinfo_cplusplus): Put the
14651 comments with the fixes they describe.
14653 * c-parse.in (string action): Do not warn about ANSI string
14654 concatenation in system headers. Affects C parser only.
14655 * c-parse.y, c-parse.c, c-parse.h: Rebuild.
14657 1999-12-16 Jakub Jelinek <jakub@redhat.com>
14659 * config/sparc/sparc.h (TARGET_ARCH32): Exchange ifdefs so that if
14660 compiling libgcc2 the macro depends always on arch cpp defines.
14662 Fri Dec 17 10:34:16 1999 Richard Earnshaw <rearnsha@arm.com>
14664 * loop.c (insert_loop_mem): Don't record MEMs from inside
14667 Fri Dec 17 12:08:11 MET 1999 Jan Hubicka <hubicka@freesoftr.cz>
14669 * regclass.c (regclass): Do not use flowgraph when not optimizing.
14671 * gcse.c (try_replace_reg): Do replacements in REG_EQUAL/REG_EQUIV
14672 notes too, create one when replacement failed, attempt to simplify
14674 (cprop_insn): Propagate even to registers mentioned only in REG_EQUAL
14675 or REG_EQUIV notes.
14677 1999-12-16 Mark Mitchell <mark@codesourcery.com>
14679 * crtstuff.c (__dso_handle): Declare.
14680 (__cxa_finalize): Likewise.
14681 (do_global_dtors_aux): Call __cxa_finalize if __dso_handle is
14684 * invoke.texi: Document -fuse-cxa-atexit.
14686 * tree.h (ptr_type_node): Document.
14687 (const_ptr_type_node): Likewise.
14689 Fri Dec 17 01:32:38 MET 1999 Jan Hubicka <hubicka@freesoft.cz>
14691 * regmove.c (optimize_reg_copy_1): Ignore LOOP notes.
14692 (optimize_reg_copy_2): Likewise.
14693 (optimize_reg_copy_3): Likewise.
14694 (fixup_match_2): Likewise.
14695 (regmove_optimize): Likewise.
14696 (fixup_match_1): Liekwise.
14698 * i386.md (HI to SImode promoting splitters): Rewrite.
14699 (pushsf mem peep2): New.
14700 (testhi to andhi peep2): Remove.
14701 * i386.h (x86_promote_QImode): New.
14702 (TARGET_PROMOTE_QImode): New.
14703 (PREDICATE_CODES): Add promotable_binary_operator.
14704 * i386.c (x86_promote_QImode0: New.
14705 (promotable_binary_operator): New.
14706 * i386-protos.h (promotable_binary_operator): New.
14708 * i386.md (test?i_1): Use "nonmemory_operand" predicate, simplify
14710 (one_cmpl?i*): Pass "NOT" to unary_operator_ok.
14712 1999-12-16 Mark Mitchell <mark@codesourcery.com>
14714 * Makefile.in (INTREGRATE_H): Rename to INTEGRATE_H.
14715 * function.c (insert_block_after_note): Remove.
14716 (retrofit_block): Likewise.
14717 (identify_blocks): Fix indentation.
14718 (reorder_blocks): Don't NULL out NOTE_SOURCE_FILE for a
14719 NOTE_INSN_BLOCK_BEG or NOTE_INSN_BLOCK_END.
14720 * function.h (insert_block_after_note): Remove prototype.
14721 (retrofit_block): Likewise.
14722 * integrate.c (expand_inline_function): Don't call
14723 find_loop_tree_blocks. Use expand_start_bindings_and_block, not
14724 just expand_start_bindings. Use the block_map to remap old
14725 NOTE_BLOCKs to new ones.
14726 (integrate_decl_tree): Keep track of remapped blocks.
14727 * integrate.h (struct inline_remap): Add block_map.
14728 * stmt.c (expand_fixup): Don't try to retrofit_blocks. Just set
14729 NOTE_BLOCK on the notes.
14730 (expand_start_bindings): Rename to ...
14731 (expand_start_bindings_and_block): Add parameter. Set NOTE_BLOCK.
14732 (expand_end_bindings): Set NOTE_BLOCK.
14733 * toplev.c (rest_of_compilation): In function-at-a-time-mode,
14734 reconstruct the BLOCK tree.
14735 * tree.h (expand_start_bindings): Macroize. Call ...
14736 (expand_start_bindings_and_block): New function.
14738 1999-12-16 Jakub Jelinek <jakub@redhat.com>
14740 * config/sparc/sparc.c (print_operand): Cast fprintf arguments
14741 to match the format.
14743 1999-12-16 David S. Miller <davem@redhat.com>
14745 * expr.c (emit_move_insn_1): Only emit clobbers if one of
14746 the outputs is a SUBREG.
14747 * rtlanal.c (reg_overlap_mentioned_p): Revert December 15th
14750 * config/sparc/sparc.c (epilogue_renumber): Add default case
14753 Thu Dec 16 11:33:57 MET 1999 Jan Hubicka <hubicka@freesoft.cz>
14755 * toplev.c (rest_of_compilation): Run branch shortening after
14758 * regclass.c (loop_depth): Remove
14759 (scan_one_insn): Do not handle LOOP_NOTE insns.
14760 (regclass): Go through basic blocks and set loop_cost
14762 Thu Dec 16 02:56:25 1999 Zack Weinberg <zack@bitmover.com>
14764 * tree.h (DECL_FROM_INLINE): Check DECL_ABSTRACT_ORIGIN too.
14766 Thu Dec 16 10:43:35 MET 1999 Jan Hubicka <hubicka@freesoft.cz>
14768 * i386.md (movqi): Use "nonimmediate_operand" for output operand.
14769 (movstrictqi, movdi, movsf, movdf, movxf): Likewise.
14770 (adddi, addqi, addhi, subdi, subqi, subhi, ffs): Likewise.
14772 Thu Dec 16 02:41:26 1999 Richard Henderson (rth@cygnus.com)
14774 * loop.c (insert_loop_mem): Ignore memory clobbers.
14776 * combine.c (simplify_comparison): Reduce (OP (MINUS A B) 0)
14779 Thu Dec 16 02:26:11 1999 Jeffrey A Law (law@cygnus.com)
14781 * profile.c: Remove redundant #include "output.h".
14783 * h8300.md (HImode preinc peephole): Fix typo.
14785 1999-12-15 Jason Merrill <jason@casey.cygnus.com>
14787 * function.c (retrofit_block): Abort if we don't find a suitable insn.
14788 (insert_block_after_note): Abort if we don't have a previous block.
14789 Remove FN parameter.
14790 * function.h: Adjust.
14792 1999-12-15 Mark Mitchell <mark@codesourcery.com>
14794 * builtins.c (expand_builtin_mathfn): Make sure not to expand the
14795 argument more than once.
14797 1999-12-15 Jason Merrill <jason@casey.cygnus.com>
14799 * stmt.c (expand_decl): Expand upper bound of a dynamic array.
14801 1999-12-15 Jakub Jelinek <jakub@redhat.com>
14803 * expr.c (emit_group_load): Use dst mode if src is VOIDmode.
14805 Wed Dec 15 16:11:55 MET 1999 Jan Hubicka <hubicka@freesoft.cz>
14807 * function.c (PREFERRED_STACK_BOUDNARY): Provide default value.
14808 (assign_stack_local_1): Limit alignment to PREFERRED_STACK_BOUNDARY,
14809 update stack_alignment_needed.
14810 (prepare_function_start): Initialize stack_alignment_needed
14811 * function.h (struct function): Add field stack_alignment_needed.
14813 Wed Dec 15 14:55:24 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
14815 * caller-save.c (insert_one_insn): Returns struct insn_chain *.
14816 Handle live_throughout / dead_or_set instead of live_before /
14818 (save_call_clobbered_regs): Get register livenessinformation from
14819 chain->live_throughout.
14820 (add_stored_regs): New function.
14821 (insert_restore, insert_save): Add restored / saved registers to
14823 * global.c (reg_dies): New parameter chain.
14824 (reg_becomes_live): Third parameter is regs_set now.
14825 Changed all callers.
14826 (reg_dies): New parameter chain. Changed all callers.
14827 (build_insn_chain): Set live_throughout instead of
14828 live_before / live_after.
14829 * reload.h (struct insn_chain): Replace members live_before /
14830 live_after with live_throughout / dead_or_set.
14831 * reload1.c (new_insn_chain): Handle live_throughout / dead_or_set
14832 instead of live_before / live_after.
14833 (maybe_fix_stack_asms, find_reload_regs, finish_spills): Likewise.
14834 (order_regs_for_reload, find_reg, finish_spills): Likewise.
14835 (choose_reload_regs_init): Likewise.
14836 * stupid.c (current_chain, find_clobbered_regs): Delete.
14837 (stupid_life_analysis): Set chain->live_throughout chain->dead_or_set
14838 instead of chain->live_before / chain->live_after.
14839 (mark_hard_ref): New function.
14840 (stupid_mark_refs): Call mark_hard_ref. Clear chain->live_throughout.
14842 1999-12-15 David S. Miller <davem@redhat.com>
14844 * rtlanal.c (reg_overlap_mentioned_p): Handle CONCAT.
14846 Wed Dec 15 15:05:30 MET 1999 Jan Hubicka <hubicka@freesoft.cz>
14848 * flow.c (calculate_loop_depth): Make global, remove prototype,
14849 rewrite to use new loop infrastructure.
14850 (find_basic_block): Remove calculate_loop_depth call.
14851 * toplev.c (rest_of_compilation): Call find_basic_block.
14852 * output.h (calculate_loop_depth): Declare.
14854 * flow.c (dump_flow_info): Dump loop_depth.
14855 (flow_loops_nodes_find): Increase loop_depth for basic block in the
14857 (flow_loops_find): Initialize the loop_depth for each basic block.
14859 1999-12-15 Jason Merrill <jason@casey.cygnus.com>
14861 * tree.c (decl_function_context): Handle virtual functions.
14863 * tlink.c (scan_linker_output): Don't look in demangled name when
14864 looking for linker output keywords.
14866 * dwarfout.c (output_type): We can defer namespace-scope classes.
14868 Wed Dec 15 01:23:29 1999 Jeffrey A Law (law@cygnus.com)
14870 * regclass.c (record_reg_classes): Update comment for merging
14871 register class preferences in reg->reg copies. Tighten conditions
14872 for merging register class preferences in reg->reg copies.
14874 Wed Dec 15 02:19:32 1999 David Edelsohn <edelsohn@gnu.org>
14876 * rs6000.md (tablejumpdi): Generate DImode LABEL_REF.
14878 1999-12-14 Geoff Keating <geoffk@cygnus.com>
14880 * config/m68k/m68020-elf.h (ENDFILE_SPEC): Delete.
14881 (INIT_SECTION_ASM_OP): Delete.
14882 (FINI_SECTION_ASM_OP): Delete.
14883 (STARTFILE_SPEC): Define to hold just crtbegin.o.
14885 1999-12-14 Jason Merrill <jason@casey.cygnus.com>
14887 * dwarf2out.c (add_abstract_origin_attribute): Do call abort if
14888 the abstract origin wasn't emitted.
14890 * dwarf2out.c (class_scope_p): New fn.
14891 (gen_subprogram_die): Use it.
14892 (gen_variable_die): Use it. Tweak logic.
14893 (gen_struct_or_union_type_die): Check context_die to determine
14894 if we're function-local.
14895 (dwarf2out_decl): Check DECL_BUILT_IN, not DECL_FUNCTION_CODE.
14897 1999-12-14 Bernd Schmidt <bernds@cygnus.co.uk>
14899 * loop.c (check_dbra_loop): Can't reverse a biv that has
14900 maybe_multiple set.
14902 1999-12-14 Nick Clifton <nickc@cygnus.com>
14904 * config/arm/arm.c: Add support for -mcpu=arm720 command line
14907 Tue Dec 14 18:13:32 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
14909 * loop.c (strength_reduce): Fix sign of giv lifetime calculation
14910 for givs made from biv increments.
14912 Tue Dec 14 08:11:27 1999 Richard Henderson <rth@cygnus.com>
14914 * configure.in (alpha-osf, alpha-linux): Handle ev6[78].
14915 * alpha.c (override_options): Recognize -mcpu=ev67.
14916 * alpha.h (CPP_CPU_EV67_SPEC): New.
14917 (CPP_CPU_DEFAULT_SPEC): Examine TARGET_CPU_DEFAULT to use it.
14918 (EXTRA_SPECS): Update.
14920 Tue Dec 14 08:04:28 1999 Richard Henderson <rth@cygnus.com>
14922 * cppp.c (main): Set trigraphs and __STRICT_ANSI__ as
14923 appropriate for -lang-c89 and -std=*.
14924 * cppinit.c (cpp_handle_option): Likewise.
14925 (new_pending_define): New, split out from cpp_handle_option.
14926 * gcc.c (default_compilers): Don't define __STRICT_ANSI__
14927 or enable trigraphs for -ansi/-std=*.
14929 * ginclude/stdarg.h (__va_copy): New.
14930 (va_copy): Don't define for C89.
14932 Tue Dec 14 08:37:27 CST 1999 Clinton Popetz <cpopetz@cygnus.com>
14934 * config/arm/arm.md (mulsidi3adddi, umulsidi3adddi): New patterns
14935 for long long multiply-accumulate.
14937 Tue Dec 14 13:51:38 MET 1999 Jan Hubicka <hubicka@freesoft.cz>
14939 * regclass.c (scan_one_insn): Set loop_cost to 1 when
14940 optimizing for size.
14942 1999-12-14 Bernd Schmidt <bernds@cygnus.co.uk>
14944 * reload1.c (reload): Can't avoid select_reload_regs/finish_spills
14945 if something changed. Back out that part of yesterday's changes.
14947 * loop.c (loop_max_reg): New static variable.
14948 (loop_optimize): Initialize it. Eliminate one unnecessary call to
14950 (scan_loop): Call reg_scan_update whenever we may have added new
14951 registers, and update loop_max_reg.
14953 Tue Dec 14 12:07:29 MET 1999 Jan Hubicka <hubicka@freesoft.cz>
14955 * regclass.c (record_reg_classes): Do not do the copying preferrencing
14956 when source does not die.
14958 * regclass.c (record_reg_classes): Handle INOUT operands propertly.
14960 1999-12-14 Jakub Jelinek <jakub@redhat.com>
14962 * config/sparc/linux64.h (TARGET_LIVE_G0,
14963 TARGET_BROKEN_SAVERESTORE): Don't support weird SPARC
14965 * config/sparc/linux.h (TARGET_LIVE_G0,
14966 TARGET_BROKEN_SAVERESTORE): Likewise.
14967 * config/sparc/linux-aout.h (TARGET_LIVE_G0,
14968 TARGET_BROKEN_SAVERESTORE): Likewise.
14970 * config/sparc/sparc.h (SPARC_DEFAULT_CMODEL): Default to CM_32.
14971 (CONDITIONAL_REGISTER_USAGE): For block profiling fix %g4 on sparc64,
14973 (MACHINE_STATE_SAVE, MACHINE_STATE_RESTORE): Use %g4 instead of %g2
14974 as sparc64 block profiling register.
14975 * config/sparc/sparc.c (sparc_override_options): Allow block
14976 profiling with -m32.
14977 (sparc_block_profiler): Use %g4 instead of %g2 as sparc64 block
14978 profiling register.
14979 * config/sparc/linux64.h (MACHINE_STATE_*): Only provide these
14980 macros on TARGET_ARCH32. sparc.h has macros good enough for sparc64.
14981 * config/sparc/sol2.h (MACHINE_STATE_*): Likewise.
14983 * config/sparc/xm-sp64.h: Avoid using __sparc_v9__ when testing
14985 * config/sparc/sparc.h: Likewise.
14986 * config/sparc/xm-sysv4-64.h: Likewise.
14987 * config/float-sparc.h: Likewise.
14988 * glimits.h: Likewise.
14989 * longlong.h: Likewise.
14991 * config/sparc/linux64.h (DEFAULT_VTABLE_THUNKS): Define to 1.
14992 (ASM_IDENTIFY_GCC): Remove.
14994 1999-12-14 Bernd Schmidt <bernds@cygnus.co.uk>
14996 * combine.c (combine_simplify_rtx): Don't make shared rtl.
14997 (simplify_logical): Likewise.
14999 1999-12-14 Mumit Khan <khan@xraylith.wisc.edu>
15001 * cccp.c (INO_T_EQ): Disable inode-based optimization for Cygwin.
15002 * cppfiles.c (INO_T_EQ): Likewise.
15004 1999-12-14 Mumit Khan <khan@xraylith.wisc.edu>
15006 * i386/crtdll.h (STARTFILE_SPEC): Add -pg profiling support.
15007 * i386/mingw32.h (LIB_SPEC): Likewise.
15008 (STARTFILE_SPEC): Likewise.
15009 * i386/uwin.h (LIB_SPEC): Likewise.
15010 (STARTFILE_SPEC): Likewise.
15012 * i386/mingw32.h (SUBTARGET_PROLOGUE): Override Cygwin definition.
15013 * i386/uwin.h (SUBTARGET_PROLOGUE): Likewise.
15015 Mon Dec 13 20:25:29 1999 Jeffrey A Law (law@cygnus.com)
15017 * combine.c (combine_simplify_rtx): Fix order of checks for
15018 (ashiftrt foo C) -> (lt foo (const_int 0)) simplification.
15020 1999-12-13 Clinton Popetz <cpopetz@cygnus.com>
15022 * config/arm/arm.md (*mulsidi3adddi, *umulsidi3adddi) Backed out
15023 12/10/99 change, reapplied to merged-arm-thumb-backend-branch.
15025 1999-12-10 Bernd Schmidt <bernds@cygnus.co.uk>
15027 * hard-reg-set.h (inv_reg_alloc_order): Declare if REG_ALLOC_ORDER is
15029 * regclass.c (inv_reg_alloc_order): New array.
15030 (regclass_init): If REG_ALLOC_ORDER is defined, initialize it.
15032 * reload.h (struct insn_chain): Delete fields group_size, group_mode,
15033 counted_for_groups, counted_for_nongroups. Add fields rld and
15035 * reload.c (push_secondary_reload): Don't set nongroup field of
15037 (push_reload): Likewise.
15038 (find_reloads): Delete code to compute nongroup fields.
15039 * reload1.c (reload_insn_firstobj): New static variable.
15040 (pseudos_counted, spilled_pseudos): Now of type regset_head. All
15042 (calculate_needs, find_tworeg_group, find_group, possible_group_p,
15043 count_possible_groups, modes_equiv_for_class_p, new_spill_reg,
15044 dump_needs, maybe_mark_pseudo_spilled, hard_reg_use_compare): Delete
15046 (count_pseudo, select_reload_regs, copy_reloads, find_reg): New
15048 (struct hard_reg_n_uses): Deleted.
15049 (potential_reload_regs): Deleted.
15050 (init_reload): Initialize spilled_pseudos and pseudos_counted.
15051 (reload): Don't try to allocate reload registers if we already know
15052 we have to make another pass. Call select_reload_regs. Free memory
15053 starting with reload_firstobj when starting another pass.
15054 Don't allocate spilled_pseudos.
15055 (calculate_needs_all_insns): Call copy_reloads for an insn that
15056 needs reloads; don't call calculate_needs.
15057 (spill_cost): New static array.
15058 (used_spill_regs_local): New static variable.
15059 (order_regs_for_reload): Rewrite to lose hard_reg_n_uses and the code
15060 to compute potential_reload_regs.
15061 (find_reload_regs): Completely rewritten to use find_reg.
15062 (allocate_reload_reg): Don't test counted_for_groups or
15063 counted_for_nongroups. Lose NOERROR arg and code to give an error;
15064 all cllers changed.
15065 (choose_reload_regs): Add fallback code that uses the existing
15066 register allocation from find_reload_regs.
15068 Mon Dec 13 00:54:14 1999 Philippe De Muyter <phdm@macqel.be>
15070 * flow.c (create_edge_list): Cast xmalloc return value.
15072 Mon Dec 13 00:47:58 1999 Jeffrey A Law (law@cygnus.com)
15074 * doprnt.c: Remove incorrect comment closure.
15076 * cse.c: Fix a few minor whitespace goofs.
15078 1999-12-13 Don Bowman <don@pixstream.com>
15080 * mips/vxworks.h: Fix problem with comment termination.
15081 (EXTRA_SECTIONS): Add in_sbss.
15082 (EXTRA_SECTION_FUNCTIONS): Corresponding changes.
15084 1999-12-12 David S. Miller <davem@redhat.com>
15086 * cse.c (struct cse_reg_info): Add hash_next member,
15087 reorder rest of struct for better packing on 64-bit
15089 (cse_reg_info_tree): Kill.
15090 (REGHASH_SHIFT, REGHASH_SIZE, REGHASH_MASK, reg_hash,
15091 REGHASH_FN): New custom pow2 hash mechanism.
15093 (HASH_SHIFT, HASH_SIZE, HASH_MASK, HASH, table): Rework to
15094 use a pow2 hash table.
15095 (get_cse_reg_info): Rework to use new REGHASH.
15096 (new_basic_block): Likewise, use HASH_SIZE, and inline
15098 (remove_from_table): Rework to use HASH_SIZE/HASH_MASK,
15099 and inline free_element call.
15100 (lookup_as_function, insert, flush_hash_table, invalidate,
15101 remove_invalid_refs, remove_invalid_subreg_refs, rehash_using_reg,
15102 invalidate_for_call, use_related_value, find_comparison_args,
15103 fold_rtx, equiv_constant, cse_insn, invalidate_memory): Likewise.
15104 (hash_cse_reg_info, cse_reg_info_equal_p, free_element,
15105 get_element): Kill.
15107 Sun Dec 12 21:31:44 1999 Jeffrey A Law (law@cygnus.com)
15109 * cse.c (cse_basic_block): Free qty_table consistently.
15111 1999-12-12 David S. Miller <davem@redhat.com>
15112 Jakub Jelinek <jakub@redhat.com>
15114 * config/sparc/sparc.md (movtf reg/reg split): Don't generate
15115 SUBREGs by hand, gen the appropriate hard reg directly.
15116 (movtf reg/mem split): Likewise and alter_subreg on destination
15118 (movtf mem/reg split): Similarly.
15119 (movdf_cc_sp64): Rename from hidden pattern.
15120 (movtf_cc_hq_sp64): Renamed from movtf_cc_sp64.
15121 (movtf_cc_sp64, following split): New pattern and splitter.
15122 (movdf_cc_reg_sp64): Rename from hidden pattern.
15123 (movtf_cc_reg_hq_sp64): Renamed from movtf_cc_reg_sp64, require
15125 (movtf_cc_reg_sp64, following split): New pattern and splitter.
15127 1999-12-12 Stephen L Moshier <moshier@mediaone.net>
15129 * loop.c (load_mems): Don't hoist written floating point mem
15132 1999-12-12 Mark Mitchell <mark@codesourcery.com>
15134 * except.h (struct eh_queue): Add `next' pointer.
15135 (struct eh_status): Make x_ehqueue a pointer.
15136 (push_ehqueue): Declare.
15137 (pop_ehqueue): Likewise.
15138 * except.c (expand_eh_region_end): Adjust now that ehqueue is a
15140 (expand_fixup_region_end): Likewise.
15141 (expand_leftover_cleanups): Likewise.
15142 (push_ehqueue): Define.
15143 (pop_ehqueue): Likewise.
15144 (emit_cleanup_handler): Use push_ehqueue and pop_ehqueue rather
15145 than doing it inline.
15146 (expand_start_all_catch): Adjust now that ehqueue is a
15148 (mark_eh_queue): Mark all level of the queue.
15149 (mark_eh_status): Adjust now that ehqueue is a
15151 (init_eh_for_function): Allocate ehqueue.
15152 (free_eh_status): Free it.
15153 * stmt.c (expand_cleanups): Save the ehqueue around the cleanup
15154 expansion for a fixup.
15156 1999-12-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
15158 * gthr-single.h (__gthread_active_p): Add prototype arguments.
15160 * libgcc2.c (__udivmoddi4): Remove unnecessary decls.
15161 (__dummy, __builtin_saveregs, __bb_exit_trace_func, __bb_init_prg,
15162 __bb_trace_func, __bb_trace_func_ret, __bb_trace_ret,
15163 function_ptr, getpagesize, __enable_execute_stack,
15164 __enable_execute_stack, __clear_insn_cache,
15165 __enable_execute_stack, __do_global_dtors, __do_global_ctors,
15166 _cleanup, _exit, __default_terminate, __terminate_func,
15167 __terminate, __empty, __throw, new_eh_context,
15168 eh_context_initialize, eh_context_static, eh_context_specific,
15169 get_eh_context, __get_eh_context, __get_eh_info,
15170 init_reg_size_table, eh_threads_initialize,
15171 __get_dynamic_handler_chain, __sjthrow, __sjpopnthrow,
15172 __unwinding_cleanup, throw_helper, __throw, __rethrow,
15173 __pure_virtual): Add prototype arguments.
15174 (__bb_exit_func): Cast a sizeof to long when comparing against one.
15175 Cast a signed value to unsigned long when comparing against one.
15176 (new_eh_context): Wrap in _GTHREADS macro.
15177 (__sjthrow, __sjpopnthrow): Initialize variable `cleanup' at
15179 (in_reg_window): Mark parameters with __attribute__ ((__unused__)).
15180 (throw_helper): Initialize variables `handler_p' and `pc_p'.
15182 1999-12-11 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
15184 * combine.c (record_promoted_value): Remove unused variable
15187 * emit-rtl.c (renumber_insns): Likewise for `old_max_uid'.
15189 * global.c (record_conflicts): Likewise for `j'.
15191 * genoutput.c (output_insn_data): Don't unnecessarily cast away
15194 1999-12-11 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
15196 * i386-protos.h (output_387_binary_op, output_fix_trunc,
15197 output_fp_compare): Constify a char*.
15199 * i386.c (ix86_split_to_parts, ix86_safe_length_prefix): Add
15201 (override_options, ix86_comp_type_attributes, print_operand,
15202 output_387_binary_op, output_fix_trunc, output_fp_compare):
15204 (ix86_sched_reorder): Mark parameter `clock_var' with
15207 * i386.h (DEBUG_PRINT_REG): Constify a char*.
15209 Fri Dec 10 16:12:13 1999 Alexandre Petit-Bianco <apbianco@cygnus.com>
15211 * tree.def (EXPR_WITH_FILE_LOCATION): Temporarily add a third
15212 operand, for use in the Java front-end.
15214 1999-12-10 Ben Collins <bcollins@debian.org>
15216 * configure.in: Fix typo for "-64" in 64bit as check.
15217 * configure: Rebuilt.
15219 1999-12-10 Jakub Jelinek <jakub@redhat.com>
15221 * longlong.h (__sparc_v9__): Use %rDIGIT instead of %DIGIT where
15224 1999-12-10 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
15226 * c-parse.in (string): With -Wtraditional, warn if ANSI string
15227 concatenation is utilized.
15229 * invoke.texi (-Wtraditional): Document it.
15231 1999-12-10 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
15233 * flow.c (flow_loops_dump): Avoid ANSI string concatenation.
15234 Cast a ptrdiff_t to long and pass it to printf with %ld.
15236 1999-12-10 Geoff Keating <geoffk@cygnus.com>
15238 * config/m68k/m68k.h (CONDITIONAL_REGISTER_USAGE): If we have no
15239 68881, we have no 68881 registers at all.
15240 (HARD_REGNO_MODE_OK): It is always OK to put a MODE_FLOAT
15241 value in a 68881 register if it is available.
15243 1999-12-10 Clinton Popetz <cpopetz@cygnus.com>
15245 * config/arm/arm.md (*mulsidi3adddi, *umulsidi3adddi): New patterns
15246 for long long multiply-accumulate.
15248 1999-12-10 Bernd Schmidt <bernds@cygnus.co.uk>
15250 * loop.c (insert_loop_mem): Undo last change.
15252 1999-12-10 David S. Miller <davem@redhat.com>
15254 * config/sparc/sparc.c (fp_sethi_p, fp_mov_p, fp_high_losum_p):
15256 * config/sparc/sparc-protos.h: Add them.
15257 * config/sparc/sparc.h: Add them to PREDICATE_CODES.
15258 (EXTRA_CONSTRAINT_BASE): New macro, handling Q, R, and S
15259 constraints which use those helpers.
15260 (EXTRA_CONSTRAINT): Use this new macro.
15261 * md.texi: Update sparc target constraints documentation.
15262 * config/sparc/sparc.md (clear_sf, clear_sfp, movsf_const_intreg,
15263 movsf_const_high, movsf_const_lo, movsf_insn): Delete.
15264 (movsf_insn_novis_liveg0, movsf_insn_novis_noliveg0,
15265 movsf_insn_vis, movsf_lo_sum, movsf_high): New patterns.
15266 (movsf high/lo_sum split): Rework for new patterns.
15267 (movsf expander): Allow storing fp_zero to memory if ! live_g0.
15269 1999-12-09 Gavin Romig-Koch <gavin@cetus.cygnus.com>
15271 * c-common.c (c_common_nodes_and_builtins):
15272 Create __builtin_ptrdiff_t and __builtin_size_t.
15274 Thu Dec 9 18:05:48 1999 Jeffrey A Law (law@cygnus.com)
15276 * pa/elf.h (MAX_OFILE_ALIGNMENT): Define.
15278 Fri Dec 10 00:53:10 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
15280 * regclass.c (globalize_reg): Re-instate test that allows
15281 fixed registers to be declared as a variable even after functions
15284 Fri Dec 10 00:52:13 MET 1999 Jan Hubicka <hubicka@freesoft.cz>
15286 * i386.md (cpu attribute): Add "athlon".
15287 (athlon_decode): New attribute.
15288 (Athlon scheduling units definitions): New.
15289 (fcmp and shld patterns): Set athlon_decode to "vector".
15290 * i386.c (athlon_cost): New.
15292 (x86_use_leave, x86_push_memory, x86_movx, x86_cmove, x86_deep_branch,
15293 x86_use_sahf): Set for Athlon.
15294 (x86_use_fiop): Unset for Athlon.
15295 (override_options): Define Athlon alignments and "athlon" name.
15296 (x86_adjust_cost): Penalize AGI and delayed latencies for Athlon.
15297 * i386.h (TARGET_ATHLON): New.
15298 (enum processor_type): Add PROCESSOR_ATHLON.
15299 (TARGET_CPU_DEFAULT_SPEC): Set to "-D__tune_athlon__"
15301 (TARGET_CPP_CPU_SPECS): Set -D__tune_athlon__ for Athlon.
15303 1999-12-09 Andreas Jaeger <aj@suse.de>
15305 * loop.c (record_biv): Declare parameter as int.
15307 * config/i386/i386-protos.h: Declare long_memory_operand.
15309 1999-12-09 Mark Mitchell <mark@codesourcery.com>
15311 * tree.c (copy_node): Do zero the TREE_CHAIN, even for an
15312 EXPR_WITH_FILE_LOCATION.
15314 Thu Dec 9 11:36:24 MET 1999 Jan Hubicka <hubicka@freesoft.cz>
15316 * i386.md (neg??, abs?f, one_cmpl?i): Use nonimmediate_operand
15319 * flow.c (recompute_reg_usage): Use basic block info to get loop_depth.
15321 * combine.c (try_combine, distribute_notes): Remove REG_N_REFS
15324 1999-12-09 Jakub Jelinek <jakub@redhat.com>
15326 * config/sparc/linux64.h (TARGET_DEFAULT): Make -mapp-regs
15327 default on linux64 again.
15328 * config/sparc/t-linux64: Add mno-app-regs and non-medlow code
15329 models for multilibing.
15330 * genmultilib: Accept | as alternative separator within a set in
15333 * config/sparc/sparc.h (PROMOTE_FOR_CALL_ONLY): Define.
15335 * calls.c (precompute_arguments): Make sure initial_value contains
15336 value pseudo which CSE expects.
15337 * cse.c (struct set): New entry orig_src.
15338 (cse_insn): Set it early on entry, use it for libcall EQUIV note
15341 Wed Dec 8 22:24:15 1999 Richard Henderson <rth@cygnus.com>
15343 * flow.c (count_basic_blocks): Don't add (use (const_int 0)) insns.
15345 1999-12-08 Bernd Schmidt <bernds@cygnus.co.uk>
15347 * loop.c (insert_loop_mem): Don't hoist volatile mems out of loops.
15349 1999-12-08 Jakub Jelinek <jakub@redhat.com>
15351 * config/sparc/sparc.c (ultra_cmove_results_ready_p,
15352 ultra_fpmode_conflict_exists, ultra_flush_pipeline): Typo fix.
15354 * config/sparc/sparc.h (SPARC_SETHI_P): Don't look at topmost 32 bits
15357 * longlong.h: Merge in changes from glibc.
15358 Also don't clobber %g2 register in 32bit SPARC assembly, so that
15359 -mno-app-regs libgcc can be compiled.
15360 * libgcc2.c: Add defines so that the updated longlong.h
15361 can be used in libgcc2.a. Also, make sure on most architectures
15362 (at least on all which have optimized code in longlong.h defined
15363 for) {SI,W}_TYPE_SIZE is suitable for preprocessor tests.
15365 1999-12-08 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
15367 * config/sparc/sol2-64.h: Same as sol2-sld-64.h, except that
15368 `-m EMULATION' is added to non-default LINK_ARCH_SPECs.
15369 * configure.in: Use sol2-64.h instead of sol2-sld-64.h if linker
15371 * configure: Rebuilt.
15373 Wed Dec 8 03:45:40 1999 Richard Henderson <rth@cygnus.com>
15375 * alpha.c (secondary_reload_class): For !BWX, sub-simode
15376 outputs require a register.
15378 1999-12-08 Brendan Kehoe <brendan@cygnus.com>
15380 * Makefile.in (FPBIT_FUNCS, DPBIT_FUNCS): Add _sf_to_usi
15381 _df_to_usi. Required by some targets, so US_SOFTWARE_GOFAST calls to
15382 functions like dptoul will be resolved.
15383 (libgcc2.a): Make sure that the object files from DPBIT are named
15384 differently (prefix `_dp') from those that would be coming from
15387 1999-12-08 Alexandre Oliva <oliva@lsd.ic.unicamp.br>, Jakub Jelinek <jakub@redhat.com>
15389 * configure.in: When target is sparc* and tm_file contains 64,
15390 test for 64bit support in assembler. If not supported, remove
15391 sparc/t-sol2-64 from target-dependent Makefile fragments.
15392 (AS_SPARC64_FLAG): Define to the assembler flag for 64bit.
15393 (HAVE_AS_OFFSETABLE_LO10): Rework test to use these flags.
15394 (HAVE_AS_REGISTER_PSEUDO_OP): Use config.cache.
15395 * acconfig.h (AS_SPARC64_FLAG): Added.
15396 * configure, config.in: Rebuilt.
15397 * config/sparc/sol2-sld-64.h: Same as sol2.h, if without 64bit
15398 support. Use AS_SPARC64_FLAG.
15400 1999-12-07 Jakub Jelinek <jakub@redhat.com>
15402 * config/sparc/sparc.c (hard_32bit_mode_classes): Mark registers
15403 suitable for holding OFmode values so that gcc works with complex
15405 (hard_64bit_mode_classes): Likewise.
15407 * config/sparc/sparc.md (sethi_di_medlow_embmedany_pic): Fix pattern
15408 so that it is actually matched.
15409 (sethi_di_medlow): Likewise.
15411 * config/sparc/sparc.h (LEGITIMATE_CONSTANT_P): Consider TFmode 0.0L
15412 as legitimate constant if -mvis.
15413 * config/sparc/sparc.md (movtf): Likewise.
15414 (clear_sf): Use const_double_operand.
15415 (clear_sfp, clear_dfp, clear_tf, clear_tfp): New patterns.
15417 * config/sparc/sparc.c (sparc_emit_float_lib_cmp): New function.
15418 * config/sparc/sparc-protos.h (sparc_emit_float_lib_cmp): Prototype.
15419 * config/sparc/sparc.h (*_LIBCALL): Only use for _Q_*
15420 routines, _Qp_* cannot be handled like that now.
15421 (INIT_TARGET_OPTABS): Likewise.
15422 * config/sparc/sparc.md (cmptf): Accept soft float ARCH64.
15423 (seq, sne, sgt, sge, slt, sle, beq, bne, bgt, bge, blt, ble): Call
15424 sparc_emit_float_lib_cmp if ARCH64 and soft float.
15425 (extendsftf2, extenddftf2, trunctfsf2, trunctfdf2, floatsitf2,
15426 floatditf2, fix_trunctfsi2, fix_trunctfdi2, addtf3, subtf3, multf3,
15427 divtf3, sqrttf3): New expanders.
15428 (extendsftf2_hq, extenddftf2_hq, trunctfsf2_hq, trunctfdf2_hq,
15429 floatsitf2_hq, floatditf2_hq, fix_trunctfsi2_hq, fix_trunctfdi2_hq,
15430 addtf3_hq, subtf3_hq, multf3_hq, divtf3_hq, sqrttf3_hq): Rename from
15433 * configure.in (sparc64-*-linux*): Use posix threads if enabled.
15434 * configure: Rebuilt.
15435 * config/sparc/linux64.h: Default to -mcpu=ultrasparc if no
15436 -mcpu is given and we're doing 64bit compiles.
15438 Tue Dec 7 19:22:06 1999 Richard Henderson <rth@cygnus.com>
15440 * loop.h (struct induction): Add multi_insn_incr.
15441 * loop.c (basic_induction_var): New multi_insn_incr argument.
15442 Set it if we search back through previous insns for the biv.
15443 (record_biv): New multi_insn_incr argument; fill in struct induction.
15444 (strength_reduce): Discard an iv with multiple bivs, any of
15445 which require multiple insns to increment.
15447 1999-12-07 Martin v. Löwis <loewis@informatik.hu-berlin.de>
15449 * invoke.texi (C Dialect Options): Remove -flang-c9x, add -std
15452 1999-12-06 David S. Miller <davem@redhat.com>
15454 * combine.c (check_promoted_subreg): Do not conditionalize this upon
15455 PROMOTE_FUNCTION_RETURN.
15457 Mon Dec 6 15:12:14 1999 Jim Wilson <wilson@cygnus.com>
15459 * regmove.c (optimize_reg_copy_1): If no REG_DEAD note, check for
15460 and handle REG_UNUSED note on insn.
15462 * combine.c (force_to_mode, case LSHIFTRT): New local inner_mask. Set
15463 inner_mask instead of mask.
15465 1999-12-06 Brendan Kehoe <brendan@cygnus.com>
15467 * dwarf2out.c (field_byte_offset): As with dwarfout.c, size can be
15468 zero if there was an error.
15470 1999-12-06 Jakub Jelinek <jakub@redhat.com>
15472 * config/sparc/sparc.md (return_losum_di): Fix typo in asm
15475 * longlong.h: Fix clobbers in SPARC asm statements.
15477 * config/sparc/sparc.c (input_operand): Allow HImode and QImode
15478 valid sethi operations when TARGET_ARCH64.
15480 * calls.c (save_fixed_argument_area): If save_mode is BLKmode,
15481 always use move_by_pieces to avoid infinite recursion.
15482 (restore_fixed_argument_area): Likewise.
15484 * combine.c (check_promoted_subreg, record_promoted_value): New
15486 (combine_instructions): Use them to retain nonzero and sign bit
15487 information after SUBREGs are eliminated by optimizations in
15488 this pass if PROMOTE_FUNCTION_RETURN.
15490 * config/sparc/sparc.h (ASM_DECLARE_REGISTER_GLOBAL): Document
15491 .register declaration. Don't use variables with __ prefixes.
15493 Mon Dec 6 12:24:52 1999 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
15495 * fold-const.c (optimize_bit_field_compare): Only use one mode
15496 for both RHS and LHS in non-constant case.
15498 1999-12-06 Nathan Sidwell <nathan@acm.org>
15500 * frame.c (start_fde_sort): Only allocate erratic array, if
15501 linear one was allocated. Return allocated flag.
15502 (fde_insert): Only insert, if there's a valid array.
15503 (fde_end_sort): Split, sort and merge if linear and erratic
15504 arrays exist, else just sort linear one.
15505 (search_fdes): New function. Linear search through original fde
15507 (frame_init): Permit multiple initializations. Cope with
15509 (find_fde): Fallback on linear search, if failed to sort array.
15510 (__deregister_frame_info): Only free sorted array, if we
15513 1999-12-06 Jakub Jelinek <jakub@redhat.com>
15515 * config/sparc/sparc.h (MUST_PASS_IN_STACK): New macro.
15517 1999-12-05 Jakub Jelinek <jakub@redhat.com>
15519 * config/sparc/sparc.c (sparc64_initialize_trampoline): Use gen_flushdi.
15521 1999-12-05 Mark Mitchell <mark@codesourcery.com>
15523 * tree.h (special_function_p): Declare.
15524 * calls.c (special_function_p): Make it global. Don't take `name'
15525 as a parameter. Fix typo in 1999-11-28 change.
15526 (expand_cal): Adjust.
15528 1999-12-04 Mark Mitchell <mark@codesourcery.com>
15530 * tree.def (EXPR_WITH_FILE_LOCATION): Fix comment formatting.
15531 * tree.h (EXPR_WFL_FILENAME): Define in terms of
15532 EXPR_WFL_FILENAME_NODE.
15533 (EXPR_WFL_FILENAME_NODE): Use the second operand slot rather than
15535 * print-tree.c (print_note): Print TREE_PRIVATE and
15538 * dwarf2out.c (add_abstract_origin_attribute): Don't abort when
15539 the original die cannot be found.
15541 * varray.h (varray_head_tag): Add elements_used.
15542 (VARRAY_PUSH): New macro.
15543 (VARRAY_POP): Likewise.
15544 (VARRAY_TOP): Likewise.
15545 Add variants of VARRAY_PUSH and VARRAY_POP for all varray element
15547 * varray.c (varray_init): Initialize elements_used.
15548 * Makefile.in (BASIC_BLOCK_H): Add varray.h.
15549 (INTEGRATE_H): New variable.
15550 (integrate.o): Depend on INTEGRATE_H.
15551 (unroll.o): Likewise.
15553 * function.h (insert_block_after_note): Declare.
15554 * function.c (insert_block_after_note): Split out from ...
15555 (retrofit_block): ... here.
15557 * stmt.c (expand_fixup): Fix typo in comment.
15559 Sat Dec 4 14:13:38 MET 1999 Jan Hubicka <hubicka@freesoft.cz>
15561 * regmove.c (copy_src_to_dest): Remove loop_depth parameter.
15562 (optimize_reg_copy_1): Remove REG_N_REFS updating code.
15563 (optimize_reg_copy_2, copy_src_to_dest, fixup_match_2): Likewise.
15564 (regmove_optimize, fixup_match_1): Likewise.
15566 1999-12-05 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
15568 * flow.c (flow_loops_dump): Add missing argument when calling
15569 flow_loop_nested_p.
15571 1999-12-04 Geoffrey Keating <geoffk@cygnus.com>
15572 Greg McGary <gkm@gnu.org>
15574 * c-common.c (enum attrs): Add A_NO_LIMIT_STACK.
15575 (init_attributes): Add A_NO_LIMIT_STACK.
15576 (decl_attributes): Handle A_NO_LIMIT_STACK.
15577 * c-decl.c (duplicate_decls): Handle DECL_NO_LIMIT_STACK.
15578 * explow.c (allocate_dynamic_stack_space) [!HAVE_allocate_stack]:
15579 Handle stack bounds checking.
15580 * flags.h (flag_stack_check): Use the word 'probe' rather than
15581 'check', because the flag doesn't actually cause any checking to
15583 * function.c (expand_function_start): Set
15584 current_function_limit_stack.
15585 * function.h (struct function): Add limit_stack.
15586 (current_function_limit_stack): Define.
15587 * invoke.texi (Code Gen Options): Document new options.
15588 * rtl.h: Declare stack_limit_rtx.
15589 * toplev.c (stack_limit_rtx): New variable.
15590 (decode_f_option): Handle new options -fstack-limit-register=REG,
15591 -fstack-limit-symbol=IDENT, -fno-stack-limit.
15592 (main): Add stack_limit_rtx as GC root.
15593 * tree.h (DECL_NO_LIMIT_STACK): New macro.
15594 (struct tree_decl): New member no_limit_stack.
15596 * config/rs6000/rs6000.c (rs6000_allocate_stack_space): Handle
15598 * config/rs6000/rs6000.md (allocate_stack): Handle stack_limit_rtx.
15599 (conditional_trap+1): Get new mnemonic correct.
15600 (conditional_trap+2): New pattern for DImode traps.
15602 * config/m68k/m68k.c (output_function_prologue): Handle
15604 * config/m68k/m68k.md (trap): New insn.
15605 (conditional_trap): New insn.
15606 * md.texi (Standard Names): Document `trap' and
15607 `conditional_trap'.
15608 * optabs.c (gen_cond_trap): Use start_sequence()/end_sequence()
15609 so a cc0 setter doesn't get emitted at some random place in the
15612 * config/i960/i960.md (trap): New insn.
15613 (conditional_trap): New expander.
15614 (conditional_trap+1, conditional_trap+2): New insns for signed
15615 and unsigned cases.
15616 * config/i960/i960.c (i960_function_prologue): Use
15617 STARTING_FRAME_OFFSET. Handle stack_limit_rtx.
15619 Thu Dec 2 21:22:45 1999 Greg McGary <gkm@gnu.org>
15620 Geoffrey Keating <geoffk@cygnus.com>
15622 * flags.h (warn_padded, warn_packed): Add global var decls.
15623 * toplev.c (warn_padded, warn_packed): Add global var defns.
15624 (W_options): Add warnings `-Wpacked' and `-Wpadded'.
15625 * stor-layout.c (layout_record): Add local variable `type'
15626 to hold often-used TREE_TYPE (field). Add local variable
15627 `unpacked_align' to hold alignment that would be in force
15628 if no `packed' attribute were present. Warn if `packed' attribute
15629 is unnecessary, or even harmful. Warn when gcc inserts padding
15630 to satisfy alignment requirements of members. Use NULL_TREE
15631 when checking whether var_size is set.
15632 * invoke.texi: Document new flags.
15634 1999-12-03 Nathan Sidwell <nathan@acm.org>
15636 * frame.c (fde_split): Reimplement to avoid variable sized array.
15638 Thu Dec 2 18:59:48 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
15640 * combine.c (try_combine): Before fixing up LOG_LINKS for the
15641 i3_subst_into_i2 case, check that GET_CODE (PATTERN (i2)) == PARALLEL.
15643 1999-12-02 Gavin Romig-Koch <gavin@cygnus.com>
15645 * invoke.texi: Document the mips option -mno-crt0
15647 1999-12-02 Mike Karr <mkarr@mathworks.com>
15649 * cccp.c (argdata): Added free_ptr member.
15650 (macroexpand): Initialize free_ptr of each argument. When an
15651 argument's buffers are freed, if the argument's free_ptr corresponds
15652 to a buffer on the input stack, then return the free_ptr to that stack
15653 frame, otherwise, free it.
15654 (macarg): If an argument begins and ends on the same input stack level,
15655 then transfer the free_ptr of that buffer to the argument in case
15656 the stack is popped during the processing of a subsequent argument.
15658 1999-12-02 Bernd Schmidt <bernds@cygnus.co.uk>
15660 * loop.c (note_reg_stored): New function.
15661 (struct note_reg_stored_arg): New structure.
15662 (try_copy_prop): Change to be more conservative; only replace within
15663 one extended basic block and stop replacing if a store to the
15664 replacement reg is seen.
15666 1999-12-02 Nick Clifton <nickc@cygnus.com>
15668 * config/fp-bit.c: Initialise all fields of the NAN
15671 * c-lex.c (check_newline): Pass pragma_getc and pragma_ungetc
15674 Wed Dec 1 18:16:38 1999 Jan Hubicka <hubicka@freesoft.cz>
15676 * i386.md (extend?f?f2): Force the input into a register, not
15679 1999-12-01 Jakub Jelinek <jakub@redhat.com>
15681 * config/sparc/sparc.md (movsf_const_intreg): Add constraints for
15683 (movdf_const_intreg_sp32): Likewise. Prefer the memory load
15684 alternative because setting up 64bit constant is usually costly,
15685 especially when reload is in progress or completed.
15686 (movdf_const_intreg_sp64): Likewise.
15687 (movdf_const_intreg split): Fix building up constants when
15688 HOST_BITS_PER_WIDE_INT is 64 yet long is 32bit.
15690 Wed Dec 1 16:51:22 1999 Jeffrey A Law (law@cygnus.com)
15692 * combine.c (if_then_else_cond): Use const_true_rtx instead of
15693 const1_rtx for return values in EQ/NE comparison against (const_int 0)
15696 * mn10300.c (REG_SAVE_BYTES): Allocate space for AM33 registers.
15697 (asm_file_start): Emit .am33 into assembly file when compiling for
15699 (print_operand_address): Handle POST_INC addresses.
15700 (can_use_return_insn, initial_offset): Check AM33 registers too.
15701 (expand_prologue): Check & save AM33 registers too.
15702 (expand_epilogue): Similarly.
15703 (secondary_reload_class): Handle AM33 specific secondary reloads.
15704 (output_tst): Emit efficient code for the AM33 too.
15705 * mn10300.h (CPP_SPEC, TARGET_AM33): Define.
15706 (TARGET_SWITCHES): Add -mam33 switch.
15707 (FIRST_PSEUDO_REGISTER): Handle new AM33 registers.
15708 (FIXED_REGISTERS, CALL_USED_REGISTERS): Likewise.
15709 (REG_ALLOC_ORDER, CONDITIONAL_REGISTER_USAGE): Likewise.
15710 (HARD_REGNO_MODE_OK, MODES_TIEABLE_P): Likewise.
15711 (enum reg_class, REG_CLASS_NAMES): Likewise.
15712 (REG_CLASS_CONTENTS, REGNO_REG_CLASS): Likewise.
15713 (INDEX_REG_CLASS, REG_CLASS_FROM_LETTER): Likewise.
15714 (REGNO_OK_FOR_INDEX_P, PREFERRED_RELOAD_CLASS): Likewise.
15715 (PREFERRED_OUTPUT_RELOAD_CLASS, LIMIT_RELOAD_CLASS): Likewise.
15716 (REGISTER_MOVE_COST, REGISTER_NAMES): Likewise.
15717 (HAVE_POST_INCREMENT): Define.
15718 (GO_IF_LEGITIMATE_ADDRESS): Allow POST_INC addresses for the AM33.
15719 (GO_IF_MODE_DEPENDENT_ADDRESS): POST_INC is a mode dependent address.
15720 * mn10300.md (movqi, movhi, addsi, subsi): Add AM33 variants.
15721 (mulsi, andsi, iorsi, xorsi, notsi): Likewise.
15722 (ashiftsi, lshiftrtsi, ashiftrtsi): Likewise.
15723 (zero_extend to SI from QI/HI): Likewise.
15724 (sign_extend to SI from QI/HI): Likewise.
15725 (mulsidi3, umulsidi3): New patterns for the AM33.
15726 (tstsi with zero extension from QI/HI): Add AM33 variants.
15727 (movsi, movsf, movdi, movdf): Generate efficient code for the AM33 too.
15728 (return_internal_regs, store_movm): Handle new AM33 registers.
15729 * t-mn10300 (MULTILIB_OPTIONS, MULTILIB_DIRNAMES): Define.
15730 (LIBGCC, INSTALL_LIBGCC): Likewise.
15731 * invoke.texi: Document new flags.
15733 Fri Nov 26 10:59:12 CET 1999 Jan Hubicka <hubicka@freesoft.cz>
15735 * i386.md (addsi3_cc): Add "binary_operator_ok" to the condition.
15736 (addsi3_carry): Likewise.
15737 (sbbsi3_cc): Add "binary_operator_ok" to the condition.
15738 (sbbsi3_carry): Likewise.
15739 (mulsi3): Rewrite to expander, ensure that only one operand is memory.
15740 (mulhi3): Likewise.
15741 (test?i_1): Ensure that only one operand is memory.
15742 (conditional move patterns): likewise.
15743 (shift and rotate patterns): Rewrite to expander, add
15744 "binary_operator_ok" to the condition.
15746 * i386.md (QImode patterns): Remove '*' before the 'r' constraints.
15747 * i386.h (procesor_costs): Add movzbl_load field.
15748 (HARD_REGNO_MODE_OK): Accept QImode on non PARTIAL_REGISTER_STALL in
15749 non-Q registers, accept DImode registers anywhere.
15751 (MEMORY_MOVE_COST): Calculate QImode moves correctly.
15752 * i386.c (*_cost): Set value for movxbl_load field.
15754 * (addsi): New add to lea splitter.
15755 (ashlsi): Likewise.
15756 (lea to add/shift peep2): New.
15758 1999-12-01 Mark Salter <msalter@cygnus.com>
15760 * config/mips/elf.h (STARTFILE_SPEC): Add no-crt0.
15761 * config/mips/elf64.h (STARTFILE_SPEC): Add no-crt0.
15762 * config/mips/mips.h (TARGET_SWITCHES): Add no-crt0.
15764 Tue Nov 30 15:20:52 MET 1999 Jan Hubicka <hubicka@freesoft.cz>
15766 * i386.c (ix86_expand_move): Never add clobbers to move patterns.
15767 * i386.md (movsi_xor): New.
15769 (movsi_1, movhi_1, movqi_1): Remove.
15770 (movsi_2): Rename to movsi_1.
15771 (movhi_2): Rename to movhi_1.
15772 (movqi_2): Rename to movqi_1.
15773 (movdi_1): Remove; remove splitter.
15774 (movdi_2): Rename to movdi_1.
15775 (divmodsi4 splitter): Do not emit clobbers for move patterns.
15776 (long move peep2): Do not create QI or HI mode mov0s
15777 (mov -1,reg -> or peep2s): Enable again, rewrite to single peephole.
15779 * i386.md (zero_extend?i?i2): Rewrite to expanders; new patterns,
15782 * i386.md (neg?f2_if): Split "r" and "f" to separate alternatives.
15783 (abs?f2_if): Likewise.
15785 1999-11-30 Alex Samuel <samuel@codesourcery.com>
15787 * ggc.h (ggc_test_and_set_mark): New macro.
15788 (ggc_mark_rtx): Use ggc_test_and_set_mark.
15789 (ggc_mark_tree): Likewise.
15790 (ggc_mark_rtvec): Likewise.
15791 * ggc-common.c (ggc_mark_rtx_children): Reduce recursion.
15793 1999-11-30 Jason Merrill <jason@casey.cygnus.com>
15795 * dwarf2out.c (scope_die_for): Only handle types. Only search for
15797 (decl_scope_table): Just an array of trees now.
15798 (push_decl_scope): Simplify.
15799 (dwarf2out_init): Adjust.
15800 (local_scope_p): New fn.
15801 (gen_inlined_enumeration_type_die): Don't call scope_die_for.
15802 (gen_inlined_union_type_die, gen_inlined_structure_type_die): Likewise.
15803 (gen_typedef_die): Likewise.
15804 (gen_lexical_block_die): Don't call push/pop_decl_scope.
15805 (gen_inlined_subroutine_die): Likewise.
15806 (gen_abstract_function): Set current_function_decl temporarily.
15807 (gen_subprogram_die): Don't check DECL_ABSTRACT to set declaration.
15808 Handle block extern declarations. Don't call push/pop_decl_scope.
15809 (gen_decl_die): Fix logic for block externs.
15811 1999-11-30 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
15813 * calls.c (special_function_p): Remove `realloc' and add `strdup'
15814 to the list of functions which have attribute malloc by default.
15816 1999-11-30 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
15818 * c-lex.c (yylex): With -Wtraditional, when the ANSI type of an
15819 integer constant does not match the traditional type, limit the
15820 warnings to cases where the base of the type is ten.
15822 * invoke.texi (-Wtraditional): Document it.
15824 Tue Nov 30 15:18:35 1999 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
15826 * combine.c (try_combine): Only pass SET or CLOBBER to SET_DEST
15827 * rs6000.md: Only access a CONST_INT with INTVAL
15829 Tue Nov 30 14:21:00 1999 Richard Henderson <rth@cygnus.com>
15831 * lcm.c (compute_laterin): Cast bb->aux to size_t not int.
15832 (compute_nearerout): Likewise.
15833 * ggc-page.c (ggc_page_print_statistics): Explicitly cast
15834 size_t to unsigned long for formatting.
15836 1999-11-30 Jakub Jelinek <jakub@redhat.com>
15838 * config/sparc/sparc.h (FIXED_REGISTERS, CONDITIONAL_REGISTER_USAGE):
15839 Allow the user to override call-used/fixed state of %g2-5
15840 registers from the command line (with the exception of %g4 for
15842 (REG_LEAF_ALLOC_ORDER): Move %g1 and %g4-7 registers to front, so that
15843 there is a higher chance of having a leaf function.
15844 (MACHINE_STATE_SAVE, MACHINE_STATE_RESTORE): Provide separate macros
15845 for ARCH64 which has %ccr register.
15846 * config/sparc/sparc.md (return_losum_si, return_losum_di): New
15848 * config/sparc/sparc.c (eligible_for_epilogue_delay): For the return
15849 insn accept into delay slot any insn which does not use %[ol]
15850 registers. Accept some LO_SUM and shift left by 1 for the normal
15852 (output_function_epilogue): Likewise.
15853 (epilogue_renumber): Added argument which inhibits any renumbering
15854 and just tests if the rtx does not use any %[ol] registers.
15855 (output_return): Reflect above change.
15857 1999-11-30 Jakub Jelinek <jakub@redhat.com>
15859 * config/sparc/sparc.c (sparc_va_arg): Fix sparc64 va_arg
15860 aggregate passing for sizes <= 16 bytes.
15862 1999-11-30 Bernd Schmidt <bernds@cygnus.co.uk>
15864 * cse.c (FIXED_REGNO_P): Delete tests for OVERLAPPING_REGNO_P.
15865 * global.c (global_alloc): Delete [OVERLAPPING_REGNO_P] code.
15866 * reload.c (find_dummy_reload): Likewise.
15867 (find_equiv_reg): Likewise; also for INSN_CLOBBERS_REGNO_P.
15868 * reload1.c (reload_as_needed): Likewise.
15869 * stupid.c (stupid_find_reg): Likewise.
15870 * tm.texi (Obsolete Register Macros): Delete section.
15871 * gmicro.h: Remove all traces of the two macros.
15872 * i386.h: Likewise.
15873 * m88k.h: Likewise.
15874 * mips.h: Likewise.
15876 1999-11-30 Brendan Kehoe <brendan@cygnus.com>
15878 * sparc.h (MASK_FASTER_STRUCTS, TARGET_FASTER_STRUCTS): Define.
15879 (TARGET_SWITCHES): Add -mfaster-structs/-mno-faster-structs flags.
15880 (ROUND_TYPE_ALIGN): Use better value if -mfaster-structs.
15881 * sparc.md (sparclite86x_branch, sparclite86x_shift): New function
15882 units for the sparclite86x chip.
15883 (flush): Revert October 14th change; add SImode specifically.
15884 (flushdi): Copy of flush, but DImode, to avoid genrecog warnings.
15885 * invoke.texi: Document it.
15887 Tue Nov 30 14:58:14 1999 Nick Clifton <nickc@cygnus.com>
15889 * config/mn10200/mn10200.h (PREDICATE_CODES): Add
15890 psimode_truncation_operand.
15892 * config/mn10200/mn10200.c (psimode_truncation_operand): New
15893 function. Return true if the operand is either a MEM valid
15894 for a PSImode address or not a MEM at all.
15896 * config/mn10200/mn10200.md (truncsipsi2): Use
15897 psimode_truncation_operand.
15899 1999-11-30 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
15901 * flow.c (flow_nodes_print, flow_loops_cfg_dump): New functions.
15902 (flow_loop_nested_p, flow_loops_dump, flow_loops_free): Likewise.
15903 (flow_loop_exits_find, flow_loop_nodes_find): Likewise.
15904 (flow_depth_first_order_compute, flow_loop_pre_header_find): Likewise.
15905 (flow_loop_tree_node_add, flow_loops_tree_build): Likewise.
15906 (flow_loop_level_compute, low_loops_level_compute): Likewise.
15907 (flow_loops_find, flow_loop_outside_edge_p): Likewise.
15908 * basic-block.h: Protect from multiple inclusion.
15909 (flow_loops_find, flow_loops_free, flow_loop_dump): Add protoypes.
15910 (struct loops, struct loop): Define structures.
15911 * sbitmap.c (sbitmap_a_subset_b_p): New function.
15912 * sbitmap.h: Protect from multiple inclusion.
15913 (sbitmap_a_subset_b_p): Add prototype.
15914 * Makefile.in (LOOP_H): New macro.
15915 (stmt.o, integrate.o, loop.o, unroll.o): Replace loop.h with LOOP_H.
15917 Tue Nov 30 01:34:47 1999 Philippe De Muyter <phdm@macqel.be>
15919 * cppinit.c (CAT): The argument list of this macro may not contain
15922 1999-11-29 David S. Miller <davem@redhat.com>
15924 Move quantity tables and register equivalence chains into
15925 per-qty and per-register structure arrays respectively.
15926 * cse.c (qty_first_reg, qty_last_reg, qty_mode, qty_const,
15927 qty_const_insn, qty_comparison_code, qty_comparison_const,
15928 qty_comparison_qty): Delete, replace with...
15929 (qty_table): this structure table.
15930 (reg_next_eqv, reg_prev_eqv): Delete, replace with...
15931 (reg_eqv_table): this structure table.
15932 (make_new_qty): Add argument MODE. Caller updated.
15933 Update to use qty_table and reg_eqv_table.
15934 (make_regs_eqv, delete_reg_equiv, insert_regs,
15935 insert, exp_equiv_p, cse_rtx_varies_p, canon_reg,
15936 fold_rtx, equiv_constant, record_jump_cond, cse_insn,
15937 cse_process_notes, cse_main, cse_basic_block): Likewise.
15939 Mon Nov 29 16:56:42 1999 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
15941 * fold-const.c (extract_muldiv, case {MIN,MAX}_EXPR): Reverse
15942 operation if C is negative.
15943 (extract_muldiv, case SAVE_EXPR): Supresss if arg has side effects.
15944 (extract_muldiv, case {PLUS,MINUS}_EXPR): Don't apply distributive
15945 law for some divisions if constant is negative and change other
15946 divisions to the opposite rounding.
15948 * expr.c (store_constructor_field): If bit position is not multiple
15949 of alignment of TARGET's mode, use BLKmode.
15951 * expr.c (expand_expr_unaligned): Add more code from full case
15952 that is needed when OP0 is in a register.
15954 Mon Nov 29 18:09:39 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
15956 * dwarfout.c (field_byte_offset): Size can be zero if there was
15959 1999-11-29 Bernd Schmidt <bernds@cygnus.co.uk>
15961 * fold-const.c (split_tree): Delete unused vars ORIG_IN and TYPE.
15962 (associate_trees): Delete unused var TEM.
15963 (extract_muldiv): Delete unused var CANCEL_P.
15965 * fold-const.c [TARGET_FLOAT_FORMAT != IEEE_FLOAT_FORMAT]
15966 (target_isinf, target_isnan, target_negative): Add return types to
15967 function definitions.
15969 1999-11-29 Bruce Korb <autogen@linuxbox.com>
15971 * fixinc/fixincl.c(process): don't skip GLIBC files any more.
15972 * fixinc/hackshell.tpl: ditto
15973 * fixinc/fixtests.c(double_slash_test): more C++ header testing
15974 * fixinc/inclhack.def(AAB_fd_zero_glibc*): corrected spelling of mach
15976 1999-11-29 Bernd Schmidt <bernds@cygnus.co.uk>
15978 * reload.c (push_reload): When looking for a register to put into
15979 reg_rtx, make sure all hard regs in a multi-reg register are in the
15980 right class and nonfixed.
15982 * haifa-sched.c (reg_last_uses, reg_last_sets, reg_last_clobbers,
15983 pending_read_insns, pending_write_insns, pending_read_mems,
15984 pending_write_mems, pending_list_length, last_pending_memory_flush,
15985 last_function_call, sched_before_next_call): Move static variables
15987 (bb_ prefixed versions): Replace with single array bb_deps.
15988 (struct deps): New structure.
15989 (add_insn_mem_dependence, flush_pending_lists, sched_analyze_1,
15990 sched_analyze_2, sched_analyze_insn, sched_analyze): Accept new
15991 argument of type "struct deps *"; use that instead of global
15992 variables. All callers changed.
15993 (init_rgn_data_dependencies): Delete function.
15994 (init_rtx_vector): Delete function.
15995 (init_deps): New function.
15997 (free_pending_lists): Simplify, we always use the bb_deps array even
15998 if only one basic block.
15999 (compute_block_backward_dependences): Likewise.
16000 (schedule_region): Likewise.
16002 (propagate_deps): New function, broken out of
16003 compute_block_backward_dependences.
16004 (compute_block_backward_dependences): Use it.
16006 * alpha.md: Delete useless patterns that tried to work around
16007 register elimination problems.
16009 * unroll.c (loop_iterations): Don't abort if iteration variable
16012 From Joern Rennecke:
16013 * reload1.c (reloads_conflict): Reverse test comparing operand
16014 numbers when testing for conflict between output/outaddr reloads.
16016 1999-11-29 David S. Miller <davem@redhat.com>
16018 * config/sparc/sparc.c (init_cumulative_args): Fix type of third
16020 * config/sparc/sparc-protos.h: Update proto, move into RTX_CODE.
16022 1999-11-28 Robert Lipe <robertl@cygnus.com>
16024 * i386/sco5.h (FINI_SECTION_ASM_OP_COFF): Move destructor fn
16025 table from .fini into .dtor.
16027 1999-11-28 Anthony Green <green@cygnus.com>
16029 * tree.h (struct tree_decl): Add malloc_flag.
16030 (DECL_IS_MALLOC): Define.
16031 * c-common.c (attrs): Add A_MALLOC attribute.
16032 (init_attributes): Add this attribute to the table.
16033 (decl_attributes): Handle malloc attribute.
16034 * calls.c (special_function_p): Check for the malloc attribute.
16035 * extend.texi (Function Attributes): Document malloc attribute.
16037 Sun Nov 28 13:21:00 1999 Jeffrey A Law (law@cygnus.com)
16039 * pa.md (reload shift-add patterns): Remove.
16041 1999-11-28 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
16043 * reorg.c (dbr_schedule) Print more statistics. Corrected
16044 problem when printing info when 3 delay slots are filled.
16046 1999-11-28 Jakub Jelinek <jakub@redhat.com>
16048 * combine.c (setup_incoming_promotions): Pass an outgoing
16049 regno to FUNCTION_ARG_REGNO_P which it expects.
16051 1999-11-28 Andreas Jaeger <aj@suse.de>
16053 * mips/linux.h (CPP_PREDEFINES): Undefine before redefining.
16055 Sun Nov 28 00:48:15 1999 Philippe De Muyter <phdm@macqel.be>
16057 * cccp.c (do_include): Avoid initialization of automatic variable.
16059 * integrate.c (mark_stores): Function definition made void, to match
16060 previous declaration.
16061 * regclass.c (dump_regclass): Ditto.
16062 * Makefile.in (WARN_CFLAGS): Macro augmented by `-Wtraditional'.
16064 Sat Nov 27 08:38:26 1999 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
16066 * expr.c (store_constructor): Use EXACT_DIV_EXPR when dividend is
16067 known to be multiple of divisor.
16069 * expr.c (store_constructor): Don't clobber TARGET if CLEARED.
16071 * combine.c (try_combine): Add code to try to merge a set of a
16072 two-word pseudo to a constant with a setting of one of those words
16075 * fold-const.c (negate_expr, associate_trees, extract_muldiv): New.
16076 (split_tree): Completely rework to make more general.
16077 (make_range, fold): Call negate_expr.
16078 (fold, case NEGATE_EXPR): Simplify -(a-b) is -ffast-math.
16079 (fold, associate): Call new split_tree and associate_trees.
16080 (fold, case MULT_EXPR, case *_{DIV,MOD}_EXPR): Call extract_muldiv.
16082 1999-11-26 Bernd Schmidt <bernds@cygnus.co.uk>
16084 * loop.c (try_copy_prop): Avoid GNU C extension.
16086 1999-11-25 Mark Mitchell <mark@codesourcery.com>
16088 * except.c (init_eh_for_function): Still zero eh_return_context,
16089 eh_return_stack_adjust, and eh_return_handler.
16091 * except.h (eh_status): Adjust documentation for x_protect_list.
16092 (begin_protect_partials): New function.
16093 * except.c (enqueue_eh_entry): Fix formatting.
16094 (get_first_handler): Add consistency check.
16095 (add_partial_entry): Adjust usage of protect_list.
16096 (emit_cleanup_handler): Save and restore ehqueue.
16097 (expand_start_all_catch): Add comment.
16098 (begin_protect_partials): New function.
16099 (end_protect_partials): Adjust usage of protect_list.
16100 (init_eh_for_function): Use xcalloc.
16102 1999-11-25 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
16104 * c-common.c (check_format_info): Don't call a variadic function
16105 with a non-literal format string.
16107 * c-decl.c (grokdeclarator, start_struct, finish_struct): Likewise.
16109 * c-typeck.c (build_component_ref, build_unary_op, lvalue_or_else,
16110 pedantic_lvalue_warning, error_init, pedwarn_init, warning_init):
16113 * cccp.c (check_macro_name, do_xifdef, vwarning_with_line):
16116 * collect2.c (collect_wait): Likewise.
16118 * dbxout.c (dbxout_type): Likewise.
16120 * gcc.c (do_spec_1): Likewise.
16122 * genemit.c (gen_insn, gen_expand): Likewise.
16124 * genrecog.c (write_switch, write_subroutine): Likewise.
16126 * mips-tfile.c (catch_signal, botch): Likewise.
16128 * print-rtl.c (print_rtx): Likewise.
16130 * toplev.c (default_print_error_function, report_error_function,
16131 _fatal_insn): Likewise.
16133 1999-11-25 Mark Mitchell <mark@codesourcery.com>
16135 * tree.c (unsave_expr_now): Handle NULL_TREE as input.
16137 Wed Nov 24 17:08:09 MET 1999 Jan Hubicka <hubicka@freesoft.cz>
16139 * reg-stack.c (subst_stack_regs_pat): Swap operands in commutative
16140 operations when needed.
16141 * i386.md (fop_?f_comm): New.
16142 (fop_?f_1): Do not accept commutative operands.
16144 1999-11-25 Andreas Jaeger <aj@suse.de>
16146 * config/mips/mips.md (casesi_internal): Add missing brace.
16148 1999-11-25 Jason Merrill <jason@casey.cygnus.com>
16150 * dwarf2out.c (pend_type, output_pending_types_for_scope): Lose.
16151 (splice_child_die): Handle moving a child DIE from the declaration
16152 DIE of a class to its specification.
16153 (gen_struct_or_union_type_die): Use 'complete' consistently.
16154 (gen_decl_die): Generate the virtual context DIE first.
16155 Use decl_ultimate_origin instead of DECL_ABSTRACT_ORIGIN.
16157 1999-11-24 Gavin Romig-Koch <gavin@cygnus.com>
16159 * config/mips/mips.md (call_value_multiple_interanal1): New.
16161 1999-11-24 Jason Merrill <jason@casey.cygnus.com>
16163 * dwarf2out.c (free_AT, free_die): New fns.
16164 (remove_children): Call them.
16165 (output_line_info): Disable removal of duplicate notes.
16167 Generate minimal debug info for types with TYPE_DECL_SUPPRESS_INFO set.
16168 * dwarf2out.c (gen_struct_or_union_type_die): TYPE_DECL_SUPPRESS_INFO
16169 means pretend the type isn't defined.
16170 Don't defer emitting types.
16171 (gen_type_die_for_member): New fn.
16172 (gen_decl_die): Call it.
16173 (splice_child_die): New fn.
16174 (gen_member_die): Call it rather than generate duplicate dies.
16176 Defer emitting information for the abstract instance of an inline
16177 until we either inline it or emit an out-of-line copy.
16178 * dwarf2out.c (decl_ultimate_origin): Ignore DECL_ABSTRACT_ORIGIN
16179 from output_inline_function if DECL_ABSTRACT is also set.
16180 (block_ultimate_origin): Likewise.
16181 (gen_abstract_function): New fn.
16182 (gen_decl_die, gen_inlined_subroutine_die): Call it.
16183 (gen_subprogram_die): An abstract instance is not a declaration
16184 just because it doesn't match current_function_decl. Don't abort
16185 because DECL_DEFER_OUTPUT isn't set. Do abort if a declaration
16186 has an abstract origin.
16187 * toplev.c (rest_of_compilation): Don't emit dwarf2 info for the
16188 abstract instance here.
16190 Wed Nov 24 18:39:18 1999 Andrew Haley <aph@cygnus.com>
16192 * config/sh/sh.h (SECONDARY_OUTPUT_RELOAD_CLASS): Add the case
16193 where we need to reload fpul from a system register.
16195 1999-11-24 Andreas Jaeger <aj@suse.de>
16197 * config/mips/linux.h (CPP_PREDEFINES): Added.
16198 (LINK_SPEC): Remove -Y since this is only needed on sparc.
16200 1999-11-24 Andreas Jaeger <aj@suse.de>
16202 * config/mips/linux.h (TARGET_VERSION): Added.
16203 (HANDLE_SYSV_PRAGMA): Added.
16204 (DEFAULT_VTABLE_THUNKS): Added.
16206 Wed Nov 24 14:12:15 MET 1999 Jan Hubicka <hubicka@freesoft.cz>
16208 * local-alloc.c (qty): New structure and static variable.
16209 (qty_phys_reg): Remove, all references changed to qty.
16210 (qty_n_refs): Likewise.
16211 (qty_min_class): Likewise.
16212 (qty_birth): Likewise.
16213 (qty_death): Likewise.
16214 (qty_size): Likewise.
16215 (qty_mode): Likewise.
16216 (qty_n_calls_crossed): Likewise.
16217 (qty_alternate_class): Likewise.
16218 (qty_changes_size): Likewise.
16219 (qty_first_reg): Likewise.
16220 (alloc_qty): Rename variable QTY to QTYNO.
16221 (finf_free_reg): Likewise.
16222 (local_alloc): Allocate qty, do not allocate the removed variables.
16224 Wed Nov 24 17:26:05 1999 Geoffrey Keating <geoffk@cygnus.com>
16226 * config/mips/mips.h (ASM_SPEC): Don't pass -G to the assembler
16227 when -membedded-pic is passed.
16229 * config/mips/mips.md (casesi): Handle 64-bit case too.
16230 (casesi_internal_di): New insn.
16232 * config/mips/mips.c (embedded_pic_offset): Always make the
16233 embedded-pic subtractions relative to the name of the current
16234 function by use of the magic string "..CURRENT_FUNCTION".
16235 * config/mips/mips.h (ASM_OUTPUT_LABELREF): Make the magic happen.
16237 1999-11-24 Geoffrey Keating <geoffk@cygnus.com>
16239 * config/mips/mips.md (div_trap_normal): Don't ask for the REGNO
16240 of (const_int 0), when what we really care about is
16241 whether it's a zero constant anyway.
16242 (div_trap_mips16): Likewise.
16244 1999-11-23 Mark Mitchell <mark@codesourcery.com>
16246 * loop.c (loop_optimize): Always find_loop_tree_blocks and
16247 unroll_block_trees when generating debuggable code.
16249 * tree.h (unsave_expr_1): New function.
16250 (lang_unsave): New variable.
16251 (get_callee_fndecl): New function.
16252 * tree.c (unsave_expr_now_r): New function.
16253 (lang_unsave): Define.
16254 (unsave_expr_1): Likewise.
16255 (unsave_expr_now_r): Split out from unsave_expr_now.
16256 (unsave_expr_now): Call lang_unsave if it is non-NULL. Otherwise,
16257 call unsave_expr_now_r.
16258 (get_callee_fndecl): Define.
16260 * Makefile.in (gencheck): Don't depend on lang_tree_files.
16261 (gencheck.o): Do depend on lang_tree_files.
16263 * integrate.h (copy_decl_for_inlining): New declaration.
16264 * integrate.c (copy_and_set_decl_abstract_origin): Remove.
16265 (copy_decl_for_inlining): New function.
16266 (integrate_parm_decls): Use it.
16267 (integrate_decl_tree): Likewise.
16269 1999-11-23 Gavin Romig-Koch <gavin@cygnus.com>
16271 * config/mips/mips.h (ISA_HAS_FP4,ISA_HAS_CONDMOVE,ISA_HAS_8CC): Split
16272 the second two from the first.
16273 (CONDITIONAL_REGISTER_USAGE): Use ISA_HAS_8CC rather than ISA_HAS_FP4.
16274 * config/mips/mips.md (movcc,reload_incc,reload_outcc,
16275 conditional move): Use ISA_HAS_CONDMOVE or ISA_HAS_8CC rather than
16277 * config/mips/mips.c (mips_move_1word,gen_conditional_branch,
16278 override_options): Use ISA_HAS_CONDMOVE or ISA_HAS_8CC rather than
16281 Tue Nov 23 11:15:04 1999 Jeffrey A Law (law@cygnus.com)
16283 * pa.md (call_internal_symref, call_value_internal_symref): No mode
16284 needed on the address operand.
16285 * pa.c (call_operand_address): Check for the correct mode.
16287 1999-11-23 Bernd Schmidt <bernds@cygnus.co.uk>
16289 * loop.c: Include "basic-block.h".
16290 (try_copy_prop, replace_loop_reg): New functions.
16291 (load_mems): Detect registers that just hold copies of the hoisted
16292 mem, and call try_copy_prop to eliminate them.
16293 * Makefile.in (loop.o): Update dependencies.
16295 Tue Nov 23 01:03:29 1999 Hans-Peter Nilsson <hp@axis.com>
16297 * Makefile.in (gencheck.o): Depend on gencheck.h.
16298 (insn-emit.o): Depend on flags.h, hard-reg-set.h and resource.h.
16299 (insn-peep.o): Depend on except.h and function.h.
16300 (insn-attrtab.o): Depend on RECOG_H.
16301 (insn-output.o): Depend on toplev.h and flags.h.
16302 (gengenrtl.o): Depend on real.h.
16303 (gen-protos.o): Depend on cpplib.h and cpphash.h.
16304 Unify all dependencies to be on RECOG_H rather than recog.h.
16306 Tue Nov 23 00:57:10 1999 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
16308 From Casper H.S. Dik on comp.unix.solaris, 23 Oct 1998:
16309 * configure.in: Try building a bi-arch 32/64-bit compiler on
16310 sparc-*-solaris2.7 and higher.
16311 * configure: Rebuild.
16313 Mon Nov 22 23:09:44 1999 David O'Brien <obrien@FreeBSD.org>
16315 * config/freebsd.h: New, FreeBSD architecture independent file.
16316 * config/i386/freebsd-elf.h: removed FreeBSD architecturally
16317 independent pieces.
16318 * config/i386/freebsd.h: include i386/perform.h via tm.h rather than
16319 directly by i386/freebsd.h.
16320 * configure.in (*-*-freebsdelf): Include new FreeBSD architecturally
16321 independent configuration file.
16322 (*-*-freebsdelf): Include i386/perform.h via tm.h rather than
16323 directly by i386/freebsd.h.
16324 * configure: Rebuilt.
16326 * xm-i386.h: Define `__i386__' if not defined, rather than `i386'
16327 which is in the user's namespace.
16328 * libgcc2.c: Look for the ANSI-C approved `__i386__' symbol, vs.
16329 `i386' which is not in our namespace.
16331 Mon Nov 22 22:58:01 1999 "R. Kelley Cook" <KelleyCook@attglobal.net>
16333 * invoke.texi (ARM Options): Add in -mno-alignment-traps
16335 1999-11-22 Jason Merrill <jason@casey.cygnus.com>
16337 * dwarf2out.c (die_struct): Remove die_attr_last and die_child_last.
16338 (add_dwarf_attr, add_child_die): Just push onto the front.
16339 (reverse_die_lists): New fn.
16340 (add_sibling_attributes): Use it.
16341 (push_decl_scope): Reorganize.
16342 (add_name_and_src_coords_attributes): Don't set file and line for
16343 an artificial decl.
16344 (gen_subprogram_die): An artificial function doesn't need to match
16346 (gen_compile_unit_die): Return the generated die. Only add
16347 AT_comp_dir if the filename is relative.
16348 (remove_AT): Simplify loop. Also free string values.
16349 (output_die): A DIE ref can't be null.
16350 (output_value_format, value_format): Take a dw_attr_ref.
16351 (dwarf_last_decl, is_extern_subr_die, sibling_offset): Remove.
16352 (AT_class, AT_flag, AT_int, AT_unsigned, AT_string, AT_ref, AT_loc,
16353 AT_addr, AT_lbl): New fns.
16354 (various): Use them.
16355 (various): Constify.
16357 Mon Nov 22 23:53:50 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
16359 * combine.c (combine_simplify_rtx): When handling a SUBREG,
16360 take SUBREG_WORD into account.
16361 (if_then_else_cond): Likewise.
16363 1999-11-22 Jason Merrill <jason@casey.cygnus.com>
16365 * gmon.c, i386/gmon-sol2.c, sparc/gmon-sol2.c: Remove advertising
16366 clause from BSD license, pursuant with
16368 ftp://ftp.cs.berkeley.edu/pub/4bsd/README.Impt.License.Change
16370 1999-11-22 Bernd Schmidt <bernds@cygnus.co.uk>
16372 * loop.c (load_mems): Reformat slightly.
16373 * basic-block.h (regset_head): New typedef.
16374 (INIT_REG_SET): New macro.
16376 1999-11-22 Bruce Korb <autogen@linuxbox.com
16378 * fixinc/mkfisinc.sh(i?86-*-linux): disable script, run fixincl exe
16379 (mips-dec-bsd*): non-functional code
16380 (alpha*-*-linux-gnu*): redundant, duplicated by "*-*-linux-gnu*"
16382 * fixinc/inclhack.def(AAB_fd_zero_glibc_*):
16383 added three replacement fixes
16384 (no_double_slash): removed comments that are not (any longer) pertinent
16385 (bad_lval): this fix currently runs against many files.
16386 The comment seems to indicate that we should select for files
16387 containing 'pragma extern_prefix'.
16389 * fixinc/fixinc.x86-linux-gnu: deleted
16390 * fixinc/inclhack.sh: regen
16391 * fixinc/fixincl.x: regen
16392 * fixinc/fixincl.sh: regen
16394 Fri Nov 12 14:08:40 1999 Andrew Haley <aph@cygnus.com>
16396 * emit-rtl.c (gen_sequence): Only return the pattern of an insn if
16397 its code is INSN and it has no notes.
16399 1999-11-22 Andrew Haley <aph@cygnus.com>
16401 * varasm.c (function_defined): Remove.
16402 (make_function_rtl): Don't set function_defined.
16403 (make_decl_rtl): Remove global register warning.
16404 * regclass.c (no_global_reg_vars): New variable.
16405 (globalize_reg): Warn if function has already been defined.
16406 (regclass_init): Set no_global_reg_vars.
16408 Mon Nov 22 14:42:22 MET 1999 Jan Hubicka <hubicka@freesoft.cz>
16410 * regclass.c (reg_pref): New structure and static variable
16411 (prefclass): Delete.
16412 (altclass): Delete.
16413 (all uses of prefclass and altclass): Use reg_pref instead.
16415 1999-11-21 Nick Clifton <nickc@cygnus.com>
16417 * invoke.texi (ARM Options): Replace -mshort-load-bytes with
16419 (arm.h): Replace -mshort-load-bytes with -malignment-traps.
16420 (arm.c): Replace TARGET_SHORT_BY_BYTES with TARGET_MMU_TRAPS.
16421 (arm.md): Replace TARGET_SHORT_BY_BYTES with TARGET_MMU_TRAPS.
16423 Sun Nov 21 17:11:13 1999 Geoffrey Keating <geoffk@cygnus.com>
16425 * varasm.c (output_constructor): Solve problem with long long
16426 bitfields, even on BYTES_BIG_ENDIAN machines (testcase 991118-1).
16428 Fri Nov 19 05:48:45 CET 1999 Jan Hubicka <hubicka@freesoft.cz>
16430 * global.c (allocno): New structure and static variable.
16431 (allocno_reg): Remove, all references replaced by allocno.
16432 (allocno_size): Likewise.
16433 (hard_reg_conflicts): Likewise.
16434 (hard_reg_preferences): Likewise.
16435 (hard_reg_copy_preferences): Likewise.
16436 (hard_reg_full_preferences): Likewise.
16437 (regs_someone_prefers): Likewise.
16438 (allocno_calls_crossed): Likewise.
16439 (allocno_n_refs): Likewise.
16440 (allocno_live_length): Likewise.
16441 (find_reg): Rename ALLOCNO to NUM.
16443 * regclass.c (may_move_in_cost): Rename from may_move_cost, all
16444 references updated.
16445 (may_move_out_cost): New variable.
16446 (init_reg_sets_1): Initialize may_move_out_cost.
16447 (record_reg_classes): Use may_move_out_cost.
16449 * regclass.c (dump_regclass): New function.
16450 (regclass): New parameter DUMP, call DUMP_REGCLASS.
16451 * toplev.c (rest_of_compilation): Open lreg dump file before regclass,
16452 pass rtl_dump_file to regclass.
16453 * rtl.h (regclass): Update prototype.
16455 Fri Nov 19 06:32:19 CET 1999 Jan Hubicka <hubicka@freesoft.cz>
16457 * i386.md (neg, not and abs patterns): Revmap to use
16458 ix86_expand_unary_operator and ix86_unary_operator_ok.
16459 (add?f and sub?f expanders): Force operand 1 to register.
16460 * i386.c (ix86_expand_unary_operator): Rewrite.
16461 (ix86_unary_operator_ok): Ensure that memory operands
16463 (ix86_binary_operator_ok): Do not allow operand 1 to
16464 come into memory and operand 0 not.
16465 (ix86_expand_binary_operator): Ensure that
16466 src1 is not non-matching memory.
16468 * i386.md (negs?2): Rewrite to expanders, new patterns and splitters
16469 to support integer registers and memory.
16470 (abss?2_integer): Likewise.
16472 * i386.h (enum reg_class): Add FLOAT_INT_REGS.
16473 (REG_CLASS_NAMES): Likewise.
16474 (REG_CLASS_CONTENTS): Define FLOAT_INT_REGS as union of FLOAT_REGS
16476 * i386.md (pushsf): Do not preferre FLOAT_REGS over GENERAL_REGS.
16477 (movsf): Likewise; unify 4th and 5th alternative.
16478 (pushdf): Likewise.
16479 (movdf_1): Likewise; rename to movdf_integer.
16480 (pushxf): Likewise; rename to pushxf_integer; fix output template;
16481 remove redundant splitter.
16482 (movxf_1): Likewise; rename to movxf_integer; fix splitter's condition.
16483 (movdf_nointeger): New.
16484 (movxf_nointeger): New.
16485 (pushxf_nointeger): New.
16487 * i386.md (extend?f?f): Split to expander and pattern, refuse two
16488 memory operands in patterns.
16489 (fop*): Refuse two memory operands.
16491 * i386.md (ashrsi3_31): Allow cltd when optimizing for size even
16492 on !TARGET_USE_CLTD CPUs.
16494 Fri Nov 19 10:41:15 GMT 1999 Nathan Sidwell <nathan@acm.org>
16496 * extend.texi: Document C++ restricted pointers and references.
16498 1999-11-19 Bernd Schmidt <bernds@cygnus.co.uk>
16500 * cse.c (addr_affects_sp): No longer conditional on AUTO_INC_DEC.
16501 (invalidate_skipped_set): Call it unconditionally.
16502 (cse_set_around_loop): Likewise.
16504 Thu Nov 18 17:29:34 MST 1999 Diego Novillo <dnovillo@cygnus.com>
16506 * rtl.texi (mem): Add documentation for alias-set argument
16509 Fri Nov 18 13:39:22 CET 1999 Jan Hubicka <hubicka@freesoft.cz>
16511 * i386.h (struct_processor_costs): New fields int_load, int_store,
16512 fp_move, fp_load and fp_store
16513 (REGISTER_MOVE_COST): Fix comment, calculate exactly the cost of
16515 (MEMORY_MOVE_COST): New macro.
16516 * i386.c (386_cost): Define new fields.
16517 (i486_cost): Likewise.
16518 (pentium_cost): Likewise.
16519 (pentiumpro_cost): Likewise.
16520 (k6_cost): Likewise.
16522 Fri Nov 19 11:11:55 1999 Greg McGary <gkm@gnu.org>
16523 Geoffrey Keating <geoffk@cygnus.com>
16525 * config/m68k/m68kelf.h: Suppress '/* within comment' warning.
16527 * config/m68k/m68k.h (MASK_PCREL): Don't use same value as
16530 * config/m68k/m68k.h (MASK_NO_STRICT_ALIGNMENT): New macro.
16531 (TARGET_STRICT_ALIGNMENT): New macro.
16532 (TARGET_SWITCHES): Add "strict-align" and "no-strict-align".
16533 (STRICT_ALIGNMENT): Depend on TARGET_STRICT_ALIGNMENT.
16534 * invoke.texi (M680x0 Options): Document -mstrict-align.
16536 Thu Nov 18 11:10:03 1999 Jan Hubicka <hubicka@freesoft.cz>
16537 Richard Henderson <rth@cygnus.com>
16539 * i386-protos.h (split_xf, ix86_split_movdi): Remove.
16540 (ix86_split_long_move): Declare.
16541 * i386.c (split_xf, ix86_split_movdi): Remove.
16542 (ix86_split_to_parts, ix86_split_long_move): New.
16543 * i386.md (dimode move splitters): Use ix86_split_long_move.
16544 (dfmode move splitters): Likewise.
16545 (xfmode move splitters): Likewise.
16546 (movsf_1): Allow F->r.
16547 (movdf_1, movxf_1): Allow F->ro.
16549 1999-11-17 Mark Mitchell <mark@codesourcery.com>
16551 * except.h (struct eh_entry): Add goto_entry_p.
16552 (eh_region_from_symbol): Remove prototype.
16553 * except.c (find_func_region_from_symbol): New function.
16554 (emit_cleanup_handler): Likewise.
16555 (eh_region_from_symbol): Make it static.
16556 (add_new_handler): Verify the argument.
16557 (find_func_region): Update comment.
16558 (expand_eh_region_end): Expand handlers here, rater than waiting
16559 until expand_leftover_cleanups or start_all_catch.
16560 (expand_leftover_cleanups): Don't expand here.
16561 (expand_start_all_catch): Or here.
16562 (expand_rethrow): Check the return value from find_func_region.
16563 * function.c (expand_function_end): Emit the catch_clauses.
16565 1999-11-18 Gavin Romig-Koch <gavin@cygnus.com>
16567 * integrate.c (expand_inline_function): Add necessary check for NULL.
16569 1999-11-18 Nick Clifton <nickc@cygnus.com>
16571 * toplev.c (main): Correctly detect an unrecognised option.
16573 * cppinit.c (cpp_handle_option): Do not claim to have consumed
16574 a -f option if it has not been recognised.
16576 Thu Nov 18 00:59:11 1999 Michael Gschwind <mikeg@alagoas.watson.ibm.com>
16578 * basic-block.h (update_life_extent): Remove trailing comma on
16579 enumeration type list.
16581 1999-11-18 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
16583 * varasm.c (output_constructor) Solved problem with long long
16584 bitfields. Corrected calculating this_time and shift. Also
16585 corrected calculating mask when BITS_PER_UNIT == 32 (c4x).
16587 Wed Nov 17 23:46:14 1999 Jeffrey A Law (law@cygnus.com)
16589 * flow.c (split_edge): Take looping structure into account when
16590 determining where to put the new block note.
16592 Wed Nov 17 20:42:43 1999 Jeff Holcomb <jeffh@cygnus.com>
16594 * Makefile.in (ggc-none.o): Provide host specific version if
16597 Wed Nov 17 16:51:23 1999 Richard Henderson <rth@cygnus.com>
16599 * cse.c (delete_trivially_dead_insns): Identify no-op insns
16600 containing subregs too.
16602 Wed Nov 17 17:39:48 MST 1999 Diego Novillo <dnovillo@cygnus.com>
16604 * invoke.texi: Add documentation for -muninit-const-in-rodata.
16605 * config/mips/mips.h (MASK_UNINIT_CONST_IN_RODATA): Define.
16606 (TARGET_UNINIT_CONST_IN_RODATA): Define.
16607 (text_section): Add switches -munint-const-in-rodata and
16608 -mno-uninit-const-in-rodata.
16609 (ASM_OUTPUT_COMMON): Remove.
16610 (ASM_OUTPUT_ALIGNED_DECL_COMMON): Define. Check if uninitialized
16611 const objects should be placed in read-only data. Otherwise declare
16614 Wed Nov 17 16:38:32 1999 Richard Henderson <rth@cygnus.com>
16616 * jump.c (jump_optimize_1): Revert last change.
16618 Wed Nov 17 15:18:30 1999 Richard Henderson <rth@cygnus.com>
16620 * jump.c (jump_optimize_1): Don't try to duplicate the loop exit
16621 test if optimizing for size.
16623 1999-11-17 Mark Mitchell <mark@codesourcery.com>
16625 * Makefile.in (toplev.o): Depend on except.h.
16626 (dwarf2out.o,loop.o,flow.o,haifa-sched.o): Likewise.
16628 Mon Nov 15 22:45:39 CET 1999 Jan Hubicka <hubicka@freesoft.cz>
16630 * i386.md (divmodsi4): Rewrite to expander.
16631 (*divmodsi4_nocltd): New.
16632 (*divmodsi4_cltd): New.
16633 (divmodsi4 splitter): Handle the case when input comes in edx.
16634 (udivmodhi4): Do not use constraints in exander.
16635 (ashrsi3_31): Conditionize by TARGET_USE_CLTD.
16637 1999-11-17 Jason Merrill <jason@yorick.cygnus.com>
16639 * dwarf2out.c (push_decl_scope): Still use decl_scope_depth - 1
16640 for the common case.
16642 1999-11-16 Jakub Jelinek <jakub@redhat.com>
16644 * explow.c (hard_function_value): Add outgoing argument.
16645 * expr.h (hard_function_value): Declare it.
16646 * calls.c (expand_call, emit_library_call_value): Update callers.
16647 * function.c (aggregate_value_p): Ditto.
16648 (diddle_return_value): Must look at the outgoing registers
16649 on archs with register windows.
16651 Mon Nov 15 20:46:45 1999 Richard Henderson <rth@cygnus.com>
16653 * alpha.c (alpha_build_va_list): Use make_lang_type and
16654 initialize TYPE_NAME for the va_list record.
16656 * flow.c (calculate_global_regs_live): Zero bb->aux to begin.
16658 * ggc-common.c (ggc_print_statistics): Cast size_t to unsigned long
16660 * ggc.h (struct ggc_statistics): Rearrange elements for better
16661 packing on 64-bit hosts.
16662 * lcm.c (compute_laterin): Store a size_t not an int in bb->aux.
16663 (compute_nearerout): Likewise.
16665 Tue Nov 16 14:37:52 1999 Geoffrey Keating <geoffk@cygnus.com>
16667 * config/rs6000/rs6000.c (first_reg_to_save): Save
16668 PIC_OFFSET_TABLE_REGNUM when -fpic even though it is fixed.
16670 1999-11-15 Jason Merrill <jason@casey.cygnus.com>
16672 * dwarf2out.c (scope_die_for): Don't rely on the decl_scope_table
16673 notion of nesting to find the DIE for a type or function.
16674 DIEs can go in limbo even if we got a context_die.
16675 (push_decl_scope): Our context doesn't need to be in decl_scope_table.
16676 (gen_struct_or_union_type_die): Don't use TREE_PERMANENT to test
16678 (gen_decl_die): Ignore NAMESPACE_DECLs for now.
16679 (gen_type_die): Writing out the context doesn't cause member class
16680 template instantiations to be written out as well.
16682 Mon Nov 15 15:33:18 1999 Richard Henderson <rth@cygnus.com>
16684 * rs6000.h (ASM_OUTPUT_DEF): New.
16685 Based on proposed addition from David Edelsohn.
16687 1999-11-15 Robert Lipe <RobertLipe@usa.net>
16688 Bruce Korb <autogen@linuxbox.com>
16690 * fixinc/inclhack.def
16691 (AAB_svr4_replace_byteorder): added. Takes advantage of GCC features
16692 (unixware7_byteorder_fix): added. Removes conflicts for new defs
16694 (svr5_mach_defines): added. Like svr4_mach_defines, with new syntax
16695 (svr4_endian): enabled with SVR5
16696 (svr4_mkdev): simplified syntax and enabled with SVR5
16698 Sun Nov 14 18:49:37 1999 David O'Brien <obrien@FreeBSD.org>
16700 * configure.in: Handle libgcc2 threads support on FreeBSD platforms.
16701 * configure: Rebuilt.
16702 * config/t-freebsd-thread: New file.
16704 Sun Nov 14 23:11:05 1999 Jeffrey A Law (law@cygnus.com)
16706 * i386.c (ix86_decompose_address): Verify the base is a REG
16707 before trying to examine its register number.
16709 * basic-block.h: Remove all #defines and prototypes related to
16711 (free_bb_mem, compute_preds_succs): Remove prototype.
16712 * rtl.h (free_bb_mem): Remove prototype.
16713 * flow.c (alloc_int_list_node); Remove function.
16714 (add_inst_list_node, free_int_list, add_pred_succ): Likewise.
16715 (compute_preds_succs, free_bb_mem): Likewise.
16716 * gcse.c (gcse_main): Do not call free_bb_mem anymore.
16717 * toplev.c (rest_of_compilation): Likewise.
16718 * haifa-sched.c (build_control_flow): Use flow generated edge
16719 list to build the haifa specific edge list.
16720 (find_rgns): Use new CFG data structures instead of pred/succ lists.
16721 (schedule_insns): Do not build pred/succ lists anymore. Instead
16722 build the edge table.
16724 * basic-block.h (dump_bb_data): Remove declaration.
16725 * flow.c (dump_bb_data): Remove function.
16726 * sbitmap.c (sbitmap_intersect_of_predsucc): Delete function.
16727 (sbitmap_union_of_predsucc): Likewise.
16729 * gcse.c (delete_null_pointer_checks_1): Kill unused s_preds
16730 argument. All callers changed.
16731 (delete_null_pointer_checks_1): No longer need to compute the
16734 * gcse.c (pre_expr_reaches_here_p): Kill CHECK_PRE_COM argument.
16735 All callers changed.
16736 (pre_expr_reaches_here_p_work): Likewise.
16737 (pre_edge_insert): No longer call pre_expr_reaches_here_p.
16738 * lcm.c (compute_laterin): Fix initialization of LATER.
16739 (compute_nearerout): Similarly for NEARER.
16741 Sun Nov 14 12:41:57 1999 Bernd Schmidt <bernds@cygnus.co.uk>
16743 * cse.c (set_nonvarying_address_components): Delete unused function.
16744 (refers_to_p): Likewise.
16746 Fri Nov 12 20:53:22 1999 Jeffrey A Law (law@cygnus.com)
16748 * function.c (diddle_return_value): Set REG_FUNCTION_VALUE_P as
16751 Sat Nov 13 16:20:09 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
16753 * defaults.h (ASM_OUTPUT_ALTERNATE_LABEL_NAME): Wrap macro
16754 definition in do while (0).
16756 Fri Nov 12 16:26:25 1999 Jim Wilson <wilson@cygnus.com>
16758 * stmt.c (pushcase, pushcase_range): Partially revert Oct 28 change.
16760 Fri Nov 12 12:43:49 1999 Richard Henderson <rth@cygnus.com>
16762 * unroll.c (unroll_loop): Make temp an unsigned HOST_WIDE_INT.
16764 Fri Nov 12 15:14:19 1999 Vladimir Makarov <vmakarov@tofu.to.cygnus.com>
16766 * i960.h (CAN_DEBUG_WITHOUT_FP): Don't define it.
16767 (FRAME_POINTER_REQUIRED): Don't worry about nonlocal goto.
16768 (ELIMINABLE_REGS, CAN_ELIMINATE, INITIAL_ELIMINATION_OFFSET): New.
16769 (INITIAL_FRAME_POINTER_OFFSET): Remove it.
16771 * i960.c (i960_function_prologue): Don't allocate space for g8-g11
16772 saved on the stack. Output more accurate stack frame statistics
16773 into assembler file.
16775 1999-11-12 11:47 -0800 Zack Weinberg <zack@bitmover.com>
16777 * genextract.c (record_insn_name): New function.
16778 (get_insn_name): No longer a stub.
16779 (main): Call record_insn_name for each insn. After each label
16780 written, print the insn name in a comment.
16782 Fri Nov 12 13:45:02 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
16784 * output.h (const_section, init_section, fini_section): Add
16787 * alpha/elf.h (const_section): Delete declaration.
16789 * svr4.h (const_section): Likewise.
16791 Fri Nov 12 08:54:22 1999 Mark Mitchell <mark@codesourcery.com>
16793 * tree.h (SAVE_EXPR_PERSISTENT_P): New macro.
16794 * tree.c (array_type_nelts): Don't handle SAVE_EXPRs specially.
16795 (unsave_expr_now): Don't unsave SAVE_EXPR_PERSISTENT_P
16797 * stor-layout.c (variable_size): Set SAVE_EXPR_PERSISTENT_P on
16798 variable-sized array bounds.
16800 Fri Nov 12 08:04:45 1999 Catherine Moore <clm@cygnus.com>
16802 * defaults.h (ASM_OUTPUT_ALTERNATE_LABEL_NAME): Use
16805 Fri Nov 12 13:31:54 1999 Bernd Schmidt <bernds@cygnus.co.uk>
16807 * config/arm/arm.h (LEGITIMIZE_RELOAD_ADDRESS): Treat QImode
16808 addresses the same way GO_IF_LEGITIMATE_INDEX does.
16810 Fri Nov 12 12:36:04 1999 Bernd Schmidt <bernds@cygnus.co.uk>
16812 * cse.c (hash_arg_in_struct): Delete.
16813 (struct table_elt): Delete elt in_struct.
16814 (struct set): Delete elt src_in_struct.
16815 (merge_equiv_classes): Don't set either hash_arg_in_struct or
16816 the corresponding in_struct elts.
16817 (canon_hash): Likewise.
16818 (safe_hash): Likewise.
16819 (find_best_addr): Likewise.
16820 (record_jump_cond): Likewise.
16821 (cse_insn): Likewise.
16823 Thu Nov 11 19:45:24 1999 Jim Wilson <wilson@cygnus.com>
16825 * loop.c (invariant_p, case MEM): Put MEM_VOLATILE_P check back.
16827 * dbxout.c (dbxout_type, case INTEGER_TYPE): Handle too large
16830 Thu Nov 11 18:54:24 1999 Jeffrey A Law (law@cygnus.com)
16832 * function.c (diddle_return_value): Put back check that the DECL_RTL
16833 for the function is a register.
16835 * function.c (diddle_return_value): Use hard_function_value to
16836 get an rtx suitable for use in the USE/CLOBBER insn.
16838 * global.c (global_conflicts): Update comments.
16839 (record_conflicts): No need to record conflicts between pseudos here.
16841 1999-11-11 Bruce Korb <autogen@linuxbox.com>
16843 * fixinc/fixincl.c: Added verbose levels for status messages
16845 Thu Nov 11 13:23:04 1999 Bernd Schmidt <bernds@cygnus.co.uk>
16847 * jump.c (jump_optimize_1): Avoid passing an rtx that is not an
16848 operand as argument to expand_and or expand_binop.
16850 Thu Nov 11 02:21:16 1999 Rodney Brown <RodneyBrown@pmsc.com>
16852 * xcoffout.c (xcoffout_source_file): Change ggc_add_root to
16853 gcc_add_string_root.
16855 Wed Nov 10 21:24:19 1999 Jason Eckhardt <jle@cygnus.com>
16857 * config/pa/pa.h (MASK_RETURN_ADDR): Change 0xfffffffc to -4.
16859 Wed Nov 10 15:56:16 1999 Jeffrey A Law (law@cygnus.com)
16861 * flow.c (compute_flow_dominators): Initially put all blocks on
16863 * lcm.c (compute_antinout_edge, compute_available): Similarly.
16864 * gcse.c (compute_cprop_avinout): Remove.
16865 (compute_cprop_data): Use compute_available.
16866 (delete_null_pointer_checks_1): Use compute_available.
16868 * basic-block.h (compute_available): Returns a void now.
16869 * gcse.c (one_classic_gcse_pass): Do not expect compute_available
16870 to return a value anymore.
16871 * lcm.c (compute_available, compute_antinout_edge): Revamp to use
16872 worklists. Fix boundary cases. Compute maximal solutions.
16873 (compute_laterin, compute_nearerout): Similarly.
16875 * dwarf2out.c (add_AT_location_description): Allow
16876 (mem (plus (pseudo) (...)) too.
16878 Wed Nov 10 10:52:42 1999 Tom Tromey <tromey@cygnus.com>
16880 * gcc.c (do_spec_1): Support text between `%u' and `%O'.
16882 Wed Nov 10 12:43:21 1999 Philippe De Muyter <phdm@macqel.be>
16883 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
16885 * cppinit.c: Test `GCC_VERSION', not `HAVE_GCC_VERSION'.
16887 * gansidecl.h: Likewise.
16893 * toplev.h: Likewise.
16895 * tree.c: Likewise.
16897 * tree.h: Likewise.
16899 * varray.c: Likewise.
16901 * varray.h: Likewise.
16903 Wed Nov 10 10:57:22 1999 Clinton Popetz <cpopetz@cygnus.com>
16905 * gcov.c (struct arcdata): Add hits and total, remove prob.
16906 (output_branch_counts): New.
16907 (process_args): Set output_branch_counts if -c.
16908 (calculate_branch_probs): Store hits and total instead of
16910 (output_data): Emit counts if output_branch_counts is true.
16911 * gcov.texi (Invoking Gcov): Document -c switch..
16913 Wed Nov 10 01:10:41 1999 Philippe De Muyter <phdm@macqel.be>
16915 * genoutput.c (output_insn_data): Cast `INSN_OUTPUT_FORMAT_MULTI' and
16916 `INSN_OUTPUT_FORMAT_FUNCTION' to `PTR'-type.
16918 Wed Nov 10 00:51:41 1999 Hans-Peter Nilsson <hp@axis.se>
16920 * invoke.texi (C Dialect Options): Add missing builtins from
16921 c-common.c to list.
16922 * extend.texi (Other Builtins): Copy to this list.
16924 Wed Nov 10 04:58:09 1999 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
16926 * Makefile.in (recog.o): Use BASIC_BLOCK_H macro.
16927 (print-rtl.o, $(HOST_PREFIX_1)print-rtl.o): Likewise. Remove
16928 redundant bitmap.h.
16930 Wed Nov 10 00:02:53 1999 Jeffrey A Law (law@cygnus.com)
16932 * flow.c (compute_flow_dominators): No longer treat basic block 0
16933 or (n_basic_blocks - 1) specially. Clear the AUX field before
16934 starting computation of doms/pdoms. Fix initial state for pdoms.
16936 Wed Nov 10 03:58:08 1999 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
16938 * Makefile.in ($(HOST_PREFIX_1)rtl.o): Update dependencies to
16939 match rtl.o's: added ggc.h and toplev.h
16940 ($(HOST_PREFIX_1)print-rtl.o): Likewise: added system.h.
16941 ($(HOST_PREFIX_1)rtlanal.o): Likewise: added system.h.
16942 ($(HOST_PREFIX_1)obstack.o): Likewise: added $(CONFIG_H).
16944 Tue Nov 9 10:30:08 1999 Tom Tromey <tromey@cygnus.com>
16946 * config/i386/xm-djgpp.h (HAVE_DOS_BASED_FILE_SYSTEM): Renamed
16947 from HAVE_DOS_BASED_FILESYSTEM.
16948 * gcc.c (find_a_file): Use HAVE_DOS_BASED_FILE_SYSTEM, not
16949 HAVE_DOS_BASED_FILESYSTEM.
16951 (split_directories): Only special-case DOS file names if
16952 HAVE_DOS_BASED_FILE_SYSTEM is defined. Use IS_DIR_SEPARATOR
16953 instead of explicit tests. Conditionalize on !VMS.
16954 (make_relative_prefix): Use IS_DIR_SEPARATOR instead of explicit
16955 tests. Conditionalize on !VMS.
16956 (process_command): Only use make_relative_prefix if !VMS.
16957 (free_split_directories): Conditionalize on !VMS.
16958 (DIR_UP): Conditionalize on !VMS.
16960 Wed Jun 9 16:57:11 1999 Mumit Khan <khan@xraylith.wisc.edu>
16962 * gcc.c (STANDARD_BINDIR_PREFIX): Provide default.
16964 Fri Feb 5 14:22:01 1999 Mumit Khan <khan@xraylith.wisc.edu>
16966 * gcc.c (make_relative_prefix): Handle the HAVE_EXECUTABLE_SUFFIX
16969 Mon Nov 8 14:16:57 1999 Michael Meissner <meissner@cygnus.com>
16971 * invoke.texi (Environment Variables): Document relative path
16973 * gcc.c (DIR_UP): If not defined, define as "..".
16974 (standard_bindir_prefix): New static, holds target location to
16976 (split_directories): New function to split a filename into
16977 component directories.
16978 (free_split_directories): New function, release memory allocated
16979 by split_directories.
16980 (make_relative_prefix): New function, make a relative pathname if
16981 the compiler is not in the expected location.
16982 (process_command): If GCC_EXEC_PREFIX was not specified, see if we
16983 can figure out an appropriate prefix from argv[0].
16984 * Makefile.in (DRIVER_DEFINES): Use unlibsubdir in definition of
16985 STANDARD_STARTFILE_PREFIX and TOOLDIR_BASE_PREFIX. Define
16986 STANDARD_BINDIR_PREFIX.
16988 Wed Nov 10 11:47:54 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
16990 * config/c4x/c4x-protos.h: New file. Prototypes for functions defined
16992 * config/c4x/c4x.h: Moved prototypes to c4x.h.
16993 * config/c4x/c4x.c (c4x_preferred_reload_class, c4x_limit_reload_class,
16994 c4x_secondary_memory_needed) Delete.
16995 (fp_zero_operand): Add mode argument.
16997 Thu Nov 4 15:52:35 1999 Andrew Haley <aph@cygnus.com>
16999 * reload1.c (reload_reg_free_for_value_p): Don't use a register
17000 that is in reload_reg_used.
17002 Tue Nov 9 16:43:00 1999 Nick Clifton <nickc@cygnus.com>
17004 * config/arm/arm-protos.h: New file: Prototypes for functions
17005 defined in arm.c and pe.c.
17006 * config/arm/arm.h: Fix compile time warnings.
17007 * config/arm/arm.c: Fix compile time warnings.
17008 * config/arm/pe.h: Fix compile time warnings.
17009 * config/arm/aout.h: Fix compile time warnings.
17011 Tue Nov 9 14:55:44 1999 Nick Clifton <nickc@cygnus.com>
17013 * config/m32r/m32r-protos.h: New file: Prototypes for functions
17016 * config/m32r/m32r.h: Move prototypes to m32r-protos.h
17017 Add support for subtargets.
17018 Add prototypes for new predicates.
17019 Add scheduling macros.
17021 * config/m32r/m32r.c: Fix compile time warnings.
17022 (int8_operand): New predicate function.
17023 (reg_or_cmp_int16_operand): New predicate function.
17024 (extend_operand): New predicate function.
17025 (m32r_adjust_code): New scheduling function.
17026 (m32r_adjust_priorty): New scheduling function.
17027 (m32r_sched_init): New scheduling function.
17028 (m32r_sched_reorder): New scheduling function.
17029 (m32r_sched_variable_issue): New scheduling function.
17030 (direct_return): New codegen function.
17031 (m32r_not_same_reg): New rtl testsing function.
17033 * config/m32r/m32r.md: Fix compile time warnings.
17034 Add support for pre decrement and post increment memory
17036 Add S<cc> patterns.
17039 Mon Nov 8 22:20:13 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
17041 * global.c (EXECUTE_IF_CONFLICT): Don't define.
17042 (prune_preferences): Use EXECUTE_IF_SET_IN_ALLOCNO_SET instead.
17043 (find_reg): Likewise.
17045 Mon Nov 8 13:16:46 1999 Jason Eckhardt <jle@cygnus.com>
17047 * config/pa/pa.md (fmpynfadd,{sgl,dbl} insns): Use %fr0 rather than 0
17048 to avoid assembler errors.
17050 Mon Nov 8 15:38:41 1999 Nick Clifton <nickc@cygnus.com>
17052 * config/v850/v850-protos.h: New file: Prototypes for functions
17054 * config/v850/v850.h: Move prototypes to v850-protos.h
17055 * config/v850/v850.c: Move prototypes to v850-protos.h
17056 * config/v850/v850.md: Fix compile time warnings.
17058 * config/fr30/fr30-protos.h: New file: Prototypes for functions
17060 * config/fr30/fr30.h: Move prototypes to fr30-protos.h
17061 * config/fr30/fr30.c: Fix compile time warnings.
17062 * config/fr30/fr30.md: Fix compile time warnings.
17064 Mon Nov 8 07:25:37 1999 Mark Mitchell <mark@codesourcery.com>
17066 * tree.h (get_containing_scope): Declare it.
17067 * tree.c (get_containing_scope): New fucntion.
17068 (decl_function_context): Use it.
17069 * toplev.c (rest_of_compilation): Use get_containing_scope.
17071 aMon Nov 8 03:03:07 1999 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
17073 * Makefile.in (rtl.o): Depend on toplev.h.
17075 Sun Nov 7 20:55:14 1999 Mark Mitchell <mark@codesourcery.com>
17077 * cse.c (delete_trivially_dead_insns): Replace alloca with
17079 * except.c (update_rethrow_references): Likewise.
17080 (init_eh_nesting_info): Likewise.
17081 * function.c (identify_blocks): Likewise.
17082 * gcse.c (dump_hash_table): Likewise.
17083 * graph.c (print_rtl_graph_with_bb): Likewise.
17084 * loop.c (combine_movables): Likewise.
17085 (move_movables): Likewise.
17086 (count_loop_regs_set): Likewise.
17087 (strength_reduce): Likewise.
17088 * profile.c (compute_branch_probabilities): New function, split
17090 (branch_prob): Here. Replace alloca with xmalloc/xcalloc.
17091 * regclass.c (regclass): Likewise.
17092 * regmove.c (regmove_optimize): Likewise.
17093 * toplev.c (compile_file): Likewise.
17094 (main): Don't mess with the stack rlimit.
17096 Sun Nov 7 19:41:17 1999 Catherine Moore <clm@cygnus.com>
17098 * config/elfos.h (ASM_DECLARE_FUNCTION_NAME): Conditionally define.
17099 (ASM_DECLARE_FUNCTION_SIZE): Conditionally define.
17101 Sun Nov 7 10:23:28 1999 Mark P. Mitchell <mark@codesourcery.com>
17103 * integrate.c (save_for_inline_nocopy): Clear in_nonparm_insns.
17105 Sun Nov 7 02:58:48 1999 Jeffrey A Law (law@cygnus.com)
17107 * global.c (EXECUTE_IF_CONFLICT): Undo Robert's change.
17108 (EXECUTE_IF_SET_IN_ALLOCNO_SET): Put curleys around CODE in
17111 Sat Nov 6 23:48:30 1999 Robert Lipe (robertlipe@usa.net)
17113 * global.c (EXECUTE_IF_CONFLICT): Correct quoting typo.
17115 Sat Nov 6 17:34:39 1999 Jeffrey A Law (law@cygnus.com)
17117 * gcse.c (post_dominators): Kill.
17118 (alloc_code_hoist_mem, free_code_hoist_mem); Kill post_dominators.
17119 (compute_code_hoist_data): Use compute_flow_dominators. Do not
17120 pass in a pdom array since we do not need pdoms.
17121 * haifa-sched.c (schedule_insns): Similarly.
17122 * flow.c (compute_dominators): Remove dead function.
17123 (compute_flow_dominators): Do not compute doms or pdoms if the
17124 caller does not request them. Split up loop to build doms and
17125 pdoms. Use a worklist to compute doms and pdoms.
17126 * basic-block.h (compute_dominators): Remove prototype.
17128 Sat Nov 6 11:38:39 1999 Richard Henderson <rth@cygnus.com>
17130 * haifa-sched.c (struct haifa_insn_data, h_i_d): New.
17131 (insn_luid, insn_priority, insn_costs, insn_units): Remove.
17132 (insn_reg_weight, insn_depend, insn_dep_count): Remove.
17133 (insn_blockage, insn_ref_count, line_note, insn_tick): Remove.
17134 (cant_move, fed_by_spec_load, is_load_insn): Remove.
17135 (schedule_region): Remove unused variable.
17136 (schedule_insns): Allocate h_i_d, and not all the separate arrays.
17138 Sat Nov 6 10:00:34 1999 Mark Mitchell <mark@codesourcery.com>
17140 * local-alloc.c (local_alloc): Use xmalloc/xcalloc, not alloca.
17141 (update_equiv_regs): Likewise.
17142 (block_alloc): Likewise.
17143 * reg-stack.c (reg_to_stack): Likewise.
17144 (convert_regs_2): Likewise.
17145 * reload1.c (reload_as_needed): Likewise.
17147 Sat Nov 6 09:57:59 1999 Mark Mitchell <mark@codesourcery.com>
17149 * Makefile.in (dbxout.o): Depend on ggc.h.
17150 (dwarf2out.o): Likewise.
17151 (xcoffout.o): Likewise.
17152 * dbxout.c: Include ggc.h.
17153 (dbxout_init): Register lastfile as a root.
17154 * dwarf2out.c: Include ggc.h.
17155 (dwarf2out_line): Register lastfile as a root.
17156 * xcoffout.c: Include ggc.h.
17157 (xcoffout_source_line): Register xcoff_lastfile as a root.
17159 Sat Nov 6 09:52:09 1999 Richard Henderson <rth@cygnus.com>
17161 * i386.md (movdf_1, movxf_1): Earlyclobber general regs destination.
17163 Sat Nov 6 07:48:59 1999 Catherine Moore <clm@cygnus.com>
17165 * config/svr4.h (ASM_DECLARE_FUNCTION): Check if already
17167 (ASM_DECLARE_FUNCTION_SIZE): Likewise.
17169 Fri Nov 5 18:33:39 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
17171 * global.c (EXECUTE_IF_SET_IN_ALLOCNO_SET): New macro.
17172 (EXECUTE_IF_CONFLICT): Likewise.
17173 (ALLOCNO_LIVE_P): Avoid signed division.
17174 (SET_ALLOCNO_LIVE, CLEAR_ALLOCNO_LIVE): Likewise.
17175 (prune_preferences, find_reg): Use EXECUTE_IF_CONFLICT.
17176 (record_one_conflict): Use EXECUTE_IF_SET_IN_ALLOCNO_SET.
17178 Fri Nov 5 12:04:02 1999 Richard Henderson <rth@cygnus.com>
17180 * haifa-sched.c (schedule_block): Don't crash if there's no
17181 next insn for an interblock movement.
17182 (add_branch_dependences): Don't allow clobber insns to move either.
17184 Fri Nov 5 10:18:11 1999 Richard Henderson <rth@cygnus.com>
17186 * i386.c (split_xf): New.
17187 * i386-protos.h: Declare it.
17188 * i386.md (movxf_1): Add general regs alternatives.
17189 (movxf_1+1): New splitter for same.
17191 Fri Nov 5 12:05:52 1999 Nick Clifton <nickc@cygnus.com>
17193 * function.c (purge_addressof_1): Add missing return values.
17195 Fri Nov 5 10:07:25 1999 Nick Clifton <nickc@cygnus.com>
17197 * function.c (is_addressof): New function. Returns true if
17198 the given piece of RTL is an ADDRESSOF.
17199 (purge_addressof_1): Make boolean. Return false if the
17200 ADDRESSOFs could not be purged.
17201 (purge_addressof): If ADDRESSOFs could not be purged from the
17202 notes attached to an insn, remove the offending note(s),
17203 unless they are attached to a libcall.
17205 1999-11-05 Andreas Jaeger <aj@suse.de>
17207 * genoutput.c (null_operand =): Initialize all fields.
17209 * errors.h: Add extern to prototypes.
17211 Fri Nov 5 01:44:09 1999 Jeffrey A Law (law@cygnus.com)
17213 * configure.in (m68k-next-nextstep4): Handle Openstep 4.2.
17214 * configure: Rebuilt.
17216 Fri Nov 5 01:24:37 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
17218 * global.c (CONFLICTP, SET_CONFLICT): Avoid signed division.
17219 (mirror_conflicts): New function.
17220 (global_alloc): Call it.
17221 (expand_preferences): Remove redundant CONFLICTP test.
17222 (find_reg, dump_conflicts): Likewise.
17223 (prune_preferences): Process conflicts one word at a time.
17225 Fri Nov 5 01:05:21 1999 Richard Henderson <rth@cygnus.com>
17227 * global.c (build_insn_chain): Use EXECUTE_IF_SET_IN_BITMAP
17228 instead of an explicit loop.
17230 Thu Nov 4 23:07:14 1999 Jim Wilson <wilson@cygnus.com>
17232 * cse.c (cse_insn): Revert Oct 31 change. When computing src_elt,
17233 if REG_RETVAL check succeeds, then put classp in src_elt.
17235 Thu Nov 4 23:48:14 1999 Jeffrey A Law (law@cygnus.com)
17237 * function.c (pad_to_arg_alignment): Only update argument_pad
17238 if the argument's alignment is greater than STACK_BOUNDARY.
17240 Thu Nov 4 16:44:53 1999 Richard Henderson <rth@cygnus.com>
17242 * bitmap.h (BITMAP_XFREE): New.
17243 * flow.c (life_analysis): Use it.
17244 (life_analysis_1): Free blocks.
17246 * combine.c (undo_commit): New.
17247 (try_combine): Use it. Don't zap undobuf.undos.
17248 (combine_instructions): Don't zap undobuf.undos; free the
17249 undobuf.frees list.
17251 * local-alloc.c (local_alloc): Free qty_phys_num_sugg.
17253 * stmt.c (cost_table_): New.
17254 (estimate_case_costs): Use it instead of xmalloc.
17256 * toplev.c (compile_file): Reuse dumpname memory instead
17259 Thu Nov 4 16:36:44 1999 Richard Henderson <rth@cygnus.com>
17261 * reg-stack.c (convert_regs_1): Initialize target_stack->top
17262 after verifying an EH edge.
17264 * haifa-sched.c (init_rgn_data_dependences): Correctly
17265 size bb_pending_lists_length when zeroing.
17267 Thu Nov 4 16:36:36 1999 Richard Henderson <rth@cygnus.com>
17269 * function.c (diddle_return_value): New.
17270 (expand_function_end): Use it.
17271 * stmt.c (expand_null_return): Likewise.
17272 (expand_value_return): Likewise.
17274 * reg-stack.c (subst_stack_regs_pat): Handle clobbers at top-level.
17276 * reload1.c (reload): Don't remove return value clobbers.
17278 Thu Nov 4 13:33:46 1999 Richard Henderson <rth@cygnus.com>
17280 * rtl.c (read_rtx): Use fatal_with_file_and_line not fatal.
17282 Thu Nov 4 12:49:52 1999 Richard Henderson <rth@cygnus.com>
17284 * cse.c (cse_main): Use xmalloc, not alloca.
17285 (cse_basic_block): Likewise.
17286 * local-alloc.c (local_alloc): Likewise.
17288 Thu Nov 4 14:22:12 1999 David Billinghurst <David.Billinghurst@riotinto.com.au>
17289 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
17291 * rtl.c: Include toplev.h.
17292 (fatal): Remove declaration.
17294 Thu Nov 4 06:39:47 1999 Jeffrey A Law (law@cygnus.com)
17296 * haifa-sched.c (schedule_block): Fix thinko.
17298 1999-11-03 James McKelvey <mckelvey@fafnir.com>
17300 * fixinc/fixincl.c(create_file): Allow for systems that do not have
17301 S_IR* defined values
17303 1999-11-03 Philippe De Muyter <phdm@macqel.be>
17305 * fixlib.c (load_file_data): Do not call `realloc' with a NULL pointer;
17306 call `malloc' instead.
17308 Wed Nov 3 23:05:14 1999 Mark Mitchell <mark@codesourcery.com>
17310 * flags.h (flag_renumber_insns): Declare.
17311 * emit-rtl.c (renumber_insns): Check flag_renumber_insns. Print
17313 * rtl.h (renumber_insns): Change prototype.
17314 * toplev.c (flag_renumber_insns): Define.
17315 (rest_of_compilation): Pass rtl_dump_file to flag_renumber_insns.
17317 Wed Nov 3 15:11:27 1999 David S. Miller <davem@redhat.com>
17319 * config/sparc/sparc.md: Remove insn type fpsqrt, add fpsqrts
17320 and fpsqrtd. Use them and create fdiv function unit to more
17321 accurately represent fpu sqrt pipeline semantics on UltraSparc.
17322 * config/sparc/sparc.c: Account for fpsqrt{s,d} changes.
17324 Wed Nov 3 15:11:27 1999 Matteo Frigo <athena@fftw.org>
17326 * config/sparc/sparc.md: Adjust FADD/FMUL result latencies to
17328 * config/sparc/sparc.c (ultra_schedule_insn): Insert launched
17329 insn into ready list, do not use just a raw swap.
17331 Wed Nov 3 14:51:59 1999 Mark P. Mitchell <mark@codesourcery.com>
17333 * rtl.h (renumber_insns): New function.
17334 (remove_unnecessary_notes): Likewise.
17335 * emit-rtl.c (renumber_insns): Define.
17336 (remove_unncessary_notes): Likewise.
17337 * toplev.c (rest_of_compilation): Remove dead code.
17338 Use renumber_insns and remove_unncessary_notes.
17340 * gcse.c (struct null_pointer_info): New type.
17341 (get_bitmap_width): New function.
17342 (current_block): Remove.
17343 (nonnull_local): Likewise.
17344 (nonnull_killed): Likewise.
17345 (invalidate_nonnull_info): Take a null_pointer_info as input.
17346 (delete_null_pointer_checks_1): New function.
17347 (delete_null_pointer_checks): Use it.
17349 * haifa-sched.c (find_rgns): Replace uses of alloca with xmalloc.
17350 (split_edges): Likewise.
17351 (schedule_block): Likewise.
17352 (compute_block_backward_dependencies): Likewise.
17353 (schedule_region): Likewise.
17354 (schedule_insns): Likewise.
17356 Wed Nov 3 15:40:23 1999 Catherine Moore <clm@cygnus.com>
17358 * defaults.h (ASM_OUTPUT_ALTERNATE_LABEL_NAME): Provide default.
17359 * emit-rtl.c (gen_label_rtx): Support LABEL_ALTERNATE_NAME.
17360 * final.c (final_scan_insn): Emit LABEL_ALTERNATE_NAME.
17361 * ggc-common.c (ggc_mark_rtx_children): Mark LABEL_ALTERNATE_NAME.
17362 * jump.c (delete_unreferenced_labels): Don't delete if
17363 LABEL_ALTERNATE_NAME is set.
17364 * print-rtl.c (print_rtx): Dump alternate name.
17365 * rtl.def (CODE_LABEL): Change format to "iuuis00s".
17366 * rtl.h (LABEL_ALTERNATE_NAME): Define.
17367 * rtl.texi (LABEL_ALTERNATE_NAME): Document.
17368 * tm.texi (ASM_OUTPUT_ALTERNATE_LABEL_NAME): Document.
17370 Wed Nov 3 15:39:19 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
17372 * fix-header.c (recognized_extern, recognized_function): Constify
17375 * lcm.c (compute_laterin): Remove unused variable `temp_bitmap'.
17376 (pre_edge_lcm): Mark parameter `file' with ATTRIBUTE_UNUSED.
17377 (compute_available): Remove unused variable `last'.
17378 (compute_nearerout): Remove unused variable `temp_bitmap'.
17379 (pre_edge_rev_lcm): Mark parameter `file' with ATTRIBUTE_UNUSED.
17380 Remove unused variable `x'.
17382 * scan.h (recognized_function, recognized_extern): Constify a
17385 * simplify-rtx.c (simplify_rtx): Remove unused variable `new'.
17387 Wed Nov 3 10:40:53 1999 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
17389 * varasm.c (decode_rtx_const): Use XSTR to access the string
17392 Wed Nov 3 10:10:58 1999 Richard Henderson <rth@cygnus.com>
17394 * c-decl.c (duplicate_decls): Copy DECL_MODE too.
17396 Wed Nov 3 12:12:59 1999 Bernd Schmidt <bernds@cygnus.co.uk>
17398 * reload1.c (eliminate_regs_in_insn): If copying insn, also copy notes.
17400 Wed Nov 3 03:26:28 1999 Jeffrey A Law (law@cygnus.com)
17402 * pa.c (ireg_operand): New function.
17403 * pa.h (PREDICATE_CODES): Handle ireg_operand.
17404 * pa.md (parallel_addb, parallel_movb): Use ireg_operand.
17405 Fix out of date comment.
17407 * pa.md (negdi2): Turn into expander + anonymous pattern.
17409 * reload.c (find_reloads): Fix typos in recent change.
17411 * dwarf2out.c: Do not include ctype.h.
17413 Tue Nov 2 21:53:44 1999 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
17415 * regclass.c (record_reg_classes): Always use may_move_cost when
17416 seeing how operand fits with various register classes.
17418 Tue Nov 2 15:38:17 1999 Richard Henderson <rth@cygnus.com>
17420 * resource.c: Revert Oct 26 20:42 and Oct 27 00:56 changes.
17421 * toplev.c: Revert Nov 1 13:22 change.
17423 Tue Nov 2 14:21:37 1999 Jason Eckhardt <jle@cygnus.com>
17425 * config/pa/pa.md (height reduction patterns): Add checks for
17426 overlapping operands to avoid semantic-destroying splits for
17427 height reduction patterns.
17429 Tue Nov 2 15:27:31 1999 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
17431 * configure.in (m68k-hp-hpux*, xm_alloca.h): The underscore should
17432 have been an hyphen, fixed.
17433 * configure: Rebuilt.
17435 Tue Nov 2 17:04:36 1999 Nick Clifton <nickc@cygnus.com>
17437 * config/arm/tpe.h: Add prototypes for exported functions.
17438 * config/arm/pe.c: Fix compile time warnings.
17439 * config/arm/semi.h: Fix compile time warnings.
17440 * config/arm/arm.c: Fix compile time warnings.
17441 * config/arm/arm.h: Fix compile time warnings.
17442 * config/arm/arm.md: Fix compile time warnings.
17443 * config/arm/thumb.c: Fix compile time warnings.
17444 * config/arm/thumb.h: Fix compile time warnings.
17445 * config/arm/thumb.md: Fix compile time warnings.
17447 Tue Nov 2 04:10:24 1999 Jan Hubicka <hubicka@freesoft.cz>
17449 * jump.c (jump_optimize_1): Swap the incscc and the conditional mode
17452 * unroll.c (unroll_loop): Remove LOOP notes when loop is
17453 completely unrolled.
17455 Tue Nov 2 16:57:22 1999 Bernd Schmidt <bernds@cygnus.co.uk>
17457 * cse.c (simplify_plus_minus, check_fold_const): Delete declarations.
17459 Tue Nov 2 09:43:00 1999 Catherine Moore <clm@cygnus.com>
17461 * Makefile.in (genattrtab): Don't use (HOST_RTLANAL).
17462 * rtl.h (rtx_equal_p): Move prototype.
17463 * rtl.c (rtx_equal_function_value_matters): Move from
17465 (rtx_equal_p): Likewise.
17466 * rtlanal.c (rtx_equal_function_value_matters): Delete.
17467 (rtx_equal_p): Likewise.
17469 Mon Nov 1 23:21:17 1999 Jason Merrill <jason@yorick.cygnus.com>
17471 * libgcc2.c (__do_global_dtors): Only do EH frame stuff if
17472 ! HAS_INIT_SECTION.
17474 Mon Nov 1 23:37:38 1999 Jeffrey A Law (law@cygnus.com)
17476 * gcc.1 (PA options): Remove obsolete -mshared-libs options.
17478 * pa.h (ADDR_VEC_ALIGN): Define.
17480 * jump.c (jump_optimize_1): Also move LOOP_VTOP and LOOP_CONT
17481 notes when presented with "if (foo) break; end_of_loop" and
17482 the break sequence gets moved out of the loop.
17484 * unroll.c (unroll_loop): Allocate memory for MAP using xcalloc.
17485 Remove explicit zero initializations of entries within MAP.
17487 Mon Nov 1 18:09:14 1999 Richard Henderson <rth@cygnus.com>
17489 * reg-stack.c (convert_regs_1): Handle EH edges specially.
17491 Mon Nov 1 15:41:01 1999 Mark P. Mitchell <mark@codesourcery.com>
17493 * bitmap.h (BITMAP_XMALLOC): New macro.
17494 * flow.c (CLEAN_ALLOCA): Remove.
17495 (delete_unreachable_blocks): Use xmalloc/xcalloc instead of alloca.
17496 (life_analysis): Likewise.
17497 (update_life_info): Don't use CLEAN_ALLOCA.
17498 (life_analysis_1): Use xmalloc/xcalloc instead of alloca.
17499 (calculate_global_regs_live): Likewise.
17500 (print_rtl_with_bb): Likewise.
17501 (verify_flow_info): Likewise.
17502 * global.c (global_alloc): Likewise.
17503 (global_conflicts): Likewise.
17504 * integrate.c (save_for_inline_nocopy): Likewise.
17505 (expand_inline_function): Likewise.
17506 * jump.c (jump_optimize_1): Likewise.
17507 (duplicate_loop_exit_test): Likewise.
17508 (thread_jumps): Likewise.
17509 * loop.c (loop_optimize): Likewise.
17510 (combine_givs): Likewise.
17511 (recombine_givs): Likewise.
17512 * reorg.c (dbr_schedule): Likewise.
17513 * unroll.c (unroll_loop): Likewise.
17515 * combine.c (combine_instructions): Use xmalloc instead of alloca.
17517 Mon Nov 1 13:22:30 1999 Richard Henderson <rth@cygnus.com>
17519 * toplev.c (rest_of_compilation): Don't optimize the CFG
17520 when rebuilding, just before dbr.
17522 Mon Nov 1 14:35:50 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
17524 * output.h (assemble_end_function, assemble_destructor,
17525 assemble_constructor, assemble_gc_entry, assemble_global,
17526 assemble_label, output_constant_pool) Constify a char*.
17528 * varasm.c (assemble_destructor, assemble_constructor,
17529 assemble_gc_entry, assemble_end_function, assemble_global,
17530 assemble_label, output_constant_pool): Likewise.
17532 Mon Nov 1 14:22:51 1999 Nick Clifton <nickc@cygnus.com>
17534 * config/arm/thumb.c (thumb_expand_prologue): Add comments
17535 explaining what is goin on in this function.
17537 Mon Nov 1 08:03:15 1999 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
17539 * regclass.c (record_reg_classes): In matching case, recompute
17540 costs since the direction of movement is different.
17542 Sun Oct 31 21:59:34 MST 1999 Diego Novillo <dnovillo@cygnus.com>
17544 * resource.c (mark_target_live_regs): For unconditional branches,
17545 the resources found at the branch target should be added to the
17546 resources found so far, not intersected.
17548 Sun Oct 31 15:48:49 1999 Philippe De Muyter <phdm@macqel.be>
17550 * fixinc/fixtests.c, fixinc/fixfixes.c : Keep `#' in first column for
17552 * fixinc/fixincl.c (fcntl.h) : Do not include this file twice.
17553 (sys/mman.h): Include this file only if #HAVE_MMAP.
17554 (run_compiles): Initialize `esac_fmt' with one old KR string, not
17555 with automatically concatenated ANSI strings.
17557 Sun Oct 31 23:57:07 1999 Mark Mitchell <mark@codesourcery.com>
17559 * ggc-page.c (struct page_entry): Remove save_num_free_objects.
17560 (DIV_ROUND_UP): Robustify.
17561 (ggc_recalculate_in_use_p): New function.
17562 (release_pages): Don't inline it.
17563 (ggc_alloc_obj): Don't refuse to allocate objects on pages for
17565 (ggc_pop_context): Use ggc_recalculate_in_use_p.
17566 (clear_marks): Always save in_use_p.
17567 (sweep_pages): Use ggc_recalculate_in_use_p.
17568 (ggc_page_print_statistics): Avoid signed/unsigned comparisons.
17569 Release pages before counting statistics.
17571 Sun Oct 31 23:42:37 1999 Mark Mitchell <mark@codesourcery.com>
17573 * toplev.c (rest_of_compilation): Fix thinko in this change:
17575 Fri Oct 29 15:25:07 1999 Arnaud Charlet <charlet@ACT-Europe.FR>
17577 (rest_of_compilation): If inside an inlined external function,
17578 pretend we are just being declared.
17580 Sun Oct 31 23:03:25 1999 Jeffrey A Law (law@cygnus.com)
17582 * flow.c (calculate_global_regs_live): Fix thinko.
17584 * integrate.c (expand_inline_function): Fix bugs in previous
17585 change from Oct 28, 1999.
17587 Sun Oct 31 20:27:45 1999 Mark Mitchell <mark@codesourcery.com>
17589 * stmt.c (expand_value_return): Fix typo in this change:
17591 Thu Oct 28 18:06:50 1999 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
17592 (expand_value_return): Correctly convert VAL when promoting function
17593 return; support RETURN_REG being a PARALLEL.
17595 Sun Oct 31 20:25:42 1999 Mark P. Mitchell <mark@codesourcery.com>
17597 * expr.c (readonly_fields_p): Ignore everything except FIELD_DECLs.
17599 Sun Oct 31 20:42:17 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
17601 * hard-reg-set.h (reg_names): Constify a char*.
17603 * regclass.c (reg_names): Likewise.
17605 * regs.h (reg_names): Likewise
17607 * a29k/a29k.c (reg_names): Delete declaration.
17609 * a29k/a29k.h (CONDITIONAL_REGISTER_USAGE): Constify a char*.
17611 * arc/arc.c (arc_save_restore, arc_output_function_prologue,
17612 arc_output_function_epilogue): Likewise.
17614 * elxsi/elxsi.c (reg_names): Likewise.
17616 * gmicro/gmicro.h (FUNCTION_PROLOGUE, FUNCTION_EPILOGUE): Likewise.
17618 * m32r/m32r.c (m32r_output_function_epilogue, emit_cond_move):
17621 * m88k/m88k.c (output_function_profiler): Likewise.
17623 * sparc/sparc.c (sparc_flat_output_function_prologue,
17624 sparc_flat_output_function_epilogue): Likewise.
17626 Sun Oct 31 13:32:15 CET 1999 Marc Lehmann <pcg@goof.com>
17628 * toplev.c (rest_of_compilation): Seperate the setjmp/vfork clobber
17629 warning from -Wuninitialized and put it under -W.
17630 * function.c (uninitialized_vars_warning): Warn only when the
17631 corresponding flag is set.
17633 Sun Oct 31 01:53:30 1999 Jeffrey A Law (law@cygnus.com)
17635 * cse.c (cse_insn): If an insn has only a single set, SRC_EQV
17636 is nonzero and the single set does not have an elt, then assign
17639 * simplify-rtx.c: New file.
17640 * Makefile.in (OBJS): Add simplify-rtx.o
17641 (simplify-rtx.o): Add dependencies.
17642 * rtl.h (simplify_gen_binary, simplify_rtx): Add prototypes.
17643 * cse.c: Use simplify_gen_binary intead of cse_gen_binary.
17644 (cse_gen_binary, simplify_unary_operation): Delete.
17645 (simplify_binary_operation, simplify_plus_minus): Likewise.
17646 (check_fold_consts, simplify_relation_operation): Likewise.
17647 (simplify_ternary_operation): Likewise.
17648 (delete_trivially_dead_insns): Simplify the contents of the
17649 REG_EQUAL note before trying to substitute it into the source
17650 of the reg-reg copy at the end of a libcall sequence.
17652 * combine.c (combine_simplify_rtx): Renamed from simplify_rtx. All
17653 references/callers changed.
17655 * mn10200.c (mn10200_va_arg): Force the return value into a
17658 * fr30.h (EXTRA_CC_NAMES): Remove obsolete macro.
17660 * cccp.c (macroexpand): Avoid out of range accesses for omitted
17663 Sat Oct 30 22:42:50 1999 Stephen L Moshier <moshier@mediaone.net>
17665 * c-lex.c (yylex): Accept 'f' in mantissa of hex float constant.
17667 Sat Oct 30 22:19:26 1999 Jeffrey A Law (law@cygnus.com)
17669 * fold-const.c (fold): Fix thinko when optimizing comparisons
17672 Sat Oct 30 21:32:17 1999 David Starner <dstarner98@aasaa.ofe.org>
17674 * gcc.texi (Passes): Update front-end files to their current
17677 Sat Oct 30 14:41:40 1999 Richard Henderson <rth@cygnus.com>
17679 * alpha.h (SECONDARY_INPUT_RELOAD_CLASS): Call secondary_reload_class.
17680 (SECONDARY_OUTPUT_RELOAD_CLASS): Likewise.
17681 (PREDICATE_CODES): Add addition_operation.
17682 * alpha-protos.h (addition_operation): Declare.
17683 (secondary_reload_class): Likewise.
17684 * alpha.c (addition_operation): New.
17685 (secondary_reload_class): New, from old SECONDARY_INPUT_RELOAD_CLASS.
17686 * alpha.md (adddi3): Turn into expander.
17687 (*lda, *adddi_2): New.
17688 (movsf, movdf patterns): Don't preference integer regs.
17689 (movsi, movdi patterns): Don't preference fp regs.
17691 Sat Oct 30 14:38:22 1999 Richard Henderson <rth@cygnus.com>
17693 * genrecog.c (write_switch): Check for duplicate CODE cases.
17695 Sat Oct 30 14:31:48 1999 Richard Henderson <rth@cygnus.com>
17697 * ggc-common.c: Update pre-function commentary.
17698 * ggc-page.c: Likewise.
17700 (poison_pages): Use memset directly.
17701 (ggc_alloc_obj): Likewise. Use a different pattern than poison_pages.
17702 (ggc_collect): Poison before sweeping.
17703 * ggc-simple.c: Update pre-function commentary.
17704 (ggc_alloc_obj): Poison non-zeroed memory.
17706 Sat Oct 30 14:28:52 1999 Mark Mitchell <mark@codesourcery.com>
17708 * ggc-common.c (ggc_print_statistics): Make arguments to fprintf
17709 match format string, even on 64-bit hosts.
17710 * gcc-page.c (ggc_page_print_statistics): Likewise.
17712 Sat Oct 30 14:38:04 1999 Catherine Moore <clm@cygnus.com>
17714 * config/i386/i386.c (ix86_cpu): Revert last patch.
17715 * config/i386/i386.h (ix86_cpu): Ditto.
17717 Fri Oct 29 17:00:42 1999 Jim Wilson <wilson@cygnus.com>
17719 * stor-layout.c (layout_type): When compute TYPE_SIZE_UNIT from
17720 TYPE_SIZE, convert type of result to sizetype.
17722 Fri Oct 29 14:34:17 1999 Richard Henderson <rth@cygnus.com>
17724 * flow.c (count_or_remove_death_notes): Equate NULL with the
17727 * jump.c, reg-stack.c, toplev.c: Revert Oct 27 change.
17728 * toplev.c (rest_of_compilation): Rebuild CFG immediately before
17731 * i386.c (pic_label_no): Delete.
17732 (ix86_attr_length_default): Don't use single_set to peek
17735 * recog.c (peephole2_optimize): Allow recog_next_insn to index
17736 the first insn after bb->end.
17737 * i386.md (push mem peeps): Scratch is live after evaluation
17739 (cmp mem peep): Similarly.
17741 Fri Oct 29 11:50:11 1999 Catherine Moore <clm@cygnus.com>
17743 * calls.c (emit_library_call_value): Fix declaration of alignment_pad.
17744 * function.c (pad_to_arg_alignment): Add missing braces.
17746 Fri Oct 29 13:53:48 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
17748 * alpha/alpha-protos.h (literal_section): Add prototype.
17749 (alpha_need_linkage, alpha_start_function,alpha_end_function):
17752 * alpha/alpha.c (alpha_ra_ever_killed, set_frame_related_p): Add
17754 (alpha_start_function, alpha_end_function, float_strings,
17755 alpha_need_linkage): Constify a char*
17757 * alpha/alpha.h (ASM_OUTPUT_ASCII, ASM_OUTPUT_MI_THUNK): Likewise.
17759 * alpha/alpha32.h (ASM_OUTPUT_MI_THUNK): Likewise.
17761 * alpha/elf.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
17763 * alpha/vms.h (ASM_OUTPUT_SECTION_NAME): Likewise.
17765 Fri Oct 29 13:49:39 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
17767 * flow.c (debug_flow_info): Add prototype.
17769 * gcc.c (main): Likewise.
17771 * gcse.c (expr_reaches_here_p_work, pre_expr_reaches_here_p_work):
17774 * reload1.c (failed_reload, set_reload_reg): Likewise.
17776 * mips-tfile.c (main): Likewise.
17777 (pfatal_with_name, fancy_abort, botch, fatal, catch_signal): Mark
17778 with ATTRIBUTE_NORETURN.
17780 Fri Oct 29 18:16:03 1999 Andrew Haley <aph@cygnus.com>
17782 * config/i386/i386.h (ENCODE_SECTION_INFO): Don't do anything if
17783 DECL is not a memory ref.
17785 Fri Oct 29 09:05:34 1999 Catherine Moore <clm@cygnus.com>
17787 * config/i386/i386.h (ix86_cpu): Remove extern attribute.
17788 * config/i386/i386.c (ix86_cpu): Add extern attribute.
17790 Fri Oct 29 16:30:04 1999 Andrew Haley <aph@cygnus.com>
17792 * config/mips/elf.h: remove NAME__MAIN and SYMBOL__MAIN.
17793 * config/mips/elf64.h: ditto.
17795 Fri Oct 29 08:03:57 1999 Catherine Moore <clm@cygnus.com>
17797 * expr.c (emit_push_insn): New argument alignment_pad.
17798 Update all callers. Adjust stack pointer based on alignment pad.
17799 * function.c (pad_to_arg_alignment): New argument alignment_pad.
17800 Update all callers. Track alignment_pad if boundary > PARM_BOUNDARY.
17801 (locate_and_pad_parm): New argument alignment_pad. Update all
17803 * expr.h (emit_push_insn): Update prototype.
17804 (locate_and_pad_parm): Update prototype.
17805 * calls.c (arg_data): Add new field alignment_pad.
17806 (initialize_argument_information): Initialize alignment_pad.
17808 Fri Oct 29 02:51:35 1999 Mark Mitchell <mark@codesourcery.com>
17810 * except.c (free_eh_nesting_info): Free the info itself.
17811 * function.c (free_after_compilation): Don't free NULL.
17812 * gcse.c (alloc_pre_mem): Free the temp_bitmap, too.
17813 (pre_edge_insert): Free inserted.
17814 * stmt.c (free_stmt_status): Don't free NULL.
17816 Fri Oct 29 15:25:07 1999 Arnaud Charlet <charlet@ACT-Europe.FR>
17818 * gcov.c (DIR_SEPARATOR): Provide default.
17819 (output_data): Add test for MS-DOS format absolute filename.
17820 (fancy_abort): Correct program name.
17821 (open_files): Open all files in binary mode.
17822 * libgcc2.c (__bb_exit_func): Likewise.
17824 * profile.c (init_branch_prob): Specify binary when opening files.
17826 * flags.h (flag_unwind_tables): New decl.
17827 * toplev.c (flag_unwind_table): New definition.
17828 (f_options): Add -funwind-tables.
17829 (decode_g_option): Clarify warning when unknown -g option is given.
17830 (rest_of_compilation): If inside an inlined external function,
17831 pretend we are just being declared.
17833 * dwarf2out.c (dwarf2out_do_frame): Check -funwind_tables.
17834 (dwarf2out_frame_finish): Likewise.
17836 Fri Oct 29 07:44:26 1999 Vasco Pedro <vp@di.fct.unl.pt>
17838 * fold-const.c (merge_ranges): If not in0, but in1, handle
17839 upper bounds equal like subset case.
17841 Thu Oct 28 19:22:24 1999 Douglas Rupp <rupp@gnat.com>
17843 * dbxout.c (dbxout_parms): Generate a second stabs line for parameters
17844 passed in a register but moved to the stack.
17846 Thu Oct 28 19:12:57 1999 Sam Tardieu <tardieu@act-europe.fr>
17848 * gcc.c (pass_exit_codes, greatest_status): New variables.
17849 (struct option_map): Add entry for "--pass-exit-codes".
17850 (execute): Update greatest_status if error.
17851 (display_help): Add documentation for -pass-exit-codes.
17852 (process_command): Handle -pass-exit-codes.
17853 (main): Look at pass_exit_codes and greatest_status on call to exit.
17855 Thu Oct 28 18:06:50 1999 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
17857 * reload.c (find_reloads): Refine test for no input reload
17858 case to not includes reloads emitted after insn.
17860 * function.c (find_temp_slots_from_address): Handle sum involving
17861 a register that points to a temp slot.
17862 (update_temp_slot_address): Make recursive call if both old and
17863 new are PLUS with a common operand.
17864 * calls.c (expand_call): Mark temp slot for result as having
17867 * rtlanal.c (reg_referenced_p, case IF_THEN_ELSE): New case.
17869 * gcc.c (process_command): Add standard_exec_prefix with "GCC"
17870 component as well as "BINUTILS".
17872 * integrate.h (copy_rtx_and_substitute): New arg, FOR_LHS.
17873 * integrate.c (copy_rtx_and_substitute): Likewise.
17874 (expand_inline_function, integrate_parm_decls, integrate_decl_tree):
17875 All callers changed.
17876 * unroll.c (inital_reg_note_copy, copy_loop_body): Likewise.
17878 * dbxout.c (dbxout_type, case INTEGER_TYPE_NODE): If can use
17879 gdb extensions, write size of type; also be more consistent
17880 in using references when this is a subtype.
17882 * pa.md (extv, extzv, insv): Use define_expand to reject constant
17883 that is out of range.
17885 * loop.c (unknown_constant_address_altered): New variable.
17886 (prescan_loop): Initialize it.
17887 (note_addr_stored): Set it for RTX_UNCHANGING_P MEM.
17888 (invariant_p, case MEM): Remove handling for volatile and readonly;
17889 check new variable if readonly.
17890 (check_dbra_loop): Chdeck unknown_constant_address_altered.
17892 * cse.c (canon_hash, case MEM): Do not record if BLKmode.
17893 (addr_affects_sp_p): Removed from note_mem_written and only
17894 define #ifdef AUTO_INC_DEC.
17896 * alpha.c (input_operand, case ADDRESSOF): Treat as REG.
17898 * regclass.c (record_reg_classes): Properly handle register move
17901 * varasm.c (initializer_constant_valid_p, case MINUS_EXPR):
17902 Don't think valid if both operands are invalid.
17903 (struct constant_descriptor): New field RTL.
17904 (mark_const_hash_entry): Mark it.
17905 (record_constant{,_rtx}): Initialize it.
17906 (output_constant_def): Allocate RTL in permanent obstack and
17908 ({record,compare}_constant_1): Modes must match for
17909 CONSTRUCTOR of ARRAY_TYPE.
17911 * c-common.h (initializer_constant_valid_p): Delete decl from here.
17912 * output.h (initializer_constant_valid_p): Move decl to here.
17913 * c-common.c (initializer_constant_valid_p): Delete function from here.
17914 * varasm.c (initializer_constant_valid_p): Move function to here.
17916 * tree.h (STRIP_SIGN_NOPS): New macro.
17917 * fold-const.c (optimize_minmax_comparison): New function.
17918 (invert_truthvalue, case WITH_RECORD_EXPR): New case.
17919 (fold): Use STRIP_SIGN_NOPS instead of STRIP_TYPE_NOPS.
17920 (fold, case EQ_EXPR): Call optimize_minmax_comparison and add
17921 cases with ABS_EXPR, NEGATE_EXPR, PLUS_EXPR, MINUS_EXPR, and
17922 widening conversions.
17923 (fold, case LE_EXPR): Rework changing unsigned to signed comparisons
17924 to look at size of mode, not precision of type; also add missing cases.
17925 (optimize_bit_field_compare, decode_field_reference): Don't try to
17926 optimize COMPONENT_REF of a PLACEHOLDER_EXPR.
17928 * dwarf2out.c (ctype.h): Include.
17929 (dwarf2out_set_demangle_name_func): New function.
17930 (size_of_line_info): Deleted.
17931 (output_line_info): Compute size of line info table from difference
17933 (base_type_die, add_name_attribute): Call demangle function, if any.
17934 (field_byte_offset): Use bits per word for variable length fields.
17935 (gen_array_type_die): Add array name.
17936 (gen_subprogram_die): Ignore DECL_INLINE if -fno-inline.
17937 (dwarf2out_add_library_unit_info): New function.
17939 * explow.c (set_stack_check_libfunc): New function.
17940 (stack_check_libfunc): New static variable.
17941 (probe_stack_range): Allow front-end to set up a libfunc to call.
17943 * combine.c (simplify_comparison): When making comparison in wider
17944 mode, check for having commuted an AND and a SUBREG.
17945 (contains_muldiv): New function.
17946 (try_combine): Call it when dividing a PARALLEL.
17947 (simplify_rtx, case TRUNCATE): Don't remove for umulsi3_highpart.
17948 (simplify_comparison, case ASHIFTRT): Recognize sign-extension of
17950 (record_value_for_reg): If TEM is a binary operation with two CLOBBERs,
17951 use one of the CLOBBERs instead.
17952 (if_then_else_cond): If comparing against zero, just return thing
17955 * optabs.c (expand_abs): If machine has MAX, ABS (x) is MAX (x, -x).
17956 Don't generate shifts and subtract if have conditional arithmetic.
17958 * rtl.h (delete_barrier): New declaration.
17959 * jump.c (jump_optimize): Set up to handle conditional call.
17960 In conditional arithmetic case, handle CALL_INSN followed by a BARRIER.
17961 (delete_barrier): New function.
17963 * rtl.c (read_rtx): Call fatal if bad RTL code; check for bad mode.
17965 * recog.c (nonmemory_operand): Accept ADDRESSOF.
17967 * tree.c (build_type_attribute_variant): Push to obstack of
17968 ttype around type_hash_canon call.
17970 * expr.c (placeholder_list): Move decl to file scope.
17971 (expand_expr): Don't force access to volatile just because its
17973 If ignoring reference operations, just expand the operands.
17974 (expand_expr, case COMPONENT_REF): Propagate
17975 EXPAND_CONST_ADDRESS to recursive call when expanding inner.
17976 Refine test for using bitfield operations vs pointer punning.
17977 (expand_expr, case CONVERT_EXPR): If converting to
17978 BLKmode UNION_TYPE from BLKmode, just return inner object.
17979 Use proper mode in store_field call.
17980 Properly set sizes of object to store and total size in store_field
17981 call for convert to union.
17982 (expand_expr, case ARRAY_REF): If OP0 is in a register, put it in
17983 memory (like for ADDR_EXPR). Also, don't put constant in register if
17984 we'll want it in memory.
17985 (readonly_fields_p): New function.
17986 (expand_expr, case INDIRECT_REF): Call it if LHS.
17987 (expand_assignment): Handle a RESULT_DECL where
17988 DECL_RTL is a PARALLEL.
17989 (do_jump, case WITH_RECORD_EXPR): New case.
17990 (get_inner_reference): Always go inside a CONVERT_EXPR
17991 and NOP_EXPR if both modes are the same.
17992 (store_field): Use bitfield operations if size of bitsize is not same
17993 as size of RHS's type.
17994 Check for bitpos not a multiple of alignment in BLKmode case.
17995 Do block move in largest possible alignment.
17996 (store_constructor): Set BITSIZE to -1 for variable size and properly
17997 in case of array of BLKmode.
17998 (expand_expr_unaligned): New function.
17999 (do_compare_and_jump): Call it.
18001 * mips/iris5.h (SWITCHES_NEED_SPACES): New macro.
18002 * collect2.c (main): Only allow -ofoo if SWITCHES_NEED_SPACES
18003 does not include 'o'.
18005 * function.c (instantiate_virtual_regs_1, case SET): Handle case where
18006 both SET_DEST and SET_SRC reference a virtual register.
18007 (gen_mem_addressof): Copy RTX_UNCHANGING_P from new REG to old REG.
18009 * integrate.c (expand_inline_function): Handle case of setting
18010 virtual stack vars register (from built in setjmp); when parameter
18011 lives in memory, expand virtual_{stack_vars,incoming_args}_rtx early.
18012 (subst_constant): Add new parm, MEMONLY.
18013 (expand_inline_function, integrate_parm_decls): Pass new parm.
18014 (integrate_decl_tree): Likewise.
18015 (copy_rtx_and_substitute, case MEM): Do copy RTX_UNCHANGING_P.
18016 (try_constants): Call subst_constants twice, with MEMONLY 0 and 1.
18017 (copy_rtx_and_substitute, case SET): Add explicit calls to
18018 copy_rtx_and_substitute for both sides.
18020 * stmt.c (expand_asm_operands): Don't use TREE_STRING_LENGTH for
18022 (pushcase{,_range}): Convert to NOMINAL_TYPE after checking for
18023 within INDEX_TYPE, instead of before.
18024 (fixup_gotos): Use f->target_rtl, not the next insn,
18025 since latter may be from a later fixup.
18026 (expand_value_return): Correctly convert VAL when promoting function
18027 return; support RETURN_REG being a PARALLEL.
18028 (expand_return): When checking for result in regs and having
18029 cleanup, consider PARALLEL in DECL_RTL as being in regs.
18031 1999-10-28 21:27 -0700 Zack Weinberg <zack@bitmover.com>
18033 * cpplib.h (struct cpp_buffer: fname, nominal_fname,
18034 last_nominal_fname): Mark const.
18035 (struct include_hash: name, nshort, control_macro): Mark
18037 (struct macrodef: symnam): Mark const.
18038 (struct if_stack: fname): Mark const.
18039 (is_idchar, is_idstart, is_hor_space, trigraph_table): Delete.
18040 (IStable): New character-syntax array which encompasses all
18041 the old is_foo arrays.
18042 (is_idchar, is_numchar, is_idstart, is_numstart, is_hspace,
18043 is_space): New macros for interrogating IStable.
18044 (check_macro_name): Kill last argument. All callers changed.
18046 * cppinit.c (initialize_char_syntax): Delete.
18047 (is_idchar, is_idstart, is_hor_space, is_space,
18048 trigraph_table): Delete.
18049 (IStable): New. Initialize with clever macros to avoid
18050 information duplication.
18051 (builtin_array): Table of builtins to get rid of explicit list
18052 in initialize_builtins.
18053 (initialize_builtins): Use builtins_array.
18054 (cpp_start_read): Call init_IStable, and set IStable['$'] if
18055 opts->dollars_in_ident.
18057 * cppexp.c: Change all refs to is_xyz[] arrays to use new
18059 (cpp_parse_expr): Avoid 'format string is not constant'
18060 warning. Use ISGRAPH to identify printable chars.
18061 * cppfiles.c: Change all refs to is_xyz[] arrays to use new
18063 (read_and_prescan): Map trigraphs to chars with open-coded
18064 if-else-if-... sequence, not a lookup table.
18065 * cpphash.c: Change all refs to is_xyz[] arrays to use new
18067 * cpplib.c: Change all refs to is_xyz[] arrays to use new
18068 is_xyz() macros. Kill SKIP_ALL_WHITE_SPACE (unused).
18069 (check_macro_name): Remove ability to report an invalid
18070 assertion name, which is never used.
18071 (do_line): Constify a couple of char *'s.
18072 * cppmain.c (main): Call cpp_cleanup before returning.
18074 Thu Oct 28 21:16:35 1999 Mark Mitchell <mark@codesourcery.com>
18076 * ggc.h (struct ggc_statistics): New type.
18077 (ggc_get_size): New function.
18078 (ggc_print_statistics): Likewise.
18079 * ggc-common.c (ggc_stats): New variable.
18080 (ggc_mark_rtx_children): Keep statistics.
18081 (ggc_mark_tree_children): Likewise.
18082 (ggc_print_statistics): New function.
18083 * ggc-page.c (struct globals): Add bytes_mapped field.
18084 (alloc_anon): Update it.
18085 (release_pages): Likewise.
18086 (ggc_get_size): New function.
18087 (ggc_page_print_statistics): New function.
18088 * ggc-simple.c (ggc_get_size): New function.
18090 Fri Oct 29 06:32:44 1999 Geoffrey Keating <geoffk@cygnus.com>
18092 * flow.c (propagate_block): When the last reference to a label
18093 before an ADDR_VEC is deleted because the reference is a dead
18094 store, delete the ADDR_VEC.
18096 Thu Oct 28 12:28:50 1999 Richard Henderson <rth@cygnus.com>
18098 * resource.c (find_free_register): Don't use the frame pointer
18099 if frame_pointer_needed.
18101 Thu Oct 28 10:02:00 1999 Jim Wilson <wilson@cygnus.com>
18103 * config/mips/mips.c (mips_va_arg): Delete gen_jump as emit_jump arg.
18104 (function_arg_pass_by_reference): Check for a NULL pointer in cum.
18106 * config/i960/i960.c (i960_va_start): New locals base, num.
18107 Use INDIRECT_REF instead of ARRAY_REF on valist.
18108 (i960_va_arg): Use INDIRECT_REF instead of ARRAY_REF on valist.
18110 Thu Oct 28 09:45:48 1999 Mark Mitchell <mark@codesourcery.com>
18112 * gcse.c (delete_null_pointer_checks): Fix typo in previous change.
18114 Thu Oct 28 03:37:50 1999 Peter Gerwinski <peter@gerwinski.de>
18116 * tree.def (PLACEHOLDER_EXPR): Update comments.
18118 Thu Oct 28 06:47:32 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
18120 * c-common.c (check_format_info): Avoid non-literal format string
18121 warnings when `first_arg_num' is zero.
18123 Thu Oct 28 12:28:48 1999 Bernd Schmidt <bernds@cygnus.co.uk>
18125 * rtl.texi: Delete explicit Prev, Up and Next entries in "@node"s.
18127 Thu Oct 28 11:05:13 1999 Richard Earnshaw <rearnsha@arm.com>
18129 * arm.md (casesi_insn): Add a clobber of the condition code
18132 Mon Oct 18 21:16:06 1999 Fred Fish <fnf@be.com>
18134 * tm.texi (CC1PLUS_SPEC): Make it clear in the docs that CC1_SPEC is
18135 used by both cc1 and cc1plus.
18137 Thu Oct 28 10:00:48 1999 Nick Clifton <nickc@cygnus.com>
18139 * config/arm/arm.c: Initialise arm_structure_size_boundary to
18140 DEFAULT_STRUCTURE_SIZE_BOUNDARY.
18141 * config/arm/arm.h (DEFAULT_STRUCTURE_SIZE_BOUNDARY): Define
18142 to the value 32 if it has not already been defined.
18143 * config/arm/netbsd.h (DEFAULT_STRUCTURE_SIZE_BOUNDARY):
18144 Override definition in arm.h with a value of 8.
18146 Thu Oct 28 03:12:02 1999 David Starner <dstarner98@aasaa.ofe.org>
18148 * c-pragma.c (push_alignment): Don't check the return value
18151 Thu Oct 28 03:08:38 1999 Matteo Frigo <athena@fftw.org>
18153 * sparc.h (ADJUST_COST): Fix thinko.
18155 Thu Oct 28 02:44:03 1999 Glen Nakamura <glen.nakamura@usa.net>
18157 * cccp.c (rescan): Fixed obp pointer handling around call to
18158 check_expand subroutine.
18160 Thu Oct 28 02:15:22 1999 Jeffrey A Law (law@cygnus.com)
18162 * gcse.c (delete_null_pointer_checks): Only record non-null info
18163 for pseudos when examining stores.
18165 * arm.md (adddi3, adddi_sesidi_di, adddi_sesidi_di): Add
18166 splitters for these patterns. Use "#" for output templates.
18167 (addsi3_carryin_shift): New pattern.
18169 Thu Oct 28 10:20:02 1999 Geoffrey Keating <geoffk@cygnus.com>
18171 * config/rs6000/rs6000.md (movsf): Don't convert a SUBREG
18172 of the function return register into a plain REG until
18173 after function inlining is done.
18175 Wed Oct 27 15:21:46 1999 Richard Henderson <rth@cygnus.com>
18177 * jump.c (jump_optimize_1): If we did cross-jumping, and
18178 the data will matter, rebuild the CFG.
18179 * reg-stack.c (reg_to_stack): Only (re)build the CFG if
18180 not optimizing. Don't run shorten_branches.
18181 * toplev.c (rest_of_compilation): Run shorten_branches after
18184 Wed Oct 27 12:33:40 1999 Mark Mitchell <mark@codesourcery.com>
18186 * rtl.h (note_stores): Add additional paramter.
18187 * rtlanal.c (reg_set_p_1): Take additional paramter.
18188 (reg_set_last_1): Likewise.
18189 (reg_set_p): Adjust call to note_stores.
18190 (reg_set_last): Likewise.
18191 (note_stores): Pass data parameter to worker function.
18192 * alias.c (record_set): Take additional parameter.
18193 (init_alias_analysis): Pass it.
18194 * caller-save.c (mark_set_regs): Take additional parameter.
18195 (save_call_clobbered_regs): Pass NULL to note_stores.
18196 * combine.c (set_nonzero_bits_and_sign_copies): Take additional
18198 (record_dead_and_set_regs_1): Likewise.
18199 (reg_dead_at_p_1): Likewise.
18200 (combine_instructions): Adjust calls to note_stores.
18201 (try_combine): Likewise.
18202 (record_dead_insn): Remove.
18203 (record_dead_and_set_regs): Adjust calls to note_stores.
18204 (reg_dead_at_p): Likewise.
18205 * cse.c (invalidate_skipped_set): Take additional parameter.
18206 (cse_check_loop_start): Likewise.
18207 (cse_check_loop_start_value): Remove.
18208 (cse_set_around_loop): Adjust calls to note_stores.
18209 * flow.c (notice_stack_pointer_modification): Take additional
18210 parameter. Remove duplicate declaration.
18211 (record_volatile_insns): Adjust calls to note_stores.
18212 * gcse.c (record_set_info): Take additional parameter.
18213 (record_last_set_info): Likewise.
18214 (invalidate_nonnull_info): Likewise.
18215 (record_set_insn): Remove.
18216 (compute_sets): Adjust calls to note_stores.
18217 (last_set_insn): Remove.
18218 (compute_hash_table): Adjust calls to note_stores.
18219 (insert_insn_end_bb): Likewise.
18220 (delete_null_pointer_checks): Likewise.
18221 * global.c (mark_reg_store): Take additional parameter.
18222 (mark_reg_clobber): Likewise.
18223 (reg_becomes_live): Likewise.
18224 (global_conflicts): Adjust calls to note_stores.
18225 (build_insn_chain): Likewise.
18226 * integrate.c (note_modified_parmregs): Take additional parameter.
18227 (mark_stores): Likewise. Make it static.
18228 (save_for_inline_nocopy): Adjust calls to note_stores.
18229 (try_constants): Likewise.
18230 * integrate.h (mark_stores): Remove declaration.
18231 * jump.c (mark_modified_reg): Take additional parameter.
18232 (thread_jumps): Adjust calls to note_stores.
18233 * local-alloc.c (validate_equiv_mem_from_store): Take additional
18235 (no_equiv): Likewise.
18236 (reg_is_set): Likewise.
18237 (validate_equiv_mem): Adjust calls to note_stores.
18238 (update_equiv_regs): Likewise.
18239 (block_alloc): Likewise.
18240 * loop.c (note_set_pseudo_multiple_uses_retval): Remove.
18241 (note_addr_stored): Take additional parameter.
18242 (note_set_pseudo_multiple_uses): Likewise.
18243 (record_initial): Likewise.
18244 (prescan_loop): Adjust calls to note_stores.
18245 (strength_reduce): Likewise.
18246 (check_dbra_loop): Likewise.
18247 * regmove.c (flags_set_1): Take additional paramter.
18248 (mark_flags_life_zones): Adjust calls to note_stores.
18249 * reload1.c (mark_not_eliminable): Take additional parameter.
18250 (forget_old_reloads_1): Likewise.
18251 (reload_cse_invalidate_rtx): Likewise.
18252 (reload_cse_check_clobber): Likewise.
18253 (reload_combine_note_store): Likewise.
18254 (move2add_note_store): Likewise.
18255 (reload): Adjust calls to note_stores.
18256 (reload_as_needed): Likewise.
18257 (emit_reload_insns): Likewise.
18258 (reload_cse_regs_1): Likewise.
18259 (reload_cse_record_set): Adjust calls to reload_cse_invalidate_rtx.
18260 (reload_combine): Adjust calls to note_stores.
18261 * resource.c (update_live_status): Take additional paramter.
18262 (mark_target_live_regs): Adjust calls to note_stores.
18263 * stupid.c (find_clobbered_regs): Take additional parameter.
18264 (stupid_life_analysis): Adjust calls to note_stores.
18266 Wed Oct 27 19:26:12 1999 Nick Clifton <nickc@cygnus.com>
18268 * config/arm/coff.h (STRUCTURE_SIZE_BOUNDARY): Delete
18271 * config/arm/elf.h (STRUCTURE_SIZE_BOUNDARY): Delete
18274 * config/arm/arm.h (STRUCTURE_SIZE_BOUNDARY): Define in terms
18275 of the variable arm_structure_size_boundary.
18277 Wed Oct 27 02:05:58 1999 Mark P. Mitchell <mark@codesourcery.com>
18279 * alias.c (init_alias_analysis): Allocate reg_known_value and
18280 reg_known_equiv_p on the heap. Likewise for new_reg_base_value
18282 (end_alias_analysis): Free reg_known_value and reg_known_equiv_p.
18283 * cse.c (cse_main): Call end_alias_analysis.
18284 * haifa-sched.c (schedule_insns): Likewise.
18285 * local-alloc. (update_equiv_regs): Likewise.
18286 * reload1.c (reload_cse_regs): Likewise.
18288 Wed Oct 27 01:49:17 1999 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
18290 * sparc/sparc.c (sparc_override_options): Clear MASK_FPU_SET.
18291 * sparc/sparc.h (TARGET_SWITCHES): Add "fpu" entry for reverse
18292 mapping from MASK_FPU.
18294 Wed Oct 27 01:42:26 1999 Scott Christley <scottc@net-community.com>
18296 * sparc.md (call): Don't bound structure return size to 0xfff.
18298 Wed Oct 27 00:56:59 1999 Richard Henderson <rth@cygnus.com>
18300 * resource.c (mark_target_live_regs): Check that the target
18301 insn wasn't created after compute_bb_for_insn.
18303 Tue Oct 26 23:15:03 1999 Mark Mitchell <mark@codesourcery.com>
18305 * ggc-page.c (poison_pages): Don't be overzealous.
18307 Tue Oct 26 23:29:18 1999 Jeffrey A Law (law@cygnus.com)
18309 * alias.c: Update comments for ADDRESS.
18310 (nonlocal_reference_p): Look inside the ADDRESS to determine if
18311 it is a local memory reference.
18313 * c-typeck.c (build_function_call): Check that the built-in
18314 function is of class BUILT_IN_NORMAL before trying to recongize
18315 it as BUILT_IN_ABS.
18316 * calls.c (calls_function_1): Similarly for BUILT_IN_ALLOCA.
18317 * stmt.c (expand_end_cae): Similarly for BUILT_IN_CLASSIFY_TYPE.
18319 Wed Oct 27 00:14:13 1999 Robert Lipe <robertlipe@usa.net>
18321 * gcse.c (expr_reaches_here_p): Use xcalloc and explit free instead
18323 (pre_gcse): Likewise.
18324 (hoist_expr_reaches_here_p): Likewise.
18325 (hoist_code): Likewise.
18326 (pre_expr_reaches_here_p): Replace alloca with xcalloc. Move core
18328 (pre_expr_reaches_here_p_work): ... here.
18329 (expr_reaches_here_p): Replace alloca with xcalloc. Move core
18331 (expr_reaches_here_p_work): ... here.
18333 Tue Oct 26 20:42:45 1999 Richard Henderson <rth@cygnus.com>
18335 * resource.c (find_basic_block): Delete.
18336 (mark_target_live_regs, incr_ticks_for_insn): Use BLOCK_NUM instead.
18337 (init_resource_info): Call compute_bb_for_insn.
18339 Tue Oct 26 20:21:02 1999 Richard Henderson <rth@cygnus.com>
18341 * flow.c (merge_blocks_move_predecessor_nojumps): Cope
18342 with already adjacent blocks, but no fallthru.
18343 (merge_blocks_move_successor_nojumps): Simplify.
18344 (debug_flow_info): New.
18346 * toplev.c (rest_of_compilation): Open jump1 dump file before
18347 jump and close after, as opposed to just using dump_rtl.
18349 Wed Oct 27 03:09:23 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
18351 * reload.h (earlyclobber_operand_p): Declare.
18352 * reload.c (earlyclobber_operand_p): Don't declare. No longer static.
18353 * reload1.c (reload_reg_free_for_value_p): RELOAD_OTHER reloads with
18354 an earlyclobbered output conflict with RELOAD_INPUT reloads - handle
18355 case where the RELOAD_OTHER reload is new. Use earlyclobber_operand_p.
18357 Tue Oct 26 18:23:38 1999 Jan Hubicka <hubicka@freesoft.cz>
18358 Richard Henderson <rth@cygnus.com>
18360 * emit-rtl.c (emit_block_insn_before): New.
18361 (emit_block_insn_after): New.
18362 * basic-block.h: Declare them.
18364 * bitmap.h: Protect from multiple inclusion.
18366 * recog.c (scratch_operand): Handle VOIDmode correctly.
18368 * rtl.h (JUMP_CROSS_JUMP_DEATH_MATTERS): New.
18370 * builtins.c (expand_builtin_apply_args_1): Remove STACK_REGS hack.
18371 * function.c (assign_parms): Likewise.
18372 * global.c (global_conflicts): Clarify STACK_REGS commentary.
18374 * reg-stack.c (max_uid): Remove.
18375 (blocks, block_begin, block_end, block_drops_in): Remove.
18376 (block_stack_in, block_out_reg_set, block_number): Remove.
18377 (struct block_info_def, BLOCK_INFO): New.
18378 (enum emit_where): New.
18379 (current_block): New.
18380 (BLOCK_NUM): Remove.
18381 (mark_regs_pat, record_label_references): Remove.
18382 (record_reg_life_pat, record_reg_life, find_blocks): Remove.
18384 (goto_block_pat, print_blocks, dump_stack_info): Remove.
18385 (reg_to_stack): Simplified test for existance of fp code. Use
18386 flow.c code. Call shorten_branches after cross-jump opt.
18387 (check_asm_stack_operands): Renamed from record_asm_reg_life.
18388 Return false if the asm doesn't use stack regs. Don't do life
18389 analysis on the asm.
18390 (emit_pop_insn): Replace function pointer arg `when' with
18391 enum `where'. Update all callers.
18392 (change_stack): Likewise. Update basic block end.
18393 (emit_swap_insn): Use current_block->head to limit reverse search
18394 for start of block. Use emit_block_insn_after.
18395 (subst_stack_regs_pat): Handle USE and CLOBBER patterns.
18396 (subst_asm_stack_regs): Use check_asm_stack_operands. Use direct
18397 structure assignment instead of bcopy.
18398 (print_stack): New.
18399 (convert_regs_entry, convert_regs_exit): New.
18400 (convert_regs_1, convert_regs_2): Split out from convert_regs.
18401 Work on basic blocks and the CFG.
18402 (convert_regs): Use them.
18404 * i386.c (output_fix_trunc): Remove code for DImode input operand
18405 not at top-of-stack.
18406 * i386.c (fix_truncdfdi2, fix_truncsfdi2): Use scratch with
18408 (fix_truncdi_1): Allow any mode scratch.
18410 Tue Oct 26 13:30:35 1999 Richard Henderson <rth@cygnus.com>
18412 * alpha.h (TARGET_MEM_FUNCTIONS): Define here.
18413 * linux.h, netbsd.h, vms.h: Not here.
18415 1999-10-26 Gavin Romig-Koch <gavin@cygnus.com>
18417 * config/mips/mips.h (ISA_HAS_64BIT_REGS,ISA_HAS_BRANCHLIKELY,
18418 ISA_HAS_FP4,ISA_HAS_CONDMOVE): New.
18419 (GENERATE_BRANCHLIKELY,HAVE_SQRT_P,
18420 CONDITIONAL_REGISTER_USEAGE): Use them.
18421 * config/mips/mips.c (mips_move_1word,mips_move_2words,
18422 gen_conditional_branch,override_options) : Use them.
18423 * config/mips/mips.md : Use them.
18425 Tue Oct 26 13:09:23 1999 Richard Henderson <rth@cygnus.com>
18427 * i386.md (zero_extendqihi2): Use SImode register name with andl.
18429 Tue Oct 26 12:35:38 1999 Richard Henderson <rth@cygnus.com>
18431 * integrate.c (function_cannot_inline_p): Don't allow inlining
18434 Tue Oct 26 14:10:23 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
18436 * c-parse.in (cast_expr): Constify.
18438 * cccp.c (special_symbol): Likewise.
18440 * cse.c (hash_cse_reg_info, cse_reg_info_equal_p): Likewise.
18442 * dwarf2out.c (base_type_die): Likewise.
18444 * global.c (allocno_compare): Likewise.
18446 * local-alloc.c (qty_compare_1, qty_sugg_compare_1): Likewise.
18448 * regclass.c (fix_register): Likewise.
18450 * rtl.h (fix_register): Likewise.
18452 * stupid.c (stupid_reg_compare): Likewise.
18454 * toplev.c (decode_f_option): Likewise.
18456 * tree.c (build_complex_type): Likewise.
18458 Tue Oct 26 18:35:25 1999 Richard Earnshaw <rearnsha@arm.com>
18460 * output.h: Don't unnecessarily conditionalize prototypes on TREE_CODE.
18462 Tue Oct 26 15:42:56 1999 Bernd Schmidt <bernds@cygnus.co.uk>
18464 * reload.c (find_reloads): Compute mode and nregs fields of all
18466 * reload1.c (calculate_needs_all_insns): Simplify a bit.
18467 (calculate_needs): Use precomputed mode/nregs values.
18468 (allocate_reload_reg): Likewise.
18470 (failed_reload, set_reload_reg): ... new functions.
18471 (choose_reload_regs_init): New function, mostly broken out from...
18472 (choose_reload_regs): ... here. Lose all the save_xxx nonsense.
18473 Also lose one #if 0 block.
18475 Tue Oct 26 02:48:32 1999 Marc Espie <espie@cvs.openbsd.org>
18477 * Makefile.in (AR_FOR_TARGET, RANLIB_FOR_TARGET): Fix target name
18480 Tue Oct 26 01:27:32 1999 Mark Mitchell <mark@codesourcery.com>
18482 * tree.h (BLOCK_TYPE_TAGS): Remove.
18483 (BLOCK_END_NOTE): Likewise.
18484 (BLOCK_LIVE_RANGE_FLAG): Likewise.
18485 (BLOCK_LIVE_RANGE_START): Likewise.
18486 (BLOCK_LIVE_RANGE_END): Likewise.
18487 (tree_block): Remove live_range_flag, live_range_var_flag, and
18488 type_tags. Remove end_note, live_range_start, and live_range_end.
18489 (remember_end_note): Remove prototype.
18490 * tree.c (build_block): Don't set BLOCK_TYPE_TAGS.
18491 * c-decl.c (poplevel): Don't set BLOCK_TYPE_TAGS or call
18493 * ggc-common.c (ggc_mark_tree_children): Don't mark
18494 BLOCK_TYPE_TAGS or BLOCK_END_NOTE.
18495 * integrate.c (adjust_copied_decl_tree): Remove.
18496 * print-tree.c (print_node): Don't print BLOCK_TYPE_TAGS.
18497 * stmt.c (last_block_end_note): Remove.
18498 (init_stmt): Don't add a GC root for it.
18499 (expand_fixup): Don't set it.
18500 (remember_end_note): Remove.
18501 (expand_end_bindings): Don't set last_block_end_note.
18503 Tue Oct 26 00:41:54 1999 Bernd Schmidt <bernds@cygnus.co.uk>
18505 * reload1.c (reload_reg_free_for_value_p): Show
18506 RELOAD_FOR_OTHER_ADDRESS reloads can conflict with RELOAD_OTHER
18509 Mon Oct 25 23:54:45 1999 Geoff Keating <geoffk@cygnus.com>
18511 * expmed.c (extract_bit_field): Allow for the case of non-integer
18512 objects that are smaller than a word (like SFmode on a 64-bit
18515 * loop.c (basic_induction_var): A non-integer variable which is
18516 being set by a paradoxical subreg is probably not a biv.
18518 1999-10-25 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
18520 * prefix.c (translate_name) Check for empty prefix string.
18522 Mon Oct 25 23:10:45 1999 Andreas Schwab <schwab@suse.de>
18524 * Makefile.in (CPP_CROSS_NAME): New variable.
18525 (install-cpp): Use it instead of CPP_INSTALL_NAME for the cross
18527 (uninstall-cpp): Use CPP_INSTALL_NAME and CPP_CROSS_NAME for the
18528 names of the files to be uninstalled.
18530 Mon Oct 25 23:03:09 1999 Jeffrey A Law (law@cygnus.com)
18532 * collect2.c (IS_DIR_SEPARATOR): Define.
18533 (prefix_from_string): Use IS_DIR_SEPARATOR and DIR_SEPARATOR.
18535 * som.h (ASM_DECLARE_FUNCTION_NAME): Set PRIV_LEV for static
18538 * haifa-sched.c (add_dependence): Update the true dependency
18539 cache the first time we add a true dependence to the LOG_LINKS chain.
18541 Mon Oct 25 22:27:40 1999 Jim Kingdon <http://developer.redhat.com/>
18543 * fold-const.c (fold): Fix comment.
18545 Mon Oct 25 22:49:34 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
18547 * dbxout.c (lastfile, cwd, dbxout_type_method_1,
18548 dbxout_symbol_location, dbxout_symbol_name, dbxout_init,
18549 dbxout_start_new_source_file, dbxout_source_file,
18550 dbxout_source_line, dbxout_finish, dbxout_type_fields,
18551 dbxout_type_methods, dbxout_symbol, dbxout_prepare_symbol):
18553 (dbxout_types, dbxout_args, dbxout_symbol): Delete prototypes.
18554 (dbxout_symbol): Mark parameter `local' with ATTRIBUTE_UNUSED.
18555 (dbxout_block): Initialize variable `blocknum'.
18557 * dbxout.h (dbxout_init, dbxout_finish,
18558 dbxout_start_new_source_file, dbxout_source_file, dbxout_types,
18559 dbxout_args, dbxout_source_line): Constify a char*.
18561 * dwarfout.c (dwarf_tag_name, dwarf_attr_name,
18562 dwarf_stack_op_name, dwarf_typemod_name, dwarf_fmt_byte_name,
18563 dwarf_fund_type_name, name_attribute, stmt_list_attribute,
18564 low_pc_attribute, high_pc_attribute, body_begin_attribute,
18565 body_end_attribute, comp_dir_attribute, sf_names_attribute,
18566 src_info_attribute, mac_info_attribute, producer_attribute,
18567 lookup_filename, generate_macinfo_entry, fundamental_type_code,
18568 dwarfout_line, dwarfout_start_new_source_file, dwarfout_define,
18569 dwarfout_undef): Constify a char*.
18570 (add_incomplete_type, retry_incomplete_types): Add prototypes.
18572 * dwarfout.h (dwarfout_define, dwarfout_undef,
18573 dwarfout_start_new_source_file, dwarfout_line): Constify a char*.
18575 1999-10-25 Gavin Romig-Koch <gavin@cygnus.com>
18577 * config/mips/mips.h (MIPS_ISA_DEFAULT): Insure it's defined.
18578 (MULTILIB_ISA_DEFAULT): New.
18579 (MULTILIB_DEFAULTS): Use it.
18580 * config/mips/mips.c (): Remove the now unnecessary definition
18581 of MIPS_ISA_DEFAULT.
18582 * config/mips/elf64.h (MULTILIB_DEFAULTS): Remove the now
18583 unnecessary definition.
18585 Mon Oct 25 22:08:35 1999 Richard Earnshaw (rearnsha@arm.com)
18587 * arm.md (pic_load_addr): Add constraints to operand 1.
18589 1999-10-25 Bruce Korb <autogen@linuxbox.com>
18591 * fixinc/genfixes: Provide a means for specifying -D options to
18594 Mon Oct 25 00:42:35 1999 Jeffrey A Law (law@cygnus.com)
18596 * arm.c (arm_override_options): Correct initialization of
18597 arm_fast_multiply, arm_arch4, arm_arch5, arm_ld_sched,
18598 arm_is_strong, and arm_is_6_or_7.
18600 * loop.c (note_set_pseudo_multiple_uses_retval): New variable.
18601 (note_set_pseudo_multiple_uses): New function.
18602 (check_dbra_loop): Use not_set_pseudo_multiple_uses to determine
18603 if a pseudo set in the loop exit is used elsewhere.
18605 Sun Oct 24 20:52:40 1999 Mark Mitchell <mark@codesourcery.com>
18607 * i386.md (mulsi3): Tweak to work with SCO OSR5 COFF assembler.
18609 Sun Oct 24 21:02:46 1999 Richard Henderson <rth@cygnus.com>
18611 * i386.md (*lea_0): Collapse addsi_0, addsi_lea_[123] into
18612 a single load-address pattern.
18614 Sun Oct 24 19:33:24 1999 Mark P. Mitchell <mark@codesourcery.com>
18616 * haifa-sched.c (schedule_insns): Don't assign LUIDs differently
18617 depending on whether or not line-number notes are present.
18619 Sun Oct 24 20:29:59 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
18621 * cccp.c (progname, file_buf, default_include, include_file,
18622 macrodef, definition, hashval, wchar_type, user_label_prefix,
18623 directive, out_fname, if_stack, safe_write, index0, get_lintcmd,
18624 expand_to_temp_buffer, is_system_include, base_name,
18625 absolute_filename, read_name_map, open_include_file,
18626 record_control_macro, check_precompiled, check_preconditions,
18627 pcfinclude, pass_thru_directive, create_definition,
18628 check_macro_name, comp_def_part, collect_expansion,
18629 check_assertion, read_token_list, assertion_install,
18630 assertion_lookup, eval_if_expression, conditional_skip,
18631 validate_else, skip_quoted_string, quote_string, macarg1,
18632 error_from_errno, install, lookup, hashf, dump_defn_1,
18633 perror_with_name, pfatal_with_name, main, trigraph_pcp,
18634 check_white_space, rescan, handle_directive, monthnames,
18635 special_symbol, do_include, remap_include_file, write_output,
18636 arglist, do_assert, do_unassert, do_line, do_error, do_once,
18637 do_ident, do_sccs, do_xifdef, skip_if_group,
18638 output_line_directive, macroexpand, macarg, change_newlines,
18639 initialize_builtins, make_definition): Constify a char*.
18641 * pcp.h (stringdef): Likewise.
18643 Sun Oct 24 13:29:28 1999 Richard Henderson <rth@cygnus.com>
18645 * unroll.c (copy_loop_body): Examine SET_DEST of single_set
18648 Sun Oct 24 13:14:20 1999 Graham <grahams@rcp.co.uk>
18649 Richard Henderson <rth@cygnus.com>
18651 * alias.c: Include ggc.h.
18652 (reg_base_value, new_reg_base_value, reg_base_value_size): Make static.
18653 (record_set): Verify enough room in reg_base_value.
18654 (init_alias_analysis): Allocate reg_base_value with xcalloc.
18655 Register it as a GC root.
18656 (end_alias_analysis): Free reg_base_value. Remove it as a GC root.
18657 * Makefile.in (alias.o): Depend on ggc.h.
18659 * unroll.c (unroll_loop): Verify the insn before a barrier
18660 is a JUMP_INSN before checking JUMP_LABEL.
18662 Sun Oct 24 15:46:44 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
18664 * mips/bsd-5.h (ASM_OUTPUT_ASCII): Constify a char*.
18665 * mips/iris4.h (ASM_OUTPUT_ASCII): Likewise.
18666 * mips/mips-5.h (ASM_OUTPUT_ASCII): Likewise.
18667 * mips/mips.h (ASM_OUTPUT_ASCII): Likewise.
18668 * mips/svr3-5.h (ASM_OUTPUT_ASCII): Likewise.
18669 * mips/svr4-5.h (ASM_OUTPUT_ASCII): Likewise.
18671 Sun Oct 24 15:35:43 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
18673 * output.h (ctors_section, dtors_section, bss_section): Prototype.
18675 * alpha/alpha-interix.h (text_section): Delete prototype.
18676 * alpha/elf.h (text_section): Likewise.
18677 * arm/linux-elf.h (text_section): Likewise.
18678 * arm/linux-telf.h (text_section): Likewise.
18679 * c4x/c4x.h (text_section): Likewise.
18680 * dsp16xx/dsp16xx.h (bss_section): Likewise.
18681 * elfos.h (text_section): Likewise.
18682 * i386/aix386ng.h (text_section): Likewise.
18683 * i386/i386-interix.h (text_section): Likewise.
18684 * i386/sco5.h (text_section): Likewise.
18685 * i386/svr3gas.h (text_section): Likewise.
18686 * nextstep.h (text_section): Likewise.
18687 * psos.h (text_section): Likewise.
18688 * ptx4.h (text_section): Likewise.
18689 * svr3.h (text_section): Likewise.
18690 * svr4.h (text_section, ctors_section, dtors_section): Likewise.
18692 Sun Oct 24 15:20:59 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
18694 * final.c (peephole): Delete prototype.
18696 * gcse.c (process_insert_insn, pre_edge_insert): Add prototypes.
18697 (pre_insert_copies): Remove unused variable `bb'.
18699 * genrecog.c (debug_decision_0, debug_decision_list, main): Add
18702 * output.h (peephole): Add prototype.
18704 Sun Oct 24 11:35:30 1999 Mark P. Mitchell <mark@codesourcery.com>
18706 * config/mips/iris6.h (SUBTARGET_ASM_OPTIMIZING_SPEC): Define to
18709 Sat Oct 23 21:13:00 1999 Mark Mitchell <mark@codesourcery.com>
18711 * integrate.c (integrate_decl_tree): Tweak setting of DECL_CONTEXT
18712 for inlined declarations.
18714 Fri Oct 22 18:05:43 1999 Jeffrey A Law (law@cygnus.com)
18716 * arm.c (logical_binary_operator): New fucntion.
18717 * arm.h (logical_binary_operator): Declare it.
18718 (PREDICATE_CODES): Handle logical_binary_operator.
18719 * arm.md (anddi3, anddi_zesidi_di, anddi_sesdi_di): Use "#" for
18720 output constraints. Add appropriate splitters.
18721 (anddi_notdi_di, anddi_notzesidi_di, anddi_notsesidi_di): Likewise.
18722 (iordi3, iordi_zesidi_di, iordi_sesidi_di): Likewise.
18723 (xordi3, xordi_zesidi_di, xordi_sesidi_di): Likewise.
18725 Fri Oct 22 23:46:50 1999 Bernd Schmidt <bernds@cygnus.co.uk>
18727 * genoutput.c (struct operand_data): New elt eliminable.
18728 (output_operand_data): Write it.
18729 (scan_operands): Set it for MATCH_OPERAND, clear for other matchers.
18730 (compare_operands): Take it into account.
18731 * recog.h (struct insn_operand_data): New elt eliminable.
18732 * reload1.c (check_eliminable_occurrences, elimination_effects): New
18734 (old_asm_operands_vec, new_asm_operands_vec): Delete.
18735 (eliminate_regs): Move code that detects changes to elimination
18736 target regs into new function elimination_effects.
18737 Delete one #if 0 block.
18738 Abort for USE, CLOBBER, ASM_OPERANDS and SET.
18739 (eliminate_regs_in_insn): Return immediately for USEs, CLOBBERs,
18740 ADDR_VECs, ADDR_DIFF_VECs and ASM_INPUTs.
18741 Only call eliminate_regs for real operands of the insn, not for parts
18742 of its structure or parts matched by things like match_operator.
18743 Use elimination_effects and check_eliminable_occurrences. Use
18744 copy_insn to duplicate the pattern when not in the final pass.
18746 Fri Oct 22 09:03:44 1999 Mark Mitchell <mark@codesourcery.com>
18748 * i386.md: Add missing `y' modifiers to uses of fst, fstp, fld,
18751 1999-10-22 Bruce Korb <autogen@linuxbox.com>
18753 * fixinc/README: document the "mach" machine matching test
18754 * fixinc/fixfixes.c: Implement the #else/#endif label fix
18755 * fixinc/fixtests.c: Implement the #else/#endif label test
18756 * fixinc/inclhack.def: utilize these tests and fixes
18757 * fixinc/inclhack.sh: regen
18758 * fixinc/fixincl.x: regen
18759 * fixinc/fixincl.sh: regen
18761 Thu Oct 21 20:37:19 1999 Jeffrey A Law (law@cygnus.com)
18763 * Makefile.in (cse.o): Depend on hashtab.h, not splay-tree.h. Also
18766 Thu Oct 21 20:30:19 1999 Matthias Klose <doko@debian.org>
18768 * gcc.1: Document exit codes.
18770 Thu Oct 21 12:49:05 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
18772 * calls.c: Include tm_p.h later, so everything we need is defined.
18773 * expr.c: Likewise.
18774 * function.c: Likewise.
18776 * except.c: Include tm_p.h.
18778 * sparc.c: Likewise.
18779 (dwarf2out_cfi_label): Don't prototype.
18780 (check_return_regs, epilogue_renumber,
18781 ultra_cmove_results_ready_p, ultra_fpmode_conflict_exists,
18782 ultra_find_type, ultra_build_types_avail, ultra_flush_pipeline,
18783 ultra_rescan_pipeline_state, set_extends, ultra_code_from_mask,
18784 ultra_schedule_insn): Add static prototype.
18785 (data_segment_operand, text_segment_operand): Call itself with the
18786 proper number of arguments.
18787 (sparc_flat_save_restore, sparc_v8plus_shift): Constify a char*.
18789 * sparc.h: Move all declarations to sparc-protos.h.
18790 (SELECT_RTX_SECTION): Pass a missing MODE argument to
18793 * sparc/sysv4.h (SELECT_RTX_SECTION): Likewise.
18795 * config/svr4.h (text_section, ctors_section, dtors_section): Add
18797 (ASM_OUTPUT_SECTION_NAME, UNIQUE_SECTION,
18798 ASM_FINISH_DECLARE_OBJECT, ASM_OUTPUT_LIMITED_STRING,
18799 ASM_OUTPUT_ASCII): Constify a char*.
18801 * sparc-protos.h: New file for sparc prototypes.
18803 Thu Oct 21 12:23:40 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
18805 * function.c (record_insns, contains): Always declare and define.
18806 (record_insns): Mark with ATTRIBUTE_UNUSED.
18808 Thu Oct 21 13:03:49 1999 Jonathan Larmour <jlarmour@cygnus.co.uk>
18810 * config/arm/telf.h (ASM_OUTPUT_SECTION_NAME): Add %nobits option
18811 to .section when outputting a .bss section to deal with multiple
18812 .bss input sections (as happens with -fdata-sections)
18813 Also output %progbits, not @progbits so the assembler doesn't treat as
18815 * config/arm/unknown-elf.h (ASM_OUTPUT_SECTION_NAME): Likewise
18817 * config/arm/lib1funcs.asm (_call_via_rX): Allow compilation of
18818 thumb parts even when building with non-thumb CPUs, by forcing
18821 Wed Oct 20 22:57:58 1999 Jeffrey A Law (law@cygnus.com)
18823 * sparc.md (movsf_const_intreg): If splitting, length must be > 1.
18824 (movdf_const_intreg_sp64): Similarly.
18826 * local-alloc.c (update_equiv_regs): Check the correct insn
18827 for pre-existing REG_EQUIV notes.
18829 Wed Oct 20 20:41:46 1999 Mark Mitchell <mark@codesourcery.com>
18831 * cse.c (cse_end_of_basic_block): Don't return the end of a basic
18832 block reached by a branch if we're not going to actually process
18835 Wed Oct 20 15:18:42 1999 Jim Wilson <wilson@cygnus.com>
18837 * integrate.c (integrate_decl_tree): Set DECL_CONTEXT to 0 if this is
18838 a local extern function declaration.
18840 Wed Oct 20 13:56:01 1999 Richard Henderson <rth@cygnus.com>
18842 * i386.c (ix86_expand_prologue): Properly wrap USE around
18843 reg for CALL_INSN_FUNCTION_USAGE.
18845 Thu Oct 14 18:51:37 1999 Andrew Haley <aph@cygnus.com>
18847 * config/mips/mips.md (movdf_internal1a): Allow floating-point
18848 move between GP_REGs.
18850 Wed Oct 20 15:36:11 1999 Andrew Haley <aph@cygnus.com>
18852 * config/arm/thumb.h (GO_IF_LEGITIMATE_ADDRESS): Take account of
18853 the mode size when finding out if an offset is legal.
18855 Wed Oct 20 06:26:58 1999 Richard Henderson <rth@cygnus.com>
18857 * basic-block.h (PROP_*): Move constants from ...
18858 * flow.c: ... here.
18859 (compute_bb_for_insn): Free the array before reallocating.
18860 (update_life_info): New arg PROP_FLAGS; pass on to propagate_block.
18861 (allocate_reg_life_data): Reset all reg variables collected by
18863 (get_block_head_tail): Don't convert from bb to block.
18864 (get_bb_head_tail): New. Update all callers of get_block_head_tail.
18865 (find_insn_reg_weight): Take block not bb.
18866 (schedule_block): Don't set block num for moved insns.
18867 (schedule_region): Don't update_life_info or find_insn_reg_weight.
18868 (schedule_insns): Do it here instead.
18869 * combine.c (combine_instructions): Invoke compute_bb_for_insn
18870 before update_life_info.
18871 * recog.c (split_all_insns, peephole2_optimize): Update for
18872 new arg to update_life_info.
18873 * rtlanal.c (remove_note): Cope with NULL note.
18874 * toplev.c (rest_of_compilation): Don't invoke recompute_reg_usage
18877 Wed Oct 20 10:46:41 1999 Richard Earnshaw (rearnsha@arm.com)
18879 * jump.c (jump_optimize_1): More accurately detect casesi insns.
18881 * flow.c (merge_blocks_move_predecessor_nojumps): Re-order the basic
18882 block records so that merge_blocks_nomove will clean up correctly.
18883 (split_edge): Handle casesi insns.
18885 * gcc-page.c: Try MAP_ANON if we don't have MAP_ANONYMOUS.
18887 Tue Oct 19 23:43:50 1999 Jeffrey A Law (law@cygnus.com)
18889 * pa.md (call, call_value): Do not emit a blockage after restoring
18892 Tue Oct 19 17:22:39 1999 Mark Mitchell <mark@codesourcery.com>
18894 * c-typeck.c (c_expand_asm_operands): Fix typo.
18896 Tue Oct 19 18:42:58 1999 Bernd Schmidt <bernds@cygnus.co.uk>
18898 * arm.c (fpu_rhs_operand): Verify modes.
18899 (fpu_add_operand): Likewise.
18900 (di_operand): Likewise.
18901 (soft_df_operand): Likewise.
18903 Tue Oct 19 15:26:11 1999 Richard Earnshaw (rearnsha@arm.com)
18905 * arm.c (arm_return_in_memory): APCS rules state that the elements
18906 of a structure returned in a register must be 'integer-like'.
18908 1999-10-19 Bruce Korb <autogen@linuxbox.com>
18910 * fixinc/Makefile.in: Change the generation rules to run `genfixes'
18911 in the source tree when the generated targets are out of date
18912 * fixinc/genfixes: Alter it to run individual fixes for make.
18913 * fixinc/README: rewrite
18914 * fixinc/inclhack.def: moved initial comments to README
18916 Tue Oct 19 14:01:34 1999 Nick Clifton <nickc@cygnus.com>
18918 * toplev.c (main): Do not generate an error message if an
18919 unrecognised command line switch is recognisable by another
18920 language. If extra_warnings are enabled, then generate a
18921 warning message instead.
18923 Tue Oct 19 11:41:12 1999 Mumit Khan <khan@xraylith.wisc.edu>
18925 * c-pragma.h (PRAGMA_INSERT_ATTRIBUTES): Delete macro.
18926 (insert_pack_attributes): Delete prototype.
18928 * c-pragma.c (default_alignment): New static variable.
18929 (push_alignment): Initialize to current effective alignment.
18930 (pop_alignment): Use to set new alignment.
18931 (insert_pack_attributes): Delete function.
18932 (handle_pragma_token): Set default_alignment as well each time
18933 a #pragma pack(<n>) is encountered.
18935 Tue Oct 19 02:03:00 1999 Jeffrey A Law (law@cygnus.com)
18937 * reg-stack.c (stack_result): Aggregates are not returned in
18940 Tue Oct 19 01:26:48 1999 Alasdair Baird <alasdair@wildcat.demon.co.uk>
18942 * fold-const.c (fold): Fix thinko in x+(-0) -> x transformation.
18944 Mon Oct 18 15:19:41 1999 Richard Henderson <rth@cygnus.com>
18946 * basic-block.h (set_block_num): Declare.
18947 * flow.c (update_life_info): Don't call compute_bb_for_insn
18948 or free_basic_block_vars.
18949 * haifa-sched.c (remove_dependence): Conditionalize on HAVE_cc0.
18950 (insn_orig_block): Remove.
18951 (INSN_BLOCK): Remove. Update all callers to use BLOCK_NUM.
18952 (schedule_block): Keep BLOCK_NUM up-to-date.
18953 (schedule_insns): Use compute_bb_for_insn.
18954 * recog.c (split_all_insns): Likewise.
18955 (peephole2_optimize): Likewise.
18957 Mon Oct 18 18:50:51 1999 Andreas Schwab <schwab@suse.de>
18959 * config/m68k/m68k.h (INITIAL_FRAME_POINTER_OFFSET): Add one word
18960 if the pic register is used.
18962 Mon Oct 18 02:38:46 1999 Bernd Schmidt <bernds@cygnus.co.uk>
18964 * c-decl.c (pushdecl): Use TYPE_CONTEXT rather than TREE_PERMANENT.
18965 (finish_decl): Duplicate test for TREE_ASM_WRITTEN in else branch of
18966 if that tests TREE_PERMANENT.
18968 Mon Oct 18 01:41:35 1999 Jeffrey A Law (law@cygnus.com)
18970 * cse.c (invalidate_for_call): Do not remove memory references from
18971 the table here. It's handled elsewhere.
18973 * haifa-sched.c (add_dependence): Protect references to the
18974 true dependency cache with #ifdef INSN_SCHEDULING.
18975 (remove_dependence): Similarly.
18977 * mn10200.md (outline_epilogue_jump): Embed a (return) to indicate
18978 to the cfg code that this is a return instruction.
18979 * mn10300.md (return_internal): Similarly.
18981 * combine.c (get_last_value): If the last set of a register
18982 is after subst_low_cuid, then we can not use it to determine
18983 the register's last value.
18985 Sun Oct 17 11:02:52 1999 Mark Mitchell <mark@codesourcery.com>
18987 * Makefile.in: Back out previous change.
18989 Sun Oct 17 15:22:50 1999 Jeffrey A Law (law@cygnus.com)
18991 * pa.c (move_operand): Reject (lo_sum (reg) (unspec ...)).
18993 * haifa-sched.c (add_dependence): Only check/update the cache
18995 (remove_dependence): Likewise.
18996 (schedule_insns): Only create the true_dependency_cache if the
18997 average number of instructions in a basic block is very large.
18999 Sun Oct 17 11:02:52 1999 Mark Mitchell <mark@codesourcery.com>
19001 * Makefile.in (ggc-common.o): Depend on genrtl.h.
19002 (ggc-simple.o): Likewise.
19003 (ggc-page.o): Likewise.
19005 Sun Oct 17 02:09:50 1999 Andrew MacLeod <amacleod@cygnus.com>
19007 * basic-block.h (pre_edge_lcm, pre_edge_rev_lcm, compute_available):
19008 Prototype for exported functions.
19009 (pre_lcm, pre_rev_lcm): Remove prototypes.
19010 * gcse.c (compute_ae_kill): Add ae_gen and ae_kill as parameters.
19011 (compute_available): Move to lcm.c, and change parameter order.
19012 (one_classic_gcse_pass): Call compute_ae_kill with parameters.
19013 (pre_insert, s_preds, s_succs, num_preds, num_succs): Delete.
19014 (gcse_main): No longer call compute_preds_succs. Rebuild the
19015 set table after reach pre pass.
19016 (pre_insert_map, pre_delete_map, edge_list): New.
19017 (alloc_pre_mem): Allocate edge vectors.
19018 (free_pre_mem): Delete edge vectors.
19019 (compute_pre_data): Call new edge based lcm routines.
19020 (process_insert_insn): New function.
19021 (insert_insn_end_bb): Use it.
19022 (pre_edge_insert): New function.
19023 (pre_insert_copy_insn): Formatting fixes. Update BLOCK_END as
19025 (pre_insert_copies): Revamp using new edge based lcm outputs.
19026 (pre_delete): Likewise.
19027 (one_pre_gcse_pass): Insert & remove fake edges to the exit
19029 (compute_code_hoist_vbeinout): New new edge based routines.
19030 * lcm.c: Remove all the old LCM functions. Replace with new ones
19031 that work with the new cfg datastructures and work with edges
19034 Sun Oct 17 00:44:17 1999 Bernd Schmidt <bernds@cygnus.co.uk>
19036 * reload.h (struct reload): Add new fields "mode" and "nregs".
19037 * reload1.c: Change all occurrences of reload_mode and reload_nregs
19038 to reference the "mode" and "nregs" field within struct reload.
19040 Sat Oct 16 21:50:28 1999 Jeffrey A Law (law@cygnus.com)
19042 * haifa-sched.c (true_dependency_cache): New.
19043 (add_dependence): Use the true dependency cache to avoid expensive
19044 walks down the LOG_LINKS dependency list. Add entries to the
19045 cache as necessary.
19046 (remove_dependence): Remove entries from the true dependency cache
19048 (schedule_insns): Allocate and initialize and free the true
19051 * haifa-sched.c (schedule_insns): Do not remove inter-block
19052 dependencies anymore.
19054 Sat Oct 16 11:19:52 1999 Richard Henderson <rth@cygnus.com>
19056 * i386/t-cygwin (winnt.o): Depend on RTL_H and TREE_H.
19057 * i386/t-winnt: Likewise.
19059 Sat Oct 16 11:11:54 1999 Richard Henderson <rth@cygnus.com>
19061 * ggc-page.c (init_ggc): Work around SunOS unaligned mmap bug.
19063 1999-10-16 Manfred Hollstein <mhollstein@cygnus.com>
19065 * Makefile.in (LANGUAGES): Omit "proto".
19066 (clean): Remove stale comment about removing unprotoize.c.
19068 Sat Oct 16 11:29:14 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
19070 * protoize.c (safe_read, safe_write): Avoid the gcc extension of
19071 using arithmetic on void pointers.
19073 Sat Oct 16 02:48:22 1999 Jeffrey A Law (law@cygnus.com)
19075 * haifa-sched.c (compute_block_forward_dependencies): Only check
19076 for notes, deleted insns and duplicates if ENABLE_CHECKING is defined.
19078 Sat Oct 16 00:07:01 1999 Richard Henderson <rth@cygnus.com>
19080 * gcse.c (hash_expr_1): Add in MEM_ALIAS_SET.
19081 (expr_equiv_p): Reject memories with different alias sets.
19083 Fri Oct 15 15:17:29 1999 Greg McGary <gkm@gnu.org>
19085 * flags.h (flag_bounds_check, flag_bounded_pointers): New extern decls.
19086 * toplev.c (flag_bounds_check, flag_bounded_pointers): New flags.
19087 (f_options): Add "bounded-pointers" and "bounds-check" entries.
19088 * c-lang.c (lang_init_options): Set flag_bounds_check as "unspecified".
19089 (lang_init): Set default for flag_bounds_check if still "unspecified".
19091 Sat Oct 16 13:42:29 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
19093 * config/c4x/c4x.md (HF mode patterns): Add missing modes.
19095 Sat Oct 16 13:37:46 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
19097 * config/c4x/c4x.md (movstrqi_small): Utilise parallel move
19100 Sat Oct 16 13:26:47 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
19102 * config/c4x/c4x.md (*db_noclobber,
19103 *decrement_and_branch_until_zero_noclobber): New patterns and
19104 associated splitters.
19106 Sat Oct 16 13:13:15 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
19108 * config/c4x/c4x.md (parallel instruction patterns): Rework
19109 constraints to keep reload happy.
19111 Sat Oct 16 13:03:16 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
19113 * config/c4x/c4x.md (*absqi2_noclobber, *negqi2_noclobber,
19114 *one_cmplqi2_noclobber, *subqi3_noclobber, *andqi3_255_noclobber,
19115 *andqi3_65535_noclobber, *andnqi3_noclobber, *xorqi3_noclobber):
19116 Add new patterns and associated post-reload splitters.
19118 Sat Oct 16 12:42:12 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
19120 * config/c4x/c4x.c (c4x_emit_libcall): Use ggc_alloc_string.
19122 Sat Oct 16 12:34:44 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
19124 * config/c4x/c4x.c (c4x_rptb_insert): Emit rpts_top pattern
19126 * config/c4x/c4x.md (rpts_top): New pattern and splitter.
19128 Sat Oct 16 12:26:30 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
19130 * config/c4x/c4x.c (src_operand): Check SYMBOL_REF and LABEL_REF
19133 Fri Oct 15 17:02:09 1999 Jeffrey A Law (law@cygnus.com)
19135 * pa.c (move_operand): Rely on memory_address_p to determine the
19136 validity of non-indexed memory addresses.
19137 * pa.h (GO_IF_LEGITIMATE_ADDRESS): Allow LO_SUM with a symbolic
19138 operand in DFmode and SFmode when generating PA2.0 code.
19140 Fri Oct 15 14:25:19 1999 Richard Henderson <rth@cygnus.com>
19142 * print-rtl.c (print_rtx): Limit last 'u' change to LABEL_REF.
19144 Fri Oct 15 13:48:45 1999 Richard Henderson <rth@cygnus.com>
19146 * mips.c (function_prologue): Fix argument types.
19147 * mips.md (casesi): Use emit_jump_insn for casesi_internal.
19148 (casesi_internal): Write to the scratch register.
19150 1999-10-15 11:16 -0700 Zack Weinberg <zack@bitmover.com>
19152 * cppexp.c (cpp_parse_escape): Make static. Change second arg
19154 (parse_charconst): Delete unnecessary cast when calling
19156 (cpplib.h): Kill prototype of cpp_parse_escape.
19158 Fri Oct 15 11:02:46 1999 Richard Henderson <rth@cygnus.com>
19160 Based on patch from Michael Gschwind <mikeg@watson.ibm.com>:
19161 * unroll.c (unroll_loop): Cast return value of alloca.
19162 * i370/i370.c: Include function.h and toplev.h.
19163 (i370_label_scan): Remove c++ commented abort.
19164 * i370/i370.h (HANDLE_PRAGMA): Takes three arguments.
19165 (ASM_OUTPUT_LABELREF): Fix TOUPPER/else broken 16 Sept.
19166 * i370/xm-i370.h (HOST_BITS_PER_LONGLONG): Define.
19167 * i370/xm-mvs.h, i370/xm-oe.h: Likewise.
19169 Fri Oct 15 03:01:01 1999 Loren Rittle <ljrittle@acm.org>
19171 * config/t-freebsd: Do not override USER_H.
19172 * ginclude/stddef.h: Generalize check for _MACHINE_ANSI_H_.
19174 Fri Oct 15 02:37:28 1999 Alastair J. Houghton <ajh8@doc.ic.ac.uk>
19175 Mumit Khan <khan@xraylith.wisc.edu>
19177 * c-parse.in (component_decl): Support anonymous struct/union.
19179 * c-parse.y: Regenerate.
19180 * c-parse.c: Likewise.
19181 * objc/objc-parse.y: Likewise.
19182 * objc/objc-parse.c: Likewise.
19183 * c-decl.c (finish_struct): Don't sort the fields.
19184 (field_decl_cmp): Delete unused function.
19186 Fri Oct 15 01:20:52 1999 Richard Henderson <rth@cygnus.com>
19188 * sparc.md (movsf_const_intreg): Revert last constraint change.
19189 (movdf_const_intreg_sp32): Likewise.
19191 Fri Oct 15 01:47:51 1999 Vladimir Makarov <vmakarov@loony.cygnus.com>
19193 * cse.c: Include hashtab.h instead of splay-tree.h
19194 (struct cse_reg_info): No longer use variant union. Add new
19195 field "regno". All references changed to avoid union.
19196 (cse_reg_info_used_list, cse_reg_info_used_list_end): New variables.
19197 (free_cse_reg_info): Remove.
19198 (hash_cse_reg_info, cse_reg_info_equal_p): New functions.
19199 (get_cse_reg_info): Revamp to use expandable hash tables instead
19200 of splay trees. Initialize new fields in cse_reg_info structure.
19201 (new_basic_block): Similarly.
19203 Thu Oct 14 23:51:56 1999 Richard Henderson <rth@cygnus.com>
19205 * genrecog.c (message_with_line): Prototype.
19206 (validate_pattern): Pass along the set for the dest, not a flag.
19207 Fix non-lvalue message. Don't warn for VOIDmode SET_DEST of CALL.
19208 Check for PC/CC0 as sources.
19209 (nodes_identical): Check for children position match before
19210 allowing the combination.
19212 * rtl.c (read_rtx): Track line number across \\\n.
19214 Thu Oct 14 23:50:25 1999 Richard Henderson <rth@cygnus.com>
19216 * mips.h (SPECIAL_MODE_PREDICATES): New.
19217 * mips.md (*) Use nonimmediate_operand not general_operand for outputs.
19218 (movdi+1, movsi+1): Add output reload constraint.
19219 (casesi_internal): Likewise. Fix commentary.
19220 (return_internal): Use pmode_register_operand.
19222 Thu Oct 14 23:19:34 1999 Richard Henderson <rth@cygnus.com>
19224 * 1750a.md (movstrqi): Add missing output reload constraint.
19225 (call_value): Likewise.
19226 * a29k.md (cpxxx patterns): Add missing match_operator mode.
19227 (jmpfdec): Add missing inout reload constraint.
19228 * elxsi.md (addsi patterns): Add missing output reload constraint.
19229 (move from sp): Use @ alternates.
19230 (call_value): No constraint on output.
19231 * fr30.md (movsi_pop): Add missing output reload constraint.
19232 (movsf_constant_store): Likewise.
19233 (splits): Remove constraints.
19234 (subsi3): Add missing mode.
19235 * i370.md (cmpstrsi+1): Add missing output reload constraint.
19236 (call_value): Likewise.
19237 * i960.md (cmpinc/cmpdec patterns): Add inout reload constraints.
19238 * m32r.h (PREDICATE_CODES): Add seth_add3_operand.
19239 * m32r.md (movsicc_internal): Add output reload constraint.
19240 (movstrsi_internal): Add inout reload constraints.
19241 * m88k.h (reg_names): Don't declare.
19242 (SPECIAL_MODE_PREDICATES): New.
19243 * m88k.md (*): Use register_operand not reg_or_0_operand
19245 * mn10200.h (PREDICATE_CODES): New.
19246 * ns32k.md (ffs pattern): Add output reload constraint.
19247 * pdp11.md (sob pattern): Add inout reload constraint.
19248 * sh.md (splits): Remove constraints.
19249 (indirect_jump_scratch, fpu_switch): Add output reload constraint.
19250 * v850.md (pattern_is_ok_for_epilogue): Likewise.
19251 * vax.md (jgequ pattern): Add inout reload constraint.
19253 Fri Oct 15 00:05:00 1999 Jeffrey A Law (law@cygnus.com)
19255 * configure.in (djgpp): Revert previous patch.
19256 * configure: Rebuit.
19257 * config/i386/djgpp.h: Revert previous patch.
19259 Fri Oct 15 00:00:24 1999 Loren J. Rittle <ljrittle@acm.org>
19261 * fixinc/inclhack.def: Restore patch lost during last merge of
19262 "no_bogosity" branch.
19263 * fixinc/inclhack.sh, fixinc/fixincl.x: Rebuilt.
19265 Thu Oct 14 23:57:56 1999 Gavin Romig-Koch <gavin@cygnus.com>
19267 * fixincludes: Add a HPUX 11 fix for inttypes.h.
19268 * fixinc/inclhack.def: Same.
19269 * fixinc/inclhack.sh, fixinc/fixincl.sh, fixinc/fixincl.x: Regenerate.
19271 Thu Oct 14 22:51:55 1999 Richard Henderson <rth@cygnus.com>
19273 * alpha.h (GO_IF_LEGITIMATE_SIMPLE_ADDRESS): Accept ADDRESSOF
19274 as the base of a PLUS.
19276 Fri Oct 15 18:36:07 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
19278 * config/c4x/c4x.md: Define mode for remaining unspec operators.
19279 * config/c4x/c4x.c (dst_operand): Use nonimmediate_operand.
19281 Thu Oct 14 22:14:23 1999 Richard Henderson <rth@cygnus.com>
19283 * pa.md (post_stw+1): Use pmode_register_operand.
19284 (dcacheflush, icacheflush): Likewise.
19286 * i386.md (movstricthi_1): Allow r/r.
19288 Thu Oct 14 19:44:08 1999 Jan Hubicka <hubicka@freesoft.cz>
19290 * fold-const.c (fold): Convert (or (not arg0) (not arg1))
19291 to (not (and (arg0) (arg1))). Similary for and.
19293 * fold-const.c (fold): Move bit_rotate code to the EXPR_PLUS case,
19294 fallthrough to associate code.
19295 Convert XOR to OR in code like (a&c1)^(a&c2) where c1 and c2 don't have
19298 * combine.c (simplify_logical): Convert XOR to IOR if operands have
19299 no bits in common; remove XOR to ROTATE conversion.
19301 Fri Oct 15 17:40:11 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
19303 * config/c4x/c4x.h (c4x_va_start, c4x_va_arg): Declare.
19305 Fri Oct 15 17:27:17 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
19307 * config/c4x/c4x.c (dst_operand): New.
19308 (PREDICATE_CODES): Update.
19309 * config/c4x/c4x.h (dst_operand): Declare it.
19310 * config/c4x/c4x.md: Define mode for each unspec usage.
19311 (move patterns): Use dst_operand predicate instead of src_operand.
19312 (movqi_update, movqf_update): Delete.
19314 Thu Oct 14 18:48:54 1999 Richard Henderson <rth@cygnus.com>
19316 * recog.c (pmode_register_operand): New.
19317 * recog.h: Declare it.
19318 * genrecog.c (pred_codes): Likewise.
19319 (special_mode_pred_table): Likewise.
19320 (validate_pattern): Don't warn no mode for address_operand.
19322 * print-rtl.c (print_rtx) [LABEL_REF]: Only do full subexpression
19323 if the operand is not insn-like.
19325 Thu Oct 14 19:38:42 1999 Jeffrey A Law (law@cygnus.com)
19326 Sylvian Pion <Sylvain.Pion@sophia.inria.fr>
19328 * fold-const.c (fold): Handle more simplifications allowed by IEEE.
19330 Thu Oct 14 17:30:14 1999 Richard Henderson <rth@cygnus.com>
19332 * sparc.md (*): Use {nonimmediate,register}_operand as appropriate
19333 instead of general_operand in a SET_DEST. Use const_double_operand
19334 instead of an explicit test against CONST_DOUBLE.
19335 (movsf_const_lo): Add missing register mode.
19336 (goto_handler_and_restore): Add auxiliary test for Pmode.
19337 (flush): Adjust to use address_operand.
19338 (return_sf_no_fpu): Add missing output constraint.
19340 Thu Oct 14 17:21:26 1999 Richard Henderson <rth@cygnus.com>
19342 * rs6000.md (call_value_indirect_aix32): Use wildcard match_operand
19343 for call return value.
19344 (call_value_indirect_aix64, call_value_indirect_nt): Likewise.
19346 Thu Oct 14 13:54:25 1999 Jason Merrill <jason@yorick.cygnus.com>
19348 * toplev.c (main): Only warn about options for other languages.
19349 * collect2.c (main): Pass -w to sub-gcc.
19351 Thu Oct 14 16:27:50 1999 Richard Henderson <rth@cygnus.com>
19353 * flow.c (propagate_block): Add call-clobbered registers to
19356 * flow.c (propagate_block): Use free_EXPR_LIST_list instead of
19357 zapping mem_set_list.
19358 (invalidate_mems_from_autoinc): Use free_EXPR_LIST_node.
19359 (mark_set_1, mark_used_regs): Likewise.
19361 Thu Oct 14 10:51:49 1999 Richard Henderson <rth@cygnus.com>
19363 * m68k.md (zero_extendsidi2): Add missing output reload constraint.
19365 Wed Oct 13 00:09:18 1999 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
19367 * invoke.texi: Label -Wbad-function-cast, -Wmissing-prototypes,
19368 -Wnested-externs, -Wstrict-prototypes, and -Wtraditional as C only
19369 options. Also add a new item "C-only Warning Options" to the
19372 1999-10-14 Gavin Romig-Koch <gavin@cygnus.com>
19374 * libgcc2.c (__do_global_dtors): Protect __deregister_frame_info
19375 from multiple calls.
19377 Thu Oct 14 04:54:54 1999 Richard Henderson <rth@cygnus.com>
19379 * i386.md (call value patterns): Move to the end of the file.
19380 (prologue_set_got, prologue_get_pc): Use register_operand for op 0.
19382 1999-10-14 Mark Elbrecht <snowball3@bigfoot.com>
19384 * configure.in (djgpp configuration): Define extra_objects..
19385 * configure: Rebuilt.
19386 * config/i386/djgpp.h (CTORS_SECTION_ASM_OP): Define.
19387 (DTORS_SECTION_ASM_OP): Define.
19388 (INIT_SECTION_ASM_OP): Define.
19389 (FINI_SECTION_ASM_OP): Define.
19390 (DATA_SECTION_ASM_OP): Define.
19391 (TEXT_SECTION_ASM_OP): Define.
19392 (EH_FRAME_SECTION_ASM_OP): Define.
19393 (LINK_COMMAND_SPEC): Remove -Tdjgpp.djl.
19394 (STARTFILE_SPEC): Add crtbegin.o.
19395 (ENDFILE_SPEC): Define and add crtend.o. Move argument -Tdjgpp.djl
19396 to here from LINK_COMMAND_SPEC.
19397 (DO_GLOBAL_CTORS_BODY): Define.
19398 (CRTSTUFF_USE_FINI_SECTION): Define
19399 (HAS_INIT_SECTION): Delete.
19401 Thu Oct 14 05:08:14 1999 Andreas Schwab <schwab@suse.de>
19403 * Makefile.in (all.cross): Depend on xcpp$(exeext).
19405 Thu Oct 14 04:00:40 1999 Richard Henderson <rth@cygnus.com>
19407 * pa.h (PREDICATE_CODES): New.
19409 * genrecog.c (validate_pattern): Condense the destination
19410 non-lvalue message.
19412 Thu Oct 14 03:23:08 1999 Richard Henderson <rth@cygnus.com>
19414 * alpha.md (call-1): Supply missing mode for operator.
19415 (*): Add missing output reload constraints. Remove constraints
19416 from define_splits.
19418 * i386.h (SPECIAL_MODE_PREDICATES): New.
19419 * i386.md (movstricthi_1): Use nonimmediate_operand for op 0.
19420 (movqi_1, movdi_1, movdi_2, some splits): Likewise.
19421 (addsi_lea_3): Add missing mode for op 3.
19422 (prologue_set_got, prologue_get_pc): Add missing modes.
19423 (*) Add missing output reload constraints.
19425 Thu Oct 14 03:59:57 1999 Stephane Carrez <stcarrez@worldnet.fr>
19427 * stor-layout.c (layout_union): Use HOST_WIDE_INT for const_size;
19428 check for member bit-size overflow and use var_size if it occurs.
19429 (layout_record): Use bitsize_int() to define the type size in bits.
19430 Likewise for computation and assignment to DECL_FIELD_BITPOS.
19431 (layout_decl): Likewise when assigning to DECL_SIZE.
19433 Thu Oct 14 02:57:05 1999 Richard Henderson <rth@cygnus.com>
19435 * genrecog.c (validate_pattern): Typo last change. Verify
19436 that output operands have output reloads.
19438 Thu Oct 14 01:49:54 1999 Richard Henderson <rth@cygnus.com>
19440 * genrecog.c (special_mode_pred_table): New.
19441 (NUM_SPECIAL_MODE_PREDS): New.
19442 (find_operand): New.
19443 (validate_pattern): New argument `insn'. Warn for assignment to
19444 any predicate accepting non-lvalues. Conditionaly warn for
19445 match_operand without a mode. Try much harder to match source
19446 and destination modes on a set.
19447 * tm.texi (SPECIAL_MODE_PREDICATES): Document.
19449 Thu Oct 14 02:54:13 1999 Jeffrey A Law (law@cygnus.com)
19451 * fold-const.c (fold): Detect rotates built from BIT_XOR_EXPRs.
19453 Thu Oct 14 02:18:19 1999 Marc Espie <espie@cvs.openbsd.org>
19455 * combine.c (simplify_logical): Recognize xor pattern that encodes
19458 Wed Oct 13 23:23:45 1999 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
19460 * rs6000.c (expand_block_move): Use INTVAL, not XINT to access
19463 Wed Oct 13 21:47:18 1999 Richard Henderson <rth@cygnus.com>
19465 * ggc-page.c (MAP_FAILED): Provide default.
19467 Wed Oct 13 21:41:59 1999 Richard Henderson <rth@cygnus.com>
19469 * sparc.c (symbolic_operand): Verify mode; don't accept CONST_DOUBLE.
19470 * sparc.h (PREDICATE_CODES): Update.
19472 Wed Oct 13 21:18:17 1999 Richard Henderson <rth@cygnus.com>
19474 * alpha.c (some_ni_operand): New.
19475 * alpha-protos.h: Declare it.
19476 * alpha.h (PREDICATE_CODES): Update.
19477 * alpha.md (sXaddq reload insns): Use some_ni_operand
19478 for SET_DEST instead of some_operand.
19480 Wed Oct 13 21:04:45 1999 Richard Henderson <rth@cygnus.com>
19481 Jim Wilson <wilson@cygnus.com>
19483 * genrecog.c (maybe_both_true_2): Don't compare modes of
19485 (process_tree): Elide peephole2_insns. Invoke simplify_tests
19486 after find_afterward.
19487 (debug_decision_1): Dump next and afterward codes.
19489 Wed Oct 13 20:35:16 1999 Richard Henderson <rth@cygnus.com>
19491 * rtl.c (dump_and_abort): Remove.
19492 (fatal_with_file_and_line): New.
19493 (fatal_expected_char): New.
19494 (read_rtx_lineno, read_rtx_filename): New.
19495 (read_skip_spaces): Track line number.
19496 (read_name): Use fatal_with_file_and_line.
19497 (read_rtx): Use fatal_expected_char. Track line number.
19498 * rtl.h (read_rtx_filename, read_rtx_lineno): Declare.
19500 * print-rtl.c (print_rtx): Don't special case LABEL_REF argument
19501 if it isn't a CODE_LABEL.
19503 * genattr.c (main): Set read_rtx_filename.
19504 * genattrtab.c (main): Likewise.
19505 * gencodes.c (main): Likewise.
19506 * genconfig.c (main): Likewise.
19507 * genemit.c (main): Likewise.
19508 * genextract.c (main): Likewise.
19509 * genflags.c (main): Likewise.
19510 * genopinit.c (main): Likewise.
19511 * genoutput.c (main): Likewise.
19512 * genpeep.c (main): Likewise.
19514 * genrecog.c (decision_test.u.insn): Add `lineno'.
19515 (pattern_lineno, error_count): New variables.
19516 (message_with_line): New.
19517 (add_to_sequence): Break out checking code to ...
19518 (validate_pattern): ... here. Detect SET_DEST matching CONST_INT.
19519 (merge_insn): Use message_with_line.
19520 (make_insn_sequence): Use validate_pattern. Record insn lineno.
19521 (main): Set read_rtx_filename, pattern_lineno. Exit early on error.
19523 Wed Oct 13 22:01:35 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
19525 * expr.c (store_constructor): Clear union if constructor is empty.
19527 Wed Oct 13 15:19:04 1999 Jim Wilson <wilson@cygnus.com>
19529 * config/rs6000/sysv4.h (CC1_SPEC): Fix errors from Jan 19 change.
19530 Add !endian checks. Change %{...} to %(...).
19532 Wed Oct 13 13:30:34 1999 Richard Henderson <rth@cygnus.com>
19534 * i386.md (*addsi3_cc): Renamed from addcsi3.
19535 (*addsi3_carry): Renamed from addxsi3.
19536 (*subsi3_cc): Renamed from subcsi3.
19537 (*subsi3_carry): Renamed from subxsi3.
19538 (*xorqi_cc_1): Renamed from xorcqi_1.
19539 (xorqi_cc_ext_1): Renamed from xorcqi_ext_1.
19540 * i386.c (ix86_expand_fp_compare): Update for xorqi_cc_ext_1.
19542 Wed Oct 13 13:10:46 1999 Richard Henderson <rth@cygnus.com>
19544 * Makefile.in (ggc-common.o): Depend on RTL_H not RTL_BASE_H.
19545 (ggc-simple.o, ggc-page.o, ggc-none.o, ggc-callbacks.o): Likewise.
19547 1999-10-13 Brendan Kehoe <brendan@cygnus.com>
19549 * regmove.c (optimize_reg_copy_3): Make sure P is non-nil as we
19550 climb up the chain of insns.
19552 Wed Oct 13 10:20:58 1999 Richard Henderson <rth@cygnus.com>
19554 * genrecog.c (write_subroutine): Careful for null trees.
19555 (process_tree): Don't elide empty functions.
19557 Wed Oct 13 10:07:54 1999 Richard Henderson <rth@cygnus.com>
19559 * Makefile.in (genrtl.o): Depend on ggc.h.
19560 * configure.in (valloc): Probe for it.
19561 (with-gc): Use ggc-page if valloc present.
19562 * ggc-common.c (ggc_mark_rtx_children): Use ggc_mark_if_gcable.
19563 (ggc_mark_rtvec_children): New from corpse of ggc_mark_rtvec.
19564 (ggc_alloc_string): Moved from ggc-page.c.
19565 * ggc-none.c (ggc_alloc_obj): New.
19566 (ggc_alloc_rtx, ggc_alloc_rtvec): Remove.
19567 * ggc-page.c (sys/mman.h): Only include if HAVE_MMAP.
19568 (struct globals): Likewise for dev_zero_fd.
19569 (init_ggc): Likewise for it's initialization.
19570 (ggc_allocated_p): Move careful dereference from ...
19571 (ggc_lookup_page_table): ... here. Delete.
19572 (lookup_page_table_entry): Don't use ggc_lookup_page_table.
19573 (alloc_anon): Use valloc if no mmap.
19574 (release_pages): Use free if using valloc.
19575 (ggc_alloc_obj): Renamed from alloc_obj.
19576 (ggc_set_mark): Renamed from mark_obj.
19577 (ggc_mark_if_gcable): Renamed from ggc_mark_string_if_gcable.
19578 (ggc_alloc_rtx, ggc_alloc_rtvec): Delete.
19579 (ggc_alloc_tree, ggc_alloc_string, ggc_alloc): Delete.
19580 (ggc_set_mark_rtx, ggc_set_mark_rtvec): Delete.
19581 (ggc_set_mark_tree, ggc_mark_string, ggc_mark): Delete.
19582 (ggc_collect): Use fp printing instead of our own rounding.
19583 * ggc-simple.c (IS_MARKED, IGNORE_MARK): Delete.
19584 (GGC_STRING_MAGIC, GGC_STRING_MAGIC_MARK): Delete.
19585 (GGC_ANY_MAGIC, GGC_ANY_MAGIC_MARK): Delete.
19586 (struct ggc_rtx, struct ggc_rtvec, struct ggc_tree): Delete.
19587 (struct ggc_string, struct ggc_any): Delete.
19588 (offsetof): Provide default definition.
19589 (GGC_BALANCE, GGC_ALWAYS_COLLECT, GGC_ALWAYS_VERIFY): New.
19591 (struct ggc_mem): New, from corpse of ggc_any.
19592 (struct ggc_status): Delete.
19593 (ggc_chain, ggc_allocated_strings, ggc_strings_used): Delete.
19594 (n_rtxs_collected, n_vecs_collected, n_trees_collected): Delete.
19595 (n_strings_collected, n_anys_collected): Delete.
19596 (ggc_alloc_rtx, ggc_alloc_rtvec, ggc_alloc_tree): Delete.
19597 (ggc_alloc_string, ggc_alloc): Delete.
19598 (ggc_free_rtx, ggc_free_rtvec, ggc_free_tree): Delete.
19599 (ggc_free_string, ggc_free_any): Delete.
19600 (ggc_set_mark_rtx, ggc_set_mark_rtvec, ggc_set_mark_tree): Delete.
19601 (ggc_compare_addresses, ggc_mark_string): Delete.
19602 (ggc_mark_string_if_gcable, ggc_mark): Delete.
19603 (search_data): Delete.
19604 (struct globals): New.
19605 (GGC_MIN_EXPAND_FOR_GC, GGC_MIN_LAST_ALLOCATED): New.
19606 (tree_insert, tree_lookup): New.
19607 (ggc_alloc_obj, ggc_set_mark, ggc_mark_if_gcable): New.
19608 (clear_marks, sweep_objs): New.
19609 (ggc_collect): Gut. Use clear_marks, sweep_objs.
19610 (init_ggc): Set allocated_last_gc.
19611 (ggc_push_context): Gut. Use G.context.
19612 (ggc_pop_context): Likewise.
19613 (ggc_pop_context_1): New.
19614 (debug_ggc_tree): New.
19615 (debug_ggc_balance, tally_leaves): New.
19616 * ggc.h (ggc_mark_rtvec, ggc_mark_string, ggc_mark): Remove decl.
19617 (ggc_mark_string_if_gcable): Remove decl.
19618 (ggc_mark_rtx, ggc_mark_tree): Use ggc_set_mark.
19619 (ggc_mark_rtvec_children): New.
19620 (ggc_mark_rtvec, ggc_mark_string, ggc_mark): New.
19621 (ggc_mark_if_gcable): New decl.
19622 (ggc_alloc_rtx, ggc_alloc_rtvec): Remove decl.
19623 (ggc_alloc_tree, ggc_alloc): Likewise.
19624 (ggc_set_mark_rtx, ggc_set_mark_rtvec, ggc_set_mark_tree): Likewise.
19625 (ggc_alloc_obj): New decl.
19626 (ggc_alloc_rtx, ggc_alloc_rtvec): New macros.
19627 (ggc_alloc_tree, ggc_alloc): Likewise.
19628 (ggc_set_mark): New decl.
19629 * rtl.h (struct rtx_def): Remove gc_mark.
19630 (struct rtvec_def): Likewise.
19631 * tree.h (struct tree_common): Likewise.
19633 Wed Oct 13 01:44:29 1999 Carol LePage <carolo@hal.com>
19635 * configure.in (sparc-hal-solaris2*): Fix xm_file, xm_defines,
19636 float_format and thread_file definitions.
19637 * configure: Rebuilt.
19639 Wed Oct 13 09:25:03 1999 Niels Möller <nisse@lysator.liu.se>
19641 * extend.texi (Function Names): Document types of function names.
19643 Wed Oct 13 00:45:04 1999 Bernd Schmidt <bernds@cygnus.co.uk>
19645 * reload1.c (reload_reg_free_for_value_p): RELOAD_OTHER reloads with
19646 an earlyclobbered output conflict with RELOAD_INPUT reloads.
19648 Tue Oct 12 23:28:28 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
19650 * sh.h (BOOL_TYPE_SIZE): Don't use INT_TYPE_SIZE / CHAR_TYPE_SIZE.
19652 Tue Oct 12 23:19:32 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
19654 * sh.h (REGISTER_MOVE_COST): Change PR_REG to PR_REGS.
19656 Tue Oct 12 17:09:38 1999 David Edelsohn <edelsohn@gnu.org>
19658 * collect2.c (main): Do prelimnary link on AIX if rflag.
19660 Tue Oct 12 09:45:19 1999 Jonathan Larmour <jlarmour@cygnus.co.uk>
19662 * config/rs6000/eabi-ctors.c (__do_global_ctors): Run through
19663 __CTOR_LIST__ in opposite order, which is the correct order for sorted
19665 (__do_global_dtors): similarly for __DTOR_LIST__.
19667 Fri Oct 8 19:46:03 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
19668 Diego Novillo <dnovillo@cygnus.com>
19670 * config/sh/sh.h (REGISTER_MOVE_COST): Handle moves from T_REGS to
19673 Tue Oct 12 07:38:41 1999 Bruce Korb <autogen@linuxbox.com>
19675 * fixincl/*: Merged "no_bogosity" branch
19676 * fixincl/fixlib.h: protect against doubly defining t_bool
19677 * fixincl/server.h: protect against doubly defining t_bool
19679 Mon Oct 11 20:18:41 1999 Jim Wilson <wilson@cygnus.com>
19681 * genoutput.c: Include toplev.h.
19683 Mon Oct 11 18:56:14 1999 Jim Wilson <wilson@cygnus.com>
19685 * config/sparc/liteelf.h (INIT_SECTION_ASM_OP, FINI_SECTION_ASM_OP):
19687 * configure.in (sparclite-*-elf, sparc86x-*-elf): Don't use libgloss.h.
19688 * configure: Regenerate.
19690 Mon Oct 11 16:07:49 1999 Richard Henderson <rth@cygnus.com>
19692 * gcse.c (delete_null_pointer_checks): Returns void.
19694 Mon Oct 11 20:31:51 1999 Bernd Schmidt <bernds@cygnus.co.uk>
19696 * rtl.c (copy_rtx): Don't use accessor macros to copy fields.
19697 * emit-rtl.c (copy_insn_1): Likewise.
19699 Mon Oct 11 13:29:06 1999 Geoffrey Keating <geoffk@cygnus.com>
19701 * config/mips/mips.c (mips_build_va_list): Correct
19702 TREE_CHAIN setting when hard-float.
19703 (mips_va_start): Use corrected setting.
19704 (mips_va_arg): Likewise. Also pass a tree to build of
19705 POSTINCREMENT_EXPR rather than a naked 'int'.
19707 Sun Oct 10 18:27:27 1999 Mark Mitchell <mark@codesourcery.com>
19709 * ggc.h (ggc_push_context): Fix comment.
19710 (ggc_pop_context): Likewise.
19711 (mark_string_if_gcable): Likewise.
19712 * ggc-common.c (ggc_mark_rtx_children): Use
19713 ggc_mark_string_if_gcable.
19714 * ggc-page.c (ggc_lookup_page_table): New function.
19715 (ggc_allocated_p): Likewise.
19716 (mark_obj): Fix formatting.
19717 (ggc_mark_string_if_gcable): New function.
19718 * ggc-simple.c (ggc_allocated_strings): New variable.
19719 (ggc_strings_used): Likewise.
19720 (ggc_compare_addresses): New function.
19721 (ggc_pop_context): Pop the `any' memory too.
19722 (ggc_mark_string_if_gcable): New function.
19723 (ggc_collect): Initialize and tear down ggc_allocated_strings.
19725 Sun Oct 10 20:05:21 1999 David Edelsohn <edelsohn@gnu.org>
19727 * rs6000.md (movstrsi_?reg): Use preferred rD/rS = r5 form.
19728 (scc patterns): Disable most SImode variants if TARGET_POWERPC64.
19729 * rs6000.c (expand_block_move): Match movstrsi_?reg register
19732 Sun Oct 10 16:37:01 1999 Richard Henderson <rth@cygnus.com>
19734 * haifa-sched.c (sched_reg_n_calls_crossed): Delete.
19735 (sched_reg_live_length, sched_reg_basic_block): Delete.
19736 (current_block_num, bb_live_regs, old_live_regs): Delete.
19737 (dead_notes, struct sometimes): Delete.
19738 (sched_note_set, birthing_insn_p): Delete.
19739 (adjust_priority): Gut useless reg lifetime code.
19740 (create_reg_dead_note, attach_deaths): Delete.
19741 (attach_deaths_insn, new_sometimes_live): Delete.
19742 (finish_sometimes_live): Delete.
19743 (find_pre_sched_live, find_post_sched_live): Delete.
19744 (update_reg_usage): Delete.
19745 (find_insn_reg_weight): New, from corpse of find_pre_sched_live.
19746 (schedule_insns): Delete reg lifetime code.
19747 (sched_analyze): Use REG_SAVE_NOTE to stuff NOTE_INSN notes away.
19748 (unlink_other_notes): Adjust REG_NOTE commentary.
19749 (reemit_notes): Use REG_SAVE_NOTE.
19750 (schedule_block): Likewise.
19751 (schedule_region): Allocate bitmap of blocks in region. Use
19752 count_or_remove_death_notes. Use update_life_info.
19754 * rtl.h (REG_SAVE_NOTE): New.
19755 * rtl.c (reg_note_name): Update.
19757 Sun Oct 10 16:14:16 1999 Richard Henderson <rth@cygnus.com>
19759 * combine.c (refresh_blocks, need_refresh): New.
19760 (combine_instructions): Allocate refresh_blocks. Invoke
19761 update_life_info if needed.
19762 (distribute_notes): Mark refresh_blocks instead of installing
19764 * flow.c (update_life_info): Remove notes if GLOBAL_RM_NOTES.
19765 * basic_block.h (enum update_life_extent): Add GLOBAL_RM_NOTES.
19767 * Makefile.in (recog.o): Depend on basic-block.h.
19769 Sun Oct 10 12:03:21 1999 Richard Henderson <rth@cygnus.com>
19771 * genrecog.c (add_to_sequence): Thinko last change: delete
19772 shadowing allow_const_int variable.
19774 Sun Oct 10 08:40:00 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
19776 * cppinit.c: Use HAVE_GCC_VERSION instead of explicitly testing
19777 __GNUC__ and __GNUC_MINOR__.
19779 * gansidecl.h: Likewise.
19785 * toplev.h: Likewise.
19787 * tree.c: Likewise.
19789 * tree.h: Likewise.
19791 * varray.c: Likewise.
19793 * varray.h: Likewise.
19795 Sun Oct 10 13:28:48 1999 Bernd Schmidt <bernds@cygnus.co.uk>
19797 * loop.c (find_and_verify_loops): When looking for a BARRIER, don't
19798 use one before a jump table.
19800 * rtl.def (ADDRESS): Change documentation to match reality.
19801 * md.texi: Don't document it.
19802 * gmicro.md (load address pattern): Use 'p' constraint, delete use
19805 * emit-rtl.c (copy_insn_1): Make format_ptr a const char *.
19807 Sun Oct 10 02:41:41 1999 Richard Henderson <rth@cygnus.com>
19809 * genrecog.c (add_to_sequence): Move allow_const_int test outside
19810 known predicate block; default allow_const_int true.
19811 (debug_decision_list): New.
19813 Sun Oct 10 00:43:08 1999 Richard Henderson <rth@cygnus.com>
19815 * i386.h (CC1_SPEC): Typo -- use cc1_cpu.
19817 Sat Oct 9 23:26:55 1999 Jeffrey A Law (law@cygnus.com)
19819 * gcse.c (gcse_main): Avoid global optimizations if we have a
19820 large number of basic blocks and the ratio of edges to blocks
19822 (delete_null_pointer_checks): Likewise.
19824 Sat Oct 9 23:16:01 1999 Ken Raeburn <raeburn@mit.edu>
19826 * c-common.c (check_format_info): Warn if format string isn't a
19829 Sat Oct 9 23:04:02 1999 Jonathan Larmour <jlarmour@cygnus.co.uk>
19831 * configure.in (arm*-*-*): Don't let autoconf remove brackets
19832 * configure: regenerate
19834 Sat Oct 9 13:15:53 1999 Richard Henderson <rth@cygnus.com>
19836 * alpha.md (extendsidi2): Turn into a splitter. Allow f/f.
19837 If TARGET_FIX, allow r/f. Remove cvtlq unspec pattern.
19838 (peepholes): Re-enable.
19840 Sat Oct 9 12:18:16 1999 Richard Henderson <rth@cygnus.com>
19842 * Makefile.in (flow.o): Depend on TREE_H.
19843 * basic-block.h (REG_SET_EQUAL_P): New.
19844 (XOR_REG_SET): New.
19845 (n_edges): Declare.
19846 (free_regset_vector): Remove declaration.
19847 (flow_delete_insn_chain): Declare.
19848 (enum update_life_extent): New.
19849 (update_life_info, count_or_remove_death_notes): Declare.
19850 * combine.c (distribute_notes) [REG_DEAD]: Stop search at bb->head.
19851 Verify register live at bb->global_live_at_start before adding USE.
19852 * flow.c (HAVE_epilogue, HAVE_prologue): Provide default.
19853 (CLEAN_ALLOCA): New.
19855 (PROP_*): New flags.
19856 (find_basic_blocks_1): Use alloc_EXPR_LIST.
19857 (clear_edges): Zero n_edges.
19858 (make_edge): Increment n_edges.
19859 (split_edge): Don't allocate bb->local_set. Increment n_edges.
19860 (flow_delete_insn_chain): Export.
19861 (delete_block): Decrement n_edges.
19862 (merge_blocks_nomove): Likewise.
19863 (life_analysis): Give life_analysis_1 PROP flags.
19864 (verify_wide_reg_1, verify_wide_reg): New.
19865 (verify_local_live_at_start): New.
19866 (update_life_info): Rewrite to call into propogate_block.
19868 (mark_regs_live_at_end): After reload, if epilogue as rtl,
19869 always mark stack pointer. Conditionally mark PIC register.
19870 After reload, mark call-saved registers, return regsiters.
19871 (life_analysis_1): Accept PROP flags not remove_dead_code.
19872 Call mark_regs_live_at_end before zeroing regs_ever_live.
19873 Use calculate_global_regs_live. Copy global_live_at_end before
19874 calling final propagate_block. Zero reg_next_use on exit.
19875 (calculate_global_regs_live): New.
19876 (allocate_bb_life_data): Don't allocate bb->local_set.
19877 (init_regset_vector, free_regset_vector): Remove.
19878 (propagate_block): Accept FLAGS not FINAL or REMOVE_DEAD_CODE.
19879 Test flags before every operation. Warn if prologue/epilogue insn
19880 would have been deleted.
19881 (mark_set_regs, mark_set_1): Accept and use FLAGS.
19882 Use alloc_EXPR_LIST.
19883 (mark_used_regs): Accept and use FLAGS, not FINAL.
19884 Remove special handling for RETURN.
19885 (try_pre_increment): Use alloc_EXPR_LIST.
19886 (dump_flow_info): Dump n_edges.
19887 (unlink_insn_chain, split_hard_reg_notes): Remove.
19888 (maybe_add_dead_note, maybe_add_dead_note_use): Remove.
19889 (find_insn_with_note, new_insn_dead_notes): Remove.
19890 (update_n_sets, sets_reg_or_subreg_1, sets_reg_or_subreg): Remove.
19891 (maybe_remove_dead_notes, prepend_reg_notes): Remove.
19892 (replace_insns): Remove.
19893 (count_or_remove_death_notes): New.
19894 (verify_flow_info): Abort on error after all checks.
19895 (remove_edge): Decrement n_edges.
19896 (remove_fake_edges): Tweak format.
19897 * haifa-sched.c (schedule_insns): Use split_all_insns.
19898 * output.h (update_life_info): Remove declaration.
19899 * recog.c (split_all_insns): From the corpse of split_block_insns,
19900 do the whole function block by block. Use update_life_info.
19901 (recog_last_allowed_insn): New.
19902 (recog_next_insn): Mind it.
19903 (peephole2_optimize): Set it. Walk backwards through blocks.
19904 Use update_life_info.
19905 * rtl.h (update_flow_info, replace_insns): Remove declarations.
19906 (split_all_insns): Declare.
19907 * toplev.c (rest_of_compilation): Thread prologue before flow2.
19908 Use split_all_insns.
19910 * i386.md (or -1 peep2s): Disable.
19912 Fri Oct 8 17:49:08 1999 Richard Henderson <rth@cygnus.com>
19914 * config/mips/mips.md (movstrsi+[123]) : Combine these into
19915 a single pattern. Scrap the 'd' versions as unnecessary.
19917 * config/mips/mips.md (tablejump_internal3,tablejump_mips161,
19918 tablejump_mips162,tablejump_internal4): The operands to a
19919 label_ref must be VOIDmode.
19921 Fri Oct 8 16:12:42 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
19923 * configure.in (c-mbchar): Append, don't overwrite, `extra_c_flags'.
19925 Fri Oct 8 11:58:34 1999 Richard Henderson <rth@cygnus.com>
19927 * mips.c (mips_va_arg) [EABI]: Return addr_rtx.
19929 Fri Oct 8 11:58:34 1999 Richard Henderson <rth@cygnus.com>
19931 * lists.c (init_EXPR_INSN_LIST_cache): Don't need to zap the
19932 cache every function if ggc_p.
19934 Fri Oct 8 18:46:11 1999 Bernd Schmidt <bernds@cygnus.co.uk>
19936 * jump.c (duplicate_loop_exit_test): Use copy_insn/copy_insn_1
19937 instead of copy_rtx. Accept sequences that contain asm statements.
19938 * emit-rtl.c (copy_insn_1, copy_insn): New functions.
19939 (copy_insn_scratch_in, copy_insn_scratch_out, copy_insn_n_scratches,
19940 orig_asm_operands_vector, copy_asm_operands_vector,
19941 orig_asm_constraints_vecotr, copy_asm_constraints_vector): New static
19943 * rtl.h (copy_insn, copy_insn_1): Declare.
19945 Fri Oct 8 13:08:12 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
19947 * Makefile.in (insn-recog.o): Depend on hard-reg-set.h and resource.h.
19949 * alpha.h (ASM_OUTPUT_MI_THUNK): Pass the correct number of
19950 arguments to `current_file_function_operand'.
19952 * genrecog.c: Include hard-reg-set.h and resource.h in the
19953 generated output file.
19955 * real.c: Include tm_p.h.
19957 Fri Oct 8 18:46:11 1999 Bernd Schmidt <bernds@cygnus.co.uk>
19959 * i386.md (prologue_allocate_stack): Add '=' constraint letter on
19962 Thu Oct 7 23:06:50 1999 Richard Henderson <rth@cygnus.com>
19964 * rs6000.md (fix_truncdfsi2_internal+1): Emit a clobber
19965 before the fctiwz insn.
19967 Thu Oct 7 22:53:00 1999 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
19968 Mark Mitchell <mark@codesourcery.com>
19970 * tree.c (make_lang_type_fn): New funtion pointer.
19971 (make_lang_type): Call it.
19972 * tree.h (make_lang_type): Declare.
19973 (make_lang_type_fn): Likewise.
19974 * rs6000.c (rs6000_build_va_list): Use make_lang_type.
19976 Thu Oct 7 00:36:17 1999 Diego Novillo <dnovillo@cygnus.com>
19978 * config/rs6000/rs6000.c (secondary_reload_class): For TARGET_ELF
19979 make sure that HIGH instructions are copied into BASE_REGS.
19981 Thu Oct 7 17:02:34 1999 Jason Merrill <jason@yorick.cygnus.com>
19983 * expr.c (expand_expr, TARGET_EXPR): Set TREE_USED sooner.
19985 Thu Oct 7 17:01:58 1999 Greg McGary <gkm@gnu.org>
19987 * c-decl.c (finish_struct): Use simpler method of
19988 removing elements of a singly-linked list.
19990 Thu Oct 7 15:23:28 1999 Michael Meissner <meissner@cygnus.com>
19992 * alpha.md (peephole2's): Comment out peephole2's that generate
19995 Thu Oct 7 12:00:53 1999 Richard Henderson <rth@cygnus.com>
19997 * genrecog.c (add_to_sequence): Disable mode check for
20000 Thu Oct 7 20:14:16 1999 Bernd Schmidt <bernds@cygnus.co.uk>
20002 * ggc-simple.c (init_ggc): Set empty_string.
20004 Thu Oct 7 01:13:15 1999 Richard Henderson <rth@cygnus.com>
20006 * configure.in: Detect mmap. Add --with-gc=foo to select
20007 garbage collector; default to page if mmap available.
20008 * Makefile.in (GGC): Substitute.
20010 Wed Oct 6 23:56:30 1999 Richard Henderson <rth@cygnus.com>
20012 * c-decl.c (ggc_p): Enable.
20014 Wed Oct 6 17:17:08 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
20016 * flow.c (verify_flow_info): Make it extern & unconditionally define.
20018 1999-10-06 Brendan Kehoe <brendan@cygnus.com>
20020 * sparc/sp86x-elf.h (SUBTARGET_SWITCHES): Add missing doc
20021 string for little-endian-data.
20023 Wed Oct 6 16:10:35 1999 Michael Meissner <meissner@cygnus.com>
20025 * varray.h (VARRAY_CHECK): Fix up appropriate revision check, in
20026 case somebody tries to compile --enable-checking code with gcc
20029 Wed Oct 6 12:22:50 1999 Richard Henderson <rth@cygnus.com>
20031 * genrecog.c (add_to_sequence): Verify operand to label_ref is
20034 Wed Oct 6 10:21:15 1999 Richard Henderson <rth@cygnus.com>
20036 * genconfig.c (main): Disable HAVE_conditional_arithmetic.
20037 * jump.c (jump_optimize_1): Document why.
20039 Wed Oct 6 10:41:56 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
20041 * collect2.c (scan_prog_file, scan_libraries): Prototype function
20042 pointers and casts for `int_handler' and `quit_handler'.
20044 * flow.c (verify_flow_info, split_hard_reg_notes,
20045 find_insn_with_note, sets_reg_or_subreg_1, prepend_reg_notes,
20046 remove_edge, remove_fake_successors): Add static prototypes.
20047 (verify_flow_info): Wrap with macro ENABLE_CHECKING.
20048 (mark_set_1): Initialize variable `regno'.
20049 (unlink_insn_chain): Likewise for variable `curr'.
20050 (remove_fake_edges): Remove unused variables `e', `tmp' and `last'.
20052 * loop.c (strength_reduce): Initialize variable
20053 `unrolled_insn_copies'.
20054 (cmp_combine_givs_stats, cmp_recombine_givs_stats): Add static
20055 prototypes. Change these functions to take const PTR parameters
20056 to avoid prototype conflict when used as the comparson argument
20058 (check_dbra_loop): Initialize variable `comparison_val'.
20060 * reload.c (debug_reload_to_stream, debug_reload): Add prototypes.
20061 (get_secondary_mem): Mark parameter `x' with ATTRIBUTE_UNUSED.
20062 (find_valid_class): Initialize variable `best_class'.
20063 (find_reloads): Call memcpy, not bcopy.
20065 * reload1.c (gen_mode_int, dump_needs): Add prototypes.
20066 (hard_reg_use_compare): Don't needlessly cast away const.
20067 (reload_reg_class_lower): Likewise.
20068 (choose_reload_regs): Initialize variable `regno'.
20070 Tue Oct 5 16:34:12 1999 Paul Burchard <burchard@pobox.com>
20072 * ggc-page.c (GGC_ALWAYS_COLLECT): Fix typo when undef'ing.
20074 Tue Oct 5 16:14:40 1999 Michael Meissner <meissner@cygnus.com>
20076 * libgcc1-test.c (toplevel): Include stddef.h to get size_t.
20077 ({,d}discard): Add forward declarations. Declare parameter as
20079 (main_without_main): Explicitly declare return type to be int.
20080 (memcpy): Properly declare.
20082 * libgcc2.c (toplevel): If inhibit_libc is defined and not
20083 building the trampoline support, declare malloc, free, and
20085 (__clear_cache): Mark arguments as potentially unused.
20087 * frame.c (toplevel): If inhibit_libc is defined, declare
20090 Tue Oct 5 12:00:32 1999 Richard Henderson <rth@cygnus.com>
20092 * flow.c (make_edge): Accept an optional 2D bitmap in which
20093 to cache edge existence. Update all callers.
20094 (make_label_edge, make_eh_edge): Pass through the edge cache.
20095 (make_edges): Provide the cache.
20097 Tue Oct 5 12:16:49 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
20099 * mbchar.c (literal_codeset, local_mbtowc, local_mblen): Constify
20101 (local_mbtowc): Change the type of variable `i' from int to size_t.
20103 * mbchar.h (ISSJIS1, ISSJIS2): Use parens around && within ||.
20104 (local_mbtowc, local_mblen, literal_codeset): Constify a char*.
20106 Tue Oct 5 11:34:52 1999 Michael Meissner <meissner@cygnus.com>
20108 * ggc-common.c (toplevel): Reorder includes, so that ggc.h comes
20109 after other includes that define the appropriate types. Include
20110 tm_p.h for getting user prototypes.
20111 * ggc-callbacks.c (toplevel): Ditto.
20112 * ggc-none.c (toplevel): Ditto.
20113 * gcc-page.c (toplevel): Ditto.
20114 * ggc-simple.c (toplevel): Ditto.
20116 Mon Oct 4 16:48:16 1999 Diego Novillo <dnovillo@cygnus.com>
20117 Jonathan Larmour <jlarmour@cygnus.co.uk>
20119 * config/mips/mips.c (mips_move_2words): Split doubles if
20120 ISA >= 3, !TARGET_64BIT, and destination is not an FP register.
20122 Mon Oct 4 21:47:31 1999 Richard Henderson <rth@cygnus.com>
20124 * genrecog.c (struct decision_test): New.
20125 (struct decision): Remove test-related members, sort the rest by size.
20126 (IS_SPLIT): Simplify.
20127 (new_decision, new_decision_test): New.
20128 (add_to_sequence): Use them. No special handling for args of
20130 (maybe_both_true): Renamed from not_both_true; return sense changed.
20131 (maybe_both_true_1, maybe_both_true_2): New. Broken out
20132 of maybe_both_true and adjusted for decision_test.
20133 (position_merit): Remove.
20134 (nodes_identical, nodes_identical_1): New, broken out of merge_trees.
20135 (merge_accept_insn): New, broken out of merge_trees.
20136 (merge_trees): Use them. No special case for c_test; no node
20137 splitting; use test type instead of position_merit.
20138 (factor_tests): New.
20139 (simplify_tests): New.
20140 (break_out_subroutines): Don't write code now.
20141 (find_afterward): New.
20142 (write_afterward, write_switch, write_cond): New.
20143 (write_action, is_unconditional): New.
20144 (write_node): New. Use them.
20145 (write_tree_1): Rewrite. Use the new functions above.
20146 (write_tree): Remove afterward processing.
20147 (write_subroutine): Simplify function variant emission.
20148 (write_subroutines): New.
20149 (same_codes, clear_codes): Remove.
20150 (same_modes, clear_modes): Remove.
20151 (write_header): New, broken out of main.
20152 (make_insn_sequence): Use new_decision and new_decision_test.
20153 (process_tree): New, broken out of main.
20154 (main): Adjust for merge_trees interface change.
20155 Don't #define operands in the output file.
20156 (record_insn_name): New, broken out of make_insn_sequence.
20157 (debug_decision_2, debug_decision_1, debug_decision_0): New.
20158 (debug_decision): New.
20160 1999-10-04 21:58 -0700 Zack Weinberg <zack@bitmover.com>
20162 * resource.c (find_free_register): Mark class_str argument const.
20163 * resource.h: Update prototype to match.
20165 * i386.h (PREDICATE_CODES): Add entry for long_memory_operand.
20166 * i386.md: Give all anonymous insns names.
20168 Mon Oct 4 21:12:02 1999 Jeffrey A Law (law@cygnus.com)
20170 * flow.c (merge_blocks): Avoid assing BASIC_BLOCK for non-existent
20173 Mon Oct 4 21:01:39 1999 Richard Henderson <rth@cygnus.com>
20175 * toplev.c (dbr_sched_time): Unconditional.
20176 (peephole2_time): New.
20177 (compile_file): Add pass numbers to all of the dump file suffixes.
20178 Dump peephole2_time. Don't dump times for non-applicable passes.
20179 (rest_of_compilation): Add pass numbers to dump file suffixes.
20180 Conditionalize calls to the scheduler.
20181 * invoke.texi: Update.
20183 Mon Oct 4 20:25:13 1999 Anthony Green <green@cygnus.com>
20185 * flow.c (make_edges): Fix insn iteration.
20186 (find_basic_blocks): Assign NULL_RTX, not 0, to rtx.
20187 (find_basic_blocks_1): Fix spelling mistake.
20189 Mon Oct 4 16:56:11 1999 Richard Henderson <rth@cygnus.com>
20191 * tree.c (build1): Set TREE_SIDE_EFFECTS for expressions that
20192 always have side-effects. Use memset not bzero.
20193 (make_node): Likewise.
20195 Mon Oct 4 16:22:20 1999 Mark Mitchell <mark@codesourcery.com>
20197 * stmt.c (expand_anon_union_decl): When any of the elements of the
20198 union is addressable, so is the entire union.
20200 Mon Oct 4 11:38:33 1999 Richard Henderson <rth@cygnus.com>
20202 * sbitmap.c (sbitmap_ones): Don't set too many bits.
20204 * bitmap.h (enum bitmap_bits): Add BITMAP_XOR.
20205 * bitmap.c (bitmap_operation): Return true iff TO changed.
20206 (bitmap_equal_p): New.
20207 (bitmap_bit_p): Tidy arithmetic.
20208 (debug_bitmap_file): Likewise.
20210 Mon Oct 4 11:28:37 1999 Richard Henderson <rth@cygnus.com>
20212 * toplev.c (rest_of_compilation): Turn on cse_not_expected
20213 before cse2 instead of after.
20215 Mon Oct 4 09:55:17 1999 Stan Cox <scox@cygnus.com>
20217 * mips.h (GO_IF_LEGITIMATE_ADDRESS): Let leasi/liadi handle large
20220 Mon Oct 4 08:54:12 1999 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
20222 * cppinit.c (is_idchar initializer): Loosen tests to accept
20225 Mon Oct 4 02:31:20 1999 Mark Mitchell <mark@codesourcery.com>
20227 * mips.md: Define conditional move patterns for floating point
20228 operands and DI mode conditions.
20230 Mon Oct 4 02:12:41 1999 Mark Mitchell <mark@codesourcery.com>
20232 * tree.c (make_node): Set TREE_SIDE_EFFECTS for expressions that
20233 always have side-effects.
20235 Sun Oct 3 14:14:16 1999 Jeffrey A Law (law@cygnus.com)
20237 * mn10200.c (asm_file_start): Fix typo.
20239 * cppinit.c (is_idchar initializer): Tighten tests for when
20240 to put the table into initialized memory.
20242 * ggc-none.c (ggc_alloc_rtvec): An rtvec is an array of rtx,
20243 not an array of rtunion.
20244 * gcc-page.c (ggc_alloc_rtvec): Similarly.
20245 * gcc-simple (ggc_free_rtvec): Similarly.
20247 * genattrtab.c (simplify_cond): Make TESTS an array of rtxs, instead
20250 * mbchar.h: Add missing #endif.
20252 * t-fr30 (LIB2FUNCS_EXTRA): Remove definition.
20253 (FPBIT, DPBIT): Define.
20255 Sun Oct 3 12:44:05 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
20257 * print-tree.c (print_node, indent_to): Remove redundant prototypes.
20259 * profile.c (instrument_arcs, output_gcov_string,
20260 tablejump_entry_p): Add static prototypes.
20261 (output_gcov_string): Constify a char*.
20263 * regmove.c (replacement_quality, fixup_match_2): Add static
20266 * resource.h (reg_dead_p): Add extern prototype.
20268 * rtl.c (trim_filename): Add static prototype.
20270 * scan-decls.c (skip_to_closing_brace): Likewise.
20272 * stmt.c (expand_decl_cleanup_no_eh): Hide definition.
20273 (expand_end_case): Initialize variable `range'.
20274 (emit_case_nodes): Remove unused prototype `rtx_fn'.
20276 * varasm.c (asm_emit_uninitialised): Add static prototype.
20277 (asm_emit_uninitialised, assemble_variable): Mark parameter with
20280 Sun Oct 3 12:24:52 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
20282 * cpplib.c (if_directive_nameo): Add static prototype.
20284 * cse.c (cse_insn): Remove unused variable `p'.
20286 * except.c (create_rethrow_ref, push_entry,
20287 receive_exception_label, new_eh_region_entry, find_func_region,
20288 clear_function_eh_region, process_nestinfo): Add static prototypes.
20289 (get_reg_for_handler): Hide definition.
20290 (process_nestinfo): Initialize variable `extra_handlers'.
20292 * expr.h (expand_builtin_longjmp): Add extern prototype.
20294 * final.c (final_addr_vec_align, align_fuzz): Add static prototypes.
20296 * function.c (prepare_function_start): Likewise.
20297 (pop_function_context_from): Mark parameter `context' with
20299 (push_temp_slots_for_block, flush_addressof): Hide definition.
20301 * gcov.c (init_arc, reverse_arcs, create_program_flow_graph,
20302 solve_program_flow_graph, calculate_branch_probs,
20303 function_summary, main, fancy_abort): Add prototypes.
20305 * gen-protos.c (add_hash, parse_fn_proto, main): Likewise.
20306 (add_hash): Constify a char*.
20308 * ggc-common.c (ggc_mark_rtx_ptr, ggc_mark_tree_ptr,
20309 ggc_mark_tree_varray_ptr, ggc_mark_tree_hash_table_ptr,
20310 ggc_mark_string_ptr, ggc_mark_tree_hash_table_entry): Add prototypes.
20312 * integrate.c (expand_inline_function_eh_labelmap): Likewise.
20314 * lists.c (free_list, zap_lists): Likewise.
20316 Sun Oct 3 12:05:28 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
20318 * alias.c (nonlocal_reference_p): Add static prototype.
20320 * bitmap.c (bitmap_element_allocate): Prototype args in function
20323 * builtins.c (stabilize_va_list): Add static prototype.
20324 (expand_builtin_va_arg): Constify a char*.
20326 * c-lex.c (getch, put_back, extend_token_buffer_to,
20327 read_line_number, token_getch, token_put_back): Add static
20330 * c-parse.gperf (hash, is_reserved_word): Likewise.
20332 * cccp.c (is_dir_separator): Likewise.
20334 Sat Oct 2 16:07:56 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
20336 * graph.h: New file to prototype functions exported by graph.c.
20338 * Makefile.in (graph.o, toplev.o): Depend on graph.h.
20340 * graph.c: Include graph.h.
20342 * toplev.c: Likewise. Remove redundant prototypes.
20344 Sat Oct 2 11:28:33 1999 Krister Walfridsson <cato@df.lth.se>
20346 * invoke.texi: Removed duplicated description for -Q.
20348 Sat Oct 2 11:16:00 1999 Jim Kingdon <http://developer.redhat.com>
20350 * extend.texi: Grammar fix in __extension__ text.
20352 Sat Oct 2 11:06:31 1999 Richard Henderson <rth@cygnus.com>
20354 * md.texi (define_peephole2): New section.
20356 Sat Oct 2 10:57:56 1999 Jan Hubicka <hubicka@freesoft.cz>
20358 * i386.md (mov?i patterns): Fix handling of TARGET_USE_MOV0
20359 (mov $-1 to or peepholer): Enable for pentium when optimizing for
20362 Sat Oct 2 10:55:25 1999 Jan Hubicka <hubicka@freesoft.cz>
20364 * builtins.c (expand_builtin_strlen): Fix best mode searching loop.
20366 Sat Oct 2 10:53:22 1999 Jan Hubicka <hubicka@freesoft.cz>
20368 * i386.md (ffs expander): Emit Pentium friendly code for
20371 Sat Oct 2 02:48:21 1999 Mark P. Mitchell <mark@codesourcery.com>
20373 * tree.c (build): Don't look at TREE_SIDE_EFFECTS or TREE_RAISES
20375 (build1): Likewise.
20377 Fri Oct 1 18:01:11 1999 Bernd Schmidt <bernds@cygnus.co.uk>
20379 * i386elf.h (TARGET_DEFAULT): Use symbolic constants.
20381 Fri Oct 1 12:42:53 1999 Andreas Schwab <schwab@suse.de>
20383 * config/m68k/m68k.c (use_return_insn): Return false if the pic
20384 register is in use.
20386 Fri Oct 1 10:56:06 1999 Bernd Schmidt <bernds@cygnus.co.uk>
20388 * md.texi (No Constraints): Delete section.
20389 * Makefile.in (genattrtab.o): Don't depend on "insn-config.h".
20390 * final.c (final_scan_insn): We always have register constraints.
20391 * genattrtab.c: Don't include "insn-config.h".
20392 (write_attr_case): We always have register constraints.
20393 * genconfig.c (register_constraint_flag): Delete.
20394 (walk_insn_part): Don't check whether we have register constraints.
20395 (main): Don't write out "#define REGISTER_CONSTRAINTS".
20396 * genoutput.c (have_constraints): Delete.
20397 (main): Don't set it.
20398 (output_operand_data): We always have constraints.
20399 (scan_operands): Likewise.
20400 (compare_operands): Likewise.
20401 * local-alloc.c (block_alloc): We always have constraints.
20402 (requires_inout): Always compile this function.
20403 * recog.c (extract_insn): We always have constraints.
20404 (constrain_operands, reg_fits_class_p): Always compile these
20406 * recog.h (struct recog_data): Delete non-REGISTER_CONSTRAINTS
20408 (struct insn_operand_data): Likewise.
20409 * regclass.c (regclass): We always have constraints.
20410 (record_reg_classes, copy_cost, record_address_regs,
20411 auto_inc_dec_reg_p): Always compile these functions.
20412 * regmove.c (regmove_optimize): We always have constraints.
20413 * reload.c (find_reloads): Likewise.
20414 * reload1.c (reload): Likewise.
20415 (reload_cse_simplify_operands): Likewise.
20416 * i860.c (output_delay_insn): Likewise.
20418 Thu Sep 30 23:04:41 1999 Mark P. Mitchell <mark@codesourcery.com>
20420 * iris6.h (BUILD_VA_LIST_TYPE): Define.
20422 Thu Sep 30 18:44:50 1999 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
20424 * rs6000.c (rs6000_build_va_list): Create a TYPE_DECL node
20425 for the va_list record.
20427 Thu Sep 30 18:34:54 1999 Jan Hubicka <hubicka@freesoft.cz>
20429 * i386.c (ix86_adjust_cost): Ignore false ebp dependencies in
20432 Thu Sep 30 18:31:36 1999 Jan Hubicka <hubicka@freesoft.cz>
20434 * alias.c: Include insn-flags.h.
20435 * Makefile.in (alias.o): Update.
20437 Thu Sep 30 18:21:30 1999 Jan Hubicka <hubicka@freesoft.cz>
20439 * i386.c (ix86_expand_int_movcc): Convert LEU and GTU comparisons
20440 to LTU and GEU. Handle more cases using sbb.
20442 Thu Sep 30 18:18:39 1999 Jan Hubicka <hubicka@freesoft.cz>
20444 * i386.md (truncatexfdf splitters): Do not use subreg.
20445 (fop XFmode patterns): Fix mode in operand testing.
20447 Thu Sep 30 18:04:13 1999 Richard Henderson <rth@cygnus.com>
20449 * jump.c (jump_optimize_1): Amend last change to test only the
20450 form of the operand, not the insn.
20452 * jump.c (jump_optimize_1) [conditional_move]: Use general_operand
20453 not register_operand to determine when B may need preloading.
20455 Thu Sep 30 17:39:16 1999 Richard Henderson <rth@cygnus.com>
20457 * alpha.md (*): Use nonimmediate not general_operand for SET_DEST.
20458 (ffsdi2, extxl, insxh, mskxh): Add missing DImode to SET_SRC.
20459 (call-value patterns): Move to end of file.
20460 (*): Remove mode from label_ref in (pc) context.
20461 (movstrqi): Use memory not general_operand for BLKmode operands.
20462 (prologue_stack_probe_loop, builtin_longjmp): Add missing mode
20463 to register_operand operands.
20464 (peep2 patterns): Convert from commented-out peephole patterns.
20466 Thu Sep 30 14:39:17 1999 Bernd Schmidt <bernds@cygnus.co.uk>
20468 * tree.h (enum built_in_function): Rename BUILT_IN_DWARF_REG_SIZE
20469 to BUILT_IN_INIT_DWARF_REG_SIZES.
20470 * builtins.c (expand_builtins, case BUILT_IN_INIT_DWARF_REG_SIZES):
20471 Renamed from BUILT_IN_DWARF_REG_SIZE; call
20472 expand_builtin_init_dwarf_reg_sizes.
20473 * c-decl.c (init_decl_processing): Replace __builtin_dwarf_reg_size
20474 with __builtin_init_dwarf_reg_size_table.
20475 * dwarf2out.c (struct reg_size_range): Delete.
20476 (expand_builtin_init_dwarf_reg_sizes): New function.
20477 (expand_builtin_dwarf_reg_size): Delete.
20478 * except.h (expand_builtin_init_dwarf_reg_sizes): Declare.
20479 (expand_builtin_dwarf_reg_size): Don't declare.
20480 * libgcc2.c (dwarf_reg_size_table_initialized): New.
20481 (dwarf_reg_size_table): New.
20482 (init_reg_size_table): New function.
20483 (copy_reg): Use dwarf_reg_size_table.
20484 (eh_context_initialize): Make sure dwarf_reg_size_table is initialized
20487 Thu Sep 30 05:40:34 1999 Richard Earnshaw <rearnsha@arm.com>
20489 * c-lang.c (finish_file case ndef ASM_OUTPUT_{CON,DE}STRUCTOR):
20490 Correctly build argument list to constructor and destructor functions.
20492 Thu Sep 30 00:13:27 1999 Dirk Zoller <duz@rtsffm.com>
20494 * c-tree.h (warn_float_equal): Declare.
20495 * c-decl.c (warn_float_equal): Define.
20496 (c_decode_option): Recognize -W[no-]float-equal.
20497 * c-typeck.c (build_binary_op): Conditionally warn
20498 about equality tests of floating point types.
20499 * toplev.c (documented_lan_options): Add -W[no-]float-equal.
20500 * invoke.texi: Add docs for -Wfloat-equal warning.
20502 Wed Sep 29 23:43:39 1999 Jeffrey A Law (law@cygnus.com)
20504 * h8300.h (INIT_TARGET_OPTABS): Use init_one_optab instead of
20505 generating RTL directly.
20506 * mips.h (INIT_TARGET_OPTABS): Likewise.
20507 * mn10200.h (INIT_TARGET_OPTABS): Likewise.
20509 * expr.h (init_mov_optab): Delete declaration
20511 * h8300.c (WORD_REG_USED): Update to avoid useless register
20512 saves in interrupt functions and functions which never return.
20514 * cse.c (struct set): Delete inner_dest_loc field.
20515 (cse_insn): Remove assignments to inner_dest_loc field.
20517 Wed Sep 29 16:06:20 1999 Richard Henderson <rth@cygnus.com>
20519 * ggc-page.c: Don't include <unistd.h> etc taken care of
20520 by "system.h". Include <sys/mman.h> afterward.
20522 Wed Sep 29 16:05:18 1999 Richard Henderson <rth@cygnus.com>
20524 * rs6000.c (rs6000_encode_section_info): If ggc_p, use
20527 Tue Sep 28 16:45:40 1999 David Edelsohn <edelsohn@gnu.org>
20529 * xcoffout.c (xcoffout_declare_function): Add documentation.
20530 * rs6000.c (num_insns_constant_wide): Use TARGET_POWERPC64 not
20531 TARGET_64BIT. Compare constant to -1, not bit pattern.
20532 (easy_fp_constant): Use TARGET_POWERPC64 not TARGET_64BIT.
20533 (expand_block_move): Allow 8 DImode loads for PowerPC64. Fix
20536 Tue Sep 28 16:43:14 1999 Nick Clifton <nickc@cygnus.com>
20538 * dwarf2out.c (add_abstract_origin_attribute): Abort if
20539 origin_die is NULL.
20540 (gen_inlined_enumeration_type_die): Do not abort if the type has
20541 not been writeen out.
20542 (gen_inlined_structure_type_die): Do not abort if the type has
20543 not been writeen out.
20544 (gen_inlined_union_type_die): Do not abort if the type has
20545 not been writeen out.
20546 (gen_tagged_type_instantiation_die): Do not abort if the type
20547 has not been written out.
20549 Tue Sep 28 14:33:47 1999 Bernd Schmidt <bernds@cygnus.co.uk>
20551 * c-decl.c (init_decl_processing): If MD_INIT_BUILTINS is defined,
20553 * reg-stack.c (straighten_stack): Copy hard reg set with
20556 Tue Sep 28 01:11:05 1999 Richard Henderson <rth@cygnus.com>
20558 * builtins.c (stabilize_va_list): Stabilize array type va_list
20559 to a pointer type, not the base record type.
20560 (expand_builtin_va_copy): Dereference the pointers explicitly;
20561 use the correct size for the copy.
20563 * rs6000.c (rs6000_va_start): Dereference valist to get to the record.
20564 (rs6000_va_arg): Likewise.
20566 Mon Sep 27 23:27:21 1999 Richard Henderson <rth@cygnus.com>
20568 * rtl.h (struct rtx_def): Move gc_mark to align mode field.
20570 Mon Sep 27 23:20:29 1999 Mark Mitchell <mark@codesourcery.com>
20572 * tree.h (struct tree_decl): Use `bclass', not `class', in name of
20574 (DECL_BUILT_IN_CLASS): Adjust accordingly.
20576 Mon Sep 27 23:03:16 1999 Richard Henderson <rth@cygnus.com>
20578 * ggc-page.c (GGC_MIN_LAST_ALLOCATED): New.
20579 (init_ggc): Use it instead of a constant.
20580 (ggc_collect): Bound allocated_last_gc by it.
20582 Mon Sep 27 19:06:04 1999 Jeffrey A Law (law@cygnus.com)
20584 * fixinc/fixinc.irix (stdio.h): Hack stdio.h to avoid problems
20587 Mon Sep 27 19:40:17 CEST 1999 Marc Espie <espie@cvs.openbsd.org>
20589 * configure.in (mips*el-*-openbsd*): Don't duplicate default settings.
20590 (mips*-*-openbsd*): Let big endian configuration be a fragment.
20591 * configure: Regen.
20592 * config/mips/openbsd.h: New, OpenBSD little endian target.
20593 * config/mips/openbsd-be.h: New, OpenBSD big endian target fragment.
20594 * config/mips/xm-openbsd.h: New, OpenBSD host.
20596 Mon Sep 27 10:28:48 1999 Andreas Schwab <schwab@suse.de>
20598 * config/m68k/m68k.c (output_function_prologue,
20599 output_function_epilogue): Use
20600 current_function_uses_pic_offset_table instead of regs_ever_live
20601 to decide whether to save/restore pic register.
20602 (legitimize_pic_address): Don't modify regs_ever_live any more.
20604 Sun Sep 26 10:55:36 1999 Mark Mitchell <mark@codesourcery.com>
20606 * function.h (struct function): Add x_dont_save_pending_sizes_p.
20607 * stor-layout.c (variable_size): Don't add sizes to the pending
20608 sizes list if x_dont_save_pending_sizes_p is set.
20610 Sun Sep 26 16:36:52 1999 Robert Lipe (robertlipe@usa.net)
20612 * config/i386/dgux.h (SELECT_RTX_SECTION): Provide dummy argument
20613 for symbolic_operand().
20614 * config/i386/sco5.h (SELECT_RTX_SECTION): Likewise.
20616 Sun Sep 26 07:37:11 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
20618 * combine.c (gen_rtx_combine): Add missing call to va_end().
20620 * final.c (asm_fprintf): Likewise.
20622 * genattrtab.c (attr_rtx): Likewise.
20624 Sat Sep 25 13:11:07 1999 Jeffrey A Law (law@cygnus.com)
20626 * cse.c: Update comments.
20627 (cse_insn): When converting a conditional/computed jump into
20628 an unconditional jump, always make sure a BARRIER immediately
20629 follows the converted jump. Do not delete unreachable code.
20630 (cse_basic_block): Do not delete unreachable code.
20631 * toplev.c (rest_of_compilation): Move call to
20632 delete_trivially_dead_insns after the conditional call to
20635 Sat Sep 25 09:03:17 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
20637 * collect2.c (make_temp_file): Don't prototype.
20639 * gcc.c (make_temp_file): Likewise.
20641 * mips.c (mips_make_temp_file): Renamed from `make_temp_file'.
20643 Sat Sep 25 13:42:15 1999 Nick Clifton <nickc@cygnus.com>
20645 * varasm.c (asm_emit_uninitialised): New function: Generate
20646 the assembler statements necessary to declare an uninitialised
20648 (ASM_EMIT_LOCAL): New macro: Emit a local, uninitialised
20650 (ASM_EMIT_BSS): New macro: Emit an entry in the bss section.
20651 (ASM_EMIT_COMMON): New macro: Emit an entry in the common
20653 (assemble_variable): Use asm_emit_uninitialised to emit an
20654 uninitialised variable.
20656 Fri Sep 24 17:10:56 1999 Nick Clifton <nickc@cygnus.com>
20658 * combine.c (simplify_comparison): Cope with downshifting a 32 bit
20659 constant on a 64 bit host. Patch supplied by Geoffrey Keating
20660 <geoffk@cygnus.com>.
20662 Fri Sep 24 10:48:10 1999 Bernd Schmidt <bernds@cygnus.co.uk>
20664 * builtins.c (expand_builtin): Use MD_EXPAND_BUILTIN if defined.
20665 * c-common.h (builtin_function): Don't declare.
20667 * c-decl.c (duplicate_decls): Use DECL_BUILT_IN_CLASS rather than
20669 (pushdecl): Likewise.
20670 (finish_decl): Likewise.
20671 (builtin_function): New arg CLASS. Arg FUNCTION_CODE now of type
20672 int. All callers changed.
20673 Set the builtin's DECL_BUILT_IN_CLASS.
20674 * tree.h (enum built_in_class): New.
20675 (enum built_in_function): Delete NOT_BUILT_IN.
20676 (DECL_FUNCTION_CODE): The corresponding field in tree_decl is now
20678 (DECL_SET_FUNCTION_CODE): Likewise.
20679 (DECL_BUILT_IN_CLASS): New macro.
20680 (DECL_BUILT_IN): Use DECL_BUILT_IN_CLASS.
20681 (struct tree_decl): Split builtin function code field into a
20683 (builtin_function): Declare.
20685 Fri Sep 24 01:45:05 1999 Mark Mitchell <mark@codesourcery.com>
20687 * optabs.c (init_traps): Fix typo in last change.
20689 Fri Sep 24 01:10:11 1999 Mark Mitchell <mark@codesourcery.com>
20691 * toplev.c (rest_of_decl_compilation): Update comment.
20693 Fri Sep 24 11:57:06 1999 Geoffrey Keating <geoffk@cygnus.com>
20695 * config/mips/elf.h (ASM_OUTPUT_ALIGNED_BSS): Put the symbol
20696 in .sbss if appropriate.
20697 (EXTRA_SECTION_FUNCTIONS): Add sbss.
20698 (SBSS_SECTION_ASM_OP): New macro.
20699 * config/mips/linux.h (EXTRA_SECTION_FUNCTIONS): Add sbss.
20700 (EXTRA_SECTIONS): Add in_sbss.
20701 * config/mips/mips.h: Prototype sbss_section.
20703 Thu Sep 23 18:18:55 1999 Mark Mitchell <mark@codesourcery.com>
20705 * stmt.c (expand_start_bindings): Don't allow cleanup instructions
20708 Thu Sep 23 18:07:01 1999 Mark Mitchell <mark@codesourcery.com>
20710 * optabs.c (init_traps): Register trap_rtx as a GC root.
20712 Thu Sep 23 17:41:47 1999 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
20714 * config/mips/mips.c (function_arg_pass_by_reference): Define
20715 unconditionally, since it's called unconditionally.
20717 Thu Sep 23 13:40:02 1999 Jason Merrill <jason@yorick.cygnus.com>
20719 * toplev.c (documented_lang_options): Add -fshort-wchar.
20720 * c-decl.c (c_decode_option): Likewise.
20721 (init_decl_processing): If -fshort-wchar, use 'short unsigned int'
20723 * c-common.c, c-lex.c: Get WCHAR_TYPE_SIZE from wchar_type_node.
20724 * gcc.c (default_compilers): If -fshort-wchar,
20725 override __WCHAR_TYPE__.
20726 * tm.texi (C Dialect Options): Add -fshort-wchar.
20728 * dwarf2out.c (output_aranges): Use DW_AT_location to find the
20729 symbol for a variable.
20731 * cpplib.h (CPP_PREPROCESSED): New macro.
20732 * cpplib.c (handle_directive): Don't complain about `# NUMBER' if
20733 we're seeing this input for a second time.
20735 Thu Sep 23 12:54:49 1999 Alex Samuel <samuel@codesourcery.com>
20737 * emit-rtl.c (init_emit_once): Initialize modes first.
20739 Sun Sep 19 01:23:23 1999 Alex Samuel <samuel@codesourcery.com>
20741 * config/i386/i386.c (pic_label_name): Change to char pointer.
20742 (global_offset_table): New variable.
20743 (load_pic_register): Fill global_offset_table if it hasn't
20744 already been done. Allocate pic_label_name dynamically.
20745 * ggc.h (empty_string): New variable.
20746 * ggc-simple.c (empty_string): Likewise.
20747 (init_ggc): Allocate empty_string and add as root.
20748 * stmt.c (digit_strings): New variable.
20749 (init_stmt): Add last_block_end_note as root. Allocate and
20750 initialize digit_strings.
20751 (expand_asm_operands): Use empty_string instead of string
20752 constant. Use digit_strings instead of string constants.
20753 * profile.c (init_arc_profiler): Allocate string with
20754 ggc_alloc_string instead of xmalloc.
20755 (output_func_start_profiler): Likewise.
20756 * c-typeck.c (digest_init): Check if init is error_mark_node.
20758 Thu Sep 23 12:59:14 1999 Alex Samuel <samuel@codesourcery.com>
20759 Richard Henderson <rth@cygnus.com>
20761 * ggc-page.c: New file.
20762 * Makefile.in (ggc-page.o): New.
20764 Thu Sep 23 13:55:21 1999 Jeffrey A Law (law@cygnus.com)
20766 * invoke.texi: Document -fdelete-null-pointer-checks
20767 * toplev.c (flag_delete_null_pointer_checks): New.
20768 (f_options): Add entry for -fdelete-null-pointer-checks.
20769 (rest_of_compilation): Conditionalize null pointer check
20770 elimination on flag_delete_null_pointer_checks.
20771 (main): If -O2 or greater, enable -fdelete-null-pointer-checks
20773 1999-09-23 10:56 -0700 Zack Weinberg <zack@bitmover.com>
20775 * iso646.h, stdarg.h, stdbool.h, stddef.h, varargs.h: Add
20776 copyright notice and special exception to GPL.
20778 Thu Sep 23 13:40:23 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
20780 * abi64.h (mips_function_value): Add prototype arguments.
20782 * mips-protos.h: New file with mips prototypes.
20784 * mips.c: Include "tm_p.h".
20785 (mktemp, lookup_name): Add prototype arguments.
20786 (extern_list, string_constant, mips_fill_delay_slot,
20787 mips_output_external, mips_output_external_libcall,
20788 mips_output_filename, mips_declare_object, function_prologue,
20789 mips_expand_prologue, function_epilogue, mips16_constant,
20790 build_mips16_function_stub, mips_output_conditional_branch):
20792 (mips_va_start): Remove unused variable `u'.
20793 (mips_va_arg): Cast value to unsigned when comparing against one.
20795 (save_restore_insns, mips_expand_prologue): Add missing arg in
20796 call to `large_int'.
20798 * mips.h: Move prototypes to mips-protos.h.
20799 (data_section, memory_address_p, rdata_section,
20800 readonly_data_section, simple_epilogue_p, text_section): Delete
20801 prototypes delcared elsewhere.
20802 (mips_epilogue_delay_slots, print_options): Delete unused decls.
20804 (GO_PRINTF, GO_PRINTF2): Call fprintf, not trace.
20806 * mips.md: Delete extra args in call to `mips_move_2words'.
20808 * xm-iris6.h (alloca): Add prototype argument.
20810 * genpeep.c: Include "tm_p.h" in generated output file.
20812 Thu Sep 23 10:36:55 EDT 1999 Andrew MacLeod <amacleod@cygnus.com>
20814 * basic-block.h (find_edge_index): Change parameters.
20815 * flow.c (verify_edge_list): Pass basic_block parameters to
20816 find_edge_index instead of integers.
20818 Thu Sep 23 15:54:12 1999 Nick Clifton <nickc@cygnus.com>
20820 * combine.c (simplify_comparison): Use an unsigned shift to adjust
20823 Thu Sep 23 08:46:21 1999 Guy Harris <guy@netapp.com>
20825 * gcc.1: Fix a formatting error.
20827 Wed Sep 22 16:10:21 1999 Martin v. Löwis <loewis@informatik.hu-berlin.de>
20829 * install.texi (Configurations): Remove pyramid. Add fr30, i686,
20830 i786, mn10200, mn10300, pdp11, v850.
20832 Thu Sep 23 07:37:13 1999 Dan Nicolaescu <dann@ics.uci.edu>
20834 * libgcc2.c (num_digits): Add prototype with
20835 __attribute__((const)).
20836 (__terminate): Add prototype.
20838 Thu Sep 23 05:32:06 1999 Richard Henderson <rth@cygnus.com>
20840 * builtins.c, dbxout.c, varasm.c: Include tm_p.h.
20842 * alpha/alpha.c (print_operand): Fix type of `code'.
20843 (alpha_output_filename): Constify.
20844 * alpha/alpha.h: Move all function declarations ...
20845 * alpha/alpha-protos.h: ... here. New file.
20846 * alpha/elf.h (CONST_SECTION_FUNCTION): Prototype the function.
20847 (SECTION_FUNCTION_TEMPLATE): Likewise.
20849 Thu Sep 23 11:15:36 1999 Bernd Schmidt <bernds@cygnus.co.uk>
20851 * expmed.c (do_cmp_and_jump): Pass ccp_jump to can_compare_p.
20852 * expr.c (expand_expr): Likewise.
20853 (do_jump): Likewise.
20854 (do_store_flag): Pass ccp_store_flag to can_compare_p.
20855 * expr.h (enum optab_index): Add cbranch, cmov, cstore optabs and
20857 (enum can_compare_purpose): New.
20858 (can_compare_p): Adjust prototype.
20859 (prepare_cmp_insn, prepare_operand): Declare.
20860 * genopinit.c (optabs): Add cbranch_optab, cmov_optab, cstore_optab.
20861 * optabs.c (cmp_available_p): Deleted.
20862 (expand_abs): Pass ccp_jump to can_compare_p.
20863 (can_compare_p): New arg PURPOSE. Check for combined optabs.
20864 (prepare_cmp_insn): No longer static. Add arg PURPOSE.
20865 Call can_compare_p rather than cmp_available_p.
20866 (prepare_operand): No longer static.
20867 (emit_cmp_and_jump_insn): Check for and use cbranch patterns.
20868 (emit_cmp_and_jump_insns): Pass ccp_jump to prepare_cmp_insn.
20869 (expand_float): Fix a slightly broken emit_cmp_insn/emit_jump_insn
20870 sequence to use emit_cmp_and_jump_insns.
20871 (init_optabs): Initialize cbranch_optab, cmov_optab, cstore_optab.
20873 Wed Sep 22 17:58:01 1999 Stan Cox <scox@cygnus.com>
20875 * mips.h (GO_IF_LEGITIMATE_ADDRESS): Don't accept large
20876 register offsets; let LEGITIMIZE_ADDRESS load it into a register.
20877 (LEGITIMIZE_ADDRESS): Use plus_constant to avoid
20878 (plus (reg) (const_int 0))
20879 * mips.md (call_internal3c): New pattern for -mips16 -mlong-calls.
20881 Wed Sep 22 17:55:31 1999 David Edelsohn <edelsohn@gnu.org>
20883 * rs6000.c (expand_block_move): DImode loads and stores require
20884 word-aligned displacements. Increment address registers with
20885 adddi3 on 64-bit platform. Use TARGET_POWERPC64 not TARGET_64BIT.
20887 Wed Sep 22 17:35:55 1999 Michael Meissner <meissner@cygnus.com>
20889 * dwarf2out.c (base_type_die): Use the name __unknown__ if there
20890 is no name for the base type, rather than segfault. If we are
20891 writing out a complex integer type, use DW_ATE_lo_user.
20893 * expr.c (emit_move_insn_1): If we are copying a complex that fits
20894 in one word or less (complex char, complex short, or on 64 bit
20895 systems complex float) to/from a hard register, copy it through
20896 memory instead of dying in gen_{real,imag}part. If we have a
20897 short complex type, prevent inlining since it allocates stack
20900 * tree.c (build_complex_type): If we are writing dwarf2 output,
20901 generate a name for complex integer types.
20903 Wed Sep 22 11:34:08 EDT 1999 Andrew MacLeod <amacleod@cygnus.com>
20905 * basic-block.h (add_noreturn_fake_exit_edges): Use correct name.
20906 * flow.c (remove_edge): Remove extra whitespace.
20907 (remove_fake_edges): Fix comment.
20908 (add_noreturn_fake_exit_edges): Use the correct name.
20910 Wed Sep 22 16:12:40 BST 1999 Nathan Sidwell <nathan@acm.org>
20912 * Makefile.in (INTL_MOSTLYCLEAN, INTL_CLEAN): New variables.
20913 (mostlyclean): Depend on INTL_MOSTLYCLEAN.
20914 (clean): Depend on INTL_CLEAN.
20915 (maintainer-clean): Adjust.
20917 Wed Sep 22 10:18:56 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
20919 * configure.in (AC_PREREQ): Bump to 2.13.
20920 (AC_C_STRINGIZE): Call this instead of using a custom macro.
20922 * gansidecl.h (HAVE_STRINGIZE): Define, if stage2 gcc && __STDC__.
20924 * system.h (HAVE_STRINGIZE): Test this instead of HAVE_CPP_STRINGIFY.
20926 * acconfig.h (HAVE_CPP_STRINGIFY): Delete.
20928 * alpha/xm-vms.h (HAVE_CPP_STRINGIFY): Delete.
20929 (HAVE_STRINGIZE): Define.
20931 Wed Sep 22 06:25:15 1999 Jim Kingdon <http://developer.redhat.com>
20933 * c-parse.in: save and restore warn_pointer_arith on __extension__
20934 along with pedantic.
20935 (SAVE_WARN_FLAGS, RESTORE_WARN_FLAGS): Added.
20936 Set the type of extension to itype rather than $<itype>1 kludge.
20937 * extend.texi (Alternate Keywords): Adjust documentation.
20938 * c-parse.c, c-parse.y, objc-parse.c, objc-parse.y: Rebuilt.
20940 Wed Sep 22 06:06:57 1999 Jeffrey A Law (law@cygnus.com)
20942 * pa.c, pa.h, pa.md: Support multiple assembler dialects in
20943 most assembler templates.
20945 * pa.c (hppa_legitimize_address): Handle full offsets for PA2.0
20946 FP loads and stores.
20947 (following_call): Always return zero for the PA8000.
20948 * pa.h (GO_IF_LEGITIMATE_ADDRESS): Handle full offsets for PA2.0
20949 FP loads and stores.
20950 (LEGITIMIZE_RELOAD_ADDRESS): Similarly.
20952 * pa.h (BRANCH_COST): Define.
20954 * pa.md (return, return_internal): Use bve for PA2.0.
20956 * pa.md (fused multiply): Add variants which reduce height for the
20957 fused multiply, but which still generate 2 insns.
20958 (fnegabs): Similarly.
20960 * pa.md (subsi3): Turn into an expander. Create two anonymous
20961 patterns. One for PA2.0 one for PA1.x. Use mtsarcm for PA2.0.
20962 * pa.h (EXTRA_CONSTRAINT): Handle 'S'.
20964 * pa.md (floatunssisf2, floatunssidf2): Generate different RTL
20966 (floatunssidf2_pa20, floatunssisf2_pa20): New patterns for PA2.0
20968 (floatunsdisf2, floatunsdidf2, fixuns_truncsfsi2): Likewise.
20969 (fixuns_truncdfsi2, fixuns_truncsfdi2, fixuns_truncdfsi2): Likewise.
20971 * regclass.c (init_regs): Add "top_of_stack" as a garbage
20974 * flow.c (record_active_eh_regions): Terminate loop after finding
20975 the last insn in the last basic block.
20977 Wed Sep 22 20:25:00 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
20979 * config/c4x/c4x.md: Delete parallel instruction peepholes.
20981 Wed Sep 22 19:59:19 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
20983 * config/c4x/c4x.c (c4x_add_gc_roots): Add tree roots.
20985 Wed Sep 22 19:56:25 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
20987 * config/c4x/c4x.c (c4x_process_after_reload): Rework machdep insn
20988 splitting to not use output template.
20990 Wed Sep 22 19:50:12 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
20992 * config/c4x/c4x.h (EXPAND_BUILTIN_VA_START): Call c4x_va_start.
20993 * config/c4x/c4x.c (c4x_va_start): New function.
20995 Tue Sep 21 18:40:01 1999 Jan Hubicka <hubicka@freesoft.cz>
20997 * genrecog.c (not_both_true): Handle correctly cases when called for
20998 tests with different positions in the insn.
21000 Tue Sep 21 18:29:11 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
21002 * machmode.h (HOST_PTR_PRINTF): Move from here ...
21004 * system.h (HOST_PTR_PRINTF): ... to here.
21006 * mips-tfile.c: Don't include machmode.h.
21008 * Makefile.in (MACHMODE_H): New variable. Update to use it.
21009 (mips-tfile.o): Don't depend on machmode.h.
21011 Tue Sep 21 18:27:34 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
21013 * haifa-sched.c (sched_analyze): Rename local variable `region' to
21014 avoid conflicts with typedef struct `region' at the top level scope.
21016 Tue Sep 21 14:14:50 1999 Richard Henderson <rth@cygnus.com>
21018 * basic-block.h (basic_block): Add eh_beg, eh_end.
21019 * flow.c (entry_exit_blocks): Update.
21020 (find_basic_blocks): Don't allocate bb_eh_end, or pass it around.
21021 Call new functions.
21022 (find_basic_blocks_1): Don't record eh_list at each bb. Use
21023 lists.c functions to allocate insn lists.
21024 (make_edges): Use eh_beg+eh_end, not the lists. Split out EH
21026 (make_eh_edge): ... here. New.
21027 (move_stray_eh_region_notes): New.
21028 (record_active_eh_regions): New.
21029 (delete_unreachable_blocks): Split out block merging ...
21030 (try_merge_blocks): ... here. New.
21031 (merge_blocks_move_predecessor_nojumps): Remove edge arg.
21032 Dump debugging data.
21033 (merge_blocks_move_successor_nojumps): Likewise.
21034 (merge_blocks): Use eh_beg+eh_end to validate block movement.
21036 Tue Sep 21 11:15:03 1999 Martin v. Löwis <loewis@informatik.hu-berlin.de>
21038 * extend.texi (Bound member functions): Document unbound pmf
21041 Tue Sep 21 14:55:11 EDT 1999 Andrew MacLeod <amacleod@cygnus.com>
21043 * flow.c (split_edge): Handle insertion on a fallthrough edge which
21044 has the EXIT_BLOCK as a dest.
21046 Tue Sep 21 14:51:23 EDT 1999 Andrew MacLeod <amacleod@cygnus.com>
21048 * flow.c (remove_edge): New function to remove an edge from the
21050 (remove_fake_successors): New function to remove fake successor edges.
21051 (remove_fake_edges): New function to remove all fake edges from the
21053 (add_fake_exit_edges): New function to add fake edges from all blocks
21054 with no successors to the exit block.
21055 * basic-block.h (remove_fake_edges, add_fake_exit_edges): Add
21056 prototypes for new functions.
21058 Tue Sep 21 14:49:53 EDT 1999 Andrew MacLeod <amacleod@cygnus.com>
21060 * config/mips/elf64.h (ASM_OUTPUT_CONSTRUCTOR, ASM_OUTPUT_DESTRUCTOR):
21061 Use Pmode to determine whether to output .dword or .word.
21063 Tue Sep 21 11:04:34 1999 Alex Samuel <samuel@codesourcery.com>
21065 * tree.c (built_in_filename): New variable.
21066 (BUILT_IN_FILENAME): New macro.
21067 (init_tree_codes): Allocate built_in_filename.
21068 (make_node): Use built_in_filename instead of string constant.
21070 Tue Sep 21 14:13:27 1999 Nick Clifton <nickc@cygnus.com>
21072 * configure.in: Add fr30 target.
21073 * configure: Regenerate.
21074 * config/fr30: New directory.
21075 * config/fr30/crti.asm: New file.
21076 * config/fr30/fr30.c: New file.
21077 * config/fr30/crtn.asm: New file.
21078 * config/fr30/fr30.h: New file.
21079 * config/fr30/fr30.md: New file.
21080 * config/fr30/lib1funcs.asm: New file.
21081 * config/fr30/t-fr30: New file.
21082 * config/fr30/xm-fr30.h: New file.
21084 Tue Sep 21 06:45:31 1999 Jeffrey A Law (law@cygnus.com)
21086 * flow.c (merge_blocks_move_successor_nojumps): Delete the
21087 BARRIER at the end of the successor, not the BARRIER before
21090 * pa.c (pa_add_gc_roots): Fix thinko in last change.
21092 Tue Sep 21 05:29:17 1999 Richard Earnshaw (rearnsha@arm.com)
21094 * stmt.c (any_pending_cleanups): Don't crash when
21095 current_function->stmt is unset.
21097 Tue Sep 21 00:59:49 1999 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
21099 * emit-rtl.c (init_emit_once): Initialize const_int_rtx before
21100 other initializations that may use it for relative offsets.
21102 Mon Sep 20 21:43:25 1999 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
21104 * config/i386/sol2.h (PREFERRED_DEBUGGING_TYPE): Use stabs.
21105 (ASM_SPEC): Moved from sol2dbg.h. Added work-around for gas.
21106 * config/i386/sol2dbg.h: Removed.
21107 * config/i386/sol2gas.h: New file, to enable gas work-around.
21108 * configure.in: Use i386/sol2gas.h on Solaris/x86 --with-gas.
21109 Don't use sol2dbg.h.
21110 * configure: Rebuilt.
21112 Mon Sep 20 13:29:41 1999 Mark Mitchell <mark@codesourcery.com>
21114 * invoke.texi (-fthis-is-variable): Remove documentation.
21116 Mon Sep 20 12:59:16 1999 Richard Henderson <rth@cygnus.com>
21118 * basic-block.h (compute_bb_for_insn): Declare.
21119 * flow.c (compute_bb_for_insn): Export. Don't accept the varray
21120 to use; set size of basic_block_for_insn directly.
21121 (find_basic_blocks): Update.
21123 Mon Sep 20 15:11:54 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
21125 * flow.c (verify_flow_info): Fix typo, "abort;" -> "abort ();".
21127 Mon Sep 20 14:56:34 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
21129 * crtstuff.c (ON_EXIT): Delete empty macro definition.
21130 (__do_global_ctors_aux): Call atexit(), not ON_EXIT().
21132 Mon Sep 20 15:25:35 1999 Nick Clifton <nickc@cygnus.com>
21134 * c-decl.c (c_decode_option): Extend comment.
21136 Mon Sep 20 14:43:37 1999 Nick Clifton <nickc@cygnus.com>
21138 * toplev.c (progname): Make 'const char *'
21139 (flag_print_mem): Move out of main.
21140 (version_flag): Move out of main.
21141 (filename): Move out of main.
21142 (debug_args): Remove g prefix from options.
21143 (documented_lang_options): Remove cpplib specific options.
21144 (display_help): Add g prefix to debug options.
21145 (check_lang_option): Delete this function.
21146 (decode_d_option): New function: Decode -d... option.
21147 (decode_f_option): New function: Decode -f... option.
21148 (decode_W_option): New function: Decode -W... option.
21149 (decode_g_option): New function: Decode -g... option.
21150 (independent_decode_option): New function: Decode a language
21151 independent command line option.
21152 (main): Invoke lang_decode_option and then
21153 independent_decode_option on each command line option in
21156 Mon Sep 20 05:41:36 1999 Jeffrey A Law (law@cygnus.com)
21158 Revert this change. Gavin's patch to operand_equal_p is a better fix.
21159 * fold-const.c (fold_range_test): Do not try to fold the range
21160 test if the rhs or lhs has side effects.
21162 * basic-block.h (compute_flow_dominators): Declare.
21164 * gcse.c (alloc_code_hoist_mem): New function.
21165 (free_code_hoist_mem, compute_code_hoist_vbeinout): Likewise.
21166 (compute_code_hoist_data, hoist_expr_reaches_here_p): Likewise.
21167 (hoist_code, one_code_hoisting_pass): Likewise.
21168 (gcse_main): If optimizing for size, then hoist expressions
21169 computed in multiple dominated basic blocks.
21171 * gcse.c (invalid_nonnull_info): New function.
21172 (delete_null_pointer_checks): Likewise.
21173 * rtl.h (delete_null_pointer_checks): Declare.
21174 * toplev.c (rest_of_compilation): Call delete_null_pointer_checks.
21176 * flow.c (merge_blocks_move_predecessor_nojumps): New function.
21177 (merge-blocks_move_successor_nojumps): Likewise.
21178 (merge_blocks): Allow merging of some blocks, even if it requires
21179 physical movement of the blocks, but not if it requires new jumps.
21181 * bitmap.c (debug_bitmap_file): Renmaed from bitmap_debug_file.
21182 Callers and prototype changed.
21183 * bitmap.h: Fix debug_bitmap and debug_bitmap_file prototypes.
21185 Mon Sep 20 06:56:32 1999 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
21187 * config/sparc/sol2.h (LINK_SPEC): Avoid the duplication of
21188 -YP when both -p and -pg are present. From i386/sol2.h.
21190 Mon Sep 20 10:49:05 1999 Bernd Schmidt <bernds@cygnus.co.uk>
21192 * Makefile.in (distclean): Delete tm_p.h.
21193 * configure.in: Create a new file, "tm_p.h", from a list in
21194 "tm_p_file". For ix86 systems, set up "tm_p_file" to include
21195 "i386/i386-protos.h".
21197 * alias.c: Include "tm_p.h".
21198 * c-typeck.c: Likewise.
21199 * calls.c: Likewise.
21201 * emit-rtl.c: Likewise.
21202 * explow.c: Likewise.
21203 * expmed.c: Likewise.
21204 * expr.c: Likewise.
21205 * final.c: Likewise.
21206 * flow.c: Likewise.
21207 * fold-const.c: Likewise.
21208 * function.c: Likewise.
21209 * gcse.c: Likewise.
21210 * global.c: Likewise.
21211 * haifa-sched.c: Likewise.
21212 * integrate.c: Likewise.
21213 * jump.c: Likewise.
21214 * local-alloc.c: Likewise.
21215 * loop.c: Likewise.
21216 * optabs.c: Likewise.
21217 * recog.c: Likewise.
21218 * reg-stack.c: Likewise.
21219 * regclass.c: Likewise.
21220 * regmove.c: Likewise.
21221 * reload.c: Likewise.
21222 * reload1.c: Likewise.
21223 * reorg.c: Likewise.
21224 * resource.c: Likewise.
21225 * stmt.c: Likewise.
21226 * stor-layout.c: Likewise.
21227 * toplev.c: Likewise.
21228 * tree.c: Likewise.
21229 * unroll.c: Likewise.
21230 * genattrtab.c (main): Make generated file include "tm_p.h".
21231 * genemit.c (main): Likewise.
21232 * genoutput.c (main): Likewise.
21233 * genrecog.c (main): Likewise.
21235 * i386.h: Delete all prototypes.
21236 * i386.c: Include "tm_p.h".
21237 (ix86_attr_length_default): Call constant_call_address_operand
21238 with correct number of arguments.
21239 * i386-protos.h: New file.
21240 * i386.md (unnamed patterns): Call constant_call_address_operand
21241 with correct number of arguments.
21242 (exception_receiver): Call load_pic_register with correct number
21245 Sun Sep 19 14:18:39 1999 Richard Henderson <rth@cygnus.com>
21247 * c-pragma.c (mark_align_stack): Dereference the void* properly.
21249 Sun Sep 19 09:03:40 1999 Mark Mitchell <mark@codesourcery.com>
21251 * rtl.h (insns_safe_to_move_p): New function.
21252 * loop.c (find_and_verify_loops): Use it.
21253 * rtlanal.c (insns_safe_to_move_p): Define it.
21255 Sun Sep 19 02:54:33 1999 Richard Henderson <rth@cygnus.com>
21257 * c-pragma.c: Include ggc.h.
21258 * Makefile.in (c-pragma.o): Update.
21260 Sat Sep 18 16:01:18 1999 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
21262 * config/i386/sol2.h (CPP_SPEC): Support -[p]threads
21263 (LIB_SPEC): Likewise.
21264 (LINK_SPEC): Do not assert -z text with -shared -mimpure-text.
21265 Reindent -YP/-p/-pg.
21266 Copied from config/sparc/sol2.h.
21268 Sat Sep 18 11:52:43 1999 Richard Henderson <rth@cygnus.com>
21270 * c-pragma.c (mark_align_stack): New.
21271 (init_pragma): New.
21272 * c-pragma.h (init_pragma): Declare it.
21273 * c-lex.c (init_parse): Call it.
21275 Sat Sep 18 15:20:38 1999 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
21277 * configure.in: Pick up thread library on Solaris/x86 just
21278 like on Solaris/sparc.
21279 * configure: Rebuilt.
21281 Sat Sep 18 11:15:58 1999 Alex Samuel <samuel@codesourcery.com>
21283 * rtl.h (global_rtx_index): New enum.
21284 (global_rtl): Change to array of rtx.
21285 (pc_rtx, cc0_rtx): Redefine accordingly.
21286 (cc0_rtx, stack_pointer_rtx, frame_pointer_rtx): Likewise.
21287 (hard_frame_pointer_rtx, arg_pointer_rtx): Likewise.
21288 (virtual_incoming_args_rtx, virtual_stack_vars_rtx): Likewise.
21289 (virtual_outgoing_args_rtx, virtual_cfa): Likewise.
21290 (const_int_rtx): Change to array of rtx.
21291 (const0_rtx, const1_rtx, const2_rtx, constm1_rtx): Redefine
21293 * emit-rtl.c (global_rtl): Change to array of rtx.
21294 (const_int_rtx): Change to aray of rtx.
21295 (gen_rtx_CONST_INT): Redefine accordingly.
21296 (init_emit_once): Allocate and initialize global_rtl. Likewise
21297 for const_int_rtx. Add both as GC roots.
21298 * genattrtab.c (global_rtl): Update declaration.
21300 1999-09-17 Ulrich Drepper <drepper@cygnus.com>
21302 * Makefile (USER_H): Add iso646.h back.
21304 Sat Sep 18 01:07:21 1999 Jeffrey A Law (law@cygnus.com)
21306 * haifa-sched.c (sched_analyze): Use free_INSN_LIST_list instead of
21307 zapping the LOG_LINKS of sched_before_next_call.
21309 * pa.h (INSN_SETS_ARE_DELAYED): Delete.
21310 * pa.c (insn_refs_are_delayed): Renamed from
21311 insn_sets_and_refs_are_delayed.
21313 Fri Sep 17 15:19:01 1999 Mark Mitchell <mark@codesourcery.com>
21315 * functiion.h (struct function): Add x_whole_function_mode_p.
21316 (retrofit_block): Declare.
21317 * function.c (retrofit_block): New function.
21318 (identify_blocks): Add assertions. Allow an incomplete set of
21319 block notes if we're still generating code for the function.
21320 * integrate.c: Include loop.h.
21321 (expand_inline_function): Call find_loop_tree_blocks to map block
21322 notes to blocks when in whole-function mode. Use retrofit_block
21323 to insert new BLOCKs for the inlined function, rather than
21325 * stmt.c (expand_fixup): Likewise. Don't use pushlevel/polevel.
21326 * Makefile.in (integrate.o): Depend on loop.h.
21328 Fri Sep 17 15:11:20 1999 Mark Mitchell <mark@codesourcery.com>
21330 * tree.h (warn_about_unused_variables): Declare.
21331 * stmt.c (warn_about_unused_variables): New function, split out
21333 (expand_end_bindings): Here.
21335 Fri Sep 17 15:07:37 1999 Mark Mitchell <mark@codesourcery.com>
21337 * stmt.c (preserve_subexpressions_p): Don't crash when
21338 current_function->stmt is unset.
21340 Fri Sep 17 15:03:16 1999 Mark Mitchell <mark@codesourcery.com>
21342 * stmt.c (expand_start_bindings): Allow callers to pass a flag
21343 indicating that no NOTE_INSN_BLOCK_BEG note is required.
21344 (expand_start_target_temps): Use it.
21345 * except.c (expand_eh_region_start_for_decl): Likewise.
21346 * expr.c (expand_expr): Likewise.
21348 Fri Sep 17 15:05:27 1999 Gavin Romig-Koch <gavin@cygnus.com>
21350 * fold-const.c (operand_equal_p): Pay attention to side effects.
21352 Fri Sep 17 11:14:17 1999 Jason Merrill <jason@yorick.cygnus.com>
21354 * libgcc2.c (L_exit): Check for ON_EXIT, not HAVE_ON_EXIT.
21355 * sparc/sunos4.h (HAVE_ON_EXIT): Remove.
21357 * tlink.c (scan_linker_output): Look for keywords before accepting
21358 a mangled name in quotes.
21360 Thu Sep 16 16:47:08 1999 Richard Henderson <rth@cygnus.com>
21362 * alpha/alpha-interix.h (DWARF2_UNWIND_INFO): Define to zero.
21363 * alpha/osf2or3.h (DWARF2_UNWIND_INFO): Likewise.
21365 Thu Sep 16 16:35:41 1999 Richard Henderson <rth@cygnus.com>
21367 * alpha.md: Revert Thu Nov 26 change that came in through the
21368 last gcc2 merge: reinstate (plus (plus ...)) reload patterns.
21369 Avoid earlyclobber when possible.
21371 Thu Sep 16 18:44:48 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
21373 * libgcc2.c (__do_global_ctors): Call atexit with one arg.
21375 * sparc/sunos4.h (on_exit): Wrap prototype parameters in PARAMS().
21376 Define HAVE_ON_EXIT.
21378 Thu Sep 16 18:06:35 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
21380 * system.h (CTYPE_CONV, TOUPPER, TOLOWER): New macros. Use
21381 CTYPE_CONV in all ctype macros.
21383 * cccp.c (initialize_char_syntax): Use uppercase ctype macro
21386 * cexp.y (initialize_random_junk): Likewise.
21388 * c4x.c (c4x_interrupt_function_p, c4x_handle_pragma): Likewise.
21390 * i370.c (handle_pragma): Likewise.
21392 * i370.h (ASM_OUTPUT_LABELREF, ASM_OUTPUT_ASCII): Likewise.
21394 * v850.c (override_options): Likewise.
21396 * doprint.c (_doprnt): Likewise.
21398 * fixinc/fixincl.c (main, quoted_file_exists, extract_quoted_files):
21401 * fixinc/server.c (load_data): Likewise.
21403 * fold-const.c (real_hex_to_f): Likewise.
21405 * genattr.c (write_upcase, gen_attr): Likewise.
21407 * genattrtab.c (convert_const_symbol_ref, evaluate_eq_attr,
21408 write_upcase): Likewise.
21410 * genemit.c (print_code): Likewise.
21412 * genopinit.c (gen_insn): Likewise.
21414 * genpeep.c (print_code): Likewise.
21416 * genrecog.c (print_code): Likewise.
21418 * optabs.c (init_libfuncs): Likewise.
21420 Thu Sep 16 14:03:32 1999 Mark Mitchell <mark@codesourcery.com>
21422 * haifa-sched.c (sched_analyze): Keep the list of notes organized
21424 (reemit_notes): Likewise.
21426 Thu Sep 16 11:50:52 1999 Alex Samuel <samuel@codesourcery.com>
21428 * ggc.h (ggc_root): Move to ggc-common.c.
21430 (ggc_mark_rtx, ggc_mark_tree): Change to macro.
21431 (ggc_mark_rtvec, ggc_mark_tree_varray): Declare extern.
21432 (ggc_mark_tree_hash_table, ggc_mark_string, ggc_mark): Likewise.
21433 (ggc_mark_roots, ggc_mark_rtx_children, ggc_mark_tree_children): New.
21434 * ggc-common.c (ggc_root): Move from ggc.h.
21435 (roots): Declare, static.
21436 (ggc_mark_rtx, ggc_mark_tree): Renamed to...
21437 (ggc_mark_rtx_children, ggc_mark_tree_children): Don't check for
21438 null or check/set mark bit.
21439 (ggc_mark_roots): New.
21440 * ggc-simple.c (ggc_collect): Call ggc_mark_roots.
21442 Thu Sep 16 11:37:32 1999 Richard Henderson <rth@cygnus.com>
21444 * m32r.c: Include toplev.h.
21445 (*): Add ATTRIBUTE_UNUSED as needed to arguments.
21446 (gen_compare): Rename swap_p to must_swap to match uses.
21447 Add default abort case.
21448 (m32r_output_function_epilogue): Remove unused variables.
21449 (m32r_print_operand): Use HOST_WIDE_INT_PRINT_HEX.
21450 * m32r.h (PROTO, STDIO_PROTO): Rename XPROTO; unconditionally
21451 define to empty parameter list. Update all uses.
21452 (predicate decls): Use enum machine_mode not int.
21453 * m32r.md (movsi): Call abort, not fatal_insn.
21454 (zero_branch_insn, rev_zero_branch_insn): Add default abort case.
21456 1999-09-14 Andrew Haley <aph@cygnus.com>
21458 * config/mips/mips.md (movsi_usw): if operand 1 is const_int 0,
21459 use $0 instead of 0.
21461 Thu Sep 16 10:53:36 1999 Bernd Schmidt <bernds@cygnus.co.uk>
21463 * reload1.c (order_regs_for_reload): Move hard_reg_n_uses
21464 computation out of loop over hard regs.
21466 Wed Sep 15 21:37:06 1999 Mark Mitchell <mark@codesourcery.com>
21468 * function.c (identify_blocks): Don't shadow a variable in an
21470 * integrate.c (integrate_decl_tree): Don't use pushlevel,
21471 pushdecl, or poplevel to build up the new BLOCK tree.
21472 (expand_inline_function): Likewise.
21473 (integrate_parm_decls): Likewise.
21475 Wed Sep 15 21:20:38 1999 Mark Mitchell <mark@codesourcery.com>
21477 * c-typeck.c (qualify_type): Merge qualifiers from both types.
21479 1999-09-15 Brad Lucier <lucier@math.purdue.edu>
21481 * toplev.c: Allow -f[no-]math-errno to set (clear) flag_errno_math
21482 * invoke.texi: Document this change.
21484 Wed Sep 15 17:56:00 1999 Richard Henderson <rth@cygnus.com>
21486 * emit-rtl.c (free_emit_status): Don't check DECL_DEFER_OUTPUT.
21488 (mark_emit_status): Renamed from mark_emit_state.
21489 * except.c (mark_eh_status): Renamed from mark_eh_state.
21490 Check not null before marking.
21491 (free_eh_status): New.
21492 * expr.c (mark_expr_status, free_expr_status): New.
21493 * function.c (free_machine_status): New.
21494 (free_after_parsing): New.
21495 (free_after_compilation): Move bits to free_after_parsing; call
21496 free_eh_status, free_expr_status; zero the marked members of the
21498 (prepare_function_start): No can_garbage_collect.
21499 Call init_eh_for_function.
21500 (expand_dummy_function_end): Free up current_function state.
21501 (mark_function_status): Renamed from mark_function_state.
21502 (mark_function_chain): No can_garbage_collect. Call mark_expr_status.
21503 * function.h (struct function): No can_garbage_collect.
21504 (free_machine_status, free_after_parsing): Declare.
21505 (free_eh_status, free_expr_status): Declare.
21506 * ggc.h (mark_expr_status): Declare.
21507 * stmt.c (free_stmt_status): Free the struct.
21508 (mark_stmt_status): Renamed from mark_stmt_state.
21509 (init_stmt): Don't call init_eh.
21510 (init_stmt_for_function): Don't call init_eh_for_function.
21511 * toplev.c (compile_file): Call init_eh.
21512 (rest_of_compilation): Free basic block info before ggc_collect.
21513 Call free_after_parsing; conditionally call free_after_compilation.
21514 * varasm.c (mark_varasm_status): Renamed from mark_varasm_state.
21515 Check not null before marking.
21516 (free_varasm_status): Don't check DECL_DEFER_OUTPUT. Free the struct.
21518 Wed Sep 15 17:53:16 1999 Richard Henderson <rth@cygnus.com>
21520 * c-lex.c (yylex): Initialize warn.
21522 Wed Sep 15 18:35:38 1999 Jeffrey A Law (law@cygnus.com)
21524 * pa.c (emit_move_sequence): Properly set the mode of the scratch
21525 register when performing secondary reloads for the SAR register.
21527 Wed Sep 15 15:51:52 1999 Mark Mitchell <mark@codesourcery.com>
21529 * rtl.h (NOTE_BLOCK_NUMBER): Replace with ...
21530 (NOTE_BLOCK): New macro.
21531 (NOTE_BLOCK_LIVE_RANGE_BLOCK): Remove.
21532 * function.h (identify_blocks): Change prototype.
21533 * function.c (identify_blocks): Simplify.
21534 (reorder_blocks): Likewise.
21535 * ggc-common.c (ggc_mark_rtx): Mark the BLOCK associated with a
21536 NOTE_INSN_BLOCK_{BEG,END}.
21537 * haifa-sched.c (sched_analyze): Don't put NOTE_BLOCK_NUMBER on
21538 the list of saved notes if the note isn't a
21539 NOTE_INSN_BLOCK_{BEG,END}.
21540 (move_insn1): Use NOTE_EH_HANDLER in comment, rather than
21542 (reemit_notes): Adjust recreation of notes to reflect new saved
21544 * print-rtl.c (print_rtx): Print the address of the BLOCK when
21545 printing a block note.
21546 * stmt.c (block_vector): Remove.
21547 (find_loop_tree_blocks): Simplify.
21548 (unroll_block_trees): Likewise.
21549 * tree.h (reorder_block): Change prototype.
21551 Wed Sep 15 14:39:35 1999 Jason Merrill <jason@yorick.cygnus.com>
21553 * gbl-ctors.h: Lose HAVE_ATEXIT. Don't define ON_EXIT.
21554 * libgcc2.c: Lose obsolete defn of WEAK_ALIAS.
21555 (__bb_init_func, __bb_init_prg): Use atexit instead of ON_EXIT.
21556 (__do_global_dtors): Likewise. Don't mess with _exit_dummy_decl.
21557 (atexit, exit): Simplify.
21558 * tm.texi: Document NEED_ATEXIT and ON_EXIT. Remove HAVE_ATEXIT.
21559 * config/lots: Remove defns of HAVE_ATEXIT.
21561 Wed Sep 15 10:25:12 1999 Mark Mitchell <mark@codesourcery.com>
21563 * calls.c (precompute_arguments): Fix typo in comment.
21564 * expr.c (preexpand_calls): Don't preexpand the cleanup in a
21567 Wed Sep 15 09:59:59 1999 Mark Mitchell <mark@codesourcery.com>
21569 * dsp16xx.c (override_options): Fix typos in GC root registration.
21571 Wed Sep 15 15:23:28 1999 Philip Blundell <pb@nexus.co.uk>
21573 * config/arm/linux-elf.h (MAKE_DECL_ONE_ONLY): Copy definition
21574 from config/svr4.h.
21575 (UNIQUE_SECTION_P, UNIQUE_SECTION): Likewise.
21576 (FUNCTION_PROFILER): Redefine appropriately for Linux.
21577 (CC1_SPEC): Likewise.
21579 Wed Sep 15 10:09:48 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
21581 * genattr.c (main): Add extern prototype. Call return, not exit.
21582 * genattrtab.c (main): Likewise.
21583 * gencheck.c (main): Likewise.
21584 * gencodes.c (main): Likewise.
21585 * genconfig.c (main): Likewise.
21586 * genemit.c (main): Likewise.
21587 * genextract.c (main): Likewise.
21588 * genflags.c (main): Likewise.
21589 * gengenrtl.c (main): Likewise.
21590 * genopinit.c (main): Likewise.
21591 * genoutput.c (main): Likewise.
21592 * genpeep.c (main): Likewise.
21593 * genrecog.c (main): Likewise.
21595 * genattr.c (get_insn_name): Mark parameter with ATTRIBUTE_UNUSED.
21596 * genattrtab.c (get_insn_name): Likewise.
21597 * gencodes.c (get_insn_name): Likewise.
21598 * genconfig.c (get_insn_name): Likewise.
21599 * genemit.c (get_insn_name): Likewise.
21600 * genextract.c (get_insn_name): Likewise.
21601 * genflags.c (get_insn_name): Likewise.
21602 * genopinit.c (get_insn_name): Likewise.
21603 * genpeep.c (get_insn_name): Likewise.
21605 * gencheck.c (usage): Add static prototype.
21606 * genextract.c (print_path): Constify a char*.
21607 * genopinit.c (optabs): Likewise.
21608 * genoutput.c (operand_data, data, output_predicate_decls,
21609 compare_operands): Likewise.
21610 * genrecog.c (write_tree): Add default case in switch.
21612 Wed Sep 15 09:59:16 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
21614 * rtl.h (get_insn_name, print_rtl_with_bb): Add prototypes.
21616 * print-rtl.c (get_insn_name): Remove prototype.
21618 * toplev.h (progname): Declare const.
21620 * toplev.c (init_decl_processing, init_obstacks, init_tree_codes,
21621 init_regs, init_optabs, init_stmt, init_reg_sets, dump_flow_info,
21622 dump_sched_info, dump_local_alloc, regset_release_memory,
21623 print_rtl, print_rtl_with_bb, rest_of_decl_compilation,
21624 error_with_file_and_line, error_with_decl, error_for_asm, error,
21625 fatal, warning_with_file_and_line, warning_with_decl, warning,
21626 pedwarn, pedwarn_with_decl, pedwarn_with_file_and_line, sorry):
21627 Remove redundant prototypes.
21629 (notice, check_lang_option, report_file_and_line, vnotice,
21630 mark_file_stack): Add static prototype.
21631 (set_fatal_function): Add prototype.
21632 (vnotice, report_file_and_line, set_fatal_function,
21633 check_lang_option): Constify a char*.
21634 (main): Prototype. Call return, not exit.
21636 Wed Sep 15 09:50:18 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
21638 * aclocal.m4 (AC_GCC_C_LONG_DOUBLE): New macro.
21640 * configure.in (AC_GCC_C_LONG_DOUBLE): Call it.
21642 * gansidecl.h (HAVE_LONG_DOUBLE): Define if gcc for stage2.
21644 * ggc-simple.c (HAVE_LONG_DOUBLE): Test before using long double.
21646 Wed Sep 15 11:04:43 1999 Bernd Schmidt <bernds@cygnus.co.uk>
21648 * function.c (assign_parms): Delete arg SECOND_TIME. Don't test it,
21649 behave as if it's zero in all cases.
21650 (expand_function_start): Adjust call to assign_parms.
21651 * tree.h (assign_parms): Adjust prototype.
21652 * objc/objc-act.c (hack_method_prototype): Adjust call to
21655 Tue Sep 14 21:47:06 1999 Jeffrey A Law (law@cygnus.com)
21657 * cse.c (FIXED_BASE_PLUS_P): Do not consider referneces to
21658 arg_pointer_rtx fixed if the argument pointer register is
21660 (NONZERO_BASE_PLUS_P): Likewise.
21662 Tue Sep 14 20:26:02 1999 Richard Henderson <rth@cygnus.com>
21664 * rtl.def (match_insn, match_insn2): Remove match_insn; rename
21665 match_insn2 to match_insn.
21666 * genrecog.c (add_to_sequence): Rename MATCH_INSN2.
21668 Tue Sep 14 20:10:29 1999 Richard Henderson <rth@cygnus.com>
21670 * Makefile.in (USER_H): Remove va-foo.h.
21672 * ginclude/{va-alpha.h,va-arc.h,va-c4x.h,va-clipper.h,va-h8300.h,
21673 va-i860.h,va-i960.h,va-m32r.h,va-m88k.h,va-mips.h,va-mn10200.h,
21674 va-mn10300.h,va-pa.h,va-ppc.h,va-pyr.h,va-sh.h,va-sparc.h,
21675 va-spur.h,va-v850.h}: Remove.
21677 Tue Sep 14 19:43:16 1999 Richard Henderson <rth@cygnus.com>
21679 * sparc/sparc.md (eligible_for_return_delay): New attribute.
21680 (in_return_delay): Use it instead of match_insn.
21682 Tue Sep 14 23:05:37 1999 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
21684 * config/alpha/va_list.h (va-alpha.h): Do not include.
21685 (__gnuc_va_list): Typedef as in varargs.h.
21687 Tue Sep 14 18:14:03 1999 Richard Henderson <rth@cygnus.com>
21689 * ggc-common.c (ggc_mark_tree): Mark DECL_SOURCE_FILE and
21690 DECL_LIVE_RANGE_RTL.
21692 Tue Sep 14 16:47:08 1999 Mark Mitchell <mark@codesourcery.com>
21694 * except.c (expand_eh_region_start_for_decl): Use NOTE_EH_HANDLER,
21695 not NOTE_BLOCK_NUMBER.
21696 (expand_eh_region_end): Likewise.
21697 (find_exception_handler_labels): Likewise.
21698 (scan_region): Likewise.
21699 (exception_optimize): Likewise.
21700 (update_rethrow_references): Likewise.
21701 (set_insn_eh_region): Likewise.
21702 * final.c (final_scan_insn): Likewise.
21703 * flow.c (make_edges): Likewise.
21704 * integrate.c (expand_inline_function): Likewise.
21705 * print-rtl.c (print_rtx): Likewise.
21707 Tue Sep 14 16:30:16 1999 Richard Henderson <rth@cygnus.com>
21709 * ginclude/stdarg.h, ginclude/varargs.h: Implement in
21710 terms of builtin functions and types.
21712 * mips.c (mips_build_va_list): New.
21713 (mips_va_start, mips_va_arg): New.
21714 * mips.h (BUILD_VA_LIST_TYPE): New.
21715 (EXPAND_BUILTIN_VA_START, EXPAND_BUILTIN_VA_ARG): New.
21717 * sh.c (sh_builtin_saveregs): Use get_varargs_alias_set.
21718 (sh_build_va_list, sh_va_start, sh_va_arg): New.
21719 * sh.h (BUILD_VA_LIST_TYPE): New.
21720 (EXPAND_BUILTIN_VA_START, EXPAND_BUILTIN_VA_ARG): New.
21722 Tue Sep 14 16:20:24 1999 Richard Henderson <rth@cygnus.com>
21724 * recog.h (struct recog_data): Make dup_num, operand_address_p,
21725 n_operands, n_dups, n_alternatives `char' instead of `unsigned char'.
21726 (struct insn_data): Likewise with n_operands, n_dups,
21727 n_alternatives, output_format.
21728 * regclass.c (scan_one_insn): Cast n_operands to int before
21729 arithmetic inside comparison.
21731 Tue Sep 14 15:13:36 1999 Richard Henderson <rth@cygnus.com>
21733 * toplev.c (compile_function): Unconditionally emit nop.
21735 Tue Sep 14 14:41:47 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
21737 * haifa-sched.c (actual_hazard): Move declaration of variable
21738 `this_cost' into the scope where it is used.
21740 Tue Sep 14 14:14:28 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
21742 * c-pragma.c (handle_pragma_token): Wrap variables `name' and
21743 `value' in HANDLE_PRAGMA_WEAK. Wrap variable `align' in
21744 HANDLE_PRAGMA_PACK||HANDLE_PRAGMA_PACK_PUSH_POP.
21746 * genrecog.c (make_insn_sequence): Call memset, not bzero.
21748 * jump.c (find_insert_position): Don't declare or define unless
21749 !HAVE_conditional_arithmetic.
21750 (returnjump_p_1, delete_prior_computation): Add static prototypes.
21752 * mips-tdump.c (fatal, fancy_abort, main): Add extern prototypes.
21754 * recog.c (offsettable_address_p): Prototype function pointer.
21755 (preprocess_constraints): Call memset, not bzero.
21757 * tree.c (tree_node_kind_names): Constify a char*. Make static.
21758 (gcc_obstack_init): Don't declare.
21759 (fix_sizetype): Add static prototype.
21760 (gcc_obstack_init): Use prototype casts in call to _obstack_begin.
21761 (tree_cons): Call memset, not bzero.
21763 * varasm.c (remove_from_pending_weak_list): Wrap declaration and
21764 definition in macro ASM_WEAKEN_LABEL.
21765 (mark_const_hash_entry): Add static prototype.
21767 Tue Sep 14 12:22:50 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
21769 * c-lex.c (handle_generic_pragma): Remove unused variable `c'.
21771 * unroll.c (find_common_reg_term, subtract_reg_term,
21772 loop_find_equiv_value): Add static prototypes.
21773 (unroll_loop): Wrap variable `prev' in macro HAVE_cc0.
21774 (copy_loop_body): Remove unreachable break statement.
21776 * sparc.c (sparc_va_arg): Remove unused variable `tmp'.
21778 * sparc.h (sparc_va_start, sparc_va_arg): Add extern prototypes.
21780 Tue Sep 14 15:28:00 1999 Bernd Schmidt <bernds@cygnus.co.uk>
21782 Undo some changes from the gcc2 merge:
21783 * rtl.def (CONSTANT_P_RTX): Fix the comment for this rtx code.
21784 * emit-rtl.c (gen_rtx_REG): Don't test special reg rtx's for null
21788 Sat Oct 3 07:20:28 1998 Stephen L Moshier <moshier@world.std.com>
21789 * emit-rtl.c (gen_lowpart_common): Disable optimization of
21790 initialized float-int union if the value is a NaN.
21792 Tue Sep 14 04:03:44 1999 Mumit Khan <khan@xraylith.wisc.edu>
21794 * gthr-win32.h: New file.
21796 * i386/winnt.c (i386_pe_valid_decl_attribute_p): Recognize
21797 shared as a valid attribute.
21798 * i386/cygwin.h (ASM_OUTPUT_SECTION): Handle shared attribute.
21799 * extend.texi: Document `shared' variable attribute.
21801 Tue Sep 14 04:01:46 1999 Loren Rittle <ljrittle@acm.org>
21803 * configure.in: Handle --enable-threads on FreeBSD.
21804 * configure: Rebuit.
21806 Tue Sep 14 03:58:44 1999 Andreas Jaeger <aj@arthur.rhein-neckar.de>
21808 * configure.in: Add crtbeginS.o, crtendS.o for mips-linux; add
21810 * configure: Rebuilt.
21812 Tue Sep 14 03:47:23 1999 Joel Sherrill <joel@OARcorp.com>
21813 Charles-Antoine Gauthier <charles.gauthier@iit.nrc.ca>
21814 Rosimildo DaSilva <rdasilva@connecttel.com>
21816 * configure.in (m68k-*-rtemscoff*): Added.
21817 * configure.in (mips64orion-*-rtems*): Converted to ELF.
21818 * configure.in (sparc-*-rtemsaout*): Added as alias for old
21819 sparc-rtems configuration.
21820 * configure.in (sparc-*-rtemself*): Added.
21821 * configure.in (sparc-*-rtems*): Now ELF not a.out.
21822 * config/i386/rtems.h: Added comment.
21823 * config/sparc/rtemself.h: New file.
21825 * configure.in (m68k-rtemself): Added.
21826 * config/elfos.h: Added ifndef wrapper for DWARF2_DEBUGGING_INFO
21827 and DWARF_DEBUGGING_INFO.
21828 * config/m68k/crti.s: New file.
21829 * config/m68k/crtn.s: New file.
21830 * config/m68k/t-crtstuff: New file.
21831 * config/m68k/rtemself.h: New file.
21833 * configure.in (i[[34567]]86-*-rtemself*): Now uses crtstuff for
21834 global ctor/dtor and C++ exception handling.
21835 * config/i386/rtemself.h: Now uses crtstuff (crti.o + crtbegin.o)
21836 for STARTFILE_SPEC and crtstuff (crtend.o + crtn.o) for
21838 * config/i386/t-rtems-i386: New File.
21840 Tue Sep 14 09:47:41 1999 Andreas Schwab <schwab@suse.de>
21842 * stmt.c (expand_end_case): Return right away if the case stack is
21845 Tue Sep 14 01:47:19 1999 Jeffrey A Law (law@cygnus.com)
21847 * Makefile.in (version.c): Remove rule incorrectly brought in from
21850 Tue Sep 14 01:42:27 1999 Marc Espie <espie@cvs.openbsd.org>
21852 * Makefile.in: Prepend $(SHELL) to move-if-change calls.
21853 * msdos/top.sed: Take into account a prepended $(SHELL) to
21855 * winnt/config-nt.sed: Likewise. Kill bogus substitution.
21857 * objc/Make-lang.in: Prepend $(SHELL) to move-if-change calls.
21859 Tue Sep 14 01:38:52 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
21861 * regmove.c (fixup_match_1): Don't change an unchanging register.
21862 (stable_but_for_p): Renamed to:
21863 (stable_and_no_regs_but_for_p). Reject unchanging registers too.
21864 Changed all callers.
21866 Tue Sep 14 01:33:15 1999 Andreas Schwab <schwab@suse.de>
21868 * loop.c (strength_reduce): Don't call reg_used_between_p if the
21869 insn from BL2 is after the insn from BL.
21871 Mon Sep 13 21:06:01 1999 Richard Henderson <rth@cygnus.com>
21873 * recog.h (INSN_OUTPUT_FORMAT_*): New.
21874 (struct insn_data): Merge `template' and `outfun' into `output'.
21875 Add `output_format'.
21876 * genoutput.c (INSN_OUTPUT_FORMAT_*): New.
21877 (struct data): Remove `outfun'; add `output_format'.
21878 (name_for_index): Remove declaration.
21879 (output_insn_data): Handle output formats.
21880 (process_template): Emit the bare array for @.
21881 (gen_expand, gen_split): Set output_format to NONE.
21882 * output.h (get_insn_template): Declare.
21883 * final.c (get_insn_template): New.
21884 (final_scan_insn): Use it.
21885 * toplev.c (compile_file): Likewise.
21887 * c4x/c4x.c (c4x_process_after_reload): Likewise.
21888 * i860/i860.c (output_delayed_branch): Likewise.
21889 (output_delay_insn): Likewise.
21891 1999-09-13 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
21893 * rtl.c (obstack_alloc_rtx): Removed.
21895 1999-09-13 17:03 -0700 Zack Weinberg <zack@bitmover.com>
21897 * config/gmicro/gmicro.md: Disable move DF->DI anonymous pattern.
21899 Mon Sep 13 15:21:46 1999 Richard Henderson <rth@cygnus.com>
21901 * i386.c (call_insn_operand): Reject const_int.
21902 (expander_call_insn_operand): Use call_insn_operand.
21904 Mon Sep 13 17:44:28 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
21906 * gcc.c (getrusage): Wrap prototype arguments in PROTO().
21908 1999-09-13 12:18 -0700 Zack Weinberg <zack@bitmover.com>
21910 * config/i370/i370.md (mulsi, divsi, modsi anonymous insns):
21911 Use DImode operation.
21913 1999-09-13 12:13 -0700 Zack Weinberg <zack@bitmover.com>
21915 * gcc.c: Include sys/resource.h.
21916 (report_times): New flag.
21917 (execute): If report_times is set, calculate and report the
21918 CPU time consumed by each subprocess.
21920 (rus, prus): New globals.
21921 (option_map): Add --time.
21922 (display_help): Document -time.
21923 (process_command): Set report_times if -time is given.
21924 Turn off -pipe if -time is given.
21926 * invoke.texi: Document new option -time.
21928 * configure.in: Check for getrusage. Check if we have to
21929 prototype getrusage.
21930 * acconfig.h: Add NEED_DECLARATION_GETRUSAGE.
21931 * configure: Regenerate.
21932 * config.in: Regenerate.
21934 Mon Sep 13 12:57:06 1999 Dave Brolley <brolley@cygnus.com>
21936 * cppinit.c (append_include_chain): Initialize 'next' and 'alloc'
21939 Mon Sep 13 10:01:33 1999 Nick Clifton <nickc@cygnus.com>
21941 * config/fp-bit.c: Define L_thenan_sf or L_thenan_df (as
21942 appropriate) if FINE_GRAINED_LIBRARIES is not defined.
21943 (nan): Return _thenan_sf or _thenan_df as appropriate.
21944 (L_thenan_sf): Define _thenan_sf.
21945 (L_thenan_df): Define _thenan_df.
21947 * Makefile.in (FPBIT_FUNCS): Add _thenan_sf.
21948 (DPBIT_FUNCS): Add _thenan_df.
21950 Mon Sep 13 09:38:53 1999 Andreas Schwab <schwab@suse.de>
21952 * tree.c (fix_sizetype): Exchange the types for TYPE_SIZE and
21955 Sun Sep 12 23:28:20 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
21957 * Makefile.in (gcc.o, gccspec.o, cppspec.o): Depend on gcc.h.
21960 (lang_specific_driver): Don't take a function pointer parameter.
21961 All callers changed.
21963 * gcc.c: Include gcc.h.
21964 (do_spec, fancy_abort,lang_specific_driver,lang_specific_pre_link,
21965 lang_specific_extra_outfiles, fatal): Don't declare.
21966 (multilib_defaults_raw): Constify.
21967 (read_specs): Call memset, rather than bzero.
21968 (main): Call return, not exit.
21969 (lookup_compiler): Call memcpy, not bcopy.
21970 (fatal): Make extern.
21972 * cppspec.c: Include gcc.h.
21973 (lang_specific_driver): Initialize variable `quote'. Constify a
21974 char*. All calls to the function pointer parameter now
21975 explicitly call `fatal'.
21977 * gccspec.c (lang_specific_driver): Include gcc.h.
21979 Sun Sep 12 19:52:10 1999 Richard Earnshaw <rearnsha@arm.com>
21981 * arm.c (note_invalid_constants): Use recog_data.operand_type
21984 Sun Sep 12 15:53:20 1999 Bernd Schmidt <bernds@cygnus.co.uk>
21986 * tree.h (build_common_tree_nodes, build_common_tree_nodes_2):
21989 * reload.h (reload_in, reload_out, reload_in_reg, reload_out_reg,
21990 reload_reg_class, reload_inmode, reload_outmode, reload_optional,
21991 reload_nongroup, reload_inc, reload_opnum, reload_secondary_p,
21992 reload_secondary_in_reload, reload_secondary_out_reload,
21993 reload_secondary_in_icode, reload_secondary_out_icode,
21994 reload_reg_rtx, reload_when_needed): Delete declarations.
21995 (struct reload): New structure.
21996 (rld): Declare new array.
21997 * reload.c (reload_in, reload_out, reload_in_reg, reload_out_reg,
21998 reload_reg_class, reload_inmode, reload_outmode, reload_optional,
21999 reload_nongroup, reload_inc, reload_opnum, reload_secondary_p,
22000 reload_secondary_in_reload, reload_secondary_out_reload,
22001 reload_secondary_in_icode, reload_secondary_out_icode,
22002 reload_reg_rtx, reload_when_needed): Delete definitions.
22004 (whole file): Replace uses of the deleted arrays with uses of rld.
22005 * reload1.c (whole file): Replace uses of the deleted arrays with
22007 (choose_reload_regs): Copy in/out of save_reload_reg_rtx with
22008 explicit loops, not with bcopy.
22010 Sun Sep 12 05:00:24 1999 Richard Henderson <rth@cygnus.com>
22012 * recog.h (insn_template, insn_outfun, insn_n_operands, insn_n_dups,
22013 insn_n_alternatives, insn_operand_constraint, insn_operand_address_p,
22014 insn_operand_mode, insn_operand_strict_low, insn_operand_predicate,
22015 insn_name): Delete and consolidate into new structures.
22016 (insn_operand_predicate_fn): New.
22017 (insn_output_fn): New.
22018 (insn_gen_fn): New.
22019 (struct insn_operand_data): New.
22020 (struct insn_data): New.
22022 (OUT_FCN): Update for insn_data change.
22023 * builtins.c (expand_builtin_strlen): Likewise.
22024 (expand_builtin_memcmp): Likewise.
22025 * combine.c (make_extraction, simplify_comparison): Likewise.
22026 * cse.c (canon_reg, cse_insn): Likewise.
22027 * explow.c (allocate_dynamic_stack_space, probe_stack_range): Likewise.
22028 * expmed.c (store_bit_field, extract_bit_field): Likewise.
22029 (emit_store_flag): Likewise.
22030 * expr.c (convert_move, emit_block_move): Likewise.
22031 (clear_storage, emit_push_insn, expand_increment): Likewise.
22032 (do_store_flag): Likewise.
22033 * expr.h (GEN_FCN): Likewise.
22034 (insn_gen_function): Die.
22035 * final.c (final_scan_insn): Update for insn_data change.
22036 (output_asm_name): Likewise.
22037 * function.c (fixup_var_refs_1): Likewise.
22038 * loop.c (check_dbra_loop): Likewise.
22039 * optabs.c (expand_binop, expand_twoval_binop): Likewise.
22040 (expand_unop, expand_complex_abs, emit_unop_insn): Likewise.
22041 (prepare_cmp_insn, prepare_operand, emit_indirect_jump): Likewise.
22042 (emit_conditional_move, gen_add2_insn, gen_sub2_insn): Likewise.
22043 * recog.c (validate_replace_rtx_1, extract_insn): Likewise.
22044 * regmove.c (gen_add3_insn): Likewise.
22045 * reload.c (push_secondary_reload, combine_reloads): Likewise.
22046 (find_reloads, find_reloads_address_1): Likewise.
22047 (debug_reload_to_stream): Likewise.
22048 * reload1.c (emit_reload_insns, gen_reload): Likewise.
22049 * stmt.c (expand_end_case): Likewise.
22050 * toplev.c (compile_file): Likewise.
22052 * c4x/c4x.c (c4x_process_after_reload): Likewise.
22053 * i860/i860.c (output_delayed_branch, output_delay_insn): Likewise.
22055 * print-rtl.c (insn_name_ptr): Remove declaration.
22056 (get_insn_name): Declare.
22057 (print_rtx): Use it.
22058 * genoutput.c (insn_name_ptr): Remove.
22059 (next_operand_number): New.
22060 (struct operand_data): New.
22061 (null_operand, odata, odata_end): New.
22062 (struct data): Use struct operand_data.
22063 (idata, idata_end): Renamed from insn_data and end_of_insn_data.
22064 (get_insn_name): Renamed from name_for_index.
22065 (output_prologue): Define NO_MD_PROTOTYPES.
22066 (output_predicate_decls): Break out from output_epilogue.
22067 Iterate over the operands list.
22068 (output_operand_data): Break out from output_epilogue. Emit
22069 just the operands list.
22070 (output_insn_data): Break out from output_epilogue. Emit just
22072 (output_epilogue): Remove.
22073 (output_get_insn_name): New.
22074 (constraints, op_n_alternatives, predicates, address_p): Die.
22075 (modes, strict_low, seen): Die.
22076 (scan_operands): Take new param `d' instead of writing to
22077 seven global variables.
22078 (compare_operands): New.
22079 (place_operands): New.
22080 (validate_insn_alternatives): Update for struct data change.
22081 (gen_insn): Don't zero or copy 7 global arrays. Update for
22082 scan_operands; call place_operands.
22083 (gen_peephole, gen_expand, gen_split): Likewise.
22084 (main): Update for new output routines.
22086 * genattr.c (insn_name_ptr): Remove.
22087 (get_insn_name): New function.
22088 * genattrtab.c, gencodes.c, genconfig.c, genemit.c: Likewise.
22089 * genextract.c, genflags.c, genopinit.c, genpeep.c: Likewise.
22090 * genrecog.c: Likewise.
22092 * alpha.md (adddi3): Make `pattern' array static.
22094 Sun Sep 12 22:05:21 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
22096 * config/c4x/c4x.h (c4x_rpts_cycles_string,
22097 c4x_cpu_version_string): Constify char *.
22098 * config/c4x/c4x.c (c4x_rpts_cycles_string,
22099 c4x_cpu_version_string): Likewise.
22101 Sat Sep 11 23:28:33 1999 Richard Henderson <rth@cygnus.com>
22103 * tree.c (save_tree_status): Revert 10 Sep change.
22104 (restore_tree_status): Likewise. Call obstack_free with NULL
22105 before freeing the obstack proper.
22107 Sat Sep 11 23:23:46 1999 Richard Henderson <rth@cygnus.com>
22109 * cse.c (cse_main): If gc'ing, collect around cse_basic_block.
22111 * ggc-simple.c (ggc_pop_context): Fold outstanding bytes into
22112 surrounding context.
22114 Sat Sep 11 19:52:43 1999 Mark Mitchell <mark@codesourcery.com>
22116 * tree.c (type_hash_canon): Put all types in the hash-table, when
22119 Sat Sep 11 18:37:04 1999 Richard Henderson <rth@cygnus.com>
22121 * recog.h (struct recog_data, recog_data): New.
22122 (recog_foo variables): Kill.
22123 * recog.c (recog_operand, recog_operand_loc): Kill.
22124 (recog_dup_loc, recog_dup_num, recog_n_operands): Kill.
22125 (recog_n_dups, recog_n_alternatives, recog_operand_mode): Kill.
22126 (recog_constraints, recog_op_type, recog_operand_address_p): Kill.
22127 (recog_data): Define.
22128 (extract_insn): Update all recog_foo references to use recog_data.
22129 (preprocess_constraints, constrain_operands): Likewise.
22130 * final.c (final_scan_insn, cleanup_subreg_operands): Likewise.
22131 * genattrtab.c (main): Likewise.
22132 * genextract.c (main): Likewise.
22133 * genoutput.c: Likewise.
22134 * genrecog.c (write_subroutine, main): Likewise.
22135 * local-alloc.c (block_alloc): Likewise.
22136 * reg-stack.c (record_asm_reg_life, subst_asm_stack_regs): Likewise.
22137 * regclass.c (scan_one_insn, record_reg_classes): Likewise.
22138 * regmove.c (regmove_optimize, find_matches, fixup_match_1): Likewise.
22139 * reload.c (find_reloads, find_reloads_toplev): Likewise.
22140 * reload1.c (maybe_fix_stack_asms, eliminate_regs_in_insn): Likewise.
22141 (reload_cse_simplify_operands): Likewise.
22143 * arc/arc.c (arc_final_prescan_insn): Likewise.
22144 * arm/arm.c (note_invalid_constants, arm_final_prescan_insn): Likewise.
22145 * h8300/h8300.c (notice_update_cc): Likewise.
22146 * i386/i386.c (ix86_attr_length_default, ix86_agi_dependant): Likewise.
22147 * i860/i860.c (output_delayed_branch, output_delay_insn): Likewise.
22148 * mn10200/mn10200.c (notice_update_cc): Likewise.
22149 * mn10300/mn10300.c (notice_update_cc): Likewise.
22150 * romp/romp.c (update_cc): Likewise.
22151 * sparc/sparc.c (check_pic): Likewise.
22152 * v850/v850.c (notice_update_cc): Likewise.
22154 * genemit.c (main): Don't declare recog_operand.
22156 Sat Sep 11 12:41:55 1999 Alex Samuel <samuel@codesourcery.com>
22158 * ggc.h (rtvec_def): Forward declare.
22159 (tree_node): Likewise.
22160 (ggc_root): Define.
22162 (ggc_set_mark_rtx): Add prototype.
22163 (ggc_set_mark_rtvec): Likewise.
22164 (ggc_set_mark_tree): Likewise.
22165 * ggc-simple.c (ggc_root): Don't define.
22166 (roots): Don't declare.
22167 (ggc_mark_rtx): Remove.
22168 (ggc_mark_rtvec): Likewise.
22169 (ggc_mark_tree): Likewise.
22170 (ggc_mark_varray): Likewise.
22171 (ggc_mark_tree_hash_table_entry): Likewise.
22172 (ggc_mark_tree_hash_table): Likewise.
22173 (ggc_set_mart_rtx): New function.
22174 (ggc_set_mark_rtvec): Likewise.
22175 (ggc_set_mark_tree): Likewise.
22176 (ggc_add_root): Remove.
22177 (ggc_add_rtx_root): Likewise.
22178 (ggc_remove_tree_root): Likewise.
22179 (ggc_add_string_root): Likewise.
22180 (ggc_add_tree_varray_root): Likewise.
22181 (ggc_add_tree_hash_table_root): Likewise.
22182 (ggc_del_root): Likewise.
22183 (ggc_mark_rtx_ptr): Likewise.
22184 (ggc_mark_tree_ptr): Likewise.
22185 (ggc_mark_string_ptr): Likewise.
22186 (ggc_mark_tree_varray_ptr): Likewise.
22187 (ggc_mark_tree_hash_table_ptr): Likewise.
22188 * ggc-common.c: New file.
22189 * Makefile.in (OBJS): Add ggc-common.o.
22190 (ggc-common.o): List dependencies.
22192 1999-09-10 22:37 -0700 Zack Weinberg <zack@bitmover.com>
22194 * cppalloc.c (xstrdup): Use memcpy.
22195 * cpperror.c (cpp_print_containing_files): Don't use
22197 * cpplib.c (conditional_skip): Set temp->lineno.
22198 (do_endif): Make error message less obscure.
22199 (if_directive_name): New function.
22200 (cpp_get_token [case EOF]): Unwind the if stack and generate
22201 error messages for each unterminated conditional in this file.
22202 (parse_string): Do not behave differently if -traditional.
22204 Fri Sep 10 14:04:07 1999 Richard Henderson <rth@cygnus.com>
22206 * builtins.c (expand_builtin_va_arg): Cope with an array-type
22207 va_list decomposing to pointer-type.
22208 * rs6000.c (rs6000_va_start) Unwrap the ARRAY_TYPE to get at fields.
22209 (rs6000_va_arg): Likewise.
22211 Fri Sep 10 13:21:21 1999 Jim Wilson <wilson@cygnus.com>
22213 * except.c (start_dynamic_handler): Compute size using
22214 STACK_SAVEAREA_MODE.
22216 Fri Sep 10 16:01:23 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
22218 * protoize.c: Remove various __STDC__ and POSIX hacks. Don't
22219 include directory headers. Don't define strrchr. Don't provide
22220 my_* replacement functions. Prefer PTR over `pointer_type'.
22221 Don't prototype system functions. Don't redefine getopt.
22223 (shortpath, fancy_abort, notice, savestring, dupnstr, substr,
22224 safe_read, safe_write, save_pointers, restore_pointers,
22225 is_id_char, in_system_include_dir, directory_specified_p,
22226 file_excluded_p, unexpand_if_needed, abspath, check_aux_info,
22227 find_corresponding_lparen, referenced_file_is_newer,
22228 save_def_or_dec, munge_compile_params, gen_aux_info_file,
22229 process_aux_info_file, identify_lineno, check_source,
22230 seek_to_line, forward_to_next_token_char, output_bytes,
22231 output_string, output_up_to, other_variable_style_function,
22232 find_rightmost_formals_list, do_cleaning, careful_find_l_paren,
22233 do_processing, is_syscalls_file, rename_c_file, find_extern_def,
22234 find_static_definition, connect_defs_and_decs, add_local_decl,
22235 add_global_decls, needs_to_be_converted, visit_each_hash_node,
22236 add_symbol, lookup, free_def_dec, find_file, reverse_def_dec_list,
22237 edit_fn_declaration, edit_formals_lists, edit_fn_definition,
22238 scan_for_missed_items, edit_file, string_list_cons): Add static
22240 (standard_exec_prefix, target_machine, target_version,
22241 default_syscalls_dir, string_list, string_list_cons, find_file,
22242 do_cleaning): Constify a char*.
22243 (safe_read, safe_write): Use PTR, not a char*.
22244 (is_id_char): Take an int, not a char.
22245 (main): Add prototype. Call return, not exit.
22247 Fri Sep 10 16:48:26 1999 Andrew Haley <aph@cygnus.com>
22249 * tree.c (type_hash_lookup): Check for equal TYPE_ALIGN fields
22250 when comparing types.
22252 Fri Sep 10 08:43:32 1999 Richard Henderson <rth@cygnus.com>
22254 * loop.c (basic_induction_var): Typo NULL_RTX -> NULL.
22255 (strength_reduce): Release the varrays from the no-bivs early exit.
22257 * reload1.c (order_regs_for_reload): Init hard_reg_n_uses before
22258 the loop over the registers.
22260 * tree.c (save_tree_status): Set maybepermanent_firstobj NULL
22262 (restore_tree_status): Check that instead when freeing the obstack.
22264 Wed Sep 8 16:12:04 1999 Andrew Haley <aph@cygnus.com>
22266 * alias.c (rtx_equal_for_memref_p): Allow CONST_DOUBLEs to be used
22269 Fri Sep 10 11:58:55 1999 Bernd Schmidt <bernds@cygnus.co.uk>
22271 * i386.md (ashlqi3): For NON_QI_REG_P regs, use sall. Fix some
22272 operand size modifiers.
22274 Fri Sep 10 10:32:32 1999 Bernd Schmidt <bernds@cygnus.co.uk>
22276 * c-common.c (c_common_nodes_and_builtins): Don't build
22278 * c-common.h (enum c_tree_index and related accesor macros): Remove
22279 everything now declared in tree.h.
22280 * c-decl.c (CHAR_TYPE_SIZE, SHORT_TYPE_SIZE, INT_TYPE_SIZE,
22281 LONG_TYPE_SIZE, LONG_LONG_TYPE_SIZE, WCHAR_UNSIGNED, FLOAT_TYPE_SIZE,
22282 DOUBLE_TYPE_SIZE, LONG_DOUBLE_TYPE_SIZE): Don't provide defaults.
22283 (error_mark_node, void_type_node, char_type_node, integer_type_node,
22284 unsigned_type_node, ptr_type_node, va_list_type_node,
22285 integer_zero_node, null_pointer_node, integer_one_node): Delete.
22286 (init_decl_processing): Call build_common_tree_nodes and
22287 build_common_tree_nodes_2 instead of building their nodes here.
22288 Don't add roots for these nodes.
22289 * stor-layout.c (size_zero_node, size_one_node): Delete.
22290 (set_sizetype): Make a new node for bitsizetype each time.
22291 * tree.c (global_trees): New variable.
22292 (init_obstacks): Add a gc root for it.
22293 (CHAR_TYPE_SIZE, SHORT_TYPE_SIZE, INT_TYPE_SIZE,
22294 LONG_TYPE_SIZE, LONG_LONG_TYPE_SIZE, FLOAT_TYPE_SIZE,
22295 DOUBLE_TYPE_SIZE, LONG_DOUBLE_TYPE_SIZE): Provide defaults.
22296 (build_common_tree_nodes): New function.
22297 (fix_sizetype): New function.
22298 (build_common_tree_nodes_2): New function.
22299 * tree.h (enum tree_index): New.
22300 (global_trees): Declare.
22301 Add accessor macros for all nodes now moved to global_trees.
22302 Delete their declarations.
22304 Thu Sep 9 20:15:46 1999 Richard Henderson <rth@cygnus.com>
22306 * c-decl.c (finish_function): When processing a nested function,
22307 push and pop GC context around rest_of_compilation.
22309 Thu Sep 9 16:42:06 1999 Richard Henderson <rth@cygnus.com>
22311 * i386.c (override_options): Remove ppro, pentium2, and p2 as aliases.
22312 Default ix86_arch to PROCESSOR_I386.
22313 * i386.h (CC1_CPU_SPEC): Don't add -march=foo. Remove -mno-foo.
22314 (CPP_486_SPEC, CPP_586_SPEC, CPP_686_SPEC): Delete.
22315 (CPP_CPU_DEFAULT_SPEC): Define to __tune_foo__.
22316 (CC1_CPU_SPEC): Make -march=foo define __foo__, and provide
22317 __tune_foo__ if no -mcpu. Make -mcpu=bar define __tune_bar__.
22318 (EXTRA_SPECS): Remove deleted specs.
22320 Thu Sep 9 16:03:06 1999 Richard Henderson <rth@cygnus.com>
22322 * function.c (assign_stack_local_1): Allocate from
22323 function->x_frame_offset, not frame_offset.
22325 Thu Sep 9 14:36:31 1999 Mark Mitchell <mark@codesourcery.com>
22327 * ggc.h (lang_cleanup_tree): Remove.
22328 * gcc-simple.c (ggc_free_tree): Don't call lang_cleanup_tree.
22329 * ggc-callbacks.c (lang_cleanup_tree): Remove.
22331 * c-decl.c (finish_struct): Use ggc_alloc to allocate
22332 TYPE_LANG_SPECIFIC when garbage collecting.
22333 (lang_mark_tree): Mark TYPE_LANG_SPECIFIC.
22334 (lang_cleanup_tree): Remove.
22336 Thu Sep 9 14:23:02 1999 Jason Merrill <jason@yorick.cygnus.com>
22338 * defaults.h (EH_FRAME_SECTION, EH_FRAME_SECTION_ASM_OP): Define here.
22339 * crtstuff.c: Not here.
22340 * dwarf2out.c: Or here.
22341 * libgcc2.c (__do_global_ctors, __do_global_dtors): Handle EH frame
22344 Thu Sep 9 09:40:58 1999 Mark Mitchell <mark@codesourcery.com>
22346 * function.h (free_after_compilation): Remove decl parameter.
22347 (free_varasm_status0: Likewise.
22348 (free_emit_status): Likewise.
22349 (free_stmt_status): Likewise.
22350 (free_after_compilation): Likewise.
22351 (init_lang_status): New variable.
22352 (free_lang_status): Likewise.
22353 * emit-rtl.c (free_emit_status): Make decl parameter implicit.
22354 * function.c (init_lang_status): New variable.
22355 (free_lang_status): Likewise.
22356 (push_function_context_to): Don't set function::decl here.
22357 (free_after_copmilation): Make decl parameter implicit. Call
22358 free_lang_status if defined.
22359 (prepare_function_start): Call init_lang_status if defined.
22360 (init_function_start): Set function::decl here.
22361 * profile.c (output_func_start_profiler): Don't call pushdecl
22362 until we've actually started the function.
22363 * stmt.c (free_stmt_status): Make decl parameter implicit.
22364 * toplev.c (rest_of_compilation): Don't pass decl to
22365 free_after_compilation.
22366 * varasm.c (free_varasm_status): Likewise.
22368 Thu Sep 9 17:23:19 1999 Bernd Schmidt <bernds@cygnus.co.uk>
22370 * except.c (call_get_eh_context): Add root when allocating static
22373 Thu Sep 9 15:24:59 BST 1999 Richard Earnshaw <rearnsha@arm.com>
22375 * arm.c: Include "ggc.h".
22376 (arm_add_gc_roots): New function.
22377 (arm_override_options): Call it.
22378 (aof_pic_entry): Add a GC root for aof_pic_label when it's allocated.
22380 * arm.md (define_asm_attributes): Add a pool_range attribute.
22382 Thu Sep 9 12:32:57 BST 1999 Nathan Sidwell <nathan@acm.org>
22384 * extend.texi (Volatiles): New node.
22386 Thu Sep 9 03:37:31 1999 Richard Henderson <rth@cygnus.com>
22388 * ggc-simple.c (IS_MARKED, IGNORE_MARK): New.
22389 (GGC_ANY_MAGIC, GGC_ANY_MAGIC_MARK): New.
22390 (struct ggc_any): Replace `mark' with `magic_mark'.
22391 (ggc_alloc_string): Use memcpy, not bcopy.
22392 (ggc_alloc_any): Set magic_mark. Update bytes_alloced_since_gc.
22393 (ggc_free_{rtx,rtvec,tree,string}): Mark inline.
22394 (ggc_free_any): New.
22395 (ggc_mark_string): Use IGNORE_MARK. Calc back to struct gcc_string.
22396 (ggc_mark): Use IGNORE_MARK. Abort if magic doesn't match.
22397 (ggc_collect): Re-enable collection avoidance. Use GGC_ANY_MARK.
22398 Use IS_MARKED. Use ggc_free_any.
22400 1999-09-09 Scott Bambrough <scottb@netwinder.org>
22402 * config/arm/linux-elf.h: define NO_IMPLICIT_EXTERN_C
22404 Thu Sep 9 01:55:21 1999 Richard Henderson <rth@cygnus.com>
22406 * toplev.c (main): Always init_ggc.
22408 Wed Sep 8 23:53:22 1999 Richard Henderson <rth@cygnus.com>
22410 * except.c (find_all_handler_type_matches): Free the list if
22411 we found no matches.
22413 * combine.c (SUBST): Break out to a real function do_SUBST.
22414 (SUBST_INT): Likewise.
22415 * gcse.c (free_pre_mem): Free `temp_bitmap'.
22416 (pre_insert): Free `inserted'.
22417 * loop.c (basic_induction_var): Always set `location'.
22419 * function.c (expand_function_end): Add initial_trampoline as a root.
22420 * rtl.h (init_varasm_once): Declare.
22421 * toplev.c (compile_file): Call it.
22422 * ggc-simple.c (ggc_mark_string_ptr): New.
22423 (ggc_add_string_root): New.
22424 (ggc_collect): Disable collection avoidance temporarily.
22425 * ggc.h (ggc_add_string_root): Declare.
22426 * except.c (create_rethrow_ref): Use ggc_alloc_string.
22427 * optabs.c (init_libfuncs): Likewise.
22428 * varasm.c (named_section): Use ggc_alloc_string.
22429 (make_function_rtl): Likewise.
22430 (make_decl_rtl): Likewise.
22431 (assemble_static_space): Likewise.
22432 (assemble_trampoline_template): Likewise.
22433 (output_constant_def): Likewise.
22434 (force_const_mem): Likewise.
22435 (mark_const_hash_entry): New.
22436 (mark_pool_sym_hash_table): New.
22437 (mark_varasm_state): Use it.
22438 (init_varasm_once): New.
22440 * expr.h (init_one_libfunc): Declare.
22441 * optabs.c (init_one_libfunc): New.
22442 (init_optabs): Use it.
22443 * config/gofast.h: Likewise.
22444 * config/sparc/sol2.h (INIT_SUBTARGET_OPTABS): Likewise.
22445 * config/sparc/sparc.h (INIT_TARGET_OPTABS): Likewise.
22447 Thu Sep 9 13:46:06 1999 Geoffrey Keating <geoffk@cygnus.com>
22449 * Makefile.in (cppexp.o): Depend on cpphash.h.
22450 * cppexp.c (cpp_lex): Handle `defined (xxx)' for poisoned xxx.
22452 * cpphash.c (special_symbol): Handle plain `xxx' for poisoned xxx.
22453 * cpplib.c (do_define): Generalise to handle poisoned definitions,
22454 redefining poisoned identifiers, etc.
22455 (do_undef): Don't allow poisoned identifiers to be undefined.
22456 (do_pragma): Add #pragma poison.
22457 (do_xifdef): Handle `#ifdef xxx' for poisoned xxx.
22459 * cccp.c: Add T_POISON node type.
22460 (special_symbol): Handle `defined(xxx)' and plain `xxx' for
22462 (do_define): Generalise to handle poisoned definitions,
22463 redefining poisoned identifiers, etc.
22464 (do_undef): Don't allow poisoned identifiers to be undefined.
22465 (do_pragma): Add #pragma poison.
22466 (do_xifdef): Handle `#ifdef xxx' for poisoned xxx.
22468 * c-pragma.c (handle_pragma_token): Ignore #pragma poison.
22469 * c-pragma.h: Add ps_poison state. We now always have generic
22472 Wed Sep 8 20:30:42 1999 Mark Mitchell <mark@codesourcery.com>
22474 * ggc.h (ggc_alloc): New function.
22475 (ggc_mark): Likewise.
22476 * ggc-simple.c (ggc_any): New structure.
22477 (ggc_status): Add anys.
22478 (n_anys_collected): New variable.
22479 (ggc_alloc): Define.
22480 (ggc_mark): Likewise.
22481 (ggc_collect): Collect the anys.
22483 Wed Sep 8 20:15:14 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
22485 * c-decl.c (mark_binding_level): Make static to match prototype.
22487 Wed Sep 8 16:41:27 1999 Richard Henderson <rth@cygnus.com>
22489 * flow.c (new_insn_dead_notes): Don't early out for preexisting regs.
22491 Wed Sep 8 16:07:52 1999 Richard Henderson <rth@cygnus.com>
22493 * gengenrtl.c (CONST_DOUBLE_FORMAT): Take the size REAL_ARITHMETIC
22494 will use into account. Expand the max width to 5.
22497 Wed Sep 8 16:01:14 1999 Richard Henderson <rth@cygnus.com>
22499 * ggc-simple.c (ggc_free_rtx): Poison the correct amount
22500 for the rtx length.
22502 Wed Sep 8 15:23:54 1999 Richard Henderson <rth@cygnus.com>
22504 * alpha.md (call value patterns): Remove the result predicates.
22506 Wed Sep 8 13:35:38 1999 Richard Henderson <rth@cygnus.com>
22508 * Makefile.in (stmp-fixinc): Remove extraneous exit 1 from
22511 Wed Sep 8 15:32:16 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
22513 * system.h (sbrk, malloc, calloc, realloc): Backup prototypes
22514 changed from extern char *, to extern PTR. Also fix typo in
22515 NEED_DECLARATION_REALLOC test.
22517 * mips-tdump.c (malloc, calloc, realloc): Don't prototype.
22519 Wed Sep 8 11:40:47 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
22521 * gansidecl.h (__attribute__, ATTRIBUTE_UNUSED_LABEL,
22522 ATTRIBUTE_UNUSED, ATTRIBUTE_NORETURN, ATTRIBUTE_PRINTF,
22523 ATTRIBUTE_PRINTF_1, ATTRIBUTE_PRINTF_2, ATTRIBUTE_PRINTF_3,
22524 ATTRIBUTE_PRINTF_4, ATTRIBUTE_PRINTF_5, GENERIC_PTR): Delete.
22526 * c-decl.c (field_decl_cmp): Use PTR instead of GENERIC_PTR.
22528 * cccp.c (pcfinclude): Likewise.
22530 * global.c (allocno_compare): Likewise.
22532 * haifa-sched.c (rank_for_schedule): Likewise.
22534 * local-alloc.c (qty_sugg_compare_1, qty_compare_1): Likewise.
22536 * reload1.c (hard_reg_use_compare, reload_reg_class_lower): Likewise.
22538 * stupid.c (stupid_reg_compare): Likewise.
22540 * tree.c (_obstack_allocated_p): Likewise.
22542 * varray.h (varray_data_tag, VARRAY_GENERIC_PTR_INIT): Likewise.
22544 1999-09-08 Bruce Korb autogen@linuxbox.com
22546 * Makefile.in: Give the hapless gperf user a hint about
22547 why "gperf -F" fails.
22549 Wed Sep 8 04:43:22 1999 Richard Henderson <rth@cygnus.com>
22551 * lists.c: Include ggc.h.
22553 (init_EXPR_INSN_LIST_cache): Install it.
22555 * ggc-simple.c (init_ggc): Absorb the old init.
22556 (ggc_push_context): Use xcalloc.
22557 (ggc_alloc_rtx, ggc_alloc_rtvec, ggc_alloc_tree): Likewise.
22558 (ggc_collect): Add [rvts] tags to the collection stats.
22560 Wed Sep 8 11:14:25 1999 Andreas Schwab <schwab@suse.de>
22562 * cccp.c (main): Fix handling of -include and -imacros options.
22564 Wed Sep 8 02:23:08 1999 Jeffrey A Law (law@cygnus.com)
22566 * cpplib.c (cpp_push_buffer): Fix order of arguments.
22568 Wed Sep 8 04:44:09 1999 Alexandre Oliva <oliva@dcc.unicamp.br>
22570 * rtl.h (obstack_alloc_rtx): Removed, it's now static in
22573 Wed Sep 8 00:33:43 1999 Alasdair Baird <alasdair@wildcat.demon.co.uk>
22575 * flow.c (insn_dead_p): Use XEXP rather than SUBREG_REG.
22576 * haifa-sched.c (sched_analyze_1): Use XEXP rather than SUBREG_REG
22577 and SET_DEST. Update comment.
22579 Wed Sep 8 18:55:17 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
22581 * config/c4x/c4x.c: Include ggc.h.
22582 (c4x_add_gc_roots): New function.
22583 (c4x_override_options): Call c4x_add_gc_roots.
22585 Wed Sep 8 00:00:16 1999 Richard Henderson <rth@cygnus.com>
22587 * defaults.h (TARGET_ESC): Move ...
22588 * system.h: ... here, where Linas had it in the first place. Silly me.
22590 Tue Sep 7 23:46:35 1999 Linas Vepstas <linas@linas.org>
22592 * c-common.c: Use ISGRAPH, ISLOWER, toupper.
22593 * c-lex.c, cccp.c, cexp.c, cexp.y, cppexp.c, dwarf2out.c, genattr.c,
22594 genattrtab.c, genemit.c, genextract.c, genpeep.c, tree.c: Likewise.
22595 * system.h (IN_CTYPE_DOMAIN): Define to 1 if HOST_EBCDIC.
22596 * defaults.h (TARGET_ESC): Add default.
22598 Tue Sep 7 23:36:59 1999 Linas Vepstas <linas@linas.org>
22600 * configure.in: add i370-*-openedition, i370-*-mvs and
22601 i370-*-linux targets
22603 Tue Sep 7 23:31:53 1999 Mark Mitchell <mark@codesourcery.com>
22605 * dsp16xxx.c: Include ggc.h
22606 (override_options): Mark GC roots.
22607 * mn10200.c: Include ggc.h.
22608 (asm_file_start): Mark GC roots.
22609 * tahoe.c: Include ggc.h.
22610 (extensible_operand): Mark GC roots.
22612 Tue Sep 7 23:23:15 1999 Linas Vepstas <linas@linas.org>
22614 * README: Add section discussing status of ELF ABI.
22615 * i370.c: Fix misc spelling mistakes.
22616 (i370_label_scan): Updated notes, exception handling.
22617 (i370_function_prolog): Simplify ELF stack handling.
22618 * i370.h: (FIXED_REGISTERS): Free up r12 for ELF.
22619 (STACK_GROWS_DOWNWARD): ELF stack grows down.
22620 (ASM_DECLARE_FUNCTION_NAME): Fix crazy malloc size.
22621 * i370.md: (movdi): Add notes.
22622 (floatsidf2): Use stack not rtca for scratch float area.
22623 (iorsi3): Correct operand constraints.
22624 * x-oe: Restore TAROUTOPTS which are used by pax.
22626 Tue Sep 7 22:39:18 1999 Mark Mitchell <mark@codesourcery.com>
22628 * rs6000.c: Include ggc.h.
22629 (rs6000_add_gc_roots): New function.
22630 (override_options): Call it.
22632 Tue Sep 7 22:09:03 1999 Richard Henderson <rth@cygnus.com>
22634 * alpha.h (alpha_compare): New.
22635 (alpha_compare_op0, alpha_compare_op1, alpha_compare_fp_p): Remove.
22636 * alpha.c: Likewise for the definitions.
22637 (alpha_emit_conditional_branch): Update for alpha_compare.
22638 (alpha_emit_conditional_move): Likewise.
22639 * alpha.md (cmpdf, cmpdi): Likewise.
22640 (setcc patterns): Likewise. Zero alpha_compare after use.
22641 (sne): Optimize (x != 0) into (0U < x).
22643 Tue Sep 7 21:55:02 1999 Richard Henderson <rth@cygnus.com>
22645 * alpha.h (alpha_eh_epilogue_sp_ofs): Remove.
22646 (struct machine_function): Declare; add eh_epilogue_sp_ofs.
22647 (INIT_EXPANDERS): Remove.
22648 * alpha.c: Include ggc.h.
22649 (alpha_eh_epilogue_sp_ofs, alpha_return_addr_rtx): Remove.
22650 (alpha_init_machine_status, alpha_mark_machine_status): New.
22651 (override_options): Install them.
22652 (struct machine_function): Moved to alpha.h.
22653 (alpha_save_machine_status, alpha_restore_machine_status): Remove.
22654 (alpha_init_expanders): Remove.
22655 (alpha_return_addr): Adjust to use current_function->machine.
22656 (alpha_ra_ever_killed): Likewise.
22657 (alpha_expand_epilogue): Likewise.
22658 * alpha.md (eh_epilogue): Likewise.
22660 Wed Sep 8 14:34:42 1999 Ian Piumarta <piumarta@prof.inria.fr>
22661 Melissa O'Neill <oneill@cs.sfu.ca>
22662 Geoffrey Keating <geoffk@cygnus.com>
22664 * config/rs6000/rs6000.c (first_reg_to_save): Don't save fixed or
22665 call-used registers (call-saved registers must still be contiguous
22666 and end with r31, of course).
22668 Tue Sep 7 21:41:38 1999 Richard Henderson <rth@cygnus.com>
22670 * c-typeck.c (type_lists_compatible_p): Use simple_type_promotes_to.
22671 (self_promoting_type_p): Delete.
22672 (self_promoting_args_p): Move ...
22673 * c-common.c: ... here.
22674 (c_common_nodes_and_builtins): Initialize lang_type_promotes_to.
22675 (simple_type_promotes_to): New.
22676 * builtins.c (lang_type_promotes_to): New.
22677 (expand_builtin_va_arg): Use it to give diagnostic for illegal types.
22678 * c-tree.h (C_PROMOTING_INTEGER_TYPE_P): Move ...
22679 * c-common.h: ... here.
22680 (self_promoting_args_p, simple_type_promotes_to): Declare.
22681 * c-decl.c (duplicate_decls): Use simple_type_promotes_to.
22682 (grokdeclarator): Likewise.
22683 * tree.h (lang_type_promotes_to): Declare.
22685 Tue Sep 7 17:15:21 1999 Mark Mitchell <mark@codesourcery.com>
22687 Add some machine-dependent GC roots.
22688 * sparc.c: Include ggc.h.
22689 (sparc_add_gc_roots): New function.
22690 (mark_ultrasparc_pipeline_state): Likewise.
22691 (override_options): Call sparc_add_gc_roots.
22692 * pa.c: Include ggc.h.
22693 (pa_add_gc_roots): New function.
22694 (mark_deferred_plabels): Likewise.
22695 (override_options): Call pa_add_gc_roots.
22696 * mips.c: Include ggc.h.
22697 (mips_add_gc_roots): New function.
22698 (override_options): Use it.
22700 Tue Sep 7 11:39:41 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
22702 * cpperror.c (cpp_file_line_for_message): Constify a char*.
22704 * cppexp.c (parse_number, parse_charconst, cpp_lex,
22705 cpp_parse_expr): Add static prototypes.
22706 (parse_charconst): Don't cast away const-ness.
22707 (token): Constify a char*.
22709 * cppfiles.c (file_name_list, include_hash, find_include_file,
22710 finclude, initialize_input_buffer): Constify a char*.
22711 (file_cleanup, find_position): Add static prototypes.
22713 * cpphash.c (macro_cleanup, macarg, timestamp, special_symbol,
22714 collect_expansion): Add static prototypes.
22715 (cpp_install, create_definition, monthnames): Constify a char*.
22717 * cpphash.h (cpp_install): Likewise.
22719 * cppinit.c (known_suffixes, default_include,
22720 dump_special_to_buffer, NAME, cpp_start_read, cpp_finish): Likewise.
22721 (base_name, dump_special_to_buffer, initialize_dependency_output):
22722 Add static prototypes.
22724 * cpplib.c (my_strerror): Constify a char*.
22725 (null_underflow, null_cleanup, skip_comment, copy_comment,
22726 copy_rest_of_line, handle_directive, pass_thru_directive,
22727 get_directive_token, read_line_number, cpp_print_file_and_line,
22728 v_cpp_error, v_cpp_warning, v_cpp_error_with_line,
22729 v_cpp_warning_with_line, detect_if_not_defined,
22730 consider_directive_while_skipping): Add static prototypes.
22731 (pass_thru_directive, check_macro_name, cpp_expand_to_buffer,
22732 cpp_pedwarn_with_file_and_line): Constify a char*.
22734 * cpplib.h (cpp_options, include_hash, progname, definition,
22735 cpp_pedwarn_with_file_and_line, cpp_expand_to_buffer,
22736 check_macro_name, cpp_pfatal_with_name, cpp_file_line_for_message,
22737 find_include_file, deps_output, include_hash): Constify a char*.
22739 * cppmain.c (progname): Constify.
22740 (main): Add prototype. Use return, not exit.
22742 * fix-header.c (fatal, add_symbols, lookup_std_proto, write_lbrac,
22743 recognized_macro, check_macro_names, read_scan_file, write_rbrac,
22744 inf_skip_spaces, inf_read_upto, inf_scan_ident, inf_scan_ident,
22745 check_protection): Add static prototype.
22747 (progname, recognized_macrom, recognized_extern): Constify a char*.
22748 (main): Add prototype.
22750 * gen-protos.c (progname): Constify a char*.
22752 Tue Sep 7 00:47:52 1999 Mark Mitchell <mark@codesourcery.com>
22754 * emit-rtl.c (free_emit_status): Take decl as a parameter.
22755 (init_emit_once): Add more GC roots.
22756 * except.c (mark_func_eh_entry): New function.
22757 (mark_eh_node): Mark false_label and rethrow_label.
22758 (init_eh): Add more GC roots.
22759 * function.c (free_after_compilation): Take decl as a paramter.
22760 Call free_stmt_status.
22761 (mark_function_state): Don't assume x_parm_reg_stack_loc is
22763 * function.h (free_after_compilation): Change prototype.
22764 (free_varasm_status): Likewise.
22765 (free_emit_status): Likewise.
22766 (free_stmt_status): New function.
22767 * ggc-simple.c (rtx, vecs, trees, strings, bytes_alloced_since_gc):
22768 Remove, replacing with ...
22769 (ggc_status): New structure.
22770 (ggc_chain): New variable.
22771 (init_gcc): Define.
22772 (ggc_push_context): New function.
22773 (ggc_pop_context): Likewise.
22774 (ggc_alloc_rtx): Adjust for use of ggc_chain.
22775 (ggc_alloc_rtvec): Likewise.
22776 (ggc_alloc_tree): Likewise.
22777 (ggc_alloc_string): Likewise.
22778 (ggc_mark_rtx): Mark NOTE_SOURCE_FILE and NOTE_RANGE_INFO.
22779 (ggc_mark_tree): Give language-dependent code a chance to mark
22781 (ggc_mark_tree_varray): Handle empty arrays.
22782 (ggc_collect): Adjust for use of ggc_chain. Clear
22783 bytes_alloced_since_last_gc.
22784 * ggc.h (ggc_pop_context): New function.
22785 (ggc_push_context): Likewise.
22786 * print-tree.c (print_node): Don't print obstacks when GC'ing.
22787 * stmt.c (free_stmt_status): New function.
22788 (init_stmt_for_function): Clear last_expr_value.
22789 * toplev.c (rest_of_compilation): Always call free_after_compilation.
22790 Conditionalize call to ggc_collect.
22791 (main): Call init_ggc.
22792 * tree.c (push_obstacks): Do the push, even when GC'ing.
22793 (push_obstacks_nochange): Likewise.
22794 (pop_obstacks): Liekwise.
22795 * varasm.c (free_varasm_status): Take decl as a parameter.
22797 Tue Sep 7 08:15:49 1999 Gavin Romig-Koch <gavin@cygnus.com>
22799 * config/mips/mips.h (MULTILIB_ENDIAN_DEFAULT) : New macro.
22800 (MULTILIB_ENDIAN_DEFAULT) : Use the new macro.
22801 * config/mips/elf64.h (MULTILIB_DEFAULTS) : Use the new macro.
22802 * config/mips/r3900.h (MULTILIB_DEFAULTS) : Use the new macro.
22804 Tue Sep 7 03:42:45 1999 Mark Klein (mklein@dis.com)
22806 * pa/x-pa-mpeix: New file for the MPE port.
22808 * pa/quadlib.asm: New file for long double support.
22810 * configure.in: Add hppa1.0-*-mpeix for MPE port.
22811 * configure: Rebuilt.
22813 Tue Sep 7 10:08:40 1999 Andreas Schwab <schwab@suse.de>
22815 * final.c (shorten_branches): Fix last change.
22817 Tue Sep 7 00:30:32 1999 Jeffrey A Law (law@cygnus.com)
22819 * pa.h (ASM_OUTPUT_DOUBLE_INT): Delete.
22821 Mon Sep 6 22:44:47 1999 Jeffrey A Law (law@cygnus.com)
22823 * Merge from gcc2 snapshot Jan 9, 1999. See FSFChangeLog for
22826 Mon Sep 6 22:31:28 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
22828 * c-aux-info.c (concat): Don't define.
22830 * cccp.c (my_strerror): Likewise. All callers changed to use
22832 (do_include): Call xstrdup, not xmalloc/strcpy.
22833 (grow_outbuf): Don't check if xrealloc returns NULL, it can't.
22834 (xmalloc, xrealloc, xcalloc, xstrdup): Don't define.
22836 * collect2.c (my_strsignal): Likewise. All callers changed to use
22838 (locatelib): Call xstrdup, not xmalloc/strcpy.
22840 * 1750a.h (ASM_OUTPUT_INTERNAL_LABEL): Call xmalloc, not malloc.
22842 * dsp16xx.c (override_options): Call xstrdup, not xmalloc/strcpy.
22844 * i370.h (ASM_DECLARE_FUNCTION_NAME): Call xmalloc, not malloc.
22846 * mips.c (build_mips16_call_stub): Call xstrdup, not xmalloc/strcpy.
22848 * cppinit.c (cpp_options_init): Call xcalloc, not xmalloc/bzero.
22850 * dwarfout.c (dwarfout_init): Call concat, not xmalloc/strcpy/...
22852 * except.c (new_eh_region_entry): Call xmalloc/xrealloc, not
22854 (find_all_handler_type_matches): Likewise. Don't check return
22856 (get_new_handler, init_insn_eh_region, process_nestinfo): Call
22857 xmalloc, not malloc.
22858 (init_eh_nesting_info): Likewise. Call xcalloc, not xmalloc/bzero.
22860 * gcc.c (xstrerror, xmalloc, xrealloc): Don't define.
22861 (init_spec): Call xcalloc, not xmalloc/bzero.
22862 (set_spec): Call xstrdup, not save_string.
22863 (record_temp_file): Call xstrdup, not xmalloc/strcpy.
22864 (find_a_file): Call xstrdup, not xmalloc/strcpy.
22865 (process_command): Call xstrdup, not save_string.
22866 (main): Call xcalloc, not xmalloc/bzero.
22868 * gcov.c (xmalloc): Don't define.
22869 (create_program_flow_graph): Call xcalloc, not xmalloc/bzero.
22870 (scan_for_source_files): Call xstrdup, not xmalloc/strcpy.
22871 (output_data): Call xcalloc, not xmalloc/bzero.
22873 * haifa-sched.c (schedule_insns): Call xcalloc, not xmalloc/bzero.
22875 * mips-tdump.c (xmalloc): Don't define.
22876 (print_symbol): Call xmalloc, not malloc.
22877 (read_tfile): Call xcalloc, not calloc.
22879 * mips-tfile.c (xfree, my_strsignal, xmalloc, xcalloc, xrealloc):
22880 Don't define. All callers of xfree/my_strsignal changed to use
22881 free/strsignal instead.
22882 (allocate_cluster): Call xcalloc, not calloc.
22884 * objc/objc-act.c (lang_init): Call concat, not xmalloc/strcpy/...
22885 Fix memory leak, free allocated memory.
22887 * prefix.c (translate_name): Call xstrdup, not save_string.
22888 (update_path): Likewise.
22890 * profile.c (branch_prob): Call xstrdup, not xmalloc/strcpy.
22892 * protoize.c (xstrerror, xmalloc, xrealloc, xfree, savestring2):
22893 Don't define. Callers of xfree/savestring2 changed to use
22894 free/concat instead.
22896 * reload1.c (reload): Call xcalloc, not xmalloc/bzero.
22897 (init_elim_table): Likewise.
22899 * resource.c (init_resource_info): Likewise.
22901 * stupid.c (stupid_life_analysis): Likewise.
22903 * toplev.c (xmalloc, xcalloc, xrealloc, xstrdup): Don't define.
22904 (open_dump_file): Call concat, not xmalloc/strcpy/...
22905 (clean_dump_file): Likewise.
22906 (compile_file): Call xstrdup, not xmalloc/strcpy.
22908 Mon Sep 6 15:04:55 1999 Richard Henderson <rth@cygnus.com>
22910 * v850.h (EXPAND_BUILTIN_VA_ARG): New.
22911 * v850.c (v850_va_arg): New.
22913 Tue Sep 7 09:36:01 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
22915 * haifa-sched.c: Tidy comments.
22917 Mon Sep 6 14:30:13 1999 Bernd Schmidt <bernds@cygnus.co.uk>
22919 * Makefile.in (C_AND_OBJC_OBJS): Remove ggc-callbacks.o.
22920 (c-parse.o, c-decl.o, c-lang.o, c-lex.o, c-common.o,
22921 $(out_object_file)): Depend on ggc.h.
22922 * c-common.c: Include "ggc.h".
22923 (combine_strings): If doing GC, use ggc_alloc_string.
22924 * c-decl.c: Include "ggc.h".
22925 (ggc_p): Define with value 0.
22926 (mark_binding_level): New function.
22927 (init_decl_processing): Add GC roots.
22928 (mark_c_function_context): New function.
22929 (lang_mark_false_label_stack): New function.
22930 (lang_mark_tree): New function.
22931 (lang_cleanup_tree): New function.
22932 * c-lang.c: Include "ggc.h".
22933 (lang_init): Call c_parse_init.
22934 * c-lex.c: Include "ggc.h".
22935 (check_linenum): If doing GC, don't copy filenames to permanent
22937 * c-parse.in: Include "ggc.h".
22938 (c_parse_init): New function.
22939 * c-tree.h (c_parse_init, mark_c_function_context): Declare.
22940 * objc/Make-lang.in (objc-parse.o): Depend on ggc.h.
22942 * except.c (mark_eh_state): Mark more state.
22943 * function.c (mark_function_state): Likewise.
22944 * ggc-simple.c (ggc_alloc_rtvec): Bring in sync with non-gc version.
22945 (ggc_alloc_string) [GGC_DUMP]: Fix typo.
22946 * toplev.c (mark_file_stack): New function.
22947 (compile_file): If doing GC, use ggc_alloc_string on input filename.
22948 (main): Add root for input_file_stack.
22950 * i386.c: Include "ggc.h".
22951 (ix86_mark_machine_status): New function.
22952 (override_options): Set mark_machine_status.
22954 Mon Sep 6 15:26:23 1999 Bernd Schmidt <bernds@cygnus.co.uk>
22956 * tree.c (copy_node): Copy node contents also if doing GC.
22958 Mon Sep 6 08:42:06 1999 Alexandre Oliva <oliva@dcc.unicamp.br>
22960 * collect2.c (scan_libraries): Fix double-thinko :-).
22962 Mon Sep 6 02:42:36 1999 Jeffrey A Law (law@cygnus.com)
22964 * collect2.c (scan_libraries): Fix thinko.
22966 * cse.c (delete_trivially_dead_insns): Do not skip the last
22967 insn if it is a real insn.
22969 Sun Sep 5 18:57:42 1999 Mark Mitchell <mark@codesourcery.com>
22971 * Makefile.in (ggc-simple.o): Depend on hash.h.
22972 * ggc.h (ggc_add_tree_hash_table_root): Declare.
22973 (ggc_mark_tree_varray): Likewise.
22974 (ggc_mark_tree_hash_table): Likewise.
22975 * ggc-simple.c: Include hash.h.
22976 (ggc_mark_tree_hash_table_ptr): New function.
22977 (ggc_mark_tree_hash_table_entry): Likewise.
22978 (ggc_mark_tree_hash_table): Likewise.
22979 (ggc_add_tree_hash_table_root): Likewise.
22980 * varray.h (const_equiv_data): Use struct rtx_def *, rather than
22981 rtx, when defining fields.
22983 Sun Sep 5 18:57:42 1999 Bernd Schmidt <crux@pool.informatik.rwth-aachen.de>
22985 * profile.c (output_func_start_profiler): Remove apparently
22986 nonsensical call to start_sequence.
22988 Sun Sep 5 17:34:33 1999 Richard Henderson <rth@cygnus.com>
22990 * clipper/clipper.c (clipper_va_start): Fix typos.
22992 * pyr/pyr.c (pyr_build_va_list, pyr_va_start, pyr_va_arg): New stubs.
22993 * spur/spur.c (spur_build_va_list, spur_va_start): New stubs.
22994 (spur_va_arg): New stub.
22996 * configure.in: Comment out pyramid.
22998 Sun Sep 5 19:11:01 1999 Michael Meissner <meissner@cygnus.com>
23000 * i386.h (MASK_{DEBUG_{ADDR,ARG},INTEL_SYNTAX}): Move so these
23001 don't conflict with the bits that win32, cygwin, and dgux
23004 Sun Sep 5 09:31:56 1999 Richard Henderson <rth@cygnus.com>
23005 Bernd Schmidt <bernds@cygnus.co.uk>
23007 * integrate.c (function_cannot_inline_p): Do not inline
23008 functions with forced labels.
23010 Sun Sep 5 00:35:17 1999 Richard Henderson <rth@cygnus.com>
23011 Bernd Schmidt <bernds@cygnus.co.uk>
23012 Mark Mitchell <mark@codesourcery.com>
23014 * Makefile.in (ggc-simple.o): Depend on varray.h.
23015 (rtl.o): Depend on ggc.h.
23016 (genattrtab.o): Depend on ggc.h.
23017 (print-tree.o): Likewise.
23018 (fold-const.o): Likewise.
23019 * emit-rtl.c (sequence_element_free_list): Remove, and all references.
23020 (make_insn_raw): Don't cache insns when GC'ing.
23021 (emit_insn_before): Likewise.
23022 (emit_insn_after): Likewise.
23023 (emit_insn): Likewise.
23024 (start_sequence): Use xmalloc to allocate the sequence_stack.
23025 (end_sequence): Add free to free it.
23026 (gen_sequence): Don't cache insns when GC'ing.
23027 (clear_emit_caches): Don't use sequence_element_free_list.
23028 (init_emit): Use xcalloc, not xmalloc+bzero.
23029 * fold-const.c (size_int_wide): Kill the cache, when GC'ing.
23030 * function.c (pop_function_context_from): Use free to free the
23031 fixup_var_refs_queue.
23032 (put_reg_into_stack): Allocate it with xmalloc.
23033 * genattrtab.c: Include ggc.h.
23034 (operate_exp): Don't use obstack_free when GC'ing.
23035 (simplify_cond): Likewise.
23036 (simplify_text_exp): Likewise.
23037 (optimize_attrs): Likewise.
23038 * gengenrtl.c (gendef): Use ggc_alloc_rtx to allocate RTL, when
23040 (gencode): Generate a #include for ggc.h.
23041 * ggc-callbacks.c (ggc_p): Define it to zero.
23042 * ggc-none.c (ggc_p): Likewise.
23043 * ggc-simple.c: Include varray.h.
23044 (ggc_mark_tree_varray): New function.
23045 (ggc_add_tree_varray_root): Likewise.
23046 (ggc_mark_tree_varray_ptr): Likewise.
23047 * ggc.h (ggc_p): Declare.
23048 (varray_head_tag): Likewise.
23049 (ggc_add_tree_varray_root): Declare.
23050 * print-tree.c (print_node): Don't check for TREE_PERMANENT
23051 inconsistencies when GC'ing.
23052 * rtl.c: Include ggc.h.
23053 (rtvec_alloc): Use ggc_alloc_rtvec when GC'ing.
23054 (rtx_alloc): Use ggc_alloc_rtx when GC'ing.
23055 (rtx_free): Don't call obstack_free when GC'ing.
23056 * toplev.c (rest_of_compilation): Call ggc_collect after every
23058 * tree.c (push_obstacks): Do nothing, if GC'ing.
23059 (pop_obstacks_nochange): Likewise.
23060 (pop_obstacks): Likewise.
23061 (make_node): Use ggc_alloc_tree when GC'ing.
23062 (copy_node): Likewise.
23063 (get_identifier): Use ggc_alloc_string when GC'ing.
23064 (build_string): Likewise.
23065 (make_tree_vec): Use ggc_alloc_tree when GC'ing.
23066 (tree_cons): Likewise.
23067 (build1): Likewise.
23068 (type_hash_canon): Don't call obstack_free when GC'ing.
23070 Sat Sep 4 21:52:32 1999 Richard Henderson <rth@cygnus.com>
23072 * haifa-sched.c (schedule_block): Use next_nonnote_insn instead
23073 of NEXT_INSN when examining speculative insns for SCHED_GROUP_P.
23075 Sat Sep 4 20:40:19 1999 Richard Henderson <rth@cygnus.com>
23076 Bernd Schmidt <bernds@cygnus.co.uk>
23077 Mark Mitchell <mark@codesourcery.com>
23079 * Makefile.in (stor-layout.o): Depend on ggc.h.
23080 (expr.o): Depend on ggc.h.
23081 (profile.o): Depend on ggc.h.
23082 (stor-layout.o): Depend on ggc.h.
23083 * emit-rtl.c (init_emit_once): Add gc roots.
23084 * expr.c: Include ggc.h.
23085 (emit_block_move): Add gc roots.
23086 (clear_storage): Likewise.
23087 * expr.h (init_stor_layout_once): New function.
23088 * profile.c: Include ggc.h.
23089 (init_arc_profiler): profiler_label is a root.
23090 * scan.c (make_sstring_space): Trust xrealloc to function
23091 correctly with first parameter NULL.
23092 * stor-layout.c: Include ggc.h.
23093 (set_sizetype): Add gc root.
23094 (init_stor_layout_once): New function.
23095 * toplev.c (compile_file): Call it.
23097 Sat Sep 4 19:26:25 1999 Richard Henderson <rth@cygnus.com>
23098 Bernd Schmidt <bernds@cygnus.co.uk>
23099 Mark Mitchell <mark@codesourcery.com>
23101 * Makefile.in (tree.o): Depend on ggc.h.
23102 (varasm.o): Likewise.
23103 (function.o): Likewise.
23104 (stmt.o): Likewise.
23105 (except.o): Likewise.
23106 (optabs.o): Likewise.
23107 (emit-rtl.o): Likewise.
23108 * emit-rtl.c: Include ggc.h.
23109 (sequence_element_free_list): Remove, and all references.
23110 (mark_sequence): New functions.
23111 (mark_emit_state): New function.
23112 * except.c: Include ggc.h.
23113 (mark_eh_node, mark_eh_stack, mark_eh_queue): New functions.
23114 (mark_tree_label_node): New functions.
23115 (mark_eh_state): New function.
23116 * function.c: Include ggc.h.
23117 (mark_temp_slot, mark_function_chain): New functions.
23118 (mark_function_state): New function.
23119 (init_function_once): New function.
23120 * function.h (init_function_once): New function.
23121 * ggc-callbacks.c (lang_mark_false_label_stack): New function.
23122 * ggc.h (label_node): Declare.
23123 (eh_status, emit_status, stmt_status, varasm_status): Likewise.
23124 (lang_mark_false_label_stack): New function.
23125 (mark_temp_slot): Remove declaration.
23126 (mark_function_chain): Likewise.
23127 (mark_eh_state): Adjust prototype.
23128 (mark_stmt_state, mark_emit_state, mark_varasm_state, mark_optab):
23130 * optabs.c: Include ggc.h.
23131 (mark_optab): New function.
23132 (init_optabs): Add gc roots.
23133 * stmt.c: Include ggc.h.
23134 (mark_cond_nesting, mark_loop_nesting): New functions.
23135 (mark_block_nesting, mark_case_nesting, mark_goto_fixup): Likewise.
23136 (mark_stmt_state): New function.
23137 * toplev.c (compile_file): Call init_function_once.
23138 * tree.c: Include ggc.h.
23139 (type_hash): Move declaration earlier in file.
23140 (TYPE_HASH_SIZE, type_hash_table): Likewise.
23141 (init_obstacks): Add gc roots.
23142 (mark_type_hash): New function.
23143 * varasm.c: Include ggc.h.
23144 (mark_pool_constant): New function.
23145 (mark_varasm_state): New function.
23147 Sat Sep 4 22:28:56 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
23149 * ggc-simple.c (ggc_root, ggc_collect): Wrap prototype with PROTO.
23151 Sat Sep 4 18:01:45 1999 Bernd Schmidt <bernds@cygnus.co.uk>
23153 * c-decl.c (struct language_function): Renamed from struct c_function.
23155 (c_function_chain): Delete.
23156 (push_c_function_context): New arg F. Don't warn about nested
23157 functions here. Fill LANGUAGE elt of F. Delete code to update
23158 c_function_chain. Don't call push_function_context.
23159 (pop_c_function_context): New arg F. Restore from there instead of
23160 from c_function_chain. Don't call pop_function_context. Clear out
23161 LANGUAGE field of F when done.
23162 * c-lang.c: Include "function.h"
23163 (lang_init): Initialize save_lang_status and restore_lang_status.
23164 * c-parse.in (nested_function, nested_function_notype): Warn about
23165 nested functions. Call push_function_context/pop_function_context
23166 instead of the _c_ variants.
23167 * c-tree.h (push_c_function_context, pop_c_function_context): Update
23169 * Makefile.in (c-lang.o): Update dependencies.
23171 * emit-rtl.c (init_emit): Use xmalloc to allocate regno_reg_rtx,
23172 regno_pointer_flag, regno_pointer_align.
23173 (gen_reg_rtx): Use xrealloc to enlarge them.
23174 (free_emit_status): New function.
23175 * function.c (mark_machine_status, mark_lang_status): New variables.
23176 (assign_stack_local_1): Renamed from assign_outer_stack_local. Merge
23177 in some bits from assign_stack_local. All callers changed to use new
23179 (assign_stack_local): Just call assign_stack_local_1.
23180 (free_after_compilation): New function.
23181 (put_reg_into_stack): Simplify to always call assign_stack_local_1.
23182 (trampoline_address): Likewise.
23183 (assign_parms): Use xcalloc/xrealloc to allocate parm_reg_stack_loc.
23184 (prepare_function_start): Explicitly clear some more variables.
23185 * function.h (struct function): New elt can_garbage_collect.
23186 (mark_machine_status, mark_lang_status): Declare variables.
23187 (free_after_compilation, free_emit_status, free_varasm_status,
23188 init_varasm_status): Declare functions.
23189 * toplev.c (rest_of_compilation): Call free_after_compilation when
23190 done with the current function.
23191 * varasm.c (free_varasm_status): New function.
23193 Sat Sep 4 17:15:13 1999 Richard Henderson <rth@cygnus.com>
23195 * sparc.h (EXPAND_BUILTIN_VA_START): Define.
23196 (EXPAND_BUILTIN_VA_ARG): Define.
23197 * sparc.c (sparc_va_start): New.
23198 (sparc_va_arg): New.
23200 Sun Sep 5 11:11:59 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
23202 * config/c4x/c4x.h (DBR_OUTPUT_SEQEND): Use XVECEXP not XEXPs.
23204 Sun Sep 5 10:13:19 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
23206 * config/c4x/c4x.h (CALLER_SAVE_PROFITABLE): Disable.
23208 Sat Sep 4 13:44:01 1999 Mark Mitchell <mark@codesourcery.com>
23210 * Makefile.in (C_AND_C_OBJS): Add gcc-callbacks.o.
23211 (OBJS): Add $(GGC).
23212 (ggc-callbacks.o): New target.
23213 * ggc-callbacks.c: New file.
23215 Sat Sep 4 22:53:13 1999 Bernd Schmidt <bernds@cygnus.co.uk>
23217 * expr.h: Collapse individual optab and libfunc vars to arrays.
23218 (optab_index, libfunc_index): New enumerations.
23219 (optab_table, libfunc_table): New arrays.
23220 Add accessor macros for both.
23222 * optabs.c (optab_table, libfunc_table): New.
23223 Delete declarations for individual optab and libfunc vars.
23225 Sat Sep 4 12:57:17 1999 Richard Henderson <rth@cygnus.com>
23227 * i386/sco5.h (RETURN_POPS_ARGS): Name change ix86_return_pops_args.
23229 Sat Sep 4 11:19:52 1999 Richard Henderson <rth@cygnus.com>
23231 * Makefile.in (GGC, GGC_LIB): New.
23232 (HOST_RTL): Include ggc-none.o.
23233 (ggc-simple.o): New target.
23234 (ggc-none.o): Likewise.
23235 * tree.h (tree_common): Add gc_mark.
23236 * rtl.h (struct rtx_def): Steal a bit from code to make gc_mark.
23237 (struct rtvec_def): Add gc_mark.
23238 * emit-rtl.c (global_rtl): Update static initializers to contain
23239 enough initializers.
23240 * ggc.h, ggc-none.c, ggc-simple.c: New files.
23241 * toplev.c (gc_time): New variable.
23242 (all_time): New variable.
23243 (compile_file): Print gc time.
23244 (print_time): Calculate percentage of the whole.
23246 Sat Sep 4 13:11:01 1999 Bernd Schmidt <bernds@cygnus.co.uk>
23248 Change obstack memory management and varasm constant pool handling so
23249 that nested functions are treated like any other functions.
23250 * function.c (init_machine_status): New variable.
23251 (push_function_context_to): Set contains_functions for the outer
23252 function. Don't call save_varasm_status.
23253 (pop_function_context_from): Don't call restore_varasm_status. Don't
23254 set current_function_contains_functions.
23255 (prepare_function_start): Call init_varasm_status rather than
23256 init_const_rtx_hash_table. Call (*init_machine_status) if the pointer
23258 * function.h (struct function) Add field varasm. Delete fields
23259 inline_obstacks, inl_emit, const_rtx_hash_table, first_pool,
23260 last_pool, const_rtx_sym_hash_table, pool_offset, const_double_chain.
23261 (init_machine_status): Declare.
23262 (save_varasm_status, restore_varasm_status): Delete declarations.
23263 (save_tree_status, restore_tree_status): Delete last argument.
23264 * integrate.c (initialize_for_inline): Lose arg COPY. Delete copying
23265 code. All callers changed.
23266 (copy_decl_list, copy_decl_tree, copy_decl_rtls, copy_for_inline,
23267 save_constants_in_decl_trees, restore_constants, save_constants,
23268 save_for_inline_eh_labelmap, save_for_inline_copying): Delete
23270 (inlining): New variable.
23271 (reg_map, label_map, insn_map, orig_asm_operands_vector,
23272 copy_asm_operands_vector, copy_asm_constraints_vector): Delete
23274 (save_for_inline_nocopy): Don't save constants.
23275 Don't set inl_emit field in current_function.
23276 (expand_inline_function): Use emit field, not inl_emit, of the inlined
23277 function. Set new variable inlining before
23278 calling copy_rtx_and_substitute.
23279 (copy_rtx_and_substitute): In MEM and SYMBOL_REF cases, handle
23280 constant pool references if inlining is nonzero.
23281 Delete ADDRESS and (most of the) CONST cases.
23282 (output_inline_function): Save and restore current_function/
23283 current_function_decl. Delete restore_constants code. Don't call
23284 init_const_rtx_hash_table.
23285 * output.h (init_const_rtx_hash_table): Don't declare.
23286 * rtl.h (struct function): Declare.
23287 (get_pool_constant_for_function, get_pool_mode_for_function): Declare.
23288 * toplev.c (rest_of_compilation): Don't treat nested functions or
23289 functions containing them specially. Delete all code to deal with
23290 save_for_inline_copying.
23291 * tree.c (toplev_inline_obstacks, extra_inline_obstacks,
23292 inline_obstacks): Delete variables.
23293 (save_tree_status): Lose arg CONTEXT. All callers changed.
23294 Simply allocate a new function_maybepermanent_obstack for the new
23295 function, delete all the special cases.
23296 Don't save inline_obstacks.
23297 (restore_tree_status): Lose arg CONTEXT. All callers changed.
23298 Delete special handling for function_maybepermanent_obstack; simply
23300 Don't restore inline_obstacks.
23301 (permanent_allocation): Delete code that frees inline_obstacks.
23302 (print_inline_obstack_statistics): Delete function.
23303 (dump_tree_statistics): Don't call it.
23304 * varasm.c (struct varasm_status): New.
23305 (const_rtx_hash_table, const_rtx_sym_hash_table, first_pool,
23306 last_pool, pool_offset, const_double_chain): Delete global
23307 variables, replace with accessor macros.
23308 (immed_double_const): Don't walk const_double_chain outside a
23309 function, but don't treat nested functions specially anymore.
23310 (immed_real_const_1): Likewise.
23311 (clear_const_double_mem): Don't treat nested functions specially.
23312 (init_const_rtx_hash_table): Deleted, code moved to init_varasm_status.
23313 (save_varasm_status, restore_varasm_status): Delete functions.
23314 (init_varasm_status): New function.
23315 (force_const_mem): Don't treat nested functions specially.
23316 (find_pool_constant): Accept new arg F, search for constants in
23317 that function's pool rather than the current one. All callers
23319 (get_pool_constant_for_function, get_pool_mode_for_function): New
23322 * i386.c (init_386_machine_status): New function, mostly from
23323 clear_386_stack_locals.
23324 (struct machine_functions): Rename element names to avoid name
23326 (pic_label_rtx, pic_label_name, i386_stack_locals): New accessor
23327 macros, replacing global variables.
23328 (clear_386_stack_locals, save_386_machine_status,
23329 restore_386_machine_status): Delete functions.
23330 (override_options): Initialize init_machine_status.
23331 * i386.h (INIT_EXPANDERS): Delete macro.
23332 (save_386_machine_status, restore_386_machine_status,
23333 clear_386_stack_locals): Delete declarations.
23335 Sat Sep 4 16:56:28 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
23337 * config/c4x/c4x.md (rptb_init): Renamed from *rptb_init.
23338 (doloop_begin): Simplify pattern and use emit_jump_insn.
23339 (doloop_end): Simplify pattern, switch operand order,
23340 and use emit_jump_insn.
23342 Fri Sep 3 19:02:38 1999 Bernd Schmidt <crux@pool.informatik.rwth-aachen.de>
23344 * function.h (struct function): Add new element LANGUAGE.
23345 (save_lang_status): Declare new variable.
23346 (restore_lang_status): Likewise.
23347 * function.c (save_lang_status): Define.
23348 (restore_lang_status): Likewise.
23349 (push_function_context_to): Call language-specific save function.
23350 (pop_function_context_from): Call language-specific restore function.
23352 Fri Sep 3 01:16:18 1999 Alasdair Baird <alasdair@wildcat.demon.co.uk>
23354 * i386.md (movsf_1): Check REG_P before use of REGNO.
23355 (movdf_1): Likewise.
23356 (movxf_1): Likewise.
23357 (extendsfdf2): Likewise.
23358 (extendsfxf2): Likewise.
23359 (extenddfxf2): Likewise.
23361 Sat Sep 4 11:37:15 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
23363 * config/c4x/c4x.c (c4x_emit_move_sequence): Do not force large
23364 constants into memory.
23365 (c4x_shiftable_constant): New function.
23366 * config/c4x/c4x.c (LEGITIMATE_CONSTANT_P): Allow any CONST_INT.
23367 (c4x_shiftable_constant): Declare.
23368 * config/c4x/c4x.md (loadqi_big_constant, loadhi_big_constant,
23369 ashlqi3_noclobber): Add new patterns and associated splitters.
23371 Fri Sep 3 16:22:17 1999 Richard Henderson <rth@cygnus.com>
23373 * dbxout.c (dbxout_init): Use xcalloc instead of xmalloc+bzero.
23374 * dwarf2out.c (dwarf2out_frame_init): Likewise.
23375 * final.c (shorten_branches): Likewise.
23376 * global.c (global_alloc): Likewise.
23377 * haifa-sched.c (build_control_flow): Likewise.
23378 * stmt.c (check_for_full_enumeration_handling): Likewise.
23379 (estimate_case_costs): Likewise.
23381 Fri Sep 3 15:49:56 1999 Mark Mitchell <mark@codesourcery.com>
23383 * rtl.h (RTL_CHECKC2): Fix typo in last change.
23385 Fri Sep 3 15:13:34 1999 Richard Henderson <rth@cygnus.com>
23387 * flow.c (propagate_block): Use XEXP not SET_DEST for a USE.
23388 (recompute_reg_usage): Likewise.
23389 * rtlanal.c (find_regno_fusage): Likewise.
23391 * rtl.c (rtl_check_failed_code1): New function.
23392 (rtl_check_failed_code2): New.
23393 * rtl.h (RTL_CHECK1, RTL_CHECK2, RTVEC_ELT): Parenthesize args.
23394 (RTL_CHECKC1, RTL_CHECKC2): New.
23395 (XC*): New accessor macros.
23396 (NOTE_*, LABEL_NAME, LABEL_NUSES, ADDRESSOF_REGNO): Use them.
23397 (ADDRESSOF_DECL, JUMP_LABEL, LABEL_REFS, LABEL_NEXTREF): Likewise.
23398 (CONTAINING_INSN, REGNO, INTVAL, SUBREG_REG, SUBREG_WORD): Likewise.
23399 (ASM_OPERANDS_*, MEM_ALIAS_SET, SET_SRC, SET_DEST): Likewise.
23400 (TRAP_*, RANGE_INFO_*): Likewise.
23402 Fri Sep 3 15:10:20 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
23404 * Makefile.in (tlink.o): Don't depend on toplev.h.
23406 * collect2.c (c_file, o_file, export_file, import_file, ldout,
23407 output_file, nm_file_name, ldd_file_name, strip_file_name,
23408 c_file_name, prefix_list, libexts, is_ctor_dtor, find_a_file,
23409 add_prefix, prefix_from_env, prefix_from_string, do_wait,
23410 fork_execute, maybe_unlink, add_to_list,
23411 extract_init_priority, write_list, dump_list,
23412 dump_prefix_list, write_list_with_asm, write_c_file,
23413 write_c_file_stat, write_c_file_glob, scan_prog_file,
23414 scan_libraries, is_in_list, resolve_lib_name, use_import_list,
23415 ignore_library, extract_string, notice, dump_file, target_machine,
23416 collect_wait, collect_execute, libname, locatelib, aix_std_libs,
23417 read_file, print_load_command): Constify a char*.
23418 (fdopen, error, fatal, fatal_perror): Don't prototype.
23419 (my_strerror): Remove. All callers use xstrerror instead.
23420 (xcalloc, xmalloc, xrealloc, xstrdup, putenv): Remove definitions.
23421 (main): Add prototype. Constify lots of char* ptrs. Change calls
23422 to xcalloc/strcpy/strcat/... to one call to concat.
23423 (main, scan_prog_file, scan_libraries): Use an intermediate
23424 `const char **' to build an argv array.
23425 (mapfile, libselect, libcompare, locatelib): Add prototypes.
23427 * collect2.h (collect_execute, collect_wait, dump_file,
23428 file_exists): Constify a char*.
23429 (ldout, c_file_name, temporary_obstack, permanent_obstack,
23430 temporary_firstobj, vflag, debug): Add extern declarations.
23431 (fancy_abort, error, notice, fatal, fatal_perror): Add prototypes.
23433 * tlink.c: Don't include toplev.h.
23434 (vflag, debug, ldout, c_file_name, temporary_obstack,
23435 permanent_obstack, temporary_firstobj): Don't declare.
23436 (tlink_execute, frob_extension, symbol_hash_lookup,
23437 file_hash_lookup, demangled_hash_lookup, tlink_init, freadsym,
23438 recompile_files, read_repo_files, demangle_new_symbols,
23439 scan_linker_output): Constify a char*.
23440 (symbol_hash_newfunc, file_hash_newfunc, demangled_hash_newfunc,
23441 do_tlink): Mark parameters with ATTRIBUTE_UNUSED.
23443 Fri Sep 3 18:09:24 1999 Andrew Haley <aph@cygnus.com>
23445 * config/m68k/m68kelf.h: Set USE_GAS; this makes gcc generate jbsr
23446 (relative) rather than jsr (absolute) subroutine call insns.
23447 * config/m68k/m68k-coff.h: Ditto.
23449 Fri Sep 3 17:24:31 1999 Richard Earnshaw <rearnsha@arm.com>
23451 * arm.c (note_invalid_constants): No need to ignore ASMs, we can
23452 now rework these too.
23453 (arm_reorg): If an insn can't reach the end of the current pool,
23454 ensure that we emit that pool before the insn.
23456 Fri Sep 3 09:14:32 1999 Marc Espie <espie@tetto.liafa.jussieu.fr>
23458 * tlink.c (scan_linker_output): Skip the initial underscore in
23459 a mangled name if appropriate.
23461 Fri Sep 3 01:28:33 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
23463 * objc/objc-act.c (objc_tree_code_type, objc_tree_code_length,
23464 objc_tree_code_name, synth_id_with_class_suffix, warn_with_method,
23465 error_with_ivar, gen_declarator, create_builtin_decl,
23466 my_build_string, generate_descriptor_table, generate_ivars_list,
23467 generate_dispatch_table, check_protocols, TAG_GETCLASS,
23468 TAG_GETMETACLASS, TAG_MSGSEND, TAG_MSGSENDSUPER, TAG_EXECCLASS,
23469 dump_base_name, lang_decode_option, build_encode_expr,
23470 start_class, finish_class, encode_pointer, really_start_method,
23471 gen_declaration, dump_interface, handle_class_ref, handle_impent):
23473 (objc_demangle, objc_printable_name, generate_struct_by_value_array):
23474 Add static prototypes.
23475 (build_objc_string_decl, build_selector_reference_decl,
23476 encode_bitfield, build_class_reference_decl): Remove unused
23477 parameter, all callers changed.
23478 (maybe_objc_method_name): Mark with ATTRIBUTE_UNUSED.
23479 (objc_printable_name): Likewise. Change second parameter to type int.
23480 (init_objc): Use memcpy, not bcopy, to avoid casts.
23482 Thu Sep 2 21:49:52 1999 Richard Henderson <rth@cygnus.com>
23484 * reload1.c (eliminate_regs_in_insn): Avoid eliminating the
23485 reg notes on a deleted insn.
23486 * gcse.c (hash_expr_1): Use XWINT on a CONST_DOUBLE.
23488 Thu Sep 2 20:18:12 1999 Jeffrey A Law (law@cygnus.com)
23490 * i386.c (ix86_attr_length_default): Handle TYPE_FXCH.
23492 Thu Sep 2 22:00:08 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
23494 * stmt.c (expand_asm_operands): Fix index into inout_mode when
23497 Thu Sep 2 13:00:48 1999 Richard Henderson <rth@cygnus.com>
23499 * stmt.c (expand_asm_operands): Invoke MD_ASM_CLOBBERS if present.
23500 * tm.texi (MD_ASM_CLOBBERS): Document it.
23502 Thu Sep 2 10:22:40 1999 Richard Henderson <rth@cygnus.com>
23504 * dwarf2out.c (dwarf2out_line): Constify `lastfile'.
23505 * except.c (expand_rethrow): Remove unused variable.
23506 * expr.c (do_jump_by_parts_greater_rtx): Likewise.
23507 * flow.c (replace_insns): Likewise.
23508 (create_edge_list, verify_edge_list): Likewise.
23509 * gcse.c (cprop_cc0_jump): Protect declaration with HAVE_cc0.
23511 * genemit.c (gen_expand): Only emit `operands[N]' decl if there
23512 is special code to run.
23513 (main): Don't define operands to emit_operand.
23514 * genrecog.c (main): Don't emit an empty peephole2_insn function.
23516 * rtl.h (NOTE_BASIC_BLOCK): Use X0BBDEF.
23518 * alpha/alpha.h (normal_memory_operand): Declare.
23519 (reg_no_subreg_operand): Declare.
23520 * alpha/elf.h (ASM_DECLARE_OBJECT_NAME): Use HOST_WIDE_INT_PRINT_DEC.
23522 Thu Sep 2 10:19:20 1999 Richard Henderson <rth@cygnus.com>
23524 * c-parse.in (compstmt_primary_start): New, broken out of first
23525 part of compstmt handling in primary.
23526 (primary): Use it. Add an error clause.
23527 (compstmt_nostart): Renamed from compstmt; remove all
23528 initial invocations of compstmt_start.
23531 Thu Sep 2 01:35:50 1999 Marc Espie <espie@cvs.openbsd.org>
23533 * protoize.c (gen_aux_info_file): Let pexecute call choose_temp_base if
23536 Thu Sep 2 00:43:59 1999 Finn Hakansson <finn@axis.com>
23538 * combine.c (simplify_shift_const): Remove extra semicolon.
23539 * dwarf2out.c (remove_AT): Likewise.
23540 * expmed.c (expand_mult): Likewise.
23541 * gcov.c (create_program_flow_graph): Likewise.
23542 * reorg.c (mostly_true_jump): Likewise.
23544 Thu Sep 2 00:06:43 1999 Jeffrey A Law (law@cygnus.com)
23546 * fold-const.c (fold_range_test): Do not try to fold the range
23547 test if the rhs or lhs has side effects.
23549 * combine.c (simplify_rtx): Recognize another case of a synthesized
23552 * varasm.c (mark_constant_pool): When marking indirect references,
23553 only look at SYMBOL_REFs.
23555 * except.c (expand_fixup_region_end): Do not peek at
23556 INSN_UID (node->entry->outer_context) for flag_new_exceptions.
23558 Thu Sep 2 13:52:53 1999 Geoffrey Keating <geoffk@cygnus.com>
23560 * flags.h: New variables align_loops, align_loops_log,
23561 align_jumps, align_jumps_log, align_labels, align_labels_log,
23562 align_functions, align_functions_log.
23563 * toplev.c: Define them.
23564 (f_options): Handle -falign-* when they have no argument.
23565 (main): Add logic to set variables for -falign-functions,
23566 -falign-jumps, -falign-labels, -falign-loops.
23567 Make it -fsched-verbose=<n> and -finline-limit=<n>.
23568 (display_help): Change help to match options.
23569 * final.c (LABEL_ALIGN): Default to align_labels_log.
23570 (LABEL_ALIGN_MAX_SKIP): Default to align_labels-1.
23571 (LOOP_ALIGN): Default to align_loops_log.
23572 (LOOP_ALIGN_MAX_SKIP): Default to align_loops-1.
23573 (LABEL_ALIGN_AFTER_BARRIER): Default to align_jumps_log.
23574 (LABEL_ALIGN_AFTER_BARRIER_MAX_SKIP): Default to align_jumps-1.
23575 * varasm.c (assemble_start_function): Handle align_functions.
23577 * config/sparc/sparc.h: Don't declare sparc_align_*.
23578 Don't provide LABEL_ALIGN_AFTER_BARRIER or LOOP_ALIGN.
23579 (DEFAULT_SPARC_ALIGN_FUNCS): Delete; take functionality into
23581 (FUNCTION_BOUNDARY): Fix incorrect use---it's not just a request,
23583 * config/sparc/sparc.c: Delete sparc_align_loops,
23584 sparc_align_jumps, sparc_align_funcs and the corresponding string
23586 (sparc_override_options): Default align_functions on ultrasparc.
23587 Delete -malign-* handling.
23589 * config/mips/mips.c (override_options): On 64-bit targets,
23590 try to align code to 64-bit boundaries.
23591 (print_operand): New substitution, %~,
23592 which aligns labels to align_labels_log.
23593 * config/mips/mips.md (div_trap_normal): Use %~.
23594 (div_trap_mips16): Likewise.
23596 (absdi2): Likewise.
23597 (ffssi2): Likewise.
23598 (ffsdi2): Likewise.
23599 (ashldi3_internal): Likewise.
23600 (ashrdi3_internal): Likewise.
23601 (lshrdi3_internal): Likewise.
23602 (casesi_internal): Likewise.
23604 Wed Sep 1 21:13:48 1999 Richard Henderson <rth@cygnus.com>
23606 Merge new ia32 backend from the branch!
23608 * i386.h, i386.c, i386.md, reg-stack.c, i386/unix.h: Many changes.
23609 See ChangeLog.P2 on new_ia32_branch for details.
23611 * rtl.h (stack_regs_mentioned_p): Delete prototype.
23612 * i386/cygwin.h (SUBTARGET_PROLOGUE): No more do_rtl.
23613 * i386/win32.h (SUBTARGET_PROLOGUE): Likewise.
23614 * i386/gas.h (ASM_FILE_START): Define.
23615 * i386/winnt.c (i386_pe_valid_decl_attribute_p): Update
23616 for name change of ix86_valid_decl_attribute_p.
23617 (i386_pe_valid_type_attribute_p): Similarly.
23619 Wed Sep 1 18:21:23 1999 Richard Henderson <rth@cygnus.com>
23621 * emit-rtl.c (init_emit_once): Don't use GET_MODE_WIDER_MODE
23622 to step through CC modes.
23624 Wed Sep 1 20:18:06 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
23626 * regmove.c (fixup_match_1): Don't move INSN in front of P if
23627 it would end up in the shadow of a live flags regsiter.
23629 Wed Sep 1 11:32:00 1999 Bernd Schmidt <bernds@cygnus.co.uk>
23631 * reload1.c: Fix many indentation problems.
23632 * reload.c: Likewise.
23634 Tue Aug 31 22:08:03 1999 Marc Espie <espie@cvs.openbsd.org>
23636 * alias.c (non_local_reference_p): Constify fmt.
23638 Tue Aug 31 23:19:35 1999 Michael Meissner <meissner@cygnus.com>
23640 * config/i386/xm-cygwin.h (HAVE_DOS_BASED_FILE_SYSTEM): Define.
23642 Tue Aug 31 16:44:52 1999 Jeffrey A Law (law@cygnus.com)
23644 * cse.c (delete_trivially_dead_insns): Do not delete stores to
23645 the internal_arg_pointer.
23647 Tue Aug 31 13:35:42 1999 Richard Henderson <rth@cygnus.com>
23649 Merge peephole2 from new_ia32_branch:
23650 * Makefile.in (STAGESTUFF): Add *.peephole2.
23651 (mostlyclean): Likewise.
23652 (recog.o): Depend on resource.h.
23654 * final.c (peephole): Conditionalize decl on HAVE_peephole.
23655 (final_scan_insn): Likewise for the invocation of peephole.
23656 * genconfig.c (main): Look for peephole and peephole2 patterns.
23657 Emit HAVE_peephole* accordingly.
23658 * genpeep.c (main): Conditionalize entire output on HAVE_peephole.
23659 * flags.h (flag_peephole2): Declare.
23660 * toplev.c: New pass peephole2. New flag -fpeephole2.
23662 * genattrtab.c (main): Count DEFINE_PEEPHOLE2.
23663 * gencodes.c (main): Likewise.
23664 * genextract.c (main): Likewise.
23665 * genoutput.c (main): Likewise.
23666 * genemit.c (max_operand_1): Look for the max scratch operand.
23667 (gen_rtx_scratch): New.
23668 (gen_exp): Use it, and pass on new arg subroutine_type.
23669 (gen_expand): Take max scratch into account.
23670 (gen_split): Emit peephole2 functions.
23671 (output_peephole2_scratch): New.
23672 (main): Include hard-reg-set.h and resource.h. Handle peephole2.
23673 * genrecog.c (routine_type): Add PEEPHOLE2.
23675 (make_insn_sequence): Match outer parallel for peep2. Discard
23676 top level scratches and dups.
23677 (add_to_sequence): New args insn_type and top. Update all callers.
23678 Handle toplevel peep2 matching insns.
23679 (write_subroutine): Handle peep2.
23680 (write_tree_1): Likewise.
23681 (write_tree): Likewise.
23683 (change_state): New arg afterward. Update all callers.
23684 Handle matching separate insns.
23685 * recog.c (recog_next_insn): New.
23686 (peephole2_optimize): New.
23687 * rtl.def (DEFINE_PEEPHOLE2): New.
23688 * resource.c (find_free_register): New argument last_insn. Use it
23689 to find a register available through the entire span.
23690 * resource.h (find_free_register): Update prototype.
23692 Tue Aug 31 11:51:06 1999 Jim Kingdon <http://developer.redhat.com>
23694 * i386.c (output_strlen_unroll): Don't write xops[7]
23695 label if it wasn't set.
23697 1999-08-31 12:44 -0700 Zack Weinberg <zack@bitmover.com>
23699 * cpplib.c (struct directive): Const-ify name pointer and
23700 function pointer prototype.
23701 (validate_else, do_define, do_line, do_include, do_undef,
23702 do_error, do_pragma, do_ident, do_if, do_xifdef, do_else,
23703 do_elif, do_endif, do_sccs, do_assert, do_unassert,
23704 do_warning): Const-ify second arg.
23705 (directive_table): Mark const. Reorder entries by frequency
23706 of usage, record statistics.
23708 1999-08-31 12:20 -0700 Zack Weinberg <zack@bitmover.com>
23710 * rtl.h (RTL_CHECK1, RTL_CHECK2): New macros which type- and
23711 bounds- check RTL accesses if --enable-checking.
23712 (RTVEC_ELT): Bounds check if --enable-checking.
23713 (XWINT, XINT, XSTR, XEXP, XVEC, XMODE, XBITMAP, XTREE,
23714 XBBDEF): Use RTL_CHECK1/RTL_CHECK2 as appropriate.
23715 (XVECEXP, XVECLEN): Define in terms of XVEC, RTVEC_ELT, and
23717 (X0WINT, X0INT, X0STR, X0EXP, X0VEC, X0MODE, X0BITMAP, X0TREE,
23718 X0BBDEF, X0ADVFLAGS): New macros for accessing '0' slots of RTXes.
23720 (ADDR_DIFF_VEC_FLAGS): Use X0ADVFLAGS.
23721 (NOTE_SOURCE_FILE): Use X0STR.
23722 (NOTE_BLOCK_NUMBER, NOTE_EH_HANDLER, LABEL_NUSES,
23723 MEM_ALIAS_SET): Use X0INT.
23724 (NOTE_RANGE_INFO, NOTE_LIVE_INFO, NOTE_BASIC_BLOCK,
23725 JUMP_LABEL, LABEL_REFS, LABEL_NEXTREF, CONTAINING_INSN):
23727 * real.h (CONST_DOUBLE_CHAIN): Use X0EXP.
23728 * rtl.c (copy_rtx, copy_most_rtx): Copy '0' slots with X0WINT.
23729 (rtl_check_failed_bounds, rtl_check_failed_type1,
23730 rtl_check_failed_type2, rtvec_check_failed_bounds): New
23732 (fancy_abort): Fix comment.
23734 * cse.c (canon_hash): Read CONST_DOUBLE data slots with XWINT.
23735 (cse_insn): Decrement LABEL_NUSES for jump target before
23736 deleting jump insn.
23737 * emit-rtl.c (gen_rtx_CONST_DOUBLE): Use X0EXP for slot 1.
23738 * final.c (alter_subreg): Compute regno before changing x to
23739 REG; set REGNO(x) after changing it.
23740 * flow.c (count_basic_blocks): Use XWINT to inspect EH_REGION
23741 notes containing CONST_INTs.
23742 (delete_eh_regions): Use NOTE_EH_HANDLER.
23743 * function.c (put_reg_into_stack): Make reg a MEM before
23745 (fixup_var_refs_insns): Save REG_NOTES (insn) in case we
23747 (gen_mem_addressof): Make reg a MEM before initializing it.
23748 * integrate.c (copy_rtx_and_substitute): Copy '0' slots with
23750 * local-alloc.c (update_equiv_regs): Zap REG_NOTES before
23751 deleting an insn, not after.
23752 (block_alloc): Only look at PATTERN(insn) if we have to, and
23753 only if it's format class 'i'.
23754 * loop.c (check_dbra_loop): Check bl->biv->add_val is a
23755 CONST_INT before using its INTVAL.
23756 * print-rtl.c (print_rtx): Use X0STR.
23757 * regmove.c (fixup_match_1): Don't look at PATTERN of
23758 non-class-'i' insn chain elements.
23759 * reload.c (loc_mentioned_in_p): Take address of
23760 in->fld[1].rtx directly.
23761 * reload1.c (reload): Change reg to a MEM before initializing
23763 * varasm.c (mark_constant_pool): Skip CONST_DOUBLES, which
23765 * config/i386/i386.md (decrement_and_branch_if_zero): Fix typo.
23767 Fri Aug 20 13:43:41 1999 Andrew Haley <aph@cygnus.com>
23769 * config/mips/mips.c (machine_dependent_reorg): Force a
23770 barrier to output the local constant pool if a barrier hasn't
23771 been found at a natural point in the instruction stream.
23773 Mon Aug 30 22:04:36 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
23775 * c-parse.in (language_string): Constify.
23777 * dwarf2out.c (language_string): Remove declaration.
23779 * dwarfout.c (language_string): Likewise.
23781 * toplev.c (language_string, init_parse, finish_parse): Likewise.
23783 * tree.h (language_string, init_parse, finish_parse): Declare.
23785 * i386/sun386.h (language_string): Remove declaration.
23787 * mips.h (language_string): Likewise.
23789 * nextstep.h (language_string): Likewise.
23791 * nextstep21.h (language_string): Likewise.
23793 * rs6000.c (language_string): Likewise.
23795 Mon Aug 30 20:56:08 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
23797 * Makefile.in (OBJS, PROTO_OBJS): Remove getpwd.o.
23798 (getpwd.o): Remove target.
23800 * getpwd.c: Delete file. Its in libiberty now.
23802 * dbxout.c (getpwd): Don't prototype.
23803 * dwarf2out.c (getpwd): Likewise
23804 * dwarfout.c (getpwd): Likewise
23805 * final.c (getpwd): Likewise.
23806 * protoize.c (getpwd): Likewise.
23808 Mon Aug 30 20:21:34 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
23810 * cse.c: (fold_rtx): Cast to HOST_WIDE_INT in left shift.
23812 Mon Aug 30 16:07:49 1999 Richard Henderson <rth@cygnus.com>
23814 * flow.c (new_insn_dead_notes): Use sets_reg_or_subreg not
23815 mark_set_resources.
23817 Mon Aug 30 12:23:53 1999 Jim Wilson <wilson@cygnus.com>
23819 * fixinc/Makefile.in (subdir): New.
23820 (fixincl.x, inclhack.sh, fixincl.sh): Use cp instead of $(CP).
23823 Mon Aug 30 01:02:09 1999 Jeffrey A Law (law@cygnus.com)
23825 * emit-rtl.c (copy_rtx_if_shared): A MEM which references
23826 virtual_stack_vars_rtx or virtual_incoming_args_rtx can not
23829 * invoke.texi: Fix typo.
23831 * dwarf2out.c (mem_loc_descriptor): New argument MODE. All callers
23832 changed. Handle autoincrement addressing modes.
23834 * integrate.c (copy_rtx_and_substitute): Handle internal_arg_pointer
23835 just like we would the virtual incoming args register when
23838 Sun Aug 29 23:17:54 1999 David Edelsohn <edelsohn@gnu.org>
23840 * rs6000.h (ASM_FILE_START): Specify complete filename, including
23841 path, in .file directive.
23843 Sun Aug 29 05:06:43 1999 Russ Allbery <rra@stanford.edu>
23845 * gcc.texi (External Bugs): Remove obsolete note about Perl on
23848 1999-08-29 08:38 -0700 Zack Weinberg <zack@bitmover.com>
23850 * stdbool.h: Make the typedef name _Bool, with bool a #defined
23853 Sun Aug 29 09:36:50 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
23855 * tree.c (tree_code_name): Constify a char*.
23857 * tree.h (tree_code_name, decl_printable_name): Likewise.
23859 * function.h (struct function): Likewise.
23861 * toplev.c (decl_name, decl_printable_name): Likewise.
23863 * vax/vms.h (MAYBE_VMS_FUNCTION_PROLOGUE): Likewise.
23865 * objc/objc-act.c (decl_printable_name): Remove redundant prototype.
23866 (init_objc): Remove function pointer cast.
23868 Sun Aug 29 05:01:17 1999 John David Anglin <dave@hiauly1.hia.nrc.ca>
23870 * pa.md (interspace_jump): New pattern.
23871 (builtin_longjmp): New expander.
23873 1999-08-29 Bernd Schmidt <bernds@cygnus.co.uk>
23875 * fp-bit.c (add, sub, multiply, divide, compare, _eq_f2, _ne_f2,
23876 _gt_f2, _ge_f2, _lt_f2, _le_f2, float_to_si, float_to_usi, negate,
23877 sf_to_df, df_to_sf): Fix potential problem with alias analysis.
23879 Sun Aug 29 04:30:52 1999 John Wehle (john@feith.com)
23881 * jump.c (delete_prior_computation): Also check calls
23882 to constant functions. Don't bother checking for a
23883 REG_UNUSED note before adding it.
23884 (delete_computation): Handle multi-word hard registers
23885 when synthesizing missing REG_DEAD notes for a register
23886 which is both set and used by an insn.
23888 1999-08-29 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
23890 * loop.c (this_loop_info): New variable.
23891 (loop_has_call, loop_has_volatile, loop_has_tablejump,
23892 loop_continue, loops_enclosed): Replace with fields in this_loop_info.
23894 (prescan_loop, strength_reduce): New argument loop_info. All callers
23896 (scan_loop): New variable loop_info, initialise to address of
23898 (prescan_loop): Set loop_info->vtop if find NOTE_INSN_LOOP_VTOP.
23899 Delete variable loop_has_multiple_exit targets and replace with
23900 field in this_loop_info.
23901 (find_and_verify_loops): Rename this_loop to this_loop_num.
23902 (strength_reduce): Delete loop_iteration_info. Replace variable
23903 loop_info with function argument of same name.
23904 (insert_bct): Rework test for loop being completely unrolled.
23906 * loop.h (struct loop_info): New fields num, loops_enclosed,
23907 has_call, has_volatile, has_tablejump, has_multiple_exit_targets,
23908 has_indirect_jump, and cont. Redefine use of unroll_number.
23909 (loop_unroll_number): Delete.
23911 * unroll.c (unroll_loop): Store loop unroll count in unroll_number
23912 field of loop_info.
23913 (loop_iterations): Delete variable vtop and instead use
23914 loop_info->vtop computed in prescan_loop.
23916 Sun Aug 29 03:27:23 1999 Scott Weikart <scott@igc.apc.org>
23918 * fix-header.c (main): Do not pass a null pointer to strcmp.
23920 Sun Aug 29 03:18:48 1999 William Bader (william@nscs.fast.net)
23922 * configure.in (i[34567]86-*-sco3.2v4*): Target does not truncate
23924 * configure: Rebuilt.
23926 Sat Aug 28 19:36:05 1999 Jeffrey A Law (law@cygnus.com)
23928 * jump.c (jump_optimize_1): Do not delete assignments to
23929 internal_arg_pointer.
23930 * cse.c (delete_trivially_dead_insns): Always consider a set of
23931 the internal_arg_pointer live.
23933 Sat Aug 28 16:24:31 1999 Richard Henderson <rth@cygnus.com>
23935 * flow.c (flow_delete_insn_chain): Rename from delete_insn_chain.
23936 (update_life_info) [REG_WAS_0]: Search the original insns rather
23937 than the new insns for the note. Fix typos finding note_dest.
23938 If no dest found, discard the note rather than abort.
23939 [REG_NOALIAS]: Handle as REG_NO_CONFLICT.
23940 (replace_insns): Remove the old insn list after update_life_info
23943 Sat Aug 28 16:20:12 1999 Richard Henderson <rth@cygnus.com>
23945 * haifa-sched.c (sched_analyze): Clear LOG_LINKS before calling
23946 sched_analyze_insn.
23947 (sched_analyze_1): Let add_dependence care for not adding dups.
23948 (sched_analyze_2): Likewise.
23949 (add_branch_dependences): Likewise.
23951 Sat Aug 28 15:58:16 1999 Mumit Khan <khan@xraylith.wisc.edu>
23953 * i386/winnt.c (export_list): New type.
23954 (exports_head): Rename to
23955 (export_head): this.
23956 (i386_pe_record_exported_symbol): Add is_data flag.
23957 (i386_pe_asm_file_end): Emit directive for exported variables.
23958 * i386/cygwin.h (i386_pe_record_exported_symbol): Update
23960 * i386/cygwin.h (ASM_OUTPUT_COMMON): Specify symbol type.
23961 (ASM_DECLARE_OBJECT_NAME): Likewise.
23962 (ASM_DECLARE_FUNCTION_NAME): Likewise.
23963 * i386/uwin.h (ASM_DECLARE_FUNCTION_NAME): Likewise.
23965 Fri Aug 27 15:35:24 1999 Jeffrey A Law (law@cygnus.com)
23967 * cse.c (fold_rtx): Work around bug in Sun V5.0 compilers.
23969 * pa.c (emit_move_sequence): Do not stop on SUBREG_WORD of an
23972 Fri Aug 27 14:01:19 1999 Marc Espie <espie@cvs.openbsd.org>
23974 * config/openbsd.h: Define SET_ASM_OP.
23975 * tm.texi: cross-reference SET_ASM_OP in the index.
23977 1999-08-27 13:27 -0700 Zack Weinberg <zack@bitmover.com>
23979 * rtl.c: Define CONST_DOUBLE_FORMAT to the appropriate format
23980 for a CONST_DOUBLE, at compile time. Initialize rtx_length
23981 and class_narrowest_mode at compile time. Kill init_rtl.
23982 Mark rtx_length, mode_class, mode_size, mode_unit_size,
23983 mode_wider_mode, mode_mask_array, class_narrowest_mode, and
23984 rtx_format as const. Kill all references to EXTRA_CC_MODES or
23986 * rtl.def (CONST_DOUBLE): Use CONST_DOUBLE_FORMAT macro for
23988 * rtl.h: Declare rtx_length and rtx_format as const.
23989 * machmode.def: Define CC(). Use CC() to define CCmode. If
23990 EXTRA_CC_MODES is defined, expand it here.
23991 * machmode.h: Declare mode_class, mode_size, mode_unit_size,
23992 mode_wider_mode, mode_mask_array, and class_narrowest_mode as
23993 const. Kill all references to EXTRA_CC_MODES.
23995 * toplev.c: Don't prototype or call init_rtl.
23996 * optabs.c: Don't call init_mov_optab.
23997 * genemit.c: Don't generate init_mov_optab. Don't call
23999 * gengenrtl.c: Duplicate calculation of CONST_DOUBLE_FORMAT
24001 * genattr.c, genattrtab.c, gencodes.c, genconfig.c,
24002 genextract.c, genflags.c, genopinit.c, genoutput.c, genpeep.c,
24003 genrecog.c: Don't call init_rtl.
24005 * arc.h, arm.h, c4x.h, i386.h, i960.h, m88k.h, pa.h, pdp11.h,
24006 rs6000.h, sparc.h: Don't define EXTRA_CC_NAMES. Use CC() in
24007 definition of EXTRA_CC_MODES.
24009 * md.texi: Kill ref to EXTRA_CC_NAMES.
24010 * tm.texi: Document new way to define EXTRA_CC_MODES.
24012 * genrecog.c: Do not look up the name of a define_split.
24013 (Unrelated bugfix.)
24015 Fri Aug 27 17:03:42 1999 Nick Clifton <nickc@cygnus.com>
24017 * config/v850/v850.md: Fix typo introduced by previous delta.
24019 Fri Aug 27 09:48:59 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
24021 * gcc.c (fatal): Make definition static to match prototype.
24023 Fri Aug 27 10:33:35 1999 Bernd Schmidt <bernds@cygnus.co.uk>
24025 * combine.c (get_last_value): Don't look for earlier sets if the last
24026 known set is somewhere in between the insns being combined.
24028 Fri Aug 27 10:03:12 BST 1999 Nathan Sidwell <nathan@acm.org>
24030 * configure.in: Don't use shell ! to negate exit codes
24031 * configure: Regenerate
24033 Fri Aug 27 09:36:17 1999 Andreas Schwab <schwab@suse.de>
24035 * function.c (assign_stack_temp_for_type): Fix change of Mar 5 for
24036 the fact that ALIGN is measured in bits, not bytes.
24038 1999-08-27 00:27 -0700 Zack Weinberg <zack@bitmover.com>
24040 * errors.c: New file; defines functions error, warning, and
24041 fatal, variables have_error and progname.
24042 * errors.h: New file; prototypes and decls for stuff in errors.c.
24044 * Makefile: Add rules to build errors.o and
24045 $(HOST_PREFIX)errors.o. Link genconfig, gencodes, genemit,
24046 genopinit, genrecog, genextract, genpeep, genattr, and
24047 genoutput with errors.o. Add errors.h to deps of genconfig.o,
24048 gencodes.o, genemit.o, genopinit.o, genrecog.o, genextract.o,
24049 genpeep.o, genattr.o, and genoutput.o.
24051 * genconfig.c, gencodes.c, genemit.c, genopinit.c, genrecog.c,
24052 genextract.c, genpeep.c, genattr.c: Include errors.h. Don't
24053 define or prototype fatal. Set progname at beginning of main.
24054 * genoutput.c: Likewise, and don't define or prototype error
24057 * c-typeck.c (c_expand_start_case): Return immediately if exp
24059 * fold-const.c (operand_equal_p): Return immediately if arg1
24060 or arg0 are ERROR_MARKs.
24061 * stor-layout.c (layout_type [case RECORD_TYPE]): Ignore
24062 fields of type ERROR_MARK when calculating if the record can
24065 Fri Aug 27 01:03:48 1999 Jim Kingdon <http://developer.redhat.com>
24066 with much help from Jeffrey A Law and Richard Henderson
24068 * i386.md: In the 6 insns which call output_fix_trunc,
24069 earlyclobber operands[0].
24071 Fri Aug 27 01:01:51 1999 Philip Blundell <pb@nexus.co.uk>
24073 * jump.c (duplicate_loop_exit_test): Call reg_scan_update after
24074 creating new registers.
24076 1999-08-26 23:09 -0700 Zack Weinberg <zack@bitmover.com>
24078 * i386.h: Declare ix86_cpu_string, ix86_arch_string,
24079 i386_reg_alloc_order, i386_regparm_string,
24080 i386_align_loops_string, i386_align_jumps_string,
24081 i386_align_funcs_string, i386_preferred_stack_boundary_string,
24082 and i386_branch_cost_string as type "const char *".
24083 * i386.c: Define all above strings as type "const char *".
24085 Thu Aug 26 20:36:30 1999 Jim Wilson <wilson@cygnus.com>
24087 * dwarf2out.c (output_aranges): Check DWARF_OFFSET_SIZE not PTR_SIZE
24088 when emitting alignment padding. Emit padding byte of 0 instead of 4.
24090 Thu Aug 26 18:11:20 1999 Mark Mitchell <mark@codesourcery.com>
24092 * tree.c (array_type_nelts): Don't create RTL_EXPRs from
24093 SAVE_EXPRs unless the SAVE_EXPRs have already been expanded.
24095 Thu Aug 26 19:33:23 1999 Jim Wilson <wilson@cygnus.com>
24097 * dwarf2out.c (DWARF2_ASM_LINE_DEBUG_INFO): Add default definition.
24098 (debug_dwarf): Add DWARF2_ASM_LINE_DEBUG_INFO support.
24099 (dwarf2out_line, dwarf2out_finish): Likewise.
24100 * tm.texi (DWARF2_ASM_LINE_DEBUG_INFO): Add documetation.
24102 Thu Aug 26 16:10:56 1999 Gavin Romig-Koch <gavin@cygnus.com>
24104 * tree.c (lang_unsave_expr_now) : Correct return type.
24105 * tree.h (lang_unsave_expr_now) : Same.
24107 Thu Aug 26 13:12:29 1999 Jeffrey A Law (law@cygnus.com)
24109 * pa.c (cint_ok_for_move): Use CONST_INT_OK_FOR_LETTER_P macros
24110 instead of duplicating code.
24112 Thu Aug 26 18:32:32 1999 Bernd Schmidt <bernds@cygnus.co.uk>
24114 * gcse.c (hash_scan_insn): Don't scan obvious no-ops.
24116 1999-08-26 09:42 -0700 Zack Weinberg <zack@bitmover.com>
24118 * tree.h: fancy_abort always takes three args.
24119 * resource.c: Move include of system.h before toplev.h.
24121 Thu Aug 26 09:46:16 1999 Nick Clifton <nickc@cygnus.com>
24123 * dwarf2out.c (mem_loc_descriptor): Accept LABEL_REFs as well
24126 1999-08-25 22:10 -0700 Zack Weinberg <zack@bitmover.com>
24128 * system.h: Don't redefine abort or trim_filename.
24129 * rtl.h: Define abort to fancy_abort (__FILE__, __LINE__, 0)
24130 or fancy_abort (__FILE__, __LINE__, __FUNCTION__) depending on
24131 whether or not __FUNCTION__ is available.
24132 * tree.h: Duplicate rtl.h's definition of abort, for files
24133 that don't include rtl.h. Delete all code to perform type
24134 checking with a compiler other than GCC.
24135 * varray.h: Delete all code to perform type checking with a
24136 compiler other than GCC. Make VARRAY_CHECK() always evaluate
24137 its arguments exactly once, using a statement expression.
24138 Adjust the VARRAY_<type> accessor macros to match.
24139 * toplev.h (fatal_insn, fatal_insn_not_found): Kill.
24140 (_fatal_insn, _fatal_insn_not_found): New fns, take info on
24141 caller's location. Define fatal_insn and fatal_insn_not_found
24142 as macros that use _fatal_insn and _fatal_insn_not_found.
24143 (fancy_abort, trim_filename): Kill prototypes.
24145 * rtl.c (trim_filename): Move here from toplev.c.
24146 (fancy_abort): New function.
24147 (DIR_SEPARATOR): Provide default definition.
24148 * tree.c (tree_check_failed, tree_class_check_failed): Go
24149 through fancy_abort.
24150 (tree_check, tree_class_check, cst_or_constructor_check,
24151 expr_check): Delete.
24152 * varray.c (varray_check_failed): New function.
24153 * toplev.c (fatal_insn, fatal_insn_not_found): Replace with
24154 _fatal_insn and _fatal_insn_not_found. Go through
24156 (trim_filename, fancy_abort): Delete.
24158 * builtins.c (expand_builtin_args_info): Report ICE with abort.
24159 * except.c (start_catch_handler): Report ICE with error/abort
24161 * final.c (output_operand_lossage): Likewise.
24162 * flow.c (verify_flow_info): Likewise.
24164 * gcc.c: Prototype fatal.
24165 * gengenrtl.c: Undef abort after including rtl.h not system.h.
24166 * genattr.c, genattrtab.c, genemit.c, genextract.c,
24167 genflags.c, genopinit.c, genoutput.c, genpeep.c, genrecog.c:
24168 Don't define fancy_abort.
24170 Wed Aug 25 17:56:59 1999 Richard Henderson <rth@cygnus.com>
24172 * optabs.c (emit_cmp_and_jump_insns): Be more thorough in
24175 Wed Aug 25 15:35:55 1999 Richard Henderson <rth@cygnus.com>
24177 * m88k.h (VERSION_INFO2): Kill.
24178 (VERSION_STRING): Kill.
24180 (VERSION_INFO1): Tidy.
24181 (TARGET_VERSION): Update.
24182 * m88k/dgux.h (VERSION_INFO2): Kill.
24183 (ASM_FIRST_LINE): Adjust for death of VERSION_STRING.
24184 * m88k/luna.h (VERSION_INFO1): Tidy.
24185 * m88k/sysv4.h (VERSION_INFO1): Likewise.
24186 * m88k.c (out_rcs_id, tm_rcs_id): Kill.
24187 (output_file_start): Adjust for death of VERSION_STRING.
24189 1999-08-25 13:51 -0700 Jim Meyering <meyering@ascend.com>
24191 * cpplib.c (detect_if_not_defined): New function.
24192 (do_if): Use it to detect potential once-only headers.
24194 Wed Aug 25 14:00:18 1999 Jason Merrill <jason@yorick.cygnus.com>
24196 * c-common.c (combine_strings): Always set TREE_CONSTANT.
24198 Wed Aug 25 15:27:22 1999 Gavin Romig-Koch <gavin@cygnus.com>
24200 * combine.c (nonzero_bits) : Allow single-ly set registers to be
24201 anywere in the function only if they are pseudos and set before
24202 being used (not live at the start of the function).
24203 (num_sign_bit_copies) : Same.
24204 (get_last_value_validate) : Same.
24205 (get_last_value) : Same.
24207 Wed Aug 25 11:13:29 1999 Richard Henderson <rth@cygnus.com>
24209 * loop.c (express_from): Try harder to unify (* c N) and (* c M)
24210 where N and M are constant and N is an integer multiple of M.
24212 Wed Aug 25 13:55:47 EDT 1999 Andrew MacLeod <amacleod@cygnus.com>
24214 * sbitmap.h (sbitmap_intersection_of_succs): Add prototype.
24215 (sbitmap_intersection_of_preds, sbitmap_union_of_succs,
24216 sbitmap_union_of_preds): Add prototypes.
24217 * sbitmap.c (sbitmap_intersection_of_succs): New function to compute
24218 the intersection of successors with the new flow graph structures.
24219 (sbitmap_intersection_of_preds): New function to compute the
24220 intersection of predecessors with the new flow graph structures.
24221 (sbitmap_union_of_succs): New function to compute the union of
24222 successors with the new flow graph structures.
24223 (sbitmap_union_of_preds): New function to compute the union of
24224 predecessors with the new flow graph structures.
24225 * gcse.c (compute_rdm, compute_available): Use new sbitmap routines.
24226 (expr_reaches_here_p): Use edge and basic_block structures instead
24227 of s_preds and s_succs.
24228 (compute_cprop_avinout): Use new sbitmap routines.
24229 (pre_expr_reaches_here_p): Use edge and basic_block structures instead
24230 of s_preds and s_succs.
24231 * flow.c (compute_flow_dominators): Compute dominators using
24232 edges and basic blocks instead of s_preds and s_succs.
24234 Wed Aug 25 13:41:47 EDT 1999 Andrew MacLeod <amacleod@cygnus.com>
24236 * lists.c (unused_insn_list, unused_expr_list): New file for
24237 maintaining various types of lists. New statics for maintaining a
24238 cache of available INSN_LIST and EXPR_LIST nodes.
24239 (free_list): Static function for freeing a list of INSN/EXPR nodes.
24240 (alloc_INSN_LIST): Function to get a free INSN_LIST node.
24241 (alloc_EXPR_LIST): Function to get a free EXPR_LIST node.
24242 (init_EXPR_INSN_LIST_cache): Initialize the cache lists.
24243 (free_EXPR_LIST_list): Free an entire list of EXPR_LIST nodes.
24244 (free_INSN_LIST_list): Free an entire list of INSN_LIST nodes.
24245 (free_EXPR_LIST_node): Free an individual EXPR_LIST node.
24246 (free_INSN_LIST_node): Free an individual INSN_LIST node.
24247 * haifa-sched.c (unused_insn_list, unused_expr_list): Moved to flow.c
24248 (free_list, alloc_INSN_LIST, alloc_EXPR_LIST): Moved to flow.c
24249 (remove_dependence, free_pending_lists): Use new global routines.
24250 (flush_pending_lists, sched_analyze_insn): Use new global routines.
24251 (sched_analyze, compute_block_backward_dependences): Use new routines.
24252 (sched_analyze_1, sched_analyze_2): Use new routines.
24253 (schedule_insns): Use new global routines.
24254 * rtl.h (init_EXPR_INSN_LIST_cache, free_EXPR_LIST_list): Add function
24256 (free_INSN_LIST_list, free_EXPR_LIST_node): Add prototypes.
24257 (free_INSN_LIST_node, alloc_INSN_LIST, alloc_EXPR_LIST): Add function
24259 * toplev.c (rest_of_compilation): Initialize node cache.
24260 * Makefile.in (OBJS): Add lists.o to list of object files.
24261 (lists.o): Add dependancies.
24263 Wed Aug 25 17:31:56 1999 Nick Clifton <nickc@cygnus.com>
24265 * config/v850/v850.md: Fix compile time warning messages.
24266 * config/v850/v850.c: Fix compile time warning messages.
24267 * config/v850/v850.h: Fix compile time warning messages.
24269 Wed Aug 25 09:44:43 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
24271 * genattr.c (gen_attr): Add prototype arguments for get_attr_*().
24272 Remove unused prototype for `init_lengths'.
24274 Wed Aug 25 09:32:31 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
24276 * calls.c (emit_call_1): Mark parameter `stack_size' with
24278 (expand_call): Initialize variable `insn'.
24279 (emit_library_call): Likewise for variable `high_to_save'.
24280 (emit_library_call_value): Likewise.
24281 (store_one_arg): Likewise for variables `lower_bound' and
24284 * combine.c (try_combine): Likewise for variables `i2_code_number'
24285 and `other_code_number'.
24286 (find_split_point): Likewise for variables `pos', `unsignedp' and
24288 (simplify_if_then_else): Likewise for variables `op' and `c1'.
24289 (simplify_and_const_int): Remove unused variable `width'.
24290 (merge_outer_ops): Likewise.
24292 * cse.c (simplify_binary_operation): Cast an INTVAL() to `unsigned
24293 HOST_WIDE_INT' when comparing against one.
24294 (simplify_relational_operation): Likewise.
24295 (cse_insn): Initialize variables `src_eqv_volatile',
24296 `src_eqv_in_memory', `src_eqv_in_struct', `src_eqv_hash' and `sets'.
24298 * final.c (init_final): Constify parameter `filename'.
24299 (final_start_function): Mark parameter `optimize' with
24301 (profile_function): Likewise for parameters `first' and `optimize'.
24302 (output_source_line): Likewise for parameter `file'.
24304 * integrate.c (subst_constants): Cast a value to `size_t' when
24305 comparing against one.
24306 (mark_stores): Initialize variable `mode'. Cast a value to
24307 `size_t' when comparing against one.
24309 * integrate.h (MAYBE_EXTEND_CONST_EQUIV_VARRAY): Likewise.
24311 * loop.c (move_movables): Initialize variable `first'.
24312 (strength_reduce): Likewise for variable `increment'.
24313 (check_dbra_loop): Likewise for variable `comparison_val'. Cast a
24314 value to `size_t' when comparing against one.
24315 (load_mems): Initialize variable `end_label'.
24317 * output.h (init_final): Constify parameter.
24319 * reload.c (decompose): Initialize variable `base'.
24321 * reload1.c (reload): Likewise for variable `is_scalar'.
24322 (spill_hard_reg): Mark parameter `dumpfile' with ATTRIBUTE_UNUSED.
24323 (choose_reload_regs): Initialize variable `mode'.
24324 (emit_reload_insns): Likewise for variable `store_insn'.
24325 (reload_cse_noop_set_p): Mark parameter `insn' with
24327 (reload_combine): Initialize variable `set'.
24329 * unroll.c (unroll_loop): Likewise for variable `local_label'.
24330 (copy_loop_body): Cast a value to `size_t' when comparing against
24333 * varasm.c (assemble_variable): Initialize variable `size_tree'.
24334 (const_hash): Add an `else abort()' in an if-else-if-else sequence.
24335 (remove_from_pending_weak_list): Mark parameter `name' with
24338 Wed Aug 25 11:18:39 1999 Bernd Schmidt <bernds@cygnus.co.uk>
24340 * toplev.c (rest_of_compilation): Use decl_printable_name when opening
24343 Wed Aug 25 10:57:12 1999 Nick Clifton <nickc@cygnus.com>
24345 * config/arm/telf.h (ASM_WEAKEN_LABEL): Define.
24346 (ASM_DECLARE_FUNCTION_NAME): Define.
24347 (TYPE_ASM_OP, SIZE_ASM_OP, TYPE_OPERAND_FORMAT,
24348 ASM_DECLARE_RESULT, ASM_DECLARE_OBJECT_NAME,
24349 ASM_FINISH_DECLARE_OBJECT, ASM_DECLARE_FUNCTION_SIZE): Define if
24350 not already defined.
24352 Wed Aug 25 01:36:11 1999 John David Anglin <dave@hiauly1.hia.nrc.ca>
24354 * calls.c (emit_call_1): Use call_pop/call_value_pop for all values
24355 of n_popped when call/call_value are not defined.
24357 Wed Aug 25 01:25:14 1999 Jeffrey A Law (law@cygnus.com)
24359 * tm.texi: GNU CC -> GCC conversion.
24360 (CC1_SPEC): Indicate it is used for all language front ends.
24362 Tue Aug 24 23:43:03 1999 Mark Mitchell <mark@codesourcery.com>
24364 * flow.c (delete_block): Spell NOTE_INSN_EH_REGION_BEG and
24365 NOTE_INSN_EH_REGION_END correctly.
24367 Tue Aug 24 23:26:44 1999 Michael Tiemann <tiemann@holodeck.cygnus.com>
24368 Jeff Law <law@cygnus.com>
24370 * loop.c (strength_reduce): Automatically unroll loops if the
24371 unrolled loop size is smaller than the rolled loop size.
24373 * loop.c (insert_bct): Replace use of sdiv_optab with asr_optab
24374 and delete comment that code should be rewritten.
24376 Tue Aug 24 22:56:35 1999 Jeffrey A Law (law@cygnus.com)
24378 * haifa-sched.c (find_rgns): Mark a block found during the DFS search
24381 * haifa-sched.c (get_visual_tbl_length): Fix off-by-one error.
24383 Tue Aug 24 22:41:06 1999 Mumit Khan <khan@xraylith.wisc.edu>
24385 * fixinc/mkfixinc.sh: Don't fix uwin headers.
24386 * i386/uwin.h (MD_STARTFILE_PREFIX): Define.
24387 (LINK_SPEC): Add -u _main when building executables.
24388 (ASM_DECLARE_FUNCTION): Update from Cygwin.
24389 (ASM_FILE_END): Use the default for ix86-pe.
24390 * i386/xm-uwin.h (HAVE_BCOPY): Undefine.
24392 Tue Aug 24 20:49:47 1999 Art Haas <ahaas@neosoft.com>
24394 * final.c (output_addr_const): Handle case where ASM_OPEN_PAREN
24395 and ASM_CLOSE_PAREN are empty strings.
24397 Wed Aug 25 12:46:22 1999 Fred Fish <fnf@cygnus.com>
24398 Geoffrey Keating <geoffk@cygnus.com>
24400 * Makefile.in (PREPROCESSOR_DEFINES): New macro.
24401 (protoize.o): Use PREPROCESSOR_DEFINES and DRIVER_DEFINES.
24402 (unprotoize.o): Ditto.
24403 (test-protoize-simple): Don't define STD_PROTO_DIR.
24404 * protoize.c: Use PARAMS rather than PROTO. Minor whitespace
24405 changes to make 'test-protoize-simple' pass.
24406 (STD_PROTO_DIR): Remove define.
24407 (STANDARD_EXEC_PREFIX): Supply default define.
24408 (standard_exec_prefix): New variable, init to STANDARD_EXEC_PREFIX.
24409 (target_machine): New variable, init to DEFAULT_TARGET_MACHINE.
24410 (target_version): New variable, init to DEFAULT_TARGET_VERSION.
24411 (GET_ENV_PATH_LIST): New macro.
24412 (default_syscalls_dir): No longer initialized to STD_PROTO_DIR.
24413 (do_processing): Initialize default_syscalls_dir using new
24414 macros. Use it to initialize syscalls_absolute_filename.
24416 Tue Aug 24 16:58:15 1999 Richard Henderson <rth@cygnus.com>
24418 * jump.c (jump_optimize_1): Do cmov opt on any single-set; force
24419 B into a register before emit_conditional_move.
24421 Tue Aug 24 15:37:03 1999 Richard Henderson <rth@cygnus.com>
24423 * fold-const.c (fold): Reassociate (+ (+ (* a b) c) (* d e))
24424 as (+ (+ (* a b) (* d e)) c). Factor a common power-of-two
24425 multiplicand out of (+ (* a b) (* c d)).
24427 Tue Aug 24 11:46:10 1999 Bob Manson <manson@cygnus.com>
24428 Richard Henderson <rth@cygnus.com>
24430 * haifa-sched.c (split_hard_reg_notes): Move to flow.c
24431 (new_insn_dead_notes): Likewise.
24432 (update_n_sets): Likewise.
24433 (update_flow_info): Move to flow.c, renamed to update_life_info;
24434 extend to handle multiple source insns.
24435 * flow.c: Include resource.h
24436 (unlink_insn_chain): New.
24437 (split_hard_reg_notes): New.
24438 (maybe_add_dead_note): New.
24439 (maybe_add_dead_note_use): New.
24440 (find_insn_with_note): New.
24441 (new_insn_dead_notes): New.
24442 (update_n_sets): New.
24443 (sets_reg_or_subreg_1, sets_reg_or_subreg): New.
24444 (maybe_remove_dead_notes): New.
24445 (update_life_info): New.
24446 (prepend_reg_notes): New.
24447 (replace_insns): New.
24448 * output.h (update_life_info): Declare.
24449 * recog.c (split_block_insns): Use update_life_info.
24450 * resource.c (find_free_register): Use reg_alloc_order, don't use
24451 fixed regs, make sure the mode is supported, don't use new regs.
24453 * rtl.h (replace_insns): Declare.
24455 Tue Aug 24 13:48:39 1999 Nathan Sidwell <nathan@acm.org>
24457 * expr.c (expand_expr): Cope with COND_EXPRs with one
24458 non-returning branch.
24460 Mon Aug 23 22:28:16 1999 Mark Mitchell <mark@codesourcery.com>
24462 * expr.c (store_expr): Always pass down the target, even when not
24465 1999-08-24 Nick Clifton <nickc@cygnus.com>
24467 * configure.in: Define target_cpu_default for v850 targets.
24468 * configure: Regenerate
24470 * config/v850/v850.h (TARGET_CPU_generic): Define.
24471 (GO_IF_LEGITIMATE_ADDRESS): Insist that SImode and larger constant
24472 addresses are 4 byte aligned.
24474 * config/v850/v850.c (print_operand): Cope with 'R' format DFmode
24477 Tue Aug 24 09:32:07 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
24479 * genattr.c (function_unit_desc): Constify a char*. Add prototype.
24480 (main): Add prototypes.
24482 * genattrtab.c (substitute_address, write_const_num_delay_slots,
24483 attr_eq, attr_numeral, attr_equal_p, attr_copy_rtx): Prototype.
24484 (write_attr_get): Emit prototypes along with function definition.
24485 (write_eligible_delay): Mark a parameter with ATTRIBUTE_UNUSED.
24486 (write_complex_function): Emit static prototype along with
24487 function definition.
24489 * genemit.c (gen_split): Emit prototypes along with function
24492 * genoutput.c (output_epilogue): Add prototype to `insn_outfun'.
24493 Likewise for predicates and `insn_operand_predicate'.
24494 (process_template): Emit static prototype along with function
24497 * genrecog.c (make_insn_sequence): Constify a char*. Add
24498 prototypes for get_split_*().
24499 (write_subroutine): Emit prototypes along with function
24502 Tue Aug 24 12:35:20 1999 Bernd Schmidt <bernds@cygnus.co.uk>
24504 * gcse.c (find_avail_set): Follow chains of register-register copies.
24505 Use oprs_not_set_p to guarantee that the returned value can be
24507 (cprop_insn): Don't verify the return value of find_avail_set with
24510 * gcse.c (cprop_jump): New function, broken out of cprop_insn.
24511 (cprop_cc0_jump): New function.
24512 (cprop_insn): Break out new function cprop_jump and use it.
24513 Also use cprop_cc0_jump for machines with CC0.
24514 (cprop): Don't crash if cprop_insn turned the insn into a NOTE.
24516 * tree.h (current_function_calls_setjmp,
24517 current_function_calls_longjmp): Delete declarations.
24518 * dsp16xx.c: Include "function.h".
24519 * elxsi.c: Likewise.
24520 * gmicro.c: Likewise.
24521 * h8300.c: Likewise.
24522 * i370.c: Likewise.
24523 * m32r.c: Likewise.
24524 * mn10200.c: Likewise.
24525 * mn10300.c: Likewise.
24526 * ns32k.c: Likewise.
24527 * spur.c: Likewise.
24528 * v850.c: Likewise.
24530 * rtl.h (rtx_equal_function_value_matters): Declare.
24531 * toplev.c (rtx_equal_function_value_matters): Don't declare.
24533 * function.c: Likewise.
24534 * emit-rtl.c: Likewise.
24536 Tue Aug 24 02:47:44 1999 Jeffrey A Law (law@cygnus.com)
24538 * expr.c (convert_move): Fix arguments to TRULY_NOOP_TRUNCATION
24541 1999-08-24 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
24543 * jump.c (delete_barrier_successors) Match (set (pc) (pc)) insn
24546 Mon Aug 23 23:35:52 1999 Matthias Klose <doko@cs.tu-berlin.de>
24548 * cpp.texi: Add a node documenting macro varargs (copied
24551 1999-08-23 22:23 -0700 Zack Weinberg <zack@bitmover.com>
24553 * cppspec.c: Put a null pointer at the end of the new argv.
24555 Mon Aug 23 21:23:24 1999 Jeffrey A Law (law@cygnus.com)
24557 * configure.in: Remove code to select/de-select the haifa
24558 scheduler. Every scheduled port gets haifa now.
24559 * configure: Rebuilt.
24560 * flags.h, genattrtab.c, rtl.h, toplev.c: Remove HAIFA ifdefs.
24562 * Makefile.in: Corresponding changes.
24564 Mon Aug 23 16:04:13 1999 Bernd Schmidt <bernds@cygnus.co.uk>
24566 * optabs.c (prepare_cmp_insn): Turn COMPARISON arg into a pointer.
24567 All callers changed.
24568 (prepare_float_lib_cmp): Likewise.
24569 Use FLOAT_LIB_COMPARE_RETURNS_BOOL.
24570 * expr.h (emit_float_lib_cmp): Delete declaration.
24571 * tm.texi (FLOAT_LIB_COMPARE_RETURNS_BOOL): Document.
24572 * sparc.h (FLOAT_LIB_COMPARE_RETURNS_BOOL): Define.
24573 * sparc.md (bcc and scc patterns): Don't handle TFmode comparisons
24575 (cmptf): Now conditional on TARGET_HARD_QUAD.
24577 Fri Aug 20 17:52:27 1999 Jim Wilson <wilson@cygnus.com>
24579 * resource.c (mark_target_live_regs): Use
24580 PIC_OFFSET_TABLE_REG_CALL_CLOBBERED.
24582 Fri Aug 20 19:07:55 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
24584 * rtl.c (rtx_class, note_insn_name, reg_note_name): Constify.
24586 * rtl.h (rtx_class, reg_note_name, note_insn_name): Likewise.
24588 * genopinit.c (gen_insn): Use accessor macro, not `rtx_class'.
24590 Fri Aug 20 18:53:43 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
24592 * rtl.h (rtx_format): Constify a char*.
24594 * rtl.c (rtx_format): Likewise.
24595 (copy_rtx, copy_most_rtx, read_rtx): Likewise.
24596 (init_rtl): Use accessor macro, not `rtx_format'.
24598 * alias.c (rtx_equal_for_memref_p, find_symbolic_term): Constify a
24601 * caller-save.c (mark_referenced_regs): Likewise.
24603 * combine.c (subst, make_compound_operation, known_cond,
24604 gen_rtx_combine, update_table_tick, get_last_value_validate,
24605 use_crosses_set_p, mark_used_regs_combine, move_deaths): Likewise.
24607 * cse.c (rtx_cost, mention_regs, canon_hash, exp_equiv_p,
24608 refers_to_p, canon_reg, fold_rtx, cse_process_notes,
24609 count_reg_usage): Likewise.
24611 * emit-rtl.c (gen_rtx, copy_rtx_if_shared, reset_used_flags):
24614 * final.c (leaf_renumber_regs_insn): Likewise.
24616 * flow.c (mark_used_regs, find_use_as_address, dump_flow_info,
24617 dump_edge_info, count_reg_references): Likewise.
24619 * function.c (fixup_var_refs_1, walk_fixup_memory_subreg,
24620 fixup_stack_1, purge_addressof_1, instantiate_virtual_regs_1):
24623 * gcse.c (oprs_unchanged_p, hash_expr_1, expr_equiv_p,
24624 oprs_not_set_p, expr_killed_p, compute_transp, find_used_regs,
24625 add_label_notes): Likewise.
24627 * genattrtab.c (attr_rtx, attr_copy_rtx, encode_units_mask,
24628 clear_struct_flag, count_sub_rtxs, count_alternatives,
24629 compares_alternatives_p, contained_in_p, walk_attr_value,
24630 write_expr_attr_cache): Likewise.
24632 * genconfig.c (walk_insn_part): Likewise.
24634 * genemit.c (max_operand_1, gen_exp): Likewise.
24636 * genextract.c (walk_rtx): Likewise.
24638 * genflags.c (num_operands): Likewise.
24640 * genoutput.c (scan_operands): Likewise.
24642 * genpeep.c (match_rtx): Likewise.
24644 * genrecog.c (add_to_sequence): Likewise.
24646 * haifa-sched.c (may_trap_exp, sched_analyze_2, attach_deaths):
24649 * integrate.c (save_constants, copy_for_inline,
24650 copy_rtx_and_substitute, subst_constants, restore_constants):
24653 * jump.c (mark_jump_label, invert_exp, redirect_exp,
24654 rtx_renumbered_equal_p, rtx_equal_for_thread_p): Likewise.
24656 * local-alloc.c (contains_replace_regs, memref_referenced_p):
24659 * loop.c (record_excess_regs, rtx_equal_for_loop_p,
24660 add_label_notes, replace_call_address, count_nonfixed_reads,
24661 invariant_p, find_single_use_in_loop, find_mem_givs,
24662 find_life_end, maybe_eliminate_biv_1, update_reg_last_use):
24665 * print-rtl.c (reg_names, print_rtx): Likewise.
24667 * recog.c (validate_replace_rtx_1, find_single_use_1): Likewise.
24669 * reg-stack.c (stack_regs_mentioned_p, record_label_references,
24670 record_reg_life_pat, swap_rtx_condition, goto_block_pat,
24671 print_blocks): Likewise.
24673 * regclass.c (fix_register, record_address_regs,
24674 reg_scan_mark_refs): Likewise.
24676 * regmove.c (stable_but_for_p): Likewise.
24678 * reload.c (loc_mentioned_in_p, operands_match_p,
24679 find_reloads_toplevsubst_reg_equivs, find_reloads_address_1,
24680 copy_replacements, refers_to_regno_for_reload_p,
24681 refers_to_mem_for_reload_p, find_inc_amount, regno_clobbered_p,
24682 reload_when_needed_name, reg_class_names, debug_reload_to_stream):
24685 * reload1.c (eliminate_regs, scan_paradoxical_subregs,
24686 delete_address_reloads_1, count_occurrences,
24687 reload_cse_mem_conflict_p, reload_combine_note_use,
24688 add_auto_inc_notes): Likewise.
24690 * resource.c (mark_referenced_resources, mark_set_resources):
24693 * rtlanal.c (rtx_unstable_p, rtx_varies_p, rtx_addr_varies_p,
24694 reg_mentioned_p, regs_set_between_p, modified_between_p,
24695 modified_in_p, refers_to_regno_p, reg_overlap_mentioned_p,
24696 rtx_equal_p, volatile_insn_p, volatile_refs_p, side_effects_p,
24697 may_trap_p, inequality_comparisons_p, replace_rtx, replace_regs,
24698 jmp_uses_reg_or_mem, for_each_rtx, regno_use_in): Likewise.
24700 * sched.c (sched_analyze_2, attach_deaths): Likewise.
24702 * stupid.c (stupid_mark_refs): Likewise.
24704 * unroll.c (remap_split_bivs): Likewise.
24706 * varasm.c (mark_constants): Likewise.
24708 * a29k/a29k.c (uses_local_reg_p): Likewise.
24710 * alpha/alpha.c (summarize_insn): Likewise.
24712 * arm/arm.c (symbol_mentioned_p, label_mentioned_p,
24713 eliminate_lr2ip): Likewise.
24715 * arm/thumb.c (symbol_mentioned_p, label_mentioned_p): Likewise.
24717 * i386/i386.c (symbolic_reference_mentioned_p, copy_all_rtx,
24718 reg_mentioned_in_mem): Likewise.
24720 * ns32k/ns32k.c (global_symbolic_reference_mentioned_p,
24721 symbolic_reference_mentioned_p): Likewise.
24723 * romp/romp.c (unsigned_comparisons_p, hash_rtx): Likewise.
24725 * sh/sh.c (regs_used, mark_use): Likewise.
24727 * vax/vax.c (vax_rtx_cost): Likewise.
24729 Fri Aug 20 18:38:43 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
24731 * machmode.h (mode_name): Constify a char*.
24733 * rtl.c (mode_name): Likewise.
24735 * genopinit.c (gen_insn): Use accessor macro, not `mode_name'.
24737 * optabs.c (init_libfuncs): Constify a char*.
24739 * print-tree.c (mode_name): Remove redundant declaration.
24740 (print_node): Use accessor macro, not `mode_name'.
24742 * reload1.c (dump_needs): Constify a char*. Use accessor macro,
24744 (new_spill_reg): Constify a char*.
24746 * tree.c (mode_name): Remove redundant declaration.
24748 Fri Aug 20 18:31:26 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
24750 * rtl.c (rtx_name): Constify a char*.
24752 * rtl.h (rtx_name, fix_sched_param): Likewise.
24754 * gmicro/gmicro.c (rtx_name): Remove redundant declaration.
24755 (mypr): Use accessor macro, not `rtx_name'.
24757 * genemit.c (print_code): Constify a char*.
24759 * genopinit.c (gen_insn): Use accessor macro, not `rtx_name'.
24761 * genpeep.c (print_code): Constify a char*.
24763 * genrecog.c (print_code): Likewise.
24765 * graph.c (start_fct, start_bb, node_data, draw_edge, end_fct,
24766 end_bb): Add static prototype.
24767 (draw_edge): Constify a char*.
24768 (end_bb): Remove unused parameter.
24770 * haifa-sched.c (fix_sched_param, safe_concat, print_exp
24771 print_block_visualization): Constify a char*.
24773 Fri Aug 20 15:02:10 1999 Mark Mitchell <mark@codesourcery.com>
24775 * c-common.c (c_get_alias_set): Update comment.
24777 1999-08-20 Andreas Jaeger <aj@arthur.rhein-neckar.de>
24779 * linux.h (LIB_SPEC): Added.
24781 Fri Aug 20 22:32:17 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
24783 * config/c4x/c4x.h (STARTFILE_SPEC): Don't def.
24785 1999-08-19 18:43 -0700 Zack Weinberg <zack@bitmover.com>
24787 * tree.c (expr_check): Fix typo in last change.
24789 1999-08-19 14:44 -0700 Zack Weinberg <zack@bitmover.com>
24791 * rtl.def (NOTE): Change format to "iuu0n".
24792 (ADDR_DIFF_VEC): Change format to "eEee0".
24793 (ADDRESSOF): Change format to "eit".
24795 * rtl.h (rtvec): Make "elem" an array of rtx, not rtunion.
24796 (RTVEC_ELT): Change to match.
24797 (XVECEXP): Use XVEC and RTVEC_ELT.
24798 (INSN_UID, INSN_CODE, CODE_LABEL_NUMBER, NOTE_LINE_NUMBER,
24799 ADDRESSOF_REGNO, REGNO, SUBREG_WORD): Use XINT.
24800 (PREV_INSN, NEXT_INSN, PATTERN, REG_NOTES,
24801 CALL_INSN_FUNCTION_USAGE, SUBREG_REG, SET_SRC, SET_DEST,
24802 TRAP_CONDITION, TRAP_CODE): Use XEXP.
24803 (INTVAL): Use XWINT.
24804 (ADDRESSOF_DECL): Use XTREE.
24805 (SET_ADDRESSOF_DECL): Delete.
24806 (NOTE_DECL_NAME, NOTE_DECL_CODE, NOTE_DECL_RTL,
24807 NOTE_DECL_IDENTIFIER, NOTE_DECL_TYPE): Kill. These have been
24808 ifdefed out since 2.6 at least.
24809 (gen_rtvec_vv): Delete prototype.
24811 * rtl.h (rtvec_alloc): rt->elem is now an array of rtx,
24813 (copy_most_rtx): Handle 't' format letter.
24814 * emit-rtl.c (gen_rtvec_v): rt_val->elem is an array of rtx.
24815 (gen_rtvec_vv): Delete function. All callers changed to use
24816 gen_rtvec_v instead.
24817 * print-rtl.c (print_rtx): Move special casing of NOTEs to
24818 the '0' format letter.
24820 * function.c (gen_mem_addressof): Don't use
24821 SET_ADDRESSOF_DECL; provide `decl' to gen_rtx_ADDRESSOF
24823 * integrate.c (copy_rtx_and_substitute): Likewise.
24824 Copy 't' slots with XTREE.
24825 (subst_constants): Treat 't' slots like '[swi]' slots.
24826 * cse.c (canon_hash, exp_equiv_p): Treat 't' slots like '0' slots.
24827 * jump.c (rtx_equal_for_thread_p): Likewise.
24828 * rtlanal.c (rtx_equal_p): Likewise.
24829 * stmt.c (expand_end_case): gen_rtx_ADDR_DIFF_VEC now takes
24830 only four arguments.
24831 * gengenrtl.c (type_from_format): Provide correct types for
24835 * tree.h [ENABLE_CHECKING] (TREE_CHECK, TREE_CLASS_CHECK):
24836 If a recent gcc is in use (always in stage2 and beyond), use
24837 statement expressions, so we don't make a function call unless
24838 the check fails. Evaluate arguments exactly once.
24839 (CHAIN_CHECK, DO_CHECK, DO_CHECK1, TREE_CHECK1,
24840 TREE_CLASS_CHECK1, TYPE_CHECK1, DECL_CHECK1, CST_CHECK1):
24842 (CST_OR_CONSTRUCTOR_CHECK, EXPR_CHECK): Redefine such that
24843 they evaluate their arguments exactly once, irrespective of
24844 the compiler in use.
24846 * tree.c [ENABLE_CHECKING]: Define whichever set of functions
24847 is used by the currently-enabled check macros. This is:
24848 (tree_check_failed, tree_class_check_failed): For gcc.
24849 (tree_check, tree_class_check, cst_or_constructor_check,
24850 expr_check): For other compilers.
24852 * gencheck.c: Do not define any *_CHECK1 macros.
24854 Thu Aug 19 14:42:38 1999 Mike Stump <mrs@wrs.com>
24855 Mark Mitchell <mark@codesourcery.com>
24857 * c-common.c (c_get_alias_set): Fix support for poitners and
24860 Thu Aug 19 11:51:22 EDT 1999 John Wehle (john@feith.com)
24862 * alias.c: Include tree.h.
24863 (nonlocal_reference_p, mark_constant_function): New functions.
24864 * flow.c (life_analysis): Call mark_constant_function.
24865 * rtl.h (mark_constant_function): Declare it.
24867 Thu Aug 19 15:02:01 1999 Nick Clifton <nickc@cygnus.com>
24869 * config/rs6000/rs6000.c (rs6000_override_options): Fix test for
24870 unrecognisable switches.
24872 Wed Aug 18 23:31:57 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
24874 * loop.c (recombine_givs): Set ix field after sorting.
24875 (recombine_givs): Remove bogus index / giv lockstep looping.
24877 Wed Aug 18 18:20:40 1999 Bernd Schmidt <bernds@cygnus.co.uk>
24879 * expmed.c (emit_store_flag): If UNSIGNEDP, call unsigned_condition
24881 (emit_store_flag_force): Use do_compare_rtx_and_jump.
24882 (do_cmp_and_jump): Formatting fixes.
24883 * expr.c (do_compare_and_jump): Renamed from compare; changed to call
24884 do_compare_rtx_and_jump instead of compare_from_rtx.
24885 (do_compare_rtx_and_jump): New function; mostly copied from
24887 (do_jump_for_compare): Delete.
24888 (expand_expr): Use do_compare_rtx_and_jump when handling MAX_EXPR and
24890 (do_jump): Use do_compare_and_jump or do_compare_rtx_and_jump instead
24891 of compare/do_jump_for_compare pairs.
24892 (do_jump_by_parts_greater): Use do_jump_by_parts_greater_rtx.
24893 (do_jump_by_parts_greater_rtx): Use do_compare_rtx_and_jump instead of
24894 compare_from_rtx/do_jump_for_compare pairs.
24895 (do_jump_by_parts_equality): Likewise.
24896 (do_jump_by_parts_equality_rtx): Likewise.
24897 * expr.h (do_compare_rtx_and_jump): Declare.
24898 * optabs.c (prepare_cmp_insn): New function, contains most of the code
24899 that used to be in emit_cmp_insn.
24900 (cmp_available_p): New function.
24901 (prepare_operand): New function.
24902 (emit_cmp_and_jump_insn_1): New function, contains some code that used
24903 to be in emit_cmp_insn.
24904 (prepare_float_lib_cmp): Renamed from emit_float_lib_cmp; change some
24905 parameters to be pointers; don't emit final compare but modify some of
24906 the values pointed to by the args so the caller can perform the
24907 correct comparison.
24908 (expand_binop): Call emit_store_flag_force with signed forms of
24910 (expand_abs): Use do_compare_rtx_and_jump instead of compare_from_rtx/
24911 emit_jump_insn pair.
24912 (emit_cmp_and_jump_insn): Use prepare_cmp_insn and
24913 emit_cmp_and_jump_insn_1. Call emit_queue.
24914 (emit_cmp_insn): Just call emit_cmp_and_jump_insns with zero for LABEL
24916 * flow.c (tidy_fallthru_edge): If HAVE_cc0, verify insn before a
24917 jump sets cc0 before deleting it.
24918 * integrate.c (expand_inline_function): Likewise.
24919 * unroll.c (unroll_loop): Similar changes in several places.
24920 (copy_loop_body): If HAVE_cc0, verify insn before a jump sets cc0
24921 before deleting it.
24923 Wed Aug 18 06:37:44 1999 Bernd Schmidt <bernds@cygnus.co.uk>
24925 * Makefile.in (insn-recog.o): Update dependencies.
24926 * genrecog.c (main): Make generated file include "function.h".
24928 Sat Aug 14 00:54:57 1999 Geoffrey Keating <geoffk@cygnus.com>
24930 * cse.c (cse_insn): Call never_reached_warning when a jump is
24931 changed to be unconditional.
24932 * flags.h: Declare warn_notreached.
24933 * flow.c (delete_block): Call never_reached_warning when
24934 a block is deleted.
24935 * jump.c (delete_barrier_successors): Call never_reached_warning
24936 when we delete everything after a BARRIER.
24937 (never_reached_warning): New function.
24938 * rtl.h: Declare never_reached_warning.
24939 * toplev.c (warn_notreached): New variable.
24940 (lang_independent_options): Set warn_notreached
24941 when -Wunreachable-code.
24942 (compile_file): We need line numbers for -Wunreachable-code.
24944 Tue Aug 17 22:06:11 1999 Jan Hubicka <hubicka@freesoft.cz>
24946 * haifa-sched.c (insn_unit): Fix typo on out of range test.
24947 * sched.c (insn_unit): Likewise.
24949 Tue Aug 17 21:57:23 1999 Andreas Schwab <schwab@suse.de>
24951 * combine.c (distribute_notes): Handle REG_EH_RETHROW.
24953 Tue Aug 17 17:39:43 EDT 1999 Andrew MacLeod <amacleod@cygnus.com>
24955 * flow.c (create_edge_list): Use xmalloc, not malloc.
24957 Tue Aug 17 01:40:54 1999 Loren Rittle <ljrittle@acm.org>
24959 * fixinc/inclhack.def (no_double_slash): Do not trash single-line
24960 C-style comments. Do not lose the character before double slash.
24962 Mon Aug 16 18:08:22 EDT 1999 Andrew MacLeod <amacleod@cygnus.com>
24964 * basic-block.h (struct edge_list): Stucture to maintain a vector
24966 (EDGE_INDEX_NO_EDGE, EDGE_INDEX, INDEX_EDGE_PRED_BB, INDEX_EDGE_SUCC_BB,
24967 INDEX_EDGE, NUM_EDGES): New Macros for accessing edge list.
24968 (create_edge_list, free_edge-List, print_edge_list, verify_edge_list):
24969 New function prototypes.
24970 * flow.c (create_edge_list): Function to create an edge list.
24971 (free_edge_list): Discards memory used by an edge list.
24972 (print_edge_list): Debug output showing an edge list.
24973 (verify_edge_list): Internal consistency check for an edge list.
24974 (find_edge_index): Function to find an edge index for a pred and succ.
24976 Mon Aug 16 11:56:36 1999 Mark Mitchell <mark@codesourcery.com>
24978 * tree.c (type_hash_add): Use permalloc to allocate nodes in the
24981 Mon Aug 16 17:04:15 1999 Jorn Rennecke <amylaar@cygnus.co.uk>
24983 * mips.h (CLASS_CANNOT_CHANGE_SIZE): Define.
24985 Fri Aug 13 15:20:43 1999 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
24987 * config/i386/freebsd.h (HANDLE_PRAGMA_PACK_PUSH_POP): Define.
24989 Fri Aug 13 10:21:28 1999 Nick Clifton <nickc@cygnus.com>
24991 * toplev.c (rest_of_compilation): Allow machine dependent
24992 reorganisation pass to place information into the RTL dump
24993 file if it so wishes.
24995 Sun Aug 15 12:41:21 1999 Jim Wilson <wilson@cygnus.com>
24997 * explow.c (hard_function_value): Use VOIDmode instead of
24999 * stmt.c (expand_return): Likewise.
25000 * stor-layout.c (get_best_mode): Likewise.
25002 * genemit.c (gen_expand): If next is MATCH_PAR_DUP, then output
25003 emit call instead of emit_insn call.
25005 Sat Aug 14 15:04:06 1999 Mumit Khan <khan@xraylith.wisc.edu>
25007 * configure.in: Handle --disable/enable-win32-registry.
25008 * install.texi: Document --disable/enable-win32-registry.
25009 * acconfig.h (ENABLE_WIN32_REGISTRY): New macro.
25010 (WIN32_REGISTRY_KEY): New macro.
25011 * prefix.c: Use to enable/disable win32-specific code.
25012 (lookup_key): Use versioned key.
25013 * configure: Regenerate.
25014 * config.in: Likewise.
25016 Fri Aug 13 17:41:55 1999 Jason Merrill <jason@yorick.cygnus.com>
25018 * cpplib.c (read_line_number): New fn, split out of...
25021 Fri Aug 13 14:18:27 1999 Gavin Romig-Koch <gavin@cygnus.com>
25023 tree.c (lang_unsave_expr_now) : New.
25024 (unsave_expr_now): Call lang_unsave_expr_now.
25025 tree.h (lang_unsave_expr_now) : New.
25027 Fri Aug 13 00:49:46 1999 Jason Merrill <jason@yorick.cygnus.com>
25029 * toplev.c (flag_new_exceptions): On by default.
25031 1999-08-13 Michael Meissner <meissner@cygnus.com>
25033 * Makefile.in (GCC_FOR_TARGET): Move -B./ after the tooldir -B.
25035 Fri Aug 13 01:29:57 1999 Alexandre Oliva <oliva@dcc.unicamp.br>
25037 * dwarfout.c (fundamental_type_code): Return FT_boolean for
25038 INTEGER_TYPE with precision==1, it's __java_boolean.
25040 Thu Aug 12 23:51:04 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
25042 * global.c (prune_preferences): Move some invariants out of the
25045 Thu Aug 12 15:30:29 1999 Jesse Perry (jap@unx.dec.com)
25047 * configure.in (alpha*-dec-osf*): Add osf5.
25049 Sun Aug 1 22:24:03 1999 Philip Blundell <philb@gnu.org>
25051 * configure.in: Rework handling of ARM GNU/Linux slightly.
25052 (arm*-*-linux-gnuoldld): New target.
25053 * configure: Regenerate.
25054 * install.texi (Configurations): Add arm-*-linux-gnu{oldld} and
25055 arm-*-elf. Mention that arm-*-linux-gnuaout is obsolete.
25056 * config/arm/linux-oldld.h: New file.
25057 * config/arm/linux-elf26.h: Don't include linux-elf.h.
25058 (TARGET_DEFAULT, SUBTARGET_LINK_SPEC, SUBTARGET_EXTRA_ASM_SPEC):
25060 * config/arm/linux-elf.h (ASM_SPEC): Define.
25061 (TARGET_DEFAULT, SUBTARGET_EXTRA_LINK_SPEC,
25062 SUBTARGET_EXTRA_ASM_SPEC, CPP_APCS_PC_DEFAULT): Add definitions
25063 for 26-bit APCS and old linker.
25064 (CPP_PREDEFINES): Define `__arm__'; don't define `arm' or
25066 (FP_DEFAULT): Define to FP_SOFT3 for all machines.
25067 * config/arm/linux-aout.h (CPP_PREDEFINES): Define `__arm__';
25068 don't define `arm' or `arm_elf'.
25069 * config/arm/t-linux (EXTRA_MULTILIB_PARTS, MULTILIB_OPTIONS,
25070 MULTILIB_DIRNAMES): Define. Fix typo in comment.
25072 Thu Aug 12 10:14:47 1999 Andreas Schwab <schwab@suse.de>
25074 * rtl.texi: Fix typo.
25076 Wed Aug 11 23:50:57 1999 Jason Merrill <jason@yorick.cygnus.com>
25078 * invoke.texi (C++ Dialect Options): Add -fms-extensions.
25080 Wed Aug 11 12:59:37 1999 Mark Mitchell <mark@codesourcery.com>
25082 * extend.texi (C++ Signatures): Remove node.
25083 * invoke.texi: Remove discussion of -fhandle-signatures,
25084 signature, sigof, __signature__, and __sigof__.
25086 Wed Aug 11 03:38:25 1999 Jeffrey A Law (law@cygnus.com)
25088 * Makefile.in (JAVAGC): Removed.
25090 Wed Aug 11 02:13:26 1999 Mumit Khan <khan@xraylith.wisc.edu>
25092 * i386/cygwin.h (ASM_OUTPUT_ALIGNED_BSS): Define.
25094 1999-08-11 Mark Elbrecht <snowball3@bigfoot.com>
25096 * i386/djgpp.h (ASM_OUTPUT_ALIGNED_BSS): Define.
25098 1999-08-11 Richard Earnshaw (rearnsha@arm.com)
25100 * emit-rtl.c (mark_reg_pointer): Don't increase the alignment of
25101 a register that is already known to be a pointer.
25103 1999-08-11 Bruce Korb <ddsinc09@ix.netcom.com>
25105 * fixinc/inclhack.tpl: Only install assert.h conditionally.
25106 * fixinc/inclhack.sh: Regenerated.
25107 * fixinc/fixincl.sh: Regenerated.
25109 Wed Aug 11 00:34:22 1999 Joe Buck <jbuck@synopsys.com>
25111 * invoke.texi: s/GNU CC/GCC/ for consistency with gcc.texi.
25112 Fix documentation of -ansi flag to describe its C++ behavior.
25113 Remove bogus reference to GCC 2.9.
25115 Tue Aug 10 17:19:02 1999 Jim Wilson <wilson@cygnus.com>
25117 * config/sh/sh.c (machine_dependent_reorg): Only call PUT_MODE on
25118 note if it is non-NULL.
25120 Tue Aug 10 10:47:42 EDT 1999 Andrew MacLeod <amacleod@cygnus.com>
25122 * except.h (eh_nesting_info): Add new structure defintion.
25123 (init_eh_nesting_info, free_eh_nesting_info): Add function prototypes.
25124 (reachable_handlers, update_rethrow_references): Add function
25126 * rtl.h (struct rtvec_def): Update comments. REG_EH_RETHROW takes
25127 a rethrow symbol instead of an integer exception region number.
25128 * flow.c (Make_edges): Use new exception nesting routines to determine
25129 which handlers are reachable from a CALL or asynchronous insn.
25130 Dont add an edge for calls with a REG_EH_REGION of -1 to non-local
25132 (delete_eh_regions): Update rethrow labels, and don't delete
25133 regions which are the target of a rethrow.
25134 * except.c (struct func_eh_entry): Add rethrow_ref field, now we can
25135 avoid overloading the SYMBOL_REF_USED flag.
25136 (rethrow_symbol_map): Use new rethrow_ref field.
25137 (rethrow_used): Use new rethrow_ref field.
25138 (expand_rethrow): REG_EH_RETHROW now has a SYMBOL_REF instead
25139 of an integer. Fix formatting.
25140 (output_exception_table_entry): Use new rethrow_ref field.
25141 (can_throw): Check for EH_REGION_NOTE before deciding
25142 whether a CALL can throw or not.
25143 (scan_region): Call rethrow_used() instead of accessing data structure.
25144 (update_rethrow_references): New function to make sure only regions
25145 which are still targets of a rethrow are flagged as such.
25146 (process_nestinfo): New static function to initialize a handler
25147 list for a specific region.
25148 (init_eh_nesting_info): New function to allocate and initialize
25149 the list of all EH handlers reachable from all regions.
25150 (reachable_handlers): New function to retrieve the list of handlers
25151 reachable from a specific region and insn.
25152 (free_eh_nesting_info): New function to dispose of a list of
25153 reachable handlers.
25155 Tue Aug 10 10:39:31 EDT 1999 Andrew MacLeod <amacleod@cygnus.com>
25157 * flow.c (split_edge): Set JUMP_LABEL field.
25158 (commit_one_edge_insertion): Set head correctly for insert_before.
25159 When inserting insns, update insn block numbers if allocated.
25161 Tue Aug 10 09:26:07 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
25163 * dwarf2out.c (dwarf2out_frame_debug_expr, add_incomplete_type,
25164 retry_incomplete_types): Add static prototype.
25165 (stripattributes, dwarf_cfi_name, ASM_OUTPUT_DWARF_STRING,
25166 dwarf_tag_name, dwarf_attr_name, dwarf_form_name,
25167 dwarf_stack_op_name, dwarf_type_encoding_name, add_AT_string,
25168 dwarf2_name, add_name_attribute, lookup_filename, dwarf2out_line,
25169 dwarf2out_start_source_file, dwarf2out_define, dwarf2out_undef):
25172 * dwarf2out.h (dwarf2out_define, dwarf2out_undef,
25173 dwarf2out_start_source_file, dwarf2out_line): Likewise.
25175 Tue Aug 10 09:21:46 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
25177 * output.h (assemble_name): Constify a char*.
25179 * varasm.c (UNIQUE_SECTION, assemble_start_function,
25180 assemble_variable, assemble_name): Likewise.
25182 * dwarf2out.c (ASM_NAME_TO_STRING): Likewise.
25184 * arm/pe.c (arm_pe_unique_section): Likewise.
25186 * i386/cygwin.h (STRIP_NAME_ENCODING): Likewise.
25188 * i386/i386-interix.h (STRIP_NAME_ENCODING): Likewise.
25190 * i386/interix.c (i386_pe_unique_section): Likewise.
25192 * i386/win32.h (STRIP_NAME_ENCODING): Likewise.
25194 * i386/winnt.c (i386_pe_unique_section): Likewise.
25196 * m32r/m32r.h (ASM_OUTPUT_LABELREF): Likewise.
25198 * mn10200/mn10200.h (ASM_OUTPUT_LABELREF): Likewise.
25200 * mn10300/mn10300.h (ASM_OUTPUT_LABELREF): Likewise.
25202 * pa/pa.c (output_call): Likewise.
25204 * pa/pa.h (ASM_OUTPUT_MI_THUNK): Likewise.
25206 * pa/som.h (ASM_OUTPUT_FUNCTION_PREFIX): Likewise.
25208 * rs6000/rs6000.c (rs6000_output_load_toc_table, output_toc):
25211 * rs6000/rs6000.h (RS6000_OUTPUT_BASENAME, STRIP_NAME_ENCODING):
25214 * rs6000/sol2.h (ASM_OUTPUT_SOURCE_LINE): Likewise.
25216 * rs6000/sysv4.h (ASM_DECLARE_FUNCTION_NAME, ASM_OUTPUT_INT,
25217 STRIP_NAME_ENCODING, ASM_OUTPUT_LABELREF): Likewise.
25219 * v850/v850.h (ASM_OUTPUT_LABELREF): Likewise.
25221 Mon Aug 9 19:54:05 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
25223 * real.c (GET_REAL, PUT_REAL): Use memcpy instead of bcopy.
25225 Mon Aug 9 19:36:00 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
25227 * tree.h (lang_identify): Constify a char*.
25228 (print_error_function): Add extern prototype. Constify a char*.
25230 * c-lang.c (lang_identify): Constify a char*.
25232 * objc/objc-act.c (lang_identify): Constify a char*.
25234 Mon Aug 9 16:21:53 1999 Bernd Schmidt <bernds@cygnus.co.uk>
25236 * genpeep.c (main): Make generated file include "function.h".
25237 * arm.c (function_really_clobbers_lr): Delete INLINE_HEADER case.
25239 Mon Aug 9 10:08:50 1999 Bernd Schmidt <bernds@cygnus.co.uk>
25241 * Makefile.in: Update dependencies.
25242 * alias.c: Include "function.h"
25243 * c-decl.c: Likewise.
25244 * caller-save.c: Likewise.
25245 * calls.c: Likewise.
25246 * combine.c: Likewise.
25248 * explow.c: Likewise.
25249 * final.c: Likewise.
25250 * global.c: Likewise.
25251 * graph.c: Likewise.
25252 * local-alloc.c: Likewise.
25253 * loop.c: Likewise.
25254 * optabs.c: Likewise.
25255 * profile.c: Likewise.
25256 * recog.c: Likewise.
25257 * regclass.c: Likewise.
25258 * regmove.c: Likewise.
25259 * reload.c: Likewise.
25260 * reorg.c: Likewise.
25261 * resource.c: Likewise.
25262 * sched.c: Likewise.
25263 * stupid.c: Likewise.
25264 * config/1750a/1750a.c: Likewise.
25265 * config/a29k/a29k.c: Likewise.
25266 * config/arc/arc.c: Likewise.
25267 * config/arm/arm.c: Likewise.
25268 * config/arm/thumb.c: Likewise.
25269 * config/c4x/c4x.c: Likewise.
25270 * config/clipper/clipper.c: Likewise.
25271 * config/convex/convex.c: Likewise.
25272 * config/fx80/fx80.c: Likewise.
25273 * config/i860/i860.c: Likewise.
25274 * config/m68k/m68k.c: Likewise.
25275 * config/m88k/m88k.c: Likewise.
25276 * config/mips/mips.c: Likewise.
25277 * config/pdp11/pdp11.c: Likewise.
25278 * config/pyr/pyr.c: Likewise.
25279 * config/romp/romp.c: Likewise.
25280 * config/sh/sh.c: Likewise.
25281 * config/tahoe/tahoe.c: Likewise.
25282 * config/vax/vax.c: Likewise.
25283 * config/we32k/we32k.c: Likewise.
25284 * config/sparc/sparc.c: Include "function.h".
25285 (mem_min_alignment): Test current_function rather than
25286 regno_pointer_align.
25287 * config/pa/pa.c: Likewise.
25288 (compute_frame_size): Delete declaration of
25289 current_function_outgoing_args_size.
25290 * config/arc/arc.h (current_function_varargs): Delete declaration.
25291 * config/elxsi/elxsi.h (current_function_calls_alloca): Delete
25293 * config/i370/i370.h (current_function_outgoing_args_size): Delete
25295 * config/i386/i386.h (FINALIZE_PIC): Delete declaration of
25296 current_function_uses_pic_offset_table.
25297 * config/m68k/a-ux.h (FUNCTION_EXTRA_EPILOGUE): Delete declaration
25298 of current_function_returns_pointer.
25299 * config/m68k/altos3068.h (FUNCTION_EXTRA_EPILOGUE): Likewise.
25300 * config/m68k/linux.h (FUNCTION_EXTRA_EPILOGUE): Likewise.
25301 * config/m68k/m68kv4.h (FUNCTION_EXTRA_EPILOGUE): Likewise.
25302 * config/m68k/mot3300.h (FUNCTION_EXTRA_EPILOGUE): Likewise.
25303 * config/m68k/pbb.h (FUNCTION_EXTRA_EPILOGUE): Likewise.
25304 * config/m68k/tower-as.h (FUNCTION_EXTRA_EPILOGUE): Likewise.
25305 * config/m88k/m88k.c: Include "function.h"
25306 (call_used_regs, current_function_pretend_args_size,
25307 current_function_outgoing_args_size, frame_pointer_needed): Delete
25309 * config/m88k/m88k.h (current_function_pretend_args_size): Delete
25311 * config/mips/mips.h (current_function_calls_alloca): Delete
25313 * config/mn10200/mn10200.h (current_function_needs_context,
25314 rtx_equal_function_value_matters): Delete declarations.
25315 * config/ns32k/ns32k (current_function_uses_pic_offset_table,
25316 flag_pic): Delete declarations.
25317 * config/pa/pa.h (current_function_pretend_args_size,
25318 current_function_decl): Delete declarations.
25319 * config/pa/som.h (current_function_varargs): Delete declaration.
25320 * config/pdp11/pdp11.h (current_function_pretend_args_size): Delete
25322 * config/pyr/pyr.h (current_function_pretend_args_size,
25323 current_function_args_size, current_function_calls_alloca): Delete
25325 * config/sh/sh.h (current_function_varargs): Delete declaration.
25326 * config/sparc/sparc.h (current_function_outgoing_args_size,
25327 current_function_calls_alloca, current_function_decl): Delete
25329 * config/spur/spur.h (current_function_pretend_args_size,
25330 current_function_calls_alloca): Delete declarations.
25331 * config/v850/v850.c (current_function_outgoing_args_size): Delete
25333 * config/vax/vms.h (current_function_name): Delete declaration.
25334 * gcse.c: Include "function.h".
25335 (current_function_name, current_function_calls_setjmp): Delete
25337 * haifa-sched.c: Include "function.h".
25338 (forced_labels): Delete declaration.
25339 * jump.c: Likewise.
25340 * reg-stack.c: Likewise.
25341 * reload1.c: Likewise.
25342 * genemit.c (main): Make generated file include function.h.
25343 * genoutput.c (output_prologue): Likewise.
25345 * builtins.c (saveregs_value, apply_args_value): Delete variables.
25346 * emit-rtl.c (reg_rtx_no, first_label_num, first_insn, last_insn,
25347 sequence_rtl_expr, cur_insn_uid, last_linenum, last_filename,
25348 regno_pointer_flag, regno_pointer_flag_length, regno_pointer_align,
25349 regno_reg_rtx, sequence_stack): Delete variables. Add accessor
25350 macros for some of them.
25351 (emit_filename, emit_lineno): Delete declarations.
25352 (gen_reg_rtx): Use memset/memcpy instead of bzero/bcopy. Access
25353 regno_pointer_* variables through current_function.
25354 (gen_inline_header_rtx): Delete function.
25355 (save_emit_status): Delete function.
25356 (set_new_last_label_num): New function.
25357 (clear_emit_caches): New function.
25358 (restore_emit_status): Just clear last_labelnum and call
25360 (get_last_insn_anywhere): Variable sequence_stack is now accessed
25361 through macro seq_stack.
25362 (add_insn_after): Likewise.
25363 (add_insn_before): Likewise.
25364 (remove_insn): Likewise.
25365 (pop_topmost_sequence): Likewise.
25366 (in_sequence_p): Likewise.
25367 (start_sequence_for_rtl_expr): Likewise.
25368 (start_sequence): Likewise, and likewise for
25369 sequence_rtl_expr/seq_rtl_expr.
25370 (push_topmost_sequence): Likewise.
25371 (end_sequence): Likewise.
25372 (init_virtual_regs): Now takes a "struct emit_status *" argument.
25373 All callers changed. Store into that pointer instead of globals.
25374 (init_emit): Allocate emit elt of current_function.
25375 Changes for sequence_rtl_expr/sequence_stack renaming.
25376 Call clear_emit_caches instead of doing it in-line.
25377 Access regno_pointer_* variables through current_function.
25378 (init_emit_once) Don't clear sequence_stack.
25380 * expr.c (pending_stack_adjust, inhibit_defer_pop, pending_chain):
25382 (arg_pointer_save_area): Delete declaration.
25383 (finish_expr_for_function): Renamed from init_queue; no longer static.
25384 (init_expr): Don't call init_queue.
25385 (save_expr_status, restore_expr_status): Delete functions.
25386 (expand_expr): Changes to reflect new layout of struct function.
25387 Don't access current_function_check_memory_usage when current_function
25389 * expr.h (forced_labels, save_expr_regs, saveregs_value,
25390 apply_args_value, current_function_calls_alloca, inhibit_defer_pop,
25391 current_function_outgoing_args_size, current_function_arg_offset_rtx,
25392 current_function_uses_const_pool, function_call_count,
25393 current_function_uses_pic_offset_table, nonlocal_labels,
25394 current_function_internal_arg_pointer, nonlocal_goto_stack_level,
25395 current_function_check_memory_usage, nonlocal_goto_handler_slots,
25396 pending_stack_adjust, target_temp_slot_level, temp_slot_level): Delete
25398 (finish_expr_for_function): Declare.
25399 * flags.h (current_function_has_nonlocal_label,
25400 current_function_has_nonlocal_goto, current_function_is_thunk,
25401 current_function_has_computed_jump): Delete declarations.
25402 * flow.c (forced_labels): Delete declaration.
25403 * function.c (current_function_pops_args,
25404 current_function_returns_struct, current_function_returns_pcc_struct,
25405 current_function_needs_context, current_function_calls_setjmp,
25406 current_function_calls_longjmp, current_function_has_nonlocal_label,
25407 current_function_has_nonlocal_goto, current_function_is_thunk,
25408 current_function_has_computed_jump, current_function_calls_alloca,
25409 current_function_contains_functions, current_function_returns_pointer,
25410 current_function_epilogue_delay_list, current_function_args_size,
25411 current_function_pretend_args_size, current_function_arg_offset_rtx,
25412 current_function_outgoing_args_size, current_function_varargs,
25413 current_function_stdarg, current_function_args_info, cleanup_label,
25414 current_function_name, current_function_uses_const_pool,
25415 current_function_instrument_entry_exit, current_function_return_rtx,
25416 current_function_uses_pic_offset_table, nonlocal_labels,
25417 current_function_internal_arg_pointer, current_function_cannot_inline,
25418 current_function_check_memory_usage, function_call_count,
25419 nonlocal_goto_handler_slots, nonlocal_goto_handler_labels,
25420 nonlocal_goto_stack_level, return_label, save_expr_regs,
25421 stack_slot_list, rtl_expr_chain, tail_recursion_label, temp_slots,
25422 tail_recursion_reentry, arg_pointer_save_area, frame_offset,
25423 context_display, trampoline_list, parm_birth_insn, invalid_stack_slot,
25424 last_parm_insn, max_parm_reg, parm_reg_stack_loc, sequence_rtl_expr,
25425 temp_slot_level, var_temp_slot_level, target_temp_slot_level):
25427 (push_function_context_to): Don't save them. Don't call
25428 save_storage_status, save_emit_status or save_expr_status.
25429 (pop_function_context_from): Don't restore them. Don't call
25430 restore_storage_status or restore_expr_status.
25431 (get_func_frame_size): New function.
25432 (get_frame_size): Use it.
25433 (assign_outer_stack_local): Reflect some member name changes in struct
25435 (put_reg_into_stack): Likewise.
25436 (assign_stack_temp_for_type): sequence_rtl_expr was renamed to
25438 (fixup_var_refs): Likewise.
25439 (fix_lexical_addr): Likewise.
25440 (trampoline_address): Likewise.
25441 (prepare_function_start): Clear field inlinable of current_function.
25442 (init_function_for_compilation): New function.
25443 (expand_dummy_function_end): New function.
25444 (expand_function_end): Call finish_expr_for_function.
25445 * function.h (struct emit_status): New; fields moved here from struct
25446 function and from global variables. Add accessor macros for some of
25448 (struct expr_status): Likewise.
25449 (REGNO_POINTER_ALIGN, REGNO_POINTER_FLAG): Moved here from regs.h.
25450 (struct function): Add fields expr and emit, inlinable, inl_emit,
25451 original_arg_vector, original_decl_initial, inl_last_parm_insn,
25452 inl_max_label_num. Add many comments.
25453 Add accessor macros for all elts of struct function that no longer
25454 have a global variable.
25455 (cleanup_label, return_label, frame_offset, tail_recursion_label,
25456 tail_recursion_reentry, arg_pointer_save_area, rtl_expr_chain,
25457 stack_slot_list): Delete declarations.
25458 (get_func_frame_size): Declare.
25459 (save_expr_status, restore_expr_status, save_emit_status,
25460 save_storage_status, restore_storage_status): Delete declarations.
25461 (init_virtual_regs): Declare.
25462 * output.h (current_function_pops_args,
25463 current_function_returns_struct, current_function_returns_pcc_struct,
25464 current_function_needs_context, current_function_calls_setjmp,
25465 current_function_calls_longjmp, current_function_calls_alloca,
25466 current_function_has_nonlocal_label, current_function_varargs,
25467 current_function_has_computed_jump, current_function_returns_pointer,
25468 current_function_contains_functions, current_function_args_size,
25469 current_function_pretend_args_size, current_function_stdarg,
25470 current_function_outgoing_args_size, current_function_args_info,
25471 current_function_name, current_function_return_rtx,
25472 current_function_epilogue_delay_list,
25473 current_function_uses_const_pool, current_function_cannot_inline):
25474 Delete declarations.
25475 * regs.h (reg_rtx_no, regno_pointer_flag, regno_pointer_flag_length,
25476 regno_reg_rtx): Delete declaration.
25477 (REGNO_POINTER_FLAG): Delete macro.
25478 * stmt.c (expand_goto): Changes to reflect that some fields in struct
25479 function were renamed.
25480 * stor-layout.c (save_storage_status, restore_storage_status): Delete
25482 * toplev.c: Include "function.h".
25483 (current_function_decl): Delete declaration.
25484 (compile_file): Call init_dummy_function_start and
25485 expand_dummy_function_end around some initializations that need to
25487 (rest_of_compilation): Use DECL_SAVED_INSNS properly.
25488 Call init_function_for_compilation.
25489 * unroll.c: Include "function.h"
25490 (unroll_loop): Access regno_pointer_* variables through
25493 * tree.h (struct tree_decl): Add elt f to saved_insns member.
25494 (DECL_SAVED_INSNS): use it.
25495 (expand_dummy_function_end): Declare.
25496 (init_function_for_compilation): Declare.
25497 * calls.c (calls_function_1): Change use of DECL_SAVED_INSNS now
25498 that it's no longer an INLINE_HEADER.
25499 (expand_call): Likewise.
25500 * integrate.c (finish_inline): Delete function.
25501 (max_parm_reg, parm_reg_stack_loc): Delete declarations.
25502 (initialize_for_inline): Delete min_labelno, max_labelno and max_reg
25503 args. Don't generate an INLINE_HEADER rtx, just return the arg
25504 vector. All callers changed.
25505 (save_for_inline_copying): Create a duplicate struct emit_status to
25506 hold the emit state for compiling the current function. Use this and
25507 the other new fields in struct function that are for integration
25508 instead of an INLINE_HEADER.
25509 Use memcpy instead of bcopy.
25510 Store the current struct function in DECL_SAVED_INSNS of fndecl.
25511 (save_for_inline_nocopy): Similar changes, except no new emit_status
25513 (expand_inline_function): Get information from function structure,
25514 not from an inline header rtx.
25515 (output_inline_function): Lose code to extract the necessary
25516 information from an inline header; simply put back the function
25517 structure into current_function. Clear its inlinable elt.
25518 * rtl.def (INLINE_HEADER): Delete.
25519 * rtl.h: Delete all accessors for an INLINE_HEADER.
25520 (gen_inline_header_rtx): Delete declaration.
25521 (regno_reg_rtx, regno_pointer_align, nonlocal_goto_handler_labels):
25522 Delete declarations.
25523 (REGNO_POINTER_ALIGN): Delete.
25524 (clear_emit_caches): Declare.
25525 (set_new_last_label_num): Declare.
25527 Mon Aug 9 01:52:24 1999 Jason Merrill <jason@yorick.cygnus.com>
25529 * print-tree.c (print_node): Print base for OFFSET_TYPEs.
25531 * except.c (expand_eh_region_start_for_decl): Always start a new block.
25532 * stmt.c (is_eh_region): Make sure current_function is present, too.
25534 Mon Aug 9 01:15:24 1999 Jeffrey A Law (law@cygnus.com)
25536 * pa.h (HARD_REGNO_MODE_OK): Correctly handle FPregs, even when
25537 for 64bit PA targets.
25539 * pa.h (SELECT_SECTION): Define.
25540 * som.h (SELECT_SECTION): Delete.
25542 Sun Aug 8 15:13:20 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
25544 * alias.c (init_alias_analysis): Wrap call to
25545 `prologue_epilogue_contains' within HAVE_prologue||HAVE_epilogue.
25547 1999-08-07 Bruce Korb <autogen@linuxbox.com>
25549 * fixinc/inclhack.def(irix_asm_apostrophe): IRIX 5.2's
25550 <sys/asm.h> contains an asm comment with an apostrophe
25551 * fixinc/inclhack.sh: regen
25552 * fixinc/fixincl.x: regen
25554 Sat Aug 7 19:37:07 1999 Richard Henderson <rth@cygnus.com>
25556 * function.c (init_function_start): Clear prologue & epilogue.
25557 (prologue_epilogue_contains): New function.
25558 * alias.c (init_alias_analysis): Use it.
25559 * rtl.h (prologue_epilogue_contains): Declare it.
25561 Sat Aug 7 19:32:16 1999 Richard Henderson <rth@cygnus.com>
25563 * jump.c (onlyjump_p): New function.
25564 * rtl.h: Declare it.
25565 * flow.c (delete_unreachable_blocks): Use onlyjump_p instead
25566 of condjump_p in calling tidy_fallthru_edge and merge_blocks.
25568 Sat Aug 7 17:09:36 1999 Richard Henderson <rth@cygnus.com>
25570 * global.c (build_insn_chain): Use EXECUTE_IF_SET_IN_REG_SET
25571 to invert loops. Simplify block scanning.
25573 Sat Aug 7 02:11:13 1999 Bernd Schmidt <bernds@cygnus.co.uk>
25575 * gcse.c (hash_scan_set): Treat SYMBOL_REFs like CONST_INTs.
25576 (cprop_insn): Treat SYMBOL_REFs like CONST_INTs.
25578 1999-08-07 Jonathan Larmour <jlarmour@cygnus.co.uk>
25580 * config/sparc/liteelf.h: New file to support sparclite-elf target
25581 * config/sparc/t-sp86x: New file to support sparc86x targets
25582 * config/sparc/sp86x-aout.h: New file to support sparc86x-aout target
25583 * config/sparc/sp86x-elf.h: New file to support sparc86x-elf target
25584 * configure.in: Support above target triplets
25585 * configure: Regenerated
25587 Sat Aug 7 01:39:27 1999 Philippe De Muyter <phdm@macqel.be>
25589 * fixinc/server.c (server_setup): Do not prefix function used as
25590 parameter with `&'.
25592 Sat Aug 7 00:21:20 1999 Richard Henderson <rth@cygnus.com>
25594 * alpha.md (movhi and movqi patterns): Correct predicate for !BWX.
25595 Remove fp reg alternatives.
25597 Sat Aug 7 00:06:54 1999 Jeffrey A Law (law@cygnus.com)
25599 * Makefiin (TAROUTOPTS): Kill.
25600 (install-headers-tar): Use "xpf" for tar headerfile extraction
25601 * i370/x-oe (TAROUTOPTS): Delete.
25602 * m68k/x-apollo68 (TAROUTOPTS): Delete.
25603 * m68k/x-hp320 (TAROUTOPTS): Delete.
25604 * m68k/x-hp320g (TAROUTOPTS): Delete.
25605 * gcc.texi: Update bug reporting text.
25607 1999-08-6 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
25609 * reg-stack.c (change_stack) Fixed problem with negative array index.
25611 Fri Aug 6 23:08:44 1999 Jeffrey A Law (law@cygnus.com)
25613 * extend.texi, install.texi: Fix spelling mistakes.
25615 * Makefile.in (PREMADE_ATTRTAB_MD, PREMADE_ATTRTAB): Delete.
25616 (s-attrtab); No longer try to use pre-made insn-attrtab file.
25617 * mips/t-bsd: Delete references to obsolete PREMADE_ATTRTAB and
25618 PREMADE_ATTRTAB_MD.
25619 * mips/t-ecoff: Likewise.
25620 * mips/t-elf: Likewise.
25621 * mips/t-mips: Likewise.
25622 * mips/t-osfrose: Likewise.
25623 * mips/t-r3900: Likewise.
25624 * mips/t-svr3: Likewise.
25625 * mips/t-svr4: Likewise.
25626 * mips/t-ultrix: Likewise.
25628 * gcc.texi: Document recommend means to provide software floating
25629 point libraries in libgcc.a
25631 1999-08-06 Jason Merrill <jason@yorick.cygnus.com>
25633 * c-lex.c (yylex): We can have a number with no digits.
25635 Fri Aug 6 16:53:55 EDT 1999 John Wehle (john@feith.com)
25637 * jump.c (delete_prior_computation): New function, broken
25638 out of delete_computation. Check for side effects with
25639 side_effects_p instead of FIND_REG_INC_NOTE. Handle
25640 multi-word hard registers.
25641 (delete_computation): Use it. Check for side effects with
25642 side_effects_p instead of FIND_REG_INC_NOTE. Synthesize a
25643 missing REG_DEAD note for a register which is both set and
25646 Fri Aug 6 11:05:29 1999 Jeffrey A Law (law@cygnus.com)
25648 * elf.h (TEXT_SPACE_P, FUNCTION_NAME_P): Delete.
25649 (ASM_GLOBALIZE_LABEL, ASM_OUTPUT_INT, ASM_OUTPUT_DOUBLE_INT): Likewise.
25650 (ASM_FILE_START): Import _mcount with the right type.
25651 (ASM_DECLARE_FUNCTION_NAME): Define.
25652 (ASM_OUTPUT_EXTERNAL, ASM_OUTPUT_EXTERNAL_LIBCALL): Define.
25653 * pa.c (output_function_prologue): Always emit the function's label
25655 * pa.h (TEXT_SPACE_P): Define.
25656 (FUNCTION_NAME_P, ENCODE_SECTION_INFO, STRIP_NAME_ENCODING): Likewise.
25657 (ASM_OUTPUT_INT, ASM_OUTPUT_DOUBLE_INT, ASM_GLOBALIZE_LABEL): Likewise.
25658 * som.h (TEXT_SPACE_P): Delete.
25659 (FUNCTION_NAME_P, ENCODE_SECTION_INFO, STRIP_NAME_ENCODING): Likewise.
25660 (ASM_GLOBALIZE_LABEL, ASM_OUTPUT_INT): Likewise.
25662 Thu Aug 5 19:29:39 1999 Jim Wilson <wilson@cygnus.com>
25664 * expr.c (emit_group_load): Allow src to be a CONCAT.
25666 Thu Aug 5 22:27:15 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
25668 * config/sh/lib1funcs.asm (___movstrSI0): Change or r0,r0,r0 to nop.
25669 (___mulsi3): Use '!' comment character.
25671 Thu Aug 5 13:34:14 1999 Bernd Schmidt <bernds@cygnus.co.uk>
25673 * reload1.c (maybe_fix_stack_asms): Also declare P as "const char *".
25675 Thu Aug 5 02:40:42 1999 Jeffrey A Law (law@cygnus.com)
25677 * gcc.c: Update URLs and mail addresses.
25678 * gcc.texi: Likewise.
25680 Thu Aug 5 01:14:13 1999 Daniel Jacobowitz <drow@false.org>
25682 * rs6000.c (current_file_function_operand): Return zero for
25684 (rs6000_encode_section_info): Do not set SYMBOL_REF_FLAG for
25686 * rs6000.h (ENCODE_SECTION_NIFO): Do not set SYMBOL_REF_FLAG
25689 Thu Aug 5 00:56:30 1999 Geoffrey Keating <geoffk@cygnus.com>
25691 * rs6000.c (rs6000_stack_info): For ABI_V4/ABI_SOLARIS -fpic, always
25692 allocate space in the stack frame for the PIC register.
25694 Thu Aug 5 00:20:47 1999 Jeffrey A Law (law@cygnus.com)
25696 * m68k.md (xordi3, anddi3): These patterns are not available on
25699 Wed Aug 4 23:39:20 1999 Mark Mitchell <mark@codesourcery.com>
25701 * real.c (GET_REAL): Don't violate ANSI/ISO aliasing rules.
25702 (PUT_REAL): Likewise.
25704 Wed Aug 4 20:45:04 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
25706 * final.c (shorten_branches): Don't add an alignment for loops
25707 that have no label inside.
25709 Wed Aug 4 16:39:24 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
25711 * builtins.c (expand_builtin_memcmp, expand_builtin_strcmp): Wrap
25712 prototypes in macro HAVE_cmpstrsi.
25714 * cpplib.c (cpp_get_token): Remove unused label `op3'.
25716 * emit-rtl.c (operand_subword): Remove unused variable
25719 * rtl.c (shallow_copy_rtx): Remove unused variable `format_ptr'.
25721 * tree.c (chainon): Wrap variable `t2' in macro ENABLE_CHECKING.
25723 Wed Aug 4 13:29:23 1999 Zack Weinberg <zack@bitmover.com>
25725 * cpphash.c (macroexpand): Delete leading whitespace when arg
25726 is concatenated before.
25727 (unsafe_chars): Correct test for whether + and - can extend a
25730 * cppinit.c (cpp_start_read): Do dependencies for
25731 -include/-imacros files also.
25733 * cpplib.c (cpp_scan_buffer): In no-output mode, don't bother
25734 tokenizing non-directive lines.
25735 (cpp_expand_to_buffer): Temporarily disable no-output mode.
25736 * cppmain.c: In no-output mode, just call cpp_scan_buffer for
25739 Wed Aug 4 12:53:44 1999 Jason Merrill <jason@yorick.cygnus.com>
25741 * expr.c (expand_expr, case PLUS_EXPR): Fix parallel case, too.
25743 * c-lex.c: Sync with C++ frontend.
25744 (linemode): New variable.
25745 (parse_float): imag, conversion_errno, and type are output only.
25746 (yylex): Adjust. Move initial '.' case into main switch.
25748 (handle_generic_pragma): Just deal with tokens.
25749 (readescape): Use ISXDIGIT and ISGRAPH.
25750 * c-parse.in: Add END_OF_LINE token.
25752 * c-lex.c (lang_init): Generalize.
25753 (nextchar): Remove. Replace uses with UNGETC.
25754 (skip_white_space): Handle linemode here. Optimize for cpplib.
25755 (skip_white_space_on_line): Remove.
25756 (extend_token_buffer_to): New fn.
25757 (extend_token_buffer): Use it.
25758 (read_line_number, check_newline): Just deal with tokens.
25759 (token_getch, token_put_back): New fns.
25760 (yylex): Use them. More cpplib optimizations. Simplify.
25762 Wed Aug 4 12:53:44 1999 Michael Tiemann <tiemann@holodeck.cygnus.com>
25763 Jason Merrill <jason@yorick.cygnus.com>
25765 * c-lex.c (init_parse): Set cpp_token to CPP_DIRECTIVE.
25766 (consume_string): Make this smart about USE_CPPLIB.
25767 (check_newline): Rewrite to be intelligent about USE_CPPLIB.
25768 (yylex): Rewrite to be intelligent about USE_CPPLIB.
25769 Also, clean up cases where we redundantly set token_buffer[0].
25770 (read_line_number): New fn.
25771 (ignore_escape_flag): New variable.
25773 Wed Aug 4 13:12:17 1999 Jeffrey A Law (law@cygnus.com)
25775 * a29k/t-a29kbare: Fix some comments.
25776 (LIB2FUNCS_EXTRA): Remove fp-bit.c and dp-bit.c
25777 (FPBIT, DPBIT): Define.
25778 * a29k/t-vx29k: Likewise.
25779 * arc/t-arc: Likewise.
25780 * arm/t-arm-elf: Likewise.
25781 * arm/t-bare: Likewise.
25782 * arm/t-pe: Likewise.
25783 * arm/t-pe-thumb: Likewise.
25784 * arm/t-semi: Likewise.
25785 * arm/t-thumb: Likewise.
25786 * arm/t-thumb-elf: Likewise.
25787 * arm/t-thumb-linux: Likewise.
25788 * h8300/t-h8300: Likewise.
25789 * i960/t-i960: Likewise.
25790 * i960/t-vxworks960: Likewise.
25791 * m32r/t-m32r: Likewise.
25792 * mips/t-ecoff: Likewise.
25793 * mips/t-elf: Likewise.
25794 * mips/t-r3900: Likewise.
25795 * pa/t-pro: Likewise.
25796 * rs6000/t-aix43: Likewise.
25797 * rs6000/t-beos: Likewise.
25798 * rs6000/t-newas: Likewise.
25799 * rs6000/t-ppccomm: Likewise.
25800 * rs6000/t-rs6000: Likewise.
25801 * rs6000/t-winnt: Likewise.
25802 * rs6000/t-xnewas: Likewise.
25803 * rs6000/t-xrs6000: Likewise.
25804 * sh/t-sh: Likewise.
25805 * sparc/t-elf: Likewise.
25806 * sparc/t-sparcbare: Likewise.
25807 * sparc/t-sparclite: Likewise.
25808 * sparc/t-splet: Likewise.
25809 * v850/t-v850: Likewise.
25810 * mn10200/t-mn10200: Fix comments.
25811 * mn10300/t-mn10300: Likewise.
25813 * pa.md (divsi3, udivsi3, modsi3, umodsi3 expanders): Clobber a new
25814 dummy operand. Allocate a new pseudo for the dummy operand.
25815 (divsi3, udivsi3, modis3, umodsi3 patterns): Corresponding changes.
25817 * pa.md (movqi, movhi patterns): Do not expose FP regs to regclass.
25819 Wed Aug 4 11:53:55 1999 Tom Tromey <tromey@cygnus.com>
25821 * configure: Rebuilt.
25822 * configure.in: Removed --enable-java-gc option and JAVAGC subst.
25824 Wed Aug 4 09:06:14 1999 Richard Earnshaw (rearnsha@arm.com)
25826 * recog.c (preproces_constraints): Zero recog_op_alt before
25827 processing the constraints.
25829 * arm.c (typedef minipool_node): Renamed from pool_node.
25830 (minipool_vector, minipool_size, minipool_vector_label): Similarly.
25831 (add_minipool_constant): New function.
25832 (dump_minipool): New function.
25833 (find_barrier): Remove special case for getting the insn size of
25834 an insn that references the constant pool.
25835 (minipool_fixup): New structure.
25836 (push_minipool_barrier): New function.
25837 (push_minipool_fix): New function.
25838 (note_invalid_constants): New function.
25839 (add_pool_constant, dump_table, fixit, broken_move): Delete.
25840 (arm_reorg): Rewrite code to fix up the constant pool into a
25841 series of mini-pools embedded in the insn stream.
25842 (arm_output_epilogue): New function, made mainly from the body
25843 of output_func_epilogue.
25844 (output_func_epilogue): Move insn generation part of epilogue code
25845 to arm_output_epilogue.
25846 * arm.h (ASM_OUTPUT_SPECIAL_POOL_ENTRY): Delete.
25847 * arm.md (pool_range): New attribute.
25848 (zero_extendqidi2): Add attribute pool_range.
25849 (zero_extend_hisi_insn, load_extendqisi, extendhisi_insn,
25850 extendqihi_insn, extendqisi_insn, movdi, movsi_insn, pic_load_addr,
25851 pic_load_addr_based_insn, movhi_insn_arch4, movhi_insn_littleend,
25852 movhi_insn_bigend, loadhi_si_bigend, movsf_hard_insn, movsf_soft_insn,
25853 movdf_hard_insn, movdf_soft_insn, movxf_hard_insn): Likewise.
25854 (epilogue): New expand.
25855 (epilogue_insn): New insn. Call arm_output_epilogue.
25857 * arm.c (arm_poke_function_name): Undo change of July 17. Tidy up.
25858 * arm.h (TARGET_SWITCHES): Add missing doc string for TARGET_DEFAULT.
25860 Mon Aug 2 19:18:44 1999 Jason Merrill <jason@yorick.cygnus.com>
25862 * linux.h (HANDLE_PRAGMA_PACK_PUSH_POP): Define.
25864 1999-08-04 Mark Elbrecht <snowball3@bigfoot.com>
25866 * config/i386/djgpp.h (BSS_SECTION_ASM_OP): Define.
25868 Wed Aug 4 02:15:32 1999 Richard Henderson <rth@cygnus.com>
25870 * jump.c (delete_insn): Delete the addr_vec when deleting a tablejump.
25872 Wed Aug 4 01:48:08 1999 Jim Kingdon <http://developer.redhat.com>
25874 * global.c: Fix comment.
25876 Wed Aug 4 01:43:01 1999 Ian Lance Taylor <ian@zembu.com>
25878 * gcc.c (access_check): New static function.
25879 (find_a_file): Use it when searching a directory list.
25880 * collect2.c (find_a_file): Don't accept directories found when
25881 searching a directory list.
25883 Wed Aug 4 01:40:43 1999 Philippe De Muyter <phdm@macqel.be>
25885 * tlink.c (symbol_hash_lookup): Do not prefix functions used as
25886 function parameters with `&'.
25887 (file_hash_lookup, demangled_hash_lookup, tlink_init): Ditto.
25889 Wed Aug 4 01:08:44 1999 Jeffrey A Law (law@cygnus.com)
25891 * flow.c (delete_unreachable_blocks): Do not call merge_blocks
25892 or tidy_fallthru_edge if the last insn in the block is not
25893 an unconditional jump or a simple conditional jump.
25895 Tue Aug 3 20:21:20 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
25897 * Makefile.in (c-decl.o): Depends on defaults.h.
25899 Tue Aug 3 14:14:52 1999 Jeffrey A Law (law@cygnus.com)
25901 * pa.h (HARD_REGNO_NREGS): FP registers are always 4 bytes wide for
25903 (CLASS_MAX_NREGS): Likewise.
25905 Tue Aug 3 03:51:20 1999 Jeffrey A Law (law@cygnus.com)
25907 * cse.c (cse_insn): Fix dumb thinko in last change.
25909 Tue Aug 3 10:36:13 1999 Bernd Schmidt <bernds@cygnus.co.uk>
25911 * reload1.c (maybe_fix_stack_asms): Declare CONSTRAINTS as
25914 Mon Aug 2 23:45:45 1999 Hans-Peter Nilsson <hp@bitrange.com>
25916 * dwarf2out.c (add_location_or_const_value_attribute): Correct
25917 test for sizes of passed and declared parameter types.
25919 Tue Aug 3 00:03:41 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
25921 * fixincludes: Fix the return type of bsearch, char* -> void*.
25923 * fixinc/inclhack.def: Likewise.
25925 Mon Aug 2 18:29:32 1999 Mark Mitchell <mark@codesourcery.com>
25927 * invoke.texi (-fdump-translation-unit): New option.
25929 Mon Aug 2 17:54:19 1999 Richard Henderson <rth@cygnus.com>
25931 * expr.h (PROMOTE_PROTOTYPES): Move ...
25932 * defaults.h: ... to here.
25933 * c-decl.c: Include defaults.h instead of expr.h.
25934 * c-typeck.c: Include defaults.h.
25936 Mon Aug 2 17:10:24 1999 Mark Mitchell <mark@codesourcery.com>
25938 * toplev.h (errorcount): Declare.
25939 (warningcount): Likewise.
25940 (sorrycount): Likewise.
25941 * c-lex.c (errorcount): Don't declare.
25942 * dwarf2out.c (errorcount): Don't declare.
25944 Mon Aug 2 17:02:08 1999 Jason Merrill <jason@yorick.cygnus.com>
25946 * config/libgloss.h: Add a note discouraging use with ELF.
25947 * configure.in: Don't use libgloss.h for ELF targets.
25948 Always use_collect2 on a.out targets.
25950 Mon Aug 2 16:27:42 1999 Jim Wilson <wilson@cygnus.com>
25952 * combine.c (force_to_mode, case LSHIFTRT): Add goto shiftrt.
25953 (force_to_mode, case ASHIFTRT): Add shiftrt label.
25955 Tue Aug 3 00:45:02 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
25957 * loop.c (strength_reduce): When doing biv->giv conversion, update
25958 reg note of NEXT->insn.
25960 1999-08-02 Jakub Jelinek <jj@ultra.linux.cz>
25962 * real.c (PUT_REAL): Clear unused bytes if long double is IEEE quad.
25964 1999-08-02 Jakub Jelinek <jj@ultra.linux.cz>
25966 * c-decl.c (get_parm_info, store_parm_decls): Change all uses of
25967 PROMOTE_PROTOTYPES, so that it tests it as a C expression.
25968 Ensure expr.h is included.
25969 * c-typecheck.c (convert_arguments): Ditto.
25971 * expr.h: Supply default for PROMOTE_PROTOTYPES (0).
25973 * config/arc/arc.h: Define PROMOTE_PROTOTYPES to 1.
25974 * config/convex/convex.h: Ditto.
25975 * config/dsp16xx/dsp16xx.h: Ditto.
25976 * config/fx80/fx80.h: Ditto.
25977 * config/gmicro/gmicro.h: Ditto.
25978 * config/i370/i370.h: Ditto.
25979 * config/i386/i386.h: Ditto.
25980 * config/m32r/m32r.h: Ditto.
25981 * config/m68k/m68k.h: Ditto.
25982 * config/m88k/m88k.h: Ditto.
25983 * config/mips/mips.h: Ditto.
25984 * config/pa/pa.h: Ditto.
25985 * config/pyr/pyr.h: Ditto.
25986 * config/tahoe/tahoe.h: Ditto.
25987 * config/we32k/we32k.h: Ditto.
25989 * config/sparc/sparc.h: Define PROMOTE_PROTOTYPES
25990 based on arch size.
25992 * config/i1750a/i1750a.h: Define PROMOTE_PROTOTYPES to 0.
25994 * config/i860/paragon.h: Remove PROMOTE_PROTOTYPES
25997 * tm.texi: Document new usage of PROMOTE_PROTOTYPES.
25999 1999-08-02 Richard Henderson <rth@cygnus.com>
26001 * m32r.c (m32r_setup_incoming_varargs): Use get_varargs_alias_set
26002 for the register spill block.
26003 (m32r_va_arg): New.
26004 * m32r.h (EXPAND_BUILTIN_VA_ARG): New.
26005 (EXPAND_BUILTIN_SAVEREGS): Delete #if 0 code.
26007 * m32r.h (INT8_P): Don't short-cut test with (unsigned).
26008 (INT16_P, CMP_INT16_P, UINT16_P): Likewise.
26009 (UPPER16_P, UINT24_P, INT32_P, UINT5_P): Likewise.
26011 1999-08-02 Jakub Jelinek <jj@ultra.linux.cz>
26013 * config/sparc/linux.h: Define WCHAR_TYPE as "int" and undef
26014 MAX_WCHAR_TYPE defined in sparc.h.
26015 * config/sparc/linuxaout.h: Likewise.
26016 * config/sparc/linux64.h: Likewise.
26017 Also default to -mvis if CPU is UltraSPARC.
26019 1999-08-02 Jakub Jelinek <jj@ultra.linux.cz>
26021 * config/sparc/sparc.h (ASM_DECLARE_REGISTER_GLOBAL): New macro.
26022 (RTX_OK_FOR_OLO10): Likewise.
26023 (GO_IF_LEGITIMATE_ADDRESS): If assembler supports offsetable
26024 %lo(), allow it in addresses...
26025 (PRINT_OPERAND_ADDRESS): ... and print it appropriately.
26026 * config/sparc/sparc.md (sethi_di_medlow_embmedany_pic): sethi %lo()
26027 does not make sense.
26028 * config/sparc/sparc.c (sparc_hard_reg_printed): New array.
26029 (sparc_output_scratch_registers): New function.
26030 (output_function_prologue, sparc_flat_output_function_prologue): Use
26032 * varasm.c (make_decl_rtl): Use ASM_DECLARE_REGISTER_GLOBAL if
26034 * tm.texi (ASM_DECLARE_REGISTER_GLOBAL): Document it.
26035 * configure.in: Add check for .register pseudo-op support in as and
26036 check for offsetable %lo().
26037 * acconfig.h: Add templates for the above checks.
26038 * configure: Regenerate.
26040 1999-08-02 Richard Henderson <rth@cygnus.com>
26042 * sparc/linux64.h (TARGET_DEFAULT): Remove MASK_APP_REGS.
26043 * sparc/sol2-sld-64.h (TARGET_DEFAULT): Likewise.
26044 * sparc/sol2.h (TARGET_DEFAULT): Likewise.
26046 Mon Aug 2 23:46:45 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
26048 * loop.c (strength_reduce): When doing biv->giv conversion, fix up
26051 1999-08-02 Jakub Jelinek <jj@ultra.linux.cz>
26053 * config/float-sparc.h: New file.
26054 * configure.in: Use float_format=sparc for sparc-*-linux-gnulibc1,
26055 sparc-*-linux-gnu and sparc64-*-linux*.
26057 1999-08-02 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
26059 * rs6000.c (rs6000_va_list): Type is an array.
26060 (rs6000_va_start): Don't doubly adjust for varargs.
26061 (rs6000_va_arg): Evaluate long long GPR adjustment.
26063 Mon Aug 2 16:15:57 1999 David Edelsohn <edelsohn@gnu.org>
26065 * rs6000/aix43.h (SUBTARGET_SWITCHES): Use -m64 and -m32 instead of
26066 -maix64 and -maix32.
26067 (ASM_SPEC, ASM_CPU_SPEC, CPP_SPEC, CPP_CPU_SPEC, LIB_SPEC,
26068 LINK_SPEC): Change appropriately.
26069 * rs6000/rs6000.c (short_cint_operand): Use CONST_OK_FOR_LETTER_P.
26070 (u_short_cint_operand): Likewise.
26071 * rs6000/rs6000.md (movdi splitters): Add TARGET_POWERPC64 support
26073 * rs6000/t-aix43 (MULTILIB): Change to -m64.
26075 * invoke.texi (RS/6000 Submodel): Document 64-bit processor options.
26077 Mon Aug 2 16:15:57 1999 Geoff Keating <geoffk@cygnus.com>
26079 * rs6000/rs6000.c (num_insns_constant_wide): Correct
26080 for type promotion.
26081 (add_operand): Get test correct for 64-bit HOST_WIDE_INT.
26082 (non_add_cint_operand): Likewise.
26083 (logical_operand): Likewise.
26084 (non_logical_cint_operand): Likewise.
26085 (print_operand): Correct printf()s for 64-bit HOST_WIDE_INT.
26086 (print_operand_address): Correct printf() for 64-bit HOST_WIDE_INT.
26087 (rs6000_select_rtx_section): Suppress warning.
26088 (small_data_operand): Suppress warning.
26089 (rs6000_got_register): Suppress warning.
26090 * rs6000/rs6000.md (andsi3): HOST_WIDE_INT is a signed
26091 type, so `J' is generally the wrong constraint for a SImode value;
26093 (andsi3_internal2): Likewise.
26094 (andsi3_internal3): Likewise.
26095 (iorsi3_internal1): Likewise.
26096 (xorsi3_internal1): Likewise.
26098 (movsf_softfloat): Likewise.
26099 (scc insns): Likewise.
26100 (movsi+2): Preserve sign bits of SImode constant.
26101 (floatsidf2_internal+1): Sign-extend SImode constant correctly.
26102 (movdf+1): Sign-extend properly.
26103 (movdi_32+1): Sign-extend properly.
26104 (scc insns): Sign-extend properly.
26106 * md.texi (RS/6000 EXTRA_CONSTRAINTS): Update documentation for J,
26109 1999-08-02 Richard Henderson <rth@cygnus.com>
26111 * alpha.c (override_options): Move ev6 alpha_tp frobbing out of
26112 -mcpu parsing code.
26113 (print_operand): Notice alpha_fptm not alpha_tp for sw completion.
26114 * alpha.md (all fp insns): Likewise.
26116 1999-08-02 Nick Clifton <nickc@cygnus.com>
26118 * config/v850/v850.h (STRICT_ALIGNMENT): Only define if not
26121 Mon Aug 2 03:38:33 1999 Jeffrey A Law (law@cygnus.com)
26123 * pa.c (legitimize_pic_address): Clarify comments. Do not call the
26124 pic_load_label generator directly.
26125 * pa.md (pic_load_label): Clarify comments. Remove modes on operands.
26126 No longer a named pattern.
26128 Mon Aug 2 09:38:10 1999 Nick Clifton <nickc@cygnus.com>
26130 * explow.c (force_reg): Call force_operand if X does not
26131 satisfy general_operand.
26133 Mon Aug 2 01:34:22 1999 Jeffrey A Law (law@cygnus.com)
26135 * fix-header.c (main): When testing for CONTINUED, use string
26136 equality, not pointer equality.
26138 Mon Aug 2 01:27:24 1999 Dan Nicolaescu <dann@ics.uci.edu>
26140 * sparc.c (sparc_block_profiler): Use the %g2 register, not %o0.
26142 Sun Aug 1 22:46:42 1999 Jeffrey A Law (law@cygnus.com)
26144 * cse.c (cse_insn): Fix loop which deletes insns after a jump
26145 that has become an unconditional jump.
26147 * m68k.c (output_function_prologue): Fix typo in CPU32 case.
26148 (output_function_epilogue): Similarly.
26150 Sun Aug 1 20:14:00 1999 Bernd Schmidt <bernds@cygnus.co.uk>
26152 * tree.h (init_dummy_function_start): Declare.
26154 Sun Aug 1 12:55:31 1999 Bernd Schmidt <bernds@cygnus.co.uk>
26156 * stmt.c (emit_filename, emit_lineno, expr_stmts_for_value,
26157 last_expr_type, last_expr_value, block_start_count, block_stack,
26158 stack_block_stack, cond_stack, loop_stack, case_stack, nesting_stack,
26159 nesting_depth, goto_fixup_chain): Delete global vars; now allocated
26160 dynamically in stmt elt of struct function for each function.
26161 (struct nesting): Rename function_call_count elt to n_function_calls,
26162 target_temp_slot_level to block_target_temp_slot_level. All users
26164 (struct stmt_status): New structure definition.
26165 Add many accessor macros for stmt_status elements which previously
26166 were global variables.
26167 (init_stmt_for_function): Allocate stmt elt for current_function.
26168 Reflect that block_start_count was renamed to
26169 current_block_start_count.
26170 (save_stmt_status, restore_stmt_status): Delete functions.
26171 (preserve_subexpressions_p): Don't access loop_stack when outside
26173 (expand_start_bindings): Reflect that block_start_count was renamed to
26174 current_block_start_count.
26175 (expand_fixup): Likewise.
26176 (expand_decl): Don't access block_stack when outside a function.
26177 (expand_decl_cleanup): Likewise.
26178 (expand_dcc_cleanup): Likewise.
26179 (expand_dhc_cleanup): Likewise.
26180 (expand_anon_union_decl): Likewise.
26181 (set_file_and_line_for_stmt): New function.
26182 (in_control_zone_p): New function.
26184 * function.h (struct function): Add new elt stmt.
26185 Delete elts block_stack, stack_block_stack, cond_stack, loop_stack,
26186 case_stack, nesting_stack, nesting_depth, block_start_count,
26187 last_expr_type, last_expr_value, expr_stmts_for_value, emit_filename,
26188 emit_lineno, goto_fixup_chain.
26189 (save_eh_status, restore_eh_status, save_stmt_status,
26190 restore_stmt_status): Delete declarations.
26191 * function.c (push_function_context_to): Don't call save_stmt_status.
26192 (pop_function_context_to): Don't call restore_stmt_status.
26193 * tree.h (in_control_zone_p): Declare.
26194 * rtl.h (set_file_and_line_for_stmt): Declare.
26196 * emit-rtl.c (emit_line_note): Don't set emit_filename/emit_lineno;
26197 call set_file_and_line_for_stmt.
26199 Thu Jul 31 12:34:45 1999 Joe Buck <jbuck@synopsys.com>
26201 * gcc.texi: Use terms "GNU Compiler Collection" and "GCC".
26202 Also update copyright.
26204 Sat Jul 31 11:10:07 1999 Bernd Schmidt <bernds@cygnus.co.uk>
26206 * c-pragma.c: Don't include "except.h".
26207 * emit-rtl.c: Likewise.
26208 * stor-layout.c: Likewise.
26209 * tree.c: Likewise.
26210 * varasm.c: Likewise.
26212 * flow.c: Include "function.h".
26213 * tree.h (init_dummy_function_start): Declare new function.
26215 * except.h (struct eh_status): New structure.
26216 (struct label_node, struct eh_entry): Declare even if tree.h hasn't
26218 (eh_return_stub_label, ehstack, catchstack, ehqueue,
26219 catch_clauses, false_label_stack, caught_return_label_stack,
26220 protect_list, current_function_ehc): Add accessor macros for the
26221 corresponding fields in current_function->eh; delete declarations
26222 for all items that used to be declared here.
26223 * except.c (eh_return_stub_label, ehstack, catchstack, ehqueue,
26224 catch_clauses, false_label_stack, caught_return_label_stack,
26225 protect_list, current_function_ehc): Delete variables.
26226 (init_eh_for_function): Allocate current_function->eh.
26227 (save_eh_status, restore_eh_status): Delete functions.
26229 * function.h (struct function): Add fields next_global and eh.
26230 Delete all exception handling related fields.
26231 * function.c (current_function): New variable.
26232 (all_functions): New variable.
26233 (push_function_context_to): Don't allocate a struct function,
26234 use current_function instead. Call init_dummy_function_start when
26235 outside a function. Clear current_function before returning.
26236 (pop_function_context_from): Restore current_function.
26237 Don't free the restored struct function.
26238 (prepare_function_start): New function.
26239 (init_dummy_function_start): New function.
26240 (init_function_start): Break out some code into prepare_function_start
26243 * stmt.c (save_stmt_status): Don't call save_eh_status.
26244 (restore_stmt_status): Don't call restore_eh_status.
26246 * Makefile.in: Update dependencies.
26248 Sat Jul 31 04:10:01 1999 Jeffrey A Law (law@cygnus.com)
26250 * pa.c (compute_frame_size): Use STARTINg_FRAME_OFFSET instead
26251 of depending on a magic constant value. Update comments.
26252 (hppa_expand_prologue): Similarly.
26254 * pa.md (reload_indi, reload_outdi): Allow any register for the
26255 original reload register.
26257 Fri Jul 30 19:41:35 1999 Jim Wilson <wilson@cygnus.com>
26259 * cccp.c (print_help): Change marcos to macros.
26261 1999-07-30 Richard Henderson <rth@cygnus.com>
26263 * c-typeck.c (initializer_constant_valid_p): Move ...
26264 * c-common.c (initializer_constant_valid_p): ... here. Use
26265 FOO_TYPE_P instead of tests against TREE_CODE. Allow subtraction
26266 of label addresses.
26267 * c-common.h (initializer_constant_valid_p): Declare.
26268 * c-tree.h (initializer_constant_valid_p): Remove.
26270 Fri Jul 30 16:33:42 1999 Mathias Froehlich <frohlich@na.uni-tuebingen.de>
26272 * config/i386/sol2-c1.asm: Align the stack.
26273 * config/i386/sol2-gc1.asm: Likewise.
26275 1999-07-30 Vladimir Makarov <vmakarov@loony.cygnus.com>
26277 * config/sparc/sparc.h (ASM_CPU32_DEFAULT_SPEC): Change -Av8 onto
26278 -Asparclite for sparc86x.
26279 (CPP_CPU32_DEFAULT_SPEC, CPP_CPU_SPEC): Remove -D__sparc_v8__ for
26281 (ASM_CPU_SPEC): Use -Asparclite for sparc86x.
26283 Fri Jul 30 14:53:56 1999 Jakub Jelinek <jj@ultra.linux.cz>
26285 * config/sparc/linux64.h (CC1_SPEC): Preserve CPU specified by
26286 the user if using the non-default arch size in BI_ARCH configuration.
26287 * config/sparc/sol2-sld-64.h (CC1_SPEC): Ditto.
26289 * config/sparc/sparc.md (cmp_mul_set, cmp_udiv_cc_set):
26290 Fix patterns so that they actually match.
26291 (cmp_sdiv_cc_set): Ditto, also don't require g0 to be zero.
26292 (mulsidi3_sp64, const_mulsidi3_sp64): New patterns.
26293 (const_mulsidi3_sp32): Renamed from const_mulsidi3, only on
26295 (mulsidi3): Reflect this in the expand.
26296 (smulsi3_highpart): Only on TARGET_ARCH32.
26297 (umulsidi3_sp64, const_umulsidi3_sp64): New patterns.
26298 (const_umulsidi3_sp32): Renamed from const_umulsidi3.
26299 (umulsidi3): Reflect this in the expand.
26300 (umulsi3_highpart): Only on TARGET_ARCH32.
26301 (divsi3_sp32): Renamed from divsi3, only on TARGET_ARCH32,
26302 don't require g0 to be zero.
26303 (udivsi3_sp32): Renamed from udivsi3, only on TARGET_ARCH32.
26304 ({,u}divsi3): New expands.
26305 ({,u}divsi3_sp64): New patterns.
26306 (after lshrdi3_v8plus): Four new patterns to help combiner
26307 optimizing nested mixed mode shifts.
26309 * config/sparc/sparc.c (sparc_override_options): Use deprecated
26310 v8 instructions if optimizing for UltraSPARC I, II, IIi, as it
26311 speed things up. Don't use them by default on plain v9 in 64bit
26312 mode, according to what SPAMv9 sais.
26314 * config/sparc/sparc.h: Fix comments, e.g. Linux already preserves
26315 top 32 bits of %[og][0-7] in signal handlers.
26316 Also, TARGET_HARD_MUL32 now is only true for TARGET_ARCH32.
26318 Fri Jul 30 03:00:41 1999 Jeffrey A Law (law@cygnus.com)
26320 * pa.md (zvdep_imm32): Renamed from zvdep_imm.
26321 (ashlsi3): Corresponding changes.
26323 * pa.c (compute_zdepwi_operands): Renamed from compute_zdepi_operands.
26325 Thu Jul 29 18:37:13 1999 Jeffrey A Law (law@cygnus.com)
26327 * pa.h (FIRST_PARM_CALLER_OFFSET): Delete.
26329 Thu Jul 29 19:01:58 1999 Bernd Schmidt <bernds@cygnus.co.uk>
26331 * arm.h (Hint): Delete macro.
26332 Substitute HOST_WIDE_INT for Hint in some prototypes.
26333 * arm.c: Substitute HOST_WIDE_INT for Hint in one prototype.
26335 Thu Jul 29 09:21:42 1999 Nick Clifton <nickc@cygnus.com>
26337 * builtins.c (expand_builtin_setjmp): Use force_operand to
26338 make sure that the buffer address is in a suitable form to be
26339 passed to force_reg.
26341 Wed Jul 28 12:50:48 1999 Geoff Keating <geoffk@cygnus.com>
26343 * config/mips/mips.c: system.h handles MIN and MAX, don't undefine
26346 Wed Jul 28 13:18:35 1999 Jeffrey A Law (law@cygnus.com)
26348 * pa.md (indirect_jump): Remove mode from match_operand. Verify
26349 proper mode in the condition string.
26350 (icacheflush, dcacheflush): Remove modes from match_operands.
26352 * pa.c (emit_move_sequence): Always convert scratch_reg to the
26353 proper mode before using it.
26355 * pa.md (adddi3, subdi3): Turn into a define_expand/define_insn
26358 * pa.c (store_reg): Do not call add_high_const generator directly.
26359 (load_reg, set_reg_plus_d): Likewise.
26360 * pa.md (add_high_const): No longer a named pattern.
26362 * pa.c (legitimize_address): Consistently use Pmode rather than
26363 SImode. Do not call gen_pic2_highpart directly anymore.
26364 * pa.md (pic2_highpart): No longer a named pattern.
26365 (pic2_lo_sum): Similarly. Reformat to make more readable.
26367 * pa.md (call, call_value): Use "word_mode" instead of "SImode" as
26372 Wed Jul 28 11:28:04 1999 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
26374 * builtins.c (expand_builtin): Typo in call to expand_builtin_ffs.
26376 Wed Jul 28 11:23:48 1999 Richard Henderson <rth@cygnus.com>
26378 * pa.c (hppa_builtin_saveregs): Use get_varargs_alias_set
26379 and tag the spill mems.
26380 (hppa_va_start): New.
26381 (hppa_va_arg): New.
26382 * pa.h (EXPAND_BUILTIN_VA_START): New.
26383 (EXPAND_BUILTIN_VA_ARG): New.
26385 Wed Jul 28 11:22:21 1999 Richard Henderson <rth@cygnus.com>
26387 * mn10300.c (mn10300_builtin_saveregs): Use get_varargs_alias_set
26388 and tag the spill mems.
26389 (mn10300_va_start): New.
26390 (mn10300_va_arg): New.
26391 * mn10300.h (EXPAND_BUILTIN_VA_START): New.
26392 (EXPAND_BUILTIN_VA_ARG): New.
26394 Wed Jul 28 11:20:19 1999 Richard Henderson <rth@cygnus.com>
26396 * mn10200.c (mn10200_va_arg): New.
26397 * mn10200.h (EXPAND_BUILTIN_VA_ARG): New.
26399 Wed Jul 28 11:19:06 1999 Richard Henderson <rth@cygnus.com>
26401 * builtins.c (std_expand_builtin_va_arg): Use int_size_in_bytes
26402 rather than play with TREE_INT_CST_LOW.
26404 1999-07-27 Philip Blundell <pb@nexus.co.uk>
26406 * config/arm/telf.h: Include dbxelf.h.
26407 (CPP_PREDEFINES): Only define if not already defined.
26408 (ASM_IDENTIFY_GCC): Likewise.
26409 (SUBTARGET_EXTRA_SECTIONS): Likewise.
26410 (SUBTARGET_EXTRA_SECTION_FUNCTIONS): Likewise.
26411 * config/arm/thumb.h (LINK_SPEC): Only define if not already
26413 (DBX_DEBUGGING_INFO): Don't define.
26414 * config/arm/linux-telf.h: New file.
26415 * config/arm/linux-tgas.h: New file.
26416 * config/arm/t-thumb-linux: New file.
26417 * config/arm/uclinux-elf.h: New file.
26418 * config/arm/uclinux-telf.h: New file.
26419 * configure.in (arm-*-uclinux, thumb-*-linux-gnu,
26420 thumb-*-uclinux): New targets.
26421 * configure: Regenerate.
26423 Tue Jul 27 23:20:21 1999 Jeffrey A Law (law@cygnus.com)
26425 * pa.md (post_store, pre_load): New expanders.
26426 (post_stwm, pre_ldwm): Renamed to post_stw and pre_ldw respectively.
26427 (post_ldwm, pre_stwm): Make these unnamed patterns since we never
26428 need to directly generate RTL for them.
26429 * pa.c (hppa_expand_prologue, hppa_expand_epilogue): Corresponding
26432 Tue Jul 27 16:05:52 1999 David Edelsohn <edelsohn@gnu.org>
26434 * aix43.h (ASM_CPU_SPEC, CPP_CPU_SPEC): Add rs64a and PPC630.
26435 * rs6000.c (processor_target_table): Add powerpc64, rs64a, and PPC630.
26436 (rs6000_cpu): Choose between 32-bit and 64-bit default processors.
26437 (secndary_reload_class): Make TARGET_ELF conditional compile.
26438 (print_operand_address): Similar.
26439 (output_toc): Print all values as hex.
26440 (get_issue_rate): Rearrange and add RS64A and PPC630.
26441 * rs6000.h (processor_type): Add RS64A and PPC630.
26442 (PROCESSOR_POWERPC64): New.
26443 (PROMOTE_MODE): Use word_mode.
26444 (RTX_COSTS): Add RS64A and PPC630.
26445 * rs6000.md (scheduling information): Add lmul and ldiv
26446 representing 64-bit integer multiply and divide. Add rs64a and
26447 PPC630 information.
26448 (ashldi3): Add support for "rldic" instruction.
26449 * sysv4.h (PROCESSOR_DEFAULT): Change to PROCESSOR_750.
26451 Tue Jul 27 15:31:53 1999 Vladimir Makarov <vmakarov@toad.to.cygnus.com>
26453 * config/sparc/sparc.c (sparc_override_options): Enable SPARCLITE
26454 instead of V8 for sparclite86x in cpu_table.
26456 Tue Jul 27 17:49:42 1999 Bernd Schmidt <bernds@cygnus.co.uk>
26458 * config/arm/coff.h (ASM_FILE_START): If generating SDB output, call
26459 output_file_directive.
26461 Tue Jul 27 03:15:33 1999 Jason Merrill <jason@yorick.cygnus.com>
26463 * expr.c (expand_expr, case PLUS_EXPR): Get the mode from the
26464 tree for op1, not the rtl.
26466 Tue Jul 27 00:18:34 1999 Richard Henderson <rth@cygnus.com>
26468 * m88k.c (m88k_builtin_saveregs): Break out the constructor code
26469 to m88k_va_start, leaving only the register spill.
26470 (m88k_build_va_list): New.
26471 (m88k_va_start): New.
26472 (m88k_va_arg): New.
26473 * m88k.h (BUILD_VA_LIST_TYPE): New.
26474 (EXPAND_BUILTIN_VA_START): New.
26475 (EXPAND_BUILTIN_VA_ARG): New.
26477 Mon Jul 26 19:07:11 1999 Geoff Keating <geoffk@cygnus.com>
26479 * config/rs6000/rs6000.c (rs6000_expand_builtin_saveregs):
26480 Rename from expand_builtin_saveregs.
26481 * config/rs6000/rs6000.h (EXPAND_BUILTIN_SAVEREGS): Change caller.
26483 Mon Jul 26 22:52:47 1999 Richard Henderson <rth@cygnus.com>
26485 * i960.c (i960_setup_incoming_varargs): Use get_varargs_alias_set
26486 for the register spill block.
26487 (i960_build_va_list): New.
26488 (i960_va_start): New.
26489 (i960_va_arg): New.
26490 * i960.h (BUILD_VA_LIST_TYPE): New.
26491 (EXPAND_BUILTIN_VA_START): New.
26492 (EXPAND_BUILTIN_VA_ARG): New.
26493 * i960.md (store_multiple): Use change_address on individul mems.
26495 Mon Jul 26 22:43:12 1999 Richard Henderson <rth@cygnus.com>
26497 * builtins.c (stabilize_va_list): Don't INDIRECT_REF through
26499 (std_expand_builtin_va_start): Back out one word if !stdarg_p.
26500 (expand_builtin_va_end): Evaluate arg for side effects.
26501 * c-common.c (c_common_nodes_and_builtins): Construct a
26502 va_list_arg_type_node to handle array decomposition to pointer.
26504 Mon Jul 26 18:51:34 1999 Richard Henderson <rth@cygnus.com>
26506 * except.c (st_dynamic_cleanup): Use force_operand on the
26509 Mon Jul 26 16:43:26 1999 Richard Henderson <rth@cygnus.com>
26511 * c4x.h (EXPAND_BUILTIN_VA_ARG): New.
26512 * c4x.c (c4x_va_arg): New.
26514 Mon Jul 26 12:30:09 1999 Jason Merrill <jason@yorick.cygnus.com>
26516 * cpplib.c (cpp_get_token): Don't return a CPP_POP if the buffer
26517 has manual_pop set.
26519 1999-07-26 Nathan Sidwell <nathan@acm.org>
26521 * eh-common.h (__eh_matcher): Prototype correctly.
26523 Mon Jul 26 17:24:51 1999 Philip Blundell <pb@nexus.co.uk>
26525 * config/arm/thumb.h (THUMB_FLAG_SINGLE_PIC_BASE): Define.
26526 (TARGET_SINGLE_PIC_BASE): Likewise.
26527 (GOT_PCREL, NEED_GOT_RELOC, NEED_PLT_RELOC): Provide default
26529 (TARGET_CALLEE_INTERWORKING): Fix typo in comment.
26530 (TARGET_SWITCHES): Add -m{no-}single-pic-base.
26531 (TARGET_OPTIONS): Add -mpic-register=N.
26532 (OUTPUT_INT_ADDR_CONST): New macro.
26533 (INDEX_REGISTER_RTX_P, PIC_OFFSET_TABLE_REGNUM, FINALIZE_PIC,
26534 LEGITIMATE_PIC_OPERAND_P): Likewise.
26535 (LEGITIMIZE_ADDRESS, GOT_IF_LEGITIMATE_ADDRESS): Support PIC.
26536 (ASM_OUTPUT_INT): Use OUTPUT_INT_ADDR_CONST rather than calling
26537 output_addr_const directly.
26538 (PRINT_OPERAND_PUNCT_VALID_P): Accept `|' for compatibility with
26540 (thumb_pic_register, thumb_pic_register_string): Declare.
26542 * config/arm/thumb.c (symbol_mentioned_p): New function: Imported
26544 (label_mentioned_p): New function: Imported from arm.c.
26545 (legitimize_pic_address): New function: Imported from arm.c.
26546 (is_pic):New function: Imported from arm.c.
26547 (thumb_finalize_pic):New function: Imported from arm.c.
26548 (add_constant): Cope with PIC constants.
26549 (fixit): Cope with PIC constants.
26550 (output_return): Do not treat the PIC register as live if
26551 TARGET_SINGLE_PIC_BASE is true.
26552 (thumb_function_prologue): Do not treat the PIC register as live if
26553 TARGET_SINGLE_PIC_BASE is true.
26554 (thumb_expand_prologue): Do not treat the PIC register as live if
26555 TARGET_SINGLE_PIC_BASE is true.
26556 (thumb_unexpand_epilogue): Do not treat the PIC register as live if
26557 TARGET_SINGLE_PIC_BASE is true.
26558 (thumb_print_operand): Accept '|'.
26559 (thumb_override_options): Process PIC options.
26561 * config/arm/thumb.md (movsi): Support PIC.
26562 (call_insn): Change "i" constraint to "X".
26563 (call_value_insn): Likewise.
26564 (consttable_4, consttable_8, consttable_end): Set and clear
26565 "making_const_table" as appropriate.
26566 (pic_load_addr, pic_add_dot_plus_four): New insns.
26568 * invoke.texi (Thumb Options): Fix spelling. Document new
26569 options -msingle-pic-base and -mpic-register=.
26571 1999-07-26 Andrew Haley <aph@cygnus.com>
26573 * config/m32r/initfini.c (__init): Use a full word immediate for
26574 __fini: this allows it to be placed in any memory region.
26576 * config/m32r/t-m32r: Compile crtinit.o and crtfini.o for
26577 -mmodel=medium. This is OK for all memory models.
26579 Mon Jul 26 11:58:46 1999 Nick Clifton <nickc@cygnus.com>
26581 * config/arm/arm.c: Replace %R%s in asm_fprintf strings with %r.
26582 * config/arm/arm.h: Replace %R%s in asm_fprintf strings with %r.
26584 Mon Jul 26 10:23:36 1999 Nick Clifton <nickc@cygnus.com>
26586 * final.c (asm_fprintf): Accept ASM_FPRINTF_EXTENSIONS, if
26589 * tm.texi: Document ASM_FPRINTF_EXTENSIONS.
26591 Sun Jul 25 23:51:59 1999 Richard Henderson <rth@cygnus.com>
26593 * i860.h (EXPAND_BUILTIN_SAVEREGS): New.
26594 (BUILD_VA_LIST_TYPE): New.
26595 (EXPAND_BUILTIN_VA_START): New.
26596 (EXPAND_BUILTIN_VA_ARG): New.
26597 * i860.c (output_delayed_branch): Disable.
26598 (output_delay_insn): Likewise.
26599 (i860_saveregs): New.
26600 (i860_build_va_list): New.
26601 (i860_va_start): New.
26602 (i860_va_arg): New.
26603 * i860.md: Disable all peepholes using output_delayed_branch.
26604 * i860/sysv4.h (I860_SVR4_VA_LIST): New.
26606 Sun Jul 25 23:44:13 1999 Richard Henderson <rth@cygnus.com>
26608 * clipper.h (EXPAND_BUILTIN_SAVEREGS): Remove argument.
26609 (BUILD_VA_LIST_TYPE): New.
26610 (EXPAND_BUILTIN_VA_START): New.
26611 (EXPAND_BUILTIN_VA_ARG): New.
26612 * clipper.c (clipper_builtin_saveregs): Only dump registers.
26613 Return the address of the save area.
26614 (clipper_build_va_list): New.
26615 (clipper_va_start): New.
26616 (clipper_va_arg): New.
26618 Sun Jul 25 22:56:47 1999 Richard Henderson <rth@cygnus.com>
26620 * arc.h (EXPAND_BUILTIN_VA_START): New.
26621 (EXPAND_BUILTIN_VA_ARG): New.
26622 * arc.c (arc_setup_incoming_varargs): Set alias set of
26624 (arc_va_start): New.
26627 Sun Jul 25 22:45:55 1999 Richard Henderson <rth@cygnus.com>
26629 * alpha.h (EXPAND_BUILTIN_SAVEREGS): Delete.
26630 (BUILD_VA_LIST_TYPE): New.
26631 (EXPAND_BUILTIN_VA_START): New.
26632 (EXPAND_BUILTIN_VA_ARG): New.
26633 * alpha.c (alpha_builtin_saveregs): Delete.
26634 (alpha_build_va_list): New.
26635 (alpha_va_start): New.
26636 (alpha_va_arg): New.
26638 Sun Jul 25 21:40:33 1999 Jeffrey A Law (law@cygnus.com)
26640 * config/svr4.h (CTORS_SECTION_ASM_OP): Do not emit directives in
26642 (DTORS_SECTION_ASM_OP, INIT_SECTION_ASM_OP): Likewise.
26643 (FINI_SECTION_ASM_OP, ASM_OUTPUT_SECTION_NAME): Likewise.
26645 * gcc.texi: More changes related to list conversion.
26646 * invoke.texi: Likewise.
26648 Sun Jul 25 18:15:39 1999 Richard Henderson <rth@cygnus.com>
26650 * builtins.c (expand_builtin_saveregs): Remove static, remove exp
26651 and ignore arguments, bail if no EXPAND_BUILTIN_SAVEREGS.
26652 (expand_builtin_next_arg): Accept ARGLIST not EXP.
26653 (stabilize_va_list): New function.
26654 (std_expand_builtin_va_start): New function.
26655 (expand_builtin_va_start): New function.
26656 (get_varargs_alias_set): New function.
26657 (std_expand_builtin_va_arg): New function.
26658 (expand_builtin_va_arg): New function.
26659 (expand_builtin_va_end): New function.
26660 (expand_builtin_va_copy): New function.
26661 (expand_builtin): Call them.
26662 * c-common.c (c_common_nodes_and_builtins): Build __builtin_va_list,
26663 __builtin_{varargs_start,stdarg_start,end,copy}.
26664 (build_va_arg): New function.
26665 * c-common.h (CTI_PTR_TYPE, ptr_type_node): Delete.
26666 (build_va_arg): Declare.
26667 * c-decl.c (ptr_type_node, va_list_type_node): New.
26668 * c-parse.gperf (__builtin_va_arg): New.
26669 * c-parse.in (VA_ARG): New token.
26670 (unary_expr): Recognize it.
26671 * expr.c (expand_expr): Expand VA_ARG_EXPR.
26672 * expr.h (std_expand_builtin_va_start): Declare.
26673 (std_expand_builtin_va_arg): Declare.
26674 (expand_builtin_va_arg): Declare.
26675 (get_varargs_alias_set): Declare.
26676 * tree.def (VA_ARG_EXPR): New.
26677 * tree.h (BUILT_IN_VARARGS_START): New.
26678 (BUILT_IN_STDARG_START, BUILT_IN_VA_END): New.
26679 (ptr_type_node, va_list_type_node): Declare.
26680 * tm.texi (EXPAND_BUILTIN_SAVEREGS): Kill unused ARGLIST argument.
26681 * m32r.h (EXPAND_BUILTIN_SAVEREGS): Likewise.
26682 * m88k.h, m88k.c: Likewise.
26683 * mn10300.h, mn10300.c: Likewise.
26684 * pa.h, pa.c: Likewise.
26685 * rs6000.h, rs6000.c: Likewise.
26686 * sh.h, sh.c: Likewise.
26687 * sparc.h, sparc.c: Likewise.
26689 * emit-rtl.c (operand_subword): Copy alias set.
26690 (change_address): Likewise.
26692 Sun Jul 25 15:04:37 1999 Jeffrey A Law (law@cygnus.com)
26694 * pa.c (compute_frame_size): Scan all the used callee saved registers,
26695 not just the first one.
26697 Fri Jul 23 14:09:58 1999 Philip Blundell <pb@nexus.co.uk>
26699 * config/arm/arm.h (TARGET_SWITCHES): Add
26700 -m{no-}single-pic-base. Correct help string for -mshort-load-words.
26701 (TARGET_OPTIONS): Add -mpic-register=.
26702 (ARM_FLAG_SINGLE_PIC_BASE, TARGET_SINGLE_PIC_BASE): Define.
26703 (arm_pic_register_string): Declare.
26704 (NEED_PLT_GOT): Delete, replace with ...
26705 (NEED_GOT_RELOC, NEED_PLT_RELOC): ... these. New macros.
26706 (OUTPUT_INT_ADDR_CONST): Replace NEED_PLT_GOT with NEED_GOT_RELOC.
26707 (ASM_OUTPUT_MI_THUNK): Replace NEED_PLT_GOT with NEED_PLT_RELOC.
26708 * config/arm/arm.c (arm_override_options): Add new option
26710 (arm_pic_register_string): New variable.
26711 (arm_finalize_pic): Respect TARGET_SINGLE_PIC_BASE.
26712 (output_func_prologue): If TARGET_SINGLE_PIC_BASE, treat the PIC
26713 register as never live. Use NEED_PLT_RELOC not NEED_PLT_GOT.
26714 (output_return_instruction): Likewise.
26715 * config/arm/elf.h (NEED_PLT_GOT): Delete, replace with ...
26716 (NEED_GOT_RELOC, NEED_PLT_RELOC): ... these. Define to flag_pic.
26717 * config/arm/arm.md: Use NEED_PLT_RELOC in place of NEED_PLT_GOT.
26719 * invoke.texi (ARM Options): Fix spelling. Remove duplicate
26720 mention of -msched-prolog. Document new options -msingle-pic-base
26721 and -mpic-register=.
26723 Thu Jul 22 18:23:56 1999 Richard Henderson <rth@cygnus.com>
26725 * haifa-sched.c (reemit_notes): Tidy.
26726 * sched.c (reemit_notes): Duplicate 1998-08-31 patch to
26729 Thu Jul 22 18:21:04 1999 Richard Henderson <rth@cygnus.com>
26731 * explow.c (trunc_int_for_mode): New function.
26732 (plus_constant_wide): Use it.
26733 * combine.c (simplify_and_const_int): Likewise.
26734 (merge_outer_ops): Likewise.
26735 (simplify_shift_const): Likewise.
26736 * cse.c (simplify_unary_operation): Likewise.
26737 (simplify_binary_operation): Likewise.
26738 * emit-rtl.c (operand_subword): Likewise.
26739 * rtl.h: Declare it.
26741 Thu Jul 22 14:34:59 1999 Bernd Schmidt <bernds@cygnus.co.uk>
26743 * config/arm/arm.c (arm_print_operand): Fix typo in 'M' case
26744 (use NUM_REGS instead of NUM_INTS).
26746 Thu Jul 22 11:25:20 1999 Bernd Schmidt <bernds@cygnus.co.uk>
26748 * builtins.c: New file.
26749 * expr.c (saveregs_value, apply_args_value): Delete definition,
26750 moved into builtins.c.
26751 (string_constant): No longer static.
26752 (get_pointer_alignment, c_strlen, get_memory_rtx, expand_builtin,
26753 apply_args_size, apply_result_size, result_vector,
26754 expand_builtin_apply_args, expand_builtin_apply,
26755 expand_builtin_return): Delete functions, moved into builtins.c.
26756 (INCOMING_REGNO, OUTGOING_REGNO): Delete unused macros.
26757 * expr.h (saveregs_value, apply_args_value): Declare variables.
26758 (expand_builtin, string_constant): Declare functions.
26759 * Makefile.in: Update to build builtin.o.
26761 Wed Jul 21 00:46:58 1999 Mark P. Mitchell <mark@codesourcery.com>
26763 * defaults.h (DWARF2_GENERATE_TEXT_SECTION_LABEL): New macro.
26764 * tm.texi (DWARF2_GENERATE_TEXT_SECTION_LABEL): Define it.
26765 * dwarf2out.c (dwarf2out_init): Don't output a label to mark the
26766 start of the text section if DWARF2_GENERATE_TEXT_SECTION_LABEL is
26768 * config/mips/iris6.h (DWARF2_GENERATE_TEXT_SECTION_LABEL):
26771 1999-07-21 Michael Meissner <meissner@cygnus.com>
26773 * print-rtl.c (print_rtx): Print the names of the virtual
26776 Wed Jul 21 16:00:32 1999 Nick Clifton <nickc@cygnus.com>
26778 * config/arm/arm.h (INITIAL_ELIMINATION_OFFSET): Fix typo
26779 introduced in previous delta.
26781 Wed Jul 21 14:30:51 1999 Bernd Schmidt <bernds@cygnus.co.uk>
26783 * c-lang.c (finish_file): Rename void_list_node to void_list_node_1
26784 to avoid name clash.
26786 Wed Jul 21 08:39:22 1999 Gavin Romig-Koch <gavin@cygnus.com>
26788 * c-lex.c (yylex) : Correct the test for overflow when lexing
26791 Tue Jul 20 18:02:42 1999 Richard Henderson <rth@cygnus.com>
26793 * haifa-sched.c (insn_cost): FREE implies cost 0 and vice versa.
26794 (adjust_priority): Always call ADJUST_PRIORITY.
26795 (schedule_insn): Only put insns into the ready at cost 0.
26796 (schedule_block): Remove redundant initial sort. Give clock_var
26797 and can_issue_more to MD_SCHED_REORDER. Requeue if hazard cost
26799 * tm.texi (MD_SCHED_REORDER): Update docs.
26801 * sparc.h (MD_SCHED_REORDER): Update. Set CAN_ISSUE_MORE.
26802 * sparc.c (ultra_reorder_called_this_block): Delete.
26803 (ultrasparc_sched_init): Don't set it.
26804 (ultrasparc_sched_reorder): Don't check it.
26806 Tue Jul 20 17:07:54 1999 Richard Henderson <rth@cygnus.com>
26808 * rs6000.h (struct rs6000_args): Add sysv_gregno.
26809 * rs6000.c (init_cumulative_args): Init sysv_gregno.
26810 (function_arg_boundary): Align DFmode.
26811 (function_arg_advance): Restructure for ABI_V4; use sysv_gregno
26812 to get fp reg and stack overflow correct.
26813 (function_arg): Likewise.
26814 (function_arg_pass_by_reference): True for TFmode for ABI_V4.
26815 (setup_incoming_varargs): Restructure for ABI_V4; use
26816 function_arg_advance to skip final named argument.
26817 (expand_builtin_saveregs): Properly unskip the last integer arg
26818 when doing varargs. Adjust overflow location calculation.
26820 * ginclude/va-ppc.h (struct __va_list_tag): Make gpr and fpr
26821 explicitly unsigned.
26822 (__VA_FP_REGSAVE): Use new OFS argument instead of AP->fpr directly.
26823 (__VA_GP_REGSAVE): Similarly.
26824 (__va_longlong_p): Delete.
26825 (__va_arg_type_violation): New declaration.
26826 (va_arg): Restructure. Flag promotion errors. Align double.
26827 TFmode passed by reference.
26829 * rs6000.md (movdi_32+1): Use GEN_INT after arithmetic
26830 in the HOST_BITS_PER_WIDE_INT > 32 case.
26832 Tue Jul 20 12:37:30 1999 Hans-Peter Nilsson <hp@bitrange.com>
26834 * dwarf2out.c (output_abbrev_section): Terminate with a zero.
26836 Tue Jul 20 12:12:27 1999 Jason Merrill <jason@yorick.cygnus.com>
26838 * gcc.c (default_compilers, cpp-output): Pass -fpreprocessed.
26839 * toplev.c (documented_lang_options): Add -fpreprocessed.
26840 * cpplib.h (struct cpp_buffer): Add preprocessed.
26841 * cppinit.c (cpp_handle_option): Handle -fpreprocessed.
26842 (cpp_start_read): Don't expand macros or emit an initial #line
26843 directive if -fpreprocessed.
26845 Tue Jul 20 12:12:09 1999 Michael Tiemann <tiemann@holodeck.cygnus.com>
26847 * cpplib.h (struct cpp_buffer): Added manual_pop for
26848 better C++ tokenization.
26849 * cpplib.c (cpp_get_token): Return CPP_EOF if manual_pop.
26850 Also, support C++ tokenization for ->*, .*, <?, and >? operators.
26851 * c-common.c (cpp_token): Make non-static.
26853 Tue Jul 20 11:24:19 1999 Bernd Schmidt <bernds@cygnus.co.uk>
26855 * c-common.h: New file.
26856 * c-common.c (permanent_obstack): Delete unused declaration.
26857 (c_global_trees): New array.
26858 (c_common_nodes_and_builtins): New function; split off common code
26859 from init_decl_processing in both c-decl.c and cp/decl.c.
26860 * c-tree.h: Delete lots of declarations of tree nodes; replaced by
26861 c_global_trees and accessor macros defined in c-common.h.
26862 Include c-common.h.
26863 * c-decl.c: Delete definitions for tree nodes that were replaced by
26865 (init_decl_processing): Build void_list_node.
26866 Call c_common_nodes_and_builtins; delete code to generate the common
26868 * objc/objc-act.c (build_module_descriptor): Rename variable
26869 void_list_node to avoid clash with c-common.h.
26871 * Makefile.in: Update dependencies.
26872 * objc/Make-lang.in: Likewise.
26874 Mon Jul 19 14:22:18 1999 Mark P. Mitchell <mark@codesourcery.com>
26876 * config/mips/iris6gld.h (MAKE_DECL_ONE_ONLY): Define.
26877 (UNIQUE_SECTION_P): Likewise.
26878 (UNIQUE_SECTION): Likewise.
26880 1999-07-19 Linas Vepstas <linas@linas.org>
26882 * config/i370/README: New file.
26883 * config/i370/linux.h: New file.
26884 * config/i370/mvs.h: New file.
26885 * config/i370/oe.h: New file.
26886 * config/i370/t-linux: New file.
26887 * config/i370/t-mvs: New file.
26888 * config/i370/t-oe: New file.
26889 * config/i370/x-oe: New file.
26890 * config/i370/xm-linux.h: New file.
26891 * config/i370/xm-mvs.h: New file.
26892 * config/i370/xm-oe.h: New file.
26894 * i370.c (label_node_t): Add first_ref_page, label_addr,
26895 label_first_ref, label_last_ref members.
26896 (mvs_need_base_reload): Renamed from mvs_label_emitted.
26897 (MAX_MVS_LABEL_SIZE): Define.
26898 (MAX_LONG_LABEL_SIZE): Define.
26899 (alias_node_t, alias_anchor, alias_number): New.
26900 (mvs_function_table): Reorder for EBCDIC.
26901 (ascebc, ebcasc): Unconditionally define.
26902 (i370_branch_dest, i370_branch_length): New functions.
26903 (i370_short_branch, i370_label_scan): New functions.
26904 (mvs_get_label): Renamed from mvs_add_label. Search for
26905 an existing label before creating a new one.
26906 (mvs_add_label): New function.
26907 (mvs_get_label_page): New function.
26908 (mvs_free_label_list): Renamed from mvs_free_label. Iterate
26909 over the entire list.
26910 (mvs_check_page) [TARGET_HLASM]: Use BASR not BALR.
26911 (mvs_check_page) [TARGET_ELF_ABI]: New function.
26912 (mvs_add_alias, mvs_need_alias): New functions.
26913 (mvs_get_alias, mvs_check_alias): New functions.
26914 (handle_pragma): New function.
26915 (mvs_function_check): New function.
26916 (unsigned_jump_follows_p): Search harder.
26917 (i370_function_prolog) [TARGET_HLASM]: Handle LE370. Scan labels.
26918 (i370_function_prolog) [TARGET_ELF_ABI]: New function.
26919 * i370.h (TARGET_VERSION): Delete.
26920 (CPP_SPEC, CPP_PREDEFINES): Delete.
26921 (mvs_label_emitted): Delete.
26922 (TARGET_EBCDIC): Delete.
26923 (MAP_CHARACTER): Define only if TARGET_EBCDIC.
26924 (HANDLE_PRAGMA): Define.
26925 (HARD_REGNO_NREGS): Handle complex modes.
26926 (HARD_REGNO_MODE_OK): Likewise.
26927 (CLASS_MAX_NREGS): Likewise.
26928 (RET_REG): Likewise.
26929 (EXTRA_CONSTRAINT): Define.
26930 (RETURN_IN_MEMORY): True for DImode.
26931 (TRAMPOLINE_TEMPLATE): Use gen_rtx instead of GEN_INT.
26932 (FUNCTION_PROFILER): Delete.
26933 (COUNT_REGS): Fail if REG_P but not REG_OK_FOR_BASE_P.
26934 (NOTICE_UPDATE_CC): Correct handling of MULT, DIV, logicals and shifts.
26935 (TARGET_ESC, TARGET_BELL): Conditionally define for TARGET_EBCDIC.
26936 (TARGET_BS, TARGET_TAB, TARGET_NEWLINE): Likewise.
26937 (TARGET_VT, TARGET_FF, TARGET_CR): Likewise.
26938 (ASM_FILE_START): Add "RMODE ANY".
26939 (ASM_OUTPUT_EXTERNAL): Check for aliases.
26940 (ASM_GLOBALIZE_LABEL): Likewise.
26941 (ASM_OUTPUT_LABELREF): Likewise.
26942 (ASM_OUTPUT_COMMON): Likewise.
26943 (PRINT_OPERAND): Handle 'K', 'W', default.
26944 (PRINT_OPERAND_ADDRESS): New.
26945 (Lots of defines): Add support for TARGET_ELF_ABI.
26946 * i370.md (attr length): New. Define for all patterns.
26947 (*): Lots of tweeks to assembly output and constraints.
26949 Mon Jul 19 15:09:29 1999 David Edelsohn <edelsohn@gnu.org>
26951 * rs6000.md (arithmetic, logical, and shift Rc combiner patterns):
26952 Disable patterns performing SImode comparisons with SImode values
26953 if TARGET_POWERPC64 and instruction does not sign-extend or does
26954 not mask to narrower than SImode, i.e. where bit 31 and bit 63 may
26955 differ for signed quantities.
26956 (indirect_jump): Add expander to choose RTL based on TARGET_64BIT.
26957 (tablejump): Patterns contingent on TARGET_64BIT not TARGET_POWERPC64.
26958 (decrement_and_branch_on_count): Add 64-bit variant.
26960 Mon Jul 19 09:36:27 1999 Bernd Schmidt <bernds@cygnus.co.uk>
26962 * final.c (output_asm_insn): When searching for the matching string
26963 for a given dialect, don't run past the end of the list of
26964 alternatives if there are fewer alternatives in the template than
26967 1999-07-17 Alexandre Oliva <oliva@dcc.unicamp.br>
26969 * gcc.texi: Update e-mail addresses and URLs to gcc.gnu.org.
26970 Removed paragraph about compression of files and size limitation,
26971 duplicated in the FAQ. Use gcc-patches for posting patches.
26972 * gcc.c (main): Updated URL with bug reporting instructions to
26973 gcc.gnu.org. Removed e-mail address.
26974 * system.h (abort): Likewise.
26976 1999-07-17 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
26978 * Makefile.in (stmp-multilib-sub): Make the files extracted
26979 from $(LIBGCC1) writable.
26981 Sat Jul 17 14:25:46 1999 Nick Clifton <nickc@cygnus.com>
26983 * config/arm/aout.h: Reformat for improved readability.
26985 * config/arm/arm.h: Reformat for improved readability.
26986 Replace uses of fprintf with asm_fprintf where appropriate.
26987 (ARM_DECLARE_FUNCTION_NAME): New macro: Perform any generic ARM
26988 function declaration assembler actions.
26989 (NUM_INTS): New macro: Convert from bytes to words.
26990 (NUM_REGS): New macro: Compute number of registers required to
26991 hold a quanitity of tyep MODE.
26992 (NUM_REGS2): New macro: Like NUM_REGS but also copes with BLKmode
26994 (NUM_ARG_REGS): New macro: The number of argument registers
26996 (ARG_REGISTER): New macro: Compute the register number of the Nth
26998 (LAST_ARG_REGNUM): New macro: The number of the last argument
27000 (SP_REGNUM): New macro: Register number of the stack pointer.
27001 (FP_REGNUM): New macro: Register number of the frame pointer.
27002 (FUNCTION_ARG, FUNCTION_ARG_PARTIAL_NREGS, INIT_CUMULATIVE_AGS,
27003 FUNCTION_ARG_ADVANCE, SETUP_INCOMING_VARARGS): Change
27004 CUMULATIVE_ARGS so that it counts registers not bytes.
27006 * config/arm/arm.c: Rename TARGET_THUMB_INTERWORK to
27008 Replace uses of fprintf with asm_fprintf where appropriate.
27009 (output_ascii_pseudo_op): Replace with version from thumb.c
27011 * config/arm/coff.h (ASM_FILE_START): Emit ASM_APP_OFF.
27013 * config/arm/elf.h (CPP_PREDEFINES): Replace with
27014 SUBTARGET_CPP_SPEC.
27015 (ASM_DECLARE_FUNCTION_NAME): Use ARM_DECLARE_FUNCTION_NAME.
27016 (ASM_FILE_START): Emit ASM_APP_OFF.
27018 Fri Jul 16 13:48:09 1999 Jeffrey A Law (law@cygnus.com)
27020 * pa.c (compute_frame_size): Round frame according to
27021 STACK_BOUNDARY rather than a hardwired value.
27023 * pa.h (POINTER_SIZE, PARM_BOUNDARY): Define in terms of BITS_PER_WORD.
27025 * configure.in (hppa*-*-hpux11*): Use symbolic MASK_PA_11 instead
27027 * configure: Rebuilt.
27029 * configure.in (hppa*-*-linux*): New configuration.
27030 * configure: Rebuilt.
27031 * pa.h (MAX_OFILE_ALIGNMENT): Delete.
27032 * pa/som.h (MAX_OFILE_ALIGNMENT): Define.
27033 * pa/pa-linux.h: New file.
27034 * pa/t-linux: New file.
27035 * pa/xm-linux.h: New file.
27037 * pa.c (hppa_legitimize_address): Change references from SImode to
27038 either Pmode or word_mode as appropriate.
27039 (emit_move_sequence, store_reg, load_reg): Likewise.
27040 (set_reg_plus_d, hppa_expand_prologue): Likewise.
27041 (output_mul_insn): Likewise.
27042 * pa.h (PROMOTE_MODE): Likewise.
27043 (INITIALZE_TRAMPOLINE): Likewise.
27044 (Pmode): Define to word_mode.
27046 * pa.c (compute_frame_size): Use UNITS_PER_WORD instead of hardwired
27047 value of 4. Allocate 8 bytes for each FP register save.
27048 (hppa_expand_epilogue): Use UNITS_PER_WORD instead of harwarewired
27050 (hppa_expand_prologue): Likewise.
27051 * pa.h (PROMOTE_MODE): Likewise.
27052 (HARD_REGNO_MODE_OK, FUNCTION_ARG_SIZE): Likewise.
27053 (FUNCTION_ARG_BOUNDARY): Likewise.
27055 * invoke.texi (HPPA Options): Remove -mspace/-mno-space.
27057 * pa.c (out_of_line_prologue_epilogue): Delete.
27058 (override_options): Remove -mspace related code.
27059 (hppa_expand_prologue, hppa_expand_epilogue): Likewise.
27060 (compute_frame_size): Only allocate space for register that
27061 actually need to be saved.
27062 * pa.h (MASK_SPACE, TARGET_SPACE): Delete.
27063 (TARGET_SWITCHES): Remove -mspace, -mno-space
27064 * pa/t-pa (LIB2FUNCS_EXTRA): Remove ee.asm and ee_fp.asm
27065 * pa/t-pro (LIB2FUNCS_EXTRA): Likewise. Remove -mspace multilib.
27066 * pa/ee.asm, pa/ee_fp.asm: Delete.
27068 * pa/elf.h (ASM_OUTPUT_DOUBLE_INT): Define.
27070 * config/svr4.h (CONST_SECTION_ASM_OP): Do not emit assembler
27071 directive in column zero.
27073 Fri Jul 16 01:39:57 1999 Jeffrey A Law (law@cygnus.com)
27075 * m68k.c (output_function_prologue): Fix computation of save mask
27076 when generating PIC code.
27078 Thu Jul 15 15:40:09 1999 Jim Wilson <wilson@cygnus.com>
27080 * tree.c (build_type_attribute_variant): Move current_obstack restore
27081 after build_qualified_type call.
27083 1999-07-15 Mark Mitchell <mark@codesourcery.com>
27085 * configure.in: Use t-iris6, even with GNU LD.
27086 * config/mips/iris6gld.h: Fix typo in linker spec.
27087 * config/mips/t-iris6gld: Remove.
27089 Thu Jul 15 15:15:43 1999 David Edelsohn <edelsohn@gnu.org>
27091 * rs6000.md (insv, extzv): Remove SImode dependence in named
27092 patterns. Explicitly generate DImode RTL if PowerPC64 and
27094 (insvdi): Reverse start and size in instruction template.
27096 1999-07-12 Joseph S. Myers <jsm28@cam.ac.uk>
27098 * invoke.texi: Typo fixes.
27100 Wed Jul 14 23:28:06 1999 Jeffrey A Law (law@cygnus.com)
27102 * emit-rtl.c (gen_realpart): Issue an error for cases GCC can not
27103 handle at this time instead of silently generating incorrect code.
27104 (gen_imagpart): Likewise.
27106 * reload.c (find_reloads): Emit a USE for a pseudo register without
27107 a hard register if we could not create an optional reload for the
27110 Wed Jul 14 23:45:48 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
27112 * c-typeck.c (output_init_element, process_init_element):
27113 When advancing constructor_unfilled_fields for a RECORD_TYPE,
27114 check for nameless bit fields.
27116 Wed Jul 14 01:57:39 1999 Richard Henderson <rth@cygnus.com>
27118 * regclass.c (scan_one_insn): Notice subregs that change the
27119 size of their operand.
27120 (record_reg_classes): Use that to obey CLASS_CANNOT_CHANGE_SIZE.
27122 Wed Jul 14 01:41:42 1999 Jeffrey A Law (law@cygnus.com)
27124 * configure.in (alpha*-*-*): Include alpha/t-ieee.
27125 * configure: Rebuilt.
27126 * alpha/t-ieee: New file.
27128 Tue Jul 13 10:45:58 1999 Jeffrey A Law (law@cygnus.com)
27130 * rs6000.c (find_addr_reg): Do not select r0 as an address
27133 Tue Jul 13 00:46:18 1999 Philippe De Muyter <phdm@macqel.be>
27135 * m68k/x-mot3300 (XCFLAGS): List of big files now includes `cse.o'.
27137 Mon Jul 12 14:29:15 1999 Jeffrey A Law (law@cygnus.com)
27139 * rs6000.md (movsf): Do not force easy FP constants into memory.
27141 * expr.c (expand_expr, case PLUS_EXPR): Pass constants through
27142 immed_double_const to ensure they are properly truncated then
27145 Mon Jul 12 10:40:01 1999 Vladimir Makarov <vmakarov@tofu.to.cygnus.com>
27147 * config/arm/thumb.c (thumb_reorg): Call replace_symbols_in_block
27148 always unless NO_DEBUG is used. Compile this code
27150 (replace_symbols_in_block): Compile it unconditionally.
27152 Sun Jul 11 12:32:32 1999 Jeffrey A Law (law@cygnus.com)
27154 * configure.in (i?86-*-elf*): New target.
27155 * configure: Rebuilt.
27156 * i386/i386elf.h, i386/t-i386elf: New files.
27158 Fri Jul 9 22:39:44 1999 Jason Merrill <jason@yorick.cygnus.com>
27160 * toplev.c (main): Don't complain about saying -gdwarf.
27161 (rest_of_compilation): Remove redundant code.
27163 Fri Jul 9 19:08:55 1999 Jim Wilson <wilson@cygnus.com>
27165 * unroll.c (unroll_loops): Don't delete named CODE_LABELs.
27167 Fri Jul 9 18:54:18 1999 Felix Lee <flee@cygnus.com>
27169 * config/i960/i960.c (ret_label): Change asm label from "LR:" to
27170 "Li960R:", to avoid name clash.
27172 Fri Jul 9 10:48:28 1999 Bernd Schmidt <bernds@cygnus.co.uk>
27174 * loop.c (check_dbra_loop): When reversing a loop, delete all
27175 REG_EQUAL notes referencing the reversed biv except those which are
27176 for a giv based on it.
27178 Fri Jul 9 03:51:52 1999 Jeffrey A Law (law@cygnus.com)
27180 * version.c: Drop "gcc-" prefix from version #.
27182 Thu Jul 8 18:06:30 1999 Jason Merrill <jason@yorick.cygnus.com>
27184 * dwarf2out.c (dwarf2out_line): Emit a line number comment after
27185 the label if we're being verbose.
27187 Thu Jul 8 14:18:46 1999 Richard Henderson <rth@cygnus.com>
27189 * m68k.c (output_function_prologue): Add pic register to mask
27190 if live and flag_pic.
27191 (output_function_epilogue): Likewise.
27193 Thu Jul 8 12:55:12 1999 Jeffrey A Law (law@cygnus.com)
27195 * dbxelf.h (ASM_OUTPUT_SOURCE_LINE): Do not put assembler
27196 directives in column zero.
27198 * pa/elf.h (ASM_FILE_START): Define.
27199 * pa/som.h (ASM_FILE_START): Include .level directives.
27200 * pa/hpux10.h (ASM_FILE_START): Delete.
27201 * pa/hpux11.h (ASM_FILE_START): Delete.
27203 * pa/elf.h (BSS_SECTION_ASM_OP): Use .section .bss.
27205 Thu Jul 8 18:03:19 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
27207 * reload1.c (choose_reload_regs): Never call remove_adress_replacements
27208 when reload_out equals reload_in.
27210 Thu Jul 8 16:50:14 1999 Nick Clifton <nickc@cygnus.com>
27212 * invoke.texi (Spec Files): New node: Describe the contents of
27215 Thu Jul 8 10:28:25 1999 Craig Burley <craig@jcb-sc.com>
27217 * invoke.texi (DEC Alpha Options): Put @end table at
27218 beginning of line, to avoid confusing texi2html.
27220 Thu Jul 8 09:22:06 1999 Nick Clifton <nickc@cygnus.com>
27222 * config/arm/elf.h (ASM_OUTPUT_INTERNAL_LABEL): Fixed typo
27223 introduced in previous delta.
27225 Wed Jul 7 02:00:04 1999 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
27227 * reload1.c (gen_reload): When synthesizing a 3 operand add
27228 sequence, improve test for when to reload OP1 into the reload
27229 register instead of OP0.
27231 Wed Jul 7 01:38:03 1999 Jim Wilson <wilson@cygnus.com>
27233 * unroll.c (unroll_loop): Don't delete NOTE_INSN_DELETED_LABEL notes.
27235 1999-07-07 Manfred Hollstein <mhollstein@cygnus.com>
27237 * m88k/dguxbcs.h (CPP_SPEC): Add missing \ in multi-line
27240 Wed Jul 7 01:16:43 1999 Richard Henderson <rth@cygnus.com>
27242 * ginclude/varargs.h (__builtin_va_alist_t): New typedef.
27243 (va_dcl): Use __builtin_va_alist_t.
27245 Wed Jul 7 01:14:42 1999 Jason Merrill <jason@yorick.cygnus.com>
27247 * dwarf2out.c (gen_struct_or_union_type_die): Only remember types
27248 on the permanent_obstack.
27249 * dwarfout.c (output_type): Likewise.
27251 Tue Jul 6 15:25:32 1999 Gavin Romig-Koch <gavin@cygnus.com>
27253 * c-common.c (unsigned_type,signed_type,signed_or_unsigned_type) :
27254 Merged from c-typeck.c and cp/typeck.c.
27255 * c-typeck.c (unsigned_type,signed_type,signed_or_unsigned_type) :
27256 Merged into c-common.
27258 Tue Jul 6 13:06:01 1999 Dave Brolley <brolley@cygnus.com>
27260 * c-lex.c (errorcount): Declare it.
27261 (finish_parse): Update errorcount when using CPPLIB.
27263 1999-07-06 Bruce Korb <ddsinc09@ix.netcom.com>
27265 * fixinc/inclhack.def(end_else_label): Double the backslash so
27266 sed gets a chance to see it.
27267 * fixinc/inclhack.sh: regen
27268 * fixinc/fixincl.x: regen
27270 Fri Jul 2 18:49:51 1999 Nick Clifton <nickc@cygnus.com>
27272 Add framework to support armv5 architecture when it becomes
27275 * config/arm/arm.c (FL_ARCH5): New processor capability flag.
27276 (arm_arch5): New variable.
27277 (all_architectures): Add armv5 line.
27278 * config/arm/arm.h (CPP_CPU_ARCH_SPEC): Define __ARM_ARCH_5__ if
27279 -march=armv5 is specified on the command line.
27280 (arm_arch5): Export this variable.
27281 * invoke.texi: Document new string accepted by -march= switch for
27284 * config/arm/arm.h: Replace use of constant 12 as a register
27285 number with IP_REGNUM. Similarly 14 and LR_REGNUM.
27286 * config/arm/arm.c: Replace use of constant 12 as a register
27287 number with IP_REGNUM. Similarly 14 and LR_REGNUM.
27289 * config/arm/elf.h: Tidy up.
27290 * config/arm/coff.h: Tidy up.
27292 Thu Jul 1 19:08:13 1999 Mark P. Mitchell <mark@codesourcery.com>
27294 * gcc/configure.in (mips-sgi-irix6*): Handle --with-gnu-ld.
27295 * gcc/config/mips/t-iris6gld: New file.
27296 * gcc/config/mips/iris6gld.h: Likewise.
27298 Fri Jul 2 13:23:39 1999 Gavin Romig-Koch <gavin@cygnus.com>
27300 * c-decl.c (widest_integer_literal_type_node,
27301 widest_unsigned_literal_type) : New.
27302 (init_decl_processing): Handle/use the two new types.
27303 * c-common.c (type_for_size,type_for_mode) : Same.
27304 * c-lex.c (yylex) : Same.
27305 * c-typeck.c (unsigned_type,signed_type,signed_or_unsigned_type) :
27307 * c-tree.h (widest_integer_literal_type_node,
27308 widest_unsigned_literal_type) : New.
27310 Fri Jul 2 03:05:44 1999 Jeffrey A Law (law@cygnus.com)
27312 * dwarfout.c (field_byte_offset): Correctly compute the object's
27313 byte offset for the first bit of a field which crosses an alignment
27314 boundary on a !BYTES_BIG_ENDIAN target.
27316 Fri Jul 2 01:36:36 1999 Robert Lipe <robertlipe@usa.net>
27318 * fixinc.svr4: Fix <arpa/inet.h> by deleting protos for htons and
27321 Fri Jul 2 00:46:47 1999 Richard Henderson <rth@cygnus.com>
27322 Jeff Law <law@cygnus.com>
27324 * ginclude/varargs.h (va_dcl): Use word_mode for type of
27327 * except.c: Include intl.h.
27328 (expand_eh_return): Set current_function_cannot_inline.
27329 (save_eh_status, restore_eh_status): Twiddle eh_return_stub_label.
27330 * function.h (struct function): Add eh_return_stub_label.
27331 * flow.c (delete_unreachable_blocks): Don't merge across EH edges.
27332 * Makefile.in (except.o): Depend on intl.h.
27334 Fri Jul 2 00:04:23 1999 David Edelsohn <edelsohn@gnu.org>
27336 * rs6000.md (movdf_hardfloat32): Handle PRE_INC and PRE_DEC the
27337 same as offsettable in cases 1 and 2.
27339 Thu Jul 1 20:54:10 1999 Richard Henderson <rth@cygnus.com>
27341 * alpha.md (extqh): Define as 64-((R&7)*8) instead of 56-(((R-1)&7)*8).
27342 (extlh, extwh): Likewise.
27344 Thu Jul 1 11:05:25 1999 Gavin Romig-Koch <gavin@cygnus.com>
27346 * c-lex.c (yylex): Improve 'integer constant out of range' messages.
27348 Wed Jun 30 16:51:41 1999 Nick Clifton <nickc@cygnus.com>
27350 * configure.in: Add arm-pe and thumb-pe targets.
27351 * configure: Regenerate.
27353 * thumb.c (arm_naked_function_p): New function: Determines if
27354 a function is naked (has no gcc generated prologue/epilogue).
27355 (is_called_in_ARM_mode): Return true if the func has the
27356 interfacearm attribute.
27357 (output_return): Do not generate a return for naked functions.
27358 (thumb_function_prologue): Do not generate a prologue for
27360 (thumb_expand_prologue): Do not generate a prologue for naked
27362 (thumb_expand_epilogue): Do not generate an epilogue for naked
27364 (arm_valid_machine_decl_attribute): New function, copied from
27365 arm.c: Permit naked and interfacearm attributes.
27367 * config/arm/pe.c: New file: Support code for arm-pe target.
27368 * config/arm/pe.h: New file: Header file for arm-pe target.
27369 * config/arm/tpe.h: New file: Header file for thumb-pe target.
27370 * config/arm/t-thumb-pe: New file: Makefile fragment for
27373 1999-07-01 Mark Kettenis <kettenis@gnu.org>
27375 * config/i386/gnu.h (CPP_SPEC): Define __PIC__ and __pic__ if
27376 -fPIC or -fpic is specified.
27378 Wed Jun 30 03:31:54 1999 Jeffrey A Law (law@cygnus.com)
27380 * expr.c (emit_block_move): Use copy_to_mode_reg for
27381 !TARGET_MEM_FUNCTIONS case too.
27383 * configure.in (hppa*-*-*): Add som.h or elf.h to tm_file as
27385 * configure: Rebuilt.
27386 (hppa1.1-*-pro*, hppa1.1-*-rtems*): Define target_cpu_default.
27387 * pa.h: Include dbxelf.h. Delete various dbx/stabs related
27388 definitions made redundant by dbxelf.h inclusion. Delete
27389 lots of definitions related to assembly output that are
27390 specific to the SOM object format.
27391 * pa.c (output_function_prologue): Do not emit the function's
27393 * pa-pro-end.h (STARTFILE_SPEC): Undefine before redefining.
27394 * pa-pro.h: Deleted.
27395 * som.h: New file with SOM specific definitions.
27396 * elf.h: New file with ELF specific definitions.
27398 * elfos.h (const_section): Output a tab before assembler directives.
27399 (ctors_section, dtors_section): Likewise.
27400 (ASM_OUTPUT_SECTION_NAME): Likewise.
27402 * pa/pa1.h: Delete unused file.
27404 Tue Jun 29 01:37:53 1999 Jeffrey A Law (law@cygnus.com)
27406 * configure.in (hppa*-hp-hpux11*): New configuration.
27407 * configure: Rebuilt.
27408 * pa/pa-hpux11.h: New file.
27409 * pa.h (CPP_SPEC): Conditionally add -D__STDC_EXT__ to the cpp
27412 * mips.md (leasi, leadi): New patterns.
27414 * expr.c (emit_block_move): Properly handle case where one of the
27415 block move arguments has a queued increment or decrement.
27416 (clear_storage): Similarly. Fix formatting goof.
27418 1999-06-28 "David O'Brien" <obrien@NUXI.com>
27420 * fixinc/inclhack.def(stdio_va_list): This patch Removes a
27421 semicolon from the BSD VA_LIST replacement expression.
27423 * fixinc/inclhack.sh: regen
27424 * fixinc/fixincl.x: regen
27426 * fixinc/mkfixinc.sh: Have `i[34567]86-*-freebsd*' machines
27427 now use the fixincl program.
27429 Mon Jun 28 05:28:12 1999 Jeffrey A Law (law@cygnus.com)
27431 * m68k.h (CONDITIONAL_REGISTER_USAGE): Define for !SUN_FPA
27432 case. Also make the PIC register call_used.
27434 * m68k.h (FINALIZE_PIC): Delete.
27435 * m68k.c (finalize_pic): Delete.
27437 Mon Jun 28 05:16:35 1999 Richard Henderson <rth@cygnus.com>
27439 * m68k.h (PREFERRED_RELOAD_CLASS): Don't force any FP const_doubles
27442 Mon Jun 28 04:07:27 1999 David Edelsohn <edelsohn@gnu.org>
27444 * expmed.c (expand_divmod): Ensure unsigned value fits in reg_note.
27446 Sun Jun 27 02:39:08 1999 Richard Henderson <rth@cygnus.com>
27448 * jump.c (jump_optimize_1): Validate the cmov copy to a temporary.
27450 Sat Jun 26 17:18:18 1999 David Edelsohn <edelsohn@gnu.org>
27452 * rs6000.c (print_operand, case 'L'): Use plus_constant_for_output.
27454 Fri Jun 25 11:33:24 1999 Richard Henderson <rth@cygnus.com>
27456 * alpha.c (override_options): Add -mcpu=ev45 as an alias for ev4.
27458 Fri Jun 25 13:41:25 1999 David Edelsohn <edelsohn@gnu.org>
27460 * rs6000.c (output_toc): Always use hex values for floating-point
27461 constants. Store single-precision values in upper-half of TOC
27462 entry in 64-bit mode.
27463 * rs6000.md (floatsidf2, floatunssidf2): Add !TARGET_POWERPC64
27464 to final constraints.
27465 (fix_truncdfsi2 splitter): Change pattern matching fctiwz.
27466 (fctiwz): Improve accuracy of RTL for pattern.
27468 Fri Jun 25 11:26:38 1999 Gavin Romig-Koch <gavin@cygnus.com>
27470 * expr.c (expand_expr): Allow RTL_EXPR's through the
27471 MAX_INTEGER_COMPUTATION_MODE checks.
27473 Fri Jun 25 06:06:37 1999 Richard Henderson <rth@cygnus.com>
27475 * alpha.h (MASK_SUPPORT_ARCH, MASK_CPU_EV5, MASK_CPU_EV6): Define
27476 such that MASK_SUPPORT_ARCH is not negative.
27478 Fri Jun 25 05:35:44 1999 Jeffrey A Law (law@cygnus.com)
27480 * loop.c (verify_dominator): Properly handle ADDR_VEC and
27481 ADDR_DIFF_VEC insns that appear inside loops.
27483 Thu Jun 24 22:54:05 1999 David Edelsohn <edelsohn@gnu.org>
27484 Jeff Law <law@cygnus.com>
27486 * rs6000.md (movdf_hardfloat32): Revert previous patch.
27487 Handle LO_SUM the same as offsettable in cases 1 and 2.
27488 * rs6000.c (find_addr_reg): Revert previous patch.
27490 Thu Jun 24 22:43:12 1999 Philippe De Muyter <phdm@macqel.be>
27492 * system.h (strstr): New external function declaration.
27493 * acconfig.h (NEED_DECLARATION_STRSTR): New define slot.
27494 * configure.in (GCC_NEED_DECLARATIONS): Check for strstr.
27495 * config.in, configure: Rebuilt.
27497 1999-06-24 Tom Tromey <tromey@cygnus.com>
27499 * gcc.c (main): Read user-specified specs files after computing
27500 additional startfile_prefixes.
27502 Thu Jun 24 15:00:47 1999 Mark Mitchell <mark@codesourcery.com>
27504 Revert these two patches:
27506 Thu Jun 17 21:34:24 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
27507 * loop.c (strength_reduce): When doing biv->giv conversion, update
27508 reg note of NEXT->insn.
27510 Thu Jun 17 17:22:07 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
27511 * loop.c (strength_reduce): When doing biv->giv conversion, fix up
27513 (recombine_givs): Set ix field after sorting.
27515 Wed Jun 23 21:26:00 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
27517 * rtlanal.c (reg_referenced_p): Use reg_overlap_mentioned_p
27518 for the parts of an UNSPEC / UNSPEC_VOLATILE.
27520 1999-06-23 Bruce Korb <ddsinc09@ix.netcom.com>
27522 *fixinc/inclhack.def: Add fix development commentary
27523 (read_ret_type): reactivate and add selection clause
27524 (zzz_*): tweak output file name to match what is used in hackshell.tpl
27525 *fixinc/{fixincl.x|inclhack.sh}: regen
27527 Wed Jun 23 00:48:21 1999 Jason Merrill <jason@yorick.cygnus.com>
27529 * expr.c (expand_expr): STRIP_NOPS before checking against
27530 MAX_INTEGER_COMPUTATION_MODE
27531 (check_max_integer_computation_mode): Likewise.
27533 Tue Jun 22 20:23:43 1999 Jim Wilson <wilson@cygnus.com>
27535 * md.texi (smul@var{m}3_highpart): Add missing 's' prefix.
27537 1999-06-22 Jim Wilson <wilson@cygnus.com>
27539 * expr.c (store_expr): When target is a promoted subreg, return a
27540 promoted subreg as a result.
27542 Tue Jun 22 17:14:58 1999 Michael Meissner <meissner@cygnus.com>
27544 * dwarf2out.c (dwarf2out_frame_debug_expr): Reformat to match GNU
27546 (dwarf2out_define): Mark unused parameters appropriately.
27547 (gen_unspecified_parameters_die): Ditto.
27548 (gen_subprogram_die): Fix signed/unsigned warnings.
27549 (gen_variable_die): Ditto.
27551 1999-06-22 Bruce Korb <ddsinc09@ix.netcom.com>
27553 * fixinc/inclhack.def(end_else_label): combined else_label
27554 and endif_label and fixed the sed expression.
27555 *fixinc/{fixincl.x|inclhack.sh}: regen
27557 Tue Jun 22 01:58:18 1999 Jeffrey A Law (law@cygnus.com)
27559 * rs6000.md (movdf_hardfloat32): Use %X instead of always emitting
27560 'x' when handling non-offsettable addresses
27562 Tue Jun 22 00:20:05 1999 Richard Earnshaw (rearnsha@arm.com)
27564 * final.c (shorten_branches): Don't try to split an insn that has
27567 Mon Jun 21 12:47:39 1999 Mark Mitchell <mark@codesourcery.com>
27569 * config/mips/mips.c (symbolic_expression_p): New function.
27570 (mips_select_rtx_section): Put symbolic expressions in the
27571 data section, not the read-only data section.
27573 Mon Jun 21 22:13:06 1999 Jeffrey A Law (law@cygnus.com)
27575 * rs6000.md (find_addr_reg): Handle LO_SUM addresses.
27577 Mon Jun 21 20:10:42 1999 Richard Henderson <rth@cygnus.com>
27579 * collect2.c (main): Log frame table count.
27580 (GCC_OK_SYMBOL) [ECOFF]: Accept stGlobal.
27581 (scan_prog_file) [COFF]: Handle frame tables.
27583 * alpha/alpha.h (UNALIGNED_SHORT_ASM_OP): Define.
27584 (UNALIGNED_INT_ASM_OP, UNALIGNED_DOUBLE_INT_ASM_OP): Define.
27585 * alpha/elf.h: Undef them again.
27586 * alpha/vms.h: Remove their definitions.
27588 Tue Jun 22 03:17:53 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
27590 * sh.c (machine_dependent_reorg): When fixing up fp pcloads,
27591 remove the clobber of r0 and change the REG_UNUSED note to
27594 1999-06-21 Jakub Jelinek <jj@ultra.linux.cz>
27596 * real.c (ereal_from_double): Fix for 64-bit big endian hosts.
27597 * emit-rtl.c (gen_lowpart_common): Add case for hosts where double
27598 fits in HOST_WIDE_INT and one uses union to access a long constant
27601 Mon Jun 21 17:18:25 1999 Richard Henderson <rth@cygnus.com>
27603 * sparc.c (sparc_override_options): Don't allow profiling for
27604 code models other than medlow.
27605 (sparc_function_profiler): New function from old FUNCTION_PROFILER
27606 macro. Use ASM_GENERATE_INTERNAL_LABEL and MCOUNT_FUNCTION.
27607 (sparc_function_block_profiler): Likewise. Use user_label_prefix.
27608 (sparc_block_profiler): Likewise.
27609 (sparc_function_block_profiler_exit): Likewise.
27610 * sparc.h (FUNCTION_PROFILER): Call new sparc.c function.
27611 (FUNCTION_BLOCK_PROFILER): Likewise.
27612 (BLOCK_PROFILER): Likewise.
27613 (FUNCTION_BLOCK_PROFILER_EXIT): Likewise.
27614 (MCOUNT_FUNCTION): New.
27615 * sparc/pbd.h (FUNCTION_PROFILER): Delete.
27616 (FUNCTION_BLOCK_PROFILER, BLOCK_PROFILER): Delete.
27617 * sparc/sun4o3.h (FUNCTION_PROFILER): Delete.
27618 (MCOUNT_FUNCTION): New.
27619 * sparc/sysv4.h (FUNCTION_BLOCK_PROFILER): Delete.
27620 (BLOCK_PROFILER): Delete.
27621 (MCOUNT_FUNCTION): New.
27623 Mon Jun 21 14:11:29 1999 David Edelsohn <edelsohn@gnu.org>
27625 * rs6000.md (movdf_hardfloat32): Fix typo in case 2.
27627 Mon Jun 21 12:27:17 1999 Vladimir Makarov <vmakarov@tofu.to.cygnus.com>
27629 * config/mips/elf.h (BSS_SECTION_ASM_OP, ASM_OUTPUT_ALIGNED_BSS):
27632 * config/m68k/m68kelf.h (BSS_SECTION_ASM_OP, ASM_OUTPUT_ALIGNED_BSS):
27635 * config/sh/sh.h (BSS_SECTION_ASM_OP, ASM_OUTPUT_ALIGNED_BSS):
27638 * config/arm/telf.h (BSS_SECTION_ASM_OP, ASM_OUTPUT_ALIGNED_BSS):
27641 Mon Jun 21 14:58:42 1999 Nick Clifton <nickc@cygnus.com>
27643 * config/arm/arm.h: Add cpp support for ARM920 and ARM920T cpu
27646 Mon Jun 21 06:22:21 1999 Mark Elbrecht <snowball3@bigfoot.com>
27648 * i386/djgpp.h (LIB_SPEC): New.
27649 (STARTFILE_SPEC): New.
27651 * i386/xm-djgpp.h (NO_SYS_SIGLIST): Deleted. Now obsolete.
27653 Mon Jun 21 06:19:33 1999 Philippe De Muyter <phdm@macqel.be>
27655 * fixinc/Makefile.in (gnu-regex.o): Do not define STDC_HEADERS in
27658 * system.h (WSTOPSIG): New macro.
27660 Mon Jun 21 05:33:15 1999 Mumit Khan <khan@xraylith.wisc.edu>
27662 * c-pragma.c (push_alignment): Don't ignore alignments greater than
27664 (insert_pack_attributes): Take into account member natural
27667 * i386/winnt.c (exports_head): New static variable.
27668 (i386_pe_record_exported_symbol): New function.
27669 (i386_pe_asm_file_end): Use.
27670 * i386/cygwin.h (ASM_OUTPUT_COMMON): Record the exported
27671 symbols to be emitted at end of assembly.
27672 (ASM_DECLARE_OBJECT_NAME): Likewise.
27673 (ASM_DECLARE_FUNCTION_NAME): Likewise.
27675 * i386/uwin.h (CPP_SPEC): Use -idirafter instead -iprefix and
27678 Mon Jun 21 04:44:31 1999 Jeffrey A Law (law@cygnus.com)
27680 * sparc.h (LEGITIMIZE_RELOAD_ADDRESS): Fix paren error introduced
27683 Sun Jun 20 17:27:20 1999 Richard Henderson <rth@cygnus.com>
27685 * haifa-sched.c (sched_analyze_1): Use free_list instead of
27686 zapping reg_last_uses directly.
27687 (sched_analyze_2, sched_analyze_insn): Likewise.
27688 (sched_analyze): Likewise. Don't clear reg_last_uses on calls.
27690 Sun Jun 20 16:57:29 1999 David Edelsohn <edelsohn@gnu.org>
27692 * rs6000.md (movdf_hardfloat32): Use worst case insn length
27693 attributes for cases 1 and 2.
27695 Sat Jun 19 22:52:55 1999 Richard Henderson <rth@cygnus.com>
27697 * haifa-sched.c (sched_analyze): Mark call-user regs as clobbered
27700 Sat Jun 19 05:40:07 1999 Philip Blundell <pb@nexus.co.uk>
27702 * arm.c (arm_reload_in_hi): Invert sense of test on BYTES_BIG_ENDIAN.
27704 Sat Jun 19 05:25:05 1999 Richard Earnshaw (rearnsha@arm.com)
27706 * arm.h (CONDITIONAL_REGISTER_USAGE): If flag_pic, never use
27707 PIC_OFFSET_TABLE_REGNUM for general alloaction.
27708 (INITIAL_ELIMINATION_OFFSET): Count the fact that the PIC register
27709 must be stacked if it is used for PIC accesses.
27710 * arm.c (use_return_insn): Handle PIC register specially.
27711 (output_return_instruction): Likewise.
27712 (output_func_{prologue,epilogue}): Likewise.
27713 (output_expand_prologue): Likewise.
27715 * arm.md (*adddf_esfdf_df): Renamed from *adddf_df_esfdf.
27716 (*strsi_predec): Renamed from *strqi_predec.
27717 (*loadsi_shiftpreinc): Renamed from *loadqi_shiftpreinc.
27718 (*loadsi_shiftpredec): Renamed from *loadqi_shiftpredec.
27720 * arm.c (arm_override_options): Remove warning about PIC code
27721 not being supported.
27723 Fri Jun 18 23:47:06 1999 David Edelsohn <edelsohn@gnu.org>
27725 * rs6000.c (find_addr_reg): New function.
27726 * rs6000.h (find_addr_reg): Declare.
27727 (offsettable_addr_operand): Delete.
27728 * rs6000.md (movdf_hardfloat32): Handle non-offsettable loads
27729 from and stores to GPRs.
27731 Fri Jun 18 15:44:18 1999 Richard Henderson <rth@cygnus.com>
27733 * alpha.c (alpha_expand_block_move): Use get_insns rather than
27734 gen_sequence as argument to emit_no_conflict_block.
27736 Fri Jun 18 07:02 1999 Bruce Korb <ddsinc09@ix.netcom.com>
27738 * fixinc/mkfixinc.sh: enable the fixincl program for DG/UX
27739 * fixinc/inclhack.def(dgux_int_varargs): script must end with \n
27740 *fixinc/fixincl.x: regen
27741 *fixinc/inclhack.sh: regen
27743 Thu Jun 17 15:06:10 PDT 1999 Don Lindsay <dlindsay@cygnus.com>
27745 * added support for -mpcrel (PC relative addressing for m68k)
27746 based on code done by Michael Tiemann <tiemann@axon.cygnus.com>.
27747 * invoke.texi (m68000 options): Add documentation for -mpcrel flag.
27748 * m68k.c (print_operand_address): Handle 32-bit PIC case.
27749 (comments for general_src_operand): Add some explanation
27750 about EXTRA_CONSTRAINTS.
27751 (OVERRIDE_OPTIONS): Enable -fPIC in combination with -mpcrel.
27752 * m68kelf.h (OVERRIDE_OPTIONS): Ditto.
27753 (LEGITIMATE_PIC_OPERAND_P): Fix typo.
27754 (LEGITIMATE_PIC_OPERAND_P): Re-derive from m68k.h case.
27755 * m68k.h (LEGITIMATE_PIC_OPERAND_P): Fix delete-o.
27756 (INDIRECTABLE_1_ADDRESS): Delete spurious '/' at end of macro.
27757 (OVERRIDE_OPTIONS): Change behavior so that -mpcrel implies -fpic
27758 if not already set.
27759 (OVERRIDE_OPTIONS): Merge in changes from m68k.h.
27760 * m68k.h (TARGET_PCREL): New target flag.
27761 (TARGET_SWITCHES): Add "pcrel" as a recognized switch.
27762 (OVERRIDE_OPTIONS): Add checks for -mpcrel.
27763 (LEGITIMATE_PIC_OPERAND_P): Don't normally accept anything that
27764 contains a SYMBOL_REF. Relax this constraint during reload, since
27765 we want to use the predicates, not reload's built-in concept of a
27766 valid memory address, to control what insns need reloading.
27767 (EXTRA_CONSTRAINT): Define constraints to accept pc-relative
27768 operands (essentially 'g', 'm', and 's' under normal circumstances).
27769 * m68k.c (print_operand): Cause printing of pc-relative addresses
27770 to include pc register.
27771 (print_operand_address): Ditto.
27772 (general_src_operand): Accept operands that are not only
27773 general_operands, but are also valid when used as a pc-relative
27775 (nonimmediate_src_operand): Similar, for nonimmediate_operands.
27776 (memory_src_operand): Similar, for memory_operands.
27777 (pcrel_address): New predicate to accept the special case of a
27778 pc-relative address.
27779 * m68k.md (many patterns): Rewrite common SImode, HImode, and
27780 QImode insns to accept *_src_operand instead of *_operand where
27781 pc-relative operands can fit. For example, a pc-relative operand
27782 can be used as a memory source operand for addsi3, but not as a
27783 memory destination.
27784 * hp320.h linux.h m68kv4.h (LEGITIMATE_PIC_OPERAND_P) as in m68k.h.
27786 Fri Jun 18 09:11:07 1999 Nick Clifton <nickc@cygnus.com>
27788 * config/arm/telf.h (ASM_OUTPUT_DEF_FROM_DECLS): New Marco: USe
27789 .thumb_set pseudo op to mark aliases of thumb functions.
27791 Wed Jun 16 18:19:13 1999 Nick Clifton <nickc@cygnus.com>
27793 * varasm.c (assemble_alias): Use ASM_OUTPUT_DEF_FROM_DECLS in
27794 preference to ASM_OUTPUT_DEF, if it is defined.
27796 * tm.texi: Document new, optional target macro
27797 ASM_OUTPUT_DEF_FROM_DECLS.
27799 Thu Jun 17 15:07 1999 Bruce Korb <ddsinc09@ix.netcom.com>
27801 * fixincludes: ISCNTL patch
27802 * fixinc/inclhack.def (ioctl_fix_ctrl): Fix the definition of [_]*ISCTRL().
27803 (dgux_int_varargs): new for DG/UX
27804 * fixinc/{fixincl.x,inclhack.sh}: Regenerated.
27806 Thu Jun 17 21:34:24 1999 Jeff Law <law@cygnus.com>
27808 * invoke.texi (ia32 options): Fix typo.
27810 Thu Jun 17 21:34:24 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
27812 * loop.c (strength_reduce): When doing biv->giv conversion, update
27813 reg note of NEXT->insn.
27815 Thu Jun 17 14:25:08 1999 Jeffrey A Law (law@cygnus.com)
27817 * loop.c (move_movables): Note issues with replacing REGs with
27819 * mips.h (GO_IF_LEGITIMATE_ADDRESS): Handle SUBREGs properly.
27821 Thu Jun 17 13:28:30 1999 David O'Brien <obrien@FreeBSD.org>
27823 * i386/freebsd-elf.h (LINK_SPEC): Fix typo.
27825 * i386/freebsd-elf.h (FUNCTION_PROFILER): labels are not needed and
27826 the reference to `mcount' was not correct for the ELF on FreeBSD.
27828 Thu Jun 17 17:22:07 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
27830 * loop.c (strength_reduce): When doing biv->giv conversion, fix up
27833 (recombine_givs): Set ix field after sorting.
27835 Thu Jun 17 02:54:30 1999 Jeffrey A Law (law@cygnus.com)
27837 * emit-rtl.c (operand_subword): Tighten checks for when it is safe
27838 to safe to extract a subword out of a REG.
27840 Thu Jun 17 01:45:24 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
27842 * sh.md (mulsi3): Don't add a no-op move at the end.
27844 Wed Jun 16 20:29:00 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
27846 * cse.c (cse_insn): Don't put hard register source into tables for
27847 the last insn of a libcall.
27849 Wed Jun 16 19:44:33 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
27851 * loop.c (strength_reduce): Insert sets of derived givs at every
27852 biv increment, even if it's the only one.
27854 Wed Jun 16 10:33:02 1999 Jason Merrill <jason@yorick.cygnus.com>
27856 * dwarfout.c (add_incomplete_type): New fn.
27857 (output_type): Call it.
27858 (retry_incomplete_types): New fn.
27859 (dwarfout_finish): Call it.
27861 From Eric Raskin <ehr@listworks.com>:
27862 (output_type): Output types for bases.
27864 Tue Jun 15 12:51:23 1999 Alexandre Oliva <oliva@dcc.unicamp.br>
27866 * mips.c (mips_output_conditional_branch): Add `break'
27867 between `default' label and `close braces'.
27869 Tue Jun 15 01:55:20 1999 David O'Brien <obrien@FreeBSD.org>
27871 * i386/freebsd-elf.h (LINK_SPEC): clean up the linking library
27872 specifications and make it realistic.
27873 (LIB_SPEC): Likewise.
27875 Mon Jun 14 15:38:43 1999 Jim Wilson <wilson@cygnus.com>
27877 * config/mips/mips.c (mips_secondary_reload_class): Check for
27878 (PLUS (SP) (REG)) and return appropriate register class.
27879 * config/mips/mips.md (reload_insi): Delete predicate for operand 1.
27880 Handle (PLUS (SP) (REG)).
27881 (tablejump): In mips16 code, use emit_insn instead of emit_jump_insn.
27882 (tablejump_mips161, tablejump_mips162): Use emit_jump_insn instead
27883 of emit_insn for tablejump.
27885 Mon Jun 14 17:26:40 1999 David Edelsohn <edelsohn@gnu.org>
27887 * rs6000.c (output_prolog): RS6000_CALL_GLUE must be
27888 asm_fprintf format string by itself.
27889 (output_function_profiler): Likewise.
27891 Mon Jun 14 12:57:38 1999 David Mosberger <davidm@hpl.hp.com>
27893 * combine.c (simplify_logical, case AND): Only call
27894 simplify_and_const_int if the mode is no wider than HOST_WIDE_INT
27895 or the constant is positive.
27897 Mon Jun 14 11:43:41 1999 Nick Clifton <nickc@cygnus.com>
27899 * configure.in: Fix typo in rs6000-ibm-aix4 case.
27900 * configure: Regenerate.
27902 Mon Jun 14 03:55:40 1999 Jeffrey A Law (law@cygnus.com)
27904 * configure.in (rs6000-ibm-aix4.3*, powerpc-ibm-aix4.3*): Do not
27905 require a sub-version #.
27906 * configure: Rebuilt.
27908 1999-06-14 Robert Lipe (robertlipe@usa.net)
27910 * svr4.h (DWARF2_DEBUGGING_INFO): Check for redefinition.
27912 Mon Jun 14 10:30:52 BST 1999 Nathan Sidwell <nathan@acm.org>
27914 * c-typeck.c (process_init_element): Detect excess elements in
27915 char array initializer.
27917 1999-06-14 Andreas Jaeger <aj@arthur.rhein-neckar.de>
27919 * gcc.texi: Mention gcc 2.96 instead of egcs 1.00.
27921 Sat Jun 12 22:29:48 EDT 1999 Jerry Quinn <jquinn@nortelnetworks.com>
27923 * invoke.texi (Option Summary): Add -fpermissive flag.
27925 Sat Jun 12 03:40:42 1999 Jeffrey A Law (law@cygnus.com)
27927 * sparc.h (LEGITIMIZE_RELOAD_ADDRESS): Do nothing with operands
27928 that require PIC code sequences.
27930 Wed Jun 9 16:29:01 1999 Nick Clifton <nickc@cygnus.com>
27932 * configure.in: Add new target: thumb-elf.
27933 * configure: Regenerate.
27934 * config/arm/t-thumb-elf: New file: Makefile fragment for
27936 * config/arm/telf.h: New file: Header file for thumb-elf
27939 Fri Jun 11 03:17:51 1999 Jeffrey A Law (law@cygnus.com)
27941 * Makefile.in (libgcc2): Pass MAYBE_USE_COLLECT2 as an argument.
27942 * libgcc2.c (__CTOR_LIST, __DTOR_LIST); Do not provide
27943 initializers is some circumstances.
27945 * fixinc/inclhack.def (endif_label): Add additional selector for
27946 more bogus stuff after #endif statements.
27947 * fixinc/inclhack.sh, fixinc/fixincl.x: Rebuilt.
27949 Thu Jun 10 20:44:36 1999 Mumit Khan <khan@xraylith.wisc.edu>
27951 * i386/cygwin.h (SET_ASM_OP): Define.
27953 Thu Jun 10 20:37:57 1999 Mumit Khan <khan@xraylith.wisc.edu>
27955 * reg-stack.c (stack_reg_life_analysis): Find all the RETURN insns.
27957 Thu Jun 10 19:23:00 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
27959 * sh.h (TARGET_HARWARD, TARGET_HARVARD): Changed the former to the
27962 * sh.md (ic_invalidate_line_i): Remove second alternative.
27964 Thu Jun 10 06:55 1999 Bruce Korb <ddsinc09@ix.netcom.com>
27966 *fixinc/inclhack.def(sun_auth_proto): We do not know how to
27967 test for the presence of valid prototypes. Delete bypass expr.
27968 (ioctl_fix_ctrl): Correct the selection expression.
27969 (no_double_slash): Correct quoting rules
27970 *fixinc/fixincl.x: regen
27971 *fixinc/inclhack.sh: regen
27973 Thu Jun 10 15:08:15 1999 Nick Clifton <nickc@cygnus.com>
27975 * config/arm/arm.c (struct all_cores): Add ARM920 and ARM920t.
27977 Wed Jun 9 15:57:57 1999 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
27979 * rs6000.md (movsi_got_internal_mem): Delete.
27980 * rs6000.h (CONDITIONAL_REGISTER_USAGE): Mark PIC_OFFSET_TABLE_REGNUM.
27981 (GOT_TOC_REGNUM): Delete.
27982 (PIC_OFFSET_TABLE_REGNUM): Define.
27983 (FINALIZE_PIC): Disable.
27984 * rs6000.c (rs6000_got_register): New code for fixed pic register.
27985 (rs6000_replace_regno): Delete.
27986 (rs6000_finalize_pic): Likewise.
27987 (output_prolog): Handle PIC_OFFSET_TABLE_REGNUM.
27989 Wed Jun 9 19:44:26 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
27991 * loop.c (loop_insn_first_p): Don't compare LUIDs when P
27992 is a note; use <= for the compare; advance P while it is
27995 Wed Jun 9 13:12:24 1999 Jeffrey A Law (law@cygnus.com)
27997 * fixinc/inclhack.def (no_double_slash): Fix quoting for test.
27998 * fixinc/inclhack.sh, fixinc/fixincl.x, fixinc/fixincl.sh; Rebuilt.
28000 * varasm.c (remove_from_pending_weak_list): Verify t->name
28001 is non-NULL before passing it to strcmp.
28003 Wed Jun 9 06:50 1999 Bruce Korb <ddsinc09@ix.netcom.com>
28005 *fixinc/inclhack.def(sun_auth_proto): bypass the patch if
28006 the typed arguments are not part of a comment
28007 (ioctl_fix_ctrl): Added a purpose comment
28008 *fixinc/fixincl.x: regenerate
28009 *fixinc/inclhack.sh: regenerate
28011 Wed Jun 9 22:57:02 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
28013 * invoke.texi: Add C4x invocation docs.
28015 Wed Jun 9 22:34:38 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
28017 * config/c4x/c4x.h (TARGET_EXPOSE_LDP, LEGITIMIZE_RELOAD_ADDRESS):
28019 * config/c4x/c4x.c (c4x_emit_move_sequence, src_operand): Use
28021 (c4x_legitimize_reload_address): New function.
28022 * config/c4x/c4x.md: Update docs.
28024 Wed Jun 9 04:14:48 1999 Jeffrey A Law (law@cygnus.com)
28026 * fixincludes: Avoid removing '.'.
28027 * fixinc/fixinc.svr4: Likewise.
28028 * fixinc/fixinc.winnt: Likewise.
28029 * fixinc/inclhack.tpl: Likewise.
28030 * fixinc/fixincl.sh, fixinc/inclhack.sh: Rebuilt.
28032 1999-06-09 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
28034 * fixinc/inclhack.def (sun_catmacro): Escape parens in the select
28036 * fixinc/fixincl.x, fixinc/inclhack.sh: Rebuilt.
28038 Wed Jun 9 03:10:34 1999 Mumit Khan <khan@xraylith.wisc.edu>
28040 * c-pragma.c (handle_pragma_token): Handle `#pragma pack()'
28043 Tue Jun 8 13:06:15 1999 Jim Wilson <wilson@cygnus.com>
28045 * configure.in (rs6000-ibm-aix4.[12]*): Change rx6000 to rs6000.
28046 * configure: Regenerate.
28048 Tue Jun 8 05:47:48 1999 Richard Earnshaw (rearnsha@arm.com)
28050 * optabs.c (expand_cmplxdiv_wide): Use expand_abs to get the absolute
28053 Mon Jun 7 22:30:37 1999 Jeffrey A Law (law@cygnus.com)
28055 * fixinc/inclhack.def (avoid_bool): Also catch
28056 "typedef [unsigned] int bool".
28057 * fixinc/inclhack.sh, fixinc/fixincl.x, fixinc/fixincl.sh: Rebuilt.
28059 * m68k/x-hp3bsd44: Delete obsolete and incorrect file.
28060 * configure.in (m68k-hp-bsd4.4): No longer use x-hp3bsd44.
28061 * configure: Rebuilt.
28063 Mon Jun 7 22:05:03 1999 Mark Kettenis <kettenis@gnu.org>
28065 * config/i386/gnu.h: Include <gnu.h> right after <i386/linux.h>,
28066 such that we can override its definitions if necessary.
28067 (CPP_SPEC): New define. Support processor specific predefines via
28069 (CC1_SPEC): New define. Support processor specific compiler
28070 options via %(cc1_cpu).
28071 (STARTFILE_SPEC): New define. Use crt0.o instead of crt1.o for
28074 1999-06-07 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
28076 * fixinc/inclhack.def (math_gcc_ifndefs): Insert whitespace
28077 between sed's -e flag, and the open-quote following it.
28078 * fixinc/fixincl.x, fixinc/fixincl.sh: Rebuilt.
28080 Mon Jun 7 20:34:20 1999 Robert Lipe <robertlipe@usa.net>
28081 Jeffrey A Law (law@cygnus.com)
28083 * varasm.c (assemble_start_function): Remove the function
28084 from the pending weak decls list when we define a function.
28085 (assemble_variable): Similarly for variables.
28086 (weak_finish): Ignore items on the list with a NULL name.
28087 (remove_from_ending_weak_list); New function to "remove" an item
28088 from the pending weak declarations list.
28090 Mon Jun 7 19:27:07 1999 Jerry Quinn <jquinn@nortelnetworks.com>
28092 * pa.md (fmpyfadd, fmpynfadd, fnegabs): New patterns.
28094 Mon Jun 7 14:07:39 1999 Dave Brolley <brolley@cygnus.com>
28096 * c-lex.c (GETC): Redefine to call getch.
28097 (UNGETC): Redefine to call put_back.
28098 (putback_buffer): New structure type.
28099 (putback): New static structure.
28100 (getch): New function.
28101 (put_back): New function.
28102 (yylex): Replace unused bytes from bad multibyte character.
28104 Mon Jun 7 13:33:39 1999 Dave Brolley <brolley@cygnus.com>
28106 * cpplib.c (do_define): Cast `alloca' return value.
28107 (do_include, do_undef, do_pragma): Likewise.
28108 * cpphash.c (dump_definition): Cast `xstrdup' and `alloca' return
28110 * cppfiles.c (initialize_input_buffer): Cast `xmalloc' return values.
28111 * gcc/cppspec.c (lang_specific_driver): Cast xmalloc return value.
28113 Sun Jun 6 11:58:34 1999 Jakub Jelinek <jj@ultra.linux.cz>
28115 * sparc.md (abstf2): This should be an expand.
28116 (split after abstf2_notv9): Fix mode.
28117 (abstf2_hq_v9): New pattern.
28118 (abstf2_v9): Only use when no hard quad.
28119 (absdf2_v9): Fix if target is not the same as source.
28120 (ashrsi3_extend, ashrsi3_extend2, lshrsi3_extend, lshrsi3_extend2):
28121 Add correct output constraints.
28123 Sat Jun 5 17:04:16 1999 Craig Burley <craig@jcb-sc.com>
28125 From Dave Love to egcs-patches on 20 May 1999 17:38:38 +0100:
28126 * invoke.texi: Clarify text vis-a-vis Intel CPUs.
28128 Sat Jun 5 12:11:24 1999 Mark Mitchell <mark@codesourcery.com>
28130 * mips.h (mips_output_conditional_branch): New function.
28131 (mips_adjust_insn_length): Likewise.
28132 (ASSEMBLER_SCRATCH_REGNUM): New macro.
28133 (ADJUST_INSN_LENGTH): Likewise.
28134 * mips.c (print_operand): Add `F' and `W' for floating-point
28135 comparison opcodes.
28136 (machine_dependent_reorg): Adjust MIPS16 code; instruction-lengths
28138 (mips_adjust_insn_length): New function.
28139 (mips_output_conditional_branch): New function.
28140 * mips.md (length): Adjust attribute definition to handle
28141 conditional branches. Change lengths to bytes, rather than
28142 instructions throughout. Remove length attribute from
28143 instructions whose length is four bytes, and rely on the default
28145 (dslot): Fix typo in comment.
28146 Reword conditional branch patterns to use
28147 mips_output_conditional_branch.
28149 Fri Jun 4 13:30:27 1999 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
28151 * alpha/osf.h (CPP_SUBTARGET_SPEC): Handle -threads.
28152 (LIB_SPEC): Likewise.
28153 Link with -lprof1_r for -g/-pg.
28155 1999-06-04 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
28157 * loop.c (check_dbra_loop): Fix change of Jan 19.
28159 Fri Jun 4 00:12:40 1999 Marc Espie <espie@cvs.openbsd.org>
28161 * freebsd-elf.h (SWITCH_TAKES_ARG): Redefine, not define.
28162 (STARTFILE_SPEC): Define, override the svr4.h version.
28163 (ENDFILE_SPEC): Likewise.
28165 Thu Jun 3 23:58:55 1999 Jeffrey A Law (law@cygnus.com)
28167 * fixinc/inclhack.def (limits_ifndefs): Also apply to sys/limits.h
28168 * fixinc/fixincl.x: Regenerated.
28169 * fixinc/inclhack.sh: Regenerated.
28171 Fri Jun 4 05:42:23 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
28173 * sh.c (barrier_align): Don't return early for normal branch/barrier
28174 when optimizing for SH2.
28176 Thu Jun 3 22:27:50 1999 Robert Lipe <robertlipe@usa.net>
28178 * i386/udk.h (LINK_SPEC): Correct linker search path for
28181 Fri Jun 4 03:20:40 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
28183 * sh.c (fixup_addr_diff_vecs): Emit braf reference label.
28184 (braf_label_ref_operand): Delete.
28185 * sh.h (PREDICATE_CODES): Remove braf_label_ref_operand.
28186 * sh.md (casesi_jump_2): Operand1 is now the inside of a
28187 label_ref, and has no predicate.
28188 The patten has a predicate to guard against invalid substitutions.
28189 (dummy_jump): Delete.
28190 (casesi): Update use of casesi_jump_2.
28192 Thu Jun 3 07:48 1999 Bruce Korb <ddsinc09@ix.netcom.com>
28194 *fixinc/inclhack.def(Io_Def_Quotes): corrected sed expression
28195 *fixinc/fixincl.x: regenerate
28196 *fixinc/inclhack.sh: regenerate
28198 Thu Jun 3 02:15:07 1999 Jason Merrill <jason@yorick.cygnus.com>
28200 * dwarf2out.c (add_incomplete_type): New fn.
28201 (gen_struct_or_union_type_die): Call it.
28202 (retry_incomplete_types): New fn.
28203 (dwarf2out_finish): Call it.
28205 Thu Jun 3 01:19:03 1999 Jeffrey A Law (law@cygnus.com)
28207 * gcse.c (insert_insn_end_bb): Correct placement of insns when the
28208 current block starts with a CODE_LABEL and ends with a CALL and
28209 we can not find all the argument setup instructions for the CALL.
28211 Wed Jun 2 15:44:15 1999 Mark Mitchell <mark@codesourcery.com>
28213 Revert this change:
28214 * fold-const.c (fold): STRIP_NOPS when deciding whether or not
28215 something is a candidate for optimize_bit_field_compare.
28217 Wed Jun 2 21:53:05 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
28219 * sh.h (CONST_OK_FOR_I, CONST_OK_FOR_L): Cast VALUE to HOST_WIDE_INT.
28221 Wed Jun 2 12:25:55 1999 Richard Henderson <rth@cygnus.com>
28223 * alpha.c (override_options): Thinko in last patch.
28225 * alpha/osf.h (CPP_SUBTARGET_SPEC): Define.
28226 (LIB_SPEC): Recognize -pthread.
28228 Wed Jun 2 08:42:55 1999 Nick Clifton <nickc@cygnus.com>
28230 * config/arm/tcoff.h (USER_LABEL_PREFIX): Synchronise with
28231 definition in config/arm/coff.h
28232 * config/arm/coff.h: Add comment about USER_LABEL_PREFIX.
28234 Wed Jun 2 07:07 1999 Bruce Korb <ddsinc09@ix.netcom.com>
28236 * fixinc/fixincl.c(global def): Add FD_SHELL_SCRIPT to mark
28237 fixes that need "file=xxx\n" prepended before invocation
28238 (start_fixer - new): starting the fixer process is complex enough
28239 to warrent its own routine. It prepends the "file=xxx\n" stuff.
28240 (process): uses the new routine; omit usage of putenv()
28241 * fixinc/fixincl.tpl: mark shell scripts with FD_SHELL_SCRIPT
28242 * fixinc/fixincl.x: regenerate
28244 Wed Jun 2 02:29:07 1999 Jeffrey A Law (law@cygnus.com)
28246 * README, configure.in, gcc.1, gcc.texi: Update name (egcs -> gcc)
28247 and version #s (1.1 -> 2.96) as needed.
28248 * README.g77: Kill way out of date file in the toplevel directory.
28250 Wed Jun 2 00:52:34 1999 David O'Brien <obrien@FreeBSD.org>
28252 * configure.in (i[34567]86-*-freebsdelf): Don't include linux.h,
28253 i386/freebsd-elf.h no longer requires it. Instead include svr4.h.
28254 * configure: Rebuilt.
28255 * i386/freebsd-elf.h (DEFAULT_VTABLE_THUNKS): Define.
28256 (ASM_COMMENT_START, ASM_APP_ON, ASM_APP_OFF, SET_ASM_OP): Likewise.
28257 (PREFERRED_DEBUGGING_TYPE, WCHAR_UNSIGNED): Likewise.
28258 (SWITCH_TAKES_ARG): Likewise.
28259 * i386/freebsd.h: Remove FREEBSD_NATIVE support.
28260 * config/t-freebsd: Moved from config/i386/ so it can used for all
28263 Mon May 31 02:22:55 1999 Philippe De Muyter <phdm@macqel.be>
28265 * m68k/x-mot3300 (XCFLAGS): Fixed to match stb.o, not f/stb.o.
28267 Wed Jun 2 00:08:34 1999 Robert Lipe <robertlipe@usa.net>
28269 * configure.in (i[34567]86-*-udk*): Install headers with cpio.
28270 * configure: Rebuilt.
28272 Tue Jun 1 19:06:22 1999 David Edelsohn <edelsohn@gnu.org>
28274 * rs6000/aix41.h (RS6000_CALL_GLUE): Define.
28275 * rs6000/aix43.h (RS6000_CALL_GLUE): Likewise.
28276 * rs6000/rs6000.c (rs6000_file_start): Use putc.
28277 (rs6000_output_load_toc_table): Same.
28278 (output_prolog, output_mi_thunk): Same.
28279 * rs6000/rs6000.h (SELECT_SECTION): Formatting.
28280 (ASM_GLOBALIZE_LABEL): Use putc.
28282 Mon May 31 15:23:23 1999 Richard Henderson <rth@cygnus.com>
28284 * alpha.md (reload_*_help): New patterns and splitters.
28285 (reload_*): Use them.
28286 (mov[qh]i): Likewise.
28288 Mon May 31 11:48:07 1999 Mark Mitchell <mark@codesourcery.com>
28290 * cccp.c (handle_directive): Handle backslash-newlines in quoted
28293 Mon May 31 09:36:11 1999 Cort Dougan <cort@cs.nmt.edu>
28295 * rs6000/linux.h (LINK_SPEC): Use emulation elf32ppclinux.
28297 Mon May 31 11:40:20 EDT 1999 John Wehle (john@feith.com)
28299 * flow.c (mark_regs_live_at_end, insn_dead_p,
28300 mark_set_1, mark_used_regs): Only give FRAME_POINTER_REGNUM
28301 and HARD_FRAME_POINTER_REGNUM special treatment if reload
28302 hasn't run or the frame pointer is needed.
28303 * haifa-sched.c (attach_deaths): Likewise.
28304 * sched.c (attach_deaths): Likewise.
28306 Mon May 31 00:46:17 1999 Jeffrey A Law (law@cygnus.com)
28308 * jump.c (jump_optimize_1): Only set CAN_REACH_END if
28309 calculate_can_reach_end returns nonzero.
28311 * configure.in (native gas tests): Search for an assembler in the
28312 same manner that the installed compiler will.
28313 * configure: Rebuilt.
28314 * tm.texi (MD_EXEC_PREFIX): Note need to update configure.in too.
28316 * alias.c (find_base_term): Improve handling of addresses
28317 constructed from binary operations.
28319 Sun May 30 14:29:17 1999 Eric Raskin (ehr@listworks.com)
28321 * dgux.h (STARTFILE_SPEC): Fix incorrectly matched curly-braces.
28323 Sun May 30 14:19:13 1999 Jeffrey A Law (law@cygnus.com)
28325 * function.h (cleanup_label, frame_offset): Declare.
28326 (tail_recursion_label, tail_recursion_reentry): Likewise.
28327 (arg_pointer_save_area, rtl_expr_chain): Likewise.
28328 * stmt.c (cleanup_label, frame_offset): Delete extern declarations.
28329 (tail_recursion_label, tail_recursion_reentry): Likewise.
28330 (arg_pointer_save_area, rtl_expr_chain): Likewise.
28332 Sat May 29 19:08:10 1999 Philip Blundell <philb@gnu.org>
28334 * config/arm/aout.h (ASM_OUTPUT_ALIGN): Only define if not already
28336 * config/arm/elf.h (ASM_OUTPUT_ALIGN): Define.
28337 (MAX_OFILE_ALIGNMENT): Define.
28339 Fri May 28 21:40 1999 Robert Lipe <robertlipe@usa.net>
28341 * fixincl.c: Replace local include scheme with #includes of
28342 gansidecl.h and system.h.
28343 * procopen.c: Likewise.
28344 * server.c: Likewise.
28346 Fri May 28 03:47:03 1999 Eric Raskin (ehr@listworks.com)
28348 * i386/t-dgux (EXTRA_PARTS): Add crti.o
28349 (crti.o): Add build rule and dependencies.
28350 * fixinc/fixinc.dgux: Use modified _int_varargs.h
28352 Fri May 28 03:41:02 1999 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
28354 * rs6000/sysv4.h (CC1_SPEC): Add support for -profile
28355 (LIB_LINUX_SPEC): Likewise.
28356 (LIB_LINUX_SPEC): Add support for -pthread
28357 (CPP_OS_LINUX_SPEC): Likewise.
28358 (CPP_SYSV_SPEC): Avoid redefinitions if both -fpic and -fPIC are
28361 Thu May 27 13:04:52 1999 H.J. Lu (hjl@gnu.org)
28363 * i386.c (output_fp_cc0_set): Don't check the JUMP_INSN code for
28365 (notice_update_cc, output_float_compare): Enable TARGET_CMOVE support.
28366 (output_float_compare, output_fp_cc0_set): Fix the FLOAT comparison
28367 for IEEE math and CC_FCOMI.
28368 (put_jump_code): No IEEE if CC_FCOMI is set.
28370 1999-05-27 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
28372 * fold-const.c (fold_truthop): Make the field reference unsigned
28373 when converting a single bit compare.
28375 Thu May 27 02:40:48 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
28377 * loop.c (strength_reduce): Don't do biv->giv conversion on constants.
28379 Thu May 27 02:09:27 1999 Jeffrey A Law (law@cygnus.com)
28381 * varasm.c (STRIP_NAME_ENCODING): Remove default definition.
28382 * output.h (STRIP_NAME_ENCODING): Strip '*' like the old varasm
28385 * reload.c (push_reload): Do not call remove_address_replacements
28386 when presented with identical optional reloads.
28388 Wed May 26 14:18:05 1999 Richard Henderson <rth@cygnus.com>
28390 * alpha.h (MASK_FIX, TARGET_FIX): New.
28391 (MASK_*): Reorganize constants.
28392 (CPP_AM_FIX_SPEC): New.
28393 (TARGET_SWITCHES): Add FIX.
28394 (EXTRA_SPECS): Likewise.
28395 (CPP_CPU_EV6_SPEC): Use FIX, not CIX.
28396 (SECONDARY_MEMORY_NEEDED): Likewise.
28397 (REGISTER_MOVE_COST): Likewise.
28398 * alpha.c (override_options): Add FIX support. Always use
28399 ALPHA_TP_PROG for ev6.
28400 * alpha.md (sqrt and mov[sd]i patterns): Use FIX, not CIX.
28401 * alpha/elf.h (ASM_FILE_START): Look at FIX too.
28402 * configure.in (target_cpu_default2) [ev6]: Use FIX, not CIX.
28404 Wed May 26 09:53:05 1999 Mark Mitchell <mark@codesourcery.com>
28406 * fold-const.c (fold): STRIP_NOPS when deciding whether or not
28407 something is a candidate for optimize_bit_field_compare.
28409 Wed May 26 09:40:02 1999 Mark Mitchell <mark@codesourcery.com>
28411 * gcc.texi (Passes): Document branch-shortening.
28412 * invoke.texi (Debugging Options): Document the fact that `-dp'
28413 outputs length information for instructions.
28415 Wed May 26 08:49:31 1999 Nick Clifton <nickc@cygnus.com>
28417 * flow.c: Revert previous delta.
28419 Wed May 26 06:05:10 1999 Nick Clifton <nickc@cygnus.com>
28421 * flow.c (insn_dead_p): Check against frame_pointer_rtx not
28422 FRAME_POINTER_REGNUM.
28423 (mark_set_1): Ditto.
28424 (mark_used_regs): Ditto.
28426 Wed May 26 02:19:31 1999 Philip Blundell <pb@nexus.co.uk>
28428 * arm.h (NEED_PLT_GOT): Fix mistake in last change.
28429 (GOT_PCREL): New macro. Define to 1 if not already defined.
28430 * arm/elf.h (GOT_PCREL): Define to 0.
28431 * arm.c (arm_finalize_pic): Take into account the setting of
28434 Tue May 25 14:06:06 1999 Jeffrey A Law (law@cygnus.com)
28436 * output.h (STRIP_NAME_ENCODING): Provide default definition.
28437 * dwarf2out.c (ASM_NAME_TO_STRING): Use STRIP_NAME_ENCODING.
28439 * flow.c (mark_set_1): Do not record BLKmode stores as dead
28440 store elimination candidates.
28442 Tue May 25 08:55:57 1999 Gavin Romig-Koch <gavin@cygnus.com>
28444 * config/mips/mips.h (ASM_OUTPUT_DOUBLE_INT) : Use 'dword' if
28447 Mon May 24 20:30:08 1999 Jim Wilson <wilson@cygnus.com>
28449 * configure.in (rs6000-ibm-aix4.[12]*): Delete use of aix41-gld.h.
28450 Add use of x-aix41-gld.
28452 Mon May 24 16:44:09 1999 Jakub Jelinek <jj@ultra.linux.cz>
28454 * sparc/linux64.h (ASM_OUTPUT_CONSTRUCTOR): Define.
28455 (ASM_OUTPUT_DESTRUCTOR): Define.
28457 Mon May 24 14:35:24 1999 Jeffrey A Law (law@cygnus.com)
28459 * loop.c (strength_reduce): Do not clear NOT_EVERY_ITERATION at the
28460 last CODE_LABEL in a loop if we have previously passed a jump
28461 to the top of the loop.
28463 Mon May 24 07:56:29 1999 Nick Clifton <nickc@cygnus.com>
28465 * config/arm/arm.h (OUTPUT_INT_ADDR_CONST): Fix blunder made when
28466 applying Philip's patch.
28468 Mon May 24 01:02:12 1999 Mark Mitchell <mark@codesourcery.com>
28470 * stmt.c (expand_end_bindings): Ignore any elements of VARS that
28473 Sun May 23 20:31:16 1999 Jeffrey A Law (law@cygnus.com)
28475 * loop.c (strength_reduce): Grow reg_single_usage as needed.
28477 Sun May 23 10:13:20 1999 David O'Brien <obrien@FreeBSD.org>
28479 * i386/freebsd-elf.h (LINK_SPEC): Change -static to -Bstatic.
28480 Also remove a useless comment.
28482 Sun May 23 10:05:23 1999 Jerry Quinn <jquinn@nortelnetworks.com>
28484 * pa.md (negdf2,negsf2): Use fneg instead of fsub on pa 2.0.
28486 Sat May 22 21:02:06 1999 David Edelsohn <edelsohn@gnu.org>
28488 * collect2.c (main): Only generate import or export file and add
28489 to link arguments if non-empty. Use xmalloc not alloca.
28490 (write_{export,import}_file): Delete.
28491 (write_aix_file): New function.
28492 (locatelib): Use xmalloc not malloc.
28493 (GCC_OK_SYMBOL): Do not check type if aix64.
28495 Sat May 22 09:35:51 1999 Philip Blundell <pb@nexus.co.uk>
28497 Based on patch by Scott Bambrough and Pat Beirne:
28498 * config/arm/arm.c (making_const_table): New variable.
28499 * config/arm/arm.h (making_const_table): Declare.
28500 (OUTPUT_INT_ADDR_CONST): Mark symbols as position independent if
28502 * config/arm/arm.md (consttable_4, consttable_8, consttable_end):
28503 Keep track of when we are building the constant table.
28505 Sat May 22 09:34:22 1999 Philip Blundell <pb@nexus.co.uk>
28507 * config/arm/arm.c (arm_override_options): Fix erroneous warning
28510 Sat May 22 09:06:33 1999 Nick Clifton <nickc@cygnus.com>
28512 * config/arm/arm.h (NEED_PLT_GOT): Only define if not already
28515 Sat May 22 07:17:05 1999 Nick Clifton <nickc@cygnus.com>
28517 * tm.texi (FUNCTION_ARG): Correct description of a stack element
28520 Sat May 22 01:27:49 1999 Mark Mitchell <mark@codesourcery.com>
28522 * expr.h (lang_expand_constant): Guard with #ifdef TREE_CODE.
28524 Fri May 21 21:19:02 1999 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
28526 * rs6000.c (output_mi_thunk): Enable full support again.
28528 Fri May 21 20:09:52 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
28530 * sh.h (BRANCH_COST): Define.
28532 Thu May 20 10:00:42 1999 Stephen L Moshier <moshier@world.std.com>
28534 * Makefile.in (GCC_FOR_TARGET): Add -I$(build_tooldir)/include.
28536 Thu May 20 09:58:57 1999 Jan Hubicka <hubicka@freesoft.cz>
28538 * function.c (assign_stack_local): Align stack slot propertly.
28539 (assign_outer_stack_local): Likewise.
28541 Thu May 20 10:38:43 1999 Mark Mitchell <mark@codesourcery.com>
28543 * expr.h (lang_expand_constant): Declare.
28544 * toplev.c (lang_expand_constant): Define it.
28545 * varasm.c (output_constant): Use it.
28547 Thu May 20 11:28:53 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
28549 * optabs.c (expand_cmplxdiv_straight, expand_cmplxdiv_wide):
28550 Change function definitions to K&R style.
28552 Thu May 20 08:16:39 1999 Bruce Korb <ddsinc09@ix.netcom.com>
28554 * fixinc/fixincl.c: We must not ignore SIGCLD now.
28556 Thu May 20 07:06:39 1999 Alexandre Oliva <aoliva@acm.org>
28558 * fixinc/Makefile.in(gnu-regex.o): add $(INCLUDES) to compile options
28559 * fixinc/fixincl.c(wait_for_pid): K&R-ify arguments
28560 (several places): omit static initialization
28561 (process): use single fd, since only the read fd is used
28562 * fixinc/gnu-regex.c: define 'const' away, if not supported
28563 * fixinc/procopen.c(several places): omit static initialization
28564 * fixinc/server.c: define 'volitile' away, if not supported
28566 1999-05-20 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
28568 * config/dbxcoff.h (DBX_OUTPUT_MAIN_SOURCE_FILE_END): Use
28569 asm_fprintf and %L to generate the label name.
28570 * config/dbxelf.h (DBX_OUTPUT_MAIN_SOURCE_FILE_END): Likewise.
28571 (ASM_OUTPUT_SOURCE_LINE): Correct generation of internal labels.
28573 Thu May 20 01:40:55 1999 Jeffrey A Law (law@cygnus.com)
28575 * jump.c (can_reverse_comparison_p): Do not abort if the comparison
28576 insn for a conditional jump can not be found.
28578 Wed May 19 23:58:58 1999 Jeffrey A Law (law@cygnus.com)
28580 * mips.h (ENCODE_SECTION_INFO): Do not perform GP optimizations
28581 on variables in specific sections other than .sbss and .sdata.
28583 Wed May 19 03:56:56 1999 Mark Mitchell <mark@codesourcery.com>
28585 * stmt.c (expand_return): Call start_cleanup_deferral and
28586 end_cleanup_deferral around conditional code.
28588 Wed May 19 08:40:08 1999 Bruce Korb <ddsinc09@ix.netcom.com>
28590 * fixinc/fixincl.tpl: Avoid depending on ANSI C features for
28591 filename lists. Utilizes new "krstr" AutoGen function.
28592 * fixinc/fixincl.x: Rebuilt.
28594 Wed May 19 02:47:11 1999 Jan Hubicka (hubicka@freesoft.cz)
28596 * i386.c (output_float_compare): Avoid GNU-C extensions.
28598 Wed May 19 00:34:40 1999 Jeffrey A Law (law@cygnus.com)
28600 * version.c: Bump to distinguish mainline tree from the
28603 See ChangeLog.1 for earlier changes.