1 Wed May 17 17:27:44 2000 Andrew Cagney <cagney@b1.cygnus.com>
3 * flags.h (warn_unused_function, warn_unused_label,
4 warn_unused_parameter, warn_unused_variable, warn_unused_value):
5 Replace ``warn_unused''.
6 (set_Wunused): Add declaration.
7 * toplev.c (set_Wunused): New function.
8 (warn_unused_function, warn_unused_label, warn_unused_parameter,
9 warn_unused_variable, warn_unused_value): New variables.
10 (W_options): Add -Wunused-function, -Wunused-function,
11 -Wunused-label, -Wunused-parameter, -Wunused-variable and
12 -Wunused-value. Delete -Wunused. Handled in decode_W_option.
14 * toplev.c (decode_W_option): Update -Wunused flags by calling
16 * c-decl.c (c_decode_option): Ditto for -Wall.
18 * stmt.c (expand_expr_stmt, expand_expr_stmt,
19 warn_about_unused_variables): Replace warn_unused with more
20 explicit warn_unused_value et.al.
21 * function.c (expand_function_end): Ditto.
22 * c-typeck.c (internal_build_compound_expr,
23 internal_build_compound_expr): Ditto.
24 * c-decl.c (poplevel, pop_label_level): Ditto.
25 * toplev.c (check_global_declarations): Replace warn_unused with
26 check for either warn_unused_function or warn_unused_variable.
28 * gcc.1, invoke.texi (Warning Options): Document
29 -Wunused-function, -Wunused-function, -Wunused-label,
30 -Wunused-parameter, -Wunused-variable and -Wunused-value options.
32 Wed May 17 10:28:12 2000 Philippe De Muyter <phdm@macqel.be>
34 * mklibgcc.in (building libgcc1) [Xlibgcc1.a]: Find libgcc1.c in
35 $(srcdir), not in the current directory.
37 2000-05-16 Richard Henderson <rth@cygnus.com>
39 * config/ia64/crtbegin.asm (__dso_handle): Mark hidden if the
40 assembler supports it.
41 (.fini, .init): Use a gp-relative indirect call.
42 (__do_global_dtors_aux): Preserve the gp; rebundle.
43 (__do_frame_setup): Likewise.
44 * config/ia64/crtend.asm (.IA_64.unwind): Don't terminate with -1.
45 (.init): Use a gp-relative indirect call.
46 (__do_global_ctors_aux): Preserve the gp.
48 2000-05-16 Richard Henderson <rth@cygnus.com>
50 * flow.c (commit_one_edge_insertion): Be prepared for a return
51 insn to be inserted on the edge with a normal jump.
52 * jump.c (jump_optimize_1): Don't look to create return isns.
54 * flow.c (flow_delete_insn): Don't adjust reference count of notes.
55 * jump.c (jump_optimize_1): Likewise.
56 (returnjump_p): Verify the argument is a JUMP_INSN.
57 * rtl.def (NOTE): Add 5th element for NOTE_INSN_DELETED_LABEL.
59 2000-05-16 Nick Clifton <nickc@cygnus.com>
61 * config/m32r/m32r.c (small_insn_p): Use INSN_P() to replace
62 GET_RTX_CLASS (GET_CODE ()) == 'i'.
63 (large_insn_p): Ditto.
64 (m32r_is_insn): New function: Return true if the insn contains
65 an executable instruction.
66 (m32r_adjust_insn): Use m32r_is_insn.
67 (m32r_sched_reorder): Use m32r_is_insn.
68 (m32r_sched_variable_issue): Use m32r_is_insn.
70 2000-05-16 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
72 * rs6000/rs6000.c (rs6000_select_section): Treat CONSTRUCTOR like
75 * rs6000/sysv4.h (ASM_OUTPUT_DWARF_ADDR): Delete unused variable.
77 * rs6000/sysv4.h (CPP_OS_LINUX_SPEC): Define __unix and __linux
78 according to given options.
80 Tue May 16 12:17:31 2000 Jeffrey A Law (law@cygnus.com)
82 * mn10200.h (PREFERRED_RELOAD_CLASS): Do not prefer DATA_REGS
83 if X has VOIDmode either.
84 (LIMIT_RELOAD_CLASS): Similarly.
86 * mn10200.md (indirect_jump, tablejump): Use "register_operand",
87 not "general_operand" to match the processor's capabilities.
89 2000-05-16 Bruce Korb <bkorb@gnu.org>
91 * fixinc/README: corrected return address
92 * fixinc/check.diff: regenerate, now that test works
93 * fixinc/fixfixes.c(format_fix,format_write): reformatted
94 (char_macro_def_fix,char_macro_use_fix): corrected and
95 rewrote to use regex to parse the text
96 * fixinc/inclhack.def: more testing
97 * fixinc/fixincl.x: regenerated
99 * fixinc/inclhack.def: added several "test_text" attributes
100 changed several fixes to use `c_fix = format'
101 re-alphabetized the fixes
103 * fixinc/check.diff: regenerate
104 * fixinc/fixincl.x: regenerate
105 * fixinc/check.tpl: added `sparc' and `netinet' to the list
109 2000-05-16 Alexandre Oliva <aoliva@cygnus.com>
111 * config/mn10300/mn10300.h (ASM_OUTPUT_DWARF2_ADDR_CONST): Remove.
113 2000-05-15 Richard Henderson <rth@cygnus.com>
115 * toplev.c (rest_of_compilation): Run full jump pass before
116 find_basic_blocks of flow2.
118 2000-05-15 Richard Henderson <rth@cygnus.com>
120 * jump.c: Fix typos and clarify commentary from last change.
121 (any_condjump_p): Verify SET_SRC is an IF_THEN_ELSE.
122 (safe_to_remove_jump_p): Remove.
123 (condjump_label): Use pc_set.
125 2000-05-15 Richard Henderson <rth@cygnus.com>
127 * ifcvt.c (cond_exec_process_insns): Drop USE and CLOBBER insns
128 that get in the way after reload.
129 (cond_exec_process_if_block): Skip a label heading THEN block.
131 2000-05-15 Richard Henderson <rth@cygnus.com>
133 * varasm.c (output_constant_pool): Abort instead of converting
134 (improperly) deleted labels to zero.
136 2000-05-16 Neil Booth <NeilB@earthling.net>
138 * cpplex.c (parse_string2): Update comment.
139 (cpp_lex_line): No special assertion treatment for '('.
140 * cpplib.c (DIRECTIVE_TABLE): Remove SYNTAX_ASSERT.
141 * cpplib.h (SYNTAX_ASSERT): Remove.
143 Mon May 15 21:45:36 MET DST 2000 Jan Hubicka <jh@suse.cz>
145 * jump.c (condjump_p): Mark as depreached.
146 (any_condump_p): New.
147 (any_uncondump_p): New.
149 (safe_to_remove_jump_p): New.
150 * rtl.h (any_condump_p, any_uncondjump_p, pc_set
151 safe_to_remove_jump_p): Declare.
153 Mon May 15 21:07:20 MET DST 2000 Jan Hubicka <jh@suse.cz>
155 * calls.c: Re-install both patches reverted by last patch.
156 (struct arg_data): New field tail_call_reg.
157 (initialize_argument_information): Initialize tail_call_reg
158 (load_register_parameters): New argument flags, use
159 tail_call_reg when emiting tail call sequence.
160 (expand_call): Update call of load_register_parameters;
161 copy unadjusted_args_size to adjusted_args_size.
163 Mon May 15 19:01:42 MET DST 2000 Jan Hubicka <jh@suse.cz>
165 * loop.c (scan_loop, strength_reduce, loop_optimize): Change unroll_p
166 and bct_p parameters to flags.
167 * loop.h (LOOP_UNROLL, LOOP_BCT): New constants.
168 * rtl.h (loop_optimize): Update prototype.
169 * toplev.c (rest_of_compilation): Update call of loop_optimize.
171 2000-05-15 Jakub Jelinek <jakub@redhat.com>
173 * calls.c (expand_call): Move expand_start_target_temps call after
176 2000-05-15 Neil Booth <NeilB@earthling.net>
178 * cpphash.c (trad_stringify, warn_trad_stringify,
179 collect_params): Make some pointers pointers to const.
180 * cpplex.c (auto_expand_name_space) Guaranteed to always
181 expand by at least one character.
182 (SPELL_CHAR, SPELL_NONE): Temporarily reverse order.
183 (struct token_spelling): Use const U_CHAR * rather than PTR.
184 (expand_name_space): Fix up token pointers if name space
185 is moved when expanding.
186 (INIT_NAME, cpp_scan_line, parse_name, parse_number,
187 parse_string2, save_comment, spell_token, cpp_output_list):
188 Update so the routines handle tokens with a direct pointer to
189 their text, rather than an offset into the token's list's namebuf.
190 (_cpp_lex_line): Rearrange for clarity.
192 * cpplib.c (_cpp_check_directive): Similarly.
193 (do_define): Make SYM a pointer to const.
194 * cpplib.h (struct cpp_name): Replace offset with direct pointer.
195 (CPP_INT, CPP_FLOAT): Spelling type should be SPELL_IDENT.
196 (TOK_OFFSET): Delete.
199 2000-05-14 Geoffrey Keating <geoffk@cygnus.com>
201 * config/rs6000/rs6000.h (RETURN_ADDRESS_OFFSET): Correct for
204 * config/rs6000/rs6000.c (logical_operand): Rewrite to take MODE
206 (logical_u_operand): Delete.
207 (non_logical_cint_operand): Rewrite to take MODE into account.
208 (non_logical_u_cint_operand): Delete.
209 (boolean_operator): New function.
210 (print_operand): Add new %q operand.
211 * config/rs6000/rs6000.h (PREDICATE_CODES): Add boolean_operator,
212 remove logical_u_operand and non_logical_u_cint_operand,
213 update logical_operand and non_logical_cint_operand.
214 * config/rs6000/rs6000.md: Rewrite the patterns for performing
215 logical operations to use %q.
217 * config/rs6000/rs6000.md (movsi): Don't modify RTL in-place.
218 (movdi): Make similar to movsi.
219 * config/rs6000/rs6000.h (ASM_OUTPUT_SPECIAL_POOL_ENTRY_P): There
220 is no such thing as a DImode CONST_DOUBLE.
221 * config/rs6000/rs6000.c (output_toc): Likewise.
223 * config/rs6000/rs6000.c (output_cbranch): Don't output prediction
224 codes when old mnemonics are in use. Print register names
225 for cc registers when requested.
227 * optabs.c (expand_float): Don't allow mode widening that causes
230 * invoke.texi (RS/6000 and PowerPC Options): Update -m64/-m32
231 flags to their current names -maix64 and -maix32.
233 2000-05-14 Bruce Korb <bkorb@gnu.org>
235 * fixinc/fixfixes.c(wrap_fix): new fix - inserts text before
236 and/or after current text of file
237 * fixinc/fixlib.c(must_malloc):
238 * fixinc/fixlib.h(must_malloc): + reformatting
239 * fixinc/inclhack.def: replace the "1i" and "$a" sed commands
240 with usages of ``c_fix = wrap;''
241 Add several tests and use the ``c_fix = format'' fixer more.
242 * fixinc/fixincl.x: regen
243 * fixinc/check.diff: regen
244 * fixinc/check.tpl: emit the associated header with the missing
247 Sun May 14 17:58:59 2000 Hans-Peter Nilsson <hp@axis.com>
249 * mklibgcc.in (building libgcc1) [Xlibgcc1.a]: Do not use unset
250 variables $src and $dst.
252 2000-05-13 Gabriel Dos Reis <gdr@codesourcery.com>
254 * diagnostic.h (DIAGNOSTICS_SHOW_PREFIX_ONCE): New macro.
255 (DIAGNOSTICS_SHOW_PREFIX_NEVER): Likewise.
256 (DIAGNOSTICS_SHOW_PREFIX_EVERY_LINE): Likewise.
257 (struct output_buffer: emitted_prefix_p, prefixing_rule): New
259 (set_message_prefixing_rule): Declare.
261 * diagnostic.c: (current_prefixing_rule): New variable.
262 (set_message_prefixing_rule): Define.
263 (output_set_prefix): Adjust buffer->emitted_prefix_p.
264 (init_output_buffer): Adjust Initialization.
265 (output_emit_prefix): Rewrite. Take prefixing rules into account.
267 Sat May 13 11:05:47 2000 Philippe De Muyter <phdm@macqel.be>
269 * ifcvt.c (if_convert): Do not free NULL.
271 2000-05-12 Nick Clifton <nickc@cygnus.com>
273 * config/fr30/fr30.c (fr30_move_double): New function: Emit code
274 to move a double word value.
275 (di_operand): New function: Return true if the operand is suitbale
276 for a double word move operation.
277 (nonimmediate_di_operand): New function: Return true if the
278 operand is a DImode register or MEM.
280 * config/fr30/fr30.h (PREDICATE_CODES): Add di_operand and
281 nonimmediate_di_operand.
283 * config/fr30/fr30-protos.h Add fr30_move_double, di_operand, and
284 nonimmediate_di_operand.
286 * config/fr30/fr30.md (movdi): New pattern. Required because
287 other patterns generate DImode results.
288 (movdi_insn): New pattern.
290 2000-05-12 Richard Henderson <rth@cygnus.com>
292 * config/alpha/alpha.c (struct shadow_summary): Define
293 bitfields as type unsigned int.
295 Sat May 13 00:09:59 2000 Denis Chertykov <denisc@overta.ru>
297 * config/avr/t-avr: Added definition of FLOAT while generates
300 * config/avr/avr.md: `NEXT_INSN (insn)' substituted to `insn' in
301 peepholes for tst+jump = sbrs/sbrc optimization.
303 Fry May 12 20:03:00 CEST 2000 Jan Hubicka <jh@suse.cz>
305 * expr.c (emit_push_insn): Do not adjust stack pointer when
308 Fri May 12 19:03:58 2000 Philippe De Muyter <phdm@macqel.be>
310 * ggc-simple.c (offsetof): Macro fallback definition moved from here ..
311 * system.h (offsetof): ... to here.
313 2000-05-12 Richard Henderson <rth@cygnus.com>
315 * Makefile.in (final.o): Depend on BASIC_BLOCK_H.
316 * final.c (final_end_function): Use app_disable. Rearrange note
317 handling into a switch. Emit deleted labels.
318 (output_asm_label): Generate label strings for deleted labels.
319 * flow.c (tail_recursion_label_list): New.
320 (find_basic_blocks_1): Set label_value_list directly. Collect list
321 of tail recursion labels from call_placeholders. Don't add deleted
322 labels to the label value list.
323 (cleanup_cfg): Use free_EXPR_LIST_list.
324 (flow_delete_insn_chain): Turn non-removable labels into notes.
325 (flow_delete_block): Don't disable deleting the block because of
326 a non-removable label.
327 (tail_recursion_label_p): New.
328 (merge_blocks_move_predecessor_nojumps): Don't disable the merge
330 (merge_blocks_move_successor_nojumps): Likewise. Also move a
332 (merge_blocks): Disable a merge because of tail recursion labels.
333 * ifcvt.c (merge_if_block): Don't disable a merge because of a label.
334 Use a more accurate measure of not merging the join block.
335 (find_if_block): Don't disable conversion because of a label.
336 (find_if_case_1, find_if_case_2): Likewise.
337 * jump.c (duplicate_loop_exit_test): Preserve the kind of list
338 element when copying.
339 (squeeze_notes): Also leave EH notes.
340 (mark_jump_label): Ignore deleted labels. Use an INSN_LIST for
342 (delete_insn): Preserve LABEL_NAME in NOTE_SOURCE_FILE when
344 * print-rtl.c (print_rtx): Print NOTE_SOURCE_FILE for
345 NOTE_INSN_DELETED_LABEL. Print `[# deleted]' for a label_ref
346 referring to a deleted label. Convert tail handling to a switch.
347 * rtl.def (CODE_LABEL): Rearrange elements to be compatible with NOTE
348 for NOTE_INSN_DELETED_LABEL.
349 (NOTE): Fix commentary.
350 * rtl.h (REG_LABEL): Update commentary wrt INSN_LIST.
351 (REG_CC_SETTER, REG_CC_USER, REG_LIBCALL): Likewise.
352 (CODE_LABEL_NUMBER, LABEL_NAME): Update index.
353 (LABEL_NUSES, LABEL_REFS): Likewise.
354 * unroll.c (copy_loop_body): Don't copy NOTE_INSN_DELETED_LABEL.
356 2000-05-12 Bruce Korb <bkorb@gnu.org>
358 * fixinc/fixfixes.c(format_write): buglet & relaxed rules
359 * fixinc/check.diff: updated
360 * fixinc/inclhack.def: corrected & added some test_text-s
361 * fixinc/genfixes: removed unneeded options to autogen invocation
362 * fixinc/fixincl.tpl: Specified the output file
363 * fixinc/fixfixes.c: visual appearance
364 * fixinc/fixincl.x: regenerate
366 2000-05-12 Zack Weinberg <zack@wolery.cumb.org>
368 * fixinc/fixfixes.c (IO_use_fix, IO_defn_fix, CTRL_use_fix,
369 CTRL_defn_fix): Delete.
370 (fix_char_macro_defines, fix_char_macro_uses): Rename to
371 char_macro_def_fix and char_macro_use_fix, respectively. Put
372 them into the FIXUP_TABLE. Get the string to search for from
375 (format_write): New function.
376 (format_fix): Use it.
378 (FIX_PROC_HEAD): Constify text parameter.
379 (machine_name_fix): Constify all char *s.
380 * fixtests.c (skip_quote): Remove double static.
382 * inclhack.def (io_def_quotes, io_use_quotes, ctrl_def_quotes,
383 ctrl_use_quotes): Update for new scheme.
384 * fixincl.x: Regenerate.
386 2000-05-12 Alexandre Oliva <aoliva@cygnus.com>
388 * config/mn10300/mn10300.h (PREFERRED_DEBUGGING_TYPE): Redefine as
390 (DWARF2_ASM_LINE_DEBUG_INFO): Define.
391 (ASM_OUTPUT_DWARF2_ADDR_CONST): Define.
393 2000-05-11 Robert Lipe <robertlipe@usa.net>
395 * fixinc/inclhack.def (hpux8_bogus_inlines): Delete bypass for SCO.
396 * fixincl.x: Regenerate.
398 2000-05-11 Richard Henderson <rth@cygnus.com>
400 * calls.c: Revert both 05-09 patches.
402 2000-05-11 Alexandre Oliva <aoliva@cygnus.com>
404 * config/mn10300/mn10300.c (print_operand): Print FP constants in
406 * config/mn10300/mn10300.md (movsf, movdf): Use the `F' constraint
409 * mklibgcc.in (EQ): Define it to an equal sign in the Makefile,
410 and replace any occurrences of `=' in multilib dirs with `$(EQ)'.
412 2000-05-11 Jason Merrill <jason@casey.cygnus.com>
414 * fixinc/fixincl.c (run_compiles): Don't crash on null pz_machine.
416 2000-05-11 Zack Weinberg <zack@wolery.cumb.org>
418 * fixinc/fixfixes.c, fixinc/fixtests.c: Update commentary.
420 Thu May 11 22:28:05 2000 Denis Chertykov <denisc@overta.ru>
422 * config/avr/avr-protos.c (jump_over_one_insn_p): New declaration.
423 * config/avr/avr.c (jump_over_one_insn_p): New function.
424 * config/avr/avr.md: New peepholes added. Output test and
425 conditional jump to "sbrc" or "sbrs" command.
427 2000-05-11 Mark Elbrecht <snowball3@bigfoot.com>
429 * cppmain.c (main): Use IS_DIR_SEPARATOR.
431 2000-05-11 Jakub Jelinek <jakub@redhat.com>
433 * except.c (find_exception_handler_labels_1): New function.
434 (find_exception_handler_labels): Split into two functions, dive
435 into CALL_PLACEHOLDERs when looking for exception handler labels.
437 2000-05-11 Stan Cox <scox@cygnus.com>
439 * regrename.c (replace_reg_in_block): Improve REG_DEAD handling.
440 * timevar.def (TV_RENAME_REGISTERS): Move before TV_SCHED2.
441 * toplev.c (rest_of_compilation): Call regrename_optimize before sched2.
443 2000-05-11 Bruce Korb <bkorb@gnu.org>
445 * fixinc/fixfixes.c (double_slash_fix): obsolete
446 (else_endif_label_fix): obsolete
447 (format_fix): new, unused as yet
449 * fixinc/fixlib.h: added fix description struct for use by format_fix
450 * fixinc/fixincl.c: removed the struct & test for SIGIOT befure using
451 * fixinc/Makefile.in: compile fixfixes.c and fixtests.c as separate
452 modules. Removed the vestiges of the script version.
453 Added support for "make check".
454 * fixinc/check.diff: base diff file (needs work!!)
455 * fixinc/check.tpl: quiet the fixup output
456 * fixinc/fixtests.c (main): obsolete
457 * fixinc/fixincl.sh: don't bother copying fixincl to ..
458 * fixinc/fixincl.tpl: provide for arguments to c_fix routines
460 Thu May 11 11:57:02 MET DST 2000 Jan Hubicka <jh@suse.cz>
462 * toplev.c (rest_of_compilation): Remove dead code after
465 2000-05-11 Zack Weinberg <zack@wolery.cumb.org>
467 * cpphash.c (collect_funlike_expansion): Make "# is not
468 followed by a macro argument name" a pedwarn, not an error.
469 Preserve the # in the output. Suppress the warning if lang_asm.
471 Thu May 11 01:19:31 2000 Jeffrey A Law (law@cygnus.com)
473 * configure.in (hppa*64*-*-hpux11*): New target for PA64 support.
474 * configure: Rebuilt.
476 2000-05-10 Laurynas Biveinis <lauras@softhome.net>
478 * i386/xm-djgpp.h (XREF_FILE_NAME): Add mising brace.
480 2000-05-10 Kazu Hirata <kazu@hxi.com>
482 * combine.c (try_combine): Fix a typo.
484 Wed May 10 21:31:44 2000 Jim Wilson <wilson@cygnus.com>
486 * config/ia64/ia64.md (insv): Add comment.
488 2000-05-10 Richard Henderson <rth@cygnus.com>
490 * Makefile.in (libgcc.a, stmp-multilib): Depend on FPBIT and DPBIT.
491 * mklibgcc.in: Rewrite to not use functions. Don't shortcut
492 dependancies on FPBIT and DPBIT.
494 2000-05-10 Nick Clifton <nickc@redhat.com>
496 * flow.c (find_auto_inc): Do not bias REG_N_REFS by loop_depth
497 when optimising for size.
498 (mark_used_regs:) Ditto.
499 (try_pre_increment_1): Ditto.
501 2000-05-10 Zack Weinberg <zack@wolery.cumb.org>
503 * cppexp.c (lex): Use %.*s to print non-NUL-terminated string.
504 Make error message friendlier.
506 * cpphash.h (struct hashnode): Use struct hack for name
508 * cpphash.c (struct hashdummy): New.
509 (eq_HASHNODE): Second argument is a hashdummy, not a HASHNODE.
510 (make_HASHNODE): No need to set ->name pointer. Correct
512 (cpp_lookup): Make 'dummy' a struct hashdummy. Tidy up a bit.
514 2000-05-10 Richard Henderson <rth@cygnus.com>
516 * flow.c (find_basic_blocks_1): Remove any spare bb_note
519 2000-05-10 Bruce Korb <bkorb@gnu.org>
521 * fixinc/gnu-regex.c: reg_syntax_t re_syntax_options must be static
523 2000-05-10 Eric Schweitz <schweitz@nortelnetworks.com>
525 * dwarfout.c (dwarfout_finish): Call retry_incomplete_types
526 after we enter .debug.
528 2000-05-10 Jason Merrill <jason@casey.cygnus.com>
530 * dwarf2out.c (gen_subprogram_die): Fixup die_parent for the
531 abstract instance of a nested inline function.
533 * stor-layout.c (finish_record_layout): finalize_type_size
534 before laying out the pending_statics.
536 Wed 10 May 09:36:47 2000 Neil Booth <NeilB@earthling.net>
538 * cpplex.c (spell_token): New function.
539 (spell_string, spell_comment, spell_name): fold into
542 (E, H): Remove macros.
543 (save_comment): Save comment opening characters too.
544 (_cpp_lex_file): Update to use spell_token. Tidy up comment
546 * cpplib.h (I, S): Add macros.
547 (E, H): Remove macros.
548 (TTYPE_TABLE): Update entries for new speller.
549 (SYNTAX_ASSERT): Remove.
551 Wed 10 May 09:08:30 2000 Neil Booth <NeilB@earthling.net>
553 * cpplex.c (_cpp_lex_line): Maintain PREV_WHITESPACE flag
554 when removing escaped newlines. Reverse sense of test for
557 2000-05-09 Richard Henderson <rth@cygnus.com>
559 * flow.c (find_basic_blocks_1): Do not delete the first
560 bb_note we run across.
561 (create_basic_block): Use reorder_insns to move an existing
562 bb_note to the correct place.
564 2000-05-09 Richard Henderson <rth@cygnus.com>
566 * calls.c (expand_call): Increment currently_expanding_call
567 before calling optimize_tail_recursion.
569 Tue May 9 18:54:16 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
571 * reload1.c (reload_combine): Fix errors in last change.
573 2000-05-09 Zack Weinberg <zack@wolery.cumb.org>
575 * gcc.c (used_arg): Skip over a semicolon at the end of the
576 split-up loop; don't break out of it.
578 * Makefile.in (WARN_CFLAGS): Add -Wwrite-strings.
579 (tree.o): Depend on output.h.
581 * c-decl.c (pending_invalid_xref_file,
582 current_function_prototype_file): Constify.
583 (pushdecl): Constify a local char *.
584 (define_label): Constify filename parameter.
585 * c-lex.c (init_parse): Constify parameter and return value.
586 * c-typeck.c (c_expand_asm_operands): Constify filename parameter.
587 * c-tree.h: Update prototypes.
588 * c-parse.in: Constify filename member of %union, and if_stmt_file.
589 * c-parse.y, c-parse.c, c-parse.h, objc/objc-parse.y,
590 objc/objc-parse.c: Regenerate.
592 * dwarfout.c (dwarfout_init): Constify main_input_filename parameter.
593 * dwarfout.h: Update prototypes.
594 * expr.c (expand_expr): Constify a local char *.
595 * flags.h: Constify main_input_filename.
596 * function.c (expand_function_end): Constify filename parameter.
597 * genrecog.c (make_insn_sequence): Use a character array for
599 (main): Remove unused variables.
600 * input.h: Constify input_filename, main_input_filename, and
601 file_stack.name. Update prototypes.
602 * output.h: Declare first_global_object_name and
603 weak_global_object_name here, as const char *.
604 * stmt.c (expand_asm_operands): Constify filename parameter.
605 * toplev.c (compile_file, push_srcloc, debug_start_source_file):
606 Constify filename parameter.
607 (input_filename, main_input_filename): Constify.
608 * toplev.h: Update prototypes.
609 * tree.c: Include output.h. Don't declare
610 first_global_object_name or weak_global_object_name. Clean up string
611 bashing in get_file_function_name_long.
612 * tree.h (struct tree_decl): Constify filename member.
613 (input_filename): Constify.
615 * varasm.c (first_global_object_name, weak_global_object_name):
617 (assemble_start_function, assemble_variable): Clean up string bashing.
619 * gcc.c: Constify all spec-related strings initialized,
620 transitively, from string constants. Constify all strings
621 and string variables related to multilibs.
622 (set_spec, read_specs): Cast argument to free to PTR.
623 (used_arg): Do not modify multilib_matches. Use strncmp plus
624 length comparison to compare multilib switches.
625 * genmultilib: Constify everything declared in multilib.h.
627 Tue May 9 22:28:03 2000 Denis Chertykov <denisc@overta.ru>
629 * flow.c (flow_delete_insn): Use INSN_DELETED_P for marking insn
632 Tue May 9 20:52:43 2000 Denis Chertykov <denisc@overta.ru>
634 * config/avr/avr-protos.h (extra_constraint): change a type of
635 second argument from char to int to avoid warnings.
636 (asm_output_byte): Likewise.
638 * config/avr/avr.c (MAX_LD_OFFSET) New macro.
639 (initial_elimination_offset): Handle elimination from
640 FRAME_POINTER_REGNUM to STACK_POINTER_REGNUM.
641 (legitimate_address_p): Use MAX_LD_OFFSET.
642 (legitimize_address): Likewise.
643 (out_movqi_r_mr): Likewise.
644 (out_movhi_r_mr): Likewise, use `fatal_insn' instead of `fatal'.
645 (out_movsi_r_mr): Use MAX_LD_OFFSET.
646 (out_movsi_mr_r): Likewise.
647 (out_movqi_mr_r): Likewise.
648 (out_movhi_mr_r): Likewise.
649 (notice_update_cc): Correct CC for the ashrqi3 with the shift
650 count as CONST_INT != 6.
651 (ashlqi3_out): Coding style modifications. Run `fatal_insn' if
652 shift count is a CONSTANT_P, but not a CONST_INT.
653 (ashlhi3_out): Coding style modifications.
654 (ashlsi3_out): Likewise.
655 (ashrhi3_out): Likewise.
656 (ashrsi3_out): Likewise.
657 (lshrhi3_out): Likewise.
658 (lshrsi3_out): Likewise.
659 (ashrqi3_out): Generate shift for any known constant count without
660 scratch register. Run `fatal_insn' if shift count is a CONSTANT_P,
662 (lshrqi3_out): Coding style modifications. Run `fatal_insn' if
663 shift count is a CONSTANT_P, but not a CONST_INT.
664 (extra_constraint): change a type of
665 second argument from char to int to avoid warnings.
666 (asm_output_byte): Likewise.
667 (asm_file_end): Output size generated commands count as a hex
670 * config/avr/avr.h (RETURN_ADDR_RTX): New macro.
672 * config/avr/avr.md (addhi3): Fragment commented by &&0 is
674 (ashlqi3): Values of "length" attribute changed. Shift count
675 uses constraints 'n' instead of 'i'.
676 (ashrqi3): Likewise. Values of "cc" attribute changed. Generate
677 shifts without clobber register.
678 (lshrqi3): Shift count uses constraints 'n' instead of 'i'.
679 (call_insn): Correct test for which_alternative == 1 (was 0).
680 (call_value_insn): Likewise.
682 * config/avr/t-avr: Remove definition of FLOAT while generates
685 2000-05-09 Bruce Korb <bkorb@gnu.org>
687 * fixinc/check.tpl: Template for checking fixes
688 * fixinc/inclhack.def: Added 'test_text' for many fixes
689 disable hpux8_bogus_inlines on SCO
690 * fixinc/fixinc.sco: Oh, yes, we don't need this any more.
692 Tue May 9 16:30:27 MET DST 2000 Jan Hubicka <jh@suse.cz>
694 * calls.c (expand_call): Reorganize somewhat in order
695 to avoid unnecesary recalculation inside loop and make
696 tail call failure code cleaner.
698 Tue May 9 06:30:20 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
700 * alias.c (nonlocal_reference_p): Minor reformatting.
701 * reload.c (find_equiv_reg): Simplify logic for
702 CALL_INSN_FUNCTION_USAGE since can't have SUBREG or pseudos and
703 some some reformatting.
704 * reload1.c (reload_combine): Don't assume everything in
705 CALL_INSN_FUNCTION_USAGE is a REG and clean up code a bit.
707 2000-05-08 Richard Henderson <rth@cygnus.com>
709 * final.c (current_insn_predicate): New.
710 (final_scan_insn): Set it.
711 * output.h (current_insn_predicate): Declare.
713 * ifcvt.c (cond_exec_process_insns): New argument prob_val.
714 Attach it to call insns.
715 (cond_exec_process_if_block): Track probability for true and
717 (dead_or_predicable): Likewise.
719 * predict.c (PROB_NEVER, PROB_VERY_UNLIKELY): New.
720 (PROB_UNLIKELY, PROB_EVEN, PROB_LIKELY): New.
721 (PROB_VERY_LIKELY, PROB_ALWAYS): New.
722 (estimate_probability, expected_value_to_br_prob): Use them.
724 * config/ia64/ia64-protos.h (ia64_expand_prediction): Declare.
725 * config/ia64/ia64.c (ia64_print_operand_address): Handle 'j'.
726 (ia64_expand_prediction): New.
727 (emit_insn_group_barriers): Don't look at notes. Emit barriers
728 as needed after calls.
729 (ia64_epilogue_uses): Mark b0 used.
730 * config/ia64/ia64.md (beq_true, beq_false): Remove.
731 (bne_true, bne_false): Remove.
732 (eq_return, eq_not_return, ne_return, ne_not_return): Remove.
733 (br_true, br_false): New. Use predicate_operator and
734 ia64_expand_prediction.
735 (return_true, return_false): Likewise.
736 (call_internal): Use ia64_expand_prediction. Don't emit stop bit.
737 (call_internal1, call_value_internal): Likewise.
738 (call_value_internal1, call_multiple_values_internal1): Likewise.
740 * config/ia64/ia64.c (ia64_direct_return): Require frame size zero.
742 * config/ia64/ia64.md (extendsfdf2): Split only after reload.
744 2000-05-08 Richard Henderson <rth@cygnus.com>
746 * rtlanal.c (may_trap_p): Consider old-style and volatile
749 Mon May 8 17:16:48 2000 Jim Wilson <wilson@cygnus.com>
751 * config/ia64/ia64.h (RETURN_ADDR_RTX): Use COUNT not count.
753 2000-05-08 Richard Henderson <rth@cygnus.com>
755 * config/ia64/ia64.h (predicate_operator): Declare.
757 * config/ia64/ia64.md (extendsfdf2): Split the nop case out
760 * gensupport.c (process_rtx): Copy and post-process each member
761 of the define_insn rtvec individually.
763 Mon 8 May 22:17:35 2000 Neil Booth <NeilB@earthling.net>
765 * cpplex.c (spell_token): New function.
766 (TOKEN_LEN): Add 1 for whitespace.
767 (_cpp_lex_file): Update to use spell_token.
768 * cpplib.h (E): Remove.
769 (TTYPE_TABLE): Update CPP_VSPACE entry.
771 2000-05-08 Richard Henderson <rth@cygnus.com>
773 * flow.c (init_propagate_block_info): Watch out for conditional
774 branch to next instruction, and thus one outgoing edge.
776 * config/ia64/ia64.c (ia64_encode_section_info): Exit early
777 for global register variables; don't special case __[CD]TOR_LIST__;
778 mind ggc_p for string allocation.
780 2000-05-08 Nick Clifton <nickc@cygnus.com>
782 * config/i386/i386.h (ELIMINABLE_REGS): Fix comment.
784 2000-05-08 Bruce Korb <bkorb@gnu.org>
786 * fixinc/mkfixinc.sh: fixinc.sco is no longer used
787 i?86-*-msdosdjgpp* no longer uses fixincludes
788 * fixinc/genfixes: inclhack.sh and fixincl.sh are no longer generated
789 * fixinc/inclhack.sh: deleted
790 * fixinc/hackshell.tpl: deleted
791 * fixinc/inclhack.tpl: deleted
792 * fixinc/Makefile.in: Remove dependencies on above
793 * fixinc/fixincl.sh: "DO NOT EDIT" text modified
795 2000-05-08 Andreas Jaeger <aj@suse.de>
797 * config/mips/linux.h: Remove undefines which disabled .ctor/.dtor
800 2000-05-07 Zack Weinberg <zack@wolery.cumb.org>
802 * Makefile.in (LOOSE_CFLAGS): Add /g modifiers to both sed
805 Sun 7 May 08:43:53 2000 Neil Booth <NeilB@earthling.net>
807 * cpplex.c: Move new lexer definitions and prototypes
808 to top. Conditional include these and the code if
809 NEW_LEXER is defined. Rename functions whose names
810 clash if this code included.
812 Sun May 7 00:54:57 EDT 2000 John Wehle (john@feith.com)
814 * rtl.def (COND_EXEC): Clarify.
816 * i386.md (extendsidi2): Clobber (reg:CC 17) in the
817 same fashion as zero_extendsidi2.
819 2000-05-06 Richard Henderson <rth@cygnus.com>
821 * config/ia64/ia64.c (predicate_operator): New.
822 (ia64_print_operand): Handle 'J'.
823 (rtx_needs_barrier): Handle COND_EXEC.
824 * config/ia64/ia64.h (BRANCH_COST): Define.
825 (PREDICATE_CODES): Update.
826 * config/ia64/ia64.md: Docuement used unspec values.
827 (attr predicable): New.
828 (movxf, movxf_internal): New.
829 (extendsfdf2): Don't comment out nop.
830 (floatdidf2): Remove.
831 (truncxfsf2, truncxfdf2, floatdixf2): New.
832 (abssi2, absdi2): Put the neg in the "true" slot.
833 (conditional branch instructions): Mark not predicable.
834 (cmov*_internal): Use predicate_operator. Split to cond_exec.
835 (abs*_internal): Likewise.
836 (alloc, set_bsp): Mark not predicable.
837 (barrier, insn_group_barrier, flush_cache): Likewise.
838 (define_cond_exec): New.
840 2000-05-06 Richard Henderson <rth@cygnus.com>
842 * c-decl.c: Include "tm_p.h".
844 * config/ia64/ia64-protos.h: Rearrange decls to reduce ifdef madness.
845 (fetchadd_operand, ia64_expand_fetch_and_op): Declare.
846 (ia64_expand_op_and_fetch): Declare.
847 * config/ia64/ia64.c: Include "toplev.h". Kill trailing whitespace.
848 (setjmp_operand): Constify variables for XSTR.
849 (ia64_encode_section_info): Likewise.
850 (ia64_print_operand): Use %d for exact_log2; cast 32-bit printed
852 (ia64_asm_output_external): Constify name.
853 (process_set): Use HOST_WIDE_INT_PRINT_DEC for frame size.
854 (process_for_unwind_directive): Provide switch default.
855 (ia64_expand_compare_and_swap): Remove unused variables.
856 (ia64_expand_builtin): Likewise.
857 * config/ia64/ia64.h (ASM_OUTPUT_BYTE): Mask and cast value to int
860 * config/ia64/ia64.c (sdata_symbolic_operand): Mark unused args.
861 (symbolic_operand, function_operand, setjmp_operand): Likewise.
862 (shift_count_operand, shift_32bit_count_operand): Likewise.
863 (shladd_operand, fetchadd_operand, ia64_function_prologue): Likewise.
864 (ia64_function_epilogue, ia64_setup_incoming_varargs): Likewise.
865 (ia64_function_arg_partial_nregs, ia64_function_value): Likewise.
866 (ia64_print_operand_address, ia64_secondary_reload_class): Likewise.
867 (ia64_expand_builtin): Likewise.
868 (call_multiple_values_operation): Make dest_regno unsigned.
870 2000-05-06 Richard Henderson <rth@cygnus.com>
872 * rtl.def (DEFINE_COND_EXEC): New.
873 * md.texi: Document it.
875 * gensupport.c (input_file): Remove.
876 (struct queue_elem): Add lineno.
877 (rtx_ready_queue): Remove.
879 (predicable_default): New.
880 (predicable_true, predicable_false): New.
881 (define_attr_queue, define_attr_tail): New.
882 (define_insn_queue, define_insn_tail): New.
883 (define_cond_exec_queue, define_cond_exec_tail): New.
884 (other_queue, other_tail): New.
885 (queue_pattern): New.
886 (process_rtx): Add patterns to the appropriate queues.
887 (is_predicable, identify_predicable_attribute): New.
888 (n_alternatives, collect_insn_data): New.
889 (alter_predicate_for_insn, alter_test_for_insn): New.
890 (shift_output_template, alter_output_for_insn): New.
891 (process_one_cond_exec, process_define_cond_exec): New.
892 (init_md_reader): Read the entire file. Process define_cond_exec.
893 (read_md_rtx): Return elements from the queues.
895 2000-05-06 Richard Henderson <rth@cygnus.com>
897 * flow.c (mark_set_1): Don't update conditional life info
898 if the register is not_dead.
900 2000-05-06 Zack Weinberg <zack@wolery.cumb.org>
902 * Makefile.in (STAGESTUFF): Add genrtl.c and genrtl.h.
903 (mostlyclean): Also delete fixincl, fixinc.sh, and
904 specs.ready, and make clean in the fixinc subdir.
906 2000-05-06 Richard Henderson <rth@cygnus.com>
908 * Makefile.in (gensupport.o): Compile for the host.
909 (host-prefix gensuuprt.o): Remove.
910 (genflags.o): Depend on gensupport.h and OBSTACK_H.
911 (genattrtab.o): Likewise.
912 (gencodes.o): Depend on gensupport.h.
913 (genemit.o, genopinit.o, genrecog.o, genextract.o): Likewise.
914 (genpeep.o, genattr.o, genoutput.o): Likewise.
916 * gensupport.c (obstack, rtl_obstack): New.
917 (init_md_reader): Initialize rtl_obstack.
918 * gensupport.h (rtl_obstack): Declare.
919 (message_with_line): Declare.
921 * genattr.c: Remove all traces of obstack manipulation.
922 * gencodes.c, genconfig.c, genemit.c, genextract.c: Likewise.
923 * genopinit.c, genoutput.c, genpeep.c, genrecog.c: Likewise.
925 * genattrtab.c (obstack, rtl_obstack): Remove.
926 (main): Don't init rtl_obstack.
927 * genflags.c: Likewise.
929 * genrecog.c (message_with_line): Move ...
930 * gensupport.c: ... here.
932 2000-05-06 Richard Henderson <rth@cygnus.com>
934 * c-typeck.c (build_c_cast): Remove dead code.
936 2000-05-06 Richard Henderson <rth@cygnus.com>
938 * flow.c (split_edge): Don't allocate global_live_at_start for
939 the new block unless the old blocks had them as well.
941 * flow.c (mark_set_1): Respect not_dead when updating reg_live.
943 * ifcvt.c (noce_process_if_block): Don't use an insn_b from
944 test_bb if a or b uses x.
946 2000-05-06 Zack Weinberg <zack@wolery.cumb.org>
948 * cpphash.h: Remove conditional #define of __extension__.
949 * rtl.h: Add __extension__ to RTL_CHECK1, RTL_CHECK2,
950 RTL_CHECKC1, RTL_CHECKC2, and RTVEC_ELT macros
951 (ENABLE_RTL_CHECKING only).
952 * tree.h: Add __extension__ to TREE_CHECK, TREE_CLASS_CHECK,
953 CST_OR_CONSTRUCTOR_CHECK, and EXPR_CHECK macros
954 (ENABLE_TREE_CHECKING only).
955 * varray.h: Add __extension__ to VARRAY_CHECK macro
956 (ENABLE_CHECKING only).
958 2000-05-06 Richard Earnshaw (reanrsha@arm.com)
960 Use new tail-calling mechanism on ARM.
961 * arm.md (sibcall, sibcall_value): New expands.
962 (sibcall_insn, sibcall_value_insn, sibcall_epilogue): New insns.
963 (tailcalling peepholes): Delete.
964 (push_multi): Simplify.
965 * arm.c (lr_save_eliminated): Delete definition.
966 (pattern_really_clobbers_lr, function_really_clobbers_lr): Delete.
967 (output_return_instruction): Remove checks on lr_save_eliminated.
968 (output_arm_prologue): Remove old tail-calling code.
969 (arm_output_epilogue): New parameter, really_return. All callers
970 changed. Handle tail-calling epilogues.
971 * arm.h (lr_save_eliminated): Delete declaration.
972 (frame_pointer_needed): Delete declaration.
973 * arm-protos.h (arm_output_epilogue): Adjust prototype.
975 * arm.md (is_thumb): Examine symbol thumb_code, not expression
977 * arm.c (thumb_code): Define it.
978 (arm_override_options): Set it.
979 * arm.h (thumb_code): Declare it.
981 2000-05-06 Richard Earnshaw (reanrsha@arm.com)
983 * arm-protos.h (arm_dllexport_name_p, arm_dllimport_name_p): Constify.
985 2000-05-06 Richard Earnshaw (reanrsha@arm.com)
987 * arm.c (arm_gen_load_multiple, arm_gen_store_mulitple): Don't add
988 bogus clobber to insns.
989 (load_multiple_operation, store_mulitple_operation): Don't check
991 * arm.md (ldmsi_postinc, stmsi_postinc): Adjust accordingly.
993 * arm.md (and_scc, ior_scc): Add missing mode.
995 * arm.md (call_value_symbol): Remove predicate from op2.
997 * arm.h (SPECIAL_MODE_PREDICATES): Define.
999 Sat May 6 06:25:56 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1001 * expr.c (get_subtarget): New function.
1002 (force_operand, expand_expr, do_store_flag): Use it.
1004 * toplev.c (compile_file): Don't take strlen of NAME if null.
1006 2000-05-06 David Edelsohn <edelsohn@gnu.org>
1008 * xcoffout.c (xcoff_current_include_file,
1009 xcoff_current_function_file, xcoff_lastfile): Constify char *.
1010 (xcoffout_source_file, xcoffout_source_line): Make filename 'const
1012 (xcoffout_declare_function): Make name 'const char *'.
1013 (xcoffout_end_epilogue): Make fname 'const char *'
1014 * xcoffout.h (xcoff_current_include_file, xcoff_lastfile,
1015 xcoffout_declare_function, xcoffout_source_line): Match above.
1017 * aix43.h (SUBTARGET_OVERRIDE_OPTIONS): -mpowerpc64 without
1019 * rs6000.c (print_operand): Fix lossage typo.
1020 (output_cbranch): Remove "cr" decoration for now.
1021 * rs6000.h (ASM_OUTPUT_DEF_FROM_DECLS): Make alias 'const char *'.
1023 Sat May 6 06:55:32 2000 Denis Chertykov <denisc@overta.ru>
1025 * config/avr/avr.c (out_shift_with_cnt): Bugfix for shift by
1028 2000-05-05 Bruce Korb <bkorb@gnu.org>
1030 * fixinc/genfixes: Improve the matching for make target names
1032 2000-05-05 Catherine Moore <clm@cygnus.com>
1034 * c-common.c (decl_attributes): For TYPE_DECLs attach the
1035 attribute to the decl.
1036 * c-decl.c (pushdecl): Propagate the USED attribute to the
1039 2000-05-05 Richard Henderson <rth@cygnus.com>
1041 * rtlanal.c (reg_overlap_mentioned_p): Treat parallels in the
1042 same way emit_group_load does.
1044 2000-05-05 Mark Elbrecht <snowball3@bigfoot.com>
1046 * gcc.c (set_input) [HAVE_DOS_STYLE_FILE_SYSTEM]: Skip drive name.
1048 * toplev.c (output_file_directive): Use IS_DIR_SEPARATOR.
1051 2000-05-05 Rodney Brown <RodneyBrown@mynd.com>
1053 * pa.h (FUNCTION_ARG_ADVANCE): Warning removal.
1055 Fri May 5 10:29:21 2000 Marc Espie <espie@cvs.openbsd.org>
1057 * config/openbsd.h (LINK_SPEC): pass correct flags to ld
1058 to support -shared, on platforms with dynamic libraries.
1060 Fri May 5 10:27:06 2000 Philippe De Muyter <phdm@macqel.be>
1062 * system.h (S_ISBLK): Provide fallback definition.
1064 2000-05-05 Geoff Berry <geoffb@bops.com>
1066 * extend.texi (Extended Asm): Document inability to give asm
1067 statements access to condition codes.
1069 2000-05-05 Marek Michalkiewicz <marekm@linux.org.pl>
1071 * varasm.c (asm_emit_uninitialised): Use 0, not NULL
1072 as arg 2 of UNIQUE_SECTION.
1074 Fri May 5 10:11:41 2000 Jeffrey A Law (law@cygnus.com)
1076 * predict.c: Remove May 4 change.
1077 * bb-reorder.c (make_reorder_chain): Do not perform block movement
1078 if we have predicted the branch at 50-50 probability.
1080 2000-05-05 Richard Henderson <rth@cygnus.com>
1082 * flow.c (init_propagate_block_info): Fix merge error
1083 in HAVE_conditional_execution code.
1085 Fri May 5 07:43:50 2000 Denis Chertykov <denisc@overta.ru>
1087 * config/avr/avr.c (out_shift_with_cnt): Genetare a more optimal
1088 shift cycle for unknown shift count. Also generates dec + brpl.
1089 (ashlqi3_out): Don't generate dec + brpl which now generates by
1090 `out_shift_with_cnt'.
1091 (ashlhi3_out): Likewise.
1092 (ashlsi3_out): Likewise.
1093 (ashrqi3_out): Likewise.
1094 (ashrhi3_out): Likewise.
1095 (ashrsi3_out): Likewise.
1096 (lshrqi3_out): Likewise.
1097 (lshrhi3_out): Likewise.
1098 (lshrsi3_out): Likewise.
1100 2000-05-04 Mark Elbrecht <snowball3@bigfoot.com>
1102 * gcc.c (free_split_directories): Correct typo in explanation
1103 of make_relative_prefix.
1105 2000-05-04 Geoff Keating <geoffk@cygnus.com>
1107 * config/rs6000/rs6000.h (PREDICATE_CODES): Add floating-point
1108 comparison codes to branch_comparison_operator.
1110 2000-05-04 Richard Henderson <rth@cygnus.com>
1112 * ifcvt.c (noce_process_if_block): Always reset X in the A == B case.
1114 2000-05-04 Richard Henderson <rth@cygnus.com>
1116 * Makefile.in (FPBIT_FUNCS): Remove _df_to_usi.
1117 (DPBIT_FUNCS): Remove _sf_to_usi.
1118 (stmp-multilib): Pass LIB1ASMSRC to libgcc.mk.
1120 * ifcvt.c (noce_process_if_block): Fail if A or B modified
1121 between condition and jump.
1123 * libgcc2.c (near eh_context_specific): Comment #endif string.
1124 * longlong.h: Don't use strings with embedded newlines.
1126 2000-05-04 Geoff Keating <geoffk@cygnus.com>
1128 * config/rs6000/rs6000-protos.h: Add output_cbranch.
1129 * config/rs6000/rs6000.c (ccr_bit_negated_p): Delete.
1130 (print_operand): Delete %t and %T codes.
1131 (output_cbranch): New function. Support branch prediction.
1132 * config/rs6000/rs6000.md: Use output_cbranch for
1133 conditional branches and returns.
1135 2000-05-04 Jason Merrill <jason@casey.cygnus.com>
1137 * simplify-rtx.c (simplify_ternary_operation): Cast to unsigned.
1138 * stor-layout.c (place_field): Likewise.
1139 * integrate.h (struct inline_remap): Make regno_pointer_align unsigned.
1140 * expr.c (store_expr): Make align unsigned.
1141 * explow.c (plus_constant_wide): Make low words unsigned.
1142 * expmed.c (choose_multiplier): Likewise.
1143 * fold-const.c (fold): Likewise.
1144 * tree.h (build_int_2): Likewise.
1145 * tree.c (build_int_2_wide, tree_int_cst_msb): Likewise.
1146 * emit-rtl.c (gen_reg_rtx): Add cast to unsigned char*.
1147 (init_emit): Change cast to unsigned char*.
1148 * varasm.c (compare_constant_1): Add cast to char*.
1149 * gcse.c (delete_null_pointer_checks): Change cast to unsigned int*.
1150 * reload1.c (reload): Likewise.
1152 * rtl.h (MEM_SET_IN_STRUCT_P): Use do { } while (0).
1154 Thu May 4 14:37:23 2000 Jeffrey A Law (law@cygnus.com)
1156 * predict.c (estimate_probability): If no prediction was found, then
1157 predict the successor that is the next physical block (if such a
1160 2000-05-04 Richard Henderson <rth@cygnus.com>
1162 * config/alpha/t-alpha (LIB2FUNCS_EXTRA): Use qrrnd.asm in place.
1164 2000-05-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1166 * system.h: Don't wrap <sys/types.h> with HAVE_SYS_TYPES_H.
1168 2000-05-04 Mumit Khan <khan@xraylith.wisc.edu>
1170 * i386/cygwin.h (CPP_PREDEFINES): Don't define __STDC__. Move
1171 attribute macros from here ...
1172 (CPP_SPEC): to here.
1173 * i386/mingw32.h (CPP_PREDEFINES): Likewise.
1174 (CPP_SPEC): Likewise.
1175 * i386/crtdll.h (CPP_PREDEFINES): Delete attribute macros.
1177 * Makefile.in ($(HOST_PREFIX_1)gensupport.o): Add build rule.
1178 (libgcc.a): Pass LIB1ASMSRC to libgcc.mk.
1180 2000-05-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1182 * bb-reorder.c (get_next_bb_note, get_prev_bb_note): Prototype.
1184 * diagnostic (vbuild_message_string, build_message_string,
1185 build_location_prefix, output_get_prefix, init_output_buffer,
1186 output_notice, vline_wrapper_message_with_location,
1187 v_message_with_decl, default_print_error_function): De-constify.
1188 (set_real_maximum_length): Prototype.
1190 * diagnostic.h (struct output_buffer, init_output_buffer,
1191 output_get_prefix, output_set_prefix): De-constify.
1193 * function.c (init_function_start): Constify.
1195 * gensupport.c (remove_constraints, process_rtx): Prototype.
1197 * gthr-posix.h: Indent uses of #pragma.
1199 * objc/objc-act.c (ggc_mark_imp_list, ggc_mark_hash_table):
1202 * predict.c (find_expected_value): Delete prototype.
1203 (expected_value_to_br_prob): Initialize variable `ev_reg'.
1205 * sbitmap.h (debug_sbitmap): Prototype.
1207 * ssa.c (compute_coalesced_reg_partition): Prototype.
1209 * stor-layout.c (debug_rli): Prototype.
1211 * tree.h (round_down): Prototype.
1212 (init_function_start): Constify.
1214 2000-05-04 Zack Weinberg <zack@wolery.cumb.org>
1216 * cpphash.h: #define __extension__ away if GCC_VERSION < 2095
1217 (overly conservative). Change extern inline wrappers to
1218 static inline, define them always, use PARAMS properly.
1219 * cpplex.c (_cpp_get_directive_token): Don't issue pedantic
1220 whitespace warnings for \f and \v at the beginning of a line.
1222 Thu May 4 10:03:50 2000 Jeffrey A Law (law@cygnus.com)
1224 * haifa-sched.c (schedule_insns): Free the flow edge list when it
1227 2000-05-04 Bruce Korb <bkorb@gnu.org>
1229 * fixincl/inclhack.def: added broken_cabs -
1230 Remove `extern double cabs' declarations from math.h
1231 * fixincl/inclhack.sh: regen
1232 * fixincl/fixincl.x: regen
1233 * fixincl/fixincl.c: Remove BOGOSITY code
1234 * fixincl/mkfixinc.sh: Remove code for installing "shell" version
1236 Thu May 4 09:45:12 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1238 * rtl.h (MEM_COPY_ATTRIBUTES): Also copy RTX_UNCHANGING_P and
1240 * alias.c (canon_rtx): Don't copy RTX_UNCHANGING_P or MEM_ALIAS_SET
1241 when calling MEM_COPY_ATTRIBUTES.
1242 * emit-rtl.c (operand_subword, change_address): Likewise.
1243 * explow.c (stabilize): Likewise.
1244 * expr.c (protect_from_queue, emit_move_insn_1): Likewise.
1245 * integrate.c (copy_rtx_and_substitute): Likewise.
1246 * combine.c (combine_simplify_rtx): Don't copy RTX_UNCHANGING_P
1247 when calling MEM_COPY_ATTRIBUTES.
1248 (make_extraction, simplify_shift_const, gen_lowpart_for_combine):
1250 * cse.c (gen_lowpart_if_possible): Likewise.
1251 * function.c (fixup_var_refs_1, purge_addressof_1): Likewise.
1252 * optabs.c (gen_move_insn): Likewise.
1253 * recog.c (validate_replace_rtx_1): Likewise.
1254 * simplify-rtx.c (add_mem_for_addr): Likewise.
1255 * stmt.c (expand_anon_union_decl): Likewise.
1256 * config/arm/arm.md: Likewise.
1257 * config/h8300/h7300.c (fix_bit_operand): Likewise.
1258 * config/m88k/m88k.c (legitimize_address, block_move_loop): Likewise.
1259 (block_move_no_loop, block_move_sequence): Likewise.
1260 * config/rs6000/rs6000.c (expand_block_move_mem): Likewise.
1261 * config/alpha/alpha.c (get_aligned_mem): Likewise.
1262 Clear MEM_ALIAS_SET.
1263 * final.c (alter_subreg): Don't copy MEM_ALIAS_SET when calling
1264 MEM_COPY_ATTRIBUTES.
1266 2000-05-03 Robert Lipe <robertlipe@usa.net>
1268 * configure.in (i[34567]86-*-isc*) [tmake_file]: Add t-i386bare
1269 to suppress libgcc1.
1270 (i[34567]86-*-sco3.2v5*) Likewise.
1271 (i[34567]86-*-sco3.2v4*) Likewise.
1272 (i[34567]86-*-sco) Likewise.
1273 (i[34567]86-*-solaris2) Likewise.
1274 (i[34567]86-*-sysv5*) Likewise.
1275 (i[34567]86-*-sysv4*) Likewise.
1276 (i[34567]86-*-udk*) Likewise.
1277 (i[34567]86-*-sysv*) Likewise.
1279 2000-05-03 Zack Weinberg <zack@wolery.cumb.org>
1281 * cpphash.h (U): New define, to correct type of string constants.
1282 (ustrcmp, ustrncmp, ustrlen, uxstrdup, ustrchr): New wrapper
1283 routines, to do casts when passing unsigned strings to libc.
1284 * cppexp.c, cppfiles.c, cpphash.c, cppinit.c, cpplib.c: Use them.
1286 * cppfiles.c (_cpp_execute_include): Make filename an U_CHAR *.
1287 * cpphash.c (_cpp_quote_string): Make string an U_CHAR *.
1288 * cppinit.c (dump_special_to_buffer): Make macro name an U_CHAR *.
1289 * cpplex.c (parse_ifdef, parse_include, validate_else): Make
1290 second argument an U_CHAR *.
1292 * cppinit.c (builtin_array): Make name and value U_CHAR *, add
1293 length field, clean up initializer.
1294 (ISTABLE): Add __extension__ to designated-
1295 initializers version.
1296 * cpplex.c (CHARTAB): Likewise.
1298 * mbchar.c: Add dummy external declaration to the !MULTIBYTE_CHARS
1299 case so the file won't be empty.
1301 Wed May 3 21:01:46 2000 Jason Eckhardt <jle@cygnus.com>
1303 * bb-reorder.c (struct reorder_block_def): Member succ removed.
1304 (REORDER_BLOCK_SUCC): Removed.
1305 (enum reorder_skip_type): Removed.
1306 (skip_insns_between_block): Renamed to skip_insns_after_block.
1307 Removed second argument. Removed dead code and cleaned up.
1308 (make_reorder_chain): Removed use of REORDER_BLOCK_SUCC.
1309 (reorder_basic_blocks): Remove use of REORDER_SKIP_AFTER. Removed
1310 second parameter to skip_insns_after_block.
1312 Wed May 3 13:29:54 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1314 * tree.c (staticp, case LABEL_DECL): New case.
1316 2000-05-03 Richard Henderson <rth@cygnus.com>
1318 * Makefile.in (start.encap): Do not depend on LIBGCC1.
1320 * mklibgcc1.in: Fix typo last change.
1322 2000-05-03 Jason Merrill <jason@casey.cygnus.com>
1324 * Makefile.in (WARN_CFLAGS): Add -pedantic -Wno-long-long.
1325 (LOOSE_CFLAGS): New: CFLAGS without -pedantic and -Wtraditional.
1326 (GCC_CFLAGS): Use it.
1327 (LANG_FLAGS_TO_PASS): New: SUBDIR_FLAGS_TO_PASS with LOOSE_CFLAGS.
1328 * cp/Make-lang.in, java/Make-lang.in, f/Make-lang.in, ch/Make-lang.in,
1329 objc/Make-lang.in: Use it.
1331 2000-05-03 Jason R Thorpe <thorpej@zembu.com>
1333 * config/i386/i386.md (lshrqi2_cmpno): Use q not r in constraint.
1335 2000-05-03 Richard Henderson <rth@cygnus.com>
1337 * mklibgcc.in: Restrict OLDCC=GCC test to native. Equate
1338 LIBGCC1 empty with libgcc1.null.
1340 Wed May 3 12:55:46 2000 Jim Wilson <wilson@cygnus.com>
1342 * fold-const.c (extract_muldiv, case MAX_EXPR): Don't allow signedness
1345 2000-05-03 Greg McGary <gkm@gnu.org>
1347 * tree.h (tree_common): Add bounded_flag member. Remove
1348 inaccurate comment about number of remaining bits.
1349 (BOUNDED_INDIRECT_TYPE_P, BOUNDED_POINTER_TYPE_P,
1350 BOUNDED_REFERENCE_TYPE_P, MAYBE_BOUNDED_INDIRECT_TYPE_P,
1351 MAYBE_BOUNDED_POINTER_TYPE_P, MAYBE_BOUNDED_REFERENCE_TYPE_P,
1352 TREE_BOUNDED, TYPE_MAIN_VARIANTS_PHYSICALLY_EQUAL_P,
1353 TYPE_MAIN_PHYSICAL_VARIANT, TYPE_BOUNDED): New macros.
1354 (TYPE_QUAL_BOUNDED): New constant.
1355 (TYPE_QUALS): Handle bounded qualifier.
1356 (TREE_EXPR_QUALS, TREE_FUNC_QUALS): New macros.
1357 (TYPE_BOUNDED_VALUE, TYPE_BOUNDED_BASE, TYPE_BOUNDED_EXTENT,
1358 TYPE_BOUNDED_SUBTYPE, TYPE_UNBOUNDED_VARIANT, TYPE_POINTER_DEPTH,
1359 TYPE_AMBIENT_BOUNDEDNESS): New macros.
1360 (MAX_POINTER_DEPTH, VA_LIST_POINTER_DEPTH): New constants.
1361 (tree_type): Add pointer_depth member. Remove
1362 inaccurate comment about number of remaining bits.
1363 (DECL_POINTER_DEPTH): Add macro.
1364 (tree_decl): Add pointer_depth member.
1366 Wed May 3 22:52:53 2000 Denis Chertykov <denisc@overta.ru>
1368 * config/avr/avr-protos.h (test_hard_reg_class): Declared.
1369 * config/avr/avr.c (ashrhi3_out): optimized shift by 15.
1370 (lshrhi3_out): Likewise.
1371 (ashrsi3_out): bugfix in shift by 8.
1372 (test_hard_reg_class): New function.
1373 * config/avr/avr.md: Bugfix inside conditions in peepholes.
1374 (ashlhi3): removed define_expand of this pattern.
1375 (*ashlhi3_insn): renamed to ashlhi3.
1376 (ashlsi3): removed define_expand of this pattern.
1377 (*ashlsi3_insn): renamed to ashlsi3.
1378 (ashrqi3): removed define_expand of this pattern.
1379 (*ashrqi3_insn): renamed to ashrqi3.
1380 (ashrhi3): removed define_expand of this pattern.
1381 (*ashrhi3_insn): renamed to ashrhi3.
1382 (ashrsi3): removed define_expand of this pattern.
1383 (*ashrsi3_insn): renamed to ashrsi3.
1384 (lshrhi3): removed define_expand of this pattern.
1385 (*lshrhi3_insn): renamed to lshrhi3.
1386 (lshrsi3): removed define_expand of this pattern.
1387 (*lshrsi3_insn): renamed to lshrsi3.
1389 2000-05-03 Rodney Brown <RodneyBrown@pmsc.com>
1391 * config/mcore/mcore.c: Replacing inclusion of "stdio,h" with
1392 inclusion of "system.h".
1394 Wed May 3 11:43:53 2000 Jim Wilson <wilson@cygnus.com>
1396 * config/ia64/ia64.c (ia64_encode_section_info): Add check for
1399 2000-05-03 David Mosberger <davidm@hpl.hp.com>
1401 * config/ia64/ia64.c (ia64_override_options): Force -mconstant-gp
1402 if -mauto-pic is on.
1403 (ia64_epilogue_uses): Mark "gp" (r1) as used by the epilogue if
1404 -mconstant-gp is in effect and function-descriptors are being used
1405 to make indirect calls.
1406 * config/ia64/ia64.h (MASK_CONST_GP): New macro.
1407 (MASK_AUTO_PIC): Ditto.
1408 (TARGET_CONST_GP): Ditto.
1409 (TARGET_AUTO_PIC): Ditto.
1410 (TARGET_SWITCHES): Add -mconstant-gp and -mauto-pic options.
1411 (ASM_OUTPUT_DOUBLE_INT): Don't generate @fptr() if -mauto-pic or
1412 -mno-pic is in effect.
1413 (ASM_OUTPUT_XDATA_DOUBLE_INT): Ditto.
1414 * config/ia64/ia64.md (movdi): Use gen_load_gprel64() if
1415 -mauto-pic is in effect.
1416 (gprel64_offset): New pattern.
1417 (load_gprel64): Ditto.
1418 (call): Handle -mauto-pic like -mno-pic (don't use fptr). If
1419 -mconstant-gp is in effect, no need to preserve gp around direct
1421 (call_value): Ditto.
1422 * config/ia64/linux.h (PROFILE_BEFORE_PROLOGUE): Define.
1423 (FUNCTION_PROFILER): Define.
1424 * config/ia64/sysv4.h (ASM_OUTPUT_CONSTRUCTOR): Don't generate
1425 @fptr() directive when -mno-pic or -mauto-pic is in effect.
1426 (ASM_OUTPUT_DESTRUCTOR): Ditto.
1428 2000-05-03 Richard Henderson <rth@cygnus.com>
1430 * Makefile.in (STAGESTUFF): Add libgcc libgcc.mk.
1431 (libgcc1.null, libgcc1.cross, libgcc1.a): Remove targets.
1432 (libgcc1-asm.a, libgcc1.S, libgcc2.a): Remove targets.
1433 (mklibgcc, libgcc.mk): New targets.
1434 (libgcc.a): Use libgcc.mk.
1435 (stmp-multilib): Likewise.
1436 (stmp-multilib-sub): Remove.
1437 (mostlyclean): Don't delete libgcc2 temp files.
1438 * configure.in (AC_PROG_CC_C_O): Add.
1439 (NO_MINUS_C_MINUS_O): Substitute it.
1440 (all_outputs): Add mklibgcc.
1441 * mklibgcc.in: New file.
1443 2000-05-03 Jason Merrill <jason@casey.cygnus.com>
1445 * cppexp.c (op_t): Make an int.
1447 * rtlanal.c (dead_or_set_regno_p): Remove unused variable.
1449 * varasm.c (initializer_constant_valid_p): Fix parenthesis.
1451 * gensupport.c (process_rtx): Fix macros used.
1453 2000-05-03 Richard Henderson <rth@cygnus.com>
1455 * flow.c (propagate_one_insn): Also don't PROP_REG_INFO for
1456 call-clobbered registers of a call.
1458 Wed May 3 12:40:53 2000 Clinton Popetz <cpopetz@cygnus.com>
1460 * gensupport.c: New file.
1461 * gensupport.h: New file.
1462 * Makefile.in (HOST_RTL): Depend on gensupport.
1463 (gensupport.o) New rule.
1464 * genattr.c: Use gensupport for reading .md files.
1465 * genattrtab.c: Ditto.
1466 * gencodes.c: Ditto.
1467 * genconfig.c: Ditto.
1469 * genextract.c: Ditto.
1470 * genflags.c: Ditto.
1471 * genopinit.c: Ditto.
1472 * genoutput.c: Ditto.
1474 * genrecog.c: Ditto.
1475 * rtl.def (define_insn_and_split): New DEF_RTL_EXPR.
1476 * md.texi (Insn Splitting): Document define_insn_and_split.
1478 Tue May 2 00:20:30 2000 Jason Eckhardt <jle@cygnus.com>
1480 * flow.c (verify_flow_info): Added two more sanity checks. The
1481 first checks that the blocks are numbered consecutively. The second
1482 checks that n_basic_blocks is actually equal to the number of
1483 basic blocks in the insn chain.
1485 2000-05-03 Zack Weinberg <zack@wolery.cumb.org>
1487 * cpplib.h: Add accessor macros for token lists.
1488 * cpplib.c, cpphash.c, cpplex.c: Use them.
1490 Wed May 3 09:29:17 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1492 * expr.c (expand_expr, case COMPONENT_REF): Don't check for checking
1493 memory usage if not in a function.
1494 * varasm.c (initializer_constant_valid_p, case ADDR_EXPR): Only
1495 return address if static.
1497 Wed May 3 13:14:49 MET DST 2000 Jan Hubicka <jh@suse.cz>
1499 * ifcvt.c (noce_try_cmove_arith): Use may_trap_p to thest
1500 whether address may trap.
1502 Tue May 2 23:38:37 2000 Jason Eckhardt <jle@cygnus.com>
1504 * bb-reorder (chain_reorder_blocks): Changed code to test for
1505 EDGE_FALLTHRU rather than making erroneous assumption that the
1506 first outgoing edge is the fall-through edge.
1508 Tue May 2 18:20:31 2000 Donald Lindsay <dlindsay@hound.cygnus.com>
1510 * config/mips/mips.c (mips_build_va_list,mips_va_start,mips_va_arg): new
1511 ABI for varargs, across all MIPS. This is incompatible because the
1512 va_list (__builtin_va_list) structure is different, so a compilation
1513 unit passing a va_list and a compilation unit being passed one, should
1514 both be compiled with the same ABI. (The old structure had two
1515 pointers, now it has three.)
1517 Tue May 2 19:18:43 2000 Jason Eckhardt <jle@cygnus.com>
1519 * bb-reorder.c (struct reorder_block_def): Remove members end,
1520 block_begin, and block_end.
1521 (REORDER_BLOCK_OLD_END): Delete.
1522 (REORDER_BLOCK_BEGIN): Delete.
1523 (REORDER_BLOCK_END): Delete.
1524 (chain_reorder_blocks): Remove dead code.
1526 Tue May 2 17:06:53 2000 Jason Eckhardt <jle@cygnus.com>
1528 * bb-reorder.c (remove_scope_notes): Check for both types of scope
1529 notes as the end of a basic block before deleting.
1531 2000-05-02 Mumit Khan <khan@xraylith.wisc.edu>
1533 * final.c (final_start_function): Fix spelling of "necessary".
1535 2000-05-02 Jason Merrill <jason@casey.cygnus.com>
1537 * toplev.c (debug_ignore_block): Return int.
1538 * dwarf2out.c (dwarf2out_ignore_block): Likewise.
1539 * toplev.h, dwarf2out.h: Adjust.
1540 * emit-rtl.c (remove_unnecessary_notes): Test return value.
1542 * emit-rtl.c (remove_unnecessary_notes): Fix spelling of "necessary".
1543 * toplev.c, final.c, rtl.h: Adjust.
1545 2000-05-02 Zack Weinberg <zack@wolery.cumb.org>
1547 * aclocal.m4 (gcc_AC_CHECK_PROG_VER): New macro.
1548 * configure.in: Look for makeinfo in the unified tree, then
1549 for a system makeinfo which is sufficiently new.
1550 * Makefile.in: If configure says makeinfo is too old, don't
1551 build or install Info documentation.
1553 2000-05-02 Zack Weinberg <zack@wolery.cumb.org>
1555 * cpphash.c (collect_params): Fix off-by-one error.
1556 (dump_hash_helper): Dump all four macro nodetypes.
1558 2000-05-02 Jakub Jelinek <jakub@redhat.com>
1560 * cpphash.c (trad_stringify): Adjust p after stringification as
1563 2000-05-02 Zack Weinberg <zack@wolery.cumb.org>
1565 * cpplib.h (CPP_POP, parse_cleanup_t): Delete.
1566 (cpp_buffer): Remove cleanup, seen_eof, manual_pop members.
1568 * cppfiles.c (file_cleanup): Delete.
1569 * cpphash.c (macro_cleanup): Delete.
1570 (collect_objlike_expansion, collect_funlike_expansion,
1571 macarg, scan_arguments): Remove CPP_POP case.
1573 * cpplex.c (null_cleanup): Delete.
1574 (cpp_pop_buffer): Do the work that was done in the cleanups
1575 here. Call _cpp_unwind_if_stack from here.
1576 (_cpp_expand_to_buffer, cpp_scan_buffer_nooutput,
1577 cpp_scan_buffer): Run until we see CPP_EOF and the top of
1578 stack is the buffer _below_ the one we stacked.
1579 (cpp_get_token): Always pop an exhausted buffer. Return
1580 CPP_EOF unless it's a macro buffer. Don't call _cpp_handle_eof.
1581 * cpplib.c (skip_if_group): Don't call cpp_get_token to
1582 increment the line number.
1583 (_cpp_handle_eof): Rename to _cpp_unwind_if_stack.
1585 * fix-header.c (read_scan_file) [parsing getchar()]: Run until
1586 we see CPP_EOF and the top of stack is the buffer _below_ the
1588 * scan-decls.c: Likewise.
1590 2000-05-02 Andrew Haley <aph@cygnus.com>
1592 * config/ia64/ia64.c (ia64_encode_section_info): Handle the case
1593 where this function is called for the second time on a decl that
1594 has had its section info changed in such a way as to move it out
1596 * config/ia64/ia64.h (REDO_SECTION_INFO_P): New definition.
1598 2000-05-01 Richard Henderson <rth@cygnus.com>
1600 * ifcvt.c (dead_or_predicable): Set merge_bb->end to the insn before
1601 the sequence we're moving, not to merge_bb->head.
1603 2000-05-01 Richard Henderson <rth@cygnus.com>
1605 * configure.in (alpha*-*-linux-gnulibc1*) [tmake_file]: Remove
1606 reference to alpha/t-linux.
1607 (alpha*-*-linux-gnu*): Likewise.
1608 * configure: Rebuild.
1610 * calls.c (expand_call): Don't emit reg notes for a sibcall.
1612 * flow.c (calculate_global_regs_live): Skip for_each_successor_phi
1615 * ifcvt.c (if_convert): Only verify_flow_info if ENABLE_CHECKING.
1617 2000-05-01 Jason Merrill <jason@casey.cygnus.com>
1619 * integrate.c (copy_decl_for_inlining): Copy TREE_READONLY and
1622 2000-05-01 Richard Henderson <rth@cygnus.com>
1624 * ifcvt.c (noce_emit_cmove): Conditionally compile call to
1625 emit_conditional_move.
1627 2000-05-01 Jakub Jelinek <jakub@redhat.com>
1629 * config/ia64/linux.h (LINK_SPEC): Use /lib/ld-linux-ia64.so.1
1630 as the dynamic linker.
1632 2000-05-01 Zack Weinberg <zack@wolery.cumb.org>
1634 * cppfiles.c (open_include_file): Open file in blocking mode.
1635 (read_include_file): Don't fcntl(fd, F_SETFL, 0) anymore.
1636 Only exclude block devices and directories.
1638 * cpphash.c (_cpp_make_hashnode): Rename make_HASHNODE, now
1639 static. Allocate the hashnode and its string in the same
1641 (del_HASHNODE): Don't free h->name.
1642 (_cpp_lookup): If there is no entry for this string, create
1643 one, of type T_VOID.
1644 (_cpp_lookup_slot): Delete.
1645 * cpphash.h: Update prototypes.
1647 * cpplex.c (maybe_macroexpand): Check for hp->type == T_VOID,
1649 * cpplib.c (do_define, do_undef, do_pragma_poison, do_assert,
1650 do_unassert, cpp_defined): Use _cpp_lookup. Don't create a
1651 node here, just fill in the value field properly. "Delete"
1652 entries by setting the value field to T_VOID. Check for
1653 hp->type == T_VOID, not hp == NULL.
1655 * Makefile.in (cpplib.o): Don't depend on $(HASHTAB_H).
1656 * cpperror.c, cppexp.c, cpplex.c, cpplib.c: Don't include
1659 2000-05-01 Alexandre Oliva <aoliva@cygnus.com>
1661 * config/mn10300/mn10300.c (print_operand_address): Do not add
1664 * config/mn10300/mn10300.c (expand_epilogue): If SP is to be
1665 adjusted by less than 256 bytes, use ret regardless of having any
1666 callee-saved register to restore.
1668 2000-05-01 Laurynas Biveinis <lauras@softhome.net>
1670 * tm.texi (TARGET_HAS_F_SETFLKW): Fix typo.
1672 2000-05-01 Mark Elbrecht <snowball3@bigfoot.com>
1674 * config/i386/djgpp.h (INT_ASM_OP): Define.
1675 (CPP_PREDEFINES): Rename MSDOS to __MSDOS__.
1676 (ASM_WEAKEN_LABEL): Define.
1677 (MASK_BNU210): Define.
1678 (SUBTARGET_SWITCHES): Define.
1679 (SUPPORTS_WEAK, SUPPORTS_ONE_ONLY): Define.
1680 (MAKE_DECL_ONE_ONLY): Define.
1681 (UNIQUE_SECTION_P, UNIQUE_SECTION): Define.
1683 2000-05-01 Mumit Khan <khan@xraylith.wisc.edu>
1685 * i386/cygwin.h (INT_ASM_OP): Define.
1687 Mon May 1 18:20:06 2000 Denis Chertykov <denisc@overta.ru>
1689 * config/avr/avr.c (address_cost): renamed to avr_address_cost.
1690 * config/avr/avr.h (ADDRESS_COST): use avr_address_cost.
1692 Mon May 1 17:50:44 2000 Denis Chertykov <denisc@overta.ru>
1694 * config/avr/avr.c (asm_file_start): output 0 as r0 and 1 as r1 in
1695 __tmp_reg__ and __zero_reg__ initialization.
1697 2000-04-30 Richard Henderson <rth@cygnus.com>
1699 * flow.c (propagate_one_insn): Mark sets even when the insn is dead.
1701 * ifcvt.c (noce_process_if_block): Fail the conversion if X is
1702 referenced bewteen the condition and the jump. Don't delete
1703 anything but the jump.
1705 Sun Apr 30 22:48:24 2000 Jason Eckhardt <jle@cygnus.com>
1707 * bb-reorder.c (scope_def): New struct.
1708 (scope_forest_info): New struct.
1709 (struct reorder_block_def): New member "scope".
1710 (REORDER_BLOCK_SCOPE): New macro.
1711 (relate_bbs_with_scopes): New function and prototype.
1712 (make_new_scope): Likewise.
1713 (build_scope_forest): Likewise.
1714 (remove_scope_notes): Likewise.
1715 (insert_intra_1): Likewise.
1716 (insert_intra_bb_scope_notes): Likewise.
1717 (insert_inter_bb_scope_notes): Likewise.
1718 (rebuild_scope_notes): Likewise.
1719 (free_scope_forest_1): Likewise.
1720 (free_scope_forest): Likewise.
1721 (dump_scope_forest): Likewise.
1722 (dump_scope_forest_1): Likewise.
1723 (chain_reorder_blocks): Set REORDER_BLOCK_SCOPE for new block.
1724 Update REORDER_BLOCK_EFF_HEAD and REORDER_BLOCK_EFF_END for new
1726 (reorder_basic_blocks): Added calls to build_scope_scope_forest
1727 and remove_scope_notes before reordering is done. Added calls to
1728 rebuild_scope_notes, free_scope_forest, and reorder_blocks after
1729 after reordering is done.
1731 2000-40-30 Bruce Korb <bkorb@gnu.org>
1733 * fixinc/inclhack.def: Added definitions needed by OSR5,
1734 removed two stale entries (defined away with OLD_CPP).
1735 * fixinc/inclhack.sh: regen
1736 * fixinc/fixincl.x: regen
1738 2000-04-30 Richard Henderson <rth@cygnus.com>
1740 * ifcvt.c (dead_or_predicable): Manually squeeze non-movable notes
1741 from the last insn in the sequence.
1743 2000-04-30 Zack Weinberg <zack@wolery.cumb.org>
1745 * cpplex.c (cpp_idcmp): New function.
1746 * cpplib.h: Prototype it.
1747 * scan_decls.c (scan_decls): Use it to inspect token names.
1748 * fix-header.c (read_scan_file): Likewise. Set system_header_p on
1749 the file being run through the preprocessor.
1750 (check_macro_names): Provide length of token to cpp_defined.
1752 * Makefile.in: Remove stale warning message.
1754 * cppfiles.c (redundant_include_p): Provide length of token to
1756 * cpphash.c (_cpp_make_hashnode, _cpp_lookup_slot): Hash
1757 values are unsigned int.
1758 (_cpp_lookup, _cpp_lookup_slot): Do not calculate the length.
1759 (_cpp_lookup_slot): Do not calculate the hash, either.
1760 * cpphash.h: Update prototypes.
1761 * cpplib.c (do_define, do_undef, do_pragma_poison, do_assert):
1762 Hashes are unsigned int. Calculate hash here, pass by value
1763 to _cpp_lookup_slot.
1765 2000-04-30 Bernd Schmidt <bernds@cygnus.co.uk>
1767 * simplify-rtx.c (check_value_useless): Delete function.
1768 (discard_useless_locs): Don't call it; manage N_USELES_VALUES counter
1770 (cselib_invalidate_regno): Likewise.
1771 (cselib_invalidate_mem_1): Likewise.
1772 (references_value_p): Recognize useless values by the fact that they
1774 (discard_useless_values): Likewise.
1775 (cselib_record_set): This may turn a useless value
1778 2000-04-30 Richard Henderson <rth@cygnus.com>
1780 * config/d30v: New port.
1782 * configure.in (d30v-*): Set fp format.
1783 * configure: Rebuild.
1785 2000-04-30 Richard Henderson <rth@cygnus.com>
1787 * ifcvt.c: New file.
1788 * Makefile.in (OBJS): Add it.
1789 (ifcvt.o): New target.
1790 * jump.c (jump_optimize_1): Remove all code related to if-conversion,
1791 and conditional arithmetic.
1792 (find_insert_position): Remove.
1793 * timevar.def (TV_IFCVT, TV_IFCVT2): New.
1794 * toplev.c (DFI_ce, DFI_ce2): New.
1795 (dump_file): Add ce and ce2 dumps.
1796 (rest_of_compilation): Run if_convert a couple o times. Set
1797 cse_not_expected after cse2. Don't set no_new_pseudos until
1798 after sched1 or recompute_reg_usage.
1800 2000-04-30 Richard Henderson <rth@cygnus.com>
1802 * config/alpha/t-crtbe (crtbegin.o): Add "-I.".
1803 (crtend.o, crtbeginS.o, crtendS.o): Likewise.
1805 2000-04-30 Richard Henderson <rth@cygnus.com>
1807 * flow.c (struct reg_cond_life_info): New.
1808 (struct propagate_block_info): Add reg_cond_dead and reg_cond_reg.
1809 (init_propagate_block_info): Initialize them.
1810 (free_propagate_block_info): Destruct them.
1811 (mark_set_1): Consider conditional life before killing a register.
1812 (mark_regno_cond_dead): New.
1813 (free_reg_cond_life_info): New.
1814 (flush_reg_cond_reg_1, flush_reg_cond_reg): New.
1815 (ior_reg_cond, not_reg_cond, nand_reg_cond): New.
1816 (mark_used_reg): Record conditional life.
1818 * haifa-sched.c (schedule_insns): Disable death counting
1819 sanity check for HAVE_conditional_execution.
1821 2000-04-30 Richard Henderson <rth@cygnus.com>
1823 * Makefile.in (TIMEVAR_H): New.
1824 (ggc-simple.o, ggc-page.o, toplev.o, timevar.o): Use it.
1825 (timevar.h): Remove rule.
1827 2000-04-29 Richard Henderson <rth@cygnus.com>
1829 * config/alpha/crtend.asm: Use C comments instead of #.
1830 * config/alpha/crtbegin.asm: Likewise. Mark __dso_handle hidden.
1832 * config/alpha/elf.h (SELECT_SECTION): Treat CONSTRUCTOR like VAR_DECL.
1834 2000-04-29 Zack Weinberg <zack@wolery.cumb.org>
1836 * cpphash.h (enum node_type: Take out T_MCONST.
1837 (union hashval): Move into struct hashnode.
1838 (struct hashnode): Pack tighter. Remove file, line, col
1840 * cpphash.c: Constify most of the macro-definition structures.
1841 (struct definition): Replace by struct object_defn
1842 and struct funct_defn. Put file, line, column information
1843 here. All users updated to match.
1844 (_cpp_create_definition, _cpp_macroexpand): Remove special
1845 case for #define WORD OTHERWORD.
1846 * cpplib.c (do_undef): Remove T_MCONST case.
1848 * cpphash.h: Move struct reflist, struct definition, and the
1849 DEFINITION typedef to cpphash.c. Use 'struct definition *' in
1850 union hashval. _cpp_free_definition takes a HASHNODE pointer.
1851 * cpphash.c (_cpp_free_definition): Free data pointed to by
1852 MCONST, XCONST, MACRO, and FMACRO nodes properly.
1853 (_cpp_create_definition, del_HASHNODE): Just call
1854 _cpp_free_definition to clear out a hashnode.
1855 * cpplib.c (do_pragma_poison): Likewise.
1857 Sat Apr 29 12:25:17 2000 Alexandre Oliva <aoliva@cygnus.com>
1859 * config/mn10300/mn10300.h (FIRST_DATA_REGNUM,
1860 LAST_DATA_REGNUM, FIRST_ADDRESS_REGNUM, LAST_ADDRESS_REGNUM,
1861 FIRST_EXTENDED_REGNUM, LAST_EXTENDED_REGNUM): New macros.
1862 (REGNO_SP_P): Redefine in terms of STACK_POINTER_REGNUM.
1863 (REGNO_DATA_P, REGNO_ADDRESS_P, REGNO_EXTENDED_P,
1864 REGNO_AM33_P): Redefine in terms of the new macros.
1865 (CONDITIONAL_REGISTER_USAGE, REGNO_REG_CLASS): Likewise.
1866 (FUNCTION_VALUE, LIBCALL_VALUE, FUNCTION_VALUE_REGNO_P,
1867 STRUCT_VALUE): Likewise.
1868 (STACK_POINTER_REGNUM, FRAME_POINTER_REGNUM,
1869 ARG_POINTER_REGNUM, STATIC_CHAIN_REGNUM): Likewise. Moved.
1871 Sat Apr 29 01:18:45 MET DST 2000 Jan Hubicka <jh@suse.cz>
1873 * regmove.c (struct record_stack_memrefs_data): New.
1874 (record_stack_memrefs): New function.
1875 (combine_stack_adjustments_for_block): Use it.
1877 Sat Apr 29 01:15:27 MET DST 2000 Jan Hubicka <jh@suse.cz>
1879 * calls.c (calls_function_1): Propertly handle TREE_LIST expressions;
1880 use special_function_p to detect alloca.
1882 Fri Apr 28 16:30:33 2000 Marc Espie <espie@cvs.openbsd.org>
1884 * gcc.texi: Fixes for makeinfo 4.0 --html.
1886 2000-04-28 Zack Weinberg <zack@wolery.cumb.org>
1888 * pcp.h: Delete file.
1890 2000-04-28 Kazu Hirata <kazu@hxi.com>
1892 * h8300.c (function_epilogue): Clean up flags when the last insn
1893 in a function is a barrier.
1895 2000-04-28 Chris Demetriou <cgd@sibyte.com>
1897 * configure.in (sparc-hal-solaris2*): protect [] glob from
1899 (mips*-*-ecoff*, mips*-*-elf*, mips*-*-*): use MASK_ defines
1900 rather than hard-coded constants in target_cpu_default2.
1901 * configure: Regenerate.
1903 2000-04-28 Jason Merrill <jason@casey.cygnus.com>
1905 * tree.c (get_callee_fndecl): Extract the initial value from
1908 2000-04-28 Richard Henderson <rth@cygnus.com>
1910 * varasm.c (record_constant_1): Record the CODE_LABEL when
1911 taking the address of a LABEL_REF.
1913 2000-04-28 Richard Henderson <rth@cygnus.com>
1914 Jan Hubicka <jh@suse.cz>
1916 * calls.c (combine_pending_stack_adjustment_and_call): Return the
1917 adjustment; don't do the stack adjust.
1918 (expand_call): Call compute_argument_block_size right before
1919 allocating the block; update comment; don't do alignment sanity
1920 checking for sibling call; use args_size instead of
1921 unadjusted_args_size before args_size is adjusted. Use
1922 combine_pending_stack_adjustment_and_call to compute stack adjust
1923 for must_preallocate case.
1925 * expr.c (push_block): Remove shadow `temp' in inner scope.
1927 2000-04-28 Jason Merrill <jason@casey.cygnus.com>
1929 * toplev.c (rest_of_compilation): Call
1930 note_deferral_of_defined_inline_function even if the function
1933 2000-04-28 Scott Bambrough <scottb@netwinder.org>
1935 * cpplex.c (_cpp_scan_line): Fix buffer overwrite.
1937 2000-04-28 Richard Henderson <rth@cygnus.com>
1939 * toplev.c (rest_of_type_compilation): Fix sdb TIMEVAR typo.
1941 2000-04-28 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1943 * timevar.c (init_timevar): DeANSIfy function definition.
1945 2000-04-27 Alex Samuel <samuel@codesourcery.com>
1947 * Makefile.in (timevar.o): Depend on flags.h.
1948 * timevar.c (unused_stack_instances): New variable.
1949 (timevar_push): Take a timevar_stack_def from
1950 unused_stack_instances if available.
1951 (timevar_pop): Push the popped timevar_stack_def onto
1952 unused_stack_instances.
1953 (TIMEVAR_ENABLE): New macro.
1954 (timevar_def): Make standalone a 1-bit field. Add field used.
1955 (get_time): Rename parameter to now. Return after clearing it if
1957 (init_timevar): Do nothing if not TIMEVAR_ENABLE.
1958 (timevar_pop): Likewise.
1959 (timevar_stop): Likewise.
1960 (timevar_push): Likewise. Mark the timing variable as used.
1961 (timevar_start): Likewise.
1962 (timevar_print): Do nothing if not TIMEVAR_ENABLE. Don't print
1963 timevars that were never used.
1965 2000-04-27 Mark Mitchell <mark@codesourcery.com>
1967 * c-common.c (c_apply_type_quals_to_decl): REFERENCE_TYPES are
1968 always TREE_READONLY.
1970 2000-04-27 Ulrich Drepper <drepper@cygnus.com>
1972 * i386.h (FUNCTION_BLOCK_PROFILER_EXIT): Generate mem reference
1973 for call instruction with mode QImode.
1975 2000-04-27 Alex Samuel <samuel@codesourcery.com>
1977 * Makefile.in (OBJS): Add timevar.o.
1978 (toplev.o): Depend on timevar.h.
1979 (ggc-simple.o): Likewise.
1980 (ggc-page.o): Likewise.
1981 (timevar.o): New rule.
1982 (timevar.h): New rule.
1984 * timevar.h: New file.
1985 * timevar.c: Likewise.
1986 * timevar.def: Likewise.
1988 * toplev.h (gc_time, parse_time, varconst_time): Remove.
1989 * toplev.c: Use timevar_push and timevar_pop instead of TIMEVAR
1991 (TIMEVAR): Remove macro.
1992 (gc_time, parse_time, varconst_time, integration_time, jump_time,
1993 cse_time, gcse_time, loop_time, cse2_time, branch_prob_time,
1994 flow_time, combine_time, regmove_time, sched_time,
1995 local_alloc_time, global_alloc_time, flow2_time, peephole2_time,
1996 sched2_time, dbr_sched_time, reorder_blocks_time,
1997 rename_registers_time, shorten_branch_time, stack_reg_time,
1998 to_ssa_time, from_ssa_time, final_time, symout_time, dump_time,
2000 (compile_file): Don't initialize time variables. Call
2001 init_timevar and start TV_TOTAL timer. Call timevar_print instead
2002 of many calls to print_time.
2003 (rest_of_compilation): Add timing for reload_cse_regs.
2004 (get_run_time): Removed to timevar.c.
2005 (print_time): Likewise.
2006 (get_run_time): Implement using TV_TOTAL time variable.
2007 (print_time): Get total run time from get_run_time.
2008 * ggc-page.c (ggc_collect): Push and pop TV_GC instead of
2009 computing elapsed time explicitly.
2010 * ggc-simple.c (ggc_collect): Likewise.
2011 (gc_time): Remove declaration.
2013 2000-04-27 Mark Mitchell <mark@codesourcery.com>
2015 * calls.c (combine_pending_stack_adjustment_and_call): New function.
2016 (expand_call): Use it.
2018 2000-04-27 Jan Hubicka <jh@suse.cz>
2020 * flow.c (mark_set_1): Handle MEMs in ZERO_EXTRACT/SIGN_EXTRACT
2023 Thu Apr 27 12:47:00 2000 Alexandre Oliva <aoliva@cygnus.com>
2025 * config/mn10300/mn10300.md (movhi): Simplify. Prefer data
2028 Thu Apr 27 17:33:05 MET DST 2000 Jan Hubicka <jh@suse.cz>
2030 * function.c (epilogue_done): Pass whole insn to record_insns.
2032 Thu Apr 27 16:55:28 MET DST 2000 Jan Hubicka <jh@suse.cz>
2034 * cse.c (CSE_ADDRESS_COST): Remove.
2035 (find_best_addr): Add new parameter "MODE", use address_cost instead
2037 (address_cost): New.
2038 (fold_rtx): Update call of find_best_addr.
2039 * rtl.h (address_cost): Declare.
2040 * loop.c (general_induction_var): Add new parameter "MODE", use
2041 address_cost instead of ADDRESS_COST
2042 (init_loop): Use address_cost instead of ADDRESS_COST.
2043 (check_insn_for_givs): Update call of general_induction_var.
2044 (find_mem_givs): Likewise.
2045 (consec_sets_giv): Likewise.
2046 * config/i386/i386.h (ADDRESS_COST): Call ix86_address_cost.
2047 * i386.c (ix86_address_cost): New.
2048 * i386-protos.h (ix86_address_cost): Declare.
2050 Thu Apr 27 11:45:16 2000 Alexandre Oliva <aoliva@cygnus.com>
2052 * config/mn10300/mn10300.md (movqi): Simplify. Prefer data
2055 Thu Apr 27 16:11:00 MET DST 2000 Jan Hubicka <jh@suse.cz>
2057 * expr.c (store_expr): Use clear_storage instead of direct memset
2060 Thu Apr 27 10:36:51 2000 Alexandre Oliva <aoliva@cygnus.com>
2062 * config/mn10300/mn10300.c (mn10300_address_cost): Test
2063 ASHIFT, AND and LABEL_REF.
2065 Thu Apr 27 15:08:46 MET DST 2000 Jan Hubicka <jh@suse.cz>
2067 * invoke.texi (-foptimize-sibling-calls): Fix.
2069 Thu Apr 27 14:54:22 MET DST 2000 Jan Hubicka <jh@suse.cz>
2071 * loop.c (load_mems) Don't use hard registers for the hoisting.
2073 * unroll.c (unroll_loop): Avoid overflow in the n_iterations
2074 calculation; rename const_equiv array in the preconditioning code
2075 from loop_unroll to loop_unroll_precondition
2077 2000-04-27 Richard Henderson <rth@cygnus.com>
2079 * flow.c (struct propagate_block_info): Remove new_dead, new_live;
2081 (propagate_one_insn): Clear it. Don't update reg_live here.
2082 (init_propagate_block_info): Update for pbi member changes.
2083 (free_propagate_block_info): Likewise.
2084 (mark_set_1): Know that zero_extract, sign_extract, and
2085 strict_low_part don't kill their argument. Alter hard subregs.
2086 Update new_set for non-CLOBBER sets. Update reg_live.
2087 (find_auto_inc): Update reg_live, not new_dead.
2088 (mark_used_reg): Update reg_live, not new_live. Examine new_set
2089 to determine if the reg in question was set this insn. Only update
2090 reg info with PROP_REG_INFO.
2092 2000-04-26 Richard Henderson <rth@cygnus.com>
2094 * flow.c (allocate_reg_life_data): Set max_regno here ...
2095 (life_analysis): ... not here.
2097 * flow.c (calculate_global_regs_live): Force stack pointer
2100 2000-04-26 Richard Henderson <rth@cygnus.com>
2102 * jump.c (redirect_exp_1): Rework from old redirect_exp. Never
2103 commit change group changes.
2104 (invert_exp_1): Similarly.
2105 (redirect_exp, invert_exp): Use them.
2106 (redirect_jump_1): New.
2107 (invert_jump_1): New.
2108 (jump_optimize_1): Remove code subsumed by condexec.c.
2109 * rtl.h (invert_jump_1, redirect_jump_1): Declare.
2111 2000-04-26 Richard Henderson <rth@cygnus.com>
2113 * rtlanal.c (dead_or_set_regno_p): Use find_regno_note.
2115 * genconfig.c (main): Set all HAVE_foo to 1.
2117 * graph.c (node_data): Use GET_NOTE_INSN_NAME instead of local array.
2119 2000-04-26 Alex Samuel <samuel@codesourcery.com>
2121 * invoke.texi: Document -fssa flag.
2123 2000-04-26 Richard Henderson <rth@cygnus.com>
2125 * flow.c (count_reg_sets_1): Remove.
2126 (count_reg_sets, count_reg_references): Remove.
2127 (recompute_reg_usage): Implement with update_life_info.
2128 Reallocate life data.
2130 2000-04-26 Richard Henderson <rth@cygnus.com>
2132 * flow.c (update_life_info): Consider blocks null to mean the
2134 (calculate_global_regs_live): Likewise.
2135 (life_analysis): Do that instead of collecting all_blocks.
2137 2000-04-26 Richard Henderson <rth@cygnus.com>
2139 * flow.c (tidy_fallthru_edge): Don't delete the jump when it's
2140 a still-valid conditional jump.
2142 2000-04-26 Richard Henderson <rth@cygnus.com>
2144 * jump.c (invert_jump): Always invert REG_BR_PROB. Do it correctly.
2146 * bb-reorder.c (reorder_basic_blocks): Don't run estimate_probability.
2147 * flow.c (calculate_loop_depth): Remove.
2148 * output.h (calculate_loop_depth): Don't declare.
2149 * toplev.c (rest_of_compilation): Expand calculate_loop_depth
2150 inline; run estimate_probability at the same time.
2152 2000-04-26 Neil Booth <NeilB@earthling.net>
2154 * cpplib.h: "~=" is not a single pp-token.
2155 * cpplex.c: Correct commentary.
2157 2000-04-26 Richard Henderson <rth@cygnus.com>
2159 * flow.c (mark_set_1): New arguments code and flags; update all
2160 callers. Track regno_first and regno_last; do HARD_REGNO_NREGS
2161 test in one place. Tidy flags tests. Don't bias REG_N_REFS by
2162 loop_depth when optimizing for size. Do new_dead update after
2163 emitting REG_UNUSED notes. Merge mark_set_reg code.
2164 (mark_set_reg): Remove.
2165 (propagate_one_insn): Use mark_set_1 for call-clobbered registers;
2166 arrange to not emit REG_UNUSED notes.
2168 2000-04-26 Richard Henderson <rth@cygnus.com>
2170 * flow.c (find_auto_inc): Use pbi->bb instead of BLOCK_FOR_INSN.
2171 * ssa.c (convert_from_ssa): Don't run compute_bb_for_insn.
2173 2000-04-26 Richard Henderson <rth@cygnus.com>
2175 * flow.c (propagate_one_insn): Break out from propagate_block.
2176 (init_propagate_block_info): Likewise.
2177 (free_propagate_block_info): Likewise.
2178 (propagate_block): Use them. Export.
2179 * basic-block.h: Declare them all.
2181 2000-04-26 Richard Henderson <rth@cygnus.com>
2183 * basic-block.h (life_analysis): Declare here ...
2184 * output.h: ... not here.
2185 * flow.c (life_analysis): Remove nregs parameter; replace
2186 remove_dead_code with flags. Remove ssa dead code check.
2187 Only init alias analysis if we'll use it.
2188 * reg-stack.c (reg_to_stack): Update life_analysis arguments.
2189 * ssa.c (convert_to_ssa): Likewise.
2190 (convert_from_ssa): Likewise.
2191 * toplev.c (rest_of_compilation): Likewise.
2193 2000-04-26 Richard Henderson <rth@cygnus.com>
2195 * flow.c (flow_delete_block): Rename from delete_block. Export.
2196 * basic-block.h (flow_delete_block): Declare.
2198 2000-04-26 David S. Miller <davem@redhat.com>
2200 * optabs.c (emit_libcall_block): Verify insns with INSN_P before
2201 taking a PATTERN of it.
2203 2000-04-26 <NeilB@earthling.net>
2205 * cpplex.c (spell_other, spell_char): Remove.
2207 (token_spelling, trigraph_map): Use unsigned chars.
2208 (_cpp_lex_line): Tidy up the switch statement.
2209 * cpplib.h: Implement spell_char with spell_string.
2212 2000-04-26 <RodneyBrown@pmsc.com>
2214 * pa/pa32-regs.h (HARD_REGNO_MODE_OK): Warning removal.
2215 * pa/pa64-regs.h (HARD_REGNO_MODE_OK): Warning removal.
2217 2000-04-26 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2219 * dwarf2out.c (dw_cfi_oprnd_struct, dw_fde_struct, add_fde_cfi,
2220 reg_save, dwarf2out_frame_debug_expr, dwarf2out_def_cfa,
2221 dwarf2out_window_save, dwarf2out_args_size, dwarf2out_reg_save,
2222 dwarf2out_return_save, dwarf2out_return_reg,
2223 dwarf2out_stack_adjust, dwarf2out_frame_debug, primary_filename,
2224 add_AT_lbl_id, add_AT_lbl_offset, type_tag, decl_start_label,
2225 gen_compile_unit_die, dwarf2out_init): Constify a char*.
2227 * dwarf2out.h (dwarf2out_init): Likewise.
2229 * dwarfout.c (filename_entry, primary_filename, last_filename,
2230 type_tag, output_compile_unit_die, dwarfout_init): Likewise.
2232 * tree.h (dwarf2out_def_cfa, dwarf2out_window_save,
2233 dwarf2out_args_size, dwarf2out_reg_save, dwarf2out_return_save,
2234 dwarf2out_return_reg): Likewise.
2236 2000-04-26 Andreas Jaeger <aj@suse.de>
2238 * extend.texi (Function Attributes): Fix description of pure
2241 2000-04-26 Jason Merrill <jason@casey.cygnus.com>
2243 * integrate.c (output_inline_function): Do clear DECL_DEFER_OUTPUT
2244 before calling rest_of_compilation.
2246 2000-04-26 Andreas Jaeger <aj@suse.de>
2248 * config/mips/linux.h: Remove erroneous commit of #if 0/#endif in
2251 2000-04-25 Richard Henderson <rth@cygnus.com>
2253 * cse.c (cse_insn): Emit barrier after unconditional jump.
2255 * calls.c (expand_call): Disable tail call generation once
2256 rtx_equal_function_value_matters is false.
2258 * reg-stack.c (convert_regs_1): Treat EDGE_ABNORMAL_CALL edges
2261 2000-04-25 Jason Merrill <jason@casey.cygnus.com>
2263 * dwarf2out.c (add_bound_info): Don't crash on an unexpanded SAVE_EXPR.
2265 * dwarfout.c (output_decl): Ignore NAMESPACE_DECLs.
2267 * dwarf2out.c (gen_subprogram_die): The class-scope declaration DIE
2268 is the primary DIE for a member function.
2269 (gen_decl_die): Call set_decl_origin_self here.
2270 * dwarfout.c (output_decl): And here.
2271 * integrate.c (output_inline_function): Not here.
2272 Don't clear DECL_INLINE until after calling rest_of_compilation.
2273 (set_decl_origin_self): No longer static.
2274 * tree.h: Add prototype.
2275 * toplev.c (note_deferral_of_defined_inline_function): Only write
2276 out abstract instance for actual inlines.
2278 2000-04-25 Alexandre Oliva <aoliva@cygnus.com>
2280 * config/mn10300/mn10300.h (REG_CLASS_FROM_LETTER): Return
2281 EXTENDED_REGS only if TARGET_AM33.
2282 * config/mn10300/mn10300.md (movsi, addsi): Avoid exposing
2283 SP_REGS to register allocation and reloading unless absolutely
2285 (movsi3): Remove special-case of adding non-constants to SP.
2287 2000-04-25 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2289 * aclocal.m4 (gcc_AC_NEED_DECLARATION): This macro now requires
2290 INCLUDES to search and does not provide any of its own. Also it
2291 now accepts optional ACTION-IF-NEEDED and ACTION-IF-NOT-NEEDED
2292 parameters. Also it does not call AC_DEFINE.
2293 (gcc_AC_NEED_DECLARATIONS): Likewise. Also this macro now calls
2294 AC_DEFINE and provides for automatic entries for autoheader.
2295 (gcc_AC_FUNC_PRINTF_PTR): Cleanup C code in test.
2297 * configure.in (gcc_AC_NEED_DECLARATIONS): Save and restore CFLAGS
2298 so we can pass -I flags and include gansidecl.h/system.h in this
2301 * acconfig.h: Delete all NEED_DECLARATION_* entries.
2303 2000-04-25 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2305 * acconfig.h (ENABLE_STD_NAMESPACE, ENABLE_CHECKING,
2306 ENABLE_TREE_CHECKING, ENABLE_RTL_CHECKING, ENABLE_GC_CHECKING,
2307 ENABLE_GC_ALWAYS_COLLECT): Delete entries.
2309 * configure.in (ENABLE_STD_NAMESPACE, ENABLE_CHECKING,
2310 ENABLE_TREE_CHECKING, ENABLE_RTL_CHECKING, ENABLE_GC_CHECKING,
2311 ENABLE_GC_ALWAYS_COLLECT): Use three argument form of AC_DEFINE
2312 for these macros. Clean up spacing and linewraps.
2314 2000-04-26 Jason Merrill <jason@casey.cygnus.com>
2316 * calls.c (expand_call): Use get_callee_fndecl.
2318 * print-tree.c (print_node): Print the chain of an _EXPR.
2320 Tue Apr 25 16:16:04 2000 Andrew MacLeod <amacleod@cygnus.com>
2321 Jim Wilson <wilson@cygnus.com>
2322 Andrew Haley <aph@cygnus.com>
2324 * config/ia64/crtbegin.asm: Add IA-64 unwind support. Correct alloc
2325 and gp save/restore problems.
2326 * config/ia64/crtend.asm: Add IA-64 unwind support.
2327 * config/ia64/ia64.c (ia64_compute_frame_size): Don't include pr_size
2328 in fr_pad_size calculation.
2329 (save_restore_insns): Move PR save area. Correct uses of
2330 RTX_FRAME_RELATED_P.
2331 (ia64_expand_prologue): Mark alloc with RTX_FRAME_RELATED_P.
2332 (ia64_expand_epilogue): Add eh_epilogue support.
2333 (ia64_function_prologue): Emit .prologue directive.
2334 (ia64_init_machine_status, ia64_mark_machine_status): New functions.
2335 (ia64_override_options): Set init_machine_status and
2336 mark_machine_status.
2337 (rtx_needs_barrier): Handle bsp reads and writes.
2338 (spill_offset, sp_offset, spill_offset_emitted, tmp_reg, tmp_saved):
2339 New static variables.
2340 (process_set, process_for_unwind_directive): New functions.
2341 * config/ia64/ia64.h (ASM_OUTPUT_XDATA_CHAR, ASM_OUTPUT_XDATA_SHORT,
2342 ASM_OUTPUT_XDATA_INT, ASM_OUTPUT_XDATA_DOUBLE_INT, ASM_OUTPUT_EH_CHAR,
2343 ASM_OUTPUT_EH_SHORT, ASM_OUTPUT_EH_INT, ASM_OUTPUT_EH_DOUBLE_INT): New
2345 (EH_FRAME_SECTION_ASM_OP): Define to IA_64.unwind section.
2346 (IA64_UNWIND_INFO, HANDLER_SECTION, IA64_UNWIND_EMIT): Define.
2347 (struct machine_function): Define.
2348 * config/ia64/ia64.md (bsp_value, set_bsp, eh_epilogue): New patterns.
2350 2000-04-25 Bruce Korb <bkorb@gnu.org>
2352 * fixinc/Makefile.in: make the removal of old programs more
2354 * fixinc/mkfixinc.sh: use the two new targets in the Makefile:
2355 install-bin and install-sh
2357 2000-04-25 Nick Clifton <nickc@cygnus.com>
2359 * integrate.c (FUNCTION_ATTRIBUTE_INLINABLE_P): If not
2360 defined, define to return zero.
2361 (function_cannot_inline_p): If a function has any target
2362 specific attributes, then use the macro
2363 FUNCTION_ATTRIBUTE_INLINABLE_P to allow the target to decide
2364 whether it can be inlined. If it cannot, issue a suitable
2367 * tm.texi: Add a new node 'Inlining' to document the new macro
2368 FUNCTION_ATTRIBUTE_INLINABLE_P.
2370 2000-04-25 Zack Weinberg <zack@wolery.cumb.org>
2372 * cpplib.h (struct cpp_buffer): Add 'mapped' flag; fix
2375 2000-04-25 Neil Booth <NeilB@earthling.net>
2377 Restore previous patch, plus the following fixes:
2379 * cpphash.c (_cpp_create_definition): Test PREV_WHITESPACE in
2380 flags, not CPP_OPEN_PAREN.
2381 * cpplex.c (expand_token_space, init_token_list,
2382 cpp_free_token_list): Put the dummy token at list->tokens[-1].
2383 (_cpp_lex_line, _cpp_lex_file): token list is 0-based.
2385 Tue Apr 25 14:06:40 2000 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
2387 * config/i386/freebsd.h (INT_ASM_OP): Define.
2389 Tue Apr 25 14:51:07 MET DST 2000 Jan Hubicka <jh@suse.cz>
2391 * loop.c (strength_reduce): Fix typo in the last checkin.
2393 Tue Apr 25 07:33:12 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
2395 * stor-layout.c (finalize_record_size): Simplify to use existing
2397 (compute_record_mode): No longer static.
2398 * tree.h (compute_record_mode): New declaration.
2400 2000-04-25 Neil Booth <NeilB@earthling.net>
2402 * Revert my patch below until cause of build failures
2405 2000-04-25 Richard Henderson <rth@cygnus.com>
2407 * combine.c (combine_instructions): Add missing argument
2410 * toplev.c (rest_of_compilation): Delay sibcall optimization
2411 until after emit_eh_context.
2413 2000-04-24 Nick Clifton <nickc@redhat.com>
2415 * combine.c (combine_instructions): Do not try to combine a
2416 sequence of insns when the second insn has been replaced by a
2419 Mon Apr 24 17:34:18 2000 Mumit Khan <khan@xraylith.wisc.edu>
2421 * gcc.c (load_specs): New static function.
2422 (read_specs): Use it.
2424 * gcc.c (lookup_compiler): Make multiple passes for case
2425 insensitive filesystems.
2427 2000-04-24 Neil Booth <NeilB@earthling.net>
2429 * cpphash.c: replace HSPACE_BEFORE with PREV_WHITESPACE.
2430 * cpphash.h (_cpp_check_directive): new.
2431 * cpplex.c (handle_newline, cpp_free_token_list,
2432 init_trigraph_map, trigraph_ok, trigraph_replace,
2433 backslash_start, skip_block_comment, skip_line_comment,
2434 skip_whitespace, parse_name, parse_number, parse_string,
2435 copy_comment, _cpp_lex_line, spell_char, spell_string,
2436 spell_comment, spell_name, spell_other, _cpp_lex_file,
2437 _cpp_output_list): new.
2438 (expand_name_space): take length argument.
2439 (init_token_list): add comment list initialisation.
2440 (cpp_scan_line): use auto_expand_name_space. PREV_WHITESPACE
2441 instead of HSPACE_BEFORE.
2443 * cpplib.c (_cpp_check_directive): new
2444 * cpplib.h (cpp_name, PREV_WHITESPACE, PREV_COMMENT,
2445 DIGRAPH, UNSIGNED_INT, TOK_NAME): new.
2446 (HSPACE_BEFORE): delete.
2447 (TTYPE_TABLE): rearrange.
2448 (struct cpp_toklist): update.
2450 2000-04-24 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2452 * aclocal.m4 (gcc_AC_HEADER_STRING, gcc_AC_FUNC_PRINTF_PTR,
2453 gcc_AC_C_VOLATILE, gcc_AC_FUNC_MKDIR_TAKES_ONE_ARG): Use the three
2454 argument form of AC_DEFINE.
2456 * configure.in (DEFAULT_LINKER, DEFAULT_ASSEMBLER,
2457 HAVE_INTTYPES_H, PACKAGE, VERSION, ENABLE_WIN32_REGISTRY,
2458 WIN32_REGISTRY_KEY, HAVE_GAS_SUBSECTION_ORDERING, HAVE_GAS_WEAK,
2459 HAVE_GAS_HIDDEN, HAVE_AS_REGISTER_PSEUDO_OP, AS_SPARC64_FLAG,
2460 HAVE_AS_OFFSETABLE_LO10, ENABLE_NEW_GXX_ABI): Likewise.
2462 * acconfig.h: Delete stubs made redundant by 3-arg AC_DEFINE.
2464 2000-04-24 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2466 * Makefile.in (GCC_FOR_TARGET, GCC_CFLAGS, LIBGCC2_INCLUDES,
2467 deduced.h): Use -isystem, not -I, for including system headers.
2469 2000-04-24 Nick Clifton <nickc@cygnus.com>
2471 * config/fr30/fr30.md (addsi3): Do not use small add instruction if
2472 the source register is the frame pointer or arg pointer.
2473 (addsi3_small_int): Disallow if source register is the frame
2474 pointer or arg pointer.
2476 2000-04-24 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2478 * configure.in (ENUM_BITFIELDS_ARE_UNSIGNED): Delete redundant
2479 call to AC_MSG_RESULT.
2481 2000-04-24 Martin v. Löwis <loewis@informatik.hu-berlin.de>
2483 * invoke.texi: Correct grammatical errors, document
2484 -fno-gnu-keywords as identical to -fno-asm for C++.
2486 2000-04-24 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2488 * aclocal.m4: (GCC_HEADER_STRING, GCC_NEED_DECLARATION,
2489 GCC_NEED_DECLARATIONS, GCC_FUNC_VFPRINTF_DOPRNT,
2490 GCC_FUNC_PRINTF_PTR, GCC_PROG_LN_S, GCC_PROG_LN, GCC_C_VOLATILE,
2491 AC_GCC_C_LONG_DOUBLE, GCC_FUNC_MKDIR_TAKES_ONE_ARG,
2492 EGCS_PROG_INSTALL): Rename autoconf macros with prefix gcc_AC_.
2494 * configure.in (AC_GCC_C_LONG_DOUBLE, GCC_PROG_LN, GCC_PROG_LN_S,
2495 GCC_C_VOLATILE, EGCS_PROG_INSTALL, GCC_HEADER_STRING,
2496 GCC_FUNC_VFPRINTF_DOPRNT, GCC_FUNC_PRINTF_PTR,
2497 GCC_NEED_DECLARATIONS, GCC_FUNC_MKDIR_TAKES_ONE_ARG): Invoke with
2500 2000-04-24 Mumit Khan <khan@xraylith.wisc.edu>
2502 * c-pragma.c (push_alignment): Use BITS_PER_UNIT macro.
2503 (pop_alignment): Likewise.
2504 (handle_pragma_token): Likewise.
2506 2000-04-24 Robert Lipe <robertlipe@usa.net>
2508 * tree.h (tree_decl): Member `mode' now ENUM_BITFIELD.
2510 2000-04-24 Hiroyuki Machida <machida@sm.sony.co.jp>
2512 * combine.c (try_combine): Update reg_nonzero_bits of
2513 newi2pat before newpat.
2515 Mon Apr 24 10:19:48 MET DST 2000 Jan Hubicka <jh@suse.cz>
2517 * loop.c (strength_reduce): Simplify test to INSN_P.
2518 (record_giv): Attempt to simplify the add value, use CONSTANT_P
2519 expressions instead of CONST_INT.
2520 (express_from_1): Likewise.
2522 2000-04-24 Mark Mitchell <mark@codesourcery.com>
2524 * regs.h (reg_n_max): Don't declare.
2525 * flow.c (reg_n_max): Don't define.
2526 * regclass.c (renumber): Don't initialize to zero.
2527 (regno_allocated): Likewise.
2528 (reg_n_max): Define.
2529 (allocate_reg_info): Don't initialize unnecessarily.
2531 Mon Apr 24 00:21:36 2000 Jeffrey A Law (law@cygnus.com)
2533 * genattrtab.c (find_attr): Initialize unsigned_p, func_units_p
2534 and blockage_p in the newly allocated attribute.
2536 Sun Apr 23 20:16:49 2000 Alexandre Oliva <aoliva@cygnus.com>
2538 * config/mn10300/mn10300.md (addsi): `inc4' on address
2539 registers does not modify cc, but `inc' on an extended
2542 Sun Apr 23 16:24:35 2000 Denis Chertykov <denisc@overta.ru>
2544 * reload.c (find_equiv_reg): Checks all valueno regs
2545 as a reload_reg_p regs.
2547 2000-04-23 Zack Weinberg <zack@wolery.cumb.org>
2549 * cpphash.c (collect_objlike_expansion): Add sanity check.
2550 (special_symbol): Remove case T_CONST, T_XCONST, T_MCONST. If
2551 the buffer is the empty string, return. Mark __DATE__ and
2552 __TIME__ as XCONST nodes, not MCONST.
2553 (_cpp_macroexpand): Avoid pushing an empty buffer.
2554 (funlike_macroexpand): Don't pop token_buffer here.
2556 Sun Apr 23 18:37:53 2000 Alexandre Oliva <aoliva@cygnus.com>
2558 * config/mn10300/mn10300.h (REGNO_IN_RANGE_P): New macro.
2559 (REGNO_DATA_P, REGNO_ADDRESS_P, REGNO_SP_P): New macros.
2560 (REGNO_EXTENDED_P, REGNO_AM33_P): New macros.
2561 (REGNO_OK_FOR_BASE_P): Define in terms of them.
2562 (REGNO_OK_FOR_BIT_BASE_P, REGNO_OK_FOR_INDEX_P): Likewise.
2563 (REG_OK_FOR_BASE_P): Define in terms of the REGNO macro.
2564 (REG_OK_FOR_BIT_BASE_P, REG_OK_FOR_INDEX_P): Likewise.
2566 Sun Apr 23 22:23:08 MET DST 2000 Jan Hubicka <jh@suse.cz>
2568 * loop.c (simplify_giv_expr): Be more agressive on simplifying
2571 2000-04-23 Zack Weinberg <zack@wolery.cumb.org>
2573 * cpphash.h (struct definition): Move file, line, col members...
2574 (struct hashnode): ... here. Also add 'disabled' flag.
2575 (enum node_type): Add T_VOID, T_XCONST, T_FMACRO, and
2576 T_IDENTITY. Remove T_DISABLED.
2579 * cpphash.c (_cpp_dump_definition): Split out dump_DEFINITION.
2580 (collect_expansion): Split into collect_objlike_expansion and
2581 collect_funlike_expansion.
2582 (_cpp_macroexpand): Split out scan_arguments, stringify, and
2583 funlike_macroexpand.
2584 (_cpp_compare_defs): Rename compare_defs, make static.
2585 (_cpp_make_hashnode): Initialize hp->disabled.
2586 (macro_cleanup): Adjust for new token types. Clear
2588 (_cpp_create_definition): Move code here to determine what
2589 sort of macro it is, and code to check for redefinitions, from
2590 do_define. Implement a few simple cases without creating a
2592 (_cpp_macroexpand, special_symbol, _cpp_dump_definition):
2593 Handle the simple cases.
2594 (push_macro_expansion): Set buf->has_escapes and hp->disabled
2597 * cppinit.c (builtin_array): Change MCONST to XCONST
2599 * cpplex.c (maybe_macroexpand): Handle IDENTITY macros here;
2600 fix check for disabled and function-like macros.
2601 * cpplib.c (do_define): Move most logic to
2602 _cpp_create_definition.
2603 (do_undef): Handle new special token types.
2605 Sun Apr 23 14:27:44 MET DST 2000 Jan Hubicka <jh@suse.cz>
2607 * loop.c (maybe_eliminate_biv_1): Use GET_CODE (x) == CONST_INT instead
2608 of CONSTANT_P for mult_val; always use validate_change to update insn.
2610 2000-04-22 Zack Weinberg <zack@wolery.cumb.org>
2612 * cpphash.c (trad_stringify, add_pat): New functions.
2613 (collect_expansion): Restore support for -traditional syntax.
2614 Use trad_stringify and add_pat.
2615 (_cpp_macroexpand): Restore support for -traditional semantics.
2616 * cpplex.c (_cpp_scan_line): Don't change space_before if we
2617 get a COMMENT token.
2618 (_cpp_lex_token): Provide COMMENT tokens to caller if
2619 traditional and parsing_define_directive.
2620 (skip_comment): Warn about // comments if -Wtraditional.
2621 * cpplib.c (do_define): Fix typo. Create EMPTY nodes with
2623 (do_undef): Don't warn about undefining EMPTY nodes.
2625 Sat Apr 22 22:35:38 MET DST 2000 Jan Hubicka <jh@suse.cz>
2627 * loop.c (strength_reduce): Fix biv removal code.
2629 2000-04-22 Richard Henderson <rth@cygnus.com>
2631 * predict.c (estimate_probability): Examine both sides of
2632 a branch for no exits. Use 90% not 50% for predict taken.
2633 Reorg for one copy of note generation code.
2635 2000-04-22 Richard Henderson <rth@cygnus.com>
2637 * flow.c (mark_used_reg): Hack around rs6000 eliminable pic reg.
2639 2000-04-22 Richard Henderson <rth@cygnus.com>
2641 * diagnostic.c (init_output_buffer): Don't initialize format_args.
2642 (output_clear): Likewise.
2643 (output_printf): Use va_copy.
2644 (vline_wrapper_message_with_location): Likewise.
2645 (v_message_with_decl): Likewise.
2646 (line_wrapper_printf): VA_START infor buffer.format_args directly.
2647 * system.h (va_copy): Provide default implementation.
2649 2000-04-22 Richard Henderson <rth@cygnus.com>
2651 * predict.c (expected_value_to_br_prob): Don't bomb if op1 of
2652 the collected condition is not a constant.
2654 2000-04-22 Gabriel Dos Reis <gdr@codesourcery.com>
2656 * diagnostic.h: New file.
2658 * Makefile.in (diagnostic.o): Depends on diagnostic.h
2660 * diagnostic.c: Tweak. Rationalize the output logic. Adjust
2661 various function prototypes.
2662 (diagnostic.h): #include.
2663 (struct output_buffer): Move into diagnostic.h.
2664 (get_output_prefix): Rename to output_get_prefix. Export.
2665 (init_output_buffer): Export. Break out. Ajust intialization.
2666 (output_space_left, output_append): Export.
2667 (output_newline): Rename to output_add_newline. Export.
2668 (output_clear): Nullify additional output_buffer fields.
2669 (output_puts): Rename to output_add_string. Export.
2670 (dump_output): Rename to output_flush_on. Export.
2671 (build_location_prefix): Constify return-type.
2672 (emit_output_prefix): Rename to output_emit_prefix. Export.
2673 (set_real_maximum_length): New function.
2674 (output_set_maximum_length): Ditto
2675 (output_clear): Ditto.
2676 (output_add_character): Ditto.
2677 (output_add_integer): Ditto.
2678 (output_add_space): Ditto.
2679 (output_format): Ditto.
2680 (output_printf): Adjust buffer initialization.
2681 (vline_wrapper_message_with_location): Ditto.
2682 (v_message_with_decl): Ditto. Adjust call to output_puts
2683 and get_output_prefix.
2684 (default_print_error_function): Adjust buffer intialization.
2686 Sat Apr 22 06:45:04 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
2688 * expr.c (preexpand_calls, case CALL_EXPR): Don't look at TYPE_SIZE
2691 Fri Apr 21 18:33:09 2000 Alexandre Oliva <aoliva@cygnus.com>
2693 * config/mn10300/mn10300.h (REGNO_REG_CLASS): Use NO_REGS instead
2696 Fri Apr 21 18:30:00 2000 Alexandre Oliva <aoliva@cygnus.com>
2698 * config/mn10300/mn10300.h (REGISTER_MOVE_COST): Provide more
2699 accurate data about SP moves.
2701 Fri Apr 21 18:28:28 2000 Alexandre Oliva <aoliva@cygnus.com>
2703 * config/mn10300/mn10300.h (ADDITIONAL_REGISTER_NAMES): Added
2704 aliases to AM33 registers.
2706 Fri Apr 21 18:26:17 2000 Alexandre Oliva <aoliva@cygnus.com>
2708 * config/mn10300/mn10300.h (REG_CLASS_CONTENTS): Added register 16
2709 to all EXTENDED bitmaps.
2711 Fri Apr 21 18:17:12 2000 Alexandre Oliva <aoliva@cygnus.com>
2713 * config/mn10300/mn10300-protos.h (mn10300_address_cost): Declare.
2714 * config/mn10300/mn10300.h (ADDRESS_COST): New macro.
2715 * config/mn10300/mn10300.c (mn10300_address_cost): New function.
2717 Fri Apr 21 18:11:56 2000 Alexandre Oliva <aoliva@cygnus.com>
2719 * config/mn10300/mn10300.md (movdi, movdf): Do not use `movu' when
2720 the operand is not constant.
2722 Fri Apr 21 14:58:29 2000 Denis Chertykov <denisc@overta.ru>
2724 * reload.c (find_equiv_reg): Checks all valueno and regno regs
2725 as a call-clobbered regs.
2727 Fri Apr 21 13:30:26 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
2729 * rtl.c: Use NOTE_INSN_REPEATED_LINE_NUMBER and NOTE_INSN_RANGE_BEG.
2731 * rtl.def: Update comment.
2732 * function.c (expand_function): Use NOTE_INSN_REPEATED_LINE_NUMBER.
2733 * integrate.c (expand_inline_function): Likewise.
2734 * profile.c (branch_prob): Likewise.
2735 * ggc-common.c (ggc_mark_rtx_children): Use NOTE_INSN_RANGE_BEG.
2736 * print-rtl.c (print_rtx): Likewise.
2737 * haifa-sched.c (sched_analyze, unlink_other_notes): Likewise.
2738 (reemit_notes): Likewise; also use enum insn_note.
2740 * stor-layout.c (layout_decl): Only set DECL_MODE if not already set.
2741 (place_field): Properly compute know and actual alignment.
2743 * gengenrtl.c (gencode): Write obstack_alloc_rtx function start
2746 * cse.c (cse_insn): In (set REG0 REG1) case, remove a REG_EQUAL
2749 2000-04-21 Zack Weinberg <zack@wolery.cumb.org>
2751 * cpphash.c (struct arg, struct arglist): Const-ify strings.
2752 (warn_trad_stringify, duplicate_arg_p): New helper functions.
2753 (collect_expansion): Rewrite to scan over a token list.
2754 Remove -traditional support.
2755 (collect_formal_parameters): Rename to collect_params; rewrite
2756 to scan over a token list.
2757 (_cpp_create_definition): Adjust to scan a token list.
2758 (_cpp_macroexpand): Remove -traditional support.
2759 (_cpp_compare_defs): Whitespace is now canonicalized.
2760 (comp_def_part): Delete function.
2762 * cpphash.h: Update prototypes.
2763 * cpplex.c (init_token_list): Don't set lineno if there is no
2765 (pedantic_whitespace): New function.
2766 (_cpp_scan_line): Mark tokens that had hspace before. Don't
2767 consume a newline. Use pedantic_whitespace.
2768 (_cpp_lex_token): Remove support for -traditional macros.
2769 (_cpp_get_define_token): Delete.
2770 (_cpp_get_directive_token): Do the real work here. Use
2771 pedantic_whitespace.
2772 (_cpp_init_input_buffer): Initialize pfile->directbuf.
2774 * cpplib.c (get_macro_name): Delete.
2775 (do_define): Read the entire line into pfile->directbuf, then
2776 feed the token list to _cpp_create_definition.
2777 * cpplib.h (HSPACE_BEFORE): new define.
2778 (struct cpp_reader): Add a toklist member, "directbuf".
2780 * predict.c (estimate_probability): New heuristic: if a jump
2781 branches around a block with no successors, predict it taken.
2782 Disentangle control flow.
2784 2000-04-20 Richard Henderson <rth@cygnus.com>
2786 * loop.c (emit_iv_add_mult): Revert last change.
2788 2000-04-20 Zack Weinberg <zack@wolery.cumb.org>
2790 * cpplib.h (enum cpp_ttype): Add token types for all
2791 punctuators. Distinguish pp-numbers from valid C numbers.
2792 Give some tokens better names. Initialize from macro.
2793 (struct cpp_name, cpp_token, cpp_toklist): New data
2796 * cpplex.c (bump_column, expand_name_space,
2797 expand_token_space, init_token_list, cpp_output_list,
2798 _cpp_scan_line): New functions.
2799 (output_line_command): Add third argument, new line number.
2800 * cpphash.h: Update prototypes.
2801 * cppexp.c, cpphash.c, cpplib.c, scan-decls.c: Update for new
2804 2000-04-20 Richard Henderson <rth@cygnus.com>
2806 * config/alpha/alpha.c (alpha_emit_floatuns): Emit missing barrier.
2808 2000-04-20 Zack Weinberg <zack@wolery.cumb.org>
2810 * c-common.c (decl_attributes) [A_ALIAS]: Set TREE_USED on the
2813 Thu Apr 20 14:19:18 MET DST 2000 Jan Hubicka <jh@suse.cz>
2815 * loop.c (emit_iv_add_mult): Simplify it's input and emit
2816 REG_EQUAL note explaining the calculated value.
2818 * calls.c (expand_call): Avoid unnecesary precalculation
2819 and outgoing parameters space guarding for sibling calls.
2820 (store_one_arg): Likewise.
2822 Thu Apr 20 08:01:07 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
2824 * toplev.c (enum dump_file_index, dump_file): Add DFI_sibling.
2825 (rest_of_compilation): Write sibling dump file and account
2826 for time as jump time.
2827 * invoke.texi: Update documentation on dump flags.
2829 2000-04-19 Marek Michalkiewicz <marekm@linux.org.pl>
2831 * avr.c: #include "system.h" instead of <stdio.h> and <stdlib.h>.
2833 2000-04-19 Zack Weinberg <zack@wolery.cumb.org>
2835 * cpphash.c (special_symbol): Represent an empty macro with
2836 "\r \r " not just "\r ".
2837 (_cpp_macroexpand): Correct condition for the foo ( ) special
2839 (unsafe_chars): Handle EOF as second argument.
2840 (push_macro_expansion): Simplify test for removing escape at
2841 end. Do not trim both escapes if there is no text in between.
2843 2000-04-19 Jim Blandy <jimb@redhat.com>
2845 * dwarf2out.c (DWARF2_ADDR_SIZE): New macro. Use it instead
2846 of PTR_SIZE, when appropriate.
2848 2000-04-19 Mark Mitchell <mark@codesourcery.com>
2850 * system.h (ONLY_INT_FIELDS): Make sure it is defined.
2851 (USE_ENUM_BITFIELDS): Fix typo.
2853 Wed Apr 19 12:14:55 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
2855 * stor-layout.c (place_field): Set rli->offset_align properly.
2857 2000-04-19 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2859 * mips.h (BITS_PER_WORD, UNITS_PER_WORD, UNITS_PER_FPREG,
2860 INT_TYPE_SIZE, LONG_TYPE_SIZE, POINTER_SIZE, POINTER_BOUNDARY,
2861 PARM_BOUNDARY): Remove unnecessary casts.
2863 Wed Apr 19 12:02:37 MET DST 2000 Jan Hubicka <jh@suse.cz>
2865 * calls.c (precompute_arguments): Remove must_preallocate and
2867 (expand_call): Update call of precompute_arguments.
2869 * loop.c (check_insn_for_bivs, for_every_insn_in_loop,
2870 check_insn_for_givs): Break out from ...
2871 (strength_reduce) ... here; use for_every_insn_in_loop to call
2872 check_insn_for_givs.
2873 * loop.h (for_every_insn_in_loop): Declare.
2874 (loop_insn_callback): New type.
2876 2000-04-18 Zack Weinberg <zack@wolery.cumb.org>
2878 * cpplib.c (do_pragma_poison): Strings in the token buffer are
2881 Tue Apr 18 16:04:12 2000 Jim Wilson <wilson@cygnus.com>
2883 * config/ia64/sysv4.h (SELECT_SECTION): Use data_section if
2886 2000-04-18 Zack Weinberg <zack@wolery.cumb.org>
2888 * cccp.c, cexp.y, cexp.c, cccp.1: Removed.
2890 * configure.in: Delete --disable-cpplib option and all
2891 references to cpp_main.
2892 * configure: Regenerate.
2893 * Makefile.in: Remove all references to CCCP, CCCP_OBJS,
2894 @cpp_main@, cccp.c, cexp.c, cexp.y, cexp.output, cexp.o,
2895 cccp.o, cccp, or cppmain. Link cppmain.o straight to
2896 cpp$(exeext). Add --no-headers to makeinfo command line when
2897 generating INSTALL. Install and uninstall cpp.1 manpage, not
2899 * install.texi: Delete all references to cexp.y/cexp.c.
2900 Delete ancient instructions for compiling GCC on 3b1.
2901 * INSTALL: Regenerate.
2903 * cppfiles.c, cpplib.h, jump.c, protoize.c, c-lex.c, mips/t-ecoff,
2904 mips/t-elf, mips/t-r3900: Remove references to cccp.c.
2905 * convex.h, fx80.h, m68k.h, pdp11.h: Remove references to
2907 * xm-linux.h, xm-os2.h, romp.h: Remove definition of BSTRING,
2908 which is no longer tested anywhere.
2910 * cppinit.c (handle_option): Don't run error message through
2913 Tue Apr 18 14:16:47 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
2915 * conflict.c (conflict_graph_add): Pass enum type to htab_find_slot.
2916 * cpperror.c (hashtab.h): Now include.
2917 * cppexp.c (hashtab.h): Likewise.
2918 * cpplex.c (hashtab.h): Likewise.
2919 * cppfiles.c (hashtab.h): Likewise.
2920 (find_include_file, _cpp_calc_hash, cpp_read_file): Pass enum type
2921 to htab_find_slot_with_hash.
2922 * cpphash.c (hashtab.h): Now include.
2923 (_cpp_lookup_slot): INSERT is now enum insert_option.
2924 * cpphash.h (_cpp_lookup_slot): Likewise.
2925 * cppinit.c (hashtab.h): Include earlier.
2926 (initialize_builtins): Pass enum to htab_find_slot.
2927 * cpplib.c (hashtab.h): Now include.
2928 (do_define, do_undef): Pass enum type to _cpp_lookup_slot.
2929 (do_pragma_poison, do_assert): Likewise.
2930 * emit-rtl.c (gen_rtx_CONST_INT): Pass enum to
2931 htab_find_slot_with_hash.
2932 * simplify-rtx.c (cselib_lookup_mem, cselib_lookup): Likewise.
2933 * tree.c (type_hash_add): Likewise.
2934 (build1): Minor cleanup.
2936 * ggc-common.c: Add missing blanks.
2937 * print-tree.c (print_node): Print DECL_OFFSET_ALIGN.
2938 * tree.h (DECL_OFFSET_ALIGN): Fix typo in comment.
2940 * stmt.c (mark_case_node): New function.
2941 (mark_case_nesting): Call it.
2943 * expmed.c (emit_store_flag): If comparing two-word integer
2944 with zero, can optimize NE, EQ, GE, and LT.
2946 * c-decl.c (mark_binding_level): Use 'for' instead of `while'.
2947 * conflict.c: Minor cleanups.
2948 * optabs.c: Add blank line
2949 * simplify-rtx.c: Minor cleanups.
2951 2000-04-18 Stan Cox <scox@cygnus.com>
2953 * gengenrtl.c (genlegend): Fix misspelling.
2955 2000-04-18 Robert Lipe <robertlipe@usa.net>
2957 * configure.in (ENUM_BITFIELDS_ARE_UNSIGNED): Added. Check that
2958 bitfields of the host compiler are not signed quantities.
2959 * config.in: Regenerate.
2960 * configure: Regenerate.
2961 * system.h (USE_ENUM_BITFIELDS): Added.
2962 (ENUM_BITFIELDS): Added.
2963 * rtl.h (rtx_def): Members `code', `mode', now ENUM_BITFIELD.
2964 (SHORT_ENUM_BUG): Deleted.
2965 * tree.h (tree_common): Members `code', `mode', `built_in_class',
2967 * config/i386/xm-sco.h (ONLY_INT_FIELDS): Deleted.
2968 (CODE_FIELD_BUG): Likewise.
2969 * config/m68k/x-apollo68 (CC): Deleted SHORT_ENUM_BUG.
2971 * config/m68k/x-ccur (X_CFLAGS): Likewise.
2973 2000-04-18 Mark Mitchell <mark@codesourcery.com>
2975 * cpplex.c (_cpp_lex_token): Don't call CPP_BUMP_LINE when the
2978 2000-04-17 Zack Weinberg <zack@wolery.cumb.org>
2980 * cppexp.c (lex): Don't assume tokens are NUL terminated.
2981 * cpplib.c (do_include, do_import, do_include_next,
2982 read_line_number, detect_if_not_defined): Likewise.
2983 * cpphash.c (collect_expansion): Likewise.
2984 (special_symbol, _cpp_macroexpand): Check return from
2986 * cpphash.h (CPP_NUL_TERMINATE, CPP_NUL_TERMINATE_Q): Delete
2987 macros. Delete all uses.
2989 * gcc.dg/cpp-mi.c: Add two more test cases.
2990 * gcc.dg/cpp-mind.h, gcc.dg/cpp-mindp.h: New files.
2992 2000-04-17 Richard Henderson <rth@cygnus.com>
2994 * bb-reorder.c (fixup_reorder_chain): Don't look up new block again.
2995 (reorder_basic_blocks): If no epilogue in rtl, force last block last.
2997 2000-04-17 Mark Mitchell <mark@codesourcery.com>
2999 * function.c (expand_function_start): Use hard_function_value to
3000 compute the RTL to use for DECL_RESULT.
3002 Mon Apr 17 23:35:29 MET DST 2000 Jan Hubicka <jh@suse.cz>
3004 * i386.c (athlon_cost): Fix lea, divide and XFmode move costs.
3005 (x86_integer_DFmode_moves, x86_partial_reg_dependency,
3006 x86_memory_mismatch_stall): New global variables.
3007 (ix86_adjust_cost): Handle MEMORY_BOTH on places MEMORY_STORE was only
3008 alloved; fix load penalties for Athlon.
3009 * i386.h (x86_integer_DFmode_moves, x86_partial_reg_dependency,
3010 x86_memory_mismatch_stall): Declare.
3011 (TARGET_INTEGER_DFMODE_MOVES, TARGET_PARTIAL_REG_DEPENDENCY,
3012 TARGET_MEMORY_MISMATCH_STALL): New.
3013 * i386.md (athlon scheduling parameters): Fix latencies according to
3014 Athlon Optimization Manual.
3015 (sahf, xchg, fldcw, leave instruction patterns): Set athlon_decode to
3017 (fsqrt instruction patterns): Set athlon_decode to direct.
3018 (movhi_1): Promote for TARGET_PARTIAL_REG_DEPENDENCY and for
3019 PARTIAL_REGISTER_STALL with !TARGET_HIMODE_MATH machines.
3020 (movqi_1): Handle promoting correctly for TARGET_PARTIAL_REG_DEPENDENCY
3021 and TARGET_PARTIAL_REGISTER_STALL machines.
3022 (pushdf_nointeger): New pattern.
3023 (pushdf_integer): Rename from pushdf.
3024 (movdf_nointger): Enable for !TARGET_INTEGER_DFMODE_MOVES machines.
3025 (movdf_intger): Disable for !TARGET_INTEGER_DFMODE_MOVES machines.
3027 2000-04-17 Richard Henderson <rth@cygnus.com>
3029 * loop.c (canonicalize_condition): Add WANT_REG argument.
3030 Stop the search if we match it.
3031 * expr.h (canonicalize_condition): Update decl.
3032 * predict.c (expected_value_to_br_prob): Use it. Track last
3033 expected value note.
3034 (find_expected_value): Remove.
3036 * reorg.c (mostly_true_jump): Always use BR_PROB if present.
3038 2000-04-17 Zack Weinberg <zack@wolery.cumb.org>
3040 * aclocal.m4 (AM_GNU_GETTEXT): Don't AC_REQUIRE([AC_FUNC_MMAP]).
3041 (AC_FUNC_MMAP_FILE): New macro, tests read-only private map of
3043 * configure.in: Call AC_FUNC_MMAP_FILE.
3044 * configure: Regenerate.
3045 * config.in: Regenerate.
3047 * intl/loadmsgcat.c: Test HAVE_MMAP_FILE not HAVE_MMAP.
3048 * fixinc/fixincl.c: Likewise.
3050 2000-04-17 Richard Henderson <rth@cygnus.com>
3052 * builtins.c (expand_builtin_expect): New.
3053 (expand_builtin): Call it.
3054 * builtins.def (BUILT_IN_EXPECT): New.
3055 * c-common.c (c_common_nodes_and_builtins): Declare __builtin_expect.
3056 * extend.texi: Document it.
3058 * predict.c (expected_value_to_br_prob): New.
3059 (find_expected_value): New.
3060 * basic-block.h (expected_value_to_br_prob): Declare.
3061 * toplev.c (rest_of_compilation): Invoke it.
3063 * rtl.h (NOTE_EXPECTED_VALUE): New.
3064 (NOTE_INSN_EXPECTED_VALUE): New.
3065 * rtl.c (note_insn_name): Update.
3066 * print-rtl.c (print_rtx): Reorg NOTE_LINE_NUMBER special
3067 cases; handle NOTE_INSN_EXPECTED_VALUE.
3069 2000-04-17 Jakub Jelinek <jakub@redhat.com>
3071 * config/sparc/sparc.c (eligible_for_sibcall_delay): Cannot use
3072 leaf sibcall delay slot if flag_pic.
3073 (output_sibcall): Always emit call for leaf sibcall if flag_pic.
3075 2000-04-17 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3077 * Makefile.in (stmp-fixproto): Acknowledge errors in fixproto.
3079 * fixproto: If fix-header fails, exit with an error.
3081 Mon Apr 17 14:59:36 MET DST 2000 Jan Hubicka <jh@suse.cz>
3083 * cse.c (struct check_depdendence_data): New.
3084 (check_dependence): New function.
3085 (invalidate): Use check_depdenence.
3087 2000-04-16 Mark Mitchell <mark@codesourcery.com>
3089 * dwarf2out.c (DWARF_CIE_DATA_ALIGNMENT): Adjust, now that
3090 UNITS_PER_WORD is unsigned.
3092 * tree.h (struct tree_common): Remove misleading comment.
3094 2000-04-16 Dave Pitts <dpitts@cozx.com>
3096 * Makefile.in ($(srcdir)/c-parse.y: c-parse.in): Enclose the whole
3097 message in quotes. Otherwise, IBM's make program treats the '#' as the
3098 start of a comment and ignores the remainder of the line.
3100 * c-lex.c (yylex): Change for EBCDIC, lower case characters preceed
3102 * cccp.c (initialize_char_syntax): Allow for holes in EBCDIC.
3103 * cexp.y (initialize_random_junk): Likewise.
3104 * cppfiles.c (find_include_file): Cast alloca return value.
3105 * cppinit.c (initialize_standard_includes): Likewise.
3106 * cpplib.c (cpp_define, cpp_undef): Likewise.
3107 * defaults.h (ASM_OUTPUT_ASCII): Use ISPRINT.
3108 * final.c (output_asm_insn): Allow for holes in EBCDIC.
3109 * fold-const.c (CHARMASK): New.
3110 (real_hex_to_f): Use it.
3111 * real.c (CHARMASK): New.
3112 (etoasc, asctoeg): Use it.
3113 (asctoeg): EBCDIC lower case characters preceed upper case.
3115 * i370.c (mvs_add_label): Change spacing for coding conventions.
3116 * i370.h (ASM_OUTPUT_CASE_LABEL): Change to the data CSECT for the
3117 outputing case vectors.
3118 (ASM_OUTPUT_CASE_END): New, put assembler back into code CSECT.
3119 (ASM_OUTPUT_ADDR_VEC_ELT, ASM_OUTPUT_ADDR_DIFF_ELT): Remove page check,
3120 since vector in in the data CSECT.
3121 (ASM_OUTPUT_REG_POP, ASM_OUTPUT_REG_PUSH): Restore to correct operation.
3122 * i370.md (Many patterns): Put the length in the XL directives.
3123 (movdi): Put back STM and MVC in definition.
3124 (floatsidf2): Correct TARGET_ELF_ABI pattern and add back the LE370
3125 pattern using the TCA.
3126 * oe.h (CPP_SPEC): Added to allow trigraphs.
3127 * xm-oe.h (HOST_BITS_PER_LONGLONG): Change to 32. IBM's compiler does
3128 not support the "long long" type.
3130 2000-04-16 Mark Mitchell <mark@codesourcery.com>
3132 * config/mips/mips-protos.h (mips_legitimate_address_p): New
3134 (mips_reg_mode_ok_for_base_p): Likewise.
3135 * config/mips/mips.h (REG_OK_STRICT_P): Don't define.
3136 (REG_OK_FOR_INDEX_P): Define unconditionally.
3137 (REG_MODE_OK_FOR_BASE_P): Use mips_reg_mode_ok_for_base_p.
3138 (GO_IF_LEGITIMATE_ADDRESS): Use mips_legitimate_address_p.
3139 * config/mips/mips.c (mips16_simple_memory_operand): Adjust now
3140 that GET_MODE_SIZE is unsigned.
3141 (mips_reg_mode_ok_for_base_p): Define.
3142 (mips_legitimate_address_p): Likewise. Adjust now
3143 that GET_MODE_SIZE is unsigned.
3144 (block_move_loop): Make the number of bytes unsigned.
3145 (expand_block_move): Likewise.
3146 (function_arg): Make the loop counter unsigned to match the
3149 2000-04-16 Richard Henderson <rth@cygnus.com>
3151 * rtl.h (enum insn_note): New enumeration. Subsume
3152 NOTE_INSN_DELETED and friends.
3153 (GET_NOTE_INSN_NAME): Adjust index by NOTE_INSN_BIAS.
3154 * rtl.c (note_insn_name): Tweak string order.
3156 2000-04-15 Zack Weinberg <zack@wolery.cumb.org>
3158 * cpplex.c (_cpp_read_and_prescan): Enlarge len by setting it
3161 * cpplex.c (output_line_command): Remove debugging prints.
3162 (cpp_output_tokens): Don't write out a zero-length buffer or
3163 try to see if it has a newline in it.
3164 (_cpp_expand_to_buffer): Copy the source buffer before pushing.
3165 (_cpp_read_and_prescan): Move shift-down of pushback bytes to
3166 the end of the loop. Use memmove. Don't read past the end of
3167 the buffer. Remove trailing newlines from error messages.
3169 2004-04-16 Neil Booth <NeilB@earthling.net>
3171 * cpphash.h (SYNTAX_INCLUDE, SYNTAX_ASSERT, directive_handler): new.
3172 * cpplib.c: Add new syntax flags to directive table, and
3175 2000-04-15 Ulrich Drepper <drepper@redhat.com>
3177 * i386.c (ix86_expand_epilogue): Yes, the x86 can pop 64k at once
3180 2000-04-15 David Edelsohn <edelsohn@gnu.org>
3182 * toplev.c (display_help): Prefix "f" to "sched-verbose=".
3183 * haifa-sched.c: Update -fsched-verbose comments to use "=".
3185 Sat Apr 15 10:59:19 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
3187 * Makefile.in (ggc-page.o): Now includes toplev.h.
3188 * ggc-page.c (toplev.h): Now included.
3189 (gc_time): Remove declaration.
3190 (ggc_collect): TIME now long.
3191 * toplev.c (parse_time, varasm_time, gc_time): Still global; all
3193 * toplev.h (gc_time, parse_time, gc_time): New declarations.
3195 * toplev.c: Make *_time variable long to reduce chance of overflow.
3196 (TIMEVAR): Likewise for `otime'.
3197 (print_time): Arg is now long; compute percentage in FP and round.
3198 * toplev.h (print_time): Arg is long.
3200 * tree.c: Minor whitespace changes.
3202 * configure.in (alpha*-*-*): Add config/alpha/t-alpha.
3203 * configure: Rebuilt.
3204 * libgcc2.c (__fixunstfDI): Renamed from __fixunstfdi.
3205 (__fixunsxfDI): Renamed from __fixunsxfdi.
3206 (__fixunsdfDI): Renamed from __fixunsdfdi.
3207 (__fixunssfDI): Renamed from __fixunssfdi.
3208 (__floatdisf): Use proper type in REP_BIT macro.
3209 (__fixunsxfSI): Renamed from __fixunsxfsi.
3210 (__fixunsdfSI): Renamed from __fixunsdfsi.
3211 (__fixunssfSI): Renamed from __fixunssfsi.
3212 * libgcc2.h: Add cases for MIN_UNITS_PER_WORD > 4.
3213 Change location of macros and upper-case some names as above.
3214 * longlong.h ([alpha]): Use PARAMS, not __P in decl of __udiv__qrnnd.
3215 * config/alpha/t-alpha, config/alpha/qrnnd.asm: New files.
3217 * varasm.c (assemble_variable): Add cast to remove warning.
3218 (immed_real_const_1): Only use CONST[01]_RTX if not in nested function.
3220 * flow.c (count_basic_blocks, find_basic_blocks_1): Remove last change.
3221 * optabs.c (emit_libcall_block): If have REG_EH_REGION, update
3222 region number to -1.
3224 2000-04-15 Richard Earnshaw (rearnsah@arm.com)
3226 * emit-rtl.c (unshare_all_rtl_again): Unmark everything, then
3227 call unshare_all_rtl.
3229 * arm.md (movhi): REGNO_POINTER_ALIGN is now bits.
3231 Fri Apr 14 16:58:45 2000 Jim Wilson <wilson@cygnus.com>
3233 * config/ia64/lib1funcs.asm (__divdi3, __moddi3, __udivdi3, __umoddi3):
3234 Use .s1 not .s0 for all FP instructions.
3236 2000-04-14 Zack Weinberg <zack@wolery.cumb.org>
3238 * cpplex.c (cpp_output_tokens, cpp_scan_buffer_nooutput): New public
3240 (safe_fwrite, output_line_command): New static functions.
3241 (cpp_expand_to_buffer): Now private to cpplib.
3242 (cpp_scan_buffer): Take a printer.
3244 * cpphash.h: Update prototypes.
3245 * cpplib.h: Update prototypes.
3247 (cpp_buffer): Remove last_nominal_fname.
3248 (cpp_reader): Remove lineno.
3250 * cppmain.c: Use a cpp_printer.
3251 * fix-header.c: No need to inhibit line commands. Call
3252 cpp_start_read with no printer.
3254 * cpperror.c (cpp_notice_from_errno): Provide default name.
3255 * cppfiles.c (make_IHASH, _cpp_fake_ihash): New functions.
3256 (find_include_file, cpp_read_file): Use make_IHASH.
3257 (file_cleanup): Set control_macro and clear
3258 input_stack_listing_current here.
3259 (_cpp_execute_include): Don't output entering-file marker.
3260 * cpphash.c (special_symbol): Look for the line number in the
3261 buffer, not the reader.
3262 (_cpp_macroexpand): No need to disable line commands.
3263 (_cpp_dump_definition): No need to generate line commands.
3264 (dump_hash_helper): Remove excess newline from output.
3265 * cppinit.c (dump_special_to_buffer): No need to generate line
3267 (cpp_printer_init): New.
3268 (cpp_start_read): Take a printer, and start it up if it's not
3269 NULL. No need to generate line commands.
3270 (cpp_finish): Expect no buffers stacked at all. Take a
3271 printer argument, and flush the output buffer if it's not
3273 * cpplex.c (_cpp_lex_token): Return EOF if there's no buffer.
3274 Don't put two hashes at the beginning of an assertion.
3275 (cpp_get_token): Don't increment pfile->lineno or emit line
3276 commands here. Return EOF if there's no buffer when we get
3278 * cpplib.c (do_define, skip_if_group):
3279 No need to disable line commands.
3280 (_cpp_output_line_command): Delete function.
3281 (do_line): Don't emit line commands here, but set things up so
3282 they will be emitted if necessary. Use _cpp_fake_ihash to
3283 make unique nominal_fnames if necessary.
3284 (do_elif, do_else, _cpp_handle_eof): Call cpp_error_with_line
3285 with 0 for column, not -1.
3286 (_cpp_handle_eof): Don't set the control macro here. Don't
3287 clear input_stack_listing_current here. Don't emit line
3290 2000-04-14 Geoff Keating <geoffk@cygnus.com>
3292 * config/rs6000/sysv4.h (LINK_START_SOLARIS_SPEC): Define to empty
3293 always, use the default SVR4 start address.
3295 * config/rs6000/linux.h (LINK_SPEC): Don't define.
3296 (LINK_SHLIB_SPEC): Define.
3297 (LINK_START_DEFAULT_SPEC): Define.
3298 (LINK_OS_DEFAULT_SPEC): Define.
3300 * config/rs6000/sysv4.h (ENDFILE_SPEC): Use the %(endfile_*) macros.
3302 * config/rs6000/eabi.asm (__eabi): Call __init rather than
3303 __do_global_ctors to handle constructors.
3304 * config/rs6000/sysv4.h (STARTFILE_ADS_SPEC): Use crtbegin.
3305 (STARTFILE_YELLOWKNIFE_SPEC): Likewise.
3306 (STARTFILE_MVME_SPEC): Likewise.
3307 (STARTFILE_SIM_SPEC): Likewise.
3308 (ENDFILE_ADS_SPEC): Use crtend.
3309 (ENDFILE_YELLOWKNIFE_SPEC): Likewise.
3310 (ENDFILE_MVME_SPEC): Likewise.
3311 (ENDFILE_SIM_SPEC): Likewise.
3312 (STARTFILE_SOLARIS_SPEC): Use crtbegin/crtbeginS.
3313 (ENDFILE_SOLARIS_SPEC): Use crtend/crtendS.
3314 (STARTFILE_LINUX_SPEC): Use crtbeginS for shared objects.
3315 (ENDFILE_LINUX_SPEC): Use crtendS for shared objects.
3316 * config/rs6000/t-ppccomm (LIB2FUNCS_EXTRA): Don't build eabi-ctors.o.
3317 (EXTRA_MULTILIB_PARTS): Build crtbeginS/crtendS.
3318 (CRTSTUFF_T_CFLAGS_S): Define.
3319 * config/rs6000/eabi-ctors.c: Delete.
3321 * config/rs6000/eabi-ci.asm (__init): Align stack to 16-byte
3324 * config/rs6000/eabi-cn.asm (__init): Allow for 16-byte stack frame.
3328 Fri Apr 14 16:09:02 2000 Jim Wilson <wilson@cygnus.com>
3330 * combine.c (force_to_mode, case LSHIFTRT): Check that shift shift
3331 plus mask size is smaller or equal to the mode size.
3333 Fri Apr 14 18:07:30 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
3335 * print-rtl.c (print_rtx, case NOTE): Don't blow up if NOTE_BASIC_BLOCK
3338 * expr.c (reload.h): Now included.
3339 (emit_block_move): Set volatile_ok when checking for movstr.
3340 (emit_move_1): Check for replacements in addresses in multi-word case.
3341 * Makefile.in (expr.o): Now includes reload.h.
3343 * flow.c (count_basic_blocks): Remove unused var PREV_CALL.
3344 Never have a LIBCALL end a basic block.
3345 (find_basic_blocks_1): Likewise.
3346 Reorganize CALL_INSN cases.
3348 * sbitmap.h (EXECUTE_IF_SET_IN_SBITMAP): Revert last change.
3350 Fri Apr 14 10:54:22 2000 Jim Wilson <wilson@cygnus.com>
3352 * config/ia64/lib1funcs.asm (__ia64_nonlocal_goto): Drop obsolete
3353 completers from mov.ret instruction.
3355 2000-04-14 Richard Henderson <rth@cygnus.com>
3357 * fold-const.c (extract_muldiv): Don't distribute and widen
3358 multiply across plus for non-sizetype unsigned types.
3360 2000-04-14 Richard Henderson <rth@cygnus.com>
3362 * flow.c (find_auto_inc): Don't autoinc eliminable registers.
3363 If the original source is dead in the incr insn, it's dead now.
3365 Fri Apr 14 07:40:32 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
3367 * stor-layout.c (layout_decl): Properly compare KNOWN_ALIGN to
3368 see if DECL_BIT_FIELD needs to still be set.
3370 * tree.h (struct tree_type): Make PRECISION 9 bits and MODE 7.
3372 * dbxout.c (dbxout_type, case INTEGER_TYPE): Don't call
3373 print_int_cst_octal with something that's not an INTEGER_CST.
3375 * config/alpha/alpha.c (alpha_emit_floatuns): Ensure we pass a REG
3376 and not a SUBREG to a FLOAT rtl.
3378 Thu Apr 13 19:39:56 2000 Clinton Popetz <cpopetz@cygnus.com>
3380 * emit-rtl.c (try_split): Avoid infinite loop if the split
3381 results in a sequence that contains the original insn.
3383 2000-04-13 Andreas Jaeger <aj@suse.de>
3385 * config/mips/mips.c (expand_block_move): Pass alignment
3386 argument to move_by_pieces in bits, not bytes.
3388 * config/mips/linux.h (CPP_PREDEFINES): Also define __PIC__ and
3389 __pic__ for little endian.
3391 2000-04-13 Andreas Jaeger <aj@suse.de>
3393 * config/i386/i386-protos.h: Add prototype for
3394 uno_comparison_operator.
3396 Thu Apr 13 15:55:08 MET DST 2000 Jan Hubicka <jh@suse.cz>
3398 * alias.c (nonlocal_reference_p): Take care of CALL_INSNS's fusage.
3399 * calls.c (ECF_PURE): New flag.
3400 (emit_call_1): Handle ECF_PURE calls.
3401 (initialize_argument_information): Unset ECF_PURE flag too.
3402 (precompute_arguments): Precompute for ECF_PURE too.
3403 (expand_call): Handle ECF_PURE calls too.
3404 (emit_library_call_value_1): Rename no_queue argument to fn_type,
3405 accept value of 2 as pure function.
3406 (emit_library_call_value, emit_library_call): Rename no_queue argument
3408 * optabs.c (prepare_cmp_insn): Pass fn_type 2 to memcmp call.
3410 * tree.h (DECL_IS_PURE): New macro.
3411 (struct tree_decl): Add pure_flag.
3412 * c-common.c (enum attrs): Add attribute "pure".
3413 (init_attributes): Initialize attribute "pure"
3414 (decl_attributes): Handle attribute "pure".
3415 * extend.texi (Attribute "pure"): Document.
3416 * calls.c (expand_call): Add (mem:BLK (scratch)) to "equal from"
3418 (flags_from_decl_or_type): Support attribute "pure".
3420 2000-04-13 Jason Merrill <jason@casey.cygnus.com>
3422 * cpplex.c (_cpp_lex_token): Handle digraphs. Don't null-terminate
3423 the token except for numbers and identifiers.
3425 Thu Apr 13 00:09:16 EDT 2000 John Wehle (john@feith.com)
3427 * i386.c (ix86_expand_binary_operator,
3428 ix86_expand_unary_operator): Check no_new_pseudos
3429 instead of reload_in_progress and reload_completed.
3430 (ix86_split_ashldi, ix86_split_ashrdi,
3431 ix86_split_lshrdi): Check no_new_pseudos instead
3432 of reload_completed.
3434 2000-04-12 Jeffrey A Law (law@cygnus.com)
3436 * function.c (purge_addressof): Unshare any shared rtl created by
3437 purge_addressof and its children.
3439 2000-04-12 Mark Mitchell <mark@codesourcery.com>
3441 * function.c (aggregate_value_p): VOID_TYPE nodes are never
3444 2000-04-05 Andreas Jaeger <aj@suse.de>
3446 * config/mips/linux.h (SUBTARGET_ASM_SPEC): Use proper flags if
3447 not compiling PIC code, add flags for mabi=64.
3448 (SUBTARGET_CPP_SIZE_SPEC): New.
3449 (SUBTARGET_CPP_SPEC): New.
3450 (CPP_PREDEFINES): Define __PIC__ and __pic__. PIC code is default
3451 for MIPS/Linux and lots of code needs these defines.
3453 Wed Apr 12 22:44:11 2000 Hans-Peter Nilsson <hp@axis.com>
3455 * reorg.c (fill_slots_from_thread): Check side_effects_p when
3456 trying the "opposite arithmetic" approach.
3458 Wed Apr 12 20:51:20 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
3460 * sh.h (STRUCT_VALUE): Just 0 for TARGET_HITACHI.
3461 (struct sh_args): Add new field force_mem.
3462 (INIT_CUMULATIVE_ARGS): Initialize it.
3463 (FUNCTION_ARG, FUNCTION_ARG_ADVANCE): Act on it.
3465 Wed Apr 12 17:20:41 MET DST 2000 Jan Hubicka <jh@suse.cz>
3467 * calls.c (expand_call): Do not reverse args in "equal from" field.
3468 (emit_library_call_value_1): Emit_libcall_block for const and pure
3471 Wed Apr 12 16:00:25 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
3473 * reload1.c (reload_combine): Don't enable optimization for fixed
3474 registers when encountering a BARRIER.
3476 Wed Apr 12 15:54:11 MET DST 2000 Jan Hubicka <jh@suse.cz>
3478 * builtins.c (expand_builtin_memcmp): Do expansion even with
3479 !HAVE_cmpstrsi, do libcall when gen_strcmpsi fails.
3481 * calls.c (expand_call): Do NO_DEFER_POP unconditionally once
3482 stack is propertly aligned; add sanity checking for aligned
3484 (expand_library_call_value_1): Add sanity checking for aligned
3487 Wed Apr 12 07:51:54 2000 Catherine Moore <clm@cygnus.com>
3489 * calls.c (emit_library_call_value_1): Change 3rd arg to
3490 locate_and_pad_parm to disregard the setting of partial.
3492 Wed Apr 12 08:47:38 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
3494 * tree.c (unsave_expr_now_r, unsafe_for_reeval): Properly do TREE_LIST.
3496 * print-rtl.c (print_rtx): For CALL_PLACEHOLDER, output the
3497 CALL_INSN from the normal case.
3499 Fri Apr 7 12:23:04 MET DST 2000 Jan Hubicka <jh@suse.cz>
3501 * i386.c (x86_sub_esp_4, x86_sub_esp_8, x86_add_esp_4, x86_add_esp_8):
3502 New global variables.
3503 (ix86_emit_epilogue_adjustment): Do not attempt to use pop for the
3505 * i386.h (x86_sub_esp_4, x86_sub_esp_8, x86_add_esp_4, x86_add_esp_8):
3507 (TARGET_SUB_ESP_4, TARGET_SUB_ESP_8, TARGET_ADD_ESP_4,
3508 TARGET_ADD_ESP_8): New macros.
3509 * i386.md: Add peep2s to convert esp adjustments to push and pop
3511 (pushsi_prologue, popsi_epilogue): New patterns.
3513 2000-04-12 Jakub Jelinek <jakub@redhat.com>
3515 * real.c (toe64): Remove stale #endif from the last change.
3517 2000-04-12 Stephen L Moshier <moshier@mediaone.net>
3519 * real.h (MAX_LONG_DOUBLE_TYPE_SIZE): Comment.
3520 * real.c (toe64): Revert previous change.
3522 2000-04-12 Jakub Jelinek <jakub@redhat.com>
3524 * objc/objc-act.c: Include ggc.h.
3525 (objc_tree_index, objc_global_trees): Convert most of the
3526 static tree variables into a static array with previous names
3528 (objc_ellipsis_node): New variable.
3529 (lang_init): Call objc_act_parse_init and c_parse_init.
3530 Create objc_ellipsis_node.
3531 (build_selector_translation_table): Use objc_ellipsis_node instead
3533 (hack_method_prototype): Likewise.
3534 (get_arg_type_list): Likewise.
3535 (start_method_def): Likewise.
3536 (continue_method_def): Likewise.
3537 (gen_method_decl): Likewise.
3538 (ggc_mark_imp_list): New function.
3539 (ggc_mark_hash_table): New function.
3540 (objc_act_parse_init): New function.
3541 * objc/objc-act.h (objc_ellipsis_node): Add extern variable.
3542 * c-parse.in (c_parse_init): For objc add roots of objc specific
3543 local tree variables.
3544 * objc/objc-parse.y: Rebuilt.
3545 * objc/objc-parse.c: Rebuilt.
3546 (opt_parm_list): Use objc_ellipsis_node instead of (tree)1.
3548 Wed Apr 12 01:00:44 EDT 2000 John Wehle (john@feith.com)
3550 * cse.c (delete_trivially_dead_insns): Also delete insns
3551 that copy a register to itself where the destination is
3554 2000-04-11 Richard Henderson <rth@cygnus.com>
3556 * flow.c (struct propagate_block_info): Add new_dead, new_live.
3557 (propagate_block): Initialize them. Use them in parallel instead
3558 of one tmp variable, ie revert much of the 0408 and 0407 functional
3559 changes, but keep the structural changes.
3560 (mark_set_regs): Take new_dead from propagate_block_info instead.
3561 (mark_set_1, mark_set_reg): Likewise.
3562 (mark_used_regs): Likewise with new_live.
3563 (mark_used_reg): Likewise. Revert 0408 change.
3565 2000-04-11 Nick Clifton <nickc@cygnus.com>
3567 * config/arm/arm.h: (INCOMING_RETURN_ADDR_RTX): Remove Dwarf2
3569 (DWARF_FRAME_RETURN_COLUMN): Remove Dwarf2 restriction.
3571 2000-04-11 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
3573 * config/elfos.h (SELECT_SECTION): Decide whether to use a data or
3574 const section to output a CONSTRUCTOR based on the same conditions
3577 Tue Apr 11 09:55:59 2000 Jeffrey A Law (law@cygnus.com)
3579 * pa/long-double.h (FIX_TRUNCTFSI2_LIBCALL): Tweak for PA64.
3580 * pa/pa-protos.h (output_call): Add additional argument indicating
3581 if the call is a sibling/tail call.
3582 (compute_zdepdi_operands, output_64bit_and): Prototype new functions.
3583 (compute_64bit_ior, cmpib_comparison_operator): Likewise.
3584 (function_arg, function_arg_partial_nregs): Likewise
3585 * pa/pa.c (override_options): Always set flag_pic for TARGET_64BIT.
3586 (emit_move_sequence): Zero extend certain constants as needed
3588 (compute_zdepdi_operands, output_64bit_and): New functions.
3589 (output_64bit_ior, function_arg): Likewise.
3590 (cmpib_comparison_operator, function_arg_partial_nregs): Likewise.
3591 (compute_frame_size, hppa_expand_prologue): Handle TARGET_64BIT.
3592 (hppa_expand_epilogue, return_addr_rtx, hppa_va_arg): Likewise.
3593 (hppa_builtin_saveregs, output_cbranch, output_bb): Likewise.
3594 (output_bvb): Likewise.
3595 (output_millicode_call): Return pointer is in %r2 for TARGET_64BIT.
3596 (output_call): New argument 'sibcall'. Generate sibcall sequences
3598 (print_operand); Handle cases 'Q', 'p', and 'z' for TARGET_64BIT. For
3599 (ouput_arg_descriptor): Do not emit argument descriptors for
3601 * pa/pa.h (TARGET_PA_11, TARGET_PA_20): Only define if not already
3603 (TARGET_64BIT, PROMOTE_FUNCTION_RETURN): Define.
3604 (FUNCTION_OK_FOR_SIBALL): Define.
3605 (CPP_PA10_SPEC, CPP_PA11_SPEC, CPP_PA20_SPEC): Define.
3606 (CPP_CPU_DEFAULT_SPEC, SUBTARGET_EXTRA_SPECS, EXTRA_SPECS): Likewise.
3607 (CPP_SPEC): Use new spec infrastructure.
3608 (BITS_PER_WORD, UNITS_PER_WORD): Handle TARGET_64BIT.
3609 (STACK_BOUNDARY, FUNCTION_BOUNDARY, PIC_OFFSET_TABLE_REGNUM): Likewise.
3610 (RETURN_IN_MEMORY, EXTRA_CONSTRAINT, FIRST_PARM_OFFSET): Likewise.
3611 (REG_PARM_STACK_SPACE, STACK_POINTER_OFFSET): Likewise.
3612 (STACK_DYNAMIC_OFFSET, FUNCTION_VALUE): Likewise.
3613 (FUNCTION_ARG_PASS_BY_REFERENCE, FUNCTION_ARG_CALLEE_COPIES): Likewise.
3614 (TRAMPOLINE_TEMPLATE, TRAMPOLINE_SIZE): Likewise.
3615 (INITIALIZE_TRAMPOLINE, LEGITIMATE_CONSTANT_P): Likewise.
3616 (CONST_OK_FOR_LETTER_P, MOVE_RATIO): Likewise.
3617 (FUNCTION_ARG); Call out to C code.
3618 (FUNCTION_ARG_PARTIAL_NREGS): Likewise.
3619 (MAX_BITS_PER_WORD, MAX_LONG_TYPE_SIZE, MAX_WCHAR_TYPE_SIZE): Define.
3620 (MIN_UNITS_PER_WORD): Likewise.
3621 * pa/pa.md (cmpdi): New expander.
3622 (scc patterns, movstrsi): Not available for TARGET_64BIT.
3623 (64bit conditional arithmetic): New patterns.
3624 (absdi2, smindi3, umindi3, smaxdi3, umaxdi3): New patterns.
3625 (movsicc): Not available if modes on all the operands to not match.
3626 (movdicc): New expander and associated patterns.
3627 (64bit branches): New patterns.
3628 (pre_load, post_store): Generate appropriate code for TARGET_64BIT.
3629 (pre_ldd, post_std): New patterns.
3630 (64bit addil, load low part): New patterns.
3631 (special movsf constant): Not available for TARGET_64BIT.
3632 (movsf, movdf expanders): Force constants into memory.
3633 (32bit movdf/movdi patterns): Disable for TARGET_64BIT.
3634 (64bit movdf/movdi patterns): New patterns.
3635 (zero_extendqidi2, zero_extendhidi2, zero_extendsidi2): New patterns
3637 (extendqidi2, extendhidi2, extendsidi2): Similarly.
3638 (adddi3 expander): Allow "arith_operand" for second input.
3639 (32bit adddi3, subdi3, uaddcm): Disable for TARGET_64BIT.
3640 (64bit adddi3, subsi3, uaddcm): New patterns for TARGET_64BIT.
3641 (mulsi3 expander): Revamp slightly so it supports TARGET_64BIT too.
3642 (muldi3): New expander for TARGET_64BIT.
3643 (divsi3, udivsi3, modsi3, umodsi3): Fourth operand must be (reg:SI 2)
3645 (32bit anddi3, iordi3, xordi3, andcm, negdi2, uaddcm): Disable
3646 patterns for TARGET_64BIT.
3647 (64bit anddi3, iordi3, xordi3, andcm, negdi2, uaddcm, shadd): New
3648 patterns for TARGET_64BIT.
3649 (64bit bit insertion/extractions): New patterns for TARGET_64BIT.
3650 (64bit shifts/rotates): New patterns/expanders for TARGET_64BIT.
3651 (sibcall_epilogue): New expander.
3652 (casesi): Tweak for TARGET_64BIT.
3653 (call expanders): Set & use the outgoing argument pointer. Use the
3654 64bit call patterns as needed. Add additional arg to output_call.
3655 (call_internal_reg_64bit, call_value_internal_reg_64bit): New pattern.
3656 (sibcall, sibcall_internal_symref): New expanders.
3657 (sibcall_value, sibcall_value_internal_symref
3658 (interspace_jump): Turn into an expander + matching patterns.
3659 (canonicalize_funcptr_for_compare): Not needed for TARGET_64BIT.
3660 * pa/pa64-regs.h: Eliminate trigraph sequences.
3661 * pa/pa64-start.h (TARGET_PA_20): Fix typo.
3663 2000-04-11 Zack Weinberg <zack@wolery.cumb.org>
3665 * cppexp.c, cpphash.c, cpphash.h, cpplex.c, cpplib.c,
3666 cpplib.h, cppmain.c, fix-header.c, scan-decls.c: Replace
3667 cpp_token with cpp_ttype everywhere.
3668 * cpperror.c, cpphash.c, cpplex.c, cpplib.c, scan-decls.c:
3669 Replace cpp_buf_line_and_col with CPP_BUF_LINE and/or
3670 CPP_BUF_COL. Line and column numbers are unsigned int, not
3672 * cpplex.c (cpp_buf_line_and_col): Delete.
3673 * cpplib.h (struct cpp_buffer, struct cpp_reader): Change
3674 'long lineno' to 'unsigned int lineno'.
3675 (CPP_BUF_LINE, CPP_BUF_COL): New macros.
3677 2000-04-11 Martin v. Löwis <loewis@informatik.hu-berlin.de>
3679 * extend.texi: ISO C99 is not a draft anymore.
3680 * invoke.texi: ISO C++ is not a draft anymore.
3681 * cpp.texi: __cplusplus is required by the ISO standard.
3683 * extend.texi (-fthis-is-variable): Undocument.
3684 * flags.h (warn_template_debugging): Remove declaration.
3685 * gcc.1 (-fall-virtual, -fenum-int-equiv, -fthis-is-variable,
3686 -Wenum-clash, -Wtemplate-debugging): Undocument.
3688 2000-04-10 Nick Clifton <nickc@cygnus.com>
3690 * config/arm/arm.h (HOST_INT): New macro: Declare a HOST_WIDE_INT
3692 (HOST_UINT): New macro: Declare an unsigned HOST_WIDE_INT
3694 (ARM_SIGN_EXTEND): Use HOST_UINT.
3695 (STRIP_NAME_ENCODING): Prevent warnings about redefinitions.
3696 (ASM_OUTPUT_LABELREF): Prevent warnings about redefinitions.
3697 (INCOMING_RETURN_ADDR_RTX): Only define if Dwarf2 is supported.
3698 (DWARF_FRAME_RETURN_COLUMN): Only define if Dwarf2 is supported.
3700 * config/arm/arm.c: (const_ok_for_arm): Use HOST_UINT.
3701 (arm_gen_constant): Use HOST_UINT.
3702 (arm_canonicalize_constant): Use HOST_UINT.
3703 (arm_reload_in_hi): Use HOST_UINT.
3704 (arm_reload_out_hi): Use HOST_UINT.
3705 (output_multi_immediate): Use HOST_UINT.
3706 (int_log2): Use HOST_UINT.
3707 (arm_poke_function_name): Use HOST_UINT.
3708 (arm_output_epilogue): Use arm_volatile_func().
3709 (output_thumb_prologue): Use arm_strip_name_encoding().
3711 Mon Apr 10 15:40:59 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
3713 * sbitmap.c (sbitmap_a_subset_b_p): Rework loop to avoid potential
3714 of sequence point problems.
3716 2000-04-10 Nathan Sidwell <nathan@codesourcery.com>
3718 * rtl.def (ASHIFT, ROTATE, ASHIFTRT, LSHIFTRT, ROTATERT):
3720 * tree.def (LSHIFT_EXPR, RSHIFT_EXPR): Recomment.
3722 Mon Apr 10 07:21:13 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
3724 * sbitmap.h: Whitespace changes and use upper-case macro args.
3725 (struct simple_bitmap_def): All sizes now unsigned.
3726 (EXECUTE_IF_SET_IN_SBITMAP): Internal vars now _X instead of X_.
3727 * sbitmap.c (sbitmap_alloc): N_ELMS now unsigned; also local vars.
3728 (sbitmap_vector_alloc): Parms and local vars now unsigned.
3729 (sbitmap_zero): Cast bzero arg to PTR.
3730 (sbitmap_vector_zero, sbitmap_vector_one): Parm and Local var unsigned.
3731 (sbitmap_union_of_diffs): Change loop index to unsigned and rework
3732 loop to make structure clearer.
3733 (sbitmap_not, sbitmap_difference, sbitmap_a_and_b): Likewise.
3734 (sbitmap_a_or_b, sbitmap_a_subset_b_p, sbitmap_a_or_b_and_c): Likewise.
3735 (sbitmap_a_and_b_or_c): Likewise.
3736 (sbitmap_intersection_of_succs): Minor cleanups.
3737 (sbitmap_intersection_of_preds, sbitmap_union_of_succs): Likewise.
3738 (sbitmap_union_of_preds): Likewise.
3739 (sbitmap_first_set_bit, dump_sbitmap): Local variables now unsigned.
3740 (debug_sbitmap): New function.
3742 * c-convert.c (convert): Handle REFERENCE_TYPE like POINTER_TYPE.
3743 * c-typeck.c (convert_for_assignment): Likewise.
3745 * expmed.c (init_expmed): Don't free objects we make.
3746 * emit-rtl.c (gen_rtx_CONST_INT, init_emit_once): Minor cleanups.
3748 * expr.c (get_inner_reference): Correct some WITH_RECORD_EXPR cases.
3749 (expand_expr, case CONVERT_EXPR): Pass proper alignment to store_field.
3751 * gcse.c (expr_hash_table_size): Now unsigned.
3752 (compute_ae_gen): Local variable `i' now unsigned.
3753 (compute_ae_kill, pre_insert_copies, pre_delete, pre_gcse): Likewise.
3754 (compute_transout, hoist_code): Likewise.
3755 (compute_local_properties): Likewise, also hash_table_size.
3756 (alloc_expr_hash_table): N_INSNS now unsigned.
3757 (delete_null_pointer_checks): Mark arg F as unused.
3759 * regrename.c: Minor cleanups, including chang some variables
3762 2000-04-10 Neil Booth <NeilB@earthling.net>
3764 * cpplex.c (skip_block_comment): Use pointer arithmetic rather
3766 * cpphash.h: (CPP_BUMP_BUFFER_LINE_CUR, CPP_BUMP_LINE_CUR): New.
3768 2000-04-10 Martin v. Löwis <loewis@informatik.hu-berlin.de>
3770 * invoke.texi (-fno-gnu-keywords): Remove classof, headof,
3771 __classof__, and __headof__ from the list of gnu keywords.
3772 (-ansi): Remove -foperator-names from list of implied options.
3773 Do not call it ANSI C++.
3774 (-foperator-names): Document as -fno-operator-names.
3776 2000-04-09 Zack Weinberg <zack@wolery.cumb.org>
3778 * cpphash.c (timestamp): Delete.
3779 (del_HASHNODE): If type is T_MCONST, free value.cpval.
3780 (special_symbol): Remove unnecessary braces. Remove
3781 T_VERSION. Treat T_STDC like T_CONST unless
3782 STDC_0_IN_SYSTEM_HEADERS. Render both __DATE__ and __TIME__
3783 when one is encountered, then convert them into T_MCONST
3785 * cppinit.c (builtin_array): version_string is T_MCONST.
3786 __STDC__ has a "1" in its cpval. Don't have a terminator
3787 entry. Clean up which entries are dumped.
3788 (initialize_builtins): Only __STDC__ gets the special
3789 -traditional treatment. Count the length of builtin_array.
3790 Render version_string here.
3791 * cpphash.h: Remove T_VERSION. Add T_MCONST.
3792 * cpplib.h (struct cpp_reader): Remove timebuf.
3794 2000-04-09 Richard Henderson <rth@cygnus.com>
3796 * genrecog.c (pred): Update comparison_operator for the unordered
3799 * config/i386/i386.c (no_comparison_operator): Disallow unordered
3801 (fcmov_comparison_operator): Allow UNORDERED/ORDERED.
3802 (uno_comparison_operator): New.
3803 (put_condition_code): Handle UNORDERED/ORDERED.
3804 (unsigned_comparison): Likewise.
3805 (ix86_fp_compare_mode): Broken out of ix86_expand_fp_compare.
3806 (ix86_use_fcomi_compare, ix86_prepare_fp_compare_args): Likewise.
3807 (ix86_expand_fp_compare): Use them. Take scratch as argument,
3808 update all callers. Handle all 8 unordered operators.
3809 (ix86_expand_setcc): Lose the unordered argument, update all callers.
3810 (ix86_expand_branch): Likewise. Don't fully expand fp branches.
3811 * config/i386/i386.h (PREDICATE_CODES): Update.
3812 * config/i386/i386-protos.h (ix86_expand_fp_compare): Declare.
3813 (ix86_expand_branch, ix86_expand_setcc): Update.
3814 * config/i386/i386.md (sunordered, sordered): New.
3815 (suneq, sunge, sungt, sunle, sunlt, sltgt): New.
3816 (bunordered, bordered): New.
3817 (buneq, bunge, bungt, bunle, bunlt, bltgt): New.
3818 (*fp_jcc_1, *fp_jcc_2, *fp_jcc_3, *fp_jcc_4): New.
3819 (*fp_jcc_5, *fp_jcc_6, and splitters): New.
3821 2000-04-09 Philip Blundell <philb@gnu.org>
3823 * config/arm/arm.h (ARM_NAME_ENCODING_LENGTHS): Strip `*' too.
3825 Sun Apr 9 15:16:14 EDT 2000 John Wehle (john@feith.com)
3827 * i386.md (fix_truncsfhi2, fix_truncdfhi2,
3828 fix_truncxfhi2): New patterns.
3829 * i386.c (output_fix_trunc): Handle converting to HImode.
3831 2000-04-08 Alex Samuel <samuel@codesourcery.com>
3833 * ssa.c (convert_to_ssa): Eliminate dead code when calling
3835 (convert_from_ssa): Call compute_bb_for_insn before life_analysis.
3836 (for_each_successor_phi): Change parameter to basic_block.
3837 (coalesce_regs_in_successor_phi_nodes): Likewise.
3838 (coalesce_regs_in_copies): Likewise.
3839 (compute_coalesced_reg_partition): Use basic_block instead of index.
3840 * rtl.h (convert_to_ssa): Delete.
3841 (convert_from_ssa): Likewise.
3842 (successor_phi_fn): Likewise.
3843 (for_each_successor_phi): Likewise.
3844 (in_ssa_form): Likewise.
3845 * basic-block.h (convert_to_ssa): Moved from rtl.h.
3846 (convert_from_ssa): Likewise.
3847 (successor_phi_fn): Likewise.
3848 (in_ssa_form): Likewise.
3849 (for_each_successor_phi): Likewise. Change parameter to basic_block.
3850 * flow.c (calculate_global_regs_live): Pass a basic_block to
3851 for_each_successor_phi.
3853 2000-04-08 Richard Henderson <rth@cygnus.com>
3855 * flow.c (mark_used_reg): Use reg_set_p to determine if a register
3856 was modified in the current insn.
3858 2000-04-08 Richard Earnshaw (rearnsha@arm.com)
3860 * arm/thumb.md: Delete.
3861 * arm/thumb-protos.h: Delete.
3863 2000-04-08 Richard Earnshaw (rearnsha@arm.com)
3865 Merge changes from merged-arm-thumb-backend-branch onto trunk.
3867 2000-04-08 Richard Earnshaw (rearnsha@arm.com)
3869 * Merge trunk code from tag merged-arm-thumb-backend-merge_20000408
3872 * arm.md (nop): Use the standard RTL expression. Don't code as a
3874 (*arm_nop, *thumb_nop): Delete.
3876 * arm.c (const_ok_for_arm): Don't use ANSI extensions for defining
3877 constants. Use casts instead.
3878 (arm_gen_constant, arm_rtx_costs, arm_reload_in_hi, arm_reload_out_hi,
3879 output_multi_immediate, arm_poke_function_name): Likewise.
3880 * arm.h (ARM_LEGITIIMIZE_RELOAD_ADDRESS, ARM_SIGN_EXTEND,
3881 MASK_RETURN_ADDDR): Likewise.
3883 2000-03-31 Richard Earnshaw (rearnsha@arm.com)
3885 * Merge trunk code from tag merged-arm-thumb-backend-merge_20000325
3888 * arm.md (eh_epilogue): New function.
3889 * arm.h (struct machine_function): Move to here ...
3890 * arm.c: ... from here.
3891 (arm_output_epilogue): Support epilogues for __builtin_eh_return.
3892 (thumb_exit): Extra parameter eh_ofs. All callers changed.
3893 Handle epilogues for __builtin_eh_return. Make bit-fields unsigned.
3895 2000-03-30 Nick Clifton <nickc@cygnus.com>
3897 * config/arm/semi.h (ASM_SPEC): Restore definition.
3898 (SUBTARGET_EXTRA_ASM_SPEC): Define if not already defined.
3900 * config/arm/elf.h (ASM_SPEC): Restore definition.
3901 (SUBTARGET_EXTRA_ASM_SPEC): Define if not already defined.
3903 * config/arm/arm.h (ASM_SPEC): Remove definition.
3904 (SUBTARGET_EXTRA_ASM_SPEC): Remove definition.
3906 2000-03-26 Bernd Schmidt <bernds@cygnus.co.uk>
3908 * config/arm/arm.c: Disable -fschedule-insns for Thumb.
3910 2000-03-24 Nick Clifton <nickc@cygnus.com>
3912 Various formating tidyups, elimination of compile time
3913 warnings and synchronisation with internal sources:
3915 * config/arm/arm-protos.h (assemble_align): Add prototype.
3916 (gen_rotated_half_load): Rename to arm_gen_rotated_half_load.
3917 (gen_comapre_reg): Rename to arm_gen_compare_reg.
3918 (arm_return_addr_rtx): Rename to arm_return_addr.
3920 * config/arm/arm.c: Include except.h.
3921 Define shorter typenames for strict minipool_node and struct
3923 (arm_return_in_memory): For WinCE return all structures <= 32 bits
3925 (gen_rotated_half_load): Rename to arm_gen_rotated_half_load.
3926 (gen_comapre_reg): Rename to arm_gen_compare_reg.
3928 * config/arm/arm.h (SUBTARGET_EXTRA_ASM_SPEC): Define if not
3930 (ASM_SPEC): Define if not already defined.
3931 (ASM_OUTPUT_DEF_FROM_DECLS): Define.
3933 * config/arm/arm.md: Rename references to gen_rotated_half_load to
3934 arm_gen_rotated_half_load, and references to gen_comapre_reg to
3935 arm_gen_compare_reg.
3936 (indirect_jump): Only accept register operands.
3937 (load_indirect_jump): Keep this pattern since combine can generate
3940 * config/arm/coff.h: Include aout.h.
3941 (MULTILIB_DEFAULTS): Only define if not already defined.
3943 * config/arm/elf.h (ASM_OUTPUT_DEF_FROM_DECLS): Move definition
3944 into arm.h (so that COFF ports can support thumb based aliases).
3945 (ASM_SPEC): Move definition into arm.h
3947 * config/arm/linux-elf.h (SUBTARGET_EXTRA_ASM_SPEC): Remove
3948 redundant apcs spec.
3949 (ASM_SPEC): Move definition to arm.h
3951 * config/arm/semi.h (ASM_SPEC): Move definition to arm.h
3953 * config/arm/unknown-elf.h (ASM_OUTPUT_SECTION_NAME): Add support
3954 for entries in the .bss section
3956 2000-03-23 Nick Clifton <nickc@cygnus.com>
3958 * config/arm/arm.h (THUMB_INITIAL_ELIMINATION_OFFSET): Pass 0
3959 to thumb_far_jump_used_p.
3961 * config/arm/arm-protos.h (thumb_far_jump_used_p): Take a
3962 single integer parameter.
3964 * config/arm/arm.c (struct machine_function): Add two new
3965 fields, 'far_jump_used' and 'arg_pointer_live'.
3966 (thumb_far_jump_used_p): Once the decision has been made that
3967 far jumps might be used, always return true.
3968 If being called from the initial elimination offset macro then
3969 do not bother to perform the test if the arg pointer is not
3971 (thumb_unexpand_epilogue): Pass 1 to thumb_far_jump_used_p().
3972 (output_thumb_prologue): Pass 1 to thumb_far_jump_used_p().
3974 2000-03-23 Richard Earnshaw (rearnsha@arm.com)
3976 * arm.c (output_return_instruction): Handle more cases where we can
3977 return from a function with an ldr instruction.
3978 (arm_output_epilogue): Likewise.
3980 * arm.c (thumb_expand_prologue): Don't clobber the frame pointer
3981 if we need to push a large stack frame and there are no callee-saved
3984 * arm.c (arm_debugger_arg_offset): An offset of 0 is also valid
3985 in ARM code if the frame pointer has been eliminated.
3987 * arm.md (epilogue, *epilogue_insns, consttable_*, align_4): Renumber
3988 unspec_volatile arguments to avoid duplicates.
3989 (consttable_1, consttable_2): Fixes for big-endian mode.
3991 * arm.md (all ARM-mode load insns): Add neg_pool_range attribute
3994 Re-write constant pool code.
3995 * arm.c (minipool_node, minipool_fix): New types.
3996 (minifix): Delete type.
3997 (arm_add_minipool_constant): Delete.
3998 (arm_compute_minipool_offsets, arm_find_barrier,
3999 arm_find_minipool_constant, fixup_compare, sort_fixups): Likewise.
4000 (get_jump_table_size): Now returns HOST_WIDE_INT.
4001 (move_minipool_fix_forward_ref, add_minipool_forward_ref): New
4003 (move_minipool_fix_backward_ref, add_minipool_backward_ref): Likewise.
4004 (assign_minipool_offsets, arm_print_value): Likewise.
4005 (dump_minipool): Rewrite.
4006 (arm_barrier_cost): New function.
4007 (create_fix_barrier): New function.
4008 (push_minipool_barrier): New function.
4009 (push_minipool_fix): Record additional information about the fixup
4011 (note_invalid_constants): Remove push for (UNSPEC 3). Don't
4012 check the mode of what needs fixing.
4013 (arm_reorg): Rewrite.
4015 2000-03-08 Nick Clifton <nickc@cygnus.com>
4017 * config/arm/arm.md (indirect_jump): Force constant addresses into
4020 2000-03-01 Bernd Schmidt <bernds@cygnus.co.uk>
4022 * config/arm/arm.md: Add splitter to turn SF moves into SI moves.
4024 2000-02-24 Nick Clifton <nickc@cygnus.com>
4026 * config/arm/arm.c (thumb_expand_prologue): Make sure that stack
4027 adjust is word aligned.
4028 (thumb_expand_epilogue): Make sure that stack adjust is word
4031 * config/arm/elf.h (ASM_FILE_START): Fix type of version string.
4033 2000-02-24 Bernd Schmidt <bernds@cygnus.com>
4035 * config/arm/arm.h (THUMB_GO_IF_LEGITIMATE_ADDRESS): Allow frame
4036 pointer relative addresses.
4038 2000-02-10 Richard Earnshaw <rearnsha@arm.com>
4040 * arm.c (find_barrier): Find the last barrier within the allowed
4043 2000-02-09 Nick Clifton <nickc@cygnus.com>
4045 * config/arm/arm-protos.h: Replace PROTO with PARAMS.
4047 2000-02-09 Nick Clifton <nickc@cygnus.com>
4049 * config/arm/linux-elf.h (FUNCTION_PROFILER): Rename to
4050 ARM_FUNCTION_PROFILER.
4052 * config/arm/netbsd.h (FUNCTION_PROFILER): Rename to
4053 ARM_FUNCTION_PROFILER.
4055 * config/arm/linux-oldld.h: Imported from mainline sources.
4057 2000-02-07 Nick Clifton <nickc@cygnus.com>
4059 * config/arm/lib1funcs.asm: Merge in thumb functions from
4062 * config/arm/lib1thumb.asm: Delete.
4064 2000-02-04 Nick Clifton <nickc@cygnus.com>
4066 * config/arm/arm.c: Sychronised with current Red hat local
4068 * config/arm/arm.h: Ditto.
4069 * config/arm/arm-protos.h: Ditto.
4071 2000-02-02 Bernd Schmidt <bernds@cygnus.co.uk>
4073 * arm.c (soft_df_operand): Reject SUBREGs containing a constant.
4075 * arm.c (arm_gen_movstrqi): Generate halfword stores rather than two
4078 2000-02-02 Nick Clifton <nickc@cygnus.com>
4080 * config/arm/thumb.c (thumb_exit): Additional fix for same bug.
4082 * config/arm/arm.md (epilogue): Fix rtl checking abort because
4083 (return) was emited using an emit_insn() call.
4085 2000-01-31 Nick Clifton <nickc@cygnus.com>
4087 * config/arm/arm.c (output_thumb_prologue): Fix bug generating
4089 (thumb_exit): Move frame pointer back into hard frame pointer
4090 register if backtracing is being used.
4092 2000-01-13 Richard Earnshaw (rearnsha@arm.com)
4094 * Merge trunk code from tag merged-arm-thumb-backend-merge_20000113
4097 1999-12-15 Bernd Schmidt <bernds@cygnus.co.uk>
4099 * config/arm/arm.md (neg_pool_offset): Provide default for new
4101 (arm_movsi_insn): Add neg_pool_offset attribute.
4102 * config/arm/arm.c (arm_find_barrier): Replace arg FIX with an
4103 rtx for the insn that starts the scan and an unsigned long for its
4104 address. Add MIN_OFFSET and PINSERTED args. All callers changed.
4105 Change scan to ignore insns before MIN_OFFSET. Store size of inserted
4106 instructions in *PINSERTED.
4107 (struct minipool_fixup): Add MIN_ADDRESS elt.
4108 (sort_fixups): Compute it.
4109 (arm_reorg): Changes to support inserting pools before the insn to be
4112 1999-12-08 Bernd Schmidt <bernds@cygnus.co.uk>
4114 * config/arm/elf.h (MULTILIB_DEFAULTS): Add "marm".
4115 * config/arm/linux-elf.h (MULTILIB_DEFAULTS): Add "marm".
4116 * config/arm/coff.h (MULTILIB_DEFAULTS): Add "marm".
4118 Wed Nov 3 10:04:07 1999 Nick Clifton <nickc@cygnus.com>
4120 * config/arm/semi.h (TARGET_VERSION): Do not define if already
4122 (TARGET_DEFAULT): Do not define if already defined.
4124 Tue Nov 2 10:37:25 1999 Nick Clifton <nickc@cygnus.com>
4126 * config/arm/arm.md (anddi3): Allow disjoint source operands.
4127 (iordi3): Allow disjoint source operands.
4128 (xordi3): Allow disjoint source operands.
4129 (negdi2): Permit construction for ARM and Thumb.
4130 (arm_negdi2): Renamed version of old negdi2 pattern.
4131 (thumb_negdi2): New pattern: Only permit non-overlapping
4132 source and destination.
4134 Fri Oct 29 18:52:38 1999 Nick Clifton <nickc@cygnus.com>
4136 * config/arm/arm.c (thumb_expand_prologue): Emit a USE of the
4137 scratch low register so that it will not be deleted.
4139 Fri Oct 29 15:23:48 1999 Nick Clifton <nickc@cygnus.com>
4141 * config/arm/pe.h (ARM_PE): Define.
4143 * config/arm/arm.c (arm_valid_machine_decl_attribute): Allow
4144 interfacearm attribute if this is a PE toolchain.
4145 (output_return_instruction): Do not emit anything if the function
4146 has the naked attribute set.
4147 (is_called_in_ARM_mode): If the function has the interfacearm
4148 attribute then return true.
4149 (thumb_expand_prologue): Do not generate a prologue for naked
4151 (thumb_expand_epilogue): Do not generate an epilogie for a naked
4153 (output_thumb_prologue): Do not bother if the function is naked.
4154 Strip PE encoding from function name before emitting.
4156 Thu Oct 28 11:05:13 1999 Richard Earnshaw <rearnsha@arm.com>
4158 * arm.md (pic_load_addr): Fix constraints.
4160 * arm.md (casesi_insn): Fix mis-applied patch.
4162 * arm.md ("core" function unit): Add rules for single- and
4164 (All TARGET_THUMB patterns): Add "type" attribute information
4166 * arm.c (arm_adjust_cost): Reduce the cost of a data dependency if
4167 the following insn is a CALL.
4169 * arm.c (thumb_expand_epilogue): Add a use of the adjusted stack
4171 * arm.h (CONDITIONAL_REGISTER_USAGE): Nail down the
4172 ARM_HARD_FRAME_POINTER_REGNUM when TARGET_APCS_FRAME.
4173 (FRAME_POINTER_REQUIRED): Only check TARGET_APCS_FRAME if TARGET_ARM.
4175 Wed Oct 27 14:40:48 1999 Nick Clifton <nickc@cygnus.com>
4177 * config/arm/linux-gas.h: oops - this file was missed out when the
4178 branch was created...
4180 Tue Oct 26 17:07:38 1999 Richard Earnshaw <rearnsha@arm.com>
4182 * thumb.c: Deleted. Move contents to ...
4184 * t-arm-aout, t-arm-coff, t-arm-elf, t-linux, t-netbsd, t-semi: Remove
4186 * configure.in (arm*-*-*): Remove thumb.o from extra_objs list.
4189 * arm-protos.h: Use RTX_CODE and tidy up long lines. Don't
4190 declare a prototype for asm_output_align();
4192 * arm.c (thumb_condition_code): Delete.
4193 (arm_print_operand): Always use arm_condition_code array.
4195 * arm.c (thumb_return_addr_rtx): Delete.
4196 (arm_save_machine_status, arm_restore_machine_status): Delete.
4197 (arm_init_machine_status, arm_mark_machine_status): New functions.
4198 (arm_init_expanders): Update accordingly.
4199 (arm_return_addr): Renamed from arm_return_addr_rtx. Rewrite.
4200 (thumb_expand_prologue): Delete code referencing thumb_return_addr_rtx.
4201 * arm.h (RETURN_ADDR_RTX): Call arm_return_addr().
4203 Tue Oct 26 13:24:16 1999 Nick Clifton <nickc@cygnus.com>
4205 * configure.in : Fix arm-*-aout target to use new t-arm-aout
4207 * config/arm/t-arm-aout: New file: Makefile script for arm-*-aout
4210 Tue Oct 26 11:27:12 1999 Nick Clifton <nickc@cygnus.com>
4212 * config/arm/thumb.c (output_thumb_prologue): Fix bug creating
4213 stack backtrace structure.
4215 * config/arm/arm-protos.h: Add prototypes for functions defined in
4218 * config/arm/arm.c (arm_override_options): Fix selection of
4219 attributes of default processor.
4221 * config/arm/coff.h: Delete needless #include.
4223 * config/arm/pe.c: Delete unused code.
4225 * config/arm/pe.h (CPP_DEFINES): Delete
4226 (SUBTARGET_CPP_SPEC): Define.
4227 (ASM_DECLARE_FUNCTION_NAME): Use ARM_DECLARE_FUNCTION_NAME.
4229 * config/arm/t-pe: Add -DInhibit_libc to allof libgcc.a to build.
4231 Mon Oct 25 15:42:09 1999 Richard Earnshaw (rearnsha@arm.com)
4233 * arm.h (TARGET_APCS_FRAME): Renamed from TARGET_APCS -- all uses
4235 (CAN_DEBUG_WITHOUT_FP): Define.
4236 (FIXED_REGISTERS): Make r11 call-saved.
4237 (CALL_USED_REGISTERS): Likewise.
4238 (CONDITIONAL_REGISTER_USAGE): Fix r11 if TARGET_APCS_FRAME.
4239 (FRAME_POINTER_REQUIRED): Correct logic for determining when a
4240 frame-pointer is required.
4241 (TARGET_DEFAULT): Make default setting include ARM_FLAG_APCS_FRAME.
4242 * arm.c (arm_override_options): Warn about -mno-apcs-frame and -g
4243 if the target normally needs a stack frame in non-leaf functions.
4244 (use_return_insn): Correct logic for determining when a return
4245 instruction can be used.
4246 (output_return_instruction): Handle the frame-pointer register as
4247 a normal register when not TARGET_APCS_FRAME.
4248 (arm_output_prologue): Likewise.
4249 (arm_output_epilogue): Likewise.
4250 (output_func_epilogue): Likewise.
4251 (arm_expand_prologue): Likewise.
4252 * netbsd.h semi.h (TARGET_DEFAULT): Add ARM_FLAG_APCS_FRAME.
4254 * arm.c (use_return_insn): No need to check floating point regs if
4256 (arm_find_minipool_constant): Correct typo; use GET_CODE to get
4257 the code of value stored in the minipool array.
4258 (arm_add_minipool_constant): Likewise.
4260 2000-04-08 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4262 * basic-block.h (conflict_graph_enum_fn): K&R fix.
4264 2000-04-08 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4266 * tree.c (tree_expr_nonnegative_p): New function.
4268 * tree.h (tree_expr_nonnegative_p): Declare.
4270 * c-typeck.c (build_binary_op): Call `tree_expr_nonnegative_p' to
4271 elide some sign_compare warnings.
4272 (build_conditional_expr): Likewise.
4274 Sat Apr 8 00:21:51 EDT 2000 John Wehle (john@feith.com)
4276 * i386.md (ashrsi3, ashrhi3, ashrqi3): Fix typo.
4278 * i386.md (floathisf2, floathidf2, floathixf2): New patterns.
4279 * i386.c (print_operand): Use the proper suffix for a 387 HImode
4280 operand. Abort if a 387 operand has an unsupported size.
4282 2000-04-08 Neil Booth <NeilB@earthling.net>
4284 * cppexp.c (parse_charconst): Null does not end character
4286 * cppinit.c (ISTABLE): Null character handled as whitespace.
4287 * cpplex.c (null_warning): new function.
4288 (skip_string): Emit warning if nulls encountered.
4289 (_cpp_skip_hspace): Emit warning if nulls encountered.
4290 (_cpp_lex_token): Emit warning if nulls encountered. Drop
4294 2000-04-07 Richard Henderson <rth@cygnus.com>
4296 * flow.c (loop_depth): Remove.
4297 (reg_next_use, cc0_live, mem_set_list): Replace with ...
4298 (struct propagate_block_info): New.
4299 (life_analysis): Don't allocate reg_next_use.
4300 (propagate_block_delete_insn): Break out of propagate_block.
4301 Use flow_delete_insn to unlink rather than use NOTE_INSN_DELETED.
4302 (propagate_block_delete_libcall): Likewise.
4303 (propagate_block): Create a propagate_block_info struct to pass
4304 to subroutines. Allocate one not two temporary regsets. Don't
4305 clobber memory for const calls. Look for clobbers in
4306 CALL_INSN_FUNCTION_USAGE.
4307 (mark_set_regs): Recognize COND_EXEC.
4308 (mark_set_reg): Break out of mark_set_1.
4309 (mark_used_reg): Break out of mark_used_regs.
4310 (mark_used_regs): Recognize COND_EXEC.
4311 (insn_dead_p): Use propagate_block_info struct.
4312 (libcall_dead_p, invalidate_mems_from_autoinc): Likewise.
4313 (find_auto_inc, try_pre_increment_1): Likewise.
4314 (print_rtl_with_bb): Dump regs live at end too.
4315 (count_reg_sets_1): Pass in loop_depth.
4316 (count_reg_sets, count_reg_references): Likewise.
4317 (recompute_reg_usage): Provide it.
4319 2000-04-07 Richard Henderson <rth@cygnus.com>
4321 * Makefile.in (conflict.o): Depend on $(RTL_H) and $(BASIC_BLOCK_H)
4324 2000-04-07 Zack Weinberg <zack@wolery.cumb.org>
4326 * cpplib.c (do_elif): Skip the rest of the line if we're
4327 not going to bother evaluating it.
4328 (skip_if_group): Clear pfile->only_seen_white. Reorder loop
4329 to avoid pointless calls to the lexer.
4331 Fri Apr 7 11:50:54 2000 Jim Wilson <wilson@cygnus.com>
4333 * config/ia64/ia64.c: Delete stdio.h and ctype.h includes.
4335 2000-04-07 Jason Merrill <jason@casey.cygnus.com>
4337 * calls.c (expand_call): emit_queue if we're trying a sibcall.
4339 2000-04-07 Jakub Jelinek <jakub@redhat.com>
4341 * config/sparc/t-linux64 (tcrtbeginS.o, tcrtendS.o): Remove.
4343 2000-04-06 Geoff Keating <geoffk@cygnus.com>
4345 * Makefile.in: Build crtbeginS and crtendS like crtbegin and
4346 crtend so they can be multilibbed.
4347 (STAGESTUFF): Remove s-crt and s-crtS.
4349 2000-04-07 Richard Henderson <rth@cygnus.com>
4351 * config/alpha/alpha.c (alpha_emit_conditional_move): Fail
4352 if we discover we need a pseudo and no_new_pseudos is true.
4353 * config/alpha/alpha.md (ne:DI insn): New.
4354 (trunctfsf2, sne): Emit NE instead of non-canonical LTU.
4356 2000-04-07 Richard Henderson <rth@cygnus.com>
4358 * rtl.def (COND_EXEC): New.
4359 * rtl.h (COND_EXEC_TEST, COND_EXEC_CODE): New.
4360 * tm.texi (MAX_CONDITIONAL_EXECUTE): Document.
4362 * genconfig.c (have_cond_arith_flag): Remove.
4363 (have_cond_exec_flag): New.
4364 (walk_insn_part): Detect COND_EXEC, not arithmetic in IF_THEN_ELSE.
4365 (main): Print HAVE_conditional_execution.
4367 * haifa-sched.c (haifa_classify_insn): Recognize COND_EXEC.
4368 (sched_analyze_insn, print_pattern): Likewise.
4369 * reload.c (find_equiv_reg): Likewise.
4370 * rtlanal.c (reg_referenced_p): Likewise.
4371 (note_stores, dead_or_set_regno_p): Likewise.
4372 (reg_overlap_mentioned_p): Rewrite to use a switch.
4374 * ggc.h (struct rtx_def): Forward declare.
4376 * print-rtl.c (debug_rtx_range): New.
4377 * rtl.h (debug_rtx_range): Declare.
4379 * varray.h (VARRAY_ACTIVE_SIZE, VARRAY_POP_ALL): New.
4381 * gcse.c (gcse_main): Don't rebuild the CFG here.
4382 (delete_null_pointer_checks): Likewise.
4383 * ssa.c (convert_to_ssa): Likewise.
4384 * toplev.c (rest_of_compilation): Do it here instead. Combine
4385 sequential calls to TIMEVAR. Consistently use `insns' instead of
4386 `get_insns()'. Always split insns after reload when optimizing.
4388 * basic-block.h (merge_blocks_nomove): Declare.
4389 (tidy_fallthru_edge): Declare.
4390 * flow.c (merge_blocks_nomove): Document as merging into previous
4391 blocks. Remove cruft from between blocks; remove all edges out of A.
4392 (tidy_fallthru_edge): Export.
4394 2000-04-06 Alex Samuel <samuel@codesourcery.com>
4396 * ssa.c (compute_conservative_reg_partition): Declare with
4398 * toplev.c (clean_dump_file): Remove previously-deleted function
4399 inadvertantly merged back in.
4400 * conflict.c (conflict_graph_add): Use a single call to
4401 htab_find_slot to look up and insert.
4403 2000-04-06 Richard Henderson <rth@cygnus.com>
4405 * genrecog.c (*): Rename _last_insn to last_insn.
4406 (make_insn_sequence): Set the position of the peephole2 C test
4407 to be at the last insn.
4409 2000-04-06 Richard Henderson <rth@cygnus.com>
4411 * flow.c (compute_flow_dominators): Free worklist.
4413 2000-04-06 Michael Matz <matzmich@cs.tu-berlin.de>
4415 * flow.c (compute_flow_dominators): Process blocks FIFO not LIFO.
4417 2000-04-06 Alex Samuel <samuel@codesourcery.com>
4419 * rtl.h (INSN_P): New macro.
4420 (successor_phi_fn): New typedef.
4421 (for_each_successor_phi): New prototype.
4422 (in_ssa_form): New variable.
4423 (PHI_NODE_P): Likewise.
4424 * flow.c (calculate_global_regs_live): Add to new_live_at_end from
4425 phi nodes in successors.
4426 (mark_used_regs): Add PHI case.
4427 (set_phi_alternative_reg): New function.
4428 (life_analysis): Assert that dead code elimination is not selected
4430 * toplev.c (to_ssa_time): New variable.
4431 (from_ssa_time): Likewise.
4432 (compile_file): Zero to_ssa_time and from_ssa_time.
4433 Print time to convert to and from SSA.
4434 (rest_of_compilation): Time convert_to_ssa and convert_from_ssa.
4435 (print_time): Compute percent fraction as integer.
4436 * ssa.c (PHI_NODE_P): Moved to rtl.h.
4437 (convert_to_ssa): Check if we're already in SSA.
4438 Don't eliminate dead code in life_analysis.
4439 Rerun flow and life analysis at bottom.
4440 (eliminate_phi): Use canonical regnos when adding nodes.
4441 (mark_reg_in_phi): New function.
4442 (mark_phi_and_copy_regs): Likewise.
4443 (convert_from_ssa): Rerun life analysis at top.
4444 Use coalesced partition.
4445 Check for removing a phi node at the end of the block.
4446 (compute_coalesced_reg_partition): New function.
4447 (coalesce_regs_in_copies): Likewise.
4448 (coalesce_reg_in_phi): Likewise.
4449 (coalesce_regs_in_sucessor_phi_nodes): Likewise.
4450 (for_each_successor_phi): Likewise.
4451 (rename_context): New struct.
4452 (rename_block): Use a rename_context with rename_insn_1. When
4453 renaming sets of a subreg, emit a copy of the entire reg first.
4454 (rename_insn_1): Treat data as a rename_context *. Save current
4456 (rename_set_data): Add field set_insn.
4457 * Makefile.in (HASHTAB_H): Move up in file.
4458 (OBSTACK_H): New macro.
4459 (collect2.o): Use OBSTACK_H in dependencies.
4460 (sdbout.o): Likewise.
4461 (emit-rtl.o): Likewise.
4462 (simplify-rtx.o): Likewise.
4463 (fix-header.o): Likewise.
4464 (OBJS): Add conflict.o.
4465 (conflict.o): New rule.
4466 * basic-block.h: Include partition.h.
4467 (conflict_graph): New typedef.
4468 (conflict_graph_enum_fn): Likewise.
4469 (conflict_graph_new): New prototype.
4470 (conflict_graph_delete): Likewise.
4471 (conflict_graph_add): Likewise.
4472 (conflict_graph_conflict_p): Likewise.
4473 (conflict_graph_enum): Likewise.
4474 (conflict_graph_merge_regs): Likewise.
4475 (conflict_graph_print): Likewise.
4476 (conflict_graph_compute): Likewise.
4477 * conflict.c: New file.
4479 2000-04-06 Jason Merrill <jason@yorick.cygnus.com>
4481 * tlink.c (read_repo_files): Don't look for .rpo info for
4484 Thu Apr 6 20:39:26 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
4486 * sh.h (STRUCT_VALUE, RETURN_IN_MEMORY): Define.
4488 Thu Apr 6 19:34:08 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
4490 * config/sh/lib1funcs.asm (___udivsi3_i4):
4491 ( __SH4_SINGLE__ / __SH4_SINGLE_ONLY__ variant): value for fpscr
4492 only depends on FMOVD_WORKS.
4494 Thu Apr 6 19:11:47 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
4496 * config/sh/lib1funcs.asm (___udivsi3_i4): When using fmovd,
4497 make double constant 8-byte aligned.
4499 2000-04-06 Jakub Jelinek <jakub@redhat.com>
4501 * config/sparc/sparc.md (movtf_insn_sp32, movtf_insn_vis_sp32,
4502 movtf_no_e_insn_sp32, movtf_insn_hq_sp64, movtf_insn_hq_vis_sp64,
4503 movtf_no_e_insn_sp64): Accept loading 0.0 into GENERAL_REGS.
4504 (movtf_insn_sp64, movtf_insn_vis_sp64): Likewise.
4505 Accept storing GENERAL_REGS into offsetable memory.
4506 * config/sparc/sparc.h (PREFERRED_RELOAD_CLASS): Don't allow
4507 building a TFmode constant other than 0.0L into GENERAL_REGS.
4509 2000-04-06 Clinton Popetz <cpopetz@cygnus.com>
4511 * regrename.c (regrename_optimize): Handle no REG_ALLOC_ORDER.
4513 2000-04-06 Zack Weinberg <zack@wolery.cumb.org>
4515 * cpphash.c (CPP_IS_MACRO_BUFFER, FORWARD, PEEKC): Delete.
4516 (macro_cleanup): No need to cast pbuf->macro.
4517 (collect_expansion): Use _cpp_get_define_token. Goto done if
4518 it returns VSPACE. Remove check for trailing space after
4520 (_cpp_create_definition): Don't diddle flags here. Return
4522 (unsafe_chars): Handle c1 being EOF.
4523 (push_macro_expansion): Use unsafe_chars for both accidental-paste
4524 checks. Don't push the buffer till after we're done with
4526 * cpplex.c (PEEKBUF, GETBUF, FORWARDBUF): New.
4527 (PEEKN, FORWARD, GETC, PEEKC): Use them.
4528 (cpp_push_buffer): Don't set new->alimit. Set new->mark
4530 (_cpp_parse_assertion): Don't NUL terminate.
4531 (_cpp_lex_token): Fix -traditional macro handling. Don't skip
4532 hspace before calling _cpp_parse_assertion. Remove all sets
4533 of only_seen_white. Treat '\f' as hspace. Don't do anything
4534 special with '\n' here.
4535 (maybe_macroexpand): Handle T_EMPTY hash entries without
4536 pushing a buffer at all.
4537 (cpp_get_token): Handle clearing only_seen_white here. Handle
4538 incrementing the line number here. Clear
4539 potential_control_macro as well as only_seen_white, if
4541 (cpp_get_non_space_token): Don't eat CPP_POP tokens.
4542 (_cpp_get_define_token): New function, basically like
4543 _cpp_get_directive_token was but doesn't eat horizontal space.
4544 Don't do anything with only_seen_white here.
4545 (_cpp_get_directive_token): Just call _cpp_get_define_token
4546 repeatedly till it returns non-hspace.
4548 * cpplib.c (PEEKN, FORWARD, GETC, PEEKC): Delete.
4549 (conditional_skip, skip_if_group): Return int.
4550 (DIRECTIVE_TABLE): Change origin of all conditional directives
4552 (TRAD_DIRECT_P): New macro.
4553 (_cpp_handle_directive): Use _cpp_get_directive_token. Issue
4554 an error for a bogus directive, unless -lang-asm. Use
4555 TRAD_DIRECT_P. Loop calling handler functions till one returns
4557 (get_macro_name): Don't diddle flags here.
4558 (do_define): Diddle flags here. Use _cpp_get_directive_token.
4559 Create T_EMPTY nodes for #define macro /* nothing */.
4560 (do_undef): Don't copy the name. Use _cpp_get_directive_token.
4561 Use hp->name when calling pass_thru_directive.
4562 (do_if, do_else, do_elif, do_ifdef, do_ifndef, conditional_skip):
4563 Return the result of conditional_skip and/or skip_if_group.
4564 Don't call _cpp_output_line_command.
4565 (consider_directive_while_skipping): Use _cpp_get_directive_token.
4566 Issue -Wtraditional warnings as appropriate. Don't complain
4567 about unrecognized directives. If we are to stop skipping,
4568 return the number of the directive that ended the skip.
4569 (skip_if_group): Use _cpp_get_directive_token. Turn off macro
4570 expansion and line commands while skipping. Return the result
4571 of consider_directive_while_skipping, if nonzero.
4572 (do_endif): Just set potential_control_macro here.
4573 (validate_else): Use _cpp_get_directive_token.
4574 (do_assert, do_unassert): Don't save pointers into the
4575 token_buffer across calls to the lexer. Use
4576 _cpp_get_directive_token.
4578 * cpplib.h (cpp_buffer): Remove alimit and colno. Make mark a
4579 pointer, not an offset. Replace 'data', which was a generic
4580 pointer, with 'macro', which points to a struct hashnode.
4581 (cpp_reader): Add 'potential_control_macro' pointer.
4582 * cpphash.h (T_UNUSED): Replace with T_EMPTY.
4583 (CPP_BUF_GET, CPP_FORWARD): Delete.
4584 (CPP_IN_COLUMN_1, ADJACENT_TO_MARK): New macros.
4585 (CPP_IS_MACRO_BUFFER, CPP_SET_BUF_MARK, CPP_GOTO_BUF_MARK,
4586 ACTIVE_MARK_P): Update.
4587 (_cpp_get_define_token): New internal function.
4588 * cppfiles.c (read_include_file): Don't set fp->alimit or fp->colno.
4590 2000-04-05 Benjamin Kosnik <bkoz@cygnus.com>
4592 * configure.in: And here.
4593 * configure: Regenerate.
4594 * acconfig.h: Add ENABLE_STD_NAMESPACE to set flag_honor_std if
4595 --enable-libstdcxx-v3 is passed at configure time.
4596 * config.h.in: Regenerate.
4598 2000-04-05 Mark Mitchell <mark@codesourcery.com>
4600 * final.c (final): Use xcalloc to allocate line_note_exists.
4601 * function.c (free_after_compilation): Free the temp_slots.
4602 (assign_stack_temp_for_type): Use xmalloc to allocate temp_slots.
4603 (combine_temp_slot): Free temp_slots when they get combined.
4604 (purge_addressof): Fix typo in comment.
4605 * stmt.c (mark_goto_fixup): Mark the fixup itself.
4606 (expand_fixup): Allocate the fixup with ggc_alloc_obj.
4608 * ggc.h: Include varray.h.
4609 (ggc_pending_trees): Declare.
4610 (ggc_mark_tree_children): Remove declaration.
4611 (ggc_mark_tree): Just push unmarked trees on ggc_pending_trees.
4612 * ggc-common.c (ggc_pending_trees): New variable.
4613 (ggc_mark_roots): Call ggc_mark_trees.
4614 (ggc_mark_tree_children): Rename to ggc_mark_trees. Process all
4615 the ggc_pending_trees.
4616 * Makefile.in (GGC_H): New variable. Use it throughout in place
4619 Thu Apr 6 00:30:50 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
4621 * sh.h (FUNCTION_ARG_PARTIAL_NREGS): Accomodate an unsigned
4624 Wed Apr 5 23:17:10 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
4626 * sh.c (sh_insn_length_adjustment): New function.
4627 * sh-protos.h (sh_insn_length_adjustment): Declare.
4628 * sh.h (ADJUST_INSN_LENGTH): Use it.
4630 Wed Apr 5 12:35:18 2000 Hans-Peter Nilsson <hp@axis.com>
4632 * optabs.c (emit_libcall_block): Remove spurious REG_EQUAL notes
4633 from the insn where REG_RETVAL is added.
4634 (emit_no_conflict_block): Ditto.
4636 * md.texi (Standard Names): Clarify when movX is needed.
4638 * combine.c (simplify_comparison) [MINUS]: Do not replace
4639 all (op (minus A B) 0) with (op A B).
4641 Wed Apr 5 18:03:31 2000 Toshiyasu Morita (toshi.morita@sega.com)
4642 J"orn Rennecke <amylaar@cygnus.co.uk>
4644 * sh.md (block_lump_real_i4): Add missing clobber of T_REG
4645 (block_lump_real): Likewise.
4647 2000-04-05 Chris Demetriou <cgd@netbsd.org>
4649 * mips.h (MASK_DEBUG_A, MASK_DEBUG_B, MASK_DEBUG_C): Zero the
4650 remaining non-zero debugging masks.
4652 Wed Apr 5 09:44:07 2000 Jeffrey A Law (law@cygnus.com)
4654 * basic-block.h (verify_flow_info): Declare.
4655 (flow_loop_outside_edge_p): Declare.
4656 * flow.c (verify_flow_info): Remove declaration.
4657 (clear_log_links, flow_loop_outside_edge_p): Likewise.
4659 Wed Apr 5 09:34:26 2000 Philippe De Muyter <phdm@macqel.be>
4661 * m68k/m68k-protos.h (finalize_pic): Turn prototype off using `#if 0',
4664 2000-04-05 Jakub Jelinek <jakub@redhat.com>
4666 * config/sparc/sparc.md (snedi_zero+1, neg_snedi_zero+1,
4667 snedi_zero_trunc+1, seqdi_zero+1, neg_seqdi_zero+1,
4668 seqdi_zero_trunc+1): Allow splits only if registers are
4671 2000-04-04 Ulrich Drepper <drepper@cygnus.com>
4673 * acconfig.h: Add HAVE_GAS_HIDDEN.
4674 * config.in: Regenerated.
4675 * configure.in: Add test for .hidden pseudo-op in gas.
4676 * configure: Regenerated.
4677 * crtstuff.c: Include auto-host.h.
4678 Emit additional .hidden pseudo-op for __dso_handle if the
4679 assembler knows about it.
4681 2000-04-04 Philippe De Muyter <phdm@macqel.be>
4683 * cpphash.c (_cpp_free_definition): Test argnames, not nargs >= 0,
4684 before freeing argnames.
4685 * cpplib.c (do_ifndef): Cast return value of xstrdup.
4687 2000-04-05 Michael Meissner <meissner@redhat.com>
4689 * config/rs6000/rs6000.c (print_operand): Patch from Jonathan
4690 Walton <jonboy@gordian.com> to make memory references with update
4691 work wtih -mregnames.
4693 2000-04-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4695 * regrename.c (regno_first_use_in): Wrap prototype in PARAMS.
4696 (regrename_optimize): Rename variables `def_uses' and
4697 `ext_basic_blocks' to avoid conflicts with similarly named
4698 typedefs in traditional C.
4700 * calls.c (initialize_argument_information): Fix typo in previous
4703 2000-04-04 Richard Henderson <rth@cygnus.com>
4705 * regrename.c (consider_available): Test fixed_regs not
4706 PIC_OFFSET_TABLE_REGNUM.
4708 2000-04-04 Geoff Keating <geoffk@cygnus.com>
4710 * config/rs6000/t-ppccomm (EXTRA_MULTILIB_PARTS): Add crtbegin,
4712 (CRTSTUFF_T_CFLAGS_S): Delete definition.
4713 * config/rs6000/sysv4.h (STARTFILE_LINUX_SPEC): Always use crtbegin.
4714 (ENDFILE_LINUX_SPEC): Always use crtend.
4715 * configure.in (powerpc-*-linux-gnulibc1): Don't define extra_parts.
4716 (powerpc-*-linux-gnu): Likewise.
4717 * configure: Regenerate.
4719 * config/rs6000/eabi.h: Don't include sysv4.h.
4720 (MULTILIB_DEFAULTS): Don't define.
4721 * config/rs6000/eabiaix.h: Don't include eabi.h.
4722 * config/rs6000/eabile.h: Delete.
4723 * config/rs6000/eabilesim.h: Delete.
4724 * config/rs6000/eabisim.h: Don't include eabi.h.
4725 * config/rs6000/linux.h: Don't include sysv4.h.
4726 (JUMP_TABLES_IN_TEXT_SECTION): Don't redefine.
4727 (MULTILIB_DEFAULTS): Don't redefine.
4728 * config/rs6000/rtems.h: Don't include eabi.h.
4729 * config/rs6000/sol2.h: Don't include sysv4le.h.
4730 * config/rs6000/sysv4le.h: Don't include sysv4.h.
4731 * config/rs6000/t-ppc: Delete.
4732 * config/rs6000/t-ppcgas: Correct comment.
4733 * config/rs6000/t-ppcos: Correct comment. Don't build
4734 multilibs for -fPIC, rather use -fPIC -mstrict-align
4736 * config/rs6000/t-ppc: Delete.
4737 * config/rs6000/vxppc.h: Don't include sysv4.h.
4738 * config/rs6000/vxppcle.h: Delete.
4739 * configure.in: Use multiple header files for p2pc ELF targets
4740 powerpc-eabiaix, powerpc-eabisim, powerpc-rtems, powerpcle-eabi,
4741 powerpcle-eabisim, powerpc-elf, powerpcle-elf, powerpc-linux-gnu,
4742 powerpc-linux-gnulibc1, powerpc-sysv, powerpcle-sysv,
4743 powerpc-vxworks, powerpcle-vxworks. Assume GAS functionality is
4744 always available for these platforms.
4746 2000-04-04 Richard Henderson <rth@cygnus.com>
4748 * calls.c (try_to_integrate): Initialize reg_parm_stack_space.
4750 2000-04-04 Stan Cox <scox@cygnus.com>
4752 * Makefile.in: Add rules for regrename.o
4753 * regrename.c: New file.
4754 * rtl.h (regrename_optimize): Add prototype.
4755 * toplev.c (rename_registers_dump, flag_rename_registers): New variables
4756 (compile_file, decode_d_option): Add support for -frename-registers.
4757 (rest_of_compilation): Call regrename_optimize.
4758 * config/ia64/ia64.h (HARD_REGNO_RENAME_OK, RENAME_EXTENDED_BLOCKS):
4761 2000-04-04 Martin v. Löwis <loewis@informatik.hu-berlin.de>
4763 * Makefile (gccbug): New target.
4764 (doc): Depend on it.
4765 * gcc.texi (Bugs): Link subnodes.
4767 * gccbug.in (CATEGORIES): Remove gc, host, profiling, libgcc.
4768 Document severities, priorities, and classes in bug form.
4770 2000-04-04 Zack Weinberg <zack@wolery.cumb.org>
4772 * cpplex.c (trigraph_map, speccase): Combine into single
4774 (NORMAL, NONTRI): New macros.
4775 (_cpp_read_and_prescan): Change to use unified table. Use
4776 is_hspace to test for whitespace.
4778 * dbxout.c (CONTIN): If it doesn't have to do anything, give it a
4779 definition that doesn't provoke the "empty body in an
4780 if-statement" warning.
4782 2000-04-04 Clinton Popetz <cpopetz@cygnus.com>
4784 * builtins.c (expand_builtin_strlen): Force the source to
4785 be a memory address.
4787 2000-04-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4789 * cpplib.c (D): Adjust to call CONCAT2 macro without whitespace.
4791 Tue Apr 4 19:17:20 MET DST 2000 Jan Hubicka <jh@suse.cz>
4793 * calls.c (ECF_MALLOC, ECF_MAY_BE_ALLOCA, ECF_RETURNS_TWICE,
4794 ECF_LONGJMP, ECF_FORK_OR_EXEC): New constants.
4795 (ECF_IS_CONST): Rename to ECF_CONST.
4796 (special_function_p): Make static, change interface.
4797 (flags_from_decl_or_type, try_to_integrate): Break out from ...
4798 (expand_call) ... here; convert number of variables to flags.
4799 (emit_library_call_vlue_1): Likewise.
4800 (setjmp_call_p): New function.
4801 (initialize_argument_information): Accepts flags as argument;
4803 (precompute_arguments): Likewise.
4804 * tree.h (special_function_p): Remove.
4805 (setjmp_call_p): Add prototype.
4807 2000-04-04 Jakub Jelinek <jakub@redhat.com>
4809 * config/sparc/sparc.h (RTX_OK_FOR_OFFSET_P): Leave minor margin
4810 so that addresses are offsetable by up to 16 bytes.
4811 (GO_IF_LEGITIMATE_ADDRESS): Don't allow REG+REG addresses for
4812 non-optimizing TARGET_ARCH32 in DF or DI modes because it is not
4815 * config/sparc/sparc.md (movdi_insn_sp64_novis): New pattern.
4816 (movdi_insn_sp64_vis): Renamed from movdi_insn_sp64.
4817 (movsf): Don't force any constant to memory if target is integer
4819 Move fp_zero_operand check below the const0_rtx check.
4820 (movtf): Likewise. Also allow fp_zero_operand for stores into
4822 (movdf): Likewise. Also allow fp_zero_operand for stores into
4823 memory and into integer hard registers.
4824 (clear_df, clear_dfp, movdf_const_intreg_sp32,
4825 movdf_const_intreg_sp64): Remove.
4826 (movdf_insn_sp32, movdf_no_e_insn_sp32): Redo constraints and
4828 (movdf_no_e_insn_v9_sp32): New pattern.
4829 (movdf_insn_v9only): Remove.
4830 (movdf_insn_v9only_novis, movdf_insn_v9only_vis): New patterns.
4831 (movdf_insn_sp64): Remove.
4832 (movdf_insn_sp64_novis, movdf_insn_sp64_vis): New patterns.
4833 (movdf_no_e_insn_sp64): Allow storing 0.0 into memory.
4834 (following splits): Rewrite conditions. Add two new splits
4835 for storing 0.0 into memory and registers.
4836 (clear_tf, clear_tf+1, clear_tfp, clear_tfp+1): Remove.
4837 (movtf_insn_sp32): Redo constraints and conditions.
4838 (movtf_insn_vis_sp32): New pattern.
4839 (movtf_no_e_insn_sp32): Redo constraints and conditions.
4840 (movtf_insn_hq_sp64): Likewise.
4841 (movtf_insn_hq_vis_sp64): New pattern.
4842 (movtf_insn_sp64): Redo constraints and conditions.
4843 (movtf_insn_vis_sp64): New pattern.
4844 (movtf_no_e_insn_sp64): Redo constraints and conditions.
4845 (movtf_no_e_insn_sp64+1): New split for storing 0.0L into registers
4847 * config/sparc/sparc.c (sparc_override_options): Assume v9 if either
4848 -mvis or -m64 to take down the number of various reload patterns.
4850 Tue Apr 4 00:41:53 2000 Jeffrey A Law (law@cygnus.com)
4852 * pa/pa-64.h: New file.
4853 * pa/pa64-regs.h: New file.
4854 * pa/pa64-start.h: New file.
4855 * pa/t-pa64: New file.
4856 * pa/xm-pa64hpux.h: New file.
4858 2000-04-03 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4860 * sparc.c (output_restore_regs): Prototype.
4861 (sparc_emit_float_lib_cmp): Constification.
4863 * emit-rtl.c (const_int_htab_hash, const_int_htab_eq): Likewise.
4865 * reload1.c (reload_cse_delete_noop_set, reload_cse_simplify):
4868 * simplify-rtx.c (entry_and_rtx_equal_p): Constification.
4869 (get_value_hash, hash_rtx): Likewise.
4871 * ssa.c (compute_conservative_reg_partition): Prototype.
4873 * tree.c (mark_hash_entry): Prototype.
4875 2000-04-03 Zack Weinberg <zack@wolery.cumb.org>
4877 * bb-reorder.c (verify_insn_chain): #ifdef out unless ENABLE_CHECKING.
4878 * i386.h (FUNCTION_ARG_REGNO_P): Remove unnecessary test for N >= 0.
4879 * i386.md (call_value, call_value_pop): Remove unused variable 'addr'.
4881 * gcc.c (C specs): Pass -fno-show-column to the preprocessor.
4882 * objc/lang-specs.h: Likewise.
4884 2000-04-03 Neil Booth <NeilB@earthling.net>
4886 * cppexp.c: wrap long lines. New macros CPP_ICE, SYNTAX_ERROR
4887 and SYNTAX_ERROR2. Replace `' in messages with ''.
4888 (op_to_str): Make re-entrant.
4889 (_cpp_parse_expr): Implement new error macros. Use | rather
4890 than || to logically or 2 boolean integers. Simply expression
4891 checking we have a left operand iff needed.
4893 2000-04-03 Nick Clifton <nickc@cygnus.com>
4895 * Makefile.in (diagnostic.o): Depend upon diagnostic.c
4897 2000-04-03 Philip Blundell <philb@gnu.org>
4899 * config/arm/linux-elf.h (SUBTARGET_EXTRA_LINK_SPEC): Fix typos.
4901 2000-04-03 Felix Lee <flee@cygnus.com>
4903 * fixinc/server.c (find_shell): New function. Avoid $SHELL.
4904 (run_shell): Use it.
4906 2000-04-03 Jonathan Larmour <jlarmour@redhat.co.uk>
4908 * Makefile.in (stmp-int-hdrs): Make include subdir here...
4909 (stmp-fixproto): ...rather than here.
4911 Mon Apr 3 00:50:06 2000 Jason Eckhardt <jle@cygnus.com>
4913 * pa.c (print_operand): Compute 'base' only inside the code paths
4916 2000-04-03 Geoffrey Keating <geoffk@cygnus.com>
4918 * stor-layout.c (byte_from_pos): Use TRUNC_DIV_EXPR rather than
4921 2000-04-03 Philipp Thomas <pthomas@suse.de>
4923 * i386.h (TARGET_SWITCHES): Remove bogus empty strings, fix typo.
4925 Mon Apr 3 00:02:59 2000 Brad Lucier <lucier@math.purdue.edu>
4927 * Makefile.in (alias.o): Depend on $(TREE_H).
4929 2000-04-02 Zack Weinberg <zack@wolery.cumb.org>
4931 * cppinit.c (cpp_start_read): Turn off -Wtraditional if
4933 * cpplib.c (_cpp_handle_directive): Improve warnings for
4934 traditional C and indented directives.
4936 * enquire.c, gsyslimits.h, limity.h, config/convex/fixinc.convex,
4937 fixinc/fixinc.irix, fixinc/fixinc.sco, fixinc/fixinc.wrap,
4938 fixinc/inclhack.def: Indent the # of #include_next one space.
4939 * cp/rtti.c: Un-indent #if and #endif.
4941 * cppexp.c (_cpp_parse_expr): If lex returns '#', it's a
4942 syntax error, but an error has already been printed.
4943 * cpplex.c (_cpp_parse_assertion): Give a more specific error
4944 message when called with nothing remaining on the line.
4945 (_cpp_lex_token): If _cpp_parse_assertion fails, return an
4946 OTHER token, not an ASSERTION.
4947 * cpplib.c (do_assert): When we create a 'base' node, clear
4948 its aschain pointer.
4950 2000-04-02 Neil Booth <NeilB@earthling.net>
4952 * cppexp.c: New typedef op_t. struct operation and struct
4953 token updated to use it.
4954 (op_to_str): New function.
4955 (_cpp_parse_expr): Error messages modified to use op_to_str.
4957 2000-04-02 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
4959 * config/c4x/c4x.c (c4x_function_arg): Check for void_type_node
4960 before checking MUST_PASS_IN_STACK.
4962 2000-04-02 Neil Booth <NeilB@earthling.net>
4964 * cppexp.c: New FINISHED dummy token. Combine operator initial
4965 flags and initial priority into a single constant. New
4966 EQUALITY macro. New operator flag SHORT_CIRCUIT.
4967 (_parse_cpp_expr): Implement new constants. Take left operand
4968 checks out of reduction loop. Handle SHORT_CIRCUIT. End of
4969 parse indicated by reducing FINISHED token. Remove new lines
4970 from cpp_error messages.
4972 2000-04-01 Mark Mitchell <mark@codesourcery.com>
4974 * emit-rtl.c (gen_rtx_CONST_INT): Create cached CONST_INTs on the
4977 2000-04-01 Zack Weinberg <zack@wolery.cumb.org>
4979 * cpplib.c: Include symcat.h. Add 'origin' field to struct
4980 directive. Add origin values to DIRECTIVE_TABLE. Generate
4981 the strings and function names on the fly. Take the #sccs
4982 entry out of the table if SCCS_DIRECTIVE is not defined.
4983 (_cpp_handle_directive): Decide if the # was at the beginning
4984 of the line here. Issue -pedantic warnings for extended
4985 directives here. Warn about K+R directives with the #
4986 indented, and C89/extended directives with the # not indented,
4988 (do_import, do_include_next, do_warning, do_ident, do_sccs,
4989 do_assert, do_unassert): Don't issue pedantic warning here.
4991 * cpphash.h: Add CPP_WTRADITIONAL macro.
4992 * cpplib.h (struct cpp_options): Rename warn_stringify to
4993 warn_traditional; update comments.
4994 * cppinit.c (handle_option): Set warn_traditional not
4996 * cpphash.c: Replace CPP_OPTION (pfile, warn_stringify) with
4997 CPP_WTRADITIONAL (pfile).
4998 * cpplex.c (_cpp_lex_token): Don't decide if directives should
4999 be ignored in -traditional mode here.
5001 * cpplex.c: Copy ISTABLE macros from cppinit.c, and adapt them
5002 to initialize speccase[] and trigraph_map[]. Delete all
5003 references to pfile->input_speccase. Always treat '?' as a
5004 special character. Remove table-initialization code from
5005 _cpp_init_input_buffer.
5007 * cpplib.h (struct cpp_reader): Remove input_speccase field.
5008 * cppinit.c (cpp_cleanup): Don't free input_speccase.
5010 2000-04-01 Richard Henderson <rth@cygnus.com>
5012 * Makefile.in (STAGESTUFF): Wildcard all debugging dumps at once.
5013 (mostlyclean): Likewise.
5015 * toplev.c (rtl_dump, jump_opt_dump, etc): Remove.
5016 (struct dump_file_info, enum dump_file_index, dump_file): New.
5017 (open_dump_file): Take a dump_file_index not a suffix, and a decl
5018 not a string. Clean out file if we havn't yet done so. Do nothing
5019 if the dump isn't enabled.
5020 (close_dump_file): Do nothing if the dump isn't open. Dump
5021 graph data if requested.
5022 (dump_rtl, clean_dump_file): Remove.
5023 (compile_file): Don't clean the dump files. Only finalize .bp dump
5024 if flag_test_coverage or flag_branch_probabilities. Only finalize
5025 .combine dump if optimizing. Iterate over dump_file to finalize the
5027 (rest_of_compilation): Update for open_dump_file/close_dump_file.
5028 Convert all uses of dump_rtl.
5029 (decode_d_option): Iterate over dump_file to implement 'a' and to
5030 locate pass-specific dumps.
5032 2000-04-01 Neil Booth <NeilB@earthling.net>
5034 * cppexp.c: Redefine priority constants.
5035 (_cpp_parse_expr): Replace left and right priority scheme with
5036 single priority logic. Move LOGICAL to same place as COMPARE.
5037 Remove bogus check for multiple unary +/- operators.
5039 2000-04-01 Neil Booth <NeilB@earthling.net>
5041 * cppexp.c: (_cpp_parse_expr): Numerical constants are pushed
5042 within the switch statement. Binary operations break out of
5043 the switch naturally. '(' tokens handled by forcing
5044 immediate shift. ')' handled by forcing immediate reduce to
5045 the previous '('. New error messages.
5047 2000-03-31 Geoff Keating <geoffk@cygnus.com>
5049 * config/rs6000/rs6000.c (print_operand): Don't use %l for 'low
5050 part', it's already in use. Use %K instead. Add a return at the
5051 end of what is now %K.
5052 * config/rs6000/rs6000.md (elf_low): Use %K instead of %l.
5054 Sat Apr 1 02:05:29 MET DST 2000 Jan Hubicka <jh@suse.cz>
5056 * builtins.c (expand_builtin_apply): Pass proper parameters to
5057 allocate_dynamic_stack_space.
5058 * calls.c (emit_call_1): Do not adjust stack pointer for SIB,
5059 update stack_pointer_delta; do not update arg_size_so_far.
5060 (compute_argument_block_size): Use stack_delta instead of
5061 stack_pointer_pending and arg_size_so_far.
5062 (expand_call): Add sanity checking for stack_pointer_delta;
5063 save and restore stack_pointer_delta for SIB, use
5064 stack_pointer_delta for alignment; do not update arg_space_so_far.
5065 (emit_library_call_value): Use stack_pointer_delta for alignment.
5066 (store_one_arg): Do not update arg_space_so_far.
5067 * explow.c (adjust_stack, anti_adjust_stack): Update
5068 stack_pointer_delta.
5069 (allocate_dynamic_stack_space): Add sanity checking for
5070 stack_pointer_delta.
5071 * expr.c (init_expr, clear_pending_stack_adjust): Clear
5072 stack_pointer_delta.
5073 (emit_push_insn): Update stack_pointer_delta.
5074 * function.h (struct expr_status): Add x_stack_pointer_delta;
5075 remove x_arg_space_so_far.
5076 (arg_space_so_far): Remove.
5077 (stack_pointer_delta): New macro.
5079 2000-03-31 Zack Weinberg <zack@wolery.cumb.org>
5081 * cpplib.h: Merge struct cpp_options into struct cpp_reader.
5082 Reorder struct cpp_options and struct cpp_reader for better
5083 packing. Replace CPP_OPTIONS macro with CPP_OPTION which
5084 takes two args. Change all 'char' flags to 'unsigned char'.
5085 Move show_column flag into struct cpp_options. Don't
5086 prototype cpp_options_init.
5087 * cpphash.h, cpperror.c, cppexp.c, cppfiles.c, cpphash.c,
5088 cppinit.c, cpplex.c, cpplib.c:
5089 Replace CPP_OPTIONS (pfile)->whatever with
5090 CPP_OPTION (pfile, whatever), and likewise for
5091 opts = CPP_OPTIONS (pfile); ... opts->whatever;
5093 * cppinit.c (merge_include_chains): Take a cpp_reader *.
5094 Extract CPP_OPTION (pfile, pending) and work with that
5096 (cpp_options_init): Delete.
5097 (cpp_reader_init): Turn on on-by-default options here.
5098 Allocate the pending structure here.
5099 (cl_options, enum opt_code): Define these from the same table,
5100 kept in a large macro. Add -fshow-column and -fno-show-column
5103 * cpperror.c (v_message): If show_column is off, don't print
5106 * cppmain.c: Update for new interface.
5107 * fix-header.c: Likewise.
5109 2000-03-30 Geoff Keating <geoffk@cygnus.com>
5111 * config/rs6000/t-aix43 (AR_FLAGS_FOR_TARGET): Adjust for new
5113 * Makefile.in (AR_FLAGS_FOR_TARGET): Is now the flags that
5114 are passed to any invocation of AR_FOR_TARGET.
5115 (AR_CREATE_FOR_TARGET): New macro.
5116 (AR_EXTRACT_FOR_TARGET): New macro.
5117 (ORDINARY_FLAGS_TO_PASS): Add AR_CREATE_FOR_TARGET,
5118 AR_EXTRACT_FOR_TARGET.
5119 (many places): Use AR_CREATE_FOR_TARGET, AR_EXTRACT_FOR_TARGET
5120 in place of `$(AR_FOR_TARGET) $(AR_FLAGS_FOR_TARGET)' and
5121 `$(AR_FOR_TARGET) x'. Pass AR_CREATE_FOR_TARGET and
5122 AR_EXTRACT_FOR_TARGET to sub-makes.
5124 2000-03-31 Neil Booth <NeilB@earthling.net>
5126 * cppexp.c: Delete SKIP_OPERAND. Correct priority
5128 (_cpp_parse_expr): Check for multiple unary +/- operators.
5129 Correct priorities of ':' and '?'. Treat ')' as having a
5130 value. Ensure conditional expression is not void.
5132 2000-03-31 Mark Mitchell <mark@codesourcery.com>
5134 * alias.c (canon_rtx): Make it global.
5135 (rtx_equal_for_memref_p): CONST_INT equality is now pointer
5137 * cse.c (struct table_elt): Add canon_exp.
5139 (invalidate): Canonicalize expressions only once.
5140 * rtl.h (canon_rtx): Declare.
5142 2000-03-30 Mark Mitchell <mark@codesourcery.com>
5144 * Makefile.in (emit-rtl.o): Depend on HASHTAB_H.
5145 * alias.c (reg_known_value): Add comments.
5146 (init_alias_analysis): Likewise.
5147 * cse.c (exp_equiv_p): CONST_INTs are equal iff they have the same
5149 (cse_basic_block): Fix typo in comment.
5150 * emit-rtl.c: Include hashtab.h.
5151 (const_int_htab): New variable.
5152 (const_int_htab_hash): New function.
5153 (const_int_htab_eq): Likewise.
5154 (rtx_htab_mark_1): Likewise.
5155 (rtx_htab_mark): Likewise.
5156 (gen_rtx_CONST_INT): Cache all CONST_INTs.
5157 (unshare_all_rtx): Fix formatting.
5158 (init_emit_once): Initialize const_int_htab.
5159 * rtl.c (rtx_equal_p): CONST_INTs are equal iff they have the same
5161 * rtl.texi: Document the fact that all CONST_INTs with the same
5164 2000-03-30 Richard Henderson <rth@cygnus.com>
5166 * alpha.h (FUNCTION_BOUNDARY): Reduce to 128 bits.
5168 2000-03-30 Zack Weinberg <zack@wolery.cumb.org>
5170 * configure.in: Comment out --enable-c-cpplib stanza.
5171 * configure: Regenerate.
5173 Thu Mar 30 06:32:51 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
5175 * expr.c (store_constructor): Properly compute displacement and
5176 alignment when offset is variable.
5178 * expmed.c (store_bit_field, store_fixed_bit_field): Fix more
5179 cases of alignment in bytes.
5181 Thu Mar 30 13:30:40 2000 Jeffrey A Law (law@cygnus.com)
5183 * c-parse.in (cast_expr): Move change from March 21 into c-parse.in
5184 since it is used to generate c-parse.y.
5185 * objc-parse.c, objc-parse.y: Regenerated.
5187 * function.c (expand_function_end): Pass alignment argument to
5188 emit_block_move in bits, not bytes.
5190 Thu Mar 30 06:32:51 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
5192 * expr.c (move_by_pieces_ninsns): Fix one more missing align
5195 * expmed.c (store_fixed_bit_field): STRUCT_ALIGN is in bits.
5197 * calls.c (expand_call): Pass bit alignment to mark_reg_pointer.
5198 * explow.c (memory_address, allocate_dynamic_stack_space): Likewise.
5199 * function.c (assign_parms): Likewise.
5200 * integrate.c (expand_inline_function): Likewise.
5201 * stmt.c (expand_decl): Likewise.
5202 (copy_rtx_and_substitute): Likewise.
5203 * expr.c (expand_expr, expand_expr_unaligned): Likewise.
5204 (clear_by_pieces): Fix error in last change.
5205 * emit-rtl.c (init_emit): Set known registers alignment in bits.
5206 * function.h (regno_pointer_align): Now unsigned.
5207 * config/arm/arm.c (alignable_memory_operand): REGNO_POINTER_ALIGN
5209 * config/i386/i386.c (aligned_operand): Likewise.
5210 * config/sparc/sparc.c (mem_min_alignment): Likewise.
5211 * config/alpha/alpha.c (aligned_memory_operand): Likewise.
5212 (unaligned_memory_operand): Likewise.
5213 (alpha_expand_block_move, alpha_expand_block_clear): Likewise.
5214 Also make alignments and sizes unsigned and some whitespace cleanup.
5215 (alpha_va_start): Do nothing if VALIST's type is error_mark_node.
5217 * builtins.c (get_pointer_alignment): Use host_integerp & tree_low_cst.
5218 (expand_builtin_apply): Pass alignment to emit_block_move in bits.
5219 (expand_builtin_memcpy, expand_builtin_va_copy): Likewise.
5220 (expand_builtin_memset): Likewise, but to clear_storage.
5221 * calls.c (save_fixed_argument_area): Likewise, to move_by_pieces.
5222 (restore_fixed_argument_area): Likewise.
5223 (store_unaligned_arguments_into_pseudos): Likewise, to store_bit_field.
5224 (load_register_parameters): Likewise, to emit_group_load.
5225 (expand_call): Likewise, to emit_group_store and emit_block_move.
5226 (emit_library_call_value_1): Likewise, to emit_block_move.
5227 (store_one_arg): Likewise, and to emit_push_insn.
5228 * expmed.c (extract_bit_field): Alignment is in bits, not bytes.
5229 (extract_fixed_bit_field, extract_split_bit_field): Likewise.
5230 * expr.c (move_by_pieces, move_by_pieces_ninsns): Likewise.
5231 (emit_block_move, emit_group_load, emit_group_store): Likewise.
5232 (clear_by_pieces, clear_storage, emit_push_insn): Likewise.
5233 (expand_assigment, store_expr, store_constructor_field): Likewise.
5234 (expand_expr_unaligned, do_jump, do_compare_and_jump): Likewise.
5235 (store_constructor, store_field, get_inner_reference): Likewise.
5236 Use host_integerp and tree_low_cst; sizes and positions HOST_WIDE_INT.
5237 (expand_expr, case COMPONENT_REF): Likewise.
5238 (copy_blkmode_from_regs): Use UNSIGNED_HOST_WIDE_INT for sizes
5239 and positions; reindent code.
5240 * expr.h (emit_cmp_insn, emit_cmp_and_jump_insns): Alignment unsigned.
5241 * function.c (purge_addressof_1): Pass bit align to store_bit_field.
5242 (assign_parms): Likewise to emit_group_store.
5243 * optabs.c (prepare_cmp_insn): Alignment is in bits.
5244 (emit_cmp_and_jump_insns, emit_cmp_insn): Likewise, and also unsigned.
5245 * stmt.c (expand_value_return): Pass align in bits to emit_group_load.
5246 (expand_return): Likewise to {extract,store}_bit_field.
5247 * stor-layout.c (get_mode_alignment): Minor cleanup.
5248 * config/rs6000/rs6000.h (SLOW_UNALIGNED_ACCESS): Align is in bits.
5249 * config/sh/sh.h (MOVE_BY_PIECES_P): Likewise.
5251 2000-03-29 Nick Clifton <nickc@cygnus.com>
5253 * config/arm/arm.h: Undo effects of previous delta:
5254 (ASM_SPEC): Do not define.
5255 (SUBTARGET_EXTRA_ASM_SPEC): Do not define.
5257 * config/arm/linux-elf.h: (SUBTARGET_EXTRA_ASM_SPEC) Fix
5260 2000-03-29 Zack Weinberg <zack@wolery.cumb.org>
5262 * cppinit.c (cpp_start_read): Call initialize_dependency_output
5263 only after reading in the primary source file.
5265 2000-03-29 Geoff Keating <geoffk@cygnus.com>
5267 * c-common.c (c_common_nodes_and_builtins): The first parameter to
5268 __builtin_va_start and __builtin_va_copy is now either a 'va_list'
5269 or a reference to a va_list.
5270 * builtins.c (stabilize_va_list): Simplify now we don't have to
5271 work around C array address decay.
5272 * c-typeck.c (convert_for_assignment): Handle assignment to
5273 a reference parameter by taking the address of the RHS.
5274 * ginclude/stdarg.h (va_start): Don't take address of first parameter.
5275 (va_copy): Likewise.
5276 (__va_copy): Likewise.
5277 * ginclude/varargs.h (va_start): Likewise.
5278 (__va_copy): Likewise.
5280 Wed Mar 29 15:44:53 2000 Jeffrey A Law (law@cygnus.com)
5282 * i386/djgpp.h: Remove extraneous "+".
5284 * stmt.c (stmt_loop_nest_empty): Fix thinko in last change.
5286 * calls.c (expand_call): Fix typo in last change.
5288 2000-03-29 Jason Merrill <jason@casey.cygnus.com>
5290 * tree.c (unsave_expr_1): Don't mess with a TARGET_EXPR that hasn't
5293 Wed Mar 29 15:39:10 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
5295 * stor-layout.c (bit_from_pos, byte_from_pos): New functions.
5296 (pos_from_byte, pos_from_bit, normalize_offset): Likewise.
5297 (normalize_rli, rli_size_so_far, rli_size_unit_so_far): Use them.
5298 * tree.c (bit_position, byte_position): Likewise.
5299 * tree.h: Declare new functions.
5301 2000-03-29 Nick Clifton <nickc@cygnus.com>
5303 * config/arm/arm.c: Minor formatting changes/
5304 * config/arm/arm.h (SUBTARGET_EXTRA_ASM_SPEC): Define if not
5306 (ASM_SPEC): Define if not already defined.
5308 2000-03-29 Zack Weinberg <zack@wolery.cumb.org>
5310 * cppfiles.c (cpp_read_file): Don't pass zero-length string to
5313 2000-03-29 Jakub Jelinek <jakub@redhat.com>
5315 * dwarf2out.c (gen_enumeration_type_die): If enum has a negative
5316 value, don't output it as unsigned.
5318 Wed Mar 29 10:53:49 2000 Jeffrey A Law (law@cygnus.com)
5320 * stmt.c (stmt_loop_nest_empty): Allow cfun->stmt to be NULL.
5322 2000-03-29 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5324 * c-common.c (c_common_nodes_and_builtins): Don't special case
5325 cplus_mode when declaring builtin bzero/bcmp, always avoid
5326 prototype arguments.
5328 2000-03-29 Bruce Korb <bkorb@gnu.org>
5330 * fixinc/mkfixinc.sh: Initially set the variable "fixincludes"
5333 Wed Mar 29 15:08:01 MET DST 2000 Jan Hubicka <jh@suse.cz>
5335 Convert ACCUMULATE_OUTGOING_ARGS to an expression.
5336 * calls.c (PUSH_ARGS_REVERSED) Change to expression.
5337 (ACCUMULATE_OUTGOING_ARGS, PUSH_ARGS): Provide default value.
5338 (struct arg_data): Remove #ifdef ACCUMULATE_OUTGOING_ARGS.
5339 (save_fixed_argument_area, restore_fixed_argument_area):
5340 conditionize by #ifdef REG_PARM_STACK_SPACE only.
5341 (emit_call): Change #ifdefs on ACCUMULATE_OUTGOING_ARGS
5342 to conditions, handle RETURN_POPS_ARGS on ACCUMULATE_OUTGOING_ARGS.
5343 (precompute_register_parameters): Avoid #ifdefs on
5344 ACCUMULATE_OUTGOING_ARGS and PUSH_ARGS_REVERSED.
5345 (stire_one_args): Likewise.
5346 (expand_call): Likewise; conditionize PUSH_ROUNDING code by PUSH_ARGS.
5347 (emit_library_call_value_1): Likewise.
5348 (compute_argument_block_size): Align to STACK_BOUNDARY only for
5349 ACCUMULATE_OUTGOING_ARGS.
5350 * combine.c (ACCUMULATE_OUTGOING_ARGS, PUSH_ARGS): Provide default
5352 (nonzero_bits): Conditionize PUSH_ROUNDING code by USE_PUSH.
5353 (use_crosses_set_p): Likewise.
5354 * all targets (ACCUMULATE_OUTGOING_ARGS define): Change to
5355 #define ACCUMULATE_OUTGOING_ARGS 1.
5356 * i386.c (ix86_compute_frame_size): Handle ACCUMULATE_OUTGOING_ARGS
5358 * i386.h (MASK_NO_PUSH_ARGS, MASK_ACCUMULATE_OUTGOING_ARGS): New
5360 (TARGET_PUSH_ARGS, TARGET_ACCUMULATE_OUTGOING_ARGS): New macros.
5361 (TARGET_SWITCHES): Add push-args, no-push-args,
5362 accumulate-outgoing-args and no-accumulate-outgoing-args.
5363 (ACCUMULATE_OUTGOING_ARGS, PUSH_ARGS): New macro.
5364 * expr.c (ACCUMULATE_OUTGONG_ARGS, PUSH_ARGS): Provide default.
5365 (push_block): Avoid ifdefs on ACCUMULATE_OUTGONG_ARGS
5367 (emit_push_insn): Likewise.
5368 * final.c (ACCUMULATE_OUTGOING_ARGS): Provide default.
5369 (final_scan_insn): Avoid ifdefs on ACCUMULATE_OUTGOING_ARGS.
5370 * function.c (ACCUMULATE_OUTGOING_ARGS): Provide default.
5371 (STACK_DYNAMIC_OFFSET): Define correctly for both
5372 ACCUMULATE_OUTGOING_ARGS and normal mode.
5373 * invoke.texi (-mpush_args, -maccumulate-outgoing-args): Document.
5374 * tm.texi (PUSH_ARGS): Document.
5375 (ACCUMULATE_OUTGOING_ARGS, PUSH_ROUNDING): Update documentation.
5377 Wed Mar 29 11:51:13 MET DST 2000 Jan Hubicka <jh@suse.cz>
5379 * flags.h (flag_optimize_sibling_calls): Declare.
5380 * calls.c (expand_call): Fail sibcall when
5381 !flag_optimize_sibling_calls
5382 * invoke.texi (flag_optimize_sibling_calls): Document.
5383 * toplev.c (flag_optimize_sibling_calls): New global variable.
5384 (f_options): Add flag_optimize_sibling_calls.
5385 (rest_of_compilation): Conditionize
5386 optimize_sibling_and_tail_recursive_calls by
5387 flag_optimize_sibling_calls.
5388 (main): Set flag_optimize_sibling_calls for -O2.
5389 * stmt.c (expand_return): Conditionize tail recursion by
5390 flag_optimize_sibling_calls.
5392 2000-03-29 Richard Henderson <rth@cygnus.com>
5394 * config/i386/att.h (LOCAL_LABEL_PREFIX): Define.
5395 (ASM_GENERATE_INTERNAL_LABEL, ASM_OUTPUT_INTERNAL_LABEL): Use it.
5397 2000-03-29 Nathan Sidwell <nathan@codesourcery.com>
5399 * except.c (add_eh_table_entry): Mark type_info's as referenced.
5401 2000-03-29 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
5403 * config/rs6000/aix41.h (CPP_SPEC): Define _ANSI_C_SOURCE if -ansi
5405 * config/rs6000/aix43.h (CPP_SPEC): Likewise.
5406 * config/rs6000/rs6000.h (CPP_SPEC): Moved to...
5407 * config/rs6000/aix.h: then modified likewise.
5409 2000-03-28 Richard Henderson <rth@cygnus.com>
5411 * rtl.h: Redistribute enum reg_note documentation.
5412 Kill trailing whitespace.
5413 * rtl.c (reg_note_name): Adjust to match enum reg_note tweeks.
5414 Kill trailing whitespace.
5416 2000-03-28 Zack Weinberg <zack@wolery.cumb.org>
5418 * cppfiles.c (hash_IHASH): Just return i->hash.
5419 (cpp_included): Set dummy.hash using _cpp_calc_hash. Use
5420 htab_find_with_hash.
5421 (cpp_read_file): Likewise.
5422 (find_include_file): Likewise. Properly initialize
5423 ih->nshort. Share ih->name and ih->nshort if possible.
5424 * cpphash.c (_cpp_calc_hash): New function.
5425 (hash_HASHNODE): Just return h->hash.
5426 (_cpp_lookup): Set dummy.hash using _cpp_calc_hash. Use
5427 htab_find_with_hash.
5428 * cpphash.h: Prototype _cpp_calc_hash.
5429 * cppinit.c (initialize_builtins): Provide a valid hash
5430 to _cpp_make_hashnode, using _cpp_calc_hash.
5432 * cpphash.c (collect_expansion): # is not a special character
5433 in object-like macros. In -traditional mode, /**/ is not
5434 token paste at the beginning or end of the line.
5435 * cpplib.c (do_include, do_import, do_include_next): If
5436 parse_include fails, return immediately.
5438 2000-03-28 Jason Merrill <jason@casey.cygnus.com>
5440 * config/arm/arm.md (return peepholes): Update to reflect the new
5442 * config/arm/arm.c (arm_volatile_func): Also check
5443 current_function_nothrow.
5444 (output_return_instruction, output_func_prologue): Use it.
5445 (arm_output_epilogue, arm_expand_prologue): Likewise.
5447 2000-03-27 Tom Tromey <tromey@cygnus.com>
5449 * gcc.c (handle_braces): In {x*...} case, break out of loop if
5452 Tue Mar 28 11:55:48 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
5454 * expr.c (store_constructor): SIZE now signed.
5455 For EXPR_SIZE, don't evaluate size; just needed if constant.
5456 * fold-const.c (fold): Fix a number of cases when folded tree is
5458 * function.c (flush_addressof): Reenable.
5459 * tree.h (flush_addressof): Likewise.
5460 * toplev.c (independent_decode_option): Look at strings_processed.
5461 * config/alpha/alpha.h (MINIMUM_ATOMIC_ALIGNMENT): Cast to unsigned.
5463 Tue Mar 28 08:29:46 2000 Jan Hubicka <jh@suse.cz>
5465 * sibcall.c (indentify_call_return_value): Find last call in the chain;
5466 Allow stack adjustment after function call.
5468 * regmove.c (struct csa_memlist): Make mem field rtx *.
5469 (record_one_stack_ref): Accept rtx * instead of rtx as parameter.
5470 (try_apply_stack_adjustment): Replace whole MEM rtx.
5471 (combine_stack_adjustments_for_block): Update calls
5472 to record_one_stack_ref.
5474 2000-03-28 Neil Booth <NeilB@earthling.net>
5476 * cpplex.c (_cpp_read_and_prescan): Mark end of input buffer with
5477 '\\' rather than a null character, so nulls are not special. Fix
5478 "\\\n" handling in end-of-buffer conditions. Use trigraph map to
5479 speed trigraph conversion.
5480 (_cpp_init_input_buffer): Initialize trigraph map.
5482 2000-03-27 Alan Modra <alan@linuxcare.com.au>
5484 * config/i386/i386.c (output_387_binary_op): Correct intel
5485 mode assembly output, and add spaces after commas in AT&T
5486 output. Correct Unixware assembler comment. Document input
5487 constraints. Comment fp operations. Reduce profligate buffer
5488 size. Remove extraneous abort. Localize temp var.
5489 (SYSV386_COMPAT): Define. Add !SYSV386_COMPAT code.
5490 (output_fix_trunc): Add spaces after commas in assembly output.
5492 2000-03-27 Richard Henderson <rth@cygnus.com>
5494 * i386-protos.h (ix86_match_ccmode): Declare.
5495 * i386.c (ix86_match_ccmode): New.
5496 (ix86_expand_fp_compare): Update for pattern renames.
5497 (ix86_expand_strlensi_unroll_1): Likewise.
5498 * i386.h (EXTRA_CC_MODES): Add CCZ.
5499 (SELECT_CC_MODE): Use it for EQ/NE zero.
5500 * i386.md (cmpsi_ccz_1): New.
5502 (*testsi_ccz_1): New.
5503 (testqi_ccz_1): New.
5504 (cmpsi_ccno_1): Rename from cmpsi_0.
5505 (testsi_ccno_1): Rename from testsi_1.
5506 (testqi_ccno_1): Rename from testqi_1.
5507 (*testqi_ext_ccz_0): Rename from testqi_ext_0.
5508 (testqi_ext_ccno_0): Rename from *testqi_ext_1.
5509 (*cmphi_0): Use ix86_match_ccmode.
5510 (*cmpqi_ext_2, *addsi_2, *addhi_2, *addqi_2): Likewise.
5511 (*subsi_2, *subhi_2, *subqi_2, *testhi_1): Likewise.
5512 (*testqi_ext_1, *testqi_ext_2, *testqi_ext_3): Likewise.
5513 (*andsi_2, *andhi_2, *andqi_2, *andqi_ext_0_cc): Likewise.
5514 (*iorsi_2, *iorhi_2, *iorqi_2): Likewise.
5515 (*xorsi_2, *xorhi_2, *xorqi_cc_1): Likewise.
5516 (*one_cmplsi2_2, *one_cmplhi2_2, *one_cmplqi2_2): Likewise.
5517 (*ashlsi3_cmpno, *ashlhi3_cmpno, *ashlqi3_cmpno): Likewise.
5518 (*ashrsi3_cmpno, *ashrhi3_cmpno, *ashrqi3_cmpno): Likewise.
5519 (*lshrsi3_cmpno, *lshrhi3_cmpno, *lshrqi3_cmpno): Likewise.
5520 (appropriate peepholes): Likewise.
5521 (*cmphi_1, *cmpqi_ccno_1, *cmpqi_1): Star out name.
5522 (*subsi_3, *subhi_3, *subqi_3): Remove.
5523 (*negdi2_1+1 splitter): Use CCZ for neg patterns.
5524 (*negsi2_cmp, *neghi2_cmp, *negqi2_cmp): Remove.
5525 (*negsi2_cmpz): Rename from *negsi2_cmpno, use CCZ.
5526 (*neghi2_cmpz, *negqi2_cmpz): Similarly.
5527 (x86_shift_adj_1): Use CCZ.
5528 (*dbra_ge+1, *dbra_ge+2, ffssi2, ffssi_1): Likewise.
5530 2000-03-27 Stan Cox <scox@cygnus.com>
5532 * resource.h (mark_resource_type): New.
5533 * resource.c (find_dead_or_set_registers, mark_target_live_regs,
5534 find_free_register): Use mark_resource_type.
5535 (mark_set_resources): Change include_delayed_effects
5536 to mark_resource_type.
5537 * reorg.c (steal_delay_list_from_target, try_merge_delay_insns,
5538 redundant_insn, fill_simple_delay_slots, fill_slots_from_thread):
5539 Use mark_resource_type.
5541 2000-03-27 Richard Henderson <rth@cygnus.com>
5543 * i386.md (call_pop_0, call_value_pop_0): New.
5544 (call_pop_1): Remove constraint from unused arg. Support sibcalls.
5545 (call_value_pop_1): Likewise.
5546 (call_0, call_value_0): New.
5547 (call_1, call_value_1): Remove constraint from unused arg.
5549 2000-03-27 Nick Clifton <nickc@cygnus.com>
5551 * invoke.texi (Spec Files): Document new spec % command created by
5552 Tom Tromey's recent patch.
5554 2000-03-27 Jakub Jelinek <jakub@redhat.com>
5556 * libgcc2.h (MIN_UNITS_PER_WORD): Define to UNITS_PER_WORD
5559 Mon Mar 27 06:04:22 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
5561 * expr.c (expand_assignment): Fix typo in last change.
5563 * libgcc2.h: Use MIN_UNITS_PER_WORD, not UNITS_PER_WORD.
5565 Sun Mar 26 20:15:26 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
5567 * c-convert.c (convert): Return if output or input type is ERROR_MARK.
5568 * c-decl.c (duplicate_decls): Only look at DECL_BUILT_IN_NONANSI
5569 and DECL_INLINE if FUNCTION_DECL.
5570 (pushdecl, redeclaration_error_message): Likewise, for DECL_INLINE.
5571 (store_parm_decls): Check for type of PARM_DECL being ERROR_MARK.
5572 Use DECL_WEAK, not DECL_RESULT, to flag for already seen.
5573 (combine_parm_decls): Likewise.
5574 * ggc-common.c (gcc_mark_tree_children, case 'd'): Use DECL_RESULT_FLD.
5575 * print-tree.c (print_node): Likewise.
5576 Only test DECL_PACKED, DECL_INLINE, DECL_BIT_FIELD, and
5577 DECL_TRANSPARENT_UNION on proper decl types.
5578 Properly handly DECL_INCOMING_RTL and DECL_SAVED_INSNS.
5579 * stor-layout.c (layout_decl): Only check DECL_PACKED and
5580 DECL_BIT_FIELD of FIELD_DECL.
5581 * tree.h (DECL_RESULT_FLD): New macro.
5583 * expr.c (expand_assignment): Add code to handle variable-sized
5586 2000-03-26 Richard Henderson <rth@cygnus.com>
5588 * calls.c (expand_call): Pass parms not original exp to
5589 optimize_tail_recursion. Mind return value instead of looking
5591 * stmt.c (optimize_tail_recursion): Take parameter list, not entire
5592 call_expr. Move checks for call_expr and current_function_decl ...
5593 (expand_return): ... here.
5595 2000-03-26 Tom Tromey <tromey@cygnus.com>
5597 * gcc.c (handle_braces): Recognize `%{<S}' construct.
5598 (SWITCH_OK, SWITCH_FALSE, SWITCH_IGNORE, SWITCH_LIVE): New
5600 (process_command): Use them.
5601 (check_live_switch): Likewise.
5602 (give_switch): Skip ignored switches.
5604 2000-03-26 Jan Hubicka <jh@suse.cz>
5606 * jump.c (jump_optimize_1): Fix typo in elide optimizations
5607 for minimal jump pass test.
5609 2000-03-26 Mark Mitchell <mark@codesourcery.com>
5611 * integrate.c (function_cannot_inline_p): Do inline functions that
5614 Sun Mar 26 11:37:55 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
5616 * stor-layout.c (layout_type, set_sizetype): early_type_list is
5617 now a list of TREE_LIST entries, not types.
5618 * tree.c (build_common_tree_nodes_2): Eliminate dupliate type sets.
5620 * expmed.c (extract_bit_field): Ensure BITS_PER_WORD is signed in MAX.
5621 * config/arm/pe.c (arm_pe_return_in_memory): Use host_integerp and
5623 * config/mips/mips.c (function_arg): Likewise; also remove cast
5624 and make variables unsigned or HOST_WIDE_INT and use tree_low_cst.
5625 (mips_function_value): Use int_byte_position and make HOST_WIDE_INT.
5626 * config/mips/abi64.h (SETUP_INCOMING_VARARGS): Offsets are unsigned.
5627 * config/mips/mips.h (BITS_PER_WORD, UNITS_PER_WORD): Cast to unsigned.
5628 (UNITS_PER_FPREG, INT_TYPE_SIZE, LONG_TYPE_SIZE): Likewise.
5629 (POINTER_SIZE, POINTER_BOUNDARY,PARM_BOUNDARY): Likewise.
5630 (GP_REG_P, FP_REG_P, MD_REG_P, ST_REG_P): Ensure subtraction signed.
5631 (struct mips_arg): arg_number, arg_words, fp_arg_words, and
5632 num_adjusts now unsigned.
5633 (FUNCTION_ARG_BOUNDARY): Remove unneeded cast.
5634 * config/sparc/sparc.c (struct function_arg_record_value_parms):
5636 (function_arg_record_value_1): STARTBITPOS arg now HOST_WIDE_INT
5637 as is BITPOS variable; use host_integerp and int_bit_position.
5638 (function_arg_record_value_2): Likewise.
5639 (function_arg_record_value_3): Arg BITPOS now HOST_WIDE_INT.
5640 Variable REGNO now unsigned.
5641 (function_arg_record_value): NREGS now unsigned.
5643 2000-03-26 Bernd Schmidt <bernds@cygnus.co.uk>
5645 * jump.c (mark_all_labels): Handle CALL_PLACEHOLDERs.
5647 Sat Mar 25 09:12:10 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
5649 * Rework fields used to describe positions of bitfields and
5650 modify sizes to be unsigned and use HOST_WIDE_INT.
5651 * alias.c (reg_known_value_size): Now unsigned.
5652 * c-typeck.c (build_unary_op, case ADDR_EXPR): Use byte_position.
5653 (really_start_incremental_init): Use bitsize_zero_node.
5654 (push_init_level, pop_init_level, output_init_element): Likewise.
5655 Use bitsize_unit_node and bitsize_one_node.
5656 (output_pending_init_elements, process_init_element): Likewise.
5657 * combine.c (combine_max_regno, reg_sign_bit_copies): Now unsigned.
5658 (make_extraction): Position and length HOST_WIDE_INT and unsigned
5659 HOST_WIDE_INT, respectively.
5660 (get_pos_from_mask): Passed in value is unsigned HOST_WIDE_INT.
5661 (num_sign_bit_copies): Returns unsigned.
5662 BITWIDTH now unsigned; rework arithmetic.
5663 Remove recursive call from arg to MAX.
5664 (combine_instructions, init_reg_last_arrays): NREGS now unsigned.
5665 (setup_incoming_promotions, can_combine_p, try_combine, simplify_set):
5667 (set_nonzero_bit_and_sign_copies): NUM now unsigned.
5668 (find_split_point, expand_compound_operation, make_extraction): LEN
5669 now unsigned HOST_WIDE_INT, POS now HOST_WIDE_INT.
5670 (make_field_assignment): Likewise.
5671 (combine_simplify_rtx): Add cast.
5672 (expand_compound_operation): MODEWIDTH now unsigned; rework arithmetic.
5673 (force_to_mode): WIDTH now unsigned; add cast.
5674 (if_then_else_cond): SIZE now unsigned.
5675 (nonzero_bits): MODE_WIDTH, RESULT_WIDTH, and WIDTH now unsigned.
5676 (extended_count): Now returns unsigned.
5677 (simplify_shift_const): COUNT unsigned; arg is now INPUT_COUNT.
5678 Add SIGNED_COUNT variable; MODE_WORDS and FIRST_COUNT now unsigned.
5679 (simplify_comparison): MODE_WIDTH now unsigned.
5680 (update_table_tick): REGNO and ENDREGNO now unsigned; new var R.
5681 (mark_used_regs_combine): Likewise; rework arithmetic.
5682 (record_value_for_reg): REGNO, ENDREGNO, and I now unsigned.
5683 (record_dead_and_set_regs, reg_dead_at_p, distribute_notes): Likewise.
5684 (record_promoted_value): REGNO now unsigned.
5685 (get_last_value_validate): REGNO, ENDREGNO, and J now unsigned.
5686 (get_last_value): REGNO now unsigned.
5687 (use_crosses_set_p): REGNO and ENDREGNO now unsigned.
5688 (reg_dead_regno, reg_dead_endregno): Now unsigned.
5689 (remove_death): Arg REGNO now unsigned.
5690 (move_deaths): REGNO, DEADREGNO, DEADEND, OUREND, and I now unsigned.
5691 (reg_bitfield_target_p): REGNO, REGNO, ENDREGNO, and ENDTREGNO
5693 * convert.c (convert_to_integer): INPREC and OUTPREC now unsigned.
5694 * cse.c (struct qty_table_elem): FIRST_REG and LAST_REG now unsigned.
5695 (struct cse_reg_info): REGNO now unsigned.
5696 (cached_regno): Now unsigned.
5697 (REGNO_QTY_VALID_P): Add cast.
5698 (make_new_qty, make_regs_eqv, delete_reg_eqiv): Regno args unsigned.
5699 (remove_invalid_regs): Likewise.
5700 (remove_invalid_subreg_refs): Likewise; arg WORD also unsigned
5701 as are variables END and I.
5702 (get_cse_reg_info, insert): Likewise.
5703 (mention_regs, invalidate_for_call): REGNO, ENDREGNO, and I unsigned.
5704 (canon_hash): Likewise.
5705 (insert_regs, lookup_for_remove): REGNO now unsigned.
5706 (invalidate): REGNO, ENDREGNO, TREGNO, and TENDREGNO now unsigned.
5708 * dbxout.c (dbxout_parms, dbxout_reg_parms): Don't check for REGNO < 0.
5709 * dwarf2out.c (dwarf2ou_frame_debug_expr): Remove cast.
5710 * emit-rtl.c (subreg_realpart_p): Add cast.
5711 (operand_subword): Arg I is now unsigned as is var PARTWORDS.
5712 (operand_subword_force): Arg I is now unsigned.
5713 * except.c (eh_regs): Variable I is now unsigned.
5714 * explow.c (hard_function_value): BYTES is unsigned HOST_WIDE_INT.
5715 * expmed.c (store_fixed_bit_field): Position is HOST_WIDE_INT;
5716 length is unsigned HOST_WIDE_INT; likewise for internal variables.
5717 (store_split_bit_field, extract_fixed_bit_field): Likewise.
5718 (extract_split_bit_field, store_bit_field, extract_bit_field):
5720 * expr.c (store_constructor_fields, store_constructor, store_field):
5721 Positions are HOST_WIDE_INT and lengths are unsigned HOST_WIDE_INT.
5722 (expand_assignment, expand_expr, expand_expr_unaligned): Likewise.
5723 (do_jump): Likewise.
5724 (move_by_pieces, move_by_pieces_ninsns, clear_by_pieces):
5725 MAX_SIZE is now unsigned.
5726 (emit_group_load): BYTEPOS is HOST_WIDE_INT; BYTELEN is unsigned.
5727 (emit_group_store): Likewise.
5728 (emit_move_insn): I now unsigned.
5729 (store_constructor): Use host_integerp, tree_low_cst, and
5731 (get_inner_reference): Return bitpos and bitsize as HOST_WIDE_INT.
5732 Rework all calculations to use trees and new fields.
5733 * expr.h (promoted_input_arg): Regno now unsigned.
5734 (store_bit_field, extract_bit_field): Adjust types of pos and size.
5735 (mark_seen_cases): Arg is HOST_WIDE_INT.
5736 * flow.c (verify_wide_reg_1): REGNO now unsigned.
5737 * fold-const.c (decode_field_reference): Size and pos HOST_WIDE_INT;
5738 precisions and alignments are unsigned.
5739 (optimize_bit_field_compare, fold_truthop): Likewise.
5740 (int_const_binop): Adjust threshold for size_int_type_wide call.
5741 (fold_convert): Likewise.
5742 (size_int_type_wide): Make table larger and fix thinko that only
5743 had half of table used.
5744 (all_ones_mask_p, fold): Precisions are unsigned.
5745 * function.c (put_reg_info_stack): REGNO is unsigned.
5746 (instantiate_decl): Size is HOST_WIDE_INT.
5747 (instantiate_virtual_regs): I is unsigned.
5748 (assign_parms): REGNO, REGNOI, and REGNOR are unsigned.
5749 (promoted_input_arg): REGNO is unsigned.
5750 * function.h (struct function): x_max_parm_reg is now unsigned.
5751 * gcse.c (max_gcse_regno): Now unsigned.
5752 (struct null_pointer_info): min_reg and max_reg now unsigned.
5753 (lookup_set, next_set): REGNO arg now unsigned.
5754 (compute_hash_table): REGNO and I now unsigned.
5755 (handle_avail_expr): regnum_for_replacing now unsigned.
5756 (cprop_insn): REGNO now unsigned.
5757 (delete_null_pointer_checks_1): BLOCK_REG now pointer to unsigned.
5758 * ggc-common.c (ggc_mark_tree_children, case FIELD_DECL): New case.
5759 * global.c (set_preference): SRC_REGNO, DEST_REGNO, and I now unsigned.
5760 * hard-reg-set.h (reg_class_size): Now unsigned.
5761 * integrate.c (mark_stores): LAST_REG and I now unsigned; new UREGNO.
5762 * jump.c (mark_modified_reg): I now unsigned; add cast.
5763 (rtx_equal_for_thread_p): Add cast.
5764 * loop.c (max_reg_before_loop): Now unsigned.
5765 (struct_movable): REGNO now unsigned.
5766 (try_copy_prop): REGNO arg unsigned.
5767 (regs_match_p): XN and YN now unsigned.
5768 (consec_sets_invariant_p, maybe_eliminate_biv): REGNO now unsigned.
5769 (strength_reduce): Likewise; NREGS also unsigned.
5770 (first_increment_giv, last_increment_giv unsigned): Now unsigned.
5771 * loop.h (struct iv_class): REGNO now unsigned.
5772 (max_reg_before_loop, first_increment_giv, last_increment_giv):
5774 * machmode.h (mode_size, mode_unit_size): Now unsigned.
5775 (mode_for_size, smallest_mode_for_size): Pass size as unsigned.
5776 * optabs.c (expand_binop): I and NWORDS now unsigned.
5777 (expand_unop): I now unsigned.
5778 * print-tree.c (print_node): Don't print DECL_FIELD_BITPOS, but do
5779 print DECL_FIELD_OFFSET and DECL_FIELD_BIT_OFFSET.
5780 * real.c (significand_size): Now returns unsigned.
5781 * real.h (significand_size): Likewise.
5782 * regclass.c (reg_class_size): Now unsigned.
5783 (choose_hard_reg_mode): Both operands now unsigned.
5784 (record_reg_classes): REGNO and NR now unsigned.
5785 (reg_scan): NREGS now unsigned.
5786 (reg_scan_update): old_max_regno now unsigned.
5787 (reg_scan_mark_refs): Arg MIN_REGNO and var REGNO now unsigned.
5788 * reload.c (find_valid_class): BEST_SIZE now unsigned.
5789 (find_dummy_reload): REGNO, NWORDS, and I now unsigned.
5790 (hard_reg_set_here_p): Args BEG_REGNO and END_REGNO now unsigned.
5791 Likewise for variable R.
5792 (refers_to_regno_for_reload_p): Args REGNO and END_REGNO now unsigned,
5793 as are variables INNER_REGNO and INNER_ENDREGNO; add new variable R.
5794 (find_equiv_reg): Add casts.
5795 (regno_clobbered_p): Arg REGNO now unsigned.
5796 * reload.h (struct reload): NREGS now unsigned.
5797 (refers_to_regno_for_reload_p): Regno args are unsigned.
5798 (regno_clobbered_p): Likewise.
5799 * reload1.c (reg_max_ref_width, spill_stack_slot_width): Now unsigned.
5800 (compute_use_by_pseudos): REGNO now unsigned.
5801 (find_reg): I and J now unsigned, new variable K, and change loop
5802 variables accordingly; THIS_NREGS now unsigned.
5803 (alter_reg): INHERENT_SIZE and TOTAL_SIZE now unsigned.
5804 (spill_hard_reg): REGNO arg now unsigned; add casts.
5805 (forget_old_reloads_1): REGNO, NR, and I now unsigned.
5806 (mark_reload_reg_in_use): Arg REGNO and vars NREGS and I now unsigned.
5807 (clear_reload_reg_in_use): Arg REGNO and vars NREGS, START_REGNO,
5808 END_REGNO, CONFLICT_START, and CONFLICT_END now unsigned.
5809 (reload_reg_free_p, reload_reg_reaches_end_p): Arg REGNO now unsigned.
5810 (choose_reload_regs): MAX_GROUP_SIZE now unsigned.
5811 (emit_reload_insns): REGNO now unsigned.
5812 (reload_cse_move2add): Add cast.
5813 (move2add_note_store): REGNO and I now unsigned; new variable ENDREGNO
5815 * resource.c (mark_referenced_resources, mark_set_resources): New
5816 variable R; REGNO and LAST_REGNO now unsigned.
5817 (mark_target_live_regs): J and REGNO now unsigned.
5818 * rtl.c (mode_size, mode_unit_size): Now unsigned.
5819 * rtl.h (union rtunion_def): New field rtuint.
5820 (XCUINT): New macro.
5821 (ADDRESSOF_REGNO, REGNO, SUBREG_WORD): New XCUINT.
5822 (operand_subword, operand_subword_force): Word number is unsigned.
5823 (choose_hard_reg_mode): Operands are unsigned.
5824 (refers_to-regno_p, dead_or_set_regno_p): Regno arg is unsigned.
5825 (find_regno_note, find_regno_fusage, replace_regs): Likewise.
5826 (regno_use_in, combine_instructions, remove_death): Likewise.
5827 (reg_scan, reg_scan_update): Likewise.
5828 (extended_count): Return is unsigned.
5829 * rtlanal.c (refers_to_regno_p): Args REGNO and ENDREGNO and vars I,
5830 INNER_REGNO, and INNER_ENDREGNO now unsigned; new variable X_REGNO.
5831 (reg_overlap_mentioned_p): REGNO and ENDREGNO now unsigned.
5832 (reg_set_last_first_regno, reg_set_last_last_regno): Now unsigned.
5833 (reg_reg_last_1): FIRS and LAST now unsigned.
5834 (dead_or_set_p): REGNO, LAST_REGNO, and I now unsigned.
5835 (dead_or_set_regno_p): Arg TEST_REGNO and vars REGNO and ENDREGNO
5837 (find_regno_note, regno_use_in): Arg REGNO now unsigned.
5838 (find_regno_fusage): Likewise; also var REGNOTE now unsigned.
5839 (find_reg_fusage): Variables REGNO, END_REGNO, and I now unsigned.
5840 (replace_regs): Arg NREGS now unsigned.
5841 * sdbout.c (sdbout_parms, sdbout_reg_parms): Don't check REGNO < 0.
5842 * simplify-rtx.c (simplify_unary_operation): WIDTH now unsigned.
5843 (simplify_binary_operation): Likewise.
5844 (cselib_invalidate_regno): Arg REGNO and variables ENDREGNO, I, and
5845 THIS_LAST now unsigned.
5846 (cselib_record_set): Add cast.
5847 * ssa.c (ssa_max_reg_num): Now unsigned.
5848 (rename_block): REGNO now unsigned.
5849 * stmt.c (expand_return): Bit positions unsigned HOST_WIDE_INT;
5851 (all_cases_count): Just return -1 not -2.
5852 COUNT, MINVAL, and LASTVAL now HOST_WIDE_INT.
5853 Rework tests to use trees whenever possible.
5854 Use host_integerp and tree_low_cst.
5855 (mark_seen_cases): COUNT arg now HOST_WIDE_INT;
5856 Likewise variable NEXT_NODE_OFFSET; XLO now unsigned.
5857 (check_for_full_enumeration_handing): BYTES_NEEDED, I to HOST_WIDE_INT.
5858 * stor-layout.c (mode_for_size): SIZE arg now unsigned.
5859 (smallest_mode_for_size): Likewise.
5860 (layout_decl): Simplify handing of a specified DECL_SIZE_UNIT.
5861 KNOWN_ALIGN is now an alignment, so simplify code.
5862 Don't turn off DECL_BIT_FIELD if field is BLKmode, but not type.
5863 (start_record_layout): Renamed from new_record_layout_info.
5864 Update to new fields.
5865 (debug_rli, normalize_rli, rli_size_unit_so_far, rli_size_so_far):
5867 (place_union_field): Renamed from layout_union_field.
5868 Update to use new fields in rli.
5869 (place_field): Renamed from layout_field.
5870 Major rewrite to use new fields in rli; pass alignment to layout_decl.
5871 (finalize_record_size): Rework to use new fields in rli and handle
5873 (compute_record_mode): Rework to simplify and to use new DECL fields.
5874 (finalize_type_size): Make rounding more consistent.
5875 (finish_union_layout): Deleted.
5876 (layout_type, case VOID_TYPE): Don't set TYPE_SIZE_UNIT either.
5877 (layout_type, case RECORD_TYPE): Call new function names.
5878 (initialize_sizetypes): Set TYPE_IS_SIZETYPE.
5879 (set_sizetype): Set TYPE_IS_SIZETYPE earlier.
5880 (get_best_mode): UNIT is now unsigned; remove casts.
5881 * tree.c (bit_position): Compute from new fields.
5882 (byte_position, int_byte_position): New functions.
5883 (print_type_hash_statistics): Cast to remove warning.
5884 (build_range_type): Use host_integerp and tree_low_cst to try to hash.
5885 (build_index_type): Likewise; make subtype of sizetype.
5886 (build_index_2_type): Pass sizetype to build_range_type.
5887 (build_common_tree_nodes): Use size_int and bitsize_int to
5888 initialize nodes; add bitsize_{zero,one,unit}_node.
5889 * tree.h (DECL_FIELD_CONTEXT): Use FIELD_DECL_CHECK.
5890 (DECL_BIT_FIELD_TYPE, DECL_QUALIFIER, DECL_FCONTEXT): Likewise.
5891 (DECL_PACKED, DECL_BIT_FIELD): Likewise.
5892 (DECL_FIELD_BITPOS): Deleted.
5893 (DECL_FIELD_OFFSET, DECL_FIELD_BIT_OFFSET): New fields.
5894 (DECL_RESULT, DECL_SAVED_INSNS): Use FUNCTION_DECL_CHECK.
5895 (DECL_FRAME_SIZE, DECL_FUNCTION_CODE, DECL_NO_STATIC_CHAIN): Likewise.
5896 (DECL_INLINE, DECL_BUILT_IN_NONANSI, DECL_IS_MALLOC): Likewise.
5897 (DECL_BUILT_IN_CLASS, DECL_STATIC_CONSTRUCTOR): Likewise.
5898 (DECL_STATIC_DESTRUCTOR, DECL_NO_CHECK_MEMORY_USAGE): Likewise.
5899 (DECL_NO_INSTRUMENT_FUNCTION_ENTRY_EXIT, DECL_NO_LIMIT_STACK) Likewise.
5900 (DECL_ORIGINAL_TYPE, TYPE_DECL_SUPPRESS_DEBUG): Use TYPE_DECL_CHECK.
5901 (DECL_ARG_TYPE_AS_WRITEN, DECL_ARG_TYPE): Use PARM_DECL_CHECK.
5902 (DECL_INCOMING_RTL, DECL_TRANSPARENT_UNION): Likewise.
5903 (DECL_ALIGN): Adjust to new field in union.
5904 (DECL_OFFSET_ALIGN): New field.
5905 (DECL_ERROR_ISSUED, DECL_TOO_LATE): Use LABEL_DECL_CHECK.
5906 (DECL_IN_TEXT_SECTION): Use VAR_DECL_CHECK.
5907 (union tree_decl): Add struct for both aligns.
5908 (enum tree_index): Add TI_BITSIZE_{ZERO,ONE,UNIT}.
5909 (bitsize_zero_node, bitsize_one_node, bitsize_unit_node): Added.
5910 (struct record_layout_info): Rework fields to have offset
5911 alignment and byte and bit position.
5912 (start_record_layout, place_field): Renamed from old names.
5913 (rli_size_so_far, rli_size_unit_so_far, normalize_rli): New decls.
5914 (byte_position, int_byte_position): Likewise.
5915 (get_inner_reference): Change types of position and length.
5916 * unroll.c (unroll_loop): New variable R; use for some loops.
5917 MAX_LOCAL_REGNUM and MAXREGNUM now unsigned.
5918 (calculate_giv_inc): Arg REGNO now unsigned.
5919 (copy_loop_body): REGNO and SRC_REGNO now unsigned.
5920 * varasm.c (assemble_variable): Clean up handling of size using
5921 host_integerp and tree_low_cst.
5922 (decode_addr_const): Use byte, not bit, position.
5923 (output_constructor): bitpos and offsets are HOST_WIDE_INT;
5924 use tree_low_cst and int_bit_position.
5925 * objc/objc-act.c (build_ivar_list_initializer): Use byte_position.
5927 Fri Mar 24 20:13:49 2000 Jason Eckhardt <jle@cygnus.com>
5929 * bb-reorder.c (REORDER_MOVED_BLOCK_END): Removed.
5930 (reorder_block_def): New members eff_head and eff_end.
5931 (REORDER_BLOCK_EFF_HEAD, REORDER_BLOCK_EFF_END): New macros.
5932 (verify_insn_chain): New function.
5933 (skip_insns_between_block): Add code to skip deleted insns.
5934 Check for note before using.
5935 (chain_reorder_blocks): Replace calls to skip_insns_between_block
5936 with references to REORDER_BLOCK_EFF_HEAD and REORDER_BLOCK_EFF_END.
5937 Check for note before using.
5938 (make_reorder_chain): Use INTVAL rather than XINT to get REG_BR_PROB.
5939 (fixup_reorder_chain): Restructure, clean up, defect removal.
5940 (reorder_basic_blocks): Remove last_insn and references to it.
5941 Moved insn chain verification code into a new function (see above).
5942 Delete defective code that sets last insn.
5943 Initialize REORDER_BLOCK_EFF_HEAD and REORDER_BLOCK_EFF_END for
5946 2000-03-25 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
5948 * config/c4x/c4x.h (CPP_SPEC): Remove erroneous space.
5950 2000-03-24 Richard Henderson <rth@cygnus.com>
5952 * tree.c (lang_safe_for_unsave): Remove.
5953 (unsafe_for_reeval): Transmute and rename from safe_for_unsave,
5954 allowing for two levels of unsafeness. Remove lang hook.
5955 * tree.h: Update declarations.
5956 * calls.c (expand_call): Rename safe_for_reeval to try_tail_call.
5957 Create temporary VAR_DECLs to protect very unsafe_for_reeval trees.
5958 Always fail sibcalls when there are pending cleanups.
5960 2000-03-24 Geoff Keating <geoffk@cygnus.com>
5962 * flow.c (propagate_block): When we delete an ADDR_VEC,
5963 also delete the BARRIER following it if there is one.
5965 2000-03-24 Richard Henderson <rth@cygnus.com>
5967 * builtins.c (expand_builtin_bzero): Convert `length' argument
5970 2000-03-24 Jakub Jelinek <jakub@redhat.com>
5972 * sibcall.c (skip_copy_to_return_value): Use OUTGOING_REGNO for
5973 comparison if regno's are equal.
5974 * calls.c (initialize_argument_informat): Add ecf_flags argument.
5975 Use FUNCTION_INCOMING_ARG if available and ECF_SIBCALL.
5976 (expand_call): Update caller.
5977 Avoid making a sibling call if argument size of the callee is larger
5978 than argument size of the caller.
5979 Call hard_function_value with outgoing set if in sibcall pass.
5980 Use FUNCTION_INCOMING_ARG if available and ECF_SIBCALL.
5982 * final.c (permitted_reg_in_leaf_functions, only_leaf_regs_used):
5983 Change LEAF_REGISTERS from an array initializer to actual array
5984 identifier. Move static global variable into the function.
5985 (leaf_function_p): Allow SIBLING_CALL_P calls even outside of
5986 sequences for leaf functions.
5987 * global.c (global_alloc): Likewise.
5988 * tm.texi (LEAF_REGISTERS): Update documentation.
5990 * config/sparc/sparc.h (CONDITIONAL_REGISTER_USAGE): Remove the ugly
5991 TARGET_FLAT leaf disabling hack.
5992 (LEAF_REGISTERS): Changed from an array initializer to actual array
5993 identifier to avoid duplication and remove the above hack.
5994 (FUNCTION_OK_FOR_SIBCALL): Define.
5995 * config/sparc/sparc.md (sibcall): New attr type. Use it almost
5996 always like call attribute.
5997 (eligible_for_sibcall_delay): New attribute.
5998 (sibcall): New delay type.
5999 (sibcall, sibcall_value, sibcall_epilogue): New expands.
6000 (sibcall_symbolic_sp32, sibcall_symbolic_sp64,
6001 sibcall_value_symbolic_sp32, sibcall_value_symbolic_sp64): New insns.
6002 * config/sparc/sparc.c (sparc_leaf_regs): New array.
6003 (eligible_for_sibcall_delay, output_restore_regs, output_sibcall):
6005 (output_function_epilogue): Move part of the code into
6006 output_restore_regs.
6007 (ultra_code_from_mask, ultrasparc_sched_reorder): Handle
6009 * sparc-protos.h (output_sibcall, eligible_for_sibcall_delay): New
6012 * config/sparc/sparc.h (REVERSIBLE_CC_MODE): Revert Jan, 25 change
6013 until infrastructure is finished.
6015 Fri Mar 24 13:49:45 2000 Jeffrey A Law (law@cygnus.com)
6017 * integrate.c (save_for_inline_nocopy): Clear in_nonparm_insns here.
6018 (save_parm_insns): Not here.
6020 2000-03-24 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
6022 * builtins.c (expand_builtin_bzero): New function.
6023 (expand_builtin): Handle bzero.
6025 * builtins.def: Add BUILT_IN_BZERO.
6027 * c-common.c (c_common_nodes_and_builtins): Provide builtin
6028 prototype & function for bzero.
6030 2000-03-23 Michael Meissner <meissner@redhat.com>
6032 * config/alpha/alpha.md (TF floating point insns): Undo 2000-03-21
6033 change adding TARGET_FP to the TF floating point insns, except for
6034 trunctfsf2, which generates direct calls to truncdfsf2.
6036 2000-03-23 Geoff Keating <geoffk@cygnus.com>
6038 * config/rs6000/rs6000.h (ARG_POINTER_CFA_OFFSET): New definition,
6039 try to protect against middle-end changes that break binary
6041 (DWARF_FRAME_REGISTERS): New definition, likewise for backend.
6043 2000-03-24 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
6045 * config/c4x/c4x.md (load_immed_address): Add DP reg clobber.
6047 Thu Mar 23 17:10:48 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
6049 * calls.c (expand_call): If TARGET is passed by reference and
6050 is readonly, write a CLOBBER.
6052 2000-03-23 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
6054 * builtins.c (expand_builtin): Handle bcmp.
6056 * builtins.def: Add BUILT_IN_BCMP.
6058 * c-common.c (c_common_nodes_and_builtins): Provide builtin
6059 prototype & function for bcmp.
6061 Thu Mar 23 11:34:39 2000 Jim Wilson <wilson@cygnus.com>
6063 * config/ia64/ia64.c (rtx_needs_barrier, case UNSPEC): Move case 6...
6064 (rtx_needs_barrier, case UNSPEC_VOLATILE): to here.
6065 * config/ia64/ia64.md (pr_restore): Change UNSPEC to UNSPEC_VOLATILE.
6067 Thu Mar 23 16:04:40 2000 Andrew Haley <aph@cygnus.com>
6069 * config/mips/mips.md (movdf_internal1a): Delete (set 'f', 'F')
6070 alternative when using -fp64 -gp32.
6072 2000-03-22 Jason Merrill <jason@casey.cygnus.com>
6074 * config/rs6000/rs6000.h (DWARF_FRAME_RETURN_COLUMN): Define.
6075 * config/alpha/alpha.h (DWARF_FRAME_RETURN_COLUMN): Define.
6076 * config/sparc/sparc.h (DWARF_FRAME_RETURN_COLUMN): Define.
6078 * frame.h (frame_state): Revert last change.
6079 * frame.c (execute_cfa_insn): Just don't record the save of a CFA reg.
6080 * libgcc2.c (throw_helper): Revert last change.
6082 2000-03-22 Richard Henderson <rth@cygnus.com>
6084 * stmt.c (expand_asm_operands): Don't promote the temporary.
6086 2000-03-22 Theodore Papadopoulo <Theodore.Papadopoulo@sophia.inria.fr>
6088 * builtin.c (get_pointer_alignment): Use DECL_P and TYPE_P macros.
6089 * c-common.c (decl_attributes,check_format_info,truthvalue_conversion,
6090 c_get_alias_set): Likewise.
6091 * c-decl.c (duplicate_decls): Likewise.
6092 * c-typeck.c (default_conversion,build_unary_op): Likewise.
6093 * calls.c (initialize_argument_information): Likewise.
6094 * dwarf2out.c (decl_class_context,add_abstract_origin_attribute):
6096 * dwarfout.c (decl_class_context,output_type): Likewise.
6097 * expr.c (get_inner_reference): Likewise.
6098 * fold-const.c (simple_operand_p,fold): Likewise.
6099 * function.c (aggregate_value_p): Likewise.
6100 * stmt.c (expand_asm_operands): Likewise.
6101 * varasm.c (named_section): Likewise.
6103 2000-03-22 Jason Merrill <jason@casey.cygnus.com>
6105 Implement dwarf2 exception handling for the ARM.
6106 * config/arm/arm.h (INCOMING_RETURN_ADDR_RTX): Define.
6107 (DWARF_FRAME_RETURN_COLUMN): Define.
6108 * config/arm/arm.c (emit_multi_reg_push): Return rtx. Attach
6109 REG_FRAME_RELATED_EXPR note.
6110 (emit_sfm): Likewise.
6111 (arm_expand_prologue): Set RTX_FRAME_RELATED_P on everything.
6112 * dwarf2out.c (reg_save): Handle saving a register to itself.
6113 (dwarf2out_frame_debug_expr): Handle an intermediate cfa reg.
6114 * except.c (eh_regs): Don't use the static chain reg if it's
6116 * frame.h (frame_state): Add cfa_saved field.
6117 * frame.c (execute_cfa_insn): Set it.
6118 * libgcc2.c (throw_helper): Don't adjust sp if it's restored in
6120 * function.c (ARG_POINTER_CFA_OFFSET): Default to FIRST_PARM_OFFSET.
6122 (instantiate_virtual_regs): Adjust.
6124 * config/m68k/m68k.h (ARG_POINTER_CFA_OFFSET): Don't define.
6125 * config/ns32k/ns32k.h (ARG_POINTER_CFA_OFFSET): Don't define.
6126 * config/sparc/sparc.h (ARG_POINTER_CFA_OFFSET): Take a parm.
6128 * dwarf2out.c (reg_number): Refer to FIRST_PSEUDO_REGISTER.
6129 (initial_return_save): Use DWARF_FRAME_REGNUM, not reg_number.
6131 2000-03-22 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
6133 * builtins.def: New file.
6135 * Makefile.in (TREE_H): Depend on builtins.def.
6137 * builtins.c (built_in_names): Use builtins.def.
6139 * tree.h (built_in_function): Likewise.
6141 2000-03-22 Mark Mitchell <mark@codesourcery.com>
6143 * tree.c (size_in_bytes): Return size_zero_node, not
6146 2000-03-22 Geoff Keating <geoffk@cygnus.com>
6148 * config/fp-bit.c (pack_d): Correct the case when a denormal
6149 is rounded up and stops being denormal.
6151 2000-03-21 Richard Henderson <rth@cygnus.com>
6153 * config/alpha/alpha.c (function_arg): Check for void_type_node
6154 before using MUST_PASS_IN_STACK.
6156 2000-03-21 Stephane Carrez <stcarrez@worldnet.fr>
6158 * regmove.c (combine_stack_adjustments_for_block): Check that
6159 the stack pointer is a valid memory address.
6161 Wed Mar 22 11:44:50 MET 2000 Jan Hubicka <jh@suse.cz>
6163 * calls.c: re-install Mar 16 emit_library_call merge.
6165 2000-03-21 Jakub Jelinek <jakub@redhat.com>
6167 * config/sparc/sparc.c (mem_min_alignment): If not optimizing,
6168 we cannot be sure that if reload_completed base register will
6169 be properly aligned.
6171 2000-03-21 Richard Henderson <rth@cygnus.com>
6173 * flow.c (delete_block): Fix typo last change.
6175 2000-03-21 Mark Mitchell <mark@codesourcery.com>
6177 * c-common.c (c_expand_expr_stmt): Use COMPLETE_TYPE_OR_VOID_P,
6178 not COMPLETE_TYPE_P, to check the type of the expression.
6180 2000-03-21 Michael Meissner <meissner@redhat.com>
6182 * config/alpha/alpha.md (floating point insns): Add TARGET_FP to
6183 all floating point insns that just tested the macro
6184 TARGET_HAS_XFLOATING_LIBS.
6185 (movsf/movdf recognizers): Add separate insns if -mno-fp-regs is
6186 used to only use the gprs.
6188 2000-03-21 Nathan Sidwell <nathan@codesourcery.com>
6190 * tree.h (COMPLETE_TYPE_P): New macro.
6191 (COMPLETE_OR_VOID_TYPE_P): New macro.
6192 (COMPLETE_OR_UNBOUND_ARRAY_TYPE_P): New macro.
6193 * stor-layout.c (layout_type, case VOID_TYPE): Don't set TYPE_SIZE.
6194 * c-aux-info.c (gen_type): Use them.
6195 * c-common.c (c_expand_expr_stmt): Likewise.
6196 * c-decl.c (poplevel, pushdecl, start_decl, finish_decl,
6197 grokdeclarator, grokparms, finish_struct, start_function,
6198 store_parm_decls, combine_parm_decls): Likewise.
6199 * c-parse.y (cast_expr): Likewise.
6200 * c-typeck.c (require_complete_type, c_sizeof, c_sizeof_nowarn,
6201 c_size_in_bytes, c_alignof, build_component_ref,
6202 build_indirect_ref, build_array_ref, convert_arguments,
6203 build_binary_op, pointer_diff, build_unary_op, digest_init: Likewise.
6204 * calls.c (initialize_argument_information): Likewise.
6205 * convert.c (convert_to_integer): Likewise.
6206 * dbxout.c (dbxout_typedefs, dbxout_type, dbxout_symbol): Likewise.
6207 * dwarfout.c (location_or_const_value_attribute,
6208 output_enumeration_type_die, output_structure_type_die,
6209 output_union_type_die, output_type): Likewise.
6210 * expr.c (safe_from_p, expand_expr): Likewise.
6211 * function.c (assign_parms): Likewise.
6212 * sdbout.c (sdbout_symbol, sdbout_one_type): Likewise.
6213 * tree.c (build_array_type, build_function_type,
6214 build_method_type, build_offset_type, build_complex_type): Likewise.
6215 * c-parse.c, c-parse.h: Regenerated.
6217 2000-03-21 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
6219 * config/c4x/rtems.h: Include config/rtems.h.
6221 Tue Mar 21 09:24:00 2000 Denis Chertykov <denisc@overta.ru>
6223 * config/avr/avr.c (encode_section_info): sets SYMBOL_REF_FLAG if
6224 decl is a FUNCTION_DECL
6226 Mon Mar 20 19:53:53 2000 Jim Wilson <wilson@cygnus.com>
6228 * config/ia64/ia64.c (ia64_expand_prologue): Don't abort if leaf
6229 function uses output registers. Don't save RP for leaf functions.
6230 Do save RP even if no epilogue.
6231 * config/ia64/ia64.h (FIXED_REGISTERS): Unmark in/out registers.
6232 (CALL_USED_REGISTERS): Unmark in registers.
6233 (REG_ALLOC_ORDER): Move out regs up, to near the top. Move in regs up,
6236 2000-03-20 Geoff Keating <geoffk@cygnus.com>
6238 * config/rs6000/rs6000.md (bunordered): New expander.
6239 (bordered): New expander.
6240 (buneq): New expander.
6241 (bunge): New expander.
6242 (bungt): New expander.
6243 (bunle): New expander.
6244 (bunlt): New expander.
6245 (bltgt): New expander.
6247 * config/rs6000/rs6000.c (ccr_bit): Handle unordered comparisons.
6248 (ccr_bit_negated_p): New function.
6249 (print_operand): For %C, generate appropriate cror for UNEQ,
6250 UNLT, UNGT, and LTGT. For %T and %t, use ccr_bit_negated_p.
6252 2000-03-20 Andreas Jaeger <aj@suse.de>
6254 * sdbout.c (sdbout_one_type): Add braces to avoid "ambigous else"
6257 * tree.h (safe_for_unsave): Prototype.
6259 2000-03-20 Richard Henderson <rth@cygnus.com>
6261 * regmove.c (stack_memref_p): Fix typo, reorg for readability.
6262 (combine_stack_adjustments_for_block): Don't allow sp references
6263 in the side of a set we're not fixing up.
6264 * toplev.c (rest_of_compilation): Run combine_stack_adjustments
6265 after life_analysis.
6267 2000-03-20 Richard Henderson <rth@cygnus.com>
6269 * calls.c (expand_call): Don't bother generating tail call
6270 sequences if there are pending cleanups. Use
6271 expand_start_target_temps/expand_end_target_temps to elide
6272 cleanups created during sibcall expansion.
6274 2000-03-20 Geoff Keating <geoffk@cygnus.com>
6276 * configure.in: Set $IFS to a value if it doesn't already have one
6277 in the --enable-checking handling.
6278 * configure: Regenerate.
6280 2000-03-20 Martin v. Löwis <loewis@informatik.hu-berlin.de>
6282 * c-parse.in (SAVE_WARN_FLAGS): Use size_int.
6283 * c-parse.y, c-parse.c, objc/objc-parse.y, objc/objc-parse.c:
6286 Mon Mar 20 11:43:15 MET 2000 Jan Hubicka <jh@suse.cz>
6288 * jump.c (delete_noop_moves): Remove code attempting to
6289 combine stack adjustments.
6291 2000-03-19 Martin v. Löwis <loewis@informatik.hu-berlin.de>
6293 * emit-rtl.c (push_to_full_sequence, end_full_sequence): New functions.
6294 * except.c (emit_cleanup_handler): Use them.
6295 (expand_end_all_catch): Likewise.
6296 * function.c (fixup_var_refs): Likewise.
6297 (expand_function_end): Clear catch_clauses_last.
6298 * rtl.h (push_to_full_sequence, end_full_sequence): Declare.
6299 * except.h (struct eh_status): New field x_catch_clauses_last.
6300 (catch_clauses_last): New define.
6302 * Makefile.in (tree.o): Depend on HASHTAB_H.
6303 * tree.c: Include hashtab.h.
6304 (struct type_hash): Remove next field.
6305 (TYPE_HASH_SIZE): Remove.
6306 (TYPE_HASH_INITIAL_SIZE): New define.
6307 (type_hash_table): Change type to htab_t.
6308 (type_hash_eq, type_hash_hash, print_type_hash_statistics,
6309 mark_hash_entry): New functions.
6310 (init_obstacks): Allocate type hash.
6311 (type_hash_lookup): Use htab functions.
6312 (type_hash_add, mark_type_hash): Likewise.
6313 (dump_tree_statistics): Call print_type_hash_statistics.
6315 2000-03-19 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
6317 * rs6000/t-aix41: New file.
6319 * configure.in ({rs6000,powerpc}-ibm-aix4.[12]*): Use it.
6321 Sun Mar 19 13:27:30 2000 Hans-Peter Nilsson <hp@axis.com>
6323 * tm.texi (Driver): Fix typos and tweak entry for
6325 Move misplaced STRUCT_FORCE_BLK entry ...
6326 (Storage Layout): ... to here.
6327 (Run-time Target): Recommend having TARGET_MASK_... helper macros.
6329 2000-03-19 Richard Henderson <rth@cygnus.com>
6331 * flow.c (delete_block): Delete the addr_vec along with the block.
6332 (flow_delete_insn): Decrement LABEL_NUSES when deleting insns that
6335 * fold-const.c (extract_muldiv): Apply type check for defined
6336 overflow to multiply as well as divide.
6338 * stor-layout.c (layout_decl): Don't abort on any zero sized decl.
6340 2000-03-18 Mark Mitchell <mark@codesourcery.com>
6342 * emit-rtl.c (remove_unncessary_notes): Check that all
6343 NOTE_INSN_BLOCK_BEG and NOTE_INSN_BLOCK_END notes have an
6344 associated NOTE_BLOCK.
6345 * function.h (identify_blocks): Update comments.
6346 (reorder_blocks): Declare.
6347 * function.c (identify_blocks): Don't take paramters.
6348 (reorder_blocks): Don't take parameters.
6349 * loop.h (find_loop_tree_blocks): Remove.
6350 (unroll_block_trees): Likewise.
6351 * loop.c (loop_optimize): Don't call find_loop_tree_blocks. Use
6352 reorder_blocks instead of unroll_block_trees.h
6353 * sibcall.c (optimize_sibling_and_tail_recursive_calls): Likewise.
6354 * stmt.c (find_loop_tree_blocks): Remove.
6355 (unroll_block_trees): Likewise.
6356 * toplev.c (rest_of_compilation): Don't call find_loop_tree_blocks
6357 in whole-function mode.
6358 * tree.h (reorder_blocks): Remove declaration.
6360 * expr.c: Include intl.h.
6361 * Makefile.in (expr.o): Depend on intl.h.
6363 2000-03-18 Richard Henderson <rth@cygnus.com>
6365 * expr.c (emit_move_insn_1): Clarify cannot_inline message.
6367 2000-03-18 Mark Mitchell <mark@codesourcery.com>
6369 * tree.h (tree_index): Remove enumerals for integer types.
6370 (integer_type_kind): New type.
6371 (integer_types): New variable.
6372 (char_type_node): Adjust.
6373 (signed_char_type_node): Likewise.
6374 (unsigned_char_type_node): Likewise.
6375 (short_integer_type_node): Likewise.
6376 (short_unsigned_type_node): Likewise.
6377 (integer_type_node): Likewise.
6378 (unsigned_type_node): Likewise.
6379 (long_integer_type_node): Likewise.
6380 (long_unsigned_type_node): Likewise.
6381 (long_long_integer_type_node): Likewise.
6382 (long_long_unsigned_type_node): Likewise.
6383 * tree.c (integer_types): New variable.
6384 (init_obstacks): Register it as a root.
6386 Sat Mar 18 14:38:00 2000 Jason Eckhardt <jle@cygnus.com>
6388 * bb-reorder.c (reorder_basic_blocks): Update PREV_INSN as well as
6389 NEXT_INSN. Update last insn in chain.
6391 2000-03-17 Jason Merrill <jason@casey.cygnus.com>
6393 * dwarf2out.c (dwarf2out_decl): Don't emit anything for types
6394 with TYPE_DECL_SUPPRESS_DEBUG set.
6396 2000-03-18 Richard Henderson <rth@cygnus.com>
6398 * flow.c (make_edges): Use INTVAL to access REG_EH_REGION value.
6400 2000-03-18 Richard Henderson <rth@cygnus.com>
6402 * i386.c (call_insn_operand): Always allow SYMBOL_REF,
6403 care for HALF_PIC_P.
6404 (expander_call_insn_operand): Remove.
6405 (ix86_expand_epilogue): New arg `emit_return' to control return insn.
6406 * i386.h (PREDICATE_CODES): Update.
6407 * i386.md (all call expanders): Remove predicates, remove special
6408 handling for half-pic.
6409 (*call_1, *call_value_1): Handle SIBLING_CALL_P insns.
6410 (*call_pop_pic2, *call_pic2, *call_value_pop_2, *call_value_2): Remove.
6411 (sibcall_epilogue): New.
6413 2000-03-17 Richard Henderson <rth@cygnus.com>
6415 * rtlanal.c (single_set): Reject if the parallel has anything
6416 except SET or USE or CLOBBER.
6418 2000-03-17 Jeff Law <law@cygnus.com>
6419 Richard Henderson <rth@cygnus.com>
6421 * Makefile.in (OBJS): Add sibcall.o.
6423 * sibcall.c: New file.
6424 * calls.c (FUNCTION_OK_FOR_SIBCALL): Provide default.
6425 (ECF_IS_CONST, ECF_NOTHROW, ECF_SIBCALL): New.
6426 (emit_call_1): Replace `is_const' and `nothrow' with `ecf_flags'.
6427 Emit sibcall patterns when requested. Update all callers.
6428 (expand_call): Generate CALL_PLACEHOLDER insns when tail call
6429 elimination seems feasable.
6430 * final.c (leaf_function_p): Sibling calls don't discount being
6432 * flow.c (HAVE_sibcall_epilogue): Provide default.
6433 (find_basic_blocks_1): Sibling calls don't throw.
6434 (make_edges): Make edge from sibling call to EXIT.
6435 (propagate_block): Don't remove sibcall_epilogue insns.
6436 * function.c (prologue, epilogue): Turn into varrays. Update all uses.
6437 (sibcall_epilogue): New.
6438 (fixup_var_refs): Scan CALL_PLACEHOLDER sub-sequences.
6439 (identify_blocks_1): Likewise. Break out from ...
6440 (identify_blocks): ... here.
6441 (reorder_blocks_1): Scan CALL_PLACEHOLDER. Break out from ...
6442 (reorder_blocks): ... here.
6443 (init_function_for_compilation): Zap prologue/epilogue as varrays.
6444 (record_insns): Extend a varray instead of mallocing new memory.
6445 (contains): Read a varray not array of ints.
6446 (sibcall_epilogue_contains): New.
6447 (thread_prologue_and_epilogue_insns): Emit and record
6448 sibcall_epilogue patterns.
6449 (init_function_once): Allocate prologue/epilogue varrays.
6450 * genflags.c (gen_insn): Treat sibcall patterns as calls.
6451 * integrate.c (save_parm_insns): Recurse on CALL_PLACEHOLDER patterns.
6453 (save_for_inline_nocopy): ... here.
6454 (copy_insn_list): Recurse on CALL_PLACEHOLDER patterns.
6456 (expand_inline_function): ... here.
6457 (copy_rtx_and_substitute): Handle NOTE_INSN_DELETED_LABEL.
6458 (subst_constants): Handle 'n' formats.
6459 * jump.c (jump_optimize_minimal): New.
6460 (jump_optimize_1): New arg `minimal'; update callers. Elide most
6461 optimizations if it's set.
6462 * rtl.c (copy_rtx): Do copy jump & call for insns.
6463 * rtl.h (struct rtx_def): Document use of jump and call for insns.
6464 (SIBLING_CALL_P): New.
6465 (sibcall_use_t): New.
6466 * toplev.c (rest_of_compilation): Do init_EXPR_INSN_LIST_cache earlier.
6467 Invoke optimize_sibling_and_tail_recursive_calls.
6468 * tree.c (lang_safe_for_unsave): New.
6469 (safe_for_unsave): New.
6470 * tree.h (lang_safe_for_unsave, safe_for_unsave): Declare.
6472 * alpha.h (FUNCTION_OK_FOR_SIBCALL): New.
6473 * alpha.md (sibcall, sibcall_value, sibcall_epilogue): New.
6474 (*sibcall_osf_1, *sibcall_value_osf_1): New.
6476 2000-03-17 Mark Mitchell <mark@codesourcery.com>
6478 * objc/objc-act.c (encode_method_prototype): Pass types, not
6479 PARM_DECLs, to int_size_in_bytes.
6481 Fri Mar 17 11:51:34 2000 Jim Wilson <wilson@cygnus.com>
6483 * config/ia64/ia64.md (mix4right_3op): Swap %1 and %2 in template.
6485 * config/ia64/ia64-protos.h, config/ia64/ia64.c, config/ia64/ia64.h,
6486 config/ia64/ia64.md, config/ia64/xm-ia64.h: Fix copyrights again.
6488 Fri Mar 17 08:09:14 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
6490 * Clean up usages of TREE_INT_CST_LOW.
6491 * c-parse.in (RESTORE_WARN_FLAGS): Use tree_low_cst.
6492 * c-parse.y, c-parse.c, objc/objc-parse.y, objc/objc-parse.c:
6494 * c-tree.h (min_precision): Move declaration to here.
6495 * c-typeck.c (build_binary_op): Use host_integerp and tree_low_cst.
6496 (build_unary_op, add_pending_init): Use bit_position.
6497 (pending_init_member, process_init_element): Likewise.
6498 (really_start_incremental_init, push_init_level, pop_init_level):
6499 Don't make copies of nodes or modify them in place, use consistent
6500 types when tracking positions, and use tree routines computations.
6501 (set_init_index, output_init_element): Likewise.
6502 (output_pending_init_elements, process_init_element): Likewise.
6503 * dbxout.c (dbxout_type_fields): Use bit_position, host_integerp,
6504 tree_low_cst and int_bit_position; also minor cleanup.
6505 (dbxout_type_method_1, dbxout_range_type, dbxout_type): Likewise.
6506 (print_cst_octal): Precision is unsigned.
6507 (dbxout_symbol): Ensure DECL_INITIAL is in-range and use tree_low_cst.
6508 * dwarf2out.c (ceiling): Input and output are unsigned HOST_WIDE_INT.
6509 (simple_type_align_in_bits): Result is unsigned int.
6510 Use tree_int_low_cst and host_integerp.
6511 (simple_type_size_in_bits): Result is unsigned HOST_WIDE_INT.
6512 (field_byte_offset): Result is HOST_WIDE_INT.
6513 Change types of internal variables so alignments are unsigned int,
6514 offsets are HOST_WIDE_INT and sizes are unsigned HOST_WIDE_INT.
6515 Use host_integerp, tree_low_cst, and int_bit_position.
6516 (add_bit_offset_attribute): Likewise.
6517 (add_data_member_location_attribute): Use tree_cst_low.
6518 (add_bound_info): Use host_integerp, integer_zerop, and integer_onep.
6519 (add_bit_size_attribute): Use tree_low_cst.
6520 (add_pure_or_virtual_attribute, gen_enumeration_type_die): Likewise.
6521 * dwarfout.c: Similar changes to dwarf2out.c.
6522 * expr.c (expand_expr, case ARRAY_REF): Remove redundant code.
6523 * genoutput.c (n_occurences): Return -1 for null string.
6524 (strip_whitespace): Accept null string and make into function.
6525 (scan_operands): Reflect above changes.
6526 * sdbout.c (plain_type_1): Use host_integerp and tree_low_cst.
6527 (sdbout_field_types, sdbout_one_type): Likewise; also use bit_position.
6528 * ssa.c (rename_registers): Add missing cast of arg to bzero.
6529 * tree.c (int_size_in_bytes): Check for too big to represent.
6530 (bit_position, int_bit_position, host_integerp, tree_low_cst): New fns.
6531 * tree.h (host_integerp, tree_low_cst, bit_position, int_bit_position):
6533 (min_precision): Delete from here.
6534 * varasm.c (decode_addr_const): Use host_integerp, bit_position,
6535 and int_bit_position.
6536 * objc/objc-act.c (encode_method_prototype): Sizes are HOST_WIDE_INT.
6537 (encode_method_def): Likewise.
6538 (build_ivar_list_initializer): Use int_bit_position.
6539 (generate_shared_structures): Convert size.
6540 (encode_type, encode_complete_bitfield): Use integer_zerop.
6541 (encode_bitfield): Use tree_low_cst and int_bit_position.
6543 2000-03-17 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
6545 * config/c4x/c4x.h (CPP_SPEC): Fix typo.
6547 2000-03-17 Martin v. Löwis <loewis@informatik.hu-berlin.de>
6549 * call.c (special_function_p): It is only malloc if it returns
6552 2000-03-17 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
6554 * config/c4x/c4x.h (ASM_SPEC, CPP_SPEC, LINK_SPEC): Support C33.
6555 (C33_FLAG, TARGET_C3X): Add macros.
6556 (TARGET_SWITCHES): Add -m33 option.
6557 * config/c4x/c4x.c (c4x_override_options): Test for TARGET_C33.
6559 2000-03-17 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
6561 * config/c4x/c4x.h (PARALLEL_INSN_FLAG): Add.
6562 (PARALLEL_PACK_FLAG): Delete.
6563 (TARGET_SWITCHES): Update.
6564 (TARGET_PARALLEL): Use PARALLEL_INSN_FLAG.
6566 Thu Mar 16 18:52:32 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
6568 * fold-const.c (fold): Fix a few cases when the returned result
6569 is not of the same type as the input.
6571 2000-03-16 Nick Clifton <nickc@cygnus.com>
6573 * config/arm/arm.h (ASM_OUTPUT_MI_THUNK): Fix compile time
6576 2000-03-16 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
6578 * libgcc2.h: Move prototypes above macros with the same name.
6579 Wrap some function prototypes in the conditional which indicates
6580 whether they are supported, i.e. "BITS_PER_UNIT == 8".
6582 2000-03-16 Richard Henderson <rth@cygnus.com>
6584 * calls.c: Revert last two changes.
6586 2000-03-16 Bernd Schmidt <bernds@cygnus.co.uk>
6588 * fp-bit.c (_unpack_d): If NO_DENORMALS is defined, anything that
6589 has exponent 0 is a zero.
6591 * simplify-rtx.c (hash_rtx, case MEM/REG): Take into account that
6592 HASH may already be nonzero. Add code/mode into hash value
6593 immediately after repeat label.
6594 (cselib_lookup): Don't leave the hash table in an inconsistent
6595 state before a hash lookup operation.
6597 Thu Mar 16 17:03:10 MET 2000 Jan Hubicka <jh@suse.cz>
6599 * i386.md (all HI and QI mode non-move patterns): Conditionize
6600 by TARGET_[HQ]IMODE_MATH.
6601 * i386.h (x86_himode_math, x86_qimode_math, x86_promote_hi_regs,
6602 x86_promote_qi_regs): Declare.
6603 (TARGET_HIMODE_MATH, TARGET_QIMODE_MATH, TARGET_PROMOTE_HI_REGS,
6604 TARGET_PROMOTE_QI_REGS): New macros.
6605 (PROMOTE_MODE): New macro.
6606 * i386.c (x86_himode_math, x86_qimode_math, x86_promote_hi_regs,
6607 x86_promote_qi_regs): New global variables.
6609 Thu Mar 16 16:50:44 MET 2000 Jan Hubicka <jh@suse.cz>
6611 * calls.c (emit_library_call_value_1): Break out from ...; handle
6612 VOIDmode function calls too.
6613 (emit_library_call_value): ... here.
6614 (emit_library_call): Implement by calling emit_library_call_value_1.
6616 Thu Mar 16 16:01:30 MET 2000 Jan Hubicka <jh@suse.cz>
6618 * calls.c (expand_call): Do sanity checking on arg_space_so_far.
6619 Update arg_space_so_far on stack adjustments.
6620 (emit_library_call, emit_library_call_value): Likewise; take into
6621 account arg_space_so_far and pending_stack_adjust when calculcating
6624 Thu Mar 16 09:02:19 2000 Jason Eckhardt <jle@cygnus.com>
6626 * flow.c: Move all basic block reordering code into its own file.
6627 (create_basic_block): Externalize.
6628 * bb-reorder.c: New file. Copy all basic block reordering code from
6629 flow.c to this file.
6630 (reorder_basic_blocks): Fix fencepost error in for-loop.
6631 (reorder_basic_blocks): Remove braces from single statement for-loops.
6632 * basic-block.h: Add declaration for create_basic_block.
6633 * Makefile.in: Add rules for bb-reorder.o.
6635 2000-03-16 Neil Booth <NeilB@earthling.net>
6637 * cppinit.c (handle_option): Implement #unassert directive
6638 as -A- command line option.
6639 (print_help): Update.
6640 * cpptexi.c: Update.
6642 Thu Mar 16 02:14:16 2000 Hans-Peter Nilsson <hp@bitrange.com>
6644 * md.texi (Standard Names): Document `jump'.
6646 2000-03-15 Jason Merrill <jason@casey.cygnus.com>
6648 * calls.c (emit_call_1): Nothrow functions can still have nonlocal
6651 2000-03-15 Geoff Keating <geoffk@cygnus.com>
6653 Merge changes from newppc-branch onto trunk.
6655 2000-03-15 Geoff Keating <geoffk@cygnus.com>
6657 * rs6000.c (toc_hash_table): Update for new hash table functions.
6658 (toc_hash_function): Likewise.
6659 (toc_hash_eq): Likewise.
6660 (toc_hash_mark_entry): Likewise.
6661 (toc_hash_mark_table): Likewise.
6662 (output_toc): Likewise.
6663 (rs6000_add_gc_roots): Likewise.
6665 2000-03-15 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
6667 * t-aix43 (AR_FOR_TARGET): Deleted. Moved `-X32_64'...
6668 (AR_FLAGS_FOR_TARGET): here. New macro.
6670 2000-03-05 Clinton Popetz <cpopetz@cygnus.com>
6672 * config/rs6000/rs6000.c (rs6000_fpmem_offset, rs6000_fpmem_size,
6673 fpmem_operand) Delete.
6675 (rs6000_reg_names, alt_reg_names): Change fpmem to xer.
6676 (machine_function): Remove fpmem_size, fpmem_offset, save_toc_p.
6677 (rs6000_save_machine_status, rs6000_restore_machine_status,
6678 rs6000_init_expanders, rs6000_stack_info, debug_stack_info): Remove
6679 references to above variables.
6680 (gpc_reg_operand): Use XER_REGNO_P instead of FPMEM_REGNO_P.
6681 * config/rs6000/rs6000.h (REG_ALLOC_ORDER, REGISTER_NAMES,
6682 DEBUG_REGISTER_NAMES): Chagne fpmem to xer.
6683 (FPMEM_REGNO_P, FPMEM_REGNUM): Delete.
6684 (XER_REGNO_P, XER_REGNO): New.
6685 (rs6000_stack): Remove fpmem_p, fpmem_offset, fpmem_size.
6686 (PREDICATE_CODES): Change fpmem_operand to xer_operand.
6687 (HARD_REGNO_NREGS, HARD_REGNO_MODE_OK): Change FPMEM_REGNO_P to
6689 (reg_class, REG_CLASS_NAMES, REG_CLASS_CONTENTS, REGNO_REG_CLASS,
6690 REG_CLASS_FROM_LETTER, CLASS_MAX_NREGS): Change FPMEM_REGS to XER_REGS, and remove FLOAT_OR_FPMEM_REGS.
6691 (CLASS_CANNOT_CHANGE_SIZE): Change to FLOAT_REGS.
6693 2000-02-29 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
6695 * aix.h (FP_SAVE_INLINE, ASM_OUTPUT_INTERNAL_LABEL_PREFIX,
6696 TEXT_SECTION_ASM_OP, DATA_SECTION_ASM_OP): Move here...
6697 * rs6000.h: from here.
6699 * rs6000-protos.h (rs6000_select_section): Provide prototype.
6700 (rs6000_select_rtx_section): Likewise.
6701 (rs6000_encode_section_info): Likewise.
6702 (sdata_section): Likewise.
6703 (sdata2_section): Likewise.
6704 (sbss_section): Likewise.
6705 * sysv4.h (rs6000_select_section): Delete prototype.
6706 (rs6000_select_rtx_section): Likewise.
6707 (rs6000_encode_section_info): Likewise.
6708 (sdata_section): Likewise.
6709 (sdata2_section): Likewise.
6710 (sbss_section): Likewise.
6711 (REG_SAVE_AREA): Delete definition duplicated in rs6000.h.
6713 * sysv4.h: Delete various unnecessary #undef's and put a comment
6714 on the remaining ones.
6715 Change various comments according to coding standard.
6717 2000-02-29 Clinton Popetz <cpopetz@cygnus.com>
6719 * config/rs6000/rs6000.h (MQ_REGNO, CR0_REGNO, CR1_REGNO, CR2_REGNO,
6720 CR3_REGNO, CR4_REGNO, MAX_CR_REGNO): Define.
6721 (CR0_REGNO_P) Remove.
6722 * config/rs6000/rs6000.c (gpc_reg_operand, and64_operand, and_operand,
6723 setup_incoming_varargs, mtcrf_operation, print_operand,
6724 rs6000_stack_info, rs6000_emit_prologue, rs6000_emit_epilogue):
6725 Use the above macros.
6727 2000-02-24 Clinton Popetz <cpopetz@cygnus.com>
6729 * config/rs6000/rs6000.md: Added a new alternative for each
6730 pattern that had a 'x' alternative but no 'y' alternative.
6731 Added a new split for each of the above patterns.
6733 2000-02-18 Geoff Keating <geoffk@cygnus.com>
6735 * aix41.h (ASM_CPU_SPEC): Delete.
6736 (CPP_CPU_SPEC): Delete.
6738 * aix.h (RS6000_OUTPUT_BASENAME): Define.
6739 (ASM_OUTPUT_LABEL): Define.
6740 (ASM_GLOBALIZE_LABEL): Define.
6741 (STRIP_NAME_ENCODING): Define.
6742 * rs6000.h (RS6000_OUTPUT_BASENAME): Don't define.
6743 (STRIP_NAME_ENCODING): Don't define.
6744 (ASM_OUTPUT_LABEL): Don't define.
6745 (ASM_GLOBALIZE_LABEL): Don't define.
6746 * sysv4.h (ASM_DECLARE_FUNCTION_NAME): Use assemble_name to output
6747 names, and ASM_OUTPUT_LABEL to output labels, rather than
6749 (ASM_OUTPUT_LABEL): Define.
6750 (ASM_OUTPUT_INT): Use assemble_name.
6751 (ASM_OUTPUT_DWARF_ADDR): Use assemble_name.
6752 (STRIP_NAME_ENCODING): Don't undefine first.
6753 (RS6000_OUTPUT_BASENAME): Make equivalent to assemble_name for
6755 (ASM_OUTPUT_LABELREF): Don't prepend underscores to labels
6756 specified with 'asm' even with -fleading-underscore.
6757 * rs6000.c (print_operand): Use assemble_name when !TARGET_AIX.
6758 (output_epilog): Likewise.
6759 (output_toc): Likewise.
6760 * tramp.asm: Handle -fleading-underscore correctly.
6762 * rs6000.md (builtin_setjmp_receiver): Also run for -fPIC and
6764 (nonlocal_goto_receiver): Delete.
6765 * rs6000.h (DONT_ACCESS_GBLS_AFTER_EPILOGUE): Delete.
6767 * rs6000.h (ASM_OUTPUT_DEF): Don't define.
6768 (SET_ASM_OP): Define.
6769 * sysv4.h (ASM_OUTPUT_DEF): Don't undefine.
6771 * rs6000.h (ASM_OUTPUT_ADDR_VEC_ELT): Don't define.
6774 * rs6000.c (rs6000_dll_import_ref): Delete, not used.
6775 * rs6000-protos.h (rs6000_dll_import_ref): Delete.
6777 * rs6000.h: Add 'u' to more constants.
6779 2000-02-18 David Edelsohn <edelsohn@gnu.org>
6781 * rs6000.md (mfcr+shift): Delete PowerPC64 version.
6783 2000-02-15 David Edelsohn <edelsohn@gnu.org>
6785 * rs6000.c (reg_or_u_cint_operand): New function.
6786 (logical_operand): Handle 64-bit hosts.
6787 (logical_u_operand): New function.
6788 (non_logical_cint_operand): Handle 64-bit hosts.
6789 (non_logical_u_cint_operand): New function.
6790 * rs6000.h (DATA_SECTION_ASM_OP): Add tab.
6791 (PREDICATE_CODES): Define new functions.
6792 * rs6000-protos.h: Declare new functions.
6793 * rs6000.md (iordi3, xordi3): Constant int must be unsigned 32-bits.
6794 (movdi_64): Bracket code intended for 64-bit hosts. Create
6795 CONST_DOUBLE for 32-bit values.
6796 (scc insns): Generate DImode compares.
6797 (mfcr insns): Create DImode versions.
6798 (sge matchers): New patterns.
6800 2000-02-15 Gabriel Paubert <paubert@iram.es>
6802 * rs6000.md: Correct instructions length attributes and
6803 constraints on unsigned compare instructions.
6804 (*ne0): Disable for PowerPC64.
6806 2000-02-11 Geoff Keating <geoffk@cygnus.com>
6808 * rs6000.c (output_function_profiler): Use .long for a 32-bit
6809 quantity, fix profile1.C test failure under -fPIC.
6811 * rs6000.c: Add 'u' to many constants to suppress warnings.
6812 (constant_pool_expr_1): Make static.
6813 (rs6000_emit_eh_toc_restore): Remove unused 'r2'.
6814 * rs6000.h: Add 'u' to many constants to suppress warnings.
6816 * rs6000.c (rs6000_emit_load_toc_table): Use LCTOC..1 under AIX
6817 for the start of the TOC, instead of LCTOC..0.
6818 * aix.h (toc_section): Use LCTOC..1 under AIX for the start
6820 * rs6000.md (load_toc_aix_si): Use LCTOC..1.
6821 (load_toc_aix_di): Use LCTOC..1.
6823 * rs6000.h (LEGITIMIZE_ADDRESS): Turn into a function.
6824 * rs6000.c (rs6000_legitimize_address): New function from
6825 LEGITIMIZE_ADDRESS. Only use create_TOC_reference on
6826 symbols in the constant pool that really are TOC references.
6827 (print_operand_address): For ELF, write TOC offsets under
6828 -fPIC as subtractions in the insn.
6829 (output_toc): For ELF, define symbols in TOC as normal labels,
6831 (create_TOC_reference): Use gen_rtx_PLUS rather than gen_rtx.
6832 * rs6000-protos.h (rs6000_legitimize_address): Prototype.
6833 (create_TOC_reference): Prototype only when RTX_CODE is defined.
6834 * rs6000.md (movsi): Only use create_TOC_reference on
6835 symbols in the constant pool that really are TOC references.
6837 * rs6000.h (MACHINE_DEPENDENT_REORG): Don't define.
6838 * rs6000.c (rs6000_reorg): Delete.
6839 * rs6000-protos.h (rs6000_reorg): Delete.
6841 2000-02-09 Geoff Keating <geoffk@cygnus.com>
6843 * rs6000.h (INCOMING_RETURN_ADDR_RTX): New macro.
6845 * aix.h (SETUP_FRAME_ADDRESSES): Define.
6846 * rs6000.c [TARGET_AIX] (insn_after_throw): New static variable.
6847 [TARGET_AIX] (rs6000_aix_emit_builtin_unwind_init): New function.
6848 [TARGET_AIX] (rs6000_emit_eh_toc_restore): New function.
6849 * rs6000-protos.h: Prototype rs6000_emit_eh_toc_restore,
6850 rs6000_aix_emit_builtin_unwind_init.
6851 * rs6000.md (eh_epilogue) [TARGET_AIX]: Call
6852 rs6000_emit_eh_toc_restore on AIX.
6853 (return_eh_si): Use r2.
6854 (return_eh_di): Use r2.
6856 * aix43.h: Turn on HAS_INIT_SECTION and LD_INIT_SWITCH,
6857 since we're breaking binary compatibility anyway.
6859 2000-02-09 Clinton Popetz <cpopetz@cygnus.com>
6861 * config/rs6000/rs6000-protos.h: (get_TOC_alias_set, uses_TOC,
6862 constant_pool_expr_p): Declare them.
6863 (constant_pool_expr_p): Declare it.
6864 * config/rs6000/rs6000.c (toc_label_name): Define.
6865 (rs6000_override_options): Set toc_label_name.
6866 (input_operand): Allow any TOC_RELATIVE_EXPR_P.
6867 (get_TOC_alias_set, constant_pool_expr_p, constant_pool_expr_1,
6868 uses_TOC): New functions.
6869 (print_operand): Delete old '*' case.
6870 (print_operand_address): Use LEGITIMATE_CONSTANT_POOL_ADDRESS_P,
6871 and strip off rtl for TOC before calling output_addr_const.
6872 (rs6000_emit_load_toc_table): Use toc_label_name.
6873 * config/rs6000/rs6000.h (TARGET_SWITCHES): Make msched-prolog
6875 (LEGITIMATE_CONSTANT_POOL_BASE_P): Delete.
6876 (CONSTANT_POOL_EXPR_P, TOC_RELATIVE_EXPR_P): New macros.
6877 (LEGITIMATE_CONSTANT_POOL_ADDRESS_P): Use CONSTANT_POOL_EXPR_P.
6878 (LEGITIMIZE_ADDRESS, LEGITIMIZE_RELOAD_ADDRESS): Turn symbol_refs
6879 into explicit TOC_REGISTER offsets.
6880 (TOC_REGISTER): New macro.
6881 * config/rs6000/rs6000.md (movsi, movdi): Emit rtl under
6882 TARGET_TOC to reference TOC_REGISTER.
6883 (load_toc_v4_PIC_1b): Add 4 to offset for toc reload.
6884 * config/rs6000/sysv4.h (ASM_DECLARE_FUNCTION_NAME): Call
6885 uses_TOC before emitting label references.
6887 2000-02-05 Geoff Keating <geoffk@cygnus.com>
6889 * rs6000.md (stack_tie): Fix warning.
6891 * eabi-ctors.c: Use 'asm' names for the start/end variables,
6892 to handle -fleading-underscore.
6893 * sysv4.h (ASM_DECLARE_FUNCTION_NAME): Use asm_fprintf and %U.
6894 (USER_LABEL_PREFIX): New macro.
6895 (ASM_OUTPUT_INTERNAL_LABEL_PREFIX): Use asm_fprintf and %L.
6896 (ASM_OUTPUT_LABELREF): Use asm_fprintf and %U.
6897 * t-ppccomm (MULTILIB_MATCHES_SYSV): Note that call-sysv and
6898 call-linux can use the same multilibs.
6899 * t-ppcgas (MULTILIB_OPTIONS): Don't need to have separate call-sysv
6900 and call-linux multilibs. Do multilib with -fleading-underscore.
6901 (MULTILIB_DIRNAMES): Follow MULTILIB_OPTIONS change.
6902 (MULTILIB_EXCEPTIONS): Remove call-linux exceptions. Add restrictions
6905 * sysv4.h (CPP_SYSV_SPEC): Define _SOFT_FLOAT for all those CPUs that
6906 have MASK_SOFT_FLOAT set.
6907 (CPP_FLOAT_DEFAULT_SPEC): New macro.
6908 (SUBTARGET_EXTRA_SPECS): Set `cpp_float_default' to the value of
6909 CPP_FLOAT_DEFAULT_SPEC.
6911 * rs6000.c (ccr_bit): Add some consistency checks and a variable 'reg'.
6912 * rs6000.md: Whitespace change.
6913 * sysv4.h (LINK_TARGET_SPEC): Whitespace change.
6914 * sysv4le.h (LINK_TARGET_SPEC): Whitespace change.
6916 2000-02-05 Geoff Keating <geoffk@cygnus.com>
6918 * rs6000.md (eh_epilogue): New expander.
6919 (eh_reg_restore): New expand/split/insn combination.
6920 (return_eh_si): New insn.
6921 (return_eh_di): New insn.
6923 * eabi-ci.asm: Put a label at the start of the .eh_frame section.
6924 * eabi-cn.asm: Put a zero at the end of the .eh_frame section.
6925 * eabi-ctors.c (__do_global_ctors): Register this object's
6926 frame. Clean up. Call atexit() after the constructors.
6927 (__do_global_dtors): Deregister this object's frame. Clean up.
6928 Allow for recursive calls to exit().
6929 * rs6000.c (fixuplabelno): New variable.
6930 * sysv4.h (ASM_OUTPUT_INT): Don't do .fixup if not
6931 TARGET_RELOCATABLE, it slows down exec() under linux.
6932 (ASM_OUTPUT_DWARF_ADDR): Do .fixup if TARGET_RELOCATABLE.
6934 * aix.h (ASM_OUTPUT_DWARF_ADDR_VAR): New macro.
6935 (ASM_OUTPUT_DWARF_DELTA_VAR): New macro.
6936 (ASM_OUTPUT_DWARF_DELTA2): New macro.
6937 (ASM_OUTPUT_DWARF_DELTA4): New macro.
6938 (ASM_OUTPUT_DWARF_ADDR_DELTA): New macro.
6939 (ASM_OUTPUT_DWARF_ADDR): New macro.
6940 (ASM_OUTPUT_DWARF_DATA4): New macro.
6941 (ASM_OUTPUT_DWARF_DATA2): New macro.
6942 (ASM_OUTPUT_DWARF_OFFSET4): New macro.
6943 (ASM_OUTPUT_DWARF_OFFSET): New macro.
6944 (UNALIGNED_INT_ASM_OP): New macro, fake definition.
6946 2000-02-03 Geoff Keating <geoffk@cygnus.com>
6948 * rs6000.c (rs6000_sr_alias_set): New variable.
6949 (rs6000_override_options): Initialise rs6000_sr_alias_set.
6950 (rs6000_emit_stack_tie): New function.
6951 (rs6000_emit_allocate_stack): Specify RTX_FRAME_RELATED_P
6952 in a way that dwarf2out can understand.
6953 (rs6000_frame_related): New function.
6954 (rs6000_emit_prologue): Use rs6000_sr_alias_set. Specify
6955 RTX_FRAME_RELATED_P in a way that dwarf2out can understand.
6956 Use rs6000_emit_stack_tie when needed.
6957 (rs6000_emit_epilogue): Use rs6000_sr_alias_set. Don't set
6958 RTX_FRAME_RELATED_P. Use rs6000_emit_stack_tie when needed.
6959 * rs6000.md (stack_tie): New insn.
6960 (return_internal_si): Allow return value to be in the count
6962 (return_internal_di): Likewise.
6964 * rs6000.c (output_mi_thunk): Remove unused variable `sp'.
6966 2000-02-03 Geoff Keating <geoffk@cygnus.com>
6968 * sysv4.h (LOCAL_LABEL_PREFIX): Define, for the use of dbxelf.h.
6970 2000-01-31 Geoff Keating <geoffk@cygnus.com>
6972 * rs6000.h (ASM_OUTPUT_DEF_FROM_DECLS): New macro.
6974 * rs6000.md (stmw): Use the right POWER opcode.
6977 2000-01-31 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
6979 * rs6000-protos.h: New file.
6981 * rs6000.c: Include tm_p.h. Fix compile time warnings.
6983 * rs6000.h: Move prototypes to rs6000-protos.h. Fix compile time
6986 * sysv4.h: Likewise.
6988 2000-01-28 Geoff Keating <geoffk@cygnus.com>
6990 * ../../configure.in: Delete powerpcle-*-winnt*
6991 and powerpcle-*-pe|powerpcle-*-cygwin*.
6992 * ../../configure: Regenerated.
6994 * rs6000.h (OBJECT_WINDOWS_NT): Delete.
6995 (TARGET_WINDOWS_NT): Delete.
6997 (CALL_NT_DLLIMPORT): Delete.
6998 Delete NT-specific code.
6999 * rs6000.md, rs6000.c, sysv4.h: Delete NT-specific code.
7002 * nt-ci.asm: Delete.
7003 * nt-cn.asm: Delete.
7004 * ntstack.asm: Delete.
7006 2000-01-27 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
7008 * rs6000.h (SELECT_RTX_SECTION): Move to aix.h.
7009 (ASM_FILE_START): Likewise.
7010 (ASM_DECLARE_FUNCTION_NAME): Likewise.
7011 (ASM_OUTPUT_LABELREF): Likewise.
7012 (ASM_OUTPUT_SKIP): Likewise.
7013 (ASM_OUTPUT_INTERNAL_LABEL): Likewise.
7014 (ASM_GENERATE_INTERNAL_LABEL): Likewise.
7015 (ASM_OUTPUT_CASE_LABEL): Likewise.
7016 (ASM_OUTPUT_ALIGNED_COMMON): Likewise.
7017 (ASM_OUTPUT_ASCII): Likewise.
7019 2000-01-27 Clinton Popetz <cpopetz@cygnus.com>
7021 * rs6000.c (rs6000_emit_load_toc_table): Use "LCG" and
7022 reload_toc_labelno for non-prologue TOC reloads. Also, don't
7023 increment rs6000_pic_labelno here.
7024 (rs6000_emit_prologue): Pass TRUE to rs6000_emit_load_toc_table,
7025 and increment rs6000_pic_labelno here.
7027 2000-01-24 Geoffrey Keating <geoffk@cygnus.com>
7029 * rs6000.md (fctiwz): Use (set (reg) (unspec:DI [(fix:SI ...)]))
7030 rather than (set (subreg:SI (reg)) (fix:SI ...)) so that register
7031 allocation knows (reg) is dead before the insn.
7033 2000-01-21 Geoff Keating <geoffk@cygnus.com>
7035 * rs6000.md (movsi_to_cr): Correct typo in output template.
7037 2000-01-19 Geoffrey Keating <geoffk@cygnus.com>
7039 * rs6000.c (rs6000_pic_labelno): Always define.
7040 (rs6000_pic_func_labelno): Delete.
7041 (lmw_operation): Check for a zero base register,
7042 which doesn't mean what we want.
7043 (stmw_operation): New function.
7044 (print_operand): Define new 'l' modifier.
7045 (rs6000_stack_info): We must save all 64 bits of the registers
7046 if TARGET_POWERPC64.
7047 (rs6000_output_load_toc_table): Delete.
7048 (rs6000_emit_load_toc_table): New function.
7049 (rs6000_allocate_stack_space): Delete.
7050 (rs6000_emit_allocate_stack): New function.
7051 (rs6000_emit_prologue): New function.
7052 (output_prolog): Use rs6000_emit_prologue.
7053 (rs6000_emit_epilogue): Change a few variable names to be
7054 more accurate. Restore all 64 bits of the registers if
7055 TARGET_POWERPC64. Only restore the FP registers which were used
7056 if they are being saved/restored one-at-a-time.
7057 (output_mi_thunk): Delete inefficient code generation.
7058 (output_function_profiler): Don't use rs6000_output_load_toc_table.
7059 * rs6000.h: Declare rs6000_emit_load_toc_table,
7060 rs6000_allocate_stack_space, stmw_operation. Don't declare
7061 rs6000_output_load_toc_table.
7062 * rs6000.md (elf_high): Allow register 0, but discourage it
7064 (elf_low): Support loading into register 0.
7065 (load_toc_aix_si): New pattern.
7066 (load_toc_aix_di): New pattern.
7067 (load_toc_v4_pic_si): New pattern.
7068 (load_toc_v4_pic_di): New pattern.
7069 (load_toc_v4_PIC_1): New pattern.
7070 (load_toc_v4_PIC_1b): New pattern.
7071 (load_toc_v4_PIC_2): New pattern.
7072 (builtin_setjmp_receiver): Use rs6000_emit_load_toc_table.
7073 (nonlocal_goto_receiver): Use rs6000_emit_load_toc_table.
7074 (prologue): New expander.
7075 (movesi_from_cr): New pattern.
7076 (stmw): New pattern.
7077 (save_fpregs_si): New pattern.
7078 (save_fpregs_di): New pattern.
7080 2000-01-19 Geoff Keating <geoffk@cygnus.com>
7082 * rs6000.md (movsi): Don't use force_reg when no_new_pseudos.
7087 2000-01-19 Geoff Keating <geoffk@cygnus.com>
7089 * rs6000.md (movsi_got): 'unspec 8' returns a SImode result,
7091 (movsi_got_internal): Likewise.
7092 (movsi_got_internal+1): Likewise.
7093 (set_sp): 'unspec 7' does a SImode clobber.
7095 2000-01-19 Geoff Keating <geoffk@cygnus.com>
7097 * rs6000.md (floatsidf2): Don't use the fpmem "register", just
7098 allocate a stack temporary.
7099 (floatsidf2_internal): Likewise.
7100 (floatsidf2_internal+1): Likewise. Don't do bizzare hacks
7102 (floatunssidf2): Don't use the fpmem "register", just
7103 allocate a stack temporary.
7104 (floatunssidf2_internal): Likewise.
7105 (floatunssidf2_internal+1): Likewise. Don't do bizzare hacks
7107 (floatsidf2_loadaddr): Delete.
7108 (floatsidf2_store1): Delete.
7109 (floatsidf2_store2): Delete.
7110 (floatsidf2_load): Delete.
7111 (fix_truncdfsi2): Don't use the fpmem "register", just
7112 allocate a stack temporary.
7113 (fix_truncdfsi2_internal_si): Delete.
7114 (fix_truncdfsi2_internal_di): Delete.
7115 (fix_truncdfsi2_internal): New insn.
7116 (fix_truncdfsi2_internal+1): Don't use the fpmem "register".
7117 (fix_truncdfsi2_store): Delete.
7118 (fix_truncdfsi2_load): Delete.
7119 (fctiwz): Produce gen_fctiwz.
7121 2000-01-19 Geoffrey Keating <geoffk@cygnus.com>
7123 * eabi.h (INVOKE__main): Define.
7124 * rs6000.c (rs6000_stack_info): Don't handle call to NAME__MAIN
7126 (rs6000_emit_prologue): Likewise.
7127 * rs6000.h (struct rs6000_stack): Don't keep track of whether
7128 this is the main program.
7130 2000-01-19 Geoff Keating <geoffk@cygnus.com>
7132 * rs6000.c (rs6000_va_arg): Delete some unused variables.
7134 2000-01-19 Geoff Keating <geoffk@cygnus.com>
7136 * rs6000.c (rs6000_va_arg): On AIX, padding for small arguments
7137 goes after the argument.
7139 2000-01-12 Geoff Keating <geoffk@cygnus.com>
7141 * rs6000.md: Document 'unspec' values used.
7142 (epilogue): New expander.
7143 (movesi_to_cr_one): New expander.
7144 (movesi_to_cr and following): New pattern.
7146 (return_internal_si): New pattern.
7147 (return_internal_di): New pattern.
7148 (return_and_restore_fpregs_si): New pattern.
7149 (return_and_restore_fpregs_di): New pattern.
7150 * rs6000.h: Declare new functions.
7151 * rs6000.c (rs6000_stack_info): Use current_function_is_leaf
7152 rather than rs6000_calls_p.
7153 (rs6000_makes_calls): Delete.
7154 (lmw_operation): New function.
7155 (mtcrf_operation): New function.
7156 (rs6000_emit_epilogue): New function.
7157 (output_epilog): Call rs6000_emit_epilogue and final if
7158 !TARGET_SCHED_PROLOG, instead of writing text unconditionally.
7160 2000-01-12 Geoff Keating <geoffk@cygnus.com>
7162 * aix43.h (SUBSUBTARGET_SWITCHES): Document switches.
7163 * aix41.h (SUBSUBTARGET_SWITCHES): Document switches.
7164 * aix.h (SUBTARGET_SWITCHES): Document switches.
7165 * rs6000.h: (TARGET_SWITCHES): Don't print options twice. Make
7166 sched-prolog and sched-epilog the same. Document all the
7168 (TARGET_OPTIONS): No longer allow -mdebug-.
7170 2000-01-12 Geoff Keating <geoffk@cygnus.com>
7172 * rs6000.h (ASM_FILE_END): Move to aix.h.
7173 (EXTRA_SECTIONS): Move to aix.h.
7174 (READONLY_DATA_SECTION): Move to aix.h.
7175 (EXTRA_SECTION_FUNCTIONS): Move to aix.h.
7176 (SELECT_SECTION): Move to aix.h.
7177 (JUMP_TABLES_IN_TEXT_SECTION): Move to aix.h.
7178 (INT_REGNO_P): Use symbolic name for ARG_POINTER_REGNUM.
7179 (LINK_REGISTER_REGNUM): New definition.
7180 (RETURN_ADDR_RTX): Use symbolic name for LINK_REGISTER_REGNUM.
7181 (SLOW_UNALIGNED_ACCESS): Define in a way suitable for both
7183 * sysv4.h: Delete the code between the inclusion of rs6000.h
7185 (DWARF_DEBUGGING_INFO): Don't define, it's defined in elfos.h.
7186 (FP_ARG_MAX_REG): Move generic definition to rs6000.h.
7187 (RS6000_REG_SAVE): Move generic definition to rs6000.h.
7188 (RS6000_SAVE_AREA): Move generic definition to rs6000.h.
7189 * rs6000.md (floatsidf2_loadaddr): The first arg here is Pmode.
7190 (fix_truncdfsi2_internal): Rename to fix_truncdfsi2_internal_si.
7191 (fix_truncdfsi2_internal_di): New pattern.
7192 (fix_truncdfsi2_store): The second arg here is Pmode too.
7193 (fix_truncdfsi2_load): The second arg here is Pmode too.
7194 (tablejumpdi): Now that switch tables hold only SImode values,
7195 gcc needs to know how to add them to the pc which is DImode.
7196 * rs6000.c (rs6000_stack_info): Use symbolic name for
7197 LINK_REGISTER_REGNUM.
7198 (output_mi_thunk) [!TARGET_ELF]: Don't define sp, it's not used.
7199 (output_toc): Delete unused variables s1 and s2.
7200 (output_ascii): Use fputs not fprintf on a variable string.
7202 2000-01-07 David Edelsohn <edelsohn@gnu.org>
7204 * rs6000.c (processor_target_table): Add power3 as alias for 630.
7205 * aix43.h: Revert Aug 2 change.
7206 (HAS_INIT_SECTION): Define, not visible yet.
7207 (LD_INIT_SWITCH): Define, not visible yet.
7208 * t-aix43 (MULTILIB_OPTIONS): Revert Aug 2 change.
7210 2000-01-04 Joel Sherrill (joel@OARcorp.com>
7212 * config/rs6000/rtems.h: Include config/rtems.h.
7214 2000-01-04 David Edelsohn <edelsohn@gnu.org>
7216 * rs6000.h (HANDLE_PRAGMA_PACK): Define.
7217 (SLOW_UNALIGNED_ACCESS): Define.
7218 (CASE_VECTOR_MODE): Always use 32-bit offsets.
7219 (ASM_FILE_END): Generate 64-bit symbol in 64-bit mode.
7220 (EXTRA_SECTOIN_FUNCTIONS): Indent .csect pseudo-op.
7221 (toc_section): Likewise and .toc pseudo-op.
7222 (ASM_DECLARE_FUNCTION): Likewise. Align text more strictly in
7224 (TEXT_SECTION_ASM_OP): Likewise.
7225 (ASM_OUTPUT_ADD_VEC_ELT, ASM_OUTPUT_ADDR_DIFF_ELT): Always use
7228 1999-12-17 Jakub Jelinek <jakub@redhat.com>
7230 * config/rs6000/rs6000.h (TARGET_POWERPC64): Make sure
7231 UNITS_PER_WORD and BITS_PER_WORD are compile time constants when
7234 2000-01-06 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
7236 * rs6000.h: Move more stuff from here...
7238 * sysv4.h: Cleanup accordingly.
7239 * netware.h: Likewise
7241 2000-01-05 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
7243 * rs6000.h: Continue cleanup.
7246 * netware.h: Likewise.
7248 * sysv4.h: Likewise.
7249 * win-nt.h: Likewise.
7251 * rs6000.h (TARGET_SWITCHES): Add descriptions.
7252 (TARGET_OPTIONS): Likewise.
7254 * sysv4.h (SUBTARGET_SWITCHES): Add descriptions.
7255 (SUBTARGET_OPTIONS): Likewise.
7257 * rs6000.md: Fix compile time warnings.
7259 2000-01-04 Geoff Keating <geoffk@cygnus.com>
7261 vxworks patches from the Cygnus tree originally by
7262 Michael Meissner <meissner@cygnus.com> and Vladimir Makarov
7263 <vmakarov@cygnus.com>.
7264 * sysv4.h (SUBTARGET_SWITCHES): Add vxworks.
7265 (ENDFILE_SPEC): Likewise.
7266 (LIB_VXWORKS_SPEC): New macro.
7267 (STARTFILE_VXWORKS_SPEC): New macro.
7268 (ENDFILE_VXWORKS_SPEC): New macro.
7269 (LINK_START_VXWORKS_SPEC): New macro.
7270 (LINK_OS_VXWORKS_SPEC): New macro.
7271 (CPP_OS_VXWORKS_SPEC): New macro.
7272 (SUBTARGET_EXTRA_SPECS): Add all the vxworks specs.
7273 * vxppc.h: Rewrite to use proper configuration method.
7274 * vxppcle.h: New file.
7275 * ../../configure.in: Add powerpcle-wrs-vxworks*.
7276 * ../../configure: Rebuilt.
7278 2000-01-04 Geoff Keating <geoffk@cygnus.com>
7280 Lots of changes to rs6000.h, sysv4.h, aix.h,
7281 aix31.h, aix3newas.h, aix41.h, aix43.h, beos.h,
7282 with the aim that rs6000.h is the first header
7283 included and the others override it.
7286 * x-aix41-gld: Remove.
7288 * x-aix41: Remove target-specific switches, and don't specify
7289 -Wl,-bbigtoc as we don't need it any more.
7290 * ../../configure.in: Use x-aix41 for ppc AIX 4.1 and above.
7291 Use t-aix43 for AIX 4.3 and above.
7292 * ../../configure: Regenerated.
7294 * rs6000.h (TARGET_SWITCHES): Add some initial prolog-scheduling
7295 options, that don't do anything yet.
7296 (MASK_SCHED_PROLOG): New macro.
7297 (MASK_SCHED_EPILOG): New macro.
7298 (TARGET_SCHED_PROLOG): New macro.
7299 (TARGET_SCHED_EPILOG): New macro.
7301 2000-01-04 Geoff Keating <geoffk@cygnus.com>
7303 * rs6000.c: Correct comment, the `minimal' TOCs are actually
7304 one per translation unit, not one per function.
7305 (output_toc): Also do duplicate constant elimination
7306 for per-translation-unit TOCs.
7308 * rs6000.md (nonlocal_goto_receiver): Put it back as before. Add
7309 a comment explaining _exactly_ when this pattern gets used.
7310 (builtin_setjmp_receiver): New pattern for better clarity.
7311 (init_v4_pic): Move it into a section dealing with TOC registers.
7313 1999-12-30 Geoff Keating <geoffk@cygnus.com>
7315 * rs6000.c (toc_hash_table): New variable.
7316 (rs6000_hash_constant): New function.
7317 (toc_hash_function): New function.
7318 (toc_hash_eq): New function.
7319 (toc_hash_mark_entry): New function.
7320 (toc_hash_mark_table): New function.
7321 (output_toc): Don't output duplicate TOC entries in
7323 (rs6000_add_gc_roots): Add the hash table as a GC root.
7324 * t-aix43: Move AR_FOR_TARGET and CLIB here from x-aix43,
7325 where they clearly shouldn't be. This may need to be fixed
7326 later when there is a GNU ar for AIX.
7327 * x-aix43: Don't define CLIB or AR_FOR_TARGET.
7328 Don't define BOOT_LDFLAGS as it is now not necessary.
7330 1999-12-29 Geoff Keating <geoffk@cygnus.com>
7332 * rs6000.c (rs6000_build_va_list): Use 'char *' rather than 'void *'
7333 for va_list on AIX. Use unsigned_char_type_node rather than
7334 constructing our own version on svr4.
7336 1999-12-17 Geoff Keating <geoffk@cygnus.com>
7338 * tramp.asm (__trampoline_size): Delete CYGNUS LOCAL comment,
7339 since patently it's not.
7341 1999-12-08 Geoff Keating <geoffk@cygnus.com>
7343 * config/rs6000/rs6000.md (nonlocal_goto_receiver): Turn into
7344 define_expand/define_insn pair, and handle restore of the
7345 SVR4 -fpic register.
7347 Wed Mar 15 15:43:38 2000 Jeffrey A Law (law@cygnus.com)
7349 * acconfig.h (HAVE_GAS_WEAK): New define.
7350 * configure.in (assembler weak support): Check for .weak support.
7351 * config.in, configure: Rebuilt.
7352 * pa/som.h (MAKE_DECL_ONE_ONLY, ASM_WEAKEN_LABEL): Only define if
7353 HAVE_GAS_WEAK is defined.
7355 2000-03-15 Nick Clifton <nickc@cygnus.com>
7357 * config/arm/arm.c (arm_output_epilogue): Do not pass %c to
7360 2000-03-15 Zack Weinberg <zack@wolery.cumb.org>
7362 * cppfiles.c (open_include_file): New function.
7363 (find_include_file, cpp_read_file): Use it.
7365 2000-03-15 Jason Merrill <jason@casey.cygnus.com>
7367 * cpphash.c (dump_hash_helper): Take the slot, not the element.
7369 Wed Mar 15 14:28:54 2000 Jason Eckhardt <jle@cygnus.com>
7371 * flow.c (verify_flow_info): Check for unconditional return.
7373 Wed Mar 15 11:34:27 2000 Jim Wilson <wilson@cygnus.com>
7375 * config/ia64/ia64.md (restore_stack_nonlocal): New.
7376 * config/ia64/lib1funcs.asm (__ia64_nonlocal_goto): Delete padding nop.
7377 (__ia64_restore_stack_nonlocal): New.
7378 * config/ia64/t-ia64 (LIB1ASMFUNCS): Add __restore_stack_nonlocal.
7380 2000-03-15 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
7382 * cpphash.c (collect_formal_parameters): Do not complain about
7383 parameter names that just start with `__VA_ARGS__'.
7385 Wed Mar 15 13:26:58 MET 2000 Jan Hubicka <jh@suse.cz>
7387 * i386.md (movhi_1): Promote movw imm, reg to movl imm, reg and
7388 movw reg, reg to movzwl reg, reg on PARTIAL_REGISTER_STALL machines.
7389 * i386.c (pentiumpro_cost): Set mul cost to 4.
7390 (x86_use_movx): Set for PPro.
7392 Wed Mar 15 13:07:05 MET 2000 Jan Hubicka <jh@suse.cz>
7394 * i386.md (ix86_compute_frame_size): stack_alignment_needed is
7395 STACK_BOUNDARY for empty frames now.
7397 2000-03-14 Mark Mitchell <mark@codesourcery.com>
7399 * stor-layout.c (layout_union): Remove.
7400 (layout_union_field): New function, split out from layout_union.
7401 (finish_union_layout): Likewise.
7402 (layout_field): Handle unions by calling layout_union_field.
7403 (finish_record_layout): Handle unions.
7404 (layout_type): Combine RECORD_TYPE, UNION_TYPE, and
7405 QUAL_UNION_TYPE handling.
7407 Wed Feb 23 13:00:06 CET 2000 Jan Hubicka <jh@suse.cz>
7409 * flow.c (fixup_reorder_chain): Avoid double labels in the basic block;
7410 end of basic block is jump_insn, not barrier; use create_basic_block
7411 instead of creating basic block by hand.
7413 2000-03-14 Jason Eckhardt <jle@cygnus.com>
7415 * flow.c (reorder_basic_blocks): Account for barriers when writing
7416 over NEXT_INSN (last_bb->end).
7417 (verify_flow_info): Add check for missing barriers.
7419 2000-03-14 Greg McGary <gkm@gnu.org>
7421 * c-lex.h (enum rid): Add RID_BOUNDED & RID_UNBOUNDED.
7422 * c-lex.c (init_lex): Handle RID_BOUNDED & RID_UNBOUNDED.
7423 * c-parse.gperf (__bounded, __bounded__, __ptrbase, __ptrbase__,
7424 __ptrextent, __ptrextent__, __ptrvalue, __ptrvalue__,
7425 __unbounded, __unbounded__): New keywords.
7426 * c-parse.in (PTR_VALUE PTR_BASE PTR_EXTENT): New tokens.
7427 * c-parse.y, c-parse.c, c-parse.h: Regenerate.
7428 * objc/objc-parse.y, objc/objc-parse.c: Regenerate.
7430 2000-03-14 Bernd Schmidt <bernds@cygnus.co.uk>
7432 * cselib.h: New file.
7433 * alias.c: Include "cselib.h".
7434 (fixed_scalar_and_varying_struct_p): Accept the addresses of the
7435 MEMs as two new arguments.
7436 (get_addr): New static function.
7437 (find_base_term): Handle VALUEs.
7438 (memrefs_conflict_p): Likewise.
7439 (true_dependence): Call get_addr on the addresses.
7440 Call fixed_scalar_and_varying_struct_p with addresses that have been
7441 passed through get_addr and canon_rtx.
7442 (write_dependence_p): Move DIFFERENT_ALIAS_SETS_P test for consistency
7443 with true_dependence.
7444 Call get_addr on the addresses; don't call canon_rtx on the MEMs.
7445 * loop.c: Include "cselib.h".
7446 (load_mems): Process extended basic block that enters the loop with
7447 cselib. Use that information to change initialization of the shadow
7448 register so that a constant equivalence is seen by later passes.
7449 * reload1.c: Include "cselib.h".
7450 (reload_cse_invalidate_regno): Delete function.
7451 (reload_cse_mem_conflict_p): Likewise.
7452 (reload_cse_invalidate_mem): Likewise.
7453 (reload_cse_invalidate_rtx): Likewise.
7454 (reload_cse_regno_equal_p): Likewise.
7455 (reload_cse_check_clobber): Likewise.
7456 (reload_cse_record_set): Likewise.
7457 (reg_values): Delete static variable.
7458 (invalidate_regno_rtx): Likewise.
7459 (reload_cse_delete_noop_set): New static function.
7460 (reload_cse_simplify): New static function, broken out of
7462 (reload_cse_noop_set_p): Delete unused argument INSN.
7463 Just call rtx_equal_for_cselib_p on set source and destination.
7464 (reload_cse_regs_1): Break out some code into reload_cse_simplify and
7465 reload_cse_delete_noop_set. Delete code to keep track of values; use
7466 cselib functions instead. Delete code to push/pop obstacks.
7467 (reload_cse_simplify_set): Use cselib to find equivalent values.
7468 Delete code to push/pop obstacks.
7469 (reload_cse_simplify_operands): Likewise.
7470 * rtl.def (VALUE): New rtx code.
7471 * rtl.h (union rtunion_def): New elt rt_cselib.
7472 (X0CSELIB, CSELIB_VAL_PTR): New macros.
7473 * simplify_rtx.c: Include "ggc.h", "obstack.h", "cselib.h".
7474 (new_elt_list, new_elt_loc_list, unchain_one_value, clear_table,
7475 unchain_one_elt_list, unchain_one_elt_loc_list, check_useless_values,
7476 discard_useless_locs, discard_useless_values, entry_and_rtx_equal_p,
7477 hash_rtx, new_cselib_val, add_mem_for_addr, get_value_hash,
7478 cselib_lookup_mem, cselib_subst_to_values, cselib_invalidate_regno,
7479 cselib_mem_conflict_p, cselib_invalidate_mem, cselib_invalidate_rtx,
7480 cselib_record_set, cselib_record_sets): New static functions.
7481 (cselib_lookup, cselib_update_varray_sizes, cselib_init,
7482 cselib_finish, cselib_process_insn, rtx_equal_for_cselib_p,
7483 references_value_p): New functions.
7484 (MAX_USELESS_VALUES, REG_VALUES): New macros.
7485 (table, cselib_current_insn, next_unknown_value, cselib_nregs,
7486 n_useless_values, reg_values, callmem, cselib_obstack,
7487 cselib_startobj, empty_vals, empty_elt_lists, empty_elt_loc_lists):
7488 New static variables.
7489 * varray.h (union varray_data_tag): New elt te.
7490 (VARRAY_ELT_LIST_INIT, VARRAY_ELT_LIST): New macros.
7491 * Makefile.in (reload1.o, loop.o, simplify-rtx.o, alias.o): Update
7494 2000-03-14 Nick Clifton <nickc@cygnus.com>
7496 * gcc.c (do_spec_1): Catch the case where %* is used in a
7497 substitution pattern, but it has not been initialised.
7498 Issue a meaningful error message if an unrecognised operator
7499 is encountered in a spec string.
7501 2000-03-14 Richard Earnshaw <rearnsha@arm.com>
7503 * function.c (prepare_function_start): Correctly initialize
7504 cfun->stack_alignment_needed.
7506 2000-03-14 Zack Weinberg <zack@wolery.cumb.org>
7508 * cppfiles.c (find_include_file): Don't assume nshort is a
7511 Tue Mar 14 08:42:21 2000 Jeffrey A Law (law@cygnus.com)
7513 * configure.in (hppa configurations): Add pa32-regs.h to the
7514 list of tm files as appropriate.
7515 * configure: Rebuilt.
7516 * pa.c (compute_frame_size): Remove explicit knowledge about FP
7518 (hppa_expand_prologue, hppa_expand_epilogue): Likewise.
7519 (fmpyaddoperands, fmpysuboperands): Likewise.
7520 * pa.h: Remove various definitions which depend on knowing
7521 how registers are numbered.
7522 * pa32-regs.h: New file with PA32 register numbering specific
7525 2000-03-14 Richard Henderson <rth@cygnus.com>
7527 * regmove.c (combine_stack_adjustments): New.
7528 (stack_memref_p, single_set_for_csa): New.
7529 (free_csa_memlist, record_one_stack_memref): New.
7530 (try_apply_stack_adjustment): New.
7531 (combine_stack_adjustments_for_block): New.
7532 * rtl.h (combine_stack_adjustments): Declare.
7533 * toplev.c (rest_of_compilation): Call it.
7535 * i386.md: Revert 2000-01-16 change.
7537 2000-03-14 Martin v. Löwis <loewis@informatik.hu-berlin.de>
7539 * gccbug.in: Add web category, gcc specific classes.
7541 2000-03-14 Nathan Sidwell <nathan@codesourcery.com>
7543 * stor-layout.c (finalize_record_size): Fix typo.
7545 2000-03-14 Stan Shebs <shebs@apple.com>
7547 * c-typeck.c (c_alignof): Error on incomplete types.
7548 * extend.texi (Alignment): Document this.
7550 2000-03-13 Zack Weinberg <zack@wolery.cumb.org>
7552 * cppfiles.c: Include mkdeps.h.
7553 (find_include_file, read_include_file): Remove _cpp_ prefix
7554 from name, make static.
7555 (_cpp_execute_include): New function, broken out of
7558 * cpplib.c: Don't include mkdeps.h.
7559 (struct directive): Remove type field. Reorder entries. The
7560 function takes only one argument.
7561 (struct if_stack): Make type field an int.
7562 (directive_table): Rename to dtable. Generate it, the
7563 prototypes of the directive handlers, and the enum for the
7564 directive numbers, from a template macro.
7565 (do_ifndef, do_include_next, do_import): New functions.
7566 (do_define, do_include, do_endif, do_ifdef, do_if, do_else,
7567 do_undef, do_line, do_elif, do_error, do_pragma, do_warning,
7568 do_ident, do_assert, do_unassert, do_sccs): Take only one
7570 (do_sccs): Define always, but alter behavior based on
7572 (_cpp_handle_directive, consider_directive_while_skipping):
7573 Restructure for new directive table layout.
7575 (pass_thru_directive): Take a directive number, not a pointer
7576 to a struct directive.
7577 (parse_include): New function, broken out of do_include.
7578 (do_include, do_import, do_include_next): Use parse_include
7579 and _cpp_execute_include.
7580 (do_elif, do_else): Test for T_ELSE specifically when checking
7581 for #elif/#else after #else.
7582 (parse_ifdef): New function, broken out of do_ifdef.
7583 (validate_else): Expect a name arg without a leading #.
7584 (if_directive_name): Delete.
7585 (cpp_define, cpp_assert, cpp_undef, cpp_unassert): Call
7586 directive handlers with only one argument.
7588 * cpphash.h: Update prototypes.
7589 (enum node_type): Remove entries for directives.
7590 * Makefile.in: Update dependencies.
7592 * cpphash.c (dump_hash_helper): Only dump nodes of type
7593 T_MACRO. Emit a newline after each definition.
7595 2000-03-14 Martin v. Löwis <loewis@informatik.hu-berlin.de>
7597 * gccbug.in: New file.
7598 * configure.in (all_outputs): Add gccbug.
7599 * Makefile.in (install-common): Install gccbug.
7600 (GCCBUG_INSTALL_NAME): New variable.
7601 * configure: Rebuilt.
7603 2000-03-13 Jason Merrill <jason@casey.cygnus.com>
7605 * function.c (put_var_into_stack): Use type_for_mode to calculate
7606 part_type. Use MEM_SET_IN_STRUCT_P.
7607 * expr.c (store_field): Handle CONCAT.
7608 (store_constructor): Use fields_length.
7609 * tree.c (fields_length): New fn.
7610 * tree.h: Declare it.
7612 2000-03-13 Zack Weinberg <zack@wolery.cumb.org>
7614 * Makefile.in (LIBCPP_OBJS): Add cpplex.o.
7615 (cpplex.o): New target.
7616 * po/POTFILES.in: Add cpplex.c.
7618 * cpplex.c (_cpp_grow_token_buffer, null_cleanup,
7619 cpp_push_buffer, cpp_pop_buffer, cpp_scan_buffer,
7620 cpp_expand_to_buffer, cpp_buf_line_and_col, cpp_file_buffer,
7621 skip_block_comment, skip_line_comment, skip_comment,
7622 copy_comment, _cpp_skip_hspace, _cpp_skip_rest_of_line,
7623 _cpp_parse_name, skip_string, parse_string,
7624 _cpp_parse_assertion, cpp_get_token, cpp_get_non_space_token,
7625 _cpp_get_directive_token, find_position,
7626 _cpp_read_and_prescan, _cpp_init_input_buffer): Move here.
7627 (maybe_macroexpand, _cpp_lex_token): New functions.
7629 * cpplib.c (SKIP_WHITE_SPACE, eval_if_expr, parse_set_mark,
7630 parse_goto_mark): Delete.
7631 (_cpp_handle_eof): New function.
7632 (_cpp_handle_directive): Rename from handle_directive.
7633 (_cpp_output_line_command): Rename from output_line_command.
7634 (do_if, do_elif): Call _cpp_parse_expr directly.
7635 * cppfiles.c (_cpp_read_include_file): Don't call
7636 init_input_buffer here.
7637 * cpphash.c (quote_string): Move here, rename _cpp_quote_string.
7638 * cppexp.c (_cpp_parse_expr): Diddle parsing_if_directive
7639 here; pop the token_buffer and skip the rest of the line here.
7640 * cppinit.c (cpp_start_read): Call _cpp_init_input_buffer
7643 * cpphash.h (CPP_RESERVE, CPP_IS_MACRO_BUFFER, ACTIVE_MARK_P):
7645 (CPP_SET_BUF_MARK, CPP_GOTO_BUF_MARK, CPP_SET_MARK,
7646 CPP_GOTO_MARK): New macros.
7647 (_cpp_quote_string, _cpp_parse_name, _cpp_skip_rest_of_line,
7648 _cpp_skip_hspace, _cpp_parse_assertion, _cpp_lex_token,
7649 _cpp_read_and_prescan, _cpp_init_input_buffer,
7650 _cpp_grow_token_buffer, _cpp_get_directive_token,
7651 _cpp_handle_directive, _cpp_handle_eof,
7652 _cpp_output_line_command): Prototype them here.
7653 * cpplib.h (enum cpp_token): Add CPP_MACRO.
7654 (CPP_RESERVE, get_directive_token, cpp_grow_buffer,
7655 quote_string, output_line_command): Remove.
7657 2000-03-13 Bernd Schmidt <bernds@cygnus.co.uk>
7659 * stmt.c (expand_end_case): RANGE may be signed, and when checking
7660 whether it is too large we must also verify that it isn't negative.
7662 2000-03-13 Jakub Jelinek <jakub@redhat.com>
7664 * config/sparc/sparc.md: Remove all traces of TARGET_LIVE_G0.
7665 (movsi_zero_liveg0): Remove.
7666 (movsf_insn_novis_liveg0): Remove.
7668 (negsi2_not_liveg0): Rename to negsi2.
7669 (one_cmplsi2): Remove.
7670 (one_cmplsi2_not_liveg0): Rename to one_cmplsi2.
7671 (one_cmplsi2_liveg0): Remove.
7672 * config/sparc/sparc.h (TARGET_LIVE_G0, TARGET_BROKEN_SAVERESTORE,
7673 MASK_LIVE_G0, MASK_BROKEN_SAVERESTORE): Remove.
7674 (CONDITIONAL_REGISTER_USAGE): Remove TARGET_LIVE_G0 if.
7675 (PREDICATE_CODES): Remove zero_operand.
7676 * config/sparc/sparc.c: Remove all traces of TARGET_LIVE_G0 and
7677 TARGET_BROKEN_SAVERESTORE.
7678 (zero_operand): Remove.
7679 * config/sparc/splet.h (SUBTARGET_SWITCHES): Remove -mlive-g0,
7680 -mno-live-g0, -mbroken-saverestore and -mno-broken-saverestore
7682 (SUBTARGET_OVERRIDE_OPTIONS): Remove.
7683 * config/sparc/linux-aout.h (TARGET_LIVE_G0,
7684 TARGET_BROKEN_SAVERESTORE): Remove.
7685 * config/sparc/linux.h (TARGET_LIVE_G0, TARGET_BROKEN_SAVERESTORE):
7687 * config/sparc/linux64.h (TARGET_LIVE_G0, TARGET_BROKEN_SAVERESTORE):
7689 * config/sparc/sol2.h (TARGET_LIVE_G0, TARGET_BROKEN_SAVERESTORE):
7692 * config/sparc/sparc.md (return_df_no_fpu): New pattern.
7694 2000-03-13 Zack Weinberg <zack@wolery.cumb.org>
7696 * cpplib.c (do_pragma_implementation): Fix off-by-one error
7697 truncating a string. Don't assume tokens are nul terminated.
7698 Problem noted by Andreas Jaeger <aj@suse.de>
7700 2000-03-13 Jason Merrill <jason@casey.cygnus.com>
7702 * dwarf2out.c (add_name_and_src_coords_attributes): Only add
7703 DW_AT_MIPS_linkage_name for TREE_PUBLIC decls.
7704 (ASM_OUTPUT_DWARF_ADDR_CONST): Don't output trailing newline.
7706 2000-03-13 Richard Earnshaw <rearnsha@arm.com>
7708 * stor-layout.c (new_record_layout_info): Fix typo inside ifdef
7709 STRUCTURE_SIZE_BOUNDARY.
7711 2000-03-13 Mark Mitchell <mark@codesourcery.com>
7713 * tree.h (record_layout_info_s): New structure.
7714 (record_layout_info): New type.
7715 (new_record_layout_info): New function.
7716 (layout_field): Likewise.
7717 (finish_record_layout): Likewise.
7718 * stor-layout.c (layout_record): Remove.
7719 (new_record_layout_info): New function.
7720 (layout_field): New function, broken out from layout_record.
7721 (finalize_record_size): Likewise.
7722 (compute_record_mode): Likewise.
7723 (finalize_type_size): New function, broken out from layout_type.
7724 (finish_record_layout): Likewise.
7725 (layout_type): Use them.
7727 2000-03-12 Zack Weinberg <zack@wolery.cumb.org>
7729 * cpphash.c: Don't include version.h.
7730 (special_symbol) [case T_VERSION]: Look for the string in
7731 hp->value.cpval; don't use version_string.
7732 * cppinit.c (initialize_builtins): Set hp->value.cpval for
7733 __VERSION__ to version_string.
7734 * Makefile.in (cpphash.o): Update deps.
7736 2000-03-12 Zack Weinberg <zack@wolery.cumb.org>
7738 Convert cpplib to use libiberty/hashtab.c.
7740 * cpplib.h (struct cpp_reader): Make hashtab and
7741 all_include_files of type 'struct htab *'. Delete HASHSIZE
7742 and ALL_INCLUDE_HASHSIZE macros.
7744 * cpphash.h: Update prototypes.
7745 (struct hashnode): Remove next, prev, and bucket_hdr members.
7746 Make length a size_t. Add hash member.
7747 (struct ihash): Remove next member. Add hash member. Make
7748 name a flexible array member.
7750 * cppfiles.c: Include hashtab.h.
7751 (include_hash): Delete.
7752 (IHASHSIZE): New macro.
7753 (hash_IHASH, eq_IHASH, _cpp_init_include_hash): New functions.
7754 (cpp_included): Do the hash lookup here.
7755 (_cpp_find_include_file): Rewrite.
7756 (cpp_read_file): Put the "fake" hash entry into the hash
7757 table. Honor the control_macro, if it turns out we've seen
7758 the file before. Don't push the buffer here.
7759 (_cpp_read_include_file): Push the buffer here.
7760 (OMODES): New macro. Use it whenever we call open(2).
7762 * cpphash.c: Include hashtab.h.
7763 (hash_HASHNODE, eq_HASHNODE, del_HASHNODE, dump_hash_helper,
7764 _cpp_init_macro_hash, _cpp_dump_macro_hash, _cpp_make_hashnode,
7765 _cpp_lookup_slot): New functions.
7766 (HASHSIZE): new macro.
7767 (hashf, _cpp_install, _cpp_delete_macro): Delete.
7768 (_cpp_lookup): Use hashtab.h routines.
7770 * cppinit.c: Include hashtab.h.
7771 (cpp_reader_init): Call _cpp_init_macro_hash and
7772 _cpp_init_include_hash. Don't allocate hashtab directly.
7773 (cpp_cleanup): Just call htab_delete on pfile->hashtab and
7774 pfile->all_include_files.
7775 (initialize_builtins): Use _cpp_make_hashnode and
7776 htab_find_slot to add hash entries.
7777 (cpp_finish): Just call _cpp_dump_macro_hash.
7778 * cpplib.c: Include hashtab.h.
7779 (do_define): Use _cpp_lookup_slot and _cpp_make_hashnode to
7780 create hash entries.
7781 (do_pragma_poison, do_assert): Likewise.
7782 (do_include): Don't push the buffer here. Don't increment
7783 system_include_depth unless _cpp_read_include_file succeeds.
7784 (do_undef, do_unassert): Use _cpp_lookup_slot and htab_clear_slot
7786 (do_pragma_implementation): Use alloca to create copy.
7788 * Makefile.in: Update dependencies.
7790 2000-03-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
7792 * cppinit.c (cl_directive_handler): More K&R fixing.
7794 Sat Mar 11 23:54:26 2000 Jim Wilson <wilson@cygnus.com>
7796 * config/ia64/ia64.c (ia64_compute_frame_size): Align size to
7798 * config/ia64/ia64.h (REGISTER_MOVE_COST): Add missing parentheses.
7800 2000-03-11 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
7802 * cppinit.c (no_arg, no_ass, no_dir, no_fil, no_mac, no_pth):
7803 Change from char[] to macros.
7805 2000-03-12 Neil Booth <NeilB@earthling.net>
7807 * cppinit.c (cpp_start_read): Update indirect function
7810 Sat Mar 11 16:18:12 2000 Jim Wilson <wilson@cygnus.com>
7812 * config/ia64/ia64.h (ADDITIONAL_REGISTER_NAMES): Fix typo in loc79
7815 * config/ia64/ia64-protos.h, config/ia64/ia64.c, config/ia64/ia64.h,
7816 config/ia64/ia64.md, config/ia64/xm-ia64.h: Fix copyright messages.
7818 2000-03-11 Neil Booth <NeilB@earthling.net>
7820 * cppinit.c (struct pending option): Replace undef with a
7821 pointer to a directive handling routine.
7822 (struct cpp_pending): Replace separate assert_ and define_
7823 lists with one directive_ list.
7824 (new_pending_define): Rename new_pending_directive. Extra
7825 argument is the directive's handling routine.
7826 (handle_option): Update to use new_pending_directive.
7828 2000-03-11 Neil Booth <NeilB@earthling.net>
7830 * cppfiles.c (file_cleanup, _cpp_find_include_file,
7831 remap_filename, _cpp_read_include_file, actual_directory,
7832 hack_vms_include_specification): Replace bcopy(), index() etc
7833 calls. Add casts to some allocations. Make some variables
7834 pointers to const [unsigned] char.
7835 * cpphash.c (_cpp_install, macro_cleanup, collect_expansion,
7836 collect_formal_parameters): Similarly.
7837 * cppinit.c (struct pending_option, append_include_chain,
7838 cpp_options_init, cpp_reader_init, initialize_standard_includes,
7839 cpp_start_read, new_pending_define, handle_option): Similarly.
7840 * cpplib.c (cpp_define, copy_comment, do_define, do_include,
7841 do_undef, do_error, do_warning, do_pragma, do_pragma_once,
7842 do_pragma_implementation, detect_if_not_defined,
7843 do_ifdef, skip_if_group, cpp_get_token, parse_string,
7844 do_assert, do_unassert): Similarly.
7845 * cpplib.h (cpp_buffer, cpp_options): Update types. Update
7846 function prototypes.
7847 * mkdeps.c (deps_add_target, deps_add_dep): cast allocations.
7849 2000-03-10 Richard Henderson <rth@cygnus.com>
7851 * builtins.c (expand_builtin_strlen): Revert last change.
7852 Use emit_insn_before if we're at the beginning of a sequence.
7854 2000-03-10 Jason Merrill <jason@casey.cygnus.com>
7856 * builtins.c (expand_builtin_strlen): Make sure that we have something
7857 at the beginning of the sequence.
7859 * toplev.c (rest_of_compilation): Also set TREE_NOTHROW for
7862 * invoke.texi (C++ Dialect Options): Document -fno-enforce-eh-specs.
7864 2000-03-10 Richard Henderson <rth@cygnus.com>
7866 * except.c (can_throw): Use INTVAL on a CONST_INT.
7867 (reachable_handlers): Likewise.
7868 * flow.c (count_basic_blocks, find_basic_blocks_1): Likewise.
7870 2000-03-10 Andreas Jaeger <aj@suse.de>
7872 * config/mips/linux.h: Undefine MD_EXEC_PREFIX and
7873 MD_STARTFILE_PREFIX since those are not needed on linux.
7874 (ASM_FILE_START): New, from mips/gnu.h.
7876 2000-03-09 Richard Henderson <rth@cygnus.com>
7877 Alex Samuel <samuel@codesourcery.com> and others
7879 * Makefile.in (ssa.o): New rule.
7881 (STAGESTUFF): Add *.ssa and *.ussa.
7882 (mostlyclean): Delete *.ssa, *.ussa, */*.ssa, */*.ussa.
7883 * rtl.def (PHI): New RTL expression.
7884 * rtl.h (clear_log_links): New declaration.
7885 (convert_to_ssa): Likewise.
7886 (convert_from_ssa): Likewise.
7887 * flow.c (split_edge): If the entry node falls through to the
7888 split edge's source block, split the entry edge.
7889 (clear_log_links): New function.
7890 * toplev.c (ssa_dump): New variable.
7891 (flag_ssa): Likewise.
7892 (f_options): Add "ssa".
7893 (compile_file): Create SSA dump files.
7894 (rest_of_compilation): Go to and from SSA if enabled.
7895 (decide_d_option): Handle -de for SSA dump files.
7898 Thu Mar 9 20:01:38 2000 Jim Wilson <wilson@cygnus.com>
7900 * expr.c (expand_assignment): For a CALL_EXPR, special case PARM_DECL
7903 2000-03-09 Benjamin Kosnik <bkoz@cygnus.com>
7905 * config/alpha/linux.h (WCHAR_TYPE): Make consistent.
7907 Thu Mar 9 18:10:02 2000 Jeffrey A Law (law@cygnus.com)
7909 * config/pa/pa-hpux10.h (LIB_SPEC): Correct typo in !p case.
7910 (MD_STARTFILE_PREFIX_1): New macro.
7912 2000-03-09 Robert Lipe <robertl@sco.com>
7914 * config/ia64/ia64.c: Include system.h.
7916 2000-03-09 Jason Merrill <jason@casey.cygnus.com>
7918 * except.c (nothrow_function_p): If -fno-exceptions, just return.
7919 (init_eh_nesting_info): Likewise.
7921 * tree.h (struct tree_common): Rename raises_flag to nothrow_flag.
7922 (TREE_NOTHROW): Rename from TREE_RAISES.
7923 * toplev.c (rest_of_compilation): Set it.
7924 * print-tree.c (print_node): Adjust.
7925 * tree.c (stabilize_reference, build, build1): Don't set TREE_RAISES.
7926 (stabilize_reference_1, get_unwidened, get_narrower): Likewise.
7927 * calls.c (emit_call_1): Add 'nothrow' parm. Add
7928 REG_EH_REGION note as appropriate.
7929 (libfunc_nothrow): New fn.
7930 (emit_library_call, emit_library_call_value): Use it.
7931 (expand_call): Check TREE_NOTHROW.
7933 * varasm.c (make_decl_rtl): Skip initial '*' when setting
7934 DECL_ASSEMBLER_NAME.
7936 2000-03-09 Andreas Jaeger <aj@suse.de>
7938 * mips/linux.h (NO_IMPLICIT_EXTERN_C): Define.
7939 (TARGET_MEM_FUNCTIONS): Define.
7941 2000-03-09 Jason Merrill <jason@casey.cygnus.com>
7943 * i386.c (ix86_valid_type_attribute_p): Use compare_tree_int.
7945 * except.c (can_throw): See through a SEQUENCE.
7946 (nothrow_function_p): New fn.
7947 * except.h: Declare it.
7948 * function.c (current_function_nothrow): New var.
7949 (prepare_function_start): Initialize it.
7950 * output.h: Declare it.
7951 * toplev.c (rest_of_compilation): Set it.
7952 * dwarf2out.c (dwarf2out_begin_prologue): Use it.
7954 2000-03-09 Zack Weinberg <zack@wolery.cumb.org>
7956 * cpphash.c (collect_formal_parameters): strncmp returns 0 for
7957 match. (cpp_compare_defs): Count the nul separator when
7958 advancing over argument names.
7960 2000-03-09 Bernd Schmidt <bernds@cygnus.co.uk>
7962 * recog.c (preprocess_constraints): Matching constraints affect
7963 same alternative/different operand, not same operand/different
7966 * reload1.c (eliminate_regs_in_insn): Handle additions of eliminable
7967 register and a constant specially.
7969 2000-03-08 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
7971 * libgcc2.h: New file.
7972 * libgcc2.c: Move macros, typedefs and prototypes to libgcc2.h.
7974 Wed Mar 8 16:19:42 2000 Jim Wilson <wilson@cygnus.com>
7976 * configure.in (ia64*-*-elf*, ia64*-*-linux*): New.
7977 * configure: Regenerate.
7980 2000-03-08 Zack Weinberg <zack@wolery.cumb.org>
7982 * Makefile.in (LIBCPP_DEPS): New macro.
7983 (cpplib.o, cpphash.o, cpperror.o, cppexp.o, cppfiles.o): Use
7985 * cpperror.c: Include cpphash.h.
7986 * cppexp.c: Include cpphash.h. Remove MULTIBYTE_CHARS
7988 (lex): Don't use CPP_WARN_UNDEF.
7989 (_cpp_parse_expr): Return an int, the truth value.
7990 * cppfiles.c: Include cpphash.h.
7991 (_cpp_merge_include_chains): Move to cppinit.c and make static.
7992 * cppinit.c (include_defaults_array): Disentangle.
7993 (cpp_cleanup): Don't free the if stack here.
7994 (cpp_finish): Pop off all buffers, not just one.
7995 * cpplib.c (eval_if_expr): Return int.
7996 (do_xifdef): Rename do_ifdef.
7997 (handle_directive): Don't use CPP_PREPROCESSED.
7998 (cpp_get_token): Don't use CPP_C89.
7999 * fix-header.c: Don't use CPP_OPTIONS.
8001 * cpplib.h: Move U_CHAR, enum node_type, struct
8002 file_name_list, struct ihash, is_idchar, is_idstart,
8003 is_numchar, is_numstart, is_hspace, is_space, CPP_BUF_PEEK,
8004 CPP_BUF_GET, CPP_FORWARD, CPP_PUTS, CPP_PUTS_Q, CPP_PUTC,
8005 CPP_PUTC_Q, CPP_NUL_TERMINATE, CPP_NUL_TERMINATE_Q,
8006 CPP_BUMP_BUFFER_LINE, CPP_BUMP_LINE, CPP_PREV_BUFFER,
8007 CPP_PRINT_DEPS, CPP_TRADITIONAL, CPP_PEDANTIC, and prototypes
8008 of _cpp_simplify_pathname, _cpp_find_include_file,
8009 _cpp_read_include_file, and _cpp_parse_expr to cpphash.h.
8010 Move struct if_stack to cpplib.c. Move struct cpp_pending to
8012 Change all uses of U_CHAR to be unsigned char instead.
8013 Delete CPP_WARN_UNDEF, CPP_C89, and CPP_PREPROCESSED.
8015 2000-03-08 Jason Merrill <jason@casey.cygnus.com>
8017 * dwarf2out.c (dw_fde_struct): Add 'nothrow'.
8018 (dwarf2out_begin_prologue): Set it.
8019 (output_call_frame_info): Don't emit EH unwind info for leaves.
8021 * flow.c (count_basic_blocks, find_basic_blocks_1): A rethrow
8022 can occur outside of an EH region.
8023 * except.c: Correct comments about rethrow behavior.
8024 (rethrow_symbol_map): Do nothing if !flag_new_exceptions.
8026 2000-03-08 Andrew MacLeod <amacleod@cygnus.com>
8028 * flow.c (make_edges): Always call make_eh_edge for calls.
8030 2000-03-08 Zack Weinberg <zack@wolery.cumb.org>
8032 * cpplib.h (parse_underflow_t, CPP_NULL_BUFFER): Delete.
8033 (struct cpp_buffer): Remove fname and underflow fields.
8034 (struct cpp_reader): Remove get_token field.
8035 (struct include_hash): Rename to struct ihash. Add typedef to
8037 (struct if_stack): Remove fname field.
8038 (IF_STACK_FRAME): Rename to IF_STACK.
8040 * cpperror.c (print_containing_files): Trust that there are no
8041 macro buffers below the top file buffer.
8042 * cppfiles.c: Replace all references to 'struct include_hash'
8043 with 'IHASH'. Rename initialize_input_buffer to
8044 init_input_buffer. Don't set or reference cpp_buffer->fname,
8045 use buffer->ihash->name instead.
8046 * cpphash.c (special_symbol): Use cpp_file_buffer. Use NULL
8047 not CPP_NULL_BUFFER.
8048 * cppinit.c: Use NULL not CPP_NULL_BUFFER, IF_STACK not
8049 IF_STACK_FRAME, IHASH not struct include_hash.
8050 * cpplib.c: Rename eval_if_expression to eval_if_expr. Remove
8051 null_underflow. Use IF_STACK not IF_STACK_FRAME, IHASH not
8052 struct include_hash, NULL not CPP_NULL_BUFFER. Remove all
8053 references to cpp_buffer->fname (delete entirely, or use
8054 ->ihash->name instead) and IF_STACK->fname.
8055 (cpp_push_buffer): Don't set new->underflow.
8056 (do_include): Use cpp_file_buffer.
8058 * cpphash.c (collect_formal_parameters): Remove duplicate
8059 increment of argslen. Pedwarn in C99 mode if __VA_ARGS__ is
8060 used as a macro argument name. Don't append "..." to namebuf
8061 for varargs macros. After we're done scanning, go through
8062 namebuf and make it NUL separated, not comma separated.
8063 (_cpp_compare_defs): Remove register tag from variables.
8064 Expect defn->argnames to be NUL separated.
8065 (_cpp_dump_definition): Expect defn->argnames to be NUL
8066 separated and in forward order.
8067 * cpphash.h: Update documentation of argnames field.
8069 2000-03-08 Richard Henderson <rth@cygnus.com>
8071 * builtins.c (expand_builtin_strlen): Be prepared for strlensi
8072 to fail. Don't pre-expand the source operand.
8074 * i386.md (strlensi): Initialize eoschar and align before use.
8076 2000-03-08 Jason Merrill <jason@casey.cygnus.com>
8078 * expr.c (expand_expr, case ARRAY_REF): Still check for missing
8079 CONSTRUCTOR element.
8081 2000-03-08 Gavin Romig-Koch <gavin@cetus.cygnus.com>
8083 * mips.c (mips_expand_prologue): If the last
8084 named argument is the vararg marker "va_list", treat it as
8085 an unnamed argument.
8087 2000-03-08 Clinton Popetz <cpopetz@cygnus.com>
8089 * dbxout.c (dbxout_parms): When correcting for promoted
8090 big-endian parameters, use the mode of the DECL_RTL rather
8091 than UNITS_PER_WORD.
8093 2000-03-08 Nathan Sidwell <nathan@codesourcery.com>
8095 * c-common.h (make_fname_decl): Declare.
8096 * c-common.c (make_fname_decl): Define.
8097 (declare_hidden_char_array): Remove.
8098 (declare_function_name): Use make_fname_decl.
8099 * c-decl.c (c_make_fname_decl): New function.
8100 (init_decl_processing): Set make_fname_decl.
8102 Tue Mar 7 23:50:31 2000 Jeffrey A Law (law@cygnus.com)
8104 * cccp.c (handle_directive): Initialize backslash_newlines_p.
8106 2000-03-07 Philipp Thomas <pthomas@suse.de>
8108 * po/POTFILES.in: Remove cppalloc.c from file list.
8110 2000-03-07 Steve Chamberlain <sac@pobox.com>
8112 * pj.c (pj_expand_prologue): current_function->args_info is
8113 now current_function_args_info.
8115 * pj.h (STORE_FLAG_VALUE, USER_LABEL_PREFIX,
8116 LOCAL_LABEL_PREFIX, ASM_GENERATE_INTERNAL_LABEL,
8117 ASM_OUTPUT_INTERNAL_LABEL, ASM_OUTPUT_SKIP): Define.
8119 2000-03-08 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
8121 * config/c4x/c4x.h (PUT_SDB_TYPE): Define so that the type info is
8122 output as hexadecimal rather than the default octal.
8124 2000-03-07 Zack Weinberg <zack@wolery.cumb.org>
8126 * cpphash.c (special_symbol): Fix thinko in previous commit.
8128 2000-03-07 Neil Booth <NeilB@earthling.net>
8130 * cppexp.c (struct operation, left_shift, right_shift,
8131 cpp_parse_expr): Change some "char"s to "U_CHAR"s, and some
8132 "int"s to "unsigned int"s.
8133 * cpplib.c (detect_if_not_defined, do_assert, do_unassert):
8135 * cpplib.h: Update for above.
8136 * mkdeps.c (deps_init, deps_calc_target): Cast pointers
8137 returned from allocations.
8139 * cppinit.c (opt_comp, parse_options): New functions.
8140 (handle_option): Use parse_option to parse a single command
8141 line option, that possibly takes an argument.
8142 (cpp_handle_options): Sort the array of command line options on
8143 first invocation (non-ASCII hosts only).
8144 (print_help): Update.
8146 2000-03-07 Zack Weinberg <zack@wolery.cumb.org>
8148 * mkdeps.c (munge): Fix off-by-one bug and inconsistencies in
8149 backslash counting loops. Problem noted by Matt Kraai <kraai@ghs.com>.
8151 * cppfiles.c (_cpp_find_include_file): Make sure ih->name is
8153 * cppinit.c (cpp_cleanup): Free imp->nshort also.
8155 * cpperror.c (cpp_print_containing_files,
8156 cpp_print_file_and_line, v_cpp_message): Rename to
8157 print_containing_files, print_file_and_line, and v_message.
8158 * cppexp.c (cpp_parse_expr, cpp_parse_escape, cpp_lex): Rename
8159 to _cpp_parse_expr, parse_escape, and lex.
8160 (parse_charconst): Remove broken multibyte support.
8161 * cppfiles.c (include_hash): Make static.
8162 (cpp_included): New function.
8163 (merge_include_chains, find_include_file, finclude,
8164 simplify_pathname): Rename to _cpp_merge_include_chains,
8165 _cpp_find_include_file, _cpp_read_include_file, and
8166 _cpp_simplify_pathname.
8167 * cpphash.c (cpp_lookup, free_definition, delete_macro,
8168 cpp_install, create_definition, macroexpand, compare_defs,
8169 dump_definition): Rename to _cpp_lookup, _cpp_free_definition,
8170 _cpp_delete_macro, _cpp_install, _cpp_create_definition,
8171 _cpp_macroexpand, _cpp_compare_defs, and _cpp_dump_definition.
8172 * cppinit.c (cpp_handle_option): Rename to handle_option, make
8174 * cpplib.c: Remove extern prototype of cpp_parse_expr.
8176 * cpphash.h: Update prototypes.
8177 * cpplib.h: Likewise. Prototype _cpp_parse_expr here.
8179 2000-03-07 Andrew Haley <aph@cygnus.com>
8181 * config/mips/mips.h (PTRDIFF_TYPE): Revert broken change;
8182 PTRDIFF_TYPE should be based solely on Pmode.
8185 2000-03-07 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
8187 * rtl.h (rtunion_def): Constify member `rtstr'.
8188 (emit_line_note_after, emit_line_note, emit_line_note_force,
8189 emit_note, decode_asm_operands): Constify.
8191 * cse.c (canon_hash): Likewise.
8193 * dbxout.c (dbxout_block): Likewise.
8195 * diagnostic.c (file_and_line_for_asm, v_error_for_asm,
8196 v_warning_for_asm): Likewise.
8198 * dwarfout.c (function_start_label): Likewise.
8200 * emit-rtl.c (emit_line_note_after, emit_line_note, emit_note,
8201 emit_line_note_force): Likewise.
8203 * final.c (last_filename, asm_insn_count, final_scan_insn,
8204 output_source_line): Likewise.
8206 * function.h (struct emit_status): Likewise.
8208 * gcse.c (hash_expr_1): Likewise.
8210 * genattr.c (gen_attr, main): Likewise.
8212 * genattrtab.c (struct function_unit, current_alternative_string,
8213 write_attr_valueq, n_comma_elts, next_comma_elt, attr_eq,
8214 attr_numeral, check_attr_test, check_attr_value,
8215 convert_set_attr_alternative, convert_set_attr,
8216 compute_alternative_mask, simplify_by_exploding, gen_attr,
8217 gen_unit): Likewise.
8219 * genflags.c (gen_insn): Likewise.
8221 * gengenrtl.c (type_from_format): Likewise.
8223 * genopinit.c (gen_insn): Likewise.
8225 * genoutput.c (n_occurrences, process_template, process_template):
8228 * ggc-page.c (ggc_set_mark, ggc_mark_if_gcable, ggc_get_size):
8231 * ggc-simple.c (ggc_set_mark, ggc_mark_if_gcable, ggc_get_size):
8234 * ggc.h (ggc_mark_string, ggc_mark, ggc_mark_if_gcable,
8235 ggc_set_mark, ggc_get_size): Likewise.
8237 * objc/objc-act.c (build_module_descriptor, finish_objc): Likewise.
8239 * optabs.c (init_one_libfunc): Likewise.
8241 * output.h (assemble_start_function): Likewise.
8243 * recog.c (decode_asm_operands): Likewise.
8245 * toplev.c (rest_of_compilation): Likewise.
8247 * tree.h (emit_line_note_after, emit_line_note,
8248 emit_line_note_force): Likewise.
8250 * varasm.c (asm_output_bss, asm_output_aligned_bss,
8251 asm_emit_uninitialised, assemble_start_function,
8252 assemble_variable, const_hash, compare_constant_1,
8253 find_pool_constant, mark_constant_pool, assemble_alias): Likewise.
8255 * xcoffout.h (DBX_FINISH_SYMBOL): Likewise.
8257 * alpha/alpha.md (call_vms, call_value_vms): Likewise.
8259 * arm/aof.h (ASM_OUTPUT_ASCII): Likewise.
8261 * arm/aout.h (ASM_OUTPUT_ASCII): Likewise.
8263 * arm/arm-protos.h (output_ascii_pseudo_op, arm_dllexport_name_p,
8264 arm_dllimport_name_p): Likewise.
8266 * arm/arm.c (arm_encode_call_attribute, output_ascii_pseudo_op):
8269 * arm/arm.h (ASM_OUTPUT_MI_THUNK): Likewise.
8271 * arm/elf.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
8273 * arm/pe.c (arm_dllexport_name_p, arm_dllimport_name_p,
8274 arm_mark_dllexport, arm_mark_dllimport,
8275 arm_pe_encode_section_info): Likewise.
8277 * arm/telf.h (ASM_OUTPUT_DEF_FROM_DECLS,
8278 ASM_FINISH_DECLARE_OBJECT): Likewise.
8280 * arm/thumb.c (thumb_function_prologue): Likewise.
8282 * arm/thumb.h (ASM_OUTPUT_ASCII): Likewise.
8284 * avr/avr.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
8286 * clipper/clix.h (ASM_OUTPUT_ASCII): Likewise.
8288 * fx80/fx80.h (ASM_OUTPUT_ASCII): Likewise.
8290 * i386/cygwin.h (ASM_OUTPUT_SECTION_NAME): Likewise.
8292 * i386/freebsd.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
8294 * i386/i386-interix.h (ASM_OUTPUT_LIMITED_STRING,
8295 ASM_OUTPUT_ASCII, ASM_OUTPUT_SECTION_NAME): Likewise.
8297 * i386/i386-protos.h (asm_output_function_prefix): Likewise.
8299 * i386/i386.c (asm_output_function_prefix): Likewise.
8301 * i386/i386elf.h (ASM_OUTPUT_ASCII): Likewise.
8303 * i386/osfrose.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
8305 * i386/ptx4-i.h (ASM_OUTPUT_ASCII): Likewise.
8307 * i386/sco5.h (ASM_FINISH_DECLARE_OBJECT,
8308 ASM_OUTPUT_LIMITED_STRING, ASM_OUTPUT_ASCII,
8309 ASM_OUTPUT_SECTION_NAME): Likewise.
8311 * i386/sysv4.h (ASM_OUTPUT_ASCII): Likewise.
8313 * i860/paragon.h (ASM_OUTPUT_ASCII): Likewise.
8315 * i860/sysv3.h (ASM_OUTPUT_ASCII): Likewise.
8317 * m32r/m32r.c (m32r_encode_section_info): Likewise.
8319 * mcore-elf.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
8321 * mcore/mcore.c (mcore_encode_section_info): Likewise.
8323 * mips/elf.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
8325 * mips/elf64.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
8327 * mips/iris6.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
8329 * mips/mips.h (ASM_OUTPUT_IDENT): Likewise.
8331 * mips/mips.md (movdi, movsi): Likewise.
8333 * mips/netbsd.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
8335 * netbsd.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
8337 * openbsd.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
8339 * ptx4.h (ASM_FINISH_DECLARE_OBJECT, ASM_OUTPUT_LIMITED_STRING,
8340 ASM_OUTPUT_ASCII): Likewise.
8342 * rs6000/rs6000.c (rs6000_allocate_stack_space, output_epilog,
8343 output_mi_thunk, output_toc): Likewise.
8345 * rs6000/rs6000.md (movsi): Likewise.
8347 * rs6000/sysv4.h (ASM_OUTPUT_INT, ASM_OUTPUT_SECTION_NAME): Likewise.
8349 * tahoe/harris.h (ASM_OUTPUT_ASCII): Likewise.
8351 * v850/v850.c (print_operand, print_operand_address,
8352 v850_encode_data_area): Likewise.
8354 2000-03-07 Clinton Popetz <cpopetz@cygnus.com>
8356 * config/mips/mips.md (zero_extendsidi2): Always force operand
8357 one to memory for mips16.
8359 Mon Mar 6 15:22:29 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
8361 * tree.h (INT_CST_LT, INT_CST_LT_UNSIGNED): Remove unneeded casts.
8362 (struct tree_int_cst): int_cst_low is now unsigned HOST_WIDE_INT.
8363 (attribute_hash_list, type_hash_canon): hashcode is now unsigned.
8364 (type_hash_lookup, type_hash_add, type_hash_list): Likewise.
8365 (min_precision): Result is unsigned.
8366 (add_double, neg_double, mul_double): Low word is unsigned.
8367 (lshift_double, rshift_double, lrotate_double): Likewise.
8368 (rrotate_double, div_and_round_double): Likewise.
8369 (tree_floor_log2, compare_tree_int): New functions.
8370 (preserve_rtl_expr_temps): New declaration.
8371 * c-common.c (declare_hidden_char_array): Use compare_tree_int.
8372 (decl_attributes): Use tree_log2 to find alignment.
8373 Check for TREE_INT_CST_HIGH for format args.
8374 (min_precision): Now unsigned.
8375 Use tree_floor_log2.
8376 (truthvalue_conversion): Delete long-disabled code.
8377 * c-decl.c (finish_struct): Clean up tests on field width.
8378 (finish_function): Use compare_tree_int.
8379 * c-pragma.c (handle_pragma_token): Use tree_log2 for alignment.
8380 * c-typeck.c (comptypes): Use tree_int_cst_equal.
8381 (default_conversion, digest_init): Use compare_tree_int.
8382 (build_binary_op): Use integer_all_onesp and compare_tree_int.
8383 Fix type errors in forming masks.
8384 * calls.c (initialize_argument_information): Use compare_tree_int.
8385 * dbxout.c (dbxout_type): Cast TREE_INT_CST_LOW to HOST_WIDE_INT.
8386 * except.c (expand_eh_region_start_tree): Use compare_tree_int.
8387 * expr.c (is_zeros_p, case INTEGER_CST): Use integer_zerop.
8388 (store_field): Use compare_tree_int.
8389 (expand_expr, case CONSTRUCTOR): Use TYPE_SIZE_UNIT.
8390 (expand_expr, case ARRAY_REF): Use compare_tree_int.
8391 (do_jump, case BIT_AND_EXPR): Use tree_floor_log2.
8392 (do_store_flag): Use compare_tree_int.
8393 * fold-const.c (encode, decode): Low part is always unsigned.
8394 (force_fit_type, add_double, neg_double, mul_double): Likewise.
8395 (lshift_double, rshift_double, lrotate_double): Likewise.
8396 (rrotate_double, div_and_round_double, int_const_binop): Likewise.
8397 (fold_convert): Use compare_tree_int.
8398 (operand_equal_p, case INTEGER_CST): Use tree_int_cst_equal.
8399 (invert_truthvalue, case INTEGER_CST): Likewise.
8400 (fold): Use compare_tree_int; add casts for unsigned TREE_INT_CST_LOW.
8401 * mkdeps.c (deps_dummy_targets): Make I unsigned.
8402 * rtl.h (add_double, neg_double, mul_double): Low words are unsigned.
8403 (lshift_double, rshift_double, lrotate_double, rrotate_double):
8405 * stmt.c (expand_decl): Use compare_tree_int and mode_for_size_tree.
8406 (expand_end_case): Use compare_tree_int.
8407 (estimate_case_costs): Cast TREE_INT_CST_LOW to HOST_WIDE_INT.
8408 * stor-layout.c (mode_for_size_tree): Use compare_tree_int.
8409 (layout_decl): Likewise.
8410 (layout_record, layout_union): Make sizes unsigned.
8411 (layout_type, case VOID_TYPE): TYPE_SIZE must be bitsizetype.
8412 (layout_type, case QUAL_UNION_TYPE): Use compare_tree_int.
8413 * tree.c (struct type_hash): hashcode is unsigned.
8414 (build_type_attribute_variant, type_hash_list): Likewise.
8415 (type_hash_lookup, type_hash_add, type_hash_canon): Likewise.
8416 (attribute_hash_list, build_array_type, build_method_type): Likewise.
8417 (build_complex_type): Likewise.
8418 (real_value_from_int_cst): Remove unneeded casts.
8419 (integer_all_onesp): Add casts.
8420 (tree_floor_log2, compare_tree_int): New functions.
8421 (build_index_type): Use tree_int_cst_sgn.
8422 * varasm.c (assemble_variable): Use compare_tree_int.
8424 2000-03-06 Jason Merrill <jason@casey.cygnus.com>
8426 * cpphash.c (collect_expansion): Also catch ## at start of macro.
8428 * varasm.c (make_decl_rtl): Don't add a number to members of
8430 (make_function_rtl): Likewise.
8432 2000-03-06 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
8434 * gcse.c (compute_can_copy): Adjust if/else blocks from rth's
8435 patch from 2000-01-28.
8437 2000-03-06 Clinton Popetz <cpopetz@cygnus.com>
8439 * config/sh/sh.c: (barrier_align): Handle a delay slot that is
8440 filled with an insn from the jump target.
8442 2000-03-07 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
8444 * config/c4x/c4x-protos.h (c4x_global_name): Constify char *.
8445 (c4x_external_ref): Likewise.
8446 * config/c4x/c4x.c (struct name_list): Likewise.
8448 1999-12-16 Ben Collins <bcollins@debian.org>
8450 * Makefile.in: Pass a new MULTILIB_EXCLUSIONS option as the sixth
8451 argument to genmultilib.
8452 * genmultilib: accept new MULTILIB_EXCLUSIONS option and output
8453 the contents into the multilib.h header.
8454 * gcc.c: Declare multilib_exclusions for the specs file.
8455 (set_multilib_dir): Use it.
8456 (print_multilib_info): Likewise.
8457 * t-linux64: Declare arguments for new MULTILIB_EXCLUSIONS option
8458 to pass to genmultilib.
8460 2000-03-06 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
8462 * builtins.c (built_in_class_names, built_in_names): Constify a
8465 * gmon-sol2.c (monstartup, moncontrol): Cast ptrs to long, not
8467 (_mcleanup): Ensure value matches format specifier in sprintf.
8469 * cpphash.c (special_symbol): Don't needlessly cast away
8472 * cppinit.c (base_name): Delete unused prototype.
8474 * mkdeps.c (deps_init): Make definition K&R safe.
8476 * tree.h (built_in_class_names, built_in_names): Constify a
8479 2000-03-06 Jakub Jelinek <jakub@redhat.com>
8481 * config/sparc/sparc.c (eligible_for_epilogue_delay): Accept
8482 floating point instructions for epilogue delay.
8484 * config/sparc/sparc.h (ASM_ARCH64_SPEC): Pass -no-undeclared-regs
8485 to gas if it supports .register pseudo.
8487 * real.h (MAX_LONG_DOUBLE_TYPE_SIZE): Define to
8488 LONG_DOUBLE_TYPE_SIZE if not defined.
8489 Use MAX_LONG_DOUBLE_TYPE_SIZE instead of
8490 LONG_DOUBLE_TYPE_SIZE in preprocessor if clauses.
8492 * gengenrtl.c: Likewise.
8493 * print-rtl.c: Likewise.
8495 * config/sparc/sol2-sld-64.h (TARGET_DEFAULT): Set
8496 MASK_LONG_DOUBLE_128.
8497 * config/sparc/sol2.h (TARGET_DEFAULT): Likewise.
8498 * config/sparc/sp64-elf.h (TARGET_DEFAULT): Likewise.
8499 * config/sparc/linux64 (TARGET_DEFAULT): Likewise.
8500 (SUBTARGET_SWITCHES): Define.
8501 (CPP_ARCH32_SPEC): Define __LONG_DOUBLE_128__ if compiling
8502 with -mlong-double-128.
8503 (LONG_DOUBLE_TYPE_SIZE): Define depending on target_flags.
8504 (MAX_LONG_DOUBLE_TYPE_SIZE): Define.
8505 (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Define depending on CPP macros.
8506 (CC1_SPEC): Include -mlong-double-{64,128} as needed.
8507 * config/sparc/linux.h (SUBTARGET_SWITCHES): Define.
8508 (CPP_SUBTARGET_SPEC): Define __LONG_DOUBLE_128__ if compiling
8509 with -mlong-double-128.
8510 (LONG_DOUBLE_TYPE_SIZE): Define depending on target_flags.
8511 (MAX_LONG_DOUBLE_TYPE_SIZE): Define.
8512 (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Define depending on CPP macros.
8513 * config/sparc/sparc.h (MASK_LONG_DOUBLE_128,
8514 TARGET_LONG_DOUBLE_128): Define.
8515 * config/sparc/linux-aout.h (LONG_DOUBLE_TYPE_SIZE): Remove.
8516 * config/sparc/sparc.c (sparc_override_options): Disallow 64bit
8517 long double on TARGET_ARCH64.
8519 2000-03-06 Mark Mitchell <mark@codesourcery.com>
8521 * function.c (free_temps_for_rtl_expr): Don't free slots
8522 that have been pushed into a higher level.
8525 2000-03-05 Mark Mitchell <mark@codesourcery.com>
8527 2000-03-05 Mark Mitchell <mark@codesourcery.com>
8529 * basic-block.h (ALLOCA_REG_SET): Remove.
8530 (INITIALIZE_REG_SET): New macro.
8531 * flow.c (update_life_info): Use it.
8532 (calculate_global_regs_live): Likewise.
8533 (propagate_block): Likewise.
8534 * global.c (build_insn_chain): Likewise.
8535 * haifa-sched.c (schedule_region): Likewise.
8537 2000-03-05 Stephane Carrez <stcarrez@worldnet.fr>
8539 * dwarf2out.c (UNALIGNED_WORD_ASM_OP): Support 2 bytes pointer.
8540 (ASM_OUTPUT_DWARF_ADDR_CONST): Use UNALIGNED_WORD_ASM_OP.
8541 (DWARF_ARANGES_PAD_SIZE): New define.
8542 (output_aranges): Use it to pad the address range header.
8543 (DWARF_ROUND): Fix for non power of 2 rounding.
8545 2000-03-05 Jason Merrill <jason@casey.cygnus.com>
8547 * mkdeps.c (deps_calc_target): Remove incorrect 'const'.
8549 2000-03-05 Mark Mitchell <mark@codesourcery.com>
8551 * tree.def (RTL_EXPR): Update documentation.
8552 * tree.h (RTL_EXPR_HAS_NO_SCOPE): New macro.
8553 * expr.c (expand_expr): Handle RTL_EXPR_HAS_NO_SCOPE.
8554 * function.c (preserve_rtl_expr_temp): New function.
8555 (preserve_rtl_expr_temps): Likewise.
8556 (preserve_rtl_expr_result): Use it.
8559 2000-03-04 Mark Mitchell <mark@codesourcery.com>
8561 2000-03-04 Thomas Schuster <Thomas.Schuster@gmx.net>
8563 * regmove.c (copy_src_to_dest) Do not create src->dest move
8564 for unchanging destination.
8566 2000-03-04 Mark Mitchell <mark@codesourcery.com>
8568 * function.h (struct sequence_stack): Remove rtl_expr.
8569 (struct emit_staus): Likewise.
8570 (seq_rtl_expr): Remove.
8571 * tree.h (free_temps_for_rtl_expr): Don't declare.
8572 (start_sequence_for_rtl_expr): Likewise.
8573 * rtl.h (preserve_rtl_expr_result): Likewise.
8574 * emit-rtl.c (start_sequence): Don't set sequence_rtl_expr.
8575 (start_sequence_for_rtl_expr): Remove.
8576 (push_topmost_sequence): Don't save sequence_rtl_expr.
8577 (pop_topmost_sequence): Remove comment about not restoring it.
8578 (end_sequence): Don't set seq_rtl_expr.
8579 (init_emit): Don't initialize it.
8580 (mark_sequence_stack): Don't mark it.
8581 (mark_emit_status): Likewise.
8582 * except.c (protect_with_terminate): Use
8583 start_sequence_for_rtl_expr, not start_sequence.
8584 * expr.c (expand_expr, case RTL_EXPR): Don't call
8585 preserve_rtl_expr_result or free_temps_for_rtl_expr.
8586 * function.c (assign_stack_temp_for_type): Don't set rtl_expr.
8587 (preserve_rtl_expr_result): Remove.
8588 (free_temps_for_rtl_expr): Likewise.
8589 (pop_temp_slots): Likewise.
8590 (mark_temp_slot): Don't mark the rtl_expr.
8591 * stmt.c (expand_start_stmt_expr): Use start_sequence, not
8592 start_sequence_for_rtl_expr.
8594 2000-03-04 Zack Weinberg <zack@wolery.cumb.org>
8596 * mkdeps.c, mkdeps.h: New files.
8597 * po/POTFILES.in: Add them.
8598 * Makefile.in (LIBCPP_OBJS): Add mkdeps.o.
8599 (cpplib.o, cppinit.o): Depend on mkdeps.h.
8600 (mkdeps.o): New target.
8602 * cppfiles.c: Delete deps_output.
8603 * cppinit.c: Include mkdeps.h. Delete known_suffixes,
8604 OBJECT_SUFFIX, and base_name.
8605 (cpp_cleanup): Use deps_free. Free ihash->name when clearing
8607 (initialize_dependency_output): Use deps_init,
8608 deps_add_target, deps_calc_target, and deps_add_dep. Remove
8609 all the unnecessary string bashing.
8610 (cpp_finish): Use deps_write. Remove an unnecessary nesting
8612 * cpplib.c (do_include): Use deps_add_dep.
8613 * cpplib.h (struct cpp_reader): Replace deps_buffer,
8614 deps_allocated_size, deps_size, deps_column members with
8615 single pointer to a struct deps. Delete prototype of
8618 * cppinit.c: Fix thinko in previous patch.
8620 Sat Mar 4 11:32:30 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
8622 * machmode.h (mode_for_size, smallest_mode_for_size): SIZE now signed.
8623 * stor-layout.c (mode_for_size, smallest_mode_for_size): Likewise.
8624 (mode_for_size_tree): New function.
8625 (layout_decl, layout_type): Call it and clean up BLKmode checks.
8626 * tree.h (mode_for_size_tree): New declaration.
8628 * toplev.c (debug_ignore_block): Mark arg BLOCK as possibly unused.
8630 2000-03-04 Jason Merrill <jason@casey.cygnus.com>
8632 * stmt.c (is_body_block): Move...
8633 * dwarfout.c, dwarf2out.c: ...from here.
8634 * tree.h: Declare it.
8635 * emit-rtl.c (remove_unncessary_notes): Don't remove the body block.
8636 * final.c (final_start_function): Do call remove_unnecessary_notes
8639 2000-03-03 Zack Weinberg <zack@wolery.cumb.org>
8641 * config/vax/xm-vms.h: Define OBJECT_SUFFIX and EXECUTABLE_SUFFIX.
8643 * cpplib.h (_dollar_ok): New macro.
8644 (is_idchar, is_idstart): Use it.
8645 (IStable): Rename to _cpp_IStable. Declare it const if
8646 gcc >=2.7 or C99. Delete all references to FAKE_CONST.
8647 (is_idchar, is_idstart, is_numchar, is_numstart, is_hspace,
8648 is_space): Update for renamed IStable.
8650 * cppinit.c: Delete all references to FAKE_CONST and CAT
8651 macros. Define init_IStable as empty macro if gcc >=2.7 or
8652 C99. Change TABLE() to ISTABLE and hardcode name of table.
8653 (cpp_start_read): Don't change the IStable based on
8656 * cpphash.c (unsafe_chars): Add pfile argument. All callers
8657 changed. Handle '$' for char1 correctly.
8658 * cpplib.c (cpp_get_token): Use is_numchar when parsing numbers.
8660 * cppexp.c (tokentab2): Make const.
8661 (cpp_lex): Make toktab const.
8662 * cppinit.c (include_defaults_array): Make const.
8663 (initialize_standard_includes): Make default_include const.
8665 2000-03-03 Jason Merrill <jason@casey.cygnus.com>
8667 * dwarf2out.c (dwarf2out_frame_debug): Add cast to silence warning.
8668 (dwarf2out_decl): Functions can now have DECL_IGNORED_P.
8669 (gen_decl_die): Likewise.
8670 * dwarfout.c (dwarfout_file_scope_decl): Likewise.
8671 (output_decl): Likewise.
8673 * varasm.c (make_function_rtl): If we change the name used in the
8674 rtl, update DECL_ASSEMBLER_NAME accordingly.
8675 (make_decl_rtl): Likewise.
8677 * toplev.c (rest_of_compilation): Tweak formatting.
8679 * toplev.c (rest_of_compilation): find_loop_tree_blocks before
8680 remove_unnecessary_notes.
8681 (debug_ignore_block): New fn.
8682 * toplev.h: Declare it.
8683 * emit-rtl.c (remove_unncessary_notes): Call it.
8684 * dwarf2out.c (dwarf2out_ignore_block): New fn.
8685 * dwarf2out.h: Declare it.
8686 * final.c (final_start_function): Don't call remove_unnecessary_notes
8687 if we did insn scheduling.
8689 2000-03-03 Zack Weinberg <zack@wolery.cumb.org>
8691 * cppinit.c (cpp_handle_option): Set opts->pedantic directly.
8692 * cpplib.h: Delete SET_CPP_PEDANTIC.
8694 Fri Mar 3 14:56:12 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
8696 * expr.c (expand_expr, case COMPONENT_REF): Use bitfield case if
8697 result is a RECORD_TYPE.
8699 2000-03-03 Jonathan Larmour <jlarmour@cygnus.co.uk>
8701 * mips/elf.h (CTOR_LISTS_DEFINED_EXTERNALLY): Added.
8703 2000-03-03 Richard Henderson <rth@cygnus.com>
8705 * alpha.c (alpha_emit_set_const_1): Re-order cases to prefer
8706 addition over compliments over shifts.
8708 Fri Mar 3 12:49:28 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
8710 * reload1.c (reload_combine_note_use): Handle return register USEs.
8711 REG case: Handle multi-hard-register hard regs.
8713 Fri Mar 3 07:38:34 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
8715 * md.texi: Document use of '*' in insn pattern name.
8717 2000-03-03 Jason Merrill <jason@casey.cygnus.com>
8719 * calls.c (special_function_p): operator new may not be malloc-like.
8721 * gcse.c (dump_hash_table): Really fix error in last change.
8723 2000-03-02 Denis Chertykov <denisc@overta.ru>
8725 * avr.c (print_operand): Use print_operand_address instead of
8727 * avr/libgcc.S: Cleanup code.
8729 2000-03-02 Richard Henderson <rth@cygnus.com>
8731 * alpha.c (alpha_emit_set_const_1): Also try c + small constant.
8733 2000-03-02 Mark Mitchell <mark@codesourcery.com>
8735 * tree.h (TYPE_ALIGN_UNIT): New macro.
8737 2000-03-02 Clinton Popetz <cpopetz@cygnus.com>
8739 * i386.c: (constant_call_address_operand): Reject CONST_INT.
8741 2000-03-02 Jason Merrill <jason@casey.cygnus.com>
8743 * cpplib.h (CPP_PEDANTIC): Only true if system_header_p is not set
8745 (SET_CPP_PEDANTIC): New macro.
8746 * cpplib.c (do_include): Don't bother checking system_header_p.
8747 (do_warning, do_ident, do_assert, do_unassert): Likewise.
8748 * cppinit.c (cpp_handle_option): Use SET_CPP_PEDANTIC.
8750 * function.h (struct expr_status): Add x_arg_space_so_far.
8751 (arg_space_so_far): New macro.
8752 * expr.c (init_expr): Initialize it.
8753 * calls.c (emit_call_1): Reset it.
8754 (compute_argument_block_size, expand_call): Use it.
8755 (expand_call, store_one_arg): Increment it.
8757 Thu Mar 2 17:27:13 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
8759 * varasm.c (output_constant): Strip off a CONVERT_EXPR to
8762 2000-03-02 Zack Weinberg <zack@wolery.cumb.org>
8764 * cppfiles.c (cpp_read_file): New function.
8766 * cpphash.c (collect_expansion): Make sure to reset last_token
8767 to NORM when we hit a string. Handle trailing whitespace
8768 properly when the expansion is empty.
8769 (create_definition): Disable line commands while parsing the
8771 (dump_definition): If pfile->lineno == 0, output a line
8772 command ahead of the dump, and add a trailing newline.
8774 * cppinit.c (append_include_chain): Add fifth argument, which
8775 indicates whether or not system headers are C++ aware.
8776 (initialize_standard_includes): New function,
8777 broken out of read_and_prescan. Pass 'cxx_aware' value from
8778 the include_defaults_array on to append_include_chain.
8779 (dump_special_to_buffer): Const-ify char array.
8780 (builtin_array): Don't dump __BASE_FILE__.
8781 (cpp_start_read): Use cpp_read_file. Reorder code for
8782 clarity. Don't output line commands here for -D/-A/-U
8783 switches. Don't call deps_output for files included with
8784 -include or -imacros.
8786 * cpplib.c (do_define): Don't pay any attention to the second
8788 (cpp_expand_to_buffer): Disable line commands while scanning.
8789 (output_line_command): Work in the file buffer.
8790 * cpplib.h: Remove no_record_file flag from struct cpp_reader.
8791 Fix formatting of comments. Prototype cpp_read_file.
8793 Thu Mar 2 13:29:46 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
8795 * c-common.c (c_common_nodes_and_builtins): Make sizetype_endlink
8796 reference the language-equivalent of sizetype.
8797 * c-typeck.c (comptypes): Treat sizetype like its language equivalent.
8798 * fold-const.c (size_binop, size_diffop): Put back checks.
8799 * gcse.c (dump_hash_table): Fix minor error in last change.
8800 * stor-layout.c (set_sizetype): Set TYPE_DOMAIN of sizetype.
8801 Clear TYPE_{NEXT,MAIN}_VARIANT and TYPE_{POINTER,REFERENCE}_to of
8804 Thu Mar 2 12:48:45 MET 2000 Jan Hubicka <jh@suse.cz>
8806 * calls.c (expand_call) Do not attempt to combine stack adjustments
8807 with inhibit_defer_pop set.
8809 2000-03-01 Mark Mitchell <mark@codesourcery.com>
8811 * stor-layout.c (layout_decl): Allow front-ends to explicitly set
8812 the DECL_SIZE for a FIELD_DECL.
8814 2000-03-01 Bruce Korb <bkorb@gnu.org>
8816 * fixinc/inclhack.tpl: remove unused symlinks
8817 * fixinc/README: GCC Maintainer info
8818 * fixinc/inclhack.sh: regen
8819 * fixinc/fixincl.sh: regen
8821 2000-03-01 Zack Weinberg <zack@wolery.cumb.org>
8823 * cpphash.c (collect_expansion): Trim trailing white space
8824 from macro definitions, but don't go past the last insertion
8827 Wed Mar 1 12:14:31 MET 2000 Jan Hubicka <jh@suse.cz>
8829 * i386.md (mulqi3): New pattern.
8831 2000-02-29 Zack Weinberg <zack@wolery.cumb.org>
8833 * cpplib.h (CPP_ASSERTION, CPP_STRINGIZE, CPP_TOKPASTE): New
8835 (struct cpp_reader): Add parsing_if_directive and
8836 parsing_define_directive flags.
8837 (struct cpp_options): Remove output_conditionals flag.
8838 (check_macro_name): Delete prototype.
8840 * cpphash.h (struct macrodef): Delete.
8841 (struct reflist): Separate from struct definition.
8842 (struct definition): Remove unused fields. Add column number.
8843 (create_definition): Returns a DEFINITION *. Takes a
8844 cpp_reader * and an int.
8846 * cpphash.c (SKIP_WHITE_SPACE): Delete.
8847 (PEEKC): Copy defn from cpplib.c.
8848 (rest_extension, REST_EXTENSION_LENGTH): Delete.
8850 (struct arglist): Simplify.
8851 (collect_expansion): Rewrite. Get tokens by calling
8852 cpp_get_token. Add more error checking.
8853 (collect_formal_parameters): New function, broken out of
8854 create_definition and reworked to use get_directive_token.
8855 (create_definition): All real work is now in collect_expansion
8856 and collect_formal_parameters. do_define handles finding the
8857 macro name. Return a DEFINITION, not a MACRODEF.
8858 (macroexpand): Replace bcopy with memcpy throughout. Replace
8859 character-at-a-time copy loop with memcpy and pointer increments.
8860 (compare-defs): d1->argnames / d2->argnames might be null.
8862 * cpplib.c (copy_rest_of_line): Delete function.
8863 (skip_rest_of_line): Do all the work ourselves.
8864 (skip_string): New function.
8865 (parse_string): Use skip_string.
8866 (get_macro_name): New function.
8867 (check_macro_name): Delete.
8868 (copy_comment): Use CPP_RESERVE and CPP_PUTC_Q.
8869 (cpp_skip_hspace): Use CPP_BUMP_LINE.
8870 (handle_directive): ICE if we're called on a macro buffer.
8871 (do_define): Determine macro name and type (funlike/objlike)
8872 here. Expunge all uses of MACRODEF.
8873 (cpp_push_buffer): Set line_base to NULL.
8874 (do_undef, read_line_number): Don't worry about getting a POP token.
8875 (eval_if_expression): Set/reset parsing_if_directive around
8876 cpp_parse_expr. Don't clear only_seen_white.
8877 (skip_if_group): Remove output_conditionals logic. Use
8879 (cpp_get_token): Return ASSERTION, STRINGIZE, and TOKPASTE
8880 tokens under appropriate conditions.
8881 (cpp_unassert): Call do_unassert not do_assert. Oops.
8883 * cppexp.c (parse_defined): New function, break out of
8885 (cpp_lex): We now get CPP_ASSERTION tokens and can check them
8886 ourselves, with cpp_defined.
8887 * cppinit.c (cpp_handle_option, print_help): Delete -ifoutput.
8889 * gcc.dg/20000209-2.c: Turn off -pedantic-errors.
8890 * gcc.dg/strpaste-2.c: New.
8892 2000-02-29 Mark Mitchell <mark@codesourcery.com>
8894 * fold-const.c (size_binop): Don't asert inputs are the same and
8895 have TYPE_IS_SIZETYPE set.
8896 (size_diffop): Likewise.
8898 2000-02-29 Jason Merrill <jason@casey.cygnus.com>
8900 * dwarfout.c (output_block): Output abstract blocks even if they
8901 don't have TREE_ASM_WRITTEN set.
8903 * calls.c (emit_library_call): Check for null REG.
8905 2000-03-01 Martin von Loewis <loewis@informatik.hu-berlin.de>
8907 * c-decl.c (current_function_decl): Move to toplev.c.
8908 (init_decl_processing): Don't add current_function_decl as a ggc
8910 * dbxout.c (dbxout_symbol): Change return type to int.
8911 (dbxout_symbol_location, dbxout_syms): Likewise.
8912 (dbxout_block): Don't emit LBRAC/RBRAC pairs for blocks without
8913 any locals. Use current_function_func_begin_label if set.
8914 * dbxout.h (dbxout_symbol, dbxout_syms): Change return type.
8915 * dwarf2out.c (dwarf2out_begin_prologue): Set
8916 current_function_func_begin_label.
8917 * final.c (final_start_function): Reset it.
8918 * toplev.c (current_function_decl): Define it here.
8919 (current_function_func_begin_label): New variable.
8920 (main): Add both as ggc roots.
8921 * tree.h (current_function_func_begin_label): Declare.
8923 Tue Feb 29 14:07:04 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
8925 * gcse.c: Cleanups throughout: mostly white-space, but also
8926 some minor rearrangement of code.
8928 Tue Feb 29 10:45:59 2000 Jeffrey A Law (law@cygnus.com)
8930 * calls.c (emit_library_call): Do not abort if FUNCTION_ARG
8931 returns a PARALLEL. Use emit_group_load and use_group_regs
8933 (emit_library_call_value): Similarly.
8935 * pa/t-pa: Use quadlib.c instead of quadlib.asm.
8936 * pa/quadlib.asm: Remove.
8937 * pa/quadlib.c: New file.
8939 * configure.in (hpux10, hpux11, PA32 mode): Use i128 float format.
8940 * configure: Rebuilt.
8942 2000-02-29 Philip Blundell <pb@futuretv.com>
8944 * config/arm/conix-elf.h: New file.
8945 * configure.in (arm*-*-conix*): New configuration.
8946 * configure: Regenerate.
8948 2000-02-28 Jason Merrill <jason@casey.cygnus.com>
8950 * dwarf2out.c (gen_block_die): Output abstract blocks even if they
8951 don't have TREE_ASM_WRITTEN set.
8953 Mon Feb 28 21:07:59 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
8955 * Eliminate DECL_FIELD_SIZE.
8956 * builtins.c (built_in_class_names, built_in_names): New variables.
8957 * c-decl.c (finish_struct): Set specified size in DECL_SIZE.
8958 * expr.c (expand_expr, case COMPONENT_REF): Get field size from
8959 DECL_SIZE, not DECL_FIELD_SIZE.
8960 * print-tree.c (print_node): Remove code that prints extra blank
8961 lines in some cases.
8962 Properly handle inline and builtin function cases.
8963 * stor-layout.c (layout_decl): Get specified size from DEC_SIZE.
8964 * tree.h (built_in_class_named, built_in_names): New declarations.
8965 (union tree_decl): Rename internal unions to u1 and u2 and change
8966 some of their components.
8967 Add new field built_in_class.
8968 (DECL_ALIGN, DECL_INCOMING_RTL, DECL_SAVED_INSNS, DECL_FRAME_SIZE):
8969 Reflect above changes.
8970 (DECL_FUNCTION_CODE, DECL_BUILT_IN_CLASS): Likewise.
8971 (DECL_SET_FUNCTION_CODE, DECL_FIELD_SIZE): Deleted.
8972 * objc/objc-act.c (objc_copy_list): Use DECL_SIZE, not DECL_FIELD_SIZE.
8973 (encode_field_decl): Likewise; also remove obsolete test for bitfield.
8975 2000-02-28 Dmitri Makarov <dim@windriver.com>
8977 * extend.texi: Document ARM's support for long/short calls.
8979 * invoke.texi: Document ARM's -mlong-calls command line switch.
8981 * config/arm/arm-protos.h (arm_is_longcall_p): Add prototype.
8982 (arm_encode_call_attribute): Add prototype.
8983 (arm_set_default_type_attribute): Add prototype.
8984 (arm_strip_name_encoding): Add prototype.
8986 * config/arm/arm.c (arm_init_cumulative_args): replace
8987 initialisation og 'long_calls' field with initialisation of
8988 'call_cookie' field.
8989 (enum arm_pragma_enum): New enum.
8990 (arm_pragma_long_calls): New static variable.
8991 (arm_process_pragma): Also process "#pragma long_calls_off".
8992 (arm_valid_type_attribute_p): Accept short_call attribute.
8993 (arm_comp_type_attributes): Check long/short call attributes.
8994 (arm_encode_call_attribute): New function: Encode long_call
8995 or short_call attribute in function name.
8996 (arm_set_default_type_attributes): New function: Assign
8997 default attributes to newly defined type.
8998 (current_file_function_operand): New function: Return true if
8999 the symbol is a function which has already been compiled.
9000 (arm_is_longcall_p): New function: Return true if the
9001 indicated function should be called via a long call.
9002 (arm_get_strip_length): New function. Returns number of
9003 prefix characters to be stripped from a function's name.
9004 (arm_strip_name_encoding): New function. Strip prefix characters
9005 from a function's name.
9007 * config/arm/arm.h (CUMULATIVE_ARGS): Replace 'long_call' field
9009 (SHORT_CALL_FAG_CHAR): Define.
9010 (LONG_CALL_FAG_CHAR): Define.
9011 (ENCODED_SHORT_CALL_ATTR_P): Define.
9012 (ENCODED_LONG_CALL_ATTR_P): Define.
9013 (ARM_NAME_ENCODING_LENGTHS): Define.
9014 (STRIP_NAME_ENCODING): Define.
9015 (ASM_OUTPUT_LABELREF): Define, and use to strip name encoding.
9016 (ARM_ENCODE_CALL_TYPE): Define.
9017 (ENCODE_SECTION): Invoke ARM_ENCODE_CALL_TYPE.
9018 (ARM_DECLARE_FUNCTION_SIZE): Define.
9019 (SET_DEFAULT_TYPE_ATTRIBUTES): Define.
9021 * config/arm/arm.md (call): Call arm_is_longcall_p to decide
9022 if a long call is needed.
9023 (call_value): Ditto.
9024 (call_symbol): Ditto.
9026 * config/arm/elf.h (ASM_DECLARE_FUNCTION_SIZE): Add invocation of
9027 ARM_DECLARE_FUNCTION_SIZE.
9029 * config/arm/pe.h (ARM_PE_FLAG_CHAR): Define.
9030 (SUBTARGET_NAME_ENCODING_LENGTHS): Define.
9031 (ARM_STRIP_NAME_ENCODING): Undefine.
9032 (STRIP_NAME_ENCODING): Undefine.
9033 (ASM_OUTPUT_LABELREF): Use arm_strip_name_encoding.
9034 (ASM_DECLARE_FUNCTION_NAME): Ditto.
9035 (ASM_OUTPUT_COMMON): Ditto.
9036 (ASM_DECLARE_OBJECT_NAME): Ditto.
9038 * config/arm/pe.c (arm_dllexport_name_p): Check for
9040 (arm_dllimport_name_p): Ditto.
9041 (arm_mark_dllexport): Use ARM_PE_FLAG_CHAR.
9042 (arm_mark_dllimport): Ditto.
9044 Mon Feb 28 22:11:12 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
9046 * sh.h (DWARF_LINE_MIN_INSTR_LENGTH): Define.
9048 2000-02-28 Mark Mitchell <mark@codesourcery.com>
9050 * xcoffout.c (xcoffout_begin_function): Fix typo in previous change.
9052 2000-02-28 Zack Weinberg <zack@wolery.cumb.org>
9054 * tm.texi: Document new target switch, NO_BUILTIN_WCHAR_TYPE.
9055 * cppinit.c (builtin_array): Define __WCHAR_TYPE__ only if
9056 NO_BUILTIN_WCHAR_TYPE is not defined.
9057 (CPP_WCHAR_TYPE): Delete.
9058 * cccp.c (main): Don't change wchar_type if cplusplus.
9059 (special_symbol, initialize_builtins): Honor NO_BUILTIN_WCHAR_TYPE.
9061 2000-02-28 Nick Clifton <nickc@cygnus.com>
9063 * config/arm/arm-wince-pe.h (SIZE_TYPE): Define to "unsigned long".
9065 Mon Feb 28 14:21:15 2000 Catherine Moore <clm@cygnus.com>
9067 * config/pa/som.h (MAKE_DECL_ONE_ONLY): Define.
9068 (ASM_WEAKEN_LABEL): Define.
9070 Mon Feb 28 13:07:19 MET 2000 Jan Hubicka <jh@suse.cz>
9072 * expr.c (store_constructor): Do not emit USE.
9073 * rtl.h (stupid_life_analysis): Remove.
9075 Mon Feb 28 07:03:27 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
9077 * function.c (number_blocks): Reset next_block_index based on
9078 what debugging format is used, not what is defined.
9080 * lcm.c: Minor reformatting throughout.
9081 (reg_dies, reg_becomes_live): Properly handle multiple hard regs.
9083 * toplev.c (rest_of_compilation): Account for time in
9084 optimize_mode_switching.
9086 * jump.c (jump_optimize_1): Don't call delete_barrier_successors
9087 if only marking labels.
9089 Mon Feb 28 12:53:57 MET 2000 Jan Hubicka <jh@suse.cz>
9091 * calls.c (expand_call): Attempt to combine stack adjustments with
9092 pending stack adjustments.
9094 Mon Feb 28 11:34:43 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
9096 * loop.c (reg_in_basic_block_p): Don't abort when falling through
9097 to the end of the function.
9099 2000-02-27 Mark Mitchell <mark@codesourcery.com>
9101 * emit-rtl.c (remove_unncessary_notes): Remove notes for empty
9103 * final.c (next_block_index): Remove.
9104 (max_block_depth): Likewise.
9105 (pending_blocks): Likewise.
9106 (init_final): Don't initialize them.
9107 (final_start_function): Don't set next_block_index. Set up
9109 (final_scan_insn): Use BLOCK_NUMBER, not next_block_index.
9110 * function.h (number_blocks): New function.
9111 * function.c (get_block_vector): New function.
9112 (identify_blocks): Use it.
9113 (reorder_blocks): Set NOTE_BLOCK.
9114 (number_blocks): New function.
9115 * tree.def (BLOCK): Add documentation for TREE_ASM_WRITTEN flag.
9116 * tree.h (BLOCK_NUMBER): New macro.
9117 (tree_block): Add block_num field.
9118 * dbxout.c (next_block_number): Remove.
9119 (dbxout_init): Don't set it.
9120 (dbxout_block): Only output blocks that have TREE_ASM_WRITTEN
9121 set. Use BLOCK_NUMBER, rather than next_block_num, to determine
9123 * toplev.c (rest_of_compilation): Always call
9124 find_loop_tree_blocks. Fix indentation.
9125 * dwarf2out.c (next_block_number): Remove.
9126 (gen_lexical_block_die): Use BLOCK_NUMBER, not next_block_number,
9127 to determine block numbers.
9128 (gen_inlined_subroutine_die): Likewise.
9129 (gen_block_die): Only output blocks that have TREE_ASM_WRITTEN set.
9130 (decls_for_scope): Don't increment next_block_number.
9131 * dwarfout.c (next_block_number): Remove.
9132 (output_lexical_block_die): Use BLOCK_NUMBER, not next_block_number,
9133 to determine block numbers.
9134 (output_inlined_subroutine_die): Likewise.
9135 (output_block): Only output blocks that have TREE_ASM_WRITTEN set.
9136 (output_decls_for_scope): Don't increment next_block_number.
9137 * sdbout.c (next_block_number): Remove.
9138 (sdbout_block): Use BLOCK_NUMBER.
9139 (sdbout_begin_block): Simplify.
9140 * xcoffout.c (next_block_number): Remove.
9141 (xcoffout_block): Use BLOCK_NUMBER, not next_block_number.
9142 (xcoffout_begin_block): Don't set next_block_number.
9143 (xcoffout_begin_function): Likewise. Use BLOCK_NUMBER, not
9146 Sun Feb 27 16:40:33 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
9148 * builtins.c (c_strlen): Use size_diffop and return ssizetype value.
9149 (expand_builtin_strcpy): Pass correct type to size_binop.
9150 (expand_builtin_strcmp): Likewise.
9151 Clean up conditional structure.
9152 * c-decl.c (init_decl_processing): Don't call set_sizetype twice.
9153 (complete_array_type): Don't use size_binop for MAXINDEX.
9154 * c-typeck.c (c_sizeof): Use size_one_node and TYPE_SIZE_UNIT.
9155 (c_sizeof_nowarn, c_size_in_bytes): Likewise.
9156 (c_alignof): Use size_one_node.
9157 (build_unary_op): Pass arg of proper type to size_binop.
9158 (really_start_incremental_init, push_init_level): Use sizetype for
9159 constructor{,_bit,_unfilled}_index.
9160 (pop_init_label, output_init_element): Likewise.
9161 (output_pending_init_elements, process_init_element): Likewise.
9162 * calls.c (compute_argument_block_size): Field VAR is ssizetype.
9163 * expr.c (store_expr): Use size_int.
9164 (store_constructor): Use proper types for size_binop args.
9165 (get_inner_reference, expand_expr, case ARRAY_REF): Likewise.
9166 (expand_expr_unaligned): Likewise.
9167 (string_contant): Return object of sizetype.
9168 * expr.h (SUB_PARM_SIZE): Call size_diffop and pass proper types.
9169 (ARGS_SIZE_RTX): Call ARGS_SIZE_TREE.
9170 (ARGS_SIZE_TREE): Pass proper types to size_binop.
9171 * fold-const.c (int_const_binop): Refine when size_int is called.
9172 (fold_convert): Likewise.
9173 (size_int_wide): Rework to take KIND as arg, only take low order
9174 bits, handle new sizetype_tab datatype, and chain entries in
9176 (size_int_type_wide): New function.
9177 (size_binop): Validate types of arguments.
9178 (ssize_binop): Deleted.
9179 (size_diffop): New function.
9180 (extract_muldiv): Only fold division into multiplication for sizetypes.
9181 * function.c (assign_parms): Use size_diffop and make sure
9182 VAR field is of ssizetype; also pass proper type to size_binop.
9183 (locate_and_pad_parm, pad_to_arg_alignment): Likewise.
9184 (round_down): Deleted from here.
9185 * store-layout.c (sizetype_tab): Now an array.
9186 (sizetype_set, early_root_list): New variables.
9187 (variable_size): Use size_one_node.
9188 (round_up): Pass proper type to size_binop.
9189 (round_down): Moved to here and corrected as above.
9190 (layout_record): Pass proper arg types to size_binop.
9191 (layout_type): Likewise.
9192 If sizetype_set is zero, record the type just laid out.
9193 (make_unsigned_type): Don't call set_sizetype;
9194 (make_signed_type): Likewise; also, call fixup_signed_type.
9195 (initialize_sizetypes): New function.
9196 (set_sizetype): Make copy of types, set TYPE_IS_SIZETYPE, and
9197 set name of bitsizetype to "bit_size_type".
9198 Fix up type of sizes of all types made before call.
9199 * tm.texi (ROUND_TYPE_SIZE_UNIT): New macro.
9200 * tree.c (fix_sizetype): Deleted.
9201 (build_common_tree_nodes): Call initialize_sizetypes.
9202 (build_common_tree_nodes_2): Don't call fix_sizetype.
9203 * tree.h (TYPE_IS_SIZETYPE): New macro.
9204 (initialize_sizetype): New declaration.
9205 (enum size_type_kind): New type.
9206 (struct sizetype_tab): Deleted.
9207 (sizetype_tab): Now array; adjust sizetype macros.
9208 (size_diffop, size_int_type_wide): New functions.
9209 (size_int_wide): Change number of args and type; access macros changed.
9210 (ssize_int, sbitsize_int): New macros.
9211 * config/i960/i960.h (ROUND_TYPE_SIZE): Use size_int.
9212 (ROUND_TYPE_SIZE_UNIT): New macro.
9214 2000-02-27 Zack Weinberg <zack@wolery.cumb.org>
9216 * c-lex.c (putback_buffer): Make 'buffer' an unsigned char *.
9218 Sun Feb 27 07:44:17 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
9220 * gcov-io.h (__fetch_long, __store_long, __read_long, __write_long):
9221 Mark as possibly unused.
9223 * cse.c (cse_insn): Delete dead code involving tablejump.
9224 Pass CODE_LABEL, not LABEL_REF to gen_jump and reset INSN_CODE.
9226 * Makefile.in (libcpp.a): Start by deleting it.
9228 2000-02-27 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
9230 * cpplib.h (enum file_change_code): Added rename_file.
9231 * cpplib.c (do_line): If a filename is given, set file_change to
9233 (output_line_command): If file_change is rename_file, always
9234 output a # directive with the file name.
9236 * cpplib.c (do_pragma): Accept #pragma without consecutive token.
9238 2000-02-26 Mark Mitchell <mark@codesourcery.com>
9240 * integrate.c (copy_decl_for_inlining): Preserve TREE_ADDRESSABLE
9241 when copying a PARM_DECL or RESULT_DECL.
9243 2000-02-26 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
9245 * fix-header.c (recognized_function): Also fix prototypes for
9246 functions taking "void".
9248 2000-02-26 Geoff Keating <geoffk@cygnus.com>
9250 * reload1.c (do_output_reload): Check reg_reloaded_valid before
9251 looking at reg_reloaded_contents.
9253 2000-02-26 Zack Weinberg <zack@wolery.cumb.org>
9255 * Makefile.in (STMP_FIXINC): New toggle.
9256 (LIBGCC2_DEPS): Delete all references.
9257 (stmp-headers): Delete target. All references either deleted
9258 or changed to stmp-int-headers.
9259 (all.cross): Don't depend on stmp-headers or STMP_FIXPROTO.
9260 (LIBCPP_OBJS): Take out cppalloc.o.
9261 (cppalloc.o): Delete target.
9262 (stmp-int-hdrs): Depend on $(STMP_FIXINC).
9263 (gen-protos, fix-header): Link with libiberty.a.
9264 * build-make: Don't change FIXINCLUDES. Override STMP_FIXINC
9267 * configure.in: Remove refs to strerror.
9268 * acconfig.h: Take out NEED_DECLARATION_STRERROR.
9269 * system.h: Take out strerror stanza.
9271 * cpperror.c (my_strerror): Delete function.
9272 (cpp_error_from_errno, cpp_notice_from_errno): Use xstrerror.
9273 * cppmain.c (main): Call xmalloc_set_program_name first thing.
9274 * cppalloc.c: Delete file.
9275 * gen-protos.c: Don't provide xrealloc.
9277 * fixinc/fixincl.c, fixinc/fixlib.c, fixinc/procopen.c: Use
9278 xstrerror throughout.
9280 2000-02-26 Bruce Korb <bkorb@gnu.org>
9282 * fixinc/inclhack.def (undefine_null): the bypass pattern needs to
9283 match for DOS headers, too.
9284 * fixinc/inclhack.sh,fixincl.x: Regenerate.
9286 2000-02-26 Geoff Keating <geoffk@cygnus.com>
9288 * config/elfos.h (ASM_OUTPUT_LABELREF): Don't define. The default
9289 is right for most ELF targets.
9290 * config/ns32k/ns32k.h (ASM_OUTPUT_LABELREF): Don't define.
9291 Let the default file use %U properly.
9292 * config/sh/elf.h (ASM_OUTPUT_LABELREF): Don't define. Use the
9295 * config/fp-bit.c (pack_d): Properly handle rounding of denormal
9298 Sat Feb 26 09:39:16 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
9300 * toplev.c (documented_lang_options): Correct spelling error.
9301 (decode_d_option, decode_f_option, main): Likewise.
9303 * toplev.c (print_time): Avoid SIGFPE when all_time is zero.
9305 * config/alpha/alpha.h (ASM_OUTPUT_MI_THUNK): Use .set at
9306 to tell assembler it is permitted to expand large constants.
9308 2000-02-25 Mumit Khan <khan@xraylith.wisc.edu>
9310 * protoize.c: (AUX_INFO_SUFFIX): New macro.
9311 (aux_info_suffix): Use.
9312 (SAVE_SUFFIX): New macro.
9314 (munge_compile_parms): Fix typo in NUL. DJGPP supports /dev/null.
9315 (gen_aux_info_file): Use aux_info_suffix instead of ".X".
9316 (edit_file): Handle 8.3 restriction for DOS/DJGPP filenames.
9318 * invoke.texi (Running Protoize): Update documentation.
9320 2000-02-25 Mark Elbrecht <snowball3@bigfoot.com>
9322 * i386/djgpp.h (CPP_PREDEFINES): Remove Unix defines.
9324 2000-02-25 John Wehle (john@feith.com)
9326 * rtlanal.c (find_last_value): Allow NULL_RTX for valid_to.
9328 2000-02-25 Anthony Green <green@cygnus.com>
9330 * toplev.c (rest_of_compilation): Rebuild jump labels if
9331 combine_instructions has created a new direct jump.
9332 * combine.c (try_combine): Add new_direct_jump_p argument. Set it
9334 (combine_instructions): Call try_combine with new argument.
9335 Return non-null value when new direct jump instruction is created.
9336 * rtl.h: combine_instructions returns an int.
9338 Fri Feb 25 19:49:08 2000 Jeffrey A Law (law@cygnus.com)
9340 * cse.c (cse_insn): Replace the PATTERN of the insn with an new
9341 jump when changing a computed jump into a jump to a known
9344 Fri Feb 25 19:22:44 2000 Graham Stott <grahams@rcp.co.uk>
9346 * resource.c (mark_referenced_resources): Changed use SET_DEST (...)
9347 to XEXP (..., 0) on RTL nodes which are not SET or CLOBBER.
9349 * i386.md (define_expand "clrstrsi"): Fix typo.
9351 Fri Feb 25 18:49:39 2000 "K. Richard Pixley" <rich@microunity.com>
9353 * rtl.texi: Fix typo.
9355 Fri Feb 25 20:02:35 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
9357 * sh.c (calc_live_regs): Multiply value assigned to *COUNT_PTR by
9358 UNITS_PER_WORD. Change caller initial_elimination_offset.
9359 (rounded_frame_size): Take into account that argument pushed has
9360 changed. Fix TARGET_ALIGN_DOUBLE problem.
9362 2000-02-25 Geoff Keating <geoffk@cygnus.com>
9364 * haifa-sched.c (schedule_block): Explain the real reason
9365 we delete REG_SAVE_NOTEs on the first insn of a block.
9366 Don't delete REG_SAVE_NOTES for NOTE_INSN_SETJMP.
9368 2000-02-24 Mark Mitchell <mark@codesourcery.com>
9370 * input.h (push_srcloc): New function.
9371 (pop_srcloc): Likewise.
9372 * toplev.c (push_srcloc): Define it.
9373 (pop_srcloc): Likewise.
9375 2000-02-24 Richard Henderson <rth@cygnus.com>
9377 * flow.c (life_analysis): When collecting reg info, clear
9380 Thu Feb 24 22:06:52 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
9382 Fix bug exposed by reload.c no longer rounding the frame
9383 size to BIGGEST_ALIGNMENT:
9384 * sh.c (rounded_frame_size): New function.
9385 (sh_expand_prologue, sh_expand_epilogue): Use it.
9386 (initial_elimination_offset): Likewise.
9388 Thu Feb 24 20:04:11 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
9390 Fix breakage from 6th Feb thread_prologue_and_epilogue_insns change:
9391 * sh-protos.h (sh_need_epilogue): Declare.
9392 * sh.c (sh_need_epilogue_known): New static variable.
9393 (sh_need_epilogue): New function.
9394 (function_epilogue): Clear need_epilogue_known.
9395 * sh.md (return): Split into expander / insn pattern.
9396 Make the expander conditional on ! sh_need_epilogue ().
9398 2000-02-24 Nathan Sidwell <nathan@codesourcery.com>
9400 * machmode.h (get_mode_alignment): Declare.
9401 (GET_MODE_ALIGNMENT): Call it.
9402 * stor-layout.c (get_mode_alignment): New function. Make
9403 sure alignment is always power of 2.
9405 2000-02-23 Zack Weinberg <zack@wolery.cumb.org>
9407 * i386.h: Remove useless definition of "I386" and misleading
9410 2000-02-23 Zack Weinberg <zack@wolery.cumb.org>
9412 * tree.h (TREE_SET_PERMANENT): New macro. Document conditions
9413 under which TREE_PERMANENT will be set.
9414 * tree.c (make_node, copy_node, make_tree_vec, tree_cons,
9415 build1): Use TREE_SET_PERMANENT.
9416 * print-tree.c (print_node): Don't report value of
9417 TREE_PERMANENT if ggc_p is true.
9419 * c-common.c (c_get_alias_set): Don't use TREE_PERMANENT to
9420 decide whether to give a type a new alias set.
9421 * objc/objc-act.c (build_objc_string_object): Never copy the string.
9422 * tree.c (make_node): Set DECL_IN_SYSTEM_HEADER irrespective
9423 of value of 'obstack'.
9426 2000-02-24 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
9428 * config/c4x/c4x.c (c4x_process_after_reload): Split all insns.
9430 2000-02-23 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
9432 * cpplib.h (enum cpp_token): Added CPP_WCHAR and CPP_WSTRING.
9433 * cpplib.c (cpp_get_token): Produce them.
9434 * cppexp.c (cpp_lex): Handle them.
9436 2000-02-23 Nick Clifton <nickc@cygnus.com>
9438 * config/arm/arm.c (arm_comp_type_attributes): Simply and
9439 comment tests on type attributes.
9441 Wed Feb 23 16:42:21 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
9443 * final.c (shorten_branches): Make value passed to LOOP_ALIGN
9444 conform to documentation.
9445 * sh.h (LOOP_ALIGN): If aligning loops, call sh_loop_align
9446 to check for special cases.
9447 * sh-protos.h (sh_loop_align): Declare.
9448 * sh.c (sh_loop_align): Define.
9450 2000-02-22 Andrew Haley <aph@cygnus.com>
9452 * config/mips/mips.h (GAS_ASM_SPEC): Pass -mgp32/-mgp64 to gas.
9453 (SIZE_TYPE): Is 32 bits when using -mgp32.
9454 (PTRDIFF_TYPE): Ditto.
9456 Wed Feb 23 07:26:27 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
9458 * diagnostic.c (init_output_buffer): Handle case of null PREFIX.
9460 2000-02-23 Zack Weinberg <zack@wolery.cumb.org>
9462 * config/i386/i386.h: If IN_TARGET_LIBS is defined, make
9463 BIGGEST_FIELD_ALIGNMENT a constant.
9465 2000-02-21 Jason Merrill <jason@casey.cygnus.com>
9467 * dwarf2out.c (output_line_info): Put the marker for the end of
9468 the line number info at the actual end.
9469 (gen_struct_or_union_type_die): Use decl_function_context
9470 to check for local classes.
9471 * dwarfout.c (output_type): Likewise.
9473 Tue Feb 22 01:38:57 2000 Jeffrey A Law (law@cygnus.com)
9475 * pa.h (FUNCTION_ARG_PASS_BY_REFERENCE): Handle pass-by-reference
9476 for arguments with a mode, but no type.
9477 (FUNCTION_ARG_CALLEE_COPIES): Similarly.
9478 * t-pa (LIB2FUNCS_EXTRA): Add quadlib.asm.
9479 * pa/long_double.h: New file.
9480 * configure.in (hpux10, hpux11 configurations): hpux10 and hpux11
9481 both have 128bit wide long doubles.
9482 * configure: Rebuilt.
9484 2000-02-21 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
9486 * defaults.h (ASM_OUTPUT_ASCII): Constify a char*.
9488 * flow.c (get_common_dest, chain_reorder_blocks, make_reorder_chain,
9489 fixup_reorder_chain, skip_insns_between_block): Add static prototypes.
9490 (life_analysis): Wrap variable `i' with macro ELIMINABLE_REGS.
9492 * haifa-sched.c (rank_for_schedule): Don't cast away const-ness.
9494 * integrate.c (compare_blocks, find_block): Likewise.
9496 * rtl.c (fatal_with_file_and_line): Add ATTRIBUTE_PRINTF_2.
9498 * rtl.h (set_file_and_line_for_stmt): Constify a char*.
9500 * stmt.c (stmt_status, set_file_and_line_for_stmt,
9501 expand_asm_operands): Likewise.
9503 Mon Feb 21 17:06:27 2000 Jason Eckhardt <jle@cygnus.com>
9505 * predict.c (estimate_probability): Added the pointer heuristic to
9506 the collection of static branch predictors.
9508 2000-02-21 Catherine Moore <clm@cygnus.com>
9510 * config/mips/mips.h (ASM_SPEC): Add -mfix700.
9511 * invoke.texi (-mfix7000): Document.
9513 2000-02-21 Gabriel Dos Reis <gdr@codesourcery.com>
9515 * diagnostic.c (init_output_buffer): Make it possible to output at
9516 least 32 characters if we're given a too long prefix.
9518 2000-02-20 Mark Mitchell <mark@codesourcery.com>
9520 * varasm.c (initializer_constant_valid_p): Call
9521 lang_expand_constant to simplify the constant.
9523 2000-02-20 Bruce Korb <bkorb@gnu.org>
9525 * fixinc/inclhack.def(stdio_va_list):
9526 typedef needs to be disabled.
9527 * fixinc/inclhack.sh: regen
9528 * fixinc/fixincl.x: regen
9530 2000-02-20 Geoff Keating <geoffk@cygnus.com>
9532 * print-rtl.c (print_rtx): Don't print addresses when
9533 flag_dump_unnumbered.
9535 2000-02-20 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
9537 * sparc.c (sparc_output_scratch_registers): Mark parameter with
9539 (sparc_va_arg, sparc_flat_output_function_prologue,
9540 sparc_flat_output_function_epilogue): Cast value to unsigned in
9542 (sparc_emit_float_lib_cmp): Remove unused variable `cmp'.
9544 * sparc.md: Add default case in switch.
9546 2000-02-19 Richard Henderson <rth@cygnus.com>
9548 * c-typeck.c (add_pending_init): Don't abort for multiple
9549 fields at the same offset.
9550 (pending_init_member): Test the correct member.
9552 2000-02-19 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
9554 * except.c (start_dynamic_handler) : Use TYPE_MODE (integer_type_node)
9556 (start_catch_handler) : Same.
9558 2000-02-19 Brad Lucier (lucier@math.purdue.edu)
9560 * Makefile.in: Have flow.o depend on $(EXPR_H)
9562 Sat Feb 19 18:43:13 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
9564 * c-common.c (decl_attributes): Set DECL_SIZE_UNIT.
9565 * c-decl.c (duplicate_decls, finish_enum): Likewise.
9566 (finish_decl): Remove -Wlarger-than code from here.
9567 * flags.h (id_clash_len): Now int.
9568 (larger_than_size): Now HOST_WIDE_INT.
9569 * fold-const.c (size_int_wide): No more HIGH parm; NUMBER is signed.
9570 Clean up checking to see if in table.
9571 (make_bit_field_ref): Remove extra parm to bitsize_int.
9572 * ggc-common.c (ggc_mark_tree_children): Mark DECL_SIZE_UNIT.
9573 * print-tree.c (print_node): Print DECL_SIZE_UNIT and TYPE_SIZE_UNIT.
9574 * stmt.c (expand_decl): Use DECL_SIZE_UNIT for stack checking size
9575 and for computing size of decl.
9576 * stor-layout.c (layout_decl): Set DECL_SIZE_UNIT.
9577 Move -Wlarger-than code to here.
9578 (layout_record): Remove extra arg to bitsize_int.
9579 Set TYPE_BINFO_SIZE_UNIT.
9580 (layout_union): Remove extra arg to bitsize_int.
9581 Use proper type for size of QUAL_UNION.
9582 (layout_type): Remove extra arg to bitsize_int.
9583 * toplev.c (id_clash_len): Now int.
9584 (larger_than_size): Now HOST_WIDE_INT.
9585 (decode_W_option): Clean up id-clash and larger-than- cases.
9586 * tree.c (get_identifier, maybe_get_identifier): Remove unneeded casts.
9587 (expr_align, case FUNCTION_DECL): DECL_ALIGN is not defined.
9588 * tree.h (BINFO_SIZE_UNIT, TYPE_BINFO_SIZE_UNIT, DECL_SIZE_UNIT): New.
9589 (struct tree_decl): New field size_unit.
9590 (size_int_wide): No HIGH operand; NUMBER is now signed.
9591 (size_int_2): Deleted.
9592 (size_int, bitsize_int): Don't use it and rework args.
9593 * varasm.c (assemble_variable, output_constructor): Use DECL_SIZE_UNIT.
9595 Fri Feb 18 20:01:58 2000 Jeffrey A Law (law@cygnus.com)
9597 * pa/quadlib.asm (_U_QFgt, _U_Qfge): Fix flags for _U_Qfcmp call.
9599 2000-02-18 Geoff Keating <geoffk@cygnus.com>
9601 * invoke.texi (Warning Options): Add an explanation of why
9602 you might want the -Wfloat-equal flag.
9604 Fri Feb 18 20:08:57 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
9606 * bitmap.c (bitmap_operation): Avoid using -1 for index since unsigned.
9607 * cppinit.c (new_pending_define): Add cast to avoid warning.
9608 * expmed.c (extract_bit_field): Likewise.
9609 * flow.c (enum reorder_skip_type): New type.
9610 (skip_insns_between_blcok): New it.
9611 Rework to avoid warning about possibly undefined variable.
9612 * function.c (assign_parms): Make thisparm_boundary unsigned.
9613 * genrecog.c (write_switch): Cast XWINT result to int.
9614 * lcm.c: Many static fcns and vars now #ifdef OPTIMIZE_MODE_SWITCHING.
9615 * mips-tfile.c (init_file): Make two versions of FDR intializer:
9616 one for MIPS and one for Alpha.
9617 (get_tag, copy_object): Add casts to avoid warnings.
9618 * optabs.c (init_one_libfunc): Cast NAME to (char *).
9619 * reload.c (find_reloads): Make TYPE enum reload_type.
9620 * sbitmap.c (dump_sbitmap): J is unsigned; don't use "1L".
9621 * unroll.c (unroll_loop): Initialize UNROLL_NUMBER.
9622 * varasm.c (compare_constant_1): Add cast to avoid warning.
9623 * config/alpha/alpha.c (alpha_emit_xfloating_libcall): Cast FUNC
9625 (alpha_expand_unaligned_load, alpha_expand_unaligned_store):
9626 Cast switch operand of size to int.
9627 (alpha_expand_epilogue): Always initialize fp_offset and sa_reg.
9628 * config/alpha/alpha.h (INITIAL_ELIMINATION_OFFSET): Add abort
9631 2000-02-18 Nick Clifton <nickc@cygnus.com>
9633 * config/arm/elf.h (ASM_OUTPUT_ALIGN): Do not generate
9634 anything for an alignment of zero.
9636 * config/arm/thumb.h (ASM_OUTPUT_ALIGN): Do not generate
9637 anything for an alignment of zero.
9639 2000-02-18 Martin von Loewis <loewis@informatik.hu-berlin.de>
9641 * gcc.texi (Bug Reporting): Refer to bugs.html.
9642 (Bug Lists): Likewise.
9643 * system.h (GCCBUGURL): New preprocessor define.
9644 * rtl.c (fancy_abort): Use it.
9645 * gcc.c (main): Likewise.
9647 2000-02-18 Richard Henderson <rth@cygnus.com>
9649 * flow.c (INSN_VOLATILE, SET_INSN_VOLATILE, uid_volatile): Remove.
9650 (life_analysis_1): Subsume into ...
9651 (life_analysis): ... here. Force PROP_REG_INFO off after reload.
9652 Use update_life_info for the relaxation.
9653 (update_life_info): Update REG_BASIC_BLOCK for registers live on
9654 entry and regs_live_at_setjmp.
9655 (set_noop_p): Simplify.
9656 (notice_stack_pointer_modification_1): Renamed from s/_1//.
9657 (record_volatile_insns): Split into ...
9658 (delete_noop_moves): ... here,
9659 (notice_stack_pointer_modification): ... here,
9660 (insn_dead_p): ... and here.
9661 (propagate_block): Don't query INSN_VOLATILE.
9662 (mark_used_regs): Mind !PROP_REG_INFO.
9663 * toplev.c (rest_of_compilation): Call mark_constant_function here,
9664 not in life_analysis.
9666 Fri Feb 18 01:29:22 EST 2000 John Wehle (john@feith.com)
9668 * loop.c (canonicalize_condition): New function,
9669 broken out of get_condition.
9670 (get_condition): Use it.
9671 * expr.h (canonicalize_condition): Prototype it.
9673 * tree.h (tree_int_cst_msb): Declare.
9674 * tree.c (tree_int_cst_msb): New function.
9676 2000-02-17 Mark Mitchell <mark@codesourcery.com>
9678 * stmt.c (set_file_and_line_for_stmt): Don't crash if cfun->stmt
9681 * invoke.texi (-fmessage-length=n): Document.
9683 2000-02-17 Jason Merrill <jason@casey.cygnus.com>
9685 * bitmap.c (bitmap_operation): Don't leak bitmap elements.
9687 2000-02-17 Mark Mitchell <mark@codesourcery.com>
9689 * function.c (thread_prologue_and_epilogue_insns): Put a line note
9692 2000-02-17 Nick Clifton <nickc@cygnus.com>
9694 * config/arm/thumb.c: Replace includes of system headers with
9695 #include "system.h".
9697 2000-02-16 Richard Henderson <rth@cygnus.com>
9699 * configure.in (alpha-linux*, alpha-netbsd) [extra_parts]:
9700 Add crtbeginS.o and crtendS.o.
9701 * alpha/elf.h (STARTFILE_SPEC): Use crtbeginS.o.
9702 (ENDFILE_SPEC): Use crtendS.o.
9703 * alpha/t-crtbe (crtbeginS.o, crtendS.o): New targets.
9705 * alpha/crtbegin.asm (__do_frame_takedown): Merge into ...
9706 (__do_global_dtors_aux): ... here. Call __cxa_finalize if
9708 (__dso_handle): New variable.
9709 * alpha/crtend.asm (__do_global_ctors_aux): Remove runtime
9710 bias to __CTOR_END__.
9712 2000-02-16 Richard Henderson <rth@cygnus.com>
9714 * Makefile.in (s-crtS, crtbeginS, crtendS): Prefix usage with $(T).
9716 Wed Feb 16 21:40:04 2000 Hans-Peter Nilsson <hp@bitrange.com>
9718 * longlong.h (__clz_tab): Declare as static to match definition.
9720 2000-02-16 Mark Elbrecht <snowball3@bigfoot.com>
9722 * i386/xm-djgpp.h (LIBSTDCXX): Delete. Moved to config/i386/djgpp.h.
9723 (XREF_FILE_NAME): Define.
9725 * i386/djgpp.h (DATA_SECTION_ASM_OP): Define.
9726 (EH_FRAME_SECTION_ASM_OP): Define.
9727 (IDENT_ASM_OP): Define.
9728 (TEXT_SECTION_ASM_OP): Define.
9730 (CTORS_SECTION_ASM_OP): Define.
9731 (CTOR_SECTION_FUNCTION): Use it.
9732 (DTORS_SECTION_ASM_OP): Define.
9733 (DTOR_SECTION_FUNCTION): Use it.
9735 2000-02-16 Zack Weinberg <zack@wolery.cumb.org>
9737 * reg-stack.c (emit_swap_insn): Do not put a new insn before a
9740 * flow.c (dump_regset, debug_regset, dump_bb, debug_bb,
9741 debug_bb_n): New functions.
9742 (dump_flow_info, print_rtl_with_bb): Use dump_regset.
9743 * basic-block.h: Prototype new functions.
9745 Wed Feb 16 21:07:53 2000 Denis Chertykov <denisc@overta.ru>
9747 * configure.in: Add support for avr target.
9748 * configure: Rebuilt.
9750 * invoke.texi: Add AVR invocation docs.
9751 * install.texi: Add information about AVR.
9752 * md.texi: Add AVR constraint letters description.
9753 * extend.texi: Add description for AVR specific attributes.
9755 2000-02-16 Jason Merrill <jason@casey.cygnus.com>
9757 * fixinc/fixinc.svr4: Wrap byteorder.h with extern "C".
9759 2000-02-16 Nick Clifton <nickc@cygnus.com>
9761 * emit-rtl.c (emit_insn): Move RTL check into make_insn_raw.
9762 (make_insn_raw): Move RTL check here.
9764 2000-02-16 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
9766 * version.c: Include gansidecl.h and version.h.
9768 * version.h: Wrap entire file in macro __GCC_VERSION_H__.
9770 * configure.in (gcc_version): When setting, narrow search to
9771 lines containing `version_string'.
9773 * Makefile.in (mainversion): Likewise.
9774 (GCC_H): New variable.
9775 (gcc.h): Delete target.
9776 (gcc.o, gccspec.o, cppspec.o): Depend on $(GCC_H), not gcc.h.
9777 (version.o): Depend on version.h.
9778 (dbxout.o): Don't depend on gcc.h.
9780 Wed Feb 16 15:04:49 2000 Hans-Peter Nilsson <hp@bitrange.com>
9781 Michael Meissner <meissner@cygnus.com>
9783 * md.texi (Simple Constraints): Add item about whitespace.
9784 * genoutput.c (strip_whitespace): New.
9785 (scan_operands) [MATCH_OPERAND, MATCH_SCRATCH]: Call
9786 strip_whitespace for constraints.
9787 Test pointer using NULL, not 0.
9789 2000-02-16 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
9791 * cpplib.c (do_line): Pedwarn for #line > 32767.
9793 * c-lex.c (readescape): Warn about '\x', but do not reject it.
9795 2000-02-15 Jonathan Larmour <jlarmour@redhat.co.uk>
9797 * gcc.c (default_compilers): Add new __GNUC_PATCHLEVEL__ define
9798 to default cpp spec.
9799 (do_spec_1): Add support for %v3 spec used by __GNUC_PATCHLEVEL__.
9800 * cpp.texi: Document __GNUC_PATCHLEVEL__.
9803 * objc/lang-specs.h: Add new __GNUC_PATCHLEVEL__ define to
9806 2000-02-15 Denis Chertykov <denisc@overta.ru>
9808 * configure.in: Add support for avr target.
9810 Wed Feb 16 03:21:43 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
9812 * sh.h (OVERRIDE_OPTIONS): Don't set sh_addr_diff_vec_mode.
9813 (sh_addr_diff_vec_mode): Don't declare.
9814 * sh.c (sh_addr_diff_vec_mode): Delete.
9816 Wed Feb 16 01:27:52 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
9818 * sh.md (mulsi3_highpart): Add REG_EQUAL note to last insn.
9820 Wed Feb 16 00:58:06 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
9822 * sh.md (udivsi3_i1, divsi3_i1, umulhisi3_i, mulhisi3_i): Name.
9823 (smulsi3_highpart_i): Name.
9824 (udivsi3): Wrap emitted insns in REG_LIBCALL / REG_RETVAL notes.
9825 (divsi3, mulhisi3, umulhisi3, mulsidi3, umulsidi3): Likewise.
9826 (smulsi3_highpart, umulsi3_highpart): Likewise.
9828 (mulsidi3_i, umulsidi3_i): Make rtl describe operation
9829 correctly independent of endianness.
9830 (mulsidi3, umulsidi3): Now define_insn. Hide details that
9831 confuse the optimizers.
9832 (mulsidi3+1, umulsidi3+1): New define_split.
9834 Tue Feb 15 23:22:26 2000 Andrew Haley <aph@cygnus.com>
9836 * config/sh/sh.md: Guard insn splits against illegal registers.
9837 * config/sh/sh.h: Correct comment about macros.
9839 Tue Feb 15 22:30:36 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
9840 Andrew MacLeod <amacleod@cygnus.com>
9842 * Makefile.in (lcm.o): Depend on insn-attr.h.
9843 * basic-block.h (optimize_mode_switching): Declare.
9844 * lcm.c (tm_p.h, insn-attr.h): #include.
9845 (seginfo, bb_info): New structs.
9846 (antic, transp, comp, delete, insert) : New file-scope static variables.
9847 (new_seginfo, add_seginfo, make_preds_opaque, reg_dies): New functions.
9848 (reg_becomes_live, optimize_mode_switching): Likewise.
9849 * tm.texi: Add description of mode switching macros.
9850 * toplev.c (rest_of_compilation): Call optimize_mode_switching.
9852 * sh-protos.h (remove_dead_before_cse): Remove prototype.
9853 (fldi_ok, fpscr_set_from_mem): New prototypes.
9854 * sh.h (OPTIMIZATION_OPTION): Remove sh_flag_remove_dead_before_cse set.
9855 (CONST_DOUBLE_OK_FOR_LETTER_P, SECONDARY_INPUT_RELOAD_CLASS):
9856 Disable fldi for (TARGET_SH4 && ! TARGET_FMOVD).
9857 (sh_flag_remove_dead_before_cse): Remove declaration.
9858 (NUM_MODES_FOR_MODE_SWITCHING, OPTIMIZE_MODE_SWITCHING): New macros.
9859 (MODE_USES_IN_EXIT_BLOCK, MODE_NEEDED, MODE_AT_ENTRY): Likewise.
9860 (MODE_PRIORITY_TO_MODE, EMIT_MODE_SET): Likewise.
9861 * sh.c (broken_move): Disable fldi for (TARGET_SH4 && ! TARGET_FMOVD).
9862 (barrier_align): Allow for JUMP_INSNS containing a parallel.
9863 (machine_dependent_reorg): Remove sh_flag_remove_dead_before_cse set.
9864 (fldi_ok): New function.
9865 (get_fpscr_rtx): Add fpscr_rtx as GC root.
9866 (emit_sf_insn): Only generate fpu switches when optimize < 1.
9867 (emit_df_insn): Likewise.
9868 (expand_fp_branch, emit_fpscr_use, remove_dead_before_cse): Delete.
9869 (sh_flag_remove_dead_before_cse): Delete.
9870 (get_free_reg, fpscr_set_from_mem): New functions.
9871 * sh.md (movdf, movsf): Remove no_new_pseudos code.
9872 (return): Remove emit_fpscr_use / remove_dead_before_cse calls.
9874 2000-02-15 Loren Rittle <ljrittle@acm.org>
9876 * ginclude/stddef.h: Correct usage of _BSD_RUNE_T_ for FreeBSD.
9878 2000-02-15 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
9880 * Makefile.in (TREE_H, collect2.o, gcc.h, mips-tfile.o, cccp.o,
9881 cpphash.o, cppinit.o, protoize.o, unprotoize.o): Depend on version.h.
9883 * cccp.c: Include version.h and/or don't declare `version_string'.
9884 * collect2.c: Likewise.
9885 * alpha.c: Likewise.
9886 * arm/aof.h: Likewise.
9887 * arm/coff.h: Likewise.
9888 * arm/elf.h: Likewise.
9889 * arm/pe.h: Likewise.
9890 * arm/tcoff.h: Likewise.
9891 * arm/telf.h: Likewise.
9892 * arm/tpe.h: Likewise.
9893 * arm/vxarm.h: Likewise.
9894 * convex/convex.c: Likewise.
9895 * i386/dgux.c: Likewise.
9896 * i386/sun386.h: Likewise.
9897 * m88k/m88k.c: Likewise.
9898 * mcore/mcore-pe.h: Likewise.
9899 * mips/mips.h: Likewise.
9900 * romp/romp.h: Likewise.
9901 * sh/sh.c: Likewise.
9902 * cpphash.c: Likewise.
9903 * cppinit.c: Likewise.
9904 * dwarf2out.c: Likewise.
9905 * dwarfout.c: Likewise.
9908 * mips-tfile.c: Likewise.
9909 * protoize.c: Likewise.
9910 * toplev.c: Likewise.
9913 * version.c (version_string): Constify a char*.
9915 * version.h: New file.
9917 2000-02-14 Nick Clifton <nickc@cygnus.com>
9919 * configure.in: Add mcore-elf and mcore-pe targets.
9920 * configure: Regenerate.
9922 * NEWS: Add note that MCore port has been contributed.
9924 * invoke.texi: Document command line switches for MCore port.
9925 * install.texi: Add MCore to list of supported targets.
9927 2000-02-14 Geoff Keating <geoffk@cygnus.com>
9929 * collect2.c (main) [COLLECT_EXPORT_LIST]: If we have frames,
9930 then we will need to import the frame handling functions.
9931 (scan_prog_file) [COLLECT_EXPORT_LIST]: We will also need
9932 to import the frames themselves.
9934 Mon Feb 14 13:31:01 2000 Stan Cox <scox@cygnus.com>
9935 Jason Eckhardt <jle@cygnus.com>
9937 * basic_block.h: Added prototype for reorder_basic_blocks.
9938 * toplev.c: Changes to add -freorder-blocks and graph dump after
9939 block reordering is done.
9940 * flow.c (reorder_block_def): New structure for use during block
9942 (REORDER_BLOCK_*): New macros to access members of above structure.
9943 (skip_insns_between_block, get_common_dest, chain_reorder_blocks,
9944 make_reorder_chain, fixup_reorder_chain, reorder_basic_blocks): New
9945 functions for block reordering.
9947 Mon Feb 14 11:24:44 2000 Hans-Peter Nilsson <hp@bitrange.com>
9949 * gcc.texi (Passes): Fix typo.
9950 * md.texi (Standard Names): Ditto.
9951 * tm.texi (Storage Layout): Ditto.
9953 2000-02-13 Zack Weinberg <zack@wolery.cumb.org>
9955 * cpplib.c (do_define): Only free the old definition if it
9958 2000-02-13 Neil Booth <NeilB@earthling.net>
9960 * cppfiles.c (read_and_prescan): When emitting deferred
9961 newlines, test speccase[] again instead of checking each
9962 possible whitespace character in turn. When we encounter \r,
9963 look behind for \n first, then ahead.
9965 2000-02-13 Zack Weinberg <zack@wolery.cumb.org>
9967 * cse.c (cse_altered): New internal flag.
9968 (cse_insn): Set it if we changed an insn.
9969 (cse_main): Clear cse_altered before each basic block.
9970 Only garbage collect if cse_altered is true afterward.
9972 Sun Feb 13 14:12:28 2000 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
9974 * sparc/sol2.h (LIB_SPEC): Link -ldl if profiling.
9976 Sun Feb 13 13:21:55 2000 Jeffrey A Law (law@cygnus.com)
9978 * combine.c (simplify_comparison): Fix typo.
9980 Sun Feb 13 12:57:52 2000 Neil Booth <NeilB@earthling.net>
9982 * prefix.c (concat, lookup_key): Use xmalloc and xrealloc
9985 2000-02-13 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
9987 * flow.c (flow_loop_tree_node_add): Use better algorithm by passing
9988 previously inserted node instead of root node. Caller changed.
9990 2000-02-13 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
9992 * basic-block.h (FLOW_LOOP_FIRST_BLOCK, FLOW_LOOP_LAST_BLOCK): Delete.
9994 2000-02-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
9996 * crtstuff.c (__do_global_ctors_aux, __reg_frame_ctor,
9997 __dereg_frame_dtor): Add prototype argument.
9999 * gthr-dce.h (__gthread_active_p, __gthread_once): Likewise.
10001 * gthr-posix.h (__gthread_active_p, __gthread_once): Likewise.
10003 * gthr-solaris.h (__gthread_active_p, __gthread_once): Likewise.
10005 * gthr-vxworks.h (__gthread_once): Likewise.
10007 * gthr-win32.h (__gthread_active_p, __gthread_once): Likewise.
10009 Sat Feb 12 01:44:26 MET 2000 Jan Hubicka <jh@suse.cz>
10011 * i386.c (ix86_emit_restore_regs_using_mov): Break out from ...
10012 (ix86_expand_epilogue): ... here. Use mov instead of add to restore
10013 stack pointer in functions w/o saved registers, output LEAVE more often
10014 on TARGET_USE_LEAVE machines.
10016 2000-02-07 Dmitri Makarov <dim@wrs.com> & Bernd Schmidt <bernds@redhat.com>
10018 * config/arm/arm.c (arm_init_cumulative_args); New function:
10019 Initlaise the CUMULATIE_ARGS strcuture for a function
10021 (arm_function_arg): New function: Determine where to place a
10022 function's argument. Also handles deciding the function's
10024 (current_file_function_operand): New function: Return true if
10025 the symbol is a function which has already been compiled.
10026 (arm_is_long_call_p): New function: Return true if the
10027 indicated function should be called via a long call.
10028 (arm_valid_type_attribute_p): New function: Return true if the
10029 attribute is a valid, arm specific, attribute.
10030 (arm_comp_type_attribute): New function: Return true if the
10031 two types have compatable, arm specific, attributes.
10033 * config/arm/arm.h (CUMULATIVE_ARGS): Redefine to be a
10035 (FUNCTION_ARG): Redefine to call arm_function_arg.
10036 (FUNCTION_ARG_PARTIAL_NREGS): Redefine to use correct
10038 (INIT_CUMULATIVE_ARGS): Redefine to call
10039 arm_init_cumulative_args.
10040 (FUNCTION_ARG_ADVANCE): Redefine to use correct structure
10042 (SETUP_INCOMING_VARARGS): Redefine to use correct structure
10044 (ARM_MARK_NEARBY_FUNCTION): New macro: Mark already compiled
10046 (ENCODE_SECTION): Add call to ARM_MARK_NEARBY_FUNCTION.
10047 (VALID_MACHINE_TYPE_ATTRIBUTE): Define.
10048 (COMP_TYPE_ATTRIBUTES): Define.
10050 * config/arm/arm.md (call): Call arm_is_long_call_p to decide
10051 if a long call is needed.
10052 (call_value): Call arm_is_long_call_p to decide if a long call
10054 (call_symbol): Call arm_is_long_call_p to decide if a long call
10057 * config/arm/arm-protos.h: Add prototype for arm_is_long_call_p.
10059 2000-02-11 Denis Chertykov <denisc@overta.ru>
10061 * README.AVR: New file with information about the avr ports.
10062 * config/avr: New directory with avr port files.
10064 2000-02-11 Andreas Jaeger <aj@suse.de>
10066 * fixinc/Makefile.in (FIXINC_DEFS): Remove unneeded @fixinc_defs@.
10068 2000-02-11 Zack Weinberg <zack@wolery.cumb.org>
10070 * cpphash.c: Fix formatting, update commentary.
10071 (dump_definition): Take three separate arguments instead of a
10072 MACRODEF structure argument.
10073 * cpphash.h: Update prototype of dump_definition.
10074 * cppinit.c (cpp_finish): Update call of dump_definition.
10076 * cpplib.c (do_define): Always create new hash entry with
10077 T_MACRO type. Remove redundant check for redefinition of
10078 poisoned identifier. Update call of dump_definition.
10079 (do_undef): Don't call check_macro_name. Rename sym_length to
10081 (do_error, do_warning): Don't use copy_rest_of_line or
10083 (do_warning): Don't use pedwarn for the actual warning,
10084 only the notice about its not being in the standard. (Fixes
10085 bug with #warning in system headers.)
10086 (do_ident): Stricter argument checking - accept only a single
10087 string after #ident. Also, macro-expand the line.
10088 (do_xifdef): Use cpp_defined. De-obfuscate.
10090 (do_pragma): Split out specific pragma handling to separate
10091 functions. Use get_directive_token. Update commentary. Do
10092 not pass on #pragma once or #pragma poison to the front end.
10093 (do_pragma_once, do_pragma_implementation, do_pragma_poison,
10094 do_pragma_default): New.
10096 Feb 11 12:30:53 2000 Jeffrey A Law (law@cygnus.com)
10098 * jump.c (jump_optimize_1): The first operand in a relational
10099 can be a CONST_INT.
10100 * optabs.c (emit_conditional_move): Handle relationals which
10101 have a known true/false result.
10103 2000-02-11 Geoff Keating <geoffk@cygnus.com>
10105 * function.c (thread_prologue_and_epilogue_insns): Don't insert
10106 a RETURN insn into a block which already ends with a jump.
10108 2000-02-11 Geoff Keating <geoffk@cygnus.com>
10110 * haifa-sched.c (BUF_LEN): Increase a lot.
10112 2000-02-11 Nick Clifton <nickc@cygnus.com>
10114 * configure.in: Add tm_p_file specification for thumb targets.
10115 * configure: Regenerate.
10117 * config/arm/thumb-protos.h: New file: Prototypes for exported
10118 functions defined in thumb.c.
10120 2000-02-11 Robert Lipe <robertl@sco.com>
10122 * Makefile.in (bootstrap-lean): Remove additional files.
10123 (bootstrap2-lean): Likewise.
10124 (VOL_FILES): List of files for above.
10126 2000-02-11 Nathan Sidwell <nathan@acm.org>
10128 * cpphash.c (special_symbol): Remove spurious argument to
10131 2000-02-11 Joel Sherrill (joel@OARcorp.com>
10133 * configure.in: (i*86-*-rtems*): Swapped elf and coff
10135 * configure: Rebuilt.
10137 2000-02-11 Rodney Brown <RodneyBrown@pmsc.com>
10139 * pa-protos.h: Wrap function_arg_padding in TREE_CODE #ifdef.
10141 Fri Feb 11 02:59:05 2000 Jeffrey A Law (law@cygnus.com)
10143 * pa.c, pa.h: Remove trigraph sequences within comments.
10145 Fri Feb 11 02:51:56 2000 Pavel Roskin <pavel_roskin@geocities.com>
10147 * invoke.texi (PPC Options): -mno-new-mnenomics -> -mold-mnemonics.
10149 Fri Feb 11 02:48:30 2000 Brad Lucier (lucier@math.purdue.edu)
10151 * sbitmap.h: Make SBITMAP_ELT_BITS unsigned.
10153 2000-02-11 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
10155 * config/c4x/c4x.c (fp_zero_operand): Check for CONST_DOUBLE.
10157 2000-02-11 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
10159 * config/c4x/c4x.h (ASM_GLOBALIZE_LABEL): Use c4x_global_label.
10160 (ASM_OUTPUT_EXTERNAL): Use c4x_external_ref.
10161 (ASM_OUTPUT_EXTERNAL_LIBCALL): Likewise.
10162 (ASM_FILE_END): Use c4x_file_end.
10163 * config/c4x/c4x.c (c4x_global_label): New function.
10164 (c4x_external_ref, c4x_file_end): Likewise.
10166 * config/c4x/c4x-protos.h (c4x_global_label): Add prototype.
10167 (c4x_external_ref, c4x_end_file): Likewise.
10169 2000-02-10 Zack Weinberg <zack@wolery.cumb.org>
10171 * cppexp.c: Don't include cpphash.h.
10172 (parse_charconst, cpp_lex): Use cpp_defined.
10173 (cpp_lex): Use get_directive_token throughout. Remove
10174 unnecessary cases from switch. Move assertion-handling code
10175 down to OTHER case.
10176 (cpp_parse_expr): If we see '+' or '-', check the context to
10177 determine if they are unary or binary operators. Streamline
10178 the jumps a bit. Do not call skip_rest_of_line.
10180 * cpplib.c: Make skip_rest_of_line and cpp_skip_hspace
10181 static. Export get_directive_token. Update commentary.
10182 (cpp_defined): New function.
10183 (do_define): Remove reference to T_PCSTRING. Call
10184 free_definition to release memory for old definition, when
10185 redefining a macro.
10186 (eval_if_expression): Set only_seen_white to 0 before calling
10187 cpp_parse_expr. Call skip_rest_of_line after it returns.
10188 (cpp_read_check_assertion): Don't preserve a pointer into the
10189 token buffer across a call to cpp_get_token.
10191 * Makefile.in (cppexp.o): Don't depend on cpphash.h.
10192 * cppfiles.c (redundant_include_p): Use cpp_defined.
10193 * cpphash.c (free_definition): New function.
10194 (delete_macro): Use it. Update commentary.
10195 * cpphash.h: Typedef HASHNODE here. Prototype cpp_lookup and
10197 * cpplib.h: Don't typedef HASHNODE here. Delete T_PCSTRING
10198 from enum node_type. Prototype cpp_defined and get_directive_token.
10199 Don't prototype cpp_lookup, skip_rest_of_line, or cpp_skip_hspace.
10201 * fix-header.c (check_macro_names): Use cpp_defined.
10202 (read_scan_file): Set inhibit_warnings and inhibit_errors in
10203 the options structure.
10205 2000-02-10 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
10207 * c-pragma.c (maximum_field_alignment): Remove duplicate declaration.
10209 2000-02-10 Jason Merrill <jason@casey.cygnus.com>
10211 * dwarf2out.c (add_abstract_origin_attribute): Check TREE_CODE (origin)
10212 rather than die->die_tag.
10214 Thu Feb 10 16:26:49 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
10216 * combine.c (make_extraction, force_to_mode): Avoid warning on
10217 mixed-signedness conditionals.
10218 (make_field_assignment, nonzero_bits): Likewise.
10219 * expmed.c (store_fixed_bit_field): ALIGN arg now unsigned.
10220 (store_split_bit_field, extract_split_bit_field): Likewise.
10221 (extract_fixed_bit_field, store_bit_field,
10222 * expr.c: Change alignment to be unsigned everywhere.
10223 (move_by_pieces, store_constructor_field, store_constructor):
10224 Alignment parm is unsigned.
10225 (emit_block_move, emit_group_load, emit_group_store): Likewise.
10226 (clear_storage, emit_push_insn, compare_from_rtx): Likewise.
10227 (do_compare_rtx_and_jump): Likewise.
10228 (move_by_pieces_ninsns, clear_by_pieces): Likewise.
10229 Compare align with GET_MODE_ALIGNMENT.
10230 (expand_expr_unaligned): Pointer to alignment is pointer to unsigned.
10231 (get_inner_reference): Likewise.
10232 (copy_blkmode_from_reg, emit_push_insn): Remove unneeded casts.
10233 (expand_assignment): Local vars for alignment now unsigned.
10234 (store_constructor, store_field, expand_expr, do_jump): Likewise.
10235 (do_compare_and_jump): Likewise.
10236 (store_field): Call new function expr_align.
10237 * expr.h (emit_block_move, emit_group_load, emit_group_store):
10238 Alignment arg now unsigned.
10239 (clear_storage, emit_push_insn, compare_from_rtx): Likewise.
10240 (do_compare_rtx_and_jump, store_bit_field): Likewise.
10241 (extract_bit_field): Likewise.
10242 * fold-const.c (add_double): Add cast to eliminate signedness warning.
10243 * machmode.h (GET_MODE_ALIGNMENT): Result is unsigned.
10244 (get_best_mode): Alignment arg is unsigned.
10245 * rtl.h (move_by_pieces): Likewise.
10246 * store-layout.c (maximum_field_alignment, set_alignment):
10248 (layout_decl): Alignment arg is now unsigned.
10249 Remove unneeded casts.
10250 (layout_record, layout_union, layout_type): Remove unneeded casts.
10251 Local alignment variables now unsigned.
10252 (get_best_mode): Alignment arg now unsigned.
10253 * tree.c (expr_align): New function.
10254 * tree.h (expr_align): Likewise.
10255 (maximum_field_alignment, set_alignment): Now unsigned.
10256 (get_inner_reference): Alignment argument is now pointer to unsigned.
10257 * varasm.c (assemble_variable): Add cast to eliminate warning.
10259 Thu Feb 10 12:56:47 2000 Jim Wilson <wilson@cygnus.com>
10261 * expmed.c (store_bit_field): If op0 and fieldmode are the same size,
10262 then store directly into op0.
10264 * calls.c (expand_call): When emitting a NOTE_INSN_SETJMP, search for
10265 the CALL_INSN, and emit the note immediately after it.
10267 2000-02-10 Nick Clifton <nickc@cygnus.com>
10269 * config/arm/thumb.md (epilogue): Include a (return) in the
10270 generated insn, and emit it using emit_jump_insn not
10273 Thu Feb 10 18:28:59 MET 2000 Jan Hubicka <jh@suse.cz>
10275 * function.c (assign_temp): Change zero-sized arrays to size 1.
10276 * integrate.c (expand_inline_function): Do not update
10277 stack_alignment_needed
10278 * i386.c (compute_frame_size): Remove #ifdef PREFERRED_FRAME_BOUNDARY,
10279 add some sanity checking, remove optimization for function with
10282 2000-02-10 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
10284 * flow.c (mark_regs_live_at_end): Delete unused variables.
10286 * ggc-page.c (ggc_page_print_statistics): bzero -> memset.
10288 * integrate.c (copy_rtx_and_substitute): Wrap variable `alignment'
10289 in macro FRAME_GROWS_DOWNWARD.
10291 * stmt.c (expand_end_bindings): Delete unused variable.
10293 * unroll.c (iteration_info): Mark parameter `loop' with
10296 2000-02-10 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
10298 * fixinc/server.c (load_data): Return NULL if the marker line is
10300 (run_shell): If load_data returns NULL, retry the command once, in
10303 * configure: Rebuilt.
10305 2000-02-09 Bruce Korb <bkorb@gnu.org>
10307 * gcc/fixincludes: ** DELETED **
10308 * gcc/fixcpp: ** DELETED **
10309 * gcc/fixinc-nt.sed: ** DELETED **
10310 * gcc/just-fixinc: ** DELETED **
10311 * gcc/Makefile.in: Removed out-dated commentary
10312 * gcc/configure.in: Removed fast-fixincludes disablement.
10313 * MAINTAINERS(Ian Taylor) moved to "Write after approval" group.
10315 2000-02-09 Clinton Popetz <cpopetz@cygnus.com>
10316 * function.c (thread_prologue_and_epilogue_insns): Uncomment
10319 2000-02-09 Richard Henderson <rth@cygnus.com>
10321 * jump.c (delete_insn): Don't delete user labels at -O0.
10323 2000-02-09 Robert Lipe <robertl@sco.com>
10325 * Makefile.in (gen-protos): Don't depend on HOST_LIBDEPS.
10326 Don't link with HOST_LIBS.
10328 2000-02-09 Zack Weinberg <zack@wolery.cumb.org>
10330 * configure.in: Correct --help text for --with-dwarf2.
10331 Put tm-dwarf2.h after other tm files, if it's requested.
10332 * configure: Regenerate.
10333 * config/tm-dwarf2.h: #undef PREFERRED_DEBUGGING_TYPE before
10336 2000-02-09 Zack Weinberg <zack@wolery.cumb.org>
10338 * cpplib.h: Provide HASHNODE typedef and forward decl of
10339 struct hashnode only. Kill cpp_hashnode typedef. MACRODEF,
10340 DEFINITION, struct hashnode, struct macrodef, struct
10341 definition, scan_decls prototype, default defn of
10342 INCLUDE_LEN_FUDGE moved elsewhere.
10344 * cpphash.h: MACRODEF, DEFINITION, struct macrodef, struct
10345 definition, and struct hashnode moved here. Remove the unused
10346 'predefined' field from struct definition. Replace the 'args'
10347 union with its sole member. All users updated (cpphash.c).
10348 Delete HASHSTEP and MAKE_POS macros, and hashf prototype. Add
10349 multiple include guard.
10351 * cpphash.c (hashf): Make static; use better algorithm; drop
10352 HASHSIZE parameter; return an unsigned int.
10353 (cpp_lookup): Drop HASH parameter. PFILE parameter is
10354 used. Calculate HASHSIZE modulus here.
10355 (cpp_install): Drop HASH parameter. Calculate HASHSIZE modulus
10357 (create_definition): Drop PREDEFINITION parameter.
10358 * cpplib.c (do_define): Don't calculate a hash value here.
10359 Don't pass (keyword == NULL) to create_definition.
10361 * scan.h: Prototype scan_decls here.
10362 * cppfiles.c: Move INCLUDE_LEN_FUDGE default defn here.
10363 * cppexp.c, cppfiles.c, cppinit.c, cpplib.c, fix-header.c: All
10364 callers of cpp_lookup and cpp_install updated.
10366 * cpphash.c (macarg): Hoist all the flag diddling out of the
10368 (macroexpand): ... and out of the loop that calls macarg.
10369 Skip over the initial paren before macro arguments with
10370 cpp_get_non_space_token; point may be some distance before
10371 that paren. Abort if it's not there.
10373 * cpplib.c (parse_clear_mark): Delete function.
10374 (parse_set_mark, parse_goto_mark): Make static.
10375 (ACTIVE_MARK_P): New macro.
10376 (skip_block_comment, skip_line_comment): Do not bump the line
10377 if ACTIVE_MARK_P is true.
10378 (cpp_pop_buffer): The buffer to be popped may not have an
10380 (cpp_get_token): When looking for the initial paren before
10381 macro arguments, only set a mark in a file buffer, Always
10382 return to that mark before proceeding to call macroexpand or
10383 return a NAME token.
10385 * cpplib.h: Remove prototypes of parse_set_mark,
10386 parse_clear_mark, parse_goto_mark.
10387 (struct cpp_options): Rename 'put_out_comments' to
10388 'discard_comments' and invert its sense.
10389 * cppinit.c, cpphash.c, cpplib.c: All users of
10390 put_out_comments changed to use discard_comments, with
10393 2000-02-09 Clinton Popetz <cpopetz@cygnus.com>
10395 * function.c (thread_prologue_and_epilogue_insns): Don't delete
10396 the edge from a block that both jumps and falls through to the
10399 2000-02-09 Scott Bambrough <scottb@netwinder.org>
10401 * config/arm/arm.md (movsi): In PIC mode, make sure that a
10402 constant source address is legitimate.
10404 2000-02-09 Philip Blundell <pb@futuretv.com>
10406 * config/arm/arm.c (legitimize_pic_address): Handle LABEL_REF
10409 * config/arm/arm.h (LEGITIMATE_CONSTANT_P): Allow anything when
10411 (LEGITIMATE_PIC_OPERAND): Disallow references to labels.
10413 2000-02-09 Zack Weinberg <zack@wolery.cumb.org>
10415 * cpplib.c (cpp_define, cpp_undef): Make sure the stacked buffer
10416 ends with a newline and a NUL. Don't be so clever manipulating
10419 Wed Feb 9 14:18:08 MET 2000 Jan Hubicka <jh@suse.cz>
10421 * reload1.c (reload) Align stack frame to cfun->stack_alignment_needed,
10422 not to BIGGEST_ALIGNMENT.
10424 2000-02-08 Geoff Keating <geoffk@cygnus.com>
10426 * dwarf2.h (DW_CFA_GNU_negative_offset_extended): New constant.
10427 * dwarf2out.c (dwarf_cfi_name): Print name of new constant.
10428 (reg_save): Use DW_CFA_GNU_negative_offset_extended when needed.
10429 (output_cfi): Handle output of DW_CFA_GNU_negative_offset_extended.
10430 * frame.c (execute_cfa_insn): Handle
10431 DW_CFA_GNU_negative_offset_extended.
10433 2000-02-08 Richard Henderson <rth@cygnus.com>
10435 * flow.c (tidy_fallthru_edges): Split out from ...
10436 (delete_unreachable_blocks): ... here.
10437 (find_basic_blocks): Use it.
10439 Tue Feb 8 15:51:50 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
10441 * stmt.c (expand_decl): Do set RTX_UNCHANGING_P for TREE_READONLY.
10443 2000-02-08 Zack Weinberg <zack@wolery.cumb.org>
10445 * Makefile.in (GEN_PROTOS_OBJS): Remove libcpp.a.
10446 (gen_protos.o): Don't depend on cpplib.h or cpphash.h.
10447 (fix-header.o): Don't depend on cpphash.h.
10449 * scan.c (hashstr): New function.
10450 * scan.h: Prototype it.
10451 * fix-header.c: Don't include cpphash.h. Use hashstr.
10452 * gen-protos.c: Don't include cpphash.h or cpplib.h. Use
10453 hashstr. Report hash table statistics. Add private
10454 definition of xrealloc.
10456 2000-02-08 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
10458 * i386.h (TARGET_SWITCHES): Fix typo in option name.
10460 2000-02-08 Clinton Popetz <cpopetz@cygnus.com>
10462 * function.c (thread_prologue_and_epilogue_insns): Don't replace
10463 jumps with returns unless they are jumps to the fallthru block.
10465 Tue Feb 8 07:53:55 2000 Jan Hubicka <jh@suse.cz>
10467 * i386.md (addqi3_cc): Fix contraints.
10469 Tue Feb 8 01:39:45 2000 Hans-Peter Nilsson <hp@bitrange.com>
10471 * function.c (emit_return_into_block): Wrap in #ifdef HAVE_return.
10473 2000-02-07 Mark Mitchell <mark@codesourcery.com>
10475 * cpplib.c (cpp_get_token): Call CPP_BUMP_LINE after reading a
10476 carriage return after a macro name.
10478 2000-02-07 Fred Fish <fnf@be.com>
10480 * i386/beos-elf.h: (ASM_IDENTIFY_GCC): Define to nothing
10481 so the gcc2_compiled symbol doesn't confuse BeOS debuggers.
10483 2000-02-07 Zack Weinberg <zack@wolery.cumb.org>
10485 * cppfiles.c (deps_output): Count spacers in deps_column.
10487 2000-02-07 Neil Booth <NeilB@earthling.net>
10489 * cppinit.c (initialize_dependency_output): If there is no
10490 suffix, don't try to look for known suffixes. Use strrchr.
10491 (cpp_start_read): Remove duplicate initialization.
10493 Mon Feb 7 18:36:41 MET 2000 Jan Hubicka <jh@suse.cz>
10495 * calls.c (compute_argument_block_size): New argument
10496 preferred_stack_boundary.
10497 (expand_call): update cfun->preferred_stack_boundary, update call of
10498 compute_argument_block_size
10499 (emit_library_call): Increate cfun->preferred_stack_boundary
10500 to PREFERRED_STACK_BOUNDARY
10501 (emit_library_call_value): Likewise.
10502 * explow.c (allocate_dynamic_stack_spave): Likewise.
10503 * function.c (prepare_function_start): Set
10504 cfun->preferred_stack_boundary
10505 * function.h (struct function): Add preferred_stack_boundary field.
10506 * integrate.c (expand_inline_function): Update
10507 cfun->preferred_stack_boundary and cfun->stack_alignment_needed.
10508 (copy_rtx_and_substitute): Align frame to stack_alignment_needed only.
10509 * i386.c (compute_frame_size): Use cfun->preferred_stack_boundary.
10511 2000-02-06 Zack Weinberg <zack@wolery.cumb.org>
10513 * cpplib.c (my_strerror, cpp_error, cpp_error_with_line,
10514 cpp_error_from_errno, cpp_warning, cpp_warning_with_line,
10515 cpp_pedwarn, cpp_pedwarn_with_line,
10516 cpp_pedwarn_with_file_and_line): Move to cpperror.c.
10517 (cpp_print_file_and_line, v_cpp_error, v_cpp_warning,
10518 v_cpp_error_with_line, v_cpp_warning_with_line,
10519 cpp_message_from_errno, cpp_perror_with_name): Delete.
10521 * cpperror.c (cpp_print_containing_files): Take starting
10522 buffer as argument.
10523 (cpp_file_line_for_message): Rename to cpp_print_file_and_line.
10524 (v_cpp_message): Now called directly by all entry points.
10526 (cpp_pfatal_with_name, cpp_message): Delete.
10527 (cpp_notice_from_errno, cpp_ice): New functions.
10528 (cpp_notice): Is now for reporting error conditions, just
10529 without an associated file.
10530 (cpp_error, cpp_error_with_line): Don't do anything if
10531 opts->inhibit_errors is on.
10532 (cpp_pedwarn_with_file_and_line): Take column argument also.
10534 * cpplib.h: Update prototypes of exported functions.
10535 (struct cpp_options): Add inhibit_errors.
10537 * cppalloc.c, cppfiles.c: Use fprintf not cpp_notice for
10538 non-error messages. Include intl.h.
10540 * cppinit.c, cppmain.c: Likewise. Also, use
10541 cpp_notice_from_errno instead of cpp_perror_with_name or
10542 cpp_pfatal_with_name, and cpp_notice instead of cpp_message.
10544 * cppexp.c, cpphash.c, cppinit.c, cpplib.c: Use cpp_ice to
10545 report internal errors.
10547 * cpplib.c (do_define): Switch bcopy to memcpy.
10548 Give cpp_pedwarn_with_file_and_line a dummy column argument.
10550 * cpplib.c (copy_rest_of_line): Revert previous change: don't
10551 bail out early if we hit a line comment.
10553 2000-02-06 Richard Henderson <rth@cygnus.com>
10555 * flow.c (flow_delete_insn, make_edge, remove_edge): Export.
10556 * basic-block.h: Declare them.
10557 * emit-rtl.h (active_insn_p): New.
10558 (next_active_insn, prev_active_insn): Use it.
10559 * rtl.h: Declare it.
10560 * function.c (emit_return_into_block): New.
10561 (thread_prologue_and_epilogue_insns): Insert return insns instead
10562 of epilogues when possible.
10563 * jump.c (jump_optimize_1): Remove code to insert a return insn
10564 on the fallthru to the exit block.
10566 * i386.c (ix86_can_use_return_insn_p): Fail for large poped args
10567 and for non-empty stack frames.
10568 * i386.md (return): Expand to return-pop as needed.
10570 2000-02-06 Richard Henderson <rth@cygnus.com>
10572 * simplify-rtx.c (simplify_relational_operation): Canonicalize
10573 constant to op1 for testing.
10575 2000-02-06 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
10577 * config/c4x/c4x.md (*ldi_on_overflow): New pattern.
10578 (fixuns_truncqfqi2): Use it.
10580 2000-02-06 Richard Henderson <rth@cygnus.com>
10582 * i386.c (ix86_agi_dependant): Handle pro_epilogue_adjust_stack
10583 as a TYPE_LEA insn.
10585 * i386.md (widening and peepholes): Mask the constant instead of
10588 2000-02-05 Zack Weinberg <zack@wolery.cumb.org>
10590 * cppfiles.c (read_and_prescan) [case SPECCASE_QUESTION]: Bump
10591 input pointer before possibly branching off to the backslash
10593 * cpphash.c (macroexpand): Correctly delete \r escapes when
10594 stringifying parameters.
10595 * cpplib.c (copy_rest_of_line): Go directly to skip_block_comment
10596 if we can; bail out early if we hit a line comment.
10597 (handle_directive): Treat '# 123' in an .S file just like
10598 '# <punctuation>'. Discard the shifted '#' if we hit '#\n'.
10599 Return 1 for '# not_a_directive'.
10600 (get_directive_token): Pop macro buffers here, so that
10601 cpp_get_token can't sneakily move past a newline.
10603 (cpp_get_token): goto randomchar if handle_directive returns 0.
10605 * cppalloc.c: Update copyright.
10606 * cpplib.c: Merge all the static function prototypes into one
10608 * cpplib.h: Remove #if 0 block.
10610 * cpperror.c: Remove #ifdef EMACS block.
10611 * cppmain.c: Likewise.
10612 * cpphash.c: Remove #if 0 blocks.
10613 * cppinit.c: Remove #if 0 blocks, and the -lint option.
10614 * cpplib.c: Remove #if 0 blocks and code referencing
10615 pcp_inside_if or for_lint. Remove duplicate error message.
10616 Fix error messages for #else after #else or #elif. Reformat.
10617 Remove archaic TODO list.
10618 * cpplib.h: Remove pcp_inside_if and for_lint flags.
10620 2000-02-05 Zack Weinberg <zack@wolery.cumb.org>
10622 * i386/osf1elf.h: Add missing backslash to multiline string.
10624 2000-02-05 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
10626 * longlong.h [sparc] (udiv_qrnnd): Avoid stringifying macro arg.
10628 2000-02-05 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
10630 * Makefile.in (c-common.o): Depend on $(EXPR_H).
10632 * c-common.c: Include expr.h.
10634 * c-pragma.c (mark_align_stack): Add prototype.
10636 * caller-save.c (add_stored_regs): Likewise.
10638 * combine.c (record_promoted_value): Likewise.
10640 * i386.c (ix86_sched_reorder_pentium, ix86_sched_reorder_ppro):
10643 * cppinit.c (new_pending_define): Likewise.
10645 * cpplib.c (skip_block_comment, skip_line_comment): Likewise.
10647 * dwarf2out.c (save_rtx, splice_child_die, reverse_die_lists,
10648 AT_class, AT_flag, AT_int, AT_unsigned, AT_string, AT_ref, AT_loc,
10649 AT_addr, AT_lbl, get_AT_ref, free_AT, free_die, local_scope_p,
10650 class_scope_p): Likewise.
10652 * dwarf2out.h (dwarf2out_set_demangle_name_func,
10653 dwarf2out_add_library_unit_info): Likewise.
10655 * ggc.h (ggc_page_print_statistics): Likewise.
10657 * haifa-sched.c (propagate_deps): Likewise.
10659 * reg-stack.c (next_flags_user, record_label_references): Likewise.
10661 * rtl.h (set_stack_check_libfunc): Likewise.
10663 * toplev.h (set_fatal_function): Likewise.
10665 * toplev.c (set_fatal_function): Delete prototype.
10667 * diagnostic.c: Deconstify functions returning malloc'ed ptrs.
10669 2000-02-05 Geoff Keating <geoffk@cygnus.com>
10671 * ginclude/ppc-asm.h (FUNC_START): Use USER_LABEL_PREFIX.
10672 (FUNC_END): Likewise.
10674 2000-02-05 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
10676 * caller-save.c: Include tm_p.h.
10678 2000-02-05 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
10680 * Makefile.in (libgcc.a): Add $(LIBGCC1) to libgcc.a after $(LIBGCC2).
10682 2000-02-04 Neil Booth <NeilB@earthling.net>
10684 * cccp.c (main): Check 'dir' for a NULL pointer before passing
10687 2000-02-04 Zack Weinberg <zack@wolery.cumb.org>
10689 * recog.h: Remove NO_MD_PROTOTYPES ifdefs.
10690 * genflags.c: Use the max_operand_1 logic from genemit.c to
10691 calculate how many arguments gen_insn prototypes have. Remove
10692 NO_MD_PROTOTYPES ifdefs from the generated file.
10693 * genoutput.c: Don't define NO_MD_PROTOTYPES in the generated
10694 file. Cast gen_insn initializers to insn_gen_fn.
10695 * config/alpha/vms.h: Don't define NO_MD_PROTOTYPES.
10696 * gcc.texi: Remove documentation of NO_MD_PROTOTYPES.
10698 2000-02-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
10700 * fixinc/Makefile.in (HDR): Add machname.h.
10703 2000-02-05 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
10705 * config/c4x/c4x.h (c4x_compare_op0, c4x_compare_op1): Move ...
10706 (c4x_regclass_map, c4x_caller_save_map, c4x_rpts_cycles): Ditto.
10707 (c4x_cpu_version): Ditto.
10708 * config/c4x/c4x-protos.h: ... here.
10710 2000-02-04 Jason Merrill <jason@casey.cygnus.com>
10712 * dwarf2out.c (add_abstract_origin_attribute): Don't call
10713 gen_abstract_function on our context if we're a nested function.
10715 2000-02-05 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
10717 * config/c4x/c4x.md (fixuns_truncqfqi2): Rewrite.
10718 * config/c4x/libgcc.S (ufix_truncqfhi2n): Fix.
10720 2000-02-04 Bruce Korb <bkorb@gnu.org>
10722 * fixinc/genfixes(machname.h):
10723 Move the functionality from gen-machine.h into this file.
10724 UNdef MN_NAME_PAT if there are no names to change.
10725 Also, be a little kinder when AutoGen is not present.
10727 * fixinc/Makefile.in(machname.h):
10728 Change the generation rule to use genfixes.
10730 * fixinc/fixfixes.c(machine_name):
10731 machine_name_fix's functionality now dependent upon whether
10732 MN_NAME_PAT is defined.
10734 * fixinc/fixtests.c(machine_name):
10737 * fixinc/fixlib.c(mn_get_regexps): conditional on definition
10740 * fixinc/fixlib.h(mn_get_regexps):
10743 * fixinc/gen-machine.h: DELETED
10745 2000-02-04 Jan Hubicka <jh@suse.cz>
10746 Richard Henderson <rth@cygnus.com>
10748 * i386.c (SAVE_REGS_FIRST): Remove.
10749 (ix86_initial_elimination_offset): Handle only SAVE_REGS_FIRST mode.
10750 (ix86_compute_frame_size): Likewise.
10751 (ix86_expand_prologue): Likewise. Use pro_epilogue_adjust_stack.
10752 (ix86_emit_restore_regs): Remove.
10753 (ix86_emit_epilogue_esp_adjustment): Use pro_epilogue_adjust_stack
10754 when a frame pointer is in use.
10755 (ix86_expand_epilogue): Handle only SAVE_REGS_FIRST mode. Use mov
10756 instead of pop to restore a register when profitable; emit leave
10758 (ix86_attr_length_default): Handle pro_epilogue_adjust_stack
10759 as a TYPE_LEA insn.
10760 (ix86_adjust_cost): Handle pro_epilogue_adjust_stack as TYPE_ALU.
10761 * i386.md (prologue_allocate_stack): Remove.
10762 (epilogue_deallocate_stack): Remove.
10763 (pro_epilogue_adjust_stack): New.
10765 2000-02-04 Richard Henderson <rth@cygnus.com>
10767 * function.c (diddle_return_value): Rework to use a callback function.
10768 Use current_function_return_rtx if it's been set up.
10769 (do_clobber_return_reg, clobber_return_register): New.
10770 (do_use_return_reg, use_return_register): New.
10771 (expand_function_end): Use them.
10772 * stmt.c (expand_null_return): Likewise.
10773 * function.h: Declare them.
10774 * flow.c (mark_regs_live_at_end): Use diddle_return_value.
10775 (mark_reg): Change arguments as appropriate for callback.
10776 * integrate.c (expand_inline_function): Revert 19 Jan change.
10778 Fri Feb 4 20:25:42 2000 Hans-Peter Nilsson <hp@bitrange.com>
10780 * tm.texi (Values in Registers): Fix typo: "fo" "for".
10781 (Misc): Say the scheduler, not the Haifa scheduler.
10783 2000-02-04 Clinton Popetz <cpopetz@cygnus.com>
10785 * jump.c (mark_jump_label): Add in_mem param, check SYMBOL_REFs
10786 when in_mem is set. Update all callers.
10788 2000-02-04 Richard Henderson <rth@cygnus.com>
10790 * i386/openbsd.h (INT_ASM_OP): Define.
10792 Fri Feb 4 10:51:30 2000 Hans-Peter Nilsson <hp@bitrange.com>
10794 * tm.texi: Fix various typos.
10796 Thu Feb 3 17:17:32 2000 Steve Ellcey <sje@cup.hp.com>
10798 * config/pa/pa-hpux11.h (LIB_SPEC): Correct typo in !p case.
10799 (MD_STARTFILE_PREFIX_1): New macro.
10801 Thu Feb 3 15:08:13 MET 2000 Jan Hubicka <jh@suse.cz>
10803 * i386.md (movstrsi, clrstrsi): Support variable sized copies, align
10804 destination when needed.
10805 (strmovsi, strsetsi): New expander.
10806 (strmovsi_1, strsetsi_1): New pattern.
10807 * i386.h (MASK_NO_ALIGN_STROP, MASK_INLINE_ALL_STROP,
10808 TARGET_ALIGN_STRINGOPS, TARGET_INLINE_ALL_STRINGOPS): New macros.
10809 (TARGET_SWITCHES) Add align-stringops and inline-all-stringops.
10810 * invoke.texi (align-stringops, inline-all-stringops): Document.
10812 Wed Feb 2 23:04:47 2000 Krister Walfridsson <cato@df.lth.se>
10814 * i386/netbsd.h (INT_ASM_OP): Define.
10816 2000-02-02 Zack Weinberg <zack@wolery.cumb.org>
10818 * cpplib.h (cpp_reader): Add new flag, no_directives.
10819 * cpphash.c (macarg): Set it.
10820 * cpplib.c (handle_directive): If no_directives is on and we
10821 find a directive, issue an error and discard the line.
10823 Wed Feb 2 13:07:10 2000 Jim Wilson <wilson@cygnus.com>
10825 * config/sparc/sparc.h (PREFERRED_RELOAD_CLASS): Delete 'E' check for
10826 FP constants. Add ! TARGET_FPU check for FP constants.
10828 2000-02-02 Clinton Popetz <cpopetz@cygnus.com>
10830 * flow.c (find_basic_blocks): Don't kill label_value_list
10832 (cleanup_cfg): Kill it here.
10834 Wed Feb 2 08:12:30 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
10836 * expr.c (store_field): Ensure ALIGN is no stricter than the
10839 2000-02-02 Richard Henderson <rth@cygnus.com>
10841 * jump.c (delete_insn): Partially revert 19 Jan change;
10842 don't convert unused code labels to notes at -O0.
10844 2000-02-02 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
10846 * toplev.c (rest_of_compilation): Run rebuild_jump_labels after
10847 split_all_insns to recreate REG_LABEL notes for flow2 pass.
10849 2000-02-01 Richard Henderson <rth@cygnus.com>
10851 * i386.c (general_no_elim_operand): New.
10852 (nonmemory_no_elim_operand): New.
10853 (ix86_expand_move): Copy eliminable operands before a push.
10854 * i386-protos.h: Declare new functions.
10855 * i386.h (CAN_ELIMINATE): Simplify.
10856 (PREDICATE_CODES): Update.
10857 * i386.md (push insns): Don't allow eliminable register operands.
10859 2000-02-01 Richard Henderson <rth@cygnus.com>
10861 * flow.c (mark_regs_live_at_end): Follow expand_function_end and
10862 replace BLKmode with DECL_RTL's mode.
10864 2000-02-01 Zack Weinberg <zack@wolery.cumb.org>
10866 * frame.c (find_fde): Convert for loop to do-while so compiler
10867 sees it's always executed at least once.
10868 * libgcc2.c (BBINBUFSIZE): Kill.
10869 (__bb_init_prg): Use fgets.
10870 (__bb_exit_trace_func): Don't paste strings.
10871 * unroll.c (unroll_loop): Initialize unroll_type, not
10872 unroll_number, and tweak logic to match.
10874 * i386.c (ix86_expand_int_movcc): Add explicit 'return 0' in
10876 (ix86_flags_dependant): Likewise. Disentangle control flow.
10877 (ix86_sched_reorder): Break guts out to
10878 ix86_sched_reorder_pentium and ix86_sched_reorder_ppro.
10879 (ix86_sched_reorder_ppro): Initialize pair2 and insnp before
10882 * i386.h (MACHINE_STATE_SAVE, MACHINE_STATE_RESTORE): Don't
10883 use string concatenation. Don't save and restore esi.
10885 * fixinc/Makefile.in (fixincl.sh): Don't depend on inclhack.def.
10886 (machname.h): Remove script to separate file. Use two-step
10887 sequence so target is not created if script fails.
10888 * fixinc/gen-machname.h: New file. Handle case where no non-reserved
10889 identifiers are defined.
10890 * fixinc/fixlib.c (mn_get_regexps): Return a flag: if MN_NAME_PAT is
10891 an empty string, machine_name doesn't need to do anything at
10893 (is_cxx_header): Add more cases to regexp.
10894 * fixinc/fixlib.h: Update prototype.
10895 * fixinc/fixtests.c, fixinc/fixfixes.c: Update callers of
10897 * fixinc/fixincl.c: Define NO_BOGOSITY.
10899 * fixinc/inclhack.def (no_double_slash, else_endif_label): Ifdef out.
10900 (hp_sysfile): Add missing comma.
10901 (math_exception): Put the wrapper ifdefs at the beginning and
10902 the end of the file.
10903 * fixinc/fixincl.x, fixinc/inclhack.sh: Regenerate.
10905 2000-02-01 Richard Henderson <rth@cygnus.com>
10907 * sparc.c (fp_zero_operand): Turn into a normal predicate.
10908 Use CONST0_RTX. Update all callers.
10909 * sparc.h, sparc-protos.h: Update accordingly.
10910 * sparc.md (fp mov insns): Use fp_zero_operand directly
10913 Wed Feb 2 02:59:45 2000 Hans-Peter Nilsson <hp@bitrange.com>
10915 * tm.texi (Values in Registers): Fix typo in HARD_REGNO_NREGS
10918 2000-02-01 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
10920 * Makefile.in (specs.ready): New target.
10921 (fixinc.sh): Depend on `specs.ready' instead of `specs'.
10923 2000-02-01 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
10925 * fixinc.irix: Use unique filenames for writing into /tmp,
10926 * fixinc.ptx: Likewise.
10927 * fixinc.sco: Likewise.
10928 * fixinc.svr4: Likewise.
10929 * fixinc.winnt: Likewise.
10931 2000-02-01 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
10933 * tsystem.h: New file.
10935 * Makefile.in (libgcc2.a, stmp-multilib, crtbegin.o, crtend.o,
10936 s-crtS): Depend on tsystem.h.
10938 * crtstuff.c: Include tsystem.h.
10939 * frame.c: Likewise.
10940 * libgcc2.c: Likewise.
10942 Tue Feb 1 19:53:27 CET 2000 Jan Hubicka <jh@suse.cz>
10944 * builtins.c (expand_builtin_memset): Expand for variable sized
10947 2000-02-01 David Billinghurst <David.Billinghurst@riotinto.com.au>
10949 * config/mips/iris6.h (SUBTARGET_ASM_SPEC) : Default ISA based
10952 Tue Feb 1 00:57:40 2000 Hans-Peter Nilsson <hp@bitrange.com>
10954 * dwarfout.c (SHORT_TYPE_SIZE): Correct default.
10956 * tm.texi (Type Layout): Correct entry for CHAR_TYPE_SIZE.
10958 2000-01-31 Chandra Chavva <cchavva@cygnus.com>
10960 * combine.c (try_combine) [HAVE_cc0]: Trying to check the missed
10961 case 3->2 combining (combining with splitting) in which 2 is CC0
10962 setter/user and 3 is user. The rest of cases 2->1 and 3->2 are
10963 checked at the begining of the function with the aid of calling
10964 function 'can_combine_p'.
10966 2000-01-31 Dave Brolley <brolley@redhat.com>
10968 * cccp.c (struct argdata): Redeclare 'newlines' field as 'int'.
10970 2000-01-31 Jason Merrill <jason@casey.cygnus.com>
10972 * jump.c (redirect_jump): Move a NOTE_INSN_FUNCTION_END to the
10975 2000-01-31 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
10977 * gansidecl.h (PROTO, VPROTO, PVPROTO): Delete macros.
10979 * sbitmap.h (sbitmap_first_set_bit, sbitmap_last_set_bit):
10982 2000-01-30 Zack Weinberg <zack@wolery.cumb.org>
10984 * i386/386bsd.h, i386/beos-pe.h, i386/bsd386.h, i386/crtdll.h,
10985 i386/cygwin.h, i386/dgux.h, i386/djgpp-rtems.h, i386/djgpp.h,
10986 i386/freebsd.h, i386/gnu.h, i386/i386-aout.h, i386/i386-coff.h,
10987 i386/i386-interix.h, i386/i386elf.h, i386/linux.h, i386/lynx-ng.h,
10988 i386/lynx.h, i386/mach.h, i386/mingw32.h, i386/moss.h,
10989 i386/netbsd.h, i386/next.h, i386/openbsd.h, i386/osf1elf.h,
10990 i386/ptx4-i.h, i386/rtems.h, i386/rtemself.h, i386/sco.h,
10991 i386/sequent.h, i386/sun.h, i386/sysv4.h, i386/uwin.h, i386/vsta.h,
10992 i386/vxi386.h, i386/win-nt.h, i386/win32.h:
10993 Remove -Di386 -Acpu(i386) -Amachine(i386) from CPP_PREDEFINES.
10995 * i386/osf1elf.h, i386/scodbx.h, i386/seq-sysv3.h, i386/sysv5.h:
10996 Add %(cpp_cpu) to CPP_SPEC.
10998 * i386/osf1elf.h, i386/osfelf.h, i386/osfrose.h:
10999 Add %(cc1_cpu) to CC1_SPEC.
11001 2000-01-28 Ulrich Drepper <drepper@redhat.com>
11003 * c-decl.c (c_decode_option): Accept optional numeric argument to
11004 -Wformat and set warn_format.
11005 * c-common.c: Don't emit warning about non-constant printf format
11006 string unless warn_format > 1.
11008 2000-01-30 Richard Henderson <rth@cygnus.com>
11010 * alpha.md (return_internal): Allow after reload only.
11012 2000-01-30 Richard Henderson <rth@cygnus.com>
11014 * i386.c (ix86_compute_frame_size): Omit padding1 if the
11015 local frame size is zero.
11017 2000-01-30 Richard Henderson <rth@cygnus.com>
11019 * alpha.c (alpha_expand_epilogue): Don't emit the return insn.
11020 * alpha.h (EPILOGUE_USES): New. Mark $26 live.
11021 * alpha.md (return): Turn into an expander.
11022 (return_internal): Don't use $26.
11023 (epilogue): Emit the return insn.
11025 2000-01-30 Richard Henderson <rth@cygnus.com>
11027 * alpha.md (negtf2, abstf2): Fix word order thinko.
11028 (extendsftf2): New.
11029 (trunctfsf2): Avoid intermediate rounding errors.
11031 2000-01-30 Zack Weinberg <zack@wolery.cumb.org>
11033 * cppfiles.c (find_position): Drop 'colp' argument, return the
11035 (read_and_prescan): Adjust to match. Don't ever manipulate
11036 line or line_base except via find_position.
11038 2000-01-29 Zack Weinberg <zack@wolery.cumb.org>
11040 * c-parse.in: Apply Ulrich's changes from c-parse.y.
11041 * c-parse.y, objc/objc-parse.y, c-parse.c, objc/objc-parse.c:
11044 2000-01-29 Zack Weinberg <zack@wolery.cumb.org>
11046 * cpperror.c (cpp_file_line_for_message): If 'line' is zero,
11047 just print "<command line>". If 'filename' is null or an
11048 empty string, print "<stdin>" for the filename.
11049 * cpplib.c (do_define): Don't print the 'location of the
11050 previous definition' message if we're still parsing the
11052 (cpp_pedwarn_with_file_and_line): Always call
11053 cpp_file_line_for_message.
11055 2000-01-29 Mark Mitchell <mark@codesourcery.com>
11057 * flow.c (mark_regs_live_at_end): Fix typo.
11059 2000-01-28 Ulrich Drepper <drepper@redhat.com>
11061 * c-common.c: Adjust variable names, comments, help strings to c99.
11062 * c-lex.c: Likewise.
11063 * c-parse.y: Likewise.
11064 * c-tree.h: Likewise.
11065 * cccp.c: Likewise.
11066 * cpplib.h: Likewise.
11067 * c-decl.c: Likewise. Recognize options with names "*99" as well.
11068 * cppinit.c: Likewise.
11070 2000-01-29 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
11072 * c4x.h (INIT_TARGET_OPTABS): Add all missing local optab entries.
11073 * c4x.c: Define the optab rtx values.
11074 (c4x_add_gc_roots): Add the ggc roots for these optab rtx values.
11075 (c4x_emit_libcall): Use new optab rtx values.
11076 (c4x_emit_libcall3): Likewise.
11077 (c4x_emit_libcall_mulhi): Likewise.
11078 * c4x-protos.h: Add prototypes for optab rtx values and change
11079 prototypes for above c4x_emit_libcall functions.
11081 2000-01-29 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
11083 * c4x.c (c4x_output_ascii): Restrict line length of output when TI
11085 (c4x_function_prologue): Use regnames intead of float_reg_names when
11087 (c4x_function_epilogue): Likewise.
11088 (c4x_print_operand): Likewise.
11089 * c4x.h (HOST_WIDE_INT_PRINT_HEX): Redefine.
11090 * c4x.md (set_high): Disable for TARGET_TI.
11092 2000-01-29 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
11094 * c4x.h (PREFERRED_RELOAD_CLASS): Change to restrict the reloading
11095 of framepointer + constant to ADDR_REGS class.
11096 * c4x.md (addqi3, addqi3_noclobber_reload): Update.
11097 * c4x.c (std_or_reg_operand): New function.
11098 * c4x-protos.h (std_or_reg_operand): Prototype it.
11100 2000-01-29 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
11102 * t-c4x: Change qi,qf,di,df into si,sf,hi,hf to generate same
11103 object names as libgcc2.c.
11104 * libgcc.S: Use newly defined names.
11106 Fri Jan 7 19:48:04 CET 2000 Jan Hubicka <jh@suse.cz>
11107 * sbitmap.c (sbitmap_first_set_bit, sbitmap_last_set_bit): New
11109 * sbitmap.h (sbitmap_first_set_bit, sbitmap_last_set_bit): Declare.
11110 * basic_block.h (FLOW_LOOP_FIRST_BLOCK): New macro.
11111 (FLOW_LOOP_LAST_BLOCK): Likewise.
11113 2000-01-21 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
11115 * basic-block.h (struct loop): New fields 'first' and 'last'.
11116 * flow.c (flow_loops_find): Compute loop->first and loop->last.
11117 (flow_loops_dump): Use loop->first to check for NOTE_INSN_LOOP_BEG
11118 and loop->last to check for NOTE_INSN_LOOP_END.
11120 Fri Jan 28 10:57:58 2000 Jason Eckhardt <jle@cygnus.com>
11122 * predict.c (estimate_probability): Use the new FIRST and LAST fields
11123 of the loop descriptor rather than HEADER and LATCH. Also added
11124 missing break statements as well making some coding style modifications
11125 as suggested by Michael Hayes.
11127 2000-01-28 Richard Henderson <rth@cygnus.com>
11129 * flow.c (find_basic_blocks): Remove do_cleanup argument.
11130 Break out that code ...
11131 (cleanup_cfg): ... here.
11132 (commit_one_edge_insertion): Detect a return instruction being
11133 emitted to an edge. Emit a barrier following; clear fallthru.
11134 (commit_edge_insertions): Verify CFG consistency.
11135 * function.c (expand_function_start): Kill unused variable.
11136 (expand_function_end): Likewise.
11137 (thread_prologue_and_epilogue_insns): Use insert_insn_on_edge
11138 to insert the epilogue.
11140 * gcse.c (gcse_main): Adjust for find_basic_blocks change.
11141 (delete_null_pointer_checks): Likewise.
11142 * output.h: Likewise.
11143 * reg-stack.c (reg_to_stack): Likewise.
11144 * toplev.c (rest_of_compilation): Likewise. Run
11145 thread_prologue_and_epilogue_insns after rebuilding the CFG.
11147 2000-01-28 Richard Henderson <rth@cygnus.com>
11149 * Makefile.in (flow.o): Revert 24 Jan change.
11150 * flow.c (mark_regs_live_at_end): Likewise. Force BLKmode
11151 FUNCTION_VALUE result to DECL_RESULT's mode.
11153 * haifa-sched.c (schedule_insns): Don't recompute reg info
11156 2000-01-28 Zack Weinberg <zack@wolery.cumb.org>
11158 * configure.in: Make --enable-cpplib the default.
11159 * configure: Regenerate.
11160 * gcc.dg/990119-1.c: No longer expected to fail.
11162 2000-01-28 Bernd Schmidt <bernds@cygnus.co.uk>
11164 * jump.c (jump_optimize_1): Delete an optimization that is also done
11165 by merge_blocks in flow.
11167 2000-01-28 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
11169 * diagnostic.c (build_message_string, output_printf,
11170 line_wrapper_printf): Add ATTRIBUTE_PRINTF_*.
11171 (build_location_prefix): Fix non-literal format string.
11173 2000-01-27 Richard Henderson <rth@cygnus.com>
11175 * alpha.md (trunctfsf2): New.
11177 2000-01-27 Andrew Hobson <ahobson@eng.mindspring.net>
11179 * configure.in (alpha-dec-osf5): Enable MASK_SUPPORT_ARCH.
11181 2000-01-27 Zack Weinberg <zack@wolery.cumb.org>
11183 * cppinit.c (cpp_handle_option): Recognize C++ comments under
11185 * cpplib.c (skip_block_comment, skip_line_comment): Split code
11187 (skip_comment) ... here. Permit C++ comments in system
11188 headers always. Warn about C++ comments in user code under
11189 -std=gnu89 -pedantic.
11190 (copy_comment): Use skip_comment.
11191 (cpp_skip_hspace, cpp_get_token): skip_comment can no longer
11193 (consider_directive_while_skipping, do_else, do_endif): Call
11194 validate_else unconditionally.
11195 (validate_else): Check CPP_PEDANTIC here. Accept non-comment
11196 text after the conditional in a system header.
11197 * cpplib.h (struct cpp_buffer): Add flag
11198 warned_cplusplus_comments.
11200 2000-01-27 Geoffrey Keating <geoffk@cygnus.com>
11202 * emit-rtl.c (unshare_all_rtl): Unshare virtual parameters too.
11203 Use unshare_all_rtl_1.
11204 (unshare_all_rtl_again): New function.
11205 (unshare_all_rtl_1): New function split out of unshare_all_rtl.
11207 * function.c (purge_addressof_1): Use unshare_all_rtl_again
11208 rather than resetting the 'used' flags ourself.
11210 * toplev.c (rest_of_compilation): Add current_function_decl
11211 to the unshare_all_rtl call.
11212 * tree.h: Prototype unshare_all_rtl.
11213 * rtl.h: Prototype unshare_all_rtl_again here.
11215 2000-01-27 Geoffrey Keating <geoffk@cygnus.com>
11217 * genoutput.c (output_prologue): Include ggc.h in generated
11219 * Makefile.in (insn-output.o): Depends on ggc.h.
11221 2000-01-27 Ian Dall <ian@sibyl.beware.dropbear.id.au>
11222 Hans-Peter Nilsson <hp@bitrange.com>
11224 * ns32k/xm-ns32k.h (memcpy, memset, memcmp): Delete.
11225 Remove redundant include of xm-ns32k.h.
11226 * ns32k/xm-genix.h (memcpy, memset, memcmp): Add definitions.
11227 Remove redundant include of xm-ns32k.h.
11228 * ns32k/xm-netbsd.h (memcpy, memset, memcmp): No longer undefine.
11229 Remove redundant include of xm-ns32k.h.
11230 * ns32k/netbsd.h (TARGET_DEFAULT): Enable multiply-add instructions.
11232 * ns32k/ns32k.h: Update comment on multiply-add instructions.
11233 (TARGET_SWITCHES): Add documentation strings.
11234 (DWARF_FRAME_REGNUM): Override default definition.
11235 (REG_CLASS_CONTENTS): Add comments.
11236 (SUBSET_P): Format to reduce line length.
11237 (SMALL_REGISTER_CLASSES): Make a run time option.
11238 (GO_IF_NONINDEXED_ADDRESS): Reformat.
11239 (GO_IF_LEGITIMATE_ADDRESS): Ensure that cfun is non NULL before
11240 dereferencing it. Braces to avoid "ambiguous else" were misplaced.
11241 (regclass_map): fix typo in comment.
11242 * ns32k/ns32k.c: Add spaces before parentheses for consistant style.
11243 Prefer gen_rtx_FOO(...) to gen_rtx(FOO,...).
11244 (trace, reg_or_mem_operand): Delete, unused function.
11245 (calc_address_cost): Small offsets are cheaper than large ones.
11246 (expand_block_move): Generate more efficient code when bytes is a
11247 known at compile time.
11248 * ns32k/ns32k.md: Alternate constraints for multiply-add instructions.
11249 (udivmodsi4, udivmodhi4, udivmodqi4): Use nonimmediate_operand
11250 instead of reg_or_mem_operand.
11252 * ns32k/ns32k.md: Use nonimmediate_operand or stricter for outputs,
11253 not general_operand. Similarly use "=rm" or stricter, not "=g".
11254 For input operands, use stricter constraints than "g" if not
11255 general_operand. Similarly use stricter predicate than
11256 "general_operand" when stricter constraints than "g" are present,
11257 except for matching constraints.
11258 (movstrsi): Use "memory_operand" for operands 0 and 1.
11259 (truncsiqi2, truncsihi2, trunchiqi2): Remove.
11260 (udivmoddisi4_internal): Use nonimmediate_operand for operand 0,
11261 not reg_or_mem_operand.
11262 (udivmoddisi4): Ditto.
11263 Use nonimmediate_operand for operand 1, not reg_or_mem_operand.
11264 Use nonimmediate_operand for operand 3, not register_operand.
11265 (udivmoddiqi4_internal): Use register_operand for operand 1, not
11266 reg_or_mem_operand.
11268 2000-01-27 Fred Fish <fnf@be.com>
11270 * gthr-posix.h: Fix typo; compatibily -> compatibility.
11271 * gthr-single.h: Likewise.
11272 * gthr-solaris.h: Likewise.
11273 * gthr-vxworks.h: Likewise.
11274 * gthr-win32.h: Likewise.
11275 * gthr.h: Likewise.
11277 2000-01-27 Zack Weinberg <zack@wolery.cumb.org>
11279 * cppinit.c: Add " (cpplib)" to end of string printed by
11282 2000-01-27 Richard Henderson <rth@cygnus.com>
11284 * alpha.c (alpha_emit_conditional_move): Use VOIDmode when
11285 testing for a signed comparison.
11286 (alpha_emit_floatuns): New.
11287 * alpha-protos.h: Declare it.
11288 * alpha.md (floatunsdisf2, floatunsdidf2): New.
11289 (extendsfdf2): Tidy.
11291 2000-01-27 Jakub Jelinek <jakub@redhat.com>
11293 * config/sparc/linux64.h (CC1_SPEC): If compiling -m32 with -g but
11294 no -g option specifying debugging format, default to -gstabs+.
11296 Wed Jan 26 22:19:14 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
11298 * calls.c (special_function_p): New argument fork_or_exec.
11299 (expand_call): When profile_arc_flag is set and the function
11300 is in the fork_or_exec group, call __bb_fork_func first.
11301 * libgcc2.c, _bb module (__bb_fork_func): New function.
11302 (__bb_exit_func): If fcntl F_SETLKW is available, use it to lock
11304 * config/svr4.h (TARGET_HAS_F_SETLKW): Define.
11305 * tree.h (special_function_p): Update prototype.
11307 2000-01-26 Richard Henderson <rth@cygnus.com>
11309 * alpha.c (alpha_split_tfmode_pair): New.
11310 * alpha-protos.h: Declare it.
11311 * alpha.md (abstf2, negtf2): New.
11312 (movtf insn): Add input G constraint.
11313 (movtf splitter): Use alpha_split_tfmode_pair.
11315 2000-01-26 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
11317 * i386/cygwin.h: PROTO -> PARAMS.
11319 2000-01-26 Jakub Jelinek <jakub@redhat.com>
11321 * config/sparc/sparc.c (sparc_emit_float_lib_cmp): Handle
11322 TARGET_ARCH32 again. Handle ORDERED, UN* and LTGT comparisons
11323 using _Qp_cmp/_Q_cmp and testing the return value.
11324 (print_operand): Call reverse_condition_maybe_unordered if
11325 we are handling CCFPmode or CCFPEmode.
11326 Handle ORDERED, UN* and LTGT comparisons.
11327 * config/sparc/sparc.md (cmptf): Use even on TARGET_ARCH32
11328 if not TARGET_HARD_QUAD.
11329 (seq, sne, sgt, slt, sge, sle, beq, bne, bgt, blt, bge, ble,
11330 bunordered, bordered, bungt, bunlt, buneq, bunge, bunle, bltgt):
11331 Call sparc_emit_float_lib_cmp even on TARGET_ARCH32.
11332 Adjust gen_b* calls so that they reflect return comparison of
11333 sparc_emit_float_lib_cmp.
11335 2000-01-26 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
11337 * config/alpha/alpha.c (alpha_emit_xfloating_cvt): Do not assume
11338 incoming operands array is large enough for one more operand.
11339 (alpha_emit_xfloating_arith): Likewise.
11341 2000-01-25 Zack Weinberg <zack@wolery.cumb.org>
11343 * fixinc/Makefile.in (machname.h): SunOS 4 sed can't handle a
11344 file with one line and no trailing newline.
11345 Patch by Kaveh Ghazi <ghazi@caip.rutgers.edu>.
11346 * fixinc/fixtests.c (machine_name_test): Fix fencepost error
11347 checking if the match is on the line.
11348 * fixinc/gnu-regex.c: Provide regerror not __regerror.
11350 2000-01-25 Richard Henderson <rth@cygnus.com>
11352 * sparc.c (output_cbranch): Fix accidental squashing of the
11353 fp branch pre-delay nop.
11355 2000-01-25 Richard Henderson <rth@cygnus.com>
11357 * tree.def (UNNE_EXPR): Remove.
11358 * c-typeck.c (build_binary_op): Don't handle it.
11359 * expr.c (expand_expr, do_jump, do_store_flag): Likewise.
11361 * rtl.def (UNNE): Remove.
11363 * jump.c (reverse_condition): Update accordingly.
11364 (swap_condition): Likewise.
11365 (comparison_dominates_p): Handle unordered comparisons.
11366 (reverse_condition_maybe_unordered): New.
11367 * rtl.h (reverse_condition_maybe_unordered): Declare.
11369 * sparc.c (select_cc_mode): Update for UNNE/LTGT.
11370 (output_cbranch): Use reverse_condition_maybe_unordered and LTGT.
11371 * sparc.h (REVERSIBLE_CC_MODE): Always true. Update docs.
11372 * sparc.md (bltgt): New.
11374 2000-01-25 Nick Clifton <nickc@redhat.com>
11376 * emit-rtl.c (emit_insn): Only check machine class insns for
11377 improper emission of a RETURN.
11379 2000-01-25 Richard Henderson <rth@cygnus.com>
11381 * Makefile.in (flow.o): Depend on $(EXPR_H).
11382 * flow.c (mark_regs_live_at_end): Use hard_function_value, i.e.
11383 duplicate the structure of diddle_return_value for keeping regs live.
11385 2000-01-26 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
11387 * loop.c (current_loop_info): Delete.
11388 (consec_sets_invariant_p): Add loop argument, update callers.
11389 (get_condition_for_loop): Likewise.
11390 (count_nonfixed_reads, update_giv_derive): Likewise.
11391 (simplify_giv_expr, general_induction_var): Likewise.
11392 (consec_sets_giv, recombine_givs): Likewise.
11393 (move_movables): Delete loop_start and loop_end arguments,
11394 add loop argument, and update callers.
11395 (find_mem_givs, check_final_value): Likewise.
11396 (record_giv, maybe_eliminate_biv, maybe_eliminate_biv_1): Likewise.
11397 (loop_invariant_p): Rename from invariant_p, add loop argument, and
11399 (basic_induction_var): Add loop argument, delete loop_level argument,
11400 and update callers.
11401 * unroll.c (iteration_info): Delete loop_start and loop_end arguments,
11402 add loop argument, and update callers.
11403 (find_splittable_regs, find_splittable_givs): Likewise.
11404 (reg_dead_after_loop, loop_find_equiv_value): Likewise.
11405 (final_biv_value, final_giv_value, back_branch_in_range_p): Likewise.
11406 (biv_total_increment): Delete loop_start and loop_end arguments;
11408 (precondition_loop_p): Delete loop_start and loop_info arguments;
11410 * loop.h (get_condition_for_loop): Add loop argument.
11411 (biv_total_increment): Delete loop_start and loop_end arguments.
11412 (precondition_loop_p): Delete loop_start and loop_info arguments;
11414 (final_biv_value): Delete loop_start and loop_end arguments;
11416 (final_giv_value, back_branch_in_range_p): Likewise.
11418 2000-01-25 Gavin Romig-Koch <gavin@cygnus.com>
11420 * config/mips/mips.h (LEGITIMATE_CONSTANT_P): Fix for mips16.
11422 2000-01-25 Gavin Romig-Koch <gavin@cygnus.com>
11424 * Makefile.in (c-gperf.h) : Change the "See" pointer to
11425 point to the new "generated_files" doc.
11427 2000-01-25 Clinton Popetz <cpopetz@cygnus.com>
11429 * config/fp-bit.c (_unord_f2): Fix typo.
11431 2000-01-25 Zack Weinberg <zack@wolery.cumb.org>
11433 * c-common.c, c-decl.c, c-lang.c, c-lex.c, c-parse.in, c-pragma.c,
11434 c-typeck.c, objc/objc-act.c: Remove all references to obstack
11435 functions obsoleted by GC, such as push_obstacks_nochange,
11436 end_temporary_allocation, savealloc, saveable_tree_cons, etc.
11437 and code which existed only to decide whether or not to call
11438 them. Remove now-unused NESTED argument from start_function;
11439 all callers changed. Do not change behavior based on ggc_p.
11440 The use of the ixp_obstack in c-iterate.c and the util_obstack
11441 in objc/objc-act.c remain; these are not obsoleted by garbage
11443 * c-tree.h: Update prototype for start_function.
11445 * c-parse.y, c-parse.c, objc/objc-parse.c, objc/objc-parse.y: Rebuild.
11447 2000-01-25 Clinton Popetz <cpopetz@cygnus.com>
11449 * config/mips/mips.md (zero_extendsidi2_internal): Disable for
11452 2000-01-25 Richard Henderson <rth@cygnus.com>
11454 * sparc-protos.h (select_cc_mode): Declare.
11455 * sparc.c (select_cc_mode): New. Handle unordered compares.
11456 (output_cbranch): Always reverse via code change. Handle
11457 unordered compares. Factor tests and string updates.
11458 * sparc.h (SELECT_CC_MODE): Split out to select_cc_mode.
11459 (REVERSIBLE_CC_MODE): Also exclude CCFPmode.
11460 * sparc.md (bunordered, bordered): New.
11461 (bungt, bunlt, buneq, bunge, bunle): New.
11463 2000-01-25 Richard Henderson <rth@cygnus.com>
11465 * dwarf2out.c (dwarf2out_init): Use ggc_add_rtx_varray_root.
11466 * ggc-common.c (ggc_add_rtx_varray_root): New.
11467 (ggc_mark_rtx_varray): New.
11468 (ggc_mark_rtx_varray_ptr): New. Shift all ggc_mark_foo_ptr
11469 functions down below ggc_mark_foo.
11470 * ggc.h (ggc_add_rtx_varray_root, ggc_mark_rtx_varray): Declare.
11472 2000-01-25 Richard Henderson <rth@cygnus.com>
11474 * alpha.c (secondary_reload_class): Don't allocate a secondary
11475 for integral mode memories into FLOAT_REGS. Rearrange the more
11476 complicated memory expression inward.
11478 2000-01-25 Zack Weinberg <zack@wolery.cumb.org>
11480 * inclhack.def: Fixes to play nicer with FreeBSD, and
11481 corrections to comments.
11482 (cxx_unready): Add select expression.
11483 (irix_sockaddr): Add bypass expression.
11484 (machine_ansi_h_va_list): New fix.
11485 (stdio_va_list): No need to edit _BSD_VA_LIST_.
11486 Split out addition of "#include <stdarg.h>" to...
11487 (stdio_stdarg_h): ... here.
11488 (systypes_for_aix): Rename to systypes_stdlib_size_t. Apply
11489 to stdlib.h also. Do not munge _BSD_SIZE_T_.
11490 (sysz_stdlib_for_sun): Delete duplicate fix for unprotected
11492 (ultrix_ifdef): Tighten up select expression.
11494 * fixincl.tpl: Exorcise 'exesel'. Rewrite calculations of
11495 re_ct and max_mach to avoid use of shell. Make printed names
11496 match names in inclhack.def. Use static copyright date.
11497 Don't count c_test and test expressions as requiring regex_t
11498 slots. Add some commentary.
11499 * inclhack.tpl: Do not include the 'This script contains N
11500 fixup scripts' line if PROGRAM is defined. Use static
11503 2000-01-24 Jason Merrill <jason@casey.cygnus.com>
11505 * dwarf2out.c: include "varray.h", not dyn-string.h.
11506 (ASM_OUTPUT_DWARF2_ADDR_CONST, ASM_NAME_TO_STRING): Lose.
11507 (addr_const_to_string, addr_to_string): Lose.
11508 (ASM_OUTPUT_DWARF_ADDR_CONST): Copy from dwarfout.c.
11509 (struct dw_val_struct): val_addr is now an rtx.
11510 (add_AT_addr, AT_addr, free_AT, output_aranges): Adjust.
11511 (used_rtx_varray): New varray.
11512 (dwarf2out_init): Initialize it.
11513 (save_rtx): New fn.
11514 (mem_loc_descriptor, add_const_value_attribute): Call it instead of
11516 * arm/telf.h, arm/unknown-elf.h, mn10200.h, mn10300.h,
11517 sparc/sp64-elf.h: Remove definition of ASM_OUTPUT_DWARF2_ADDR_CONST.
11518 * Makefile.in (dwarf2out.o): Update dependencies.
11520 2000-01-24 Richard Henderson <rth@cygnus.com>
11522 * i386.c (i386_dwarf_output_addr_const): New.
11523 * i386.h (ASM_OUTPUT_DWARF_ADDR_CONST): New.
11525 * dwarf2out.c (mem_loc_descriptor): Call ASM_SIMPLIFY_DWARF_ADDR
11527 * dwarfout.c (output_mem_loc_descriptor): Likewise.
11528 * i386.c (i386_simplify_dwarf_addr): New.
11529 * i386.h (ASM_SIMPLIFY_DWARF_ADDR): New.
11531 Mon Jan 24 16:56:10 2000 Jim Wilson <wilson@cygnus.com>
11533 * dwarf2out.c (gen_struct_or_union_type_die): Set complete if
11534 TYPE_STUB_DECL is NULL.
11536 2000-01-24 Richard Henderson <rth@cygnus.com>
11538 * builtins.c (expand_tree_builtin): Move ...
11539 * c-common.c (expand_tree_builtin): ... here.
11541 2000-01-25 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
11543 * loop.h (LOOP_INFO): New accessor macro.
11544 * basic-block.h (struct loop): Rename field `info' to `aux'.
11545 * loop.c (scan_loop): Replace loop->info with LOOP_INFO (loop).
11546 (prescan_loop, strength_reduce, check_dbra_loop, insert_bct): Likewise.
11547 * unroll.c (loop_iterations, unroll_loop): Likewise.
11549 2000-01-24 Christopher Faylor <cgf@cygnus.com>
11551 * config/i386/t-cygwin: Accomodate new winsup directory layout
11552 when searching for include files.
11554 2000-01-24 Richard Henderson <rth@cygnus.com>
11556 * rtl.def: Add unordered fp comparisions.
11557 * tree.def: Likewise.
11558 * tree.h: Add ISO C 9x unordered fp comparision builtins.
11560 * builtins.c (expand_tree_builtin): New function.
11561 * c-typeck.c (build_function_call): Use it.
11562 (build_binary_op): Support unordered compares.
11563 * c-common.c (c_common_nodes_and_builtins): Add unordered compares.
11565 * combine.c (known_cond): Handle reverse_condition returning UNKNOWN.
11566 (reversible_comparison_p): Allow UNORDERED/ORDERED to be reversed.
11567 * cse.c (fold_rtx): Check FLOAT_MODE_P before reversing.
11568 (record_jump_equiv): Handle reverse_condition returning UNKNOWN.
11569 * jump.c (reverse_condition): Don't abort for UNLE etc, but
11571 (swap_condition): Handle unordered compares.
11572 (thread_jumps): Check can_reverse before reversing.
11573 * loop.c (get_condition): Likewise. Allow UNORERED/ORDERED to be
11576 * optabs.c (can_compare_p): New argument CODE. Verify branch or
11577 setcc is present before acking for cmp_optab. Update all callers.
11578 (prepare_float_lib_cmp, init_optabs): Handle UNORDERED.
11579 * expmed.c (do_cmp_and_jump): Update for can_compare_p.
11580 * expr.c (expand_expr): Likewise. Support unordered compares.
11581 (do_jump, do_store_flag): Likewise.
11582 * expr.h (enum libfunc_index): Add unordered compares.
11584 * Makefile.in (FPBIT_FUNCS): Add _unord_sf.
11585 (DPBIT_FUNCS): Add _unord_df.
11586 * config/fp-bit.c (_unord_f2): New.
11587 * fp-test.c (main): Try unordered compare builtins.
11589 * alpha-protos.h (alpha_fp_comparison_operator): Declare.
11590 * alpha.c (alpha_comparison_operator): Check mode properly.
11591 (alpha_swapped_comparison_operator): Likewise.
11592 (signed_comparison_operator): Likewise.
11593 (alpha_fp_comparison_operator): New.
11594 (alpha_emit_conditional_branch): Handle unordered compares.
11595 * alpha.h (PREDICATE_CODES): Update.
11596 * alpha.md (fp compares): Use alpha_fp_comparison_operator.
11597 (bunordered, bordered): New.
11599 2000-01-24 Richard Henderson <rth@cygnus.com>
11601 * alpha.c (alpha_emit_xfloating_cvt): Thinko in operand manipulation.
11602 * alpha.md (movtf): New expander, insn, and splitter.
11604 Mon Jan 24 19:49:47 MET 2000 Jan Hubicka <jh@suse.cz>
11606 * reg-stack.c (subst_stack_regs_pat): Handle correctly USEs of
11609 Mon Jan 24 17:37:31 MET 2000 Jan Hubicka <jh@suse.cz>
11611 * i386.h (FIRST_PSEUDO_REGISTER): Set to 21.
11612 (FIXED_REGISTERS, CALL_USED_REGISTERS,
11613 REG_ALLOC_ORDER): Add frame pointer
11614 (FRAME_POINTER_REGNUM): Set to 20
11615 (HARD_FRAME_POINTER_REGNUM): New macro.
11616 (ELIMINABLE_REGS): Eliminate ARG_POINTER and FRAME_POINTER
11617 to HARD_FRAME_POINTER.
11618 (REGNO_OK_FOR_BASE_P): Accept FRAME_POINTER_REGNUM
11619 (REG_OK_FOR_INDEX_NONSTRICT_P): Likewise.
11620 (REG_OK_FOR_BASE_NONSTRICT_P): Likewise.
11621 (HI_REGISTER_NAMES): Add "frame".
11622 (CAN_ELIMINATE): Handle FRAME_POINTER_REGNUM elimination.
11623 (debug_reg): Handle FRAME_POINTER_REGNUM.
11624 (reg_class): Add arg pointer and frame pointer to NON_Q_REGS,
11625 GENERAL_REGS and INDEX_REGS.
11626 * i386.c (SAVED_REGS_FIRST): new macro.
11627 (AT_BP): Use hard_frame_pointer_rtx instead of frame_pointer_rtx
11628 (ix86_decompose_address, memory_address_length): Likewise.
11629 (regclass_map): Add frame pointer.
11630 (call_insn_operand): Handle frame_pointer_rtx.
11631 (reg_no_sp_operand): Likewise.
11632 (ix86_decompose_address): Handle frame_pointer_rtx as stack_pointer_rtx.
11633 (print_operand, legitimize_pic_address): Fix formating.
11634 (ix86_compute_frame_size): Make static, update prototype, new
11635 parameters padding1, padding2, use ix86_nsaved_regs, use
11636 stack_alignment_needed.
11637 (ix86_initial_elimination_offset): Handle FRAME_POINTER_REGNUM
11638 to HARD_FRAME_POINTER_REGNUM conversions.
11639 (ix86_expand_prologue): Handle SAVED_REGS_FIRST prologues.
11640 (ix86_expand_epilogue): Handle SAVED_REGS_FIRST epilogues.
11641 (print_reg): Abort on FRAME_POINTER_REGNUM
11643 Mon Jan 24 16:50:08 MET 2000 Jan Hubicka <jh@suse.cz>
11645 * i386.h (PREDICATE_CODES): Add aligned_operand.
11646 * i386.c (aligned_operand): New function.
11647 (ix86_aligned_p): Kill.
11648 * i386.md (movhi_1): Emit mov for aligned operands.
11649 (promoting peep2s): Use aligned_operand.
11651 2000-01-23 Zack Weinberg <zack@wolery.cumb.org>
11653 * fixinc/fixfixes.c (fix_char_macro_uses): Correct regular
11654 expression to allow underscores in macro names.
11655 (fix_char_macro_defines): Increment scanning pointer.
11657 2000-01-23 Richard Henderson <rth@cygnus.com>
11659 * alpha/osf.h (TARGET_HAS_XFLOATING_LIBS): Define.
11660 * alpha/osf5.h: New file.
11661 * configure.in (alpha-*-osf5): Add it to tm_file.
11663 * emit-rtl.c (operand_subword): Support TFmode on a 64-bit target.
11665 * alpha-protos.h (alpha_emit_xfloating_arith): Declare.
11666 (alpha_emit_xfloating_cvt, function_arg): Declare.
11667 * alpha.c (alpha_emit_conditional_branch): Call
11668 alpha_emit_xfloating_compare for TFmode compares.
11669 (alpha_lookup_xfloating_lib_func): New.
11670 (alpha_compute_xfloating_mode_arg): New.
11671 (alpha_emit_xfloating_libcall): New.
11672 (alpha_emit_xfloating_arith): New.
11673 (alpha_emit_xfloating_compare): New.
11674 (alpha_emit_xfloating_cvt): New.
11675 (print_operand): Add default abort case.
11676 (function_arg): Mind FUNCTION_ARG_PASS_BY_REFERENCE.
11677 * alpha.h (TARGET_HAS_XFLOATING_LIBS): New.
11678 (BIGGEST_ALIGNMENT): Increase to 128 bits.
11679 (RETURN_IN_MEMORY): True for TF/TCmode.
11680 (ALPHA_ARG_SIZE): TF/TCmode is passed indirect.
11681 (FUNCTION_ARG): Move to function_arg.
11682 (FUNCTION_ARG_PASS_BY_REFERENCE): New.
11683 (ASM_OUTPUT_LONG_DOUBLE): New.
11684 (ASM_OUTPUT_DOUBLE): Always output bits.
11685 * alpha.md (addtf3, divtf3, multf3, subtf3, cmptf): New.
11686 (fix_trunctfdi2, floatditf2, floatunsditf2): New.
11687 (extenddftf2, trunctfdf2): New.
11689 2000-01-23 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
11691 * config/sparc/sol2-sld-64.h (TRANSFER_FROM_TRAMPOLINE): Moved...
11692 * config/sparc/sol2.h: ... here.
11694 2000-01-24 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
11696 * basic-block.h (struct loops): New field `levels'.
11697 * flow.c (flow_loops_level_compute): Traverse all outer loops.
11698 (flow_loop_level_compute): Initialise level to 1.
11699 (flow_loops_find): Set loops->levels.
11700 (flow_loops_dump): Print loops->levels.
11702 2000-01-23 Richard Henderson <rth@cygnus.com>
11704 * libgcc2.c (dwarf_reg_size_table): Size with DWARF_FRAME_REGISTERS.
11705 (throw_helper): Iterate over DWARF_FRAME_REGISTERS.
11707 2000-01-23 Richard Henderson <rth@cygnus.com>
11709 * i386.c (dbx_register_map, svr4_dbx_register_map): New.
11710 * i386.h (DBX_REGISTER_NUMBER): Use them.
11711 * i386/beos-elf.h, i386/freebsd-elf.h, i386/i386elf.h: Likewise.
11712 * i386/linux.h, i386/osfrose.h, i386/ptx4-i.h: Likewise.
11713 * i386/rtemself.h, i386/sco5.h, i386/sysv4.h: Likewise.
11714 * i386/sequent.h: Kill incorrect comment.
11716 2000-01-23 Mark Mitchell <mark@codesourcery.com>
11718 * ggc-page.c (struct page_entry): Make `context_depth' an
11720 (struct globals): Likewise.
11722 2000-01-23 Clinton Popetz <cpopetz@cygnus.com>
11724 * loop.c (check_dbra_loop): When checking a loop for
11725 reversability, check the source of any stores to ensure
11726 they don't depend on an initial value.
11728 2000-01-23 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
11730 * config/c4x/c4x.h (ASM_OUTPUT_BSS): Redefine.
11732 2000-01-22 Zack Weinberg <zack@wolery.cumb.org>
11734 * fixinc/fixincl.c: Move declarations of 'pz_fname' and
11735 'pz_scan' into scope of entire function. Only affects
11736 compiles with -DDEBUG.
11738 2000-01-22 Alan Modra <alan@SPRI.Levels.UniSA.Edu.Au>
11740 * config/elfos.h (UNIQUE_SECTION): Restore uninitialised data
11741 section naming to that prior to 2000-01-07 patch.
11742 * config/mips/elf.h (UNIQUE_SECTION): Ditto.
11743 * config/mips/elf64.h (UNIQUE_SECTION): Ditto.
11744 * config/mips/iris6gld.h (UNIQUE_SECTION): Ditto.
11745 * config/i386/interix.c (UNIQUE_SECTION): Ditto.
11746 * config/i386/winnt.c (UNIQUE_SECTION): Ditto.
11748 2000-01-22 Bernd Schmidt <bernds@cygnus.co.uk>
11750 * config/arm/arm.c (soft_df_operand): Reject SUBREGs containing a
11753 2000-01-21 Jim Wilson <wilson@cygnus.com>
11755 * fixinc/inclhack.tpl: Test for directory before trying to cd into it.
11756 * fixinc/fixincl.sh, fixinc/inclhack.sh: Regenerate.
11758 2000-01-21 Zack Weinberg <zack@wolery.cumb.org>
11760 * cpphash.c (change_newlines): Delete function.
11761 (struct argdata): Delete 'newlines' and 'use_count' fields.
11762 (macroexpand): Remove code referencing those fields.
11764 2000-01-22 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
11766 * loop.c (loops_info): New variable.
11767 (loop_optimize): Allocate loops->array and free it on exit.
11768 Allocate memory for loops_info and assign to each loop,
11770 (find_and_verify_loops): Do not allocate loops->array.
11772 2000-01-21 Zack Weinberg <zack@wolery.cumb.org>
11774 * fixinc/fixfixes.c (machine_name_fix): Don't free 'scratch'.
11776 2000-01-21 Jakub Jelinek <jakub@redhat.com>
11778 * config/sparc/sparc.md (movsi_pic_label_ref): Avoid creating new
11779 pseudos if expanded after first flow.
11780 (movdi_pic_label_ref): Likewise.
11782 2000-01-20 Richard Henderson <rth@cygnus.com>
11784 * jump.c (jump_optimize_1): Don't do addr_vec optimizations at -O0.
11786 2000-01-20 Zack Weinberg <zack@wolery.cumb.org>
11788 * Makefile.in (fixinc.sh): Depend on specs.
11789 * fixinc/Makefile.in: Add rule to create machname.h.
11790 (fixlib.o): Depend on machname.h.
11791 * fixinc/fixtests.c (machine_name): New test.
11792 * fixinc/fixfixes.c (machine_name): New fix.
11793 * fixinc/fixlib.c (mn_get_regexps): New helper function for
11794 the machine_name test and fix.
11795 * fixinc/fixlib.h: Prototype it.
11796 * fixinc/inclhack.def (machine_name): Use the C test and fix.
11797 * fixinc/fixincl.x, fixinc/inclhack.sh: Rebuild.
11799 * gcc.c (do_spec_1) [case P]: Take care not to create
11800 identifiers with three leading or trailing underscores.
11802 * fixinc/Makefile.in (FIXINC_DEFS): Add -DIN_GCC.
11803 (fixincl): Don't specify libraries twice on link line.
11804 (gnu-regex.o): Remove special rule.
11805 * fixinc/gnu-regex.c: Define REGEX_MALLOC if C_ALLOCA was
11806 defined by config.h. Do not define _REGEX_RE_COMP.
11807 (regcomp): Allocate and initialize a fastmap.
11808 * fixinc/gnu-regex.h: Do not define _REGEX_RE_COMP.
11810 2000-01-20 Brad Lucier <lucier@math.purdue.edu>
11812 * Makefile.in (predict.o): Depend on $(EXPR_H), not expr.h.
11814 2000-01-19 Richard Henderson <rth@cygnus.com>
11816 * flow.c (propagate_block): Replace FIRST, LAST and BNUM
11817 arguments with BB. Update all callers. Tidy line wrapping.
11819 2000-01-19 Clinton Popetz <cpopetz@cygnus.com>
11821 * emit-rtl.c (try_split): Return last_insn if we split the
11824 Thu Jan 20 01:01:23 MET 2000 Jan Hubicka <jh@suse.cz>
11826 * i386-protos.h (ix86_compute_frame_size): Remove prototype.
11827 (ix86_initial_elimination_offset): Declare.
11828 * i386.c (ix86_nsaved_regs): Break out from ...
11829 (ix86_can_use_return_insn_p): ... here.
11830 (ix86_emit_save_regs): Break out from ...
11831 (ix86_expand_prologue): ... here.
11832 (ix86_emit_epilogue_esp_adjustment, ix86_emit_restore_regs): Break
11834 (ix86_expand_epilogue): ... here.
11835 (ix86_compute_frame_size): Make static, add prototype.
11836 (ix86_initial_elimination_offset): Break out from ...
11837 * i386.h (INITIAL_ELIMINATION_OFFSET): ... here.
11839 2000-01-19 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
11841 * recog.h (OUT_FCN): Delete.
11843 * vax.md: Call `get_insn_template' instead of OUT_FCN.
11845 2000-01-19 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
11847 * cppalloc.c: PROTO -> PARAMS.
11848 * cpperror.c: Likewise.
11849 * cppfiles.c: Likewise.
11850 * cpplib.c: Likewise.
11851 * cpplib.h: Likewise.
11853 * config/arm/arm-protos.h: PROTO -> PARAMS.
11854 * config/arm/arm.c: Likewise.
11855 * config/c4x/c4x.c: Likewise.
11856 * config/fr30/fr30-protos.h: Likewise.
11857 * config/nextstep.c: Likewise.
11858 * config/pa/pa.c: Likewise.
11859 * config/pj/pj.c: Likewise.
11860 * config/rs6000/rs6000.c: Likewise.
11861 * config/v850/v850-protos.h: Likewise.
11862 * config/v850/v850.c: Likewise.
11864 2000-01-19 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
11866 * i370-protos.h: New file.
11868 * i370.c: Include tm_p.h. Fix compile time warnings.
11870 * i370.h: Move prototypes to i370-protos.h. Fix compile time
11873 * i370.md: Likewise.
11875 2000-01-19 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
11877 * real.c (enan, einan, eiisnan, eiisneg, make_nan): Wrap in NANS.
11878 (target_isinf, target_isnan, eisnan): Mark parameter with
11880 (eiisinf): Wrap in INFINITY.
11881 (etoe113, etoe64, etoe53, etoe24): Wrap label `nonorm' in INFINITY.
11882 (ibmtoe): Remove unused variable `rndsav'.
11884 Wed Jan 19 20:23:06 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
11886 * sh.h (PASS_IN_REG_P): Remove extraneous paranthesis.
11887 (GO_IF_LEGITIMATE_ADDRESS): Added missing tab.
11889 2000-01-19 Zack Weinberg <zack@wolery.cumb.org>
11891 * fixinc/Makefile.in: Correct dependencies of fixincl and fixincl.o.
11892 * fixinc/fixfixes.c (IO_use, CTRL_use, IO_defn, CTRL_defn): New fixes.
11893 (fix_char_macro_defines, fix_char_macro_uses): New functions.
11895 * fixinc/fixlib.c (is_cxx_header): Do the text scan with a regexp.
11896 Recognize Emacs mode markers also.
11897 * fixinc/fixtests.c (else_endif_label): Fix bug in recognition of
11898 C++ comments in C++ headers. Call is_cxx_header only if
11901 * fixinc/inclhack.def (avoid_bool): Add select for the problem and
11902 bypass for ncurses.
11903 (bsd43_io_macros, io_def_quotes, ioctl_fix_ctrl): Replace with...
11904 (io_def_quotes, io_use_quotes, ctrl_def_quotes, ctrl_use_quotes):
11905 ... these, which use the new C fixes.
11906 (math_exception): Escape literal '+' in bypass expression.
11908 * fixinc/fixincl.x, fixinc/fixincl.sh, fixinc/inclhack.sh:
11911 2000-01-19 Geoff Keating <geoffk@cygnus.com>
11913 * rtlanal.c (reg_referenced_p): A CLOBBER of a MEM uses any REGs
11916 2000-01-20 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
11918 * loop.c (loop_optimize): Allocate loop_info structure for each loop
11919 prior to calling scan_loop.
11921 Wed Jan 19 19:54:38 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
11923 * sh.c (find_barrier, gen_block_redirect): Fix indentation.
11924 (split_branches, calc_live_regs): Likewise.
11926 Wed Jan 19 19:12:36 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
11928 * sh.md (fpu_single, fp_mode): New attributes.
11930 2000-01-20 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
11932 * loop.c (current_loop_info): Renamed from loop_info_data
11933 and changed to a pointer.
11934 (loop_optimize): Allocate loop_info structure for each loop
11935 and initialise to zero.
11936 (scan_loop): Set current_loop_info.
11938 * unroll.c (loop_iterations): Don't abort if REG_USERVAR_P set
11941 2000-01-19 Richard Henderson <rth@cygnus.com>
11943 * stupid.c: Die die die.
11944 * Makefile.in (OBJS): Remove stupid.o.
11945 (stupid.o): Likewise.
11947 * except.c (emit_eh_context): Don't emit USEs for stupid.
11948 * explow.c (probe_stack_range): Likewise.
11949 * flags.h (obey_regdecls): Remove.
11950 * flow.c (find_basic_blocks): Don't run try_merge_blocks
11951 when not optimizing.
11952 (life_analysis): Limit data collection when not optimizing.
11953 (mark_regs_live_at_end): Always mark the return value registers.
11954 (mark_used_regs): Remove dummy RETURN case.
11955 (print_rtl_with_bb): Don't consult obey_regdecls.
11956 * function.c (use_variable, use_variable_after): Remove.
11957 (assign_parms): Consult optimize not obey_regdecls.
11958 (expand_function_start): Don't emit USEs for stupid.
11959 (expand_function_end): Likewise.
11960 * global.c (build_insn_chain): Export.
11961 * integrate.c (expand_inline_function): Kill return-value USE
11963 * jump.c (jump_optimize_1): Do simple jump optimizations and
11964 dead code elimination.
11965 (calculate_can_reach_end): Remove check_deleted argument.
11966 (delete_insn): Patch out insns even when not optimizing.
11967 * local-alloc.c (block_alloc): Don't do tying when not optimizing.
11968 * rtl.h (use_variable, use_variable_after): Remove declarations.
11969 (build_insn_chain): Declare.
11970 * stmt.c (expand_value_return): Don't emit USEs for stupid.
11971 (expand_end_bindings): Likewise.
11972 (expand_decl): Likewise. Consult optimize not obey_regdecls.
11973 * toplev.c (obey_regdecls): Remove.
11974 (rest_of_compilation): Don't set it. Kill stupid in favour of
11975 flow1, local-alloc, and reload.
11976 (main): Don't set obey_regdecls.
11978 * config/nextstep.c (handle_pragma): Likewise.
11980 * alpha/alpha.md (allocate_stack): Don't emit USEs for stupid.
11982 * arm/arm.h (CONDITIONAL_REGISTER_USAGE): Don't fix reg 0 for stupid.
11984 2000-01-18 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
11986 * alpha-protos.h: PROTO -> PARAMS.
11987 * alpha.c: Likewise.
11989 * h8300.c: Likewise.
11990 * i386-protos.h: Likewise.
11991 * i386.c: Likewise.
11992 * m32r-protos.h: Likewise.
11993 * m32r.c: Likewise.
11994 * mips.c: Likewise.
11995 * mips.md: Likewise.
11996 * gmon-sol2.c: Likewise.
11997 * sparc.c: Likewise.
11999 2000-01-18 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
12001 * ns32k-protos.h: New file.
12003 * ns32k.c: Fix compile time warnings.
12005 * ns32k.h: Move prototypes to ns32k-protos.h. Fix compile time
12008 * ns32k.md: Likewise.
12010 2000-01-18 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
12012 * vax-protos.h: New file.
12014 * vax.c: Fix compile time warnings.
12016 * vax.h: Move prototypes to vax-protos.h. Fix compile time
12019 * vax.md: Likewise.
12021 * vaxv.md: Likewise.
12023 2000-01-18 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
12025 * romp-protos.h: New file.
12027 * romp.c: Fix compile time warnings.
12029 * romp.h: Move prototypes to romp-protos.h. Fix compile time
12032 * romp.md: Likewise.
12034 2000-01-18 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
12036 * we32k-protos.h: New file.
12038 * we32k.c: Fix compile time warnings.
12040 * we32k.h: Move prototypes to we32k-protos.h. Fix compile time
12043 2000-01-18 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
12045 * calls.c (emit_call_1): Mark parameter with ATTRIBUTE_UNUSED.
12047 * except.c (eh_regs): Likewise.
12049 * final.c (output_operand): Likewise.
12051 * fold-const.c (target_isinf, target_isnan): Likewise.
12053 Tue Jan 18 16:19:55 MET 2000 Jan Hubicka <hubicka@freesoft.cz>
12055 * i386.h (BIGGEST_ALIGNMENT): Set to 128.
12056 (BIGGEST_FIELD_ALIGNMENT): Set to (TARGET_ALIGN_DOUBLE ? 64 : 32)
12058 * i386.md (memstr): Do not use rep stosb for counts divisible by 4
12059 when optimize_size.
12060 (clrstrsi): Rewrite.
12061 (strsethi, strsetqi): New expanders.
12062 (strsethi_1, strsetqi_1, rep_stossi, rep_stosqi): New insn patterns.
12063 (cmpstrsi): Emit compare insn before cmpstrsi_1
12064 (cmpstrsi_nz): use flags, set type to str, prefix_length to 1.
12065 (strlensi_1): Likewise.
12066 (cmpstrsi_1): Likewise; do not output compare.
12067 (strlen expander): Do not unroll when optimizing for size.
12068 (*subsi3_carry): Rename to subsi3_carry
12069 (addqi3_cc): New pattern.
12070 * i386.h (processor_costs): Add move_ratio field.
12071 (MOVE_RATIO): Use move_ratio field, set to 3 for OPTIMIZE_SIZE
12072 * i386.c (*_cost): Set move_ratio.
12073 (x86_unroll_strlen): Enable for Athlon, PPro and K6 too.
12074 (x86_expand_strlensi_1): Rewrite the main loop.
12076 2000-01-17 Richard Henderson <rth@cygnus.com>
12078 * combine.c (combine_simplify_rtx): Give FLOAT_STORE_FLAG_VALUE a mode.
12079 * cse.c (find_comparison_args, fold_rtx): Likewise.
12080 * integrate.c (subst_constants): Likewise.
12081 * loop.c (get_condition): Likewise.
12083 * tm.texi (FLOAT_STORE_FLAG_VALUE): Update docs.
12085 * alpha.h (FLOAT_STORE_FLAG_VALUE): Use REAL_VALUE_ATOF.
12087 2000-01-18 Martin v. Löwis <loewis@informatik.hu-berlin.de>
12089 * c-parse.in (SAVE_WARN_FLAGS): Create an INTEGER_CST.
12090 (RESTORE_WARN_FLAGS): Unpack it.
12091 Change semantic type of extension to ttype.
12092 * c-common.c (split_specs_attrs): Expect an INTEGER_CST.
12093 * c-parse.y, c-parse.c, objc/objc-parse.y,
12094 objc/objc-parse.c: Regenerate.
12096 2000-01-17 Zack Weinberg <zack@wolery.cumb.org>
12098 * fixinc/fixlib.c: Add copyright notice.
12099 (compile_re): New function.
12100 * fixinc/fixlib.h: Prototype compile_re.
12102 * fixinc/fixfixes.c, fixinc/fixtests.c, fixinc/fixincl.c:
12103 Use compile_re to compile regular expressions.
12105 * fixinc/fixincl.c (egrep_test): Don't bother asking regexec
12106 where the pattern matched.
12108 * fixinc/inclhack.def (sun_memcpy): Move to AAB_sun_memcpy,
12110 (ultrix_ansi_compat): Likewise.
12111 (interactv_add1): Rename to 'isc_omits_with_stdc', remove shell test,
12113 (interactv_add2, interactv_add3): Delete.
12114 (x11_sprintf): Don't use filename glob.
12115 * fixinc/fixincl.x, fixinc/inclhack.sh, fixinc/fixincl.sh:
12118 2000-01-17 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
12120 * print-rtl.c: PROTO -> PARAMS.
12121 * real.c: Likewise.
12122 * reg-stack.c: Likewise.
12123 * resource.c: Likewise.
12124 * sdbout.h: Likewise.
12125 * simplify-rtx.c: Likewise.
12126 * stor-layout.c: Likewise.
12127 * stupid.c: Likewise.
12128 * xcoffout.c: Likewise.
12129 * xcoffout.h: Likewise.
12131 2000-01-17 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
12133 * toplev.c: PROTO -> PARAMS.
12134 * toplev.h: Likewise.
12135 * tree.c: Likewise.
12136 * tree.h: Likewise.
12137 * unroll.c: Likewise.
12138 * varasm.c: Likewise.
12139 * varray.c: Likewise.
12140 * varray.h: Likewise.
12142 2000-01-17 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
12144 * reload.c: PROTO -> PARAMS.
12145 * reload.h: Likewise.
12146 * reload1.c: Likewise.
12147 * reorg.c: Likewise.
12148 * resource.h: Likewise.
12151 * rtlanal.c: Likewise.
12152 * sbitmap.h: Likewise.
12153 * sdbout.c: Likewise.
12154 * stack.h: Likewise.
12155 * stmt.c: Likewise.
12156 * system.h: Likewise.
12158 2000-01-17 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
12160 * machmode.h: PROTO -> PARAMS.
12161 * mbchar.h: Likewise.
12162 * mips-tdump.c: Likewise.
12163 * mips-tfile.c: Likewise.
12164 * optabs.c: Likewise.
12165 * output.h: Likewise.
12166 * prefix.c: Likewise.
12167 * profile.c: Likewise.
12168 * protoize.c: Likewise.
12169 * real.h: Likewise.
12170 * recog.c: Likewise.
12171 * recog.h: Likewise.
12172 * regclass.c: Likewise.
12173 * regmove.c: Likewise.
12174 * regs.h: Likewise.
12176 2000-01-17 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
12178 * ggc-common.c: PROTO -> PARAMS.
12179 * ggc-page.c: Likewise.
12180 * ggc-simple.c: Likewise.
12182 * global.c: Likewise.
12183 * graph.c: Likewise.
12184 * gthr-win32.h: Likewise.
12185 * haifa-sched.c: Likewise.
12186 * halfpic.h: Likewise.
12187 * integrate.c: Likewise.
12188 * integrate.h: Likewise.
12189 * jump.c: Likewise.
12191 * local-alloc.c: Likewise.
12192 * loop.c: Likewise.
12193 * loop.h: Likewise.
12195 2000-01-17 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
12197 * genattr.c: PROTO -> PARAMS.
12198 * genattrtab.c: Likewise.
12199 * gencheck.c: Likewise.
12200 * gencodes.c: Likewise.
12201 * genconfig.c: Likewise.
12202 * genemit.c: Likewise.
12203 * genextract.c: Likewise.
12204 * genflags.c: Likewise.
12205 * gengenrtl.c: Likewise.
12206 * genopinit.c: Likewise.
12207 * genoutput.c: Likewise.
12208 * genpeep.c: Likewise.
12209 * genrecog.c: Likewise.
12211 2000-01-16 Mark Mitchell <mark@codesourcery.com>
12213 * tree.h (BINFO_VPTR_FIELD): Augment documentation.
12215 2000-01-16 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
12217 * aclocal.m4 (AC_FUNC_MMAP_ZERO): New macro.
12218 * configure.in (AC_FUNC_MMAP_ZERO): Use instead of AC_FUNC_MMAP.
12219 * ggc-page.c: Replace HAVE_MMAP with HAVE_MMAP_ZERO.
12220 * configure, config.in: Rebuilt.
12222 2000-01-16 Zack Weinberg <zack@wolery.cumb.org>
12224 * config/i386/i386.md: Add peephole to merge successive stack
12227 Sat Jan 15 15:41:14 EST 2000 John Wehle (john@feith.com)
12229 * gcse.c (insert_insn_end_bb): Use emit_block_insn_before
12230 instead of emit_insn_before. Also handle NOTE_INSN_BASIC_BLOCK
12231 when walking backwards to find all the parameter loads when
12232 the basic block ends in a call.
12234 2000-01-15 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
12236 * loop.c (this_loop_info): Delete.
12237 (uid_loop): Add in place of uid_loop_num. All uses updated.
12238 (loop_number_exit_count): Delete and replace with entry in loop
12239 structure. All uses updated.
12240 (loop_number_loop_starts, loop_number_loop_ends): Likewise.
12241 (loop_number_loop_cont, loop_number_cont_dominator): Likewise.
12242 (loop_outer_loop): Likewise.
12243 (loop_invalid, loop_number_exit_labels): Likewise.
12244 (loop_used_count_register): Delete and replace with entry in
12245 loop_info structure.
12246 (find_and_verify_loops): Add loops argument.
12247 (verify_dominator, mark_loop_jump, prescan_loop): Replace loop_start,
12248 loop_end, etc. arguments with loop structure pointer. All callers
12250 (loop_reg_used_before_p, scan_loop, strength_reduce): Likewise.
12251 (check_dbra_loop, next_insn_in_loop, try_copy_prop): Likewise.
12252 (load_mems_and_recount_loop_regs_set, load_mems): Likewise.
12253 (insert_bct): Likewise.
12254 (basic_induction_var): New argument level.
12255 * loop.h (struct loop_info): Delete fields num, loops_enclosed,
12256 vtop, and cont. Add used_count_register.
12257 (uid_loop): Delete declaration.
12258 (loop_number_exit_count): Likewise.
12259 (loop_number_loop_starts, loop_number_loop_ends): Likewise.
12260 (loop_number_loop_cont, loop_number_cont_dominator): Likewise.
12261 (loop_outer_loop, loop_used_count_register): Likewise.
12262 (loop_invalid, loop_number_exit_labels): Likewise.
12263 (unroll_loop): Replace loop_start and loop_end arguments
12264 with loop structure pointer.
12265 (loop_precondition_p, loop_iterations): Likewise.
12266 Include basic-block.h.
12267 * unroll.c: (unroll_loop): Replace loop_start and loop_end arguments
12268 with loop structure pointer.
12269 (loop_precondition_p, loop_iterations): Likewise.
12270 * basic-block.h (struct loop): New entries vtop, cont,
12271 cont_dominator, start, end, top, scan_start, exit_labels,
12273 * Makefile.in (LOOP_H): Add basic-block.h to dependencies.
12275 2000-01-15 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
12277 * defaults.h (ASM_OUTPUT_ASCII): Use ISDIGIT.
12279 2000-01-14 Nathan Sidwell <sidwell@codesourcery.com>
12281 * config.in: Rebuilt for 2000-01-13 change to acconfig.h.
12283 2000-01-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
12285 * pdp11-protos.h: New file.
12287 * pdp11.c: Include tm_p.h. Add static prototypes. Fix compile
12290 * pdp11.h: Move prototypes to pdp11-protos.h. Fix compile time
12293 * pdp11.md: Likewise.
12295 * 2bsd.h: Likewise.
12297 2000-01-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
12299 * mn10300-protos.h: New file.
12301 * mn10300.c: Include tm_p.h. Add static prototypes. Fix compile
12304 * mn10300.h: Move prototypes to mn10300-protos.h. Fix compile time
12307 * mn10300.md: Likewise.
12309 2000-01-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
12311 * mn10200-protos.h: New file.
12313 * mn10200.c: Include tm_p.h. Add static prototypes. Fix compile
12316 * mn10200.h: Move prototypes to mn10200-protos.h. Fix compile time
12319 * mn10200.md: Likewise.
12321 2000-01-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
12323 * h8300-protos.h: New file.
12325 * h8300.c: Include tm_p.h. Add static prototypes. Fix compile
12328 * h8300.h: Move prototypes to h8300-protos.h. Fix compile time
12331 * h8300.md: Likewise.
12333 2000-01-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
12335 * varasm.c (asm_output_bss): Mark parameters with ATTRIBUTE_UNUSED.
12336 (asm_emit_uninitialised): Likewise.
12338 2000-01-13 Gavin Romig-Koch <gavin@cygnus.com>
12340 * config/mips/mips.h (ISA_HAS_INT_CONDMOVE): New.
12341 * config/mips/mips.md: Use ISA_HAS_INT_CONDMOVE.
12343 2000-01-14 Clinton Popetz <cpopetz@cygnus.com>
12345 * config/mips/mips.c (override_options): Don't turn on extra
12346 alignment for mips16.
12348 2000-01-14 Clinton Popetz <cpopetz@cygnus.com>
12350 * config/mips/mips.c (mips_va_arg): Fix fprv for the 32 bit
12351 eabi, and make sure queued POSTINCREMENT rtl is emitted at
12354 2000-01-14 Clinton Popetz <cpopetz@cygnus.com>
12356 * builtins.c (PAD_VARARGS_DOWN): Define.
12357 (std_expand_builtin_va_arg): Use the above macro.
12358 * config/mips/mips.h (PAD_VARARGS_DOWN): Define.
12359 * tm.texi (Register Arguments): Document the above macro.
12361 2000-01-14 Nick Clifton <nickc@cygnus.com>
12363 * emit-rtl.c (emit_insn): If checking is enabled, make sure
12364 that this function has not been used to emit a jump
12367 * jump.c (return_jump_1): Cope with being passed a null rtx.
12369 2000-01-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
12371 * eh-common.h: PROTO -> PARAMS.
12372 * emit-rtl.c: Likewise.
12373 * errors.c: Likewise.
12374 * errors.h: Likewise.
12375 * except.c: Likewise.
12376 * except.h: Likewise.
12377 * explow.c: Likewise.
12378 * expmed.c: Likewise.
12379 * expr.c: Likewise.
12380 * expr.h: Likewise.
12381 * final.c: Likewise.
12382 * fix-header.c: Likewise.
12383 * flow.c: Likewise.
12384 * fold-const.c: Likewise.
12385 * function.c: Likewise.
12386 * function.h: Likewise.
12388 * gcov-io.h: Likewise.
12389 * gcov.c: Likewise.
12390 * gcse.c: Likewise.
12392 2000-01-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
12394 * sh-protos.h: New file.
12396 * sh.c: Include insn-config.h, toplev.h, recog.h and tm_p.h.
12397 Add static prototypes. Fix compile time warnings.
12399 * sh.h: Move prototypes to sh-protos.h. Fix compile time warnings.
12403 2000-01-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
12405 * arc-protos.h: New file.
12407 * arc.c: Include tm_p.h. Add static prototypes. Fix compile
12410 * arc.h: Move prototypes to arc-protos.h. Fix compile time
12413 * arc.md: Likewise.
12415 2000-01-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
12417 * dsp16xx-protos.h: New file.
12419 * dsp16xx.c: Include tm_p.h. Add static prototypes. Fix compile
12422 * dsp16xx.h: Move prototypes to dsp16xx-protos.h. Fix compile time
12425 * dsp16xx.md: Likewise.
12427 2000-01-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
12429 * convex-protos.h: New file.
12431 * convex.c: Include tm_p.h. Add static prototypes. Fix compile
12434 * convex.h: Move prototypes to convex-protos.h. Fix compile time
12437 2000-01-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
12439 * elxsi-protos.h: New file.
12441 * elxsi.c: Include tm_p.h. Add static prototypes. Fix compile
12444 * elxsi.h: Move prototypes to elxsi-protos.h. Fix compile time
12447 * elxsi.md: Likewise.
12449 2000-01-14 Clinton Popetz <cpopetz@cygnus.com>
12451 * config/mips/mips.h (REGISTER_MOVE_COST): Remove redundant
12452 case for moving from HI/LO/HI_LO_REG. This makes the behavior
12453 match the comment for MIPS16.
12455 Fri Jan 14 00:28:06 2000 Jeffrey A Law (law@cygnus.com)
12457 * flow.c (split_edge): Do not call set_block_for_insn if we
12458 do not have a basic_block_for_insn structure.
12460 * fr30.h (TRAMPOLINE_TEMPLATE): Use nops to ensure the static chain
12461 and destination functions are 32bit aligned within the trampoline.
12462 (TRAMPOLINE_SIZE, INITIALIZE_TRAMPOLINE): Corresponding changes.
12463 (TRAMPOLINE_ALIGNMENT): Define.
12465 * cse.c (cse_insn): When changing (set (pc) (reg)) to
12466 (set (pc) (label_ref)), verify the change creates a valid insn.
12468 * fr30.c (call_operand): Tighten and rework to match rules for
12469 call RTL expressions.
12470 * fr30.h (PREDICATE_CODES, case call_operand): Only allow MEMs.
12471 * fr30.md (call patterns): Improve constraints.
12473 Thu Jan 13 23:44:03 2000 Richard Henderson <rth@cygnus.com>
12475 * fr30.c (fr30_expand_epilogue): Revert last change.
12476 Use emit_jump_insn for the return insn.
12478 Thu Jan 13 14:46:03 2000 Jason Eckhardt <jle@cygnus.com>
12479 Stan Cox <scox@cygnus.com>
12481 * predict.c: New file. Preliminary infrastructure work for static
12482 branch prediction and basic block reordering.
12483 * basic-block.h: Add prototype for estimate_probability.
12484 * Makefile.in: Add rules for predict.o.
12486 2000-01-13 Jason Merrill <jason@yorick.cygnus.com>
12488 * fixincludes (va_list): Use __not_va_list__ for the dummy.
12489 * fixinc/*: Likewise.
12491 2000-01-13 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
12493 * cccp.c: PROTO -> PARAMS.
12494 * cexp.y: Likewise.
12495 * collect2.c: Likewise.
12496 * combine.c: Likewise.
12497 * convert.h: Likewise.
12499 * dbxout.c: Likewise.
12500 * dbxout.h: Likewise.
12501 * diagnostic.c: Likewise.
12502 * doprint.c: Likewise.
12503 * dwarf2out.c: Likewise.
12504 * dwarf2out.h: Likewise.
12505 * dwarfout.c: Likewise.
12506 * dwarfout.h: Likewise.
12507 * dyn-string.h: Likewise.
12509 2000-01-13 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
12511 * calls.c (emit_call_1): Wrap varaible `struct_value_size_rtx' in
12512 macro conditionals guarding use.
12514 * dwarf2out.c: Include "tm_p.h".
12516 * function.c (locate_and_pad_parm): Mark parameter with
12518 (expand_function_end): Likewise for variable `context'.
12520 * reorg.c (make_return_insns): Wrap prototype in macro HAVE_return.
12522 2000-01-13 Nick Clifton <nickc@cygnus.com>
12524 * config/fr30/fr30.c (fr30_expand_epilogue): Emit USEs of pop'ed
12525 register to prevent compile time warnings.
12527 2000-01-13 Zack Weinberg <zack@wolery.cumb.org>
12529 * longlong.h [i386] (udiv_qrnnd): Rename 'd' argument to 'dv'
12530 to avoid -Wtraditional warning.
12532 2000-01-13 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
12534 * 1750a-protos.h: New file.
12536 * 1750a.c: Include tm_p.h. Add static prototypes. Fix compile
12539 * 1750a.h: Move prototypes to 1750a-protos.h. Fix compile time
12542 * 1750a.md: Likewise.
12544 2000-01-13 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
12546 * a29k-protos.h: New file.
12548 * a29k.c: Include tm_p.h. Add static prototypes. Fix compile
12551 * a29k.h: Move prototypes to a29k-protos.h. Fix compile time
12554 2000-01-13 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
12556 * clipper-protos.h: New file.
12558 * clipper.c: Include tm_p.h. Add static prototypes. Fix compile
12561 * clipper.h: Move prototypes to clipper-protos.h. Fix compile time
12564 Thu Jan 13 16:03:06 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
12566 * reload1.c (reload_combine_note_store): Use HARD_REGNO_NREGS.
12568 2000-01-13 Nathan Sidwell <sidwell@codesourcery.com>
12570 * configure.in (--enable-new-gxx-abi): New option.
12571 * acconfig.h (ENABLE_NEW_GXX_ABI): New define.
12572 * Makefile.in (GXX_ABI_FLAG): New variable.
12573 * configure: Regenerate.
12575 2000-01-13 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
12577 * stor-layout.c (layout_type): Use FORCE_STRUCT_BLK.
12578 * tm.texi (FORCE_STRUCT_BLK): Document.
12579 * config/c4x/c4x.h (FORCE_STRUCT_BLK): New macro.
12581 Wed Jan 12 23:12:47 2000 Hans-Peter Nilsson <hp@axis.com>
12583 * config/ns32k/ns32k.md: Revert Jan 9 change.
12585 * genrecog.c (maybe_both_true_2): Do not compare a predicate-test
12586 to a mode-test, if the predicate is address_operand.
12588 Wed Jan 12 22:34:00 2000 Jeffrey A Law (law@cygnus.com)
12590 * combine.c (if_then_else_cond): Be careful about what kinds
12591 of RTL expressions are passed to operand_subword.
12593 * flow.c (split_edge): If we have to insert a new jump, make
12594 sure to associate it with a basic block.
12596 * flow.c (commit_one_edge_insertion): A block with one successor
12597 can end in a JUMP_INSN that is not a simplejump.
12599 2000-01-12 Robert Lipe <robertl@sco.com>
12601 * i386/sco5.h (INIT_SECTION_ASM_OP_COFF): Rename section to "ctor".
12602 (BUILD_VA_LIST_TYPE): Define.
12603 (EH_FRAME_SECTION_ASM_OP): Explictly define to better interact
12606 2000-01-12 Jason Merrill <jason@casey.cygnus.com>
12608 * cccp.c (do_pragma): Add cast to (char *).
12610 2000-01-12 Richard Henderson <rth@cygnus.com>
12611 Fred Fish <fnf@be.com>
12612 Jason Merrill <jason@cygnus.com>
12614 * configure.in (i?86-*-beos{pe,elf,}*): Recognize.
12615 * i386/t-beos, i386/x-beos, i386/xm-beos.h: New files.
12616 * i386/beos-elf.h, i386/beos-pe.h: New files.
12618 * Makefile.in (CROSS_SYSTEM_HEADER_DIR): New.
12619 * cross-make (SYSTEM_HEADER_DIR): Define using
12620 CROSS_SYSTEM_HEADER_DIR.
12622 * gcc.c (LIBRARY_PATH_ENV): Provide default.
12623 (process_command): Use it.
12624 (main): Likewise. Kill trailing = from env vars.
12625 (build_search_list): Put it back.
12626 * collect2.c (main): Use LIBRARY_PATH_ENV.
12628 * configure.in (GCC_NEED_DECLARATIONS): Add environ.
12629 * toplev.c: Use NEED_DECLARATION_ENVIRON.
12631 * tm.texi (Frame Layout): Document SMALL_STACK.
12632 * c-common.c (c_common_nodes_and_builtins): Check it.
12634 * system.h: Undef alloca after including glibc's <stdlib.h>,
12635 if USE_C_ALLOCA is defined.
12637 * gcc.c (set_input): New fn.
12638 (main): After all input files are compiled, reset the input file
12641 * aclocal.m4 (rindex, index): If already defined, don't attempt
12644 * ginclude/varargs.h: (__va_list__): Define ifndef.
12645 * ginclude/stdarg.h: Likewise.
12647 * ginclude/stddef.h (__WCHAR_TYPE__) [BEOS]: Use int
12648 instead of unsigned char.
12650 * hash.h (true, false, boolean): Undef before enum.
12652 * expmed.c (choose_multiplier): Cast &mhigh_lo and &mhigh_hi to be
12653 proper type of "HOST_WIDE_INT *", rather than their natural type of
12654 "unsigned HOST_WIDE_INT *".
12656 2000-01-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
12658 * svr3.h (ASM_FILE_START): Wrap if-clause in squigly brackets.
12660 * recog.c (memory_address_p): Mark parameter with ATTRIBUTE_UNUSED.
12662 * regclass.c (choose_hard_reg_mode): Likewise.
12664 * reload.c (find_valid_class, strict_memory_address_p): Likewise.
12666 * reorg.c (optimize_skip): Wrap prototype in macro conditionals.
12668 2000-01-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
12670 * c-common.c: PROTO -> PARAMS.
12671 * c-common.h: Likewise.
12672 * c-decl.c: Likewise.
12673 * c-iterate.c: Likewise.
12674 * c-lang.c: Likewise.
12675 * c-lex.c: Likewise.
12676 * c-lex.h: Likewise.
12677 * c-parse.in: Likewise.
12678 * c-pragma.c: Likewise.
12679 * c-pragma.h: Likewise.
12680 * c-tree.h: Likewise.
12681 * c-typeck.c: Likewise.
12682 * objc/objc-act.c: Likewise.
12683 * objc/objc-act.h: Likewise.
12685 2000-01-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
12687 * m88k-protos.h: New file.
12689 * m88k.c: Include tm_p.h. Add static prototypes. Fix compile
12692 * m88k.h: Move prototypes to m88k-protos.h. Fix compile time warnings.
12694 * m88k.md: Likewise.
12696 * tekXD88.h: Likewise.
12698 2000-01-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
12700 * m68k-protos.h: New file.
12702 * m68k.c: Include tm_p.h. Add static prototypes. Fix compile
12705 * m68k.h: Move prototypes to m68k-protos.h. Fix compile time warnings.
12707 * mot3300.h: Likewise.
12709 2000-01-12 Richard Earnshaw <rearnsha@arm.com>
12711 * haifa-sched.c (split_edges): Pass edgeset_size as second arg to
12713 (extract_bitlist): Declare bitlen.
12715 2000-01-12 Zack Weinberg <zack@wolery.cumb.org
12717 * cccp.c: Accept and ignore -lang-fortran.
12719 * c-typeck.c (build_c_cast): Issue -Wcast-qual warnings if the
12720 qualifiers don't match at any level of pointerness.
12722 2000-01-12 Robert Lipe <robertl@sco.com>
12724 * i386/sysv5.h (CPP_SPEC, LIBSPEC): Add -pthreadT.
12726 2000-01-12 Bernd Schmidt <bernds@cygnus.co.uk>
12728 * reload1.c (reload_reg_unavailable): New static variable.
12729 (reload_reg_free_p): Test it.
12730 (reload_reg_free_for_value_p): Test it instead of
12732 (choose_reload_regs_init): Compute it.
12734 Wed Jan 12 03:24:41 2000 Toshiyasu Morita (toshi.morita@sega.com)
12736 * reorg.c (fill_slots_from_thread): Check modified_in_p
12739 Wed Jan 12 03:20:31 2000 John Marshall <john_w_marshall@palm.com>
12741 * gcc.texi (Funding, GNU/Linux, Copying, Contributors): Format
12742 these nodes even if INTERNALS is not set.
12744 Wed Jan 12 09:39:22 2000 Nick Burrett <nick.burrett@btinternet.com>
12746 * gcse.c (delete_null_pointer_checks_1): Cope when
12747 get_condition cannot determine the condition.
12749 2000-01-12 Gabriel Dos Reis <gdr@codesourcery.com>
12751 * toplev.h (set_message_length): Declare.
12753 * diagnostic.c (obstack_chunk_alloc): Define macro.
12754 (obstack_chunk_free): Likewise.
12755 (struct output_buffer): New data structure.
12756 (vmessage): Remove.
12757 (output_maximum_width): New variable.
12758 (doing_line_wrapping, set_message_length, init_output_buffer,
12759 get_output_prefix, output_space_left, emit_output_prefix,
12760 output_newline, output_append, output_puts, dump_output,
12761 vbuild_message_string, build_message_string, build_location_prefix,
12762 voutput_notice, output_printf, line_wrapper_printf,
12763 vline_wrapper_message_with_location): New functions. Implement
12764 automatic line wrapping.
12765 (v_message_with_decl): Make it handle automatic line wrapping.
12766 (v_error_with_file_and_line): Likewise.
12767 (v_warning_with_file_and_line): Likewise.
12768 (announce_function): Likewise.
12769 (default_print_error_function): Likewise.
12771 2000-01-11 16:24 -0800 Zack Weinberg <zack@wolery.cumb.org>
12773 * cpplib.h (struct cpp_options): Change lang_asm to char.
12775 * cppinit.c (builtin_array): Take out __STDC_VERSION__, it's
12776 done in cpp_handle_option now.
12777 (initialize_builtins): Take out special case code used only by
12779 (cpp_handle_option): Turn off trigraphs and trigraph warnings
12780 if -traditional. Recognize -lang-fortran and set
12781 lang_fortran, also turn off cplusplus_comments.
12782 (print_help): Document -lang-fortran.
12783 * cpplib.c (handle_directive): Ignore `# 123 "file"' if
12784 lang_asm. Ignore all directives other than `# 123 "file"' if
12786 (cpp_get_token): If -traditional, don't recognize directives
12787 unless the # is in column 1.
12788 (parse_string): If lang_fortran or lang_asm, silently
12789 terminate strings ('' or "") at end of line.
12790 Remove unnecessary braces.
12792 2000-01-11 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
12793 Richard Henderson <rth@cygnus.com>
12795 * resource.c (mark_referenced_resources): Mark a set strict_low_part
12797 * config/i386/i386.c (ix86_expand_setcc): Re-enable clear + set
12798 strict_low_part when possible.
12800 2000-01-11 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
12802 * alias.c: PROTO -> PARAMS.
12803 * basic-block.h: Likewise.
12804 * bitmap.c: Likewise.
12805 * bitmap.h: Likewise.
12806 * builtins.c: Likewise.
12807 * c-aux-info.c: Likewise.
12808 * caller-save.c: Likewise.
12809 * calls.c: Likewise.
12811 2000-01-11 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
12813 * Makefile.in (toplev.o): Depend on regs.h.
12815 * output.h (tdesc_section): Prototype.
12817 * regclass.c (copy_cost): Mark parameters with ATTRIBUTE_UNUSED.
12819 * sdbout.c: Include "tm_p.h".
12821 * toplev.c: Include "regs.h".
12823 Tue Jan 11 11:37:58 2000 Mike Stump <mrs@wrs.com>
12825 * unroll.c (unroll_loop): Add EH support.
12827 2000-01-11 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
12829 * pa-protos.h: New file.
12831 * pa.c: Include recog.h and tm_p.h.
12832 (compute_zdepwi_operands, compute_movstrsi_length,
12833 remove_useless_addtr_insns, store_reg, load_reg, set_reg_plus_d,
12834 find_addr_reg, import_milli): Add static prototypes.
12835 (pa_cpu_string, pa_arch_string): Constify a char*.
12836 (legitimize_pic_address): Pass argument `mode' to pic_label_operand.
12837 (read_only_operand): Add argument `mode'.
12838 (singlemove_string, output_move_double, output_fp_move_double,
12839 output_block_move, output_and, output_ior, output_ascii,
12840 remove_useless_addtr_insns, milli_names, output_mul_insn,
12841 output_div_insn, output_mod_insn, output_arg_descriptor,
12842 output_cbranch, output_bb, output_bvb, output_dbra, ,
12843 output_millicode_call, output_call, hppa_encode_label,
12844 output_parallel_movb, output_parallel_addb): Constify a char*.
12845 (hppa_va_start): Mark parameter `stdarg_p' with ATTRIBUTE_UNUSED.
12846 (output_parallel_addb): Remove extra arg to `constrain_operands'
12848 * pa.h: Move all prototypes to pa-protos.h.
12849 (pa_cpu_string, pa_arch_string): Constify a char*.
12850 (LEGITIMIZE_ADDRESS): Call `symbolic_operand' with mode argument.
12852 * pa.md: Call `function_label_operand' with mode argument.
12853 Likewise for `read_only_operand'.
12854 Fix nesting of parens in call to `symbolic_operand'.
12856 2000-01-11 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
12858 * i860-protos.h: New file.
12860 * i860.c: Include tm_p.h. Add static prototypes. Fix compile
12863 * i860.h: Move prototypes to i860-protos.h. Fix compile time warnings.
12865 * i860.md: Likewise.
12867 Tue Jan 11 18:59:35 MET 2000 Jan Hubicka <jh@suse.cz>
12869 * i386.md (movstrsi expander): Rewrite.
12870 (movstrsi_1 insn): Deleted.
12871 (strmovhi, strmovqi expander): New expanders.
12872 (movshi_1, movsqi_1, rep_movsi, rep_movqi): New patterns.
12873 * i386.c (x86_single_stringop): New global variable.
12874 * i386.h (x86_single_stringop): Declare.
12875 (TARGET_SINGLE_STRINGOP): New macro.
12877 2000-01-11 Clinton Popetz <cpopetz@cygnus.com>
12879 * config/mips/mips.c (mips_va_arg): For EABI, emit the queued
12880 integer vararg POSTINCREMENT before the destination of the jump
12881 for the hard fp case.
12882 (function_arg_pass_by_reference): Pass a copy of CUM to
12885 * config/mips/mips.h (GO_IF_LEGITIMATE_ADDRESS): Move check
12886 for CONSTANT_ADDRESS_P above while loop for subreg.
12888 2000-01-11 Clinton Popetz <cpopetz@cygnus.com>
12890 * flow.c (propagate_block): When a prologue/epilogue insn
12891 is marked dead, unconditionally clear libcall_is_dead and
12892 insn_is_dead, and only dump rtl if warnings aren't being
12895 Tue Jan 11 16:26:47 MET 2000 Jan Hubicka <jh@suse.cz>
12897 * i386.c (ix86_attr_length_default): Handle TYPE_STR and TYPE_CLD.
12898 * i386.md (FIRST_PSEUDO_REGISTER): Set to 20.
12899 (FIXED_REGISTERS): Set dirflag as fixed.
12900 (CALL_USED_REGISTERS): Set dirflag as used.
12901 (REG_ALLOC_ORDER): Set dirflag as last one.
12902 (DIRFLAG_REG): New macro.
12903 (MD_ASM_CLOBBERS): Asm clobber dirflag for backward compatibility.
12904 (HI_REGISTER_NAMES): Add dirflag.
12905 (DEBUF_PRINT_REG): Handle dirflag.
12906 * i386.md (type attribute): New cld and str types.
12907 (length_opcode attribute): Set cld and str to 1.
12908 (memory attribute): Set str to unknown - it is not clear from the
12910 (pent_np function unit): Prefixed string operations takes 12 cycles
12911 minimally; cld takes 2 cycles.
12912 (ppro_uops attribute): Str is "many" and cld is "few".
12913 (ppro_p0 unit): Handle cld here.
12914 (k6_alux unit): Handle cld and str types.
12915 (k6_load unit): It is ocupied by str opcodes.
12916 (k6_store unit): It is ocupied by str opcodes.
12917 (athlon_decode): Str is vector decoded.
12918 (athlon_ieu): Handle str and cld.
12919 (cld pattern): New.
12920 (movstrsi, clrstr, cmpstr, strlen expander): Emit cld instruction
12921 (movstrsi_1, clrstrsi_1, cmpstrsi_1, strlensi_1,
12922 cmpstrsi_nz_1 insn): Do not output cld instruction
12924 Tue Jan 11 06:14:39 2000 David Starner <dstarner98@aasaa.ofe.org>
12926 * gcc.texi (G++ and GCC): Add Java and Chill.
12927 (Bug Critera): Don't list languages.
12929 * gcc.texi (Incompatibilities): No longer claim most C compilers
12932 * gcc.texi (G++ and GCC): Update other front-ends list.
12934 Tue Jan 11 05:49:01 2000 Jeffrey A Law (law@cygnus.com)
12936 * i386.c (ix86_expand_setcc): Fix typo.
12937 (ix86_expand_movcc): Similarly.
12939 * Band-aid until haifa's bitset implementation is nuked.
12940 * haifa-sched.c (extract_bitlst): New parameter for size of the
12941 bitset in bits. All callers changed. Avoid looking at undefined
12942 bits in the bitset.
12943 (edgeset_bitsize): New variable.
12944 (schedule_region): Initialize edgeset_bitsize.
12946 2000-01-10 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
12948 * Makefile.in (optabs.o): Depend on real.h
12949 (resource.o): Depend on insn-attr.h
12951 * builtins.c (result_vector): Wrap prototype in macro conditions
12952 governing definition and use.
12954 * c-common.c: Include tm_p.h.
12956 * c-lex.c: Likewise.
12958 * elfos.h: Constify a char*.
12960 * final.c (align_fuzz): Wrap prototype in macro HAVE_ATTR_length.
12961 (get_attr_length, shorten_branches, profile_after_prologue): Mark
12962 parameter with ATTRIBUTE_UNUSED.
12964 * fold-const.c (exact_real_inverse): Wrap variable `i' in
12967 * haifa-sched.c (schedule_insns): Mark parameter with
12970 * optabs.c: Include real.h.
12972 * real.h (ereal_atof): Add prototype arguments.
12974 * resource.c: Include insn-attr.h.
12976 * sdbout.c (sdbout_queue_anonymous_type,
12977 sdbout_dequeue_anonymous_types): Wrap in macro
12978 SDB_ALLOW_FORWARD_REFERENCES.
12979 (sdbout_init, sdbout_start_new_source_file): Mark parameter with
12982 * stmt.c (expand_return): Wrap variable `op0' in macro HAVE_return.
12984 * stupid.c: Include tm_p.h.
12986 * tree.c (real_value_from_int_cst): Mark parameter with
12989 2000-01-10 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
12991 * i960-protos.h: New file.
12993 * i960.c: Include tm_p.h. Add static prototypes. Fix compile
12996 * i960.h: Move prototypes to i960-protos.h. Fix compile time warnings.
12998 2000-01-10 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
13000 * combine.c (expand_field_assignment): Do not discard SUBREGs
13001 while computing nonzero_bits.
13003 2000-01-09 Nick Clifton <nickc@cygnus.com>
13005 * config/arm/arm.c: Fix compile time warnings about signed vs
13006 unsigned constants.
13007 * config/arm/arm.h: Fix compile time warnings about signed vs
13008 unsigned constants.
13010 2000-01-09 Philip Blundell <philb@gnu.org>
13012 * config/arm/arm.c (output_return_instruction): Use `ldr' rather
13013 than `ldm' with only one register.
13014 * config/arm/arm.md (push_multi): Use `str' rather than `stm' with
13017 * config/arm/linux-gas.h (CLEAR_INSN_CACHE): Say that R0 is
13020 Sun Jan 9 17:50:23 2000 Hans-Peter Nilsson <hp@axis.com>
13022 * config/ns32k/ns32k.md (load or push effective address): Operand 1
13025 2000-01-09 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
13027 * elfos.h (ASM_OUTPUT_LIMITED_STRING): Add parentheses around
13028 assignment used as truth value.
13030 * function.c (assign_temp): Mark parameter `dont_promote' with
13031 ATTRIBUTE_UNUSED. Wrap variable `unsignedp' with macro
13032 PROMOTE_FOR_CALL_ONLY.
13034 * genrecog.c (write_subroutine): Mark variable `operands' with
13037 * optabs.c (prepare_cmp_insn): Mark parameter `align' with
13040 * sdbout.c (sdbout_init): Likewise for parameter `asm_file'.
13041 (sdbout_begin_block, sdbout_end_block): Likewise for `file'.
13043 * toplev.c (note_deferral_of_defined_inline_function): Likewise
13046 2000-01-09 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
13048 * config/c4x.h: Tidy up comments.
13049 * config/c4x.c: Likewise.
13051 Sun Jan 9 01:02:55 EST 2000 John Wehle (john@feith.com)
13053 * fold-const.c (lshift_double, rshift_double): Handle
13054 shifting by 2 * HOST_BITS_PER_WIDE_INT correctly.
13056 2000-01-08 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
13058 * toplev.c (rest_of_compilation): Initialize cse_not_expected as
13059 in prepare_function_start().
13061 Sat Jan 8 12:12:46 2000 Nick Clifton <nickc@cygnus.com>
13063 * config/v850/v850.c (expand_epilogue): Interrupt functions no
13064 longer allocate extra stack for function calls.
13066 2000-01-08 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
13068 * config/c4x/c4x.md (*subqf3_set): Fix typo.
13070 2000-01-08 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
13072 * config/c4x/c4x.h (CALLER_SAVE_PROFITABLE): Define as 0.
13074 2000-01-07 David Edelsohn <edelsohn@gnu.org>
13076 * rs6000.c (processor_target_table): Add power3 as alias for 630.
13077 * aix43.h: Revert Aug 2 change.
13078 (HAS_INIT_SECTION): Define, not visible yet.
13079 (LD_INIT_SWITCH): Define, not visible yet.
13080 * t-aix43 (MULTILIB_OPTIONS): Revert Aug 2 change.
13082 * glimits.h (__LONG_MAX__): Recognize 64-bit AIX too.
13084 * collect2.c (main): Expand ld2 size further.
13085 (export_object_lst): Cast assignment to avoid warning.
13086 (main, LD_INIT_SWITCH): Add AIX 4.2+ -binitfini support.
13087 (scan_prog_file, COFF): Do not collect initialization or
13088 finalization functions generated for entire shared object if
13089 init/fini support present.
13091 2000-01-07 Nick Clifton <nickc@cygnus.com>
13093 * config/elfos.h: Tidy up formatting of marcos. Make sure
13094 that .section directives are always prefixed by a tab.
13096 * config/svr4.h: Add #include "elfos.h" and remove duplicate
13099 2000-01-07 Matt Austern <austern@sgi.com>
13101 * fold-const.c (real_hex_to_f): Remove duplicate declaration of
13104 Fri Jan 7 01:55:34 2000 Jeffrey A Law (law@cygnus.com)
13106 * Makefile.in (crtend.o): Pass @inhibit_libc@ to compilation of
13108 (crtbegin.o, s-crtS): Likewise.
13110 2000-01-06 Richard Henderson <rth@cygnus.com>
13112 * alpha.md (adddi_2+1): Limit offset such that it will be
13113 loadable with a single ldah+lda pair.
13114 (adddi_2+2): Explicitly fail split if we can't make it work.
13116 2000-01-06 Mumit Khan <khan@xraylith.wisc.edu>
13118 * protoize.c: Conditionally include unistd.h.
13119 (IS_SAME_PATH_CHAR): New macro.
13120 (IS_SAME_PATH): New macro.
13121 (CPLUS_FILE_SUFFIX): New macro.
13122 (cplus_suffix): New static variable.
13123 (is_abspath): New static function.
13124 (in_system_include_dir): Handle DOS style pathnames.
13125 (file_could_be_converted): Likewise.
13126 (file_normally_convertible): Likewise.
13127 (directory_specified_p): Likewise.
13128 (file_excluded_p): Likewise.
13129 (abspath): Likewise.
13130 (shortpath): Likewise.
13131 (referenced_file_is_newer): Likewise.
13132 (save_def_or_dec): Likewise.
13133 (do_processing): Likewise.
13135 (edit_file): Likewise. Use rename instead of link.
13136 (rename_c_file): Likewise. Don't rename syscalls file.
13137 (munge_compile_params): Define null device for DOS based systems.
13138 (process_aux_info_file): Use binary mode if appliable.
13139 (edit_file): Likewise.
13140 * invoke.texi (Running Protoize): Document C++ suffixes used.
13142 * cccp.c: Delete PATH_SEPARATOR, DIR_SEPARATOR and
13143 IS_DIR_SEPARATOR macros.
13144 * collect2.c: Likewise.
13145 * cppinit.c: Likewise.
13146 * dwarf2out.c: Likewise.
13148 * gcov.c: Likewise.
13149 * prefix.c: Likewise.
13151 * toplev.c: Likewise.
13152 * system.h: And move to here.
13154 * prefix.c (update_path): Fix typo in variable name.
13156 2000-01-06 Richard Henderson <rth@cygnus.com>
13158 * flow.c (mark_set_1): Use loop_depth+1 as reference weight.
13159 (find_auto_inc, mark_used_regs, try_pre_increment_1): Likewise.
13160 (count_reg_sets_1, count_reg_references): Likewise.
13161 (flow_loops_level_compute): Start counting actual loop depth at 1.
13162 (flow_loops_find): Likewise.
13163 * local-alloc.c (update_equiv_regs): Likewise.
13164 * regclass.c (regclass): Re-instate Jan 4 0-based loop_depth change.
13166 2000-01-06 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
13168 * defaults.h (DWARF_FRAME_REGISTERS): if not defined, default to
13169 FIRST_PSEUDO_REGISTER
13170 * dwarf2out.c: Don't include frame.h
13171 * dwarfout.c: Likewise
13172 * Makefile.in (dwarfout.o, dwarf2out.o): Remove dependence on
13175 Thu Jan 6 13:44:59 CET 2000 Jan Hubicka <jh@suse.cz>
13177 * reg-stack.c (subst_stack_regs_pat): Handle correctly USEs of
13180 * i386.c (movsf splitter): Fix typo in my last checkin.
13182 2000-01-05 Nick Clifton <nickc@cygnus.com>
13184 * varasm.c (IN_NAMED_SECTION): Allow targets to provide their
13185 own definition of this macro.
13186 (asm_emit_uninitialised): Invoke UNIQUE_SECTION if either
13187 flag_data_sections or UNIQUE_SECTION_P are true.
13189 * tm.texi (UNIQUE_SECTION): Document that it can be called for
13190 unitialised data decls.
13192 * config/i386/winnt.c (i386_pe_unique_section): Cope with
13193 being called for uninitialised data.
13195 * config/i386/interix.c (i386_pe_unique_section): Cope with
13196 being called for uninitialised data.
13198 * config/mips/elf.h (UNIQUE_SECTION): Cope with being called
13199 for uninitialised data.
13201 * config/mips/elf64.h (UNIQUE_SECTION): Cope with being called
13202 for uninitialised data.
13204 * config/mips/iri6gld.h (UNIQUE_SECTION): Cope with being called
13205 for uninitialised data.
13207 * config/arm/unknown-elf.h (IN_NAMED_SECTION): Define.
13208 (UNIQUE_SECTION_P): Always generate a unique section if
13209 flag_data_sections is true.
13210 (UNIQUE_SECTION): Also generate unique sections for
13211 uninitialised data.
13212 (ASM_OUTPUT_ALIGNED_BSS): Redefine to use named_section().
13213 (ASM_OUTPUT_ALIGNED_DECL_LOCAL): Redefine to use
13216 2000-01-06 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
13218 * config/c4x/t-c4x (TARGET_LIBGCC2_CFLAGS): Don't redefine SF, DF,
13221 2000-01-06 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
13223 * config/c4x/c4x.md (udivqi3, divqi3): Delete.
13224 (umodqi3, modqi3, udivhi3, divhi3, umodhi3, modhi3, ffsqi2): Likewise.
13225 (*smulqi3_highpart_noclobber, *umulqi3_highpart_noclobber): New.
13226 (*lshrqi3_const_noclobber, *lshrqi3_nonconst_noclobber): Likewise.
13227 (*ashrqi3_const_noclobber, *ashrqi3_nonconst_noclobber): Likewise.
13229 * c4x.h (INIT_TARGET_OPTABS): Define to init libcalls.
13231 2000-01-05 11:25 -0800 Zack Weinberg <zack@rabi.columbia.edu>
13233 * c-decl.c (finish_enum): Simplify code to determine minimum and
13234 maximum values of the enum, and calculate the type. Remove check
13235 for FUNCTION_DECLs in the values list, which cannot happen. Replace
13236 the DECL_INITIAL of each enumeration constant with a copy converted
13237 to the enumeration type. When updating variant types, don't bother
13238 updating the type itself.
13240 * c-typeck.c (build_binary_op): Simplify conditional expressions
13241 when weeding out spurious signed-unsigned warnings. Add new
13242 spurious warning category: if the unsigned quantity is an enum
13243 and its maximum value fits in signed_type(result_type). Update
13245 (build_conditional_expr): Warn here if one alternative is signed
13246 and the other is unsigned.
13248 2000-01-05 Nick Clifton <nickc@cygnus.com>
13250 * config/fr30/fr30.h: Remove extraneous comments.
13252 2000-01-05 Bernd Schmidt <bernds@cygnus.co.uk>
13254 * reload1.c (choose_reload_regs): When disabling a reload, also
13255 set reload_spill_index to -1.
13257 2000-01-04 Joel Sherrill (joel@OARcorp.com>
13259 * configure.in (m68*-*-rtemscoff*): New target, formal name for
13261 (m68*-*-rtemself*): New target.
13262 (mips64orion-*-rtems*): Remove duplicate definition of tm_file.
13263 (sparc*-*-rtemsaout*): New target, formal name for old sparc*-*-rtems*.
13264 (sparc*-*-rtemself*): New target.
13265 (sparc*-*-rtems*): Now elf not a.out.
13266 * config/i386/rtems.h: Include config/rtems.h.
13267 * config/i386/rtemself.h: Include config/rtems.h.
13268 * config/i960/rtems.h: Include config/rtems.h.
13269 * config/m68k/rtems.h: Include config/rtems.h.
13270 * config/m68k/rtemself.h: Include config/rtems.h.
13271 * config/mips/rtems64.h: Include config/rtems.h.
13272 * config/pa/rtems.h: Include config/rtems.h.
13273 * config/rs6000/rtems.h: Include config/rtems.h.
13274 * config/sh/rtems.h: Include config/rtems.h.
13275 * config/sh/rtemself.h: Include config/rtems.h.
13276 * config/sparc/rtems.h: Include config/rtems.h.
13277 * config/sparc/rtemself.h: Include config/rtems.h
13279 Tue Jan 4 23:59:26 2000 Denis Chertykov <denisc@overta.ru>
13281 * final.c (shorten_branches): Correctly compute length of
13282 asms without operands.
13284 Tue Jan 4 22:55:41 2000 Steve Chamberlain <sac@pobox.com>
13286 * configure.in: Add pj target.
13287 * configure: Regenerate.
13288 * config/pj: New directory.
13289 * config/pj/lib1funcs.S: New file.
13290 * config/pj/linux.h: New file.
13291 * config/pj/pj.c: New file.
13292 * config/pj/pj.md: New file.
13293 * config/pj/pjl.h: New file.
13294 * config/pj/t-pj: New file.
13295 * config/pj/xm-pj.h: New file
13297 Tue Jan 4 22:30:16 2000 Jeffrey A Law (law@cygnus.com)
13299 * toplev.c (rest_of_compilation): Run shorten-branches before
13302 2000-01-05 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
13304 * config/c4x/c4x.h (IS_XXX_REG, IS_XXX_REGNO): Swap behaviour of
13305 macros so that they're consistent with their names.
13306 * config/c4x/c4x.c (IS_XXX_REG, IS_XXX_REGNO): Likewise.
13307 * config/c4x/c4x.md (IS_XXX_REG, IS_XXX_REGNO): Likewise.
13309 2000-01-05 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
13311 * config/c4x/c4x.md (*addqi3_noclobber_reload): Ensure that CC never
13312 modified inadvertently.
13314 2000-01-04 Joel Sherrill <joel@OARcorp.com>
13316 * configure.in (v850*-*-rtems*): New target.
13317 * configure: Regenerate.
13318 * config/v850/rtems.h: New file.
13320 2000-01-04 Mumit Khan <khan@xraylith.wisc.edu>
13322 * gthr-win32.h (__gthread_active_p): Support Mingw MT runtime.
13323 (__gthread_key_create): Likewise.
13324 (__gthread_key_dtor): Likewise.
13325 (__gthread_once): Fix logic.
13326 (__gthread_key_delete): Cast away constness.
13328 * i386/cygwin.h (SUBTARGET_SWITCHES): Add -mthreads option.
13329 * invoke.texi: Document.
13330 * i386/mingw32.h (CPP_SPEC): Use.
13331 (LIBGCC_SPEC): Likewise.
13332 * i386/crtdll.h (LIBGCC_SPEC): Likewise.
13334 2000-01-04 David Edelsohn <edelsohn@gnu.org>
13336 * rs6000/sysv4.h (ASM_OUTPUT_DEF): Undefine.
13337 (HANDLE_PRAGMA_PACK): Undefine.
13338 (SLOW_UNALIGNED_ACCESS): Define.
13340 2000-01-04 David Edelsohn <edelsohn@gnu.org>
13342 * expmed.c (SLOW_UNALIGNED_ACCESS): Add mode and align parameters
13343 to default definition.
13344 (store_bit_field): Call SLOW_UNALIGNED_ACCESS with mode and alignment.
13345 (store_fixed_bit_field): Call macro with word_mode and alignment.
13346 (extract_bit_field): Call macro with relevant mode and alignment.
13347 * expr.c (SLOW_UNALIGNED_ACCESS): Add mode and align parameters
13348 to default definition.
13349 (move_by_pieces): Call SLOW_UNALIGNED_ACCESS with word_mode
13351 (move_by_pieces_ninsns): Likewise.
13352 (clear_by_pieces): Likewise.
13353 (emit_push_insn): Likewise.
13354 (store_field): Call macro with relevant mode and alignment.
13355 (expand_expr): Likewise.
13356 (expand_expr_unaligned): Likewise.
13358 * rs6000.h (HANDLE_PRAGMA_PACK): Define.
13359 (SLOW_UNALIGNED_ACCESS): Define.
13360 (CASE_VECTOR_MODE): Always use 32-bit offsets.
13361 (ASM_FILE_END): Generate 64-bit symbol in 64-bit mode.
13362 (EXTRA_SECTION_FUNCTIONS): Indent .csect pseudo-op.
13363 (toc_section): Likewise and .toc pseudo-op.
13364 (ASM_DECLARE_FUNCTION): Likewise. Align text more strictly in
13366 (TEXT_SECTION_ASM_OP): Likewise.
13367 (ASM_OUTPUT_ADD_VEC_ELT, ASM_OUTPUT_ADDR_DIFF_ELT): Always use
13370 * a29k.h (SLOW_UNALIGNED_ACCESS): Add MODE and ALIGN parameters.
13371 * alpha.h (SLOW_UNALIGNED_ACCESS): Likewise.
13372 * arm/thumb.h (SLOW_UNALIGNED_ACCESS): Likewise.
13373 * gmicro.h (SLOW_UNALIGNED_ACCESS): Likewise.
13374 * fr30.h (SLOW_UNALIGNED_ACCESS): Likewise.
13376 Tue Jan 4 11:44:13 2000 Jeffrey A Law (law@cygnus.com)
13378 * regclass.c: Revert my Jan 4 change to loop cost computation.
13380 Tue Jan 4 19:22:39 MET 2000 Jan Hubicka <hubicka@freesoft.cz>
13382 * regclass.c (regclass): Do not obey REG_N_REFS in non-optimizing
13385 2000-01-04 Stan Cox <scox@cygnus.com>
13387 * haifa-sched.c (build_control_flow): Change unreachable simple
13388 loop test to check if current block has only one predecessor.
13389 (find_rgns): Initialize degree. Use dest as degree index, not src.
13391 2000-01-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
13393 * builtins.c (expand_builtin_strlen): Initialize variable `icode'.
13395 * calls.c (expand_call): Likewise for
13396 `old_stack_arg_under_construction'.
13398 * cpphash.c (macroexpand): Likewise for `args' and `rest_zero'.
13400 * function.c (pad_to_arg_alignment): Likewise for `save_var' and
13403 * gcc.c (execute): Likewise for `ut' and `st'.
13405 * genattrtab.c (attr_rtx): Likewise for `rt_val'.
13407 * genopinit.c (gen_insn): Likewise for `m1', `m2' and `op'.
13409 * jump.c (jump_optimize_1): Likewise for `temp2'.
13411 * local-alloc.c (block_alloc): Likewise for `r1'.
13413 * loop.c (recombine_givs): Likewise for `life_start' and `life_end'.
13415 * reg-stack.c (check_asm_stack_operands): Likewise for `clobber_reg'.
13416 (subst_asm_stack_regs): Likewise for `clobber_reg' and `clobber_loc'.
13418 * regmove.c (fixup_match_1): Likewise for `insn_const', `dst_node'
13421 * reload.c (find_reloads): Likewise for `goal_alternative_number'
13422 and `goal_earlyclobber'.
13424 * scan-decls.c (scan_decls): Likewise for `prev_id_end'.
13426 * sdbout.c (sdbout_one_type): Likewise for `member_scl'.
13428 * stupid.c (stupid_life_analysis): Likewise for `chain'.
13430 * unroll.c (copy_loop_body): Likewise for `copy'.
13432 * varasm.c (output_constructor): Likewise for `byte'.
13434 Tue Jan 4 15:34:34 MET 2000 Jan Hubicka <hubicka@freesoft.cz>
13436 * i386.c (ix86_expand_move): Allow pushes of memory, offload to memory
13437 all FP constants for constant->reg moves.
13438 (ix86_split_to_parts): Try to convert memory address into immediate
13439 when available in the constant pool.
13440 * i386.h (PREFERRED_RELOAD_CLASS): Allow CONST_DOUBLE->integer reg
13442 (LEGITIMATE_CONSTANT_P): Return 1.
13443 * i386.md (pushsf): New splitter to convert constant pool memory
13444 reference to immediate.
13445 (mov?f): Likewise; do not allow CONST_DOUBLE for reg moves before
13448 2000-01-04 Bernd Schmidt <bernds@cygnus.co.uk>
13450 * i386.md (ashlsi3_cmpno): Don't accept variables shifts.
13451 (ashlhi3_cmpno, ashlqi3_cmpno, ashrsi3_cmpno, ashrhi3_cmpno,
13452 ashrqi3_cmpno, lshrsi3_cmpno, lshrhi3_cmpno, lshrqi3_cmpno): Likewise.
13453 (rotlsi3_cmpno, rotlhi3_cmpno, rotlqi3_cmpno, rotrsi3_cmpno,
13454 rotrhi3_cmpno, rotrqi3_cmpno): Likewise.
13456 2000-01-04 Martin von Löwis <loewis@informatik.hu-berlin.de>
13458 * ginclude/stdbool.h: Support compilation as C++.
13460 Tue Jan 4 01:35:13 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
13462 * fold-const.c (make_range): Don't try to reverse an unbounded range.
13464 Tue Jan 4 00:18:46 2000 Jeffrey A Law (law@cygnus.com)
13466 * regclass.c (regclass): Properly compute loop_cost. Adjust
13469 * regclass.c: Fix minor whitespace problems.
13471 2000-01-03 Anthony Green <green@cygnus.com>
13473 * config/i386/i386.md (builtin_setjmp_receiver): New pattern.
13474 Restore the pic register if required.
13476 2000-01-03 Ulrich Drepper <drepper@cygnus.com>
13478 * c-common.c (format_char_info): Update comment.
13479 (check_format_info): Recognize 'z' modifier in the same way 'Z'
13480 was recognized. Emit warning for formats new in ISO C99 only
13481 if flag_isoc9x is not set.
13483 Mon Jan 3 12:59:54 2000 Mark P. Mitchell <mark@codesourcery.com>
13485 * config/mips/iris6gld.h: Fix typo in -mabi=n32 specs.
13487 Mon Jan 3 15:33:37 MET 2000 Jan Hubicka <hubicka@freesoft.cz>
13489 * combine.c (expand_compound_operation): Do not convert ZERO_EXTEND to
13490 SIGN_EXTEND, convert SIGN_EXTEND to ZERO_EXTEND.
13491 (make_compound_operation): Choose cheaper alternative between
13492 ZERO_EXTEND and SIGN_EXTEND when sign bit is not set.
13494 * regclass.c (op_costs): Remove global variable.
13495 (record_reg_classes): New parameter "op_costs" and "reg_pref".
13496 (record_operand_costs): Break out from ...
13497 (scan_one_insn): ... here.
13498 (dump_regclass): Make dumps nicer.
13499 (regclass): Dump preferrences choosed and changes done during passes.
13501 2000-01-03 Jakub Jelinek <jakub@redhat.com>
13503 * config/sparc/sparc.c (gen_df_reg): Fix for 32bit SPARC.
13505 2000-01-03 Jakub Jelinek <jakub@redhat.com>
13507 * config/sparc/sparc.c (gen_df_reg): New function.
13508 * config/sparc/sparc-protos.h (gen_df_reg): Add prototype.
13509 * config/sparc/sparc.md (movtf_no_e_insn_sp64+1,
13510 movtf_no_e_insn_sp64+2, movtf_no_e_insn_sp64+3, movtf_cc_sp64+1,
13511 movtf_cc_reg_sp64+1): Use it.
13513 2000-01-02 Mark Mitchell <mark@codesourcery.com>
13515 * integrate.c (copy_decl_for_inlining): Clear TREE_ADDRESSABLE on
13516 copied LABEL_DECLs.
13518 Mon Jan 3 02:54:40 2000 Hans-Peter Nilsson <hp@bitrange.com>
13520 * config/i386/i386.c (ix86_expand_unary_operator): Function
13521 definition made void.
13522 (ix86_expand_binary_operator): Update outdated preceding comment.
13523 * config/i386/i386-protos.h (ix86_expand_unary_operator): Update
13526 * config/i386/i386.c (override_options): Fix option-name typo.
13528 2000-01-02 Mark Mitchell <mark@codesourcery.com>
13530 * system.h (CEIL): Define.
13531 * builtins.c (CEIL): Remove.
13532 * expmed.c (CEIL): Likewise.
13533 * expr.c (CEIL): Likewise.
13534 * stor-layout.c (CEIL): Likewise.
13536 2000-01-02 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
13538 * expr.c (store_constructor_field): Fix typo introduced with last
13541 2000-01-01 Mark Mitchell <mark@codesourcery.com>
13543 * tree.h (BINFO_N_BASETYPES): New macro.
13545 2000-01-01 Bernd Schmidt <bernds@cygnus.co.uk>
13547 * expmed.c (emit_store_flag): Prevent losing a pending stack
13548 adjust the same way we prevent losing queued increments.
13550 Fri Dec 31 19:10:31 1999 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
13552 * function.c (update_temp_slot_address): Handle case where sum of
13553 temporary address plus offset in register is a valid address.
13555 1999-12-30 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
13557 * genrecog.c (change_state) Corrected typo.
13559 1999-12-30 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
13561 * system.h (bcopy, bcmp, bzero, index, rindex, atof, atol, free,
13562 getcwd, getenv, getwd, sbrk, strstr, malloc, calloc, realloc,
13563 strerror, getrlimit, setrlimit, abort): Add prototype arguments.
13565 1999-12-30 Bernd Schmidt <bernds@cygnus.co.uk>
13567 * i386.c (ix86_expand_fp_compare): In non-sahf non-TARGET_IEEE
13568 case, expand GT comparisons correctly. Fix a comment before this
13571 1999-12-30 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
13573 * dwarfout.c: Include "frame.h"
13574 * dwarf2out.c: Likewise.
13575 * Makefile.in (dwarfout.o): Depend on frame.h
13576 (dwarf2out.o): Likewise.
13578 1999-12-29 "Martin v. Loewis" <martin@loewis.home.cs.tu-berlin.de>
13580 Restore i386 binary compatibility in Dwarf EH info.
13581 * config/i386/i386.h (DWARF_FRAME_REGISTERS): Define as 17, the old
13582 value of FIRST_PSEUDO_REGISTER.
13583 * frame.h (DWARF_FRAME_REGISTERS): Default to FIRST_PSEUDO_REGISTER.
13584 (struct frame_state): Use DWARF_FRAME_REGISTERS.
13585 * dwarfout.c (output_reg_number): Ditto.
13586 * dwarf2out.c (reg_number, expand_builtin_init_dwarf_reg_sizes): Ditto.
13587 (DWARF_FRAME_RETURN_COLUMN): Default to DWARF_FRAME_REGISTERS.
13589 1999-12-29 Bruce Korb <autogen@linuxbox.com>
13591 * fixinc/fixincl.c(wait_for_pid): sometimes a WSTOPSIG of zero is OK
13592 * fixinc/fixincl.tpl(<hack>TEST_CT): Just do the existence test once
13593 (<hack>_RE_CT): not needed
13594 * fixinc/fixlib.c(is_cxx_header): moved from fixtests.c
13595 rewritten to scan the file text once only
13596 "template<..." test added
13597 * fixinc/fixlib.h(apply_fix_p_t): moved from fixtests.c
13598 (is_cxx_header): declaration added
13599 * fixinc/fixtests.c(is_cxx_header): removed
13600 (apply_fix_p_t): removed
13601 (double_slash_test): is_cxx_header is only called once now
13602 * fixinc/hackshell.tpl: indexing the fixes is now done under DEBUG
13603 * fixinc/inclhack.def(FIXINC_DEBUG): added for testing DEBUG state
13604 within the templates.
13605 The borken spelling of "broken" was fixed.
13606 * fixinc/inclhack.tpl: The $VERBOSE level is used on various messages
13607 The default level depends on FIXINC_DEBUG.
13609 1999-12-29 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
13611 * crtstuff.c: If !inhibit_libc, include stdlib.h/unistd.h.
13612 Otherwise provide a declaration for atexit.
13613 (init_dummy): Make sure dummy call to atexit is nevertheless
13614 called with correct number of args.
13616 * frame.c: Update comments referring to other files.
13618 * libgcc2.c: Likewise.
13620 1999-12-29 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
13622 * cse.c (free_element, get_element): Remove unused prototypes.
13624 * fold-const.c (extract_muldiv): Initialize variables `op0' and
13627 * jump.c (invert_exp): Add explicit braces to avoid ambiguous
13630 Wed Dec 29 12:44:54 1999 Donald Lindsay <dlindsay@cygnus.com>
13632 * configure.in,configure: case arm for mn10200-*-* now sets
13633 float_format=i32 so that float.h will correctly claim "double"
13634 to be 32 bits. Ran autoconf to generate configure from .in file.
13636 Wed Dec 29 10:53:21 1999 Jeffrey A Law (law@cygnus.com)
13638 * pa.md (conditional zero): If op1 is a register, force it into
13639 the same register as op0.
13641 1999-12-28 Mark Mitchell <mark@codesourcery.com>
13643 * tree.h (BINFO_BASETYPES): Improve documentation.
13645 1999-12-28 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
13647 * configure.in (--enable-checking): Use a more portable `for'
13650 1999-12-28 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
13652 * configure.in (AC_DECL_SYS_SIGLIST, xm-siglist.h,
13653 arm/xm-netbsd.h, NO_SYS_SIGLIST): Don't use.
13655 * xm-siglist.h, arm/xm-netbsd.h, mips/xm-news.h, mips/xm-sysv4.h:
13658 * gcc.texi (NO_SYS_SIGLIST, sys_siglist, SYS_SIGLIST_DECLARED):
13659 Delete descriptions.
13661 * i386/osf1elf.h, i386/xm-cygwin.h, i386/xm-mingw32.h, m68k/3b1.h,
13662 m68k/a-ux.h, m68k/dpx2.h, m68k/plexus.h, m68k/xm-hp320.h,
13663 m88k/xm-m88k.h, mips/x-sni-svr4, pa/xm-pa.h, pa/xm-pahpux.h,
13664 pa/xm-papro.h, we32k/xm-we32k.h, winnt/xm-winnt.h, xm-interix.h,
13665 xm-svr4.h: Remove all instances of sys_siglist handling.
13667 1999-12-27 Jakub Jelinek <jakub@redhat.com>
13669 * config/sparc/sparc.md (cmp_zero_qi,
13670 cmp_zero_extendqisi2_andcc_set, cmp_zero_qi_sp64,
13671 cmp_zero_extendqidi2_andcc_set): New patterns.
13673 1999-12-28 Manfred Hollstein <mhollstein@cygnus.com>
13675 * m68k/t-mot3300-gald (CROSS_LIBGCC1): Define to libgcc1-asm.a.
13676 (LIB1ASMSRC, LIB1ASMFUNCS, LIB2FUNCS_EXTRA): Define.
13677 (fpgnulib.c, xfgnulib.c): Add rules.
13678 * m68k/t-mot3300-gas: Likewise.
13680 1999-12-27 Ian Lance Taylor <ian@zembu.com>
13682 * configure.in: Avoid [[ by using test and changequote. Add
13683 changequote required by 1999-12-14 change.
13684 * configure: Rebuild.
13686 1999-12-27 Clinton Popetz <cpopetz@cygnus.com>
13688 * config/mips/mips.h: Fix typo from 12/17/99 libgcc2 fix.
13690 1999-12-27 Christophe Jaillet <jaillet.christophe@caramail.com>
13692 * alias.c (nonlocal_reference_p): Add else for disjoint ifs.
13693 * flow.c (find_use_as_address): Likewise.
13694 * function.c (fixup_var_refs_1): Likewise.
13695 (walk_fixup_memory_subreg, fixup_stack_1): Likewise.
13696 * jump.c (invert_exp, redirect_exp): Likewise.
13697 * loop.c (replace_call_address): Likewise.
13698 (count_nonfixed_reads): Likewise.
13699 * rtlanal.c (modified_between_p): Likewise.
13700 (modified_in_p, volatile_insn_p, volatile_refs_p): Likewise.
13701 (side_effects_p, replace_regs, jmp_uses_reg_or_mem): Likewise.
13702 * unroll.c (remap_split_bivs): Likewise.
13704 1999-12-27 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
13706 * diagnostic.c (v_message_with_decl): Use .* format specifier
13707 instead of building the format specifier width manually.
13709 * system.h (strsignal): Don't check HAVE_STRSIGNAL when
13710 determining whether to provide a prototype. Remove the
13711 sys_siglist clause in the conditional.
13713 1999-12-23 Martin v. Löwis <loewis@informatik.hu-berlin.de>
13715 * fold-const.c (operand_equal_p): Use memcmp to compare string
13717 Suggested by D. J. Bernstein
13719 1999-12-17 Jakub Jelinek <jakub@redhat.com>
13721 * config/h8300/h8300.h (TARGET_H8300H, TARGET_H8300S): Make sure
13722 UNITS_PER_WORD and BITS_PER_WORD are compile time constants when
13724 * config/mips/mips.h (TARGET_64BIT): Likewise.
13725 * config/rs6000/rs6000.h (TARGET_POWERPC64): Likewise.
13726 * libgcc2.c: Use {,U}{HW,W,DW}type and DWunion everywhere instead
13727 of {SI,DI}type and DIunion. Define these types to QI/HI modes on
13728 dsps. Give routines proper names if SI/DI modes are not used.
13729 * longlong.h: Use DWunion instead of DIunion.
13731 1999-12-26 Zack Weinberg <zack@wolery.cumb.org>
13733 * acconfig.h: New ENABLE flags: TREE_CHECKING, RTL_CHECKING,
13734 GC_CHECKING, GC_ALWAYS_COLLECT.
13735 * configure.in: Allow --enable-checking with an argument
13736 listing check modes to enable.
13737 * config.in, configure: Rebuilt.
13738 * ggc-page.c, ggc-simple.c: Define GGC_POISON (and
13739 GGC_ALWAYS_VERIFY for ggc-simple.c) only if
13740 ENABLE_GC_CHECKING. Define GGC_ALWAYS_COLLECT only if
13741 ENABLE_GC_ALWAYS_COLLECT.
13742 * rtl.h, rtl.c: Change ENABLE_CHECKING to ENABLE_RTL_CHECKING
13744 * tree.h, tree.c: Change ENABLE_CHECKING to
13745 ENABLE_TREE_CHECKING throughout.
13747 Sun Dec 26 07:48:20 1999 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
13749 * fold-const.c (fold_truthop): Properly check for FP RHS.
13751 1999-12-24 Mark Mitchell <mark@codesourcery.com>
13753 * toplev.h (note_deferall_of_defined_inline_function): Declare.
13754 * toplev.c (note_deferral_of_defined_inline_function): New
13755 function, split out from ...
13756 (rest_of_compilation): ... here. Use it.
13758 Fri Dec 24 12:34:26 1999 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
13760 * expr.c (store_constructor): Don't call clear_storage if size is
13763 1999-12-24 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
13765 * Makefile.in (toplev.o): Depend on loop.h.
13767 * dwarfout.c: Include tm_p.h.
13769 * emit-rtl.c (restore_emit_status): Mark parameter with
13772 * final.c (final_scan_insn): Likewise.
13774 * flow.c (flow_nodes_print, flow_exits_print, flow_loops_cfg_dump,
13775 flow_loop_nested_p, flow_loop_exits_find, flow_loop_nodes_find,
13776 flow_depth_first_order_compute, flow_loop_pre_header_find,
13777 flow_loop_tree_node_add, flow_loops_tree_build,
13778 flow_loop_level_compute, flow_loops_level_compute,
13779 flow_loop_outside_edge_p): Add prototypes.
13780 (recompute_reg_usage): Mark parameters with ATTRIBUTE_UNUSED.
13782 * ggc-callbacks.c (lang_mark_tree, lang_mark_false_label_stack):
13783 Mark with ATTRIBUTE_NORETURN.
13785 * hash.c (hash_newfunc): Mark parameter with ATTRIBUTE_UNUSED.
13787 * local-alloc.c (no_conflict_p): Likewise.
13789 * loop.c (insert_bct): Hide definitions of variables with hidden
13791 (note_reg_stored): Mark parameter with ATTRIBUTE_UNUSED.
13793 * regclass.c (memory_move_secondary_cost): Mark variable `mem'
13794 with ATTRIBUTE_UNUSED.
13795 (record_reg_classes): Mark parameter with ATTRIBUTE_UNUSED.
13796 (reg_scan): Likewise.
13798 * reload.c (find_reloads): Remove unused variables `changed'.
13800 * reload1.c (reload_reg_class_lower): Don't unnecessarily cast
13802 (allocate_reload_reg): Mark parameter with ATTRIBUTE_UNUSED.
13803 Remove unused variable `insn'.
13805 * toplev.c: Include loop.h.
13806 (report_file_and_line): Remove unnecessary prototype.
13808 * tree.c (build_block): Mark parameter with ATTRIBUTE_UNUSED.
13810 * unroll.c (biv_total_increment): Likewise.
13812 Thu Dec 23 23:15:22 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
13814 * reload1.c (emit_input_reload_insns): Restore old behaviour
13815 wrt. 'special' reloads.
13817 1999-12-23 Zack Weinberg <zack@wolery.cumb.org>
13819 * Makefile.in (ggc-simple.c, ggc-page.c): Don't depend on
13820 hash.h. (cse.c): Don't depend on hashtab.h.
13822 * cse.c: Don't include hashtab.h.
13823 (hash_cse_reg_info, cse_reg_info_equal_p): Delete prototypes
13825 * ggc-simple.c: Don't include hash.h.
13827 1999-12-22 Jason Merrill <jason@casey.cygnus.com>
13829 * dwarf2out.c (add_abstract_origin_attribute): Call
13830 gen_abstract_function on our function context.
13832 Thu Dec 23 03:57:10 1999 Hans-Peter Nilsson <hp@bitrange.com>
13834 * Makefile.in (INTEGRATE_H): Fix typo: INTEGRATE_H, not INTREGRATE_H.
13836 1999-12-23 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
13838 * config/c4x/c4x.c (c4x_address_cost): Add statement to default
13841 1999-12-22 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
13843 * config/c4x/c4x.md (*addqi3_noclobber_reload): Change operand 0
13844 constraints to "a!r".
13846 1999-12-21 Mark Mitchell <mark@codesourcery.com>
13848 * Makefile.in (calls.o): Depend on function.h.
13849 (alias.o): Likewise.
13851 1999-12-21 Bernd Schmidt <bernds@cygnus.co.uk>
13853 * reload1.c (emit_reload_insns): Break out code and variables into...
13854 (input_reload_insns, other_input_address_reload_insns,
13855 other_input_reload_insns, input_address_reload_insns,
13856 inpaddr_address_reload_insns, output_reload_insns,
13857 output_address_reload_insns, outaddr_address_reload_insns,
13858 operand_reload_insns, other_operand_reload_insns,
13859 other_output_reload_insns): ... new static variables, and...
13860 (emit_input_reload_insns, emit_output_reload_insns, do_input_reload,
13861 do_output_reload): ... new functions.
13863 Tue Dec 21 07:06:36 1999 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
13865 * pa.h (FUNCTION_ARG_BOUNDARY): Never return 0.
13867 1999-12-21 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
13869 * md.texi: Add c4x constraints documentation.
13871 1999-12-21 Martin v. Löwis <loewis@informatik.hu-berlin.de>
13873 * config/i386/dgux.c (struct option): Rename to
13874 lang_independent_option.
13875 (struct m_options): Add description field.
13876 (output_options): Rename option type, add sep declaration, output
13877 ix86_cpu_string and ix86_arch_string only if set.
13878 (output_file_start): Rename option type.
13880 Mon Dec 20 23:15:36 1999 Mike Stump <mrs@wrs.com>
13882 * Makefile.in (crtbegin.o, crtend.o, s-crtS): Depend on
13884 (libgcc2.a): Similarly.
13886 Mon Dec 20 23:06:47 1999 David Edelsohn <edelsohn@gnu.org>
13888 * longlong.h (_ARCH_PPC): Only protect add_ssaaaa and sub_ddmmss
13889 with W_TYPE_SIZE == 32. Do not fall through to POWER architecture
13890 for umul_ppmm and smul_ppmm if !_ARCH_PPC and !_ARCH_POWER.
13892 Mon Dec 20 23:02:03 1999 Jeffrey A Law (law@cygnus.com)
13894 * fold-const.c (real_hex_to_f): Remove unused "isldouble" variable.
13895 Remove redundant initialization of "frexpon" and "expon".
13897 Mon Dec 20 15:00:04 1999 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
13899 * tree.c (real_value_from_int_cst): Clear REAL_VALUE_TYPE object first.
13901 * expr.c (store_constructor): New argument SIZE; pass to clear_storage.
13902 (store_constructor_field, expand_expr): Pass new arg.
13904 1999-12-20 Mark Mitchell <mark@codesourcery.com>
13906 * Makefile.in (explow.o): Depend on function.h.
13908 * stor-layout.c (set_sizetype): Fix typo.
13910 1999-12-20 Bernd Schmidt <bernds@cygnus.co.uk>
13912 * function.c (cfun): Renamed from current_function. All users
13914 * function.h (cfun): Rename declaration as well.
13916 * reload.h (struct insn_chain): Change live_throughout and dead_or_set
13917 to be of type regset_head, not regset. All users changed by adding
13919 * reload1.c (new_insn_chain): Don't allocate regsets, just clear them.
13921 1999-12-20 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
13923 * config/c4x/rtems.h: New file.
13925 1999-12-19 Bernd Schmidt <bernds@cygnus.co.uk>
13927 * reload1.c (spill_failure): Take class of failed reload as argument
13928 and print it. Caller changed.
13930 Sun Dec 19 07:50:42 1999 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
13932 * rs6000.h (SUBTARGET_DEFAULT): New macro.
13933 (TARGET_SWITCHES): Allow subtargets to default switches.
13934 * rs6000/vxppc.h (SUBTARGET_DEFAULT): New macro.
13936 1999-12-18 Mark Mitchell <mark@codesourcery.com>
13938 * crtstuff.c (__do_global_ctors_aux): Do not call __cxa_finalize
13941 Sat Dec 18 20:42:43 1999 Richard Henderson <rth@cygnus.com>
13943 * cccp.c (main): Define __STDC_VERSION__ as necessary.
13944 * cppinit.c (cpp_handle_option): Likewise.
13946 * ginclude/stdarg.h (va_copy): Use __STDC_VERSION__ to
13947 determine when to define.
13949 Sat Dec 18 20:34:00 1999 Richard Henderson <rth@cygnus.com>
13951 * alpha.c (alpha_emit_conditional_move): If TARGET_FIX, handle
13952 cmove with mismatched test and data modes.
13954 Sat Dec 18 20:30:15 1999 Richard Henderson <rth@cygnus.com>
13956 * c-typeck.c (c_expand_start_case): Don't warn for long switch
13959 Sat Dec 18 16:28:43 1999 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
13961 * alias.c: Minor reformatting.
13962 * flow.c: Likewise.
13963 * regs.h: Likewise.
13964 * stor-layout.c: Likewise.
13965 * fold-const.c: Likewise.
13966 (OVERFLOW_SUM_SIGN): Renamed from overflow_sum_sign.
13967 (struct cb_args, const_binop_1, const_binop): Pass type of arg,
13969 (size_int_wide): Cache nodes even if garbage collecting.
13970 (twoval_comparison_p): Reenable SAVE_EXPR case if operand
13971 of SAVE_EXPR has no side effects.
13972 * cse.c: Move a comment.
13973 * tree.c: Minor reformatting.
13974 (int_size_in_bytes): Return -1 if constant overflows.
13976 Sat Dec 18 18:30:20 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
13978 * unroll.c (copy_loop_body): Don't treat a REG like a PLUS.
13980 1999-12-18 10:42 -0800 Zack Weinberg <zack@wolery.cumb.org>
13982 * objc/objc-parse.c: Regenerate. This file must be rebuilt
13983 after any change to c-parse.in, even if objc-parse.y didn't
13986 1999-12-18 David S. Miller <davem@redhat.com>
13988 * toplev.c (rest_of_compilation): Restore BLOCK tree
13989 reconstruction and branch shortening changes lost in
13990 December 18th change.
13992 Sat Dec 18 05:29:29 1999 Scott Bambrough <scottb@netwinder.org>
13994 * config/arm/linux-elf.h: Change all instances of
13995 ARM_FLAG_SHORT_BYTES to ARM_FLAG_MMU_TRAPS.
13996 * config/arm/uclinux-elf.h: Likewise.
13998 1999-12-18 Gabriel Dos Reis <gdr@codesourcery.com>
14000 * toplev.c (notice, vmessage, v_message_with_file_and_line,
14001 v_message_with_decl, file_and_line_for_asm,
14002 v_error_with_file_and_line, v_error_with_decl, v_error_for_asm,
14003 verror, vfatal, v_warning_with_file_and_line, v_warning_with_decl,
14004 v_warning_for_asm, vwarning, vpedwarn, v_pedwarn_with_decl,
14005 v_pedwarn_with_file_and_line, vsorry, vnotice, count_error,
14006 pfatal_with_name, fatal_io_error, need_error_newline,
14007 last_error_function, last_error_tick, announce_function,
14008 default_print_error_function, print_error_function,
14009 report_error_function, fnotice, error_with_file_and_line,
14010 error_with_decl, error_for_asm, error, set_fatal_function, fatal,
14011 _fatal_insn, _fatal_insn_not_found, warning_with_file_and_line,
14012 warning_with_decl, warning_for_asm, warning, pedwarn,
14013 pedwarn_with_decl, pedwarn_with_file_and_line, sorry): Move to
14015 (compile_file): Use fnotice instead of notice. Adjust call.
14017 * diagnostic.c: New file.
14019 * Makefile.in (OBJS): Include diagnostic.o
14020 (diagnostic.o): Define dependence.
14022 1999-12-18 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
14024 * config/c4x/c4x.h (ASM_OUTPUT_XXX): Wrap in do-while(0).
14027 1999-12-18 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
14029 * config/c4x/c4x.md (rpts_top, rptb_top): Add clobbers for rs and re.
14031 1999-12-17 13:21 -0800 Zack Weinberg <zack@rabi.columbia.edu>
14033 * fixtests.c (is_cxx_header): New fn, split out of
14035 (else_endif_label): Allow "#endif // comment" in C++ headers,
14036 as determined by is_cxx_header.
14037 * fixfixes.c (else_endif_label_fix): Update comment.
14038 * fixincl.c: Don't output VERB_PROGRESS lines if stdout is not
14040 * genfixes: Correct double thinko in commandline parsing.
14041 * hackshell.tpl: Generate correct sh syntax for bypass
14044 * inclhack.def (all): Whenever an inserted preprocessor
14045 conditional is split over multiple lines, use double
14046 backslashes in this file so the fixed header will be readable.
14048 (AAB_fd_zero_glibc_1_0): Rename to AAB_fd_zero_asm_posix_types_h
14049 and add bypass entry for correct version of this header.
14050 (AAB_fd_zero_glibc_1_x): Rename to AAB_fd_zero_gnu_types_h.
14051 (AAB_fd_zero_glibc_2_0): Rename to AAB_fd_zero_selectbits_h.
14053 (hpux8_bogus_inlines): New fix, split from...
14054 (ultrix_atof_param) ... here.
14055 (math_expression): Add bypass entry keyed to glibc comment
14056 indicating the problem has been dealt with; disable
14057 unnecessary sed operations; update commentary.
14058 (math_gcc_ifndefs): Rename to math_huge_val_from_dbl_max,
14059 add select and bypass entries, simplify shell operation.
14060 (math_huge_val_ifndef): Split from math_gcc_ifndefs.
14062 (ip_missing_semi, rs6000_param, tinfo_cplusplus,
14063 ultrix_atof_param): Add select entry.
14064 (stdio_va_list, sunos_mather_decl): Add bypass entry.
14065 (systypes_for_aix, sysv86_string, tinfo_cplusplus): Put the
14066 comments with the fixes they describe.
14068 * c-parse.in (string action): Do not warn about ANSI string
14069 concatenation in system headers. Affects C parser only.
14070 * c-parse.y, c-parse.c, c-parse.h: Rebuild.
14072 1999-12-16 Jakub Jelinek <jakub@redhat.com>
14074 * config/sparc/sparc.h (TARGET_ARCH32): Exchange ifdefs so that if
14075 compiling libgcc2 the macro depends always on arch cpp defines.
14077 Fri Dec 17 10:34:16 1999 Richard Earnshaw <rearnsha@arm.com>
14079 * loop.c (insert_loop_mem): Don't record MEMs from inside
14082 Fri Dec 17 12:08:11 MET 1999 Jan Hubicka <hubicka@freesoftr.cz>
14084 * regclass.c (regclass): Do not use flowgraph when not optimizing.
14086 * gcse.c (try_replace_reg): Do replacements in REG_EQUAL/REG_EQUIV
14087 notes too, create one when replacement failed, attempt to simplify
14089 (cprop_insn): Propagate even to registers mentioned only in REG_EQUAL
14090 or REG_EQUIV notes.
14092 1999-12-16 Mark Mitchell <mark@codesourcery.com>
14094 * crtstuff.c (__dso_handle): Declare.
14095 (__cxa_finalize): Likewise.
14096 (do_global_dtors_aux): Call __cxa_finalize if __dso_handle is
14099 * invoke.texi: Document -fuse-cxa-atexit.
14101 * tree.h (ptr_type_node): Document.
14102 (const_ptr_type_node): Likewise.
14104 Fri Dec 17 01:32:38 MET 1999 Jan Hubicka <hubicka@freesoft.cz>
14106 * regmove.c (optimize_reg_copy_1): Ignore LOOP notes.
14107 (optimize_reg_copy_2): Likewise.
14108 (optimize_reg_copy_3): Likewise.
14109 (fixup_match_2): Likewise.
14110 (regmove_optimize): Likewise.
14111 (fixup_match_1): Liekwise.
14113 * i386.md (HI to SImode promoting splitters): Rewrite.
14114 (pushsf mem peep2): New.
14115 (testhi to andhi peep2): Remove.
14116 * i386.h (x86_promote_QImode): New.
14117 (TARGET_PROMOTE_QImode): New.
14118 (PREDICATE_CODES): Add promotable_binary_operator.
14119 * i386.c (x86_promote_QImode0: New.
14120 (promotable_binary_operator): New.
14121 * i386-protos.h (promotable_binary_operator): New.
14123 * i386.md (test?i_1): Use "nonmemory_operand" predicate, simplify
14125 (one_cmpl?i*): Pass "NOT" to unary_operator_ok.
14127 1999-12-16 Mark Mitchell <mark@codesourcery.com>
14129 * Makefile.in (INTREGRATE_H): Rename to INTEGRATE_H.
14130 * function.c (insert_block_after_note): Remove.
14131 (retrofit_block): Likewise.
14132 (identify_blocks): Fix indentation.
14133 (reorder_blocks): Don't NULL out NOTE_SOURCE_FILE for a
14134 NOTE_INSN_BLOCK_BEG or NOTE_INSN_BLOCK_END.
14135 * function.h (insert_block_after_note): Remove prototype.
14136 (retrofit_block): Likewise.
14137 * integrate.c (expand_inline_function): Don't call
14138 find_loop_tree_blocks. Use expand_start_bindings_and_block, not
14139 just expand_start_bindings. Use the block_map to remap old
14140 NOTE_BLOCKs to new ones.
14141 (integrate_decl_tree): Keep track of remapped blocks.
14142 * integrate.h (struct inline_remap): Add block_map.
14143 * stmt.c (expand_fixup): Don't try to retrofit_blocks. Just set
14144 NOTE_BLOCK on the notes.
14145 (expand_start_bindings): Rename to ...
14146 (expand_start_bindings_and_block): Add parameter. Set NOTE_BLOCK.
14147 (expand_end_bindings): Set NOTE_BLOCK.
14148 * toplev.c (rest_of_compilation): In function-at-a-time-mode,
14149 reconstruct the BLOCK tree.
14150 * tree.h (expand_start_bindings): Macroize. Call ...
14151 (expand_start_bindings_and_block): New function.
14153 1999-12-16 Jakub Jelinek <jakub@redhat.com>
14155 * config/sparc/sparc.c (print_operand): Cast fprintf arguments
14156 to match the format.
14158 1999-12-16 David S. Miller <davem@redhat.com>
14160 * expr.c (emit_move_insn_1): Only emit clobbers if one of
14161 the outputs is a SUBREG.
14162 * rtlanal.c (reg_overlap_mentioned_p): Revert December 15th
14165 * config/sparc/sparc.c (epilogue_renumber): Add default case
14168 Thu Dec 16 11:33:57 MET 1999 Jan Hubicka <hubicka@freesoft.cz>
14170 * toplev.c (rest_of_compilation): Run branch shortening after
14173 * regclass.c (loop_depth): Remove
14174 (scan_one_insn): Do not handle LOOP_NOTE insns.
14175 (regclass): Go through basic blocks and set loop_cost
14177 Thu Dec 16 02:56:25 1999 Zack Weinberg <zack@bitmover.com>
14179 * tree.h (DECL_FROM_INLINE): Check DECL_ABSTRACT_ORIGIN too.
14181 Thu Dec 16 10:43:35 MET 1999 Jan Hubicka <hubicka@freesoft.cz>
14183 * i386.md (movqi): Use "nonimmediate_operand" for output operand.
14184 (movstrictqi, movdi, movsf, movdf, movxf): Likewise.
14185 (adddi, addqi, addhi, subdi, subqi, subhi, ffs): Likewise.
14187 Thu Dec 16 02:41:26 1999 Richard Henderson (rth@cygnus.com)
14189 * loop.c (insert_loop_mem): Ignore memory clobbers.
14191 * combine.c (simplify_comparison): Reduce (OP (MINUS A B) 0)
14194 Thu Dec 16 02:26:11 1999 Jeffrey A Law (law@cygnus.com)
14196 * profile.c: Remove redundant #include "output.h".
14198 * h8300.md (HImode preinc peephole): Fix typo.
14200 1999-12-15 Jason Merrill <jason@casey.cygnus.com>
14202 * function.c (retrofit_block): Abort if we don't find a suitable insn.
14203 (insert_block_after_note): Abort if we don't have a previous block.
14204 Remove FN parameter.
14205 * function.h: Adjust.
14207 1999-12-15 Mark Mitchell <mark@codesourcery.com>
14209 * builtins.c (expand_builtin_mathfn): Make sure not to expand the
14210 argument more than once.
14212 1999-12-15 Jason Merrill <jason@casey.cygnus.com>
14214 * stmt.c (expand_decl): Expand upper bound of a dynamic array.
14216 1999-12-15 Jakub Jelinek <jakub@redhat.com>
14218 * expr.c (emit_group_load): Use dst mode if src is VOIDmode.
14220 Wed Dec 15 16:11:55 MET 1999 Jan Hubicka <hubicka@freesoft.cz>
14222 * function.c (PREFERRED_STACK_BOUDNARY): Provide default value.
14223 (assign_stack_local_1): Limit alignment to PREFERRED_STACK_BOUNDARY,
14224 update stack_alignment_needed.
14225 (prepare_function_start): Initialize stack_alignment_needed
14226 * function.h (struct function): Add field stack_alignment_needed.
14228 Wed Dec 15 14:55:24 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
14230 * caller-save.c (insert_one_insn): Returns struct insn_chain *.
14231 Handle live_throughout / dead_or_set instead of live_before /
14233 (save_call_clobbered_regs): Get register livenessinformation from
14234 chain->live_throughout.
14235 (add_stored_regs): New function.
14236 (insert_restore, insert_save): Add restored / saved registers to
14238 * global.c (reg_dies): New parameter chain.
14239 (reg_becomes_live): Third parameter is regs_set now.
14240 Changed all callers.
14241 (reg_dies): New parameter chain. Changed all callers.
14242 (build_insn_chain): Set live_throughout instead of
14243 live_before / live_after.
14244 * reload.h (struct insn_chain): Replace members live_before /
14245 live_after with live_throughout / dead_or_set.
14246 * reload1.c (new_insn_chain): Handle live_throughout / dead_or_set
14247 instead of live_before / live_after.
14248 (maybe_fix_stack_asms, find_reload_regs, finish_spills): Likewise.
14249 (order_regs_for_reload, find_reg, finish_spills): Likewise.
14250 (choose_reload_regs_init): Likewise.
14251 * stupid.c (current_chain, find_clobbered_regs): Delete.
14252 (stupid_life_analysis): Set chain->live_throughout chain->dead_or_set
14253 instead of chain->live_before / chain->live_after.
14254 (mark_hard_ref): New function.
14255 (stupid_mark_refs): Call mark_hard_ref. Clear chain->live_throughout.
14257 1999-12-15 David S. Miller <davem@redhat.com>
14259 * rtlanal.c (reg_overlap_mentioned_p): Handle CONCAT.
14261 Wed Dec 15 15:05:30 MET 1999 Jan Hubicka <hubicka@freesoft.cz>
14263 * flow.c (calculate_loop_depth): Make global, remove prototype,
14264 rewrite to use new loop infrastructure.
14265 (find_basic_block): Remove calculate_loop_depth call.
14266 * toplev.c (rest_of_compilation): Call find_basic_block.
14267 * output.h (calculate_loop_depth): Declare.
14269 * flow.c (dump_flow_info): Dump loop_depth.
14270 (flow_loops_nodes_find): Increase loop_depth for basic block in the
14272 (flow_loops_find): Initialize the loop_depth for each basic block.
14274 1999-12-15 Jason Merrill <jason@casey.cygnus.com>
14276 * tree.c (decl_function_context): Handle virtual functions.
14278 * tlink.c (scan_linker_output): Don't look in demangled name when
14279 looking for linker output keywords.
14281 * dwarfout.c (output_type): We can defer namespace-scope classes.
14283 Wed Dec 15 01:23:29 1999 Jeffrey A Law (law@cygnus.com)
14285 * regclass.c (record_reg_classes): Update comment for merging
14286 register class preferences in reg->reg copies. Tighten conditions
14287 for merging register class preferences in reg->reg copies.
14289 Wed Dec 15 02:19:32 1999 David Edelsohn <edelsohn@gnu.org>
14291 * rs6000.md (tablejumpdi): Generate DImode LABEL_REF.
14293 1999-12-14 Geoff Keating <geoffk@cygnus.com>
14295 * config/m68k/m68020-elf.h (ENDFILE_SPEC): Delete.
14296 (INIT_SECTION_ASM_OP): Delete.
14297 (FINI_SECTION_ASM_OP): Delete.
14298 (STARTFILE_SPEC): Define to hold just crtbegin.o.
14300 1999-12-14 Jason Merrill <jason@casey.cygnus.com>
14302 * dwarf2out.c (add_abstract_origin_attribute): Do call abort if
14303 the abstract origin wasn't emitted.
14305 * dwarf2out.c (class_scope_p): New fn.
14306 (gen_subprogram_die): Use it.
14307 (gen_variable_die): Use it. Tweak logic.
14308 (gen_struct_or_union_type_die): Check context_die to determine
14309 if we're function-local.
14310 (dwarf2out_decl): Check DECL_BUILT_IN, not DECL_FUNCTION_CODE.
14312 1999-12-14 Bernd Schmidt <bernds@cygnus.co.uk>
14314 * loop.c (check_dbra_loop): Can't reverse a biv that has
14315 maybe_multiple set.
14317 1999-12-14 Nick Clifton <nickc@cygnus.com>
14319 * config/arm/arm.c: Add support for -mcpu=arm720 command line
14322 Tue Dec 14 18:13:32 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
14324 * loop.c (strength_reduce): Fix sign of giv lifetime calculation
14325 for givs made from biv increments.
14327 Tue Dec 14 08:11:27 1999 Richard Henderson <rth@cygnus.com>
14329 * configure.in (alpha-osf, alpha-linux): Handle ev6[78].
14330 * alpha.c (override_options): Recognize -mcpu=ev67.
14331 * alpha.h (CPP_CPU_EV67_SPEC): New.
14332 (CPP_CPU_DEFAULT_SPEC): Examine TARGET_CPU_DEFAULT to use it.
14333 (EXTRA_SPECS): Update.
14335 Tue Dec 14 08:04:28 1999 Richard Henderson <rth@cygnus.com>
14337 * cppp.c (main): Set trigraphs and __STRICT_ANSI__ as
14338 appropriate for -lang-c89 and -std=*.
14339 * cppinit.c (cpp_handle_option): Likewise.
14340 (new_pending_define): New, split out from cpp_handle_option.
14341 * gcc.c (default_compilers): Don't define __STRICT_ANSI__
14342 or enable trigraphs for -ansi/-std=*.
14344 * ginclude/stdarg.h (__va_copy): New.
14345 (va_copy): Don't define for C89.
14347 Tue Dec 14 08:37:27 CST 1999 Clinton Popetz <cpopetz@cygnus.com>
14349 * config/arm/arm.md (mulsidi3adddi, umulsidi3adddi): New patterns
14350 for long long multiply-accumulate.
14352 Tue Dec 14 13:51:38 MET 1999 Jan Hubicka <hubicka@freesoft.cz>
14354 * regclass.c (scan_one_insn): Set loop_cost to 1 when
14355 optimizing for size.
14357 1999-12-14 Bernd Schmidt <bernds@cygnus.co.uk>
14359 * reload1.c (reload): Can't avoid select_reload_regs/finish_spills
14360 if something changed. Back out that part of yesterday's changes.
14362 * loop.c (loop_max_reg): New static variable.
14363 (loop_optimize): Initialize it. Eliminate one unnecessary call to
14365 (scan_loop): Call reg_scan_update whenever we may have added new
14366 registers, and update loop_max_reg.
14368 Tue Dec 14 12:07:29 MET 1999 Jan Hubicka <hubicka@freesoft.cz>
14370 * regclass.c (record_reg_classes): Do not do the copying preferrencing
14371 when source does not die.
14373 * regclass.c (record_reg_classes): Handle INOUT operands propertly.
14375 1999-12-14 Jakub Jelinek <jakub@redhat.com>
14377 * config/sparc/linux64.h (TARGET_LIVE_G0,
14378 TARGET_BROKEN_SAVERESTORE): Don't support weird SPARC
14380 * config/sparc/linux.h (TARGET_LIVE_G0,
14381 TARGET_BROKEN_SAVERESTORE): Likewise.
14382 * config/sparc/linux-aout.h (TARGET_LIVE_G0,
14383 TARGET_BROKEN_SAVERESTORE): Likewise.
14385 * config/sparc/sparc.h (SPARC_DEFAULT_CMODEL): Default to CM_32.
14386 (CONDITIONAL_REGISTER_USAGE): For block profiling fix %g4 on sparc64,
14388 (MACHINE_STATE_SAVE, MACHINE_STATE_RESTORE): Use %g4 instead of %g2
14389 as sparc64 block profiling register.
14390 * config/sparc/sparc.c (sparc_override_options): Allow block
14391 profiling with -m32.
14392 (sparc_block_profiler): Use %g4 instead of %g2 as sparc64 block
14393 profiling register.
14394 * config/sparc/linux64.h (MACHINE_STATE_*): Only provide these
14395 macros on TARGET_ARCH32. sparc.h has macros good enough for sparc64.
14396 * config/sparc/sol2.h (MACHINE_STATE_*): Likewise.
14398 * config/sparc/xm-sp64.h: Avoid using __sparc_v9__ when testing
14400 * config/sparc/sparc.h: Likewise.
14401 * config/sparc/xm-sysv4-64.h: Likewise.
14402 * config/float-sparc.h: Likewise.
14403 * glimits.h: Likewise.
14404 * longlong.h: Likewise.
14406 * config/sparc/linux64.h (DEFAULT_VTABLE_THUNKS): Define to 1.
14407 (ASM_IDENTIFY_GCC): Remove.
14409 1999-12-14 Bernd Schmidt <bernds@cygnus.co.uk>
14411 * combine.c (combine_simplify_rtx): Don't make shared rtl.
14412 (simplify_logical): Likewise.
14414 1999-12-14 Mumit Khan <khan@xraylith.wisc.edu>
14416 * cccp.c (INO_T_EQ): Disable inode-based optimization for Cygwin.
14417 * cppfiles.c (INO_T_EQ): Likewise.
14419 1999-12-14 Mumit Khan <khan@xraylith.wisc.edu>
14421 * i386/crtdll.h (STARTFILE_SPEC): Add -pg profiling support.
14422 * i386/mingw32.h (LIB_SPEC): Likewise.
14423 (STARTFILE_SPEC): Likewise.
14424 * i386/uwin.h (LIB_SPEC): Likewise.
14425 (STARTFILE_SPEC): Likewise.
14427 * i386/mingw32.h (SUBTARGET_PROLOGUE): Override Cygwin definition.
14428 * i386/uwin.h (SUBTARGET_PROLOGUE): Likewise.
14430 Mon Dec 13 20:25:29 1999 Jeffrey A Law (law@cygnus.com)
14432 * combine.c (combine_simplify_rtx): Fix order of checks for
14433 (ashiftrt foo C) -> (lt foo (const_int 0)) simplification.
14435 1999-12-13 Clinton Popetz <cpopetz@cygnus.com>
14437 * config/arm/arm.md (*mulsidi3adddi, *umulsidi3adddi) Backed out
14438 12/10/99 change, reapplied to merged-arm-thumb-backend-branch.
14440 1999-12-10 Bernd Schmidt <bernds@cygnus.co.uk>
14442 * hard-reg-set.h (inv_reg_alloc_order): Declare if REG_ALLOC_ORDER is
14444 * regclass.c (inv_reg_alloc_order): New array.
14445 (regclass_init): If REG_ALLOC_ORDER is defined, initialize it.
14447 * reload.h (struct insn_chain): Delete fields group_size, group_mode,
14448 counted_for_groups, counted_for_nongroups. Add fields rld and
14450 * reload.c (push_secondary_reload): Don't set nongroup field of
14452 (push_reload): Likewise.
14453 (find_reloads): Delete code to compute nongroup fields.
14454 * reload1.c (reload_insn_firstobj): New static variable.
14455 (pseudos_counted, spilled_pseudos): Now of type regset_head. All
14457 (calculate_needs, find_tworeg_group, find_group, possible_group_p,
14458 count_possible_groups, modes_equiv_for_class_p, new_spill_reg,
14459 dump_needs, maybe_mark_pseudo_spilled, hard_reg_use_compare): Delete
14461 (count_pseudo, select_reload_regs, copy_reloads, find_reg): New
14463 (struct hard_reg_n_uses): Deleted.
14464 (potential_reload_regs): Deleted.
14465 (init_reload): Initialize spilled_pseudos and pseudos_counted.
14466 (reload): Don't try to allocate reload registers if we already know
14467 we have to make another pass. Call select_reload_regs. Free memory
14468 starting with reload_firstobj when starting another pass.
14469 Don't allocate spilled_pseudos.
14470 (calculate_needs_all_insns): Call copy_reloads for an insn that
14471 needs reloads; don't call calculate_needs.
14472 (spill_cost): New static array.
14473 (used_spill_regs_local): New static variable.
14474 (order_regs_for_reload): Rewrite to lose hard_reg_n_uses and the code
14475 to compute potential_reload_regs.
14476 (find_reload_regs): Completely rewritten to use find_reg.
14477 (allocate_reload_reg): Don't test counted_for_groups or
14478 counted_for_nongroups. Lose NOERROR arg and code to give an error;
14479 all cllers changed.
14480 (choose_reload_regs): Add fallback code that uses the existing
14481 register allocation from find_reload_regs.
14483 Mon Dec 13 00:54:14 1999 Philippe De Muyter <phdm@macqel.be>
14485 * flow.c (create_edge_list): Cast xmalloc return value.
14487 Mon Dec 13 00:47:58 1999 Jeffrey A Law (law@cygnus.com)
14489 * doprnt.c: Remove incorrect comment closure.
14491 * cse.c: Fix a few minor whitespace goofs.
14493 1999-12-13 Don Bowman <don@pixstream.com>
14495 * mips/vxworks.h: Fix problem with comment termination.
14496 (EXTRA_SECTIONS): Add in_sbss.
14497 (EXTRA_SECTION_FUNCTIONS): Corresponding changes.
14499 1999-12-12 David S. Miller <davem@redhat.com>
14501 * cse.c (struct cse_reg_info): Add hash_next member,
14502 reorder rest of struct for better packing on 64-bit
14504 (cse_reg_info_tree): Kill.
14505 (REGHASH_SHIFT, REGHASH_SIZE, REGHASH_MASK, reg_hash,
14506 REGHASH_FN): New custom pow2 hash mechanism.
14508 (HASH_SHIFT, HASH_SIZE, HASH_MASK, HASH, table): Rework to
14509 use a pow2 hash table.
14510 (get_cse_reg_info): Rework to use new REGHASH.
14511 (new_basic_block): Likewise, use HASH_SIZE, and inline
14513 (remove_from_table): Rework to use HASH_SIZE/HASH_MASK,
14514 and inline free_element call.
14515 (lookup_as_function, insert, flush_hash_table, invalidate,
14516 remove_invalid_refs, remove_invalid_subreg_refs, rehash_using_reg,
14517 invalidate_for_call, use_related_value, find_comparison_args,
14518 fold_rtx, equiv_constant, cse_insn, invalidate_memory): Likewise.
14519 (hash_cse_reg_info, cse_reg_info_equal_p, free_element,
14520 get_element): Kill.
14522 Sun Dec 12 21:31:44 1999 Jeffrey A Law (law@cygnus.com)
14524 * cse.c (cse_basic_block): Free qty_table consistently.
14526 1999-12-12 David S. Miller <davem@redhat.com>
14527 Jakub Jelinek <jakub@redhat.com>
14529 * config/sparc/sparc.md (movtf reg/reg split): Don't generate
14530 SUBREGs by hand, gen the appropriate hard reg directly.
14531 (movtf reg/mem split): Likewise and alter_subreg on destination
14533 (movtf mem/reg split): Similarly.
14534 (movdf_cc_sp64): Rename from hidden pattern.
14535 (movtf_cc_hq_sp64): Renamed from movtf_cc_sp64.
14536 (movtf_cc_sp64, following split): New pattern and splitter.
14537 (movdf_cc_reg_sp64): Rename from hidden pattern.
14538 (movtf_cc_reg_hq_sp64): Renamed from movtf_cc_reg_sp64, require
14540 (movtf_cc_reg_sp64, following split): New pattern and splitter.
14542 1999-12-12 Stephen L Moshier <moshier@mediaone.net>
14544 * loop.c (load_mems): Don't hoist written floating point mem
14547 1999-12-12 Mark Mitchell <mark@codesourcery.com>
14549 * except.h (struct eh_queue): Add `next' pointer.
14550 (struct eh_status): Make x_ehqueue a pointer.
14551 (push_ehqueue): Declare.
14552 (pop_ehqueue): Likewise.
14553 * except.c (expand_eh_region_end): Adjust now that ehqueue is a
14555 (expand_fixup_region_end): Likewise.
14556 (expand_leftover_cleanups): Likewise.
14557 (push_ehqueue): Define.
14558 (pop_ehqueue): Likewise.
14559 (emit_cleanup_handler): Use push_ehqueue and pop_ehqueue rather
14560 than doing it inline.
14561 (expand_start_all_catch): Adjust now that ehqueue is a
14563 (mark_eh_queue): Mark all level of the queue.
14564 (mark_eh_status): Adjust now that ehqueue is a
14566 (init_eh_for_function): Allocate ehqueue.
14567 (free_eh_status): Free it.
14568 * stmt.c (expand_cleanups): Save the ehqueue around the cleanup
14569 expansion for a fixup.
14571 1999-12-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
14573 * gthr-single.h (__gthread_active_p): Add prototype arguments.
14575 * libgcc2.c (__udivmoddi4): Remove unnecessary decls.
14576 (__dummy, __builtin_saveregs, __bb_exit_trace_func, __bb_init_prg,
14577 __bb_trace_func, __bb_trace_func_ret, __bb_trace_ret,
14578 function_ptr, getpagesize, __enable_execute_stack,
14579 __enable_execute_stack, __clear_insn_cache,
14580 __enable_execute_stack, __do_global_dtors, __do_global_ctors,
14581 _cleanup, _exit, __default_terminate, __terminate_func,
14582 __terminate, __empty, __throw, new_eh_context,
14583 eh_context_initialize, eh_context_static, eh_context_specific,
14584 get_eh_context, __get_eh_context, __get_eh_info,
14585 init_reg_size_table, eh_threads_initialize,
14586 __get_dynamic_handler_chain, __sjthrow, __sjpopnthrow,
14587 __unwinding_cleanup, throw_helper, __throw, __rethrow,
14588 __pure_virtual): Add prototype arguments.
14589 (__bb_exit_func): Cast a sizeof to long when comparing against one.
14590 Cast a signed value to unsigned long when comparing against one.
14591 (new_eh_context): Wrap in _GTHREADS macro.
14592 (__sjthrow, __sjpopnthrow): Initialize variable `cleanup' at
14594 (in_reg_window): Mark parameters with __attribute__ ((__unused__)).
14595 (throw_helper): Initialize variables `handler_p' and `pc_p'.
14597 1999-12-11 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
14599 * combine.c (record_promoted_value): Remove unused variable
14602 * emit-rtl.c (renumber_insns): Likewise for `old_max_uid'.
14604 * global.c (record_conflicts): Likewise for `j'.
14606 * genoutput.c (output_insn_data): Don't unnecessarily cast away
14609 1999-12-11 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
14611 * i386-protos.h (output_387_binary_op, output_fix_trunc,
14612 output_fp_compare): Constify a char*.
14614 * i386.c (ix86_split_to_parts, ix86_safe_length_prefix): Add
14616 (override_options, ix86_comp_type_attributes, print_operand,
14617 output_387_binary_op, output_fix_trunc, output_fp_compare):
14619 (ix86_sched_reorder): Mark parameter `clock_var' with
14622 * i386.h (DEBUG_PRINT_REG): Constify a char*.
14624 Fri Dec 10 16:12:13 1999 Alexandre Petit-Bianco <apbianco@cygnus.com>
14626 * tree.def (EXPR_WITH_FILE_LOCATION): Temporarily add a third
14627 operand, for use in the Java front-end.
14629 1999-12-10 Ben Collins <bcollins@debian.org>
14631 * configure.in: Fix typo for "-64" in 64bit as check.
14632 * configure: Rebuilt.
14634 1999-12-10 Jakub Jelinek <jakub@redhat.com>
14636 * longlong.h (__sparc_v9__): Use %rDIGIT instead of %DIGIT where
14639 1999-12-10 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
14641 * c-parse.in (string): With -Wtraditional, warn if ANSI string
14642 concatenation is utilized.
14644 * invoke.texi (-Wtraditional): Document it.
14646 1999-12-10 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
14648 * flow.c (flow_loops_dump): Avoid ANSI string concatenation.
14649 Cast a ptrdiff_t to long and pass it to printf with %ld.
14651 1999-12-10 Geoff Keating <geoffk@cygnus.com>
14653 * config/m68k/m68k.h (CONDITIONAL_REGISTER_USAGE): If we have no
14654 68881, we have no 68881 registers at all.
14655 (HARD_REGNO_MODE_OK): It is always OK to put a MODE_FLOAT
14656 value in a 68881 register if it is available.
14658 1999-12-10 Clinton Popetz <cpopetz@cygnus.com>
14660 * config/arm/arm.md (*mulsidi3adddi, *umulsidi3adddi): New patterns
14661 for long long multiply-accumulate.
14663 1999-12-10 Bernd Schmidt <bernds@cygnus.co.uk>
14665 * loop.c (insert_loop_mem): Undo last change.
14667 1999-12-10 David S. Miller <davem@redhat.com>
14669 * config/sparc/sparc.c (fp_sethi_p, fp_mov_p, fp_high_losum_p):
14671 * config/sparc/sparc-protos.h: Add them.
14672 * config/sparc/sparc.h: Add them to PREDICATE_CODES.
14673 (EXTRA_CONSTRAINT_BASE): New macro, handling Q, R, and S
14674 constraints which use those helpers.
14675 (EXTRA_CONSTRAINT): Use this new macro.
14676 * md.texi: Update sparc target constraints documentation.
14677 * config/sparc/sparc.md (clear_sf, clear_sfp, movsf_const_intreg,
14678 movsf_const_high, movsf_const_lo, movsf_insn): Delete.
14679 (movsf_insn_novis_liveg0, movsf_insn_novis_noliveg0,
14680 movsf_insn_vis, movsf_lo_sum, movsf_high): New patterns.
14681 (movsf high/lo_sum split): Rework for new patterns.
14682 (movsf expander): Allow storing fp_zero to memory if ! live_g0.
14684 1999-12-09 Gavin Romig-Koch <gavin@cetus.cygnus.com>
14686 * c-common.c (c_common_nodes_and_builtins):
14687 Create __builtin_ptrdiff_t and __builtin_size_t.
14689 Thu Dec 9 18:05:48 1999 Jeffrey A Law (law@cygnus.com)
14691 * pa/elf.h (MAX_OFILE_ALIGNMENT): Define.
14693 Fri Dec 10 00:53:10 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
14695 * regclass.c (globalize_reg): Re-instate test that allows
14696 fixed registers to be declared as a variable even after functions
14699 Fri Dec 10 00:52:13 MET 1999 Jan Hubicka <hubicka@freesoft.cz>
14701 * i386.md (cpu attribute): Add "athlon".
14702 (athlon_decode): New attribute.
14703 (Athlon scheduling units definitions): New.
14704 (fcmp and shld patterns): Set athlon_decode to "vector".
14705 * i386.c (athlon_cost): New.
14707 (x86_use_leave, x86_push_memory, x86_movx, x86_cmove, x86_deep_branch,
14708 x86_use_sahf): Set for Athlon.
14709 (x86_use_fiop): Unset for Athlon.
14710 (override_options): Define Athlon alignments and "athlon" name.
14711 (x86_adjust_cost): Penalize AGI and delayed latencies for Athlon.
14712 * i386.h (TARGET_ATHLON): New.
14713 (enum processor_type): Add PROCESSOR_ATHLON.
14714 (TARGET_CPU_DEFAULT_SPEC): Set to "-D__tune_athlon__"
14716 (TARGET_CPP_CPU_SPECS): Set -D__tune_athlon__ for Athlon.
14718 1999-12-09 Andreas Jaeger <aj@suse.de>
14720 * loop.c (record_biv): Declare parameter as int.
14722 * config/i386/i386-protos.h: Declare long_memory_operand.
14724 1999-12-09 Mark Mitchell <mark@codesourcery.com>
14726 * tree.c (copy_node): Do zero the TREE_CHAIN, even for an
14727 EXPR_WITH_FILE_LOCATION.
14729 Thu Dec 9 11:36:24 MET 1999 Jan Hubicka <hubicka@freesoft.cz>
14731 * i386.md (neg??, abs?f, one_cmpl?i): Use nonimmediate_operand
14734 * flow.c (recompute_reg_usage): Use basic block info to get loop_depth.
14736 * combine.c (try_combine, distribute_notes): Remove REG_N_REFS
14739 1999-12-09 Jakub Jelinek <jakub@redhat.com>
14741 * config/sparc/linux64.h (TARGET_DEFAULT): Make -mapp-regs
14742 default on linux64 again.
14743 * config/sparc/t-linux64: Add mno-app-regs and non-medlow code
14744 models for multilibing.
14745 * genmultilib: Accept | as alternative separator within a set in
14748 * config/sparc/sparc.h (PROMOTE_FOR_CALL_ONLY): Define.
14750 * calls.c (precompute_arguments): Make sure initial_value contains
14751 value pseudo which CSE expects.
14752 * cse.c (struct set): New entry orig_src.
14753 (cse_insn): Set it early on entry, use it for libcall EQUIV note
14756 Wed Dec 8 22:24:15 1999 Richard Henderson <rth@cygnus.com>
14758 * flow.c (count_basic_blocks): Don't add (use (const_int 0)) insns.
14760 1999-12-08 Bernd Schmidt <bernds@cygnus.co.uk>
14762 * loop.c (insert_loop_mem): Don't hoist volatile mems out of loops.
14764 1999-12-08 Jakub Jelinek <jakub@redhat.com>
14766 * config/sparc/sparc.c (ultra_cmove_results_ready_p,
14767 ultra_fpmode_conflict_exists, ultra_flush_pipeline): Typo fix.
14769 * config/sparc/sparc.h (SPARC_SETHI_P): Don't look at topmost 32 bits
14772 * longlong.h: Merge in changes from glibc.
14773 Also don't clobber %g2 register in 32bit SPARC assembly, so that
14774 -mno-app-regs libgcc can be compiled.
14775 * libgcc2.c: Add defines so that the updated longlong.h
14776 can be used in libgcc2.a. Also, make sure on most architectures
14777 (at least on all which have optimized code in longlong.h defined
14778 for) {SI,W}_TYPE_SIZE is suitable for preprocessor tests.
14780 1999-12-08 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
14782 * config/sparc/sol2-64.h: Same as sol2-sld-64.h, except that
14783 `-m EMULATION' is added to non-default LINK_ARCH_SPECs.
14784 * configure.in: Use sol2-64.h instead of sol2-sld-64.h if linker
14786 * configure: Rebuilt.
14788 Wed Dec 8 03:45:40 1999 Richard Henderson <rth@cygnus.com>
14790 * alpha.c (secondary_reload_class): For !BWX, sub-simode
14791 outputs require a register.
14793 1999-12-08 Brendan Kehoe <brendan@cygnus.com>
14795 * Makefile.in (FPBIT_FUNCS, DPBIT_FUNCS): Add _sf_to_usi
14796 _df_to_usi. Required by some targets, so US_SOFTWARE_GOFAST calls to
14797 functions like dptoul will be resolved.
14798 (libgcc2.a): Make sure that the object files from DPBIT are named
14799 differently (prefix `_dp') from those that would be coming from
14802 1999-12-08 Alexandre Oliva <oliva@lsd.ic.unicamp.br>, Jakub Jelinek <jakub@redhat.com>
14804 * configure.in: When target is sparc* and tm_file contains 64,
14805 test for 64bit support in assembler. If not supported, remove
14806 sparc/t-sol2-64 from target-dependent Makefile fragments.
14807 (AS_SPARC64_FLAG): Define to the assembler flag for 64bit.
14808 (HAVE_AS_OFFSETABLE_LO10): Rework test to use these flags.
14809 (HAVE_AS_REGISTER_PSEUDO_OP): Use config.cache.
14810 * acconfig.h (AS_SPARC64_FLAG): Added.
14811 * configure, config.in: Rebuilt.
14812 * config/sparc/sol2-sld-64.h: Same as sol2.h, if without 64bit
14813 support. Use AS_SPARC64_FLAG.
14815 1999-12-07 Jakub Jelinek <jakub@redhat.com>
14817 * config/sparc/sparc.c (hard_32bit_mode_classes): Mark registers
14818 suitable for holding OFmode values so that gcc works with complex
14820 (hard_64bit_mode_classes): Likewise.
14822 * config/sparc/sparc.md (sethi_di_medlow_embmedany_pic): Fix pattern
14823 so that it is actually matched.
14824 (sethi_di_medlow): Likewise.
14826 * config/sparc/sparc.h (LEGITIMATE_CONSTANT_P): Consider TFmode 0.0L
14827 as legitimate constant if -mvis.
14828 * config/sparc/sparc.md (movtf): Likewise.
14829 (clear_sf): Use const_double_operand.
14830 (clear_sfp, clear_dfp, clear_tf, clear_tfp): New patterns.
14832 * config/sparc/sparc.c (sparc_emit_float_lib_cmp): New function.
14833 * config/sparc/sparc-protos.h (sparc_emit_float_lib_cmp): Prototype.
14834 * config/sparc/sparc.h (*_LIBCALL): Only use for _Q_*
14835 routines, _Qp_* cannot be handled like that now.
14836 (INIT_TARGET_OPTABS): Likewise.
14837 * config/sparc/sparc.md (cmptf): Accept soft float ARCH64.
14838 (seq, sne, sgt, sge, slt, sle, beq, bne, bgt, bge, blt, ble): Call
14839 sparc_emit_float_lib_cmp if ARCH64 and soft float.
14840 (extendsftf2, extenddftf2, trunctfsf2, trunctfdf2, floatsitf2,
14841 floatditf2, fix_trunctfsi2, fix_trunctfdi2, addtf3, subtf3, multf3,
14842 divtf3, sqrttf3): New expanders.
14843 (extendsftf2_hq, extenddftf2_hq, trunctfsf2_hq, trunctfdf2_hq,
14844 floatsitf2_hq, floatditf2_hq, fix_trunctfsi2_hq, fix_trunctfdi2_hq,
14845 addtf3_hq, subtf3_hq, multf3_hq, divtf3_hq, sqrttf3_hq): Rename from
14848 * configure.in (sparc64-*-linux*): Use posix threads if enabled.
14849 * configure: Rebuilt.
14850 * config/sparc/linux64.h: Default to -mcpu=ultrasparc if no
14851 -mcpu is given and we're doing 64bit compiles.
14853 Tue Dec 7 19:22:06 1999 Richard Henderson <rth@cygnus.com>
14855 * loop.h (struct induction): Add multi_insn_incr.
14856 * loop.c (basic_induction_var): New multi_insn_incr argument.
14857 Set it if we search back through previous insns for the biv.
14858 (record_biv): New multi_insn_incr argument; fill in struct induction.
14859 (strength_reduce): Discard an iv with multiple bivs, any of
14860 which require multiple insns to increment.
14862 1999-12-07 Martin v. Löwis <loewis@informatik.hu-berlin.de>
14864 * invoke.texi (C Dialect Options): Remove -flang-c9x, add -std
14867 1999-12-06 David S. Miller <davem@redhat.com>
14869 * combine.c (check_promoted_subreg): Do not conditionalize this upon
14870 PROMOTE_FUNCTION_RETURN.
14872 Mon Dec 6 15:12:14 1999 Jim Wilson <wilson@cygnus.com>
14874 * regmove.c (optimize_reg_copy_1): If no REG_DEAD note, check for
14875 and handle REG_UNUSED note on insn.
14877 * combine.c (force_to_mode, case LSHIFTRT): New local inner_mask. Set
14878 inner_mask instead of mask.
14880 1999-12-06 Brendan Kehoe <brendan@cygnus.com>
14882 * dwarf2out.c (field_byte_offset): As with dwarfout.c, size can be
14883 zero if there was an error.
14885 1999-12-06 Jakub Jelinek <jakub@redhat.com>
14887 * config/sparc/sparc.md (return_losum_di): Fix typo in asm
14890 * longlong.h: Fix clobbers in SPARC asm statements.
14892 * config/sparc/sparc.c (input_operand): Allow HImode and QImode
14893 valid sethi operations when TARGET_ARCH64.
14895 * calls.c (save_fixed_argument_area): If save_mode is BLKmode,
14896 always use move_by_pieces to avoid infinite recursion.
14897 (restore_fixed_argument_area): Likewise.
14899 * combine.c (check_promoted_subreg, record_promoted_value): New
14901 (combine_instructions): Use them to retain nonzero and sign bit
14902 information after SUBREGs are eliminated by optimizations in
14903 this pass if PROMOTE_FUNCTION_RETURN.
14905 * config/sparc/sparc.h (ASM_DECLARE_REGISTER_GLOBAL): Document
14906 .register declaration. Don't use variables with __ prefixes.
14908 Mon Dec 6 12:24:52 1999 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
14910 * fold-const.c (optimize_bit_field_compare): Only use one mode
14911 for both RHS and LHS in non-constant case.
14913 1999-12-06 Nathan Sidwell <nathan@acm.org>
14915 * frame.c (start_fde_sort): Only allocate erratic array, if
14916 linear one was allocated. Return allocated flag.
14917 (fde_insert): Only insert, if there's a valid array.
14918 (fde_end_sort): Split, sort and merge if linear and erratic
14919 arrays exist, else just sort linear one.
14920 (search_fdes): New function. Linear search through original fde
14922 (frame_init): Permit multiple initializations. Cope with
14924 (find_fde): Fallback on linear search, if failed to sort array.
14925 (__deregister_frame_info): Only free sorted array, if we
14928 1999-12-06 Jakub Jelinek <jakub@redhat.com>
14930 * config/sparc/sparc.h (MUST_PASS_IN_STACK): New macro.
14932 1999-12-05 Jakub Jelinek <jakub@redhat.com>
14934 * config/sparc/sparc.c (sparc64_initialize_trampoline): Use gen_flushdi.
14936 1999-12-05 Mark Mitchell <mark@codesourcery.com>
14938 * tree.h (special_function_p): Declare.
14939 * calls.c (special_function_p): Make it global. Don't take `name'
14940 as a parameter. Fix typo in 1999-11-28 change.
14941 (expand_cal): Adjust.
14943 1999-12-04 Mark Mitchell <mark@codesourcery.com>
14945 * tree.def (EXPR_WITH_FILE_LOCATION): Fix comment formatting.
14946 * tree.h (EXPR_WFL_FILENAME): Define in terms of
14947 EXPR_WFL_FILENAME_NODE.
14948 (EXPR_WFL_FILENAME_NODE): Use the second operand slot rather than
14950 * print-tree.c (print_note): Print TREE_PRIVATE and
14953 * dwarf2out.c (add_abstract_origin_attribute): Don't abort when
14954 the original die cannot be found.
14956 * varray.h (varray_head_tag): Add elements_used.
14957 (VARRAY_PUSH): New macro.
14958 (VARRAY_POP): Likewise.
14959 (VARRAY_TOP): Likewise.
14960 Add variants of VARRAY_PUSH and VARRAY_POP for all varray element
14962 * varray.c (varray_init): Initialize elements_used.
14963 * Makefile.in (BASIC_BLOCK_H): Add varray.h.
14964 (INTEGRATE_H): New variable.
14965 (integrate.o): Depend on INTEGRATE_H.
14966 (unroll.o): Likewise.
14968 * function.h (insert_block_after_note): Declare.
14969 * function.c (insert_block_after_note): Split out from ...
14970 (retrofit_block): ... here.
14972 * stmt.c (expand_fixup): Fix typo in comment.
14974 Sat Dec 4 14:13:38 MET 1999 Jan Hubicka <hubicka@freesoft.cz>
14976 * regmove.c (copy_src_to_dest): Remove loop_depth parameter.
14977 (optimize_reg_copy_1): Remove REG_N_REFS updating code.
14978 (optimize_reg_copy_2, copy_src_to_dest, fixup_match_2): Likewise.
14979 (regmove_optimize, fixup_match_1): Likewise.
14981 1999-12-05 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
14983 * flow.c (flow_loops_dump): Add missing argument when calling
14984 flow_loop_nested_p.
14986 1999-12-04 Geoffrey Keating <geoffk@cygnus.com>
14987 Greg McGary <gkm@gnu.org>
14989 * c-common.c (enum attrs): Add A_NO_LIMIT_STACK.
14990 (init_attributes): Add A_NO_LIMIT_STACK.
14991 (decl_attributes): Handle A_NO_LIMIT_STACK.
14992 * c-decl.c (duplicate_decls): Handle DECL_NO_LIMIT_STACK.
14993 * explow.c (allocate_dynamic_stack_space) [!HAVE_allocate_stack]:
14994 Handle stack bounds checking.
14995 * flags.h (flag_stack_check): Use the word 'probe' rather than
14996 'check', because the flag doesn't actually cause any checking to
14998 * function.c (expand_function_start): Set
14999 current_function_limit_stack.
15000 * function.h (struct function): Add limit_stack.
15001 (current_function_limit_stack): Define.
15002 * invoke.texi (Code Gen Options): Document new options.
15003 * rtl.h: Declare stack_limit_rtx.
15004 * toplev.c (stack_limit_rtx): New variable.
15005 (decode_f_option): Handle new options -fstack-limit-register=REG,
15006 -fstack-limit-symbol=IDENT, -fno-stack-limit.
15007 (main): Add stack_limit_rtx as GC root.
15008 * tree.h (DECL_NO_LIMIT_STACK): New macro.
15009 (struct tree_decl): New member no_limit_stack.
15011 * config/rs6000/rs6000.c (rs6000_allocate_stack_space): Handle
15013 * config/rs6000/rs6000.md (allocate_stack): Handle stack_limit_rtx.
15014 (conditional_trap+1): Get new mnemonic correct.
15015 (conditional_trap+2): New pattern for DImode traps.
15017 * config/m68k/m68k.c (output_function_prologue): Handle
15019 * config/m68k/m68k.md (trap): New insn.
15020 (conditional_trap): New insn.
15021 * md.texi (Standard Names): Document `trap' and
15022 `conditional_trap'.
15023 * optabs.c (gen_cond_trap): Use start_sequence()/end_sequence()
15024 so a cc0 setter doesn't get emitted at some random place in the
15027 * config/i960/i960.md (trap): New insn.
15028 (conditional_trap): New expander.
15029 (conditional_trap+1, conditional_trap+2): New insns for signed
15030 and unsigned cases.
15031 * config/i960/i960.c (i960_function_prologue): Use
15032 STARTING_FRAME_OFFSET. Handle stack_limit_rtx.
15034 Thu Dec 2 21:22:45 1999 Greg McGary <gkm@gnu.org>
15035 Geoffrey Keating <geoffk@cygnus.com>
15037 * flags.h (warn_padded, warn_packed): Add global var decls.
15038 * toplev.c (warn_padded, warn_packed): Add global var defns.
15039 (W_options): Add warnings `-Wpacked' and `-Wpadded'.
15040 * stor-layout.c (layout_record): Add local variable `type'
15041 to hold often-used TREE_TYPE (field). Add local variable
15042 `unpacked_align' to hold alignment that would be in force
15043 if no `packed' attribute were present. Warn if `packed' attribute
15044 is unnecessary, or even harmful. Warn when gcc inserts padding
15045 to satisfy alignment requirements of members. Use NULL_TREE
15046 when checking whether var_size is set.
15047 * invoke.texi: Document new flags.
15049 1999-12-03 Nathan Sidwell <nathan@acm.org>
15051 * frame.c (fde_split): Reimplement to avoid variable sized array.
15053 Thu Dec 2 18:59:48 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
15055 * combine.c (try_combine): Before fixing up LOG_LINKS for the
15056 i3_subst_into_i2 case, check that GET_CODE (PATTERN (i2)) == PARALLEL.
15058 1999-12-02 Gavin Romig-Koch <gavin@cygnus.com>
15060 * invoke.texi: Document the mips option -mno-crt0
15062 1999-12-02 Mike Karr <mkarr@mathworks.com>
15064 * cccp.c (argdata): Added free_ptr member.
15065 (macroexpand): Initialize free_ptr of each argument. When an
15066 argument's buffers are freed, if the argument's free_ptr corresponds
15067 to a buffer on the input stack, then return the free_ptr to that stack
15068 frame, otherwise, free it.
15069 (macarg): If an argument begins and ends on the same input stack level,
15070 then transfer the free_ptr of that buffer to the argument in case
15071 the stack is popped during the processing of a subsequent argument.
15073 1999-12-02 Bernd Schmidt <bernds@cygnus.co.uk>
15075 * loop.c (note_reg_stored): New function.
15076 (struct note_reg_stored_arg): New structure.
15077 (try_copy_prop): Change to be more conservative; only replace within
15078 one extended basic block and stop replacing if a store to the
15079 replacement reg is seen.
15081 1999-12-02 Nick Clifton <nickc@cygnus.com>
15083 * config/fp-bit.c: Initialise all fields of the NAN
15086 * c-lex.c (check_newline): Pass pragma_getc and pragma_ungetc
15089 Wed Dec 1 18:16:38 1999 Jan Hubicka <hubicka@freesoft.cz>
15091 * i386.md (extend?f?f2): Force the input into a register, not
15094 1999-12-01 Jakub Jelinek <jakub@redhat.com>
15096 * config/sparc/sparc.md (movsf_const_intreg): Add constraints for
15098 (movdf_const_intreg_sp32): Likewise. Prefer the memory load
15099 alternative because setting up 64bit constant is usually costly,
15100 especially when reload is in progress or completed.
15101 (movdf_const_intreg_sp64): Likewise.
15102 (movdf_const_intreg split): Fix building up constants when
15103 HOST_BITS_PER_WIDE_INT is 64 yet long is 32bit.
15105 Wed Dec 1 16:51:22 1999 Jeffrey A Law (law@cygnus.com)
15107 * combine.c (if_then_else_cond): Use const_true_rtx instead of
15108 const1_rtx for return values in EQ/NE comparison against (const_int 0)
15111 * mn10300.c (REG_SAVE_BYTES): Allocate space for AM33 registers.
15112 (asm_file_start): Emit .am33 into assembly file when compiling for
15114 (print_operand_address): Handle POST_INC addresses.
15115 (can_use_return_insn, initial_offset): Check AM33 registers too.
15116 (expand_prologue): Check & save AM33 registers too.
15117 (expand_epilogue): Similarly.
15118 (secondary_reload_class): Handle AM33 specific secondary reloads.
15119 (output_tst): Emit efficient code for the AM33 too.
15120 * mn10300.h (CPP_SPEC, TARGET_AM33): Define.
15121 (TARGET_SWITCHES): Add -mam33 switch.
15122 (FIRST_PSEUDO_REGISTER): Handle new AM33 registers.
15123 (FIXED_REGISTERS, CALL_USED_REGISTERS): Likewise.
15124 (REG_ALLOC_ORDER, CONDITIONAL_REGISTER_USAGE): Likewise.
15125 (HARD_REGNO_MODE_OK, MODES_TIEABLE_P): Likewise.
15126 (enum reg_class, REG_CLASS_NAMES): Likewise.
15127 (REG_CLASS_CONTENTS, REGNO_REG_CLASS): Likewise.
15128 (INDEX_REG_CLASS, REG_CLASS_FROM_LETTER): Likewise.
15129 (REGNO_OK_FOR_INDEX_P, PREFERRED_RELOAD_CLASS): Likewise.
15130 (PREFERRED_OUTPUT_RELOAD_CLASS, LIMIT_RELOAD_CLASS): Likewise.
15131 (REGISTER_MOVE_COST, REGISTER_NAMES): Likewise.
15132 (HAVE_POST_INCREMENT): Define.
15133 (GO_IF_LEGITIMATE_ADDRESS): Allow POST_INC addresses for the AM33.
15134 (GO_IF_MODE_DEPENDENT_ADDRESS): POST_INC is a mode dependent address.
15135 * mn10300.md (movqi, movhi, addsi, subsi): Add AM33 variants.
15136 (mulsi, andsi, iorsi, xorsi, notsi): Likewise.
15137 (ashiftsi, lshiftrtsi, ashiftrtsi): Likewise.
15138 (zero_extend to SI from QI/HI): Likewise.
15139 (sign_extend to SI from QI/HI): Likewise.
15140 (mulsidi3, umulsidi3): New patterns for the AM33.
15141 (tstsi with zero extension from QI/HI): Add AM33 variants.
15142 (movsi, movsf, movdi, movdf): Generate efficient code for the AM33 too.
15143 (return_internal_regs, store_movm): Handle new AM33 registers.
15144 * t-mn10300 (MULTILIB_OPTIONS, MULTILIB_DIRNAMES): Define.
15145 (LIBGCC, INSTALL_LIBGCC): Likewise.
15146 * invoke.texi: Document new flags.
15148 Fri Nov 26 10:59:12 CET 1999 Jan Hubicka <hubicka@freesoft.cz>
15150 * i386.md (addsi3_cc): Add "binary_operator_ok" to the condition.
15151 (addsi3_carry): Likewise.
15152 (sbbsi3_cc): Add "binary_operator_ok" to the condition.
15153 (sbbsi3_carry): Likewise.
15154 (mulsi3): Rewrite to expander, ensure that only one operand is memory.
15155 (mulhi3): Likewise.
15156 (test?i_1): Ensure that only one operand is memory.
15157 (conditional move patterns): likewise.
15158 (shift and rotate patterns): Rewrite to expander, add
15159 "binary_operator_ok" to the condition.
15161 * i386.md (QImode patterns): Remove '*' before the 'r' constraints.
15162 * i386.h (procesor_costs): Add movzbl_load field.
15163 (HARD_REGNO_MODE_OK): Accept QImode on non PARTIAL_REGISTER_STALL in
15164 non-Q registers, accept DImode registers anywhere.
15166 (MEMORY_MOVE_COST): Calculate QImode moves correctly.
15167 * i386.c (*_cost): Set value for movxbl_load field.
15169 * (addsi): New add to lea splitter.
15170 (ashlsi): Likewise.
15171 (lea to add/shift peep2): New.
15173 1999-12-01 Mark Salter <msalter@cygnus.com>
15175 * config/mips/elf.h (STARTFILE_SPEC): Add no-crt0.
15176 * config/mips/elf64.h (STARTFILE_SPEC): Add no-crt0.
15177 * config/mips/mips.h (TARGET_SWITCHES): Add no-crt0.
15179 Tue Nov 30 15:20:52 MET 1999 Jan Hubicka <hubicka@freesoft.cz>
15181 * i386.c (ix86_expand_move): Never add clobbers to move patterns.
15182 * i386.md (movsi_xor): New.
15184 (movsi_1, movhi_1, movqi_1): Remove.
15185 (movsi_2): Rename to movsi_1.
15186 (movhi_2): Rename to movhi_1.
15187 (movqi_2): Rename to movqi_1.
15188 (movdi_1): Remove; remove splitter.
15189 (movdi_2): Rename to movdi_1.
15190 (divmodsi4 splitter): Do not emit clobbers for move patterns.
15191 (long move peep2): Do not create QI or HI mode mov0s
15192 (mov -1,reg -> or peep2s): Enable again, rewrite to single peephole.
15194 * i386.md (zero_extend?i?i2): Rewrite to expanders; new patterns,
15197 * i386.md (neg?f2_if): Split "r" and "f" to separate alternatives.
15198 (abs?f2_if): Likewise.
15200 1999-11-30 Alex Samuel <samuel@codesourcery.com>
15202 * ggc.h (ggc_test_and_set_mark): New macro.
15203 (ggc_mark_rtx): Use ggc_test_and_set_mark.
15204 (ggc_mark_tree): Likewise.
15205 (ggc_mark_rtvec): Likewise.
15206 * ggc-common.c (ggc_mark_rtx_children): Reduce recursion.
15208 1999-11-30 Jason Merrill <jason@casey.cygnus.com>
15210 * dwarf2out.c (scope_die_for): Only handle types. Only search for
15212 (decl_scope_table): Just an array of trees now.
15213 (push_decl_scope): Simplify.
15214 (dwarf2out_init): Adjust.
15215 (local_scope_p): New fn.
15216 (gen_inlined_enumeration_type_die): Don't call scope_die_for.
15217 (gen_inlined_union_type_die, gen_inlined_structure_type_die): Likewise.
15218 (gen_typedef_die): Likewise.
15219 (gen_lexical_block_die): Don't call push/pop_decl_scope.
15220 (gen_inlined_subroutine_die): Likewise.
15221 (gen_abstract_function): Set current_function_decl temporarily.
15222 (gen_subprogram_die): Don't check DECL_ABSTRACT to set declaration.
15223 Handle block extern declarations. Don't call push/pop_decl_scope.
15224 (gen_decl_die): Fix logic for block externs.
15226 1999-11-30 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
15228 * calls.c (special_function_p): Remove `realloc' and add `strdup'
15229 to the list of functions which have attribute malloc by default.
15231 1999-11-30 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
15233 * c-lex.c (yylex): With -Wtraditional, when the ANSI type of an
15234 integer constant does not match the traditional type, limit the
15235 warnings to cases where the base of the type is ten.
15237 * invoke.texi (-Wtraditional): Document it.
15239 Tue Nov 30 15:18:35 1999 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
15241 * combine.c (try_combine): Only pass SET or CLOBBER to SET_DEST
15242 * rs6000.md: Only access a CONST_INT with INTVAL
15244 Tue Nov 30 14:21:00 1999 Richard Henderson <rth@cygnus.com>
15246 * lcm.c (compute_laterin): Cast bb->aux to size_t not int.
15247 (compute_nearerout): Likewise.
15248 * ggc-page.c (ggc_page_print_statistics): Explicitly cast
15249 size_t to unsigned long for formatting.
15251 1999-11-30 Jakub Jelinek <jakub@redhat.com>
15253 * config/sparc/sparc.h (FIXED_REGISTERS, CONDITIONAL_REGISTER_USAGE):
15254 Allow the user to override call-used/fixed state of %g2-5
15255 registers from the command line (with the exception of %g4 for
15257 (REG_LEAF_ALLOC_ORDER): Move %g1 and %g4-7 registers to front, so that
15258 there is a higher chance of having a leaf function.
15259 (MACHINE_STATE_SAVE, MACHINE_STATE_RESTORE): Provide separate macros
15260 for ARCH64 which has %ccr register.
15261 * config/sparc/sparc.md (return_losum_si, return_losum_di): New
15263 * config/sparc/sparc.c (eligible_for_epilogue_delay): For the return
15264 insn accept into delay slot any insn which does not use %[ol]
15265 registers. Accept some LO_SUM and shift left by 1 for the normal
15267 (output_function_epilogue): Likewise.
15268 (epilogue_renumber): Added argument which inhibits any renumbering
15269 and just tests if the rtx does not use any %[ol] registers.
15270 (output_return): Reflect above change.
15272 1999-11-30 Jakub Jelinek <jakub@redhat.com>
15274 * config/sparc/sparc.c (sparc_va_arg): Fix sparc64 va_arg
15275 aggregate passing for sizes <= 16 bytes.
15277 1999-11-30 Bernd Schmidt <bernds@cygnus.co.uk>
15279 * cse.c (FIXED_REGNO_P): Delete tests for OVERLAPPING_REGNO_P.
15280 * global.c (global_alloc): Delete [OVERLAPPING_REGNO_P] code.
15281 * reload.c (find_dummy_reload): Likewise.
15282 (find_equiv_reg): Likewise; also for INSN_CLOBBERS_REGNO_P.
15283 * reload1.c (reload_as_needed): Likewise.
15284 * stupid.c (stupid_find_reg): Likewise.
15285 * tm.texi (Obsolete Register Macros): Delete section.
15286 * gmicro.h: Remove all traces of the two macros.
15287 * i386.h: Likewise.
15288 * m88k.h: Likewise.
15289 * mips.h: Likewise.
15291 1999-11-30 Brendan Kehoe <brendan@cygnus.com>
15293 * sparc.h (MASK_FASTER_STRUCTS, TARGET_FASTER_STRUCTS): Define.
15294 (TARGET_SWITCHES): Add -mfaster-structs/-mno-faster-structs flags.
15295 (ROUND_TYPE_ALIGN): Use better value if -mfaster-structs.
15296 * sparc.md (sparclite86x_branch, sparclite86x_shift): New function
15297 units for the sparclite86x chip.
15298 (flush): Revert October 14th change; add SImode specifically.
15299 (flushdi): Copy of flush, but DImode, to avoid genrecog warnings.
15300 * invoke.texi: Document it.
15302 Tue Nov 30 14:58:14 1999 Nick Clifton <nickc@cygnus.com>
15304 * config/mn10200/mn10200.h (PREDICATE_CODES): Add
15305 psimode_truncation_operand.
15307 * config/mn10200/mn10200.c (psimode_truncation_operand): New
15308 function. Return true if the operand is either a MEM valid
15309 for a PSImode address or not a MEM at all.
15311 * config/mn10200/mn10200.md (truncsipsi2): Use
15312 psimode_truncation_operand.
15314 1999-11-30 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
15316 * flow.c (flow_nodes_print, flow_loops_cfg_dump): New functions.
15317 (flow_loop_nested_p, flow_loops_dump, flow_loops_free): Likewise.
15318 (flow_loop_exits_find, flow_loop_nodes_find): Likewise.
15319 (flow_depth_first_order_compute, flow_loop_pre_header_find): Likewise.
15320 (flow_loop_tree_node_add, flow_loops_tree_build): Likewise.
15321 (flow_loop_level_compute, low_loops_level_compute): Likewise.
15322 (flow_loops_find, flow_loop_outside_edge_p): Likewise.
15323 * basic-block.h: Protect from multiple inclusion.
15324 (flow_loops_find, flow_loops_free, flow_loop_dump): Add protoypes.
15325 (struct loops, struct loop): Define structures.
15326 * sbitmap.c (sbitmap_a_subset_b_p): New function.
15327 * sbitmap.h: Protect from multiple inclusion.
15328 (sbitmap_a_subset_b_p): Add prototype.
15329 * Makefile.in (LOOP_H): New macro.
15330 (stmt.o, integrate.o, loop.o, unroll.o): Replace loop.h with LOOP_H.
15332 Tue Nov 30 01:34:47 1999 Philippe De Muyter <phdm@macqel.be>
15334 * cppinit.c (CAT): The argument list of this macro may not contain
15337 1999-11-29 David S. Miller <davem@redhat.com>
15339 Move quantity tables and register equivalence chains into
15340 per-qty and per-register structure arrays respectively.
15341 * cse.c (qty_first_reg, qty_last_reg, qty_mode, qty_const,
15342 qty_const_insn, qty_comparison_code, qty_comparison_const,
15343 qty_comparison_qty): Delete, replace with...
15344 (qty_table): this structure table.
15345 (reg_next_eqv, reg_prev_eqv): Delete, replace with...
15346 (reg_eqv_table): this structure table.
15347 (make_new_qty): Add argument MODE. Caller updated.
15348 Update to use qty_table and reg_eqv_table.
15349 (make_regs_eqv, delete_reg_equiv, insert_regs,
15350 insert, exp_equiv_p, cse_rtx_varies_p, canon_reg,
15351 fold_rtx, equiv_constant, record_jump_cond, cse_insn,
15352 cse_process_notes, cse_main, cse_basic_block): Likewise.
15354 Mon Nov 29 16:56:42 1999 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
15356 * fold-const.c (extract_muldiv, case {MIN,MAX}_EXPR): Reverse
15357 operation if C is negative.
15358 (extract_muldiv, case SAVE_EXPR): Supresss if arg has side effects.
15359 (extract_muldiv, case {PLUS,MINUS}_EXPR): Don't apply distributive
15360 law for some divisions if constant is negative and change other
15361 divisions to the opposite rounding.
15363 * expr.c (store_constructor_field): If bit position is not multiple
15364 of alignment of TARGET's mode, use BLKmode.
15366 * expr.c (expand_expr_unaligned): Add more code from full case
15367 that is needed when OP0 is in a register.
15369 Mon Nov 29 18:09:39 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
15371 * dwarfout.c (field_byte_offset): Size can be zero if there was
15374 1999-11-29 Bernd Schmidt <bernds@cygnus.co.uk>
15376 * fold-const.c (split_tree): Delete unused vars ORIG_IN and TYPE.
15377 (associate_trees): Delete unused var TEM.
15378 (extract_muldiv): Delete unused var CANCEL_P.
15380 * fold-const.c [TARGET_FLOAT_FORMAT != IEEE_FLOAT_FORMAT]
15381 (target_isinf, target_isnan, target_negative): Add return types to
15382 function definitions.
15384 1999-11-29 Bruce Korb <autogen@linuxbox.com>
15386 * fixinc/fixincl.c(process): don't skip GLIBC files any more.
15387 * fixinc/hackshell.tpl: ditto
15388 * fixinc/fixtests.c(double_slash_test): more C++ header testing
15389 * fixinc/inclhack.def(AAB_fd_zero_glibc*): corrected spelling of mach
15391 1999-11-29 Bernd Schmidt <bernds@cygnus.co.uk>
15393 * reload.c (push_reload): When looking for a register to put into
15394 reg_rtx, make sure all hard regs in a multi-reg register are in the
15395 right class and nonfixed.
15397 * haifa-sched.c (reg_last_uses, reg_last_sets, reg_last_clobbers,
15398 pending_read_insns, pending_write_insns, pending_read_mems,
15399 pending_write_mems, pending_list_length, last_pending_memory_flush,
15400 last_function_call, sched_before_next_call): Move static variables
15402 (bb_ prefixed versions): Replace with single array bb_deps.
15403 (struct deps): New structure.
15404 (add_insn_mem_dependence, flush_pending_lists, sched_analyze_1,
15405 sched_analyze_2, sched_analyze_insn, sched_analyze): Accept new
15406 argument of type "struct deps *"; use that instead of global
15407 variables. All callers changed.
15408 (init_rgn_data_dependencies): Delete function.
15409 (init_rtx_vector): Delete function.
15410 (init_deps): New function.
15412 (free_pending_lists): Simplify, we always use the bb_deps array even
15413 if only one basic block.
15414 (compute_block_backward_dependences): Likewise.
15415 (schedule_region): Likewise.
15417 (propagate_deps): New function, broken out of
15418 compute_block_backward_dependences.
15419 (compute_block_backward_dependences): Use it.
15421 * alpha.md: Delete useless patterns that tried to work around
15422 register elimination problems.
15424 * unroll.c (loop_iterations): Don't abort if iteration variable
15427 From Joern Rennecke:
15428 * reload1.c (reloads_conflict): Reverse test comparing operand
15429 numbers when testing for conflict between output/outaddr reloads.
15431 1999-11-29 David S. Miller <davem@redhat.com>
15433 * config/sparc/sparc.c (init_cumulative_args): Fix type of third
15435 * config/sparc/sparc-protos.h: Update proto, move into RTX_CODE.
15437 1999-11-28 Robert Lipe <robertl@cygnus.com>
15439 * i386/sco5.h (FINI_SECTION_ASM_OP_COFF): Move destructor fn
15440 table from .fini into .dtor.
15442 1999-11-28 Anthony Green <green@cygnus.com>
15444 * tree.h (struct tree_decl): Add malloc_flag.
15445 (DECL_IS_MALLOC): Define.
15446 * c-common.c (attrs): Add A_MALLOC attribute.
15447 (init_attributes): Add this attribute to the table.
15448 (decl_attributes): Handle malloc attribute.
15449 * calls.c (special_function_p): Check for the malloc attribute.
15450 * extend.texi (Function Attributes): Document malloc attribute.
15452 Sun Nov 28 13:21:00 1999 Jeffrey A Law (law@cygnus.com)
15454 * pa.md (reload shift-add patterns): Remove.
15456 1999-11-28 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
15458 * reorg.c (dbr_schedule) Print more statistics. Corrected
15459 problem when printing info when 3 delay slots are filled.
15461 1999-11-28 Jakub Jelinek <jakub@redhat.com>
15463 * combine.c (setup_incoming_promotions): Pass an outgoing
15464 regno to FUNCTION_ARG_REGNO_P which it expects.
15466 1999-11-28 Andreas Jaeger <aj@suse.de>
15468 * mips/linux.h (CPP_PREDEFINES): Undefine before redefining.
15470 Sun Nov 28 00:48:15 1999 Philippe De Muyter <phdm@macqel.be>
15472 * cccp.c (do_include): Avoid initialization of automatic variable.
15474 * integrate.c (mark_stores): Function definition made void, to match
15475 previous declaration.
15476 * regclass.c (dump_regclass): Ditto.
15477 * Makefile.in (WARN_CFLAGS): Macro augmented by `-Wtraditional'.
15479 Sat Nov 27 08:38:26 1999 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
15481 * expr.c (store_constructor): Use EXACT_DIV_EXPR when dividend is
15482 known to be multiple of divisor.
15484 * expr.c (store_constructor): Don't clobber TARGET if CLEARED.
15486 * combine.c (try_combine): Add code to try to merge a set of a
15487 two-word pseudo to a constant with a setting of one of those words
15490 * fold-const.c (negate_expr, associate_trees, extract_muldiv): New.
15491 (split_tree): Completely rework to make more general.
15492 (make_range, fold): Call negate_expr.
15493 (fold, case NEGATE_EXPR): Simplify -(a-b) is -ffast-math.
15494 (fold, associate): Call new split_tree and associate_trees.
15495 (fold, case MULT_EXPR, case *_{DIV,MOD}_EXPR): Call extract_muldiv.
15497 1999-11-26 Bernd Schmidt <bernds@cygnus.co.uk>
15499 * loop.c (try_copy_prop): Avoid GNU C extension.
15501 1999-11-25 Mark Mitchell <mark@codesourcery.com>
15503 * except.c (init_eh_for_function): Still zero eh_return_context,
15504 eh_return_stack_adjust, and eh_return_handler.
15506 * except.h (eh_status): Adjust documentation for x_protect_list.
15507 (begin_protect_partials): New function.
15508 * except.c (enqueue_eh_entry): Fix formatting.
15509 (get_first_handler): Add consistency check.
15510 (add_partial_entry): Adjust usage of protect_list.
15511 (emit_cleanup_handler): Save and restore ehqueue.
15512 (expand_start_all_catch): Add comment.
15513 (begin_protect_partials): New function.
15514 (end_protect_partials): Adjust usage of protect_list.
15515 (init_eh_for_function): Use xcalloc.
15517 1999-11-25 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
15519 * c-common.c (check_format_info): Don't call a variadic function
15520 with a non-literal format string.
15522 * c-decl.c (grokdeclarator, start_struct, finish_struct): Likewise.
15524 * c-typeck.c (build_component_ref, build_unary_op, lvalue_or_else,
15525 pedantic_lvalue_warning, error_init, pedwarn_init, warning_init):
15528 * cccp.c (check_macro_name, do_xifdef, vwarning_with_line):
15531 * collect2.c (collect_wait): Likewise.
15533 * dbxout.c (dbxout_type): Likewise.
15535 * gcc.c (do_spec_1): Likewise.
15537 * genemit.c (gen_insn, gen_expand): Likewise.
15539 * genrecog.c (write_switch, write_subroutine): Likewise.
15541 * mips-tfile.c (catch_signal, botch): Likewise.
15543 * print-rtl.c (print_rtx): Likewise.
15545 * toplev.c (default_print_error_function, report_error_function,
15546 _fatal_insn): Likewise.
15548 1999-11-25 Mark Mitchell <mark@codesourcery.com>
15550 * tree.c (unsave_expr_now): Handle NULL_TREE as input.
15552 Wed Nov 24 17:08:09 MET 1999 Jan Hubicka <hubicka@freesoft.cz>
15554 * reg-stack.c (subst_stack_regs_pat): Swap operands in commutative
15555 operations when needed.
15556 * i386.md (fop_?f_comm): New.
15557 (fop_?f_1): Do not accept commutative operands.
15559 1999-11-25 Andreas Jaeger <aj@suse.de>
15561 * config/mips/mips.md (casesi_internal): Add missing brace.
15563 1999-11-25 Jason Merrill <jason@casey.cygnus.com>
15565 * dwarf2out.c (pend_type, output_pending_types_for_scope): Lose.
15566 (splice_child_die): Handle moving a child DIE from the declaration
15567 DIE of a class to its specification.
15568 (gen_struct_or_union_type_die): Use 'complete' consistently.
15569 (gen_decl_die): Generate the virtual context DIE first.
15570 Use decl_ultimate_origin instead of DECL_ABSTRACT_ORIGIN.
15572 1999-11-24 Gavin Romig-Koch <gavin@cygnus.com>
15574 * config/mips/mips.md (call_value_multiple_interanal1): New.
15576 1999-11-24 Jason Merrill <jason@casey.cygnus.com>
15578 * dwarf2out.c (free_AT, free_die): New fns.
15579 (remove_children): Call them.
15580 (output_line_info): Disable removal of duplicate notes.
15582 Generate minimal debug info for types with TYPE_DECL_SUPPRESS_INFO set.
15583 * dwarf2out.c (gen_struct_or_union_type_die): TYPE_DECL_SUPPRESS_INFO
15584 means pretend the type isn't defined.
15585 Don't defer emitting types.
15586 (gen_type_die_for_member): New fn.
15587 (gen_decl_die): Call it.
15588 (splice_child_die): New fn.
15589 (gen_member_die): Call it rather than generate duplicate dies.
15591 Defer emitting information for the abstract instance of an inline
15592 until we either inline it or emit an out-of-line copy.
15593 * dwarf2out.c (decl_ultimate_origin): Ignore DECL_ABSTRACT_ORIGIN
15594 from output_inline_function if DECL_ABSTRACT is also set.
15595 (block_ultimate_origin): Likewise.
15596 (gen_abstract_function): New fn.
15597 (gen_decl_die, gen_inlined_subroutine_die): Call it.
15598 (gen_subprogram_die): An abstract instance is not a declaration
15599 just because it doesn't match current_function_decl. Don't abort
15600 because DECL_DEFER_OUTPUT isn't set. Do abort if a declaration
15601 has an abstract origin.
15602 * toplev.c (rest_of_compilation): Don't emit dwarf2 info for the
15603 abstract instance here.
15605 Wed Nov 24 18:39:18 1999 Andrew Haley <aph@cygnus.com>
15607 * config/sh/sh.h (SECONDARY_OUTPUT_RELOAD_CLASS): Add the case
15608 where we need to reload fpul from a system register.
15610 1999-11-24 Andreas Jaeger <aj@suse.de>
15612 * config/mips/linux.h (CPP_PREDEFINES): Added.
15613 (LINK_SPEC): Remove -Y since this is only needed on sparc.
15615 1999-11-24 Andreas Jaeger <aj@suse.de>
15617 * config/mips/linux.h (TARGET_VERSION): Added.
15618 (HANDLE_SYSV_PRAGMA): Added.
15619 (DEFAULT_VTABLE_THUNKS): Added.
15621 Wed Nov 24 14:12:15 MET 1999 Jan Hubicka <hubicka@freesoft.cz>
15623 * local-alloc.c (qty): New structure and static variable.
15624 (qty_phys_reg): Remove, all references changed to qty.
15625 (qty_n_refs): Likewise.
15626 (qty_min_class): Likewise.
15627 (qty_birth): Likewise.
15628 (qty_death): Likewise.
15629 (qty_size): Likewise.
15630 (qty_mode): Likewise.
15631 (qty_n_calls_crossed): Likewise.
15632 (qty_alternate_class): Likewise.
15633 (qty_changes_size): Likewise.
15634 (qty_first_reg): Likewise.
15635 (alloc_qty): Rename variable QTY to QTYNO.
15636 (finf_free_reg): Likewise.
15637 (local_alloc): Allocate qty, do not allocate the removed variables.
15639 Wed Nov 24 17:26:05 1999 Geoffrey Keating <geoffk@cygnus.com>
15641 * config/mips/mips.h (ASM_SPEC): Don't pass -G to the assembler
15642 when -membedded-pic is passed.
15644 * config/mips/mips.md (casesi): Handle 64-bit case too.
15645 (casesi_internal_di): New insn.
15647 * config/mips/mips.c (embedded_pic_offset): Always make the
15648 embedded-pic subtractions relative to the name of the current
15649 function by use of the magic string "..CURRENT_FUNCTION".
15650 * config/mips/mips.h (ASM_OUTPUT_LABELREF): Make the magic happen.
15652 1999-11-24 Geoffrey Keating <geoffk@cygnus.com>
15654 * config/mips/mips.md (div_trap_normal): Don't ask for the REGNO
15655 of (const_int 0), when what we really care about is
15656 whether it's a zero constant anyway.
15657 (div_trap_mips16): Likewise.
15659 1999-11-23 Mark Mitchell <mark@codesourcery.com>
15661 * loop.c (loop_optimize): Always find_loop_tree_blocks and
15662 unroll_block_trees when generating debuggable code.
15664 * tree.h (unsave_expr_1): New function.
15665 (lang_unsave): New variable.
15666 (get_callee_fndecl): New function.
15667 * tree.c (unsave_expr_now_r): New function.
15668 (lang_unsave): Define.
15669 (unsave_expr_1): Likewise.
15670 (unsave_expr_now_r): Split out from unsave_expr_now.
15671 (unsave_expr_now): Call lang_unsave if it is non-NULL. Otherwise,
15672 call unsave_expr_now_r.
15673 (get_callee_fndecl): Define.
15675 * Makefile.in (gencheck): Don't depend on lang_tree_files.
15676 (gencheck.o): Do depend on lang_tree_files.
15678 * integrate.h (copy_decl_for_inlining): New declaration.
15679 * integrate.c (copy_and_set_decl_abstract_origin): Remove.
15680 (copy_decl_for_inlining): New function.
15681 (integrate_parm_decls): Use it.
15682 (integrate_decl_tree): Likewise.
15684 1999-11-23 Gavin Romig-Koch <gavin@cygnus.com>
15686 * config/mips/mips.h (ISA_HAS_FP4,ISA_HAS_CONDMOVE,ISA_HAS_8CC): Split
15687 the second two from the first.
15688 (CONDITIONAL_REGISTER_USAGE): Use ISA_HAS_8CC rather than ISA_HAS_FP4.
15689 * config/mips/mips.md (movcc,reload_incc,reload_outcc,
15690 conditional move): Use ISA_HAS_CONDMOVE or ISA_HAS_8CC rather than
15692 * config/mips/mips.c (mips_move_1word,gen_conditional_branch,
15693 override_options): Use ISA_HAS_CONDMOVE or ISA_HAS_8CC rather than
15696 Tue Nov 23 11:15:04 1999 Jeffrey A Law (law@cygnus.com)
15698 * pa.md (call_internal_symref, call_value_internal_symref): No mode
15699 needed on the address operand.
15700 * pa.c (call_operand_address): Check for the correct mode.
15702 1999-11-23 Bernd Schmidt <bernds@cygnus.co.uk>
15704 * loop.c: Include "basic-block.h".
15705 (try_copy_prop, replace_loop_reg): New functions.
15706 (load_mems): Detect registers that just hold copies of the hoisted
15707 mem, and call try_copy_prop to eliminate them.
15708 * Makefile.in (loop.o): Update dependencies.
15710 Tue Nov 23 01:03:29 1999 Hans-Peter Nilsson <hp@axis.com>
15712 * Makefile.in (gencheck.o): Depend on gencheck.h.
15713 (insn-emit.o): Depend on flags.h, hard-reg-set.h and resource.h.
15714 (insn-peep.o): Depend on except.h and function.h.
15715 (insn-attrtab.o): Depend on RECOG_H.
15716 (insn-output.o): Depend on toplev.h and flags.h.
15717 (gengenrtl.o): Depend on real.h.
15718 (gen-protos.o): Depend on cpplib.h and cpphash.h.
15719 Unify all dependencies to be on RECOG_H rather than recog.h.
15721 Tue Nov 23 00:57:10 1999 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
15723 From Casper H.S. Dik on comp.unix.solaris, 23 Oct 1998:
15724 * configure.in: Try building a bi-arch 32/64-bit compiler on
15725 sparc-*-solaris2.7 and higher.
15726 * configure: Rebuild.
15728 Mon Nov 22 23:09:44 1999 David O'Brien <obrien@FreeBSD.org>
15730 * config/freebsd.h: New, FreeBSD architecture independent file.
15731 * config/i386/freebsd-elf.h: removed FreeBSD architecturally
15732 independent pieces.
15733 * config/i386/freebsd.h: include i386/perform.h via tm.h rather than
15734 directly by i386/freebsd.h.
15735 * configure.in (*-*-freebsdelf): Include new FreeBSD architecturally
15736 independent configuration file.
15737 (*-*-freebsdelf): Include i386/perform.h via tm.h rather than
15738 directly by i386/freebsd.h.
15739 * configure: Rebuilt.
15741 * xm-i386.h: Define `__i386__' if not defined, rather than `i386'
15742 which is in the user's namespace.
15743 * libgcc2.c: Look for the ANSI-C approved `__i386__' symbol, vs.
15744 `i386' which is not in our namespace.
15746 Mon Nov 22 22:58:01 1999 "R. Kelley Cook" <KelleyCook@attglobal.net>
15748 * invoke.texi (ARM Options): Add in -mno-alignment-traps
15750 1999-11-22 Jason Merrill <jason@casey.cygnus.com>
15752 * dwarf2out.c (die_struct): Remove die_attr_last and die_child_last.
15753 (add_dwarf_attr, add_child_die): Just push onto the front.
15754 (reverse_die_lists): New fn.
15755 (add_sibling_attributes): Use it.
15756 (push_decl_scope): Reorganize.
15757 (add_name_and_src_coords_attributes): Don't set file and line for
15758 an artificial decl.
15759 (gen_subprogram_die): An artificial function doesn't need to match
15761 (gen_compile_unit_die): Return the generated die. Only add
15762 AT_comp_dir if the filename is relative.
15763 (remove_AT): Simplify loop. Also free string values.
15764 (output_die): A DIE ref can't be null.
15765 (output_value_format, value_format): Take a dw_attr_ref.
15766 (dwarf_last_decl, is_extern_subr_die, sibling_offset): Remove.
15767 (AT_class, AT_flag, AT_int, AT_unsigned, AT_string, AT_ref, AT_loc,
15768 AT_addr, AT_lbl): New fns.
15769 (various): Use them.
15770 (various): Constify.
15772 Mon Nov 22 23:53:50 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
15774 * combine.c (combine_simplify_rtx): When handling a SUBREG,
15775 take SUBREG_WORD into account.
15776 (if_then_else_cond): Likewise.
15778 1999-11-22 Jason Merrill <jason@casey.cygnus.com>
15780 * gmon.c, i386/gmon-sol2.c, sparc/gmon-sol2.c: Remove advertising
15781 clause from BSD license, pursuant with
15783 ftp://ftp.cs.berkeley.edu/pub/4bsd/README.Impt.License.Change
15785 1999-11-22 Bernd Schmidt <bernds@cygnus.co.uk>
15787 * loop.c (load_mems): Reformat slightly.
15788 * basic-block.h (regset_head): New typedef.
15789 (INIT_REG_SET): New macro.
15791 1999-11-22 Bruce Korb <autogen@linuxbox.com
15793 * fixinc/mkfisinc.sh(i?86-*-linux): disable script, run fixincl exe
15794 (mips-dec-bsd*): non-functional code
15795 (alpha*-*-linux-gnu*): redundant, duplicated by "*-*-linux-gnu*"
15797 * fixinc/inclhack.def(AAB_fd_zero_glibc_*):
15798 added three replacement fixes
15799 (no_double_slash): removed comments that are not (any longer) pertinent
15800 (bad_lval): this fix currently runs against many files.
15801 The comment seems to indicate that we should select for files
15802 containing 'pragma extern_prefix'.
15804 * fixinc/fixinc.x86-linux-gnu: deleted
15805 * fixinc/inclhack.sh: regen
15806 * fixinc/fixincl.x: regen
15807 * fixinc/fixincl.sh: regen
15809 Fri Nov 12 14:08:40 1999 Andrew Haley <aph@cygnus.com>
15811 * emit-rtl.c (gen_sequence): Only return the pattern of an insn if
15812 its code is INSN and it has no notes.
15814 1999-11-22 Andrew Haley <aph@cygnus.com>
15816 * varasm.c (function_defined): Remove.
15817 (make_function_rtl): Don't set function_defined.
15818 (make_decl_rtl): Remove global register warning.
15819 * regclass.c (no_global_reg_vars): New variable.
15820 (globalize_reg): Warn if function has already been defined.
15821 (regclass_init): Set no_global_reg_vars.
15823 Mon Nov 22 14:42:22 MET 1999 Jan Hubicka <hubicka@freesoft.cz>
15825 * regclass.c (reg_pref): New structure and static variable
15826 (prefclass): Delete.
15827 (altclass): Delete.
15828 (all uses of prefclass and altclass): Use reg_pref instead.
15830 1999-11-21 Nick Clifton <nickc@cygnus.com>
15832 * invoke.texi (ARM Options): Replace -mshort-load-bytes with
15834 (arm.h): Replace -mshort-load-bytes with -malignment-traps.
15835 (arm.c): Replace TARGET_SHORT_BY_BYTES with TARGET_MMU_TRAPS.
15836 (arm.md): Replace TARGET_SHORT_BY_BYTES with TARGET_MMU_TRAPS.
15838 Sun Nov 21 17:11:13 1999 Geoffrey Keating <geoffk@cygnus.com>
15840 * varasm.c (output_constructor): Solve problem with long long
15841 bitfields, even on BYTES_BIG_ENDIAN machines (testcase 991118-1).
15843 Fri Nov 19 05:48:45 CET 1999 Jan Hubicka <hubicka@freesoft.cz>
15845 * global.c (allocno): New structure and static variable.
15846 (allocno_reg): Remove, all references replaced by allocno.
15847 (allocno_size): Likewise.
15848 (hard_reg_conflicts): Likewise.
15849 (hard_reg_preferences): Likewise.
15850 (hard_reg_copy_preferences): Likewise.
15851 (hard_reg_full_preferences): Likewise.
15852 (regs_someone_prefers): Likewise.
15853 (allocno_calls_crossed): Likewise.
15854 (allocno_n_refs): Likewise.
15855 (allocno_live_length): Likewise.
15856 (find_reg): Rename ALLOCNO to NUM.
15858 * regclass.c (may_move_in_cost): Rename from may_move_cost, all
15859 references updated.
15860 (may_move_out_cost): New variable.
15861 (init_reg_sets_1): Initialize may_move_out_cost.
15862 (record_reg_classes): Use may_move_out_cost.
15864 * regclass.c (dump_regclass): New function.
15865 (regclass): New parameter DUMP, call DUMP_REGCLASS.
15866 * toplev.c (rest_of_compilation): Open lreg dump file before regclass,
15867 pass rtl_dump_file to regclass.
15868 * rtl.h (regclass): Update prototype.
15870 Fri Nov 19 06:32:19 CET 1999 Jan Hubicka <hubicka@freesoft.cz>
15872 * i386.md (neg, not and abs patterns): Revmap to use
15873 ix86_expand_unary_operator and ix86_unary_operator_ok.
15874 (add?f and sub?f expanders): Force operand 1 to register.
15875 * i386.c (ix86_expand_unary_operator): Rewrite.
15876 (ix86_unary_operator_ok): Ensure that memory operands
15878 (ix86_binary_operator_ok): Do not allow operand 1 to
15879 come into memory and operand 0 not.
15880 (ix86_expand_binary_operator): Ensure that
15881 src1 is not non-matching memory.
15883 * i386.md (negs?2): Rewrite to expanders, new patterns and splitters
15884 to support integer registers and memory.
15885 (abss?2_integer): Likewise.
15887 * i386.h (enum reg_class): Add FLOAT_INT_REGS.
15888 (REG_CLASS_NAMES): Likewise.
15889 (REG_CLASS_CONTENTS): Define FLOAT_INT_REGS as union of FLOAT_REGS
15891 * i386.md (pushsf): Do not preferre FLOAT_REGS over GENERAL_REGS.
15892 (movsf): Likewise; unify 4th and 5th alternative.
15893 (pushdf): Likewise.
15894 (movdf_1): Likewise; rename to movdf_integer.
15895 (pushxf): Likewise; rename to pushxf_integer; fix output template;
15896 remove redundant splitter.
15897 (movxf_1): Likewise; rename to movxf_integer; fix splitter's condition.
15898 (movdf_nointeger): New.
15899 (movxf_nointeger): New.
15900 (pushxf_nointeger): New.
15902 * i386.md (extend?f?f): Split to expander and pattern, refuse two
15903 memory operands in patterns.
15904 (fop*): Refuse two memory operands.
15906 * i386.md (ashrsi3_31): Allow cltd when optimizing for size even
15907 on !TARGET_USE_CLTD CPUs.
15909 Fri Nov 19 10:41:15 GMT 1999 Nathan Sidwell <nathan@acm.org>
15911 * extend.texi: Document C++ restricted pointers and references.
15913 1999-11-19 Bernd Schmidt <bernds@cygnus.co.uk>
15915 * cse.c (addr_affects_sp): No longer conditional on AUTO_INC_DEC.
15916 (invalidate_skipped_set): Call it unconditionally.
15917 (cse_set_around_loop): Likewise.
15919 Thu Nov 18 17:29:34 MST 1999 Diego Novillo <dnovillo@cygnus.com>
15921 * rtl.texi (mem): Add documentation for alias-set argument
15924 Fri Nov 18 13:39:22 CET 1999 Jan Hubicka <hubicka@freesoft.cz>
15926 * i386.h (struct_processor_costs): New fields int_load, int_store,
15927 fp_move, fp_load and fp_store
15928 (REGISTER_MOVE_COST): Fix comment, calculate exactly the cost of
15930 (MEMORY_MOVE_COST): New macro.
15931 * i386.c (386_cost): Define new fields.
15932 (i486_cost): Likewise.
15933 (pentium_cost): Likewise.
15934 (pentiumpro_cost): Likewise.
15935 (k6_cost): Likewise.
15937 Fri Nov 19 11:11:55 1999 Greg McGary <gkm@gnu.org>
15938 Geoffrey Keating <geoffk@cygnus.com>
15940 * config/m68k/m68kelf.h: Suppress '/* within comment' warning.
15942 * config/m68k/m68k.h (MASK_PCREL): Don't use same value as
15945 * config/m68k/m68k.h (MASK_NO_STRICT_ALIGNMENT): New macro.
15946 (TARGET_STRICT_ALIGNMENT): New macro.
15947 (TARGET_SWITCHES): Add "strict-align" and "no-strict-align".
15948 (STRICT_ALIGNMENT): Depend on TARGET_STRICT_ALIGNMENT.
15949 * invoke.texi (M680x0 Options): Document -mstrict-align.
15951 Thu Nov 18 11:10:03 1999 Jan Hubicka <hubicka@freesoft.cz>
15952 Richard Henderson <rth@cygnus.com>
15954 * i386-protos.h (split_xf, ix86_split_movdi): Remove.
15955 (ix86_split_long_move): Declare.
15956 * i386.c (split_xf, ix86_split_movdi): Remove.
15957 (ix86_split_to_parts, ix86_split_long_move): New.
15958 * i386.md (dimode move splitters): Use ix86_split_long_move.
15959 (dfmode move splitters): Likewise.
15960 (xfmode move splitters): Likewise.
15961 (movsf_1): Allow F->r.
15962 (movdf_1, movxf_1): Allow F->ro.
15964 1999-11-17 Mark Mitchell <mark@codesourcery.com>
15966 * except.h (struct eh_entry): Add goto_entry_p.
15967 (eh_region_from_symbol): Remove prototype.
15968 * except.c (find_func_region_from_symbol): New function.
15969 (emit_cleanup_handler): Likewise.
15970 (eh_region_from_symbol): Make it static.
15971 (add_new_handler): Verify the argument.
15972 (find_func_region): Update comment.
15973 (expand_eh_region_end): Expand handlers here, rater than waiting
15974 until expand_leftover_cleanups or start_all_catch.
15975 (expand_leftover_cleanups): Don't expand here.
15976 (expand_start_all_catch): Or here.
15977 (expand_rethrow): Check the return value from find_func_region.
15978 * function.c (expand_function_end): Emit the catch_clauses.
15980 1999-11-18 Gavin Romig-Koch <gavin@cygnus.com>
15982 * integrate.c (expand_inline_function): Add necessary check for NULL.
15984 1999-11-18 Nick Clifton <nickc@cygnus.com>
15986 * toplev.c (main): Correctly detect an unrecognised option.
15988 * cppinit.c (cpp_handle_option): Do not claim to have consumed
15989 a -f option if it has not been recognised.
15991 Thu Nov 18 00:59:11 1999 Michael Gschwind <mikeg@alagoas.watson.ibm.com>
15993 * basic-block.h (update_life_extent): Remove trailing comma on
15994 enumeration type list.
15996 1999-11-18 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
15998 * varasm.c (output_constructor) Solved problem with long long
15999 bitfields. Corrected calculating this_time and shift. Also
16000 corrected calculating mask when BITS_PER_UNIT == 32 (c4x).
16002 Wed Nov 17 23:46:14 1999 Jeffrey A Law (law@cygnus.com)
16004 * flow.c (split_edge): Take looping structure into account when
16005 determining where to put the new block note.
16007 Wed Nov 17 20:42:43 1999 Jeff Holcomb <jeffh@cygnus.com>
16009 * Makefile.in (ggc-none.o): Provide host specific version if
16012 Wed Nov 17 16:51:23 1999 Richard Henderson <rth@cygnus.com>
16014 * cse.c (delete_trivially_dead_insns): Identify no-op insns
16015 containing subregs too.
16017 Wed Nov 17 17:39:48 MST 1999 Diego Novillo <dnovillo@cygnus.com>
16019 * invoke.texi: Add documentation for -muninit-const-in-rodata.
16020 * config/mips/mips.h (MASK_UNINIT_CONST_IN_RODATA): Define.
16021 (TARGET_UNINIT_CONST_IN_RODATA): Define.
16022 (text_section): Add switches -munint-const-in-rodata and
16023 -mno-uninit-const-in-rodata.
16024 (ASM_OUTPUT_COMMON): Remove.
16025 (ASM_OUTPUT_ALIGNED_DECL_COMMON): Define. Check if uninitialized
16026 const objects should be placed in read-only data. Otherwise declare
16029 Wed Nov 17 16:38:32 1999 Richard Henderson <rth@cygnus.com>
16031 * jump.c (jump_optimize_1): Revert last change.
16033 Wed Nov 17 15:18:30 1999 Richard Henderson <rth@cygnus.com>
16035 * jump.c (jump_optimize_1): Don't try to duplicate the loop exit
16036 test if optimizing for size.
16038 1999-11-17 Mark Mitchell <mark@codesourcery.com>
16040 * Makefile.in (toplev.o): Depend on except.h.
16041 (dwarf2out.o,loop.o,flow.o,haifa-sched.o): Likewise.
16043 Mon Nov 15 22:45:39 CET 1999 Jan Hubicka <hubicka@freesoft.cz>
16045 * i386.md (divmodsi4): Rewrite to expander.
16046 (*divmodsi4_nocltd): New.
16047 (*divmodsi4_cltd): New.
16048 (divmodsi4 splitter): Handle the case when input comes in edx.
16049 (udivmodhi4): Do not use constraints in exander.
16050 (ashrsi3_31): Conditionize by TARGET_USE_CLTD.
16052 1999-11-17 Jason Merrill <jason@yorick.cygnus.com>
16054 * dwarf2out.c (push_decl_scope): Still use decl_scope_depth - 1
16055 for the common case.
16057 1999-11-16 Jakub Jelinek <jakub@redhat.com>
16059 * explow.c (hard_function_value): Add outgoing argument.
16060 * expr.h (hard_function_value): Declare it.
16061 * calls.c (expand_call, emit_library_call_value): Update callers.
16062 * function.c (aggregate_value_p): Ditto.
16063 (diddle_return_value): Must look at the outgoing registers
16064 on archs with register windows.
16066 Mon Nov 15 20:46:45 1999 Richard Henderson <rth@cygnus.com>
16068 * alpha.c (alpha_build_va_list): Use make_lang_type and
16069 initialize TYPE_NAME for the va_list record.
16071 * flow.c (calculate_global_regs_live): Zero bb->aux to begin.
16073 * ggc-common.c (ggc_print_statistics): Cast size_t to unsigned long
16075 * ggc.h (struct ggc_statistics): Rearrange elements for better
16076 packing on 64-bit hosts.
16077 * lcm.c (compute_laterin): Store a size_t not an int in bb->aux.
16078 (compute_nearerout): Likewise.
16080 Tue Nov 16 14:37:52 1999 Geoffrey Keating <geoffk@cygnus.com>
16082 * config/rs6000/rs6000.c (first_reg_to_save): Save
16083 PIC_OFFSET_TABLE_REGNUM when -fpic even though it is fixed.
16085 1999-11-15 Jason Merrill <jason@casey.cygnus.com>
16087 * dwarf2out.c (scope_die_for): Don't rely on the decl_scope_table
16088 notion of nesting to find the DIE for a type or function.
16089 DIEs can go in limbo even if we got a context_die.
16090 (push_decl_scope): Our context doesn't need to be in decl_scope_table.
16091 (gen_struct_or_union_type_die): Don't use TREE_PERMANENT to test
16093 (gen_decl_die): Ignore NAMESPACE_DECLs for now.
16094 (gen_type_die): Writing out the context doesn't cause member class
16095 template instantiations to be written out as well.
16097 Mon Nov 15 15:33:18 1999 Richard Henderson <rth@cygnus.com>
16099 * rs6000.h (ASM_OUTPUT_DEF): New.
16100 Based on proposed addition from David Edelsohn.
16102 1999-11-15 Robert Lipe <RobertLipe@usa.net>
16103 Bruce Korb <autogen@linuxbox.com>
16105 * fixinc/inclhack.def
16106 (AAB_svr4_replace_byteorder): added. Takes advantage of GCC features
16107 (unixware7_byteorder_fix): added. Removes conflicts for new defs
16109 (svr5_mach_defines): added. Like svr4_mach_defines, with new syntax
16110 (svr4_endian): enabled with SVR5
16111 (svr4_mkdev): simplified syntax and enabled with SVR5
16113 Sun Nov 14 18:49:37 1999 David O'Brien <obrien@FreeBSD.org>
16115 * configure.in: Handle libgcc2 threads support on FreeBSD platforms.
16116 * configure: Rebuilt.
16117 * config/t-freebsd-thread: New file.
16119 Sun Nov 14 23:11:05 1999 Jeffrey A Law (law@cygnus.com)
16121 * i386.c (ix86_decompose_address): Verify the base is a REG
16122 before trying to examine its register number.
16124 * basic-block.h: Remove all #defines and prototypes related to
16126 (free_bb_mem, compute_preds_succs): Remove prototype.
16127 * rtl.h (free_bb_mem): Remove prototype.
16128 * flow.c (alloc_int_list_node); Remove function.
16129 (add_inst_list_node, free_int_list, add_pred_succ): Likewise.
16130 (compute_preds_succs, free_bb_mem): Likewise.
16131 * gcse.c (gcse_main): Do not call free_bb_mem anymore.
16132 * toplev.c (rest_of_compilation): Likewise.
16133 * haifa-sched.c (build_control_flow): Use flow generated edge
16134 list to build the haifa specific edge list.
16135 (find_rgns): Use new CFG data structures instead of pred/succ lists.
16136 (schedule_insns): Do not build pred/succ lists anymore. Instead
16137 build the edge table.
16139 * basic-block.h (dump_bb_data): Remove declaration.
16140 * flow.c (dump_bb_data): Remove function.
16141 * sbitmap.c (sbitmap_intersect_of_predsucc): Delete function.
16142 (sbitmap_union_of_predsucc): Likewise.
16144 * gcse.c (delete_null_pointer_checks_1): Kill unused s_preds
16145 argument. All callers changed.
16146 (delete_null_pointer_checks_1): No longer need to compute the
16149 * gcse.c (pre_expr_reaches_here_p): Kill CHECK_PRE_COM argument.
16150 All callers changed.
16151 (pre_expr_reaches_here_p_work): Likewise.
16152 (pre_edge_insert): No longer call pre_expr_reaches_here_p.
16153 * lcm.c (compute_laterin): Fix initialization of LATER.
16154 (compute_nearerout): Similarly for NEARER.
16156 Sun Nov 14 12:41:57 1999 Bernd Schmidt <bernds@cygnus.co.uk>
16158 * cse.c (set_nonvarying_address_components): Delete unused function.
16159 (refers_to_p): Likewise.
16161 Fri Nov 12 20:53:22 1999 Jeffrey A Law (law@cygnus.com)
16163 * function.c (diddle_return_value): Set REG_FUNCTION_VALUE_P as
16166 Sat Nov 13 16:20:09 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
16168 * defaults.h (ASM_OUTPUT_ALTERNATE_LABEL_NAME): Wrap macro
16169 definition in do while (0).
16171 Fri Nov 12 16:26:25 1999 Jim Wilson <wilson@cygnus.com>
16173 * stmt.c (pushcase, pushcase_range): Partially revert Oct 28 change.
16175 Fri Nov 12 12:43:49 1999 Richard Henderson <rth@cygnus.com>
16177 * unroll.c (unroll_loop): Make temp an unsigned HOST_WIDE_INT.
16179 Fri Nov 12 15:14:19 1999 Vladimir Makarov <vmakarov@tofu.to.cygnus.com>
16181 * i960.h (CAN_DEBUG_WITHOUT_FP): Don't define it.
16182 (FRAME_POINTER_REQUIRED): Don't worry about nonlocal goto.
16183 (ELIMINABLE_REGS, CAN_ELIMINATE, INITIAL_ELIMINATION_OFFSET): New.
16184 (INITIAL_FRAME_POINTER_OFFSET): Remove it.
16186 * i960.c (i960_function_prologue): Don't allocate space for g8-g11
16187 saved on the stack. Output more accurate stack frame statistics
16188 into assembler file.
16190 1999-11-12 11:47 -0800 Zack Weinberg <zack@bitmover.com>
16192 * genextract.c (record_insn_name): New function.
16193 (get_insn_name): No longer a stub.
16194 (main): Call record_insn_name for each insn. After each label
16195 written, print the insn name in a comment.
16197 Fri Nov 12 13:45:02 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
16199 * output.h (const_section, init_section, fini_section): Add
16202 * alpha/elf.h (const_section): Delete declaration.
16204 * svr4.h (const_section): Likewise.
16206 Fri Nov 12 08:54:22 1999 Mark Mitchell <mark@codesourcery.com>
16208 * tree.h (SAVE_EXPR_PERSISTENT_P): New macro.
16209 * tree.c (array_type_nelts): Don't handle SAVE_EXPRs specially.
16210 (unsave_expr_now): Don't unsave SAVE_EXPR_PERSISTENT_P
16212 * stor-layout.c (variable_size): Set SAVE_EXPR_PERSISTENT_P on
16213 variable-sized array bounds.
16215 Fri Nov 12 08:04:45 1999 Catherine Moore <clm@cygnus.com>
16217 * defaults.h (ASM_OUTPUT_ALTERNATE_LABEL_NAME): Use
16220 Fri Nov 12 13:31:54 1999 Bernd Schmidt <bernds@cygnus.co.uk>
16222 * config/arm/arm.h (LEGITIMIZE_RELOAD_ADDRESS): Treat QImode
16223 addresses the same way GO_IF_LEGITIMATE_INDEX does.
16225 Fri Nov 12 12:36:04 1999 Bernd Schmidt <bernds@cygnus.co.uk>
16227 * cse.c (hash_arg_in_struct): Delete.
16228 (struct table_elt): Delete elt in_struct.
16229 (struct set): Delete elt src_in_struct.
16230 (merge_equiv_classes): Don't set either hash_arg_in_struct or
16231 the corresponding in_struct elts.
16232 (canon_hash): Likewise.
16233 (safe_hash): Likewise.
16234 (find_best_addr): Likewise.
16235 (record_jump_cond): Likewise.
16236 (cse_insn): Likewise.
16238 Thu Nov 11 19:45:24 1999 Jim Wilson <wilson@cygnus.com>
16240 * loop.c (invariant_p, case MEM): Put MEM_VOLATILE_P check back.
16242 * dbxout.c (dbxout_type, case INTEGER_TYPE): Handle too large
16245 Thu Nov 11 18:54:24 1999 Jeffrey A Law (law@cygnus.com)
16247 * function.c (diddle_return_value): Put back check that the DECL_RTL
16248 for the function is a register.
16250 * function.c (diddle_return_value): Use hard_function_value to
16251 get an rtx suitable for use in the USE/CLOBBER insn.
16253 * global.c (global_conflicts): Update comments.
16254 (record_conflicts): No need to record conflicts between pseudos here.
16256 1999-11-11 Bruce Korb <autogen@linuxbox.com>
16258 * fixinc/fixincl.c: Added verbose levels for status messages
16260 Thu Nov 11 13:23:04 1999 Bernd Schmidt <bernds@cygnus.co.uk>
16262 * jump.c (jump_optimize_1): Avoid passing an rtx that is not an
16263 operand as argument to expand_and or expand_binop.
16265 Thu Nov 11 02:21:16 1999 Rodney Brown <RodneyBrown@pmsc.com>
16267 * xcoffout.c (xcoffout_source_file): Change ggc_add_root to
16268 gcc_add_string_root.
16270 Wed Nov 10 21:24:19 1999 Jason Eckhardt <jle@cygnus.com>
16272 * config/pa/pa.h (MASK_RETURN_ADDR): Change 0xfffffffc to -4.
16274 Wed Nov 10 15:56:16 1999 Jeffrey A Law (law@cygnus.com)
16276 * flow.c (compute_flow_dominators): Initially put all blocks on
16278 * lcm.c (compute_antinout_edge, compute_available): Similarly.
16279 * gcse.c (compute_cprop_avinout): Remove.
16280 (compute_cprop_data): Use compute_available.
16281 (delete_null_pointer_checks_1): Use compute_available.
16283 * basic-block.h (compute_available): Returns a void now.
16284 * gcse.c (one_classic_gcse_pass): Do not expect compute_available
16285 to return a value anymore.
16286 * lcm.c (compute_available, compute_antinout_edge): Revamp to use
16287 worklists. Fix boundary cases. Compute maximal solutions.
16288 (compute_laterin, compute_nearerout): Similarly.
16290 * dwarf2out.c (add_AT_location_description): Allow
16291 (mem (plus (pseudo) (...)) too.
16293 Wed Nov 10 10:52:42 1999 Tom Tromey <tromey@cygnus.com>
16295 * gcc.c (do_spec_1): Support text between `%u' and `%O'.
16297 Wed Nov 10 12:43:21 1999 Philippe De Muyter <phdm@macqel.be>
16298 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
16300 * cppinit.c: Test `GCC_VERSION', not `HAVE_GCC_VERSION'.
16302 * gansidecl.h: Likewise.
16308 * toplev.h: Likewise.
16310 * tree.c: Likewise.
16312 * tree.h: Likewise.
16314 * varray.c: Likewise.
16316 * varray.h: Likewise.
16318 Wed Nov 10 10:57:22 1999 Clinton Popetz <cpopetz@cygnus.com>
16320 * gcov.c (struct arcdata): Add hits and total, remove prob.
16321 (output_branch_counts): New.
16322 (process_args): Set output_branch_counts if -c.
16323 (calculate_branch_probs): Store hits and total instead of
16325 (output_data): Emit counts if output_branch_counts is true.
16326 * gcov.texi (Invoking Gcov): Document -c switch..
16328 Wed Nov 10 01:10:41 1999 Philippe De Muyter <phdm@macqel.be>
16330 * genoutput.c (output_insn_data): Cast `INSN_OUTPUT_FORMAT_MULTI' and
16331 `INSN_OUTPUT_FORMAT_FUNCTION' to `PTR'-type.
16333 Wed Nov 10 00:51:41 1999 Hans-Peter Nilsson <hp@axis.se>
16335 * invoke.texi (C Dialect Options): Add missing builtins from
16336 c-common.c to list.
16337 * extend.texi (Other Builtins): Copy to this list.
16339 Wed Nov 10 04:58:09 1999 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
16341 * Makefile.in (recog.o): Use BASIC_BLOCK_H macro.
16342 (print-rtl.o, $(HOST_PREFIX_1)print-rtl.o): Likewise. Remove
16343 redundant bitmap.h.
16345 Wed Nov 10 00:02:53 1999 Jeffrey A Law (law@cygnus.com)
16347 * flow.c (compute_flow_dominators): No longer treat basic block 0
16348 or (n_basic_blocks - 1) specially. Clear the AUX field before
16349 starting computation of doms/pdoms. Fix initial state for pdoms.
16351 Wed Nov 10 03:58:08 1999 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
16353 * Makefile.in ($(HOST_PREFIX_1)rtl.o): Update dependencies to
16354 match rtl.o's: added ggc.h and toplev.h
16355 ($(HOST_PREFIX_1)print-rtl.o): Likewise: added system.h.
16356 ($(HOST_PREFIX_1)rtlanal.o): Likewise: added system.h.
16357 ($(HOST_PREFIX_1)obstack.o): Likewise: added $(CONFIG_H).
16359 Tue Nov 9 10:30:08 1999 Tom Tromey <tromey@cygnus.com>
16361 * config/i386/xm-djgpp.h (HAVE_DOS_BASED_FILE_SYSTEM): Renamed
16362 from HAVE_DOS_BASED_FILESYSTEM.
16363 * gcc.c (find_a_file): Use HAVE_DOS_BASED_FILE_SYSTEM, not
16364 HAVE_DOS_BASED_FILESYSTEM.
16366 (split_directories): Only special-case DOS file names if
16367 HAVE_DOS_BASED_FILE_SYSTEM is defined. Use IS_DIR_SEPARATOR
16368 instead of explicit tests. Conditionalize on !VMS.
16369 (make_relative_prefix): Use IS_DIR_SEPARATOR instead of explicit
16370 tests. Conditionalize on !VMS.
16371 (process_command): Only use make_relative_prefix if !VMS.
16372 (free_split_directories): Conditionalize on !VMS.
16373 (DIR_UP): Conditionalize on !VMS.
16375 Wed Jun 9 16:57:11 1999 Mumit Khan <khan@xraylith.wisc.edu>
16377 * gcc.c (STANDARD_BINDIR_PREFIX): Provide default.
16379 Fri Feb 5 14:22:01 1999 Mumit Khan <khan@xraylith.wisc.edu>
16381 * gcc.c (make_relative_prefix): Handle the HAVE_EXECUTABLE_SUFFIX
16384 Mon Nov 8 14:16:57 1999 Michael Meissner <meissner@cygnus.com>
16386 * invoke.texi (Environment Variables): Document relative path
16388 * gcc.c (DIR_UP): If not defined, define as "..".
16389 (standard_bindir_prefix): New static, holds target location to
16391 (split_directories): New function to split a filename into
16392 component directories.
16393 (free_split_directories): New function, release memory allocated
16394 by split_directories.
16395 (make_relative_prefix): New function, make a relative pathname if
16396 the compiler is not in the expected location.
16397 (process_command): If GCC_EXEC_PREFIX was not specified, see if we
16398 can figure out an appropriate prefix from argv[0].
16399 * Makefile.in (DRIVER_DEFINES): Use unlibsubdir in definition of
16400 STANDARD_STARTFILE_PREFIX and TOOLDIR_BASE_PREFIX. Define
16401 STANDARD_BINDIR_PREFIX.
16403 Wed Nov 10 11:47:54 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
16405 * config/c4x/c4x-protos.h: New file. Prototypes for functions defined
16407 * config/c4x/c4x.h: Moved prototypes to c4x.h.
16408 * config/c4x/c4x.c (c4x_preferred_reload_class, c4x_limit_reload_class,
16409 c4x_secondary_memory_needed) Delete.
16410 (fp_zero_operand): Add mode argument.
16412 Thu Nov 4 15:52:35 1999 Andrew Haley <aph@cygnus.com>
16414 * reload1.c (reload_reg_free_for_value_p): Don't use a register
16415 that is in reload_reg_used.
16417 Tue Nov 9 16:43:00 1999 Nick Clifton <nickc@cygnus.com>
16419 * config/arm/arm-protos.h: New file: Prototypes for functions
16420 defined in arm.c and pe.c.
16421 * config/arm/arm.h: Fix compile time warnings.
16422 * config/arm/arm.c: Fix compile time warnings.
16423 * config/arm/pe.h: Fix compile time warnings.
16424 * config/arm/aout.h: Fix compile time warnings.
16426 Tue Nov 9 14:55:44 1999 Nick Clifton <nickc@cygnus.com>
16428 * config/m32r/m32r-protos.h: New file: Prototypes for functions
16431 * config/m32r/m32r.h: Move prototypes to m32r-protos.h
16432 Add support for subtargets.
16433 Add prototypes for new predicates.
16434 Add scheduling macros.
16436 * config/m32r/m32r.c: Fix compile time warnings.
16437 (int8_operand): New predicate function.
16438 (reg_or_cmp_int16_operand): New predicate function.
16439 (extend_operand): New predicate function.
16440 (m32r_adjust_code): New scheduling function.
16441 (m32r_adjust_priorty): New scheduling function.
16442 (m32r_sched_init): New scheduling function.
16443 (m32r_sched_reorder): New scheduling function.
16444 (m32r_sched_variable_issue): New scheduling function.
16445 (direct_return): New codegen function.
16446 (m32r_not_same_reg): New rtl testsing function.
16448 * config/m32r/m32r.md: Fix compile time warnings.
16449 Add support for pre decrement and post increment memory
16451 Add S<cc> patterns.
16454 Mon Nov 8 22:20:13 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
16456 * global.c (EXECUTE_IF_CONFLICT): Don't define.
16457 (prune_preferences): Use EXECUTE_IF_SET_IN_ALLOCNO_SET instead.
16458 (find_reg): Likewise.
16460 Mon Nov 8 13:16:46 1999 Jason Eckhardt <jle@cygnus.com>
16462 * config/pa/pa.md (fmpynfadd,{sgl,dbl} insns): Use %fr0 rather than 0
16463 to avoid assembler errors.
16465 Mon Nov 8 15:38:41 1999 Nick Clifton <nickc@cygnus.com>
16467 * config/v850/v850-protos.h: New file: Prototypes for functions
16469 * config/v850/v850.h: Move prototypes to v850-protos.h
16470 * config/v850/v850.c: Move prototypes to v850-protos.h
16471 * config/v850/v850.md: Fix compile time warnings.
16473 * config/fr30/fr30-protos.h: New file: Prototypes for functions
16475 * config/fr30/fr30.h: Move prototypes to fr30-protos.h
16476 * config/fr30/fr30.c: Fix compile time warnings.
16477 * config/fr30/fr30.md: Fix compile time warnings.
16479 Mon Nov 8 07:25:37 1999 Mark Mitchell <mark@codesourcery.com>
16481 * tree.h (get_containing_scope): Declare it.
16482 * tree.c (get_containing_scope): New fucntion.
16483 (decl_function_context): Use it.
16484 * toplev.c (rest_of_compilation): Use get_containing_scope.
16486 aMon Nov 8 03:03:07 1999 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
16488 * Makefile.in (rtl.o): Depend on toplev.h.
16490 Sun Nov 7 20:55:14 1999 Mark Mitchell <mark@codesourcery.com>
16492 * cse.c (delete_trivially_dead_insns): Replace alloca with
16494 * except.c (update_rethrow_references): Likewise.
16495 (init_eh_nesting_info): Likewise.
16496 * function.c (identify_blocks): Likewise.
16497 * gcse.c (dump_hash_table): Likewise.
16498 * graph.c (print_rtl_graph_with_bb): Likewise.
16499 * loop.c (combine_movables): Likewise.
16500 (move_movables): Likewise.
16501 (count_loop_regs_set): Likewise.
16502 (strength_reduce): Likewise.
16503 * profile.c (compute_branch_probabilities): New function, split
16505 (branch_prob): Here. Replace alloca with xmalloc/xcalloc.
16506 * regclass.c (regclass): Likewise.
16507 * regmove.c (regmove_optimize): Likewise.
16508 * toplev.c (compile_file): Likewise.
16509 (main): Don't mess with the stack rlimit.
16511 Sun Nov 7 19:41:17 1999 Catherine Moore <clm@cygnus.com>
16513 * config/elfos.h (ASM_DECLARE_FUNCTION_NAME): Conditionally define.
16514 (ASM_DECLARE_FUNCTION_SIZE): Conditionally define.
16516 Sun Nov 7 10:23:28 1999 Mark P. Mitchell <mark@codesourcery.com>
16518 * integrate.c (save_for_inline_nocopy): Clear in_nonparm_insns.
16520 Sun Nov 7 02:58:48 1999 Jeffrey A Law (law@cygnus.com)
16522 * global.c (EXECUTE_IF_CONFLICT): Undo Robert's change.
16523 (EXECUTE_IF_SET_IN_ALLOCNO_SET): Put curleys around CODE in
16526 Sat Nov 6 23:48:30 1999 Robert Lipe (robertlipe@usa.net)
16528 * global.c (EXECUTE_IF_CONFLICT): Correct quoting typo.
16530 Sat Nov 6 17:34:39 1999 Jeffrey A Law (law@cygnus.com)
16532 * gcse.c (post_dominators): Kill.
16533 (alloc_code_hoist_mem, free_code_hoist_mem); Kill post_dominators.
16534 (compute_code_hoist_data): Use compute_flow_dominators. Do not
16535 pass in a pdom array since we do not need pdoms.
16536 * haifa-sched.c (schedule_insns): Similarly.
16537 * flow.c (compute_dominators): Remove dead function.
16538 (compute_flow_dominators): Do not compute doms or pdoms if the
16539 caller does not request them. Split up loop to build doms and
16540 pdoms. Use a worklist to compute doms and pdoms.
16541 * basic-block.h (compute_dominators): Remove prototype.
16543 Sat Nov 6 11:38:39 1999 Richard Henderson <rth@cygnus.com>
16545 * haifa-sched.c (struct haifa_insn_data, h_i_d): New.
16546 (insn_luid, insn_priority, insn_costs, insn_units): Remove.
16547 (insn_reg_weight, insn_depend, insn_dep_count): Remove.
16548 (insn_blockage, insn_ref_count, line_note, insn_tick): Remove.
16549 (cant_move, fed_by_spec_load, is_load_insn): Remove.
16550 (schedule_region): Remove unused variable.
16551 (schedule_insns): Allocate h_i_d, and not all the separate arrays.
16553 Sat Nov 6 10:00:34 1999 Mark Mitchell <mark@codesourcery.com>
16555 * local-alloc.c (local_alloc): Use xmalloc/xcalloc, not alloca.
16556 (update_equiv_regs): Likewise.
16557 (block_alloc): Likewise.
16558 * reg-stack.c (reg_to_stack): Likewise.
16559 (convert_regs_2): Likewise.
16560 * reload1.c (reload_as_needed): Likewise.
16562 Sat Nov 6 09:57:59 1999 Mark Mitchell <mark@codesourcery.com>
16564 * Makefile.in (dbxout.o): Depend on ggc.h.
16565 (dwarf2out.o): Likewise.
16566 (xcoffout.o): Likewise.
16567 * dbxout.c: Include ggc.h.
16568 (dbxout_init): Register lastfile as a root.
16569 * dwarf2out.c: Include ggc.h.
16570 (dwarf2out_line): Register lastfile as a root.
16571 * xcoffout.c: Include ggc.h.
16572 (xcoffout_source_line): Register xcoff_lastfile as a root.
16574 Sat Nov 6 09:52:09 1999 Richard Henderson <rth@cygnus.com>
16576 * i386.md (movdf_1, movxf_1): Earlyclobber general regs destination.
16578 Sat Nov 6 07:48:59 1999 Catherine Moore <clm@cygnus.com>
16580 * config/svr4.h (ASM_DECLARE_FUNCTION): Check if already
16582 (ASM_DECLARE_FUNCTION_SIZE): Likewise.
16584 Fri Nov 5 18:33:39 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
16586 * global.c (EXECUTE_IF_SET_IN_ALLOCNO_SET): New macro.
16587 (EXECUTE_IF_CONFLICT): Likewise.
16588 (ALLOCNO_LIVE_P): Avoid signed division.
16589 (SET_ALLOCNO_LIVE, CLEAR_ALLOCNO_LIVE): Likewise.
16590 (prune_preferences, find_reg): Use EXECUTE_IF_CONFLICT.
16591 (record_one_conflict): Use EXECUTE_IF_SET_IN_ALLOCNO_SET.
16593 Fri Nov 5 12:04:02 1999 Richard Henderson <rth@cygnus.com>
16595 * haifa-sched.c (schedule_block): Don't crash if there's no
16596 next insn for an interblock movement.
16597 (add_branch_dependences): Don't allow clobber insns to move either.
16599 Fri Nov 5 10:18:11 1999 Richard Henderson <rth@cygnus.com>
16601 * i386.c (split_xf): New.
16602 * i386-protos.h: Declare it.
16603 * i386.md (movxf_1): Add general regs alternatives.
16604 (movxf_1+1): New splitter for same.
16606 Fri Nov 5 12:05:52 1999 Nick Clifton <nickc@cygnus.com>
16608 * function.c (purge_addressof_1): Add missing return values.
16610 Fri Nov 5 10:07:25 1999 Nick Clifton <nickc@cygnus.com>
16612 * function.c (is_addressof): New function. Returns true if
16613 the given piece of RTL is an ADDRESSOF.
16614 (purge_addressof_1): Make boolean. Return false if the
16615 ADDRESSOFs could not be purged.
16616 (purge_addressof): If ADDRESSOFs could not be purged from the
16617 notes attached to an insn, remove the offending note(s),
16618 unless they are attached to a libcall.
16620 1999-11-05 Andreas Jaeger <aj@suse.de>
16622 * genoutput.c (null_operand =): Initialize all fields.
16624 * errors.h: Add extern to prototypes.
16626 Fri Nov 5 01:44:09 1999 Jeffrey A Law (law@cygnus.com)
16628 * configure.in (m68k-next-nextstep4): Handle Openstep 4.2.
16629 * configure: Rebuilt.
16631 Fri Nov 5 01:24:37 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
16633 * global.c (CONFLICTP, SET_CONFLICT): Avoid signed division.
16634 (mirror_conflicts): New function.
16635 (global_alloc): Call it.
16636 (expand_preferences): Remove redundant CONFLICTP test.
16637 (find_reg, dump_conflicts): Likewise.
16638 (prune_preferences): Process conflicts one word at a time.
16640 Fri Nov 5 01:05:21 1999 Richard Henderson <rth@cygnus.com>
16642 * global.c (build_insn_chain): Use EXECUTE_IF_SET_IN_BITMAP
16643 instead of an explicit loop.
16645 Thu Nov 4 23:07:14 1999 Jim Wilson <wilson@cygnus.com>
16647 * cse.c (cse_insn): Revert Oct 31 change. When computing src_elt,
16648 if REG_RETVAL check succeeds, then put classp in src_elt.
16650 Thu Nov 4 23:48:14 1999 Jeffrey A Law (law@cygnus.com)
16652 * function.c (pad_to_arg_alignment): Only update argument_pad
16653 if the argument's alignment is greater than STACK_BOUNDARY.
16655 Thu Nov 4 16:44:53 1999 Richard Henderson <rth@cygnus.com>
16657 * bitmap.h (BITMAP_XFREE): New.
16658 * flow.c (life_analysis): Use it.
16659 (life_analysis_1): Free blocks.
16661 * combine.c (undo_commit): New.
16662 (try_combine): Use it. Don't zap undobuf.undos.
16663 (combine_instructions): Don't zap undobuf.undos; free the
16664 undobuf.frees list.
16666 * local-alloc.c (local_alloc): Free qty_phys_num_sugg.
16668 * stmt.c (cost_table_): New.
16669 (estimate_case_costs): Use it instead of xmalloc.
16671 * toplev.c (compile_file): Reuse dumpname memory instead
16674 Thu Nov 4 16:36:44 1999 Richard Henderson <rth@cygnus.com>
16676 * reg-stack.c (convert_regs_1): Initialize target_stack->top
16677 after verifying an EH edge.
16679 * haifa-sched.c (init_rgn_data_dependences): Correctly
16680 size bb_pending_lists_length when zeroing.
16682 Thu Nov 4 16:36:36 1999 Richard Henderson <rth@cygnus.com>
16684 * function.c (diddle_return_value): New.
16685 (expand_function_end): Use it.
16686 * stmt.c (expand_null_return): Likewise.
16687 (expand_value_return): Likewise.
16689 * reg-stack.c (subst_stack_regs_pat): Handle clobbers at top-level.
16691 * reload1.c (reload): Don't remove return value clobbers.
16693 Thu Nov 4 13:33:46 1999 Richard Henderson <rth@cygnus.com>
16695 * rtl.c (read_rtx): Use fatal_with_file_and_line not fatal.
16697 Thu Nov 4 12:49:52 1999 Richard Henderson <rth@cygnus.com>
16699 * cse.c (cse_main): Use xmalloc, not alloca.
16700 (cse_basic_block): Likewise.
16701 * local-alloc.c (local_alloc): Likewise.
16703 Thu Nov 4 14:22:12 1999 David Billinghurst <David.Billinghurst@riotinto.com.au>
16704 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
16706 * rtl.c: Include toplev.h.
16707 (fatal): Remove declaration.
16709 Thu Nov 4 06:39:47 1999 Jeffrey A Law (law@cygnus.com)
16711 * haifa-sched.c (schedule_block): Fix thinko.
16713 1999-11-03 James McKelvey <mckelvey@fafnir.com>
16715 * fixinc/fixincl.c(create_file): Allow for systems that do not have
16716 S_IR* defined values
16718 1999-11-03 Philippe De Muyter <phdm@macqel.be>
16720 * fixlib.c (load_file_data): Do not call `realloc' with a NULL pointer;
16721 call `malloc' instead.
16723 Wed Nov 3 23:05:14 1999 Mark Mitchell <mark@codesourcery.com>
16725 * flags.h (flag_renumber_insns): Declare.
16726 * emit-rtl.c (renumber_insns): Check flag_renumber_insns. Print
16728 * rtl.h (renumber_insns): Change prototype.
16729 * toplev.c (flag_renumber_insns): Define.
16730 (rest_of_compilation): Pass rtl_dump_file to flag_renumber_insns.
16732 Wed Nov 3 15:11:27 1999 David S. Miller <davem@redhat.com>
16734 * config/sparc/sparc.md: Remove insn type fpsqrt, add fpsqrts
16735 and fpsqrtd. Use them and create fdiv function unit to more
16736 accurately represent fpu sqrt pipeline semantics on UltraSparc.
16737 * config/sparc/sparc.c: Account for fpsqrt{s,d} changes.
16739 Wed Nov 3 15:11:27 1999 Matteo Frigo <athena@fftw.org>
16741 * config/sparc/sparc.md: Adjust FADD/FMUL result latencies to
16743 * config/sparc/sparc.c (ultra_schedule_insn): Insert launched
16744 insn into ready list, do not use just a raw swap.
16746 Wed Nov 3 14:51:59 1999 Mark P. Mitchell <mark@codesourcery.com>
16748 * rtl.h (renumber_insns): New function.
16749 (remove_unnecessary_notes): Likewise.
16750 * emit-rtl.c (renumber_insns): Define.
16751 (remove_unncessary_notes): Likewise.
16752 * toplev.c (rest_of_compilation): Remove dead code.
16753 Use renumber_insns and remove_unncessary_notes.
16755 * gcse.c (struct null_pointer_info): New type.
16756 (get_bitmap_width): New function.
16757 (current_block): Remove.
16758 (nonnull_local): Likewise.
16759 (nonnull_killed): Likewise.
16760 (invalidate_nonnull_info): Take a null_pointer_info as input.
16761 (delete_null_pointer_checks_1): New function.
16762 (delete_null_pointer_checks): Use it.
16764 * haifa-sched.c (find_rgns): Replace uses of alloca with xmalloc.
16765 (split_edges): Likewise.
16766 (schedule_block): Likewise.
16767 (compute_block_backward_dependencies): Likewise.
16768 (schedule_region): Likewise.
16769 (schedule_insns): Likewise.
16771 Wed Nov 3 15:40:23 1999 Catherine Moore <clm@cygnus.com>
16773 * defaults.h (ASM_OUTPUT_ALTERNATE_LABEL_NAME): Provide default.
16774 * emit-rtl.c (gen_label_rtx): Support LABEL_ALTERNATE_NAME.
16775 * final.c (final_scan_insn): Emit LABEL_ALTERNATE_NAME.
16776 * ggc-common.c (ggc_mark_rtx_children): Mark LABEL_ALTERNATE_NAME.
16777 * jump.c (delete_unreferenced_labels): Don't delete if
16778 LABEL_ALTERNATE_NAME is set.
16779 * print-rtl.c (print_rtx): Dump alternate name.
16780 * rtl.def (CODE_LABEL): Change format to "iuuis00s".
16781 * rtl.h (LABEL_ALTERNATE_NAME): Define.
16782 * rtl.texi (LABEL_ALTERNATE_NAME): Document.
16783 * tm.texi (ASM_OUTPUT_ALTERNATE_LABEL_NAME): Document.
16785 Wed Nov 3 15:39:19 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
16787 * fix-header.c (recognized_extern, recognized_function): Constify
16790 * lcm.c (compute_laterin): Remove unused variable `temp_bitmap'.
16791 (pre_edge_lcm): Mark parameter `file' with ATTRIBUTE_UNUSED.
16792 (compute_available): Remove unused variable `last'.
16793 (compute_nearerout): Remove unused variable `temp_bitmap'.
16794 (pre_edge_rev_lcm): Mark parameter `file' with ATTRIBUTE_UNUSED.
16795 Remove unused variable `x'.
16797 * scan.h (recognized_function, recognized_extern): Constify a
16800 * simplify-rtx.c (simplify_rtx): Remove unused variable `new'.
16802 Wed Nov 3 10:40:53 1999 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
16804 * varasm.c (decode_rtx_const): Use XSTR to access the string
16807 Wed Nov 3 10:10:58 1999 Richard Henderson <rth@cygnus.com>
16809 * c-decl.c (duplicate_decls): Copy DECL_MODE too.
16811 Wed Nov 3 12:12:59 1999 Bernd Schmidt <bernds@cygnus.co.uk>
16813 * reload1.c (eliminate_regs_in_insn): If copying insn, also copy notes.
16815 Wed Nov 3 03:26:28 1999 Jeffrey A Law (law@cygnus.com)
16817 * pa.c (ireg_operand): New function.
16818 * pa.h (PREDICATE_CODES): Handle ireg_operand.
16819 * pa.md (parallel_addb, parallel_movb): Use ireg_operand.
16820 Fix out of date comment.
16822 * pa.md (negdi2): Turn into expander + anonymous pattern.
16824 * reload.c (find_reloads): Fix typos in recent change.
16826 * dwarf2out.c: Do not include ctype.h.
16828 Tue Nov 2 21:53:44 1999 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
16830 * regclass.c (record_reg_classes): Always use may_move_cost when
16831 seeing how operand fits with various register classes.
16833 Tue Nov 2 15:38:17 1999 Richard Henderson <rth@cygnus.com>
16835 * resource.c: Revert Oct 26 20:42 and Oct 27 00:56 changes.
16836 * toplev.c: Revert Nov 1 13:22 change.
16838 Tue Nov 2 14:21:37 1999 Jason Eckhardt <jle@cygnus.com>
16840 * config/pa/pa.md (height reduction patterns): Add checks for
16841 overlapping operands to avoid semantic-destroying splits for
16842 height reduction patterns.
16844 Tue Nov 2 15:27:31 1999 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
16846 * configure.in (m68k-hp-hpux*, xm_alloca.h): The underscore should
16847 have been an hyphen, fixed.
16848 * configure: Rebuilt.
16850 Tue Nov 2 17:04:36 1999 Nick Clifton <nickc@cygnus.com>
16852 * config/arm/tpe.h: Add prototypes for exported functions.
16853 * config/arm/pe.c: Fix compile time warnings.
16854 * config/arm/semi.h: Fix compile time warnings.
16855 * config/arm/arm.c: Fix compile time warnings.
16856 * config/arm/arm.h: Fix compile time warnings.
16857 * config/arm/arm.md: Fix compile time warnings.
16858 * config/arm/thumb.c: Fix compile time warnings.
16859 * config/arm/thumb.h: Fix compile time warnings.
16860 * config/arm/thumb.md: Fix compile time warnings.
16862 Tue Nov 2 04:10:24 1999 Jan Hubicka <hubicka@freesoft.cz>
16864 * jump.c (jump_optimize_1): Swap the incscc and the conditional mode
16867 * unroll.c (unroll_loop): Remove LOOP notes when loop is
16868 completely unrolled.
16870 Tue Nov 2 16:57:22 1999 Bernd Schmidt <bernds@cygnus.co.uk>
16872 * cse.c (simplify_plus_minus, check_fold_const): Delete declarations.
16874 Tue Nov 2 09:43:00 1999 Catherine Moore <clm@cygnus.com>
16876 * Makefile.in (genattrtab): Don't use (HOST_RTLANAL).
16877 * rtl.h (rtx_equal_p): Move prototype.
16878 * rtl.c (rtx_equal_function_value_matters): Move from
16880 (rtx_equal_p): Likewise.
16881 * rtlanal.c (rtx_equal_function_value_matters): Delete.
16882 (rtx_equal_p): Likewise.
16884 Mon Nov 1 23:21:17 1999 Jason Merrill <jason@yorick.cygnus.com>
16886 * libgcc2.c (__do_global_dtors): Only do EH frame stuff if
16887 ! HAS_INIT_SECTION.
16889 Mon Nov 1 23:37:38 1999 Jeffrey A Law (law@cygnus.com)
16891 * gcc.1 (PA options): Remove obsolete -mshared-libs options.
16893 * pa.h (ADDR_VEC_ALIGN): Define.
16895 * jump.c (jump_optimize_1): Also move LOOP_VTOP and LOOP_CONT
16896 notes when presented with "if (foo) break; end_of_loop" and
16897 the break sequence gets moved out of the loop.
16899 * unroll.c (unroll_loop): Allocate memory for MAP using xcalloc.
16900 Remove explicit zero initializations of entries within MAP.
16902 Mon Nov 1 18:09:14 1999 Richard Henderson <rth@cygnus.com>
16904 * reg-stack.c (convert_regs_1): Handle EH edges specially.
16906 Mon Nov 1 15:41:01 1999 Mark P. Mitchell <mark@codesourcery.com>
16908 * bitmap.h (BITMAP_XMALLOC): New macro.
16909 * flow.c (CLEAN_ALLOCA): Remove.
16910 (delete_unreachable_blocks): Use xmalloc/xcalloc instead of alloca.
16911 (life_analysis): Likewise.
16912 (update_life_info): Don't use CLEAN_ALLOCA.
16913 (life_analysis_1): Use xmalloc/xcalloc instead of alloca.
16914 (calculate_global_regs_live): Likewise.
16915 (print_rtl_with_bb): Likewise.
16916 (verify_flow_info): Likewise.
16917 * global.c (global_alloc): Likewise.
16918 (global_conflicts): Likewise.
16919 * integrate.c (save_for_inline_nocopy): Likewise.
16920 (expand_inline_function): Likewise.
16921 * jump.c (jump_optimize_1): Likewise.
16922 (duplicate_loop_exit_test): Likewise.
16923 (thread_jumps): Likewise.
16924 * loop.c (loop_optimize): Likewise.
16925 (combine_givs): Likewise.
16926 (recombine_givs): Likewise.
16927 * reorg.c (dbr_schedule): Likewise.
16928 * unroll.c (unroll_loop): Likewise.
16930 * combine.c (combine_instructions): Use xmalloc instead of alloca.
16932 Mon Nov 1 13:22:30 1999 Richard Henderson <rth@cygnus.com>
16934 * toplev.c (rest_of_compilation): Don't optimize the CFG
16935 when rebuilding, just before dbr.
16937 Mon Nov 1 14:35:50 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
16939 * output.h (assemble_end_function, assemble_destructor,
16940 assemble_constructor, assemble_gc_entry, assemble_global,
16941 assemble_label, output_constant_pool) Constify a char*.
16943 * varasm.c (assemble_destructor, assemble_constructor,
16944 assemble_gc_entry, assemble_end_function, assemble_global,
16945 assemble_label, output_constant_pool): Likewise.
16947 Mon Nov 1 14:22:51 1999 Nick Clifton <nickc@cygnus.com>
16949 * config/arm/thumb.c (thumb_expand_prologue): Add comments
16950 explaining what is goin on in this function.
16952 Mon Nov 1 08:03:15 1999 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
16954 * regclass.c (record_reg_classes): In matching case, recompute
16955 costs since the direction of movement is different.
16957 Sun Oct 31 21:59:34 MST 1999 Diego Novillo <dnovillo@cygnus.com>
16959 * resource.c (mark_target_live_regs): For unconditional branches,
16960 the resources found at the branch target should be added to the
16961 resources found so far, not intersected.
16963 Sun Oct 31 15:48:49 1999 Philippe De Muyter <phdm@macqel.be>
16965 * fixinc/fixtests.c, fixinc/fixfixes.c : Keep `#' in first column for
16967 * fixinc/fixincl.c (fcntl.h) : Do not include this file twice.
16968 (sys/mman.h): Include this file only if #HAVE_MMAP.
16969 (run_compiles): Initialize `esac_fmt' with one old KR string, not
16970 with automatically concatenated ANSI strings.
16972 Sun Oct 31 23:57:07 1999 Mark Mitchell <mark@codesourcery.com>
16974 * ggc-page.c (struct page_entry): Remove save_num_free_objects.
16975 (DIV_ROUND_UP): Robustify.
16976 (ggc_recalculate_in_use_p): New function.
16977 (release_pages): Don't inline it.
16978 (ggc_alloc_obj): Don't refuse to allocate objects on pages for
16980 (ggc_pop_context): Use ggc_recalculate_in_use_p.
16981 (clear_marks): Always save in_use_p.
16982 (sweep_pages): Use ggc_recalculate_in_use_p.
16983 (ggc_page_print_statistics): Avoid signed/unsigned comparisons.
16984 Release pages before counting statistics.
16986 Sun Oct 31 23:42:37 1999 Mark Mitchell <mark@codesourcery.com>
16988 * toplev.c (rest_of_compilation): Fix thinko in this change:
16990 Fri Oct 29 15:25:07 1999 Arnaud Charlet <charlet@ACT-Europe.FR>
16992 (rest_of_compilation): If inside an inlined external function,
16993 pretend we are just being declared.
16995 Sun Oct 31 23:03:25 1999 Jeffrey A Law (law@cygnus.com)
16997 * flow.c (calculate_global_regs_live): Fix thinko.
16999 * integrate.c (expand_inline_function): Fix bugs in previous
17000 change from Oct 28, 1999.
17002 Sun Oct 31 20:27:45 1999 Mark Mitchell <mark@codesourcery.com>
17004 * stmt.c (expand_value_return): Fix typo in this change:
17006 Thu Oct 28 18:06:50 1999 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
17007 (expand_value_return): Correctly convert VAL when promoting function
17008 return; support RETURN_REG being a PARALLEL.
17010 Sun Oct 31 20:25:42 1999 Mark P. Mitchell <mark@codesourcery.com>
17012 * expr.c (readonly_fields_p): Ignore everything except FIELD_DECLs.
17014 Sun Oct 31 20:42:17 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
17016 * hard-reg-set.h (reg_names): Constify a char*.
17018 * regclass.c (reg_names): Likewise.
17020 * regs.h (reg_names): Likewise
17022 * a29k/a29k.c (reg_names): Delete declaration.
17024 * a29k/a29k.h (CONDITIONAL_REGISTER_USAGE): Constify a char*.
17026 * arc/arc.c (arc_save_restore, arc_output_function_prologue,
17027 arc_output_function_epilogue): Likewise.
17029 * elxsi/elxsi.c (reg_names): Likewise.
17031 * gmicro/gmicro.h (FUNCTION_PROLOGUE, FUNCTION_EPILOGUE): Likewise.
17033 * m32r/m32r.c (m32r_output_function_epilogue, emit_cond_move):
17036 * m88k/m88k.c (output_function_profiler): Likewise.
17038 * sparc/sparc.c (sparc_flat_output_function_prologue,
17039 sparc_flat_output_function_epilogue): Likewise.
17041 Sun Oct 31 13:32:15 CET 1999 Marc Lehmann <pcg@goof.com>
17043 * toplev.c (rest_of_compilation): Seperate the setjmp/vfork clobber
17044 warning from -Wuninitialized and put it under -W.
17045 * function.c (uninitialized_vars_warning): Warn only when the
17046 corresponding flag is set.
17048 Sun Oct 31 01:53:30 1999 Jeffrey A Law (law@cygnus.com)
17050 * cse.c (cse_insn): If an insn has only a single set, SRC_EQV
17051 is nonzero and the single set does not have an elt, then assign
17054 * simplify-rtx.c: New file.
17055 * Makefile.in (OBJS): Add simplify-rtx.o
17056 (simplify-rtx.o): Add dependencies.
17057 * rtl.h (simplify_gen_binary, simplify_rtx): Add prototypes.
17058 * cse.c: Use simplify_gen_binary intead of cse_gen_binary.
17059 (cse_gen_binary, simplify_unary_operation): Delete.
17060 (simplify_binary_operation, simplify_plus_minus): Likewise.
17061 (check_fold_consts, simplify_relation_operation): Likewise.
17062 (simplify_ternary_operation): Likewise.
17063 (delete_trivially_dead_insns): Simplify the contents of the
17064 REG_EQUAL note before trying to substitute it into the source
17065 of the reg-reg copy at the end of a libcall sequence.
17067 * combine.c (combine_simplify_rtx): Renamed from simplify_rtx. All
17068 references/callers changed.
17070 * mn10200.c (mn10200_va_arg): Force the return value into a
17073 * fr30.h (EXTRA_CC_NAMES): Remove obsolete macro.
17075 * cccp.c (macroexpand): Avoid out of range accesses for omitted
17078 Sat Oct 30 22:42:50 1999 Stephen L Moshier <moshier@mediaone.net>
17080 * c-lex.c (yylex): Accept 'f' in mantissa of hex float constant.
17082 Sat Oct 30 22:19:26 1999 Jeffrey A Law (law@cygnus.com)
17084 * fold-const.c (fold): Fix thinko when optimizing comparisons
17087 Sat Oct 30 21:32:17 1999 David Starner <dstarner98@aasaa.ofe.org>
17089 * gcc.texi (Passes): Update front-end files to their current
17092 Sat Oct 30 14:41:40 1999 Richard Henderson <rth@cygnus.com>
17094 * alpha.h (SECONDARY_INPUT_RELOAD_CLASS): Call secondary_reload_class.
17095 (SECONDARY_OUTPUT_RELOAD_CLASS): Likewise.
17096 (PREDICATE_CODES): Add addition_operation.
17097 * alpha-protos.h (addition_operation): Declare.
17098 (secondary_reload_class): Likewise.
17099 * alpha.c (addition_operation): New.
17100 (secondary_reload_class): New, from old SECONDARY_INPUT_RELOAD_CLASS.
17101 * alpha.md (adddi3): Turn into expander.
17102 (*lda, *adddi_2): New.
17103 (movsf, movdf patterns): Don't preference integer regs.
17104 (movsi, movdi patterns): Don't preference fp regs.
17106 Sat Oct 30 14:38:22 1999 Richard Henderson <rth@cygnus.com>
17108 * genrecog.c (write_switch): Check for duplicate CODE cases.
17110 Sat Oct 30 14:31:48 1999 Richard Henderson <rth@cygnus.com>
17112 * ggc-common.c: Update pre-function commentary.
17113 * ggc-page.c: Likewise.
17115 (poison_pages): Use memset directly.
17116 (ggc_alloc_obj): Likewise. Use a different pattern than poison_pages.
17117 (ggc_collect): Poison before sweeping.
17118 * ggc-simple.c: Update pre-function commentary.
17119 (ggc_alloc_obj): Poison non-zeroed memory.
17121 Sat Oct 30 14:28:52 1999 Mark Mitchell <mark@codesourcery.com>
17123 * ggc-common.c (ggc_print_statistics): Make arguments to fprintf
17124 match format string, even on 64-bit hosts.
17125 * gcc-page.c (ggc_page_print_statistics): Likewise.
17127 Sat Oct 30 14:38:04 1999 Catherine Moore <clm@cygnus.com>
17129 * config/i386/i386.c (ix86_cpu): Revert last patch.
17130 * config/i386/i386.h (ix86_cpu): Ditto.
17132 Fri Oct 29 17:00:42 1999 Jim Wilson <wilson@cygnus.com>
17134 * stor-layout.c (layout_type): When compute TYPE_SIZE_UNIT from
17135 TYPE_SIZE, convert type of result to sizetype.
17137 Fri Oct 29 14:34:17 1999 Richard Henderson <rth@cygnus.com>
17139 * flow.c (count_or_remove_death_notes): Equate NULL with the
17142 * jump.c, reg-stack.c, toplev.c: Revert Oct 27 change.
17143 * toplev.c (rest_of_compilation): Rebuild CFG immediately before
17146 * i386.c (pic_label_no): Delete.
17147 (ix86_attr_length_default): Don't use single_set to peek
17150 * recog.c (peephole2_optimize): Allow recog_next_insn to index
17151 the first insn after bb->end.
17152 * i386.md (push mem peeps): Scratch is live after evaluation
17154 (cmp mem peep): Similarly.
17156 Fri Oct 29 11:50:11 1999 Catherine Moore <clm@cygnus.com>
17158 * calls.c (emit_library_call_value): Fix declaration of alignment_pad.
17159 * function.c (pad_to_arg_alignment): Add missing braces.
17161 Fri Oct 29 13:53:48 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
17163 * alpha/alpha-protos.h (literal_section): Add prototype.
17164 (alpha_need_linkage, alpha_start_function,alpha_end_function):
17167 * alpha/alpha.c (alpha_ra_ever_killed, set_frame_related_p): Add
17169 (alpha_start_function, alpha_end_function, float_strings,
17170 alpha_need_linkage): Constify a char*
17172 * alpha/alpha.h (ASM_OUTPUT_ASCII, ASM_OUTPUT_MI_THUNK): Likewise.
17174 * alpha/alpha32.h (ASM_OUTPUT_MI_THUNK): Likewise.
17176 * alpha/elf.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
17178 * alpha/vms.h (ASM_OUTPUT_SECTION_NAME): Likewise.
17180 Fri Oct 29 13:49:39 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
17182 * flow.c (debug_flow_info): Add prototype.
17184 * gcc.c (main): Likewise.
17186 * gcse.c (expr_reaches_here_p_work, pre_expr_reaches_here_p_work):
17189 * reload1.c (failed_reload, set_reload_reg): Likewise.
17191 * mips-tfile.c (main): Likewise.
17192 (pfatal_with_name, fancy_abort, botch, fatal, catch_signal): Mark
17193 with ATTRIBUTE_NORETURN.
17195 Fri Oct 29 18:16:03 1999 Andrew Haley <aph@cygnus.com>
17197 * config/i386/i386.h (ENCODE_SECTION_INFO): Don't do anything if
17198 DECL is not a memory ref.
17200 Fri Oct 29 09:05:34 1999 Catherine Moore <clm@cygnus.com>
17202 * config/i386/i386.h (ix86_cpu): Remove extern attribute.
17203 * config/i386/i386.c (ix86_cpu): Add extern attribute.
17205 Fri Oct 29 16:30:04 1999 Andrew Haley <aph@cygnus.com>
17207 * config/mips/elf.h: remove NAME__MAIN and SYMBOL__MAIN.
17208 * config/mips/elf64.h: ditto.
17210 Fri Oct 29 08:03:57 1999 Catherine Moore <clm@cygnus.com>
17212 * expr.c (emit_push_insn): New argument alignment_pad.
17213 Update all callers. Adjust stack pointer based on alignment pad.
17214 * function.c (pad_to_arg_alignment): New argument alignment_pad.
17215 Update all callers. Track alignment_pad if boundary > PARM_BOUNDARY.
17216 (locate_and_pad_parm): New argument alignment_pad. Update all
17218 * expr.h (emit_push_insn): Update prototype.
17219 (locate_and_pad_parm): Update prototype.
17220 * calls.c (arg_data): Add new field alignment_pad.
17221 (initialize_argument_information): Initialize alignment_pad.
17223 Fri Oct 29 02:51:35 1999 Mark Mitchell <mark@codesourcery.com>
17225 * except.c (free_eh_nesting_info): Free the info itself.
17226 * function.c (free_after_compilation): Don't free NULL.
17227 * gcse.c (alloc_pre_mem): Free the temp_bitmap, too.
17228 (pre_edge_insert): Free inserted.
17229 * stmt.c (free_stmt_status): Don't free NULL.
17231 Fri Oct 29 15:25:07 1999 Arnaud Charlet <charlet@ACT-Europe.FR>
17233 * gcov.c (DIR_SEPARATOR): Provide default.
17234 (output_data): Add test for MS-DOS format absolute filename.
17235 (fancy_abort): Correct program name.
17236 (open_files): Open all files in binary mode.
17237 * libgcc2.c (__bb_exit_func): Likewise.
17239 * profile.c (init_branch_prob): Specify binary when opening files.
17241 * flags.h (flag_unwind_tables): New decl.
17242 * toplev.c (flag_unwind_table): New definition.
17243 (f_options): Add -funwind-tables.
17244 (decode_g_option): Clarify warning when unknown -g option is given.
17245 (rest_of_compilation): If inside an inlined external function,
17246 pretend we are just being declared.
17248 * dwarf2out.c (dwarf2out_do_frame): Check -funwind_tables.
17249 (dwarf2out_frame_finish): Likewise.
17251 Fri Oct 29 07:44:26 1999 Vasco Pedro <vp@di.fct.unl.pt>
17253 * fold-const.c (merge_ranges): If not in0, but in1, handle
17254 upper bounds equal like subset case.
17256 Thu Oct 28 19:22:24 1999 Douglas Rupp <rupp@gnat.com>
17258 * dbxout.c (dbxout_parms): Generate a second stabs line for parameters
17259 passed in a register but moved to the stack.
17261 Thu Oct 28 19:12:57 1999 Sam Tardieu <tardieu@act-europe.fr>
17263 * gcc.c (pass_exit_codes, greatest_status): New variables.
17264 (struct option_map): Add entry for "--pass-exit-codes".
17265 (execute): Update greatest_status if error.
17266 (display_help): Add documentation for -pass-exit-codes.
17267 (process_command): Handle -pass-exit-codes.
17268 (main): Look at pass_exit_codes and greatest_status on call to exit.
17270 Thu Oct 28 18:06:50 1999 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
17272 * reload.c (find_reloads): Refine test for no input reload
17273 case to not includes reloads emitted after insn.
17275 * function.c (find_temp_slots_from_address): Handle sum involving
17276 a register that points to a temp slot.
17277 (update_temp_slot_address): Make recursive call if both old and
17278 new are PLUS with a common operand.
17279 * calls.c (expand_call): Mark temp slot for result as having
17282 * rtlanal.c (reg_referenced_p, case IF_THEN_ELSE): New case.
17284 * gcc.c (process_command): Add standard_exec_prefix with "GCC"
17285 component as well as "BINUTILS".
17287 * integrate.h (copy_rtx_and_substitute): New arg, FOR_LHS.
17288 * integrate.c (copy_rtx_and_substitute): Likewise.
17289 (expand_inline_function, integrate_parm_decls, integrate_decl_tree):
17290 All callers changed.
17291 * unroll.c (inital_reg_note_copy, copy_loop_body): Likewise.
17293 * dbxout.c (dbxout_type, case INTEGER_TYPE_NODE): If can use
17294 gdb extensions, write size of type; also be more consistent
17295 in using references when this is a subtype.
17297 * pa.md (extv, extzv, insv): Use define_expand to reject constant
17298 that is out of range.
17300 * loop.c (unknown_constant_address_altered): New variable.
17301 (prescan_loop): Initialize it.
17302 (note_addr_stored): Set it for RTX_UNCHANGING_P MEM.
17303 (invariant_p, case MEM): Remove handling for volatile and readonly;
17304 check new variable if readonly.
17305 (check_dbra_loop): Chdeck unknown_constant_address_altered.
17307 * cse.c (canon_hash, case MEM): Do not record if BLKmode.
17308 (addr_affects_sp_p): Removed from note_mem_written and only
17309 define #ifdef AUTO_INC_DEC.
17311 * alpha.c (input_operand, case ADDRESSOF): Treat as REG.
17313 * regclass.c (record_reg_classes): Properly handle register move
17316 * varasm.c (initializer_constant_valid_p, case MINUS_EXPR):
17317 Don't think valid if both operands are invalid.
17318 (struct constant_descriptor): New field RTL.
17319 (mark_const_hash_entry): Mark it.
17320 (record_constant{,_rtx}): Initialize it.
17321 (output_constant_def): Allocate RTL in permanent obstack and
17323 ({record,compare}_constant_1): Modes must match for
17324 CONSTRUCTOR of ARRAY_TYPE.
17326 * c-common.h (initializer_constant_valid_p): Delete decl from here.
17327 * output.h (initializer_constant_valid_p): Move decl to here.
17328 * c-common.c (initializer_constant_valid_p): Delete function from here.
17329 * varasm.c (initializer_constant_valid_p): Move function to here.
17331 * tree.h (STRIP_SIGN_NOPS): New macro.
17332 * fold-const.c (optimize_minmax_comparison): New function.
17333 (invert_truthvalue, case WITH_RECORD_EXPR): New case.
17334 (fold): Use STRIP_SIGN_NOPS instead of STRIP_TYPE_NOPS.
17335 (fold, case EQ_EXPR): Call optimize_minmax_comparison and add
17336 cases with ABS_EXPR, NEGATE_EXPR, PLUS_EXPR, MINUS_EXPR, and
17337 widening conversions.
17338 (fold, case LE_EXPR): Rework changing unsigned to signed comparisons
17339 to look at size of mode, not precision of type; also add missing cases.
17340 (optimize_bit_field_compare, decode_field_reference): Don't try to
17341 optimize COMPONENT_REF of a PLACEHOLDER_EXPR.
17343 * dwarf2out.c (ctype.h): Include.
17344 (dwarf2out_set_demangle_name_func): New function.
17345 (size_of_line_info): Deleted.
17346 (output_line_info): Compute size of line info table from difference
17348 (base_type_die, add_name_attribute): Call demangle function, if any.
17349 (field_byte_offset): Use bits per word for variable length fields.
17350 (gen_array_type_die): Add array name.
17351 (gen_subprogram_die): Ignore DECL_INLINE if -fno-inline.
17352 (dwarf2out_add_library_unit_info): New function.
17354 * explow.c (set_stack_check_libfunc): New function.
17355 (stack_check_libfunc): New static variable.
17356 (probe_stack_range): Allow front-end to set up a libfunc to call.
17358 * combine.c (simplify_comparison): When making comparison in wider
17359 mode, check for having commuted an AND and a SUBREG.
17360 (contains_muldiv): New function.
17361 (try_combine): Call it when dividing a PARALLEL.
17362 (simplify_rtx, case TRUNCATE): Don't remove for umulsi3_highpart.
17363 (simplify_comparison, case ASHIFTRT): Recognize sign-extension of
17365 (record_value_for_reg): If TEM is a binary operation with two CLOBBERs,
17366 use one of the CLOBBERs instead.
17367 (if_then_else_cond): If comparing against zero, just return thing
17370 * optabs.c (expand_abs): If machine has MAX, ABS (x) is MAX (x, -x).
17371 Don't generate shifts and subtract if have conditional arithmetic.
17373 * rtl.h (delete_barrier): New declaration.
17374 * jump.c (jump_optimize): Set up to handle conditional call.
17375 In conditional arithmetic case, handle CALL_INSN followed by a BARRIER.
17376 (delete_barrier): New function.
17378 * rtl.c (read_rtx): Call fatal if bad RTL code; check for bad mode.
17380 * recog.c (nonmemory_operand): Accept ADDRESSOF.
17382 * tree.c (build_type_attribute_variant): Push to obstack of
17383 ttype around type_hash_canon call.
17385 * expr.c (placeholder_list): Move decl to file scope.
17386 (expand_expr): Don't force access to volatile just because its
17388 If ignoring reference operations, just expand the operands.
17389 (expand_expr, case COMPONENT_REF): Propagate
17390 EXPAND_CONST_ADDRESS to recursive call when expanding inner.
17391 Refine test for using bitfield operations vs pointer punning.
17392 (expand_expr, case CONVERT_EXPR): If converting to
17393 BLKmode UNION_TYPE from BLKmode, just return inner object.
17394 Use proper mode in store_field call.
17395 Properly set sizes of object to store and total size in store_field
17396 call for convert to union.
17397 (expand_expr, case ARRAY_REF): If OP0 is in a register, put it in
17398 memory (like for ADDR_EXPR). Also, don't put constant in register if
17399 we'll want it in memory.
17400 (readonly_fields_p): New function.
17401 (expand_expr, case INDIRECT_REF): Call it if LHS.
17402 (expand_assignment): Handle a RESULT_DECL where
17403 DECL_RTL is a PARALLEL.
17404 (do_jump, case WITH_RECORD_EXPR): New case.
17405 (get_inner_reference): Always go inside a CONVERT_EXPR
17406 and NOP_EXPR if both modes are the same.
17407 (store_field): Use bitfield operations if size of bitsize is not same
17408 as size of RHS's type.
17409 Check for bitpos not a multiple of alignment in BLKmode case.
17410 Do block move in largest possible alignment.
17411 (store_constructor): Set BITSIZE to -1 for variable size and properly
17412 in case of array of BLKmode.
17413 (expand_expr_unaligned): New function.
17414 (do_compare_and_jump): Call it.
17416 * mips/iris5.h (SWITCHES_NEED_SPACES): New macro.
17417 * collect2.c (main): Only allow -ofoo if SWITCHES_NEED_SPACES
17418 does not include 'o'.
17420 * function.c (instantiate_virtual_regs_1, case SET): Handle case where
17421 both SET_DEST and SET_SRC reference a virtual register.
17422 (gen_mem_addressof): Copy RTX_UNCHANGING_P from new REG to old REG.
17424 * integrate.c (expand_inline_function): Handle case of setting
17425 virtual stack vars register (from built in setjmp); when parameter
17426 lives in memory, expand virtual_{stack_vars,incoming_args}_rtx early.
17427 (subst_constant): Add new parm, MEMONLY.
17428 (expand_inline_function, integrate_parm_decls): Pass new parm.
17429 (integrate_decl_tree): Likewise.
17430 (copy_rtx_and_substitute, case MEM): Do copy RTX_UNCHANGING_P.
17431 (try_constants): Call subst_constants twice, with MEMONLY 0 and 1.
17432 (copy_rtx_and_substitute, case SET): Add explicit calls to
17433 copy_rtx_and_substitute for both sides.
17435 * stmt.c (expand_asm_operands): Don't use TREE_STRING_LENGTH for
17437 (pushcase{,_range}): Convert to NOMINAL_TYPE after checking for
17438 within INDEX_TYPE, instead of before.
17439 (fixup_gotos): Use f->target_rtl, not the next insn,
17440 since latter may be from a later fixup.
17441 (expand_value_return): Correctly convert VAL when promoting function
17442 return; support RETURN_REG being a PARALLEL.
17443 (expand_return): When checking for result in regs and having
17444 cleanup, consider PARALLEL in DECL_RTL as being in regs.
17446 1999-10-28 21:27 -0700 Zack Weinberg <zack@bitmover.com>
17448 * cpplib.h (struct cpp_buffer: fname, nominal_fname,
17449 last_nominal_fname): Mark const.
17450 (struct include_hash: name, nshort, control_macro): Mark
17452 (struct macrodef: symnam): Mark const.
17453 (struct if_stack: fname): Mark const.
17454 (is_idchar, is_idstart, is_hor_space, trigraph_table): Delete.
17455 (IStable): New character-syntax array which encompasses all
17456 the old is_foo arrays.
17457 (is_idchar, is_numchar, is_idstart, is_numstart, is_hspace,
17458 is_space): New macros for interrogating IStable.
17459 (check_macro_name): Kill last argument. All callers changed.
17461 * cppinit.c (initialize_char_syntax): Delete.
17462 (is_idchar, is_idstart, is_hor_space, is_space,
17463 trigraph_table): Delete.
17464 (IStable): New. Initialize with clever macros to avoid
17465 information duplication.
17466 (builtin_array): Table of builtins to get rid of explicit list
17467 in initialize_builtins.
17468 (initialize_builtins): Use builtins_array.
17469 (cpp_start_read): Call init_IStable, and set IStable['$'] if
17470 opts->dollars_in_ident.
17472 * cppexp.c: Change all refs to is_xyz[] arrays to use new
17474 (cpp_parse_expr): Avoid 'format string is not constant'
17475 warning. Use ISGRAPH to identify printable chars.
17476 * cppfiles.c: Change all refs to is_xyz[] arrays to use new
17478 (read_and_prescan): Map trigraphs to chars with open-coded
17479 if-else-if-... sequence, not a lookup table.
17480 * cpphash.c: Change all refs to is_xyz[] arrays to use new
17482 * cpplib.c: Change all refs to is_xyz[] arrays to use new
17483 is_xyz() macros. Kill SKIP_ALL_WHITE_SPACE (unused).
17484 (check_macro_name): Remove ability to report an invalid
17485 assertion name, which is never used.
17486 (do_line): Constify a couple of char *'s.
17487 * cppmain.c (main): Call cpp_cleanup before returning.
17489 Thu Oct 28 21:16:35 1999 Mark Mitchell <mark@codesourcery.com>
17491 * ggc.h (struct ggc_statistics): New type.
17492 (ggc_get_size): New function.
17493 (ggc_print_statistics): Likewise.
17494 * ggc-common.c (ggc_stats): New variable.
17495 (ggc_mark_rtx_children): Keep statistics.
17496 (ggc_mark_tree_children): Likewise.
17497 (ggc_print_statistics): New function.
17498 * ggc-page.c (struct globals): Add bytes_mapped field.
17499 (alloc_anon): Update it.
17500 (release_pages): Likewise.
17501 (ggc_get_size): New function.
17502 (ggc_page_print_statistics): New function.
17503 * ggc-simple.c (ggc_get_size): New function.
17505 Fri Oct 29 06:32:44 1999 Geoffrey Keating <geoffk@cygnus.com>
17507 * flow.c (propagate_block): When the last reference to a label
17508 before an ADDR_VEC is deleted because the reference is a dead
17509 store, delete the ADDR_VEC.
17511 Thu Oct 28 12:28:50 1999 Richard Henderson <rth@cygnus.com>
17513 * resource.c (find_free_register): Don't use the frame pointer
17514 if frame_pointer_needed.
17516 Thu Oct 28 10:02:00 1999 Jim Wilson <wilson@cygnus.com>
17518 * config/mips/mips.c (mips_va_arg): Delete gen_jump as emit_jump arg.
17519 (function_arg_pass_by_reference): Check for a NULL pointer in cum.
17521 * config/i960/i960.c (i960_va_start): New locals base, num.
17522 Use INDIRECT_REF instead of ARRAY_REF on valist.
17523 (i960_va_arg): Use INDIRECT_REF instead of ARRAY_REF on valist.
17525 Thu Oct 28 09:45:48 1999 Mark Mitchell <mark@codesourcery.com>
17527 * gcse.c (delete_null_pointer_checks): Fix typo in previous change.
17529 Thu Oct 28 03:37:50 1999 Peter Gerwinski <peter@gerwinski.de>
17531 * tree.def (PLACEHOLDER_EXPR): Update comments.
17533 Thu Oct 28 06:47:32 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
17535 * c-common.c (check_format_info): Avoid non-literal format string
17536 warnings when `first_arg_num' is zero.
17538 Thu Oct 28 12:28:48 1999 Bernd Schmidt <bernds@cygnus.co.uk>
17540 * rtl.texi: Delete explicit Prev, Up and Next entries in "@node"s.
17542 Thu Oct 28 11:05:13 1999 Richard Earnshaw <rearnsha@arm.com>
17544 * arm.md (casesi_insn): Add a clobber of the condition code
17547 Mon Oct 18 21:16:06 1999 Fred Fish <fnf@be.com>
17549 * tm.texi (CC1PLUS_SPEC): Make it clear in the docs that CC1_SPEC is
17550 used by both cc1 and cc1plus.
17552 Thu Oct 28 10:00:48 1999 Nick Clifton <nickc@cygnus.com>
17554 * config/arm/arm.c: Initialise arm_structure_size_boundary to
17555 DEFAULT_STRUCTURE_SIZE_BOUNDARY.
17556 * config/arm/arm.h (DEFAULT_STRUCTURE_SIZE_BOUNDARY): Define
17557 to the value 32 if it has not already been defined.
17558 * config/arm/netbsd.h (DEFAULT_STRUCTURE_SIZE_BOUNDARY):
17559 Override definition in arm.h with a value of 8.
17561 Thu Oct 28 03:12:02 1999 David Starner <dstarner98@aasaa.ofe.org>
17563 * c-pragma.c (push_alignment): Don't check the return value
17566 Thu Oct 28 03:08:38 1999 Matteo Frigo <athena@fftw.org>
17568 * sparc.h (ADJUST_COST): Fix thinko.
17570 Thu Oct 28 02:44:03 1999 Glen Nakamura <glen.nakamura@usa.net>
17572 * cccp.c (rescan): Fixed obp pointer handling around call to
17573 check_expand subroutine.
17575 Thu Oct 28 02:15:22 1999 Jeffrey A Law (law@cygnus.com)
17577 * gcse.c (delete_null_pointer_checks): Only record non-null info
17578 for pseudos when examining stores.
17580 * arm.md (adddi3, adddi_sesidi_di, adddi_sesidi_di): Add
17581 splitters for these patterns. Use "#" for output templates.
17582 (addsi3_carryin_shift): New pattern.
17584 Thu Oct 28 10:20:02 1999 Geoffrey Keating <geoffk@cygnus.com>
17586 * config/rs6000/rs6000.md (movsf): Don't convert a SUBREG
17587 of the function return register into a plain REG until
17588 after function inlining is done.
17590 Wed Oct 27 15:21:46 1999 Richard Henderson <rth@cygnus.com>
17592 * jump.c (jump_optimize_1): If we did cross-jumping, and
17593 the data will matter, rebuild the CFG.
17594 * reg-stack.c (reg_to_stack): Only (re)build the CFG if
17595 not optimizing. Don't run shorten_branches.
17596 * toplev.c (rest_of_compilation): Run shorten_branches after
17599 Wed Oct 27 12:33:40 1999 Mark Mitchell <mark@codesourcery.com>
17601 * rtl.h (note_stores): Add additional paramter.
17602 * rtlanal.c (reg_set_p_1): Take additional paramter.
17603 (reg_set_last_1): Likewise.
17604 (reg_set_p): Adjust call to note_stores.
17605 (reg_set_last): Likewise.
17606 (note_stores): Pass data parameter to worker function.
17607 * alias.c (record_set): Take additional parameter.
17608 (init_alias_analysis): Pass it.
17609 * caller-save.c (mark_set_regs): Take additional parameter.
17610 (save_call_clobbered_regs): Pass NULL to note_stores.
17611 * combine.c (set_nonzero_bits_and_sign_copies): Take additional
17613 (record_dead_and_set_regs_1): Likewise.
17614 (reg_dead_at_p_1): Likewise.
17615 (combine_instructions): Adjust calls to note_stores.
17616 (try_combine): Likewise.
17617 (record_dead_insn): Remove.
17618 (record_dead_and_set_regs): Adjust calls to note_stores.
17619 (reg_dead_at_p): Likewise.
17620 * cse.c (invalidate_skipped_set): Take additional parameter.
17621 (cse_check_loop_start): Likewise.
17622 (cse_check_loop_start_value): Remove.
17623 (cse_set_around_loop): Adjust calls to note_stores.
17624 * flow.c (notice_stack_pointer_modification): Take additional
17625 parameter. Remove duplicate declaration.
17626 (record_volatile_insns): Adjust calls to note_stores.
17627 * gcse.c (record_set_info): Take additional parameter.
17628 (record_last_set_info): Likewise.
17629 (invalidate_nonnull_info): Likewise.
17630 (record_set_insn): Remove.
17631 (compute_sets): Adjust calls to note_stores.
17632 (last_set_insn): Remove.
17633 (compute_hash_table): Adjust calls to note_stores.
17634 (insert_insn_end_bb): Likewise.
17635 (delete_null_pointer_checks): Likewise.
17636 * global.c (mark_reg_store): Take additional parameter.
17637 (mark_reg_clobber): Likewise.
17638 (reg_becomes_live): Likewise.
17639 (global_conflicts): Adjust calls to note_stores.
17640 (build_insn_chain): Likewise.
17641 * integrate.c (note_modified_parmregs): Take additional parameter.
17642 (mark_stores): Likewise. Make it static.
17643 (save_for_inline_nocopy): Adjust calls to note_stores.
17644 (try_constants): Likewise.
17645 * integrate.h (mark_stores): Remove declaration.
17646 * jump.c (mark_modified_reg): Take additional parameter.
17647 (thread_jumps): Adjust calls to note_stores.
17648 * local-alloc.c (validate_equiv_mem_from_store): Take additional
17650 (no_equiv): Likewise.
17651 (reg_is_set): Likewise.
17652 (validate_equiv_mem): Adjust calls to note_stores.
17653 (update_equiv_regs): Likewise.
17654 (block_alloc): Likewise.
17655 * loop.c (note_set_pseudo_multiple_uses_retval): Remove.
17656 (note_addr_stored): Take additional parameter.
17657 (note_set_pseudo_multiple_uses): Likewise.
17658 (record_initial): Likewise.
17659 (prescan_loop): Adjust calls to note_stores.
17660 (strength_reduce): Likewise.
17661 (check_dbra_loop): Likewise.
17662 * regmove.c (flags_set_1): Take additional paramter.
17663 (mark_flags_life_zones): Adjust calls to note_stores.
17664 * reload1.c (mark_not_eliminable): Take additional parameter.
17665 (forget_old_reloads_1): Likewise.
17666 (reload_cse_invalidate_rtx): Likewise.
17667 (reload_cse_check_clobber): Likewise.
17668 (reload_combine_note_store): Likewise.
17669 (move2add_note_store): Likewise.
17670 (reload): Adjust calls to note_stores.
17671 (reload_as_needed): Likewise.
17672 (emit_reload_insns): Likewise.
17673 (reload_cse_regs_1): Likewise.
17674 (reload_cse_record_set): Adjust calls to reload_cse_invalidate_rtx.
17675 (reload_combine): Adjust calls to note_stores.
17676 * resource.c (update_live_status): Take additional paramter.
17677 (mark_target_live_regs): Adjust calls to note_stores.
17678 * stupid.c (find_clobbered_regs): Take additional parameter.
17679 (stupid_life_analysis): Adjust calls to note_stores.
17681 Wed Oct 27 19:26:12 1999 Nick Clifton <nickc@cygnus.com>
17683 * config/arm/coff.h (STRUCTURE_SIZE_BOUNDARY): Delete
17686 * config/arm/elf.h (STRUCTURE_SIZE_BOUNDARY): Delete
17689 * config/arm/arm.h (STRUCTURE_SIZE_BOUNDARY): Define in terms
17690 of the variable arm_structure_size_boundary.
17692 Wed Oct 27 02:05:58 1999 Mark P. Mitchell <mark@codesourcery.com>
17694 * alias.c (init_alias_analysis): Allocate reg_known_value and
17695 reg_known_equiv_p on the heap. Likewise for new_reg_base_value
17697 (end_alias_analysis): Free reg_known_value and reg_known_equiv_p.
17698 * cse.c (cse_main): Call end_alias_analysis.
17699 * haifa-sched.c (schedule_insns): Likewise.
17700 * local-alloc. (update_equiv_regs): Likewise.
17701 * reload1.c (reload_cse_regs): Likewise.
17703 Wed Oct 27 01:49:17 1999 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
17705 * sparc/sparc.c (sparc_override_options): Clear MASK_FPU_SET.
17706 * sparc/sparc.h (TARGET_SWITCHES): Add "fpu" entry for reverse
17707 mapping from MASK_FPU.
17709 Wed Oct 27 01:42:26 1999 Scott Christley <scottc@net-community.com>
17711 * sparc.md (call): Don't bound structure return size to 0xfff.
17713 Wed Oct 27 00:56:59 1999 Richard Henderson <rth@cygnus.com>
17715 * resource.c (mark_target_live_regs): Check that the target
17716 insn wasn't created after compute_bb_for_insn.
17718 Tue Oct 26 23:15:03 1999 Mark Mitchell <mark@codesourcery.com>
17720 * ggc-page.c (poison_pages): Don't be overzealous.
17722 Tue Oct 26 23:29:18 1999 Jeffrey A Law (law@cygnus.com)
17724 * alias.c: Update comments for ADDRESS.
17725 (nonlocal_reference_p): Look inside the ADDRESS to determine if
17726 it is a local memory reference.
17728 * c-typeck.c (build_function_call): Check that the built-in
17729 function is of class BUILT_IN_NORMAL before trying to recongize
17730 it as BUILT_IN_ABS.
17731 * calls.c (calls_function_1): Similarly for BUILT_IN_ALLOCA.
17732 * stmt.c (expand_end_cae): Similarly for BUILT_IN_CLASSIFY_TYPE.
17734 Wed Oct 27 00:14:13 1999 Robert Lipe <robertlipe@usa.net>
17736 * gcse.c (expr_reaches_here_p): Use xcalloc and explit free instead
17738 (pre_gcse): Likewise.
17739 (hoist_expr_reaches_here_p): Likewise.
17740 (hoist_code): Likewise.
17741 (pre_expr_reaches_here_p): Replace alloca with xcalloc. Move core
17743 (pre_expr_reaches_here_p_work): ... here.
17744 (expr_reaches_here_p): Replace alloca with xcalloc. Move core
17746 (expr_reaches_here_p_work): ... here.
17748 Tue Oct 26 20:42:45 1999 Richard Henderson <rth@cygnus.com>
17750 * resource.c (find_basic_block): Delete.
17751 (mark_target_live_regs, incr_ticks_for_insn): Use BLOCK_NUM instead.
17752 (init_resource_info): Call compute_bb_for_insn.
17754 Tue Oct 26 20:21:02 1999 Richard Henderson <rth@cygnus.com>
17756 * flow.c (merge_blocks_move_predecessor_nojumps): Cope
17757 with already adjacent blocks, but no fallthru.
17758 (merge_blocks_move_successor_nojumps): Simplify.
17759 (debug_flow_info): New.
17761 * toplev.c (rest_of_compilation): Open jump1 dump file before
17762 jump and close after, as opposed to just using dump_rtl.
17764 Wed Oct 27 03:09:23 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
17766 * reload.h (earlyclobber_operand_p): Declare.
17767 * reload.c (earlyclobber_operand_p): Don't declare. No longer static.
17768 * reload1.c (reload_reg_free_for_value_p): RELOAD_OTHER reloads with
17769 an earlyclobbered output conflict with RELOAD_INPUT reloads - handle
17770 case where the RELOAD_OTHER reload is new. Use earlyclobber_operand_p.
17772 Tue Oct 26 18:23:38 1999 Jan Hubicka <hubicka@freesoft.cz>
17773 Richard Henderson <rth@cygnus.com>
17775 * emit-rtl.c (emit_block_insn_before): New.
17776 (emit_block_insn_after): New.
17777 * basic-block.h: Declare them.
17779 * bitmap.h: Protect from multiple inclusion.
17781 * recog.c (scratch_operand): Handle VOIDmode correctly.
17783 * rtl.h (JUMP_CROSS_JUMP_DEATH_MATTERS): New.
17785 * builtins.c (expand_builtin_apply_args_1): Remove STACK_REGS hack.
17786 * function.c (assign_parms): Likewise.
17787 * global.c (global_conflicts): Clarify STACK_REGS commentary.
17789 * reg-stack.c (max_uid): Remove.
17790 (blocks, block_begin, block_end, block_drops_in): Remove.
17791 (block_stack_in, block_out_reg_set, block_number): Remove.
17792 (struct block_info_def, BLOCK_INFO): New.
17793 (enum emit_where): New.
17794 (current_block): New.
17795 (BLOCK_NUM): Remove.
17796 (mark_regs_pat, record_label_references): Remove.
17797 (record_reg_life_pat, record_reg_life, find_blocks): Remove.
17799 (goto_block_pat, print_blocks, dump_stack_info): Remove.
17800 (reg_to_stack): Simplified test for existance of fp code. Use
17801 flow.c code. Call shorten_branches after cross-jump opt.
17802 (check_asm_stack_operands): Renamed from record_asm_reg_life.
17803 Return false if the asm doesn't use stack regs. Don't do life
17804 analysis on the asm.
17805 (emit_pop_insn): Replace function pointer arg `when' with
17806 enum `where'. Update all callers.
17807 (change_stack): Likewise. Update basic block end.
17808 (emit_swap_insn): Use current_block->head to limit reverse search
17809 for start of block. Use emit_block_insn_after.
17810 (subst_stack_regs_pat): Handle USE and CLOBBER patterns.
17811 (subst_asm_stack_regs): Use check_asm_stack_operands. Use direct
17812 structure assignment instead of bcopy.
17813 (print_stack): New.
17814 (convert_regs_entry, convert_regs_exit): New.
17815 (convert_regs_1, convert_regs_2): Split out from convert_regs.
17816 Work on basic blocks and the CFG.
17817 (convert_regs): Use them.
17819 * i386.c (output_fix_trunc): Remove code for DImode input operand
17820 not at top-of-stack.
17821 * i386.c (fix_truncdfdi2, fix_truncsfdi2): Use scratch with
17823 (fix_truncdi_1): Allow any mode scratch.
17825 Tue Oct 26 13:30:35 1999 Richard Henderson <rth@cygnus.com>
17827 * alpha.h (TARGET_MEM_FUNCTIONS): Define here.
17828 * linux.h, netbsd.h, vms.h: Not here.
17830 1999-10-26 Gavin Romig-Koch <gavin@cygnus.com>
17832 * config/mips/mips.h (ISA_HAS_64BIT_REGS,ISA_HAS_BRANCHLIKELY,
17833 ISA_HAS_FP4,ISA_HAS_CONDMOVE): New.
17834 (GENERATE_BRANCHLIKELY,HAVE_SQRT_P,
17835 CONDITIONAL_REGISTER_USEAGE): Use them.
17836 * config/mips/mips.c (mips_move_1word,mips_move_2words,
17837 gen_conditional_branch,override_options) : Use them.
17838 * config/mips/mips.md : Use them.
17840 Tue Oct 26 13:09:23 1999 Richard Henderson <rth@cygnus.com>
17842 * i386.md (zero_extendqihi2): Use SImode register name with andl.
17844 Tue Oct 26 12:35:38 1999 Richard Henderson <rth@cygnus.com>
17846 * integrate.c (function_cannot_inline_p): Don't allow inlining
17849 Tue Oct 26 14:10:23 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
17851 * c-parse.in (cast_expr): Constify.
17853 * cccp.c (special_symbol): Likewise.
17855 * cse.c (hash_cse_reg_info, cse_reg_info_equal_p): Likewise.
17857 * dwarf2out.c (base_type_die): Likewise.
17859 * global.c (allocno_compare): Likewise.
17861 * local-alloc.c (qty_compare_1, qty_sugg_compare_1): Likewise.
17863 * regclass.c (fix_register): Likewise.
17865 * rtl.h (fix_register): Likewise.
17867 * stupid.c (stupid_reg_compare): Likewise.
17869 * toplev.c (decode_f_option): Likewise.
17871 * tree.c (build_complex_type): Likewise.
17873 Tue Oct 26 18:35:25 1999 Richard Earnshaw <rearnsha@arm.com>
17875 * output.h: Don't unnecessarily conditionalize prototypes on TREE_CODE.
17877 Tue Oct 26 15:42:56 1999 Bernd Schmidt <bernds@cygnus.co.uk>
17879 * reload.c (find_reloads): Compute mode and nregs fields of all
17881 * reload1.c (calculate_needs_all_insns): Simplify a bit.
17882 (calculate_needs): Use precomputed mode/nregs values.
17883 (allocate_reload_reg): Likewise.
17885 (failed_reload, set_reload_reg): ... new functions.
17886 (choose_reload_regs_init): New function, mostly broken out from...
17887 (choose_reload_regs): ... here. Lose all the save_xxx nonsense.
17888 Also lose one #if 0 block.
17890 Tue Oct 26 02:48:32 1999 Marc Espie <espie@cvs.openbsd.org>
17892 * Makefile.in (AR_FOR_TARGET, RANLIB_FOR_TARGET): Fix target name
17895 Tue Oct 26 01:27:32 1999 Mark Mitchell <mark@codesourcery.com>
17897 * tree.h (BLOCK_TYPE_TAGS): Remove.
17898 (BLOCK_END_NOTE): Likewise.
17899 (BLOCK_LIVE_RANGE_FLAG): Likewise.
17900 (BLOCK_LIVE_RANGE_START): Likewise.
17901 (BLOCK_LIVE_RANGE_END): Likewise.
17902 (tree_block): Remove live_range_flag, live_range_var_flag, and
17903 type_tags. Remove end_note, live_range_start, and live_range_end.
17904 (remember_end_note): Remove prototype.
17905 * tree.c (build_block): Don't set BLOCK_TYPE_TAGS.
17906 * c-decl.c (poplevel): Don't set BLOCK_TYPE_TAGS or call
17908 * ggc-common.c (ggc_mark_tree_children): Don't mark
17909 BLOCK_TYPE_TAGS or BLOCK_END_NOTE.
17910 * integrate.c (adjust_copied_decl_tree): Remove.
17911 * print-tree.c (print_node): Don't print BLOCK_TYPE_TAGS.
17912 * stmt.c (last_block_end_note): Remove.
17913 (init_stmt): Don't add a GC root for it.
17914 (expand_fixup): Don't set it.
17915 (remember_end_note): Remove.
17916 (expand_end_bindings): Don't set last_block_end_note.
17918 Tue Oct 26 00:41:54 1999 Bernd Schmidt <bernds@cygnus.co.uk>
17920 * reload1.c (reload_reg_free_for_value_p): Show
17921 RELOAD_FOR_OTHER_ADDRESS reloads can conflict with RELOAD_OTHER
17924 Mon Oct 25 23:54:45 1999 Geoff Keating <geoffk@cygnus.com>
17926 * expmed.c (extract_bit_field): Allow for the case of non-integer
17927 objects that are smaller than a word (like SFmode on a 64-bit
17930 * loop.c (basic_induction_var): A non-integer variable which is
17931 being set by a paradoxical subreg is probably not a biv.
17933 1999-10-25 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
17935 * prefix.c (translate_name) Check for empty prefix string.
17937 Mon Oct 25 23:10:45 1999 Andreas Schwab <schwab@suse.de>
17939 * Makefile.in (CPP_CROSS_NAME): New variable.
17940 (install-cpp): Use it instead of CPP_INSTALL_NAME for the cross
17942 (uninstall-cpp): Use CPP_INSTALL_NAME and CPP_CROSS_NAME for the
17943 names of the files to be uninstalled.
17945 Mon Oct 25 23:03:09 1999 Jeffrey A Law (law@cygnus.com)
17947 * collect2.c (IS_DIR_SEPARATOR): Define.
17948 (prefix_from_string): Use IS_DIR_SEPARATOR and DIR_SEPARATOR.
17950 * som.h (ASM_DECLARE_FUNCTION_NAME): Set PRIV_LEV for static
17953 * haifa-sched.c (add_dependence): Update the true dependency
17954 cache the first time we add a true dependence to the LOG_LINKS chain.
17956 Mon Oct 25 22:27:40 1999 Jim Kingdon <http://developer.redhat.com/>
17958 * fold-const.c (fold): Fix comment.
17960 Mon Oct 25 22:49:34 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
17962 * dbxout.c (lastfile, cwd, dbxout_type_method_1,
17963 dbxout_symbol_location, dbxout_symbol_name, dbxout_init,
17964 dbxout_start_new_source_file, dbxout_source_file,
17965 dbxout_source_line, dbxout_finish, dbxout_type_fields,
17966 dbxout_type_methods, dbxout_symbol, dbxout_prepare_symbol):
17968 (dbxout_types, dbxout_args, dbxout_symbol): Delete prototypes.
17969 (dbxout_symbol): Mark parameter `local' with ATTRIBUTE_UNUSED.
17970 (dbxout_block): Initialize variable `blocknum'.
17972 * dbxout.h (dbxout_init, dbxout_finish,
17973 dbxout_start_new_source_file, dbxout_source_file, dbxout_types,
17974 dbxout_args, dbxout_source_line): Constify a char*.
17976 * dwarfout.c (dwarf_tag_name, dwarf_attr_name,
17977 dwarf_stack_op_name, dwarf_typemod_name, dwarf_fmt_byte_name,
17978 dwarf_fund_type_name, name_attribute, stmt_list_attribute,
17979 low_pc_attribute, high_pc_attribute, body_begin_attribute,
17980 body_end_attribute, comp_dir_attribute, sf_names_attribute,
17981 src_info_attribute, mac_info_attribute, producer_attribute,
17982 lookup_filename, generate_macinfo_entry, fundamental_type_code,
17983 dwarfout_line, dwarfout_start_new_source_file, dwarfout_define,
17984 dwarfout_undef): Constify a char*.
17985 (add_incomplete_type, retry_incomplete_types): Add prototypes.
17987 * dwarfout.h (dwarfout_define, dwarfout_undef,
17988 dwarfout_start_new_source_file, dwarfout_line): Constify a char*.
17990 1999-10-25 Gavin Romig-Koch <gavin@cygnus.com>
17992 * config/mips/mips.h (MIPS_ISA_DEFAULT): Insure it's defined.
17993 (MULTILIB_ISA_DEFAULT): New.
17994 (MULTILIB_DEFAULTS): Use it.
17995 * config/mips/mips.c (): Remove the now unnecessary definition
17996 of MIPS_ISA_DEFAULT.
17997 * config/mips/elf64.h (MULTILIB_DEFAULTS): Remove the now
17998 unnecessary definition.
18000 Mon Oct 25 22:08:35 1999 Richard Earnshaw (rearnsha@arm.com)
18002 * arm.md (pic_load_addr): Add constraints to operand 1.
18004 1999-10-25 Bruce Korb <autogen@linuxbox.com>
18006 * fixinc/genfixes: Provide a means for specifying -D options to
18009 Mon Oct 25 00:42:35 1999 Jeffrey A Law (law@cygnus.com)
18011 * arm.c (arm_override_options): Correct initialization of
18012 arm_fast_multiply, arm_arch4, arm_arch5, arm_ld_sched,
18013 arm_is_strong, and arm_is_6_or_7.
18015 * loop.c (note_set_pseudo_multiple_uses_retval): New variable.
18016 (note_set_pseudo_multiple_uses): New function.
18017 (check_dbra_loop): Use not_set_pseudo_multiple_uses to determine
18018 if a pseudo set in the loop exit is used elsewhere.
18020 Sun Oct 24 20:52:40 1999 Mark Mitchell <mark@codesourcery.com>
18022 * i386.md (mulsi3): Tweak to work with SCO OSR5 COFF assembler.
18024 Sun Oct 24 21:02:46 1999 Richard Henderson <rth@cygnus.com>
18026 * i386.md (*lea_0): Collapse addsi_0, addsi_lea_[123] into
18027 a single load-address pattern.
18029 Sun Oct 24 19:33:24 1999 Mark P. Mitchell <mark@codesourcery.com>
18031 * haifa-sched.c (schedule_insns): Don't assign LUIDs differently
18032 depending on whether or not line-number notes are present.
18034 Sun Oct 24 20:29:59 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
18036 * cccp.c (progname, file_buf, default_include, include_file,
18037 macrodef, definition, hashval, wchar_type, user_label_prefix,
18038 directive, out_fname, if_stack, safe_write, index0, get_lintcmd,
18039 expand_to_temp_buffer, is_system_include, base_name,
18040 absolute_filename, read_name_map, open_include_file,
18041 record_control_macro, check_precompiled, check_preconditions,
18042 pcfinclude, pass_thru_directive, create_definition,
18043 check_macro_name, comp_def_part, collect_expansion,
18044 check_assertion, read_token_list, assertion_install,
18045 assertion_lookup, eval_if_expression, conditional_skip,
18046 validate_else, skip_quoted_string, quote_string, macarg1,
18047 error_from_errno, install, lookup, hashf, dump_defn_1,
18048 perror_with_name, pfatal_with_name, main, trigraph_pcp,
18049 check_white_space, rescan, handle_directive, monthnames,
18050 special_symbol, do_include, remap_include_file, write_output,
18051 arglist, do_assert, do_unassert, do_line, do_error, do_once,
18052 do_ident, do_sccs, do_xifdef, skip_if_group,
18053 output_line_directive, macroexpand, macarg, change_newlines,
18054 initialize_builtins, make_definition): Constify a char*.
18056 * pcp.h (stringdef): Likewise.
18058 Sun Oct 24 13:29:28 1999 Richard Henderson <rth@cygnus.com>
18060 * unroll.c (copy_loop_body): Examine SET_DEST of single_set
18063 Sun Oct 24 13:14:20 1999 Graham <grahams@rcp.co.uk>
18064 Richard Henderson <rth@cygnus.com>
18066 * alias.c: Include ggc.h.
18067 (reg_base_value, new_reg_base_value, reg_base_value_size): Make static.
18068 (record_set): Verify enough room in reg_base_value.
18069 (init_alias_analysis): Allocate reg_base_value with xcalloc.
18070 Register it as a GC root.
18071 (end_alias_analysis): Free reg_base_value. Remove it as a GC root.
18072 * Makefile.in (alias.o): Depend on ggc.h.
18074 * unroll.c (unroll_loop): Verify the insn before a barrier
18075 is a JUMP_INSN before checking JUMP_LABEL.
18077 Sun Oct 24 15:46:44 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
18079 * mips/bsd-5.h (ASM_OUTPUT_ASCII): Constify a char*.
18080 * mips/iris4.h (ASM_OUTPUT_ASCII): Likewise.
18081 * mips/mips-5.h (ASM_OUTPUT_ASCII): Likewise.
18082 * mips/mips.h (ASM_OUTPUT_ASCII): Likewise.
18083 * mips/svr3-5.h (ASM_OUTPUT_ASCII): Likewise.
18084 * mips/svr4-5.h (ASM_OUTPUT_ASCII): Likewise.
18086 Sun Oct 24 15:35:43 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
18088 * output.h (ctors_section, dtors_section, bss_section): Prototype.
18090 * alpha/alpha-interix.h (text_section): Delete prototype.
18091 * alpha/elf.h (text_section): Likewise.
18092 * arm/linux-elf.h (text_section): Likewise.
18093 * arm/linux-telf.h (text_section): Likewise.
18094 * c4x/c4x.h (text_section): Likewise.
18095 * dsp16xx/dsp16xx.h (bss_section): Likewise.
18096 * elfos.h (text_section): Likewise.
18097 * i386/aix386ng.h (text_section): Likewise.
18098 * i386/i386-interix.h (text_section): Likewise.
18099 * i386/sco5.h (text_section): Likewise.
18100 * i386/svr3gas.h (text_section): Likewise.
18101 * nextstep.h (text_section): Likewise.
18102 * psos.h (text_section): Likewise.
18103 * ptx4.h (text_section): Likewise.
18104 * svr3.h (text_section): Likewise.
18105 * svr4.h (text_section, ctors_section, dtors_section): Likewise.
18107 Sun Oct 24 15:20:59 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
18109 * final.c (peephole): Delete prototype.
18111 * gcse.c (process_insert_insn, pre_edge_insert): Add prototypes.
18112 (pre_insert_copies): Remove unused variable `bb'.
18114 * genrecog.c (debug_decision_0, debug_decision_list, main): Add
18117 * output.h (peephole): Add prototype.
18119 Sun Oct 24 11:35:30 1999 Mark P. Mitchell <mark@codesourcery.com>
18121 * config/mips/iris6.h (SUBTARGET_ASM_OPTIMIZING_SPEC): Define to
18124 Sat Oct 23 21:13:00 1999 Mark Mitchell <mark@codesourcery.com>
18126 * integrate.c (integrate_decl_tree): Tweak setting of DECL_CONTEXT
18127 for inlined declarations.
18129 Fri Oct 22 18:05:43 1999 Jeffrey A Law (law@cygnus.com)
18131 * arm.c (logical_binary_operator): New fucntion.
18132 * arm.h (logical_binary_operator): Declare it.
18133 (PREDICATE_CODES): Handle logical_binary_operator.
18134 * arm.md (anddi3, anddi_zesidi_di, anddi_sesdi_di): Use "#" for
18135 output constraints. Add appropriate splitters.
18136 (anddi_notdi_di, anddi_notzesidi_di, anddi_notsesidi_di): Likewise.
18137 (iordi3, iordi_zesidi_di, iordi_sesidi_di): Likewise.
18138 (xordi3, xordi_zesidi_di, xordi_sesidi_di): Likewise.
18140 Fri Oct 22 23:46:50 1999 Bernd Schmidt <bernds@cygnus.co.uk>
18142 * genoutput.c (struct operand_data): New elt eliminable.
18143 (output_operand_data): Write it.
18144 (scan_operands): Set it for MATCH_OPERAND, clear for other matchers.
18145 (compare_operands): Take it into account.
18146 * recog.h (struct insn_operand_data): New elt eliminable.
18147 * reload1.c (check_eliminable_occurrences, elimination_effects): New
18149 (old_asm_operands_vec, new_asm_operands_vec): Delete.
18150 (eliminate_regs): Move code that detects changes to elimination
18151 target regs into new function elimination_effects.
18152 Delete one #if 0 block.
18153 Abort for USE, CLOBBER, ASM_OPERANDS and SET.
18154 (eliminate_regs_in_insn): Return immediately for USEs, CLOBBERs,
18155 ADDR_VECs, ADDR_DIFF_VECs and ASM_INPUTs.
18156 Only call eliminate_regs for real operands of the insn, not for parts
18157 of its structure or parts matched by things like match_operator.
18158 Use elimination_effects and check_eliminable_occurrences. Use
18159 copy_insn to duplicate the pattern when not in the final pass.
18161 Fri Oct 22 09:03:44 1999 Mark Mitchell <mark@codesourcery.com>
18163 * i386.md: Add missing `y' modifiers to uses of fst, fstp, fld,
18166 1999-10-22 Bruce Korb <autogen@linuxbox.com>
18168 * fixinc/README: document the "mach" machine matching test
18169 * fixinc/fixfixes.c: Implement the #else/#endif label fix
18170 * fixinc/fixtests.c: Implement the #else/#endif label test
18171 * fixinc/inclhack.def: utilize these tests and fixes
18172 * fixinc/inclhack.sh: regen
18173 * fixinc/fixincl.x: regen
18174 * fixinc/fixincl.sh: regen
18176 Thu Oct 21 20:37:19 1999 Jeffrey A Law (law@cygnus.com)
18178 * Makefile.in (cse.o): Depend on hashtab.h, not splay-tree.h. Also
18181 Thu Oct 21 20:30:19 1999 Matthias Klose <doko@debian.org>
18183 * gcc.1: Document exit codes.
18185 Thu Oct 21 12:49:05 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
18187 * calls.c: Include tm_p.h later, so everything we need is defined.
18188 * expr.c: Likewise.
18189 * function.c: Likewise.
18191 * except.c: Include tm_p.h.
18193 * sparc.c: Likewise.
18194 (dwarf2out_cfi_label): Don't prototype.
18195 (check_return_regs, epilogue_renumber,
18196 ultra_cmove_results_ready_p, ultra_fpmode_conflict_exists,
18197 ultra_find_type, ultra_build_types_avail, ultra_flush_pipeline,
18198 ultra_rescan_pipeline_state, set_extends, ultra_code_from_mask,
18199 ultra_schedule_insn): Add static prototype.
18200 (data_segment_operand, text_segment_operand): Call itself with the
18201 proper number of arguments.
18202 (sparc_flat_save_restore, sparc_v8plus_shift): Constify a char*.
18204 * sparc.h: Move all declarations to sparc-protos.h.
18205 (SELECT_RTX_SECTION): Pass a missing MODE argument to
18208 * sparc/sysv4.h (SELECT_RTX_SECTION): Likewise.
18210 * config/svr4.h (text_section, ctors_section, dtors_section): Add
18212 (ASM_OUTPUT_SECTION_NAME, UNIQUE_SECTION,
18213 ASM_FINISH_DECLARE_OBJECT, ASM_OUTPUT_LIMITED_STRING,
18214 ASM_OUTPUT_ASCII): Constify a char*.
18216 * sparc-protos.h: New file for sparc prototypes.
18218 Thu Oct 21 12:23:40 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
18220 * function.c (record_insns, contains): Always declare and define.
18221 (record_insns): Mark with ATTRIBUTE_UNUSED.
18223 Thu Oct 21 13:03:49 1999 Jonathan Larmour <jlarmour@cygnus.co.uk>
18225 * config/arm/telf.h (ASM_OUTPUT_SECTION_NAME): Add %nobits option
18226 to .section when outputting a .bss section to deal with multiple
18227 .bss input sections (as happens with -fdata-sections)
18228 Also output %progbits, not @progbits so the assembler doesn't treat as
18230 * config/arm/unknown-elf.h (ASM_OUTPUT_SECTION_NAME): Likewise
18232 * config/arm/lib1funcs.asm (_call_via_rX): Allow compilation of
18233 thumb parts even when building with non-thumb CPUs, by forcing
18236 Wed Oct 20 22:57:58 1999 Jeffrey A Law (law@cygnus.com)
18238 * sparc.md (movsf_const_intreg): If splitting, length must be > 1.
18239 (movdf_const_intreg_sp64): Similarly.
18241 * local-alloc.c (update_equiv_regs): Check the correct insn
18242 for pre-existing REG_EQUIV notes.
18244 Wed Oct 20 20:41:46 1999 Mark Mitchell <mark@codesourcery.com>
18246 * cse.c (cse_end_of_basic_block): Don't return the end of a basic
18247 block reached by a branch if we're not going to actually process
18250 Wed Oct 20 15:18:42 1999 Jim Wilson <wilson@cygnus.com>
18252 * integrate.c (integrate_decl_tree): Set DECL_CONTEXT to 0 if this is
18253 a local extern function declaration.
18255 Wed Oct 20 13:56:01 1999 Richard Henderson <rth@cygnus.com>
18257 * i386.c (ix86_expand_prologue): Properly wrap USE around
18258 reg for CALL_INSN_FUNCTION_USAGE.
18260 Thu Oct 14 18:51:37 1999 Andrew Haley <aph@cygnus.com>
18262 * config/mips/mips.md (movdf_internal1a): Allow floating-point
18263 move between GP_REGs.
18265 Wed Oct 20 15:36:11 1999 Andrew Haley <aph@cygnus.com>
18267 * config/arm/thumb.h (GO_IF_LEGITIMATE_ADDRESS): Take account of
18268 the mode size when finding out if an offset is legal.
18270 Wed Oct 20 06:26:58 1999 Richard Henderson <rth@cygnus.com>
18272 * basic-block.h (PROP_*): Move constants from ...
18273 * flow.c: ... here.
18274 (compute_bb_for_insn): Free the array before reallocating.
18275 (update_life_info): New arg PROP_FLAGS; pass on to propagate_block.
18276 (allocate_reg_life_data): Reset all reg variables collected by
18278 (get_block_head_tail): Don't convert from bb to block.
18279 (get_bb_head_tail): New. Update all callers of get_block_head_tail.
18280 (find_insn_reg_weight): Take block not bb.
18281 (schedule_block): Don't set block num for moved insns.
18282 (schedule_region): Don't update_life_info or find_insn_reg_weight.
18283 (schedule_insns): Do it here instead.
18284 * combine.c (combine_instructions): Invoke compute_bb_for_insn
18285 before update_life_info.
18286 * recog.c (split_all_insns, peephole2_optimize): Update for
18287 new arg to update_life_info.
18288 * rtlanal.c (remove_note): Cope with NULL note.
18289 * toplev.c (rest_of_compilation): Don't invoke recompute_reg_usage
18292 Wed Oct 20 10:46:41 1999 Richard Earnshaw (rearnsha@arm.com)
18294 * jump.c (jump_optimize_1): More accurately detect casesi insns.
18296 * flow.c (merge_blocks_move_predecessor_nojumps): Re-order the basic
18297 block records so that merge_blocks_nomove will clean up correctly.
18298 (split_edge): Handle casesi insns.
18300 * gcc-page.c: Try MAP_ANON if we don't have MAP_ANONYMOUS.
18302 Tue Oct 19 23:43:50 1999 Jeffrey A Law (law@cygnus.com)
18304 * pa.md (call, call_value): Do not emit a blockage after restoring
18307 Tue Oct 19 17:22:39 1999 Mark Mitchell <mark@codesourcery.com>
18309 * c-typeck.c (c_expand_asm_operands): Fix typo.
18311 Tue Oct 19 18:42:58 1999 Bernd Schmidt <bernds@cygnus.co.uk>
18313 * arm.c (fpu_rhs_operand): Verify modes.
18314 (fpu_add_operand): Likewise.
18315 (di_operand): Likewise.
18316 (soft_df_operand): Likewise.
18318 Tue Oct 19 15:26:11 1999 Richard Earnshaw (rearnsha@arm.com)
18320 * arm.c (arm_return_in_memory): APCS rules state that the elements
18321 of a structure returned in a register must be 'integer-like'.
18323 1999-10-19 Bruce Korb <autogen@linuxbox.com>
18325 * fixinc/Makefile.in: Change the generation rules to run `genfixes'
18326 in the source tree when the generated targets are out of date
18327 * fixinc/genfixes: Alter it to run individual fixes for make.
18328 * fixinc/README: rewrite
18329 * fixinc/inclhack.def: moved initial comments to README
18331 Tue Oct 19 14:01:34 1999 Nick Clifton <nickc@cygnus.com>
18333 * toplev.c (main): Do not generate an error message if an
18334 unrecognised command line switch is recognisable by another
18335 language. If extra_warnings are enabled, then generate a
18336 warning message instead.
18338 Tue Oct 19 11:41:12 1999 Mumit Khan <khan@xraylith.wisc.edu>
18340 * c-pragma.h (PRAGMA_INSERT_ATTRIBUTES): Delete macro.
18341 (insert_pack_attributes): Delete prototype.
18343 * c-pragma.c (default_alignment): New static variable.
18344 (push_alignment): Initialize to current effective alignment.
18345 (pop_alignment): Use to set new alignment.
18346 (insert_pack_attributes): Delete function.
18347 (handle_pragma_token): Set default_alignment as well each time
18348 a #pragma pack(<n>) is encountered.
18350 Tue Oct 19 02:03:00 1999 Jeffrey A Law (law@cygnus.com)
18352 * reg-stack.c (stack_result): Aggregates are not returned in
18355 Tue Oct 19 01:26:48 1999 Alasdair Baird <alasdair@wildcat.demon.co.uk>
18357 * fold-const.c (fold): Fix thinko in x+(-0) -> x transformation.
18359 Mon Oct 18 15:19:41 1999 Richard Henderson <rth@cygnus.com>
18361 * basic-block.h (set_block_num): Declare.
18362 * flow.c (update_life_info): Don't call compute_bb_for_insn
18363 or free_basic_block_vars.
18364 * haifa-sched.c (remove_dependence): Conditionalize on HAVE_cc0.
18365 (insn_orig_block): Remove.
18366 (INSN_BLOCK): Remove. Update all callers to use BLOCK_NUM.
18367 (schedule_block): Keep BLOCK_NUM up-to-date.
18368 (schedule_insns): Use compute_bb_for_insn.
18369 * recog.c (split_all_insns): Likewise.
18370 (peephole2_optimize): Likewise.
18372 Mon Oct 18 18:50:51 1999 Andreas Schwab <schwab@suse.de>
18374 * config/m68k/m68k.h (INITIAL_FRAME_POINTER_OFFSET): Add one word
18375 if the pic register is used.
18377 Mon Oct 18 02:38:46 1999 Bernd Schmidt <bernds@cygnus.co.uk>
18379 * c-decl.c (pushdecl): Use TYPE_CONTEXT rather than TREE_PERMANENT.
18380 (finish_decl): Duplicate test for TREE_ASM_WRITTEN in else branch of
18381 if that tests TREE_PERMANENT.
18383 Mon Oct 18 01:41:35 1999 Jeffrey A Law (law@cygnus.com)
18385 * cse.c (invalidate_for_call): Do not remove memory references from
18386 the table here. It's handled elsewhere.
18388 * haifa-sched.c (add_dependence): Protect references to the
18389 true dependency cache with #ifdef INSN_SCHEDULING.
18390 (remove_dependence): Similarly.
18392 * mn10200.md (outline_epilogue_jump): Embed a (return) to indicate
18393 to the cfg code that this is a return instruction.
18394 * mn10300.md (return_internal): Similarly.
18396 * combine.c (get_last_value): If the last set of a register
18397 is after subst_low_cuid, then we can not use it to determine
18398 the register's last value.
18400 Sun Oct 17 11:02:52 1999 Mark Mitchell <mark@codesourcery.com>
18402 * Makefile.in: Back out previous change.
18404 Sun Oct 17 15:22:50 1999 Jeffrey A Law (law@cygnus.com)
18406 * pa.c (move_operand): Reject (lo_sum (reg) (unspec ...)).
18408 * haifa-sched.c (add_dependence): Only check/update the cache
18410 (remove_dependence): Likewise.
18411 (schedule_insns): Only create the true_dependency_cache if the
18412 average number of instructions in a basic block is very large.
18414 Sun Oct 17 11:02:52 1999 Mark Mitchell <mark@codesourcery.com>
18416 * Makefile.in (ggc-common.o): Depend on genrtl.h.
18417 (ggc-simple.o): Likewise.
18418 (ggc-page.o): Likewise.
18420 Sun Oct 17 02:09:50 1999 Andrew MacLeod <amacleod@cygnus.com>
18422 * basic-block.h (pre_edge_lcm, pre_edge_rev_lcm, compute_available):
18423 Prototype for exported functions.
18424 (pre_lcm, pre_rev_lcm): Remove prototypes.
18425 * gcse.c (compute_ae_kill): Add ae_gen and ae_kill as parameters.
18426 (compute_available): Move to lcm.c, and change parameter order.
18427 (one_classic_gcse_pass): Call compute_ae_kill with parameters.
18428 (pre_insert, s_preds, s_succs, num_preds, num_succs): Delete.
18429 (gcse_main): No longer call compute_preds_succs. Rebuild the
18430 set table after reach pre pass.
18431 (pre_insert_map, pre_delete_map, edge_list): New.
18432 (alloc_pre_mem): Allocate edge vectors.
18433 (free_pre_mem): Delete edge vectors.
18434 (compute_pre_data): Call new edge based lcm routines.
18435 (process_insert_insn): New function.
18436 (insert_insn_end_bb): Use it.
18437 (pre_edge_insert): New function.
18438 (pre_insert_copy_insn): Formatting fixes. Update BLOCK_END as
18440 (pre_insert_copies): Revamp using new edge based lcm outputs.
18441 (pre_delete): Likewise.
18442 (one_pre_gcse_pass): Insert & remove fake edges to the exit
18444 (compute_code_hoist_vbeinout): New new edge based routines.
18445 * lcm.c: Remove all the old LCM functions. Replace with new ones
18446 that work with the new cfg datastructures and work with edges
18449 Sun Oct 17 00:44:17 1999 Bernd Schmidt <bernds@cygnus.co.uk>
18451 * reload.h (struct reload): Add new fields "mode" and "nregs".
18452 * reload1.c: Change all occurrences of reload_mode and reload_nregs
18453 to reference the "mode" and "nregs" field within struct reload.
18455 Sat Oct 16 21:50:28 1999 Jeffrey A Law (law@cygnus.com)
18457 * haifa-sched.c (true_dependency_cache): New.
18458 (add_dependence): Use the true dependency cache to avoid expensive
18459 walks down the LOG_LINKS dependency list. Add entries to the
18460 cache as necessary.
18461 (remove_dependence): Remove entries from the true dependency cache
18463 (schedule_insns): Allocate and initialize and free the true
18466 * haifa-sched.c (schedule_insns): Do not remove inter-block
18467 dependencies anymore.
18469 Sat Oct 16 11:19:52 1999 Richard Henderson <rth@cygnus.com>
18471 * i386/t-cygwin (winnt.o): Depend on RTL_H and TREE_H.
18472 * i386/t-winnt: Likewise.
18474 Sat Oct 16 11:11:54 1999 Richard Henderson <rth@cygnus.com>
18476 * ggc-page.c (init_ggc): Work around SunOS unaligned mmap bug.
18478 1999-10-16 Manfred Hollstein <mhollstein@cygnus.com>
18480 * Makefile.in (LANGUAGES): Omit "proto".
18481 (clean): Remove stale comment about removing unprotoize.c.
18483 Sat Oct 16 11:29:14 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
18485 * protoize.c (safe_read, safe_write): Avoid the gcc extension of
18486 using arithmetic on void pointers.
18488 Sat Oct 16 02:48:22 1999 Jeffrey A Law (law@cygnus.com)
18490 * haifa-sched.c (compute_block_forward_dependencies): Only check
18491 for notes, deleted insns and duplicates if ENABLE_CHECKING is defined.
18493 Sat Oct 16 00:07:01 1999 Richard Henderson <rth@cygnus.com>
18495 * gcse.c (hash_expr_1): Add in MEM_ALIAS_SET.
18496 (expr_equiv_p): Reject memories with different alias sets.
18498 Fri Oct 15 15:17:29 1999 Greg McGary <gkm@gnu.org>
18500 * flags.h (flag_bounds_check, flag_bounded_pointers): New extern decls.
18501 * toplev.c (flag_bounds_check, flag_bounded_pointers): New flags.
18502 (f_options): Add "bounded-pointers" and "bounds-check" entries.
18503 * c-lang.c (lang_init_options): Set flag_bounds_check as "unspecified".
18504 (lang_init): Set default for flag_bounds_check if still "unspecified".
18506 Sat Oct 16 13:42:29 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
18508 * config/c4x/c4x.md (HF mode patterns): Add missing modes.
18510 Sat Oct 16 13:37:46 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
18512 * config/c4x/c4x.md (movstrqi_small): Utilise parallel move
18515 Sat Oct 16 13:26:47 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
18517 * config/c4x/c4x.md (*db_noclobber,
18518 *decrement_and_branch_until_zero_noclobber): New patterns and
18519 associated splitters.
18521 Sat Oct 16 13:13:15 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
18523 * config/c4x/c4x.md (parallel instruction patterns): Rework
18524 constraints to keep reload happy.
18526 Sat Oct 16 13:03:16 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
18528 * config/c4x/c4x.md (*absqi2_noclobber, *negqi2_noclobber,
18529 *one_cmplqi2_noclobber, *subqi3_noclobber, *andqi3_255_noclobber,
18530 *andqi3_65535_noclobber, *andnqi3_noclobber, *xorqi3_noclobber):
18531 Add new patterns and associated post-reload splitters.
18533 Sat Oct 16 12:42:12 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
18535 * config/c4x/c4x.c (c4x_emit_libcall): Use ggc_alloc_string.
18537 Sat Oct 16 12:34:44 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
18539 * config/c4x/c4x.c (c4x_rptb_insert): Emit rpts_top pattern
18541 * config/c4x/c4x.md (rpts_top): New pattern and splitter.
18543 Sat Oct 16 12:26:30 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
18545 * config/c4x/c4x.c (src_operand): Check SYMBOL_REF and LABEL_REF
18548 Fri Oct 15 17:02:09 1999 Jeffrey A Law (law@cygnus.com)
18550 * pa.c (move_operand): Rely on memory_address_p to determine the
18551 validity of non-indexed memory addresses.
18552 * pa.h (GO_IF_LEGITIMATE_ADDRESS): Allow LO_SUM with a symbolic
18553 operand in DFmode and SFmode when generating PA2.0 code.
18555 Fri Oct 15 14:25:19 1999 Richard Henderson <rth@cygnus.com>
18557 * print-rtl.c (print_rtx): Limit last 'u' change to LABEL_REF.
18559 Fri Oct 15 13:48:45 1999 Richard Henderson <rth@cygnus.com>
18561 * mips.c (function_prologue): Fix argument types.
18562 * mips.md (casesi): Use emit_jump_insn for casesi_internal.
18563 (casesi_internal): Write to the scratch register.
18565 1999-10-15 11:16 -0700 Zack Weinberg <zack@bitmover.com>
18567 * cppexp.c (cpp_parse_escape): Make static. Change second arg
18569 (parse_charconst): Delete unnecessary cast when calling
18571 (cpplib.h): Kill prototype of cpp_parse_escape.
18573 Fri Oct 15 11:02:46 1999 Richard Henderson <rth@cygnus.com>
18575 Based on patch from Michael Gschwind <mikeg@watson.ibm.com>:
18576 * unroll.c (unroll_loop): Cast return value of alloca.
18577 * i370/i370.c: Include function.h and toplev.h.
18578 (i370_label_scan): Remove c++ commented abort.
18579 * i370/i370.h (HANDLE_PRAGMA): Takes three arguments.
18580 (ASM_OUTPUT_LABELREF): Fix TOUPPER/else broken 16 Sept.
18581 * i370/xm-i370.h (HOST_BITS_PER_LONGLONG): Define.
18582 * i370/xm-mvs.h, i370/xm-oe.h: Likewise.
18584 Fri Oct 15 03:01:01 1999 Loren Rittle <ljrittle@acm.org>
18586 * config/t-freebsd: Do not override USER_H.
18587 * ginclude/stddef.h: Generalize check for _MACHINE_ANSI_H_.
18589 Fri Oct 15 02:37:28 1999 Alastair J. Houghton <ajh8@doc.ic.ac.uk>
18590 Mumit Khan <khan@xraylith.wisc.edu>
18592 * c-parse.in (component_decl): Support anonymous struct/union.
18594 * c-parse.y: Regenerate.
18595 * c-parse.c: Likewise.
18596 * objc/objc-parse.y: Likewise.
18597 * objc/objc-parse.c: Likewise.
18598 * c-decl.c (finish_struct): Don't sort the fields.
18599 (field_decl_cmp): Delete unused function.
18601 Fri Oct 15 01:20:52 1999 Richard Henderson <rth@cygnus.com>
18603 * sparc.md (movsf_const_intreg): Revert last constraint change.
18604 (movdf_const_intreg_sp32): Likewise.
18606 Fri Oct 15 01:47:51 1999 Vladimir Makarov <vmakarov@loony.cygnus.com>
18608 * cse.c: Include hashtab.h instead of splay-tree.h
18609 (struct cse_reg_info): No longer use variant union. Add new
18610 field "regno". All references changed to avoid union.
18611 (cse_reg_info_used_list, cse_reg_info_used_list_end): New variables.
18612 (free_cse_reg_info): Remove.
18613 (hash_cse_reg_info, cse_reg_info_equal_p): New functions.
18614 (get_cse_reg_info): Revamp to use expandable hash tables instead
18615 of splay trees. Initialize new fields in cse_reg_info structure.
18616 (new_basic_block): Similarly.
18618 Thu Oct 14 23:51:56 1999 Richard Henderson <rth@cygnus.com>
18620 * genrecog.c (message_with_line): Prototype.
18621 (validate_pattern): Pass along the set for the dest, not a flag.
18622 Fix non-lvalue message. Don't warn for VOIDmode SET_DEST of CALL.
18623 Check for PC/CC0 as sources.
18624 (nodes_identical): Check for children position match before
18625 allowing the combination.
18627 * rtl.c (read_rtx): Track line number across \\\n.
18629 Thu Oct 14 23:50:25 1999 Richard Henderson <rth@cygnus.com>
18631 * mips.h (SPECIAL_MODE_PREDICATES): New.
18632 * mips.md (*) Use nonimmediate_operand not general_operand for outputs.
18633 (movdi+1, movsi+1): Add output reload constraint.
18634 (casesi_internal): Likewise. Fix commentary.
18635 (return_internal): Use pmode_register_operand.
18637 Thu Oct 14 23:19:34 1999 Richard Henderson <rth@cygnus.com>
18639 * 1750a.md (movstrqi): Add missing output reload constraint.
18640 (call_value): Likewise.
18641 * a29k.md (cpxxx patterns): Add missing match_operator mode.
18642 (jmpfdec): Add missing inout reload constraint.
18643 * elxsi.md (addsi patterns): Add missing output reload constraint.
18644 (move from sp): Use @ alternates.
18645 (call_value): No constraint on output.
18646 * fr30.md (movsi_pop): Add missing output reload constraint.
18647 (movsf_constant_store): Likewise.
18648 (splits): Remove constraints.
18649 (subsi3): Add missing mode.
18650 * i370.md (cmpstrsi+1): Add missing output reload constraint.
18651 (call_value): Likewise.
18652 * i960.md (cmpinc/cmpdec patterns): Add inout reload constraints.
18653 * m32r.h (PREDICATE_CODES): Add seth_add3_operand.
18654 * m32r.md (movsicc_internal): Add output reload constraint.
18655 (movstrsi_internal): Add inout reload constraints.
18656 * m88k.h (reg_names): Don't declare.
18657 (SPECIAL_MODE_PREDICATES): New.
18658 * m88k.md (*): Use register_operand not reg_or_0_operand
18660 * mn10200.h (PREDICATE_CODES): New.
18661 * ns32k.md (ffs pattern): Add output reload constraint.
18662 * pdp11.md (sob pattern): Add inout reload constraint.
18663 * sh.md (splits): Remove constraints.
18664 (indirect_jump_scratch, fpu_switch): Add output reload constraint.
18665 * v850.md (pattern_is_ok_for_epilogue): Likewise.
18666 * vax.md (jgequ pattern): Add inout reload constraint.
18668 Fri Oct 15 00:05:00 1999 Jeffrey A Law (law@cygnus.com)
18670 * configure.in (djgpp): Revert previous patch.
18671 * configure: Rebuit.
18672 * config/i386/djgpp.h: Revert previous patch.
18674 Fri Oct 15 00:00:24 1999 Loren J. Rittle <ljrittle@acm.org>
18676 * fixinc/inclhack.def: Restore patch lost during last merge of
18677 "no_bogosity" branch.
18678 * fixinc/inclhack.sh, fixinc/fixincl.x: Rebuilt.
18680 Thu Oct 14 23:57:56 1999 Gavin Romig-Koch <gavin@cygnus.com>
18682 * fixincludes: Add a HPUX 11 fix for inttypes.h.
18683 * fixinc/inclhack.def: Same.
18684 * fixinc/inclhack.sh, fixinc/fixincl.sh, fixinc/fixincl.x: Regenerate.
18686 Thu Oct 14 22:51:55 1999 Richard Henderson <rth@cygnus.com>
18688 * alpha.h (GO_IF_LEGITIMATE_SIMPLE_ADDRESS): Accept ADDRESSOF
18689 as the base of a PLUS.
18691 Fri Oct 15 18:36:07 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
18693 * config/c4x/c4x.md: Define mode for remaining unspec operators.
18694 * config/c4x/c4x.c (dst_operand): Use nonimmediate_operand.
18696 Thu Oct 14 22:14:23 1999 Richard Henderson <rth@cygnus.com>
18698 * pa.md (post_stw+1): Use pmode_register_operand.
18699 (dcacheflush, icacheflush): Likewise.
18701 * i386.md (movstricthi_1): Allow r/r.
18703 Thu Oct 14 19:44:08 1999 Jan Hubicka <hubicka@freesoft.cz>
18705 * fold-const.c (fold): Convert (or (not arg0) (not arg1))
18706 to (not (and (arg0) (arg1))). Similary for and.
18708 * fold-const.c (fold): Move bit_rotate code to the EXPR_PLUS case,
18709 fallthrough to associate code.
18710 Convert XOR to OR in code like (a&c1)^(a&c2) where c1 and c2 don't have
18713 * combine.c (simplify_logical): Convert XOR to IOR if operands have
18714 no bits in common; remove XOR to ROTATE conversion.
18716 Fri Oct 15 17:40:11 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
18718 * config/c4x/c4x.h (c4x_va_start, c4x_va_arg): Declare.
18720 Fri Oct 15 17:27:17 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
18722 * config/c4x/c4x.c (dst_operand): New.
18723 (PREDICATE_CODES): Update.
18724 * config/c4x/c4x.h (dst_operand): Declare it.
18725 * config/c4x/c4x.md: Define mode for each unspec usage.
18726 (move patterns): Use dst_operand predicate instead of src_operand.
18727 (movqi_update, movqf_update): Delete.
18729 Thu Oct 14 18:48:54 1999 Richard Henderson <rth@cygnus.com>
18731 * recog.c (pmode_register_operand): New.
18732 * recog.h: Declare it.
18733 * genrecog.c (pred_codes): Likewise.
18734 (special_mode_pred_table): Likewise.
18735 (validate_pattern): Don't warn no mode for address_operand.
18737 * print-rtl.c (print_rtx) [LABEL_REF]: Only do full subexpression
18738 if the operand is not insn-like.
18740 Thu Oct 14 19:38:42 1999 Jeffrey A Law (law@cygnus.com)
18741 Sylvian Pion <Sylvain.Pion@sophia.inria.fr>
18743 * fold-const.c (fold): Handle more simplifications allowed by IEEE.
18745 Thu Oct 14 17:30:14 1999 Richard Henderson <rth@cygnus.com>
18747 * sparc.md (*): Use {nonimmediate,register}_operand as appropriate
18748 instead of general_operand in a SET_DEST. Use const_double_operand
18749 instead of an explicit test against CONST_DOUBLE.
18750 (movsf_const_lo): Add missing register mode.
18751 (goto_handler_and_restore): Add auxiliary test for Pmode.
18752 (flush): Adjust to use address_operand.
18753 (return_sf_no_fpu): Add missing output constraint.
18755 Thu Oct 14 17:21:26 1999 Richard Henderson <rth@cygnus.com>
18757 * rs6000.md (call_value_indirect_aix32): Use wildcard match_operand
18758 for call return value.
18759 (call_value_indirect_aix64, call_value_indirect_nt): Likewise.
18761 Thu Oct 14 13:54:25 1999 Jason Merrill <jason@yorick.cygnus.com>
18763 * toplev.c (main): Only warn about options for other languages.
18764 * collect2.c (main): Pass -w to sub-gcc.
18766 Thu Oct 14 16:27:50 1999 Richard Henderson <rth@cygnus.com>
18768 * flow.c (propagate_block): Add call-clobbered registers to
18771 * flow.c (propagate_block): Use free_EXPR_LIST_list instead of
18772 zapping mem_set_list.
18773 (invalidate_mems_from_autoinc): Use free_EXPR_LIST_node.
18774 (mark_set_1, mark_used_regs): Likewise.
18776 Thu Oct 14 10:51:49 1999 Richard Henderson <rth@cygnus.com>
18778 * m68k.md (zero_extendsidi2): Add missing output reload constraint.
18780 Wed Oct 13 00:09:18 1999 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
18782 * invoke.texi: Label -Wbad-function-cast, -Wmissing-prototypes,
18783 -Wnested-externs, -Wstrict-prototypes, and -Wtraditional as C only
18784 options. Also add a new item "C-only Warning Options" to the
18787 1999-10-14 Gavin Romig-Koch <gavin@cygnus.com>
18789 * libgcc2.c (__do_global_dtors): Protect __deregister_frame_info
18790 from multiple calls.
18792 Thu Oct 14 04:54:54 1999 Richard Henderson <rth@cygnus.com>
18794 * i386.md (call value patterns): Move to the end of the file.
18795 (prologue_set_got, prologue_get_pc): Use register_operand for op 0.
18797 1999-10-14 Mark Elbrecht <snowball3@bigfoot.com>
18799 * configure.in (djgpp configuration): Define extra_objects..
18800 * configure: Rebuilt.
18801 * config/i386/djgpp.h (CTORS_SECTION_ASM_OP): Define.
18802 (DTORS_SECTION_ASM_OP): Define.
18803 (INIT_SECTION_ASM_OP): Define.
18804 (FINI_SECTION_ASM_OP): Define.
18805 (DATA_SECTION_ASM_OP): Define.
18806 (TEXT_SECTION_ASM_OP): Define.
18807 (EH_FRAME_SECTION_ASM_OP): Define.
18808 (LINK_COMMAND_SPEC): Remove -Tdjgpp.djl.
18809 (STARTFILE_SPEC): Add crtbegin.o.
18810 (ENDFILE_SPEC): Define and add crtend.o. Move argument -Tdjgpp.djl
18811 to here from LINK_COMMAND_SPEC.
18812 (DO_GLOBAL_CTORS_BODY): Define.
18813 (CRTSTUFF_USE_FINI_SECTION): Define
18814 (HAS_INIT_SECTION): Delete.
18816 Thu Oct 14 05:08:14 1999 Andreas Schwab <schwab@suse.de>
18818 * Makefile.in (all.cross): Depend on xcpp$(exeext).
18820 Thu Oct 14 04:00:40 1999 Richard Henderson <rth@cygnus.com>
18822 * pa.h (PREDICATE_CODES): New.
18824 * genrecog.c (validate_pattern): Condense the destination
18825 non-lvalue message.
18827 Thu Oct 14 03:23:08 1999 Richard Henderson <rth@cygnus.com>
18829 * alpha.md (call-1): Supply missing mode for operator.
18830 (*): Add missing output reload constraints. Remove constraints
18831 from define_splits.
18833 * i386.h (SPECIAL_MODE_PREDICATES): New.
18834 * i386.md (movstricthi_1): Use nonimmediate_operand for op 0.
18835 (movqi_1, movdi_1, movdi_2, some splits): Likewise.
18836 (addsi_lea_3): Add missing mode for op 3.
18837 (prologue_set_got, prologue_get_pc): Add missing modes.
18838 (*) Add missing output reload constraints.
18840 Thu Oct 14 03:59:57 1999 Stephane Carrez <stcarrez@worldnet.fr>
18842 * stor-layout.c (layout_union): Use HOST_WIDE_INT for const_size;
18843 check for member bit-size overflow and use var_size if it occurs.
18844 (layout_record): Use bitsize_int() to define the type size in bits.
18845 Likewise for computation and assignment to DECL_FIELD_BITPOS.
18846 (layout_decl): Likewise when assigning to DECL_SIZE.
18848 Thu Oct 14 02:57:05 1999 Richard Henderson <rth@cygnus.com>
18850 * genrecog.c (validate_pattern): Typo last change. Verify
18851 that output operands have output reloads.
18853 Thu Oct 14 01:49:54 1999 Richard Henderson <rth@cygnus.com>
18855 * genrecog.c (special_mode_pred_table): New.
18856 (NUM_SPECIAL_MODE_PREDS): New.
18857 (find_operand): New.
18858 (validate_pattern): New argument `insn'. Warn for assignment to
18859 any predicate accepting non-lvalues. Conditionaly warn for
18860 match_operand without a mode. Try much harder to match source
18861 and destination modes on a set.
18862 * tm.texi (SPECIAL_MODE_PREDICATES): Document.
18864 Thu Oct 14 02:54:13 1999 Jeffrey A Law (law@cygnus.com)
18866 * fold-const.c (fold): Detect rotates built from BIT_XOR_EXPRs.
18868 Thu Oct 14 02:18:19 1999 Marc Espie <espie@cvs.openbsd.org>
18870 * combine.c (simplify_logical): Recognize xor pattern that encodes
18873 Wed Oct 13 23:23:45 1999 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
18875 * rs6000.c (expand_block_move): Use INTVAL, not XINT to access
18878 Wed Oct 13 21:47:18 1999 Richard Henderson <rth@cygnus.com>
18880 * ggc-page.c (MAP_FAILED): Provide default.
18882 Wed Oct 13 21:41:59 1999 Richard Henderson <rth@cygnus.com>
18884 * sparc.c (symbolic_operand): Verify mode; don't accept CONST_DOUBLE.
18885 * sparc.h (PREDICATE_CODES): Update.
18887 Wed Oct 13 21:18:17 1999 Richard Henderson <rth@cygnus.com>
18889 * alpha.c (some_ni_operand): New.
18890 * alpha-protos.h: Declare it.
18891 * alpha.h (PREDICATE_CODES): Update.
18892 * alpha.md (sXaddq reload insns): Use some_ni_operand
18893 for SET_DEST instead of some_operand.
18895 Wed Oct 13 21:04:45 1999 Richard Henderson <rth@cygnus.com>
18896 Jim Wilson <wilson@cygnus.com>
18898 * genrecog.c (maybe_both_true_2): Don't compare modes of
18900 (process_tree): Elide peephole2_insns. Invoke simplify_tests
18901 after find_afterward.
18902 (debug_decision_1): Dump next and afterward codes.
18904 Wed Oct 13 20:35:16 1999 Richard Henderson <rth@cygnus.com>
18906 * rtl.c (dump_and_abort): Remove.
18907 (fatal_with_file_and_line): New.
18908 (fatal_expected_char): New.
18909 (read_rtx_lineno, read_rtx_filename): New.
18910 (read_skip_spaces): Track line number.
18911 (read_name): Use fatal_with_file_and_line.
18912 (read_rtx): Use fatal_expected_char. Track line number.
18913 * rtl.h (read_rtx_filename, read_rtx_lineno): Declare.
18915 * print-rtl.c (print_rtx): Don't special case LABEL_REF argument
18916 if it isn't a CODE_LABEL.
18918 * genattr.c (main): Set read_rtx_filename.
18919 * genattrtab.c (main): Likewise.
18920 * gencodes.c (main): Likewise.
18921 * genconfig.c (main): Likewise.
18922 * genemit.c (main): Likewise.
18923 * genextract.c (main): Likewise.
18924 * genflags.c (main): Likewise.
18925 * genopinit.c (main): Likewise.
18926 * genoutput.c (main): Likewise.
18927 * genpeep.c (main): Likewise.
18929 * genrecog.c (decision_test.u.insn): Add `lineno'.
18930 (pattern_lineno, error_count): New variables.
18931 (message_with_line): New.
18932 (add_to_sequence): Break out checking code to ...
18933 (validate_pattern): ... here. Detect SET_DEST matching CONST_INT.
18934 (merge_insn): Use message_with_line.
18935 (make_insn_sequence): Use validate_pattern. Record insn lineno.
18936 (main): Set read_rtx_filename, pattern_lineno. Exit early on error.
18938 Wed Oct 13 22:01:35 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
18940 * expr.c (store_constructor): Clear union if constructor is empty.
18942 Wed Oct 13 15:19:04 1999 Jim Wilson <wilson@cygnus.com>
18944 * config/rs6000/sysv4.h (CC1_SPEC): Fix errors from Jan 19 change.
18945 Add !endian checks. Change %{...} to %(...).
18947 Wed Oct 13 13:30:34 1999 Richard Henderson <rth@cygnus.com>
18949 * i386.md (*addsi3_cc): Renamed from addcsi3.
18950 (*addsi3_carry): Renamed from addxsi3.
18951 (*subsi3_cc): Renamed from subcsi3.
18952 (*subsi3_carry): Renamed from subxsi3.
18953 (*xorqi_cc_1): Renamed from xorcqi_1.
18954 (xorqi_cc_ext_1): Renamed from xorcqi_ext_1.
18955 * i386.c (ix86_expand_fp_compare): Update for xorqi_cc_ext_1.
18957 Wed Oct 13 13:10:46 1999 Richard Henderson <rth@cygnus.com>
18959 * Makefile.in (ggc-common.o): Depend on RTL_H not RTL_BASE_H.
18960 (ggc-simple.o, ggc-page.o, ggc-none.o, ggc-callbacks.o): Likewise.
18962 1999-10-13 Brendan Kehoe <brendan@cygnus.com>
18964 * regmove.c (optimize_reg_copy_3): Make sure P is non-nil as we
18965 climb up the chain of insns.
18967 Wed Oct 13 10:20:58 1999 Richard Henderson <rth@cygnus.com>
18969 * genrecog.c (write_subroutine): Careful for null trees.
18970 (process_tree): Don't elide empty functions.
18972 Wed Oct 13 10:07:54 1999 Richard Henderson <rth@cygnus.com>
18974 * Makefile.in (genrtl.o): Depend on ggc.h.
18975 * configure.in (valloc): Probe for it.
18976 (with-gc): Use ggc-page if valloc present.
18977 * ggc-common.c (ggc_mark_rtx_children): Use ggc_mark_if_gcable.
18978 (ggc_mark_rtvec_children): New from corpse of ggc_mark_rtvec.
18979 (ggc_alloc_string): Moved from ggc-page.c.
18980 * ggc-none.c (ggc_alloc_obj): New.
18981 (ggc_alloc_rtx, ggc_alloc_rtvec): Remove.
18982 * ggc-page.c (sys/mman.h): Only include if HAVE_MMAP.
18983 (struct globals): Likewise for dev_zero_fd.
18984 (init_ggc): Likewise for it's initialization.
18985 (ggc_allocated_p): Move careful dereference from ...
18986 (ggc_lookup_page_table): ... here. Delete.
18987 (lookup_page_table_entry): Don't use ggc_lookup_page_table.
18988 (alloc_anon): Use valloc if no mmap.
18989 (release_pages): Use free if using valloc.
18990 (ggc_alloc_obj): Renamed from alloc_obj.
18991 (ggc_set_mark): Renamed from mark_obj.
18992 (ggc_mark_if_gcable): Renamed from ggc_mark_string_if_gcable.
18993 (ggc_alloc_rtx, ggc_alloc_rtvec): Delete.
18994 (ggc_alloc_tree, ggc_alloc_string, ggc_alloc): Delete.
18995 (ggc_set_mark_rtx, ggc_set_mark_rtvec): Delete.
18996 (ggc_set_mark_tree, ggc_mark_string, ggc_mark): Delete.
18997 (ggc_collect): Use fp printing instead of our own rounding.
18998 * ggc-simple.c (IS_MARKED, IGNORE_MARK): Delete.
18999 (GGC_STRING_MAGIC, GGC_STRING_MAGIC_MARK): Delete.
19000 (GGC_ANY_MAGIC, GGC_ANY_MAGIC_MARK): Delete.
19001 (struct ggc_rtx, struct ggc_rtvec, struct ggc_tree): Delete.
19002 (struct ggc_string, struct ggc_any): Delete.
19003 (offsetof): Provide default definition.
19004 (GGC_BALANCE, GGC_ALWAYS_COLLECT, GGC_ALWAYS_VERIFY): New.
19006 (struct ggc_mem): New, from corpse of ggc_any.
19007 (struct ggc_status): Delete.
19008 (ggc_chain, ggc_allocated_strings, ggc_strings_used): Delete.
19009 (n_rtxs_collected, n_vecs_collected, n_trees_collected): Delete.
19010 (n_strings_collected, n_anys_collected): Delete.
19011 (ggc_alloc_rtx, ggc_alloc_rtvec, ggc_alloc_tree): Delete.
19012 (ggc_alloc_string, ggc_alloc): Delete.
19013 (ggc_free_rtx, ggc_free_rtvec, ggc_free_tree): Delete.
19014 (ggc_free_string, ggc_free_any): Delete.
19015 (ggc_set_mark_rtx, ggc_set_mark_rtvec, ggc_set_mark_tree): Delete.
19016 (ggc_compare_addresses, ggc_mark_string): Delete.
19017 (ggc_mark_string_if_gcable, ggc_mark): Delete.
19018 (search_data): Delete.
19019 (struct globals): New.
19020 (GGC_MIN_EXPAND_FOR_GC, GGC_MIN_LAST_ALLOCATED): New.
19021 (tree_insert, tree_lookup): New.
19022 (ggc_alloc_obj, ggc_set_mark, ggc_mark_if_gcable): New.
19023 (clear_marks, sweep_objs): New.
19024 (ggc_collect): Gut. Use clear_marks, sweep_objs.
19025 (init_ggc): Set allocated_last_gc.
19026 (ggc_push_context): Gut. Use G.context.
19027 (ggc_pop_context): Likewise.
19028 (ggc_pop_context_1): New.
19029 (debug_ggc_tree): New.
19030 (debug_ggc_balance, tally_leaves): New.
19031 * ggc.h (ggc_mark_rtvec, ggc_mark_string, ggc_mark): Remove decl.
19032 (ggc_mark_string_if_gcable): Remove decl.
19033 (ggc_mark_rtx, ggc_mark_tree): Use ggc_set_mark.
19034 (ggc_mark_rtvec_children): New.
19035 (ggc_mark_rtvec, ggc_mark_string, ggc_mark): New.
19036 (ggc_mark_if_gcable): New decl.
19037 (ggc_alloc_rtx, ggc_alloc_rtvec): Remove decl.
19038 (ggc_alloc_tree, ggc_alloc): Likewise.
19039 (ggc_set_mark_rtx, ggc_set_mark_rtvec, ggc_set_mark_tree): Likewise.
19040 (ggc_alloc_obj): New decl.
19041 (ggc_alloc_rtx, ggc_alloc_rtvec): New macros.
19042 (ggc_alloc_tree, ggc_alloc): Likewise.
19043 (ggc_set_mark): New decl.
19044 * rtl.h (struct rtx_def): Remove gc_mark.
19045 (struct rtvec_def): Likewise.
19046 * tree.h (struct tree_common): Likewise.
19048 Wed Oct 13 01:44:29 1999 Carol LePage <carolo@hal.com>
19050 * configure.in (sparc-hal-solaris2*): Fix xm_file, xm_defines,
19051 float_format and thread_file definitions.
19052 * configure: Rebuilt.
19054 Wed Oct 13 09:25:03 1999 Niels Möller <nisse@lysator.liu.se>
19056 * extend.texi (Function Names): Document types of function names.
19058 Wed Oct 13 00:45:04 1999 Bernd Schmidt <bernds@cygnus.co.uk>
19060 * reload1.c (reload_reg_free_for_value_p): RELOAD_OTHER reloads with
19061 an earlyclobbered output conflict with RELOAD_INPUT reloads.
19063 Tue Oct 12 23:28:28 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
19065 * sh.h (BOOL_TYPE_SIZE): Don't use INT_TYPE_SIZE / CHAR_TYPE_SIZE.
19067 Tue Oct 12 23:19:32 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
19069 * sh.h (REGISTER_MOVE_COST): Change PR_REG to PR_REGS.
19071 Tue Oct 12 17:09:38 1999 David Edelsohn <edelsohn@gnu.org>
19073 * collect2.c (main): Do prelimnary link on AIX if rflag.
19075 Tue Oct 12 09:45:19 1999 Jonathan Larmour <jlarmour@cygnus.co.uk>
19077 * config/rs6000/eabi-ctors.c (__do_global_ctors): Run through
19078 __CTOR_LIST__ in opposite order, which is the correct order for sorted
19080 (__do_global_dtors): similarly for __DTOR_LIST__.
19082 Fri Oct 8 19:46:03 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
19083 Diego Novillo <dnovillo@cygnus.com>
19085 * config/sh/sh.h (REGISTER_MOVE_COST): Handle moves from T_REGS to
19088 Tue Oct 12 07:38:41 1999 Bruce Korb <autogen@linuxbox.com>
19090 * fixincl/*: Merged "no_bogosity" branch
19091 * fixincl/fixlib.h: protect against doubly defining t_bool
19092 * fixincl/server.h: protect against doubly defining t_bool
19094 Mon Oct 11 20:18:41 1999 Jim Wilson <wilson@cygnus.com>
19096 * genoutput.c: Include toplev.h.
19098 Mon Oct 11 18:56:14 1999 Jim Wilson <wilson@cygnus.com>
19100 * config/sparc/liteelf.h (INIT_SECTION_ASM_OP, FINI_SECTION_ASM_OP):
19102 * configure.in (sparclite-*-elf, sparc86x-*-elf): Don't use libgloss.h.
19103 * configure: Regenerate.
19105 Mon Oct 11 16:07:49 1999 Richard Henderson <rth@cygnus.com>
19107 * gcse.c (delete_null_pointer_checks): Returns void.
19109 Mon Oct 11 20:31:51 1999 Bernd Schmidt <bernds@cygnus.co.uk>
19111 * rtl.c (copy_rtx): Don't use accessor macros to copy fields.
19112 * emit-rtl.c (copy_insn_1): Likewise.
19114 Mon Oct 11 13:29:06 1999 Geoffrey Keating <geoffk@cygnus.com>
19116 * config/mips/mips.c (mips_build_va_list): Correct
19117 TREE_CHAIN setting when hard-float.
19118 (mips_va_start): Use corrected setting.
19119 (mips_va_arg): Likewise. Also pass a tree to build of
19120 POSTINCREMENT_EXPR rather than a naked 'int'.
19122 Sun Oct 10 18:27:27 1999 Mark Mitchell <mark@codesourcery.com>
19124 * ggc.h (ggc_push_context): Fix comment.
19125 (ggc_pop_context): Likewise.
19126 (mark_string_if_gcable): Likewise.
19127 * ggc-common.c (ggc_mark_rtx_children): Use
19128 ggc_mark_string_if_gcable.
19129 * ggc-page.c (ggc_lookup_page_table): New function.
19130 (ggc_allocated_p): Likewise.
19131 (mark_obj): Fix formatting.
19132 (ggc_mark_string_if_gcable): New function.
19133 * ggc-simple.c (ggc_allocated_strings): New variable.
19134 (ggc_strings_used): Likewise.
19135 (ggc_compare_addresses): New function.
19136 (ggc_pop_context): Pop the `any' memory too.
19137 (ggc_mark_string_if_gcable): New function.
19138 (ggc_collect): Initialize and tear down ggc_allocated_strings.
19140 Sun Oct 10 20:05:21 1999 David Edelsohn <edelsohn@gnu.org>
19142 * rs6000.md (movstrsi_?reg): Use preferred rD/rS = r5 form.
19143 (scc patterns): Disable most SImode variants if TARGET_POWERPC64.
19144 * rs6000.c (expand_block_move): Match movstrsi_?reg register
19147 Sun Oct 10 16:37:01 1999 Richard Henderson <rth@cygnus.com>
19149 * haifa-sched.c (sched_reg_n_calls_crossed): Delete.
19150 (sched_reg_live_length, sched_reg_basic_block): Delete.
19151 (current_block_num, bb_live_regs, old_live_regs): Delete.
19152 (dead_notes, struct sometimes): Delete.
19153 (sched_note_set, birthing_insn_p): Delete.
19154 (adjust_priority): Gut useless reg lifetime code.
19155 (create_reg_dead_note, attach_deaths): Delete.
19156 (attach_deaths_insn, new_sometimes_live): Delete.
19157 (finish_sometimes_live): Delete.
19158 (find_pre_sched_live, find_post_sched_live): Delete.
19159 (update_reg_usage): Delete.
19160 (find_insn_reg_weight): New, from corpse of find_pre_sched_live.
19161 (schedule_insns): Delete reg lifetime code.
19162 (sched_analyze): Use REG_SAVE_NOTE to stuff NOTE_INSN notes away.
19163 (unlink_other_notes): Adjust REG_NOTE commentary.
19164 (reemit_notes): Use REG_SAVE_NOTE.
19165 (schedule_block): Likewise.
19166 (schedule_region): Allocate bitmap of blocks in region. Use
19167 count_or_remove_death_notes. Use update_life_info.
19169 * rtl.h (REG_SAVE_NOTE): New.
19170 * rtl.c (reg_note_name): Update.
19172 Sun Oct 10 16:14:16 1999 Richard Henderson <rth@cygnus.com>
19174 * combine.c (refresh_blocks, need_refresh): New.
19175 (combine_instructions): Allocate refresh_blocks. Invoke
19176 update_life_info if needed.
19177 (distribute_notes): Mark refresh_blocks instead of installing
19179 * flow.c (update_life_info): Remove notes if GLOBAL_RM_NOTES.
19180 * basic_block.h (enum update_life_extent): Add GLOBAL_RM_NOTES.
19182 * Makefile.in (recog.o): Depend on basic-block.h.
19184 Sun Oct 10 12:03:21 1999 Richard Henderson <rth@cygnus.com>
19186 * genrecog.c (add_to_sequence): Thinko last change: delete
19187 shadowing allow_const_int variable.
19189 Sun Oct 10 08:40:00 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
19191 * cppinit.c: Use HAVE_GCC_VERSION instead of explicitly testing
19192 __GNUC__ and __GNUC_MINOR__.
19194 * gansidecl.h: Likewise.
19200 * toplev.h: Likewise.
19202 * tree.c: Likewise.
19204 * tree.h: Likewise.
19206 * varray.c: Likewise.
19208 * varray.h: Likewise.
19210 Sun Oct 10 13:28:48 1999 Bernd Schmidt <bernds@cygnus.co.uk>
19212 * loop.c (find_and_verify_loops): When looking for a BARRIER, don't
19213 use one before a jump table.
19215 * rtl.def (ADDRESS): Change documentation to match reality.
19216 * md.texi: Don't document it.
19217 * gmicro.md (load address pattern): Use 'p' constraint, delete use
19220 * emit-rtl.c (copy_insn_1): Make format_ptr a const char *.
19222 Sun Oct 10 02:41:41 1999 Richard Henderson <rth@cygnus.com>
19224 * genrecog.c (add_to_sequence): Move allow_const_int test outside
19225 known predicate block; default allow_const_int true.
19226 (debug_decision_list): New.
19228 Sun Oct 10 00:43:08 1999 Richard Henderson <rth@cygnus.com>
19230 * i386.h (CC1_SPEC): Typo -- use cc1_cpu.
19232 Sat Oct 9 23:26:55 1999 Jeffrey A Law (law@cygnus.com)
19234 * gcse.c (gcse_main): Avoid global optimizations if we have a
19235 large number of basic blocks and the ratio of edges to blocks
19237 (delete_null_pointer_checks): Likewise.
19239 Sat Oct 9 23:16:01 1999 Ken Raeburn <raeburn@mit.edu>
19241 * c-common.c (check_format_info): Warn if format string isn't a
19244 Sat Oct 9 23:04:02 1999 Jonathan Larmour <jlarmour@cygnus.co.uk>
19246 * configure.in (arm*-*-*): Don't let autoconf remove brackets
19247 * configure: regenerate
19249 Sat Oct 9 13:15:53 1999 Richard Henderson <rth@cygnus.com>
19251 * alpha.md (extendsidi2): Turn into a splitter. Allow f/f.
19252 If TARGET_FIX, allow r/f. Remove cvtlq unspec pattern.
19253 (peepholes): Re-enable.
19255 Sat Oct 9 12:18:16 1999 Richard Henderson <rth@cygnus.com>
19257 * Makefile.in (flow.o): Depend on TREE_H.
19258 * basic-block.h (REG_SET_EQUAL_P): New.
19259 (XOR_REG_SET): New.
19260 (n_edges): Declare.
19261 (free_regset_vector): Remove declaration.
19262 (flow_delete_insn_chain): Declare.
19263 (enum update_life_extent): New.
19264 (update_life_info, count_or_remove_death_notes): Declare.
19265 * combine.c (distribute_notes) [REG_DEAD]: Stop search at bb->head.
19266 Verify register live at bb->global_live_at_start before adding USE.
19267 * flow.c (HAVE_epilogue, HAVE_prologue): Provide default.
19268 (CLEAN_ALLOCA): New.
19270 (PROP_*): New flags.
19271 (find_basic_blocks_1): Use alloc_EXPR_LIST.
19272 (clear_edges): Zero n_edges.
19273 (make_edge): Increment n_edges.
19274 (split_edge): Don't allocate bb->local_set. Increment n_edges.
19275 (flow_delete_insn_chain): Export.
19276 (delete_block): Decrement n_edges.
19277 (merge_blocks_nomove): Likewise.
19278 (life_analysis): Give life_analysis_1 PROP flags.
19279 (verify_wide_reg_1, verify_wide_reg): New.
19280 (verify_local_live_at_start): New.
19281 (update_life_info): Rewrite to call into propogate_block.
19283 (mark_regs_live_at_end): After reload, if epilogue as rtl,
19284 always mark stack pointer. Conditionally mark PIC register.
19285 After reload, mark call-saved registers, return regsiters.
19286 (life_analysis_1): Accept PROP flags not remove_dead_code.
19287 Call mark_regs_live_at_end before zeroing regs_ever_live.
19288 Use calculate_global_regs_live. Copy global_live_at_end before
19289 calling final propagate_block. Zero reg_next_use on exit.
19290 (calculate_global_regs_live): New.
19291 (allocate_bb_life_data): Don't allocate bb->local_set.
19292 (init_regset_vector, free_regset_vector): Remove.
19293 (propagate_block): Accept FLAGS not FINAL or REMOVE_DEAD_CODE.
19294 Test flags before every operation. Warn if prologue/epilogue insn
19295 would have been deleted.
19296 (mark_set_regs, mark_set_1): Accept and use FLAGS.
19297 Use alloc_EXPR_LIST.
19298 (mark_used_regs): Accept and use FLAGS, not FINAL.
19299 Remove special handling for RETURN.
19300 (try_pre_increment): Use alloc_EXPR_LIST.
19301 (dump_flow_info): Dump n_edges.
19302 (unlink_insn_chain, split_hard_reg_notes): Remove.
19303 (maybe_add_dead_note, maybe_add_dead_note_use): Remove.
19304 (find_insn_with_note, new_insn_dead_notes): Remove.
19305 (update_n_sets, sets_reg_or_subreg_1, sets_reg_or_subreg): Remove.
19306 (maybe_remove_dead_notes, prepend_reg_notes): Remove.
19307 (replace_insns): Remove.
19308 (count_or_remove_death_notes): New.
19309 (verify_flow_info): Abort on error after all checks.
19310 (remove_edge): Decrement n_edges.
19311 (remove_fake_edges): Tweak format.
19312 * haifa-sched.c (schedule_insns): Use split_all_insns.
19313 * output.h (update_life_info): Remove declaration.
19314 * recog.c (split_all_insns): From the corpse of split_block_insns,
19315 do the whole function block by block. Use update_life_info.
19316 (recog_last_allowed_insn): New.
19317 (recog_next_insn): Mind it.
19318 (peephole2_optimize): Set it. Walk backwards through blocks.
19319 Use update_life_info.
19320 * rtl.h (update_flow_info, replace_insns): Remove declarations.
19321 (split_all_insns): Declare.
19322 * toplev.c (rest_of_compilation): Thread prologue before flow2.
19323 Use split_all_insns.
19325 * i386.md (or -1 peep2s): Disable.
19327 Fri Oct 8 17:49:08 1999 Richard Henderson <rth@cygnus.com>
19329 * config/mips/mips.md (movstrsi+[123]) : Combine these into
19330 a single pattern. Scrap the 'd' versions as unnecessary.
19332 * config/mips/mips.md (tablejump_internal3,tablejump_mips161,
19333 tablejump_mips162,tablejump_internal4): The operands to a
19334 label_ref must be VOIDmode.
19336 Fri Oct 8 16:12:42 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
19338 * configure.in (c-mbchar): Append, don't overwrite, `extra_c_flags'.
19340 Fri Oct 8 11:58:34 1999 Richard Henderson <rth@cygnus.com>
19342 * mips.c (mips_va_arg) [EABI]: Return addr_rtx.
19344 Fri Oct 8 11:58:34 1999 Richard Henderson <rth@cygnus.com>
19346 * lists.c (init_EXPR_INSN_LIST_cache): Don't need to zap the
19347 cache every function if ggc_p.
19349 Fri Oct 8 18:46:11 1999 Bernd Schmidt <bernds@cygnus.co.uk>
19351 * jump.c (duplicate_loop_exit_test): Use copy_insn/copy_insn_1
19352 instead of copy_rtx. Accept sequences that contain asm statements.
19353 * emit-rtl.c (copy_insn_1, copy_insn): New functions.
19354 (copy_insn_scratch_in, copy_insn_scratch_out, copy_insn_n_scratches,
19355 orig_asm_operands_vector, copy_asm_operands_vector,
19356 orig_asm_constraints_vecotr, copy_asm_constraints_vector): New static
19358 * rtl.h (copy_insn, copy_insn_1): Declare.
19360 Fri Oct 8 13:08:12 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
19362 * Makefile.in (insn-recog.o): Depend on hard-reg-set.h and resource.h.
19364 * alpha.h (ASM_OUTPUT_MI_THUNK): Pass the correct number of
19365 arguments to `current_file_function_operand'.
19367 * genrecog.c: Include hard-reg-set.h and resource.h in the
19368 generated output file.
19370 * real.c: Include tm_p.h.
19372 Fri Oct 8 18:46:11 1999 Bernd Schmidt <bernds@cygnus.co.uk>
19374 * i386.md (prologue_allocate_stack): Add '=' constraint letter on
19377 Thu Oct 7 23:06:50 1999 Richard Henderson <rth@cygnus.com>
19379 * rs6000.md (fix_truncdfsi2_internal+1): Emit a clobber
19380 before the fctiwz insn.
19382 Thu Oct 7 22:53:00 1999 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
19383 Mark Mitchell <mark@codesourcery.com>
19385 * tree.c (make_lang_type_fn): New funtion pointer.
19386 (make_lang_type): Call it.
19387 * tree.h (make_lang_type): Declare.
19388 (make_lang_type_fn): Likewise.
19389 * rs6000.c (rs6000_build_va_list): Use make_lang_type.
19391 Thu Oct 7 00:36:17 1999 Diego Novillo <dnovillo@cygnus.com>
19393 * config/rs6000/rs6000.c (secondary_reload_class): For TARGET_ELF
19394 make sure that HIGH instructions are copied into BASE_REGS.
19396 Thu Oct 7 17:02:34 1999 Jason Merrill <jason@yorick.cygnus.com>
19398 * expr.c (expand_expr, TARGET_EXPR): Set TREE_USED sooner.
19400 Thu Oct 7 17:01:58 1999 Greg McGary <gkm@gnu.org>
19402 * c-decl.c (finish_struct): Use simpler method of
19403 removing elements of a singly-linked list.
19405 Thu Oct 7 15:23:28 1999 Michael Meissner <meissner@cygnus.com>
19407 * alpha.md (peephole2's): Comment out peephole2's that generate
19410 Thu Oct 7 12:00:53 1999 Richard Henderson <rth@cygnus.com>
19412 * genrecog.c (add_to_sequence): Disable mode check for
19415 Thu Oct 7 20:14:16 1999 Bernd Schmidt <bernds@cygnus.co.uk>
19417 * ggc-simple.c (init_ggc): Set empty_string.
19419 Thu Oct 7 01:13:15 1999 Richard Henderson <rth@cygnus.com>
19421 * configure.in: Detect mmap. Add --with-gc=foo to select
19422 garbage collector; default to page if mmap available.
19423 * Makefile.in (GGC): Substitute.
19425 Wed Oct 6 23:56:30 1999 Richard Henderson <rth@cygnus.com>
19427 * c-decl.c (ggc_p): Enable.
19429 Wed Oct 6 17:17:08 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
19431 * flow.c (verify_flow_info): Make it extern & unconditionally define.
19433 1999-10-06 Brendan Kehoe <brendan@cygnus.com>
19435 * sparc/sp86x-elf.h (SUBTARGET_SWITCHES): Add missing doc
19436 string for little-endian-data.
19438 Wed Oct 6 16:10:35 1999 Michael Meissner <meissner@cygnus.com>
19440 * varray.h (VARRAY_CHECK): Fix up appropriate revision check, in
19441 case somebody tries to compile --enable-checking code with gcc
19444 Wed Oct 6 12:22:50 1999 Richard Henderson <rth@cygnus.com>
19446 * genrecog.c (add_to_sequence): Verify operand to label_ref is
19449 Wed Oct 6 10:21:15 1999 Richard Henderson <rth@cygnus.com>
19451 * genconfig.c (main): Disable HAVE_conditional_arithmetic.
19452 * jump.c (jump_optimize_1): Document why.
19454 Wed Oct 6 10:41:56 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
19456 * collect2.c (scan_prog_file, scan_libraries): Prototype function
19457 pointers and casts for `int_handler' and `quit_handler'.
19459 * flow.c (verify_flow_info, split_hard_reg_notes,
19460 find_insn_with_note, sets_reg_or_subreg_1, prepend_reg_notes,
19461 remove_edge, remove_fake_successors): Add static prototypes.
19462 (verify_flow_info): Wrap with macro ENABLE_CHECKING.
19463 (mark_set_1): Initialize variable `regno'.
19464 (unlink_insn_chain): Likewise for variable `curr'.
19465 (remove_fake_edges): Remove unused variables `e', `tmp' and `last'.
19467 * loop.c (strength_reduce): Initialize variable
19468 `unrolled_insn_copies'.
19469 (cmp_combine_givs_stats, cmp_recombine_givs_stats): Add static
19470 prototypes. Change these functions to take const PTR parameters
19471 to avoid prototype conflict when used as the comparson argument
19473 (check_dbra_loop): Initialize variable `comparison_val'.
19475 * reload.c (debug_reload_to_stream, debug_reload): Add prototypes.
19476 (get_secondary_mem): Mark parameter `x' with ATTRIBUTE_UNUSED.
19477 (find_valid_class): Initialize variable `best_class'.
19478 (find_reloads): Call memcpy, not bcopy.
19480 * reload1.c (gen_mode_int, dump_needs): Add prototypes.
19481 (hard_reg_use_compare): Don't needlessly cast away const.
19482 (reload_reg_class_lower): Likewise.
19483 (choose_reload_regs): Initialize variable `regno'.
19485 Tue Oct 5 16:34:12 1999 Paul Burchard <burchard@pobox.com>
19487 * ggc-page.c (GGC_ALWAYS_COLLECT): Fix typo when undef'ing.
19489 Tue Oct 5 16:14:40 1999 Michael Meissner <meissner@cygnus.com>
19491 * libgcc1-test.c (toplevel): Include stddef.h to get size_t.
19492 ({,d}discard): Add forward declarations. Declare parameter as
19494 (main_without_main): Explicitly declare return type to be int.
19495 (memcpy): Properly declare.
19497 * libgcc2.c (toplevel): If inhibit_libc is defined and not
19498 building the trampoline support, declare malloc, free, and
19500 (__clear_cache): Mark arguments as potentially unused.
19502 * frame.c (toplevel): If inhibit_libc is defined, declare
19505 Tue Oct 5 12:00:32 1999 Richard Henderson <rth@cygnus.com>
19507 * flow.c (make_edge): Accept an optional 2D bitmap in which
19508 to cache edge existence. Update all callers.
19509 (make_label_edge, make_eh_edge): Pass through the edge cache.
19510 (make_edges): Provide the cache.
19512 Tue Oct 5 12:16:49 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
19514 * mbchar.c (literal_codeset, local_mbtowc, local_mblen): Constify
19516 (local_mbtowc): Change the type of variable `i' from int to size_t.
19518 * mbchar.h (ISSJIS1, ISSJIS2): Use parens around && within ||.
19519 (local_mbtowc, local_mblen, literal_codeset): Constify a char*.
19521 Tue Oct 5 11:34:52 1999 Michael Meissner <meissner@cygnus.com>
19523 * ggc-common.c (toplevel): Reorder includes, so that ggc.h comes
19524 after other includes that define the appropriate types. Include
19525 tm_p.h for getting user prototypes.
19526 * ggc-callbacks.c (toplevel): Ditto.
19527 * ggc-none.c (toplevel): Ditto.
19528 * gcc-page.c (toplevel): Ditto.
19529 * ggc-simple.c (toplevel): Ditto.
19531 Mon Oct 4 16:48:16 1999 Diego Novillo <dnovillo@cygnus.com>
19532 Jonathan Larmour <jlarmour@cygnus.co.uk>
19534 * config/mips/mips.c (mips_move_2words): Split doubles if
19535 ISA >= 3, !TARGET_64BIT, and destination is not an FP register.
19537 Mon Oct 4 21:47:31 1999 Richard Henderson <rth@cygnus.com>
19539 * genrecog.c (struct decision_test): New.
19540 (struct decision): Remove test-related members, sort the rest by size.
19541 (IS_SPLIT): Simplify.
19542 (new_decision, new_decision_test): New.
19543 (add_to_sequence): Use them. No special handling for args of
19545 (maybe_both_true): Renamed from not_both_true; return sense changed.
19546 (maybe_both_true_1, maybe_both_true_2): New. Broken out
19547 of maybe_both_true and adjusted for decision_test.
19548 (position_merit): Remove.
19549 (nodes_identical, nodes_identical_1): New, broken out of merge_trees.
19550 (merge_accept_insn): New, broken out of merge_trees.
19551 (merge_trees): Use them. No special case for c_test; no node
19552 splitting; use test type instead of position_merit.
19553 (factor_tests): New.
19554 (simplify_tests): New.
19555 (break_out_subroutines): Don't write code now.
19556 (find_afterward): New.
19557 (write_afterward, write_switch, write_cond): New.
19558 (write_action, is_unconditional): New.
19559 (write_node): New. Use them.
19560 (write_tree_1): Rewrite. Use the new functions above.
19561 (write_tree): Remove afterward processing.
19562 (write_subroutine): Simplify function variant emission.
19563 (write_subroutines): New.
19564 (same_codes, clear_codes): Remove.
19565 (same_modes, clear_modes): Remove.
19566 (write_header): New, broken out of main.
19567 (make_insn_sequence): Use new_decision and new_decision_test.
19568 (process_tree): New, broken out of main.
19569 (main): Adjust for merge_trees interface change.
19570 Don't #define operands in the output file.
19571 (record_insn_name): New, broken out of make_insn_sequence.
19572 (debug_decision_2, debug_decision_1, debug_decision_0): New.
19573 (debug_decision): New.
19575 1999-10-04 21:58 -0700 Zack Weinberg <zack@bitmover.com>
19577 * resource.c (find_free_register): Mark class_str argument const.
19578 * resource.h: Update prototype to match.
19580 * i386.h (PREDICATE_CODES): Add entry for long_memory_operand.
19581 * i386.md: Give all anonymous insns names.
19583 Mon Oct 4 21:12:02 1999 Jeffrey A Law (law@cygnus.com)
19585 * flow.c (merge_blocks): Avoid assing BASIC_BLOCK for non-existent
19588 Mon Oct 4 21:01:39 1999 Richard Henderson <rth@cygnus.com>
19590 * toplev.c (dbr_sched_time): Unconditional.
19591 (peephole2_time): New.
19592 (compile_file): Add pass numbers to all of the dump file suffixes.
19593 Dump peephole2_time. Don't dump times for non-applicable passes.
19594 (rest_of_compilation): Add pass numbers to dump file suffixes.
19595 Conditionalize calls to the scheduler.
19596 * invoke.texi: Update.
19598 Mon Oct 4 20:25:13 1999 Anthony Green <green@cygnus.com>
19600 * flow.c (make_edges): Fix insn iteration.
19601 (find_basic_blocks): Assign NULL_RTX, not 0, to rtx.
19602 (find_basic_blocks_1): Fix spelling mistake.
19604 Mon Oct 4 16:56:11 1999 Richard Henderson <rth@cygnus.com>
19606 * tree.c (build1): Set TREE_SIDE_EFFECTS for expressions that
19607 always have side-effects. Use memset not bzero.
19608 (make_node): Likewise.
19610 Mon Oct 4 16:22:20 1999 Mark Mitchell <mark@codesourcery.com>
19612 * stmt.c (expand_anon_union_decl): When any of the elements of the
19613 union is addressable, so is the entire union.
19615 Mon Oct 4 11:38:33 1999 Richard Henderson <rth@cygnus.com>
19617 * sbitmap.c (sbitmap_ones): Don't set too many bits.
19619 * bitmap.h (enum bitmap_bits): Add BITMAP_XOR.
19620 * bitmap.c (bitmap_operation): Return true iff TO changed.
19621 (bitmap_equal_p): New.
19622 (bitmap_bit_p): Tidy arithmetic.
19623 (debug_bitmap_file): Likewise.
19625 Mon Oct 4 11:28:37 1999 Richard Henderson <rth@cygnus.com>
19627 * toplev.c (rest_of_compilation): Turn on cse_not_expected
19628 before cse2 instead of after.
19630 Mon Oct 4 09:55:17 1999 Stan Cox <scox@cygnus.com>
19632 * mips.h (GO_IF_LEGITIMATE_ADDRESS): Let leasi/liadi handle large
19635 Mon Oct 4 08:54:12 1999 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
19637 * cppinit.c (is_idchar initializer): Loosen tests to accept
19640 Mon Oct 4 02:31:20 1999 Mark Mitchell <mark@codesourcery.com>
19642 * mips.md: Define conditional move patterns for floating point
19643 operands and DI mode conditions.
19645 Mon Oct 4 02:12:41 1999 Mark Mitchell <mark@codesourcery.com>
19647 * tree.c (make_node): Set TREE_SIDE_EFFECTS for expressions that
19648 always have side-effects.
19650 Sun Oct 3 14:14:16 1999 Jeffrey A Law (law@cygnus.com)
19652 * mn10200.c (asm_file_start): Fix typo.
19654 * cppinit.c (is_idchar initializer): Tighten tests for when
19655 to put the table into initialized memory.
19657 * ggc-none.c (ggc_alloc_rtvec): An rtvec is an array of rtx,
19658 not an array of rtunion.
19659 * gcc-page.c (ggc_alloc_rtvec): Similarly.
19660 * gcc-simple (ggc_free_rtvec): Similarly.
19662 * genattrtab.c (simplify_cond): Make TESTS an array of rtxs, instead
19665 * mbchar.h: Add missing #endif.
19667 * t-fr30 (LIB2FUNCS_EXTRA): Remove definition.
19668 (FPBIT, DPBIT): Define.
19670 Sun Oct 3 12:44:05 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
19672 * print-tree.c (print_node, indent_to): Remove redundant prototypes.
19674 * profile.c (instrument_arcs, output_gcov_string,
19675 tablejump_entry_p): Add static prototypes.
19676 (output_gcov_string): Constify a char*.
19678 * regmove.c (replacement_quality, fixup_match_2): Add static
19681 * resource.h (reg_dead_p): Add extern prototype.
19683 * rtl.c (trim_filename): Add static prototype.
19685 * scan-decls.c (skip_to_closing_brace): Likewise.
19687 * stmt.c (expand_decl_cleanup_no_eh): Hide definition.
19688 (expand_end_case): Initialize variable `range'.
19689 (emit_case_nodes): Remove unused prototype `rtx_fn'.
19691 * varasm.c (asm_emit_uninitialised): Add static prototype.
19692 (asm_emit_uninitialised, assemble_variable): Mark parameter with
19695 Sun Oct 3 12:24:52 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
19697 * cpplib.c (if_directive_nameo): Add static prototype.
19699 * cse.c (cse_insn): Remove unused variable `p'.
19701 * except.c (create_rethrow_ref, push_entry,
19702 receive_exception_label, new_eh_region_entry, find_func_region,
19703 clear_function_eh_region, process_nestinfo): Add static prototypes.
19704 (get_reg_for_handler): Hide definition.
19705 (process_nestinfo): Initialize variable `extra_handlers'.
19707 * expr.h (expand_builtin_longjmp): Add extern prototype.
19709 * final.c (final_addr_vec_align, align_fuzz): Add static prototypes.
19711 * function.c (prepare_function_start): Likewise.
19712 (pop_function_context_from): Mark parameter `context' with
19714 (push_temp_slots_for_block, flush_addressof): Hide definition.
19716 * gcov.c (init_arc, reverse_arcs, create_program_flow_graph,
19717 solve_program_flow_graph, calculate_branch_probs,
19718 function_summary, main, fancy_abort): Add prototypes.
19720 * gen-protos.c (add_hash, parse_fn_proto, main): Likewise.
19721 (add_hash): Constify a char*.
19723 * ggc-common.c (ggc_mark_rtx_ptr, ggc_mark_tree_ptr,
19724 ggc_mark_tree_varray_ptr, ggc_mark_tree_hash_table_ptr,
19725 ggc_mark_string_ptr, ggc_mark_tree_hash_table_entry): Add prototypes.
19727 * integrate.c (expand_inline_function_eh_labelmap): Likewise.
19729 * lists.c (free_list, zap_lists): Likewise.
19731 Sun Oct 3 12:05:28 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
19733 * alias.c (nonlocal_reference_p): Add static prototype.
19735 * bitmap.c (bitmap_element_allocate): Prototype args in function
19738 * builtins.c (stabilize_va_list): Add static prototype.
19739 (expand_builtin_va_arg): Constify a char*.
19741 * c-lex.c (getch, put_back, extend_token_buffer_to,
19742 read_line_number, token_getch, token_put_back): Add static
19745 * c-parse.gperf (hash, is_reserved_word): Likewise.
19747 * cccp.c (is_dir_separator): Likewise.
19749 Sat Oct 2 16:07:56 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
19751 * graph.h: New file to prototype functions exported by graph.c.
19753 * Makefile.in (graph.o, toplev.o): Depend on graph.h.
19755 * graph.c: Include graph.h.
19757 * toplev.c: Likewise. Remove redundant prototypes.
19759 Sat Oct 2 11:28:33 1999 Krister Walfridsson <cato@df.lth.se>
19761 * invoke.texi: Removed duplicated description for -Q.
19763 Sat Oct 2 11:16:00 1999 Jim Kingdon <http://developer.redhat.com>
19765 * extend.texi: Grammar fix in __extension__ text.
19767 Sat Oct 2 11:06:31 1999 Richard Henderson <rth@cygnus.com>
19769 * md.texi (define_peephole2): New section.
19771 Sat Oct 2 10:57:56 1999 Jan Hubicka <hubicka@freesoft.cz>
19773 * i386.md (mov?i patterns): Fix handling of TARGET_USE_MOV0
19774 (mov $-1 to or peepholer): Enable for pentium when optimizing for
19777 Sat Oct 2 10:55:25 1999 Jan Hubicka <hubicka@freesoft.cz>
19779 * builtins.c (expand_builtin_strlen): Fix best mode searching loop.
19781 Sat Oct 2 10:53:22 1999 Jan Hubicka <hubicka@freesoft.cz>
19783 * i386.md (ffs expander): Emit Pentium friendly code for
19786 Sat Oct 2 02:48:21 1999 Mark P. Mitchell <mark@codesourcery.com>
19788 * tree.c (build): Don't look at TREE_SIDE_EFFECTS or TREE_RAISES
19790 (build1): Likewise.
19792 Fri Oct 1 18:01:11 1999 Bernd Schmidt <bernds@cygnus.co.uk>
19794 * i386elf.h (TARGET_DEFAULT): Use symbolic constants.
19796 Fri Oct 1 12:42:53 1999 Andreas Schwab <schwab@suse.de>
19798 * config/m68k/m68k.c (use_return_insn): Return false if the pic
19799 register is in use.
19801 Fri Oct 1 10:56:06 1999 Bernd Schmidt <bernds@cygnus.co.uk>
19803 * md.texi (No Constraints): Delete section.
19804 * Makefile.in (genattrtab.o): Don't depend on "insn-config.h".
19805 * final.c (final_scan_insn): We always have register constraints.
19806 * genattrtab.c: Don't include "insn-config.h".
19807 (write_attr_case): We always have register constraints.
19808 * genconfig.c (register_constraint_flag): Delete.
19809 (walk_insn_part): Don't check whether we have register constraints.
19810 (main): Don't write out "#define REGISTER_CONSTRAINTS".
19811 * genoutput.c (have_constraints): Delete.
19812 (main): Don't set it.
19813 (output_operand_data): We always have constraints.
19814 (scan_operands): Likewise.
19815 (compare_operands): Likewise.
19816 * local-alloc.c (block_alloc): We always have constraints.
19817 (requires_inout): Always compile this function.
19818 * recog.c (extract_insn): We always have constraints.
19819 (constrain_operands, reg_fits_class_p): Always compile these
19821 * recog.h (struct recog_data): Delete non-REGISTER_CONSTRAINTS
19823 (struct insn_operand_data): Likewise.
19824 * regclass.c (regclass): We always have constraints.
19825 (record_reg_classes, copy_cost, record_address_regs,
19826 auto_inc_dec_reg_p): Always compile these functions.
19827 * regmove.c (regmove_optimize): We always have constraints.
19828 * reload.c (find_reloads): Likewise.
19829 * reload1.c (reload): Likewise.
19830 (reload_cse_simplify_operands): Likewise.
19831 * i860.c (output_delay_insn): Likewise.
19833 Thu Sep 30 23:04:41 1999 Mark P. Mitchell <mark@codesourcery.com>
19835 * iris6.h (BUILD_VA_LIST_TYPE): Define.
19837 Thu Sep 30 18:44:50 1999 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
19839 * rs6000.c (rs6000_build_va_list): Create a TYPE_DECL node
19840 for the va_list record.
19842 Thu Sep 30 18:34:54 1999 Jan Hubicka <hubicka@freesoft.cz>
19844 * i386.c (ix86_adjust_cost): Ignore false ebp dependencies in
19847 Thu Sep 30 18:31:36 1999 Jan Hubicka <hubicka@freesoft.cz>
19849 * alias.c: Include insn-flags.h.
19850 * Makefile.in (alias.o): Update.
19852 Thu Sep 30 18:21:30 1999 Jan Hubicka <hubicka@freesoft.cz>
19854 * i386.c (ix86_expand_int_movcc): Convert LEU and GTU comparisons
19855 to LTU and GEU. Handle more cases using sbb.
19857 Thu Sep 30 18:18:39 1999 Jan Hubicka <hubicka@freesoft.cz>
19859 * i386.md (truncatexfdf splitters): Do not use subreg.
19860 (fop XFmode patterns): Fix mode in operand testing.
19862 Thu Sep 30 18:04:13 1999 Richard Henderson <rth@cygnus.com>
19864 * jump.c (jump_optimize_1): Amend last change to test only the
19865 form of the operand, not the insn.
19867 * jump.c (jump_optimize_1) [conditional_move]: Use general_operand
19868 not register_operand to determine when B may need preloading.
19870 Thu Sep 30 17:39:16 1999 Richard Henderson <rth@cygnus.com>
19872 * alpha.md (*): Use nonimmediate not general_operand for SET_DEST.
19873 (ffsdi2, extxl, insxh, mskxh): Add missing DImode to SET_SRC.
19874 (call-value patterns): Move to end of file.
19875 (*): Remove mode from label_ref in (pc) context.
19876 (movstrqi): Use memory not general_operand for BLKmode operands.
19877 (prologue_stack_probe_loop, builtin_longjmp): Add missing mode
19878 to register_operand operands.
19879 (peep2 patterns): Convert from commented-out peephole patterns.
19881 Thu Sep 30 14:39:17 1999 Bernd Schmidt <bernds@cygnus.co.uk>
19883 * tree.h (enum built_in_function): Rename BUILT_IN_DWARF_REG_SIZE
19884 to BUILT_IN_INIT_DWARF_REG_SIZES.
19885 * builtins.c (expand_builtins, case BUILT_IN_INIT_DWARF_REG_SIZES):
19886 Renamed from BUILT_IN_DWARF_REG_SIZE; call
19887 expand_builtin_init_dwarf_reg_sizes.
19888 * c-decl.c (init_decl_processing): Replace __builtin_dwarf_reg_size
19889 with __builtin_init_dwarf_reg_size_table.
19890 * dwarf2out.c (struct reg_size_range): Delete.
19891 (expand_builtin_init_dwarf_reg_sizes): New function.
19892 (expand_builtin_dwarf_reg_size): Delete.
19893 * except.h (expand_builtin_init_dwarf_reg_sizes): Declare.
19894 (expand_builtin_dwarf_reg_size): Don't declare.
19895 * libgcc2.c (dwarf_reg_size_table_initialized): New.
19896 (dwarf_reg_size_table): New.
19897 (init_reg_size_table): New function.
19898 (copy_reg): Use dwarf_reg_size_table.
19899 (eh_context_initialize): Make sure dwarf_reg_size_table is initialized
19902 Thu Sep 30 05:40:34 1999 Richard Earnshaw <rearnsha@arm.com>
19904 * c-lang.c (finish_file case ndef ASM_OUTPUT_{CON,DE}STRUCTOR):
19905 Correctly build argument list to constructor and destructor functions.
19907 Thu Sep 30 00:13:27 1999 Dirk Zoller <duz@rtsffm.com>
19909 * c-tree.h (warn_float_equal): Declare.
19910 * c-decl.c (warn_float_equal): Define.
19911 (c_decode_option): Recognize -W[no-]float-equal.
19912 * c-typeck.c (build_binary_op): Conditionally warn
19913 about equality tests of floating point types.
19914 * toplev.c (documented_lan_options): Add -W[no-]float-equal.
19915 * invoke.texi: Add docs for -Wfloat-equal warning.
19917 Wed Sep 29 23:43:39 1999 Jeffrey A Law (law@cygnus.com)
19919 * h8300.h (INIT_TARGET_OPTABS): Use init_one_optab instead of
19920 generating RTL directly.
19921 * mips.h (INIT_TARGET_OPTABS): Likewise.
19922 * mn10200.h (INIT_TARGET_OPTABS): Likewise.
19924 * expr.h (init_mov_optab): Delete declaration
19926 * h8300.c (WORD_REG_USED): Update to avoid useless register
19927 saves in interrupt functions and functions which never return.
19929 * cse.c (struct set): Delete inner_dest_loc field.
19930 (cse_insn): Remove assignments to inner_dest_loc field.
19932 Wed Sep 29 16:06:20 1999 Richard Henderson <rth@cygnus.com>
19934 * ggc-page.c: Don't include <unistd.h> etc taken care of
19935 by "system.h". Include <sys/mman.h> afterward.
19937 Wed Sep 29 16:05:18 1999 Richard Henderson <rth@cygnus.com>
19939 * rs6000.c (rs6000_encode_section_info): If ggc_p, use
19942 Tue Sep 28 16:45:40 1999 David Edelsohn <edelsohn@gnu.org>
19944 * xcoffout.c (xcoffout_declare_function): Add documentation.
19945 * rs6000.c (num_insns_constant_wide): Use TARGET_POWERPC64 not
19946 TARGET_64BIT. Compare constant to -1, not bit pattern.
19947 (easy_fp_constant): Use TARGET_POWERPC64 not TARGET_64BIT.
19948 (expand_block_move): Allow 8 DImode loads for PowerPC64. Fix
19951 Tue Sep 28 16:43:14 1999 Nick Clifton <nickc@cygnus.com>
19953 * dwarf2out.c (add_abstract_origin_attribute): Abort if
19954 origin_die is NULL.
19955 (gen_inlined_enumeration_type_die): Do not abort if the type has
19956 not been writeen out.
19957 (gen_inlined_structure_type_die): Do not abort if the type has
19958 not been writeen out.
19959 (gen_inlined_union_type_die): Do not abort if the type has
19960 not been writeen out.
19961 (gen_tagged_type_instantiation_die): Do not abort if the type
19962 has not been written out.
19964 Tue Sep 28 14:33:47 1999 Bernd Schmidt <bernds@cygnus.co.uk>
19966 * c-decl.c (init_decl_processing): If MD_INIT_BUILTINS is defined,
19968 * reg-stack.c (straighten_stack): Copy hard reg set with
19971 Tue Sep 28 01:11:05 1999 Richard Henderson <rth@cygnus.com>
19973 * builtins.c (stabilize_va_list): Stabilize array type va_list
19974 to a pointer type, not the base record type.
19975 (expand_builtin_va_copy): Dereference the pointers explicitly;
19976 use the correct size for the copy.
19978 * rs6000.c (rs6000_va_start): Dereference valist to get to the record.
19979 (rs6000_va_arg): Likewise.
19981 Mon Sep 27 23:27:21 1999 Richard Henderson <rth@cygnus.com>
19983 * rtl.h (struct rtx_def): Move gc_mark to align mode field.
19985 Mon Sep 27 23:20:29 1999 Mark Mitchell <mark@codesourcery.com>
19987 * tree.h (struct tree_decl): Use `bclass', not `class', in name of
19989 (DECL_BUILT_IN_CLASS): Adjust accordingly.
19991 Mon Sep 27 23:03:16 1999 Richard Henderson <rth@cygnus.com>
19993 * ggc-page.c (GGC_MIN_LAST_ALLOCATED): New.
19994 (init_ggc): Use it instead of a constant.
19995 (ggc_collect): Bound allocated_last_gc by it.
19997 Mon Sep 27 19:06:04 1999 Jeffrey A Law (law@cygnus.com)
19999 * fixinc/fixinc.irix (stdio.h): Hack stdio.h to avoid problems
20002 Mon Sep 27 19:40:17 CEST 1999 Marc Espie <espie@cvs.openbsd.org>
20004 * configure.in (mips*el-*-openbsd*): Don't duplicate default settings.
20005 (mips*-*-openbsd*): Let big endian configuration be a fragment.
20006 * configure: Regen.
20007 * config/mips/openbsd.h: New, OpenBSD little endian target.
20008 * config/mips/openbsd-be.h: New, OpenBSD big endian target fragment.
20009 * config/mips/xm-openbsd.h: New, OpenBSD host.
20011 Mon Sep 27 10:28:48 1999 Andreas Schwab <schwab@suse.de>
20013 * config/m68k/m68k.c (output_function_prologue,
20014 output_function_epilogue): Use
20015 current_function_uses_pic_offset_table instead of regs_ever_live
20016 to decide whether to save/restore pic register.
20017 (legitimize_pic_address): Don't modify regs_ever_live any more.
20019 Sun Sep 26 10:55:36 1999 Mark Mitchell <mark@codesourcery.com>
20021 * function.h (struct function): Add x_dont_save_pending_sizes_p.
20022 * stor-layout.c (variable_size): Don't add sizes to the pending
20023 sizes list if x_dont_save_pending_sizes_p is set.
20025 Sun Sep 26 16:36:52 1999 Robert Lipe (robertlipe@usa.net)
20027 * config/i386/dgux.h (SELECT_RTX_SECTION): Provide dummy argument
20028 for symbolic_operand().
20029 * config/i386/sco5.h (SELECT_RTX_SECTION): Likewise.
20031 Sun Sep 26 07:37:11 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
20033 * combine.c (gen_rtx_combine): Add missing call to va_end().
20035 * final.c (asm_fprintf): Likewise.
20037 * genattrtab.c (attr_rtx): Likewise.
20039 Sat Sep 25 13:11:07 1999 Jeffrey A Law (law@cygnus.com)
20041 * cse.c: Update comments.
20042 (cse_insn): When converting a conditional/computed jump into
20043 an unconditional jump, always make sure a BARRIER immediately
20044 follows the converted jump. Do not delete unreachable code.
20045 (cse_basic_block): Do not delete unreachable code.
20046 * toplev.c (rest_of_compilation): Move call to
20047 delete_trivially_dead_insns after the conditional call to
20050 Sat Sep 25 09:03:17 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
20052 * collect2.c (make_temp_file): Don't prototype.
20054 * gcc.c (make_temp_file): Likewise.
20056 * mips.c (mips_make_temp_file): Renamed from `make_temp_file'.
20058 Sat Sep 25 13:42:15 1999 Nick Clifton <nickc@cygnus.com>
20060 * varasm.c (asm_emit_uninitialised): New function: Generate
20061 the assembler statements necessary to declare an uninitialised
20063 (ASM_EMIT_LOCAL): New macro: Emit a local, uninitialised
20065 (ASM_EMIT_BSS): New macro: Emit an entry in the bss section.
20066 (ASM_EMIT_COMMON): New macro: Emit an entry in the common
20068 (assemble_variable): Use asm_emit_uninitialised to emit an
20069 uninitialised variable.
20071 Fri Sep 24 17:10:56 1999 Nick Clifton <nickc@cygnus.com>
20073 * combine.c (simplify_comparison): Cope with downshifting a 32 bit
20074 constant on a 64 bit host. Patch supplied by Geoffrey Keating
20075 <geoffk@cygnus.com>.
20077 Fri Sep 24 10:48:10 1999 Bernd Schmidt <bernds@cygnus.co.uk>
20079 * builtins.c (expand_builtin): Use MD_EXPAND_BUILTIN if defined.
20080 * c-common.h (builtin_function): Don't declare.
20082 * c-decl.c (duplicate_decls): Use DECL_BUILT_IN_CLASS rather than
20084 (pushdecl): Likewise.
20085 (finish_decl): Likewise.
20086 (builtin_function): New arg CLASS. Arg FUNCTION_CODE now of type
20087 int. All callers changed.
20088 Set the builtin's DECL_BUILT_IN_CLASS.
20089 * tree.h (enum built_in_class): New.
20090 (enum built_in_function): Delete NOT_BUILT_IN.
20091 (DECL_FUNCTION_CODE): The corresponding field in tree_decl is now
20093 (DECL_SET_FUNCTION_CODE): Likewise.
20094 (DECL_BUILT_IN_CLASS): New macro.
20095 (DECL_BUILT_IN): Use DECL_BUILT_IN_CLASS.
20096 (struct tree_decl): Split builtin function code field into a
20098 (builtin_function): Declare.
20100 Fri Sep 24 01:45:05 1999 Mark Mitchell <mark@codesourcery.com>
20102 * optabs.c (init_traps): Fix typo in last change.
20104 Fri Sep 24 01:10:11 1999 Mark Mitchell <mark@codesourcery.com>
20106 * toplev.c (rest_of_decl_compilation): Update comment.
20108 Fri Sep 24 11:57:06 1999 Geoffrey Keating <geoffk@cygnus.com>
20110 * config/mips/elf.h (ASM_OUTPUT_ALIGNED_BSS): Put the symbol
20111 in .sbss if appropriate.
20112 (EXTRA_SECTION_FUNCTIONS): Add sbss.
20113 (SBSS_SECTION_ASM_OP): New macro.
20114 * config/mips/linux.h (EXTRA_SECTION_FUNCTIONS): Add sbss.
20115 (EXTRA_SECTIONS): Add in_sbss.
20116 * config/mips/mips.h: Prototype sbss_section.
20118 Thu Sep 23 18:18:55 1999 Mark Mitchell <mark@codesourcery.com>
20120 * stmt.c (expand_start_bindings): Don't allow cleanup instructions
20123 Thu Sep 23 18:07:01 1999 Mark Mitchell <mark@codesourcery.com>
20125 * optabs.c (init_traps): Register trap_rtx as a GC root.
20127 Thu Sep 23 17:41:47 1999 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
20129 * config/mips/mips.c (function_arg_pass_by_reference): Define
20130 unconditionally, since it's called unconditionally.
20132 Thu Sep 23 13:40:02 1999 Jason Merrill <jason@yorick.cygnus.com>
20134 * toplev.c (documented_lang_options): Add -fshort-wchar.
20135 * c-decl.c (c_decode_option): Likewise.
20136 (init_decl_processing): If -fshort-wchar, use 'short unsigned int'
20138 * c-common.c, c-lex.c: Get WCHAR_TYPE_SIZE from wchar_type_node.
20139 * gcc.c (default_compilers): If -fshort-wchar,
20140 override __WCHAR_TYPE__.
20141 * tm.texi (C Dialect Options): Add -fshort-wchar.
20143 * dwarf2out.c (output_aranges): Use DW_AT_location to find the
20144 symbol for a variable.
20146 * cpplib.h (CPP_PREPROCESSED): New macro.
20147 * cpplib.c (handle_directive): Don't complain about `# NUMBER' if
20148 we're seeing this input for a second time.
20150 Thu Sep 23 12:54:49 1999 Alex Samuel <samuel@codesourcery.com>
20152 * emit-rtl.c (init_emit_once): Initialize modes first.
20154 Sun Sep 19 01:23:23 1999 Alex Samuel <samuel@codesourcery.com>
20156 * config/i386/i386.c (pic_label_name): Change to char pointer.
20157 (global_offset_table): New variable.
20158 (load_pic_register): Fill global_offset_table if it hasn't
20159 already been done. Allocate pic_label_name dynamically.
20160 * ggc.h (empty_string): New variable.
20161 * ggc-simple.c (empty_string): Likewise.
20162 (init_ggc): Allocate empty_string and add as root.
20163 * stmt.c (digit_strings): New variable.
20164 (init_stmt): Add last_block_end_note as root. Allocate and
20165 initialize digit_strings.
20166 (expand_asm_operands): Use empty_string instead of string
20167 constant. Use digit_strings instead of string constants.
20168 * profile.c (init_arc_profiler): Allocate string with
20169 ggc_alloc_string instead of xmalloc.
20170 (output_func_start_profiler): Likewise.
20171 * c-typeck.c (digest_init): Check if init is error_mark_node.
20173 Thu Sep 23 12:59:14 1999 Alex Samuel <samuel@codesourcery.com>
20174 Richard Henderson <rth@cygnus.com>
20176 * ggc-page.c: New file.
20177 * Makefile.in (ggc-page.o): New.
20179 Thu Sep 23 13:55:21 1999 Jeffrey A Law (law@cygnus.com)
20181 * invoke.texi: Document -fdelete-null-pointer-checks
20182 * toplev.c (flag_delete_null_pointer_checks): New.
20183 (f_options): Add entry for -fdelete-null-pointer-checks.
20184 (rest_of_compilation): Conditionalize null pointer check
20185 elimination on flag_delete_null_pointer_checks.
20186 (main): If -O2 or greater, enable -fdelete-null-pointer-checks
20188 1999-09-23 10:56 -0700 Zack Weinberg <zack@bitmover.com>
20190 * iso646.h, stdarg.h, stdbool.h, stddef.h, varargs.h: Add
20191 copyright notice and special exception to GPL.
20193 Thu Sep 23 13:40:23 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
20195 * abi64.h (mips_function_value): Add prototype arguments.
20197 * mips-protos.h: New file with mips prototypes.
20199 * mips.c: Include "tm_p.h".
20200 (mktemp, lookup_name): Add prototype arguments.
20201 (extern_list, string_constant, mips_fill_delay_slot,
20202 mips_output_external, mips_output_external_libcall,
20203 mips_output_filename, mips_declare_object, function_prologue,
20204 mips_expand_prologue, function_epilogue, mips16_constant,
20205 build_mips16_function_stub, mips_output_conditional_branch):
20207 (mips_va_start): Remove unused variable `u'.
20208 (mips_va_arg): Cast value to unsigned when comparing against one.
20210 (save_restore_insns, mips_expand_prologue): Add missing arg in
20211 call to `large_int'.
20213 * mips.h: Move prototypes to mips-protos.h.
20214 (data_section, memory_address_p, rdata_section,
20215 readonly_data_section, simple_epilogue_p, text_section): Delete
20216 prototypes delcared elsewhere.
20217 (mips_epilogue_delay_slots, print_options): Delete unused decls.
20219 (GO_PRINTF, GO_PRINTF2): Call fprintf, not trace.
20221 * mips.md: Delete extra args in call to `mips_move_2words'.
20223 * xm-iris6.h (alloca): Add prototype argument.
20225 * genpeep.c: Include "tm_p.h" in generated output file.
20227 Thu Sep 23 10:36:55 EDT 1999 Andrew MacLeod <amacleod@cygnus.com>
20229 * basic-block.h (find_edge_index): Change parameters.
20230 * flow.c (verify_edge_list): Pass basic_block parameters to
20231 find_edge_index instead of integers.
20233 Thu Sep 23 15:54:12 1999 Nick Clifton <nickc@cygnus.com>
20235 * combine.c (simplify_comparison): Use an unsigned shift to adjust
20238 Thu Sep 23 08:46:21 1999 Guy Harris <guy@netapp.com>
20240 * gcc.1: Fix a formatting error.
20242 Wed Sep 22 16:10:21 1999 Martin v. Löwis <loewis@informatik.hu-berlin.de>
20244 * install.texi (Configurations): Remove pyramid. Add fr30, i686,
20245 i786, mn10200, mn10300, pdp11, v850.
20247 Thu Sep 23 07:37:13 1999 Dan Nicolaescu <dann@ics.uci.edu>
20249 * libgcc2.c (num_digits): Add prototype with
20250 __attribute__((const)).
20251 (__terminate): Add prototype.
20253 Thu Sep 23 05:32:06 1999 Richard Henderson <rth@cygnus.com>
20255 * builtins.c, dbxout.c, varasm.c: Include tm_p.h.
20257 * alpha/alpha.c (print_operand): Fix type of `code'.
20258 (alpha_output_filename): Constify.
20259 * alpha/alpha.h: Move all function declarations ...
20260 * alpha/alpha-protos.h: ... here. New file.
20261 * alpha/elf.h (CONST_SECTION_FUNCTION): Prototype the function.
20262 (SECTION_FUNCTION_TEMPLATE): Likewise.
20264 Thu Sep 23 11:15:36 1999 Bernd Schmidt <bernds@cygnus.co.uk>
20266 * expmed.c (do_cmp_and_jump): Pass ccp_jump to can_compare_p.
20267 * expr.c (expand_expr): Likewise.
20268 (do_jump): Likewise.
20269 (do_store_flag): Pass ccp_store_flag to can_compare_p.
20270 * expr.h (enum optab_index): Add cbranch, cmov, cstore optabs and
20272 (enum can_compare_purpose): New.
20273 (can_compare_p): Adjust prototype.
20274 (prepare_cmp_insn, prepare_operand): Declare.
20275 * genopinit.c (optabs): Add cbranch_optab, cmov_optab, cstore_optab.
20276 * optabs.c (cmp_available_p): Deleted.
20277 (expand_abs): Pass ccp_jump to can_compare_p.
20278 (can_compare_p): New arg PURPOSE. Check for combined optabs.
20279 (prepare_cmp_insn): No longer static. Add arg PURPOSE.
20280 Call can_compare_p rather than cmp_available_p.
20281 (prepare_operand): No longer static.
20282 (emit_cmp_and_jump_insn): Check for and use cbranch patterns.
20283 (emit_cmp_and_jump_insns): Pass ccp_jump to prepare_cmp_insn.
20284 (expand_float): Fix a slightly broken emit_cmp_insn/emit_jump_insn
20285 sequence to use emit_cmp_and_jump_insns.
20286 (init_optabs): Initialize cbranch_optab, cmov_optab, cstore_optab.
20288 Wed Sep 22 17:58:01 1999 Stan Cox <scox@cygnus.com>
20290 * mips.h (GO_IF_LEGITIMATE_ADDRESS): Don't accept large
20291 register offsets; let LEGITIMIZE_ADDRESS load it into a register.
20292 (LEGITIMIZE_ADDRESS): Use plus_constant to avoid
20293 (plus (reg) (const_int 0))
20294 * mips.md (call_internal3c): New pattern for -mips16 -mlong-calls.
20296 Wed Sep 22 17:55:31 1999 David Edelsohn <edelsohn@gnu.org>
20298 * rs6000.c (expand_block_move): DImode loads and stores require
20299 word-aligned displacements. Increment address registers with
20300 adddi3 on 64-bit platform. Use TARGET_POWERPC64 not TARGET_64BIT.
20302 Wed Sep 22 17:35:55 1999 Michael Meissner <meissner@cygnus.com>
20304 * dwarf2out.c (base_type_die): Use the name __unknown__ if there
20305 is no name for the base type, rather than segfault. If we are
20306 writing out a complex integer type, use DW_ATE_lo_user.
20308 * expr.c (emit_move_insn_1): If we are copying a complex that fits
20309 in one word or less (complex char, complex short, or on 64 bit
20310 systems complex float) to/from a hard register, copy it through
20311 memory instead of dying in gen_{real,imag}part. If we have a
20312 short complex type, prevent inlining since it allocates stack
20315 * tree.c (build_complex_type): If we are writing dwarf2 output,
20316 generate a name for complex integer types.
20318 Wed Sep 22 11:34:08 EDT 1999 Andrew MacLeod <amacleod@cygnus.com>
20320 * basic-block.h (add_noreturn_fake_exit_edges): Use correct name.
20321 * flow.c (remove_edge): Remove extra whitespace.
20322 (remove_fake_edges): Fix comment.
20323 (add_noreturn_fake_exit_edges): Use the correct name.
20325 Wed Sep 22 16:12:40 BST 1999 Nathan Sidwell <nathan@acm.org>
20327 * Makefile.in (INTL_MOSTLYCLEAN, INTL_CLEAN): New variables.
20328 (mostlyclean): Depend on INTL_MOSTLYCLEAN.
20329 (clean): Depend on INTL_CLEAN.
20330 (maintainer-clean): Adjust.
20332 Wed Sep 22 10:18:56 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
20334 * configure.in (AC_PREREQ): Bump to 2.13.
20335 (AC_C_STRINGIZE): Call this instead of using a custom macro.
20337 * gansidecl.h (HAVE_STRINGIZE): Define, if stage2 gcc && __STDC__.
20339 * system.h (HAVE_STRINGIZE): Test this instead of HAVE_CPP_STRINGIFY.
20341 * acconfig.h (HAVE_CPP_STRINGIFY): Delete.
20343 * alpha/xm-vms.h (HAVE_CPP_STRINGIFY): Delete.
20344 (HAVE_STRINGIZE): Define.
20346 Wed Sep 22 06:25:15 1999 Jim Kingdon <http://developer.redhat.com>
20348 * c-parse.in: save and restore warn_pointer_arith on __extension__
20349 along with pedantic.
20350 (SAVE_WARN_FLAGS, RESTORE_WARN_FLAGS): Added.
20351 Set the type of extension to itype rather than $<itype>1 kludge.
20352 * extend.texi (Alternate Keywords): Adjust documentation.
20353 * c-parse.c, c-parse.y, objc-parse.c, objc-parse.y: Rebuilt.
20355 Wed Sep 22 06:06:57 1999 Jeffrey A Law (law@cygnus.com)
20357 * pa.c, pa.h, pa.md: Support multiple assembler dialects in
20358 most assembler templates.
20360 * pa.c (hppa_legitimize_address): Handle full offsets for PA2.0
20361 FP loads and stores.
20362 (following_call): Always return zero for the PA8000.
20363 * pa.h (GO_IF_LEGITIMATE_ADDRESS): Handle full offsets for PA2.0
20364 FP loads and stores.
20365 (LEGITIMIZE_RELOAD_ADDRESS): Similarly.
20367 * pa.h (BRANCH_COST): Define.
20369 * pa.md (return, return_internal): Use bve for PA2.0.
20371 * pa.md (fused multiply): Add variants which reduce height for the
20372 fused multiply, but which still generate 2 insns.
20373 (fnegabs): Similarly.
20375 * pa.md (subsi3): Turn into an expander. Create two anonymous
20376 patterns. One for PA2.0 one for PA1.x. Use mtsarcm for PA2.0.
20377 * pa.h (EXTRA_CONSTRAINT): Handle 'S'.
20379 * pa.md (floatunssisf2, floatunssidf2): Generate different RTL
20381 (floatunssidf2_pa20, floatunssisf2_pa20): New patterns for PA2.0
20383 (floatunsdisf2, floatunsdidf2, fixuns_truncsfsi2): Likewise.
20384 (fixuns_truncdfsi2, fixuns_truncsfdi2, fixuns_truncdfsi2): Likewise.
20386 * regclass.c (init_regs): Add "top_of_stack" as a garbage
20389 * flow.c (record_active_eh_regions): Terminate loop after finding
20390 the last insn in the last basic block.
20392 Wed Sep 22 20:25:00 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
20394 * config/c4x/c4x.md: Delete parallel instruction peepholes.
20396 Wed Sep 22 19:59:19 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
20398 * config/c4x/c4x.c (c4x_add_gc_roots): Add tree roots.
20400 Wed Sep 22 19:56:25 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
20402 * config/c4x/c4x.c (c4x_process_after_reload): Rework machdep insn
20403 splitting to not use output template.
20405 Wed Sep 22 19:50:12 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
20407 * config/c4x/c4x.h (EXPAND_BUILTIN_VA_START): Call c4x_va_start.
20408 * config/c4x/c4x.c (c4x_va_start): New function.
20410 Tue Sep 21 18:40:01 1999 Jan Hubicka <hubicka@freesoft.cz>
20412 * genrecog.c (not_both_true): Handle correctly cases when called for
20413 tests with different positions in the insn.
20415 Tue Sep 21 18:29:11 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
20417 * machmode.h (HOST_PTR_PRINTF): Move from here ...
20419 * system.h (HOST_PTR_PRINTF): ... to here.
20421 * mips-tfile.c: Don't include machmode.h.
20423 * Makefile.in (MACHMODE_H): New variable. Update to use it.
20424 (mips-tfile.o): Don't depend on machmode.h.
20426 Tue Sep 21 18:27:34 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
20428 * haifa-sched.c (sched_analyze): Rename local variable `region' to
20429 avoid conflicts with typedef struct `region' at the top level scope.
20431 Tue Sep 21 14:14:50 1999 Richard Henderson <rth@cygnus.com>
20433 * basic-block.h (basic_block): Add eh_beg, eh_end.
20434 * flow.c (entry_exit_blocks): Update.
20435 (find_basic_blocks): Don't allocate bb_eh_end, or pass it around.
20436 Call new functions.
20437 (find_basic_blocks_1): Don't record eh_list at each bb. Use
20438 lists.c functions to allocate insn lists.
20439 (make_edges): Use eh_beg+eh_end, not the lists. Split out EH
20441 (make_eh_edge): ... here. New.
20442 (move_stray_eh_region_notes): New.
20443 (record_active_eh_regions): New.
20444 (delete_unreachable_blocks): Split out block merging ...
20445 (try_merge_blocks): ... here. New.
20446 (merge_blocks_move_predecessor_nojumps): Remove edge arg.
20447 Dump debugging data.
20448 (merge_blocks_move_successor_nojumps): Likewise.
20449 (merge_blocks): Use eh_beg+eh_end to validate block movement.
20451 Tue Sep 21 11:15:03 1999 Martin v. Löwis <loewis@informatik.hu-berlin.de>
20453 * extend.texi (Bound member functions): Document unbound pmf
20456 Tue Sep 21 14:55:11 EDT 1999 Andrew MacLeod <amacleod@cygnus.com>
20458 * flow.c (split_edge): Handle insertion on a fallthrough edge which
20459 has the EXIT_BLOCK as a dest.
20461 Tue Sep 21 14:51:23 EDT 1999 Andrew MacLeod <amacleod@cygnus.com>
20463 * flow.c (remove_edge): New function to remove an edge from the
20465 (remove_fake_successors): New function to remove fake successor edges.
20466 (remove_fake_edges): New function to remove all fake edges from the
20468 (add_fake_exit_edges): New function to add fake edges from all blocks
20469 with no successors to the exit block.
20470 * basic-block.h (remove_fake_edges, add_fake_exit_edges): Add
20471 prototypes for new functions.
20473 Tue Sep 21 14:49:53 EDT 1999 Andrew MacLeod <amacleod@cygnus.com>
20475 * config/mips/elf64.h (ASM_OUTPUT_CONSTRUCTOR, ASM_OUTPUT_DESTRUCTOR):
20476 Use Pmode to determine whether to output .dword or .word.
20478 Tue Sep 21 11:04:34 1999 Alex Samuel <samuel@codesourcery.com>
20480 * tree.c (built_in_filename): New variable.
20481 (BUILT_IN_FILENAME): New macro.
20482 (init_tree_codes): Allocate built_in_filename.
20483 (make_node): Use built_in_filename instead of string constant.
20485 Tue Sep 21 14:13:27 1999 Nick Clifton <nickc@cygnus.com>
20487 * configure.in: Add fr30 target.
20488 * configure: Regenerate.
20489 * config/fr30: New directory.
20490 * config/fr30/crti.asm: New file.
20491 * config/fr30/fr30.c: New file.
20492 * config/fr30/crtn.asm: New file.
20493 * config/fr30/fr30.h: New file.
20494 * config/fr30/fr30.md: New file.
20495 * config/fr30/lib1funcs.asm: New file.
20496 * config/fr30/t-fr30: New file.
20497 * config/fr30/xm-fr30.h: New file.
20499 Tue Sep 21 06:45:31 1999 Jeffrey A Law (law@cygnus.com)
20501 * flow.c (merge_blocks_move_successor_nojumps): Delete the
20502 BARRIER at the end of the successor, not the BARRIER before
20505 * pa.c (pa_add_gc_roots): Fix thinko in last change.
20507 Tue Sep 21 05:29:17 1999 Richard Earnshaw (rearnsha@arm.com)
20509 * stmt.c (any_pending_cleanups): Don't crash when
20510 current_function->stmt is unset.
20512 Tue Sep 21 00:59:49 1999 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
20514 * emit-rtl.c (init_emit_once): Initialize const_int_rtx before
20515 other initializations that may use it for relative offsets.
20517 Mon Sep 20 21:43:25 1999 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
20519 * config/i386/sol2.h (PREFERRED_DEBUGGING_TYPE): Use stabs.
20520 (ASM_SPEC): Moved from sol2dbg.h. Added work-around for gas.
20521 * config/i386/sol2dbg.h: Removed.
20522 * config/i386/sol2gas.h: New file, to enable gas work-around.
20523 * configure.in: Use i386/sol2gas.h on Solaris/x86 --with-gas.
20524 Don't use sol2dbg.h.
20525 * configure: Rebuilt.
20527 Mon Sep 20 13:29:41 1999 Mark Mitchell <mark@codesourcery.com>
20529 * invoke.texi (-fthis-is-variable): Remove documentation.
20531 Mon Sep 20 12:59:16 1999 Richard Henderson <rth@cygnus.com>
20533 * basic-block.h (compute_bb_for_insn): Declare.
20534 * flow.c (compute_bb_for_insn): Export. Don't accept the varray
20535 to use; set size of basic_block_for_insn directly.
20536 (find_basic_blocks): Update.
20538 Mon Sep 20 15:11:54 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
20540 * flow.c (verify_flow_info): Fix typo, "abort;" -> "abort ();".
20542 Mon Sep 20 14:56:34 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
20544 * crtstuff.c (ON_EXIT): Delete empty macro definition.
20545 (__do_global_ctors_aux): Call atexit(), not ON_EXIT().
20547 Mon Sep 20 15:25:35 1999 Nick Clifton <nickc@cygnus.com>
20549 * c-decl.c (c_decode_option): Extend comment.
20551 Mon Sep 20 14:43:37 1999 Nick Clifton <nickc@cygnus.com>
20553 * toplev.c (progname): Make 'const char *'
20554 (flag_print_mem): Move out of main.
20555 (version_flag): Move out of main.
20556 (filename): Move out of main.
20557 (debug_args): Remove g prefix from options.
20558 (documented_lang_options): Remove cpplib specific options.
20559 (display_help): Add g prefix to debug options.
20560 (check_lang_option): Delete this function.
20561 (decode_d_option): New function: Decode -d... option.
20562 (decode_f_option): New function: Decode -f... option.
20563 (decode_W_option): New function: Decode -W... option.
20564 (decode_g_option): New function: Decode -g... option.
20565 (independent_decode_option): New function: Decode a language
20566 independent command line option.
20567 (main): Invoke lang_decode_option and then
20568 independent_decode_option on each command line option in
20571 Mon Sep 20 05:41:36 1999 Jeffrey A Law (law@cygnus.com)
20573 Revert this change. Gavin's patch to operand_equal_p is a better fix.
20574 * fold-const.c (fold_range_test): Do not try to fold the range
20575 test if the rhs or lhs has side effects.
20577 * basic-block.h (compute_flow_dominators): Declare.
20579 * gcse.c (alloc_code_hoist_mem): New function.
20580 (free_code_hoist_mem, compute_code_hoist_vbeinout): Likewise.
20581 (compute_code_hoist_data, hoist_expr_reaches_here_p): Likewise.
20582 (hoist_code, one_code_hoisting_pass): Likewise.
20583 (gcse_main): If optimizing for size, then hoist expressions
20584 computed in multiple dominated basic blocks.
20586 * gcse.c (invalid_nonnull_info): New function.
20587 (delete_null_pointer_checks): Likewise.
20588 * rtl.h (delete_null_pointer_checks): Declare.
20589 * toplev.c (rest_of_compilation): Call delete_null_pointer_checks.
20591 * flow.c (merge_blocks_move_predecessor_nojumps): New function.
20592 (merge-blocks_move_successor_nojumps): Likewise.
20593 (merge_blocks): Allow merging of some blocks, even if it requires
20594 physical movement of the blocks, but not if it requires new jumps.
20596 * bitmap.c (debug_bitmap_file): Renmaed from bitmap_debug_file.
20597 Callers and prototype changed.
20598 * bitmap.h: Fix debug_bitmap and debug_bitmap_file prototypes.
20600 Mon Sep 20 06:56:32 1999 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
20602 * config/sparc/sol2.h (LINK_SPEC): Avoid the duplication of
20603 -YP when both -p and -pg are present. From i386/sol2.h.
20605 Mon Sep 20 10:49:05 1999 Bernd Schmidt <bernds@cygnus.co.uk>
20607 * Makefile.in (distclean): Delete tm_p.h.
20608 * configure.in: Create a new file, "tm_p.h", from a list in
20609 "tm_p_file". For ix86 systems, set up "tm_p_file" to include
20610 "i386/i386-protos.h".
20612 * alias.c: Include "tm_p.h".
20613 * c-typeck.c: Likewise.
20614 * calls.c: Likewise.
20616 * emit-rtl.c: Likewise.
20617 * explow.c: Likewise.
20618 * expmed.c: Likewise.
20619 * expr.c: Likewise.
20620 * final.c: Likewise.
20621 * flow.c: Likewise.
20622 * fold-const.c: Likewise.
20623 * function.c: Likewise.
20624 * gcse.c: Likewise.
20625 * global.c: Likewise.
20626 * haifa-sched.c: Likewise.
20627 * integrate.c: Likewise.
20628 * jump.c: Likewise.
20629 * local-alloc.c: Likewise.
20630 * loop.c: Likewise.
20631 * optabs.c: Likewise.
20632 * recog.c: Likewise.
20633 * reg-stack.c: Likewise.
20634 * regclass.c: Likewise.
20635 * regmove.c: Likewise.
20636 * reload.c: Likewise.
20637 * reload1.c: Likewise.
20638 * reorg.c: Likewise.
20639 * resource.c: Likewise.
20640 * stmt.c: Likewise.
20641 * stor-layout.c: Likewise.
20642 * toplev.c: Likewise.
20643 * tree.c: Likewise.
20644 * unroll.c: Likewise.
20645 * genattrtab.c (main): Make generated file include "tm_p.h".
20646 * genemit.c (main): Likewise.
20647 * genoutput.c (main): Likewise.
20648 * genrecog.c (main): Likewise.
20650 * i386.h: Delete all prototypes.
20651 * i386.c: Include "tm_p.h".
20652 (ix86_attr_length_default): Call constant_call_address_operand
20653 with correct number of arguments.
20654 * i386-protos.h: New file.
20655 * i386.md (unnamed patterns): Call constant_call_address_operand
20656 with correct number of arguments.
20657 (exception_receiver): Call load_pic_register with correct number
20660 Sun Sep 19 14:18:39 1999 Richard Henderson <rth@cygnus.com>
20662 * c-pragma.c (mark_align_stack): Dereference the void* properly.
20664 Sun Sep 19 09:03:40 1999 Mark Mitchell <mark@codesourcery.com>
20666 * rtl.h (insns_safe_to_move_p): New function.
20667 * loop.c (find_and_verify_loops): Use it.
20668 * rtlanal.c (insns_safe_to_move_p): Define it.
20670 Sun Sep 19 02:54:33 1999 Richard Henderson <rth@cygnus.com>
20672 * c-pragma.c: Include ggc.h.
20673 * Makefile.in (c-pragma.o): Update.
20675 Sat Sep 18 16:01:18 1999 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
20677 * config/i386/sol2.h (CPP_SPEC): Support -[p]threads
20678 (LIB_SPEC): Likewise.
20679 (LINK_SPEC): Do not assert -z text with -shared -mimpure-text.
20680 Reindent -YP/-p/-pg.
20681 Copied from config/sparc/sol2.h.
20683 Sat Sep 18 11:52:43 1999 Richard Henderson <rth@cygnus.com>
20685 * c-pragma.c (mark_align_stack): New.
20686 (init_pragma): New.
20687 * c-pragma.h (init_pragma): Declare it.
20688 * c-lex.c (init_parse): Call it.
20690 Sat Sep 18 15:20:38 1999 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
20692 * configure.in: Pick up thread library on Solaris/x86 just
20693 like on Solaris/sparc.
20694 * configure: Rebuilt.
20696 Sat Sep 18 11:15:58 1999 Alex Samuel <samuel@codesourcery.com>
20698 * rtl.h (global_rtx_index): New enum.
20699 (global_rtl): Change to array of rtx.
20700 (pc_rtx, cc0_rtx): Redefine accordingly.
20701 (cc0_rtx, stack_pointer_rtx, frame_pointer_rtx): Likewise.
20702 (hard_frame_pointer_rtx, arg_pointer_rtx): Likewise.
20703 (virtual_incoming_args_rtx, virtual_stack_vars_rtx): Likewise.
20704 (virtual_outgoing_args_rtx, virtual_cfa): Likewise.
20705 (const_int_rtx): Change to array of rtx.
20706 (const0_rtx, const1_rtx, const2_rtx, constm1_rtx): Redefine
20708 * emit-rtl.c (global_rtl): Change to array of rtx.
20709 (const_int_rtx): Change to aray of rtx.
20710 (gen_rtx_CONST_INT): Redefine accordingly.
20711 (init_emit_once): Allocate and initialize global_rtl. Likewise
20712 for const_int_rtx. Add both as GC roots.
20713 * genattrtab.c (global_rtl): Update declaration.
20715 1999-09-17 Ulrich Drepper <drepper@cygnus.com>
20717 * Makefile (USER_H): Add iso646.h back.
20719 Sat Sep 18 01:07:21 1999 Jeffrey A Law (law@cygnus.com)
20721 * haifa-sched.c (sched_analyze): Use free_INSN_LIST_list instead of
20722 zapping the LOG_LINKS of sched_before_next_call.
20724 * pa.h (INSN_SETS_ARE_DELAYED): Delete.
20725 * pa.c (insn_refs_are_delayed): Renamed from
20726 insn_sets_and_refs_are_delayed.
20728 Fri Sep 17 15:19:01 1999 Mark Mitchell <mark@codesourcery.com>
20730 * functiion.h (struct function): Add x_whole_function_mode_p.
20731 (retrofit_block): Declare.
20732 * function.c (retrofit_block): New function.
20733 (identify_blocks): Add assertions. Allow an incomplete set of
20734 block notes if we're still generating code for the function.
20735 * integrate.c: Include loop.h.
20736 (expand_inline_function): Call find_loop_tree_blocks to map block
20737 notes to blocks when in whole-function mode. Use retrofit_block
20738 to insert new BLOCKs for the inlined function, rather than
20740 * stmt.c (expand_fixup): Likewise. Don't use pushlevel/polevel.
20741 * Makefile.in (integrate.o): Depend on loop.h.
20743 Fri Sep 17 15:11:20 1999 Mark Mitchell <mark@codesourcery.com>
20745 * tree.h (warn_about_unused_variables): Declare.
20746 * stmt.c (warn_about_unused_variables): New function, split out
20748 (expand_end_bindings): Here.
20750 Fri Sep 17 15:07:37 1999 Mark Mitchell <mark@codesourcery.com>
20752 * stmt.c (preserve_subexpressions_p): Don't crash when
20753 current_function->stmt is unset.
20755 Fri Sep 17 15:03:16 1999 Mark Mitchell <mark@codesourcery.com>
20757 * stmt.c (expand_start_bindings): Allow callers to pass a flag
20758 indicating that no NOTE_INSN_BLOCK_BEG note is required.
20759 (expand_start_target_temps): Use it.
20760 * except.c (expand_eh_region_start_for_decl): Likewise.
20761 * expr.c (expand_expr): Likewise.
20763 Fri Sep 17 15:05:27 1999 Gavin Romig-Koch <gavin@cygnus.com>
20765 * fold-const.c (operand_equal_p): Pay attention to side effects.
20767 Fri Sep 17 11:14:17 1999 Jason Merrill <jason@yorick.cygnus.com>
20769 * libgcc2.c (L_exit): Check for ON_EXIT, not HAVE_ON_EXIT.
20770 * sparc/sunos4.h (HAVE_ON_EXIT): Remove.
20772 * tlink.c (scan_linker_output): Look for keywords before accepting
20773 a mangled name in quotes.
20775 Thu Sep 16 16:47:08 1999 Richard Henderson <rth@cygnus.com>
20777 * alpha/alpha-interix.h (DWARF2_UNWIND_INFO): Define to zero.
20778 * alpha/osf2or3.h (DWARF2_UNWIND_INFO): Likewise.
20780 Thu Sep 16 16:35:41 1999 Richard Henderson <rth@cygnus.com>
20782 * alpha.md: Revert Thu Nov 26 change that came in through the
20783 last gcc2 merge: reinstate (plus (plus ...)) reload patterns.
20784 Avoid earlyclobber when possible.
20786 Thu Sep 16 18:44:48 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
20788 * libgcc2.c (__do_global_ctors): Call atexit with one arg.
20790 * sparc/sunos4.h (on_exit): Wrap prototype parameters in PARAMS().
20791 Define HAVE_ON_EXIT.
20793 Thu Sep 16 18:06:35 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
20795 * system.h (CTYPE_CONV, TOUPPER, TOLOWER): New macros. Use
20796 CTYPE_CONV in all ctype macros.
20798 * cccp.c (initialize_char_syntax): Use uppercase ctype macro
20801 * cexp.y (initialize_random_junk): Likewise.
20803 * c4x.c (c4x_interrupt_function_p, c4x_handle_pragma): Likewise.
20805 * i370.c (handle_pragma): Likewise.
20807 * i370.h (ASM_OUTPUT_LABELREF, ASM_OUTPUT_ASCII): Likewise.
20809 * v850.c (override_options): Likewise.
20811 * doprint.c (_doprnt): Likewise.
20813 * fixinc/fixincl.c (main, quoted_file_exists, extract_quoted_files):
20816 * fixinc/server.c (load_data): Likewise.
20818 * fold-const.c (real_hex_to_f): Likewise.
20820 * genattr.c (write_upcase, gen_attr): Likewise.
20822 * genattrtab.c (convert_const_symbol_ref, evaluate_eq_attr,
20823 write_upcase): Likewise.
20825 * genemit.c (print_code): Likewise.
20827 * genopinit.c (gen_insn): Likewise.
20829 * genpeep.c (print_code): Likewise.
20831 * genrecog.c (print_code): Likewise.
20833 * optabs.c (init_libfuncs): Likewise.
20835 Thu Sep 16 14:03:32 1999 Mark Mitchell <mark@codesourcery.com>
20837 * haifa-sched.c (sched_analyze): Keep the list of notes organized
20839 (reemit_notes): Likewise.
20841 Thu Sep 16 11:50:52 1999 Alex Samuel <samuel@codesourcery.com>
20843 * ggc.h (ggc_root): Move to ggc-common.c.
20845 (ggc_mark_rtx, ggc_mark_tree): Change to macro.
20846 (ggc_mark_rtvec, ggc_mark_tree_varray): Declare extern.
20847 (ggc_mark_tree_hash_table, ggc_mark_string, ggc_mark): Likewise.
20848 (ggc_mark_roots, ggc_mark_rtx_children, ggc_mark_tree_children): New.
20849 * ggc-common.c (ggc_root): Move from ggc.h.
20850 (roots): Declare, static.
20851 (ggc_mark_rtx, ggc_mark_tree): Renamed to...
20852 (ggc_mark_rtx_children, ggc_mark_tree_children): Don't check for
20853 null or check/set mark bit.
20854 (ggc_mark_roots): New.
20855 * ggc-simple.c (ggc_collect): Call ggc_mark_roots.
20857 Thu Sep 16 11:37:32 1999 Richard Henderson <rth@cygnus.com>
20859 * m32r.c: Include toplev.h.
20860 (*): Add ATTRIBUTE_UNUSED as needed to arguments.
20861 (gen_compare): Rename swap_p to must_swap to match uses.
20862 Add default abort case.
20863 (m32r_output_function_epilogue): Remove unused variables.
20864 (m32r_print_operand): Use HOST_WIDE_INT_PRINT_HEX.
20865 * m32r.h (PROTO, STDIO_PROTO): Rename XPROTO; unconditionally
20866 define to empty parameter list. Update all uses.
20867 (predicate decls): Use enum machine_mode not int.
20868 * m32r.md (movsi): Call abort, not fatal_insn.
20869 (zero_branch_insn, rev_zero_branch_insn): Add default abort case.
20871 1999-09-14 Andrew Haley <aph@cygnus.com>
20873 * config/mips/mips.md (movsi_usw): if operand 1 is const_int 0,
20874 use $0 instead of 0.
20876 Thu Sep 16 10:53:36 1999 Bernd Schmidt <bernds@cygnus.co.uk>
20878 * reload1.c (order_regs_for_reload): Move hard_reg_n_uses
20879 computation out of loop over hard regs.
20881 Wed Sep 15 21:37:06 1999 Mark Mitchell <mark@codesourcery.com>
20883 * function.c (identify_blocks): Don't shadow a variable in an
20885 * integrate.c (integrate_decl_tree): Don't use pushlevel,
20886 pushdecl, or poplevel to build up the new BLOCK tree.
20887 (expand_inline_function): Likewise.
20888 (integrate_parm_decls): Likewise.
20890 Wed Sep 15 21:20:38 1999 Mark Mitchell <mark@codesourcery.com>
20892 * c-typeck.c (qualify_type): Merge qualifiers from both types.
20894 1999-09-15 Brad Lucier <lucier@math.purdue.edu>
20896 * toplev.c: Allow -f[no-]math-errno to set (clear) flag_errno_math
20897 * invoke.texi: Document this change.
20899 Wed Sep 15 17:56:00 1999 Richard Henderson <rth@cygnus.com>
20901 * emit-rtl.c (free_emit_status): Don't check DECL_DEFER_OUTPUT.
20903 (mark_emit_status): Renamed from mark_emit_state.
20904 * except.c (mark_eh_status): Renamed from mark_eh_state.
20905 Check not null before marking.
20906 (free_eh_status): New.
20907 * expr.c (mark_expr_status, free_expr_status): New.
20908 * function.c (free_machine_status): New.
20909 (free_after_parsing): New.
20910 (free_after_compilation): Move bits to free_after_parsing; call
20911 free_eh_status, free_expr_status; zero the marked members of the
20913 (prepare_function_start): No can_garbage_collect.
20914 Call init_eh_for_function.
20915 (expand_dummy_function_end): Free up current_function state.
20916 (mark_function_status): Renamed from mark_function_state.
20917 (mark_function_chain): No can_garbage_collect. Call mark_expr_status.
20918 * function.h (struct function): No can_garbage_collect.
20919 (free_machine_status, free_after_parsing): Declare.
20920 (free_eh_status, free_expr_status): Declare.
20921 * ggc.h (mark_expr_status): Declare.
20922 * stmt.c (free_stmt_status): Free the struct.
20923 (mark_stmt_status): Renamed from mark_stmt_state.
20924 (init_stmt): Don't call init_eh.
20925 (init_stmt_for_function): Don't call init_eh_for_function.
20926 * toplev.c (compile_file): Call init_eh.
20927 (rest_of_compilation): Free basic block info before ggc_collect.
20928 Call free_after_parsing; conditionally call free_after_compilation.
20929 * varasm.c (mark_varasm_status): Renamed from mark_varasm_state.
20930 Check not null before marking.
20931 (free_varasm_status): Don't check DECL_DEFER_OUTPUT. Free the struct.
20933 Wed Sep 15 17:53:16 1999 Richard Henderson <rth@cygnus.com>
20935 * c-lex.c (yylex): Initialize warn.
20937 Wed Sep 15 18:35:38 1999 Jeffrey A Law (law@cygnus.com)
20939 * pa.c (emit_move_sequence): Properly set the mode of the scratch
20940 register when performing secondary reloads for the SAR register.
20942 Wed Sep 15 15:51:52 1999 Mark Mitchell <mark@codesourcery.com>
20944 * rtl.h (NOTE_BLOCK_NUMBER): Replace with ...
20945 (NOTE_BLOCK): New macro.
20946 (NOTE_BLOCK_LIVE_RANGE_BLOCK): Remove.
20947 * function.h (identify_blocks): Change prototype.
20948 * function.c (identify_blocks): Simplify.
20949 (reorder_blocks): Likewise.
20950 * ggc-common.c (ggc_mark_rtx): Mark the BLOCK associated with a
20951 NOTE_INSN_BLOCK_{BEG,END}.
20952 * haifa-sched.c (sched_analyze): Don't put NOTE_BLOCK_NUMBER on
20953 the list of saved notes if the note isn't a
20954 NOTE_INSN_BLOCK_{BEG,END}.
20955 (move_insn1): Use NOTE_EH_HANDLER in comment, rather than
20957 (reemit_notes): Adjust recreation of notes to reflect new saved
20959 * print-rtl.c (print_rtx): Print the address of the BLOCK when
20960 printing a block note.
20961 * stmt.c (block_vector): Remove.
20962 (find_loop_tree_blocks): Simplify.
20963 (unroll_block_trees): Likewise.
20964 * tree.h (reorder_block): Change prototype.
20966 Wed Sep 15 14:39:35 1999 Jason Merrill <jason@yorick.cygnus.com>
20968 * gbl-ctors.h: Lose HAVE_ATEXIT. Don't define ON_EXIT.
20969 * libgcc2.c: Lose obsolete defn of WEAK_ALIAS.
20970 (__bb_init_func, __bb_init_prg): Use atexit instead of ON_EXIT.
20971 (__do_global_dtors): Likewise. Don't mess with _exit_dummy_decl.
20972 (atexit, exit): Simplify.
20973 * tm.texi: Document NEED_ATEXIT and ON_EXIT. Remove HAVE_ATEXIT.
20974 * config/lots: Remove defns of HAVE_ATEXIT.
20976 Wed Sep 15 10:25:12 1999 Mark Mitchell <mark@codesourcery.com>
20978 * calls.c (precompute_arguments): Fix typo in comment.
20979 * expr.c (preexpand_calls): Don't preexpand the cleanup in a
20982 Wed Sep 15 09:59:59 1999 Mark Mitchell <mark@codesourcery.com>
20984 * dsp16xx.c (override_options): Fix typos in GC root registration.
20986 Wed Sep 15 15:23:28 1999 Philip Blundell <pb@nexus.co.uk>
20988 * config/arm/linux-elf.h (MAKE_DECL_ONE_ONLY): Copy definition
20989 from config/svr4.h.
20990 (UNIQUE_SECTION_P, UNIQUE_SECTION): Likewise.
20991 (FUNCTION_PROFILER): Redefine appropriately for Linux.
20992 (CC1_SPEC): Likewise.
20994 Wed Sep 15 10:09:48 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
20996 * genattr.c (main): Add extern prototype. Call return, not exit.
20997 * genattrtab.c (main): Likewise.
20998 * gencheck.c (main): Likewise.
20999 * gencodes.c (main): Likewise.
21000 * genconfig.c (main): Likewise.
21001 * genemit.c (main): Likewise.
21002 * genextract.c (main): Likewise.
21003 * genflags.c (main): Likewise.
21004 * gengenrtl.c (main): Likewise.
21005 * genopinit.c (main): Likewise.
21006 * genoutput.c (main): Likewise.
21007 * genpeep.c (main): Likewise.
21008 * genrecog.c (main): Likewise.
21010 * genattr.c (get_insn_name): Mark parameter with ATTRIBUTE_UNUSED.
21011 * genattrtab.c (get_insn_name): Likewise.
21012 * gencodes.c (get_insn_name): Likewise.
21013 * genconfig.c (get_insn_name): Likewise.
21014 * genemit.c (get_insn_name): Likewise.
21015 * genextract.c (get_insn_name): Likewise.
21016 * genflags.c (get_insn_name): Likewise.
21017 * genopinit.c (get_insn_name): Likewise.
21018 * genpeep.c (get_insn_name): Likewise.
21020 * gencheck.c (usage): Add static prototype.
21021 * genextract.c (print_path): Constify a char*.
21022 * genopinit.c (optabs): Likewise.
21023 * genoutput.c (operand_data, data, output_predicate_decls,
21024 compare_operands): Likewise.
21025 * genrecog.c (write_tree): Add default case in switch.
21027 Wed Sep 15 09:59:16 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
21029 * rtl.h (get_insn_name, print_rtl_with_bb): Add prototypes.
21031 * print-rtl.c (get_insn_name): Remove prototype.
21033 * toplev.h (progname): Declare const.
21035 * toplev.c (init_decl_processing, init_obstacks, init_tree_codes,
21036 init_regs, init_optabs, init_stmt, init_reg_sets, dump_flow_info,
21037 dump_sched_info, dump_local_alloc, regset_release_memory,
21038 print_rtl, print_rtl_with_bb, rest_of_decl_compilation,
21039 error_with_file_and_line, error_with_decl, error_for_asm, error,
21040 fatal, warning_with_file_and_line, warning_with_decl, warning,
21041 pedwarn, pedwarn_with_decl, pedwarn_with_file_and_line, sorry):
21042 Remove redundant prototypes.
21044 (notice, check_lang_option, report_file_and_line, vnotice,
21045 mark_file_stack): Add static prototype.
21046 (set_fatal_function): Add prototype.
21047 (vnotice, report_file_and_line, set_fatal_function,
21048 check_lang_option): Constify a char*.
21049 (main): Prototype. Call return, not exit.
21051 Wed Sep 15 09:50:18 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
21053 * aclocal.m4 (AC_GCC_C_LONG_DOUBLE): New macro.
21055 * configure.in (AC_GCC_C_LONG_DOUBLE): Call it.
21057 * gansidecl.h (HAVE_LONG_DOUBLE): Define if gcc for stage2.
21059 * ggc-simple.c (HAVE_LONG_DOUBLE): Test before using long double.
21061 Wed Sep 15 11:04:43 1999 Bernd Schmidt <bernds@cygnus.co.uk>
21063 * function.c (assign_parms): Delete arg SECOND_TIME. Don't test it,
21064 behave as if it's zero in all cases.
21065 (expand_function_start): Adjust call to assign_parms.
21066 * tree.h (assign_parms): Adjust prototype.
21067 * objc/objc-act.c (hack_method_prototype): Adjust call to
21070 Tue Sep 14 21:47:06 1999 Jeffrey A Law (law@cygnus.com)
21072 * cse.c (FIXED_BASE_PLUS_P): Do not consider referneces to
21073 arg_pointer_rtx fixed if the argument pointer register is
21075 (NONZERO_BASE_PLUS_P): Likewise.
21077 Tue Sep 14 20:26:02 1999 Richard Henderson <rth@cygnus.com>
21079 * rtl.def (match_insn, match_insn2): Remove match_insn; rename
21080 match_insn2 to match_insn.
21081 * genrecog.c (add_to_sequence): Rename MATCH_INSN2.
21083 Tue Sep 14 20:10:29 1999 Richard Henderson <rth@cygnus.com>
21085 * Makefile.in (USER_H): Remove va-foo.h.
21087 * ginclude/{va-alpha.h,va-arc.h,va-c4x.h,va-clipper.h,va-h8300.h,
21088 va-i860.h,va-i960.h,va-m32r.h,va-m88k.h,va-mips.h,va-mn10200.h,
21089 va-mn10300.h,va-pa.h,va-ppc.h,va-pyr.h,va-sh.h,va-sparc.h,
21090 va-spur.h,va-v850.h}: Remove.
21092 Tue Sep 14 19:43:16 1999 Richard Henderson <rth@cygnus.com>
21094 * sparc/sparc.md (eligible_for_return_delay): New attribute.
21095 (in_return_delay): Use it instead of match_insn.
21097 Tue Sep 14 23:05:37 1999 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
21099 * config/alpha/va_list.h (va-alpha.h): Do not include.
21100 (__gnuc_va_list): Typedef as in varargs.h.
21102 Tue Sep 14 18:14:03 1999 Richard Henderson <rth@cygnus.com>
21104 * ggc-common.c (ggc_mark_tree): Mark DECL_SOURCE_FILE and
21105 DECL_LIVE_RANGE_RTL.
21107 Tue Sep 14 16:47:08 1999 Mark Mitchell <mark@codesourcery.com>
21109 * except.c (expand_eh_region_start_for_decl): Use NOTE_EH_HANDLER,
21110 not NOTE_BLOCK_NUMBER.
21111 (expand_eh_region_end): Likewise.
21112 (find_exception_handler_labels): Likewise.
21113 (scan_region): Likewise.
21114 (exception_optimize): Likewise.
21115 (update_rethrow_references): Likewise.
21116 (set_insn_eh_region): Likewise.
21117 * final.c (final_scan_insn): Likewise.
21118 * flow.c (make_edges): Likewise.
21119 * integrate.c (expand_inline_function): Likewise.
21120 * print-rtl.c (print_rtx): Likewise.
21122 Tue Sep 14 16:30:16 1999 Richard Henderson <rth@cygnus.com>
21124 * ginclude/stdarg.h, ginclude/varargs.h: Implement in
21125 terms of builtin functions and types.
21127 * mips.c (mips_build_va_list): New.
21128 (mips_va_start, mips_va_arg): New.
21129 * mips.h (BUILD_VA_LIST_TYPE): New.
21130 (EXPAND_BUILTIN_VA_START, EXPAND_BUILTIN_VA_ARG): New.
21132 * sh.c (sh_builtin_saveregs): Use get_varargs_alias_set.
21133 (sh_build_va_list, sh_va_start, sh_va_arg): New.
21134 * sh.h (BUILD_VA_LIST_TYPE): New.
21135 (EXPAND_BUILTIN_VA_START, EXPAND_BUILTIN_VA_ARG): New.
21137 Tue Sep 14 16:20:24 1999 Richard Henderson <rth@cygnus.com>
21139 * recog.h (struct recog_data): Make dup_num, operand_address_p,
21140 n_operands, n_dups, n_alternatives `char' instead of `unsigned char'.
21141 (struct insn_data): Likewise with n_operands, n_dups,
21142 n_alternatives, output_format.
21143 * regclass.c (scan_one_insn): Cast n_operands to int before
21144 arithmetic inside comparison.
21146 Tue Sep 14 15:13:36 1999 Richard Henderson <rth@cygnus.com>
21148 * toplev.c (compile_function): Unconditionally emit nop.
21150 Tue Sep 14 14:41:47 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
21152 * haifa-sched.c (actual_hazard): Move declaration of variable
21153 `this_cost' into the scope where it is used.
21155 Tue Sep 14 14:14:28 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
21157 * c-pragma.c (handle_pragma_token): Wrap variables `name' and
21158 `value' in HANDLE_PRAGMA_WEAK. Wrap variable `align' in
21159 HANDLE_PRAGMA_PACK||HANDLE_PRAGMA_PACK_PUSH_POP.
21161 * genrecog.c (make_insn_sequence): Call memset, not bzero.
21163 * jump.c (find_insert_position): Don't declare or define unless
21164 !HAVE_conditional_arithmetic.
21165 (returnjump_p_1, delete_prior_computation): Add static prototypes.
21167 * mips-tdump.c (fatal, fancy_abort, main): Add extern prototypes.
21169 * recog.c (offsettable_address_p): Prototype function pointer.
21170 (preprocess_constraints): Call memset, not bzero.
21172 * tree.c (tree_node_kind_names): Constify a char*. Make static.
21173 (gcc_obstack_init): Don't declare.
21174 (fix_sizetype): Add static prototype.
21175 (gcc_obstack_init): Use prototype casts in call to _obstack_begin.
21176 (tree_cons): Call memset, not bzero.
21178 * varasm.c (remove_from_pending_weak_list): Wrap declaration and
21179 definition in macro ASM_WEAKEN_LABEL.
21180 (mark_const_hash_entry): Add static prototype.
21182 Tue Sep 14 12:22:50 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
21184 * c-lex.c (handle_generic_pragma): Remove unused variable `c'.
21186 * unroll.c (find_common_reg_term, subtract_reg_term,
21187 loop_find_equiv_value): Add static prototypes.
21188 (unroll_loop): Wrap variable `prev' in macro HAVE_cc0.
21189 (copy_loop_body): Remove unreachable break statement.
21191 * sparc.c (sparc_va_arg): Remove unused variable `tmp'.
21193 * sparc.h (sparc_va_start, sparc_va_arg): Add extern prototypes.
21195 Tue Sep 14 15:28:00 1999 Bernd Schmidt <bernds@cygnus.co.uk>
21197 Undo some changes from the gcc2 merge:
21198 * rtl.def (CONSTANT_P_RTX): Fix the comment for this rtx code.
21199 * emit-rtl.c (gen_rtx_REG): Don't test special reg rtx's for null
21203 Sat Oct 3 07:20:28 1998 Stephen L Moshier <moshier@world.std.com>
21204 * emit-rtl.c (gen_lowpart_common): Disable optimization of
21205 initialized float-int union if the value is a NaN.
21207 Tue Sep 14 04:03:44 1999 Mumit Khan <khan@xraylith.wisc.edu>
21209 * gthr-win32.h: New file.
21211 * i386/winnt.c (i386_pe_valid_decl_attribute_p): Recognize
21212 shared as a valid attribute.
21213 * i386/cygwin.h (ASM_OUTPUT_SECTION): Handle shared attribute.
21214 * extend.texi: Document `shared' variable attribute.
21216 Tue Sep 14 04:01:46 1999 Loren Rittle <ljrittle@acm.org>
21218 * configure.in: Handle --enable-threads on FreeBSD.
21219 * configure: Rebuit.
21221 Tue Sep 14 03:58:44 1999 Andreas Jaeger <aj@arthur.rhein-neckar.de>
21223 * configure.in: Add crtbeginS.o, crtendS.o for mips-linux; add
21225 * configure: Rebuilt.
21227 Tue Sep 14 03:47:23 1999 Joel Sherrill <joel@OARcorp.com>
21228 Charles-Antoine Gauthier <charles.gauthier@iit.nrc.ca>
21229 Rosimildo DaSilva <rdasilva@connecttel.com>
21231 * configure.in (m68k-*-rtemscoff*): Added.
21232 * configure.in (mips64orion-*-rtems*): Converted to ELF.
21233 * configure.in (sparc-*-rtemsaout*): Added as alias for old
21234 sparc-rtems configuration.
21235 * configure.in (sparc-*-rtemself*): Added.
21236 * configure.in (sparc-*-rtems*): Now ELF not a.out.
21237 * config/i386/rtems.h: Added comment.
21238 * config/sparc/rtemself.h: New file.
21240 * configure.in (m68k-rtemself): Added.
21241 * config/elfos.h: Added ifndef wrapper for DWARF2_DEBUGGING_INFO
21242 and DWARF_DEBUGGING_INFO.
21243 * config/m68k/crti.s: New file.
21244 * config/m68k/crtn.s: New file.
21245 * config/m68k/t-crtstuff: New file.
21246 * config/m68k/rtemself.h: New file.
21248 * configure.in (i[[34567]]86-*-rtemself*): Now uses crtstuff for
21249 global ctor/dtor and C++ exception handling.
21250 * config/i386/rtemself.h: Now uses crtstuff (crti.o + crtbegin.o)
21251 for STARTFILE_SPEC and crtstuff (crtend.o + crtn.o) for
21253 * config/i386/t-rtems-i386: New File.
21255 Tue Sep 14 09:47:41 1999 Andreas Schwab <schwab@suse.de>
21257 * stmt.c (expand_end_case): Return right away if the case stack is
21260 Tue Sep 14 01:47:19 1999 Jeffrey A Law (law@cygnus.com)
21262 * Makefile.in (version.c): Remove rule incorrectly brought in from
21265 Tue Sep 14 01:42:27 1999 Marc Espie <espie@cvs.openbsd.org>
21267 * Makefile.in: Prepend $(SHELL) to move-if-change calls.
21268 * msdos/top.sed: Take into account a prepended $(SHELL) to
21270 * winnt/config-nt.sed: Likewise. Kill bogus substitution.
21272 * objc/Make-lang.in: Prepend $(SHELL) to move-if-change calls.
21274 Tue Sep 14 01:38:52 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
21276 * regmove.c (fixup_match_1): Don't change an unchanging register.
21277 (stable_but_for_p): Renamed to:
21278 (stable_and_no_regs_but_for_p). Reject unchanging registers too.
21279 Changed all callers.
21281 Tue Sep 14 01:33:15 1999 Andreas Schwab <schwab@suse.de>
21283 * loop.c (strength_reduce): Don't call reg_used_between_p if the
21284 insn from BL2 is after the insn from BL.
21286 Mon Sep 13 21:06:01 1999 Richard Henderson <rth@cygnus.com>
21288 * recog.h (INSN_OUTPUT_FORMAT_*): New.
21289 (struct insn_data): Merge `template' and `outfun' into `output'.
21290 Add `output_format'.
21291 * genoutput.c (INSN_OUTPUT_FORMAT_*): New.
21292 (struct data): Remove `outfun'; add `output_format'.
21293 (name_for_index): Remove declaration.
21294 (output_insn_data): Handle output formats.
21295 (process_template): Emit the bare array for @.
21296 (gen_expand, gen_split): Set output_format to NONE.
21297 * output.h (get_insn_template): Declare.
21298 * final.c (get_insn_template): New.
21299 (final_scan_insn): Use it.
21300 * toplev.c (compile_file): Likewise.
21302 * c4x/c4x.c (c4x_process_after_reload): Likewise.
21303 * i860/i860.c (output_delayed_branch): Likewise.
21304 (output_delay_insn): Likewise.
21306 1999-09-13 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
21308 * rtl.c (obstack_alloc_rtx): Removed.
21310 1999-09-13 17:03 -0700 Zack Weinberg <zack@bitmover.com>
21312 * config/gmicro/gmicro.md: Disable move DF->DI anonymous pattern.
21314 Mon Sep 13 15:21:46 1999 Richard Henderson <rth@cygnus.com>
21316 * i386.c (call_insn_operand): Reject const_int.
21317 (expander_call_insn_operand): Use call_insn_operand.
21319 Mon Sep 13 17:44:28 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
21321 * gcc.c (getrusage): Wrap prototype arguments in PROTO().
21323 1999-09-13 12:18 -0700 Zack Weinberg <zack@bitmover.com>
21325 * config/i370/i370.md (mulsi, divsi, modsi anonymous insns):
21326 Use DImode operation.
21328 1999-09-13 12:13 -0700 Zack Weinberg <zack@bitmover.com>
21330 * gcc.c: Include sys/resource.h.
21331 (report_times): New flag.
21332 (execute): If report_times is set, calculate and report the
21333 CPU time consumed by each subprocess.
21335 (rus, prus): New globals.
21336 (option_map): Add --time.
21337 (display_help): Document -time.
21338 (process_command): Set report_times if -time is given.
21339 Turn off -pipe if -time is given.
21341 * invoke.texi: Document new option -time.
21343 * configure.in: Check for getrusage. Check if we have to
21344 prototype getrusage.
21345 * acconfig.h: Add NEED_DECLARATION_GETRUSAGE.
21346 * configure: Regenerate.
21347 * config.in: Regenerate.
21349 Mon Sep 13 12:57:06 1999 Dave Brolley <brolley@cygnus.com>
21351 * cppinit.c (append_include_chain): Initialize 'next' and 'alloc'
21354 Mon Sep 13 10:01:33 1999 Nick Clifton <nickc@cygnus.com>
21356 * config/fp-bit.c: Define L_thenan_sf or L_thenan_df (as
21357 appropriate) if FINE_GRAINED_LIBRARIES is not defined.
21358 (nan): Return _thenan_sf or _thenan_df as appropriate.
21359 (L_thenan_sf): Define _thenan_sf.
21360 (L_thenan_df): Define _thenan_df.
21362 * Makefile.in (FPBIT_FUNCS): Add _thenan_sf.
21363 (DPBIT_FUNCS): Add _thenan_df.
21365 Mon Sep 13 09:38:53 1999 Andreas Schwab <schwab@suse.de>
21367 * tree.c (fix_sizetype): Exchange the types for TYPE_SIZE and
21370 Sun Sep 12 23:28:20 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
21372 * Makefile.in (gcc.o, gccspec.o, cppspec.o): Depend on gcc.h.
21375 (lang_specific_driver): Don't take a function pointer parameter.
21376 All callers changed.
21378 * gcc.c: Include gcc.h.
21379 (do_spec, fancy_abort,lang_specific_driver,lang_specific_pre_link,
21380 lang_specific_extra_outfiles, fatal): Don't declare.
21381 (multilib_defaults_raw): Constify.
21382 (read_specs): Call memset, rather than bzero.
21383 (main): Call return, not exit.
21384 (lookup_compiler): Call memcpy, not bcopy.
21385 (fatal): Make extern.
21387 * cppspec.c: Include gcc.h.
21388 (lang_specific_driver): Initialize variable `quote'. Constify a
21389 char*. All calls to the function pointer parameter now
21390 explicitly call `fatal'.
21392 * gccspec.c (lang_specific_driver): Include gcc.h.
21394 Sun Sep 12 19:52:10 1999 Richard Earnshaw <rearnsha@arm.com>
21396 * arm.c (note_invalid_constants): Use recog_data.operand_type
21399 Sun Sep 12 15:53:20 1999 Bernd Schmidt <bernds@cygnus.co.uk>
21401 * tree.h (build_common_tree_nodes, build_common_tree_nodes_2):
21404 * reload.h (reload_in, reload_out, reload_in_reg, reload_out_reg,
21405 reload_reg_class, reload_inmode, reload_outmode, reload_optional,
21406 reload_nongroup, reload_inc, reload_opnum, reload_secondary_p,
21407 reload_secondary_in_reload, reload_secondary_out_reload,
21408 reload_secondary_in_icode, reload_secondary_out_icode,
21409 reload_reg_rtx, reload_when_needed): Delete declarations.
21410 (struct reload): New structure.
21411 (rld): Declare new array.
21412 * reload.c (reload_in, reload_out, reload_in_reg, reload_out_reg,
21413 reload_reg_class, reload_inmode, reload_outmode, reload_optional,
21414 reload_nongroup, reload_inc, reload_opnum, reload_secondary_p,
21415 reload_secondary_in_reload, reload_secondary_out_reload,
21416 reload_secondary_in_icode, reload_secondary_out_icode,
21417 reload_reg_rtx, reload_when_needed): Delete definitions.
21419 (whole file): Replace uses of the deleted arrays with uses of rld.
21420 * reload1.c (whole file): Replace uses of the deleted arrays with
21422 (choose_reload_regs): Copy in/out of save_reload_reg_rtx with
21423 explicit loops, not with bcopy.
21425 Sun Sep 12 05:00:24 1999 Richard Henderson <rth@cygnus.com>
21427 * recog.h (insn_template, insn_outfun, insn_n_operands, insn_n_dups,
21428 insn_n_alternatives, insn_operand_constraint, insn_operand_address_p,
21429 insn_operand_mode, insn_operand_strict_low, insn_operand_predicate,
21430 insn_name): Delete and consolidate into new structures.
21431 (insn_operand_predicate_fn): New.
21432 (insn_output_fn): New.
21433 (insn_gen_fn): New.
21434 (struct insn_operand_data): New.
21435 (struct insn_data): New.
21437 (OUT_FCN): Update for insn_data change.
21438 * builtins.c (expand_builtin_strlen): Likewise.
21439 (expand_builtin_memcmp): Likewise.
21440 * combine.c (make_extraction, simplify_comparison): Likewise.
21441 * cse.c (canon_reg, cse_insn): Likewise.
21442 * explow.c (allocate_dynamic_stack_space, probe_stack_range): Likewise.
21443 * expmed.c (store_bit_field, extract_bit_field): Likewise.
21444 (emit_store_flag): Likewise.
21445 * expr.c (convert_move, emit_block_move): Likewise.
21446 (clear_storage, emit_push_insn, expand_increment): Likewise.
21447 (do_store_flag): Likewise.
21448 * expr.h (GEN_FCN): Likewise.
21449 (insn_gen_function): Die.
21450 * final.c (final_scan_insn): Update for insn_data change.
21451 (output_asm_name): Likewise.
21452 * function.c (fixup_var_refs_1): Likewise.
21453 * loop.c (check_dbra_loop): Likewise.
21454 * optabs.c (expand_binop, expand_twoval_binop): Likewise.
21455 (expand_unop, expand_complex_abs, emit_unop_insn): Likewise.
21456 (prepare_cmp_insn, prepare_operand, emit_indirect_jump): Likewise.
21457 (emit_conditional_move, gen_add2_insn, gen_sub2_insn): Likewise.
21458 * recog.c (validate_replace_rtx_1, extract_insn): Likewise.
21459 * regmove.c (gen_add3_insn): Likewise.
21460 * reload.c (push_secondary_reload, combine_reloads): Likewise.
21461 (find_reloads, find_reloads_address_1): Likewise.
21462 (debug_reload_to_stream): Likewise.
21463 * reload1.c (emit_reload_insns, gen_reload): Likewise.
21464 * stmt.c (expand_end_case): Likewise.
21465 * toplev.c (compile_file): Likewise.
21467 * c4x/c4x.c (c4x_process_after_reload): Likewise.
21468 * i860/i860.c (output_delayed_branch, output_delay_insn): Likewise.
21470 * print-rtl.c (insn_name_ptr): Remove declaration.
21471 (get_insn_name): Declare.
21472 (print_rtx): Use it.
21473 * genoutput.c (insn_name_ptr): Remove.
21474 (next_operand_number): New.
21475 (struct operand_data): New.
21476 (null_operand, odata, odata_end): New.
21477 (struct data): Use struct operand_data.
21478 (idata, idata_end): Renamed from insn_data and end_of_insn_data.
21479 (get_insn_name): Renamed from name_for_index.
21480 (output_prologue): Define NO_MD_PROTOTYPES.
21481 (output_predicate_decls): Break out from output_epilogue.
21482 Iterate over the operands list.
21483 (output_operand_data): Break out from output_epilogue. Emit
21484 just the operands list.
21485 (output_insn_data): Break out from output_epilogue. Emit just
21487 (output_epilogue): Remove.
21488 (output_get_insn_name): New.
21489 (constraints, op_n_alternatives, predicates, address_p): Die.
21490 (modes, strict_low, seen): Die.
21491 (scan_operands): Take new param `d' instead of writing to
21492 seven global variables.
21493 (compare_operands): New.
21494 (place_operands): New.
21495 (validate_insn_alternatives): Update for struct data change.
21496 (gen_insn): Don't zero or copy 7 global arrays. Update for
21497 scan_operands; call place_operands.
21498 (gen_peephole, gen_expand, gen_split): Likewise.
21499 (main): Update for new output routines.
21501 * genattr.c (insn_name_ptr): Remove.
21502 (get_insn_name): New function.
21503 * genattrtab.c, gencodes.c, genconfig.c, genemit.c: Likewise.
21504 * genextract.c, genflags.c, genopinit.c, genpeep.c: Likewise.
21505 * genrecog.c: Likewise.
21507 * alpha.md (adddi3): Make `pattern' array static.
21509 Sun Sep 12 22:05:21 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
21511 * config/c4x/c4x.h (c4x_rpts_cycles_string,
21512 c4x_cpu_version_string): Constify char *.
21513 * config/c4x/c4x.c (c4x_rpts_cycles_string,
21514 c4x_cpu_version_string): Likewise.
21516 Sat Sep 11 23:28:33 1999 Richard Henderson <rth@cygnus.com>
21518 * tree.c (save_tree_status): Revert 10 Sep change.
21519 (restore_tree_status): Likewise. Call obstack_free with NULL
21520 before freeing the obstack proper.
21522 Sat Sep 11 23:23:46 1999 Richard Henderson <rth@cygnus.com>
21524 * cse.c (cse_main): If gc'ing, collect around cse_basic_block.
21526 * ggc-simple.c (ggc_pop_context): Fold outstanding bytes into
21527 surrounding context.
21529 Sat Sep 11 19:52:43 1999 Mark Mitchell <mark@codesourcery.com>
21531 * tree.c (type_hash_canon): Put all types in the hash-table, when
21534 Sat Sep 11 18:37:04 1999 Richard Henderson <rth@cygnus.com>
21536 * recog.h (struct recog_data, recog_data): New.
21537 (recog_foo variables): Kill.
21538 * recog.c (recog_operand, recog_operand_loc): Kill.
21539 (recog_dup_loc, recog_dup_num, recog_n_operands): Kill.
21540 (recog_n_dups, recog_n_alternatives, recog_operand_mode): Kill.
21541 (recog_constraints, recog_op_type, recog_operand_address_p): Kill.
21542 (recog_data): Define.
21543 (extract_insn): Update all recog_foo references to use recog_data.
21544 (preprocess_constraints, constrain_operands): Likewise.
21545 * final.c (final_scan_insn, cleanup_subreg_operands): Likewise.
21546 * genattrtab.c (main): Likewise.
21547 * genextract.c (main): Likewise.
21548 * genoutput.c: Likewise.
21549 * genrecog.c (write_subroutine, main): Likewise.
21550 * local-alloc.c (block_alloc): Likewise.
21551 * reg-stack.c (record_asm_reg_life, subst_asm_stack_regs): Likewise.
21552 * regclass.c (scan_one_insn, record_reg_classes): Likewise.
21553 * regmove.c (regmove_optimize, find_matches, fixup_match_1): Likewise.
21554 * reload.c (find_reloads, find_reloads_toplev): Likewise.
21555 * reload1.c (maybe_fix_stack_asms, eliminate_regs_in_insn): Likewise.
21556 (reload_cse_simplify_operands): Likewise.
21558 * arc/arc.c (arc_final_prescan_insn): Likewise.
21559 * arm/arm.c (note_invalid_constants, arm_final_prescan_insn): Likewise.
21560 * h8300/h8300.c (notice_update_cc): Likewise.
21561 * i386/i386.c (ix86_attr_length_default, ix86_agi_dependant): Likewise.
21562 * i860/i860.c (output_delayed_branch, output_delay_insn): Likewise.
21563 * mn10200/mn10200.c (notice_update_cc): Likewise.
21564 * mn10300/mn10300.c (notice_update_cc): Likewise.
21565 * romp/romp.c (update_cc): Likewise.
21566 * sparc/sparc.c (check_pic): Likewise.
21567 * v850/v850.c (notice_update_cc): Likewise.
21569 * genemit.c (main): Don't declare recog_operand.
21571 Sat Sep 11 12:41:55 1999 Alex Samuel <samuel@codesourcery.com>
21573 * ggc.h (rtvec_def): Forward declare.
21574 (tree_node): Likewise.
21575 (ggc_root): Define.
21577 (ggc_set_mark_rtx): Add prototype.
21578 (ggc_set_mark_rtvec): Likewise.
21579 (ggc_set_mark_tree): Likewise.
21580 * ggc-simple.c (ggc_root): Don't define.
21581 (roots): Don't declare.
21582 (ggc_mark_rtx): Remove.
21583 (ggc_mark_rtvec): Likewise.
21584 (ggc_mark_tree): Likewise.
21585 (ggc_mark_varray): Likewise.
21586 (ggc_mark_tree_hash_table_entry): Likewise.
21587 (ggc_mark_tree_hash_table): Likewise.
21588 (ggc_set_mart_rtx): New function.
21589 (ggc_set_mark_rtvec): Likewise.
21590 (ggc_set_mark_tree): Likewise.
21591 (ggc_add_root): Remove.
21592 (ggc_add_rtx_root): Likewise.
21593 (ggc_remove_tree_root): Likewise.
21594 (ggc_add_string_root): Likewise.
21595 (ggc_add_tree_varray_root): Likewise.
21596 (ggc_add_tree_hash_table_root): Likewise.
21597 (ggc_del_root): Likewise.
21598 (ggc_mark_rtx_ptr): Likewise.
21599 (ggc_mark_tree_ptr): Likewise.
21600 (ggc_mark_string_ptr): Likewise.
21601 (ggc_mark_tree_varray_ptr): Likewise.
21602 (ggc_mark_tree_hash_table_ptr): Likewise.
21603 * ggc-common.c: New file.
21604 * Makefile.in (OBJS): Add ggc-common.o.
21605 (ggc-common.o): List dependencies.
21607 1999-09-10 22:37 -0700 Zack Weinberg <zack@bitmover.com>
21609 * cppalloc.c (xstrdup): Use memcpy.
21610 * cpperror.c (cpp_print_containing_files): Don't use
21612 * cpplib.c (conditional_skip): Set temp->lineno.
21613 (do_endif): Make error message less obscure.
21614 (if_directive_name): New function.
21615 (cpp_get_token [case EOF]): Unwind the if stack and generate
21616 error messages for each unterminated conditional in this file.
21617 (parse_string): Do not behave differently if -traditional.
21619 Fri Sep 10 14:04:07 1999 Richard Henderson <rth@cygnus.com>
21621 * builtins.c (expand_builtin_va_arg): Cope with an array-type
21622 va_list decomposing to pointer-type.
21623 * rs6000.c (rs6000_va_start) Unwrap the ARRAY_TYPE to get at fields.
21624 (rs6000_va_arg): Likewise.
21626 Fri Sep 10 13:21:21 1999 Jim Wilson <wilson@cygnus.com>
21628 * except.c (start_dynamic_handler): Compute size using
21629 STACK_SAVEAREA_MODE.
21631 Fri Sep 10 16:01:23 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
21633 * protoize.c: Remove various __STDC__ and POSIX hacks. Don't
21634 include directory headers. Don't define strrchr. Don't provide
21635 my_* replacement functions. Prefer PTR over `pointer_type'.
21636 Don't prototype system functions. Don't redefine getopt.
21638 (shortpath, fancy_abort, notice, savestring, dupnstr, substr,
21639 safe_read, safe_write, save_pointers, restore_pointers,
21640 is_id_char, in_system_include_dir, directory_specified_p,
21641 file_excluded_p, unexpand_if_needed, abspath, check_aux_info,
21642 find_corresponding_lparen, referenced_file_is_newer,
21643 save_def_or_dec, munge_compile_params, gen_aux_info_file,
21644 process_aux_info_file, identify_lineno, check_source,
21645 seek_to_line, forward_to_next_token_char, output_bytes,
21646 output_string, output_up_to, other_variable_style_function,
21647 find_rightmost_formals_list, do_cleaning, careful_find_l_paren,
21648 do_processing, is_syscalls_file, rename_c_file, find_extern_def,
21649 find_static_definition, connect_defs_and_decs, add_local_decl,
21650 add_global_decls, needs_to_be_converted, visit_each_hash_node,
21651 add_symbol, lookup, free_def_dec, find_file, reverse_def_dec_list,
21652 edit_fn_declaration, edit_formals_lists, edit_fn_definition,
21653 scan_for_missed_items, edit_file, string_list_cons): Add static
21655 (standard_exec_prefix, target_machine, target_version,
21656 default_syscalls_dir, string_list, string_list_cons, find_file,
21657 do_cleaning): Constify a char*.
21658 (safe_read, safe_write): Use PTR, not a char*.
21659 (is_id_char): Take an int, not a char.
21660 (main): Add prototype. Call return, not exit.
21662 Fri Sep 10 16:48:26 1999 Andrew Haley <aph@cygnus.com>
21664 * tree.c (type_hash_lookup): Check for equal TYPE_ALIGN fields
21665 when comparing types.
21667 Fri Sep 10 08:43:32 1999 Richard Henderson <rth@cygnus.com>
21669 * loop.c (basic_induction_var): Typo NULL_RTX -> NULL.
21670 (strength_reduce): Release the varrays from the no-bivs early exit.
21672 * reload1.c (order_regs_for_reload): Init hard_reg_n_uses before
21673 the loop over the registers.
21675 * tree.c (save_tree_status): Set maybepermanent_firstobj NULL
21677 (restore_tree_status): Check that instead when freeing the obstack.
21679 Wed Sep 8 16:12:04 1999 Andrew Haley <aph@cygnus.com>
21681 * alias.c (rtx_equal_for_memref_p): Allow CONST_DOUBLEs to be used
21684 Fri Sep 10 11:58:55 1999 Bernd Schmidt <bernds@cygnus.co.uk>
21686 * i386.md (ashlqi3): For NON_QI_REG_P regs, use sall. Fix some
21687 operand size modifiers.
21689 Fri Sep 10 10:32:32 1999 Bernd Schmidt <bernds@cygnus.co.uk>
21691 * c-common.c (c_common_nodes_and_builtins): Don't build
21693 * c-common.h (enum c_tree_index and related accesor macros): Remove
21694 everything now declared in tree.h.
21695 * c-decl.c (CHAR_TYPE_SIZE, SHORT_TYPE_SIZE, INT_TYPE_SIZE,
21696 LONG_TYPE_SIZE, LONG_LONG_TYPE_SIZE, WCHAR_UNSIGNED, FLOAT_TYPE_SIZE,
21697 DOUBLE_TYPE_SIZE, LONG_DOUBLE_TYPE_SIZE): Don't provide defaults.
21698 (error_mark_node, void_type_node, char_type_node, integer_type_node,
21699 unsigned_type_node, ptr_type_node, va_list_type_node,
21700 integer_zero_node, null_pointer_node, integer_one_node): Delete.
21701 (init_decl_processing): Call build_common_tree_nodes and
21702 build_common_tree_nodes_2 instead of building their nodes here.
21703 Don't add roots for these nodes.
21704 * stor-layout.c (size_zero_node, size_one_node): Delete.
21705 (set_sizetype): Make a new node for bitsizetype each time.
21706 * tree.c (global_trees): New variable.
21707 (init_obstacks): Add a gc root for it.
21708 (CHAR_TYPE_SIZE, SHORT_TYPE_SIZE, INT_TYPE_SIZE,
21709 LONG_TYPE_SIZE, LONG_LONG_TYPE_SIZE, FLOAT_TYPE_SIZE,
21710 DOUBLE_TYPE_SIZE, LONG_DOUBLE_TYPE_SIZE): Provide defaults.
21711 (build_common_tree_nodes): New function.
21712 (fix_sizetype): New function.
21713 (build_common_tree_nodes_2): New function.
21714 * tree.h (enum tree_index): New.
21715 (global_trees): Declare.
21716 Add accessor macros for all nodes now moved to global_trees.
21717 Delete their declarations.
21719 Thu Sep 9 20:15:46 1999 Richard Henderson <rth@cygnus.com>
21721 * c-decl.c (finish_function): When processing a nested function,
21722 push and pop GC context around rest_of_compilation.
21724 Thu Sep 9 16:42:06 1999 Richard Henderson <rth@cygnus.com>
21726 * i386.c (override_options): Remove ppro, pentium2, and p2 as aliases.
21727 Default ix86_arch to PROCESSOR_I386.
21728 * i386.h (CC1_CPU_SPEC): Don't add -march=foo. Remove -mno-foo.
21729 (CPP_486_SPEC, CPP_586_SPEC, CPP_686_SPEC): Delete.
21730 (CPP_CPU_DEFAULT_SPEC): Define to __tune_foo__.
21731 (CC1_CPU_SPEC): Make -march=foo define __foo__, and provide
21732 __tune_foo__ if no -mcpu. Make -mcpu=bar define __tune_bar__.
21733 (EXTRA_SPECS): Remove deleted specs.
21735 Thu Sep 9 16:03:06 1999 Richard Henderson <rth@cygnus.com>
21737 * function.c (assign_stack_local_1): Allocate from
21738 function->x_frame_offset, not frame_offset.
21740 Thu Sep 9 14:36:31 1999 Mark Mitchell <mark@codesourcery.com>
21742 * ggc.h (lang_cleanup_tree): Remove.
21743 * gcc-simple.c (ggc_free_tree): Don't call lang_cleanup_tree.
21744 * ggc-callbacks.c (lang_cleanup_tree): Remove.
21746 * c-decl.c (finish_struct): Use ggc_alloc to allocate
21747 TYPE_LANG_SPECIFIC when garbage collecting.
21748 (lang_mark_tree): Mark TYPE_LANG_SPECIFIC.
21749 (lang_cleanup_tree): Remove.
21751 Thu Sep 9 14:23:02 1999 Jason Merrill <jason@yorick.cygnus.com>
21753 * defaults.h (EH_FRAME_SECTION, EH_FRAME_SECTION_ASM_OP): Define here.
21754 * crtstuff.c: Not here.
21755 * dwarf2out.c: Or here.
21756 * libgcc2.c (__do_global_ctors, __do_global_dtors): Handle EH frame
21759 Thu Sep 9 09:40:58 1999 Mark Mitchell <mark@codesourcery.com>
21761 * function.h (free_after_compilation): Remove decl parameter.
21762 (free_varasm_status0: Likewise.
21763 (free_emit_status): Likewise.
21764 (free_stmt_status): Likewise.
21765 (free_after_compilation): Likewise.
21766 (init_lang_status): New variable.
21767 (free_lang_status): Likewise.
21768 * emit-rtl.c (free_emit_status): Make decl parameter implicit.
21769 * function.c (init_lang_status): New variable.
21770 (free_lang_status): Likewise.
21771 (push_function_context_to): Don't set function::decl here.
21772 (free_after_copmilation): Make decl parameter implicit. Call
21773 free_lang_status if defined.
21774 (prepare_function_start): Call init_lang_status if defined.
21775 (init_function_start): Set function::decl here.
21776 * profile.c (output_func_start_profiler): Don't call pushdecl
21777 until we've actually started the function.
21778 * stmt.c (free_stmt_status): Make decl parameter implicit.
21779 * toplev.c (rest_of_compilation): Don't pass decl to
21780 free_after_compilation.
21781 * varasm.c (free_varasm_status): Likewise.
21783 Thu Sep 9 17:23:19 1999 Bernd Schmidt <bernds@cygnus.co.uk>
21785 * except.c (call_get_eh_context): Add root when allocating static
21788 Thu Sep 9 15:24:59 BST 1999 Richard Earnshaw <rearnsha@arm.com>
21790 * arm.c: Include "ggc.h".
21791 (arm_add_gc_roots): New function.
21792 (arm_override_options): Call it.
21793 (aof_pic_entry): Add a GC root for aof_pic_label when it's allocated.
21795 * arm.md (define_asm_attributes): Add a pool_range attribute.
21797 Thu Sep 9 12:32:57 BST 1999 Nathan Sidwell <nathan@acm.org>
21799 * extend.texi (Volatiles): New node.
21801 Thu Sep 9 03:37:31 1999 Richard Henderson <rth@cygnus.com>
21803 * ggc-simple.c (IS_MARKED, IGNORE_MARK): New.
21804 (GGC_ANY_MAGIC, GGC_ANY_MAGIC_MARK): New.
21805 (struct ggc_any): Replace `mark' with `magic_mark'.
21806 (ggc_alloc_string): Use memcpy, not bcopy.
21807 (ggc_alloc_any): Set magic_mark. Update bytes_alloced_since_gc.
21808 (ggc_free_{rtx,rtvec,tree,string}): Mark inline.
21809 (ggc_free_any): New.
21810 (ggc_mark_string): Use IGNORE_MARK. Calc back to struct gcc_string.
21811 (ggc_mark): Use IGNORE_MARK. Abort if magic doesn't match.
21812 (ggc_collect): Re-enable collection avoidance. Use GGC_ANY_MARK.
21813 Use IS_MARKED. Use ggc_free_any.
21815 1999-09-09 Scott Bambrough <scottb@netwinder.org>
21817 * config/arm/linux-elf.h: define NO_IMPLICIT_EXTERN_C
21819 Thu Sep 9 01:55:21 1999 Richard Henderson <rth@cygnus.com>
21821 * toplev.c (main): Always init_ggc.
21823 Wed Sep 8 23:53:22 1999 Richard Henderson <rth@cygnus.com>
21825 * except.c (find_all_handler_type_matches): Free the list if
21826 we found no matches.
21828 * combine.c (SUBST): Break out to a real function do_SUBST.
21829 (SUBST_INT): Likewise.
21830 * gcse.c (free_pre_mem): Free `temp_bitmap'.
21831 (pre_insert): Free `inserted'.
21832 * loop.c (basic_induction_var): Always set `location'.
21834 * function.c (expand_function_end): Add initial_trampoline as a root.
21835 * rtl.h (init_varasm_once): Declare.
21836 * toplev.c (compile_file): Call it.
21837 * ggc-simple.c (ggc_mark_string_ptr): New.
21838 (ggc_add_string_root): New.
21839 (ggc_collect): Disable collection avoidance temporarily.
21840 * ggc.h (ggc_add_string_root): Declare.
21841 * except.c (create_rethrow_ref): Use ggc_alloc_string.
21842 * optabs.c (init_libfuncs): Likewise.
21843 * varasm.c (named_section): Use ggc_alloc_string.
21844 (make_function_rtl): Likewise.
21845 (make_decl_rtl): Likewise.
21846 (assemble_static_space): Likewise.
21847 (assemble_trampoline_template): Likewise.
21848 (output_constant_def): Likewise.
21849 (force_const_mem): Likewise.
21850 (mark_const_hash_entry): New.
21851 (mark_pool_sym_hash_table): New.
21852 (mark_varasm_state): Use it.
21853 (init_varasm_once): New.
21855 * expr.h (init_one_libfunc): Declare.
21856 * optabs.c (init_one_libfunc): New.
21857 (init_optabs): Use it.
21858 * config/gofast.h: Likewise.
21859 * config/sparc/sol2.h (INIT_SUBTARGET_OPTABS): Likewise.
21860 * config/sparc/sparc.h (INIT_TARGET_OPTABS): Likewise.
21862 Thu Sep 9 13:46:06 1999 Geoffrey Keating <geoffk@cygnus.com>
21864 * Makefile.in (cppexp.o): Depend on cpphash.h.
21865 * cppexp.c (cpp_lex): Handle `defined (xxx)' for poisoned xxx.
21867 * cpphash.c (special_symbol): Handle plain `xxx' for poisoned xxx.
21868 * cpplib.c (do_define): Generalise to handle poisoned definitions,
21869 redefining poisoned identifiers, etc.
21870 (do_undef): Don't allow poisoned identifiers to be undefined.
21871 (do_pragma): Add #pragma poison.
21872 (do_xifdef): Handle `#ifdef xxx' for poisoned xxx.
21874 * cccp.c: Add T_POISON node type.
21875 (special_symbol): Handle `defined(xxx)' and plain `xxx' for
21877 (do_define): Generalise to handle poisoned definitions,
21878 redefining poisoned identifiers, etc.
21879 (do_undef): Don't allow poisoned identifiers to be undefined.
21880 (do_pragma): Add #pragma poison.
21881 (do_xifdef): Handle `#ifdef xxx' for poisoned xxx.
21883 * c-pragma.c (handle_pragma_token): Ignore #pragma poison.
21884 * c-pragma.h: Add ps_poison state. We now always have generic
21887 Wed Sep 8 20:30:42 1999 Mark Mitchell <mark@codesourcery.com>
21889 * ggc.h (ggc_alloc): New function.
21890 (ggc_mark): Likewise.
21891 * ggc-simple.c (ggc_any): New structure.
21892 (ggc_status): Add anys.
21893 (n_anys_collected): New variable.
21894 (ggc_alloc): Define.
21895 (ggc_mark): Likewise.
21896 (ggc_collect): Collect the anys.
21898 Wed Sep 8 20:15:14 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
21900 * c-decl.c (mark_binding_level): Make static to match prototype.
21902 Wed Sep 8 16:41:27 1999 Richard Henderson <rth@cygnus.com>
21904 * flow.c (new_insn_dead_notes): Don't early out for preexisting regs.
21906 Wed Sep 8 16:07:52 1999 Richard Henderson <rth@cygnus.com>
21908 * gengenrtl.c (CONST_DOUBLE_FORMAT): Take the size REAL_ARITHMETIC
21909 will use into account. Expand the max width to 5.
21912 Wed Sep 8 16:01:14 1999 Richard Henderson <rth@cygnus.com>
21914 * ggc-simple.c (ggc_free_rtx): Poison the correct amount
21915 for the rtx length.
21917 Wed Sep 8 15:23:54 1999 Richard Henderson <rth@cygnus.com>
21919 * alpha.md (call value patterns): Remove the result predicates.
21921 Wed Sep 8 13:35:38 1999 Richard Henderson <rth@cygnus.com>
21923 * Makefile.in (stmp-fixinc): Remove extraneous exit 1 from
21926 Wed Sep 8 15:32:16 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
21928 * system.h (sbrk, malloc, calloc, realloc): Backup prototypes
21929 changed from extern char *, to extern PTR. Also fix typo in
21930 NEED_DECLARATION_REALLOC test.
21932 * mips-tdump.c (malloc, calloc, realloc): Don't prototype.
21934 Wed Sep 8 11:40:47 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
21936 * gansidecl.h (__attribute__, ATTRIBUTE_UNUSED_LABEL,
21937 ATTRIBUTE_UNUSED, ATTRIBUTE_NORETURN, ATTRIBUTE_PRINTF,
21938 ATTRIBUTE_PRINTF_1, ATTRIBUTE_PRINTF_2, ATTRIBUTE_PRINTF_3,
21939 ATTRIBUTE_PRINTF_4, ATTRIBUTE_PRINTF_5, GENERIC_PTR): Delete.
21941 * c-decl.c (field_decl_cmp): Use PTR instead of GENERIC_PTR.
21943 * cccp.c (pcfinclude): Likewise.
21945 * global.c (allocno_compare): Likewise.
21947 * haifa-sched.c (rank_for_schedule): Likewise.
21949 * local-alloc.c (qty_sugg_compare_1, qty_compare_1): Likewise.
21951 * reload1.c (hard_reg_use_compare, reload_reg_class_lower): Likewise.
21953 * stupid.c (stupid_reg_compare): Likewise.
21955 * tree.c (_obstack_allocated_p): Likewise.
21957 * varray.h (varray_data_tag, VARRAY_GENERIC_PTR_INIT): Likewise.
21959 1999-09-08 Bruce Korb autogen@linuxbox.com
21961 * Makefile.in: Give the hapless gperf user a hint about
21962 why "gperf -F" fails.
21964 Wed Sep 8 04:43:22 1999 Richard Henderson <rth@cygnus.com>
21966 * lists.c: Include ggc.h.
21968 (init_EXPR_INSN_LIST_cache): Install it.
21970 * ggc-simple.c (init_ggc): Absorb the old init.
21971 (ggc_push_context): Use xcalloc.
21972 (ggc_alloc_rtx, ggc_alloc_rtvec, ggc_alloc_tree): Likewise.
21973 (ggc_collect): Add [rvts] tags to the collection stats.
21975 Wed Sep 8 11:14:25 1999 Andreas Schwab <schwab@suse.de>
21977 * cccp.c (main): Fix handling of -include and -imacros options.
21979 Wed Sep 8 02:23:08 1999 Jeffrey A Law (law@cygnus.com)
21981 * cpplib.c (cpp_push_buffer): Fix order of arguments.
21983 Wed Sep 8 04:44:09 1999 Alexandre Oliva <oliva@dcc.unicamp.br>
21985 * rtl.h (obstack_alloc_rtx): Removed, it's now static in
21988 Wed Sep 8 00:33:43 1999 Alasdair Baird <alasdair@wildcat.demon.co.uk>
21990 * flow.c (insn_dead_p): Use XEXP rather than SUBREG_REG.
21991 * haifa-sched.c (sched_analyze_1): Use XEXP rather than SUBREG_REG
21992 and SET_DEST. Update comment.
21994 Wed Sep 8 18:55:17 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
21996 * config/c4x/c4x.c: Include ggc.h.
21997 (c4x_add_gc_roots): New function.
21998 (c4x_override_options): Call c4x_add_gc_roots.
22000 Wed Sep 8 00:00:16 1999 Richard Henderson <rth@cygnus.com>
22002 * defaults.h (TARGET_ESC): Move ...
22003 * system.h: ... here, where Linas had it in the first place. Silly me.
22005 Tue Sep 7 23:46:35 1999 Linas Vepstas <linas@linas.org>
22007 * c-common.c: Use ISGRAPH, ISLOWER, toupper.
22008 * c-lex.c, cccp.c, cexp.c, cexp.y, cppexp.c, dwarf2out.c, genattr.c,
22009 genattrtab.c, genemit.c, genextract.c, genpeep.c, tree.c: Likewise.
22010 * system.h (IN_CTYPE_DOMAIN): Define to 1 if HOST_EBCDIC.
22011 * defaults.h (TARGET_ESC): Add default.
22013 Tue Sep 7 23:36:59 1999 Linas Vepstas <linas@linas.org>
22015 * configure.in: add i370-*-openedition, i370-*-mvs and
22016 i370-*-linux targets
22018 Tue Sep 7 23:31:53 1999 Mark Mitchell <mark@codesourcery.com>
22020 * dsp16xxx.c: Include ggc.h
22021 (override_options): Mark GC roots.
22022 * mn10200.c: Include ggc.h.
22023 (asm_file_start): Mark GC roots.
22024 * tahoe.c: Include ggc.h.
22025 (extensible_operand): Mark GC roots.
22027 Tue Sep 7 23:23:15 1999 Linas Vepstas <linas@linas.org>
22029 * README: Add section discussing status of ELF ABI.
22030 * i370.c: Fix misc spelling mistakes.
22031 (i370_label_scan): Updated notes, exception handling.
22032 (i370_function_prolog): Simplify ELF stack handling.
22033 * i370.h: (FIXED_REGISTERS): Free up r12 for ELF.
22034 (STACK_GROWS_DOWNWARD): ELF stack grows down.
22035 (ASM_DECLARE_FUNCTION_NAME): Fix crazy malloc size.
22036 * i370.md: (movdi): Add notes.
22037 (floatsidf2): Use stack not rtca for scratch float area.
22038 (iorsi3): Correct operand constraints.
22039 * x-oe: Restore TAROUTOPTS which are used by pax.
22041 Tue Sep 7 22:39:18 1999 Mark Mitchell <mark@codesourcery.com>
22043 * rs6000.c: Include ggc.h.
22044 (rs6000_add_gc_roots): New function.
22045 (override_options): Call it.
22047 Tue Sep 7 22:09:03 1999 Richard Henderson <rth@cygnus.com>
22049 * alpha.h (alpha_compare): New.
22050 (alpha_compare_op0, alpha_compare_op1, alpha_compare_fp_p): Remove.
22051 * alpha.c: Likewise for the definitions.
22052 (alpha_emit_conditional_branch): Update for alpha_compare.
22053 (alpha_emit_conditional_move): Likewise.
22054 * alpha.md (cmpdf, cmpdi): Likewise.
22055 (setcc patterns): Likewise. Zero alpha_compare after use.
22056 (sne): Optimize (x != 0) into (0U < x).
22058 Tue Sep 7 21:55:02 1999 Richard Henderson <rth@cygnus.com>
22060 * alpha.h (alpha_eh_epilogue_sp_ofs): Remove.
22061 (struct machine_function): Declare; add eh_epilogue_sp_ofs.
22062 (INIT_EXPANDERS): Remove.
22063 * alpha.c: Include ggc.h.
22064 (alpha_eh_epilogue_sp_ofs, alpha_return_addr_rtx): Remove.
22065 (alpha_init_machine_status, alpha_mark_machine_status): New.
22066 (override_options): Install them.
22067 (struct machine_function): Moved to alpha.h.
22068 (alpha_save_machine_status, alpha_restore_machine_status): Remove.
22069 (alpha_init_expanders): Remove.
22070 (alpha_return_addr): Adjust to use current_function->machine.
22071 (alpha_ra_ever_killed): Likewise.
22072 (alpha_expand_epilogue): Likewise.
22073 * alpha.md (eh_epilogue): Likewise.
22075 Wed Sep 8 14:34:42 1999 Ian Piumarta <piumarta@prof.inria.fr>
22076 Melissa O'Neill <oneill@cs.sfu.ca>
22077 Geoffrey Keating <geoffk@cygnus.com>
22079 * config/rs6000/rs6000.c (first_reg_to_save): Don't save fixed or
22080 call-used registers (call-saved registers must still be contiguous
22081 and end with r31, of course).
22083 Tue Sep 7 21:41:38 1999 Richard Henderson <rth@cygnus.com>
22085 * c-typeck.c (type_lists_compatible_p): Use simple_type_promotes_to.
22086 (self_promoting_type_p): Delete.
22087 (self_promoting_args_p): Move ...
22088 * c-common.c: ... here.
22089 (c_common_nodes_and_builtins): Initialize lang_type_promotes_to.
22090 (simple_type_promotes_to): New.
22091 * builtins.c (lang_type_promotes_to): New.
22092 (expand_builtin_va_arg): Use it to give diagnostic for illegal types.
22093 * c-tree.h (C_PROMOTING_INTEGER_TYPE_P): Move ...
22094 * c-common.h: ... here.
22095 (self_promoting_args_p, simple_type_promotes_to): Declare.
22096 * c-decl.c (duplicate_decls): Use simple_type_promotes_to.
22097 (grokdeclarator): Likewise.
22098 * tree.h (lang_type_promotes_to): Declare.
22100 Tue Sep 7 17:15:21 1999 Mark Mitchell <mark@codesourcery.com>
22102 Add some machine-dependent GC roots.
22103 * sparc.c: Include ggc.h.
22104 (sparc_add_gc_roots): New function.
22105 (mark_ultrasparc_pipeline_state): Likewise.
22106 (override_options): Call sparc_add_gc_roots.
22107 * pa.c: Include ggc.h.
22108 (pa_add_gc_roots): New function.
22109 (mark_deferred_plabels): Likewise.
22110 (override_options): Call pa_add_gc_roots.
22111 * mips.c: Include ggc.h.
22112 (mips_add_gc_roots): New function.
22113 (override_options): Use it.
22115 Tue Sep 7 11:39:41 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
22117 * cpperror.c (cpp_file_line_for_message): Constify a char*.
22119 * cppexp.c (parse_number, parse_charconst, cpp_lex,
22120 cpp_parse_expr): Add static prototypes.
22121 (parse_charconst): Don't cast away const-ness.
22122 (token): Constify a char*.
22124 * cppfiles.c (file_name_list, include_hash, find_include_file,
22125 finclude, initialize_input_buffer): Constify a char*.
22126 (file_cleanup, find_position): Add static prototypes.
22128 * cpphash.c (macro_cleanup, macarg, timestamp, special_symbol,
22129 collect_expansion): Add static prototypes.
22130 (cpp_install, create_definition, monthnames): Constify a char*.
22132 * cpphash.h (cpp_install): Likewise.
22134 * cppinit.c (known_suffixes, default_include,
22135 dump_special_to_buffer, NAME, cpp_start_read, cpp_finish): Likewise.
22136 (base_name, dump_special_to_buffer, initialize_dependency_output):
22137 Add static prototypes.
22139 * cpplib.c (my_strerror): Constify a char*.
22140 (null_underflow, null_cleanup, skip_comment, copy_comment,
22141 copy_rest_of_line, handle_directive, pass_thru_directive,
22142 get_directive_token, read_line_number, cpp_print_file_and_line,
22143 v_cpp_error, v_cpp_warning, v_cpp_error_with_line,
22144 v_cpp_warning_with_line, detect_if_not_defined,
22145 consider_directive_while_skipping): Add static prototypes.
22146 (pass_thru_directive, check_macro_name, cpp_expand_to_buffer,
22147 cpp_pedwarn_with_file_and_line): Constify a char*.
22149 * cpplib.h (cpp_options, include_hash, progname, definition,
22150 cpp_pedwarn_with_file_and_line, cpp_expand_to_buffer,
22151 check_macro_name, cpp_pfatal_with_name, cpp_file_line_for_message,
22152 find_include_file, deps_output, include_hash): Constify a char*.
22154 * cppmain.c (progname): Constify.
22155 (main): Add prototype. Use return, not exit.
22157 * fix-header.c (fatal, add_symbols, lookup_std_proto, write_lbrac,
22158 recognized_macro, check_macro_names, read_scan_file, write_rbrac,
22159 inf_skip_spaces, inf_read_upto, inf_scan_ident, inf_scan_ident,
22160 check_protection): Add static prototype.
22162 (progname, recognized_macrom, recognized_extern): Constify a char*.
22163 (main): Add prototype.
22165 * gen-protos.c (progname): Constify a char*.
22167 Tue Sep 7 00:47:52 1999 Mark Mitchell <mark@codesourcery.com>
22169 * emit-rtl.c (free_emit_status): Take decl as a parameter.
22170 (init_emit_once): Add more GC roots.
22171 * except.c (mark_func_eh_entry): New function.
22172 (mark_eh_node): Mark false_label and rethrow_label.
22173 (init_eh): Add more GC roots.
22174 * function.c (free_after_compilation): Take decl as a paramter.
22175 Call free_stmt_status.
22176 (mark_function_state): Don't assume x_parm_reg_stack_loc is
22178 * function.h (free_after_compilation): Change prototype.
22179 (free_varasm_status): Likewise.
22180 (free_emit_status): Likewise.
22181 (free_stmt_status): New function.
22182 * ggc-simple.c (rtx, vecs, trees, strings, bytes_alloced_since_gc):
22183 Remove, replacing with ...
22184 (ggc_status): New structure.
22185 (ggc_chain): New variable.
22186 (init_gcc): Define.
22187 (ggc_push_context): New function.
22188 (ggc_pop_context): Likewise.
22189 (ggc_alloc_rtx): Adjust for use of ggc_chain.
22190 (ggc_alloc_rtvec): Likewise.
22191 (ggc_alloc_tree): Likewise.
22192 (ggc_alloc_string): Likewise.
22193 (ggc_mark_rtx): Mark NOTE_SOURCE_FILE and NOTE_RANGE_INFO.
22194 (ggc_mark_tree): Give language-dependent code a chance to mark
22196 (ggc_mark_tree_varray): Handle empty arrays.
22197 (ggc_collect): Adjust for use of ggc_chain. Clear
22198 bytes_alloced_since_last_gc.
22199 * ggc.h (ggc_pop_context): New function.
22200 (ggc_push_context): Likewise.
22201 * print-tree.c (print_node): Don't print obstacks when GC'ing.
22202 * stmt.c (free_stmt_status): New function.
22203 (init_stmt_for_function): Clear last_expr_value.
22204 * toplev.c (rest_of_compilation): Always call free_after_compilation.
22205 Conditionalize call to ggc_collect.
22206 (main): Call init_ggc.
22207 * tree.c (push_obstacks): Do the push, even when GC'ing.
22208 (push_obstacks_nochange): Likewise.
22209 (pop_obstacks): Liekwise.
22210 * varasm.c (free_varasm_status): Take decl as a parameter.
22212 Tue Sep 7 08:15:49 1999 Gavin Romig-Koch <gavin@cygnus.com>
22214 * config/mips/mips.h (MULTILIB_ENDIAN_DEFAULT) : New macro.
22215 (MULTILIB_ENDIAN_DEFAULT) : Use the new macro.
22216 * config/mips/elf64.h (MULTILIB_DEFAULTS) : Use the new macro.
22217 * config/mips/r3900.h (MULTILIB_DEFAULTS) : Use the new macro.
22219 Tue Sep 7 03:42:45 1999 Mark Klein (mklein@dis.com)
22221 * pa/x-pa-mpeix: New file for the MPE port.
22223 * pa/quadlib.asm: New file for long double support.
22225 * configure.in: Add hppa1.0-*-mpeix for MPE port.
22226 * configure: Rebuilt.
22228 Tue Sep 7 10:08:40 1999 Andreas Schwab <schwab@suse.de>
22230 * final.c (shorten_branches): Fix last change.
22232 Tue Sep 7 00:30:32 1999 Jeffrey A Law (law@cygnus.com)
22234 * pa.h (ASM_OUTPUT_DOUBLE_INT): Delete.
22236 Mon Sep 6 22:44:47 1999 Jeffrey A Law (law@cygnus.com)
22238 * Merge from gcc2 snapshot Jan 9, 1999. See FSFChangeLog for
22241 Mon Sep 6 22:31:28 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
22243 * c-aux-info.c (concat): Don't define.
22245 * cccp.c (my_strerror): Likewise. All callers changed to use
22247 (do_include): Call xstrdup, not xmalloc/strcpy.
22248 (grow_outbuf): Don't check if xrealloc returns NULL, it can't.
22249 (xmalloc, xrealloc, xcalloc, xstrdup): Don't define.
22251 * collect2.c (my_strsignal): Likewise. All callers changed to use
22253 (locatelib): Call xstrdup, not xmalloc/strcpy.
22255 * 1750a.h (ASM_OUTPUT_INTERNAL_LABEL): Call xmalloc, not malloc.
22257 * dsp16xx.c (override_options): Call xstrdup, not xmalloc/strcpy.
22259 * i370.h (ASM_DECLARE_FUNCTION_NAME): Call xmalloc, not malloc.
22261 * mips.c (build_mips16_call_stub): Call xstrdup, not xmalloc/strcpy.
22263 * cppinit.c (cpp_options_init): Call xcalloc, not xmalloc/bzero.
22265 * dwarfout.c (dwarfout_init): Call concat, not xmalloc/strcpy/...
22267 * except.c (new_eh_region_entry): Call xmalloc/xrealloc, not
22269 (find_all_handler_type_matches): Likewise. Don't check return
22271 (get_new_handler, init_insn_eh_region, process_nestinfo): Call
22272 xmalloc, not malloc.
22273 (init_eh_nesting_info): Likewise. Call xcalloc, not xmalloc/bzero.
22275 * gcc.c (xstrerror, xmalloc, xrealloc): Don't define.
22276 (init_spec): Call xcalloc, not xmalloc/bzero.
22277 (set_spec): Call xstrdup, not save_string.
22278 (record_temp_file): Call xstrdup, not xmalloc/strcpy.
22279 (find_a_file): Call xstrdup, not xmalloc/strcpy.
22280 (process_command): Call xstrdup, not save_string.
22281 (main): Call xcalloc, not xmalloc/bzero.
22283 * gcov.c (xmalloc): Don't define.
22284 (create_program_flow_graph): Call xcalloc, not xmalloc/bzero.
22285 (scan_for_source_files): Call xstrdup, not xmalloc/strcpy.
22286 (output_data): Call xcalloc, not xmalloc/bzero.
22288 * haifa-sched.c (schedule_insns): Call xcalloc, not xmalloc/bzero.
22290 * mips-tdump.c (xmalloc): Don't define.
22291 (print_symbol): Call xmalloc, not malloc.
22292 (read_tfile): Call xcalloc, not calloc.
22294 * mips-tfile.c (xfree, my_strsignal, xmalloc, xcalloc, xrealloc):
22295 Don't define. All callers of xfree/my_strsignal changed to use
22296 free/strsignal instead.
22297 (allocate_cluster): Call xcalloc, not calloc.
22299 * objc/objc-act.c (lang_init): Call concat, not xmalloc/strcpy/...
22300 Fix memory leak, free allocated memory.
22302 * prefix.c (translate_name): Call xstrdup, not save_string.
22303 (update_path): Likewise.
22305 * profile.c (branch_prob): Call xstrdup, not xmalloc/strcpy.
22307 * protoize.c (xstrerror, xmalloc, xrealloc, xfree, savestring2):
22308 Don't define. Callers of xfree/savestring2 changed to use
22309 free/concat instead.
22311 * reload1.c (reload): Call xcalloc, not xmalloc/bzero.
22312 (init_elim_table): Likewise.
22314 * resource.c (init_resource_info): Likewise.
22316 * stupid.c (stupid_life_analysis): Likewise.
22318 * toplev.c (xmalloc, xcalloc, xrealloc, xstrdup): Don't define.
22319 (open_dump_file): Call concat, not xmalloc/strcpy/...
22320 (clean_dump_file): Likewise.
22321 (compile_file): Call xstrdup, not xmalloc/strcpy.
22323 Mon Sep 6 15:04:55 1999 Richard Henderson <rth@cygnus.com>
22325 * v850.h (EXPAND_BUILTIN_VA_ARG): New.
22326 * v850.c (v850_va_arg): New.
22328 Tue Sep 7 09:36:01 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
22330 * haifa-sched.c: Tidy comments.
22332 Mon Sep 6 14:30:13 1999 Bernd Schmidt <bernds@cygnus.co.uk>
22334 * Makefile.in (C_AND_OBJC_OBJS): Remove ggc-callbacks.o.
22335 (c-parse.o, c-decl.o, c-lang.o, c-lex.o, c-common.o,
22336 $(out_object_file)): Depend on ggc.h.
22337 * c-common.c: Include "ggc.h".
22338 (combine_strings): If doing GC, use ggc_alloc_string.
22339 * c-decl.c: Include "ggc.h".
22340 (ggc_p): Define with value 0.
22341 (mark_binding_level): New function.
22342 (init_decl_processing): Add GC roots.
22343 (mark_c_function_context): New function.
22344 (lang_mark_false_label_stack): New function.
22345 (lang_mark_tree): New function.
22346 (lang_cleanup_tree): New function.
22347 * c-lang.c: Include "ggc.h".
22348 (lang_init): Call c_parse_init.
22349 * c-lex.c: Include "ggc.h".
22350 (check_linenum): If doing GC, don't copy filenames to permanent
22352 * c-parse.in: Include "ggc.h".
22353 (c_parse_init): New function.
22354 * c-tree.h (c_parse_init, mark_c_function_context): Declare.
22355 * objc/Make-lang.in (objc-parse.o): Depend on ggc.h.
22357 * except.c (mark_eh_state): Mark more state.
22358 * function.c (mark_function_state): Likewise.
22359 * ggc-simple.c (ggc_alloc_rtvec): Bring in sync with non-gc version.
22360 (ggc_alloc_string) [GGC_DUMP]: Fix typo.
22361 * toplev.c (mark_file_stack): New function.
22362 (compile_file): If doing GC, use ggc_alloc_string on input filename.
22363 (main): Add root for input_file_stack.
22365 * i386.c: Include "ggc.h".
22366 (ix86_mark_machine_status): New function.
22367 (override_options): Set mark_machine_status.
22369 Mon Sep 6 15:26:23 1999 Bernd Schmidt <bernds@cygnus.co.uk>
22371 * tree.c (copy_node): Copy node contents also if doing GC.
22373 Mon Sep 6 08:42:06 1999 Alexandre Oliva <oliva@dcc.unicamp.br>
22375 * collect2.c (scan_libraries): Fix double-thinko :-).
22377 Mon Sep 6 02:42:36 1999 Jeffrey A Law (law@cygnus.com)
22379 * collect2.c (scan_libraries): Fix thinko.
22381 * cse.c (delete_trivially_dead_insns): Do not skip the last
22382 insn if it is a real insn.
22384 Sun Sep 5 18:57:42 1999 Mark Mitchell <mark@codesourcery.com>
22386 * Makefile.in (ggc-simple.o): Depend on hash.h.
22387 * ggc.h (ggc_add_tree_hash_table_root): Declare.
22388 (ggc_mark_tree_varray): Likewise.
22389 (ggc_mark_tree_hash_table): Likewise.
22390 * ggc-simple.c: Include hash.h.
22391 (ggc_mark_tree_hash_table_ptr): New function.
22392 (ggc_mark_tree_hash_table_entry): Likewise.
22393 (ggc_mark_tree_hash_table): Likewise.
22394 (ggc_add_tree_hash_table_root): Likewise.
22395 * varray.h (const_equiv_data): Use struct rtx_def *, rather than
22396 rtx, when defining fields.
22398 Sun Sep 5 18:57:42 1999 Bernd Schmidt <crux@pool.informatik.rwth-aachen.de>
22400 * profile.c (output_func_start_profiler): Remove apparently
22401 nonsensical call to start_sequence.
22403 Sun Sep 5 17:34:33 1999 Richard Henderson <rth@cygnus.com>
22405 * clipper/clipper.c (clipper_va_start): Fix typos.
22407 * pyr/pyr.c (pyr_build_va_list, pyr_va_start, pyr_va_arg): New stubs.
22408 * spur/spur.c (spur_build_va_list, spur_va_start): New stubs.
22409 (spur_va_arg): New stub.
22411 * configure.in: Comment out pyramid.
22413 Sun Sep 5 19:11:01 1999 Michael Meissner <meissner@cygnus.com>
22415 * i386.h (MASK_{DEBUG_{ADDR,ARG},INTEL_SYNTAX}): Move so these
22416 don't conflict with the bits that win32, cygwin, and dgux
22419 Sun Sep 5 09:31:56 1999 Richard Henderson <rth@cygnus.com>
22420 Bernd Schmidt <bernds@cygnus.co.uk>
22422 * integrate.c (function_cannot_inline_p): Do not inline
22423 functions with forced labels.
22425 Sun Sep 5 00:35:17 1999 Richard Henderson <rth@cygnus.com>
22426 Bernd Schmidt <bernds@cygnus.co.uk>
22427 Mark Mitchell <mark@codesourcery.com>
22429 * Makefile.in (ggc-simple.o): Depend on varray.h.
22430 (rtl.o): Depend on ggc.h.
22431 (genattrtab.o): Depend on ggc.h.
22432 (print-tree.o): Likewise.
22433 (fold-const.o): Likewise.
22434 * emit-rtl.c (sequence_element_free_list): Remove, and all references.
22435 (make_insn_raw): Don't cache insns when GC'ing.
22436 (emit_insn_before): Likewise.
22437 (emit_insn_after): Likewise.
22438 (emit_insn): Likewise.
22439 (start_sequence): Use xmalloc to allocate the sequence_stack.
22440 (end_sequence): Add free to free it.
22441 (gen_sequence): Don't cache insns when GC'ing.
22442 (clear_emit_caches): Don't use sequence_element_free_list.
22443 (init_emit): Use xcalloc, not xmalloc+bzero.
22444 * fold-const.c (size_int_wide): Kill the cache, when GC'ing.
22445 * function.c (pop_function_context_from): Use free to free the
22446 fixup_var_refs_queue.
22447 (put_reg_into_stack): Allocate it with xmalloc.
22448 * genattrtab.c: Include ggc.h.
22449 (operate_exp): Don't use obstack_free when GC'ing.
22450 (simplify_cond): Likewise.
22451 (simplify_text_exp): Likewise.
22452 (optimize_attrs): Likewise.
22453 * gengenrtl.c (gendef): Use ggc_alloc_rtx to allocate RTL, when
22455 (gencode): Generate a #include for ggc.h.
22456 * ggc-callbacks.c (ggc_p): Define it to zero.
22457 * ggc-none.c (ggc_p): Likewise.
22458 * ggc-simple.c: Include varray.h.
22459 (ggc_mark_tree_varray): New function.
22460 (ggc_add_tree_varray_root): Likewise.
22461 (ggc_mark_tree_varray_ptr): Likewise.
22462 * ggc.h (ggc_p): Declare.
22463 (varray_head_tag): Likewise.
22464 (ggc_add_tree_varray_root): Declare.
22465 * print-tree.c (print_node): Don't check for TREE_PERMANENT
22466 inconsistencies when GC'ing.
22467 * rtl.c: Include ggc.h.
22468 (rtvec_alloc): Use ggc_alloc_rtvec when GC'ing.
22469 (rtx_alloc): Use ggc_alloc_rtx when GC'ing.
22470 (rtx_free): Don't call obstack_free when GC'ing.
22471 * toplev.c (rest_of_compilation): Call ggc_collect after every
22473 * tree.c (push_obstacks): Do nothing, if GC'ing.
22474 (pop_obstacks_nochange): Likewise.
22475 (pop_obstacks): Likewise.
22476 (make_node): Use ggc_alloc_tree when GC'ing.
22477 (copy_node): Likewise.
22478 (get_identifier): Use ggc_alloc_string when GC'ing.
22479 (build_string): Likewise.
22480 (make_tree_vec): Use ggc_alloc_tree when GC'ing.
22481 (tree_cons): Likewise.
22482 (build1): Likewise.
22483 (type_hash_canon): Don't call obstack_free when GC'ing.
22485 Sat Sep 4 21:52:32 1999 Richard Henderson <rth@cygnus.com>
22487 * haifa-sched.c (schedule_block): Use next_nonnote_insn instead
22488 of NEXT_INSN when examining speculative insns for SCHED_GROUP_P.
22490 Sat Sep 4 20:40:19 1999 Richard Henderson <rth@cygnus.com>
22491 Bernd Schmidt <bernds@cygnus.co.uk>
22492 Mark Mitchell <mark@codesourcery.com>
22494 * Makefile.in (stor-layout.o): Depend on ggc.h.
22495 (expr.o): Depend on ggc.h.
22496 (profile.o): Depend on ggc.h.
22497 (stor-layout.o): Depend on ggc.h.
22498 * emit-rtl.c (init_emit_once): Add gc roots.
22499 * expr.c: Include ggc.h.
22500 (emit_block_move): Add gc roots.
22501 (clear_storage): Likewise.
22502 * expr.h (init_stor_layout_once): New function.
22503 * profile.c: Include ggc.h.
22504 (init_arc_profiler): profiler_label is a root.
22505 * scan.c (make_sstring_space): Trust xrealloc to function
22506 correctly with first parameter NULL.
22507 * stor-layout.c: Include ggc.h.
22508 (set_sizetype): Add gc root.
22509 (init_stor_layout_once): New function.
22510 * toplev.c (compile_file): Call it.
22512 Sat Sep 4 19:26:25 1999 Richard Henderson <rth@cygnus.com>
22513 Bernd Schmidt <bernds@cygnus.co.uk>
22514 Mark Mitchell <mark@codesourcery.com>
22516 * Makefile.in (tree.o): Depend on ggc.h.
22517 (varasm.o): Likewise.
22518 (function.o): Likewise.
22519 (stmt.o): Likewise.
22520 (except.o): Likewise.
22521 (optabs.o): Likewise.
22522 (emit-rtl.o): Likewise.
22523 * emit-rtl.c: Include ggc.h.
22524 (sequence_element_free_list): Remove, and all references.
22525 (mark_sequence): New functions.
22526 (mark_emit_state): New function.
22527 * except.c: Include ggc.h.
22528 (mark_eh_node, mark_eh_stack, mark_eh_queue): New functions.
22529 (mark_tree_label_node): New functions.
22530 (mark_eh_state): New function.
22531 * function.c: Include ggc.h.
22532 (mark_temp_slot, mark_function_chain): New functions.
22533 (mark_function_state): New function.
22534 (init_function_once): New function.
22535 * function.h (init_function_once): New function.
22536 * ggc-callbacks.c (lang_mark_false_label_stack): New function.
22537 * ggc.h (label_node): Declare.
22538 (eh_status, emit_status, stmt_status, varasm_status): Likewise.
22539 (lang_mark_false_label_stack): New function.
22540 (mark_temp_slot): Remove declaration.
22541 (mark_function_chain): Likewise.
22542 (mark_eh_state): Adjust prototype.
22543 (mark_stmt_state, mark_emit_state, mark_varasm_state, mark_optab):
22545 * optabs.c: Include ggc.h.
22546 (mark_optab): New function.
22547 (init_optabs): Add gc roots.
22548 * stmt.c: Include ggc.h.
22549 (mark_cond_nesting, mark_loop_nesting): New functions.
22550 (mark_block_nesting, mark_case_nesting, mark_goto_fixup): Likewise.
22551 (mark_stmt_state): New function.
22552 * toplev.c (compile_file): Call init_function_once.
22553 * tree.c: Include ggc.h.
22554 (type_hash): Move declaration earlier in file.
22555 (TYPE_HASH_SIZE, type_hash_table): Likewise.
22556 (init_obstacks): Add gc roots.
22557 (mark_type_hash): New function.
22558 * varasm.c: Include ggc.h.
22559 (mark_pool_constant): New function.
22560 (mark_varasm_state): New function.
22562 Sat Sep 4 22:28:56 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
22564 * ggc-simple.c (ggc_root, ggc_collect): Wrap prototype with PROTO.
22566 Sat Sep 4 18:01:45 1999 Bernd Schmidt <bernds@cygnus.co.uk>
22568 * c-decl.c (struct language_function): Renamed from struct c_function.
22570 (c_function_chain): Delete.
22571 (push_c_function_context): New arg F. Don't warn about nested
22572 functions here. Fill LANGUAGE elt of F. Delete code to update
22573 c_function_chain. Don't call push_function_context.
22574 (pop_c_function_context): New arg F. Restore from there instead of
22575 from c_function_chain. Don't call pop_function_context. Clear out
22576 LANGUAGE field of F when done.
22577 * c-lang.c: Include "function.h"
22578 (lang_init): Initialize save_lang_status and restore_lang_status.
22579 * c-parse.in (nested_function, nested_function_notype): Warn about
22580 nested functions. Call push_function_context/pop_function_context
22581 instead of the _c_ variants.
22582 * c-tree.h (push_c_function_context, pop_c_function_context): Update
22584 * Makefile.in (c-lang.o): Update dependencies.
22586 * emit-rtl.c (init_emit): Use xmalloc to allocate regno_reg_rtx,
22587 regno_pointer_flag, regno_pointer_align.
22588 (gen_reg_rtx): Use xrealloc to enlarge them.
22589 (free_emit_status): New function.
22590 * function.c (mark_machine_status, mark_lang_status): New variables.
22591 (assign_stack_local_1): Renamed from assign_outer_stack_local. Merge
22592 in some bits from assign_stack_local. All callers changed to use new
22594 (assign_stack_local): Just call assign_stack_local_1.
22595 (free_after_compilation): New function.
22596 (put_reg_into_stack): Simplify to always call assign_stack_local_1.
22597 (trampoline_address): Likewise.
22598 (assign_parms): Use xcalloc/xrealloc to allocate parm_reg_stack_loc.
22599 (prepare_function_start): Explicitly clear some more variables.
22600 * function.h (struct function): New elt can_garbage_collect.
22601 (mark_machine_status, mark_lang_status): Declare variables.
22602 (free_after_compilation, free_emit_status, free_varasm_status,
22603 init_varasm_status): Declare functions.
22604 * toplev.c (rest_of_compilation): Call free_after_compilation when
22605 done with the current function.
22606 * varasm.c (free_varasm_status): New function.
22608 Sat Sep 4 17:15:13 1999 Richard Henderson <rth@cygnus.com>
22610 * sparc.h (EXPAND_BUILTIN_VA_START): Define.
22611 (EXPAND_BUILTIN_VA_ARG): Define.
22612 * sparc.c (sparc_va_start): New.
22613 (sparc_va_arg): New.
22615 Sun Sep 5 11:11:59 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
22617 * config/c4x/c4x.h (DBR_OUTPUT_SEQEND): Use XVECEXP not XEXPs.
22619 Sun Sep 5 10:13:19 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
22621 * config/c4x/c4x.h (CALLER_SAVE_PROFITABLE): Disable.
22623 Sat Sep 4 13:44:01 1999 Mark Mitchell <mark@codesourcery.com>
22625 * Makefile.in (C_AND_C_OBJS): Add gcc-callbacks.o.
22626 (OBJS): Add $(GGC).
22627 (ggc-callbacks.o): New target.
22628 * ggc-callbacks.c: New file.
22630 Sat Sep 4 22:53:13 1999 Bernd Schmidt <bernds@cygnus.co.uk>
22632 * expr.h: Collapse individual optab and libfunc vars to arrays.
22633 (optab_index, libfunc_index): New enumerations.
22634 (optab_table, libfunc_table): New arrays.
22635 Add accessor macros for both.
22637 * optabs.c (optab_table, libfunc_table): New.
22638 Delete declarations for individual optab and libfunc vars.
22640 Sat Sep 4 12:57:17 1999 Richard Henderson <rth@cygnus.com>
22642 * i386/sco5.h (RETURN_POPS_ARGS): Name change ix86_return_pops_args.
22644 Sat Sep 4 11:19:52 1999 Richard Henderson <rth@cygnus.com>
22646 * Makefile.in (GGC, GGC_LIB): New.
22647 (HOST_RTL): Include ggc-none.o.
22648 (ggc-simple.o): New target.
22649 (ggc-none.o): Likewise.
22650 * tree.h (tree_common): Add gc_mark.
22651 * rtl.h (struct rtx_def): Steal a bit from code to make gc_mark.
22652 (struct rtvec_def): Add gc_mark.
22653 * emit-rtl.c (global_rtl): Update static initializers to contain
22654 enough initializers.
22655 * ggc.h, ggc-none.c, ggc-simple.c: New files.
22656 * toplev.c (gc_time): New variable.
22657 (all_time): New variable.
22658 (compile_file): Print gc time.
22659 (print_time): Calculate percentage of the whole.
22661 Sat Sep 4 13:11:01 1999 Bernd Schmidt <bernds@cygnus.co.uk>
22663 Change obstack memory management and varasm constant pool handling so
22664 that nested functions are treated like any other functions.
22665 * function.c (init_machine_status): New variable.
22666 (push_function_context_to): Set contains_functions for the outer
22667 function. Don't call save_varasm_status.
22668 (pop_function_context_from): Don't call restore_varasm_status. Don't
22669 set current_function_contains_functions.
22670 (prepare_function_start): Call init_varasm_status rather than
22671 init_const_rtx_hash_table. Call (*init_machine_status) if the pointer
22673 * function.h (struct function) Add field varasm. Delete fields
22674 inline_obstacks, inl_emit, const_rtx_hash_table, first_pool,
22675 last_pool, const_rtx_sym_hash_table, pool_offset, const_double_chain.
22676 (init_machine_status): Declare.
22677 (save_varasm_status, restore_varasm_status): Delete declarations.
22678 (save_tree_status, restore_tree_status): Delete last argument.
22679 * integrate.c (initialize_for_inline): Lose arg COPY. Delete copying
22680 code. All callers changed.
22681 (copy_decl_list, copy_decl_tree, copy_decl_rtls, copy_for_inline,
22682 save_constants_in_decl_trees, restore_constants, save_constants,
22683 save_for_inline_eh_labelmap, save_for_inline_copying): Delete
22685 (inlining): New variable.
22686 (reg_map, label_map, insn_map, orig_asm_operands_vector,
22687 copy_asm_operands_vector, copy_asm_constraints_vector): Delete
22689 (save_for_inline_nocopy): Don't save constants.
22690 Don't set inl_emit field in current_function.
22691 (expand_inline_function): Use emit field, not inl_emit, of the inlined
22692 function. Set new variable inlining before
22693 calling copy_rtx_and_substitute.
22694 (copy_rtx_and_substitute): In MEM and SYMBOL_REF cases, handle
22695 constant pool references if inlining is nonzero.
22696 Delete ADDRESS and (most of the) CONST cases.
22697 (output_inline_function): Save and restore current_function/
22698 current_function_decl. Delete restore_constants code. Don't call
22699 init_const_rtx_hash_table.
22700 * output.h (init_const_rtx_hash_table): Don't declare.
22701 * rtl.h (struct function): Declare.
22702 (get_pool_constant_for_function, get_pool_mode_for_function): Declare.
22703 * toplev.c (rest_of_compilation): Don't treat nested functions or
22704 functions containing them specially. Delete all code to deal with
22705 save_for_inline_copying.
22706 * tree.c (toplev_inline_obstacks, extra_inline_obstacks,
22707 inline_obstacks): Delete variables.
22708 (save_tree_status): Lose arg CONTEXT. All callers changed.
22709 Simply allocate a new function_maybepermanent_obstack for the new
22710 function, delete all the special cases.
22711 Don't save inline_obstacks.
22712 (restore_tree_status): Lose arg CONTEXT. All callers changed.
22713 Delete special handling for function_maybepermanent_obstack; simply
22715 Don't restore inline_obstacks.
22716 (permanent_allocation): Delete code that frees inline_obstacks.
22717 (print_inline_obstack_statistics): Delete function.
22718 (dump_tree_statistics): Don't call it.
22719 * varasm.c (struct varasm_status): New.
22720 (const_rtx_hash_table, const_rtx_sym_hash_table, first_pool,
22721 last_pool, pool_offset, const_double_chain): Delete global
22722 variables, replace with accessor macros.
22723 (immed_double_const): Don't walk const_double_chain outside a
22724 function, but don't treat nested functions specially anymore.
22725 (immed_real_const_1): Likewise.
22726 (clear_const_double_mem): Don't treat nested functions specially.
22727 (init_const_rtx_hash_table): Deleted, code moved to init_varasm_status.
22728 (save_varasm_status, restore_varasm_status): Delete functions.
22729 (init_varasm_status): New function.
22730 (force_const_mem): Don't treat nested functions specially.
22731 (find_pool_constant): Accept new arg F, search for constants in
22732 that function's pool rather than the current one. All callers
22734 (get_pool_constant_for_function, get_pool_mode_for_function): New
22737 * i386.c (init_386_machine_status): New function, mostly from
22738 clear_386_stack_locals.
22739 (struct machine_functions): Rename element names to avoid name
22741 (pic_label_rtx, pic_label_name, i386_stack_locals): New accessor
22742 macros, replacing global variables.
22743 (clear_386_stack_locals, save_386_machine_status,
22744 restore_386_machine_status): Delete functions.
22745 (override_options): Initialize init_machine_status.
22746 * i386.h (INIT_EXPANDERS): Delete macro.
22747 (save_386_machine_status, restore_386_machine_status,
22748 clear_386_stack_locals): Delete declarations.
22750 Sat Sep 4 16:56:28 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
22752 * config/c4x/c4x.md (rptb_init): Renamed from *rptb_init.
22753 (doloop_begin): Simplify pattern and use emit_jump_insn.
22754 (doloop_end): Simplify pattern, switch operand order,
22755 and use emit_jump_insn.
22757 Fri Sep 3 19:02:38 1999 Bernd Schmidt <crux@pool.informatik.rwth-aachen.de>
22759 * function.h (struct function): Add new element LANGUAGE.
22760 (save_lang_status): Declare new variable.
22761 (restore_lang_status): Likewise.
22762 * function.c (save_lang_status): Define.
22763 (restore_lang_status): Likewise.
22764 (push_function_context_to): Call language-specific save function.
22765 (pop_function_context_from): Call language-specific restore function.
22767 Fri Sep 3 01:16:18 1999 Alasdair Baird <alasdair@wildcat.demon.co.uk>
22769 * i386.md (movsf_1): Check REG_P before use of REGNO.
22770 (movdf_1): Likewise.
22771 (movxf_1): Likewise.
22772 (extendsfdf2): Likewise.
22773 (extendsfxf2): Likewise.
22774 (extenddfxf2): Likewise.
22776 Sat Sep 4 11:37:15 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
22778 * config/c4x/c4x.c (c4x_emit_move_sequence): Do not force large
22779 constants into memory.
22780 (c4x_shiftable_constant): New function.
22781 * config/c4x/c4x.c (LEGITIMATE_CONSTANT_P): Allow any CONST_INT.
22782 (c4x_shiftable_constant): Declare.
22783 * config/c4x/c4x.md (loadqi_big_constant, loadhi_big_constant,
22784 ashlqi3_noclobber): Add new patterns and associated splitters.
22786 Fri Sep 3 16:22:17 1999 Richard Henderson <rth@cygnus.com>
22788 * dbxout.c (dbxout_init): Use xcalloc instead of xmalloc+bzero.
22789 * dwarf2out.c (dwarf2out_frame_init): Likewise.
22790 * final.c (shorten_branches): Likewise.
22791 * global.c (global_alloc): Likewise.
22792 * haifa-sched.c (build_control_flow): Likewise.
22793 * stmt.c (check_for_full_enumeration_handling): Likewise.
22794 (estimate_case_costs): Likewise.
22796 Fri Sep 3 15:49:56 1999 Mark Mitchell <mark@codesourcery.com>
22798 * rtl.h (RTL_CHECKC2): Fix typo in last change.
22800 Fri Sep 3 15:13:34 1999 Richard Henderson <rth@cygnus.com>
22802 * flow.c (propagate_block): Use XEXP not SET_DEST for a USE.
22803 (recompute_reg_usage): Likewise.
22804 * rtlanal.c (find_regno_fusage): Likewise.
22806 * rtl.c (rtl_check_failed_code1): New function.
22807 (rtl_check_failed_code2): New.
22808 * rtl.h (RTL_CHECK1, RTL_CHECK2, RTVEC_ELT): Parenthesize args.
22809 (RTL_CHECKC1, RTL_CHECKC2): New.
22810 (XC*): New accessor macros.
22811 (NOTE_*, LABEL_NAME, LABEL_NUSES, ADDRESSOF_REGNO): Use them.
22812 (ADDRESSOF_DECL, JUMP_LABEL, LABEL_REFS, LABEL_NEXTREF): Likewise.
22813 (CONTAINING_INSN, REGNO, INTVAL, SUBREG_REG, SUBREG_WORD): Likewise.
22814 (ASM_OPERANDS_*, MEM_ALIAS_SET, SET_SRC, SET_DEST): Likewise.
22815 (TRAP_*, RANGE_INFO_*): Likewise.
22817 Fri Sep 3 15:10:20 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
22819 * Makefile.in (tlink.o): Don't depend on toplev.h.
22821 * collect2.c (c_file, o_file, export_file, import_file, ldout,
22822 output_file, nm_file_name, ldd_file_name, strip_file_name,
22823 c_file_name, prefix_list, libexts, is_ctor_dtor, find_a_file,
22824 add_prefix, prefix_from_env, prefix_from_string, do_wait,
22825 fork_execute, maybe_unlink, add_to_list,
22826 extract_init_priority, write_list, dump_list,
22827 dump_prefix_list, write_list_with_asm, write_c_file,
22828 write_c_file_stat, write_c_file_glob, scan_prog_file,
22829 scan_libraries, is_in_list, resolve_lib_name, use_import_list,
22830 ignore_library, extract_string, notice, dump_file, target_machine,
22831 collect_wait, collect_execute, libname, locatelib, aix_std_libs,
22832 read_file, print_load_command): Constify a char*.
22833 (fdopen, error, fatal, fatal_perror): Don't prototype.
22834 (my_strerror): Remove. All callers use xstrerror instead.
22835 (xcalloc, xmalloc, xrealloc, xstrdup, putenv): Remove definitions.
22836 (main): Add prototype. Constify lots of char* ptrs. Change calls
22837 to xcalloc/strcpy/strcat/... to one call to concat.
22838 (main, scan_prog_file, scan_libraries): Use an intermediate
22839 `const char **' to build an argv array.
22840 (mapfile, libselect, libcompare, locatelib): Add prototypes.
22842 * collect2.h (collect_execute, collect_wait, dump_file,
22843 file_exists): Constify a char*.
22844 (ldout, c_file_name, temporary_obstack, permanent_obstack,
22845 temporary_firstobj, vflag, debug): Add extern declarations.
22846 (fancy_abort, error, notice, fatal, fatal_perror): Add prototypes.
22848 * tlink.c: Don't include toplev.h.
22849 (vflag, debug, ldout, c_file_name, temporary_obstack,
22850 permanent_obstack, temporary_firstobj): Don't declare.
22851 (tlink_execute, frob_extension, symbol_hash_lookup,
22852 file_hash_lookup, demangled_hash_lookup, tlink_init, freadsym,
22853 recompile_files, read_repo_files, demangle_new_symbols,
22854 scan_linker_output): Constify a char*.
22855 (symbol_hash_newfunc, file_hash_newfunc, demangled_hash_newfunc,
22856 do_tlink): Mark parameters with ATTRIBUTE_UNUSED.
22858 Fri Sep 3 18:09:24 1999 Andrew Haley <aph@cygnus.com>
22860 * config/m68k/m68kelf.h: Set USE_GAS; this makes gcc generate jbsr
22861 (relative) rather than jsr (absolute) subroutine call insns.
22862 * config/m68k/m68k-coff.h: Ditto.
22864 Fri Sep 3 17:24:31 1999 Richard Earnshaw <rearnsha@arm.com>
22866 * arm.c (note_invalid_constants): No need to ignore ASMs, we can
22867 now rework these too.
22868 (arm_reorg): If an insn can't reach the end of the current pool,
22869 ensure that we emit that pool before the insn.
22871 Fri Sep 3 09:14:32 1999 Marc Espie <espie@tetto.liafa.jussieu.fr>
22873 * tlink.c (scan_linker_output): Skip the initial underscore in
22874 a mangled name if appropriate.
22876 Fri Sep 3 01:28:33 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
22878 * objc/objc-act.c (objc_tree_code_type, objc_tree_code_length,
22879 objc_tree_code_name, synth_id_with_class_suffix, warn_with_method,
22880 error_with_ivar, gen_declarator, create_builtin_decl,
22881 my_build_string, generate_descriptor_table, generate_ivars_list,
22882 generate_dispatch_table, check_protocols, TAG_GETCLASS,
22883 TAG_GETMETACLASS, TAG_MSGSEND, TAG_MSGSENDSUPER, TAG_EXECCLASS,
22884 dump_base_name, lang_decode_option, build_encode_expr,
22885 start_class, finish_class, encode_pointer, really_start_method,
22886 gen_declaration, dump_interface, handle_class_ref, handle_impent):
22888 (objc_demangle, objc_printable_name, generate_struct_by_value_array):
22889 Add static prototypes.
22890 (build_objc_string_decl, build_selector_reference_decl,
22891 encode_bitfield, build_class_reference_decl): Remove unused
22892 parameter, all callers changed.
22893 (maybe_objc_method_name): Mark with ATTRIBUTE_UNUSED.
22894 (objc_printable_name): Likewise. Change second parameter to type int.
22895 (init_objc): Use memcpy, not bcopy, to avoid casts.
22897 Thu Sep 2 21:49:52 1999 Richard Henderson <rth@cygnus.com>
22899 * reload1.c (eliminate_regs_in_insn): Avoid eliminating the
22900 reg notes on a deleted insn.
22901 * gcse.c (hash_expr_1): Use XWINT on a CONST_DOUBLE.
22903 Thu Sep 2 20:18:12 1999 Jeffrey A Law (law@cygnus.com)
22905 * i386.c (ix86_attr_length_default): Handle TYPE_FXCH.
22907 Thu Sep 2 22:00:08 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
22909 * stmt.c (expand_asm_operands): Fix index into inout_mode when
22912 Thu Sep 2 13:00:48 1999 Richard Henderson <rth@cygnus.com>
22914 * stmt.c (expand_asm_operands): Invoke MD_ASM_CLOBBERS if present.
22915 * tm.texi (MD_ASM_CLOBBERS): Document it.
22917 Thu Sep 2 10:22:40 1999 Richard Henderson <rth@cygnus.com>
22919 * dwarf2out.c (dwarf2out_line): Constify `lastfile'.
22920 * except.c (expand_rethrow): Remove unused variable.
22921 * expr.c (do_jump_by_parts_greater_rtx): Likewise.
22922 * flow.c (replace_insns): Likewise.
22923 (create_edge_list, verify_edge_list): Likewise.
22924 * gcse.c (cprop_cc0_jump): Protect declaration with HAVE_cc0.
22926 * genemit.c (gen_expand): Only emit `operands[N]' decl if there
22927 is special code to run.
22928 (main): Don't define operands to emit_operand.
22929 * genrecog.c (main): Don't emit an empty peephole2_insn function.
22931 * rtl.h (NOTE_BASIC_BLOCK): Use X0BBDEF.
22933 * alpha/alpha.h (normal_memory_operand): Declare.
22934 (reg_no_subreg_operand): Declare.
22935 * alpha/elf.h (ASM_DECLARE_OBJECT_NAME): Use HOST_WIDE_INT_PRINT_DEC.
22937 Thu Sep 2 10:19:20 1999 Richard Henderson <rth@cygnus.com>
22939 * c-parse.in (compstmt_primary_start): New, broken out of first
22940 part of compstmt handling in primary.
22941 (primary): Use it. Add an error clause.
22942 (compstmt_nostart): Renamed from compstmt; remove all
22943 initial invocations of compstmt_start.
22946 Thu Sep 2 01:35:50 1999 Marc Espie <espie@cvs.openbsd.org>
22948 * protoize.c (gen_aux_info_file): Let pexecute call choose_temp_base if
22951 Thu Sep 2 00:43:59 1999 Finn Hakansson <finn@axis.com>
22953 * combine.c (simplify_shift_const): Remove extra semicolon.
22954 * dwarf2out.c (remove_AT): Likewise.
22955 * expmed.c (expand_mult): Likewise.
22956 * gcov.c (create_program_flow_graph): Likewise.
22957 * reorg.c (mostly_true_jump): Likewise.
22959 Thu Sep 2 00:06:43 1999 Jeffrey A Law (law@cygnus.com)
22961 * fold-const.c (fold_range_test): Do not try to fold the range
22962 test if the rhs or lhs has side effects.
22964 * combine.c (simplify_rtx): Recognize another case of a synthesized
22967 * varasm.c (mark_constant_pool): When marking indirect references,
22968 only look at SYMBOL_REFs.
22970 * except.c (expand_fixup_region_end): Do not peek at
22971 INSN_UID (node->entry->outer_context) for flag_new_exceptions.
22973 Thu Sep 2 13:52:53 1999 Geoffrey Keating <geoffk@cygnus.com>
22975 * flags.h: New variables align_loops, align_loops_log,
22976 align_jumps, align_jumps_log, align_labels, align_labels_log,
22977 align_functions, align_functions_log.
22978 * toplev.c: Define them.
22979 (f_options): Handle -falign-* when they have no argument.
22980 (main): Add logic to set variables for -falign-functions,
22981 -falign-jumps, -falign-labels, -falign-loops.
22982 Make it -fsched-verbose=<n> and -finline-limit=<n>.
22983 (display_help): Change help to match options.
22984 * final.c (LABEL_ALIGN): Default to align_labels_log.
22985 (LABEL_ALIGN_MAX_SKIP): Default to align_labels-1.
22986 (LOOP_ALIGN): Default to align_loops_log.
22987 (LOOP_ALIGN_MAX_SKIP): Default to align_loops-1.
22988 (LABEL_ALIGN_AFTER_BARRIER): Default to align_jumps_log.
22989 (LABEL_ALIGN_AFTER_BARRIER_MAX_SKIP): Default to align_jumps-1.
22990 * varasm.c (assemble_start_function): Handle align_functions.
22992 * config/sparc/sparc.h: Don't declare sparc_align_*.
22993 Don't provide LABEL_ALIGN_AFTER_BARRIER or LOOP_ALIGN.
22994 (DEFAULT_SPARC_ALIGN_FUNCS): Delete; take functionality into
22996 (FUNCTION_BOUNDARY): Fix incorrect use---it's not just a request,
22998 * config/sparc/sparc.c: Delete sparc_align_loops,
22999 sparc_align_jumps, sparc_align_funcs and the corresponding string
23001 (sparc_override_options): Default align_functions on ultrasparc.
23002 Delete -malign-* handling.
23004 * config/mips/mips.c (override_options): On 64-bit targets,
23005 try to align code to 64-bit boundaries.
23006 (print_operand): New substitution, %~,
23007 which aligns labels to align_labels_log.
23008 * config/mips/mips.md (div_trap_normal): Use %~.
23009 (div_trap_mips16): Likewise.
23011 (absdi2): Likewise.
23012 (ffssi2): Likewise.
23013 (ffsdi2): Likewise.
23014 (ashldi3_internal): Likewise.
23015 (ashrdi3_internal): Likewise.
23016 (lshrdi3_internal): Likewise.
23017 (casesi_internal): Likewise.
23019 Wed Sep 1 21:13:48 1999 Richard Henderson <rth@cygnus.com>
23021 Merge new ia32 backend from the branch!
23023 * i386.h, i386.c, i386.md, reg-stack.c, i386/unix.h: Many changes.
23024 See ChangeLog.P2 on new_ia32_branch for details.
23026 * rtl.h (stack_regs_mentioned_p): Delete prototype.
23027 * i386/cygwin.h (SUBTARGET_PROLOGUE): No more do_rtl.
23028 * i386/win32.h (SUBTARGET_PROLOGUE): Likewise.
23029 * i386/gas.h (ASM_FILE_START): Define.
23030 * i386/winnt.c (i386_pe_valid_decl_attribute_p): Update
23031 for name change of ix86_valid_decl_attribute_p.
23032 (i386_pe_valid_type_attribute_p): Similarly.
23034 Wed Sep 1 18:21:23 1999 Richard Henderson <rth@cygnus.com>
23036 * emit-rtl.c (init_emit_once): Don't use GET_MODE_WIDER_MODE
23037 to step through CC modes.
23039 Wed Sep 1 20:18:06 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
23041 * regmove.c (fixup_match_1): Don't move INSN in front of P if
23042 it would end up in the shadow of a live flags regsiter.
23044 Wed Sep 1 11:32:00 1999 Bernd Schmidt <bernds@cygnus.co.uk>
23046 * reload1.c: Fix many indentation problems.
23047 * reload.c: Likewise.
23049 Tue Aug 31 22:08:03 1999 Marc Espie <espie@cvs.openbsd.org>
23051 * alias.c (non_local_reference_p): Constify fmt.
23053 Tue Aug 31 23:19:35 1999 Michael Meissner <meissner@cygnus.com>
23055 * config/i386/xm-cygwin.h (HAVE_DOS_BASED_FILE_SYSTEM): Define.
23057 Tue Aug 31 16:44:52 1999 Jeffrey A Law (law@cygnus.com)
23059 * cse.c (delete_trivially_dead_insns): Do not delete stores to
23060 the internal_arg_pointer.
23062 Tue Aug 31 13:35:42 1999 Richard Henderson <rth@cygnus.com>
23064 Merge peephole2 from new_ia32_branch:
23065 * Makefile.in (STAGESTUFF): Add *.peephole2.
23066 (mostlyclean): Likewise.
23067 (recog.o): Depend on resource.h.
23069 * final.c (peephole): Conditionalize decl on HAVE_peephole.
23070 (final_scan_insn): Likewise for the invocation of peephole.
23071 * genconfig.c (main): Look for peephole and peephole2 patterns.
23072 Emit HAVE_peephole* accordingly.
23073 * genpeep.c (main): Conditionalize entire output on HAVE_peephole.
23074 * flags.h (flag_peephole2): Declare.
23075 * toplev.c: New pass peephole2. New flag -fpeephole2.
23077 * genattrtab.c (main): Count DEFINE_PEEPHOLE2.
23078 * gencodes.c (main): Likewise.
23079 * genextract.c (main): Likewise.
23080 * genoutput.c (main): Likewise.
23081 * genemit.c (max_operand_1): Look for the max scratch operand.
23082 (gen_rtx_scratch): New.
23083 (gen_exp): Use it, and pass on new arg subroutine_type.
23084 (gen_expand): Take max scratch into account.
23085 (gen_split): Emit peephole2 functions.
23086 (output_peephole2_scratch): New.
23087 (main): Include hard-reg-set.h and resource.h. Handle peephole2.
23088 * genrecog.c (routine_type): Add PEEPHOLE2.
23090 (make_insn_sequence): Match outer parallel for peep2. Discard
23091 top level scratches and dups.
23092 (add_to_sequence): New args insn_type and top. Update all callers.
23093 Handle toplevel peep2 matching insns.
23094 (write_subroutine): Handle peep2.
23095 (write_tree_1): Likewise.
23096 (write_tree): Likewise.
23098 (change_state): New arg afterward. Update all callers.
23099 Handle matching separate insns.
23100 * recog.c (recog_next_insn): New.
23101 (peephole2_optimize): New.
23102 * rtl.def (DEFINE_PEEPHOLE2): New.
23103 * resource.c (find_free_register): New argument last_insn. Use it
23104 to find a register available through the entire span.
23105 * resource.h (find_free_register): Update prototype.
23107 Tue Aug 31 11:51:06 1999 Jim Kingdon <http://developer.redhat.com>
23109 * i386.c (output_strlen_unroll): Don't write xops[7]
23110 label if it wasn't set.
23112 1999-08-31 12:44 -0700 Zack Weinberg <zack@bitmover.com>
23114 * cpplib.c (struct directive): Const-ify name pointer and
23115 function pointer prototype.
23116 (validate_else, do_define, do_line, do_include, do_undef,
23117 do_error, do_pragma, do_ident, do_if, do_xifdef, do_else,
23118 do_elif, do_endif, do_sccs, do_assert, do_unassert,
23119 do_warning): Const-ify second arg.
23120 (directive_table): Mark const. Reorder entries by frequency
23121 of usage, record statistics.
23123 1999-08-31 12:20 -0700 Zack Weinberg <zack@bitmover.com>
23125 * rtl.h (RTL_CHECK1, RTL_CHECK2): New macros which type- and
23126 bounds- check RTL accesses if --enable-checking.
23127 (RTVEC_ELT): Bounds check if --enable-checking.
23128 (XWINT, XINT, XSTR, XEXP, XVEC, XMODE, XBITMAP, XTREE,
23129 XBBDEF): Use RTL_CHECK1/RTL_CHECK2 as appropriate.
23130 (XVECEXP, XVECLEN): Define in terms of XVEC, RTVEC_ELT, and
23132 (X0WINT, X0INT, X0STR, X0EXP, X0VEC, X0MODE, X0BITMAP, X0TREE,
23133 X0BBDEF, X0ADVFLAGS): New macros for accessing '0' slots of RTXes.
23135 (ADDR_DIFF_VEC_FLAGS): Use X0ADVFLAGS.
23136 (NOTE_SOURCE_FILE): Use X0STR.
23137 (NOTE_BLOCK_NUMBER, NOTE_EH_HANDLER, LABEL_NUSES,
23138 MEM_ALIAS_SET): Use X0INT.
23139 (NOTE_RANGE_INFO, NOTE_LIVE_INFO, NOTE_BASIC_BLOCK,
23140 JUMP_LABEL, LABEL_REFS, LABEL_NEXTREF, CONTAINING_INSN):
23142 * real.h (CONST_DOUBLE_CHAIN): Use X0EXP.
23143 * rtl.c (copy_rtx, copy_most_rtx): Copy '0' slots with X0WINT.
23144 (rtl_check_failed_bounds, rtl_check_failed_type1,
23145 rtl_check_failed_type2, rtvec_check_failed_bounds): New
23147 (fancy_abort): Fix comment.
23149 * cse.c (canon_hash): Read CONST_DOUBLE data slots with XWINT.
23150 (cse_insn): Decrement LABEL_NUSES for jump target before
23151 deleting jump insn.
23152 * emit-rtl.c (gen_rtx_CONST_DOUBLE): Use X0EXP for slot 1.
23153 * final.c (alter_subreg): Compute regno before changing x to
23154 REG; set REGNO(x) after changing it.
23155 * flow.c (count_basic_blocks): Use XWINT to inspect EH_REGION
23156 notes containing CONST_INTs.
23157 (delete_eh_regions): Use NOTE_EH_HANDLER.
23158 * function.c (put_reg_into_stack): Make reg a MEM before
23160 (fixup_var_refs_insns): Save REG_NOTES (insn) in case we
23162 (gen_mem_addressof): Make reg a MEM before initializing it.
23163 * integrate.c (copy_rtx_and_substitute): Copy '0' slots with
23165 * local-alloc.c (update_equiv_regs): Zap REG_NOTES before
23166 deleting an insn, not after.
23167 (block_alloc): Only look at PATTERN(insn) if we have to, and
23168 only if it's format class 'i'.
23169 * loop.c (check_dbra_loop): Check bl->biv->add_val is a
23170 CONST_INT before using its INTVAL.
23171 * print-rtl.c (print_rtx): Use X0STR.
23172 * regmove.c (fixup_match_1): Don't look at PATTERN of
23173 non-class-'i' insn chain elements.
23174 * reload.c (loc_mentioned_in_p): Take address of
23175 in->fld[1].rtx directly.
23176 * reload1.c (reload): Change reg to a MEM before initializing
23178 * varasm.c (mark_constant_pool): Skip CONST_DOUBLES, which
23180 * config/i386/i386.md (decrement_and_branch_if_zero): Fix typo.
23182 Fri Aug 20 13:43:41 1999 Andrew Haley <aph@cygnus.com>
23184 * config/mips/mips.c (machine_dependent_reorg): Force a
23185 barrier to output the local constant pool if a barrier hasn't
23186 been found at a natural point in the instruction stream.
23188 Mon Aug 30 22:04:36 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
23190 * c-parse.in (language_string): Constify.
23192 * dwarf2out.c (language_string): Remove declaration.
23194 * dwarfout.c (language_string): Likewise.
23196 * toplev.c (language_string, init_parse, finish_parse): Likewise.
23198 * tree.h (language_string, init_parse, finish_parse): Declare.
23200 * i386/sun386.h (language_string): Remove declaration.
23202 * mips.h (language_string): Likewise.
23204 * nextstep.h (language_string): Likewise.
23206 * nextstep21.h (language_string): Likewise.
23208 * rs6000.c (language_string): Likewise.
23210 Mon Aug 30 20:56:08 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
23212 * Makefile.in (OBJS, PROTO_OBJS): Remove getpwd.o.
23213 (getpwd.o): Remove target.
23215 * getpwd.c: Delete file. Its in libiberty now.
23217 * dbxout.c (getpwd): Don't prototype.
23218 * dwarf2out.c (getpwd): Likewise
23219 * dwarfout.c (getpwd): Likewise
23220 * final.c (getpwd): Likewise.
23221 * protoize.c (getpwd): Likewise.
23223 Mon Aug 30 20:21:34 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
23225 * cse.c: (fold_rtx): Cast to HOST_WIDE_INT in left shift.
23227 Mon Aug 30 16:07:49 1999 Richard Henderson <rth@cygnus.com>
23229 * flow.c (new_insn_dead_notes): Use sets_reg_or_subreg not
23230 mark_set_resources.
23232 Mon Aug 30 12:23:53 1999 Jim Wilson <wilson@cygnus.com>
23234 * fixinc/Makefile.in (subdir): New.
23235 (fixincl.x, inclhack.sh, fixincl.sh): Use cp instead of $(CP).
23238 Mon Aug 30 01:02:09 1999 Jeffrey A Law (law@cygnus.com)
23240 * emit-rtl.c (copy_rtx_if_shared): A MEM which references
23241 virtual_stack_vars_rtx or virtual_incoming_args_rtx can not
23244 * invoke.texi: Fix typo.
23246 * dwarf2out.c (mem_loc_descriptor): New argument MODE. All callers
23247 changed. Handle autoincrement addressing modes.
23249 * integrate.c (copy_rtx_and_substitute): Handle internal_arg_pointer
23250 just like we would the virtual incoming args register when
23253 Sun Aug 29 23:17:54 1999 David Edelsohn <edelsohn@gnu.org>
23255 * rs6000.h (ASM_FILE_START): Specify complete filename, including
23256 path, in .file directive.
23258 Sun Aug 29 05:06:43 1999 Russ Allbery <rra@stanford.edu>
23260 * gcc.texi (External Bugs): Remove obsolete note about Perl on
23263 1999-08-29 08:38 -0700 Zack Weinberg <zack@bitmover.com>
23265 * stdbool.h: Make the typedef name _Bool, with bool a #defined
23268 Sun Aug 29 09:36:50 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
23270 * tree.c (tree_code_name): Constify a char*.
23272 * tree.h (tree_code_name, decl_printable_name): Likewise.
23274 * function.h (struct function): Likewise.
23276 * toplev.c (decl_name, decl_printable_name): Likewise.
23278 * vax/vms.h (MAYBE_VMS_FUNCTION_PROLOGUE): Likewise.
23280 * objc/objc-act.c (decl_printable_name): Remove redundant prototype.
23281 (init_objc): Remove function pointer cast.
23283 Sun Aug 29 05:01:17 1999 John David Anglin <dave@hiauly1.hia.nrc.ca>
23285 * pa.md (interspace_jump): New pattern.
23286 (builtin_longjmp): New expander.
23288 1999-08-29 Bernd Schmidt <bernds@cygnus.co.uk>
23290 * fp-bit.c (add, sub, multiply, divide, compare, _eq_f2, _ne_f2,
23291 _gt_f2, _ge_f2, _lt_f2, _le_f2, float_to_si, float_to_usi, negate,
23292 sf_to_df, df_to_sf): Fix potential problem with alias analysis.
23294 Sun Aug 29 04:30:52 1999 John Wehle (john@feith.com)
23296 * jump.c (delete_prior_computation): Also check calls
23297 to constant functions. Don't bother checking for a
23298 REG_UNUSED note before adding it.
23299 (delete_computation): Handle multi-word hard registers
23300 when synthesizing missing REG_DEAD notes for a register
23301 which is both set and used by an insn.
23303 1999-08-29 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
23305 * loop.c (this_loop_info): New variable.
23306 (loop_has_call, loop_has_volatile, loop_has_tablejump,
23307 loop_continue, loops_enclosed): Replace with fields in this_loop_info.
23309 (prescan_loop, strength_reduce): New argument loop_info. All callers
23311 (scan_loop): New variable loop_info, initialise to address of
23313 (prescan_loop): Set loop_info->vtop if find NOTE_INSN_LOOP_VTOP.
23314 Delete variable loop_has_multiple_exit targets and replace with
23315 field in this_loop_info.
23316 (find_and_verify_loops): Rename this_loop to this_loop_num.
23317 (strength_reduce): Delete loop_iteration_info. Replace variable
23318 loop_info with function argument of same name.
23319 (insert_bct): Rework test for loop being completely unrolled.
23321 * loop.h (struct loop_info): New fields num, loops_enclosed,
23322 has_call, has_volatile, has_tablejump, has_multiple_exit_targets,
23323 has_indirect_jump, and cont. Redefine use of unroll_number.
23324 (loop_unroll_number): Delete.
23326 * unroll.c (unroll_loop): Store loop unroll count in unroll_number
23327 field of loop_info.
23328 (loop_iterations): Delete variable vtop and instead use
23329 loop_info->vtop computed in prescan_loop.
23331 Sun Aug 29 03:27:23 1999 Scott Weikart <scott@igc.apc.org>
23333 * fix-header.c (main): Do not pass a null pointer to strcmp.
23335 Sun Aug 29 03:18:48 1999 William Bader (william@nscs.fast.net)
23337 * configure.in (i[34567]86-*-sco3.2v4*): Target does not truncate
23339 * configure: Rebuilt.
23341 Sat Aug 28 19:36:05 1999 Jeffrey A Law (law@cygnus.com)
23343 * jump.c (jump_optimize_1): Do not delete assignments to
23344 internal_arg_pointer.
23345 * cse.c (delete_trivially_dead_insns): Always consider a set of
23346 the internal_arg_pointer live.
23348 Sat Aug 28 16:24:31 1999 Richard Henderson <rth@cygnus.com>
23350 * flow.c (flow_delete_insn_chain): Rename from delete_insn_chain.
23351 (update_life_info) [REG_WAS_0]: Search the original insns rather
23352 than the new insns for the note. Fix typos finding note_dest.
23353 If no dest found, discard the note rather than abort.
23354 [REG_NOALIAS]: Handle as REG_NO_CONFLICT.
23355 (replace_insns): Remove the old insn list after update_life_info
23358 Sat Aug 28 16:20:12 1999 Richard Henderson <rth@cygnus.com>
23360 * haifa-sched.c (sched_analyze): Clear LOG_LINKS before calling
23361 sched_analyze_insn.
23362 (sched_analyze_1): Let add_dependence care for not adding dups.
23363 (sched_analyze_2): Likewise.
23364 (add_branch_dependences): Likewise.
23366 Sat Aug 28 15:58:16 1999 Mumit Khan <khan@xraylith.wisc.edu>
23368 * i386/winnt.c (export_list): New type.
23369 (exports_head): Rename to
23370 (export_head): this.
23371 (i386_pe_record_exported_symbol): Add is_data flag.
23372 (i386_pe_asm_file_end): Emit directive for exported variables.
23373 * i386/cygwin.h (i386_pe_record_exported_symbol): Update
23375 * i386/cygwin.h (ASM_OUTPUT_COMMON): Specify symbol type.
23376 (ASM_DECLARE_OBJECT_NAME): Likewise.
23377 (ASM_DECLARE_FUNCTION_NAME): Likewise.
23378 * i386/uwin.h (ASM_DECLARE_FUNCTION_NAME): Likewise.
23380 Fri Aug 27 15:35:24 1999 Jeffrey A Law (law@cygnus.com)
23382 * cse.c (fold_rtx): Work around bug in Sun V5.0 compilers.
23384 * pa.c (emit_move_sequence): Do not stop on SUBREG_WORD of an
23387 Fri Aug 27 14:01:19 1999 Marc Espie <espie@cvs.openbsd.org>
23389 * config/openbsd.h: Define SET_ASM_OP.
23390 * tm.texi: cross-reference SET_ASM_OP in the index.
23392 1999-08-27 13:27 -0700 Zack Weinberg <zack@bitmover.com>
23394 * rtl.c: Define CONST_DOUBLE_FORMAT to the appropriate format
23395 for a CONST_DOUBLE, at compile time. Initialize rtx_length
23396 and class_narrowest_mode at compile time. Kill init_rtl.
23397 Mark rtx_length, mode_class, mode_size, mode_unit_size,
23398 mode_wider_mode, mode_mask_array, class_narrowest_mode, and
23399 rtx_format as const. Kill all references to EXTRA_CC_MODES or
23401 * rtl.def (CONST_DOUBLE): Use CONST_DOUBLE_FORMAT macro for
23403 * rtl.h: Declare rtx_length and rtx_format as const.
23404 * machmode.def: Define CC(). Use CC() to define CCmode. If
23405 EXTRA_CC_MODES is defined, expand it here.
23406 * machmode.h: Declare mode_class, mode_size, mode_unit_size,
23407 mode_wider_mode, mode_mask_array, and class_narrowest_mode as
23408 const. Kill all references to EXTRA_CC_MODES.
23410 * toplev.c: Don't prototype or call init_rtl.
23411 * optabs.c: Don't call init_mov_optab.
23412 * genemit.c: Don't generate init_mov_optab. Don't call
23414 * gengenrtl.c: Duplicate calculation of CONST_DOUBLE_FORMAT
23416 * genattr.c, genattrtab.c, gencodes.c, genconfig.c,
23417 genextract.c, genflags.c, genopinit.c, genoutput.c, genpeep.c,
23418 genrecog.c: Don't call init_rtl.
23420 * arc.h, arm.h, c4x.h, i386.h, i960.h, m88k.h, pa.h, pdp11.h,
23421 rs6000.h, sparc.h: Don't define EXTRA_CC_NAMES. Use CC() in
23422 definition of EXTRA_CC_MODES.
23424 * md.texi: Kill ref to EXTRA_CC_NAMES.
23425 * tm.texi: Document new way to define EXTRA_CC_MODES.
23427 * genrecog.c: Do not look up the name of a define_split.
23428 (Unrelated bugfix.)
23430 Fri Aug 27 17:03:42 1999 Nick Clifton <nickc@cygnus.com>
23432 * config/v850/v850.md: Fix typo introduced by previous delta.
23434 Fri Aug 27 09:48:59 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
23436 * gcc.c (fatal): Make definition static to match prototype.
23438 Fri Aug 27 10:33:35 1999 Bernd Schmidt <bernds@cygnus.co.uk>
23440 * combine.c (get_last_value): Don't look for earlier sets if the last
23441 known set is somewhere in between the insns being combined.
23443 Fri Aug 27 10:03:12 BST 1999 Nathan Sidwell <nathan@acm.org>
23445 * configure.in: Don't use shell ! to negate exit codes
23446 * configure: Regenerate
23448 Fri Aug 27 09:36:17 1999 Andreas Schwab <schwab@suse.de>
23450 * function.c (assign_stack_temp_for_type): Fix change of Mar 5 for
23451 the fact that ALIGN is measured in bits, not bytes.
23453 1999-08-27 00:27 -0700 Zack Weinberg <zack@bitmover.com>
23455 * errors.c: New file; defines functions error, warning, and
23456 fatal, variables have_error and progname.
23457 * errors.h: New file; prototypes and decls for stuff in errors.c.
23459 * Makefile: Add rules to build errors.o and
23460 $(HOST_PREFIX)errors.o. Link genconfig, gencodes, genemit,
23461 genopinit, genrecog, genextract, genpeep, genattr, and
23462 genoutput with errors.o. Add errors.h to deps of genconfig.o,
23463 gencodes.o, genemit.o, genopinit.o, genrecog.o, genextract.o,
23464 genpeep.o, genattr.o, and genoutput.o.
23466 * genconfig.c, gencodes.c, genemit.c, genopinit.c, genrecog.c,
23467 genextract.c, genpeep.c, genattr.c: Include errors.h. Don't
23468 define or prototype fatal. Set progname at beginning of main.
23469 * genoutput.c: Likewise, and don't define or prototype error
23472 * c-typeck.c (c_expand_start_case): Return immediately if exp
23474 * fold-const.c (operand_equal_p): Return immediately if arg1
23475 or arg0 are ERROR_MARKs.
23476 * stor-layout.c (layout_type [case RECORD_TYPE]): Ignore
23477 fields of type ERROR_MARK when calculating if the record can
23480 Fri Aug 27 01:03:48 1999 Jim Kingdon <http://developer.redhat.com>
23481 with much help from Jeffrey A Law and Richard Henderson
23483 * i386.md: In the 6 insns which call output_fix_trunc,
23484 earlyclobber operands[0].
23486 Fri Aug 27 01:01:51 1999 Philip Blundell <pb@nexus.co.uk>
23488 * jump.c (duplicate_loop_exit_test): Call reg_scan_update after
23489 creating new registers.
23491 1999-08-26 23:09 -0700 Zack Weinberg <zack@bitmover.com>
23493 * i386.h: Declare ix86_cpu_string, ix86_arch_string,
23494 i386_reg_alloc_order, i386_regparm_string,
23495 i386_align_loops_string, i386_align_jumps_string,
23496 i386_align_funcs_string, i386_preferred_stack_boundary_string,
23497 and i386_branch_cost_string as type "const char *".
23498 * i386.c: Define all above strings as type "const char *".
23500 Thu Aug 26 20:36:30 1999 Jim Wilson <wilson@cygnus.com>
23502 * dwarf2out.c (output_aranges): Check DWARF_OFFSET_SIZE not PTR_SIZE
23503 when emitting alignment padding. Emit padding byte of 0 instead of 4.
23505 Thu Aug 26 18:11:20 1999 Mark Mitchell <mark@codesourcery.com>
23507 * tree.c (array_type_nelts): Don't create RTL_EXPRs from
23508 SAVE_EXPRs unless the SAVE_EXPRs have already been expanded.
23510 Thu Aug 26 19:33:23 1999 Jim Wilson <wilson@cygnus.com>
23512 * dwarf2out.c (DWARF2_ASM_LINE_DEBUG_INFO): Add default definition.
23513 (debug_dwarf): Add DWARF2_ASM_LINE_DEBUG_INFO support.
23514 (dwarf2out_line, dwarf2out_finish): Likewise.
23515 * tm.texi (DWARF2_ASM_LINE_DEBUG_INFO): Add documetation.
23517 Thu Aug 26 16:10:56 1999 Gavin Romig-Koch <gavin@cygnus.com>
23519 * tree.c (lang_unsave_expr_now) : Correct return type.
23520 * tree.h (lang_unsave_expr_now) : Same.
23522 Thu Aug 26 13:12:29 1999 Jeffrey A Law (law@cygnus.com)
23524 * pa.c (cint_ok_for_move): Use CONST_INT_OK_FOR_LETTER_P macros
23525 instead of duplicating code.
23527 Thu Aug 26 18:32:32 1999 Bernd Schmidt <bernds@cygnus.co.uk>
23529 * gcse.c (hash_scan_insn): Don't scan obvious no-ops.
23531 1999-08-26 09:42 -0700 Zack Weinberg <zack@bitmover.com>
23533 * tree.h: fancy_abort always takes three args.
23534 * resource.c: Move include of system.h before toplev.h.
23536 Thu Aug 26 09:46:16 1999 Nick Clifton <nickc@cygnus.com>
23538 * dwarf2out.c (mem_loc_descriptor): Accept LABEL_REFs as well
23541 1999-08-25 22:10 -0700 Zack Weinberg <zack@bitmover.com>
23543 * system.h: Don't redefine abort or trim_filename.
23544 * rtl.h: Define abort to fancy_abort (__FILE__, __LINE__, 0)
23545 or fancy_abort (__FILE__, __LINE__, __FUNCTION__) depending on
23546 whether or not __FUNCTION__ is available.
23547 * tree.h: Duplicate rtl.h's definition of abort, for files
23548 that don't include rtl.h. Delete all code to perform type
23549 checking with a compiler other than GCC.
23550 * varray.h: Delete all code to perform type checking with a
23551 compiler other than GCC. Make VARRAY_CHECK() always evaluate
23552 its arguments exactly once, using a statement expression.
23553 Adjust the VARRAY_<type> accessor macros to match.
23554 * toplev.h (fatal_insn, fatal_insn_not_found): Kill.
23555 (_fatal_insn, _fatal_insn_not_found): New fns, take info on
23556 caller's location. Define fatal_insn and fatal_insn_not_found
23557 as macros that use _fatal_insn and _fatal_insn_not_found.
23558 (fancy_abort, trim_filename): Kill prototypes.
23560 * rtl.c (trim_filename): Move here from toplev.c.
23561 (fancy_abort): New function.
23562 (DIR_SEPARATOR): Provide default definition.
23563 * tree.c (tree_check_failed, tree_class_check_failed): Go
23564 through fancy_abort.
23565 (tree_check, tree_class_check, cst_or_constructor_check,
23566 expr_check): Delete.
23567 * varray.c (varray_check_failed): New function.
23568 * toplev.c (fatal_insn, fatal_insn_not_found): Replace with
23569 _fatal_insn and _fatal_insn_not_found. Go through
23571 (trim_filename, fancy_abort): Delete.
23573 * builtins.c (expand_builtin_args_info): Report ICE with abort.
23574 * except.c (start_catch_handler): Report ICE with error/abort
23576 * final.c (output_operand_lossage): Likewise.
23577 * flow.c (verify_flow_info): Likewise.
23579 * gcc.c: Prototype fatal.
23580 * gengenrtl.c: Undef abort after including rtl.h not system.h.
23581 * genattr.c, genattrtab.c, genemit.c, genextract.c,
23582 genflags.c, genopinit.c, genoutput.c, genpeep.c, genrecog.c:
23583 Don't define fancy_abort.
23585 Wed Aug 25 17:56:59 1999 Richard Henderson <rth@cygnus.com>
23587 * optabs.c (emit_cmp_and_jump_insns): Be more thorough in
23590 Wed Aug 25 15:35:55 1999 Richard Henderson <rth@cygnus.com>
23592 * m88k.h (VERSION_INFO2): Kill.
23593 (VERSION_STRING): Kill.
23595 (VERSION_INFO1): Tidy.
23596 (TARGET_VERSION): Update.
23597 * m88k/dgux.h (VERSION_INFO2): Kill.
23598 (ASM_FIRST_LINE): Adjust for death of VERSION_STRING.
23599 * m88k/luna.h (VERSION_INFO1): Tidy.
23600 * m88k/sysv4.h (VERSION_INFO1): Likewise.
23601 * m88k.c (out_rcs_id, tm_rcs_id): Kill.
23602 (output_file_start): Adjust for death of VERSION_STRING.
23604 1999-08-25 13:51 -0700 Jim Meyering <meyering@ascend.com>
23606 * cpplib.c (detect_if_not_defined): New function.
23607 (do_if): Use it to detect potential once-only headers.
23609 Wed Aug 25 14:00:18 1999 Jason Merrill <jason@yorick.cygnus.com>
23611 * c-common.c (combine_strings): Always set TREE_CONSTANT.
23613 Wed Aug 25 15:27:22 1999 Gavin Romig-Koch <gavin@cygnus.com>
23615 * combine.c (nonzero_bits) : Allow single-ly set registers to be
23616 anywere in the function only if they are pseudos and set before
23617 being used (not live at the start of the function).
23618 (num_sign_bit_copies) : Same.
23619 (get_last_value_validate) : Same.
23620 (get_last_value) : Same.
23622 Wed Aug 25 11:13:29 1999 Richard Henderson <rth@cygnus.com>
23624 * loop.c (express_from): Try harder to unify (* c N) and (* c M)
23625 where N and M are constant and N is an integer multiple of M.
23627 Wed Aug 25 13:55:47 EDT 1999 Andrew MacLeod <amacleod@cygnus.com>
23629 * sbitmap.h (sbitmap_intersection_of_succs): Add prototype.
23630 (sbitmap_intersection_of_preds, sbitmap_union_of_succs,
23631 sbitmap_union_of_preds): Add prototypes.
23632 * sbitmap.c (sbitmap_intersection_of_succs): New function to compute
23633 the intersection of successors with the new flow graph structures.
23634 (sbitmap_intersection_of_preds): New function to compute the
23635 intersection of predecessors with the new flow graph structures.
23636 (sbitmap_union_of_succs): New function to compute the union of
23637 successors with the new flow graph structures.
23638 (sbitmap_union_of_preds): New function to compute the union of
23639 predecessors with the new flow graph structures.
23640 * gcse.c (compute_rdm, compute_available): Use new sbitmap routines.
23641 (expr_reaches_here_p): Use edge and basic_block structures instead
23642 of s_preds and s_succs.
23643 (compute_cprop_avinout): Use new sbitmap routines.
23644 (pre_expr_reaches_here_p): Use edge and basic_block structures instead
23645 of s_preds and s_succs.
23646 * flow.c (compute_flow_dominators): Compute dominators using
23647 edges and basic blocks instead of s_preds and s_succs.
23649 Wed Aug 25 13:41:47 EDT 1999 Andrew MacLeod <amacleod@cygnus.com>
23651 * lists.c (unused_insn_list, unused_expr_list): New file for
23652 maintaining various types of lists. New statics for maintaining a
23653 cache of available INSN_LIST and EXPR_LIST nodes.
23654 (free_list): Static function for freeing a list of INSN/EXPR nodes.
23655 (alloc_INSN_LIST): Function to get a free INSN_LIST node.
23656 (alloc_EXPR_LIST): Function to get a free EXPR_LIST node.
23657 (init_EXPR_INSN_LIST_cache): Initialize the cache lists.
23658 (free_EXPR_LIST_list): Free an entire list of EXPR_LIST nodes.
23659 (free_INSN_LIST_list): Free an entire list of INSN_LIST nodes.
23660 (free_EXPR_LIST_node): Free an individual EXPR_LIST node.
23661 (free_INSN_LIST_node): Free an individual INSN_LIST node.
23662 * haifa-sched.c (unused_insn_list, unused_expr_list): Moved to flow.c
23663 (free_list, alloc_INSN_LIST, alloc_EXPR_LIST): Moved to flow.c
23664 (remove_dependence, free_pending_lists): Use new global routines.
23665 (flush_pending_lists, sched_analyze_insn): Use new global routines.
23666 (sched_analyze, compute_block_backward_dependences): Use new routines.
23667 (sched_analyze_1, sched_analyze_2): Use new routines.
23668 (schedule_insns): Use new global routines.
23669 * rtl.h (init_EXPR_INSN_LIST_cache, free_EXPR_LIST_list): Add function
23671 (free_INSN_LIST_list, free_EXPR_LIST_node): Add prototypes.
23672 (free_INSN_LIST_node, alloc_INSN_LIST, alloc_EXPR_LIST): Add function
23674 * toplev.c (rest_of_compilation): Initialize node cache.
23675 * Makefile.in (OBJS): Add lists.o to list of object files.
23676 (lists.o): Add dependancies.
23678 Wed Aug 25 17:31:56 1999 Nick Clifton <nickc@cygnus.com>
23680 * config/v850/v850.md: Fix compile time warning messages.
23681 * config/v850/v850.c: Fix compile time warning messages.
23682 * config/v850/v850.h: Fix compile time warning messages.
23684 Wed Aug 25 09:44:43 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
23686 * genattr.c (gen_attr): Add prototype arguments for get_attr_*().
23687 Remove unused prototype for `init_lengths'.
23689 Wed Aug 25 09:32:31 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
23691 * calls.c (emit_call_1): Mark parameter `stack_size' with
23693 (expand_call): Initialize variable `insn'.
23694 (emit_library_call): Likewise for variable `high_to_save'.
23695 (emit_library_call_value): Likewise.
23696 (store_one_arg): Likewise for variables `lower_bound' and
23699 * combine.c (try_combine): Likewise for variables `i2_code_number'
23700 and `other_code_number'.
23701 (find_split_point): Likewise for variables `pos', `unsignedp' and
23703 (simplify_if_then_else): Likewise for variables `op' and `c1'.
23704 (simplify_and_const_int): Remove unused variable `width'.
23705 (merge_outer_ops): Likewise.
23707 * cse.c (simplify_binary_operation): Cast an INTVAL() to `unsigned
23708 HOST_WIDE_INT' when comparing against one.
23709 (simplify_relational_operation): Likewise.
23710 (cse_insn): Initialize variables `src_eqv_volatile',
23711 `src_eqv_in_memory', `src_eqv_in_struct', `src_eqv_hash' and `sets'.
23713 * final.c (init_final): Constify parameter `filename'.
23714 (final_start_function): Mark parameter `optimize' with
23716 (profile_function): Likewise for parameters `first' and `optimize'.
23717 (output_source_line): Likewise for parameter `file'.
23719 * integrate.c (subst_constants): Cast a value to `size_t' when
23720 comparing against one.
23721 (mark_stores): Initialize variable `mode'. Cast a value to
23722 `size_t' when comparing against one.
23724 * integrate.h (MAYBE_EXTEND_CONST_EQUIV_VARRAY): Likewise.
23726 * loop.c (move_movables): Initialize variable `first'.
23727 (strength_reduce): Likewise for variable `increment'.
23728 (check_dbra_loop): Likewise for variable `comparison_val'. Cast a
23729 value to `size_t' when comparing against one.
23730 (load_mems): Initialize variable `end_label'.
23732 * output.h (init_final): Constify parameter.
23734 * reload.c (decompose): Initialize variable `base'.
23736 * reload1.c (reload): Likewise for variable `is_scalar'.
23737 (spill_hard_reg): Mark parameter `dumpfile' with ATTRIBUTE_UNUSED.
23738 (choose_reload_regs): Initialize variable `mode'.
23739 (emit_reload_insns): Likewise for variable `store_insn'.
23740 (reload_cse_noop_set_p): Mark parameter `insn' with
23742 (reload_combine): Initialize variable `set'.
23744 * unroll.c (unroll_loop): Likewise for variable `local_label'.
23745 (copy_loop_body): Cast a value to `size_t' when comparing against
23748 * varasm.c (assemble_variable): Initialize variable `size_tree'.
23749 (const_hash): Add an `else abort()' in an if-else-if-else sequence.
23750 (remove_from_pending_weak_list): Mark parameter `name' with
23753 Wed Aug 25 11:18:39 1999 Bernd Schmidt <bernds@cygnus.co.uk>
23755 * toplev.c (rest_of_compilation): Use decl_printable_name when opening
23758 Wed Aug 25 10:57:12 1999 Nick Clifton <nickc@cygnus.com>
23760 * config/arm/telf.h (ASM_WEAKEN_LABEL): Define.
23761 (ASM_DECLARE_FUNCTION_NAME): Define.
23762 (TYPE_ASM_OP, SIZE_ASM_OP, TYPE_OPERAND_FORMAT,
23763 ASM_DECLARE_RESULT, ASM_DECLARE_OBJECT_NAME,
23764 ASM_FINISH_DECLARE_OBJECT, ASM_DECLARE_FUNCTION_SIZE): Define if
23765 not already defined.
23767 Wed Aug 25 01:36:11 1999 John David Anglin <dave@hiauly1.hia.nrc.ca>
23769 * calls.c (emit_call_1): Use call_pop/call_value_pop for all values
23770 of n_popped when call/call_value are not defined.
23772 Wed Aug 25 01:25:14 1999 Jeffrey A Law (law@cygnus.com)
23774 * tm.texi: GNU CC -> GCC conversion.
23775 (CC1_SPEC): Indicate it is used for all language front ends.
23777 Tue Aug 24 23:43:03 1999 Mark Mitchell <mark@codesourcery.com>
23779 * flow.c (delete_block): Spell NOTE_INSN_EH_REGION_BEG and
23780 NOTE_INSN_EH_REGION_END correctly.
23782 Tue Aug 24 23:26:44 1999 Michael Tiemann <tiemann@holodeck.cygnus.com>
23783 Jeff Law <law@cygnus.com>
23785 * loop.c (strength_reduce): Automatically unroll loops if the
23786 unrolled loop size is smaller than the rolled loop size.
23788 * loop.c (insert_bct): Replace use of sdiv_optab with asr_optab
23789 and delete comment that code should be rewritten.
23791 Tue Aug 24 22:56:35 1999 Jeffrey A Law (law@cygnus.com)
23793 * haifa-sched.c (find_rgns): Mark a block found during the DFS search
23796 * haifa-sched.c (get_visual_tbl_length): Fix off-by-one error.
23798 Tue Aug 24 22:41:06 1999 Mumit Khan <khan@xraylith.wisc.edu>
23800 * fixinc/mkfixinc.sh: Don't fix uwin headers.
23801 * i386/uwin.h (MD_STARTFILE_PREFIX): Define.
23802 (LINK_SPEC): Add -u _main when building executables.
23803 (ASM_DECLARE_FUNCTION): Update from Cygwin.
23804 (ASM_FILE_END): Use the default for ix86-pe.
23805 * i386/xm-uwin.h (HAVE_BCOPY): Undefine.
23807 Tue Aug 24 20:49:47 1999 Art Haas <ahaas@neosoft.com>
23809 * final.c (output_addr_const): Handle case where ASM_OPEN_PAREN
23810 and ASM_CLOSE_PAREN are empty strings.
23812 Wed Aug 25 12:46:22 1999 Fred Fish <fnf@cygnus.com>
23813 Geoffrey Keating <geoffk@cygnus.com>
23815 * Makefile.in (PREPROCESSOR_DEFINES): New macro.
23816 (protoize.o): Use PREPROCESSOR_DEFINES and DRIVER_DEFINES.
23817 (unprotoize.o): Ditto.
23818 (test-protoize-simple): Don't define STD_PROTO_DIR.
23819 * protoize.c: Use PARAMS rather than PROTO. Minor whitespace
23820 changes to make 'test-protoize-simple' pass.
23821 (STD_PROTO_DIR): Remove define.
23822 (STANDARD_EXEC_PREFIX): Supply default define.
23823 (standard_exec_prefix): New variable, init to STANDARD_EXEC_PREFIX.
23824 (target_machine): New variable, init to DEFAULT_TARGET_MACHINE.
23825 (target_version): New variable, init to DEFAULT_TARGET_VERSION.
23826 (GET_ENV_PATH_LIST): New macro.
23827 (default_syscalls_dir): No longer initialized to STD_PROTO_DIR.
23828 (do_processing): Initialize default_syscalls_dir using new
23829 macros. Use it to initialize syscalls_absolute_filename.
23831 Tue Aug 24 16:58:15 1999 Richard Henderson <rth@cygnus.com>
23833 * jump.c (jump_optimize_1): Do cmov opt on any single-set; force
23834 B into a register before emit_conditional_move.
23836 Tue Aug 24 15:37:03 1999 Richard Henderson <rth@cygnus.com>
23838 * fold-const.c (fold): Reassociate (+ (+ (* a b) c) (* d e))
23839 as (+ (+ (* a b) (* d e)) c). Factor a common power-of-two
23840 multiplicand out of (+ (* a b) (* c d)).
23842 Tue Aug 24 11:46:10 1999 Bob Manson <manson@cygnus.com>
23843 Richard Henderson <rth@cygnus.com>
23845 * haifa-sched.c (split_hard_reg_notes): Move to flow.c
23846 (new_insn_dead_notes): Likewise.
23847 (update_n_sets): Likewise.
23848 (update_flow_info): Move to flow.c, renamed to update_life_info;
23849 extend to handle multiple source insns.
23850 * flow.c: Include resource.h
23851 (unlink_insn_chain): New.
23852 (split_hard_reg_notes): New.
23853 (maybe_add_dead_note): New.
23854 (maybe_add_dead_note_use): New.
23855 (find_insn_with_note): New.
23856 (new_insn_dead_notes): New.
23857 (update_n_sets): New.
23858 (sets_reg_or_subreg_1, sets_reg_or_subreg): New.
23859 (maybe_remove_dead_notes): New.
23860 (update_life_info): New.
23861 (prepend_reg_notes): New.
23862 (replace_insns): New.
23863 * output.h (update_life_info): Declare.
23864 * recog.c (split_block_insns): Use update_life_info.
23865 * resource.c (find_free_register): Use reg_alloc_order, don't use
23866 fixed regs, make sure the mode is supported, don't use new regs.
23868 * rtl.h (replace_insns): Declare.
23870 Tue Aug 24 13:48:39 1999 Nathan Sidwell <nathan@acm.org>
23872 * expr.c (expand_expr): Cope with COND_EXPRs with one
23873 non-returning branch.
23875 Mon Aug 23 22:28:16 1999 Mark Mitchell <mark@codesourcery.com>
23877 * expr.c (store_expr): Always pass down the target, even when not
23880 1999-08-24 Nick Clifton <nickc@cygnus.com>
23882 * configure.in: Define target_cpu_default for v850 targets.
23883 * configure: Regenerate
23885 * config/v850/v850.h (TARGET_CPU_generic): Define.
23886 (GO_IF_LEGITIMATE_ADDRESS): Insist that SImode and larger constant
23887 addresses are 4 byte aligned.
23889 * config/v850/v850.c (print_operand): Cope with 'R' format DFmode
23892 Tue Aug 24 09:32:07 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
23894 * genattr.c (function_unit_desc): Constify a char*. Add prototype.
23895 (main): Add prototypes.
23897 * genattrtab.c (substitute_address, write_const_num_delay_slots,
23898 attr_eq, attr_numeral, attr_equal_p, attr_copy_rtx): Prototype.
23899 (write_attr_get): Emit prototypes along with function definition.
23900 (write_eligible_delay): Mark a parameter with ATTRIBUTE_UNUSED.
23901 (write_complex_function): Emit static prototype along with
23902 function definition.
23904 * genemit.c (gen_split): Emit prototypes along with function
23907 * genoutput.c (output_epilogue): Add prototype to `insn_outfun'.
23908 Likewise for predicates and `insn_operand_predicate'.
23909 (process_template): Emit static prototype along with function
23912 * genrecog.c (make_insn_sequence): Constify a char*. Add
23913 prototypes for get_split_*().
23914 (write_subroutine): Emit prototypes along with function
23917 Tue Aug 24 12:35:20 1999 Bernd Schmidt <bernds@cygnus.co.uk>
23919 * gcse.c (find_avail_set): Follow chains of register-register copies.
23920 Use oprs_not_set_p to guarantee that the returned value can be
23922 (cprop_insn): Don't verify the return value of find_avail_set with
23925 * gcse.c (cprop_jump): New function, broken out of cprop_insn.
23926 (cprop_cc0_jump): New function.
23927 (cprop_insn): Break out new function cprop_jump and use it.
23928 Also use cprop_cc0_jump for machines with CC0.
23929 (cprop): Don't crash if cprop_insn turned the insn into a NOTE.
23931 * tree.h (current_function_calls_setjmp,
23932 current_function_calls_longjmp): Delete declarations.
23933 * dsp16xx.c: Include "function.h".
23934 * elxsi.c: Likewise.
23935 * gmicro.c: Likewise.
23936 * h8300.c: Likewise.
23937 * i370.c: Likewise.
23938 * m32r.c: Likewise.
23939 * mn10200.c: Likewise.
23940 * mn10300.c: Likewise.
23941 * ns32k.c: Likewise.
23942 * spur.c: Likewise.
23943 * v850.c: Likewise.
23945 * rtl.h (rtx_equal_function_value_matters): Declare.
23946 * toplev.c (rtx_equal_function_value_matters): Don't declare.
23948 * function.c: Likewise.
23949 * emit-rtl.c: Likewise.
23951 Tue Aug 24 02:47:44 1999 Jeffrey A Law (law@cygnus.com)
23953 * expr.c (convert_move): Fix arguments to TRULY_NOOP_TRUNCATION
23956 1999-08-24 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
23958 * jump.c (delete_barrier_successors) Match (set (pc) (pc)) insn
23961 Mon Aug 23 23:35:52 1999 Matthias Klose <doko@cs.tu-berlin.de>
23963 * cpp.texi: Add a node documenting macro varargs (copied
23966 1999-08-23 22:23 -0700 Zack Weinberg <zack@bitmover.com>
23968 * cppspec.c: Put a null pointer at the end of the new argv.
23970 Mon Aug 23 21:23:24 1999 Jeffrey A Law (law@cygnus.com)
23972 * configure.in: Remove code to select/de-select the haifa
23973 scheduler. Every scheduled port gets haifa now.
23974 * configure: Rebuilt.
23975 * flags.h, genattrtab.c, rtl.h, toplev.c: Remove HAIFA ifdefs.
23977 * Makefile.in: Corresponding changes.
23979 Mon Aug 23 16:04:13 1999 Bernd Schmidt <bernds@cygnus.co.uk>
23981 * optabs.c (prepare_cmp_insn): Turn COMPARISON arg into a pointer.
23982 All callers changed.
23983 (prepare_float_lib_cmp): Likewise.
23984 Use FLOAT_LIB_COMPARE_RETURNS_BOOL.
23985 * expr.h (emit_float_lib_cmp): Delete declaration.
23986 * tm.texi (FLOAT_LIB_COMPARE_RETURNS_BOOL): Document.
23987 * sparc.h (FLOAT_LIB_COMPARE_RETURNS_BOOL): Define.
23988 * sparc.md (bcc and scc patterns): Don't handle TFmode comparisons
23990 (cmptf): Now conditional on TARGET_HARD_QUAD.
23992 Fri Aug 20 17:52:27 1999 Jim Wilson <wilson@cygnus.com>
23994 * resource.c (mark_target_live_regs): Use
23995 PIC_OFFSET_TABLE_REG_CALL_CLOBBERED.
23997 Fri Aug 20 19:07:55 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
23999 * rtl.c (rtx_class, note_insn_name, reg_note_name): Constify.
24001 * rtl.h (rtx_class, reg_note_name, note_insn_name): Likewise.
24003 * genopinit.c (gen_insn): Use accessor macro, not `rtx_class'.
24005 Fri Aug 20 18:53:43 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
24007 * rtl.h (rtx_format): Constify a char*.
24009 * rtl.c (rtx_format): Likewise.
24010 (copy_rtx, copy_most_rtx, read_rtx): Likewise.
24011 (init_rtl): Use accessor macro, not `rtx_format'.
24013 * alias.c (rtx_equal_for_memref_p, find_symbolic_term): Constify a
24016 * caller-save.c (mark_referenced_regs): Likewise.
24018 * combine.c (subst, make_compound_operation, known_cond,
24019 gen_rtx_combine, update_table_tick, get_last_value_validate,
24020 use_crosses_set_p, mark_used_regs_combine, move_deaths): Likewise.
24022 * cse.c (rtx_cost, mention_regs, canon_hash, exp_equiv_p,
24023 refers_to_p, canon_reg, fold_rtx, cse_process_notes,
24024 count_reg_usage): Likewise.
24026 * emit-rtl.c (gen_rtx, copy_rtx_if_shared, reset_used_flags):
24029 * final.c (leaf_renumber_regs_insn): Likewise.
24031 * flow.c (mark_used_regs, find_use_as_address, dump_flow_info,
24032 dump_edge_info, count_reg_references): Likewise.
24034 * function.c (fixup_var_refs_1, walk_fixup_memory_subreg,
24035 fixup_stack_1, purge_addressof_1, instantiate_virtual_regs_1):
24038 * gcse.c (oprs_unchanged_p, hash_expr_1, expr_equiv_p,
24039 oprs_not_set_p, expr_killed_p, compute_transp, find_used_regs,
24040 add_label_notes): Likewise.
24042 * genattrtab.c (attr_rtx, attr_copy_rtx, encode_units_mask,
24043 clear_struct_flag, count_sub_rtxs, count_alternatives,
24044 compares_alternatives_p, contained_in_p, walk_attr_value,
24045 write_expr_attr_cache): Likewise.
24047 * genconfig.c (walk_insn_part): Likewise.
24049 * genemit.c (max_operand_1, gen_exp): Likewise.
24051 * genextract.c (walk_rtx): Likewise.
24053 * genflags.c (num_operands): Likewise.
24055 * genoutput.c (scan_operands): Likewise.
24057 * genpeep.c (match_rtx): Likewise.
24059 * genrecog.c (add_to_sequence): Likewise.
24061 * haifa-sched.c (may_trap_exp, sched_analyze_2, attach_deaths):
24064 * integrate.c (save_constants, copy_for_inline,
24065 copy_rtx_and_substitute, subst_constants, restore_constants):
24068 * jump.c (mark_jump_label, invert_exp, redirect_exp,
24069 rtx_renumbered_equal_p, rtx_equal_for_thread_p): Likewise.
24071 * local-alloc.c (contains_replace_regs, memref_referenced_p):
24074 * loop.c (record_excess_regs, rtx_equal_for_loop_p,
24075 add_label_notes, replace_call_address, count_nonfixed_reads,
24076 invariant_p, find_single_use_in_loop, find_mem_givs,
24077 find_life_end, maybe_eliminate_biv_1, update_reg_last_use):
24080 * print-rtl.c (reg_names, print_rtx): Likewise.
24082 * recog.c (validate_replace_rtx_1, find_single_use_1): Likewise.
24084 * reg-stack.c (stack_regs_mentioned_p, record_label_references,
24085 record_reg_life_pat, swap_rtx_condition, goto_block_pat,
24086 print_blocks): Likewise.
24088 * regclass.c (fix_register, record_address_regs,
24089 reg_scan_mark_refs): Likewise.
24091 * regmove.c (stable_but_for_p): Likewise.
24093 * reload.c (loc_mentioned_in_p, operands_match_p,
24094 find_reloads_toplevsubst_reg_equivs, find_reloads_address_1,
24095 copy_replacements, refers_to_regno_for_reload_p,
24096 refers_to_mem_for_reload_p, find_inc_amount, regno_clobbered_p,
24097 reload_when_needed_name, reg_class_names, debug_reload_to_stream):
24100 * reload1.c (eliminate_regs, scan_paradoxical_subregs,
24101 delete_address_reloads_1, count_occurrences,
24102 reload_cse_mem_conflict_p, reload_combine_note_use,
24103 add_auto_inc_notes): Likewise.
24105 * resource.c (mark_referenced_resources, mark_set_resources):
24108 * rtlanal.c (rtx_unstable_p, rtx_varies_p, rtx_addr_varies_p,
24109 reg_mentioned_p, regs_set_between_p, modified_between_p,
24110 modified_in_p, refers_to_regno_p, reg_overlap_mentioned_p,
24111 rtx_equal_p, volatile_insn_p, volatile_refs_p, side_effects_p,
24112 may_trap_p, inequality_comparisons_p, replace_rtx, replace_regs,
24113 jmp_uses_reg_or_mem, for_each_rtx, regno_use_in): Likewise.
24115 * sched.c (sched_analyze_2, attach_deaths): Likewise.
24117 * stupid.c (stupid_mark_refs): Likewise.
24119 * unroll.c (remap_split_bivs): Likewise.
24121 * varasm.c (mark_constants): Likewise.
24123 * a29k/a29k.c (uses_local_reg_p): Likewise.
24125 * alpha/alpha.c (summarize_insn): Likewise.
24127 * arm/arm.c (symbol_mentioned_p, label_mentioned_p,
24128 eliminate_lr2ip): Likewise.
24130 * arm/thumb.c (symbol_mentioned_p, label_mentioned_p): Likewise.
24132 * i386/i386.c (symbolic_reference_mentioned_p, copy_all_rtx,
24133 reg_mentioned_in_mem): Likewise.
24135 * ns32k/ns32k.c (global_symbolic_reference_mentioned_p,
24136 symbolic_reference_mentioned_p): Likewise.
24138 * romp/romp.c (unsigned_comparisons_p, hash_rtx): Likewise.
24140 * sh/sh.c (regs_used, mark_use): Likewise.
24142 * vax/vax.c (vax_rtx_cost): Likewise.
24144 Fri Aug 20 18:38:43 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
24146 * machmode.h (mode_name): Constify a char*.
24148 * rtl.c (mode_name): Likewise.
24150 * genopinit.c (gen_insn): Use accessor macro, not `mode_name'.
24152 * optabs.c (init_libfuncs): Constify a char*.
24154 * print-tree.c (mode_name): Remove redundant declaration.
24155 (print_node): Use accessor macro, not `mode_name'.
24157 * reload1.c (dump_needs): Constify a char*. Use accessor macro,
24159 (new_spill_reg): Constify a char*.
24161 * tree.c (mode_name): Remove redundant declaration.
24163 Fri Aug 20 18:31:26 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
24165 * rtl.c (rtx_name): Constify a char*.
24167 * rtl.h (rtx_name, fix_sched_param): Likewise.
24169 * gmicro/gmicro.c (rtx_name): Remove redundant declaration.
24170 (mypr): Use accessor macro, not `rtx_name'.
24172 * genemit.c (print_code): Constify a char*.
24174 * genopinit.c (gen_insn): Use accessor macro, not `rtx_name'.
24176 * genpeep.c (print_code): Constify a char*.
24178 * genrecog.c (print_code): Likewise.
24180 * graph.c (start_fct, start_bb, node_data, draw_edge, end_fct,
24181 end_bb): Add static prototype.
24182 (draw_edge): Constify a char*.
24183 (end_bb): Remove unused parameter.
24185 * haifa-sched.c (fix_sched_param, safe_concat, print_exp
24186 print_block_visualization): Constify a char*.
24188 Fri Aug 20 15:02:10 1999 Mark Mitchell <mark@codesourcery.com>
24190 * c-common.c (c_get_alias_set): Update comment.
24192 1999-08-20 Andreas Jaeger <aj@arthur.rhein-neckar.de>
24194 * linux.h (LIB_SPEC): Added.
24196 Fri Aug 20 22:32:17 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
24198 * config/c4x/c4x.h (STARTFILE_SPEC): Don't def.
24200 1999-08-19 18:43 -0700 Zack Weinberg <zack@bitmover.com>
24202 * tree.c (expr_check): Fix typo in last change.
24204 1999-08-19 14:44 -0700 Zack Weinberg <zack@bitmover.com>
24206 * rtl.def (NOTE): Change format to "iuu0n".
24207 (ADDR_DIFF_VEC): Change format to "eEee0".
24208 (ADDRESSOF): Change format to "eit".
24210 * rtl.h (rtvec): Make "elem" an array of rtx, not rtunion.
24211 (RTVEC_ELT): Change to match.
24212 (XVECEXP): Use XVEC and RTVEC_ELT.
24213 (INSN_UID, INSN_CODE, CODE_LABEL_NUMBER, NOTE_LINE_NUMBER,
24214 ADDRESSOF_REGNO, REGNO, SUBREG_WORD): Use XINT.
24215 (PREV_INSN, NEXT_INSN, PATTERN, REG_NOTES,
24216 CALL_INSN_FUNCTION_USAGE, SUBREG_REG, SET_SRC, SET_DEST,
24217 TRAP_CONDITION, TRAP_CODE): Use XEXP.
24218 (INTVAL): Use XWINT.
24219 (ADDRESSOF_DECL): Use XTREE.
24220 (SET_ADDRESSOF_DECL): Delete.
24221 (NOTE_DECL_NAME, NOTE_DECL_CODE, NOTE_DECL_RTL,
24222 NOTE_DECL_IDENTIFIER, NOTE_DECL_TYPE): Kill. These have been
24223 ifdefed out since 2.6 at least.
24224 (gen_rtvec_vv): Delete prototype.
24226 * rtl.h (rtvec_alloc): rt->elem is now an array of rtx,
24228 (copy_most_rtx): Handle 't' format letter.
24229 * emit-rtl.c (gen_rtvec_v): rt_val->elem is an array of rtx.
24230 (gen_rtvec_vv): Delete function. All callers changed to use
24231 gen_rtvec_v instead.
24232 * print-rtl.c (print_rtx): Move special casing of NOTEs to
24233 the '0' format letter.
24235 * function.c (gen_mem_addressof): Don't use
24236 SET_ADDRESSOF_DECL; provide `decl' to gen_rtx_ADDRESSOF
24238 * integrate.c (copy_rtx_and_substitute): Likewise.
24239 Copy 't' slots with XTREE.
24240 (subst_constants): Treat 't' slots like '[swi]' slots.
24241 * cse.c (canon_hash, exp_equiv_p): Treat 't' slots like '0' slots.
24242 * jump.c (rtx_equal_for_thread_p): Likewise.
24243 * rtlanal.c (rtx_equal_p): Likewise.
24244 * stmt.c (expand_end_case): gen_rtx_ADDR_DIFF_VEC now takes
24245 only four arguments.
24246 * gengenrtl.c (type_from_format): Provide correct types for
24250 * tree.h [ENABLE_CHECKING] (TREE_CHECK, TREE_CLASS_CHECK):
24251 If a recent gcc is in use (always in stage2 and beyond), use
24252 statement expressions, so we don't make a function call unless
24253 the check fails. Evaluate arguments exactly once.
24254 (CHAIN_CHECK, DO_CHECK, DO_CHECK1, TREE_CHECK1,
24255 TREE_CLASS_CHECK1, TYPE_CHECK1, DECL_CHECK1, CST_CHECK1):
24257 (CST_OR_CONSTRUCTOR_CHECK, EXPR_CHECK): Redefine such that
24258 they evaluate their arguments exactly once, irrespective of
24259 the compiler in use.
24261 * tree.c [ENABLE_CHECKING]: Define whichever set of functions
24262 is used by the currently-enabled check macros. This is:
24263 (tree_check_failed, tree_class_check_failed): For gcc.
24264 (tree_check, tree_class_check, cst_or_constructor_check,
24265 expr_check): For other compilers.
24267 * gencheck.c: Do not define any *_CHECK1 macros.
24269 Thu Aug 19 14:42:38 1999 Mike Stump <mrs@wrs.com>
24270 Mark Mitchell <mark@codesourcery.com>
24272 * c-common.c (c_get_alias_set): Fix support for poitners and
24275 Thu Aug 19 11:51:22 EDT 1999 John Wehle (john@feith.com)
24277 * alias.c: Include tree.h.
24278 (nonlocal_reference_p, mark_constant_function): New functions.
24279 * flow.c (life_analysis): Call mark_constant_function.
24280 * rtl.h (mark_constant_function): Declare it.
24282 Thu Aug 19 15:02:01 1999 Nick Clifton <nickc@cygnus.com>
24284 * config/rs6000/rs6000.c (rs6000_override_options): Fix test for
24285 unrecognisable switches.
24287 Wed Aug 18 23:31:57 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
24289 * loop.c (recombine_givs): Set ix field after sorting.
24290 (recombine_givs): Remove bogus index / giv lockstep looping.
24292 Wed Aug 18 18:20:40 1999 Bernd Schmidt <bernds@cygnus.co.uk>
24294 * expmed.c (emit_store_flag): If UNSIGNEDP, call unsigned_condition
24296 (emit_store_flag_force): Use do_compare_rtx_and_jump.
24297 (do_cmp_and_jump): Formatting fixes.
24298 * expr.c (do_compare_and_jump): Renamed from compare; changed to call
24299 do_compare_rtx_and_jump instead of compare_from_rtx.
24300 (do_compare_rtx_and_jump): New function; mostly copied from
24302 (do_jump_for_compare): Delete.
24303 (expand_expr): Use do_compare_rtx_and_jump when handling MAX_EXPR and
24305 (do_jump): Use do_compare_and_jump or do_compare_rtx_and_jump instead
24306 of compare/do_jump_for_compare pairs.
24307 (do_jump_by_parts_greater): Use do_jump_by_parts_greater_rtx.
24308 (do_jump_by_parts_greater_rtx): Use do_compare_rtx_and_jump instead of
24309 compare_from_rtx/do_jump_for_compare pairs.
24310 (do_jump_by_parts_equality): Likewise.
24311 (do_jump_by_parts_equality_rtx): Likewise.
24312 * expr.h (do_compare_rtx_and_jump): Declare.
24313 * optabs.c (prepare_cmp_insn): New function, contains most of the code
24314 that used to be in emit_cmp_insn.
24315 (cmp_available_p): New function.
24316 (prepare_operand): New function.
24317 (emit_cmp_and_jump_insn_1): New function, contains some code that used
24318 to be in emit_cmp_insn.
24319 (prepare_float_lib_cmp): Renamed from emit_float_lib_cmp; change some
24320 parameters to be pointers; don't emit final compare but modify some of
24321 the values pointed to by the args so the caller can perform the
24322 correct comparison.
24323 (expand_binop): Call emit_store_flag_force with signed forms of
24325 (expand_abs): Use do_compare_rtx_and_jump instead of compare_from_rtx/
24326 emit_jump_insn pair.
24327 (emit_cmp_and_jump_insn): Use prepare_cmp_insn and
24328 emit_cmp_and_jump_insn_1. Call emit_queue.
24329 (emit_cmp_insn): Just call emit_cmp_and_jump_insns with zero for LABEL
24331 * flow.c (tidy_fallthru_edge): If HAVE_cc0, verify insn before a
24332 jump sets cc0 before deleting it.
24333 * integrate.c (expand_inline_function): Likewise.
24334 * unroll.c (unroll_loop): Similar changes in several places.
24335 (copy_loop_body): If HAVE_cc0, verify insn before a jump sets cc0
24336 before deleting it.
24338 Wed Aug 18 06:37:44 1999 Bernd Schmidt <bernds@cygnus.co.uk>
24340 * Makefile.in (insn-recog.o): Update dependencies.
24341 * genrecog.c (main): Make generated file include "function.h".
24343 Sat Aug 14 00:54:57 1999 Geoffrey Keating <geoffk@cygnus.com>
24345 * cse.c (cse_insn): Call never_reached_warning when a jump is
24346 changed to be unconditional.
24347 * flags.h: Declare warn_notreached.
24348 * flow.c (delete_block): Call never_reached_warning when
24349 a block is deleted.
24350 * jump.c (delete_barrier_successors): Call never_reached_warning
24351 when we delete everything after a BARRIER.
24352 (never_reached_warning): New function.
24353 * rtl.h: Declare never_reached_warning.
24354 * toplev.c (warn_notreached): New variable.
24355 (lang_independent_options): Set warn_notreached
24356 when -Wunreachable-code.
24357 (compile_file): We need line numbers for -Wunreachable-code.
24359 Tue Aug 17 22:06:11 1999 Jan Hubicka <hubicka@freesoft.cz>
24361 * haifa-sched.c (insn_unit): Fix typo on out of range test.
24362 * sched.c (insn_unit): Likewise.
24364 Tue Aug 17 21:57:23 1999 Andreas Schwab <schwab@suse.de>
24366 * combine.c (distribute_notes): Handle REG_EH_RETHROW.
24368 Tue Aug 17 17:39:43 EDT 1999 Andrew MacLeod <amacleod@cygnus.com>
24370 * flow.c (create_edge_list): Use xmalloc, not malloc.
24372 Tue Aug 17 01:40:54 1999 Loren Rittle <ljrittle@acm.org>
24374 * fixinc/inclhack.def (no_double_slash): Do not trash single-line
24375 C-style comments. Do not lose the character before double slash.
24377 Mon Aug 16 18:08:22 EDT 1999 Andrew MacLeod <amacleod@cygnus.com>
24379 * basic-block.h (struct edge_list): Stucture to maintain a vector
24381 (EDGE_INDEX_NO_EDGE, EDGE_INDEX, INDEX_EDGE_PRED_BB, INDEX_EDGE_SUCC_BB,
24382 INDEX_EDGE, NUM_EDGES): New Macros for accessing edge list.
24383 (create_edge_list, free_edge-List, print_edge_list, verify_edge_list):
24384 New function prototypes.
24385 * flow.c (create_edge_list): Function to create an edge list.
24386 (free_edge_list): Discards memory used by an edge list.
24387 (print_edge_list): Debug output showing an edge list.
24388 (verify_edge_list): Internal consistency check for an edge list.
24389 (find_edge_index): Function to find an edge index for a pred and succ.
24391 Mon Aug 16 11:56:36 1999 Mark Mitchell <mark@codesourcery.com>
24393 * tree.c (type_hash_add): Use permalloc to allocate nodes in the
24396 Mon Aug 16 17:04:15 1999 Jorn Rennecke <amylaar@cygnus.co.uk>
24398 * mips.h (CLASS_CANNOT_CHANGE_SIZE): Define.
24400 Fri Aug 13 15:20:43 1999 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
24402 * config/i386/freebsd.h (HANDLE_PRAGMA_PACK_PUSH_POP): Define.
24404 Fri Aug 13 10:21:28 1999 Nick Clifton <nickc@cygnus.com>
24406 * toplev.c (rest_of_compilation): Allow machine dependent
24407 reorganisation pass to place information into the RTL dump
24408 file if it so wishes.
24410 Sun Aug 15 12:41:21 1999 Jim Wilson <wilson@cygnus.com>
24412 * explow.c (hard_function_value): Use VOIDmode instead of
24414 * stmt.c (expand_return): Likewise.
24415 * stor-layout.c (get_best_mode): Likewise.
24417 * genemit.c (gen_expand): If next is MATCH_PAR_DUP, then output
24418 emit call instead of emit_insn call.
24420 Sat Aug 14 15:04:06 1999 Mumit Khan <khan@xraylith.wisc.edu>
24422 * configure.in: Handle --disable/enable-win32-registry.
24423 * install.texi: Document --disable/enable-win32-registry.
24424 * acconfig.h (ENABLE_WIN32_REGISTRY): New macro.
24425 (WIN32_REGISTRY_KEY): New macro.
24426 * prefix.c: Use to enable/disable win32-specific code.
24427 (lookup_key): Use versioned key.
24428 * configure: Regenerate.
24429 * config.in: Likewise.
24431 Fri Aug 13 17:41:55 1999 Jason Merrill <jason@yorick.cygnus.com>
24433 * cpplib.c (read_line_number): New fn, split out of...
24436 Fri Aug 13 14:18:27 1999 Gavin Romig-Koch <gavin@cygnus.com>
24438 tree.c (lang_unsave_expr_now) : New.
24439 (unsave_expr_now): Call lang_unsave_expr_now.
24440 tree.h (lang_unsave_expr_now) : New.
24442 Fri Aug 13 00:49:46 1999 Jason Merrill <jason@yorick.cygnus.com>
24444 * toplev.c (flag_new_exceptions): On by default.
24446 1999-08-13 Michael Meissner <meissner@cygnus.com>
24448 * Makefile.in (GCC_FOR_TARGET): Move -B./ after the tooldir -B.
24450 Fri Aug 13 01:29:57 1999 Alexandre Oliva <oliva@dcc.unicamp.br>
24452 * dwarfout.c (fundamental_type_code): Return FT_boolean for
24453 INTEGER_TYPE with precision==1, it's __java_boolean.
24455 Thu Aug 12 23:51:04 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
24457 * global.c (prune_preferences): Move some invariants out of the
24460 Thu Aug 12 15:30:29 1999 Jesse Perry (jap@unx.dec.com)
24462 * configure.in (alpha*-dec-osf*): Add osf5.
24464 Sun Aug 1 22:24:03 1999 Philip Blundell <philb@gnu.org>
24466 * configure.in: Rework handling of ARM GNU/Linux slightly.
24467 (arm*-*-linux-gnuoldld): New target.
24468 * configure: Regenerate.
24469 * install.texi (Configurations): Add arm-*-linux-gnu{oldld} and
24470 arm-*-elf. Mention that arm-*-linux-gnuaout is obsolete.
24471 * config/arm/linux-oldld.h: New file.
24472 * config/arm/linux-elf26.h: Don't include linux-elf.h.
24473 (TARGET_DEFAULT, SUBTARGET_LINK_SPEC, SUBTARGET_EXTRA_ASM_SPEC):
24475 * config/arm/linux-elf.h (ASM_SPEC): Define.
24476 (TARGET_DEFAULT, SUBTARGET_EXTRA_LINK_SPEC,
24477 SUBTARGET_EXTRA_ASM_SPEC, CPP_APCS_PC_DEFAULT): Add definitions
24478 for 26-bit APCS and old linker.
24479 (CPP_PREDEFINES): Define `__arm__'; don't define `arm' or
24481 (FP_DEFAULT): Define to FP_SOFT3 for all machines.
24482 * config/arm/linux-aout.h (CPP_PREDEFINES): Define `__arm__';
24483 don't define `arm' or `arm_elf'.
24484 * config/arm/t-linux (EXTRA_MULTILIB_PARTS, MULTILIB_OPTIONS,
24485 MULTILIB_DIRNAMES): Define. Fix typo in comment.
24487 Thu Aug 12 10:14:47 1999 Andreas Schwab <schwab@suse.de>
24489 * rtl.texi: Fix typo.
24491 Wed Aug 11 23:50:57 1999 Jason Merrill <jason@yorick.cygnus.com>
24493 * invoke.texi (C++ Dialect Options): Add -fms-extensions.
24495 Wed Aug 11 12:59:37 1999 Mark Mitchell <mark@codesourcery.com>
24497 * extend.texi (C++ Signatures): Remove node.
24498 * invoke.texi: Remove discussion of -fhandle-signatures,
24499 signature, sigof, __signature__, and __sigof__.
24501 Wed Aug 11 03:38:25 1999 Jeffrey A Law (law@cygnus.com)
24503 * Makefile.in (JAVAGC): Removed.
24505 Wed Aug 11 02:13:26 1999 Mumit Khan <khan@xraylith.wisc.edu>
24507 * i386/cygwin.h (ASM_OUTPUT_ALIGNED_BSS): Define.
24509 1999-08-11 Mark Elbrecht <snowball3@bigfoot.com>
24511 * i386/djgpp.h (ASM_OUTPUT_ALIGNED_BSS): Define.
24513 1999-08-11 Richard Earnshaw (rearnsha@arm.com)
24515 * emit-rtl.c (mark_reg_pointer): Don't increase the alignment of
24516 a register that is already known to be a pointer.
24518 1999-08-11 Bruce Korb <ddsinc09@ix.netcom.com>
24520 * fixinc/inclhack.tpl: Only install assert.h conditionally.
24521 * fixinc/inclhack.sh: Regenerated.
24522 * fixinc/fixincl.sh: Regenerated.
24524 Wed Aug 11 00:34:22 1999 Joe Buck <jbuck@synopsys.com>
24526 * invoke.texi: s/GNU CC/GCC/ for consistency with gcc.texi.
24527 Fix documentation of -ansi flag to describe its C++ behavior.
24528 Remove bogus reference to GCC 2.9.
24530 Tue Aug 10 17:19:02 1999 Jim Wilson <wilson@cygnus.com>
24532 * config/sh/sh.c (machine_dependent_reorg): Only call PUT_MODE on
24533 note if it is non-NULL.
24535 Tue Aug 10 10:47:42 EDT 1999 Andrew MacLeod <amacleod@cygnus.com>
24537 * except.h (eh_nesting_info): Add new structure defintion.
24538 (init_eh_nesting_info, free_eh_nesting_info): Add function prototypes.
24539 (reachable_handlers, update_rethrow_references): Add function
24541 * rtl.h (struct rtvec_def): Update comments. REG_EH_RETHROW takes
24542 a rethrow symbol instead of an integer exception region number.
24543 * flow.c (Make_edges): Use new exception nesting routines to determine
24544 which handlers are reachable from a CALL or asynchronous insn.
24545 Dont add an edge for calls with a REG_EH_REGION of -1 to non-local
24547 (delete_eh_regions): Update rethrow labels, and don't delete
24548 regions which are the target of a rethrow.
24549 * except.c (struct func_eh_entry): Add rethrow_ref field, now we can
24550 avoid overloading the SYMBOL_REF_USED flag.
24551 (rethrow_symbol_map): Use new rethrow_ref field.
24552 (rethrow_used): Use new rethrow_ref field.
24553 (expand_rethrow): REG_EH_RETHROW now has a SYMBOL_REF instead
24554 of an integer. Fix formatting.
24555 (output_exception_table_entry): Use new rethrow_ref field.
24556 (can_throw): Check for EH_REGION_NOTE before deciding
24557 whether a CALL can throw or not.
24558 (scan_region): Call rethrow_used() instead of accessing data structure.
24559 (update_rethrow_references): New function to make sure only regions
24560 which are still targets of a rethrow are flagged as such.
24561 (process_nestinfo): New static function to initialize a handler
24562 list for a specific region.
24563 (init_eh_nesting_info): New function to allocate and initialize
24564 the list of all EH handlers reachable from all regions.
24565 (reachable_handlers): New function to retrieve the list of handlers
24566 reachable from a specific region and insn.
24567 (free_eh_nesting_info): New function to dispose of a list of
24568 reachable handlers.
24570 Tue Aug 10 10:39:31 EDT 1999 Andrew MacLeod <amacleod@cygnus.com>
24572 * flow.c (split_edge): Set JUMP_LABEL field.
24573 (commit_one_edge_insertion): Set head correctly for insert_before.
24574 When inserting insns, update insn block numbers if allocated.
24576 Tue Aug 10 09:26:07 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
24578 * dwarf2out.c (dwarf2out_frame_debug_expr, add_incomplete_type,
24579 retry_incomplete_types): Add static prototype.
24580 (stripattributes, dwarf_cfi_name, ASM_OUTPUT_DWARF_STRING,
24581 dwarf_tag_name, dwarf_attr_name, dwarf_form_name,
24582 dwarf_stack_op_name, dwarf_type_encoding_name, add_AT_string,
24583 dwarf2_name, add_name_attribute, lookup_filename, dwarf2out_line,
24584 dwarf2out_start_source_file, dwarf2out_define, dwarf2out_undef):
24587 * dwarf2out.h (dwarf2out_define, dwarf2out_undef,
24588 dwarf2out_start_source_file, dwarf2out_line): Likewise.
24590 Tue Aug 10 09:21:46 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
24592 * output.h (assemble_name): Constify a char*.
24594 * varasm.c (UNIQUE_SECTION, assemble_start_function,
24595 assemble_variable, assemble_name): Likewise.
24597 * dwarf2out.c (ASM_NAME_TO_STRING): Likewise.
24599 * arm/pe.c (arm_pe_unique_section): Likewise.
24601 * i386/cygwin.h (STRIP_NAME_ENCODING): Likewise.
24603 * i386/i386-interix.h (STRIP_NAME_ENCODING): Likewise.
24605 * i386/interix.c (i386_pe_unique_section): Likewise.
24607 * i386/win32.h (STRIP_NAME_ENCODING): Likewise.
24609 * i386/winnt.c (i386_pe_unique_section): Likewise.
24611 * m32r/m32r.h (ASM_OUTPUT_LABELREF): Likewise.
24613 * mn10200/mn10200.h (ASM_OUTPUT_LABELREF): Likewise.
24615 * mn10300/mn10300.h (ASM_OUTPUT_LABELREF): Likewise.
24617 * pa/pa.c (output_call): Likewise.
24619 * pa/pa.h (ASM_OUTPUT_MI_THUNK): Likewise.
24621 * pa/som.h (ASM_OUTPUT_FUNCTION_PREFIX): Likewise.
24623 * rs6000/rs6000.c (rs6000_output_load_toc_table, output_toc):
24626 * rs6000/rs6000.h (RS6000_OUTPUT_BASENAME, STRIP_NAME_ENCODING):
24629 * rs6000/sol2.h (ASM_OUTPUT_SOURCE_LINE): Likewise.
24631 * rs6000/sysv4.h (ASM_DECLARE_FUNCTION_NAME, ASM_OUTPUT_INT,
24632 STRIP_NAME_ENCODING, ASM_OUTPUT_LABELREF): Likewise.
24634 * v850/v850.h (ASM_OUTPUT_LABELREF): Likewise.
24636 Mon Aug 9 19:54:05 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
24638 * real.c (GET_REAL, PUT_REAL): Use memcpy instead of bcopy.
24640 Mon Aug 9 19:36:00 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
24642 * tree.h (lang_identify): Constify a char*.
24643 (print_error_function): Add extern prototype. Constify a char*.
24645 * c-lang.c (lang_identify): Constify a char*.
24647 * objc/objc-act.c (lang_identify): Constify a char*.
24649 Mon Aug 9 16:21:53 1999 Bernd Schmidt <bernds@cygnus.co.uk>
24651 * genpeep.c (main): Make generated file include "function.h".
24652 * arm.c (function_really_clobbers_lr): Delete INLINE_HEADER case.
24654 Mon Aug 9 10:08:50 1999 Bernd Schmidt <bernds@cygnus.co.uk>
24656 * Makefile.in: Update dependencies.
24657 * alias.c: Include "function.h"
24658 * c-decl.c: Likewise.
24659 * caller-save.c: Likewise.
24660 * calls.c: Likewise.
24661 * combine.c: Likewise.
24663 * explow.c: Likewise.
24664 * final.c: Likewise.
24665 * global.c: Likewise.
24666 * graph.c: Likewise.
24667 * local-alloc.c: Likewise.
24668 * loop.c: Likewise.
24669 * optabs.c: Likewise.
24670 * profile.c: Likewise.
24671 * recog.c: Likewise.
24672 * regclass.c: Likewise.
24673 * regmove.c: Likewise.
24674 * reload.c: Likewise.
24675 * reorg.c: Likewise.
24676 * resource.c: Likewise.
24677 * sched.c: Likewise.
24678 * stupid.c: Likewise.
24679 * config/1750a/1750a.c: Likewise.
24680 * config/a29k/a29k.c: Likewise.
24681 * config/arc/arc.c: Likewise.
24682 * config/arm/arm.c: Likewise.
24683 * config/arm/thumb.c: Likewise.
24684 * config/c4x/c4x.c: Likewise.
24685 * config/clipper/clipper.c: Likewise.
24686 * config/convex/convex.c: Likewise.
24687 * config/fx80/fx80.c: Likewise.
24688 * config/i860/i860.c: Likewise.
24689 * config/m68k/m68k.c: Likewise.
24690 * config/m88k/m88k.c: Likewise.
24691 * config/mips/mips.c: Likewise.
24692 * config/pdp11/pdp11.c: Likewise.
24693 * config/pyr/pyr.c: Likewise.
24694 * config/romp/romp.c: Likewise.
24695 * config/sh/sh.c: Likewise.
24696 * config/tahoe/tahoe.c: Likewise.
24697 * config/vax/vax.c: Likewise.
24698 * config/we32k/we32k.c: Likewise.
24699 * config/sparc/sparc.c: Include "function.h".
24700 (mem_min_alignment): Test current_function rather than
24701 regno_pointer_align.
24702 * config/pa/pa.c: Likewise.
24703 (compute_frame_size): Delete declaration of
24704 current_function_outgoing_args_size.
24705 * config/arc/arc.h (current_function_varargs): Delete declaration.
24706 * config/elxsi/elxsi.h (current_function_calls_alloca): Delete
24708 * config/i370/i370.h (current_function_outgoing_args_size): Delete
24710 * config/i386/i386.h (FINALIZE_PIC): Delete declaration of
24711 current_function_uses_pic_offset_table.
24712 * config/m68k/a-ux.h (FUNCTION_EXTRA_EPILOGUE): Delete declaration
24713 of current_function_returns_pointer.
24714 * config/m68k/altos3068.h (FUNCTION_EXTRA_EPILOGUE): Likewise.
24715 * config/m68k/linux.h (FUNCTION_EXTRA_EPILOGUE): Likewise.
24716 * config/m68k/m68kv4.h (FUNCTION_EXTRA_EPILOGUE): Likewise.
24717 * config/m68k/mot3300.h (FUNCTION_EXTRA_EPILOGUE): Likewise.
24718 * config/m68k/pbb.h (FUNCTION_EXTRA_EPILOGUE): Likewise.
24719 * config/m68k/tower-as.h (FUNCTION_EXTRA_EPILOGUE): Likewise.
24720 * config/m88k/m88k.c: Include "function.h"
24721 (call_used_regs, current_function_pretend_args_size,
24722 current_function_outgoing_args_size, frame_pointer_needed): Delete
24724 * config/m88k/m88k.h (current_function_pretend_args_size): Delete
24726 * config/mips/mips.h (current_function_calls_alloca): Delete
24728 * config/mn10200/mn10200.h (current_function_needs_context,
24729 rtx_equal_function_value_matters): Delete declarations.
24730 * config/ns32k/ns32k (current_function_uses_pic_offset_table,
24731 flag_pic): Delete declarations.
24732 * config/pa/pa.h (current_function_pretend_args_size,
24733 current_function_decl): Delete declarations.
24734 * config/pa/som.h (current_function_varargs): Delete declaration.
24735 * config/pdp11/pdp11.h (current_function_pretend_args_size): Delete
24737 * config/pyr/pyr.h (current_function_pretend_args_size,
24738 current_function_args_size, current_function_calls_alloca): Delete
24740 * config/sh/sh.h (current_function_varargs): Delete declaration.
24741 * config/sparc/sparc.h (current_function_outgoing_args_size,
24742 current_function_calls_alloca, current_function_decl): Delete
24744 * config/spur/spur.h (current_function_pretend_args_size,
24745 current_function_calls_alloca): Delete declarations.
24746 * config/v850/v850.c (current_function_outgoing_args_size): Delete
24748 * config/vax/vms.h (current_function_name): Delete declaration.
24749 * gcse.c: Include "function.h".
24750 (current_function_name, current_function_calls_setjmp): Delete
24752 * haifa-sched.c: Include "function.h".
24753 (forced_labels): Delete declaration.
24754 * jump.c: Likewise.
24755 * reg-stack.c: Likewise.
24756 * reload1.c: Likewise.
24757 * genemit.c (main): Make generated file include function.h.
24758 * genoutput.c (output_prologue): Likewise.
24760 * builtins.c (saveregs_value, apply_args_value): Delete variables.
24761 * emit-rtl.c (reg_rtx_no, first_label_num, first_insn, last_insn,
24762 sequence_rtl_expr, cur_insn_uid, last_linenum, last_filename,
24763 regno_pointer_flag, regno_pointer_flag_length, regno_pointer_align,
24764 regno_reg_rtx, sequence_stack): Delete variables. Add accessor
24765 macros for some of them.
24766 (emit_filename, emit_lineno): Delete declarations.
24767 (gen_reg_rtx): Use memset/memcpy instead of bzero/bcopy. Access
24768 regno_pointer_* variables through current_function.
24769 (gen_inline_header_rtx): Delete function.
24770 (save_emit_status): Delete function.
24771 (set_new_last_label_num): New function.
24772 (clear_emit_caches): New function.
24773 (restore_emit_status): Just clear last_labelnum and call
24775 (get_last_insn_anywhere): Variable sequence_stack is now accessed
24776 through macro seq_stack.
24777 (add_insn_after): Likewise.
24778 (add_insn_before): Likewise.
24779 (remove_insn): Likewise.
24780 (pop_topmost_sequence): Likewise.
24781 (in_sequence_p): Likewise.
24782 (start_sequence_for_rtl_expr): Likewise.
24783 (start_sequence): Likewise, and likewise for
24784 sequence_rtl_expr/seq_rtl_expr.
24785 (push_topmost_sequence): Likewise.
24786 (end_sequence): Likewise.
24787 (init_virtual_regs): Now takes a "struct emit_status *" argument.
24788 All callers changed. Store into that pointer instead of globals.
24789 (init_emit): Allocate emit elt of current_function.
24790 Changes for sequence_rtl_expr/sequence_stack renaming.
24791 Call clear_emit_caches instead of doing it in-line.
24792 Access regno_pointer_* variables through current_function.
24793 (init_emit_once) Don't clear sequence_stack.
24795 * expr.c (pending_stack_adjust, inhibit_defer_pop, pending_chain):
24797 (arg_pointer_save_area): Delete declaration.
24798 (finish_expr_for_function): Renamed from init_queue; no longer static.
24799 (init_expr): Don't call init_queue.
24800 (save_expr_status, restore_expr_status): Delete functions.
24801 (expand_expr): Changes to reflect new layout of struct function.
24802 Don't access current_function_check_memory_usage when current_function
24804 * expr.h (forced_labels, save_expr_regs, saveregs_value,
24805 apply_args_value, current_function_calls_alloca, inhibit_defer_pop,
24806 current_function_outgoing_args_size, current_function_arg_offset_rtx,
24807 current_function_uses_const_pool, function_call_count,
24808 current_function_uses_pic_offset_table, nonlocal_labels,
24809 current_function_internal_arg_pointer, nonlocal_goto_stack_level,
24810 current_function_check_memory_usage, nonlocal_goto_handler_slots,
24811 pending_stack_adjust, target_temp_slot_level, temp_slot_level): Delete
24813 (finish_expr_for_function): Declare.
24814 * flags.h (current_function_has_nonlocal_label,
24815 current_function_has_nonlocal_goto, current_function_is_thunk,
24816 current_function_has_computed_jump): Delete declarations.
24817 * flow.c (forced_labels): Delete declaration.
24818 * function.c (current_function_pops_args,
24819 current_function_returns_struct, current_function_returns_pcc_struct,
24820 current_function_needs_context, current_function_calls_setjmp,
24821 current_function_calls_longjmp, current_function_has_nonlocal_label,
24822 current_function_has_nonlocal_goto, current_function_is_thunk,
24823 current_function_has_computed_jump, current_function_calls_alloca,
24824 current_function_contains_functions, current_function_returns_pointer,
24825 current_function_epilogue_delay_list, current_function_args_size,
24826 current_function_pretend_args_size, current_function_arg_offset_rtx,
24827 current_function_outgoing_args_size, current_function_varargs,
24828 current_function_stdarg, current_function_args_info, cleanup_label,
24829 current_function_name, current_function_uses_const_pool,
24830 current_function_instrument_entry_exit, current_function_return_rtx,
24831 current_function_uses_pic_offset_table, nonlocal_labels,
24832 current_function_internal_arg_pointer, current_function_cannot_inline,
24833 current_function_check_memory_usage, function_call_count,
24834 nonlocal_goto_handler_slots, nonlocal_goto_handler_labels,
24835 nonlocal_goto_stack_level, return_label, save_expr_regs,
24836 stack_slot_list, rtl_expr_chain, tail_recursion_label, temp_slots,
24837 tail_recursion_reentry, arg_pointer_save_area, frame_offset,
24838 context_display, trampoline_list, parm_birth_insn, invalid_stack_slot,
24839 last_parm_insn, max_parm_reg, parm_reg_stack_loc, sequence_rtl_expr,
24840 temp_slot_level, var_temp_slot_level, target_temp_slot_level):
24842 (push_function_context_to): Don't save them. Don't call
24843 save_storage_status, save_emit_status or save_expr_status.
24844 (pop_function_context_from): Don't restore them. Don't call
24845 restore_storage_status or restore_expr_status.
24846 (get_func_frame_size): New function.
24847 (get_frame_size): Use it.
24848 (assign_outer_stack_local): Reflect some member name changes in struct
24850 (put_reg_into_stack): Likewise.
24851 (assign_stack_temp_for_type): sequence_rtl_expr was renamed to
24853 (fixup_var_refs): Likewise.
24854 (fix_lexical_addr): Likewise.
24855 (trampoline_address): Likewise.
24856 (prepare_function_start): Clear field inlinable of current_function.
24857 (init_function_for_compilation): New function.
24858 (expand_dummy_function_end): New function.
24859 (expand_function_end): Call finish_expr_for_function.
24860 * function.h (struct emit_status): New; fields moved here from struct
24861 function and from global variables. Add accessor macros for some of
24863 (struct expr_status): Likewise.
24864 (REGNO_POINTER_ALIGN, REGNO_POINTER_FLAG): Moved here from regs.h.
24865 (struct function): Add fields expr and emit, inlinable, inl_emit,
24866 original_arg_vector, original_decl_initial, inl_last_parm_insn,
24867 inl_max_label_num. Add many comments.
24868 Add accessor macros for all elts of struct function that no longer
24869 have a global variable.
24870 (cleanup_label, return_label, frame_offset, tail_recursion_label,
24871 tail_recursion_reentry, arg_pointer_save_area, rtl_expr_chain,
24872 stack_slot_list): Delete declarations.
24873 (get_func_frame_size): Declare.
24874 (save_expr_status, restore_expr_status, save_emit_status,
24875 save_storage_status, restore_storage_status): Delete declarations.
24876 (init_virtual_regs): Declare.
24877 * output.h (current_function_pops_args,
24878 current_function_returns_struct, current_function_returns_pcc_struct,
24879 current_function_needs_context, current_function_calls_setjmp,
24880 current_function_calls_longjmp, current_function_calls_alloca,
24881 current_function_has_nonlocal_label, current_function_varargs,
24882 current_function_has_computed_jump, current_function_returns_pointer,
24883 current_function_contains_functions, current_function_args_size,
24884 current_function_pretend_args_size, current_function_stdarg,
24885 current_function_outgoing_args_size, current_function_args_info,
24886 current_function_name, current_function_return_rtx,
24887 current_function_epilogue_delay_list,
24888 current_function_uses_const_pool, current_function_cannot_inline):
24889 Delete declarations.
24890 * regs.h (reg_rtx_no, regno_pointer_flag, regno_pointer_flag_length,
24891 regno_reg_rtx): Delete declaration.
24892 (REGNO_POINTER_FLAG): Delete macro.
24893 * stmt.c (expand_goto): Changes to reflect that some fields in struct
24894 function were renamed.
24895 * stor-layout.c (save_storage_status, restore_storage_status): Delete
24897 * toplev.c: Include "function.h".
24898 (current_function_decl): Delete declaration.
24899 (compile_file): Call init_dummy_function_start and
24900 expand_dummy_function_end around some initializations that need to
24902 (rest_of_compilation): Use DECL_SAVED_INSNS properly.
24903 Call init_function_for_compilation.
24904 * unroll.c: Include "function.h"
24905 (unroll_loop): Access regno_pointer_* variables through
24908 * tree.h (struct tree_decl): Add elt f to saved_insns member.
24909 (DECL_SAVED_INSNS): use it.
24910 (expand_dummy_function_end): Declare.
24911 (init_function_for_compilation): Declare.
24912 * calls.c (calls_function_1): Change use of DECL_SAVED_INSNS now
24913 that it's no longer an INLINE_HEADER.
24914 (expand_call): Likewise.
24915 * integrate.c (finish_inline): Delete function.
24916 (max_parm_reg, parm_reg_stack_loc): Delete declarations.
24917 (initialize_for_inline): Delete min_labelno, max_labelno and max_reg
24918 args. Don't generate an INLINE_HEADER rtx, just return the arg
24919 vector. All callers changed.
24920 (save_for_inline_copying): Create a duplicate struct emit_status to
24921 hold the emit state for compiling the current function. Use this and
24922 the other new fields in struct function that are for integration
24923 instead of an INLINE_HEADER.
24924 Use memcpy instead of bcopy.
24925 Store the current struct function in DECL_SAVED_INSNS of fndecl.
24926 (save_for_inline_nocopy): Similar changes, except no new emit_status
24928 (expand_inline_function): Get information from function structure,
24929 not from an inline header rtx.
24930 (output_inline_function): Lose code to extract the necessary
24931 information from an inline header; simply put back the function
24932 structure into current_function. Clear its inlinable elt.
24933 * rtl.def (INLINE_HEADER): Delete.
24934 * rtl.h: Delete all accessors for an INLINE_HEADER.
24935 (gen_inline_header_rtx): Delete declaration.
24936 (regno_reg_rtx, regno_pointer_align, nonlocal_goto_handler_labels):
24937 Delete declarations.
24938 (REGNO_POINTER_ALIGN): Delete.
24939 (clear_emit_caches): Declare.
24940 (set_new_last_label_num): Declare.
24942 Mon Aug 9 01:52:24 1999 Jason Merrill <jason@yorick.cygnus.com>
24944 * print-tree.c (print_node): Print base for OFFSET_TYPEs.
24946 * except.c (expand_eh_region_start_for_decl): Always start a new block.
24947 * stmt.c (is_eh_region): Make sure current_function is present, too.
24949 Mon Aug 9 01:15:24 1999 Jeffrey A Law (law@cygnus.com)
24951 * pa.h (HARD_REGNO_MODE_OK): Correctly handle FPregs, even when
24952 for 64bit PA targets.
24954 * pa.h (SELECT_SECTION): Define.
24955 * som.h (SELECT_SECTION): Delete.
24957 Sun Aug 8 15:13:20 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
24959 * alias.c (init_alias_analysis): Wrap call to
24960 `prologue_epilogue_contains' within HAVE_prologue||HAVE_epilogue.
24962 1999-08-07 Bruce Korb <autogen@linuxbox.com>
24964 * fixinc/inclhack.def(irix_asm_apostrophe): IRIX 5.2's
24965 <sys/asm.h> contains an asm comment with an apostrophe
24966 * fixinc/inclhack.sh: regen
24967 * fixinc/fixincl.x: regen
24969 Sat Aug 7 19:37:07 1999 Richard Henderson <rth@cygnus.com>
24971 * function.c (init_function_start): Clear prologue & epilogue.
24972 (prologue_epilogue_contains): New function.
24973 * alias.c (init_alias_analysis): Use it.
24974 * rtl.h (prologue_epilogue_contains): Declare it.
24976 Sat Aug 7 19:32:16 1999 Richard Henderson <rth@cygnus.com>
24978 * jump.c (onlyjump_p): New function.
24979 * rtl.h: Declare it.
24980 * flow.c (delete_unreachable_blocks): Use onlyjump_p instead
24981 of condjump_p in calling tidy_fallthru_edge and merge_blocks.
24983 Sat Aug 7 17:09:36 1999 Richard Henderson <rth@cygnus.com>
24985 * global.c (build_insn_chain): Use EXECUTE_IF_SET_IN_REG_SET
24986 to invert loops. Simplify block scanning.
24988 Sat Aug 7 02:11:13 1999 Bernd Schmidt <bernds@cygnus.co.uk>
24990 * gcse.c (hash_scan_set): Treat SYMBOL_REFs like CONST_INTs.
24991 (cprop_insn): Treat SYMBOL_REFs like CONST_INTs.
24993 1999-08-07 Jonathan Larmour <jlarmour@cygnus.co.uk>
24995 * config/sparc/liteelf.h: New file to support sparclite-elf target
24996 * config/sparc/t-sp86x: New file to support sparc86x targets
24997 * config/sparc/sp86x-aout.h: New file to support sparc86x-aout target
24998 * config/sparc/sp86x-elf.h: New file to support sparc86x-elf target
24999 * configure.in: Support above target triplets
25000 * configure: Regenerated
25002 Sat Aug 7 01:39:27 1999 Philippe De Muyter <phdm@macqel.be>
25004 * fixinc/server.c (server_setup): Do not prefix function used as
25005 parameter with `&'.
25007 Sat Aug 7 00:21:20 1999 Richard Henderson <rth@cygnus.com>
25009 * alpha.md (movhi and movqi patterns): Correct predicate for !BWX.
25010 Remove fp reg alternatives.
25012 Sat Aug 7 00:06:54 1999 Jeffrey A Law (law@cygnus.com)
25014 * Makefiin (TAROUTOPTS): Kill.
25015 (install-headers-tar): Use "xpf" for tar headerfile extraction
25016 * i370/x-oe (TAROUTOPTS): Delete.
25017 * m68k/x-apollo68 (TAROUTOPTS): Delete.
25018 * m68k/x-hp320 (TAROUTOPTS): Delete.
25019 * m68k/x-hp320g (TAROUTOPTS): Delete.
25020 * gcc.texi: Update bug reporting text.
25022 1999-08-6 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
25024 * reg-stack.c (change_stack) Fixed problem with negative array index.
25026 Fri Aug 6 23:08:44 1999 Jeffrey A Law (law@cygnus.com)
25028 * extend.texi, install.texi: Fix spelling mistakes.
25030 * Makefile.in (PREMADE_ATTRTAB_MD, PREMADE_ATTRTAB): Delete.
25031 (s-attrtab); No longer try to use pre-made insn-attrtab file.
25032 * mips/t-bsd: Delete references to obsolete PREMADE_ATTRTAB and
25033 PREMADE_ATTRTAB_MD.
25034 * mips/t-ecoff: Likewise.
25035 * mips/t-elf: Likewise.
25036 * mips/t-mips: Likewise.
25037 * mips/t-osfrose: Likewise.
25038 * mips/t-r3900: Likewise.
25039 * mips/t-svr3: Likewise.
25040 * mips/t-svr4: Likewise.
25041 * mips/t-ultrix: Likewise.
25043 * gcc.texi: Document recommend means to provide software floating
25044 point libraries in libgcc.a
25046 1999-08-06 Jason Merrill <jason@yorick.cygnus.com>
25048 * c-lex.c (yylex): We can have a number with no digits.
25050 Fri Aug 6 16:53:55 EDT 1999 John Wehle (john@feith.com)
25052 * jump.c (delete_prior_computation): New function, broken
25053 out of delete_computation. Check for side effects with
25054 side_effects_p instead of FIND_REG_INC_NOTE. Handle
25055 multi-word hard registers.
25056 (delete_computation): Use it. Check for side effects with
25057 side_effects_p instead of FIND_REG_INC_NOTE. Synthesize a
25058 missing REG_DEAD note for a register which is both set and
25061 Fri Aug 6 11:05:29 1999 Jeffrey A Law (law@cygnus.com)
25063 * elf.h (TEXT_SPACE_P, FUNCTION_NAME_P): Delete.
25064 (ASM_GLOBALIZE_LABEL, ASM_OUTPUT_INT, ASM_OUTPUT_DOUBLE_INT): Likewise.
25065 (ASM_FILE_START): Import _mcount with the right type.
25066 (ASM_DECLARE_FUNCTION_NAME): Define.
25067 (ASM_OUTPUT_EXTERNAL, ASM_OUTPUT_EXTERNAL_LIBCALL): Define.
25068 * pa.c (output_function_prologue): Always emit the function's label
25070 * pa.h (TEXT_SPACE_P): Define.
25071 (FUNCTION_NAME_P, ENCODE_SECTION_INFO, STRIP_NAME_ENCODING): Likewise.
25072 (ASM_OUTPUT_INT, ASM_OUTPUT_DOUBLE_INT, ASM_GLOBALIZE_LABEL): Likewise.
25073 * som.h (TEXT_SPACE_P): Delete.
25074 (FUNCTION_NAME_P, ENCODE_SECTION_INFO, STRIP_NAME_ENCODING): Likewise.
25075 (ASM_GLOBALIZE_LABEL, ASM_OUTPUT_INT): Likewise.
25077 Thu Aug 5 19:29:39 1999 Jim Wilson <wilson@cygnus.com>
25079 * expr.c (emit_group_load): Allow src to be a CONCAT.
25081 Thu Aug 5 22:27:15 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
25083 * config/sh/lib1funcs.asm (___movstrSI0): Change or r0,r0,r0 to nop.
25084 (___mulsi3): Use '!' comment character.
25086 Thu Aug 5 13:34:14 1999 Bernd Schmidt <bernds@cygnus.co.uk>
25088 * reload1.c (maybe_fix_stack_asms): Also declare P as "const char *".
25090 Thu Aug 5 02:40:42 1999 Jeffrey A Law (law@cygnus.com)
25092 * gcc.c: Update URLs and mail addresses.
25093 * gcc.texi: Likewise.
25095 Thu Aug 5 01:14:13 1999 Daniel Jacobowitz <drow@false.org>
25097 * rs6000.c (current_file_function_operand): Return zero for
25099 (rs6000_encode_section_info): Do not set SYMBOL_REF_FLAG for
25101 * rs6000.h (ENCODE_SECTION_NIFO): Do not set SYMBOL_REF_FLAG
25104 Thu Aug 5 00:56:30 1999 Geoffrey Keating <geoffk@cygnus.com>
25106 * rs6000.c (rs6000_stack_info): For ABI_V4/ABI_SOLARIS -fpic, always
25107 allocate space in the stack frame for the PIC register.
25109 Thu Aug 5 00:20:47 1999 Jeffrey A Law (law@cygnus.com)
25111 * m68k.md (xordi3, anddi3): These patterns are not available on
25114 Wed Aug 4 23:39:20 1999 Mark Mitchell <mark@codesourcery.com>
25116 * real.c (GET_REAL): Don't violate ANSI/ISO aliasing rules.
25117 (PUT_REAL): Likewise.
25119 Wed Aug 4 20:45:04 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
25121 * final.c (shorten_branches): Don't add an alignment for loops
25122 that have no label inside.
25124 Wed Aug 4 16:39:24 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
25126 * builtins.c (expand_builtin_memcmp, expand_builtin_strcmp): Wrap
25127 prototypes in macro HAVE_cmpstrsi.
25129 * cpplib.c (cpp_get_token): Remove unused label `op3'.
25131 * emit-rtl.c (operand_subword): Remove unused variable
25134 * rtl.c (shallow_copy_rtx): Remove unused variable `format_ptr'.
25136 * tree.c (chainon): Wrap variable `t2' in macro ENABLE_CHECKING.
25138 Wed Aug 4 13:29:23 1999 Zack Weinberg <zack@bitmover.com>
25140 * cpphash.c (macroexpand): Delete leading whitespace when arg
25141 is concatenated before.
25142 (unsafe_chars): Correct test for whether + and - can extend a
25145 * cppinit.c (cpp_start_read): Do dependencies for
25146 -include/-imacros files also.
25148 * cpplib.c (cpp_scan_buffer): In no-output mode, don't bother
25149 tokenizing non-directive lines.
25150 (cpp_expand_to_buffer): Temporarily disable no-output mode.
25151 * cppmain.c: In no-output mode, just call cpp_scan_buffer for
25154 Wed Aug 4 12:53:44 1999 Jason Merrill <jason@yorick.cygnus.com>
25156 * expr.c (expand_expr, case PLUS_EXPR): Fix parallel case, too.
25158 * c-lex.c: Sync with C++ frontend.
25159 (linemode): New variable.
25160 (parse_float): imag, conversion_errno, and type are output only.
25161 (yylex): Adjust. Move initial '.' case into main switch.
25163 (handle_generic_pragma): Just deal with tokens.
25164 (readescape): Use ISXDIGIT and ISGRAPH.
25165 * c-parse.in: Add END_OF_LINE token.
25167 * c-lex.c (lang_init): Generalize.
25168 (nextchar): Remove. Replace uses with UNGETC.
25169 (skip_white_space): Handle linemode here. Optimize for cpplib.
25170 (skip_white_space_on_line): Remove.
25171 (extend_token_buffer_to): New fn.
25172 (extend_token_buffer): Use it.
25173 (read_line_number, check_newline): Just deal with tokens.
25174 (token_getch, token_put_back): New fns.
25175 (yylex): Use them. More cpplib optimizations. Simplify.
25177 Wed Aug 4 12:53:44 1999 Michael Tiemann <tiemann@holodeck.cygnus.com>
25178 Jason Merrill <jason@yorick.cygnus.com>
25180 * c-lex.c (init_parse): Set cpp_token to CPP_DIRECTIVE.
25181 (consume_string): Make this smart about USE_CPPLIB.
25182 (check_newline): Rewrite to be intelligent about USE_CPPLIB.
25183 (yylex): Rewrite to be intelligent about USE_CPPLIB.
25184 Also, clean up cases where we redundantly set token_buffer[0].
25185 (read_line_number): New fn.
25186 (ignore_escape_flag): New variable.
25188 Wed Aug 4 13:12:17 1999 Jeffrey A Law (law@cygnus.com)
25190 * a29k/t-a29kbare: Fix some comments.
25191 (LIB2FUNCS_EXTRA): Remove fp-bit.c and dp-bit.c
25192 (FPBIT, DPBIT): Define.
25193 * a29k/t-vx29k: Likewise.
25194 * arc/t-arc: Likewise.
25195 * arm/t-arm-elf: Likewise.
25196 * arm/t-bare: Likewise.
25197 * arm/t-pe: Likewise.
25198 * arm/t-pe-thumb: Likewise.
25199 * arm/t-semi: Likewise.
25200 * arm/t-thumb: Likewise.
25201 * arm/t-thumb-elf: Likewise.
25202 * arm/t-thumb-linux: Likewise.
25203 * h8300/t-h8300: Likewise.
25204 * i960/t-i960: Likewise.
25205 * i960/t-vxworks960: Likewise.
25206 * m32r/t-m32r: Likewise.
25207 * mips/t-ecoff: Likewise.
25208 * mips/t-elf: Likewise.
25209 * mips/t-r3900: Likewise.
25210 * pa/t-pro: Likewise.
25211 * rs6000/t-aix43: Likewise.
25212 * rs6000/t-beos: Likewise.
25213 * rs6000/t-newas: Likewise.
25214 * rs6000/t-ppccomm: Likewise.
25215 * rs6000/t-rs6000: Likewise.
25216 * rs6000/t-winnt: Likewise.
25217 * rs6000/t-xnewas: Likewise.
25218 * rs6000/t-xrs6000: Likewise.
25219 * sh/t-sh: Likewise.
25220 * sparc/t-elf: Likewise.
25221 * sparc/t-sparcbare: Likewise.
25222 * sparc/t-sparclite: Likewise.
25223 * sparc/t-splet: Likewise.
25224 * v850/t-v850: Likewise.
25225 * mn10200/t-mn10200: Fix comments.
25226 * mn10300/t-mn10300: Likewise.
25228 * pa.md (divsi3, udivsi3, modsi3, umodsi3 expanders): Clobber a new
25229 dummy operand. Allocate a new pseudo for the dummy operand.
25230 (divsi3, udivsi3, modis3, umodsi3 patterns): Corresponding changes.
25232 * pa.md (movqi, movhi patterns): Do not expose FP regs to regclass.
25234 Wed Aug 4 11:53:55 1999 Tom Tromey <tromey@cygnus.com>
25236 * configure: Rebuilt.
25237 * configure.in: Removed --enable-java-gc option and JAVAGC subst.
25239 Wed Aug 4 09:06:14 1999 Richard Earnshaw (rearnsha@arm.com)
25241 * recog.c (preproces_constraints): Zero recog_op_alt before
25242 processing the constraints.
25244 * arm.c (typedef minipool_node): Renamed from pool_node.
25245 (minipool_vector, minipool_size, minipool_vector_label): Similarly.
25246 (add_minipool_constant): New function.
25247 (dump_minipool): New function.
25248 (find_barrier): Remove special case for getting the insn size of
25249 an insn that references the constant pool.
25250 (minipool_fixup): New structure.
25251 (push_minipool_barrier): New function.
25252 (push_minipool_fix): New function.
25253 (note_invalid_constants): New function.
25254 (add_pool_constant, dump_table, fixit, broken_move): Delete.
25255 (arm_reorg): Rewrite code to fix up the constant pool into a
25256 series of mini-pools embedded in the insn stream.
25257 (arm_output_epilogue): New function, made mainly from the body
25258 of output_func_epilogue.
25259 (output_func_epilogue): Move insn generation part of epilogue code
25260 to arm_output_epilogue.
25261 * arm.h (ASM_OUTPUT_SPECIAL_POOL_ENTRY): Delete.
25262 * arm.md (pool_range): New attribute.
25263 (zero_extendqidi2): Add attribute pool_range.
25264 (zero_extend_hisi_insn, load_extendqisi, extendhisi_insn,
25265 extendqihi_insn, extendqisi_insn, movdi, movsi_insn, pic_load_addr,
25266 pic_load_addr_based_insn, movhi_insn_arch4, movhi_insn_littleend,
25267 movhi_insn_bigend, loadhi_si_bigend, movsf_hard_insn, movsf_soft_insn,
25268 movdf_hard_insn, movdf_soft_insn, movxf_hard_insn): Likewise.
25269 (epilogue): New expand.
25270 (epilogue_insn): New insn. Call arm_output_epilogue.
25272 * arm.c (arm_poke_function_name): Undo change of July 17. Tidy up.
25273 * arm.h (TARGET_SWITCHES): Add missing doc string for TARGET_DEFAULT.
25275 Mon Aug 2 19:18:44 1999 Jason Merrill <jason@yorick.cygnus.com>
25277 * linux.h (HANDLE_PRAGMA_PACK_PUSH_POP): Define.
25279 1999-08-04 Mark Elbrecht <snowball3@bigfoot.com>
25281 * config/i386/djgpp.h (BSS_SECTION_ASM_OP): Define.
25283 Wed Aug 4 02:15:32 1999 Richard Henderson <rth@cygnus.com>
25285 * jump.c (delete_insn): Delete the addr_vec when deleting a tablejump.
25287 Wed Aug 4 01:48:08 1999 Jim Kingdon <http://developer.redhat.com>
25289 * global.c: Fix comment.
25291 Wed Aug 4 01:43:01 1999 Ian Lance Taylor <ian@zembu.com>
25293 * gcc.c (access_check): New static function.
25294 (find_a_file): Use it when searching a directory list.
25295 * collect2.c (find_a_file): Don't accept directories found when
25296 searching a directory list.
25298 Wed Aug 4 01:40:43 1999 Philippe De Muyter <phdm@macqel.be>
25300 * tlink.c (symbol_hash_lookup): Do not prefix functions used as
25301 function parameters with `&'.
25302 (file_hash_lookup, demangled_hash_lookup, tlink_init): Ditto.
25304 Wed Aug 4 01:08:44 1999 Jeffrey A Law (law@cygnus.com)
25306 * flow.c (delete_unreachable_blocks): Do not call merge_blocks
25307 or tidy_fallthru_edge if the last insn in the block is not
25308 an unconditional jump or a simple conditional jump.
25310 Tue Aug 3 20:21:20 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
25312 * Makefile.in (c-decl.o): Depends on defaults.h.
25314 Tue Aug 3 14:14:52 1999 Jeffrey A Law (law@cygnus.com)
25316 * pa.h (HARD_REGNO_NREGS): FP registers are always 4 bytes wide for
25318 (CLASS_MAX_NREGS): Likewise.
25320 Tue Aug 3 03:51:20 1999 Jeffrey A Law (law@cygnus.com)
25322 * cse.c (cse_insn): Fix dumb thinko in last change.
25324 Tue Aug 3 10:36:13 1999 Bernd Schmidt <bernds@cygnus.co.uk>
25326 * reload1.c (maybe_fix_stack_asms): Declare CONSTRAINTS as
25329 Mon Aug 2 23:45:45 1999 Hans-Peter Nilsson <hp@bitrange.com>
25331 * dwarf2out.c (add_location_or_const_value_attribute): Correct
25332 test for sizes of passed and declared parameter types.
25334 Tue Aug 3 00:03:41 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
25336 * fixincludes: Fix the return type of bsearch, char* -> void*.
25338 * fixinc/inclhack.def: Likewise.
25340 Mon Aug 2 18:29:32 1999 Mark Mitchell <mark@codesourcery.com>
25342 * invoke.texi (-fdump-translation-unit): New option.
25344 Mon Aug 2 17:54:19 1999 Richard Henderson <rth@cygnus.com>
25346 * expr.h (PROMOTE_PROTOTYPES): Move ...
25347 * defaults.h: ... to here.
25348 * c-decl.c: Include defaults.h instead of expr.h.
25349 * c-typeck.c: Include defaults.h.
25351 Mon Aug 2 17:10:24 1999 Mark Mitchell <mark@codesourcery.com>
25353 * toplev.h (errorcount): Declare.
25354 (warningcount): Likewise.
25355 (sorrycount): Likewise.
25356 * c-lex.c (errorcount): Don't declare.
25357 * dwarf2out.c (errorcount): Don't declare.
25359 Mon Aug 2 17:02:08 1999 Jason Merrill <jason@yorick.cygnus.com>
25361 * config/libgloss.h: Add a note discouraging use with ELF.
25362 * configure.in: Don't use libgloss.h for ELF targets.
25363 Always use_collect2 on a.out targets.
25365 Mon Aug 2 16:27:42 1999 Jim Wilson <wilson@cygnus.com>
25367 * combine.c (force_to_mode, case LSHIFTRT): Add goto shiftrt.
25368 (force_to_mode, case ASHIFTRT): Add shiftrt label.
25370 Tue Aug 3 00:45:02 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
25372 * loop.c (strength_reduce): When doing biv->giv conversion, update
25373 reg note of NEXT->insn.
25375 1999-08-02 Jakub Jelinek <jj@ultra.linux.cz>
25377 * real.c (PUT_REAL): Clear unused bytes if long double is IEEE quad.
25379 1999-08-02 Jakub Jelinek <jj@ultra.linux.cz>
25381 * c-decl.c (get_parm_info, store_parm_decls): Change all uses of
25382 PROMOTE_PROTOTYPES, so that it tests it as a C expression.
25383 Ensure expr.h is included.
25384 * c-typecheck.c (convert_arguments): Ditto.
25386 * expr.h: Supply default for PROMOTE_PROTOTYPES (0).
25388 * config/arc/arc.h: Define PROMOTE_PROTOTYPES to 1.
25389 * config/convex/convex.h: Ditto.
25390 * config/dsp16xx/dsp16xx.h: Ditto.
25391 * config/fx80/fx80.h: Ditto.
25392 * config/gmicro/gmicro.h: Ditto.
25393 * config/i370/i370.h: Ditto.
25394 * config/i386/i386.h: Ditto.
25395 * config/m32r/m32r.h: Ditto.
25396 * config/m68k/m68k.h: Ditto.
25397 * config/m88k/m88k.h: Ditto.
25398 * config/mips/mips.h: Ditto.
25399 * config/pa/pa.h: Ditto.
25400 * config/pyr/pyr.h: Ditto.
25401 * config/tahoe/tahoe.h: Ditto.
25402 * config/we32k/we32k.h: Ditto.
25404 * config/sparc/sparc.h: Define PROMOTE_PROTOTYPES
25405 based on arch size.
25407 * config/i1750a/i1750a.h: Define PROMOTE_PROTOTYPES to 0.
25409 * config/i860/paragon.h: Remove PROMOTE_PROTOTYPES
25412 * tm.texi: Document new usage of PROMOTE_PROTOTYPES.
25414 1999-08-02 Richard Henderson <rth@cygnus.com>
25416 * m32r.c (m32r_setup_incoming_varargs): Use get_varargs_alias_set
25417 for the register spill block.
25418 (m32r_va_arg): New.
25419 * m32r.h (EXPAND_BUILTIN_VA_ARG): New.
25420 (EXPAND_BUILTIN_SAVEREGS): Delete #if 0 code.
25422 * m32r.h (INT8_P): Don't short-cut test with (unsigned).
25423 (INT16_P, CMP_INT16_P, UINT16_P): Likewise.
25424 (UPPER16_P, UINT24_P, INT32_P, UINT5_P): Likewise.
25426 1999-08-02 Jakub Jelinek <jj@ultra.linux.cz>
25428 * config/sparc/linux.h: Define WCHAR_TYPE as "int" and undef
25429 MAX_WCHAR_TYPE defined in sparc.h.
25430 * config/sparc/linuxaout.h: Likewise.
25431 * config/sparc/linux64.h: Likewise.
25432 Also default to -mvis if CPU is UltraSPARC.
25434 1999-08-02 Jakub Jelinek <jj@ultra.linux.cz>
25436 * config/sparc/sparc.h (ASM_DECLARE_REGISTER_GLOBAL): New macro.
25437 (RTX_OK_FOR_OLO10): Likewise.
25438 (GO_IF_LEGITIMATE_ADDRESS): If assembler supports offsetable
25439 %lo(), allow it in addresses...
25440 (PRINT_OPERAND_ADDRESS): ... and print it appropriately.
25441 * config/sparc/sparc.md (sethi_di_medlow_embmedany_pic): sethi %lo()
25442 does not make sense.
25443 * config/sparc/sparc.c (sparc_hard_reg_printed): New array.
25444 (sparc_output_scratch_registers): New function.
25445 (output_function_prologue, sparc_flat_output_function_prologue): Use
25447 * varasm.c (make_decl_rtl): Use ASM_DECLARE_REGISTER_GLOBAL if
25449 * tm.texi (ASM_DECLARE_REGISTER_GLOBAL): Document it.
25450 * configure.in: Add check for .register pseudo-op support in as and
25451 check for offsetable %lo().
25452 * acconfig.h: Add templates for the above checks.
25453 * configure: Regenerate.
25455 1999-08-02 Richard Henderson <rth@cygnus.com>
25457 * sparc/linux64.h (TARGET_DEFAULT): Remove MASK_APP_REGS.
25458 * sparc/sol2-sld-64.h (TARGET_DEFAULT): Likewise.
25459 * sparc/sol2.h (TARGET_DEFAULT): Likewise.
25461 Mon Aug 2 23:46:45 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
25463 * loop.c (strength_reduce): When doing biv->giv conversion, fix up
25466 1999-08-02 Jakub Jelinek <jj@ultra.linux.cz>
25468 * config/float-sparc.h: New file.
25469 * configure.in: Use float_format=sparc for sparc-*-linux-gnulibc1,
25470 sparc-*-linux-gnu and sparc64-*-linux*.
25472 1999-08-02 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
25474 * rs6000.c (rs6000_va_list): Type is an array.
25475 (rs6000_va_start): Don't doubly adjust for varargs.
25476 (rs6000_va_arg): Evaluate long long GPR adjustment.
25478 Mon Aug 2 16:15:57 1999 David Edelsohn <edelsohn@gnu.org>
25480 * rs6000/aix43.h (SUBTARGET_SWITCHES): Use -m64 and -m32 instead of
25481 -maix64 and -maix32.
25482 (ASM_SPEC, ASM_CPU_SPEC, CPP_SPEC, CPP_CPU_SPEC, LIB_SPEC,
25483 LINK_SPEC): Change appropriately.
25484 * rs6000/rs6000.c (short_cint_operand): Use CONST_OK_FOR_LETTER_P.
25485 (u_short_cint_operand): Likewise.
25486 * rs6000/rs6000.md (movdi splitters): Add TARGET_POWERPC64 support
25488 * rs6000/t-aix43 (MULTILIB): Change to -m64.
25490 * invoke.texi (RS/6000 Submodel): Document 64-bit processor options.
25492 Mon Aug 2 16:15:57 1999 Geoff Keating <geoffk@cygnus.com>
25494 * rs6000/rs6000.c (num_insns_constant_wide): Correct
25495 for type promotion.
25496 (add_operand): Get test correct for 64-bit HOST_WIDE_INT.
25497 (non_add_cint_operand): Likewise.
25498 (logical_operand): Likewise.
25499 (non_logical_cint_operand): Likewise.
25500 (print_operand): Correct printf()s for 64-bit HOST_WIDE_INT.
25501 (print_operand_address): Correct printf() for 64-bit HOST_WIDE_INT.
25502 (rs6000_select_rtx_section): Suppress warning.
25503 (small_data_operand): Suppress warning.
25504 (rs6000_got_register): Suppress warning.
25505 * rs6000/rs6000.md (andsi3): HOST_WIDE_INT is a signed
25506 type, so `J' is generally the wrong constraint for a SImode value;
25508 (andsi3_internal2): Likewise.
25509 (andsi3_internal3): Likewise.
25510 (iorsi3_internal1): Likewise.
25511 (xorsi3_internal1): Likewise.
25513 (movsf_softfloat): Likewise.
25514 (scc insns): Likewise.
25515 (movsi+2): Preserve sign bits of SImode constant.
25516 (floatsidf2_internal+1): Sign-extend SImode constant correctly.
25517 (movdf+1): Sign-extend properly.
25518 (movdi_32+1): Sign-extend properly.
25519 (scc insns): Sign-extend properly.
25521 * md.texi (RS/6000 EXTRA_CONSTRAINTS): Update documentation for J,
25524 1999-08-02 Richard Henderson <rth@cygnus.com>
25526 * alpha.c (override_options): Move ev6 alpha_tp frobbing out of
25527 -mcpu parsing code.
25528 (print_operand): Notice alpha_fptm not alpha_tp for sw completion.
25529 * alpha.md (all fp insns): Likewise.
25531 1999-08-02 Nick Clifton <nickc@cygnus.com>
25533 * config/v850/v850.h (STRICT_ALIGNMENT): Only define if not
25536 Mon Aug 2 03:38:33 1999 Jeffrey A Law (law@cygnus.com)
25538 * pa.c (legitimize_pic_address): Clarify comments. Do not call the
25539 pic_load_label generator directly.
25540 * pa.md (pic_load_label): Clarify comments. Remove modes on operands.
25541 No longer a named pattern.
25543 Mon Aug 2 09:38:10 1999 Nick Clifton <nickc@cygnus.com>
25545 * explow.c (force_reg): Call force_operand if X does not
25546 satisfy general_operand.
25548 Mon Aug 2 01:34:22 1999 Jeffrey A Law (law@cygnus.com)
25550 * fix-header.c (main): When testing for CONTINUED, use string
25551 equality, not pointer equality.
25553 Mon Aug 2 01:27:24 1999 Dan Nicolaescu <dann@ics.uci.edu>
25555 * sparc.c (sparc_block_profiler): Use the %g2 register, not %o0.
25557 Sun Aug 1 22:46:42 1999 Jeffrey A Law (law@cygnus.com)
25559 * cse.c (cse_insn): Fix loop which deletes insns after a jump
25560 that has become an unconditional jump.
25562 * m68k.c (output_function_prologue): Fix typo in CPU32 case.
25563 (output_function_epilogue): Similarly.
25565 Sun Aug 1 20:14:00 1999 Bernd Schmidt <bernds@cygnus.co.uk>
25567 * tree.h (init_dummy_function_start): Declare.
25569 Sun Aug 1 12:55:31 1999 Bernd Schmidt <bernds@cygnus.co.uk>
25571 * stmt.c (emit_filename, emit_lineno, expr_stmts_for_value,
25572 last_expr_type, last_expr_value, block_start_count, block_stack,
25573 stack_block_stack, cond_stack, loop_stack, case_stack, nesting_stack,
25574 nesting_depth, goto_fixup_chain): Delete global vars; now allocated
25575 dynamically in stmt elt of struct function for each function.
25576 (struct nesting): Rename function_call_count elt to n_function_calls,
25577 target_temp_slot_level to block_target_temp_slot_level. All users
25579 (struct stmt_status): New structure definition.
25580 Add many accessor macros for stmt_status elements which previously
25581 were global variables.
25582 (init_stmt_for_function): Allocate stmt elt for current_function.
25583 Reflect that block_start_count was renamed to
25584 current_block_start_count.
25585 (save_stmt_status, restore_stmt_status): Delete functions.
25586 (preserve_subexpressions_p): Don't access loop_stack when outside
25588 (expand_start_bindings): Reflect that block_start_count was renamed to
25589 current_block_start_count.
25590 (expand_fixup): Likewise.
25591 (expand_decl): Don't access block_stack when outside a function.
25592 (expand_decl_cleanup): Likewise.
25593 (expand_dcc_cleanup): Likewise.
25594 (expand_dhc_cleanup): Likewise.
25595 (expand_anon_union_decl): Likewise.
25596 (set_file_and_line_for_stmt): New function.
25597 (in_control_zone_p): New function.
25599 * function.h (struct function): Add new elt stmt.
25600 Delete elts block_stack, stack_block_stack, cond_stack, loop_stack,
25601 case_stack, nesting_stack, nesting_depth, block_start_count,
25602 last_expr_type, last_expr_value, expr_stmts_for_value, emit_filename,
25603 emit_lineno, goto_fixup_chain.
25604 (save_eh_status, restore_eh_status, save_stmt_status,
25605 restore_stmt_status): Delete declarations.
25606 * function.c (push_function_context_to): Don't call save_stmt_status.
25607 (pop_function_context_to): Don't call restore_stmt_status.
25608 * tree.h (in_control_zone_p): Declare.
25609 * rtl.h (set_file_and_line_for_stmt): Declare.
25611 * emit-rtl.c (emit_line_note): Don't set emit_filename/emit_lineno;
25612 call set_file_and_line_for_stmt.
25614 Thu Jul 31 12:34:45 1999 Joe Buck <jbuck@synopsys.com>
25616 * gcc.texi: Use terms "GNU Compiler Collection" and "GCC".
25617 Also update copyright.
25619 Sat Jul 31 11:10:07 1999 Bernd Schmidt <bernds@cygnus.co.uk>
25621 * c-pragma.c: Don't include "except.h".
25622 * emit-rtl.c: Likewise.
25623 * stor-layout.c: Likewise.
25624 * tree.c: Likewise.
25625 * varasm.c: Likewise.
25627 * flow.c: Include "function.h".
25628 * tree.h (init_dummy_function_start): Declare new function.
25630 * except.h (struct eh_status): New structure.
25631 (struct label_node, struct eh_entry): Declare even if tree.h hasn't
25633 (eh_return_stub_label, ehstack, catchstack, ehqueue,
25634 catch_clauses, false_label_stack, caught_return_label_stack,
25635 protect_list, current_function_ehc): Add accessor macros for the
25636 corresponding fields in current_function->eh; delete declarations
25637 for all items that used to be declared here.
25638 * except.c (eh_return_stub_label, ehstack, catchstack, ehqueue,
25639 catch_clauses, false_label_stack, caught_return_label_stack,
25640 protect_list, current_function_ehc): Delete variables.
25641 (init_eh_for_function): Allocate current_function->eh.
25642 (save_eh_status, restore_eh_status): Delete functions.
25644 * function.h (struct function): Add fields next_global and eh.
25645 Delete all exception handling related fields.
25646 * function.c (current_function): New variable.
25647 (all_functions): New variable.
25648 (push_function_context_to): Don't allocate a struct function,
25649 use current_function instead. Call init_dummy_function_start when
25650 outside a function. Clear current_function before returning.
25651 (pop_function_context_from): Restore current_function.
25652 Don't free the restored struct function.
25653 (prepare_function_start): New function.
25654 (init_dummy_function_start): New function.
25655 (init_function_start): Break out some code into prepare_function_start
25658 * stmt.c (save_stmt_status): Don't call save_eh_status.
25659 (restore_stmt_status): Don't call restore_eh_status.
25661 * Makefile.in: Update dependencies.
25663 Sat Jul 31 04:10:01 1999 Jeffrey A Law (law@cygnus.com)
25665 * pa.c (compute_frame_size): Use STARTINg_FRAME_OFFSET instead
25666 of depending on a magic constant value. Update comments.
25667 (hppa_expand_prologue): Similarly.
25669 * pa.md (reload_indi, reload_outdi): Allow any register for the
25670 original reload register.
25672 Fri Jul 30 19:41:35 1999 Jim Wilson <wilson@cygnus.com>
25674 * cccp.c (print_help): Change marcos to macros.
25676 1999-07-30 Richard Henderson <rth@cygnus.com>
25678 * c-typeck.c (initializer_constant_valid_p): Move ...
25679 * c-common.c (initializer_constant_valid_p): ... here. Use
25680 FOO_TYPE_P instead of tests against TREE_CODE. Allow subtraction
25681 of label addresses.
25682 * c-common.h (initializer_constant_valid_p): Declare.
25683 * c-tree.h (initializer_constant_valid_p): Remove.
25685 Fri Jul 30 16:33:42 1999 Mathias Froehlich <frohlich@na.uni-tuebingen.de>
25687 * config/i386/sol2-c1.asm: Align the stack.
25688 * config/i386/sol2-gc1.asm: Likewise.
25690 1999-07-30 Vladimir Makarov <vmakarov@loony.cygnus.com>
25692 * config/sparc/sparc.h (ASM_CPU32_DEFAULT_SPEC): Change -Av8 onto
25693 -Asparclite for sparc86x.
25694 (CPP_CPU32_DEFAULT_SPEC, CPP_CPU_SPEC): Remove -D__sparc_v8__ for
25696 (ASM_CPU_SPEC): Use -Asparclite for sparc86x.
25698 Fri Jul 30 14:53:56 1999 Jakub Jelinek <jj@ultra.linux.cz>
25700 * config/sparc/linux64.h (CC1_SPEC): Preserve CPU specified by
25701 the user if using the non-default arch size in BI_ARCH configuration.
25702 * config/sparc/sol2-sld-64.h (CC1_SPEC): Ditto.
25704 * config/sparc/sparc.md (cmp_mul_set, cmp_udiv_cc_set):
25705 Fix patterns so that they actually match.
25706 (cmp_sdiv_cc_set): Ditto, also don't require g0 to be zero.
25707 (mulsidi3_sp64, const_mulsidi3_sp64): New patterns.
25708 (const_mulsidi3_sp32): Renamed from const_mulsidi3, only on
25710 (mulsidi3): Reflect this in the expand.
25711 (smulsi3_highpart): Only on TARGET_ARCH32.
25712 (umulsidi3_sp64, const_umulsidi3_sp64): New patterns.
25713 (const_umulsidi3_sp32): Renamed from const_umulsidi3.
25714 (umulsidi3): Reflect this in the expand.
25715 (umulsi3_highpart): Only on TARGET_ARCH32.
25716 (divsi3_sp32): Renamed from divsi3, only on TARGET_ARCH32,
25717 don't require g0 to be zero.
25718 (udivsi3_sp32): Renamed from udivsi3, only on TARGET_ARCH32.
25719 ({,u}divsi3): New expands.
25720 ({,u}divsi3_sp64): New patterns.
25721 (after lshrdi3_v8plus): Four new patterns to help combiner
25722 optimizing nested mixed mode shifts.
25724 * config/sparc/sparc.c (sparc_override_options): Use deprecated
25725 v8 instructions if optimizing for UltraSPARC I, II, IIi, as it
25726 speed things up. Don't use them by default on plain v9 in 64bit
25727 mode, according to what SPAMv9 sais.
25729 * config/sparc/sparc.h: Fix comments, e.g. Linux already preserves
25730 top 32 bits of %[og][0-7] in signal handlers.
25731 Also, TARGET_HARD_MUL32 now is only true for TARGET_ARCH32.
25733 Fri Jul 30 03:00:41 1999 Jeffrey A Law (law@cygnus.com)
25735 * pa.md (zvdep_imm32): Renamed from zvdep_imm.
25736 (ashlsi3): Corresponding changes.
25738 * pa.c (compute_zdepwi_operands): Renamed from compute_zdepi_operands.
25740 Thu Jul 29 18:37:13 1999 Jeffrey A Law (law@cygnus.com)
25742 * pa.h (FIRST_PARM_CALLER_OFFSET): Delete.
25744 Thu Jul 29 19:01:58 1999 Bernd Schmidt <bernds@cygnus.co.uk>
25746 * arm.h (Hint): Delete macro.
25747 Substitute HOST_WIDE_INT for Hint in some prototypes.
25748 * arm.c: Substitute HOST_WIDE_INT for Hint in one prototype.
25750 Thu Jul 29 09:21:42 1999 Nick Clifton <nickc@cygnus.com>
25752 * builtins.c (expand_builtin_setjmp): Use force_operand to
25753 make sure that the buffer address is in a suitable form to be
25754 passed to force_reg.
25756 Wed Jul 28 12:50:48 1999 Geoff Keating <geoffk@cygnus.com>
25758 * config/mips/mips.c: system.h handles MIN and MAX, don't undefine
25761 Wed Jul 28 13:18:35 1999 Jeffrey A Law (law@cygnus.com)
25763 * pa.md (indirect_jump): Remove mode from match_operand. Verify
25764 proper mode in the condition string.
25765 (icacheflush, dcacheflush): Remove modes from match_operands.
25767 * pa.c (emit_move_sequence): Always convert scratch_reg to the
25768 proper mode before using it.
25770 * pa.md (adddi3, subdi3): Turn into a define_expand/define_insn
25773 * pa.c (store_reg): Do not call add_high_const generator directly.
25774 (load_reg, set_reg_plus_d): Likewise.
25775 * pa.md (add_high_const): No longer a named pattern.
25777 * pa.c (legitimize_address): Consistently use Pmode rather than
25778 SImode. Do not call gen_pic2_highpart directly anymore.
25779 * pa.md (pic2_highpart): No longer a named pattern.
25780 (pic2_lo_sum): Similarly. Reformat to make more readable.
25782 * pa.md (call, call_value): Use "word_mode" instead of "SImode" as
25787 Wed Jul 28 11:28:04 1999 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
25789 * builtins.c (expand_builtin): Typo in call to expand_builtin_ffs.
25791 Wed Jul 28 11:23:48 1999 Richard Henderson <rth@cygnus.com>
25793 * pa.c (hppa_builtin_saveregs): Use get_varargs_alias_set
25794 and tag the spill mems.
25795 (hppa_va_start): New.
25796 (hppa_va_arg): New.
25797 * pa.h (EXPAND_BUILTIN_VA_START): New.
25798 (EXPAND_BUILTIN_VA_ARG): New.
25800 Wed Jul 28 11:22:21 1999 Richard Henderson <rth@cygnus.com>
25802 * mn10300.c (mn10300_builtin_saveregs): Use get_varargs_alias_set
25803 and tag the spill mems.
25804 (mn10300_va_start): New.
25805 (mn10300_va_arg): New.
25806 * mn10300.h (EXPAND_BUILTIN_VA_START): New.
25807 (EXPAND_BUILTIN_VA_ARG): New.
25809 Wed Jul 28 11:20:19 1999 Richard Henderson <rth@cygnus.com>
25811 * mn10200.c (mn10200_va_arg): New.
25812 * mn10200.h (EXPAND_BUILTIN_VA_ARG): New.
25814 Wed Jul 28 11:19:06 1999 Richard Henderson <rth@cygnus.com>
25816 * builtins.c (std_expand_builtin_va_arg): Use int_size_in_bytes
25817 rather than play with TREE_INT_CST_LOW.
25819 1999-07-27 Philip Blundell <pb@nexus.co.uk>
25821 * config/arm/telf.h: Include dbxelf.h.
25822 (CPP_PREDEFINES): Only define if not already defined.
25823 (ASM_IDENTIFY_GCC): Likewise.
25824 (SUBTARGET_EXTRA_SECTIONS): Likewise.
25825 (SUBTARGET_EXTRA_SECTION_FUNCTIONS): Likewise.
25826 * config/arm/thumb.h (LINK_SPEC): Only define if not already
25828 (DBX_DEBUGGING_INFO): Don't define.
25829 * config/arm/linux-telf.h: New file.
25830 * config/arm/linux-tgas.h: New file.
25831 * config/arm/t-thumb-linux: New file.
25832 * config/arm/uclinux-elf.h: New file.
25833 * config/arm/uclinux-telf.h: New file.
25834 * configure.in (arm-*-uclinux, thumb-*-linux-gnu,
25835 thumb-*-uclinux): New targets.
25836 * configure: Regenerate.
25838 Tue Jul 27 23:20:21 1999 Jeffrey A Law (law@cygnus.com)
25840 * pa.md (post_store, pre_load): New expanders.
25841 (post_stwm, pre_ldwm): Renamed to post_stw and pre_ldw respectively.
25842 (post_ldwm, pre_stwm): Make these unnamed patterns since we never
25843 need to directly generate RTL for them.
25844 * pa.c (hppa_expand_prologue, hppa_expand_epilogue): Corresponding
25847 Tue Jul 27 16:05:52 1999 David Edelsohn <edelsohn@gnu.org>
25849 * aix43.h (ASM_CPU_SPEC, CPP_CPU_SPEC): Add rs64a and PPC630.
25850 * rs6000.c (processor_target_table): Add powerpc64, rs64a, and PPC630.
25851 (rs6000_cpu): Choose between 32-bit and 64-bit default processors.
25852 (secndary_reload_class): Make TARGET_ELF conditional compile.
25853 (print_operand_address): Similar.
25854 (output_toc): Print all values as hex.
25855 (get_issue_rate): Rearrange and add RS64A and PPC630.
25856 * rs6000.h (processor_type): Add RS64A and PPC630.
25857 (PROCESSOR_POWERPC64): New.
25858 (PROMOTE_MODE): Use word_mode.
25859 (RTX_COSTS): Add RS64A and PPC630.
25860 * rs6000.md (scheduling information): Add lmul and ldiv
25861 representing 64-bit integer multiply and divide. Add rs64a and
25862 PPC630 information.
25863 (ashldi3): Add support for "rldic" instruction.
25864 * sysv4.h (PROCESSOR_DEFAULT): Change to PROCESSOR_750.
25866 Tue Jul 27 15:31:53 1999 Vladimir Makarov <vmakarov@toad.to.cygnus.com>
25868 * config/sparc/sparc.c (sparc_override_options): Enable SPARCLITE
25869 instead of V8 for sparclite86x in cpu_table.
25871 Tue Jul 27 17:49:42 1999 Bernd Schmidt <bernds@cygnus.co.uk>
25873 * config/arm/coff.h (ASM_FILE_START): If generating SDB output, call
25874 output_file_directive.
25876 Tue Jul 27 03:15:33 1999 Jason Merrill <jason@yorick.cygnus.com>
25878 * expr.c (expand_expr, case PLUS_EXPR): Get the mode from the
25879 tree for op1, not the rtl.
25881 Tue Jul 27 00:18:34 1999 Richard Henderson <rth@cygnus.com>
25883 * m88k.c (m88k_builtin_saveregs): Break out the constructor code
25884 to m88k_va_start, leaving only the register spill.
25885 (m88k_build_va_list): New.
25886 (m88k_va_start): New.
25887 (m88k_va_arg): New.
25888 * m88k.h (BUILD_VA_LIST_TYPE): New.
25889 (EXPAND_BUILTIN_VA_START): New.
25890 (EXPAND_BUILTIN_VA_ARG): New.
25892 Mon Jul 26 19:07:11 1999 Geoff Keating <geoffk@cygnus.com>
25894 * config/rs6000/rs6000.c (rs6000_expand_builtin_saveregs):
25895 Rename from expand_builtin_saveregs.
25896 * config/rs6000/rs6000.h (EXPAND_BUILTIN_SAVEREGS): Change caller.
25898 Mon Jul 26 22:52:47 1999 Richard Henderson <rth@cygnus.com>
25900 * i960.c (i960_setup_incoming_varargs): Use get_varargs_alias_set
25901 for the register spill block.
25902 (i960_build_va_list): New.
25903 (i960_va_start): New.
25904 (i960_va_arg): New.
25905 * i960.h (BUILD_VA_LIST_TYPE): New.
25906 (EXPAND_BUILTIN_VA_START): New.
25907 (EXPAND_BUILTIN_VA_ARG): New.
25908 * i960.md (store_multiple): Use change_address on individul mems.
25910 Mon Jul 26 22:43:12 1999 Richard Henderson <rth@cygnus.com>
25912 * builtins.c (stabilize_va_list): Don't INDIRECT_REF through
25914 (std_expand_builtin_va_start): Back out one word if !stdarg_p.
25915 (expand_builtin_va_end): Evaluate arg for side effects.
25916 * c-common.c (c_common_nodes_and_builtins): Construct a
25917 va_list_arg_type_node to handle array decomposition to pointer.
25919 Mon Jul 26 18:51:34 1999 Richard Henderson <rth@cygnus.com>
25921 * except.c (st_dynamic_cleanup): Use force_operand on the
25924 Mon Jul 26 16:43:26 1999 Richard Henderson <rth@cygnus.com>
25926 * c4x.h (EXPAND_BUILTIN_VA_ARG): New.
25927 * c4x.c (c4x_va_arg): New.
25929 Mon Jul 26 12:30:09 1999 Jason Merrill <jason@yorick.cygnus.com>
25931 * cpplib.c (cpp_get_token): Don't return a CPP_POP if the buffer
25932 has manual_pop set.
25934 1999-07-26 Nathan Sidwell <nathan@acm.org>
25936 * eh-common.h (__eh_matcher): Prototype correctly.
25938 Mon Jul 26 17:24:51 1999 Philip Blundell <pb@nexus.co.uk>
25940 * config/arm/thumb.h (THUMB_FLAG_SINGLE_PIC_BASE): Define.
25941 (TARGET_SINGLE_PIC_BASE): Likewise.
25942 (GOT_PCREL, NEED_GOT_RELOC, NEED_PLT_RELOC): Provide default
25944 (TARGET_CALLEE_INTERWORKING): Fix typo in comment.
25945 (TARGET_SWITCHES): Add -m{no-}single-pic-base.
25946 (TARGET_OPTIONS): Add -mpic-register=N.
25947 (OUTPUT_INT_ADDR_CONST): New macro.
25948 (INDEX_REGISTER_RTX_P, PIC_OFFSET_TABLE_REGNUM, FINALIZE_PIC,
25949 LEGITIMATE_PIC_OPERAND_P): Likewise.
25950 (LEGITIMIZE_ADDRESS, GOT_IF_LEGITIMATE_ADDRESS): Support PIC.
25951 (ASM_OUTPUT_INT): Use OUTPUT_INT_ADDR_CONST rather than calling
25952 output_addr_const directly.
25953 (PRINT_OPERAND_PUNCT_VALID_P): Accept `|' for compatibility with
25955 (thumb_pic_register, thumb_pic_register_string): Declare.
25957 * config/arm/thumb.c (symbol_mentioned_p): New function: Imported
25959 (label_mentioned_p): New function: Imported from arm.c.
25960 (legitimize_pic_address): New function: Imported from arm.c.
25961 (is_pic):New function: Imported from arm.c.
25962 (thumb_finalize_pic):New function: Imported from arm.c.
25963 (add_constant): Cope with PIC constants.
25964 (fixit): Cope with PIC constants.
25965 (output_return): Do not treat the PIC register as live if
25966 TARGET_SINGLE_PIC_BASE is true.
25967 (thumb_function_prologue): Do not treat the PIC register as live if
25968 TARGET_SINGLE_PIC_BASE is true.
25969 (thumb_expand_prologue): Do not treat the PIC register as live if
25970 TARGET_SINGLE_PIC_BASE is true.
25971 (thumb_unexpand_epilogue): Do not treat the PIC register as live if
25972 TARGET_SINGLE_PIC_BASE is true.
25973 (thumb_print_operand): Accept '|'.
25974 (thumb_override_options): Process PIC options.
25976 * config/arm/thumb.md (movsi): Support PIC.
25977 (call_insn): Change "i" constraint to "X".
25978 (call_value_insn): Likewise.
25979 (consttable_4, consttable_8, consttable_end): Set and clear
25980 "making_const_table" as appropriate.
25981 (pic_load_addr, pic_add_dot_plus_four): New insns.
25983 * invoke.texi (Thumb Options): Fix spelling. Document new
25984 options -msingle-pic-base and -mpic-register=.
25986 1999-07-26 Andrew Haley <aph@cygnus.com>
25988 * config/m32r/initfini.c (__init): Use a full word immediate for
25989 __fini: this allows it to be placed in any memory region.
25991 * config/m32r/t-m32r: Compile crtinit.o and crtfini.o for
25992 -mmodel=medium. This is OK for all memory models.
25994 Mon Jul 26 11:58:46 1999 Nick Clifton <nickc@cygnus.com>
25996 * config/arm/arm.c: Replace %R%s in asm_fprintf strings with %r.
25997 * config/arm/arm.h: Replace %R%s in asm_fprintf strings with %r.
25999 Mon Jul 26 10:23:36 1999 Nick Clifton <nickc@cygnus.com>
26001 * final.c (asm_fprintf): Accept ASM_FPRINTF_EXTENSIONS, if
26004 * tm.texi: Document ASM_FPRINTF_EXTENSIONS.
26006 Sun Jul 25 23:51:59 1999 Richard Henderson <rth@cygnus.com>
26008 * i860.h (EXPAND_BUILTIN_SAVEREGS): New.
26009 (BUILD_VA_LIST_TYPE): New.
26010 (EXPAND_BUILTIN_VA_START): New.
26011 (EXPAND_BUILTIN_VA_ARG): New.
26012 * i860.c (output_delayed_branch): Disable.
26013 (output_delay_insn): Likewise.
26014 (i860_saveregs): New.
26015 (i860_build_va_list): New.
26016 (i860_va_start): New.
26017 (i860_va_arg): New.
26018 * i860.md: Disable all peepholes using output_delayed_branch.
26019 * i860/sysv4.h (I860_SVR4_VA_LIST): New.
26021 Sun Jul 25 23:44:13 1999 Richard Henderson <rth@cygnus.com>
26023 * clipper.h (EXPAND_BUILTIN_SAVEREGS): Remove argument.
26024 (BUILD_VA_LIST_TYPE): New.
26025 (EXPAND_BUILTIN_VA_START): New.
26026 (EXPAND_BUILTIN_VA_ARG): New.
26027 * clipper.c (clipper_builtin_saveregs): Only dump registers.
26028 Return the address of the save area.
26029 (clipper_build_va_list): New.
26030 (clipper_va_start): New.
26031 (clipper_va_arg): New.
26033 Sun Jul 25 22:56:47 1999 Richard Henderson <rth@cygnus.com>
26035 * arc.h (EXPAND_BUILTIN_VA_START): New.
26036 (EXPAND_BUILTIN_VA_ARG): New.
26037 * arc.c (arc_setup_incoming_varargs): Set alias set of
26039 (arc_va_start): New.
26042 Sun Jul 25 22:45:55 1999 Richard Henderson <rth@cygnus.com>
26044 * alpha.h (EXPAND_BUILTIN_SAVEREGS): Delete.
26045 (BUILD_VA_LIST_TYPE): New.
26046 (EXPAND_BUILTIN_VA_START): New.
26047 (EXPAND_BUILTIN_VA_ARG): New.
26048 * alpha.c (alpha_builtin_saveregs): Delete.
26049 (alpha_build_va_list): New.
26050 (alpha_va_start): New.
26051 (alpha_va_arg): New.
26053 Sun Jul 25 21:40:33 1999 Jeffrey A Law (law@cygnus.com)
26055 * config/svr4.h (CTORS_SECTION_ASM_OP): Do not emit directives in
26057 (DTORS_SECTION_ASM_OP, INIT_SECTION_ASM_OP): Likewise.
26058 (FINI_SECTION_ASM_OP, ASM_OUTPUT_SECTION_NAME): Likewise.
26060 * gcc.texi: More changes related to list conversion.
26061 * invoke.texi: Likewise.
26063 Sun Jul 25 18:15:39 1999 Richard Henderson <rth@cygnus.com>
26065 * builtins.c (expand_builtin_saveregs): Remove static, remove exp
26066 and ignore arguments, bail if no EXPAND_BUILTIN_SAVEREGS.
26067 (expand_builtin_next_arg): Accept ARGLIST not EXP.
26068 (stabilize_va_list): New function.
26069 (std_expand_builtin_va_start): New function.
26070 (expand_builtin_va_start): New function.
26071 (get_varargs_alias_set): New function.
26072 (std_expand_builtin_va_arg): New function.
26073 (expand_builtin_va_arg): New function.
26074 (expand_builtin_va_end): New function.
26075 (expand_builtin_va_copy): New function.
26076 (expand_builtin): Call them.
26077 * c-common.c (c_common_nodes_and_builtins): Build __builtin_va_list,
26078 __builtin_{varargs_start,stdarg_start,end,copy}.
26079 (build_va_arg): New function.
26080 * c-common.h (CTI_PTR_TYPE, ptr_type_node): Delete.
26081 (build_va_arg): Declare.
26082 * c-decl.c (ptr_type_node, va_list_type_node): New.
26083 * c-parse.gperf (__builtin_va_arg): New.
26084 * c-parse.in (VA_ARG): New token.
26085 (unary_expr): Recognize it.
26086 * expr.c (expand_expr): Expand VA_ARG_EXPR.
26087 * expr.h (std_expand_builtin_va_start): Declare.
26088 (std_expand_builtin_va_arg): Declare.
26089 (expand_builtin_va_arg): Declare.
26090 (get_varargs_alias_set): Declare.
26091 * tree.def (VA_ARG_EXPR): New.
26092 * tree.h (BUILT_IN_VARARGS_START): New.
26093 (BUILT_IN_STDARG_START, BUILT_IN_VA_END): New.
26094 (ptr_type_node, va_list_type_node): Declare.
26095 * tm.texi (EXPAND_BUILTIN_SAVEREGS): Kill unused ARGLIST argument.
26096 * m32r.h (EXPAND_BUILTIN_SAVEREGS): Likewise.
26097 * m88k.h, m88k.c: Likewise.
26098 * mn10300.h, mn10300.c: Likewise.
26099 * pa.h, pa.c: Likewise.
26100 * rs6000.h, rs6000.c: Likewise.
26101 * sh.h, sh.c: Likewise.
26102 * sparc.h, sparc.c: Likewise.
26104 * emit-rtl.c (operand_subword): Copy alias set.
26105 (change_address): Likewise.
26107 Sun Jul 25 15:04:37 1999 Jeffrey A Law (law@cygnus.com)
26109 * pa.c (compute_frame_size): Scan all the used callee saved registers,
26110 not just the first one.
26112 Fri Jul 23 14:09:58 1999 Philip Blundell <pb@nexus.co.uk>
26114 * config/arm/arm.h (TARGET_SWITCHES): Add
26115 -m{no-}single-pic-base. Correct help string for -mshort-load-words.
26116 (TARGET_OPTIONS): Add -mpic-register=.
26117 (ARM_FLAG_SINGLE_PIC_BASE, TARGET_SINGLE_PIC_BASE): Define.
26118 (arm_pic_register_string): Declare.
26119 (NEED_PLT_GOT): Delete, replace with ...
26120 (NEED_GOT_RELOC, NEED_PLT_RELOC): ... these. New macros.
26121 (OUTPUT_INT_ADDR_CONST): Replace NEED_PLT_GOT with NEED_GOT_RELOC.
26122 (ASM_OUTPUT_MI_THUNK): Replace NEED_PLT_GOT with NEED_PLT_RELOC.
26123 * config/arm/arm.c (arm_override_options): Add new option
26125 (arm_pic_register_string): New variable.
26126 (arm_finalize_pic): Respect TARGET_SINGLE_PIC_BASE.
26127 (output_func_prologue): If TARGET_SINGLE_PIC_BASE, treat the PIC
26128 register as never live. Use NEED_PLT_RELOC not NEED_PLT_GOT.
26129 (output_return_instruction): Likewise.
26130 * config/arm/elf.h (NEED_PLT_GOT): Delete, replace with ...
26131 (NEED_GOT_RELOC, NEED_PLT_RELOC): ... these. Define to flag_pic.
26132 * config/arm/arm.md: Use NEED_PLT_RELOC in place of NEED_PLT_GOT.
26134 * invoke.texi (ARM Options): Fix spelling. Remove duplicate
26135 mention of -msched-prolog. Document new options -msingle-pic-base
26136 and -mpic-register=.
26138 Thu Jul 22 18:23:56 1999 Richard Henderson <rth@cygnus.com>
26140 * haifa-sched.c (reemit_notes): Tidy.
26141 * sched.c (reemit_notes): Duplicate 1998-08-31 patch to
26144 Thu Jul 22 18:21:04 1999 Richard Henderson <rth@cygnus.com>
26146 * explow.c (trunc_int_for_mode): New function.
26147 (plus_constant_wide): Use it.
26148 * combine.c (simplify_and_const_int): Likewise.
26149 (merge_outer_ops): Likewise.
26150 (simplify_shift_const): Likewise.
26151 * cse.c (simplify_unary_operation): Likewise.
26152 (simplify_binary_operation): Likewise.
26153 * emit-rtl.c (operand_subword): Likewise.
26154 * rtl.h: Declare it.
26156 Thu Jul 22 14:34:59 1999 Bernd Schmidt <bernds@cygnus.co.uk>
26158 * config/arm/arm.c (arm_print_operand): Fix typo in 'M' case
26159 (use NUM_REGS instead of NUM_INTS).
26161 Thu Jul 22 11:25:20 1999 Bernd Schmidt <bernds@cygnus.co.uk>
26163 * builtins.c: New file.
26164 * expr.c (saveregs_value, apply_args_value): Delete definition,
26165 moved into builtins.c.
26166 (string_constant): No longer static.
26167 (get_pointer_alignment, c_strlen, get_memory_rtx, expand_builtin,
26168 apply_args_size, apply_result_size, result_vector,
26169 expand_builtin_apply_args, expand_builtin_apply,
26170 expand_builtin_return): Delete functions, moved into builtins.c.
26171 (INCOMING_REGNO, OUTGOING_REGNO): Delete unused macros.
26172 * expr.h (saveregs_value, apply_args_value): Declare variables.
26173 (expand_builtin, string_constant): Declare functions.
26174 * Makefile.in: Update to build builtin.o.
26176 Wed Jul 21 00:46:58 1999 Mark P. Mitchell <mark@codesourcery.com>
26178 * defaults.h (DWARF2_GENERATE_TEXT_SECTION_LABEL): New macro.
26179 * tm.texi (DWARF2_GENERATE_TEXT_SECTION_LABEL): Define it.
26180 * dwarf2out.c (dwarf2out_init): Don't output a label to mark the
26181 start of the text section if DWARF2_GENERATE_TEXT_SECTION_LABEL is
26183 * config/mips/iris6.h (DWARF2_GENERATE_TEXT_SECTION_LABEL):
26186 1999-07-21 Michael Meissner <meissner@cygnus.com>
26188 * print-rtl.c (print_rtx): Print the names of the virtual
26191 Wed Jul 21 16:00:32 1999 Nick Clifton <nickc@cygnus.com>
26193 * config/arm/arm.h (INITIAL_ELIMINATION_OFFSET): Fix typo
26194 introduced in previous delta.
26196 Wed Jul 21 14:30:51 1999 Bernd Schmidt <bernds@cygnus.co.uk>
26198 * c-lang.c (finish_file): Rename void_list_node to void_list_node_1
26199 to avoid name clash.
26201 Wed Jul 21 08:39:22 1999 Gavin Romig-Koch <gavin@cygnus.com>
26203 * c-lex.c (yylex) : Correct the test for overflow when lexing
26206 Tue Jul 20 18:02:42 1999 Richard Henderson <rth@cygnus.com>
26208 * haifa-sched.c (insn_cost): FREE implies cost 0 and vice versa.
26209 (adjust_priority): Always call ADJUST_PRIORITY.
26210 (schedule_insn): Only put insns into the ready at cost 0.
26211 (schedule_block): Remove redundant initial sort. Give clock_var
26212 and can_issue_more to MD_SCHED_REORDER. Requeue if hazard cost
26214 * tm.texi (MD_SCHED_REORDER): Update docs.
26216 * sparc.h (MD_SCHED_REORDER): Update. Set CAN_ISSUE_MORE.
26217 * sparc.c (ultra_reorder_called_this_block): Delete.
26218 (ultrasparc_sched_init): Don't set it.
26219 (ultrasparc_sched_reorder): Don't check it.
26221 Tue Jul 20 17:07:54 1999 Richard Henderson <rth@cygnus.com>
26223 * rs6000.h (struct rs6000_args): Add sysv_gregno.
26224 * rs6000.c (init_cumulative_args): Init sysv_gregno.
26225 (function_arg_boundary): Align DFmode.
26226 (function_arg_advance): Restructure for ABI_V4; use sysv_gregno
26227 to get fp reg and stack overflow correct.
26228 (function_arg): Likewise.
26229 (function_arg_pass_by_reference): True for TFmode for ABI_V4.
26230 (setup_incoming_varargs): Restructure for ABI_V4; use
26231 function_arg_advance to skip final named argument.
26232 (expand_builtin_saveregs): Properly unskip the last integer arg
26233 when doing varargs. Adjust overflow location calculation.
26235 * ginclude/va-ppc.h (struct __va_list_tag): Make gpr and fpr
26236 explicitly unsigned.
26237 (__VA_FP_REGSAVE): Use new OFS argument instead of AP->fpr directly.
26238 (__VA_GP_REGSAVE): Similarly.
26239 (__va_longlong_p): Delete.
26240 (__va_arg_type_violation): New declaration.
26241 (va_arg): Restructure. Flag promotion errors. Align double.
26242 TFmode passed by reference.
26244 * rs6000.md (movdi_32+1): Use GEN_INT after arithmetic
26245 in the HOST_BITS_PER_WIDE_INT > 32 case.
26247 Tue Jul 20 12:37:30 1999 Hans-Peter Nilsson <hp@bitrange.com>
26249 * dwarf2out.c (output_abbrev_section): Terminate with a zero.
26251 Tue Jul 20 12:12:27 1999 Jason Merrill <jason@yorick.cygnus.com>
26253 * gcc.c (default_compilers, cpp-output): Pass -fpreprocessed.
26254 * toplev.c (documented_lang_options): Add -fpreprocessed.
26255 * cpplib.h (struct cpp_buffer): Add preprocessed.
26256 * cppinit.c (cpp_handle_option): Handle -fpreprocessed.
26257 (cpp_start_read): Don't expand macros or emit an initial #line
26258 directive if -fpreprocessed.
26260 Tue Jul 20 12:12:09 1999 Michael Tiemann <tiemann@holodeck.cygnus.com>
26262 * cpplib.h (struct cpp_buffer): Added manual_pop for
26263 better C++ tokenization.
26264 * cpplib.c (cpp_get_token): Return CPP_EOF if manual_pop.
26265 Also, support C++ tokenization for ->*, .*, <?, and >? operators.
26266 * c-common.c (cpp_token): Make non-static.
26268 Tue Jul 20 11:24:19 1999 Bernd Schmidt <bernds@cygnus.co.uk>
26270 * c-common.h: New file.
26271 * c-common.c (permanent_obstack): Delete unused declaration.
26272 (c_global_trees): New array.
26273 (c_common_nodes_and_builtins): New function; split off common code
26274 from init_decl_processing in both c-decl.c and cp/decl.c.
26275 * c-tree.h: Delete lots of declarations of tree nodes; replaced by
26276 c_global_trees and accessor macros defined in c-common.h.
26277 Include c-common.h.
26278 * c-decl.c: Delete definitions for tree nodes that were replaced by
26280 (init_decl_processing): Build void_list_node.
26281 Call c_common_nodes_and_builtins; delete code to generate the common
26283 * objc/objc-act.c (build_module_descriptor): Rename variable
26284 void_list_node to avoid clash with c-common.h.
26286 * Makefile.in: Update dependencies.
26287 * objc/Make-lang.in: Likewise.
26289 Mon Jul 19 14:22:18 1999 Mark P. Mitchell <mark@codesourcery.com>
26291 * config/mips/iris6gld.h (MAKE_DECL_ONE_ONLY): Define.
26292 (UNIQUE_SECTION_P): Likewise.
26293 (UNIQUE_SECTION): Likewise.
26295 1999-07-19 Linas Vepstas <linas@linas.org>
26297 * config/i370/README: New file.
26298 * config/i370/linux.h: New file.
26299 * config/i370/mvs.h: New file.
26300 * config/i370/oe.h: New file.
26301 * config/i370/t-linux: New file.
26302 * config/i370/t-mvs: New file.
26303 * config/i370/t-oe: New file.
26304 * config/i370/x-oe: New file.
26305 * config/i370/xm-linux.h: New file.
26306 * config/i370/xm-mvs.h: New file.
26307 * config/i370/xm-oe.h: New file.
26309 * i370.c (label_node_t): Add first_ref_page, label_addr,
26310 label_first_ref, label_last_ref members.
26311 (mvs_need_base_reload): Renamed from mvs_label_emitted.
26312 (MAX_MVS_LABEL_SIZE): Define.
26313 (MAX_LONG_LABEL_SIZE): Define.
26314 (alias_node_t, alias_anchor, alias_number): New.
26315 (mvs_function_table): Reorder for EBCDIC.
26316 (ascebc, ebcasc): Unconditionally define.
26317 (i370_branch_dest, i370_branch_length): New functions.
26318 (i370_short_branch, i370_label_scan): New functions.
26319 (mvs_get_label): Renamed from mvs_add_label. Search for
26320 an existing label before creating a new one.
26321 (mvs_add_label): New function.
26322 (mvs_get_label_page): New function.
26323 (mvs_free_label_list): Renamed from mvs_free_label. Iterate
26324 over the entire list.
26325 (mvs_check_page) [TARGET_HLASM]: Use BASR not BALR.
26326 (mvs_check_page) [TARGET_ELF_ABI]: New function.
26327 (mvs_add_alias, mvs_need_alias): New functions.
26328 (mvs_get_alias, mvs_check_alias): New functions.
26329 (handle_pragma): New function.
26330 (mvs_function_check): New function.
26331 (unsigned_jump_follows_p): Search harder.
26332 (i370_function_prolog) [TARGET_HLASM]: Handle LE370. Scan labels.
26333 (i370_function_prolog) [TARGET_ELF_ABI]: New function.
26334 * i370.h (TARGET_VERSION): Delete.
26335 (CPP_SPEC, CPP_PREDEFINES): Delete.
26336 (mvs_label_emitted): Delete.
26337 (TARGET_EBCDIC): Delete.
26338 (MAP_CHARACTER): Define only if TARGET_EBCDIC.
26339 (HANDLE_PRAGMA): Define.
26340 (HARD_REGNO_NREGS): Handle complex modes.
26341 (HARD_REGNO_MODE_OK): Likewise.
26342 (CLASS_MAX_NREGS): Likewise.
26343 (RET_REG): Likewise.
26344 (EXTRA_CONSTRAINT): Define.
26345 (RETURN_IN_MEMORY): True for DImode.
26346 (TRAMPOLINE_TEMPLATE): Use gen_rtx instead of GEN_INT.
26347 (FUNCTION_PROFILER): Delete.
26348 (COUNT_REGS): Fail if REG_P but not REG_OK_FOR_BASE_P.
26349 (NOTICE_UPDATE_CC): Correct handling of MULT, DIV, logicals and shifts.
26350 (TARGET_ESC, TARGET_BELL): Conditionally define for TARGET_EBCDIC.
26351 (TARGET_BS, TARGET_TAB, TARGET_NEWLINE): Likewise.
26352 (TARGET_VT, TARGET_FF, TARGET_CR): Likewise.
26353 (ASM_FILE_START): Add "RMODE ANY".
26354 (ASM_OUTPUT_EXTERNAL): Check for aliases.
26355 (ASM_GLOBALIZE_LABEL): Likewise.
26356 (ASM_OUTPUT_LABELREF): Likewise.
26357 (ASM_OUTPUT_COMMON): Likewise.
26358 (PRINT_OPERAND): Handle 'K', 'W', default.
26359 (PRINT_OPERAND_ADDRESS): New.
26360 (Lots of defines): Add support for TARGET_ELF_ABI.
26361 * i370.md (attr length): New. Define for all patterns.
26362 (*): Lots of tweeks to assembly output and constraints.
26364 Mon Jul 19 15:09:29 1999 David Edelsohn <edelsohn@gnu.org>
26366 * rs6000.md (arithmetic, logical, and shift Rc combiner patterns):
26367 Disable patterns performing SImode comparisons with SImode values
26368 if TARGET_POWERPC64 and instruction does not sign-extend or does
26369 not mask to narrower than SImode, i.e. where bit 31 and bit 63 may
26370 differ for signed quantities.
26371 (indirect_jump): Add expander to choose RTL based on TARGET_64BIT.
26372 (tablejump): Patterns contingent on TARGET_64BIT not TARGET_POWERPC64.
26373 (decrement_and_branch_on_count): Add 64-bit variant.
26375 Mon Jul 19 09:36:27 1999 Bernd Schmidt <bernds@cygnus.co.uk>
26377 * final.c (output_asm_insn): When searching for the matching string
26378 for a given dialect, don't run past the end of the list of
26379 alternatives if there are fewer alternatives in the template than
26382 1999-07-17 Alexandre Oliva <oliva@dcc.unicamp.br>
26384 * gcc.texi: Update e-mail addresses and URLs to gcc.gnu.org.
26385 Removed paragraph about compression of files and size limitation,
26386 duplicated in the FAQ. Use gcc-patches for posting patches.
26387 * gcc.c (main): Updated URL with bug reporting instructions to
26388 gcc.gnu.org. Removed e-mail address.
26389 * system.h (abort): Likewise.
26391 1999-07-17 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
26393 * Makefile.in (stmp-multilib-sub): Make the files extracted
26394 from $(LIBGCC1) writable.
26396 Sat Jul 17 14:25:46 1999 Nick Clifton <nickc@cygnus.com>
26398 * config/arm/aout.h: Reformat for improved readability.
26400 * config/arm/arm.h: Reformat for improved readability.
26401 Replace uses of fprintf with asm_fprintf where appropriate.
26402 (ARM_DECLARE_FUNCTION_NAME): New macro: Perform any generic ARM
26403 function declaration assembler actions.
26404 (NUM_INTS): New macro: Convert from bytes to words.
26405 (NUM_REGS): New macro: Compute number of registers required to
26406 hold a quanitity of tyep MODE.
26407 (NUM_REGS2): New macro: Like NUM_REGS but also copes with BLKmode
26409 (NUM_ARG_REGS): New macro: The number of argument registers
26411 (ARG_REGISTER): New macro: Compute the register number of the Nth
26413 (LAST_ARG_REGNUM): New macro: The number of the last argument
26415 (SP_REGNUM): New macro: Register number of the stack pointer.
26416 (FP_REGNUM): New macro: Register number of the frame pointer.
26417 (FUNCTION_ARG, FUNCTION_ARG_PARTIAL_NREGS, INIT_CUMULATIVE_AGS,
26418 FUNCTION_ARG_ADVANCE, SETUP_INCOMING_VARARGS): Change
26419 CUMULATIVE_ARGS so that it counts registers not bytes.
26421 * config/arm/arm.c: Rename TARGET_THUMB_INTERWORK to
26423 Replace uses of fprintf with asm_fprintf where appropriate.
26424 (output_ascii_pseudo_op): Replace with version from thumb.c
26426 * config/arm/coff.h (ASM_FILE_START): Emit ASM_APP_OFF.
26428 * config/arm/elf.h (CPP_PREDEFINES): Replace with
26429 SUBTARGET_CPP_SPEC.
26430 (ASM_DECLARE_FUNCTION_NAME): Use ARM_DECLARE_FUNCTION_NAME.
26431 (ASM_FILE_START): Emit ASM_APP_OFF.
26433 Fri Jul 16 13:48:09 1999 Jeffrey A Law (law@cygnus.com)
26435 * pa.c (compute_frame_size): Round frame according to
26436 STACK_BOUNDARY rather than a hardwired value.
26438 * pa.h (POINTER_SIZE, PARM_BOUNDARY): Define in terms of BITS_PER_WORD.
26440 * configure.in (hppa*-*-hpux11*): Use symbolic MASK_PA_11 instead
26442 * configure: Rebuilt.
26444 * configure.in (hppa*-*-linux*): New configuration.
26445 * configure: Rebuilt.
26446 * pa.h (MAX_OFILE_ALIGNMENT): Delete.
26447 * pa/som.h (MAX_OFILE_ALIGNMENT): Define.
26448 * pa/pa-linux.h: New file.
26449 * pa/t-linux: New file.
26450 * pa/xm-linux.h: New file.
26452 * pa.c (hppa_legitimize_address): Change references from SImode to
26453 either Pmode or word_mode as appropriate.
26454 (emit_move_sequence, store_reg, load_reg): Likewise.
26455 (set_reg_plus_d, hppa_expand_prologue): Likewise.
26456 (output_mul_insn): Likewise.
26457 * pa.h (PROMOTE_MODE): Likewise.
26458 (INITIALZE_TRAMPOLINE): Likewise.
26459 (Pmode): Define to word_mode.
26461 * pa.c (compute_frame_size): Use UNITS_PER_WORD instead of hardwired
26462 value of 4. Allocate 8 bytes for each FP register save.
26463 (hppa_expand_epilogue): Use UNITS_PER_WORD instead of harwarewired
26465 (hppa_expand_prologue): Likewise.
26466 * pa.h (PROMOTE_MODE): Likewise.
26467 (HARD_REGNO_MODE_OK, FUNCTION_ARG_SIZE): Likewise.
26468 (FUNCTION_ARG_BOUNDARY): Likewise.
26470 * invoke.texi (HPPA Options): Remove -mspace/-mno-space.
26472 * pa.c (out_of_line_prologue_epilogue): Delete.
26473 (override_options): Remove -mspace related code.
26474 (hppa_expand_prologue, hppa_expand_epilogue): Likewise.
26475 (compute_frame_size): Only allocate space for register that
26476 actually need to be saved.
26477 * pa.h (MASK_SPACE, TARGET_SPACE): Delete.
26478 (TARGET_SWITCHES): Remove -mspace, -mno-space
26479 * pa/t-pa (LIB2FUNCS_EXTRA): Remove ee.asm and ee_fp.asm
26480 * pa/t-pro (LIB2FUNCS_EXTRA): Likewise. Remove -mspace multilib.
26481 * pa/ee.asm, pa/ee_fp.asm: Delete.
26483 * pa/elf.h (ASM_OUTPUT_DOUBLE_INT): Define.
26485 * config/svr4.h (CONST_SECTION_ASM_OP): Do not emit assembler
26486 directive in column zero.
26488 Fri Jul 16 01:39:57 1999 Jeffrey A Law (law@cygnus.com)
26490 * m68k.c (output_function_prologue): Fix computation of save mask
26491 when generating PIC code.
26493 Thu Jul 15 15:40:09 1999 Jim Wilson <wilson@cygnus.com>
26495 * tree.c (build_type_attribute_variant): Move current_obstack restore
26496 after build_qualified_type call.
26498 1999-07-15 Mark Mitchell <mark@codesourcery.com>
26500 * configure.in: Use t-iris6, even with GNU LD.
26501 * config/mips/iris6gld.h: Fix typo in linker spec.
26502 * config/mips/t-iris6gld: Remove.
26504 Thu Jul 15 15:15:43 1999 David Edelsohn <edelsohn@gnu.org>
26506 * rs6000.md (insv, extzv): Remove SImode dependence in named
26507 patterns. Explicitly generate DImode RTL if PowerPC64 and
26509 (insvdi): Reverse start and size in instruction template.
26511 1999-07-12 Joseph S. Myers <jsm28@cam.ac.uk>
26513 * invoke.texi: Typo fixes.
26515 Wed Jul 14 23:28:06 1999 Jeffrey A Law (law@cygnus.com)
26517 * emit-rtl.c (gen_realpart): Issue an error for cases GCC can not
26518 handle at this time instead of silently generating incorrect code.
26519 (gen_imagpart): Likewise.
26521 * reload.c (find_reloads): Emit a USE for a pseudo register without
26522 a hard register if we could not create an optional reload for the
26525 Wed Jul 14 23:45:48 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
26527 * c-typeck.c (output_init_element, process_init_element):
26528 When advancing constructor_unfilled_fields for a RECORD_TYPE,
26529 check for nameless bit fields.
26531 Wed Jul 14 01:57:39 1999 Richard Henderson <rth@cygnus.com>
26533 * regclass.c (scan_one_insn): Notice subregs that change the
26534 size of their operand.
26535 (record_reg_classes): Use that to obey CLASS_CANNOT_CHANGE_SIZE.
26537 Wed Jul 14 01:41:42 1999 Jeffrey A Law (law@cygnus.com)
26539 * configure.in (alpha*-*-*): Include alpha/t-ieee.
26540 * configure: Rebuilt.
26541 * alpha/t-ieee: New file.
26543 Tue Jul 13 10:45:58 1999 Jeffrey A Law (law@cygnus.com)
26545 * rs6000.c (find_addr_reg): Do not select r0 as an address
26548 Tue Jul 13 00:46:18 1999 Philippe De Muyter <phdm@macqel.be>
26550 * m68k/x-mot3300 (XCFLAGS): List of big files now includes `cse.o'.
26552 Mon Jul 12 14:29:15 1999 Jeffrey A Law (law@cygnus.com)
26554 * rs6000.md (movsf): Do not force easy FP constants into memory.
26556 * expr.c (expand_expr, case PLUS_EXPR): Pass constants through
26557 immed_double_const to ensure they are properly truncated then
26560 Mon Jul 12 10:40:01 1999 Vladimir Makarov <vmakarov@tofu.to.cygnus.com>
26562 * config/arm/thumb.c (thumb_reorg): Call replace_symbols_in_block
26563 always unless NO_DEBUG is used. Compile this code
26565 (replace_symbols_in_block): Compile it unconditionally.
26567 Sun Jul 11 12:32:32 1999 Jeffrey A Law (law@cygnus.com)
26569 * configure.in (i?86-*-elf*): New target.
26570 * configure: Rebuilt.
26571 * i386/i386elf.h, i386/t-i386elf: New files.
26573 Fri Jul 9 22:39:44 1999 Jason Merrill <jason@yorick.cygnus.com>
26575 * toplev.c (main): Don't complain about saying -gdwarf.
26576 (rest_of_compilation): Remove redundant code.
26578 Fri Jul 9 19:08:55 1999 Jim Wilson <wilson@cygnus.com>
26580 * unroll.c (unroll_loops): Don't delete named CODE_LABELs.
26582 Fri Jul 9 18:54:18 1999 Felix Lee <flee@cygnus.com>
26584 * config/i960/i960.c (ret_label): Change asm label from "LR:" to
26585 "Li960R:", to avoid name clash.
26587 Fri Jul 9 10:48:28 1999 Bernd Schmidt <bernds@cygnus.co.uk>
26589 * loop.c (check_dbra_loop): When reversing a loop, delete all
26590 REG_EQUAL notes referencing the reversed biv except those which are
26591 for a giv based on it.
26593 Fri Jul 9 03:51:52 1999 Jeffrey A Law (law@cygnus.com)
26595 * version.c: Drop "gcc-" prefix from version #.
26597 Thu Jul 8 18:06:30 1999 Jason Merrill <jason@yorick.cygnus.com>
26599 * dwarf2out.c (dwarf2out_line): Emit a line number comment after
26600 the label if we're being verbose.
26602 Thu Jul 8 14:18:46 1999 Richard Henderson <rth@cygnus.com>
26604 * m68k.c (output_function_prologue): Add pic register to mask
26605 if live and flag_pic.
26606 (output_function_epilogue): Likewise.
26608 Thu Jul 8 12:55:12 1999 Jeffrey A Law (law@cygnus.com)
26610 * dbxelf.h (ASM_OUTPUT_SOURCE_LINE): Do not put assembler
26611 directives in column zero.
26613 * pa/elf.h (ASM_FILE_START): Define.
26614 * pa/som.h (ASM_FILE_START): Include .level directives.
26615 * pa/hpux10.h (ASM_FILE_START): Delete.
26616 * pa/hpux11.h (ASM_FILE_START): Delete.
26618 * pa/elf.h (BSS_SECTION_ASM_OP): Use .section .bss.
26620 Thu Jul 8 18:03:19 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
26622 * reload1.c (choose_reload_regs): Never call remove_adress_replacements
26623 when reload_out equals reload_in.
26625 Thu Jul 8 16:50:14 1999 Nick Clifton <nickc@cygnus.com>
26627 * invoke.texi (Spec Files): New node: Describe the contents of
26630 Thu Jul 8 10:28:25 1999 Craig Burley <craig@jcb-sc.com>
26632 * invoke.texi (DEC Alpha Options): Put @end table at
26633 beginning of line, to avoid confusing texi2html.
26635 Thu Jul 8 09:22:06 1999 Nick Clifton <nickc@cygnus.com>
26637 * config/arm/elf.h (ASM_OUTPUT_INTERNAL_LABEL): Fixed typo
26638 introduced in previous delta.
26640 Wed Jul 7 02:00:04 1999 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
26642 * reload1.c (gen_reload): When synthesizing a 3 operand add
26643 sequence, improve test for when to reload OP1 into the reload
26644 register instead of OP0.
26646 Wed Jul 7 01:38:03 1999 Jim Wilson <wilson@cygnus.com>
26648 * unroll.c (unroll_loop): Don't delete NOTE_INSN_DELETED_LABEL notes.
26650 1999-07-07 Manfred Hollstein <mhollstein@cygnus.com>
26652 * m88k/dguxbcs.h (CPP_SPEC): Add missing \ in multi-line
26655 Wed Jul 7 01:16:43 1999 Richard Henderson <rth@cygnus.com>
26657 * ginclude/varargs.h (__builtin_va_alist_t): New typedef.
26658 (va_dcl): Use __builtin_va_alist_t.
26660 Wed Jul 7 01:14:42 1999 Jason Merrill <jason@yorick.cygnus.com>
26662 * dwarf2out.c (gen_struct_or_union_type_die): Only remember types
26663 on the permanent_obstack.
26664 * dwarfout.c (output_type): Likewise.
26666 Tue Jul 6 15:25:32 1999 Gavin Romig-Koch <gavin@cygnus.com>
26668 * c-common.c (unsigned_type,signed_type,signed_or_unsigned_type) :
26669 Merged from c-typeck.c and cp/typeck.c.
26670 * c-typeck.c (unsigned_type,signed_type,signed_or_unsigned_type) :
26671 Merged into c-common.
26673 Tue Jul 6 13:06:01 1999 Dave Brolley <brolley@cygnus.com>
26675 * c-lex.c (errorcount): Declare it.
26676 (finish_parse): Update errorcount when using CPPLIB.
26678 1999-07-06 Bruce Korb <ddsinc09@ix.netcom.com>
26680 * fixinc/inclhack.def(end_else_label): Double the backslash so
26681 sed gets a chance to see it.
26682 * fixinc/inclhack.sh: regen
26683 * fixinc/fixincl.x: regen
26685 Fri Jul 2 18:49:51 1999 Nick Clifton <nickc@cygnus.com>
26687 Add framework to support armv5 architecture when it becomes
26690 * config/arm/arm.c (FL_ARCH5): New processor capability flag.
26691 (arm_arch5): New variable.
26692 (all_architectures): Add armv5 line.
26693 * config/arm/arm.h (CPP_CPU_ARCH_SPEC): Define __ARM_ARCH_5__ if
26694 -march=armv5 is specified on the command line.
26695 (arm_arch5): Export this variable.
26696 * invoke.texi: Document new string accepted by -march= switch for
26699 * config/arm/arm.h: Replace use of constant 12 as a register
26700 number with IP_REGNUM. Similarly 14 and LR_REGNUM.
26701 * config/arm/arm.c: Replace use of constant 12 as a register
26702 number with IP_REGNUM. Similarly 14 and LR_REGNUM.
26704 * config/arm/elf.h: Tidy up.
26705 * config/arm/coff.h: Tidy up.
26707 Thu Jul 1 19:08:13 1999 Mark P. Mitchell <mark@codesourcery.com>
26709 * gcc/configure.in (mips-sgi-irix6*): Handle --with-gnu-ld.
26710 * gcc/config/mips/t-iris6gld: New file.
26711 * gcc/config/mips/iris6gld.h: Likewise.
26713 Fri Jul 2 13:23:39 1999 Gavin Romig-Koch <gavin@cygnus.com>
26715 * c-decl.c (widest_integer_literal_type_node,
26716 widest_unsigned_literal_type) : New.
26717 (init_decl_processing): Handle/use the two new types.
26718 * c-common.c (type_for_size,type_for_mode) : Same.
26719 * c-lex.c (yylex) : Same.
26720 * c-typeck.c (unsigned_type,signed_type,signed_or_unsigned_type) :
26722 * c-tree.h (widest_integer_literal_type_node,
26723 widest_unsigned_literal_type) : New.
26725 Fri Jul 2 03:05:44 1999 Jeffrey A Law (law@cygnus.com)
26727 * dwarfout.c (field_byte_offset): Correctly compute the object's
26728 byte offset for the first bit of a field which crosses an alignment
26729 boundary on a !BYTES_BIG_ENDIAN target.
26731 Fri Jul 2 01:36:36 1999 Robert Lipe <robertlipe@usa.net>
26733 * fixinc.svr4: Fix <arpa/inet.h> by deleting protos for htons and
26736 Fri Jul 2 00:46:47 1999 Richard Henderson <rth@cygnus.com>
26737 Jeff Law <law@cygnus.com>
26739 * ginclude/varargs.h (va_dcl): Use word_mode for type of
26742 * except.c: Include intl.h.
26743 (expand_eh_return): Set current_function_cannot_inline.
26744 (save_eh_status, restore_eh_status): Twiddle eh_return_stub_label.
26745 * function.h (struct function): Add eh_return_stub_label.
26746 * flow.c (delete_unreachable_blocks): Don't merge across EH edges.
26747 * Makefile.in (except.o): Depend on intl.h.
26749 Fri Jul 2 00:04:23 1999 David Edelsohn <edelsohn@gnu.org>
26751 * rs6000.md (movdf_hardfloat32): Handle PRE_INC and PRE_DEC the
26752 same as offsettable in cases 1 and 2.
26754 Thu Jul 1 20:54:10 1999 Richard Henderson <rth@cygnus.com>
26756 * alpha.md (extqh): Define as 64-((R&7)*8) instead of 56-(((R-1)&7)*8).
26757 (extlh, extwh): Likewise.
26759 Thu Jul 1 11:05:25 1999 Gavin Romig-Koch <gavin@cygnus.com>
26761 * c-lex.c (yylex): Improve 'integer constant out of range' messages.
26763 Wed Jun 30 16:51:41 1999 Nick Clifton <nickc@cygnus.com>
26765 * configure.in: Add arm-pe and thumb-pe targets.
26766 * configure: Regenerate.
26768 * thumb.c (arm_naked_function_p): New function: Determines if
26769 a function is naked (has no gcc generated prologue/epilogue).
26770 (is_called_in_ARM_mode): Return true if the func has the
26771 interfacearm attribute.
26772 (output_return): Do not generate a return for naked functions.
26773 (thumb_function_prologue): Do not generate a prologue for
26775 (thumb_expand_prologue): Do not generate a prologue for naked
26777 (thumb_expand_epilogue): Do not generate an epilogue for naked
26779 (arm_valid_machine_decl_attribute): New function, copied from
26780 arm.c: Permit naked and interfacearm attributes.
26782 * config/arm/pe.c: New file: Support code for arm-pe target.
26783 * config/arm/pe.h: New file: Header file for arm-pe target.
26784 * config/arm/tpe.h: New file: Header file for thumb-pe target.
26785 * config/arm/t-thumb-pe: New file: Makefile fragment for
26788 1999-07-01 Mark Kettenis <kettenis@gnu.org>
26790 * config/i386/gnu.h (CPP_SPEC): Define __PIC__ and __pic__ if
26791 -fPIC or -fpic is specified.
26793 Wed Jun 30 03:31:54 1999 Jeffrey A Law (law@cygnus.com)
26795 * expr.c (emit_block_move): Use copy_to_mode_reg for
26796 !TARGET_MEM_FUNCTIONS case too.
26798 * configure.in (hppa*-*-*): Add som.h or elf.h to tm_file as
26800 * configure: Rebuilt.
26801 (hppa1.1-*-pro*, hppa1.1-*-rtems*): Define target_cpu_default.
26802 * pa.h: Include dbxelf.h. Delete various dbx/stabs related
26803 definitions made redundant by dbxelf.h inclusion. Delete
26804 lots of definitions related to assembly output that are
26805 specific to the SOM object format.
26806 * pa.c (output_function_prologue): Do not emit the function's
26808 * pa-pro-end.h (STARTFILE_SPEC): Undefine before redefining.
26809 * pa-pro.h: Deleted.
26810 * som.h: New file with SOM specific definitions.
26811 * elf.h: New file with ELF specific definitions.
26813 * elfos.h (const_section): Output a tab before assembler directives.
26814 (ctors_section, dtors_section): Likewise.
26815 (ASM_OUTPUT_SECTION_NAME): Likewise.
26817 * pa/pa1.h: Delete unused file.
26819 Tue Jun 29 01:37:53 1999 Jeffrey A Law (law@cygnus.com)
26821 * configure.in (hppa*-hp-hpux11*): New configuration.
26822 * configure: Rebuilt.
26823 * pa/pa-hpux11.h: New file.
26824 * pa.h (CPP_SPEC): Conditionally add -D__STDC_EXT__ to the cpp
26827 * mips.md (leasi, leadi): New patterns.
26829 * expr.c (emit_block_move): Properly handle case where one of the
26830 block move arguments has a queued increment or decrement.
26831 (clear_storage): Similarly. Fix formatting goof.
26833 1999-06-28 "David O'Brien" <obrien@NUXI.com>
26835 * fixinc/inclhack.def(stdio_va_list): This patch Removes a
26836 semicolon from the BSD VA_LIST replacement expression.
26838 * fixinc/inclhack.sh: regen
26839 * fixinc/fixincl.x: regen
26841 * fixinc/mkfixinc.sh: Have `i[34567]86-*-freebsd*' machines
26842 now use the fixincl program.
26844 Mon Jun 28 05:28:12 1999 Jeffrey A Law (law@cygnus.com)
26846 * m68k.h (CONDITIONAL_REGISTER_USAGE): Define for !SUN_FPA
26847 case. Also make the PIC register call_used.
26849 * m68k.h (FINALIZE_PIC): Delete.
26850 * m68k.c (finalize_pic): Delete.
26852 Mon Jun 28 05:16:35 1999 Richard Henderson <rth@cygnus.com>
26854 * m68k.h (PREFERRED_RELOAD_CLASS): Don't force any FP const_doubles
26857 Mon Jun 28 04:07:27 1999 David Edelsohn <edelsohn@gnu.org>
26859 * expmed.c (expand_divmod): Ensure unsigned value fits in reg_note.
26861 Sun Jun 27 02:39:08 1999 Richard Henderson <rth@cygnus.com>
26863 * jump.c (jump_optimize_1): Validate the cmov copy to a temporary.
26865 Sat Jun 26 17:18:18 1999 David Edelsohn <edelsohn@gnu.org>
26867 * rs6000.c (print_operand, case 'L'): Use plus_constant_for_output.
26869 Fri Jun 25 11:33:24 1999 Richard Henderson <rth@cygnus.com>
26871 * alpha.c (override_options): Add -mcpu=ev45 as an alias for ev4.
26873 Fri Jun 25 13:41:25 1999 David Edelsohn <edelsohn@gnu.org>
26875 * rs6000.c (output_toc): Always use hex values for floating-point
26876 constants. Store single-precision values in upper-half of TOC
26877 entry in 64-bit mode.
26878 * rs6000.md (floatsidf2, floatunssidf2): Add !TARGET_POWERPC64
26879 to final constraints.
26880 (fix_truncdfsi2 splitter): Change pattern matching fctiwz.
26881 (fctiwz): Improve accuracy of RTL for pattern.
26883 Fri Jun 25 11:26:38 1999 Gavin Romig-Koch <gavin@cygnus.com>
26885 * expr.c (expand_expr): Allow RTL_EXPR's through the
26886 MAX_INTEGER_COMPUTATION_MODE checks.
26888 Fri Jun 25 06:06:37 1999 Richard Henderson <rth@cygnus.com>
26890 * alpha.h (MASK_SUPPORT_ARCH, MASK_CPU_EV5, MASK_CPU_EV6): Define
26891 such that MASK_SUPPORT_ARCH is not negative.
26893 Fri Jun 25 05:35:44 1999 Jeffrey A Law (law@cygnus.com)
26895 * loop.c (verify_dominator): Properly handle ADDR_VEC and
26896 ADDR_DIFF_VEC insns that appear inside loops.
26898 Thu Jun 24 22:54:05 1999 David Edelsohn <edelsohn@gnu.org>
26899 Jeff Law <law@cygnus.com>
26901 * rs6000.md (movdf_hardfloat32): Revert previous patch.
26902 Handle LO_SUM the same as offsettable in cases 1 and 2.
26903 * rs6000.c (find_addr_reg): Revert previous patch.
26905 Thu Jun 24 22:43:12 1999 Philippe De Muyter <phdm@macqel.be>
26907 * system.h (strstr): New external function declaration.
26908 * acconfig.h (NEED_DECLARATION_STRSTR): New define slot.
26909 * configure.in (GCC_NEED_DECLARATIONS): Check for strstr.
26910 * config.in, configure: Rebuilt.
26912 1999-06-24 Tom Tromey <tromey@cygnus.com>
26914 * gcc.c (main): Read user-specified specs files after computing
26915 additional startfile_prefixes.
26917 Thu Jun 24 15:00:47 1999 Mark Mitchell <mark@codesourcery.com>
26919 Revert these two patches:
26921 Thu Jun 17 21:34:24 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
26922 * loop.c (strength_reduce): When doing biv->giv conversion, update
26923 reg note of NEXT->insn.
26925 Thu Jun 17 17:22:07 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
26926 * loop.c (strength_reduce): When doing biv->giv conversion, fix up
26928 (recombine_givs): Set ix field after sorting.
26930 Wed Jun 23 21:26:00 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
26932 * rtlanal.c (reg_referenced_p): Use reg_overlap_mentioned_p
26933 for the parts of an UNSPEC / UNSPEC_VOLATILE.
26935 1999-06-23 Bruce Korb <ddsinc09@ix.netcom.com>
26937 *fixinc/inclhack.def: Add fix development commentary
26938 (read_ret_type): reactivate and add selection clause
26939 (zzz_*): tweak output file name to match what is used in hackshell.tpl
26940 *fixinc/{fixincl.x|inclhack.sh}: regen
26942 Wed Jun 23 00:48:21 1999 Jason Merrill <jason@yorick.cygnus.com>
26944 * expr.c (expand_expr): STRIP_NOPS before checking against
26945 MAX_INTEGER_COMPUTATION_MODE
26946 (check_max_integer_computation_mode): Likewise.
26948 Tue Jun 22 20:23:43 1999 Jim Wilson <wilson@cygnus.com>
26950 * md.texi (smul@var{m}3_highpart): Add missing 's' prefix.
26952 1999-06-22 Jim Wilson <wilson@cygnus.com>
26954 * expr.c (store_expr): When target is a promoted subreg, return a
26955 promoted subreg as a result.
26957 Tue Jun 22 17:14:58 1999 Michael Meissner <meissner@cygnus.com>
26959 * dwarf2out.c (dwarf2out_frame_debug_expr): Reformat to match GNU
26961 (dwarf2out_define): Mark unused parameters appropriately.
26962 (gen_unspecified_parameters_die): Ditto.
26963 (gen_subprogram_die): Fix signed/unsigned warnings.
26964 (gen_variable_die): Ditto.
26966 1999-06-22 Bruce Korb <ddsinc09@ix.netcom.com>
26968 * fixinc/inclhack.def(end_else_label): combined else_label
26969 and endif_label and fixed the sed expression.
26970 *fixinc/{fixincl.x|inclhack.sh}: regen
26972 Tue Jun 22 01:58:18 1999 Jeffrey A Law (law@cygnus.com)
26974 * rs6000.md (movdf_hardfloat32): Use %X instead of always emitting
26975 'x' when handling non-offsettable addresses
26977 Tue Jun 22 00:20:05 1999 Richard Earnshaw (rearnsha@arm.com)
26979 * final.c (shorten_branches): Don't try to split an insn that has
26982 Mon Jun 21 12:47:39 1999 Mark Mitchell <mark@codesourcery.com>
26984 * config/mips/mips.c (symbolic_expression_p): New function.
26985 (mips_select_rtx_section): Put symbolic expressions in the
26986 data section, not the read-only data section.
26988 Mon Jun 21 22:13:06 1999 Jeffrey A Law (law@cygnus.com)
26990 * rs6000.md (find_addr_reg): Handle LO_SUM addresses.
26992 Mon Jun 21 20:10:42 1999 Richard Henderson <rth@cygnus.com>
26994 * collect2.c (main): Log frame table count.
26995 (GCC_OK_SYMBOL) [ECOFF]: Accept stGlobal.
26996 (scan_prog_file) [COFF]: Handle frame tables.
26998 * alpha/alpha.h (UNALIGNED_SHORT_ASM_OP): Define.
26999 (UNALIGNED_INT_ASM_OP, UNALIGNED_DOUBLE_INT_ASM_OP): Define.
27000 * alpha/elf.h: Undef them again.
27001 * alpha/vms.h: Remove their definitions.
27003 Tue Jun 22 03:17:53 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
27005 * sh.c (machine_dependent_reorg): When fixing up fp pcloads,
27006 remove the clobber of r0 and change the REG_UNUSED note to
27009 1999-06-21 Jakub Jelinek <jj@ultra.linux.cz>
27011 * real.c (ereal_from_double): Fix for 64-bit big endian hosts.
27012 * emit-rtl.c (gen_lowpart_common): Add case for hosts where double
27013 fits in HOST_WIDE_INT and one uses union to access a long constant
27016 Mon Jun 21 17:18:25 1999 Richard Henderson <rth@cygnus.com>
27018 * sparc.c (sparc_override_options): Don't allow profiling for
27019 code models other than medlow.
27020 (sparc_function_profiler): New function from old FUNCTION_PROFILER
27021 macro. Use ASM_GENERATE_INTERNAL_LABEL and MCOUNT_FUNCTION.
27022 (sparc_function_block_profiler): Likewise. Use user_label_prefix.
27023 (sparc_block_profiler): Likewise.
27024 (sparc_function_block_profiler_exit): Likewise.
27025 * sparc.h (FUNCTION_PROFILER): Call new sparc.c function.
27026 (FUNCTION_BLOCK_PROFILER): Likewise.
27027 (BLOCK_PROFILER): Likewise.
27028 (FUNCTION_BLOCK_PROFILER_EXIT): Likewise.
27029 (MCOUNT_FUNCTION): New.
27030 * sparc/pbd.h (FUNCTION_PROFILER): Delete.
27031 (FUNCTION_BLOCK_PROFILER, BLOCK_PROFILER): Delete.
27032 * sparc/sun4o3.h (FUNCTION_PROFILER): Delete.
27033 (MCOUNT_FUNCTION): New.
27034 * sparc/sysv4.h (FUNCTION_BLOCK_PROFILER): Delete.
27035 (BLOCK_PROFILER): Delete.
27036 (MCOUNT_FUNCTION): New.
27038 Mon Jun 21 14:11:29 1999 David Edelsohn <edelsohn@gnu.org>
27040 * rs6000.md (movdf_hardfloat32): Fix typo in case 2.
27042 Mon Jun 21 12:27:17 1999 Vladimir Makarov <vmakarov@tofu.to.cygnus.com>
27044 * config/mips/elf.h (BSS_SECTION_ASM_OP, ASM_OUTPUT_ALIGNED_BSS):
27047 * config/m68k/m68kelf.h (BSS_SECTION_ASM_OP, ASM_OUTPUT_ALIGNED_BSS):
27050 * config/sh/sh.h (BSS_SECTION_ASM_OP, ASM_OUTPUT_ALIGNED_BSS):
27053 * config/arm/telf.h (BSS_SECTION_ASM_OP, ASM_OUTPUT_ALIGNED_BSS):
27056 Mon Jun 21 14:58:42 1999 Nick Clifton <nickc@cygnus.com>
27058 * config/arm/arm.h: Add cpp support for ARM920 and ARM920T cpu
27061 Mon Jun 21 06:22:21 1999 Mark Elbrecht <snowball3@bigfoot.com>
27063 * i386/djgpp.h (LIB_SPEC): New.
27064 (STARTFILE_SPEC): New.
27066 * i386/xm-djgpp.h (NO_SYS_SIGLIST): Deleted. Now obsolete.
27068 Mon Jun 21 06:19:33 1999 Philippe De Muyter <phdm@macqel.be>
27070 * fixinc/Makefile.in (gnu-regex.o): Do not define STDC_HEADERS in
27073 * system.h (WSTOPSIG): New macro.
27075 Mon Jun 21 05:33:15 1999 Mumit Khan <khan@xraylith.wisc.edu>
27077 * c-pragma.c (push_alignment): Don't ignore alignments greater than
27079 (insert_pack_attributes): Take into account member natural
27082 * i386/winnt.c (exports_head): New static variable.
27083 (i386_pe_record_exported_symbol): New function.
27084 (i386_pe_asm_file_end): Use.
27085 * i386/cygwin.h (ASM_OUTPUT_COMMON): Record the exported
27086 symbols to be emitted at end of assembly.
27087 (ASM_DECLARE_OBJECT_NAME): Likewise.
27088 (ASM_DECLARE_FUNCTION_NAME): Likewise.
27090 * i386/uwin.h (CPP_SPEC): Use -idirafter instead -iprefix and
27093 Mon Jun 21 04:44:31 1999 Jeffrey A Law (law@cygnus.com)
27095 * sparc.h (LEGITIMIZE_RELOAD_ADDRESS): Fix paren error introduced
27098 Sun Jun 20 17:27:20 1999 Richard Henderson <rth@cygnus.com>
27100 * haifa-sched.c (sched_analyze_1): Use free_list instead of
27101 zapping reg_last_uses directly.
27102 (sched_analyze_2, sched_analyze_insn): Likewise.
27103 (sched_analyze): Likewise. Don't clear reg_last_uses on calls.
27105 Sun Jun 20 16:57:29 1999 David Edelsohn <edelsohn@gnu.org>
27107 * rs6000.md (movdf_hardfloat32): Use worst case insn length
27108 attributes for cases 1 and 2.
27110 Sat Jun 19 22:52:55 1999 Richard Henderson <rth@cygnus.com>
27112 * haifa-sched.c (sched_analyze): Mark call-user regs as clobbered
27115 Sat Jun 19 05:40:07 1999 Philip Blundell <pb@nexus.co.uk>
27117 * arm.c (arm_reload_in_hi): Invert sense of test on BYTES_BIG_ENDIAN.
27119 Sat Jun 19 05:25:05 1999 Richard Earnshaw (rearnsha@arm.com)
27121 * arm.h (CONDITIONAL_REGISTER_USAGE): If flag_pic, never use
27122 PIC_OFFSET_TABLE_REGNUM for general alloaction.
27123 (INITIAL_ELIMINATION_OFFSET): Count the fact that the PIC register
27124 must be stacked if it is used for PIC accesses.
27125 * arm.c (use_return_insn): Handle PIC register specially.
27126 (output_return_instruction): Likewise.
27127 (output_func_{prologue,epilogue}): Likewise.
27128 (output_expand_prologue): Likewise.
27130 * arm.md (*adddf_esfdf_df): Renamed from *adddf_df_esfdf.
27131 (*strsi_predec): Renamed from *strqi_predec.
27132 (*loadsi_shiftpreinc): Renamed from *loadqi_shiftpreinc.
27133 (*loadsi_shiftpredec): Renamed from *loadqi_shiftpredec.
27135 * arm.c (arm_override_options): Remove warning about PIC code
27136 not being supported.
27138 Fri Jun 18 23:47:06 1999 David Edelsohn <edelsohn@gnu.org>
27140 * rs6000.c (find_addr_reg): New function.
27141 * rs6000.h (find_addr_reg): Declare.
27142 (offsettable_addr_operand): Delete.
27143 * rs6000.md (movdf_hardfloat32): Handle non-offsettable loads
27144 from and stores to GPRs.
27146 Fri Jun 18 15:44:18 1999 Richard Henderson <rth@cygnus.com>
27148 * alpha.c (alpha_expand_block_move): Use get_insns rather than
27149 gen_sequence as argument to emit_no_conflict_block.
27151 Fri Jun 18 07:02 1999 Bruce Korb <ddsinc09@ix.netcom.com>
27153 * fixinc/mkfixinc.sh: enable the fixincl program for DG/UX
27154 * fixinc/inclhack.def(dgux_int_varargs): script must end with \n
27155 *fixinc/fixincl.x: regen
27156 *fixinc/inclhack.sh: regen
27158 Thu Jun 17 15:06:10 PDT 1999 Don Lindsay <dlindsay@cygnus.com>
27160 * added support for -mpcrel (PC relative addressing for m68k)
27161 based on code done by Michael Tiemann <tiemann@axon.cygnus.com>.
27162 * invoke.texi (m68000 options): Add documentation for -mpcrel flag.
27163 * m68k.c (print_operand_address): Handle 32-bit PIC case.
27164 (comments for general_src_operand): Add some explanation
27165 about EXTRA_CONSTRAINTS.
27166 (OVERRIDE_OPTIONS): Enable -fPIC in combination with -mpcrel.
27167 * m68kelf.h (OVERRIDE_OPTIONS): Ditto.
27168 (LEGITIMATE_PIC_OPERAND_P): Fix typo.
27169 (LEGITIMATE_PIC_OPERAND_P): Re-derive from m68k.h case.
27170 * m68k.h (LEGITIMATE_PIC_OPERAND_P): Fix delete-o.
27171 (INDIRECTABLE_1_ADDRESS): Delete spurious '/' at end of macro.
27172 (OVERRIDE_OPTIONS): Change behavior so that -mpcrel implies -fpic
27173 if not already set.
27174 (OVERRIDE_OPTIONS): Merge in changes from m68k.h.
27175 * m68k.h (TARGET_PCREL): New target flag.
27176 (TARGET_SWITCHES): Add "pcrel" as a recognized switch.
27177 (OVERRIDE_OPTIONS): Add checks for -mpcrel.
27178 (LEGITIMATE_PIC_OPERAND_P): Don't normally accept anything that
27179 contains a SYMBOL_REF. Relax this constraint during reload, since
27180 we want to use the predicates, not reload's built-in concept of a
27181 valid memory address, to control what insns need reloading.
27182 (EXTRA_CONSTRAINT): Define constraints to accept pc-relative
27183 operands (essentially 'g', 'm', and 's' under normal circumstances).
27184 * m68k.c (print_operand): Cause printing of pc-relative addresses
27185 to include pc register.
27186 (print_operand_address): Ditto.
27187 (general_src_operand): Accept operands that are not only
27188 general_operands, but are also valid when used as a pc-relative
27190 (nonimmediate_src_operand): Similar, for nonimmediate_operands.
27191 (memory_src_operand): Similar, for memory_operands.
27192 (pcrel_address): New predicate to accept the special case of a
27193 pc-relative address.
27194 * m68k.md (many patterns): Rewrite common SImode, HImode, and
27195 QImode insns to accept *_src_operand instead of *_operand where
27196 pc-relative operands can fit. For example, a pc-relative operand
27197 can be used as a memory source operand for addsi3, but not as a
27198 memory destination.
27199 * hp320.h linux.h m68kv4.h (LEGITIMATE_PIC_OPERAND_P) as in m68k.h.
27201 Fri Jun 18 09:11:07 1999 Nick Clifton <nickc@cygnus.com>
27203 * config/arm/telf.h (ASM_OUTPUT_DEF_FROM_DECLS): New Marco: USe
27204 .thumb_set pseudo op to mark aliases of thumb functions.
27206 Wed Jun 16 18:19:13 1999 Nick Clifton <nickc@cygnus.com>
27208 * varasm.c (assemble_alias): Use ASM_OUTPUT_DEF_FROM_DECLS in
27209 preference to ASM_OUTPUT_DEF, if it is defined.
27211 * tm.texi: Document new, optional target macro
27212 ASM_OUTPUT_DEF_FROM_DECLS.
27214 Thu Jun 17 15:07 1999 Bruce Korb <ddsinc09@ix.netcom.com>
27216 * fixincludes: ISCNTL patch
27217 * fixinc/inclhack.def (ioctl_fix_ctrl): Fix the definition of [_]*ISCTRL().
27218 (dgux_int_varargs): new for DG/UX
27219 * fixinc/{fixincl.x,inclhack.sh}: Regenerated.
27221 Thu Jun 17 21:34:24 1999 Jeff Law <law@cygnus.com>
27223 * invoke.texi (ia32 options): Fix typo.
27225 Thu Jun 17 21:34:24 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
27227 * loop.c (strength_reduce): When doing biv->giv conversion, update
27228 reg note of NEXT->insn.
27230 Thu Jun 17 14:25:08 1999 Jeffrey A Law (law@cygnus.com)
27232 * loop.c (move_movables): Note issues with replacing REGs with
27234 * mips.h (GO_IF_LEGITIMATE_ADDRESS): Handle SUBREGs properly.
27236 Thu Jun 17 13:28:30 1999 David O'Brien <obrien@FreeBSD.org>
27238 * i386/freebsd-elf.h (LINK_SPEC): Fix typo.
27240 * i386/freebsd-elf.h (FUNCTION_PROFILER): labels are not needed and
27241 the reference to `mcount' was not correct for the ELF on FreeBSD.
27243 Thu Jun 17 17:22:07 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
27245 * loop.c (strength_reduce): When doing biv->giv conversion, fix up
27248 (recombine_givs): Set ix field after sorting.
27250 Thu Jun 17 02:54:30 1999 Jeffrey A Law (law@cygnus.com)
27252 * emit-rtl.c (operand_subword): Tighten checks for when it is safe
27253 to safe to extract a subword out of a REG.
27255 Thu Jun 17 01:45:24 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
27257 * sh.md (mulsi3): Don't add a no-op move at the end.
27259 Wed Jun 16 20:29:00 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
27261 * cse.c (cse_insn): Don't put hard register source into tables for
27262 the last insn of a libcall.
27264 Wed Jun 16 19:44:33 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
27266 * loop.c (strength_reduce): Insert sets of derived givs at every
27267 biv increment, even if it's the only one.
27269 Wed Jun 16 10:33:02 1999 Jason Merrill <jason@yorick.cygnus.com>
27271 * dwarfout.c (add_incomplete_type): New fn.
27272 (output_type): Call it.
27273 (retry_incomplete_types): New fn.
27274 (dwarfout_finish): Call it.
27276 From Eric Raskin <ehr@listworks.com>:
27277 (output_type): Output types for bases.
27279 Tue Jun 15 12:51:23 1999 Alexandre Oliva <oliva@dcc.unicamp.br>
27281 * mips.c (mips_output_conditional_branch): Add `break'
27282 between `default' label and `close braces'.
27284 Tue Jun 15 01:55:20 1999 David O'Brien <obrien@FreeBSD.org>
27286 * i386/freebsd-elf.h (LINK_SPEC): clean up the linking library
27287 specifications and make it realistic.
27288 (LIB_SPEC): Likewise.
27290 Mon Jun 14 15:38:43 1999 Jim Wilson <wilson@cygnus.com>
27292 * config/mips/mips.c (mips_secondary_reload_class): Check for
27293 (PLUS (SP) (REG)) and return appropriate register class.
27294 * config/mips/mips.md (reload_insi): Delete predicate for operand 1.
27295 Handle (PLUS (SP) (REG)).
27296 (tablejump): In mips16 code, use emit_insn instead of emit_jump_insn.
27297 (tablejump_mips161, tablejump_mips162): Use emit_jump_insn instead
27298 of emit_insn for tablejump.
27300 Mon Jun 14 17:26:40 1999 David Edelsohn <edelsohn@gnu.org>
27302 * rs6000.c (output_prolog): RS6000_CALL_GLUE must be
27303 asm_fprintf format string by itself.
27304 (output_function_profiler): Likewise.
27306 Mon Jun 14 12:57:38 1999 David Mosberger <davidm@hpl.hp.com>
27308 * combine.c (simplify_logical, case AND): Only call
27309 simplify_and_const_int if the mode is no wider than HOST_WIDE_INT
27310 or the constant is positive.
27312 Mon Jun 14 11:43:41 1999 Nick Clifton <nickc@cygnus.com>
27314 * configure.in: Fix typo in rs6000-ibm-aix4 case.
27315 * configure: Regenerate.
27317 Mon Jun 14 03:55:40 1999 Jeffrey A Law (law@cygnus.com)
27319 * configure.in (rs6000-ibm-aix4.3*, powerpc-ibm-aix4.3*): Do not
27320 require a sub-version #.
27321 * configure: Rebuilt.
27323 1999-06-14 Robert Lipe (robertlipe@usa.net)
27325 * svr4.h (DWARF2_DEBUGGING_INFO): Check for redefinition.
27327 Mon Jun 14 10:30:52 BST 1999 Nathan Sidwell <nathan@acm.org>
27329 * c-typeck.c (process_init_element): Detect excess elements in
27330 char array initializer.
27332 1999-06-14 Andreas Jaeger <aj@arthur.rhein-neckar.de>
27334 * gcc.texi: Mention gcc 2.96 instead of egcs 1.00.
27336 Sat Jun 12 22:29:48 EDT 1999 Jerry Quinn <jquinn@nortelnetworks.com>
27338 * invoke.texi (Option Summary): Add -fpermissive flag.
27340 Sat Jun 12 03:40:42 1999 Jeffrey A Law (law@cygnus.com)
27342 * sparc.h (LEGITIMIZE_RELOAD_ADDRESS): Do nothing with operands
27343 that require PIC code sequences.
27345 Wed Jun 9 16:29:01 1999 Nick Clifton <nickc@cygnus.com>
27347 * configure.in: Add new target: thumb-elf.
27348 * configure: Regenerate.
27349 * config/arm/t-thumb-elf: New file: Makefile fragment for
27351 * config/arm/telf.h: New file: Header file for thumb-elf
27354 Fri Jun 11 03:17:51 1999 Jeffrey A Law (law@cygnus.com)
27356 * Makefile.in (libgcc2): Pass MAYBE_USE_COLLECT2 as an argument.
27357 * libgcc2.c (__CTOR_LIST, __DTOR_LIST); Do not provide
27358 initializers is some circumstances.
27360 * fixinc/inclhack.def (endif_label): Add additional selector for
27361 more bogus stuff after #endif statements.
27362 * fixinc/inclhack.sh, fixinc/fixincl.x: Rebuilt.
27364 Thu Jun 10 20:44:36 1999 Mumit Khan <khan@xraylith.wisc.edu>
27366 * i386/cygwin.h (SET_ASM_OP): Define.
27368 Thu Jun 10 20:37:57 1999 Mumit Khan <khan@xraylith.wisc.edu>
27370 * reg-stack.c (stack_reg_life_analysis): Find all the RETURN insns.
27372 Thu Jun 10 19:23:00 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
27374 * sh.h (TARGET_HARWARD, TARGET_HARVARD): Changed the former to the
27377 * sh.md (ic_invalidate_line_i): Remove second alternative.
27379 Thu Jun 10 06:55 1999 Bruce Korb <ddsinc09@ix.netcom.com>
27381 *fixinc/inclhack.def(sun_auth_proto): We do not know how to
27382 test for the presence of valid prototypes. Delete bypass expr.
27383 (ioctl_fix_ctrl): Correct the selection expression.
27384 (no_double_slash): Correct quoting rules
27385 *fixinc/fixincl.x: regen
27386 *fixinc/inclhack.sh: regen
27388 Thu Jun 10 15:08:15 1999 Nick Clifton <nickc@cygnus.com>
27390 * config/arm/arm.c (struct all_cores): Add ARM920 and ARM920t.
27392 Wed Jun 9 15:57:57 1999 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
27394 * rs6000.md (movsi_got_internal_mem): Delete.
27395 * rs6000.h (CONDITIONAL_REGISTER_USAGE): Mark PIC_OFFSET_TABLE_REGNUM.
27396 (GOT_TOC_REGNUM): Delete.
27397 (PIC_OFFSET_TABLE_REGNUM): Define.
27398 (FINALIZE_PIC): Disable.
27399 * rs6000.c (rs6000_got_register): New code for fixed pic register.
27400 (rs6000_replace_regno): Delete.
27401 (rs6000_finalize_pic): Likewise.
27402 (output_prolog): Handle PIC_OFFSET_TABLE_REGNUM.
27404 Wed Jun 9 19:44:26 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
27406 * loop.c (loop_insn_first_p): Don't compare LUIDs when P
27407 is a note; use <= for the compare; advance P while it is
27410 Wed Jun 9 13:12:24 1999 Jeffrey A Law (law@cygnus.com)
27412 * fixinc/inclhack.def (no_double_slash): Fix quoting for test.
27413 * fixinc/inclhack.sh, fixinc/fixincl.x, fixinc/fixincl.sh; Rebuilt.
27415 * varasm.c (remove_from_pending_weak_list): Verify t->name
27416 is non-NULL before passing it to strcmp.
27418 Wed Jun 9 06:50 1999 Bruce Korb <ddsinc09@ix.netcom.com>
27420 *fixinc/inclhack.def(sun_auth_proto): bypass the patch if
27421 the typed arguments are not part of a comment
27422 (ioctl_fix_ctrl): Added a purpose comment
27423 *fixinc/fixincl.x: regenerate
27424 *fixinc/inclhack.sh: regenerate
27426 Wed Jun 9 22:57:02 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
27428 * invoke.texi: Add C4x invocation docs.
27430 Wed Jun 9 22:34:38 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
27432 * config/c4x/c4x.h (TARGET_EXPOSE_LDP, LEGITIMIZE_RELOAD_ADDRESS):
27434 * config/c4x/c4x.c (c4x_emit_move_sequence, src_operand): Use
27436 (c4x_legitimize_reload_address): New function.
27437 * config/c4x/c4x.md: Update docs.
27439 Wed Jun 9 04:14:48 1999 Jeffrey A Law (law@cygnus.com)
27441 * fixincludes: Avoid removing '.'.
27442 * fixinc/fixinc.svr4: Likewise.
27443 * fixinc/fixinc.winnt: Likewise.
27444 * fixinc/inclhack.tpl: Likewise.
27445 * fixinc/fixincl.sh, fixinc/inclhack.sh: Rebuilt.
27447 1999-06-09 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
27449 * fixinc/inclhack.def (sun_catmacro): Escape parens in the select
27451 * fixinc/fixincl.x, fixinc/inclhack.sh: Rebuilt.
27453 Wed Jun 9 03:10:34 1999 Mumit Khan <khan@xraylith.wisc.edu>
27455 * c-pragma.c (handle_pragma_token): Handle `#pragma pack()'
27458 Tue Jun 8 13:06:15 1999 Jim Wilson <wilson@cygnus.com>
27460 * configure.in (rs6000-ibm-aix4.[12]*): Change rx6000 to rs6000.
27461 * configure: Regenerate.
27463 Tue Jun 8 05:47:48 1999 Richard Earnshaw (rearnsha@arm.com)
27465 * optabs.c (expand_cmplxdiv_wide): Use expand_abs to get the absolute
27468 Mon Jun 7 22:30:37 1999 Jeffrey A Law (law@cygnus.com)
27470 * fixinc/inclhack.def (avoid_bool): Also catch
27471 "typedef [unsigned] int bool".
27472 * fixinc/inclhack.sh, fixinc/fixincl.x, fixinc/fixincl.sh: Rebuilt.
27474 * m68k/x-hp3bsd44: Delete obsolete and incorrect file.
27475 * configure.in (m68k-hp-bsd4.4): No longer use x-hp3bsd44.
27476 * configure: Rebuilt.
27478 Mon Jun 7 22:05:03 1999 Mark Kettenis <kettenis@gnu.org>
27480 * config/i386/gnu.h: Include <gnu.h> right after <i386/linux.h>,
27481 such that we can override its definitions if necessary.
27482 (CPP_SPEC): New define. Support processor specific predefines via
27484 (CC1_SPEC): New define. Support processor specific compiler
27485 options via %(cc1_cpu).
27486 (STARTFILE_SPEC): New define. Use crt0.o instead of crt1.o for
27489 1999-06-07 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
27491 * fixinc/inclhack.def (math_gcc_ifndefs): Insert whitespace
27492 between sed's -e flag, and the open-quote following it.
27493 * fixinc/fixincl.x, fixinc/fixincl.sh: Rebuilt.
27495 Mon Jun 7 20:34:20 1999 Robert Lipe <robertlipe@usa.net>
27496 Jeffrey A Law (law@cygnus.com)
27498 * varasm.c (assemble_start_function): Remove the function
27499 from the pending weak decls list when we define a function.
27500 (assemble_variable): Similarly for variables.
27501 (weak_finish): Ignore items on the list with a NULL name.
27502 (remove_from_ending_weak_list); New function to "remove" an item
27503 from the pending weak declarations list.
27505 Mon Jun 7 19:27:07 1999 Jerry Quinn <jquinn@nortelnetworks.com>
27507 * pa.md (fmpyfadd, fmpynfadd, fnegabs): New patterns.
27509 Mon Jun 7 14:07:39 1999 Dave Brolley <brolley@cygnus.com>
27511 * c-lex.c (GETC): Redefine to call getch.
27512 (UNGETC): Redefine to call put_back.
27513 (putback_buffer): New structure type.
27514 (putback): New static structure.
27515 (getch): New function.
27516 (put_back): New function.
27517 (yylex): Replace unused bytes from bad multibyte character.
27519 Mon Jun 7 13:33:39 1999 Dave Brolley <brolley@cygnus.com>
27521 * cpplib.c (do_define): Cast `alloca' return value.
27522 (do_include, do_undef, do_pragma): Likewise.
27523 * cpphash.c (dump_definition): Cast `xstrdup' and `alloca' return
27525 * cppfiles.c (initialize_input_buffer): Cast `xmalloc' return values.
27526 * gcc/cppspec.c (lang_specific_driver): Cast xmalloc return value.
27528 Sun Jun 6 11:58:34 1999 Jakub Jelinek <jj@ultra.linux.cz>
27530 * sparc.md (abstf2): This should be an expand.
27531 (split after abstf2_notv9): Fix mode.
27532 (abstf2_hq_v9): New pattern.
27533 (abstf2_v9): Only use when no hard quad.
27534 (absdf2_v9): Fix if target is not the same as source.
27535 (ashrsi3_extend, ashrsi3_extend2, lshrsi3_extend, lshrsi3_extend2):
27536 Add correct output constraints.
27538 Sat Jun 5 17:04:16 1999 Craig Burley <craig@jcb-sc.com>
27540 From Dave Love to egcs-patches on 20 May 1999 17:38:38 +0100:
27541 * invoke.texi: Clarify text vis-a-vis Intel CPUs.
27543 Sat Jun 5 12:11:24 1999 Mark Mitchell <mark@codesourcery.com>
27545 * mips.h (mips_output_conditional_branch): New function.
27546 (mips_adjust_insn_length): Likewise.
27547 (ASSEMBLER_SCRATCH_REGNUM): New macro.
27548 (ADJUST_INSN_LENGTH): Likewise.
27549 * mips.c (print_operand): Add `F' and `W' for floating-point
27550 comparison opcodes.
27551 (machine_dependent_reorg): Adjust MIPS16 code; instruction-lengths
27553 (mips_adjust_insn_length): New function.
27554 (mips_output_conditional_branch): New function.
27555 * mips.md (length): Adjust attribute definition to handle
27556 conditional branches. Change lengths to bytes, rather than
27557 instructions throughout. Remove length attribute from
27558 instructions whose length is four bytes, and rely on the default
27560 (dslot): Fix typo in comment.
27561 Reword conditional branch patterns to use
27562 mips_output_conditional_branch.
27564 Fri Jun 4 13:30:27 1999 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
27566 * alpha/osf.h (CPP_SUBTARGET_SPEC): Handle -threads.
27567 (LIB_SPEC): Likewise.
27568 Link with -lprof1_r for -g/-pg.
27570 1999-06-04 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
27572 * loop.c (check_dbra_loop): Fix change of Jan 19.
27574 Fri Jun 4 00:12:40 1999 Marc Espie <espie@cvs.openbsd.org>
27576 * freebsd-elf.h (SWITCH_TAKES_ARG): Redefine, not define.
27577 (STARTFILE_SPEC): Define, override the svr4.h version.
27578 (ENDFILE_SPEC): Likewise.
27580 Thu Jun 3 23:58:55 1999 Jeffrey A Law (law@cygnus.com)
27582 * fixinc/inclhack.def (limits_ifndefs): Also apply to sys/limits.h
27583 * fixinc/fixincl.x: Regenerated.
27584 * fixinc/inclhack.sh: Regenerated.
27586 Fri Jun 4 05:42:23 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
27588 * sh.c (barrier_align): Don't return early for normal branch/barrier
27589 when optimizing for SH2.
27591 Thu Jun 3 22:27:50 1999 Robert Lipe <robertlipe@usa.net>
27593 * i386/udk.h (LINK_SPEC): Correct linker search path for
27596 Fri Jun 4 03:20:40 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
27598 * sh.c (fixup_addr_diff_vecs): Emit braf reference label.
27599 (braf_label_ref_operand): Delete.
27600 * sh.h (PREDICATE_CODES): Remove braf_label_ref_operand.
27601 * sh.md (casesi_jump_2): Operand1 is now the inside of a
27602 label_ref, and has no predicate.
27603 The patten has a predicate to guard against invalid substitutions.
27604 (dummy_jump): Delete.
27605 (casesi): Update use of casesi_jump_2.
27607 Thu Jun 3 07:48 1999 Bruce Korb <ddsinc09@ix.netcom.com>
27609 *fixinc/inclhack.def(Io_Def_Quotes): corrected sed expression
27610 *fixinc/fixincl.x: regenerate
27611 *fixinc/inclhack.sh: regenerate
27613 Thu Jun 3 02:15:07 1999 Jason Merrill <jason@yorick.cygnus.com>
27615 * dwarf2out.c (add_incomplete_type): New fn.
27616 (gen_struct_or_union_type_die): Call it.
27617 (retry_incomplete_types): New fn.
27618 (dwarf2out_finish): Call it.
27620 Thu Jun 3 01:19:03 1999 Jeffrey A Law (law@cygnus.com)
27622 * gcse.c (insert_insn_end_bb): Correct placement of insns when the
27623 current block starts with a CODE_LABEL and ends with a CALL and
27624 we can not find all the argument setup instructions for the CALL.
27626 Wed Jun 2 15:44:15 1999 Mark Mitchell <mark@codesourcery.com>
27628 Revert this change:
27629 * fold-const.c (fold): STRIP_NOPS when deciding whether or not
27630 something is a candidate for optimize_bit_field_compare.
27632 Wed Jun 2 21:53:05 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
27634 * sh.h (CONST_OK_FOR_I, CONST_OK_FOR_L): Cast VALUE to HOST_WIDE_INT.
27636 Wed Jun 2 12:25:55 1999 Richard Henderson <rth@cygnus.com>
27638 * alpha.c (override_options): Thinko in last patch.
27640 * alpha/osf.h (CPP_SUBTARGET_SPEC): Define.
27641 (LIB_SPEC): Recognize -pthread.
27643 Wed Jun 2 08:42:55 1999 Nick Clifton <nickc@cygnus.com>
27645 * config/arm/tcoff.h (USER_LABEL_PREFIX): Synchronise with
27646 definition in config/arm/coff.h
27647 * config/arm/coff.h: Add comment about USER_LABEL_PREFIX.
27649 Wed Jun 2 07:07 1999 Bruce Korb <ddsinc09@ix.netcom.com>
27651 * fixinc/fixincl.c(global def): Add FD_SHELL_SCRIPT to mark
27652 fixes that need "file=xxx\n" prepended before invocation
27653 (start_fixer - new): starting the fixer process is complex enough
27654 to warrent its own routine. It prepends the "file=xxx\n" stuff.
27655 (process): uses the new routine; omit usage of putenv()
27656 * fixinc/fixincl.tpl: mark shell scripts with FD_SHELL_SCRIPT
27657 * fixinc/fixincl.x: regenerate
27659 Wed Jun 2 02:29:07 1999 Jeffrey A Law (law@cygnus.com)
27661 * README, configure.in, gcc.1, gcc.texi: Update name (egcs -> gcc)
27662 and version #s (1.1 -> 2.96) as needed.
27663 * README.g77: Kill way out of date file in the toplevel directory.
27665 Wed Jun 2 00:52:34 1999 David O'Brien <obrien@FreeBSD.org>
27667 * configure.in (i[34567]86-*-freebsdelf): Don't include linux.h,
27668 i386/freebsd-elf.h no longer requires it. Instead include svr4.h.
27669 * configure: Rebuilt.
27670 * i386/freebsd-elf.h (DEFAULT_VTABLE_THUNKS): Define.
27671 (ASM_COMMENT_START, ASM_APP_ON, ASM_APP_OFF, SET_ASM_OP): Likewise.
27672 (PREFERRED_DEBUGGING_TYPE, WCHAR_UNSIGNED): Likewise.
27673 (SWITCH_TAKES_ARG): Likewise.
27674 * i386/freebsd.h: Remove FREEBSD_NATIVE support.
27675 * config/t-freebsd: Moved from config/i386/ so it can used for all
27678 Mon May 31 02:22:55 1999 Philippe De Muyter <phdm@macqel.be>
27680 * m68k/x-mot3300 (XCFLAGS): Fixed to match stb.o, not f/stb.o.
27682 Wed Jun 2 00:08:34 1999 Robert Lipe <robertlipe@usa.net>
27684 * configure.in (i[34567]86-*-udk*): Install headers with cpio.
27685 * configure: Rebuilt.
27687 Tue Jun 1 19:06:22 1999 David Edelsohn <edelsohn@gnu.org>
27689 * rs6000/aix41.h (RS6000_CALL_GLUE): Define.
27690 * rs6000/aix43.h (RS6000_CALL_GLUE): Likewise.
27691 * rs6000/rs6000.c (rs6000_file_start): Use putc.
27692 (rs6000_output_load_toc_table): Same.
27693 (output_prolog, output_mi_thunk): Same.
27694 * rs6000/rs6000.h (SELECT_SECTION): Formatting.
27695 (ASM_GLOBALIZE_LABEL): Use putc.
27697 Mon May 31 15:23:23 1999 Richard Henderson <rth@cygnus.com>
27699 * alpha.md (reload_*_help): New patterns and splitters.
27700 (reload_*): Use them.
27701 (mov[qh]i): Likewise.
27703 Mon May 31 11:48:07 1999 Mark Mitchell <mark@codesourcery.com>
27705 * cccp.c (handle_directive): Handle backslash-newlines in quoted
27708 Mon May 31 09:36:11 1999 Cort Dougan <cort@cs.nmt.edu>
27710 * rs6000/linux.h (LINK_SPEC): Use emulation elf32ppclinux.
27712 Mon May 31 11:40:20 EDT 1999 John Wehle (john@feith.com)
27714 * flow.c (mark_regs_live_at_end, insn_dead_p,
27715 mark_set_1, mark_used_regs): Only give FRAME_POINTER_REGNUM
27716 and HARD_FRAME_POINTER_REGNUM special treatment if reload
27717 hasn't run or the frame pointer is needed.
27718 * haifa-sched.c (attach_deaths): Likewise.
27719 * sched.c (attach_deaths): Likewise.
27721 Mon May 31 00:46:17 1999 Jeffrey A Law (law@cygnus.com)
27723 * jump.c (jump_optimize_1): Only set CAN_REACH_END if
27724 calculate_can_reach_end returns nonzero.
27726 * configure.in (native gas tests): Search for an assembler in the
27727 same manner that the installed compiler will.
27728 * configure: Rebuilt.
27729 * tm.texi (MD_EXEC_PREFIX): Note need to update configure.in too.
27731 * alias.c (find_base_term): Improve handling of addresses
27732 constructed from binary operations.
27734 Sun May 30 14:29:17 1999 Eric Raskin (ehr@listworks.com)
27736 * dgux.h (STARTFILE_SPEC): Fix incorrectly matched curly-braces.
27738 Sun May 30 14:19:13 1999 Jeffrey A Law (law@cygnus.com)
27740 * function.h (cleanup_label, frame_offset): Declare.
27741 (tail_recursion_label, tail_recursion_reentry): Likewise.
27742 (arg_pointer_save_area, rtl_expr_chain): Likewise.
27743 * stmt.c (cleanup_label, frame_offset): Delete extern declarations.
27744 (tail_recursion_label, tail_recursion_reentry): Likewise.
27745 (arg_pointer_save_area, rtl_expr_chain): Likewise.
27747 Sat May 29 19:08:10 1999 Philip Blundell <philb@gnu.org>
27749 * config/arm/aout.h (ASM_OUTPUT_ALIGN): Only define if not already
27751 * config/arm/elf.h (ASM_OUTPUT_ALIGN): Define.
27752 (MAX_OFILE_ALIGNMENT): Define.
27754 Fri May 28 21:40 1999 Robert Lipe <robertlipe@usa.net>
27756 * fixincl.c: Replace local include scheme with #includes of
27757 gansidecl.h and system.h.
27758 * procopen.c: Likewise.
27759 * server.c: Likewise.
27761 Fri May 28 03:47:03 1999 Eric Raskin (ehr@listworks.com)
27763 * i386/t-dgux (EXTRA_PARTS): Add crti.o
27764 (crti.o): Add build rule and dependencies.
27765 * fixinc/fixinc.dgux: Use modified _int_varargs.h
27767 Fri May 28 03:41:02 1999 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
27769 * rs6000/sysv4.h (CC1_SPEC): Add support for -profile
27770 (LIB_LINUX_SPEC): Likewise.
27771 (LIB_LINUX_SPEC): Add support for -pthread
27772 (CPP_OS_LINUX_SPEC): Likewise.
27773 (CPP_SYSV_SPEC): Avoid redefinitions if both -fpic and -fPIC are
27776 Thu May 27 13:04:52 1999 H.J. Lu (hjl@gnu.org)
27778 * i386.c (output_fp_cc0_set): Don't check the JUMP_INSN code for
27780 (notice_update_cc, output_float_compare): Enable TARGET_CMOVE support.
27781 (output_float_compare, output_fp_cc0_set): Fix the FLOAT comparison
27782 for IEEE math and CC_FCOMI.
27783 (put_jump_code): No IEEE if CC_FCOMI is set.
27785 1999-05-27 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
27787 * fold-const.c (fold_truthop): Make the field reference unsigned
27788 when converting a single bit compare.
27790 Thu May 27 02:40:48 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
27792 * loop.c (strength_reduce): Don't do biv->giv conversion on constants.
27794 Thu May 27 02:09:27 1999 Jeffrey A Law (law@cygnus.com)
27796 * varasm.c (STRIP_NAME_ENCODING): Remove default definition.
27797 * output.h (STRIP_NAME_ENCODING): Strip '*' like the old varasm
27800 * reload.c (push_reload): Do not call remove_address_replacements
27801 when presented with identical optional reloads.
27803 Wed May 26 14:18:05 1999 Richard Henderson <rth@cygnus.com>
27805 * alpha.h (MASK_FIX, TARGET_FIX): New.
27806 (MASK_*): Reorganize constants.
27807 (CPP_AM_FIX_SPEC): New.
27808 (TARGET_SWITCHES): Add FIX.
27809 (EXTRA_SPECS): Likewise.
27810 (CPP_CPU_EV6_SPEC): Use FIX, not CIX.
27811 (SECONDARY_MEMORY_NEEDED): Likewise.
27812 (REGISTER_MOVE_COST): Likewise.
27813 * alpha.c (override_options): Add FIX support. Always use
27814 ALPHA_TP_PROG for ev6.
27815 * alpha.md (sqrt and mov[sd]i patterns): Use FIX, not CIX.
27816 * alpha/elf.h (ASM_FILE_START): Look at FIX too.
27817 * configure.in (target_cpu_default2) [ev6]: Use FIX, not CIX.
27819 Wed May 26 09:53:05 1999 Mark Mitchell <mark@codesourcery.com>
27821 * fold-const.c (fold): STRIP_NOPS when deciding whether or not
27822 something is a candidate for optimize_bit_field_compare.
27824 Wed May 26 09:40:02 1999 Mark Mitchell <mark@codesourcery.com>
27826 * gcc.texi (Passes): Document branch-shortening.
27827 * invoke.texi (Debugging Options): Document the fact that `-dp'
27828 outputs length information for instructions.
27830 Wed May 26 08:49:31 1999 Nick Clifton <nickc@cygnus.com>
27832 * flow.c: Revert previous delta.
27834 Wed May 26 06:05:10 1999 Nick Clifton <nickc@cygnus.com>
27836 * flow.c (insn_dead_p): Check against frame_pointer_rtx not
27837 FRAME_POINTER_REGNUM.
27838 (mark_set_1): Ditto.
27839 (mark_used_regs): Ditto.
27841 Wed May 26 02:19:31 1999 Philip Blundell <pb@nexus.co.uk>
27843 * arm.h (NEED_PLT_GOT): Fix mistake in last change.
27844 (GOT_PCREL): New macro. Define to 1 if not already defined.
27845 * arm/elf.h (GOT_PCREL): Define to 0.
27846 * arm.c (arm_finalize_pic): Take into account the setting of
27849 Tue May 25 14:06:06 1999 Jeffrey A Law (law@cygnus.com)
27851 * output.h (STRIP_NAME_ENCODING): Provide default definition.
27852 * dwarf2out.c (ASM_NAME_TO_STRING): Use STRIP_NAME_ENCODING.
27854 * flow.c (mark_set_1): Do not record BLKmode stores as dead
27855 store elimination candidates.
27857 Tue May 25 08:55:57 1999 Gavin Romig-Koch <gavin@cygnus.com>
27859 * config/mips/mips.h (ASM_OUTPUT_DOUBLE_INT) : Use 'dword' if
27862 Mon May 24 20:30:08 1999 Jim Wilson <wilson@cygnus.com>
27864 * configure.in (rs6000-ibm-aix4.[12]*): Delete use of aix41-gld.h.
27865 Add use of x-aix41-gld.
27867 Mon May 24 16:44:09 1999 Jakub Jelinek <jj@ultra.linux.cz>
27869 * sparc/linux64.h (ASM_OUTPUT_CONSTRUCTOR): Define.
27870 (ASM_OUTPUT_DESTRUCTOR): Define.
27872 Mon May 24 14:35:24 1999 Jeffrey A Law (law@cygnus.com)
27874 * loop.c (strength_reduce): Do not clear NOT_EVERY_ITERATION at the
27875 last CODE_LABEL in a loop if we have previously passed a jump
27876 to the top of the loop.
27878 Mon May 24 07:56:29 1999 Nick Clifton <nickc@cygnus.com>
27880 * config/arm/arm.h (OUTPUT_INT_ADDR_CONST): Fix blunder made when
27881 applying Philip's patch.
27883 Mon May 24 01:02:12 1999 Mark Mitchell <mark@codesourcery.com>
27885 * stmt.c (expand_end_bindings): Ignore any elements of VARS that
27888 Sun May 23 20:31:16 1999 Jeffrey A Law (law@cygnus.com)
27890 * loop.c (strength_reduce): Grow reg_single_usage as needed.
27892 Sun May 23 10:13:20 1999 David O'Brien <obrien@FreeBSD.org>
27894 * i386/freebsd-elf.h (LINK_SPEC): Change -static to -Bstatic.
27895 Also remove a useless comment.
27897 Sun May 23 10:05:23 1999 Jerry Quinn <jquinn@nortelnetworks.com>
27899 * pa.md (negdf2,negsf2): Use fneg instead of fsub on pa 2.0.
27901 Sat May 22 21:02:06 1999 David Edelsohn <edelsohn@gnu.org>
27903 * collect2.c (main): Only generate import or export file and add
27904 to link arguments if non-empty. Use xmalloc not alloca.
27905 (write_{export,import}_file): Delete.
27906 (write_aix_file): New function.
27907 (locatelib): Use xmalloc not malloc.
27908 (GCC_OK_SYMBOL): Do not check type if aix64.
27910 Sat May 22 09:35:51 1999 Philip Blundell <pb@nexus.co.uk>
27912 Based on patch by Scott Bambrough and Pat Beirne:
27913 * config/arm/arm.c (making_const_table): New variable.
27914 * config/arm/arm.h (making_const_table): Declare.
27915 (OUTPUT_INT_ADDR_CONST): Mark symbols as position independent if
27917 * config/arm/arm.md (consttable_4, consttable_8, consttable_end):
27918 Keep track of when we are building the constant table.
27920 Sat May 22 09:34:22 1999 Philip Blundell <pb@nexus.co.uk>
27922 * config/arm/arm.c (arm_override_options): Fix erroneous warning
27925 Sat May 22 09:06:33 1999 Nick Clifton <nickc@cygnus.com>
27927 * config/arm/arm.h (NEED_PLT_GOT): Only define if not already
27930 Sat May 22 07:17:05 1999 Nick Clifton <nickc@cygnus.com>
27932 * tm.texi (FUNCTION_ARG): Correct description of a stack element
27935 Sat May 22 01:27:49 1999 Mark Mitchell <mark@codesourcery.com>
27937 * expr.h (lang_expand_constant): Guard with #ifdef TREE_CODE.
27939 Fri May 21 21:19:02 1999 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
27941 * rs6000.c (output_mi_thunk): Enable full support again.
27943 Fri May 21 20:09:52 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
27945 * sh.h (BRANCH_COST): Define.
27947 Thu May 20 10:00:42 1999 Stephen L Moshier <moshier@world.std.com>
27949 * Makefile.in (GCC_FOR_TARGET): Add -I$(build_tooldir)/include.
27951 Thu May 20 09:58:57 1999 Jan Hubicka <hubicka@freesoft.cz>
27953 * function.c (assign_stack_local): Align stack slot propertly.
27954 (assign_outer_stack_local): Likewise.
27956 Thu May 20 10:38:43 1999 Mark Mitchell <mark@codesourcery.com>
27958 * expr.h (lang_expand_constant): Declare.
27959 * toplev.c (lang_expand_constant): Define it.
27960 * varasm.c (output_constant): Use it.
27962 Thu May 20 11:28:53 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
27964 * optabs.c (expand_cmplxdiv_straight, expand_cmplxdiv_wide):
27965 Change function definitions to K&R style.
27967 Thu May 20 08:16:39 1999 Bruce Korb <ddsinc09@ix.netcom.com>
27969 * fixinc/fixincl.c: We must not ignore SIGCLD now.
27971 Thu May 20 07:06:39 1999 Alexandre Oliva <aoliva@acm.org>
27973 * fixinc/Makefile.in(gnu-regex.o): add $(INCLUDES) to compile options
27974 * fixinc/fixincl.c(wait_for_pid): K&R-ify arguments
27975 (several places): omit static initialization
27976 (process): use single fd, since only the read fd is used
27977 * fixinc/gnu-regex.c: define 'const' away, if not supported
27978 * fixinc/procopen.c(several places): omit static initialization
27979 * fixinc/server.c: define 'volitile' away, if not supported
27981 1999-05-20 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
27983 * config/dbxcoff.h (DBX_OUTPUT_MAIN_SOURCE_FILE_END): Use
27984 asm_fprintf and %L to generate the label name.
27985 * config/dbxelf.h (DBX_OUTPUT_MAIN_SOURCE_FILE_END): Likewise.
27986 (ASM_OUTPUT_SOURCE_LINE): Correct generation of internal labels.
27988 Thu May 20 01:40:55 1999 Jeffrey A Law (law@cygnus.com)
27990 * jump.c (can_reverse_comparison_p): Do not abort if the comparison
27991 insn for a conditional jump can not be found.
27993 Wed May 19 23:58:58 1999 Jeffrey A Law (law@cygnus.com)
27995 * mips.h (ENCODE_SECTION_INFO): Do not perform GP optimizations
27996 on variables in specific sections other than .sbss and .sdata.
27998 Wed May 19 03:56:56 1999 Mark Mitchell <mark@codesourcery.com>
28000 * stmt.c (expand_return): Call start_cleanup_deferral and
28001 end_cleanup_deferral around conditional code.
28003 Wed May 19 08:40:08 1999 Bruce Korb <ddsinc09@ix.netcom.com>
28005 * fixinc/fixincl.tpl: Avoid depending on ANSI C features for
28006 filename lists. Utilizes new "krstr" AutoGen function.
28007 * fixinc/fixincl.x: Rebuilt.
28009 Wed May 19 02:47:11 1999 Jan Hubicka (hubicka@freesoft.cz)
28011 * i386.c (output_float_compare): Avoid GNU-C extensions.
28013 Wed May 19 00:34:40 1999 Jeffrey A Law (law@cygnus.com)
28015 * version.c: Bump to distinguish mainline tree from the
28018 See ChangeLog.1 for earlier changes.