1 Mon Aug 9 16:21:53 1999 Bernd Schmidt <bernds@cygnus.co.uk>
3 * genpeep.c (main): Make generated file include "function.h".
4 * arm.c (function_really_clobbers_lr): Delete INLINE_HEADER case.
6 Mon Aug 9 10:08:50 1999 Bernd Schmidt <bernds@cygnus.co.uk>
8 * Makefile.in: Update dependencies.
9 * alias.c: Include "function.h"
11 * caller-save.c: Likewise.
13 * combine.c: Likewise.
19 * local-alloc.c: Likewise.
22 * profile.c: Likewise.
24 * regclass.c: Likewise.
25 * regmove.c: Likewise.
28 * resource.c: Likewise.
31 * config/1750a/1750a.c: Likewise.
32 * config/a29k/a29k.c: Likewise.
33 * config/arc/arc.c: Likewise.
34 * config/arm/arm.c: Likewise.
35 * config/arm/thumb.c: Likewise.
36 * config/c4x/c4x.c: Likewise.
37 * config/clipper/clipper.c: Likewise.
38 * config/convex/convex.c: Likewise.
39 * config/fx80/fx80.c: Likewise.
40 * config/i860/i860.c: Likewise.
41 * config/m68k/m68k.c: Likewise.
42 * config/m88k/m88k.c: Likewise.
43 * config/mips/mips.c: Likewise.
44 * config/pdp11/pdp11.c: Likewise.
45 * config/pyr/pyr.c: Likewise.
46 * config/romp/romp.c: Likewise.
47 * config/sh/sh.c: Likewise.
48 * config/tahoe/tahoe.c: Likewise.
49 * config/vax/vax.c: Likewise.
50 * config/we32k/we32k.c: Likewise.
51 * config/sparc/sparc.c: Include "function.h".
52 (mem_min_alignment): Test current_function rather than
54 * config/pa/pa.c: Likewise.
55 (compute_frame_size): Delete declaration of
56 current_function_outgoing_args_size.
57 * config/arc/arc.h (current_function_varargs): Delete declaration.
58 * config/elxsi/elxsi.h (current_function_calls_alloca): Delete
60 * config/i370/i370.h (current_function_outgoing_args_size): Delete
62 * config/i386/i386.h (FINALIZE_PIC): Delete declaration of
63 current_function_uses_pic_offset_table.
64 * config/m68k/a-ux.h (FUNCTION_EXTRA_EPILOGUE): Delete declaration
65 of current_function_returns_pointer.
66 * config/m68k/altos3068.h (FUNCTION_EXTRA_EPILOGUE): Likewise.
67 * config/m68k/linux.h (FUNCTION_EXTRA_EPILOGUE): Likewise.
68 * config/m68k/m68kv4.h (FUNCTION_EXTRA_EPILOGUE): Likewise.
69 * config/m68k/mot3300.h (FUNCTION_EXTRA_EPILOGUE): Likewise.
70 * config/m68k/pbb.h (FUNCTION_EXTRA_EPILOGUE): Likewise.
71 * config/m68k/tower-as.h (FUNCTION_EXTRA_EPILOGUE): Likewise.
72 * config/m88k/m88k.c: Include "function.h"
73 (call_used_regs, current_function_pretend_args_size,
74 current_function_outgoing_args_size, frame_pointer_needed): Delete
76 * config/m88k/m88k.h (current_function_pretend_args_size): Delete
78 * config/mips/mips.h (current_function_calls_alloca): Delete
80 * config/mn10200/mn10200.h (current_function_needs_context,
81 rtx_equal_function_value_matters): Delete declarations.
82 * config/ns32k/ns32k (current_function_uses_pic_offset_table,
83 flag_pic): Delete declarations.
84 * config/pa/pa.h (current_function_pretend_args_size,
85 current_function_decl): Delete declarations.
86 * config/pa/som.h (current_function_varargs): Delete declaration.
87 * config/pdp11/pdp11.h (current_function_pretend_args_size): Delete
89 * config/pyr/pyr.h (current_function_pretend_args_size,
90 current_function_args_size, current_function_calls_alloca): Delete
92 * config/sh/sh.h (current_function_varargs): Delete declaration.
93 * config/sparc/sparc.h (current_function_outgoing_args_size,
94 current_function_calls_alloca, current_function_decl): Delete
96 * config/spur/spur.h (current_function_pretend_args_size,
97 current_function_calls_alloca): Delete declarations.
98 * config/v850/v850.c (current_function_outgoing_args_size): Delete
100 * config/vax/vms.h (current_function_name): Delete declaration.
101 * gcse.c: Include "function.h".
102 (current_function_name, current_function_calls_setjmp): Delete
104 * haifa-sched.c: Include "function.h".
105 (forced_labels): Delete declaration.
107 * reg-stack.c: Likewise.
108 * reload1.c: Likewise.
109 * genemit.c (main): Make generated file include function.h.
110 * genoutput.c (output_prologue): Likewise.
112 * builtins.c (saveregs_value, apply_args_value): Delete variables.
113 * emit-rtl.c (reg_rtx_no, first_label_num, first_insn, last_insn,
114 sequence_rtl_expr, cur_insn_uid, last_linenum, last_filename,
115 regno_pointer_flag, regno_pointer_flag_length, regno_pointer_align,
116 regno_reg_rtx, sequence_stack): Delete variables. Add accessor
117 macros for some of them.
118 (emit_filename, emit_lineno): Delete declarations.
119 (gen_reg_rtx): Use memset/memcpy instead of bzero/bcopy. Access
120 regno_pointer_* variables through current_function.
121 (gen_inline_header_rtx): Delete function.
122 (save_emit_status): Delete function.
123 (set_new_last_label_num): New function.
124 (clear_emit_caches): New function.
125 (restore_emit_status): Just clear last_labelnum and call
127 (get_last_insn_anywhere): Variable sequence_stack is now accessed
128 through macro seq_stack.
129 (add_insn_after): Likewise.
130 (add_insn_before): Likewise.
131 (remove_insn): Likewise.
132 (pop_topmost_sequence): Likewise.
133 (in_sequence_p): Likewise.
134 (start_sequence_for_rtl_expr): Likewise.
135 (start_sequence): Likewise, and likewise for
136 sequence_rtl_expr/seq_rtl_expr.
137 (push_topmost_sequence): Likewise.
138 (end_sequence): Likewise.
139 (init_virtual_regs): Now takes a "struct emit_status *" argument.
140 All callers changed. Store into that pointer instead of globals.
141 (init_emit): Allocate emit elt of current_function.
142 Changes for sequence_rtl_expr/sequence_stack renaming.
143 Call clear_emit_caches instead of doing it in-line.
144 Access regno_pointer_* variables through current_function.
145 (init_emit_once) Don't clear sequence_stack.
147 * expr.c (pending_stack_adjust, inhibit_defer_pop, pending_chain):
149 (arg_pointer_save_area): Delete declaration.
150 (finish_expr_for_function): Renamed from init_queue; no longer static.
151 (init_expr): Don't call init_queue.
152 (save_expr_status, restore_expr_status): Delete functions.
153 (expand_expr): Changes to reflect new layout of struct function.
154 Don't access current_function_check_memory_usage when current_function
156 * expr.h (forced_labels, save_expr_regs, saveregs_value,
157 apply_args_value, current_function_calls_alloca, inhibit_defer_pop,
158 current_function_outgoing_args_size, current_function_arg_offset_rtx,
159 current_function_uses_const_pool, function_call_count,
160 current_function_uses_pic_offset_table, nonlocal_labels,
161 current_function_internal_arg_pointer, nonlocal_goto_stack_level,
162 current_function_check_memory_usage, nonlocal_goto_handler_slots,
163 pending_stack_adjust, target_temp_slot_level, temp_slot_level): Delete
165 (finish_expr_for_function): Declare.
166 * flags.h (current_function_has_nonlocal_label,
167 current_function_has_nonlocal_goto, current_function_is_thunk,
168 current_function_has_computed_jump): Delete declarations.
169 * flow.c (forced_labels): Delete declaration.
170 * function.c (current_function_pops_args,
171 current_function_returns_struct, current_function_returns_pcc_struct,
172 current_function_needs_context, current_function_calls_setjmp,
173 current_function_calls_longjmp, current_function_has_nonlocal_label,
174 current_function_has_nonlocal_goto, current_function_is_thunk,
175 current_function_has_computed_jump, current_function_calls_alloca,
176 current_function_contains_functions, current_function_returns_pointer,
177 current_function_epilogue_delay_list, current_function_args_size,
178 current_function_pretend_args_size, current_function_arg_offset_rtx,
179 current_function_outgoing_args_size, current_function_varargs,
180 current_function_stdarg, current_function_args_info, cleanup_label,
181 current_function_name, current_function_uses_const_pool,
182 current_function_instrument_entry_exit, current_function_return_rtx,
183 current_function_uses_pic_offset_table, nonlocal_labels,
184 current_function_internal_arg_pointer, current_function_cannot_inline,
185 current_function_check_memory_usage, function_call_count,
186 nonlocal_goto_handler_slots, nonlocal_goto_handler_labels,
187 nonlocal_goto_stack_level, return_label, save_expr_regs,
188 stack_slot_list, rtl_expr_chain, tail_recursion_label, temp_slots,
189 tail_recursion_reentry, arg_pointer_save_area, frame_offset,
190 context_display, trampoline_list, parm_birth_insn, invalid_stack_slot,
191 last_parm_insn, max_parm_reg, parm_reg_stack_loc, sequence_rtl_expr,
192 temp_slot_level, var_temp_slot_level, target_temp_slot_level):
194 (push_function_context_to): Don't save them. Don't call
195 save_storage_status, save_emit_status or save_expr_status.
196 (pop_function_context_from): Don't restore them. Don't call
197 restore_storage_status or restore_expr_status.
198 (get_func_frame_size): New function.
199 (get_frame_size): Use it.
200 (assign_outer_stack_local): Reflect some member name changes in struct
202 (put_reg_into_stack): Likewise.
203 (assign_stack_temp_for_type): sequence_rtl_expr was renamed to
205 (fixup_var_refs): Likewise.
206 (fix_lexical_addr): Likewise.
207 (trampoline_address): Likewise.
208 (prepare_function_start): Clear field inlinable of current_function.
209 (init_function_for_compilation): New function.
210 (expand_dummy_function_end): New function.
211 (expand_function_end): Call finish_expr_for_function.
212 * function.h (struct emit_status): New; fields moved here from struct
213 function and from global variables. Add accessor macros for some of
215 (struct expr_status): Likewise.
216 (REGNO_POINTER_ALIGN, REGNO_POINTER_FLAG): Moved here from regs.h.
217 (struct function): Add fields expr and emit, inlinable, inl_emit,
218 original_arg_vector, original_decl_initial, inl_last_parm_insn,
219 inl_max_label_num. Add many comments.
220 Add accessor macros for all elts of struct function that no longer
221 have a global variable.
222 (cleanup_label, return_label, frame_offset, tail_recursion_label,
223 tail_recursion_reentry, arg_pointer_save_area, rtl_expr_chain,
224 stack_slot_list): Delete declarations.
225 (get_func_frame_size): Declare.
226 (save_expr_status, restore_expr_status, save_emit_status,
227 save_storage_status, restore_storage_status): Delete declarations.
228 (init_virtual_regs): Declare.
229 * output.h (current_function_pops_args,
230 current_function_returns_struct, current_function_returns_pcc_struct,
231 current_function_needs_context, current_function_calls_setjmp,
232 current_function_calls_longjmp, current_function_calls_alloca,
233 current_function_has_nonlocal_label, current_function_varargs,
234 current_function_has_computed_jump, current_function_returns_pointer,
235 current_function_contains_functions, current_function_args_size,
236 current_function_pretend_args_size, current_function_stdarg,
237 current_function_outgoing_args_size, current_function_args_info,
238 current_function_name, current_function_return_rtx,
239 current_function_epilogue_delay_list,
240 current_function_uses_const_pool, current_function_cannot_inline):
242 * regs.h (reg_rtx_no, regno_pointer_flag, regno_pointer_flag_length,
243 regno_reg_rtx): Delete declaration.
244 (REGNO_POINTER_FLAG): Delete macro.
245 * stmt.c (expand_goto): Changes to reflect that some fields in struct
246 function were renamed.
247 * stor-layout.c (save_storage_status, restore_storage_status): Delete
249 * toplev.c: Include "function.h".
250 (current_function_decl): Delete declaration.
251 (compile_file): Call init_dummy_function_start and
252 expand_dummy_function_end around some initializations that need to
254 (rest_of_compilation): Use DECL_SAVED_INSNS properly.
255 Call init_function_for_compilation.
256 * unroll.c: Include "function.h"
257 (unroll_loop): Access regno_pointer_* variables through
260 * tree.h (struct tree_decl): Add elt f to saved_insns member.
261 (DECL_SAVED_INSNS): use it.
262 (expand_dummy_function_end): Declare.
263 (init_function_for_compilation): Declare.
264 * calls.c (calls_function_1): Change use of DECL_SAVED_INSNS now
265 that it's no longer an INLINE_HEADER.
266 (expand_call): Likewise.
267 * integrate.c (finish_inline): Delete function.
268 (max_parm_reg, parm_reg_stack_loc): Delete declarations.
269 (initialize_for_inline): Delete min_labelno, max_labelno and max_reg
270 args. Don't generate an INLINE_HEADER rtx, just return the arg
271 vector. All callers changed.
272 (save_for_inline_copying): Create a duplicate struct emit_status to
273 hold the emit state for compiling the current function. Use this and
274 the other new fields in struct function that are for integration
275 instead of an INLINE_HEADER.
276 Use memcpy instead of bcopy.
277 Store the current struct function in DECL_SAVED_INSNS of fndecl.
278 (save_for_inline_nocopy): Similar changes, except no new emit_status
280 (expand_inline_function): Get information from function structure,
281 not from an inline header rtx.
282 (output_inline_function): Lose code to extract the necessary
283 information from an inline header; simply put back the function
284 structure into current_function. Clear its inlinable elt.
285 * rtl.def (INLINE_HEADER): Delete.
286 * rtl.h: Delete all accessors for an INLINE_HEADER.
287 (gen_inline_header_rtx): Delete declaration.
288 (regno_reg_rtx, regno_pointer_align, nonlocal_goto_handler_labels):
290 (REGNO_POINTER_ALIGN): Delete.
291 (clear_emit_caches): Declare.
292 (set_new_last_label_num): Declare.
294 Mon Aug 9 01:52:24 1999 Jason Merrill <jason@yorick.cygnus.com>
296 * print-tree.c (print_node): Print base for OFFSET_TYPEs.
298 * except.c (expand_eh_region_start_for_decl): Always start a new block.
299 * stmt.c (is_eh_region): Make sure current_function is present, too.
301 Mon Aug 9 01:15:24 1999 Jeffrey A Law (law@cygnus.com)
303 * pa.h (HARD_REGNO_MODE_OK): Correctly handle FPregs, even when
304 for 64bit PA targets.
306 * pa.h (SELECT_SECTION): Define.
307 * som.h (SELECT_SECTION): Delete.
309 Sun Aug 8 15:13:20 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
311 * alias.c (init_alias_analysis): Wrap call to
312 `prologue_epilogue_contains' within HAVE_prologue||HAVE_epilogue.
314 1999-08-07 Bruce Korb <autogen@linuxbox.com>
316 * fixinc/inclhack.def(irix_asm_apostrophe): IRIX 5.2's
317 <sys/asm.h> contains an asm comment with an apostrophe
318 * fixinc/inclhack.sh: regen
319 * fixinc/fixincl.x: regen
321 Sat Aug 7 19:37:07 1999 Richard Henderson <rth@cygnus.com>
323 * function.c (init_function_start): Clear prologue & epilogue.
324 (prologue_epilogue_contains): New function.
325 * alias.c (init_alias_analysis): Use it.
326 * rtl.h (prologue_epilogue_contains): Declare it.
328 Sat Aug 7 19:32:16 1999 Richard Henderson <rth@cygnus.com>
330 * jump.c (onlyjump_p): New function.
332 * flow.c (delete_unreachable_blocks): Use onlyjump_p instead
333 of condjump_p in calling tidy_fallthru_edge and merge_blocks.
335 Sat Aug 7 17:09:36 1999 Richard Henderson <rth@cygnus.com>
337 * global.c (build_insn_chain): Use EXECUTE_IF_SET_IN_REG_SET
338 to invert loops. Simplify block scanning.
340 Sat Aug 7 02:11:13 1999 Bernd Schmidt <bernds@cygnus.co.uk>
342 * gcse.c (hash_scan_set): Treat SYMBOL_REFs like CONST_INTs.
343 (cprop_insn): Treat SYMBOL_REFs like CONST_INTs.
345 1999-08-07 Jonathan Larmour <jlarmour@cygnus.co.uk>
347 * config/sparc/liteelf.h: New file to support sparclite-elf target
348 * config/sparc/t-sp86x: New file to support sparc86x targets
349 * config/sparc/sp86x-aout.h: New file to support sparc86x-aout target
350 * config/sparc/sp86x-elf.h: New file to support sparc86x-elf target
351 * configure.in: Support above target triplets
352 * configure: Regenerated
354 Sat Aug 7 01:39:27 1999 Philippe De Muyter <phdm@macqel.be>
356 * fixinc/server.c (server_setup): Do not prefix function used as
359 Sat Aug 7 00:21:20 1999 Richard Henderson <rth@cygnus.com>
361 * alpha.md (movhi and movqi patterns): Correct predicate for !BWX.
362 Remove fp reg alternatives.
364 Sat Aug 7 00:06:54 1999 Jeffrey A Law (law@cygnus.com)
366 * Makefile.in (TAROUTOPTS): Kill.
367 (install-headers-tar): Use "xpf" for tar headerfile extraction
368 * i370/x-oe (TAROUTOPTS): Delete.
369 * m68k/x-apollo68 (TAROUTOPTS): Delete.
370 * m68k/x-hp320 (TAROUTOPTS): Delete.
371 * m68k/x-hp320g (TAROUTOPTS): Delete.
372 * gcc.texi: Update bug reporting text.
374 1999-08-6 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
376 * reg-stack.c (change_stack) Fixed problem with negative array index.
378 Fri Aug 6 23:08:44 1999 Jeffrey A Law (law@cygnus.com)
380 * extend.texi, install.texi: Fix spelling mistakes.
382 * Makefile.in (PREMADE_ATTRTAB_MD, PREMADE_ATTRTAB): Delete.
383 (s-attrtab); No longer try to use pre-made insn-attrtab file.
384 * mips/t-bsd: Delete references to obsolete PREMADE_ATTRTAB and
386 * mips/t-ecoff: Likewise.
387 * mips/t-elf: Likewise.
388 * mips/t-mips: Likewise.
389 * mips/t-osfrose: Likewise.
390 * mips/t-r3900: Likewise.
391 * mips/t-svr3: Likewise.
392 * mips/t-svr4: Likewise.
393 * mips/t-ultrix: Likewise.
395 * gcc.texi: Document recommend means to provide software floating
396 point libraries in libgcc.a
398 1999-08-06 Jason Merrill <jason@yorick.cygnus.com>
400 * c-lex.c (yylex): We can have a number with no digits.
402 Fri Aug 6 16:53:55 EDT 1999 John Wehle (john@feith.com)
404 * jump.c (delete_prior_computation): New function, broken
405 out of delete_computation. Check for side effects with
406 side_effects_p instead of FIND_REG_INC_NOTE. Handle
407 multi-word hard registers.
408 (delete_computation): Use it. Check for side effects with
409 side_effects_p instead of FIND_REG_INC_NOTE. Synthesize a
410 missing REG_DEAD note for a register which is both set and
413 Fri Aug 6 11:05:29 1999 Jeffrey A Law (law@cygnus.com)
415 * elf.h (TEXT_SPACE_P, FUNCTION_NAME_P): Delete.
416 (ASM_GLOBALIZE_LABEL, ASM_OUTPUT_INT, ASM_OUTPUT_DOUBLE_INT): Likewise.
417 (ASM_FILE_START): Import _mcount with the right type.
418 (ASM_DECLARE_FUNCTION_NAME): Define.
419 (ASM_OUTPUT_EXTERNAL, ASM_OUTPUT_EXTERNAL_LIBCALL): Define.
420 * pa.c (output_function_prologue): Always emit the function's label
422 * pa.h (TEXT_SPACE_P): Define.
423 (FUNCTION_NAME_P, ENCODE_SECTION_INFO, STRIP_NAME_ENCODING): Likewise.
424 (ASM_OUTPUT_INT, ASM_OUTPUT_DOUBLE_INT, ASM_GLOBALIZE_LABEL): Likewise.
425 * som.h (TEXT_SPACE_P): Delete.
426 (FUNCTION_NAME_P, ENCODE_SECTION_INFO, STRIP_NAME_ENCODING): Likewise.
427 (ASM_GLOBALIZE_LABEL, ASM_OUTPUT_INT): Likewise.
429 Thu Aug 5 19:29:39 1999 Jim Wilson <wilson@cygnus.com>
431 * expr.c (emit_group_load): Allow src to be a CONCAT.
433 Thu Aug 5 22:27:15 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
435 * config/sh/lib1funcs.asm (___movstrSI0): Change or r0,r0,r0 to nop.
436 (___mulsi3): Use '!' comment character.
438 Thu Aug 5 13:34:14 1999 Bernd Schmidt <bernds@cygnus.co.uk>
440 * reload1.c (maybe_fix_stack_asms): Also declare P as "const char *".
442 Thu Aug 5 02:40:42 1999 Jeffrey A Law (law@cygnus.com)
444 * gcc.c: Update URLs and mail addresses.
445 * gcc.texi: Likewise.
447 Thu Aug 5 01:14:13 1999 Daniel Jacobowitz <drow@false.org>
449 * rs6000.c (current_file_function_operand): Return zero for
451 (rs6000_encode_section_info): Do not set SYMBOL_REF_FLAG for
453 * rs6000.h (ENCODE_SECTION_NIFO): Do not set SYMBOL_REF_FLAG
456 Thu Aug 5 00:56:30 1999 Geoffrey Keating <geoffk@cygnus.com>
458 * rs6000.c (rs6000_stack_info): For ABI_V4/ABI_SOLARIS -fpic, always
459 allocate space in the stack frame for the PIC register.
461 Thu Aug 5 00:20:47 1999 Jeffrey A Law (law@cygnus.com)
463 * m68k.md (xordi3, anddi3): These patterns are not available on
466 Wed Aug 4 23:39:20 1999 Mark Mitchell <mark@codesourcery.com>
468 * real.c (GET_REAL): Don't violate ANSI/ISO aliasing rules.
469 (PUT_REAL): Likewise.
471 Wed Aug 4 20:45:04 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
473 * final.c (shorten_branches): Don't add an alignment for loops
474 that have no label inside.
476 Wed Aug 4 16:39:24 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
478 * builtins.c (expand_builtin_memcmp, expand_builtin_strcmp): Wrap
479 prototypes in macro HAVE_cmpstrsi.
481 * cpplib.c (cpp_get_token): Remove unused label `op3'.
483 * emit-rtl.c (operand_subword): Remove unused variable
486 * rtl.c (shallow_copy_rtx): Remove unused variable `format_ptr'.
488 * tree.c (chainon): Wrap variable `t2' in macro ENABLE_CHECKING.
490 Wed Aug 4 13:29:23 1999 Zack Weinberg <zack@bitmover.com>
492 * cpphash.c (macroexpand): Delete leading whitespace when arg
493 is concatenated before.
494 (unsafe_chars): Correct test for whether + and - can extend a
497 * cppinit.c (cpp_start_read): Do dependencies for
498 -include/-imacros files also.
500 * cpplib.c (cpp_scan_buffer): In no-output mode, don't bother
501 tokenizing non-directive lines.
502 (cpp_expand_to_buffer): Temporarily disable no-output mode.
503 * cppmain.c: In no-output mode, just call cpp_scan_buffer for
506 Wed Aug 4 12:53:44 1999 Jason Merrill <jason@yorick.cygnus.com>
508 * expr.c (expand_expr, case PLUS_EXPR): Fix parallel case, too.
510 * c-lex.c: Sync with C++ frontend.
511 (linemode): New variable.
512 (parse_float): imag, conversion_errno, and type are output only.
513 (yylex): Adjust. Move initial '.' case into main switch.
515 (handle_generic_pragma): Just deal with tokens.
516 (readescape): Use ISXDIGIT and ISGRAPH.
517 * c-parse.in: Add END_OF_LINE token.
519 * c-lex.c (lang_init): Generalize.
520 (nextchar): Remove. Replace uses with UNGETC.
521 (skip_white_space): Handle linemode here. Optimize for cpplib.
522 (skip_white_space_on_line): Remove.
523 (extend_token_buffer_to): New fn.
524 (extend_token_buffer): Use it.
525 (read_line_number, check_newline): Just deal with tokens.
526 (token_getch, token_put_back): New fns.
527 (yylex): Use them. More cpplib optimizations. Simplify.
529 Wed Aug 4 12:53:44 1999 Michael Tiemann <tiemann@holodeck.cygnus.com>
530 Jason Merrill <jason@yorick.cygnus.com>
532 * c-lex.c (init_parse): Set cpp_token to CPP_DIRECTIVE.
533 (consume_string): Make this smart about USE_CPPLIB.
534 (check_newline): Rewrite to be intelligent about USE_CPPLIB.
535 (yylex): Rewrite to be intelligent about USE_CPPLIB.
536 Also, clean up cases where we redundantly set token_buffer[0].
537 (read_line_number): New fn.
538 (ignore_escape_flag): New variable.
540 Wed Aug 4 13:12:17 1999 Jeffrey A Law (law@cygnus.com)
542 * a29k/t-a29kbare: Fix some comments.
543 (LIB2FUNCS_EXTRA): Remove fp-bit.c and dp-bit.c
544 (FPBIT, DPBIT): Define.
545 * a29k/t-vx29k: Likewise.
546 * arc/t-arc: Likewise.
547 * arm/t-arm-elf: Likewise.
548 * arm/t-bare: Likewise.
549 * arm/t-pe: Likewise.
550 * arm/t-pe-thumb: Likewise.
551 * arm/t-semi: Likewise.
552 * arm/t-thumb: Likewise.
553 * arm/t-thumb-elf: Likewise.
554 * arm/t-thumb-linux: Likewise.
555 * h8300/t-h8300: Likewise.
556 * i960/t-i960: Likewise.
557 * i960/t-vxworks960: Likewise.
558 * m32r/t-m32r: Likewise.
559 * mips/t-ecoff: Likewise.
560 * mips/t-elf: Likewise.
561 * mips/t-r3900: Likewise.
562 * pa/t-pro: Likewise.
563 * rs6000/t-aix43: Likewise.
564 * rs6000/t-beos: Likewise.
565 * rs6000/t-newas: Likewise.
566 * rs6000/t-ppccomm: Likewise.
567 * rs6000/t-rs6000: Likewise.
568 * rs6000/t-winnt: Likewise.
569 * rs6000/t-xnewas: Likewise.
570 * rs6000/t-xrs6000: Likewise.
572 * sparc/t-elf: Likewise.
573 * sparc/t-sparcbare: Likewise.
574 * sparc/t-sparclite: Likewise.
575 * sparc/t-splet: Likewise.
576 * v850/t-v850: Likewise.
577 * mn10200/t-mn10200: Fix comments.
578 * mn10300/t-mn10300: Likewise.
580 * pa.md (divsi3, udivsi3, modsi3, umodsi3 expanders): Clobber a new
581 dummy operand. Allocate a new pseudo for the dummy operand.
582 (divsi3, udivsi3, modis3, umodsi3 patterns): Corresponding changes.
584 * pa.md (movqi, movhi patterns): Do not expose FP regs to regclass.
586 Wed Aug 4 11:53:55 1999 Tom Tromey <tromey@cygnus.com>
588 * configure: Rebuilt.
589 * configure.in: Removed --enable-java-gc option and JAVAGC subst.
591 Wed Aug 4 09:06:14 1999 Richard Earnshaw (rearnsha@arm.com)
593 * recog.c (preproces_constraints): Zero recog_op_alt before
594 processing the constraints.
596 * arm.c (typedef minipool_node): Renamed from pool_node.
597 (minipool_vector, minipool_size, minipool_vector_label): Similarly.
598 (add_minipool_constant): New function.
599 (dump_minipool): New function.
600 (find_barrier): Remove special case for getting the insn size of
601 an insn that references the constant pool.
602 (minipool_fixup): New structure.
603 (push_minipool_barrier): New function.
604 (push_minipool_fix): New function.
605 (note_invalid_constants): New function.
606 (add_pool_constant, dump_table, fixit, broken_move): Delete.
607 (arm_reorg): Rewrite code to fix up the constant pool into a
608 series of mini-pools embedded in the insn stream.
609 (arm_output_epilogue): New function, made mainly from the body
610 of output_func_epilogue.
611 (output_func_epilogue): Move insn generation part of epilogue code
612 to arm_output_epilogue.
613 * arm.h (ASM_OUTPUT_SPECIAL_POOL_ENTRY): Delete.
614 * arm.md (pool_range): New attribute.
615 (zero_extendqidi2): Add attribute pool_range.
616 (zero_extend_hisi_insn, load_extendqisi, extendhisi_insn,
617 extendqihi_insn, extendqisi_insn, movdi, movsi_insn, pic_load_addr,
618 pic_load_addr_based_insn, movhi_insn_arch4, movhi_insn_littleend,
619 movhi_insn_bigend, loadhi_si_bigend, movsf_hard_insn, movsf_soft_insn,
620 movdf_hard_insn, movdf_soft_insn, movxf_hard_insn): Likewise.
621 (epilogue): New expand.
622 (epilogue_insn): New insn. Call arm_output_epilogue.
624 * arm.c (arm_poke_function_name): Undo change of July 17. Tidy up.
625 * arm.h (TARGET_SWITCHES): Add missing doc string for TARGET_DEFAULT.
627 Mon Aug 2 19:18:44 1999 Jason Merrill <jason@yorick.cygnus.com>
629 * linux.h (HANDLE_PRAGMA_PACK_PUSH_POP): Define.
631 1999-08-04 Mark Elbrecht <snowball3@bigfoot.com>
633 * config/i386/djgpp.h (BSS_SECTION_ASM_OP): Define.
635 Wed Aug 4 02:15:32 1999 Richard Henderson <rth@cygnus.com>
637 * jump.c (delete_insn): Delete the addr_vec when deleting a tablejump.
639 Wed Aug 4 01:48:08 1999 Jim Kingdon <http://developer.redhat.com>
641 * global.c: Fix comment.
643 Wed Aug 4 01:43:01 1999 Ian Lance Taylor <ian@zembu.com>
645 * gcc.c (access_check): New static function.
646 (find_a_file): Use it when searching a directory list.
647 * collect2.c (find_a_file): Don't accept directories found when
648 searching a directory list.
650 Wed Aug 4 01:40:43 1999 Philippe De Muyter <phdm@macqel.be>
652 * tlink.c (symbol_hash_lookup): Do not prefix functions used as
653 function parameters with `&'.
654 (file_hash_lookup, demangled_hash_lookup, tlink_init): Ditto.
656 Wed Aug 4 01:08:44 1999 Jeffrey A Law (law@cygnus.com)
658 * flow.c (delete_unreachable_blocks): Do not call merge_blocks
659 or tidy_fallthru_edge if the last insn in the block is not
660 an unconditional jump or a simple conditional jump.
662 Tue Aug 3 20:21:20 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
664 * Makefile.in (c-decl.o): Depends on defaults.h.
666 Tue Aug 3 14:14:52 1999 Jeffrey A Law (law@cygnus.com)
668 * pa.h (HARD_REGNO_NREGS): FP registers are always 4 bytes wide for
670 (CLASS_MAX_NREGS): Likewise.
672 Tue Aug 3 03:51:20 1999 Jeffrey A Law (law@cygnus.com)
674 * cse.c (cse_insn): Fix dumb thinko in last change.
676 Tue Aug 3 10:36:13 1999 Bernd Schmidt <bernds@cygnus.co.uk>
678 * reload1.c (maybe_fix_stack_asms): Declare CONSTRAINTS as
681 Mon Aug 2 23:45:45 1999 Hans-Peter Nilsson <hp@bitrange.com>
683 * dwarf2out.c (add_location_or_const_value_attribute): Correct
684 test for sizes of passed and declared parameter types.
686 Tue Aug 3 00:03:41 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
688 * fixincludes: Fix the return type of bsearch, char* -> void*.
690 * fixinc/inclhack.def: Likewise.
692 Mon Aug 2 18:29:32 1999 Mark Mitchell <mark@codesourcery.com>
694 * invoke.texi (-fdump-translation-unit): New option.
696 Mon Aug 2 17:54:19 1999 Richard Henderson <rth@cygnus.com>
698 * expr.h (PROMOTE_PROTOTYPES): Move ...
699 * defaults.h: ... to here.
700 * c-decl.c: Include defaults.h instead of expr.h.
701 * c-typeck.c: Include defaults.h.
703 Mon Aug 2 17:10:24 1999 Mark Mitchell <mark@codesourcery.com>
705 * toplev.h (errorcount): Declare.
706 (warningcount): Likewise.
707 (sorrycount): Likewise.
708 * c-lex.c (errorcount): Don't declare.
709 * dwarf2out.c (errorcount): Don't declare.
711 Mon Aug 2 17:02:08 1999 Jason Merrill <jason@yorick.cygnus.com>
713 * config/libgloss.h: Add a note discouraging use with ELF.
714 * configure.in: Don't use libgloss.h for ELF targets.
715 Always use_collect2 on a.out targets.
717 Mon Aug 2 16:27:42 1999 Jim Wilson <wilson@cygnus.com>
719 * combine.c (force_to_mode, case LSHIFTRT): Add goto shiftrt.
720 (force_to_mode, case ASHIFTRT): Add shiftrt label.
722 Tue Aug 3 00:45:02 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
724 * loop.c (strength_reduce): When doing biv->giv conversion, update
725 reg note of NEXT->insn.
727 1999-08-02 Jakub Jelinek <jj@ultra.linux.cz>
729 * real.c (PUT_REAL): Clear unused bytes if long double is IEEE quad.
731 1999-08-02 Jakub Jelinek <jj@ultra.linux.cz>
733 * c-decl.c (get_parm_info, store_parm_decls): Change all uses of
734 PROMOTE_PROTOTYPES, so that it tests it as a C expression.
735 Ensure expr.h is included.
736 * c-typecheck.c (convert_arguments): Ditto.
738 * expr.h: Supply default for PROMOTE_PROTOTYPES (0).
740 * config/arc/arc.h: Define PROMOTE_PROTOTYPES to 1.
741 * config/convex/convex.h: Ditto.
742 * config/dsp16xx/dsp16xx.h: Ditto.
743 * config/fx80/fx80.h: Ditto.
744 * config/gmicro/gmicro.h: Ditto.
745 * config/i370/i370.h: Ditto.
746 * config/i386/i386.h: Ditto.
747 * config/m32r/m32r.h: Ditto.
748 * config/m68k/m68k.h: Ditto.
749 * config/m88k/m88k.h: Ditto.
750 * config/mips/mips.h: Ditto.
751 * config/pa/pa.h: Ditto.
752 * config/pyr/pyr.h: Ditto.
753 * config/tahoe/tahoe.h: Ditto.
754 * config/we32k/we32k.h: Ditto.
756 * config/sparc/sparc.h: Define PROMOTE_PROTOTYPES
759 * config/i1750a/i1750a.h: Define PROMOTE_PROTOTYPES to 0.
761 * config/i860/paragon.h: Remove PROMOTE_PROTOTYPES
764 * tm.texi: Document new usage of PROMOTE_PROTOTYPES.
766 1999-08-02 Richard Henderson <rth@cygnus.com>
768 * m32r.c (m32r_setup_incoming_varargs): Use get_varargs_alias_set
769 for the register spill block.
771 * m32r.h (EXPAND_BUILTIN_VA_ARG): New.
772 (EXPAND_BUILTIN_SAVEREGS): Delete #if 0 code.
774 * m32r.h (INT8_P): Don't short-cut test with (unsigned).
775 (INT16_P, CMP_INT16_P, UINT16_P): Likewise.
776 (UPPER16_P, UINT24_P, INT32_P, UINT5_P): Likewise.
778 1999-08-02 Jakub Jelinek <jj@ultra.linux.cz>
780 * config/sparc/linux.h: Define WCHAR_TYPE as "int" and undef
781 MAX_WCHAR_TYPE defined in sparc.h.
782 * config/sparc/linuxaout.h: Likewise.
783 * config/sparc/linux64.h: Likewise.
784 Also default to -mvis if CPU is UltraSPARC.
786 1999-08-02 Jakub Jelinek <jj@ultra.linux.cz>
788 * config/sparc/sparc.h (ASM_DECLARE_REGISTER_GLOBAL): New macro.
789 (RTX_OK_FOR_OLO10): Likewise.
790 (GO_IF_LEGITIMATE_ADDRESS): If assembler supports offsetable
791 %lo(), allow it in addresses...
792 (PRINT_OPERAND_ADDRESS): ... and print it appropriately.
793 * config/sparc/sparc.md (sethi_di_medlow_embmedany_pic): sethi %lo()
795 * config/sparc/sparc.c (sparc_hard_reg_printed): New array.
796 (sparc_output_scratch_registers): New function.
797 (output_function_prologue, sparc_flat_output_function_prologue): Use
799 * varasm.c (make_decl_rtl): Use ASM_DECLARE_REGISTER_GLOBAL if
801 * tm.texi (ASM_DECLARE_REGISTER_GLOBAL): Document it.
802 * configure.in: Add check for .register pseudo-op support in as and
803 check for offsetable %lo().
804 * acconfig.h: Add templates for the above checks.
805 * configure: Regenerate.
807 1999-08-02 Richard Henderson <rth@cygnus.com>
809 * sparc/linux64.h (TARGET_DEFAULT): Remove MASK_APP_REGS.
810 * sparc/sol2-sld-64.h (TARGET_DEFAULT): Likewise.
811 * sparc/sol2.h (TARGET_DEFAULT): Likewise.
813 Mon Aug 2 23:46:45 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
815 * loop.c (strength_reduce): When doing biv->giv conversion, fix up
818 1999-08-02 Jakub Jelinek <jj@ultra.linux.cz>
820 * config/float-sparc.h: New file.
821 * configure.in: Use float_format=sparc for sparc-*-linux-gnulibc1,
822 sparc-*-linux-gnu and sparc64-*-linux*.
824 1999-08-02 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
826 * rs6000.c (rs6000_va_list): Type is an array.
827 (rs6000_va_start): Don't doubly adjust for varargs.
828 (rs6000_va_arg): Evaluate long long GPR adjustment.
830 Mon Aug 2 16:15:57 1999 David Edelsohn <edelsohn@gnu.org>
832 * rs6000/aix43.h (SUBTARGET_SWITCHES): Use -m64 and -m32 instead of
834 (ASM_SPEC, ASM_CPU_SPEC, CPP_SPEC, CPP_CPU_SPEC, LIB_SPEC,
835 LINK_SPEC): Change appropriately.
836 * rs6000/rs6000.c (short_cint_operand): Use CONST_OK_FOR_LETTER_P.
837 (u_short_cint_operand): Likewise.
838 * rs6000/rs6000.md (movdi splitters): Add TARGET_POWERPC64 support
840 * rs6000/t-aix43 (MULTILIB): Change to -m64.
842 * invoke.texi (RS/6000 Submodel): Document 64-bit processor options.
844 Mon Aug 2 16:15:57 1999 Geoff Keating <geoffk@cygnus.com>
846 * rs6000/rs6000.c (num_insns_constant_wide): Correct
848 (add_operand): Get test correct for 64-bit HOST_WIDE_INT.
849 (non_add_cint_operand): Likewise.
850 (logical_operand): Likewise.
851 (non_logical_cint_operand): Likewise.
852 (print_operand): Correct printf()s for 64-bit HOST_WIDE_INT.
853 (print_operand_address): Correct printf() for 64-bit HOST_WIDE_INT.
854 (rs6000_select_rtx_section): Suppress warning.
855 (small_data_operand): Suppress warning.
856 (rs6000_got_register): Suppress warning.
857 * rs6000/rs6000.md (andsi3): HOST_WIDE_INT is a signed
858 type, so `J' is generally the wrong constraint for a SImode value;
860 (andsi3_internal2): Likewise.
861 (andsi3_internal3): Likewise.
862 (iorsi3_internal1): Likewise.
863 (xorsi3_internal1): Likewise.
865 (movsf_softfloat): Likewise.
866 (scc insns): Likewise.
867 (movsi+2): Preserve sign bits of SImode constant.
868 (floatsidf2_internal+1): Sign-extend SImode constant correctly.
869 (movdf+1): Sign-extend properly.
870 (movdi_32+1): Sign-extend properly.
871 (scc insns): Sign-extend properly.
873 * md.texi (RS/6000 EXTRA_CONSTRAINTS): Update documentation for J,
876 1999-08-02 Richard Henderson <rth@cygnus.com>
878 * alpha.c (override_options): Move ev6 alpha_tp frobbing out of
880 (print_operand): Notice alpha_fptm not alpha_tp for sw completion.
881 * alpha.md (all fp insns): Likewise.
883 1999-08-02 Nick Clifton <nickc@cygnus.com>
885 * config/v850/v850.h (STRICT_ALIGNMENT): Only define if not
888 Mon Aug 2 03:38:33 1999 Jeffrey A Law (law@cygnus.com)
890 * pa.c (legitimize_pic_address): Clarify comments. Do not call the
891 pic_load_label generator directly.
892 * pa.md (pic_load_label): Clarify comments. Remove modes on operands.
893 No longer a named pattern.
895 Mon Aug 2 09:38:10 1999 Nick Clifton <nickc@cygnus.com>
897 * explow.c (force_reg): Call force_operand if X does not
898 satisfy general_operand.
900 Mon Aug 2 01:34:22 1999 Jeffrey A Law (law@cygnus.com)
902 * fix-header.c (main): When testing for CONTINUED, use string
903 equality, not pointer equality.
905 Mon Aug 2 01:27:24 1999 Dan Nicolaescu <dann@ics.uci.edu>
907 * sparc.c (sparc_block_profiler): Use the %g2 register, not %o0.
909 Sun Aug 1 22:46:42 1999 Jeffrey A Law (law@cygnus.com)
911 * cse.c (cse_insn): Fix loop which deletes insns after a jump
912 that has become an unconditional jump.
914 * m68k.c (output_function_prologue): Fix typo in CPU32 case.
915 (output_function_epilogue): Similarly.
917 Sun Aug 1 20:14:00 1999 Bernd Schmidt <bernds@cygnus.co.uk>
919 * tree.h (init_dummy_function_start): Declare.
921 Sun Aug 1 12:55:31 1999 Bernd Schmidt <bernds@cygnus.co.uk>
923 * stmt.c (emit_filename, emit_lineno, expr_stmts_for_value,
924 last_expr_type, last_expr_value, block_start_count, block_stack,
925 stack_block_stack, cond_stack, loop_stack, case_stack, nesting_stack,
926 nesting_depth, goto_fixup_chain): Delete global vars; now allocated
927 dynamically in stmt elt of struct function for each function.
928 (struct nesting): Rename function_call_count elt to n_function_calls,
929 target_temp_slot_level to block_target_temp_slot_level. All users
931 (struct stmt_status): New structure definition.
932 Add many accessor macros for stmt_status elements which previously
933 were global variables.
934 (init_stmt_for_function): Allocate stmt elt for current_function.
935 Reflect that block_start_count was renamed to
936 current_block_start_count.
937 (save_stmt_status, restore_stmt_status): Delete functions.
938 (preserve_subexpressions_p): Don't access loop_stack when outside
940 (expand_start_bindings): Reflect that block_start_count was renamed to
941 current_block_start_count.
942 (expand_fixup): Likewise.
943 (expand_decl): Don't access block_stack when outside a function.
944 (expand_decl_cleanup): Likewise.
945 (expand_dcc_cleanup): Likewise.
946 (expand_dhc_cleanup): Likewise.
947 (expand_anon_union_decl): Likewise.
948 (set_file_and_line_for_stmt): New function.
949 (in_control_zone_p): New function.
951 * function.h (struct function): Add new elt stmt.
952 Delete elts block_stack, stack_block_stack, cond_stack, loop_stack,
953 case_stack, nesting_stack, nesting_depth, block_start_count,
954 last_expr_type, last_expr_value, expr_stmts_for_value, emit_filename,
955 emit_lineno, goto_fixup_chain.
956 (save_eh_status, restore_eh_status, save_stmt_status,
957 restore_stmt_status): Delete declarations.
958 * function.c (push_function_context_to): Don't call save_stmt_status.
959 (pop_function_context_to): Don't call restore_stmt_status.
960 * tree.h (in_control_zone_p): Declare.
961 * rtl.h (set_file_and_line_for_stmt): Declare.
963 * emit-rtl.c (emit_line_note): Don't set emit_filename/emit_lineno;
964 call set_file_and_line_for_stmt.
966 Thu Jul 31 12:34:45 1999 Joe Buck <jbuck@synopsys.com>
968 * gcc.texi: Use terms "GNU Compiler Collection" and "GCC".
969 Also update copyright.
971 Sat Jul 31 11:10:07 1999 Bernd Schmidt <bernds@cygnus.co.uk>
973 * c-pragma.c: Don't include "except.h".
974 * emit-rtl.c: Likewise.
975 * stor-layout.c: Likewise.
977 * varasm.c: Likewise.
979 * flow.c: Include "function.h".
980 * tree.h (init_dummy_function_start): Declare new function.
982 * except.h (struct eh_status): New structure.
983 (struct label_node, struct eh_entry): Declare even if tree.h hasn't
985 (eh_return_stub_label, ehstack, catchstack, ehqueue,
986 catch_clauses, false_label_stack, caught_return_label_stack,
987 protect_list, current_function_ehc): Add accessor macros for the
988 corresponding fields in current_function->eh; delete declarations
989 for all items that used to be declared here.
990 * except.c (eh_return_stub_label, ehstack, catchstack, ehqueue,
991 catch_clauses, false_label_stack, caught_return_label_stack,
992 protect_list, current_function_ehc): Delete variables.
993 (init_eh_for_function): Allocate current_function->eh.
994 (save_eh_status, restore_eh_status): Delete functions.
996 * function.h (struct function): Add fields next_global and eh.
997 Delete all exception handling related fields.
998 * function.c (current_function): New variable.
999 (all_functions): New variable.
1000 (push_function_context_to): Don't allocate a struct function,
1001 use current_function instead. Call init_dummy_function_start when
1002 outside a function. Clear current_function before returning.
1003 (pop_function_context_from): Restore current_function.
1004 Don't free the restored struct function.
1005 (prepare_function_start): New function.
1006 (init_dummy_function_start): New function.
1007 (init_function_start): Break out some code into prepare_function_start
1010 * stmt.c (save_stmt_status): Don't call save_eh_status.
1011 (restore_stmt_status): Don't call restore_eh_status.
1013 * Makefile.in: Update dependencies.
1015 Sat Jul 31 04:10:01 1999 Jeffrey A Law (law@cygnus.com)
1017 * pa.c (compute_frame_size): Use STARTINg_FRAME_OFFSET instead
1018 of depending on a magic constant value. Update comments.
1019 (hppa_expand_prologue): Similarly.
1021 * pa.md (reload_indi, reload_outdi): Allow any register for the
1022 original reload register.
1024 Fri Jul 30 19:41:35 1999 Jim Wilson <wilson@cygnus.com>
1026 * cccp.c (print_help): Change marcos to macros.
1028 1999-07-30 Richard Henderson <rth@cygnus.com>
1030 * c-typeck.c (initializer_constant_valid_p): Move ...
1031 * c-common.c (initializer_constant_valid_p): ... here. Use
1032 FOO_TYPE_P instead of tests against TREE_CODE. Allow subtraction
1034 * c-common.h (initializer_constant_valid_p): Declare.
1035 * c-tree.h (initializer_constant_valid_p): Remove.
1037 Fri Jul 30 16:33:42 1999 Mathias Froehlich <frohlich@na.uni-tuebingen.de>
1039 * config/i386/sol2-c1.asm: Align the stack.
1040 * config/i386/sol2-gc1.asm: Likewise.
1042 1999-07-30 Vladimir Makarov <vmakarov@loony.cygnus.com>
1044 * config/sparc/sparc.h (ASM_CPU32_DEFAULT_SPEC): Change -Av8 onto
1045 -Asparclite for sparc86x.
1046 (CPP_CPU32_DEFAULT_SPEC, CPP_CPU_SPEC): Remove -D__sparc_v8__ for
1048 (ASM_CPU_SPEC): Use -Asparclite for sparc86x.
1050 Fri Jul 30 14:53:56 1999 Jakub Jelinek <jj@ultra.linux.cz>
1052 * config/sparc/linux64.h (CC1_SPEC): Preserve CPU specified by
1053 the user if using the non-default arch size in BI_ARCH configuration.
1054 * config/sparc/sol2-sld-64.h (CC1_SPEC): Ditto.
1056 * config/sparc/sparc.md (cmp_mul_set, cmp_udiv_cc_set):
1057 Fix patterns so that they actually match.
1058 (cmp_sdiv_cc_set): Ditto, also don't require g0 to be zero.
1059 (mulsidi3_sp64, const_mulsidi3_sp64): New patterns.
1060 (const_mulsidi3_sp32): Renamed from const_mulsidi3, only on
1062 (mulsidi3): Reflect this in the expand.
1063 (smulsi3_highpart): Only on TARGET_ARCH32.
1064 (umulsidi3_sp64, const_umulsidi3_sp64): New patterns.
1065 (const_umulsidi3_sp32): Renamed from const_umulsidi3.
1066 (umulsidi3): Reflect this in the expand.
1067 (umulsi3_highpart): Only on TARGET_ARCH32.
1068 (divsi3_sp32): Renamed from divsi3, only on TARGET_ARCH32,
1069 don't require g0 to be zero.
1070 (udivsi3_sp32): Renamed from udivsi3, only on TARGET_ARCH32.
1071 ({,u}divsi3): New expands.
1072 ({,u}divsi3_sp64): New patterns.
1073 (after lshrdi3_v8plus): Four new patterns to help combiner
1074 optimizing nested mixed mode shifts.
1076 * config/sparc/sparc.c (sparc_override_options): Use deprecated
1077 v8 instructions if optimizing for UltraSPARC I, II, IIi, as it
1078 speed things up. Don't use them by default on plain v9 in 64bit
1079 mode, according to what SPAMv9 sais.
1081 * config/sparc/sparc.h: Fix comments, e.g. Linux already preserves
1082 top 32 bits of %[og][0-7] in signal handlers.
1083 Also, TARGET_HARD_MUL32 now is only true for TARGET_ARCH32.
1085 Fri Jul 30 03:00:41 1999 Jeffrey A Law (law@cygnus.com)
1087 * pa.md (zvdep_imm32): Renamed from zvdep_imm.
1088 (ashlsi3): Corresponding changes.
1090 * pa.c (compute_zdepwi_operands): Renamed from compute_zdepi_operands.
1092 Thu Jul 29 18:37:13 1999 Jeffrey A Law (law@cygnus.com)
1094 * pa.h (FIRST_PARM_CALLER_OFFSET): Delete.
1096 Thu Jul 29 19:01:58 1999 Bernd Schmidt <bernds@cygnus.co.uk>
1098 * arm.h (Hint): Delete macro.
1099 Substitute HOST_WIDE_INT for Hint in some prototypes.
1100 * arm.c: Substitute HOST_WIDE_INT for Hint in one prototype.
1102 Thu Jul 29 09:21:42 1999 Nick Clifton <nickc@cygnus.com>
1104 * builtins.c (expand_builtin_setjmp): Use force_operand to
1105 make sure that the buffer address is in a suitable form to be
1106 passed to force_reg.
1108 Wed Jul 28 12:50:48 1999 Geoff Keating <geoffk@cygnus.com>
1110 * config/mips/mips.c: system.h handles MIN and MAX, don't undefine
1113 Wed Jul 28 13:18:35 1999 Jeffrey A Law (law@cygnus.com)
1115 * pa.md (indirect_jump): Remove mode from match_operand. Verify
1116 proper mode in the condition string.
1117 (icacheflush, dcacheflush): Remove modes from match_operands.
1119 * pa.c (emit_move_sequence): Always convert scratch_reg to the
1120 proper mode before using it.
1122 * pa.md (adddi3, subdi3): Turn into a define_expand/define_insn
1125 * pa.c (store_reg): Do not call add_high_const generator directly.
1126 (load_reg, set_reg_plus_d): Likewise.
1127 * pa.md (add_high_const): No longer a named pattern.
1129 * pa.c (legitimize_address): Consistently use Pmode rather than
1130 SImode. Do not call gen_pic2_highpart directly anymore.
1131 * pa.md (pic2_highpart): No longer a named pattern.
1132 (pic2_lo_sum): Similarly. Reformat to make more readable.
1134 * pa.md (call, call_value): Use "word_mode" instead of "SImode" as
1139 Wed Jul 28 11:28:04 1999 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
1141 * builtins.c (expand_builtin): Typo in call to expand_builtin_ffs.
1143 Wed Jul 28 11:23:48 1999 Richard Henderson <rth@cygnus.com>
1145 * pa.c (hppa_builtin_saveregs): Use get_varargs_alias_set
1146 and tag the spill mems.
1147 (hppa_va_start): New.
1149 * pa.h (EXPAND_BUILTIN_VA_START): New.
1150 (EXPAND_BUILTIN_VA_ARG): New.
1152 Wed Jul 28 11:22:21 1999 Richard Henderson <rth@cygnus.com>
1154 * mn10300.c (mn10300_builtin_saveregs): Use get_varargs_alias_set
1155 and tag the spill mems.
1156 (mn10300_va_start): New.
1157 (mn10300_va_arg): New.
1158 * mn10300.h (EXPAND_BUILTIN_VA_START): New.
1159 (EXPAND_BUILTIN_VA_ARG): New.
1161 Wed Jul 28 11:20:19 1999 Richard Henderson <rth@cygnus.com>
1163 * mn10200.c (mn10200_va_arg): New.
1164 * mn10200.h (EXPAND_BUILTIN_VA_ARG): New.
1166 Wed Jul 28 11:19:06 1999 Richard Henderson <rth@cygnus.com>
1168 * builtins.c (std_expand_builtin_va_arg): Use int_size_in_bytes
1169 rather than play with TREE_INT_CST_LOW.
1171 1999-07-27 Philip Blundell <pb@nexus.co.uk>
1173 * config/arm/telf.h: Include dbxelf.h.
1174 (CPP_PREDEFINES): Only define if not already defined.
1175 (ASM_IDENTIFY_GCC): Likewise.
1176 (SUBTARGET_EXTRA_SECTIONS): Likewise.
1177 (SUBTARGET_EXTRA_SECTION_FUNCTIONS): Likewise.
1178 * config/arm/thumb.h (LINK_SPEC): Only define if not already
1180 (DBX_DEBUGGING_INFO): Don't define.
1181 * config/arm/linux-telf.h: New file.
1182 * config/arm/linux-tgas.h: New file.
1183 * config/arm/t-thumb-linux: New file.
1184 * config/arm/uclinux-elf.h: New file.
1185 * config/arm/uclinux-telf.h: New file.
1186 * configure.in (arm-*-uclinux, thumb-*-linux-gnu,
1187 thumb-*-uclinux): New targets.
1188 * configure: Regenerate.
1190 Tue Jul 27 23:20:21 1999 Jeffrey A Law (law@cygnus.com)
1192 * pa.md (post_store, pre_load): New expanders.
1193 (post_stwm, pre_ldwm): Renamed to post_stw and pre_ldw respectively.
1194 (post_ldwm, pre_stwm): Make these unnamed patterns since we never
1195 need to directly generate RTL for them.
1196 * pa.c (hppa_expand_prologue, hppa_expand_epilogue): Corresponding
1199 Tue Jul 27 16:05:52 1999 David Edelsohn <edelsohn@gnu.org>
1201 * aix43.h (ASM_CPU_SPEC, CPP_CPU_SPEC): Add rs64a and PPC630.
1202 * rs6000.c (processor_target_table): Add powerpc64, rs64a, and PPC630.
1203 (rs6000_cpu): Choose between 32-bit and 64-bit default processors.
1204 (secndary_reload_class): Make TARGET_ELF conditional compile.
1205 (print_operand_address): Similar.
1206 (output_toc): Print all values as hex.
1207 (get_issue_rate): Rearrange and add RS64A and PPC630.
1208 * rs6000.h (processor_type): Add RS64A and PPC630.
1209 (PROCESSOR_POWERPC64): New.
1210 (PROMOTE_MODE): Use word_mode.
1211 (RTX_COSTS): Add RS64A and PPC630.
1212 * rs6000.md (scheduling information): Add lmul and ldiv
1213 representing 64-bit integer multiply and divide. Add rs64a and
1215 (ashldi3): Add support for "rldic" instruction.
1216 * sysv4.h (PROCESSOR_DEFAULT): Change to PROCESSOR_750.
1218 Tue Jul 27 15:31:53 1999 Vladimir Makarov <vmakarov@toad.to.cygnus.com>
1220 * config/sparc/sparc.c (sparc_override_options): Enable SPARCLITE
1221 instead of V8 for sparclite86x in cpu_table.
1223 Tue Jul 27 17:49:42 1999 Bernd Schmidt <bernds@cygnus.co.uk>
1225 * config/arm/coff.h (ASM_FILE_START): If generating SDB output, call
1226 output_file_directive.
1228 Tue Jul 27 03:15:33 1999 Jason Merrill <jason@yorick.cygnus.com>
1230 * expr.c (expand_expr, case PLUS_EXPR): Get the mode from the
1231 tree for op1, not the rtl.
1233 Tue Jul 27 00:18:34 1999 Richard Henderson <rth@cygnus.com>
1235 * m88k.c (m88k_builtin_saveregs): Break out the constructor code
1236 to m88k_va_start, leaving only the register spill.
1237 (m88k_build_va_list): New.
1238 (m88k_va_start): New.
1240 * m88k.h (BUILD_VA_LIST_TYPE): New.
1241 (EXPAND_BUILTIN_VA_START): New.
1242 (EXPAND_BUILTIN_VA_ARG): New.
1244 Mon Jul 26 19:07:11 1999 Geoff Keating <geoffk@cygnus.com>
1246 * config/rs6000/rs6000.c (rs6000_expand_builtin_saveregs):
1247 Rename from expand_builtin_saveregs.
1248 * config/rs6000/rs6000.h (EXPAND_BUILTIN_SAVEREGS): Change caller.
1250 Mon Jul 26 22:52:47 1999 Richard Henderson <rth@cygnus.com>
1252 * i960.c (i960_setup_incoming_varargs): Use get_varargs_alias_set
1253 for the register spill block.
1254 (i960_build_va_list): New.
1255 (i960_va_start): New.
1257 * i960.h (BUILD_VA_LIST_TYPE): New.
1258 (EXPAND_BUILTIN_VA_START): New.
1259 (EXPAND_BUILTIN_VA_ARG): New.
1260 * i960.md (store_multiple): Use change_address on individul mems.
1262 Mon Jul 26 22:43:12 1999 Richard Henderson <rth@cygnus.com>
1264 * builtins.c (stabilize_va_list): Don't INDIRECT_REF through
1266 (std_expand_builtin_va_start): Back out one word if !stdarg_p.
1267 (expand_builtin_va_end): Evaluate arg for side effects.
1268 * c-common.c (c_common_nodes_and_builtins): Construct a
1269 va_list_arg_type_node to handle array decomposition to pointer.
1271 Mon Jul 26 18:51:34 1999 Richard Henderson <rth@cygnus.com>
1273 * except.c (start_dynamic_cleanup): Use force_operand on the
1276 Mon Jul 26 16:43:26 1999 Richard Henderson <rth@cygnus.com>
1278 * c4x.h (EXPAND_BUILTIN_VA_ARG): New.
1279 * c4x.c (c4x_va_arg): New.
1281 Mon Jul 26 12:30:09 1999 Jason Merrill <jason@yorick.cygnus.com>
1283 * cpplib.c (cpp_get_token): Don't return a CPP_POP if the buffer
1286 1999-07-26 Nathan Sidwell <nathan@acm.org>
1288 * eh-common.h (__eh_matcher): Prototype correctly.
1290 Mon Jul 26 17:24:51 1999 Philip Blundell <pb@nexus.co.uk>
1292 * config/arm/thumb.h (THUMB_FLAG_SINGLE_PIC_BASE): Define.
1293 (TARGET_SINGLE_PIC_BASE): Likewise.
1294 (GOT_PCREL, NEED_GOT_RELOC, NEED_PLT_RELOC): Provide default
1296 (TARGET_CALLEE_INTERWORKING): Fix typo in comment.
1297 (TARGET_SWITCHES): Add -m{no-}single-pic-base.
1298 (TARGET_OPTIONS): Add -mpic-register=N.
1299 (OUTPUT_INT_ADDR_CONST): New macro.
1300 (INDEX_REGISTER_RTX_P, PIC_OFFSET_TABLE_REGNUM, FINALIZE_PIC,
1301 LEGITIMATE_PIC_OPERAND_P): Likewise.
1302 (LEGITIMIZE_ADDRESS, GOT_IF_LEGITIMATE_ADDRESS): Support PIC.
1303 (ASM_OUTPUT_INT): Use OUTPUT_INT_ADDR_CONST rather than calling
1304 output_addr_const directly.
1305 (PRINT_OPERAND_PUNCT_VALID_P): Accept `|' for compatibility with
1307 (thumb_pic_register, thumb_pic_register_string): Declare.
1309 * config/arm/thumb.c (symbol_mentioned_p): New function: Imported
1311 (label_mentioned_p): New function: Imported from arm.c.
1312 (legitimize_pic_address): New function: Imported from arm.c.
1313 (is_pic):New function: Imported from arm.c.
1314 (thumb_finalize_pic):New function: Imported from arm.c.
1315 (add_constant): Cope with PIC constants.
1316 (fixit): Cope with PIC constants.
1317 (output_return): Do not treat the PIC register as live if
1318 TARGET_SINGLE_PIC_BASE is true.
1319 (thumb_function_prologue): Do not treat the PIC register as live if
1320 TARGET_SINGLE_PIC_BASE is true.
1321 (thumb_expand_prologue): Do not treat the PIC register as live if
1322 TARGET_SINGLE_PIC_BASE is true.
1323 (thumb_unexpand_epilogue): Do not treat the PIC register as live if
1324 TARGET_SINGLE_PIC_BASE is true.
1325 (thumb_print_operand): Accept '|'.
1326 (thumb_override_options): Process PIC options.
1328 * config/arm/thumb.md (movsi): Support PIC.
1329 (call_insn): Change "i" constraint to "X".
1330 (call_value_insn): Likewise.
1331 (consttable_4, consttable_8, consttable_end): Set and clear
1332 "making_const_table" as appropriate.
1333 (pic_load_addr, pic_add_dot_plus_four): New insns.
1335 * invoke.texi (Thumb Options): Fix spelling. Document new
1336 options -msingle-pic-base and -mpic-register=.
1338 1999-07-26 Andrew Haley <aph@cygnus.com>
1340 * config/m32r/initfini.c (__init): Use a full word immediate for
1341 __fini: this allows it to be placed in any memory region.
1343 * config/m32r/t-m32r: Compile crtinit.o and crtfini.o for
1344 -mmodel=medium. This is OK for all memory models.
1346 Mon Jul 26 11:58:46 1999 Nick Clifton <nickc@cygnus.com>
1348 * config/arm/arm.c: Replace %R%s in asm_fprintf strings with %r.
1349 * config/arm/arm.h: Replace %R%s in asm_fprintf strings with %r.
1351 Mon Jul 26 10:23:36 1999 Nick Clifton <nickc@cygnus.com>
1353 * final.c (asm_fprintf): Accept ASM_FPRINTF_EXTENSIONS, if
1356 * tm.texi: Document ASM_FPRINTF_EXTENSIONS.
1358 Sun Jul 25 23:51:59 1999 Richard Henderson <rth@cygnus.com>
1360 * i860.h (EXPAND_BUILTIN_SAVEREGS): New.
1361 (BUILD_VA_LIST_TYPE): New.
1362 (EXPAND_BUILTIN_VA_START): New.
1363 (EXPAND_BUILTIN_VA_ARG): New.
1364 * i860.c (output_delayed_branch): Disable.
1365 (output_delay_insn): Likewise.
1366 (i860_saveregs): New.
1367 (i860_build_va_list): New.
1368 (i860_va_start): New.
1370 * i860.md: Disable all peepholes using output_delayed_branch.
1371 * i860/sysv4.h (I860_SVR4_VA_LIST): New.
1373 Sun Jul 25 23:44:13 1999 Richard Henderson <rth@cygnus.com>
1375 * clipper.h (EXPAND_BUILTIN_SAVEREGS): Remove argument.
1376 (BUILD_VA_LIST_TYPE): New.
1377 (EXPAND_BUILTIN_VA_START): New.
1378 (EXPAND_BUILTIN_VA_ARG): New.
1379 * clipper.c (clipper_builtin_saveregs): Only dump registers.
1380 Return the address of the save area.
1381 (clipper_build_va_list): New.
1382 (clipper_va_start): New.
1383 (clipper_va_arg): New.
1385 Sun Jul 25 22:56:47 1999 Richard Henderson <rth@cygnus.com>
1387 * arc.h (EXPAND_BUILTIN_VA_START): New.
1388 (EXPAND_BUILTIN_VA_ARG): New.
1389 * arc.c (arc_setup_incoming_varargs): Set alias set of
1391 (arc_va_start): New.
1394 Sun Jul 25 22:45:55 1999 Richard Henderson <rth@cygnus.com>
1396 * alpha.h (EXPAND_BUILTIN_SAVEREGS): Delete.
1397 (BUILD_VA_LIST_TYPE): New.
1398 (EXPAND_BUILTIN_VA_START): New.
1399 (EXPAND_BUILTIN_VA_ARG): New.
1400 * alpha.c (alpha_builtin_saveregs): Delete.
1401 (alpha_build_va_list): New.
1402 (alpha_va_start): New.
1403 (alpha_va_arg): New.
1405 Sun Jul 25 21:40:33 1999 Jeffrey A Law (law@cygnus.com)
1407 * config/svr4.h (CTORS_SECTION_ASM_OP): Do not emit directives in
1409 (DTORS_SECTION_ASM_OP, INIT_SECTION_ASM_OP): Likewise.
1410 (FINI_SECTION_ASM_OP, ASM_OUTPUT_SECTION_NAME): Likewise.
1412 * gcc.texi: More changes related to list conversion.
1413 * invoke.texi: Likewise.
1415 Sun Jul 25 18:15:39 1999 Richard Henderson <rth@cygnus.com>
1417 * builtins.c (expand_builtin_saveregs): Remove static, remove exp
1418 and ignore arguments, bail if no EXPAND_BUILTIN_SAVEREGS.
1419 (expand_builtin_next_arg): Accept ARGLIST not EXP.
1420 (stabilize_va_list): New function.
1421 (std_expand_builtin_va_start): New function.
1422 (expand_builtin_va_start): New function.
1423 (get_varargs_alias_set): New function.
1424 (std_expand_builtin_va_arg): New function.
1425 (expand_builtin_va_arg): New function.
1426 (expand_builtin_va_end): New function.
1427 (expand_builtin_va_copy): New function.
1428 (expand_builtin): Call them.
1429 * c-common.c (c_common_nodes_and_builtins): Build __builtin_va_list,
1430 __builtin_{varargs_start,stdarg_start,end,copy}.
1431 (build_va_arg): New function.
1432 * c-common.h (CTI_PTR_TYPE, ptr_type_node): Delete.
1433 (build_va_arg): Declare.
1434 * c-decl.c (ptr_type_node, va_list_type_node): New.
1435 * c-parse.gperf (__builtin_va_arg): New.
1436 * c-parse.in (VA_ARG): New token.
1437 (unary_expr): Recognize it.
1438 * expr.c (expand_expr): Expand VA_ARG_EXPR.
1439 * expr.h (std_expand_builtin_va_start): Declare.
1440 (std_expand_builtin_va_arg): Declare.
1441 (expand_builtin_va_arg): Declare.
1442 (get_varargs_alias_set): Declare.
1443 * tree.def (VA_ARG_EXPR): New.
1444 * tree.h (BUILT_IN_VARARGS_START): New.
1445 (BUILT_IN_STDARG_START, BUILT_IN_VA_END): New.
1446 (ptr_type_node, va_list_type_node): Declare.
1447 * tm.texi (EXPAND_BUILTIN_SAVEREGS): Kill unused ARGLIST argument.
1448 * m32r.h (EXPAND_BUILTIN_SAVEREGS): Likewise.
1449 * m88k.h, m88k.c: Likewise.
1450 * mn10300.h, mn10300.c: Likewise.
1451 * pa.h, pa.c: Likewise.
1452 * rs6000.h, rs6000.c: Likewise.
1453 * sh.h, sh.c: Likewise.
1454 * sparc.h, sparc.c: Likewise.
1456 * emit-rtl.c (operand_subword): Copy alias set.
1457 (change_address): Likewise.
1459 Sun Jul 25 15:04:37 1999 Jeffrey A Law (law@cygnus.com)
1461 * pa.c (compute_frame_size): Scan all the used callee saved registers,
1462 not just the first one.
1464 Fri Jul 23 14:09:58 1999 Philip Blundell <pb@nexus.co.uk>
1466 * config/arm/arm.h (TARGET_SWITCHES): Add
1467 -m{no-}single-pic-base. Correct help string for -mshort-load-words.
1468 (TARGET_OPTIONS): Add -mpic-register=.
1469 (ARM_FLAG_SINGLE_PIC_BASE, TARGET_SINGLE_PIC_BASE): Define.
1470 (arm_pic_register_string): Declare.
1471 (NEED_PLT_GOT): Delete, replace with ...
1472 (NEED_GOT_RELOC, NEED_PLT_RELOC): ... these. New macros.
1473 (OUTPUT_INT_ADDR_CONST): Replace NEED_PLT_GOT with NEED_GOT_RELOC.
1474 (ASM_OUTPUT_MI_THUNK): Replace NEED_PLT_GOT with NEED_PLT_RELOC.
1475 * config/arm/arm.c (arm_override_options): Add new option
1477 (arm_pic_register_string): New variable.
1478 (arm_finalize_pic): Respect TARGET_SINGLE_PIC_BASE.
1479 (output_func_prologue): If TARGET_SINGLE_PIC_BASE, treat the PIC
1480 register as never live. Use NEED_PLT_RELOC not NEED_PLT_GOT.
1481 (output_return_instruction): Likewise.
1482 * config/arm/elf.h (NEED_PLT_GOT): Delete, replace with ...
1483 (NEED_GOT_RELOC, NEED_PLT_RELOC): ... these. Define to flag_pic.
1484 * config/arm/arm.md: Use NEED_PLT_RELOC in place of NEED_PLT_GOT.
1486 * invoke.texi (ARM Options): Fix spelling. Remove duplicate
1487 mention of -msched-prolog. Document new options -msingle-pic-base
1488 and -mpic-register=.
1490 Thu Jul 22 18:23:56 1999 Richard Henderson <rth@cygnus.com>
1492 * haifa-sched.c (reemit_notes): Tidy.
1493 * sched.c (reemit_notes): Duplicate 1998-08-31 patch to
1496 Thu Jul 22 18:21:04 1999 Richard Henderson <rth@cygnus.com>
1498 * explow.c (trunc_int_for_mode): New function.
1499 (plus_constant_wide): Use it.
1500 * combine.c (simplify_and_const_int): Likewise.
1501 (merge_outer_ops): Likewise.
1502 (simplify_shift_const): Likewise.
1503 * cse.c (simplify_unary_operation): Likewise.
1504 (simplify_binary_operation): Likewise.
1505 * emit-rtl.c (operand_subword): Likewise.
1506 * rtl.h: Declare it.
1508 Thu Jul 22 14:34:59 1999 Bernd Schmidt <bernds@cygnus.co.uk>
1510 * config/arm/arm.c (arm_print_operand): Fix typo in 'M' case
1511 (use NUM_REGS instead of NUM_INTS).
1513 Thu Jul 22 11:25:20 1999 Bernd Schmidt <bernds@cygnus.co.uk>
1515 * builtins.c: New file.
1516 * expr.c (saveregs_value, apply_args_value): Delete definition,
1517 moved into builtins.c.
1518 (string_constant): No longer static.
1519 (get_pointer_alignment, c_strlen, get_memory_rtx, expand_builtin,
1520 apply_args_size, apply_result_size, result_vector,
1521 expand_builtin_apply_args, expand_builtin_apply,
1522 expand_builtin_return): Delete functions, moved into builtins.c.
1523 (INCOMING_REGNO, OUTGOING_REGNO): Delete unused macros.
1524 * expr.h (saveregs_value, apply_args_value): Declare variables.
1525 (expand_builtin, string_constant): Declare functions.
1526 * Makefile.in: Update to build builtin.o.
1528 Wed Jul 21 00:46:58 1999 Mark P. Mitchell <mark@codesourcery.com>
1530 * defaults.h (DWARF2_GENERATE_TEXT_SECTION_LABEL): New macro.
1531 * tm.texi (DWARF2_GENERATE_TEXT_SECTION_LABEL): Define it.
1532 * dwarf2out.c (dwarf2out_init): Don't output a label to mark the
1533 start of the text section if DWARF2_GENERATE_TEXT_SECTION_LABEL is
1535 * config/mips/iris6.h (DWARF2_GENERATE_TEXT_SECTION_LABEL):
1538 1999-07-21 Michael Meissner <meissner@cygnus.com>
1540 * print-rtl.c (print_rtx): Print the names of the virtual
1543 Wed Jul 21 16:00:32 1999 Nick Clifton <nickc@cygnus.com>
1545 * config/arm/arm.h (INITIAL_ELIMINATION_OFFSET): Fix typo
1546 introduced in previous delta.
1548 Wed Jul 21 14:30:51 1999 Bernd Schmidt <bernds@cygnus.co.uk>
1550 * c-lang.c (finish_file): Rename void_list_node to void_list_node_1
1551 to avoid name clash.
1553 Wed Jul 21 08:39:22 1999 Gavin Romig-Koch <gavin@cygnus.com>
1555 * c-lex.c (yylex) : Correct the test for overflow when lexing
1558 Tue Jul 20 18:02:42 1999 Richard Henderson <rth@cygnus.com>
1560 * haifa-sched.c (insn_cost): FREE implies cost 0 and vice versa.
1561 (adjust_priority): Always call ADJUST_PRIORITY.
1562 (schedule_insn): Only put insns into the ready at cost 0.
1563 (schedule_block): Remove redundant initial sort. Give clock_var
1564 and can_issue_more to MD_SCHED_REORDER. Requeue if hazard cost
1566 * tm.texi (MD_SCHED_REORDER): Update docs.
1568 * sparc.h (MD_SCHED_REORDER): Update. Set CAN_ISSUE_MORE.
1569 * sparc.c (ultra_reorder_called_this_block): Delete.
1570 (ultrasparc_sched_init): Don't set it.
1571 (ultrasparc_sched_reorder): Don't check it.
1573 Tue Jul 20 17:07:54 1999 Richard Henderson <rth@cygnus.com>
1575 * rs6000.h (struct rs6000_args): Add sysv_gregno.
1576 * rs6000.c (init_cumulative_args): Init sysv_gregno.
1577 (function_arg_boundary): Align DFmode.
1578 (function_arg_advance): Restructure for ABI_V4; use sysv_gregno
1579 to get fp reg and stack overflow correct.
1580 (function_arg): Likewise.
1581 (function_arg_pass_by_reference): True for TFmode for ABI_V4.
1582 (setup_incoming_varargs): Restructure for ABI_V4; use
1583 function_arg_advance to skip final named argument.
1584 (expand_builtin_saveregs): Properly unskip the last integer arg
1585 when doing varargs. Adjust overflow location calculation.
1587 * ginclude/va-ppc.h (struct __va_list_tag): Make gpr and fpr
1588 explicitly unsigned.
1589 (__VA_FP_REGSAVE): Use new OFS argument instead of AP->fpr directly.
1590 (__VA_GP_REGSAVE): Similarly.
1591 (__va_longlong_p): Delete.
1592 (__va_arg_type_violation): New declaration.
1593 (va_arg): Restructure. Flag promotion errors. Align double.
1594 TFmode passed by reference.
1596 * rs6000.md (movdi_32+1): Use GEN_INT after arithmetic
1597 in the HOST_BITS_PER_WIDE_INT > 32 case.
1599 Tue Jul 20 12:37:30 1999 Hans-Peter Nilsson <hp@bitrange.com>
1601 * dwarf2out.c (output_abbrev_section): Terminate with a zero.
1603 Tue Jul 20 12:12:27 1999 Jason Merrill <jason@yorick.cygnus.com>
1605 * gcc.c (default_compilers, cpp-output): Pass -fpreprocessed.
1606 * toplev.c (documented_lang_options): Add -fpreprocessed.
1607 * cpplib.h (struct cpp_buffer): Add preprocessed.
1608 * cppinit.c (cpp_handle_option): Handle -fpreprocessed.
1609 (cpp_start_read): Don't expand macros or emit an initial #line
1610 directive if -fpreprocessed.
1612 Tue Jul 20 12:12:09 1999 Michael Tiemann <tiemann@holodeck.cygnus.com>
1614 * cpplib.h (struct cpp_buffer): Added manual_pop for
1615 better C++ tokenization.
1616 * cpplib.c (cpp_get_token): Return CPP_EOF if manual_pop.
1617 Also, support C++ tokenization for ->*, .*, <?, and >? operators.
1618 * c-common.c (cpp_token): Make non-static.
1620 Tue Jul 20 11:24:19 1999 Bernd Schmidt <bernds@cygnus.co.uk>
1622 * c-common.h: New file.
1623 * c-common.c (permanent_obstack): Delete unused declaration.
1624 (c_global_trees): New array.
1625 (c_common_nodes_and_builtins): New function; split off common code
1626 from init_decl_processing in both c-decl.c and cp/decl.c.
1627 * c-tree.h: Delete lots of declarations of tree nodes; replaced by
1628 c_global_trees and accessor macros defined in c-common.h.
1630 * c-decl.c: Delete definitions for tree nodes that were replaced by
1632 (init_decl_processing): Build void_list_node.
1633 Call c_common_nodes_and_builtins; delete code to generate the common
1635 * objc/objc-act.c (build_module_descriptor): Rename variable
1636 void_list_node to avoid clash with c-common.h.
1638 * Makefile.in: Update dependencies.
1639 * objc/Make-lang.in: Likewise.
1641 Mon Jul 19 14:22:18 1999 Mark P. Mitchell <mark@codesourcery.com>
1643 * config/mips/iris6gld.h (MAKE_DECL_ONE_ONLY): Define.
1644 (UNIQUE_SECTION_P): Likewise.
1645 (UNIQUE_SECTION): Likewise.
1647 1999-07-19 Linas Vepstas <linas@linas.org>
1649 * config/i370/README: New file.
1650 * config/i370/linux.h: New file.
1651 * config/i370/mvs.h: New file.
1652 * config/i370/oe.h: New file.
1653 * config/i370/t-linux: New file.
1654 * config/i370/t-mvs: New file.
1655 * config/i370/t-oe: New file.
1656 * config/i370/x-oe: New file.
1657 * config/i370/xm-linux.h: New file.
1658 * config/i370/xm-mvs.h: New file.
1659 * config/i370/xm-oe.h: New file.
1661 * i370.c (label_node_t): Add first_ref_page, label_addr,
1662 label_first_ref, label_last_ref members.
1663 (mvs_need_base_reload): Renamed from mvs_label_emitted.
1664 (MAX_MVS_LABEL_SIZE): Define.
1665 (MAX_LONG_LABEL_SIZE): Define.
1666 (alias_node_t, alias_anchor, alias_number): New.
1667 (mvs_function_table): Reorder for EBCDIC.
1668 (ascebc, ebcasc): Unconditionally define.
1669 (i370_branch_dest, i370_branch_length): New functions.
1670 (i370_short_branch, i370_label_scan): New functions.
1671 (mvs_get_label): Renamed from mvs_add_label. Search for
1672 an existing label before creating a new one.
1673 (mvs_add_label): New function.
1674 (mvs_get_label_page): New function.
1675 (mvs_free_label_list): Renamed from mvs_free_label. Iterate
1676 over the entire list.
1677 (mvs_check_page) [TARGET_HLASM]: Use BASR not BALR.
1678 (mvs_check_page) [TARGET_ELF_ABI]: New function.
1679 (mvs_add_alias, mvs_need_alias): New functions.
1680 (mvs_get_alias, mvs_check_alias): New functions.
1681 (handle_pragma): New function.
1682 (mvs_function_check): New function.
1683 (unsigned_jump_follows_p): Search harder.
1684 (i370_function_prolog) [TARGET_HLASM]: Handle LE370. Scan labels.
1685 (i370_function_prolog) [TARGET_ELF_ABI]: New function.
1686 * i370.h (TARGET_VERSION): Delete.
1687 (CPP_SPEC, CPP_PREDEFINES): Delete.
1688 (mvs_label_emitted): Delete.
1689 (TARGET_EBCDIC): Delete.
1690 (MAP_CHARACTER): Define only if TARGET_EBCDIC.
1691 (HANDLE_PRAGMA): Define.
1692 (HARD_REGNO_NREGS): Handle complex modes.
1693 (HARD_REGNO_MODE_OK): Likewise.
1694 (CLASS_MAX_NREGS): Likewise.
1695 (RET_REG): Likewise.
1696 (EXTRA_CONSTRAINT): Define.
1697 (RETURN_IN_MEMORY): True for DImode.
1698 (TRAMPOLINE_TEMPLATE): Use gen_rtx instead of GEN_INT.
1699 (FUNCTION_PROFILER): Delete.
1700 (COUNT_REGS): Fail if REG_P but not REG_OK_FOR_BASE_P.
1701 (NOTICE_UPDATE_CC): Correct handling of MULT, DIV, logicals and shifts.
1702 (TARGET_ESC, TARGET_BELL): Conditionally define for TARGET_EBCDIC.
1703 (TARGET_BS, TARGET_TAB, TARGET_NEWLINE): Likewise.
1704 (TARGET_VT, TARGET_FF, TARGET_CR): Likewise.
1705 (ASM_FILE_START): Add "RMODE ANY".
1706 (ASM_OUTPUT_EXTERNAL): Check for aliases.
1707 (ASM_GLOBALIZE_LABEL): Likewise.
1708 (ASM_OUTPUT_LABELREF): Likewise.
1709 (ASM_OUTPUT_COMMON): Likewise.
1710 (PRINT_OPERAND): Handle 'K', 'W', default.
1711 (PRINT_OPERAND_ADDRESS): New.
1712 (Lots of defines): Add support for TARGET_ELF_ABI.
1713 * i370.md (attr length): New. Define for all patterns.
1714 (*): Lots of tweeks to assembly output and constraints.
1716 Mon Jul 19 15:09:29 1999 David Edelsohn <edelsohn@gnu.org>
1718 * rs6000.md (arithmetic, logical, and shift Rc combiner patterns):
1719 Disable patterns performing SImode comparisons with SImode values
1720 if TARGET_POWERPC64 and instruction does not sign-extend or does
1721 not mask to narrower than SImode, i.e. where bit 31 and bit 63 may
1722 differ for signed quantities.
1723 (indirect_jump): Add expander to choose RTL based on TARGET_64BIT.
1724 (tablejump): Patterns contingent on TARGET_64BIT not TARGET_POWERPC64.
1725 (decrement_and_branch_on_count): Add 64-bit variant.
1727 Mon Jul 19 09:36:27 1999 Bernd Schmidt <bernds@cygnus.co.uk>
1729 * final.c (output_asm_insn): When searching for the matching string
1730 for a given dialect, don't run past the end of the list of
1731 alternatives if there are fewer alternatives in the template than
1734 1999-07-17 Alexandre Oliva <oliva@dcc.unicamp.br>
1736 * gcc.texi: Update e-mail addresses and URLs to gcc.gnu.org.
1737 Removed paragraph about compression of files and size limitation,
1738 duplicated in the FAQ. Use gcc-patches for posting patches.
1739 * gcc.c (main): Updated URL with bug reporting instructions to
1740 gcc.gnu.org. Removed e-mail address.
1741 * system.h (abort): Likewise.
1743 1999-07-17 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1745 * Makefile.in (stmp-multilib-sub): Make the files extracted
1746 from $(LIBGCC1) writable.
1748 Sat Jul 17 14:25:46 1999 Nick Clifton <nickc@cygnus.com>
1750 * config/arm/aout.h: Reformat for improved readability.
1752 * config/arm/arm.h: Reformat for improved readability.
1753 Replace uses of fprintf with asm_fprintf where appropriate.
1754 (ARM_DECLARE_FUNCTION_NAME): New macro: Perform any generic ARM
1755 function declaration assembler actions.
1756 (NUM_INTS): New macro: Convert from bytes to words.
1757 (NUM_REGS): New macro: Compute number of registers required to
1758 hold a quanitity of tyep MODE.
1759 (NUM_REGS2): New macro: Like NUM_REGS but also copes with BLKmode
1761 (NUM_ARG_REGS): New macro: The number of argument registers
1763 (ARG_REGISTER): New macro: Compute the register number of the Nth
1765 (LAST_ARG_REGNUM): New macro: The number of the last argument
1767 (SP_REGNUM): New macro: Register number of the stack pointer.
1768 (FP_REGNUM): New macro: Register number of the frame pointer.
1769 (FUNCTION_ARG, FUNCTION_ARG_PARTIAL_NREGS, INIT_CUMULATIVE_AGS,
1770 FUNCTION_ARG_ADVANCE, SETUP_INCOMING_VARARGS): Change
1771 CUMULATIVE_ARGS so that it counts registers not bytes.
1773 * config/arm/arm.c: Rename TARGET_THUMB_INTERWORK to
1775 Replace uses of fprintf with asm_fprintf where appropriate.
1776 (output_ascii_pseudo_op): Replace with version from thumb.c
1778 * config/arm/coff.h (ASM_FILE_START): Emit ASM_APP_OFF.
1780 * config/arm/elf.h (CPP_PREDEFINES): Replace with
1782 (ASM_DECLARE_FUNCTION_NAME): Use ARM_DECLARE_FUNCTION_NAME.
1783 (ASM_FILE_START): Emit ASM_APP_OFF.
1785 Fri Jul 16 13:48:09 1999 Jeffrey A Law (law@cygnus.com)
1787 * pa.c (compute_frame_size): Round frame according to
1788 STACK_BOUNDARY rather than a hardwired value.
1790 * pa.h (POINTER_SIZE, PARM_BOUNDARY): Define in terms of BITS_PER_WORD.
1792 * configure.in (hppa*-*-hpux11*): Use symbolic MASK_PA_11 instead
1794 * configure: Rebuilt.
1796 * configure.in (hppa*-*-linux*): New configuration.
1797 * configure: Rebuilt.
1798 * pa.h (MAX_OFILE_ALIGNMENT): Delete.
1799 * pa/som.h (MAX_OFILE_ALIGNMENT): Define.
1800 * pa/pa-linux.h: New file.
1801 * pa/t-linux: New file.
1802 * pa/xm-linux.h: New file.
1804 * pa.c (hppa_legitimize_address): Change references from SImode to
1805 either Pmode or word_mode as appropriate.
1806 (emit_move_sequence, store_reg, load_reg): Likewise.
1807 (set_reg_plus_d, hppa_expand_prologue): Likewise.
1808 (output_mul_insn): Likewise.
1809 * pa.h (PROMOTE_MODE): Likewise.
1810 (INITIALZE_TRAMPOLINE): Likewise.
1811 (Pmode): Define to word_mode.
1813 * pa.c (compute_frame_size): Use UNITS_PER_WORD instead of hardwired
1814 value of 4. Allocate 8 bytes for each FP register save.
1815 (hppa_expand_epilogue): Use UNITS_PER_WORD instead of harwarewired
1817 (hppa_expand_prologue): Likewise.
1818 * pa.h (PROMOTE_MODE): Likewise.
1819 (HARD_REGNO_MODE_OK, FUNCTION_ARG_SIZE): Likewise.
1820 (FUNCTION_ARG_BOUNDARY): Likewise.
1822 * invoke.texi (HPPA Options): Remove -mspace/-mno-space.
1824 * pa.c (out_of_line_prologue_epilogue): Delete.
1825 (override_options): Remove -mspace related code.
1826 (hppa_expand_prologue, hppa_expand_epilogue): Likewise.
1827 (compute_frame_size): Only allocate space for register that
1828 actually need to be saved.
1829 * pa.h (MASK_SPACE, TARGET_SPACE): Delete.
1830 (TARGET_SWITCHES): Remove -mspace, -mno-space
1831 * pa/t-pa (LIB2FUNCS_EXTRA): Remove ee.asm and ee_fp.asm
1832 * pa/t-pro (LIB2FUNCS_EXTRA): Likewise. Remove -mspace multilib.
1833 * pa/ee.asm, pa/ee_fp.asm: Delete.
1835 * pa/elf.h (ASM_OUTPUT_DOUBLE_INT): Define.
1837 * config/svr4.h (CONST_SECTION_ASM_OP): Do not emit assembler
1838 directive in column zero.
1840 Fri Jul 16 01:39:57 1999 Jeffrey A Law (law@cygnus.com)
1842 * m68k.c (output_function_prologue): Fix computation of save mask
1843 when generating PIC code.
1845 Thu Jul 15 15:40:09 1999 Jim Wilson <wilson@cygnus.com>
1847 * tree.c (build_type_attribute_variant): Move current_obstack restore
1848 after build_qualified_type call.
1850 1999-07-15 Mark Mitchell <mark@codesourcery.com>
1852 * configure.in: Use t-iris6, even with GNU LD.
1853 * config/mips/iris6gld.h: Fix typo in linker spec.
1854 * config/mips/t-iris6gld: Remove.
1856 Thu Jul 15 15:15:43 1999 David Edelsohn <edelsohn@gnu.org>
1858 * rs6000.md (insv, extzv): Remove SImode dependence in named
1859 patterns. Explicitly generate DImode RTL if PowerPC64 and
1861 (insvdi): Reverse start and size in instruction template.
1863 1999-07-12 Joseph S. Myers <jsm28@cam.ac.uk>
1865 * invoke.texi: Typo fixes.
1867 Wed Jul 14 23:28:06 1999 Jeffrey A Law (law@cygnus.com)
1869 * emit-rtl.c (gen_realpart): Issue an error for cases GCC can not
1870 handle at this time instead of silently generating incorrect code.
1871 (gen_imagpart): Likewise.
1873 * reload.c (find_reloads): Emit a USE for a pseudo register without
1874 a hard register if we could not create an optional reload for the
1877 Wed Jul 14 23:45:48 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
1879 * c-typeck.c (output_init_element, process_init_element):
1880 When advancing constructor_unfilled_fields for a RECORD_TYPE,
1881 check for nameless bit fields.
1883 Wed Jul 14 01:57:39 1999 Richard Henderson <rth@cygnus.com>
1885 * regclass.c (scan_one_insn): Notice subregs that change the
1886 size of their operand.
1887 (record_reg_classes): Use that to obey CLASS_CANNOT_CHANGE_SIZE.
1889 Wed Jul 14 01:41:42 1999 Jeffrey A Law (law@cygnus.com)
1891 * configure.in (alpha*-*-*): Include alpha/t-ieee.
1892 * configure: Rebuilt.
1893 * alpha/t-ieee: New file.
1895 Tue Jul 13 10:45:58 1999 Jeffrey A Law (law@cygnus.com)
1897 * rs6000.c (find_addr_reg): Do not select r0 as an address
1900 Tue Jul 13 00:46:18 1999 Philippe De Muyter <phdm@macqel.be>
1902 * m68k/x-mot3300 (XCFLAGS): List of big files now includes `cse.o'.
1904 Mon Jul 12 14:29:15 1999 Jeffrey A Law (law@cygnus.com)
1906 * rs6000.md (movsf): Do not force easy FP constants into memory.
1908 * expr.c (expand_expr, case PLUS_EXPR): Pass constants through
1909 immed_double_const to ensure they are properly truncated then
1912 Mon Jul 12 10:40:01 1999 Vladimir Makarov <vmakarov@tofu.to.cygnus.com>
1914 * config/arm/thumb.c (thumb_reorg): Call replace_symbols_in_block
1915 always unless NO_DEBUG is used. Compile this code
1917 (replace_symbols_in_block): Compile it unconditionally.
1919 Sun Jul 11 12:32:32 1999 Jeffrey A Law (law@cygnus.com)
1921 * configure.in (i?86-*-elf*): New target.
1922 * configure: Rebuilt.
1923 * i386/i386elf.h, i386/t-i386elf: New files.
1925 Fri Jul 9 22:39:44 1999 Jason Merrill <jason@yorick.cygnus.com>
1927 * toplev.c (main): Don't complain about saying -gdwarf.
1928 (rest_of_compilation): Remove redundant code.
1930 Fri Jul 9 19:08:55 1999 Jim Wilson <wilson@cygnus.com>
1932 * unroll.c (unroll_loops): Don't delete named CODE_LABELs.
1934 Fri Jul 9 18:54:18 1999 Felix Lee <flee@cygnus.com>
1936 * config/i960/i960.c (ret_label): Change asm label from "LR:" to
1937 "Li960R:", to avoid name clash.
1939 Fri Jul 9 10:48:28 1999 Bernd Schmidt <bernds@cygnus.co.uk>
1941 * loop.c (check_dbra_loop): When reversing a loop, delete all
1942 REG_EQUAL notes referencing the reversed biv except those which are
1943 for a giv based on it.
1945 Fri Jul 9 03:51:52 1999 Jeffrey A Law (law@cygnus.com)
1947 * version.c: Drop "gcc-" prefix from version #.
1949 Thu Jul 8 18:06:30 1999 Jason Merrill <jason@yorick.cygnus.com>
1951 * dwarf2out.c (dwarf2out_line): Emit a line number comment after
1952 the label if we're being verbose.
1954 Thu Jul 8 14:18:46 1999 Richard Henderson <rth@cygnus.com>
1956 * m68k.c (output_function_prologue): Add pic register to mask
1957 if live and flag_pic.
1958 (output_function_epilogue): Likewise.
1960 Thu Jul 8 12:55:12 1999 Jeffrey A Law (law@cygnus.com)
1962 * dbxelf.h (ASM_OUTPUT_SOURCE_LINE): Do not put assembler
1963 directives in column zero.
1965 * pa/elf.h (ASM_FILE_START): Define.
1966 * pa/som.h (ASM_FILE_START): Include .level directives.
1967 * pa/hpux10.h (ASM_FILE_START): Delete.
1968 * pa/hpux11.h (ASM_FILE_START): Delete.
1970 * pa/elf.h (BSS_SECTION_ASM_OP): Use .section .bss.
1972 Thu Jul 8 18:03:19 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
1974 * reload1.c (choose_reload_regs): Never call remove_adress_replacements
1975 when reload_out equals reload_in.
1977 Thu Jul 8 16:50:14 1999 Nick Clifton <nickc@cygnus.com>
1979 * invoke.texi (Spec Files): New node: Describe the contents of
1982 Thu Jul 8 10:28:25 1999 Craig Burley <craig@jcb-sc.com>
1984 * invoke.texi (DEC Alpha Options): Put @end table at
1985 beginning of line, to avoid confusing texi2html.
1987 Thu Jul 8 09:22:06 1999 Nick Clifton <nickc@cygnus.com>
1989 * config/arm/elf.h (ASM_OUTPUT_INTERNAL_LABEL): Fixed typo
1990 introduced in previous delta.
1992 Wed Jul 7 02:00:04 1999 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
1994 * reload1.c (gen_reload): When synthesizing a 3 operand add
1995 sequence, improve test for when to reload OP1 into the reload
1996 register instead of OP0.
1998 Wed Jul 7 01:38:03 1999 Jim Wilson <wilson@cygnus.com>
2000 * unroll.c (unroll_loop): Don't delete NOTE_INSN_DELETED_LABEL notes.
2002 1999-07-07 Manfred Hollstein <mhollstein@cygnus.com>
2004 * m88k/dguxbcs.h (CPP_SPEC): Add missing \ in multi-line
2007 Wed Jul 7 01:16:43 1999 Richard Henderson <rth@cygnus.com>
2009 * ginclude/varargs.h (__builtin_va_alist_t): New typedef.
2010 (va_dcl): Use __builtin_va_alist_t.
2012 Wed Jul 7 01:14:42 1999 Jason Merrill <jason@yorick.cygnus.com>
2014 * dwarf2out.c (gen_struct_or_union_type_die): Only remember types
2015 on the permanent_obstack.
2016 * dwarfout.c (output_type): Likewise.
2018 Tue Jul 6 15:25:32 1999 Gavin Romig-Koch <gavin@cygnus.com>
2020 * c-common.c (unsigned_type,signed_type,signed_or_unsigned_type) :
2021 Merged from c-typeck.c and cp/typeck.c.
2022 * c-typeck.c (unsigned_type,signed_type,signed_or_unsigned_type) :
2023 Merged into c-common.
2025 Tue Jul 6 13:06:01 1999 Dave Brolley <brolley@cygnus.com>
2027 * c-lex.c (errorcount): Declare it.
2028 (finish_parse): Update errorcount when using CPPLIB.
2030 1999-07-06 Bruce Korb <ddsinc09@ix.netcom.com>
2032 * fixinc/inclhack.def(end_else_label): Double the backslash so
2033 sed gets a chance to see it.
2034 * fixinc/inclhack.sh: regen
2035 * fixinc/fixincl.x: regen
2037 Fri Jul 2 18:49:51 1999 Nick Clifton <nickc@cygnus.com>
2039 Add framework to support armv5 architecture when it becomes
2042 * config/arm/arm.c (FL_ARCH5): New processor capability flag.
2043 (arm_arch5): New variable.
2044 (all_architectures): Add armv5 line.
2045 * config/arm/arm.h (CPP_CPU_ARCH_SPEC): Define __ARM_ARCH_5__ if
2046 -march=armv5 is specified on the command line.
2047 (arm_arch5): Export this variable.
2048 * invoke.texi: Document new string accepted by -march= switch for
2051 * config/arm/arm.h: Replace use of constant 12 as a register
2052 number with IP_REGNUM. Similarly 14 and LR_REGNUM.
2053 * config/arm/arm.c: Replace use of constant 12 as a register
2054 number with IP_REGNUM. Similarly 14 and LR_REGNUM.
2056 * config/arm/elf.h: Tidy up.
2057 * config/arm/coff.h: Tidy up.
2059 Thu Jul 1 19:08:13 1999 Mark P. Mitchell <mark@codesourcery.com>
2061 * gcc/configure.in (mips-sgi-irix6*): Handle --with-gnu-ld.
2062 * gcc/config/mips/t-iris6gld: New file.
2063 * gcc/config/mips/iris6gld.h: Likewise.
2065 Fri Jul 2 13:23:39 1999 Gavin Romig-Koch <gavin@cygnus.com>
2067 * c-decl.c (widest_integer_literal_type_node,
2068 widest_unsigned_literal_type) : New.
2069 (init_decl_processing): Handle/use the two new types.
2070 * c-common.c (type_for_size,type_for_mode) : Same.
2071 * c-lex.c (yylex) : Same.
2072 * c-typeck.c (unsigned_type,signed_type,signed_or_unsigned_type) :
2074 * c-tree.h (widest_integer_literal_type_node,
2075 widest_unsigned_literal_type) : New.
2077 Fri Jul 2 03:05:44 1999 Jeffrey A Law (law@cygnus.com)
2079 * dwarfout.c (field_byte_offset): Correctly compute the object's
2080 byte offset for the first bit of a field which crosses an alignment
2081 boundary on a !BYTES_BIG_ENDIAN target.
2083 Fri Jul 2 01:36:36 1999 Robert Lipe <robertlipe@usa.net>
2085 * fixinc.svr4: Fix <arpa/inet.h> by deleting protos for htons and
2088 Fri Jul 2 00:46:47 1999 Richard Henderson <rth@cygnus.com>
2089 Jeff Law <law@cygnus.com>
2091 * ginclude/varargs.h (va_dcl): Use word_mode for type of
2094 * except.c: Include intl.h.
2095 (expand_eh_return): Set current_function_cannot_inline.
2096 (save_eh_status, restore_eh_status): Twiddle eh_return_stub_label.
2097 * function.h (struct function): Add eh_return_stub_label.
2098 * flow.c (delete_unreachable_blocks): Don't merge across EH edges.
2099 * Makefile.in (except.o): Depend on intl.h.
2101 Fri Jul 2 00:04:23 1999 David Edelsohn <edelsohn@gnu.org>
2103 * rs6000.md (movdf_hardfloat32): Handle PRE_INC and PRE_DEC the
2104 same as offsettable in cases 1 and 2.
2106 Thu Jul 1 20:54:10 1999 Richard Henderson <rth@cygnus.com>
2108 * alpha.md (extqh): Define as 64-((R&7)*8) instead of 56-(((R-1)&7)*8).
2109 (extlh, extwh): Likewise.
2111 Thu Jul 1 11:05:25 1999 Gavin Romig-Koch <gavin@cygnus.com>
2113 * c-lex.c (yylex): Improve 'integer constant out of range' messages.
2115 Wed Jun 30 16:51:41 1999 Nick Clifton <nickc@cygnus.com>
2117 * configure.in: Add arm-pe and thumb-pe targets.
2118 * configure: Regenerate.
2120 * thumb.c (arm_naked_function_p): New function: Determines if
2121 a function is naked (has no gcc generated prologue/epilogue).
2122 (is_called_in_ARM_mode): Return true if the func has the
2123 interfacearm attribute.
2124 (output_return): Do not generate a return for naked functions.
2125 (thumb_function_prologue): Do not generate a prologue for
2127 (thumb_expand_prologue): Do not generate a prologue for naked
2129 (thumb_expand_epilogue): Do not generate an epilogue for naked
2131 (arm_valid_machine_decl_attribute): New function, copied from
2132 arm.c: Permit naked and interfacearm attributes.
2134 * config/arm/pe.c: New file: Support code for arm-pe target.
2135 * config/arm/pe.h: New file: Header file for arm-pe target.
2136 * config/arm/tpe.h: New file: Header file for thumb-pe target.
2137 * config/arm/t-thumb-pe: New file: Makefile fragment for
2140 1999-07-01 Mark Kettenis <kettenis@gnu.org>
2142 * config/i386/gnu.h (CPP_SPEC): Define __PIC__ and __pic__ if
2143 -fPIC or -fpic is specified.
2145 Wed Jun 30 03:31:54 1999 Jeffrey A Law (law@cygnus.com)
2147 * expr.c (emit_block_move): Use copy_to_mode_reg for
2148 !TARGET_MEM_FUNCTIONS case too.
2150 * configure.in (hppa*-*-*): Add som.h or elf.h to tm_file as
2152 * configure: Rebuilt.
2153 (hppa1.1-*-pro*, hppa1.1-*-rtems*): Define target_cpu_default.
2154 * pa.h: Include dbxelf.h. Delete various dbx/stabs related
2155 definitions made redundant by dbxelf.h inclusion. Delete
2156 lots of definitions related to assembly output that are
2157 specific to the SOM object format.
2158 * pa.c (output_function_prologue): Do not emit the function's
2160 * pa-pro-end.h (STARTFILE_SPEC): Undefine before redefining.
2161 * pa-pro.h: Deleted.
2162 * som.h: New file with SOM specific definitions.
2163 * elf.h: New file with ELF specific definitions.
2165 * elfos.h (const_section): Output a tab before assembler directives.
2166 (ctors_section, dtors_section): Likewise.
2167 (ASM_OUTPUT_SECTION_NAME): Likewise.
2169 * pa/pa1.h: Delete unused file.
2171 Tue Jun 29 01:37:53 1999 Jeffrey A Law (law@cygnus.com)
2173 * configure.in (hppa*-hp-hpux11*): New configuration.
2174 * configure: Rebuilt.
2175 * pa/pa-hpux11.h: New file.
2176 * pa.h (CPP_SPEC): Conditionally add -D__STDC_EXT__ to the cpp
2179 * mips.md (leasi, leadi): New patterns.
2181 * expr.c (emit_block_move): Properly handle case where one of the
2182 block move arguments has a queued increment or decrement.
2183 (clear_storage): Similarly. Fix formatting goof.
2185 1999-06-28 "David O'Brien" <obrien@NUXI.com>
2187 * fixinc/inclhack.def(stdio_va_list): This patch Removes a
2188 semicolon from the BSD VA_LIST replacement expression.
2190 * fixinc/inclhack.sh: regen
2191 * fixinc/fixincl.x: regen
2193 * fixinc/mkfixinc.sh: Have `i[34567]86-*-freebsd*' machines
2194 now use the fixincl program.
2196 Mon Jun 28 05:28:12 1999 Jeffrey A Law (law@cygnus.com)
2198 * m68k.h (CONDITIONAL_REGISTER_USAGE): Define for !SUN_FPA
2199 case. Also make the PIC register call_used.
2201 * m68k.h (FINALIZE_PIC): Delete.
2202 * m68k.c (finalize_pic): Delete.
2204 Mon Jun 28 05:16:35 1999 Richard Henderson <rth@cygnus.com>
2206 * m68k.h (PREFERRED_RELOAD_CLASS): Don't force any FP const_doubles
2209 Mon Jun 28 04:07:27 1999 David Edelsohn <edelsohn@gnu.org>
2211 * expmed.c (expand_divmod): Ensure unsigned value fits in reg_note.
2213 Sun Jun 27 02:39:08 1999 Richard Henderson <rth@cygnus.com>
2215 * jump.c (jump_optimize_1): Validate the cmov copy to a temporary.
2217 Sat Jun 26 17:18:18 1999 David Edelsohn <edelsohn@gnu.org>
2219 * rs6000.c (print_operand, case 'L'): Use plus_constant_for_output.
2221 Fri Jun 25 11:33:24 1999 Richard Henderson <rth@cygnus.com>
2223 * alpha.c (override_options): Add -mcpu=ev45 as an alias for ev4.
2225 Fri Jun 25 13:41:25 1999 David Edelsohn <edelsohn@gnu.org>
2227 * rs6000.c (output_toc): Always use hex values for floating-point
2228 constants. Store single-precision values in upper-half of TOC
2229 entry in 64-bit mode.
2230 * rs6000.md (floatsidf2, floatunssidf2): Add !TARGET_POWERPC64
2231 to final constraints.
2232 (fix_truncdfsi2 splitter): Change pattern matching fctiwz.
2233 (fctiwz): Improve accuracy of RTL for pattern.
2235 Fri Jun 25 11:26:38 1999 Gavin Romig-Koch <gavin@cygnus.com>
2237 * expr.c (expand_expr): Allow RTL_EXPR's through the
2238 MAX_INTEGER_COMPUTATION_MODE checks.
2240 Fri Jun 25 06:06:37 1999 Richard Henderson <rth@cygnus.com>
2242 * alpha.h (MASK_SUPPORT_ARCH, MASK_CPU_EV5, MASK_CPU_EV6): Define
2243 such that MASK_SUPPORT_ARCH is not negative.
2245 Fri Jun 25 05:35:44 1999 Jeffrey A Law (law@cygnus.com)
2247 * loop.c (verify_dominator): Properly handle ADDR_VEC and
2248 ADDR_DIFF_VEC insns that appear inside loops.
2250 Thu Jun 24 22:54:05 1999 David Edelsohn <edelsohn@gnu.org>
2251 Jeff Law <law@cygnus.com>
2253 * rs6000.md (movdf_hardfloat32): Revert previous patch.
2254 Handle LO_SUM the same as offsettable in cases 1 and 2.
2255 * rs6000.c (find_addr_reg): Revert previous patch.
2257 Thu Jun 24 22:43:12 1999 Philippe De Muyter <phdm@macqel.be>
2259 * system.h (strstr): New external function declaration.
2260 * acconfig.h (NEED_DECLARATION_STRSTR): New define slot.
2261 * configure.in (GCC_NEED_DECLARATIONS): Check for strstr.
2262 * config.in, configure: Rebuilt.
2264 1999-06-24 Tom Tromey <tromey@cygnus.com>
2266 * gcc.c (main): Read user-specified specs files after computing
2267 additional startfile_prefixes.
2269 Thu Jun 24 15:00:47 1999 Mark Mitchell <mark@codesourcery.com>
2271 Revert these two patches:
2273 Thu Jun 17 21:34:24 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
2274 * loop.c (strength_reduce): When doing biv->giv conversion, update
2275 reg note of NEXT->insn.
2277 Thu Jun 17 17:22:07 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
2278 * loop.c (strength_reduce): When doing biv->giv conversion, fix up
2280 (recombine_givs): Set ix field after sorting.
2282 Wed Jun 23 21:26:00 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
2284 * rtlanal.c (reg_referenced_p): Use reg_overlap_mentioned_p
2285 for the parts of an UNSPEC / UNSPEC_VOLATILE.
2287 1999-06-23 Bruce Korb <ddsinc09@ix.netcom.com>
2289 *fixinc/inclhack.def: Add fix development commentary
2290 (read_ret_type): reactivate and add selection clause
2291 (zzz_*): tweak output file name to match what is used in hackshell.tpl
2292 *fixinc/{fixincl.x|inclhack.sh}: regen
2294 Wed Jun 23 00:48:21 1999 Jason Merrill <jason@yorick.cygnus.com>
2296 * expr.c (expand_expr): STRIP_NOPS before checking against
2297 MAX_INTEGER_COMPUTATION_MODE
2298 (check_max_integer_computation_mode): Likewise.
2300 Tue Jun 22 20:23:43 1999 Jim Wilson <wilson@cygnus.com>
2302 * md.texi (smul@var{m}3_highpart): Add missing 's' prefix.
2304 1999-06-22 Jim Wilson <wilson@cygnus.com>
2306 * expr.c (store_expr): When target is a promoted subreg, return a
2307 promoted subreg as a result.
2309 Tue Jun 22 17:14:58 1999 Michael Meissner <meissner@cygnus.com>
2311 * dwarf2out.c (dwarf2out_frame_debug_expr): Reformat to match GNU
2313 (dwarf2out_define): Mark unused parameters appropriately.
2314 (gen_unspecified_parameters_die): Ditto.
2315 (gen_subprogram_die): Fix signed/unsigned warnings.
2316 (gen_variable_die): Ditto.
2318 1999-06-22 Bruce Korb <ddsinc09@ix.netcom.com>
2320 * fixinc/inclhack.def(end_else_label): combined else_label
2321 and endif_label and fixed the sed expression.
2322 *fixinc/{fixincl.x|inclhack.sh}: regen
2324 Tue Jun 22 01:58:18 1999 Jeffrey A Law (law@cygnus.com)
2326 * rs6000.md (movdf_hardfloat32): Use %X instead of always emitting
2327 'x' when handling non-offsettable addresses
2329 Tue Jun 22 00:20:05 1999 Richard Earnshaw (rearnsha@arm.com)
2331 * final.c (shorten_branches): Don't try to split an insn that has
2334 Mon Jun 21 12:47:39 1999 Mark Mitchell <mark@codesourcery.com>
2336 * config/mips/mips.c (symbolic_expression_p): New function.
2337 (mips_select_rtx_section): Put symbolic expressions in the
2338 data section, not the read-only data section.
2340 Mon Jun 21 22:13:06 1999 Jeffrey A Law (law@cygnus.com)
2342 * rs6000.md (find_addr_reg): Handle LO_SUM addresses.
2344 Mon Jun 21 20:10:42 1999 Richard Henderson <rth@cygnus.com>
2346 * collect2.c (main): Log frame table count.
2347 (GCC_OK_SYMBOL) [ECOFF]: Accept stGlobal.
2348 (scan_prog_file) [COFF]: Handle frame tables.
2350 * alpha/alpha.h (UNALIGNED_SHORT_ASM_OP): Define.
2351 (UNALIGNED_INT_ASM_OP, UNALIGNED_DOUBLE_INT_ASM_OP): Define.
2352 * alpha/elf.h: Undef them again.
2353 * alpha/vms.h: Remove their definitions.
2355 Tue Jun 22 03:17:53 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
2357 * sh.c (machine_dependent_reorg): When fixing up fp pcloads,
2358 remove the clobber of r0 and change the REG_UNUSED note to
2361 1999-06-21 Jakub Jelinek <jj@ultra.linux.cz>
2363 * real.c (ereal_from_double): Fix for 64-bit big endian hosts.
2364 * emit-rtl.c (gen_lowpart_common): Add case for hosts where double
2365 fits in HOST_WIDE_INT and one uses union to access a long constant
2368 Mon Jun 21 17:18:25 1999 Richard Henderson <rth@cygnus.com>
2370 * sparc.c (sparc_override_options): Don't allow profiling for
2371 code models other than medlow.
2372 (sparc_function_profiler): New function from old FUNCTION_PROFILER
2373 macro. Use ASM_GENERATE_INTERNAL_LABEL and MCOUNT_FUNCTION.
2374 (sparc_function_block_profiler): Likewise. Use user_label_prefix.
2375 (sparc_block_profiler): Likewise.
2376 (sparc_function_block_profiler_exit): Likewise.
2377 * sparc.h (FUNCTION_PROFILER): Call new sparc.c function.
2378 (FUNCTION_BLOCK_PROFILER): Likewise.
2379 (BLOCK_PROFILER): Likewise.
2380 (FUNCTION_BLOCK_PROFILER_EXIT): Likewise.
2381 (MCOUNT_FUNCTION): New.
2382 * sparc/pbd.h (FUNCTION_PROFILER): Delete.
2383 (FUNCTION_BLOCK_PROFILER, BLOCK_PROFILER): Delete.
2384 * sparc/sun4o3.h (FUNCTION_PROFILER): Delete.
2385 (MCOUNT_FUNCTION): New.
2386 * sparc/sysv4.h (FUNCTION_BLOCK_PROFILER): Delete.
2387 (BLOCK_PROFILER): Delete.
2388 (MCOUNT_FUNCTION): New.
2390 Mon Jun 21 14:11:29 1999 David Edelsohn <edelsohn@gnu.org>
2392 * rs6000.md (movdf_hardfloat32): Fix typo in case 2.
2394 Mon Jun 21 12:27:17 1999 Vladimir Makarov <vmakarov@tofu.to.cygnus.com>
2396 * config/mips/elf.h (BSS_SECTION_ASM_OP, ASM_OUTPUT_ALIGNED_BSS):
2399 * config/m68k/m68kelf.h (BSS_SECTION_ASM_OP, ASM_OUTPUT_ALIGNED_BSS):
2402 * config/sh/sh.h (BSS_SECTION_ASM_OP, ASM_OUTPUT_ALIGNED_BSS):
2405 * config/arm/telf.h (BSS_SECTION_ASM_OP, ASM_OUTPUT_ALIGNED_BSS):
2408 Mon Jun 21 14:58:42 1999 Nick Clifton <nickc@cygnus.com>
2410 * config/arm/arm.h: Add cpp support for ARM920 and ARM920T cpu
2413 Mon Jun 21 06:22:21 1999 Mark Elbrecht <snowball3@bigfoot.com>
2415 * i386/djgpp.h (LIB_SPEC): New.
2416 (STARTFILE_SPEC): New.
2418 * i386/xm-djgpp.h (NO_SYS_SIGLIST): Deleted. Now obsolete.
2420 Mon Jun 21 06:19:33 1999 Philippe De Muyter <phdm@macqel.be>
2422 * fixinc/Makefile.in (gnu-regex.o): Do not define STDC_HEADERS in
2425 * system.h (WSTOPSIG): New macro.
2427 Mon Jun 21 05:33:15 1999 Mumit Khan <khan@xraylith.wisc.edu>
2429 * c-pragma.c (push_alignment): Don't ignore alignments greater than
2431 (insert_pack_attributes): Take into account member natural
2434 * i386/winnt.c (exports_head): New static variable.
2435 (i386_pe_record_exported_symbol): New function.
2436 (i386_pe_asm_file_end): Use.
2437 * i386/cygwin.h (ASM_OUTPUT_COMMON): Record the exported
2438 symbols to be emitted at end of assembly.
2439 (ASM_DECLARE_OBJECT_NAME): Likewise.
2440 (ASM_DECLARE_FUNCTION_NAME): Likewise.
2442 * i386/uwin.h (CPP_SPEC): Use -idirafter instead -iprefix and
2445 Mon Jun 21 04:44:31 1999 Jeffrey A Law (law@cygnus.com)
2447 * sparc.h (LEGITIMIZE_RELOAD_ADDRESS): Fix paren error introduced
2450 Sun Jun 20 17:27:20 1999 Richard Henderson <rth@cygnus.com>
2452 * haifa-sched.c (sched_analyze_1): Use free_list instead of
2453 zapping reg_last_uses directly.
2454 (sched_analyze_2, sched_analyze_insn): Likewise.
2455 (sched_analyze): Likewise. Don't clear reg_last_uses on calls.
2457 Sun Jun 20 16:57:29 1999 David Edelsohn <edelsohn@gnu.org>
2459 * rs6000.md (movdf_hardfloat32): Use worst case insn length
2460 attributes for cases 1 and 2.
2462 Sat Jun 19 22:52:55 1999 Richard Henderson <rth@cygnus.com>
2464 * haifa-sched.c (sched_analyze): Mark call-user regs as clobbered
2467 Sat Jun 19 05:40:07 1999 Philip Blundell <pb@nexus.co.uk>
2469 * arm.c (arm_reload_in_hi): Invert sense of test on BYTES_BIG_ENDIAN.
2471 Sat Jun 19 05:25:05 1999 Richard Earnshaw (rearnsha@arm.com)
2473 * arm.h (CONDITIONAL_REGISTER_USAGE): If flag_pic, never use
2474 PIC_OFFSET_TABLE_REGNUM for general alloaction.
2475 (INITIAL_ELIMINATION_OFFSET): Count the fact that the PIC register
2476 must be stacked if it is used for PIC accesses.
2477 * arm.c (use_return_insn): Handle PIC register specially.
2478 (output_return_instruction): Likewise.
2479 (output_func_{prologue,epilogue}): Likewise.
2480 (output_expand_prologue): Likewise.
2482 * arm.md (*adddf_esfdf_df): Renamed from *adddf_df_esfdf.
2483 (*strsi_predec): Renamed from *strqi_predec.
2484 (*loadsi_shiftpreinc): Renamed from *loadqi_shiftpreinc.
2485 (*loadsi_shiftpredec): Renamed from *loadqi_shiftpredec.
2487 * arm.c (arm_override_options): Remove warning about PIC code
2488 not being supported.
2490 Fri Jun 18 23:47:06 1999 David Edelsohn <edelsohn@gnu.org>
2492 * rs6000.c (find_addr_reg): New function.
2493 * rs6000.h (find_addr_reg): Declare.
2494 (offsettable_addr_operand): Delete.
2495 * rs6000.md (movdf_hardfloat32): Handle non-offsettable loads
2496 from and stores to GPRs.
2498 Fri Jun 18 15:44:18 1999 Richard Henderson <rth@cygnus.com>
2500 * alpha.c (alpha_expand_block_move): Use get_insns rather than
2501 gen_sequence as argument to emit_no_conflict_block.
2503 Fri Jun 18 07:02 1999 Bruce Korb <ddsinc09@ix.netcom.com>
2505 * fixinc/mkfixinc.sh: enable the fixincl program for DG/UX
2506 * fixinc/inclhack.def(dgux_int_varargs): script must end with \n
2507 *fixinc/fixincl.x: regen
2508 *fixinc/inclhack.sh: regen
2510 Thu Jun 17 15:06:10 PDT 1999 Don Lindsay <dlindsay@cygnus.com>
2512 * added support for -mpcrel (PC relative addressing for m68k)
2513 based on code done by Michael Tiemann <tiemann@axon.cygnus.com>.
2514 * invoke.texi (m68000 options): Add documentation for -mpcrel flag.
2515 * m68k.c (print_operand_address): Handle 32-bit PIC case.
2516 (comments for general_src_operand): Add some explanation
2517 about EXTRA_CONSTRAINTS.
2518 (OVERRIDE_OPTIONS): Enable -fPIC in combination with -mpcrel.
2519 * m68kelf.h (OVERRIDE_OPTIONS): Ditto.
2520 (LEGITIMATE_PIC_OPERAND_P): Fix typo.
2521 (LEGITIMATE_PIC_OPERAND_P): Re-derive from m68k.h case.
2522 * m68k.h (LEGITIMATE_PIC_OPERAND_P): Fix delete-o.
2523 (INDIRECTABLE_1_ADDRESS): Delete spurious '/' at end of macro.
2524 (OVERRIDE_OPTIONS): Change behavior so that -mpcrel implies -fpic
2526 (OVERRIDE_OPTIONS): Merge in changes from m68k.h.
2527 * m68k.h (TARGET_PCREL): New target flag.
2528 (TARGET_SWITCHES): Add "pcrel" as a recognized switch.
2529 (OVERRIDE_OPTIONS): Add checks for -mpcrel.
2530 (LEGITIMATE_PIC_OPERAND_P): Don't normally accept anything that
2531 contains a SYMBOL_REF. Relax this constraint during reload, since
2532 we want to use the predicates, not reload's built-in concept of a
2533 valid memory address, to control what insns need reloading.
2534 (EXTRA_CONSTRAINT): Define constraints to accept pc-relative
2535 operands (essentially 'g', 'm', and 's' under normal circumstances).
2536 * m68k.c (print_operand): Cause printing of pc-relative addresses
2537 to include pc register.
2538 (print_operand_address): Ditto.
2539 (general_src_operand): Accept operands that are not only
2540 general_operands, but are also valid when used as a pc-relative
2542 (nonimmediate_src_operand): Similar, for nonimmediate_operands.
2543 (memory_src_operand): Similar, for memory_operands.
2544 (pcrel_address): New predicate to accept the special case of a
2545 pc-relative address.
2546 * m68k.md (many patterns): Rewrite common SImode, HImode, and
2547 QImode insns to accept *_src_operand instead of *_operand where
2548 pc-relative operands can fit. For example, a pc-relative operand
2549 can be used as a memory source operand for addsi3, but not as a
2551 * hp320.h linux.h m68kv4.h (LEGITIMATE_PIC_OPERAND_P) as in m68k.h.
2553 Fri Jun 18 09:11:07 1999 Nick Clifton <nickc@cygnus.com>
2555 * config/arm/telf.h (ASM_OUTPUT_DEF_FROM_DECLS): New Marco: USe
2556 .thumb_set pseudo op to mark aliases of thumb functions.
2558 Wed Jun 16 18:19:13 1999 Nick Clifton <nickc@cygnus.com>
2560 * varasm.c (assemble_alias): Use ASM_OUTPUT_DEF_FROM_DECLS in
2561 preference to ASM_OUTPUT_DEF, if it is defined.
2563 * tm.texi: Document new, optional target macro
2564 ASM_OUTPUT_DEF_FROM_DECLS.
2566 Thu Jun 17 15:07 1999 Bruce Korb <ddsinc09@ix.netcom.com>
2568 * fixincludes: ISCNTL patch
2569 * fixinc/inclhack.def (ioctl_fix_ctrl): Fix the definition of [_]*ISCTRL().
2570 (dgux_int_varargs): new for DG/UX
2571 * fixinc/{fixincl.x,inclhack.sh}: Regenerated.
2573 Thu Jun 17 21:34:24 1999 Jeff Law <law@cygnus.com>
2575 * invoke.texi (ia32 options): Fix typo.
2577 Thu Jun 17 21:34:24 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
2579 * loop.c (strength_reduce): When doing biv->giv conversion, update
2580 reg note of NEXT->insn.
2582 Thu Jun 17 14:25:08 1999 Jeffrey A Law (law@cygnus.com)
2584 * loop.c (move_movables): Note issues with replacing REGs with
2586 * mips.h (GO_IF_LEGITIMATE_ADDRESS): Handle SUBREGs properly.
2588 Thu Jun 17 13:28:30 1999 David O'Brien <obrien@FreeBSD.org>
2590 * i386/freebsd-elf.h (LINK_SPEC): Fix typo.
2592 * i386/freebsd-elf.h (FUNCTION_PROFILER): labels are not needed and
2593 the reference to `mcount' was not correct for the ELF on FreeBSD.
2595 Thu Jun 17 17:22:07 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
2597 * loop.c (strength_reduce): When doing biv->giv conversion, fix up
2600 (recombine_givs): Set ix field after sorting.
2602 Thu Jun 17 02:54:30 1999 Jeffrey A Law (law@cygnus.com)
2604 * emit-rtl.c (operand_subword): Tighten checks for when it is safe
2605 to safe to extract a subword out of a REG.
2607 Thu Jun 17 01:45:24 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
2609 * sh.md (mulsi3): Don't add a no-op move at the end.
2611 Wed Jun 16 20:29:00 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
2613 * cse.c (cse_insn): Don't put hard register source into tables for
2614 the last insn of a libcall.
2616 Wed Jun 16 19:44:33 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
2618 * loop.c (strength_reduce): Insert sets of derived givs at every
2619 biv increment, even if it's the only one.
2621 Wed Jun 16 10:33:02 1999 Jason Merrill <jason@yorick.cygnus.com>
2623 * dwarfout.c (add_incomplete_type): New fn.
2624 (output_type): Call it.
2625 (retry_incomplete_types): New fn.
2626 (dwarfout_finish): Call it.
2628 From Eric Raskin <ehr@listworks.com>:
2629 (output_type): Output types for bases.
2631 Tue Jun 15 12:51:23 1999 Alexandre Oliva <oliva@dcc.unicamp.br>
2633 * mips.c (mips_output_conditional_branch): Add `break'
2634 between `default' label and `close braces'.
2636 Tue Jun 15 01:55:20 1999 David O'Brien <obrien@FreeBSD.org>
2638 * i386/freebsd-elf.h (LINK_SPEC): clean up the linking library
2639 specifications and make it realistic.
2640 (LIB_SPEC): Likewise.
2642 Mon Jun 14 15:38:43 1999 Jim Wilson <wilson@cygnus.com>
2644 * config/mips/mips.c (mips_secondary_reload_class): Check for
2645 (PLUS (SP) (REG)) and return appropriate register class.
2646 * config/mips/mips.md (reload_insi): Delete predicate for operand 1.
2647 Handle (PLUS (SP) (REG)).
2648 (tablejump): In mips16 code, use emit_insn instead of emit_jump_insn.
2649 (tablejump_mips161, tablejump_mips162): Use emit_jump_insn instead
2650 of emit_insn for tablejump.
2652 Mon Jun 14 17:26:40 1999 David Edelsohn <edelsohn@gnu.org>
2654 * rs6000.c (output_prolog): RS6000_CALL_GLUE must be
2655 asm_fprintf format string by itself.
2656 (output_function_profiler): Likewise.
2658 Mon Jun 14 12:57:38 1999 David Mosberger <davidm@hpl.hp.com>
2660 * combine.c (simplify_logical, case AND): Only call
2661 simplify_and_const_int if the mode is no wider than HOST_WIDE_INT
2662 or the constant is positive.
2664 Mon Jun 14 11:43:41 1999 Nick Clifton <nickc@cygnus.com>
2666 * configure.in: Fix typo in rs6000-ibm-aix4 case.
2667 * configure: Regenerate.
2669 Mon Jun 14 03:55:40 1999 Jeffrey A Law (law@cygnus.com)
2671 * configure.in (rs6000-ibm-aix4.3*, powerpc-ibm-aix4.3*): Do not
2672 require a sub-version #.
2673 * configure: Rebuilt.
2675 1999-06-14 Robert Lipe (robertlipe@usa.net)
2677 * svr4.h (DWARF2_DEBUGGING_INFO): Check for redefinition.
2679 Mon Jun 14 10:30:52 BST 1999 Nathan Sidwell <nathan@acm.org>
2681 * c-typeck.c (process_init_element): Detect excess elements in
2682 char array initializer.
2684 1999-06-14 Andreas Jaeger <aj@arthur.rhein-neckar.de>
2686 * gcc.texi: Mention gcc 2.96 instead of egcs 1.00.
2688 Sat Jun 12 22:29:48 EDT 1999 Jerry Quinn <jquinn@nortelnetworks.com>
2690 * invoke.texi (Option Summary): Add -fpermissive flag.
2692 Sat Jun 12 03:40:42 1999 Jeffrey A Law (law@cygnus.com)
2694 * sparc.h (LEGITIMIZE_RELOAD_ADDRESS): Do nothing with operands
2695 that require PIC code sequences.
2697 Wed Jun 9 16:29:01 1999 Nick Clifton <nickc@cygnus.com>
2699 * configure.in: Add new target: thumb-elf.
2700 * configure: Regenerate.
2701 * config/arm/t-thumb-elf: New file: Makefile fragment for
2703 * config/arm/telf.h: New file: Header file for thumb-elf
2706 Fri Jun 11 03:17:51 1999 Jeffrey A Law (law@cygnus.com)
2708 * Makefile.in (libgcc2): Pass MAYBE_USE_COLLECT2 as an argument.
2709 * libgcc2.c (__CTOR_LIST, __DTOR_LIST); Do not provide
2710 initializers is some circumstances.
2712 * fixinc/inclhack.def (endif_label): Add additional selector for
2713 more bogus stuff after #endif statements.
2714 * fixinc/inclhack.sh, fixinc/fixincl.x: Rebuilt.
2716 Thu Jun 10 20:44:36 1999 Mumit Khan <khan@xraylith.wisc.edu>
2718 * i386/cygwin.h (SET_ASM_OP): Define.
2720 Thu Jun 10 20:37:57 1999 Mumit Khan <khan@xraylith.wisc.edu>
2722 * reg-stack.c (stack_reg_life_analysis): Find all the RETURN insns.
2724 Thu Jun 10 19:23:00 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
2726 * sh.h (TARGET_HARWARD, TARGET_HARVARD): Changed the former to the
2729 * sh.md (ic_invalidate_line_i): Remove second alternative.
2731 Thu Jun 10 06:55 1999 Bruce Korb <ddsinc09@ix.netcom.com>
2733 *fixinc/inclhack.def(sun_auth_proto): We do not know how to
2734 test for the presence of valid prototypes. Delete bypass expr.
2735 (ioctl_fix_ctrl): Correct the selection expression.
2736 (no_double_slash): Correct quoting rules
2737 *fixinc/fixincl.x: regen
2738 *fixinc/inclhack.sh: regen
2740 Thu Jun 10 15:08:15 1999 Nick Clifton <nickc@cygnus.com>
2742 * config/arm/arm.c (struct all_cores): Add ARM920 and ARM920t.
2744 Wed Jun 9 15:57:57 1999 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
2746 * rs6000.md (movsi_got_internal_mem): Delete.
2747 * rs6000.h (CONDITIONAL_REGISTER_USAGE): Mark PIC_OFFSET_TABLE_REGNUM.
2748 (GOT_TOC_REGNUM): Delete.
2749 (PIC_OFFSET_TABLE_REGNUM): Define.
2750 (FINALIZE_PIC): Disable.
2751 * rs6000.c (rs6000_got_register): New code for fixed pic register.
2752 (rs6000_replace_regno): Delete.
2753 (rs6000_finalize_pic): Likewise.
2754 (output_prolog): Handle PIC_OFFSET_TABLE_REGNUM.
2756 Wed Jun 9 19:44:26 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
2758 * loop.c (loop_insn_first_p): Don't compare LUIDs when P
2759 is a note; use <= for the compare; advance P while it is
2762 Wed Jun 9 13:12:24 1999 Jeffrey A Law (law@cygnus.com)
2764 * fixinc/inclhack.def (no_double_slash): Fix quoting for test.
2765 * fixinc/inclhack.sh, fixinc/fixincl.x, fixinc/fixincl.sh; Rebuilt.
2767 * varasm.c (remove_from_pending_weak_list): Verify t->name
2768 is non-NULL before passing it to strcmp.
2770 Wed Jun 9 06:50 1999 Bruce Korb <ddsinc09@ix.netcom.com>
2772 *fixinc/inclhack.def(sun_auth_proto): bypass the patch if
2773 the typed arguments are not part of a comment
2774 (ioctl_fix_ctrl): Added a purpose comment
2775 *fixinc/fixincl.x: regenerate
2776 *fixinc/inclhack.sh: regenerate
2778 Wed Jun 9 22:57:02 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
2780 * invoke.texi: Add C4x invocation docs.
2782 Wed Jun 9 22:34:38 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
2784 * config/c4x/c4x.h (TARGET_EXPOSE_LDP, LEGITIMIZE_RELOAD_ADDRESS):
2786 * config/c4x/c4x.c (c4x_emit_move_sequence, src_operand): Use
2788 (c4x_legitimize_reload_address): New function.
2789 * config/c4x/c4x.md: Update docs.
2791 Wed Jun 9 04:14:48 1999 Jeffrey A Law (law@cygnus.com)
2793 * fixincludes: Avoid removing '.'.
2794 * fixinc/fixinc.svr4: Likewise.
2795 * fixinc/fixinc.winnt: Likewise.
2796 * fixinc/inclhack.tpl: Likewise.
2797 * fixinc/fixincl.sh, fixinc/inclhack.sh: Rebuilt.
2799 1999-06-09 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2801 * fixinc/inclhack.def (sun_catmacro): Escape parens in the select
2803 * fixinc/fixincl.x, fixinc/inclhack.sh: Rebuilt.
2805 Wed Jun 9 03:10:34 1999 Mumit Khan <khan@xraylith.wisc.edu>
2807 * c-pragma.c (handle_pragma_token): Handle `#pragma pack()'
2810 Tue Jun 8 13:06:15 1999 Jim Wilson <wilson@cygnus.com>
2812 * configure.in (rs6000-ibm-aix4.[12]*): Change rx6000 to rs6000.
2813 * configure: Regenerate.
2815 Tue Jun 8 05:47:48 1999 Richard Earnshaw (rearnsha@arm.com)
2817 * optabs.c (expand_cmplxdiv_wide): Use expand_abs to get the absolute
2820 Mon Jun 7 22:30:37 1999 Jeffrey A Law (law@cygnus.com)
2822 * fixinc/inclhack.def (avoid_bool): Also catch
2823 "typedef [unsigned] int bool".
2824 * fixinc/inclhack.sh, fixinc/fixincl.x, fixinc/fixincl.sh: Rebuilt.
2826 * m68k/x-hp3bsd44: Delete obsolete and incorrect file.
2827 * configure.in (m68k-hp-bsd4.4): No longer use x-hp3bsd44.
2828 * configure: Rebuilt.
2830 Mon Jun 7 22:05:03 1999 Mark Kettenis <kettenis@gnu.org>
2832 * config/i386/gnu.h: Include <gnu.h> right after <i386/linux.h>,
2833 such that we can override its definitions if necessary.
2834 (CPP_SPEC): New define. Support processor specific predefines via
2836 (CC1_SPEC): New define. Support processor specific compiler
2837 options via %(cc1_cpu).
2838 (STARTFILE_SPEC): New define. Use crt0.o instead of crt1.o for
2841 1999-06-07 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2843 * fixinc/inclhack.def (math_gcc_ifndefs): Insert whitespace
2844 between sed's -e flag, and the open-quote following it.
2845 * fixinc/fixincl.x, fixinc/fixincl.sh: Rebuilt.
2847 Mon Jun 7 20:34:20 1999 Robert Lipe <robertlipe@usa.net>
2848 Jeffrey A Law (law@cygnus.com)
2850 * varasm.c (assemble_start_function): Remove the function
2851 from the pending weak decls list when we define a function.
2852 (assemble_variable): Similarly for variables.
2853 (weak_finish): Ignore items on the list with a NULL name.
2854 (remove_from_ending_weak_list); New function to "remove" an item
2855 from the pending weak declarations list.
2857 Mon Jun 7 19:27:07 1999 Jerry Quinn <jquinn@nortelnetworks.com>
2859 * pa.md (fmpyfadd, fmpynfadd, fnegabs): New patterns.
2861 Mon Jun 7 14:07:39 1999 Dave Brolley <brolley@cygnus.com>
2863 * c-lex.c (GETC): Redefine to call getch.
2864 (UNGETC): Redefine to call put_back.
2865 (putback_buffer): New structure type.
2866 (putback): New static structure.
2867 (getch): New function.
2868 (put_back): New function.
2869 (yylex): Replace unused bytes from bad multibyte character.
2871 Mon Jun 7 13:33:39 1999 Dave Brolley <brolley@cygnus.com>
2873 * cpplib.c (do_define): Cast `alloca' return value.
2874 (do_include, do_undef, do_pragma): Likewise.
2875 * cpphash.c (dump_definition): Cast `xstrdup' and `alloca' return
2877 * cppfiles.c (initialize_input_buffer): Cast `xmalloc' return values.
2878 * gcc/cppspec.c (lang_specific_driver): Cast xmalloc return value.
2880 Sun Jun 6 11:58:34 1999 Jakub Jelinek <jj@ultra.linux.cz>
2882 * sparc.md (abstf2): This should be an expand.
2883 (split after abstf2_notv9): Fix mode.
2884 (abstf2_hq_v9): New pattern.
2885 (abstf2_v9): Only use when no hard quad.
2886 (absdf2_v9): Fix if target is not the same as source.
2887 (ashrsi3_extend, ashrsi3_extend2, lshrsi3_extend, lshrsi3_extend2):
2888 Add correct output constraints.
2890 Sat Jun 5 17:04:16 1999 Craig Burley <craig@jcb-sc.com>
2892 From Dave Love to egcs-patches on 20 May 1999 17:38:38 +0100:
2893 * invoke.texi: Clarify text vis-a-vis Intel CPUs.
2895 Sat Jun 5 12:11:24 1999 Mark Mitchell <mark@codesourcery.com>
2897 * mips.h (mips_output_conditional_branch): New function.
2898 (mips_adjust_insn_length): Likewise.
2899 (ASSEMBLER_SCRATCH_REGNUM): New macro.
2900 (ADJUST_INSN_LENGTH): Likewise.
2901 * mips.c (print_operand): Add `F' and `W' for floating-point
2903 (machine_dependent_reorg): Adjust MIPS16 code; instruction-lengths
2905 (mips_adjust_insn_length): New function.
2906 (mips_output_conditional_branch): New function.
2907 * mips.md (length): Adjust attribute definition to handle
2908 conditional branches. Change lengths to bytes, rather than
2909 instructions throughout. Remove length attribute from
2910 instructions whose length is four bytes, and rely on the default
2912 (dslot): Fix typo in comment.
2913 Reword conditional branch patterns to use
2914 mips_output_conditional_branch.
2916 Fri Jun 4 13:30:27 1999 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
2918 * alpha/osf.h (CPP_SUBTARGET_SPEC): Handle -threads.
2919 (LIB_SPEC): Likewise.
2920 Link with -lprof1_r for -g/-pg.
2922 1999-06-04 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2924 * loop.c (check_dbra_loop): Fix change of Jan 19.
2926 Fri Jun 4 00:12:40 1999 Marc Espie <espie@cvs.openbsd.org>
2928 * freebsd-elf.h (SWITCH_TAKES_ARG): Redefine, not define.
2929 (STARTFILE_SPEC): Define, override the svr4.h version.
2930 (ENDFILE_SPEC): Likewise.
2932 Thu Jun 3 23:58:55 1999 Jeffrey A Law (law@cygnus.com)
2934 * fixinc/inclhack.def (limits_ifndefs): Also apply to sys/limits.h
2935 * fixinc/fixincl.x: Regenerated.
2936 * fixinc/inclhack.sh: Regenerated.
2938 Fri Jun 4 05:42:23 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
2940 * sh.c (barrier_align): Don't return early for normal branch/barrier
2941 when optimizing for SH2.
2943 Thu Jun 3 22:27:50 1999 Robert Lipe <robertlipe@usa.net>
2945 * i386/udk.h (LINK_SPEC): Correct linker search path for
2948 Fri Jun 4 03:20:40 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
2950 * sh.c (fixup_addr_diff_vecs): Emit braf reference label.
2951 (braf_label_ref_operand): Delete.
2952 * sh.h (PREDICATE_CODES): Remove braf_label_ref_operand.
2953 * sh.md (casesi_jump_2): Operand1 is now the inside of a
2954 label_ref, and has no predicate.
2955 The patten has a predicate to guard against invalid substitutions.
2956 (dummy_jump): Delete.
2957 (casesi): Update use of casesi_jump_2.
2959 Thu Jun 3 07:48 1999 Bruce Korb <ddsinc09@ix.netcom.com>
2961 *fixinc/inclhack.def(Io_Def_Quotes): corrected sed expression
2962 *fixinc/fixincl.x: regenerate
2963 *fixinc/inclhack.sh: regenerate
2965 Thu Jun 3 02:15:07 1999 Jason Merrill <jason@yorick.cygnus.com>
2967 * dwarf2out.c (add_incomplete_type): New fn.
2968 (gen_struct_or_union_type_die): Call it.
2969 (retry_incomplete_types): New fn.
2970 (dwarf2out_finish): Call it.
2972 Thu Jun 3 01:19:03 1999 Jeffrey A Law (law@cygnus.com)
2974 * gcse.c (insert_insn_end_bb): Correct placement of insns when the
2975 current block starts with a CODE_LABEL and ends with a CALL and
2976 we can not find all the argument setup instructions for the CALL.
2978 Wed Jun 2 15:44:15 1999 Mark Mitchell <mark@codesourcery.com>
2981 * fold-const.c (fold): STRIP_NOPS when deciding whether or not
2982 something is a candidate for optimize_bit_field_compare.
2984 Wed Jun 2 21:53:05 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
2986 * sh.h (CONST_OK_FOR_I, CONST_OK_FOR_L): Cast VALUE to HOST_WIDE_INT.
2988 Wed Jun 2 12:25:55 1999 Richard Henderson <rth@cygnus.com>
2990 * alpha.c (override_options): Thinko in last patch.
2992 * alpha/osf.h (CPP_SUBTARGET_SPEC): Define.
2993 (LIB_SPEC): Recognize -pthread.
2995 Wed Jun 2 08:42:55 1999 Nick Clifton <nickc@cygnus.com>
2997 * config/arm/tcoff.h (USER_LABEL_PREFIX): Synchronise with
2998 definition in config/arm/coff.h
2999 * config/arm/coff.h: Add comment about USER_LABEL_PREFIX.
3001 Wed Jun 2 07:07 1999 Bruce Korb <ddsinc09@ix.netcom.com>
3003 * fixinc/fixincl.c(global def): Add FD_SHELL_SCRIPT to mark
3004 fixes that need "file=xxx\n" prepended before invocation
3005 (start_fixer - new): starting the fixer process is complex enough
3006 to warrent its own routine. It prepends the "file=xxx\n" stuff.
3007 (process): uses the new routine; omit usage of putenv()
3008 * fixinc/fixincl.tpl: mark shell scripts with FD_SHELL_SCRIPT
3009 * fixinc/fixincl.x: regenerate
3011 Wed Jun 2 02:29:07 1999 Jeffrey A Law (law@cygnus.com)
3013 * README, configure.in, gcc.1, gcc.texi: Update name (egcs -> gcc)
3014 and version #s (1.1 -> 2.96) as needed.
3015 * README.g77: Kill way out of date file in the toplevel directory.
3017 Wed Jun 2 00:52:34 1999 David O'Brien <obrien@FreeBSD.org>
3019 * configure.in (i[34567]86-*-freebsdelf): Don't include linux.h,
3020 i386/freebsd-elf.h no longer requires it. Instead include svr4.h.
3021 * configure: Rebuilt.
3022 * i386/freebsd-elf.h (DEFAULT_VTABLE_THUNKS): Define.
3023 (ASM_COMMENT_START, ASM_APP_ON, ASM_APP_OFF, SET_ASM_OP): Likewise.
3024 (PREFERRED_DEBUGGING_TYPE, WCHAR_UNSIGNED): Likewise.
3025 (SWITCH_TAKES_ARG): Likewise.
3026 * i386/freebsd.h: Remove FREEBSD_NATIVE support.
3027 * config/t-freebsd: Moved from config/i386/ so it can used for all
3030 Mon May 31 02:22:55 1999 Philippe De Muyter <phdm@macqel.be>
3032 * m68k/x-mot3300 (XCFLAGS): Fixed to match stb.o, not f/stb.o.
3034 Wed Jun 2 00:08:34 1999 Robert Lipe <robertlipe@usa.net>
3036 * configure.in (i[34567]86-*-udk*): Install headers with cpio.
3037 * configure: Rebuilt.
3039 Tue Jun 1 19:06:22 1999 David Edelsohn <edelsohn@gnu.org>
3041 * rs6000/aix41.h (RS6000_CALL_GLUE): Define.
3042 * rs6000/aix43.h (RS6000_CALL_GLUE): Likewise.
3043 * rs6000/rs6000.c (rs6000_file_start): Use putc.
3044 (rs6000_output_load_toc_table): Same.
3045 (output_prolog, output_mi_thunk): Same.
3046 * rs6000/rs6000.h (SELECT_SECTION): Formatting.
3047 (ASM_GLOBALIZE_LABEL): Use putc.
3049 Mon May 31 15:23:23 1999 Richard Henderson <rth@cygnus.com>
3051 * alpha.md (reload_*_help): New patterns and splitters.
3052 (reload_*): Use them.
3053 (mov[qh]i): Likewise.
3055 Mon May 31 11:48:07 1999 Mark Mitchell <mark@codesourcery.com>
3057 * cccp.c (handle_directive): Handle backslash-newlines in quoted
3060 Mon May 31 09:36:11 1999 Cort Dougan <cort@cs.nmt.edu>
3062 * rs6000/linux.h (LINK_SPEC): Use emulation elf32ppclinux.
3064 Mon May 31 11:40:20 EDT 1999 John Wehle (john@feith.com)
3066 * flow.c (mark_regs_live_at_end, insn_dead_p,
3067 mark_set_1, mark_used_regs): Only give FRAME_POINTER_REGNUM
3068 and HARD_FRAME_POINTER_REGNUM special treatment if reload
3069 hasn't run or the frame pointer is needed.
3070 * haifa-sched.c (attach_deaths): Likewise.
3071 * sched.c (attach_deaths): Likewise.
3073 Mon May 31 00:46:17 1999 Jeffrey A Law (law@cygnus.com)
3075 * jump.c (jump_optimize_1): Only set CAN_REACH_END if
3076 calculate_can_reach_end returns nonzero.
3078 * configure.in (native gas tests): Search for an assembler in the
3079 same manner that the installed compiler will.
3080 * configure: Rebuilt.
3081 * tm.texi (MD_EXEC_PREFIX): Note need to update configure.in too.
3083 * alias.c (find_base_term): Improve handling of addresses
3084 constructed from binary operations.
3086 Sun May 30 14:29:17 1999 Eric Raskin (ehr@listworks.com)
3088 * dgux.h (STARTFILE_SPEC): Fix incorrectly matched curly-braces.
3090 Sun May 30 14:19:13 1999 Jeffrey A Law (law@cygnus.com)
3092 * function.h (cleanup_label, frame_offset): Declare.
3093 (tail_recursion_label, tail_recursion_reentry): Likewise.
3094 (arg_pointer_save_area, rtl_expr_chain): Likewise.
3095 * stmt.c (cleanup_label, frame_offset): Delete extern declarations.
3096 (tail_recursion_label, tail_recursion_reentry): Likewise.
3097 (arg_pointer_save_area, rtl_expr_chain): Likewise.
3099 Sat May 29 19:08:10 1999 Philip Blundell <philb@gnu.org>
3101 * config/arm/aout.h (ASM_OUTPUT_ALIGN): Only define if not already
3103 * config/arm/elf.h (ASM_OUTPUT_ALIGN): Define.
3104 (MAX_OFILE_ALIGNMENT): Define.
3106 Fri May 28 21:40 1999 Robert Lipe <robertlipe@usa.net>
3108 * fixincl.c: Replace local include scheme with #includes of
3109 gansidecl.h and system.h.
3110 * procopen.c: Likewise.
3111 * server.c: Likewise.
3113 Fri May 28 03:47:03 1999 Eric Raskin (ehr@listworks.com)
3115 * i386/t-dgux (EXTRA_PARTS): Add crti.o
3116 (crti.o): Add build rule and dependencies.
3117 * fixinc/fixinc.dgux: Use modified _int_varargs.h
3119 Fri May 28 03:41:02 1999 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
3121 * rs6000/sysv4.h (CC1_SPEC): Add support for -profile
3122 (LIB_LINUX_SPEC): Likewise.
3123 (LIB_LINUX_SPEC): Add support for -pthread
3124 (CPP_OS_LINUX_SPEC): Likewise.
3125 (CPP_SYSV_SPEC): Avoid redefinitions if both -fpic and -fPIC are
3128 Thu May 27 13:04:52 1999 H.J. Lu (hjl@gnu.org)
3130 * i386.c (output_fp_cc0_set): Don't check the JUMP_INSN code for
3132 (notice_update_cc, output_float_compare): Enable TARGET_CMOVE support.
3133 (output_float_compare, output_fp_cc0_set): Fix the FLOAT comparison
3134 for IEEE math and CC_FCOMI.
3135 (put_jump_code): No IEEE if CC_FCOMI is set.
3137 1999-05-27 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
3139 * fold-const.c (fold_truthop): Make the field reference unsigned
3140 when converting a single bit compare.
3142 Thu May 27 02:40:48 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
3144 * loop.c (strength_reduce): Don't do biv->giv conversion on constants.
3146 Thu May 27 02:09:27 1999 Jeffrey A Law (law@cygnus.com)
3148 * varasm.c (STRIP_NAME_ENCODING): Remove default definition.
3149 * output.h (STRIP_NAME_ENCODING): Strip '*' like the old varasm
3152 * reload.c (push_reload): Do not call remove_address_replacements
3153 when presented with identical optional reloads.
3155 Wed May 26 14:18:05 1999 Richard Henderson <rth@cygnus.com>
3157 * alpha.h (MASK_FIX, TARGET_FIX): New.
3158 (MASK_*): Reorganize constants.
3159 (CPP_AM_FIX_SPEC): New.
3160 (TARGET_SWITCHES): Add FIX.
3161 (EXTRA_SPECS): Likewise.
3162 (CPP_CPU_EV6_SPEC): Use FIX, not CIX.
3163 (SECONDARY_MEMORY_NEEDED): Likewise.
3164 (REGISTER_MOVE_COST): Likewise.
3165 * alpha.c (override_options): Add FIX support. Always use
3166 ALPHA_TP_PROG for ev6.
3167 * alpha.md (sqrt and mov[sd]i patterns): Use FIX, not CIX.
3168 * alpha/elf.h (ASM_FILE_START): Look at FIX too.
3169 * configure.in (target_cpu_default2) [ev6]: Use FIX, not CIX.
3171 Wed May 26 09:53:05 1999 Mark Mitchell <mark@codesourcery.com>
3173 * fold-const.c (fold): STRIP_NOPS when deciding whether or not
3174 something is a candidate for optimize_bit_field_compare.
3176 Wed May 26 09:40:02 1999 Mark Mitchell <mark@codesourcery.com>
3178 * gcc.texi (Passes): Document branch-shortening.
3179 * invoke.texi (Debugging Options): Document the fact that `-dp'
3180 outputs length information for instructions.
3182 Wed May 26 08:49:31 1999 Nick Clifton <nickc@cygnus.com>
3184 * flow.c: Revert previous delta.
3186 Wed May 26 06:05:10 1999 Nick Clifton <nickc@cygnus.com>
3188 * flow.c (insn_dead_p): Check against frame_pointer_rtx not
3189 FRAME_POINTER_REGNUM.
3190 (mark_set_1): Ditto.
3191 (mark_used_regs): Ditto.
3193 Wed May 26 02:19:31 1999 Philip Blundell <pb@nexus.co.uk>
3195 * arm.h (NEED_PLT_GOT): Fix mistake in last change.
3196 (GOT_PCREL): New macro. Define to 1 if not already defined.
3197 * arm/elf.h (GOT_PCREL): Define to 0.
3198 * arm.c (arm_finalize_pic): Take into account the setting of
3201 Tue May 25 14:06:06 1999 Jeffrey A Law (law@cygnus.com)
3203 * output.h (STRIP_NAME_ENCODING): Provide default definition.
3204 * dwarf2out.c (ASM_NAME_TO_STRING): Use STRIP_NAME_ENCODING.
3206 * flow.c (mark_set_1): Do not record BLKmode stores as dead
3207 store elimination candidates.
3209 Tue May 25 08:55:57 1999 Gavin Romig-Koch <gavin@cygnus.com>
3211 * config/mips/mips.h (ASM_OUTPUT_DOUBLE_INT) : Use 'dword' if
3214 Mon May 24 20:30:08 1999 Jim Wilson <wilson@cygnus.com>
3216 * configure.in (rs6000-ibm-aix4.[12]*): Delete use of aix41-gld.h.
3217 Add use of x-aix41-gld.
3219 Mon May 24 16:44:09 1999 Jakub Jelinek <jj@ultra.linux.cz>
3221 * sparc/linux64.h (ASM_OUTPUT_CONSTRUCTOR): Define.
3222 (ASM_OUTPUT_DESTRUCTOR): Define.
3224 Mon May 24 14:35:24 1999 Jeffrey A Law (law@cygnus.com)
3226 * loop.c (strength_reduce): Do not clear NOT_EVERY_ITERATION at the
3227 last CODE_LABEL in a loop if we have previously passed a jump
3228 to the top of the loop.
3230 Mon May 24 07:56:29 1999 Nick Clifton <nickc@cygnus.com>
3232 * config/arm/arm.h (OUTPUT_INT_ADDR_CONST): Fix blunder made when
3233 applying Philip's patch.
3235 Mon May 24 01:02:12 1999 Mark Mitchell <mark@codesourcery.com>
3237 * stmt.c (expand_end_bindings): Ignore any elements of VARS that
3240 Sun May 23 20:31:16 1999 Jeffrey A Law (law@cygnus.com)
3242 * loop.c (strength_reduce): Grow reg_single_usage as needed.
3244 Sun May 23 10:13:20 1999 David O'Brien <obrien@FreeBSD.org>
3246 * i386/freebsd-elf.h (LINK_SPEC): Change -static to -Bstatic.
3247 Also remove a useless comment.
3249 Sun May 23 10:05:23 1999 Jerry Quinn <jquinn@nortelnetworks.com>
3251 * pa.md (negdf2,negsf2): Use fneg instead of fsub on pa 2.0.
3253 Sat May 22 21:02:06 1999 David Edelsohn <edelsohn@gnu.org>
3255 * collect2.c (main): Only generate import or export file and add
3256 to link arguments if non-empty. Use xmalloc not alloca.
3257 (write_{export,import}_file): Delete.
3258 (write_aix_file): New function.
3259 (locatelib): Use xmalloc not malloc.
3260 (GCC_OK_SYMBOL): Do not check type if aix64.
3262 Sat May 22 09:35:51 1999 Philip Blundell <pb@nexus.co.uk>
3264 Based on patch by Scott Bambrough and Pat Beirne:
3265 * config/arm/arm.c (making_const_table): New variable.
3266 * config/arm/arm.h (making_const_table): Declare.
3267 (OUTPUT_INT_ADDR_CONST): Mark symbols as position independent if
3269 * config/arm/arm.md (consttable_4, consttable_8, consttable_end):
3270 Keep track of when we are building the constant table.
3272 Sat May 22 09:34:22 1999 Philip Blundell <pb@nexus.co.uk>
3274 * config/arm/arm.c (arm_override_options): Fix erroneous warning
3277 Sat May 22 09:06:33 1999 Nick Clifton <nickc@cygnus.com>
3279 * config/arm/arm.h (NEED_PLT_GOT): Only define if not already
3282 Sat May 22 07:17:05 1999 Nick Clifton <nickc@cygnus.com>
3284 * tm.texi (FUNCTION_ARG): Correct description of a stack element
3287 Sat May 22 01:27:49 1999 Mark Mitchell <mark@codesourcery.com>
3289 * expr.h (lang_expand_constant): Guard with #ifdef TREE_CODE.
3291 Fri May 21 21:19:02 1999 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
3293 * rs6000.c (output_mi_thunk): Enable full support again.
3295 Fri May 21 20:09:52 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
3297 * sh.h (BRANCH_COST): Define.
3299 Thu May 20 10:00:42 1999 Stephen L Moshier <moshier@world.std.com>
3301 * Makefile.in (GCC_FOR_TARGET): Add -I$(build_tooldir)/include.
3303 Thu May 20 09:58:57 1999 Jan Hubicka <hubicka@freesoft.cz>
3305 * function.c (assign_stack_local): Align stack slot propertly.
3306 (assign_outer_stack_local): Likewise.
3308 Thu May 20 10:38:43 1999 Mark Mitchell <mark@codesourcery.com>
3310 * expr.h (lang_expand_constant): Declare.
3311 * toplev.c (lang_expand_constant): Define it.
3312 * varasm.c (output_constant): Use it.
3314 Thu May 20 11:28:53 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3316 * optabs.c (expand_cmplxdiv_straight, expand_cmplxdiv_wide):
3317 Change function definitions to K&R style.
3319 Thu May 20 08:16:39 1999 Bruce Korb <ddsinc09@ix.netcom.com>
3321 * fixinc/fixincl.c: We must not ignore SIGCLD now.
3323 Thu May 20 07:06:39 1999 Alexandre Oliva <aoliva@acm.org>
3325 * fixinc/Makefile.in(gnu-regex.o): add $(INCLUDES) to compile options
3326 * fixinc/fixincl.c(wait_for_pid): K&R-ify arguments
3327 (several places): omit static initialization
3328 (process): use single fd, since only the read fd is used
3329 * fixinc/gnu-regex.c: define 'const' away, if not supported
3330 * fixinc/procopen.c(several places): omit static initialization
3331 * fixinc/server.c: define 'volitile' away, if not supported
3333 1999-05-20 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
3335 * config/dbxcoff.h (DBX_OUTPUT_MAIN_SOURCE_FILE_END): Use
3336 asm_fprintf and %L to generate the label name.
3337 * config/dbxelf.h (DBX_OUTPUT_MAIN_SOURCE_FILE_END): Likewise.
3338 (ASM_OUTPUT_SOURCE_LINE): Correct generation of internal labels.
3340 Thu May 20 01:40:55 1999 Jeffrey A Law (law@cygnus.com)
3342 * jump.c (can_reverse_comparison_p): Do not abort if the comparison
3343 insn for a conditional jump can not be found.
3345 Wed May 19 23:58:58 1999 Jeffrey A Law (law@cygnus.com)
3347 * mips.h (ENCODE_SECTION_INFO): Do not perform GP optimizations
3348 on variables in specific sections other than .sbss and .sdata.
3350 Wed May 19 03:56:56 1999 Mark Mitchell <mark@codesourcery.com>
3352 * stmt.c (expand_return): Call start_cleanup_deferral and
3353 end_cleanup_deferral around conditional code.
3355 Wed May 19 08:40:08 1999 Bruce Korb <ddsinc09@ix.netcom.com>
3357 * fixinc/fixincl.tpl: Avoid depending on ANSI C features for
3358 filename lists. Utilizes new "krstr" AutoGen function.
3359 * fixinc/fixincl.x: Rebuilt.
3361 Wed May 19 02:47:11 1999 Jan Hubicka (hubicka@freesoft.cz)
3363 * i386.c (output_float_compare): Avoid GNU-C extensions.
3365 Wed May 19 00:34:40 1999 Jeffrey A Law (law@cygnus.com)
3367 * version.c: Bump to distinguish mainline tree from the
3370 See ChangeLog.1 for earlier changes.
3373 add-log-time-format: current-time-string