1 Mon Apr 12 03:07:44 1999 Richard Henderson <rth@cygnus.com>
3 * alpha.c (aligned_memory_operand): Handle out of range stack slots.
4 Take a new SCRATCH argument for the occasion. Update all callers.
5 (get_unaligned_address): Abort on out of range stack slots.
6 * alpha.md (adddi3 splitter): Check s_p_rtx not REGNO.
7 (reload_inqi): Check for aligned mems before unaligned.
8 (reload_inhi): Likewise.
10 Mon Apr 12 03:11:30 1999 Jeffrey A Law (law@cygnus.com)
12 * flow.c (flow_delete_insn): If we delete a CODE_LABEL, also remove
13 it from the nonlocal_goto_handler_labels list.
14 * jump.c (delete_insn): Likewise.
15 (jump_optimize_1): Also recompute LABEL_NUSES when we are just
17 * rtl.h (remove_node_from_expr_list): Declare.
18 * rtlanal.c (remove_node_from_expr_list): New function.
20 Mon Apr 12 02:37:02 1999 Jan Hubicka <hubicka@freesoft.cz>
22 * reg-stack.c: Update comment, include varray.h.
23 (stack_regs_mentioned_data): New global variable.
24 (check_stack_regs_mentioned): New function.
25 (stack_regs_mentioned): New function.
26 (reg_to_stack): Initialize and free stack_regs_mentioned_data,
27 use stack_regs_mentioned.
28 (record_asm_reg_life): Change insn type cache for changed insn.
29 (record_reg_life): Do not change the insn mode.
30 (emit_pop_insn): Likewise.
31 (emit_swap_insn): Likewise.
32 (move_for_stack_reg): Likewise.
33 (stack_reg_life_analysis): Use stack_regs_mentioned.
34 (emit_swap_insn): Likewise.
35 (subst_stack_regs): Likewise.
36 (convert_regs): Likewise.
37 * jump.c (find_cross_jump): Use stack_regs_mentioned.
38 * rtl.h (stack_regs_mentioned): Declare.
40 Mon Apr 12 00:57:10 1999 Theodore Papadopoulo <Theodore.Papadopoulo@sophia.inria.fr>
42 * integrate.c (INTEGRATE_THRESHOLD): Sync it with the comment.
44 Sun Apr 11 10:24:18 1999 Mark Mitchell <mark@codesourcery.com>
46 * rtl.h (rtx_def): Update documentation for jump and call.
48 Sun Apr 11 07:43:44 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
50 * jump.c (jump_optimize_1): Make the definition static to match
53 Sat Apr 10 22:51:53 1999 Jan Hubicka <hubicka@limax.paru.cas.cz>
55 * flow.c (life_analysis): New parameter remove_dead_code.
56 (life_analysis_1): Likewise.
57 (propagate_block): Likewise; use it.
58 * output.h: Update prototype.
59 * toplev.c: Update calls to life_analysis.
61 Sat Apr 10 22:12:12 1999 Jan Hubicka <hubicka@freesoft.cz>
63 * recog.c (constrain_operands): Ignore unary operators when
64 matching operands. Recognize '5'..'9' as well.
66 Sat Apr 10 21:53:02 1999 Philipp Thomas (kthomas@gwdg.de)
67 Richard Henderson <rth@cygnus.com>
69 * configure.in: Set target_cpu_default2 for target_alias k6.
70 * i386.h (TARGET_SWITCHES): Remove no-<cpu> entries.
71 (CC1_CPU_SPEC): Likewise.
72 (CPP_CPU_DEFAULT_SPEC): Streamline definition. Add K6 version.
74 (CPP_CPU_SPEC): Add K6 variant.
75 (EXTRA_SPECS): Likewise.
77 Fri Apr 9 11:29:17 1999 Richard Henderson <rth@cygnus.com>
79 * flow.c (merge_blocks_nomove): Rewrite to properly handle two
80 blocks that vanish entirely during merging.
82 Sat Apr 10 20:09:55 EDT 1999 John Wehle (john@feith.com)
84 * i386.md (floatsisf2, floatdisf2, floatsidf2, floatdidf2,
85 floatsixf2, floatdixf2, movsicc, movhicc, movsfcc, movdfcc,
86 movxfcc, movdicc): Remove unused register constraints from
89 * i386.md (fixuns_truncsfsi2, fixuns_truncdfsi2,
90 fixuns_truncxfsi2): Delete.
92 * reg-stack.c (delete_insn_for_stacker): Ensure that
93 the only side effects of a PARALLEL are clobbers.
94 (subst_stack_regs): Handle subst_stack_regs_pat deleting
96 * i386.md (extendsfdf2, extenddfxf2,
97 extendsfxf2): Rewrite using a splitter.
98 * i386.c (output_op_from_reg): Remove.
101 Sat Apr 10 13:09:18 1999 Nick Clifton <nickc@cygnus.com>
103 * config/arm/arm.c (di_operand): Allow SUBREGs as well.
104 (soft_df_operand): Allow SUBREGs as well.
106 Sat Apr 10 06:14:31 1999 Jan Hubicka <hubicka@paru.cas.cz>
108 * extend.texi (Assembler Instructions with C Expression Operands):
109 Document the i386 floating point operands.
111 1999-04-10 Mike Stump <mrs@wrs.com>
113 * configure.in (*-*-vxworks): Add vxWorks thread support for all
115 * configure.in (thumb-wrs-xvworks): Add vxWorks support for thumb.
116 * configure: Rebuilt.
118 Sat Apr 10 06:04:50 1999 Donn Terry (donn@interix.com)
120 * i386/t-interix: Use mostly system headers unchanged.
122 * fixinc/fixinc.interix: Ditto (make almost no-op).
123 * config/x-interix.h (_ALL_SOURCE): add -D
124 * config/x-interix.h (crti.o): Delete dependency.
125 * config/xm-interix.h (ONLY_INT_FIELDS): Define only when bootstrapping.
126 * i386/xm-i386-interix.h: New file.
127 * i386/interix.h (ASM_OUTPUT_LIMITED_STRING): Fix warnings.
128 * i386/i386-interix.h: Renamed from interix.h.
129 * configure.in (interix): Use new files.
130 * configure: Rebuilt.
132 Sat Apr 10 05:25:28 1999 Daniel Jacobowitz <dan@debian.org>
134 * rs6000/sysv4.h (CPP_OS_LINUX_SPEC): Fix conditions
135 for -Dunix and -Dlinux, and remove duplicate definition.
136 Change -Asystem(linux) to -Asystem(posix).
137 (CPP_OS_SOLARIS_SPEC): Fix conditions for -Dunix, -Dsun,
138 -DSVR4, -D__EXTENSIONS__.
140 * rs6000/linux.h (CPP_PREDEFINES): Remove -Dunix,
141 -Dlinux, -Asystem(linux), and -Asystem(unix).
143 Sat Apr 10 05:14:50 1999 Mark Elbrecht <snowball3@usa.net>
145 * i386/djgpp.h (SET_ASM_OP): Define.
147 * cccp.c (DIR_SEPARATOR): Move to the top of the file.
148 (is_dir_separator): New function.
149 (simplify_filename): Use it.
150 * collect2.c (find_a_file): Use HAVE_DOS_BASED_FILE_SYSTEM in place
151 of the DIR_SEPARATOR test.
152 Consider any file starting with a drivename to be absolute.
153 If the absolute filename test fails and EXECUTABLE_SUFFIX is
154 defined, append EXECUTABLE_SUFFIX to the file and try again.
155 * cppinit.c (base_name): Use HAVE_DOS_BASED_FILE_SYSTEM
156 in place of __MSDOS__ and _WIN32.
157 * cppfiles.c (simplify_pathname): Likewise.
158 * gcc.c (IS_DIR_SEPARATOR): Define new macro. Returns true if a
159 character is a directory separator.
160 (find_a_file): Use it.
161 (convert_filename): Likewise.
162 (process_command): Likewise.
163 (do_spec_1): Likewise.
164 (is_directory): Likewise.
166 * prefix.c (IS_DIR_SEPARATOR): Define. Tests whether a character is
167 a directory separator.
168 (translate_name): Use it.
169 (update_path): Change DIR_SEPARATOR_2 to DIR_SEPARATOR. Fix
170 warning in block where '/' is changed to DIR_SEPARATOR.
171 * i386/xm-djgpp.h (DIR_SEPARATOR): Set to '/'.
172 (DIR_SEPARATOR_2): New macro. Set to '\'.
173 (HAVE_DOS_BASED_FILESYS): Define.
174 * i386/xm-mingw32.h: Updated copyright. Set
175 DIR_SEPARATOR_2 to '/'. Define HAVE_DOS_BASED_FILE_SYSTEM.
176 * i386/xm-os2.h: Likewise.
177 * winnt/xm-winnt.h: Likewise.
178 * i386/xm-dos.h: Likewise. Add copyright.
180 1999-04-10 Joseph S. Myers <jsm28@cam.ac.uk>
182 * pdp11.h (TARGET_SWITCHES): Add option to vary assembler syntax.
183 (TARGET_DEFAULT): Possibly use UNIX syntax.
184 (TARGET_UNIX_ASM, TARGET_UNIX_ASM_DEFAULT): New macros.
185 (REGISTER_NAMES): Use "r5" instead of "fp".
186 (ASM_OUTPUT_ALIGN): Use ".even" directive, and abort for any
188 * 2bsd.h (TARGET_UNIX_ASM_DEFAULT): Default to UNIX assembler
190 * pdp11.c (output_ascii): Use working syntax for ".byte".
191 (print_operand_address): Use "*" instead of "@" when using UNIX
194 Sat Apr 10 03:50:12 1999 Jeffrey A Law (law@cygnus.com)
196 * rtl.h (rebuild_jump_labels): Declare.
197 * jump.c (jump_optimize_1): Renamed from jump_optimize. Make static.
198 Add new argument MARK_LABELS_ONLY. Quit after mark_all_labels if
200 (jump_optimize, rebuild_jump_labels): New wrapper functions for
202 * toplev.c (rest_of_compilation): Use rebuild_jump_labels instead of
203 running the entire jump optimizer.
205 * rtl.h (local_alloc): Returns an integer now.
206 * local-alloc.c (recorded_label_ref): New file scoped variable.
207 (local_alloc): Initialize recorded_label_ref to zero. Return its
208 value when local allocation has completed.
209 (update_equiv_regs); If we create an equivalence for a LABEL_REF,
210 set recorded_label_ref.
211 * toplev.c (rest_of_compilation): Run the jump optimizer after
212 register allocation and reloading if needed.
214 Fri Apr 9 21:02:57 1999 Krister Walfridsson (cato@df.lth.se)
216 * i386/gas.h (ASM_OUTPUT_MAX_SKIP_ALIGN): Fix typo.
217 * i386/freebsd-elf.h (ASM_OUTPUT_MAX_SKIP_ALIGN): Likewise.
219 1999-04-09 22:58 -0400 Zack Weinberg <zack@rabi.columbia.edu>
221 * cpphash.c (special_symbol): When expanding __LINE__, use the
222 top file buffer, not the top buffer.
224 Fri Apr 9 13:41:04 1999 Jim Wilson <wilson@cygnus.com>
226 * Makefile.in (check-g++, check-gcc, check-g77, check-objc): Add
227 cd .. to TCL_LIBRARY command.
229 Fri Apr 9 13:04:52 1999 Nick Clifton <nickc@cygnus.com>
231 * config/arm/unknown-elf.h (SUBTARGET_CPU_DEFAULT): Only define if
232 not already specified.
234 Fri Apr 9 11:18:55 1999 Jason Merrill <jason@yorick.cygnus.com>
236 * c-common.c (decl_attributes, A_INIT_PRIORITY): Allow arrays
239 Fri Apr 9 10:40:10 1999 Kaveh R. Ghazi <ghazi@snafu.rutgers.edu>
241 * rs6000.c (rs6000_override_options, ptt, rs6000_file_start,
242 rs6000_float_const, rs6000_replace_regno, debug_stack_info,
243 rs6000_output_load_toc_table, output_prolog, output_epilog):
245 (output_mi_thunk): Likewise. Mark parameter `thunk_fndecl' with
246 ATTRIBUTE_UNUSED. Hide unused variables `r0', `sp', `toc',
247 `schain', `r12', `buf' and `labelno'.
248 (output_ascii): Const-ify a char*.
249 (rs6000_gen_section_name): Initialize variable `last_period'.
250 (rs6000_adjust_priority): Mark parameter `insn' with
252 (rs6000_trampoline_template, rs6000_dll_import_ref,
253 rs6000_longcall_ref, rs6000_encode_section_info): Const-ify a char*.
255 * rs6000.h (offsettable_mem_operand, optimization_options): Add
258 * rs6000.md (movdi, define_split): Cast a value to HOST_WIDE_INT
259 when comparing against one.
261 Thu Apr 8 19:20:18 1999 Jeffrey A Law (law@cygnus.com)
263 * expr.c (expand_expr, case ARRAY_REF, COMPONENT_REF, BIT_FIELD_REF):
264 Do not try to optimize a aggregate address which has VOIDmode.
265 Mirrors March 23 change to expand_assignment.
267 * flow.c (delete_unreachable_blocks): Do not require EDGE_FALLTHRU
268 for an edge when tidying an edge which connects consecutive basic
271 * flow.c (can_delete_label_p): Do not convert a label into a
274 * cse.c (flush_hash_table): New function.
275 (cse_insn): Flush the hash table when we encounter a volatile asm.
276 (cse_basic_block): Use flush_hash_table instead of doing it
279 * reload1.c (reload_cse_regs_1): Flush known register values if
280 we encounter a volatile asm.
282 * loop.c (strength_reduce): Re-enable Joern's loop improvements.
284 Thu Apr 8 09:37:40 1999 Nick Clifton <nickc@cygnus.com>
286 * config/arm/arm.c (arm_print_operand): Undo previous change -
287 always print large constants in decimal.
289 Thu Apr 8 10:22:23 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
291 * configure.in (host_xm_file, build_xm_file): Include hwint.h.
292 Use case statements instead of "if test -a ... -a ... -a ..."
294 * machmode.h: Don't define HOST_WIDE_INT, etc. Wrap use of
295 HOST_WIDE_INT in #ifdef.
297 * mips.h: Include hwint.h instead of providing definitions for
298 HOST_WIDE_INT, etc. Wrap uses of HOST_WIDE_INT in #ifdef.
300 Thu Apr 8 06:16:14 EDT 1999 John Wehle (john@feith.com)
302 * i386.md (truncdfsf2, truncxfsf2,
303 truncxfdf2): Rewrite using a splitter.
305 Thu Apr 8 01:26:05 1999 Arg Haas (ahaas@neosoft.com)
306 Jeffrey A Law (law@cygnus.com)
308 * freebsd-elf.h (ASM_OUTPUT_MAX_SKIP_ALIGN): Avoid ambiguous
310 * gas.h (ASM_OUTPUT_MAX_SKIP_ALIGN): Likewise.
311 * linux.h (ASM_OUTPUT_MAX_SKIP_ALIGN): Likewise.
312 * openbsd.h (ASM_OUTPUT_MAX_SKIP_ALIGN): Likewise.
314 Wed Apr 7 22:40:19 1999 Jim Wilson <wilson@cygnus.com>
316 * i960/i960.c (i960_function_prologue): Don't save static chain
318 * i960/i960.h (STACK_CHAIN_REGNUM): Change from r3 to g12.
319 (TRAMPOLINE_TEMPLATE): Likewise.
320 (FRAME_POINTER_REQUIRED): Check current_function_has_nonlocal_goto.
321 * i960/i960.md (nonlocal_goto): Rewrite.
323 Tue Apr 6 17:49:49 1999 Philip Blundell <pb@nexus.co.uk>
325 * config/arm/lib1funcs.asm: Test for __ELF__ not __elf__.
327 Wed Apr 7 14:07:34 1999 Jeffrey A Law (law@cygnus.com)
329 * h8300.c (h8300_adjust_insn_length): Also avoid recognizing
330 ADDR_VEC and ADDR_DIFF_VEC insns.
332 * h8300.c (h8300_adjust_insn_length): Avoid trying to recognize
333 USE, CLOBBER or SEQUENCE insns.
335 * unroll.c (unroll_loop): For HAVE_cc0 machines, adjust copy_end_luid
336 to account for the uncopied insn that sets cc0 at the end of the loop.
338 * unroll.c (copy_loop_body): Always ensure at least two insns
339 are in the copied loop.
341 Wed Apr 7 14:52:18 1999 Catherine Moore <clm@cygnus.com>
343 * config/mips/elf.h (MAKE_DECL_ONE_ONLY): Define.
344 (UNIQUE_SECTION_P): Define.
346 1999-04-07 11:50 -0800 Bruce Korb <ddsinc09@ix.netcom.com>
348 * fixinc/inclhack.tpl & fixincl.tpl:
349 Remove dynamic content from generated files
351 Wed Apr 7 13:16:22 EDT 1999 John Wehle (john@feith.com)
353 * i386.c (output_move_memory): Remove.
356 * i386.md (movsi, movhi, movstricthi, movqi, movstrictqi,
357 movsf, movdf, movxf, movdi): Check no_new_pseudos instead
358 of (reload_in_progress | reload_completed).
360 Wed Apr 7 03:16:45 1999 Richard Henderson <rth@cygnus.com>
362 * alpha.c (reg_no_subreg_operand): New function.
363 * alpha.h (PREDICATE_CODES): Add it.
364 * alpha.md (floatdi?f patterns): Use it for op1.
366 * alpha.c (alpha_end_function): Don't flag weak functions.
368 Wed Apr 7 02:11:55 1999 Richard Henderson <rth@cygnus.com>
370 * expr.c (expand_builtin) [BUILT_IN_RETURN_ADDRESS]: Use
371 copy_to_mode_reg; don't force constants into a register.
373 Tue Apr 6 22:55:25 1999 Richard Henderson <rth@cygnus.com>
375 * toplev.c (compile_file): Typo flow_dump -> flow2_dump.
377 1999-04-06 Joseph S. Myers <jsm28@cam.ac.uk>
379 * pdp11.c (simple_memory_operand): Add default case in switch.
380 * pdp11.h (TARGET_SWITCHES): Add help strings.
381 (NOTICE_UPDATE_CC): Don't include excess argument to format.
382 (ASM_OUTPUT_DOUBLE_INT): Remove.
384 Tue Apr 6 22:09:40 1999 Richard Henderson <rth@cygnus.com>
386 * expr.c (expand_builtin_setjmp): Put setjmp return label on
387 nonlocal_goto_handler_labels for flow.
389 Tue Apr 6 22:05:21 1999 Jan Hubicka <hubicka@paru.cas.cz>
390 Richard Henderson <rth@cygnus.com>
392 * flow.c (verify_flow_info): New function.
393 (find_basic_blocks): Call it if ENABLE_CHECKING.
394 (merge_blocks): Don't merge if there are non-deletable labels.
395 * toplev.c (fatal_insn): Allow a printf-style arg list.
396 * toplev.h (fatal_insn): Update prototype.
398 Tue Apr 6 16:18:58 1999 Jan Hubicka <hubicka@paru.cas.cz>
400 * flow.c (split_edge) update correctly flow graph, disable
401 EDGE_CRITICAL flag on the split edge, update NUSES for new label.
403 Tue Apr 6 15:47:51 1999 Richard Henderson <rth@cygnus.com>
405 * emit-rtl.c (gen_rtx_CONST_DOUBLE): Use XWINT not XINT.
406 Clear third and following slots, if they exist.
408 Tue Apr 6 15:45:28 1999 Richard Henderson <rth@cygnus.com>
410 * flow.c (create_basic_block): Make sure the bb note is in the block.
411 (can_delete_note_p): Rename from delete_note_p.
412 (delete_insn_chain): Preserve undeleteable labels too.
413 (tidy_fallthru_edge): Use next_real_insn instead of confusing
416 1999-04-06 12:56 -0400 Zack Weinberg <zack@rabi.columbia.edu>
418 * cppexp.c (parse_charconst): Initialize c.
419 (cpp_parse_expr): Initialize rprio.
420 * cppfiles.c (merge_include_chains): Initialize prev.
421 (finclude) Set fp->line_base to fp->buf before returning.
422 * cpphash.c (macroexpand): Initialize token.
423 * cppspec.c (lang_specific_driver): Change suff to
426 1999-04-06 12:51 -0400 Zack Weinberg <zack@rabi.columbia.edu>
428 * cppinit.c (install_predefs): Delete function.
429 (cpp_start_read): Don't call install_predefs.
430 (cpp_handle_option): Remove case 'u' and all refs to
431 opts->inhibit_predefs.
432 (print_help): Don't mention -undef.
433 (initialize_builtins): Define __HAVE_BUILTIN_SETJMP__, to
435 * cpplib.h (struct cpp_options): Remove inhibit_predefs
438 * cccp.c (predefs): Delete variable.
439 (main): Remove case 'u' in argument parse loop,
440 'inhibit_predefs' variable, and the code block that would
441 process CPP_PREDEFINES.
442 (initialize_builtins): Don't define __OBJC__, the driver will
445 * gcc.c (default_compilers): Remove -undef from all specs that
446 invoke a C preprocessor.
447 * ch/lang-specs.h: Likewise.
448 * cp/lang-specs.h: Likewise.
449 * f/lang-specs.h: Likewise.
450 * objc/lang-specs.h: Likewise.
452 Mon Apr 5 11:55:31 1999 Donn Terry (donn@interix.com)
454 * Makefile.in (SUBDIR_FLAGS_TO_PASS): Fix misapplied patch.
456 Mon Apr 5 11:51:38 1999 Jeffrey A Law (law@cygnus.com)
458 * m68k.md (movdf): Hide GPR sources & destinations from regclass.
460 Mon Apr 5 09:54:42 PDT 1999 Jeff Law (law@cygnus.com)
462 * version.c: Bump for snapshot.
464 Mon Apr 5 05:55:15 PDT 1999 Bruce Korb <ddsinc09@ix.netcom.com>
466 * fixincl.tpl: Separate "-e" from its argument, a la
467 the Sat Apr 3 17:05:13 1999 fix.
468 * genfixes: Ensure that the server shell is _NOT_ csh.
470 Mon Apr 5 03:52:30 PDT 1999 Jeff Law (law@cygnus.com)
472 * version.c: Bump for snapshot.
474 Mon Apr 5 04:47:14 1999 Jeffrey A Law (law@cygnus.com)
476 * i386.c (x86_double_with_add): Turn off for Pentium and PPro.
477 (small_shift_operand, output_ashlsi3): New functions.
478 * i386.h (small_shift_operand, output_ashlsi3): Declare.
479 * i386.md (ashlsi3): Simplify ahlsi3 patterns. Remove splitters
480 that are no longer needed.
482 Sun Apr 4 04:05:04 1999 Jeffrey A Law (law@cygnus.com)
484 * stmt.c (expand_loop_end): When copying the loop exit test,
485 do not walk into a nested loop.
487 Sun Apr 4 00:14:54 1999 Jeffrey A Law (law@cygnus.com)
489 * fixinc/hackshell.tpl: Skip links to directories, to avoid
491 * fixinc/inclhack.tpl: Likewise.
492 * fixinc/fixinc.sh, fixinc/fixincl.x, fixinc/inclhack.sh: Rebuilt.
494 Sat Apr 3 23:46:13 1999 David Edelsohn <edelsohn@gnu.org>
496 * rs6000.md (addsi3, iorsi3, xorsi3, adddi3, iordi3, xordi3,
497 movsi_got, movsi, movsf): Use no_new_pseudos.
498 * rs6000.c (rs6000_got_register): Likewise.
499 (offsettable_mem_opereand): Use || not |.
501 Sat Apr 3 22:02:56 1999 Jeffrey A Law (law@cygnus.com)
503 * acconfig.h (ENABLE_CHECKING): Remove redundant #undef.
504 * config.in: Rebuilt.
506 Sat Apr 3 16:22:59 1999 Toshiyasu Morita (tm@netcom.com)
508 * gcc.texi: Add info on regmove pass.
510 * regmove.c (fixup_match_1): Consistently evaluate
511 HAVE_POST_INCREMENT and HAVE_POST_DECREMENT.
513 Sat Apr 3 19:21:05 1999 Alexandre Oliva <oliva@dcc.unicamp.br>
515 * configure.in (DEFAULT_LINKER, DEFAULT_ASSEMBLER): Use grep
516 instead of test and sed to check whether they're GNU programs.
517 * configure: Rebuilt.
519 Sat Apr 3 17:57:35 1999 Alexandre Oliva <oliva@dcc.unicamp.br>
521 * Makefile.in (install-headers-tar, install-headers-cpio): Avoid
522 problems with CDPATH.
523 Reported by Ralf Canis <canis@bigfoot.com>
525 Sat Apr 3 13:50:16 1999 Jeffrey A Law (law@cygnus.com)
527 * fixinc.x86-linux-gnu: Deleted.
529 Sat Apr 3 17:05:13 1999 Alexandre Oliva <oliva@dcc.unicamp.br>
531 * inclhack.tpl: Insert spaces between `sed -e' and '...'.
532 Reported by Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
533 * fixinc/fixincl.sh, fixinc/fixincl.x, fixinc/inclhack.sh: Regen.
535 Sat Apr 3 14:54:46 1999 Craig Burley <craig@jcb-sc.com>
537 * tree.def (BLOCK): Fix typo in comment.
539 Sat Apr 3 00:53:29 EST 1999 John Wehle (john@feith.com)
541 * i386.md (floatsisf2, floatdisf2, floatsidf2, floatdidf2,
542 floatsixf2, floatdixf2): Rewrite using a splitter.
544 Fri Apr 2 17:36:10 1999 Nick Clifton <nickc@cygnus.com>
546 * config/arm/arm.c (arm_print_operand): Print large constants in
547 hex rather than decimal.
549 Fri Apr 2 17:23:58 1999 Nick Clifton <nickc@cygnus.com>
551 * print-rtl.c (print_rtx): Use both HOST_WIDE_INT_PRINT_DEC
552 and HOST_WIDE_INT_PRINT_HEX to display constants.
554 1999-04-02 20:16 -0500 Zack Weinberg <zack@rabi.columbia.edu>
556 * config/i386/i386.h: Document all TARGET_SWITCHES or add
557 explicit null initializer.
559 * config/i386/cygwin.h: Document all SUBTARGET_SWITCHES.
560 * config/i386/dgux.h: Likewise.
561 * config/i386/osf1elf.h: Likewise.
562 * config/i386/win32.h: Likewise.
563 * config/i386/osfrose.h: Likewise. Drop obsolete -mno-ident option.
565 Fri Apr 2 17:49:44 1999 Toshiyasu Morita <tm@netcom.com>
567 * regmove.c (fixup_match_1): Remove now useless if (0).
569 Sat Apr 3 11:37:20 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
571 * tm.texi (USE_LOAD_POST_DECREMENT, USE_LOAD_PRE_DECREMENT,
572 USE_STORE_POST_DECREMENT, USE_STORE_PRE_DECREMENT): Document.
573 (USE_LOAD_POST_INCREMENT, USE_LOAD_PRE_INCREMENT,
574 USE_STORE_POST_INCREMENT, USE_STORE_PRE_INCREMENT): Fix documentation.
576 * rtl.h (USE_LOAD_POST_DECREMENT, USE_LOAD_PRE_DECREMENT,
577 USE_STORE_POST_DECREMENT, USE_STORE_PRE_DECREMENT,
578 USE_LOAD_POST_INCREMENT, USE_LOAD_PRE_INCREMENT,
579 USE_STORE_POST_INCREMENT, USE_STORE_PRE_INCREMENT): Provide default
582 * expr.c (USE_LOAD_POST_INCREMENT, USE_LOAD_PRE_INCREMENT,
583 USE_STORE_POST_INCREMENT, USE_STORE_PRE_INCREMENT): Delete default
586 Fri Apr 2 16:03:05 1999 Jeffrey A Law (law@cygnus.com)
588 * fixinc.dgux, fixinc.interix, fixinc.irix, fixinc.ptx: Deleted.
589 * fixinc.sco, fixinc.svr4, fixinc.winnt, fixinc.wrap: Likewise.
591 Fri Apr 2 15:46:25 1999 Donn Terry (donn@interix.com)
593 * configure.in: Set and substitute quoted_cc_set_by_configure.
594 * configure: Rebuilt.
595 * Makefile.in (SUBDIR_FLAGS_TO_PASS): Fix quoting problem with ``.
597 Fri Apr 2 14:35:45 1999 Stan Cox <scox@cygnus.com>
599 * config/i386/cygwin.h (CPP_SPEC): Use mingw_include_path instead
600 of a hardcoded path for -mno-cygwin.
601 (mingw_include_path): New.
603 1999-04-02 Joseph S. Myers <jsm28@cam.ac.uk>
605 * pdp11.c: Include "recog.h".
606 (output_function_prologue): Remove unused variables `nregs', `i',
608 (output_function_epilogue): Remove unused variables
609 `may_call_alloca', `nregs', `regno', `adjust_fp'.
610 (output_ascii): Mark as returning void.
611 (print_operand_address: Likewise.
612 (simple_memory_operand): Remove unused variables `plus0', `plus1',
614 * pdp11.h: Declare functions `arith_operand',
615 `const_immediate_operand', `expand_shift_operand',
616 `legitimate_address_p', `notice_update_cc_on_set', `output_ascii',
617 `output_function_epilogue', `output_function_prologue',
618 `print_operand_address', `register_move_cost',
619 `simple_memory_operand'.
620 (HARD_REGNO_MODE_OK): Parenthesize `REGNO' arg.
621 (REGNO_REG_CLASS): Likewise.
622 * pdp11.md: Add explicit `int' to `static count' (in two places).
623 (addhi3): Add explicit braces to avoid ambiguous else.
627 Fri Apr 2 14:17:10 1999 Jerry James <jerry@cs.ucsb.edu>
629 * gcc/invoke.texi: Add documentation for additional supported
630 MIPS CPU types, options -mips16 and -mentry, and ABI and ISA
633 Fri Apr 2 14:12:06 EST 1999 John Wehle (john@feith.com)
635 * i386.md: Delete floating point compare, add, subtract,
636 multiply, and divide patterns which allowed integer
638 * i386.c (output_386_binary_op): Delete unused code.
639 (output_float_compare): Likewise.
641 Fri Apr 2 11:53:37 1999 John Wehle (john@feith.com)
643 * i386.md (movsf+1, movdf+1, movxf+1): Update constraints
644 so that SECONDARY_MEMORY_RELOAD is used. Remove dead code.
646 1999-04-02 Bruce Korb <ddsinc09@ix.netcom.com>
648 * fixinc/mkfixinc.sh: Added support for x86-interix.
649 * fixinc/fixinc.interix: Fixincludes script, slight changes
650 from ./fixinc.interix. Untested (needs interix box).
651 * fixinc/inclhack.def:
652 Complete the change to the 'fixinc.tmp' file.
653 Fixed regex for finding C++ headers.
654 * fixincl.x, fixincl.sh, inclhack.sh: Regenerate.
656 Fri Apr 2 11:36:12 1999 Jan Hubicka (hubicka@paru.cas.cz)
658 * i386.c (print_operand_address, case REG): Do not use ESI addressing
661 * i386.c (print_operand_address, case MULT): Use more efficient
662 encoding (mult (reg) (const_int 2)).
664 Thu Apr 1 17:01:50 1999 Richard Henderson <rth@cygnus.com>
666 Move over patch from Bernd Schmidt from GC branch:
667 * emit-rtl.c (gen_rtx_CONST_DOUBLE): New function.
668 (gen_rtx): Call it. Tidy cases.
669 * rtl.h (gen_rtx_CONST_DOUBLE): Prototype it.
670 * gengenrtl.c: Add commentary.
671 (special_rtx): Also match CONST_DOUBLE.
672 (gencode): Emit call to memset instead of bzero.
674 Fri Apr 2 12:58:26 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
676 * config/c4x/c4x.md (ashlhi3, lshrhi3, ashrhi3): Force operand 1
677 into a register if shift count not constant.
678 (ashlhi3_reg, lshrhi3_reg, ashrhi3_reg): Ensure that operand 1
681 Fri Apr 2 12:19:17 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
683 * config/c4x/c4x.md (*db): Enable pattern if TARGET_LOOP_UNSIGNED
685 (movstrqi_small, movstrqi_large, *cmpstrqi): Add + modifier to address
686 register constraints.
687 (*movhi_clobber+1): Modify splitter pattern to handle destination
688 register that is used in the source address.
689 (*xorhi3_clobber): Replace AND with XOR in call to legitimize_operands.
691 Fri Apr 2 12:16:15 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
693 * config/c4x/c4x.h: Added more comments.
695 Fri Apr 2 11:58:22 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
697 * config/c4x/c4x.c (c4x_emit_move_sequence): Force invalid QImode
698 constants into memory if we get called directly from gen_move_insn
699 rather than emit_move_insn.
700 (c4x_legitimize_address): Fix up LABEL_REF addresses.
702 Thu Apr 1 12:04:05 1999 Jim Wilson <wilson@cygnus.com>
704 * expr.c (store_field): When check direct_store, assume all complex
705 modes can be directly stored.
707 1999-04-01 Bruce Korb <ddsinc09@ix.netcom.com>
709 * fixinc/genfixes: New shell script that runs autogen
710 to create the generated files.
712 1999-04-01 Manfred Hollstein <manfred@s-direktnet.de>
714 * Makefile.in (cppmain$(exeext)): Depend on intl.o. Link in intl.o.
716 Thu Apr 1 03:48:34 1999 H.J. Lu (hjl@gnu.org)
718 * i386.c (output_fp_conditional_move): Abort for LT, LE, GE, and GT
719 signed integer comparisons.
721 * i386.c (output_int_conditional_move): Use "enum rtx_code" for code
724 * i386.c (notice_update_cc): No need to check the INT mode for
725 conditional moves since FLOAT conditional moves don't affect cc0.
727 Thu Apr 1 02:17:18 1999 Jeffrey A Law (law@cygnus.com)
729 * fixinc/inclhack.def (zzz_ki_syscalls, zzz_time): Fix trigger
730 string to only match on hpux11.
731 * fixinc/fixincl.x, fixinc/inclhack.sh, fixinc/fixinc.sh: Rebuilt.
733 Thu Apr 1 01:09:27 1999 Alexandre Oliva <oliva@dcc.unicamp.br>
735 * fixinc/hackshell.tpl: Complete transition to fixinc.tmp.
736 * fixinc/inclhack.sh: Rebuilt.
738 * fixinc/inclhack.def: Fix typos in c_asm.h fix.
739 * fixinc/fixincl.x, fixinc/inclhack.sh, fixinc/fixinc.sh: Rebuilt.
741 Wed Mar 31 17:20:11 1999 Jeffrey A Law (law@cygnus.com)
743 * toplev.c (rest_of_compilation): Allow dbr_schedule to write to
746 Wed Mar 31 12:32:43 1999 Richard Henderson <rth@cygnus.com>
748 * flow.c (find_basic_blocks): New argument `do_cleanup'.
749 Conditionally call delete_unreachable_blocks.
750 (free_basic_block_vars): Zero ENTRY/EXIT data.
751 (allocate_for_life_analysis): Kill. Split into...
752 (allocate_bb_life_data, allocate_reg_life_data): ... new functions.
753 (life_analysis_1): Update.
754 * gcse.c (gcse_main): Update find_basic_blocks call.
755 * toplev.c (rest_of_compilation): Likewise.
756 * stupid.c (stupid_life_analysis): Update life data calls.
757 * rtl.h, output.h: Update prototypes.
759 Wed Mar 31 12:10:00 1999 Bruce Korb <ddsinc09@ix.netcom.com>
761 * inclhack.def (several): Added spaces in tests to ensure
762 correct shell syntax. Added c_asm.h fix from fixincludes.
763 Also corrected the corrected fix to C++ comments :-}
765 * inclhack.tpl: Changed method of traversing symlink trees
766 so that file name matching will work correctly.
768 * fixincl.c, hackshell.tpl: Fallout from above.
769 * fixincl.x, inclhack.sh, fixincl.sh: Rebuilt.
771 Tue Mar 30 10:43:49 1999 Philip Blundell <pb@nexus.co.uk>
773 * config/arm/aout.h (DBX_DEBUGGING_INFO): Avoid redefinition if
774 dbxelf.h was previously included.
775 (CPP_APCS_PC_DEFAULT_SPEC): No need to undefine.
777 * config/arm/linux-elf.h (FP_DEFAULT): Correctly override the
778 definition from arm.h.
780 Wed Mar 31 10:33:37 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
782 * Makefile.in (c-gperf.h): Generate using gperf language 'C', not
783 'KR-C', so gperf uses the `const' keyword on strings.
785 * c-parse.gperf (resword): Const-ify a char*.
787 Wed Mar 31 01:49:31 1999 Ian Lance Taylor <ian@zembu.com>
789 * t-rtems (LIMITS_H_TEST, LIBGCC2_INCLUDES): Define.
791 Wed Mar 31 00:50:48 1999 Jeffrey A Law (law@cygnus.com)
793 * system.h (STDERR_FILENO): Fix typo.
795 * inclhack.def (bool): Also fix bogus bool in curses_colr/curses.h.
796 * fixincl.x, inclhack.sh, fixincl.sh: Rebuilt.
798 Tue Mar 30 20:51:40 1999 Mark Mitchell <mark@codesourcery.com>
800 * alias.c (alias_set_compare): Remove.
801 (record_alias_subset): Use splay_tree_compare_ints instead of
803 (init_alias_once): Likewise.
804 * cse.c: Include splay-tree.h.
806 (reg_tick): Likewise.
807 (reg_table): Likewise.
808 (cse_reg_info): New structure.
809 (cse_reg_info_free_list): New variable.
810 (cse_reg_info_tree): Likewise.
811 (cached_regno): Likewise.
812 (cached_cse_reg_info): Likewise.
813 (all_minus_one): Remove.
814 (consec_ints): Likewise.
815 (GET_CSE_REG_INFO): New macro.
816 (REG_TICK): Likewise. Use throughout instead of reg_tick.
817 (REG_IN_TABLE): Likewise. Use throughout instead of reg_in_table.
818 (REG_QTY): Likewise. Use throughout instead of reg_qty.
819 (get_cse_reg_info): New function.
820 (free_cse_reg_info): Likewise.
821 (new_basic_block): Reinitialize cse_reg_info_tree instead of
822 reg_tick, all_minus_one, and consec_ints.
823 * Makefile.in (cse.o): Depend on splay-tree.h
825 Tue Mar 30 13:19:36 1999 Jason Merrill <jason@yorick.cygnus.com>
827 * libgcc2.c (throw_helper): Just return the SP offset, rather than
828 a whole udata. Include args_size in the offset.
829 (__throw, __rethrow): Adjust.
831 Tue Mar 30 11:39:27 1999 Craig Burley <craig@jcb-sc.com>
833 * extend.texi (Extended Asm): Delete spurious `b' before
834 `@end example', which was confusing texi2html.
836 Tue Mar 30 00:26:34 1999 Jason Merrill <jason@yorick.cygnus.com>
838 * dwarf2out.c (output_line_info): Don't emit redundant info.
839 Do start a new row if the file changes and the line # doesn't.
841 Mon Mar 29 15:48:39 1999 Jason Merrill <jason@yorick.cygnus.com>
843 * invoke.texi (Invoking G++, C++ Dialect Options): Update.
845 Mon Mar 29 15:05:39 1999 Richard Henderson <rth@cygnus.com>
847 * except.c (start_dynamic_handler): Force jmp_buf address to
848 and operand before moving to memory.
850 Mon Mar 29 15:11:10 1999 Craig Burley <craig@jcb-sc.com>
852 * invoke.texi (Code Gen Options): Attempt to clarify
853 -fcheck-memory-usage. Minor edits to -fprefix-function-name.
855 Mon Mar 29 20:52:47 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
857 * loop.c (maybe_eliminate_biv): For libcalls that set a giv, skip to
860 Mon Mar 29 20:35:49 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
862 * sh.md (mulsi3): Tag an extra REG_EQUAL note to the middle insn.
864 Mon Mar 29 11:50:34 1999 Jerry Quinn <jquinn@nortelnetworks.com>
866 * pa.h (HAVE_PRE_INCREMENT): Disable when optimizing for a PA8000
868 (HAVE_PRE_DECREMENT, HAVE_POST_INCREMENT): Likewise.
869 (HAVE_POST_DECREMENT): Likewise.
871 Mon Mar 29 08:24:43 1999 Bruce Korb <korb@datadesign.com>
873 * fixinc/mkfixinc.sh: Fix portability problems with old shells.
875 * fixinc/README: Updated for release announcement
877 Sun Mar 28 20:26:55 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
879 * recog.h (insn_outfun, insn_operand_predicate): Add prototype
882 * rtl.h (note_stores): Likewise.
884 * rtlanal.c (note_stores): Likewise.
886 Sun Mar 28 15:34:28 1999 Richard Henderson <rth@cygnus.com>
888 * varasm.c (output_constant_pool): Always mark the constant pool.
890 Sun Mar 28 16:09:01 1999 "Jerry Quinn" <jquinn@nortelnetworks.com>
892 * pa.md (pa7100LCshiftmem, pa7100LCalu): Change simultaneity. Use
893 shift/mem ops in pa7100LCalu.
895 * pa.c (pa_adjust_cost): Don't do cost adjustments on pa8000.
896 (pa_reorg): Don't call pa_combine_instructions on pa8000.
898 Sun Mar 28 15:27:26 1999 Jeffrey A Law (law@cygnus.com)
900 * reload1.c (reload): Remove accidental code duplication.
902 Sun Mar 28 12:22:12 1999 Robert Lipe (robertlipe@usa.net)
904 * i386/sysv5.h: New file to describe UnixWare7/SVR5.
905 * configure.in (i?86-UnixWare7*-sysv): Use it.
906 * i386/udk.h: Use sysv5.h. Now uses Dwarf-2.
908 Sun Mar 28 01:15:04 PST 1999 Jeff Law (law@cygnus.com)
910 * version.c: Bump for snapshot.
912 Sun Mar 28 00:44:27 1999 Jeffrey A Law (law@cygnus.com)
914 * sdbout.c (sdbout_symbol): Do not call build_pointer_type, build
915 one on the fly and do not cache the result.
917 * gcc.cps, cpp.cps: Delete unwanted files.
919 Sat Mar 27 23:37:40 EST 1999 John Wehle (john@feith.com)
921 * i386.md (movdicc+3, movdicc+4): Rewrite using split_di.
922 * i386.c (output_int_conditional_move): Delete unused code.
924 Sat Mar 27 21:17:36 1999 David Edelsohn <edelsohn@gnu.org>
926 * rs6000/{aix41.h,aix43.h} (ASM_CPU_SPEC): Add 604e.
928 Sat Mar 27 16:13:50 1999 Jeffrey A Law (law@cygnus.com)
930 * flow.c (mark_used_regs): Improve handling of ASMs.
932 1999-03-26 Zack Weinberg <zack@rabi.columbia.edu>
934 * Makefile.in (xcpp, cppspec.o): New targets.
935 (CPP_INSTALL_NAME): New macro.
936 (install-cpp): Install xcpp. Use CPP_INSTALL_NAME.
937 (all.build, start.encap): Build xcpp.
939 * cppspec.c: New file, implements argument filtering for a
940 user-visible C preprocessor.
943 Fri Mar 26 20:41:46 1999 Jim Wilson <wilson@cygnus.com>
945 * Makefile.in (stmp-fixinc): Use tooldir instead of gcc_tooldir.
947 Fri Mar 26 16:02:37 1999 Nick Clifton <nickc@cygnus.com>
949 * configure.in (arm-*-vxworks*): Just include arm/vxarm.h.
950 * configure: Regenerate.
951 * config/arm/vxarm.h: Define SUBTARGET_CPU_DEFAULT before
954 1999-02-16 Scott Bambrough <scottb@corelcomputer.com>
956 * configure.in (arm*-*-linux-gnu*): Set thread_file to 'posix' if
957 --enable-threads[={yes,pthreads,posix}] is passed as a command
958 line parameter to configure.
960 * configure: Regenerate.
962 * gcc/config/arm/t-linux (TARGET_LIBGCC2_CFLAGS): Include -fPIC.
964 Fri Mar 26 19:42:19 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
966 * loop.c (combine_givs): Fix index into can_combine when doing
967 benefit adjustment for remaining givs when having combined a giv.
969 Fri Mar 26 11:38:01 1999 Nick Clifton <nickc@cygnus.com>
971 * config/arm/t-arm-elf (EXTRA_MULTILIB_PARTS): Define.
973 Fri Mar 26 10:48:27 1999 Nick Clifton <nickc@cygnus.com>
975 * config/arm/linux-elf.h: Include dbxelf.h
977 Fri Mar 26 10:43:47 1999 Nick Clifton <nickc@cygnus.com>
979 * config/svr4.h: Include new header file dbxelf.h.
980 (DBX_DEBUGGING_INFO): Remove definition.
981 (DBX_USE_BINCL): Remove definition.
982 (DBX_BLOCKS_FUNCTION_RELATIVE): Remove definition.
983 (ASM_IDENTIFY_GCC): Remove definition.
984 (ASM_IDENTIFY_GCC_AFTER_SOURCE): Remove definition.
985 (ASM_OUTPUT_SOURCE_LINE): Remove definition.
986 (DBX_FUNCTION_FIRST): Remove definition.
987 (DBX_OUTPUT_MAIN_SOURCE_FILE_END): Remove definition.
989 * config/elfos.h: Include new header file dbxelf.h.
990 (DBX_DEBUGGING_INFO): Remove definition.
991 (DBX_BLOCKS_FUNCTION_RELATIVE): Remove definition.
992 (ASM_IDENTIFY_GCC): Remove definition.
993 (ASM_IDENTIFY_GCC_AFTER_SOURCE): Remove definition.
994 (ASM_OUTPUT_SOURCE_LINE): Remove definition.
995 (DBX_FUNCTION_FIRST): Remove definition.
997 * config/dbxelf.h: New header file.
998 (DBX_DEBUGGING_INFO): Define.
999 (DBX_BLOCKS_FUNCTION_RELATIVE): Define.
1000 (DBX_FUNCTION_FIRST): Define.
1001 (DBX_USE_BINCL): Define.
1002 (DBX_CONTIN_LENGTH): Define.
1003 (ASM_IDENTIFY_GCC): Define.
1004 (ASM_IDENTIFY_GCC_AFTER_SOURCE): Define.
1005 (ASM_OUTPUT_SOURCE_LINE): Define.
1006 (DBX_OUTPUT_MAIN_SOURCE_FILE_END): Define.
1008 Fri Mar 26 01:59:15 1999 "Charles M. Hannum" <root@ihack.net>
1010 * fold-const.c (fold_truthop): Optimize bitfield references with
1011 different masks as long as their size and bit position are the same.
1013 * fold-const.c (fold_truthop): Build a type for both the lhs and
1014 rhs and use it appropriately.
1016 * fold-const.c (fold_truthop): Mask the lhs and rhs after merging
1017 adjacent bitfield references.
1019 * fold-const.c (fold_truthop): Verify that the lhs and rhs are
1020 in the same bit position when optimizing bitfield references
1021 which have the same mask.
1023 Thu Mar 25 22:53:27 1999 Martin von Löwis <loewis@informatik.hu-berlin.de>
1025 * gcc.texi (Copy Assignment): New node.
1027 1999-03-25 Zack Weinberg <zack@rabi.columbia.edu>
1029 * gcc.c: Compile unconditionally all code formerly dependent
1030 on #ifdef LANG_SPECIFIC_DRIVER.
1031 * gccspec.c: New file with stub lang_specific_driver,
1032 lang_specific_pre_link.
1033 * Makefile.in: Link gccspec.o into xgcc. Add rule to compile
1035 Thu Mar 25 21:08:02 1999 Jason Merrill <jason@yorick.cygnus.com>
1037 * gcc.texi (Temporaries): Update.
1039 Thu Mar 25 16:53:53 1999 Richard Henderson <rth@cygnus.com>
1041 * combine.c (distribute_notes): Place REG_LABEL also where
1042 REG_EQUAL indicates.
1044 Thu Mar 25 12:46:37 1999 Jim Wilson <wilson@cygnus.com>
1046 * a29k/a29k.h (TARGET_SWITCHES): Add doc strings.
1047 * i960/i960.h (TARGET_SWITCHES): Add doc strings.
1048 * invoke.texi (a29k): Add documentation for -mno-multm option.
1050 Thu Mar 25 14:04:54 EST 1999 Andrew MacLeod <amacleod@cygnus.com>
1052 * rtl.texi (RTX_FRAME_RELATED_P): Add documentation.
1053 * rtl.h (struct rtx_def): Update comment for frame_related field.
1054 (set_unique_reg_note): Declare prototype.
1055 * dwarf2out.c (dwarf2out_frame_debug_expr): Split out from
1056 'dwarf2out_frame_debug' to handle only expressions, and process
1057 component parts of a PARALLEL expression.
1058 (dwarf2out_frame_debug): Process insns only, and call
1059 new function 'dwarf2out_frame_debug_expr' for patterns.
1060 * emit-rtl.c (set_unique_reg_note): New function to add a reg note,
1061 but if there is an existing one, delete it first.
1062 * expmed.c (expand_mult, expand_divmod): Use set_unique_reg_note.
1063 * optabs.c (add_equal_note, expand_binop): Use set_unique_reg_note.
1064 (emit_no_conflict_block, emit_libcall_block): Use set_unique_reg_note.
1065 (expand_fix): Use set_unique_reg_note.
1067 Thu Mar 25 11:47:49 1999 Art Haas <ahaas@neosoft.com>
1069 * tlink.c (symbol_hash_newfunc): Remove redundant call to
1071 (file_hash_newfunc, demangled_hash_newfunc): Likewise.
1073 Thu Mar 25 10:05:56 1999 Richard Henderson <rth@cygnus.com>
1075 * i386.h (PREFERRED_STACK_BOUNDARY): Set to 128.
1077 1999-03-25 Philip Blundell <pb@nexus.co.uk>
1079 Based on patch from Jim Studt <jim@federated.com>:
1080 * config/arm/linux-elf.h (STARTFILE_SPEC, ENDFILE_SPEC): Copy
1081 definitions from config/linux.h.
1082 (DBX_BLOCKS_FUNCTION_RELATIVE): Define to 1.
1084 Thu Mar 25 02:12:42 1999 Finn Hakansson <finn@axis.com>
1086 * loop.c (strength_reduce): Correct a comment.
1088 * rtl.h (MEM_COPY_ATTRIBUTES): Remove unnecessary ending backslash.
1090 Thu Mar 25 02:02:13 1999 Axel Thimm <Axel.Thimm@physik.fu-berlin.de>
1092 * Makefile.in (RANLIB_TEST): Improve test.
1094 Thu Mar 25 01:15:33 1999 Donn Terry <donn@interix.com>
1096 * combine.c (force_to_mode, case PLUS): Use sign extended mask
1097 when masking the low bits out of a constant.
1099 Tue Mar 23 15:45:25 1999 Richard Earnshaw (rearnsha@arm.com)
1100 Jeff Law <law@cygnus.com>
1102 * fold-const.c (make_range): If orig_type is unset, set it as soon
1103 as we know the type. Remove now unnecessary set of orig_type for
1106 Wed Mar 24 23:27:25 1999 Mark Elbrecht <snowball3@usa.net>
1107 Jeff Law <law@cygnus.com>
1109 * system.h (STDIN_FILENO): Provide default definition if one is not
1110 provided by the system header files.
1111 (STDOUT_FILENO, STDERR_FILENO): Likewise.
1113 * i386/xm-djgpp.h (COLLECT2_HOST_INITIALIZATION): New macro.
1114 * collect2.c (main): Use it.
1115 (pexecute_pid): New variable. Holds return value from call to pexecute.
1116 (collect2_execute): Rework to use pexecute instead of fork.
1117 (collect2_wait): Use pwait() instead of wait().
1119 * i386/djgpp.h: Fix typo.
1121 Wed Mar 24 23:24:30 1999 Jeffrey A Law (law@cygnus.com)
1123 * fixinc/mkfixinc.sh: Recognize cygwin* instead of only
1126 Wed Mar 24 15:44:12 1999 Nick Clifton <nickc@cygnus.com>
1128 * config/m32r/m32r.c (init_idents): Accept both NAME and __NAME__
1129 versions of attribute names and values.
1130 (m32r_valid_machine_decl_attribute): Likewise.
1131 (m32r_encode_section_info): Likewise.
1133 Wed Mar 24 21:42:15 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
1135 * reload1.c (choose_reload_regs): If output-reloading for a
1136 simple move insn, try to inherit an equivalence for the input.
1138 1999-02-24 Mike Stump <mrs@wrs.com>
1140 * arm/aout.h (DBX_OUTPUT_MAIN_SOURCE_FILENAME): Fix quoting.
1142 1999-03-24 Jim Blandy <jimb@zwingli.cygnus.com>
1144 * libgcc2.c (__CTOR_LIST__, __DTOR_LIST__): Initialize on all
1147 Wed Mar 24 01:35:01 1999 Geoff Keating <geoffk@ozemail.com.au>
1149 * fold-const.c (fold): Recognize a rotate by an unsigned amount.
1151 Tue Mar 23 23:32:14 1999 Jeffrey A Law (law@cygnus.com)
1153 * pa.md (rotlsi3): New expander. Synthesize a variable rotate
1154 left using a variable rotate right. Provide anonymous pattern for
1155 rotate left by a constant value.
1157 * expr.c (expand_assignment): Do not try to optimize a aggregate
1158 address which has VOIDmode.
1160 Tue Mar 23 22:51:48 1999 Mumit Khan <khan@xraylith.wisc.edu>
1161 Donn Terry <donn@interix.com>
1163 * protoize.c (abspath): Preserve multiple leading slashes for
1166 1999-01-23 Mike Stump <mrs@wrs.com>
1168 * arm/vxarm.h: Split out vxWorks support into separate headerfile
1170 * arm/arm.c (cpu_defaults): Allow arm710 as default.
1172 * configure.in: Split out vxWorks support for Arm.
1173 * configure: Rebuilt.
1175 Tue Mar 23 11:20:03 1999 Per Bothner <bothner@cygnus.com>
1177 * tree.c (first_rtl_op, has_cleanups): Handle GOTO_SUBROUTINE_EXPR.
1179 Tue Mar 23 09:00:39 1999 Nick Clifton <nickc@cygnus.com>
1181 * config/arm/riscix1.h (SUBTARGET_SWITCHES): Add doc string.
1182 * config/arm/riscix1-1.h (SUBTARGET_SWITCHES): Add doc string.
1184 Tue Mar 23 07:50:20 1999 Mark Mitchell <mark@codesourcery.com>
1186 * function.c: Include hash.h.
1187 (insns_for_mem_entry): New struct.
1188 (put_reg_into_stack): Take an optional hash-table mapping MEMs to
1189 the INSNs that use them.
1190 (fixup_var_refs): Likewise.
1191 (put_addressof_into_stack): Likewise.
1192 (purge_addressof_1): Likewise. Keep the hash-table up to date if
1193 we add new instructions.
1194 (fixup_var_refs_insns): Use it to avoid searching the entire
1196 (insns_for_mem_newfunc): New function.
1197 (insns_for_mem_comp): Likewise.
1198 (insns_for_mem_walk): Likewise.
1199 (compute_insns_for_mem): Likewise.
1200 (pop_function_context_from): Pass NULL for the hash-table.
1201 (put_var_into_stack): Likewise.
1202 (gen_mem_addressof): Likewise.
1203 (flush_addressof): Likewise.
1204 (purge_addressof): Call compute_insns_for_mem to pre-compute the
1206 * Makefile.in (OBJS): Include hash.o.
1207 (function.o): Depend on hash.h.
1209 Tue Mar 23 00:39:14 1999 Jeffrey A Law (law@cygnus.com)
1211 * i386/openbsd.h (TARGET_DEFAULT): Use symbolic names instead of
1213 * i386/netbsd.h, i386/freebsd.h: Likewise.
1215 * crtstuff.c: Use ANSI function definitions. Fix minor whitespace
1218 * i386/openbsd.h (TARGET_DEFAULT): Define.
1219 * configure.in: Do not set TARGET_CPU_DEFAULT for x86 OpenBSD
1221 * configure: Rebuilt.
1223 Tue Mar 23 00:39:10 1999 John Wehle (john@feith.com)
1225 * i386/freebsd.h (TARGET_DEFAULT): Define instead
1226 of TARGET_CPU_DEFAULT.
1227 * i386/netbsd.h (TARGET_DEFAULT): Likewise.
1229 Mon Mar 22 23:52:01 1999 Mumit Khan <khan@xraylith.wisc.edu>
1230 Donn Terry <donn@interix.com>
1232 * sdbout.c (syms.h): Don't include on Interix.
1233 * toplev.c (main): No sbrk on Interix.
1235 * configure.in: Add i386-pc-interix support.
1236 * configure: Regenerate.
1237 * fixinc.interix: New file.
1238 * config/interix.h: New file.
1239 * config/x-interix: New file.
1240 * config/xm-interix.h: New file.
1241 * i386/interix.h: New file.
1242 * i386/interix.c: New file.
1243 * i386/t-interix: New file.
1245 Mon Mar 22 23:41:49 1999 Jeffrey A Law (law@cygnus.com)
1247 * i386.h (PREFERRED_STACK_BOUNDARY): Define.
1249 Mon Mar 22 23:41:31 1999 John Wehle (john@feith.com)
1251 * i386.c (ix86_compute_frame_size): New function.
1252 (ix86_prologue, ix86_epilogue): Use it.
1253 * i386.h (INITIAL_ELIMINATION_OFFSET): Likewise.
1254 * reload1.c: Provide default for PREFERRED_STACK_BOUNDARY.
1256 Mon Mar 22 18:06:59 1999 Jim Wilson <wilson@cygnus.com>
1258 * mips/mips.h (TARGET_SWITCHES, TARGET_OPTIONS): Add option doc
1260 * mips/abi64.h (SUBTARGET_TARGET_OPTIONS): Likewise.
1262 Mon Mar 22 16:18:27 1999 Nick Clifton <nickc@cygnus.com>
1264 * config/arm/elf.h (VALID_MACHINE_DECL_ATTRIBUTE): Do not bother
1265 passing ATTRIBUTES to arm_valid_machine_decl_attribute.
1267 * config/arm/coff.h (VALID_MACHINE_DECL_ATTRIBUTE): Do not bother
1268 passing ATTRIBUTES to arm_valid_machine_decl_attribute.
1270 * config/arm/arm.h (DEFAULT_RTX_COSTS): Do not bother passing
1271 OUTER_CODE to arm_rtx_costs - it is not used.
1272 (arm_compare_fp): Delete declaration.
1273 (FINAL_PRESCAN_INSN): Do not bother passing OPVEC or NOPERANDS to
1274 arm_final_prescan_insn - they are not used.
1275 (const_ok_for_op): Remove prototype.
1276 (arm_rtx_costs): Fix prototype.
1277 (arm_valid_machine_decl_attribute): Fix prototype.
1278 (final_prescan_insn): Fix prototype.
1280 * config/arm/arm.md: Remove references to arm_compare_fp.
1282 * config/arm/arm.c (arm_compare_fp): Delete.
1283 (const_ok_for_op): Make function static. Add prototype. Remove
1284 mode parameter - it is unused.
1285 (arm_rtx_costs): Remove outer_code parameter.
1286 (reload_memory_operand): Declare mode parameter unused.
1287 (power_of_two_operand): Declare mode parameter unused.
1288 (equality_operator): Declare mode parameter unused.
1289 (load_multiple_operation): Declare mode parameter unused.
1290 (store_multiple_operation): Declare mode parameter unused.
1291 (multi_register_push): Declare mode parameter unused.
1292 (arm_valid_machine_decl_attribute): Remove attributes parameter -
1294 (select_dominance_cc_mode): Remove op parameter - it is unused.
1295 (gen_compare_reg): Remove fp parameter - it is unused.
1296 (final_prescan_insn): Remove opvec and noperands parameters - they
1299 Mon Mar 22 14:35:28 1999 Nick Clifton <nickc@cygnus.com>
1301 * tm.texi (MD_SCHED_INIT): Add missing closing parenthesis.
1303 Mon Mar 22 22:24:30 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
1305 * reload1.c (reload_as_needed): Set reload_is_output_reload /
1306 reload_has_output_reload for auto_inc expressions that could be
1307 reloaded. Call forget_old_reloads for REG_INC notes.
1309 Mon Mar 22 21:51:57 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
1311 * cse.c (cse_insn): Don't change the result register of a libcall.
1313 Mon Mar 22 21:08:59 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
1315 * rtl.h (shallow_copy_rtx): Declare.
1316 * rtl.c (shallow_copy_rtx): New function.
1317 * reload.c (find_reloads_toplev): Use shallow_copy_rtx instead of
1320 Mon Mar 22 10:44:33 1999 Vladimir Makarov <vmakarov@tofu.to.cygnus.com>
1322 * config/h8300/h8300.md (adjust_length): New attribute.
1323 (modhi3+1, andsi3+1, iorsi3+1, extzv+1, extzv+2): Change insn
1324 default value of attribute "adjust_length" onto "no".
1326 * config/h8300/h8300.c (h8300_adjust_insn_length): Adjust
1327 length only if the attribute "adjust_length" value is "yes".
1328 Use 0 if the shift is negative.
1330 * final.c (shorten_branches): Check insn length after its
1333 Sun Mar 21 17:33:48 1999 Jeffrey A Law (law@cygnus.com)
1335 * i860.h (TARGET_SWITCHES): Add documentation for default case.
1336 * i860/paragon.h (TARGET_SWITCHES): Add documentation for default case.
1337 * i370.h (TARGET_SWITCHES): Add documentation for default case.
1338 * fx80.h (TARGET_SWITCHES): Add documentation for default case.
1339 * elxsi.h (TARGET_SWITCHES): Add documentation for default case.
1340 * clipper.h (TARGET_SWITCHES): Add documentation for default case.
1341 * 1750a.h (TARGET_SWITCHES): Add documentation for default case.
1342 * pa.h (TARGET_SWITCHES): Add documentation for default case.
1343 (TARGET_OPTIONS): Likewise for default case.
1344 * mn10300.h (TARGET_SWITCHES): Add documentation for default case.
1345 * h8300.h (TARGET_SWITCHES): Add documentation for default case.
1347 * gcse.c (dump_hash_table): Fix whitespace in declaration.
1348 (compute_transpout): Renamed from pre_compute_transpout.
1349 (compute_pre_*): Deleted.
1350 (pre_expr_reaches_here_p): New argument, CHECK_PRE_COMP. All
1352 (insert_insn_end_bb): Renamed from pre_insert_insn.
1353 (pre_*): Delete unused variables. Only leave local properties and
1354 global redundant/optimal computation points.
1355 (alloc_pre_mem, free_pre_mem): Corresponding changes.
1356 (compute_pre_data): Simplify and call pre_lcm to run the lazy
1357 code motion dataflow analysis.
1358 (pre_insert, pre_insert_copies, pre_delete): Revamp to use LCM
1359 based redundant and optimal computation points.
1361 * basic-block.h (pre_lcm, pre_rev_lcm): Declare.
1363 * toplev.c (main): A debug option without a level defaults to
1366 Sun Mar 21 12:13:01 1999 Nick Clifton <nickc@cygnus.com>
1368 * flow.c (can_delete_label_p): Do not allow user specified
1369 labels to be deleted.
1370 * dwarf2out.c (gen_label_die): Generate addresses for deleted
1371 (programmer specified) labels.
1372 * dwarfout.c (output_label_die): Generate addresses for deleted
1373 (programmer specified) labels.
1375 1999-03-21 Manfred Hollstein <manfred@s-direktnet.de>
1377 * Makefile.in (xgcc$(exeext)): Add intl.o to list of files to be
1380 Sun Mar 21 01:15:03 PST 1999 Jeff Law (law@cygnus.com)
1382 * version.c: Bump for snapshot.
1384 Sat Mar 20 22:26:23 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1386 * sparc.h (TARGET_SWITCHES): Add null description to default case.
1388 Sat Mar 20 21:46:06 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1390 * c-lex.c (yylex): Remove unused variable `bytes'.
1392 * flow.c (print_rtl_with_bb): Cast the return value of alloca.
1394 * function.c (assign_parms): Wrap variable `varargs_setup' in
1395 macro SETUP_INCOMING_VARARGS.
1396 (thread_prologue_and_epilogue_insns): Mark parameter `f' with
1399 * local-alloc.c (no_equiv): Likewise for parameter `store'.
1401 * sched.c (schedule_insns): Remove unused variables `insn' and `next'.
1403 * tlink.c (symbol_hash_newfunc, symbol_hash_lookup,
1404 file_hash_newfunc, file_hash_lookup, demangled_hash_newfunc,
1405 demangled_hash_lookup, symbol_push, symbol_pop, file_push,
1406 file_pop, tlink_init, tlink_execute, frob_extension,
1407 obstack_fgets, tfgets, pfgets, freadsym, read_repo_file,
1408 maybe_tweak, recompile_files, read_repo_files,
1409 demangle_new_symbols, scan_linker_output): Add static prototype.
1411 (symbol_hash_newfunc, file_hash_newfunc, demangled_hash_newfunc):
1412 Make the third argument a `hash_table_key'.
1414 * toplev.c (debug_start_source_file): Mark parameter `filename'
1415 with ATTRIBUTE_UNUSED.
1417 Sun Mar 21 02:28:21 1999 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1419 * tm.texi (Varargs): Don't split argument of @item across lines.
1421 * invoke.texi: Fix use of @item vs @itemx.
1423 Sun Mar 21 09:59:54 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
1425 * config/c4x/c4x.h (TARGET_SWITCHES): Add null description to
1428 Sat Mar 20 23:33:54 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
1430 * loop.c (check_dbra_loop): Fix debug message.
1432 Sat Mar 20 15:54:35 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
1434 * config/c4x/c4x.md (decrement_and_branch_on_count): Emit rptb_end
1435 pattern instead of decrement_and_branch_until_zero pattern.
1437 Sat Mar 20 11:39:58 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
1439 * config/c4x/c4x.h (TARGET_SWITCHES): Add documentation.
1440 * config/c4x/c4x.h (TARGET_OPTIONS): Add documentation.
1442 Fre Mar 19 23:26:29 1999 Martin von Löwis <loewis@informatik.hu-berlin.de>
1444 * expr.c (expand_expr): Handle ERROR_MARK much earlier.
1446 Fri Mar 19 15:28:38 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1448 * cccp.c (create_definition): Cast to U_CHAR* when assigning to one.
1450 * cppfiles.c (read_and_prescan): Likewise.
1451 Start a #define in column 0.
1453 * cpplib.c (cpp_define): Cast to U_CHAR* when assigning to one.
1454 (cpp_push_buffer): Likewise for cpp_buffer*.
1455 (do_include): Change the type of `fbeg' and `fend' to unsigned char*.
1456 (do_endif): Cast to char* when assigning to one.
1457 (do_assert): Likewise.
1458 (do_unassert): Likewise.
1459 (cpp_read_check_assertion): Change the type of `name' to U_CHAR*.
1460 Don't do unnecessary cast to char* anymore.
1462 * genrecog.c (make_insn_sequence): Cast to char** when assigning
1463 to one. Cast the first argument of bzero to PTR.
1465 * loop.c (strength_reduce): Remove unused variable `note'.
1467 * reload1.c (new_insn_chain): Cast to struct insn_chain* when
1470 * rtl.c (copy_rtx): Use memcpy instead of bcopy.
1472 Fri Mar 19 11:19:31 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1474 * calls.c (initialize_argument_information): Mark parameters
1475 `num_actuals' and `n_named_args' with ATTRIBUTE_UNUSED.
1477 * dbxout.c (dbxout_start_new_source_file): Likewise for parameter
1479 (dbxout_finish): Likewise for parameters `file' and `filename'.
1480 (dbxout_prepare_symbol): Likewise for parameter `decl'.
1481 (dbxout_begin_function): Likewise.
1483 * explow.c (hard_function_value): Likewise for parameter `func'.
1485 * function.c (locate_and_pad_parm): Likewise for parameter `fndecl'.
1487 * expmed.c (expand_divmod): Omit unused argument to `expand_abs'.
1488 * expr.c (expand_expr): Likewise.
1489 * expr.h (expand_abs): Delete unused argument from prototype.
1490 * optabs.c (expand_abs): Remove unused parameter `unsignedp'.
1492 * sdbout.c (sdbout_init): Mark parameter `syms' with ATTRIBUTE_UNUSED.
1493 (sdbout_end_block): Likewise for parameter `n'.
1495 * toplev.c (debug_define): Likewise for parameters `lineno' and
1497 (debug_undef): Likewise.
1499 * varasm.c (named_section): Likewise for parameter 'reloc'.
1500 (assemble_external): Likewise for parameter `decl'.
1501 (assemble_alias): Likewise for parameter `target'.
1503 Fri Mar 19 01:54:30 1999 Theodore Papadopoulo <Theodore.Papadopoulo@sophia.inria.fr>
1505 * toplev.c (read_integral_parameter): Constify. Better control of
1507 (main): Use read_integral_parameter to set optimize, id_clash_len,
1508 larger_than_size, and the debugging level.
1509 * toplev.h (read_integral_parameter): Update prototype.
1511 Fri Mar 19 01:42:05 1999 Zack Weinberg <zack@rabi.phys.columbia.edu>
1513 * system.h: Use putc_unlocked, fputc_unlocked, and
1514 fputs_unlocked only if putc_unlocked has a prototype already.
1515 Prototype fputs_unlocked if necessary.
1516 * configure.in: Check for prototypes of putc_unlocked and
1518 * acconfig.h: Updated.
1519 * config.in, configure: Rebuilt.
1521 Fri Mar 19 02:45:12 1999 Alexandre Oliva <oliva@dcc.unicamp.br>
1523 * Makefile.in (INTL_TARGETS): New macro.
1524 ($(INTL_TARGETS)): Depend on generated sources; drop dependencies
1525 on cp/parse.c and objc/objc-parse.c.
1526 ($(srcdir)/cp/parse.c): Move to cp/Make-lang.in.
1527 * objc/Make-lang.in ($(INTL_TARGETS)): Depend on objc/objc-parse.c.
1529 Thu Mar 18 22:28:53 1999 Jeffrey A Law (law@cygnus.com)
1531 * i860.h (TARGET_SWITCHES): Add documentation.
1532 * i860/paragon.h (TARGET_SWITCHES): Add documentation.
1533 * i370.h (TARGET_SWITCHES): Add documentation.
1534 * fx80.h (TARGET_SWITCHES): Add documentation.
1535 * elxsi.h (TARGET_SWITCHES): Add documentation.
1536 * clipper.h (TARGET_SWITCHES): Add documentation.
1537 * 1750a.h (TARGET_SWITCHES): Add documentation.
1538 * pa.h (TARGET_SWITCHES): Add documentation.
1539 (TARGET_OPTIONS): Likewise.
1540 * mn10300.h (TARGET_SWITCHES): Add documentation.
1541 * h8300.h (TARGET_SWITCHES): Add documentation.
1543 Thu Mar 18 15:58:26 1999 Nick Clifton <nickc@cygnus.com>
1545 * loop.c (strength_reduce): Do not perform pseudo replacements
1546 if the loop contains volatile memory references.
1548 Thu Mar 18 19:09:50 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
1550 * reload.c (find_reloads_toplev): When processing X recursively,
1551 don't alter it destructively except by filling in constants.
1553 Thu Mar 18 10:14:18 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1555 * cccp.c (default_include): Initialize structure members.
1556 (pass_thru_directive): Change the type of 'keyword_length' to int.
1557 (main): Cast `bindtextdomain' and `textdomain' to (void).
1559 * collect2.c (main): Likewise.
1561 * cppmain.c (main): Likewise.
1563 * gcc.c (main): Likewise.
1565 * gcov.c (main): Likewise.
1567 * protoize.c (main): Likewise.
1569 * toplev.c (main): Likewise.
1571 1999-03-18 Gavin Romig-Koch <gavin@cygnus.com>
1573 * config/mips/mips.c (mips_explicit_type_size_string): Correct
1576 Thu Mar 18 01:24:25 1999 Jeffrey A Law (law@cygnus.com)
1578 * configure.in: Use "exit 1", not "exit (1)".
1579 * configure: Rebuilt.
1581 Wed Mar 17 23:17:42 1999 Mark Kettenis <kettenis@gnu.org>
1583 * config/t-gnu (SYSTEM_HEADER_DIR): New variable. Set to
1584 `/include' in order to find the system's limits.h.
1586 Wed Mar 17 23:00:18 1999 Robert Lipe <robertlipe@usa.net>
1588 * fixinc/fixincl.c: Include auto-host.h instead of config.h.
1589 * fixinc/procopen.c: Likewise.
1590 * fixinc/regex.c: Likewise.
1591 * fixinc/server.c: Likewise.
1593 Wed Mar 17 22:46:13 1999 Mark Elbrecht <snowball3@usa.net.
1595 * config/i386/go32.h: Delete.
1596 * config/i386/djgpp.h: New. Renamed from go32.h.
1597 Added -DDJGPP=2 to CPP_PREDEFINES.
1598 * config/i386/go32-rtems.h: Delete.
1599 * config/i386/djgpp-rtems.h: New. Renamed from go32-rtems.h.
1600 Added -DDJGPP=2 to CPP_PREDEFINES.
1601 * config/i386/xm-go32.h: Delete.
1602 * config/i386/xm-djgpp.h: New. Renamed from xm-go32.h.
1603 * config/i386/x-go32: Delete.
1604 * config/i386/x-djgpp: New. Renamed from x-go32.
1605 * config/i386/t-go32: Delete.
1606 * config/i386/t-djgpp: New. Renamed from t-go32.
1607 * configure.in(pc-msdosdjgpp): Set xm_file to i386/xm-djgpp.h.
1608 Set tm_file to i386/djgpp.h. Set tmake_file to i386/t-djgpp.
1609 Set xmake_file to i386/x-djgpp.
1610 (*-go32-msdos, *-go32*): Remove entries. Warn that GO32/DJGPP V1.X
1611 is now unsupported and *-pc-msdosdjgpp for DJGPP V2.X should be
1613 * configure: Rebuilt.
1615 * gcc.c (process_command): Dump link_command_spec too.
1617 Wed Mar 17 20:38:08 1999 Jerry Quinn <jquinn@nortelnetworks.com>
1618 Jeff Law <law@cygnus.com>
1620 * pa.md: Add real PA8000 scheduling information.
1622 * pa.h (processor_type): Add PROCESSOR_8000 symbol.
1623 (ISSUE_RATE): Revamp, including PA8000 support.
1624 * pa.c (override_options): Add 8000 as -mschedule= option.
1625 Do not call strcmp if pa_cpu_string is null.
1626 * pa.md (attr cpu): Add 8000.
1627 * invoke.texi: Add documentation for PA8000 scheduling.
1629 Wed Mar 17 18:20:24 1999 David S. Miller <davem@redhat.com>
1631 * config/sparc/sparc.h (TARGET_SWITCHES, TARGET_OPTIONS):
1633 * config/sparc/sp64-elf.h (SUBTARGET_SWITCHES): Likewise.
1634 * config/sparc/splet.h (SUBTARGET_SWITCHES): Likewise.
1636 Wed Mar 17 14:51:19 1999 Richard Henderson <rth@cygnus.com>
1638 * flow.c (compute_immediate_dominators): New function.
1639 * basic-block.h (compute_immediate_dominators): Declare it.
1641 * alpha.h (HARD_REGNO_MODE_OK): Allow only 4 and 8 byte unit modes
1643 (MODES_TIEABLE_P): Define asymmetricly wrt modes illegal in FP regs.
1645 Wed Mar 17 14:41:41 1999 Nick Clifton <nickc@cygnus.com>
1647 * config/arm/aout.h (ASM_GENERATE_INTERNAL_LABEL): Fix compile
1649 * config/arm/arm.md: Fix various compile time warnings.
1650 * config/arm/arm.h: Fix various compile time warnings. Add
1651 function prototypes.
1652 * config/arm/arm.c: Fix various compile time warnings.
1653 (arm_override_options): Reorganize to separate tuning from
1655 (bit_count): New function: Return a count of the number of bits
1658 Wed Mar 17 21:29:12 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
1660 * reload1.c (eliminate_regs): Don't keep REG_DEAD notes around for
1661 things that were eliminated.
1663 Wed Mar 17 12:16:26 1999 Richard Henderson <rth@cygnus.com>
1665 * function.c (fixup_var_refs_1): First try moving the expression
1666 directly into a register. Don't separate cc0 setter and user.
1668 Wed Mar 17 11:20:29 1999 Dave Brolley <brolley@cygnus.com>
1670 * cppfiles.c (PIPE_BUF): #define PIPE_BUF if not defined already.
1672 Wed Mar 17 09:25:06 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1674 * c-lex.c: Don't include setjmp.h.
1675 (parse_float): New static function.
1676 (pf_args): New struct.
1677 (yylex): Use them in call to `do_float_handler'.
1679 1999-03-16 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1681 * cexp.y (yyerror): Call verror to get a useful error message.
1684 * .gdbinit: Move command to put breakpoint at abort to end of file
1685 so that gdb does not bail out early.
1687 Tue Mar 16 15:30:19 1999 Nick Clifton <nickc@cygnus.com>
1689 * rtl.h: Rename prototype for free_bb_memory to free_bb_mem.
1691 Tue Mar 16 23:40:09 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
1693 * sh.md (movsi_i): Move t/r alternative after r/rI alternative.
1695 Tue Mar 16 13:44:50 1999 Jim Wilson <wilson@cygnus.com>
1697 * mn10200/mn10200.md (addsi3, subsi3, ashlsi3, lshrsi3, ashrsi3):
1698 Delete emit_library_call_value declaration.
1700 1999-03-16 16:06 -0500 Zack Weinberg <zack@rabi.columbia.edu>
1702 * cppfiles.c (read_and_prescan): Map backslash-newline to '\r'
1703 (which cannot otherwise appear in the processed buffer) and
1704 move it out of tokens that it appears in the middle of.
1705 Improve performance.
1706 (find_position): New function.
1708 * cpplib.c: \r (one character) indicates backslash
1709 newline, not \\\n (two characters). It cannot appear in the
1710 middle of a token. Call CPP_BUMP_LINE (pfile) whenever
1711 parsing moves past \n or \r. Increment pfile->lineno whenever
1712 a \n is placed into token_buffer. Only one mark can exist at
1713 a time, and CPP_BUMP_LINE must not be used while it is
1714 active. It is automatically cleared by cpp_pop_buffer and
1715 parse_goto_mark. \r is not in is_hor_space or is_space.
1717 (NEWLINE_FIX, NEWLINE_FIX1, adjust_position,
1718 update_position, count_newlines, parse_move_mark): Removed.
1719 (parse_string, copy_comment): New functions.
1720 (parse_name): Returns void.
1721 (parse_set_mark, parse_clear_mark, parse_goto_mark): Take only
1722 one argument, a cpp_reader *. Change for new marking scheme.
1723 (skip_comment): Handle CHILL line comments too. Second
1724 argument is now first character of comment marker; all callers
1725 changed. Issue error for unterminated block comment here.
1726 (cpp_skip_hspace): Recognize CHILL comments.
1727 (copy_rest_of_line): Likewise. Call skip_comment and
1728 parse_string directly, don't go through cpp_get_token. Emit
1729 "/**/" for block comments if -traditional (create_definition
1731 (do_define): Don't play with put_out_comments.
1732 (cpp_push_buffer): Initialize ->mark to -1.
1733 (cpp_buf_line_and_col): Just read out the values in the buffer
1735 (output_line_command): Use cpp_buf_line_and_col. Fix
1736 formatting. Remove stale code.
1737 (cpp_get_token): Break out string parsing code to
1738 parse_string. Use skip_comment for CHILL comments too. Use
1739 copy_comment for put_out_comments instead of dinking with
1740 marks. Remove stale code. Don't call output_line_command
1741 unless it's necessary.
1743 * cpplib.h (parse_marker): Removed.
1744 (struct cpp_buffer): Line_base is now a unsigned char *; add
1745 `mark' [long], remove `marks' [struct parse_marker *].
1746 (parse_set_mark, parse_clear_mark, parse_goto_mark): Update
1748 (CPP_BUMP_LINE, CPP_BUMP_BUFFER_LINE): New macros.
1749 * cppinit.c (is_hor_space, is_space): '\r' is not considered
1751 * cppexp.c (cpp_parse_expression): Use cpp_skip_hspace, not
1753 * cpphash.c (macarg): Disable line commands while expanding.
1755 Tue Mar 16 11:30:19 1999 Gavin Romig-Koch <gavin@cygnus.com>
1757 * c-lex.c (yylex) : Remove warning for integer literals being
1758 larger than the largest target int. Add warning for integer
1759 literal being larger than than its chosen type.
1761 Tue Mar 16 10:53:17 1999 Gavin Romig-Koch <gavin@cygnus.com>
1763 * invoke.texi: Add -mlong32 documentation.
1764 * config/mips/mips.h (mips_explicit_type_size_string): New.
1765 (TARGET_SWITCHES): Add 'long32'.
1766 (TARGET_OPTIONS): Add 'explicit-type-size'.
1767 (CC1_SPECS): Set -mexplicit-type-size.
1768 (LONG_MAX_SPEC): Change a use of 'no-long64' to 'long32'.
1769 * config/mips/abi64.h (LONG_MAX_SPEC): Same. Add 'mabi=32'.
1770 * config/mips/mips.c (mips_explicit_type_size_string): New.
1771 (override_options): Use it.
1772 * config/mips/osfrose.h (CC1_SPECS): Set -mexplicit-type-size.
1774 * config/mips/mips.h (SUBTARGET_CPP_SIZE_SPEC):
1775 Pointer size now depends on both size longs and size of GP
1778 Tue Mar 16 10:22:22 1999 Gavin Romig-Koch <gavin@cygnus.com>
1780 * config/mips/iris.h (CTORS_SECTION_ASM_OP,DTORS_SECTION_ASM_OP,
1781 dtors_section): Use Pmode == DImode rather than TARGET_LONG64.
1782 * config/mips/mips.c (override_options): Allow -mlong64 and
1783 -mint64 with -mips2 or less.
1784 * config/mips/mips.h (MASK_LONG64): Fix comment.
1785 (POINTER_SIZE): Use Pmode == DImode rather than TARGET_LONG64.
1786 (Pmode): Make Pmode the smaller of longs or gp registers.
1787 * invoke.texi: Note the new size for pointers.
1789 Mon Mar 15 22:45:25 1999 David Edelsohn <edelsohn@gnu.org>
1791 * rs6000.h (ASM_OUTPUT_{DOUBLE,FLOAT}): Always generate IEEE 754
1792 bit-pattern directly.
1793 (ASM_OUTPUT_REG_{PUSH,POP}): Delete.
1794 * rs6000.c (first_reg_to_save): If profiling and context needed,
1795 allocate a reg to save static chain for all ABIs. For AIX
1796 profiling, calculate parameter registers to save based on need.
1797 (output_function_profiler): Save and restore static chain around
1798 profile call for all ABIs.
1800 1999-03-15 21:39 -0500 Zack Weinberg <zack@rabi.columbia.edu>
1802 * cppinit.c: Instead of one pending list, keep separate lists
1803 for each category of pending option: -D/-U, -A, -include,
1804 -imacros. Move the four partial include-path lists into the
1805 pending block. Use head and tail pointers so we don't ever
1806 have to reverse the lists.
1808 (cpp_start_read): Break out blocks of code to their own
1809 functions: install_predefs and initialize_dependency_output.
1810 Use path_include for C_INCLUDE_PATH and friends as well as
1811 CPATH. Remove include_defaults gunk. Warn about the
1812 combination of -lang-chill and -trigraphs. Optimize string
1813 bashing. Walk each pending list once, deallocating as we go.
1815 (append_include_chain): Brought over from cppfiles.c. Mark
1816 dirs as system include dirs if and only if appending to
1817 system include path. If opts->verbose, print a notice when a
1818 dir is dropped from the include path because it doesn't
1819 exist. Fix memory leak: this function is not supposed to copy
1822 (nreverse_pending, push_pending): Removed.
1823 (APPEND): New macro for adding to pending lists.
1824 (path_include): Can now add to any partial include path.
1825 (base_name): Bring over from cccp.c.
1826 (cpp_options_init): Allocate the pending block.
1827 (cpp_handle_option): Add --version. Exit after --help. Fix
1828 formatting. Order -ifoo options by frequency of usage.
1829 (install_predefs): New function, simplified version of code
1830 that was in cpp_start_read.
1831 (initialize_dependency_output): Likewise. Understand OBJECT_SUFFIX.
1833 * cppfiles.c (simplify_pathname): Export.
1834 (merge_include_chains): Don't nreverse the lists. If
1835 opts->verbose, print a notice when a duplicate dir is detected
1836 and dropped from the include path.
1837 (finclude): Fix excessive cleverness in setting
1838 fp->system_header_p.
1839 (actual_directory): Set x->sysp from
1840 CPP_BUFFER (pfile)->system_header_p so that one system header
1841 may include another with "".
1842 (deps_output): Fix double adjustment of deps_size which would
1843 cause all dependencies after the first two lines to be lost.
1845 * cpplib.c (cpp_unassert): New function.
1846 * cpplib.h: Lay out struct cpp_pending here. Adjust
1847 prototypes. Add include_prefix_len to struct cpp_options.
1849 Mon Mar 15 16:01:52 1999 Jim Wilson <wilson@cygnus.com>
1851 * config/misp/mips.h (REGISTER_MOVE_COST): Make the cost of moving
1852 from HI/LO/HILO/MD into general registers the same as for one
1853 of moving general registers to HI/LO/HILO/MD.
1855 Mon Mar 15 12:39:38 1999 Nick Clifton <nickc@cygnus.com>
1857 * config/m32r/m32r.c (init_idents): New function. Initialize
1858 static tree nodes for m32r specific attribute identifiers. Remove
1859 leading and trailing double underscores from the attribute names.
1860 (m32r_valid_machine_decl_attribute): Call init_idents.
1861 (m32r_encode_section_info): Call init_idents.
1863 Mon Mar 15 10:20:20 1999 Mark Mitchell <mark@markmitchell.com>
1865 * reload.c (find_reloads): Add a REG_LABEL note if we substitute a
1866 LABEL_REF for something else.
1868 Mon Mar 15 08:24:17 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1870 * fold-const.c (exact_real_inverse): Move variable `float_error'
1871 into the scope where it is used.
1872 (const_binop_1): New static function.
1873 (cb_args): New struct.
1874 (const_binop): Use them in call to `do_float_handler'.
1875 (fold_convert_1): New static function.
1876 (fc_args): New struct.
1877 (fold_convert): Use them in call to `do_float_handler'.
1879 Mon Mar 15 22:50:18 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
1881 * rtlanal.c (auto_inc_p): New function.
1882 * rtl.h (auto_inc_p): Prototype it.
1883 * reload1.c (add_auto_inc_notes): New function.
1884 (reload): Strip REG_INC notes and call add_auto_inc_notes
1885 for each insn to restore them correctly.
1887 1999-03-15 Manfred Hollstein <manfred@s-direktnet.de>
1889 * fixinc/Makefile.in (procopen.o): List the actual
1892 Sun Mar 14 16:22:10 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1894 * cse.c (check_fold_consts): New static function.
1895 (cfc_args): New struct.
1896 (simplify_relational_operation): Use them in call to
1899 * toplev.c (do_float_handler): New function to wrap calls to
1900 setjmp/set_float_handler.
1902 * toplev.h (do_float_handler): Add extern prototype.
1904 * tree.c (build_real_from_int_cst_1): New static function.
1905 (brfic_args): New struct.
1906 (build_real_from_int_cst): Use them in call to
1909 Sun Mar 14 01:15:06 PST 1999 Jeff Law (law@cygnus.com)
1911 * version.c: Bump for snapshot.
1913 Sat Mar 13 17:37:18 1999 Richard Henderson <rth@cygnus.com>
1915 * haifa-sched.c (sched_analyze_1): Only clear reg_last_uses on a SET.
1917 Sat Mar 13 11:36:16 1999 Richard Earnshaw (rearnsha@arm.com)
1919 * arm.c (arm_split_constant): Don't try to force a constant to
1920 memory after arm_reorg has run.
1921 (after_arm_reorg): New static variable.
1922 (arm_reorg): Set it.
1923 (output_func_epilogue): Clear it.
1925 Fri Mar 12 20:26:32 1999 David Edelsohn <edelsohn@gnu.org>
1927 * configure.in ({rs6000,powerpc}-ibm-aix*): Set float_format to none.
1928 * configure: Rebuilt.
1930 Fri Mar 12 20:45:30 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
1932 * unroll.c (loop_iterations): Don't return a final value for EQ
1935 Fri Mar 12 12:35:01 1999 Jim Wilson <wilson@cygnus.com>
1937 * reload1.c (calculate_needs_all_insns): When ignore equivalence
1938 setting insn, clear need_elim, need_reload, and need_operand_change.
1940 Fri Mar 12 07:54:43 1999 Bruce Korb <korb@datadesign.com>
1942 * fixinc/fixinc.*: Some changes from the fixincl-branch
1943 were not applied (??!!). Corrected.
1945 * fixinc/Makefile.in: Same thing.
1947 Fri Mar 12 00:51:43 1999 Jeffrey A Law (law@cygnus.com)
1949 * expr.c (expand_expr): Allow a CALL_EXPR with a mode wider than
1950 MAX_INTEGER_COMPUTATION_MODE.
1952 Thu Mar 11 14:00:58 1999 Richard Henderson <rth@cygnus.com>
1954 * alpha.h (HARD_REGNO_MODE_OK): Disallow QI/HImode in fp regs.
1955 (MODES_TIEABLE_P): Update.
1957 * alpha.md (ev5_e0): Conflict loads and stores.
1959 Thu Mar 11 13:55:52 1999 Richard Henderson <rth@cygnus.com>
1961 * machmode.h (smallest_mode_for_size): Prototype.
1962 * stor-layout.c (smallest_mode_for_size): Remove static.
1964 Thu Mar 11 21:25:59 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
1966 * loop.c (strength_reduce): Don't do biv increment -> DEST_REG giv
1967 conversion if we don't know the lifetime.
1969 Thu Mar 11 20:37:59 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
1971 * reload.1c (delete_address_reloads_1): Check for reloads of
1972 CURRENT_INSN even if it sets DST.
1974 Thu Mar 11 10:29:50 1999 Jason Merrill <jason@yorick.cygnus.com>
1976 * dwarf2out.c (add_AT_lbl_offset): Rename from add_AT_section_offset.
1977 (print_die, size_of_die, value_format, output_die): Adjust.
1979 Thu Mar 11 10:27:42 1999 Robert Lipe <robertlipe@usa.net>
1981 * dwarf2out.c (TEXT_SECTION_LABEL, DEBUG_LINE_SECTION_LABEL,
1982 DEBUG_INFO_SECTION_LABEL, ABBREV_SECTION_LABEL,
1983 text_section_label, debug_line_section_label,
1984 debug_info_section_label, abbrev_section_label): New.
1985 (output_compilation_unit_header): Emit label associated
1986 with section instead of section name itself.
1987 (out_pubnames, output_aranges, output_line_info,
1988 dwarf2out_finish): Likewise.
1989 (dwarf2out_init): Build internal label names for sections
1992 Thu Mar 11 17:28:32 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
1994 * sh.md (mulsi3): End mul.l sequence with a no-op move.
1996 Thu Mar 11 08:52:02 1999 Bruce Korb <korb@datadesign.com>
1998 * Makefile.in: Activated fixinc/mkfixinc.sh.
1999 * configure.in: Activated fixinc/mkfixinc.sh.
2001 Thu Mar 11 01:38:02 1999 Mumit Khan <khan@xraylith.wisc.edu>
2003 * cppfiles.c (INO_T_EQ): Handle UWIN.
2005 * c-common.c (decl_attributes): Flag unrecognized attribute
2006 functions as warnings instead of as errors.
2008 Support for i386-pc-uwin.
2009 * i386/uwin.h: New file.
2010 * i386/xm-uwin.h: New file.
2011 * i386/t-uwin: New file.
2012 * i386/uwin.asm: New file.
2013 * configure.in (i[3456]86-*-uwin*): Define.
2014 Add Workaround for vfork bug when hosted on uwin.
2015 * configure: Regenerate.
2017 * cccp.c (INO_T_EQ): Undefine. UWIN has inodes.
2018 (absolute_filename): UWIN uses POSIX pathnames only.
2019 * libgcc2.c (getpagesize): Do not define for UWIN.
2020 (mprotect): Likewise.
2021 * protoize.c (dirent.h): Conditionally include.
2022 (fputc): Prototype only if it's not a macro.
2024 Wed Mar 10 02:49:04 1999 Jason Merrill <jason@yorick.cygnus.com>
2026 * configure.in: Remove init_priority stuff.
2028 1999-03-11 Colin Smith <colin@wrs.com>
2030 * sdbout.c (plain_type_1): Make boolean types work better with sdb.
2032 Thu Mar 11 00:20:52 1999 Alexandre Oliva <oliva@dcc.unicamp.br>
2034 * gcc.texi: Update bug reporting instructions to match
2035 current ezmlm list reality.
2037 Wed Mar 10 23:11:19 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2039 * gcc.c (print_file_name, print_prog_name, spec_machine,
2040 read_specs, set_spec, lookup_compiler, build_search_list,
2041 putenv_from_prefixes, find_a_file, record_temp_file,
2042 delete_if_ordinary, handle_braces, do_spec, do_spec_1, find_file,
2043 is_directory, validate_switches, used_arg, default_arg,
2044 pfatal_with_name, perror_with_name, pfatal_pexecute, fatal, error,
2045 notice, add_preprocessor_option, add_assembler_option,
2046 add_linker_option, process_command, execute,
2047 unused_prefix_warnings, clear_args, fatal_error,
2048 lang_specific_driver, user_specs, compiler, link_command_spec,
2049 option_map, translate_options, make_temp_file, temp_name,
2050 programname, path_prefix, machine_suffix, just_machine_suffix,
2051 gcc_exec_prefix, standard_exec_prefix, standard_exec_prefix_1,
2052 md_exec_prefix, md_startfile_prefix, md_startfile_prefix_1,
2053 standard_startfile_prefix, standard_startfile_prefix_1,
2054 standard_startfile_prefix_2, tooldir_base_prefix, tooldir_prefix,
2055 multilib_dir, temp_filename, temp_file, command, switchstr,
2056 infile, outfiles, input_filename, input_basename, input_suffix,
2057 check_live_switch, main): Qualify a char* with the `const' keyword.
2059 Wed Mar 10 20:28:29 1999 Jeffrey A Law (law@cygnus.com)
2062 * Makefile.in (OBJS): Add lcm.o.
2063 (lcm.o): Add dependencies.
2065 * gcse.c (compute_pre_local_properties): Delete.
2066 (compute_pre_data): Use compute_local_properties instead of
2067 compute_pre_local_properties.
2069 * gcse.c: More comments, whitespace and similar fixes.
2070 (dump_cuid_table, maybe_set_rd_gen, dump_cprop_data): Delete.
2071 (dump_pre_data, compute_cprop_local_properties): Likewise.
2072 (one_classic_gcse_pass): Lose unused argument. All callers changed.
2073 (compute_hash_table, compute_expr_hash_table): Likewise.
2074 (compute_set_hash_table, one_pre_gcse_pass, mark_call): Likewise.
2075 (cprop_insn, cprop, one_cprop_pass): Add new argument ALTER_JUMPS.
2076 All callers changed. Only alter jumps if ALTER_JUMPS is nonzero.
2077 Lose unused argument.
2078 (gcse_main): Always run a cprop pass after finishing global cse.
2079 (compute_local_properties): New function.
2080 (hash_scan_pat, hash_scan_insn): No longer call maybe_set_rd_gen.
2081 (compute_cprop_data): Use compute_local_properties.
2083 * gcse.c: Update various comments.
2084 (current_function_calls_longjmp): Delete declaration.
2086 * gcse.c (run_jump_opt_after_gcse): New variable.
2087 (gcse_main): Returns an integer.
2088 (hash_scan_set): Record initializations from CONST_DOUBLEs too.
2089 (try_replace_reg): Update some comments.
2090 (cprop_insn): Allow propagation into some JUMP_INSNs too.
2091 * rtl.h (gcse_main): Update prototype.
2092 * toplev.c (rest_of_compilation): If gcse_main returns nonzero,
2093 then run a jump optimization pass.
2094 * jump.c (delete_barrier_successors): Delete nop jumps too.
2096 Wed Mar 10 19:04:31 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
2098 * sh.c (fp_arith_reg_operand): Actually test if reg is suitable
2099 for FP arithmetic. Changed caller.
2100 * sh.md (subsf3, subsf_i): Use fp_arith_reg_operand.
2102 Wed Mar 10 18:56:31 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
2104 * reload1.c (choose_reload_regs): When inheriting from the frame
2105 pointer, don't clobber it.
2107 Wed Mar 10 08:01:52 1999 Bruce Korb <korb@datadesign.com>
2109 * fixinc/fixinc.*: Resync-ed with the files in this
2112 * fixinc/mkfixinc.sh: The machine case elements were
2113 out-of-order. (the ix86-*-linux-gnu* entry needed to
2116 Wed Mar 10 00:01:24 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
2118 * reload1.c (reload_combine_note_store): Fix calculation of number
2119 of affected registers.
2121 Tue Mar 9 15:48:15 1999 Richard Henderson <rth@cygnus.com>
2123 * flow.c (tidy_fallthru_edge): Be more careful finding the last
2124 BARRIER of a list. Delete the cc0 setter as well as a cond jump.
2126 Tue Mar 9 15:26:02 1999 Hans-Peter Nilsson <hp@bitrange.com>
2128 * i386.md (ashlsi3 splitter): Fix typo in last change.
2130 Tue Mar 9 11:35:20 1999 Richard Henderson <rth@cygnus.com>
2132 * reg-stack.c (stack_reg_life_analysis): Use returnjump_p
2133 instead of an explicit test for RETURN.
2135 Tue Mar 9 09:33:16 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2137 * Makefile.in (toplev.o): Depend on $(BASIC_BLOCK_H).
2139 * toplev.c: Include basic-block.h.
2141 Tue Mar 9 02:08:17 1999 Jeffrey A Law (law@cygnus.com)
2143 * calls.c (load_register_parameters): New function.
2144 (expand_call): Use it.
2146 * calls.c (expand_call): Slightly reorganize code.
2148 * calls.c (compute_argument_addresses): New function.
2149 (rtx_for_function_call): New function.
2150 (expand_call): Use them.
2152 * i386.md (zero_extendhisi2): Split into an expander and anonymous
2153 pattern. Add new anonymous pattern for use when optimizing for
2154 size or for the PPro.
2155 (zero_extendqihi2, zero_extendqisi2): Likewise.
2157 Mon Mar 8 23:43:47 1999 Richard Henderson <rth@cygnus.com>
2159 * haifa-sched.c (sched_analyze_1): Fix last change -- add clobber
2160 dependencies to sets in the non-hard-reg case too.
2162 Mon Mar 8 18:55:21 1999 Marc Espie <espie@cvs.openbsd.org>
2164 * config/openbsd.h (HANDLE_SYSV_PRAGMA): Define.
2166 Mon Mar 8 16:04:44 1999 Jim Wilson <wilson@cygnus.com>
2168 * local-alloc.c (combine_regs): Don't combine if we have a hard reg
2169 for which CLASS_LIKELY_SPILLED_P is true.
2171 * unroll.c (loop_iterations): Only call loop_find_equiv_value if we
2172 have a REG or SUBREG.
2174 Mon Mar 8 15:27:42 1999 Jeffrey A Law (law@cygnus.com)
2176 * i386.md (ashlsi3): Revise comments. Provide new anonymous
2177 pattern for Pentium and PPro/PII. Reverse constraints in
2178 generic ashlsi3 anonymous pattern.
2180 * calls.c (initialize_argument_info): Accept a pointer to
2182 (expand_call): Pass the address of CUMULATIVE_ARGS.
2184 * rs6000/xm-sysv4.h (HOST_BITS_PER_LONGLONG): Remove #if 0.
2186 * mn10300.h (CASE_DROPS_THROUGH): Delete.
2187 * mn10200.h (CASE_DROPS_THROUGH): Delete.
2188 * h8300.h (CASE_DROPS_THROUGH): Delete.
2190 * flow.c (merge_blocks_nomove): For HAVE_cc0 targets, make sure
2191 to also delete the cc0 setter when deleting a conditional branch
2194 Mon Mar 8 18:47:11 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
2196 * regmove.c (copy_src_to_dest): New argument max_old_uid.
2198 Mon Mar 8 08:23:00 1999 Bruce Korb <korb@datadesign.com>
2200 * ChangeLog: Merged entries from fixincl-branch.
2202 Sun Mar 7 11:48:56 1999 Richard Henderson <rth@cygnus.com>
2204 * haifa-sched.c (ENCODE_BLOCKAGE): Don't shift unit too far.
2205 (print_exp): Special case addition of a constant.
2206 (print_value) [CONST_INT]: Use HOST_WIDE_INT_PRINT_HEX.
2208 Sun Mar 7 11:21:02 1999 Richard Henderson <rth@cygnus.com>
2210 * haifa-sched.c (reg_last_clobbers): New.
2211 (reg_pending_clobbers, bb_reg_last_clobbers): New.
2212 (compute_block_backward_dependences): Allocate memory for them.
2213 (schedule_region): Likewise.
2214 (sched_analyze_1): Clobbers don't interfere with one another.
2215 They do interfere with sets ...
2216 (sched_analyze_2): ... and uses.
2217 (sched_analyze): Likewise.
2218 (sched_analyze_insn): Update reg_last_clobbers appropriately.
2220 Sun Mar 7 08:30:37 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2222 * gmon-sol2.c: Include config.h and system.h. Don't redundantly
2223 include system header files.
2225 (moncontrol, monstartup, _mcleanup, internal_mcount): Prototype.
2226 (_mcleanup): Add the `const' keyword to a char*.
2227 (internal_mcount): Declare `etext' as a char[] not a function.
2228 Cast `etext' to char* when calling `monstartup'.
2230 * sparc.c (frame_base_name, save_regs, restore_regs,
2231 build_big_number, sparc_cmodel_string, sparc_align_loops_string,
2232 sparc_align_jumps_string, sparc_align_funcs_string, code_model,
2233 cpu_default, cpu_table, output_function_prologue,
2234 output_function_epilogue, output_return,
2235 sparc_flat_output_function_prologue, ultra_code_names,
2236 sparc_flat_output_function_epilogue): Constify a char*.
2237 (hypersparc_adjust_cost): Add a default case in a switch.
2239 * sparc.h (sparc_cmodel_string, OVERRIDE_OPTIONS,
2240 sparc_cpu_select, sparc_align_loops_string,
2241 sparc_align_jumps_string, sparc_align_funcs_string,
2242 output_return): Constify a char*.
2244 * sparc.md (movdi): Change the comparison of HOST_BITS_PER_WIDE_INT
2245 so that we check "== 32", instead of "!= 64". Cast a value to
2246 HOST_WIDE_INT when comparing against one. Hide the declaration
2247 for variable `chain'.
2249 Sun Mar 7 08:05:27 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2251 * system.h (const, inline): Move the stage2 handling of these
2252 keywords-as-macros from here...
2254 * gansidecl.h (const, inline): ...to here.
2256 Sun Mar 7 02:44:15 1999 Richard Henderson <rth@cygnus.com>
2258 * recog.c (push_operand, pop_operand): VOIDmode needn't match modes.
2260 Sun Mar 7 01:58:47 1999 Richard Henderson <rth@cygnus.com>
2262 * cse.c (canon_hash): Never reject hard regs in CCmode.
2264 Sun Mar 7 01:15:04 PST 1999 Jeff Law (law@cygnus.com)
2266 * version.c: Bump for snapshot.
2268 Sat Mar 6 17:18:44 1999 Richard Earnshaw (rearnsha@arm.com)
2269 Richard Henderson <rth@cygnus.com>
2271 * flow.c (make_edges): Handle casesi that jump to default branch.
2272 If CASE_DROPS_THROUGH, force fallthru to block after casesi.
2274 Sat Mar 6 07:49:23 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2276 * c-aux-info.c (data_type, affix_data_type, gen_decl,
2277 gen_formal_list_for_type, gen_formal_list_for_func_def, gen_type):
2278 Qualify a char* with the `const' keyword.
2280 * c-common.c (declare_hidden_char_array, add_attribute, if_elt,
2281 declare_function_name, decl_attributes, format_char_info,
2282 check_format_info, binary_op_error): Likewise.
2284 * cexp.y (yyerror, error, pedwarn, warning, token): Likewise.
2286 * gcse.c (dump_hash_table): Likewise.
2288 * integrate.c (function_cannot_inline_p): Likewise.
2290 * optabs.c: Include insn-config.h earlier.
2291 (init_libfuncs, init_integral_libfuncs, init_floating_libfuncs):
2292 Qualify a char* with the `const' keyword.
2294 * real.c (asctoe24, asctoe53, asctoe64, asctoe113, asctoe,
2295 asctoeg, mtherr, ereal_atof): Likewise.
2297 * real.h (ereal_atof): Likewise.
2299 * sbitmap.c (dump_sbitmap_vector): Likewise.
2301 * sbitmap.h (dump_sbitmap_vector): Likewise.
2303 * stmt.c (nesting, n_occurrences, expand_start_case): Likewise.
2305 * toplev.c (rest_of_compilation): Likewise.
2307 * tree.h (function_cannot_inline_p, expand_start_case): Likewise.
2309 Fri Mar 5 23:16:42 1999 David Edelsohn <edelsohn@gnu.org>
2311 * rs6000.h (ASM_OUTPUT_REG_{PUSH,POP}): Add 64-bit support and do
2312 not overwrite AIX link register save area.
2314 Fri Mar 5 23:08:01 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
2316 * reload.c (find_reloads_subreg_address): Actually create the USE
2317 for the register, not the new memory location.
2319 Fri Mar 5 21:41:07 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
2321 * reload1.c (emit_reload_insns): If pseudo that can't be replaced
2322 with its equivalent constant, fall back to reload_in.
2324 Fri Mar 5 13:20:39 1999 Richard Henderson <rth@cygnus.com>
2326 * Makefile.in: Delete .flow2 debugging files.
2328 Fri Mar 5 11:36:11 1999 Nick Clifton <nickc@cygnus.com>
2330 * config/arm/arm.c (arm_override_options): Change default target
2331 cpu selection so that enabling TARGET_APCS_32 does not override
2334 Fri Mar 5 19:26:23 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
2336 * sh.h (SLOW_BYTE_ACCESS): Define to 1.
2337 (BOOL_TYPE_SIZE): Define.
2339 Fri Mar 5 02:14:54 1999 John Wehle (john@feith.com)
2341 * function.c (assign_stack_temp_for_type): Abort
2342 if mode == Blkmode and align is less than
2343 BIGGEST_ALIGNMENT / BITS_PER_UNIT.
2344 (assign_stack_temp_for_type): Round the size parameter
2345 passed to assign_stack_local instead of size itself.
2347 Thu Mar 4 15:00:35 1999 Richard Henderson <rth@cygnus.com>
2349 * flow.c (delete_unreachable_blocks): Mark blocks as they
2350 are put on to the worklist, not as they are taken off.
2352 Thu Mar 4 00:05:44 1999 Jeffrey A Law (law@cygnus.com)
2354 * function.c (current_function_has_computed_jump): Remove duplicate
2357 Wed Mar 3 19:09:11 1999 Jim Wilson <wilson@cygnus.com>
2359 * m68k/m68020-elf.h (INIT_SECTION_ASM_OP, FINI_SECTION_ASM_OP): Undef.
2360 (STARTFILE_SPEC, ENDFILE_SPEC): Define to empty string.
2362 * sparc/elf.h (MULDI3_LIBCALL, DIVDI3_LIBCALL, UDIVDI3_LIBCALL,
2363 MODDI3_LIBCALL, UMODDI3_LIBCALL, STDC_0_IN_SYSTEM_HEADERS): Undef.
2364 (INIT_SUBTARGET_OPTABS): Define to empty.
2366 Wed Mar 3 00:00:37 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
2368 * sh.c (force_into): New function.
2369 (expand_block_move): Use it.
2371 Tue Mar 2 10:39:43 1999 Nick Clifton <nickc@cygnus.com>
2373 * cccp.c (struct default_include): Add 'included' field.
2374 (main): Set 'included' field when a default include directory
2375 is added to the chain. If -v is specified list all default
2376 include directories which do not get appended to the chain.
2378 Tue Mar 2 09:24:10 1999 Nick Clifton <nickc@cygnus.com>
2380 * configure.in (gxx_include_dir): Rename to
2381 gcc_gxx_include_dir in order to prevent it being overridden by
2382 a top level Makefile.
2383 (gcc_tooldir): If $exec_prefix != $prefix then use the
2384 difference between the two as the basis for gcc_tooldir.
2386 * configure: Rebuild.
2388 * Makefile.in: Rename gxx_include_dir to gcc_gxx_include_dir.
2390 Tue Mar 2 16:45:31 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
2392 * unroll.c (copy_loop_body): Don't make extra copies of
2393 NOTE_INSN_LOOP_CONT notes.
2395 Tue Mar 2 07:44:56 1999 Mark Mitchell <mark@markmitchell.com>
2397 * tree.c (save_tree_status): Don't treat functions with no context
2400 Tue Mar 2 09:37:05 1999 Robert Lipe <robertlipe@usa.net>
2402 * Makefile.in (MAKEINFO): Use makeinfo built from sibling
2403 tree when available.
2405 Tue Mar 2 10:12:48 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2407 * alpha.c (alpha_cpu_name, alpha_cpu_string, alpha_tp_string,
2408 alpha_fprm_string, alpha_fptm_string, alpha_mlat_string,
2409 current_function_file): Add the `const' keyword.
2410 (normal_memory_operand): Mark parameter `mode' with
2412 (alpha_expand_unaligned_load): Add a default case to a switch.
2414 * alpha.h (alpha_cpu_string, alpha_fprm_string, alpha_fptm_string,
2415 alpha_tp_string, alpha_mlat_string): Add the `const' keyword.
2416 (normal_memory_operand): Add prototype.
2418 * alpha.md: Cast an expression to `unsigned HOST_WIDE_INT' when
2419 comparing against one.
2421 Tue Mar 2 10:00:21 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2423 * mips.c (abort_with_insn): Make function static, add a prototype,
2424 constify 2nd parameter and mark with ATTRIBUTE_NORETURN.
2425 (current_function_file, mips_cpu_string, mips_isa_string,
2426 mips_abi_string, mips_no_mips16_string, mips_entry_string,
2427 mips_move_1word, mips_move_2words, output_block_move, load_store,
2428 override_options, make_temp_file, mips16_fp_args): Qualify a char*
2429 with the `const' keyword.
2431 * mips.h (current_function_file, mips_cpu_string, mips_isa_string,
2432 mips_abi_string, mips_entry_string, mips_no_mips16_string,
2433 mips_move_1word, mips_move_2words, output_block_move): Likewise.
2434 (abort_with_insn): Remove extern prototype.
2436 * mips.md: Qualify a char* with the `const' keyword.
2437 Remove many unused variables named `label'.
2439 Tue Mar 2 01:27:52 1999 H.J. Lu (hjl@gnu.org)
2441 * Makefile.in (cpp_install_dir, INSTALL_CPP, UNINSTALL_CPP): New
2443 (install-cpp, uninstall-cpp): New targets.
2444 (install-normal): Depend on $(INSTALL_CPP).
2445 (uninstall): Depend on $(UNINSTALL_CPP).
2446 * configure.in (cpp_install_dir): New, substitute.
2447 (tmake_file): Added t-install-cpp for --enable-cpp.
2448 * configure: Rebuilt.
2449 * cpp.sh: New cpp script.
2450 * config/t-install-cpp: New target fragment.
2452 Tue Mar 2 01:40:01 1999 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
2453 Jeffrey A Law (law@cygnus.com)
2455 * cse.c (fold_rtx): Update comments for (const (minus (label) (label)))
2457 (cse_insn): Avoid creating a bogus REG_EQUAL note for
2458 (const (minus (label) (label)))
2459 (record_jump_cond): Fix mismatched paren in comment.
2461 Tue Mar 2 01:07:12 1999 Dan Nicolaescu <dann@godzilla.ics.uci.edu>
2463 * final.c (end_final): There are 11 words in the "main header"
2466 Tue Mar 2 00:09:18 1999 Marc Espie <espie@cvs.openbsd.org>
2468 * extend.texi: Reference __extension__ in the index.
2470 Mon Mar 1 19:09:32 1999 Jim Wilson <wilson@cygnus.com>
2472 * Makefile.in (CROSS_FLOAT_H): Delete.
2473 (FLOAT_H): Use float_h_file.
2474 (rest.cross, stmp-int-hdrs): Delete gfloat.h dependency.
2476 (stmp-int-hdrs): Use FLOAT_H instead of gfloat.h.
2477 (mostlyclean): Delete gloat.h reference.
2478 (install-cross-rest, install-float-h-cross, stmp-headers): Update
2480 * configure.in (sparcv9-*-solaris2*): Set float_format to none.
2481 (sparc-*-solaris2*): Set float_format to none for 2.5 and higher.
2482 (float_h_file): Set from float_format. Substitute into Makefile.in.
2483 (float_format): No longer substitute into Makefile.in.
2484 * cross-make (FLOAT_H): Delete.
2485 * config/mips/t-cross64 (FLOAT_H): Delete.
2486 * configure: Rebuilt.
2488 Mon Mar 1 16:36:18 1999 Jeffrey A Law (law@cygnus.com)
2490 * mips.md (div_trap_normal, div_trap_mips16): Require the dependent
2491 insn to be an INSN before looking at its pattern.
2493 Mon Mar 1 15:03:51 1999 Jim Wilson <wilson@cygnus.com>
2495 * config/m68k/lb1sf68.asm (udivsi3): Change jmi to jcs. Fix comments.
2496 * config/m68k/m68k.h (LEGITIMATE_INDEX_REG_P): Reject SIGN_EXTEND of
2497 HImode reg when TARGET_5200.
2499 Mon Mar 1 21:44:30 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
2501 From Toshiyasu Morita:
2502 * sh.h (CACHE_LOG): SH2 has cache, too.
2504 Mon Mar 1 14:23:36 1999 Catherine Moore <clm@cygnus.com>
2506 * toplev.c (compile_file): Disable -ffunction-sections and
2507 debugging warning if the object format is elf.
2509 Mon Mar 1 11:46:25 1999 Vladimir N. Makarov <vmakarov@cygnus.com>
2511 * config/h8300/h8300.c (print_operand): Use 16 bit addressing
2512 when the data in 8-bit area and can not be addressed by 8-bit.
2514 Sun Feb 28 16:40:00 1999 Richard Henderson <rth@cygnus.com>
2516 * flow.c (create_basic_block): Disregard integrated bb notes.
2518 Sun Feb 28 15:57:06 1999 Richard Henderson <rth@cygnus.com>
2520 * sparc.md (blockage, nonlocal_goto_receiver): Set length to 0.
2522 Sun Feb 28 14:47:53 1999 Arturo Montes <mitosys@colomsat.com.co>
2524 * config/i386/t-sco5gas (crti.o): New target.
2526 Sun Feb 28 15:10:17 1999 David Edelsohn <edelsohn@gnu.org>
2528 * rs6000.md (elf_high, movsi_got, *movsi_got_internal,
2529 *movsi_got_internal_mem, GOT splitter, movdf_hardfloat32,
2530 movdf_softfloat32, movdf_hardfloat64, movdf_softfloat64,
2531 load_multiple, allocate_stack, call_indirect_aix32,
2532 call_indirect_aix64, call_value_indirect_aix32,
2533 call_value_indirect_aix64, call_indirect_nt,
2534 call_value_indirect_nt): Use gpc_reg_operand instead of
2537 Sun Feb 28 15:10:17 1999 Michael Meissner <meissner@cygnus.com>
2539 * rs6000.md (one_cmplsi2, andsi3, iorsi3, xorsi3, *eqvsi3,
2540 *andcsi3, *iorcsi3, *nandsi3, *norsi3): Add alternatives to use CR
2542 * rs6000.c (and{,64}_operand): If the user did -ffixed-cr0, don't
2543 allow andi. or andis. which always set cr0.
2545 Sun Feb 28 01:15:04 PST 1999 Jeff Law (law@cygnus.com)
2547 * version.c: Bump for snapshot.
2549 Sun Feb 28 02:00:38 1999 Jeffrey A Law (law@cygnus.com)
2551 * invoke.texi: Update information for PA scheduling.
2553 Sat Feb 27 23:21:47 1999 Jerry Quinn <jquinn@nortelnetworks.com>
2554 Mike Stump <mrs@wrs.com>
2556 * pa.c (override_options): Change default to 7100LC.
2558 * pa.h (REG_ALLOC_ORDER): Change order to allocate left half of
2559 float regs before right half of float regs.
2561 Sat Feb 27 22:48:38 1999 H.J. Lu (hjl@gnu.org)
2562 Jeffrey A Law (law@cygnus.com)
2564 * frame.h: Update some comments.
2565 * defaults.h (TARGET_ATTRIBUTE_WEAK): Define.
2566 * crtstuff.c (__register_frame_info, __deregister_frame_info): Declare
2567 using TARGET_WEAK_ATTRIBUTE.
2568 (__do_global_dtors_aux): Check if __deregister_frame_info is
2569 zero before calling it.
2570 (__do_global_dtors): Likewise.
2571 (frame_dummy): Check if __register_frame_info is zero before
2573 (__frame_dummy): Likewise.
2575 Sat Feb 27 19:18:24 1999 Jeffrey A Law (law@cygnus.com)
2577 * SERVICE: Update from the FSF.
2579 Sat Feb 27 14:31:22 1999 Arturo Montes <mitosys@colomsat.com.co>
2581 * config/i386/t-sco5 (crti.o): New target.
2582 * config/i386/sco5.h (STARTFILE_SPEC): Include crti.o when
2584 * configure.in (i[34567]86-*-sco3.2v5*): Add crti.o.
2586 Sat Feb 27 01:12:40 1999 Jeffrey A Law (law@cygnus.com)
2588 * md.texi (prologue,epilogue): Document named patterns.
2590 Fri Feb 26 19:31:25 1999 Dave Love <fx@gnu.org>
2592 * md.texi, invoke.texi: Fix unterminated @xrefs.
2594 Fri Feb 26 15:33:45 1999 Richard Henderson <rth@cygnus.com>
2596 * genattrtab.c (simplify_knowing): Fix uninitialized read
2599 * genextract.c (main): Clear recog_operands before extracting.
2601 Fri Feb 26 02:24:57 1999 Jeffrey A Law (law@cygnus.com)
2603 * c-pragma.c (add_weak); Delete. Moved into...
2604 * varasm.c (add_weak): New external function.
2605 (declare_weak): If HANDLE_PRAGMA_WEAK, then add the function to
2606 the list of weak functions.
2607 * c-pragma (add_weak): Declare.
2609 Thu Feb 25 23:43:59 1999 Richard Henderson <rth@cygnus.com>
2611 Flow rewrite to use basic block structures and edge lists:
2613 * basic-block.h (x_basic_block_head, x_basic_block_end): Kill.
2614 (basic_block_computed_jump_target, basic_block_live_at_start): Kill.
2615 (struct edge_def): New.
2616 (struct basic_block_def): New.
2617 (basic_block_info): New.
2618 (BLOCK_HEAD, BLOCK_END): Update.
2619 (ENTRY_BLOCK_PTR, EXIT_BLOCK_PTR): New.
2620 (uid_block_number): Kill.
2621 (basic_block_for_insn, BLOCK_FOR_INSN): New.
2622 (BLOCK_NUM): Update.
2623 * flow.c (XNMALLOC): Kill.
2624 (max_uid_for_flow): Kill.
2625 (uid_block_number): Kill.
2626 (uid_volatile): Turn into a bitmap.
2627 (SET_INSN_VOLATILE): New.
2628 (basic_block_info): New.
2629 (entry_exit_blocks): New.
2630 (x_basic_block_head, x_basic_block_end): Kill.
2631 (basic_block_computed_jump_target, basic_block_live_at_start): Kill.
2632 (flow_int_list_blocks, basic_block_succ, basic_block_pred): Kill.
2633 (basic_block_loop_depth): Kill.
2634 (basic_block_for_insn): New.
2635 (find_basic_blocks): Split out initial block counting into
2636 count_basic_blocks. Call functions split out of find_basic_blocks_1.
2637 (count_basic_blocks): New.
2638 (find_basic_blocks_1): Split out edge recognition, unreachable
2640 (create_basic_block): New.
2641 (compute_bb_for_insn): New.
2643 (free_bb_memory): Kill.
2644 (add_edge, add_edge_to_label): Kill.
2645 (mark_label_ref): Kill.
2646 (make_edges): Rewrite to use edge lists.
2647 (make_edge, make_label_edge): New.
2648 (mark_critical_edges): New.
2649 (split_edge, insert_insn_on_edge): New.
2650 (commit_one_edge_insertion, commit_edge_insertions): New.
2651 (delete_unreachable_blocks): Rewrite to use edge lists.
2652 Split out EH region manipulation into delete_eh_regions.
2653 Call tidy_fallthru_edge and merge_blocks.
2654 (delete_eh_regions): New.
2655 (delete_note_p): New.
2656 (delete_insn_chain): New.
2657 (delete_block): Split out code into delete_insn_chain and
2658 tidy_fallthru_edge. Update edge lists.
2659 (expunge_block): New.
2660 (flow_delete_insn): New?
2661 (can_delete_label_p): New?
2662 (merge_blocks_nomove, merge_blocks): New.
2663 (tidy_fallthru_edge): New.
2664 (calculate_loop_depth): New.
2665 (life_analysis): Allocate and free uid_volatile.
2666 (free_basic_block_vars): Update for new structures.
2667 (record_volatile_insns): Use SET_INSN_VOLATILE.
2668 (mark_regs_live_at_end): Tidy EXIT_IGNORE_STACK usage.
2669 (mark_used_regs): Likewise.
2670 (life_analysis_1): Use bb global_live_at_start, global_live_at_end,
2671 local_set regsets. Use bb->aux to store new_live_at_end. Begin
2672 life propagation from EXIT_BLOCK rather than last block. Clear
2673 regs_ever_live after mark_regs_live_at_end.
2674 (allocate_for_life_analysis): Update for new structures.
2675 (propagate_block): Split out loop depth calculation to
2676 calculate_loop_depth.
2677 (regno_uninitialized): Use bb->global_live_at_start.
2678 (regno_clobbered_at_setjmp): Likewise.
2679 (dump_bb_data): Likewise.
2680 (find_auto_inc): Use BLOCK_FOR_INSN instead of BLOCK_NUM.
2681 (dump_flow_info): Update for new structures.
2682 (dump_edge_info): New.
2683 (print_rtl_with_bb): Update for new structures.
2684 (compute_preds_succs): Do no work -- convert edge lists.
2685 (set_block_for_insn): From corpse of old set_block_num.
2686 (set_block_num): Call it.
2688 * rtl.c (note_insn_name): Add NOTE_INSN_BASIC_BLOCK.
2689 * rtl.h (rtunion_def): Add bb entry.
2690 (NOTE_BASIC_BLOCK): New.
2691 (NOTE_INSN_BASIC_BLOCK): New.
2693 * varray.h (varray_data_tag): Add bb entry.
2694 (VARRAY_BB_INIT, VARRAY_BB): New.
2696 * emit-rtl.c (emit_label_before): New.
2698 * except.c (expand_rethrow): Delete insns following the call to
2699 rethrow. Put the REG_EH_RETHROW on the call.
2701 * jump.c (returnjump_p, returnjump_p_1): New.
2703 * expr.h (nonlocal_goto_handler_labels): New declaration.
2704 * function.c (nonlocal_goto_handler_labels): Define it.
2705 (push_function_context_to): Save it.
2706 (pop_function_context_from): Restore it.
2707 (init_function_start): Clear it.
2708 (nonlocal_label_rtx_list): Kill.
2709 * function.h (struct function): Add storage space for it.
2710 * stmt.c (expand_nl_handler_label): Return the new label.
2711 (expand_nl_goto_receivers): Collect a list of them in
2712 nonlocal_goto_handler_labels.
2714 * Makefile.in (print-rtl.o): Depend on basic-block.h.
2715 (flow.o): Depend on insn-flags.h.
2717 * function.c (thread_prologue_and_epilogue_insns): Do not
2718 half-heartedly update bb structures.
2720 * toplev.c: Add flow2 dump as -dw.
2721 (rest_of_compilation): Finish .greg before flow2.
2723 * graph.c (draw_edge): Handle class 3.
2724 (print_rtl_graph_with_bb): Make abnormal edges red class 2,
2725 change non-fall-thru but adjacent to green class 3. Update
2726 to use new structures.
2728 * print-rtl.c (print_rtx): Handle NOTE_INSN_BASIC_BLOCK.
2730 * reg-stack.c (BLOCK_NUM): Convert to function. Abort if
2732 (reg_to_stack): Initialize block_num to -1.
2734 * combine.c (set_nonzero_bits_and_sign_copies): Update reference
2735 to basic_block_live_at_start to bb->global_live_at_start.
2736 (try_combine): Likewise.
2737 (reg_dead_at_p): Likewise.
2738 * global.c (global_conflicts): Likewise.
2739 Handle stack regs on all abnormal edges, not just computed jumps.
2740 (mark_elimination): Update reference to basic_block_live_at_start.
2741 (build_insn_chain): Likewise.
2742 * haifa-sched.c (haifa_edge): Rename from edge for conflict.
2743 (is_cfg_nonregular): Look at nonlocal_goto_handler_labels instead
2744 of nonlocal_label_rtx_list.
2745 (check_live_1): Update reference to basic_block_live_at_start.
2746 (update_live_1): Likewise.
2747 (find_pre_sched_live): Likewise.
2748 (find_post_sched_live): Likewise.
2749 * local-alloc.c (update_equiv_regs): Likewise.
2750 (block_alloc): Likewise.
2751 * reload1.c (reload, reload_combine): Likewise.
2752 * regmove.c (mark_flags_life_zones): Likewise.
2753 * resource.c (mark_target_live_regs): Likewise.
2754 * sched.c (schedule_block): Likewise.
2756 * regclass.c (regset_release_memory): Don't free
2757 basic_block_live_at_start.
2759 * unroll.c (copy_loop_body): Don't duplicate NOTE_INSN_BASIC_BLOCK.
2761 Thu Feb 25 21:32:34 1999 Jason Merrill <jason@yorick.cygnus.com>
2763 * fixinc.wrap: Also handle struct queue in sys/stream.h.
2764 * fixinc.svr4: Likewise.
2766 * dwarf2out.c (scope_die_for): Set scope_die to comp_unit_die
2767 rather than asserting it.
2769 Thu Feb 25 23:33:06 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2771 * cppexp.c (left_shift, right_shift, parse_charconst, COMPARE,
2772 cpp_parse_expr): Replace uses of long/HOST_BITS_PER_LONG with
2773 HOST_WIDEST_INT/HOST_BITS_PER_WIDEST_INT.
2775 * Makefile.in (cppmain.o, cpplib.o, cpphash.o, cppalloc.o,
2776 cpperror.o, cppexp.o, cppfiles.o, cppinit.o, fix-header.o,
2777 scan-decls.o): Don't depend on machmode.h.
2779 * cppexp.c: Don't define CHAR_BIT or HOST_BITS_PER_WIDE_INT anymore.
2780 Replace all instances of HOST_WIDE_INT with HOST_WIDEST_INT.
2782 * cppfiles.c: Likewise.
2784 * cpplib.c: Likewise.
2786 * cpplib.h: Likewise. Also don't include machmode.h anymore.
2788 Thu Feb 25 18:46:26 1999 Richard Henderson <rth@cygnus.com>
2790 * gcc.c (default_compilers): Define __FAST_MATH__ when appropriate.
2791 * objc/lang-specs.h: Likewise.
2793 Thu Feb 25 16:19:43 1999 Jeffrey A Law (law@cygnus.com)
2795 * pa.md (call patterns): Lose unused argument to output_call.
2797 * print-rtl.c (print_rtl): Print /j and /c for the jump/call flags.
2799 1999-02-25 17:14 -0500 Zack Weinberg <zack@rabi.columbia.edu>
2801 * cpphash.c (install): Rename to cpp_install, add cpp_reader*
2802 first argument. All callers changed.
2804 (cpp_lookup, cpp_install): Change all refs to hashtab to
2806 (cpp_hash_cleanup): Removed.
2807 * cpphash.h: Adjust prototypes.
2808 * cpplib.h (struct cpp_reader): Add hashtab pointer.
2809 * cppinit.c (cpp_reader_init): Also allocate space for the
2811 (cpp_cleanup): Delete all macros and free the hashtab.
2813 Thu Feb 25 21:52:54 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
2815 * sh.h (PASS_IN_REG_P): For TARGET_HITACHI, don't pass structures
2818 * expr.h (PRETEND_OUTGOING_VARARGS_NAMED): Provide default definition.
2819 * function.c (assign_parms): Honour PRETEND_OUTGOING_VARARGS_NAMED.
2820 * calls.c (expand_call): Likewise.
2822 * sh.c (sh_expand_prologue): For TARGET_HITACHI, don't push varargs /
2824 * sh.h (CPP_SPEC): Add -D__HITACHI__ for -mhitachi.
2825 (FUNCTION_ARG): For TARGET_HITACHI, don't pass unnamed
2826 arguments in registers.
2827 (PRETEND_OUTGOING_VARARGS_NAMED): Define.
2828 * va-sh.h (entire file): If __HITACHI__ is defined, use sh[123]
2831 Thu Feb 25 14:32:40 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2833 * cse.c (dump_class): Revert last change and make the prototype
2836 Thu Feb 25 19:13:42 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
2838 * rtl.h (insn_first_p): Don't declare.
2839 * rtlanal.c (insn_first_p): Delete.
2840 * loop.c (loop_insn_first_p): Faster implementation.
2842 Thu Feb 25 10:44:35 1999 Richard Earnshaw (rearnsha@arm.com)
2844 * arm.h (TARGET_SWITCHES): Delete deprecated switches -m[236].
2845 (TARGET_3, TARGET_6): Delete.
2846 (ARM_FLAG_ARM[36]): Delete.
2847 (CPP_CPU_ARCH_SPEC): No need to handle -m[236] any more.
2848 (CC1_SPEC): Don't expand -m[236] into new equivalents.
2849 (CPP_APCS_PC_SPEC): No need to handle -m[236] any more.
2850 * arm.c (arm_override_options): Delete warnings about deprecated
2853 * arm.c (arm_finalize_pic): Build the label into the special pic
2854 adjustment insn instead of issuing it separately.
2855 * arm.md (pic_add_dot_plus_eight): Rework to contain the label
2858 * arm.md (*zeroextractqi_compare0_scratch): Delete.
2859 (*ne_zeroextractsi): New pattern.
2861 Thu Feb 25 18:40:06 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
2863 * stmt.c (expand_end_loop): Grok code emitted by
2864 expand_exit_loop_if_false.
2866 Thu Feb 25 10:17:32 1999 Nick Clifton <nickc@cygnus.com>
2868 * config/arm/arm.c (return_in_memory): Float fields in unions
2869 force a return in memory.
2870 (load_multiple_sequence): Add comment explaining why two LDR
2871 instructions can be better than an LDMIA instruction.
2873 * config/arm/arm.h (TARGET_SHORT_BY_BYTES): Add comment
2874 describing the real meaning of this option.
2875 (FIXED_REGISTERS): Default r10 to not-fixed.
2876 (CALL_USED_REGISTERS): Default r10 to not-call-used.
2877 (SUBTARGET_CONDITIONAL_REGISTER_USAGE): If not defined, define
2879 (CONDITIONAL_REGISTER_USAGE): Fix r10 if TARGET_APCS_STACK is
2880 true. Invoke SUBTARGET_CONDITIONAL_REGISTER_USAGE after
2881 performing other checks.
2883 * config/arm/arm.md (zero_extendhisi2): Undo previous change.
2884 (extendhisi2): Undo previous change.
2885 Also add comments describing why TARGET_SHORT_BY_BYTES can be
2886 ignored for armv4(t) architectures.
2888 * config/arm/riscix.h (SUBTARGET_CONDITIONAL_REGISTER_USAGE):
2891 * config/arm/riscix1-1.h
2892 (SUBTARGET_CONDITIONAL_REGISTER_USAGE): Define to fix r10.
2894 Thu Feb 25 12:09:04 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2896 * cse.c (dump_class): Make the function definition static to match
2899 Wed Feb 24 17:47:28 1999 Jim Wilson <wilson@cygnus.com>
2901 * dbxout.c (gstab.h): Use if CROSS_COMPILE.
2903 * dwarf2out.c (add_location_or_const_value_attribute): Add big
2904 endian correction for parms passed in regs but living on the stack.
2906 Wed Feb 24 14:03:54 1999 Jeffrey A Law (law@cygnus.com)
2908 * calls.c (initialize_argument_information): New function extracted
2910 (expand_call): Use initialize_argument_information. Remove variables
2911 which are no longer used due to cleanups.
2913 * calls.c (compute_argument_block_size): New function, extracted from
2915 (expand_calls): Use compute_argument_block_size. Delete
2916 original_args_size, use unadjusted_args_size instead.
2918 * calls.c (precompute_arguments): New function, extracted from
2920 (expand_call): Use precompute_arguments.
2922 * calls.c (finalize_must_preallocate): New function, extracted from
2924 (expand_call): Use finalize_must_preallocate.
2926 * calls.c (store_one_arg): Mark "variable_size" as possibly unused.
2928 * regclass.c (record_reg_classes, case 'p'): Set classes appropriately.
2929 An alternative always fails if it needs a pseudo and no suitable
2930 register class can be found.
2932 Wed Feb 24 19:47:56 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
2934 * loop.h (loop_insn_first_p): Declare.
2935 * loop.c (loop_insn_first_p): No longer static.
2936 * unroll.c (iteration_info) Fix comparison to
2937 reg_iv_type->num_elements.
2938 Before accessing reg_biv_class, check index against
2939 max_reg_before_loop.
2940 Fix and enable code for giv iterators.
2941 (loop_iterations): Compare with reg_iv_type->num_elements instead
2942 of with max_reg_before_loop.
2944 Wed Feb 24 19:17:11 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
2946 * unroll.c (unroll_loop): Avoid out-of-bounds index for local_regno.
2948 Wed Feb 24 11:26:41 1999 Vladimir N. Makarov <vmakarov@cygnus.com>
2950 * config/sparc/sparc.h (CONDITIONAL_REGISTER_USAGE): Don't use
2951 PIC_OFFSET_TABLE_REGNUM for register allocation when -fPIC.
2953 Tue Feb 23 16:24:19 CET 1999 Marc Lehmann <pcg@goof.com>
2955 * config/i386/i386.md: Fix typo.
2957 Mon Feb 22 19:36:33 1999 Andrew Cagney <cagney@b1.cygnus.com>
2959 * config/mips/mips.c (mips_debugger_offset): When TARGET_MIPS16 &&
2960 frame_pointer_needed adjust frame size.
2961 (function_prologue): Don't MIPS16 .mask GPOFFSET. Already adjusted
2962 in .frame pseudo-op.
2963 Frm Jim Wilson <wilson@cygnus.com>:
2964 * mips.c (function_prologue): Adjust frame size in .frame pseudo-op
2965 when TARGET_MIPS16 && frame_pointer_needed.
2967 1999-02-22 Nick Clifton <nickc@cygnus.com>
2969 * config/arm/arm.h: Add TARGET_CPU_strongarm1100.
2970 Add -mno-sched command line switch to disable scheduling of
2971 instructions into the function's prologue.
2972 (enum processor_type): Remove.
2973 (TARGET_OPTIONS): Add "fpe=" option to match documentation.
2974 (struct arm_cpu_select): Replace 'set_tune_p' and 'set_arch_p'
2975 fields with 'processors' field.
2976 (CONDITIONAL_REGISTER_USAGE): Allow r10 to be used if stack
2977 checking is not enabled.
2978 (RETURN_IN_MEMORY): Always call arm_return_in_memory.
2980 * config/arm/arm.c (arm_cpu): Remove.
2981 (tune_flags): Remove.
2982 (arm_is_strong): New variable: true iff the target processor is a
2984 (arm_is_6_or_7): New variable: true iff the target processor is an
2986 (arm_select): Fields reorganised.
2987 (struct processors): processor_type field removed.
2988 (all_procs): Remove.
2989 (all_cores): New array: Definitions of all known ARM cpu cores.
2990 (all_architectures): New array: Definitions of all known ARM
2993 (FL_SCHED): New processor flag: processor required load
2995 (FL_STRONG): New processor flag: processor is a StrongARM.
2996 (arm_override_options): Reorganized to make code clearer.
2997 (use_return_insn): Test for "not (TARGET_APCS and
2998 frame_pointer_needed)".
2999 (arm_return_in_memory): Improve handling of structures.
3001 * config/arm/arm.md: Remove "cpu" attribute. Replace with
3002 "is_strongarm" and "is_arm_6_or_7" attributes.
3003 (zero_extendhisi2): Check for TARGET_SHORT_BY_BYTES before
3005 (extendhisi2): Check for TARGET_SHORT_BY_BYTES before arm_arch4.
3007 * invoke.texi (ARM Options): Document -mtune= and -mfp= options.
3009 1999-02-22 Philip Blundell <philb@gnu.org>
3011 * config/arm/linux-gas.h (INITIALIZE_TRAMPOLINE): Replace default
3012 definition with one including cache synchronization.
3013 (CLEAR_INSN_CACHE): Correct syscall number and enable definition.
3014 Move definition of inhibit_libc to...
3015 * config/arm/xm-linux.h: ... here.
3017 * config/arm/t-linux: Disable multilib configurations since the
3018 only effect for most people is to cause builds to fail.
3020 * config/arm/elf.h (ASM_FILE_START): Add .file directive.
3021 (ASM_SPEC): Translate -mapcs-float to -mfloat for the assembler.
3023 * config/arm/linux-elf.h (DEFAULT_VTABLE_THUNKS): Define.
3024 (HANDLE_SYSV_PRAGMA): Likewise.
3025 (LIB_SPEC): Copy definition from generic Linux files.
3026 (LIBGCC_SPEC): Include -lfloat if -msoft-float was given.
3027 (FP_DEFAULT): Set to SOFT3 on 32-bit targets.
3028 (DWARF2_DEBUGGING_INFO): Define.
3029 (PREFERRED_DEBUGGING_TYPE): Define as DBX_DEBUG.
3031 Mon Feb 22 16:54:18 EST 1999 Andrew MacLeod <amacleod@cygnus.com>
3033 * loop.c (libcall_other_regs): Make extern.
3034 * rtl.h (find_last_value): Add parameter to prototype.
3035 (libcall_other_reg): Add extern declaration.
3036 * rtlanal.c (find_last_value): Add another parameter to allow
3037 a definition using a hardware register to be found as well.
3039 Mon Feb 22 13:33:47 1999 Mark Mitchell <mark@markmitchell.com>
3041 * cse.c (dump_class): New function.
3042 (invalidate_memory): Fix typo in comment.
3043 * function.c (temp_slot): Add an alias set field.
3044 (assign_stack_temp): Only reuse slots if they will have the
3045 same alias set as before.
3046 (combine_temp_slots): Don't combine if -fstrict-aliasing;
3048 * rtl.c (copy_rtx): Copy all the flags (in particular,
3051 Mon Feb 22 14:13:23 1999 Vladimir N. Makarov <vmakarov@cygnus.com>
3053 * configure.in (i[34567]86-*-linux-gnu*,
3054 i[34567]86-*-linux-gnulibc1, i[34567]86-*-linux-gnuaout*,
3055 i[34567]86-*-linux-gnuoldld*): Use fixinc.x86-linux-gnu as
3058 * configure: Rebuilt.
3060 * fixinc.x86-linux-gnu: New script for fixing asm-statements bug
3063 * fixinc/fixinc.x86-linux-gnu: Copy of the previous one.
3065 * fixinc/mkfixinc.sh (i[34567]86-*-linux-gnu*,
3066 i[34567]86-*-linux-gnulibc1, i[34567]86-*-linux-gnuaout*,
3067 i[34567]86-*-linux-gnuoldld*): Use fixinc.x86-linux-gnu as
3070 Mon Feb 22 08:55:05 1999 Ovidiu Predescu <ovidiu@cup.hp.com>
3072 * objc/objc-act.c (encode_type): Temporary revert to the old
3073 behavior of encoding types as the new one seems to break the
3074 encoding of bitfields.
3076 Mon Feb 22 11:40:44 1999 Craig Burley <craig@jcb-sc.com>
3077 Sat Feb 20 09:59:36 1999 Craig Burley <craig@jcb-sc.com>
3079 * Makefile.in (all.internal, all.cross): Depend on `doc'
3080 target, to ensure docs get made before installation.
3082 Decrease spurious warnings from -fsyntax-only:
3083 * stmt.c (expand_expr_stmt): Expand expr even when -fsyntax-only.
3085 Mon Feb 22 10:55:00 1999 Gavin Romig-Koch <gavin@cygnus.com>
3087 * c-lex.c (yylex): Replace warning about integer constants being
3088 larger than long-longs, with a warning about integer constants
3089 being larger than the largest target integer.
3091 Mon Feb 22 08:35:38 1999 Craig Burley <craig@jcb-sc.com>
3093 Fix -fsyntax-only ICEs:
3094 * varasm.c (assemble_zeros, assemble_variable,
3095 output_constant_def): Do nothing when -fsyntax-only.
3097 Fri Feb 19 18:18:56 1999 Don Bowman <don@pixstream.com>
3099 * configure.in (mips*-*-vxworks*): Enable gthreads vxworks support.
3100 * configure: Rebuilt.
3102 Sun Feb 21 20:34:44 PST 1999 Jeff Law (law@cygnus.com)
3104 * version.c: Bump for snapshot.
3106 Sun Feb 21 20:35:10 1999 Jeffrey A Law (law@cygnus.com)
3108 * config/aoutos.h (ASM_OUTPUT_CONSTRUCTOR): Delete.
3109 (ASM_OUTPUT_DESTRUCTOR, ASM_OUTPUT_GC_ENTRY): Likewise.
3110 * tm.texi: Update docs for constructors and destructors.
3112 Sun Feb 21 17:11:18 1999 Richard Henderson <rth@cygnus.com>
3114 * genattrtab.c (check_attr_value): Allow negative const_int if
3115 negative_ok. Accept integral arithmetic operators. Accept
3116 direct references to other attributes. Accept symbol_ref in
3117 non-constant attributes.
3118 (max_attr_value): Add new argument `unknownp'. Update all callers.
3119 (or_attr_value): Likewise.
3120 (simplify_knowing): Don't optimize if max_attr_value unknown.
3121 (write_length_unit_log): Likewise with or_attr_value.
3122 (find_and_mark_used_attributes): Don't fallthru case.
3123 (write_attr_set): Pass thru all non-cond expressions.
3124 (write_attr_value): Handle symbol_ref, attr, and arithmetic.
3126 Sun Feb 21 13:16:44 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
3128 * regmove.c (discover_flags_reg): Use word_mode instead of SImode.
3130 Sun Feb 21 13:15:40 1999 Richard Henderson <rth@cygnus.com>
3132 * regmove.c (discover_flags_reg): Remove cc0 code.
3133 (mark_flags_life_zones) [HAVE_cc0]: Force use of cc0; bail if
3134 a potential flags register was identified.
3136 Sat Feb 20 16:16:07 1998 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
3138 * rs6000.md (scc plus ltu): Fix typo in last change.
3140 Sat Feb 20 09:08:44 1999 Richard Earnshaw (rearnsha@arm.com)
3142 * xm-arm.h (HOST_BITS_PER_LONGLONG): Define.
3144 Fri Feb 19 23:02:02 1999 Richard Henderson <rth@cygnus.com>
3146 * regmove.c (discover_flags_reg): New function.
3147 (flags_set_1, mark_flags_life_zones): New functions.
3148 (regmove_optimize): Call them.
3149 (fixup_match_1): Use insn modes rather than sets_cc0_p.
3151 Fri Feb 19 22:47:01 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
3153 * rtlanal.c (insn_first_p): Fix return value for insn == reference.
3155 * loop.c (strength_reduce, check_final_value, check_dbra_loop):
3156 Use loop_insn_first_p.
3158 Fri Feb 19 15:49:26 1999 Michael Meissner <meissner@cygnus.com>
3159 David Edelsohn <edelsohn@gnu.org>
3161 * rs6000.md (scc plus eq): Fix output template.
3162 (scc plus ltu): Fix output template and collapse variants
3163 correcting early clobbers.
3164 (scc plus geu): Fix output template.
3165 (scc plus gt): Fix output template.
3166 (scc plus gtu): Fix output template and collapse variants.
3168 Fri Feb 19 15:43:59 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3170 * cppinit.c (print_help): Remove unescaped newline in string.
3172 Fri Feb 19 19:55:06 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
3174 * loop.c (strength_reduce): Check for intervening jumps when
3175 converting biv increment to giv.
3177 Thu Feb 18 16:36:58 1999 Per Bothner <bothner@cygnus.com>
3179 * tree.def (TRY_FINALLY_EXPR, GOTO_SUBROUTINE_EXPR): New tree nodes,
3180 * expr.c (expand_expr): Support new tree nodes.
3182 Fri Feb 19 10:17:56 1999 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
3184 * config/m68k/m68k.c (m68k_align_loops_string,
3185 m68k_align_jumps_string, m68k_align_funcs_string): Add const.
3186 * config/m68k/m68k.h (m68k_align_loops_string,
3187 m68k_align_jumps_string, m68k_align_funcs_string): Likewise.
3189 Thu Feb 18 23:28:35 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3191 * bitmap.c (bitmap_print): Qualify a char* with the `const' keyword.
3193 * bitmap.h (bitmap_print): Likewise.
3195 * c-decl.c (builtin_function, grokdeclarator, grokfield): Likewise.
3197 * c-lang.c (build_objc_string): Likewise.
3199 * c-lex.c (yyerror, extend_token_buffer): Likewise. Don't include
3200 limits.h or ctype.h. Remove unused variable `p'.
3202 * c-lex.h (yyerror): Qualify a char* with the `const' keyword.
3204 * c-pragma.c (handle_pragma_token): Likewise.
3206 * c-pragma.h (handle_pragma_token): Likewise.
3208 * c-tree.h (build_objc_string, builtin_function, grokfield,
3209 build_indirect_ref, lvalue_or_else, readonly_warning, error_init,
3210 pedwarn_init): Likewise.
3212 * c-typeck.c (convert_for_assignment, warn_for_assignment,
3213 push_string, warning_init, incomplete_type_error,
3214 build_indirect_ref, lvalue_or_else, readonly_warning,
3215 build_c_cast, spelling, push_member_name, print_spelling,
3216 error_init, pedwarn_init, start_init): Likewise.
3218 * objc/objc-act.c (build_objc_string): Likewise.
3220 * print-tree.c (print_node_brief, print_node): Likewise.
3222 * tree.h (lvalue_or_else, print_node, print_node_brief): Likewise.
3224 Thu Feb 18 20:44:21 1999 David Edelsohn <edelsohn@gnu.org>
3226 * regclass.c (record_reg_classes): Correctly handle 'p' constraint.
3228 Thu Feb 18 19:59:37 1999 Marc Espie <espie@cvs.openbsd.org>
3230 * configure.in :Handle OpenBSD platforms.
3231 * configure: Rebuilt.
3232 * config/openbsd.h: New file.
3233 * config/xm-openbsd.h: New file.
3234 * config/t-openbsd: New file.
3235 * config/t-openbsd-thread: New file.
3237 Thu Feb 18 18:47:09 1999 Jeffrey A Law (law@cygnus.com)
3239 * function.c (assign_stack_temp_for_type): Round SIZE before calling
3240 assign_stack_local for BLKmode slots.
3242 Fri Feb 19 01:45:06 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
3244 * loop.c (strength_reduce): For derived givs, replace the
3245 giv this was derived from with its new_reg.
3246 (recombine_givs): Don't set new_reg for derived giv.
3247 And don't print it, print SUM instead.
3249 Thu Feb 18 15:52:49 1999 Jim Wilson <wilson@cygnus.com>
3251 * m68kelf.h (ASM_RETURN_CASE_JUMP): Add 5200 support.
3253 1999-02-18 18:32 -0500 Zack Weinberg <zack@rabi.columbia.edu>
3255 * cpplib.c: Kill define of STDC_VALUE. Don't include output.h
3256 or prefix.h. Change CPP_IS_MACRO_BUFFER to not refer to
3258 (GET_ENV_PATH_LIST, PATH_SEPARATOR, STANDARD_INCLUDE_DIR,
3259 predefs, SIZE_TYPE, PTRDIFF_TYPE, WCHAR_TYPE,
3260 CPP_WCHAR_TYPE, USER_LABEL_PREFIX, REGISTER_PREFIX, struct
3261 cpp_pending, version_string, struct default_include,
3262 include_defaults_array, path_include, cpp_options_init,
3263 dump_special_to_buffer, initialize_builtins, cpp_start_read,
3264 cpp_reader_init, nreverse_pending, push_pending, print_help,
3265 cpp_handle_option, cpp_handle_options, cpp_finish,
3266 cpp_cleanup): Move to cppinit.c.
3267 (macro_cleanup, struct arglist, collect_expansion,
3268 create_definition, compare_defs, comp_def_part, ARG_BASE,
3269 struct argdata, macarg, change_newlines, timestamp,
3270 monthnames, special_symbol, unsafe_chars, macroexpand,
3271 push_macro_expansion): Move to cpphash.c.
3272 (quote_string, check_macro_name, cpp_expand_to_buffer,
3273 output_line_command, cpp_undef): Export.
3274 (null_underflow, null_cleanup, handle_directive): Make static.
3276 * cpplib.h: Prototype now-exported functions. Adjust decls of
3277 syntax tables so we can include cpplib.h in cppinit.c.
3278 * cpphash.h: Prototype all functions exported by cpphash.c.
3279 * cppinit.c: Make syntax tables initialized data if possible
3280 (uses GCC designated-initializer extension).
3281 * cppexp.c: Make cpp_lex static.
3282 * Makefile.in: Move -D switches for the various include dirs
3283 from cpplib.o rule to cppinit.o rule. Adjust dependencies.
3285 Thu Feb 18 13:15:56 1999 Marc Espie <espie@cvs.openbsd.org>
3287 * alpha/openbsd.h: New file.
3288 * alpha/xm-openbsd.h: New file.
3289 * sparc/openbsd.h: New file.
3290 * sparc/xm-openbsd.h: New file.
3291 * m68k/openbsd.h: New file.
3292 * m68k/xm-openbsd.h: New file.
3293 * i386/openbsd.h: New file, originally from netbsd.
3294 * i386/xm-openbsd.h: New file.
3296 1999-02-17 14:49 -0500 Zack Weinberg <zack@rabi.columbia.edu>
3298 * Makefile.in: Correct dependencies for cpplib object files.
3300 Wed Feb 17 14:04:18 1999 Michael Meissner <meissner@cygnus.com>
3302 * rs6000.md ({add,sub}si3 `.'): Add alternatives to use CR other
3305 Wed Feb 17 16:59:28 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
3307 * loop.c (strength_reduce): Don't move giv insn for biv turned giv
3310 Wed Feb 17 10:56:24 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3312 * tree.c (tree_node_kind_names, print_obstack_name,
3313 get_identifier, maybe_get_identifier, build_string,
3314 build_expr_wfl, is_attribute_p, lookup_attribute,
3315 print_obstack_statistics, get_file_function_name_long, tree_check,
3316 tree_class_check, expr_check): Qualify a char* with the `const'
3319 * tree.h (get_identifier, maybe_get_identifier, build_string,
3320 build_expr_wfl, is_attribute_p, lookup_attribute,
3321 print_obstack_statistics, print_obstack_name, tree_check,
3322 tree_class_check, expr_check): Likewise.
3324 Tue Feb 16 21:29:38 1999 Jeffrey A Law (law@cygnus.com)
3326 * i386/freebsd-elf.h, i386/gas.h, i386/linux.h: Fix minor spacing
3329 * calls.c (store_one_arg): Mark any slots used for the argument
3330 as in-use immediately after we're done saving any slots which
3331 will be overwritten by this argument.
3333 Tue Feb 16 21:02:07 1999 Anton Hartl <toni@devsoft.com>
3335 * rs6000.md (call_value): Fix typo.
3337 Wed Feb 17 01:29:07 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
3339 * loop.c (strength_reduce): Calculate maybe_dead before
3340 calling recombine_givs.
3342 Wed Feb 17 00:43:12 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
3344 * loop.c (strength_reduce): Dump biv increment -> giv conversions.
3346 Tue Feb 16 15:31:39 1999 Ovidiu Predescu <ovidiu@cup.hp.com>
3348 * objc/objc-act.c (encode_type): Encode the type instead of
3349 encoding the mode of the type (patch from Richard Frith-Macdonald
3350 <richard@brainstorm.co.uk>).
3352 Tue Feb 16 10:53:51 1999 Richard Earnshaw (rearnsha@arm.com)
3354 * config/arm/arm.md (*zeroextractqi_compare0_scratch): Re-add load
3355 instruction killed in previous change. Simplify mask generation.
3356 (*zeroextractsi_compare0_scratch): Simplify mask generation.
3358 Tue Feb 16 09:52:26 1999 Nick Clifton <nickc@cygnus.com>
3360 * config/arm/arm.md (zeroextractqi_compare0_scratch): Ensure that
3361 bitfield does not overflow a byte boundary.
3363 Tue Feb 16 01:37:33 1999 Charles G Waldman <cgw@alum.mit.edu>
3365 * c-common.c (shorten_compare): Get the min/max value from the
3366 underlying type of an enumeration, not the enumerated type itself.
3368 Mon Feb 15 23:04:48 1999 Jeffrey A Law (law@cygnus.com)
3370 * jump.c: Include insn-attr.h.
3371 (delete_computation): If reload has completed and insn scheduling
3372 after reload is enabled, then do not depend on REG_DEAD notes.
3373 * Makefile.in (jump.o): Depend on insn-attr.h.
3375 Mon Feb 15 16:57:38 1999 Richard Henderson <rth@cygnus.com>
3377 * i386.md (addsi3): Allow lea for any constant_p.
3379 1999-02-15 17:11 -0500 Zack Weinberg <zack@rabi.columbia.edu>
3381 * toplev.c (documented_lang_options): Remove -fident and
3382 -fnoident, which are now handled by the language independent
3385 1999-02-15 16:59 -0500 Zack Weinberg <zack@rabi.columbia.edu>
3387 * c-common.c (UNGETC [USE_CPPLIB=1]): Do nothing if c is EOF.
3388 * c-lex.c: Likewise.
3389 * cpplib.c (cpp_push_buffer, cpp_pop_buffer): Use a linked
3390 list in malloced memory for the buffer stack.
3391 (cpp_get_token): Don't pop the last buffer off the stack.
3392 Calls after CPP_EOF has been returned produce CPP_EOF with no
3394 (cpp_finish): Pop last buffer here.
3395 (do_line): Don't free ip->last_nominal_fname if it is equal to
3397 (special_symbol): If a T_CONST is the empty string, push a
3398 single `@ ' escape instead.
3399 (macroexpand): Special symbol buffers have escapes too.
3400 * cpplib.h (struct cpp_buffer): Remove unused fields, add prev
3402 (struct cpp_reader): Remove buffer_stack. Add
3404 (CPP_PREV_BUFFER, CPP_NULL_BUFFER): Buffer stack is now a
3407 Mon Feb 15 14:44:53 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3409 * cccp.c: Don't define HOST_WIDE_INT. Replace all occurrences of
3410 WIDE_INT with WIDEST_INT.
3413 Don't define unsigned_HOST_WIDE_INT, CHAR_BIT or
3414 HOST_BITS_PER_WIDE_INT. Replace occurrences of PRINTF_PROTO_1()
3415 style with PVPROTO() ATTRIBUTE_PRINTF_1 style macros. Replace
3416 occurrences of "unsigned_HOST" with "unsigned HOST". Provide a
3417 definition of variable `c89' when compiling a test binary and set it.
3419 * system.h: Don't define the PRINTF_PROTO_* macros.
3421 Mon Feb 15 11:33:51 1999 Jeffrey A Law (law@cygnus.com)
3423 * loop.c (mark_loop_jump): Handle LO_SUM. If we encounter something
3424 we do not understand, mark the loop and containing loops as invalid.
3426 Mon Feb 15 00:40:45 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
3428 * alias.c (init_alias_analysis): Avoid self-referential value
3429 when setting reg_known_value from REG_EQUAL notes.
3431 Sun Feb 14 23:12:10 1999 Richard Henderson <rth@cygnus.com>
3433 * i386.c (legitimate_address_p): Verify modes of base and index.
3435 Sun Feb 14 23:01:28 1999 Richard Henderson <rth@cygnus.com>
3437 * i386.c (legitimate_pic_address_disp_p): Remove static.
3438 * i386.h (LEGITIMATE_PIC_OPERAND_P): Use it instead of
3441 Sun Feb 14 21:03:28 1999 Jeffrey A Law (law@cygnus.com)
3443 * except.c (start_catch_handler): Use emit_cmp_and_jump_insns.
3444 * explow.c (probe_stack_range): Likewise.
3445 * expmed.c (do_cmp_and_jump): Likewise.
3446 * expr.c (store_expr, expand_expr, expand_builtin): Likewise.
3447 (do_tablejump): Likewise.
3448 * stmt.c (expand_expr_stmt, expand_end_case): Likewise.
3449 (do_jump_if_equal, emit_case_nodes): Likewise.
3450 * optabs.c (emit_cmp_and_jump_insns): Clarify comments. If UNSIGNEDP,
3451 then convert comparison to an unsigned code before emitting the jump.
3452 (expand_float, expand_fix): Use emit_cmp_and_jump_insns.
3454 Sun Feb 14 02:24:15 PST 1999 Jeff Law (law@cygnus.com)
3456 * version.c: Bump for snapshot.
3458 Sun Feb 14 01:15:04 PST 1999 Jeff Law (law@cygnus.com)
3460 * version.c: Bump for snapshot.
3462 Sun Feb 14 00:45:50 1999 Jeffrey A Law (law@cygnus.com)
3464 * loop.c: Disable recent loop changes. Temporary as Joern
3465 continues to fix problems.
3467 Sat Feb 13 23:29:42 1999 Richard Henderson <rth@cygnus.com>
3469 * loop.c (combine_givs_used_by_other): Delete.
3470 (combine_givs_benefit_from): Delete.
3471 (combine_givs): Deny combination of givs only used once. Simplify
3472 code with the death of combine_givs_benefit_from.
3474 Sun Feb 14 11:24:05 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
3476 * loop.c (scan_loop): Call reg_in_basic_block_p before
3477 loop_reg_used_before_p.
3479 Sat Feb 13 05:32:00 1999 Richard Earnshaw (rearnsha@arm.com)
3481 * arm.md: Use gen_rtx_FOO instead of gen_rtx (FOO, ...).
3485 * arm.h (TARGET_OPTIONS): Reformat for clarity.
3486 (GO_IF_LEGITIMATE_ADDRESS): When generating PIC, references to symbols
3487 in the constant pool aren't valid.
3488 (LEGITIMATE_PIC_OPERAND_P): Likewise.
3490 * arm.c: Include "system.h", not stdio.h and string.h.
3492 Fri Feb 12 13:06:28 1999 Jim Wilson <wilson@cygnus.com>
3494 * stmt.c (expand_return): Return if optimize_tail_recursion succeeded.
3495 (optimize_tail_recursion): Change return type from void to int.
3496 Add return statements.
3497 * tree.h (optimize_tail_recursion): Change prototype to match.
3499 Fri Feb 12 21:09:51 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
3501 * reload.c (find_reloads_subreg_address): New function, broken out of
3502 find_reloads_toplev.
3503 (find_reloads_toplev, find_reloads_address_1): Use it.
3505 Fri Feb 12 13:20:52 1999 Jeffrey A Law (law@cygnus.com)
3507 * h8300.md (zero_extendhisi2 H8/300 variant): Correctly handle
3508 extending a CONST_INT.
3510 * h8300.md (peephole for combining memrefs): Delete incorrect peephole.
3512 Fri Feb 12 18:29:11 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
3514 * loop.c (loop_insn_first_p, biv_elimination_giv_has_0_offset):
3516 (maybe_eliminate_biv_1): Use biv_elimination_giv_has_0_offset.
3518 Fri Feb 12 16:56:10 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
3520 * loop.c (load_mems): Don't guess how to do a load / store, use
3523 Fri Feb 12 09:24:26 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3525 * system.h: Provide a definition for HOST_WIDEST_INT, etc.
3527 Fri Feb 12 23:37:26 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
3529 * config/c4x/c4x.c (c4x_address_cost): Revert 9 Feb change.
3531 Fri Feb 12 00:51:26 1999 Jeffrey A Law (law@cygnus.com)
3533 * reload.c (find_reloads_address_1): Fix handling of an autoincremented
3534 pseudo which is homed in the stack.
3536 * mips.c (save_restore_insns): Fix loop to save/restore FP registers.
3537 (compute_frame_size): Change loop over FP regs to be consistent
3538 with the loop in save_restore_insns.
3540 Thu Feb 11 17:38:40 1999 Jim Wilson <wilson@cygnus.com>
3542 * i960/i960.h (OVERRIDE_OPTIONS): Warn if -mlong-double-64 is used.
3543 (LONG_DOUBLE_TYPE_SIZE): Undef then unconditionally define to 96.
3545 Thu Feb 11 15:11:35 1999 Jeffrey A Law (law@cygnus.com)
3547 * mn10200.md (bset); Re-enable.
3549 Thu Feb 11 15:20:49 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
3551 * sh.md (is_sfunc): New attribute.
3552 * sh.h (INSN_SETS_ARE_DELAYED, INSN_REFERENCES_ARE_DELAYED): Use it.
3554 Thu Feb 11 01:06:49 1999 Nathan Sidwell <nathan@acm.org>
3556 * fold-const.c (range_binop): Take account of the bounded nature
3557 of fixed length arithmetic when comparing unbounded ranges.
3559 Thu Feb 11 00:08:17 1999 John Wehle (john@feith.com)
3561 * function.c (assign_stack_temp_for_type): Clear best_p
3562 when an exact match is found.
3564 * i386.h (LOCAL_ALIGNMENT): Define.
3565 * function.c (assign_stack_local, assign_outer_stack_local): Use it.
3566 (assign_stack_temp_for_type): New function based on assign_stack_temp.
3567 (assign_stack_temp): Call it.
3568 (assign_temp): Use assign_stack_temp_for_type, not assign_stack_temp.
3569 * stmt.c: Use assign_temp, not assign_stack_temp.
3570 * tm.texi: Document LOCAL_ALIGNMENT.
3572 Wed Feb 10 23:28:28 1999 Jeffrey A Law (law@cygnus.com)
3574 * reorg.c: Finish deleting half-deleted comment.
3576 Wed Feb 10 17:12:21 1999 Jim Wilson <wilson@cygnus.com>
3578 * emit-rtl.c (operand_subword): Sign extend REAL_VALUE_TO_TARGET_SINGLE
3580 * final.c (split_double): Sign extend REAL_VALUE_TO_TARGET_DOUBLE
3582 * real.c (endian): Delete sign extension code.
3583 * config/m32r/m32r.md (movsf_insn+1): REAL_VALUE_TO_TARGET_SINGLE call
3584 replaced with operand_subword call.
3586 Wed Feb 10 15:16:39 1999 Richard Henderson <rth@cygnus.com>
3588 * alpha.md (cmov compound patterns): Delete. Jump can now
3589 create the correct constructs in the first place.
3591 Wed Feb 10 11:03:22 1999 Richard Henderson <rth@cygnus.com>
3593 * configure.in (alphaev6*): Fix typo in target_cpu_default2.
3595 Wed Feb 10 13:59:18 1999 Dave Brolley <brolley@cygnus.com>
3597 * mbchar.c (local_mb_cur_max): Handle the case where MB_CUR_MAX is 0.
3599 Wed Feb 10 10:35:05 1999 Jim Wilson <wilson@cygnus.com>
3601 * tmp-emsgids.c: Delete.
3603 Wed Feb 10 09:57:08 1999 Mark Mitchell <mark@markmitchell.com>
3605 * rtlanal.c (for_each_rtx): Fix declaration to conform to GNU
3608 Wed Feb 10 10:09:41 1999 Jeffrey A Law (law@cygnus.com)
3610 * mn10200.md (bset, bclr): Operand 0 is a read/write operand.
3612 * reload1.c (reload_combine_note_store): Second argument is no
3613 longer unused/ignored. Handle multi-register hard regs.
3614 (move2add_note_store): Simplify.
3616 Wed Feb 10 10:05:23 1999 Mumit Khan <khan@xraylith.wisc.edu>
3618 * collect2.c (collect_execute): Remove cygwin-specific code.
3620 Tue Feb 9 17:27:29 GMT 1999 Nathan Sidwell <nathan@acm.org>
3622 * system.h (_, N_): Remove dummy i18n macros.
3623 * protoize.c: Move inclusion of intl.h to after system.h.
3624 * cexp.y: Include intl.h.
3627 Tue Feb 9 16:52:22 1999 Mumit Khan <khan@xraylith.wisc.edu>
3629 * i386/cygwin.h (SUBTARGET_OVERRIDE_OPTIONS): New macro to ignore
3630 fpic/fPIC for windows32 targets.
3631 * i386/xm-cygwin.h (GET_ENV_PATH_LIST): Replace '\\' in windows32
3633 * i386/mingw32.h (CPP_SPEC): Define.
3634 (CPP_PREDEFINES): Add MINGW32 version id.
3635 * i386/crtdll.h (CPP_PREDEFINES): Likewise.
3637 * Makefile.in (collect2$(exeext)): Delete redundant dependency and
3638 add missing exeext to target.
3640 * gcc.c (convert_filename): Handle null filename argument.
3642 Wed Feb 10 15:46:10 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
3644 * config/c4x/c4x.md (*movhf_noclobber, *movhi_noclobber): Use
3645 m constraint instead of QT.
3647 1999-02-09 Brendan Kehoe <brendan@cygnus.com>
3649 * cpplib.c (special_symbol): Move IP to be declared in function
3650 scope, rather than individual case statements.
3652 1999-02-09 16:42 -0500 Zack Weinberg <zack@rabi.columbia.edu>
3654 * cppfiles.c (finclude): Handle pipes properly under old BSD
3657 1999-02-09 16:42 -0500 Melissa O'Neill <oneill@cs.sfu.ca>
3659 * system.h: Provide fallback definitions for S_ISCHR,
3660 S_ISSOCK, S_ISFIFO, O_NONBLOCK, and O_NOCTTY.
3662 1999-02-09 10:30 -0500 Zack Weinberg <zack@rabi.columbia.edu>
3664 * cpplib.c (do_define): Allow redefining __STDC__ with -D.
3666 1999-02-09 Jim Blandy <jimb@zwingli.cygnus.com>
3668 * configure.in: For PowerPC configurations, accept "401", "ec603e",
3669 "740", and "750" as valid arguments to --with-cpu.
3670 * configure: Rebuilt.
3672 Tue Feb 9 00:00:14 1999 Mark Kettenis <kettenis@gnu.org>
3674 * configure.in (i[34567]86-*gnu*): Set float_format to i386.
3675 * configure: Rebuilt.
3677 Mon Feb 8 22:38:24 1999 Jeffrey A Law (law@cygnus.com)
3679 * rs6000.md: Revert "alternate use of crs if cr0 not available"
3680 patches from 01-22-1999, 01-24-1999, 01-26-1999, and 02-08-1999.
3682 Mon Feb 8 21:36:44 1999 Richard Henderson <rth@cygnus.com>
3684 * output.h (current_function_has_computed_jump): Rename from
3685 current_function_addresses_labels.
3686 * function.h (struct function): Likewise for addresses_labels member.
3687 * rtl.h (FUNCTION_FLAGS_HAS_COMPUTED_JUMP): Likewise.
3688 * function.c (current_function_has_computed_jump): Likewise.
3689 Update all references.
3690 * integrate.c (function_cannot_inline_p):
3691 Test current_function_has_computed_jump instead of addresses_labels.
3692 (initialize_for_inline): Likewise save.
3693 (output_inline_function): Likewise restore.
3695 * expr.c (expand_expr): Don't reference addresses_labels variables.
3696 * stmt.c (expand_computed_goto): Set has_computed_jump.
3698 1999-02-08 Michael Meissner <meissner@cygnus.com>
3700 This is being installed only to get it into the repository to help
3701 with the revert, resubmit & review process for the massive rs6000.md
3703 * rs6000.md (andsi3_internal1 splitter): Don't split if using the
3705 (anddi3_internal1): Likewise.
3706 (andsi3_internal{2,3}): Correct some insn lengths.
3707 (anddi3*): Restore missing TARGET_POWERPC64, and don't emit old
3710 Mon Feb 8 21:31:06 1999 Richard Henderson <rth@cygnus.com>
3712 * loop.c (reg_single_usage): New file-scope variable ...
3713 (scan_loop): ... moved out of here. Always initialize.
3714 Test loop_has_call instead of reg_single_usage not zero.
3715 Free reg_single_usage after strength reduction.
3716 (count_loop_regs_set): Assume single_usage non-zero.
3717 (combine_givs_used_by_other): Test reg_single_usage.
3718 (load_mems_and_recount_loop_regs_set): Remove reg_single_usage
3719 as a parameter. Assume non-zero.
3721 1999-02-08 23:25 -0500 Zack Weinberg <zack@midnite.ec.rhno.columbia.edu>
3723 * cpplib.c (special_symbol): Rewrite. Don't copy things
3724 multiple times. Handle __STDC__ specially. T_CONST
3725 indicates a constant /string/. Don't handle T_*_TYPE and
3726 T_SPEC_DEFINED. Use cpp_buf_line_and_col instead of
3727 adjust_position. Determine the file buffer only if needed.
3728 (initialize_builtins): Handle __SIZE_TYPE__,
3729 __PTRDIFF_TYPE__, __WCHAR_TYPE__, __USER_LABEL_PREFIX__, and
3730 __REGISTER_PREFIX__ with T_CONST special hashtab entries.
3731 Don't provide __OBJC__; the driver does that. Provide
3732 __STDC_VERSION__, using T_CONST. Use T_STDC for
3733 __STDC__. Give install the length of all symbols defined.
3734 (eval_if_expression): Drop code to insert and remove the
3735 "defined" special symbol.
3737 * cpplib.h: Remove SELF_DIR_DUMMY (no longer used). Remove
3738 T_*_TYPE and T_SPEC_DEFINED from enum node_type; add T_STDC.
3740 * cpphash.c (install): Drop the `ivalue' parameter. Constify
3741 the `value' parameter. All callers changed.
3742 * cpphash.h (install): Change prototype to match.
3743 (union hashval): Remove `ival' member.
3744 * cppexp.c (cpp_lex): Handle `defined' here.
3746 Mon Feb 8 17:29:42 1999 Jeffrey A Law (law@cygnus.com)
3748 * pa.h (EXTRA_CONSTRAINT): Fix comment.
3750 Mon Feb 8 18:57:45 1999 Vladimir N. Makarov <vmakarov@cygnus.com>
3752 * c-typeck.c (check_init_type_bitfields): Use nonincremental
3753 initialization of unions whose first member is a bitfield.
3754 Remove unnecessary code for checking the declaration mode
3755 after DECL_C_BIT_FIELD.
3757 * varasm.c (output_constructor): Additional comment about the
3758 constructor of bitfield union initialization.
3760 Tue Feb 9 11:55:04 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
3762 * config/c4x/c4x.md (*movhi_stik): New pattern.
3763 (movhi): Allow some immediate constants to be directly
3766 Tue Feb 9 11:34:15 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
3768 * config/c4x/c4x.md (all call patterns): Add constraints "Ur".
3769 (call, call_value): Force address into a register if not valid
3770 for a call instruction.
3771 (load_immed_address): Emit a USE of the SYMBOL_REF that is
3773 * config/c4x/c4x.c (c4x_print_operand): Fix 'C' and 'U' modifiers.
3775 Tue Feb 9 11:08:41 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
3777 * config/c4x/c4x.c (call_address_operand, symbolic_address_operand):
3778 Rename from call_operand and symbolic_operand respectively. All
3780 * config/c4x/c4x.md (call_address_operand, symbolic_address_operand):
3782 * config/c4x/c4x.h (call_address_operand, symbolic_address_operand):
3784 (PREDICATE_CODES): Allow CONST, LABEL_REF for call_address_operand.
3786 Tue Feb 9 10:52:27 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
3788 * config/c4x/c4x.c (c4x_legitimize_address): Don't generate a
3789 LO_SUM address for HImode or HFmode but instead force address into
3790 a register so that it is offsettable.
3791 (c4x_emit_move_sequence): Handle LO_SUM immediate address.
3793 Tue Feb 9 10:46:42 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
3795 * config/c4x/c4x.c (c4x_address_cost): Return cost of 1 for
3796 REG+REG addressing if strength reduction enabled.
3798 Tue Feb 9 10:10:31 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
3800 * config/c4x/t-c4x (LIBGCC2_CFLAGS): Delete.
3801 (TARGET_LIBGCC2_CFLAGS): Define.
3803 1999-02-08 Nick Clifton <nickc@cygnus.com>
3805 * config/v850/v850.md: Replace \\n\\t with \\;
3807 * config/v850/v850.md: Enforce TARGET_LONG_CALLS option.
3808 * config/v850/v850.c (construct_restore_jr, construct_save_jarl):
3809 Enforce TARGET_LONG_CALLS option.
3811 Mon Feb 8 11:43:07 1999 Donn Terry <donn@interix.com>
3813 * real.c (PUT_REAL) [XFmode]: Zero the balance of the structure.
3815 Mon Feb 8 11:37:24 1999 Marc Espie (espie@cvs.openbsd.org)
3817 * m88k/t-luna-gas: Remove bash dependency.
3819 Mon Feb 8 11:34:44 1999 Graham <grahams@rcp.co.uk>
3821 * collect2.c (xrealloc): Fix typo in last change.
3823 Mon Feb 8 09:13:38 PST 1999 Jeff Law (law@cygnus.com)
3825 * version.c: Bump for snapshot.
3827 Sun Feb 7 22:18:42 1999 Robert Lipe <robertlipe@usa.net>
3829 * tree.h (TYPE_CHECK): Make it clear to the preprocessor
3830 that we do not want macro replacement within a character constant.
3831 (TYPE_CHECK1): Likewise.
3833 Sun Feb 7 15:37:10 1999 Jason Merrill <jason@yorick.cygnus.com>
3835 * tree.h (DECL_P): New macro.
3837 Sun Feb 7 01:15:04 PST 1999 Jeff Law (law@cygnus.com)
3839 * version.c: Bump for snapshot.
3841 Sat Feb 6 18:14:46 1999 Jeffrey A Law (law@cygnus.com)
3843 * mn10300.md (reload_insi): Do not earlyclobber the output operand.
3845 * README.g77, gcc.c, gcc.texi: Update email addresses.
3846 * invoke.texi system.h: Likewise.
3848 Sat Feb 6 11:04:08 1999 Jim Wilson <wilson@cygnus.com>
3850 * unroll.c (find_splittable_givs): After express_from, call replace_rtx
3851 to convert dest_reg to new_reg.
3853 Sat Feb 6 10:31:35 1999 Jeffrey A Law (law@cygnus.com)
3855 * reload1.c (reload_combine_note_store): Be more careful with
3856 STRICT_LOW_PART, ZERO_EXTRACT and SIGN_EXTRACT.
3857 (move2add_note_store): Likewise.
3859 Sat Feb 6 10:18:01 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3861 * cppfiles.c (read_and_prescan): Cast the result of `xrealloc' to
3862 U_CHAR* when assigning to one. Ensure the values of a ?: operator
3865 * cppinit.c (initialize_char_syntax): Use K&R function definition.
3867 Sat Feb 6 11:17:03 1999 Richard Earnshaw <rearnsha@arm.com>
3870 * config/arm/arm.c (all_procs): Add arm9 and arm9tdmi.
3871 * config/arm/arm.h ((TARGET_CPU_arm9, TARGET_CPUD_arm9tdmi): Define.
3872 (TARGET_CPU_DEFAULT): Rework to support ARM9.
3873 (CPP_CPU_ARCH_SPEC): Likewise.
3874 (enum processor_type): Likewise.
3875 * config/arm/arm.md (attr cpu): Add arm9.
3877 General scheduling changes
3878 * config/arm/arm.c (MAX_INSNS_SKIPPED): Delete.
3879 (max_insns_skipped): New variable.
3880 (arm_override_options): If generating hard floating point code for
3881 the FPA, emit code for version 3.
3882 When optimizing for space, don't synthesize constants.
3883 Reword several flags based on the requested processor and optimization
3885 (use_return_insn): New argument iscond, all callers changed. Don't
3886 use a return insn if it will be conditional and that would be
3887 expensive; eg on StrongARM.
3888 (arm_adjust_cost): Anti- and output- dependencies normally have no
3890 (load_multiple_sequence): Newer ARMs don't benefit from ldm if
3891 the sequence is short.
3892 (final_prescan_insn): Use max_insns_skipped instead of
3893 MAX_INSNS_SKIPPED. Note whether we will make a return instruction
3894 conditional, and aviod this if it would be expensive.
3895 * config/arm/arm.md (scheduling attributes and function units):
3896 Rewrite to better describe ARM8, 9 and StrongARM.
3898 * config/arm/arm.md (*movhi_insn_littleend): Make op0 predicate
3900 (*ifcompare_plus_move): Use arm_rhs_operand in place of
3901 arm_rhsm_operand. Rework constraints.
3902 (*if_plus_move): Likewise.
3903 (*ifcompare_move_plus): Likewise.
3904 (*if_move_plus): Likewise.
3905 (*ifcompre_arith_move): Likewise.
3906 (*if_arith_move): Likewise.
3907 (*ifcompare_move_arith): Likewise.
3908 (*if_move_arith): Likewise.
3910 * config/arm/xm-netbsd.h: Don't include arm/xm-arm.h.
3912 1999-02-05 Michael Meissner <meissner@cygnus.com>
3914 * loop.c (check_dbra_loop): A store using an address giv for which
3915 we have no life information is not reversible.
3917 Fri Feb 5 17:08:01 1999 Dave Brolley <brolley@cygnus.com>
3919 * function.c (fixup_var_refs): Scan catch_clauses too.
3921 Fri Feb 5 11:49:49 1999 Benjamin Kosnik <bkoz@loony.cygnus.com>
3923 * c-common.c (decl_attributes): Fix reserved space for init_priority.
3924 * tree.h (MAX_RESERVED_INIT_PRIORITY): New macro.
3926 Fri Feb 5 12:37:05 1999 Jeffrey A Law (law@cygnus.com)
3928 * loop.c (strength_reduce): Clear not_every_iteration when
3929 passing the NOTE_INSN_LOOP_CONT note.
3931 * haifa-sched.c (add_dependence): Do not add a dependency on a
3934 Fri Feb 5 10:55:43 1999 Nick Clifton <nickc@cygnus.com>
3936 * recog.c (split_block_insns): Only call update_flow_info if
3937 instruction scheduling is enabled.
3939 1999-02-05 11:22 -0500 Zack Weinberg <zack@rabi.columbia.edu>
3941 * Makefile.in (gen-protos): Use libcpp.a like everyone else.
3943 Fri Feb 5 07:09:29 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
3945 * loop.c (first_loop_store_insn): New file-scope variable.
3946 (prescan_loop): Set it.
3947 (check_dbra_loop): Check if a store depends on a register
3948 that is set after the store.
3950 Fri Feb 5 06:55:15 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
3952 * unroll.c (entire file): Remove tabs / spaces at end of lines.
3953 Replace spaces with tabs where appropriate.
3955 Thu Feb 4 15:12:41 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
3957 * loop.c (scan_loop): New argument loop_cont. Changed caller.
3958 (strength_reduce): New argument loop_cont. Changed caller.
3959 Before clearing not_every_iteration after a label, check if
3960 we are not already past LOOP_CONT.
3962 1999-02-04 16:04 -0500 Zack Weinberg <zack@rabi.columbia.edu>
3964 * cpperror.c (cpp_print_containing_files): Fix formatting
3965 bug induced by merge.
3967 1999-02-04 14:33 -0500 Zack Weinberg <zack@rabi.phys.columbia.edu>
3969 * cpplib.c (initialize_char_syntax): Move to cppinit.c.
3970 (cpp_define): Remove redundant syntax checks.
3971 (make_assertion): Rename cpp_assert, remove redundant syntax
3973 (cpp_options_init): Don't init things to zero twice.
3974 (cpp_expand_to_buffer): Use memcpy, not a char-by-char loop.
3975 (do_include): Kill excessively verbose #import warning that
3976 snuck back in in the gcc2 merge.
3977 (convert_string): Removed.
3978 (do_line): Rewrite with simple last-name-used cache instead of
3980 (cpp_start_read): Call initialize_char_syntax here, not...
3981 (cpp_reader_init): ...here.
3982 (cpp_handle_options): Support the -std switch.
3983 * cpplib.h (cpp_buffer): Add last_nominal_fname member.
3984 (cpp_options): Add c9x flag.
3985 Declare all the is_* tables and trigraph table here, as const.
3986 Prototype cpp_assert and initialize_char_syntax.
3987 * cppinit.c: New file.
3988 * cppfiles.c (read_and_prescan): Optimize.
3989 * Makefile.in (LIBCPP_OBJS): Add cppinit.o.
3991 Thu Feb 4 10:46:30 1999 Gavin Romig-Koch <gavin@cygnus.com>
3993 * config/mips/mips.md ([u]divmodsi4,[u]divmoddi4,[u]divsi3,[u]divdi3,
3994 [u]modsi3,[u]moddi3) : Don't copy the "zero" argument to a register
3995 before calling gen_div_trap.
3997 Wed Feb 3 21:56:27 1999 Jeffrey A Law (law@cygnus.com)
3999 * configure.in (hppa1.1-*-*, hppa2*-*): Use symbolic value rather
4000 than numeric value for target_cpu_default..
4001 * configure: Rebuilt.
4003 Wed Feb 3 21:55:56 1999 Marc Espie <Marc.Espie@liafa.jussieu.fr>
4005 * Makefile.in (xgcc$(exeext)): Remove choose-temp, pexecute and
4006 mkstemp. Get them from libiberty.
4007 (COLLECT2_OBJS): Similarly for choose-temp, cplus-dem and mkstemp.
4008 (PROTO_OBJS): Similarly for choose-temp, getopt, getopt1 and pexecute.
4009 (cplus-dem.o, pexecute.o, choose-temp.o): Remove build rules.
4010 (mkstemp.o, getopt1.o, getopt.o): Likewise.
4012 * pa-gas.h (TARGET_DEFAULT): Use symbolic values rather than numeric
4014 * pa-hpux.h (LINK_SPEC): Likewise.
4015 * pa-hpux10.h (LINK_SPEC): Likewise.
4016 * pa-hpux9.h (LINK_SPEC): Likewise.
4017 * pa-osf.h (LINK_SPEC): Likewise.
4018 * pa-pro.h (TARGET_DEFAULT): Likewise.
4019 * pa1.h (TARGET_DEFAULT): Likewise.
4020 * pa.h (MASK_*): New defines.
4021 (TARGET_*): Use symbolic values rather than numeric values.
4022 (TARGET_SWITCHES): Likewise.
4023 (TARGET_DEFAULT): Likewise.
4024 (CPP_SPEC): Likewise.
4026 Wed Feb 3 21:07:38 1999 Bernd Schmidt <crux@pool.informatik.rwth-aachen.de>
4028 * reload1.c (reload_cse_regs_1): Undo Jan 16 patch.
4029 * reload.c (find_reusable_reload): New function, broken out of
4030 push_reload. Add code to verify that none of the involved
4031 outputs are subject to earlyclobbers.
4032 (push_reload): Break out new function find_reusable_reload.
4033 Delete "register" keyword for IN, OUT args.
4035 Wed Feb 3 15:51:04 1999 Gavin Romig-Koch <gavin@cygnus.com>
4037 * config/mips/mips.c (true_reg_or_0_operand) : New function.
4038 * config/mips/mips.h (PREDICATE_CODES): Add true_reg_or_0_operand.
4039 * config/mips/mips.md (div_trap,div_trap_normal,div_trap_mips16):
4040 Use true_reg_or_0_operand for div_trap.
4042 Wed Feb 3 20:44:59 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
4044 * loop.h (express_from): Declare.
4045 (struct induction): Replace derived flag with derived_from pointer.
4046 * loop.c (strength_reduce, record_giv, recombine_givs): Likewise.
4047 (express_from): No longer static.
4048 * unroll.c (find_splittable_givs): Replace derived with derived_from.
4049 When processing an address giv with which another giv has been
4050 combined that has also been derived from a third giv, handle like
4051 having combined with the third giv.
4052 Set splittable_regs_updates appropriately for derived givs.
4054 Wed Feb 3 15:26:58 1999 Gavin Romig-Koch <gavin@cygnus.com>
4056 * config/mips/mips.md (div_trap_mips16): Remove nop's after branches.
4058 Wed Feb 3 11:56:23 1999 Jeffrey A Law (law@cygnus.com)
4060 * pa.c (insn_sets_and_refs_are_delayed): New function.
4061 * pa.h (INSN_SETS_ARE_DELAYED): Use it.
4062 (INSN_REFERENCES_ARE_DELAYED): Likewise.
4064 Wed Feb 3 06:24:49 1999 Richard Earnshaw (rearnsha@arm.com)
4066 * config/arm/t-arm-elf (LIBGCC2_CFLAGS): Delete.
4067 * config/arm/t-linux (LIBGCC2_CFLAGS): Delete.
4068 (TARGET_LIBGCC2_CFLAGS): Define.
4069 (LIBGCC2_DEBUG_CFLAGS): Define.
4070 * config/arm/t-netbsd: Likewise.
4071 * config/arm/t-semi: Likewise.
4072 * config/arm/t-semiaof: Likewise.
4073 * config/arm/t-riscix: Likewise.
4075 Wed Feb 3 10:59:07 1999 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
4077 * config/m68k/m68k.c (print_operand_address): When printing a
4078 SYMBOL_REF that ends in `.<letter>' put parentheses around it.
4080 Tue Feb 2 23:38:35 1999 David O'Brien <obrien@FreeBSD.org>
4082 * i386/freebsd*.h now allows '$' in label names and does not use the
4083 PCC struct return method.
4085 Tue Feb 2 22:38:23 1999 Jim Wilson <wilson@cygnus.com>
4087 * Makefile.in: Change all uses of AR to AR_FOR_TARGET. Change all uses
4088 of HOST_AR to AR. Likewise for AR_FLAGS, RANLIB, and RANLIB_TEST.
4089 (RANLIB_TEST): Test to see if ranlib exists. Only test absolute file
4090 names if host == target.
4091 (HOST_AR, HOST_AR_FLAGS, HOST_RANLIB, HOST_RANLIB_TEST): Delete.
4092 (AR_FLAGS_FOR_TARGET): Renamed from AR_FOR_TARGET_FLAGS.
4093 (AR, AR_FLAGS, OLDAR, OLDAR_FLAGS, RANLIB, RANLIB_TEST): Delete rules
4094 setting them to *_FOR_TARGET.
4095 * cross-make (AR, AR_FLAGS, OLDAR, OLDAR_FLAGS, RANLIB, RANLIB_TEST):
4098 Tue Feb 2 22:38:19 1999 Theodore Papadopoulo <Theodore.Papadopoulo@sophia.inria.fr>
4100 * toplev.h (read_integral_parameter): Declare.
4101 * toplev.c (read_integral_parameter): New function.
4103 Fri Jan 29 21:00:56 1999 Bob Manson <manson@charmed.cygnus.com>
4105 * resource.c, resource.h: New files.
4106 * Makefile.in (OBJS): Add it.
4108 * haifa-sched.c (regno_use_in): Moved to rtlanal.c.
4109 (split_block_insns): Moved to recog.c.
4110 (update_flow_info): Make public.
4111 * rtl.h: Declare them.
4113 * reorg.c: Moved the functions dealing with computing resource
4114 usage to resource.c.
4116 * sched.c (regno_use_in): Moved to rtlanal.c.
4117 (update_flow_info): Make public.
4118 (schedule_insns): Use split_block_insns.
4120 * recog.c (split_block_insns): New function.
4122 Tue Feb 2 22:03:26 1999 David Edelsohn <edelsohn@gnu.org>
4124 * rs6000/linux.h (LINK_START_DEFAULT_SPEC): Delete, unused.
4125 (LINK_OS_DEFAULT_SPEC): Delete, unused.
4127 Tue Feb 2 20:29:34 1999 Catherine Moore <clm@cygnus.com>
4129 * configure.in (arm-*-oabi): Support.
4130 * configure: Regenerate.
4131 * config/arm/unknown-elf-oabi.h: New file.
4133 Tue Feb 2 19:43:59 1999 Jeffrey A Law (law@cygnus.com)
4135 * i386.md (ashlsi3): Turn into a define_expand an anonymous pattern.
4136 Make the anonymous pattern match when ! optimize_size.
4137 (ashlsi3 size optimizer): New pattern.
4139 * intl/Makefile.in (uninstall): Add missing "; \".
4141 Tue Feb 2 18:21:23 1999 Stan Cox <scox@cygnus.com>
4143 * sparc.h (TARGET_CPU_sparc86x): Added. TARGET_CPU_sparclite86x
4146 Tue Feb 2 20:24:11 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
4148 * loop.c (loop_optimize): Fix value max_uid_for_loop is reset
4149 to after find_and_verify_loops call.
4151 Tue Feb 2 19:48:29 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
4153 * (recombine_givs): Don't use a giv that's likely to be dead to
4156 * loop.c (recombine_givs): Fix test for lifetime overlaps / loop
4157 wrap around when deriving givs.
4159 Mon Feb 1 20:00:40 1999 Richard Henderson <rth@cygnus.com>
4161 * recog.c (check_asm_operands): Treat indeterminate operand ok
4162 results as success. Try harder to resolve a matching constraint.
4163 * stmt.c (expand_asm_operands): Recognize when an output operand's
4164 constraint does not allow memory. Treat indeterminate operand ok
4165 results as failure. Try harder to resolve a matching constraint.
4167 Mon Feb 1 15:00:02 1999 Ken Raeburn <raeburn@cygnus.com>
4169 Use varrays for constant-equivalence data:
4171 * varray.h (struct const_equiv_data): New type.
4172 (union varray_data_tag): New element const_equiv.
4173 (VARRAY_CONST_EQUIV_INIT, VARRAY_CONST_EQUIV): New macros.
4174 (VARRAY_SIZE): New macro, returns number of elements.
4175 * integrate.h: Include varray.h.
4176 (struct inline_remap): Replace const_equiv_map, const_age_map and
4177 const_equiv_map_size with a const_equiv_varray element.
4178 (MAYBE_EXTEND_CONST_EQUIV_VARRAY): New macro; grows varray if
4180 (SET_CONST_EQUIV_DATA): New macro; sets rtx and age fields
4181 simultaneously, growing the varray if needed.
4183 * integrate.c (global_const_equiv_map,
4184 global_const_equiv_map_size): Deleted, replaced by....
4185 (global_const_equiv_varray): New variable.
4186 (expand_inline_function): References changed.
4187 * integrate.h: Update declarations.
4189 * integrate.c (process_reg_parm, expand_inline_function,
4190 copy_rtx_and_substitute, try_constants, subst_constants,
4191 mark_stores): Use varray allocation and accessor macros, new
4192 integrate.h macros, and global_const_equiv_varray. Don't
4193 conditionalize non-NULL stores on array size; instead, expand the
4195 * unroll.c (unroll_loop): Likewise.
4197 * unroll.c (unroll_loop): Initialize const_equiv_varray element to
4198 zero. After allocating varray, always exit through bottom of
4199 function, where it can be deallocated if needed. Don't explicitly
4200 reallocate const_equiv_map storage; instead, just ensure the
4201 varray has been initialized, and update the global reference.
4203 Mon Feb 1 09:40:25 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4205 * system.h (inline, const): Handle these for stage2 (and later) gcc.
4207 * dwarf2out.c (inline): Don't define.
4209 * dwarfout.c (inline): Likewise.
4211 Sun Jan 31 22:04:37 1999 Richard Henderson <rth@cygnus.com>
4213 * loop.c (recombine_givs): Dump recombination and derivation data.
4215 Sun Jan 31 20:34:29 1999 Zack Weinberg <zack@rabi.columbia.edu>
4217 * flags.h: Declare flag_no_ident.
4218 * toplev.c: Define flag_no_ident. Process -f(no-)ident here.
4219 * c-tree.h: Don't declare flag_no_ident.
4220 * c-decl.c: Don't define flag_no_ident. Don't process
4221 -f(no-)ident switches here.
4223 * config/elfos.h (ASM_FILE_END): Output final .ident directive
4224 only if !flag_no_ident.
4225 * config/ptx4.h: Likewise.
4226 * config/svr4.h: Likewise.
4227 * config/alpha/elf.h: Likewise.
4228 * config/arm/linux-elf.h: Likewise.
4229 * config/i386/sco5.h: Likewise.
4230 * config/i860/fx2800.h: Likewise.
4231 * config/mips/gnu.h: Likewise.
4232 * config/i386/osfrose.h: Likewise.
4234 * gcc.c (C specs): Map -Qn to -fno-ident.
4235 * objc/lang-specs.h: Likewise.
4237 Mon Feb 1 10:52:07 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
4239 * configure.in: Don't remove loop.o and unroll.o when
4240 enable-haifa is selected.
4241 * configure: Rebuilt.
4243 Sun Jan 31 13:22:02 1999 John Wehle (john@feith.com)
4245 * i386.md (movsicc, movhicc, movsfcc, movdfcc,
4246 movxfcc, movdicc): Delete unconstrained alternatives.
4247 * i386.c (output_fp_conditional_move,
4248 output_int_conditional_move): Delete unused case.
4250 Sun Jan 31 01:15:04 PST 1999 Jeff Law (law@cygnus.com)
4252 * version.c: Bump for snapshot.
4254 Sun Jan 31 00:52:37 1999 Richard Henderson <rth@cygnus.com>
4256 * alpha.md (mov patterns): Emit the assembler aliases mov and fmov
4257 instead of bis and cpys. Combine alternatives where possible.
4259 Sat Jan 30 23:14:13 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4261 * gcov.c (fnotice): Add missing FILE* parameter.
4262 (function_summary): Fix format specifiers in calls to `fnotice'.
4263 (output_data): Likewise.
4265 * toplev.c (fnotice): Constify char* parameter.
4267 * toplev.h (fnotice): Add prototype.
4268 Wrap prototype with BUFSIZ to protect FILE* usage.
4270 Sun Jan 31 15:33:09 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
4272 * config/c4x/c4x.h (RTX_COSTS): Explicitly define c4x costs.
4274 Sat Jan 30 08:27:23 1999 Jeffrey A Law (law@cygnus.com)
4276 * combine.c (distribute_notes): Handle REG_EH_REGION notes.
4278 * alias.c (fixed_scalar_and_varying_struct_p): Add "static" to
4279 function definition.
4280 (aliases_everything_p, write_dependence_p):Likewise.
4282 * install.texi: Fix merge lossages.
4284 * cccp.c (main): Only call setlocale (LC_MESSAGES, ...) if LC_MESSAGES
4286 * collect2.c (main): Likewise.
4287 * cppmain.c (main): Likewise.
4288 * gcc.c (main): Likewise.
4289 * gcov.c (main): Likewise.
4290 * protoize.c (main): Likewise.
4291 * toplev.c (main): Likewise.
4293 * pa.md (parallel shift and shiftadd): Mark output of shift as an
4296 * loop.c: Disable recent loop changes. Temporary as Joern
4297 continues to fix problems.
4299 Sat Jan 30 03:24:37 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
4301 * loop.c (strength_reduce): Size reg_map according to reg_iv_type.
4303 Fri Jan 29 18:26:07 1999 Dave Brolley <brolley@cygnus.com>
4305 * emit-rtl.c (remove_insn): New function.
4306 * rtl.h (remove_insn): Add prototype.
4307 * function.c (reposition_prologue_and_epilogue_notes): Call remove_insn.
4309 Fri Jan 29 22:34:41 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
4311 * loop.c (recombine_givs): Don't try to derive givs that have combined.
4313 Fri Jan 29 15:00:39 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4315 * toplev.c (notice, fnotice): Check ANSI_PROTOTYPES, not __STDC__,
4316 when declaring arguments and calling va_arg() to initialize them.
4318 * collect2.c (notice): Likewise.
4320 * loop.c (find_life_end): Use PROTO() macro in the prototype.
4322 Fri Jan 29 14:36:11 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4324 * collect2.c (error): Fix typo in declaration.
4326 * cpperror.c (cpp_message): Likewise.
4328 * cpplib.c (cpp_warning): Likewise.
4330 * cpplib.h (cpp_notice): Use PVPROTO not VPROTO, also add
4333 * toplev.c (error): Fix typo in declaration.
4335 Fri Jan 29 15:44:13 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
4337 * loop.c (strength_reduce): Fix HAVE_cc0 handling when scanning
4338 forward from cont dominator.
4340 Fri Jan 29 07:10:27 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4342 * cccp.c (eprint_string): Constify a char*.
4343 (notice): Likewise. Use PVPROTO not VPROTO, add ATTRIBUTE_PRINTF_1.
4344 (vnotice): Constify a char*.
4345 (error): Likewise. Use PVPROTO not VPROTO, add ATTRIBUTE_PRINTF_1.
4346 (verror): Constify a char*.
4347 (warning): Likewise. Use PVPROTO not VPROTO, add ATTRIBUTE_PRINTF_1.
4348 (vwarning): Constify a char*.
4349 (error_with_line): Likewise. Use PVPROTO not VPROTO, add
4351 (verror_with_line): Constify a char*.
4352 (vwarning_with_line): Likewise.
4353 (warning_with_line): Likewise. Use PVPROTO not VPROTO, add
4355 (pedwarn): Constify a char*. Use PVPROTO not VPROTO, add
4357 (pedwarn_with_line): Likewise with ATTRIBUTE_PRINTF_2.
4358 (pedwarn_with_file_and_line): Likewise with ATTRIBUTE_PRINTF_4.
4359 Also correct typo in parameter name declaration.
4360 (make_assertion): Constify a char*.
4361 (quote_string_for_make): Likewise.
4362 (deps_output): Likewise.
4363 (fatal): Likewise. Use PVPROTO not VPROTO, add
4364 ATTRIBUTE_PRINTF_1. Use ATTRIBUTE_NORETURN not an explicit
4365 "__attribute__ ((noreturn))".
4366 (fancy_abort): Likewise for ATTRIBUTE_NORETURN.
4367 (pfatal_with_name): Likewise.
4368 (pipe_closed): Likewise.
4369 (memory_full): Likewise.
4371 Fri Jan 29 00:14:55 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
4373 * loop.c (strength_reduce): Grow set_in_loop / n_times_set /
4374 may_not_optimize to proper size when converting biv increments
4376 If necessary, reallocate reg_iv_type / reg_iv_info before calling
4379 Thu Jan 28 23:24:08 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
4381 * loop.c (recombine_givs): New parameter unroll_p. If set, don't
4382 generate complex adds. Changed caller.
4383 Don't generate adds that cost more than the original one.
4384 (strength_reduce): Warning fixes.
4386 Thu Jan 28 09:41:11 1999 Jeffrey A Law (law@cygnus.com)
4388 * configure.in (hppa1.0-hp-hpux10*): Use t-pa.
4389 * configure: Rebuilt.
4391 Wed Jan 27 23:39:53 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
4393 * rtl.h (insn_first_p, no_jumps_between_p): Declare.
4394 * rtlanal.c (insn_first_p, no_jumps_between_p): New function.
4395 * loop.h (varray.h): Include.
4396 (struct induction): Change combined_with to unsigned.
4397 New members derived, ix and last_use.
4398 (reg_iv_type, reg_iv_info): Now varray_type. All references changed.
4399 (REG_IV_TYPE, REG_IV_INFO): Define.
4400 (first_increment_giv, last_increment_giv): Declare.
4401 * loop.c (loop_number_loop_cont): New static variable.
4402 (loop_number_cont_dominator): Likewise.
4403 (reg_iv_type, reg_iv_info): Now varray_type.
4404 (first_increment_giv, last_increment_giv): New variables.
4405 (compute_luids, verify_dominator, find_life_end): New functions.
4406 (cmp_recombine_givs_stats, recombine_givs): Likewise.
4407 (loop_optimize): Allocate loop_number_loop_cont and
4408 loop_number_cont_dominator. Use compute_luids.
4409 (find_and_verify_loops): Initialize loop_number_loop_cont and
4410 loop_number_cont_dominator.
4411 (strength_reduce): Try to find bivs that can be expressed as givs
4412 of another biv, and to convert biv increments into givs.
4413 Call recombine_givs. Handle derived givs.
4414 (record_biv): New argument location. All callers changed.
4415 (record_giv): Initialize derived and last_use fields.
4416 (basic_induction_var): New argument location. All callers changed.
4417 (combine_givs): Don't combine a DEST_REG giv with a DEST_ADDR giv.
4418 Increment combined_with instead of setting to 1.
4419 * unroll.c (derived_regs): New static variable.
4420 (unroll_loop): Initialize it.
4421 Allocate local_regno according to max_reg_num.
4422 (copy_loop_body): Cope with derived givs.
4423 (find_splittable_givs): Check for Givs made from biv increments.
4424 Set derived_regs for givs.
4425 * Makefile.in (stmt.o, loop.o, unroll.o): Depend on loop.h .
4427 Wed Jan 27 19:31:36 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
4429 * function.c (purge_addressof_1): Handle case when a register
4430 has been used in a wider mode.
4432 1999-01-27 Bruce Korb <autogen@linuxbox.com>
4434 * fixinc/fixincl.c, fixinc/server.[ch]:
4435 Removed the last of the capitalized variable and proc names.
4437 * fixinc/server.c: Removed the process open code.
4438 * fixinc/procopen.c: New file containing the proc open code.
4439 * fixinc/inclhack.tpl: Added code to bypass a readability test
4440 when a file is not present. A problem on some systems.
4441 * fixinc/inclhack.sh, fixinc/fixincl.sh: Regenerated.
4443 Wed Jan 27 11:58:18 1999 Dave Brolley <brolley@cygnus.com>
4445 * cpplib.h (cpp_notice): Add prototype.
4447 Wed Jan 27 02:20:48 1999 Jeffrey A Law (law@cygnus.com)
4449 * Merge gcc2 snapshot 19980929.
4451 * cccp.c (PRINTF_PROTO): Remove.
4452 (PRINTF_PROTO_{1,2,3,4}: Likewise.
4454 * system.h: Add PRINTF_PROTO and PRINTF_PROTO_{1,2,3,4}.
4456 * fix-header.c (cpp_file_lin_for_message): Delete. In libcpp.
4457 (cpp_print_containing_files, v_cpp_message, cpp_message): Likewise.
4458 (cpp_fatal, cpp-Pfatal_with_name): Likewise.
4460 * gen-protos.c (hashf): Delete in cpphash.o.
4461 * gen-protos.c (hashf): Delete in cpphash.o.
4463 * expr.c: Do not merge SAVE_STACKAREA_MODE changes.
4464 * expmed.c: Likewise.
4465 * rs6000.md: Likewise.
4467 * rs6000.c, rs6000.md: Do not merge formatting changes yet.
4469 Wed Jan 27 01:13:42 1999 Richard Henderson <rth@cygnus.com>
4471 * rs6000.c (input_operand): Don't expect CONST around CONSTANT_P_RTX.
4472 * rs6000.md (movsi, movdi): Likewise.
4474 Tue Jan 26 13:31:38 1999 Jim Wilson <wilson@cygnus.com>
4476 * function.c (expand_function_end): Pass arg_pointer_save_area to
4477 validize_mem before using it. Emit code into a sequence.
4479 Tue Jan 26 13:41:38 1999 David Edelsohn <edelsohn@gnu.org>
4481 * rs6000.md (doz + set cr and or + set cr patterns): Add missing
4482 '#' to split patterns. Correct indentation of some new patterns.
4484 1999-01-26 12:11 -0500 Zack Weinberg <zack@midnite.ec.rhno.columbia.edu>
4486 * cppfiles.c (safe_read): Deleted.
4487 (read_and_prescan): New function, replaces safe_read, converts
4488 and/or warns about trigraphs, silently converts odd line
4489 terminators (\r, \n\r, \r\n). Warns about no newline at EOF.
4490 (finclude): Use read_and_prescan; turn off nonblocking mode on
4491 the input descriptor; remove file-size-examination and
4492 no-newline-at-EOF gunk which is longer necessary; be more
4493 careful about checking that we've been handed a legitimate
4494 file to read (only real files, pipes, and ttys are acceptable).
4495 * cpplib.h (cpp_options): Rename no_trigraphs flag to
4496 `trigraphs' and invert its sense.
4497 (trigraph_table): Declare.
4498 (cpp_warning_with_line): Prototype.
4499 * cpplib.c: Remove all references to trigraph_pcp. Define
4500 trigraph_table; initialize it in initialize_char_syntax. Open
4501 files in nonblocking mode. s/no_trigraphs/trigraphs/
4502 throughout, and invert sense. Put cpp_warning_with_line back
4505 Tue Jan 26 23:21:49 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
4507 * config/c4x/c4x.h (COUNTER_REGS): New register class.
4508 * config/c4x/c4x.md (*rptb_init): Change constraints.
4509 (rptb_end): Emit alternate looping instructions if
4510 RC register not allocated for loop counter.
4511 (decrement_and_branch_on_count): Allow other registers
4514 1999-01-25 14:26 -0500 Zack Weinberg <zack@rabi.columbia.edu>
4516 * cppexp.c (struct arglist): Removed.
4517 (parse_number): Use HOST_WIDE_INT for the accumulator.
4518 Allow two `l' suffixes unless C89. Clean up. Make static.
4519 (parse_charconst): New function broken out of cpp_lex.
4520 Code cleaned up drastically. Don't use a token_buffer.
4521 (token_buffer): Removed.
4522 (cpp_lex): Don't call parse_number on a constant string.
4523 Use parse_charconst.
4524 (cpp_parse_expr): Properly handle an ERROR op returned by
4527 1999-01-25 14:10 -0500 Zack Weinberg <zack@rabi.phys.columbia.edu>
4529 * cpplib.c: Don't include signal.h, sys/times.h, or
4530 sys/resource.h. Don't declare localtime.
4531 (macroexpand): Handle special symbols here.
4532 (push_macro_expansion): Chop off the trailing '@ ' if possible
4534 (cpp_get_token): Don't do either of the above two things here.
4535 Move `string' label just after case '"' so that wide strings
4536 don't crash the preprocessor.
4538 Sun Jan 24 20:13:45 1999 David Edelsohn <edelsohn@gnu.org>
4540 * rs6000.md (left shift + set cr patterns): Add missing '#' to
4542 (move register + set cr pattern): Likewise.
4543 (movdi, !TARGET_POWERPC64 splitters): Add back in Jan. 15th patch,
4544 inadvertently deleted.
4546 Sun Jan 24 08:07:59 1999 Jeffrey A Law (law@cygnus.com)
4548 * stmt.c (stmt_loop_nest_empty): New function.
4549 * tree.h (stmt_loop_nest_empty): Declare it.
4550 * rtl.def (CALL_PLACEHOLDER): New rtx code.
4552 Sun Jan 24 21:24:43 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
4554 * config/c4x/c4x.c (c4x_emit_move_sequence, c4x_encode_section_info):
4556 (c4x_check_legit_addr): Remove USE and PLUS, allow
4557 LO_SUM, and disable SYMBOL_REF, LABEL_REF, and CONST cases.
4558 (c4x_legitimize_address): Penalize SYMBOL_REF, LABEL_REF, and
4559 CONST cases. Add LO_SUM.
4560 (c4x_print_operand): Modified 'C' and 'R' cases for calls.
4561 Added 'U' case. Remove dependence on SYMBOL_REF_FLAG.
4562 (c4x_print_operand_address): Handle LO_SUM.
4563 (c4x_scan_for_ldp): Delete. Hooray!
4564 (c4x_process_after_reload): Remove call to c4x_scan_for_ldp.
4566 (c4x_immed_int_constant): Renamed from c4x_int_constant. All callers
4568 (c4x_immed_float_constant): Renamed from c4x_float_constant. All
4570 (c4x_T_constraint): Allow LO_SUM, disable SYMBOL_REF, LABEL_REF,
4572 (c4x_U_constraint, symbolic_operand): New functions.
4573 (src_operand): Allow 'I' constants in HImode. Allow LO_SUM,
4574 disable SYMBOL_REF, LABEL_REF, and CONST.
4575 (lsrc_operand, tsrc_operand): Call src_operand instead of
4577 (c4x_operand_subword): Update comments.
4579 * config/c4x/c4x.c (TARGET_LOAD_ADDRESS): New macro.
4580 (LEGITIMATE_CONSTANT_P): Allow SYMBOL_REF, LABEL_REF, CONST,
4581 plus HIGH and LO_SUM for the C40.
4582 (ENCODE_SECTION_INFO): Define macro.
4583 (symbolic_operand, c4x_U_constraint, c4x_emit_move_sequence): New
4585 (PREDICATE_CODES): Add symbolic_operand.
4587 * config/c4x/c4x.md (movqi, movgqf, movhi, movhi): Call
4588 c4x_emit_move_sequence.
4589 (floatunsqiqf2, fixuns_truncqfqi2): Rework emitted RTL
4590 to avoid symbol references.
4591 (all patterns with g constraint): Replace 'g' constraint with 'rIm'.
4592 (set_high): Renamed from set_high_use.
4593 (set_lo_sum): Renamed from set_ior_lo_use.
4594 (all call patterns): Make MEM explicit in call address operands.
4595 Modified output templates to use 'U' modifier.
4597 Sun Jan 24 01:15:05 PST 1999 Jeff Law (law@cygnus.com)
4599 * version.c: Bump for snapshot.
4601 Sat Jan 23 22:34:57 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4603 * final.c (bb_str): Qualify a char* with the keyword `const'.
4604 (add_bb_string, final_scan_insn, output_asm_insn): Likewise.
4606 * fix-header.c (read_scan_file): Likewise.
4608 * genoutput.c (output_epilogue, process_template): Likewise.
4610 * local-alloc.c (requires_inout, block_alloc): Likewise.
4612 * output.h (output_asm_insn, assemble_string): Likewise.
4614 * recog.c (recog_constraints, check_asm_operands,
4615 decode_asm_operands, extract_insn, preprocess_constraints,
4616 constrain_operands): Likewise.
4618 * recog.h (operand_alternative, recog_constraints, insn_template,
4619 insn_outfun, insn_operand_constraint, insn_name): Likewise.
4621 * regclass.c (record_reg_classes, scan_one_insn): Likewise.
4623 * regmove.c (find_matches): Likewise.
4625 * reload.c (alternative_allows_memconst): Likewise.
4627 * reload1.c (constraint_accepts_reg_p,
4628 reload_cse_simplify_operands): Likewise.
4630 * rtl.h (decode_asm_operands): Likewise.
4632 * scan.h (fn_decl): Likewise.
4634 * varasm.c (assemble_string): Likewise.
4636 Sat Jan 23 01:37:36 1999 Jeffrey A Law (law@cygnus.com)
4638 * configure.in (gcc_tooldir): Handle case where exec_prefix has
4639 not been explicitly set.
4640 * configure: Rebuilt.
4642 * fold-const.c (lshift_double): Mark 'prec' arguments as possibly
4645 * bitmap.h (bitmap_head_def): Make indx field unsigned.
4647 * configure.in (gcc_tooldir): When not making a relative gcc_tooldir,
4648 use $exec_prefix/$target_alias for gcc_tooldir.
4649 * configure: Rebuilt.
4651 Fri Jan 22 11:48:56 1999 Richard Henderson <rth@cygnus.com>
4653 * cppp.c (xrealloc): Fix typo last change.
4654 * cppalloc.c, gcc.c, genattr.c, genattrtab.c, gencodes.c: Likewise.
4655 * genconfig.c, genemit.c, genextract.c, genflags.c: Likewise.
4656 * genopinit.c, genoutput.c, genpeep.c, genrecog.c: Likewise.
4658 1999-01-22 Michael Meissner <meissner@cygnus.com>
4660 * rs6000.h (CR0_REGNO_P): New macro to test if cr0.
4661 (CR_REGNO_NOT_CR0_P): New macro to test if cr, but not cr0.
4662 (PREDICATE_CODES): Add cc_reg_not_cr0_operand.
4663 (cc_reg_not_cr0_operand): Add declaration.
4665 * rs6000.c (cc_reg_not_cr0_operand): Return true if register is a
4666 pseudo register, or a control register that is not CR0.
4668 * rs6000.md (all combiner patterns building . instructions): For
4669 all `.' instructions that do something and set cr0, add an
4670 alternative that does the operation, and then sets a different
4671 flag, in order to avoid using the costly mcrf instruction and also
4672 allow cr0 to be clobbered in asm statements. Also fix a few
4673 patterns that used the wrong register.
4675 * rs6000.h (rs6000_cpu_select): Make string, names be const char *.
4676 (rs6000_debug_name): Make const char *, not char *.
4678 * sysv4.h (rs6000_{abi,sdata}_name): Make const char *.
4680 * rs6000.c (rs6000_{debug,abi,sdata}_name): Make const char *.
4681 (rs6000_select): Use const char * in casts.
4683 Fri Jan 22 07:43:01 1999 Jeffrey A Law (law@cygnus.com)
4685 * Makefile.in (gcc_tooldir): Move before first reference.
4686 Let autoconf substitute in a value.
4687 * configure.in (gcc_tooldir): Only use a relative path to the
4688 tool directory if $exec_prefix == $prefix.
4689 * configure: Rebuilt.
4691 * Makefile.in (tooldir): Replace with gcc_tooldir.
4693 Thu Jan 21 23:21:57 1999 Jeffrey A Law (law@cygnus.com)
4695 * m68k.md (ashldi_const): Disable for !TARGET_5200. Fix indentation.
4696 (ashldi3 expander): Similarly. Update comments.
4697 (ashrdi_const, lshrdi_const): Fix indentation.
4698 (ashrdi3, lshrdi3): Fix indentation. Update comments.
4700 Thu Jan 21 21:53:36 1999 Richard Henderson <rth@cygnus.com>
4702 * emit-rtl.c (try_split): Don't try to split non-instructions.
4704 Thu Jan 21 23:47:30 EST 1999 Andrew MacLeod <amacleod@cygnus.com>
4706 * expr.c (emit_push_insn): Fix dumb typo.
4708 Thu Jan 21 20:24:02 1999 Richard Henderson <rth@cygnus.com>
4710 * rs6000.h (LEGITIMIZE_RELOAD_ADDRESS): Recognize and accept
4711 transformations that we have performed earlier.
4712 * alpha.h (LEGITIMIZE_RELOAD_ADDRESS): Likewise.
4714 * alpha.md (prologue_stack_probe_loop): Don't do our own label
4715 handling, call gen_label_rtx instead.
4717 Thu Jan 21 17:45:18 1999 Richard Henderson <rth@cygnus.com>
4719 * configure.in ({rs6000|powerpc}-ibm-aix4.[12]*): Add missing `then'.
4721 * cccp.c (xrealloc): Call malloc given a NULL old pointer.
4722 * collect2.c, cppalloc.c, gcc.c, genattr.c, genattrtab.c: Likewise.
4723 * gencodes.c, genconfig.c, genemit.c, genextract.c: Likewise.
4724 * genflags.c, genopinit.c, genoutput.c, genpeep.c: Likewise.
4725 * genrecog.c, mips-tfile.c, protoize.c: Likewise.
4727 Thu Jan 21 19:44:55 1999 Michael Meissner <meissner@cygnus.com>
4729 * configure.in ({rs6000|powerpc}-ibm-aix4.[12]*): If
4730 --with-gnu-ld, use x-aix41-gld instead of x-aix41 to suppress
4731 adding -Wl,-bbigtoc to BOOT_LDFLAGS.
4732 * configure: Regenerate.
4734 * config/rs6000/x-aix41-gld: New file, don't set BOOT_LDFLAGS.
4736 Thu Jan 21 15:48:03 1999 Dave Brolley <brolley@cygnus.com>
4738 * cppexp.c (cpp_lex): Allocate token_buffer dynamically.
4740 Thu Jan 21 14:18:04 EST 1999 Andrew MacLeod <amacleod@cygnus.com>
4742 * expr.c (MOVE_BY_PIECES_P): Define condition for deciding to use
4744 (MOVE_MAX_PIECES): Define maximum number of bytes to move at once.
4745 (USE_LOAD_POST_INCREMENT, USE_LOAD_PRE_DECREMENT): Define defaults.
4746 (USE_STORE_POST_INCREMENT, USE_STORE_PRE_DECREMENT): Define defaults.
4747 (move_by_pieces): Use new macros.
4748 (emit_block_move): Use new macros.
4749 (clear_by_pieces): Use new macros.
4750 (clear_storage): Use new macros.
4751 (emit_push_insn): Use new macros.
4752 (expand_expr): Use new macros.
4753 * config/sh/sh.h (USE_LOAD_POST_INCREMENT, USE_LOAD_PRE_DECREMENT):
4755 (USE_STORE_POST_INCREMENT, USE_STORE_PRE_DECREMENT): Define.
4756 (MOVE_BY_PIECES_P): Define based on alignment and TARGET_SMALLCODE.
4757 (MOVE_MAX_PIECES): Move 8 bytes on SH4.
4758 * tm.texi(MOVE_BY_PIECES_P, MOVE_MAX_PIECES, USE_LOAD_POST_INCREMENT,
4759 USE_LOAD_PRE_DECREMENT, USE_STORE_POST_INCREMENT,
4760 USE_STORE_PRE_DECREMENT): Describe new macros.
4762 Thu Jan 21 14:13:31 1999 Vladimir N. Makarov <vmakarov@cygnus.com>
4764 * varasm.c (output_constant_pool): Use floor_log2 instead of
4765 exact_log2 for ASM_OUTPUT_ALIGN.
4767 * stor-layout.c (layout_type): Do machine-dependent extra alignment.
4769 * emit-rtl.c (operand_subword): Handle case when a subword outside
4772 * tm.texi (ROUND_TYPE_{SIZE,ALIGN}): More accurate descriptions of
4775 Thu Jan 21 01:59:30 1999 Richard Henderson <rth@cygnus.com>
4777 * cse.c (fold_rtx): Revert 29 Dec change.
4778 (cse_insn): Revert 12 Jan change.
4779 * expr.c (expand_builtin): Don't emit CONST around CONSTANT_P_RTX.
4780 * regclass.c (reg_scan_mark_refs): Revert 29 Dec change.
4781 * rtl.def: Likewise.
4782 * rtl.h (CONSTANT_P): Likewise.
4784 * expr.c (emit_move_insn): Never try to flush CONSTANT_P_RTX
4786 * recog.c (immediate_operand): Accept CONSTANT_P_RTX.
4787 * alpha.c (input_operand): Likewise.
4788 * c4x.c (const_operand): Likewise.
4790 * explow.c (allocate_dynamic_stack_space): Use register_operand
4791 instead of arith_operand, which does not exist.
4793 * 1750a.h: Fix comment closure.
4794 * a29k.c (a29k_set_memflags): Fix typo in 19 Jan change.
4795 * arc.md (one_cmplsi2_set_cc_insn): Fix set mode mismatch.
4796 * arm.h (TARGET_SWITCHES): Fix typo.
4797 * i370.md (anon mult and div patterns): Fix set mode mismatch.
4798 * i860.c (output_delayed_branch): Fix operands to constrain_operands.
4799 (output_delay_insn): Likewise.
4800 * m88k.md (anon rotate insns): Fix set mode mismatch.
4801 (anon BLKmode moves): Commonize and fix set mode mismatches.
4802 * ns32k.md (udivmoddi[shq]i4_internal): Fix mode mismatch.
4803 * romp.md (movdf): Fix typo.
4805 Thu Jan 21 00:29:35 1999 Nathan Sidwell <nathan@acm.org>
4807 * Makefile.in (install-common): Remove extraneous chmod for gcov
4810 Wed Jan 20 18:15:08 1999 Dave Brolley <brolley@cygnus.com>
4812 * function.c (assign_parms): Save and restore setting of
4815 Wed Jan 20 12:51:42 1999 Mark Mitchell <mark@markmitchell.com>
4817 * arm.md: Use MEM_COPY_ATTRIBUTES where appropriate throughout.
4818 Pass MEM_SCALAR_P to arm_gen_store_multiple where appropriate.
4820 Tue Jan 19 21:20:52 1999 Richard Henderson <rth@cygnus.com>
4822 * recog.c (pop_operand): New function.
4823 * recog.h (pop_operand): Declare it.
4824 * genrecog.c (preds): Define it.
4826 * expr.c (do_jump_for_compare): Handle conditional branch expanders
4827 emitting multiple jump instructions.
4828 * jump.c (condjump_label): New function.
4829 * rtl.h (condjump_label): Declare it.
4831 Tue Jan 19 21:08:20 1999 Richard Henderson <rth@cygnus.com>
4833 * expr.c (emit_move_insn_1): Revert 17 Dec change. Don't emit
4834 clobber during or after reload.
4836 Tue Jan 19 16:56:03 1999 Richard Henderson <rth@cygnus.com>
4838 * genoutput.c (name_for_index): New function.
4839 (scan_operands, validate_insn_alternatives): Use it.
4840 * genrecog.c (insn_name_ptr_size): New variable.
4841 (make_insn_sequence): Fill in insn_name_ptr.
4842 (merge_trees): Use it.
4844 Tue Jan 19 16:37:36 1999 Richard Henderson <rth@cygnus.com>
4846 * i386/isc.h (TARGET_DEFAULT): Define symbolicly.
4847 * i386/isccoff.h, i386/next.h, i386/sco.h, i386/sco5.h: Likewise.
4848 * i386/scodbx.h, i386/sequent.h, i386.unix.h: Likewise.
4850 Tue Jan 19 15:00:10 1999 Jeffrey A Law (law@cygnus.com)
4852 * loop.c (NUM_STORES): Delete.
4853 (loop_store_mems): Turn into an EXPR_LIST of MEMs.
4854 (prescan_loop): Properly initialize loop_mems_idx.
4855 (note_addr_stored): Simplify using list structure instead of
4857 (invariant_p, check_dbra_loop, load_mems): Similarly.
4859 * flow.c (invalidate_from_autoinc): New function.
4860 (mark_set_1, mark_used_regs): Use it.
4862 * Makefile.in (protoize.o, unprotoize.o): Depend on Makefile.
4864 1999-01-19 Vladimir N. Makarov <vmakarov@cygnus.com>
4866 * invoke.texi (-mlong-double-64): New option description.
4868 1999-01-19 Jim Wilson <wilson@cygnus.com>
4870 * libgcc2.c: Change all uses of LONG_DOUBLE_TYPE_SIZE to
4871 LIBGCC2_LONG_DOUBLE_TYPE_SIZE.
4872 (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): New. Set to LONG_DOUBLE_TYPE_SIZE
4874 * i960/i960.h (MULTILIB_DEFAULTS): Define to mnumerics.
4875 (CPP_SPECS): Add -mlong-double-64 support.
4876 (TARGET_FLAG_LONG_DOUBLE_64, TARGET_LONG_DOUBLE_64): New.
4877 (TARGET_SWITCHES): Add -mlong-double-64 support.
4878 (LONG_DOUBLE_TYPE_SIZE): Likewise.
4879 (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Define.
4880 * i960/vx960-coff.h (MULTILIB_DEFAULTS): Define to msoft-float.
4881 (CPP_SPECS): Add -mlong-double-64 support.
4882 * i960/t-960bare (MULTILIB_OPTIONS): Add mlong-double-64.
4883 (MULTILIB_DIRNAMES): Add ld64.
4884 * i960/t-vxworks960 (MULTILIB_OPTIONS, MULTILIB_DIRNAMES): Likewise.
4886 Tue Jan 19 11:54:04 1999 Jason Merrill <jason@yorick.cygnus.com>
4888 * calls.c (expand_call): Strip a TARGET_EXPR if we're passing by
4889 invisible reference.
4891 Tue Jan 19 14:51:36 1999 David Edelsohn <edelsohn@gnu.org>
4893 * rs6000.c (offsettable_addr_operand): Delete.
4894 (offsettable_mem_operand): New function.
4895 * rs6000.h (PREDICATE_CODES): Reflect function change.
4896 (RS6000_SAVE_TOC): Represent address as MEM.
4897 * win-nt.h (RS6000_SAVE_TOC): Same.
4898 * rs6000.md (indirect calls): Change offsettable address parameter
4899 to offsettable memory parameter.
4901 Tue Jan 19 10:24:53 1999 Mark Mitchell <mark@markmitchell.com>
4903 * rtl.h (rtx_def): Update documentation.
4904 (MEM_IN_STRUCT_P): Likewise.
4905 (MEM_SCALAR_P): New macro.
4906 (MEM_COPY_ATTRIBUTES): Likewise.
4907 (MEM_SET_IN_STRUCT_P): Likewise.
4908 * rtl.texi (MEM_SCALAR_P): Document.
4909 * alias.c (canon_rtx): Use MEM_COPY_ATTRIBUTES.
4910 (fixed_scalar_and_varying_struct_p): New function. Use
4911 MEM_SCALAR_P rather than !MEM_IN_STRUCT_P.
4912 (aliases_everything_p): Likewise.
4913 (true_dependence): Use them.
4914 (write_dependence_p): New function, containing code common to
4915 anti_dependence and output_dependence.
4916 (anti_dependence): Use it.
4917 (output_dependence): Likewise.
4918 * calls.c (save_fixed_argument_area): Don't clear
4920 (expand_call): Use MEM_SET_IN_STRUCT_P.
4921 (emit_library_call): Don't clear MEM_IN_STRUCT_P.
4922 (emit_library_call_value): Likewise.
4923 (store_one_arg): Use MEM_SET_IN_STRUCT_P.
4924 * combine.c (simplify_rtx): Use MEM_COPY_ATTRIBUTES.
4925 (make_extraction): Likewise.
4926 (simplify_shift_const): Likewise.
4927 (gen_lowpart_for_combine): Likewise.
4928 * cse.c (gen_lowpart_if_possible): Use MEM_COPY_ATTRIBUTES.
4929 * emit-rtl.c (operand_subword): Likewise.
4930 (change_address): Likewise.
4931 * explow.c (stabilize): Use MEM_COPY_ATTRIBUTES.
4932 * expr.c (protect_from_queue): Use MEM_COPY_ATTRIBUTES.
4933 (emit_group_store): Use MEM_SET_IN_STRUCT_P.
4934 (copy_blkmode_from_reg): Likewise.
4935 (store_field): Likewise.
4936 (expand_expr): Remove bogus guesswork setting MEM_IN_STRUCT_P
4937 heuristically. Use MEM_SET_IN_STRUCT_P.
4938 (get_memory_rtx): Likewise.
4939 * final.c (alter_subreg): Use MEM_COPY_ATTRIBUTES.
4940 * function.c (assign_stack_temp): Clear MEM_SCALAR_P and
4941 MEM_ALIAS_SET on newly returned MEMs.
4942 (assign_temp): Use MEM_SET_IN_STRUCT_P.
4943 (put_reg_into_stack): Likewise.
4944 (fixup_var_refs1): Use MEM_COPY_ATTRIBUTES.
4945 (gen_mem_addressof): Use MEM_SET_IN_STRUCT_P.
4946 (assign_parms): Likewise.
4947 (expand_function): Likewise.
4948 * integrate.c (expand_inline_function): Likewise.
4949 (copy_rtx_and_substitute): Use MEM_COPY_ATTRIBUTES.
4950 * loop.c (note_addr_stored): Remove check on MEM_IN_STRUCT_P.
4951 * optabs.c (gen_move_insn): Use MEM_COPY_ATTRIBUTES.
4952 * print-rtl.c (print_rtx): Print /f for frame_related.
4953 * recog.c (validate_replace_rtx_1): Use MEM_COPY_ATTRIBUTES.
4954 * reload1.c (reload): Copy MEM_SCALAR_P as well.
4955 * stmt.c (expand_decl): Use MEM_SET_IN_STRUCT_P.
4956 (expand_anon_union_decl): Use MEM_COPY_ATTRIBUTES.
4957 * varasm.c (make_decl_rtl): Use MEM_SET_IN_STRUCT_P.
4958 (output_constant_def): Likewise.
4959 * a29k.c (a29k_set_memflags_1): Take scalar_p.
4961 (a29k_set_memflags): Use it.
4962 * alpha.c (get_aligned_mem): Use MEM_COPY_ATTRIBUTES.
4963 * c4x.c (c4x_scan_for_ld): Likewise.
4964 * h8300.c (fix_bit_operand): Likewise.
4965 * m88k.c (legitimize_address): Likewise.
4966 (block_move_loop): Likewise.
4967 (block_move_no_loop): Likewise.
4968 (block_move_sequence): Likewise.
4969 (m88k_builtin_saveregs): Use MEM_SET_IN_STRUCT_P.
4970 * mips/abi64.h (SETUP_INCOMING_VARARGS): Likewise.
4971 * rs6000.c (expand_block_move_insn): Use MEM_COPY_ATTRIBUTES.
4972 * sh.c (sh_builtin_saveregs): Use MEM_SET_IN_STRUCT_P.
4973 * arm.h (arm_gen_load_multiple): Take scalar_p.
4974 (arm_store_load_multiple): Likewise.
4975 * arm.c (arm_gen_load_multiple): Likewise.
4976 (arm_gen_store_multiple): Likewise.
4977 (arm_gen_movstrqi): Treat MEM_SCALAR_P like MEM_IN_STRUCT_P.
4979 Tue Jan 19 12:30:37 EST 1999 Andrew MacLeod <amacleod@cygnus.com>
4981 * optabs.c (emit_libcall_block): Add a REG_EH_REGION reg note to all
4982 calls within a libcall block to indicate no throws are possible.
4983 * flow.c (find_basic_blocks, find_basic_blocks_1): Don't look for
4984 libcall blocks. Don't add edges to exception handlers if we see
4985 a REG_EH_REGION note with a value of 0.
4986 (make_edges): Override active_eh_region vector if the call has a note
4987 indicating the call does not throw.
4989 1999-01-19 Vladimir N. Makarov <vmakarov@cygnus.com>
4991 * config/rs6000/sysv4.h (CC1_SPEC): Fix correct numbers of {}.
4993 Tue Jan 19 06:26:30 1999 Jeffrey A Law (law@cygnus.com)
4995 * Makefile.in (cccp.o, cpplib.o): Depend on Makefile.
4997 Mon Jan 18 09:56:41 1999 Jason Merrill <jason@yorick.cygnus.com>
4999 * invoke.texi (C++ Dialect Options): Document -fno-rtti.
5001 1999-01-18 Vladimir N. Makarov <vmakarov@cygnus.com>
5003 * invoke.texi (-mcpu=740, -mcpu=750): New options.
5004 (-m(no-)multiple, -m(no-)string): Describe cases for PPC740 &
5007 1999-01-18 Michael Meissner <meissner@cygnus.com>
5009 * rs6000.h ({ASM,CPP}_CPU_SPEC): Add support for all machines
5010 supported with -mcpu=xxx.
5011 (processor_type): Add PROCESSOR_PPC750.
5012 (ADJUST_PRIORITY): Call rs6000_adjust_priority.
5013 (RTX_COSTS): Supply costs for 750 multiply/divide operations.
5014 (rs6000_adjust_priority): Add declaration.
5016 * rs6000.c (rs6000_override_options): -mcpu={750,740} now sets the
5017 processor type as 750, not 603. Allow -mmultiple and -mstring on
5018 little endian 750 systems.
5019 (rs6000_adjust_priority): Stub for now.
5020 (get_issue_rate): The PowerPC 750 can issue 2 instructions/cycle.
5022 * rs6000.md (function/cpu attributes): Add initial ppc750 support.
5024 * sysv4.h (STRICT_ALIGNMENT): Don't force strict alignment if
5026 (CC1_SPEC): Pass -mstrict-align if little endian, and not
5028 (CC1_ENDIAN_{LITTLE,BIG,DEFAULT}_SPEC): Endian specific configs.
5029 (SUBTARGET_EXTRA_SPECS): Add cc1 endian specs.
5031 * {sysv4,eabi}le.h (CC1_ENDIAN_DEFAULT_SPEC): Override, default is
5034 * t-ppcgas (MULTILIB_*): Delete obsolete Solaris multilibs.
5036 Mon Jan 18 12:03:08 1999 Gavin Romig-Koch <gavin@cygnus.com>
5038 * config/mips/mips.md (div_trap): Split div_trap_mips16
5040 (div_trap_normal,div_trap_mips16): Correct the length attributes.
5042 Mon Jan 18 11:48:28 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5044 * cpplib.c (special_symbol): Qualify a char* with the `const' keyword.
5045 Instead of writing to const char *buf directly, use a non-const
5046 variable `wbuf' to allocate and write a string, then set buf = wbuf.
5048 * cppulp.c (user_label_prefix): Qualify a char* with the `const'
5051 * dyn-string.c (dyn_string_append): Likewise.
5053 * dyn-string.h (dyn_string_append): Likewise.
5055 * final.c (end_final, output_operand_lossage, asm_fprintf): Likewise.
5057 * output.h (end_final, output_operand_lossage, asm_fprintf,
5058 named_section, decode_reg_name, make_decl_rtl, user_label_prefix):
5061 * profile.c (init_branch_prob): Likewise.
5063 * toplev.c (set_target_switch, vmessage,
5064 v_message_with_file_and_line, v_message_with_decl,
5065 v_error_with_file_and_line, v_error_with_decl, v_error_for_asm,
5066 verror, vfatal, v_warning_with_file_and_line, v_warning_with_decl,
5067 v_warning_for_asm, vwarning, vpedwarn, v_pedwarn_with_decl,
5068 v_pedwarn_with_file_and_line, vsorry, v_really_sorry,
5069 open_dump_file, dump_rtl, clean_dump_file,
5070 print_version, print_single_switch, print_switch_values,
5071 dump_base_name, debug_args, lang_independent_options,
5072 user_label_prefix, documented_lang_options, target_switches,
5073 target_options, print_time, pfatal_with_name, fatal_io_error,
5074 fatal_insn, default_print_error_function, print_error_function,
5075 report_error_function, error_with_file_and_line, error_with_decl,
5076 error_for_asm, error, fatal, warning_with_file_and_line,
5077 warning_with_decl, warning_for_asm, warning, pedwarn,
5078 pedwarn_with_decl, pedwarn_with_file_and_line, sorry,
5079 really_sorry, botch, output_quoted_string, output_file_directive,
5080 open_dump_file, rest_of_decl_compilation, display_help, main):
5083 * toplev.h (print_time, fatal, fatal_io_error, pfatal_with_name,
5084 fatal_insn, warning, error, pedwarn, pedwarn_with_file_and_line,
5085 warning_with_file_and_line, error_with_file_and_line, sorry,
5086 really_sorry, default_print_error_function, report_error_function,
5087 rest_of_decl_compilation, pedwarn_with_decl, warning_with_decl,
5088 error_with_decl, error_for_asm, warning_for_asm, output_quoted_string,
5089 output_file_directive, botch): Likewise.
5091 * tree.h (make_decl_rtl): Likewise.
5093 * varasm.c (strip_reg_name, named_section, decode_reg_name,
5094 make_decl_rtl): Likewise.
5096 Mon Jan 18 11:35:49 1999 Gavin Romig-Koch <gavin@cygnus.com>
5098 * Makefile.in (TCL_LIBRARY): Use 'cd' to find the library
5099 directory logically rather than physically.
5101 Mon Jan 18 09:05:37 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5103 * loop.c (insert_bct): Hide the definition of variables
5104 `increment_direction', `compare_direction', `add_iteration' and
5107 * recog.c (mode_dependent_address_p): Mark parameter `addr' with
5108 ATTRIBUTE_UNUSED. Mark label `win' with ATTRIBUTE_UNUSED_LABEL.
5109 (mode_independent_operand): Mark label `lose' with
5110 ATTRIBUTE_UNUSED_LABEL.
5112 * regclass.c (n_occurrences): Remove prototype and definition.
5114 * reload.c (find_reloads_address_1): Mark variable `tem' with
5117 * reload1.c (reload): Cast the first two arguments of `bcopy' to PTR.
5119 * sbitmap.c (sbitmap_copy): Likewise.
5121 * scan-decls.c (scan_decls): Hide label `handle_comma'.
5123 * toplev.c (output_lang_identify): Mark prototype with
5126 * tree.c (make_node): Cast the first argument of `bzero' to PTR.
5127 (make_tree_vec): Likewise.
5130 * varasm.c (assemble_static_space): Mark variable `tem' with
5133 Mon Jan 18 04:28:36 1999 Nathan Sidwell <nathan@acm.org>
5135 * Makefile.in (GCOV_INSTALL_NAME): New macro.
5136 (install-common): Use it.
5137 (uninstall): Use it.
5138 (uninstall): Use correct names for protoize and unprotoize.
5140 Mon Jan 18 03:52:56 1999 Christian Bruel <Christian.Bruel@st.com>
5141 Jeffrey A Law (law@cygnus.com)
5143 * flow.c (last_mem_set): Delete variable. References removed.
5144 (mem_set_list): New variable.
5145 (life_analysis): Initialize and finalize alias analysis.
5146 (propagate_block); Initialize mem_set_list. Clear for CALL_INSNs.
5147 (insn_dead_p): For a store to memory, search the entire mem_set_list
5149 (mark_set_1): Kill entries on the mem_set_list for aliased writes or
5150 changes to their addresses. Add new entries to the mem_set_list for
5151 memory writes writes.
5152 (mark_used_regs): Kill entries on the mem_set_list which may be
5153 referenced by a load operation.
5155 Mon Jan 18 01:01:02 1999 Jeffrey A Law (law@cygnus.com)
5157 * alias.c (base_alias_check): Add missing return for differing
5160 Mon Jan 18 00:36:13 1999 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
5162 * mips-tdump.c (print_file_desc): Handle unknown filenames and
5163 missing local symbols.
5165 Sun Jan 17 21:04:31 1999 Richard Henderson <rth@cygnus.com>
5167 * jump.c (rtx_renumbered_equal_p): Special case CODE_LABEL.
5169 * system.h (bcopy): Implement with memmove not memcpy.
5171 Sun Jan 17 19:23:20 1999 Jeffrey A Law (law@cygnus.com)
5173 * Makefile.in (cppulp.o): Add dependencies.
5175 * i386.md (integer conditional moves): Add missing earlyclobbers.
5177 * regmove.c (optimize_reg_copy_1): Undo Aug 18 change. Update
5178 REG_N_CALLS_CROSSED and REG_LIVE_LENGH if and only if we change
5179 where a register is live.
5181 Sun Jan 17 03:20:47 1999 H.J. Lu (hjl@gnu.org)
5183 * reg-stack.c (subst_stack_regs_pat): Abort if the destination
5184 of a FP conditional move is not on the FP register stack.
5186 Sun Jan 17 01:15:04 PST 1999 Jeff Law (law@cygnus.com)
5188 * version.c: Bump for snapshot.
5190 Sat Jan 16 23:40:33 1999 Jeffrey A Law (law@cygnus.com)
5192 * reload1.c (reload_cse_regs_1): Do not call
5193 reload_cse_simplify_operands for an insn with asm operands.
5195 * cccp.c (print_help): Fix typos.
5196 * cpplib.c (print_help): Fix typos.
5197 * toplev.c (f_optiosn): Fix typos.
5198 (documented_lang_options): Fix typos.
5200 Sat Jan 16 21:48:17 1999 Marc Espie (Marc.Espie@openbsd.org)
5202 * gcc.c (do_spec_1): Fix obvious typo.
5204 Sat Jan 16 19:31:07 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5206 * c-decl.c (duplicate_decls): If `warn_traditional', warn when
5207 a non-static function declaration follows a static one.
5209 * invoke.texi (-Wtraditional): Document the extra check now done
5212 Sat Jan 16 15:13:46 1999 Jeffrey A Law (law@cygnus.com)
5214 * pa.md (shadd): Create shadd insns, even if the result of the shift is
5215 needed without the addition.
5217 Sat Jan 16 10:48:16 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
5219 * sh.md (movdf, movsf): Temporary workaround for no_new_pseudos lossage.
5221 Fri Jan 15 23:44:37 1999 Richard Henderson <rth@cygnus.com>
5223 * sparc.c (sparc_issue): Add hypersparc/sparclite86x entries.
5225 Fri Jan 15 22:30:04 1999 David Edelsohn <edelsohn@gnu.org>
5227 * rs6000.h (CONST_OK_FOR_LETTER_P): Do not assume 32-bit CONST_INT.
5228 * rs6000.c (u_short_cint_operand, add_operand, logical_operand,
5229 non_add_cint_operand, non_logical_cint_operand): Likewise.
5230 (get_issue_rate): Add CPU_PPC604E case.
5231 * rs6000.md (movdi, !TARGET_POWERPC64 splitters): Handle 64-bit hosts.
5233 Fri Jan 15 18:42:12 1999 Richard Henderson <rth@cygnus.com>
5235 * expr.c (queued_subexp_p): Make public.
5236 * expr.h (queued_subexp_p): Declare it.
5237 * recog.c (asm_operand_ok): New function.
5238 (check_asm_operands): Use it. After reload, use constrain_operands
5240 * recog.h (asm_operand_ok): Declare it.
5241 * stmt.c (expand_asm_operands): Use it to try harder to make
5242 asms initially satisfy their constraints.
5244 Fri Jan 15 17:43:59 1999 Jeffrey A. Law <law@rtl.cygnus.com>
5246 * sparc.h (LEGITIMIZE_RELOAD_ADDRESS): Do not create
5247 (mem (lo_sum (...)) for TFmode unless TARGET_V9.
5249 Sat Jan 16 12:47:15 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
5251 * config/c4x/c4x.md (not_repeat_reg): Allow ldp instruction
5252 in delay slot of RPTBD.
5254 Sat Jan 16 12:26:40 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
5256 * config/c4x/libgcc.S (___divhi3, ___modhi3): Fix long long
5257 divide and modulo sign problem.
5259 Fri Jan 15 11:02:31 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
5261 * unroll.c (loop_iterations): Return 0 if the last loop insn
5262 is not a jump insn or if the loop has multiple back edges.
5264 1999-01-15 Manfred Hollstein <manfred@s-direktnet.de>
5266 * configure.in (fixinc_defs): Do not define for m[68]8k-motorola-sysv{,3};
5267 it's working properly now. Remove comment saying "see m68k-motorola-sysv
5269 * configure: Regenerate using autoconf.
5271 * fixinc/fixincl.c (main): Do not ignore SIGCHLD.
5273 Thu Jan 14 22:38:41 1999 Jeffrey A Law (law@cygnus.com)
5275 * unroll.c (find_splittable_givs): For a DEST_ADDR giv, do not share
5276 a register with another DEST_ADDR giv if the address is not valid.
5278 * pa.c (hppa_expand_epilogue): Save and restore the static chain
5279 around the call to mcount.
5281 * h8300.h (ASM_OUTPUT_LABELREF): Use asm_fprintf, not fprintf.
5283 * stmt.c (expand_end_case): Use emit_cmp_and_jump_insns to avoid
5284 generating non-canonical rtl.
5286 1999-01-14 Vladimir N. Makarov <vmakarov@cygnus.com>
5288 * config/i960/i960.c (i960_output_move_double_zero,
5289 i960_output_move_quad_zero): New functions for moving zeros.
5290 (i960_output_move_double, i960_output_move_quad): Additional code
5291 for situation when moving unaligned register group.
5293 * config/i960/i960.h (i960_output_move_double_zero,
5294 i960_output_move_quad_zero): The function definitions.
5296 * config/i960/i960.md (movdi+1, movti+1): Usage of the functions.
5298 1999-01-13 Vladimir N. Makarov <vmakarov@cygnus.com>
5300 * config/i960/i960.c (i960_function_prologue): New code (optimal
5301 solution) for saving global registers in local registers.
5302 (form_reg_groups, reg_group_compare, split_reg_group): New
5303 functions used by the code.
5304 (reg_group): New structure definition for the new code.
5306 1999-01-13 Manfred Hollstein <manfred@s-direktnet.de>
5308 * fixinc/fixincl.c (create_file): Pass file creation mask as
5309 third parameter to "open". Use O_TRUNC flag to open instead of
5310 explicitly unlink'ing the file.
5311 (process): and forget about the "chmod" stuff.
5313 Wed Jan 13 20:12:37 1999 Richard Henderson <rth@cygnus.com>
5315 * integrate.c (expand_inline_function): Recognize (mem (addressof))
5316 and substitute. Copy the return value from there into a new pseudo.
5318 Wed Jan 13 16:47:00 1999 Catherine Moore <clm@cygnus.com>
5320 * config/arm.c (output_func_epilogue): Check TARGET_ABORT_NORETURN
5321 before generating a call to abort for volatile functions.
5322 * config/arm.h (ARM_FLAG_ABORT_NORETURN): Define.
5323 (TARGET_ABORT_NORETURN): Define.
5324 (abort-on-noreturn): New option.
5326 Thu Jan 14 13:52:42 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
5328 * config/c4x/c4x.md (in_annul_slot_3): Correctly allow unarycc
5329 and binarycc operations in 3rd annulled delay slot!
5331 Wed Jan 13 16:16:44 1999 Catherine Moore <clm@cygnus.com>
5333 * config/arm.c (output_func_epilogue): Check TARGET_ABORT_NORETURN
5334 before generating a call to abort for volatile functions.
5335 * config/arm.h (ARM_FLAG_ABORT_NORETURN): Define.
5336 (TARGET_ABORT_NORETURN): Define.
5337 (abort-on-noreturn): New option.
5339 Wed Jan 13 13:30:08 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5341 * cccp.c (xstrdup): Renamed from `savestring'. All callers changed.
5342 Remove prototype which we get from libiberty.h.
5344 * collect2.c (xstrdup): Likewise.
5346 * genextract.c (xstrdup): Likewise for `copystr'.
5347 (mybzero): Remove it and use `memset' instead.
5349 * genoutput.c (mybcopy, mybzero): Remove these. All callers changed
5350 to use `memcpy' and `memset' instead.
5352 * genrecog.c (xstrdup): Renamed from `copystr'. All callers
5353 changed. Remove prototype.
5354 (mybcopy, mybzero): Remove these and use memcpy/memset.
5356 Wed Jan 13 00:59:04 1999 Jeffrey A Law (law@cygnus.com)
5358 * mips.h (LOAD_EXTEND_OP): Correct for SImode and CCmode moves when
5359 generating code for TARGET_64BIT.
5361 Tue Jan 12 14:05:37 1999 David Edelsohn <edelsohn@gnu.org>
5363 * rs6000.c (print_operand, cases 'm' and 'M'): Do not depend on
5364 HOST_WIDE_INT word-size.
5365 (rs6000_stack_info): Remove redundant alignment of fpmem.
5367 Tue Jan 12 14:05:37 1999 Richard Henderson <rth@cygnus.com>
5369 * rs6000.c (short_cint_operand): Remove CONSTANT_P_RTX handling.
5370 (u_short_cint_operand, reg_or_cint_operand, logical_operand): Likewise.
5371 (input_operand): Adjust CONSTANT_P_RTX handling.
5372 * rs6000.h (PREDICATE_CODES): Remove CONSTANT_P_RTX references.
5373 * rs6000.md (movsi): Adjust CONSTANT_P_RTX handling.
5374 (movhi, movqi): Remove CONSTANT_P_RTX handling.
5375 (movdi): Adjust CONSTANT_P_RTX handling.
5377 1999-01-12 Manfred Hollstein <manfred@s-direktnet.de>
5379 * configure: Regenerate using autoconf.
5381 * fixinc/Makefile.in (INCLUDES): Add -I$(srcdir)/../../include.
5382 * fixinc/fixincl.c (SIGCHLD): Use SIGCLD on (very) old systems.
5383 (process): "fchmod" isn't available on all systems, use "chmod"
5385 * fixinc/server.c: Add #include <sys/types.h>.
5386 (STDIN_FILENO): Add default definition if no include file defines
5388 (STDOUT_FILENO): Likewise.
5390 Tue Jan 12 10:23:24 1999 Stan Cox <scox@cygnus.com>
5392 * mips.md (call_value_internal3c): New pattern for -mips16 -mlong-calls.
5394 1999-01-12 Manfred Hollstein <manfred@s-direktnet.de>
5396 * m68k/mot3300.h (ADD_MISSING_POSIX, ADD_MISSING_XOPEN): Define to
5397 ensure all prototypes necessary for building libio will be available.
5398 * m68k/xm-mot3300.h (ADD_MISSING_POSIX, ADD_MISSING_XOPEN): Remove
5399 definitions here as they are not host specific.
5400 * m88k/sysv3.h, m88k/xm-sysv3.h: Likewise.
5402 Tue Jan 12 02:53:46 1999 Richard Henderson <rth@cygnus.com>
5404 * cse.c (cse_insn): Never prefer (const (constant_p_rtx)).
5406 Tue Jan 12 02:36:10 PST 1999 Jeff Law (law@cygnus.com)
5408 * version.c: Bump for snapshot.
5410 Tue Jan 12 01:30:19 1999 Richard Henderson <rth@cygnus.com>
5412 * rtl.c (rtx_alloc): Use memset instead of inline loop.
5414 * recog.h (recog_op_alt): Declare extern.
5416 Tue Jan 12 00:23:31 1999 Richard Henderson <rth@cygnus.com>
5418 * function.c (purge_addressof_1): If the note accesses a mem+addressof
5419 in a wider mode than any replacement, adjust the cached replacement.
5420 Cache trivial substitutions as well.
5422 Tue Jan 12 00:06:00 1999 Richard Henderson <rth@cygnus.com>
5424 * Makefile.in (OBJECTS): Add sbitmap.o.
5425 (BASIC_BLOCK_H): Add sbitmap.h.
5426 * basic-block.h: Move simple bitmap code to sbitmap.h.
5427 * flow.c: Move simple bitmap code to sbitmap.c.
5428 * sbitmap.h, sbitmap.c: New files.
5430 Mon Jan 11 23:51:50 1999 Richard Henderson <rth@cygnus.com>
5432 * alpha.h (TARGET_SWITCHES): Document switches.
5433 (TARGET_OPTIONS): Likewise.
5435 * alpha/elf.h (ASM_FINISH_DECLARE_OBJECT): Use HOST_WIDE_INT_PRINT_DEC.
5437 Mon Jan 11 22:54:14 1999 Richard Henderson <rth@cygnus.com>
5439 * tree.c (new_alias_set): Return zero if !flag_strict_aliasing.
5441 Mon Jan 11 22:36:01 1999 Richard Henderson <rth@cygnus.com>
5443 * basic-block.h (basic_block_head): Rename to x_basic_block_head.
5444 (basic_block_end): Rename to x_basic_block_end.
5445 (BLOCK_HEAD, BLOCK_END): Update.
5447 * caller-save.c: Change basic_block_head/end references to
5449 * combine.c, flow.c, function.c, gcse.c, global.c: Likewise.
5450 * graph.c, haifa-sched.c, local-alloc.c, regclass.c: Likewise.
5451 * regmove.c, reload1.c, reorg.c, sched.c: Likewise.
5453 Sat Jan 9 23:54:09 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5455 * gcc.c (xstrerror): Renamed from my_strerror. All callers
5456 changed. Remove prototype since we get that from libiberty.h.
5458 * protoize.c (xstrerror): Likewise.
5460 Sat Jan 9 23:22:04 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5462 * gcc.c (read_specs): Ensure format specifiers match their arguments.
5464 Sat Jan 9 20:04:24 1999 Richard Henderson <rth@cygnus.com>
5466 * tree.c (copy_node): Oops. That would be copy not zero
5467 in that last change.
5469 Sun Jan 10 15:35:41 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
5471 * config/c4x/c4x.c: Include system.h.
5472 (c4x_caller_save_map): Disable caller save for RC.
5473 (c4x_optimization_options): Disable scheduling before reload.
5474 (valid_parallel_load_store) : Define return type as int.
5475 Remove unused variable regs.
5476 * config/c4x/c4x.h (REGISTER_MOVE_COST): Make independent of register
5478 * config/c4x/c4x.md (rotlqi3, rotrqi3): Fix up emitted RTL to
5480 (*db, decrement_and_branch_until_zero): Fix up constraints
5481 to keep reload happy.
5483 Sat Jan 9 18:35:29 1999 Richard Henderson <rth@cygnus.com>
5485 * tree.c (make_node): Call bzero instead of inline clear.
5486 (copy_node, make_tree_vec, build1): Likewise.
5487 (get_identifier): Call strlen instead of inline count.
5488 (maybe_get_identifier): Likewise.
5490 Sun Jan 10 14:04:51 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
5492 * config/c4x/c4x.md (in_annul_slot_3): Allow unarycc and binarycc
5493 operations in 3rd annulled delay slot.
5494 (*lshrqi3_const_set): Disallow c constraint for operand0.
5495 (modhi3+1, modhi3+2): Set attribute type to multi.
5496 * config/c4x/c4x.c (c4x_S_constraint): Removed space in middle of
5499 Sat Jan 9 11:44:55 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5501 * gansidecl.h: Allow attribute unused on labels only when we are
5502 version 2.93 or higher. Not all versions of 2.92 have this feature.
5504 * version.c: Bump minor number to 93.
5506 Fri Jan 8 10:51:13 1999 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
5508 * config/m68k/m68k.h: Declare output_function_epilogue.
5509 * recog.h: Declare next_insn_tests_no_inequality.
5511 Fri Jan 8 01:43:53 1999 Jeffrey A Law (law@cygnus.com)
5513 * stmt.c (optimize_tail_recursion): New function, extracted from ...
5514 (expand_return): Use optimize_tail_recursion.
5515 * tree.h (optimize_tail_recursion): Declare.
5517 * toplev.c (compile_file): Move call to output_func_start_profiler
5518 to after the loop to emit deferred functions.
5520 Thu Jan 7 19:52:53 1999 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
5522 * system.h (abort): Supply more detailed information on how to
5523 report an Internal Compiler Error.
5525 Thu Jan 7 9:25:58 PST 1999 Bruce Korb (korb@datadesign.com)
5527 * fixinc/fixincl.c (*): More decapitalization of variables
5528 plus some explanatory comments.
5530 * fixinc/Makefile.in fixinc/mkfixinc.sh:
5531 When the fixincl program does not work for a certain system,
5532 we substitute a shell script. Added user commentary when
5535 Thu Jan 7 11:26:17 1999 Mark Mitchell <mark@markmitchell.com>
5537 * calls.c (store_unaligned_arguments_into_pseudos): Use xmalloc to
5538 allocate memory that will live beyond this function.
5539 (expand_call): Free it here.
5541 Thu Jan 7 03:08:17 1999 Richard Henderson <rth@cygnus.com>
5543 * sparc.h (PREFERRED_RELOAD_CLASS): Select GENERAL_REGS for
5544 integer data not destined for fp regs.
5545 (LEGITIMIZE_RELOAD_ADDRESS): New.
5547 Thu Jan 7 03:03:42 1999 Stan Cox <scox@cygnus.com>
5548 Richard Henderson <rth@cygnus.com>
5550 Support for Hypersparc and Sparclite86x:
5551 * sparc.h (TARGET_CPU_hypersparc, TARGET_CPU_sparclite86x): New.
5552 (CPP_CPU32_DEFAULT_SPEC): Fix up for the new targets.
5553 (ASM_CPU32_DEFAULT_SPEC): Likewise.
5554 (TARGET_CPU_DEFAULT): Likewise.
5555 (enum processor_type): Likewise.
5556 (CPP_ENDIAN_SPEC): Handle little endian data.
5557 (LIBGCC2_WORDS_BIG_ENDIAN): Likewise.
5558 (ADJUST_COST): Call sparc_adjust_cost.
5559 * sparc.c (sparc_override_options): Fix up for the new targets.
5560 (supersparc_adjust_cost): Make static.
5561 (hypersparc_adjust_cost): New.
5562 (ultrasparc_adjust_cost): Make static.
5563 (sparc_adjust_cost): New.
5564 * sparc.md (attr cpu): Add hypersparc and sparclite86x.
5565 (function_unit): Add hypersparc scheduling rules.
5567 * configure.in (with_cpu handler): Recognize hypersparc.
5569 Thu Jan 7 23:54:05 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
5571 * config/c4x/c4x.c: Added space after negation operator.
5572 * config/c4x/c4x.h: Likewise.
5573 * config/c4x/c4x.md: Likewise.
5575 Thu Jan 7 23:39:27 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
5577 * config/c4x/c4x.c (c4x_preferred_reload_class): Always return class.
5579 Thu Jan 7 00:29:25 199 Bernd Schmidt <crux@pool.informatik.rwth-aachen.de>
5581 * combine.c (num_sign_bit_copies): In NEG, MULT, DIV and MOD cases,
5582 when a test can't be performed due to limited width of
5583 HOST_BITS_PER_WIDE_INT, use the more conservative approximation.
5584 Fix UDIV case for cases where the first operand has the highest bit
5587 Thu Jan 7 00:01:38 1999 Lutz Vieweg <lkv@mania.robin.de>
5589 * pa.h (reg_class): Add FPUPPER_REGS.
5590 (REG_CLASS_NAMES): Similarly.
5591 (REG_CLASS_CONTENTS): Similarly.
5592 (REGNO_REG_CLASS): Handle FPUPPER_REGS.
5593 (FP_REG_CLASS_P): Likewise.
5594 (REG_CLASS_FROM_LETTER): Similarly.
5595 (CLASS_MAX_NREGS): Similarly.
5597 1999-01-06 Brendan Kehoe <brendan@cygnus.com>
5599 * fixincludes: For HP/UX 10.20, also look in curses_colr/curses.h
5600 for a typedef of bool. Make sure to have a copy of the file is
5601 in place before we look to fix it. Fix typo in variable name to
5604 Wed Jan 6 07:51:05 1999 Richard Henderson <rth@cygnus.com>
5606 * expr.c (expand_builtin) [case BUILT_IN_CONSTANT_P]: Use
5607 value_mode for the return mode.
5609 Wed Jan 6 17:55:19 1999 Robert Lipe <robertlipe@usa.net>
5611 * configure.in: New flag --with-dwarf2. If set, enables DWARF-2
5612 debugging as default.
5614 * config/tm-dwarf2.h: New file.
5616 Wed Jan 6 16:08:54 1999 Jeffrey A Law (law@cygnus.com)
5618 * h8300.h (ASM_OUTPUT_LABELREF): Define.
5620 * pa.h (DONT_RECORD_EQUIVALENCE): Kill.
5621 * local-alloc.c (update_equiv_regs): Corresponding changes.
5622 * tm.texi (DONT_RECORD_EQUIVALENCE): Kill.
5624 * calls.c (special_function_p): Push alloca test inside the large
5625 conditional which excludes functions not at file scope or not
5628 * calls.c (special_function_p): New function broken out of
5630 (precompute_register_parameters): Likewise.
5631 (store_one_arg): Likewise.
5632 (store_unaligned_argumetns_into_pseudos): Likewise.
5633 (save_fixed_argument_area): Likewise.
5634 (restore_fixed_argument_area): Likewise.
5635 (expand_call): Corresponding changes.
5637 Thu Jan 7 00:12:24 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
5639 * config/c4x/c4x.md (addqi3): If the destination operand is
5640 a hard register other than an extended precision register,
5641 emit addqi3_noclobber.
5642 (*addqi3_noclobber_reload): New pattern added so that reload
5643 will recognize a store of a pseudo, equivalent to the sum
5644 of the frame pointer and a constant, as an add insn.
5646 1999-01-06 Manfred Hollstein <manfred@s-direktnet.de>
5648 * fixinc/fixincl.c: Re-indent according to the GNU standards.
5649 fixinc/server.c: Likewise.
5650 fixinc/server.h: Likewise.
5652 Wed Jan 6 10:43:29 1999 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
5654 * config/m68k/m68k.c (const_uint32_operand): Remove CONSTANT_P_RTX
5656 (const_sint32_operand): Likewise.
5658 Wed Jan 6 09:44:51 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5660 * toplev.h: In addition to checking _JBLEN, also check if `setjmp'
5661 is a macro when deciding if we can use `jmp_buf' in prototypes.
5663 Wed Jan 6 03:18:53 1999 Mark Elbrecht <snowball3@usa.net>
5665 * configure.in (pc-msdosdjgpp): Set x_make to x-go32.
5666 * configure: Rebuilt.
5667 * i386/xm-go32.h: Define LIBSTDCXX.
5669 * i386/go32.h (MD_EXEC_PREFIX): Define.
5670 (FILE_NAME_ABSOLUTE_P): Define.
5671 (LINK_COMMAND_SPEC): Define.
5673 Wed Jan 6 02:23:36 1999 "Charles M. Hannum" <root@ihack.net>
5675 * expr.c (store_expr): If the lhs is a memory location pointed
5676 to be a postincremented (or postdecremented) pointer, always
5677 force the rhs to be evaluated into a pseudo.
5679 Wed Jan 6 00:54:21 1999 Geoff Keating <geoffk@ozemail.com.au>
5681 * real.c (mtherr): Print more reasonable warning messages.
5683 Tue Jan 5 21:57:42 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5685 * Makefile.in (gcc.o, prefix.o, cccp.o, cpplib.o): Depend on prefix.h.
5687 * cccp.c: Include prefix.h, don't prototype prefix.c functions.
5688 (new_include_prefix): Constify char* parameters.
5690 * cppfiles.c (read_name_map): Likewise.
5691 (append_include_chain): Likewise. Also, use a writable char* copy
5692 of parameter `dir' which we then modify, rather than using the
5693 parameter itself to store the new writable string.
5694 (remap_filename): Constify some variables. Also, use a writable
5695 char* to store an allocated string which we will be modifying.
5697 * cpplib.c: Include prefix.h, don't prototype prefix.c functions.
5698 (cpp_start_read): Constify variable `str'.
5700 * cpplib.h (append_include_chain): Constify a char* parameter.
5702 * gcc.c Include prefix.h, don't prototype prefix.c functions.
5703 (add_prefix, save_string): Constify char* parameters.
5704 (fatal, error): Add ATTRIBUTE_PRINTF_1 to prototypes.
5706 * prefix.c: Include prefix.h.
5707 (get_key_value, translate_name, save_string, update_path,
5708 set_std_prefix): Constify various char* parameters and variables.
5709 (save_string): Use xmalloc, not malloc.
5710 (translate_name): Use a writable temporary variable to create and
5711 modify a string before setting it to a const char*.
5713 * prefix.h: New file to prototype functions exported from prefix.c.
5715 Tue Jan 5 8:52:18 PST 1999 Bruce Korb (korb@datadesign.com)
5717 * fixinc/fixincl.c (various): Added debug code so
5718 Manfred can trace the processing.
5720 * fixinc/inclhack.def (sys/utsname.h): Provide forward declaration of
5721 struct utsname on Ultrix V4.[35].
5723 * fixinc/{fixincl.x|fixincl.sh|inclhack.sh} : Regenerated.
5725 Mon Jan 4 15:37:30 1999 Zack Weinberg <zack@rabi.phys.columbia.edu>
5727 * cpplib.c (skip_if_group): Split out the logic that handles
5728 directive recognition to its own function. Don't use
5729 parse markers; use a bare pointer into the buffer. Use
5730 copy/skip_rest_of_line instead of doing it by hand. Remove
5731 `return on any directive' mode which was never used, and take
5733 (consider_directive_while_skipping): New function, subroutine
5734 of skip_if_group. Logic streamlined a bit.
5735 (conditional_skip, do_elif, do_else): Call skip_if_group with
5738 Mon Jan 4 15:27:30 1999 Zack Weinberg <zack@rabi.phys.columbia.edu>
5740 * cpplib.c (do_undef): EOF immediately after '#undef FOO' is not an
5743 Mon Jan 4 11:55:51 1999 Jason Merrill <jason@yorick.cygnus.com>
5745 * extend.texi (Bound member functions): Document.
5747 Mon Jan 4 11:01:48 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5749 * mips-tdump.c (st_to_string, sc_to_string, glevel_to_string,
5750 lang_to_string, type_to_string): Make return type const char*.
5751 (print_symbol): Apply `const' keyword to a char*.
5752 (print_file_desc): Cast structure member `crfd' to ulong when
5753 comparing against one.
5755 * mips-tfile.c (pfatal_with_name): Apply `const' keyword to char*.
5756 (fatal, error): Add ATTRIBUTE_PRINTF_1 to prototypes.
5757 (progname, input_name): Apply `const' keyword to a char*.
5758 Don't redundantly include sys/stat.h.
5759 (alloc_info): Apply `const' keyword to a char*.
5760 (st_to_string, sc_to_string): Likewise.
5761 (hash_string): Cast variable `hash_string' to a symint_t when
5762 comparing against one.
5763 (add_string): Cast PAGE_USIZE to Ptrdiff_t when comparing against one.
5764 Likewise cast it to long when comparing against one.
5765 (add_local_symbol): Apply `const' keyword to a char*.
5766 (add_ext_symbol): Likewise.
5767 (add_unknown_tag): Likewise.
5768 (add_procedure): Cast a printf-style field width to an int.
5769 (add_file): Cast PAGE_USIZE to long when comparing against one.
5770 (parse_begin): Cast a printf-style field width to an int.
5771 (parse_bend): Likewise.
5772 (parse_def): Likewise.
5773 (parse_end): Likewise.
5774 (mark_stabs): Mark parameter `start' with ATTRIBUTE_UNUSED.
5775 (parse_stabs_common): Fix format specifier.
5776 (parse_input): Change type of variable `i' to Size_t.
5777 (write_object): Fix arguments to match format specifiers.
5778 Cast variable `num_write' to long when comparing against one.
5779 (read_seek): Cast variable `sys_read' to symint_t when comparing
5780 against one. Fix arguments to match format specifiers. Cast
5781 variable `size' to long when comparing against one.
5782 (copy_object): Cast result of `sizeof' to int when comparing
5783 against one. Fix arguments to match format specifiers. Cast
5784 variable `ifd' to long when comparing against a signed value.
5787 Mon Jan 4 10:30:33 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5789 * c-common.c (decl_attributes): Allow applying attribute `unused'
5792 * c-parse.in (label): Parse attributes after a label, and call
5793 `decl_attributes' to handle them.
5795 * gansidecl.h (ATTRIBUTE_UNUSED_LABEL): Define.
5797 * genrecog.c (OUTPUT_LABEL, write_tree_1, write_tree): When
5798 generating labels, mark them with ATTRIBUTE_UNUSED_LABEL.
5800 * invoke.texi: Note that labels can be marked `unused'.
5802 Sun Jan 3 23:32:18 PST 1999 Jeff Law (law@cygnus.com)
5804 * version.c: Bump for snapshot.
5806 Sun Jan 3 23:00:42 1999 Jeffrey A Law (law@cygnus.com)
5808 * optabs.c (emit_cmp_and_jump_insns): Use CONSTANT_P canonicalizing
5809 RTL for a compare/jump sequence.
5811 Sun Jan 3 22:58:15 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
5813 * optabs.c (emit_cmp_insn): Abort if asked to emit non-canonical RTL
5814 for a target with HAVE_cc0 defined.
5815 (emit_cmp_and_jump_insns): New function.
5816 * expr.h (emit_cmp_and_jump_insns): Prototype it.
5817 * loop.c (check_dbra_loop): Use it to replace calls
5818 to emit_cmp_insn and emit_jump_insn and to canonicalize
5819 the comparison if necessary.
5820 * unroll.c (unroll_loop): Likewise.
5822 Sun Jan 3 21:01:04 1999 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
5824 * fixincludes (sys/utsname.h): Provide forward declaration of
5825 struct utsname on Ultrix V4.[35].
5827 * mips.md (div_trap): Use local labels instead of dot-relative
5830 Sun Jan 3 20:40:34 1999 Jeffrey A Law (law@cygnus.com)
5832 * pa.md (branch, negated branch): Handle (const_int 0) as first
5834 * pa.c (output_cbranch): Likewise.
5836 Sun Jan 3 03:20:38 1999 David Edelsohn <edelsohn@gnu.org>
5838 * rs6000.c (rs6000_stack_info): Undo spurious part of last
5841 1999-01-01 Manfred Hollstein <manfred@s-direktnet.de>
5843 * extend.texi (__builtin_constant_p): Add missing @smallexample.
5845 Fri Jan 1 11:48:20 1999 Jeffrey A Law (law@cygnus.com)
5847 * i386.md (doubleword shifts): Fix dumb mistakes in previous change.
5849 Wed Dec 30 23:38:55 1998 Jeffrey A Law (law@cygnus.com)
5851 * m68k.md (adddi_dilshr32): Allow all operands to be registers too.
5852 (adddi_dishl32): Similarly.
5854 * cse.c (invalidate_skipped_block): Call invalidate_from_clobbers
5855 for each insn in the skipped block.
5857 * reload1.c (reload_as_needed): Verify that the insn satisfies its
5858 constraints after replacing a register address with an autoincrement
5859 address for reload inheritance purposes.
5861 * i386.md (doubleword shifts): Avoid namespace pollution.
5863 Wed Dec 30 23:00:28 1998 David O'Brien <obrien@NUXI.com>
5865 * configure.in (FreeBSD ELF): Needs special crt files.
5867 Wed Dec 30 22:50:13 1998 Geoffrey Noer <noer@cygnus.com>
5869 * i386/xm-cygwin.h: Change DIR_SEPARATOR to forward slash.
5871 1998-12-30 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
5873 * loop.c (check_dbra_loop): While reversing the loop, if the
5874 comparison value has a VOID mode use the mode of the other operand
5875 to compute the mask.
5877 Wed Dec 30 22:24:00 1998 Michael Meissner <meissner@cygnus.com>
5879 * rs6000.md ({save,restore}_stack_function): Take 2 operands to
5880 avoid warnings in compiling explow.c.
5882 (patch from Ken Raeburn, raeburn@cygnus.com)
5883 * rs6000.c (rs6000_stack_info): Force 8-byte alignment of
5884 fpmem_offset. Compute total size after that, and then
5885 rs6000_fpmem_offset using both values.
5887 Mon Dec 28 19:26:32 1998 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
5889 * gcc.texi (Non-bugs): ``Empty'' loops will be optimized away in
5890 the future; indeed that already happens in some cases.
5892 Tue Dec 29 11:58:53 1998 Richard Henderson <rth@cygnus.com>
5894 * sparc.c (input_operand): Recognize (const (constant_p_rtx)).
5895 (arith_operand): Remove constant_p_rtx handling.
5896 (const64_operand, const64_high_operand): Likewise.
5897 (arith11_operand, arith10_operand, arith_double_operand): Likewise.
5898 (arith11_double_operand, arith10_double_operand, small_int): Likewise.
5899 (small_int_or_double, uns_small_int, zero_operand): Likewise.
5900 * sparc.h (PREDICATE_CODES): Likewise.
5902 * rtl.h (CONSTANT_P): Remove CONSTANT_P_RTX.
5904 Tue Dec 29 11:32:54 1998 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>:
5906 * rtl.def (CONSTANT_P_RTX): Clarify commentary.
5907 * expr.c (expand_builtin, case BUILT_IN_CONSTANT_P): Rework to
5908 consider constant CONSTRUCTOR constant and to defer some cases
5910 * cse.c (fold_rtx, case CONST): Add handling for CONSTANT_P_RTX.
5911 * regclass.c (reg_scan_mark_refs, case CONST): Likewise.
5913 Tue Dec 29 11:30:10 1998 Richard Henderson <rth@cygnus.com>
5915 * expr.c (init_expr_once): Kill can_handle_constant_p recognition.
5916 * cse.c (fold_rtx, case 'x'): Remove standalone CONSTANT_P_RTX code.
5918 * alpha.c (reg_or_6bit_operand): Remove CONSTANT_P_RTX handling.
5919 (reg_or_8bit_operand, cint8_operand, add_operand): Likewise.
5920 (sext_add_operand, and_operand, or_operand): Likewise.
5921 (reg_or_cint_operand, some_operand, input_operand): Likewise.
5922 * alpha.h (PREDICATE_CODES): Likewise.
5924 Sat Dec 26 23:26:26 PST 1998 Jeff Law (law@cygnus.com)
5926 * version.c: Bump for snapshot.
5928 Sat Dec 26 09:17:04 1998 Jeffrey A Law (law@cygnus.com)
5930 * gengenrtl.c (gencode): Always use bzero to clear memory instead
5931 of dangerous casts and stores.
5933 * Makefile.in (compare, gnucompare): Add missing else true clauses.
5935 Fri Dec 25 23:00:56 1998 Jeffrey A Law (law@cygnus.com)
5937 * alpha.md (builtin_longjmp): Add missing "DONE".
5939 Thu Dec 24 10:39:57 1998 Stan Cox <scox@cygnus.com>
5941 * gcc.c (execute): Enable -pipe with win32.
5943 Wed Dec 23 10:27:44 1998 Nick Clifton <nickc@cygnus.com>
5945 * config/arm/t-arm-elf: Add multiplib option for leading
5948 * config/arm/thumb.h (ASM_OUTPUT_LABELREF): Use variable
5949 'user_label_prefix' rather than macro USER_LABEL_PREFIX.
5951 (thumb_shiftable_const): Use macro 'BASE_REG_CLASS' rather
5952 than variable 'reload_address_base_reg_class'. [Note this
5953 change is unrelated to the others in this patch].
5955 * config/arm/unknown-elf.h (USER_LABEL_PREFIX): Default to no
5958 Wed Dec 23 09:51:32 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5960 * alias.c (record_alias_subset): Remove ignored `&'.
5961 (init_alias_once): Likewise.
5963 * c-lex.c (UNGETC): Cast first argument of comma expression to void.
5965 * config/mips/mips.c (mips_asm_file_end): Cast the result of
5966 fwrite to `int' when comparing against one.
5968 * config/mips/mips.h (CAN_ELIMINATE): Add parens around && within ||.
5969 (INITIAL_ELIMINATION_OFFSET): Add braces to avoid ambiguous `else'.
5971 * cse.c (rehash_using_reg): Change type of variable `i' to
5974 * dwarf2out.c (initial_return_save): Cast -1 to unsigned before
5975 assigning it to one.
5977 * except.c (duplicate_eh_handlers): Remove unused variable `tmp'.
5979 * final.c (final_scan_insn): Likewise for variable `i'.
5980 (output_asm_insn): Cast a char to unsigned char when used as an
5983 * gcse.c (compute_pre_ppinout): Cast -1 to SBITMAP_ELT_TYPE when
5984 assigning it to one.
5986 * loop.c (strength_reduce): Remove unused variables `count' and `temp'.
5988 * recog.c (preprocess_constraints): Cast a char to unsigned char
5989 when used as an array index.
5991 * regmove.c (find_matches): Likewise.
5993 * reload1.c (calculate_needs): Add default case in switch.
5994 (eliminate_regs_in_insn): Initialize variable `offset'.
5995 (set_offsets_for_label): Change type of variable `i' to unsigned.
5996 (reload_as_needed): Wrap variable `i' in macro check on
5997 AUTO_INC_DEC || INSN_CLOBBERS_REGNO_P.
5999 * scan-decls.c (scan_decls): Mark parameters `argc' and `argv'
6000 with ATTRIBUTE_UNUSED. Cast variable `start_written' to size_t
6001 when comparing against one.
6003 * stor-layout.c (layout_decl): Cast maximum_field_alignment to
6004 unsigned when comparing against one. Likewise for
6005 GET_MODE_ALIGNMENT().
6006 (layout_record): Cast record_align to int when comparing against a
6008 (layout_type): Cast TYPE_ALIGN() to int when comparing against a
6011 * tree.c (get_identifier): Cast variable `len' to unsigned when
6012 comparing against one.
6013 (maybe_get_identifier): Likewise
6015 Wed Dec 23 00:10:01 1998 Jeffrey A Law (law@cygnus.com)
6017 * toplev.c (rest_of_compilation): Do not set reload_completed.
6018 * reload1.c (reload): Set reload_completed before calling
6019 cleanup_subreg_operands.
6021 Tue Dec 22 23:58:31 1998 Richard Henderson <rth@cygnus.com>
6023 * reload1.c (emit_reload_insns): Check `set' not null before use.
6025 Tue Dec 22 15:15:45 1998 Nick Clifton <nickc@cygnus.com>
6027 * rtlanal.c (multiple_sets): Change type of 'found' from 'rtx' to
6030 Tue Dec 22 13:55:44 1998 Theodore Papadopoulo <Theodore.Papadopoulo@sophia.inria.fr>
6032 * halfpic.c (half_pic_encode): Delete redundant code.
6034 Tue Dec 22 13:02:22 1998 Michael Meissner <meissner@cygnus.com>
6036 * toplev.c (main): Delete handling of -dM as a preprocessor
6039 Mon Dec 21 17:39:38 1998 Michael Meissner <meissner@cygnus.com>
6041 * toplev.c (main): Don't emit any warnings when using -dD, -dM, or
6042 -dI, which are handled by the preprocessor.
6044 Sun Dec 20 16:13:44 1998 John F. Carr <jfc@mit.edu>
6046 * configure.in: Handle Digital UNIX 5.x the same as 4.x.
6047 * i386/sol2.h: Define LOCAL_LABEL_PREFIX as ".".
6049 Sun Dec 20 07:39:52 PST 1998 Jeff Law (law@cygnus.com)
6051 * version.c: Bump for snapshot.
6053 Sat Dec 19 22:24:22 PST 1998 Jeff Law (law@cygnus.com)
6055 * version.c: Bump for snapshot.
6057 Sat Dec 19 21:41:32 PST 1998 Jeff Law (law@cygnus.com)
6059 * version.c: Bump for snapshot.
6061 Sat Dec 19 09:52:27 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
6063 * genattr.c (fatal): Qualify a char* with the `const' keyword.
6065 * genattrtab.c (fatal, attr_printf, attr_string, write_attr_set,
6066 write_unit_name, write_eligible_delay, expand_units,
6067 make_length_attrs, write_attr_case, find_attr,
6068 make_internal_attr): Likewise.
6069 * gencheck.c (tree_codes): Likewise.
6070 * gencodes.c (fatal): Likewise.
6071 * genconfig.c (fatal): Likewise.
6072 * genemit.c (fatal): Likewise.
6073 * genextract.c (fatal, walk_rtx, copystr): Likewise.
6074 * genflags.c (fatal): Likewise.
6075 * genopinit.c (fatal, optabs, gen_insn): Likewise.
6076 * genoutput.c (fatal, error, predicates): Likewise.
6077 * genpeep.c (fatal): Likewise.
6078 * genrecog.c (fatal, decision, pred_table, add_to_sequence,
6079 write_tree_1, write_tree, change_state, copystr, indents): Likewise.
6081 Thu Dec 17 18:21:49 1998 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
6083 * configure.in (with-fast-fixincludes): Fix whitespace.
6084 * configure: Rebuilt.
6086 * fixincludes (c_asm.h): Wrap Digital UNIX V4.0B DEC C specific
6087 asm() etc. function declarations in __DECC.
6089 Thu Dec 17 13:57:23 1998 Nick Clifton <nickc@cygnus.com>
6091 * expr.c (emit_move_insn_1): Only emit a clobber if the target
6092 is a pseudo register.
6094 Thu Dec 17 13:50:29 1998 Nick Clifton <nickc@cygnus.com>
6096 * gcse.c: Include expr.h in order to get the prototype for
6097 get_condition() which is used in delete_null_pointer_checks().
6099 Thu Dec 17 15:58:26 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
6101 * hwint.h: New file to consolidate HOST_WIDE_INT (etc) macros.
6103 Thu Dec 17 12:31:12 1998 Jim Wilson <wilson@cygnus.com>
6105 * Makefile.in (INTERNAL_CFLAGS): Add SCHED_CFLAGS.
6106 (ALL_CFLAGS): Delete SCHED_CFLAGS.
6108 1998-12-17 Vladimir N. Makarov <vmakarov@cygnus.com>
6110 * config/i60/i960.md (extendqihi2): Fix typo (usage ',' instead of
6113 1998-12-17 Michael Tiemann <tiemann@axon.cygnus.com>
6115 * i960.md (extend*, zero_extend*): Don't generate rtl that looks
6116 like (subreg:SI (reg:SI N) 0), because it's wrong, and it hides
6117 optimizations from the combiner.
6119 Thu Dec 17 08:27:03 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
6121 * loop.c (combine_givs_used_by_other): Don't depend on n_times_set.
6123 Wed Dec 16 17:30:35 1998 Nick Clifton <nickc@cygnus.com>
6125 * toplev.c (main): Disable optimize_size if a specific
6126 optimization level is requested. Always set optimization
6127 level to 2 if -Os is specified.
6129 Wed Dec 16 16:33:04 1998 Dave Brolley <brolley@cygnus.com>
6131 * objc/lang-specs.h: Pass -MD, -MMD and -MG to cc1obj if configured with
6133 * cpplib.c (cpp_start_read): If in_fname is not initialized, try to
6134 initialize it using fname.
6136 1998-12-16 Zack Weinberg <zack@rabi.phys.columbia.edu>
6138 * cpplib.c (do_include): Treat #include_next in the
6139 primary source file as #include plus warning. Treat
6140 #include_next in a file included by absolute path as an
6141 error. fp == CPP_NULL_BUFFER is a fatal inconsistency.
6143 Wed Dec 16 12:28:54 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
6145 * cccp.c: Don't define MIN/MAX anymore.
6146 * cpplib.c: Likewise.
6147 * machmode.h: Likewise.
6148 * system.h: Provide definitions for MIN/MAX.
6150 Tue Dec 15 23:47:42 1998 Zack Weinberg <zack@rabi.phys.columbia.edu>
6152 * fix-header.c: Don't define xstrdup here.
6154 Wed Dec 16 05:11:04 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
6156 * loop.c (consec_sets_giv): New argument last_consec_insn.
6157 (strength_reduce): Provide / use it.
6159 Wed Dec 16 17:24:07 1998 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
6161 * loop.h (loop_info): New field 'vtop'.
6162 * loop.c (check_dbra_loop): Use loop_info->vtop rather than
6163 scanning loop for vtop.
6164 * unroll.c (subtract_reg_term, find_common_reg_term): New functions.
6165 (loop_iterations): Use them to determine if loop has a constant
6166 number of iterations. Set loop_info->vtop. Don't subtract
6167 common reg term from initial_value and final_value if have a
6170 Tue Dec 15 13:49:55 1998 Jeffrey A Law (law@cygnus.com)
6172 * mn10200.md (addsi3 expander): Use "nonmemory_operand" for operand 2.
6174 * mn10300.md (bset, bclr): Operand 0 is a read/write operand.
6176 * mn10200.md (abssf2, negsf2): New expanders.
6178 * mn10300.md (absdf2, abssf2, negdf2, negsf2): New expanders.
6180 Tue Dec 15 11:55:30 1998 Nick Clifton <nickc@cygnus.com>
6182 * integrate.c (copy_rtx_and_substitute): If a SUBREG is
6183 replaced by a CONCAT whose components do not have the same
6184 mode as the original SUBREG, use a new SUBREG to restore the
6187 * emit-rtl.c (subreg_realpart_p): Cope with subregs containing
6188 multiword complex values.
6190 1998-12-15 Zack Weinberg <zack@rabi.phys.columbia.edu>
6192 * cppalloc.c: Add xstrdup here.
6193 * cpplib.h: Remove savestring prototype.
6194 * cpplib.c: Remove savestring function. s/savestring/xstrdup/
6196 * cppfiles.c: s/savestring/xstrdup/ throughout.
6198 1998-12-15 Zack Weinberg <zack@rabi.phys.columbia.edu>
6200 * cpplib.c: Make all directive handlers read their own
6202 (struct directive): Remove last two arguments from FUNC
6203 member prototype. Remove `command_reads_line' member
6205 (directive_table): Remove initializations of
6206 command_reads_line flag. Pretty-print.
6207 (eval_if_expression, do_define, do_line, do_include,
6208 do_undef, do_error, do_pragma, do_ident, do_if, do_xifdef,
6209 do_else, do_elif, do_sccs, do_assert, do_unassert,
6210 do_warning): Take only two args.
6212 (cpp_define): Call do_define with two args and the text to
6213 define stuffed into a buffer.
6214 (make_assertion): Call do_assert with two args.
6215 (handle_directive): Call do_line with two args. Call
6216 kt->func with two args. Remove command_reads_line
6218 (do_define, do_undef, do_error, do_warning, do_pragma,
6219 do_sccs): Read the rest of the line here.
6220 (do_ident): Gobble rest of line, as cccp does.
6221 (cpp_undef): New function.
6222 (cpp_start_read): Call cpp_undef instead of do_undef.
6224 1998-12-15 Zack Weinberg <zack@rabi.phys.columbia.edu>
6226 * cpphash.h (union hash_value): Remove `keydef' member, add a
6227 `struct hashnode *aschain' member for #assert.
6229 * cpplib.c (struct tokenlist_list, struct
6230 assertion_hashnode): Delete structure definitions.
6231 (assertion_install, assertion_lookup, delete_assertion,
6232 check_assertion, compare_token_lists, reverse_token_list,
6233 read_token_list, free_token_list): Delete functions.
6234 (parse_assertion): New function.
6235 (cpp_cleanup): Don't destroy the assertion_hashtable.
6237 (do_assert): Gut and rewrite. #assert foo (bar) places
6238 entries for `#foo' and `#foo(bar)' in the macro hash table,
6239 type T_ASSERT. The value union's `aschain' member is used
6240 to chain all answers for a given predicate together.
6241 (do_unassert): Also rewritten. Take an un-asserted
6242 answer off the chain from its predicate and call
6243 delete_macro on the hashnode, or walk a predicate chain
6244 calling delete_macro on all the entries.
6245 (cpp_read_check_assertion): Simply call parse_assertion to
6246 get the canonical assertion name, and look that up in the
6249 * cpplib.h (ASSERTION_HASHNODE,ASSERTION_HASHSIZE,assertion_hashtab):
6252 * cpphash.c (install): Use bcopy instead of an explicit loop
6253 to copy the macro name.
6255 * cppexp.c (cpp_lex): Convert the result of
6256 cpp_read_check_assertion to a `struct operation' directly;
6257 don't go through parse_number.
6259 Tue Dec 15 18:27:39 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
6261 * loop.h (struct induction): Delete times_used member.
6262 * loop.c (n_times_set): Rename to set_in_loop. Changed all users.
6263 (n_times_used): Rename to n_times_set. Changed all users.
6264 (scan_loop): Free reg_single_usage before strength reduction.
6265 (record_giv, combine_givs): Remove handling of times_used member.
6266 (combine_givs_used_once): Rename to:
6267 (combine_givs_used_by_other) . Changed all callers.
6269 Tue Dec 15 01:45:26 1998 Jason Merrill <jason@yorick.cygnus.com>
6271 * dwarf2out.c (gen_struct_or_union_type_die): Check AGGREGATE_TYPE_P
6272 instead of TREE_CODE_CLASS == 't'.
6273 (gen_type_die): Likewise.
6274 (scope_die_for): Ignore FUNCTION_TYPE "scopes".
6276 Mon Dec 14 16:23:27 1998 Jim Wilson <wilson@cygnus.com>
6278 * real.c (endian): Disable last change unless
6279 HOST_BITS_PER_WIDE_INT is greater than 32.
6281 Mon Dec 14 17:13:36 EST 1998 Andrew MacLeod <amacleod@cygnus.com>
6283 * output.h (force_data_section): New prototype.
6284 * varasm.c (force_data_section): New function to force the
6285 data section, regardless of what in_section thinks.
6286 * dwarf2out.c (output_call_frame_info): Call force_data_section
6287 since varasm may not realize we've changes sections.
6289 Mon Dec 14 14:09:34 1998 Nick Clifton <nickc@cygnus.com>
6291 * reload1.c (reload): Delete REG_RETVAL and REG_LIBCALL notes
6292 after completing reload.
6294 * rtl.texi: Document that REG_RETVAL and REG_LIBCALL are
6295 deleted after reload.
6297 Mon Dec 14 01:39:28 1998 Jeffrey A Law (law@cygnus.com)
6299 * rtl.h (multiple_sets): Fix prototype.
6300 * rtlanal.c (multiple_sets): Fix return type.
6302 Sun Dec 13 12:43:58 PST 1998 Jeff Law (law@cygnus.com)
6304 * version.c: Bump for snapshot.
6306 Sun Dec 13 01:05:22 PST 1998 Jeff Law (law@cygnus.com)
6308 * version.c: Bump for snapshot.
6310 1998-12-13 Manfred Hollstein <manfred@s-direktnet.de>
6312 * protoize.c (fputs): Wrap extern declaration in #ifndef fputs.
6314 Sun Dec 13 00:24:14 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
6316 * rtl.h (recompute_reg_usage): Add second argument.
6317 * flow.c (recompute_reg_usage): Likewise.
6318 * toplev.c (rest_of_compilation): Supply second argument to
6319 recompute_reg_usage.
6321 * reload1.c (compute_use_by_pseudos): Allow reg_renumber[regno] < 0
6324 Sat Dec 12 23:39:10 1998 Jeffrey A Law (law@cygnus.com)
6326 * m68k/t-m68kelf (MULTILIB_OPTIONS): Add mcpu32.
6327 (MULTILIB_MATCHES): -m68332 now uses mcpu32 libraries, not m68000.
6328 (MULTILIB_EXCEPTIONS): Don't build 68881 libraries for m68000,
6331 * i386/next.h (ASM_OUTPUT_ALIGN): Use 0x90 for fill character.
6333 * rtlanal.c (multiple_sets): New function.
6334 * rtl.h (multiple_sets): Declare it.
6335 * local-alloc.c (wipe_dead_reg): Use it.
6336 * global.c (global_conflicts): Likewise.
6338 Sat Dec 12 22:13:02 1998 Mark Mitchell <mark@markmitchell.com>
6340 * global.c (record_conflicts): Don't use an array of shorts to
6341 store an array of ints.
6342 (global_conflicts): Likewise.
6344 Sat Dec 12 16:49:24 1998 Richard Henderson <rth@cygnus.com>
6346 * alpha.c (alpha_expand_block_move): mode_for_size expects
6347 bits, not bytes. Infer extra alignment from addressof.
6349 1998-12-11 Michael Meissner <meissner@cygnus.com>
6351 * rs6000/sysv4.h (ASM_OUTPUT_ALIGNED_LOCAL): Put small data in the
6352 .sbss section, not .sdata.
6354 1998-12-11 Manfred Hollstein <manfred@s-direktnet.de>
6356 * cccp.c: Do not #include <sys/stat.h> here; this is already done
6358 * collect2.c: Likewise.
6359 * cpplib.h: Likewise.
6362 * getpwd.c: Likewise.
6363 * protoize.c: Likewise.
6364 * toplev.c: Likewise.
6366 * cpplib.h (HOST_WIDE_INT): Get definition from "machmode.h"
6367 and don't try to define it here.
6368 * Makefile.in (cppmain.o): Depend on machmode.h.
6369 (cpplib.o): Likewise.
6370 (cpperror.o): Likewise.
6371 (cppexp.o): Likewise.
6372 (cppfiles.o): Likewise.
6373 (cpphash.o): Likewise.
6374 (cppalloc.o): Likewise.
6375 (fix-header.o): Likewise.
6376 (scan-decls.o): Likewise.
6378 Fri Dec 11 11:02:49 1998 Stan Cox <scox@cygnus.com>
6380 * sh.c (print_operand): Lookup interrupt_handler attribute instead
6381 of relying on static variable.
6382 * (calc_live_regs): Likewise.
6383 * (sh_pragma_insert_attributes): Create interrupt_handler
6384 attribute if a pragma was specified.
6385 * (sh_valid_machine_decl_attribute): Don't set static flag.
6386 * sh.h (PRAGMA_INSERT_ATTRIBUTES): New.
6388 Fri Dec 11 12:56:07 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
6390 * reload1.c (reload_combine): Use BASIC_BLOCK_LIVE_AT_START
6391 to determine if a register is live at a jump destination.
6392 Everything is dead at a BARRIER.
6394 Thu Dec 10 16:02:06 1998 Jim Wilson <wilson@cygnus.com>
6396 * cse.c (simplify_unary_operation): Sign-extend constants when
6397 they have the most significant bit set for the target.
6398 * real.c (endian): Sign-extend 32 bit output values on a 64 bit
6400 * m32r/m32r.c (m32r_expand_prologue): Store pretend_size in
6401 HOST_WIDE_INT temporary before negating it.
6402 * m32r/m32r.md (movsi_insn+1): Use ~0xffff instead of 0xffff0000.
6404 Thu Dec 10 15:05:59 1998 Dave Brolley <brolley@cygnus.com>
6406 * objc/objc-act.c (lang_init_options): Enclose cpplib related code in
6409 Thu Dec 10 13:39:46 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
6411 * collect2.h: New header file for prototypes.
6413 * Makefile.in (collect2.o, tlink.o): Depend on collect2.h.
6415 * collect2.c: Include collect2.h.
6416 * tlink.c: Likewise.
6418 Wed Dec 9 23:55:11 1998 Jeffrey A Law (law@cygnus.com)
6420 * flow.c: Update some comments.
6422 Wed Dec 9 15:29:26 1998 Dave Brolley <brolley@cygnus.com>
6424 * objc/objc-act.c (cpp_initialized): Removed.
6425 (lang_init_options): Initialize cpplib.
6426 (lang_decode_option): Move initialization of cpplib to
6428 * c-lang.c (parse_options,parse_in): Added.
6429 (lang_init_options): Initialized cpplib here.
6430 * c-decl.c (parse_options,cpp_initialized): Removed.
6431 (c_decode_option): Move initialization of cpplib to
6434 Wed Dec 9 19:36:57 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
6436 * reload1.c (reload_combine, reload_combine_note_store):
6437 Make STORE_RUID always valid.
6438 (reload_combine): Check if BASE is clobbered too early.
6440 Wed Dec 9 09:53:58 1998 Nick Clifton <nickc@cygnus.com>
6442 * reload.c (find_reloads): Display the insn that cannot be
6445 Wed Dec 9 12:15:26 1998 Dave Brolley <brolley@cygnus.com>
6447 * cccp.c (create_definition): Fix end of buffer logic.
6449 Wed Dec 9 10:15:45 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
6451 * except.c (duplicate_eh_handlers, rethrow_symbol_map): Function
6452 pointer parameters changed to use the PARAMS() macro.
6454 Wed Dec 9 09:12:40 EST 1998 Andrew MacLeod <amacleod@cygnus.com>
6456 * except.h (struct handler_info): Add handler_number field.
6457 * except.c (gen_exception_label): EH labels no longer need to be
6458 on the permanent obstack.
6459 (get_new_handler): Set the label number field.
6460 (output_exception_table_entry): Regenerate handler label reference
6461 from the label number field.
6462 (init_eh): Remove a blank line.
6463 * integrate.c (get_label_from_map): Labels no longer need to be
6464 on the permanent obstack.
6466 Tue Dec 8 22:04:33 1998 Jim Wilson <wilson@cygnus.com>
6468 * i960/i960.h (CONST_COSTS, case CONST_INT): Accept power2_operand
6469 only when OUTER_CODE is SET.
6471 Tue Dec 8 22:47:15 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
6473 * loop.c (strength_reduce): If scan_start points to the loop exit
6474 test, be wary of subversive use of gotos inside expression statements.
6475 Don't set maybe_multiple for a backward jump that does not
6476 include the label under consideration into its range.
6477 * unroll.c (biv_total_increment): Make use of maybe_multiple field.
6479 Tue Dec 8 22:33:18 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
6481 * explow.c (plus_constant_wide): Don't immediately return with
6482 result of recursive call.
6484 Tue Dec 8 15:32:56 EST 1998 Andrew MacLeod <amacleod@cygnus.com>
6486 * eh-common.h (struct eh_context): Add table_index for rethrows.
6488 * rtl.h (enum reg_note): Add REG_EH_REGION and REG_EH_RETHROW reg notes.
6489 (SYMBOL_REF_NEED_ADJUST): New flag indicating symbol needs to be
6490 processed when inlined or unrolled (ie duplicated in some way).
6492 * rtl.c (reg_note_name): Add strings for new reg_note enums.
6494 * expr.h (rethrow_libfunc): New library decl.
6496 * optabs.c (rethrow_libfunc): Initialize.
6498 * except.h (struct eh_entry): Add new field 'rethrow_label'.
6499 (new_eh_region_entry): No longer exported from except.c.
6500 (duplicate_handlers): Renamed to duplicate_eh_handlers and
6501 different prototype.
6502 (rethrow_symbol_map, rethrow_used): New exported functions.
6503 (eh_region_from_symbol): New exported function.
6505 * except.c (create_rethrow_ref): New function to create a single
6506 SYMBOL_REF for a rethrow region.
6507 (push_eh_entry): Initialize a rethrow ref.
6508 (func_eh_entry): Add a rethrow_label field.
6509 (new_eh_region_entry): Make static, and initialize the rethrow entry.
6510 (duplicate_eh_handlers): Create a new region, and remap labels/symbols.
6511 (eh_region_from_symbol): Find an EH region based on its rethrow symbol.
6512 (rethrow_symbol_map): Given a label map, maps a rethrow symbol for
6513 a region into an appropriate new symbol.
6514 (rethrow_used): Indicate whether a rethrow symbol has been referenced.
6515 (expand_eh_region_end): Don't issue jump around code for new-exceptions.
6516 (end_catch_handler): Emit a barrier for new-exceptions since
6517 control can never drop through the end of a catch block.
6518 (expand_end_all_catch): new-exceptions never fall through a catch
6520 (expand_rethrow): Use __rethrow routine for new exceptions.
6521 (output_exception_table_entry): Generate rethrow labels, if needed.
6522 (output_exception_table): Generate start and end rethrow labels.
6523 (init_eh): Create rethrow symbols for beginning and end of table.
6524 (scan_region): Don't eliminate EH regions which are the targets of
6527 * flow.c (make_edges): Add different edges for rethrow calls,
6528 identified by having the REG_EH_RETHROW reg label.
6529 (delete_unreachable_blocks): Don't delete regions markers which are
6530 the target of a rethrow.
6532 * integrate.c (save_for_inline_eh_labelmap): New callback routine to
6533 allow save_for_inline_copying to call duplicate_eh_handlers.
6534 (save_for_inline_copying): Call duplicate_eh_handlers instead of
6535 exposing internal details of exception regions.
6536 (copy_for_inline): Check if SYMBOL_REFs need adjustment.
6537 (expand_inline_function_eh_labelmap): New callback routine to
6538 allow expand_inline_function to call duplicate_eh_handlers.
6539 (expand_inline_function): Call duplicate_eh_handlers instead of
6540 exposing internal details of exception regions.
6541 (copy_rtx_and_substitute): Adjust SYMBOL_REFS if SYMBOL_REF_NEED_ADJUST
6544 * libgcc2.c (find_exception_handler): Generalize to enable it to
6545 pick up processing where it left off last time for a rethrow.
6546 (__unwinding_cleanup): New function. debug hook which is called before
6547 unwinding when __throw finds there is nothing but cleanups left.
6548 (throw_helper): Common parts of __throw extracted out for reuse.
6549 (__throw): Common parts moved to throw_helper.
6550 (__rethrow): New function for performing rethrows.
6552 Tue Dec 8 13:11:04 1998 Jeffrey A Law (law@cygnus.com)
6554 * reload1.c (current_function_decl): Tweak declaration.
6556 Tue Dec 8 10:23:52 1998 Richard Henderson <rth@cygnus.com>
6558 * c-decl.c (flag_isoc9x): Default off.
6559 (c_decode_option): Kill -std=gnu, add -std=gnu89 and -std=gnu9x.
6560 * cccp.c (print_help, main): Likewise.
6561 * gcc.c (default_compilers): Update for -std=gnu*.
6563 Tue Dec 8 01:14:46 1998 Jeffrey A Law (law@cygnus.com)
6565 * Makefile.in (DEMANGLE_H): Change location to shared demangle.h.
6566 * demangle.h: Deleted.
6568 * reload1.c (current_function_decl): Declare.
6570 Tue Dec 8 11:58:51 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
6572 * cpplib.c (convert_string): Use `0x00ff', not `0x00ffU'.
6574 Tue Dec 8 09:28:36 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
6576 * dbxout.c: If USG is defined use gstab.h, even if HAVE_STAB_H is set.
6578 1998-12-08 Ulrich Drepper <drepper@cygnus.com>
6580 * configure.in: Test for availability of putc_unlocked, fputc_unlocked,
6582 * configure: Rebuilt.
6583 * system.h: If the *_unlocked functions are available use them
6584 instead of the locked counterparts by defining macros.
6585 * config.in: Regenerated.
6587 Tue Dec 8 00:34:05 1998 Mike Stump <mrs@wrs.com>
6589 * i386/bsd.h (ASM_FILE_START): Don't use dump_base_name, it is
6590 wrong and should only be used for dump related things, not
6591 debugging information, instead main_input_filename should be used.
6592 Also, reuse output_file_directive if possible.
6593 * i386/aix386ng.h (ASM_FILE_START): Likewise.
6594 * i386/isc.h (ASM_FILE_START): Likewise.
6595 * i386/win-nt.h (ASM_FILE_START): Likewise.
6596 * i386/sun386.h (ASM_FILE_START): Likewise.
6598 Mon Dec 7 23:56:28 1998 Robert Lipe <robertl@dgii.com>
6600 * configure.in (mips*-*-linux*): Handle big and little endian
6602 * configure: Rebuilt.
6604 Mon Dec 7 23:14:51 1998 Mike Stump <mrs@wrs.com>
6606 * emit-rtl.c: Fix typo.
6608 Mon Dec 7 23:07:38 1998 Nathan Sidwell <nathan@acm.org>
6610 * reload1.c (eliminate_regs): Don't do anything, if we're not
6613 Mon Dec 7 15:27:09 1998 DJ Delorie <dj@cygnus.com>
6615 * mips/mips.h (ENCODE_SECTION_INFO): Handle TARGET_EMBEDDED_DATA.
6617 * mips/mips.c (mips_select_section): Add comment.
6619 Mon Dec 7 17:55:06 1998 Mike Stump <mrs@wrs.com>
6621 * cccp.c (ignore_escape_flag): Add support for \ as `natural'
6622 characters in file names in #line to be consistent with #include
6623 handling. We support escape processing in the # 1 "..." version of
6624 the command. See also support in cp/lex.c.
6625 (handle_directive): Likewise.
6626 (do_line): Likewise.
6628 1998-12-07 Zack Weinberg <zack@rabi.phys.columbia.edu>
6630 * cpplib.c (initialize_char_syntax): Use ISALPHA and ISALNUM
6631 so it'll work on non-ASCII platforms. Always consider $ an
6632 identifier character. Take no arguments.
6633 (cpp_reader_init): Call initialize_char_syntax with no
6635 (cpp_start_read): Don't call initialize_char_syntax again.
6636 Clear is_idchar['$'] and is_idstart['$'] if not
6637 opts->dollars_in_ident.
6639 * cpplib.h (struct cpp_reader): Replace void *data element by
6640 cpp_options *opts. Rearrange elements to make gdb printout
6641 less annoying (put buffer stack at end).
6642 (CPP_OPTIONS): Get rid of now-unnecessary cast.
6644 * cppmain.c: s/data/opts/ when initializing cpp_reader
6646 * c-decl.c: Likewise.
6647 * objc/objc-act.c: Likewise.
6648 * fix-header.c: Likewise.
6650 1998-12-07 Zack Weinberg <zack@rabi.phys.columbia.edu>
6652 * cpplib.h (struct cpp_buffer): Replace dir and dlen members
6653 with a struct file_name_list pointer.
6654 (struct cpp_reader): Add pointer to chain of `actual
6655 directory' include searchpath entries.
6656 (struct file_name_list): Add *alloc pointer for the sake of
6657 the actual-directory chain.
6659 Move definition of HOST_WIDE_INT here.
6660 (cpp_parse_escape): Change prototype to match changes in
6663 * cppfiles.c (actual_directory): New function.
6664 (finclude): Use it to initialize the buffer's actual_dir
6666 (find_include_file): We don't need to fix up max_include_len
6669 * cpplib.c (do_include): Don't allocate a file_name_list on
6670 the fly for current directory "" includes, use the one that's
6671 been preallocated in pfile->buffer->actual_dir. Hoist out
6672 duplicate code from the search_start selection logic.
6673 (cpp_reader_init): Initialize pfile->actual_dirs.
6675 Remove definition of HOST_WIDE_INT. Change calls
6676 to cpp_parse_escape to match changes in cppexp.c (note
6677 hardcoded MASK, which is safe since this is the source
6680 * cppexp.c: Bring over changes to cpp_parse_escape from cccp.c
6681 to handle wide character constants in #if directives. The
6682 function now returns a HOST_WIDE_INT, and takes a third
6683 argument which is a binary mask for all legal values (0x00ff
6684 for 8-bit `char', 0xffff for 16-bit `wchar_t', etc.) Define
6685 MAX_CHAR_TYPE_MASK and MAX_WCHAR_TYPE_MASK. Change callers of
6686 cpp_parse_escape to match. [Fixes c-torture/execute/widechar-1.c]
6688 Mon Dec 7 15:38:25 1998 Dave Brolley <brolley@cygnus.com>
6690 * gcc.c (default_compilers): Fix typo in USE_CPPLIB spec for cc1.
6692 Mon Dec 7 15:38:25 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
6694 * c-aux-info.c (concat): Wrap function definition in !USE_CPPLIB.
6695 * cppalloc.c: Move function `xcalloc' from cpplib.c to here.
6696 * cpplib.c: Move function `xcalloc' from here to cppalloc.c.
6698 Mon Dec 7 11:30:49 1998 Nick Clifton <nickc@cygnus.com>
6700 * final.c (output_asm_name): Use tabs to separate comments from
6703 Include instruction lengths (if defined) in output.
6705 Mon Dec 7 10:53:38 1998 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
6707 * loop.c (check_dbra_loop): Fix initial_value and initial_equiv_value
6708 in the loop_info structure.
6710 Mon Dec 7 11:04:40 1998 Catherine Moore <clm@cygnus.com>
6712 * configure.in (arm*-*-ecos-elf): New target.
6713 * configure: Regenerated.
6714 * config/arm/elf.h (ASM_WEAKEN_LABEL): Define.
6715 * config/arm/ecos-elf.h: New file.
6716 * config/arm/unknown-elf.h (TARGET_VERSION): Check
6719 Mon Dec 7 16:15:51 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
6721 * sh.c (output_far_jump): Emit braf only for TARGET_SH2.
6723 Sun Dec 6 04:19:45 PST 1998 Jeff Law (law@cygnus.com)
6725 * version.c: Bump for snapshot.
6727 Sun Dec 6 05:16:16 1998 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
6729 * loop.c (check_dbra_loop): New argument loop_info. Update fields
6732 Sun Dec 6 03:40:13 PST 1998 Jeff Law (law@cygnus.com)
6734 * version.c: Bump for snapshot.
6736 Sun Dec 6 07:49:29 1998 Alexandre Oliva <oliva@dcc.unicamp.br>
6738 * gcc.texi (Bug Reporting): 40Kb is a soft limit, larger
6739 compressed reports are ok and preferred over URLs
6741 Sun Dec 6 07:45:33 1998 Alexandre Oliva <oliva@dcc.unicamp.br>
6743 * invoke.texi (Warning Options): Soften the tone of -pedantic
6745 Sun Dec 6 00:20:44 1998 H.J. Lu (hjl@gnu.org)
6747 * print-rtl.c (print_rtx): Add prototype.
6749 * unroll.c (iteration_info): Make it static.
6751 Sun Dec 6 01:19:46 1998 Richard Henderson <rth@cygnus.com>
6753 * alias.c (memrefs_conflict_p): A second ANDed address
6754 disables the aligned address optimization.
6756 Sat Dec 5 18:48:25 1998 Richard Henderson <rth@cygnus.com>
6758 * alpha.c (alpha_emit_set_const_1): Fix parenthesis error
6761 Sat Dec 5 15:14:52 1998 Jason Merrill <jason@yorick.cygnus.com>
6763 * i960.h (BOOL_TYPE_SIZE): Define.
6765 Sun Dec 6 00:28:16 1998 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
6767 * config/c4x/c4x.c (valid_parallel_load_store): Flog functionality
6768 from old valid_parallel_operands_4.
6769 (valid_parallel_operands_4): Check that operands for 4 operand
6770 parallel insns are valid, excluding load/store insns.
6771 * config/c4x/c4x.h (valid_parallel_load_store): Add prototype.
6772 * config/c4x/c4x.md (*movqf_parallel, *movqi_parallel): Use
6773 valid_parallel_load_store instead of valid_parallel_operands_4.
6774 (*absqf2_movqf_clobber, *floatqiqf2_movqf_clobber,
6775 *negqf2_movqf_clobber, *absqi2_movqi_clobber,
6776 *fixqfqi2_movqi_clobber, *negqi2_movqi_clobber,
6777 *notqi_movqi_clobber): Use valid_parallel_operands_4.
6778 (*subqf3_movqf_clobber, *ashlqi3_movqi_clobber,
6779 *ashrqi3_movqi_clobber, *lshrqi3_movqi_clobber,
6780 *subqi3_movqi_clobber): Use valid_parallel_operands_5.
6782 Sat Dec 5 23:52:01 1998 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
6784 * config/c4x/c4x.c (iteration_info): Delete extern.
6786 Fri Dec 4 20:15:57 1998 Bernd Schmidt <crux@pool.informatik.rwth-aachen.de>
6788 * tm.texi (SMALL_REGISTER_CLASSES): Make description match reality.
6790 * final.c (cleanup_subreg_operands): Delete some unused code.
6792 * recog.h (MAX_RECOG_ALTERNATIVES): New macro.
6793 (struct insn_alternative): New structure definition.
6794 (recog_op_alt): Declare variable.
6795 (preprocess_constraints): Declare function.
6796 * recog.c (recog_op_alt): New variable.
6797 (extract_insn): Verify number of alternatives is in range.
6798 (preprocess_constraints): New function.
6799 * reg-stack.c: Include recog.h.
6800 (constrain_asm_operands): Delete.
6801 (get_asm_operand_lengths): Delete.
6802 (get_asm_operand_n_inputs): New function.
6803 (record_asm_reg_life): Delete OPERANDS, CONSTRAINTS, N_INPUTS and
6804 N_OUTPUTS args. All callers changed.
6805 Compute number of inputs and outputs here by calling
6806 get_asm_operand_n_inputs.
6807 Instead of constrain_asm_operands, call extract_insn,
6808 constrain_operands and preprocess_constraints. Use information
6809 computed by these functions throughout.
6810 (record_reg_life): Delete code that is unused due to changes in
6811 record_asm_reg_life.
6812 (subst_asm_stack_regs): Delete OPERANDS, OPERAND_LOC, CONSTRAINTS,
6813 N_INPUTS and N_OUTPUTS args. All callers changed.
6814 Similar changes as in record_asm_reg_life.
6815 (subst_stack_regs): Move n_operands declaration into the if statement
6817 Delete code that is unused due to changes in subst_asm_stack_regs.
6818 * stmt.c (expand_asm_operands): Verify number of alternatives is in
6820 * Makefile.in (reg-stack.o): Depend on recog.h.
6822 Fri Dec 4 02:23:24 1998 Jeffrey A Law (law@cygnus.com)
6824 * except.c (set_exception_version_code): Argument is an "int".
6826 Fri Dec 4 01:29:28 1998 Jeffrey A Law (law@cygnus.com)
6828 * configure.in (hppa2*-*-*): Handle like hppa1.1-*-* for now.
6829 * configure: Rebuilt.
6831 Fri Dec 4 01:29:28 1998 Robert Lipe <robertl@dgii.com>
6833 * configure.in (mipsel-*-linux*): New target.
6834 * mips/linux.h: New file, based on other Linux targets.
6836 Thu Dec 3 11:19:50 1998 Mike Stump <mrs@wrs.com>
6838 * gthr-vxworks.h (__ehdtor): Fix memory leak. The delete hook
6839 runs in the context of the deleter, not the deletee, so we must
6840 use taskVarGet to find the correct memory to free.
6841 (__gthread_key_create): Initialize the task
6842 variable subsystem so that the task variable is still active when
6843 the delete hook is run.
6845 1998-12-03 Joseph S. Myers <jsm28@cam.ac.uk>
6847 * pdp11.h: Use optimize_size for space optimizations.
6848 * pdp11.c: Likewise.
6849 * pdp11.md: Likewise.
6851 * pdp11.h (TARGET_40_PLUS): Fix typo.
6853 Thu Dec 3 11:48:32 1998 Jeffrey A Law (law@cygnus.com)
6855 * local-alloc.c (block_alloc): Slightly retune heuristic to widen
6858 Thu Dec 3 22:30:18 1998 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
6860 * alias.c (addr_side_effect_eval): New function.
6861 (memrefs_conflict_p): Use it.
6862 * rtl.h (addr_side_effect_eval): Prototype it.
6864 1998-12-02 Joseph S. Myers <jsm28@cam.ac.uk>
6866 * pdp11.md (extendsfdf2): Fix mode mismatch in SET.
6868 Wed Dec 2 11:23:07 1998 Jim Wilson <wilson@cygnus.com>
6870 * reload.c (find_reloads): When force const to memory, put result
6871 in substed_operand not *recog_operand_loc.
6873 1998-12-02 Ulrich Drepper <drepper@cygnus.com>
6875 * c-lex.c: Fix indentation from last patch.
6876 Remove trailing whitespace.
6879 Wed Dec 2 10:11:12 1998 Jeffrey A Law (law@cygnus.com)
6881 * flow.c (delete_block): Call set_last_insn after we have reset
6882 NEXT_INSN (kept_tail).
6884 Wed Dec 2 00:47:31 1998 Jeffrey A Law (law@cygnus.com)
6886 * mips.md (trap_if): Use "$0" for the value zero.
6888 Tue Dec 1 20:49:49 1998 Ulrich Drepper <drepper@cygnus.com>
6889 Stephen L Moshier <moshier@world.std.com>
6890 Richard Henderson <rth@cygnus.com>
6892 * c-common.c (declare_function_name): Declare predefined variable
6895 * c-decl.c (flag_isoc9x): Set to 1 by default.
6896 (c_decode_option): Handle -std= option. Remove -flang-isoc9x.
6897 (grokdeclarator): Always emit warning about implicit int for ISO C 9x.
6899 * c-parse.in: Allow constructors in ISO C 9x.
6900 Rewrite designator list handling.
6901 Allow [*] parameters.
6902 Don't warn about comma at end of enum definition for ISO C 9x.
6904 * cccp.c (c9x): New variable.
6905 (rest_extension): New variable.
6906 (print_help): Document new -std= option.
6907 (main): Recognize -std= option. Set c9x appropriately.
6908 (create_definition): Recognize ISO C 9x vararg macros.
6910 * gcc.c (default_compilers): Adjust specs for -std options.
6911 (option_map): Add --std.
6912 (display_help): Document -std.
6914 * toplev.c (documented_lang_options): Add -std and remove
6917 * c-lex.c (yylex): Recognize hex FP constants and call REAL_VALUE_ATOF
6918 or REAL_VALUE_HTOF based on base of the constants.
6919 * fold-const.c (real_hex_to_f): New function. Replacement function
6920 for hex FP conversion if REAL_ARITHMETIC is not defined.
6921 * real.c (asctoeg): Add handling of hex FP constants.
6922 * real.h: Define REAL_VALUE_HTOF if necessary using ereal_atof or
6925 Tue Dec 1 16:45:49 1998 Stan Cox <scox@cygnus.com>
6927 * mips.md (divmodsi4*, divmoddi4*, udivmodsi4*, udivmoddi4): Add
6928 -mcheck-range-division/-mcheck-zero-division checking. Avoid as macro
6929 expansion. Use hi/lo as destination register.
6931 (divsi3*, divdi3*, modsi3*, moddi3*, udivsi3*, udivdi3*, umodsi3*,
6932 umoddi3*): Add -mcheck-range-division/-mcheck-zero-division checking.
6933 Avoid as macro expansion. Use hi/lo as destination register.
6935 * mips.h (MASK_CHECK_RANGE_DIV): New.
6936 (MASK_NO_CHECK_ZERO_DIV): New.
6937 (ELIMINABLE_REGS): Added GP_REG_FIRST + 31.
6938 (CAN_ELIMINATE, INITIAL_ELIMINATION_OFFSET): Allow for getting
6939 return address for leaf functions out of r31 to support
6940 builtin_return_address.
6942 Tue Dec 1 15:03:30 1998 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
6944 * jump.c (jump_optimize): Call regs_set_between_p with PREV_INSN(x),
6945 NEXT_INSN(x) to check insn x.
6947 Tue Dec 1 15:20:44 1998 Jeffrey A Law (law@cygnus.com)
6949 * flow.c (delete_block): Call set_last_insn if we end up deleting the
6950 last insn in the rtl chain.
6952 * reload1.c (reload): Do not set reload_completed or split insns
6954 * toplev.c (rest_of_compilation): Set reload_completed after
6955 reload returns. Split insns after reload_cse has run.
6957 Tue Dec 1 11:55:04 1998 Richard Henderson <rth@cygnus.com>
6959 * final.c (final_scan_insn): Abort if block_depth falls below 0.
6961 Tue Dec 1 10:23:16 1998 Nick Clifton <nickc@cygnus.com>
6963 * config/arm/t-arm-elf (LIBGCC2_CFLAGS): Define inhibit_libc.
6965 Tue Dec 1 10:22:18 1998 Nick Clifton <nickc@cygnus.com>
6967 * config/arm/unknown-elf.h (ASM_OUTPUT_DWARF2_ADDR_CONST): Remove
6968 use of user-label_prefix.
6970 Tue Dec 1 17:58:26 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
6972 * reload1.c (emit_reload_insns): Clear spill_reg_store
6973 when doing a new non-inherited reload from the same pseudo.
6975 * local-alloc.c (function_invariant_p): New function.
6976 (update_equiv_regs): Use function_invariant_p instead of CONSTANT_P
6977 to decide if an equivalence should be recorded.
6978 * reload1.c (num_eliminable_invariants): New static variable.
6979 (reload): Set it. Use function_invariant_p instead of CONSTANT_P
6980 to decide if an equivalence should be recorded.
6982 (calculate_needs_all_insns): Skip insns that only set an equivalence.
6983 Take num_eliminable_invariants into account when deciding
6984 if register elimination should be done.
6985 (reload_as_needed): Take num_eliminable_invariants into account
6986 when deciding if register elimination should be done.
6987 (eliminate_regs): Handle non-constant reg_equiv_constant.
6988 * rtl.h (function_invariant_p): Declare.
6990 Mon Nov 30 02:00:08 PST 1998 Jeff Law (law@cygnus.com)
6992 * version.c: Bump for snapshot.
6994 Mon Nov 30 00:42:59 PST 1998 Jeff Law (law@cygnus.com)
6996 * version.c: Bump for snapshot.
6998 Sun Nov 29 22:59:40 1998 Jason Merrill <jason@yorick.cygnus.com>
7000 * except.c (add_new_handler): Complain about additional handlers
7001 after one that catches everything.
7003 Sat Nov 28 10:56:32 1998 Jeffrey A Law (law@cygnus.com)
7005 * configure.in (alpha*-*-netbsd): Fix typo.
7006 * configure: Rebuilt.
7008 Fri Nov 27 12:28:56 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
7010 * system.h: Include libiberty.h.
7012 * c-aux-info.c: Remove prototypes for concat/concat3. Change
7013 function `concat' from fixed parameters to variable parameters,
7014 as is done in libiberty. All callers of concat/concat3
7015 changed to use the new `concat' with variable args.
7017 * cccp.c: Remove things made redundant by libiberty.h and/or
7018 conform to libiberty standards.
7020 * collect2.c: Likewise.
7021 * config/1750a/1750a.h: Likewise.
7022 * cppalloc.c: Likewise.
7023 * cppexp.c: Likewise.
7024 * cppfiles.c: Likewise.
7025 * cpphash.c: Likewise.
7026 * cpplib.c: Likewise.
7027 * dyn-string.c: Likewise.
7028 * fix-header.c: Likewise.
7031 * genattr.c: Likewise.
7032 * genattrtab.c: Likewise.
7033 * gencheck.c: Likewise.
7034 * gencodes.c: Likewise.
7035 * genconfig.c: Likewise.
7036 * genemit.c: Likewise.
7037 * genextract.c: Likewise.
7038 * genflags.c: Likewise.
7039 * gengenrtl.c: Likewise.
7040 * genopinit.c: Likewise.
7041 * genoutput.c: Likewise.
7042 * genpeep.c: Likewise.
7043 * genrecog.c: Likewise.
7044 * getpwd.c: Likewise.
7045 * halfpic.c: Likewise.
7047 * mips-tdump.c: Likewise. Wrap malloc/realloc/calloc prototypes
7048 in NEED_DECLARATION_* macros.
7050 * mips-tfile.c: Remove things made redundant by libiberty.h and/or
7051 conform to libiberty standards.
7052 (fatal): Fix const-ification of variable `format' in
7053 !ANSI_PROTOTYPES case.
7055 * prefix.c: Remove things made redundant by libiberty.h and/or
7056 conform to libiberty standards.
7058 * print-rtl.c: Rename variable `spaces' to `xspaces' to avoid
7059 conflicting with function `spaces' from libiberty.
7061 * profile.c: Remove things made redundant by libiberty.h and/or
7062 conform to libiberty standards.
7063 * protoize.c: Likewise.
7066 * tlink.c: Likewise.
7067 * toplev.c: Likewise.
7068 * toplev.h: Likewise.
7071 Thu Nov 26 08:38:06 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
7073 * cppfiles.c (simplify_pathname): Un-ANSI-fy function definition.
7075 Thu Nov 26 23:45:37 1998 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
7077 * README.C4X: Updated URLs.
7078 * config/c4x/c4x.c (c4x_address_conflict): Fix typo.
7079 (valid_parallel_operands_5): Remove unused variable.
7081 Thu Nov 26 23:40:03 1998 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
7083 * config/c4x/c4x.h (TARGET_DEFAULT): Fix typo.
7085 1998-11-26 Manfred Hollstein <manfred@s-direktnet.de>
7087 * Makefile.in (CONFIG_LANGUAGES): New macro taking all languages
7088 which can be configured.
7089 (LANGUAGES): Use $(CONFIG_LANGUAGES) instead of @all_languages@
7090 (Makefile): Pass actual LANGUAGES through the environment when
7092 (cstamp-h): Likewise.
7093 (config.status): Likewise.
7095 * configure.in (enable_languages): Add new configuration parameter
7096 "--enable-languages=lang1,lang2,...".
7097 (${srcdir}/*/config-lang.in): Change handling to configure only
7098 those directories, that the user might have enabled; default to
7099 "all" existing languages.
7100 * configure: Regenerate.
7102 Thu Nov 26 00:19:19 1998 Richard Henderson <rth@cygnus.com>
7104 * rtlanal.c (regs_set_between_p): New function.
7105 * rtl.h (regs_set_between_p): Prototype it.
7106 * jump.c (jump_optimize): Use it instead of modified_between_p
7107 in the Sep 2 change.
7109 Wed Nov 25 23:32:02 1998 Ian Dall <Ian.Dall@dsto.defence.gov.au>
7110 Matthias Pfaller <leo@dachau.marco.de>
7112 * invoke.texi (Option Summary, NS32K Options): Add description
7113 of NS32K specific options.
7115 * ns32k.md (tstdf, cmpdf, movdf, truncdfsf2, fixdfqi2, fixdfhi2,
7116 fixdfsi2, fixunsdfqi2, fixunsdfhi2, fixunsdfsi2, fix_truncdfqi2,
7117 fix_truncdfhi2, fix_truncdfsi2, adddf3, subdf3, muldf3, divdf3,
7118 negdf2, absdf2): Use l instead of f since the double class and
7119 float class are no longer the same.
7120 (cmpsi, truncsiqi2, truncsihi2, addsi3, subsi3, mulsi3, umulsidi3,
7121 divsi3, modsi3, andsi3, iorsi3, xorsi3, negsi2, one_cmplsi2,
7122 ashlsi3, ashlhi3, ashlqi3, rotlsi3, rotlhi3, rotlqi3, abssi2,...):
7123 Use "g" instead of "rmn" since LEGITIMATE_PIC_OPERAND has been
7125 (cmpsi, cmphi, cmpqi): Use general_operand instead of
7126 non_immediate_operand. Removes erroneous assumption that can't
7128 (movsf, movsi, movhi, movqi,...): New register numbering scheme.
7129 (movsi, addsi3): Use NS32K_DISPLACEMENT_P instead of hard coded
7131 (movstrsi, movstrsi1, movstrsi2): Completely new block move
7133 (...): Patterns to exploit multiply-add instructions.
7134 (udivmodsi4, udivmodsi_internal4, udivmodhi4,
7135 udivmoddihi4_internal, udivmodqi4, udivmoddiqi4_internal): New
7136 patterns to exploit extended divide insns.
7137 (udivsi3, udivhi3, udivqi3): Remove since superseded by udivmodsi
7140 * ns32k.h (FUNCTION_VALUE, LIBCALL_VALUE): Use f0 for complex
7141 float return values as well as simple scalar floats.
7142 (TARGET_32381, TARGET_MULT_ADD, TARGET_SWITCHES):
7143 Support new flag to denote 32381 fpu.
7144 (OVERRIDE_OPTIONS): 32381 is a strict superset of 32081.
7145 (CONDITIONAL_REGISTER_USAGE): Disable extra 32381 registers if not
7146 compiling for 32381.
7147 (FIRST_PSEUDO_REGISTER, FIXED_REGISTERS, CALL_USED_REGISTERS,
7148 REGISTER_NAMES, ADDITIONAL_REGISTER_NAMES, OUTPUT_REGISTER_NAMES,
7149 REG_ALLOC_ORDER, DBX_REGISTER_NUMBER, R0_REGNUM, F0_REGNUM,
7150 L1_REGNUM, STACK_POINTER_REGNUM, FRAME_POINTER_REGNUM,
7151 LONG_FP_REGS_P, ARG_POINTER_REGNUM, reg_class, REG_CLASS_NAMES,
7152 REG_CLASS_CONTENTS, SUBSET_P,REGNO_REG_CLASS,
7153 REG_CLASS_FROM_LETTER, FUNCTION_PROLOGUE, FUNCTION_EPILOGUE,
7154 REGNO_OK_FOR_INDEX_P, FP_REG_P, REG_OK_FOR_INDEX_P,
7155 REG_OK_FOR_BASE_P, MEM_REG): New register scheme to include 32381
7156 fpu registers and special register classes for new 32381
7157 instructions dotf and polyf.
7158 (MODES_TIEABLE_P): Allow all integer modes, notably DI and SI, to
7160 (INCOMING_RETURN_ADDR_RTX, RETURN_ADDR_RTX,
7161 INCOMING_FRAME_SP_OFFSET): New macros in case DWARF support is
7163 (SMALL_REGISTER_CLASSES): Make dependent on -mmult-add option.
7164 (MOVE_RATIO): Set to zero because of smart movstrsi implementation.
7165 (REGISTER_MOVE_COST): Move code to register_move_cost function for
7166 ease of coding and debugging.
7167 (CLASS_LIKELY_SPILLED_P): Under new register scheme class
7168 LONG_FLOAT_REGO is likely spilled but not caught by default
7170 (CONSTANT_ADDRESS_P, CONSTANT_ADDRESS_NO_LABEL_P): Use macro
7171 instead of hard coded numbers in range check.
7172 (ASM_OUTPUT_LABELREF_AS_INT): Delete since unused.
7173 (...): Add prototypes for functions in ns32k.c but disable because
7174 of problems when ns32k.h is included in machine independent files.
7176 * ns32k.c: Include "system.h", "tree.h", "expr.h", "flags.h".
7177 (ns32k_reg_class_contents, regcass_map, ns32k_out_reg_names,
7178 hard_regno_mode_ok, secondary_reload_class,
7179 print_operand, print_operand_address): New register scheme to
7180 include 32381 fpu registers and special register classes for new
7181 32381 instructions dotf and polyf.
7182 (gen_indexed_expr): Make static to keep namespace clean.
7183 (check_reg): Remove since never called.
7184 (move_tail, expand_block_move): Helper functions for "movstrsi"
7186 (register_move_cost): Helper function for REGISTER_MOVE_COST macro.
7187 Increase cost of moves which go via memory.
7188 * netbsd.h (TARGET_DEFAULT): Set (new) 32381 fpu flag.
7189 (CPP_PREDEFINES): No longer predefine "unix".
7191 * ns32k.md (movsi, movsi, adddi3, subdi3, subsi3, subhi3, subqi3,...):
7192 Remove erroneous %$. print_operand() can work out from the rtx is
7193 an immediate prefix is required.
7195 * ns32k.h (RETURN_POPS_ARGS, VALID_MACHINE_DECL_ATTRIBUTE,
7196 VALID_MACHINE_TYPE_ATTRIBUTE, COMP_TYPE_ATTRIBUTES,
7197 SET_DEFAULT_TYPE_ATTRIBUTES): Support for -mrtd calling
7199 (LEGITIMATE_PIC_OPERAND_P, SYMBOLIC_CONST): Correct handling of
7202 * ns32k.c (symbolic_reference_mentioned_p, print_operand):
7203 Correct handling of pic operands.
7204 (ns32k_valid_decl_attribute_p, ns32k_valid_type_attribute_p,
7205 ns32k_comp_type_attributes, ns32k_return_pops_args): Support for
7206 -mrtd calling convention.
7208 Wed Nov 25 23:42:20 1998 Tom Tromey <tromey@cygnus.com>
7210 * gcc.c (option_map): Recognize --output-class-directory.
7212 Thu Nov 26 18:26:21 1998 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
7214 * loop.h (precondition_loop_p): Added new mode argument.
7215 * unroll.c (precondition_loop_p): Likewise.
7216 (approx_final_value): Function deleted and subsumed
7217 into loop_iterations.
7218 (loop_find_equiv_value): New function.
7219 (loop_iterations): Use loop_find_equiv_value to find increments
7220 too large to be immediate constants. Also use it to find terms
7221 common to initial and final iteration values that can be removed.
7223 Thu Nov 26 18:05:04 1998 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
7225 * loop.h (struct loop_info): Define new structure.
7226 (precondition_loop_p): Added prototype.
7227 (unroll_loop): Added new argument loop_info to prototype.
7228 (final_biv_value, final_giv_value): Added new argument n_iterations
7230 * loop.c (strength_reduce): Declare new structure loop_iteration_info
7231 and new pointer loop_info.
7232 (loop_n_iterations): Replace global variable by element in
7233 loop_info structure.
7234 (check_final_value): New argument n_iterations.
7235 (insert_bct): New argument loop_info.
7236 (loop_unroll_factor): Replace global array by element in
7237 loop_info structure.
7238 (loop_optimize): Remove code to allocate and initialize
7239 loop_unroll_factor_array.
7240 * unroll.c (precondition_loop_p): No longer static since
7241 used by branch on count optimization.
7242 (precondition_loop_p, unroll_loop): New argument loop_info.
7243 (final_biv_value, final_giv_value, find_splittable_regs): New
7244 argument n_iterations.
7245 (loop_iteration_var, loop_initial_value, loop_increment,
7246 loop_final_value, loop_comparison_code, loop_unroll_factor):
7247 Replaced global variables by loop_info structure.
7248 (loop_unroll_factor): Replace global array by element in
7249 loop_info structure.
7251 Thu Nov 26 17:49:29 1998 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
7253 * loop.c (check_dbra_loop): Update JUMP_LABEL field of jump insn
7256 * unroll.c (precondition_loop_p): Return loop_initial_value
7257 for initial_value instead of loop_iteration_var.
7259 Thu Nov 26 17:15:38 1998 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
7261 * config/c4x/c4x.md: Fix minor formatting problems. Update docs.
7262 (*b, *b_rev, *b_noov, *b_noov_rev, *db,
7263 decrement_and_branch_until_zero, rptb_end): Use c4x_output_cbranch
7264 to output the instruction sequences.
7266 (rptb_top): Provide alternatives to use any register or memory
7268 (rptb_end): Emit use of operands rather than assigning them
7269 explicitly to the RS and RE registers.
7271 Thu Nov 26 16:37:59 1998 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
7273 * config/c4x/c4x.c (c4x_modified_between_p, c4x_mem_set_p,
7274 c4x_mem_set_p, c4x_mem_modified_between_p, c4x_insn_moveable_p,
7275 c4x_parallel_pack, c4x_parallel_find, c4x_update_info_reg,
7276 c4x_update_info_regs, c4x_copy_insn_after, c4x_copy_insns_after,
7277 c4x_merge_notes, c4x_parallel_process,
7278 c4x_combine_parallel_independent, c4x_combine_parallel_dependent,
7279 c4x_combine_parallel): Delete.
7281 Thu Nov 26 15:16:05 1998 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
7283 * config/c4x/c4x.c (c4x_override_options): For compatibility
7284 with old target options clear flag_branch_on_count_reg if
7285 -mno-rptb specified and set flag_argument_alias is -mno-aliases
7287 (c4x_output_cbranch): Handle a sequence of insns rather than a
7289 (c4x_rptb_insert): Do not emit a RPTB insn if the RC register
7290 has not been allocated as the loop counter.
7291 (c4x_address_conflict): Do not allow two volatile memory references.
7292 (valid_parallel_operands_4, valid_parallel_operands_5,
7293 valid_parallel_operands_6): Reject pattern if the register destination
7294 of the first set is used as part of an address in the second set.
7296 Thu Nov 26 14:56:32 1998 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
7298 * config/c4x/c4x.h (TARGET_DEFAULT): Add PARALEL_MPY_FLAG.
7299 (TARGET_SMALL_REG_CLASS): Set to 0 so that SMALL_REGISTER_CLASSES
7300 is no longer enabled if PARALLEL_MPY_FLAG set.
7301 (HARD_REGNO_CALL_CLOBBERED): Add parentheses to remove ambiguity.
7302 (REG_CLASS_CONTENTS): Add braces around initializers.
7303 (HAVE_MULTIPLE_PACK): Define.
7304 (ASM_OUTPUT_BYTE_FLOAT): Use %lf format specifier with
7305 REAL_VALUE_TO_DECIMAL.
7306 (ASM_OUTPUT_SHORT_FLOAT): Use %lf format specifier with
7307 REAL_VALUE_TO_DECIMAL.
7308 (ar0_reg_operand): Add prototype.
7309 (ar0_mem_operand): Likewise.
7310 (ar1_reg_operand): Likewise.
7311 (ar1_mem_operand): Likewise.
7312 (ar2_reg_operand): Likewise.
7313 (ar2_mem_operand): Likewise.
7314 (ar3_reg_operand): Likewise.
7315 (ar3_mem_operand): Likewise.
7316 (ar4_reg_operand): Likewise.
7317 (ar4_mem_operand): Likewise.
7318 (ar5_reg_operand): Likewise.
7319 (ar5_mem_operand): Likewise.
7320 (ar6_reg_operand): Likewise.
7321 (ar6_mem_operand): Likewise.
7322 (ar7_reg_operand): Likewise.
7323 (ar7_mem_operand): Likewise.
7324 (ir0_reg_operand): Likewise.
7325 (ir0_mem_operand): Likewise.
7326 (ir1_reg_operand): Likewise.
7327 (ir1_mem_operand): Likewise.
7328 (group1_reg_operand): Likewise.
7329 (group1_mem_operand): Likewise.
7330 (ir1_reg_operand): Likewise.
7331 (arx_reg_operand): Likewise.
7332 (not_rc_reg): Likewise.
7333 (not_modify_reg): Likewise.
7334 (c4x_group1_reg_operand): Remove prototype.
7335 (c4x_group1_mem_operand): Likewise.
7336 (c4x_arx_reg_operand): Likewise.
7338 Wed Nov 25 19:02:55 1998 (Stephen L Moshier) <moshier@world.std.com>
7340 * emit-rtl.c (gen_lowpart_common): Remove earlier change.
7341 * real.c (make_nan): Make SIGN arg actually specify the sign bit.
7343 Thu Nov 26 14:12:05 1998 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
7345 * config/c4x/c4x.md (addqi3): Emit addqi3_noclobber pattern
7348 Wed Nov 25 22:05:28 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
7350 * config/sh/lib1funcs.asm (___udivsi3_i4): Don't switch to sz == 1
7351 unless FMOVD_WORKS is defined.
7353 Wed Nov 25 20:11:04 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
7355 * regclass.c (init_reg_sets): Move code that calculates tables
7356 dependent on reg_class_contents from here...
7357 (init_reg_sets_1): To here.
7359 Wed Nov 25 14:54:46 1998 Zack Weinberg <zack@rabi.phys.columbia.edu>
7361 * cpplib.h: Delete struct import_file. Add ihash element to
7362 struct cpp_buffer. Delete dont_repeat_files and
7363 import_hash_table elements from cpp_reader; change
7364 all_include_files to a hash table. Delete all foobar_include
7365 / last_foobar_include elements from struct cpp_options; put
7366 back four such: quote_include, bracket_include,
7367 system_include, after_include. Redo struct file_name_list
7368 completely. Add new structure type include_hash. Add
7369 prototypes for merge_include_chains and include_hash. Change
7370 prototypes for finclude, find_include_file, and
7371 append_include_chain to match changes below.
7373 * cppfiles.c (simplify_pathname, include_hash,
7374 remap_filename, merge_include_chains): New functions.
7375 (add_import, lookup_import, open_include_file): Removed.
7376 (INO_T_EQ): Define this (copied from cccp.c).
7377 (hack_vms_include_specification): Remove all calls and #if 0
7378 out the definition. It was being called incorrectly and at
7379 the wrong times. Until a VMSie can look at this, it's better
7380 to not pretend to support it.
7381 (append_include_chain): Change calling convention; now takes
7382 only one directory at a time, and sets up the data structure
7384 (redundant_include_p): Rewritten - this is now used for all
7385 include redundancy, whether by #ifndef, #import, or #pragma
7386 once. Looks up things in the include hash table.
7387 (file_cleanup): Decrement pfile->system_include_depth here if
7389 (find_include_file): Calling convention changed; now passes
7390 around a struct include_hash instead of 3 separate parameters.
7391 Guts ripped out and replaced with new include_hash mechanism.
7392 (finclude): Calling convention changed as for
7393 find_include_file. Error exits pulled out-of-line. Reformat.
7394 (safe_read): Return a long, not an int.
7395 (deps_output): Don't recurse.
7397 * cpplib.c (is_system_include): Deleted.
7398 (path_include): Fix up call to append_include_chain.
7399 (do_include): Fix up calls to find_include_file and finclude.
7400 Clean up dependency output a bit. Shorten obnoxiously lengthy
7401 #import warning message. Don't decrement
7402 pfile->system_include_depth here.
7403 (do_pragma): Understand the include_hash structure. Reformat.
7404 (do_endif): Correct handling of control macros. Understand
7406 (cpp_start_read): Fix up calls to finclude. Call
7407 merge_include_chains.
7408 (cpp_handle_option): Fix up calls to append_include_chain.
7409 Understand the four partial include chains.
7410 (cpp_finish): Add debugging code (#if 0-ed out) for the
7412 (cpp_cleanup): Free the include_hash, not the import hash and
7413 the all_include and dont_repeat lists which no longer exist.
7415 Wed Nov 25 11:26:19 1998 Jeffrey A Law (law@cygnus.com)
7417 * toplev.c (no_new_pseudos): Define.
7418 (rest_of_compilation): Set no_new_pseudos as needed.
7419 * emit-rtl.c (gen_reg_rtx): Abort if we try to create a new pseudo
7420 if no_new_pseudos is set.
7421 * rtl.h (no_new_pseudos): Declare it.
7422 * reload1.c (reload): Update comments.
7423 * md.texi: Corresponding changes.
7425 Wed Nov 25 11:26:17 1998 Bernd Schmidt <crux@pool.informatik.rwth-aachen.de>
7427 * reload1.c (reg_used_in_insn): Renamed from reg_used_by_pseudo.
7428 (choose_reload_regs): Rename it here as well. When computing it,
7429 also merge in used hardregs.
7431 1998-11-25 07:51 -0500 Zack Weinberg <zack@rabi.phys.columbia.edu>
7433 * gcc.c: Split out Objective-C specs to...
7434 * objc/lang-specs.h: here. (New file.) Make the specs cpplib
7437 * c-lex.c (init_parse): Always initialize the filename global.
7438 * objc/objc-act.c (lang_init): Always call check_newline at
7441 Wed Nov 25 00:48:29 1998 Graham <grahams@rcp.co.uk>
7443 * reload1.c (reload): Remove unused variable.
7444 (reload_reg_free_for_value_p): Add missing parameter definition.
7446 * jump.c (jump_optimize): Remove unused variable.
7448 Wed Nov 25 00:07:11 1998 Jeffrey A Law (law@cygnus.com)
7450 * Makefile.in (graph.o): Depend on $(RTL_H), not rtl.h.
7452 * cse.c (fold_rtx): Make autoincrement addressing mode tests be
7454 * expr.c (move_by_pieces): Similarly.
7455 (move_by_pieces_1, clear_by_pieces, clear_by_pieces_1): Similarly.
7456 * flow.c (find_auto_inc): Similarly.
7457 (try_pre_increment): Similarly.
7458 * loop.c (strength_reduce): Similarly.
7459 * regclass.c (auto_inc_dec_reg_p): Similarly.
7460 * regmove.c (try_auto_increment): Similarly.
7461 (fixup_match_1): Similarly.
7462 * rtl.h (HAVE_PRE_INCREMENT): Define if not already defined.
7463 (HAVE_PRE_DECREMENT): Similarly.
7464 (HAVE_POST_INCREMENT, HAVE_POST_DECREMENT): Similarly.
7465 * Corresponding changes to all target header files.
7466 * tm.texi: Update docs for autoinc addressing modes.
7468 Tue Nov 24 20:24:59 1998 Jim Wilson <wilson@cygnus.com>
7470 * configure.in (m68020-*-elf*, m68k-*-elf*): New targets.
7471 * configure: Rebuild.
7472 * config/elfos.h: New file.
7473 * config/m68k/m68020-elf.h, config/m68k/m68kelf.h,
7474 config/m68k/t-m68kelf: New file.
7476 Tue Nov 24 13:40:06 1998 Jeffrey A Law (law@cygnus.com)
7478 * Makefile.in (HOST_AR): Define.
7479 (HOST_AR_FLAGS, HOST_RANLIB, HOST_RANLIB_TEST): Similarly.
7480 (libcpp.a): Use the host tools explicitly.
7481 (STAGESTUFF): Add libcpp.a.
7483 Tue Nov 24 09:33:49 1998 Nick Clifton <nickc@cygnus.com>
7485 * config/m32r/m32r.md (movstrsi_internal): Describe changes made
7486 to source and destination registers.
7488 Mon Nov 23 20:28:02 1998 Mike Stump <mrs@wrs.com>
7490 * libgcc2.c (top_elt): Remove top_elt, it isn't thread safe.
7491 The strategy we now use is to pre allocate the top_elt along
7492 with the EH context so that each thread has its own top_elt.
7493 This is necessary as the dynamic cleanup chain is used on the
7494 top element of the stack and each thread MUST have its own.
7495 (eh_context_static): Likewise.
7496 (new_eh_context): Likewise.
7497 (__sjthrow): Likewise.
7499 Mon Nov 23 20:25:03 1998 Jason Merrill <jason@yorick.cygnus.com>
7501 * i386/linux.h (ASM_OUTPUT_MAX_SKIP_ALIGN): Wrap in do...while.
7502 * i386.md (prologue_get_pc): Remove unused variable.
7504 Mon Nov 23 17:05:40 1998 Geoffrey Noer <noer@cygnus.com>
7506 * i386/xm-cygwin.h: Rename cygwin_ path funcs back to cygwin32_.
7508 Mon Nov 23 16:40:00 1998 Ulrich Drepper <drepper@cygnus.com>
7510 * Makefile.in (OBJS): Add graph.o.
7511 (graph.o): New dependency list.
7512 * flags.h: Declare dump_for_graph and define graph_dump_types type.
7513 * print-rtl.c (dump_for_graph): Define new variable.
7514 (print_rtx): Rewrite to allow use in graph dumping functions.
7515 * toplev.c: Declare print_rtl_graph_with_bb, clean_graph_dump_file,
7516 finish_graph_dump_file.
7517 Define graph_dump_format.
7518 (compile_file): If graph dumping is enabled also clear these files.
7519 Finish graph dump files.
7520 (rest_of_compilation): Also dump graph information if enabled.
7521 (main): Recognize -dv to enabled VCG based graph dumping.
7522 * graph.c: New file. Graph dumping functions.
7524 Mon Nov 23 16:39:04 1998 Richard Henderson <rth@cygnus.com>
7526 * configure.in: Look for <sys/stat.h>.
7527 * system.h: Include it before substitute S_ISREG definitions.
7529 Mon Nov 23 17:40:37 1998 Gavin Romig-Koch <gavin@cygnus.com>
7531 * config/mips/abi.h: Use ABI_O64, duplicating ABI_32 usage.
7532 * config/mips/iris6.h: Same.
7533 * config/mips/mips.md: Same.
7534 * config/mips/mips.c: Same; also add "-mabi=o64" option.
7535 * config/mips/mips.h: Same; also define ABI_O64.
7537 Mon Nov 23 17:02:27 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
7539 * configure.in: Use AC_PREREQ(2.12.1).
7541 Mon Nov 23 10:16:38 1998 "Melissa O'Neill" <oneill@cs.sfu.ca>
7543 * cccp.c (S_ISREG, S_ISDIR): Delete defines.
7544 * cpplib.c, gcc.c: Likewise.
7545 * system.h (S_ISREG, S_ISDIR): Define if not already defined.
7547 Mon Nov 23 09:53:44 1998 Richard Henderson <rth@cygnus.com>
7549 * local-alloc.c (local_alloc): Use malloc not alloca for
7550 reg_qty, reg_offset, ref_next_in_qty.
7552 Mon Nov 23 16:46:46 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
7554 * caller-save.c (insert_one_insn): Initialize the live_before and
7555 live_after register sets.
7559 * config/sh/lib1funcs.asm (___movstr_i4_even, ___movstr_i4_odd): Define.
7560 (___movstrSI12_i4, ___sdivsi3_i4, ___udivsi3_i4): Define.
7561 * sh.c (reg_class_from_letter, regno_reg_class): Add DF_REGS.
7562 (fp_reg_names, assembler_dialect): New variables.
7563 (print_operand_address): Handle SUBREGs.
7564 (print_operand): Added 'o' case.
7565 Don't use adj_offsettable_operand on PRE_DEC / POST_INC.
7566 Name of FP registers depends on mode.
7567 (expand_block_move): Emit different code for SH4 hardware.
7568 (prepare_scc_operands): Use emit_sf_insn / emit_df_insn as appropriate.
7569 (from_compare): Likewise.
7570 (add_constant): New argument last_value. Changed all callers.
7571 (find_barrier): Don't try HImode load for FPUL_REG.
7572 (machine_dependent_reorg): Likewise.
7573 (sfunc_uses_reg): A CLOBBER cannot be the address register use.
7574 (gen_far_branch): Emit a barrier after the new jump.
7575 (barrier_align): Don't trust instruction lengths before
7577 (machine_dependent_reorg): Add support for FIRST_XD_REG .. LAST_XD_REG.
7578 Use auto-inc addressing for fp registers if doubles need to
7579 be loaded in two steps.
7580 Set sh_flag_remove_dead_before_cse.
7581 (push): Support for TARGET_FMOVD. Use gen_push_fpul for fpul.
7582 (pop): Support for TARGET_FMOVD. Use gen_pop_fpul for fpul.
7583 (calc_live_regs): Support for TARGET_FMOVD. Don't save FPSCR.
7584 Support for FIRST_XD_REG .. LAST_XD_REG.
7585 (sh_expand_prologue): Support for FIRST_XD_REG .. LAST_XD_REG.
7586 (sh_expand_epilogue): Likewise.
7587 (sh_builtin_saveregs): Use DFmode moves for fp regs on SH4.
7588 (initial_elimination_offset): Take TARGET_ALIGN_DOUBLE into account.
7589 (arith_reg_operand): FPUL_REG is OK for SH4.
7590 (fp_arith_reg_operand, fp_extended_operand) New functions.
7591 (tertiary_reload_operand, fpscr_operand): Likewise.
7592 (commutative_float_operator, noncommutative_float_operator): Likewise.
7593 (binary_float_operator, get_fpscr_rtx, emit_sf_insn): Likewise.
7594 (emit_df_insn, expand_sf_unop, expand_sf_binop): Likewise.
7595 (expand_df_unop, expand_df_binop, expand_fp_branch): Likewise.
7596 (emit_fpscr_use, mark_use, remove_dead_before_cse): Likewise.
7597 * sh.h (CPP_SPEC): Add support for -m4, m4-single, m4-single-only.
7598 (CONDITIONAL_REGISTER_USAGE): Likewise.
7599 (HARD_SH4_BIT, FPU_SINGLE_BIT, SH4_BIT, FMOVD_BIT): Define.
7600 (TARGET_CACHE32, TARGET_SUPERSCALAR, TARGET_HARWARD): Define.
7601 (TARGET_HARD_SH4, TARGET_FPU_SINGLE, TARGET_SH4, TARGET_FMOVD): Define.
7602 (target_flag): Add -m4, m4-single, m4-single-only, -mfmovd.
7603 (OPTIMIZATION_OPTIONS): If optimizing, set flag_omit_frame_pointer
7604 to -1 and sh_flag_remove_dead_before_cse to 1.
7605 (ASSEMBLER_DIALECT): Define to assembler_dialect.
7606 (assembler_dialect, fp_reg_names): Declare.
7607 (OVERRIDE_OPTIONS): Add code for TARGET_SH4.
7608 Hide names of registers that are not accessible.
7609 (CACHE_LOG): Take TARGET_CACHE32 into account.
7610 (LOOP_ALIGN): Take TARGET_HARWARD into account.
7611 (FIRST_XD_REG, LAST_XD_REG, FPSCR_REG): Define.
7612 (FIRST_PSEUDO_REGISTER: Now 49.
7613 (FIXED_REGISTERS, CALL_USED_REGISTERS): Include values for registers.
7614 (HARD_REGNO_NREGS): Special treatment of FIRST_XD_REG .. LAST_XD_REG.
7615 (HARD_REGNO_MODE_OK): Update.
7616 (enum reg_class): Add DF_REGS and FPSCR_REGS.
7617 (REG_CLASS_NAMES, REG_CLASS_CONTENTS, REG_ALLOC_ORDER): Likewise.
7618 (SECONDARY_OUTPUT_RELOAD_CLASS, SECONDARY_INPUT_RELOAD_CLASS): Update.
7619 (CLASS_CANNOT_CHANGE_SIZE, DEBUG_REGISTER_NAMES): Define.
7620 (NPARM_REGS): Eight floating point parameter registers on SH4.
7621 (BASE_RETURN_VALUE_REG): SH4 also passes double values
7622 in floating point registers.
7623 (GET_SH_ARG_CLASS) Likewise.
7624 Complex float types are also returned in float registers.
7625 (BASE_ARG_REG): Complex float types are also passes in float registers.
7626 (FUNCTION_VALUE): Change mode like PROMOTE_MODE does.
7627 (LIBCALL_VALUE): Remove trailing semicolon.
7628 (ROUND_REG): Round when double precision value is passed in floating
7630 (FUNCTION_ARG_ADVANCE): No change wanted for SH4 when things are
7631 passed on the stack.
7632 (FUNCTION_ARG): Little endian adjustment for SH4 SFmode.
7633 (FUNCTION_ARG_PARTIAL_NREGS): Zero for SH4.
7634 (TRAMPOLINE_ALIGNMENT): Take TARGET_HARWARD into account.
7635 (INITIALIZE_TRAMPOLINE): Emit ic_invalidate_line for TARGET_HARWARD.
7636 (MODE_DISP_OK_8): Not for SH4 DFmode.
7637 (GO_IF_LEGITIMATE_ADDRESS): No base reg + index reg for SH4 DFmode.
7638 Allow indexed addressing for PSImode after reload.
7639 (LEGITIMIZE_ADDRESS): Not for SH4 DFmode.
7640 (LEGITIMIZE_RELOAD_ADDRESS): Handle SH3E SFmode.
7641 Don't change SH4 DFmode nor PSImode RELOAD_FOR_INPUT_ADDRESS.
7642 (DOUBLE_TYPE_SIZE): 64 for SH4.
7643 (RTX_COSTS): Add PLUS case.
7644 Increase cost of ASHIFT, ASHIFTRT, LSHIFTRT case.
7645 (REGISTER_MOVE_COST): Add handling of R0_REGS, FPUL_REGS, T_REGS,
7646 MAC_REGS, PR_REGS, DF_REGS.
7647 (REGISTER_NAMES): Use fp_reg_names.
7648 (enum processor_type): Add PROCESSOR_SH4.
7649 (sh_flag_remove_dead_before_cse): Declare.
7650 (rtx_equal_function_value_matters, fpscr_rtx, get_fpscr_rtx): Declare.
7651 (PREDICATE_CODES): Add binary_float_operator,
7652 commutative_float_operator, fp_arith_reg_operand, fp_extended_operand,
7653 fpscr_operand, noncommutative_float_operator.
7654 (ADJUST_COST): Use different scale for TARGET_SUPERSCALAR.
7655 (SH_DYNAMIC_SHIFT_COST): Cheaper for SH4.
7656 * sh.md (attribute cpu): Add value sh4.
7657 (attrbutes fmovd, issues): Define.
7658 (attribute type): Add values dfp_arith, dfp_cmp, dfp_conv, dfdiv.
7659 (function units memory, int, mpy, fp): Make dependent on issue rate.
7660 (function units issue, single_issue, load_si, load): Define.
7661 (function units load_store, fdiv, gp_fpul): Define.
7662 (attribute hit_stack): Provide proper default.
7663 (use_sfunc_addr+1, udivsi3): Predicated on ! TARGET_SH4.
7664 (udivsi3_i4, udivsi3_i4_single, divsi3_i4, divsi3_i4_single): New insns.
7665 (udivsi3, divsi3): Emit special patterns for SH4 hardware,
7666 (mulsi3_call): Now uses match_operand for function address.
7667 (mulsi3): Also emit code for SH1 case. Wrap result in REG_LIBCALL /
7669 (push, pop, push_e, pop_e): Now define_expands.
7670 (push_fpul, push_4, pop_fpul, pop_4, ic_invalidate_line): New expanders.
7671 (movsi_ie): Added y/i alternative.
7672 (ic_invalidate_line_i, movdf_i4): New insns.
7673 (movdf_i4+[123], reload_outdf+[12345], movsi_y+[12]): New splitters.
7674 (reload_indf, reload_outdf, reload_outsf, reload_insi): New expanders.
7675 (movdf): Add special code for SH4.
7676 (movsf_ie, movsf_ie+1, reload_insf, calli): Make use of fpscr visible.
7677 (call_valuei, calli, call_value): Likewise.
7678 (movsf): Emit no-op move.
7679 (mov_nop, movsi_y): New insns.
7680 (blt, sge): Generalize to handle DFmode.
7681 (return predicate): Call emit_fpscr_use and remove_dead_before_cse.
7682 (block_move_real, block_lump_real): Predicate on ! TARGET_HARD_SH4.
7683 (block_move_real_i4, block_lump_real_i4, fpu_switch): New insns.
7684 (fpu_switch0, fpu_switch1, movpsi): New expanders.
7685 (fpu_switch+[12], fix_truncsfsi2_i4_2+1): New splitters.
7686 (toggle_sz): New insn.
7687 (addsf3, subsf3, mulsf3, divsf3): Now define_expands.
7688 (addsf3_i, subsf3_i, mulsf3_i4, mulsf3_ie, divsf3_i): New insns.
7689 (macsf3): Make use of fpscr visible. Disable for SH4.
7690 (floatsisf2): Make use of fpscr visible.
7691 (floatsisf2_i4): New insn.
7692 (floatsisf2_ie, fixsfsi, cmpgtsf_t, cmpeqsf_t): Disable for SH4.
7693 (ieee_ccmpeqsf_t): Likewise.
7694 (fix_truncsfsi2): Emit different code for SH4.
7695 (fix_truncsfsi2_i4, fix_truncsfsi2_i4_2, cmpgtsf_t_i4): New insns.
7696 (cmpeqsf_t_i4, ieee_ccmpeqsf_t_4): New insns.
7697 (negsf2, sqrtsf2, abssf2): Now expanders.
7698 (adddf3, subdf3i, muldf2, divdf3, floatsidf2): New expanders.
7699 (negsf2_i, sqrtsf2_i, abssf2_i, adddf3_i, subdf3_i): New insns.
7700 (muldf3_i, divdf3_i, floatsidf2_i, fix_truncdfsi2_i): New insns.
7701 (fix_truncdfsi2, cmpdf, negdf2, sqrtdf2, absdf2): New expanders.
7702 (fix_truncdfsi2_i4, cmpgtdf_t, cmpeqdf_t, ieee_ccmpeqdf_t): New insns.
7703 (fix_truncdfsi2_i4_2+1): New splitters.
7704 (negdf2_i, sqrtdf2_i, absdf2_i, extendsfdf2_i4): New insns.
7705 (extendsfdf2, truncdfsf2): New expanders.
7706 (truncdfsf2_i4): New insn.
7707 * t-sh (LIB1ASMFUNCS): Add _movstr_i4, _sdivsi3_i4, _udivsi3_i4.
7708 (MULTILIB_OPTIONS): Add m4-single-only/m4-single/m4.
7709 * float-sh.h: When testing for __SH3E__, also test for
7710 __SH4_SINGLE_ONLY__ .
7711 * va-sh.h (__va_freg): Define to float.
7712 (__va_greg, __fa_freg, __gnuc_va_list, va_start):
7713 Define for __SH4_SINGLE_ONLY__ like for __SH3E__ .
7714 (__PASS_AS_FLOAT, __TARGET_SH4_P): Likewise.
7715 (__PASS_AS_FLOAT): Use different definition for __SH4__ and
7717 (TARGET_SH4_P): Define.
7720 * sh.md (movdf_k, movsf_i): Tweak the condition so that
7721 init_expr_once is satisfied about the existence of load / store insns.
7723 * sh.md (movsi_i, movsi_ie, movsi_i_lowpart, movsf_i, movsf_ie):
7724 Change m constraint in source operand to mr / mf.
7726 * va-sh.h (__va_arg_sh1): Use __asm instead of asm.
7728 * (__VA_REEF): Define.
7729 (__va_arg_sh1): Use it.
7731 * va-sh.h (va_start, va_arg, va_copy): Add parentheses.
7733 Sun Nov 22 21:34:02 1998 Jeffrey A Law (law@cygnus.com)
7735 * i386/dgux.c (struct option): Add new "description field".
7736 * m88k/m88k.c (struct option): Likewise.
7738 Sun Nov 22 16:07:57 PST 1998 Jeff Law (law@cygnus.com)
7740 * version.c: Bump for snapshot.
7742 Sun Nov 22 13:40:02 1998 Bernd Schmidt <crux@pool.informatik.rwth-aachen.de>
7744 * regmove.c (regmove_profitable_p): Use return value of find_matches
7747 Sun Nov 22 02:47:37 PST 1998 Jeff Law (law@cygnus.com)
7749 * version.c: Bump for snapshot.
7751 Sat Nov 21 22:12:09 1998 Jeffrey A Law (law@cygnus.com)
7753 * reload1.c (eliminate_regs): Do not lose if eliminate_regs is called
7754 without reload having been called earlier.
7756 * v850.c (ep_memory_operand): Offsets < 0 are not valid for EP
7758 (v850_reorg): Similarly.
7760 * loop.c (check_dbra_loop): Avoid using gen_add2_insn.
7762 Sat Nov 21 02:18:38 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
7764 * loop.c (move_movables): Start of libcall might be new loop start.
7766 Fri Nov 20 12:14:16 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
7768 * hash.c (hash_table_init_n): Wrap prototype arguments in PARAMS().
7770 Fri Nov 20 08:34:00 1998 Bernd Schmidt <crux@pool.informatik.rwth-aachen.de>
7772 * function.c (nonlocal_goto_handler_slots): Renamed from
7773 nonlocal_goto_handler_slot; now an EXPR_LIST chain.
7774 (push_function_context_to): Adjust for this change.
7775 (pop_function_context_from): Likewise.
7776 (init_function_start): Likewise.
7777 (expand_function_end): Likewise.
7778 * function.h (struct function): Likewise.
7779 * calls.c (expand_call): Likewise.
7780 * explow.c (allocate_dynamic_stack_space): Likewise.
7781 * expr.h (nonlocal_goto_handler_slots): Rename its declaration.
7782 * stmt.c (declare_nonlocal_label): Make a new handler slot for each
7784 (expand_goto): When doing a nonlocal goto, find corresponding handler
7785 slot for it. Don't put the label address in the static chain register.
7786 (expand_end_bindings): Break out nonlocal goto handling code into
7787 three new functions.
7788 (expand_nl_handler_label, expand_nl_goto_receiver,
7789 expand_nl_goto_receivers): New static functions, broken out of
7790 expand_end_bindings and adapted to create one handler per nonlocal
7792 * function.c (delete_handlers): Delete insn if it references any of
7793 the nonlocal goto handler slots.
7794 * i960.md (nonlocal_goto): Comment out code that modifies
7796 * sparc.md (nonlocal_goto): Likewise.
7797 (goto_handler_and_restore_v9): Comment out.
7798 (goto_handler_and_restore_v9_sp64): Comment out.
7800 Thu Nov 19 23:44:38 1998 Bernd Schmidt <crux@pool.informatik.rwth-aachen.de>
7802 * expr.c (STACK_BYTES): Delete unused macro.
7803 * calls.c: Provide default for PREFERRED_STACK_BOUNDARY.
7804 (STACK_BYTES): Use PREFERRED_STACK_BOUNDARY, not STACK_BOUNDARY.
7805 (expand_call): Likewise.
7806 (emit_library_call): Likewise.
7807 (emit_library_call_value): Likewise.
7808 * function.c: Provide default for PREFERRED_STACK_BOUNDARY.
7809 (STACK_BYTES): Use PREFERRED_STACK_BOUNDARY, not STACK_BOUNDARY.
7810 * explow.c: Provide default for PREFERRED_STACK_BOUNDARY.
7811 (round_push): Use PREFERRED_STACK_BOUNDARY, not STACK_BOUNDARY.
7812 (allocate_dynamic_stack_space): Likewise.
7813 * tm.texi (PREFERRED_STACK_BOUNDARY): Document new macro.
7814 (STACK_BOUNDARY): Update description to reflect the new situation.
7816 Thu Nov 19 22:20:51 1998 Jeffrey A Law (law@cygnus.com)
7818 * reorg.c (relax_delay_slots): When optimizing for code size, if a
7819 return with a filled delay slot is followed by a return with an
7820 unfilled delay slot, delete the first return and reemit the insn
7821 that was previously in its delay slot.
7823 * i860.c (single_insn_src_p): Add missing parens.
7824 * ginclude/math-3300.h: Likewise.
7826 Thu Nov 19 20:55:59 1998 H.J. Lu (hjl@gnu.org)
7828 * regclass.c (init_reg_sets_1): Add prototype.
7829 (init_reg_modes): Likewise.
7831 1998-11-19 Zack Weinberg <zack@rabi.phys.columbia.edu>
7833 * c-common.c: Change warning messages to say `comparison is
7834 always true' or `comparison is always false' instead of the
7835 confusing `is always 0', `is always 1'.
7837 Thu Nov 19 19:05:49 1998 Per Bothner <bothner@cygnus.com>
7839 * print-tree.c (print_node): After printing BLOCK or BIND_EXPR,
7840 break instead of return (which loses closing '>').
7842 Thu Nov 19 19:34:13 1998 Jeffrey A Law (law@cygnus.com)
7844 * i386.h (LEGITIMATE_CONSTANT_P): Reject CONST_DOUBLEs that are not
7845 standard 387 constants.
7847 * i386.md (jump): Explicitly set "memory" attribute.
7848 (indirect_jump, prologue_set_stack_ptr): Likewise.
7849 (prologue_get_pc_and_set_got, pop): Likewise.
7850 (allocate_stack_worder, blockage, return_internal): Likewise.
7851 (return_pop_internal, nop): Likewise.
7852 (epilogue_set_stack_ptr, leave): Likewise.
7854 Thu Nov 19 15:42:54 1998 Nick Clifton <nickc@cygnus.com>
7856 * config/arm/coff.h: Set USER_LABEL_PREFIX to "_".
7858 Thu Nov 19 23:20:59 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
7860 * reload1.c (reload_reg_free_for_value_p):
7861 Early auto_inc reloads don't conflict with outputs.
7863 Thu Nov 19 12:58:55 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
7865 * configure.in: Don't do AC_CHECK_HEADERS(wait.h sys/wait.h).
7866 Instead call AC_HEADER_SYS_WAIT.
7868 * collect2.c: Don't provide defaults for sys/wait.h macros.
7870 * protoize.c: Likewise. Also, don't include sys/wait.h.
7872 * system.h: Include sys/wait.h and provide macro defaults.
7874 1998-11-19 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
7876 * Makefile.in (mandir): Set to @mandir@.
7877 (man1dir): New variable to hold the former value of $(mandir).
7878 Replace all uses of $(mandir) by $(man1dir).
7880 Wed Nov 18 16:31:28 1998 Jim Wilson <wilson@cygnus.com>
7882 * reload.c (find_reloads_address_part): If have a CONST_INT, create
7883 a new one before passing it to force_const_mem.
7885 * reload.c (find_reloads_toplev): Pass &x instead of NULL_PTR in
7886 find_reloads_address call.
7888 Wed Nov 18 22:13:00 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
7890 * expr.c (store_expr): Don't generate load-store pair
7891 if TEMP is identical (according to ==) with TARGET.
7893 Tue Nov 17 22:25:16 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
7895 * reload1.c (reload_reg_free_for_value_p): When considered reload
7896 has an output, matching inputs are not sufficient to avoid conflict.
7898 Tue Nov 17 11:51:16 1998 Mark Mitchell <mark@markmitchell.com>
7900 * hash.h (hash_table_key): New type.
7901 (hash_entry): Change `string' field to generic `key'.
7902 (hash_table): Add `comp' and `hash' functions.
7903 (hash_table_init): Take them as input.
7904 (hash_table_init_n): Likewise.
7905 (hash_lookup): Modify for generic keys.
7906 (hash_newfunc): Likewise.
7907 (hash_traverse): Likewise.
7908 (string_hash): New function.
7909 (string_compare): Likewise.
7910 (string_copy): Likewise.
7911 * hash.c (hash_table_init_n): Modify for generic keys.
7912 (hash_table_init): Likewise.
7913 (hash_lookup): Likewise.
7914 (hash_newfunc): Likewise.
7915 (hash_traverse): Likewise.
7916 (string_hash): Split out from hash_lookup.
7917 (string_compare): New function.
7918 (string_copy): Split out from hash_lookup.
7919 * tlink.c (symbol_hash_newfunc): Modify for new interfaces to hash
7921 (symbol_hash_lookup): Likewise.
7922 (file_hash_newfunc): Likewise.
7923 (file_hash_lookup): Likewise.
7924 (demangled_hash_newfunc): Likewise.
7925 (demangled_hash_lookup): Likewise.
7926 (tlink_int): Likewise.
7927 (read_repo_file): Likewise.
7928 (recompile_files): Likewise.
7929 (demangle_new_symbols): Likewise.
7930 (scan_linker_output): Likewise.
7932 Tue Nov 17 17:13:53 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
7934 * flow.c (insn_dead_p): New argument NOTES. Changed all callers.
7936 Mon Nov 16 17:56:07 1998 David Edelsohn <edelsohn@gnu.org>
7938 * rs6000.c (output_mi_thunk): Improve test for local branch.
7940 Mon Nov 16 17:56:07 1998 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
7942 * rs6000.c (output_mi_thunk): Correct test for aggregate values.
7944 Mon Nov 16 21:02:52 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
7946 * reload1.c (reload_reg_free_before_p): Delete.
7947 Changed all callers to use reload_reg_free_for_value_p instead.
7948 (reload_reg_free_for_value_p): Handle more reload types.
7949 A RELOAD_FOR_INPUT doesn't conflict with its
7950 RELOAD_FOR_INPUT_ADDRESS / RELOAD_FOR_INPADDR_ADDRESS.
7951 Add special case for OUT == const0_rtx.
7952 Added ignore_address_reloads argument. Changed all callers.
7954 Mon Nov 16 02:22:29 1998 Jason Merrill <jason@yorick.cygnus.com>
7956 * toplev.c (compile_file): Don't pedwarn about undefined static
7957 functions just because we passed -Wunused.
7959 Mon Nov 16 04:41:41 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
7961 * function.c (purge_addressof_1): Unshare rtl created by
7964 Mon Nov 16 04:23:06 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
7966 * regmove.c (regmove_optimize): Don't do anything but
7967 optimize_reg_copy[123] when flag_regmove is not set.
7969 Sat Nov 14 15:05:07 1998 Richard Henderson <rth@cygnus.com>
7971 * alpha.md (addsi3, subsi3): Revise 5 Nov change to store DImode
7972 value in paradoxical SImode result, rather than truncating midpoint.
7974 Fri Nov 13 22:19:23 1998 Richard Henderson <rth@cygnus.com>
7976 * alpha.c (reg_not_elim_operand): New.
7977 * alpha.h (PREDICATE_CODES): Add it.
7978 * alpha.md (s48addq, s48subq patterns): Use it as the predicate
7979 for the multiplicand.
7981 Fri Nov 13 22:50:37 1998 David Edelsohn <edelsohn@gnu.org>
7983 * rs6000.md (movsf): Remove explicit secondary-reload-like
7984 functionality. Only truncate SFmode store if in FPR.
7985 (movsf splitters): Combine const_double splitters.
7986 (movsf_hardfloat): Add GPR support.
7988 Fri Nov 13 11:02:11 1998 Stan Cox <scox@cygnus.com>
7990 * splet.h (SUBTARGET_OVERRIDE_OPTIONS): New to
7991 deprecate -mlive-g0 and -mbroken-saverestore.
7992 * t-splet (MULTILIB_OPTIONS): Likewise.
7994 * sparc.c (sparc_flat_compute_frame_size): Correctly calc args_size
7995 in a leaf function. Clarify total_size/extra_size relationship.
7997 Thu Nov 12 19:20:57 1998 Geoffrey Noer <noer@cygnus.com>
7999 * i386/cygwin32.asm: Delete.
8000 * i386/cygwin.asm: New file, renamed from cygwin32.asm.
8001 * i386/cygwin32.h: Delete.
8002 * i386/cygwin.h: New file, renamed from cygwin32.h.
8003 * i386/t-cygwin32: Delete.
8004 * i386/t-cygwin: New file, renamed from t-cygwin32. Include
8005 cygwin.asm instead of cygwin32.asm. Remove "32" from comment.
8006 * i386/x-cygwin32: Delete.
8007 * i386/x-cygwin: New file, renamed from x-cygwin32.
8008 * i386/xm-cygwin32: Delete.
8009 * i386/xm-cygwin: New file, renamed from xm-cygwin32. Use newly
8010 renamed cygwin_ funcs for path translations.
8011 * i386/win32.h: Define __CYGWIN__ when -mcygwin given.
8012 * i386/winnt.c: Remove "32" from comment about cygwin.
8013 * i386/mingw32.h: Fix references to cygwin32.h in light of above.
8014 * rs6000/cygwin32.h: Delete.
8015 * rs6000/cygwin.h: New file, renamed from cygwin32.h. Add
8016 -D__CYGWIN__ to CPP_PREDEFINES.
8017 * rs6000/x-cygwin32: Delete.
8018 * rs6000/x-cygwin: New file, renamed from x-cygwin32.
8019 * rs6000/xm-cygwin32: Delete.
8020 * rs6000/xm-cygwin: New file, renamed from xm-cygwin32.
8022 * configure.in: Check for cygwin* instead of cygwin32. Account
8023 for the rename of cygwin-related config files to lose the "32"s.
8024 * configure: Regenerate.
8026 * cccp.c, collect2.c, gcc.c, getpwd.c, libgcc2.c, protoize.c,
8027 toplev.c: Change all refs to __CYGWIN32__ to __CYGWIN__.
8029 Wed Nov 11 12:25:19 1998 Tom Tromey <tromey@cygnus.com>
8031 * Makefile.in (JAVAGC): New macro.
8032 * configure: Rebuilt.
8033 * configure.in: Recognize --enable-java-gc argument. Subst
8036 Thu Nov 12 03:32:16 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
8038 Handle equivalences that have been obscured by gcse:
8040 * reload1.c (reload): Handle equivalences set up in multiple places.
8041 * local-alloc.c (reg_equiv_init_insns): New variable.
8042 (no_equiv): New function.
8043 (update_equiv_regs): Handle equivalences set up in multiple places.
8044 Don't ignore an insn just because its destination is likely to be
8047 Wed Nov 11 13:46:13 1998 Jim Wilson <wilson@cygnus.com>
8049 * except.c (expand_eh_return): Readd force_operand call lost in
8052 Tue Nov 10 17:04:11 1998 David Edelsohn <edelsohn@gnu.org>
8054 * rs6000.h (LEGITIMIZE_ADDRESS): Add missing goto on last case.
8056 1998-11-09 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
8058 * dbxout.c: Check HAVE_STAB_H instead of HAVE_STABS_H.
8060 Mon Nov 9 20:15:19 1998 Bernd Schmidt <crux@pool.informatik.rwth-aachen.de>
8062 * regmove.c (regmove_optimize): Fix error in last change.
8064 Mon Nov 9 16:37:52 1998 Andrew Cagney <cagney@b1.cygnus.com>
8066 * mips.c (function_prologue): When TARGET_MIPS16, adjust the register
8067 offset in the .mask pseudo to compensate for frame pointer adjustments.
8068 (mips16_fp_args, build_mips16_call_stub): For little endian, do not
8069 word swap arguments moved to/from FP registers.
8070 * mips16.S (DFREVCMP): Reverse arguments to OPCODE.
8072 Mon Nov 9 09:47:06 PST 1998 Jeff Law (law@cygnus.com)
8074 * version.c: Bump for snapshot.
8076 Mon Nov 9 02:14:14 PST 1998 Jeff Law (law@cygnus.com)
8078 * version.c: Bump for snapshot.
8080 Mon Nov 9 03:06:24 1998 Jeffrey A Law (law@cygnus.com)
8082 * reload1.c (delete_output_reload_insn): If a pseudo is set multiple
8083 times, then it can not be completely replaced.
8085 Mon Nov 9 00:39:02 1998 Richard Henderson <rth@cygnus.com>
8087 * alpha.md (call, call_value) [OSF]: Correct alt 3 insn length.
8089 Sun Nov 8 17:50:30 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
8091 * gansidecl.h: Prepend a "G" to the macro wrapping this file
8092 (to distinguish it from the macro wrapping ansidecl.h.)
8093 Include libiberty's ansidecl.h. Remove all redundant definitions.
8094 Define the PROTO() style macros in terms of the PARAMS() ones.
8097 * calls.c (emit_library_call): Switch on ANSI_PROTOTYPES, not
8098 __STDC__, when deciding whether to use ANSI variable args.
8099 (emit_library_call_value): Likewise.
8101 * cccp.c (error): Likewise.
8102 (warning): Likewise.
8103 (error_with_line): Likewise.
8104 (warning_with_line): Likewise.
8105 (pedwarn): Likewise.
8106 (pedwarn_with_line): Likewise.
8107 (pedwarn_with_file_and_line): Likewise.
8110 * cexp.y (error): Likewise.
8111 (pedwarn): Likewise.
8112 (warning): Likewise.
8114 * collect2.c (fatal_perror): Likewise.
8118 * combine.c (gen_rtx_combine): Likewise.
8120 * cpperror.c (cpp_message): Likewise.
8121 (cpp_fatal): Likewise.
8123 * cpplib.c (cpp_error): Likewise.
8124 (cpp_warning): Likewise.
8125 (cpp_pedwarn): Likewise.
8126 (cpp_error_with_line): Likewise.
8127 (cpp_warning_with_line): Likewise.
8128 (cpp_pedwarn_with_line): Likewise.
8129 (cpp_pedwarn_with_file_and_line): Likewise.
8131 * cpplib.h: Don't define PARAMS() macro.
8133 * demangle.h: Likewise.
8135 * doprint.c (checkit): Switch on ANSI_PROTOTYPES, not __STDC__,
8136 when deciding whether to use ANSI variable args.
8138 * emit-rtl.c (gen_rtx): Likewise.
8139 (gen_rtvec): Likewise.
8141 * final.c (asm_fprintf): Likewise.
8143 * fix-header.c (cpp_message): Likewise.
8145 (cpp_fatal): Likewise.
8147 * gcc.c (concat): Likewise.
8151 * genattr.c (fatal): Likewise.
8153 * genattrtab.c (attr_rtx): Likewise.
8154 (attr_printf): Likewise.
8157 * gencodes.c (fatal): Likewise.
8159 * genconfig.c (fatal): Likewise.
8161 * genemit.c (fatal): Likewise.
8163 * genextract.c (fatal): Likewise.
8165 * genflags.c (fatal): Likewise.
8167 * genopinit.c (fatal): Likewise.
8169 * genoutput.c (fatal): Likewise.
8172 * genpeep.c (fatal): Likewise.
8174 * genrecog.c (fatal): Likewise.
8176 * halfpic.h: Switch on ANSI_PROTOTYPES, not __STDC__, when
8177 deciding whether to declare `tree_node' and `rtx_def'.
8179 * hash.h: Don't define stuff we get from gansidecl.h.
8181 * mips-tfile.c: Likewise. Define __proto() in terms of PARAMS().
8182 (fatal): Switch on ANSI_PROTOTYPES, not __STDC__, when deciding
8183 whether to use ANSI variable args.
8186 * prefix.c (concat): Likewise.
8190 * system.h: Likewise.
8192 * toplev.c (error_with_file_and_line): Likewise.
8193 (error_with_decl): Likewise.
8194 (error_for_asm): Likewise.
8197 (warning_with_file_and_line): Likewise.
8198 (warning_with_decl): Likewise.
8199 (warning_for_asm): Likewise.
8200 (warning): Likewise.
8201 (pedwarn): Likewise.
8202 (pedwarn_with_decl): Likewise.
8203 (pedwarn_with_file_and_line): Likewise.
8205 (really_sorry): Likewise.
8207 * toplev.h: Switch on ANSI_PROTOTYPES, not __STDC__, when deciding
8208 whether to declare `tree_node' and `rtx_def'.
8210 * tree.c (build): Switch on ANSI_PROTOTYPES, not __STDC__, when
8211 deciding whether to use ANSI variable args.
8212 (build_nt): Likewise.
8213 (build_parse_node): Likewise.
8215 Sun Nov 8 13:10:55 PST 1998 Jeff Law (law@cygnus.com)
8217 * version.c: Bump for snapshot.
8219 Sat Nov 7 23:34:01 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
8221 * Makefile.in (libcpp.a): Check RANLIB_TEST before runing RANLIB.
8223 Sat Nov 7 22:26:19 1998 David Edelsohn <edelsohn@gnu.org>
8225 * collect2.c (main, case 'b'): Use else if.
8227 Sat Nov 7 15:35:25 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
8229 * configure.in (host_xm_file, build_xm_file, xm_file, tm_file):
8230 Arrange to include gansidecl.h in {ht}config.h & tm.h just
8231 before the config/ directory headers.
8232 (tm_file_list, host_xm_file_list, build_xm_file_list): Handle
8233 gansidecl.h in the list of dependencies.
8235 * Makefile.in (RTL_BASE_H): Don't depend on gansidecl.h.
8236 (TREE_H, DEMANGLE_H, RECOG_H, REGS_H, libgcc2.a, stmp-multilib,
8237 mbchar.o, collect2.o, pexecute.o, vfprintf.o, splay-tree.o, gcc.o,
8238 gencheck.o, choose-temp.o, mkstemp.o, mkstemp.o, prefix.o,
8239 dyn-string.o, cexp.o, cccp.o, cppmain.o, cpplib.o, cpperror.o,
8240 cppexp.o, cppfiles.o, cpphash.o, cppalloc.o, scan-decls.o):
8243 * cccp.c: Don't include gansidecl.h.
8245 * collect2.c: Likewise.
8246 * config/c4x/c4x.c: Likewise.
8247 * config/v850/v850.h: Likewise.
8248 * cppalloc.c: Likewise.
8249 * cpperror.c: Likewise.
8250 * cppexp.c: Likewise.
8251 * cppfiles.c: Likewise.
8252 * cpphash.c: Likewise.
8253 * cpplib.c: Likewise.
8254 * cppmain.c: Likewise.
8255 * cppulp.c: Likewise.
8256 * demangle.h: Likewise.
8257 * doprint.c: Likewise.
8258 * dyn-string.c: Likewise.
8259 * eh-common.h: Likewise.
8260 * fix-header.c: Likewise.
8261 * frame.c: Likewise.
8264 * gen-protos.c: Likewise.
8265 * gencheck.c: Likewise.
8266 * halfpic.h: Likewise.
8268 * machmode.h: Likewise.
8269 * mbchar.c: Likewise.
8270 * prefix.c: Likewise.
8271 * protoize.c: Likewise.
8272 * recog.h: Likewise.
8274 * scan-decls.c: Likewise.
8276 * varray.h: Likewise.
8278 Sat Nov 7 11:37:53 1998 Richard Henderson <rth@cygnus.com>
8280 * i386.md (call_value_pop): If we're not popping anything,
8281 defer to call_value.
8282 (call_pop): Likewise defer to call.
8284 Sat Nov 7 02:49:56 1998 Richard Henderson <rth@cygnus.com>
8286 * function.c (purge_addressof): Clear purge_addressof_replacements
8287 only after processing the whole function.
8289 Sat Nov 7 00:54:55 1998 Jeffrey A Law (law@cygnus.com)
8291 * reload1.c (reload): If we can not perform a particular elimination
8292 when we thought we could earlier, then we must always iterate through
8293 the loop at least one more time.
8295 Fri Nov 6 19:37:33 1998 Richard Henderson <rth@cygnus.com>
8297 * alpha.c (add_operand): Simplify the CONST_INT match.
8298 (sext_add_operand): Correct typo in comparison by using
8299 CONST_OK_FOR_LETTER_P.
8300 * alpha.md (s?addq): Use sext_add_operand to allow the negative
8301 constant alternatives to be generated.
8302 (mulsi3, muldi3, umuldi3_highpart): Loosen constraints to allow
8303 small constants, since the hw instructions do.
8305 Fri Nov 6 20:15:19 1998 Bernd Schmidt <crux@pool.informatik.rwth-aachen.de>
8307 * reload1.c (emit_reload_insns): When rewriting the SET_DEST of a
8308 previous insn to store directly into our reload register, make sure
8309 that if the source of the previous insn is a reload register, its
8310 spill_reg_store and spill_reg_stored_to values are cleared.
8312 Fri Nov 6 16:35:10 1998 David Edelsohn <edelsohn@gnu.org>
8314 * rs6000.md (floatunssidf2_internal splitter): Use base register
8315 operand, not hard-coded SP.
8317 Fri Nov 6 04:07:53 1998 David S. Miller <davem@pierdol.cobaltmicro.com>
8319 * jump.c (calculate_can_reach_end): Fix thinko.
8321 Fri Nov 6 00:16:04 1998 Jeffrey A Law (law@cygnus.com)
8323 * reorg.c (fill_simple_delay_slots): Fix typo.
8325 * romp.h (LEGITIMIZE_ADDRESS): Fix typo.
8327 Fri Nov 6 00:10:00 1998 Jan Hubicka (hubicka@freesoft.cz)
8329 * i386.md (extendsidi2): Use # in the output template.
8330 (extendsidi splitters): New splitters.
8332 Thu Nov 5 11:13:27 1998 Nick Clifton <nickc@cygnus.com>
8334 * configure.in: Use unknown-elf.h as tm_file for arm-elf
8336 * configure: Regenerate.
8338 Thu Nov 5 07:59:05 1998 David S. Miller <davem@pierdol.cobaltmicro.com>
8340 * jump.c (init_label_info, delete_barrier_successors,
8341 mark_all_labels, delete_unreferenced_labels,
8342 delete_noop_moves, calculate_can_reach_end): New functions broken
8343 out of jump_optimize.
8344 (jump_optimize): Use them.
8346 Thu Nov 5 07:57:45 EST 1998 Andrew MacLeod <amacleod@cygnus.com>
8348 * except.c (expand_fixup_region_end): Make sure outer context labels
8349 are not issued in an inner context during cleanups.
8351 Thu Nov 5 04:03:06 1998 Richard Henderson <rth@cygnus.com>
8353 * alpha.md (addsi3, subsi3): No new temporaries once cse is
8356 Thu Nov 5 03:29:19 1998 Richard Henderson <rth@cygnus.com>
8358 * alpha.md (addsi3, subsi3): Expand to a DImode temporary so as
8359 to expose this midpoint to CSE.
8361 Thu Nov 5 03:42:54 1998 David S. Miller <davem@pierdol.cobaltmicro.com>
8363 * config/sparc/sparc.md (movdf_const_intreg_sp64): Enable again.
8365 Thu Nov 5 10:53:01 1998 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
8367 * configure.in: Bring over gcc2 change of Nov 19 1997.
8369 Wed Nov 4 23:43:08 1998 Graham <grahams@rcp.co.uk>
8371 * toplev.c (output_lang_identify): Make definition dependent on
8372 ASM_IDENTIFY_LANGUAGE.
8374 * print-rtl.c (spaces): Make static.
8376 Wed Nov 4 22:16:36 1998 Hans-Peter Nilsson <hp@axis.se>
8378 * extend.texi: Clarify proper uses for register clobbers in asms.
8380 Wed Nov 4 22:16:36 1998 Bernd Schmidt <crux@pool.informatik.rwth-aachen.de>
8382 * recog.h (enum op_type): Define.
8383 (constrain_operands): Adjust prototype.
8384 (recog_op_type): Declare new variable.
8385 * recog.c (recog_op_type): New variable.
8386 (insn_invalid_p): Allow modifying an asm statement after reload.
8387 (extract_insn): Set up recog_op_type.
8388 (constrain_operands): Lose INSN_CODE_NUM arg. All callers changed.
8389 Don't compute operand types, use recog_op_type.
8390 Use the information computed by extract_insn instead of the previous
8391 method of finding it by insn code number.
8392 * caller-save.c (init_caller_save): Use extract_insn, not insn_extract.
8393 * reorg.c (fill_slots_from_thread): Likewise.
8394 * reload1.c (reload_as_needed): Likewise.
8395 (gen_reload): Likewise.
8396 (inc_for_reload): Likewise.
8397 (reload_cse_simplify_operands): Likewise.
8398 Use the information computed by extract_insn instead of the previous
8399 method of finding it by insn code number.
8400 * genattrtab.c (write_attr_case): Generate call to extract_insn, not
8402 * final.c (final_scan_insn): Use extract_insn, not insn_extract.
8403 (cleanup_operand_subregs): Use extract_insn, not insn_extract.
8404 Use the information computed by extract_insn instead of the previous
8405 method of finding it by insn code number.
8406 * regmove.c (find_matches): Likewise. Change meaning of the return
8407 value to be nonzero if the optimization can be performed, zero if
8408 not. All callers changed.
8409 Shorten some variable names to fix formatting problems.
8410 (regmove_optimize): Shorten some variable names to fix formatting
8412 Use the information computed by extract_insn instead of the previous
8413 method of finding it by insn code number.
8414 * regclass.c (scan_one_insn): Likewise.
8415 (record_reg_classes): Don't compute operand types, use recog_op_type.
8416 * reload.c (find_reloads): Lose CONSTRAINTS1 variable; use
8417 recog_constraints instead.
8419 Wed Nov 4 21:37:46 1998 Jeffrey A Law (law@cygnus.com)
8421 * rtl.h (flow2_completed): Declare.
8422 * flow.c (flow2_completed): Definition.
8423 * toplev.c (rest_of_compilation): Set and clear flow2_completed
8426 Wed Nov 4 19:15:37 1998 "Melissa O'Neill" <oneill@cs.sfu.ca>
8428 * Makefile.in (libcpp.a): Ranlib libcpp.a.
8430 * cppulp.c (user_label_prefix): Initialize.
8432 Wed Nov 4 19:07:08 1998 John Wehle (john@feith.com)
8434 * flow.c (mark_regs_live_at_end): Mark the stack pointer as live
8435 at a RETURN if current_function_sp_is_unchanging is set.
8437 Wed Nov 4 18:16:29 1998 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
8439 * emit-rtl.c (try_split): Fixed error in Oct 10 patch.
8441 Wed Nov 4 15:11:15 1998 Geoffrey Noer <noer@cygnus.com>
8443 * i386/cygwin32.h (MASK_WIN32, MASK_CYGWIN, MASK_WINDOWS, MASK_DLL,
8444 TARGET_WIN32, TARGET_CYGWIN, TARGET_WINDOWS, TARGET_DLL): New.
8445 (SUBTARGET_SWITCHES): Add -mno-cygwin, -mcygwin, and -mdll options.
8446 (CPP_PREDEFINES): Don't define __CYGWIN32__ here.
8447 (STARTFILE_SPEC): Handle -mdll, -mno-cygwin options.
8448 (CPP_SPEC): Handle -mno-cygwin option. Define __CYWIN__ in addition
8450 (LIB_SPEC): Handle -mno-cygwin option.
8451 (LINK_SPEC): Handle -mdll.
8453 Wed Nov 4 22:56:14 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
8455 * reload.c (find_reloads): Fix test for usage by other reload
8456 to handle secondary reloads properly.
8458 Wed Nov 4 17:25:10 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
8460 * reload1.c (ELIMINABLE_REGS, NUM_ELIMINABLE_REGS): Introduce an
8461 intermediate structure which has exactly the members provided by
8462 ELIMINABLE_REGS. Define NUM_ELIMINABLE_REGS in terms of the
8463 static intermediate structure.
8465 (init_elim_table): Xmalloc() `reg_eliminate', and initialize it
8466 from the intermediate structure. Do the same analogous fix in
8467 the case where ELIMINABLE_REGS is not defined.
8469 Tue Nov 3 20:50:03 1998 Jeffrey A Law (law@cygnus.com)
8471 * pa.h (SELECT_SECTION): Fix thinko.
8473 Tue Nov 3 17:51:36 1998 Jim Wilson <wilson@cygnus.com>
8475 * dwarf2out.c (output_call_frame_info): Comments on last change.
8477 Tue Nov 3 07:51:43 1998 Richard Earnshaw (rearnsha@arm.com)
8479 * arm.c (add_constant): When taking the address of an item in the
8480 pool, get the mode of the item addressed.
8482 * arm.c (final_prescan_insn case INSN): If an insn doesn't
8483 contain a SET or a PARALLEL, don't consider it for conditional
8486 Restore ABI compatibility for NetBSD.
8487 * arm/netbsd.h (DEFAULT_PCC_STRUCT_RETURN): Override setting in
8489 (RETURN_IN_MEMORY): Likewise.
8491 Mon Nov 2 11:46:17 1998 Doug Evans <devans@canuck.cygnus.com>
8493 * m32r/m32r.c (m32r_expand_block_move): Fix byte count computations.
8494 (m32r_output_block_move): Rewrite bytes < 4 handling.
8496 Mon Nov 2 10:10:35 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
8498 * configure.in: Call AC_FUNC_VFORK.
8500 * collect2.c: Define VFORK_STRING as a printable string for
8501 error messages (either "vfork" or "fork".) If HAVE_VFORK_H is
8502 defined, include vfork.h. If VMS is defined, define vfork()
8503 appropriately. Remove vfork check on USG, we're using autoconf.
8504 (collect_execute): Pass VFORK_STRING to fatal_perror instead of
8505 checking locally what string to pass.
8506 (scan_prog_file): Likewise.
8507 (scan_libraries): Likewise.
8509 * gcc.c: Remove vfork check on USG, we're using autoconf.
8510 Besides, no calls to vfork/fork occur in this file.
8512 * protoize.c: Likewise.
8514 Mon Nov 2 07:52:28 1998 Alexandre Oliva <oliva@dcc.unicamp.br>
8516 * configure.in (DEFAULT_LINKER): Renamed from LD.
8517 (DEFAULT_ASSEMBLER): Renamed from AS; reverted Schwab's patch.
8518 (gcc_cv_as): Try $DEFAULT_ASSEMBLER before $AS.
8519 * configure: Rebuilt.
8521 Mon Nov 2 01:48:10 1998 Alexandre Oliva <oliva@dcc.unicamp.br>
8523 * BUGS: Fix the regexp for `more' to find the appropriate node.
8524 Reported by Joerg Pietschmann <joerg_pietschmann@zkb.ch>
8526 * BUGS: Added link to the WWW FAQ.
8528 Sun Nov 1 18:27:15 PST 1998 Jeff Law (law@cygnus.com)
8530 * version.c: Bump for snapshot.
8532 Sun Nov 1 11:04:32 1998 Jeffrey A Law (law@cygnus.com)
8534 * From Christian Gafton:
8535 * i386/linux.h (CPP_PREDEFINES): Add -D__i386__.
8536 * sparc/linux.h (CPP_PREDEFINES): Add -D__sparc__.
8537 * sparc/linux64.h (CPP_PREDEFINES): Add -D__sparc__.
8539 Sat Oct 31 21:42:39 1998 Mark Mitchell <mark@markmitchell.com>
8541 * c-common.c (c_get_alias_set): Allow all type-punning through
8542 unions. Don't get confused about the type of a bit-field, despite
8543 the antics of build_modify_expr.
8545 Sat Oct 31 22:35:29 1998 Jean-Pierre Radley <jpr@jpr.com>
8547 * fixinc.sco: Parameterize #include_next values.
8548 * fixinc/fixinc.sco: Likewise.
8550 Sat Oct 31 20:39:35 1998 Jeffrey A Law (law@cygnus.com)
8552 * toplev.c (rest_of_compilation): No longer set reload_completed.
8553 * reload1.c (reload): Set it here. Perform instruction splitting
8554 after reload has completed if we will be running the scheduler
8557 Sat Oct 31 12:30:02 1998 Jeffrey A Law (law@cygnus.com)
8559 * jump.c (jump_optimize): Initialize mappings from INSN_UID to
8560 EH region if exceptions are enabled and we're performing cross
8562 (find_cross_jump): Exit loop if the insns are in different EH regions.
8564 Sat Oct 31 10:02:48 1998 Mark Mitchell <mark@markmitchell.com>
8566 * dwarf2out.c (output_call_frame_info): Use
8567 ASM_OUTPUT_DWARF_DELTA4 for the CIE offset to match frame.c.
8569 Sat Oct 31 10:23:14 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
8571 Reinstall Apr 24th fix, lost during May 6th gcc2 merge:
8572 * c-common.c (check_format_info): Don't check for the 'x'
8573 format character twice, instead check for 'x' and 'X'
8575 Fri Oct 30 14:50:25 1998 Jeffrey A Law (law@cygnus.com)
8577 * configure.in (assembler features): Also make gas is configured if
8578 we find it in the source tree.
8580 Fri Oct 30 13:23:20 1998 Richard Henderson <rth@cygnus.com>
8582 * i386.c (i386_comp_type_attributes): Compare whether the
8583 attributes are defined, not their tree nodes.
8585 Fri Oct 30 11:39:47 1998 Alexandre Oliva <oliva@dcc.unicamp.br>
8587 * configure.in (gxx_include_dir): Bitten by autoconf quoting
8589 * configure: Rebuilt.
8591 Fri Oct 30 10:43:29 1998 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
8593 * configure.in: Ignore non-absolute value in $AS.
8595 Fri Oct 30 00:54:25 1998 Peter Jakubek <pjak@snafu.de>
8597 * m68k.h (INDIRECTABLE_1_ADDRESS_P): Fix thinko.
8599 Fri Oct 30 00:42:34 1998 Mark Elbrecht <snowball3@usa.net>
8601 * configure.in (msdosdjgpp): Set exeext and target_alias.
8603 Thu Oct 29 23:55:43 1998 Bernd Schmidt <crux@pool.informatik.rwth-aachen.de>
8605 * flow.c (XNMALLOC): New macro.
8606 (flow_int_list_blocks, basic_block_succ, basic_block_pred): New
8608 (add_edge, add_edge_to_label): New static functions.
8609 (free_bb_memory): New function.
8610 (flow_delete_insn): Delete function.
8611 (basic_block_drops_in): Delete variable.
8612 (find_basic_blocks): Allocate and initialize basic_block_head,
8613 basic_block_succ. Don't allocate basic_block_drops_in.
8614 Call free_bb_memory at the beginning.
8615 (find_basic_blocks_1): Don't do multiple passes.
8616 Delete code to compute basic_block_drops_in.
8617 After calling make_edges, mark blocks reached by current block live.
8618 Update test for unreachable live blocks.
8619 (mark_label_ref): Delete args X, CHECKDUP. Add PRED arg. All callers
8621 Simplify to call add_edge_to_label when a LABEL_REF is found.
8622 (make_edges): Simplify to call add_edge_to_label instead of
8623 mark_label_ref most of the time.
8624 Compute here whether control drops into the next block.
8625 (delete_unreachable_blocks): Return void. All callers changed.
8626 Delete unreachable blocks in reverse order.
8627 After deleting all unreachable blocks, renumber the remaining ones
8628 and update n_basic_blocks.
8629 (delete_block): Speed up deletion a bit.
8630 Don't set basic_block_drops_in for deleted blocks.
8631 (free_basic_block_vars): Don't free basic_block_drops_in.
8632 (life_analysis_1): Update to use new edge representation.
8633 (dump_flow_info): Delete code to print basic block info; call
8634 dump_bb_data instead.
8635 (compute_preds_succs): Delete code to recompute basic_block_drops_in
8636 and uid_block_number.
8637 Simply copy the previously computed cfg.
8638 (dump_bb_data): New arg LIVE_INFO. All callers changed.
8639 Print register lifetime information if LIVE_INFO is nonzero.
8640 * basic-block.h (dump_bb_data): Adjust prototype.
8641 * gcse.c (gcse_main): Update call to dump_bb_data.
8642 * rtl.h (free_bb_memory): Declare.
8643 * toplev.c (rest_of_compilation): Call free_bb_memory.
8645 * reload1.c (struct elim_table): Delete MAX_OFFSET member.
8646 (update_eliminable_offsets): Don't compute it.
8647 (set_initial_elim_offsets): Don't initialize it.
8648 Break out some code into set_initial_label_offsets so the rest of
8649 this function can be called from reload_as_needed.
8650 Assume that INITIAL_FRAME_POINTER_OFFSET is defined when
8651 ELIMINABLE_REGS isn't.
8652 (set_initial_label_offsets): New function, broken out of
8653 set_initial_elim_offsets.
8654 (set_offsets_for_label): New function, broken out of set_label_offsets
8655 and reload_as_needed.
8656 (reload): Call the two new functions.
8657 (reload_as_needed): Call set_initial_elim_offsets instead of
8658 duplicating the code. Likewise for set_offsets_for_label.
8660 * reload1.c (choose_reload_regs): Fix typo in Oct 17 change.
8661 (emit_reload_insns): Ensure that when we set reg_reloaded_valid for
8662 any hard reg, reg_reloaded_dead contains valid data.
8664 Thu Oct 29 22:30:54 1998 Marcus Meissner <Marcus.Meissner@informatik.uni-erlangen.de>
8666 * i386.c (i386_comp_type_attributes): Return nonzero for mismatched
8667 "stdcall" and "cdecl" attributes.
8669 Thu Oct 29 19:05:17 1998 Jim Wilson <wilson@cygnus.com>
8671 * sched.c (update_flow_info): Add code to ! found_orig_dest case to
8672 handle deleted no-op moves of hard registers.
8673 * haifa-sched.c (update_flow_info): Likewise.
8675 Thu Oct 29 18:07:47 1998 Jeffrey A Law (law@cygnus.com)
8677 * mips.md (reload_{in,out}{si,di}): Emit a USE of HILO at the end
8678 of the sequences to reload the HILO register which do not actually
8681 Thu Oct 29 12:39:35 1998 Jim Wilson <wilson@cygnus.com>
8683 * c-common.c (c_get_alias_set): Handle ARRAY_REF of union field.
8685 Thu Oct 29 14:10:22 EST 1998 Andrew MacLeod <amacleod@cygnus.com>
8687 * except.c (emit_eh_context): Make the EH context register stay alive
8688 at -O0 so stupid.c doesn't get confused.
8690 1998-10-29 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
8692 * emit-rtl.c (try_split): Do not try to split a BARRIER.
8694 Thu Oct 29 01:33:54 1998 Jan Hubicka <hubicka@freesoft.cz>
8695 Jeffrey A Law (law@cygnus.com)
8697 * i386.md: Change ix86_cpu == PROCESSOR_PENTIUM to TARGET_PENTIUM.
8698 (zero_extendsidi2): Use # in output template and handle completely by
8700 (zero_extend splitters): New define_splits.
8701 (ashiftrt_32): New pattern.
8703 Wed Oct 28 22:58:35 1998 Jason Merrill <jason@yorick.cygnus.com>
8705 * tree.c (append_random_chars): New fn.
8706 (get_file_function_name_long): Use it.
8708 Wed Oct 28 22:27:05 1998 Richard Henderson <rth@cygnus.com>
8710 * Makefile.in (cc1): Put C_OBJS, and thence @extra_c_objs@ last.
8711 (LIBCPP_OBJS): New. Add cppulp.o.
8712 (cppmain, fix-header): Depend on and use libcpp.a.
8713 * configure.in (extra_c_objs, extra_cxx_objs): Use libcpp.a instead
8714 of the individual object files.
8715 * objc/Make-lang.in (cc1obj): Put OBJC_OBJS, and thence @extra_c_objs@,
8718 * cccp.c (user_label_prefix): New.
8719 (main): Set it off -f*leading-underscore.
8720 (special_symbol): Use it.
8721 * cpplib.c (special_symbol): Likewise.
8722 (cpp_handle_option): Handle -f*leading-underscore.
8723 * cppulp.c: New file.
8725 * output.h (user_label_prefix): Declare it.
8726 * dwarf2out.c (ASM_NAME_TO_STRING): Prepend user_label_prefix.
8727 * toplev.c (f_options, main): Handle -f*leading-underscore.
8729 * defaults.h (ASM_OUTPUT_LABELREF): Use asm_fprintf instead of
8730 referencing USER_LABEL_PREFIX directly.
8731 * config/nextstep.h (ASM_OUTPUT_LABELREF): Likewise.
8732 * m32r/m32r.h (ASM_OUTPUT_LABELREF): Likewise.
8733 * final.c (asm_fprintf): Use user_label_prefix instead.
8734 * arm/thumb.c (thumb_print_operand): Likewise.
8736 * gcc.c (default_compilers): Pass -f*leading-underscore on to
8737 cpp wherever appropriate.
8739 Wed Oct 28 23:09:25 1998 Robert Lipe <robertl@dgii.com>
8741 * sco5.h (SUBTARGET_SWITCHES): Add documentation for OpenServer-
8742 specific compiler switches.
8744 Wed Oct 28 21:05:53 1998 Jeffrey A Law (law@cygnus.com)
8746 * Makefile.in (c-common.o): Depend on c-pragma.h. Use $(RTL_H) instead
8749 Wed Oct 28 20:52:47 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
8751 * gcc.c (EXTRA_SPECS, extra_specs): Introduce an intermediate
8752 structure which has exactly the members provided by EXTRA_SPECS.
8753 Xmalloc() the real `extra_specs', and initialize it from this
8754 intermediate structure.
8756 * alpha.h (EXTRA_SPECS): Revert change for missing initializers.
8758 * mips.h (EXTRA_SPECS): Likewise.
8760 * sparc.h (EXTRA_SPECS): Likewise.
8762 Wed Oct 28 16:46:07 1998 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
8764 * function.c (purge_addressof_1): Instead of aborting when a
8765 bitfield insertion as a replacement for (MEM (ADDRESSOF)) does not
8766 work just put the ADDRESSOF on stack. Otherwise remember all such
8767 successful replacements, so that exactly the same replacements
8768 can be made on the REG_NOTEs. Remove the special case for CALL
8770 (purge_addressof_replacements): New variable.
8771 (purge_addressof): Clear it at end.
8773 1998-10-28 16:10 -0500 Zack Weinberg <zack@rabi.phys.columbia.edu>
8775 * c-lang.c: Declare extern char *yy_cur if USE_CPPLIB.
8776 (lang_init): Call check_newline always.
8777 * c-lex.c (init_parse) [USE_CPPLIB=1]: After calling
8778 cpp_start_read, set yy_cur and yy_lim to read from
8779 parse_in.token_buffer, so that we'll see the first #line
8781 * cpplib.c (cpp_start_read): finclude the main input file
8782 before processing -include/-imacros. Process -imacros and
8783 -include separately, and handle -include by stacking a
8784 buffer for the file in question as if it'd been #included.
8785 * toplev.c (documented_lang_options) Recognize -H when
8788 1998-10-28 16:09 -0500 Zack Weinberg <zack@rabi.phys.columbia.edu>
8790 * cpplib.c: Merge do_once into do_pragma. Break file handling
8791 code out of do_include.
8792 Move append_include_chain, deps_output,
8793 file_cleanup, redundant_include_p, import_hash,
8794 lookup_import, add_import, read_filename_string, read_name_map,
8795 open_include_file, finclude, safe_read to cppfiles.c.
8796 Move prototypes for deps_output, append_include_chain,
8797 finclude to cpplib.h. Move definition of struct
8798 file_name_list there also.
8800 * cppfiles.c: New file. Contains all the above functions
8801 broken out of cpplib.c; also hack_vms_include_specification
8802 from cccp.c and find_include_file, a new function broken out of
8805 * Makefile.in (cppmain): Depend on cppfiles.o.
8806 (fix-header): Likewise.
8807 (cppfiles.o): New target.
8808 * configure.in (--enable-c-cpplib): Add cppfiles.o to
8809 extra_c_objs. Add ../cppfiles.o to extra_cxx_objs.
8811 Wed Oct 28 14:06:49 1998 Jim Wilson <wilson@cygnus.com>
8813 * dwarfout.c (dwarfout_file_scope_decl): If DECL_CONTEXT, don't abort
8814 if pending_types is non-zero.
8815 (dwarfout_finish): Verify pending_types is zero before finishing.
8817 Wed Oct 28 10:29:09 1998 Nick Clifton <nickc@cygnus.com>
8819 * expr.c (convert_move): Use shifts to perform the move if a
8820 suitable extend pattern cannot be found. Code written by
8821 Richard Henderson <rth@cygnus.com>.
8823 Wed Oct 28 03:59:29 1998 Bernd Schmidt <crux@pool.informatik.rwth-aachen.de>
8825 * regclass.c (renumber, regno_allocated): New static variables, moved
8826 out of allocate_reg_info.
8827 (allocate_reg_info): Move these two variables outside the function.
8828 Move code to free memory into new function free_reg_info.
8829 (free_reg_info): New function, broken out of allocate_reg_info.
8830 * toplev.c (compile_file): Call free_reg_info, not allocate_reg_info.
8831 * rtl.h (allocate_reg_info): Don't declare.
8832 (free_reg_info): Declare.
8834 * final.c (cleanup_subreg_operands): ASM_INPUTs need no treatment.
8836 Wed Oct 28 02:38:12 1998 Jason Merrill <jason@yorick.cygnus.com>
8838 * toplev.c (compile_file): Temporarily revert last change.
8840 Wed Oct 28 00:00:35 1998 Jason Merrill <jason@yorick.cygnus.com>
8842 * c-typeck.c (convert_for_assignment): Parenthesize.
8844 1998-10-28 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
8846 * reload1.c (delete_output_reload): Avoid ambigous else.
8848 Wed Oct 28 00:10:35 1998 Jeffrey A Law (law@cygnus.com)
8850 * toplev.c (compile_file): Call allocate_reg_info to free register
8852 * rtl.h (allocate_reg_info): Declare.
8854 * PROJECTS: Remove entry for local spilling.
8856 * final.c (cleanup_subreg_operands): New function.
8857 (final_scan_insn): Use it.
8858 (alter_subreg): Clear the "used" field when we turn a SUBREG into
8860 * reload1.c (reload): Delete CLOBBER insns and also cleanup SUBREG
8861 operands when reload has finished.
8862 * reload.h (cleanup_subreg_operands): Declare..
8863 * flow.c (life_analysis_1): No longer delete CLOBBER insns after
8864 reload. Handled in reload itself.
8866 Tue Oct 27 23:32:34 1998 Bernd Schmidt <crux@pool.informatik.rwth-aachen.de>
8868 * reload1.c (verify_initial_offsets): New function.
8869 (reload): Call it after reload_as_needed. Also verify that the frame
8870 size stays constant during reload_as_needed.
8871 * i386.h (CONST_DOUBLE_OK_FOR_LETTER_P): Undo Jul 26 change.
8873 * reload.h (struct insn_chain): Add need_operand_change element.
8874 * reload1.c (new_insn_chain): Clear it.
8875 (calculate_needs_all_insns): Set it; don't overload need_reload.
8876 (reload_as_needed): Use it.
8878 * reload.c (find_reloads_address): Use BASE_REG_CLASS instead of
8879 reload_address_base_reg_class throughout. Similar for INDEX_REG_CLASS
8880 and reload_address_index_reg_class.
8881 (find_reloads_address_1): Likewise.
8882 * reload.h (reload_address_base_reg_class,
8883 reload_address_index_reg_class): Don't declare.
8884 * reload1.c (reg_old_renumber, pseudo_previous_regs,
8885 pseudo_forbidden_regs, bad_spill_regs_global): New static variables.
8886 (used_spill_regs): Now static.
8887 (reload_address_base_reg_class, reload_address_index_reg_class,
8888 regs_explicitly_used, counted_for_groups, counted_for_nongroups,
8889 basic_block_needs, max_needs, group_size, group_mode, max_groups,
8890 max_nongroups, max_needs_insn, max_groups_insn, max_nongroups_insn,
8893 (init_reload): Delete code to compute base/index reg classes.
8894 (reload): Delete variable J.
8895 Delete code to manage basic_block_needs.
8896 Don't compute regs_explicitly_used.
8897 Allocate, initialize and free reg_old_renumber, pseudo_forbidden_regs,
8898 pseudo_previous_regs.
8899 Initialize bad_spill_regs_global.
8900 Don't call order_regs_for_reload here.
8901 Don't initialize spill_reg_order and n_spills.
8902 Don't forbid explicitly used regs to be used for spill regs.
8903 Change main loop to infinite loop, with explicit break statements.
8904 Make SOMETHING_CHANGED variable local to that loop.
8905 Don't initialize max_needs, max_groups, max_nongroups, max_needs_insn,
8906 max_groups_insn, max_nongroups_insn, group_size, group_mode.
8907 Make sure spilled_pseudos is cleared before calling spill_hard_reg or
8909 Don't call dump_needs.
8910 Delete code to reset potential_reload_regs.
8911 Delete code to terminate loop conditional on the global needs variables
8912 showing no further needs.
8913 (calculate_needs_all_insns): Return void. All callers changed.
8914 Initialize something_needs_elimination here, not in reload.
8915 Delete avoid_return_reg kludge.
8916 (calculate_needs): Lose AVOID_RETURN_REG and GLOBAL args, return void.
8917 All callers changed.
8918 Initialize the group_mode and group_size elements of the arg CHAIN.
8919 Delete code to manage basic_block_needs.
8920 Operate on elements of CHAIN instead of global variables.
8921 Delete avoid_return_reg kludge.
8922 (find_tworeg_group): Lose GLOBAL arg, take CHAIN arg, return void.
8923 All callers changed.
8924 Operate on elements of CHAIN instead of global variables.
8925 Delete special SMALL_REGISTER_CLASSES code.
8926 Delete spill_failure code; now in new_spill_reg.
8927 (find_group): Lose GLOBAL arg, take CHAIN arg, return void.
8928 All callers changed.
8929 Operate on elements of CHAIN instead of global variables.
8930 (maybe_mark_pseudo_spilled): New static function.
8931 (find_reload_regs): Lose GLOBAL arg, take CHAIN arg, return void.
8932 All callers changed.
8933 Operate on elements of CHAIN instead of global variables.
8934 Call order_regs_for_reload here, not in reload.
8935 Initialize spill_reg_order and n_spills.
8936 Simplify test whether an asm insn is involved.
8937 Delete spill_failure code; now in new_spill_reg.
8938 Call maybe_mark_pseudo_spilled for everything marked as live in
8939 CHAIN. Merge CHAIN's used_spill_regs into the global variable
8941 (dump_needs): Take CHAIN arg. No longer static, to prevent the
8942 compiler from optimizing this function (now unused) away.
8943 Operate on elements of CHAIN instead of global variables.
8944 (possible_group_p): Lose MAX_GROUPS arg, take CHAIN arg. All callers
8946 Operate on elements of CHAIN instead of global variables.
8947 (count_possible_groups): Lose GROUP_SIZE, GROUP_MODE, MAX_GROUPS args,
8948 take CHAIN arg. All callers changed.
8949 Operate on elements of CHAIN instead of global variables.
8950 (new_spill_reg): Lose MAX_NEEDS, MAX_NONGROUPS, GLOBAL args, take
8951 CHAIN, NONGROUP args. Return void. All callers changed.
8952 Verify caller isn't trying to spill a pseudo.
8953 Simplify test for illegal reg, just use bad_spill_regs.
8954 Generate better error messages.
8955 Operate on elements of CHAIN instead of global variables.
8956 Mark spilled register in CHAIN's used_spill_regs element.
8957 Don't call spill_hard_reg.
8958 (spill_hard_reg): Lose GLOBAL arg, return void. All callers changed.
8959 Mark spilled hard regs in bad_spill_regs_global.
8960 Mark affected pseudos in spilled_pseudos, but don't spill them.
8961 (ior_hard_reg_set): New static function.
8962 (finish_spills): Return int. All callers changed.
8963 Compute spill_reg_order, n_spills and spill_regs here. Also update
8964 regs_ever_live for regs used as spills.
8965 For every pseudo in spilled_pseudos, spill it and mark the previous
8966 hard reg it had in pseudo_previous_regs. Compute which hard regs
8967 are used as spills in insns during which it is live, and retry global
8968 register allocation. Update all life information in the
8969 reload_insn_chain not to include pseudos without hard regs.
8970 Call alter_reg for all affected speudos.
8972 (scan_paradoxical_subregs): Disable SMALL_REGISTER_CLASSES special
8973 case, it's not clear what it's supposed to do.
8975 (hard_reg_use_compare): Take bad_spill_regs into account.
8976 (pseudos_counted): New static variable.
8977 (count_pseudo): New static function.
8978 (order_regs_for_reload): Take CHAIN arg. All callers changed.
8979 Initialize bad_spill_regs from bad_spill_regs_global, then merge any
8980 hard registers explicitly used across the current insn into the set.
8981 Compute hard_reg_n_uses taking only pseudos live across this insn
8983 Tweak sorting of potential_reload_regs.
8984 (compare_spill_regs): Delete function.
8985 (reload_as_needed): Don't sort the spill_regs array, it's computed
8986 in proper order in finish_spills.
8987 Delete avoid_return_reg kludge.
8988 Delete code to manage basic_block_needs.
8989 (allocate_reload_reg): Minor speed/readability tweaks.
8990 Operate on elements of CHAIN instead of global variables.
8991 (choose_reload_regs): Lose AVOID_RETURN_REG arg. All callers changed.
8992 Delete avoid_return_reg kludge.
8993 Initialize reload_reg_used from CHAIN's used_spill_regs element.
8994 Delete unused label FAIL.
8995 (reload_combine): Replace reload_address_index_reg_class with
8997 Don't use used_spill_regs to determine information about lifetime of
9000 Tue Oct 27 13:15:02 1998 Nick Clifton <nickc@cygnus.com>
9002 * toplev.c (display_help): Ignore empty target specific
9003 options, and if -W is also specified on the command line then
9004 display undocumented options.
9006 * config/arm/arm.c: Updated with changes in devo sources.
9007 * config/arm/arm.h: Updated with changes in devo sources.
9008 * config/arm/lib1funcs.asm: Updated with changes in devo sources.
9009 * config/arm/lib1thumb.asm: Add ELF support.
9011 Tue Oct 27 16:11:43 1998 David Edelsohn <edelsohn@gnu.org>
9013 * collect2.c (aix64_flag): New variable.
9014 (main, case 'b'): Parse it.
9015 (GCC_CHECK_HDR): Object magic number must match mode.
9016 (scan_prog_file): Only check for shared object if valid header.
9017 Print debugging if header/mode mismatch.
9019 Tue Oct 27 10:15:02 1998 Nick Clifton <nickc@cygnus.com>
9021 Added support for arm-elf-linux configuration, submitted by Philip
9022 Blundell <pb@nexus.co.uk>, and integrated this with the arm-elf
9023 code developed by Catherine Moore <clm@cygnus.com>. The following
9026 * configure.in: Add arm-*-linux-gnu, armv2-*-linux and arm-*-elf
9029 * configure: Regenerated.
9031 * config/arm/aout.h: Add default definitions of REGISTER_PREFIX,
9032 USER_LABEL_PREFIX and LOCAL_LABEL_PREFIX. Make other macro
9033 definitions conditional on their not having been already defined.
9035 * config/arm/lin1funcs.asm: Add ELF only macros to generate .size
9036 and .type directives, and add "(PLT)" qualification to function
9039 * config/arm/linux.h: Deleted. This file is now superseded by
9040 either linux-elf.h or linux-aout.h.
9042 * config/arm/linux-gas.h: Define `inhibit_libc' if cross-compiling.
9043 (CLEAR_INSN_CACHE): New macro, currently disabled (awaiting kernel
9045 Move definitions from old linux.h file here.
9047 * config/arm/elf.h: New file. Generic ARM/ELF support.
9049 * config/arm/linux-aout.h: New file. Support for Linux with a.out.
9051 * config/arm/linux-elf.h: New file. Support for Linux with ELF.
9053 * config/arm/linux-elf26.h: New file. Support for Linux with ELF
9054 using the 26bit APCS.
9056 * config/arm/unknown-elf.h: New file. Support for OS'es other
9057 than Linux with ELF.
9059 * config/arm/t-arm-elf: New file. makefile fragment for arm-elf
9062 * config/arm/coff.h: Include aout.h for basic assembler macros.
9063 Add support for -mstructure_size_boundary=<n> command line option.
9065 * config/arm/arm.h: Add support for -mstructure_size_boundary=<n>
9066 command line option. Make macro definitions conditional on their
9067 not having been already defined.
9069 * config/arm/arm.c: Add support for -mstructure_size_boundary=<n>
9070 command line option.
9073 Tue Oct 27 08:56:46 1998 Andrew MacLeod <amacleod@cygnus.com>
9075 * dwarfout.c (ASM_OUTPUT_DWARF_STRING_NEWLINE): ASM_OUTPUT_DWARF_STRING
9076 has been changed to not include a newline. Use this macro instead.
9077 (output_enumeral_list, const_value_attribute, name_attribute,
9078 comp_dir_attribute, prototyped_attribute, producer_attribute,
9079 inline_attribute, pure_or_virtual_attribute, output_inheritance_die,
9080 dwarfout_file_scope_decl, generate_new_sfname_entry,
9081 generate_macinfo_entry, dwarfout_init, dwarfout_finish): Use
9082 ASM_OUTPUT_DWARF_STRING_NEWLINE macro.
9084 Mon Oct 26 13:35:02 1998 Richard Henderson <rth@cygnus.com>
9086 * combine.c (subst): Process the inputs to a parallel asm_operands
9089 Mon Oct 26 13:32:31 1998 Richard Henderson <rth@cygnus.com>
9091 * stmt.c (expand_asm_operands): Accept `=' or `+' at any position.
9093 Mon Oct 26 12:53:14 1998 Jeffrey A Law (law@cygnus.com)
9095 * tm.texi (ASM_OUTPUT_MAX_SKIP_ALIGN): Document.
9097 Mon Oct 26 00:36:58 PST 1998 Jeff Law (law@cygnus.com)
9099 * version.c: Bump for snapshot.
9101 Sun Oct 25 23:36:52 1998 Jason Merrill <jason@yorick.cygnus.com>
9103 * stmt.c (expand_fixup): Set fixup->before_jump to a
9104 NOTE_INSN_DELETED instead of a NOTE_INSN_BLOCK_BEG.
9106 Sun Oct 25 15:49:57 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
9108 * Makefile.in (recog.o): Depend on toplev.h.
9109 (insn-emit.o): Depend on recog.h.
9110 (insn-peep.o): Depend on recog.h and insn-config.h.
9112 * combine.c (simplify_set): Remove unused variable `scratches'.
9114 * final.c (final_scan_insn): Wrap declaration of variables `vlen'
9115 and `idx' in macro conditional controlling their use.
9117 * genemit.c (main): Make the generated output file include
9118 recog.h. Don't have it declare `insn_operand_constraint', since
9119 we get it from recog.h.
9121 * genpeep.c (main): Make the generated output file include
9122 insn-config.h and recog.h.
9124 * recog.c: Include toplev.h.
9125 (extract_insn): Remove unused variable `p'.
9127 * regclass.c (fix_register): Add missing braces around initializer
9129 (allocate_reg_info): Move variable `i' into the scope where it is
9130 used. Change its type to `size_t'.
9132 Sun Oct 25 13:10:15 1998 Bernd Schmidt <crux@pool.informatik.rwth-aachen.de>
9134 * reload.c (push_reload): When merging reloads, make sure
9135 that reload_in_reg and reload_in are from the same reload in
9138 Sun Oct 25 12:07:00 1998 Mumit Khan <khan@xraylith.wisc.edu>
9140 * i386/crtdll.h (CPP_PREDEFINES): Fix typo.
9141 * i386/mingw32.h (CPP_PREDEFINES): Likewise.
9143 Fri Oct 23 23:42:03 1998 David Edelsohn <edelsohn@gnu.org>
9145 * loop.c (loop_has_tablejump): New variable.
9146 (prescan_loop): Scan for it.
9147 (insert_bct): Replace explicit scan with use of it.
9148 * regclass.c (regclass): Restore loop variable j.
9149 (record_reg_classes): Deterine op_types modifiers and initialize
9150 classes[i] before matching constraints. Handle matching
9153 Fri Oct 23 13:55:48 1998 Jim Wilson <wilson@cygnus.com>
9155 * m32r/m32r.c (gen_split_move_double): Call alter_subreg. Delete
9158 Fri Oct 23 16:19:24 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
9160 * mips.h (EXTRA_SPECS): Add missing initializers.
9162 Fri Oct 23 16:08:39 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
9164 * sparc.h (EXTRA_SPECS): Add missing initializers.
9165 (sparc_defer_case_vector): Provide a prototype.
9167 * svr4.h (ASM_OUTPUT_ASCII): Cast STRING_LIMIT to (long) when
9168 comparing it to the result of a pointer subtraction.
9170 Fri Oct 23 15:34:14 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
9172 * alpha.c (override_options): Use ISDIGIT(), not isdigit(). Cast
9173 the argument to (unsigned char).
9175 * alpha.h (EXTRA_SPECS): Add missing initializers.
9176 (ASM_GENERATE_INTERNAL_LABEL): Ensure the argument matches the
9179 Fri Oct 23 13:12:35 1998 Jeffrey A Law (law@cygnus.com)
9181 * flow.c (life_analysis_1): Enable "rescan" code after reload.
9182 (propagate_block): Delete dead code after reload.
9184 * sched.c (update_flow_info): Revert Oct 19, 1998 change. Brings
9185 back Oct 15, 1998 change.
9186 * haifa-sched.c (update_flow_info): Likewise.
9187 * flow.c (life_analysis_1): Delete CLOBBER insns after reload.
9189 * mn10200.md (truncated shift): Accept constant inputs too.
9191 Fri Oct 23 04:06:57 1998 Richard Earnshaw (rearnsha@arm.com)
9193 * machmode.h (mode_mask_array): No longer const.
9194 * rtl.c (init_rtl): Fully initialize it if EXTRA_CC_MODES defined.
9196 Fri Oct 23 11:19:06 1998 Martin v. Löwis <loewis@informatik.hu-berlin.de>
9198 * frame.c: Somewhat explain `FDE'.
9199 Suggested by Brendan Kehoe
9201 Fri Oct 23 00:56:11 1998 Jason Merrill <jason@yorick.cygnus.com>
9203 * expr.c (pending_chain): Move up.
9204 (save_expr_status): Do save pending_chain.
9205 (restore_expr_status): And restore it.
9206 * function.h (struct function): Add pending_chain.
9208 1998-10-23 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
9210 * reorg.c (relax_delay_slots): Fixed test for mostly_true_jump. The
9211 did not match the code.
9213 Fri Oct 23 00:07:01 1998 Bernd Schmidt <crux@pool.informatik.rwth-aachen.de>
9215 * regclass.c (regclass): Break out some code into new function
9216 scan_one_insn, and into regclass_init.
9217 (init_cost): New static variable, moved out of regclass.
9218 (regclass_init): Initialize it here, not in .
9219 (scan_one_insn): New static function, broken out of regclass.
9220 * recog.c (apply_change_group): Break out some code into new
9221 function insn_invalid_p.
9222 (insn_invalid_p): New static fn, broken out of apply_change_group.
9224 Thu Oct 22 22:34:42 1998 Jim Wilson <wilson@cygnus.com>
9226 * reload1.c (reload_as_needed): When rewrite POST_INC, verify
9227 reg_reloaded_contents matches incremented pseudo.
9229 * v850/v850.c (v850_reorg): Call alter_subreg. Delete subreg support.
9231 Fri Oct 23 11:11:56 1998 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
9233 * rtl.def (POST_MODIFY, PRE_MODIFY): New generalized operators for
9234 addressing modes with side effects. These are currently
9235 placeholders for the C4x target.
9237 Thu Oct 22 16:46:35 1998 Bernd Schmidt <crux@pool.informatik.rwth-aachen.de>
9239 * loop.c (express_from): Make sure that when generating a PLUS of
9240 a PLUS, any constant expression appears on the outermost PLUS.
9242 Thu Oct 22 15:46:23 1998 Per Bothner (bothner@cygnus.com)
9244 * Makefile.in (distdir-cvs, distdir-start): Clean up so it
9245 works if "$(srcdir)" != ".".
9247 Wed Oct 21 19:23:59 1998 Jim Wilson <wilson@cygnus.com>
9249 * expmed.c (store_bit_field): If need to add a SUBREG, then remove
9250 existing SUBREG if we can, otherwise abort.
9252 Wed Oct 21 09:58:51 1998 Mark Mitchell <mark@markmitchell.com>
9254 * c-common.c (c_apply_type_quals_to_decl): Don't crash when
9255 `restrict' is applied to a non-pointer variable.
9257 Wed Oct 21 09:18:58 1998 Mark Mitchell <mark@markmitchell.com>
9259 * invoke.texi: Document -flang-isoc9x.
9261 * Makefile.in (OBJS): Add splay-tree.o.
9262 (c-common.o): Depend on rtl.h.
9263 (splay-tree.o): List dependencies and provide build rule.
9265 * rtl.h (record_alias_subset): New function.
9266 * alias.c: Include splay-tree.h.
9267 (alias_set_entry): New type.
9268 (CHECK_ALIAS_SETS_FOR_CONSISTENCY): Remove.
9269 (DIFFERENT_ALIAS_SETS_P): Use mem_in_disjoint_alias_sets_p.
9270 (mems_in_disjoin_alias_sets_p): New function.
9271 (alias_set_compare): Likewise.
9272 (insert_subset_children): Likewise.
9273 (get_alias_set_entry): Likewise.
9275 * tree.h (TYPE_RESTRICT): New macro.
9276 (TYPE_UNQUALIFIED): New manifest constant.
9277 (TYPE_QUAL_CONST): Likewise.
9278 (TYPE_QUAL_VOLATILE): Likewise.
9279 (TYPE_QUAL_RESTRICT): Likewise.
9280 (tree_type): Add restrict_flag. Reduce count of free bits.
9281 (DECL_POINTER_ALIAS_SET): New macro.
9282 (DECL_POINTER_ALIAS_SET_KNOWN_P): Likewise.
9283 (tree_decl): Add pointer_alias_set.
9284 (build_qualified_type): New function.
9285 (build_type_variant): Define in terms of build_qualified_type.
9286 * tree.c (set_type_quals): New function.
9287 (make_node): Initialize DECL_POINTER_ALIAS_SET.
9288 (build_type_attribute_variant): Use build_qualified_type and
9290 (build_type_variant): Rename, and modify, to become...
9291 (build_qualified_type): New function.
9292 (build_complex_type): Use set_type_quals.
9294 * c-tree.h (C_TYPE_OBJECT_P): New macro.
9295 (C_TYPE_FUNCTION_P): Likewise.
9296 (C_TYPE_INCOMPLETE_P): Likewise.
9297 (C_TYPE_OBJECT_OR_INCOMPLETE_P): Likewise.
9298 (c_apply_type_quals_to_decl): New function.
9299 (c_build_qualified_type): New function.
9300 (c_build_type_variant): Define in terms of c_build_qualified_type.
9301 (flag_isoc9x): Declare.
9302 * c-typeck.c (qualify_type): Use c_build_qualified_type.
9303 (common_type): Change to use TYPE_QUALS.
9304 (comptypes): Likewise.
9305 (convert_for_assignment): Likewise.
9306 * c-aux-info.c (gen_type): Likewise. Deal with `restrict'.
9307 * c-decl.c (flag_isoc9x): Define.
9308 (c_decode_option): Handle -flang-isoc9x.
9309 (grokdeclarator): Update to handle restrict. Use TYPE_QUALS,
9310 c_build_qualified_type, etc. Use c_apply_type_quals_to_decl.
9311 * c-lex.c (init_lex): Deal with restrict.
9312 (init_lex): Don't treat restrict as a reserved word in
9313 -traditional mode, or without -flang-isoc9x.
9314 * c-lex.h (rid): Add RID_RESTRICT.
9315 * c-parse.gperf (restrict, __restrict, __restrict__): Make
9316 equivalent to RID_RESTRICT.
9317 * c-parse.in (TYPE_QUAL): Update comment.
9318 * c-common.c: Include rtl.h.
9319 (c_find_base_decl): New function.
9320 (c_build_type_variant): Rename, and modify, to become ...
9321 (c_build_qualified_type): New function.
9322 (c_apply_type_quals_to_decl): Likewise.
9323 (c_get_alias_set): For INDIRECT_REFs, check to see if we can find
9324 a particular alias set for the reference.
9325 * toplev.c (documented_lang_options): Add -flang-isoc9x.
9327 Wed Oct 21 09:15:06 1998 Nick Clifton <nickc@cygnus.com>
9329 * config/arm/arm.h (TARGET_SWITCHES): Document arm specific
9330 command line switches.
9332 Tue Oct 20 10:04:51 1998 Graham <grahams@rcp.co.uk>
9334 * reload.c (loc_mentioned_in_p): Add missing braces to bind
9337 Mon Oct 19 16:34:05 1998 Tom Tromey <tromey@cygnus.com>
9339 * gcc.c (option_map): Added --classpath and --CLASSPATH.
9341 Tue Oct 20 10:59:02 1998 Gavin Romig-Koch <gavin@cygnus.com>
9343 * regclass.c (fix_register): Add error message.
9344 * invoke.texi (-fcall-used-REG,-fcall-saved-REG): Note the
9347 Tue Oct 20 10:12:17 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
9349 * c-decl.c (warn_missing_noreturn): New global variable.
9350 (c_decode_option): Check for new flags -W{no-}missing-noreturn.
9351 (finish_function): Implement missing noreturn warning.
9353 * c-tree.h (warn_missing_noreturn): Declare extern.
9355 * invoke.texi: Document new flags.
9357 * toplev.c (documented_lang_options): Add description.
9359 Tue Oct 20 22:16:11 1998 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
9361 * config/c4x/c4x.c (c4x_parallel_process): Disable until BCT
9362 loop optimization stable for the C4x.
9363 (c4x_rptb_info_t, c4x_dump, c4x_rptb_in_range, c4x_rptb_unjumped_loop,
9364 c4x_rptb_find_comp_and_jump, c4x_rptb_loop_info_get,
9365 c4x_rptb_emit_init, c4x_rptb_process): Deleted (superseded by BCT
9367 (c4x_address_conflict): Be more paranoid when packing a volatile
9368 memref in a parallel load/store.
9370 Tue Oct 20 21:56:05 1998 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
9372 * config/c4x/c4x.md (repeat_block_top, repeat_block_end,
9373 repeat_block_filler): Deleted.
9374 (*ashlqi3_set, *ashrqi3_const_set, *ashrqi3_nonconst_clobber):
9375 Condition code not set if destination register from 'c' class.
9376 (*subbqi3_carry_clobber): Fix typo.
9378 1998-10-18 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
9380 * reorg.c (steal_delay_list_from_target) Check for insns that
9381 modify the condition codes and effect the direction of the jump
9384 Sat Oct 17 13:09:09 1998 Graham <grahams@rcp.co.uk>
9386 * function.c (purge_addressof_1): Replace call to
9387 emit_insns_before() with emit_insn_before().
9389 Mon Oct 19 19:34:03 1998 Mike Stump <mrs@wrs.com>
9391 * libgcc2.c (__pure_virtual): Call __terminate instead of _exit.
9393 Mon Oct 19 13:26:24 1998 Bernd Schmidt <crux@pool.informatik.rwth-aachen.de>
9395 * jump.c (sets_cc0_p): Compile only if HAVE_cc0.
9397 Mon Oct 19 11:40:56 1998 Jeffrey A Law (law@cygnus.com)
9399 * gcse.c (compute_hash_table): Correctly identify hard regs which are
9400 clobbered across calls.
9402 * loop.c (scan_loop): Be more selective about what invariants are
9403 moved out of a loop.
9405 Mon Oct 19 10:46:58 PDT 1998 Jeff Law (law@cygnus.com)
9407 * version.c: Bump for snapshot.
9409 Mon Oct 19 11:40:56 1998 Jeffrey A Law (law@cygnus.com)
9411 * libgcc2.c (eh_context_static): Do not call malloc to allocate the
9412 static eh_context structure.
9414 Mon Oct 19 10:45:40 1998 Bernd Schmidt <crux@pool.informatik.rwth-aachen.de>
9416 * combine.c (recog_for_combine): Lose PADDED_SCRATCHES arg. All
9418 (try_combine): Don't update max_scratch.
9419 * flow.c (max_scratch, num_scratch): Delete variables.
9420 (life_analysis_1): Don't initialize max_scratch.
9421 (propagate_block): Don't update max_scratch.
9422 (mark_set_1): Don't increment num_scratch.
9423 * regs.h (max_scratch): Delete declaration.
9425 Mon Oct 19 10:28:15 1998 Jeffrey A Law (law@cygnus.com)
9427 * reload1.c (reload_reg_free_before_p): Hack. Return 0 if EQUIV
9428 is nonzero. This is temporary!
9430 * sched.c (update_flow_info): Handle death notes made invalid by
9431 instruction splitting. Partially reverts Oct 15, 1998 patch.
9432 * haifa-sched.c (update_flow_info): Likewise.
9434 Sun Oct 18 17:31:26 1998 Jeffrey A Law (law@cygnus.com)
9436 * function.c (uninitialized_vars_warning): Do not warn for a VAR_DECL
9437 if it has a nonzero DECL_INITIAL.
9439 Sat Oct 17 23:18:08 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
9441 * Makefile.in (flow.o): Depend on recog.h.
9443 * cpplib.h (directive_table): Add missing initializiers.
9444 (finclude): Change type of variable `bsize' to size_t.
9446 * cse.c (rtx_cost): Mark parameter `outer_code' with ATTRIBUTE_UNUSED.
9448 * dwarfout.h (dwarfout_label): Wrap prototype in macro RTX_CODE.
9450 * fix-header.c (lookup_std_proto): Cast the result of `strlen' to
9451 `int' when comparing against one.
9452 (cpp_file_line_for_message): Mark parameter `pfile' with
9454 (cpp_fatal): Mark parameter `pfile' with ATTRIBUTE_UNUSED.
9456 * flow.c: Include recog.h.
9457 (sbitmap_copy): Cast arguments 1 & 2 of `bcopy' to (PTR).
9459 * function.c (thread_prologue_and_epilogue_insns): Mark parameter
9460 `f' with ATTRIBUTE_UNUSED.
9461 (reposition_prologue_and_epilogue_notes): Likewise.
9463 * genopinit.c (gen_insn): Cast argument of ctype functions to
9466 * haifa-sched.c: Include recog.h.
9467 (blockage_range): Cast result of UNIT_BLOCKED macro to (int) when
9468 comparing against one.
9470 * libgcc2.a (__throw): Revert ATTRIBUTE_UNUSED change for now.
9472 * mips-tfile.c (parse_end): Cast the argument of ctype function to
9474 (parse_ent): Likewise.
9475 (parse_input): Likewise.
9477 * optabs.c (init_libfuncs): Likewise.
9479 * protoize.c (find_rightmost_formals_list): Likewise.
9481 * recog.h (const_double_operand): Fix typo in prototype.
9483 * tlink.c (scan_linker_output): Cast the argument of ctype
9484 function to `unsigned char'.
9486 * toplev.c (check_lang_option): Cast the result of `strlen' to
9487 `int' when comparing against one.
9489 Sat Oct 17 13:09:09 1998 Graham <grahams@rcp.co.uk>
9491 * gcse.c (dump_cuid_table): Correct typo.
9493 Sat Oct 17 11:02:47 1998 Nick Clifton <nickc@cygnus.com>
9495 * toplev.c (display_help): Prepend '-m' to target specific
9497 (check_lang_option): Ignore text after end of first word of a
9498 language specific option.
9500 Sat Oct 17 02:26:03 1998 Bernd Schmidt <crux@pool.informatik.rwth-aachen.de>
9502 * reload1.c (reg_used_by_pseudo): New static variable.
9503 (choose_reload_regs): Initialize it.
9504 Use it instead of testing spill_reg_order to determine whether a
9505 pseudo is live in a hard register across the current insn.
9506 Fix a typo in a reference to reload_reg_rtx.
9508 * flow.c (propagate_block): Replace code that computes and uses
9509 regs_sometimes_live with simpler code that just walks the set of
9510 currently live registers.
9512 * Makefile.in (insn-extract.o): Fix dependencies.
9513 * genextract.c (main): Generate includes for insn-config.h and
9515 Delete generation of declarations which are now in recog.h.
9516 * genrecog.c (main): Delete generation of definitions which are
9518 * local-alloc.c (block_alloc): Use extract_insn and the variables
9519 it sets up instead of looking up values by insn_code.
9520 * recog.c (recog_operand, recog_operand_loc, recog_dup_loc,
9521 recog_dup_num): Define here instead of generating the definition in
9523 (recog_n_operands, recog_n_dups, recog_n_alternatives,
9524 recog_operand_mode, recog_constraints, recog_operand_address_p):
9526 (extract_insn): New function.
9527 * recog.h (extract_insn): Declare function.
9528 (which_alternative, recog_n_operands, recog_n_dups,
9529 recog_n_alternatives, recog_operand_mode, recog_constraints,
9530 recog_operand_address_p): Declare variables.
9531 * regclass.c (n_occurrences): New static function.
9532 * reload.c (n_occurrences): Delete function.
9533 (find_reloads): Use extract_insn.
9534 * reload.h (n_occurrences): Delete declaration.
9536 Sat Oct 17 01:17:51 1998 Jeffrey A Law (law@cygnus.com)
9538 * reload1.c (reload_as_needed): Fix test for when to call
9539 update_eliminable_offsets.
9541 Fri Oct 16 20:40:50 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
9543 Fix consistency problems with reg_equiv_{mem,address};
9544 Improve reload inheritance;
9546 * reload.c (reload_out_reg): New variable.
9547 (loc_mentioned_in_p, remove_address_replacements): New functions.
9548 (remove_replacements): Deleted.
9549 (push_reload): Set reload_out_reg[i].
9550 When merging, also set reload_{in,out}_reg[i], and remove
9551 duplicate address reloads.
9552 (combine_reloads): Copy reload_out_reg[i].
9553 (find_reloads): Do make_memloc substitution also when
9554 reg_equiv_memory_loc[regno] and num_not_at_initial_offset
9556 Include *recog_operand_loc in commutativity operand changes.
9557 Generate optional output reloads.
9558 Delete reference to n_memlocs. Don't set *recog_operand_loc before
9559 processing operands. Call make_memloc in reg_equiv_address code.
9560 Set *recog_operand_loc only after processing operands, and only
9561 if replace is true. Return a value.
9562 When changing address reload types for operands that didn't get
9563 reloaded, use RELOAD_FOR_OPADDR_ADDRESS for
9564 RELOAD_FOR_INPADDR_ADDRESS / RELOAD_FOR_OUTADDR_ADDRESS reloads.
9565 Don't emit USEs for pseudo SUBREGs when not replacing.
9566 (find_reloads_address): Do make_memloc substitution also when
9567 reg_equiv_memory_loc[regno] and num_not_at_initial_offset
9569 (find_reloads_toplev): Likewise.
9570 Call make_memloc in reg_equiv_address code.
9571 (debug_reload_to_stream): Add code to output reload_out_reg.
9572 (make_memloc): Delete local variable i, ifdefed out code, and
9573 references to memlocs and n_memlocs.
9574 (memlocs, n_memlocs): Delete.
9575 (push_secondary_reload): Clear reload_out_reg.
9576 (find_reloads_address_1): Provide memrefloc argument to all calls
9577 to find_reloads_address.
9578 In AUTO_INC code, handle non-directly addressable equivalences properly.
9579 * reload.h (reload_out_reg, num_not_at_initial_offset): Declare.
9580 (find_reloads): Add return type.
9581 (remove_address_replacements, deallocate_reload_reg): Declare.
9582 * reload1.c (num_not_at_initial_offset): No longer static.
9583 (delete_address_reloads, delete_address_reloads_1): Likewise.
9584 (deallocate_reload_reg): New function.
9585 (spill_reg_stored_to): New array.
9586 (eliminate_regs): Don't substitute from reg_equiv_memory_loc.
9587 (eliminate_regs_in_insn): Move assignments of previous_offset and
9588 max_offset fields, and recalculation of num_not_at_initial_offset
9589 into new static function:
9590 (update_eliminable_offsets) .
9591 (reload_as_needed): Call update_eliminable_offsets after calling
9593 Call forget_old_reloads_1 with contents of reloaded auto_inc
9594 expressions if the actual addressing can't be changed to match the
9596 (choose_reload_regs): For inheritance, replace
9597 reload_reg_free_before_p test with reload_reg_used_at_all test, and
9598 remove stand-alone reload_reg_used_at_all test.
9599 Use reload_out_reg to determine which reload regs have output reloads.
9600 Treat reload_override_in more similar to inherited reloads.
9601 Handle (subreg (reg... for inheritance.
9602 For flag_expensive_optimizations, add an extra pass to remove
9603 unnecessary reloads from known working inheritance.
9604 Delete obsolete code for pseudos replaced with MEMs.
9605 Handle inheritance from auto_inc expressions.
9606 (emit_reload_insns): If reload_in is a MEM, set OLD to
9608 Don't reload directly from oldequiv; if it's a pseudo with a
9609 stack slot, use reload_in[j].
9610 Check that reload_in_reg[j] is a MEM before replacing reload_in
9611 from reg_reloaded_contents.
9612 Include non-spill registers in reload inheritance processing.
9613 Also try to use reload_out_reg to set spill_reg_store /
9614 reg_last_reload_reg.
9615 In code to set new_spill_reg_store, use single_set to find out if
9616 there is a single set.
9617 Add code that allows to delete optional output reloads.
9618 Add code to allow deletion of output reloads that use no spill reg.
9619 At the end, set reload_override_in to oldequiv.
9620 Also call delete_output_reload if reload_out_reg is equal to old
9622 Add code to call delete_output_reload for stores with no matching load.
9623 Set / use spill_reg_stored_to.
9624 Handle case where secondary output reload uses a temporary, but
9625 actual store isn't found.
9626 When looking for a store of a value not loaded in order to call
9627 delete_output_reload, count_occurrences should return 0 for no
9628 loads; but discount inherited input reloadill_reg_stored_to.
9629 Do checks for extra uses of REG. Changed all
9631 Use delete_address_reloads.
9632 (reload): Take return value of find_reloads into account.
9633 If a no-op set needs more than one reload, delete it.
9634 (reload_reg_free_before_p): RELOAD_FOR_INPUT
9635 can ignore RELOAD_FOR_INPUT_ADDRESS / RELOAD_FOR_INPADDR_ADDRESS
9636 for the same operand.
9637 (clear_reload_reg_in_use): Check for other reloads that keep a
9639 (reload_reg_free_for_value_p): Handle RELOAD_FOR_OPERAND_ADDRESS /
9640 RELOAD_FOR_OPADDR_ADDR.
9641 Take into account when an address address reload is only needed
9642 for the address reload we are considering.
9643 (count_occurrences): Use rtx_equal_p for MEMs.
9644 (inc_for_reload): Return instruction that stores into RELOADREG.
9645 New argument two, IN, and rtx. Changed all callers.
9646 (calculate_needs_all_insns, reload_as_needed):
9647 Don't clear after_call for a CLOBBER.
9648 Keep track of how many hard registers need to be copied from
9649 after_call, and don't clear after_call before we have seen
9650 that much copies, or we see a different instruction.
9652 Fri Oct 16 10:58:23 1998 Jeffrey A Law (law@cygnus.com)
9654 * flow.c (find_basic_blocks_1): Do not delete unreachable blocks
9655 after reload has completed.
9657 Fri Oct 16 17:26:10 1998 Dave Brolley <brolley@cygnus.com>
9659 * cpplib.c (cpp_get_token): Replace whitespace that occurs between
9660 a macro name and the next token with a single blank if that whitespace
9661 is in a macro buffer and the next token is not '('.
9663 Fri Oct 16 15:44:02 1998 Dave Brolley <brolley@cygnus.com>
9665 * cccp.c (rescan): Handle multibyte characters ending in backslash.
9667 (skip_if_group): Likewise.
9668 (skip_to_end_of_comment): Likewise.
9669 (macarg1): Likewise.
9670 (discard_comments): Likewise.
9671 (change_newlines): Likewise.
9673 Fri Oct 16 15:26:24 1998 Dave Brolley <brolley@cygnus.com>
9675 * c-lex.c (yylex): Fix unaligned access of wchar_t.
9677 Fri Oct 16 10:47:53 1998 Nick Clifton <nickc@cygnus.com>
9679 * config/arm/arm.h (TARGET_SWITCHES): Add --help documentation.
9680 (TARGET_OPTIONS): Add --help documentation.
9682 Fri Oct 16 11:49:01 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
9684 * rtl.h (sets_cc0_p): Revert Oct 14 ATTRIBUTE_NORETURN change.
9686 Fri Oct 16 07:08:46 1998 Bruce Korb <korb@datadesign.com>
9688 * fixinc/* Moved in from ../contrib directory in preparation
9689 for integrating it into the normal build process. In particular,
9690 fixinc/Makefile.in must be config-ed into the build directory
9691 as fixinc/Makefile. Proposed patches to ./Makefile.in and
9692 ./configure.in will be "in the mail" momentarily.
9694 Fri Oct 16 08:13:46 1998 David S. Miller <davem@pierdol.cobaltnet.com>
9696 * cse.c (cse_basic_block): Fixup hash flushing loop so we do not
9697 accidently walk into the free list. Comment how that can happen.
9698 (invalidate): Fix indentation.
9700 Thu Oct 15 23:53:29 1998 Bernd Schmidt <crux@pool.informatik.rwth-aachen.de>
9701 Jeffrey A Law (law@cygnus.com)
9703 * flow.c (life_analysis_1): Do not clobber regs_ever_live after
9704 reload. Never perform rescans of the insn chain after reload.
9705 (propagate_block): Do not delete insn or create new autoinc addressing
9708 * jump.c (jump_optimize): Unconditionally use the code that was
9709 previously conditional on PRESERVE_DEATH_INFO_REGNO_P.
9710 * reload1.c (reload): When reloading is finished, delete all
9711 REG_DEAD and REG_UNUSED notes.
9712 (emit_reload_insns): Delete all code that was conditional on
9713 PRESERVE_DEATH_INFO_REGNO_P.
9714 (no_longer_dead_regs): Delete variable.
9715 (reload_cse_delete_death_notes): Delete function.
9716 (reload_cse_no_longer_dead): Delete function.
9717 (reload_cse_regs_1): Delete all code to handle deletion of death
9719 (reload_cse_noop_set_p): Likewise.
9720 (reload_cse_simplify_set): Likewise.
9721 (reload_cse_simplify_operands): Likewise.
9722 (reload_cse_move2add): Likewise.
9723 * reorg.c (used_spill_regs): Delete declaration.
9724 (max_label_num_after_reload): Delete declaration.
9725 (find_dead_or_set_registers): Don't assume that spill regs are
9726 dead at a CODE_LABEL.
9727 * rtlanal.c (dead_or_set_regno_p): Death notes are always accurate,
9729 * sched.c (sched_analyze_insn): Likewise.
9730 (update_flow_info): Likewise.
9731 * haifa-sched.c (sched_analyze_insn): Likewise.
9732 (update_flow_info): Likewise.
9733 * tm.texi (PRESERVE_DEATH_INFO_REGNO_P): Delete documentation.
9734 * toplev.c (max_label_num_after_reload): Delete variable.
9735 (rest_of_compilation): Don't set max_label_num_after_reload.
9736 Call life_analysis after reload_cse_regs if optimizing.
9737 * config/gmicro/gmicro.h: Delete comment referring to
9738 PRESERVE_DEATH_INFO_REGNO_P.
9739 * config/i386/i386.h: Likewise.
9740 * config/m88k/m88k.h: Likewise.
9741 * config/m32r/m32r.h (PRESERVE_DEATH_INFO_REGNO_P): Delete definition.
9742 * config/sh/sh.h: Likewise.
9744 Thu Oct 15 19:48:41 1998 David Edelsohn <edelsohn@gnu.org>
9746 * loop.c (strength_reduce): Restore marking bct_p as
9748 * rs6000.c (optimization_options): Change #ifdef HAIFA to
9749 HAVE_decrement_and_branch_on_count.
9750 (small_data_operand): Remove TARGET_ELF condition for marking
9751 parameters ATTRIBUTE_UNUSED.
9753 Thu Oct 15 11:45:51 1998 Robert Lipe <robertl@dgii.com>
9755 * config/i386/sco5.h (MAX_OFILE_ALIGNMENT): Define.
9756 (SELECT_SECTION): Resync with svr4.h.
9758 Thu Oct 15 12:42:13 1998 David Edelsohn <edelsohn@gnu.org>
9760 * loop.c (strength_reduce): Undo Oct 14 change marking bct_p
9763 Thu Oct 15 00:57:55 1998 Robert Lipe <robertl@dgii.com>
9765 * c-pragma.c (handle_pragma_token): Test for null tree before
9766 dereferencing TREE_CODE.
9768 Thu Oct 15 17:36:48 1998 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
9770 * config/c4x/c4x.c: Convert to use GEN_INT.
9771 (c4x_parallel_process): Rework to handle new repeat loop structure.
9773 * config/c4x/c4x.md: Convert to use GEN_INT.
9774 (rptb_end): Convert to use GE test. Replace uses with clobbers.
9775 (decrement_and_branch_on_count): Likewise.
9777 * config/c4x/c4x.h (REPEAT_BLOCK_PROCESS): Deleted hook now that
9778 loop.c has the desired functionality.
9779 (rc_reg_operand): New prototype.
9781 * config/c4x/t-c4x: Can now build all front ends.
9783 Wed Oct 14 23:27:08 1998 Didier FORT (didier.fort@fedex.com)
9785 * fixincludes: Fix up rpc/{clnt,svr,xdr}.h for SunOS.
9787 Wed Oct 14 22:13:28 1998 Joel Sherrill (joel@OARcorp.com)
9789 * Makefile.in (stmp-fixinc): Do not install assert.h if not desired.
9790 * config/t-rtems: Do not install assert.h -- use newlib's.
9792 Wed Oct 14 21:57:08 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
9794 * combine.c (combine_instructions): When finished, call init_recog.
9795 * regmove.c (optimize_reg_copy_3): Reject volatile MEMs.
9797 Wed Oct 14 16:10:22 1998 Per Bothner <bothner@cygnus.com>
9799 * toplev.c: If flag_syntax_only, don't open or write assembler file.
9801 Wed Oct 14 13:26:05 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
9803 * cppalloc.c (memory_full): Mark function prototype with
9806 * demangle.h (collect_exit): Likewise.
9808 * fix-header.c (v_fatal, fatal): Likewise.
9810 * gcc.c (pfatal_with_name, pfatal_pexecute, fatal, fancy_abort):
9813 * gcov.c (print_usage): Likewise.
9815 * genattr.c (fatal, fancy_abort): Likewise.
9817 * genattrtab.c (fatal, fancy_abort): Likewise.
9819 * gencodes.c (fatal, fancy_abort): Likewise.
9821 * genconfig.c (fatal, fancy_abort): Likewise.
9823 * genemit.c (fatal, fancy_abort): Likewise.
9825 * genextract.c (fatal, fancy_abort): Likewise.
9827 * genflags.c (fatal, fancy_abort): Likewise.
9829 * genopinit.c (fatal, fancy_abort): Likewise.
9831 * genoutput.c (fatal, fancy_abort): Likewise.
9833 * genpeep.c (fatal, fancy_abort): Likewise.
9835 * genrecog.c (fatal, fancy_abort): Likewise.
9837 * libgcc2.c (__eprintf, __default_terminate, __sjthrow,
9838 __sjpopnthrow, __throw): Likewise.
9840 * objc/objc-act.c (objc_fatal): Likewise.
9842 * protoize.c (usage, aux_info_corrupted,
9843 declare_source_confusing): Likewise.
9845 * rtl.c (dump_and_abort): Likewise.
9847 * rtl.h (sets_cc0_p): Likewise.
9849 * toplev.c (float_signal, pipe_closed): Likewise.
9851 1998-10-14 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
9853 * dwarf2out.c (expand_builtin_dwarf_reg_size): Look at all ranges
9854 when generating the decision tree for the general case.
9856 * config/m68k/m68k.h (HARD_REGNO_MODE_OK): Don't accept modes
9857 wider that 12 bytes in fpu regs or wider than 8 byte in fpa regs.
9859 Wed Oct 14 11:14:02 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
9861 * Makefile.in (sched.o): Depend on recog.h.
9863 * alias.c (REG_BASE_VALUE): Cast the result of REGNO() macro to
9864 (unsigned) when comparing against one.
9865 (find_base_value): Likewise.
9866 (record_base_value): Cast variable `regno' to (unsigned) when
9867 comparing against one. Cast the result of REGNO() macro to
9868 (unsigned) when comparing against one.
9869 (memrefs_conflict_p): Change type of variables `r_x' and `r_y' to
9871 (init_alias_analysis): Add unsigned variable `ui'. Use it as loop
9872 variable where an unsigned index is needed.
9874 * caller-save.c (init_caller_save): Cast `-1' to (enum insn_code)
9875 before comparing against one.
9877 * collect2.c: Add prototypes for functions `error', `fatal' and
9878 `fatal_perror'. Make these functions take variable arguments
9879 instead of faking it with a fixed number of args.
9880 (write_c_file_stat): Cast the argument of ctype macro to (unsigned
9883 * combine.c (can_combine_p): Mark parameter `pred' with
9885 (find_split_point): Cast variable `src' to (unsigned
9886 HOST_WIDE_INT) when comparing against one.
9887 (simplify_rtx): Cast 1 to (unsigned HOST_WIDE_INT) in shift.
9888 (simplify_logical): Likewise.
9889 (force_to_mode): Cast result of INTVAL() macro to (unsigned
9890 HOST_WIDE_INT) when comparing against one. Cast 1 to (unsigned
9891 HOST_WIDE_INT) in shift.
9892 (simplify_and_const_int): Cast result of INTVAL() macro to
9893 `unsigned HOST_WIDE_INT' when comparing against one.
9894 (merge_outer_ops): Cast variable const0 to `unsigned
9895 HOST_WIDE_INT' when comparing against the result of
9896 GET_MODE_MASK() macro.
9897 (simplify_comparison): Likewise for variable `c0'. Cast variable
9898 `const_op' to `unsigned HOST_WIDE_INT' when comparing against
9899 one. Cast `1' to `unsigned HOST_WIDE_INT' in shift. Cast the
9900 result of `GET_MODE_MASK()/2' to `HOST_WIDE_INT' when comparing
9901 against one. Cast `1' to `unsigned HOST_WIDE_INT' in shift. Cast
9902 result of INTVAL() macro to `unsigned HOST_WIDE_INT' when
9903 comparing against one.
9904 (distribute_notes): Wrap variable `cc0_setter' in macro `HAVE_cc0'.
9906 config/mips/mips.c (gen_int_relational): Cast result of INTVAL()
9907 macro to `unsigned HOST_WIDE_INT' when comparing against one.
9908 (output_block_move): Cast `sizeof' expression to (int) when
9909 comparing against one.
9910 (function_arg): Cast BITS_PER_WORD to `unsigned' when comparing
9912 (save_restore_insns): Cast `base_offset' to `long' to match format
9913 specifier in fprintf.
9915 * config/mips/mips.h (Pmode): Cast the result of `Pmode' macro
9916 to `enum machine_mode'.
9918 * flow.c (life_analysis_1): Remove unused variable `insn'.
9920 * gcc.c (translate_options): Move variables `j' and `k' into the
9921 scope in which they are used. Change their types to `size_t'.
9922 (set_spec): Cast the argument of ctype macro to `unsigned char'.
9923 (read_specs): Likewise.
9924 (process_command): Cast `sizeof' to (int) when comparing against one.
9925 (do_spec_1): Cast the argument of ctype macro to `unsigned char'.
9926 (handle_braces): Cast both sides of `==' expression to `long' to
9927 ensure sign matching.
9928 (main): Cast variable `i' to `int' when comparing against one.
9930 * gcov-io.h (__fetch_long): Change type of parameter `bytes' from
9931 int to size_t. Cast variable `i' to size_t when comparing against
9934 * genattrtab.c (convert_set_attr_alternative): Remove unused
9935 parameter `insn_code'. All callers changed.
9936 (convert_set_attr): Likewise.
9938 * genrecog.c (add_to_sequence): Cast result of XVECLEN() macro to
9939 size_t when comparing against one. Likewise for variable `len'.
9941 * global.c (global_alloc): Cast variable `max_regno' to size_t
9942 when comparing against one. Likewise for variable `max_allocno'.
9944 * jump.c (sets_cc0_p): Mark parameter `x' with ATTRIBUTE_UNUSED.
9946 * local-alloc.c (validate_equiv_mem_from_store): Mark parameter
9947 `set' with ATTRIBUTE_UNUSED.
9948 (find_free_reg): Cast `sizeof' expression to (int) when comparing
9951 * loop.c (count_loop_regs_set): Remove unused variable `dest'.
9952 (strength_reduce): Mark parameter `bct_p' with ATTRIBUTE_UNUSED.
9953 (get_condition): Cast variable `const_val' to `unsigned
9954 HOST_WIDE_INT' when comparing against one. Cast unsigned
9955 expression to HOST_WIDE_INT when comparing against one.
9956 (insert_loop_mem): Mark parameter `data' with ATTRIBUTE_UNUSED.
9957 (load_mems_and_recount_loop_regs_set): Cast variable `nregs' to
9958 `unsigned' when comparing against one.
9960 * protoize.c (is_id_char): Change type of parameter `ch' to
9962 (munge_compile_params): Cast argument of ctype macro to (const
9964 (process_aux_info_file): Cast variable `aux_info_size' to int when
9965 comparing against one.
9966 (forward_to_next_token_char): Cast argument of ctype macro to
9967 `const unsigned char'.
9968 (edit_formals_lists): Likewise.
9969 (find_rightmost_formals_list): Likewise.
9970 (add_local_decl): Likewise.
9971 (add_global_decls): Likewise.
9972 (edit_fn_definition): Likewise.
9973 (do_cleaning): Likewise.
9974 (scan_for_missed_items): Likewise.
9975 (edit_file): Cast variable `orig_size' to (int) when comparing
9977 (main): Cast argument of ctype macro to `const unsigned char'.
9979 * recog.c (const_int_operand): Mark parameter `mode' with
9982 * regclass.c (record_reg_classes): Change type of variable `c' to
9983 `unsigned char'. Cast `char' array index to `unsigned char'.
9985 * reload.c (push_secondary_reload): Cast argument to
9986 REG_CLASS_FROM_LETTER() macro to `unsigned char'.
9988 * reload1.c (calculate_needs): Cast `char' array index to
9990 (set_label_offsets): Change type of variable `i' to unsigned int.
9991 Cast result of XVECLEN() macro to unsigned when comparing against
9993 (mark_not_eliminable): Change type of variable `i' to unsigned.
9994 (order_regs_for_reload): Likewise. Cast `max_regno' to unsigned
9995 when comparing against one.
9996 (reload_as_needed): Cast macro NUM_ELIMINABLE_REGS to (int) when
9997 comparing against one.
9998 (choose_reload_regs): Hide unused label `fail'.
9999 (reload_cse_simplify_operands): Cast `char' array index to
10001 (reload_combine_note_store): Mark parameter `set' with
10002 ATTRIBUTE_UNUSED. Cast UNITS_PER_WORD to unsigned when comparing
10004 (reload_cse_move2add): Remove unused variable `src2'.
10006 * sched.c: Include recog.h.
10007 (sched_note_set): Remove unused parameter `b'. All callers
10009 (split_hard_reg_notes): Likewise for parameter `orig_insn'.
10010 (blockage_range): Cast result of UNIT_BLOCKED() macro to (int)
10011 when comparing against one.
10013 * stupid.c (stupid_find_reg): Mark parameter `changes_size' with
10014 ATTRIBUTE_UNUSED. Cast `sizeof' expression to (int) when
10015 comparing against one.
10017 * unroll.c (precondition_loop_p): Remove unused parameter
10018 `loop_end'. All callers changed.
10020 Tue Oct 13 22:12:11 1998 Bernd Schmidt <crux@pool.informatik.rwth-aachen.de>
10022 * reload1.c (maybe_fix_stack_asms): New static function.
10025 * reload.h (compute_use_by_pseudos): Declare.
10027 * reload1.c (spilled_pseudos, insns_need_reload): New variables.
10028 (something_needs_reloads): Delete variable.
10029 (finish_spills): New function.
10030 (compute_use_by_pseudos): New function.
10032 (delete_caller_save_insns): Lose argument FIRST. All callers changed.
10033 Use the reload_insn_chain instead of walking the rtl directly.
10035 (reload): Allocate and free spilled_pseudos.
10036 Ensure that all calls of spill_hard_reg are followed by a call to
10038 Use the insns_need_reload list instead of something_needs_reloads
10039 to find out if reload_as_needed must be called.
10040 Clear unused_insn_chains at the end.
10042 (calculate_needs_all_insns): Lose FIRST parameter. All callers
10044 Delete code to keep track of current basic block.
10045 Walk reload_insn_chain instead of the rtl structure. Build the
10046 insns_need_reload chain.
10047 Remember which insns need reloading/elimination by setting the
10048 appropriate fields in struct insn_chain, not by putting modes on the
10051 (calculate_needs): Lose THIS_BLOCK arg. Accept arg CHAIN instead of
10052 arg INSN. All callers changed.
10053 Delete declaration of struct needs.
10054 Don't set something_needs_reloads.
10055 Record insn needs in the CHAIN argument.
10057 (spill_hard_reg): Record the affected pseudos in spilled_pseudos.
10059 (reload_as_needed): Lose FIRST arg. All callers changed.
10060 Walk the reload_insn_chain instead of the rtx structure.
10061 Delete code to keep track of current basic block.
10062 Rename one of the NEXT variables to OLD_NEXT.
10064 (allocate_reload_reg): Accept arg CHAIN instead of arg INSN. All
10066 (choose_reload_regs): Likewise.
10068 (emit_reload_insns): Replace INSN and BB args with arg CHAIN. All
10071 * caller-save.c (MOVE_MAX_WORDS): New macro. Use it throughout
10072 instead of (MOVE_MAX / UNITS_PER_WORD) computation.
10073 (hard_regs_live, hard_regs_need_restore): Delete variables.
10074 (n_regs_saved): Now static.
10075 (referenced_regs, this_insn_sets): New variables.
10077 (setup_save_areas): Restructure the code a bit.
10079 (restore_referenced_regs): Delete function.
10080 (mark_referenced_regs): New function, similar to the old
10081 restore_referenced_regs, but mark registers in referenced_regs.
10083 (clear_reg_live): Delete function.
10084 (mark_set_regs): Renamed from set_reg_live. All callers changed.
10085 Only mark registers in this_insn_sets.
10087 (save_call_clobbered_regs): Rework this function to walk the
10088 reload_insn_chain instead of using the list of instructions directly.
10089 Delete code to keep track of register lives, compute live regs on the
10090 fly from information in the chain.
10091 Instead of calling restore_referenced_regs, use mark_referenced_regs,
10092 then walk the set it computes and call insert_restore as appropriate.
10094 (insert_restore): Lose INSN and BLOCK args. Add CHAIN arg. All
10096 Restructure the code a bit. Test hard_regs_saved instead of
10097 hard_regs_need_restore.
10098 (insert_save): Lose INSN and BLOCK args. Add CHAIN and TO_SAVE
10099 args. All callers changed.
10100 Restructure the code a bit. Use TO_SAVE to determine which regs to
10101 save instead of more complicated test.
10102 (insert_one_arg): Lose INSN and BLOCK args. Add CHAIN arg. All
10104 Create a new insn_chain structure for the new insn and place it
10107 * rtl.texi: Update documentation to reflect that reload no longer
10108 puts modes on the insns.
10110 1998-10-14 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
10112 * function.c (purge_addressof_1): Force the first argument of a
10113 CALL insn to memory.
10115 Wed Oct 14 00:38:40 1998 Jeffrey A Law (law@cygnus.com)
10117 * rtl.h: Delete duplicate prototypes. Add some missing
10119 * rtlanal.c (for_each_rtx): Formatting tweak.
10121 1998-10-13 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
10123 * real.c (emdnorm and etoasc): Disable round to even for c4x target
10124 to be compatible with TI compiler.
10126 * Makefile.in (USER_H): Add va-c4x.h to definition.
10128 Tue Oct 13 23:03:37 1998 Richard Henderson <rth@cygnus.com>
10130 * function.c (purge_addressof_1): Fix typo in inequality: do
10131 bitfield optimization for equal mode sizes.
10132 * expmed.c (store_bit_field): Don't take subregs of subregs in
10133 the movstrict case. Tidy a potential problem in the multi-word case.
10134 (extract_bit_field): Likewise.
10136 Tue Oct 13 22:12:11 1998 Bernd Schmidt <crux@pool.informatik.rwth-aachen.de>
10138 * flow.c (find_basic_blocks): Emit NOPs after normal calls in this
10140 Compute max_uid_for_flow by calling get_max_uid after the scan.
10141 (find_basic_blocks_1): Don't emit NOPs here.
10143 Tue Oct 13 22:05:49 1998 Richard Henderson <rth@cygnus.com>
10145 * alias.c (base_alias_check): Accept new args for the modes of the
10146 two references. Use them to determine if an AND can overlap. Update
10148 (memrefs_conflict_p): Assume sizes are aligned, and uses them
10149 to determine if an AND can overlap.
10151 Tue Oct 13 17:51:04 1998 Jim Wilson <wilson@cygnus.com>
10153 * config/m68k/m68k.h (HARD_REGNO_MODE_OK): For FP regs, add REGNO >= 16
10154 check. Add comment to document problems with TARGET_SUN_FPA version
10156 * config/m68k/m68k.md (movxf+1): Support 'r'/'r' moves.
10158 Tue Oct 13 17:46:18 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
10160 * Makefile.in (gencheck.o): Depend on gansidecl.h.
10162 * c-common.c (print_char_table): Add missing initializers.
10163 (scan_char_table): Likewise.
10164 (time_char_table): Likewise.
10166 * c-decl.c (c_decode_option): Mark parameter `argc' with
10168 (declare_parm_level): Mark parameter `definition_flag' with
10171 * c-lex.c (readescape): Use `(unsigned)1' in shift.
10172 (yylex): Likewise. Cast `sizeof' to an (int) when comparing
10175 * calls.c (store_one_arg): Remove unused parameter `fndecl'. All
10177 (emit_call_1): Mark parameters `fndecl' and `funtype' with
10179 (expand_call): Cast result of MIN() to (unsigned int) when
10180 comparing against an unsigned value.
10182 * cccp.c (pcfinclude): Remove unused parameter `limit'. All
10184 (make_definition): Remove unused parameter `op'. All callers
10186 (create_definition): Cast REST_EXTENSION_LENGTH to (long) when
10187 comparing against the result of pointer arithmetic.
10189 * config/mips/mips.h (FUNCTION_ARG_BOUNDARY): Cast to (unsigned)
10190 when comparing against one.
10192 * dwarf2out.c (dwarf2out_frame_debug): Cast REGNO() and
10193 HARD_FRAME_POINTER_REGNUM to (unsigned) when comparing against
10195 (output_die): Move variable `i' into the scope in which it is
10196 used. Change its type to `unsigned'.
10197 (output_die): Cast the result of `strlen' to (int) when passing it
10198 to ASM_OUTPUT_ASCII().
10199 (output_pubnames): Likewise.
10200 (output_line_info): Likewise.
10202 * emit-rtl.c (global_rtl): Add missing initializers.
10204 * explow.c (promote_mode): Mark parameter `for_call' with
10207 * expmed.c (expand_shift): Cast the result of GET_MODE_BITSIZE to
10208 `unsigned HOST_WIDE_INT' when comparing against one.
10209 (synth_mult): Change type of variable `cost' to int.
10210 (emit_store_flag): Use `(unsigned HOST_WIDE_INT) 1' in shift.
10212 * expr.c (copy_blkmode_from_reg): Cast BITS_PER_WORD to (unsigned)
10213 when comparing against one.
10214 (get_inner_reference): Change variable `alignment' to unsigned.
10215 (expand_expr): Cast the result of GET_MODE_ALIGNMENT to (unsigned
10216 int) when comparing against one.
10217 (expand_builtin_setjmp): Change type of variable `i' to size_t.
10219 * fold-const.c (div_and_round_double): Cast BASE to
10220 (HOST_WIDE_INT) when comparing against one.
10222 * gencheck.c: Include gansidecl.h.
10223 (main): Mark parameter `argv' with ATTRIBUTE_UNUSED.
10225 * optabs.c (gen_cond_trap): Mark parameters `code', `op2' and
10226 `tcode' with ATTRIBUTE_UNUSED.
10228 * real.c (edivm): Cast constant value to (unsigned long) in
10229 expression compared against an unsigned value.
10231 * stmt.c (expand_return): Cast BITS_PER_WORD to (unsigned) when
10232 comparing against one.
10233 (expand_end_case): Cast CASE_VALUES_THRESHOLD to (unsigned int)
10234 when comparing against one.
10236 * stor-layout.c (mode_for_size): Cast MAX_FIXED_MODE_SIZE to
10237 (unsigned int) when comparing against one. Likewise for
10239 (smallest_mode_for_size): Likewise.
10240 (save_storage_status): Mark parameter `p' with ATTRIBUTE_UNUSED.
10241 (restore_storage_status): Likewise.
10243 * toplev.c (debug_args): Add missing initializer.
10244 (f_options): Spelling correction. Add missing initializers.
10245 (documented_lang_options): Likewise.
10246 (debug_end_source_file): Mark parameter `lineno' with
10249 * tree.c (valid_machine_attribute): Mark parameters `attr_args',
10250 `decl' and `type' with ATTRIBUTE_UNUSED.
10252 * varasm.c (decode_reg_name): Cast `sizeof' expression to (int)
10253 when comparing against one.
10254 (assemble_variable): Mark parameter `top_level' with
10256 (assemble_external_libcall): Mark parameter `fun' with
10258 (output_constant_pool): Mark parameters `fnname' and `fndecl' with
10261 Tue Oct 13 12:51:04 1998 Nick Clifton <nickc@cygnus.com>
10263 * config/v850/lib1funcs.asm (_udivsi3): Add .type declaration.
10264 Replace use of r5 with use of r19.
10266 * config/v850/v850.h (LINK_POINTER_REGNUM): Define.
10268 * config/v850/v850.c (compute_register_save_size): Allow for the
10269 fact that helper functions save all registers, not just those used
10272 Replace constant 31 with macro LINK_POINTER_REGNUM.
10274 * config/v850/v850.md: Use 'indirect_operand' rather than
10275 'memory_operand' for bit test/set/clear patterns.
10277 Tue Oct 13 11:49:14 1998 Jason Merrill <jason@yorick.cygnus.com>
10279 * mips/iris6.h (ASM_OUTPUT_WEAK_ALIAS): Call ASM_GLOBALIZE_LABEL.
10280 * varasm.c (assemble_start_function et al): Don't call
10281 ASM_GLOBALIZE_LABEL for weak symbols.
10283 Tue Oct 13 11:37:45 1998 Nick Clifton <nickc@cygnus.com>
10285 * cse.c (equiv_constant): Check for NULL return from
10286 gen_lowpart_if_possible().
10288 Tue Oct 13 11:24:51 1998 Jeffrey A Law (law@cygnus.com)
10290 * mn10200.md (addsi3, subsi3, negsi2): Only allow register operands.
10292 * collect2.c (main): Pass -EL/-EB through to the compiler.
10294 1998-10-12 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
10296 * expr.c (push_block): Handle targets where the stack grows
10297 to higher addresses, but args grow to lower addresses and
10298 ACCUMULATE_OUTGOING_ARGS is not defined.
10300 Tue Oct 13 08:00:52 1998 Catherine Moore <clm@cygnus.com>
10302 * config/v850/v850.c (print_operand): Extend meaning
10303 of 'c' operands to support .vtinherit.
10305 Tue Oct 13 21:38:35 1998 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
10307 * config/c4x/c4x.c: Convert to gen_rtx_FOO.
10308 Added ATTRIBUTE_UNUSED to unused function arguments.
10309 (rc_reg_operand): New predicate.
10310 (c4x_rptb_insert): New function.
10311 (c4x_rptb_nop_p): Recognize modified rptb_top pattern.
10312 (c4x_optimization_options): New function.
10314 * config/c4x/c4x.md: Convert to gen_rtx_FOO.
10315 (decrement_and_branch_on_count): New pattern.
10316 (rptb_top): Modified pattern to work with BCT optimization.
10318 * config/c4x/c4x.h (RC_REG): New register class.
10319 (rc_reg_operand): Define prototype.
10320 (IS_RC_REG): New macro.
10321 (IS_RC_OR_PSEUDO_REG): New macro.
10322 (IS_RC_OR_PSEUDO_REGNO): New macro.
10323 (OPTIMIZATION_OPTIONS): Define.
10325 Mon Oct 12 19:57:34 1998 Jason Merrill <jason@yorick.cygnus.com>
10327 * collect2.c (extract_init_priority): No priority is 65535.
10329 Mon Oct 12 12:10:37 1998 Alexandre Oliva <oliva@dcc.unicamp.br>
10331 * Makefile.in (build_tooldir): New variable, same as old
10332 $(tooldir), but without depending on $(libdir)/$(unlibsubdir).
10333 (GCC_FOR_TARGET): Add -B$(build_tooldir)/bin/.
10334 (bootstrap, bootstrap2, bootstrap3, bootstrap4): Likewise.
10336 * configure.in (gxx_include_dir): Set default based on unlibsubdir.
10337 * Makefile.in (tooldir): Likewise.
10338 (cccp.o, cpplib.o): Use unlibsubdir implicitly through
10339 gxx_include_dir, includedir and tooldir.
10340 (protoize.o, unprotoize.o): Likewise.
10342 Mon Oct 12 10:50:44 1998 Nick Clifton <nickc@cygnus.com>
10344 * config/arm/arm.md: Replace (reg 24) with (reg:CC 24).
10346 * config/arm/thumb.c (thumb_override_options): Add warning about
10347 PIC code not being supported just yet.
10349 Sun Oct 11 16:49:15 EDT 1998 John Wehle (john@feith.com)
10351 * flow.c: Update comment.
10352 (notice_stack_pointer_modification): New static function.
10353 (record_volatile_insns): Use it.
10354 (mark_regs_live_at_end): Mark the stack pointer as alive
10355 at the end of the function if current_function_sp_is_unchanging
10357 (life_analysis_1): Set current_function_sp_is_unchanging.
10358 * function.c: Define it.
10359 (init_function_start): Initialize it.
10360 * output.h: Declare it.
10361 * reorg.c (fill_simple_delay_slots, dbr_schedule): Mark
10362 the stack pointer as alive at the end of the function if
10363 current_function_sp_is_unchanging is set.
10364 * i386.c (ix86_epilogue): Optimize the restoring
10365 of the stack pointer.
10367 Mon Oct 12 01:22:53 PDT 1998 Jeff Law (law@cygnus.com)
10369 * version.c: Bump for snapshot.
10371 Sun Oct 11 23:04:30 1998 Robert Lipe <robertl@dgii.com>
10373 * c-pragma.c (handle_pragma_token): If passed a token instead
10374 of a tree, use that as the pack value.
10376 Sun Oct 11 14:21:14 1998 Mark Mitchell <mark@markmitchell.com>
10378 * flow.c (find_basic_blocks_1): Fix prototype.
10380 Sun Oct 11 05:03:41 1998 Ken Raeburn <raeburn@cygnus.com>
10382 * tree.h (DECL_NO_CHECK_MEMORY_USAGE): New macros.
10383 (struct tree_decl): New fields no_check_memory_usage.
10384 * c-common.c (enum attrs): Add A_NO_CHECK_MEMORY_USAGE.
10385 (init_attributes): Register it as a new attribute.
10386 (decl_attributes): Set flags on functions given that attribute.
10387 * c-decl.c (duplicate_decls): Merge new attribute.
10388 * expr.h (current_function_check_memory_usage): Declare new var.
10389 * calls.c, expr.c, function.c, stmt.c, alpha.c, clipper.c, m88k.c,
10390 pa.c, sparc.c: Replace uses of flag_check_memory_usage with
10391 current_function_check_memory_usage.
10392 * function.h: Add field to struct function.
10393 * function.c (current_function_check_memory_usage): Define it.
10394 (push_function_context_to, pop_function_context_from): Save and
10396 (expand_function_start): Set it, based on global flag and function
10399 * expr.c (expand_expr, case VAR_DECL): In memory-checking code, do
10400 check non-automatic variables, to permit detection of writes to
10401 read-only locations in embedded systems without memory management.
10402 * calls.c (store_one_arg): Use ARGS_SIZE_RTX to get size of argument
10403 when emitting chkr_set_right_libfunc call, even if the argument is
10404 BLKmode or variable-sized; don't abort.
10406 * optabs.c (init_optabs): Create Checker and __cyg_profile_*
10407 symbols in Pmode, not VOIDmode.
10409 Sun Oct 11 01:03:05 1998 Zack Weinberg <zack@rabi.phys.columbia.edu>
10411 * cppexp.c: When forcing unsigned comparisons, cast both sides
10414 * cpphash.h: Move static declaration of hashtab[]...
10415 * cpphash.c: ...here.
10417 * cpplib.c: Cast difference of two pointers to size_t before
10418 comparing it to size_t. Cast signed to unsigned
10419 before comparing to size_t. (FIXME: struct argdata should use
10420 unsigned buffer sizes.)
10421 * cpplib.h (struct cpp_reader): Declare token_buffer_size as
10422 unsigned int. (CPP_WRITTEN): Cast return value to size_t.
10423 (CPP_RESERVE): Parenthesize N for evaluation order, cast to
10424 size_t before comparison.
10426 Sun Oct 11 00:15:29 1998 Jeffrey A Law (law@cygnus.com)
10428 * flow.c (find_basic_blocks): Delete "live_reachable_p" argument.
10429 (find_basic_blocks_1): Similarly.
10430 * output.h (find_basic_blocks): Fix prototype.
10431 * gcse.c, toplev.c: Don't pass "live_reachable_p" argument to
10432 find_basic_blocks anymore.
10434 Sat Oct 10 22:00:34 1998 Richard Henderson <rth@cygnus.com>
10436 * basic-block.h (EXECUTE_IF_SET_IN_SBITMAP): New macro.
10437 (sbitmap_free, sbitmap_vector_free): New macros.
10438 * output.h (rtl_dump_file): Declare.
10440 Sat Oct 10 17:01:42 1998 Jeffrey A Law (law@cygnus.com)
10442 * regmove.c (optimize_reg_copy_3): Honor TRULY_NOOP_TRUNCATION.
10444 Fri Oct 9 22:08:05 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
10446 * fp-bit.c (SFtype): Don't implicitly use int in declaration.
10447 (DFtype): Likewise.
10448 (_fpdiv_parts): Remove unused parameter `tmp', all callers changed.
10449 (divide): Remove unused variable `tmp'.
10450 (si_to_float): Cast numeric constant to (SItype) before comparing
10453 Fri Oct 9 16:03:19 1998 Graham <grahams@rcp.co.uk>
10455 * flow.c (print_rtl_with_bb): Changed type of in_bb_p to match use.
10456 * gcc.c (add_preprocessor_option): Correct typo when allocating
10457 memory, sizeof() argument had one too many `*'.
10458 (add_assembler_option): Likewise.
10459 (add_linker_option): Likewise.
10460 * gcov.c (output_data): Likewise.
10461 * local-alloc.c (memref_used_between_p): Likewise.
10462 (update_equiv_regs): Likewise.
10463 * loop.c (strength_reduce): Likewise.
10464 * reg-stack.c (record_asm_reg_life): Likewise.
10465 (subst_asm_stack_reg): Likewise.
10466 * reorg.c (dbr_schedule): Likewise.
10468 Fri Oct 9 15:57:51 1998 Bernd Schmidt <crux@Pool.Informatik.RWTH-Aachen.DE>
10470 * flow.c (life_analysis_1): Break out some functions.
10471 (find_basic_blocks_1): Likewise. Also move some variables out and
10473 Rename NONLOCAL_LABEL_LIST arg to NONLOCAL_LABELS and initialize
10474 new static var nonlocal_label_list with it.
10475 (active_eh_region, nested_eh_region, label_value_list,
10476 nonlocal_label_list): New static variables.
10477 (make_edges, delete_unreachable_blocks, delete_block): New static
10478 functions, broken out of find_basic_blocks_1.
10479 (record_volatile_insns, mark_regs_live_at_end, set_noop_p,
10480 noop_move_p): New static functions, broken out of life_analysis_1.
10482 Fri Oct 9 15:49:29 1998 Richard Henderson <rth@cygnus.com>
10484 * expmed.c (store_bit_field): Pun non-integral str_rtx modes.
10485 Take extra care for op0 now possibly being a subreg.
10486 (extract_bit_field): Likewise.
10487 * function.c (purge_addressof_1): Revert Oct 4 change. Drop
10488 the reg to memory if there is no equal sized integral mode.
10489 * stor-layout.c (int_mode_for_mode): New function.
10490 * machmode.h: Prototype it.
10492 Fri Oct 9 14:26:44 1998 Jeffrey A Law (law@cygnus.com)
10494 * global.c (build_insn_chain): Verify no real insns exist past the
10495 end of the last basic block, then exit the loop.
10497 Fri Oct 9 11:44:47 1998 David Edelsohn <edelsohn@gnu.org>
10499 * loop.c (insert_bct): Ensure loop_iteration_var non-zero before use.
10501 Thu Oct 8 21:59:47 1998 Dave Brolley <brolley@cygnus.com>
10503 * emit-rtl.c (init_emit_once): Call INIT_EXPANDERS.
10505 Thu Oct 8 22:03:45 1998 David Edelsohn <edelsohn@gnu.org>
10507 * rs6000.h (RTX_COSTS): Add PROCESSOR_PPC604e cases.
10509 Thu Oct 8 17:00:18 1998 Richard Henderson <rth@cygnus.com>
10511 * flow.c (find_basic_blocks): Correctly determine when a call
10512 is within an exception region.
10514 Thu Oct 8 17:15:04 1998 Jeffrey A Law (law@cygnus.com)
10516 * toplev.c (output_file_directive): Use DIR_SEPARATOR, not '/'.
10518 * cpplib.h: Protect from multiple inclusions.
10519 * cpplib.c: Fix minor formatting problems.
10521 * i386/xm-cygwin32.h: Only define POSIX if it is not already defined.
10523 * jump.c (jump_optimize): Revert accidental patch.
10525 * Makefile.in (cpplib.o): Use unlibsubdir.
10527 Thu Oct 8 12:50:47 1998 Jim Wilson <wilson@cygnus.com>
10529 * loop.c (get_condition): Allow combine when either compare is
10532 Thu Oct 8 11:31:01 PDT 1998 Jeff Law (law@cygnus.com)
10534 * version.c: Bump for snapshot.
10536 Thu Oct 8 12:21:14 1998 Richard Frith-Macdonald <richard@brainstorm.co.uk>
10538 * c-lex.c (remember_protocol_qualifiers): Handle RID_BYREF.
10539 (init_lex): Initialize ridpointers[RID_BYREF].
10540 * c-lex.h (enum rid): Add RID_BYREF.
10541 * c-parse.gperf: Add RID_BYREF as a type qualifier.
10542 * objc/objc-act.c (is_objc_type_qualifiers): Handle RID_BYREF.
10543 (encode_type_qualifiers): Similarly.
10544 * c-gperf.h: Rebuilt.
10546 Thu Oct 8 05:56:00 1998 Jeffrey A Law (law@cygnus.com)
10548 * c-common.c (type_for_mode): Only return TItype nodes when
10549 HOST_BITS_PER_WIDE_INT is >= 64 bits.
10550 * c-decl.c (intTI_type_node, unsigned_intTI_type_node): Only declare
10551 when HOST_BITS_PER_WIDE_INT is >= 64 bits.
10552 (init_decl_processing): Only create TItype nodes when
10553 HOST_BITS_PER_WIDE_INT is >= 64 bits.
10554 * c-tree.h (intTI_type_node, unsigned_intTI_type_node): Only declare
10555 when HOST_BITS_PER_WIDE_INT is >= 64 bits.
10557 Thu Oct 8 05:05:34 1998 Bernd Schmidt <crux@Pool.Informatik.RWTH-Aachen.DE>
10559 * stmt.c (n_occurrences): New static function.
10560 (expand_asm_operands): Verify that all constrains match in the
10561 number of alternatives.
10562 Verify that '+' or '=' are at the beginning of an output constraint.
10563 Don't allow '&' for input operands.
10564 Verify that '%' isn't written for the last operand.
10565 * reload.c (find_reloads): Abort if an asm is found with invalid
10566 constraints; all possible problems ought to be checked for earlier.
10568 Thu Oct 8 04:26:20 1998 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
10570 * flags.h (flag_branch_on_count_reg): Always declare.
10571 * toplev.c (flag_branch_on_count_reg): Likewise.
10572 * toplev.c: Fix typos.
10574 * real.c (c4xtoe): Remove unused variables. Add some missing parens.
10575 (toc4x): Similarly.
10577 Thu Oct 8 01:25:22 1998 Richard Henderson <rth@cygnus.com>
10579 * flow.c (find_basic_blocks): Calc upper bound for extra nops in
10581 (find_basic_blocks_1): Add a nop to the end of a basic block when
10582 a trailing call insn does not have abnormal control flow.
10583 * gcse.c (pre_transpout): New variable.
10584 (alloc_pre_mem, free_pre_mem, dump_pre_data): Bookkeeping for it.
10585 (compute_pre_transpout): Calculate it.
10586 (compute_pre_ppinout): Use it to eliminate impossible placements
10587 due to abnormal control flow through calls.
10588 (compute_pre_data): Call compute_pre_transpout.
10590 Wed Oct 7 21:40:24 1998 David S. Miller <davem@pierdol.cobaltmicro.com>
10592 * config/sparc/sol2-sld-64.h (ASM_CPU_SPEC): Fix typo.
10594 Wed Oct 7 21:19:46 1998 Ken Raeburn <raeburn@cygnus.com>
10596 * config/mips/mips.md (tablejump_internal3, tablejump_internal4
10597 and matching define_insns): Tack on a `use' of the table label, so
10598 flow analysis will recognize a tablejump.
10600 Wed Oct 7 17:33:39 1998 Richard Henderson <rth@cygnus.com>
10602 * gcse.c (pre_insert_insn): Tweek to notice that calls do not
10603 always end basic blocks for abnormal edge reasons.
10605 Wed Oct 7 14:40:43 1998 Nick Clifton <nickc@cygnus.com>
10607 * config/i386/i386.h: Remove definition of
10608 HANDLE_PRAGMA_PACK_PUSH_POP.
10610 * config/i386/go32.h: Add definition of
10611 HANDLE_PRAGMA_PACK_PUSH_POP.
10613 * config/i386/win32.h: Add definition of
10614 HANDLE_PRAGMA_PACK_PUSH_POP.
10616 * config/i386/cygwin32.h: Add definition of
10617 HANDLE_PRAGMA_PACK_PUSH_POP.
10619 * c-pragma.c (insert_pack_attributes): Do not insert
10620 attributes unless #pragma pack(push,<n>) is in effect.
10622 Wed Oct 7 12:10:46 1998 Jim Wilson <wilson@cygnus.com>
10624 * expr.c (emit_group_store): Handle a PARALLEL destination.
10626 Wed Oct 7 10:07:29 1998 Richard Henderson <rth@cygnus.com>
10628 * gcse.c (pre_insert_insn): When a call ends a bb, insert
10629 the new insns before the argument regs are loaded.
10631 Wed Oct 7 12:55:26 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
10633 * Makefile.in (c-gperf.h): Add -L KR-C -F ', 0, 0' flags to gperf.
10634 (c-parse.gperf): Update comments describing invocation flags.
10635 (c-gperf.h): Regenerate using gperf 2.7.1 (19981006 egcs).
10637 1998-10-07 Manfred Hollstein <manfred@s-direktnet.de>
10639 * reload1.c (reload): Call free before clobbering the memory
10640 locations or constants pointers.
10642 Wed Oct 7 02:05:20 1998 David S. Miller <davem@pierdol.cobaltmicro.com>
10644 * config/sparc/sol2-sld-64.h (TRANSFER_FROM_TRAMPOLINE): Rework
10645 for efficiency by checking whether we need to modify the current
10646 stack permission at all.
10647 (ASM_OUTPUT_CONSTRUCTOR, ASM_OUTPUT_DESTRUCTOR): Define.
10648 * config/sparc/sparc.c (sparc_initialize_trampoline): Emit
10649 __enable_execute_stack libcall here too if
10650 TRANSFER_FROM_TRAMPOLINE is defined.
10651 * config/sparc/sparc.h: Set TARGET_ARCH32 to a constant if
10654 Wed Oct 7 02:27:52 1998 Jeffrey A Law (law@cygnus.com)
10656 * Makefile.in (DRIVER_DEFINES): Remove last change.
10658 Wed Oct 7 01:08:43 1998 Bernd Schmidt <crux@Pool.Informatik.RWTH-Aachen.DE>
10660 * jump.c (duplicate_loop_exit_test): Strip REG_WAS_0 notes off all
10661 insns we're going to copy.
10662 * regclass.c (reg_scan_mark_refs): Don't test X for NULL_RTX.
10664 * loop.c (count_one_set): Add prototype.
10666 * caller-save.c (restore_referenced_regs): Lose mode argument.
10667 (insert_save): Lose mode argument.
10668 (insert_restore): Lose mode argument.
10669 (insert_one_insn): Lose mode argument.
10670 (save_call_clobbered_regs): Lose mode argument.
10671 (setup_save_areas): Take no argument and return void. All callers
10673 Don't verify validity of memory addresses.
10674 * reload.h (setup_save_ares): Adjust prototype.
10675 (save_call_clobbered_regs): Likewise.
10676 * reload1.c (delete_caller_save_insns): New function.
10677 (caller_save_spill_class): Delete variable.
10678 (caller_save_group_size): Delete variable.
10679 (reload): Call setup_save_areas and save_call_clobbered_regs
10680 in the main loop, before calling calculate_needs_all_insns.
10681 Don't call save_call_clobbered_regs after the loop.
10682 Call delete_caller_save_insns at the end of an iteration if
10684 Delete code to manage caller_save_spill_class.
10685 Emit the final note before setting reload_first_uid.
10686 Simplify test that determines whether reload_as_needed gets run.
10687 (calculate_needs): Delete code to manage caller_save_spill_class.
10689 Tue Oct 6 15:42:27 1998 Richard Henderson <rth@cygnus.com>
10691 * collect2.c (main): Initialize ld_file_name.
10693 Tue Oct 6 15:45:15 1998 Catherine Moore <clm@cygnus.com>
10695 * config/sparc/sysv4.h (ASM_OUTPUT_SECTION_NAME): Don't
10696 check for flag_function_sections.
10698 Tue Oct 6 20:02:31 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
10700 * cse.c (insert_regs): Fix bug in Sep 24 change.
10702 Tue Oct 6 17:00:42 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
10704 * flags.h (flag_dump_unnumbered): Declare.
10705 * toplev.c (flag_dump_unnumbered): Don't declare.
10706 * print-rtl.c (flags.h): Include.
10707 (print_rtl_single): Add return value.
10708 * rtl.h (print_rtl_single): Update declaration.
10709 * flow.c (flag_dump_unnumbered): Don't declare.
10710 (print_rtl_with_bb): Use return value of print_rtl_single.
10712 Tue Oct 6 01:36:00 1998 Bernd Schmidt <crux@Pool.Informatik.RWTH-Aachen.DE>
10714 * loop.c (count_one_set): New static function, broken out of
10715 count_loop_regs_set.
10716 (count_loop_regs_set): Call it.
10717 * global.c (mark_reg_store): Handle clobbers here by not calling
10719 (mark_reg_clobber): Just call mark_reg_store after ensuring SETTER
10720 is in fact a clobber.
10721 * integrate.c (process_reg_param): New function, broken out of
10722 expand_inline_function.
10723 (expand_inline_function): Call it.
10725 * i386.md (addsidi3_1): Delete unused variable temp.
10726 (addsidi3_2): Likewise.
10727 (clstrstrsi): Delete unused variable addr1.
10729 * rtl.h: Don't declare any functions also declared in recog.h.
10731 * Makefile.in (stupid.o): Update dependencies.
10732 (global.o): Likewise.
10734 * global.c: Include reload.h.
10735 (reg_becomes_live): New function.
10736 (reg_dies): New function.
10737 (build_insn_chain): New function.
10738 (global_alloc): Call build_insn_chain before calling reload.
10740 * reload.h (struct needs): New structure definition.
10741 (struct insn_chain): Likewise.
10742 (reload_insn_chain): Declare variable.
10743 (new_insn_chain): Declare function.
10745 * reload1.c (reload_startobj): New variable.
10746 (reload_insn_chain): New variable.
10747 (unused_insn_chains): New variable.
10748 (new_insn_chain): New function.
10749 (init_reload): Initialize reload_startobj, not reload_firstobj.
10750 (reload): Initialize reload_firstobj.
10751 Before returning, free everything on the reload_obstack.
10753 * stupid.c: Include insn-config.h, reload.h and basic-block.h.
10754 (reg_where_dead_chain, reg_where_born_exact, reg_where_born_clobber,
10755 current_chain): New variables.
10756 (reg_where_born): Delete variable.
10757 (REG_WHERE_BORN): New macro.
10758 (find_clobbered_regs): New function.
10759 (stupid_life_analysis): Don't allocate/free reg_where_born.
10760 Allocate and free reg_where_born_exact, reg_where_born_clobber,
10761 reg_where_dead_chain.
10762 Use REG_WHERE_BORN instead of reg_where_born.
10763 While processing the insns, build the reload_insn_chain with
10764 information about register lifetimes.
10765 (stupid_reg_compare): Use REG_WHERE_BORN instead of reg_where_born.
10766 (stupid_mark_refs): Replace arg INSN with arg CHAIN. All callers
10768 Compute and information about birth and death of pseudo registers in
10769 reg_where_dead_chain, reg_where_born_exact and reg_where_born_clobber.
10770 Delete code to set elements of reg_where_born.
10772 Mon Oct 5 22:34:30 1998 Alexandre Petit-Bianco <apbianco@cygnus.com>
10774 * tree.def (GOTO_EXPR): Modified documentation.
10775 * expr.c (expand_expr): Expand GOTO_EXPR into a goto or a computed
10778 Mon Oct 5 22:43:36 1998 David Edelsohn <edelsohn@gnu.org>
10780 * unroll.c (loop_iteration_var, loop_initial_value, loop_increment
10781 loop_final_value, loop_comparison_code): No longer static.
10782 (unroll_loop): Delete loop_start_value update.
10783 * loop.h (loop_iteration_var, loop_initial_value, loop_increment,
10784 loop_final_value, loop_comparison_code): Extern.
10785 (loop_start_value): Delete extern.
10786 * loop.c (loop_can_insert_bct, loop_increment, loop_start_value,
10787 loop_comparison_value, loop_comparison_code): Delete.
10788 (loop_optimize): Remove initialization for deleted variables.
10789 (strength_reduce): Delete analyze_loop_iterations call. Only call
10790 insert_bct if flag_branch_count_on_reg set.
10791 (analyze_loop_iterations): Delete.
10792 (insert_bct): Remove iteration count calculation. Move checks for
10793 viable BCT optimization to here. Obtain iteration count from
10794 loop_iterations and correct for unrolling. Check for enough
10795 iteration to be beneficial. Comment out runtime iteration count
10797 (insert_bct): Print iteration count in dump file. Remove
10798 loop_var_mode and use word_mode directly.
10800 * rs6000.h (processor_type): Add PROCESSOR_PPC604e.
10801 * rs6000.c (rs6000_override_options): Use it.
10802 (optimization_options): Enable use of flag_branch_on_count_reg.
10803 * rs6000.md (define_function_unit): Describe 604e.
10805 1998-10-05 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
10807 * loop.c (move_movables): Corrected threshold calculation for
10808 moved_once registers.
10810 Mon Oct 5 21:18:45 1998 Bernd Schmidt <crux@Pool.Informatik.RWTH-Aachen.DE>
10812 * loop.c (combine_givs_p): Fix test for identical givs.
10814 Mon Oct 5 10:11:28 1998 Nick Clifton <nickc@cygnus.com>
10816 * dwarf2out.c (gen_subprogram_die): If errorcount nonzero, don't
10817 call abort if the function is already defined.
10819 Mon Oct 5 10:02:36 1998 Jeffrey A Law (law@cygnus.com)
10821 * combine.c (simplify_rtx): Do not replace TRUNCATE with a SUBREG if
10822 truncation is not a no-op.
10824 Mon Oct 5 09:02:04 PDT 1998 Jeff Law (law@cygnus.com)
10826 * version.c: Bump for snapshot.
10828 Mon Oct 5 08:19:55 PDT 1998 Jeff Law (law@cygnus.com)
10830 * version.c: Bump for snapshot.
10832 Mon Oct 5 01:07:23 1998 Torbjorn Granlund <tege@matematik.su.se>
10834 * expmed.c (expand_divmod): Don't widen for computing remainder
10835 if we seem to have a divmod pattern for needed mode.
10837 Mon Oct 5 01:01:42 1998 Zack Weinberg <zack@rabi.phys.columbia.edu>
10839 * cpplib.c (macroexpand): Correct off-by-one error in handling
10842 Sun Oct 4 23:58:30 1998 Richard Henderson <rth@cygnus.com>
10844 * combine.c (expand_field_assignment): Don't do bitwise operations
10845 on MODE_FLOAT; pun to MODE_INT if possible.
10847 Sun Oct 4 18:33:24 1998 Jason Merrill <jason@yorick.cygnus.com>
10848 scott snyder <snyder@d0sgif.fnal.gov>
10850 * tlink.c (scan_linker_output): Recognize errors from irix 6.2
10851 linker. Recognize mangled names in quotes.
10853 Sun Oct 4 02:58:20 1998 Jakub Jelinek <jj@sunsite.ms.mff.cuni.cz>
10855 * config/sparc/sparc.md (ashldi3+1): Name it ashldi3_sp64.
10856 (ashlsi3_const1, ashldi3_const1): New combiner patterns.
10857 (ashrsi3_extend, ashrsi3_extend2): New combiner patterns.
10858 (lshrsi3_extend, lshrsi3_extend2): Likewise.
10860 Sun Oct 4 00:23:00 1998 David S. Miller <davem@pierdol.cobaltmicro.com>
10862 * function.c (purge_addressof_1): If trying to take a sub-word
10863 integral piece of a floating point mode, put it on the stack.
10865 Sat Oct 3 19:01:03 1998 Richard Henderson <rth@cygnus.com>
10867 * alpha/linux.h (CPP_PREDEFINES): Define __alpha__ for imake.
10869 Sat Oct 3 14:42:19 1998 Jason Merrill <jason@yorick.cygnus.com>
10871 * PROJECTS: Remove template friends.
10873 * collect2.c (sort_ids): Remove unused variable.
10875 * tm.texi (MATH_LIBRARY): Document.
10876 (NEED_MATH_LIBRARY): Remove.
10878 * varasm.c (assemble_start_function, assemble_variable, weak_finish,
10879 assemble_alias): Do ASM_GLOBALIZE_LABEL for weak symbols, too.
10881 Sat Oct 3 16:14:44 1998 John Carr <jfc@mit.edu>
10883 * dwarf2out.c (expand_builtin_dwarf_reg_size): Initialize
10884 last_end to 0x7fffffff.
10886 Fri Oct 2 19:14:20 1998 David S. Miller <davem@pierdol.cobaltmicro.com>
10888 * function.c (purge_addressof_1): Do not perform endianness
10889 corrections on bitpos, who we call will do it for us.
10891 Fri Oct 2 11:52:35 1998 Jeffrey A Law (law@cygnus.com)
10893 * h8300.c (WORD_REG_USED): Fix typo.
10894 (initial_offset): Use WORD_REG_USED.
10896 * h8300.c (handle_pragma): Fix typo.
10898 Fri Oct 2 10:51:35 1998 Bernd Schmidt <crux@Pool.Informatik.RWTH-Aachen.DE>
10900 * caller-save.c (insert_save_restore): Break this function up
10901 into new functions insert_restore, insert_save and insert_one_insn.
10902 All callers changed.
10903 (insert_restore): New function, mostly broken out of
10904 insert_save_restore.
10905 (insert_save): Likewise.
10906 (insert_one_insn): Likewise.
10907 (restore_referenced_regs): New argument BLOCK. All callers changed.
10908 (save_call_clobbered_regs): Don't keep track of basic block boundaries
10909 in this function, do it in insert_one_insn instead.
10911 * reload1.c (reload): Break out some more pieces into separate
10913 (dump_needs): New function, broken out of reload.
10914 (set_initial_elim_offsets): Likewise.
10915 (init_elim_table): Likewise.
10916 (update_eliminables): Likewise.
10918 * global.c (global_alloc): Delete code to manage the scratch_list.
10919 * local-alloc.c (qty_scratch_rtx): Delete.
10920 (scratch_block): Delete.
10921 (scratch_list): Delete.
10922 (scratch_list_length): Delete.
10923 (scratch_index): Delete.
10924 (alloc_qty_for_scratch): Delete.
10925 (local-alloc): Update initialization of max_qty.
10926 Delete code to manage the scratch list.
10927 Delete code to allocate/initialize qty_scratch_rtx.
10928 (block_alloc): Don't allocate quantities for scratches.
10929 Delete code to manage the scratch list.
10930 * regs.h (scratch_list): Delete declaration.
10931 (scratch_block): Delete declaration.
10932 (scratch_list_length): Delete declaration.
10933 * reload1.c (reload): Delete code to manage the scratch list.
10934 (spill_hard_reg): Likewise.
10935 (mark_scratch_live): Delete.
10937 * recog.c (alter_subreg): Delete declaration.
10939 1998-10-02 Andreas Jaeger <aj@arthur.rhein-neckar.de>
10941 * Makefile.in (cccp.o): Fix typo in last patch.
10943 Fri Oct 2 16:13:12 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
10945 * t-sh (LIB1ASMFUNCS): Add _set_fpscr .
10946 * config/sh/lib1funcs.asm (___set_fpscr): Add.
10948 Fri Oct 2 02:01:59 1998 Jeffrey A Law (law@cygnus.com)
10950 * regclass.c (reg_scan_mark_refs): Return immediately if passed a
10951 NULL_RTX as an argument.
10953 * Makefile.in (unlibsubdir): Define.
10954 (DRIVER_DEFINES): Use unlibsubdir.
10955 (cccp.o, cpplib.o, protoize.o, unprotoize.o): Similarly.
10956 (stmp-fixinc): Similarly.
10958 Thu Oct 1 19:58:30 1998 Bernd Schmidt <crux@Pool.Informatik.RWTH-Aachen.DE>
10960 * regmove.c (regmove_optimize): Add variable old_max_uid.
10961 At the end of the function, update basic_block_end.
10963 Thu Oct 1 17:58:25 1998 David S. Miller <davem@pierdol.cobaltmicro.com>
10965 * dwarf2out.c (expand_builtin_dwarf_reg_size): Use
10966 FIRST_PSEUDO_REGISTER as upper bound for last_end, not an
10967 arbitrary constant.
10969 Thu Oct 1 17:57:14 1998 Nick Clifton <nickc@cygnus.com>
10971 * config/arm/arm.c: Improve interworking support.
10973 Thu Oct 1 18:43:35 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
10975 * reload1.c (choose_reload_regs): Fix test if reload_reg_rtx[r] was
10976 copied from reload_out[r] .
10978 Thu Oct 1 19:20:09 1998 John Carr <jfc@mit.edu>
10980 * dwarf2out.c (expand_builtin_dwarf_reg_size): Fix to work
10981 with more than three size ranges.
10983 * flow.c (sbitmap_copy): Use bcopy to copy bitmap.
10985 * rtl.c (mode_name): Add a null string at the end of the array.
10986 (mode_wider_mode): Change type to unsigned char.
10987 (mode_mask_array): New variable.
10988 (init_rtl): Update for mode_wider_mode type change.
10990 * rtl.h (mode_wider_mode): Change type to unsigned char.
10991 (mode_mask_array): Declare.
10992 (GET_MODE_MASK): Use mode_mask_array.
10994 Thu Oct 1 15:56:01 1998 Gavin Romig-Koch <gavin@cygnus.com>
10996 * calls.c (expand_call) : Encapsulate code into
10997 copy_blkmode_from_reg.
10998 * expr.c (copy_blkmode_from_reg): New function.
10999 * expr.h (copy_blkmode_from_reg): New function.
11000 * integrate.c (function_cannot_inline_p): We can inline
11002 (expand_inline_function): Use copy_blkmode_from_reg
11003 if needed. Avoid creating BLKmode REGs.
11004 (copy_rtx_and_substitute): Don't try to SUBREG a BLKmode
11007 Thu Oct 1 10:42:27 1998 Nick Clifton <nickc@cygnus.com>
11009 * config/v850/v850.c: Add function prototypes.
11010 Add support for v850 special data areas.
11012 * config/v850/v850.h: Add support for v850 special data areas.
11014 * c-pragma.c: Add support for HANDLE_PRAGMA_PACK and
11015 HANDLE_PRAGMA_PACK_PUSH_POP.
11016 (push_alignment): New function: Cache an alignment requested
11017 by a #pragma pack(push,<n>).
11018 (pop_alignment): New function: Pop an alignment from the
11020 (insert_pack_attributes): New function: Generate __packed__
11021 and __aligned__ attributes for new decls whilst a #pragma pack
11023 (add_weak): New function: Cache a #pragma weak directive.
11024 (handle_pragma_token): Document calling conventions. Add
11025 support for #pragma pack(push,<n>) and #pragma pack (pop).
11027 * c-pragma.h: If HANDLE_SYSV_PRAGMA or HANDLE_PRAGMA_PACK_PUSH_POP
11028 are defined enable HANDLE_PRAGMA_PACK.
11029 Move 'struct weak_syms' here (from varasm.c).
11030 Add pragma states for push and pop pragmas.
11032 * c-common.c (decl_attributes): Call PRAGMA_INSERT_ATTRIBUTES
11035 * c-lex.c: Replace occurances of HANDLE_SYSV_PRAGMA with
11036 HANDLE_GENERIC_PRAGMAS.
11038 * varasm.c: Move definition of 'struct weak_syms' into
11040 (handle_pragma_weak): Deleted.
11042 * config/i386/i386.h: Define HANDLE_PRAGMA_PACK_PUSH_POP.
11044 * config/winnt/win-nt.h: Define HANDLE_PRAGMA_PACK_PUSH_POP.
11046 * c-decl.c (start_function): Add invocation of
11047 SET_DEFAULT_DECL_ATTRIBUTES, if defined.
11049 * tm.texi: Remove description of non-existent macro
11050 SET_DEFAULT_SECTION_NAME.
11052 (HANDLE_SYSV_PRAGMA): Document.
11053 (HANDLE_PRAGMA_PACK_PUSH_POP): Document.
11055 Wed Sep 30 22:27:53 1998 Robert Lipe <robertl@dgii.com>
11057 * config.sub: Recognize i[34567]86-pc-udk as new target.
11058 * configure.in: Likewise.
11059 * config/i386/t-udk: New file.
11060 * config/i386/udk.h: New file.
11062 Wed Sep 30 19:33:07 1998 Jeffrey A Law (law@cygnus.com)
11064 * reorg.c (check_annul_list_true_false): Remove unused variables.
11065 (steal_delay_list_from_target): Add missing "used_annul" variable.
11066 (try_merge_delay_insns): Close out half formed comment.
11068 Wed Sep 30 19:13:20 1998 Zack Weinberg <zack@rabi.phys.columbia.edu>
11070 * cpplib.c (macroexpand): If arg->raw_before or
11071 arg->raw_after, remove any no-reexpansion escape at the
11072 beginning of the pasted token. Correct handling of whitespace
11073 markers and no-reexpand markers at the end if arg->raw_after.
11075 * toplev.c (documented_lang_options): Recognize -include,
11076 -imacros, -iwithprefix, -iwithprefixbefore.
11077 * cpplib.c (cpp_start_read): Process -imacros and -include
11078 switches at the same time and in command-line order, after
11079 initializing the dependency-output code. Emit properly nested
11080 #line directives for them. Emit a #line for the main file
11081 before processing these switches, and don't do it again
11084 Wed Sep 30 18:03:22 1998 Richard Henderson <rth@cygnus.com>
11086 * function.c (purge_addressof_1): Use bitfield manipulation
11087 routines to handle mem mode < reg mode.
11089 Wed Sep 30 18:43:32 1998 Herman ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
11091 * reorg.c (try_merge_delay_insns): Account for resources referenced
11092 in each instruction in INSN's delay list before trying to eliminate
11093 useless instructions. Similarly when looking at a trial insn's delay
11096 * reorg.c (check_annul_list_true_false): New function.
11097 (steal_delay_list_from_{target,fallthrough}): Call it and also
11098 refine tests for when we may annul if already filled a slot.
11099 (fill_slots_from_thread): Likewise.
11100 (delete_from_delay_slot): Return newly-created thread.
11101 (try_merge_delay_isns): Use its new return value.
11103 Wed Sep 30 18:29:26 1998 Jeffrey A Law (law@cygnus.com)
11105 * loop.c (check_dbra_loop): Use a vanilla loop reversal if the biv is
11106 used to compute a giv or as some other non-counting use.
11108 Wed Sep 30 18:19:27 1998 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
11110 * regs.h (HARD_REGNO_CALL_PART_CLOBBERED): New macro.
11111 * local-alloc.c (find_free_reg): Use it.
11112 * global.c (find_reg): Likewise.
11113 * tm.texi: Document HARD_REGNO_CALL_PART_CLOBBERED.
11115 * regs.h (HARD_REGNO_CALLER_SAVE_MODE): New macro.
11116 * caller-save.c (init_caller_save): Use it.
11117 * tm.texi: Document HARD_REGNO_CALLER_SAVE_MODE.
11119 Wed Sep 30 12:57:30 1998 Zack Weinberg <zack@rabi.phys.columbia.edu>
11121 * configure.in: Add --enable-cpplib option which uses cpplib
11122 for cpp, but doesn't link cpplib into cc1. Make help text
11123 capitalization consistent.
11124 * configure: Rebuilt.
11126 Wed Sep 30 10:09:39 1998 Mark Mitchell <mark@markmitchell.com>
11128 * function.c (gen_mem_addressof): If the address REG is
11129 REG_USERVAR_P make the new REG be so also.
11130 * loop.c (scan_loop): Apply DeMorgan's laws and add documentation
11131 in an attempt to clarify slightly.
11133 Wed Sep 30 09:57:40 1998 Jeffrey A Law (law@cygnus.com)
11135 * expr.c (expand_expr): Handle COMPONENT_REF, BIT_FIELD_REF ARRAY_REF
11136 and INDIRECT_REF in code to check MAX_INTEGER_COMPUTATION_MODE.
11138 Wed Sep 30 10:13:39 1998 Catherine Moore <clm@cygnus.com>
11140 * toplev.c: Fix last patch.
11142 Tue Sep 29 20:03:18 1998 Jim Wilson <wilson@cygnus.com>
11144 * loop.c (get_condition): Fix typo in May 9 change.
11146 Tue Sep 29 11:11:38 EDT 1998 Andrew MacLeod <amacleod@cygnus.com>
11148 * invoke.texi (-fexceptions): Merge 2 different descriptions.
11150 Mon Sep 28 22:08:52 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
11152 * toplev.c (documented_lang_options): Spelling corrections.
11154 Mon Sep 28 19:41:24 1998 Alexandre Oliva <oliva@dcc.unicamp.br>
11156 * configure.in: New flags --with-ld and --with-as, equivalent
11157 to setting LD and AS environment variables. Test whether
11158 specified arguments are GNU commands, and report them with
11159 checking messages. Use the specified AS for configure
11161 * configure: Likewise.
11162 * acconfig.h: Add DEFAULT_ASSEMBLER and DEFAULT_LINKER.
11163 * config.in: Likewise.
11164 * gcc.c (find_a_file): When looking for `as' and `ld', return
11165 the DEFAULT program if it exists.
11166 * collect2.c (main): Use DEFAULT_LINKER if it exists.
11168 * gcc.c (find_a_file): The test for existence of a full
11169 pathname was reversed.
11171 Mon Sep 28 17:34:35 1998 Michael Meissner <meissner@cygnus.com>
11173 * rs6000.h (ASM_OUTPUT_MI_THUNK): Only define on ELF systems.
11174 * rs6000.c (output_mi_thunk): Always use a raw jump for now.
11176 Mon Sep 28 14:24:03 1998 Mark Mitchell <mark@markmitchell.com>
11178 * tree.h (TYPE_BINFO): Document.
11180 Mon Sep 28 12:55:49 1998 Stan Cox <scox@cygnus.com>
11182 * i386-coff.h (dbxcoff.h): Added.
11184 Mon Sep 28 12:51:00 1998 Catherine Moore <clm@cygnus.com>
11186 * toplev.c: Fix bad patch around flag_data_sections.
11188 Mon Sep 28 10:32:28 1998 Nick Clifton <nickc@cygnus.com>
11190 * reload1.c (reload): Use reload_address_index_reg_class and
11191 reload_address_base_reg_class when setting
11192 caller_save_spill_class. (Patch generated by Jim Wilson:
11193 wilson@cygnus.com).
11195 Mon Sep 28 07:43:34 1998 Mark Mitchell <mark@markmitchell.com>
11197 * c-common.c (c_get_alias_set): Tighten slightly for FUNCTION_TYPEs
11198 and ARRAY_TYPEs. Tidy up. Improve support for type-punning.
11199 * expr.c (store_field): Add alias_set parameter. Set the
11200 MEM_ALIAS_SET accordingly, if the target is a MEM.
11201 (expand_assignment): Use it.
11202 (store_constructor_field): Pass 0.
11203 (expand_expr): Likewise.
11205 Mon Sep 28 07:54:03 1998 Catherine Moore <clm@cygnus.com>
11207 * flags.h: Add flag_data_sections.
11208 * toplev.c: Add option -fdata-sections. Add flag_data_sections.
11209 (compile_file): Error if flag_data_sections not supported.
11210 * varasm.c (assemble_variable): Handle flag_data_sections.
11211 * config/svr4.h: Modify prefixes for UNIQUE_SECTION_NAME.
11212 * config/mips/elf.h: Likewise.
11213 * config/mips/elf64.h: Likewise.
11214 * invoke.texi: Describe -fdata-sections.
11216 Mon Sep 28 04:15:44 1998 Craig Burley <burley@melange.gnu.org>
11218 * invoke.texi (-ffloat-store): Clarify that this option
11219 does not affect intermediate results -- only variables.
11221 Mon Sep 28 04:11:35 1998 Jeffrey A Law (law@cygnus.com)
11223 * cpp.texi: Update for Fortran usage from Craig.
11225 Fri Sep 25 22:09:47 1998 David Edelsohn <edelsohn@gnu.org>
11227 * rs6000.c (function_arg_boundary): Revert accidental change on
11230 Fri Sep 25 20:30:00 1998 Michael Meissner <meissner@cygnus.com>
11232 * rs6000.h (ASM_OUTPUT_MI_THUNK): Declare, call output_mi_thunk.
11233 (output_mi_thunk): Declare.
11235 * rs6000.c (output_mi_thunk): Function to create thunks for MI.
11236 (output_function_profiler): Use r12 for temp, instead of r11 so
11237 that we preserve the static chain register.
11239 Fri Sep 25 14:18:33 1998 Jim Wilson <wilson@cygnus.com>
11241 * sdbout.c (sdbout_one_type): Don't look at TYPE_BINFO field of enums.
11243 Fri Sep 25 19:30:19 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
11245 * sh.c (gen_shl_sext): Fix case 5.
11247 Fri Sep 25 17:35:23 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
11249 * reload1.c (reload_combine): Re-add line that got accidentally lost.
11251 Fri Sep 25 10:43:47 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
11253 * cccp.c (pedwarn_with_file_and_line): For !__STDC__ case, avoid
11254 accessing variables until they are initialized via va_arg().
11256 Thu Sep 24 22:12:16 1998 David S. Miller <davem@pierdol.cobaltmicro.com>
11258 * reload1.c (reload_combine): Initialize set before using.
11260 Thu Sep 24 18:53:20 1998 Jason Merrill <jason@yorick.cygnus.com>
11262 * sdbout.c (sdbout_field_types): Don't emit the types of fields we
11265 Thu Sep 24 17:05:30 1998 Nick Clifton <nickc@cygnus.com>
11267 * config/arm/arm.md (insv): Add comment. In CONST_INT case, and
11268 operand3 with mask before using it. Patch provided by Jim Wilson.
11270 Thu Sep 24 15:08:08 1998 Jakub Jelinek <jj@sunsite.ms.mff.cuni.cz>
11272 * config/sparc/sparc.c (function_value): Perform the equivalent of
11273 PROMOTE_MODE for ARCH64.
11274 (eligible_for_epilogue_delay): Allow DImode operations in delay
11275 slot of a return for ARCH64.
11277 Thu Sep 24 22:17:54 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
11279 * sh.md (sqrtsf2): Fix mode of sqrt.
11281 Thu Sep 24 21:48:51 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
11283 * reload1.c (choose_reload_regs): Also try inheritance when
11284 reload_in is a stack slot of a pseudo, even if we already got a
11287 Thu Sep 24 21:22:39 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
11289 * reload1.c (reload_cse_regs_1): Renamed from reload_cse_regs.
11290 (reload_cse_regs): New function body: call reload_cse_regs_1,
11291 reload_combine, reload_cse_move2add.
11292 When doing expensive_optimizations, call reload_cse_regs_1 a
11293 second time after reload_cse_move2add.
11294 (reload_combine, reload_combine_note_store): New functions.
11295 (reload_combine_note_use): New function.
11296 (reload_cse_move2add, move2add_note_store): New functions.
11298 Thu Sep 24 18:48:43 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
11300 * reload.c (find_reloads): In code to promote RELOAD_FOR_X_ADDR_ADDR
11301 reloads to RELOAD_FOR_X_ADDRESS reloads, test for reload sharing.
11303 Properly keep track of first RELOAD_FOR_X_ADDRESS also for
11304 more than 3 such reloads.
11306 If there is not more than one RELOAD_FOR_X_ADDRESS, don't change
11307 RELOAD_FOR_X_ADDR_ADDR reload.
11309 Thu Sep 24 17:45:55 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
11311 * expr.c (store_constructor): When initializing a field that is smaller
11312 than a word, at the start of a word, try to widen it to a full word.
11314 * cse.c (cse_insn): When we are about to change a register,
11315 remove any invalid references to it.
11317 (remove_invalid_subreg_refs): New function.
11318 (mention_regs): Special treatment for SUBREGs.
11319 (insert_regs): Don't strip SUBREG for call to mention_regs.
11320 Check if reg_tick needs to be bumped up before that call.
11321 (lookup_as_function): Try to match known word_mode constants when
11322 looking for a norrower constant.
11323 (canon_hash): Special treatment for SUBREGs.
11325 Thu Sep 24 01:35:34 1998 David S. Miller <davem@pierdol.cobaltmicro.com>
11327 * config/sparc/sol2-sld-64.h (TRANSFER_FROM_TRAMPOLINE): Define.
11328 * config/sparc/sparc.c (sparc64_initialize_trampoline): If that is
11329 defined, emit libcall to __enable_execute_stack. Also fix opcodes
11330 and offsets in actual stack trampoline code so they match the
11331 commentary and actually work.
11333 Thu Sep 24 01:19:02 1998 Jakub Jelinek <jj@sunsite.ms.mff.cuni.cz>
11335 * configure.in (sparcv9-*-solaris): Use t-sol2 and t-sol2-64 for
11337 (sparc64-*-linux): Use t-linux and sparc/t-linux64 for
11338 tmake_file. Set extra_parts to needed crt objects.
11339 * configure: Rebuilt.
11340 * config/sparc/linux64.h (SPARC_BI_ARCH): Define.
11341 (TARGET_DEFAULT): Set if default is v9 or ultra.
11342 (STARTFILE_SPEC32, STARTFILE_SPEC64): New macros.
11343 (STARTFILE_SPEC): Set to those upon SPARC_BI_ARCH.
11344 (ENDFILE_SPEC32, ENDFILE_SPEC64, ENDFILE_SPEC): Likewise.
11345 (SUBTARGET_EXTRA_SPECS, LINK_ARCH32_SPEC, LINK_ARCH64_SPEC,
11346 LINK_SPEC, LINK_ARCH_SPEC): Likewise.
11347 (TARGET_VERSION): Define.
11348 (MULTILIB_DEFAULT): Define.
11349 * config/sparc/sparc.h (CPP_CPU_DEFAULT_SPEC): Rearrange so that
11350 mixed 32/64 bit compilers based upon SPARC_BI_ARCH work.
11351 (CPP_CPU64_DEFAULT_SPEC, CPP_CPU32_DEFAULT_SEC): Define
11353 (TARGET_SWITCHES): Allow ptr32/ptr64 options once more.
11354 * config/sparc/sparc.c (sparc_override_options): If arch and
11355 pointer size disagree, emit diagnostic and fix it up. If
11356 SPARC_BI_ARCH and TARGET_ARCH32, set cmodel to CM_32. Turn off
11357 V8PLUS in 64-bit mode.
11358 * config/sparc/t-linux64: New file.
11359 * config/sparc/t-sol2-64: New file.
11360 * config/sparc/t-sol2: Adjust build rules to use MULTILIB_CFLAGS.
11361 * config/sparc/sol2-sld-64.h (SPARC_BI_ARCH): Define.
11362 (ASM_CPU32_DEFAULT_SPEC, ASM_CPU64_DEFAULT_SPEC,
11363 CPP_CPU32_DEFAULT_SPEC, CPP_CPU64_DEFAULT_SPEC): Define.
11364 (ASM_SPEC, CPP_CPU_SPEC): Set appropriately based upon those.
11365 (STARTFILE_SPEC32, STARTFILE_SPEC32, STARTFILE_ARCH_SPEC):
11367 (STARTFILE_SPEC): Set appropriately based upon those.
11368 (CPP_CPU_DEFAULT_SPEC, ASM_CPU_DEFAULT_SPEC): Set based upon
11369 disposition of DEFAULT_ARCH32_P.
11370 (LINK_ARCH32_SPEC, LINK_ARCH64_SPEC): Define.
11371 (LINK_ARCH_SPEC, LINK_ARCH_DEFAULT_SPEC): Set based upon those.
11372 (CC1_SPEC, MULTILIB_DEFAULTS): Set based upon DEFAULT_ARCH32_P.
11373 (MD_STARTFILE_PREFIX): Set correctly based upon SPARC_BI_ARCH.
11374 * config/sparc/xm-sysv4-64.h (HOST_BITS_PER_LONG): Only set on
11376 * config/sparc/xm-sp64.h (HOST_BITS_PER_LONG): Likewise.
11378 Wed Sep 23 22:32:31 1998 Mark Mitchell <mark@markmitchell.com>
11380 * rtl.h (init_virtual_regs): New function.
11381 * emit-rtl.c (init_virtual_regs): Define.
11382 (insn_emit): Use it.
11383 * integrate.c (save_for_inline_copying): Likewise.
11385 Wed Sep 23 16:22:01 1998 Nick Clifton <nickc@cygnus.com>
11387 * config/arm/thumb.h: The following patches were made by Jim Wilson:
11388 (enum reg_class): Add NONARG_LO_REGS support.
11389 (REG_CLASS_NAMES, REG_CLASS_CONTENTS, REGNO_REG_CLASS,
11390 PREFERRED_RELOAD_CLASS, SECONDARY_RELOAD_CLASS): Likewise.
11391 (GO_IF_LEGITIMATE_ADDRESS): Disable REG+REG addresses before reload
11392 completes. Re-enable HImode REG+OFFSET addresses.
11393 (LEGITIMIZE_RELOAD_ADDRESS): Define.
11395 * expmed.c (extract_bit_field): Add comment from Jim Wilson.
11397 Wed Sep 23 13:26:02 1998 Richard Henderson <rth@cygnus.com>
11399 * alpha.c (get_aligned_mem): Revert Sep 20 change.
11400 (alpha_set_memflags, alpha_set_memflags_1): Likewise.
11401 (alpha_align_insns): Properly calculate initial offset wrt max_align.
11403 Wed Sep 23 10:45:44 1998 Richard Earnshaw (rearnsha@arm.com)
11405 * arm.c (find_barrier): Revert change of Apr 23. Handle table
11406 jumps as a single entity, taking into account the size of the
11409 Tue Sep 22 15:13:34 1998 Alexandre Petit-Bianco <apbianco@cygnus.com>
11411 * tree.def (SWITCH_EXPR): New tree node definition.
11413 Mon Sep 21 23:40:38 PDT 1998 Jeff Law (law@cygnus.com)
11415 * version.c: Bump for snapshot.
11417 Mon Sep 21 22:31:14 PDT 1998 Jeff Law (law@cygnus.com)
11419 * version.c: Bump for snapshot.
11421 Mon Sep 21 22:48:09 1998 Jeffrey A Law (law@cygnus.com)
11423 * configure.in: Recognize i[34567]86-*-openbsd* and handle it like
11426 Mon Sep 21 22:05:28 1998 Jeffrey A Law (law@cygnus.com)
11428 * Revert this patch.
11429 * reload.c (find_reloads): Do not replace a pseudo with
11430 (MEM (reg_equiv_addr)) in the initializing insn for the
11433 Mon Sep 21 20:19:41 1998 John Carr <jfc@mit.edu>
11435 * final.c (final_scan_insn): Disable tracking CC across branches.
11437 Mon Sep 21 17:15:26 EDT 1998 Andrew MacLeod <amacleod@cygnus.com>
11439 * expr.h (eh_rtime_match_libfunc): New extern declaration.
11440 * optabs.c (init_optabs): Set eh_rtime_match_libfunc.
11441 * except.c (start_catch_handler): Use eh_rtime_match_libfunc.
11442 * libgcc2.c (__eh_rtime_match): Always return 0 if the matcher is
11443 NULL. Only include <stdio.h> if inhibit_libc is not defined.
11445 Mon Sep 21 14:10:51 1998 Jason Merrill <jason@yorick.cygnus.com>
11447 * toplev.c (rest_of_compilation): Skip compiling anything with
11448 DECL_EXTERNAL set, not just if it has DECL_INLINE as well.
11450 Mon Sep 21 13:51:05 1998 Jim Wilson <wilson@cygnus.com>
11452 * flow.c (find_basic_blocks): Delete check for in_libcall_block when
11453 prev_code is a CALL_INSN. Change check for REG_RETVAL note to
11454 use in_libcall_block.
11455 (find_basic_blocks_1): Delete check for in_libcall_block when prev_code
11456 is a CALL_INSN. If CALL_INSN and in_libcall_block, then change code
11459 Mon Sep 21 14:02:23 1998
11461 * i386.h (TARGET_SWITCHES) Improve doc for align-double. Fix
11462 typo in no-fancy-math-387 description.
11464 Mon Sep 21 09:27:18 PDT 1998 Jeff Law (law@cygnus.com)
11466 * version.c: Bump for snapshot.
11468 Mon Sep 21 09:24:49 1998 Stan Cox <scox@cygnus.com>
11470 * i386-coff.h (DBX_DEBUGGING_INFO): Added.
11472 Mon Sep 21 09:14:49 1998 Robert Lipe <robertl@dgii.com>
11474 * i386.h (TARGET_SWITCHES) Add description fields for flags
11475 documented in install.texi.
11476 (TARGET_OPTIONS) Likewise.
11478 Mon Sep 21 01:39:03 PDT 1998 Jeff Law (law@cygnus.com)
11480 * version.c: Bump for snapshot.
11482 Mon Sep 21 01:53:05 1998 Felix Lee <flee@cygnus.com>
11484 * c-lex.c (init_lex): Use getenv ("LANG"), not GET_ENVIRONMENT ().
11485 * cccp.c (main): Likewise.
11487 * cccp.c, collect2.c, cpplib.c, gcc.c, config/i386/xm-cygwin32.h:
11488 Rename GET_ENVIRONMENT to GET_ENV_PATH_LIST, and fix some
11491 Mon Sep 21 00:52:12 1998 Per Bothner <bothner@cygnus.com>
11493 * Makefile.in (LIBS): Link in libiberty.a.
11494 * c-common.c, gcc.c, toplev.c: Replace (some) bcopy calls by memcpy.
11496 Sun Sep 20 23:28:11 1998 Richard Henderson <rth@cygnus.com>
11498 * reload1.c (emit_reload_insns): Accept a new arg for the bb. Use
11499 it to update bb boundaries. Update caller.
11500 * function.c (reposition_prologue_and_epilogue_notes): Update
11501 bb boundaries wrt the moved note.
11503 Sun Sep 20 20:57:02 1998 Robert Lipe <robertl@dgii.com>
11505 * configure.in (i*86-*-sysv5*): Use fixinc.svr4 to patch byteorder
11507 * configure: Regenerate.
11509 Sun Sep 20 19:01:51 1998 Richard Henderson <rth@cygnus.com>
11511 * alpha.c (alpha_sr_alias_set): New variable.
11512 (override_options): Set it.
11513 (alpha_expand_prologue, alpha_expand_epilogue): Use it.
11514 (mode_mask_operand): Fix signed-unsigned comparison warning.
11515 (alpha_expand_block_move): Likewise.
11516 (print_operand): Likewise.
11517 (get_aligned_mem): Use change_address.
11518 (alpha_set_memflags, alpha_set_memflags_1): Set the alias set.
11519 (alphaev4_insn_pipe, alphaev4_next_group): New functions.
11520 (alphaev4_next_nop, alphaev5_next_nop): New functions.
11521 (alpha_align_insns): Remade from old alphaev5_align_insns
11522 to handle multiple processors.
11523 (alpha_reorg): Call alpha_align_insns for both ev4 and ev5.
11524 * output.h (label_to_alignment): Prototype.
11526 * tree.c (new_alias_set): New function.
11527 * tree.h (new_alias_set): Declare it.
11528 * c-common.c (c_get_alias_set): Use it.
11530 Sun Sep 20 12:35:55 1998 Richard Henderson <rth@cygnus.com>
11532 * fold-const.c (fold): Yet another COND_EXPR bug: when folding
11533 to an ABS expr, convert an unsigned input to signed.
11535 Sun Sep 20 12:14:45 1998 Jeffrey A Law (law@cygnus.com)
11537 * fold-const.c (fold): Fix another type in COND_EXPR handling code.
11539 1998-09-20 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
11541 * configure.in: Add support for c4x targets.
11542 * configure: Rebuilt.
11544 Sun Sep 20 00:00:51 1998 Richard Henderson <rth@cygnus.com>
11546 * combine.c (distribute_notes): If an insn is a cc0 user, only
11547 delete it if we can also delete the cc0 setter.
11549 Sun Sep 20 00:22:23 1998 Michael Tiemann <michael@impact.tiemann.org>
11551 * fold-const.c (fold): Fix typo in COND_EXPR handling code.
11552 (invert_truthvalue): Enable truthvalue inversion for
11553 floating-point operands if -ffast-math.
11555 Sat Sep 19 23:58:07 1998 Melissa O'Neill <oneill@cs.sfu.ca>
11557 * configure.in: Disable collect2 for nextstep. Instead use
11559 * configure: Rebuilt.
11560 * config/nextstep.h (STARTFILE_SPEC): Add crtbegin.
11561 (ENDFILE_SPEC): Define.
11562 (OBJECT_FORMAT_MACHO): Define.
11563 (EH_FRAME_SECTION_ASM_OP): Define.
11564 * crtstuff.c: Handle MACHO.
11566 Sun Sep 20 00:24:24 1998 Robert Lipe <robertl@dgii.com>
11568 * config/i386/sco5.h (TARGET_MEM_FUNCTIONS): Define.
11570 1998-09-19 Torbjorn Granlund <tege@matematik.su.se>
11572 * fp-bit.c (pack_d): Do not clear SIGN when fraction is 0.
11573 (_fpadd_parts): Get sign right for 0.
11575 1998-09-19 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
11577 * ginclude/varargs.h: Add support for C4x target.
11578 * ginclude/stdargs.h: Likewise.
11580 Sat Sep 19 12:05:09 1998 Richard Henderson <rth@cygnus.com>
11582 * alpha.c (alpha_return_addr): SET should be VOIDmode.
11583 (alpha_emit_set_long_const): Rewrite to be callable from reload
11585 (alpha_expand_epilogue): Update for alpha_emit_set_long_const.
11586 * alpha.md (movdi): Likewise.
11588 Sat Sep 19 07:33:36 1998 Richard Earnshaw (rearnsha@arm.com)
11590 * arm.c (add_constant): New parameter address_only, change caller.
11591 Set it non-zero if taking the address of an item in the pool.
11592 (arm_reorg): Handle cases where we need the address of an item in
11595 * arm.c (bad_signed_byte_operand): Check both arms of a sum in
11597 * arm.md (splits for *extendqihi_insn and *extendqisi_insn): Handle
11598 memory addresses that are not in standard canonical form.
11600 Sat Sep 19 01:00:32 1998 Michael Hayes (mph@elec.canterbury.ac.nz)
11602 * README.C4X: New file with information about the c4x ports.
11603 * ginclude/va-c4x.h: New file for c4x varargs support.
11604 * config/c4x: New directory with c4x port files.
11606 Fri Sep 18 22:52:05 1998 Jeffrey A Law (law@cygnus.com)
11608 * reload.c (find_reloads): Do not replace a pseudo with
11609 (MEM (reg_equiv_addr)) in the initializing insn for the
11612 Fri Sep 18 23:50:56 1998 David Edelsohn <edelsohn@gnu.org>
11614 * toplev.c (rest_of_compilation): Set bct_p on second call to
11616 * loop.c (loop_optimize, scan_loop, strength_reduce): New argument
11618 (strength_reduce): Only call analyze_loop_iterations and
11619 insert_bct if bct_p set.
11620 (check_dbra_loop): Fix typo.
11621 (insert_bct): Use word_mode instead of SImode.
11622 (instrument_loop_bct): Likewise. Do not delete iteration count
11623 condition code generation insn. Initialize iteration count before
11625 * rtl.h (loop_optimize): Update prototype.
11627 * ginclude/va-ppc.h (va_arg): longlong types in overflow area are
11628 not doubleword aligned.
11630 * rs6000.c (optimization_options): New function.
11631 (secondary_reload_class): Only call true_regnum for PSEUDO_REGs.
11632 * rs6000.h (OPTIMIZATION_OPTIONS): Define.
11633 (REG_ALLOC_ORDER): Allocate highest numbered condition regsiters
11634 first; cr1 can be used for FP record condition insns.
11636 Fri Sep 18 09:44:55 1998 Nick Clifton <nickc@cygnus.com>
11638 * config/m32r/m32r.h (m32r_block_immediate_operand): Add to
11641 * config/m32r/m32r.md: Add "movstrsi" and "movstrsi_internal"
11644 * config/m32r/m32r.c (m32r_print_operand): Add 's' and 'p'
11646 (block_move_call): New function: Call a library routine to copy a
11648 (m32r_expand_block_move): New function: Expand a "movstrsi"
11649 pattern into a sequence of insns.
11650 (m32r_output_block_move): New function: Expand a
11651 "movstrsi_internal" pattern into a sequence of assembler opcodes.
11652 (m32r_block_immediate_operand): New function: Return true if the
11653 RTL is an integer constant, less than or equal to MAX_MOVE_BYTES.
11655 Thu Sep 17 16:42:16 EDT 1998 Andrew MacLeod <amacleod@cygnus.com>
11657 * except.c (start_catch_handler): Issue 'fatal' instead of 'error' and
11658 re-align some code.
11659 * libgcc2.c (__eh_rtime_match): fprintf a runtime error. Use <stdio.h>.
11661 Thu Sep 17 12:24:33 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
11663 * regmove.c (copy_src_to_dest): Check that modes match.
11665 Wed Sep 16 22:10:42 1998 Robert Lipe <robertl@dgii.com>
11667 * config/i386/sco5.h (SUPPORTS_WEAK): True only if targeting ELF.
11669 Wed Sep 16 15:24:54 1998 Richard Henderson <rth@cygnus.com>
11671 * i386.h (PREFERRED_RELOAD_CLASS): Respect an existing class
11672 narrower than FLOAT_REGS.
11674 Wed Sep 16 17:51:00 1998 Alexandre Oliva <oliva@dcc.unicamp.br>
11676 * cpplib.c: Removed OLD_GPLUSPLUS_INCLUDE_DIR.
11677 * cccp.c: Likewise.
11678 * Makefile.in (old_gxx_include_dir): Removed.
11680 Wed Sep 16 12:29:22 1998 Nick Clifton <nickc@cygnus.com>
11682 * config/sh/sh.h: Update definition of HANDLE_PRAGMA to match
11685 * config/sh/sh.c (handle_pragma): Rename to sh_handle_pragma().
11686 (sh_handle_pragma): Change function arguments to match new
11687 specification for HANDLE_PRAGMA.
11689 Wed Sep 16 12:43:19 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
11691 * gen-protos.c (parse_fn_proto): Cast argument of ISALNUM to
11693 (main): Mark parameter `argc' with ATTRIBUTE_UNUSED.
11694 When generating output, initialize missing struct member to zero.
11696 Wed Sep 16 14:47:43 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
11698 * regmove.c (copy_src_to_dest): Don't copy if that requires
11699 (a) new register(s).
11701 Wed Sep 16 01:29:12 1998 Bernd Schmidt <crux@pool.informatik.rwth-aachen.de>
11703 * global.c (reg_allocno): Now static.
11704 * reload1.c (reg_allocno): Delete declaration.
11705 (order_regs_for_reload): Take no arguments. Don't treat regs
11706 allocated by global differently than those allocated by local-alloc.
11708 Wed Sep 16 01:09:01 1998 Kamil Iskra <iskra@student.uci.agh.edu.pl>
11710 * m68k/m68k.c (output_function_prologue): Reverse NO_ADDSUB_Q
11711 condition, fix format strings.
11712 (output_function_epilogue): Likewise.
11714 * m68k/m68k.c: Don't include <stdlib.h> directly.
11716 Wed Sep 16 00:30:56 1998 Geoff Keating <geoffk@ozemail.com.au>
11718 * gcse.c: New definition NEVER_SET for reg_first_set, reg_last_set,
11719 mem_first_set, mem_last_set; because 0 can be a CUID.
11720 (oprs_unchanged_p): Use new definition.
11721 (record_last_reg_set_info): Likewise.
11722 (record_last_mem_set_info): Likewise.
11723 (compute_hash_table): Likewise.
11725 Tue Sep 15 22:59:52 1998 Jeffrey A Law (law@cygnus.com)
11727 * rs6000.c (output_epilogue): Handle Chill.
11729 * mn10200.h (ASM_OUTPUT_DWARF2_ADDR_CONST): Define.
11730 * mn10300.h (ASM_OUTPUT_DWARF2_ADDR_CONST): Define.
11732 * combine.c (make_extraction): If no mode is specified for
11733 an operand of insv, extv, or extzv, default it to word_mode.
11734 (simplify_comparison): Similarly.
11735 * expmed.c (store_bit_field): Similarly.
11736 (extract_bit_field): Similarly.
11737 * function.c (fixup_var_regs_1): Similarly.
11738 * recog.c (validate_replace_rtx_1): Similarly.
11739 * mips.md (extv, extzv, insv expanders): Default modes for most
11740 operands. Handle TARGET_64BIT.
11741 (movdi_uld, movdi_usd): New patterns.
11743 * pa.c (emit_move_sequence): Do not replace a pseudo with its
11744 equivalent memory location unless we have been provided a scratch
11745 register. Similarly do not call find_replacement unless a
11746 scratch register has been provided.
11748 Tue Sep 15 19:23:01 1998 Bernd Schmidt <crux@pool.informatik.rwth-aachen.de>
11750 * i386.h (PREFERRED_RELOAD_CLASS): For standard 387 constants,
11753 Tue Sep 15 19:09:06 1998 Richard Henderson <rth@cygnus.com>
11755 * tree.h (BUILT_IN_CALLER_RETURN_ADDRESS): Unused. Kill.
11756 (BUILT_IN_FP, BUILT_IN_SP, BUILT_IN_SET_RETURN_ADDR_REG): Kill.
11757 (BUILT_IN_EH_STUB_OLD, BUILT_IN_EH_STUB, BUILT_IN_SET_EH_REGS): Kill.
11758 (BUILT_IN_EH_RETURN, BUILT_IN_DWARF_CFA): New.
11759 * c-decl.c (init_decl_processing): Update accordingly.
11760 * expr.c (expand_builtin): Likewise.
11762 * rtl.h (global_rtl): Add cfa entry.
11763 (virtual_cfa_rtx, VIRTUAL_CFA_REGNUM): New.
11764 (LAST_VIRTUAL_REGISTER): Update.
11765 * emit-rtl.c (global_rtl): Add cfa entry.
11766 (init_emit): Initialize it.
11767 * function.c (cfa_offset): New.
11768 (instantiate_virtual_regs): Initialize it.
11769 (instantiate_virtual_regs_1): Instantiate virtual_cfa_rtx.
11770 (expand_function_end): Call expand_eh_return.
11771 * tm.texi (ARG_POINTER_CFA_OFFSET): New.
11773 * except.c (current_function_eh_stub_label): Kill.
11774 (current_function_eh_old_stub_label): Likwise; update all references.
11775 (expand_builtin_set_return_addr_reg): Kill.
11776 (expand_builtin_eh_stub_old, expand_builtin_eh_stub): Kill.
11777 (expand_builtin_set_eh_regs): Kill.
11778 (eh_regs): Produce a third reg for the actual handler address.
11779 (eh_return_context, eh_return_stack_adjust): New.
11780 (eh_return_handler, eh_return_stub_label): New.
11781 (init_eh_for_function): Initialize them.
11782 (expand_builtin_eh_return, expand_eh_return): New.
11783 * except.h: Update prototypes.
11784 * flow.c (find_basic_blocks_1): Update references to the stub label.
11785 * function.h (struct function): Kill stub label elements.
11787 * libgcc2.c (in_reg_window): For REG_SAVED_REG, check that the
11788 register number is one that would be in the previous window.
11789 Provide a dummy definition for non-windowed targets.
11790 (get_reg_addr): New function.
11791 (get_reg, put_reg, copy_reg): Use it.
11792 (__throw): Rely on in_reg_window, not INCOMING_REGNO. Kill stub
11793 generating code and use __builtin_eh_return. Use __builtin_dwarf_cfa.
11795 * alpha.c (alpha_eh_epilogue_sp_ofs): New.
11796 (alpha_init_expanders): Initialize it.
11797 (alpha_expand_epilogue): Use it.
11798 * alpha.h: Declare it.
11799 * alpha.md (eh_epilogue): New.
11801 * m68h.h (ARG_POINTER_CFA_OFFSET): New.
11802 * sparc.h (ARG_POINTER_CFA_OFFSET): New.
11804 Tue Sep 15 19:31:58 1998 Michael Meissner <meissner@cygnus.com>
11806 * i960.h (CONST_COSTS): Fix thinko. Test flag, not the constant
11809 Tue Sep 15 14:10:54 EDT 1998 Andrew MacLeod <amacleod@cygnus.com>
11811 * except.h (struct eh_entry): Add false_label field.
11812 (end_catch_handler): Add prototype.
11813 * except.c (push_eh_entry): Set false_label field to NULL_RTX.
11814 (start_catch_handler): When using old style exceptions, issue
11815 runtime typematch code before continuing with the handler.
11816 (end_catch_handler): New function, generates label after handler
11817 if needed by older style exceptions.
11818 (expand_start_all_catch): No need to check for new style exceptions.
11819 (output_exception_table_entry): Only output the first handler label
11820 for old style exceptions.
11821 * libgcc2.c (__eh_rtime_match): New routine to lump runtime matching
11822 mechanism into one function, if a runtime matcher is provided.
11824 Tue Sep 15 13:53:59 EDT 1998 Andrew MacLeod <amacleod@cygnus.com>
11826 * config/i960/i960.h (SLOW_BYTE_ACCESS): Change definition to 1.
11828 Tue Sep 15 09:59:01 1998 Mark Mitchell <mark@markmitchell.com>
11830 * integrate.c (copy_decl_list): Fix typo.
11832 Tue Sep 15 04:18:52 1998 David S. Miller <davem@pierdol.cobaltmicro.com>
11834 * config/sparc/sparc.md (movdf_const_intreg_sp32): Fix length
11837 Mon Sep 14 14:02:53 PDT 1998 Jeff Law (law@cygnus.com)
11839 * version.c: Bump for snapshot.
11841 Mon Sep 14 10:33:56 PDT 1998 Jeff Law (law@cygnus.com)
11843 * version.c: Bump for snapshot.
11845 Mon Sep 14 09:51:05 PDT 1998 Jeff Law (law@cygnus.com)
11847 * version.c: Bump for snapshot.
11849 Sun Sep 13 22:10:18 1998 David S. Miller <davem@pierdol.cobaltmicro.com>
11851 * invoke.texi (C Dialect Options): Put back missing @end itemize.
11853 Mon Sep 14 02:33:46 1998 Alexandre Oliva <oliva@dcc.unicamp.br>
11855 * configure.in: Remove usage of `!' to negate the result of a
11856 command; some common shells do not support it.
11858 Sun Sep 13 19:17:35 1998 David S. Miller <davem@pierdol.cobaltmicro.com>
11860 * configure.in: In sparc9-sol2 config, use 'if test' not
11862 * configure: Rebuilt.
11864 * config/sparc/sol2-sld-64.h (SPARC_DEFAULT_CMODEL): Change to
11866 (CPP_CPU_SPEC): Do not define _LP64, header files do this.
11867 (CPP_CPU_DEFAULT_SPEC): Likewise.
11868 * config/sparc/sol2.h (INIT_SUBTARGET_OPTABS): Get the names right
11869 for arch64 libfuncs.
11871 * config/sparc/sparc.md (goto_handler_and_restore): Allow any mode
11874 Sun Sep 13 09:11:59 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
11876 * acconfig.h (NEED_DECLARATION_STRSIGNAL): Provide a stub.
11878 * collect2.c: Don't declare `sys_siglist' here.
11879 (my_strsignal): Prototype and define new function. Use it in
11880 place of `sys_siglist' hacks.
11882 * mips_tfile.c: Likewise.
11884 * configure.in (AC_CHECK_FUNCS): Check for strsignal.
11885 (GCC_NEED_DECLARATIONS): Likewise.
11887 * system.h (strsignal): Prototype it, if necessary.
11888 (sys_siglist): Declare it, if necessary.
11890 Sun Sep 13 04:37:28 1998 David S. Miller <davem@pierdol.cobaltmicro.com>
11892 * loop.c (move_movables): While removing insn sequences, preserve
11893 the next pointer of the most recently deleted insn when we skip
11896 Sun Sep 13 08:13:39 1998 Ben Elliston <bje@cygnus.com>
11898 * objc/config-lang.in: Do not output the name of the selected
11899 thread file when building the front-end. The Makefile for the
11900 runtime library will do this.
11902 * objc/Make-lang.in: Do not build the runtime library or install
11903 the Objective C header files. The Makefile for the runtime
11904 library will do this.
11906 * objc/Makefile.in (all.indirect): Only build the front-end.
11907 (compiler): Rename to `frontend'.
11908 (obj-runtime): Remove target.
11909 (copy-headers): Likewise.
11910 (clean): No need to remove `libobjc.a' any longer.
11912 Sat Sep 12 11:37:19 1998 Michael Meissner <meissner@cygnus.com>
11914 * rs6000.h ({ASM,CPP}_CPU_SPEC): Add support for all machines
11915 supported with -mcpu=xxx.
11917 Fri Sep 11 23:55:54 1998 David S. Miller <davem@pierdol.cobaltmicro.com>
11919 * flow.c (mark_set_1): Recognize multi-register structure return
11920 values in CALL insns.
11921 (mark_used_regs): Likewise.
11922 (count_reg_sets_1): Likewise.
11923 (count_reg_references): Likewise.
11924 * rtlanal.c (note_stores): Likewise.
11925 (reg_overlap_mentioned_p): Likewise.
11926 * haifa-sched.c (check_live_1): Likewise.
11927 (update_live_1): Likewise.
11928 (sched_analyze_1): Likewise.
11929 (sched_note_set): Likewise.
11930 (birthing_insn_p): Likewise.
11931 (attach_deaths): Likewise.
11933 * config/sparc/sparc.md (movdf_const_intreg_sp64): Disable.
11935 Fri Sep 11 22:57:55 1998 Eric Dumazet <dumazet@cosmosbay.com>
11937 * config/i386/sco5.h (ASM_WEAKEN_LABEL): Defined as in svr4.h.
11939 Thu Sep 10 22:02:04 1998 David S. Miller <davem@pierdol.cobaltmicro.com>
11941 * glimits.h (__LONG_MAX__): Recognize __sparcv9 too.
11943 Thu Sep 10 21:19:10 1998 Jakub Jelinek <jj@sunsite.ms.mff.cuni.cz>
11945 * configure.in: Add check for GAS subsection -1 support.
11946 * acconfig.h (HAVE_GAS_SUBSECTION_ORDERING): Add.
11947 * configure config.in: Rebuilt.
11948 * config/sparc/sparc.h (CASE_VECTOR_MODE): For V9 flag_pic, use
11949 SImode is subsection -1 works, else use DImode.
11950 (ASM_OUTPUT_ADDR_VEC_START, ASM_OUTPUT_ADDR_VEC_END): Define if
11951 subsection -1 works.
11952 * config/sparc/sparc.c (sparc_output_addr_vec,
11953 sparc_output_addr_diff_vec): Use them if defined.
11955 Thu Sep 10 10:46:01 1998 Mark Mitchell <mark@markmitchell.com>
11957 * tree.h (DECL_ORIGIN): New macro.
11958 * integrate.c (copy_and_set_decl_abstract_origin): New function.
11959 (copy_decl_list): Use it.
11960 (integrate_parm_decls): Likewise.
11961 (integrate_decl_tree): Likewise.
11962 * dwarf2out.c (decl_ultimate_origin): Simplify.
11963 * dwarfout.c (decl_ultimate_origin): Likewise.
11964 * c-decl.c (duplicate_decls): Use DECL_ORIGIN.
11965 (pushdecl): Likewise.
11967 Thu Sep 10 08:01:31 1998 Anthony Green <green@cygnus.com>
11969 * config/rs6000/rs6000.c (output_epilog): Add Java support.
11971 Thu Sep 10 14:48:59 1998 Martin von Löwis <loewis@informatik.hu-berlin.de>
11973 * invoke.texi (C++ Dialect Options): Document -fhonor-std.
11975 Thu Sep 10 01:38:05 1998 Jeffrey A Law (law@cygnus.com)
11977 * reg-stack.c (straighten_stack): Do nothing if the virtual stack is
11978 empty or has a single entry.
11980 * toplev.c (rest_of_compilation): Open up the dump file for reg-stack
11981 before calling reg_to_stack.
11983 Thu Sep 10 00:03:34 1998 Richard Henderson <rth@cygnus.com>
11985 * alpha.c (alphaev5_insn_pipe): Abort on default case.
11986 (alphaev5_next_group): Swallow CLOBBERs and USEs.
11988 * c-tree.h (warn_long_long): Declare it.
11990 Wed Sep 9 23:31:36 1998 (Stephen L Moshier) <moshier@world.std.com>
11992 * emit-rtl.c (gen_lowpart_common): Disable optimization of
11993 initialized float-int union if the value is a NaN.
11995 Wed Sep 9 23:00:48 1998 Nathan Sidwell <nathan@acm.org>
11997 * c-lex.c (real_yylex): Don't warn about long long constants if
11998 we're allowing long long
12000 Wed Sep 9 21:58:41 1998 Bernd Schmidt <crux@pool.informatik.rwth-aachen.de>
12002 * except.h (current_function_eh_stub_label): Declare.
12003 (current_function_eh_old_stub_label): Declare.
12004 * function.h (struct function): New members eh_stub_label and
12006 * except.c (current_function_eh_stub_label): New variable.
12007 (current_function_eh_old_stub_label): New variable.
12008 (init_eh_for_function): Clear them.
12009 (save_eh_status): Save them.
12010 (restore_eh_status): Restore them.
12011 (expand_builtin_eh_stub): Set current_function_eh_stub_label.
12012 (expand_builtin_eh_stub_old): Set current_function_eh_old_stub_label.
12013 * flow.c (find_basic_blocks_1): When handling a REG_LABEL note, don't
12014 make an edge from the block that contains it to the block starting
12015 with the label if this label is one of the eh stub labels.
12016 If eh stub labels exist, show they are reachable from the last block
12019 * reload1.c (reload): Break out several subroutines and make some
12021 (calculate_needs_all_insns): New function, broken out of reload.
12022 (calculate_needs): Likewise.
12023 (find_reload_regs): Likewise.
12024 (find_group): Likewise.
12025 (find_tworeg_group): Likewise.
12026 (something_needs_reloads): New global variable, formerly in reload.
12027 (something_needs_elimination): Likewise.
12028 (caller_save_spill_class): Likewise.
12029 (caller_save_group_size): Likewise.
12030 (max_needs): Likewise.
12031 (group_size): Likewise.
12032 (max_groups): Likewise.
12033 (max_nongroups): Likewise.
12034 (group_mode): Likewise.
12035 (max_needs_insn): Likewise.
12036 (max_groups_insn): Likewise.
12037 (max_nongroups_insn): Likewise.
12038 (failure): Likewise.
12040 * print-rtl.c (print_rtx): For MEMs, print MEM_ALIAS_SET.
12042 Wed Sep 9 13:14:41 1998 Richard Henderson <rth@cygnus.com>
12044 * loop.c (load_mems): Copy rtx for output mem.
12046 Wed Sep 9 15:16:58 1998 Gavin Romig-Koch <gavin@cygnus.com>
12048 * mips/abi64.h (LONG_MAX_SPEC): Don't set LONG_MAX for
12049 mips1 or mips2 either.
12051 Wed Sep 9 12:31:35 1998 Jeffrey A Law (law@cygnus.com)
12053 * pa.c (pa_reorg): New marking scheme for jumps inside switch
12055 (pa_adjust_insn_length): Update to work with new marking scheme
12056 for jumps inside switch tables.
12057 * pa.md (switch_jump): Remove pattern.
12058 (jump): Handle jumps inside jump tables.
12060 * Makefile.in (profile.o): Depend on insn-config.h
12062 Wed Sep 9 09:36:51 1998 Jim Wilson <wilson@cygnus.com>
12064 * iris6.h (DWARF2_UNWIND_INFO): Undef.
12066 Wed Sep 9 01:32:01 1998 David S. Miller <davem@pierdol.cobaltmicro.com>
12068 Add preliminary native sparcv9 Solaris support.
12069 * configure.in: Recognize sparv9-*-solaris2*
12070 * configure: Rebuilt.
12071 * config.sub: Recognize sparcv9 just like sparc64.
12072 * config/sparc/sol2-c1.asm config/sparc/sol2-ci.asm
12073 config/sparc/sol2-cn.asm: Macroize so it can be shared between
12074 32-bit and 64-bit Solaris systems.
12075 * config/sparc/t-sol2: Assemble those with cpp.
12076 * config/sparc/sparc.h (TARGET_CPU_sparcv9): New alias for v9.
12077 (*TF*_LIBCALL): If ARCH64 use V9 names.
12078 * config/sparc/{xm-sysv4-64,sol2-sld-64}.h: New files.
12080 Wed Sep 9 01:07:30 1998 Jakub Jelinek <jj@sunsite.ms.mff.cuni.cz>
12082 * config/sparc/sparc.h (TARGET_CM_MEDMID): Fix documentation.
12083 (CASE_VECTOR_MODE): Set to SImode even if PTR64, when MEDLOW and
12085 (ASM_OUTPUT_ADDR_{VEC,DIFF}_ELT): Check CASE_VECTOR_MODE not
12087 * config/sparc/sparc.md (tablejump): Likewise, and sign extend op0
12088 to Pmode if CASE_VECTOR_MODE is something else.
12090 Wed Sep 9 00:10:31 1998 Jeffrey A Law (law@cygnus.com)
12092 * prefix.c (update_path): Correctly handle cases where PATH is
12093 a substring of the builtin prefix, but specifies a different
12094 directory location.
12096 Tue Sep 8 23:46:04 1998 Hans-Peter Nilsson <hp@axis.se>
12098 * expr.c: Corrected comment about what MOVE_RATIO does.
12099 * config/alpha/alpha.h: Likewise.
12100 * config/1750a/1750a.h: Likewise.
12101 * config/clipper/clipper.h: Likewise.
12102 * config/i386/i386.h: Likewise.
12104 Tue Sep 8 22:56:12 1998 Jeffrey A Law (law@cygnus.com)
12106 * configure.in (m68k-next-nextstep3*): Use collect2.
12107 Similarly for x86 NeXT configurations.
12108 * configure: Rebuilt.
12110 Tue Sep 8 01:38:57 1998 Nathan Sidwell <nathan@acm.org>
12112 * configure.in: Don't assume srcdir is .../gcc.
12113 * configure: Rebuilt.
12115 Sat Sep 5 16:34:34 EDT 1998 John Wehle (john@feith.com)
12117 * global.c: Update comments.
12118 (global_alloc): Assign allocation-numbers
12119 even for registers allocated by local_alloc in case
12120 they are later spilled and retry_global_alloc is called.
12121 (mark_reg_store, mark_reg_clobber,
12122 mark_reg_conflicts, mark_reg_death): Always record a
12123 conflict with a pseudo register even if it has been
12124 assigned to a hard register.
12125 (dump_conflicts): Don't list pseudo registers already assigned to
12126 a hard register as needing to be allocated, but do list their
12128 * local-alloc.c: Update comment.
12130 Mon Sep 7 23:38:01 1998 Jeffrey A Law (law@cygnus.com)
12132 * configure.in: Check for bogus GCC_EXEC_PREFIX and LIBRARY_PATH.
12133 * configure: Rebuilt.
12135 Mon Sep 7 22:41:46 1998 Michael Meissner <meissner@cygnus.com>
12137 * rs6000.c (rs6000_override_options): Fix name for ec603e, to add
12139 * t-ppccomm (MULTILIB_MATCHES_FLOAT): Add support for -mcpu=xxx
12140 for all targets that set -msoft-float.
12142 Mon Sep 7 23:30:07 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
12144 * toplev.c (print_switch_values): Make static to match prototype.
12146 Mon Sep 7 19:13:59 1998 Jeffrey A Law (law@cygnus.com)
12148 * configure.in: If we are unable to find the "gnatbind" program,
12149 then do not configure the ada subdir.
12150 * configure: Rebuilt.
12152 Sun Sep 6 14:03:58 PDT 1998 Jeff Law (law@cygnus.com)
12154 * version.c: Bump for snapshot.
12156 Sun Sep 6 13:28:07 PDT 1998 Jeff Law (law@cygnus.com)
12158 * version.c: Bump for snapshot.
12160 Sun Sep 6 08:54:14 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
12162 * Makefile.in (toplev.o): Depend on $(EXPR_H).
12163 (insn-extract.o, insn-attrtab.o): Depend on toplev.h.
12165 * gansidecl.h: Define ATTRIBUTE_NORETURN.
12167 * genattrtab.c: Have insn-attrtab.c include toplev.h.
12169 * genextract.c: Have insn-extract.c include toplev.h.
12171 * rtl.h: Don't prototype `fatal_insn_not_found' and `fatal_insn'.
12173 * toplev.c: Include expr.h.
12174 (really_sorry, fancy_abort): Remove prototypes.
12175 (set_target_switch): Add argument in prototype.
12176 (vfatal): Mark prototype with ATTRIBUTE_NORETURN.
12177 (v_really_sorry): Likewise.
12178 (print_version, print_single_switch, print_switch_values): Make
12179 static and add prototype arguments.
12180 (decl_printable_name): Add prototype arguments.
12181 (lang_expand_expr_t): New typedef.
12182 (lang_expand_expr): Declare as a lang_expand_expr_t.
12183 (incomplete_decl_finalize_hook): Add prototype argument.
12184 (decl_name): Mark variable `verbosity' with ATTRIBUTE_UNUSED.
12185 (botch): Likewise for variable `s'.
12186 (rest_of_type_compilation): Mark variables `type' and `toplev'
12187 with ATTRIBUTE_UNUSED if none of DBX_DEBUGGING_INFO,
12188 XCOFF_DEBUGGING_INFO or SDB_DEBUGGING_INFO are defined.
12189 (display_help): Make variable `i' an `unsigned long'.
12190 (main): Remove unused parameter `envp'.
12191 Cast assignment to `lang_expand_expr' to a `lang_expand_expr_t'.
12192 Cast -1 when comparing it with a `size_t'.
12194 * toplev.h (fatal, fatal_io_error, pfatal_with_name): Mark
12195 prototype with ATTRIBUTE_NORETURN.
12196 (fatal_insn_not_found, fatal_insn, really_sorry,
12197 push_float_handler, pop_float_handler): Add prototypes.
12198 (fancy_abort): Mark prototype with ATTRIBUTE_NORETURN.
12199 (do_abort, botch): Add prototypes.
12201 Sat Sep 6 12:05:18 1998 John Carr <jfc@mit.edu>
12203 * final.c (final): If a label is reached only from a single jump,
12204 call NOTICE_UPDATE_CC on the jump and its predecessor before
12205 emitting the insn after the label.
12207 * i386.h: Add AMD K6 support.
12208 Change TARGET_* macros to use table lookup.
12209 (INITIALIZE_TRAMPOLINE): Improve trampoline code.
12210 (ADJUST_COST): Change definition to call function in i386.c.
12211 (ISSUE_RATE): Define as 2 for anything newer than an 80486.
12212 * i386.c: Add AMD K6 support.
12213 Add constants for feature tests used by TARGET_* macros.
12214 (split_di): If before reload, call gen_lowpart and gen_highpart.
12215 (x86_adjust_cost): New function.
12216 (put_jump_code): New function.
12217 (print_operand): New codes 'D' and 'd'.
12218 * i386.md: New insn types. New insn attribute "memory".
12219 Redefine scheduling parameters to use new types and add AMD K6
12220 support. Explicitly set type of most insns.
12221 (move insns): K6 prefers movl $0,reg to xorl reg,reg. Pentium
12222 Pro and K6 prefer movl $1,reg to incl reg.
12223 (adddi3, subdi3): Set cc_status.
12224 (DImode shift patterns): Change label counters from HOST_WIDE_INT
12225 to int; x86 can't have more than 2^31 DImode shifts per file.
12226 (setcc): Combine all setcc patterns. Allow writing memory.
12227 Combine all jump patterns using match_operator.
12228 (*bzero): Name pattern. Emit multiple stos instructions when that
12229 is faster than rep stos.
12230 (xordi3, anddi3, iordi3): Simplify DImode logical patterns and
12233 Sun Sep 6 11:17:20 1998 Dave Love <d.love@dl.ac.uk>
12235 * config/m68k/x-next (BOOT_LDFLAGS): Define suitably for f771
12238 Sat Sep 5 22:05:25 1998 Richard Henderson <rth@cygnus.com>
12240 * alpha.c (alpha_ra_ever_killed): Inspect the topmost sequence,
12241 not whatever we're generating now.
12243 * alpha.c (set_frame_related_p, FRP): New.
12244 (alpha_expand_prologue): Mark frame related insns.
12245 (alpha_expand_epilogue): Likewise, but with a null FRP.
12246 * alpha.h (INCOMING_RETURN_ADDR_RTX): New.
12247 * alpha.md (exception_receiver): New.
12248 * alpha/crtbegin.asm (.eh_frame): New beginning.
12249 (__do_frame_setup, __do_frame_takedown): New.
12250 * alpha/crtend.asm (.eh_frame): New ending.
12251 * alpha/elf.h (DWARF2_DEBUGGING_INFO): Define.
12252 (ASM_SPEC): Don't emit both dwarf2 and mdebug.
12253 (ASM_FILE_START): Don't emit .file for dwarf2.
12255 * rtl.h (enum reg_note): Add REG_FRAME_RELATED_EXPR.
12256 * rtl.c (reg_note_name): Likewise.
12257 * rtl.texi (REG_NOTES): Likewise.
12258 * dwarf2out.c (dwarf2out_frame_debug): Use it. Recognize a store
12261 Sat Sep 5 14:47:17 1998 Richard Henderson <rth@cygnus.com>
12263 * i386.h (PREFERRED_RELOAD_CLASS): Standard fp constants load to TOS.
12264 * i386.md (movsf, movdf, movxf): Validate memory address returned
12265 from force_const_mem. Kill useless REG_EQUAL setting code.
12267 Sat Sep 5 14:23:31 1998 Torbjorn Granlund <tege@matematik.su.se>
12269 * m68k.md (zero_extendsidi2): Fix typo.
12271 Sat Sep 5 13:40:24 1998 Krister Walfridsson <cato@df.lth.se>
12273 * configure.in: Removed references to the removed file.
12274 * config/xm-netbsd.h: Use ${cpu_type}/xm-netbsd.h for
12275 arm*-*-netbsd* and ns32k-*-netbsd*.
12276 * config/i386/xm-netbsd.h: Removed unnecessary file.
12277 * config/m68k/xm-netbsd.h: Likewise.
12278 * config/sparc/xm-netbsd.h: Likewise.
12279 * config/mips/xm-netbsd.h: Likewise.
12281 Sat Aug 29 13:32:58 1998 Mumit Khan <khan@xraylith.wisc.edu>
12283 * i386/cygwin32.h (BIGGEST_ALIGNMENT): Define.
12284 (PCC_BITFIELD_TYPE_MATTERS): Define to be 0.
12286 * i386/cygwin32.h (ASM_OUTPUT_SECTION_NAME): Don't check for
12287 for exact section attributions.
12289 * i386/mingw32.h (CPP_PREDEFINES): Add __MSVCRT__ for msvc
12291 * i386/crtdll.h (CPP_PREDEFINES): Define.
12293 Sat Sep 5 03:23:05 1998 Jeffrey A Law (law@cygnus.com)
12295 * m68k.md (5200 movqi): Do not allow byte sized memory references
12296 using address regs.
12297 * m68k.c (output_move_qimode): Do not use byte sized operations on
12300 * Makefile.in (pexecute.o): Use pexecute.c from libiberty. Provide
12301 explicit rules for building. Similarly for alloca, vfprintf,
12302 choose-temp and mkstemp, getopt, getopt1, and obstack.
12303 (INCLUDES): Add $(srcdir)/../include.
12304 * pexecute.c, alloca.c, vfprintf.c, choose-temp.c, mkstemp.c: Delete.
12305 * getopt.h, getopt.c getopt1.c, obstack.c, obstack.h: Likewise.
12307 Fri Sep 4 11:57:50 1998 Tom Tromey <tromey@cygnus.com>
12309 * gcc.c (do_spec_1): [case 'o'] Account for
12310 lang_specific_extra_outfiles.
12311 (main): Correctly clear all slots in outfiles for
12312 lang_specific_extra_outfiles. Set input_file_number before
12313 calling lang_specific_pre_link.
12315 Fri Sep 4 10:37:07 1998 Jim Wilson <wilson@cygnus.com>
12317 * loop.c (load_mems): Fix JUMP_LABEL field after for_each_rtx call.
12319 Fri Sep 4 02:01:05 1998 David S. Miller <davem@pierdol.cobaltmicro.com>
12321 * config/sparc/sparc.c (output_double_int): In all V9 symbolic
12323 (sparc_output_deferred_case_vectors): If no work to do, return.
12324 Fix thinko in Sept 1 change.
12326 1998-09-03 SL Baur <steve@altair.xemacs.org>
12328 * Makefile.in: Add semicolon in BISON definition for portability.
12330 Thu Sep 3 13:34:41 1998 Toon Moene <toon@moene.indiv.nluug.nl>
12332 * config/nextstep.c (handle_pragma): Correct name of third
12335 Tue Sep 1 11:30:33 1998 Nick Clifton <nickc@cygnus.com>
12337 * config/m32r/m32r.md: Change (reg:CC 17) to (reg:SI 17).
12338 * config/m32r/m32r.h: Make register 17 be fixed.
12339 * config/m32r/m32r.c: Use SImode for cc operations.
12341 Thu Sep 3 18:17:34 1998 Benjamin Kosnik <bkoz@cygnus.com>
12343 * invoke.texi (Warning Options): Add -Wnon-template-friend
12346 Thu Sep 3 18:16:16 1998 Michael Meissner <meissner@cygnus.com>
12348 * rs6000.c (rs6000_override_options): Add -mcpu={401,e603e}.
12350 Thu Sep 3 18:05:16 1998 David Edelsohn <edelsohn@gnu.org>
12352 * rs6000.md (movsf): Disable explicit secondary-reload-like
12353 functionality if TARGET_POWERPC64.
12354 (movdf): Remove TARGET_POWERPC64 explicit secondary-reload-like
12357 Thu Sep 3 11:41:40 1998 Robert Lipe <robertl@dgii.com>
12359 * fixinc.sco: Borrow code to wrap 'bool' typedefs from tinfo.h
12360 and term.h from fixinc.wrap.
12362 Thu Sep 3 09:47:31 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
12364 * aclocal.m4 (GCC_HEADER_STRING): New macro to detect if it is
12365 safe to include both string.h and strings.h together.
12366 (GCC_NEED_DECLARATION): Test STRING_WITH_STRINGS when deciding
12367 which headers to search for function declarations. Continue to
12368 prefer string.h over strings.h when both are not acceptable.
12370 * acconfig.h (STRING_WITH_STRINGS): Add stub.
12372 * configure.in: Call GCC_HEADER_STRING.
12374 * system.h: Test STRING_WITH_STRINGS when deciding which headers
12375 to include. Continue to prefer string.h over strings.h when both
12376 are not acceptable.
12378 Wed Sep 2 23:56:29 1998 David S. Miller <davem@pierdol.cobaltmicro.com>
12380 * config/sparc/sparc.c (output_double_int): If V9 and MEDLOW, do
12381 not assume top 32-bits of symbolic addresses are zero if
12384 Thu Sep 3 00:23:21 1998 Richard Henderson <rth@cygnus.com>
12386 * ginclude/va-alpha.h: Protect entire second portion of the
12387 file against double inclusion.
12389 Thu Sep 3 00:37:55 1998 Ovidiu Predescu <ovidiu@aracnet.com>
12391 Added support for the Boehm's garbage collector.
12392 * configure.in: Handle --enable-objc-gc.
12393 * configure: Rebuilt.
12394 * Makefile.in (CHECK_TARGETS): Add check-objc.
12395 (check-objc): New rule.
12396 * objc/Make-lang.in: Build a different Objective-C library that
12397 runs with the Boehm's collector.
12398 * objc/encoding.c (objc_round_acc_size_for_types): New function.
12399 * objc/encoding.c: Correctly compute the size of compound types in
12400 the presence of bitfields. Skip the variable name of the type if
12401 any. Added support for long long.
12402 * objc/encoding.h (_C_GCINVISIBLE): New specifier.
12403 (_F_GCINVISIBLE): New mask.
12404 * objc/gc.c: New file. Compute the type memory mask associated with
12405 a class based on the runtime information.
12406 * objc/misc.c: Added the hooks that use the Boehm's collector
12407 allocation functions.
12408 * objc/objc-act.c (build_class_template): Generate a new class
12409 member (gc_object_type) to hold the class' type memory mask.
12410 (build_shared_structure_initializer): Initialize the new member to
12412 (encode_complete_bitfield): New function. Generate the new
12414 (encode_field_decl): Generate the new encoding only for the GNU
12416 * objc/objc-api.h (_C_LNG_LNG, _C_ULNG_LNG): New specifiers for the
12418 (class_get_gc_object_type): New function to mark a pointer instance
12419 variable as a weak pointer.
12420 * objc/objc-features.texi: New file.
12421 * objc/objc.h (gc_object_type): New class member.
12422 * objc/objects.c (class_create_instance): Create a typed memory
12423 object when compiled with Boehm's collector support.
12424 * objc/sendmsg.c (__objc_init_install_dtable): Call
12425 __objc_send_initialize instead of setting the initialize flag.
12426 (__objc_send_initialize): Call __objc_generate_gc_type_description
12427 to generate the class type memory mask. Rewrite the code that
12428 sends the +initialize so that it is called only once (bug report
12429 and fix from Ronald Pijnacker <Ronald.Pijnacker@best.ms.philips.com>).
12430 * testsuite/objc: New testsuite for Objective-C type encoding.
12431 * testsuite/lib/objc-torture.exp: New file.
12432 * testsuite/lib/objc.exp: New file.
12434 Wed Sep 2 14:47:36 1998 Jim Wilson <wilson@cygnus.com>
12436 * jump.c (jump_optimize): In if/then/else transformations, add
12437 another call to modified_between_p for the jump insn.
12439 Wed Sep 2 14:16:49 1998 Jeffrey A Law (law@cygnus.com)
12441 * fix-header.c (symlink): Treat like readlink.
12443 Wed Sep 2 19:30:06 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
12445 * dwarfout.c (fundamental_type_code): Encode 32 bit floats/doubles
12448 Wed Sep 2 10:06:07 1998 Nick Clifton <nickc@cygnus.com>
12450 * config/nextstep.h: Update HANDLE_PRAGMA macro.
12451 * config/h8300/h8300.h: Update HANDLE_PRAGMA macro.
12452 * config/i960/i960.h: Update HANDLE_PRAGMA macro.
12454 * config/nextstep.c (handle_pragma): Take three arguments, as per
12455 the new HANDLE_PRAGMA macro specification.
12456 * config/h8300/h8300.c (handle_pragma): Take three arguments, as
12457 per the new HANDLE_PRAGMA macro specification.
12458 * config/i960/i960.c (process_pragma): Take three arguments, as
12459 per the new HANDLE_PRAGMA macro specification.
12461 Wed Sep 2 09:25:29 1998 Nick Clifton <nickc@cygnus.com>
12463 * c-lex.c (check_newline): Call HANDLE_PRAGMA before
12464 HANDLE_SYSV_PRAGMA if both are defined. Generate warning messages
12465 if unknown pragmas are encountered.
12466 (handle_sysv_pragma): Interpret return code from
12467 handle_pragma_token (). Return success/failure indication rather
12468 than next unprocessed character.
12469 (pragma_getc): New function: retrieves characters from the
12470 input stream. Defined when HANDLE_PRAGMA is enabled.
12471 (pragma_ungetc): New function: replaces characters back into the
12472 input stream. Defined when HANDLE_PRAGMA is enabled.
12474 * c-pragma.c (handle_pragma_token): Return success/failure status
12477 * c-pragma.h: Change prototype of handle_pragma_token().
12479 * varasm.c (handle_pragma_weak): Only create this function if
12480 HANDLE_PRAGMA_WEAK is defined.
12482 * c-common,c (decl_attributes): If defined call the expression
12483 contained within the INSERT_ATTRIBUTES macro before adding
12484 attributes to a decl.
12486 * tm.texi (HANDLE_PRAGMA): Document the new version of
12487 HANDLE_PRAGMA, which takes three arguments.
12488 (INSERT_ATTRIBUTES): Document this new macro.
12490 * LANGUAGES: Document the new version of HANDLE_PRAGMA and the
12491 new INSERT_ATTRIBUTES macro.
12493 Wed Sep 2 02:03:23 1998 David S. Miller <davem@pierdol.cobaltmicro.com>
12495 * config/sparc/sparc.md (movdf): Only generate special RTL for
12496 LABEL_REFs when PIC.
12497 (move_label_di): Remove.
12498 (movdi_pic_label_ref, movdi_high_pic_label_ref,
12499 movdi_lo_sum_pic_label_ref): New patterns for 64-bit label
12500 references when PIC.
12501 * config/sparc/sparc.h (ASM_OUTPUT_ADDR_VEC_ELT,
12502 ASM_OUTPUT_ADDR_DIFF_ELT): Don't do anything special for MEDLOW,
12503 output an .xword for all 64-bit cases.
12505 Tue Sep 1 15:55:17 1998 David S. Miller <davem@pierdol.cobaltmicro.com>
12507 * config/sparc/sparc.c (finalize_pic): Don't output arbitrary
12508 alignment, use FUNCTION_BOUNDARY instead.
12509 (sparc_output_deferred_case_vectors): Likewise.
12511 Mon Aug 31 17:25:41 1998 David S. Miller <davem@pierdol.cobaltmicro.com>
12513 * config/sparc/sparc.md (movsf_const_intreg): Kill warning.
12514 (movtf_insn_sp64, movtf_no_e_insn_sp64): Reorder alternatives.
12516 Mon Aug 31 13:57:55 1998 Richard Henderson <rth@cygnus.com>
12518 * alpha/va_list.h: New file.
12519 * alpha/x-alpha (EXTRA_HEADERS): New. Add va_list.h.
12521 Mon Aug 31 14:55:02 1998 Jeffrey A Law (law@cygnus.com)
12523 * NEWS: Add SCO Openserver and Unixware 7 notes.
12527 Mon Aug 31 15:42:18 1998 Dave Brolley <brolley@cygnus.com>
12529 * varasm.c (compare_constant_1): Handle RANGE_EXPR.
12530 (record_constant_1): Handle RANGE_EXPR.
12532 Mon Aug 31 10:54:03 1998 Richard Henderson <rth@cygnus.com>
12534 * print-rtl.c (print_rtx): NOTE_INSN_LIVE has an rtx not a bitmap.
12535 * haifa-sched.c (sched_analyze): Handle NOTE_INSN_RANGE_START
12536 and NOTE_INSN_RANGE_END specially.
12537 (reemit_notes): Likewise.
12539 Mon Aug 31 10:18:52 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
12541 * sparc.c (TMASK, UMASK): Use `(unsigned)1' not `1U'.
12542 (ultrasparc_sched_init): Remove unneeded &.
12544 Mon Aug 31 10:47:16 1998 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
12546 * config/m68k/m68k.h (TARGET_SWITCHES): Don't remove MASK_68040
12547 for m68020-60, to prevent the use of fintrz.
12549 Sun Aug 30 22:17:20 1998 Mark Mitchell <mark@markmitchell.com>
12551 * configure.in: If the native compiler is GCC use $(WARN_CFLAGS)
12553 * Makefile.in: Likewise.
12554 * configure: Regenerated.
12556 Sun Aug 30 22:15:41 1998 H.J. Lu (hjl@gnu.org)
12558 * configure.in (gxx_include_dir): Changed to
12559 '${prefix}/include/g++'-${libstdcxx_interface}.
12560 * configure: Rebuilt.
12562 Sun Aug 30 20:19:43 1998 Hans-Peter Nilsson <hp@axis.se>
12564 * expr.c (expand_expr): Change ">" to ">=" making MOVE_RATIO use
12566 * tm.texi (Costs): Say MOVE_RATIO is number of mem-mem move
12567 *sequences* *below* which scalar moves will be used.
12569 Sun Aug 30 17:18:43 1998 Jeffrey A Law (law@cygnus.com)
12571 * collect2.c (mktemp): Delete unused declaration.
12573 * config/xm-netbsd.h: Remove unnecessary file.
12574 * config/*/xm-netbsd.h: Do not include the generic xm-netbsd.h
12575 file anymore, it is not needed.
12577 Sun Aug 30 16:05:45 1998 Mark Mitchell <mark@markmitchell.com>
12579 * convert.c (convert_to_integer): Issue an error on conversions to
12582 Sun Aug 30 16:47:20 1998 Martin von Lvwis <loewis@informatik.hu-berlin.de>
12584 * Makefile.in: Add lang_tree_files and gencheck.h.
12585 * configure.in: Generate them.
12586 * gencheck.c: Include gencheck.h.
12588 Sat Aug 29 21:38:24 1998 David S. Miller <davem@pierdol.cobaltmicro.com>
12590 * config/sparc/sparc.md (pic_lo_sum_di, pic_sethi_di): Rename to
12591 movdi_lo_sum_pic and movdi_high_pic and make visible.
12592 * config/sparc/sparc.c (legitimize_pic_address): For -fPIC,
12593 emit these when Pmode is not SImode.
12594 * config/sparc/linux64.h (SPARC_DEFAULT_CMODEL): Make CM_MEDLOW.
12596 Sat Aug 29 14:59:32 1998 Mumit Khan <khan@xraylith.wisc.edu>
12598 * i386/cygwin32.h (ASM_OUTPUT_SECTION_NAME): Don't emit
12599 .linkonce directive after the first time.
12601 Sat Aug 29 12:39:56 1998 Jeffrey A Law (law@cygnus.com)
12603 * m68k.md (beq0_di): Generate correct (and more efficient) code when
12604 the clobbered operand overlaps with an input.
12605 (bne0_di): Similarly.
12607 * Makefile.in (INSTALL): Remove "--no-header" argument.
12609 * NEWS: Various updates.
12611 Fri Aug 28 19:00:44 1998 David S. Miller <davem@pierdol.cobaltmicro.com>
12613 * config/sparc/sparc.c (arith_operand, const64_operand,
12614 const64_high_operand, arith_double_4096_operand): Mark mode as
12616 (create_simple_focus_bits): Remove unused arg highest_bit_set, all
12618 (sparc_emit_set_const64): Remove unused variable i.
12619 (sparc_splitdi_legitimate): Likewise for addr_part.
12620 (ultra_code_from_mask): Likewise for mask.
12621 (ultra_cmove_results_ready_p): Fixup entry modulo calc. and
12622 reverse return values so it matches usage and comments.
12623 (ultra_flush_pipeline): Likewise.
12624 (ultra_fpmode_conflict_exists): Likewise, remove unused variable
12625 this_type, and allow loads and stores of differing FP modes as
12626 they do not create a conflict.
12627 (ultra_find_type): Initialize fpmode to SFmode, fix
12628 parenthesization thinkos in large conditional.
12629 (ultrasparc_sched_init): Mark dump and sched_verbose as unused.
12630 Init free_slot_mask after ultra_cur_hist is reset, not before.
12631 (ultrasparc_rescan_pipeline_state): Remove unused variable ucode.
12632 (ultrasparc_sched_reorder): Don't bzero current pipeline state,
12633 use ultra_flush_pipeline instead, then re-init group pointer.
12634 Fix statement with no effect. If no progress made in, and no
12635 instructions scheduled at all, advance to new pipeline cycle else
12636 we get into an endless loop.
12637 (ultrasparc_adjust_cost): Remove previous arg.
12638 * config/sparc/sparc.h (ADJUST_COST): Update to reflect that.
12640 Fri Aug 28 13:52:35 1998 Jim Wilson <wilson@cygnus.com>
12642 * sparc.md (DImode, DFmode, TFmode splits): Delete self_reference
12643 code. Use reg_overlap_mentioned_p to detect when source and
12644 destination overlap.
12645 (negtf2_notv9+1): Use DFmode instead of SFmode in last two operands.
12647 1998-08-28 Brendan Kehoe <brendan@cygnus.com>
12649 * loop.c (check_dbra_loop): Pass COMPARISON_VALUE, not
12650 COMPARISON_VAL, into invariant_p.
12652 Fri Aug 28 15:13:25 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
12654 * regmove.c (regclass_compatible_p): New function.
12655 (regmove_optimize): Use it.
12657 Use NREGS parameter instead of calling max_reg_num.
12659 (fixup_match_1): Don't use code = MINUS when later tieing with
12660 a hard register is likely.
12662 Fri Aug 28 14:54:07 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
12664 * loop.c (check_dbra_loop): Fix calculation of FINAL_VALUE when
12665 COMPARISON_VAL was normalized.
12667 Thu Aug 27 20:10:46 1998 Jeffrey A Law (law@cygnus.com)
12669 * loop.c (check_dbra_loop): The loop ending comparison value
12670 must be an invariant or we can not reverse the loop.
12672 * loop.c (scan_loop): Count down from max_reg_num - 1 to
12673 FIRST_PSEUDO_REGISTER to avoid calling max_reg_num each iteration
12675 (load_mems_and_recount_loop_regs_set): Likewise.
12677 * i386.c (print_operand): Remove obsolete 'c' docs.
12679 Wed Aug 26 17:13:37 1998 Tom Tromey <tromey@cygnus.com>
12681 * gthr.h: Document __GTHREAD_MUTEX_INIT_FUNCTION.
12682 * frame.c (init_object_mutex): New function.
12683 (init_object_mutex_once): Likewise.
12684 (find_fde): Call it.
12685 (__register_frame_info): Likewise.
12686 (__register_frame_info_table): Likewise.
12687 (__deregister_frame_info): Likewise.
12689 Thu Aug 27 15:14:18 1998 Jeffrey A Law (law@cygnus.com)
12691 * haifa-sched.c (sched_analyze_insn): Fix thinko in last change.
12693 Thu Aug 27 16:34:51 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
12695 * loop.c (check_dbra_loop): Enable code for reversal
12696 of some loops without a known constant loop end.
12698 Wed Aug 26 18:38:15 1998 Richard Henderson <rth@cygnus.com>
12700 * haifa-sched.c (last_clock_var): New.
12701 (schedule_block): Initialize it.
12702 (schedule_insn): Use it to fill insn modes with issue information.
12704 * alpha.c (alpha_handle_trap_shadows): Remove do-nothing exit.
12705 Tag trapb and next insn with TImode.
12706 (alphaev5_insn_pipe, alphaev5_next_group, alphaev5_align_insns): New.
12707 (alpha_reorg): Add conditional for alpha_handle_trap_shadows.
12708 Invoke alphaev5_align_insns as appropriate.
12709 * alpha.h (LABEL_ALIGN_AFTER_BARRIER): Was ALIGN_LABEL_AFTER_BARRIER.
12710 (MD_SCHED_VARIABLE_ISSUE): New.
12711 * alpha.md (attr type): Add multi.
12712 (define_asm_attributes): New.
12713 (prologue_stack_probe_loop, builtin_setjmp_receiver): Set type multi.
12714 (arg_home): Likewise.
12715 (fnop, unop, realign): New.
12717 Wed Aug 26 15:55:41 1998 Jim Wilson <wilson@cygnus.com>
12719 * iris5.h (PREFERRED_DEBUGGING_TYPE): Undef.
12720 * iris5gas.h (PREFERRED_DEBUGGING_TYPE): Define.
12722 * configure.in (powerpc-ibm-aix4.[12]*): Change from 4.[12].*.
12723 (rs6000-ibm-aix4.[12]*): Likewise.
12724 * configure: Regenerate.
12726 Wed Aug 26 09:30:59 1998 Nick Clifton <nickc@cygnus.com>
12728 * config/arm/thumb.c (thumb_exit): Do not move a4 into lr if it
12729 already contains the return address.
12731 Wed Aug 26 12:57:09 1998 Jeffrey A Law (law@cygnus.com)
12733 * calls.c (expand_call): Use bitfield instructions to extract/deposit
12734 word sized hunks when loading unaligned args into registers.
12736 * haifa-sched.c (sched_analyze_insn): Only create scheduling
12737 barriers for LOOP, EH and SETJMP notes on the loop_notes list.
12739 * mn10300.h (RTX_COSTS): Handle UDIV and UMOD too.
12741 Wed Aug 26 16:35:37 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
12743 * loop.c (check_dbra_loop): Add some code that would allow reversal
12744 of some loops without a known constant loop end if it were enabled.
12746 Wed Aug 26 11:08:44 1998 Gavin Romig-Koch <gavin@cygnus.com>
12748 * mips.md (lshrsi3_internal2+2): Fix type-o.
12750 Wed Aug 26 10:53:03 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
12752 * system.h: Include stdarg.h/varargs.h, make sure they are ordered
12753 correctly with regards to stdio.h.
12755 * calls.c: Remove stdarg.h/varargs.h.
12756 * cccp.c: Likewise.
12757 * cexp.y: Likewise.
12758 * combine.c: Likewise.
12759 * cpperror.c: Likewise.
12760 * cpplib.c: Likewise.
12761 * cpplib.h: Likewise.
12762 * doprint.c: Likewise.
12763 * emit-rtl.c: Likewise.
12764 * final.c: Likewise.
12765 * fix-header.c: Likewise.
12767 * genattr.c: Likewise.
12768 * genattrtab.c: Likewise.
12769 * gencodes.c: Likewise.
12770 * genconfig.c: Likewise.
12771 * genemit.c: Likewise.
12772 * genextract.c: Likewise.
12773 * genflags.c: Likewise.
12774 * genopinit.c: Likewise.
12775 * genoutput.c: Likewise.
12776 * genpeep.c: Likewise.
12777 * genrecog.c: Likewise.
12778 * mips-tfile.c: Likewise.
12779 * prefix.c: Likewise.
12780 * protoize.c: Likewise.
12781 * regmove.c: Likewise.
12782 * toplev.c: Likewise.
12783 * tree.c: Likewise.
12785 Wed Aug 26 05:09:27 1998 Jakub Jelinek <jj@sunsite.ms.mff.cuni.cz>
12787 * config/sparc/sparc.c (sparc_override_options): If not
12788 TARGET_FPU, turn off TARGET_VIS.
12789 * config/sparc/sparc.h (TARGET_SWITCHES): Add no-vis.
12790 (LEGITIMATE_CONSTANT_P): Allow SF/DF mode zero when TARGET_VIS.
12791 * config/sparc/sparc.md (movsi_insn): Use fzeros not fzero.
12792 (movdi_insn_sp64): Add VIS fzero alternative.
12793 (clear_sf, clear_df): New VIS patterns.
12794 (movsf, movdf expanders): Allow fp_zero_operand flat out when
12796 (one_cmpldi2_sp64): Provide new fnot1 VIS alternative.
12798 Tue Aug 25 10:57:41 1998 Mark Mitchell <mark@markmitchell.com>
12800 * loop.c (n_times_set, n_times_used, may_not_optimize,
12801 reg_single_usage): Convert to varrays. All uses changed.
12802 (insert_loop_mem): Return a value.
12803 (scan_loop): Tweak AVOID_CC_MODE_COPIES code.
12804 (load_mems_and_recount_loop_regs_set): Likewise. Grow the arrays, if
12807 Tue Aug 25 23:57:12 1998 Jeffrey A Law (law@cygnus.com)
12810 * configure.in: Do not set thread_file to "irix" since no such
12811 support exists yet.
12813 * sparc.md (float abs/neg splits): Check reload_completed before
12814 calling alter_subreg.
12816 Tue Aug 25 19:17:59 1998 David S. Miller <davem@pierdol.cobaltmicro.com>
12818 * config/sparc/sparc.c (sparc_absnegfloat_split_legitimate): New
12820 * config/sparc/sparc.h: Declare it.
12821 * config/sparc/sparc.md (float abs/neg splits): Use it.
12822 (all other splits): Handle SUBREGs properly where necessary.
12823 (unnamed (1<<x)-1 V8PLUS pattern): Disable for now.
12825 Tue Aug 25 19:48:46 1998 Jeffrey A Law (law@cygnus.com)
12827 * reorg.c (fill_simple_delay_slots): Do not abort if we encounter
12828 an insn on the unfilled_slots_list that has no delay slots.
12829 (fill_eager_delay_slots): Similarly.
12831 Tue Aug 25 13:35:20 1998 Nick Clifton <nickc@cygnus.com>
12833 * config/v850/v850.c (movsi_source_operand): Treat CONSTANT_P_RTX
12834 as an ordinary operand.
12836 Tue Aug 25 12:54:57 1998 Jason Merrill <jason@yorick.cygnus.com>
12838 * tree.c (valid_machine_attribute): Don't apply attributes to both
12841 Tue Aug 25 12:23:20 PDT 1998 Richard Henderson <rth@cygnus.com>
12843 * reload.c (operands_match_p): Handle rtvecs.
12845 * i386.c (legitimate_pic_address_disp_p): New.
12846 (legitimate_address_p): Use it.
12847 (legitimize_pic_address): Use unspecs to represent @GOT and @GOTOFF.
12848 Handle constant pool symbols just like statics.
12849 (emit_pic_move): Use Pmode not SImode for clarity.
12850 (output_pic_addr_const) [SYMBOL_REF]: Remove @GOT and @GOTOFF hacks.
12851 [UNSPEC]: New, handling what we killed above.
12852 [PLUS]: Detect and abort on invalid symbol arithmetic.
12853 * i386.h (CONSTANT_ADDRESS_P): Remove HIGH.
12855 Tue Aug 25 12:02:23 1998 Mark Mitchell <mark@markmitchell.com>
12857 * alias.c: Include output.h.
12858 (DIFFERENT_ALIAS_SETS_P): Don't treat alias sets as
12859 different if we're in a varargs function.
12860 * Makefile.in (alias.o): Depend on output.h
12862 Tue Aug 25 19:20:12 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
12864 * sh.h (GIV_SORT_CRITERION): Delete.
12866 Tue Aug 25 13:19:46 1998 Dave Brolley <brolley@cygnus.com>
12868 * regclass.c (regclass): Use xmalloc/free instead of alloca.
12869 * stupid.c (stupid_life_analysis): Likewise.
12870 * reload1.c (reload): Likewise.
12872 Tue Aug 25 05:48:18 1998 Jakub Jelinek <jj@sunsite.ms.mff.cuni.cz>
12874 * config/sparc/sparc.c (arith_4096_operand, arith_add_operand,
12875 arith_double_4096_operand, arith_double_add_operand): New
12877 * config/sparc/sparc.h (PREDICATE_CODES): Add them, declare them.
12878 * config/sparc/sparc.md (adddi3, addsi3, subdi3, subsi3): Use
12879 them to transform add/sub 4096 into add/sub -4096.
12881 Mon Aug 24 23:31:03 1998 David S. Miller <davem@pierdol.cobaltmicro.com>
12883 * loop.c (scan_loop): Allocate some slop to handle pseudos
12884 generated by move_movables.
12885 (load_mems_and_recount_loop_regs_set): Honor AVOID_CC_MODE_COPIES
12888 Mon Aug 24 19:45:40 1998 Jim Wilson <wilson@cygnus.com>
12890 * tree.def (DECL_RESULT): Correct documentation.
12892 Tue Aug 25 01:15:27 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
12894 * reload1.c (reload_reg_free_before_p): New argument EQUIV; Changed
12895 all callers. Abort for RELOAD_FOR_INSN. RELOAD_FOR_OUTADDR_ADDR:
12896 conflicts will all RELOAD_FOR_OUTPUT reloads.
12898 * reload1.c (reload_cse_regs_1): When deleting a no-op move that
12899 loads the function result, substitute with a USE.
12901 Mon Aug 24 15:20:19 1998 David Edelsohn <edelsohn@gnu.org>
12903 * rs6000.h (GO_IF_LEGITIMATE_ADDRESS): Use TARGET_POWERPC64
12904 when testing LEGITIMATE_INDEXED_ADDRESS_P DFmode and DImode.
12905 (LEGITIMIZE_ADDRESS): Use TARGET_POWERPC64 for INDEXED fixup.
12906 * rs6000.c (print_operand, case 'L'): Add UNITS_PER_WORD, not 4.
12907 (print_operand, cases 'O' and 'T'): Fix typos in lossage strings.
12908 * rs6000.md (fix_truncdfsi2_store): Remove %w from non-CONST_INT
12910 (movdf_softfloat32, movdf_hardfloat64, movdf_softfloat64): Change
12911 'o' to 'm' for GPR variant constraints.
12913 Mon Aug 24 10:25:46 1998 Jeffrey A Law (law@cygnus.com)
12915 * loop.c (scan_loop): Honor AVOID_CC_MODE_COPIES.
12917 * h8300.h (STRIP_NAME_ENCODING): Fix typo.
12919 * sparc.md (TFmode splits): Use reg_overlap_mentioned_p to detect
12920 when the source and destination overlap.
12922 * stmt.c (emit_case_nodes): Change rtx_function to rtx_fn to avoid
12923 clash with global type.
12925 Mon Aug 24 00:53:53 1998 Jason Merrill <jason@yorick.cygnus.com>
12927 * fixinc.irix: Add curses.h handling from fixinc.wrap.
12929 * c-common.c (combine_strings): Also set TREE_READONLY.
12930 Change warn_write_strings to flag_const_strings.
12931 * c-decl.c, c-tree.h: Likewise.
12933 Sun Aug 23 18:39:11 1998 David S. Miller <davem@pierdol.cobaltmicro.com>
12935 * config/sparc/sparc.c (sparc_emit_set_const32): If outputting a
12936 CONST_INT, not a symbolic reference, don't use a HIGH/LO_SUM
12937 sequence, use SET/IOR instead so CSE can see it.
12938 * config/sparc/sparc.md (movhi_const64_special,
12939 movsi_const64_special): New patterns necessitated by that change.
12940 (movhi_high): Remove.
12941 (movhi_lo_sum): Change to match an IOR.
12942 (movdf_insn_sp32): Test TARGET_V9 not TARGET_ARCH64.
12943 (movdf_insn_v9only): New pattern for when V9 but not ARCH64.
12944 (movdf_insn_sp64): Test both TARGET_V9 and TARGET_ARCH64.
12945 (movdf splits): Allow when not V9 or when not ARCH64 and integer
12946 registers are involved.
12947 (snesi_zero_extend split): Remove reload_completed test.
12948 (unnamed plus and minus zero_extend sidi splits): Add it.
12950 Sun Aug 23 11:56:08 1998 Mark Mitchell <mark@markmitchell.com>
12952 * extend.texi: Remove description of extension to explicit
12953 instantiation that is now endorsed by standard C++.
12955 Sun Aug 23 09:39:09 1998 David S. Miller <davem@pierdol.cobaltmicro.com>
12957 * config/arc/arc.c (arc_initialize_pic): Remove.
12958 * config/arc/arc.h (INITIALIZE_PIC): Similarly, this routine does
12959 nothing on any platform and is invoked by no-one, it does not even
12960 appear in the documentation.
12961 * config/sparc/sparc.h (INITIALIZE_PIC): Likewise.
12962 * config/sparc/sparc.c (initialize_pic): Likewise.
12963 (find_addr_reg): Remove this as well, no longer referenced after
12966 Sun Aug 23 00:17:14 1998 Jeffrey A Law (law@cygnus.com)
12968 * recog.c (validate_replace_rtx_group): New function.
12969 * recog.h (validate_replace_rtx_group): Declare it.
12970 * regmove.c (optimize_reg_copy_3): If any substitution fails, then undo
12971 the entire group of substitutions.
12973 Sat Aug 22 23:31:00 1998 Klaus-Georg Adams (Klaus-Georg.Adams@chemie.uni-karlsruhe.de)
12975 * loop.c (load_mems): Fix initializers.
12977 Fri Aug 21 23:07:46 1998 David S. Miller <davem@pierdol.cobaltmicro.com>
12979 * config/sparc/sparc.md (TFmode splits): Handle destination
12980 registers being referenced in the address correctly.
12982 * expmed.c (make_tree) [CONST_INT]: Sign extend even if
12983 TREE_UNSIGNED, when bitsize of type's mode is larger than
12984 HOST_BITS_PER_WIDE_INT.
12986 Fri Aug 21 19:31:31 1998 Alexandre Petit-Bianco <apbianco@cygnus.com>
12988 * tree.def (LABELED_BLOCK_EXPR, EXIT_BLOCK_EXPR): New tree nodes.
12989 * tree.h (LABELED_BLOCK_LABEL, LABELED_BLOCK_BODY,
12990 EXIT_BLOCK_LABELED_BLOCK, EXIT_BLOCK_RETURN, LOOP_EXPR_BODY): New
12992 * expr.c (expand_expr): Handle LABELED_BLOCK_EXPR and
12995 Thu Aug 20 19:43:44 1998 Jeffrey A Law (law@cygnus.com)
12997 * h8300.c (h8300_encode_label): Use '&' for tiny data items.
12998 * h8300.h (TINY_DATA_NAME_P): Likewise.
12999 (STRIP_NAME_ENCODING): Handle '&'.
13001 * mn10200.h (REG_OK_FOR_INDEX_P): Do not check the mode of the
13002 register (it could be accessed via an outer SUBREG).
13003 (REG_OK_FOR_BASE_P): Likewise.
13004 (GO_IF_LEGITIMATE_ADDRESS): Consistently use REGNO_OK_FOR_BASE_P.
13006 * remove.c (optimize_reg_copy_3): Abort instead of silently generating
13009 * jump.c (rtx_renumbered_equal_p): Do not consider PLUS commutative.
13011 Thu Aug 20 17:35:20 1998 David S. Miller <davem@pierdol.cobaltmicro.com>
13013 * config/sparc/sparc.md (movtf_insn_sp32): All memory operands
13014 must be offsettable so the splits can be made.
13016 Thu Aug 20 13:56:53 1998 Michael Meissner <meissner@cygnus.com>
13018 * config/i386/winnt.c: Include system.h, not stdio.h to get
13019 sys/param.h pulled in before rtl.h in case the system defines MIN
13022 Thu Aug 20 13:44:20 1998 David Edelsohn <edelsohn@gnu.org>
13024 * rs6000.md (movqi, movhi): Add CONSTANT_P_RTX.
13026 Thu Aug 20 13:15:11 1998 Dave Brolley <brolley@cygnus.com>
13028 * stor-layout.c (layout_type): Compute TYPE_SIZE_UNIT correctly for
13030 * cpplib.c (cpp_define): Handle macros with parameters.
13032 Wed Aug 19 21:33:19 1998 David Edelsohn <edelsohn@gnu.org>
13034 * rs6000.c (rs6000_output_load_toc_table): Use ld for 64-bit.
13035 (output_toc): Use single TOC slot or llong minimal-toc for DFmode
13036 and DImode 64-bit. Use llong for minimal-toc SFmode and
13037 SYMBOL_REF / LABEL_REF 64-bit.
13038 (output_function_profiler): Use llong for profiler label and ld to
13039 load 64-bit label address.
13041 Wed Aug 19 17:52:27 1998 Nick Clifton (nickc@cygnus.com)
13043 * config/arm/thumb.md (extendqisi2_insn): Cope with REG +
13046 Wed Aug 19 14:13:31 PDT 1998 Jeff Law (law@cygnus.com)
13048 * version.c: Bump for snapshot.
13050 Wed Aug 19 13:10:30 PDT 1998 Jeff Law (law@cygnus.com)
13052 * version.c: Bump for snapshot.
13054 Wed Aug 19 13:06:47 1998 Jason Merrill <jason@yorick.cygnus.com>
13056 * collect2.c (extract_init_priority): Use atoi instead of strtoul.
13058 Wed Aug 19 13:51:35 1998 Hans-Peter Nilsson <hp@axis.se>
13060 * tm.texi (Misc): Fix typo "teh".
13062 * tm.texi (PIC): Fix typo "PPIC".
13064 * tm.texi (Caller Saves): Say that DEFAULT_CALLER_SAVES has no
13065 effect when -O2 and higher.
13066 * invoke.texi (Optimize Options): Likewise for -fcaller-saves.
13068 1998-08-19 Michael Hayes <michaelh@ongaonga.chch.cri.nz>
13070 * regclass.c: Changed register set documentation to be consistent
13073 * final.c (final_start_function) Removed redundant test for
13076 Wed Aug 19 13:28:41 1998 Mark Mitchell <mark@markmitchell.com>
13078 * rtl.h (rtx_function): New type.
13079 (for_each_rtx): New function.
13080 * rtlanal.c (for_each_rtx): Define it.
13082 * recog.c (change_t): New type.
13083 (change_objects, change_old_codes, change_locs, change_olds):
13085 (changes): New variable.
13086 (validate_change): Dynamically allocate room for more changes, if
13087 necessary. Uses changes array instead of change_objects, etc.
13088 (apply_change_group): Use changes array instead of
13089 change_objects, etc.
13091 * loop.c (loop_mem_info): New type.
13092 (loop_mems): New variable.
13093 (loop_mems_idx): Likewise.
13094 (looop_mems_allocated): Likewise.
13095 (scan_loop): Remove nregs parameter.
13096 (next_insn_in_loop): New function.
13097 (load_mems_and_recount_loop_regs_set): Likewise.
13098 (load_mems): Likewise.
13099 (insert_loop_mem): Likewise.
13100 (replace_loop_mem): Likewise.
13101 (replace_label): Likewise.
13102 (INSN_IN_RANGE_P): New macro.
13103 (loop_optimize): Don't pass max_reg_num() to scan_loop.
13104 (scan_loop): Remove nregs parameter, compute it after any new
13105 registers are created by load_mems. Use INSN_IN_RANGE_P and
13106 next_insn_in_loop rather than expanding them inline. Call
13107 load_mems to load memory into pseudos, if appropriate.
13108 (prescan_loop): Figure out whether or not there are jumps from the
13109 loop to targets other than the label immediately following the
13110 loop. Call insert_loop_mem to notice all the MEMs used in the
13111 loop, if it could be safe to pull MEMs into REGs for the duration
13113 (strength_reduce): Use next_insn_in_loop. Tweak comments.
13115 Wed Aug 19 08:29:44 1998 Richard Earnshaw (rearnsha@arm.com)
13117 * arm.c (arm_override_options): Remove lie about ignoring PIC flag.
13119 Wed Aug 19 07:08:15 1998 David S. Miller <davem@pierdol.cobaltmicro.com>
13121 * config/sparc/sparc.c (finalize_pic): Check for the correct
13122 nonlocal_goto_receiver UNSPEC number.
13123 * config/sparc/sparc.md (nonlocal_goto_receiver): Add comment
13124 making note of this dependency existing in sparc.c.
13125 (negtf2_notv9 split): Give NEG SFmode.
13126 (negsf2): Fix insn output string.
13128 Tue Aug 18 12:40:27 1998 Richard Henderson <rth@cygnus.com>
13130 * c-common.c (decl_attributes): Issue an error if the argument
13131 to alias is not a string.
13133 Tue Aug 18 10:33:30 1998 Jeffrey A Law (law@cygnus.com)
13135 * haifa-sched.c (sched_analyze): Put all JUMP_INSNs on the last
13136 pending memory flush list.
13138 * combine.c (can_combine_p): Allow combining insns with REG_RETVAL
13140 (try_combine): Allow combining insns with REG_LIBCALL notes.
13142 * expr.c (emit_block_move): Do not call memcpy as a libcall
13143 instead build up a CALL_EXPR and call it like any other
13145 (clear_storage): Similarly for memset.
13147 * regmove.c (fixup_match_2): Do not call reg_overlap_mentioned_p
13150 * Makefile.in (cplus-dem.o): Provide explicit rules for building
13153 * regmove.c (optimize_reg_copy_1): Update REG_N_CALLS_CROSSED
13154 and REG_LIVE_LENGTH as successful substitutions are made.
13156 Tue Aug 18 07:15:27 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
13158 * config/sparc/sparc.c (ultra_find_type): Add empty semicolon
13159 statement after end of loop label.
13161 Tue Aug 18 07:13:27 1998 David S. Miller <davem@pierdol.cobaltmicro.com>
13163 * config/sparc/sparc.c (ultra_types_avail): New variable.
13164 (ultra_build_types_avail): New function to record mask of insn
13165 types in ready list at this cycle.
13166 (ultrasparc_sched_reorder): Call it.
13167 (ultra_find_type): Use it to quicken the search. Also simplif
13168 dependency check, don't use rtx_equal_p because we know exactly
13169 what we are looking for.
13171 Tue Aug 18 03:20:53 1998 Richard Earnshaw (rearnsha@arm.com)
13173 * arm.h (SECONDARY_INPUT_RELOAD_CLASS): Return NO_REGS if compiling
13174 for architecture v4.
13176 Mon Aug 17 21:26:38 1998 David S. Miller <davem@pierdol.cobaltmicro.com>
13178 * config/sparc/sparc.md (sltu, sgeu): Don't FAIL, call
13180 (movsf_const_intreg, movsf_const_high, movsf_const_lo,
13181 movdf_const_intreg and helper splits): New patterns to move float
13182 constants into integer registers.
13183 (negtf2, negdf2, abstf2, absdf2): Rework using new patterns and
13186 Mon Aug 17 11:46:19 1998 Jeffrey A Law (law@cygnus.com)
13189 * tree.c (build_index_type): Copy TYPE_SIZE_UNIT from sizetype
13191 * c-decl.c (finish_enum): Copy TYPE_SIZ_UNIT from enumtype to tem.
13193 * rs6000.c (secondary_reload_class): For TARGET_ELF, indicate that
13194 a BASE_REGS register is needed as an intermediate when copying
13195 a symbolic value into any register class other than BASE_REGS.
13197 * expr.c (move_by_pieces): No longer static. Remove prototype.
13198 * rtl.h (move_by_pieces): Add extern prototype.
13199 * mips.c (expand_block_move): Handle aligned straight line copy by
13200 calling move_by_pieces.
13202 * expr.c (expand_expr): Allow assignments from TImode PARM_DECLs
13205 Mon Aug 17 10:28:52 1998 Mark Mitchell <mark@markmitchell.com>
13207 * stmt.c (expand_end_loop): Tidy. Allow unconditional
13208 jumps out of the loop to be treated as part of the exit test.
13210 Mon Aug 17 10:06:11 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
13211 Jeff Law <law@cygnus.com>
13213 * Makefile.in (cplus-dep.o): Use cplus-dem.c from libiberty.
13214 * cplus-dem.c: Delete.
13216 * Makefile.in (fold-const.o): Depend on $(RTL_H).
13218 * fold-const.c: Include rtl.h to get the prototype for
13219 `set_identifier_local_value'.
13221 * loop.c (express_from_1): Remove unused variable `tmp'.
13222 (combine_givs): Cast the first argument of bzero to char *.
13224 * toplev.c (display_help): Remove unused variable `looking_for_start'.
13226 * c-decl.c (init_decl_processing): Remove unneeded &.
13228 * alpha.h (alpha_initialize_trampoline): Provide prototype.
13230 * except.c (set_exception_lang_code, set_exception_version_code):
13231 Change parameter from `short' to `int' to avoid using a gcc
13234 * except.h (set_exception_lang_code, set_exception_version_code):
13235 Likewise for prototypes.
13237 * flow.c (count_reg_references): Remove unused variables `regno'
13240 * gcse.c (hash_scan_insn): Declare parameter `in_libcall_block'.
13242 * prefix.c (translate_name): Cast the result of `alloca'.
13244 * varray.h (VARRAY_FREE): Reimplement as a `do-while(0)' statement.
13246 Mon Aug 17 09:23:42 1998 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
13248 * config/m68k/m68k.c: Include "system.h" instead of <stdio.h>.
13249 Include "toplev.h".
13250 (valid_dbcc_comparison_p): Mark mode argument as unused.
13251 (symbolic_operand): Likewise.
13252 (legitimize_pic_address): Likewise.
13253 (const_uint32_operand): Likewise.
13254 (const_sint32_operand): Likewise.
13255 * sched.c [!INSN_SCHEDULING]: Define only dummy function
13256 schedule_insns and comment out rest of file.
13258 * m68k.c (output_move_simode_const): Use subl to move a zero into an
13260 (output_move_[hq]imode): Likewise.
13262 Mon Aug 17 09:15:47 1998 Jeffrey A Law (law@cygnus.com)
13264 * toplev.c (main): Enable -fstrict-aliasing for -O2 and above.
13265 * invoke.texi: Corresponding changes.
13267 Mon Aug 17 02:03:55 1998 Richard Henderson <rth@cygnus.com>
13269 * regclass.c (allocate_reg_info): Respect MIN when clearing data.
13271 Sun Aug 16 17:37:06 1998 David S. Miller <davem@pierdol.cobaltmicro.com>
13273 * config/sparc/sparc.c (ultra_code_from_mask,
13274 ultra_cmove_results_ready_p, ultra_fpmode_conflict_exists,
13275 ultra_find_type, ultra_schedule_insn, ultra_flush_pipeline,
13276 ultrasparc_sched_init, ultrasparc_variable_issue,
13277 ultra_rescan_pipeline_state, ultrasparc_sched_reorder): New
13278 functions to describe UltraSPARC pipeline exactly to Haifa.
13279 (ultrasparc_adjust_cost): Indicate IMUL type insns have zero cost,
13280 as there is nothing the scheduler can do about it. Indicate that
13281 REG_DEP_OUTPUT's collide. Fixup formatting.
13282 * config/sparc/sparc.h (RTX_COSTS): Fixup integer multiply and
13283 divide costs on Ultra for DImode.
13284 (MD_SCHED_INIT, MD_SCHED_REORDER, MD_SCHED_VARIABLE_ISSUE):
13286 * config/sparc/sparc.md (ieu_unnamed function unit): Rename to
13287 ieuN and add call_no_delay_slot to type list.
13288 (cti function unit): New unit for branches on UltraSPARC.
13289 (subx/addx insns): Set type to misc.
13290 (sidi zero/sign extension insns on arch64): Set type to shift.
13291 (sign_extendhidi2_insn): Set type to sload.
13293 Sun Aug 16 13:52:00 1998 David Edelsohn <edelsohn@gnu.org>
13295 * rs6000.c (rs6000_stack_info): Use if == 0 for sizes.
13296 (output_epilog): Use if != 0 for offset.
13297 (rs6000_fatal_bad_address): Prepare for Intl.
13298 * rs6000.h (rs6000_fatal_bad_address): Declare.
13299 * rs6000.md (movsfcc, movdfcc): Use else if.
13300 (elf_high): Use {liu|lis}.
13301 (elf_low): Use {cal|la}. Remove %a template from old mnemonics.
13302 (movsi): Use rs6000_fatal_bad_address.
13304 Sun Aug 16 01:53:21 1998 Richard Henderson <rth@cygnus.com>
13306 * reload.c (find_equiv_reg): Reject equivalences separated
13307 by a volatile instruction.
13309 Sun Aug 16 00:21:44 1998 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
13311 * rs6000/linux.h (CPP_OS_DEFAULT_SPEC): Define.
13313 Sat Aug 15 20:51:35 1998 Richard Henderson <rth@cygnus.com>
13315 * alpha.md (movsicc): Fix mode mismatch.
13317 Sat Aug 15 20:22:33 1998 H.J. Lu (hjl@gnu.org)
13319 * config/alpha/alpha.h (ASM_OUTPUT_MI_THUNK): Handle aggregated
13321 * config/alpha/win-nt.h (ASM_OUTPUT_MI_THUNK): Likewise.
13323 Sat Aug 15 08:39:49 1998 David S. Miller <davem@pierdol.cobaltmicro.com>
13325 * config/sparc/sparc.md (movsi_lo_sum_pic_label_reg): Remove
13326 write-only modifier from operand 1 constraint.
13328 Sat Aug 15 06:28:19 1998 David S. Miller <davem@pierdol.cobaltmicro.com>
13330 * config/sparc/sparc.c (sparc_emit_set_const64_quick1): If
13331 emitting a XOR of -1 at the end, emit a NOT instead for combine's
13333 (sparc_emit_set_const64): Likewise, also when computing trailing
13334 bits do not negate low_bits and make fast_int an int.
13336 Fri Aug 14 21:07:03 1998 Jeffrey A Law (law@cygnus.com)
13338 * loop.c (add_label_notes): Do not ignore references to labels
13339 before dispatch tables. Mirrors Apr 8 change to mark_jump_label.
13340 * gcse.c (add_label_notes): Similarly.
13342 * pa.h (ASM_OUTPUT_MI_THUNK): Strip name encoding.
13344 * m68k.md (adddi_dilshr32): One of the operands must be a register.
13345 (adddi_dishl32): Similarly.
13347 Fri Aug 14 14:12:59 1998 Jason Merrill <jason@yorick.cygnus.com>
13349 * i386.h (MODES_TIEABLE_P): Reorganize to shut up warnings.
13350 * alias.c (memrefs_conflict_p): Add braces to shut up warnings.
13351 * cse.c (cse_basic_block): Add parens to shut up warnings.
13353 Fri Aug 14 12:58:21 1998 David S. Miller <davem@pierdol.cobaltmicro.com>
13355 * config/sparc/sparc.c (sparc_emit_set_const64_quick2,
13356 sparc_emit_set_const64_longway, const64_is_2insns,
13357 create_simple_focus_bits, sparc_emit_set_const64): Fix more bugs
13358 in 64-bit constant formation.
13359 * config/sparc/sparc.md (snesi_zero_extend split): Generate
13360 rtl for addx not subx.
13361 (define_insn movdi_const64_special): Make available even when
13362 HOST_BITS_PER_WIDE_INT is not 64.
13363 (movdi_lo_sum_sp64_cint, movdi_high_sp64_cint): Remove.
13364 (losum_di_medlow, sethm, setlo): Make op2 symbolic_operand.
13365 (cmp_siqi_trunc_set, cmp_diqi_trunc_set): Encapsulate both
13366 instances of operand 1 inside a QI subreg.
13367 (xordi3_sp64_dbl): Remove '%' constraint for op1.
13368 (one_cmpldi2_sp64): Fix output string.
13369 (one_cmplsi2_not_liveg0): Rewrite to remove unneeded extra
13371 (unnamed arch64 ashift DI): Truncate shift count if greater than
13374 Fri Aug 14 21:52:53 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
13376 * expr.c (store_expr): Don't optimize away load-store pair
13377 when either source or destination have a side effect.
13379 Fri Aug 14 16:50:10 1998 John Carr <jfc@mit.edu>
13381 * genrecog.c (add_to_sequence): Fatal error if the modes of the
13382 operands of SET are incompatible.
13384 * alpha.md: Fix max and min patterns so modes of SET operands match.
13386 Fri Aug 14 12:22:55 1998 Ian Lance Taylor <ian@cygnus.com>
13388 * configure.in: Avoid [[ by using test and changequote.
13389 * configure: Rebuild.
13391 Fri Aug 14 01:22:31 1998 David S. Miller <davem@pierdol.cobaltmicro.com>
13393 * rtl.def (CONSTANT_P_RTX): Fix typo in string name.
13395 * config/sparc/sparc.md (seqdi_special_trunc, snedi_special_trunc,
13396 seqsi_special_extend, snesi_special_extend, snesi_zero_extend and
13397 split, snedi_zero_trunc and split, seqsi_zero_extend and split,
13398 seqdi_zero_trunc and split, pic_lo_sum_di, pic_sethi_di,
13399 movdi_cc_sp64_trunc, movdi_cc_reg_sp64_trunc, addx_extend_sp32 and
13400 split, addx_extend_sp64, subx_extend_sp64, subx_extend and split):
13401 Fix mismatching modes in SET operands.
13402 (conditional move patterns): Fix formatting.
13403 (unnamed subx arch64 pattern): Remove duplicate insn.
13405 Fri Aug 14 00:34:34 1998 David S. Miller <davem@pierdol.cobaltmicro.com>
13407 * config/sparc/sparc.c (const64_operand, const64_high_operand):
13408 Get it right when HOST_BITS_PER_WIDE_INT is not 64.
13409 (input_operand): Fixup test for what we accept for constant
13411 (sparc_emit_set_const32, sparc_emit_set_symbolic_const64): Give
13413 (safe_constDI): Remove.
13414 (sparc_emit_set_safe_HIGH64, gen_safe_SET64, gen_safe_OR64,
13415 gen_safe_XOR64): New functions.
13416 (sparc_emit_set_const64_quick1, sparc_emit_set_const64_quick2,
13417 sparc_emit_set_const64_longway, sparc_emit_set_const64): Use
13419 * config/sparc/sparc.md (define_insn xordi3_sp64_dbl): Only make
13420 available when HOST_BITS_PER_WIDE_INT is not 64.
13421 (define_insn movdi_sp64_dbl, movdi_const64_special): Likewise and
13422 move before movdi_insn_sp64 pattern.
13423 (define_insn movdi_lo_sum_sp64_dbl, movdi_high_sp64_dbl): Remove.
13424 (define_insn sethi_di_medlow, seth44, setm44, sethh): Use
13425 symbolic_operand as predicate for second operand.
13426 (DImode minus split on arch32, negsi2 expander, one_cmplsi2
13427 expander): Give set VOIDmode.
13429 Fri Aug 14 01:45:06 1998 Mumit Khan <khan@xraylith.wisc.edu>
13431 * i386/cygwin32 (DEFAULT_PCC_STRUCT_RETURN): Define.
13433 Fri Aug 14 01:40:21 1998 Geoffrey Keating <geoffk@ozemail.com.au>
13435 * rs6000/linux.h (LINK_SPEC): Pass -G args to the linker.
13437 Fri Aug 14 01:23:23 1998 Richard Earnshaw (rearnsha@arm.com)
13439 * arm/netbsd.h (TARGET_DEFAULT): Default includes software floating
13441 (CPP_FLOAT_DEFAULT_SPEC): Re-define accordingly.
13443 Fri Aug 14 01:19:08 1998 Robert Lipe <robertl@dgii.com>
13445 * install.texi: Various SCO OpenServer tweaks.
13447 Thu Aug 13 20:14:40 1998 Jim Wilson <wilson@cygnus.com>
13449 * reload1.c (eliminate_regs_in_insn): Handle another case when
13450 eliminating the frame pointer to the hard frame pointer. Add
13451 missing ep->to_rtx check to one existing case.
13453 * mips/mips.md (movhi_internal2+2): Fix typo mem:SI -> mem:HI.
13455 Thu Aug 13 17:08:11 1998 Jason Merrill <jason@yorick.cygnus.com>
13457 * tree.h: De-conditionalize init_priority code.
13459 * mips.h (NM_FLAGS): Change from -Bp to -Bn.
13460 * collect2.c (NM_FLAGS): Change from -p to -n.
13462 * configure.in: Turn on collect2 for mipstx39-elf.
13463 Handle use_collect2=no properly.
13465 * c-common.c: De-conditionalize init_priority code.
13466 * collect2.c (extract_init_priority, sort_ids): New fns.
13467 (main): Call sort_ids.
13468 Move sequence_number to file scope.
13470 * configure.in: Handle --enable-init-priority.
13471 * c-common.c (attrs): Add A_INIT_PRIORITY.
13472 (init_attributes, decl_attributes): Likewise.
13473 * tree.h (DEFAULT_INIT_PRIORITY, MAX_INIT_PRIORITY): New macros.
13474 * tree.c (get_file_function_name_long): Split out...
13475 (get_file_function_name): ...from here.
13477 Thu Aug 13 16:09:53 1998 Martin von Loewis <loewis@informatik.hu-berlin.de>
13479 * expr.c (safe_from_p): Change code to ERROR_MARK only when not
13482 Thu Aug 13 15:24:48 1998 Jason Merrill <jason@yorick.cygnus.com>
13484 * toplev.c (display_help): Add braces to shut up warnings.
13485 * tree.c (simple_cst_equal): Likewise.
13487 * fold-const.c (non_lvalue): Don't deal with null pointer
13489 (fold, case COMPOUND_EXPR): Wrap a constant 0 in a NOP_EXPR.
13491 * c-typeck.c (initializer_constant_valid_p): Allow conversion of 0
13492 of any size to a pointer.
13494 Thu Aug 13 12:53:13 1998 Jim Wilson <wilson@cygnus.com>
13496 * i386/winnt.c (i386_pe_asm_file_end): Check TREE_SYMBOL_REFERENCED.
13498 Wed Aug 12 17:25:18 1998 Jeffrey A Law (law@cygnus.com)
13500 * mn10300.c (REG_SAVE_BYTES): Only reserve space for registers
13501 which will be saved.
13502 * mn10300.md (prologue insn): Only save registers which need saving.
13503 (epilogue insn): Similarly.
13505 * mn10300.c, mn10300.h, mn10300.md: Remove "global zero register"
13508 Wed Aug 12 12:39:16 1998 Gavin Romig-Koch <gavin@cygnus.com>
13510 * mips/mips.h (ENCODE_SECTION_INFO): Set SYMBOL_REF_FLAG for
13511 VAR_DECL's in gp addressable sections.
13513 Tue Aug 11 23:02:31 1998 John Carr <jfc@mit.edu>
13515 * sparc.c: Change return <exp> to <exp>; return; in functions
13517 * sparc.md: Add empty semicolon statement after final label in
13520 Tue Aug 11 22:42:01 1998 David S. Miller <davem@pierdol.cobaltmicro.com>
13522 * config/sparc/sparc.md (define_insn addx_extend): Rename to
13523 addx_extend_sp64, only allow when TARGET_ARCH64.
13524 (define_insn addx_extend_sp32 and split): Version that works when
13526 (define_insn subx_extend): Likewise.
13527 (define_split adddi3 and subdi3 with zero extension): Fixup and
13528 correct bugs when not TARGET_ARCH64.
13530 Tue Aug 11 16:04:34 1998 John Carr <jfc@mit.edu>
13532 * except.c (set_exception_lang_code, set_exception_version_code):
13533 Use prototype-style definition if __STDC__, to match declaration
13536 * genemit.c: Change FAIL and DONE macros not to use loops.
13538 Tue Aug 11 12:27:03 1998 Jim Wilson <wilson@cygnus.com>
13540 * dwarf2out.c (ASM_OUTPUT_DWARF_ADDR_CONST): Use
13541 ASM_OUTPUT_DWARF2_ADDR_CONST if defined.
13543 * mips/mips.md (reload_outsi): Use M16_REG_P when TARGET_MIPS16.
13545 Tue Aug 11 18:12:53 1998 Dave Love <d.love@dl.ac.uk>
13547 * README.g77: Update from Craig.
13549 Tue Aug 11 04:46:01 1998 David S. Miller <davem@pierdol.cobaltmicro.com>
13551 * config/sparc/sparc.c (sparc_emit_set_const32): INTVAL is of
13552 type HOST_WIDE_INT.
13553 (safe_constDI sparc_emit_set_const64_quick1,
13554 sparc_emit_set_const64_quick2, sparc_emit_set_const64_longway,
13555 analyze_64bit_constant, const64_is_2insns,
13556 create_simple_focus_bits): Fix some bugs when compiled on real
13558 (function_arg_record_value_3, function_arg_record_value_2,
13559 function_arg_record_value): Add fully prototyped forward decls.
13560 * config/sparc/sparc.md (define_insn cmpsi_insn_sp32): Rename back
13561 to cmpsi_insn and use on both 64 and 32 bit targets.
13562 (define_insn cmpsi_insn_sp64): Remove.
13563 (define_expand zero_extendsidi2): Allow for 32-bit target too.
13564 (define_insn zero_extendsidi2_insn): Rename to
13565 zero_extendsidi2_insn_sp64.
13566 (define_insn zero_extendsidi2_insn_sp32): New pattern and
13567 associated forced split for it.
13569 * config/sparc/sparc.c (const64_operand, const64_high_operand):
13571 * config/sparc/sparc.h: Declare them.
13572 (PREDICATE_CODES): Add them.
13573 * config/sparc/sparc.md (movdi_lo_sum_sp64_dbl,
13574 movdi_high_sp64_dbl, xordi3_sp64_dbl): Use them.
13576 Mon Aug 10 22:57:24 1998 John Carr <jfc@mit.edu>
13578 * config/sparc/sparc.md (define_insn jump): Output ba,pt not b,pt
13579 in v9 case as the latter makes the Solaris assembler crash.
13581 Mon Aug 10 22:39:09 1998 David S. Miller <davem@pierdol.cobaltmicro.com>
13583 * config/sparc/sparc.c (input_operand): Do not accept a LO_SUM MEM
13584 for TFmode when !v9. We require offsettable memory addresses.
13585 * config/sparc/sparc.h (ALTER_HARD_SUBREG): Handle TFmode to
13586 DFmode register number conversions.
13587 * config/sparc/sparc.md (define_split DFmode moves): If register
13588 is a SUBREG do alter_subreg on it before using.
13589 (define_expand movtf): Fixup comment about alignment on v9.
13590 (define_split TFmode moves): Don't use gen_{high,low}part, create
13591 explicit SUBREGs instead.
13593 Mon Aug 10 19:02:55 1998 John Carr <jfc@mit.edu>
13595 * Makefile.in (mbchar.o): Depend on mbchar.c.
13597 Mon Aug 10 04:28:13 1998 David S. Miller <davem@pierdol.cobaltmicro.com>
13598 Richard Henderson <rth@cygnus.com>
13600 Rewrite Sparc backend for better code generation and
13601 improved sparc64 support.
13602 * config/sparc/sp64-elf.h: Set JUMP_TABLES_IN_TEXT_SECTION to
13604 * config/sparc/sysv4.h: Likewise.
13605 * config/sparc/sparc.c (v8plus_regcmp_p, sparc_operand,
13606 move_operand, v8plus_regcmp_op, emit_move_sequence,
13607 singlemove_string, doublemove_string, mem_aligned_8,
13608 output_move_double, output_move_quad, output_fp_move_double,
13609 move_quad_direction, output_fp_move_quad, output_scc_insn):
13611 (small_int_or_double): New predicate.
13612 (gen_compare_reg): Remove TARGET_V8PLUS cmpdi_v8plus emission.
13613 (legitimize_pic_address): Emit movsi_{high,lo_sum}_pic instead of
13614 old pic_{sethi,lo_sum}_si patterns.
13615 (mem_min_alignment): New generic function to replace
13616 mem_aligned_8, which uses REGNO_POINTER_ALIGN information when
13617 available and can test for arbitrary alignments. All callers
13619 (save_regs, restore_regs, build_big_number,
13620 output_function_prologue, output_cbranch, output_return,
13621 sparc_flat_save_restore, sparc_flat_output_function_prologue,
13622 sparc_flat_output_function_epilogue): Prettify
13624 (output_function_epilogue): Likewise and add code to output
13625 deferred case vectors.
13626 (output_v9branch): Likewise, add new arg INSN and use it to tack
13627 on branch prediction settings. All callers changed.
13628 (print_operand): Likewise and output %l44 for LO_SUMs when
13630 (sparc_splitdi_legitimate): New function to make sure DImode
13631 splits can be run properly when !arch64.
13632 (sparc_initialize_trampoline, sparc64_initialize_trampoline):
13633 Reformat example code in comments.
13634 (set_extends): Remove UNSPEC/v8plus_clear_high case.
13635 (sparc_addr_diff_list, sparc_addr_list): New statics to keep track
13636 of deferred case vectors we need to output.
13637 (sparc_defer_case_vector): Record a case vector.
13638 (sparc_output_addr_vec, sparc_output_addr_diff_vec,
13639 sparc_output_deferred_case_vectors): New functions to output them.
13640 (sparc_emit_set_const32): New function to form 32-bit constants in
13641 registers when that requires more than one instruction.
13642 (safe_constDI, sparc_emit_set_const64_quick1,
13643 sparc_emit_set_const64_quick2, sparc_emit_set_const64_longway,
13644 analyze_64bit_constant, const64_is_2insns,
13645 create_simple_focus_bits, sparc_emit_set_const64): New functions
13646 which do the same for 64-bit constants when arch64.
13647 (sparc_emit_set_symbolic_const64): New function to emit address
13648 loading for all code models on v9.
13649 * config/sparc/sparc.h (CONDITIONAL_REGISTER_USAGE): Do not make
13650 %g1 fixed when arch64, unfix %g0 when TARGET_LIVE_G0.
13651 (ALTER_HARD_SUBREG): Fix thinko, return REGNO + 1 not 1.
13652 (SECONDARY_INPUT_RELOAD_CLASS, SECONDARY_OUTPUT_RELOAD_CLASS): Fix
13653 inaccuracies in comments, add symbolic and text_segment operands
13654 when TARGET_CM_MEDANY and TARGET_CM_EMBMEDANY respectively. Use
13655 GENERAL_REGS in these cases as a temp REG is needed to load these
13656 addresses into a register properly.
13657 (EXTRA_CONSTRAINT): Document more accurately, remove Q case as it
13659 (GO_IF_LEGITIMATE_ADDRESS): Allow TFmode for LO_SUM on v9 since fp
13660 quads are guaranteed to have 16-byte alignment.
13661 (LEGITIMIZE_ADDRESS): For SYMBOL_REF, CONST, and LABEL_REF use
13662 copy_to_suggested_reg instead of explicit LO_SUM and HIGH.
13663 (ASM_OUTPUT_ADDR_VEC, ASM_OUTPUT_ADDR_DIFF_VEC): New macros for
13664 deferred case vector implementation.
13665 (ASM_OUTPUT_ADDR_VEC_ELT): Use fputc to output newline.
13666 (ASM_OUTPUT_ADDR_DIFF_ELT): Parenthesize LABEL in macro calls.
13667 Generate "internal label - label" instead of "label - 1b".
13668 (PRINT_OPERAND_ADDRESS): For LO_SUM use %l44 on TARGET_CM_MEDMID.
13669 (PREDICATE_CODES): Remove sparc_operand, move_operand,
13670 v8plus_regcmp_op. Add small_int_or_double, input_operand, and
13672 (doublemove_string, output_block_move, output_fp_move_double,
13673 output_fp_move_quad, output_move_double, output_move_quad,
13674 output_scc_insn, singlemove_string, mem_aligned_8, move_operand,
13675 sparc_operand, v8plus_regcmp_op, v8plus_regcmp_p): Remove externs.
13676 (sparc_emit_set_const32, sparc_emit_set_const64,
13677 sparc_emit_set_symbolic_const64, input_operand, zero_operand,
13678 mem_min_alignment, small_int_or_double): Add externs.
13679 * config/sparc/sparc.md: Document the many uses of UNSPEC and
13680 UNSPEC_VOLATILE in this backend.
13681 (define_function_unit ieu): Rename to ieu_unnamed. Add move and
13682 unary to types which execute in it.
13683 (define_function_unit ieu_shift): Rename to ieu0.
13684 (define_function_unit ieu1): New, executes compare, call, and
13685 uncond_branch type insns.
13686 (define_function_units for type fdivs, fdivd, fsqrt): These
13687 execute in the fpu multiply unit not the adder on UltraSparc.
13688 (define_expand cmpdi): Disallow TARGET_V8PLUS.
13689 (define_insn cmpsi_insn): Rename to cmpsi_insn_sp32.
13690 (define_insn cmpsi_insn_sp64): New, same as sp32 variant except it
13691 allows the arith_double_operand predicate and rHI constraint when
13693 (define_insn cmpdi_sp64, cmpsf_fpe, cmpdf_fpe, cmptf_fpe,
13694 cmpsf_fp, cmpdf_fp, cmptf_fp, sltu_insn, neg_sltu_insn,
13695 neg_sltu_minux_x, neg_sltu_plus_x, sgeu_insn, neg_sgeu_insn,
13696 sltu_plus_x, sltu_plus_x, sltu_plus_x_plus_y, x_minus_sltu,
13697 sgeu_plus_x, x_minus_sgeu, movqi_cc_sp64, movhi_cc_sp64,
13698 movsi_cc_sp64, movdi_cc_sp64, movsf_cc_sp64, movdf_cc_sp64,
13699 movtf_cc_sp64, movqi_cc_reg_sp64, movhi_cc_reg_sp64,
13700 movsi_cc_reg_sp64, movdi_cc_reg_sp64, movsf_cc_reg_sp64,
13701 movdf_cc_reg_sp64, movtf_cc_reg_sp64, zero_extendhisi2_insn,
13702 cmp_siqi_trunc, cmp_siqi_trunc_set, sign_extendhisi2_insn,
13703 sign_extendqihi2_insn, sign_extendqisi2_insn,
13704 sign_extendqidi2_insn, sign_extendhidi2_insn,
13705 extendsfdf2, extendsftf2, extenddftf2, truncdfsf2, trunctfsf2,
13706 trunctfdf2, floatsisf2, floatsidf2, floatsitf2, floatdisf2,
13707 floatdidf2, floatditf2, fix_truncsfsi2, fix_truncdfsi2,
13708 fix_trunctfsi2, fix_truncsfdi2, fix_truncdfdi2, fix_trunctfdi2,
13709 adddi3_sp64, addsi3, cmp_ccx_plus, cmp_cc_plus_set, subdi_sp64,
13710 subsi3, cmp_minus_ccx, cmp_minus_ccx_set, mulsi3, muldi3,
13711 muldi3_v8plus, cmp_mul_set, mulsidi3, mulsidi3_v8plus,
13712 const_mulsidi3_v8plus, mulsidi3_sp32, const_mulsidi3,
13713 smulsi3_highpart_v8plus, unnamed subreg mult,
13714 const_smulsi3_highpart_v8plus, smulsi3_highpart_sp32,
13715 const_smulsi3_highpart, umulsidi3_v8plus, umulsidi3_sp32,
13716 const_umulsidi3, const_umulsidi3_v8plus, umulsi3_highpart_v8plus,
13717 const_umulsi3_highpart_v8plus, umulsi3_highpart_sp32,
13718 const_umulsi3_highpart, divsi3, divdi3, cmp_sdiv_cc_set, udivsi3,
13719 udivdi3, cmp_udiv_cc_set, smacsi, smacdi, umacdi, anddi3_sp64,
13720 andsi3, and_not_di_sp64, and_not_si, iordi3_sp64, iorsi3,
13721 or_not_di_sp64, or_not_si, xordi3_sp64, xorsi3, xor_not_di_sp64,
13722 xor_not_si, cmp_cc_arith_op, cmp_ccx_arith_op,
13723 cmp_cc_arith_op_set, cmp_ccx_arith_op_set, cmp_ccx_xor_not,
13724 cmp_cc_xor_not_set, cmp_ccx_xor_not_set, cmp_cc_arith_op_not,
13725 cmp_ccx_arith_op_not, cmp_cc_arith_op_not_set,
13726 cmp_ccx_arith_op_not_set, negdi2_sp64, cmp_cc_neg, cmp_ccx_neg,
13727 cmp_cc_set_neg, cmp_ccx_set_neg, one_cmpldi2_sp64, cmp_cc_not,
13728 cmp_ccx_not, cmp_cc_set_not, cmp_ccx_set_not, addtf3, adddf3,
13729 addsf3, subtf3, subdf3, subsf3, multf3, muldf3, mulsf3,
13730 muldf3_extend, multf3_extend, divtf3, divdf3, divsf3, negtf2,
13731 negdf2, negsf2, abstf2, absdf2, abssf2, sqrttf2, sqrtdf2, sqrtsf2,
13732 ashlsi3, ashldi3, unnamed DI ashift, cmp_cc_ashift_1,
13733 cmp_cc_set_ashift_1, ashrsi3, ashrdi3, unnamed DI ashiftrt,
13734 ashrdi3_v8plus, lshrsi3, lshrdi3, unnamed DI lshiftrt,
13735 lshrdi3_v8plus, tablejump_sp32, tablejump_sp64, call_address_sp32,
13736 call_symbolic_sp32, call_address_sp64, call_symbolic_sp64,
13737 call_address_struct_value_sp32, call_symbolic_struct_value_sp32,
13738 call_address_untyped_struct_value_sp32,
13739 call_symbolic_untyped_struct_value_sp32, call_value_address_sp32,
13740 call_value_symbolic_sp32, call_value_address_sp64,
13741 call_value_symbolic_sp64, branch_sp32, branch_sp64,
13742 flush_register_windows, goto_handler_and_restore,
13743 goto_handler_and_restore_v9, goto_handler_and_restore_v9_sp64,
13744 flush, all ldd/std peepholes, return_qi, return_hi, return_si,
13745 return_addsi, return_di, return_adddi, return_sf, all call+jump
13746 peepholes, trap, unnamed trap insns): Prettify output strings.
13747 (define_insn anddi3_sp32, and_not_di_sp32, iordi3_sp32,
13748 or_not_di_sp32, xordi3_sp32, xor_not_di_sp32, one_cmpldi2):
13749 Likewise and force + implement splits for integer cases.
13750 (define_insn return_sf_no_fpu): Likewise and allow to match when
13751 no-fpu because of our subreg SFmode splits.
13752 (define_insn zero_extendqihi2, zero_extendqisi2_insn,
13753 zero_extendqidi2_insn, zero_extendhidi2_insn,
13754 zero_extendsidi2_insn, sign_extendsidi2_insn): Likewise and use
13755 input_operand for second operand.
13756 (cmp_minus_cc, cmp_minus_cc_set): Likewise and use
13757 reg_or_0_operand for operand 2 so new splits can use it.
13758 (cmp_zero_extendqisi2, cmp_zero_extendqisi2_set, cmp_cc_plus,
13759 cmp_cc_xor_not): Likewise and don't forget to check TARGET_LIVE_G0
13761 (cmp_zero_extract, cmp_zero_extract_sp64): Likewise and allow
13762 CONST_DOUBLEs for operand 2.
13763 (define_insn move_label_di): Likewise and label distance
13764 optimization because it no longer works with new deferred case
13765 vector scheme. To be revisited.
13766 (define_insn x_minus_y_minus_sltu, x_minus_sltu_plus_y): Likewise
13767 and allow reg_or_0_operand and J constraint for second operand.
13768 (define_insn jump): Set branch predict taken on V9.
13769 (define_insn tablejump): Emit LABEL_REF + PLUS memory address for
13770 new deferred case vector scheme.
13771 (define_insn pic_tablejump_32, pic_tablejump_64): Remove.
13772 (define_insn negdi2_sp32): Force + implement splits.
13773 (define_insn negsi2, one_cmplsi2): Rename to negsi2_not_liveg0 and
13774 one_cmplsi2_not_liveg0 respectively, and create expander of original
13775 names which emit special rtl for TARGET_LIVE_G0.
13776 (define_insn cmpdi_v8plus, scc_si, scc_di): Remove.
13777 (define_insn seq, sne, slt, sge, sle, sltu, sgeu): Don't do
13778 gen_compare_reg, FAIL instead.
13779 (define_insn sgtu, sleu): Likewise and check gen_s*() return
13780 values when trying to reverse condition codes, if they FAIL then
13782 (define_insn snesi_zero, neg_snesi_zero, snesi_zero_extend,
13783 snedi_zero, neg_snedi_zero, snedi_zero_trunc, seqsi_zero,
13784 neg_seqsi_zero, seqsi_zero_extend, seqdi_zero, neg_seqdi_zero,
13785 seqdi_zero_trunc, x_plus_i_ne_0, x_minus_i_ne_0, x_plus_i_eq_0,
13786 x_minus_i_eq_0): Add new splits to perform these multi-insn cases,
13787 set output string to # to indicate they are mandatory splits.
13788 (define_insn pic_lo_sum_si, pic_sethi_si, pic_lo_sum_di,
13789 pic_sethi_di, move_pic_label_si): Remove.
13790 (define_insn movsi_low_sum, movsi_high, movsi_lo_sum_pic,
13791 movsi_high_pic, movsi_pic_label_reg): New patterns to take their
13793 (define_expand movsi_pic_label_ref, define_insn
13794 movsi_high_pic_label_ref, movsi_lo_sum_pic_label_ref): New
13795 expander and insns to handle PIC label references and deferred
13797 (define_insn get_pc_via_rdpc): Comment out as it is no longer
13799 (define_expand movqi, movhi, movsi, movdi, movsf, movdf, movtf):
13800 Rewrite to not use emit_move_sequence, make use of new constant
13801 formation code, and new splits for all multi-insn cases.
13802 (define_insn movqi_insn): Remove sethi case, it can never happen.
13803 Use reg_or_zero_operand instead of const0_rtx explicit test,
13804 use input_operand instead of move_operand for source, and use
13805 general_operand now for dest.
13806 (define_insn movhi_insn): Similar but leave sethi case.
13807 (define_insn lo_sum_qi, store_qi, store_hi): Remove.
13808 (define_insn sethi_hi lo_sum_hi): Rename to movhi_high and
13809 movhi_lo_sum respectively, prettify output string.
13810 (define_insn movsi_zero_liveg0): New pattern to put zero into a
13811 register when needed on TARGET_LIVE_G0.
13812 (define_insn movsi_insn): Use general_operand and input_operand
13813 for dest and src respectively. Simplify applicability test.
13814 Prettify output strings, and add clr alternative for J
13816 (define_insn movdi_sp32_v9, movdi_sp32, define_splits for
13817 deprecated std and reg-reg DI moves): Remove and...
13818 (define_insn movdi_insn_sp32, movdi_insn_sp64): Replace with new
13819 implementation which uses forced splits for all non-single insn
13821 (define_split DI move cases on !arch64): New splits to handle all
13822 situations of 64-bit double register DImode on 32bit, and
13823 unaligned registers and memory addresses for all subtargets.
13824 (define_insn movsf_const_insn, movdf_const_insn, store_sf):
13826 (define_insn movsf_insn, movsf_no_f_insn): Use general_operand and
13827 input_operand for dest and src respectively, prettify output
13829 (define_insn movdf_insn, movdf_no_e_insn, store_df,
13830 movtf_const_insn, movtf_insn, movtf_no_e_insn, store_tf): Remove
13832 (define_insn movdf_insn_sp32, movdf_no_e_insn_sp32,
13833 movdf_insn_sp64, movdf_no_e_insn_sp64, movtf_insn,
13834 movtf_no_e_insn_sp32, movtf_insn_hq_sp64, movtf_insn_sp64,
13835 movtf_no_e_insn_sp64) Replace with new
13836 implementation which uses forced splits for all non-single insn
13838 (define_split DF move cases): New splits in similar vein to DI
13840 (define_insn sethi_di_medlow, sethi_di_medium_pic,
13841 sethi_di_embmedany_data, sethi_di_embmedany_text, sethi_di_sp64,
13842 movdi_sp64_insn): Remove old v9 code model and constant loading
13843 support insns and..
13844 (define_insn pic_lo_sum_di, pic_sethi_di,
13845 sethi_di_medlow_embmedany_pic, sethi_di_medlow, losum_di_medlow,
13846 seth44, setm44, setl44, sethh, setlm, sethm, setlo,
13847 embmedany_sethi, embmedany_losum, embmedany_brsum,
13848 embmedany_textuhi, embmedany_texthi, embmedany_textulo,
13849 embmedany_textlo, movdi_lo_sum_sp64_cint, movdi_lo_sum_sp64_dbl,
13850 movdi_high_sp64_cint, movdi_high_sp64_dbl): Replace with new
13851 scheme, using unspecs, secondary reloads, and one to one sparc
13852 insn to rtl insn mapping for better scheduling and code gen.
13853 (define_expand reload_indi, reload_outdi): Reload helpers for
13854 MEDANY and EMBMEDANY symbol address loading cases which require a
13855 temporary register.
13856 (define_expand movsicc): Remove v8plus_regcmp cases.
13857 (define_insn movdi_cc_sp64_trunc, movdi_cc_reg_sp64_trunc,
13858 cmp_zero_extendqidi2, cmp_zero_extendqidi2_set, cmp_qidi_trunc,
13859 cmp_diqi_trunc_set): New patterns used by some of the new scc
13861 (define_insn xordi3_sp64_dbl): New pattern used for constant
13862 formation when crossing from 32-bit targets.
13863 (define_insn movsi_cc_reg_v8plus, v8plus_clear_high, and helper
13865 (define_insn addx, subx): Make visible and prettify.
13866 (define_insn adddi3_insn_sp32): Likewise and force split.
13867 (define_insn addx_extend, subx_extend, unnamed): New patterns for
13868 64bit scc split usage.
13869 (define_insn unnamed plusDI zero_extend, unnamed minusDI
13870 zero_extend, subdi3): Force and implement splits.
13872 * final.c (final_scan_insn): Don't output labels if target
13873 specifies ASM_OUTPUT_ADDR_{DIFF}_VEC. Do these macro operations
13876 * reorg.c (dbr_schedule): When taking on BR_PRED notes at the end,
13877 don't forget to walk inside SEQUENCESs too as these are what the
13878 delay slot scheduler will create.
13880 Mon Aug 10 01:21:01 1998 Richard Henderson <rth@cygnus.com>
13882 * alpha.md (extxl+1,+2): New patterns to work around
13885 Sat Aug 8 19:20:22 1998 Gary Thomas (gdt@linuxppc.org)
13887 * rs6000.c (rs6000_allocate_stack_space) Fix typo which
13888 caused bad assembly code to be generated.
13890 Sat Aug 8 18:53:28 1998 Jeffrey A Law (law@cygnus.com)
13892 * netbsd.h: Fix typo.
13894 Mon Aug 3 00:06:42 1998 Robert Lipe <robertl@dgii.com>
13896 * config.sub: Fix typo.
13898 Sun Aug 2 22:39:08 1998 Hans-Peter Nilsson <hp@axis.se>
13900 * invoke.texi (Environment Variables): Typo: Change "ascpects"
13902 (Running Protoize): Typo: Change "ther" into "other".
13904 Sun Aug 2 00:42:50 1998 Jeffrey A Law (law@cygnus.com)
13906 * i386/netbsd.h: Undo previous change to DWARF2_UNWIND_INFO.
13907 * m68k/netbsd.h: Likewise.
13908 * ns32k/netbsd.h: Likewise.
13909 * sparc/netbsd.h: Likewise.
13911 Sat Aug 1 17:59:30 1998 Richard Henderson <rth@cygnus.com>
13913 * ginclude/va-alpha.h (va_list): Use a typedef, not a define.
13914 * ginclude/va-clipper.h (va_list): Likewise.
13916 Fri Jul 31 20:22:02 1998 Michael Meissner <meissner@cygnus.com>
13918 * rs6000.c (rs6000_override_options): If big endian and -Os, use
13919 load/store multiple instructions unless user overrides.
13921 Fri Jul 31 17:08:59 1998 Jeffrey A Law (law@cygnus.com)
13923 * ns32k/netbsd.h: Fix typo.
13925 Fri Jul 31 10:23:55 1998 Doug Evans <devans@canuck.cygnus.com>
13927 * m32r/m32r.h (ASM_OUTPUT_SOURCE_LINE): Always output line number
13928 labels with .debugsym if no parallel insns.
13930 Thu Jul 30 19:15:53 1998 Richard Henderson <rth@cygnus.com>
13932 * alpha.md (fp cmp): Replicate patterns for ALPHA_TP_INSN.
13933 (fcmov): Remove ALPHA_TP_INSN patterns -- fcmov doesn't trap.
13935 Thu Jul 30 19:50:15 1998 David Edelsohn <edelsohn@gnu.org>
13937 * rs6000/x-aix43 (AR_FOR_TARGET_FLAGS): Delete.
13938 (AR_FOR_TARGET): Define.
13940 Thu Jul 30 12:29:12 1998 Mark Mitchell <mark@markmitchell.com>
13942 * dyn-string.h: New file.
13943 * dyn-string.c: Likewise.
13944 * Makefile.in (OBJS): Add dyn-string.o.
13945 (dwarf2out.o): Add dyn-string.h dependency.
13946 (dyn-string.o): List dependencies.
13947 * dwarf2out.c: Include dyn-string.h.
13948 (ASM_NAME_TO_STRING): Use dyn_string_append, rather than strcpy.
13949 (addr_const_to_string): Take a dyn_string_t, not a char* as a
13950 prototype. Use dyn_string_append rather than strcat, throughout.
13951 (addr_to_string): Use dyn_string_t.
13953 Thu Jul 30 13:08:07 1998 Ken Raeburn <raeburn@cygnus.com>
13955 Function entry/exit profiling instrumentation:
13956 * expr.h (profile_function_entry_libfunc,
13957 profile_function_exit_libfunc): Declare new variables.
13958 * optabs.c: Define them here.
13959 (init_optabs): Initialize them.
13960 * tree.h (struct tree_decl): New flag
13961 no_instrument_function_entry_exit.
13962 (DECL_NO_INSTRUMENT_FUNCTION_ENTRY_EXIT): New accessor macro.
13963 * c-decl.c (duplicate_decls): Merge it.
13964 * c-common.c (enum attrs): New value A_NO_INSTRUMENT_FUNCTION.
13965 (init_attributes): Use it for "no_instrument_function".
13966 (decl_attributes): Handle it, for functions that have not yet been
13967 compiled. Set decl flag.
13968 * flags.h (flag_instrument_function_entry_exit): Declare new
13970 * toplev.c (flag_instrument_function_entry_exit): Define it here.
13971 (f_options): New option "instrument-functions".
13972 * function.h (struct function): New field instrument_entry_exit.
13973 * function.c (current_function_instrument_entry_exit): New
13975 (push_function_context_to, pop_function_context_from): Save and
13977 (expand_function_start): Set current_ variable, maybe emit return
13978 label and entry profile call.
13979 (expand_function_end): Maybe emit exit profile call.
13981 Thu Jul 30 00:58:34 1998 Jeffrey A Law (law@cygnus.com)
13983 * i386.md (movqi): When optimizing a load of (const_int 1) into a
13984 NON_QI_REG_P, pretend the register is SImode.
13986 Wed Jul 29 23:49:23 1998 Todd Vierling <tv@netbsd.org>
13988 * configure.in: Use xm-netbsd.h as the NetBSD xm file (not xm-siglist).
13989 Accept arm32 as arm, m68k4k as m68k, mipsle as mips-dec, and any
13990 manufacturer id for ns32k.
13991 * configure: Regenerated.
13992 * config/netbsd.h: When using ASM_WEAKEN_LABEL, make it global too.
13993 * config/t-netbsd: Don't compile libgcc1-test as the fns are in libc.
13994 * config/i386/netbsd.h: Undefine DWARF2_UNWIND_INFO, not define as 0.
13995 * config/m68k/netbsd.h: Same.
13996 * config/ns32k/netbsd.h: Same.
13997 * config/sparc/netbsd.h: Same.
13999 Wed Jul 29 22:39:21 1998 Jeffrey A Law (law@cygnus.com)
14001 * unroll.c (unroll_loop): Do not abort for an UNROLL_MODULO
14002 or UNROLL_COMPLETELY loop that starts with a jump to its
14005 Wed Jul 29 22:18:14 1998 David Edelsohn <edelsohn@gnu.org>
14007 * rs6000/rs6000.md (absdi2 define_split): Swap operands of MINUS.
14008 * rs6000/rs6000.c (mask64_operand): Use HOST_BITS_PER_WIDE_INT.
14009 (print_operand, case 'B'): Don't fall through.
14010 (print_operand, case 'S'): Correct mask begin/end computation.
14011 Use HOST_BITS_PER_WIDE_INT.
14012 * rs6000/rs6000.h (CPP_PREDEFINES): Define _LONG_LONG.
14013 (CONDITIONAL_REGISTER_USAGE): GPR13 fixed if TARGET_64BIT.
14014 * rs6000/aix41.h (CPP_PREDEFINES): Same.
14015 * rs6000/aix43.h (CPP_PREDEFINES): Same.
14017 Wed Jul 29 11:47:10 1998 Nick Clifton <nickc@cygnus.com>
14019 * config/arm/thumb.md (extendqisi2_insn): Remove earlyclobber
14020 constraint from second alternative.
14022 Tue Jul 28 23:29:04 1998 Jason Merrill <jason@yorick.cygnus.com>
14024 * configure.in: Fix --without/--disable cases for local-prefix,
14025 gxx-include-dir and checking.
14027 Tue Jul 28 22:01:23 1998 David S. Miller <davem@pierdol.cobaltmicro.com>
14029 * configure.in (enable_haifa): Set by default for sparc64 too.
14030 configure: Rebuilt.
14032 Tue Jul 28 23:29:04 1998 Jason Merrill <jason@yorick.cygnus.com>
14034 * i386/cygwin32.h (VALID_MACHINE_TYPE_ATTRIBUTE): New macro.
14035 * i386/winnt.c (associated_type): New fn.
14036 (i386_pe_valid_type_attribute_p): New fn.
14037 (i386_pe_check_vtable_importexport): Remove.
14038 (i386_pe_dllexport_p): Use associated_type.
14039 (i386_pe_dllimport_p): Likewise.
14041 From Antonio M. O. Neto <anmendes@cruzeironet.com.br>:
14042 * i386.c (i386_valid_type_attribute_p): Also accept
14043 attributes for METHOD_TYPEs.
14045 Tue Jul 28 23:17:39 1998 Peter Gerwinski <peter@gerwinski.de>
14047 * tree.c (build_range_type): Copy TYPE_SIZE_UNIT.
14049 Tue Jul 28 22:31:12 1998 Craig Burley <burley@gnu.org>
14051 * gcc.c: Fix commentary describing %g, %u, %U, and %O.
14053 * gcc.c (do_spec_1): Fix handling of %g%O and %U%O to prevent
14054 them from generating a new base name for each occurrence of
14057 1998-07-28 Vladimir N. Makarov <vmakarov@cygnus.com>
14059 * cse.c (cse_insn): Enable substitution inside libcall only for REG,
14061 * rtlanal.c (replace_rtx): Prohibit replaces in CONST_DOUBLE.
14063 * cplus-dem.c (type_kind_t): New type.
14064 (demangle_template_value_parm): Add type_kind_t parameter. Rely
14065 on this parameter, rather than demangling the type again.
14066 (demangle_integral_value): Pass tk_integral.
14067 (demangle_template_: Pass the value returned from do_type.
14068 (do_type): Return a type_kind_t. Pass tk_integral to
14069 demangle_template_value_parm for array bounds.
14070 (demangle_fund_type): Likewise.
14072 Mon Jul 27 00:54:41 1998 Jason Merrill <jason@yorick.cygnus.com>
14074 * tree.c (simple_cst_equal, case CONSTRUCTOR): OK if the elts are
14077 Mon Jul 27 22:18:36 1998 Jeffrey A Law (law@cygnus.com)
14079 * pa.c (move_operand): Accept CONSTANT_P_RTX.
14081 Mon Jul 27 17:18:52 1998 Dave Brolley <brolley@cygnus.com>
14083 * stor-layout.c (layout_type): Handle arrays of bits, for Chill.
14085 * expr.c (get_inner_reference): Handle zero-based, unsigned, array
14088 Mon Jul 27 14:51:33 1998 Jeffrey A Law (law@cygnus.com)
14090 * mn10300.h (DEBUGGER_AUTO_OFFSET): Define.
14091 (DEBUGGER_ARG_OFFSET): Likewise.
14093 * mn10300.md (movsf): Remove last change. Not needed.
14095 Mon Jul 27 14:22:36 1998 Dave Brolley <brolley@cygnus.com>
14097 * c-lex.c (yylex): Fix boundary conditions in character literal and
14098 string literal loops.
14100 Mon Jul 27 11:43:54 1998 Stan Cox <scox@cygnus.com>
14102 * longlong.h (count_leading_zeros): Sparclite scan instruction was
14103 being invoked incorrectly.
14105 * i386.c (ix86_prologue): Added SUBTARGET_PROLOGUE invocation.
14106 * i386/cygwin32.h (STARTFILE_SPEC, LIB_SPEC, SUBTARGET_PROLOGUE):
14108 * i386/win32.h: New file. Hybrid mingw32.h/cygwin32.h configuration.
14109 * configure.in: Added i[34567]86-*-win32.
14110 * config.sub: Likewise.
14111 * configure: Rebuilt.
14113 Sun Jul 26 01:11:12 1998 H.J. Lu (hjl@gnu.org)
14115 * i386.h (CONST_DOUBLE_OK_FOR_LETTER_P): Return 0 when eliminating
14116 the frame pointer and compiling PIC code and reload has not completed.
14118 * i386.c (output_to_reg): Add code to emulate non-popping DImode
14121 Sun Jul 26 01:01:32 1998 Jeffrey A Law (law@cygnus.com)
14123 * regmove.c (regmove_optimize): Fix typo initializing regmove_bb_head.
14125 Sat Jul 25 23:29:23 1998 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
14127 * Makefile.in (install-info): Only try to update the info
14128 directory file if it exists in the first place.
14130 Fri Jul 24 18:58:37 1998 Klaus Espenlaub <kespenla@student.informatik.uni-ulm.de>
14132 * rs6000.h (ASM_OUTPUT_CONSTRUCTOR, ASM_OUTPUT_DESTRUCTOR): Delete.
14134 Fri Jul 24 14:20:26 1998 Jeffrey A Law (law@cygnus.com)
14136 * mn10300.md (movqi, movhi, movsi, movsf): Correctly handle
14137 CONST_DOUBLE source.
14139 Fri Jul 24 11:17:04 1998 Nick Clifton <nickc@cygnus.com>
14141 * config/arm/thumb.c (thumb_print_operand): Decode %_ in asm
14142 strings as the insertion of USER_LABEL_PREFIX.
14143 * config/arm/thumb.h (PRINT_OPERAND_PUNCT_VALID_P): Accept _ as a
14145 * config/arm/thumb.md: Use %_ as a prefix to gcc library function
14148 Thu Jul 23 18:53:20 1998 Jim Wilson <wilson@cygnus.com>
14150 * dbxout.c (dbxout_range_type): Only call dbxout_type_index for
14151 already defined type.
14153 Thu Jul 23 13:49:41 1998 Jeffrey A Law (law@cygnus.com)
14155 * expr.c (check_max_integer_computation_mode): Allow conversions
14156 of constant integers to MAX_INTEGER_COMPUTATION_MODE.
14157 (expand_expr): Likewise.
14159 Thu Jul 23 11:12:06 1998 Alexandre Petit-Bianco <apbianco@cygnus.com>
14161 * expr.c (expand_expr): Expand RETURN_EXPR.
14163 Thu Jul 23 11:00:29 1998 Jim Wilson <wilson@cygnus.com>
14165 * dwarf2out.c (dwarf2out_finish): Call stripattributes on TEXT_SECTION.
14167 Wed Jul 22 19:10:00 1998 Catherine Moore <clm@cygnus.com>
14169 * dwarf2out.c (output_aranges): Call stripattributes
14170 for TEXT_SECTION references.
14171 (output_line_info): Likewise.
14173 Wed Jul 22 14:08:54 1998 David S. Miller <davem@pierdol.cobaltmicro.com>
14175 * profile.c (branch_prob): Call allocate_reg_info after outputting
14176 profile rtl in instrument_arcs.
14178 Wed Jul 22 12:47:49 1998 Jim Wilson <wilson@cygnus.com>
14180 * fixinc.irix (math.h): Install wrapper instead of copying.
14182 Wed Jul 22 12:37:14 1998 Alexandre Petit-Bianco <apbianco@cygnus.com>
14184 * tree.def (EXPR_WITH_FILE_LOCATION): Defined as an 'e' expression
14185 so WFL are expanded correctly when contained in a COMPOUND_EXPR.
14186 * tree.h (EXPR_WFL_EMIT_LINE_NOTE): Change macro not to use
14187 lang_flag_0. Added documentation in the flag table.
14189 Tue Jul 21 23:28:35 1998 Klaus Kaempf <kkaempf@rmi.de>
14191 * cccp.c (do_include): Fix vax c style include handling.
14193 Tue Jul 21 13:28:19 1998 Jason Merrill <jason@yorick.cygnus.com>
14195 * cplus-dem.c (do_type): Use demangle_template_value_parm for arrays.
14197 Sun Jul 12 01:27:05 1998 Jason Merrill <jason@yorick.cygnus.com>
14199 * fold-const.c (non_lvalue): Don't deal with null pointer
14201 (fold, case COMPOUND_EXPR): Wrap a constant 0 in a NOP_EXPR.
14203 Tue Jul 21 15:49:31 1998 David Edelsohn <edelsohn@gnu.org>
14205 * rs6000.h (PREDICATE_CODES): Add CONSTANT_P_RTX.
14206 * rs6000.md (movsi, movdi): Add CONSTANT_P_RTX.
14207 * rs6000.c (short_cint_operand): Add CONSTANT_P_RTX.
14208 (u_short_cint_operand): Same.
14209 (reg_or_cint_operand): Same.
14210 (logical_operand): Same.
14211 (input_operand): Same.
14212 (reg_or_short_operand): Use u_short_cint_operand.
14214 Tue Jul 21 08:56:42 1998 Richard Henderson <rth@cygnus.com>
14216 * alpha.md (fix_truncdfsi2, fix_truncsfsi2): Remove the define_expands,
14217 but keep the insns and splits. Adjust so when the ultimate destination
14218 is memory, use cvtql.
14220 Tue Jul 21 08:55:09 1998 Richard Henderson <rth@cygnus.com>
14222 * flow.c (regno_uninitialized): Fixed regs are never uninitialized.
14224 Tue Jul 21 00:31:01 1998 Jeffrey A Law (law@cygnus.com)
14226 * gcc.c (do_spec): Call "error" not "warning".
14228 * configure.in: Fix minor problems with gas feature detection code.
14229 * configure: Rebuilt.
14231 * gcc.c (do_spec): Issue a warning for '%[]' usage.
14233 * Undo this change.
14234 * gcc.c: Delete %[spec] support.
14235 (do_spec_1, case '('): Likewise.
14236 (do_spec_1, case '['): Call error.
14238 Mon Jul 20 22:34:17 1998 Richard Henderson <rth@cygnus.com>
14240 * alpha.h (CPP_SPEC): Tidy. Hook to cpp_cpu and cpp_subtarget.
14241 (CPP_SUBTARGET_SPEC): Default to empty string.
14242 (CPP_AM_*, CPP_IM_*, CPP_CPU_*, CPP_CPU_SPEC): New.
14243 (EXTRA_SPECS, SUBTARGET_EXTRA_SPECS): New.
14244 * alpha/elf.h (LD_SPEC): Use %(elf_dynamic_linker).
14245 * alpha/linux-elf.h (SUBTARGET_EXTRA_SPECS): New.
14247 * alpha/linux.h (CPP_PREDEFINES): Tidy.
14248 * alpha/netbsd-elf.h (SUBTARGET_EXTRA_SPECS): New.
14249 * alpha/netbsd.h (CPP_PREDEFINES): Tidy.
14250 * alpha/osf.h (CPP_PREDEFINES): Remove bits subsumed by CPP_CPU_SPEC.
14251 * alpha/win-nt.h (CPP_PREDEFINES): Likewise.
14252 * alpha/vsf.h (CPP_PREDEFINES): Likewise.
14253 (CPP_SUBTARGET_SPEC): New. Do this instead of overriding CPP_SPEC.
14254 * alpha/vxworks.h: Likewise.
14256 Mon Jul 20 22:51:57 1998 Ken Raeburn <raeburn@cygnus.com>
14258 * mips.md (reload_outsi): Added missing REGNO call.
14259 (smulsi3_highpart, umulsi3_highpart): Provide prototype for
14261 (mul_acc_di, mul_acc_64bit_di): Don't use match_op_dup, use
14262 another match_operator and compare the codes.
14264 * mips.h (MASK_DEBUG_E, MASK_DEBUG_I): Set to zero.
14266 * MIPS multiply pattern fixes:
14267 * mips.h (enum reg_class, REG_CLASS_NAMES, REG_CLASS_CONTENTS):
14268 Add union classes for HI, LO, or HILO plus general registers.
14269 (GENERATE_MADD): Deleted.
14270 * mips.md (mulsi3_mult3): Don't disparage output-LO alternative.
14271 Add TARGET_MAD to condition.
14272 (mulsi3): Test HAVE_mulsi3_mult3, not specific flags.
14273 (mul_acc_si): Expand GENERATE_MADD here; it's the only use. Use
14274 "*d" for accumulator, to give preference to LO initially but not
14277 Mon Jul 20 16:16:38 1998 Dave Brolley <brolley@cygnus.com>
14279 * configure.in (enable_c_mbchar): New configure option.
14280 (extra_cpp_objs): Always available now.
14282 * cexp.y (mbchar.h): #include it.
14283 (yylex): Handle Multibyte characters in character literals.
14285 * cccp.c (mbchar.h): #include it.
14286 (main): Set character set based on LANG environment variable.
14287 (rescan): Handle multibyte characters in comments.
14288 (skip_if_group): See above.
14289 (validate_else): See above.
14290 (skip_to_end_of_comment): See above.
14291 (macarg1): See above.
14292 (discard_comments): See above.
14293 (rescan): Handle multibyte characters in string and character literals.
14294 (collect_expansion): See above.
14295 (skip_quoted_string): See above.
14296 (macroexpand): See above.
14297 (macarg1): See above.
14298 (discard_comments): See above.
14299 (change_newlines): See above.
14301 * c-lex.c (mbchar.h): #include it.
14302 (GET_ENVIRONMENT): New macro.
14303 (init_lex): Set character set based on LANG environment variable.
14304 (yylex): Handle multibyte characters in character literals.
14305 (yylex): Handle multibyte characters in string literals.
14307 * Makefile.in (mbchar.o): New target.
14308 (cccp$(exeext)): @extra_cpp_objs@ is always available.
14309 (cppmain$(exeext)): @extra_cpp_objs@ is always available.
14311 * mbchar.[ch]: New files for multibyte character handling.
14313 Mon Jul 20 01:11:11 1998 David S. Miller <davem@pierdol.cobaltmicro.com>
14315 * jump.c (jump_optimize): When simplifying noop moves and
14316 PUSH_ROUNDING, fix thinko so we use same criterion for identifying
14317 the PUSHes to rewrite in second loop as we did in the first.
14319 Sun Jul 19 08:23:53 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
14321 * cplus-dem.c (demangle_nested_args): Make function definition
14322 static to match the prototype.
14324 Fri Jul 17 14:58:44 1998 Richard Henderson <rth@cygnus.com>
14326 * alloca.c: Respect USE_C_ALLOCA.
14327 * gencheck.c (xmalloc): Ignore __GNUC__ for definition.
14328 * gengenrtl.c (xmalloc): Likewise.
14330 Fri Jul 17 14:18:14 1998 Richard Henderson <rth@cygnus.com>
14332 * loop.h (struct induction): Add no_const_addval.
14333 * loop.c (the_movables, reg_address_cost): New variables.
14334 (init_loop): Init reg_address_cost.
14335 (loop_optimize): Call end_alias_analysis.
14336 (scan_loop): Init the_movables.
14337 (record_giv): Init induction->no_const_addval.
14338 (basic_induction_var) [PLUS]: Use rtx_equal_p instead of ==.
14339 [REG]: Rearrange loop search test to catch more cases.
14340 (general_induction_var): Return success not benefit; take an extra
14341 argument for that. Change all callers.
14342 (simplify_giv_expr) [PLUS]: Always combine invariants. Use sge_plus.
14343 [MULT]: Use rtx_equal_p instead of ==. Combine simple invariants.
14344 [default]: Search the_movables for additional combinations.
14345 (sge_plus_constant, sge_plus): New functions.
14346 (express_from_1): New function.
14347 (express_from): Always define. Rewrite using express_from_1.
14348 (combine_givs_p): Handle more cases. Ignore address cost.
14349 (cmp_combine_givs_stats): New function.
14350 (combine_givs_used_once, combine_givs_benefit_from): New functions.
14351 (combine_givs): Rewrite to do best-fit combination.
14353 * fold-const.c (operand_equal_p): Handle RTL_EXPR.
14354 (fold): Do a complete (A*C)+(B*C) association check.
14356 Fri Jul 17 11:21:55 1998 Jim Wilson <wilson@cygnus.com>
14358 * function.c (fixup_var_refs_insns): Handle CLOBBER of a CONCAT.
14360 Fri Jul 17 11:48:55 1998 Jeffrey A Law (law@cygnus.com)
14362 * mn10300.c (MODES_TIEABLE_P): Fix typo.
14364 Fri Jul 17 03:26:12 1998 Rihcard Earnshaw (rearnsha@arm.com)
14366 * tree.c (valid_machine_attribute): Only create a new type variant if
14367 there is a decl to use it.
14369 Thu Jul 16 14:48:04 1998 Nick Clifton <nickc@cygnus.com>
14371 * gcc.c (do_spec_1): Cope with %g/%u/%U options which do not have
14374 Fri Jul 17 03:24:40 1998 Hans-Peter Nilsson <hp@axis.se>
14376 * extend.texi (Explicit Reg Vars): Typo: change "may deleted" into "may
14379 Thu Jul 16 14:48:47 1998 Jeffrey A Law (law@cygnus.com)
14381 * mn10300.c (count_tst_insns): New arg oreg_countp. Callers changed.
14382 Simplify tests for clearing an address register.
14383 (expand_prologue): Corresponding changes.
14385 * mn10300.md (movXX patterns): Make sure the destination is an
14386 ADDRESS_REG when substituting "zero_areg" for (const_int 0).
14387 (logical patterns): Split into expanders + patterns.
14388 (zero and sign extension patterns): Similarly.
14389 (shift patterns): Similarly.
14391 Thu Jul 16 01:17:44 1998 Richard Henderson <rth@cygnus.com>
14393 * loop.c (emit_iv_add_mult): Scan the entire insn list generated
14394 for the sequence, recording base values.
14396 Wed Jul 15 10:49:55 1998 Richard Henderson <rth@cygnus.com>
14398 * i386.h (CPP_CPU_SPEC): Remove -Asystem(unix).
14400 Tue Jul 14 14:15:30 1998 Nick Clifton <nickc@cygnus.com>
14402 * gcc.c: Remove ANSI-C ism from --help code.
14404 * toplev.c: Support --help with USE_CPPLIB.
14406 Tue Jul 14 14:46:08 1998 Jeffrey A Law (law@cygnus.com)
14408 * configure.in: Rework gas feature code to work with symlink based
14411 * extend.texi: Clarify some issues related to local variables
14412 assigned to explicit registers.
14414 * mn10300.md (mulsi): Turn into expander + pattern.
14416 * mn10300.md (movsi, movsf, movdi, movdf): Remove "x" from I -> a
14419 Tue Jul 14 07:41:59 1998 Richard Earnshaw (rearnsha@arm.com)
14421 * arm/tcoff.h (USER_LABEL_PREFIX): Make it empty to match coff.h.
14423 Tue Jul 14 03:02:44 1998 Jeffrey A Law (law@cygnus.com)
14425 * version.c: Bump again to distinguish mainline tree from the
14428 See ChangeLog.0 for earlier changes.
14431 add-log-time-format: current-time-string