1 2000-04-19 Marek Michalkiewicz <marekm@linux.org.pl>
3 * avr.c: #include "system.h" instead of <stdio.h> and <stdlib.h>.
5 2000-04-19 Zack Weinberg <zack@wolery.cumb.org>
7 * cpphash.c (special_symbol): Represent an empty macro with
8 "\r \r " not just "\r ".
9 (_cpp_macroexpand): Correct condition for the foo ( ) special
11 (unsafe_chars): Handle EOF as second argument.
12 (push_macro_expansion): Simplify test for removing escape at
13 end. Do not trim both escapes if there is no text in between.
15 2000-04-19 Jim Blandy <jimb@redhat.com>
17 * dwarf2out.c (DWARF2_ADDR_SIZE): New macro. Use it instead
18 of PTR_SIZE, when appropriate.
20 2000-04-19 Mark Mitchell <mark@codesourcery.com>
22 * system.h (ONLY_INT_FIELDS): Make sure it is defined.
23 (USE_ENUM_BITFIELDS): Fix typo.
25 Wed Apr 19 12:14:55 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
27 * stor-layout.c (place_field): Set rli->offset_align properly.
29 2000-04-19 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
31 * mips.h (BITS_PER_WORD, UNITS_PER_WORD, UNITS_PER_FPREG,
32 INT_TYPE_SIZE, LONG_TYPE_SIZE, POINTER_SIZE, POINTER_BOUNDARY,
33 PARM_BOUNDARY): Remove unnecessary casts.
35 Wed Apr 19 12:02:37 MET DST 2000 Jan Hubicka <jh@suse.cz>
37 * calls.c (precompute_arguments): Remove must_preallocate and
39 (expand_call): Update call of precompute_arguments.
41 * loop.c (check_insn_for_bivs, for_every_insn_in_loop,
42 check_insn_for_givs): Break out from ...
43 (strength_reduce) ... here; use for_every_insn_in_loop to call
45 * loop.h (for_every_insn_in_loop): Declare.
46 (loop_insn_callback): New type.
48 2000-04-18 Zack Weinberg <zack@wolery.cumb.org>
50 * cpplib.c (do_pragma_poison): Strings in the token buffer are
53 Tue Apr 18 16:04:12 2000 Jim Wilson <wilson@cygnus.com>
55 * config/ia64/sysv4.h (SELECT_SECTION): Use data_section if
58 2000-04-18 Zack Weinberg <zack@wolery.cumb.org>
60 * cccp.c, cexp.y, cexp.c, cccp.1: Removed.
62 * configure.in: Delete --disable-cpplib option and all
63 references to cpp_main.
64 * configure: Regenerate.
65 * Makefile.in: Remove all references to CCCP, CCCP_OBJS,
66 @cpp_main@, cccp.c, cexp.c, cexp.y, cexp.output, cexp.o,
67 cccp.o, cccp, or cppmain. Link cppmain.o straight to
68 cpp$(exeext). Add --no-headers to makeinfo command line when
69 generating INSTALL. Install and uninstall cpp.1 manpage, not
71 * install.texi: Delete all references to cexp.y/cexp.c.
72 Delete ancient instructions for compiling GCC on 3b1.
73 * INSTALL: Regenerate.
75 * cppfiles.c, cpplib.h, jump.c, protoize.c, c-lex.c, mips/t-ecoff,
76 mips/t-elf, mips/t-r3900: Remove references to cccp.c.
77 * convex.h, fx80.h, m68k.h, pdp11.h: Remove references to
79 * xm-linux.h, xm-os2.h, romp.h: Remove definition of BSTRING,
80 which is no longer tested anywhere.
82 * cppinit.c (handle_option): Don't run error message through
85 Tue Apr 18 14:16:47 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
87 * conflict.c (conflict_graph_add): Pass enum type to htab_find_slot.
88 * cpperror.c (hashtab.h): Now include.
89 * cppexp.c (hashtab.h): Likewise.
90 * cpplex.c (hashtab.h): Likewise.
91 * cppfiles.c (hashtab.h): Likewise.
92 (find_include_file, _cpp_calc_hash, cpp_read_file): Pass enum type
93 to htab_find_slot_with_hash.
94 * cpphash.c (hashtab.h): Now include.
95 (_cpp_lookup_slot): INSERT is now enum insert_option.
96 * cpphash.h (_cpp_lookup_slot): Likewise.
97 * cppinit.c (hashtab.h): Include earlier.
98 (initialize_builtins): Pass enum to htab_find_slot.
99 * cpplib.c (hashtab.h): Now include.
100 (do_define, do_undef): Pass enum type to _cpp_lookup_slot.
101 (do_pragma_poison, do_assert): Likewise.
102 * emit-rtl.c (gen_rtx_CONST_INT): Pass enum to
103 htab_find_slot_with_hash.
104 * simplify-rtx.c (cselib_lookup_mem, cselib_lookup): Likewise.
105 * tree.c (type_hash_add): Likewise.
106 (build1): Minor cleanup.
108 * ggc-common.c: Add missing blanks.
109 * print-tree.c (print_node): Print DECL_OFFSET_ALIGN.
110 * tree.h (DECL_OFFSET_ALIGN): Fix typo in comment.
112 * stmt.c (mark_case_node): New function.
113 (mark_case_nesting): Call it.
115 * expmed.c (emit_store_flag): If comparing two-word integer
116 with zero, can optimize NE, EQ, GE, and LT.
118 * c-decl.c (mark_binding_level): Use 'for' instead of `while'.
119 * conflict.c: Minor cleanups.
120 * optabs.c: Add blank line
121 * simplify-rtx.c: Minor cleanups.
123 2000-04-18 Stan Cox <scox@cygnus.com>
125 * gengenrtl.c (genlegend): Fix misspelling.
127 2000-04-18 Robert Lipe <robertlipe@usa.net>
129 * configure.in (ENUM_BITFIELDS_ARE_UNSIGNED): Added. Check that
130 bitfields of the host compiler are not signed quantities.
131 * config.in: Regenerate.
132 * configure: Regenerate.
133 * system.h (USE_ENUM_BITFIELDS): Added.
134 (ENUM_BITFIELDS): Added.
135 * rtl.h (rtx_def): Members `code', `mode', now ENUM_BITFIELD.
136 (SHORT_ENUM_BUG): Deleted.
137 * tree.h (tree_common): Members `code', `mode', `built_in_class',
139 * config/i386/xm-sco.h (ONLY_INT_FIELDS): Deleted.
140 (CODE_FIELD_BUG): Likewise.
141 * config/m68k/x-apollo68 (CC): Deleted SHORT_ENUM_BUG.
143 * config/m68k/x-ccur (X_CFLAGS): Likewise.
145 2000-04-18 Mark Mitchell <mark@codesourcery.com>
147 * cpplex.c (_cpp_lex_token): Don't call CPP_BUMP_LINE when the
150 2000-04-17 Zack Weinberg <zack@wolery.cumb.org>
152 * cppexp.c (lex): Don't assume tokens are NUL terminated.
153 * cpplib.c (do_include, do_import, do_include_next,
154 read_line_number, detect_if_not_defined): Likewise.
155 * cpphash.c (collect_expansion): Likewise.
156 (special_symbol, _cpp_macroexpand): Check return from
158 * cpphash.h (CPP_NUL_TERMINATE, CPP_NUL_TERMINATE_Q): Delete
159 macros. Delete all uses.
161 * gcc.dg/cpp-mi.c: Add two more test cases.
162 * gcc.dg/cpp-mind.h, gcc.dg/cpp-mindp.h: New files.
164 2000-04-17 Richard Henderson <rth@cygnus.com>
166 * bb-reorder.c (fixup_reorder_chain): Don't look up new block again.
167 (reorder_basic_blocks): If no epilogue in rtl, force last block last.
169 2000-04-17 Mark Mitchell <mark@codesourcery.com>
171 * function.c (expand_function_start): Use hard_function_value to
172 compute the RTL to use for DECL_RESULT.
174 Mon Apr 17 23:35:29 MET DST 2000 Jan Hubicka <jh@suse.cz>
176 * i386.c (athlon_cost): Fix lea, divide and XFmode move costs.
177 (x86_integer_DFmode_moves, x86_partial_reg_dependency,
178 x86_memory_mismatch_stall): New global variables.
179 (ix86_adjust_cost): Handle MEMORY_BOTH on places MEMORY_STORE was only
180 alloved; fix load penalties for Athlon.
181 * i386.h (x86_integer_DFmode_moves, x86_partial_reg_dependency,
182 x86_memory_mismatch_stall): Declare.
183 (TARGET_INTEGER_DFMODE_MOVES, TARGET_PARTIAL_REG_DEPENDENCY,
184 TARGET_MEMORY_MISMATCH_STALL): New.
185 * i386.md (athlon scheduling parameters): Fix latencies according to
186 Athlon Optimization Manual.
187 (sahf, xchg, fldcw, leave instruction patterns): Set athlon_decode to
189 (fsqrt instruction patterns): Set athlon_decode to direct.
190 (movhi_1): Promote for TARGET_PARTIAL_REG_DEPENDENCY and for
191 PARTIAL_REGISTER_STALL with !TARGET_HIMODE_MATH machines.
192 (movqi_1): Handle promoting correctly for TARGET_PARTIAL_REG_DEPENDENCY
193 and TARGET_PARTIAL_REGISTER_STALL machines.
194 (pushdf_nointeger): New pattern.
195 (pushdf_integer): Rename from pushdf.
196 (movdf_nointger): Enable for !TARGET_INTEGER_DFMODE_MOVES machines.
197 (movdf_intger): Disable for !TARGET_INTEGER_DFMODE_MOVES machines.
199 2000-04-17 Richard Henderson <rth@cygnus.com>
201 * loop.c (canonicalize_condition): Add WANT_REG argument.
202 Stop the search if we match it.
203 * expr.h (canonicalize_condition): Update decl.
204 * predict.c (expected_value_to_br_prob): Use it. Track last
206 (find_expected_value): Remove.
208 * reorg.c (mostly_true_jump): Always use BR_PROB if present.
210 2000-04-17 Zack Weinberg <zack@wolery.cumb.org>
212 * aclocal.m4 (AM_GNU_GETTEXT): Don't AC_REQUIRE([AC_FUNC_MMAP]).
213 (AC_FUNC_MMAP_FILE): New macro, tests read-only private map of
215 * configure.in: Call AC_FUNC_MMAP_FILE.
216 * configure: Regenerate.
217 * config.in: Regenerate.
219 * intl/loadmsgcat.c: Test HAVE_MMAP_FILE not HAVE_MMAP.
220 * fixinc/fixincl.c: Likewise.
222 2000-04-17 Richard Henderson <rth@cygnus.com>
224 * builtins.c (expand_builtin_expect): New.
225 (expand_builtin): Call it.
226 * builtins.def (BUILT_IN_EXPECT): New.
227 * c-common.c (c_common_nodes_and_builtins): Declare __builtin_expect.
228 * extend.texi: Document it.
230 * predict.c (expected_value_to_br_prob): New.
231 (find_expected_value): New.
232 * basic-block.h (expected_value_to_br_prob): Declare.
233 * toplev.c (rest_of_compilation): Invoke it.
235 * rtl.h (NOTE_EXPECTED_VALUE): New.
236 (NOTE_INSN_EXPECTED_VALUE): New.
237 * rtl.c (note_insn_name): Update.
238 * print-rtl.c (print_rtx): Reorg NOTE_LINE_NUMBER special
239 cases; handle NOTE_INSN_EXPECTED_VALUE.
241 2000-04-17 Jakub Jelinek <jakub@redhat.com>
243 * config/sparc/sparc.c (eligible_for_sibcall_delay): Cannot use
244 leaf sibcall delay slot if flag_pic.
245 (output_sibcall): Always emit call for leaf sibcall if flag_pic.
247 2000-04-17 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
249 * Makefile.in (stmp-fixproto): Acknowledge errors in fixproto.
251 * fixproto: If fix-header fails, exit with an error.
253 Mon Apr 17 14:59:36 MET DST 2000 Jan Hubicka <jh@suse.cz>
255 * cse.c (struct check_depdendence_data): New.
256 (check_dependence): New function.
257 (invalidate): Use check_depdenence.
259 2000-04-16 Mark Mitchell <mark@codesourcery.com>
261 * dwarf2out.c (DWARF_CIE_DATA_ALIGNMENT): Adjust, now that
262 UNITS_PER_WORD is unsigned.
264 * tree.h (struct tree_common): Remove misleading comment.
266 2000-04-16 Dave Pitts <dpitts@cozx.com>
268 * Makefile.in ($(srcdir)/c-parse.y: c-parse.in): Enclose the whole
269 message in quotes. Otherwise, IBM's make program treats the '#' as the
270 start of a comment and ignores the remainder of the line.
272 * c-lex.c (yylex): Change for EBCDIC, lower case characters preceed
274 * cccp.c (initialize_char_syntax): Allow for holes in EBCDIC.
275 * cexp.y (initialize_random_junk): Likewise.
276 * cppfiles.c (find_include_file): Cast alloca return value.
277 * cppinit.c (initialize_standard_includes): Likewise.
278 * cpplib.c (cpp_define, cpp_undef): Likewise.
279 * defaults.h (ASM_OUTPUT_ASCII): Use ISPRINT.
280 * final.c (output_asm_insn): Allow for holes in EBCDIC.
281 * fold-const.c (CHARMASK): New.
282 (real_hex_to_f): Use it.
283 * real.c (CHARMASK): New.
284 (etoasc, asctoeg): Use it.
285 (asctoeg): EBCDIC lower case characters preceed upper case.
287 * i370.c (mvs_add_label): Change spacing for coding conventions.
288 * i370.h (ASM_OUTPUT_CASE_LABEL): Change to the data CSECT for the
289 outputing case vectors.
290 (ASM_OUTPUT_CASE_END): New, put assembler back into code CSECT.
291 (ASM_OUTPUT_ADDR_VEC_ELT, ASM_OUTPUT_ADDR_DIFF_ELT): Remove page check,
292 since vector in in the data CSECT.
293 (ASM_OUTPUT_REG_POP, ASM_OUTPUT_REG_PUSH): Restore to correct operation.
294 * i370.md (Many patterns): Put the length in the XL directives.
295 (movdi): Put back STM and MVC in definition.
296 (floatsidf2): Correct TARGET_ELF_ABI pattern and add back the LE370
297 pattern using the TCA.
298 * oe.h (CPP_SPEC): Added to allow trigraphs.
299 * xm-oe.h (HOST_BITS_PER_LONGLONG): Change to 32. IBM's compiler does
300 not support the "long long" type.
302 2000-04-16 Mark Mitchell <mark@codesourcery.com>
304 * config/mips/mips-protos.h (mips_legitimate_address_p): New
306 (mips_reg_mode_ok_for_base_p): Likewise.
307 * config/mips/mips.h (REG_OK_STRICT_P): Don't define.
308 (REG_OK_FOR_INDEX_P): Define unconditionally.
309 (REG_MODE_OK_FOR_BASE_P): Use mips_reg_mode_ok_for_base_p.
310 (GO_IF_LEGITIMATE_ADDRESS): Use mips_legitimate_address_p.
311 * config/mips/mips.c (mips16_simple_memory_operand): Adjust now
312 that GET_MODE_SIZE is unsigned.
313 (mips_reg_mode_ok_for_base_p): Define.
314 (mips_legitimate_address_p): Likewise. Adjust now
315 that GET_MODE_SIZE is unsigned.
316 (block_move_loop): Make the number of bytes unsigned.
317 (expand_block_move): Likewise.
318 (function_arg): Make the loop counter unsigned to match the
321 2000-04-16 Richard Henderson <rth@cygnus.com>
323 * rtl.h (enum insn_note): New enumeration. Subsume
324 NOTE_INSN_DELETED and friends.
325 (GET_NOTE_INSN_NAME): Adjust index by NOTE_INSN_BIAS.
326 * rtl.c (note_insn_name): Tweak string order.
328 2000-04-15 Zack Weinberg <zack@wolery.cumb.org>
330 * cpplex.c (_cpp_read_and_prescan): Enlarge len by setting it
333 * cpplex.c (output_line_command): Remove debugging prints.
334 (cpp_output_tokens): Don't write out a zero-length buffer or
335 try to see if it has a newline in it.
336 (_cpp_expand_to_buffer): Copy the source buffer before pushing.
337 (_cpp_read_and_prescan): Move shift-down of pushback bytes to
338 the end of the loop. Use memmove. Don't read past the end of
339 the buffer. Remove trailing newlines from error messages.
341 2004-04-16 Neil Booth <NeilB@earthling.net>
343 * cpphash.h (SYNTAX_INCLUDE, SYNTAX_ASSERT, directive_handler): new.
344 * cpplib.c: Add new syntax flags to directive table, and
347 2000-04-15 Ulrich Drepper <drepper@redhat.com>
349 * i386.c (ix86_expand_epilogue): Yes, the x86 can pop 64k at once
352 2000-04-15 David Edelsohn <edelsohn@gnu.org>
354 * toplev.c (display_help): Prefix "f" to "sched-verbose=".
355 * haifa-sched.c: Update -fsched-verbose comments to use "=".
357 Sat Apr 15 10:59:19 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
359 * Makefile.in (ggc-page.o): Now includes toplev.h.
360 * ggc-page.c (toplev.h): Now included.
361 (gc_time): Remove declaration.
362 (ggc_collect): TIME now long.
363 * toplev.c (parse_time, varasm_time, gc_time): Still global; all
365 * toplev.h (gc_time, parse_time, gc_time): New declarations.
367 * toplev.c: Make *_time variable long to reduce chance of overflow.
368 (TIMEVAR): Likewise for `otime'.
369 (print_time): Arg is now long; compute percentage in FP and round.
370 * toplev.h (print_time): Arg is long.
372 * tree.c: Minor whitespace changes.
374 * configure.in (alpha*-*-*): Add config/alpha/t-alpha.
375 * configure: Rebuilt.
376 * libgcc2.c (__fixunstfDI): Renamed from __fixunstfdi.
377 (__fixunsxfDI): Renamed from __fixunsxfdi.
378 (__fixunsdfDI): Renamed from __fixunsdfdi.
379 (__fixunssfDI): Renamed from __fixunssfdi.
380 (__floatdisf): Use proper type in REP_BIT macro.
381 (__fixunsxfSI): Renamed from __fixunsxfsi.
382 (__fixunsdfSI): Renamed from __fixunsdfsi.
383 (__fixunssfSI): Renamed from __fixunssfsi.
384 * libgcc2.h: Add cases for MIN_UNITS_PER_WORD > 4.
385 Change location of macros and upper-case some names as above.
386 * longlong.h ([alpha]): Use PARAMS, not __P in decl of __udiv__qrnnd.
387 * config/alpha/t-alpha, config/alpha/qrnnd.asm: New files.
389 * varasm.c (assemble_variable): Add cast to remove warning.
390 (immed_real_const_1): Only use CONST[01]_RTX if not in nested function.
392 * flow.c (count_basic_blocks, find_basic_blocks_1): Remove last change.
393 * optabs.c (emit_libcall_block): If have REG_EH_REGION, update
396 2000-04-15 Richard Earnshaw (rearnsah@arm.com)
398 * emit-rtl.c (unshare_all_rtl_again): Unmark everything, then
399 call unshare_all_rtl.
401 * arm.md (movhi): REGNO_POINTER_ALIGN is now bits.
403 Fri Apr 14 16:58:45 2000 Jim Wilson <wilson@cygnus.com>
405 * config/ia64/lib1funcs.asm (__divdi3, __moddi3, __udivdi3, __umoddi3):
406 Use .s1 not .s0 for all FP instructions.
408 2000-04-14 Zack Weinberg <zack@wolery.cumb.org>
410 * cpplex.c (cpp_output_tokens, cpp_scan_buffer_nooutput): New public
412 (safe_fwrite, output_line_command): New static functions.
413 (cpp_expand_to_buffer): Now private to cpplib.
414 (cpp_scan_buffer): Take a printer.
416 * cpphash.h: Update prototypes.
417 * cpplib.h: Update prototypes.
419 (cpp_buffer): Remove last_nominal_fname.
420 (cpp_reader): Remove lineno.
422 * cppmain.c: Use a cpp_printer.
423 * fix-header.c: No need to inhibit line commands. Call
424 cpp_start_read with no printer.
426 * cpperror.c (cpp_notice_from_errno): Provide default name.
427 * cppfiles.c (make_IHASH, _cpp_fake_ihash): New functions.
428 (find_include_file, cpp_read_file): Use make_IHASH.
429 (file_cleanup): Set control_macro and clear
430 input_stack_listing_current here.
431 (_cpp_execute_include): Don't output entering-file marker.
432 * cpphash.c (special_symbol): Look for the line number in the
433 buffer, not the reader.
434 (_cpp_macroexpand): No need to disable line commands.
435 (_cpp_dump_definition): No need to generate line commands.
436 (dump_hash_helper): Remove excess newline from output.
437 * cppinit.c (dump_special_to_buffer): No need to generate line
439 (cpp_printer_init): New.
440 (cpp_start_read): Take a printer, and start it up if it's not
441 NULL. No need to generate line commands.
442 (cpp_finish): Expect no buffers stacked at all. Take a
443 printer argument, and flush the output buffer if it's not
445 * cpplex.c (_cpp_lex_token): Return EOF if there's no buffer.
446 Don't put two hashes at the beginning of an assertion.
447 (cpp_get_token): Don't increment pfile->lineno or emit line
448 commands here. Return EOF if there's no buffer when we get
450 * cpplib.c (do_define, skip_if_group):
451 No need to disable line commands.
452 (_cpp_output_line_command): Delete function.
453 (do_line): Don't emit line commands here, but set things up so
454 they will be emitted if necessary. Use _cpp_fake_ihash to
455 make unique nominal_fnames if necessary.
456 (do_elif, do_else, _cpp_handle_eof): Call cpp_error_with_line
457 with 0 for column, not -1.
458 (_cpp_handle_eof): Don't set the control macro here. Don't
459 clear input_stack_listing_current here. Don't emit line
462 2000-04-14 Geoff Keating <geoffk@cygnus.com>
464 * config/rs6000/sysv4.h (LINK_START_SOLARIS_SPEC): Define to empty
465 always, use the default SVR4 start address.
467 * config/rs6000/linux.h (LINK_SPEC): Don't define.
468 (LINK_SHLIB_SPEC): Define.
469 (LINK_START_DEFAULT_SPEC): Define.
470 (LINK_OS_DEFAULT_SPEC): Define.
472 * config/rs6000/sysv4.h (ENDFILE_SPEC): Use the %(endfile_*) macros.
474 * config/rs6000/eabi.asm (__eabi): Call __init rather than
475 __do_global_ctors to handle constructors.
476 * config/rs6000/sysv4.h (STARTFILE_ADS_SPEC): Use crtbegin.
477 (STARTFILE_YELLOWKNIFE_SPEC): Likewise.
478 (STARTFILE_MVME_SPEC): Likewise.
479 (STARTFILE_SIM_SPEC): Likewise.
480 (ENDFILE_ADS_SPEC): Use crtend.
481 (ENDFILE_YELLOWKNIFE_SPEC): Likewise.
482 (ENDFILE_MVME_SPEC): Likewise.
483 (ENDFILE_SIM_SPEC): Likewise.
484 (STARTFILE_SOLARIS_SPEC): Use crtbegin/crtbeginS.
485 (ENDFILE_SOLARIS_SPEC): Use crtend/crtendS.
486 (STARTFILE_LINUX_SPEC): Use crtbeginS for shared objects.
487 (ENDFILE_LINUX_SPEC): Use crtendS for shared objects.
488 * config/rs6000/t-ppccomm (LIB2FUNCS_EXTRA): Don't build eabi-ctors.o.
489 (EXTRA_MULTILIB_PARTS): Build crtbeginS/crtendS.
490 (CRTSTUFF_T_CFLAGS_S): Define.
491 * config/rs6000/eabi-ctors.c: Delete.
493 * config/rs6000/eabi-ci.asm (__init): Align stack to 16-byte
496 * config/rs6000/eabi-cn.asm (__init): Allow for 16-byte stack frame.
500 Fri Apr 14 16:09:02 2000 Jim Wilson <wilson@cygnus.com>
502 * combine.c (force_to_mode, case LSHIFTRT): Check that shift shift
503 plus mask size is smaller or equal to the mode size.
505 Fri Apr 14 18:07:30 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
507 * print-rtl.c (print_rtx, case NOTE): Don't blow up if NOTE_BASIC_BLOCK
510 * expr.c (reload.h): Now included.
511 (emit_block_move): Set volatile_ok when checking for movstr.
512 (emit_move_1): Check for replacements in addresses in multi-word case.
513 * Makefile.in (expr.o): Now includes reload.h.
515 * flow.c (count_basic_blocks): Remove unused var PREV_CALL.
516 Never have a LIBCALL end a basic block.
517 (find_basic_blocks_1): Likewise.
518 Reorganize CALL_INSN cases.
520 * sbitmap.h (EXECUTE_IF_SET_IN_SBITMAP): Revert last change.
522 Fri Apr 14 10:54:22 2000 Jim Wilson <wilson@cygnus.com>
524 * config/ia64/lib1funcs.asm (__ia64_nonlocal_goto): Drop obsolete
525 completers from mov.ret instruction.
527 2000-04-14 Richard Henderson <rth@cygnus.com>
529 * fold-const.c (extract_muldiv): Don't distribute and widen
530 multiply across plus for non-sizetype unsigned types.
532 2000-04-14 Richard Henderson <rth@cygnus.com>
534 * flow.c (find_auto_inc): Don't autoinc eliminable registers.
535 If the original source is dead in the incr insn, it's dead now.
537 Fri Apr 14 07:40:32 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
539 * stor-layout.c (layout_decl): Properly compare KNOWN_ALIGN to
540 see if DECL_BIT_FIELD needs to still be set.
542 * tree.h (struct tree_type): Make PRECISION 9 bits and MODE 7.
544 * dbxout.c (dbxout_type, case INTEGER_TYPE): Don't call
545 print_int_cst_octal with something that's not an INTEGER_CST.
547 * config/alpha/alpha.c (alpha_emit_floatuns): Ensure we pass a REG
548 and not a SUBREG to a FLOAT rtl.
550 Thu Apr 13 19:39:56 2000 Clinton Popetz <cpopetz@cygnus.com>
552 * emit-rtl.c (try_split): Avoid infinite loop if the split
553 results in a sequence that contains the original insn.
555 2000-04-13 Andreas Jaeger <aj@suse.de>
557 * config/mips/mips.c (expand_block_move): Pass alignment
558 argument to move_by_pieces in bits, not bytes.
560 * config/mips/linux.h (CPP_PREDEFINES): Also define __PIC__ and
561 __pic__ for little endian.
563 2000-04-13 Andreas Jaeger <aj@suse.de>
565 * config/i386/i386-protos.h: Add prototype for
566 uno_comparison_operator.
568 Thu Apr 13 15:55:08 MET DST 2000 Jan Hubicka <jh@suse.cz>
570 * alias.c (nonlocal_reference_p): Take care of CALL_INSNS's fusage.
571 * calls.c (ECF_PURE): New flag.
572 (emit_call_1): Handle ECF_PURE calls.
573 (initialize_argument_information): Unset ECF_PURE flag too.
574 (precompute_arguments): Precompute for ECF_PURE too.
575 (expand_call): Handle ECF_PURE calls too.
576 (emit_library_call_value_1): Rename no_queue argument to fn_type,
577 accept value of 2 as pure function.
578 (emit_library_call_value, emit_library_call): Rename no_queue argument
580 * optabs.c (prepare_cmp_insn): Pass fn_type 2 to memcmp call.
582 * tree.h (DECL_IS_PURE): New macro.
583 (struct tree_decl): Add pure_flag.
584 * c-common.c (enum attrs): Add attribute "pure".
585 (init_attributes): Initialize attribute "pure"
586 (decl_attributes): Handle attribute "pure".
587 * extend.texi (Attribute "pure"): Document.
588 * calls.c (expand_call): Add (mem:BLK (scratch)) to "equal from"
590 (flags_from_decl_or_type): Support attribute "pure".
592 2000-04-13 Jason Merrill <jason@casey.cygnus.com>
594 * cpplex.c (_cpp_lex_token): Handle digraphs. Don't null-terminate
595 the token except for numbers and identifiers.
597 Thu Apr 13 00:09:16 EDT 2000 John Wehle (john@feith.com)
599 * i386.c (ix86_expand_binary_operator,
600 ix86_expand_unary_operator): Check no_new_pseudos
601 instead of reload_in_progress and reload_completed.
602 (ix86_split_ashldi, ix86_split_ashrdi,
603 ix86_split_lshrdi): Check no_new_pseudos instead
606 2000-04-12 Jeffrey A Law (law@cygnus.com)
608 * function.c (purge_addressof): Unshare any shared rtl created by
609 purge_addressof and its children.
611 2000-04-12 Mark Mitchell <mark@codesourcery.com>
613 * function.c (aggregate_value_p): VOID_TYPE nodes are never
616 2000-04-05 Andreas Jaeger <aj@suse.de>
618 * config/mips/linux.h (SUBTARGET_ASM_SPEC): Use proper flags if
619 not compiling PIC code, add flags for mabi=64.
620 (SUBTARGET_CPP_SIZE_SPEC): New.
621 (SUBTARGET_CPP_SPEC): New.
622 (CPP_PREDEFINES): Define __PIC__ and __pic__. PIC code is default
623 for MIPS/Linux and lots of code needs these defines.
625 Wed Apr 12 22:44:11 2000 Hans-Peter Nilsson <hp@axis.com>
627 * reorg.c (fill_slots_from_thread): Check side_effects_p when
628 trying the "opposite arithmetic" approach.
630 Wed Apr 12 20:51:20 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
632 * sh.h (STRUCT_VALUE): Just 0 for TARGET_HITACHI.
633 (struct sh_args): Add new field force_mem.
634 (INIT_CUMULATIVE_ARGS): Initialize it.
635 (FUNCTION_ARG, FUNCTION_ARG_ADVANCE): Act on it.
637 Wed Apr 12 17:20:41 MET DST 2000 Jan Hubicka <jh@suse.cz>
639 * calls.c (expand_call): Do not reverse args in "equal from" field.
640 (emit_library_call_value_1): Emit_libcall_block for const and pure
643 Wed Apr 12 16:00:25 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
645 * reload1.c (reload_combine): Don't enable optimization for fixed
646 registers when encountering a BARRIER.
648 Wed Apr 12 15:54:11 MET DST 2000 Jan Hubicka <jh@suse.cz>
650 * builtins.c (expand_builtin_memcmp): Do expansion even with
651 !HAVE_cmpstrsi, do libcall when gen_strcmpsi fails.
653 * calls.c (expand_call): Do NO_DEFER_POP unconditionally once
654 stack is propertly aligned; add sanity checking for aligned
656 (expand_library_call_value_1): Add sanity checking for aligned
659 Wed Apr 12 07:51:54 2000 Catherine Moore <clm@cygnus.com>
661 * calls.c (emit_library_call_value_1): Change 3rd arg to
662 locate_and_pad_parm to disregard the setting of partial.
664 Wed Apr 12 08:47:38 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
666 * tree.c (unsave_expr_now_r, unsafe_for_reeval): Properly do TREE_LIST.
668 * print-rtl.c (print_rtx): For CALL_PLACEHOLDER, output the
669 CALL_INSN from the normal case.
671 Fri Apr 7 12:23:04 MET DST 2000 Jan Hubicka <jh@suse.cz>
673 * i386.c (x86_sub_esp_4, x86_sub_esp_8, x86_add_esp_4, x86_add_esp_8):
674 New global variables.
675 (ix86_emit_epilogue_adjustment): Do not attempt to use pop for the
677 * i386.h (x86_sub_esp_4, x86_sub_esp_8, x86_add_esp_4, x86_add_esp_8):
679 (TARGET_SUB_ESP_4, TARGET_SUB_ESP_8, TARGET_ADD_ESP_4,
680 TARGET_ADD_ESP_8): New macros.
681 * i386.md: Add peep2s to convert esp adjustments to push and pop
683 (pushsi_prologue, popsi_epilogue): New patterns.
685 2000-04-12 Jakub Jelinek <jakub@redhat.com>
687 * real.c (toe64): Remove stale #endif from the last change.
689 2000-04-12 Stephen L Moshier <moshier@mediaone.net>
691 * real.h (MAX_LONG_DOUBLE_TYPE_SIZE): Comment.
692 * real.c (toe64): Revert previous change.
694 2000-04-12 Jakub Jelinek <jakub@redhat.com>
696 * objc/objc-act.c: Include ggc.h.
697 (objc_tree_index, objc_global_trees): Convert most of the
698 static tree variables into a static array with previous names
700 (objc_ellipsis_node): New variable.
701 (lang_init): Call objc_act_parse_init and c_parse_init.
702 Create objc_ellipsis_node.
703 (build_selector_translation_table): Use objc_ellipsis_node instead
705 (hack_method_prototype): Likewise.
706 (get_arg_type_list): Likewise.
707 (start_method_def): Likewise.
708 (continue_method_def): Likewise.
709 (gen_method_decl): Likewise.
710 (ggc_mark_imp_list): New function.
711 (ggc_mark_hash_table): New function.
712 (objc_act_parse_init): New function.
713 * objc/objc-act.h (objc_ellipsis_node): Add extern variable.
714 * c-parse.in (c_parse_init): For objc add roots of objc specific
715 local tree variables.
716 * objc/objc-parse.y: Rebuilt.
717 * objc/objc-parse.c: Rebuilt.
718 (opt_parm_list): Use objc_ellipsis_node instead of (tree)1.
720 Wed Apr 12 01:00:44 EDT 2000 John Wehle (john@feith.com)
722 * cse.c (delete_trivially_dead_insns): Also delete insns
723 that copy a register to itself where the destination is
726 2000-04-11 Richard Henderson <rth@cygnus.com>
728 * flow.c (struct propagate_block_info): Add new_dead, new_live.
729 (propagate_block): Initialize them. Use them in parallel instead
730 of one tmp variable, ie revert much of the 0408 and 0407 functional
731 changes, but keep the structural changes.
732 (mark_set_regs): Take new_dead from propagate_block_info instead.
733 (mark_set_1, mark_set_reg): Likewise.
734 (mark_used_regs): Likewise with new_live.
735 (mark_used_reg): Likewise. Revert 0408 change.
737 2000-04-11 Nick Clifton <nickc@cygnus.com>
739 * config/arm/arm.h: (INCOMING_RETURN_ADDR_RTX): Remove Dwarf2
741 (DWARF_FRAME_RETURN_COLUMN): Remove Dwarf2 restriction.
743 2000-04-11 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
745 * config/elfos.h (SELECT_SECTION): Decide whether to use a data or
746 const section to output a CONSTRUCTOR based on the same conditions
749 Tue Apr 11 09:55:59 2000 Jeffrey A Law (law@cygnus.com)
751 * pa/long-double.h (FIX_TRUNCTFSI2_LIBCALL): Tweak for PA64.
752 * pa/pa-protos.h (output_call): Add additional argument indicating
753 if the call is a sibling/tail call.
754 (compute_zdepdi_operands, output_64bit_and): Prototype new functions.
755 (compute_64bit_ior, cmpib_comparison_operator): Likewise.
756 (function_arg, function_arg_partial_nregs): Likewise
757 * pa/pa.c (override_options): Always set flag_pic for TARGET_64BIT.
758 (emit_move_sequence): Zero extend certain constants as needed
760 (compute_zdepdi_operands, output_64bit_and): New functions.
761 (output_64bit_ior, function_arg): Likewise.
762 (cmpib_comparison_operator, function_arg_partial_nregs): Likewise.
763 (compute_frame_size, hppa_expand_prologue): Handle TARGET_64BIT.
764 (hppa_expand_epilogue, return_addr_rtx, hppa_va_arg): Likewise.
765 (hppa_builtin_saveregs, output_cbranch, output_bb): Likewise.
766 (output_bvb): Likewise.
767 (output_millicode_call): Return pointer is in %r2 for TARGET_64BIT.
768 (output_call): New argument 'sibcall'. Generate sibcall sequences
770 (print_operand); Handle cases 'Q', 'p', and 'z' for TARGET_64BIT. For
771 (ouput_arg_descriptor): Do not emit argument descriptors for
773 * pa/pa.h (TARGET_PA_11, TARGET_PA_20): Only define if not already
775 (TARGET_64BIT, PROMOTE_FUNCTION_RETURN): Define.
776 (FUNCTION_OK_FOR_SIBALL): Define.
777 (CPP_PA10_SPEC, CPP_PA11_SPEC, CPP_PA20_SPEC): Define.
778 (CPP_CPU_DEFAULT_SPEC, SUBTARGET_EXTRA_SPECS, EXTRA_SPECS): Likewise.
779 (CPP_SPEC): Use new spec infrastructure.
780 (BITS_PER_WORD, UNITS_PER_WORD): Handle TARGET_64BIT.
781 (STACK_BOUNDARY, FUNCTION_BOUNDARY, PIC_OFFSET_TABLE_REGNUM): Likewise.
782 (RETURN_IN_MEMORY, EXTRA_CONSTRAINT, FIRST_PARM_OFFSET): Likewise.
783 (REG_PARM_STACK_SPACE, STACK_POINTER_OFFSET): Likewise.
784 (STACK_DYNAMIC_OFFSET, FUNCTION_VALUE): Likewise.
785 (FUNCTION_ARG_PASS_BY_REFERENCE, FUNCTION_ARG_CALLEE_COPIES): Likewise.
786 (TRAMPOLINE_TEMPLATE, TRAMPOLINE_SIZE): Likewise.
787 (INITIALIZE_TRAMPOLINE, LEGITIMATE_CONSTANT_P): Likewise.
788 (CONST_OK_FOR_LETTER_P, MOVE_RATIO): Likewise.
789 (FUNCTION_ARG); Call out to C code.
790 (FUNCTION_ARG_PARTIAL_NREGS): Likewise.
791 (MAX_BITS_PER_WORD, MAX_LONG_TYPE_SIZE, MAX_WCHAR_TYPE_SIZE): Define.
792 (MIN_UNITS_PER_WORD): Likewise.
793 * pa/pa.md (cmpdi): New expander.
794 (scc patterns, movstrsi): Not available for TARGET_64BIT.
795 (64bit conditional arithmetic): New patterns.
796 (absdi2, smindi3, umindi3, smaxdi3, umaxdi3): New patterns.
797 (movsicc): Not available if modes on all the operands to not match.
798 (movdicc): New expander and associated patterns.
799 (64bit branches): New patterns.
800 (pre_load, post_store): Generate appropriate code for TARGET_64BIT.
801 (pre_ldd, post_std): New patterns.
802 (64bit addil, load low part): New patterns.
803 (special movsf constant): Not available for TARGET_64BIT.
804 (movsf, movdf expanders): Force constants into memory.
805 (32bit movdf/movdi patterns): Disable for TARGET_64BIT.
806 (64bit movdf/movdi patterns): New patterns.
807 (zero_extendqidi2, zero_extendhidi2, zero_extendsidi2): New patterns
809 (extendqidi2, extendhidi2, extendsidi2): Similarly.
810 (adddi3 expander): Allow "arith_operand" for second input.
811 (32bit adddi3, subdi3, uaddcm): Disable for TARGET_64BIT.
812 (64bit adddi3, subsi3, uaddcm): New patterns for TARGET_64BIT.
813 (mulsi3 expander): Revamp slightly so it supports TARGET_64BIT too.
814 (muldi3): New expander for TARGET_64BIT.
815 (divsi3, udivsi3, modsi3, umodsi3): Fourth operand must be (reg:SI 2)
817 (32bit anddi3, iordi3, xordi3, andcm, negdi2, uaddcm): Disable
818 patterns for TARGET_64BIT.
819 (64bit anddi3, iordi3, xordi3, andcm, negdi2, uaddcm, shadd): New
820 patterns for TARGET_64BIT.
821 (64bit bit insertion/extractions): New patterns for TARGET_64BIT.
822 (64bit shifts/rotates): New patterns/expanders for TARGET_64BIT.
823 (sibcall_epilogue): New expander.
824 (casesi): Tweak for TARGET_64BIT.
825 (call expanders): Set & use the outgoing argument pointer. Use the
826 64bit call patterns as needed. Add additional arg to output_call.
827 (call_internal_reg_64bit, call_value_internal_reg_64bit): New pattern.
828 (sibcall, sibcall_internal_symref): New expanders.
829 (sibcall_value, sibcall_value_internal_symref
830 (interspace_jump): Turn into an expander + matching patterns.
831 (canonicalize_funcptr_for_compare): Not needed for TARGET_64BIT.
832 * pa/pa64-regs.h: Eliminate trigraph sequences.
833 * pa/pa64-start.h (TARGET_PA_20): Fix typo.
835 2000-04-11 Zack Weinberg <zack@wolery.cumb.org>
837 * cppexp.c, cpphash.c, cpphash.h, cpplex.c, cpplib.c,
838 cpplib.h, cppmain.c, fix-header.c, scan-decls.c: Replace
839 cpp_token with cpp_ttype everywhere.
840 * cpperror.c, cpphash.c, cpplex.c, cpplib.c, scan-decls.c:
841 Replace cpp_buf_line_and_col with CPP_BUF_LINE and/or
842 CPP_BUF_COL. Line and column numbers are unsigned int, not
844 * cpplex.c (cpp_buf_line_and_col): Delete.
845 * cpplib.h (struct cpp_buffer, struct cpp_reader): Change
846 'long lineno' to 'unsigned int lineno'.
847 (CPP_BUF_LINE, CPP_BUF_COL): New macros.
849 2000-04-11 Martin v. Löwis <loewis@informatik.hu-berlin.de>
851 * extend.texi: ISO C99 is not a draft anymore.
852 * invoke.texi: ISO C++ is not a draft anymore.
853 * cpp.texi: __cplusplus is required by the ISO standard.
855 * extend.texi (-fthis-is-variable): Undocument.
856 * flags.h (warn_template_debugging): Remove declaration.
857 * gcc.1 (-fall-virtual, -fenum-int-equiv, -fthis-is-variable,
858 -Wenum-clash, -Wtemplate-debugging): Undocument.
860 2000-04-10 Nick Clifton <nickc@cygnus.com>
862 * config/arm/arm.h (HOST_INT): New macro: Declare a HOST_WIDE_INT
864 (HOST_UINT): New macro: Declare an unsigned HOST_WIDE_INT
866 (ARM_SIGN_EXTEND): Use HOST_UINT.
867 (STRIP_NAME_ENCODING): Prevent warnings about redefinitions.
868 (ASM_OUTPUT_LABELREF): Prevent warnings about redefinitions.
869 (INCOMING_RETURN_ADDR_RTX): Only define if Dwarf2 is supported.
870 (DWARF_FRAME_RETURN_COLUMN): Only define if Dwarf2 is supported.
872 * config/arm/arm.c: (const_ok_for_arm): Use HOST_UINT.
873 (arm_gen_constant): Use HOST_UINT.
874 (arm_canonicalize_constant): Use HOST_UINT.
875 (arm_reload_in_hi): Use HOST_UINT.
876 (arm_reload_out_hi): Use HOST_UINT.
877 (output_multi_immediate): Use HOST_UINT.
878 (int_log2): Use HOST_UINT.
879 (arm_poke_function_name): Use HOST_UINT.
880 (arm_output_epilogue): Use arm_volatile_func().
881 (output_thumb_prologue): Use arm_strip_name_encoding().
883 Mon Apr 10 15:40:59 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
885 * sbitmap.c (sbitmap_a_subset_b_p): Rework loop to avoid potential
886 of sequence point problems.
888 2000-04-10 Nathan Sidwell <nathan@codesourcery.com>
890 * rtl.def (ASHIFT, ROTATE, ASHIFTRT, LSHIFTRT, ROTATERT):
892 * tree.def (LSHIFT_EXPR, RSHIFT_EXPR): Recomment.
894 Mon Apr 10 07:21:13 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
896 * sbitmap.h: Whitespace changes and use upper-case macro args.
897 (struct simple_bitmap_def): All sizes now unsigned.
898 (EXECUTE_IF_SET_IN_SBITMAP): Internal vars now _X instead of X_.
899 * sbitmap.c (sbitmap_alloc): N_ELMS now unsigned; also local vars.
900 (sbitmap_vector_alloc): Parms and local vars now unsigned.
901 (sbitmap_zero): Cast bzero arg to PTR.
902 (sbitmap_vector_zero, sbitmap_vector_one): Parm and Local var unsigned.
903 (sbitmap_union_of_diffs): Change loop index to unsigned and rework
904 loop to make structure clearer.
905 (sbitmap_not, sbitmap_difference, sbitmap_a_and_b): Likewise.
906 (sbitmap_a_or_b, sbitmap_a_subset_b_p, sbitmap_a_or_b_and_c): Likewise.
907 (sbitmap_a_and_b_or_c): Likewise.
908 (sbitmap_intersection_of_succs): Minor cleanups.
909 (sbitmap_intersection_of_preds, sbitmap_union_of_succs): Likewise.
910 (sbitmap_union_of_preds): Likewise.
911 (sbitmap_first_set_bit, dump_sbitmap): Local variables now unsigned.
912 (debug_sbitmap): New function.
914 * c-convert.c (convert): Handle REFERENCE_TYPE like POINTER_TYPE.
915 * c-typeck.c (convert_for_assignment): Likewise.
917 * expmed.c (init_expmed): Don't free objects we make.
918 * emit-rtl.c (gen_rtx_CONST_INT, init_emit_once): Minor cleanups.
920 * expr.c (get_inner_reference): Correct some WITH_RECORD_EXPR cases.
921 (expand_expr, case CONVERT_EXPR): Pass proper alignment to store_field.
923 * gcse.c (expr_hash_table_size): Now unsigned.
924 (compute_ae_gen): Local variable `i' now unsigned.
925 (compute_ae_kill, pre_insert_copies, pre_delete, pre_gcse): Likewise.
926 (compute_transout, hoist_code): Likewise.
927 (compute_local_properties): Likewise, also hash_table_size.
928 (alloc_expr_hash_table): N_INSNS now unsigned.
929 (delete_null_pointer_checks): Mark arg F as unused.
931 * regrename.c: Minor cleanups, including chang some variables
934 2000-04-10 Neil Booth <NeilB@earthling.net>
936 * cpplex.c (skip_block_comment): Use pointer arithmetic rather
938 * cpphash.h: (CPP_BUMP_BUFFER_LINE_CUR, CPP_BUMP_LINE_CUR): New.
940 2000-04-10 Martin v. Löwis <loewis@informatik.hu-berlin.de>
942 * invoke.texi (-fno-gnu-keywords): Remove classof, headof,
943 __classof__, and __headof__ from the list of gnu keywords.
944 (-ansi): Remove -foperator-names from list of implied options.
945 Do not call it ANSI C++.
946 (-foperator-names): Document as -fno-operator-names.
948 2000-04-09 Zack Weinberg <zack@wolery.cumb.org>
950 * cpphash.c (timestamp): Delete.
951 (del_HASHNODE): If type is T_MCONST, free value.cpval.
952 (special_symbol): Remove unnecessary braces. Remove
953 T_VERSION. Treat T_STDC like T_CONST unless
954 STDC_0_IN_SYSTEM_HEADERS. Render both __DATE__ and __TIME__
955 when one is encountered, then convert them into T_MCONST
957 * cppinit.c (builtin_array): version_string is T_MCONST.
958 __STDC__ has a "1" in its cpval. Don't have a terminator
959 entry. Clean up which entries are dumped.
960 (initialize_builtins): Only __STDC__ gets the special
961 -traditional treatment. Count the length of builtin_array.
962 Render version_string here.
963 * cpphash.h: Remove T_VERSION. Add T_MCONST.
964 * cpplib.h (struct cpp_reader): Remove timebuf.
966 2000-04-09 Richard Henderson <rth@cygnus.com>
968 * genrecog.c (pred): Update comparison_operator for the unordered
971 * config/i386/i386.c (no_comparison_operator): Disallow unordered
973 (fcmov_comparison_operator): Allow UNORDERED/ORDERED.
974 (uno_comparison_operator): New.
975 (put_condition_code): Handle UNORDERED/ORDERED.
976 (unsigned_comparison): Likewise.
977 (ix86_fp_compare_mode): Broken out of ix86_expand_fp_compare.
978 (ix86_use_fcomi_compare, ix86_prepare_fp_compare_args): Likewise.
979 (ix86_expand_fp_compare): Use them. Take scratch as argument,
980 update all callers. Handle all 8 unordered operators.
981 (ix86_expand_setcc): Lose the unordered argument, update all callers.
982 (ix86_expand_branch): Likewise. Don't fully expand fp branches.
983 * config/i386/i386.h (PREDICATE_CODES): Update.
984 * config/i386/i386-protos.h (ix86_expand_fp_compare): Declare.
985 (ix86_expand_branch, ix86_expand_setcc): Update.
986 * config/i386/i386.md (sunordered, sordered): New.
987 (suneq, sunge, sungt, sunle, sunlt, sltgt): New.
988 (bunordered, bordered): New.
989 (buneq, bunge, bungt, bunle, bunlt, bltgt): New.
990 (*fp_jcc_1, *fp_jcc_2, *fp_jcc_3, *fp_jcc_4): New.
991 (*fp_jcc_5, *fp_jcc_6, and splitters): New.
993 2000-04-09 Philip Blundell <philb@gnu.org>
995 * config/arm/arm.h (ARM_NAME_ENCODING_LENGTHS): Strip `*' too.
997 Sun Apr 9 15:16:14 EDT 2000 John Wehle (john@feith.com)
999 * i386.md (fix_truncsfhi2, fix_truncdfhi2,
1000 fix_truncxfhi2): New patterns.
1001 * i386.c (output_fix_trunc): Handle converting to HImode.
1003 2000-04-08 Alex Samuel <samuel@codesourcery.com>
1005 * ssa.c (convert_to_ssa): Eliminate dead code when calling
1007 (convert_from_ssa): Call compute_bb_for_insn before life_analysis.
1008 (for_each_successor_phi): Change parameter to basic_block.
1009 (coalesce_regs_in_successor_phi_nodes): Likewise.
1010 (coalesce_regs_in_copies): Likewise.
1011 (compute_coalesced_reg_partition): Use basic_block instead of index.
1012 * rtl.h (convert_to_ssa): Delete.
1013 (convert_from_ssa): Likewise.
1014 (successor_phi_fn): Likewise.
1015 (for_each_successor_phi): Likewise.
1016 (in_ssa_form): Likewise.
1017 * basic-block.h (convert_to_ssa): Moved from rtl.h.
1018 (convert_from_ssa): Likewise.
1019 (successor_phi_fn): Likewise.
1020 (in_ssa_form): Likewise.
1021 (for_each_successor_phi): Likewise. Change parameter to basic_block.
1022 * flow.c (calculate_global_regs_live): Pass a basic_block to
1023 for_each_successor_phi.
1025 2000-04-08 Richard Henderson <rth@cygnus.com>
1027 * flow.c (mark_used_reg): Use reg_set_p to determine if a register
1028 was modified in the current insn.
1030 2000-04-08 Richard Earnshaw (rearnsha@arm.com)
1032 * arm/thumb.md: Delete.
1033 * arm/thumb-protos.h: Delete.
1035 2000-04-08 Richard Earnshaw (rearnsha@arm.com)
1037 Merge changes from merged-arm-thumb-backend-branch onto trunk.
1039 2000-04-08 Richard Earnshaw (rearnsha@arm.com)
1041 * Merge trunk code from tag merged-arm-thumb-backend-merge_20000408
1044 * arm.md (nop): Use the standard RTL expression. Don't code as a
1046 (*arm_nop, *thumb_nop): Delete.
1048 * arm.c (const_ok_for_arm): Don't use ANSI extensions for defining
1049 constants. Use casts instead.
1050 (arm_gen_constant, arm_rtx_costs, arm_reload_in_hi, arm_reload_out_hi,
1051 output_multi_immediate, arm_poke_function_name): Likewise.
1052 * arm.h (ARM_LEGITIIMIZE_RELOAD_ADDRESS, ARM_SIGN_EXTEND,
1053 MASK_RETURN_ADDDR): Likewise.
1055 2000-03-31 Richard Earnshaw (rearnsha@arm.com)
1057 * Merge trunk code from tag merged-arm-thumb-backend-merge_20000325
1060 * arm.md (eh_epilogue): New function.
1061 * arm.h (struct machine_function): Move to here ...
1062 * arm.c: ... from here.
1063 (arm_output_epilogue): Support epilogues for __builtin_eh_return.
1064 (thumb_exit): Extra parameter eh_ofs. All callers changed.
1065 Handle epilogues for __builtin_eh_return. Make bit-fields unsigned.
1067 2000-03-30 Nick Clifton <nickc@cygnus.com>
1069 * config/arm/semi.h (ASM_SPEC): Restore definition.
1070 (SUBTARGET_EXTRA_ASM_SPEC): Define if not already defined.
1072 * config/arm/elf.h (ASM_SPEC): Restore definition.
1073 (SUBTARGET_EXTRA_ASM_SPEC): Define if not already defined.
1075 * config/arm/arm.h (ASM_SPEC): Remove definition.
1076 (SUBTARGET_EXTRA_ASM_SPEC): Remove definition.
1078 2000-03-26 Bernd Schmidt <bernds@cygnus.co.uk>
1080 * config/arm/arm.c: Disable -fschedule-insns for Thumb.
1082 2000-03-24 Nick Clifton <nickc@cygnus.com>
1084 Various formating tidyups, elimination of compile time
1085 warnings and synchronisation with internal sources:
1087 * config/arm/arm-protos.h (assemble_align): Add prototype.
1088 (gen_rotated_half_load): Rename to arm_gen_rotated_half_load.
1089 (gen_comapre_reg): Rename to arm_gen_compare_reg.
1090 (arm_return_addr_rtx): Rename to arm_return_addr.
1092 * config/arm/arm.c: Include except.h.
1093 Define shorter typenames for strict minipool_node and struct
1095 (arm_return_in_memory): For WinCE return all structures <= 32 bits
1097 (gen_rotated_half_load): Rename to arm_gen_rotated_half_load.
1098 (gen_comapre_reg): Rename to arm_gen_compare_reg.
1100 * config/arm/arm.h (SUBTARGET_EXTRA_ASM_SPEC): Define if not
1102 (ASM_SPEC): Define if not already defined.
1103 (ASM_OUTPUT_DEF_FROM_DECLS): Define.
1105 * config/arm/arm.md: Rename references to gen_rotated_half_load to
1106 arm_gen_rotated_half_load, and references to gen_comapre_reg to
1107 arm_gen_compare_reg.
1108 (indirect_jump): Only accept register operands.
1109 (load_indirect_jump): Keep this pattern since combine can generate
1112 * config/arm/coff.h: Include aout.h.
1113 (MULTILIB_DEFAULTS): Only define if not already defined.
1115 * config/arm/elf.h (ASM_OUTPUT_DEF_FROM_DECLS): Move definition
1116 into arm.h (so that COFF ports can support thumb based aliases).
1117 (ASM_SPEC): Move definition into arm.h
1119 * config/arm/linux-elf.h (SUBTARGET_EXTRA_ASM_SPEC): Remove
1120 redundant apcs spec.
1121 (ASM_SPEC): Move definition to arm.h
1123 * config/arm/semi.h (ASM_SPEC): Move definition to arm.h
1125 * config/arm/unknown-elf.h (ASM_OUTPUT_SECTION_NAME): Add support
1126 for entries in the .bss section
1128 2000-03-23 Nick Clifton <nickc@cygnus.com>
1130 * config/arm/arm.h (THUMB_INITIAL_ELIMINATION_OFFSET): Pass 0
1131 to thumb_far_jump_used_p.
1133 * config/arm/arm-protos.h (thumb_far_jump_used_p): Take a
1134 single integer parameter.
1136 * config/arm/arm.c (struct machine_function): Add two new
1137 fields, 'far_jump_used' and 'arg_pointer_live'.
1138 (thumb_far_jump_used_p): Once the decision has been made that
1139 far jumps might be used, always return true.
1140 If being called from the initial elimination offset macro then
1141 do not bother to perform the test if the arg pointer is not
1143 (thumb_unexpand_epilogue): Pass 1 to thumb_far_jump_used_p().
1144 (output_thumb_prologue): Pass 1 to thumb_far_jump_used_p().
1146 2000-03-23 Richard Earnshaw (rearnsha@arm.com)
1148 * arm.c (output_return_instruction): Handle more cases where we can
1149 return from a function with an ldr instruction.
1150 (arm_output_epilogue): Likewise.
1152 * arm.c (thumb_expand_prologue): Don't clobber the frame pointer
1153 if we need to push a large stack frame and there are no callee-saved
1156 * arm.c (arm_debugger_arg_offset): An offset of 0 is also valid
1157 in ARM code if the frame pointer has been eliminated.
1159 * arm.md (epilogue, *epilogue_insns, consttable_*, align_4): Renumber
1160 unspec_volatile arguments to avoid duplicates.
1161 (consttable_1, consttable_2): Fixes for big-endian mode.
1163 * arm.md (all ARM-mode load insns): Add neg_pool_range attribute
1166 Re-write constant pool code.
1167 * arm.c (minipool_node, minipool_fix): New types.
1168 (minifix): Delete type.
1169 (arm_add_minipool_constant): Delete.
1170 (arm_compute_minipool_offsets, arm_find_barrier,
1171 arm_find_minipool_constant, fixup_compare, sort_fixups): Likewise.
1172 (get_jump_table_size): Now returns HOST_WIDE_INT.
1173 (move_minipool_fix_forward_ref, add_minipool_forward_ref): New
1175 (move_minipool_fix_backward_ref, add_minipool_backward_ref): Likewise.
1176 (assign_minipool_offsets, arm_print_value): Likewise.
1177 (dump_minipool): Rewrite.
1178 (arm_barrier_cost): New function.
1179 (create_fix_barrier): New function.
1180 (push_minipool_barrier): New function.
1181 (push_minipool_fix): Record additional information about the fixup
1183 (note_invalid_constants): Remove push for (UNSPEC 3). Don't
1184 check the mode of what needs fixing.
1185 (arm_reorg): Rewrite.
1187 2000-03-08 Nick Clifton <nickc@cygnus.com>
1189 * config/arm/arm.md (indirect_jump): Force constant addresses into
1192 2000-03-01 Bernd Schmidt <bernds@cygnus.co.uk>
1194 * config/arm/arm.md: Add splitter to turn SF moves into SI moves.
1196 2000-02-24 Nick Clifton <nickc@cygnus.com>
1198 * config/arm/arm.c (thumb_expand_prologue): Make sure that stack
1199 adjust is word aligned.
1200 (thumb_expand_epilogue): Make sure that stack adjust is word
1203 * config/arm/elf.h (ASM_FILE_START): Fix type of version string.
1205 2000-02-24 Bernd Schmidt <bernds@cygnus.com>
1207 * config/arm/arm.h (THUMB_GO_IF_LEGITIMATE_ADDRESS): Allow frame
1208 pointer relative addresses.
1210 2000-02-10 Richard Earnshaw <rearnsha@arm.com>
1212 * arm.c (find_barrier): Find the last barrier within the allowed
1215 2000-02-09 Nick Clifton <nickc@cygnus.com>
1217 * config/arm/arm-protos.h: Replace PROTO with PARAMS.
1219 2000-02-09 Nick Clifton <nickc@cygnus.com>
1221 * config/arm/linux-elf.h (FUNCTION_PROFILER): Rename to
1222 ARM_FUNCTION_PROFILER.
1224 * config/arm/netbsd.h (FUNCTION_PROFILER): Rename to
1225 ARM_FUNCTION_PROFILER.
1227 * config/arm/linux-oldld.h: Imported from mainline sources.
1229 2000-02-07 Nick Clifton <nickc@cygnus.com>
1231 * config/arm/lib1funcs.asm: Merge in thumb functions from
1234 * config/arm/lib1thumb.asm: Delete.
1236 2000-02-04 Nick Clifton <nickc@cygnus.com>
1238 * config/arm/arm.c: Sychronised with current Red hat local
1240 * config/arm/arm.h: Ditto.
1241 * config/arm/arm-protos.h: Ditto.
1243 2000-02-02 Bernd Schmidt <bernds@cygnus.co.uk>
1245 * arm.c (soft_df_operand): Reject SUBREGs containing a constant.
1247 * arm.c (arm_gen_movstrqi): Generate halfword stores rather than two
1250 2000-02-02 Nick Clifton <nickc@cygnus.com>
1252 * config/arm/thumb.c (thumb_exit): Additional fix for same bug.
1254 * config/arm/arm.md (epilogue): Fix rtl checking abort because
1255 (return) was emited using an emit_insn() call.
1257 2000-01-31 Nick Clifton <nickc@cygnus.com>
1259 * config/arm/arm.c (output_thumb_prologue): Fix bug generating
1261 (thumb_exit): Move frame pointer back into hard frame pointer
1262 register if backtracing is being used.
1264 2000-01-13 Richard Earnshaw (rearnsha@arm.com)
1266 * Merge trunk code from tag merged-arm-thumb-backend-merge_20000113
1269 1999-12-15 Bernd Schmidt <bernds@cygnus.co.uk>
1271 * config/arm/arm.md (neg_pool_offset): Provide default for new
1273 (arm_movsi_insn): Add neg_pool_offset attribute.
1274 * config/arm/arm.c (arm_find_barrier): Replace arg FIX with an
1275 rtx for the insn that starts the scan and an unsigned long for its
1276 address. Add MIN_OFFSET and PINSERTED args. All callers changed.
1277 Change scan to ignore insns before MIN_OFFSET. Store size of inserted
1278 instructions in *PINSERTED.
1279 (struct minipool_fixup): Add MIN_ADDRESS elt.
1280 (sort_fixups): Compute it.
1281 (arm_reorg): Changes to support inserting pools before the insn to be
1284 1999-12-08 Bernd Schmidt <bernds@cygnus.co.uk>
1286 * config/arm/elf.h (MULTILIB_DEFAULTS): Add "marm".
1287 * config/arm/linux-elf.h (MULTILIB_DEFAULTS): Add "marm".
1288 * config/arm/coff.h (MULTILIB_DEFAULTS): Add "marm".
1290 Wed Nov 3 10:04:07 1999 Nick Clifton <nickc@cygnus.com>
1292 * config/arm/semi.h (TARGET_VERSION): Do not define if already
1294 (TARGET_DEFAULT): Do not define if already defined.
1296 Tue Nov 2 10:37:25 1999 Nick Clifton <nickc@cygnus.com>
1298 * config/arm/arm.md (anddi3): Allow disjoint source operands.
1299 (iordi3): Allow disjoint source operands.
1300 (xordi3): Allow disjoint source operands.
1301 (negdi2): Permit construction for ARM and Thumb.
1302 (arm_negdi2): Renamed version of old negdi2 pattern.
1303 (thumb_negdi2): New pattern: Only permit non-overlapping
1304 source and destination.
1306 Fri Oct 29 18:52:38 1999 Nick Clifton <nickc@cygnus.com>
1308 * config/arm/arm.c (thumb_expand_prologue): Emit a USE of the
1309 scratch low register so that it will not be deleted.
1311 Fri Oct 29 15:23:48 1999 Nick Clifton <nickc@cygnus.com>
1313 * config/arm/pe.h (ARM_PE): Define.
1315 * config/arm/arm.c (arm_valid_machine_decl_attribute): Allow
1316 interfacearm attribute if this is a PE toolchain.
1317 (output_return_instruction): Do not emit anything if the function
1318 has the naked attribute set.
1319 (is_called_in_ARM_mode): If the function has the interfacearm
1320 attribute then return true.
1321 (thumb_expand_prologue): Do not generate a prologue for naked
1323 (thumb_expand_epilogue): Do not generate an epilogie for a naked
1325 (output_thumb_prologue): Do not bother if the function is naked.
1326 Strip PE encoding from function name before emitting.
1328 Thu Oct 28 11:05:13 1999 Richard Earnshaw <rearnsha@arm.com>
1330 * arm.md (pic_load_addr): Fix constraints.
1332 * arm.md (casesi_insn): Fix mis-applied patch.
1334 * arm.md ("core" function unit): Add rules for single- and
1336 (All TARGET_THUMB patterns): Add "type" attribute information
1338 * arm.c (arm_adjust_cost): Reduce the cost of a data dependency if
1339 the following insn is a CALL.
1341 * arm.c (thumb_expand_epilogue): Add a use of the adjusted stack
1343 * arm.h (CONDITIONAL_REGISTER_USAGE): Nail down the
1344 ARM_HARD_FRAME_POINTER_REGNUM when TARGET_APCS_FRAME.
1345 (FRAME_POINTER_REQUIRED): Only check TARGET_APCS_FRAME if TARGET_ARM.
1347 Wed Oct 27 14:40:48 1999 Nick Clifton <nickc@cygnus.com>
1349 * config/arm/linux-gas.h: oops - this file was missed out when the
1350 branch was created...
1352 Tue Oct 26 17:07:38 1999 Richard Earnshaw <rearnsha@arm.com>
1354 * thumb.c: Deleted. Move contents to ...
1356 * t-arm-aout, t-arm-coff, t-arm-elf, t-linux, t-netbsd, t-semi: Remove
1358 * configure.in (arm*-*-*): Remove thumb.o from extra_objs list.
1361 * arm-protos.h: Use RTX_CODE and tidy up long lines. Don't
1362 declare a prototype for asm_output_align();
1364 * arm.c (thumb_condition_code): Delete.
1365 (arm_print_operand): Always use arm_condition_code array.
1367 * arm.c (thumb_return_addr_rtx): Delete.
1368 (arm_save_machine_status, arm_restore_machine_status): Delete.
1369 (arm_init_machine_status, arm_mark_machine_status): New functions.
1370 (arm_init_expanders): Update accordingly.
1371 (arm_return_addr): Renamed from arm_return_addr_rtx. Rewrite.
1372 (thumb_expand_prologue): Delete code referencing thumb_return_addr_rtx.
1373 * arm.h (RETURN_ADDR_RTX): Call arm_return_addr().
1375 Tue Oct 26 13:24:16 1999 Nick Clifton <nickc@cygnus.com>
1377 * configure.in : Fix arm-*-aout target to use new t-arm-aout
1379 * config/arm/t-arm-aout: New file: Makefile script for arm-*-aout
1382 Tue Oct 26 11:27:12 1999 Nick Clifton <nickc@cygnus.com>
1384 * config/arm/thumb.c (output_thumb_prologue): Fix bug creating
1385 stack backtrace structure.
1387 * config/arm/arm-protos.h: Add prototypes for functions defined in
1390 * config/arm/arm.c (arm_override_options): Fix selection of
1391 attributes of default processor.
1393 * config/arm/coff.h: Delete needless #include.
1395 * config/arm/pe.c: Delete unused code.
1397 * config/arm/pe.h (CPP_DEFINES): Delete
1398 (SUBTARGET_CPP_SPEC): Define.
1399 (ASM_DECLARE_FUNCTION_NAME): Use ARM_DECLARE_FUNCTION_NAME.
1401 * config/arm/t-pe: Add -DInhibit_libc to allof libgcc.a to build.
1403 Mon Oct 25 15:42:09 1999 Richard Earnshaw (rearnsha@arm.com)
1405 * arm.h (TARGET_APCS_FRAME): Renamed from TARGET_APCS -- all uses
1407 (CAN_DEBUG_WITHOUT_FP): Define.
1408 (FIXED_REGISTERS): Make r11 call-saved.
1409 (CALL_USED_REGISTERS): Likewise.
1410 (CONDITIONAL_REGISTER_USAGE): Fix r11 if TARGET_APCS_FRAME.
1411 (FRAME_POINTER_REQUIRED): Correct logic for determining when a
1412 frame-pointer is required.
1413 (TARGET_DEFAULT): Make default setting include ARM_FLAG_APCS_FRAME.
1414 * arm.c (arm_override_options): Warn about -mno-apcs-frame and -g
1415 if the target normally needs a stack frame in non-leaf functions.
1416 (use_return_insn): Correct logic for determining when a return
1417 instruction can be used.
1418 (output_return_instruction): Handle the frame-pointer register as
1419 a normal register when not TARGET_APCS_FRAME.
1420 (arm_output_prologue): Likewise.
1421 (arm_output_epilogue): Likewise.
1422 (output_func_epilogue): Likewise.
1423 (arm_expand_prologue): Likewise.
1424 * netbsd.h semi.h (TARGET_DEFAULT): Add ARM_FLAG_APCS_FRAME.
1426 * arm.c (use_return_insn): No need to check floating point regs if
1428 (arm_find_minipool_constant): Correct typo; use GET_CODE to get
1429 the code of value stored in the minipool array.
1430 (arm_add_minipool_constant): Likewise.
1432 2000-04-08 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1434 * basic-block.h (conflict_graph_enum_fn): K&R fix.
1436 2000-04-08 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1438 * tree.c (tree_expr_nonnegative_p): New function.
1440 * tree.h (tree_expr_nonnegative_p): Declare.
1442 * c-typeck.c (build_binary_op): Call `tree_expr_nonnegative_p' to
1443 elide some sign_compare warnings.
1444 (build_conditional_expr): Likewise.
1446 Sat Apr 8 00:21:51 EDT 2000 John Wehle (john@feith.com)
1448 * i386.md (ashrsi3, ashrhi3, ashrqi3): Fix typo.
1450 * i386.md (floathisf2, floathidf2, floathixf2): New patterns.
1451 * i386.c (print_operand): Use the proper suffix for a 387 HImode
1452 operand. Abort if a 387 operand has an unsupported size.
1454 2000-04-08 Neil Booth <NeilB@earthling.net>
1456 * cppexp.c (parse_charconst): Null does not end character
1458 * cppinit.c (ISTABLE): Null character handled as whitespace.
1459 * cpplex.c (null_warning): new function.
1460 (skip_string): Emit warning if nulls encountered.
1461 (_cpp_skip_hspace): Emit warning if nulls encountered.
1462 (_cpp_lex_token): Emit warning if nulls encountered. Drop
1466 2000-04-07 Richard Henderson <rth@cygnus.com>
1468 * flow.c (loop_depth): Remove.
1469 (reg_next_use, cc0_live, mem_set_list): Replace with ...
1470 (struct propagate_block_info): New.
1471 (life_analysis): Don't allocate reg_next_use.
1472 (propagate_block_delete_insn): Break out of propagate_block.
1473 Use flow_delete_insn to unlink rather than use NOTE_INSN_DELETED.
1474 (propagate_block_delete_libcall): Likewise.
1475 (propagate_block): Create a propagate_block_info struct to pass
1476 to subroutines. Allocate one not two temporary regsets. Don't
1477 clobber memory for const calls. Look for clobbers in
1478 CALL_INSN_FUNCTION_USAGE.
1479 (mark_set_regs): Recognize COND_EXEC.
1480 (mark_set_reg): Break out of mark_set_1.
1481 (mark_used_reg): Break out of mark_used_regs.
1482 (mark_used_regs): Recognize COND_EXEC.
1483 (insn_dead_p): Use propagate_block_info struct.
1484 (libcall_dead_p, invalidate_mems_from_autoinc): Likewise.
1485 (find_auto_inc, try_pre_increment_1): Likewise.
1486 (print_rtl_with_bb): Dump regs live at end too.
1487 (count_reg_sets_1): Pass in loop_depth.
1488 (count_reg_sets, count_reg_references): Likewise.
1489 (recompute_reg_usage): Provide it.
1491 2000-04-07 Richard Henderson <rth@cygnus.com>
1493 * Makefile.in (conflict.o): Depend on $(RTL_H) and $(BASIC_BLOCK_H)
1496 2000-04-07 Zack Weinberg <zack@wolery.cumb.org>
1498 * cpplib.c (do_elif): Skip the rest of the line if we're
1499 not going to bother evaluating it.
1500 (skip_if_group): Clear pfile->only_seen_white. Reorder loop
1501 to avoid pointless calls to the lexer.
1503 Fri Apr 7 11:50:54 2000 Jim Wilson <wilson@cygnus.com>
1505 * config/ia64/ia64.c: Delete stdio.h and ctype.h includes.
1507 2000-04-07 Jason Merrill <jason@casey.cygnus.com>
1509 * calls.c (expand_call): emit_queue if we're trying a sibcall.
1511 2000-04-07 Jakub Jelinek <jakub@redhat.com>
1513 * config/sparc/t-linux64 (tcrtbeginS.o, tcrtendS.o): Remove.
1515 2000-04-06 Geoff Keating <geoffk@cygnus.com>
1517 * Makefile.in: Build crtbeginS and crtendS like crtbegin and
1518 crtend so they can be multilibbed.
1519 (STAGESTUFF): Remove s-crt and s-crtS.
1521 2000-04-07 Richard Henderson <rth@cygnus.com>
1523 * config/alpha/alpha.c (alpha_emit_conditional_move): Fail
1524 if we discover we need a pseudo and no_new_pseudos is true.
1525 * config/alpha/alpha.md (ne:DI insn): New.
1526 (trunctfsf2, sne): Emit NE instead of non-canonical LTU.
1528 2000-04-07 Richard Henderson <rth@cygnus.com>
1530 * rtl.def (COND_EXEC): New.
1531 * rtl.h (COND_EXEC_TEST, COND_EXEC_CODE): New.
1532 * tm.texi (MAX_CONDITIONAL_EXECUTE): Document.
1534 * genconfig.c (have_cond_arith_flag): Remove.
1535 (have_cond_exec_flag): New.
1536 (walk_insn_part): Detect COND_EXEC, not arithmetic in IF_THEN_ELSE.
1537 (main): Print HAVE_conditional_execution.
1539 * haifa-sched.c (haifa_classify_insn): Recognize COND_EXEC.
1540 (sched_analyze_insn, print_pattern): Likewise.
1541 * reload.c (find_equiv_reg): Likewise.
1542 * rtlanal.c (reg_referenced_p): Likewise.
1543 (note_stores, dead_or_set_regno_p): Likewise.
1544 (reg_overlap_mentioned_p): Rewrite to use a switch.
1546 * ggc.h (struct rtx_def): Forward declare.
1548 * print-rtl.c (debug_rtx_range): New.
1549 * rtl.h (debug_rtx_range): Declare.
1551 * varray.h (VARRAY_ACTIVE_SIZE, VARRAY_POP_ALL): New.
1553 * gcse.c (gcse_main): Don't rebuild the CFG here.
1554 (delete_null_pointer_checks): Likewise.
1555 * ssa.c (convert_to_ssa): Likewise.
1556 * toplev.c (rest_of_compilation): Do it here instead. Combine
1557 sequential calls to TIMEVAR. Consistently use `insns' instead of
1558 `get_insns()'. Always split insns after reload when optimizing.
1560 * basic-block.h (merge_blocks_nomove): Declare.
1561 (tidy_fallthru_edge): Declare.
1562 * flow.c (merge_blocks_nomove): Document as merging into previous
1563 blocks. Remove cruft from between blocks; remove all edges out of A.
1564 (tidy_fallthru_edge): Export.
1566 2000-04-06 Alex Samuel <samuel@codesourcery.com>
1568 * ssa.c (compute_conservative_reg_partition): Declare with
1570 * toplev.c (clean_dump_file): Remove previously-deleted function
1571 inadvertantly merged back in.
1572 * conflict.c (conflict_graph_add): Use a single call to
1573 htab_find_slot to look up and insert.
1575 2000-04-06 Richard Henderson <rth@cygnus.com>
1577 * genrecog.c (*): Rename _last_insn to last_insn.
1578 (make_insn_sequence): Set the position of the peephole2 C test
1579 to be at the last insn.
1581 2000-04-06 Richard Henderson <rth@cygnus.com>
1583 * flow.c (compute_flow_dominators): Free worklist.
1585 2000-04-06 Michael Matz <matzmich@cs.tu-berlin.de>
1587 * flow.c (compute_flow_dominators): Process blocks FIFO not LIFO.
1589 2000-04-06 Alex Samuel <samuel@codesourcery.com>
1591 * rtl.h (INSN_P): New macro.
1592 (successor_phi_fn): New typedef.
1593 (for_each_successor_phi): New prototype.
1594 (in_ssa_form): New variable.
1595 (PHI_NODE_P): Likewise.
1596 * flow.c (calculate_global_regs_live): Add to new_live_at_end from
1597 phi nodes in successors.
1598 (mark_used_regs): Add PHI case.
1599 (set_phi_alternative_reg): New function.
1600 (life_analysis): Assert that dead code elimination is not selected
1602 * toplev.c (to_ssa_time): New variable.
1603 (from_ssa_time): Likewise.
1604 (compile_file): Zero to_ssa_time and from_ssa_time.
1605 Print time to convert to and from SSA.
1606 (rest_of_compilation): Time convert_to_ssa and convert_from_ssa.
1607 (print_time): Compute percent fraction as integer.
1608 * ssa.c (PHI_NODE_P): Moved to rtl.h.
1609 (convert_to_ssa): Check if we're already in SSA.
1610 Don't eliminate dead code in life_analysis.
1611 Rerun flow and life analysis at bottom.
1612 (eliminate_phi): Use canonical regnos when adding nodes.
1613 (mark_reg_in_phi): New function.
1614 (mark_phi_and_copy_regs): Likewise.
1615 (convert_from_ssa): Rerun life analysis at top.
1616 Use coalesced partition.
1617 Check for removing a phi node at the end of the block.
1618 (compute_coalesced_reg_partition): New function.
1619 (coalesce_regs_in_copies): Likewise.
1620 (coalesce_reg_in_phi): Likewise.
1621 (coalesce_regs_in_sucessor_phi_nodes): Likewise.
1622 (for_each_successor_phi): Likewise.
1623 (rename_context): New struct.
1624 (rename_block): Use a rename_context with rename_insn_1. When
1625 renaming sets of a subreg, emit a copy of the entire reg first.
1626 (rename_insn_1): Treat data as a rename_context *. Save current
1628 (rename_set_data): Add field set_insn.
1629 * Makefile.in (HASHTAB_H): Move up in file.
1630 (OBSTACK_H): New macro.
1631 (collect2.o): Use OBSTACK_H in dependencies.
1632 (sdbout.o): Likewise.
1633 (emit-rtl.o): Likewise.
1634 (simplify-rtx.o): Likewise.
1635 (fix-header.o): Likewise.
1636 (OBJS): Add conflict.o.
1637 (conflict.o): New rule.
1638 * basic-block.h: Include partition.h.
1639 (conflict_graph): New typedef.
1640 (conflict_graph_enum_fn): Likewise.
1641 (conflict_graph_new): New prototype.
1642 (conflict_graph_delete): Likewise.
1643 (conflict_graph_add): Likewise.
1644 (conflict_graph_conflict_p): Likewise.
1645 (conflict_graph_enum): Likewise.
1646 (conflict_graph_merge_regs): Likewise.
1647 (conflict_graph_print): Likewise.
1648 (conflict_graph_compute): Likewise.
1649 * conflict.c: New file.
1651 2000-04-06 Jason Merrill <jason@yorick.cygnus.com>
1653 * tlink.c (read_repo_files): Don't look for .rpo info for
1656 Thu Apr 6 20:39:26 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
1658 * sh.h (STRUCT_VALUE, RETURN_IN_MEMORY): Define.
1660 Thu Apr 6 19:34:08 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
1662 * config/sh/lib1funcs.asm (___udivsi3_i4):
1663 ( __SH4_SINGLE__ / __SH4_SINGLE_ONLY__ variant): value for fpscr
1664 only depends on FMOVD_WORKS.
1666 Thu Apr 6 19:11:47 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
1668 * config/sh/lib1funcs.asm (___udivsi3_i4): When using fmovd,
1669 make double constant 8-byte aligned.
1671 2000-04-06 Jakub Jelinek <jakub@redhat.com>
1673 * config/sparc/sparc.md (movtf_insn_sp32, movtf_insn_vis_sp32,
1674 movtf_no_e_insn_sp32, movtf_insn_hq_sp64, movtf_insn_hq_vis_sp64,
1675 movtf_no_e_insn_sp64): Accept loading 0.0 into GENERAL_REGS.
1676 (movtf_insn_sp64, movtf_insn_vis_sp64): Likewise.
1677 Accept storing GENERAL_REGS into offsetable memory.
1678 * config/sparc/sparc.h (PREFERRED_RELOAD_CLASS): Don't allow
1679 building a TFmode constant other than 0.0L into GENERAL_REGS.
1681 2000-04-06 Clinton Popetz <cpopetz@cygnus.com>
1683 * regrename.c (regrename_optimize): Handle no REG_ALLOC_ORDER.
1685 2000-04-06 Zack Weinberg <zack@wolery.cumb.org>
1687 * cpphash.c (CPP_IS_MACRO_BUFFER, FORWARD, PEEKC): Delete.
1688 (macro_cleanup): No need to cast pbuf->macro.
1689 (collect_expansion): Use _cpp_get_define_token. Goto done if
1690 it returns VSPACE. Remove check for trailing space after
1692 (_cpp_create_definition): Don't diddle flags here. Return
1694 (unsafe_chars): Handle c1 being EOF.
1695 (push_macro_expansion): Use unsafe_chars for both accidental-paste
1696 checks. Don't push the buffer till after we're done with
1698 * cpplex.c (PEEKBUF, GETBUF, FORWARDBUF): New.
1699 (PEEKN, FORWARD, GETC, PEEKC): Use them.
1700 (cpp_push_buffer): Don't set new->alimit. Set new->mark
1702 (_cpp_parse_assertion): Don't NUL terminate.
1703 (_cpp_lex_token): Fix -traditional macro handling. Don't skip
1704 hspace before calling _cpp_parse_assertion. Remove all sets
1705 of only_seen_white. Treat '\f' as hspace. Don't do anything
1706 special with '\n' here.
1707 (maybe_macroexpand): Handle T_EMPTY hash entries without
1708 pushing a buffer at all.
1709 (cpp_get_token): Handle clearing only_seen_white here. Handle
1710 incrementing the line number here. Clear
1711 potential_control_macro as well as only_seen_white, if
1713 (cpp_get_non_space_token): Don't eat CPP_POP tokens.
1714 (_cpp_get_define_token): New function, basically like
1715 _cpp_get_directive_token was but doesn't eat horizontal space.
1716 Don't do anything with only_seen_white here.
1717 (_cpp_get_directive_token): Just call _cpp_get_define_token
1718 repeatedly till it returns non-hspace.
1720 * cpplib.c (PEEKN, FORWARD, GETC, PEEKC): Delete.
1721 (conditional_skip, skip_if_group): Return int.
1722 (DIRECTIVE_TABLE): Change origin of all conditional directives
1724 (TRAD_DIRECT_P): New macro.
1725 (_cpp_handle_directive): Use _cpp_get_directive_token. Issue
1726 an error for a bogus directive, unless -lang-asm. Use
1727 TRAD_DIRECT_P. Loop calling handler functions till one returns
1729 (get_macro_name): Don't diddle flags here.
1730 (do_define): Diddle flags here. Use _cpp_get_directive_token.
1731 Create T_EMPTY nodes for #define macro /* nothing */.
1732 (do_undef): Don't copy the name. Use _cpp_get_directive_token.
1733 Use hp->name when calling pass_thru_directive.
1734 (do_if, do_else, do_elif, do_ifdef, do_ifndef, conditional_skip):
1735 Return the result of conditional_skip and/or skip_if_group.
1736 Don't call _cpp_output_line_command.
1737 (consider_directive_while_skipping): Use _cpp_get_directive_token.
1738 Issue -Wtraditional warnings as appropriate. Don't complain
1739 about unrecognized directives. If we are to stop skipping,
1740 return the number of the directive that ended the skip.
1741 (skip_if_group): Use _cpp_get_directive_token. Turn off macro
1742 expansion and line commands while skipping. Return the result
1743 of consider_directive_while_skipping, if nonzero.
1744 (do_endif): Just set potential_control_macro here.
1745 (validate_else): Use _cpp_get_directive_token.
1746 (do_assert, do_unassert): Don't save pointers into the
1747 token_buffer across calls to the lexer. Use
1748 _cpp_get_directive_token.
1750 * cpplib.h (cpp_buffer): Remove alimit and colno. Make mark a
1751 pointer, not an offset. Replace 'data', which was a generic
1752 pointer, with 'macro', which points to a struct hashnode.
1753 (cpp_reader): Add 'potential_control_macro' pointer.
1754 * cpphash.h (T_UNUSED): Replace with T_EMPTY.
1755 (CPP_BUF_GET, CPP_FORWARD): Delete.
1756 (CPP_IN_COLUMN_1, ADJACENT_TO_MARK): New macros.
1757 (CPP_IS_MACRO_BUFFER, CPP_SET_BUF_MARK, CPP_GOTO_BUF_MARK,
1758 ACTIVE_MARK_P): Update.
1759 (_cpp_get_define_token): New internal function.
1760 * cppfiles.c (read_include_file): Don't set fp->alimit or fp->colno.
1762 2000-04-05 Benjamin Kosnik <bkoz@cygnus.com>
1764 * configure.in: And here.
1765 * configure: Regenerate.
1766 * acconfig.h: Add ENABLE_STD_NAMESPACE to set flag_honor_std if
1767 --enable-libstdcxx-v3 is passed at configure time.
1768 * config.h.in: Regenerate.
1770 2000-04-05 Mark Mitchell <mark@codesourcery.com>
1772 * final.c (final): Use xcalloc to allocate line_note_exists.
1773 * function.c (free_after_compilation): Free the temp_slots.
1774 (assign_stack_temp_for_type): Use xmalloc to allocate temp_slots.
1775 (combine_temp_slot): Free temp_slots when they get combined.
1776 (purge_addressof): Fix typo in comment.
1777 * stmt.c (mark_goto_fixup): Mark the fixup itself.
1778 (expand_fixup): Allocate the fixup with ggc_alloc_obj.
1780 * ggc.h: Include varray.h.
1781 (ggc_pending_trees): Declare.
1782 (ggc_mark_tree_children): Remove declaration.
1783 (ggc_mark_tree): Just push unmarked trees on ggc_pending_trees.
1784 * ggc-common.c (ggc_pending_trees): New variable.
1785 (ggc_mark_roots): Call ggc_mark_trees.
1786 (ggc_mark_tree_children): Rename to ggc_mark_trees. Process all
1787 the ggc_pending_trees.
1788 * Makefile.in (GGC_H): New variable. Use it throughout in place
1791 Thu Apr 6 00:30:50 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
1793 * sh.h (FUNCTION_ARG_PARTIAL_NREGS): Accomodate an unsigned
1796 Wed Apr 5 23:17:10 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
1798 * sh.c (sh_insn_length_adjustment): New function.
1799 * sh-protos.h (sh_insn_length_adjustment): Declare.
1800 * sh.h (ADJUST_INSN_LENGTH): Use it.
1802 Wed Apr 5 12:35:18 2000 Hans-Peter Nilsson <hp@axis.com>
1804 * optabs.c (emit_libcall_block): Remove spurious REG_EQUAL notes
1805 from the insn where REG_RETVAL is added.
1806 (emit_no_conflict_block): Ditto.
1808 * md.texi (Standard Names): Clarify when movX is needed.
1810 * combine.c (simplify_comparison) [MINUS]: Do not replace
1811 all (op (minus A B) 0) with (op A B).
1813 Wed Apr 5 18:03:31 2000 Toshiyasu Morita (toshi.morita@sega.com)
1814 J"orn Rennecke <amylaar@cygnus.co.uk>
1816 * sh.md (block_lump_real_i4): Add missing clobber of T_REG
1817 (block_lump_real): Likewise.
1819 2000-04-05 Chris Demetriou <cgd@netbsd.org>
1821 * mips.h (MASK_DEBUG_A, MASK_DEBUG_B, MASK_DEBUG_C): Zero the
1822 remaining non-zero debugging masks.
1824 Wed Apr 5 09:44:07 2000 Jeffrey A Law (law@cygnus.com)
1826 * basic-block.h (verify_flow_info): Declare.
1827 (flow_loop_outside_edge_p): Declare.
1828 * flow.c (verify_flow_info): Remove declaration.
1829 (clear_log_links, flow_loop_outside_edge_p): Likewise.
1831 Wed Apr 5 09:34:26 2000 Philippe De Muyter <phdm@macqel.be>
1833 * m68k/m68k-protos.h (finalize_pic): Turn prototype off using `#if 0',
1836 2000-04-05 Jakub Jelinek <jakub@redhat.com>
1838 * config/sparc/sparc.md (snedi_zero+1, neg_snedi_zero+1,
1839 snedi_zero_trunc+1, seqdi_zero+1, neg_seqdi_zero+1,
1840 seqdi_zero_trunc+1): Allow splits only if registers are
1843 2000-04-04 Ulrich Drepper <drepper@cygnus.com>
1845 * acconfig.h: Add HAVE_GAS_HIDDEN.
1846 * config.in: Regenerated.
1847 * configure.in: Add test for .hidden pseudo-op in gas.
1848 * configure: Regenerated.
1849 * crtstuff.c: Include auto-host.h.
1850 Emit additional .hidden pseudo-op for __dso_handle if the
1851 assembler knows about it.
1853 2000-04-04 Philippe De Muyter <phdm@macqel.be>
1855 * cpphash.c (_cpp_free_definition): Test argnames, not nargs >= 0,
1856 before freeing argnames.
1857 * cpplib.c (do_ifndef): Cast return value of xstrdup.
1859 2000-04-05 Michael Meissner <meissner@redhat.com>
1861 * config/rs6000/rs6000.c (print_operand): Patch from Jonathan
1862 Walton <jonboy@gordian.com> to make memory references with update
1863 work wtih -mregnames.
1865 2000-04-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1867 * regrename.c (regno_first_use_in): Wrap prototype in PARAMS.
1868 (regrename_optimize): Rename variables `def_uses' and
1869 `ext_basic_blocks' to avoid conflicts with similarly named
1870 typedefs in traditional C.
1872 * calls.c (initialize_argument_information): Fix typo in previous
1875 2000-04-04 Richard Henderson <rth@cygnus.com>
1877 * regrename.c (consider_available): Test fixed_regs not
1878 PIC_OFFSET_TABLE_REGNUM.
1880 2000-04-04 Geoff Keating <geoffk@cygnus.com>
1882 * config/rs6000/t-ppccomm (EXTRA_MULTILIB_PARTS): Add crtbegin,
1884 (CRTSTUFF_T_CFLAGS_S): Delete definition.
1885 * config/rs6000/sysv4.h (STARTFILE_LINUX_SPEC): Always use crtbegin.
1886 (ENDFILE_LINUX_SPEC): Always use crtend.
1887 * configure.in (powerpc-*-linux-gnulibc1): Don't define extra_parts.
1888 (powerpc-*-linux-gnu): Likewise.
1889 * configure: Regenerate.
1891 * config/rs6000/eabi.h: Don't include sysv4.h.
1892 (MULTILIB_DEFAULTS): Don't define.
1893 * config/rs6000/eabiaix.h: Don't include eabi.h.
1894 * config/rs6000/eabile.h: Delete.
1895 * config/rs6000/eabilesim.h: Delete.
1896 * config/rs6000/eabisim.h: Don't include eabi.h.
1897 * config/rs6000/linux.h: Don't include sysv4.h.
1898 (JUMP_TABLES_IN_TEXT_SECTION): Don't redefine.
1899 (MULTILIB_DEFAULTS): Don't redefine.
1900 * config/rs6000/rtems.h: Don't include eabi.h.
1901 * config/rs6000/sol2.h: Don't include sysv4le.h.
1902 * config/rs6000/sysv4le.h: Don't include sysv4.h.
1903 * config/rs6000/t-ppc: Delete.
1904 * config/rs6000/t-ppcgas: Correct comment.
1905 * config/rs6000/t-ppcos: Correct comment. Don't build
1906 multilibs for -fPIC, rather use -fPIC -mstrict-align
1908 * config/rs6000/t-ppc: Delete.
1909 * config/rs6000/vxppc.h: Don't include sysv4.h.
1910 * config/rs6000/vxppcle.h: Delete.
1911 * configure.in: Use multiple header files for p2pc ELF targets
1912 powerpc-eabiaix, powerpc-eabisim, powerpc-rtems, powerpcle-eabi,
1913 powerpcle-eabisim, powerpc-elf, powerpcle-elf, powerpc-linux-gnu,
1914 powerpc-linux-gnulibc1, powerpc-sysv, powerpcle-sysv,
1915 powerpc-vxworks, powerpcle-vxworks. Assume GAS functionality is
1916 always available for these platforms.
1918 2000-04-04 Richard Henderson <rth@cygnus.com>
1920 * calls.c (try_to_integrate): Initialize reg_parm_stack_space.
1922 2000-04-04 Stan Cox <scox@cygnus.com>
1924 * Makefile.in: Add rules for regrename.o
1925 * regrename.c: New file.
1926 * rtl.h (regrename_optimize): Add prototype.
1927 * toplev.c (rename_registers_dump, flag_rename_registers): New variables
1928 (compile_file, decode_d_option): Add support for -frename-registers.
1929 (rest_of_compilation): Call regrename_optimize.
1930 * config/ia64/ia64.h (HARD_REGNO_RENAME_OK, RENAME_EXTENDED_BLOCKS):
1933 2000-04-04 Martin v. Löwis <loewis@informatik.hu-berlin.de>
1935 * Makefile (gccbug): New target.
1936 (doc): Depend on it.
1937 * gcc.texi (Bugs): Link subnodes.
1939 * gccbug.in (CATEGORIES): Remove gc, host, profiling, libgcc.
1940 Document severities, priorities, and classes in bug form.
1942 2000-04-04 Zack Weinberg <zack@wolery.cumb.org>
1944 * cpplex.c (trigraph_map, speccase): Combine into single
1946 (NORMAL, NONTRI): New macros.
1947 (_cpp_read_and_prescan): Change to use unified table. Use
1948 is_hspace to test for whitespace.
1950 * dbxout.c (CONTIN): If it doesn't have to do anything, give it a
1951 definition that doesn't provoke the "empty body in an
1952 if-statement" warning.
1954 2000-04-04 Clinton Popetz <cpopetz@cygnus.com>
1956 * builtins.c (expand_builtin_strlen): Force the source to
1957 be a memory address.
1959 2000-04-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1961 * cpplib.c (D): Adjust to call CONCAT2 macro without whitespace.
1963 Tue Apr 4 19:17:20 MET DST 2000 Jan Hubicka <jh@suse.cz>
1965 * calls.c (ECF_MALLOC, ECF_MAY_BE_ALLOCA, ECF_RETURNS_TWICE,
1966 ECF_LONGJMP, ECF_FORK_OR_EXEC): New constants.
1967 (ECF_IS_CONST): Rename to ECF_CONST.
1968 (special_function_p): Make static, change interface.
1969 (flags_from_decl_or_type, try_to_integrate): Break out from ...
1970 (expand_call) ... here; convert number of variables to flags.
1971 (emit_library_call_vlue_1): Likewise.
1972 (setjmp_call_p): New function.
1973 (initialize_argument_information): Accepts flags as argument;
1975 (precompute_arguments): Likewise.
1976 * tree.h (special_function_p): Remove.
1977 (setjmp_call_p): Add prototype.
1979 2000-04-04 Jakub Jelinek <jakub@redhat.com>
1981 * config/sparc/sparc.h (RTX_OK_FOR_OFFSET_P): Leave minor margin
1982 so that addresses are offsetable by up to 16 bytes.
1983 (GO_IF_LEGITIMATE_ADDRESS): Don't allow REG+REG addresses for
1984 non-optimizing TARGET_ARCH32 in DF or DI modes because it is not
1987 * config/sparc/sparc.md (movdi_insn_sp64_novis): New pattern.
1988 (movdi_insn_sp64_vis): Renamed from movdi_insn_sp64.
1989 (movsf): Don't force any constant to memory if target is integer
1991 Move fp_zero_operand check below the const0_rtx check.
1992 (movtf): Likewise. Also allow fp_zero_operand for stores into
1994 (movdf): Likewise. Also allow fp_zero_operand for stores into
1995 memory and into integer hard registers.
1996 (clear_df, clear_dfp, movdf_const_intreg_sp32,
1997 movdf_const_intreg_sp64): Remove.
1998 (movdf_insn_sp32, movdf_no_e_insn_sp32): Redo constraints and
2000 (movdf_no_e_insn_v9_sp32): New pattern.
2001 (movdf_insn_v9only): Remove.
2002 (movdf_insn_v9only_novis, movdf_insn_v9only_vis): New patterns.
2003 (movdf_insn_sp64): Remove.
2004 (movdf_insn_sp64_novis, movdf_insn_sp64_vis): New patterns.
2005 (movdf_no_e_insn_sp64): Allow storing 0.0 into memory.
2006 (following splits): Rewrite conditions. Add two new splits
2007 for storing 0.0 into memory and registers.
2008 (clear_tf, clear_tf+1, clear_tfp, clear_tfp+1): Remove.
2009 (movtf_insn_sp32): Redo constraints and conditions.
2010 (movtf_insn_vis_sp32): New pattern.
2011 (movtf_no_e_insn_sp32): Redo constraints and conditions.
2012 (movtf_insn_hq_sp64): Likewise.
2013 (movtf_insn_hq_vis_sp64): New pattern.
2014 (movtf_insn_sp64): Redo constraints and conditions.
2015 (movtf_insn_vis_sp64): New pattern.
2016 (movtf_no_e_insn_sp64): Redo constraints and conditions.
2017 (movtf_no_e_insn_sp64+1): New split for storing 0.0L into registers
2019 * config/sparc/sparc.c (sparc_override_options): Assume v9 if either
2020 -mvis or -m64 to take down the number of various reload patterns.
2022 Tue Apr 4 00:41:53 2000 Jeffrey A Law (law@cygnus.com)
2024 * pa/pa-64.h: New file.
2025 * pa/pa64-regs.h: New file.
2026 * pa/pa64-start.h: New file.
2027 * pa/t-pa64: New file.
2028 * pa/xm-pa64hpux.h: New file.
2030 2000-04-03 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2032 * sparc.c (output_restore_regs): Prototype.
2033 (sparc_emit_float_lib_cmp): Constification.
2035 * emit-rtl.c (const_int_htab_hash, const_int_htab_eq): Likewise.
2037 * reload1.c (reload_cse_delete_noop_set, reload_cse_simplify):
2040 * simplify-rtx.c (entry_and_rtx_equal_p): Constification.
2041 (get_value_hash, hash_rtx): Likewise.
2043 * ssa.c (compute_conservative_reg_partition): Prototype.
2045 * tree.c (mark_hash_entry): Prototype.
2047 2000-04-03 Zack Weinberg <zack@wolery.cumb.org>
2049 * bb-reorder.c (verify_insn_chain): #ifdef out unless ENABLE_CHECKING.
2050 * i386.h (FUNCTION_ARG_REGNO_P): Remove unnecessary test for N >= 0.
2051 * i386.md (call_value, call_value_pop): Remove unused variable 'addr'.
2053 * gcc.c (C specs): Pass -fno-show-column to the preprocessor.
2054 * objc/lang-specs.h: Likewise.
2056 2000-04-03 Neil Booth <NeilB@earthling.net>
2058 * cppexp.c: wrap long lines. New macros CPP_ICE, SYNTAX_ERROR
2059 and SYNTAX_ERROR2. Replace `' in messages with ''.
2060 (op_to_str): Make re-entrant.
2061 (_cpp_parse_expr): Implement new error macros. Use | rather
2062 than || to logically or 2 boolean integers. Simply expression
2063 checking we have a left operand iff needed.
2065 2000-04-03 Nick Clifton <nickc@cygnus.com>
2067 * Makefile.in (diagnostic.o): Depend upon diagnostic.c
2069 2000-04-03 Philip Blundell <philb@gnu.org>
2071 * config/arm/linux-elf.h (SUBTARGET_EXTRA_LINK_SPEC): Fix typos.
2073 2000-04-03 Felix Lee <flee@cygnus.com>
2075 * fixinc/server.c (find_shell): New function. Avoid $SHELL.
2076 (run_shell): Use it.
2078 2000-04-03 Jonathan Larmour <jlarmour@redhat.co.uk>
2080 * Makefile.in (stmp-int-hdrs): Make include subdir here...
2081 (stmp-fixproto): ...rather than here.
2083 Mon Apr 3 00:50:06 2000 Jason Eckhardt <jle@cygnus.com>
2085 * pa.c (print_operand): Compute 'base' only inside the code paths
2088 2000-04-03 Geoffrey Keating <geoffk@cygnus.com>
2090 * stor-layout.c (byte_from_pos): Use TRUNC_DIV_EXPR rather than
2093 2000-04-03 Philipp Thomas <pthomas@suse.de>
2095 * i386.h (TARGET_SWITCHES): Remove bogus empty strings, fix typo.
2097 Mon Apr 3 00:02:59 2000 Brad Lucier <lucier@math.purdue.edu>
2099 * Makefile.in (alias.o): Depend on $(TREE_H).
2101 2000-04-02 Zack Weinberg <zack@wolery.cumb.org>
2103 * cppinit.c (cpp_start_read): Turn off -Wtraditional if
2105 * cpplib.c (_cpp_handle_directive): Improve warnings for
2106 traditional C and indented directives.
2108 * enquire.c, gsyslimits.h, limity.h, config/convex/fixinc.convex,
2109 fixinc/fixinc.irix, fixinc/fixinc.sco, fixinc/fixinc.wrap,
2110 fixinc/inclhack.def: Indent the # of #include_next one space.
2111 * cp/rtti.c: Un-indent #if and #endif.
2113 * cppexp.c (_cpp_parse_expr): If lex returns '#', it's a
2114 syntax error, but an error has already been printed.
2115 * cpplex.c (_cpp_parse_assertion): Give a more specific error
2116 message when called with nothing remaining on the line.
2117 (_cpp_lex_token): If _cpp_parse_assertion fails, return an
2118 OTHER token, not an ASSERTION.
2119 * cpplib.c (do_assert): When we create a 'base' node, clear
2120 its aschain pointer.
2122 2000-04-02 Neil Booth <NeilB@earthling.net>
2124 * cppexp.c: New typedef op_t. struct operation and struct
2125 token updated to use it.
2126 (op_to_str): New function.
2127 (_cpp_parse_expr): Error messages modified to use op_to_str.
2129 2000-04-02 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
2131 * config/c4x/c4x.c (c4x_function_arg): Check for void_type_node
2132 before checking MUST_PASS_IN_STACK.
2134 2000-04-02 Neil Booth <NeilB@earthling.net>
2136 * cppexp.c: New FINISHED dummy token. Combine operator initial
2137 flags and initial priority into a single constant. New
2138 EQUALITY macro. New operator flag SHORT_CIRCUIT.
2139 (_parse_cpp_expr): Implement new constants. Take left operand
2140 checks out of reduction loop. Handle SHORT_CIRCUIT. End of
2141 parse indicated by reducing FINISHED token. Remove new lines
2142 from cpp_error messages.
2144 2000-04-01 Mark Mitchell <mark@codesourcery.com>
2146 * emit-rtl.c (gen_rtx_CONST_INT): Create cached CONST_INTs on the
2149 2000-04-01 Zack Weinberg <zack@wolery.cumb.org>
2151 * cpplib.c: Include symcat.h. Add 'origin' field to struct
2152 directive. Add origin values to DIRECTIVE_TABLE. Generate
2153 the strings and function names on the fly. Take the #sccs
2154 entry out of the table if SCCS_DIRECTIVE is not defined.
2155 (_cpp_handle_directive): Decide if the # was at the beginning
2156 of the line here. Issue -pedantic warnings for extended
2157 directives here. Warn about K+R directives with the #
2158 indented, and C89/extended directives with the # not indented,
2160 (do_import, do_include_next, do_warning, do_ident, do_sccs,
2161 do_assert, do_unassert): Don't issue pedantic warning here.
2163 * cpphash.h: Add CPP_WTRADITIONAL macro.
2164 * cpplib.h (struct cpp_options): Rename warn_stringify to
2165 warn_traditional; update comments.
2166 * cppinit.c (handle_option): Set warn_traditional not
2168 * cpphash.c: Replace CPP_OPTION (pfile, warn_stringify) with
2169 CPP_WTRADITIONAL (pfile).
2170 * cpplex.c (_cpp_lex_token): Don't decide if directives should
2171 be ignored in -traditional mode here.
2173 * cpplex.c: Copy ISTABLE macros from cppinit.c, and adapt them
2174 to initialize speccase[] and trigraph_map[]. Delete all
2175 references to pfile->input_speccase. Always treat '?' as a
2176 special character. Remove table-initialization code from
2177 _cpp_init_input_buffer.
2179 * cpplib.h (struct cpp_reader): Remove input_speccase field.
2180 * cppinit.c (cpp_cleanup): Don't free input_speccase.
2182 2000-04-01 Richard Henderson <rth@cygnus.com>
2184 * Makefile.in (STAGESTUFF): Wildcard all debugging dumps at once.
2185 (mostlyclean): Likewise.
2187 * toplev.c (rtl_dump, jump_opt_dump, etc): Remove.
2188 (struct dump_file_info, enum dump_file_index, dump_file): New.
2189 (open_dump_file): Take a dump_file_index not a suffix, and a decl
2190 not a string. Clean out file if we havn't yet done so. Do nothing
2191 if the dump isn't enabled.
2192 (close_dump_file): Do nothing if the dump isn't open. Dump
2193 graph data if requested.
2194 (dump_rtl, clean_dump_file): Remove.
2195 (compile_file): Don't clean the dump files. Only finalize .bp dump
2196 if flag_test_coverage or flag_branch_probabilities. Only finalize
2197 .combine dump if optimizing. Iterate over dump_file to finalize the
2199 (rest_of_compilation): Update for open_dump_file/close_dump_file.
2200 Convert all uses of dump_rtl.
2201 (decode_d_option): Iterate over dump_file to implement 'a' and to
2202 locate pass-specific dumps.
2204 2000-04-01 Neil Booth <NeilB@earthling.net>
2206 * cppexp.c: Redefine priority constants.
2207 (_cpp_parse_expr): Replace left and right priority scheme with
2208 single priority logic. Move LOGICAL to same place as COMPARE.
2209 Remove bogus check for multiple unary +/- operators.
2211 2000-04-01 Neil Booth <NeilB@earthling.net>
2213 * cppexp.c: (_cpp_parse_expr): Numerical constants are pushed
2214 within the switch statement. Binary operations break out of
2215 the switch naturally. '(' tokens handled by forcing
2216 immediate shift. ')' handled by forcing immediate reduce to
2217 the previous '('. New error messages.
2219 2000-03-31 Geoff Keating <geoffk@cygnus.com>
2221 * config/rs6000/rs6000.c (print_operand): Don't use %l for 'low
2222 part', it's already in use. Use %K instead. Add a return at the
2223 end of what is now %K.
2224 * config/rs6000/rs6000.md (elf_low): Use %K instead of %l.
2226 Sat Apr 1 02:05:29 MET DST 2000 Jan Hubicka <jh@suse.cz>
2228 * builtins.c (expand_builtin_apply): Pass proper parameters to
2229 allocate_dynamic_stack_space.
2230 * calls.c (emit_call_1): Do not adjust stack pointer for SIB,
2231 update stack_pointer_delta; do not update arg_size_so_far.
2232 (compute_argument_block_size): Use stack_delta instead of
2233 stack_pointer_pending and arg_size_so_far.
2234 (expand_call): Add sanity checking for stack_pointer_delta;
2235 save and restore stack_pointer_delta for SIB, use
2236 stack_pointer_delta for alignment; do not update arg_space_so_far.
2237 (emit_library_call_value): Use stack_pointer_delta for alignment.
2238 (store_one_arg): Do not update arg_space_so_far.
2239 * explow.c (adjust_stack, anti_adjust_stack): Update
2240 stack_pointer_delta.
2241 (allocate_dynamic_stack_space): Add sanity checking for
2242 stack_pointer_delta.
2243 * expr.c (init_expr, clear_pending_stack_adjust): Clear
2244 stack_pointer_delta.
2245 (emit_push_insn): Update stack_pointer_delta.
2246 * function.h (struct expr_status): Add x_stack_pointer_delta;
2247 remove x_arg_space_so_far.
2248 (arg_space_so_far): Remove.
2249 (stack_pointer_delta): New macro.
2251 2000-03-31 Zack Weinberg <zack@wolery.cumb.org>
2253 * cpplib.h: Merge struct cpp_options into struct cpp_reader.
2254 Reorder struct cpp_options and struct cpp_reader for better
2255 packing. Replace CPP_OPTIONS macro with CPP_OPTION which
2256 takes two args. Change all 'char' flags to 'unsigned char'.
2257 Move show_column flag into struct cpp_options. Don't
2258 prototype cpp_options_init.
2259 * cpphash.h, cpperror.c, cppexp.c, cppfiles.c, cpphash.c,
2260 cppinit.c, cpplex.c, cpplib.c:
2261 Replace CPP_OPTIONS (pfile)->whatever with
2262 CPP_OPTION (pfile, whatever), and likewise for
2263 opts = CPP_OPTIONS (pfile); ... opts->whatever;
2265 * cppinit.c (merge_include_chains): Take a cpp_reader *.
2266 Extract CPP_OPTION (pfile, pending) and work with that
2268 (cpp_options_init): Delete.
2269 (cpp_reader_init): Turn on on-by-default options here.
2270 Allocate the pending structure here.
2271 (cl_options, enum opt_code): Define these from the same table,
2272 kept in a large macro. Add -fshow-column and -fno-show-column
2275 * cpperror.c (v_message): If show_column is off, don't print
2278 * cppmain.c: Update for new interface.
2279 * fix-header.c: Likewise.
2281 2000-03-30 Geoff Keating <geoffk@cygnus.com>
2283 * config/rs6000/t-aix43 (AR_FLAGS_FOR_TARGET): Adjust for new
2285 * Makefile.in (AR_FLAGS_FOR_TARGET): Is now the flags that
2286 are passed to any invocation of AR_FOR_TARGET.
2287 (AR_CREATE_FOR_TARGET): New macro.
2288 (AR_EXTRACT_FOR_TARGET): New macro.
2289 (ORDINARY_FLAGS_TO_PASS): Add AR_CREATE_FOR_TARGET,
2290 AR_EXTRACT_FOR_TARGET.
2291 (many places): Use AR_CREATE_FOR_TARGET, AR_EXTRACT_FOR_TARGET
2292 in place of `$(AR_FOR_TARGET) $(AR_FLAGS_FOR_TARGET)' and
2293 `$(AR_FOR_TARGET) x'. Pass AR_CREATE_FOR_TARGET and
2294 AR_EXTRACT_FOR_TARGET to sub-makes.
2296 2000-03-31 Neil Booth <NeilB@earthling.net>
2298 * cppexp.c: Delete SKIP_OPERAND. Correct priority
2300 (_cpp_parse_expr): Check for multiple unary +/- operators.
2301 Correct priorities of ':' and '?'. Treat ')' as having a
2302 value. Ensure conditional expression is not void.
2304 2000-03-31 Mark Mitchell <mark@codesourcery.com>
2306 * alias.c (canon_rtx): Make it global.
2307 (rtx_equal_for_memref_p): CONST_INT equality is now pointer
2309 * cse.c (struct table_elt): Add canon_exp.
2311 (invalidate): Canonicalize expressions only once.
2312 * rtl.h (canon_rtx): Declare.
2314 2000-03-30 Mark Mitchell <mark@codesourcery.com>
2316 * Makefile.in (emit-rtl.o): Depend on HASHTAB_H.
2317 * alias.c (reg_known_value): Add comments.
2318 (init_alias_analysis): Likewise.
2319 * cse.c (exp_equiv_p): CONST_INTs are equal iff they have the same
2321 (cse_basic_block): Fix typo in comment.
2322 * emit-rtl.c: Include hashtab.h.
2323 (const_int_htab): New variable.
2324 (const_int_htab_hash): New function.
2325 (const_int_htab_eq): Likewise.
2326 (rtx_htab_mark_1): Likewise.
2327 (rtx_htab_mark): Likewise.
2328 (gen_rtx_CONST_INT): Cache all CONST_INTs.
2329 (unshare_all_rtx): Fix formatting.
2330 (init_emit_once): Initialize const_int_htab.
2331 * rtl.c (rtx_equal_p): CONST_INTs are equal iff they have the same
2333 * rtl.texi: Document the fact that all CONST_INTs with the same
2336 2000-03-30 Richard Henderson <rth@cygnus.com>
2338 * alpha.h (FUNCTION_BOUNDARY): Reduce to 128 bits.
2340 2000-03-30 Zack Weinberg <zack@wolery.cumb.org>
2342 * configure.in: Comment out --enable-c-cpplib stanza.
2343 * configure: Regenerate.
2345 Thu Mar 30 06:32:51 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
2347 * expr.c (store_constructor): Properly compute displacement and
2348 alignment when offset is variable.
2350 * expmed.c (store_bit_field, store_fixed_bit_field): Fix more
2351 cases of alignment in bytes.
2353 Thu Mar 30 13:30:40 2000 Jeffrey A Law (law@cygnus.com)
2355 * c-parse.in (cast_expr): Move change from March 21 into c-parse.in
2356 since it is used to generate c-parse.y.
2357 * objc-parse.c, objc-parse.y: Regenerated.
2359 * function.c (expand_function_end): Pass alignment argument to
2360 emit_block_move in bits, not bytes.
2362 Thu Mar 30 06:32:51 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
2364 * expr.c (move_by_pieces_ninsns): Fix one more missing align
2367 * expmed.c (store_fixed_bit_field): STRUCT_ALIGN is in bits.
2369 * calls.c (expand_call): Pass bit alignment to mark_reg_pointer.
2370 * explow.c (memory_address, allocate_dynamic_stack_space): Likewise.
2371 * function.c (assign_parms): Likewise.
2372 * integrate.c (expand_inline_function): Likewise.
2373 * stmt.c (expand_decl): Likewise.
2374 (copy_rtx_and_substitute): Likewise.
2375 * expr.c (expand_expr, expand_expr_unaligned): Likewise.
2376 (clear_by_pieces): Fix error in last change.
2377 * emit-rtl.c (init_emit): Set known registers alignment in bits.
2378 * function.h (regno_pointer_align): Now unsigned.
2379 * config/arm/arm.c (alignable_memory_operand): REGNO_POINTER_ALIGN
2381 * config/i386/i386.c (aligned_operand): Likewise.
2382 * config/sparc/sparc.c (mem_min_alignment): Likewise.
2383 * config/alpha/alpha.c (aligned_memory_operand): Likewise.
2384 (unaligned_memory_operand): Likewise.
2385 (alpha_expand_block_move, alpha_expand_block_clear): Likewise.
2386 Also make alignments and sizes unsigned and some whitespace cleanup.
2387 (alpha_va_start): Do nothing if VALIST's type is error_mark_node.
2389 * builtins.c (get_pointer_alignment): Use host_integerp & tree_low_cst.
2390 (expand_builtin_apply): Pass alignment to emit_block_move in bits.
2391 (expand_builtin_memcpy, expand_builtin_va_copy): Likewise.
2392 (expand_builtin_memset): Likewise, but to clear_storage.
2393 * calls.c (save_fixed_argument_area): Likewise, to move_by_pieces.
2394 (restore_fixed_argument_area): Likewise.
2395 (store_unaligned_arguments_into_pseudos): Likewise, to store_bit_field.
2396 (load_register_parameters): Likewise, to emit_group_load.
2397 (expand_call): Likewise, to emit_group_store and emit_block_move.
2398 (emit_library_call_value_1): Likewise, to emit_block_move.
2399 (store_one_arg): Likewise, and to emit_push_insn.
2400 * expmed.c (extract_bit_field): Alignment is in bits, not bytes.
2401 (extract_fixed_bit_field, extract_split_bit_field): Likewise.
2402 * expr.c (move_by_pieces, move_by_pieces_ninsns): Likewise.
2403 (emit_block_move, emit_group_load, emit_group_store): Likewise.
2404 (clear_by_pieces, clear_storage, emit_push_insn): Likewise.
2405 (expand_assigment, store_expr, store_constructor_field): Likewise.
2406 (expand_expr_unaligned, do_jump, do_compare_and_jump): Likewise.
2407 (store_constructor, store_field, get_inner_reference): Likewise.
2408 Use host_integerp and tree_low_cst; sizes and positions HOST_WIDE_INT.
2409 (expand_expr, case COMPONENT_REF): Likewise.
2410 (copy_blkmode_from_regs): Use UNSIGNED_HOST_WIDE_INT for sizes
2411 and positions; reindent code.
2412 * expr.h (emit_cmp_insn, emit_cmp_and_jump_insns): Alignment unsigned.
2413 * function.c (purge_addressof_1): Pass bit align to store_bit_field.
2414 (assign_parms): Likewise to emit_group_store.
2415 * optabs.c (prepare_cmp_insn): Alignment is in bits.
2416 (emit_cmp_and_jump_insns, emit_cmp_insn): Likewise, and also unsigned.
2417 * stmt.c (expand_value_return): Pass align in bits to emit_group_load.
2418 (expand_return): Likewise to {extract,store}_bit_field.
2419 * stor-layout.c (get_mode_alignment): Minor cleanup.
2420 * config/rs6000/rs6000.h (SLOW_UNALIGNED_ACCESS): Align is in bits.
2421 * config/sh/sh.h (MOVE_BY_PIECES_P): Likewise.
2423 2000-03-29 Nick Clifton <nickc@cygnus.com>
2425 * config/arm/arm.h: Undo effects of previous delta:
2426 (ASM_SPEC): Do not define.
2427 (SUBTARGET_EXTRA_ASM_SPEC): Do not define.
2429 * config/arm/linux-elf.h: (SUBTARGET_EXTRA_ASM_SPEC) Fix
2432 2000-03-29 Zack Weinberg <zack@wolery.cumb.org>
2434 * cppinit.c (cpp_start_read): Call initialize_dependency_output
2435 only after reading in the primary source file.
2437 2000-03-29 Geoff Keating <geoffk@cygnus.com>
2439 * c-common.c (c_common_nodes_and_builtins): The first parameter to
2440 __builtin_va_start and __builtin_va_copy is now either a 'va_list'
2441 or a reference to a va_list.
2442 * builtins.c (stabilize_va_list): Simplify now we don't have to
2443 work around C array address decay.
2444 * c-typeck.c (convert_for_assignment): Handle assignment to
2445 a reference parameter by taking the address of the RHS.
2446 * ginclude/stdarg.h (va_start): Don't take address of first parameter.
2447 (va_copy): Likewise.
2448 (__va_copy): Likewise.
2449 * ginclude/varargs.h (va_start): Likewise.
2450 (__va_copy): Likewise.
2452 Wed Mar 29 15:44:53 2000 Jeffrey A Law (law@cygnus.com)
2454 * i386/djgpp.h: Remove extraneous "+".
2456 * stmt.c (stmt_loop_nest_empty): Fix thinko in last change.
2458 * calls.c (expand_call): Fix typo in last change.
2460 2000-03-29 Jason Merrill <jason@casey.cygnus.com>
2462 * tree.c (unsave_expr_1): Don't mess with a TARGET_EXPR that hasn't
2465 Wed Mar 29 15:39:10 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
2467 * stor-layout.c (bit_from_pos, byte_from_pos): New functions.
2468 (pos_from_byte, pos_from_bit, normalize_offset): Likewise.
2469 (normalize_rli, rli_size_so_far, rli_size_unit_so_far): Use them.
2470 * tree.c (bit_position, byte_position): Likewise.
2471 * tree.h: Declare new functions.
2473 2000-03-29 Nick Clifton <nickc@cygnus.com>
2475 * config/arm/arm.c: Minor formatting changes/
2476 * config/arm/arm.h (SUBTARGET_EXTRA_ASM_SPEC): Define if not
2478 (ASM_SPEC): Define if not already defined.
2480 2000-03-29 Zack Weinberg <zack@wolery.cumb.org>
2482 * cppfiles.c (cpp_read_file): Don't pass zero-length string to
2485 2000-03-29 Jakub Jelinek <jakub@redhat.com>
2487 * dwarf2out.c (gen_enumeration_type_die): If enum has a negative
2488 value, don't output it as unsigned.
2490 Wed Mar 29 10:53:49 2000 Jeffrey A Law (law@cygnus.com)
2492 * stmt.c (stmt_loop_nest_empty): Allow cfun->stmt to be NULL.
2494 2000-03-29 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2496 * c-common.c (c_common_nodes_and_builtins): Don't special case
2497 cplus_mode when declaring builtin bzero/bcmp, always avoid
2498 prototype arguments.
2500 2000-03-29 Bruce Korb <bkorb@gnu.org>
2502 * fixinc/mkfixinc.sh: Initially set the variable "fixincludes"
2505 Wed Mar 29 15:08:01 MET DST 2000 Jan Hubicka <jh@suse.cz>
2507 Convert ACCUMULATE_OUTGOING_ARGS to an expression.
2508 * calls.c (PUSH_ARGS_REVERSED) Change to expression.
2509 (ACCUMULATE_OUTGOING_ARGS, PUSH_ARGS): Provide default value.
2510 (struct arg_data): Remove #ifdef ACCUMULATE_OUTGOING_ARGS.
2511 (save_fixed_argument_area, restore_fixed_argument_area):
2512 conditionize by #ifdef REG_PARM_STACK_SPACE only.
2513 (emit_call): Change #ifdefs on ACCUMULATE_OUTGOING_ARGS
2514 to conditions, handle RETURN_POPS_ARGS on ACCUMULATE_OUTGOING_ARGS.
2515 (precompute_register_parameters): Avoid #ifdefs on
2516 ACCUMULATE_OUTGOING_ARGS and PUSH_ARGS_REVERSED.
2517 (stire_one_args): Likewise.
2518 (expand_call): Likewise; conditionize PUSH_ROUNDING code by PUSH_ARGS.
2519 (emit_library_call_value_1): Likewise.
2520 (compute_argument_block_size): Align to STACK_BOUNDARY only for
2521 ACCUMULATE_OUTGOING_ARGS.
2522 * combine.c (ACCUMULATE_OUTGOING_ARGS, PUSH_ARGS): Provide default
2524 (nonzero_bits): Conditionize PUSH_ROUNDING code by USE_PUSH.
2525 (use_crosses_set_p): Likewise.
2526 * all targets (ACCUMULATE_OUTGOING_ARGS define): Change to
2527 #define ACCUMULATE_OUTGOING_ARGS 1.
2528 * i386.c (ix86_compute_frame_size): Handle ACCUMULATE_OUTGOING_ARGS
2530 * i386.h (MASK_NO_PUSH_ARGS, MASK_ACCUMULATE_OUTGOING_ARGS): New
2532 (TARGET_PUSH_ARGS, TARGET_ACCUMULATE_OUTGOING_ARGS): New macros.
2533 (TARGET_SWITCHES): Add push-args, no-push-args,
2534 accumulate-outgoing-args and no-accumulate-outgoing-args.
2535 (ACCUMULATE_OUTGOING_ARGS, PUSH_ARGS): New macro.
2536 * expr.c (ACCUMULATE_OUTGONG_ARGS, PUSH_ARGS): Provide default.
2537 (push_block): Avoid ifdefs on ACCUMULATE_OUTGONG_ARGS
2539 (emit_push_insn): Likewise.
2540 * final.c (ACCUMULATE_OUTGOING_ARGS): Provide default.
2541 (final_scan_insn): Avoid ifdefs on ACCUMULATE_OUTGOING_ARGS.
2542 * function.c (ACCUMULATE_OUTGOING_ARGS): Provide default.
2543 (STACK_DYNAMIC_OFFSET): Define correctly for both
2544 ACCUMULATE_OUTGOING_ARGS and normal mode.
2545 * invoke.texi (-mpush_args, -maccumulate-outgoing-args): Document.
2546 * tm.texi (PUSH_ARGS): Document.
2547 (ACCUMULATE_OUTGOING_ARGS, PUSH_ROUNDING): Update documentation.
2549 Wed Mar 29 11:51:13 MET DST 2000 Jan Hubicka <jh@suse.cz>
2551 * flags.h (flag_optimize_sibling_calls): Declare.
2552 * calls.c (expand_call): Fail sibcall when
2553 !flag_optimize_sibling_calls
2554 * invoke.texi (flag_optimize_sibling_calls): Document.
2555 * toplev.c (flag_optimize_sibling_calls): New global variable.
2556 (f_options): Add flag_optimize_sibling_calls.
2557 (rest_of_compilation): Conditionize
2558 optimize_sibling_and_tail_recursive_calls by
2559 flag_optimize_sibling_calls.
2560 (main): Set flag_optimize_sibling_calls for -O2.
2561 * stmt.c (expand_return): Conditionize tail recursion by
2562 flag_optimize_sibling_calls.
2564 2000-03-29 Richard Henderson <rth@cygnus.com>
2566 * config/i386/att.h (LOCAL_LABEL_PREFIX): Define.
2567 (ASM_GENERATE_INTERNAL_LABEL, ASM_OUTPUT_INTERNAL_LABEL): Use it.
2569 2000-03-29 Nathan Sidwell <nathan@codesourcery.com>
2571 * except.c (add_eh_table_entry): Mark type_info's as referenced.
2573 2000-03-29 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
2575 * config/rs6000/aix41.h (CPP_SPEC): Define _ANSI_C_SOURCE if -ansi
2577 * config/rs6000/aix43.h (CPP_SPEC): Likewise.
2578 * config/rs6000/rs6000.h (CPP_SPEC): Moved to...
2579 * config/rs6000/aix.h: then modified likewise.
2581 2000-03-28 Richard Henderson <rth@cygnus.com>
2583 * rtl.h: Redistribute enum reg_note documentation.
2584 Kill trailing whitespace.
2585 * rtl.c (reg_note_name): Adjust to match enum reg_note tweeks.
2586 Kill trailing whitespace.
2588 2000-03-28 Zack Weinberg <zack@wolery.cumb.org>
2590 * cppfiles.c (hash_IHASH): Just return i->hash.
2591 (cpp_included): Set dummy.hash using _cpp_calc_hash. Use
2592 htab_find_with_hash.
2593 (cpp_read_file): Likewise.
2594 (find_include_file): Likewise. Properly initialize
2595 ih->nshort. Share ih->name and ih->nshort if possible.
2596 * cpphash.c (_cpp_calc_hash): New function.
2597 (hash_HASHNODE): Just return h->hash.
2598 (_cpp_lookup): Set dummy.hash using _cpp_calc_hash. Use
2599 htab_find_with_hash.
2600 * cpphash.h: Prototype _cpp_calc_hash.
2601 * cppinit.c (initialize_builtins): Provide a valid hash
2602 to _cpp_make_hashnode, using _cpp_calc_hash.
2604 * cpphash.c (collect_expansion): # is not a special character
2605 in object-like macros. In -traditional mode, /**/ is not
2606 token paste at the beginning or end of the line.
2607 * cpplib.c (do_include, do_import, do_include_next): If
2608 parse_include fails, return immediately.
2610 2000-03-28 Jason Merrill <jason@casey.cygnus.com>
2612 * config/arm/arm.md (return peepholes): Update to reflect the new
2614 * config/arm/arm.c (arm_volatile_func): Also check
2615 current_function_nothrow.
2616 (output_return_instruction, output_func_prologue): Use it.
2617 (arm_output_epilogue, arm_expand_prologue): Likewise.
2619 2000-03-27 Tom Tromey <tromey@cygnus.com>
2621 * gcc.c (handle_braces): In {x*...} case, break out of loop if
2624 Tue Mar 28 11:55:48 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
2626 * expr.c (store_constructor): SIZE now signed.
2627 For EXPR_SIZE, don't evaluate size; just needed if constant.
2628 * fold-const.c (fold): Fix a number of cases when folded tree is
2630 * function.c (flush_addressof): Reenable.
2631 * tree.h (flush_addressof): Likewise.
2632 * toplev.c (independent_decode_option): Look at strings_processed.
2633 * config/alpha/alpha.h (MINIMUM_ATOMIC_ALIGNMENT): Cast to unsigned.
2635 Tue Mar 28 08:29:46 2000 Jan Hubicka <jh@suse.cz>
2637 * sibcall.c (indentify_call_return_value): Find last call in the chain;
2638 Allow stack adjustment after function call.
2640 * regmove.c (struct csa_memlist): Make mem field rtx *.
2641 (record_one_stack_ref): Accept rtx * instead of rtx as parameter.
2642 (try_apply_stack_adjustment): Replace whole MEM rtx.
2643 (combine_stack_adjustments_for_block): Update calls
2644 to record_one_stack_ref.
2646 2000-03-28 Neil Booth <NeilB@earthling.net>
2648 * cpplex.c (_cpp_read_and_prescan): Mark end of input buffer with
2649 '\\' rather than a null character, so nulls are not special. Fix
2650 "\\\n" handling in end-of-buffer conditions. Use trigraph map to
2651 speed trigraph conversion.
2652 (_cpp_init_input_buffer): Initialize trigraph map.
2654 2000-03-27 Alan Modra <alan@linuxcare.com.au>
2656 * config/i386/i386.c (output_387_binary_op): Correct intel
2657 mode assembly output, and add spaces after commas in AT&T
2658 output. Correct Unixware assembler comment. Document input
2659 constraints. Comment fp operations. Reduce profligate buffer
2660 size. Remove extraneous abort. Localize temp var.
2661 (SYSV386_COMPAT): Define. Add !SYSV386_COMPAT code.
2662 (output_fix_trunc): Add spaces after commas in assembly output.
2664 2000-03-27 Richard Henderson <rth@cygnus.com>
2666 * i386-protos.h (ix86_match_ccmode): Declare.
2667 * i386.c (ix86_match_ccmode): New.
2668 (ix86_expand_fp_compare): Update for pattern renames.
2669 (ix86_expand_strlensi_unroll_1): Likewise.
2670 * i386.h (EXTRA_CC_MODES): Add CCZ.
2671 (SELECT_CC_MODE): Use it for EQ/NE zero.
2672 * i386.md (cmpsi_ccz_1): New.
2674 (*testsi_ccz_1): New.
2675 (testqi_ccz_1): New.
2676 (cmpsi_ccno_1): Rename from cmpsi_0.
2677 (testsi_ccno_1): Rename from testsi_1.
2678 (testqi_ccno_1): Rename from testqi_1.
2679 (*testqi_ext_ccz_0): Rename from testqi_ext_0.
2680 (testqi_ext_ccno_0): Rename from *testqi_ext_1.
2681 (*cmphi_0): Use ix86_match_ccmode.
2682 (*cmpqi_ext_2, *addsi_2, *addhi_2, *addqi_2): Likewise.
2683 (*subsi_2, *subhi_2, *subqi_2, *testhi_1): Likewise.
2684 (*testqi_ext_1, *testqi_ext_2, *testqi_ext_3): Likewise.
2685 (*andsi_2, *andhi_2, *andqi_2, *andqi_ext_0_cc): Likewise.
2686 (*iorsi_2, *iorhi_2, *iorqi_2): Likewise.
2687 (*xorsi_2, *xorhi_2, *xorqi_cc_1): Likewise.
2688 (*one_cmplsi2_2, *one_cmplhi2_2, *one_cmplqi2_2): Likewise.
2689 (*ashlsi3_cmpno, *ashlhi3_cmpno, *ashlqi3_cmpno): Likewise.
2690 (*ashrsi3_cmpno, *ashrhi3_cmpno, *ashrqi3_cmpno): Likewise.
2691 (*lshrsi3_cmpno, *lshrhi3_cmpno, *lshrqi3_cmpno): Likewise.
2692 (appropriate peepholes): Likewise.
2693 (*cmphi_1, *cmpqi_ccno_1, *cmpqi_1): Star out name.
2694 (*subsi_3, *subhi_3, *subqi_3): Remove.
2695 (*negdi2_1+1 splitter): Use CCZ for neg patterns.
2696 (*negsi2_cmp, *neghi2_cmp, *negqi2_cmp): Remove.
2697 (*negsi2_cmpz): Rename from *negsi2_cmpno, use CCZ.
2698 (*neghi2_cmpz, *negqi2_cmpz): Similarly.
2699 (x86_shift_adj_1): Use CCZ.
2700 (*dbra_ge+1, *dbra_ge+2, ffssi2, ffssi_1): Likewise.
2702 2000-03-27 Stan Cox <scox@cygnus.com>
2704 * resource.h (mark_resource_type): New.
2705 * resource.c (find_dead_or_set_registers, mark_target_live_regs,
2706 find_free_register): Use mark_resource_type.
2707 (mark_set_resources): Change include_delayed_effects
2708 to mark_resource_type.
2709 * reorg.c (steal_delay_list_from_target, try_merge_delay_insns,
2710 redundant_insn, fill_simple_delay_slots, fill_slots_from_thread):
2711 Use mark_resource_type.
2713 2000-03-27 Richard Henderson <rth@cygnus.com>
2715 * i386.md (call_pop_0, call_value_pop_0): New.
2716 (call_pop_1): Remove constraint from unused arg. Support sibcalls.
2717 (call_value_pop_1): Likewise.
2718 (call_0, call_value_0): New.
2719 (call_1, call_value_1): Remove constraint from unused arg.
2721 2000-03-27 Nick Clifton <nickc@cygnus.com>
2723 * invoke.texi (Spec Files): Document new spec % command created by
2724 Tom Tromey's recent patch.
2726 2000-03-27 Jakub Jelinek <jakub@redhat.com>
2728 * libgcc2.h (MIN_UNITS_PER_WORD): Define to UNITS_PER_WORD
2731 Mon Mar 27 06:04:22 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
2733 * expr.c (expand_assignment): Fix typo in last change.
2735 * libgcc2.h: Use MIN_UNITS_PER_WORD, not UNITS_PER_WORD.
2737 Sun Mar 26 20:15:26 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
2739 * c-convert.c (convert): Return if output or input type is ERROR_MARK.
2740 * c-decl.c (duplicate_decls): Only look at DECL_BUILT_IN_NONANSI
2741 and DECL_INLINE if FUNCTION_DECL.
2742 (pushdecl, redeclaration_error_message): Likewise, for DECL_INLINE.
2743 (store_parm_decls): Check for type of PARM_DECL being ERROR_MARK.
2744 Use DECL_WEAK, not DECL_RESULT, to flag for already seen.
2745 (combine_parm_decls): Likewise.
2746 * ggc-common.c (gcc_mark_tree_children, case 'd'): Use DECL_RESULT_FLD.
2747 * print-tree.c (print_node): Likewise.
2748 Only test DECL_PACKED, DECL_INLINE, DECL_BIT_FIELD, and
2749 DECL_TRANSPARENT_UNION on proper decl types.
2750 Properly handly DECL_INCOMING_RTL and DECL_SAVED_INSNS.
2751 * stor-layout.c (layout_decl): Only check DECL_PACKED and
2752 DECL_BIT_FIELD of FIELD_DECL.
2753 * tree.h (DECL_RESULT_FLD): New macro.
2755 * expr.c (expand_assignment): Add code to handle variable-sized
2758 2000-03-26 Richard Henderson <rth@cygnus.com>
2760 * calls.c (expand_call): Pass parms not original exp to
2761 optimize_tail_recursion. Mind return value instead of looking
2763 * stmt.c (optimize_tail_recursion): Take parameter list, not entire
2764 call_expr. Move checks for call_expr and current_function_decl ...
2765 (expand_return): ... here.
2767 2000-03-26 Tom Tromey <tromey@cygnus.com>
2769 * gcc.c (handle_braces): Recognize `%{<S}' construct.
2770 (SWITCH_OK, SWITCH_FALSE, SWITCH_IGNORE, SWITCH_LIVE): New
2772 (process_command): Use them.
2773 (check_live_switch): Likewise.
2774 (give_switch): Skip ignored switches.
2776 2000-03-26 Jan Hubicka <jh@suse.cz>
2778 * jump.c (jump_optimize_1): Fix typo in elide optimizations
2779 for minimal jump pass test.
2781 2000-03-26 Mark Mitchell <mark@codesourcery.com>
2783 * integrate.c (function_cannot_inline_p): Do inline functions that
2786 Sun Mar 26 11:37:55 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
2788 * stor-layout.c (layout_type, set_sizetype): early_type_list is
2789 now a list of TREE_LIST entries, not types.
2790 * tree.c (build_common_tree_nodes_2): Eliminate dupliate type sets.
2792 * expmed.c (extract_bit_field): Ensure BITS_PER_WORD is signed in MAX.
2793 * config/arm/pe.c (arm_pe_return_in_memory): Use host_integerp and
2795 * config/mips/mips.c (function_arg): Likewise; also remove cast
2796 and make variables unsigned or HOST_WIDE_INT and use tree_low_cst.
2797 (mips_function_value): Use int_byte_position and make HOST_WIDE_INT.
2798 * config/mips/abi64.h (SETUP_INCOMING_VARARGS): Offsets are unsigned.
2799 * config/mips/mips.h (BITS_PER_WORD, UNITS_PER_WORD): Cast to unsigned.
2800 (UNITS_PER_FPREG, INT_TYPE_SIZE, LONG_TYPE_SIZE): Likewise.
2801 (POINTER_SIZE, POINTER_BOUNDARY,PARM_BOUNDARY): Likewise.
2802 (GP_REG_P, FP_REG_P, MD_REG_P, ST_REG_P): Ensure subtraction signed.
2803 (struct mips_arg): arg_number, arg_words, fp_arg_words, and
2804 num_adjusts now unsigned.
2805 (FUNCTION_ARG_BOUNDARY): Remove unneeded cast.
2806 * config/sparc/sparc.c (struct function_arg_record_value_parms):
2808 (function_arg_record_value_1): STARTBITPOS arg now HOST_WIDE_INT
2809 as is BITPOS variable; use host_integerp and int_bit_position.
2810 (function_arg_record_value_2): Likewise.
2811 (function_arg_record_value_3): Arg BITPOS now HOST_WIDE_INT.
2812 Variable REGNO now unsigned.
2813 (function_arg_record_value): NREGS now unsigned.
2815 2000-03-26 Bernd Schmidt <bernds@cygnus.co.uk>
2817 * jump.c (mark_all_labels): Handle CALL_PLACEHOLDERs.
2819 Sat Mar 25 09:12:10 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
2821 * Rework fields used to describe positions of bitfields and
2822 modify sizes to be unsigned and use HOST_WIDE_INT.
2823 * alias.c (reg_known_value_size): Now unsigned.
2824 * c-typeck.c (build_unary_op, case ADDR_EXPR): Use byte_position.
2825 (really_start_incremental_init): Use bitsize_zero_node.
2826 (push_init_level, pop_init_level, output_init_element): Likewise.
2827 Use bitsize_unit_node and bitsize_one_node.
2828 (output_pending_init_elements, process_init_element): Likewise.
2829 * combine.c (combine_max_regno, reg_sign_bit_copies): Now unsigned.
2830 (make_extraction): Position and length HOST_WIDE_INT and unsigned
2831 HOST_WIDE_INT, respectively.
2832 (get_pos_from_mask): Passed in value is unsigned HOST_WIDE_INT.
2833 (num_sign_bit_copies): Returns unsigned.
2834 BITWIDTH now unsigned; rework arithmetic.
2835 Remove recursive call from arg to MAX.
2836 (combine_instructions, init_reg_last_arrays): NREGS now unsigned.
2837 (setup_incoming_promotions, can_combine_p, try_combine, simplify_set):
2839 (set_nonzero_bit_and_sign_copies): NUM now unsigned.
2840 (find_split_point, expand_compound_operation, make_extraction): LEN
2841 now unsigned HOST_WIDE_INT, POS now HOST_WIDE_INT.
2842 (make_field_assignment): Likewise.
2843 (combine_simplify_rtx): Add cast.
2844 (expand_compound_operation): MODEWIDTH now unsigned; rework arithmetic.
2845 (force_to_mode): WIDTH now unsigned; add cast.
2846 (if_then_else_cond): SIZE now unsigned.
2847 (nonzero_bits): MODE_WIDTH, RESULT_WIDTH, and WIDTH now unsigned.
2848 (extended_count): Now returns unsigned.
2849 (simplify_shift_const): COUNT unsigned; arg is now INPUT_COUNT.
2850 Add SIGNED_COUNT variable; MODE_WORDS and FIRST_COUNT now unsigned.
2851 (simplify_comparison): MODE_WIDTH now unsigned.
2852 (update_table_tick): REGNO and ENDREGNO now unsigned; new var R.
2853 (mark_used_regs_combine): Likewise; rework arithmetic.
2854 (record_value_for_reg): REGNO, ENDREGNO, and I now unsigned.
2855 (record_dead_and_set_regs, reg_dead_at_p, distribute_notes): Likewise.
2856 (record_promoted_value): REGNO now unsigned.
2857 (get_last_value_validate): REGNO, ENDREGNO, and J now unsigned.
2858 (get_last_value): REGNO now unsigned.
2859 (use_crosses_set_p): REGNO and ENDREGNO now unsigned.
2860 (reg_dead_regno, reg_dead_endregno): Now unsigned.
2861 (remove_death): Arg REGNO now unsigned.
2862 (move_deaths): REGNO, DEADREGNO, DEADEND, OUREND, and I now unsigned.
2863 (reg_bitfield_target_p): REGNO, REGNO, ENDREGNO, and ENDTREGNO
2865 * convert.c (convert_to_integer): INPREC and OUTPREC now unsigned.
2866 * cse.c (struct qty_table_elem): FIRST_REG and LAST_REG now unsigned.
2867 (struct cse_reg_info): REGNO now unsigned.
2868 (cached_regno): Now unsigned.
2869 (REGNO_QTY_VALID_P): Add cast.
2870 (make_new_qty, make_regs_eqv, delete_reg_eqiv): Regno args unsigned.
2871 (remove_invalid_regs): Likewise.
2872 (remove_invalid_subreg_refs): Likewise; arg WORD also unsigned
2873 as are variables END and I.
2874 (get_cse_reg_info, insert): Likewise.
2875 (mention_regs, invalidate_for_call): REGNO, ENDREGNO, and I unsigned.
2876 (canon_hash): Likewise.
2877 (insert_regs, lookup_for_remove): REGNO now unsigned.
2878 (invalidate): REGNO, ENDREGNO, TREGNO, and TENDREGNO now unsigned.
2880 * dbxout.c (dbxout_parms, dbxout_reg_parms): Don't check for REGNO < 0.
2881 * dwarf2out.c (dwarf2ou_frame_debug_expr): Remove cast.
2882 * emit-rtl.c (subreg_realpart_p): Add cast.
2883 (operand_subword): Arg I is now unsigned as is var PARTWORDS.
2884 (operand_subword_force): Arg I is now unsigned.
2885 * except.c (eh_regs): Variable I is now unsigned.
2886 * explow.c (hard_function_value): BYTES is unsigned HOST_WIDE_INT.
2887 * expmed.c (store_fixed_bit_field): Position is HOST_WIDE_INT;
2888 length is unsigned HOST_WIDE_INT; likewise for internal variables.
2889 (store_split_bit_field, extract_fixed_bit_field): Likewise.
2890 (extract_split_bit_field, store_bit_field, extract_bit_field):
2892 * expr.c (store_constructor_fields, store_constructor, store_field):
2893 Positions are HOST_WIDE_INT and lengths are unsigned HOST_WIDE_INT.
2894 (expand_assignment, expand_expr, expand_expr_unaligned): Likewise.
2895 (do_jump): Likewise.
2896 (move_by_pieces, move_by_pieces_ninsns, clear_by_pieces):
2897 MAX_SIZE is now unsigned.
2898 (emit_group_load): BYTEPOS is HOST_WIDE_INT; BYTELEN is unsigned.
2899 (emit_group_store): Likewise.
2900 (emit_move_insn): I now unsigned.
2901 (store_constructor): Use host_integerp, tree_low_cst, and
2903 (get_inner_reference): Return bitpos and bitsize as HOST_WIDE_INT.
2904 Rework all calculations to use trees and new fields.
2905 * expr.h (promoted_input_arg): Regno now unsigned.
2906 (store_bit_field, extract_bit_field): Adjust types of pos and size.
2907 (mark_seen_cases): Arg is HOST_WIDE_INT.
2908 * flow.c (verify_wide_reg_1): REGNO now unsigned.
2909 * fold-const.c (decode_field_reference): Size and pos HOST_WIDE_INT;
2910 precisions and alignments are unsigned.
2911 (optimize_bit_field_compare, fold_truthop): Likewise.
2912 (int_const_binop): Adjust threshold for size_int_type_wide call.
2913 (fold_convert): Likewise.
2914 (size_int_type_wide): Make table larger and fix thinko that only
2915 had half of table used.
2916 (all_ones_mask_p, fold): Precisions are unsigned.
2917 * function.c (put_reg_info_stack): REGNO is unsigned.
2918 (instantiate_decl): Size is HOST_WIDE_INT.
2919 (instantiate_virtual_regs): I is unsigned.
2920 (assign_parms): REGNO, REGNOI, and REGNOR are unsigned.
2921 (promoted_input_arg): REGNO is unsigned.
2922 * function.h (struct function): x_max_parm_reg is now unsigned.
2923 * gcse.c (max_gcse_regno): Now unsigned.
2924 (struct null_pointer_info): min_reg and max_reg now unsigned.
2925 (lookup_set, next_set): REGNO arg now unsigned.
2926 (compute_hash_table): REGNO and I now unsigned.
2927 (handle_avail_expr): regnum_for_replacing now unsigned.
2928 (cprop_insn): REGNO now unsigned.
2929 (delete_null_pointer_checks_1): BLOCK_REG now pointer to unsigned.
2930 * ggc-common.c (ggc_mark_tree_children, case FIELD_DECL): New case.
2931 * global.c (set_preference): SRC_REGNO, DEST_REGNO, and I now unsigned.
2932 * hard-reg-set.h (reg_class_size): Now unsigned.
2933 * integrate.c (mark_stores): LAST_REG and I now unsigned; new UREGNO.
2934 * jump.c (mark_modified_reg): I now unsigned; add cast.
2935 (rtx_equal_for_thread_p): Add cast.
2936 * loop.c (max_reg_before_loop): Now unsigned.
2937 (struct_movable): REGNO now unsigned.
2938 (try_copy_prop): REGNO arg unsigned.
2939 (regs_match_p): XN and YN now unsigned.
2940 (consec_sets_invariant_p, maybe_eliminate_biv): REGNO now unsigned.
2941 (strength_reduce): Likewise; NREGS also unsigned.
2942 (first_increment_giv, last_increment_giv unsigned): Now unsigned.
2943 * loop.h (struct iv_class): REGNO now unsigned.
2944 (max_reg_before_loop, first_increment_giv, last_increment_giv):
2946 * machmode.h (mode_size, mode_unit_size): Now unsigned.
2947 (mode_for_size, smallest_mode_for_size): Pass size as unsigned.
2948 * optabs.c (expand_binop): I and NWORDS now unsigned.
2949 (expand_unop): I now unsigned.
2950 * print-tree.c (print_node): Don't print DECL_FIELD_BITPOS, but do
2951 print DECL_FIELD_OFFSET and DECL_FIELD_BIT_OFFSET.
2952 * real.c (significand_size): Now returns unsigned.
2953 * real.h (significand_size): Likewise.
2954 * regclass.c (reg_class_size): Now unsigned.
2955 (choose_hard_reg_mode): Both operands now unsigned.
2956 (record_reg_classes): REGNO and NR now unsigned.
2957 (reg_scan): NREGS now unsigned.
2958 (reg_scan_update): old_max_regno now unsigned.
2959 (reg_scan_mark_refs): Arg MIN_REGNO and var REGNO now unsigned.
2960 * reload.c (find_valid_class): BEST_SIZE now unsigned.
2961 (find_dummy_reload): REGNO, NWORDS, and I now unsigned.
2962 (hard_reg_set_here_p): Args BEG_REGNO and END_REGNO now unsigned.
2963 Likewise for variable R.
2964 (refers_to_regno_for_reload_p): Args REGNO and END_REGNO now unsigned,
2965 as are variables INNER_REGNO and INNER_ENDREGNO; add new variable R.
2966 (find_equiv_reg): Add casts.
2967 (regno_clobbered_p): Arg REGNO now unsigned.
2968 * reload.h (struct reload): NREGS now unsigned.
2969 (refers_to_regno_for_reload_p): Regno args are unsigned.
2970 (regno_clobbered_p): Likewise.
2971 * reload1.c (reg_max_ref_width, spill_stack_slot_width): Now unsigned.
2972 (compute_use_by_pseudos): REGNO now unsigned.
2973 (find_reg): I and J now unsigned, new variable K, and change loop
2974 variables accordingly; THIS_NREGS now unsigned.
2975 (alter_reg): INHERENT_SIZE and TOTAL_SIZE now unsigned.
2976 (spill_hard_reg): REGNO arg now unsigned; add casts.
2977 (forget_old_reloads_1): REGNO, NR, and I now unsigned.
2978 (mark_reload_reg_in_use): Arg REGNO and vars NREGS and I now unsigned.
2979 (clear_reload_reg_in_use): Arg REGNO and vars NREGS, START_REGNO,
2980 END_REGNO, CONFLICT_START, and CONFLICT_END now unsigned.
2981 (reload_reg_free_p, reload_reg_reaches_end_p): Arg REGNO now unsigned.
2982 (choose_reload_regs): MAX_GROUP_SIZE now unsigned.
2983 (emit_reload_insns): REGNO now unsigned.
2984 (reload_cse_move2add): Add cast.
2985 (move2add_note_store): REGNO and I now unsigned; new variable ENDREGNO
2987 * resource.c (mark_referenced_resources, mark_set_resources): New
2988 variable R; REGNO and LAST_REGNO now unsigned.
2989 (mark_target_live_regs): J and REGNO now unsigned.
2990 * rtl.c (mode_size, mode_unit_size): Now unsigned.
2991 * rtl.h (union rtunion_def): New field rtuint.
2992 (XCUINT): New macro.
2993 (ADDRESSOF_REGNO, REGNO, SUBREG_WORD): New XCUINT.
2994 (operand_subword, operand_subword_force): Word number is unsigned.
2995 (choose_hard_reg_mode): Operands are unsigned.
2996 (refers_to-regno_p, dead_or_set_regno_p): Regno arg is unsigned.
2997 (find_regno_note, find_regno_fusage, replace_regs): Likewise.
2998 (regno_use_in, combine_instructions, remove_death): Likewise.
2999 (reg_scan, reg_scan_update): Likewise.
3000 (extended_count): Return is unsigned.
3001 * rtlanal.c (refers_to_regno_p): Args REGNO and ENDREGNO and vars I,
3002 INNER_REGNO, and INNER_ENDREGNO now unsigned; new variable X_REGNO.
3003 (reg_overlap_mentioned_p): REGNO and ENDREGNO now unsigned.
3004 (reg_set_last_first_regno, reg_set_last_last_regno): Now unsigned.
3005 (reg_reg_last_1): FIRS and LAST now unsigned.
3006 (dead_or_set_p): REGNO, LAST_REGNO, and I now unsigned.
3007 (dead_or_set_regno_p): Arg TEST_REGNO and vars REGNO and ENDREGNO
3009 (find_regno_note, regno_use_in): Arg REGNO now unsigned.
3010 (find_regno_fusage): Likewise; also var REGNOTE now unsigned.
3011 (find_reg_fusage): Variables REGNO, END_REGNO, and I now unsigned.
3012 (replace_regs): Arg NREGS now unsigned.
3013 * sdbout.c (sdbout_parms, sdbout_reg_parms): Don't check REGNO < 0.
3014 * simplify-rtx.c (simplify_unary_operation): WIDTH now unsigned.
3015 (simplify_binary_operation): Likewise.
3016 (cselib_invalidate_regno): Arg REGNO and variables ENDREGNO, I, and
3017 THIS_LAST now unsigned.
3018 (cselib_record_set): Add cast.
3019 * ssa.c (ssa_max_reg_num): Now unsigned.
3020 (rename_block): REGNO now unsigned.
3021 * stmt.c (expand_return): Bit positions unsigned HOST_WIDE_INT;
3023 (all_cases_count): Just return -1 not -2.
3024 COUNT, MINVAL, and LASTVAL now HOST_WIDE_INT.
3025 Rework tests to use trees whenever possible.
3026 Use host_integerp and tree_low_cst.
3027 (mark_seen_cases): COUNT arg now HOST_WIDE_INT;
3028 Likewise variable NEXT_NODE_OFFSET; XLO now unsigned.
3029 (check_for_full_enumeration_handing): BYTES_NEEDED, I to HOST_WIDE_INT.
3030 * stor-layout.c (mode_for_size): SIZE arg now unsigned.
3031 (smallest_mode_for_size): Likewise.
3032 (layout_decl): Simplify handing of a specified DECL_SIZE_UNIT.
3033 KNOWN_ALIGN is now an alignment, so simplify code.
3034 Don't turn off DECL_BIT_FIELD if field is BLKmode, but not type.
3035 (start_record_layout): Renamed from new_record_layout_info.
3036 Update to new fields.
3037 (debug_rli, normalize_rli, rli_size_unit_so_far, rli_size_so_far):
3039 (place_union_field): Renamed from layout_union_field.
3040 Update to use new fields in rli.
3041 (place_field): Renamed from layout_field.
3042 Major rewrite to use new fields in rli; pass alignment to layout_decl.
3043 (finalize_record_size): Rework to use new fields in rli and handle
3045 (compute_record_mode): Rework to simplify and to use new DECL fields.
3046 (finalize_type_size): Make rounding more consistent.
3047 (finish_union_layout): Deleted.
3048 (layout_type, case VOID_TYPE): Don't set TYPE_SIZE_UNIT either.
3049 (layout_type, case RECORD_TYPE): Call new function names.
3050 (initialize_sizetypes): Set TYPE_IS_SIZETYPE.
3051 (set_sizetype): Set TYPE_IS_SIZETYPE earlier.
3052 (get_best_mode): UNIT is now unsigned; remove casts.
3053 * tree.c (bit_position): Compute from new fields.
3054 (byte_position, int_byte_position): New functions.
3055 (print_type_hash_statistics): Cast to remove warning.
3056 (build_range_type): Use host_integerp and tree_low_cst to try to hash.
3057 (build_index_type): Likewise; make subtype of sizetype.
3058 (build_index_2_type): Pass sizetype to build_range_type.
3059 (build_common_tree_nodes): Use size_int and bitsize_int to
3060 initialize nodes; add bitsize_{zero,one,unit}_node.
3061 * tree.h (DECL_FIELD_CONTEXT): Use FIELD_DECL_CHECK.
3062 (DECL_BIT_FIELD_TYPE, DECL_QUALIFIER, DECL_FCONTEXT): Likewise.
3063 (DECL_PACKED, DECL_BIT_FIELD): Likewise.
3064 (DECL_FIELD_BITPOS): Deleted.
3065 (DECL_FIELD_OFFSET, DECL_FIELD_BIT_OFFSET): New fields.
3066 (DECL_RESULT, DECL_SAVED_INSNS): Use FUNCTION_DECL_CHECK.
3067 (DECL_FRAME_SIZE, DECL_FUNCTION_CODE, DECL_NO_STATIC_CHAIN): Likewise.
3068 (DECL_INLINE, DECL_BUILT_IN_NONANSI, DECL_IS_MALLOC): Likewise.
3069 (DECL_BUILT_IN_CLASS, DECL_STATIC_CONSTRUCTOR): Likewise.
3070 (DECL_STATIC_DESTRUCTOR, DECL_NO_CHECK_MEMORY_USAGE): Likewise.
3071 (DECL_NO_INSTRUMENT_FUNCTION_ENTRY_EXIT, DECL_NO_LIMIT_STACK) Likewise.
3072 (DECL_ORIGINAL_TYPE, TYPE_DECL_SUPPRESS_DEBUG): Use TYPE_DECL_CHECK.
3073 (DECL_ARG_TYPE_AS_WRITEN, DECL_ARG_TYPE): Use PARM_DECL_CHECK.
3074 (DECL_INCOMING_RTL, DECL_TRANSPARENT_UNION): Likewise.
3075 (DECL_ALIGN): Adjust to new field in union.
3076 (DECL_OFFSET_ALIGN): New field.
3077 (DECL_ERROR_ISSUED, DECL_TOO_LATE): Use LABEL_DECL_CHECK.
3078 (DECL_IN_TEXT_SECTION): Use VAR_DECL_CHECK.
3079 (union tree_decl): Add struct for both aligns.
3080 (enum tree_index): Add TI_BITSIZE_{ZERO,ONE,UNIT}.
3081 (bitsize_zero_node, bitsize_one_node, bitsize_unit_node): Added.
3082 (struct record_layout_info): Rework fields to have offset
3083 alignment and byte and bit position.
3084 (start_record_layout, place_field): Renamed from old names.
3085 (rli_size_so_far, rli_size_unit_so_far, normalize_rli): New decls.
3086 (byte_position, int_byte_position): Likewise.
3087 (get_inner_reference): Change types of position and length.
3088 * unroll.c (unroll_loop): New variable R; use for some loops.
3089 MAX_LOCAL_REGNUM and MAXREGNUM now unsigned.
3090 (calculate_giv_inc): Arg REGNO now unsigned.
3091 (copy_loop_body): REGNO and SRC_REGNO now unsigned.
3092 * varasm.c (assemble_variable): Clean up handling of size using
3093 host_integerp and tree_low_cst.
3094 (decode_addr_const): Use byte, not bit, position.
3095 (output_constructor): bitpos and offsets are HOST_WIDE_INT;
3096 use tree_low_cst and int_bit_position.
3097 * objc/objc-act.c (build_ivar_list_initializer): Use byte_position.
3099 Fri Mar 24 20:13:49 2000 Jason Eckhardt <jle@cygnus.com>
3101 * bb-reorder.c (REORDER_MOVED_BLOCK_END): Removed.
3102 (reorder_block_def): New members eff_head and eff_end.
3103 (REORDER_BLOCK_EFF_HEAD, REORDER_BLOCK_EFF_END): New macros.
3104 (verify_insn_chain): New function.
3105 (skip_insns_between_block): Add code to skip deleted insns.
3106 Check for note before using.
3107 (chain_reorder_blocks): Replace calls to skip_insns_between_block
3108 with references to REORDER_BLOCK_EFF_HEAD and REORDER_BLOCK_EFF_END.
3109 Check for note before using.
3110 (make_reorder_chain): Use INTVAL rather than XINT to get REG_BR_PROB.
3111 (fixup_reorder_chain): Restructure, clean up, defect removal.
3112 (reorder_basic_blocks): Remove last_insn and references to it.
3113 Moved insn chain verification code into a new function (see above).
3114 Delete defective code that sets last insn.
3115 Initialize REORDER_BLOCK_EFF_HEAD and REORDER_BLOCK_EFF_END for
3118 2000-03-25 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
3120 * config/c4x/c4x.h (CPP_SPEC): Remove erroneous space.
3122 2000-03-24 Richard Henderson <rth@cygnus.com>
3124 * tree.c (lang_safe_for_unsave): Remove.
3125 (unsafe_for_reeval): Transmute and rename from safe_for_unsave,
3126 allowing for two levels of unsafeness. Remove lang hook.
3127 * tree.h: Update declarations.
3128 * calls.c (expand_call): Rename safe_for_reeval to try_tail_call.
3129 Create temporary VAR_DECLs to protect very unsafe_for_reeval trees.
3130 Always fail sibcalls when there are pending cleanups.
3132 2000-03-24 Geoff Keating <geoffk@cygnus.com>
3134 * flow.c (propagate_block): When we delete an ADDR_VEC,
3135 also delete the BARRIER following it if there is one.
3137 2000-03-24 Richard Henderson <rth@cygnus.com>
3139 * builtins.c (expand_builtin_bzero): Convert `length' argument
3142 2000-03-24 Jakub Jelinek <jakub@redhat.com>
3144 * sibcall.c (skip_copy_to_return_value): Use OUTGOING_REGNO for
3145 comparison if regno's are equal.
3146 * calls.c (initialize_argument_informat): Add ecf_flags argument.
3147 Use FUNCTION_INCOMING_ARG if available and ECF_SIBCALL.
3148 (expand_call): Update caller.
3149 Avoid making a sibling call if argument size of the callee is larger
3150 than argument size of the caller.
3151 Call hard_function_value with outgoing set if in sibcall pass.
3152 Use FUNCTION_INCOMING_ARG if available and ECF_SIBCALL.
3154 * final.c (permitted_reg_in_leaf_functions, only_leaf_regs_used):
3155 Change LEAF_REGISTERS from an array initializer to actual array
3156 identifier. Move static global variable into the function.
3157 (leaf_function_p): Allow SIBLING_CALL_P calls even outside of
3158 sequences for leaf functions.
3159 * global.c (global_alloc): Likewise.
3160 * tm.texi (LEAF_REGISTERS): Update documentation.
3162 * config/sparc/sparc.h (CONDITIONAL_REGISTER_USAGE): Remove the ugly
3163 TARGET_FLAT leaf disabling hack.
3164 (LEAF_REGISTERS): Changed from an array initializer to actual array
3165 identifier to avoid duplication and remove the above hack.
3166 (FUNCTION_OK_FOR_SIBCALL): Define.
3167 * config/sparc/sparc.md (sibcall): New attr type. Use it almost
3168 always like call attribute.
3169 (eligible_for_sibcall_delay): New attribute.
3170 (sibcall): New delay type.
3171 (sibcall, sibcall_value, sibcall_epilogue): New expands.
3172 (sibcall_symbolic_sp32, sibcall_symbolic_sp64,
3173 sibcall_value_symbolic_sp32, sibcall_value_symbolic_sp64): New insns.
3174 * config/sparc/sparc.c (sparc_leaf_regs): New array.
3175 (eligible_for_sibcall_delay, output_restore_regs, output_sibcall):
3177 (output_function_epilogue): Move part of the code into
3178 output_restore_regs.
3179 (ultra_code_from_mask, ultrasparc_sched_reorder): Handle
3181 * sparc-protos.h (output_sibcall, eligible_for_sibcall_delay): New
3184 * config/sparc/sparc.h (REVERSIBLE_CC_MODE): Revert Jan, 25 change
3185 until infrastructure is finished.
3187 Fri Mar 24 13:49:45 2000 Jeffrey A Law (law@cygnus.com)
3189 * integrate.c (save_for_inline_nocopy): Clear in_nonparm_insns here.
3190 (save_parm_insns): Not here.
3192 2000-03-24 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3194 * builtins.c (expand_builtin_bzero): New function.
3195 (expand_builtin): Handle bzero.
3197 * builtins.def: Add BUILT_IN_BZERO.
3199 * c-common.c (c_common_nodes_and_builtins): Provide builtin
3200 prototype & function for bzero.
3202 2000-03-23 Michael Meissner <meissner@redhat.com>
3204 * config/alpha/alpha.md (TF floating point insns): Undo 2000-03-21
3205 change adding TARGET_FP to the TF floating point insns, except for
3206 trunctfsf2, which generates direct calls to truncdfsf2.
3208 2000-03-23 Geoff Keating <geoffk@cygnus.com>
3210 * config/rs6000/rs6000.h (ARG_POINTER_CFA_OFFSET): New definition,
3211 try to protect against middle-end changes that break binary
3213 (DWARF_FRAME_REGISTERS): New definition, likewise for backend.
3215 2000-03-24 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
3217 * config/c4x/c4x.md (load_immed_address): Add DP reg clobber.
3219 Thu Mar 23 17:10:48 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
3221 * calls.c (expand_call): If TARGET is passed by reference and
3222 is readonly, write a CLOBBER.
3224 2000-03-23 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3226 * builtins.c (expand_builtin): Handle bcmp.
3228 * builtins.def: Add BUILT_IN_BCMP.
3230 * c-common.c (c_common_nodes_and_builtins): Provide builtin
3231 prototype & function for bcmp.
3233 Thu Mar 23 11:34:39 2000 Jim Wilson <wilson@cygnus.com>
3235 * config/ia64/ia64.c (rtx_needs_barrier, case UNSPEC): Move case 6...
3236 (rtx_needs_barrier, case UNSPEC_VOLATILE): to here.
3237 * config/ia64/ia64.md (pr_restore): Change UNSPEC to UNSPEC_VOLATILE.
3239 Thu Mar 23 16:04:40 2000 Andrew Haley <aph@cygnus.com>
3241 * config/mips/mips.md (movdf_internal1a): Delete (set 'f', 'F')
3242 alternative when using -fp64 -gp32.
3244 2000-03-22 Jason Merrill <jason@casey.cygnus.com>
3246 * config/rs6000/rs6000.h (DWARF_FRAME_RETURN_COLUMN): Define.
3247 * config/alpha/alpha.h (DWARF_FRAME_RETURN_COLUMN): Define.
3248 * config/sparc/sparc.h (DWARF_FRAME_RETURN_COLUMN): Define.
3250 * frame.h (frame_state): Revert last change.
3251 * frame.c (execute_cfa_insn): Just don't record the save of a CFA reg.
3252 * libgcc2.c (throw_helper): Revert last change.
3254 2000-03-22 Richard Henderson <rth@cygnus.com>
3256 * stmt.c (expand_asm_operands): Don't promote the temporary.
3258 2000-03-22 Theodore Papadopoulo <Theodore.Papadopoulo@sophia.inria.fr>
3260 * builtin.c (get_pointer_alignment): Use DECL_P and TYPE_P macros.
3261 * c-common.c (decl_attributes,check_format_info,truthvalue_conversion,
3262 c_get_alias_set): Likewise.
3263 * c-decl.c (duplicate_decls): Likewise.
3264 * c-typeck.c (default_conversion,build_unary_op): Likewise.
3265 * calls.c (initialize_argument_information): Likewise.
3266 * dwarf2out.c (decl_class_context,add_abstract_origin_attribute):
3268 * dwarfout.c (decl_class_context,output_type): Likewise.
3269 * expr.c (get_inner_reference): Likewise.
3270 * fold-const.c (simple_operand_p,fold): Likewise.
3271 * function.c (aggregate_value_p): Likewise.
3272 * stmt.c (expand_asm_operands): Likewise.
3273 * varasm.c (named_section): Likewise.
3275 2000-03-22 Jason Merrill <jason@casey.cygnus.com>
3277 Implement dwarf2 exception handling for the ARM.
3278 * config/arm/arm.h (INCOMING_RETURN_ADDR_RTX): Define.
3279 (DWARF_FRAME_RETURN_COLUMN): Define.
3280 * config/arm/arm.c (emit_multi_reg_push): Return rtx. Attach
3281 REG_FRAME_RELATED_EXPR note.
3282 (emit_sfm): Likewise.
3283 (arm_expand_prologue): Set RTX_FRAME_RELATED_P on everything.
3284 * dwarf2out.c (reg_save): Handle saving a register to itself.
3285 (dwarf2out_frame_debug_expr): Handle an intermediate cfa reg.
3286 * except.c (eh_regs): Don't use the static chain reg if it's
3288 * frame.h (frame_state): Add cfa_saved field.
3289 * frame.c (execute_cfa_insn): Set it.
3290 * libgcc2.c (throw_helper): Don't adjust sp if it's restored in
3292 * function.c (ARG_POINTER_CFA_OFFSET): Default to FIRST_PARM_OFFSET.
3294 (instantiate_virtual_regs): Adjust.
3296 * config/m68k/m68k.h (ARG_POINTER_CFA_OFFSET): Don't define.
3297 * config/ns32k/ns32k.h (ARG_POINTER_CFA_OFFSET): Don't define.
3298 * config/sparc/sparc.h (ARG_POINTER_CFA_OFFSET): Take a parm.
3300 * dwarf2out.c (reg_number): Refer to FIRST_PSEUDO_REGISTER.
3301 (initial_return_save): Use DWARF_FRAME_REGNUM, not reg_number.
3303 2000-03-22 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3305 * builtins.def: New file.
3307 * Makefile.in (TREE_H): Depend on builtins.def.
3309 * builtins.c (built_in_names): Use builtins.def.
3311 * tree.h (built_in_function): Likewise.
3313 2000-03-22 Mark Mitchell <mark@codesourcery.com>
3315 * tree.c (size_in_bytes): Return size_zero_node, not
3318 2000-03-22 Geoff Keating <geoffk@cygnus.com>
3320 * config/fp-bit.c (pack_d): Correct the case when a denormal
3321 is rounded up and stops being denormal.
3323 2000-03-21 Richard Henderson <rth@cygnus.com>
3325 * config/alpha/alpha.c (function_arg): Check for void_type_node
3326 before using MUST_PASS_IN_STACK.
3328 2000-03-21 Stephane Carrez <stcarrez@worldnet.fr>
3330 * regmove.c (combine_stack_adjustments_for_block): Check that
3331 the stack pointer is a valid memory address.
3333 Wed Mar 22 11:44:50 MET 2000 Jan Hubicka <jh@suse.cz>
3335 * calls.c: re-install Mar 16 emit_library_call merge.
3337 2000-03-21 Jakub Jelinek <jakub@redhat.com>
3339 * config/sparc/sparc.c (mem_min_alignment): If not optimizing,
3340 we cannot be sure that if reload_completed base register will
3341 be properly aligned.
3343 2000-03-21 Richard Henderson <rth@cygnus.com>
3345 * flow.c (delete_block): Fix typo last change.
3347 2000-03-21 Mark Mitchell <mark@codesourcery.com>
3349 * c-common.c (c_expand_expr_stmt): Use COMPLETE_TYPE_OR_VOID_P,
3350 not COMPLETE_TYPE_P, to check the type of the expression.
3352 2000-03-21 Michael Meissner <meissner@redhat.com>
3354 * config/alpha/alpha.md (floating point insns): Add TARGET_FP to
3355 all floating point insns that just tested the macro
3356 TARGET_HAS_XFLOATING_LIBS.
3357 (movsf/movdf recognizers): Add separate insns if -mno-fp-regs is
3358 used to only use the gprs.
3360 2000-03-21 Nathan Sidwell <nathan@codesourcery.com>
3362 * tree.h (COMPLETE_TYPE_P): New macro.
3363 (COMPLETE_OR_VOID_TYPE_P): New macro.
3364 (COMPLETE_OR_UNBOUND_ARRAY_TYPE_P): New macro.
3365 * stor-layout.c (layout_type, case VOID_TYPE): Don't set TYPE_SIZE.
3366 * c-aux-info.c (gen_type): Use them.
3367 * c-common.c (c_expand_expr_stmt): Likewise.
3368 * c-decl.c (poplevel, pushdecl, start_decl, finish_decl,
3369 grokdeclarator, grokparms, finish_struct, start_function,
3370 store_parm_decls, combine_parm_decls): Likewise.
3371 * c-parse.y (cast_expr): Likewise.
3372 * c-typeck.c (require_complete_type, c_sizeof, c_sizeof_nowarn,
3373 c_size_in_bytes, c_alignof, build_component_ref,
3374 build_indirect_ref, build_array_ref, convert_arguments,
3375 build_binary_op, pointer_diff, build_unary_op, digest_init: Likewise.
3376 * calls.c (initialize_argument_information): Likewise.
3377 * convert.c (convert_to_integer): Likewise.
3378 * dbxout.c (dbxout_typedefs, dbxout_type, dbxout_symbol): Likewise.
3379 * dwarfout.c (location_or_const_value_attribute,
3380 output_enumeration_type_die, output_structure_type_die,
3381 output_union_type_die, output_type): Likewise.
3382 * expr.c (safe_from_p, expand_expr): Likewise.
3383 * function.c (assign_parms): Likewise.
3384 * sdbout.c (sdbout_symbol, sdbout_one_type): Likewise.
3385 * tree.c (build_array_type, build_function_type,
3386 build_method_type, build_offset_type, build_complex_type): Likewise.
3387 * c-parse.c, c-parse.h: Regenerated.
3389 2000-03-21 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
3391 * config/c4x/rtems.h: Include config/rtems.h.
3393 Tue Mar 21 09:24:00 2000 Denis Chertykov <denisc@overta.ru>
3395 * config/avr/avr.c (encode_section_info): sets SYMBOL_REF_FLAG if
3396 decl is a FUNCTION_DECL
3398 Mon Mar 20 19:53:53 2000 Jim Wilson <wilson@cygnus.com>
3400 * config/ia64/ia64.c (ia64_expand_prologue): Don't abort if leaf
3401 function uses output registers. Don't save RP for leaf functions.
3402 Do save RP even if no epilogue.
3403 * config/ia64/ia64.h (FIXED_REGISTERS): Unmark in/out registers.
3404 (CALL_USED_REGISTERS): Unmark in registers.
3405 (REG_ALLOC_ORDER): Move out regs up, to near the top. Move in regs up,
3408 2000-03-20 Geoff Keating <geoffk@cygnus.com>
3410 * config/rs6000/rs6000.md (bunordered): New expander.
3411 (bordered): New expander.
3412 (buneq): New expander.
3413 (bunge): New expander.
3414 (bungt): New expander.
3415 (bunle): New expander.
3416 (bunlt): New expander.
3417 (bltgt): New expander.
3419 * config/rs6000/rs6000.c (ccr_bit): Handle unordered comparisons.
3420 (ccr_bit_negated_p): New function.
3421 (print_operand): For %C, generate appropriate cror for UNEQ,
3422 UNLT, UNGT, and LTGT. For %T and %t, use ccr_bit_negated_p.
3424 2000-03-20 Andreas Jaeger <aj@suse.de>
3426 * sdbout.c (sdbout_one_type): Add braces to avoid "ambigous else"
3429 * tree.h (safe_for_unsave): Prototype.
3431 2000-03-20 Richard Henderson <rth@cygnus.com>
3433 * regmove.c (stack_memref_p): Fix typo, reorg for readability.
3434 (combine_stack_adjustments_for_block): Don't allow sp references
3435 in the side of a set we're not fixing up.
3436 * toplev.c (rest_of_compilation): Run combine_stack_adjustments
3437 after life_analysis.
3439 2000-03-20 Richard Henderson <rth@cygnus.com>
3441 * calls.c (expand_call): Don't bother generating tail call
3442 sequences if there are pending cleanups. Use
3443 expand_start_target_temps/expand_end_target_temps to elide
3444 cleanups created during sibcall expansion.
3446 2000-03-20 Geoff Keating <geoffk@cygnus.com>
3448 * configure.in: Set $IFS to a value if it doesn't already have one
3449 in the --enable-checking handling.
3450 * configure: Regenerate.
3452 2000-03-20 Martin v. Löwis <loewis@informatik.hu-berlin.de>
3454 * c-parse.in (SAVE_WARN_FLAGS): Use size_int.
3455 * c-parse.y, c-parse.c, objc/objc-parse.y, objc/objc-parse.c:
3458 Mon Mar 20 11:43:15 MET 2000 Jan Hubicka <jh@suse.cz>
3460 * jump.c (delete_noop_moves): Remove code attempting to
3461 combine stack adjustments.
3463 2000-03-19 Martin v. Löwis <loewis@informatik.hu-berlin.de>
3465 * emit-rtl.c (push_to_full_sequence, end_full_sequence): New functions.
3466 * except.c (emit_cleanup_handler): Use them.
3467 (expand_end_all_catch): Likewise.
3468 * function.c (fixup_var_refs): Likewise.
3469 (expand_function_end): Clear catch_clauses_last.
3470 * rtl.h (push_to_full_sequence, end_full_sequence): Declare.
3471 * except.h (struct eh_status): New field x_catch_clauses_last.
3472 (catch_clauses_last): New define.
3474 * Makefile.in (tree.o): Depend on HASHTAB_H.
3475 * tree.c: Include hashtab.h.
3476 (struct type_hash): Remove next field.
3477 (TYPE_HASH_SIZE): Remove.
3478 (TYPE_HASH_INITIAL_SIZE): New define.
3479 (type_hash_table): Change type to htab_t.
3480 (type_hash_eq, type_hash_hash, print_type_hash_statistics,
3481 mark_hash_entry): New functions.
3482 (init_obstacks): Allocate type hash.
3483 (type_hash_lookup): Use htab functions.
3484 (type_hash_add, mark_type_hash): Likewise.
3485 (dump_tree_statistics): Call print_type_hash_statistics.
3487 2000-03-19 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3489 * rs6000/t-aix41: New file.
3491 * configure.in ({rs6000,powerpc}-ibm-aix4.[12]*): Use it.
3493 Sun Mar 19 13:27:30 2000 Hans-Peter Nilsson <hp@axis.com>
3495 * tm.texi (Driver): Fix typos and tweak entry for
3497 Move misplaced STRUCT_FORCE_BLK entry ...
3498 (Storage Layout): ... to here.
3499 (Run-time Target): Recommend having TARGET_MASK_... helper macros.
3501 2000-03-19 Richard Henderson <rth@cygnus.com>
3503 * flow.c (delete_block): Delete the addr_vec along with the block.
3504 (flow_delete_insn): Decrement LABEL_NUSES when deleting insns that
3507 * fold-const.c (extract_muldiv): Apply type check for defined
3508 overflow to multiply as well as divide.
3510 * stor-layout.c (layout_decl): Don't abort on any zero sized decl.
3512 2000-03-18 Mark Mitchell <mark@codesourcery.com>
3514 * emit-rtl.c (remove_unncessary_notes): Check that all
3515 NOTE_INSN_BLOCK_BEG and NOTE_INSN_BLOCK_END notes have an
3516 associated NOTE_BLOCK.
3517 * function.h (identify_blocks): Update comments.
3518 (reorder_blocks): Declare.
3519 * function.c (identify_blocks): Don't take paramters.
3520 (reorder_blocks): Don't take parameters.
3521 * loop.h (find_loop_tree_blocks): Remove.
3522 (unroll_block_trees): Likewise.
3523 * loop.c (loop_optimize): Don't call find_loop_tree_blocks. Use
3524 reorder_blocks instead of unroll_block_trees.h
3525 * sibcall.c (optimize_sibling_and_tail_recursive_calls): Likewise.
3526 * stmt.c (find_loop_tree_blocks): Remove.
3527 (unroll_block_trees): Likewise.
3528 * toplev.c (rest_of_compilation): Don't call find_loop_tree_blocks
3529 in whole-function mode.
3530 * tree.h (reorder_blocks): Remove declaration.
3532 * expr.c: Include intl.h.
3533 * Makefile.in (expr.o): Depend on intl.h.
3535 2000-03-18 Richard Henderson <rth@cygnus.com>
3537 * expr.c (emit_move_insn_1): Clarify cannot_inline message.
3539 2000-03-18 Mark Mitchell <mark@codesourcery.com>
3541 * tree.h (tree_index): Remove enumerals for integer types.
3542 (integer_type_kind): New type.
3543 (integer_types): New variable.
3544 (char_type_node): Adjust.
3545 (signed_char_type_node): Likewise.
3546 (unsigned_char_type_node): Likewise.
3547 (short_integer_type_node): Likewise.
3548 (short_unsigned_type_node): Likewise.
3549 (integer_type_node): Likewise.
3550 (unsigned_type_node): Likewise.
3551 (long_integer_type_node): Likewise.
3552 (long_unsigned_type_node): Likewise.
3553 (long_long_integer_type_node): Likewise.
3554 (long_long_unsigned_type_node): Likewise.
3555 * tree.c (integer_types): New variable.
3556 (init_obstacks): Register it as a root.
3558 Sat Mar 18 14:38:00 2000 Jason Eckhardt <jle@cygnus.com>
3560 * bb-reorder.c (reorder_basic_blocks): Update PREV_INSN as well as
3561 NEXT_INSN. Update last insn in chain.
3563 2000-03-17 Jason Merrill <jason@casey.cygnus.com>
3565 * dwarf2out.c (dwarf2out_decl): Don't emit anything for types
3566 with TYPE_DECL_SUPPRESS_DEBUG set.
3568 2000-03-18 Richard Henderson <rth@cygnus.com>
3570 * flow.c (make_edges): Use INTVAL to access REG_EH_REGION value.
3572 2000-03-18 Richard Henderson <rth@cygnus.com>
3574 * i386.c (call_insn_operand): Always allow SYMBOL_REF,
3575 care for HALF_PIC_P.
3576 (expander_call_insn_operand): Remove.
3577 (ix86_expand_epilogue): New arg `emit_return' to control return insn.
3578 * i386.h (PREDICATE_CODES): Update.
3579 * i386.md (all call expanders): Remove predicates, remove special
3580 handling for half-pic.
3581 (*call_1, *call_value_1): Handle SIBLING_CALL_P insns.
3582 (*call_pop_pic2, *call_pic2, *call_value_pop_2, *call_value_2): Remove.
3583 (sibcall_epilogue): New.
3585 2000-03-17 Richard Henderson <rth@cygnus.com>
3587 * rtlanal.c (single_set): Reject if the parallel has anything
3588 except SET or USE or CLOBBER.
3590 2000-03-17 Jeff Law <law@cygnus.com>
3591 Richard Henderson <rth@cygnus.com>
3593 * Makefile.in (OBJS): Add sibcall.o.
3595 * sibcall.c: New file.
3596 * calls.c (FUNCTION_OK_FOR_SIBCALL): Provide default.
3597 (ECF_IS_CONST, ECF_NOTHROW, ECF_SIBCALL): New.
3598 (emit_call_1): Replace `is_const' and `nothrow' with `ecf_flags'.
3599 Emit sibcall patterns when requested. Update all callers.
3600 (expand_call): Generate CALL_PLACEHOLDER insns when tail call
3601 elimination seems feasable.
3602 * final.c (leaf_function_p): Sibling calls don't discount being
3604 * flow.c (HAVE_sibcall_epilogue): Provide default.
3605 (find_basic_blocks_1): Sibling calls don't throw.
3606 (make_edges): Make edge from sibling call to EXIT.
3607 (propagate_block): Don't remove sibcall_epilogue insns.
3608 * function.c (prologue, epilogue): Turn into varrays. Update all uses.
3609 (sibcall_epilogue): New.
3610 (fixup_var_refs): Scan CALL_PLACEHOLDER sub-sequences.
3611 (identify_blocks_1): Likewise. Break out from ...
3612 (identify_blocks): ... here.
3613 (reorder_blocks_1): Scan CALL_PLACEHOLDER. Break out from ...
3614 (reorder_blocks): ... here.
3615 (init_function_for_compilation): Zap prologue/epilogue as varrays.
3616 (record_insns): Extend a varray instead of mallocing new memory.
3617 (contains): Read a varray not array of ints.
3618 (sibcall_epilogue_contains): New.
3619 (thread_prologue_and_epilogue_insns): Emit and record
3620 sibcall_epilogue patterns.
3621 (init_function_once): Allocate prologue/epilogue varrays.
3622 * genflags.c (gen_insn): Treat sibcall patterns as calls.
3623 * integrate.c (save_parm_insns): Recurse on CALL_PLACEHOLDER patterns.
3625 (save_for_inline_nocopy): ... here.
3626 (copy_insn_list): Recurse on CALL_PLACEHOLDER patterns.
3628 (expand_inline_function): ... here.
3629 (copy_rtx_and_substitute): Handle NOTE_INSN_DELETED_LABEL.
3630 (subst_constants): Handle 'n' formats.
3631 * jump.c (jump_optimize_minimal): New.
3632 (jump_optimize_1): New arg `minimal'; update callers. Elide most
3633 optimizations if it's set.
3634 * rtl.c (copy_rtx): Do copy jump & call for insns.
3635 * rtl.h (struct rtx_def): Document use of jump and call for insns.
3636 (SIBLING_CALL_P): New.
3637 (sibcall_use_t): New.
3638 * toplev.c (rest_of_compilation): Do init_EXPR_INSN_LIST_cache earlier.
3639 Invoke optimize_sibling_and_tail_recursive_calls.
3640 * tree.c (lang_safe_for_unsave): New.
3641 (safe_for_unsave): New.
3642 * tree.h (lang_safe_for_unsave, safe_for_unsave): Declare.
3644 * alpha.h (FUNCTION_OK_FOR_SIBCALL): New.
3645 * alpha.md (sibcall, sibcall_value, sibcall_epilogue): New.
3646 (*sibcall_osf_1, *sibcall_value_osf_1): New.
3648 2000-03-17 Mark Mitchell <mark@codesourcery.com>
3650 * objc/objc-act.c (encode_method_prototype): Pass types, not
3651 PARM_DECLs, to int_size_in_bytes.
3653 Fri Mar 17 11:51:34 2000 Jim Wilson <wilson@cygnus.com>
3655 * config/ia64/ia64.md (mix4right_3op): Swap %1 and %2 in template.
3657 * config/ia64/ia64-protos.h, config/ia64/ia64.c, config/ia64/ia64.h,
3658 config/ia64/ia64.md, config/ia64/xm-ia64.h: Fix copyrights again.
3660 Fri Mar 17 08:09:14 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
3662 * Clean up usages of TREE_INT_CST_LOW.
3663 * c-parse.in (RESTORE_WARN_FLAGS): Use tree_low_cst.
3664 * c-parse.y, c-parse.c, objc/objc-parse.y, objc/objc-parse.c:
3666 * c-tree.h (min_precision): Move declaration to here.
3667 * c-typeck.c (build_binary_op): Use host_integerp and tree_low_cst.
3668 (build_unary_op, add_pending_init): Use bit_position.
3669 (pending_init_member, process_init_element): Likewise.
3670 (really_start_incremental_init, push_init_level, pop_init_level):
3671 Don't make copies of nodes or modify them in place, use consistent
3672 types when tracking positions, and use tree routines computations.
3673 (set_init_index, output_init_element): Likewise.
3674 (output_pending_init_elements, process_init_element): Likewise.
3675 * dbxout.c (dbxout_type_fields): Use bit_position, host_integerp,
3676 tree_low_cst and int_bit_position; also minor cleanup.
3677 (dbxout_type_method_1, dbxout_range_type, dbxout_type): Likewise.
3678 (print_cst_octal): Precision is unsigned.
3679 (dbxout_symbol): Ensure DECL_INITIAL is in-range and use tree_low_cst.
3680 * dwarf2out.c (ceiling): Input and output are unsigned HOST_WIDE_INT.
3681 (simple_type_align_in_bits): Result is unsigned int.
3682 Use tree_int_low_cst and host_integerp.
3683 (simple_type_size_in_bits): Result is unsigned HOST_WIDE_INT.
3684 (field_byte_offset): Result is HOST_WIDE_INT.
3685 Change types of internal variables so alignments are unsigned int,
3686 offsets are HOST_WIDE_INT and sizes are unsigned HOST_WIDE_INT.
3687 Use host_integerp, tree_low_cst, and int_bit_position.
3688 (add_bit_offset_attribute): Likewise.
3689 (add_data_member_location_attribute): Use tree_cst_low.
3690 (add_bound_info): Use host_integerp, integer_zerop, and integer_onep.
3691 (add_bit_size_attribute): Use tree_low_cst.
3692 (add_pure_or_virtual_attribute, gen_enumeration_type_die): Likewise.
3693 * dwarfout.c: Similar changes to dwarf2out.c.
3694 * expr.c (expand_expr, case ARRAY_REF): Remove redundant code.
3695 * genoutput.c (n_occurences): Return -1 for null string.
3696 (strip_whitespace): Accept null string and make into function.
3697 (scan_operands): Reflect above changes.
3698 * sdbout.c (plain_type_1): Use host_integerp and tree_low_cst.
3699 (sdbout_field_types, sdbout_one_type): Likewise; also use bit_position.
3700 * ssa.c (rename_registers): Add missing cast of arg to bzero.
3701 * tree.c (int_size_in_bytes): Check for too big to represent.
3702 (bit_position, int_bit_position, host_integerp, tree_low_cst): New fns.
3703 * tree.h (host_integerp, tree_low_cst, bit_position, int_bit_position):
3705 (min_precision): Delete from here.
3706 * varasm.c (decode_addr_const): Use host_integerp, bit_position,
3707 and int_bit_position.
3708 * objc/objc-act.c (encode_method_prototype): Sizes are HOST_WIDE_INT.
3709 (encode_method_def): Likewise.
3710 (build_ivar_list_initializer): Use int_bit_position.
3711 (generate_shared_structures): Convert size.
3712 (encode_type, encode_complete_bitfield): Use integer_zerop.
3713 (encode_bitfield): Use tree_low_cst and int_bit_position.
3715 2000-03-17 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
3717 * config/c4x/c4x.h (CPP_SPEC): Fix typo.
3719 2000-03-17 Martin v. Löwis <loewis@informatik.hu-berlin.de>
3721 * call.c (special_function_p): It is only malloc if it returns
3724 2000-03-17 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
3726 * config/c4x/c4x.h (ASM_SPEC, CPP_SPEC, LINK_SPEC): Support C33.
3727 (C33_FLAG, TARGET_C3X): Add macros.
3728 (TARGET_SWITCHES): Add -m33 option.
3729 * config/c4x/c4x.c (c4x_override_options): Test for TARGET_C33.
3731 2000-03-17 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
3733 * config/c4x/c4x.h (PARALLEL_INSN_FLAG): Add.
3734 (PARALLEL_PACK_FLAG): Delete.
3735 (TARGET_SWITCHES): Update.
3736 (TARGET_PARALLEL): Use PARALLEL_INSN_FLAG.
3738 Thu Mar 16 18:52:32 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
3740 * fold-const.c (fold): Fix a few cases when the returned result
3741 is not of the same type as the input.
3743 2000-03-16 Nick Clifton <nickc@cygnus.com>
3745 * config/arm/arm.h (ASM_OUTPUT_MI_THUNK): Fix compile time
3748 2000-03-16 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3750 * libgcc2.h: Move prototypes above macros with the same name.
3751 Wrap some function prototypes in the conditional which indicates
3752 whether they are supported, i.e. "BITS_PER_UNIT == 8".
3754 2000-03-16 Richard Henderson <rth@cygnus.com>
3756 * calls.c: Revert last two changes.
3758 2000-03-16 Bernd Schmidt <bernds@cygnus.co.uk>
3760 * fp-bit.c (_unpack_d): If NO_DENORMALS is defined, anything that
3761 has exponent 0 is a zero.
3763 * simplify-rtx.c (hash_rtx, case MEM/REG): Take into account that
3764 HASH may already be nonzero. Add code/mode into hash value
3765 immediately after repeat label.
3766 (cselib_lookup): Don't leave the hash table in an inconsistent
3767 state before a hash lookup operation.
3769 Thu Mar 16 17:03:10 MET 2000 Jan Hubicka <jh@suse.cz>
3771 * i386.md (all HI and QI mode non-move patterns): Conditionize
3772 by TARGET_[HQ]IMODE_MATH.
3773 * i386.h (x86_himode_math, x86_qimode_math, x86_promote_hi_regs,
3774 x86_promote_qi_regs): Declare.
3775 (TARGET_HIMODE_MATH, TARGET_QIMODE_MATH, TARGET_PROMOTE_HI_REGS,
3776 TARGET_PROMOTE_QI_REGS): New macros.
3777 (PROMOTE_MODE): New macro.
3778 * i386.c (x86_himode_math, x86_qimode_math, x86_promote_hi_regs,
3779 x86_promote_qi_regs): New global variables.
3781 Thu Mar 16 16:50:44 MET 2000 Jan Hubicka <jh@suse.cz>
3783 * calls.c (emit_library_call_value_1): Break out from ...; handle
3784 VOIDmode function calls too.
3785 (emit_library_call_value): ... here.
3786 (emit_library_call): Implement by calling emit_library_call_value_1.
3788 Thu Mar 16 16:01:30 MET 2000 Jan Hubicka <jh@suse.cz>
3790 * calls.c (expand_call): Do sanity checking on arg_space_so_far.
3791 Update arg_space_so_far on stack adjustments.
3792 (emit_library_call, emit_library_call_value): Likewise; take into
3793 account arg_space_so_far and pending_stack_adjust when calculcating
3796 Thu Mar 16 09:02:19 2000 Jason Eckhardt <jle@cygnus.com>
3798 * flow.c: Move all basic block reordering code into its own file.
3799 (create_basic_block): Externalize.
3800 * bb-reorder.c: New file. Copy all basic block reordering code from
3801 flow.c to this file.
3802 (reorder_basic_blocks): Fix fencepost error in for-loop.
3803 (reorder_basic_blocks): Remove braces from single statement for-loops.
3804 * basic-block.h: Add declaration for create_basic_block.
3805 * Makefile.in: Add rules for bb-reorder.o.
3807 2000-03-16 Neil Booth <NeilB@earthling.net>
3809 * cppinit.c (handle_option): Implement #unassert directive
3810 as -A- command line option.
3811 (print_help): Update.
3812 * cpptexi.c: Update.
3814 Thu Mar 16 02:14:16 2000 Hans-Peter Nilsson <hp@bitrange.com>
3816 * md.texi (Standard Names): Document `jump'.
3818 2000-03-15 Jason Merrill <jason@casey.cygnus.com>
3820 * calls.c (emit_call_1): Nothrow functions can still have nonlocal
3823 2000-03-15 Geoff Keating <geoffk@cygnus.com>
3825 Merge changes from newppc-branch onto trunk.
3827 2000-03-15 Geoff Keating <geoffk@cygnus.com>
3829 * rs6000.c (toc_hash_table): Update for new hash table functions.
3830 (toc_hash_function): Likewise.
3831 (toc_hash_eq): Likewise.
3832 (toc_hash_mark_entry): Likewise.
3833 (toc_hash_mark_table): Likewise.
3834 (output_toc): Likewise.
3835 (rs6000_add_gc_roots): Likewise.
3837 2000-03-15 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
3839 * t-aix43 (AR_FOR_TARGET): Deleted. Moved `-X32_64'...
3840 (AR_FLAGS_FOR_TARGET): here. New macro.
3842 2000-03-05 Clinton Popetz <cpopetz@cygnus.com>
3844 * config/rs6000/rs6000.c (rs6000_fpmem_offset, rs6000_fpmem_size,
3845 fpmem_operand) Delete.
3847 (rs6000_reg_names, alt_reg_names): Change fpmem to xer.
3848 (machine_function): Remove fpmem_size, fpmem_offset, save_toc_p.
3849 (rs6000_save_machine_status, rs6000_restore_machine_status,
3850 rs6000_init_expanders, rs6000_stack_info, debug_stack_info): Remove
3851 references to above variables.
3852 (gpc_reg_operand): Use XER_REGNO_P instead of FPMEM_REGNO_P.
3853 * config/rs6000/rs6000.h (REG_ALLOC_ORDER, REGISTER_NAMES,
3854 DEBUG_REGISTER_NAMES): Chagne fpmem to xer.
3855 (FPMEM_REGNO_P, FPMEM_REGNUM): Delete.
3856 (XER_REGNO_P, XER_REGNO): New.
3857 (rs6000_stack): Remove fpmem_p, fpmem_offset, fpmem_size.
3858 (PREDICATE_CODES): Change fpmem_operand to xer_operand.
3859 (HARD_REGNO_NREGS, HARD_REGNO_MODE_OK): Change FPMEM_REGNO_P to
3861 (reg_class, REG_CLASS_NAMES, REG_CLASS_CONTENTS, REGNO_REG_CLASS,
3862 REG_CLASS_FROM_LETTER, CLASS_MAX_NREGS): Change FPMEM_REGS to XER_REGS, and remove FLOAT_OR_FPMEM_REGS.
3863 (CLASS_CANNOT_CHANGE_SIZE): Change to FLOAT_REGS.
3865 2000-02-29 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
3867 * aix.h (FP_SAVE_INLINE, ASM_OUTPUT_INTERNAL_LABEL_PREFIX,
3868 TEXT_SECTION_ASM_OP, DATA_SECTION_ASM_OP): Move here...
3869 * rs6000.h: from here.
3871 * rs6000-protos.h (rs6000_select_section): Provide prototype.
3872 (rs6000_select_rtx_section): Likewise.
3873 (rs6000_encode_section_info): Likewise.
3874 (sdata_section): Likewise.
3875 (sdata2_section): Likewise.
3876 (sbss_section): Likewise.
3877 * sysv4.h (rs6000_select_section): Delete prototype.
3878 (rs6000_select_rtx_section): Likewise.
3879 (rs6000_encode_section_info): Likewise.
3880 (sdata_section): Likewise.
3881 (sdata2_section): Likewise.
3882 (sbss_section): Likewise.
3883 (REG_SAVE_AREA): Delete definition duplicated in rs6000.h.
3885 * sysv4.h: Delete various unnecessary #undef's and put a comment
3886 on the remaining ones.
3887 Change various comments according to coding standard.
3889 2000-02-29 Clinton Popetz <cpopetz@cygnus.com>
3891 * config/rs6000/rs6000.h (MQ_REGNO, CR0_REGNO, CR1_REGNO, CR2_REGNO,
3892 CR3_REGNO, CR4_REGNO, MAX_CR_REGNO): Define.
3893 (CR0_REGNO_P) Remove.
3894 * config/rs6000/rs6000.c (gpc_reg_operand, and64_operand, and_operand,
3895 setup_incoming_varargs, mtcrf_operation, print_operand,
3896 rs6000_stack_info, rs6000_emit_prologue, rs6000_emit_epilogue):
3897 Use the above macros.
3899 2000-02-24 Clinton Popetz <cpopetz@cygnus.com>
3901 * config/rs6000/rs6000.md: Added a new alternative for each
3902 pattern that had a 'x' alternative but no 'y' alternative.
3903 Added a new split for each of the above patterns.
3905 2000-02-18 Geoff Keating <geoffk@cygnus.com>
3907 * aix41.h (ASM_CPU_SPEC): Delete.
3908 (CPP_CPU_SPEC): Delete.
3910 * aix.h (RS6000_OUTPUT_BASENAME): Define.
3911 (ASM_OUTPUT_LABEL): Define.
3912 (ASM_GLOBALIZE_LABEL): Define.
3913 (STRIP_NAME_ENCODING): Define.
3914 * rs6000.h (RS6000_OUTPUT_BASENAME): Don't define.
3915 (STRIP_NAME_ENCODING): Don't define.
3916 (ASM_OUTPUT_LABEL): Don't define.
3917 (ASM_GLOBALIZE_LABEL): Don't define.
3918 * sysv4.h (ASM_DECLARE_FUNCTION_NAME): Use assemble_name to output
3919 names, and ASM_OUTPUT_LABEL to output labels, rather than
3921 (ASM_OUTPUT_LABEL): Define.
3922 (ASM_OUTPUT_INT): Use assemble_name.
3923 (ASM_OUTPUT_DWARF_ADDR): Use assemble_name.
3924 (STRIP_NAME_ENCODING): Don't undefine first.
3925 (RS6000_OUTPUT_BASENAME): Make equivalent to assemble_name for
3927 (ASM_OUTPUT_LABELREF): Don't prepend underscores to labels
3928 specified with 'asm' even with -fleading-underscore.
3929 * rs6000.c (print_operand): Use assemble_name when !TARGET_AIX.
3930 (output_epilog): Likewise.
3931 (output_toc): Likewise.
3932 * tramp.asm: Handle -fleading-underscore correctly.
3934 * rs6000.md (builtin_setjmp_receiver): Also run for -fPIC and
3936 (nonlocal_goto_receiver): Delete.
3937 * rs6000.h (DONT_ACCESS_GBLS_AFTER_EPILOGUE): Delete.
3939 * rs6000.h (ASM_OUTPUT_DEF): Don't define.
3940 (SET_ASM_OP): Define.
3941 * sysv4.h (ASM_OUTPUT_DEF): Don't undefine.
3943 * rs6000.h (ASM_OUTPUT_ADDR_VEC_ELT): Don't define.
3946 * rs6000.c (rs6000_dll_import_ref): Delete, not used.
3947 * rs6000-protos.h (rs6000_dll_import_ref): Delete.
3949 * rs6000.h: Add 'u' to more constants.
3951 2000-02-18 David Edelsohn <edelsohn@gnu.org>
3953 * rs6000.md (mfcr+shift): Delete PowerPC64 version.
3955 2000-02-15 David Edelsohn <edelsohn@gnu.org>
3957 * rs6000.c (reg_or_u_cint_operand): New function.
3958 (logical_operand): Handle 64-bit hosts.
3959 (logical_u_operand): New function.
3960 (non_logical_cint_operand): Handle 64-bit hosts.
3961 (non_logical_u_cint_operand): New function.
3962 * rs6000.h (DATA_SECTION_ASM_OP): Add tab.
3963 (PREDICATE_CODES): Define new functions.
3964 * rs6000-protos.h: Declare new functions.
3965 * rs6000.md (iordi3, xordi3): Constant int must be unsigned 32-bits.
3966 (movdi_64): Bracket code intended for 64-bit hosts. Create
3967 CONST_DOUBLE for 32-bit values.
3968 (scc insns): Generate DImode compares.
3969 (mfcr insns): Create DImode versions.
3970 (sge matchers): New patterns.
3972 2000-02-15 Gabriel Paubert <paubert@iram.es>
3974 * rs6000.md: Correct instructions length attributes and
3975 constraints on unsigned compare instructions.
3976 (*ne0): Disable for PowerPC64.
3978 2000-02-11 Geoff Keating <geoffk@cygnus.com>
3980 * rs6000.c (output_function_profiler): Use .long for a 32-bit
3981 quantity, fix profile1.C test failure under -fPIC.
3983 * rs6000.c: Add 'u' to many constants to suppress warnings.
3984 (constant_pool_expr_1): Make static.
3985 (rs6000_emit_eh_toc_restore): Remove unused 'r2'.
3986 * rs6000.h: Add 'u' to many constants to suppress warnings.
3988 * rs6000.c (rs6000_emit_load_toc_table): Use LCTOC..1 under AIX
3989 for the start of the TOC, instead of LCTOC..0.
3990 * aix.h (toc_section): Use LCTOC..1 under AIX for the start
3992 * rs6000.md (load_toc_aix_si): Use LCTOC..1.
3993 (load_toc_aix_di): Use LCTOC..1.
3995 * rs6000.h (LEGITIMIZE_ADDRESS): Turn into a function.
3996 * rs6000.c (rs6000_legitimize_address): New function from
3997 LEGITIMIZE_ADDRESS. Only use create_TOC_reference on
3998 symbols in the constant pool that really are TOC references.
3999 (print_operand_address): For ELF, write TOC offsets under
4000 -fPIC as subtractions in the insn.
4001 (output_toc): For ELF, define symbols in TOC as normal labels,
4003 (create_TOC_reference): Use gen_rtx_PLUS rather than gen_rtx.
4004 * rs6000-protos.h (rs6000_legitimize_address): Prototype.
4005 (create_TOC_reference): Prototype only when RTX_CODE is defined.
4006 * rs6000.md (movsi): Only use create_TOC_reference on
4007 symbols in the constant pool that really are TOC references.
4009 * rs6000.h (MACHINE_DEPENDENT_REORG): Don't define.
4010 * rs6000.c (rs6000_reorg): Delete.
4011 * rs6000-protos.h (rs6000_reorg): Delete.
4013 2000-02-09 Geoff Keating <geoffk@cygnus.com>
4015 * rs6000.h (INCOMING_RETURN_ADDR_RTX): New macro.
4017 * aix.h (SETUP_FRAME_ADDRESSES): Define.
4018 * rs6000.c [TARGET_AIX] (insn_after_throw): New static variable.
4019 [TARGET_AIX] (rs6000_aix_emit_builtin_unwind_init): New function.
4020 [TARGET_AIX] (rs6000_emit_eh_toc_restore): New function.
4021 * rs6000-protos.h: Prototype rs6000_emit_eh_toc_restore,
4022 rs6000_aix_emit_builtin_unwind_init.
4023 * rs6000.md (eh_epilogue) [TARGET_AIX]: Call
4024 rs6000_emit_eh_toc_restore on AIX.
4025 (return_eh_si): Use r2.
4026 (return_eh_di): Use r2.
4028 * aix43.h: Turn on HAS_INIT_SECTION and LD_INIT_SWITCH,
4029 since we're breaking binary compatibility anyway.
4031 2000-02-09 Clinton Popetz <cpopetz@cygnus.com>
4033 * config/rs6000/rs6000-protos.h: (get_TOC_alias_set, uses_TOC,
4034 constant_pool_expr_p): Declare them.
4035 (constant_pool_expr_p): Declare it.
4036 * config/rs6000/rs6000.c (toc_label_name): Define.
4037 (rs6000_override_options): Set toc_label_name.
4038 (input_operand): Allow any TOC_RELATIVE_EXPR_P.
4039 (get_TOC_alias_set, constant_pool_expr_p, constant_pool_expr_1,
4040 uses_TOC): New functions.
4041 (print_operand): Delete old '*' case.
4042 (print_operand_address): Use LEGITIMATE_CONSTANT_POOL_ADDRESS_P,
4043 and strip off rtl for TOC before calling output_addr_const.
4044 (rs6000_emit_load_toc_table): Use toc_label_name.
4045 * config/rs6000/rs6000.h (TARGET_SWITCHES): Make msched-prolog
4047 (LEGITIMATE_CONSTANT_POOL_BASE_P): Delete.
4048 (CONSTANT_POOL_EXPR_P, TOC_RELATIVE_EXPR_P): New macros.
4049 (LEGITIMATE_CONSTANT_POOL_ADDRESS_P): Use CONSTANT_POOL_EXPR_P.
4050 (LEGITIMIZE_ADDRESS, LEGITIMIZE_RELOAD_ADDRESS): Turn symbol_refs
4051 into explicit TOC_REGISTER offsets.
4052 (TOC_REGISTER): New macro.
4053 * config/rs6000/rs6000.md (movsi, movdi): Emit rtl under
4054 TARGET_TOC to reference TOC_REGISTER.
4055 (load_toc_v4_PIC_1b): Add 4 to offset for toc reload.
4056 * config/rs6000/sysv4.h (ASM_DECLARE_FUNCTION_NAME): Call
4057 uses_TOC before emitting label references.
4059 2000-02-05 Geoff Keating <geoffk@cygnus.com>
4061 * rs6000.md (stack_tie): Fix warning.
4063 * eabi-ctors.c: Use 'asm' names for the start/end variables,
4064 to handle -fleading-underscore.
4065 * sysv4.h (ASM_DECLARE_FUNCTION_NAME): Use asm_fprintf and %U.
4066 (USER_LABEL_PREFIX): New macro.
4067 (ASM_OUTPUT_INTERNAL_LABEL_PREFIX): Use asm_fprintf and %L.
4068 (ASM_OUTPUT_LABELREF): Use asm_fprintf and %U.
4069 * t-ppccomm (MULTILIB_MATCHES_SYSV): Note that call-sysv and
4070 call-linux can use the same multilibs.
4071 * t-ppcgas (MULTILIB_OPTIONS): Don't need to have separate call-sysv
4072 and call-linux multilibs. Do multilib with -fleading-underscore.
4073 (MULTILIB_DIRNAMES): Follow MULTILIB_OPTIONS change.
4074 (MULTILIB_EXCEPTIONS): Remove call-linux exceptions. Add restrictions
4077 * sysv4.h (CPP_SYSV_SPEC): Define _SOFT_FLOAT for all those CPUs that
4078 have MASK_SOFT_FLOAT set.
4079 (CPP_FLOAT_DEFAULT_SPEC): New macro.
4080 (SUBTARGET_EXTRA_SPECS): Set `cpp_float_default' to the value of
4081 CPP_FLOAT_DEFAULT_SPEC.
4083 * rs6000.c (ccr_bit): Add some consistency checks and a variable 'reg'.
4084 * rs6000.md: Whitespace change.
4085 * sysv4.h (LINK_TARGET_SPEC): Whitespace change.
4086 * sysv4le.h (LINK_TARGET_SPEC): Whitespace change.
4088 2000-02-05 Geoff Keating <geoffk@cygnus.com>
4090 * rs6000.md (eh_epilogue): New expander.
4091 (eh_reg_restore): New expand/split/insn combination.
4092 (return_eh_si): New insn.
4093 (return_eh_di): New insn.
4095 * eabi-ci.asm: Put a label at the start of the .eh_frame section.
4096 * eabi-cn.asm: Put a zero at the end of the .eh_frame section.
4097 * eabi-ctors.c (__do_global_ctors): Register this object's
4098 frame. Clean up. Call atexit() after the constructors.
4099 (__do_global_dtors): Deregister this object's frame. Clean up.
4100 Allow for recursive calls to exit().
4101 * rs6000.c (fixuplabelno): New variable.
4102 * sysv4.h (ASM_OUTPUT_INT): Don't do .fixup if not
4103 TARGET_RELOCATABLE, it slows down exec() under linux.
4104 (ASM_OUTPUT_DWARF_ADDR): Do .fixup if TARGET_RELOCATABLE.
4106 * aix.h (ASM_OUTPUT_DWARF_ADDR_VAR): New macro.
4107 (ASM_OUTPUT_DWARF_DELTA_VAR): New macro.
4108 (ASM_OUTPUT_DWARF_DELTA2): New macro.
4109 (ASM_OUTPUT_DWARF_DELTA4): New macro.
4110 (ASM_OUTPUT_DWARF_ADDR_DELTA): New macro.
4111 (ASM_OUTPUT_DWARF_ADDR): New macro.
4112 (ASM_OUTPUT_DWARF_DATA4): New macro.
4113 (ASM_OUTPUT_DWARF_DATA2): New macro.
4114 (ASM_OUTPUT_DWARF_OFFSET4): New macro.
4115 (ASM_OUTPUT_DWARF_OFFSET): New macro.
4116 (UNALIGNED_INT_ASM_OP): New macro, fake definition.
4118 2000-02-03 Geoff Keating <geoffk@cygnus.com>
4120 * rs6000.c (rs6000_sr_alias_set): New variable.
4121 (rs6000_override_options): Initialise rs6000_sr_alias_set.
4122 (rs6000_emit_stack_tie): New function.
4123 (rs6000_emit_allocate_stack): Specify RTX_FRAME_RELATED_P
4124 in a way that dwarf2out can understand.
4125 (rs6000_frame_related): New function.
4126 (rs6000_emit_prologue): Use rs6000_sr_alias_set. Specify
4127 RTX_FRAME_RELATED_P in a way that dwarf2out can understand.
4128 Use rs6000_emit_stack_tie when needed.
4129 (rs6000_emit_epilogue): Use rs6000_sr_alias_set. Don't set
4130 RTX_FRAME_RELATED_P. Use rs6000_emit_stack_tie when needed.
4131 * rs6000.md (stack_tie): New insn.
4132 (return_internal_si): Allow return value to be in the count
4134 (return_internal_di): Likewise.
4136 * rs6000.c (output_mi_thunk): Remove unused variable `sp'.
4138 2000-02-03 Geoff Keating <geoffk@cygnus.com>
4140 * sysv4.h (LOCAL_LABEL_PREFIX): Define, for the use of dbxelf.h.
4142 2000-01-31 Geoff Keating <geoffk@cygnus.com>
4144 * rs6000.h (ASM_OUTPUT_DEF_FROM_DECLS): New macro.
4146 * rs6000.md (stmw): Use the right POWER opcode.
4149 2000-01-31 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4151 * rs6000-protos.h: New file.
4153 * rs6000.c: Include tm_p.h. Fix compile time warnings.
4155 * rs6000.h: Move prototypes to rs6000-protos.h. Fix compile time
4158 * sysv4.h: Likewise.
4160 2000-01-28 Geoff Keating <geoffk@cygnus.com>
4162 * ../../configure.in: Delete powerpcle-*-winnt*
4163 and powerpcle-*-pe|powerpcle-*-cygwin*.
4164 * ../../configure: Regenerated.
4166 * rs6000.h (OBJECT_WINDOWS_NT): Delete.
4167 (TARGET_WINDOWS_NT): Delete.
4169 (CALL_NT_DLLIMPORT): Delete.
4170 Delete NT-specific code.
4171 * rs6000.md, rs6000.c, sysv4.h: Delete NT-specific code.
4174 * nt-ci.asm: Delete.
4175 * nt-cn.asm: Delete.
4176 * ntstack.asm: Delete.
4178 2000-01-27 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
4180 * rs6000.h (SELECT_RTX_SECTION): Move to aix.h.
4181 (ASM_FILE_START): Likewise.
4182 (ASM_DECLARE_FUNCTION_NAME): Likewise.
4183 (ASM_OUTPUT_LABELREF): Likewise.
4184 (ASM_OUTPUT_SKIP): Likewise.
4185 (ASM_OUTPUT_INTERNAL_LABEL): Likewise.
4186 (ASM_GENERATE_INTERNAL_LABEL): Likewise.
4187 (ASM_OUTPUT_CASE_LABEL): Likewise.
4188 (ASM_OUTPUT_ALIGNED_COMMON): Likewise.
4189 (ASM_OUTPUT_ASCII): Likewise.
4191 2000-01-27 Clinton Popetz <cpopetz@cygnus.com>
4193 * rs6000.c (rs6000_emit_load_toc_table): Use "LCG" and
4194 reload_toc_labelno for non-prologue TOC reloads. Also, don't
4195 increment rs6000_pic_labelno here.
4196 (rs6000_emit_prologue): Pass TRUE to rs6000_emit_load_toc_table,
4197 and increment rs6000_pic_labelno here.
4199 2000-01-24 Geoffrey Keating <geoffk@cygnus.com>
4201 * rs6000.md (fctiwz): Use (set (reg) (unspec:DI [(fix:SI ...)]))
4202 rather than (set (subreg:SI (reg)) (fix:SI ...)) so that register
4203 allocation knows (reg) is dead before the insn.
4205 2000-01-21 Geoff Keating <geoffk@cygnus.com>
4207 * rs6000.md (movsi_to_cr): Correct typo in output template.
4209 2000-01-19 Geoffrey Keating <geoffk@cygnus.com>
4211 * rs6000.c (rs6000_pic_labelno): Always define.
4212 (rs6000_pic_func_labelno): Delete.
4213 (lmw_operation): Check for a zero base register,
4214 which doesn't mean what we want.
4215 (stmw_operation): New function.
4216 (print_operand): Define new 'l' modifier.
4217 (rs6000_stack_info): We must save all 64 bits of the registers
4218 if TARGET_POWERPC64.
4219 (rs6000_output_load_toc_table): Delete.
4220 (rs6000_emit_load_toc_table): New function.
4221 (rs6000_allocate_stack_space): Delete.
4222 (rs6000_emit_allocate_stack): New function.
4223 (rs6000_emit_prologue): New function.
4224 (output_prolog): Use rs6000_emit_prologue.
4225 (rs6000_emit_epilogue): Change a few variable names to be
4226 more accurate. Restore all 64 bits of the registers if
4227 TARGET_POWERPC64. Only restore the FP registers which were used
4228 if they are being saved/restored one-at-a-time.
4229 (output_mi_thunk): Delete inefficient code generation.
4230 (output_function_profiler): Don't use rs6000_output_load_toc_table.
4231 * rs6000.h: Declare rs6000_emit_load_toc_table,
4232 rs6000_allocate_stack_space, stmw_operation. Don't declare
4233 rs6000_output_load_toc_table.
4234 * rs6000.md (elf_high): Allow register 0, but discourage it
4236 (elf_low): Support loading into register 0.
4237 (load_toc_aix_si): New pattern.
4238 (load_toc_aix_di): New pattern.
4239 (load_toc_v4_pic_si): New pattern.
4240 (load_toc_v4_pic_di): New pattern.
4241 (load_toc_v4_PIC_1): New pattern.
4242 (load_toc_v4_PIC_1b): New pattern.
4243 (load_toc_v4_PIC_2): New pattern.
4244 (builtin_setjmp_receiver): Use rs6000_emit_load_toc_table.
4245 (nonlocal_goto_receiver): Use rs6000_emit_load_toc_table.
4246 (prologue): New expander.
4247 (movesi_from_cr): New pattern.
4248 (stmw): New pattern.
4249 (save_fpregs_si): New pattern.
4250 (save_fpregs_di): New pattern.
4252 2000-01-19 Geoff Keating <geoffk@cygnus.com>
4254 * rs6000.md (movsi): Don't use force_reg when no_new_pseudos.
4259 2000-01-19 Geoff Keating <geoffk@cygnus.com>
4261 * rs6000.md (movsi_got): 'unspec 8' returns a SImode result,
4263 (movsi_got_internal): Likewise.
4264 (movsi_got_internal+1): Likewise.
4265 (set_sp): 'unspec 7' does a SImode clobber.
4267 2000-01-19 Geoff Keating <geoffk@cygnus.com>
4269 * rs6000.md (floatsidf2): Don't use the fpmem "register", just
4270 allocate a stack temporary.
4271 (floatsidf2_internal): Likewise.
4272 (floatsidf2_internal+1): Likewise. Don't do bizzare hacks
4274 (floatunssidf2): Don't use the fpmem "register", just
4275 allocate a stack temporary.
4276 (floatunssidf2_internal): Likewise.
4277 (floatunssidf2_internal+1): Likewise. Don't do bizzare hacks
4279 (floatsidf2_loadaddr): Delete.
4280 (floatsidf2_store1): Delete.
4281 (floatsidf2_store2): Delete.
4282 (floatsidf2_load): Delete.
4283 (fix_truncdfsi2): Don't use the fpmem "register", just
4284 allocate a stack temporary.
4285 (fix_truncdfsi2_internal_si): Delete.
4286 (fix_truncdfsi2_internal_di): Delete.
4287 (fix_truncdfsi2_internal): New insn.
4288 (fix_truncdfsi2_internal+1): Don't use the fpmem "register".
4289 (fix_truncdfsi2_store): Delete.
4290 (fix_truncdfsi2_load): Delete.
4291 (fctiwz): Produce gen_fctiwz.
4293 2000-01-19 Geoffrey Keating <geoffk@cygnus.com>
4295 * eabi.h (INVOKE__main): Define.
4296 * rs6000.c (rs6000_stack_info): Don't handle call to NAME__MAIN
4298 (rs6000_emit_prologue): Likewise.
4299 * rs6000.h (struct rs6000_stack): Don't keep track of whether
4300 this is the main program.
4302 2000-01-19 Geoff Keating <geoffk@cygnus.com>
4304 * rs6000.c (rs6000_va_arg): Delete some unused variables.
4306 2000-01-19 Geoff Keating <geoffk@cygnus.com>
4308 * rs6000.c (rs6000_va_arg): On AIX, padding for small arguments
4309 goes after the argument.
4311 2000-01-12 Geoff Keating <geoffk@cygnus.com>
4313 * rs6000.md: Document 'unspec' values used.
4314 (epilogue): New expander.
4315 (movesi_to_cr_one): New expander.
4316 (movesi_to_cr and following): New pattern.
4318 (return_internal_si): New pattern.
4319 (return_internal_di): New pattern.
4320 (return_and_restore_fpregs_si): New pattern.
4321 (return_and_restore_fpregs_di): New pattern.
4322 * rs6000.h: Declare new functions.
4323 * rs6000.c (rs6000_stack_info): Use current_function_is_leaf
4324 rather than rs6000_calls_p.
4325 (rs6000_makes_calls): Delete.
4326 (lmw_operation): New function.
4327 (mtcrf_operation): New function.
4328 (rs6000_emit_epilogue): New function.
4329 (output_epilog): Call rs6000_emit_epilogue and final if
4330 !TARGET_SCHED_PROLOG, instead of writing text unconditionally.
4332 2000-01-12 Geoff Keating <geoffk@cygnus.com>
4334 * aix43.h (SUBSUBTARGET_SWITCHES): Document switches.
4335 * aix41.h (SUBSUBTARGET_SWITCHES): Document switches.
4336 * aix.h (SUBTARGET_SWITCHES): Document switches.
4337 * rs6000.h: (TARGET_SWITCHES): Don't print options twice. Make
4338 sched-prolog and sched-epilog the same. Document all the
4340 (TARGET_OPTIONS): No longer allow -mdebug-.
4342 2000-01-12 Geoff Keating <geoffk@cygnus.com>
4344 * rs6000.h (ASM_FILE_END): Move to aix.h.
4345 (EXTRA_SECTIONS): Move to aix.h.
4346 (READONLY_DATA_SECTION): Move to aix.h.
4347 (EXTRA_SECTION_FUNCTIONS): Move to aix.h.
4348 (SELECT_SECTION): Move to aix.h.
4349 (JUMP_TABLES_IN_TEXT_SECTION): Move to aix.h.
4350 (INT_REGNO_P): Use symbolic name for ARG_POINTER_REGNUM.
4351 (LINK_REGISTER_REGNUM): New definition.
4352 (RETURN_ADDR_RTX): Use symbolic name for LINK_REGISTER_REGNUM.
4353 (SLOW_UNALIGNED_ACCESS): Define in a way suitable for both
4355 * sysv4.h: Delete the code between the inclusion of rs6000.h
4357 (DWARF_DEBUGGING_INFO): Don't define, it's defined in elfos.h.
4358 (FP_ARG_MAX_REG): Move generic definition to rs6000.h.
4359 (RS6000_REG_SAVE): Move generic definition to rs6000.h.
4360 (RS6000_SAVE_AREA): Move generic definition to rs6000.h.
4361 * rs6000.md (floatsidf2_loadaddr): The first arg here is Pmode.
4362 (fix_truncdfsi2_internal): Rename to fix_truncdfsi2_internal_si.
4363 (fix_truncdfsi2_internal_di): New pattern.
4364 (fix_truncdfsi2_store): The second arg here is Pmode too.
4365 (fix_truncdfsi2_load): The second arg here is Pmode too.
4366 (tablejumpdi): Now that switch tables hold only SImode values,
4367 gcc needs to know how to add them to the pc which is DImode.
4368 * rs6000.c (rs6000_stack_info): Use symbolic name for
4369 LINK_REGISTER_REGNUM.
4370 (output_mi_thunk) [!TARGET_ELF]: Don't define sp, it's not used.
4371 (output_toc): Delete unused variables s1 and s2.
4372 (output_ascii): Use fputs not fprintf on a variable string.
4374 2000-01-07 David Edelsohn <edelsohn@gnu.org>
4376 * rs6000.c (processor_target_table): Add power3 as alias for 630.
4377 * aix43.h: Revert Aug 2 change.
4378 (HAS_INIT_SECTION): Define, not visible yet.
4379 (LD_INIT_SWITCH): Define, not visible yet.
4380 * t-aix43 (MULTILIB_OPTIONS): Revert Aug 2 change.
4382 2000-01-04 Joel Sherrill (joel@OARcorp.com>
4384 * config/rs6000/rtems.h: Include config/rtems.h.
4386 2000-01-04 David Edelsohn <edelsohn@gnu.org>
4388 * rs6000.h (HANDLE_PRAGMA_PACK): Define.
4389 (SLOW_UNALIGNED_ACCESS): Define.
4390 (CASE_VECTOR_MODE): Always use 32-bit offsets.
4391 (ASM_FILE_END): Generate 64-bit symbol in 64-bit mode.
4392 (EXTRA_SECTOIN_FUNCTIONS): Indent .csect pseudo-op.
4393 (toc_section): Likewise and .toc pseudo-op.
4394 (ASM_DECLARE_FUNCTION): Likewise. Align text more strictly in
4396 (TEXT_SECTION_ASM_OP): Likewise.
4397 (ASM_OUTPUT_ADD_VEC_ELT, ASM_OUTPUT_ADDR_DIFF_ELT): Always use
4400 1999-12-17 Jakub Jelinek <jakub@redhat.com>
4402 * config/rs6000/rs6000.h (TARGET_POWERPC64): Make sure
4403 UNITS_PER_WORD and BITS_PER_WORD are compile time constants when
4406 2000-01-06 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
4408 * rs6000.h: Move more stuff from here...
4410 * sysv4.h: Cleanup accordingly.
4411 * netware.h: Likewise
4413 2000-01-05 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
4415 * rs6000.h: Continue cleanup.
4418 * netware.h: Likewise.
4420 * sysv4.h: Likewise.
4421 * win-nt.h: Likewise.
4423 * rs6000.h (TARGET_SWITCHES): Add descriptions.
4424 (TARGET_OPTIONS): Likewise.
4426 * sysv4.h (SUBTARGET_SWITCHES): Add descriptions.
4427 (SUBTARGET_OPTIONS): Likewise.
4429 * rs6000.md: Fix compile time warnings.
4431 2000-01-04 Geoff Keating <geoffk@cygnus.com>
4433 vxworks patches from the Cygnus tree originally by
4434 Michael Meissner <meissner@cygnus.com> and Vladimir Makarov
4435 <vmakarov@cygnus.com>.
4436 * sysv4.h (SUBTARGET_SWITCHES): Add vxworks.
4437 (ENDFILE_SPEC): Likewise.
4438 (LIB_VXWORKS_SPEC): New macro.
4439 (STARTFILE_VXWORKS_SPEC): New macro.
4440 (ENDFILE_VXWORKS_SPEC): New macro.
4441 (LINK_START_VXWORKS_SPEC): New macro.
4442 (LINK_OS_VXWORKS_SPEC): New macro.
4443 (CPP_OS_VXWORKS_SPEC): New macro.
4444 (SUBTARGET_EXTRA_SPECS): Add all the vxworks specs.
4445 * vxppc.h: Rewrite to use proper configuration method.
4446 * vxppcle.h: New file.
4447 * ../../configure.in: Add powerpcle-wrs-vxworks*.
4448 * ../../configure: Rebuilt.
4450 2000-01-04 Geoff Keating <geoffk@cygnus.com>
4452 Lots of changes to rs6000.h, sysv4.h, aix.h,
4453 aix31.h, aix3newas.h, aix41.h, aix43.h, beos.h,
4454 with the aim that rs6000.h is the first header
4455 included and the others override it.
4458 * x-aix41-gld: Remove.
4460 * x-aix41: Remove target-specific switches, and don't specify
4461 -Wl,-bbigtoc as we don't need it any more.
4462 * ../../configure.in: Use x-aix41 for ppc AIX 4.1 and above.
4463 Use t-aix43 for AIX 4.3 and above.
4464 * ../../configure: Regenerated.
4466 * rs6000.h (TARGET_SWITCHES): Add some initial prolog-scheduling
4467 options, that don't do anything yet.
4468 (MASK_SCHED_PROLOG): New macro.
4469 (MASK_SCHED_EPILOG): New macro.
4470 (TARGET_SCHED_PROLOG): New macro.
4471 (TARGET_SCHED_EPILOG): New macro.
4473 2000-01-04 Geoff Keating <geoffk@cygnus.com>
4475 * rs6000.c: Correct comment, the `minimal' TOCs are actually
4476 one per translation unit, not one per function.
4477 (output_toc): Also do duplicate constant elimination
4478 for per-translation-unit TOCs.
4480 * rs6000.md (nonlocal_goto_receiver): Put it back as before. Add
4481 a comment explaining _exactly_ when this pattern gets used.
4482 (builtin_setjmp_receiver): New pattern for better clarity.
4483 (init_v4_pic): Move it into a section dealing with TOC registers.
4485 1999-12-30 Geoff Keating <geoffk@cygnus.com>
4487 * rs6000.c (toc_hash_table): New variable.
4488 (rs6000_hash_constant): New function.
4489 (toc_hash_function): New function.
4490 (toc_hash_eq): New function.
4491 (toc_hash_mark_entry): New function.
4492 (toc_hash_mark_table): New function.
4493 (output_toc): Don't output duplicate TOC entries in
4495 (rs6000_add_gc_roots): Add the hash table as a GC root.
4496 * t-aix43: Move AR_FOR_TARGET and CLIB here from x-aix43,
4497 where they clearly shouldn't be. This may need to be fixed
4498 later when there is a GNU ar for AIX.
4499 * x-aix43: Don't define CLIB or AR_FOR_TARGET.
4500 Don't define BOOT_LDFLAGS as it is now not necessary.
4502 1999-12-29 Geoff Keating <geoffk@cygnus.com>
4504 * rs6000.c (rs6000_build_va_list): Use 'char *' rather than 'void *'
4505 for va_list on AIX. Use unsigned_char_type_node rather than
4506 constructing our own version on svr4.
4508 1999-12-17 Geoff Keating <geoffk@cygnus.com>
4510 * tramp.asm (__trampoline_size): Delete CYGNUS LOCAL comment,
4511 since patently it's not.
4513 1999-12-08 Geoff Keating <geoffk@cygnus.com>
4515 * config/rs6000/rs6000.md (nonlocal_goto_receiver): Turn into
4516 define_expand/define_insn pair, and handle restore of the
4517 SVR4 -fpic register.
4519 Wed Mar 15 15:43:38 2000 Jeffrey A Law (law@cygnus.com)
4521 * acconfig.h (HAVE_GAS_WEAK): New define.
4522 * configure.in (assembler weak support): Check for .weak support.
4523 * config.in, configure: Rebuilt.
4524 * pa/som.h (MAKE_DECL_ONE_ONLY, ASM_WEAKEN_LABEL): Only define if
4525 HAVE_GAS_WEAK is defined.
4527 2000-03-15 Nick Clifton <nickc@cygnus.com>
4529 * config/arm/arm.c (arm_output_epilogue): Do not pass %c to
4532 2000-03-15 Zack Weinberg <zack@wolery.cumb.org>
4534 * cppfiles.c (open_include_file): New function.
4535 (find_include_file, cpp_read_file): Use it.
4537 2000-03-15 Jason Merrill <jason@casey.cygnus.com>
4539 * cpphash.c (dump_hash_helper): Take the slot, not the element.
4541 Wed Mar 15 14:28:54 2000 Jason Eckhardt <jle@cygnus.com>
4543 * flow.c (verify_flow_info): Check for unconditional return.
4545 Wed Mar 15 11:34:27 2000 Jim Wilson <wilson@cygnus.com>
4547 * config/ia64/ia64.md (restore_stack_nonlocal): New.
4548 * config/ia64/lib1funcs.asm (__ia64_nonlocal_goto): Delete padding nop.
4549 (__ia64_restore_stack_nonlocal): New.
4550 * config/ia64/t-ia64 (LIB1ASMFUNCS): Add __restore_stack_nonlocal.
4552 2000-03-15 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
4554 * cpphash.c (collect_formal_parameters): Do not complain about
4555 parameter names that just start with `__VA_ARGS__'.
4557 Wed Mar 15 13:26:58 MET 2000 Jan Hubicka <jh@suse.cz>
4559 * i386.md (movhi_1): Promote movw imm, reg to movl imm, reg and
4560 movw reg, reg to movzwl reg, reg on PARTIAL_REGISTER_STALL machines.
4561 * i386.c (pentiumpro_cost): Set mul cost to 4.
4562 (x86_use_movx): Set for PPro.
4564 Wed Mar 15 13:07:05 MET 2000 Jan Hubicka <jh@suse.cz>
4566 * i386.md (ix86_compute_frame_size): stack_alignment_needed is
4567 STACK_BOUNDARY for empty frames now.
4569 2000-03-14 Mark Mitchell <mark@codesourcery.com>
4571 * stor-layout.c (layout_union): Remove.
4572 (layout_union_field): New function, split out from layout_union.
4573 (finish_union_layout): Likewise.
4574 (layout_field): Handle unions by calling layout_union_field.
4575 (finish_record_layout): Handle unions.
4576 (layout_type): Combine RECORD_TYPE, UNION_TYPE, and
4577 QUAL_UNION_TYPE handling.
4579 Wed Feb 23 13:00:06 CET 2000 Jan Hubicka <jh@suse.cz>
4581 * flow.c (fixup_reorder_chain): Avoid double labels in the basic block;
4582 end of basic block is jump_insn, not barrier; use create_basic_block
4583 instead of creating basic block by hand.
4585 2000-03-14 Jason Eckhardt <jle@cygnus.com>
4587 * flow.c (reorder_basic_blocks): Account for barriers when writing
4588 over NEXT_INSN (last_bb->end).
4589 (verify_flow_info): Add check for missing barriers.
4591 2000-03-14 Greg McGary <gkm@gnu.org>
4593 * c-lex.h (enum rid): Add RID_BOUNDED & RID_UNBOUNDED.
4594 * c-lex.c (init_lex): Handle RID_BOUNDED & RID_UNBOUNDED.
4595 * c-parse.gperf (__bounded, __bounded__, __ptrbase, __ptrbase__,
4596 __ptrextent, __ptrextent__, __ptrvalue, __ptrvalue__,
4597 __unbounded, __unbounded__): New keywords.
4598 * c-parse.in (PTR_VALUE PTR_BASE PTR_EXTENT): New tokens.
4599 * c-parse.y, c-parse.c, c-parse.h: Regenerate.
4600 * objc/objc-parse.y, objc/objc-parse.c: Regenerate.
4602 2000-03-14 Bernd Schmidt <bernds@cygnus.co.uk>
4604 * cselib.h: New file.
4605 * alias.c: Include "cselib.h".
4606 (fixed_scalar_and_varying_struct_p): Accept the addresses of the
4607 MEMs as two new arguments.
4608 (get_addr): New static function.
4609 (find_base_term): Handle VALUEs.
4610 (memrefs_conflict_p): Likewise.
4611 (true_dependence): Call get_addr on the addresses.
4612 Call fixed_scalar_and_varying_struct_p with addresses that have been
4613 passed through get_addr and canon_rtx.
4614 (write_dependence_p): Move DIFFERENT_ALIAS_SETS_P test for consistency
4615 with true_dependence.
4616 Call get_addr on the addresses; don't call canon_rtx on the MEMs.
4617 * loop.c: Include "cselib.h".
4618 (load_mems): Process extended basic block that enters the loop with
4619 cselib. Use that information to change initialization of the shadow
4620 register so that a constant equivalence is seen by later passes.
4621 * reload1.c: Include "cselib.h".
4622 (reload_cse_invalidate_regno): Delete function.
4623 (reload_cse_mem_conflict_p): Likewise.
4624 (reload_cse_invalidate_mem): Likewise.
4625 (reload_cse_invalidate_rtx): Likewise.
4626 (reload_cse_regno_equal_p): Likewise.
4627 (reload_cse_check_clobber): Likewise.
4628 (reload_cse_record_set): Likewise.
4629 (reg_values): Delete static variable.
4630 (invalidate_regno_rtx): Likewise.
4631 (reload_cse_delete_noop_set): New static function.
4632 (reload_cse_simplify): New static function, broken out of
4634 (reload_cse_noop_set_p): Delete unused argument INSN.
4635 Just call rtx_equal_for_cselib_p on set source and destination.
4636 (reload_cse_regs_1): Break out some code into reload_cse_simplify and
4637 reload_cse_delete_noop_set. Delete code to keep track of values; use
4638 cselib functions instead. Delete code to push/pop obstacks.
4639 (reload_cse_simplify_set): Use cselib to find equivalent values.
4640 Delete code to push/pop obstacks.
4641 (reload_cse_simplify_operands): Likewise.
4642 * rtl.def (VALUE): New rtx code.
4643 * rtl.h (union rtunion_def): New elt rt_cselib.
4644 (X0CSELIB, CSELIB_VAL_PTR): New macros.
4645 * simplify_rtx.c: Include "ggc.h", "obstack.h", "cselib.h".
4646 (new_elt_list, new_elt_loc_list, unchain_one_value, clear_table,
4647 unchain_one_elt_list, unchain_one_elt_loc_list, check_useless_values,
4648 discard_useless_locs, discard_useless_values, entry_and_rtx_equal_p,
4649 hash_rtx, new_cselib_val, add_mem_for_addr, get_value_hash,
4650 cselib_lookup_mem, cselib_subst_to_values, cselib_invalidate_regno,
4651 cselib_mem_conflict_p, cselib_invalidate_mem, cselib_invalidate_rtx,
4652 cselib_record_set, cselib_record_sets): New static functions.
4653 (cselib_lookup, cselib_update_varray_sizes, cselib_init,
4654 cselib_finish, cselib_process_insn, rtx_equal_for_cselib_p,
4655 references_value_p): New functions.
4656 (MAX_USELESS_VALUES, REG_VALUES): New macros.
4657 (table, cselib_current_insn, next_unknown_value, cselib_nregs,
4658 n_useless_values, reg_values, callmem, cselib_obstack,
4659 cselib_startobj, empty_vals, empty_elt_lists, empty_elt_loc_lists):
4660 New static variables.
4661 * varray.h (union varray_data_tag): New elt te.
4662 (VARRAY_ELT_LIST_INIT, VARRAY_ELT_LIST): New macros.
4663 * Makefile.in (reload1.o, loop.o, simplify-rtx.o, alias.o): Update
4666 2000-03-14 Nick Clifton <nickc@cygnus.com>
4668 * gcc.c (do_spec_1): Catch the case where %* is used in a
4669 substitution pattern, but it has not been initialised.
4670 Issue a meaningful error message if an unrecognised operator
4671 is encountered in a spec string.
4673 2000-03-14 Richard Earnshaw <rearnsha@arm.com>
4675 * function.c (prepare_function_start): Correctly initialize
4676 cfun->stack_alignment_needed.
4678 2000-03-14 Zack Weinberg <zack@wolery.cumb.org>
4680 * cppfiles.c (find_include_file): Don't assume nshort is a
4683 Tue Mar 14 08:42:21 2000 Jeffrey A Law (law@cygnus.com)
4685 * configure.in (hppa configurations): Add pa32-regs.h to the
4686 list of tm files as appropriate.
4687 * configure: Rebuilt.
4688 * pa.c (compute_frame_size): Remove explicit knowledge about FP
4690 (hppa_expand_prologue, hppa_expand_epilogue): Likewise.
4691 (fmpyaddoperands, fmpysuboperands): Likewise.
4692 * pa.h: Remove various definitions which depend on knowing
4693 how registers are numbered.
4694 * pa32-regs.h: New file with PA32 register numbering specific
4697 2000-03-14 Richard Henderson <rth@cygnus.com>
4699 * regmove.c (combine_stack_adjustments): New.
4700 (stack_memref_p, single_set_for_csa): New.
4701 (free_csa_memlist, record_one_stack_memref): New.
4702 (try_apply_stack_adjustment): New.
4703 (combine_stack_adjustments_for_block): New.
4704 * rtl.h (combine_stack_adjustments): Declare.
4705 * toplev.c (rest_of_compilation): Call it.
4707 * i386.md: Revert 2000-01-16 change.
4709 2000-03-14 Martin v. Löwis <loewis@informatik.hu-berlin.de>
4711 * gccbug.in: Add web category, gcc specific classes.
4713 2000-03-14 Nathan Sidwell <nathan@codesourcery.com>
4715 * stor-layout.c (finalize_record_size): Fix typo.
4717 2000-03-14 Stan Shebs <shebs@apple.com>
4719 * c-typeck.c (c_alignof): Error on incomplete types.
4720 * extend.texi (Alignment): Document this.
4722 2000-03-13 Zack Weinberg <zack@wolery.cumb.org>
4724 * cppfiles.c: Include mkdeps.h.
4725 (find_include_file, read_include_file): Remove _cpp_ prefix
4726 from name, make static.
4727 (_cpp_execute_include): New function, broken out of
4730 * cpplib.c: Don't include mkdeps.h.
4731 (struct directive): Remove type field. Reorder entries. The
4732 function takes only one argument.
4733 (struct if_stack): Make type field an int.
4734 (directive_table): Rename to dtable. Generate it, the
4735 prototypes of the directive handlers, and the enum for the
4736 directive numbers, from a template macro.
4737 (do_ifndef, do_include_next, do_import): New functions.
4738 (do_define, do_include, do_endif, do_ifdef, do_if, do_else,
4739 do_undef, do_line, do_elif, do_error, do_pragma, do_warning,
4740 do_ident, do_assert, do_unassert, do_sccs): Take only one
4742 (do_sccs): Define always, but alter behavior based on
4744 (_cpp_handle_directive, consider_directive_while_skipping):
4745 Restructure for new directive table layout.
4747 (pass_thru_directive): Take a directive number, not a pointer
4748 to a struct directive.
4749 (parse_include): New function, broken out of do_include.
4750 (do_include, do_import, do_include_next): Use parse_include
4751 and _cpp_execute_include.
4752 (do_elif, do_else): Test for T_ELSE specifically when checking
4753 for #elif/#else after #else.
4754 (parse_ifdef): New function, broken out of do_ifdef.
4755 (validate_else): Expect a name arg without a leading #.
4756 (if_directive_name): Delete.
4757 (cpp_define, cpp_assert, cpp_undef, cpp_unassert): Call
4758 directive handlers with only one argument.
4760 * cpphash.h: Update prototypes.
4761 (enum node_type): Remove entries for directives.
4762 * Makefile.in: Update dependencies.
4764 * cpphash.c (dump_hash_helper): Only dump nodes of type
4765 T_MACRO. Emit a newline after each definition.
4767 2000-03-14 Martin v. Löwis <loewis@informatik.hu-berlin.de>
4769 * gccbug.in: New file.
4770 * configure.in (all_outputs): Add gccbug.
4771 * Makefile.in (install-common): Install gccbug.
4772 (GCCBUG_INSTALL_NAME): New variable.
4773 * configure: Rebuilt.
4775 2000-03-13 Jason Merrill <jason@casey.cygnus.com>
4777 * function.c (put_var_into_stack): Use type_for_mode to calculate
4778 part_type. Use MEM_SET_IN_STRUCT_P.
4779 * expr.c (store_field): Handle CONCAT.
4780 (store_constructor): Use fields_length.
4781 * tree.c (fields_length): New fn.
4782 * tree.h: Declare it.
4784 2000-03-13 Zack Weinberg <zack@wolery.cumb.org>
4786 * Makefile.in (LIBCPP_OBJS): Add cpplex.o.
4787 (cpplex.o): New target.
4788 * po/POTFILES.in: Add cpplex.c.
4790 * cpplex.c (_cpp_grow_token_buffer, null_cleanup,
4791 cpp_push_buffer, cpp_pop_buffer, cpp_scan_buffer,
4792 cpp_expand_to_buffer, cpp_buf_line_and_col, cpp_file_buffer,
4793 skip_block_comment, skip_line_comment, skip_comment,
4794 copy_comment, _cpp_skip_hspace, _cpp_skip_rest_of_line,
4795 _cpp_parse_name, skip_string, parse_string,
4796 _cpp_parse_assertion, cpp_get_token, cpp_get_non_space_token,
4797 _cpp_get_directive_token, find_position,
4798 _cpp_read_and_prescan, _cpp_init_input_buffer): Move here.
4799 (maybe_macroexpand, _cpp_lex_token): New functions.
4801 * cpplib.c (SKIP_WHITE_SPACE, eval_if_expr, parse_set_mark,
4802 parse_goto_mark): Delete.
4803 (_cpp_handle_eof): New function.
4804 (_cpp_handle_directive): Rename from handle_directive.
4805 (_cpp_output_line_command): Rename from output_line_command.
4806 (do_if, do_elif): Call _cpp_parse_expr directly.
4807 * cppfiles.c (_cpp_read_include_file): Don't call
4808 init_input_buffer here.
4809 * cpphash.c (quote_string): Move here, rename _cpp_quote_string.
4810 * cppexp.c (_cpp_parse_expr): Diddle parsing_if_directive
4811 here; pop the token_buffer and skip the rest of the line here.
4812 * cppinit.c (cpp_start_read): Call _cpp_init_input_buffer
4815 * cpphash.h (CPP_RESERVE, CPP_IS_MACRO_BUFFER, ACTIVE_MARK_P):
4817 (CPP_SET_BUF_MARK, CPP_GOTO_BUF_MARK, CPP_SET_MARK,
4818 CPP_GOTO_MARK): New macros.
4819 (_cpp_quote_string, _cpp_parse_name, _cpp_skip_rest_of_line,
4820 _cpp_skip_hspace, _cpp_parse_assertion, _cpp_lex_token,
4821 _cpp_read_and_prescan, _cpp_init_input_buffer,
4822 _cpp_grow_token_buffer, _cpp_get_directive_token,
4823 _cpp_handle_directive, _cpp_handle_eof,
4824 _cpp_output_line_command): Prototype them here.
4825 * cpplib.h (enum cpp_token): Add CPP_MACRO.
4826 (CPP_RESERVE, get_directive_token, cpp_grow_buffer,
4827 quote_string, output_line_command): Remove.
4829 2000-03-13 Bernd Schmidt <bernds@cygnus.co.uk>
4831 * stmt.c (expand_end_case): RANGE may be signed, and when checking
4832 whether it is too large we must also verify that it isn't negative.
4834 2000-03-13 Jakub Jelinek <jakub@redhat.com>
4836 * config/sparc/sparc.md: Remove all traces of TARGET_LIVE_G0.
4837 (movsi_zero_liveg0): Remove.
4838 (movsf_insn_novis_liveg0): Remove.
4840 (negsi2_not_liveg0): Rename to negsi2.
4841 (one_cmplsi2): Remove.
4842 (one_cmplsi2_not_liveg0): Rename to one_cmplsi2.
4843 (one_cmplsi2_liveg0): Remove.
4844 * config/sparc/sparc.h (TARGET_LIVE_G0, TARGET_BROKEN_SAVERESTORE,
4845 MASK_LIVE_G0, MASK_BROKEN_SAVERESTORE): Remove.
4846 (CONDITIONAL_REGISTER_USAGE): Remove TARGET_LIVE_G0 if.
4847 (PREDICATE_CODES): Remove zero_operand.
4848 * config/sparc/sparc.c: Remove all traces of TARGET_LIVE_G0 and
4849 TARGET_BROKEN_SAVERESTORE.
4850 (zero_operand): Remove.
4851 * config/sparc/splet.h (SUBTARGET_SWITCHES): Remove -mlive-g0,
4852 -mno-live-g0, -mbroken-saverestore and -mno-broken-saverestore
4854 (SUBTARGET_OVERRIDE_OPTIONS): Remove.
4855 * config/sparc/linux-aout.h (TARGET_LIVE_G0,
4856 TARGET_BROKEN_SAVERESTORE): Remove.
4857 * config/sparc/linux.h (TARGET_LIVE_G0, TARGET_BROKEN_SAVERESTORE):
4859 * config/sparc/linux64.h (TARGET_LIVE_G0, TARGET_BROKEN_SAVERESTORE):
4861 * config/sparc/sol2.h (TARGET_LIVE_G0, TARGET_BROKEN_SAVERESTORE):
4864 * config/sparc/sparc.md (return_df_no_fpu): New pattern.
4866 2000-03-13 Zack Weinberg <zack@wolery.cumb.org>
4868 * cpplib.c (do_pragma_implementation): Fix off-by-one error
4869 truncating a string. Don't assume tokens are nul terminated.
4870 Problem noted by Andreas Jaeger <aj@suse.de>
4872 2000-03-13 Jason Merrill <jason@casey.cygnus.com>
4874 * dwarf2out.c (add_name_and_src_coords_attributes): Only add
4875 DW_AT_MIPS_linkage_name for TREE_PUBLIC decls.
4876 (ASM_OUTPUT_DWARF_ADDR_CONST): Don't output trailing newline.
4878 2000-03-13 Richard Earnshaw <rearnsha@arm.com>
4880 * stor-layout.c (new_record_layout_info): Fix typo inside ifdef
4881 STRUCTURE_SIZE_BOUNDARY.
4883 2000-03-13 Mark Mitchell <mark@codesourcery.com>
4885 * tree.h (record_layout_info_s): New structure.
4886 (record_layout_info): New type.
4887 (new_record_layout_info): New function.
4888 (layout_field): Likewise.
4889 (finish_record_layout): Likewise.
4890 * stor-layout.c (layout_record): Remove.
4891 (new_record_layout_info): New function.
4892 (layout_field): New function, broken out from layout_record.
4893 (finalize_record_size): Likewise.
4894 (compute_record_mode): Likewise.
4895 (finalize_type_size): New function, broken out from layout_type.
4896 (finish_record_layout): Likewise.
4897 (layout_type): Use them.
4899 2000-03-12 Zack Weinberg <zack@wolery.cumb.org>
4901 * cpphash.c: Don't include version.h.
4902 (special_symbol) [case T_VERSION]: Look for the string in
4903 hp->value.cpval; don't use version_string.
4904 * cppinit.c (initialize_builtins): Set hp->value.cpval for
4905 __VERSION__ to version_string.
4906 * Makefile.in (cpphash.o): Update deps.
4908 2000-03-12 Zack Weinberg <zack@wolery.cumb.org>
4910 Convert cpplib to use libiberty/hashtab.c.
4912 * cpplib.h (struct cpp_reader): Make hashtab and
4913 all_include_files of type 'struct htab *'. Delete HASHSIZE
4914 and ALL_INCLUDE_HASHSIZE macros.
4916 * cpphash.h: Update prototypes.
4917 (struct hashnode): Remove next, prev, and bucket_hdr members.
4918 Make length a size_t. Add hash member.
4919 (struct ihash): Remove next member. Add hash member. Make
4920 name a flexible array member.
4922 * cppfiles.c: Include hashtab.h.
4923 (include_hash): Delete.
4924 (IHASHSIZE): New macro.
4925 (hash_IHASH, eq_IHASH, _cpp_init_include_hash): New functions.
4926 (cpp_included): Do the hash lookup here.
4927 (_cpp_find_include_file): Rewrite.
4928 (cpp_read_file): Put the "fake" hash entry into the hash
4929 table. Honor the control_macro, if it turns out we've seen
4930 the file before. Don't push the buffer here.
4931 (_cpp_read_include_file): Push the buffer here.
4932 (OMODES): New macro. Use it whenever we call open(2).
4934 * cpphash.c: Include hashtab.h.
4935 (hash_HASHNODE, eq_HASHNODE, del_HASHNODE, dump_hash_helper,
4936 _cpp_init_macro_hash, _cpp_dump_macro_hash, _cpp_make_hashnode,
4937 _cpp_lookup_slot): New functions.
4938 (HASHSIZE): new macro.
4939 (hashf, _cpp_install, _cpp_delete_macro): Delete.
4940 (_cpp_lookup): Use hashtab.h routines.
4942 * cppinit.c: Include hashtab.h.
4943 (cpp_reader_init): Call _cpp_init_macro_hash and
4944 _cpp_init_include_hash. Don't allocate hashtab directly.
4945 (cpp_cleanup): Just call htab_delete on pfile->hashtab and
4946 pfile->all_include_files.
4947 (initialize_builtins): Use _cpp_make_hashnode and
4948 htab_find_slot to add hash entries.
4949 (cpp_finish): Just call _cpp_dump_macro_hash.
4950 * cpplib.c: Include hashtab.h.
4951 (do_define): Use _cpp_lookup_slot and _cpp_make_hashnode to
4952 create hash entries.
4953 (do_pragma_poison, do_assert): Likewise.
4954 (do_include): Don't push the buffer here. Don't increment
4955 system_include_depth unless _cpp_read_include_file succeeds.
4956 (do_undef, do_unassert): Use _cpp_lookup_slot and htab_clear_slot
4958 (do_pragma_implementation): Use alloca to create copy.
4960 * Makefile.in: Update dependencies.
4962 2000-03-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4964 * cppinit.c (cl_directive_handler): More K&R fixing.
4966 Sat Mar 11 23:54:26 2000 Jim Wilson <wilson@cygnus.com>
4968 * config/ia64/ia64.c (ia64_compute_frame_size): Align size to
4970 * config/ia64/ia64.h (REGISTER_MOVE_COST): Add missing parentheses.
4972 2000-03-11 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4974 * cppinit.c (no_arg, no_ass, no_dir, no_fil, no_mac, no_pth):
4975 Change from char[] to macros.
4977 2000-03-12 Neil Booth <NeilB@earthling.net>
4979 * cppinit.c (cpp_start_read): Update indirect function
4982 Sat Mar 11 16:18:12 2000 Jim Wilson <wilson@cygnus.com>
4984 * config/ia64/ia64.h (ADDITIONAL_REGISTER_NAMES): Fix typo in loc79
4987 * config/ia64/ia64-protos.h, config/ia64/ia64.c, config/ia64/ia64.h,
4988 config/ia64/ia64.md, config/ia64/xm-ia64.h: Fix copyright messages.
4990 2000-03-11 Neil Booth <NeilB@earthling.net>
4992 * cppinit.c (struct pending option): Replace undef with a
4993 pointer to a directive handling routine.
4994 (struct cpp_pending): Replace separate assert_ and define_
4995 lists with one directive_ list.
4996 (new_pending_define): Rename new_pending_directive. Extra
4997 argument is the directive's handling routine.
4998 (handle_option): Update to use new_pending_directive.
5000 2000-03-11 Neil Booth <NeilB@earthling.net>
5002 * cppfiles.c (file_cleanup, _cpp_find_include_file,
5003 remap_filename, _cpp_read_include_file, actual_directory,
5004 hack_vms_include_specification): Replace bcopy(), index() etc
5005 calls. Add casts to some allocations. Make some variables
5006 pointers to const [unsigned] char.
5007 * cpphash.c (_cpp_install, macro_cleanup, collect_expansion,
5008 collect_formal_parameters): Similarly.
5009 * cppinit.c (struct pending_option, append_include_chain,
5010 cpp_options_init, cpp_reader_init, initialize_standard_includes,
5011 cpp_start_read, new_pending_define, handle_option): Similarly.
5012 * cpplib.c (cpp_define, copy_comment, do_define, do_include,
5013 do_undef, do_error, do_warning, do_pragma, do_pragma_once,
5014 do_pragma_implementation, detect_if_not_defined,
5015 do_ifdef, skip_if_group, cpp_get_token, parse_string,
5016 do_assert, do_unassert): Similarly.
5017 * cpplib.h (cpp_buffer, cpp_options): Update types. Update
5018 function prototypes.
5019 * mkdeps.c (deps_add_target, deps_add_dep): cast allocations.
5021 2000-03-10 Richard Henderson <rth@cygnus.com>
5023 * builtins.c (expand_builtin_strlen): Revert last change.
5024 Use emit_insn_before if we're at the beginning of a sequence.
5026 2000-03-10 Jason Merrill <jason@casey.cygnus.com>
5028 * builtins.c (expand_builtin_strlen): Make sure that we have something
5029 at the beginning of the sequence.
5031 * toplev.c (rest_of_compilation): Also set TREE_NOTHROW for
5034 * invoke.texi (C++ Dialect Options): Document -fno-enforce-eh-specs.
5036 2000-03-10 Richard Henderson <rth@cygnus.com>
5038 * except.c (can_throw): Use INTVAL on a CONST_INT.
5039 (reachable_handlers): Likewise.
5040 * flow.c (count_basic_blocks, find_basic_blocks_1): Likewise.
5042 2000-03-10 Andreas Jaeger <aj@suse.de>
5044 * config/mips/linux.h: Undefine MD_EXEC_PREFIX and
5045 MD_STARTFILE_PREFIX since those are not needed on linux.
5046 (ASM_FILE_START): New, from mips/gnu.h.
5048 2000-03-09 Richard Henderson <rth@cygnus.com>
5049 Alex Samuel <samuel@codesourcery.com> and others
5051 * Makefile.in (ssa.o): New rule.
5053 (STAGESTUFF): Add *.ssa and *.ussa.
5054 (mostlyclean): Delete *.ssa, *.ussa, */*.ssa, */*.ussa.
5055 * rtl.def (PHI): New RTL expression.
5056 * rtl.h (clear_log_links): New declaration.
5057 (convert_to_ssa): Likewise.
5058 (convert_from_ssa): Likewise.
5059 * flow.c (split_edge): If the entry node falls through to the
5060 split edge's source block, split the entry edge.
5061 (clear_log_links): New function.
5062 * toplev.c (ssa_dump): New variable.
5063 (flag_ssa): Likewise.
5064 (f_options): Add "ssa".
5065 (compile_file): Create SSA dump files.
5066 (rest_of_compilation): Go to and from SSA if enabled.
5067 (decide_d_option): Handle -de for SSA dump files.
5070 Thu Mar 9 20:01:38 2000 Jim Wilson <wilson@cygnus.com>
5072 * expr.c (expand_assignment): For a CALL_EXPR, special case PARM_DECL
5075 2000-03-09 Benjamin Kosnik <bkoz@cygnus.com>
5077 * config/alpha/linux.h (WCHAR_TYPE): Make consistent.
5079 Thu Mar 9 18:10:02 2000 Jeffrey A Law (law@cygnus.com)
5081 * config/pa/pa-hpux10.h (LIB_SPEC): Correct typo in !p case.
5082 (MD_STARTFILE_PREFIX_1): New macro.
5084 2000-03-09 Robert Lipe <robertl@sco.com>
5086 * config/ia64/ia64.c: Include system.h.
5088 2000-03-09 Jason Merrill <jason@casey.cygnus.com>
5090 * except.c (nothrow_function_p): If -fno-exceptions, just return.
5091 (init_eh_nesting_info): Likewise.
5093 * tree.h (struct tree_common): Rename raises_flag to nothrow_flag.
5094 (TREE_NOTHROW): Rename from TREE_RAISES.
5095 * toplev.c (rest_of_compilation): Set it.
5096 * print-tree.c (print_node): Adjust.
5097 * tree.c (stabilize_reference, build, build1): Don't set TREE_RAISES.
5098 (stabilize_reference_1, get_unwidened, get_narrower): Likewise.
5099 * calls.c (emit_call_1): Add 'nothrow' parm. Add
5100 REG_EH_REGION note as appropriate.
5101 (libfunc_nothrow): New fn.
5102 (emit_library_call, emit_library_call_value): Use it.
5103 (expand_call): Check TREE_NOTHROW.
5105 * varasm.c (make_decl_rtl): Skip initial '*' when setting
5106 DECL_ASSEMBLER_NAME.
5108 2000-03-09 Andreas Jaeger <aj@suse.de>
5110 * mips/linux.h (NO_IMPLICIT_EXTERN_C): Define.
5111 (TARGET_MEM_FUNCTIONS): Define.
5113 2000-03-09 Jason Merrill <jason@casey.cygnus.com>
5115 * i386.c (ix86_valid_type_attribute_p): Use compare_tree_int.
5117 * except.c (can_throw): See through a SEQUENCE.
5118 (nothrow_function_p): New fn.
5119 * except.h: Declare it.
5120 * function.c (current_function_nothrow): New var.
5121 (prepare_function_start): Initialize it.
5122 * output.h: Declare it.
5123 * toplev.c (rest_of_compilation): Set it.
5124 * dwarf2out.c (dwarf2out_begin_prologue): Use it.
5126 2000-03-09 Zack Weinberg <zack@wolery.cumb.org>
5128 * cpphash.c (collect_formal_parameters): strncmp returns 0 for
5129 match. (cpp_compare_defs): Count the nul separator when
5130 advancing over argument names.
5132 2000-03-09 Bernd Schmidt <bernds@cygnus.co.uk>
5134 * recog.c (preprocess_constraints): Matching constraints affect
5135 same alternative/different operand, not same operand/different
5138 * reload1.c (eliminate_regs_in_insn): Handle additions of eliminable
5139 register and a constant specially.
5141 2000-03-08 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5143 * libgcc2.h: New file.
5144 * libgcc2.c: Move macros, typedefs and prototypes to libgcc2.h.
5146 Wed Mar 8 16:19:42 2000 Jim Wilson <wilson@cygnus.com>
5148 * configure.in (ia64*-*-elf*, ia64*-*-linux*): New.
5149 * configure: Regenerate.
5152 2000-03-08 Zack Weinberg <zack@wolery.cumb.org>
5154 * Makefile.in (LIBCPP_DEPS): New macro.
5155 (cpplib.o, cpphash.o, cpperror.o, cppexp.o, cppfiles.o): Use
5157 * cpperror.c: Include cpphash.h.
5158 * cppexp.c: Include cpphash.h. Remove MULTIBYTE_CHARS
5160 (lex): Don't use CPP_WARN_UNDEF.
5161 (_cpp_parse_expr): Return an int, the truth value.
5162 * cppfiles.c: Include cpphash.h.
5163 (_cpp_merge_include_chains): Move to cppinit.c and make static.
5164 * cppinit.c (include_defaults_array): Disentangle.
5165 (cpp_cleanup): Don't free the if stack here.
5166 (cpp_finish): Pop off all buffers, not just one.
5167 * cpplib.c (eval_if_expr): Return int.
5168 (do_xifdef): Rename do_ifdef.
5169 (handle_directive): Don't use CPP_PREPROCESSED.
5170 (cpp_get_token): Don't use CPP_C89.
5171 * fix-header.c: Don't use CPP_OPTIONS.
5173 * cpplib.h: Move U_CHAR, enum node_type, struct
5174 file_name_list, struct ihash, is_idchar, is_idstart,
5175 is_numchar, is_numstart, is_hspace, is_space, CPP_BUF_PEEK,
5176 CPP_BUF_GET, CPP_FORWARD, CPP_PUTS, CPP_PUTS_Q, CPP_PUTC,
5177 CPP_PUTC_Q, CPP_NUL_TERMINATE, CPP_NUL_TERMINATE_Q,
5178 CPP_BUMP_BUFFER_LINE, CPP_BUMP_LINE, CPP_PREV_BUFFER,
5179 CPP_PRINT_DEPS, CPP_TRADITIONAL, CPP_PEDANTIC, and prototypes
5180 of _cpp_simplify_pathname, _cpp_find_include_file,
5181 _cpp_read_include_file, and _cpp_parse_expr to cpphash.h.
5182 Move struct if_stack to cpplib.c. Move struct cpp_pending to
5184 Change all uses of U_CHAR to be unsigned char instead.
5185 Delete CPP_WARN_UNDEF, CPP_C89, and CPP_PREPROCESSED.
5187 2000-03-08 Jason Merrill <jason@casey.cygnus.com>
5189 * dwarf2out.c (dw_fde_struct): Add 'nothrow'.
5190 (dwarf2out_begin_prologue): Set it.
5191 (output_call_frame_info): Don't emit EH unwind info for leaves.
5193 * flow.c (count_basic_blocks, find_basic_blocks_1): A rethrow
5194 can occur outside of an EH region.
5195 * except.c: Correct comments about rethrow behavior.
5196 (rethrow_symbol_map): Do nothing if !flag_new_exceptions.
5198 2000-03-08 Andrew MacLeod <amacleod@cygnus.com>
5200 * flow.c (make_edges): Always call make_eh_edge for calls.
5202 2000-03-08 Zack Weinberg <zack@wolery.cumb.org>
5204 * cpplib.h (parse_underflow_t, CPP_NULL_BUFFER): Delete.
5205 (struct cpp_buffer): Remove fname and underflow fields.
5206 (struct cpp_reader): Remove get_token field.
5207 (struct include_hash): Rename to struct ihash. Add typedef to
5209 (struct if_stack): Remove fname field.
5210 (IF_STACK_FRAME): Rename to IF_STACK.
5212 * cpperror.c (print_containing_files): Trust that there are no
5213 macro buffers below the top file buffer.
5214 * cppfiles.c: Replace all references to 'struct include_hash'
5215 with 'IHASH'. Rename initialize_input_buffer to
5216 init_input_buffer. Don't set or reference cpp_buffer->fname,
5217 use buffer->ihash->name instead.
5218 * cpphash.c (special_symbol): Use cpp_file_buffer. Use NULL
5219 not CPP_NULL_BUFFER.
5220 * cppinit.c: Use NULL not CPP_NULL_BUFFER, IF_STACK not
5221 IF_STACK_FRAME, IHASH not struct include_hash.
5222 * cpplib.c: Rename eval_if_expression to eval_if_expr. Remove
5223 null_underflow. Use IF_STACK not IF_STACK_FRAME, IHASH not
5224 struct include_hash, NULL not CPP_NULL_BUFFER. Remove all
5225 references to cpp_buffer->fname (delete entirely, or use
5226 ->ihash->name instead) and IF_STACK->fname.
5227 (cpp_push_buffer): Don't set new->underflow.
5228 (do_include): Use cpp_file_buffer.
5230 * cpphash.c (collect_formal_parameters): Remove duplicate
5231 increment of argslen. Pedwarn in C99 mode if __VA_ARGS__ is
5232 used as a macro argument name. Don't append "..." to namebuf
5233 for varargs macros. After we're done scanning, go through
5234 namebuf and make it NUL separated, not comma separated.
5235 (_cpp_compare_defs): Remove register tag from variables.
5236 Expect defn->argnames to be NUL separated.
5237 (_cpp_dump_definition): Expect defn->argnames to be NUL
5238 separated and in forward order.
5239 * cpphash.h: Update documentation of argnames field.
5241 2000-03-08 Richard Henderson <rth@cygnus.com>
5243 * builtins.c (expand_builtin_strlen): Be prepared for strlensi
5244 to fail. Don't pre-expand the source operand.
5246 * i386.md (strlensi): Initialize eoschar and align before use.
5248 2000-03-08 Jason Merrill <jason@casey.cygnus.com>
5250 * expr.c (expand_expr, case ARRAY_REF): Still check for missing
5251 CONSTRUCTOR element.
5253 2000-03-08 Gavin Romig-Koch <gavin@cetus.cygnus.com>
5255 * mips.c (mips_expand_prologue): If the last
5256 named argument is the vararg marker "va_list", treat it as
5257 an unnamed argument.
5259 2000-03-08 Clinton Popetz <cpopetz@cygnus.com>
5261 * dbxout.c (dbxout_parms): When correcting for promoted
5262 big-endian parameters, use the mode of the DECL_RTL rather
5263 than UNITS_PER_WORD.
5265 2000-03-08 Nathan Sidwell <nathan@codesourcery.com>
5267 * c-common.h (make_fname_decl): Declare.
5268 * c-common.c (make_fname_decl): Define.
5269 (declare_hidden_char_array): Remove.
5270 (declare_function_name): Use make_fname_decl.
5271 * c-decl.c (c_make_fname_decl): New function.
5272 (init_decl_processing): Set make_fname_decl.
5274 Tue Mar 7 23:50:31 2000 Jeffrey A Law (law@cygnus.com)
5276 * cccp.c (handle_directive): Initialize backslash_newlines_p.
5278 2000-03-07 Philipp Thomas <pthomas@suse.de>
5280 * po/POTFILES.in: Remove cppalloc.c from file list.
5282 2000-03-07 Steve Chamberlain <sac@pobox.com>
5284 * pj.c (pj_expand_prologue): current_function->args_info is
5285 now current_function_args_info.
5287 * pj.h (STORE_FLAG_VALUE, USER_LABEL_PREFIX,
5288 LOCAL_LABEL_PREFIX, ASM_GENERATE_INTERNAL_LABEL,
5289 ASM_OUTPUT_INTERNAL_LABEL, ASM_OUTPUT_SKIP): Define.
5291 2000-03-08 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
5293 * config/c4x/c4x.h (PUT_SDB_TYPE): Define so that the type info is
5294 output as hexadecimal rather than the default octal.
5296 2000-03-07 Zack Weinberg <zack@wolery.cumb.org>
5298 * cpphash.c (special_symbol): Fix thinko in previous commit.
5300 2000-03-07 Neil Booth <NeilB@earthling.net>
5302 * cppexp.c (struct operation, left_shift, right_shift,
5303 cpp_parse_expr): Change some "char"s to "U_CHAR"s, and some
5304 "int"s to "unsigned int"s.
5305 * cpplib.c (detect_if_not_defined, do_assert, do_unassert):
5307 * cpplib.h: Update for above.
5308 * mkdeps.c (deps_init, deps_calc_target): Cast pointers
5309 returned from allocations.
5311 * cppinit.c (opt_comp, parse_options): New functions.
5312 (handle_option): Use parse_option to parse a single command
5313 line option, that possibly takes an argument.
5314 (cpp_handle_options): Sort the array of command line options on
5315 first invocation (non-ASCII hosts only).
5316 (print_help): Update.
5318 2000-03-07 Zack Weinberg <zack@wolery.cumb.org>
5320 * mkdeps.c (munge): Fix off-by-one bug and inconsistencies in
5321 backslash counting loops. Problem noted by Matt Kraai <kraai@ghs.com>.
5323 * cppfiles.c (_cpp_find_include_file): Make sure ih->name is
5325 * cppinit.c (cpp_cleanup): Free imp->nshort also.
5327 * cpperror.c (cpp_print_containing_files,
5328 cpp_print_file_and_line, v_cpp_message): Rename to
5329 print_containing_files, print_file_and_line, and v_message.
5330 * cppexp.c (cpp_parse_expr, cpp_parse_escape, cpp_lex): Rename
5331 to _cpp_parse_expr, parse_escape, and lex.
5332 (parse_charconst): Remove broken multibyte support.
5333 * cppfiles.c (include_hash): Make static.
5334 (cpp_included): New function.
5335 (merge_include_chains, find_include_file, finclude,
5336 simplify_pathname): Rename to _cpp_merge_include_chains,
5337 _cpp_find_include_file, _cpp_read_include_file, and
5338 _cpp_simplify_pathname.
5339 * cpphash.c (cpp_lookup, free_definition, delete_macro,
5340 cpp_install, create_definition, macroexpand, compare_defs,
5341 dump_definition): Rename to _cpp_lookup, _cpp_free_definition,
5342 _cpp_delete_macro, _cpp_install, _cpp_create_definition,
5343 _cpp_macroexpand, _cpp_compare_defs, and _cpp_dump_definition.
5344 * cppinit.c (cpp_handle_option): Rename to handle_option, make
5346 * cpplib.c: Remove extern prototype of cpp_parse_expr.
5348 * cpphash.h: Update prototypes.
5349 * cpplib.h: Likewise. Prototype _cpp_parse_expr here.
5351 2000-03-07 Andrew Haley <aph@cygnus.com>
5353 * config/mips/mips.h (PTRDIFF_TYPE): Revert broken change;
5354 PTRDIFF_TYPE should be based solely on Pmode.
5357 2000-03-07 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5359 * rtl.h (rtunion_def): Constify member `rtstr'.
5360 (emit_line_note_after, emit_line_note, emit_line_note_force,
5361 emit_note, decode_asm_operands): Constify.
5363 * cse.c (canon_hash): Likewise.
5365 * dbxout.c (dbxout_block): Likewise.
5367 * diagnostic.c (file_and_line_for_asm, v_error_for_asm,
5368 v_warning_for_asm): Likewise.
5370 * dwarfout.c (function_start_label): Likewise.
5372 * emit-rtl.c (emit_line_note_after, emit_line_note, emit_note,
5373 emit_line_note_force): Likewise.
5375 * final.c (last_filename, asm_insn_count, final_scan_insn,
5376 output_source_line): Likewise.
5378 * function.h (struct emit_status): Likewise.
5380 * gcse.c (hash_expr_1): Likewise.
5382 * genattr.c (gen_attr, main): Likewise.
5384 * genattrtab.c (struct function_unit, current_alternative_string,
5385 write_attr_valueq, n_comma_elts, next_comma_elt, attr_eq,
5386 attr_numeral, check_attr_test, check_attr_value,
5387 convert_set_attr_alternative, convert_set_attr,
5388 compute_alternative_mask, simplify_by_exploding, gen_attr,
5389 gen_unit): Likewise.
5391 * genflags.c (gen_insn): Likewise.
5393 * gengenrtl.c (type_from_format): Likewise.
5395 * genopinit.c (gen_insn): Likewise.
5397 * genoutput.c (n_occurrences, process_template, process_template):
5400 * ggc-page.c (ggc_set_mark, ggc_mark_if_gcable, ggc_get_size):
5403 * ggc-simple.c (ggc_set_mark, ggc_mark_if_gcable, ggc_get_size):
5406 * ggc.h (ggc_mark_string, ggc_mark, ggc_mark_if_gcable,
5407 ggc_set_mark, ggc_get_size): Likewise.
5409 * objc/objc-act.c (build_module_descriptor, finish_objc): Likewise.
5411 * optabs.c (init_one_libfunc): Likewise.
5413 * output.h (assemble_start_function): Likewise.
5415 * recog.c (decode_asm_operands): Likewise.
5417 * toplev.c (rest_of_compilation): Likewise.
5419 * tree.h (emit_line_note_after, emit_line_note,
5420 emit_line_note_force): Likewise.
5422 * varasm.c (asm_output_bss, asm_output_aligned_bss,
5423 asm_emit_uninitialised, assemble_start_function,
5424 assemble_variable, const_hash, compare_constant_1,
5425 find_pool_constant, mark_constant_pool, assemble_alias): Likewise.
5427 * xcoffout.h (DBX_FINISH_SYMBOL): Likewise.
5429 * alpha/alpha.md (call_vms, call_value_vms): Likewise.
5431 * arm/aof.h (ASM_OUTPUT_ASCII): Likewise.
5433 * arm/aout.h (ASM_OUTPUT_ASCII): Likewise.
5435 * arm/arm-protos.h (output_ascii_pseudo_op, arm_dllexport_name_p,
5436 arm_dllimport_name_p): Likewise.
5438 * arm/arm.c (arm_encode_call_attribute, output_ascii_pseudo_op):
5441 * arm/arm.h (ASM_OUTPUT_MI_THUNK): Likewise.
5443 * arm/elf.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
5445 * arm/pe.c (arm_dllexport_name_p, arm_dllimport_name_p,
5446 arm_mark_dllexport, arm_mark_dllimport,
5447 arm_pe_encode_section_info): Likewise.
5449 * arm/telf.h (ASM_OUTPUT_DEF_FROM_DECLS,
5450 ASM_FINISH_DECLARE_OBJECT): Likewise.
5452 * arm/thumb.c (thumb_function_prologue): Likewise.
5454 * arm/thumb.h (ASM_OUTPUT_ASCII): Likewise.
5456 * avr/avr.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
5458 * clipper/clix.h (ASM_OUTPUT_ASCII): Likewise.
5460 * fx80/fx80.h (ASM_OUTPUT_ASCII): Likewise.
5462 * i386/cygwin.h (ASM_OUTPUT_SECTION_NAME): Likewise.
5464 * i386/freebsd.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
5466 * i386/i386-interix.h (ASM_OUTPUT_LIMITED_STRING,
5467 ASM_OUTPUT_ASCII, ASM_OUTPUT_SECTION_NAME): Likewise.
5469 * i386/i386-protos.h (asm_output_function_prefix): Likewise.
5471 * i386/i386.c (asm_output_function_prefix): Likewise.
5473 * i386/i386elf.h (ASM_OUTPUT_ASCII): Likewise.
5475 * i386/osfrose.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
5477 * i386/ptx4-i.h (ASM_OUTPUT_ASCII): Likewise.
5479 * i386/sco5.h (ASM_FINISH_DECLARE_OBJECT,
5480 ASM_OUTPUT_LIMITED_STRING, ASM_OUTPUT_ASCII,
5481 ASM_OUTPUT_SECTION_NAME): Likewise.
5483 * i386/sysv4.h (ASM_OUTPUT_ASCII): Likewise.
5485 * i860/paragon.h (ASM_OUTPUT_ASCII): Likewise.
5487 * i860/sysv3.h (ASM_OUTPUT_ASCII): Likewise.
5489 * m32r/m32r.c (m32r_encode_section_info): Likewise.
5491 * mcore-elf.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
5493 * mcore/mcore.c (mcore_encode_section_info): Likewise.
5495 * mips/elf.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
5497 * mips/elf64.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
5499 * mips/iris6.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
5501 * mips/mips.h (ASM_OUTPUT_IDENT): Likewise.
5503 * mips/mips.md (movdi, movsi): Likewise.
5505 * mips/netbsd.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
5507 * netbsd.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
5509 * openbsd.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
5511 * ptx4.h (ASM_FINISH_DECLARE_OBJECT, ASM_OUTPUT_LIMITED_STRING,
5512 ASM_OUTPUT_ASCII): Likewise.
5514 * rs6000/rs6000.c (rs6000_allocate_stack_space, output_epilog,
5515 output_mi_thunk, output_toc): Likewise.
5517 * rs6000/rs6000.md (movsi): Likewise.
5519 * rs6000/sysv4.h (ASM_OUTPUT_INT, ASM_OUTPUT_SECTION_NAME): Likewise.
5521 * tahoe/harris.h (ASM_OUTPUT_ASCII): Likewise.
5523 * v850/v850.c (print_operand, print_operand_address,
5524 v850_encode_data_area): Likewise.
5526 2000-03-07 Clinton Popetz <cpopetz@cygnus.com>
5528 * config/mips/mips.md (zero_extendsidi2): Always force operand
5529 one to memory for mips16.
5531 Mon Mar 6 15:22:29 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
5533 * tree.h (INT_CST_LT, INT_CST_LT_UNSIGNED): Remove unneeded casts.
5534 (struct tree_int_cst): int_cst_low is now unsigned HOST_WIDE_INT.
5535 (attribute_hash_list, type_hash_canon): hashcode is now unsigned.
5536 (type_hash_lookup, type_hash_add, type_hash_list): Likewise.
5537 (min_precision): Result is unsigned.
5538 (add_double, neg_double, mul_double): Low word is unsigned.
5539 (lshift_double, rshift_double, lrotate_double): Likewise.
5540 (rrotate_double, div_and_round_double): Likewise.
5541 (tree_floor_log2, compare_tree_int): New functions.
5542 (preserve_rtl_expr_temps): New declaration.
5543 * c-common.c (declare_hidden_char_array): Use compare_tree_int.
5544 (decl_attributes): Use tree_log2 to find alignment.
5545 Check for TREE_INT_CST_HIGH for format args.
5546 (min_precision): Now unsigned.
5547 Use tree_floor_log2.
5548 (truthvalue_conversion): Delete long-disabled code.
5549 * c-decl.c (finish_struct): Clean up tests on field width.
5550 (finish_function): Use compare_tree_int.
5551 * c-pragma.c (handle_pragma_token): Use tree_log2 for alignment.
5552 * c-typeck.c (comptypes): Use tree_int_cst_equal.
5553 (default_conversion, digest_init): Use compare_tree_int.
5554 (build_binary_op): Use integer_all_onesp and compare_tree_int.
5555 Fix type errors in forming masks.
5556 * calls.c (initialize_argument_information): Use compare_tree_int.
5557 * dbxout.c (dbxout_type): Cast TREE_INT_CST_LOW to HOST_WIDE_INT.
5558 * except.c (expand_eh_region_start_tree): Use compare_tree_int.
5559 * expr.c (is_zeros_p, case INTEGER_CST): Use integer_zerop.
5560 (store_field): Use compare_tree_int.
5561 (expand_expr, case CONSTRUCTOR): Use TYPE_SIZE_UNIT.
5562 (expand_expr, case ARRAY_REF): Use compare_tree_int.
5563 (do_jump, case BIT_AND_EXPR): Use tree_floor_log2.
5564 (do_store_flag): Use compare_tree_int.
5565 * fold-const.c (encode, decode): Low part is always unsigned.
5566 (force_fit_type, add_double, neg_double, mul_double): Likewise.
5567 (lshift_double, rshift_double, lrotate_double): Likewise.
5568 (rrotate_double, div_and_round_double, int_const_binop): Likewise.
5569 (fold_convert): Use compare_tree_int.
5570 (operand_equal_p, case INTEGER_CST): Use tree_int_cst_equal.
5571 (invert_truthvalue, case INTEGER_CST): Likewise.
5572 (fold): Use compare_tree_int; add casts for unsigned TREE_INT_CST_LOW.
5573 * mkdeps.c (deps_dummy_targets): Make I unsigned.
5574 * rtl.h (add_double, neg_double, mul_double): Low words are unsigned.
5575 (lshift_double, rshift_double, lrotate_double, rrotate_double):
5577 * stmt.c (expand_decl): Use compare_tree_int and mode_for_size_tree.
5578 (expand_end_case): Use compare_tree_int.
5579 (estimate_case_costs): Cast TREE_INT_CST_LOW to HOST_WIDE_INT.
5580 * stor-layout.c (mode_for_size_tree): Use compare_tree_int.
5581 (layout_decl): Likewise.
5582 (layout_record, layout_union): Make sizes unsigned.
5583 (layout_type, case VOID_TYPE): TYPE_SIZE must be bitsizetype.
5584 (layout_type, case QUAL_UNION_TYPE): Use compare_tree_int.
5585 * tree.c (struct type_hash): hashcode is unsigned.
5586 (build_type_attribute_variant, type_hash_list): Likewise.
5587 (type_hash_lookup, type_hash_add, type_hash_canon): Likewise.
5588 (attribute_hash_list, build_array_type, build_method_type): Likewise.
5589 (build_complex_type): Likewise.
5590 (real_value_from_int_cst): Remove unneeded casts.
5591 (integer_all_onesp): Add casts.
5592 (tree_floor_log2, compare_tree_int): New functions.
5593 (build_index_type): Use tree_int_cst_sgn.
5594 * varasm.c (assemble_variable): Use compare_tree_int.
5596 2000-03-06 Jason Merrill <jason@casey.cygnus.com>
5598 * cpphash.c (collect_expansion): Also catch ## at start of macro.
5600 * varasm.c (make_decl_rtl): Don't add a number to members of
5602 (make_function_rtl): Likewise.
5604 2000-03-06 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
5606 * gcse.c (compute_can_copy): Adjust if/else blocks from rth's
5607 patch from 2000-01-28.
5609 2000-03-06 Clinton Popetz <cpopetz@cygnus.com>
5611 * config/sh/sh.c: (barrier_align): Handle a delay slot that is
5612 filled with an insn from the jump target.
5614 2000-03-07 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
5616 * config/c4x/c4x-protos.h (c4x_global_name): Constify char *.
5617 (c4x_external_ref): Likewise.
5618 * config/c4x/c4x.c (struct name_list): Likewise.
5620 1999-12-16 Ben Collins <bcollins@debian.org>
5622 * Makefile.in: Pass a new MULTILIB_EXCLUSIONS option as the sixth
5623 argument to genmultilib.
5624 * genmultilib: accept new MULTILIB_EXCLUSIONS option and output
5625 the contents into the multilib.h header.
5626 * gcc.c: Declare multilib_exclusions for the specs file.
5627 (set_multilib_dir): Use it.
5628 (print_multilib_info): Likewise.
5629 * t-linux64: Declare arguments for new MULTILIB_EXCLUSIONS option
5630 to pass to genmultilib.
5632 2000-03-06 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5634 * builtins.c (built_in_class_names, built_in_names): Constify a
5637 * gmon-sol2.c (monstartup, moncontrol): Cast ptrs to long, not
5639 (_mcleanup): Ensure value matches format specifier in sprintf.
5641 * cpphash.c (special_symbol): Don't needlessly cast away
5644 * cppinit.c (base_name): Delete unused prototype.
5646 * mkdeps.c (deps_init): Make definition K&R safe.
5648 * tree.h (built_in_class_names, built_in_names): Constify a
5651 2000-03-06 Jakub Jelinek <jakub@redhat.com>
5653 * config/sparc/sparc.c (eligible_for_epilogue_delay): Accept
5654 floating point instructions for epilogue delay.
5656 * config/sparc/sparc.h (ASM_ARCH64_SPEC): Pass -no-undeclared-regs
5657 to gas if it supports .register pseudo.
5659 * real.h (MAX_LONG_DOUBLE_TYPE_SIZE): Define to
5660 LONG_DOUBLE_TYPE_SIZE if not defined.
5661 Use MAX_LONG_DOUBLE_TYPE_SIZE instead of
5662 LONG_DOUBLE_TYPE_SIZE in preprocessor if clauses.
5664 * gengenrtl.c: Likewise.
5665 * print-rtl.c: Likewise.
5667 * config/sparc/sol2-sld-64.h (TARGET_DEFAULT): Set
5668 MASK_LONG_DOUBLE_128.
5669 * config/sparc/sol2.h (TARGET_DEFAULT): Likewise.
5670 * config/sparc/sp64-elf.h (TARGET_DEFAULT): Likewise.
5671 * config/sparc/linux64 (TARGET_DEFAULT): Likewise.
5672 (SUBTARGET_SWITCHES): Define.
5673 (CPP_ARCH32_SPEC): Define __LONG_DOUBLE_128__ if compiling
5674 with -mlong-double-128.
5675 (LONG_DOUBLE_TYPE_SIZE): Define depending on target_flags.
5676 (MAX_LONG_DOUBLE_TYPE_SIZE): Define.
5677 (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Define depending on CPP macros.
5678 (CC1_SPEC): Include -mlong-double-{64,128} as needed.
5679 * config/sparc/linux.h (SUBTARGET_SWITCHES): Define.
5680 (CPP_SUBTARGET_SPEC): Define __LONG_DOUBLE_128__ if compiling
5681 with -mlong-double-128.
5682 (LONG_DOUBLE_TYPE_SIZE): Define depending on target_flags.
5683 (MAX_LONG_DOUBLE_TYPE_SIZE): Define.
5684 (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Define depending on CPP macros.
5685 * config/sparc/sparc.h (MASK_LONG_DOUBLE_128,
5686 TARGET_LONG_DOUBLE_128): Define.
5687 * config/sparc/linux-aout.h (LONG_DOUBLE_TYPE_SIZE): Remove.
5688 * config/sparc/sparc.c (sparc_override_options): Disallow 64bit
5689 long double on TARGET_ARCH64.
5691 2000-03-06 Mark Mitchell <mark@codesourcery.com>
5693 * function.c (free_temps_for_rtl_expr): Don't free slots
5694 that have been pushed into a higher level.
5697 2000-03-05 Mark Mitchell <mark@codesourcery.com>
5699 2000-03-05 Mark Mitchell <mark@codesourcery.com>
5701 * basic-block.h (ALLOCA_REG_SET): Remove.
5702 (INITIALIZE_REG_SET): New macro.
5703 * flow.c (update_life_info): Use it.
5704 (calculate_global_regs_live): Likewise.
5705 (propagate_block): Likewise.
5706 * global.c (build_insn_chain): Likewise.
5707 * haifa-sched.c (schedule_region): Likewise.
5709 2000-03-05 Stephane Carrez <stcarrez@worldnet.fr>
5711 * dwarf2out.c (UNALIGNED_WORD_ASM_OP): Support 2 bytes pointer.
5712 (ASM_OUTPUT_DWARF_ADDR_CONST): Use UNALIGNED_WORD_ASM_OP.
5713 (DWARF_ARANGES_PAD_SIZE): New define.
5714 (output_aranges): Use it to pad the address range header.
5715 (DWARF_ROUND): Fix for non power of 2 rounding.
5717 2000-03-05 Jason Merrill <jason@casey.cygnus.com>
5719 * mkdeps.c (deps_calc_target): Remove incorrect 'const'.
5721 2000-03-05 Mark Mitchell <mark@codesourcery.com>
5723 * tree.def (RTL_EXPR): Update documentation.
5724 * tree.h (RTL_EXPR_HAS_NO_SCOPE): New macro.
5725 * expr.c (expand_expr): Handle RTL_EXPR_HAS_NO_SCOPE.
5726 * function.c (preserve_rtl_expr_temp): New function.
5727 (preserve_rtl_expr_temps): Likewise.
5728 (preserve_rtl_expr_result): Use it.
5731 2000-03-04 Mark Mitchell <mark@codesourcery.com>
5733 2000-03-04 Thomas Schuster <Thomas.Schuster@gmx.net>
5735 * regmove.c (copy_src_to_dest) Do not create src->dest move
5736 for unchanging destination.
5738 2000-03-04 Mark Mitchell <mark@codesourcery.com>
5740 * function.h (struct sequence_stack): Remove rtl_expr.
5741 (struct emit_staus): Likewise.
5742 (seq_rtl_expr): Remove.
5743 * tree.h (free_temps_for_rtl_expr): Don't declare.
5744 (start_sequence_for_rtl_expr): Likewise.
5745 * rtl.h (preserve_rtl_expr_result): Likewise.
5746 * emit-rtl.c (start_sequence): Don't set sequence_rtl_expr.
5747 (start_sequence_for_rtl_expr): Remove.
5748 (push_topmost_sequence): Don't save sequence_rtl_expr.
5749 (pop_topmost_sequence): Remove comment about not restoring it.
5750 (end_sequence): Don't set seq_rtl_expr.
5751 (init_emit): Don't initialize it.
5752 (mark_sequence_stack): Don't mark it.
5753 (mark_emit_status): Likewise.
5754 * except.c (protect_with_terminate): Use
5755 start_sequence_for_rtl_expr, not start_sequence.
5756 * expr.c (expand_expr, case RTL_EXPR): Don't call
5757 preserve_rtl_expr_result or free_temps_for_rtl_expr.
5758 * function.c (assign_stack_temp_for_type): Don't set rtl_expr.
5759 (preserve_rtl_expr_result): Remove.
5760 (free_temps_for_rtl_expr): Likewise.
5761 (pop_temp_slots): Likewise.
5762 (mark_temp_slot): Don't mark the rtl_expr.
5763 * stmt.c (expand_start_stmt_expr): Use start_sequence, not
5764 start_sequence_for_rtl_expr.
5766 2000-03-04 Zack Weinberg <zack@wolery.cumb.org>
5768 * mkdeps.c, mkdeps.h: New files.
5769 * po/POTFILES.in: Add them.
5770 * Makefile.in (LIBCPP_OBJS): Add mkdeps.o.
5771 (cpplib.o, cppinit.o): Depend on mkdeps.h.
5772 (mkdeps.o): New target.
5774 * cppfiles.c: Delete deps_output.
5775 * cppinit.c: Include mkdeps.h. Delete known_suffixes,
5776 OBJECT_SUFFIX, and base_name.
5777 (cpp_cleanup): Use deps_free. Free ihash->name when clearing
5779 (initialize_dependency_output): Use deps_init,
5780 deps_add_target, deps_calc_target, and deps_add_dep. Remove
5781 all the unnecessary string bashing.
5782 (cpp_finish): Use deps_write. Remove an unnecessary nesting
5784 * cpplib.c (do_include): Use deps_add_dep.
5785 * cpplib.h (struct cpp_reader): Replace deps_buffer,
5786 deps_allocated_size, deps_size, deps_column members with
5787 single pointer to a struct deps. Delete prototype of
5790 * cppinit.c: Fix thinko in previous patch.
5792 Sat Mar 4 11:32:30 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
5794 * machmode.h (mode_for_size, smallest_mode_for_size): SIZE now signed.
5795 * stor-layout.c (mode_for_size, smallest_mode_for_size): Likewise.
5796 (mode_for_size_tree): New function.
5797 (layout_decl, layout_type): Call it and clean up BLKmode checks.
5798 * tree.h (mode_for_size_tree): New declaration.
5800 * toplev.c (debug_ignore_block): Mark arg BLOCK as possibly unused.
5802 2000-03-04 Jason Merrill <jason@casey.cygnus.com>
5804 * stmt.c (is_body_block): Move...
5805 * dwarfout.c, dwarf2out.c: ...from here.
5806 * tree.h: Declare it.
5807 * emit-rtl.c (remove_unncessary_notes): Don't remove the body block.
5808 * final.c (final_start_function): Do call remove_unnecessary_notes
5811 2000-03-03 Zack Weinberg <zack@wolery.cumb.org>
5813 * config/vax/xm-vms.h: Define OBJECT_SUFFIX and EXECUTABLE_SUFFIX.
5815 * cpplib.h (_dollar_ok): New macro.
5816 (is_idchar, is_idstart): Use it.
5817 (IStable): Rename to _cpp_IStable. Declare it const if
5818 gcc >=2.7 or C99. Delete all references to FAKE_CONST.
5819 (is_idchar, is_idstart, is_numchar, is_numstart, is_hspace,
5820 is_space): Update for renamed IStable.
5822 * cppinit.c: Delete all references to FAKE_CONST and CAT
5823 macros. Define init_IStable as empty macro if gcc >=2.7 or
5824 C99. Change TABLE() to ISTABLE and hardcode name of table.
5825 (cpp_start_read): Don't change the IStable based on
5828 * cpphash.c (unsafe_chars): Add pfile argument. All callers
5829 changed. Handle '$' for char1 correctly.
5830 * cpplib.c (cpp_get_token): Use is_numchar when parsing numbers.
5832 * cppexp.c (tokentab2): Make const.
5833 (cpp_lex): Make toktab const.
5834 * cppinit.c (include_defaults_array): Make const.
5835 (initialize_standard_includes): Make default_include const.
5837 2000-03-03 Jason Merrill <jason@casey.cygnus.com>
5839 * dwarf2out.c (dwarf2out_frame_debug): Add cast to silence warning.
5840 (dwarf2out_decl): Functions can now have DECL_IGNORED_P.
5841 (gen_decl_die): Likewise.
5842 * dwarfout.c (dwarfout_file_scope_decl): Likewise.
5843 (output_decl): Likewise.
5845 * varasm.c (make_function_rtl): If we change the name used in the
5846 rtl, update DECL_ASSEMBLER_NAME accordingly.
5847 (make_decl_rtl): Likewise.
5849 * toplev.c (rest_of_compilation): Tweak formatting.
5851 * toplev.c (rest_of_compilation): find_loop_tree_blocks before
5852 remove_unnecessary_notes.
5853 (debug_ignore_block): New fn.
5854 * toplev.h: Declare it.
5855 * emit-rtl.c (remove_unncessary_notes): Call it.
5856 * dwarf2out.c (dwarf2out_ignore_block): New fn.
5857 * dwarf2out.h: Declare it.
5858 * final.c (final_start_function): Don't call remove_unnecessary_notes
5859 if we did insn scheduling.
5861 2000-03-03 Zack Weinberg <zack@wolery.cumb.org>
5863 * cppinit.c (cpp_handle_option): Set opts->pedantic directly.
5864 * cpplib.h: Delete SET_CPP_PEDANTIC.
5866 Fri Mar 3 14:56:12 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
5868 * expr.c (expand_expr, case COMPONENT_REF): Use bitfield case if
5869 result is a RECORD_TYPE.
5871 2000-03-03 Jonathan Larmour <jlarmour@cygnus.co.uk>
5873 * mips/elf.h (CTOR_LISTS_DEFINED_EXTERNALLY): Added.
5875 2000-03-03 Richard Henderson <rth@cygnus.com>
5877 * alpha.c (alpha_emit_set_const_1): Re-order cases to prefer
5878 addition over compliments over shifts.
5880 Fri Mar 3 12:49:28 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
5882 * reload1.c (reload_combine_note_use): Handle return register USEs.
5883 REG case: Handle multi-hard-register hard regs.
5885 Fri Mar 3 07:38:34 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
5887 * md.texi: Document use of '*' in insn pattern name.
5889 2000-03-03 Jason Merrill <jason@casey.cygnus.com>
5891 * calls.c (special_function_p): operator new may not be malloc-like.
5893 * gcse.c (dump_hash_table): Really fix error in last change.
5895 2000-03-02 Denis Chertykov <denisc@overta.ru>
5897 * avr.c (print_operand): Use print_operand_address instead of
5899 * avr/libgcc.S: Cleanup code.
5901 2000-03-02 Richard Henderson <rth@cygnus.com>
5903 * alpha.c (alpha_emit_set_const_1): Also try c + small constant.
5905 2000-03-02 Mark Mitchell <mark@codesourcery.com>
5907 * tree.h (TYPE_ALIGN_UNIT): New macro.
5909 2000-03-02 Clinton Popetz <cpopetz@cygnus.com>
5911 * i386.c: (constant_call_address_operand): Reject CONST_INT.
5913 2000-03-02 Jason Merrill <jason@casey.cygnus.com>
5915 * cpplib.h (CPP_PEDANTIC): Only true if system_header_p is not set
5917 (SET_CPP_PEDANTIC): New macro.
5918 * cpplib.c (do_include): Don't bother checking system_header_p.
5919 (do_warning, do_ident, do_assert, do_unassert): Likewise.
5920 * cppinit.c (cpp_handle_option): Use SET_CPP_PEDANTIC.
5922 * function.h (struct expr_status): Add x_arg_space_so_far.
5923 (arg_space_so_far): New macro.
5924 * expr.c (init_expr): Initialize it.
5925 * calls.c (emit_call_1): Reset it.
5926 (compute_argument_block_size, expand_call): Use it.
5927 (expand_call, store_one_arg): Increment it.
5929 Thu Mar 2 17:27:13 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
5931 * varasm.c (output_constant): Strip off a CONVERT_EXPR to
5934 2000-03-02 Zack Weinberg <zack@wolery.cumb.org>
5936 * cppfiles.c (cpp_read_file): New function.
5938 * cpphash.c (collect_expansion): Make sure to reset last_token
5939 to NORM when we hit a string. Handle trailing whitespace
5940 properly when the expansion is empty.
5941 (create_definition): Disable line commands while parsing the
5943 (dump_definition): If pfile->lineno == 0, output a line
5944 command ahead of the dump, and add a trailing newline.
5946 * cppinit.c (append_include_chain): Add fifth argument, which
5947 indicates whether or not system headers are C++ aware.
5948 (initialize_standard_includes): New function,
5949 broken out of read_and_prescan. Pass 'cxx_aware' value from
5950 the include_defaults_array on to append_include_chain.
5951 (dump_special_to_buffer): Const-ify char array.
5952 (builtin_array): Don't dump __BASE_FILE__.
5953 (cpp_start_read): Use cpp_read_file. Reorder code for
5954 clarity. Don't output line commands here for -D/-A/-U
5955 switches. Don't call deps_output for files included with
5956 -include or -imacros.
5958 * cpplib.c (do_define): Don't pay any attention to the second
5960 (cpp_expand_to_buffer): Disable line commands while scanning.
5961 (output_line_command): Work in the file buffer.
5962 * cpplib.h: Remove no_record_file flag from struct cpp_reader.
5963 Fix formatting of comments. Prototype cpp_read_file.
5965 Thu Mar 2 13:29:46 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
5967 * c-common.c (c_common_nodes_and_builtins): Make sizetype_endlink
5968 reference the language-equivalent of sizetype.
5969 * c-typeck.c (comptypes): Treat sizetype like its language equivalent.
5970 * fold-const.c (size_binop, size_diffop): Put back checks.
5971 * gcse.c (dump_hash_table): Fix minor error in last change.
5972 * stor-layout.c (set_sizetype): Set TYPE_DOMAIN of sizetype.
5973 Clear TYPE_{NEXT,MAIN}_VARIANT and TYPE_{POINTER,REFERENCE}_to of
5976 Thu Mar 2 12:48:45 MET 2000 Jan Hubicka <jh@suse.cz>
5978 * calls.c (expand_call) Do not attempt to combine stack adjustments
5979 with inhibit_defer_pop set.
5981 2000-03-01 Mark Mitchell <mark@codesourcery.com>
5983 * stor-layout.c (layout_decl): Allow front-ends to explicitly set
5984 the DECL_SIZE for a FIELD_DECL.
5986 2000-03-01 Bruce Korb <bkorb@gnu.org>
5988 * fixinc/inclhack.tpl: remove unused symlinks
5989 * fixinc/README: GCC Maintainer info
5990 * fixinc/inclhack.sh: regen
5991 * fixinc/fixincl.sh: regen
5993 2000-03-01 Zack Weinberg <zack@wolery.cumb.org>
5995 * cpphash.c (collect_expansion): Trim trailing white space
5996 from macro definitions, but don't go past the last insertion
5999 Wed Mar 1 12:14:31 MET 2000 Jan Hubicka <jh@suse.cz>
6001 * i386.md (mulqi3): New pattern.
6003 2000-02-29 Zack Weinberg <zack@wolery.cumb.org>
6005 * cpplib.h (CPP_ASSERTION, CPP_STRINGIZE, CPP_TOKPASTE): New
6007 (struct cpp_reader): Add parsing_if_directive and
6008 parsing_define_directive flags.
6009 (struct cpp_options): Remove output_conditionals flag.
6010 (check_macro_name): Delete prototype.
6012 * cpphash.h (struct macrodef): Delete.
6013 (struct reflist): Separate from struct definition.
6014 (struct definition): Remove unused fields. Add column number.
6015 (create_definition): Returns a DEFINITION *. Takes a
6016 cpp_reader * and an int.
6018 * cpphash.c (SKIP_WHITE_SPACE): Delete.
6019 (PEEKC): Copy defn from cpplib.c.
6020 (rest_extension, REST_EXTENSION_LENGTH): Delete.
6022 (struct arglist): Simplify.
6023 (collect_expansion): Rewrite. Get tokens by calling
6024 cpp_get_token. Add more error checking.
6025 (collect_formal_parameters): New function, broken out of
6026 create_definition and reworked to use get_directive_token.
6027 (create_definition): All real work is now in collect_expansion
6028 and collect_formal_parameters. do_define handles finding the
6029 macro name. Return a DEFINITION, not a MACRODEF.
6030 (macroexpand): Replace bcopy with memcpy throughout. Replace
6031 character-at-a-time copy loop with memcpy and pointer increments.
6032 (compare-defs): d1->argnames / d2->argnames might be null.
6034 * cpplib.c (copy_rest_of_line): Delete function.
6035 (skip_rest_of_line): Do all the work ourselves.
6036 (skip_string): New function.
6037 (parse_string): Use skip_string.
6038 (get_macro_name): New function.
6039 (check_macro_name): Delete.
6040 (copy_comment): Use CPP_RESERVE and CPP_PUTC_Q.
6041 (cpp_skip_hspace): Use CPP_BUMP_LINE.
6042 (handle_directive): ICE if we're called on a macro buffer.
6043 (do_define): Determine macro name and type (funlike/objlike)
6044 here. Expunge all uses of MACRODEF.
6045 (cpp_push_buffer): Set line_base to NULL.
6046 (do_undef, read_line_number): Don't worry about getting a POP token.
6047 (eval_if_expression): Set/reset parsing_if_directive around
6048 cpp_parse_expr. Don't clear only_seen_white.
6049 (skip_if_group): Remove output_conditionals logic. Use
6051 (cpp_get_token): Return ASSERTION, STRINGIZE, and TOKPASTE
6052 tokens under appropriate conditions.
6053 (cpp_unassert): Call do_unassert not do_assert. Oops.
6055 * cppexp.c (parse_defined): New function, break out of
6057 (cpp_lex): We now get CPP_ASSERTION tokens and can check them
6058 ourselves, with cpp_defined.
6059 * cppinit.c (cpp_handle_option, print_help): Delete -ifoutput.
6061 * gcc.dg/20000209-2.c: Turn off -pedantic-errors.
6062 * gcc.dg/strpaste-2.c: New.
6064 2000-02-29 Mark Mitchell <mark@codesourcery.com>
6066 * fold-const.c (size_binop): Don't asert inputs are the same and
6067 have TYPE_IS_SIZETYPE set.
6068 (size_diffop): Likewise.
6070 2000-02-29 Jason Merrill <jason@casey.cygnus.com>
6072 * dwarfout.c (output_block): Output abstract blocks even if they
6073 don't have TREE_ASM_WRITTEN set.
6075 * calls.c (emit_library_call): Check for null REG.
6077 2000-03-01 Martin von Loewis <loewis@informatik.hu-berlin.de>
6079 * c-decl.c (current_function_decl): Move to toplev.c.
6080 (init_decl_processing): Don't add current_function_decl as a ggc
6082 * dbxout.c (dbxout_symbol): Change return type to int.
6083 (dbxout_symbol_location, dbxout_syms): Likewise.
6084 (dbxout_block): Don't emit LBRAC/RBRAC pairs for blocks without
6085 any locals. Use current_function_func_begin_label if set.
6086 * dbxout.h (dbxout_symbol, dbxout_syms): Change return type.
6087 * dwarf2out.c (dwarf2out_begin_prologue): Set
6088 current_function_func_begin_label.
6089 * final.c (final_start_function): Reset it.
6090 * toplev.c (current_function_decl): Define it here.
6091 (current_function_func_begin_label): New variable.
6092 (main): Add both as ggc roots.
6093 * tree.h (current_function_func_begin_label): Declare.
6095 Tue Feb 29 14:07:04 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
6097 * gcse.c: Cleanups throughout: mostly white-space, but also
6098 some minor rearrangement of code.
6100 Tue Feb 29 10:45:59 2000 Jeffrey A Law (law@cygnus.com)
6102 * calls.c (emit_library_call): Do not abort if FUNCTION_ARG
6103 returns a PARALLEL. Use emit_group_load and use_group_regs
6105 (emit_library_call_value): Similarly.
6107 * pa/t-pa: Use quadlib.c instead of quadlib.asm.
6108 * pa/quadlib.asm: Remove.
6109 * pa/quadlib.c: New file.
6111 * configure.in (hpux10, hpux11, PA32 mode): Use i128 float format.
6112 * configure: Rebuilt.
6114 2000-02-29 Philip Blundell <pb@futuretv.com>
6116 * config/arm/conix-elf.h: New file.
6117 * configure.in (arm*-*-conix*): New configuration.
6118 * configure: Regenerate.
6120 2000-02-28 Jason Merrill <jason@casey.cygnus.com>
6122 * dwarf2out.c (gen_block_die): Output abstract blocks even if they
6123 don't have TREE_ASM_WRITTEN set.
6125 Mon Feb 28 21:07:59 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
6127 * Eliminate DECL_FIELD_SIZE.
6128 * builtins.c (built_in_class_names, built_in_names): New variables.
6129 * c-decl.c (finish_struct): Set specified size in DECL_SIZE.
6130 * expr.c (expand_expr, case COMPONENT_REF): Get field size from
6131 DECL_SIZE, not DECL_FIELD_SIZE.
6132 * print-tree.c (print_node): Remove code that prints extra blank
6133 lines in some cases.
6134 Properly handle inline and builtin function cases.
6135 * stor-layout.c (layout_decl): Get specified size from DEC_SIZE.
6136 * tree.h (built_in_class_named, built_in_names): New declarations.
6137 (union tree_decl): Rename internal unions to u1 and u2 and change
6138 some of their components.
6139 Add new field built_in_class.
6140 (DECL_ALIGN, DECL_INCOMING_RTL, DECL_SAVED_INSNS, DECL_FRAME_SIZE):
6141 Reflect above changes.
6142 (DECL_FUNCTION_CODE, DECL_BUILT_IN_CLASS): Likewise.
6143 (DECL_SET_FUNCTION_CODE, DECL_FIELD_SIZE): Deleted.
6144 * objc/objc-act.c (objc_copy_list): Use DECL_SIZE, not DECL_FIELD_SIZE.
6145 (encode_field_decl): Likewise; also remove obsolete test for bitfield.
6147 2000-02-28 Dmitri Makarov <dim@windriver.com>
6149 * extend.texi: Document ARM's support for long/short calls.
6151 * invoke.texi: Document ARM's -mlong-calls command line switch.
6153 * config/arm/arm-protos.h (arm_is_longcall_p): Add prototype.
6154 (arm_encode_call_attribute): Add prototype.
6155 (arm_set_default_type_attribute): Add prototype.
6156 (arm_strip_name_encoding): Add prototype.
6158 * config/arm/arm.c (arm_init_cumulative_args): replace
6159 initialisation og 'long_calls' field with initialisation of
6160 'call_cookie' field.
6161 (enum arm_pragma_enum): New enum.
6162 (arm_pragma_long_calls): New static variable.
6163 (arm_process_pragma): Also process "#pragma long_calls_off".
6164 (arm_valid_type_attribute_p): Accept short_call attribute.
6165 (arm_comp_type_attributes): Check long/short call attributes.
6166 (arm_encode_call_attribute): New function: Encode long_call
6167 or short_call attribute in function name.
6168 (arm_set_default_type_attributes): New function: Assign
6169 default attributes to newly defined type.
6170 (current_file_function_operand): New function: Return true if
6171 the symbol is a function which has already been compiled.
6172 (arm_is_longcall_p): New function: Return true if the
6173 indicated function should be called via a long call.
6174 (arm_get_strip_length): New function. Returns number of
6175 prefix characters to be stripped from a function's name.
6176 (arm_strip_name_encoding): New function. Strip prefix characters
6177 from a function's name.
6179 * config/arm/arm.h (CUMULATIVE_ARGS): Replace 'long_call' field
6181 (SHORT_CALL_FAG_CHAR): Define.
6182 (LONG_CALL_FAG_CHAR): Define.
6183 (ENCODED_SHORT_CALL_ATTR_P): Define.
6184 (ENCODED_LONG_CALL_ATTR_P): Define.
6185 (ARM_NAME_ENCODING_LENGTHS): Define.
6186 (STRIP_NAME_ENCODING): Define.
6187 (ASM_OUTPUT_LABELREF): Define, and use to strip name encoding.
6188 (ARM_ENCODE_CALL_TYPE): Define.
6189 (ENCODE_SECTION): Invoke ARM_ENCODE_CALL_TYPE.
6190 (ARM_DECLARE_FUNCTION_SIZE): Define.
6191 (SET_DEFAULT_TYPE_ATTRIBUTES): Define.
6193 * config/arm/arm.md (call): Call arm_is_longcall_p to decide
6194 if a long call is needed.
6195 (call_value): Ditto.
6196 (call_symbol): Ditto.
6198 * config/arm/elf.h (ASM_DECLARE_FUNCTION_SIZE): Add invocation of
6199 ARM_DECLARE_FUNCTION_SIZE.
6201 * config/arm/pe.h (ARM_PE_FLAG_CHAR): Define.
6202 (SUBTARGET_NAME_ENCODING_LENGTHS): Define.
6203 (ARM_STRIP_NAME_ENCODING): Undefine.
6204 (STRIP_NAME_ENCODING): Undefine.
6205 (ASM_OUTPUT_LABELREF): Use arm_strip_name_encoding.
6206 (ASM_DECLARE_FUNCTION_NAME): Ditto.
6207 (ASM_OUTPUT_COMMON): Ditto.
6208 (ASM_DECLARE_OBJECT_NAME): Ditto.
6210 * config/arm/pe.c (arm_dllexport_name_p): Check for
6212 (arm_dllimport_name_p): Ditto.
6213 (arm_mark_dllexport): Use ARM_PE_FLAG_CHAR.
6214 (arm_mark_dllimport): Ditto.
6216 Mon Feb 28 22:11:12 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
6218 * sh.h (DWARF_LINE_MIN_INSTR_LENGTH): Define.
6220 2000-02-28 Mark Mitchell <mark@codesourcery.com>
6222 * xcoffout.c (xcoffout_begin_function): Fix typo in previous change.
6224 2000-02-28 Zack Weinberg <zack@wolery.cumb.org>
6226 * tm.texi: Document new target switch, NO_BUILTIN_WCHAR_TYPE.
6227 * cppinit.c (builtin_array): Define __WCHAR_TYPE__ only if
6228 NO_BUILTIN_WCHAR_TYPE is not defined.
6229 (CPP_WCHAR_TYPE): Delete.
6230 * cccp.c (main): Don't change wchar_type if cplusplus.
6231 (special_symbol, initialize_builtins): Honor NO_BUILTIN_WCHAR_TYPE.
6233 2000-02-28 Nick Clifton <nickc@cygnus.com>
6235 * config/arm/arm-wince-pe.h (SIZE_TYPE): Define to "unsigned long".
6237 Mon Feb 28 14:21:15 2000 Catherine Moore <clm@cygnus.com>
6239 * config/pa/som.h (MAKE_DECL_ONE_ONLY): Define.
6240 (ASM_WEAKEN_LABEL): Define.
6242 Mon Feb 28 13:07:19 MET 2000 Jan Hubicka <jh@suse.cz>
6244 * expr.c (store_constructor): Do not emit USE.
6245 * rtl.h (stupid_life_analysis): Remove.
6247 Mon Feb 28 07:03:27 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
6249 * function.c (number_blocks): Reset next_block_index based on
6250 what debugging format is used, not what is defined.
6252 * lcm.c: Minor reformatting throughout.
6253 (reg_dies, reg_becomes_live): Properly handle multiple hard regs.
6255 * toplev.c (rest_of_compilation): Account for time in
6256 optimize_mode_switching.
6258 * jump.c (jump_optimize_1): Don't call delete_barrier_successors
6259 if only marking labels.
6261 Mon Feb 28 12:53:57 MET 2000 Jan Hubicka <jh@suse.cz>
6263 * calls.c (expand_call): Attempt to combine stack adjustments with
6264 pending stack adjustments.
6266 Mon Feb 28 11:34:43 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
6268 * loop.c (reg_in_basic_block_p): Don't abort when falling through
6269 to the end of the function.
6271 2000-02-27 Mark Mitchell <mark@codesourcery.com>
6273 * emit-rtl.c (remove_unncessary_notes): Remove notes for empty
6275 * final.c (next_block_index): Remove.
6276 (max_block_depth): Likewise.
6277 (pending_blocks): Likewise.
6278 (init_final): Don't initialize them.
6279 (final_start_function): Don't set next_block_index. Set up
6281 (final_scan_insn): Use BLOCK_NUMBER, not next_block_index.
6282 * function.h (number_blocks): New function.
6283 * function.c (get_block_vector): New function.
6284 (identify_blocks): Use it.
6285 (reorder_blocks): Set NOTE_BLOCK.
6286 (number_blocks): New function.
6287 * tree.def (BLOCK): Add documentation for TREE_ASM_WRITTEN flag.
6288 * tree.h (BLOCK_NUMBER): New macro.
6289 (tree_block): Add block_num field.
6290 * dbxout.c (next_block_number): Remove.
6291 (dbxout_init): Don't set it.
6292 (dbxout_block): Only output blocks that have TREE_ASM_WRITTEN
6293 set. Use BLOCK_NUMBER, rather than next_block_num, to determine
6295 * toplev.c (rest_of_compilation): Always call
6296 find_loop_tree_blocks. Fix indentation.
6297 * dwarf2out.c (next_block_number): Remove.
6298 (gen_lexical_block_die): Use BLOCK_NUMBER, not next_block_number,
6299 to determine block numbers.
6300 (gen_inlined_subroutine_die): Likewise.
6301 (gen_block_die): Only output blocks that have TREE_ASM_WRITTEN set.
6302 (decls_for_scope): Don't increment next_block_number.
6303 * dwarfout.c (next_block_number): Remove.
6304 (output_lexical_block_die): Use BLOCK_NUMBER, not next_block_number,
6305 to determine block numbers.
6306 (output_inlined_subroutine_die): Likewise.
6307 (output_block): Only output blocks that have TREE_ASM_WRITTEN set.
6308 (output_decls_for_scope): Don't increment next_block_number.
6309 * sdbout.c (next_block_number): Remove.
6310 (sdbout_block): Use BLOCK_NUMBER.
6311 (sdbout_begin_block): Simplify.
6312 * xcoffout.c (next_block_number): Remove.
6313 (xcoffout_block): Use BLOCK_NUMBER, not next_block_number.
6314 (xcoffout_begin_block): Don't set next_block_number.
6315 (xcoffout_begin_function): Likewise. Use BLOCK_NUMBER, not
6318 Sun Feb 27 16:40:33 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
6320 * builtins.c (c_strlen): Use size_diffop and return ssizetype value.
6321 (expand_builtin_strcpy): Pass correct type to size_binop.
6322 (expand_builtin_strcmp): Likewise.
6323 Clean up conditional structure.
6324 * c-decl.c (init_decl_processing): Don't call set_sizetype twice.
6325 (complete_array_type): Don't use size_binop for MAXINDEX.
6326 * c-typeck.c (c_sizeof): Use size_one_node and TYPE_SIZE_UNIT.
6327 (c_sizeof_nowarn, c_size_in_bytes): Likewise.
6328 (c_alignof): Use size_one_node.
6329 (build_unary_op): Pass arg of proper type to size_binop.
6330 (really_start_incremental_init, push_init_level): Use sizetype for
6331 constructor{,_bit,_unfilled}_index.
6332 (pop_init_label, output_init_element): Likewise.
6333 (output_pending_init_elements, process_init_element): Likewise.
6334 * calls.c (compute_argument_block_size): Field VAR is ssizetype.
6335 * expr.c (store_expr): Use size_int.
6336 (store_constructor): Use proper types for size_binop args.
6337 (get_inner_reference, expand_expr, case ARRAY_REF): Likewise.
6338 (expand_expr_unaligned): Likewise.
6339 (string_contant): Return object of sizetype.
6340 * expr.h (SUB_PARM_SIZE): Call size_diffop and pass proper types.
6341 (ARGS_SIZE_RTX): Call ARGS_SIZE_TREE.
6342 (ARGS_SIZE_TREE): Pass proper types to size_binop.
6343 * fold-const.c (int_const_binop): Refine when size_int is called.
6344 (fold_convert): Likewise.
6345 (size_int_wide): Rework to take KIND as arg, only take low order
6346 bits, handle new sizetype_tab datatype, and chain entries in
6348 (size_int_type_wide): New function.
6349 (size_binop): Validate types of arguments.
6350 (ssize_binop): Deleted.
6351 (size_diffop): New function.
6352 (extract_muldiv): Only fold division into multiplication for sizetypes.
6353 * function.c (assign_parms): Use size_diffop and make sure
6354 VAR field is of ssizetype; also pass proper type to size_binop.
6355 (locate_and_pad_parm, pad_to_arg_alignment): Likewise.
6356 (round_down): Deleted from here.
6357 * store-layout.c (sizetype_tab): Now an array.
6358 (sizetype_set, early_root_list): New variables.
6359 (variable_size): Use size_one_node.
6360 (round_up): Pass proper type to size_binop.
6361 (round_down): Moved to here and corrected as above.
6362 (layout_record): Pass proper arg types to size_binop.
6363 (layout_type): Likewise.
6364 If sizetype_set is zero, record the type just laid out.
6365 (make_unsigned_type): Don't call set_sizetype;
6366 (make_signed_type): Likewise; also, call fixup_signed_type.
6367 (initialize_sizetypes): New function.
6368 (set_sizetype): Make copy of types, set TYPE_IS_SIZETYPE, and
6369 set name of bitsizetype to "bit_size_type".
6370 Fix up type of sizes of all types made before call.
6371 * tm.texi (ROUND_TYPE_SIZE_UNIT): New macro.
6372 * tree.c (fix_sizetype): Deleted.
6373 (build_common_tree_nodes): Call initialize_sizetypes.
6374 (build_common_tree_nodes_2): Don't call fix_sizetype.
6375 * tree.h (TYPE_IS_SIZETYPE): New macro.
6376 (initialize_sizetype): New declaration.
6377 (enum size_type_kind): New type.
6378 (struct sizetype_tab): Deleted.
6379 (sizetype_tab): Now array; adjust sizetype macros.
6380 (size_diffop, size_int_type_wide): New functions.
6381 (size_int_wide): Change number of args and type; access macros changed.
6382 (ssize_int, sbitsize_int): New macros.
6383 * config/i960/i960.h (ROUND_TYPE_SIZE): Use size_int.
6384 (ROUND_TYPE_SIZE_UNIT): New macro.
6386 2000-02-27 Zack Weinberg <zack@wolery.cumb.org>
6388 * c-lex.c (putback_buffer): Make 'buffer' an unsigned char *.
6390 Sun Feb 27 07:44:17 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
6392 * gcov-io.h (__fetch_long, __store_long, __read_long, __write_long):
6393 Mark as possibly unused.
6395 * cse.c (cse_insn): Delete dead code involving tablejump.
6396 Pass CODE_LABEL, not LABEL_REF to gen_jump and reset INSN_CODE.
6398 * Makefile.in (libcpp.a): Start by deleting it.
6400 2000-02-27 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
6402 * cpplib.h (enum file_change_code): Added rename_file.
6403 * cpplib.c (do_line): If a filename is given, set file_change to
6405 (output_line_command): If file_change is rename_file, always
6406 output a # directive with the file name.
6408 * cpplib.c (do_pragma): Accept #pragma without consecutive token.
6410 2000-02-26 Mark Mitchell <mark@codesourcery.com>
6412 * integrate.c (copy_decl_for_inlining): Preserve TREE_ADDRESSABLE
6413 when copying a PARM_DECL or RESULT_DECL.
6415 2000-02-26 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
6417 * fix-header.c (recognized_function): Also fix prototypes for
6418 functions taking "void".
6420 2000-02-26 Geoff Keating <geoffk@cygnus.com>
6422 * reload1.c (do_output_reload): Check reg_reloaded_valid before
6423 looking at reg_reloaded_contents.
6425 2000-02-26 Zack Weinberg <zack@wolery.cumb.org>
6427 * Makefile.in (STMP_FIXINC): New toggle.
6428 (LIBGCC2_DEPS): Delete all references.
6429 (stmp-headers): Delete target. All references either deleted
6430 or changed to stmp-int-headers.
6431 (all.cross): Don't depend on stmp-headers or STMP_FIXPROTO.
6432 (LIBCPP_OBJS): Take out cppalloc.o.
6433 (cppalloc.o): Delete target.
6434 (stmp-int-hdrs): Depend on $(STMP_FIXINC).
6435 (gen-protos, fix-header): Link with libiberty.a.
6436 * build-make: Don't change FIXINCLUDES. Override STMP_FIXINC
6439 * configure.in: Remove refs to strerror.
6440 * acconfig.h: Take out NEED_DECLARATION_STRERROR.
6441 * system.h: Take out strerror stanza.
6443 * cpperror.c (my_strerror): Delete function.
6444 (cpp_error_from_errno, cpp_notice_from_errno): Use xstrerror.
6445 * cppmain.c (main): Call xmalloc_set_program_name first thing.
6446 * cppalloc.c: Delete file.
6447 * gen-protos.c: Don't provide xrealloc.
6449 * fixinc/fixincl.c, fixinc/fixlib.c, fixinc/procopen.c: Use
6450 xstrerror throughout.
6452 2000-02-26 Bruce Korb <bkorb@gnu.org>
6454 * fixinc/inclhack.def (undefine_null): the bypass pattern needs to
6455 match for DOS headers, too.
6456 * fixinc/inclhack.sh,fixincl.x: Regenerate.
6458 2000-02-26 Geoff Keating <geoffk@cygnus.com>
6460 * config/elfos.h (ASM_OUTPUT_LABELREF): Don't define. The default
6461 is right for most ELF targets.
6462 * config/ns32k/ns32k.h (ASM_OUTPUT_LABELREF): Don't define.
6463 Let the default file use %U properly.
6464 * config/sh/elf.h (ASM_OUTPUT_LABELREF): Don't define. Use the
6467 * config/fp-bit.c (pack_d): Properly handle rounding of denormal
6470 Sat Feb 26 09:39:16 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
6472 * toplev.c (documented_lang_options): Correct spelling error.
6473 (decode_d_option, decode_f_option, main): Likewise.
6475 * toplev.c (print_time): Avoid SIGFPE when all_time is zero.
6477 * config/alpha/alpha.h (ASM_OUTPUT_MI_THUNK): Use .set at
6478 to tell assembler it is permitted to expand large constants.
6480 2000-02-25 Mumit Khan <khan@xraylith.wisc.edu>
6482 * protoize.c: (AUX_INFO_SUFFIX): New macro.
6483 (aux_info_suffix): Use.
6484 (SAVE_SUFFIX): New macro.
6486 (munge_compile_parms): Fix typo in NUL. DJGPP supports /dev/null.
6487 (gen_aux_info_file): Use aux_info_suffix instead of ".X".
6488 (edit_file): Handle 8.3 restriction for DOS/DJGPP filenames.
6490 * invoke.texi (Running Protoize): Update documentation.
6492 2000-02-25 Mark Elbrecht <snowball3@bigfoot.com>
6494 * i386/djgpp.h (CPP_PREDEFINES): Remove Unix defines.
6496 2000-02-25 John Wehle (john@feith.com)
6498 * rtlanal.c (find_last_value): Allow NULL_RTX for valid_to.
6500 2000-02-25 Anthony Green <green@cygnus.com>
6502 * toplev.c (rest_of_compilation): Rebuild jump labels if
6503 combine_instructions has created a new direct jump.
6504 * combine.c (try_combine): Add new_direct_jump_p argument. Set it
6506 (combine_instructions): Call try_combine with new argument.
6507 Return non-null value when new direct jump instruction is created.
6508 * rtl.h: combine_instructions returns an int.
6510 Fri Feb 25 19:49:08 2000 Jeffrey A Law (law@cygnus.com)
6512 * cse.c (cse_insn): Replace the PATTERN of the insn with an new
6513 jump when changing a computed jump into a jump to a known
6516 Fri Feb 25 19:22:44 2000 Graham Stott <grahams@rcp.co.uk>
6518 * resource.c (mark_referenced_resources): Changed use SET_DEST (...)
6519 to XEXP (..., 0) on RTL nodes which are not SET or CLOBBER.
6521 * i386.md (define_expand "clrstrsi"): Fix typo.
6523 Fri Feb 25 18:49:39 2000 "K. Richard Pixley" <rich@microunity.com>
6525 * rtl.texi: Fix typo.
6527 Fri Feb 25 20:02:35 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
6529 * sh.c (calc_live_regs): Multiply value assigned to *COUNT_PTR by
6530 UNITS_PER_WORD. Change caller initial_elimination_offset.
6531 (rounded_frame_size): Take into account that argument pushed has
6532 changed. Fix TARGET_ALIGN_DOUBLE problem.
6534 2000-02-25 Geoff Keating <geoffk@cygnus.com>
6536 * haifa-sched.c (schedule_block): Explain the real reason
6537 we delete REG_SAVE_NOTEs on the first insn of a block.
6538 Don't delete REG_SAVE_NOTES for NOTE_INSN_SETJMP.
6540 2000-02-24 Mark Mitchell <mark@codesourcery.com>
6542 * input.h (push_srcloc): New function.
6543 (pop_srcloc): Likewise.
6544 * toplev.c (push_srcloc): Define it.
6545 (pop_srcloc): Likewise.
6547 2000-02-24 Richard Henderson <rth@cygnus.com>
6549 * flow.c (life_analysis): When collecting reg info, clear
6552 Thu Feb 24 22:06:52 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
6554 Fix bug exposed by reload.c no longer rounding the frame
6555 size to BIGGEST_ALIGNMENT:
6556 * sh.c (rounded_frame_size): New function.
6557 (sh_expand_prologue, sh_expand_epilogue): Use it.
6558 (initial_elimination_offset): Likewise.
6560 Thu Feb 24 20:04:11 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
6562 Fix breakage from 6th Feb thread_prologue_and_epilogue_insns change:
6563 * sh-protos.h (sh_need_epilogue): Declare.
6564 * sh.c (sh_need_epilogue_known): New static variable.
6565 (sh_need_epilogue): New function.
6566 (function_epilogue): Clear need_epilogue_known.
6567 * sh.md (return): Split into expander / insn pattern.
6568 Make the expander conditional on ! sh_need_epilogue ().
6570 2000-02-24 Nathan Sidwell <nathan@codesourcery.com>
6572 * machmode.h (get_mode_alignment): Declare.
6573 (GET_MODE_ALIGNMENT): Call it.
6574 * stor-layout.c (get_mode_alignment): New function. Make
6575 sure alignment is always power of 2.
6577 2000-02-23 Zack Weinberg <zack@wolery.cumb.org>
6579 * i386.h: Remove useless definition of "I386" and misleading
6582 2000-02-23 Zack Weinberg <zack@wolery.cumb.org>
6584 * tree.h (TREE_SET_PERMANENT): New macro. Document conditions
6585 under which TREE_PERMANENT will be set.
6586 * tree.c (make_node, copy_node, make_tree_vec, tree_cons,
6587 build1): Use TREE_SET_PERMANENT.
6588 * print-tree.c (print_node): Don't report value of
6589 TREE_PERMANENT if ggc_p is true.
6591 * c-common.c (c_get_alias_set): Don't use TREE_PERMANENT to
6592 decide whether to give a type a new alias set.
6593 * objc/objc-act.c (build_objc_string_object): Never copy the string.
6594 * tree.c (make_node): Set DECL_IN_SYSTEM_HEADER irrespective
6595 of value of 'obstack'.
6598 2000-02-24 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
6600 * config/c4x/c4x.c (c4x_process_after_reload): Split all insns.
6602 2000-02-23 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
6604 * cpplib.h (enum cpp_token): Added CPP_WCHAR and CPP_WSTRING.
6605 * cpplib.c (cpp_get_token): Produce them.
6606 * cppexp.c (cpp_lex): Handle them.
6608 2000-02-23 Nick Clifton <nickc@cygnus.com>
6610 * config/arm/arm.c (arm_comp_type_attributes): Simply and
6611 comment tests on type attributes.
6613 Wed Feb 23 16:42:21 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
6615 * final.c (shorten_branches): Make value passed to LOOP_ALIGN
6616 conform to documentation.
6617 * sh.h (LOOP_ALIGN): If aligning loops, call sh_loop_align
6618 to check for special cases.
6619 * sh-protos.h (sh_loop_align): Declare.
6620 * sh.c (sh_loop_align): Define.
6622 2000-02-22 Andrew Haley <aph@cygnus.com>
6624 * config/mips/mips.h (GAS_ASM_SPEC): Pass -mgp32/-mgp64 to gas.
6625 (SIZE_TYPE): Is 32 bits when using -mgp32.
6626 (PTRDIFF_TYPE): Ditto.
6628 Wed Feb 23 07:26:27 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
6630 * diagnostic.c (init_output_buffer): Handle case of null PREFIX.
6632 2000-02-23 Zack Weinberg <zack@wolery.cumb.org>
6634 * config/i386/i386.h: If IN_TARGET_LIBS is defined, make
6635 BIGGEST_FIELD_ALIGNMENT a constant.
6637 2000-02-21 Jason Merrill <jason@casey.cygnus.com>
6639 * dwarf2out.c (output_line_info): Put the marker for the end of
6640 the line number info at the actual end.
6641 (gen_struct_or_union_type_die): Use decl_function_context
6642 to check for local classes.
6643 * dwarfout.c (output_type): Likewise.
6645 Tue Feb 22 01:38:57 2000 Jeffrey A Law (law@cygnus.com)
6647 * pa.h (FUNCTION_ARG_PASS_BY_REFERENCE): Handle pass-by-reference
6648 for arguments with a mode, but no type.
6649 (FUNCTION_ARG_CALLEE_COPIES): Similarly.
6650 * t-pa (LIB2FUNCS_EXTRA): Add quadlib.asm.
6651 * pa/long_double.h: New file.
6652 * configure.in (hpux10, hpux11 configurations): hpux10 and hpux11
6653 both have 128bit wide long doubles.
6654 * configure: Rebuilt.
6656 2000-02-21 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
6658 * defaults.h (ASM_OUTPUT_ASCII): Constify a char*.
6660 * flow.c (get_common_dest, chain_reorder_blocks, make_reorder_chain,
6661 fixup_reorder_chain, skip_insns_between_block): Add static prototypes.
6662 (life_analysis): Wrap variable `i' with macro ELIMINABLE_REGS.
6664 * haifa-sched.c (rank_for_schedule): Don't cast away const-ness.
6666 * integrate.c (compare_blocks, find_block): Likewise.
6668 * rtl.c (fatal_with_file_and_line): Add ATTRIBUTE_PRINTF_2.
6670 * rtl.h (set_file_and_line_for_stmt): Constify a char*.
6672 * stmt.c (stmt_status, set_file_and_line_for_stmt,
6673 expand_asm_operands): Likewise.
6675 Mon Feb 21 17:06:27 2000 Jason Eckhardt <jle@cygnus.com>
6677 * predict.c (estimate_probability): Added the pointer heuristic to
6678 the collection of static branch predictors.
6680 2000-02-21 Catherine Moore <clm@cygnus.com>
6682 * config/mips/mips.h (ASM_SPEC): Add -mfix700.
6683 * invoke.texi (-mfix7000): Document.
6685 2000-02-21 Gabriel Dos Reis <gdr@codesourcery.com>
6687 * diagnostic.c (init_output_buffer): Make it possible to output at
6688 least 32 characters if we're given a too long prefix.
6690 2000-02-20 Mark Mitchell <mark@codesourcery.com>
6692 * varasm.c (initializer_constant_valid_p): Call
6693 lang_expand_constant to simplify the constant.
6695 2000-02-20 Bruce Korb <bkorb@gnu.org>
6697 * fixinc/inclhack.def(stdio_va_list):
6698 typedef needs to be disabled.
6699 * fixinc/inclhack.sh: regen
6700 * fixinc/fixincl.x: regen
6702 2000-02-20 Geoff Keating <geoffk@cygnus.com>
6704 * print-rtl.c (print_rtx): Don't print addresses when
6705 flag_dump_unnumbered.
6707 2000-02-20 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
6709 * sparc.c (sparc_output_scratch_registers): Mark parameter with
6711 (sparc_va_arg, sparc_flat_output_function_prologue,
6712 sparc_flat_output_function_epilogue): Cast value to unsigned in
6714 (sparc_emit_float_lib_cmp): Remove unused variable `cmp'.
6716 * sparc.md: Add default case in switch.
6718 2000-02-19 Richard Henderson <rth@cygnus.com>
6720 * c-typeck.c (add_pending_init): Don't abort for multiple
6721 fields at the same offset.
6722 (pending_init_member): Test the correct member.
6724 2000-02-19 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
6726 * except.c (start_dynamic_handler) : Use TYPE_MODE (integer_type_node)
6728 (start_catch_handler) : Same.
6730 2000-02-19 Brad Lucier (lucier@math.purdue.edu)
6732 * Makefile.in: Have flow.o depend on $(EXPR_H)
6734 Sat Feb 19 18:43:13 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
6736 * c-common.c (decl_attributes): Set DECL_SIZE_UNIT.
6737 * c-decl.c (duplicate_decls, finish_enum): Likewise.
6738 (finish_decl): Remove -Wlarger-than code from here.
6739 * flags.h (id_clash_len): Now int.
6740 (larger_than_size): Now HOST_WIDE_INT.
6741 * fold-const.c (size_int_wide): No more HIGH parm; NUMBER is signed.
6742 Clean up checking to see if in table.
6743 (make_bit_field_ref): Remove extra parm to bitsize_int.
6744 * ggc-common.c (ggc_mark_tree_children): Mark DECL_SIZE_UNIT.
6745 * print-tree.c (print_node): Print DECL_SIZE_UNIT and TYPE_SIZE_UNIT.
6746 * stmt.c (expand_decl): Use DECL_SIZE_UNIT for stack checking size
6747 and for computing size of decl.
6748 * stor-layout.c (layout_decl): Set DECL_SIZE_UNIT.
6749 Move -Wlarger-than code to here.
6750 (layout_record): Remove extra arg to bitsize_int.
6751 Set TYPE_BINFO_SIZE_UNIT.
6752 (layout_union): Remove extra arg to bitsize_int.
6753 Use proper type for size of QUAL_UNION.
6754 (layout_type): Remove extra arg to bitsize_int.
6755 * toplev.c (id_clash_len): Now int.
6756 (larger_than_size): Now HOST_WIDE_INT.
6757 (decode_W_option): Clean up id-clash and larger-than- cases.
6758 * tree.c (get_identifier, maybe_get_identifier): Remove unneeded casts.
6759 (expr_align, case FUNCTION_DECL): DECL_ALIGN is not defined.
6760 * tree.h (BINFO_SIZE_UNIT, TYPE_BINFO_SIZE_UNIT, DECL_SIZE_UNIT): New.
6761 (struct tree_decl): New field size_unit.
6762 (size_int_wide): No HIGH operand; NUMBER is now signed.
6763 (size_int_2): Deleted.
6764 (size_int, bitsize_int): Don't use it and rework args.
6765 * varasm.c (assemble_variable, output_constructor): Use DECL_SIZE_UNIT.
6767 Fri Feb 18 20:01:58 2000 Jeffrey A Law (law@cygnus.com)
6769 * pa/quadlib.asm (_U_QFgt, _U_Qfge): Fix flags for _U_Qfcmp call.
6771 2000-02-18 Geoff Keating <geoffk@cygnus.com>
6773 * invoke.texi (Warning Options): Add an explanation of why
6774 you might want the -Wfloat-equal flag.
6776 Fri Feb 18 20:08:57 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
6778 * bitmap.c (bitmap_operation): Avoid using -1 for index since unsigned.
6779 * cppinit.c (new_pending_define): Add cast to avoid warning.
6780 * expmed.c (extract_bit_field): Likewise.
6781 * flow.c (enum reorder_skip_type): New type.
6782 (skip_insns_between_blcok): New it.
6783 Rework to avoid warning about possibly undefined variable.
6784 * function.c (assign_parms): Make thisparm_boundary unsigned.
6785 * genrecog.c (write_switch): Cast XWINT result to int.
6786 * lcm.c: Many static fcns and vars now #ifdef OPTIMIZE_MODE_SWITCHING.
6787 * mips-tfile.c (init_file): Make two versions of FDR intializer:
6788 one for MIPS and one for Alpha.
6789 (get_tag, copy_object): Add casts to avoid warnings.
6790 * optabs.c (init_one_libfunc): Cast NAME to (char *).
6791 * reload.c (find_reloads): Make TYPE enum reload_type.
6792 * sbitmap.c (dump_sbitmap): J is unsigned; don't use "1L".
6793 * unroll.c (unroll_loop): Initialize UNROLL_NUMBER.
6794 * varasm.c (compare_constant_1): Add cast to avoid warning.
6795 * config/alpha/alpha.c (alpha_emit_xfloating_libcall): Cast FUNC
6797 (alpha_expand_unaligned_load, alpha_expand_unaligned_store):
6798 Cast switch operand of size to int.
6799 (alpha_expand_epilogue): Always initialize fp_offset and sa_reg.
6800 * config/alpha/alpha.h (INITIAL_ELIMINATION_OFFSET): Add abort
6803 2000-02-18 Nick Clifton <nickc@cygnus.com>
6805 * config/arm/elf.h (ASM_OUTPUT_ALIGN): Do not generate
6806 anything for an alignment of zero.
6808 * config/arm/thumb.h (ASM_OUTPUT_ALIGN): Do not generate
6809 anything for an alignment of zero.
6811 2000-02-18 Martin von Loewis <loewis@informatik.hu-berlin.de>
6813 * gcc.texi (Bug Reporting): Refer to bugs.html.
6814 (Bug Lists): Likewise.
6815 * system.h (GCCBUGURL): New preprocessor define.
6816 * rtl.c (fancy_abort): Use it.
6817 * gcc.c (main): Likewise.
6819 2000-02-18 Richard Henderson <rth@cygnus.com>
6821 * flow.c (INSN_VOLATILE, SET_INSN_VOLATILE, uid_volatile): Remove.
6822 (life_analysis_1): Subsume into ...
6823 (life_analysis): ... here. Force PROP_REG_INFO off after reload.
6824 Use update_life_info for the relaxation.
6825 (update_life_info): Update REG_BASIC_BLOCK for registers live on
6826 entry and regs_live_at_setjmp.
6827 (set_noop_p): Simplify.
6828 (notice_stack_pointer_modification_1): Renamed from s/_1//.
6829 (record_volatile_insns): Split into ...
6830 (delete_noop_moves): ... here,
6831 (notice_stack_pointer_modification): ... here,
6832 (insn_dead_p): ... and here.
6833 (propagate_block): Don't query INSN_VOLATILE.
6834 (mark_used_regs): Mind !PROP_REG_INFO.
6835 * toplev.c (rest_of_compilation): Call mark_constant_function here,
6836 not in life_analysis.
6838 Fri Feb 18 01:29:22 EST 2000 John Wehle (john@feith.com)
6840 * loop.c (canonicalize_condition): New function,
6841 broken out of get_condition.
6842 (get_condition): Use it.
6843 * expr.h (canonicalize_condition): Prototype it.
6845 * tree.h (tree_int_cst_msb): Declare.
6846 * tree.c (tree_int_cst_msb): New function.
6848 2000-02-17 Mark Mitchell <mark@codesourcery.com>
6850 * stmt.c (set_file_and_line_for_stmt): Don't crash if cfun->stmt
6853 * invoke.texi (-fmessage-length=n): Document.
6855 2000-02-17 Jason Merrill <jason@casey.cygnus.com>
6857 * bitmap.c (bitmap_operation): Don't leak bitmap elements.
6859 2000-02-17 Mark Mitchell <mark@codesourcery.com>
6861 * function.c (thread_prologue_and_epilogue_insns): Put a line note
6864 2000-02-17 Nick Clifton <nickc@cygnus.com>
6866 * config/arm/thumb.c: Replace includes of system headers with
6867 #include "system.h".
6869 2000-02-16 Richard Henderson <rth@cygnus.com>
6871 * configure.in (alpha-linux*, alpha-netbsd) [extra_parts]:
6872 Add crtbeginS.o and crtendS.o.
6873 * alpha/elf.h (STARTFILE_SPEC): Use crtbeginS.o.
6874 (ENDFILE_SPEC): Use crtendS.o.
6875 * alpha/t-crtbe (crtbeginS.o, crtendS.o): New targets.
6877 * alpha/crtbegin.asm (__do_frame_takedown): Merge into ...
6878 (__do_global_dtors_aux): ... here. Call __cxa_finalize if
6880 (__dso_handle): New variable.
6881 * alpha/crtend.asm (__do_global_ctors_aux): Remove runtime
6882 bias to __CTOR_END__.
6884 2000-02-16 Richard Henderson <rth@cygnus.com>
6886 * Makefile.in (s-crtS, crtbeginS, crtendS): Prefix usage with $(T).
6888 Wed Feb 16 21:40:04 2000 Hans-Peter Nilsson <hp@bitrange.com>
6890 * longlong.h (__clz_tab): Declare as static to match definition.
6892 2000-02-16 Mark Elbrecht <snowball3@bigfoot.com>
6893 * i386/xm-djgpp.h (LIBSTDCXX): Delete. Moved to config/i386/djgpp.h.
6894 (XREF_FILE_NAME): Define.
6896 * i386/djgpp.h (DATA_SECTION_ASM_OP): Define.
6897 (EH_FRAME_SECTION_ASM_OP): Define.
6898 (IDENT_ASM_OP): Define.
6899 (TEXT_SECTION_ASM_OP): Define.
6901 (CTORS_SECTION_ASM_OP): Define.
6902 (CTOR_SECTION_FUNCTION): Use it.
6903 (DTORS_SECTION_ASM_OP): Define.
6904 (DTOR_SECTION_FUNCTION): Use it.
6906 2000-02-16 Zack Weinberg <zack@wolery.cumb.org>
6908 * reg-stack.c (emit_swap_insn): Do not put a new insn before a
6911 * flow.c (dump_regset, debug_regset, dump_bb, debug_bb,
6912 debug_bb_n): New functions.
6913 (dump_flow_info, print_rtl_with_bb): Use dump_regset.
6914 * basic-block.h: Prototype new functions.
6916 Wed Feb 16 21:07:53 2000 Denis Chertykov <denisc@overta.ru>
6918 * configure.in: Add support for avr target.
6919 * configure: Rebuilt.
6921 * invoke.texi: Add AVR invocation docs.
6922 * install.texi: Add information about AVR.
6923 * md.texi: Add AVR constraint letters description.
6924 * extend.texi: Add description for AVR specific attributes.
6926 2000-02-16 Jason Merrill <jason@casey.cygnus.com>
6928 * fixinc/fixinc.svr4: Wrap byteorder.h with extern "C".
6930 2000-02-16 Nick Clifton <nickc@cygnus.com>
6932 * emit-rtl.c (emit_insn): Move RTL check into make_insn_raw.
6933 (make_insn_raw): Move RTL check here.
6935 2000-02-16 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
6937 * version.c: Include gansidecl.h and version.h.
6939 * version.h: Wrap entire file in macro __GCC_VERSION_H__.
6941 * configure.in (gcc_version): When setting, narrow search to
6942 lines containing `version_string'.
6944 * Makefile.in (mainversion): Likewise.
6945 (GCC_H): New variable.
6946 (gcc.h): Delete target.
6947 (gcc.o, gccspec.o, cppspec.o): Depend on $(GCC_H), not gcc.h.
6948 (version.o): Depend on version.h.
6949 (dbxout.o): Don't depend on gcc.h.
6951 Wed Feb 16 15:04:49 2000 Hans-Peter Nilsson <hp@bitrange.com>
6952 Michael Meissner <meissner@cygnus.com>
6954 * md.texi (Simple Constraints): Add item about whitespace.
6955 * genoutput.c (strip_whitespace): New.
6956 (scan_operands) [MATCH_OPERAND, MATCH_SCRATCH]: Call
6957 strip_whitespace for constraints.
6958 Test pointer using NULL, not 0.
6960 2000-02-16 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
6962 * cpplib.c (do_line): Pedwarn for #line > 32767.
6964 * c-lex.c (readescape): Warn about '\x', but do not reject it.
6966 2000-02-15 Jonathan Larmour <jlarmour@redhat.co.uk>
6968 * gcc.c (default_compilers): Add new __GNUC_PATCHLEVEL__ define
6969 to default cpp spec.
6970 (do_spec_1): Add support for %v3 spec used by __GNUC_PATCHLEVEL__.
6971 * cpp.texi: Document __GNUC_PATCHLEVEL__.
6974 * objc/lang-specs.h: Add new __GNUC_PATCHLEVEL__ define to
6977 2000-02-15 Denis Chertykov <denisc@overta.ru>
6979 * configure.in: Add support for avr target.
6981 Wed Feb 16 03:21:43 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
6983 * sh.h (OVERRIDE_OPTIONS): Don't set sh_addr_diff_vec_mode.
6984 (sh_addr_diff_vec_mode): Don't declare.
6985 * sh.c (sh_addr_diff_vec_mode): Delete.
6987 Wed Feb 16 01:27:52 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
6989 * sh.md (mulsi3_highpart): Add REG_EQUAL note to last insn.
6991 Wed Feb 16 00:58:06 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
6993 * sh.md (udivsi3_i1, divsi3_i1, umulhisi3_i, mulhisi3_i): Name.
6994 (smulsi3_highpart_i): Name.
6995 (udivsi3): Wrap emitted insns in REG_LIBCALL / REG_RETVAL notes.
6996 (divsi3, mulhisi3, umulhisi3, mulsidi3, umulsidi3): Likewise.
6997 (smulsi3_highpart, umulsi3_highpart): Likewise.
6999 (mulsidi3_i, umulsidi3_i): Make rtl describe operation
7000 correctly independent of endianness.
7001 (mulsidi3, umulsidi3): Now define_insn. Hide details that
7002 confuse the optimizers.
7003 (mulsidi3+1, umulsidi3+1): New define_split.
7005 Tue Feb 15 23:22:26 2000 Andrew Haley <aph@cygnus.com>
7007 * config/sh/sh.md: Guard insn splits against illegal registers.
7008 * config/sh/sh.h: Correct comment about macros.
7010 Tue Feb 15 22:30:36 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
7011 Andrew MacLeod <amacleod@cygnus.com>
7013 * Makefile.in (lcm.o): Depend on insn-attr.h.
7014 * basic-block.h (optimize_mode_switching): Declare.
7015 * lcm.c (tm_p.h, insn-attr.h): #include.
7016 (seginfo, bb_info): New structs.
7017 (antic, transp, comp, delete, insert) : New file-scope static variables.
7018 (new_seginfo, add_seginfo, make_preds_opaque, reg_dies): New functions.
7019 (reg_becomes_live, optimize_mode_switching): Likewise.
7020 * tm.texi: Add description of mode switching macros.
7021 * toplev.c (rest_of_compilation): Call optimize_mode_switching.
7023 * sh-protos.h (remove_dead_before_cse): Remove prototype.
7024 (fldi_ok, fpscr_set_from_mem): New prototypes.
7025 * sh.h (OPTIMIZATION_OPTION): Remove sh_flag_remove_dead_before_cse set.
7026 (CONST_DOUBLE_OK_FOR_LETTER_P, SECONDARY_INPUT_RELOAD_CLASS):
7027 Disable fldi for (TARGET_SH4 && ! TARGET_FMOVD).
7028 (sh_flag_remove_dead_before_cse): Remove declaration.
7029 (NUM_MODES_FOR_MODE_SWITCHING, OPTIMIZE_MODE_SWITCHING): New macros.
7030 (MODE_USES_IN_EXIT_BLOCK, MODE_NEEDED, MODE_AT_ENTRY): Likewise.
7031 (MODE_PRIORITY_TO_MODE, EMIT_MODE_SET): Likewise.
7032 * sh.c (broken_move): Disable fldi for (TARGET_SH4 && ! TARGET_FMOVD).
7033 (barrier_align): Allow for JUMP_INSNS containing a parallel.
7034 (machine_dependent_reorg): Remove sh_flag_remove_dead_before_cse set.
7035 (fldi_ok): New function.
7036 (get_fpscr_rtx): Add fpscr_rtx as GC root.
7037 (emit_sf_insn): Only generate fpu switches when optimize < 1.
7038 (emit_df_insn): Likewise.
7039 (expand_fp_branch, emit_fpscr_use, remove_dead_before_cse): Delete.
7040 (sh_flag_remove_dead_before_cse): Delete.
7041 (get_free_reg, fpscr_set_from_mem): New functions.
7042 * sh.md (movdf, movsf): Remove no_new_pseudos code.
7043 (return): Remove emit_fpscr_use / remove_dead_before_cse calls.
7045 2000-02-15 Loren Rittle <ljrittle@acm.org>
7047 * ginclude/stddef.h: Correct usage of _BSD_RUNE_T_ for FreeBSD.
7049 2000-02-15 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
7051 * Makefile.in (TREE_H, collect2.o, gcc.h, mips-tfile.o, cccp.o,
7052 cpphash.o, cppinit.o, protoize.o, unprotoize.o): Depend on version.h.
7054 * cccp.c: Include version.h and/or don't declare `version_string'.
7055 * collect2.c: Likewise.
7056 * alpha.c: Likewise.
7057 * arm/aof.h: Likewise.
7058 * arm/coff.h: Likewise.
7059 * arm/elf.h: Likewise.
7060 * arm/pe.h: Likewise.
7061 * arm/tcoff.h: Likewise.
7062 * arm/telf.h: Likewise.
7063 * arm/tpe.h: Likewise.
7064 * arm/vxarm.h: Likewise.
7065 * convex/convex.c: Likewise.
7066 * i386/dgux.c: Likewise.
7067 * i386/sun386.h: Likewise.
7068 * m88k/m88k.c: Likewise.
7069 * mcore/mcore-pe.h: Likewise.
7070 * mips/mips.h: Likewise.
7071 * romp/romp.h: Likewise.
7072 * sh/sh.c: Likewise.
7073 * cpphash.c: Likewise.
7074 * cppinit.c: Likewise.
7075 * dwarf2out.c: Likewise.
7076 * dwarfout.c: Likewise.
7079 * mips-tfile.c: Likewise.
7080 * protoize.c: Likewise.
7081 * toplev.c: Likewise.
7084 * version.c (version_string): Constify a char*.
7086 * version.h: New file.
7088 2000-02-14 Nick Clifton <nickc@cygnus.com>
7090 * configure.in: Add mcore-elf and mcore-pe targets.
7091 * configure: Regenerate.
7093 * NEWS: Add note that MCore port has been contributed.
7095 * invoke.texi: Document command line switches for MCore port.
7096 * install.texi: Add MCore to list of supported targets.
7098 2000-02-14 Geoff Keating <geoffk@cygnus.com>
7100 * collect2.c (main) [COLLECT_EXPORT_LIST]: If we have frames,
7101 then we will need to import the frame handling functions.
7102 (scan_prog_file) [COLLECT_EXPORT_LIST]: We will also need
7103 to import the frames themselves.
7105 Mon Feb 14 13:31:01 2000 Stan Cox <scox@cygnus.com>
7106 Jason Eckhardt <jle@cygnus.com>
7108 * basic_block.h: Added prototype for reorder_basic_blocks.
7109 * toplev.c: Changes to add -freorder-blocks and graph dump after
7110 block reordering is done.
7111 * flow.c (reorder_block_def): New structure for use during block
7113 (REORDER_BLOCK_*): New macros to access members of above structure.
7114 (skip_insns_between_block, get_common_dest, chain_reorder_blocks,
7115 make_reorder_chain, fixup_reorder_chain, reorder_basic_blocks): New
7116 functions for block reordering.
7118 Mon Feb 14 11:24:44 2000 Hans-Peter Nilsson <hp@bitrange.com>
7120 * gcc.texi (Passes): Fix typo.
7121 * md.texi (Standard Names): Ditto.
7122 * tm.texi (Storage Layout): Ditto.
7124 2000-02-13 Zack Weinberg <zack@wolery.cumb.org>
7126 * cpplib.c (do_define): Only free the old definition if it
7129 2000-02-13 Neil Booth <NeilB@earthling.net>
7131 * cppfiles.c (read_and_prescan): When emitting deferred
7132 newlines, test speccase[] again instead of checking each
7133 possible whitespace character in turn. When we encounter \r,
7134 look behind for \n first, then ahead.
7136 2000-02-13 Zack Weinberg <zack@wolery.cumb.org>
7138 * cse.c (cse_altered): New internal flag.
7139 (cse_insn): Set it if we changed an insn.
7140 (cse_main): Clear cse_altered before each basic block.
7141 Only garbage collect if cse_altered is true afterward.
7143 Sun Feb 13 14:12:28 2000 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
7145 * sparc/sol2.h (LIB_SPEC): Link -ldl if profiling.
7147 Sun Feb 13 13:21:55 2000 Jeffrey A Law (law@cygnus.com)
7149 * combine.c (simplify_comparison): Fix typo.
7151 Sun Feb 13 12:57:52 2000 Neil Booth <NeilB@earthling.net>
7153 * prefix.c (concat, lookup_key): Use xmalloc and xrealloc
7156 2000-02-13 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
7158 * flow.c (flow_loop_tree_node_add): Use better algorithm by passing
7159 previously inserted node instead of root node. Caller changed.
7161 2000-02-13 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
7163 * basic-block.h (FLOW_LOOP_FIRST_BLOCK, FLOW_LOOP_LAST_BLOCK): Delete.
7165 2000-02-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
7167 * crtstuff.c (__do_global_ctors_aux, __reg_frame_ctor,
7168 __dereg_frame_dtor): Add prototype argument.
7170 * gthr-dce.h (__gthread_active_p, __gthread_once): Likewise.
7172 * gthr-posix.h (__gthread_active_p, __gthread_once): Likewise.
7174 * gthr-solaris.h (__gthread_active_p, __gthread_once): Likewise.
7176 * gthr-vxworks.h (__gthread_once): Likewise.
7178 * gthr-win32.h (__gthread_active_p, __gthread_once): Likewise.
7180 Sat Feb 12 01:44:26 MET 2000 Jan Hubicka <jh@suse.cz>
7182 * i386.c (ix86_emit_restore_regs_using_mov): Break out from ...
7183 (ix86_expand_epilogue): ... here. Use mov instead of add to restore
7184 stack pointer in functions w/o saved registers, output LEAVE more often
7185 on TARGET_USE_LEAVE machines.
7187 2000-02-07 Dmitri Makarov <dim@wrs.com> & Bernd Schmidt <bernds@redhat.com>
7189 * config/arm/arm.c (arm_init_cumulative_args); New function:
7190 Initlaise the CUMULATIE_ARGS strcuture for a function
7192 (arm_function_arg): New function: Determine where to place a
7193 function's argument. Also handles deciding the function's
7195 (current_file_function_operand): New function: Return true if
7196 the symbol is a function which has already been compiled.
7197 (arm_is_long_call_p): New function: Return true if the
7198 indicated function should be called via a long call.
7199 (arm_valid_type_attribute_p): New function: Return true if the
7200 attribute is a valid, arm specific, attribute.
7201 (arm_comp_type_attribute): New function: Return true if the
7202 two types have compatable, arm specific, attributes.
7204 * config/arm/arm.h (CUMULATIVE_ARGS): Redefine to be a
7206 (FUNCTION_ARG): Redefine to call arm_function_arg.
7207 (FUNCTION_ARG_PARTIAL_NREGS): Redefine to use correct
7209 (INIT_CUMULATIVE_ARGS): Redefine to call
7210 arm_init_cumulative_args.
7211 (FUNCTION_ARG_ADVANCE): Redefine to use correct structure
7213 (SETUP_INCOMING_VARARGS): Redefine to use correct structure
7215 (ARM_MARK_NEARBY_FUNCTION): New macro: Mark already compiled
7217 (ENCODE_SECTION): Add call to ARM_MARK_NEARBY_FUNCTION.
7218 (VALID_MACHINE_TYPE_ATTRIBUTE): Define.
7219 (COMP_TYPE_ATTRIBUTES): Define.
7221 * config/arm/arm.md (call): Call arm_is_long_call_p to decide
7222 if a long call is needed.
7223 (call_value): Call arm_is_long_call_p to decide if a long call
7225 (call_symbol): Call arm_is_long_call_p to decide if a long call
7228 * config/arm/arm-protos.h: Add prototype for arm_is_long_call_p.
7230 2000-02-11 Denis Chertykov <denisc@overta.ru>
7232 * README.AVR: New file with information about the avr ports.
7233 * config/avr: New directory with avr port files.
7235 2000-02-11 Andreas Jaeger <aj@suse.de>
7237 * fixinc/Makefile.in (FIXINC_DEFS): Remove unneeded @fixinc_defs@.
7239 2000-02-11 Zack Weinberg <zack@wolery.cumb.org>
7241 * cpphash.c: Fix formatting, update commentary.
7242 (dump_definition): Take three separate arguments instead of a
7243 MACRODEF structure argument.
7244 * cpphash.h: Update prototype of dump_definition.
7245 * cppinit.c (cpp_finish): Update call of dump_definition.
7247 * cpplib.c (do_define): Always create new hash entry with
7248 T_MACRO type. Remove redundant check for redefinition of
7249 poisoned identifier. Update call of dump_definition.
7250 (do_undef): Don't call check_macro_name. Rename sym_length to
7252 (do_error, do_warning): Don't use copy_rest_of_line or
7254 (do_warning): Don't use pedwarn for the actual warning,
7255 only the notice about its not being in the standard. (Fixes
7256 bug with #warning in system headers.)
7257 (do_ident): Stricter argument checking - accept only a single
7258 string after #ident. Also, macro-expand the line.
7259 (do_xifdef): Use cpp_defined. De-obfuscate.
7261 (do_pragma): Split out specific pragma handling to separate
7262 functions. Use get_directive_token. Update commentary. Do
7263 not pass on #pragma once or #pragma poison to the front end.
7264 (do_pragma_once, do_pragma_implementation, do_pragma_poison,
7265 do_pragma_default): New.
7267 Feb 11 12:30:53 2000 Jeffrey A Law (law@cygnus.com)
7269 * jump.c (jump_optimize_1): The first operand in a relational
7271 * optabs.c (emit_conditional_move): Handle relationals which
7272 have a known true/false result.
7274 2000-02-11 Geoff Keating <geoffk@cygnus.com>
7276 * function.c (thread_prologue_and_epilogue_insns): Don't insert
7277 a RETURN insn into a block which already ends with a jump.
7279 2000-02-11 Geoff Keating <geoffk@cygnus.com>
7281 * haifa-sched.c (BUF_LEN): Increase a lot.
7283 2000-02-11 Nick Clifton <nickc@cygnus.com>
7285 * configure.in: Add tm_p_file specification for thumb targets.
7286 * configure: Regenerate.
7288 * config/arm/thumb-protos.h: New file: Prototypes for exported
7289 functions defined in thumb.c.
7291 2000-02-11 Robert Lipe <robertl@sco.com>
7293 * Makefile.in (bootstrap-lean): Remove additional files.
7294 (bootstrap2-lean): Likewise.
7295 (VOL_FILES): List of files for above.
7297 2000-02-11 Nathan Sidwell <nathan@acm.org>
7299 * cpphash.c (special_symbol): Remove spurious argument to
7302 2000-02-11 Joel Sherrill (joel@OARcorp.com>
7304 * configure.in: (i*86-*-rtems*): Swapped elf and coff
7306 * configure: Rebuilt.
7308 2000-02-11 Rodney Brown <RodneyBrown@pmsc.com>
7310 * pa-protos.h: Wrap function_arg_padding in TREE_CODE #ifdef.
7312 Fri Feb 11 02:59:05 2000 Jeffrey A Law (law@cygnus.com)
7314 * pa.c, pa.h: Remove trigraph sequences within comments.
7316 Fri Feb 11 02:51:56 2000 Pavel Roskin <pavel_roskin@geocities.com>
7318 * invoke.texi (PPC Options): -mno-new-mnenomics -> -mold-mnemonics.
7320 Fri Feb 11 02:48:30 2000 Brad Lucier (lucier@math.purdue.edu)
7322 * sbitmap.h: Make SBITMAP_ELT_BITS unsigned.
7324 2000-02-11 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
7326 * config/c4x/c4x.c (fp_zero_operand): Check for CONST_DOUBLE.
7328 2000-02-11 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
7330 * config/c4x/c4x.h (ASM_GLOBALIZE_LABEL): Use c4x_global_label.
7331 (ASM_OUTPUT_EXTERNAL): Use c4x_external_ref.
7332 (ASM_OUTPUT_EXTERNAL_LIBCALL): Likewise.
7333 (ASM_FILE_END): Use c4x_file_end.
7334 * config/c4x/c4x.c (c4x_global_label): New function.
7335 (c4x_external_ref, c4x_file_end): Likewise.
7337 * config/c4x/c4x-protos.h (c4x_global_label): Add prototype.
7338 (c4x_external_ref, c4x_end_file): Likewise.
7340 2000-02-10 Zack Weinberg <zack@wolery.cumb.org>
7342 * cppexp.c: Don't include cpphash.h.
7343 (parse_charconst, cpp_lex): Use cpp_defined.
7344 (cpp_lex): Use get_directive_token throughout. Remove
7345 unnecessary cases from switch. Move assertion-handling code
7347 (cpp_parse_expr): If we see '+' or '-', check the context to
7348 determine if they are unary or binary operators. Streamline
7349 the jumps a bit. Do not call skip_rest_of_line.
7351 * cpplib.c: Make skip_rest_of_line and cpp_skip_hspace
7352 static. Export get_directive_token. Update commentary.
7353 (cpp_defined): New function.
7354 (do_define): Remove reference to T_PCSTRING. Call
7355 free_definition to release memory for old definition, when
7357 (eval_if_expression): Set only_seen_white to 0 before calling
7358 cpp_parse_expr. Call skip_rest_of_line after it returns.
7359 (cpp_read_check_assertion): Don't preserve a pointer into the
7360 token buffer across a call to cpp_get_token.
7362 * Makefile.in (cppexp.o): Don't depend on cpphash.h.
7363 * cppfiles.c (redundant_include_p): Use cpp_defined.
7364 * cpphash.c (free_definition): New function.
7365 (delete_macro): Use it. Update commentary.
7366 * cpphash.h: Typedef HASHNODE here. Prototype cpp_lookup and
7368 * cpplib.h: Don't typedef HASHNODE here. Delete T_PCSTRING
7369 from enum node_type. Prototype cpp_defined and get_directive_token.
7370 Don't prototype cpp_lookup, skip_rest_of_line, or cpp_skip_hspace.
7372 * fix-header.c (check_macro_names): Use cpp_defined.
7373 (read_scan_file): Set inhibit_warnings and inhibit_errors in
7374 the options structure.
7376 2000-02-10 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
7378 * c-pragma.c (maximum_field_alignment): Remove duplicate declaration.
7380 2000-02-10 Jason Merrill <jason@casey.cygnus.com>
7382 * dwarf2out.c (add_abstract_origin_attribute): Check TREE_CODE (origin)
7383 rather than die->die_tag.
7385 Thu Feb 10 16:26:49 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
7387 * combine.c (make_extraction, force_to_mode): Avoid warning on
7388 mixed-signedness conditionals.
7389 (make_field_assignment, nonzero_bits): Likewise.
7390 * expmed.c (store_fixed_bit_field): ALIGN arg now unsigned.
7391 (store_split_bit_field, extract_split_bit_field): Likewise.
7392 (extract_fixed_bit_field, store_bit_field,
7393 * expr.c: Change alignment to be unsigned everywhere.
7394 (move_by_pieces, store_constructor_field, store_constructor):
7395 Alignment parm is unsigned.
7396 (emit_block_move, emit_group_load, emit_group_store): Likewise.
7397 (clear_storage, emit_push_insn, compare_from_rtx): Likewise.
7398 (do_compare_rtx_and_jump): Likewise.
7399 (move_by_pieces_ninsns, clear_by_pieces): Likewise.
7400 Compare align with GET_MODE_ALIGNMENT.
7401 (expand_expr_unaligned): Pointer to alignment is pointer to unsigned.
7402 (get_inner_reference): Likewise.
7403 (copy_blkmode_from_reg, emit_push_insn): Remove unneeded casts.
7404 (expand_assignment): Local vars for alignment now unsigned.
7405 (store_constructor, store_field, expand_expr, do_jump): Likewise.
7406 (do_compare_and_jump): Likewise.
7407 (store_field): Call new function expr_align.
7408 * expr.h (emit_block_move, emit_group_load, emit_group_store):
7409 Alignment arg now unsigned.
7410 (clear_storage, emit_push_insn, compare_from_rtx): Likewise.
7411 (do_compare_rtx_and_jump, store_bit_field): Likewise.
7412 (extract_bit_field): Likewise.
7413 * fold-const.c (add_double): Add cast to eliminate signedness warning.
7414 * machmode.h (GET_MODE_ALIGNMENT): Result is unsigned.
7415 (get_best_mode): Alignment arg is unsigned.
7416 * rtl.h (move_by_pieces): Likewise.
7417 * store-layout.c (maximum_field_alignment, set_alignment):
7419 (layout_decl): Alignment arg is now unsigned.
7420 Remove unneeded casts.
7421 (layout_record, layout_union, layout_type): Remove unneeded casts.
7422 Local alignment variables now unsigned.
7423 (get_best_mode): Alignment arg now unsigned.
7424 * tree.c (expr_align): New function.
7425 * tree.h (expr_align): Likewise.
7426 (maximum_field_alignment, set_alignment): Now unsigned.
7427 (get_inner_reference): Alignment argument is now pointer to unsigned.
7428 * varasm.c (assemble_variable): Add cast to eliminate warning.
7430 Thu Feb 10 12:56:47 2000 Jim Wilson <wilson@cygnus.com>
7432 * expmed.c (store_bit_field): If op0 and fieldmode are the same size,
7433 then store directly into op0.
7435 * calls.c (expand_call): When emitting a NOTE_INSN_SETJMP, search for
7436 the CALL_INSN, and emit the note immediately after it.
7438 2000-02-10 Nick Clifton <nickc@cygnus.com>
7440 * config/arm/thumb.md (epilogue): Include a (return) in the
7441 generated insn, and emit it using emit_jump_insn not
7444 Thu Feb 10 18:28:59 MET 2000 Jan Hubicka <jh@suse.cz>
7446 * function.c (assign_temp): Change zero-sized arrays to size 1.
7447 * integrate.c (expand_inline_function): Do not update
7448 stack_alignment_needed
7449 * i386.c (compute_frame_size): Remove #ifdef PREFERRED_FRAME_BOUNDARY,
7450 add some sanity checking, remove optimization for function with
7453 2000-02-10 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
7455 * flow.c (mark_regs_live_at_end): Delete unused variables.
7457 * ggc-page.c (ggc_page_print_statistics): bzero -> memset.
7459 * integrate.c (copy_rtx_and_substitute): Wrap variable `alignment'
7460 in macro FRAME_GROWS_DOWNWARD.
7462 * stmt.c (expand_end_bindings): Delete unused variable.
7464 * unroll.c (iteration_info): Mark parameter `loop' with
7467 2000-02-10 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
7469 * fixinc/server.c (load_data): Return NULL if the marker line is
7471 (run_shell): If load_data returns NULL, retry the command once, in
7474 * configure: Rebuilt.
7476 2000-02-09 Bruce Korb <bkorb@gnu.org>
7478 * gcc/fixincludes: ** DELETED **
7479 * gcc/fixcpp: ** DELETED **
7480 * gcc/fixinc-nt.sed: ** DELETED **
7481 * gcc/just-fixinc: ** DELETED **
7482 * gcc/Makefile.in: Removed out-dated commentary
7483 * gcc/configure.in: Removed fast-fixincludes disablement.
7484 * MAINTAINERS(Ian Taylor) moved to "Write after approval" group.
7486 2000-02-09 Clinton Popetz <cpopetz@cygnus.com>
7487 * function.c (thread_prologue_and_epilogue_insns): Uncomment
7490 2000-02-09 Richard Henderson <rth@cygnus.com>
7492 * jump.c (delete_insn): Don't delete user labels at -O0.
7494 2000-02-09 Robert Lipe <robertl@sco.com>
7496 * Makefile.in (gen-protos): Don't depend on HOST_LIBDEPS.
7497 Don't link with HOST_LIBS.
7499 2000-02-09 Zack Weinberg <zack@wolery.cumb.org>
7501 * configure.in: Correct --help text for --with-dwarf2.
7502 Put tm-dwarf2.h after other tm files, if it's requested.
7503 * configure: Regenerate.
7504 * config/tm-dwarf2.h: #undef PREFERRED_DEBUGGING_TYPE before
7507 2000-02-09 Zack Weinberg <zack@wolery.cumb.org>
7509 * cpplib.h: Provide HASHNODE typedef and forward decl of
7510 struct hashnode only. Kill cpp_hashnode typedef. MACRODEF,
7511 DEFINITION, struct hashnode, struct macrodef, struct
7512 definition, scan_decls prototype, default defn of
7513 INCLUDE_LEN_FUDGE moved elsewhere.
7515 * cpphash.h: MACRODEF, DEFINITION, struct macrodef, struct
7516 definition, and struct hashnode moved here. Remove the unused
7517 'predefined' field from struct definition. Replace the 'args'
7518 union with its sole member. All users updated (cpphash.c).
7519 Delete HASHSTEP and MAKE_POS macros, and hashf prototype. Add
7520 multiple include guard.
7522 * cpphash.c (hashf): Make static; use better algorithm; drop
7523 HASHSIZE parameter; return an unsigned int.
7524 (cpp_lookup): Drop HASH parameter. PFILE parameter is
7525 used. Calculate HASHSIZE modulus here.
7526 (cpp_install): Drop HASH parameter. Calculate HASHSIZE modulus
7528 (create_definition): Drop PREDEFINITION parameter.
7529 * cpplib.c (do_define): Don't calculate a hash value here.
7530 Don't pass (keyword == NULL) to create_definition.
7532 * scan.h: Prototype scan_decls here.
7533 * cppfiles.c: Move INCLUDE_LEN_FUDGE default defn here.
7534 * cppexp.c, cppfiles.c, cppinit.c, cpplib.c, fix-header.c: All
7535 callers of cpp_lookup and cpp_install updated.
7537 * cpphash.c (macarg): Hoist all the flag diddling out of the
7539 (macroexpand): ... and out of the loop that calls macarg.
7540 Skip over the initial paren before macro arguments with
7541 cpp_get_non_space_token; point may be some distance before
7542 that paren. Abort if it's not there.
7544 * cpplib.c (parse_clear_mark): Delete function.
7545 (parse_set_mark, parse_goto_mark): Make static.
7546 (ACTIVE_MARK_P): New macro.
7547 (skip_block_comment, skip_line_comment): Do not bump the line
7548 if ACTIVE_MARK_P is true.
7549 (cpp_pop_buffer): The buffer to be popped may not have an
7551 (cpp_get_token): When looking for the initial paren before
7552 macro arguments, only set a mark in a file buffer, Always
7553 return to that mark before proceeding to call macroexpand or
7554 return a NAME token.
7556 * cpplib.h: Remove prototypes of parse_set_mark,
7557 parse_clear_mark, parse_goto_mark.
7558 (struct cpp_options): Rename 'put_out_comments' to
7559 'discard_comments' and invert its sense.
7560 * cppinit.c, cpphash.c, cpplib.c: All users of
7561 put_out_comments changed to use discard_comments, with
7564 2000-02-09 Clinton Popetz <cpopetz@cygnus.com>
7566 * function.c (thread_prologue_and_epilogue_insns): Don't delete
7567 the edge from a block that both jumps and falls through to the
7570 2000-02-09 Scott Bambrough <scottb@netwinder.org>
7572 * config/arm/arm.md (movsi): In PIC mode, make sure that a
7573 constant source address is legitimate.
7575 2000-02-09 Philip Blundell <pb@futuretv.com>
7577 * config/arm/arm.c (legitimize_pic_address): Handle LABEL_REF
7580 * config/arm/arm.h (LEGITIMATE_CONSTANT_P): Allow anything when
7582 (LEGITIMATE_PIC_OPERAND): Disallow references to labels.
7584 2000-02-09 Zack Weinberg <zack@wolery.cumb.org>
7586 * cpplib.c (cpp_define, cpp_undef): Make sure the stacked buffer
7587 ends with a newline and a NUL. Don't be so clever manipulating
7590 Wed Feb 9 14:18:08 MET 2000 Jan Hubicka <jh@suse.cz>
7592 * reload1.c (reload) Align stack frame to cfun->stack_alignment_needed,
7593 not to BIGGEST_ALIGNMENT.
7595 2000-02-08 Geoff Keating <geoffk@cygnus.com>
7597 * dwarf2.h (DW_CFA_GNU_negative_offset_extended): New constant.
7598 * dwarf2out.c (dwarf_cfi_name): Print name of new constant.
7599 (reg_save): Use DW_CFA_GNU_negative_offset_extended when needed.
7600 (output_cfi): Handle output of DW_CFA_GNU_negative_offset_extended.
7601 * frame.c (execute_cfa_insn): Handle
7602 DW_CFA_GNU_negative_offset_extended.
7604 2000-02-08 Richard Henderson <rth@cygnus.com>
7606 * flow.c (tidy_fallthru_edges): Split out from ...
7607 (delete_unreachable_blocks): ... here.
7608 (find_basic_blocks): Use it.
7610 Tue Feb 8 15:51:50 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
7612 * stmt.c (expand_decl): Do set RTX_UNCHANGING_P for TREE_READONLY.
7614 2000-02-08 Zack Weinberg <zack@wolery.cumb.org>
7616 * Makefile.in (GEN_PROTOS_OBJS): Remove libcpp.a.
7617 (gen_protos.o): Don't depend on cpplib.h or cpphash.h.
7618 (fix-header.o): Don't depend on cpphash.h.
7620 * scan.c (hashstr): New function.
7621 * scan.h: Prototype it.
7622 * fix-header.c: Don't include cpphash.h. Use hashstr.
7623 * gen-protos.c: Don't include cpphash.h or cpplib.h. Use
7624 hashstr. Report hash table statistics. Add private
7625 definition of xrealloc.
7627 2000-02-08 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
7629 * i386.h (TARGET_SWITCHES): Fix typo in option name.
7631 2000-02-08 Clinton Popetz <cpopetz@cygnus.com>
7633 * function.c (thread_prologue_and_epilogue_insns): Don't replace
7634 jumps with returns unless they are jumps to the fallthru block.
7636 Tue Feb 8 07:53:55 2000 Jan Hubicka <jh@suse.cz>
7638 * i386.md (addqi3_cc): Fix contraints.
7640 Tue Feb 8 01:39:45 2000 Hans-Peter Nilsson <hp@bitrange.com>
7642 * function.c (emit_return_into_block): Wrap in #ifdef HAVE_return.
7644 2000-02-07 Mark Mitchell <mark@codesourcery.com>
7646 * cpplib.c (cpp_get_token): Call CPP_BUMP_LINE after reading a
7647 carriage return after a macro name.
7649 2000-02-07 Fred Fish <fnf@be.com>
7651 * i386/beos-elf.h: (ASM_IDENTIFY_GCC): Define to nothing
7652 so the gcc2_compiled symbol doesn't confuse BeOS debuggers.
7654 2000-02-07 Zack Weinberg <zack@wolery.cumb.org>
7656 * cppfiles.c (deps_output): Count spacers in deps_column.
7658 2000-02-07 Neil Booth <NeilB@earthling.net>
7660 * cppinit.c (initialize_dependency_output): If there is no
7661 suffix, don't try to look for known suffixes. Use strrchr.
7662 (cpp_start_read): Remove duplicate initialization.
7664 Mon Feb 7 18:36:41 MET 2000 Jan Hubicka <jh@suse.cz>
7666 * calls.c (compute_argument_block_size): New argument
7667 preferred_stack_boundary.
7668 (expand_call): update cfun->preferred_stack_boundary, update call of
7669 compute_argument_block_size
7670 (emit_library_call): Increate cfun->preferred_stack_boundary
7671 to PREFERRED_STACK_BOUNDARY
7672 (emit_library_call_value): Likewise.
7673 * explow.c (allocate_dynamic_stack_spave): Likewise.
7674 * function.c (prepare_function_start): Set
7675 cfun->preferred_stack_boundary
7676 * function.h (struct function): Add preferred_stack_boundary field.
7677 * integrate.c (expand_inline_function): Update
7678 cfun->preferred_stack_boundary and cfun->stack_alignment_needed.
7679 (copy_rtx_and_substitute): Align frame to stack_alignment_needed only.
7680 * i386.c (compute_frame_size): Use cfun->preferred_stack_boundary.
7682 2000-02-06 Zack Weinberg <zack@wolery.cumb.org>
7684 * cpplib.c (my_strerror, cpp_error, cpp_error_with_line,
7685 cpp_error_from_errno, cpp_warning, cpp_warning_with_line,
7686 cpp_pedwarn, cpp_pedwarn_with_line,
7687 cpp_pedwarn_with_file_and_line): Move to cpperror.c.
7688 (cpp_print_file_and_line, v_cpp_error, v_cpp_warning,
7689 v_cpp_error_with_line, v_cpp_warning_with_line,
7690 cpp_message_from_errno, cpp_perror_with_name): Delete.
7692 * cpperror.c (cpp_print_containing_files): Take starting
7694 (cpp_file_line_for_message): Rename to cpp_print_file_and_line.
7695 (v_cpp_message): Now called directly by all entry points.
7697 (cpp_pfatal_with_name, cpp_message): Delete.
7698 (cpp_notice_from_errno, cpp_ice): New functions.
7699 (cpp_notice): Is now for reporting error conditions, just
7700 without an associated file.
7701 (cpp_error, cpp_error_with_line): Don't do anything if
7702 opts->inhibit_errors is on.
7703 (cpp_pedwarn_with_file_and_line): Take column argument also.
7705 * cpplib.h: Update prototypes of exported functions.
7706 (struct cpp_options): Add inhibit_errors.
7708 * cppalloc.c, cppfiles.c: Use fprintf not cpp_notice for
7709 non-error messages. Include intl.h.
7711 * cppinit.c, cppmain.c: Likewise. Also, use
7712 cpp_notice_from_errno instead of cpp_perror_with_name or
7713 cpp_pfatal_with_name, and cpp_notice instead of cpp_message.
7715 * cppexp.c, cpphash.c, cppinit.c, cpplib.c: Use cpp_ice to
7716 report internal errors.
7718 * cpplib.c (do_define): Switch bcopy to memcpy.
7719 Give cpp_pedwarn_with_file_and_line a dummy column argument.
7721 * cpplib.c (copy_rest_of_line): Revert previous change: don't
7722 bail out early if we hit a line comment.
7724 2000-02-06 Richard Henderson <rth@cygnus.com>
7726 * flow.c (flow_delete_insn, make_edge, remove_edge): Export.
7727 * basic-block.h: Declare them.
7728 * emit-rtl.h (active_insn_p): New.
7729 (next_active_insn, prev_active_insn): Use it.
7730 * rtl.h: Declare it.
7731 * function.c (emit_return_into_block): New.
7732 (thread_prologue_and_epilogue_insns): Insert return insns instead
7733 of epilogues when possible.
7734 * jump.c (jump_optimize_1): Remove code to insert a return insn
7735 on the fallthru to the exit block.
7737 * i386.c (ix86_can_use_return_insn_p): Fail for large poped args
7738 and for non-empty stack frames.
7739 * i386.md (return): Expand to return-pop as needed.
7741 2000-02-06 Richard Henderson <rth@cygnus.com>
7743 * simplify-rtx.c (simplify_relational_operation): Canonicalize
7744 constant to op1 for testing.
7746 2000-02-06 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
7748 * config/c4x/c4x.md (*ldi_on_overflow): New pattern.
7749 (fixuns_truncqfqi2): Use it.
7751 2000-02-06 Richard Henderson <rth@cygnus.com>
7753 * i386.c (ix86_agi_dependant): Handle pro_epilogue_adjust_stack
7756 * i386.md (widening and peepholes): Mask the constant instead of
7759 2000-02-05 Zack Weinberg <zack@wolery.cumb.org>
7761 * cppfiles.c (read_and_prescan) [case SPECCASE_QUESTION]: Bump
7762 input pointer before possibly branching off to the backslash
7764 * cpphash.c (macroexpand): Correctly delete \r escapes when
7765 stringifying parameters.
7766 * cpplib.c (copy_rest_of_line): Go directly to skip_block_comment
7767 if we can; bail out early if we hit a line comment.
7768 (handle_directive): Treat '# 123' in an .S file just like
7769 '# <punctuation>'. Discard the shifted '#' if we hit '#\n'.
7770 Return 1 for '# not_a_directive'.
7771 (get_directive_token): Pop macro buffers here, so that
7772 cpp_get_token can't sneakily move past a newline.
7774 (cpp_get_token): goto randomchar if handle_directive returns 0.
7776 * cppalloc.c: Update copyright.
7777 * cpplib.c: Merge all the static function prototypes into one
7779 * cpplib.h: Remove #if 0 block.
7781 * cpperror.c: Remove #ifdef EMACS block.
7782 * cppmain.c: Likewise.
7783 * cpphash.c: Remove #if 0 blocks.
7784 * cppinit.c: Remove #if 0 blocks, and the -lint option.
7785 * cpplib.c: Remove #if 0 blocks and code referencing
7786 pcp_inside_if or for_lint. Remove duplicate error message.
7787 Fix error messages for #else after #else or #elif. Reformat.
7788 Remove archaic TODO list.
7789 * cpplib.h: Remove pcp_inside_if and for_lint flags.
7791 2000-02-05 Zack Weinberg <zack@wolery.cumb.org>
7793 * i386/osf1elf.h: Add missing backslash to multiline string.
7795 2000-02-05 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
7797 * longlong.h [sparc] (udiv_qrnnd): Avoid stringifying macro arg.
7799 2000-02-05 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
7801 * Makefile.in (c-common.o): Depend on $(EXPR_H).
7803 * c-common.c: Include expr.h.
7805 * c-pragma.c (mark_align_stack): Add prototype.
7807 * caller-save.c (add_stored_regs): Likewise.
7809 * combine.c (record_promoted_value): Likewise.
7811 * i386.c (ix86_sched_reorder_pentium, ix86_sched_reorder_ppro):
7814 * cppinit.c (new_pending_define): Likewise.
7816 * cpplib.c (skip_block_comment, skip_line_comment): Likewise.
7818 * dwarf2out.c (save_rtx, splice_child_die, reverse_die_lists,
7819 AT_class, AT_flag, AT_int, AT_unsigned, AT_string, AT_ref, AT_loc,
7820 AT_addr, AT_lbl, get_AT_ref, free_AT, free_die, local_scope_p,
7821 class_scope_p): Likewise.
7823 * dwarf2out.h (dwarf2out_set_demangle_name_func,
7824 dwarf2out_add_library_unit_info): Likewise.
7826 * ggc.h (ggc_page_print_statistics): Likewise.
7828 * haifa-sched.c (propagate_deps): Likewise.
7830 * reg-stack.c (next_flags_user, record_label_references): Likewise.
7832 * rtl.h (set_stack_check_libfunc): Likewise.
7834 * toplev.h (set_fatal_function): Likewise.
7836 * toplev.c (set_fatal_function): Delete prototype.
7838 * diagnostic.c: Deconstify functions returning malloc'ed ptrs.
7840 2000-02-05 Geoff Keating <geoffk@cygnus.com>
7842 * ginclude/ppc-asm.h (FUNC_START): Use USER_LABEL_PREFIX.
7843 (FUNC_END): Likewise.
7845 2000-02-05 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
7847 * caller-save.c: Include tm_p.h.
7849 2000-02-05 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
7851 * Makefile.in (libgcc.a): Add $(LIBGCC1) to libgcc.a after $(LIBGCC2).
7853 2000-02-04 Neil Booth <NeilB@earthling.net>
7855 * cccp.c (main): Check 'dir' for a NULL pointer before passing
7858 2000-02-04 Zack Weinberg <zack@wolery.cumb.org>
7860 * recog.h: Remove NO_MD_PROTOTYPES ifdefs.
7861 * genflags.c: Use the max_operand_1 logic from genemit.c to
7862 calculate how many arguments gen_insn prototypes have. Remove
7863 NO_MD_PROTOTYPES ifdefs from the generated file.
7864 * genoutput.c: Don't define NO_MD_PROTOTYPES in the generated
7865 file. Cast gen_insn initializers to insn_gen_fn.
7866 * config/alpha/vms.h: Don't define NO_MD_PROTOTYPES.
7867 * gcc.texi: Remove documentation of NO_MD_PROTOTYPES.
7869 2000-02-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
7871 * fixinc/Makefile.in (HDR): Add machname.h.
7874 2000-02-05 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
7876 * config/c4x/c4x.h (c4x_compare_op0, c4x_compare_op1): Move ...
7877 (c4x_regclass_map, c4x_caller_save_map, c4x_rpts_cycles): Ditto.
7878 (c4x_cpu_version): Ditto.
7879 * config/c4x/c4x-protos.h: ... here.
7881 2000-02-04 Jason Merrill <jason@casey.cygnus.com>
7883 * dwarf2out.c (add_abstract_origin_attribute): Don't call
7884 gen_abstract_function on our context if we're a nested function.
7886 2000-02-05 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
7888 * config/c4x/c4x.md (fixuns_truncqfqi2): Rewrite.
7889 * config/c4x/libgcc.S (ufix_truncqfhi2n): Fix.
7891 2000-02-04 Bruce Korb <bkorb@gnu.org>
7893 * fixinc/genfixes(machname.h):
7894 Move the functionality from gen-machine.h into this file.
7895 UNdef MN_NAME_PAT if there are no names to change.
7896 Also, be a little kinder when AutoGen is not present.
7898 * fixinc/Makefile.in(machname.h):
7899 Change the generation rule to use genfixes.
7901 * fixinc/fixfixes.c(machine_name):
7902 machine_name_fix's functionality now dependent upon whether
7903 MN_NAME_PAT is defined.
7905 * fixinc/fixtests.c(machine_name):
7908 * fixinc/fixlib.c(mn_get_regexps): conditional on definition
7911 * fixinc/fixlib.h(mn_get_regexps):
7914 * fixinc/gen-machine.h: DELETED
7916 2000-02-04 Jan Hubicka <jh@suse.cz>
7917 Richard Henderson <rth@cygnus.com>
7919 * i386.c (SAVE_REGS_FIRST): Remove.
7920 (ix86_initial_elimination_offset): Handle only SAVE_REGS_FIRST mode.
7921 (ix86_compute_frame_size): Likewise.
7922 (ix86_expand_prologue): Likewise. Use pro_epilogue_adjust_stack.
7923 (ix86_emit_restore_regs): Remove.
7924 (ix86_emit_epilogue_esp_adjustment): Use pro_epilogue_adjust_stack
7925 when a frame pointer is in use.
7926 (ix86_expand_epilogue): Handle only SAVE_REGS_FIRST mode. Use mov
7927 instead of pop to restore a register when profitable; emit leave
7929 (ix86_attr_length_default): Handle pro_epilogue_adjust_stack
7931 (ix86_adjust_cost): Handle pro_epilogue_adjust_stack as TYPE_ALU.
7932 * i386.md (prologue_allocate_stack): Remove.
7933 (epilogue_deallocate_stack): Remove.
7934 (pro_epilogue_adjust_stack): New.
7936 2000-02-04 Richard Henderson <rth@cygnus.com>
7938 * function.c (diddle_return_value): Rework to use a callback function.
7939 Use current_function_return_rtx if it's been set up.
7940 (do_clobber_return_reg, clobber_return_register): New.
7941 (do_use_return_reg, use_return_register): New.
7942 (expand_function_end): Use them.
7943 * stmt.c (expand_null_return): Likewise.
7944 * function.h: Declare them.
7945 * flow.c (mark_regs_live_at_end): Use diddle_return_value.
7946 (mark_reg): Change arguments as appropriate for callback.
7947 * integrate.c (expand_inline_function): Revert 19 Jan change.
7949 Fri Feb 4 20:25:42 2000 Hans-Peter Nilsson <hp@bitrange.com>
7951 * tm.texi (Values in Registers): Fix typo: "fo" "for".
7952 (Misc): Say the scheduler, not the Haifa scheduler.
7954 2000-02-04 Clinton Popetz <cpopetz@cygnus.com>
7956 * jump.c (mark_jump_label): Add in_mem param, check SYMBOL_REFs
7957 when in_mem is set. Update all callers.
7959 2000-02-04 Richard Henderson <rth@cygnus.com>
7961 * i386/openbsd.h (INT_ASM_OP): Define.
7963 Fri Feb 4 10:51:30 2000 Hans-Peter Nilsson <hp@bitrange.com>
7965 * tm.texi: Fix various typos.
7967 Thu Feb 3 17:17:32 2000 Steve Ellcey <sje@cup.hp.com>
7969 * config/pa/pa-hpux11.h (LIB_SPEC): Correct typo in !p case.
7970 (MD_STARTFILE_PREFIX_1): New macro.
7972 Thu Feb 3 15:08:13 MET 2000 Jan Hubicka <jh@suse.cz>
7974 * i386.md (movstrsi, clrstrsi): Support variable sized copies, align
7975 destination when needed.
7976 (strmovsi, strsetsi): New expander.
7977 (strmovsi_1, strsetsi_1): New pattern.
7978 * i386.h (MASK_NO_ALIGN_STROP, MASK_INLINE_ALL_STROP,
7979 TARGET_ALIGN_STRINGOPS, TARGET_INLINE_ALL_STRINGOPS): New macros.
7980 (TARGET_SWITCHES) Add align-stringops and inline-all-stringops.
7981 * invoke.texi (align-stringops, inline-all-stringops): Document.
7983 Wed Feb 2 23:04:47 2000 Krister Walfridsson <cato@df.lth.se>
7985 * i386/netbsd.h (INT_ASM_OP): Define.
7987 2000-02-02 Zack Weinberg <zack@wolery.cumb.org>
7989 * cpplib.h (cpp_reader): Add new flag, no_directives.
7990 * cpphash.c (macarg): Set it.
7991 * cpplib.c (handle_directive): If no_directives is on and we
7992 find a directive, issue an error and discard the line.
7994 Wed Feb 2 13:07:10 2000 Jim Wilson <wilson@cygnus.com>
7996 * config/sparc/sparc.h (PREFERRED_RELOAD_CLASS): Delete 'E' check for
7997 FP constants. Add ! TARGET_FPU check for FP constants.
7999 2000-02-02 Clinton Popetz <cpopetz@cygnus.com>
8001 * flow.c (find_basic_blocks): Don't kill label_value_list
8003 (cleanup_cfg): Kill it here.
8005 Wed Feb 2 08:12:30 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
8007 * expr.c (store_field): Ensure ALIGN is no stricter than the
8010 2000-02-02 Richard Henderson <rth@cygnus.com>
8012 * jump.c (delete_insn): Partially revert 19 Jan change;
8013 don't convert unused code labels to notes at -O0.
8015 2000-02-02 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
8017 * toplev.c (rest_of_compilation): Run rebuild_jump_labels after
8018 split_all_insns to recreate REG_LABEL notes for flow2 pass.
8020 2000-02-01 Richard Henderson <rth@cygnus.com>
8022 * i386.c (general_no_elim_operand): New.
8023 (nonmemory_no_elim_operand): New.
8024 (ix86_expand_move): Copy eliminable operands before a push.
8025 * i386-protos.h: Declare new functions.
8026 * i386.h (CAN_ELIMINATE): Simplify.
8027 (PREDICATE_CODES): Update.
8028 * i386.md (push insns): Don't allow eliminable register operands.
8030 2000-02-01 Richard Henderson <rth@cygnus.com>
8032 * flow.c (mark_regs_live_at_end): Follow expand_function_end and
8033 replace BLKmode with DECL_RTL's mode.
8035 2000-02-01 Zack Weinberg <zack@wolery.cumb.org>
8037 * frame.c (find_fde): Convert for loop to do-while so compiler
8038 sees it's always executed at least once.
8039 * libgcc2.c (BBINBUFSIZE): Kill.
8040 (__bb_init_prg): Use fgets.
8041 (__bb_exit_trace_func): Don't paste strings.
8042 * unroll.c (unroll_loop): Initialize unroll_type, not
8043 unroll_number, and tweak logic to match.
8045 * i386.c (ix86_expand_int_movcc): Add explicit 'return 0' in
8047 (ix86_flags_dependant): Likewise. Disentangle control flow.
8048 (ix86_sched_reorder): Break guts out to
8049 ix86_sched_reorder_pentium and ix86_sched_reorder_ppro.
8050 (ix86_sched_reorder_ppro): Initialize pair2 and insnp before
8053 * i386.h (MACHINE_STATE_SAVE, MACHINE_STATE_RESTORE): Don't
8054 use string concatenation. Don't save and restore esi.
8056 * fixinc/Makefile.in (fixincl.sh): Don't depend on inclhack.def.
8057 (machname.h): Remove script to separate file. Use two-step
8058 sequence so target is not created if script fails.
8059 * fixinc/gen-machname.h: New file. Handle case where no non-reserved
8060 identifiers are defined.
8061 * fixinc/fixlib.c (mn_get_regexps): Return a flag: if MN_NAME_PAT is
8062 an empty string, machine_name doesn't need to do anything at
8064 (is_cxx_header): Add more cases to regexp.
8065 * fixinc/fixlib.h: Update prototype.
8066 * fixinc/fixtests.c, fixinc/fixfixes.c: Update callers of
8068 * fixinc/fixincl.c: Define NO_BOGOSITY.
8070 * fixinc/inclhack.def (no_double_slash, else_endif_label): Ifdef out.
8071 (hp_sysfile): Add missing comma.
8072 (math_exception): Put the wrapper ifdefs at the beginning and
8073 the end of the file.
8074 * fixinc/fixincl.x, fixinc/inclhack.sh: Regenerate.
8076 2000-02-01 Richard Henderson <rth@cygnus.com>
8078 * sparc.c (fp_zero_operand): Turn into a normal predicate.
8079 Use CONST0_RTX. Update all callers.
8080 * sparc.h, sparc-protos.h: Update accordingly.
8081 * sparc.md (fp mov insns): Use fp_zero_operand directly
8084 Wed Feb 2 02:59:45 2000 Hans-Peter Nilsson <hp@bitrange.com>
8086 * tm.texi (Values in Registers): Fix typo in HARD_REGNO_NREGS
8089 2000-02-01 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
8091 * Makefile.in (specs.ready): New target.
8092 (fixinc.sh): Depend on `specs.ready' instead of `specs'.
8094 2000-02-01 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
8096 * fixinc.irix: Use unique filenames for writing into /tmp,
8097 * fixinc.ptx: Likewise.
8098 * fixinc.sco: Likewise.
8099 * fixinc.svr4: Likewise.
8100 * fixinc.winnt: Likewise.
8102 2000-02-01 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
8104 * tsystem.h: New file.
8106 * Makefile.in (libgcc2.a, stmp-multilib, crtbegin.o, crtend.o,
8107 s-crtS): Depend on tsystem.h.
8109 * crtstuff.c: Include tsystem.h.
8110 * frame.c: Likewise.
8111 * libgcc2.c: Likewise.
8113 Tue Feb 1 19:53:27 CET 2000 Jan Hubicka <jh@suse.cz>
8115 * builtins.c (expand_builtin_memset): Expand for variable sized
8118 2000-02-01 David Billinghurst <David.Billinghurst@riotinto.com.au>
8120 * config/mips/iris6.h (SUBTARGET_ASM_SPEC) : Default ISA based
8123 Tue Feb 1 00:57:40 2000 Hans-Peter Nilsson <hp@bitrange.com>
8125 * dwarfout.c (SHORT_TYPE_SIZE): Correct default.
8127 * tm.texi (Type Layout): Correct entry for CHAR_TYPE_SIZE.
8129 2000-01-31 Chandra Chavva <cchavva@cygnus.com>
8131 * combine.c (try_combine) [HAVE_cc0]: Trying to check the missed
8132 case 3->2 combining (combining with splitting) in which 2 is CC0
8133 setter/user and 3 is user. The rest of cases 2->1 and 3->2 are
8134 checked at the begining of the function with the aid of calling
8135 function 'can_combine_p'.
8137 2000-01-31 Dave Brolley <brolley@redhat.com>
8139 * cccp.c (struct argdata): Redeclare 'newlines' field as 'int'.
8141 2000-01-31 Jason Merrill <jason@casey.cygnus.com>
8143 * jump.c (redirect_jump): Move a NOTE_INSN_FUNCTION_END to the
8146 2000-01-31 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
8148 * gansidecl.h (PROTO, VPROTO, PVPROTO): Delete macros.
8150 * sbitmap.h (sbitmap_first_set_bit, sbitmap_last_set_bit):
8153 2000-01-30 Zack Weinberg <zack@wolery.cumb.org>
8155 * i386/386bsd.h, i386/beos-pe.h, i386/bsd386.h, i386/crtdll.h,
8156 i386/cygwin.h, i386/dgux.h, i386/djgpp-rtems.h, i386/djgpp.h,
8157 i386/freebsd.h, i386/gnu.h, i386/i386-aout.h, i386/i386-coff.h,
8158 i386/i386-interix.h, i386/i386elf.h, i386/linux.h, i386/lynx-ng.h,
8159 i386/lynx.h, i386/mach.h, i386/mingw32.h, i386/moss.h,
8160 i386/netbsd.h, i386/next.h, i386/openbsd.h, i386/osf1elf.h,
8161 i386/ptx4-i.h, i386/rtems.h, i386/rtemself.h, i386/sco.h,
8162 i386/sequent.h, i386/sun.h, i386/sysv4.h, i386/uwin.h, i386/vsta.h,
8163 i386/vxi386.h, i386/win-nt.h, i386/win32.h:
8164 Remove -Di386 -Acpu(i386) -Amachine(i386) from CPP_PREDEFINES.
8166 * i386/osf1elf.h, i386/scodbx.h, i386/seq-sysv3.h, i386/sysv5.h:
8167 Add %(cpp_cpu) to CPP_SPEC.
8169 * i386/osf1elf.h, i386/osfelf.h, i386/osfrose.h:
8170 Add %(cc1_cpu) to CC1_SPEC.
8172 2000-01-28 Ulrich Drepper <drepper@redhat.com>
8174 * c-decl.c (c_decode_option): Accept optional numeric argument to
8175 -Wformat and set warn_format.
8176 * c-common.c: Don't emit warning about non-constant printf format
8177 string unless warn_format > 1.
8179 2000-01-30 Richard Henderson <rth@cygnus.com>
8181 * alpha.md (return_internal): Allow after reload only.
8183 2000-01-30 Richard Henderson <rth@cygnus.com>
8185 * i386.c (ix86_compute_frame_size): Omit padding1 if the
8186 local frame size is zero.
8188 2000-01-30 Richard Henderson <rth@cygnus.com>
8190 * alpha.c (alpha_expand_epilogue): Don't emit the return insn.
8191 * alpha.h (EPILOGUE_USES): New. Mark $26 live.
8192 * alpha.md (return): Turn into an expander.
8193 (return_internal): Don't use $26.
8194 (epilogue): Emit the return insn.
8196 2000-01-30 Richard Henderson <rth@cygnus.com>
8198 * alpha.md (negtf2, abstf2): Fix word order thinko.
8200 (trunctfsf2): Avoid intermediate rounding errors.
8202 2000-01-30 Zack Weinberg <zack@wolery.cumb.org>
8204 * cppfiles.c (find_position): Drop 'colp' argument, return the
8206 (read_and_prescan): Adjust to match. Don't ever manipulate
8207 line or line_base except via find_position.
8209 2000-01-29 Zack Weinberg <zack@wolery.cumb.org>
8211 * c-parse.in: Apply Ulrich's changes from c-parse.y.
8212 * c-parse.y, objc/objc-parse.y, c-parse.c, objc/objc-parse.c:
8215 2000-01-29 Zack Weinberg <zack@wolery.cumb.org>
8217 * cpperror.c (cpp_file_line_for_message): If 'line' is zero,
8218 just print "<command line>". If 'filename' is null or an
8219 empty string, print "<stdin>" for the filename.
8220 * cpplib.c (do_define): Don't print the 'location of the
8221 previous definition' message if we're still parsing the
8223 (cpp_pedwarn_with_file_and_line): Always call
8224 cpp_file_line_for_message.
8226 2000-01-29 Mark Mitchell <mark@codesourcery.com>
8228 * flow.c (mark_regs_live_at_end): Fix typo.
8230 2000-01-28 Ulrich Drepper <drepper@redhat.com>
8232 * c-common.c: Adjust variable names, comments, help strings to c99.
8233 * c-lex.c: Likewise.
8234 * c-parse.y: Likewise.
8235 * c-tree.h: Likewise.
8237 * cpplib.h: Likewise.
8238 * c-decl.c: Likewise. Recognize options with names "*99" as well.
8239 * cppinit.c: Likewise.
8241 2000-01-29 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
8243 * c4x.h (INIT_TARGET_OPTABS): Add all missing local optab entries.
8244 * c4x.c: Define the optab rtx values.
8245 (c4x_add_gc_roots): Add the ggc roots for these optab rtx values.
8246 (c4x_emit_libcall): Use new optab rtx values.
8247 (c4x_emit_libcall3): Likewise.
8248 (c4x_emit_libcall_mulhi): Likewise.
8249 * c4x-protos.h: Add prototypes for optab rtx values and change
8250 prototypes for above c4x_emit_libcall functions.
8252 2000-01-29 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
8254 * c4x.c (c4x_output_ascii): Restrict line length of output when TI
8256 (c4x_function_prologue): Use regnames intead of float_reg_names when
8258 (c4x_function_epilogue): Likewise.
8259 (c4x_print_operand): Likewise.
8260 * c4x.h (HOST_WIDE_INT_PRINT_HEX): Redefine.
8261 * c4x.md (set_high): Disable for TARGET_TI.
8263 2000-01-29 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
8265 * c4x.h (PREFERRED_RELOAD_CLASS): Change to restrict the reloading
8266 of framepointer + constant to ADDR_REGS class.
8267 * c4x.md (addqi3, addqi3_noclobber_reload): Update.
8268 * c4x.c (std_or_reg_operand): New function.
8269 * c4x-protos.h (std_or_reg_operand): Prototype it.
8271 2000-01-29 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
8273 * t-c4x: Change qi,qf,di,df into si,sf,hi,hf to generate same
8274 object names as libgcc2.c.
8275 * libgcc.S: Use newly defined names.
8277 Fri Jan 7 19:48:04 CET 2000 Jan Hubicka <jh@suse.cz>
8278 * sbitmap.c (sbitmap_first_set_bit, sbitmap_last_set_bit): New
8280 * sbitmap.h (sbitmap_first_set_bit, sbitmap_last_set_bit): Declare.
8281 * basic_block.h (FLOW_LOOP_FIRST_BLOCK): New macro.
8282 (FLOW_LOOP_LAST_BLOCK): Likewise.
8284 2000-01-21 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
8286 * basic-block.h (struct loop): New fields 'first' and 'last'.
8287 * flow.c (flow_loops_find): Compute loop->first and loop->last.
8288 (flow_loops_dump): Use loop->first to check for NOTE_INSN_LOOP_BEG
8289 and loop->last to check for NOTE_INSN_LOOP_END.
8291 Fri Jan 28 10:57:58 2000 Jason Eckhardt <jle@cygnus.com>
8293 * predict.c (estimate_probability): Use the new FIRST and LAST fields
8294 of the loop descriptor rather than HEADER and LATCH. Also added
8295 missing break statements as well making some coding style modifications
8296 as suggested by Michael Hayes.
8298 2000-01-28 Richard Henderson <rth@cygnus.com>
8300 * flow.c (find_basic_blocks): Remove do_cleanup argument.
8301 Break out that code ...
8302 (cleanup_cfg): ... here.
8303 (commit_one_edge_insertion): Detect a return instruction being
8304 emitted to an edge. Emit a barrier following; clear fallthru.
8305 (commit_edge_insertions): Verify CFG consistency.
8306 * function.c (expand_function_start): Kill unused variable.
8307 (expand_function_end): Likewise.
8308 (thread_prologue_and_epilogue_insns): Use insert_insn_on_edge
8309 to insert the epilogue.
8311 * gcse.c (gcse_main): Adjust for find_basic_blocks change.
8312 (delete_null_pointer_checks): Likewise.
8313 * output.h: Likewise.
8314 * reg-stack.c (reg_to_stack): Likewise.
8315 * toplev.c (rest_of_compilation): Likewise. Run
8316 thread_prologue_and_epilogue_insns after rebuilding the CFG.
8318 2000-01-28 Richard Henderson <rth@cygnus.com>
8320 * Makefile.in (flow.o): Revert 24 Jan change.
8321 * flow.c (mark_regs_live_at_end): Likewise. Force BLKmode
8322 FUNCTION_VALUE result to DECL_RESULT's mode.
8324 * haifa-sched.c (schedule_insns): Don't recompute reg info
8327 2000-01-28 Zack Weinberg <zack@wolery.cumb.org>
8329 * configure.in: Make --enable-cpplib the default.
8330 * configure: Regenerate.
8331 * gcc.dg/990119-1.c: No longer expected to fail.
8333 2000-01-28 Bernd Schmidt <bernds@cygnus.co.uk>
8335 * jump.c (jump_optimize_1): Delete an optimization that is also done
8336 by merge_blocks in flow.
8338 2000-01-28 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
8340 * diagnostic.c (build_message_string, output_printf,
8341 line_wrapper_printf): Add ATTRIBUTE_PRINTF_*.
8342 (build_location_prefix): Fix non-literal format string.
8344 2000-01-27 Richard Henderson <rth@cygnus.com>
8346 * alpha.md (trunctfsf2): New.
8348 2000-01-27 Andrew Hobson <ahobson@eng.mindspring.net>
8350 * configure.in (alpha-dec-osf5): Enable MASK_SUPPORT_ARCH.
8352 2000-01-27 Zack Weinberg <zack@wolery.cumb.org>
8354 * cppinit.c (cpp_handle_option): Recognize C++ comments under
8356 * cpplib.c (skip_block_comment, skip_line_comment): Split code
8358 (skip_comment) ... here. Permit C++ comments in system
8359 headers always. Warn about C++ comments in user code under
8360 -std=gnu89 -pedantic.
8361 (copy_comment): Use skip_comment.
8362 (cpp_skip_hspace, cpp_get_token): skip_comment can no longer
8364 (consider_directive_while_skipping, do_else, do_endif): Call
8365 validate_else unconditionally.
8366 (validate_else): Check CPP_PEDANTIC here. Accept non-comment
8367 text after the conditional in a system header.
8368 * cpplib.h (struct cpp_buffer): Add flag
8369 warned_cplusplus_comments.
8371 2000-01-27 Geoffrey Keating <geoffk@cygnus.com>
8373 * emit-rtl.c (unshare_all_rtl): Unshare virtual parameters too.
8374 Use unshare_all_rtl_1.
8375 (unshare_all_rtl_again): New function.
8376 (unshare_all_rtl_1): New function split out of unshare_all_rtl.
8378 * function.c (purge_addressof_1): Use unshare_all_rtl_again
8379 rather than resetting the 'used' flags ourself.
8381 * toplev.c (rest_of_compilation): Add current_function_decl
8382 to the unshare_all_rtl call.
8383 * tree.h: Prototype unshare_all_rtl.
8384 * rtl.h: Prototype unshare_all_rtl_again here.
8386 2000-01-27 Geoffrey Keating <geoffk@cygnus.com>
8388 * genoutput.c (output_prologue): Include ggc.h in generated
8390 * Makefile.in (insn-output.o): Depends on ggc.h.
8392 2000-01-27 Ian Dall <ian@sibyl.beware.dropbear.id.au>
8393 Hans-Peter Nilsson <hp@bitrange.com>
8395 * ns32k/xm-ns32k.h (memcpy, memset, memcmp): Delete.
8396 Remove redundant include of xm-ns32k.h.
8397 * ns32k/xm-genix.h (memcpy, memset, memcmp): Add definitions.
8398 Remove redundant include of xm-ns32k.h.
8399 * ns32k/xm-netbsd.h (memcpy, memset, memcmp): No longer undefine.
8400 Remove redundant include of xm-ns32k.h.
8401 * ns32k/netbsd.h (TARGET_DEFAULT): Enable multiply-add instructions.
8403 * ns32k/ns32k.h: Update comment on multiply-add instructions.
8404 (TARGET_SWITCHES): Add documentation strings.
8405 (DWARF_FRAME_REGNUM): Override default definition.
8406 (REG_CLASS_CONTENTS): Add comments.
8407 (SUBSET_P): Format to reduce line length.
8408 (SMALL_REGISTER_CLASSES): Make a run time option.
8409 (GO_IF_NONINDEXED_ADDRESS): Reformat.
8410 (GO_IF_LEGITIMATE_ADDRESS): Ensure that cfun is non NULL before
8411 dereferencing it. Braces to avoid "ambiguous else" were misplaced.
8412 (regclass_map): fix typo in comment.
8413 * ns32k/ns32k.c: Add spaces before parentheses for consistant style.
8414 Prefer gen_rtx_FOO(...) to gen_rtx(FOO,...).
8415 (trace, reg_or_mem_operand): Delete, unused function.
8416 (calc_address_cost): Small offsets are cheaper than large ones.
8417 (expand_block_move): Generate more efficient code when bytes is a
8418 known at compile time.
8419 * ns32k/ns32k.md: Alternate constraints for multiply-add instructions.
8420 (udivmodsi4, udivmodhi4, udivmodqi4): Use nonimmediate_operand
8421 instead of reg_or_mem_operand.
8423 * ns32k/ns32k.md: Use nonimmediate_operand or stricter for outputs,
8424 not general_operand. Similarly use "=rm" or stricter, not "=g".
8425 For input operands, use stricter constraints than "g" if not
8426 general_operand. Similarly use stricter predicate than
8427 "general_operand" when stricter constraints than "g" are present,
8428 except for matching constraints.
8429 (movstrsi): Use "memory_operand" for operands 0 and 1.
8430 (truncsiqi2, truncsihi2, trunchiqi2): Remove.
8431 (udivmoddisi4_internal): Use nonimmediate_operand for operand 0,
8432 not reg_or_mem_operand.
8433 (udivmoddisi4): Ditto.
8434 Use nonimmediate_operand for operand 1, not reg_or_mem_operand.
8435 Use nonimmediate_operand for operand 3, not register_operand.
8436 (udivmoddiqi4_internal): Use register_operand for operand 1, not
8439 2000-01-27 Fred Fish <fnf@be.com>
8441 * gthr-posix.h: Fix typo; compatibily -> compatibility.
8442 * gthr-single.h: Likewise.
8443 * gthr-solaris.h: Likewise.
8444 * gthr-vxworks.h: Likewise.
8445 * gthr-win32.h: Likewise.
8448 2000-01-27 Zack Weinberg <zack@wolery.cumb.org>
8450 * cppinit.c: Add " (cpplib)" to end of string printed by
8453 2000-01-27 Richard Henderson <rth@cygnus.com>
8455 * alpha.c (alpha_emit_conditional_move): Use VOIDmode when
8456 testing for a signed comparison.
8457 (alpha_emit_floatuns): New.
8458 * alpha-protos.h: Declare it.
8459 * alpha.md (floatunsdisf2, floatunsdidf2): New.
8460 (extendsfdf2): Tidy.
8462 2000-01-27 Jakub Jelinek <jakub@redhat.com>
8464 * config/sparc/linux64.h (CC1_SPEC): If compiling -m32 with -g but
8465 no -g option specifying debugging format, default to -gstabs+.
8467 Wed Jan 26 22:19:14 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
8469 * calls.c (special_function_p): New argument fork_or_exec.
8470 (expand_call): When profile_arc_flag is set and the function
8471 is in the fork_or_exec group, call __bb_fork_func first.
8472 * libgcc2.c, _bb module (__bb_fork_func): New function.
8473 (__bb_exit_func): If fcntl F_SETLKW is available, use it to lock
8475 * config/svr4.h (TARGET_HAS_F_SETLKW): Define.
8476 * tree.h (special_function_p): Update prototype.
8478 2000-01-26 Richard Henderson <rth@cygnus.com>
8480 * alpha.c (alpha_split_tfmode_pair): New.
8481 * alpha-protos.h: Declare it.
8482 * alpha.md (abstf2, negtf2): New.
8483 (movtf insn): Add input G constraint.
8484 (movtf splitter): Use alpha_split_tfmode_pair.
8486 2000-01-26 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
8488 * i386/cygwin.h: PROTO -> PARAMS.
8490 2000-01-26 Jakub Jelinek <jakub@redhat.com>
8492 * config/sparc/sparc.c (sparc_emit_float_lib_cmp): Handle
8493 TARGET_ARCH32 again. Handle ORDERED, UN* and LTGT comparisons
8494 using _Qp_cmp/_Q_cmp and testing the return value.
8495 (print_operand): Call reverse_condition_maybe_unordered if
8496 we are handling CCFPmode or CCFPEmode.
8497 Handle ORDERED, UN* and LTGT comparisons.
8498 * config/sparc/sparc.md (cmptf): Use even on TARGET_ARCH32
8499 if not TARGET_HARD_QUAD.
8500 (seq, sne, sgt, slt, sge, sle, beq, bne, bgt, blt, bge, ble,
8501 bunordered, bordered, bungt, bunlt, buneq, bunge, bunle, bltgt):
8502 Call sparc_emit_float_lib_cmp even on TARGET_ARCH32.
8503 Adjust gen_b* calls so that they reflect return comparison of
8504 sparc_emit_float_lib_cmp.
8506 2000-01-26 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
8508 * config/alpha/alpha.c (alpha_emit_xfloating_cvt): Do not assume
8509 incoming operands array is large enough for one more operand.
8510 (alpha_emit_xfloating_arith): Likewise.
8512 2000-01-25 Zack Weinberg <zack@wolery.cumb.org>
8514 * fixinc/Makefile.in (machname.h): SunOS 4 sed can't handle a
8515 file with one line and no trailing newline.
8516 Patch by Kaveh Ghazi <ghazi@caip.rutgers.edu>.
8517 * fixinc/fixtests.c (machine_name_test): Fix fencepost error
8518 checking if the match is on the line.
8519 * fixinc/gnu-regex.c: Provide regerror not __regerror.
8521 2000-01-25 Richard Henderson <rth@cygnus.com>
8523 * sparc.c (output_cbranch): Fix accidental squashing of the
8524 fp branch pre-delay nop.
8526 2000-01-25 Richard Henderson <rth@cygnus.com>
8528 * tree.def (UNNE_EXPR): Remove.
8529 * c-typeck.c (build_binary_op): Don't handle it.
8530 * expr.c (expand_expr, do_jump, do_store_flag): Likewise.
8532 * rtl.def (UNNE): Remove.
8534 * jump.c (reverse_condition): Update accordingly.
8535 (swap_condition): Likewise.
8536 (comparison_dominates_p): Handle unordered comparisons.
8537 (reverse_condition_maybe_unordered): New.
8538 * rtl.h (reverse_condition_maybe_unordered): Declare.
8540 * sparc.c (select_cc_mode): Update for UNNE/LTGT.
8541 (output_cbranch): Use reverse_condition_maybe_unordered and LTGT.
8542 * sparc.h (REVERSIBLE_CC_MODE): Always true. Update docs.
8543 * sparc.md (bltgt): New.
8545 2000-01-25 Nick Clifton <nickc@redhat.com>
8547 * emit-rtl.c (emit_insn): Only check machine class insns for
8548 improper emission of a RETURN.
8550 2000-01-25 Richard Henderson <rth@cygnus.com>
8552 * Makefile.in (flow.o): Depend on $(EXPR_H).
8553 * flow.c (mark_regs_live_at_end): Use hard_function_value, i.e.
8554 duplicate the structure of diddle_return_value for keeping regs live.
8556 2000-01-26 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
8558 * loop.c (current_loop_info): Delete.
8559 (consec_sets_invariant_p): Add loop argument, update callers.
8560 (get_condition_for_loop): Likewise.
8561 (count_nonfixed_reads, update_giv_derive): Likewise.
8562 (simplify_giv_expr, general_induction_var): Likewise.
8563 (consec_sets_giv, recombine_givs): Likewise.
8564 (move_movables): Delete loop_start and loop_end arguments,
8565 add loop argument, and update callers.
8566 (find_mem_givs, check_final_value): Likewise.
8567 (record_giv, maybe_eliminate_biv, maybe_eliminate_biv_1): Likewise.
8568 (loop_invariant_p): Rename from invariant_p, add loop argument, and
8570 (basic_induction_var): Add loop argument, delete loop_level argument,
8572 * unroll.c (iteration_info): Delete loop_start and loop_end arguments,
8573 add loop argument, and update callers.
8574 (find_splittable_regs, find_splittable_givs): Likewise.
8575 (reg_dead_after_loop, loop_find_equiv_value): Likewise.
8576 (final_biv_value, final_giv_value, back_branch_in_range_p): Likewise.
8577 (biv_total_increment): Delete loop_start and loop_end arguments;
8579 (precondition_loop_p): Delete loop_start and loop_info arguments;
8581 * loop.h (get_condition_for_loop): Add loop argument.
8582 (biv_total_increment): Delete loop_start and loop_end arguments.
8583 (precondition_loop_p): Delete loop_start and loop_info arguments;
8585 (final_biv_value): Delete loop_start and loop_end arguments;
8587 (final_giv_value, back_branch_in_range_p): Likewise.
8589 2000-01-25 Gavin Romig-Koch <gavin@cygnus.com>
8591 * config/mips/mips.h (LEGITIMATE_CONSTANT_P): Fix for mips16.
8593 2000-01-25 Gavin Romig-Koch <gavin@cygnus.com>
8595 * Makefile.in (c-gperf.h) : Change the "See" pointer to
8596 point to the new "generated_files" doc.
8598 2000-01-25 Clinton Popetz <cpopetz@cygnus.com>
8600 * config/fp-bit.c (_unord_f2): Fix typo.
8602 2000-01-25 Zack Weinberg <zack@wolery.cumb.org>
8604 * c-common.c, c-decl.c, c-lang.c, c-lex.c, c-parse.in, c-pragma.c,
8605 c-typeck.c, objc/objc-act.c: Remove all references to obstack
8606 functions obsoleted by GC, such as push_obstacks_nochange,
8607 end_temporary_allocation, savealloc, saveable_tree_cons, etc.
8608 and code which existed only to decide whether or not to call
8609 them. Remove now-unused NESTED argument from start_function;
8610 all callers changed. Do not change behavior based on ggc_p.
8611 The use of the ixp_obstack in c-iterate.c and the util_obstack
8612 in objc/objc-act.c remain; these are not obsoleted by garbage
8614 * c-tree.h: Update prototype for start_function.
8616 * c-parse.y, c-parse.c, objc/objc-parse.c, objc/objc-parse.y: Rebuild.
8618 2000-01-25 Clinton Popetz <cpopetz@cygnus.com>
8620 * config/mips/mips.md (zero_extendsidi2_internal): Disable for
8623 2000-01-25 Richard Henderson <rth@cygnus.com>
8625 * sparc-protos.h (select_cc_mode): Declare.
8626 * sparc.c (select_cc_mode): New. Handle unordered compares.
8627 (output_cbranch): Always reverse via code change. Handle
8628 unordered compares. Factor tests and string updates.
8629 * sparc.h (SELECT_CC_MODE): Split out to select_cc_mode.
8630 (REVERSIBLE_CC_MODE): Also exclude CCFPmode.
8631 * sparc.md (bunordered, bordered): New.
8632 (bungt, bunlt, buneq, bunge, bunle): New.
8634 2000-01-25 Richard Henderson <rth@cygnus.com>
8636 * dwarf2out.c (dwarf2out_init): Use ggc_add_rtx_varray_root.
8637 * ggc-common.c (ggc_add_rtx_varray_root): New.
8638 (ggc_mark_rtx_varray): New.
8639 (ggc_mark_rtx_varray_ptr): New. Shift all ggc_mark_foo_ptr
8640 functions down below ggc_mark_foo.
8641 * ggc.h (ggc_add_rtx_varray_root, ggc_mark_rtx_varray): Declare.
8643 2000-01-25 Richard Henderson <rth@cygnus.com>
8645 * alpha.c (secondary_reload_class): Don't allocate a secondary
8646 for integral mode memories into FLOAT_REGS. Rearrange the more
8647 complicated memory expression inward.
8649 2000-01-25 Zack Weinberg <zack@wolery.cumb.org>
8651 * inclhack.def: Fixes to play nicer with FreeBSD, and
8652 corrections to comments.
8653 (cxx_unready): Add select expression.
8654 (irix_sockaddr): Add bypass expression.
8655 (machine_ansi_h_va_list): New fix.
8656 (stdio_va_list): No need to edit _BSD_VA_LIST_.
8657 Split out addition of "#include <stdarg.h>" to...
8658 (stdio_stdarg_h): ... here.
8659 (systypes_for_aix): Rename to systypes_stdlib_size_t. Apply
8660 to stdlib.h also. Do not munge _BSD_SIZE_T_.
8661 (sysz_stdlib_for_sun): Delete duplicate fix for unprotected
8663 (ultrix_ifdef): Tighten up select expression.
8665 * fixincl.tpl: Exorcise 'exesel'. Rewrite calculations of
8666 re_ct and max_mach to avoid use of shell. Make printed names
8667 match names in inclhack.def. Use static copyright date.
8668 Don't count c_test and test expressions as requiring regex_t
8669 slots. Add some commentary.
8670 * inclhack.tpl: Do not include the 'This script contains N
8671 fixup scripts' line if PROGRAM is defined. Use static
8674 2000-01-24 Jason Merrill <jason@casey.cygnus.com>
8676 * dwarf2out.c: include "varray.h", not dyn-string.h.
8677 (ASM_OUTPUT_DWARF2_ADDR_CONST, ASM_NAME_TO_STRING): Lose.
8678 (addr_const_to_string, addr_to_string): Lose.
8679 (ASM_OUTPUT_DWARF_ADDR_CONST): Copy from dwarfout.c.
8680 (struct dw_val_struct): val_addr is now an rtx.
8681 (add_AT_addr, AT_addr, free_AT, output_aranges): Adjust.
8682 (used_rtx_varray): New varray.
8683 (dwarf2out_init): Initialize it.
8685 (mem_loc_descriptor, add_const_value_attribute): Call it instead of
8687 * arm/telf.h, arm/unknown-elf.h, mn10200.h, mn10300.h,
8688 sparc/sp64-elf.h: Remove definition of ASM_OUTPUT_DWARF2_ADDR_CONST.
8689 * Makefile.in (dwarf2out.o): Update dependencies.
8691 2000-01-24 Richard Henderson <rth@cygnus.com>
8693 * i386.c (i386_dwarf_output_addr_const): New.
8694 * i386.h (ASM_OUTPUT_DWARF_ADDR_CONST): New.
8696 * dwarf2out.c (mem_loc_descriptor): Call ASM_SIMPLIFY_DWARF_ADDR
8698 * dwarfout.c (output_mem_loc_descriptor): Likewise.
8699 * i386.c (i386_simplify_dwarf_addr): New.
8700 * i386.h (ASM_SIMPLIFY_DWARF_ADDR): New.
8702 Mon Jan 24 16:56:10 2000 Jim Wilson <wilson@cygnus.com>
8704 * dwarf2out.c (gen_struct_or_union_type_die): Set complete if
8705 TYPE_STUB_DECL is NULL.
8707 2000-01-24 Richard Henderson <rth@cygnus.com>
8709 * builtins.c (expand_tree_builtin): Move ...
8710 * c-common.c (expand_tree_builtin): ... here.
8712 2000-01-25 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
8714 * loop.h (LOOP_INFO): New accessor macro.
8715 * basic-block.h (struct loop): Rename field `info' to `aux'.
8716 * loop.c (scan_loop): Replace loop->info with LOOP_INFO (loop).
8717 (prescan_loop, strength_reduce, check_dbra_loop, insert_bct): Likewise.
8718 * unroll.c (loop_iterations, unroll_loop): Likewise.
8720 2000-01-24 Christopher Faylor <cgf@cygnus.com>
8722 * config/i386/t-cygwin: Accomodate new winsup directory layout
8723 when searching for include files.
8725 2000-01-24 Richard Henderson <rth@cygnus.com>
8727 * rtl.def: Add unordered fp comparisions.
8728 * tree.def: Likewise.
8729 * tree.h: Add ISO C 9x unordered fp comparision builtins.
8731 * builtins.c (expand_tree_builtin): New function.
8732 * c-typeck.c (build_function_call): Use it.
8733 (build_binary_op): Support unordered compares.
8734 * c-common.c (c_common_nodes_and_builtins): Add unordered compares.
8736 * combine.c (known_cond): Handle reverse_condition returning UNKNOWN.
8737 (reversible_comparison_p): Allow UNORDERED/ORDERED to be reversed.
8738 * cse.c (fold_rtx): Check FLOAT_MODE_P before reversing.
8739 (record_jump_equiv): Handle reverse_condition returning UNKNOWN.
8740 * jump.c (reverse_condition): Don't abort for UNLE etc, but
8742 (swap_condition): Handle unordered compares.
8743 (thread_jumps): Check can_reverse before reversing.
8744 * loop.c (get_condition): Likewise. Allow UNORERED/ORDERED to be
8747 * optabs.c (can_compare_p): New argument CODE. Verify branch or
8748 setcc is present before acking for cmp_optab. Update all callers.
8749 (prepare_float_lib_cmp, init_optabs): Handle UNORDERED.
8750 * expmed.c (do_cmp_and_jump): Update for can_compare_p.
8751 * expr.c (expand_expr): Likewise. Support unordered compares.
8752 (do_jump, do_store_flag): Likewise.
8753 * expr.h (enum libfunc_index): Add unordered compares.
8755 * Makefile.in (FPBIT_FUNCS): Add _unord_sf.
8756 (DPBIT_FUNCS): Add _unord_df.
8757 * config/fp-bit.c (_unord_f2): New.
8758 * fp-test.c (main): Try unordered compare builtins.
8760 * alpha-protos.h (alpha_fp_comparison_operator): Declare.
8761 * alpha.c (alpha_comparison_operator): Check mode properly.
8762 (alpha_swapped_comparison_operator): Likewise.
8763 (signed_comparison_operator): Likewise.
8764 (alpha_fp_comparison_operator): New.
8765 (alpha_emit_conditional_branch): Handle unordered compares.
8766 * alpha.h (PREDICATE_CODES): Update.
8767 * alpha.md (fp compares): Use alpha_fp_comparison_operator.
8768 (bunordered, bordered): New.
8770 2000-01-24 Richard Henderson <rth@cygnus.com>
8772 * alpha.c (alpha_emit_xfloating_cvt): Thinko in operand manipulation.
8773 * alpha.md (movtf): New expander, insn, and splitter.
8775 Mon Jan 24 19:49:47 MET 2000 Jan Hubicka <jh@suse.cz>
8777 * reg-stack.c (subst_stack_regs_pat): Handle correctly USEs of
8780 Mon Jan 24 17:37:31 MET 2000 Jan Hubicka <jh@suse.cz>
8782 * i386.h (FIRST_PSEUDO_REGISTER): Set to 21.
8783 (FIXED_REGISTERS, CALL_USED_REGISTERS,
8784 REG_ALLOC_ORDER): Add frame pointer
8785 (FRAME_POINTER_REGNUM): Set to 20
8786 (HARD_FRAME_POINTER_REGNUM): New macro.
8787 (ELIMINABLE_REGS): Eliminate ARG_POINTER and FRAME_POINTER
8788 to HARD_FRAME_POINTER.
8789 (REGNO_OK_FOR_BASE_P): Accept FRAME_POINTER_REGNUM
8790 (REG_OK_FOR_INDEX_NONSTRICT_P): Likewise.
8791 (REG_OK_FOR_BASE_NONSTRICT_P): Likewise.
8792 (HI_REGISTER_NAMES): Add "frame".
8793 (CAN_ELIMINATE): Handle FRAME_POINTER_REGNUM elimination.
8794 (debug_reg): Handle FRAME_POINTER_REGNUM.
8795 (reg_class): Add arg pointer and frame pointer to NON_Q_REGS,
8796 GENERAL_REGS and INDEX_REGS.
8797 * i386.c (SAVED_REGS_FIRST): new macro.
8798 (AT_BP): Use hard_frame_pointer_rtx instead of frame_pointer_rtx
8799 (ix86_decompose_address, memory_address_length): Likewise.
8800 (regclass_map): Add frame pointer.
8801 (call_insn_operand): Handle frame_pointer_rtx.
8802 (reg_no_sp_operand): Likewise.
8803 (ix86_decompose_address): Handle frame_pointer_rtx as stack_pointer_rtx.
8804 (print_operand, legitimize_pic_address): Fix formating.
8805 (ix86_compute_frame_size): Make static, update prototype, new
8806 parameters padding1, padding2, use ix86_nsaved_regs, use
8807 stack_alignment_needed.
8808 (ix86_initial_elimination_offset): Handle FRAME_POINTER_REGNUM
8809 to HARD_FRAME_POINTER_REGNUM conversions.
8810 (ix86_expand_prologue): Handle SAVED_REGS_FIRST prologues.
8811 (ix86_expand_epilogue): Handle SAVED_REGS_FIRST epilogues.
8812 (print_reg): Abort on FRAME_POINTER_REGNUM
8814 Mon Jan 24 16:50:08 MET 2000 Jan Hubicka <jh@suse.cz>
8816 * i386.h (PREDICATE_CODES): Add aligned_operand.
8817 * i386.c (aligned_operand): New function.
8818 (ix86_aligned_p): Kill.
8819 * i386.md (movhi_1): Emit mov for aligned operands.
8820 (promoting peep2s): Use aligned_operand.
8822 2000-01-23 Zack Weinberg <zack@wolery.cumb.org>
8824 * fixinc/fixfixes.c (fix_char_macro_uses): Correct regular
8825 expression to allow underscores in macro names.
8826 (fix_char_macro_defines): Increment scanning pointer.
8828 2000-01-23 Richard Henderson <rth@cygnus.com>
8830 * alpha/osf.h (TARGET_HAS_XFLOATING_LIBS): Define.
8831 * alpha/osf5.h: New file.
8832 * configure.in (alpha-*-osf5): Add it to tm_file.
8834 * emit-rtl.c (operand_subword): Support TFmode on a 64-bit target.
8836 * alpha-protos.h (alpha_emit_xfloating_arith): Declare.
8837 (alpha_emit_xfloating_cvt, function_arg): Declare.
8838 * alpha.c (alpha_emit_conditional_branch): Call
8839 alpha_emit_xfloating_compare for TFmode compares.
8840 (alpha_lookup_xfloating_lib_func): New.
8841 (alpha_compute_xfloating_mode_arg): New.
8842 (alpha_emit_xfloating_libcall): New.
8843 (alpha_emit_xfloating_arith): New.
8844 (alpha_emit_xfloating_compare): New.
8845 (alpha_emit_xfloating_cvt): New.
8846 (print_operand): Add default abort case.
8847 (function_arg): Mind FUNCTION_ARG_PASS_BY_REFERENCE.
8848 * alpha.h (TARGET_HAS_XFLOATING_LIBS): New.
8849 (BIGGEST_ALIGNMENT): Increase to 128 bits.
8850 (RETURN_IN_MEMORY): True for TF/TCmode.
8851 (ALPHA_ARG_SIZE): TF/TCmode is passed indirect.
8852 (FUNCTION_ARG): Move to function_arg.
8853 (FUNCTION_ARG_PASS_BY_REFERENCE): New.
8854 (ASM_OUTPUT_LONG_DOUBLE): New.
8855 (ASM_OUTPUT_DOUBLE): Always output bits.
8856 * alpha.md (addtf3, divtf3, multf3, subtf3, cmptf): New.
8857 (fix_trunctfdi2, floatditf2, floatunsditf2): New.
8858 (extenddftf2, trunctfdf2): New.
8860 2000-01-23 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
8862 * config/sparc/sol2-sld-64.h (TRANSFER_FROM_TRAMPOLINE): Moved...
8863 * config/sparc/sol2.h: ... here.
8865 2000-01-24 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
8867 * basic-block.h (struct loops): New field `levels'.
8868 * flow.c (flow_loops_level_compute): Traverse all outer loops.
8869 (flow_loop_level_compute): Initialise level to 1.
8870 (flow_loops_find): Set loops->levels.
8871 (flow_loops_dump): Print loops->levels.
8873 2000-01-23 Richard Henderson <rth@cygnus.com>
8875 * libgcc2.c (dwarf_reg_size_table): Size with DWARF_FRAME_REGISTERS.
8876 (throw_helper): Iterate over DWARF_FRAME_REGISTERS.
8878 2000-01-23 Richard Henderson <rth@cygnus.com>
8880 * i386.c (dbx_register_map, svr4_dbx_register_map): New.
8881 * i386.h (DBX_REGISTER_NUMBER): Use them.
8882 * i386/beos-elf.h, i386/freebsd-elf.h, i386/i386elf.h: Likewise.
8883 * i386/linux.h, i386/osfrose.h, i386/ptx4-i.h: Likewise.
8884 * i386/rtemself.h, i386/sco5.h, i386/sysv4.h: Likewise.
8885 * i386/sequent.h: Kill incorrect comment.
8887 2000-01-23 Mark Mitchell <mark@codesourcery.com>
8889 * ggc-page.c (struct page_entry): Make `context_depth' an
8891 (struct globals): Likewise.
8893 2000-01-23 Clinton Popetz <cpopetz@cygnus.com>
8895 * loop.c (check_dbra_loop): When checking a loop for
8896 reversability, check the source of any stores to ensure
8897 they don't depend on an initial value.
8899 2000-01-23 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
8901 * config/c4x/c4x.h (ASM_OUTPUT_BSS): Redefine.
8903 2000-01-22 Zack Weinberg <zack@wolery.cumb.org>
8905 * fixinc/fixincl.c: Move declarations of 'pz_fname' and
8906 'pz_scan' into scope of entire function. Only affects
8907 compiles with -DDEBUG.
8909 2000-01-22 Alan Modra <alan@SPRI.Levels.UniSA.Edu.Au>
8911 * config/elfos.h (UNIQUE_SECTION): Restore uninitialised data
8912 section naming to that prior to 2000-01-07 patch.
8913 * config/mips/elf.h (UNIQUE_SECTION): Ditto.
8914 * config/mips/elf64.h (UNIQUE_SECTION): Ditto.
8915 * config/mips/iris6gld.h (UNIQUE_SECTION): Ditto.
8916 * config/i386/interix.c (UNIQUE_SECTION): Ditto.
8917 * config/i386/winnt.c (UNIQUE_SECTION): Ditto.
8919 2000-01-22 Bernd Schmidt <bernds@cygnus.co.uk>
8921 * config/arm/arm.c (soft_df_operand): Reject SUBREGs containing a
8924 2000-01-21 Jim Wilson <wilson@cygnus.com>
8926 * fixinc/inclhack.tpl: Test for directory before trying to cd into it.
8927 * fixinc/fixincl.sh, fixinc/inclhack.sh: Regenerate.
8929 2000-01-21 Zack Weinberg <zack@wolery.cumb.org>
8931 * cpphash.c (change_newlines): Delete function.
8932 (struct argdata): Delete 'newlines' and 'use_count' fields.
8933 (macroexpand): Remove code referencing those fields.
8935 2000-01-22 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
8937 * loop.c (loops_info): New variable.
8938 (loop_optimize): Allocate loops->array and free it on exit.
8939 Allocate memory for loops_info and assign to each loop,
8941 (find_and_verify_loops): Do not allocate loops->array.
8943 2000-01-21 Zack Weinberg <zack@wolery.cumb.org>
8945 * fixinc/fixfixes.c (machine_name_fix): Don't free 'scratch'.
8947 2000-01-21 Jakub Jelinek <jakub@redhat.com>
8949 * config/sparc/sparc.md (movsi_pic_label_ref): Avoid creating new
8950 pseudos if expanded after first flow.
8951 (movdi_pic_label_ref): Likewise.
8953 2000-01-20 Richard Henderson <rth@cygnus.com>
8955 * jump.c (jump_optimize_1): Don't do addr_vec optimizations at -O0.
8957 2000-01-20 Zack Weinberg <zack@wolery.cumb.org>
8959 * Makefile.in (fixinc.sh): Depend on specs.
8960 * fixinc/Makefile.in: Add rule to create machname.h.
8961 (fixlib.o): Depend on machname.h.
8962 * fixinc/fixtests.c (machine_name): New test.
8963 * fixinc/fixfixes.c (machine_name): New fix.
8964 * fixinc/fixlib.c (mn_get_regexps): New helper function for
8965 the machine_name test and fix.
8966 * fixinc/fixlib.h: Prototype it.
8967 * fixinc/inclhack.def (machine_name): Use the C test and fix.
8968 * fixinc/fixincl.x, fixinc/inclhack.sh: Rebuild.
8970 * gcc.c (do_spec_1) [case P]: Take care not to create
8971 identifiers with three leading or trailing underscores.
8973 * fixinc/Makefile.in (FIXINC_DEFS): Add -DIN_GCC.
8974 (fixincl): Don't specify libraries twice on link line.
8975 (gnu-regex.o): Remove special rule.
8976 * fixinc/gnu-regex.c: Define REGEX_MALLOC if C_ALLOCA was
8977 defined by config.h. Do not define _REGEX_RE_COMP.
8978 (regcomp): Allocate and initialize a fastmap.
8979 * fixinc/gnu-regex.h: Do not define _REGEX_RE_COMP.
8981 2000-01-20 Brad Lucier <lucier@math.purdue.edu>
8983 * Makefile.in (predict.o): Depend on $(EXPR_H), not expr.h.
8985 2000-01-19 Richard Henderson <rth@cygnus.com>
8987 * flow.c (propagate_block): Replace FIRST, LAST and BNUM
8988 arguments with BB. Update all callers. Tidy line wrapping.
8990 2000-01-19 Clinton Popetz <cpopetz@cygnus.com>
8992 * emit-rtl.c (try_split): Return last_insn if we split the
8995 Thu Jan 20 01:01:23 MET 2000 Jan Hubicka <jh@suse.cz>
8997 * i386-protos.h (ix86_compute_frame_size): Remove prototype.
8998 (ix86_initial_elimination_offset): Declare.
8999 * i386.c (ix86_nsaved_regs): Break out from ...
9000 (ix86_can_use_return_insn_p): ... here.
9001 (ix86_emit_save_regs): Break out from ...
9002 (ix86_expand_prologue): ... here.
9003 (ix86_emit_epilogue_esp_adjustment, ix86_emit_restore_regs): Break
9005 (ix86_expand_epilogue): ... here.
9006 (ix86_compute_frame_size): Make static, add prototype.
9007 (ix86_initial_elimination_offset): Break out from ...
9008 * i386.h (INITIAL_ELIMINATION_OFFSET): ... here.
9010 2000-01-19 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
9012 * recog.h (OUT_FCN): Delete.
9014 * vax.md: Call `get_insn_template' instead of OUT_FCN.
9016 2000-01-19 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
9018 * cppalloc.c: PROTO -> PARAMS.
9019 * cpperror.c: Likewise.
9020 * cppfiles.c: Likewise.
9021 * cpplib.c: Likewise.
9022 * cpplib.h: Likewise.
9024 * config/arm/arm-protos.h: PROTO -> PARAMS.
9025 * config/arm/arm.c: Likewise.
9026 * config/c4x/c4x.c: Likewise.
9027 * config/fr30/fr30-protos.h: Likewise.
9028 * config/nextstep.c: Likewise.
9029 * config/pa/pa.c: Likewise.
9030 * config/pj/pj.c: Likewise.
9031 * config/rs6000/rs6000.c: Likewise.
9032 * config/v850/v850-protos.h: Likewise.
9033 * config/v850/v850.c: Likewise.
9035 2000-01-19 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
9037 * i370-protos.h: New file.
9039 * i370.c: Include tm_p.h. Fix compile time warnings.
9041 * i370.h: Move prototypes to i370-protos.h. Fix compile time
9044 * i370.md: Likewise.
9046 2000-01-19 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
9048 * real.c (enan, einan, eiisnan, eiisneg, make_nan): Wrap in NANS.
9049 (target_isinf, target_isnan, eisnan): Mark parameter with
9051 (eiisinf): Wrap in INFINITY.
9052 (etoe113, etoe64, etoe53, etoe24): Wrap label `nonorm' in INFINITY.
9053 (ibmtoe): Remove unused variable `rndsav'.
9055 Wed Jan 19 20:23:06 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
9057 * sh.h (PASS_IN_REG_P): Remove extraneous paranthesis.
9058 (GO_IF_LEGITIMATE_ADDRESS): Added missing tab.
9060 2000-01-19 Zack Weinberg <zack@wolery.cumb.org>
9062 * fixinc/Makefile.in: Correct dependencies of fixincl and fixincl.o.
9063 * fixinc/fixfixes.c (IO_use, CTRL_use, IO_defn, CTRL_defn): New fixes.
9064 (fix_char_macro_defines, fix_char_macro_uses): New functions.
9066 * fixinc/fixlib.c (is_cxx_header): Do the text scan with a regexp.
9067 Recognize Emacs mode markers also.
9068 * fixinc/fixtests.c (else_endif_label): Fix bug in recognition of
9069 C++ comments in C++ headers. Call is_cxx_header only if
9072 * fixinc/inclhack.def (avoid_bool): Add select for the problem and
9074 (bsd43_io_macros, io_def_quotes, ioctl_fix_ctrl): Replace with...
9075 (io_def_quotes, io_use_quotes, ctrl_def_quotes, ctrl_use_quotes):
9076 ... these, which use the new C fixes.
9077 (math_exception): Escape literal '+' in bypass expression.
9079 * fixinc/fixincl.x, fixinc/fixincl.sh, fixinc/inclhack.sh:
9082 2000-01-19 Geoff Keating <geoffk@cygnus.com>
9084 * rtlanal.c (reg_referenced_p): A CLOBBER of a MEM uses any REGs
9087 2000-01-20 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
9089 * loop.c (loop_optimize): Allocate loop_info structure for each loop
9090 prior to calling scan_loop.
9092 Wed Jan 19 19:54:38 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
9094 * sh.c (find_barrier, gen_block_redirect): Fix indentation.
9095 (split_branches, calc_live_regs): Likewise.
9097 Wed Jan 19 19:12:36 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
9099 * sh.md (fpu_single, fp_mode): New attributes.
9101 2000-01-20 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
9103 * loop.c (current_loop_info): Renamed from loop_info_data
9104 and changed to a pointer.
9105 (loop_optimize): Allocate loop_info structure for each loop
9106 and initialise to zero.
9107 (scan_loop): Set current_loop_info.
9109 * unroll.c (loop_iterations): Don't abort if REG_USERVAR_P set
9112 2000-01-19 Richard Henderson <rth@cygnus.com>
9114 * stupid.c: Die die die.
9115 * Makefile.in (OBJS): Remove stupid.o.
9116 (stupid.o): Likewise.
9118 * except.c (emit_eh_context): Don't emit USEs for stupid.
9119 * explow.c (probe_stack_range): Likewise.
9120 * flags.h (obey_regdecls): Remove.
9121 * flow.c (find_basic_blocks): Don't run try_merge_blocks
9122 when not optimizing.
9123 (life_analysis): Limit data collection when not optimizing.
9124 (mark_regs_live_at_end): Always mark the return value registers.
9125 (mark_used_regs): Remove dummy RETURN case.
9126 (print_rtl_with_bb): Don't consult obey_regdecls.
9127 * function.c (use_variable, use_variable_after): Remove.
9128 (assign_parms): Consult optimize not obey_regdecls.
9129 (expand_function_start): Don't emit USEs for stupid.
9130 (expand_function_end): Likewise.
9131 * global.c (build_insn_chain): Export.
9132 * integrate.c (expand_inline_function): Kill return-value USE
9134 * jump.c (jump_optimize_1): Do simple jump optimizations and
9135 dead code elimination.
9136 (calculate_can_reach_end): Remove check_deleted argument.
9137 (delete_insn): Patch out insns even when not optimizing.
9138 * local-alloc.c (block_alloc): Don't do tying when not optimizing.
9139 * rtl.h (use_variable, use_variable_after): Remove declarations.
9140 (build_insn_chain): Declare.
9141 * stmt.c (expand_value_return): Don't emit USEs for stupid.
9142 (expand_end_bindings): Likewise.
9143 (expand_decl): Likewise. Consult optimize not obey_regdecls.
9144 * toplev.c (obey_regdecls): Remove.
9145 (rest_of_compilation): Don't set it. Kill stupid in favour of
9146 flow1, local-alloc, and reload.
9147 (main): Don't set obey_regdecls.
9149 * config/nextstep.c (handle_pragma): Likewise.
9151 * alpha/alpha.md (allocate_stack): Don't emit USEs for stupid.
9153 * arm/arm.h (CONDITIONAL_REGISTER_USAGE): Don't fix reg 0 for stupid.
9155 2000-01-18 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
9157 * alpha-protos.h: PROTO -> PARAMS.
9158 * alpha.c: Likewise.
9160 * h8300.c: Likewise.
9161 * i386-protos.h: Likewise.
9163 * m32r-protos.h: Likewise.
9166 * mips.md: Likewise.
9167 * gmon-sol2.c: Likewise.
9168 * sparc.c: Likewise.
9170 2000-01-18 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
9172 * ns32k-protos.h: New file.
9174 * ns32k.c: Fix compile time warnings.
9176 * ns32k.h: Move prototypes to ns32k-protos.h. Fix compile time
9179 * ns32k.md: Likewise.
9181 2000-01-18 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
9183 * vax-protos.h: New file.
9185 * vax.c: Fix compile time warnings.
9187 * vax.h: Move prototypes to vax-protos.h. Fix compile time
9192 * vaxv.md: Likewise.
9194 2000-01-18 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
9196 * romp-protos.h: New file.
9198 * romp.c: Fix compile time warnings.
9200 * romp.h: Move prototypes to romp-protos.h. Fix compile time
9203 * romp.md: Likewise.
9205 2000-01-18 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
9207 * we32k-protos.h: New file.
9209 * we32k.c: Fix compile time warnings.
9211 * we32k.h: Move prototypes to we32k-protos.h. Fix compile time
9214 2000-01-18 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
9216 * calls.c (emit_call_1): Mark parameter with ATTRIBUTE_UNUSED.
9218 * except.c (eh_regs): Likewise.
9220 * final.c (output_operand): Likewise.
9222 * fold-const.c (target_isinf, target_isnan): Likewise.
9224 Tue Jan 18 16:19:55 MET 2000 Jan Hubicka <hubicka@freesoft.cz>
9226 * i386.h (BIGGEST_ALIGNMENT): Set to 128.
9227 (BIGGEST_FIELD_ALIGNMENT): Set to (TARGET_ALIGN_DOUBLE ? 64 : 32)
9229 * i386.md (memstr): Do not use rep stosb for counts divisible by 4
9231 (clrstrsi): Rewrite.
9232 (strsethi, strsetqi): New expanders.
9233 (strsethi_1, strsetqi_1, rep_stossi, rep_stosqi): New insn patterns.
9234 (cmpstrsi): Emit compare insn before cmpstrsi_1
9235 (cmpstrsi_nz): use flags, set type to str, prefix_length to 1.
9236 (strlensi_1): Likewise.
9237 (cmpstrsi_1): Likewise; do not output compare.
9238 (strlen expander): Do not unroll when optimizing for size.
9239 (*subsi3_carry): Rename to subsi3_carry
9240 (addqi3_cc): New pattern.
9241 * i386.h (processor_costs): Add move_ratio field.
9242 (MOVE_RATIO): Use move_ratio field, set to 3 for OPTIMIZE_SIZE
9243 * i386.c (*_cost): Set move_ratio.
9244 (x86_unroll_strlen): Enable for Athlon, PPro and K6 too.
9245 (x86_expand_strlensi_1): Rewrite the main loop.
9247 2000-01-17 Richard Henderson <rth@cygnus.com>
9249 * combine.c (combine_simplify_rtx): Give FLOAT_STORE_FLAG_VALUE a mode.
9250 * cse.c (find_comparison_args, fold_rtx): Likewise.
9251 * integrate.c (subst_constants): Likewise.
9252 * loop.c (get_condition): Likewise.
9254 * tm.texi (FLOAT_STORE_FLAG_VALUE): Update docs.
9256 * alpha.h (FLOAT_STORE_FLAG_VALUE): Use REAL_VALUE_ATOF.
9258 2000-01-18 Martin v. Löwis <loewis@informatik.hu-berlin.de>
9260 * c-parse.in (SAVE_WARN_FLAGS): Create an INTEGER_CST.
9261 (RESTORE_WARN_FLAGS): Unpack it.
9262 Change semantic type of extension to ttype.
9263 * c-common.c (split_specs_attrs): Expect an INTEGER_CST.
9264 * c-parse.y, c-parse.c, objc/objc-parse.y,
9265 objc/objc-parse.c: Regenerate.
9267 2000-01-17 Zack Weinberg <zack@wolery.cumb.org>
9269 * fixinc/fixlib.c: Add copyright notice.
9270 (compile_re): New function.
9271 * fixinc/fixlib.h: Prototype compile_re.
9273 * fixinc/fixfixes.c, fixinc/fixtests.c, fixinc/fixincl.c:
9274 Use compile_re to compile regular expressions.
9276 * fixinc/fixincl.c (egrep_test): Don't bother asking regexec
9277 where the pattern matched.
9279 * fixinc/inclhack.def (sun_memcpy): Move to AAB_sun_memcpy,
9281 (ultrix_ansi_compat): Likewise.
9282 (interactv_add1): Rename to 'isc_omits_with_stdc', remove shell test,
9284 (interactv_add2, interactv_add3): Delete.
9285 (x11_sprintf): Don't use filename glob.
9286 * fixinc/fixincl.x, fixinc/inclhack.sh, fixinc/fixincl.sh:
9289 2000-01-17 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
9291 * print-rtl.c: PROTO -> PARAMS.
9293 * reg-stack.c: Likewise.
9294 * resource.c: Likewise.
9295 * sdbout.h: Likewise.
9296 * simplify-rtx.c: Likewise.
9297 * stor-layout.c: Likewise.
9298 * stupid.c: Likewise.
9299 * xcoffout.c: Likewise.
9300 * xcoffout.h: Likewise.
9302 2000-01-17 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
9304 * toplev.c: PROTO -> PARAMS.
9305 * toplev.h: Likewise.
9308 * unroll.c: Likewise.
9309 * varasm.c: Likewise.
9310 * varray.c: Likewise.
9311 * varray.h: Likewise.
9313 2000-01-17 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
9315 * reload.c: PROTO -> PARAMS.
9316 * reload.h: Likewise.
9317 * reload1.c: Likewise.
9318 * reorg.c: Likewise.
9319 * resource.h: Likewise.
9322 * rtlanal.c: Likewise.
9323 * sbitmap.h: Likewise.
9324 * sdbout.c: Likewise.
9325 * stack.h: Likewise.
9327 * system.h: Likewise.
9329 2000-01-17 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
9331 * machmode.h: PROTO -> PARAMS.
9332 * mbchar.h: Likewise.
9333 * mips-tdump.c: Likewise.
9334 * mips-tfile.c: Likewise.
9335 * optabs.c: Likewise.
9336 * output.h: Likewise.
9337 * prefix.c: Likewise.
9338 * profile.c: Likewise.
9339 * protoize.c: Likewise.
9341 * recog.c: Likewise.
9342 * recog.h: Likewise.
9343 * regclass.c: Likewise.
9344 * regmove.c: Likewise.
9347 2000-01-17 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
9349 * ggc-common.c: PROTO -> PARAMS.
9350 * ggc-page.c: Likewise.
9351 * ggc-simple.c: Likewise.
9353 * global.c: Likewise.
9354 * graph.c: Likewise.
9355 * gthr-win32.h: Likewise.
9356 * haifa-sched.c: Likewise.
9357 * halfpic.h: Likewise.
9358 * integrate.c: Likewise.
9359 * integrate.h: Likewise.
9362 * local-alloc.c: Likewise.
9366 2000-01-17 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
9368 * genattr.c: PROTO -> PARAMS.
9369 * genattrtab.c: Likewise.
9370 * gencheck.c: Likewise.
9371 * gencodes.c: Likewise.
9372 * genconfig.c: Likewise.
9373 * genemit.c: Likewise.
9374 * genextract.c: Likewise.
9375 * genflags.c: Likewise.
9376 * gengenrtl.c: Likewise.
9377 * genopinit.c: Likewise.
9378 * genoutput.c: Likewise.
9379 * genpeep.c: Likewise.
9380 * genrecog.c: Likewise.
9382 2000-01-16 Mark Mitchell <mark@codesourcery.com>
9384 * tree.h (BINFO_VPTR_FIELD): Augment documentation.
9386 2000-01-16 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
9388 * aclocal.m4 (AC_FUNC_MMAP_ZERO): New macro.
9389 * configure.in (AC_FUNC_MMAP_ZERO): Use instead of AC_FUNC_MMAP.
9390 * ggc-page.c: Replace HAVE_MMAP with HAVE_MMAP_ZERO.
9391 * configure, config.in: Rebuilt.
9393 2000-01-16 Zack Weinberg <zack@wolery.cumb.org>
9395 * config/i386/i386.md: Add peephole to merge successive stack
9398 Sat Jan 15 15:41:14 EST 2000 John Wehle (john@feith.com)
9400 * gcse.c (insert_insn_end_bb): Use emit_block_insn_before
9401 instead of emit_insn_before. Also handle NOTE_INSN_BASIC_BLOCK
9402 when walking backwards to find all the parameter loads when
9403 the basic block ends in a call.
9405 2000-01-15 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
9407 * loop.c (this_loop_info): Delete.
9408 (uid_loop): Add in place of uid_loop_num. All uses updated.
9409 (loop_number_exit_count): Delete and replace with entry in loop
9410 structure. All uses updated.
9411 (loop_number_loop_starts, loop_number_loop_ends): Likewise.
9412 (loop_number_loop_cont, loop_number_cont_dominator): Likewise.
9413 (loop_outer_loop): Likewise.
9414 (loop_invalid, loop_number_exit_labels): Likewise.
9415 (loop_used_count_register): Delete and replace with entry in
9416 loop_info structure.
9417 (find_and_verify_loops): Add loops argument.
9418 (verify_dominator, mark_loop_jump, prescan_loop): Replace loop_start,
9419 loop_end, etc. arguments with loop structure pointer. All callers
9421 (loop_reg_used_before_p, scan_loop, strength_reduce): Likewise.
9422 (check_dbra_loop, next_insn_in_loop, try_copy_prop): Likewise.
9423 (load_mems_and_recount_loop_regs_set, load_mems): Likewise.
9424 (insert_bct): Likewise.
9425 (basic_induction_var): New argument level.
9426 * loop.h (struct loop_info): Delete fields num, loops_enclosed,
9427 vtop, and cont. Add used_count_register.
9428 (uid_loop): Delete declaration.
9429 (loop_number_exit_count): Likewise.
9430 (loop_number_loop_starts, loop_number_loop_ends): Likewise.
9431 (loop_number_loop_cont, loop_number_cont_dominator): Likewise.
9432 (loop_outer_loop, loop_used_count_register): Likewise.
9433 (loop_invalid, loop_number_exit_labels): Likewise.
9434 (unroll_loop): Replace loop_start and loop_end arguments
9435 with loop structure pointer.
9436 (loop_precondition_p, loop_iterations): Likewise.
9437 Include basic-block.h.
9438 * unroll.c: (unroll_loop): Replace loop_start and loop_end arguments
9439 with loop structure pointer.
9440 (loop_precondition_p, loop_iterations): Likewise.
9441 * basic-block.h (struct loop): New entries vtop, cont,
9442 cont_dominator, start, end, top, scan_start, exit_labels,
9444 * Makefile.in (LOOP_H): Add basic-block.h to dependencies.
9446 2000-01-15 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
9448 * defaults.h (ASM_OUTPUT_ASCII): Use ISDIGIT.
9450 2000-01-14 Nathan Sidwell <sidwell@codesourcery.com>
9452 * config.in: Rebuilt for 2000-01-13 change to acconfig.h.
9454 2000-01-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
9456 * pdp11-protos.h: New file.
9458 * pdp11.c: Include tm_p.h. Add static prototypes. Fix compile
9461 * pdp11.h: Move prototypes to pdp11-protos.h. Fix compile time
9464 * pdp11.md: Likewise.
9468 2000-01-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
9470 * mn10300-protos.h: New file.
9472 * mn10300.c: Include tm_p.h. Add static prototypes. Fix compile
9475 * mn10300.h: Move prototypes to mn10300-protos.h. Fix compile time
9478 * mn10300.md: Likewise.
9480 2000-01-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
9482 * mn10200-protos.h: New file.
9484 * mn10200.c: Include tm_p.h. Add static prototypes. Fix compile
9487 * mn10200.h: Move prototypes to mn10200-protos.h. Fix compile time
9490 * mn10200.md: Likewise.
9492 2000-01-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
9494 * h8300-protos.h: New file.
9496 * h8300.c: Include tm_p.h. Add static prototypes. Fix compile
9499 * h8300.h: Move prototypes to h8300-protos.h. Fix compile time
9502 * h8300.md: Likewise.
9504 2000-01-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
9506 * varasm.c (asm_output_bss): Mark parameters with ATTRIBUTE_UNUSED.
9507 (asm_emit_uninitialised): Likewise.
9509 2000-01-13 Gavin Romig-Koch <gavin@cygnus.com>
9511 * config/mips/mips.h (ISA_HAS_INT_CONDMOVE): New.
9512 * config/mips/mips.md: Use ISA_HAS_INT_CONDMOVE.
9514 2000-01-14 Clinton Popetz <cpopetz@cygnus.com>
9516 * config/mips/mips.c (override_options): Don't turn on extra
9517 alignment for mips16.
9519 2000-01-14 Clinton Popetz <cpopetz@cygnus.com>
9521 * config/mips/mips.c (mips_va_arg): Fix fprv for the 32 bit
9522 eabi, and make sure queued POSTINCREMENT rtl is emitted at
9525 2000-01-14 Clinton Popetz <cpopetz@cygnus.com>
9527 * builtins.c (PAD_VARARGS_DOWN): Define.
9528 (std_expand_builtin_va_arg): Use the above macro.
9529 * config/mips/mips.h (PAD_VARARGS_DOWN): Define.
9530 * tm.texi (Register Arguments): Document the above macro.
9532 2000-01-14 Nick Clifton <nickc@cygnus.com>
9534 * emit-rtl.c (emit_insn): If checking is enabled, make sure
9535 that this function has not been used to emit a jump
9538 * jump.c (return_jump_1): Cope with being passed a null rtx.
9540 2000-01-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
9542 * eh-common.h: PROTO -> PARAMS.
9543 * emit-rtl.c: Likewise.
9544 * errors.c: Likewise.
9545 * errors.h: Likewise.
9546 * except.c: Likewise.
9547 * except.h: Likewise.
9548 * explow.c: Likewise.
9549 * expmed.c: Likewise.
9552 * final.c: Likewise.
9553 * fix-header.c: Likewise.
9555 * fold-const.c: Likewise.
9556 * function.c: Likewise.
9557 * function.h: Likewise.
9559 * gcov-io.h: Likewise.
9563 2000-01-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
9565 * sh-protos.h: New file.
9567 * sh.c: Include insn-config.h, toplev.h, recog.h and tm_p.h.
9568 Add static prototypes. Fix compile time warnings.
9570 * sh.h: Move prototypes to sh-protos.h. Fix compile time warnings.
9574 2000-01-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
9576 * arc-protos.h: New file.
9578 * arc.c: Include tm_p.h. Add static prototypes. Fix compile
9581 * arc.h: Move prototypes to arc-protos.h. Fix compile time
9586 2000-01-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
9588 * dsp16xx-protos.h: New file.
9590 * dsp16xx.c: Include tm_p.h. Add static prototypes. Fix compile
9593 * dsp16xx.h: Move prototypes to dsp16xx-protos.h. Fix compile time
9596 * dsp16xx.md: Likewise.
9598 2000-01-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
9600 * convex-protos.h: New file.
9602 * convex.c: Include tm_p.h. Add static prototypes. Fix compile
9605 * convex.h: Move prototypes to convex-protos.h. Fix compile time
9608 2000-01-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
9610 * elxsi-protos.h: New file.
9612 * elxsi.c: Include tm_p.h. Add static prototypes. Fix compile
9615 * elxsi.h: Move prototypes to elxsi-protos.h. Fix compile time
9618 * elxsi.md: Likewise.
9620 2000-01-14 Clinton Popetz <cpopetz@cygnus.com>
9622 * config/mips/mips.h (REGISTER_MOVE_COST): Remove redundant
9623 case for moving from HI/LO/HI_LO_REG. This makes the behavior
9624 match the comment for MIPS16.
9626 Fri Jan 14 00:28:06 2000 Jeffrey A Law (law@cygnus.com)
9628 * flow.c (split_edge): Do not call set_block_for_insn if we
9629 do not have a basic_block_for_insn structure.
9631 * fr30.h (TRAMPOLINE_TEMPLATE): Use nops to ensure the static chain
9632 and destination functions are 32bit aligned within the trampoline.
9633 (TRAMPOLINE_SIZE, INITIALIZE_TRAMPOLINE): Corresponding changes.
9634 (TRAMPOLINE_ALIGNMENT): Define.
9636 * cse.c (cse_insn): When changing (set (pc) (reg)) to
9637 (set (pc) (label_ref)), verify the change creates a valid insn.
9639 * fr30.c (call_operand): Tighten and rework to match rules for
9640 call RTL expressions.
9641 * fr30.h (PREDICATE_CODES, case call_operand): Only allow MEMs.
9642 * fr30.md (call patterns): Improve constraints.
9644 Thu Jan 13 23:44:03 2000 Richard Henderson <rth@cygnus.com>
9646 * fr30.c (fr30_expand_epilogue): Revert last change.
9647 Use emit_jump_insn for the return insn.
9649 Thu Jan 13 14:46:03 2000 Jason Eckhardt <jle@cygnus.com>
9650 Stan Cox <scox@cygnus.com>
9652 * predict.c: New file. Preliminary infrastructure work for static
9653 branch prediction and basic block reordering.
9654 * basic-block.h: Add prototype for estimate_probability.
9655 * Makefile.in: Add rules for predict.o.
9657 2000-01-13 Jason Merrill <jason@yorick.cygnus.com>
9659 * fixincludes (va_list): Use __not_va_list__ for the dummy.
9660 * fixinc/*: Likewise.
9662 2000-01-13 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
9664 * cccp.c: PROTO -> PARAMS.
9666 * collect2.c: Likewise.
9667 * combine.c: Likewise.
9668 * convert.h: Likewise.
9670 * dbxout.c: Likewise.
9671 * dbxout.h: Likewise.
9672 * diagnostic.c: Likewise.
9673 * doprint.c: Likewise.
9674 * dwarf2out.c: Likewise.
9675 * dwarf2out.h: Likewise.
9676 * dwarfout.c: Likewise.
9677 * dwarfout.h: Likewise.
9678 * dyn-string.h: Likewise.
9680 2000-01-13 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
9682 * calls.c (emit_call_1): Wrap varaible `struct_value_size_rtx' in
9683 macro conditionals guarding use.
9685 * dwarf2out.c: Include "tm_p.h".
9687 * function.c (locate_and_pad_parm): Mark parameter with
9689 (expand_function_end): Likewise for variable `context'.
9691 * reorg.c (make_return_insns): Wrap prototype in macro HAVE_return.
9693 2000-01-13 Nick Clifton <nickc@cygnus.com>
9695 * config/fr30/fr30.c (fr30_expand_epilogue): Emit USEs of pop'ed
9696 register to prevent compile time warnings.
9698 2000-01-13 Zack Weinberg <zack@wolery.cumb.org>
9700 * longlong.h [i386] (udiv_qrnnd): Rename 'd' argument to 'dv'
9701 to avoid -Wtraditional warning.
9703 2000-01-13 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
9705 * 1750a-protos.h: New file.
9707 * 1750a.c: Include tm_p.h. Add static prototypes. Fix compile
9710 * 1750a.h: Move prototypes to 1750a-protos.h. Fix compile time
9713 * 1750a.md: Likewise.
9715 2000-01-13 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
9717 * a29k-protos.h: New file.
9719 * a29k.c: Include tm_p.h. Add static prototypes. Fix compile
9722 * a29k.h: Move prototypes to a29k-protos.h. Fix compile time
9725 2000-01-13 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
9727 * clipper-protos.h: New file.
9729 * clipper.c: Include tm_p.h. Add static prototypes. Fix compile
9732 * clipper.h: Move prototypes to clipper-protos.h. Fix compile time
9735 Thu Jan 13 16:03:06 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
9737 * reload1.c (reload_combine_note_store): Use HARD_REGNO_NREGS.
9739 2000-01-13 Nathan Sidwell <sidwell@codesourcery.com>
9741 * configure.in (--enable-new-gxx-abi): New option.
9742 * acconfig.h (ENABLE_NEW_GXX_ABI): New define.
9743 * Makefile.in (GXX_ABI_FLAG): New variable.
9744 * configure: Regenerate.
9746 2000-01-13 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
9748 * stor-layout.c (layout_type): Use FORCE_STRUCT_BLK.
9749 * tm.texi (FORCE_STRUCT_BLK): Document.
9750 * config/c4x/c4x.h (FORCE_STRUCT_BLK): New macro.
9752 Wed Jan 12 23:12:47 2000 Hans-Peter Nilsson <hp@axis.com>
9754 * config/ns32k/ns32k.md: Revert Jan 9 change.
9756 * genrecog.c (maybe_both_true_2): Do not compare a predicate-test
9757 to a mode-test, if the predicate is address_operand.
9759 Wed Jan 12 22:34:00 2000 Jeffrey A Law (law@cygnus.com)
9761 * combine.c (if_then_else_cond): Be careful about what kinds
9762 of RTL expressions are passed to operand_subword.
9764 * flow.c (split_edge): If we have to insert a new jump, make
9765 sure to associate it with a basic block.
9767 * flow.c (commit_one_edge_insertion): A block with one successor
9768 can end in a JUMP_INSN that is not a simplejump.
9770 2000-01-12 Robert Lipe <robertl@sco.com>
9772 * i386/sco5.h (INIT_SECTION_ASM_OP_COFF): Rename section to "ctor".
9773 (BUILD_VA_LIST_TYPE): Define.
9774 (EH_FRAME_SECTION_ASM_OP): Explictly define to better interact
9777 2000-01-12 Jason Merrill <jason@casey.cygnus.com>
9779 * cccp.c (do_pragma): Add cast to (char *).
9781 2000-01-12 Richard Henderson <rth@cygnus.com>
9782 Fred Fish <fnf@be.com>
9783 Jason Merrill <jason@cygnus.com>
9785 * configure.in (i?86-*-beos{pe,elf,}*): Recognize.
9786 * i386/t-beos, i386/x-beos, i386/xm-beos.h: New files.
9787 * i386/beos-elf.h, i386/beos-pe.h: New files.
9789 * Makefile.in (CROSS_SYSTEM_HEADER_DIR): New.
9790 * cross-make (SYSTEM_HEADER_DIR): Define using
9791 CROSS_SYSTEM_HEADER_DIR.
9793 * gcc.c (LIBRARY_PATH_ENV): Provide default.
9794 (process_command): Use it.
9795 (main): Likewise. Kill trailing = from env vars.
9796 (build_search_list): Put it back.
9797 * collect2.c (main): Use LIBRARY_PATH_ENV.
9799 * configure.in (GCC_NEED_DECLARATIONS): Add environ.
9800 * toplev.c: Use NEED_DECLARATION_ENVIRON.
9802 * tm.texi (Frame Layout): Document SMALL_STACK.
9803 * c-common.c (c_common_nodes_and_builtins): Check it.
9805 * system.h: Undef alloca after including glibc's <stdlib.h>,
9806 if USE_C_ALLOCA is defined.
9808 * gcc.c (set_input): New fn.
9809 (main): After all input files are compiled, reset the input file
9812 * aclocal.m4 (rindex, index): If already defined, don't attempt
9815 * ginclude/varargs.h: (__va_list__): Define ifndef.
9816 * ginclude/stdarg.h: Likewise.
9818 * ginclude/stddef.h (__WCHAR_TYPE__) [BEOS]: Use int
9819 instead of unsigned char.
9821 * hash.h (true, false, boolean): Undef before enum.
9823 * expmed.c (choose_multiplier): Cast &mhigh_lo and &mhigh_hi to be
9824 proper type of "HOST_WIDE_INT *", rather than their natural type of
9825 "unsigned HOST_WIDE_INT *".
9827 2000-01-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
9829 * svr3.h (ASM_FILE_START): Wrap if-clause in squigly brackets.
9831 * recog.c (memory_address_p): Mark parameter with ATTRIBUTE_UNUSED.
9833 * regclass.c (choose_hard_reg_mode): Likewise.
9835 * reload.c (find_valid_class, strict_memory_address_p): Likewise.
9837 * reorg.c (optimize_skip): Wrap prototype in macro conditionals.
9839 2000-01-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
9841 * c-common.c: PROTO -> PARAMS.
9842 * c-common.h: Likewise.
9843 * c-decl.c: Likewise.
9844 * c-iterate.c: Likewise.
9845 * c-lang.c: Likewise.
9846 * c-lex.c: Likewise.
9847 * c-lex.h: Likewise.
9848 * c-parse.in: Likewise.
9849 * c-pragma.c: Likewise.
9850 * c-pragma.h: Likewise.
9851 * c-tree.h: Likewise.
9852 * c-typeck.c: Likewise.
9853 * objc/objc-act.c: Likewise.
9854 * objc/objc-act.h: Likewise.
9856 2000-01-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
9858 * m88k-protos.h: New file.
9860 * m88k.c: Include tm_p.h. Add static prototypes. Fix compile
9863 * m88k.h: Move prototypes to m88k-protos.h. Fix compile time warnings.
9865 * m88k.md: Likewise.
9867 * tekXD88.h: Likewise.
9869 2000-01-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
9871 * m68k-protos.h: New file.
9873 * m68k.c: Include tm_p.h. Add static prototypes. Fix compile
9876 * m68k.h: Move prototypes to m68k-protos.h. Fix compile time warnings.
9878 * mot3300.h: Likewise.
9880 2000-01-12 Richard Earnshaw <rearnsha@arm.com>
9882 * haifa-sched.c (split_edges): Pass edgeset_size as second arg to
9884 (extract_bitlist): Declare bitlen.
9886 2000-01-12 Zack Weinberg <zack@wolery.cumb.org
9888 * cccp.c: Accept and ignore -lang-fortran.
9890 * c-typeck.c (build_c_cast): Issue -Wcast-qual warnings if the
9891 qualifiers don't match at any level of pointerness.
9893 2000-01-12 Robert Lipe <robertl@sco.com>
9895 * i386/sysv5.h (CPP_SPEC, LIBSPEC): Add -pthreadT.
9897 2000-01-12 Bernd Schmidt <bernds@cygnus.co.uk>
9899 * reload1.c (reload_reg_unavailable): New static variable.
9900 (reload_reg_free_p): Test it.
9901 (reload_reg_free_for_value_p): Test it instead of
9903 (choose_reload_regs_init): Compute it.
9905 Wed Jan 12 03:24:41 2000 Toshiyasu Morita (toshi.morita@sega.com)
9907 * reorg.c (fill_slots_from_thread): Check modified_in_p
9910 Wed Jan 12 03:20:31 2000 John Marshall <john_w_marshall@palm.com>
9912 * gcc.texi (Funding, GNU/Linux, Copying, Contributors): Format
9913 these nodes even if INTERNALS is not set.
9915 Wed Jan 12 09:39:22 2000 Nick Burrett <nick.burrett@btinternet.com>
9917 * gcse.c (delete_null_pointer_checks_1): Cope when
9918 get_condition cannot determine the condition.
9920 2000-01-12 Gabriel Dos Reis <gdr@codesourcery.com>
9922 * toplev.h (set_message_length): Declare.
9924 * diagnostic.c (obstack_chunk_alloc): Define macro.
9925 (obstack_chunk_free): Likewise.
9926 (struct output_buffer): New data structure.
9928 (output_maximum_width): New variable.
9929 (doing_line_wrapping, set_message_length, init_output_buffer,
9930 get_output_prefix, output_space_left, emit_output_prefix,
9931 output_newline, output_append, output_puts, dump_output,
9932 vbuild_message_string, build_message_string, build_location_prefix,
9933 voutput_notice, output_printf, line_wrapper_printf,
9934 vline_wrapper_message_with_location): New functions. Implement
9935 automatic line wrapping.
9936 (v_message_with_decl): Make it handle automatic line wrapping.
9937 (v_error_with_file_and_line): Likewise.
9938 (v_warning_with_file_and_line): Likewise.
9939 (announce_function): Likewise.
9940 (default_print_error_function): Likewise.
9942 2000-01-11 16:24 -0800 Zack Weinberg <zack@wolery.cumb.org>
9944 * cpplib.h (struct cpp_options): Change lang_asm to char.
9946 * cppinit.c (builtin_array): Take out __STDC_VERSION__, it's
9947 done in cpp_handle_option now.
9948 (initialize_builtins): Take out special case code used only by
9950 (cpp_handle_option): Turn off trigraphs and trigraph warnings
9951 if -traditional. Recognize -lang-fortran and set
9952 lang_fortran, also turn off cplusplus_comments.
9953 (print_help): Document -lang-fortran.
9954 * cpplib.c (handle_directive): Ignore `# 123 "file"' if
9955 lang_asm. Ignore all directives other than `# 123 "file"' if
9957 (cpp_get_token): If -traditional, don't recognize directives
9958 unless the # is in column 1.
9959 (parse_string): If lang_fortran or lang_asm, silently
9960 terminate strings ('' or "") at end of line.
9961 Remove unnecessary braces.
9963 2000-01-11 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
9964 Richard Henderson <rth@cygnus.com>
9966 * resource.c (mark_referenced_resources): Mark a set strict_low_part
9968 * config/i386/i386.c (ix86_expand_setcc): Re-enable clear + set
9969 strict_low_part when possible.
9971 2000-01-11 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
9973 * alias.c: PROTO -> PARAMS.
9974 * basic-block.h: Likewise.
9975 * bitmap.c: Likewise.
9976 * bitmap.h: Likewise.
9977 * builtins.c: Likewise.
9978 * c-aux-info.c: Likewise.
9979 * caller-save.c: Likewise.
9980 * calls.c: Likewise.
9982 2000-01-11 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
9984 * Makefile.in (toplev.o): Depend on regs.h.
9986 * output.h (tdesc_section): Prototype.
9988 * regclass.c (copy_cost): Mark parameters with ATTRIBUTE_UNUSED.
9990 * sdbout.c: Include "tm_p.h".
9992 * toplev.c: Include "regs.h".
9994 Tue Jan 11 11:37:58 2000 Mike Stump <mrs@wrs.com>
9996 * unroll.c (unroll_loop): Add EH support.
9998 2000-01-11 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
10000 * pa-protos.h: New file.
10002 * pa.c: Include recog.h and tm_p.h.
10003 (compute_zdepwi_operands, compute_movstrsi_length,
10004 remove_useless_addtr_insns, store_reg, load_reg, set_reg_plus_d,
10005 find_addr_reg, import_milli): Add static prototypes.
10006 (pa_cpu_string, pa_arch_string): Constify a char*.
10007 (legitimize_pic_address): Pass argument `mode' to pic_label_operand.
10008 (read_only_operand): Add argument `mode'.
10009 (singlemove_string, output_move_double, output_fp_move_double,
10010 output_block_move, output_and, output_ior, output_ascii,
10011 remove_useless_addtr_insns, milli_names, output_mul_insn,
10012 output_div_insn, output_mod_insn, output_arg_descriptor,
10013 output_cbranch, output_bb, output_bvb, output_dbra, ,
10014 output_millicode_call, output_call, hppa_encode_label,
10015 output_parallel_movb, output_parallel_addb): Constify a char*.
10016 (hppa_va_start): Mark parameter `stdarg_p' with ATTRIBUTE_UNUSED.
10017 (output_parallel_addb): Remove extra arg to `constrain_operands'
10019 * pa.h: Move all prototypes to pa-protos.h.
10020 (pa_cpu_string, pa_arch_string): Constify a char*.
10021 (LEGITIMIZE_ADDRESS): Call `symbolic_operand' with mode argument.
10023 * pa.md: Call `function_label_operand' with mode argument.
10024 Likewise for `read_only_operand'.
10025 Fix nesting of parens in call to `symbolic_operand'.
10027 2000-01-11 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
10029 * i860-protos.h: New file.
10031 * i860.c: Include tm_p.h. Add static prototypes. Fix compile
10034 * i860.h: Move prototypes to i860-protos.h. Fix compile time warnings.
10036 * i860.md: Likewise.
10038 Tue Jan 11 18:59:35 MET 2000 Jan Hubicka <jh@suse.cz>
10040 * i386.md (movstrsi expander): Rewrite.
10041 (movstrsi_1 insn): Deleted.
10042 (strmovhi, strmovqi expander): New expanders.
10043 (movshi_1, movsqi_1, rep_movsi, rep_movqi): New patterns.
10044 * i386.c (x86_single_stringop): New global variable.
10045 * i386.h (x86_single_stringop): Declare.
10046 (TARGET_SINGLE_STRINGOP): New macro.
10048 2000-01-11 Clinton Popetz <cpopetz@cygnus.com>
10050 * config/mips/mips.c (mips_va_arg): For EABI, emit the queued
10051 integer vararg POSTINCREMENT before the destination of the jump
10052 for the hard fp case.
10053 (function_arg_pass_by_reference): Pass a copy of CUM to
10056 * config/mips/mips.h (GO_IF_LEGITIMATE_ADDRESS): Move check
10057 for CONSTANT_ADDRESS_P above while loop for subreg.
10059 2000-01-11 Clinton Popetz <cpopetz@cygnus.com>
10061 * flow.c (propagate_block): When a prologue/epilogue insn
10062 is marked dead, unconditionally clear libcall_is_dead and
10063 insn_is_dead, and only dump rtl if warnings aren't being
10066 Tue Jan 11 16:26:47 MET 2000 Jan Hubicka <jh@suse.cz>
10068 * i386.c (ix86_attr_length_default): Handle TYPE_STR and TYPE_CLD.
10069 * i386.md (FIRST_PSEUDO_REGISTER): Set to 20.
10070 (FIXED_REGISTERS): Set dirflag as fixed.
10071 (CALL_USED_REGISTERS): Set dirflag as used.
10072 (REG_ALLOC_ORDER): Set dirflag as last one.
10073 (DIRFLAG_REG): New macro.
10074 (MD_ASM_CLOBBERS): Asm clobber dirflag for backward compatibility.
10075 (HI_REGISTER_NAMES): Add dirflag.
10076 (DEBUF_PRINT_REG): Handle dirflag.
10077 * i386.md (type attribute): New cld and str types.
10078 (length_opcode attribute): Set cld and str to 1.
10079 (memory attribute): Set str to unknown - it is not clear from the
10081 (pent_np function unit): Prefixed string operations takes 12 cycles
10082 minimally; cld takes 2 cycles.
10083 (ppro_uops attribute): Str is "many" and cld is "few".
10084 (ppro_p0 unit): Handle cld here.
10085 (k6_alux unit): Handle cld and str types.
10086 (k6_load unit): It is ocupied by str opcodes.
10087 (k6_store unit): It is ocupied by str opcodes.
10088 (athlon_decode): Str is vector decoded.
10089 (athlon_ieu): Handle str and cld.
10090 (cld pattern): New.
10091 (movstrsi, clrstr, cmpstr, strlen expander): Emit cld instruction
10092 (movstrsi_1, clrstrsi_1, cmpstrsi_1, strlensi_1,
10093 cmpstrsi_nz_1 insn): Do not output cld instruction
10095 Tue Jan 11 06:14:39 2000 David Starner <dstarner98@aasaa.ofe.org>
10097 * gcc.texi (G++ and GCC): Add Java and Chill.
10098 (Bug Critera): Don't list languages.
10100 * gcc.texi (Incompatibilities): No longer claim most C compilers
10103 * gcc.texi (G++ and GCC): Update other front-ends list.
10105 Tue Jan 11 05:49:01 2000 Jeffrey A Law (law@cygnus.com)
10107 * i386.c (ix86_expand_setcc): Fix typo.
10108 (ix86_expand_movcc): Similarly.
10110 * Band-aid until haifa's bitset implementation is nuked.
10111 * haifa-sched.c (extract_bitlst): New parameter for size of the
10112 bitset in bits. All callers changed. Avoid looking at undefined
10113 bits in the bitset.
10114 (edgeset_bitsize): New variable.
10115 (schedule_region): Initialize edgeset_bitsize.
10117 2000-01-10 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
10119 * Makefile.in (optabs.o): Depend on real.h
10120 (resource.o): Depend on insn-attr.h
10122 * builtins.c (result_vector): Wrap prototype in macro conditions
10123 governing definition and use.
10125 * c-common.c: Include tm_p.h.
10127 * c-lex.c: Likewise.
10129 * elfos.h: Constify a char*.
10131 * final.c (align_fuzz): Wrap prototype in macro HAVE_ATTR_length.
10132 (get_attr_length, shorten_branches, profile_after_prologue): Mark
10133 parameter with ATTRIBUTE_UNUSED.
10135 * fold-const.c (exact_real_inverse): Wrap variable `i' in
10138 * haifa-sched.c (schedule_insns): Mark parameter with
10141 * optabs.c: Include real.h.
10143 * real.h (ereal_atof): Add prototype arguments.
10145 * resource.c: Include insn-attr.h.
10147 * sdbout.c (sdbout_queue_anonymous_type,
10148 sdbout_dequeue_anonymous_types): Wrap in macro
10149 SDB_ALLOW_FORWARD_REFERENCES.
10150 (sdbout_init, sdbout_start_new_source_file): Mark parameter with
10153 * stmt.c (expand_return): Wrap variable `op0' in macro HAVE_return.
10155 * stupid.c: Include tm_p.h.
10157 * tree.c (real_value_from_int_cst): Mark parameter with
10160 2000-01-10 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
10162 * i960-protos.h: New file.
10164 * i960.c: Include tm_p.h. Add static prototypes. Fix compile
10167 * i960.h: Move prototypes to i960-protos.h. Fix compile time warnings.
10169 2000-01-10 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
10171 * combine.c (expand_field_assignment): Do not discard SUBREGs
10172 while computing nonzero_bits.
10174 2000-01-09 Nick Clifton <nickc@cygnus.com>
10176 * config/arm/arm.c: Fix compile time warnings about signed vs
10177 unsigned constants.
10178 * config/arm/arm.h: Fix compile time warnings about signed vs
10179 unsigned constants.
10181 2000-01-09 Philip Blundell <philb@gnu.org>
10183 * config/arm/arm.c (output_return_instruction): Use `ldr' rather
10184 than `ldm' with only one register.
10185 * config/arm/arm.md (push_multi): Use `str' rather than `stm' with
10188 * config/arm/linux-gas.h (CLEAR_INSN_CACHE): Say that R0 is
10191 Sun Jan 9 17:50:23 2000 Hans-Peter Nilsson <hp@axis.com>
10193 * config/ns32k/ns32k.md (load or push effective address): Operand 1
10196 2000-01-09 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
10198 * elfos.h (ASM_OUTPUT_LIMITED_STRING): Add parentheses around
10199 assignment used as truth value.
10201 * function.c (assign_temp): Mark parameter `dont_promote' with
10202 ATTRIBUTE_UNUSED. Wrap variable `unsignedp' with macro
10203 PROMOTE_FOR_CALL_ONLY.
10205 * genrecog.c (write_subroutine): Mark variable `operands' with
10208 * optabs.c (prepare_cmp_insn): Mark parameter `align' with
10211 * sdbout.c (sdbout_init): Likewise for parameter `asm_file'.
10212 (sdbout_begin_block, sdbout_end_block): Likewise for `file'.
10214 * toplev.c (note_deferral_of_defined_inline_function): Likewise
10217 2000-01-09 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
10219 * config/c4x.h: Tidy up comments.
10220 * config/c4x.c: Likewise.
10222 Sun Jan 9 01:02:55 EST 2000 John Wehle (john@feith.com)
10224 * fold-const.c (lshift_double, rshift_double): Handle
10225 shifting by 2 * HOST_BITS_PER_WIDE_INT correctly.
10227 2000-01-08 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
10229 * toplev.c (rest_of_compilation): Initialize cse_not_expected as
10230 in prepare_function_start().
10232 Sat Jan 8 12:12:46 2000 Nick Clifton <nickc@cygnus.com>
10234 * config/v850/v850.c (expand_epilogue): Interrupt functions no
10235 longer allocate extra stack for function calls.
10237 2000-01-08 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
10239 * config/c4x/c4x.md (*subqf3_set): Fix typo.
10241 2000-01-08 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
10243 * config/c4x/c4x.h (CALLER_SAVE_PROFITABLE): Define as 0.
10245 2000-01-07 David Edelsohn <edelsohn@gnu.org>
10247 * rs6000.c (processor_target_table): Add power3 as alias for 630.
10248 * aix43.h: Revert Aug 2 change.
10249 (HAS_INIT_SECTION): Define, not visible yet.
10250 (LD_INIT_SWITCH): Define, not visible yet.
10251 * t-aix43 (MULTILIB_OPTIONS): Revert Aug 2 change.
10253 * glimits.h (__LONG_MAX__): Recognize 64-bit AIX too.
10255 * collect2.c (main): Expand ld2 size further.
10256 (export_object_lst): Cast assignment to avoid warning.
10257 (main, LD_INIT_SWITCH): Add AIX 4.2+ -binitfini support.
10258 (scan_prog_file, COFF): Do not collect initialization or
10259 finalization functions generated for entire shared object if
10260 init/fini support present.
10262 2000-01-07 Nick Clifton <nickc@cygnus.com>
10264 * config/elfos.h: Tidy up formatting of marcos. Make sure
10265 that .section directives are always prefixed by a tab.
10267 * config/svr4.h: Add #include "elfos.h" and remove duplicate
10270 2000-01-07 Matt Austern <austern@sgi.com>
10272 * fold-const.c (real_hex_to_f): Remove duplicate declaration of
10275 Fri Jan 7 01:55:34 2000 Jeffrey A Law (law@cygnus.com)
10277 * Makefile.in (crtend.o): Pass @inhibit_libc@ to compilation of
10279 (crtbegin.o, s-crtS): Likewise.
10281 2000-01-06 Richard Henderson <rth@cygnus.com>
10283 * alpha.md (adddi_2+1): Limit offset such that it will be
10284 loadable with a single ldah+lda pair.
10285 (adddi_2+2): Explicitly fail split if we can't make it work.
10287 2000-01-06 Mumit Khan <khan@xraylith.wisc.edu>
10289 * protoize.c: Conditionally include unistd.h.
10290 (IS_SAME_PATH_CHAR): New macro.
10291 (IS_SAME_PATH): New macro.
10292 (CPLUS_FILE_SUFFIX): New macro.
10293 (cplus_suffix): New static variable.
10294 (is_abspath): New static function.
10295 (in_system_include_dir): Handle DOS style pathnames.
10296 (file_could_be_converted): Likewise.
10297 (file_normally_convertible): Likewise.
10298 (directory_specified_p): Likewise.
10299 (file_excluded_p): Likewise.
10300 (abspath): Likewise.
10301 (shortpath): Likewise.
10302 (referenced_file_is_newer): Likewise.
10303 (save_def_or_dec): Likewise.
10304 (do_processing): Likewise.
10306 (edit_file): Likewise. Use rename instead of link.
10307 (rename_c_file): Likewise. Don't rename syscalls file.
10308 (munge_compile_params): Define null device for DOS based systems.
10309 (process_aux_info_file): Use binary mode if appliable.
10310 (edit_file): Likewise.
10311 * invoke.texi (Running Protoize): Document C++ suffixes used.
10313 * cccp.c: Delete PATH_SEPARATOR, DIR_SEPARATOR and
10314 IS_DIR_SEPARATOR macros.
10315 * collect2.c: Likewise.
10316 * cppinit.c: Likewise.
10317 * dwarf2out.c: Likewise.
10319 * gcov.c: Likewise.
10320 * prefix.c: Likewise.
10322 * toplev.c: Likewise.
10323 * system.h: And move to here.
10325 * prefix.c (update_path): Fix typo in variable name.
10327 2000-01-06 Richard Henderson <rth@cygnus.com>
10329 * flow.c (mark_set_1): Use loop_depth+1 as reference weight.
10330 (find_auto_inc, mark_used_regs, try_pre_increment_1): Likewise.
10331 (count_reg_sets_1, count_reg_references): Likewise.
10332 (flow_loops_level_compute): Start counting actual loop depth at 1.
10333 (flow_loops_find): Likewise.
10334 * local-alloc.c (update_equiv_regs): Likewise.
10335 * regclass.c (regclass): Re-instate Jan 4 0-based loop_depth change.
10337 2000-01-06 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
10339 * defaults.h (DWARF_FRAME_REGISTERS): if not defined, default to
10340 FIRST_PSEUDO_REGISTER
10341 * dwarf2out.c: Don't include frame.h
10342 * dwarfout.c: Likewise
10343 * Makefile.in (dwarfout.o, dwarf2out.o): Remove dependence on
10346 Thu Jan 6 13:44:59 CET 2000 Jan Hubicka <jh@suse.cz>
10348 * reg-stack.c (subst_stack_regs_pat): Handle correctly USEs of
10351 * i386.c (movsf splitter): Fix typo in my last checkin.
10353 2000-01-05 Nick Clifton <nickc@cygnus.com>
10355 * varasm.c (IN_NAMED_SECTION): Allow targets to provide their
10356 own definition of this macro.
10357 (asm_emit_uninitialised): Invoke UNIQUE_SECTION if either
10358 flag_data_sections or UNIQUE_SECTION_P are true.
10360 * tm.texi (UNIQUE_SECTION): Document that it can be called for
10361 unitialised data decls.
10363 * config/i386/winnt.c (i386_pe_unique_section): Cope with
10364 being called for uninitialised data.
10366 * config/i386/interix.c (i386_pe_unique_section): Cope with
10367 being called for uninitialised data.
10369 * config/mips/elf.h (UNIQUE_SECTION): Cope with being called
10370 for uninitialised data.
10372 * config/mips/elf64.h (UNIQUE_SECTION): Cope with being called
10373 for uninitialised data.
10375 * config/mips/iri6gld.h (UNIQUE_SECTION): Cope with being called
10376 for uninitialised data.
10378 * config/arm/unknown-elf.h (IN_NAMED_SECTION): Define.
10379 (UNIQUE_SECTION_P): Always generate a unique section if
10380 flag_data_sections is true.
10381 (UNIQUE_SECTION): Also generate unique sections for
10382 uninitialised data.
10383 (ASM_OUTPUT_ALIGNED_BSS): Redefine to use named_section().
10384 (ASM_OUTPUT_ALIGNED_DECL_LOCAL): Redefine to use
10387 2000-01-06 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
10389 * config/c4x/t-c4x (TARGET_LIBGCC2_CFLAGS): Don't redefine SF, DF,
10392 2000-01-06 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
10394 * config/c4x/c4x.md (udivqi3, divqi3): Delete.
10395 (umodqi3, modqi3, udivhi3, divhi3, umodhi3, modhi3, ffsqi2): Likewise.
10396 (*smulqi3_highpart_noclobber, *umulqi3_highpart_noclobber): New.
10397 (*lshrqi3_const_noclobber, *lshrqi3_nonconst_noclobber): Likewise.
10398 (*ashrqi3_const_noclobber, *ashrqi3_nonconst_noclobber): Likewise.
10400 * c4x.h (INIT_TARGET_OPTABS): Define to init libcalls.
10402 2000-01-05 11:25 -0800 Zack Weinberg <zack@rabi.columbia.edu>
10404 * c-decl.c (finish_enum): Simplify code to determine minimum and
10405 maximum values of the enum, and calculate the type. Remove check
10406 for FUNCTION_DECLs in the values list, which cannot happen. Replace
10407 the DECL_INITIAL of each enumeration constant with a copy converted
10408 to the enumeration type. When updating variant types, don't bother
10409 updating the type itself.
10411 * c-typeck.c (build_binary_op): Simplify conditional expressions
10412 when weeding out spurious signed-unsigned warnings. Add new
10413 spurious warning category: if the unsigned quantity is an enum
10414 and its maximum value fits in signed_type(result_type). Update
10416 (build_conditional_expr): Warn here if one alternative is signed
10417 and the other is unsigned.
10419 2000-01-05 Nick Clifton <nickc@cygnus.com>
10421 * config/fr30/fr30.h: Remove extraneous comments.
10423 2000-01-05 Bernd Schmidt <bernds@cygnus.co.uk>
10425 * reload1.c (choose_reload_regs): When disabling a reload, also
10426 set reload_spill_index to -1.
10428 2000-01-04 Joel Sherrill (joel@OARcorp.com>
10430 * configure.in (m68*-*-rtemscoff*): New target, formal name for
10432 (m68*-*-rtemself*): New target.
10433 (mips64orion-*-rtems*): Remove duplicate definition of tm_file.
10434 (sparc*-*-rtemsaout*): New target, formal name for old sparc*-*-rtems*.
10435 (sparc*-*-rtemself*): New target.
10436 (sparc*-*-rtems*): Now elf not a.out.
10437 * config/i386/rtems.h: Include config/rtems.h.
10438 * config/i386/rtemself.h: Include config/rtems.h.
10439 * config/i960/rtems.h: Include config/rtems.h.
10440 * config/m68k/rtems.h: Include config/rtems.h.
10441 * config/m68k/rtemself.h: Include config/rtems.h.
10442 * config/mips/rtems64.h: Include config/rtems.h.
10443 * config/pa/rtems.h: Include config/rtems.h.
10444 * config/rs6000/rtems.h: Include config/rtems.h.
10445 * config/sh/rtems.h: Include config/rtems.h.
10446 * config/sh/rtemself.h: Include config/rtems.h.
10447 * config/sparc/rtems.h: Include config/rtems.h.
10448 * config/sparc/rtemself.h: Include config/rtems.h
10450 Tue Jan 4 23:59:26 2000 Denis Chertykov <denisc@overta.ru>
10452 * final.c (shorten_branches): Correctly compute length of
10453 asms without operands.
10455 Tue Jan 4 22:55:41 2000 Steve Chamberlain <sac@pobox.com>
10457 * configure.in: Add pj target.
10458 * configure: Regenerate.
10459 * config/pj: New directory.
10460 * config/pj/lib1funcs.S: New file.
10461 * config/pj/linux.h: New file.
10462 * config/pj/pj.c: New file.
10463 * config/pj/pj.md: New file.
10464 * config/pj/pjl.h: New file.
10465 * config/pj/t-pj: New file.
10466 * config/pj/xm-pj.h: New file
10468 Tue Jan 4 22:30:16 2000 Jeffrey A Law (law@cygnus.com)
10470 * toplev.c (rest_of_compilation): Run shorten-branches before
10473 2000-01-05 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
10475 * config/c4x/c4x.h (IS_XXX_REG, IS_XXX_REGNO): Swap behaviour of
10476 macros so that they're consistent with their names.
10477 * config/c4x/c4x.c (IS_XXX_REG, IS_XXX_REGNO): Likewise.
10478 * config/c4x/c4x.md (IS_XXX_REG, IS_XXX_REGNO): Likewise.
10480 2000-01-05 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
10482 * config/c4x/c4x.md (*addqi3_noclobber_reload): Ensure that CC never
10483 modified inadvertently.
10485 2000-01-04 Joel Sherrill <joel@OARcorp.com>
10487 * configure.in (v850*-*-rtems*): New target.
10488 * configure: Regenerate.
10489 * config/v850/rtems.h: New file.
10491 2000-01-04 Mumit Khan <khan@xraylith.wisc.edu>
10493 * gthr-win32.h (__gthread_active_p): Support Mingw MT runtime.
10494 (__gthread_key_create): Likewise.
10495 (__gthread_key_dtor): Likewise.
10496 (__gthread_once): Fix logic.
10497 (__gthread_key_delete): Cast away constness.
10499 * i386/cygwin.h (SUBTARGET_SWITCHES): Add -mthreads option.
10500 * invoke.texi: Document.
10501 * i386/mingw32.h (CPP_SPEC): Use.
10502 (LIBGCC_SPEC): Likewise.
10503 * i386/crtdll.h (LIBGCC_SPEC): Likewise.
10505 2000-01-04 David Edelsohn <edelsohn@gnu.org>
10507 * rs6000/sysv4.h (ASM_OUTPUT_DEF): Undefine.
10508 (HANDLE_PRAGMA_PACK): Undefine.
10509 (SLOW_UNALIGNED_ACCESS): Define.
10511 2000-01-04 David Edelsohn <edelsohn@gnu.org>
10513 * expmed.c (SLOW_UNALIGNED_ACCESS): Add mode and align parameters
10514 to default definition.
10515 (store_bit_field): Call SLOW_UNALIGNED_ACCESS with mode and alignment.
10516 (store_fixed_bit_field): Call macro with word_mode and alignment.
10517 (extract_bit_field): Call macro with relevant mode and alignment.
10518 * expr.c (SLOW_UNALIGNED_ACCESS): Add mode and align parameters
10519 to default definition.
10520 (move_by_pieces): Call SLOW_UNALIGNED_ACCESS with word_mode
10522 (move_by_pieces_ninsns): Likewise.
10523 (clear_by_pieces): Likewise.
10524 (emit_push_insn): Likewise.
10525 (store_field): Call macro with relevant mode and alignment.
10526 (expand_expr): Likewise.
10527 (expand_expr_unaligned): Likewise.
10529 * rs6000.h (HANDLE_PRAGMA_PACK): Define.
10530 (SLOW_UNALIGNED_ACCESS): Define.
10531 (CASE_VECTOR_MODE): Always use 32-bit offsets.
10532 (ASM_FILE_END): Generate 64-bit symbol in 64-bit mode.
10533 (EXTRA_SECTOIN_FUNCTIONS): Indent .csect pseudo-op.
10534 (toc_section): Likewise and .toc pseudo-op.
10535 (ASM_DECLARE_FUNCTION): Likewise. Align text more strictly in
10537 (TEXT_SECTION_ASM_OP): Likewise.
10538 (ASM_OUTPUT_ADD_VEC_ELT, ASM_OUTPUT_ADDR_DIFF_ELT): Always use
10541 * a29k.h (SLOW_UNALIGNED_ACCESS): Add MODE and ALIGN parameters.
10542 * alpha.h (SLOW_UNALIGNED_ACCESS): Likewise.
10543 * arm/thumb.h (SLOW_UNALIGNED_ACCESS): Likewise.
10544 * gmicro.h (SLOW_UNALIGNED_ACCESS): Likewise.
10545 * fr30.h (SLOW_UNALIGNED_ACCESS): Likewise.
10547 Tue Jan 4 11:44:13 2000 Jeffrey A Law (law@cygnus.com)
10549 * regclass.c: Revert my Jan 4 change to loop cost computation.
10551 Tue Jan 4 19:22:39 MET 2000 Jan Hubicka <hubicka@freesoft.cz>
10553 * regclass.c (regclass): Do not obey REG_N_REFS in non-optimizing
10556 2000-01-04 Stan Cox <scox@cygnus.com>
10558 * haifa-sched.c (build_control_flow): Change unreachable simple
10559 loop test to check if current block has only one predecessor.
10560 (find_rgns): Initialize degree. Use dest as degree index, not src.
10562 2000-01-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
10564 * builtins.c (expand_builtin_strlen): Initialize variable `icode'.
10566 * calls.c (expand_call): Likewise for
10567 `old_stack_arg_under_construction'.
10569 * cpphash.c (macroexpand): Likewise for `args' and `rest_zero'.
10571 * function.c (pad_to_arg_alignment): Likewise for `save_var' and
10574 * gcc.c (execute): Likewise for `ut' and `st'.
10576 * genattrtab.c (attr_rtx): Likewise for `rt_val'.
10578 * genopinit.c (gen_insn): Likewise for `m1', `m2' and `op'.
10580 * jump.c (jump_optimize_1): Likewise for `temp2'.
10582 * local-alloc.c (block_alloc): Likewise for `r1'.
10584 * loop.c (recombine_givs): Likewise for `life_start' and `life_end'.
10586 * reg-stack.c (check_asm_stack_operands): Likewise for `clobber_reg'.
10587 (subst_asm_stack_regs): Likewise for `clobber_reg' and `clobber_loc'.
10589 * regmove.c (fixup_match_1): Likewise for `insn_const', `dst_node'
10592 * reload.c (find_reloads): Likewise for `goal_alternative_number'
10593 and `goal_earlyclobber'.
10595 * scan-decls.c (scan_decls): Likewise for `prev_id_end'.
10597 * sdbout.c (sdbout_one_type): Likewise for `member_scl'.
10599 * stupid.c (stupid_life_analysis): Likewise for `chain'.
10601 * unroll.c (copy_loop_body): Likewise for `copy'.
10603 * varasm.c (output_constructor): Likewise for `byte'.
10605 Tue Jan 4 15:34:34 MET 2000 Jan Hubicka <hubicka@freesoft.cz>
10607 * i386.c (ix86_expand_move): Allow pushes of memory, offload to memory
10608 all FP constants for constant->reg moves.
10609 (ix86_split_to_parts): Try to convert memory address into immediate
10610 when available in the constant pool.
10611 * i386.h (PREFERRED_RELOAD_CLASS): Allow CONST_DOUBLE->integer reg
10613 (LEGITIMATE_CONSTANT_P): Return 1.
10614 * i386.md (pushsf): New splitter to convert constant pool memory
10615 reference to immediate.
10616 (mov?f): Likewise; do not allow CONST_DOUBLE for reg moves before
10619 2000-01-04 Bernd Schmidt <bernds@cygnus.co.uk>
10621 * i386.md (ashlsi3_cmpno): Don't accept variables shifts.
10622 (ashlhi3_cmpno, ashlqi3_cmpno, ashrsi3_cmpno, ashrhi3_cmpno,
10623 ashrqi3_cmpno, lshrsi3_cmpno, lshrhi3_cmpno, lshrqi3_cmpno): Likewise.
10624 (rotlsi3_cmpno, rotlhi3_cmpno, rotlqi3_cmpno, rotrsi3_cmpno,
10625 rotrhi3_cmpno, rotrqi3_cmpno): Likewise.
10627 2000-01-04 Martin von Löwis <loewis@informatik.hu-berlin.de>
10629 * ginclude/stdbool.h: Support compilation as C++.
10631 Tue Jan 4 01:35:13 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
10633 * fold-const.c (make_range): Don't try to reverse an unbounded range.
10635 Tue Jan 4 00:18:46 2000 Jeffrey A Law (law@cygnus.com)
10637 * regclass.c (regclass): Properly compute loop_cost. Adjust
10640 * regclass.c: Fix minor whitespace problems.
10642 2000-01-03 Anthony Green <green@cygnus.com>
10644 * config/i386/i386.md (builtin_setjmp_receiver): New pattern.
10645 Restore the pic register if required.
10647 2000-01-03 Ulrich Drepper <drepper@cygnus.com>
10649 * c-common.c (format_char_info): Update comment.
10650 (check_format_info): Recognize 'z' modifier in the same way 'Z'
10651 was recognized. Emit warning for formats new in ISO C99 only
10652 if flag_isoc9x is not set.
10654 Mon Jan 3 12:59:54 2000 Mark P. Mitchell <mark@codesourcery.com>
10656 * config/mips/iris6gld.h: Fix typo in -mabi=n32 specs.
10658 Mon Jan 3 15:33:37 MET 2000 Jan Hubicka <hubicka@freesoft.cz>
10660 * combine.c (expand_compound_operation): Do not convert ZERO_EXTEND to
10661 SIGN_EXTEND, convert SIGN_EXTEND to ZERO_EXTEND.
10662 (make_compound_operation): Choose cheaper alternative between
10663 ZERO_EXTEND and SIGN_EXTEND when sign bit is not set.
10665 * regclass.c (op_costs): Remove global variable.
10666 (record_reg_classes): New parameter "op_costs" and "reg_pref".
10667 (record_operand_costs): Break out from ...
10668 (scan_one_insn): ... here.
10669 (dump_regclass): Make dumps nicer.
10670 (regclass): Dump preferrences choosed and changes done during passes.
10672 2000-01-03 Jakub Jelinek <jakub@redhat.com>
10674 * config/sparc/sparc.c (gen_df_reg): Fix for 32bit SPARC.
10676 2000-01-03 Jakub Jelinek <jakub@redhat.com>
10678 * config/sparc/sparc.c (gen_df_reg): New function.
10679 * config/sparc/sparc-protos.h (gen_df_reg): Add prototype.
10680 * config/sparc/sparc.md (movtf_no_e_insn_sp64+1,
10681 movtf_no_e_insn_sp64+2, movtf_no_e_insn_sp64+3, movtf_cc_sp64+1,
10682 movtf_cc_reg_sp64+1): Use it.
10684 2000-01-02 Mark Mitchell <mark@codesourcery.com>
10686 * integrate.c (copy_decl_for_inlining): Clear TREE_ADDRESSABLE on
10687 copied LABEL_DECLs.
10689 Mon Jan 3 02:54:40 2000 Hans-Peter Nilsson <hp@bitrange.com>
10691 * config/i386/i386.c (ix86_expand_unary_operator): Function
10692 definition made void.
10693 (ix86_expand_binary_operator): Update outdated preceding comment.
10694 * config/i386/i386-protos.h (ix86_expand_unary_operator): Update
10697 * config/i386/i386.c (override_options): Fix option-name typo.
10699 2000-01-02 Mark Mitchell <mark@codesourcery.com>
10701 * system.h (CEIL): Define.
10702 * builtins.c (CEIL): Remove.
10703 * expmed.c (CEIL): Likewise.
10704 * expr.c (CEIL): Likewise.
10705 * stor-layout.c (CEIL): Likewise.
10707 2000-01-02 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
10709 * expr.c (store_constructor_field): Fix typo introduced with last
10712 2000-01-01 Mark Mitchell <mark@codesourcery.com>
10714 * tree.h (BINFO_N_BASETYPES): New macro.
10716 2000-01-01 Bernd Schmidt <bernds@cygnus.co.uk>
10718 * expmed.c (emit_store_flag): Prevent losing a pending stack
10719 adjust the same way we prevent losing queued increments.
10721 Fri Dec 31 19:10:31 1999 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
10723 * function.c (update_temp_slot_address): Handle case where sum of
10724 temporary address plus offset in register is a valid address.
10726 1999-12-30 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
10728 * genrecog.c (change_state) Corrected typo.
10730 1999-12-30 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
10732 * system.h (bcopy, bcmp, bzero, index, rindex, atof, atol, free,
10733 getcwd, getenv, getwd, sbrk, strstr, malloc, calloc, realloc,
10734 strerror, getrlimit, setrlimit, abort): Add prototype arguments.
10736 1999-12-30 Bernd Schmidt <bernds@cygnus.co.uk>
10738 * i386.c (ix86_expand_fp_compare): In non-sahf non-TARGET_IEEE
10739 case, expand GT comparisons correctly. Fix a comment before this
10742 1999-12-30 Gabriel Dos Reis <dosreis@cmla.ens-cachan.fr>
10744 * dwarfout.c: Include "frame.h"
10745 * dwarf2out.c: Likewise.
10746 * Makefile.in (dwarfout.o): Depend on frame.h
10747 (dwarf2out.o): Likewise.
10749 1999-12-29 "Martin v. Loewis" <martin@loewis.home.cs.tu-berlin.de>
10751 Restore i386 binary compatibility in Dwarf EH info.
10752 * config/i386/i386.h (DWARF_FRAME_REGISTERS): Define as 17, the old
10753 value of FIRST_PSEUDO_REGISTER.
10754 * frame.h (DWARF_FRAME_REGISTERS): Default to FIRST_PSEUDO_REGISTER.
10755 (struct frame_state): Use DWARF_FRAME_REGISTERS.
10756 * dwarfout.c (output_reg_number): Ditto.
10757 * dwarf2out.c (reg_number, expand_builtin_init_dwarf_reg_sizes): Ditto.
10758 (DWARF_FRAME_RETURN_COLUMN): Default to DWARF_FRAME_REGISTERS.
10760 1999-12-29 Bruce Korb <autogen@linuxbox.com>
10762 * fixinc/fixincl.c(wait_for_pid): sometimes a WSTOPSIG of zero is OK
10763 * fixinc/fixincl.tpl(<hack>TEST_CT): Just do the existence test once
10764 (<hack>_RE_CT): not needed
10765 * fixinc/fixlib.c(is_cxx_header): moved from fixtests.c
10766 rewritten to scan the file text once only
10767 "template<..." test added
10768 * fixinc/fixlib.h(apply_fix_p_t): moved from fixtests.c
10769 (is_cxx_header): declaration added
10770 * fixinc/fixtests.c(is_cxx_header): removed
10771 (apply_fix_p_t): removed
10772 (double_slash_test): is_cxx_header is only called once now
10773 * fixinc/hackshell.tpl: indexing the fixes is now done under DEBUG
10774 * fixinc/inclhack.def(FIXINC_DEBUG): added for testing DEBUG state
10775 within the templates.
10776 The borken spelling of "broken" was fixed.
10777 * fixinc/inclhack.tpl: The $VERBOSE level is used on various messages
10778 The default level depends on FIXINC_DEBUG.
10780 1999-12-29 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
10782 * crtstuff.c: If !inhibit_libc, include stdlib.h/unistd.h.
10783 Otherwise provide a declaration for atexit.
10784 (init_dummy): Make sure dummy call to atexit is nevertheless
10785 called with correct number of args.
10787 * frame.c: Update comments referring to other files.
10789 * libgcc2.c: Likewise.
10791 1999-12-29 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
10793 * cse.c (free_element, get_element): Remove unused prototypes.
10795 * fold-const.c (extract_muldiv): Initialize variables `op0' and
10798 * jump.c (invert_exp): Add explicit braces to avoid ambiguous
10801 Wed Dec 29 12:44:54 1999 Donald Lindsay <dlindsay@cygnus.com>
10803 * configure.in,configure: case arm for mn10200-*-* now sets
10804 float_format=i32 so that float.h will correctly claim "double"
10805 to be 32 bits. Ran autoconf to generate configure from .in file.
10807 Wed Dec 29 10:53:21 1999 Jeffrey A Law (law@cygnus.com)
10809 * pa.md (conditional zero): If op1 is a register, force it into
10810 the same register as op0.
10812 1999-12-28 Mark Mitchell <mark@codesourcery.com>
10814 * tree.h (BINFO_BASETYPES): Improve documentation.
10816 1999-12-28 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
10818 * configure.in (--enable-checking): Use a more portable `for'
10821 1999-12-28 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
10823 * configure.in (AC_DECL_SYS_SIGLIST, xm-siglist.h,
10824 arm/xm-netbsd.h, NO_SYS_SIGLIST): Don't use.
10826 * xm-siglist.h, arm/xm-netbsd.h, mips/xm-news.h, mips/xm-sysv4.h:
10829 * gcc.texi (NO_SYS_SIGLIST, sys_siglist, SYS_SIGLIST_DECLARED):
10830 Delete descriptions.
10832 * i386/osf1elf.h, i386/xm-cygwin.h, i386/xm-mingw32.h, m68k/3b1.h,
10833 m68k/a-ux.h, m68k/dpx2.h, m68k/plexus.h, m68k/xm-hp320.h,
10834 m88k/xm-m88k.h, mips/x-sni-svr4, pa/xm-pa.h, pa/xm-pahpux.h,
10835 pa/xm-papro.h, we32k/xm-we32k.h, winnt/xm-winnt.h, xm-interix.h,
10836 xm-svr4.h: Remove all instances of sys_siglist handling.
10838 1999-12-27 Jakub Jelinek <jakub@redhat.com>
10840 * config/sparc/sparc.md (cmp_zero_qi,
10841 cmp_zero_extendqisi2_andcc_set, cmp_zero_qi_sp64,
10842 cmp_zero_extendqidi2_andcc_set): New patterns.
10844 1999-12-28 Manfred Hollstein <mhollstein@cygnus.com>
10846 * m68k/t-mot3300-gald (CROSS_LIBGCC1): Define to libgcc1-asm.a.
10847 (LIB1ASMSRC, LIB1ASMFUNCS, LIB2FUNCS_EXTRA): Define.
10848 (fpgnulib.c, xfgnulib.c): Add rules.
10849 * m68k/t-mot3300-gas: Likewise.
10851 1999-12-27 Ian Lance Taylor <ian@zembu.com>
10853 * configure.in: Avoid [[ by using test and changequote. Add
10854 changequote required by 1999-12-14 change.
10855 * configure: Rebuild.
10857 1999-12-27 Clinton Popetz <cpopetz@cygnus.com>
10859 * config/mips/mips.h: Fix typo from 12/17/99 libgcc2 fix.
10861 1999-12-27 Christophe Jaillet <jaillet.christophe@caramail.com>
10863 * alias.c (nonlocal_reference_p): Add else for disjoint ifs.
10864 * flow.c (find_use_as_address): Likewise.
10865 * function.c (fixup_var_refs_1): Likewise.
10866 (walk_fixup_memory_subreg, fixup_stack_1): Likewise.
10867 * jump.c (invert_exp, redirect_exp): Likewise.
10868 * loop.c (replace_call_address): Likewise.
10869 (count_nonfixed_reads): Likewise.
10870 * rtlanal.c (modified_between_p): Likewise.
10871 (modified_in_p, volatile_insn_p, volatile_refs_p): Likewise.
10872 (side_effects_p, replace_regs, jmp_uses_reg_or_mem): Likewise.
10873 * unroll.c (remap_split_bivs): Likewise.
10875 1999-12-27 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
10877 * diagnostic.c (v_message_with_decl): Use .* format specifier
10878 instead of building the format specifier width manually.
10880 * system.h (strsignal): Don't check HAVE_STRSIGNAL when
10881 determining whether to provide a prototype. Remove the
10882 sys_siglist clause in the conditional.
10884 1999-12-23 Martin v. Löwis <loewis@informatik.hu-berlin.de>
10886 * fold-const.c (operand_equal_p): Use memcmp to compare string
10888 Suggested by D. J. Bernstein
10890 1999-12-17 Jakub Jelinek <jakub@redhat.com>
10892 * config/h8300/h8300.h (TARGET_H8300H, TARGET_H8300S): Make sure
10893 UNITS_PER_WORD and BITS_PER_WORD are compile time constants when
10895 * config/mips/mips.h (TARGET_64BIT): Likewise.
10896 * config/rs6000/rs6000.h (TARGET_POWERPC64): Likewise.
10897 * libgcc2.c: Use {,U}{HW,W,DW}type and DWunion everywhere instead
10898 of {SI,DI}type and DIunion. Define these types to QI/HI modes on
10899 dsps. Give routines proper names if SI/DI modes are not used.
10900 * longlong.h: Use DWunion instead of DIunion.
10902 1999-12-26 Zack Weinberg <zack@wolery.cumb.org>
10904 * acconfig.h: New ENABLE flags: TREE_CHECKING, RTL_CHECKING,
10905 GC_CHECKING, GC_ALWAYS_COLLECT.
10906 * configure.in: Allow --enable-checking with an argument
10907 listing check modes to enable.
10908 * config.in, configure: Rebuilt.
10909 * ggc-page.c, ggc-simple.c: Define GGC_POISON (and
10910 GGC_ALWAYS_VERIFY for ggc-simple.c) only if
10911 ENABLE_GC_CHECKING. Define GGC_ALWAYS_COLLECT only if
10912 ENABLE_GC_ALWAYS_COLLECT.
10913 * rtl.h, rtl.c: Change ENABLE_CHECKING to ENABLE_RTL_CHECKING
10915 * tree.h, tree.c: Change ENABLE_CHECKING to
10916 ENABLE_TREE_CHECKING throughout.
10918 Sun Dec 26 07:48:20 1999 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
10920 * fold-const.c (fold_truthop): Properly check for FP RHS.
10922 1999-12-24 Mark Mitchell <mark@codesourcery.com>
10924 * toplev.h (note_deferall_of_defined_inline_function): Declare.
10925 * toplev.c (note_deferral_of_defined_inline_function): New
10926 function, split out from ...
10927 (rest_of_compilation): ... here. Use it.
10929 Fri Dec 24 12:34:26 1999 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
10931 * expr.c (store_constructor): Don't call clear_storage if size is
10934 1999-12-24 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
10936 * Makefile.in (toplev.o): Depend on loop.h.
10938 * dwarfout.c: Include tm_p.h.
10940 * emit-rtl.c (restore_emit_status): Mark parameter with
10943 * final.c (final_scan_insn): Likewise.
10945 * flow.c (flow_nodes_print, flow_exits_print, flow_loops_cfg_dump,
10946 flow_loop_nested_p, flow_loop_exits_find, flow_loop_nodes_find,
10947 flow_depth_first_order_compute, flow_loop_pre_header_find,
10948 flow_loop_tree_node_add, flow_loops_tree_build,
10949 flow_loop_level_compute, flow_loops_level_compute,
10950 flow_loop_outside_edge_p): Add prototypes.
10951 (recompute_reg_usage): Mark parameters with ATTRIBUTE_UNUSED.
10953 * ggc-callbacks.c (lang_mark_tree, lang_mark_false_label_stack):
10954 Mark with ATTRIBUTE_NORETURN.
10956 * hash.c (hash_newfunc): Mark parameter with ATTRIBUTE_UNUSED.
10958 * local-alloc.c (no_conflict_p): Likewise.
10960 * loop.c (insert_bct): Hide definitions of variables with hidden
10962 (note_reg_stored): Mark parameter with ATTRIBUTE_UNUSED.
10964 * regclass.c (memory_move_secondary_cost): Mark variable `mem'
10965 with ATTRIBUTE_UNUSED.
10966 (record_reg_classes): Mark parameter with ATTRIBUTE_UNUSED.
10967 (reg_scan): Likewise.
10969 * reload.c (find_reloads): Remove unused variables `changed'.
10971 * reload1.c (reload_reg_class_lower): Don't unnecessarily cast
10973 (allocate_reload_reg): Mark parameter with ATTRIBUTE_UNUSED.
10974 Remove unused variable `insn'.
10976 * toplev.c: Include loop.h.
10977 (report_file_and_line): Remove unnecessary prototype.
10979 * tree.c (build_block): Mark parameter with ATTRIBUTE_UNUSED.
10981 * unroll.c (biv_total_increment): Likewise.
10983 Thu Dec 23 23:15:22 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
10985 * reload1.c (emit_input_reload_insns): Restore old behaviour
10986 wrt. 'special' reloads.
10988 1999-12-23 Zack Weinberg <zack@wolery.cumb.org>
10990 * Makefile.in (ggc-simple.c, ggc-page.c): Don't depend on
10991 hash.h. (cse.c): Don't depend on hashtab.h.
10993 * cse.c: Don't include hashtab.h.
10994 (hash_cse_reg_info, cse_reg_info_equal_p): Delete prototypes
10996 * ggc-simple.c: Don't include hash.h.
10998 1999-12-22 Jason Merrill <jason@casey.cygnus.com>
11000 * dwarf2out.c (add_abstract_origin_attribute): Call
11001 gen_abstract_function on our function context.
11003 Thu Dec 23 03:57:10 1999 Hans-Peter Nilsson <hp@bitrange.com>
11005 * Makefile.in (INTEGRATE_H): Fix typo: INTEGRATE_H, not INTREGRATE_H.
11007 1999-12-23 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
11009 * config/c4x/c4x.c (c4x_address_cost): Add statement to default
11012 1999-12-22 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
11014 * config/c4x/c4x.md (*addqi3_noclobber_reload): Change operand 0
11015 constraints to "a!r".
11017 1999-12-21 Mark Mitchell <mark@codesourcery.com>
11019 * Makefile.in (calls.o): Depend on function.h.
11020 (alias.o): Likewise.
11022 1999-12-21 Bernd Schmidt <bernds@cygnus.co.uk>
11024 * reload1.c (emit_reload_insns): Break out code and variables into...
11025 (input_reload_insns, other_input_address_reload_insns,
11026 other_input_reload_insns, input_address_reload_insns,
11027 inpaddr_address_reload_insns, output_reload_insns,
11028 output_address_reload_insns, outaddr_address_reload_insns,
11029 operand_reload_insns, other_operand_reload_insns,
11030 other_output_reload_insns): ... new static variables, and...
11031 (emit_input_reload_insns, emit_output_reload_insns, do_input_reload,
11032 do_output_reload): ... new functions.
11034 Tue Dec 21 07:06:36 1999 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
11036 * pa.h (FUNCTION_ARG_BOUNDARY): Never return 0.
11038 1999-12-21 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
11040 * md.texi: Add c4x constraints documentation.
11042 1999-12-21 Martin v. Löwis <loewis@informatik.hu-berlin.de>
11044 * config/i386/dgux.c (struct option): Rename to
11045 lang_independent_option.
11046 (struct m_options): Add description field.
11047 (output_options): Rename option type, add sep declaration, output
11048 ix86_cpu_string and ix86_arch_string only if set.
11049 (output_file_start): Rename option type.
11051 Mon Dec 20 23:15:36 1999 Mike Stump <mrs@wrs.com>
11053 * Makefile.in (crtbegin.o, crtend.o, s-crtS): Depend on
11055 (libgcc2.a): Similarly.
11057 Mon Dec 20 23:06:47 1999 David Edelsohn <edelsohn@gnu.org>
11059 * longlong.h (_ARCH_PPC): Only protect add_ssaaaa and sub_ddmmss
11060 with W_TYPE_SIZE == 32. Do not fall through to POWER architecture
11061 for umul_ppmm and smul_ppmm if !_ARCH_PPC and !_ARCH_POWER.
11063 Mon Dec 20 23:02:03 1999 Jeffrey A Law (law@cygnus.com)
11065 * fold-const.c (real_hex_to_f): Remove unused "isldouble" variable.
11066 Remove redundant initialization of "frexpon" and "expon".
11068 Mon Dec 20 15:00:04 1999 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
11070 * tree.c (real_value_from_int_cst): Clear REAL_VALUE_TYPE object first.
11072 * expr.c (store_constructor): New argument SIZE; pass to clear_storage.
11073 (store_constructor_field, expand_expr): Pass new arg.
11075 1999-12-20 Mark Mitchell <mark@codesourcery.com>
11077 * Makefile.in (explow.o): Depend on function.h.
11079 * stor-layout.c (set_sizetype): Fix typo.
11081 1999-12-20 Bernd Schmidt <bernds@cygnus.co.uk>
11083 * function.c (cfun): Renamed from current_function. All users
11085 * function.h (cfun): Rename declaration as well.
11087 * reload.h (struct insn_chain): Change live_throughout and dead_or_set
11088 to be of type regset_head, not regset. All users changed by adding
11090 * reload1.c (new_insn_chain): Don't allocate regsets, just clear them.
11092 1999-12-20 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
11094 * config/c4x/rtems.h: New file.
11096 1999-12-19 Bernd Schmidt <bernds@cygnus.co.uk>
11098 * reload1.c (spill_failure): Take class of failed reload as argument
11099 and print it. Caller changed.
11101 Sun Dec 19 07:50:42 1999 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
11103 * rs6000.h (SUBTARGET_DEFAULT): New macro.
11104 (TARGET_SWITCHES): Allow subtargets to default switches.
11105 * rs6000/vxppc.h (SUBTARGET_DEFAULT): New macro.
11107 1999-12-18 Mark Mitchell <mark@codesourcery.com>
11109 * crtstuff.c (__do_global_ctors_aux): Do not call __cxa_finalize
11112 Sat Dec 18 20:42:43 1999 Richard Henderson <rth@cygnus.com>
11114 * cccp.c (main): Define __STDC_VERSION__ as necessary.
11115 * cppinit.c (cpp_handle_option): Likewise.
11117 * ginclude/stdarg.h (va_copy): Use __STDC_VERSION__ to
11118 determine when to define.
11120 Sat Dec 18 20:34:00 1999 Richard Henderson <rth@cygnus.com>
11122 * alpha.c (alpha_emit_conditional_move): If TARGET_FIX, handle
11123 cmove with mismatched test and data modes.
11125 Sat Dec 18 20:30:15 1999 Richard Henderson <rth@cygnus.com>
11127 * c-typeck.c (c_expand_start_case): Don't warn for long switch
11130 Sat Dec 18 16:28:43 1999 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
11132 * alias.c: Minor reformatting.
11133 * flow.c: Likewise.
11134 * regs.h: Likewise.
11135 * stor-layout.c: Likewise.
11136 * fold-const.c: Likewise.
11137 (OVERFLOW_SUM_SIGN): Renamed from overflow_sum_sign.
11138 (struct cb_args, const_binop_1, const_binop): Pass type of arg,
11140 (size_int_wide): Cache nodes even if garbage collecting.
11141 (twoval_comparison_p): Reenable SAVE_EXPR case if operand
11142 of SAVE_EXPR has no side effects.
11143 * cse.c: Move a comment.
11144 * tree.c: Minor reformatting.
11145 (int_size_in_bytes): Return -1 if constant overflows.
11147 Sat Dec 18 18:30:20 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
11149 * unroll.c (copy_loop_body): Don't treat a REG like a PLUS.
11151 1999-12-18 10:42 -0800 Zack Weinberg <zack@wolery.cumb.org>
11153 * objc/objc-parse.c: Regenerate. This file must be rebuilt
11154 after any change to c-parse.in, even if objc-parse.y didn't
11157 1999-12-18 David S. Miller <davem@redhat.com>
11159 * toplev.c (rest_of_compilation): Restore BLOCK tree
11160 reconstruction and branch shortening changes lost in
11161 December 18th change.
11163 Sat Dec 18 05:29:29 1999 Scott Bambrough <scottb@netwinder.org>
11165 * config/arm/linux-elf.h: Change all instances of
11166 ARM_FLAG_SHORT_BYTES to ARM_FLAG_MMU_TRAPS.
11167 * config/arm/uclinux-elf.h: Likewise.
11169 1999-12-18 Gabriel Dos Reis <gdr@codesourcery.com>
11171 * toplev.c (notice, vmessage, v_message_with_file_and_line,
11172 v_message_with_decl, file_and_line_for_asm,
11173 v_error_with_file_and_line, v_error_with_decl, v_error_for_asm,
11174 verror, vfatal, v_warning_with_file_and_line, v_warning_with_decl,
11175 v_warning_for_asm, vwarning, vpedwarn, v_pedwarn_with_decl,
11176 v_pedwarn_with_file_and_line, vsorry, vnotice, count_error,
11177 pfatal_with_name, fatal_io_error, need_error_newline,
11178 last_error_function, last_error_tick, announce_function,
11179 default_print_error_function, print_error_function,
11180 report_error_function, fnotice, error_with_file_and_line,
11181 error_with_decl, error_for_asm, error, set_fatal_function, fatal,
11182 _fatal_insn, _fatal_insn_not_found, warning_with_file_and_line,
11183 warning_with_decl, warning_for_asm, warning, pedwarn,
11184 pedwarn_with_decl, pedwarn_with_file_and_line, sorry): Move to
11186 (compile_file): Use fnotice instead of notice. Adjust call.
11188 * diagnostic.c: New file.
11190 * Makefile.in (OBJS): Include diagnostic.o
11191 (diagnostic.o): Define dependence.
11193 1999-12-18 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
11195 * config/c4x/c4x.h (ASM_OUTPUT_XXX): Wrap in do-while(0).
11198 1999-12-18 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
11200 * config/c4x/c4x.md (rpts_top, rptb_top): Add clobbers for rs and re.
11202 1999-12-17 13:21 -0800 Zack Weinberg <zack@rabi.columbia.edu>
11204 * fixtests.c (is_cxx_header): New fn, split out of
11206 (else_endif_label): Allow "#endif // comment" in C++ headers,
11207 as determined by is_cxx_header.
11208 * fixfixes.c (else_endif_label_fix): Update comment.
11209 * fixincl.c: Don't output VERB_PROGRESS lines if stdout is not
11211 * genfixes: Correct double thinko in commandline parsing.
11212 * hackshell.tpl: Generate correct sh syntax for bypass
11215 * inclhack.def (all): Whenever an inserted preprocessor
11216 conditional is split over multiple lines, use double
11217 backslashes in this file so the fixed header will be readable.
11219 (AAB_fd_zero_glibc_1_0): Rename to AAB_fd_zero_asm_posix_types_h
11220 and add bypass entry for correct version of this header.
11221 (AAB_fd_zero_glibc_1_x): Rename to AAB_fd_zero_gnu_types_h.
11222 (AAB_fd_zero_glibc_2_0): Rename to AAB_fd_zero_selectbits_h.
11224 (hpux8_bogus_inlines): New fix, split from...
11225 (ultrix_atof_param) ... here.
11226 (math_expression): Add bypass entry keyed to glibc comment
11227 indicating the problem has been dealt with; disable
11228 unnecessary sed operations; update commentary.
11229 (math_gcc_ifndefs): Rename to math_huge_val_from_dbl_max,
11230 add select and bypass entries, simplify shell operation.
11231 (math_huge_val_ifndef): Split from math_gcc_ifndefs.
11233 (ip_missing_semi, rs6000_param, tinfo_cplusplus,
11234 ultrix_atof_param): Add select entry.
11235 (stdio_va_list, sunos_mather_decl): Add bypass entry.
11236 (systypes_for_aix, sysv86_string, tinfo_cplusplus): Put the
11237 comments with the fixes they describe.
11239 * c-parse.in (string action): Do not warn about ANSI string
11240 concatenation in system headers. Affects C parser only.
11241 * c-parse.y, c-parse.c, c-parse.h: Rebuild.
11243 1999-12-16 Jakub Jelinek <jakub@redhat.com>
11245 * config/sparc/sparc.h (TARGET_ARCH32): Exchange ifdefs so that if
11246 compiling libgcc2 the macro depends always on arch cpp defines.
11248 Fri Dec 17 10:34:16 1999 Richard Earnshaw <rearnsha@arm.com>
11250 * loop.c (insert_loop_mem): Don't record MEMs from inside
11253 Fri Dec 17 12:08:11 MET 1999 Jan Hubicka <hubicka@freesoftr.cz>
11255 * regclass.c (regclass): Do not use flowgraph when not optimizing.
11257 * gcse.c (try_replace_reg): Do replacements in REG_EQUAL/REG_EQUIV
11258 notes too, create one when replacement failed, attempt to simplify
11260 (cprop_insn): Propagate even to registers mentioned only in REG_EQUAL
11261 or REG_EQUIV notes.
11263 1999-12-16 Mark Mitchell <mark@codesourcery.com>
11265 * crtstuff.c (__dso_handle): Declare.
11266 (__cxa_finalize): Likewise.
11267 (do_global_dtors_aux): Call __cxa_finalize if __dso_handle is
11270 * invoke.texi: Document -fuse-cxa-atexit.
11272 * tree.h (ptr_type_node): Document.
11273 (const_ptr_type_node): Likewise.
11275 Fri Dec 17 01:32:38 MET 1999 Jan Hubicka <hubicka@freesoft.cz>
11277 * regmove.c (optimize_reg_copy_1): Ignore LOOP notes.
11278 (optimize_reg_copy_2): Likewise.
11279 (optimize_reg_copy_3): Likewise.
11280 (fixup_match_2): Likewise.
11281 (regmove_optimize): Likewise.
11282 (fixup_match_1): Liekwise.
11284 * i386.md (HI to SImode promoting splitters): Rewrite.
11285 (pushsf mem peep2): New.
11286 (testhi to andhi peep2): Remove.
11287 * i386.h (x86_promote_QImode): New.
11288 (TARGET_PROMOTE_QImode): New.
11289 (PREDICATE_CODES): Add promotable_binary_operator.
11290 * i386.c (x86_promote_QImode0: New.
11291 (promotable_binary_operator): New.
11292 * i386-protos.h (promotable_binary_operator): New.
11294 * i386.md (test?i_1): Use "nonmemory_operand" predicate, simplify
11296 (one_cmpl?i*): Pass "NOT" to unary_operator_ok.
11298 1999-12-16 Mark Mitchell <mark@codesourcery.com>
11300 * Makefile.in (INTREGRATE_H): Rename to INTEGRATE_H.
11301 * function.c (insert_block_after_note): Remove.
11302 (retrofit_block): Likewise.
11303 (identify_blocks): Fix indentation.
11304 (reorder_blocks): Don't NULL out NOTE_SOURCE_FILE for a
11305 NOTE_INSN_BLOCK_BEG or NOTE_INSN_BLOCK_END.
11306 * function.h (insert_block_after_note): Remove prototype.
11307 (retrofit_block): Likewise.
11308 * integrate.c (expand_inline_function): Don't call
11309 find_loop_tree_blocks. Use expand_start_bindings_and_block, not
11310 just expand_start_bindings. Use the block_map to remap old
11311 NOTE_BLOCKs to new ones.
11312 (integrate_decl_tree): Keep track of remapped blocks.
11313 * integrate.h (struct inline_remap): Add block_map.
11314 * stmt.c (expand_fixup): Don't try to retrofit_blocks. Just set
11315 NOTE_BLOCK on the notes.
11316 (expand_start_bindings): Rename to ...
11317 (expand_start_bindings_and_block): Add parameter. Set NOTE_BLOCK.
11318 (expand_end_bindings): Set NOTE_BLOCK.
11319 * toplev.c (rest_of_compilation): In function-at-a-time-mode,
11320 reconstruct the BLOCK tree.
11321 * tree.h (expand_start_bindings): Macroize. Call ...
11322 (expand_start_bindings_and_block): New function.
11324 1999-12-16 Jakub Jelinek <jakub@redhat.com>
11326 * config/sparc/sparc.c (print_operand): Cast fprintf arguments
11327 to match the format.
11329 1999-12-16 David S. Miller <davem@redhat.com>
11331 * expr.c (emit_move_insn_1): Only emit clobbers if one of
11332 the outputs is a SUBREG.
11333 * rtlanal.c (reg_overlap_mentioned_p): Revert December 15th
11336 * config/sparc/sparc.c (epilogue_renumber): Add default case
11339 Thu Dec 16 11:33:57 MET 1999 Jan Hubicka <hubicka@freesoft.cz>
11341 * toplev.c (rest_of_compilation): Run branch shortening after
11344 * regclass.c (loop_depth): Remove
11345 (scan_one_insn): Do not handle LOOP_NOTE insns.
11346 (regclass): Go through basic blocks and set loop_cost
11348 Thu Dec 16 02:56:25 1999 Zack Weinberg <zack@bitmover.com>
11350 * tree.h (DECL_FROM_INLINE): Check DECL_ABSTRACT_ORIGIN too.
11352 Thu Dec 16 10:43:35 MET 1999 Jan Hubicka <hubicka@freesoft.cz>
11354 * i386.md (movqi): Use "nonimmediate_operand" for output operand.
11355 (movstrictqi, movdi, movsf, movdf, movxf): Likewise.
11356 (adddi, addqi, addhi, subdi, subqi, subhi, ffs): Likewise.
11358 Thu Dec 16 02:41:26 1999 Richard Henderson (rth@cygnus.com)
11360 * loop.c (insert_loop_mem): Ignore memory clobbers.
11362 * combine.c (simplify_comparison): Reduce (OP (MINUS A B) 0)
11365 Thu Dec 16 02:26:11 1999 Jeffrey A Law (law@cygnus.com)
11367 * profile.c: Remove redundant #include "output.h".
11369 * h8300.md (HImode preinc peephole): Fix typo.
11371 1999-12-15 Jason Merrill <jason@casey.cygnus.com>
11373 * function.c (retrofit_block): Abort if we don't find a suitable insn.
11374 (insert_block_after_note): Abort if we don't have a previous block.
11375 Remove FN parameter.
11376 * function.h: Adjust.
11378 1999-12-15 Mark Mitchell <mark@codesourcery.com>
11380 * builtins.c (expand_builtin_mathfn): Make sure not to expand the
11381 argument more than once.
11383 1999-12-15 Jason Merrill <jason@casey.cygnus.com>
11385 * stmt.c (expand_decl): Expand upper bound of a dynamic array.
11387 1999-12-15 Jakub Jelinek <jakub@redhat.com>
11389 * expr.c (emit_group_load): Use dst mode if src is VOIDmode.
11391 Wed Dec 15 16:11:55 MET 1999 Jan Hubicka <hubicka@freesoft.cz>
11393 * function.c (PREFERRED_STACK_BOUDNARY): Provide default value.
11394 (assign_stack_local_1): Limit alignment to PREFERRED_STACK_BOUNDARY,
11395 update stack_alignment_needed.
11396 (prepare_function_start): Initialize stack_alignment_needed
11397 * function.h (struct function): Add field stack_alignment_needed.
11399 Wed Dec 15 14:55:24 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
11401 * caller-save.c (insert_one_insn): Returns struct insn_chain *.
11402 Handle live_throughout / dead_or_set instead of live_before /
11404 (save_call_clobbered_regs): Get register livenessinformation from
11405 chain->live_throughout.
11406 (add_stored_regs): New function.
11407 (insert_restore, insert_save): Add restored / saved registers to
11409 * global.c (reg_dies): New parameter chain.
11410 (reg_becomes_live): Third parameter is regs_set now.
11411 Changed all callers.
11412 (reg_dies): New parameter chain. Changed all callers.
11413 (build_insn_chain): Set live_throughout instead of
11414 live_before / live_after.
11415 * reload.h (struct insn_chain): Replace members live_before /
11416 live_after with live_throughout / dead_or_set.
11417 * reload1.c (new_insn_chain): Handle live_throughout / dead_or_set
11418 instead of live_before / live_after.
11419 (maybe_fix_stack_asms, find_reload_regs, finish_spills): Likewise.
11420 (order_regs_for_reload, find_reg, finish_spills): Likewise.
11421 (choose_reload_regs_init): Likewise.
11422 * stupid.c (current_chain, find_clobbered_regs): Delete.
11423 (stupid_life_analysis): Set chain->live_throughout chain->dead_or_set
11424 instead of chain->live_before / chain->live_after.
11425 (mark_hard_ref): New function.
11426 (stupid_mark_refs): Call mark_hard_ref. Clear chain->live_throughout.
11428 1999-12-15 David S. Miller <davem@redhat.com>
11430 * rtlanal.c (reg_overlap_mentioned_p): Handle CONCAT.
11432 Wed Dec 15 15:05:30 MET 1999 Jan Hubicka <hubicka@freesoft.cz>
11434 * flow.c (calculate_loop_depth): Make global, remove prototype,
11435 rewrite to use new loop infrastructure.
11436 (find_basic_block): Remove calculate_loop_depth call.
11437 * toplev.c (rest_of_compilation): Call find_basic_block.
11438 * output.h (calculate_loop_depth): Declare.
11440 * flow.c (dump_flow_info): Dump loop_depth.
11441 (flow_loops_nodes_find): Increase loop_depth for basic block in the
11443 (flow_loops_find): Initialize the loop_depth for each basic block.
11445 1999-12-15 Jason Merrill <jason@casey.cygnus.com>
11447 * tree.c (decl_function_context): Handle virtual functions.
11449 * tlink.c (scan_linker_output): Don't look in demangled name when
11450 looking for linker output keywords.
11452 * dwarfout.c (output_type): We can defer namespace-scope classes.
11454 Wed Dec 15 01:23:29 1999 Jeffrey A Law (law@cygnus.com)
11456 * regclass.c (record_reg_classes): Update comment for merging
11457 register class preferences in reg->reg copies. Tighten conditions
11458 for merging register class preferences in reg->reg copies.
11460 Wed Dec 15 02:19:32 1999 David Edelsohn <edelsohn@gnu.org>
11462 * rs6000.md (tablejumpdi): Generate DImode LABEL_REF.
11464 1999-12-14 Geoff Keating <geoffk@cygnus.com>
11466 * config/m68k/m68020-elf.h (ENDFILE_SPEC): Delete.
11467 (INIT_SECTION_ASM_OP): Delete.
11468 (FINI_SECTION_ASM_OP): Delete.
11469 (STARTFILE_SPEC): Define to hold just crtbegin.o.
11471 1999-12-14 Jason Merrill <jason@casey.cygnus.com>
11473 * dwarf2out.c (add_abstract_origin_attribute): Do call abort if
11474 the abstract origin wasn't emitted.
11476 * dwarf2out.c (class_scope_p): New fn.
11477 (gen_subprogram_die): Use it.
11478 (gen_variable_die): Use it. Tweak logic.
11479 (gen_struct_or_union_type_die): Check context_die to determine
11480 if we're function-local.
11481 (dwarf2out_decl): Check DECL_BUILT_IN, not DECL_FUNCTION_CODE.
11483 1999-12-14 Bernd Schmidt <bernds@cygnus.co.uk>
11485 * loop.c (check_dbra_loop): Can't reverse a biv that has
11486 maybe_multiple set.
11488 1999-12-14 Nick Clifton <nickc@cygnus.com>
11490 * config/arm/arm.c: Add support for -mcpu=arm720 command line
11493 Tue Dec 14 18:13:32 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
11495 * loop.c (strength_reduce): Fix sign of giv lifetime calculation
11496 for givs made from biv increments.
11498 Tue Dec 14 08:11:27 1999 Richard Henderson <rth@cygnus.com>
11500 * configure.in (alpha-osf, alpha-linux): Handle ev6[78].
11501 * alpha.c (override_options): Recognize -mcpu=ev67.
11502 * alpha.h (CPP_CPU_EV67_SPEC): New.
11503 (CPP_CPU_DEFAULT_SPEC): Examine TARGET_CPU_DEFAULT to use it.
11504 (EXTRA_SPECS): Update.
11506 Tue Dec 14 08:04:28 1999 Richard Henderson <rth@cygnus.com>
11508 * cppp.c (main): Set trigraphs and __STRICT_ANSI__ as
11509 appropriate for -lang-c89 and -std=*.
11510 * cppinit.c (cpp_handle_option): Likewise.
11511 (new_pending_define): New, split out from cpp_handle_option.
11512 * gcc.c (default_compilers): Don't define __STRICT_ANSI__
11513 or enable trigraphs for -ansi/-std=*.
11515 * ginclude/stdarg.h (__va_copy): New.
11516 (va_copy): Don't define for C89.
11518 Tue Dec 14 08:37:27 CST 1999 Clinton Popetz <cpopetz@cygnus.com>
11520 * config/arm/arm.md (mulsidi3adddi, umulsidi3adddi): New patterns
11521 for long long multiply-accumulate.
11523 Tue Dec 14 13:51:38 MET 1999 Jan Hubicka <hubicka@freesoft.cz>
11525 * regclass.c (scan_one_insn): Set loop_cost to 1 when
11526 optimizing for size.
11528 1999-12-14 Bernd Schmidt <bernds@cygnus.co.uk>
11530 * reload1.c (reload): Can't avoid select_reload_regs/finish_spills
11531 if something changed. Back out that part of yesterday's changes.
11533 * loop.c (loop_max_reg): New static variable.
11534 (loop_optimize): Initialize it. Eliminate one unnecessary call to
11536 (scan_loop): Call reg_scan_update whenever we may have added new
11537 registers, and update loop_max_reg.
11539 Tue Dec 14 12:07:29 MET 1999 Jan Hubicka <hubicka@freesoft.cz>
11541 * regclass.c (record_reg_classes): Do not do the copying preferrencing
11542 when source does not die.
11544 * regclass.c (record_reg_classes): Handle INOUT operands propertly.
11546 1999-12-14 Jakub Jelinek <jakub@redhat.com>
11548 * config/sparc/linux64.h (TARGET_LIVE_G0,
11549 TARGET_BROKEN_SAVERESTORE): Don't support weird SPARC
11551 * config/sparc/linux.h (TARGET_LIVE_G0,
11552 TARGET_BROKEN_SAVERESTORE): Likewise.
11553 * config/sparc/linux-aout.h (TARGET_LIVE_G0,
11554 TARGET_BROKEN_SAVERESTORE): Likewise.
11556 * config/sparc/sparc.h (SPARC_DEFAULT_CMODEL): Default to CM_32.
11557 (CONDITIONAL_REGISTER_USAGE): For block profiling fix %g4 on sparc64,
11559 (MACHINE_STATE_SAVE, MACHINE_STATE_RESTORE): Use %g4 instead of %g2
11560 as sparc64 block profiling register.
11561 * config/sparc/sparc.c (sparc_override_options): Allow block
11562 profiling with -m32.
11563 (sparc_block_profiler): Use %g4 instead of %g2 as sparc64 block
11564 profiling register.
11565 * config/sparc/linux64.h (MACHINE_STATE_*): Only provide these
11566 macros on TARGET_ARCH32. sparc.h has macros good enough for sparc64.
11567 * config/sparc/sol2.h (MACHINE_STATE_*): Likewise.
11569 * config/sparc/xm-sp64.h: Avoid using __sparc_v9__ when testing
11571 * config/sparc/sparc.h: Likewise.
11572 * config/sparc/xm-sysv4-64.h: Likewise.
11573 * config/float-sparc.h: Likewise.
11574 * glimits.h: Likewise.
11575 * longlong.h: Likewise.
11577 * config/sparc/linux64.h (DEFAULT_VTABLE_THUNKS): Define to 1.
11578 (ASM_IDENTIFY_GCC): Remove.
11580 1999-12-14 Bernd Schmidt <bernds@cygnus.co.uk>
11582 * combine.c (combine_simplify_rtx): Don't make shared rtl.
11583 (simplify_logical): Likewise.
11585 1999-12-14 Mumit Khan <khan@xraylith.wisc.edu>
11587 * cccp.c (INO_T_EQ): Disable inode-based optimization for Cygwin.
11588 * cppfiles.c (INO_T_EQ): Likewise.
11590 1999-12-14 Mumit Khan <khan@xraylith.wisc.edu>
11592 * i386/crtdll.h (STARTFILE_SPEC): Add -pg profiling support.
11593 * i386/mingw32.h (LIB_SPEC): Likewise.
11594 (STARTFILE_SPEC): Likewise.
11595 * i386/uwin.h (LIB_SPEC): Likewise.
11596 (STARTFILE_SPEC): Likewise.
11598 * i386/mingw32.h (SUBTARGET_PROLOGUE): Override Cygwin definition.
11599 * i386/uwin.h (SUBTARGET_PROLOGUE): Likewise.
11601 Mon Dec 13 20:25:29 1999 Jeffrey A Law (law@cygnus.com)
11603 * combine.c (combine_simplify_rtx): Fix order of checks for
11604 (ashiftrt foo C) -> (lt foo (const_int 0)) simplification.
11606 1999-12-13 Clinton Popetz <cpopetz@cygnus.com>
11608 * config/arm/arm.md (*mulsidi3adddi, *umulsidi3adddi) Backed out
11609 12/10/99 change, reapplied to merged-arm-thumb-backend-branch.
11611 1999-12-10 Bernd Schmidt <bernds@cygnus.co.uk>
11613 * hard-reg-set.h (inv_reg_alloc_order): Declare if REG_ALLOC_ORDER is
11615 * regclass.c (inv_reg_alloc_order): New array.
11616 (regclass_init): If REG_ALLOC_ORDER is defined, initialize it.
11618 * reload.h (struct insn_chain): Delete fields group_size, group_mode,
11619 counted_for_groups, counted_for_nongroups. Add fields rld and
11621 * reload.c (push_secondary_reload): Don't set nongroup field of
11623 (push_reload): Likewise.
11624 (find_reloads): Delete code to compute nongroup fields.
11625 * reload1.c (reload_insn_firstobj): New static variable.
11626 (pseudos_counted, spilled_pseudos): Now of type regset_head. All
11628 (calculate_needs, find_tworeg_group, find_group, possible_group_p,
11629 count_possible_groups, modes_equiv_for_class_p, new_spill_reg,
11630 dump_needs, maybe_mark_pseudo_spilled, hard_reg_use_compare): Delete
11632 (count_pseudo, select_reload_regs, copy_reloads, find_reg): New
11634 (struct hard_reg_n_uses): Deleted.
11635 (potential_reload_regs): Deleted.
11636 (init_reload): Initialize spilled_pseudos and pseudos_counted.
11637 (reload): Don't try to allocate reload registers if we already know
11638 we have to make another pass. Call select_reload_regs. Free memory
11639 starting with reload_firstobj when starting another pass.
11640 Don't allocate spilled_pseudos.
11641 (calculate_needs_all_insns): Call copy_reloads for an insn that
11642 needs reloads; don't call calculate_needs.
11643 (spill_cost): New static array.
11644 (used_spill_regs_local): New static variable.
11645 (order_regs_for_reload): Rewrite to lose hard_reg_n_uses and the code
11646 to compute potential_reload_regs.
11647 (find_reload_regs): Completely rewritten to use find_reg.
11648 (allocate_reload_reg): Don't test counted_for_groups or
11649 counted_for_nongroups. Lose NOERROR arg and code to give an error;
11650 all cllers changed.
11651 (choose_reload_regs): Add fallback code that uses the existing
11652 register allocation from find_reload_regs.
11654 Mon Dec 13 00:54:14 1999 Philippe De Muyter <phdm@macqel.be>
11656 * flow.c (create_edge_list): Cast xmalloc return value.
11658 Mon Dec 13 00:47:58 1999 Jeffrey A Law (law@cygnus.com)
11660 * doprnt.c: Remove incorrect comment closure.
11662 * cse.c: Fix a few minor whitespace goofs.
11664 1999-12-13 Don Bowman <don@pixstream.com>
11666 * mips/vxworks.h: Fix problem with comment termination.
11667 (EXTRA_SECTIONS): Add in_sbss.
11668 (EXTRA_SECTION_FUNCTIONS): Corresponding changes.
11670 1999-12-12 David S. Miller <davem@redhat.com>
11672 * cse.c (struct cse_reg_info): Add hash_next member,
11673 reorder rest of struct for better packing on 64-bit
11675 (cse_reg_info_tree): Kill.
11676 (REGHASH_SHIFT, REGHASH_SIZE, REGHASH_MASK, reg_hash,
11677 REGHASH_FN): New custom pow2 hash mechanism.
11679 (HASH_SHIFT, HASH_SIZE, HASH_MASK, HASH, table): Rework to
11680 use a pow2 hash table.
11681 (get_cse_reg_info): Rework to use new REGHASH.
11682 (new_basic_block): Likewise, use HASH_SIZE, and inline
11684 (remove_from_table): Rework to use HASH_SIZE/HASH_MASK,
11685 and inline free_element call.
11686 (lookup_as_function, insert, flush_hash_table, invalidate,
11687 remove_invalid_refs, remove_invalid_subreg_refs, rehash_using_reg,
11688 invalidate_for_call, use_related_value, find_comparison_args,
11689 fold_rtx, equiv_constant, cse_insn, invalidate_memory): Likewise.
11690 (hash_cse_reg_info, cse_reg_info_equal_p, free_element,
11691 get_element): Kill.
11693 Sun Dec 12 21:31:44 1999 Jeffrey A Law (law@cygnus.com)
11695 * cse.c (cse_basic_block): Free qty_table consistently.
11697 1999-12-12 David S. Miller <davem@redhat.com>
11698 Jakub Jelinek <jakub@redhat.com>
11700 * config/sparc/sparc.md (movtf reg/reg split): Don't generate
11701 SUBREGs by hand, gen the appropriate hard reg directly.
11702 (movtf reg/mem split): Likewise and alter_subreg on destination
11704 (movtf mem/reg split): Similarly.
11705 (movdf_cc_sp64): Rename from hidden pattern.
11706 (movtf_cc_hq_sp64): Renamed from movtf_cc_sp64.
11707 (movtf_cc_sp64, following split): New pattern and splitter.
11708 (movdf_cc_reg_sp64): Rename from hidden pattern.
11709 (movtf_cc_reg_hq_sp64): Renamed from movtf_cc_reg_sp64, require
11711 (movtf_cc_reg_sp64, following split): New pattern and splitter.
11713 1999-12-12 Stephen L Moshier <moshier@mediaone.net>
11715 * loop.c (load_mems): Don't hoist written floating point mem
11718 1999-12-12 Mark Mitchell <mark@codesourcery.com>
11720 * except.h (struct eh_queue): Add `next' pointer.
11721 (struct eh_status): Make x_ehqueue a pointer.
11722 (push_ehqueue): Declare.
11723 (pop_ehqueue): Likewise.
11724 * except.c (expand_eh_region_end): Adjust now that ehqueue is a
11726 (expand_fixup_region_end): Likewise.
11727 (expand_leftover_cleanups): Likewise.
11728 (push_ehqueue): Define.
11729 (pop_ehqueue): Likewise.
11730 (emit_cleanup_handler): Use push_ehqueue and pop_ehqueue rather
11731 than doing it inline.
11732 (expand_start_all_catch): Adjust now that ehqueue is a
11734 (mark_eh_queue): Mark all level of the queue.
11735 (mark_eh_status): Adjust now that ehqueue is a
11737 (init_eh_for_function): Allocate ehqueue.
11738 (free_eh_status): Free it.
11739 * stmt.c (expand_cleanups): Save the ehqueue around the cleanup
11740 expansion for a fixup.
11742 1999-12-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
11744 * gthr-single.h (__gthread_active_p): Add prototype arguments.
11746 * libgcc2.c (__udivmoddi4): Remove unnecessary decls.
11747 (__dummy, __builtin_saveregs, __bb_exit_trace_func, __bb_init_prg,
11748 __bb_trace_func, __bb_trace_func_ret, __bb_trace_ret,
11749 function_ptr, getpagesize, __enable_execute_stack,
11750 __enable_execute_stack, __clear_insn_cache,
11751 __enable_execute_stack, __do_global_dtors, __do_global_ctors,
11752 _cleanup, _exit, __default_terminate, __terminate_func,
11753 __terminate, __empty, __throw, new_eh_context,
11754 eh_context_initialize, eh_context_static, eh_context_specific,
11755 get_eh_context, __get_eh_context, __get_eh_info,
11756 init_reg_size_table, eh_threads_initialize,
11757 __get_dynamic_handler_chain, __sjthrow, __sjpopnthrow,
11758 __unwinding_cleanup, throw_helper, __throw, __rethrow,
11759 __pure_virtual): Add prototype arguments.
11760 (__bb_exit_func): Cast a sizeof to long when comparing against one.
11761 Cast a signed value to unsigned long when comparing against one.
11762 (new_eh_context): Wrap in _GTHREADS macro.
11763 (__sjthrow, __sjpopnthrow): Initialize variable `cleanup' at
11765 (in_reg_window): Mark parameters with __attribute__ ((__unused__)).
11766 (throw_helper): Initialize variables `handler_p' and `pc_p'.
11768 1999-12-11 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
11770 * combine.c (record_promoted_value): Remove unused variable
11773 * emit-rtl.c (renumber_insns): Likewise for `old_max_uid'.
11775 * global.c (record_conflicts): Likewise for `j'.
11777 * genoutput.c (output_insn_data): Don't unnecessarily cast away
11780 1999-12-11 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
11782 * i386-protos.h (output_387_binary_op, output_fix_trunc,
11783 output_fp_compare): Constify a char*.
11785 * i386.c (ix86_split_to_parts, ix86_safe_length_prefix): Add
11787 (override_options, ix86_comp_type_attributes, print_operand,
11788 output_387_binary_op, output_fix_trunc, output_fp_compare):
11790 (ix86_sched_reorder): Mark parameter `clock_var' with
11793 * i386.h (DEBUG_PRINT_REG): Constify a char*.
11795 Fri Dec 10 16:12:13 1999 Alexandre Petit-Bianco <apbianco@cygnus.com>
11797 * tree.def (EXPR_WITH_FILE_LOCATION): Temporarily add a third
11798 operand, for use in the Java front-end.
11800 1999-12-10 Ben Collins <bcollins@debian.org>
11802 * configure.in: Fix typo for "-64" in 64bit as check.
11803 * configure: Rebuilt.
11805 1999-12-10 Jakub Jelinek <jakub@redhat.com>
11807 * longlong.h (__sparc_v9__): Use %rDIGIT instead of %DIGIT where
11810 1999-12-10 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
11812 * c-parse.in (string): With -Wtraditional, warn if ANSI string
11813 concatenation is utilized.
11815 * invoke.texi (-Wtraditional): Document it.
11817 1999-12-10 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
11819 * flow.c (flow_loops_dump): Avoid ANSI string concatenation.
11820 Cast a ptrdiff_t to long and pass it to printf with %ld.
11822 1999-12-10 Geoff Keating <geoffk@cygnus.com>
11824 * config/m68k/m68k.h (CONDITIONAL_REGISTER_USAGE): If we have no
11825 68881, we have no 68881 registers at all.
11826 (HARD_REGNO_MODE_OK): It is always OK to put a MODE_FLOAT
11827 value in a 68881 register if it is available.
11829 1999-12-10 Clinton Popetz <cpopetz@cygnus.com>
11831 * config/arm/arm.md (*mulsidi3adddi, *umulsidi3adddi): New patterns
11832 for long long multiply-accumulate.
11834 1999-12-10 Bernd Schmidt <bernds@cygnus.co.uk>
11836 * loop.c (insert_loop_mem): Undo last change.
11838 1999-12-10 David S. Miller <davem@redhat.com>
11840 * config/sparc/sparc.c (fp_sethi_p, fp_mov_p, fp_high_losum_p):
11842 * config/sparc/sparc-protos.h: Add them.
11843 * config/sparc/sparc.h: Add them to PREDICATE_CODES.
11844 (EXTRA_CONSTRAINT_BASE): New macro, handling Q, R, and S
11845 constraints which use those helpers.
11846 (EXTRA_CONSTRAINT): Use this new macro.
11847 * md.texi: Update sparc target constraints documentation.
11848 * config/sparc/sparc.md (clear_sf, clear_sfp, movsf_const_intreg,
11849 movsf_const_high, movsf_const_lo, movsf_insn): Delete.
11850 (movsf_insn_novis_liveg0, movsf_insn_novis_noliveg0,
11851 movsf_insn_vis, movsf_lo_sum, movsf_high): New patterns.
11852 (movsf high/lo_sum split): Rework for new patterns.
11853 (movsf expander): Allow storing fp_zero to memory if ! live_g0.
11855 1999-12-09 Gavin Romig-Koch <gavin@cetus.cygnus.com>
11857 * c-common.c (c_common_nodes_and_builtins):
11858 Create __builtin_ptrdiff_t and __builtin_size_t.
11860 Thu Dec 9 18:05:48 1999 Jeffrey A Law (law@cygnus.com)
11862 * pa/elf.h (MAX_OFILE_ALIGNMENT): Define.
11864 Fri Dec 10 00:53:10 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
11866 * regclass.c (globalize_reg): Re-instate test that allows
11867 fixed registers to be declared as a variable even after functions
11870 Fri Dec 10 00:52:13 MET 1999 Jan Hubicka <hubicka@freesoft.cz>
11872 * i386.md (cpu attribute): Add "athlon".
11873 (athlon_decode): New attribute.
11874 (Athlon scheduling units definitions): New.
11875 (fcmp and shld patterns): Set athlon_decode to "vector".
11876 * i386.c (athlon_cost): New.
11878 (x86_use_leave, x86_push_memory, x86_movx, x86_cmove, x86_deep_branch,
11879 x86_use_sahf): Set for Athlon.
11880 (x86_use_fiop): Unset for Athlon.
11881 (override_options): Define Athlon alignments and "athlon" name.
11882 (x86_adjust_cost): Penalize AGI and delayed latencies for Athlon.
11883 * i386.h (TARGET_ATHLON): New.
11884 (enum processor_type): Add PROCESSOR_ATHLON.
11885 (TARGET_CPU_DEFAULT_SPEC): Set to "-D__tune_athlon__"
11887 (TARGET_CPP_CPU_SPECS): Set -D__tune_athlon__ for Athlon.
11889 1999-12-09 Andreas Jaeger <aj@suse.de>
11891 * loop.c (record_biv): Declare parameter as int.
11893 * config/i386/i386-protos.h: Declare long_memory_operand.
11895 1999-12-09 Mark Mitchell <mark@codesourcery.com>
11897 * tree.c (copy_node): Do zero the TREE_CHAIN, even for an
11898 EXPR_WITH_FILE_LOCATION.
11900 Thu Dec 9 11:36:24 MET 1999 Jan Hubicka <hubicka@freesoft.cz>
11902 * i386.md (neg??, abs?f, one_cmpl?i): Use nonimmediate_operand
11905 * flow.c (recompute_reg_usage): Use basic block info to get loop_depth.
11907 * combine.c (try_combine, distribute_notes): Remove REG_N_REFS
11910 1999-12-09 Jakub Jelinek <jakub@redhat.com>
11912 * config/sparc/linux64.h (TARGET_DEFAULT): Make -mapp-regs
11913 default on linux64 again.
11914 * config/sparc/t-linux64: Add mno-app-regs and non-medlow code
11915 models for multilibing.
11916 * genmultilib: Accept | as alternative separator within a set in
11919 * config/sparc/sparc.h (PROMOTE_FOR_CALL_ONLY): Define.
11921 * calls.c (precompute_arguments): Make sure initial_value contains
11922 value pseudo which CSE expects.
11923 * cse.c (struct set): New entry orig_src.
11924 (cse_insn): Set it early on entry, use it for libcall EQUIV note
11927 Wed Dec 8 22:24:15 1999 Richard Henderson <rth@cygnus.com>
11929 * flow.c (count_basic_blocks): Don't add (use (const_int 0)) insns.
11931 1999-12-08 Bernd Schmidt <bernds@cygnus.co.uk>
11933 * loop.c (insert_loop_mem): Don't hoist volatile mems out of loops.
11935 1999-12-08 Jakub Jelinek <jakub@redhat.com>
11937 * config/sparc/sparc.c (ultra_cmove_results_ready_p,
11938 ultra_fpmode_conflict_exists, ultra_flush_pipeline): Typo fix.
11940 * config/sparc/sparc.h (SPARC_SETHI_P): Don't look at topmost 32 bits
11943 * longlong.h: Merge in changes from glibc.
11944 Also don't clobber %g2 register in 32bit SPARC assembly, so that
11945 -mno-app-regs libgcc can be compiled.
11946 * libgcc2.c: Add defines so that the updated longlong.h
11947 can be used in libgcc2.a. Also, make sure on most architectures
11948 (at least on all which have optimized code in longlong.h defined
11949 for) {SI,W}_TYPE_SIZE is suitable for preprocessor tests.
11951 1999-12-08 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
11953 * config/sparc/sol2-64.h: Same as sol2-sld-64.h, except that
11954 `-m EMULATION' is added to non-default LINK_ARCH_SPECs.
11955 * configure.in: Use sol2-64.h instead of sol2-sld-64.h if linker
11957 * configure: Rebuilt.
11959 Wed Dec 8 03:45:40 1999 Richard Henderson <rth@cygnus.com>
11961 * alpha.c (secondary_reload_class): For !BWX, sub-simode
11962 outputs require a register.
11964 1999-12-08 Brendan Kehoe <brendan@cygnus.com>
11966 * Makefile.in (FPBIT_FUNCS, DPBIT_FUNCS): Add _sf_to_usi
11967 _df_to_usi. Required by some targets, so US_SOFTWARE_GOFAST calls to
11968 functions like dptoul will be resolved.
11969 (libgcc2.a): Make sure that the object files from DPBIT are named
11970 differently (prefix `_dp') from those that would be coming from
11973 1999-12-08 Alexandre Oliva <oliva@lsd.ic.unicamp.br>, Jakub Jelinek <jakub@redhat.com>
11975 * configure.in: When target is sparc* and tm_file contains 64,
11976 test for 64bit support in assembler. If not supported, remove
11977 sparc/t-sol2-64 from target-dependent Makefile fragments.
11978 (AS_SPARC64_FLAG): Define to the assembler flag for 64bit.
11979 (HAVE_AS_OFFSETABLE_LO10): Rework test to use these flags.
11980 (HAVE_AS_REGISTER_PSEUDO_OP): Use config.cache.
11981 * acconfig.h (AS_SPARC64_FLAG): Added.
11982 * configure, config.in: Rebuilt.
11983 * config/sparc/sol2-sld-64.h: Same as sol2.h, if without 64bit
11984 support. Use AS_SPARC64_FLAG.
11986 1999-12-07 Jakub Jelinek <jakub@redhat.com>
11988 * config/sparc/sparc.c (hard_32bit_mode_classes): Mark registers
11989 suitable for holding OFmode values so that gcc works with complex
11991 (hard_64bit_mode_classes): Likewise.
11993 * config/sparc/sparc.md (sethi_di_medlow_embmedany_pic): Fix pattern
11994 so that it is actually matched.
11995 (sethi_di_medlow): Likewise.
11997 * config/sparc/sparc.h (LEGITIMATE_CONSTANT_P): Consider TFmode 0.0L
11998 as legitimate constant if -mvis.
11999 * config/sparc/sparc.md (movtf): Likewise.
12000 (clear_sf): Use const_double_operand.
12001 (clear_sfp, clear_dfp, clear_tf, clear_tfp): New patterns.
12003 * config/sparc/sparc.c (sparc_emit_float_lib_cmp): New function.
12004 * config/sparc/sparc-protos.h (sparc_emit_float_lib_cmp): Prototype.
12005 * config/sparc/sparc.h (*_LIBCALL): Only use for _Q_*
12006 routines, _Qp_* cannot be handled like that now.
12007 (INIT_TARGET_OPTABS): Likewise.
12008 * config/sparc/sparc.md (cmptf): Accept soft float ARCH64.
12009 (seq, sne, sgt, sge, slt, sle, beq, bne, bgt, bge, blt, ble): Call
12010 sparc_emit_float_lib_cmp if ARCH64 and soft float.
12011 (extendsftf2, extenddftf2, trunctfsf2, trunctfdf2, floatsitf2,
12012 floatditf2, fix_trunctfsi2, fix_trunctfdi2, addtf3, subtf3, multf3,
12013 divtf3, sqrttf3): New expanders.
12014 (extendsftf2_hq, extenddftf2_hq, trunctfsf2_hq, trunctfdf2_hq,
12015 floatsitf2_hq, floatditf2_hq, fix_trunctfsi2_hq, fix_trunctfdi2_hq,
12016 addtf3_hq, subtf3_hq, multf3_hq, divtf3_hq, sqrttf3_hq): Rename from
12019 * configure.in (sparc64-*-linux*): Use posix threads if enabled.
12020 * configure: Rebuilt.
12021 * config/sparc/linux64.h: Default to -mcpu=ultrasparc if no
12022 -mcpu is given and we're doing 64bit compiles.
12024 Tue Dec 7 19:22:06 1999 Richard Henderson <rth@cygnus.com>
12026 * loop.h (struct induction): Add multi_insn_incr.
12027 * loop.c (basic_induction_var): New multi_insn_incr argument.
12028 Set it if we search back through previous insns for the biv.
12029 (record_biv): New multi_insn_incr argument; fill in struct induction.
12030 (strength_reduce): Discard an iv with multiple bivs, any of
12031 which require multiple insns to increment.
12033 1999-12-07 Martin v. Löwis <loewis@informatik.hu-berlin.de>
12035 * invoke.texi (C Dialect Options): Remove -flang-c9x, add -std
12038 1999-12-06 David S. Miller <davem@redhat.com>
12040 * combine.c (check_promoted_subreg): Do not conditionalize this upon
12041 PROMOTE_FUNCTION_RETURN.
12043 Mon Dec 6 15:12:14 1999 Jim Wilson <wilson@cygnus.com>
12045 * regmove.c (optimize_reg_copy_1): If no REG_DEAD note, check for
12046 and handle REG_UNUSED note on insn.
12048 * combine.c (force_to_mode, case LSHIFTRT): New local inner_mask. Set
12049 inner_mask instead of mask.
12051 1999-12-06 Brendan Kehoe <brendan@cygnus.com>
12053 * dwarf2out.c (field_byte_offset): As with dwarfout.c, size can be
12054 zero if there was an error.
12056 1999-12-06 Jakub Jelinek <jakub@redhat.com>
12058 * config/sparc/sparc.md (return_losum_di): Fix typo in asm
12061 * longlong.h: Fix clobbers in SPARC asm statements.
12063 * config/sparc/sparc.c (input_operand): Allow HImode and QImode
12064 valid sethi operations when TARGET_ARCH64.
12066 * calls.c (save_fixed_argument_area): If save_mode is BLKmode,
12067 always use move_by_pieces to avoid infinite recursion.
12068 (restore_fixed_argument_area): Likewise.
12070 * combine.c (check_promoted_subreg, record_promoted_value): New
12072 (combine_instructions): Use them to retain nonzero and sign bit
12073 information after SUBREGs are eliminated by optimizations in
12074 this pass if PROMOTE_FUNCTION_RETURN.
12076 * config/sparc/sparc.h (ASM_DECLARE_REGISTER_GLOBAL): Document
12077 .register declaration. Don't use variables with __ prefixes.
12079 Mon Dec 6 12:24:52 1999 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
12081 * fold-const.c (optimize_bit_field_compare): Only use one mode
12082 for both RHS and LHS in non-constant case.
12084 1999-12-06 Nathan Sidwell <nathan@acm.org>
12086 * frame.c (start_fde_sort): Only allocate erratic array, if
12087 linear one was allocated. Return allocated flag.
12088 (fde_insert): Only insert, if there's a valid array.
12089 (fde_end_sort): Split, sort and merge if linear and erratic
12090 arrays exist, else just sort linear one.
12091 (search_fdes): New function. Linear search through original fde
12093 (frame_init): Permit multiple initializations. Cope with
12095 (find_fde): Fallback on linear search, if failed to sort array.
12096 (__deregister_frame_info): Only free sorted array, if we
12099 1999-12-06 Jakub Jelinek <jakub@redhat.com>
12101 * config/sparc/sparc.h (MUST_PASS_IN_STACK): New macro.
12103 1999-12-05 Jakub Jelinek <jakub@redhat.com>
12105 * config/sparc/sparc.c (sparc64_initialize_trampoline): Use gen_flushdi.
12107 1999-12-05 Mark Mitchell <mark@codesourcery.com>
12109 * tree.h (special_function_p): Declare.
12110 * calls.c (special_function_p): Make it global. Don't take `name'
12111 as a parameter. Fix typo in 1999-11-28 change.
12112 (expand_cal): Adjust.
12114 1999-12-04 Mark Mitchell <mark@codesourcery.com>
12116 * tree.def (EXPR_WITH_FILE_LOCATION): Fix comment formatting.
12117 * tree.h (EXPR_WFL_FILENAME): Define in terms of
12118 EXPR_WFL_FILENAME_NODE.
12119 (EXPR_WFL_FILENAME_NODE): Use the second operand slot rather than
12121 * print-tree.c (print_note): Print TREE_PRIVATE and
12124 * dwarf2out.c (add_abstract_origin_attribute): Don't abort when
12125 the original die cannot be found.
12127 * varray.h (varray_head_tag): Add elements_used.
12128 (VARRAY_PUSH): New macro.
12129 (VARRAY_POP): Likewise.
12130 (VARRAY_TOP): Likewise.
12131 Add variants of VARRAY_PUSH and VARRAY_POP for all varray element
12133 * varray.c (varray_init): Initialize elements_used.
12134 * Makefile.in (BASIC_BLOCK_H): Add varray.h.
12135 (INTEGRATE_H): New variable.
12136 (integrate.o): Depend on INTEGRATE_H.
12137 (unroll.o): Likewise.
12139 * function.h (insert_block_after_note): Declare.
12140 * function.c (insert_block_after_note): Split out from ...
12141 (retrofit_block): ... here.
12143 * stmt.c (expand_fixup): Fix typo in comment.
12145 Sat Dec 4 14:13:38 MET 1999 Jan Hubicka <hubicka@freesoft.cz>
12147 * regmove.c (copy_src_to_dest): Remove loop_depth parameter.
12148 (optimize_reg_copy_1): Remove REG_N_REFS updating code.
12149 (optimize_reg_copy_2, copy_src_to_dest, fixup_match_2): Likewise.
12150 (regmove_optimize, fixup_match_1): Likewise.
12152 1999-12-05 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
12154 * flow.c (flow_loops_dump): Add missing argument when calling
12155 flow_loop_nested_p.
12157 1999-12-04 Geoffrey Keating <geoffk@cygnus.com>
12158 Greg McGary <gkm@gnu.org>
12160 * c-common.c (enum attrs): Add A_NO_LIMIT_STACK.
12161 (init_attributes): Add A_NO_LIMIT_STACK.
12162 (decl_attributes): Handle A_NO_LIMIT_STACK.
12163 * c-decl.c (duplicate_decls): Handle DECL_NO_LIMIT_STACK.
12164 * explow.c (allocate_dynamic_stack_space) [!HAVE_allocate_stack]:
12165 Handle stack bounds checking.
12166 * flags.h (flag_stack_check): Use the word 'probe' rather than
12167 'check', because the flag doesn't actually cause any checking to
12169 * function.c (expand_function_start): Set
12170 current_function_limit_stack.
12171 * function.h (struct function): Add limit_stack.
12172 (current_function_limit_stack): Define.
12173 * invoke.texi (Code Gen Options): Document new options.
12174 * rtl.h: Declare stack_limit_rtx.
12175 * toplev.c (stack_limit_rtx): New variable.
12176 (decode_f_option): Handle new options -fstack-limit-register=REG,
12177 -fstack-limit-symbol=IDENT, -fno-stack-limit.
12178 (main): Add stack_limit_rtx as GC root.
12179 * tree.h (DECL_NO_LIMIT_STACK): New macro.
12180 (struct tree_decl): New member no_limit_stack.
12182 * config/rs6000/rs6000.c (rs6000_allocate_stack_space): Handle
12184 * config/rs6000/rs6000.md (allocate_stack): Handle stack_limit_rtx.
12185 (conditional_trap+1): Get new mnemonic correct.
12186 (conditional_trap+2): New pattern for DImode traps.
12188 * config/m68k/m68k.c (output_function_prologue): Handle
12190 * config/m68k/m68k.md (trap): New insn.
12191 (conditional_trap): New insn.
12192 * md.texi (Standard Names): Document `trap' and
12193 `conditional_trap'.
12194 * optabs.c (gen_cond_trap): Use start_sequence()/end_sequence()
12195 so a cc0 setter doesn't get emitted at some random place in the
12198 * config/i960/i960.md (trap): New insn.
12199 (conditional_trap): New expander.
12200 (conditional_trap+1, conditional_trap+2): New insns for signed
12201 and unsigned cases.
12202 * config/i960/i960.c (i960_function_prologue): Use
12203 STARTING_FRAME_OFFSET. Handle stack_limit_rtx.
12205 Thu Dec 2 21:22:45 1999 Greg McGary <gkm@gnu.org>
12206 Geoffrey Keating <geoffk@cygnus.com>
12208 * flags.h (warn_padded, warn_packed): Add global var decls.
12209 * toplev.c (warn_padded, warn_packed): Add global var defns.
12210 (W_options): Add warnings `-Wpacked' and `-Wpadded'.
12211 * stor-layout.c (layout_record): Add local variable `type'
12212 to hold often-used TREE_TYPE (field). Add local variable
12213 `unpacked_align' to hold alignment that would be in force
12214 if no `packed' attribute were present. Warn if `packed' attribute
12215 is unnecessary, or even harmful. Warn when gcc inserts padding
12216 to satisfy alignment requirements of members. Use NULL_TREE
12217 when checking whether var_size is set.
12218 * invoke.texi: Document new flags.
12220 1999-12-03 Nathan Sidwell <nathan@acm.org>
12222 * frame.c (fde_split): Reimplement to avoid variable sized array.
12224 Thu Dec 2 18:59:48 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
12226 * combine.c (try_combine): Before fixing up LOG_LINKS for the
12227 i3_subst_into_i2 case, check that GET_CODE (PATTERN (i2)) == PARALLEL.
12229 1999-12-02 Gavin Romig-Koch <gavin@cygnus.com>
12231 * invoke.texi: Document the mips option -mno-crt0
12233 1999-12-02 Mike Karr <mkarr@mathworks.com>
12235 * cccp.c (argdata): Added free_ptr member.
12236 (macroexpand): Initialize free_ptr of each argument. When an
12237 argument's buffers are freed, if the argument's free_ptr corresponds
12238 to a buffer on the input stack, then return the free_ptr to that stack
12239 frame, otherwise, free it.
12240 (macarg): If an argument begins and ends on the same input stack level,
12241 then transfer the free_ptr of that buffer to the argument in case
12242 the stack is popped during the processing of a subsequent argument.
12244 1999-12-02 Bernd Schmidt <bernds@cygnus.co.uk>
12246 * loop.c (note_reg_stored): New function.
12247 (struct note_reg_stored_arg): New structure.
12248 (try_copy_prop): Change to be more conservative; only replace within
12249 one extended basic block and stop replacing if a store to the
12250 replacement reg is seen.
12252 1999-12-02 Nick Clifton <nickc@cygnus.com>
12254 * config/fp-bit.c: Initialise all fields of the NAN
12257 * c-lex.c (check_newline): Pass pragma_getc and pragma_ungetc
12260 Wed Dec 1 18:16:38 1999 Jan Hubicka <hubicka@freesoft.cz>
12262 * i386.md (extend?f?f2): Force the input into a register, not
12265 1999-12-01 Jakub Jelinek <jakub@redhat.com>
12267 * config/sparc/sparc.md (movsf_const_intreg): Add constraints for
12269 (movdf_const_intreg_sp32): Likewise. Prefer the memory load
12270 alternative because setting up 64bit constant is usually costly,
12271 especially when reload is in progress or completed.
12272 (movdf_const_intreg_sp64): Likewise.
12273 (movdf_const_intreg split): Fix building up constants when
12274 HOST_BITS_PER_WIDE_INT is 64 yet long is 32bit.
12276 Wed Dec 1 16:51:22 1999 Jeffrey A Law (law@cygnus.com)
12278 * combine.c (if_then_else_cond): Use const_true_rtx instead of
12279 const1_rtx for return values in EQ/NE comparison against (const_int 0)
12282 * mn10300.c (REG_SAVE_BYTES): Allocate space for AM33 registers.
12283 (asm_file_start): Emit .am33 into assembly file when compiling for
12285 (print_operand_address): Handle POST_INC addresses.
12286 (can_use_return_insn, initial_offset): Check AM33 registers too.
12287 (expand_prologue): Check & save AM33 registers too.
12288 (expand_epilogue): Similarly.
12289 (secondary_reload_class): Handle AM33 specific secondary reloads.
12290 (output_tst): Emit efficient code for the AM33 too.
12291 * mn10300.h (CPP_SPEC, TARGET_AM33): Define.
12292 (TARGET_SWITCHES): Add -mam33 switch.
12293 (FIRST_PSEUDO_REGISTER): Handle new AM33 registers.
12294 (FIXED_REGISTERS, CALL_USED_REGISTERS): Likewise.
12295 (REG_ALLOC_ORDER, CONDITIONAL_REGISTER_USAGE): Likewise.
12296 (HARD_REGNO_MODE_OK, MODES_TIEABLE_P): Likewise.
12297 (enum reg_class, REG_CLASS_NAMES): Likewise.
12298 (REG_CLASS_CONTENTS, REGNO_REG_CLASS): Likewise.
12299 (INDEX_REG_CLASS, REG_CLASS_FROM_LETTER): Likewise.
12300 (REGNO_OK_FOR_INDEX_P, PREFERRED_RELOAD_CLASS): Likewise.
12301 (PREFERRED_OUTPUT_RELOAD_CLASS, LIMIT_RELOAD_CLASS): Likewise.
12302 (REGISTER_MOVE_COST, REGISTER_NAMES): Likewise.
12303 (HAVE_POST_INCREMENT): Define.
12304 (GO_IF_LEGITIMATE_ADDRESS): Allow POST_INC addresses for the AM33.
12305 (GO_IF_MODE_DEPENDENT_ADDRESS): POST_INC is a mode dependent address.
12306 * mn10300.md (movqi, movhi, addsi, subsi): Add AM33 variants.
12307 (mulsi, andsi, iorsi, xorsi, notsi): Likewise.
12308 (ashiftsi, lshiftrtsi, ashiftrtsi): Likewise.
12309 (zero_extend to SI from QI/HI): Likewise.
12310 (sign_extend to SI from QI/HI): Likewise.
12311 (mulsidi3, umulsidi3): New patterns for the AM33.
12312 (tstsi with zero extension from QI/HI): Add AM33 variants.
12313 (movsi, movsf, movdi, movdf): Generate efficient code for the AM33 too.
12314 (return_internal_regs, store_movm): Handle new AM33 registers.
12315 * t-mn10300 (MULTILIB_OPTIONS, MULTILIB_DIRNAMES): Define.
12316 (LIBGCC, INSTALL_LIBGCC): Likewise.
12317 * invoke.texi: Document new flags.
12319 Fri Nov 26 10:59:12 CET 1999 Jan Hubicka <hubicka@freesoft.cz>
12321 * i386.md (addsi3_cc): Add "binary_operator_ok" to the condition.
12322 (addsi3_carry): Likewise.
12323 (sbbsi3_cc): Add "binary_operator_ok" to the condition.
12324 (sbbsi3_carry): Likewise.
12325 (mulsi3): Rewrite to expander, ensure that only one operand is memory.
12326 (mulhi3): Likewise.
12327 (test?i_1): Ensure that only one operand is memory.
12328 (conditional move patterns): likewise.
12329 (shift and rotate patterns): Rewrite to expander, add
12330 "binary_operator_ok" to the condition.
12332 * i386.md (QImode patterns): Remove '*' before the 'r' constraints.
12333 * i386.h (procesor_costs): Add movzbl_load field.
12334 (HARD_REGNO_MODE_OK): Accept QImode on non PARTIAL_REGISTER_STALL in
12335 non-Q registers, accept DImode registers anywhere.
12337 (MEMORY_MOVE_COST): Calculate QImode moves correctly.
12338 * i386.c (*_cost): Set value for movxbl_load field.
12340 * (addsi): New add to lea splitter.
12341 (ashlsi): Likewise.
12342 (lea to add/shift peep2): New.
12344 1999-12-01 Mark Salter <msalter@cygnus.com>
12346 * config/mips/elf.h (STARTFILE_SPEC): Add no-crt0.
12347 * config/mips/elf64.h (STARTFILE_SPEC): Add no-crt0.
12348 * config/mips/mips.h (TARGET_SWITCHES): Add no-crt0.
12350 Tue Nov 30 15:20:52 MET 1999 Jan Hubicka <hubicka@freesoft.cz>
12352 * i386.c (ix86_expand_move): Never add clobbers to move patterns.
12353 * i386.md (movsi_xor): New.
12355 (movsi_1, movhi_1, movqi_1): Remove.
12356 (movsi_2): Rename to movsi_1.
12357 (movhi_2): Rename to movhi_1.
12358 (movqi_2): Rename to movqi_1.
12359 (movdi_1): Remove; remove splitter.
12360 (movdi_2): Rename to movdi_1.
12361 (divmodsi4 splitter): Do not emit clobbers for move patterns.
12362 (long move peep2): Do not create QI or HI mode mov0s
12363 (mov -1,reg -> or peep2s): Enable again, rewrite to single peephole.
12365 * i386.md (zero_extend?i?i2): Rewrite to expanders; new patterns,
12368 * i386.md (neg?f2_if): Split "r" and "f" to separate alternatives.
12369 (abs?f2_if): Likewise.
12371 1999-11-30 Alex Samuel <samuel@codesourcery.com>
12373 * ggc.h (ggc_test_and_set_mark): New macro.
12374 (ggc_mark_rtx): Use ggc_test_and_set_mark.
12375 (ggc_mark_tree): Likewise.
12376 (ggc_mark_rtvec): Likewise.
12377 * ggc-common.c (ggc_mark_rtx_children): Reduce recursion.
12379 1999-11-30 Jason Merrill <jason@casey.cygnus.com>
12381 * dwarf2out.c (scope_die_for): Only handle types. Only search for
12383 (decl_scope_table): Just an array of trees now.
12384 (push_decl_scope): Simplify.
12385 (dwarf2out_init): Adjust.
12386 (local_scope_p): New fn.
12387 (gen_inlined_enumeration_type_die): Don't call scope_die_for.
12388 (gen_inlined_union_type_die, gen_inlined_structure_type_die): Likewise.
12389 (gen_typedef_die): Likewise.
12390 (gen_lexical_block_die): Don't call push/pop_decl_scope.
12391 (gen_inlined_subroutine_die): Likewise.
12392 (gen_abstract_function): Set current_function_decl temporarily.
12393 (gen_subprogram_die): Don't check DECL_ABSTRACT to set declaration.
12394 Handle block extern declarations. Don't call push/pop_decl_scope.
12395 (gen_decl_die): Fix logic for block externs.
12397 1999-11-30 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
12399 * calls.c (special_function_p): Remove `realloc' and add `strdup'
12400 to the list of functions which have attribute malloc by default.
12402 1999-11-30 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
12404 * c-lex.c (yylex): With -Wtraditional, when the ANSI type of an
12405 integer constant does not match the traditional type, limit the
12406 warnings to cases where the base of the type is ten.
12408 * invoke.texi (-Wtraditional): Document it.
12410 Tue Nov 30 15:18:35 1999 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
12412 * combine.c (try_combine): Only pass SET or CLOBBER to SET_DEST
12413 * rs6000.md: Only access a CONST_INT with INTVAL
12415 Tue Nov 30 14:21:00 1999 Richard Henderson <rth@cygnus.com>
12417 * lcm.c (compute_laterin): Cast bb->aux to size_t not int.
12418 (compute_nearerout): Likewise.
12419 * ggc-page.c (ggc_page_print_statistics): Explicitly cast
12420 size_t to unsigned long for formatting.
12422 1999-11-30 Jakub Jelinek <jakub@redhat.com>
12424 * config/sparc/sparc.h (FIXED_REGISTERS, CONDITIONAL_REGISTER_USAGE):
12425 Allow the user to override call-used/fixed state of %g2-5
12426 registers from the command line (with the exception of %g4 for
12428 (REG_LEAF_ALLOC_ORDER): Move %g1 and %g4-7 registers to front, so that
12429 there is a higher chance of having a leaf function.
12430 (MACHINE_STATE_SAVE, MACHINE_STATE_RESTORE): Provide separate macros
12431 for ARCH64 which has %ccr register.
12432 * config/sparc/sparc.md (return_losum_si, return_losum_di): New
12434 * config/sparc/sparc.c (eligible_for_epilogue_delay): For the return
12435 insn accept into delay slot any insn which does not use %[ol]
12436 registers. Accept some LO_SUM and shift left by 1 for the normal
12438 (output_function_epilogue): Likewise.
12439 (epilogue_renumber): Added argument which inhibits any renumbering
12440 and just tests if the rtx does not use any %[ol] registers.
12441 (output_return): Reflect above change.
12443 1999-11-30 Jakub Jelinek <jakub@redhat.com>
12445 * config/sparc/sparc.c (sparc_va_arg): Fix sparc64 va_arg
12446 aggregate passing for sizes <= 16 bytes.
12448 1999-11-30 Bernd Schmidt <bernds@cygnus.co.uk>
12450 * cse.c (FIXED_REGNO_P): Delete tests for OVERLAPPING_REGNO_P.
12451 * global.c (global_alloc): Delete [OVERLAPPING_REGNO_P] code.
12452 * reload.c (find_dummy_reload): Likewise.
12453 (find_equiv_reg): Likewise; also for INSN_CLOBBERS_REGNO_P.
12454 * reload1.c (reload_as_needed): Likewise.
12455 * stupid.c (stupid_find_reg): Likewise.
12456 * tm.texi (Obsolete Register Macros): Delete section.
12457 * gmicro.h: Remove all traces of the two macros.
12458 * i386.h: Likewise.
12459 * m88k.h: Likewise.
12460 * mips.h: Likewise.
12462 1999-11-30 Brendan Kehoe <brendan@cygnus.com>
12464 * sparc.h (MASK_FASTER_STRUCTS, TARGET_FASTER_STRUCTS): Define.
12465 (TARGET_SWITCHES): Add -mfaster-structs/-mno-faster-structs flags.
12466 (ROUND_TYPE_ALIGN): Use better value if -mfaster-structs.
12467 * sparc.md (sparclite86x_branch, sparclite86x_shift): New function
12468 units for the sparclite86x chip.
12469 (flush): Revert October 14th change; add SImode specifically.
12470 (flushdi): Copy of flush, but DImode, to avoid genrecog warnings.
12471 * invoke.texi: Document it.
12473 Tue Nov 30 14:58:14 1999 Nick Clifton <nickc@cygnus.com>
12475 * config/mn10200/mn10200.h (PREDICATE_CODES): Add
12476 psimode_truncation_operand.
12478 * config/mn10200/mn10200.c (psimode_truncation_operand): New
12479 function. Return true if the operand is either a MEM valid
12480 for a PSImode address or not a MEM at all.
12482 * config/mn10200/mn10200.md (truncsipsi2): Use
12483 psimode_truncation_operand.
12485 1999-11-30 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
12487 * flow.c (flow_nodes_print, flow_loops_cfg_dump): New functions.
12488 (flow_loop_nested_p, flow_loops_dump, flow_loops_free): Likewise.
12489 (flow_loop_exits_find, flow_loop_nodes_find): Likewise.
12490 (flow_depth_first_order_compute, flow_loop_pre_header_find): Likewise.
12491 (flow_loop_tree_node_add, flow_loops_tree_build): Likewise.
12492 (flow_loop_level_compute, low_loops_level_compute): Likewise.
12493 (flow_loops_find, flow_loop_outside_edge_p): Likewise.
12494 * basic-block.h: Protect from multiple inclusion.
12495 (flow_loops_find, flow_loops_free, flow_loop_dump): Add protoypes.
12496 (struct loops, struct loop): Define structures.
12497 * sbitmap.c (sbitmap_a_subset_b_p): New function.
12498 * sbitmap.h: Protect from multiple inclusion.
12499 (sbitmap_a_subset_b_p): Add prototype.
12500 * Makefile.in (LOOP_H): New macro.
12501 (stmt.o, integrate.o, loop.o, unroll.o): Replace loop.h with LOOP_H.
12503 Tue Nov 30 01:34:47 1999 Philippe De Muyter <phdm@macqel.be>
12505 * cppinit.c (CAT): The argument list of this macro may not contain
12508 1999-11-29 David S. Miller <davem@redhat.com>
12510 Move quantity tables and register equivalence chains into
12511 per-qty and per-register structure arrays respectively.
12512 * cse.c (qty_first_reg, qty_last_reg, qty_mode, qty_const,
12513 qty_const_insn, qty_comparison_code, qty_comparison_const,
12514 qty_comparison_qty): Delete, replace with...
12515 (qty_table): this structure table.
12516 (reg_next_eqv, reg_prev_eqv): Delete, replace with...
12517 (reg_eqv_table): this structure table.
12518 (make_new_qty): Add argument MODE. Caller updated.
12519 Update to use qty_table and reg_eqv_table.
12520 (make_regs_eqv, delete_reg_equiv, insert_regs,
12521 insert, exp_equiv_p, cse_rtx_varies_p, canon_reg,
12522 fold_rtx, equiv_constant, record_jump_cond, cse_insn,
12523 cse_process_notes, cse_main, cse_basic_block): Likewise.
12525 Mon Nov 29 16:56:42 1999 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
12527 * fold-const.c (extract_muldiv, case {MIN,MAX}_EXPR): Reverse
12528 operation if C is negative.
12529 (extract_muldiv, case SAVE_EXPR): Supresss if arg has side effects.
12530 (extract_muldiv, case {PLUS,MINUS}_EXPR): Don't apply distributive
12531 law for some divisions if constant is negative and change other
12532 divisions to the opposite rounding.
12534 * expr.c (store_constructor_field): If bit position is not multiple
12535 of alignment of TARGET's mode, use BLKmode.
12537 * expr.c (expand_expr_unaligned): Add more code from full case
12538 that is needed when OP0 is in a register.
12540 Mon Nov 29 18:09:39 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
12542 * dwarfout.c (field_byte_offset): Size can be zero if there was
12545 1999-11-29 Bernd Schmidt <bernds@cygnus.co.uk>
12547 * fold-const.c (split_tree): Delete unused vars ORIG_IN and TYPE.
12548 (associate_trees): Delete unused var TEM.
12549 (extract_muldiv): Delete unused var CANCEL_P.
12551 * fold-const.c [TARGET_FLOAT_FORMAT != IEEE_FLOAT_FORMAT]
12552 (target_isinf, target_isnan, target_negative): Add return types to
12553 function definitions.
12555 1999-11-29 Bruce Korb <autogen@linuxbox.com>
12557 * fixinc/fixincl.c(process): don't skip GLIBC files any more.
12558 * fixinc/hackshell.tpl: ditto
12559 * fixinc/fixtests.c(double_slash_test): more C++ header testing
12560 * fixinc/inclhack.def(AAB_fd_zero_glibc*): corrected spelling of mach
12562 1999-11-29 Bernd Schmidt <bernds@cygnus.co.uk>
12564 * reload.c (push_reload): When looking for a register to put into
12565 reg_rtx, make sure all hard regs in a multi-reg register are in the
12566 right class and nonfixed.
12568 * haifa-sched.c (reg_last_uses, reg_last_sets, reg_last_clobbers,
12569 pending_read_insns, pending_write_insns, pending_read_mems,
12570 pending_write_mems, pending_list_length, last_pending_memory_flush,
12571 last_function_call, sched_before_next_call): Move static variables
12573 (bb_ prefixed versions): Replace with single array bb_deps.
12574 (struct deps): New structure.
12575 (add_insn_mem_dependence, flush_pending_lists, sched_analyze_1,
12576 sched_analyze_2, sched_analyze_insn, sched_analyze): Accept new
12577 argument of type "struct deps *"; use that instead of global
12578 variables. All callers changed.
12579 (init_rgn_data_dependencies): Delete function.
12580 (init_rtx_vector): Delete function.
12581 (init_deps): New function.
12583 (free_pending_lists): Simplify, we always use the bb_deps array even
12584 if only one basic block.
12585 (compute_block_backward_dependences): Likewise.
12586 (schedule_region): Likewise.
12588 (propagate_deps): New function, broken out of
12589 compute_block_backward_dependences.
12590 (compute_block_backward_dependences): Use it.
12592 * alpha.md: Delete useless patterns that tried to work around
12593 register elimination problems.
12595 * unroll.c (loop_iterations): Don't abort if iteration variable
12598 From Joern Rennecke:
12599 * reload1.c (reloads_conflict): Reverse test comparing operand
12600 numbers when testing for conflict between output/outaddr reloads.
12602 1999-11-29 David S. Miller <davem@redhat.com>
12604 * config/sparc/sparc.c (init_cumulative_args): Fix type of third
12606 * config/sparc/sparc-protos.h: Update proto, move into RTX_CODE.
12608 1999-11-28 Robert Lipe <robertl@cygnus.com>
12610 * i386/sco5.h (FINI_SECTION_ASM_OP_COFF): Move destructor fn
12611 table from .fini into .dtor.
12613 1999-11-28 Anthony Green <green@cygnus.com>
12615 * tree.h (struct tree_decl): Add malloc_flag.
12616 (DECL_IS_MALLOC): Define.
12617 * c-common.c (attrs): Add A_MALLOC attribute.
12618 (init_attributes): Add this attribute to the table.
12619 (decl_attributes): Handle malloc attribute.
12620 * calls.c (special_function_p): Check for the malloc attribute.
12621 * extend.texi (Function Attributes): Document malloc attribute.
12623 Sun Nov 28 13:21:00 1999 Jeffrey A Law (law@cygnus.com)
12625 * pa.md (reload shift-add patterns): Remove.
12627 1999-11-28 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
12629 * reorg.c (dbr_schedule) Print more statistics. Corrected
12630 problem when printing info when 3 delay slots are filled.
12632 1999-11-28 Jakub Jelinek <jakub@redhat.com>
12634 * combine.c (setup_incoming_promotions): Pass an outgoing
12635 regno to FUNCTION_ARG_REGNO_P which it expects.
12637 1999-11-28 Andreas Jaeger <aj@suse.de>
12639 * mips/linux.h (CPP_PREDEFINES): Undefine before redefining.
12641 Sun Nov 28 00:48:15 1999 Philippe De Muyter <phdm@macqel.be>
12643 * cccp.c (do_include): Avoid initialization of automatic variable.
12645 * integrate.c (mark_stores): Function definition made void, to match
12646 previous declaration.
12647 * regclass.c (dump_regclass): Ditto.
12648 * Makefile.in (WARN_CFLAGS): Macro augmented by `-Wtraditional'.
12650 Sat Nov 27 08:38:26 1999 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
12652 * expr.c (store_constructor): Use EXACT_DIV_EXPR when dividend is
12653 known to be multiple of divisor.
12655 * expr.c (store_constructor): Don't clobber TARGET if CLEARED.
12657 * combine.c (try_combine): Add code to try to merge a set of a
12658 two-word pseudo to a constant with a setting of one of those words
12661 * fold-const.c (negate_expr, associate_trees, extract_muldiv): New.
12662 (split_tree): Completely rework to make more general.
12663 (make_range, fold): Call negate_expr.
12664 (fold, case NEGATE_EXPR): Simplify -(a-b) is -ffast-math.
12665 (fold, associate): Call new split_tree and associate_trees.
12666 (fold, case MULT_EXPR, case *_{DIV,MOD}_EXPR): Call extract_muldiv.
12668 1999-11-26 Bernd Schmidt <bernds@cygnus.co.uk>
12670 * loop.c (try_copy_prop): Avoid GNU C extension.
12672 1999-11-25 Mark Mitchell <mark@codesourcery.com>
12674 * except.c (init_eh_for_function): Still zero eh_return_context,
12675 eh_return_stack_adjust, and eh_return_handler.
12677 * except.h (eh_status): Adjust documentation for x_protect_list.
12678 (begin_protect_partials): New function.
12679 * except.c (enqueue_eh_entry): Fix formatting.
12680 (get_first_handler): Add consistency check.
12681 (add_partial_entry): Adjust usage of protect_list.
12682 (emit_cleanup_handler): Save and restore ehqueue.
12683 (expand_start_all_catch): Add comment.
12684 (begin_protect_partials): New function.
12685 (end_protect_partials): Adjust usage of protect_list.
12686 (init_eh_for_function): Use xcalloc.
12688 1999-11-25 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
12690 * c-common.c (check_format_info): Don't call a variadic function
12691 with a non-literal format string.
12693 * c-decl.c (grokdeclarator, start_struct, finish_struct): Likewise.
12695 * c-typeck.c (build_component_ref, build_unary_op, lvalue_or_else,
12696 pedantic_lvalue_warning, error_init, pedwarn_init, warning_init):
12699 * cccp.c (check_macro_name, do_xifdef, vwarning_with_line):
12702 * collect2.c (collect_wait): Likewise.
12704 * dbxout.c (dbxout_type): Likewise.
12706 * gcc.c (do_spec_1): Likewise.
12708 * genemit.c (gen_insn, gen_expand): Likewise.
12710 * genrecog.c (write_switch, write_subroutine): Likewise.
12712 * mips-tfile.c (catch_signal, botch): Likewise.
12714 * print-rtl.c (print_rtx): Likewise.
12716 * toplev.c (default_print_error_function, report_error_function,
12717 _fatal_insn): Likewise.
12719 1999-11-25 Mark Mitchell <mark@codesourcery.com>
12721 * tree.c (unsave_expr_now): Handle NULL_TREE as input.
12723 Wed Nov 24 17:08:09 MET 1999 Jan Hubicka <hubicka@freesoft.cz>
12725 * reg-stack.c (subst_stack_regs_pat): Swap operands in commutative
12726 operations when needed.
12727 * i386.md (fop_?f_comm): New.
12728 (fop_?f_1): Do not accept commutative operands.
12730 1999-11-25 Andreas Jaeger <aj@suse.de>
12732 * config/mips/mips.md (casesi_internal): Add missing brace.
12734 1999-11-25 Jason Merrill <jason@casey.cygnus.com>
12736 * dwarf2out.c (pend_type, output_pending_types_for_scope): Lose.
12737 (splice_child_die): Handle moving a child DIE from the declaration
12738 DIE of a class to its specification.
12739 (gen_struct_or_union_type_die): Use 'complete' consistently.
12740 (gen_decl_die): Generate the virtual context DIE first.
12741 Use decl_ultimate_origin instead of DECL_ABSTRACT_ORIGIN.
12743 1999-11-24 Gavin Romig-Koch <gavin@cygnus.com>
12745 * config/mips/mips.md (call_value_multiple_interanal1): New.
12747 1999-11-24 Jason Merrill <jason@casey.cygnus.com>
12749 * dwarf2out.c (free_AT, free_die): New fns.
12750 (remove_children): Call them.
12751 (output_line_info): Disable removal of duplicate notes.
12753 Generate minimal debug info for types with TYPE_DECL_SUPPRESS_INFO set.
12754 * dwarf2out.c (gen_struct_or_union_type_die): TYPE_DECL_SUPPRESS_INFO
12755 means pretend the type isn't defined.
12756 Don't defer emitting types.
12757 (gen_type_die_for_member): New fn.
12758 (gen_decl_die): Call it.
12759 (splice_child_die): New fn.
12760 (gen_member_die): Call it rather than generate duplicate dies.
12762 Defer emitting information for the abstract instance of an inline
12763 until we either inline it or emit an out-of-line copy.
12764 * dwarf2out.c (decl_ultimate_origin): Ignore DECL_ABSTRACT_ORIGIN
12765 from output_inline_function if DECL_ABSTRACT is also set.
12766 (block_ultimate_origin): Likewise.
12767 (gen_abstract_function): New fn.
12768 (gen_decl_die, gen_inlined_subroutine_die): Call it.
12769 (gen_subprogram_die): An abstract instance is not a declaration
12770 just because it doesn't match current_function_decl. Don't abort
12771 because DECL_DEFER_OUTPUT isn't set. Do abort if a declaration
12772 has an abstract origin.
12773 * toplev.c (rest_of_compilation): Don't emit dwarf2 info for the
12774 abstract instance here.
12776 Wed Nov 24 18:39:18 1999 Andrew Haley <aph@cygnus.com>
12778 * config/sh/sh.h (SECONDARY_OUTPUT_RELOAD_CLASS): Add the case
12779 where we need to reload fpul from a system register.
12781 1999-11-24 Andreas Jaeger <aj@suse.de>
12783 * config/mips/linux.h (CPP_PREDEFINES): Added.
12784 (LINK_SPEC): Remove -Y since this is only needed on sparc.
12786 1999-11-24 Andreas Jaeger <aj@suse.de>
12788 * config/mips/linux.h (TARGET_VERSION): Added.
12789 (HANDLE_SYSV_PRAGMA): Added.
12790 (DEFAULT_VTABLE_THUNKS): Added.
12792 Wed Nov 24 14:12:15 MET 1999 Jan Hubicka <hubicka@freesoft.cz>
12794 * local-alloc.c (qty): New structure and static variable.
12795 (qty_phys_reg): Remove, all references changed to qty.
12796 (qty_n_refs): Likewise.
12797 (qty_min_class): Likewise.
12798 (qty_birth): Likewise.
12799 (qty_death): Likewise.
12800 (qty_size): Likewise.
12801 (qty_mode): Likewise.
12802 (qty_n_calls_crossed): Likewise.
12803 (qty_alternate_class): Likewise.
12804 (qty_changes_size): Likewise.
12805 (qty_first_reg): Likewise.
12806 (alloc_qty): Rename variable QTY to QTYNO.
12807 (finf_free_reg): Likewise.
12808 (local_alloc): Allocate qty, do not allocate the removed variables.
12810 Wed Nov 24 17:26:05 1999 Geoffrey Keating <geoffk@cygnus.com>
12812 * config/mips/mips.h (ASM_SPEC): Don't pass -G to the assembler
12813 when -membedded-pic is passed.
12815 * config/mips/mips.md (casesi): Handle 64-bit case too.
12816 (casesi_internal_di): New insn.
12818 * config/mips/mips.c (embedded_pic_offset): Always make the
12819 embedded-pic subtractions relative to the name of the current
12820 function by use of the magic string "..CURRENT_FUNCTION".
12821 * config/mips/mips.h (ASM_OUTPUT_LABELREF): Make the magic happen.
12823 1999-11-24 Geoffrey Keating <geoffk@cygnus.com>
12825 * config/mips/mips.md (div_trap_normal): Don't ask for the REGNO
12826 of (const_int 0), when what we really care about is
12827 whether it's a zero constant anyway.
12828 (div_trap_mips16): Likewise.
12830 1999-11-23 Mark Mitchell <mark@codesourcery.com>
12832 * loop.c (loop_optimize): Always find_loop_tree_blocks and
12833 unroll_block_trees when generating debuggable code.
12835 * tree.h (unsave_expr_1): New function.
12836 (lang_unsave): New variable.
12837 (get_callee_fndecl): New function.
12838 * tree.c (unsave_expr_now_r): New function.
12839 (lang_unsave): Define.
12840 (unsave_expr_1): Likewise.
12841 (unsave_expr_now_r): Split out from unsave_expr_now.
12842 (unsave_expr_now): Call lang_unsave if it is non-NULL. Otherwise,
12843 call unsave_expr_now_r.
12844 (get_callee_fndecl): Define.
12846 * Makefile.in (gencheck): Don't depend on lang_tree_files.
12847 (gencheck.o): Do depend on lang_tree_files.
12849 * integrate.h (copy_decl_for_inlining): New declaration.
12850 * integrate.c (copy_and_set_decl_abstract_origin): Remove.
12851 (copy_decl_for_inlining): New function.
12852 (integrate_parm_decls): Use it.
12853 (integrate_decl_tree): Likewise.
12855 1999-11-23 Gavin Romig-Koch <gavin@cygnus.com>
12857 * config/mips/mips.h (ISA_HAS_FP4,ISA_HAS_CONDMOVE,ISA_HAS_8CC): Split
12858 the second two from the first.
12859 (CONDITIONAL_REGISTER_USAGE): Use ISA_HAS_8CC rather than ISA_HAS_FP4.
12860 * config/mips/mips.md (movcc,reload_incc,reload_outcc,
12861 conditional move): Use ISA_HAS_CONDMOVE or ISA_HAS_8CC rather than
12863 * config/mips/mips.c (mips_move_1word,gen_conditional_branch,
12864 override_options): Use ISA_HAS_CONDMOVE or ISA_HAS_8CC rather than
12867 Tue Nov 23 11:15:04 1999 Jeffrey A Law (law@cygnus.com)
12869 * pa.md (call_internal_symref, call_value_internal_symref): No mode
12870 needed on the address operand.
12871 * pa.c (call_operand_address): Check for the correct mode.
12873 1999-11-23 Bernd Schmidt <bernds@cygnus.co.uk>
12875 * loop.c: Include "basic-block.h".
12876 (try_copy_prop, replace_loop_reg): New functions.
12877 (load_mems): Detect registers that just hold copies of the hoisted
12878 mem, and call try_copy_prop to eliminate them.
12879 * Makefile.in (loop.o): Update dependencies.
12881 Tue Nov 23 01:03:29 1999 Hans-Peter Nilsson <hp@axis.com>
12883 * Makefile.in (gencheck.o): Depend on gencheck.h.
12884 (insn-emit.o): Depend on flags.h, hard-reg-set.h and resource.h.
12885 (insn-peep.o): Depend on except.h and function.h.
12886 (insn-attrtab.o): Depend on RECOG_H.
12887 (insn-output.o): Depend on toplev.h and flags.h.
12888 (gengenrtl.o): Depend on real.h.
12889 (gen-protos.o): Depend on cpplib.h and cpphash.h.
12890 Unify all dependencies to be on RECOG_H rather than recog.h.
12892 Tue Nov 23 00:57:10 1999 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
12894 From Casper H.S. Dik on comp.unix.solaris, 23 Oct 1998:
12895 * configure.in: Try building a bi-arch 32/64-bit compiler on
12896 sparc-*-solaris2.7 and higher.
12897 * configure: Rebuild.
12899 Mon Nov 22 23:09:44 1999 David O'Brien <obrien@FreeBSD.org>
12901 * config/freebsd.h: New, FreeBSD architecture independent file.
12902 * config/i386/freebsd-elf.h: removed FreeBSD architecturally
12903 independent pieces.
12904 * config/i386/freebsd.h: include i386/perform.h via tm.h rather than
12905 directly by i386/freebsd.h.
12906 * configure.in (*-*-freebsdelf): Include new FreeBSD architecturally
12907 independent configuration file.
12908 (*-*-freebsdelf): Include i386/perform.h via tm.h rather than
12909 directly by i386/freebsd.h.
12910 * configure: Rebuilt.
12912 * xm-i386.h: Define `__i386__' if not defined, rather than `i386'
12913 which is in the user's namespace.
12914 * libgcc2.c: Look for the ANSI-C approved `__i386__' symbol, vs.
12915 `i386' which is not in our namespace.
12917 Mon Nov 22 22:58:01 1999 "R. Kelley Cook" <KelleyCook@attglobal.net>
12919 * invoke.texi (ARM Options): Add in -mno-alignment-traps
12921 1999-11-22 Jason Merrill <jason@casey.cygnus.com>
12923 * dwarf2out.c (die_struct): Remove die_attr_last and die_child_last.
12924 (add_dwarf_attr, add_child_die): Just push onto the front.
12925 (reverse_die_lists): New fn.
12926 (add_sibling_attributes): Use it.
12927 (push_decl_scope): Reorganize.
12928 (add_name_and_src_coords_attributes): Don't set file and line for
12929 an artificial decl.
12930 (gen_subprogram_die): An artificial function doesn't need to match
12932 (gen_compile_unit_die): Return the generated die. Only add
12933 AT_comp_dir if the filename is relative.
12934 (remove_AT): Simplify loop. Also free string values.
12935 (output_die): A DIE ref can't be null.
12936 (output_value_format, value_format): Take a dw_attr_ref.
12937 (dwarf_last_decl, is_extern_subr_die, sibling_offset): Remove.
12938 (AT_class, AT_flag, AT_int, AT_unsigned, AT_string, AT_ref, AT_loc,
12939 AT_addr, AT_lbl): New fns.
12940 (various): Use them.
12941 (various): Constify.
12943 Mon Nov 22 23:53:50 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
12945 * combine.c (combine_simplify_rtx): When handling a SUBREG,
12946 take SUBREG_WORD into account.
12947 (if_then_else_cond): Likewise.
12949 1999-11-22 Jason Merrill <jason@casey.cygnus.com>
12951 * gmon.c, i386/gmon-sol2.c, sparc/gmon-sol2.c: Remove advertising
12952 clause from BSD license, pursuant with
12954 ftp://ftp.cs.berkeley.edu/pub/4bsd/README.Impt.License.Change
12956 1999-11-22 Bernd Schmidt <bernds@cygnus.co.uk>
12958 * loop.c (load_mems): Reformat slightly.
12959 * basic-block.h (regset_head): New typedef.
12960 (INIT_REG_SET): New macro.
12962 1999-11-22 Bruce Korb <autogen@linuxbox.com
12964 * fixinc/mkfisinc.sh(i?86-*-linux): disable script, run fixincl exe
12965 (mips-dec-bsd*): non-functional code
12966 (alpha*-*-linux-gnu*): redundant, duplicated by "*-*-linux-gnu*"
12968 * fixinc/inclhack.def(AAB_fd_zero_glibc_*):
12969 added three replacement fixes
12970 (no_double_slash): removed comments that are not (any longer) pertinent
12971 (bad_lval): this fix currently runs against many files.
12972 The comment seems to indicate that we should select for files
12973 containing 'pragma extern_prefix'.
12975 * fixinc/fixinc.x86-linux-gnu: deleted
12976 * fixinc/inclhack.sh: regen
12977 * fixinc/fixincl.x: regen
12978 * fixinc/fixincl.sh: regen
12980 Fri Nov 12 14:08:40 1999 Andrew Haley <aph@cygnus.com>
12982 * emit-rtl.c (gen_sequence): Only return the pattern of an insn if
12983 its code is INSN and it has no notes.
12985 1999-11-22 Andrew Haley <aph@cygnus.com>
12987 * varasm.c (function_defined): Remove.
12988 (make_function_rtl): Don't set function_defined.
12989 (make_decl_rtl): Remove global register warning.
12990 * regclass.c (no_global_reg_vars): New variable.
12991 (globalize_reg): Warn if function has already been defined.
12992 (regclass_init): Set no_global_reg_vars.
12994 Mon Nov 22 14:42:22 MET 1999 Jan Hubicka <hubicka@freesoft.cz>
12996 * regclass.c (reg_pref): New structure and static variable
12997 (prefclass): Delete.
12998 (altclass): Delete.
12999 (all uses of prefclass and altclass): Use reg_pref instead.
13001 1999-11-21 Nick Clifton <nickc@cygnus.com>
13003 * invoke.texi (ARM Options): Replace -mshort-load-bytes with
13005 (arm.h): Replace -mshort-load-bytes with -malignment-traps.
13006 (arm.c): Replace TARGET_SHORT_BY_BYTES with TARGET_MMU_TRAPS.
13007 (arm.md): Replace TARGET_SHORT_BY_BYTES with TARGET_MMU_TRAPS.
13009 Sun Nov 21 17:11:13 1999 Geoffrey Keating <geoffk@cygnus.com>
13011 * varasm.c (output_constructor): Solve problem with long long
13012 bitfields, even on BYTES_BIG_ENDIAN machines (testcase 991118-1).
13014 Fri Nov 19 05:48:45 CET 1999 Jan Hubicka <hubicka@freesoft.cz>
13016 * global.c (allocno): New structure and static variable.
13017 (allocno_reg): Remove, all references replaced by allocno.
13018 (allocno_size): Likewise.
13019 (hard_reg_conflicts): Likewise.
13020 (hard_reg_preferences): Likewise.
13021 (hard_reg_copy_preferences): Likewise.
13022 (hard_reg_full_preferences): Likewise.
13023 (regs_someone_prefers): Likewise.
13024 (allocno_calls_crossed): Likewise.
13025 (allocno_n_refs): Likewise.
13026 (allocno_live_length): Likewise.
13027 (find_reg): Rename ALLOCNO to NUM.
13029 * regclass.c (may_move_in_cost): Rename from may_move_cost, all
13030 references updated.
13031 (may_move_out_cost): New variable.
13032 (init_reg_sets_1): Initialize may_move_out_cost.
13033 (record_reg_classes): Use may_move_out_cost.
13035 * regclass.c (dump_regclass): New function.
13036 (regclass): New parameter DUMP, call DUMP_REGCLASS.
13037 * toplev.c (rest_of_compilation): Open lreg dump file before regclass,
13038 pass rtl_dump_file to regclass.
13039 * rtl.h (regclass): Update prototype.
13041 Fri Nov 19 06:32:19 CET 1999 Jan Hubicka <hubicka@freesoft.cz>
13043 * i386.md (neg, not and abs patterns): Revmap to use
13044 ix86_expand_unary_operator and ix86_unary_operator_ok.
13045 (add?f and sub?f expanders): Force operand 1 to register.
13046 * i386.c (ix86_expand_unary_operator): Rewrite.
13047 (ix86_unary_operator_ok): Ensure that memory operands
13049 (ix86_binary_operator_ok): Do not allow operand 1 to
13050 come into memory and operand 0 not.
13051 (ix86_expand_binary_operator): Ensure that
13052 src1 is not non-matching memory.
13054 * i386.md (negs?2): Rewrite to expanders, new patterns and splitters
13055 to support integer registers and memory.
13056 (abss?2_integer): Likewise.
13058 * i386.h (enum reg_class): Add FLOAT_INT_REGS.
13059 (REG_CLASS_NAMES): Likewise.
13060 (REG_CLASS_CONTENTS): Define FLOAT_INT_REGS as union of FLOAT_REGS
13062 * i386.md (pushsf): Do not preferre FLOAT_REGS over GENERAL_REGS.
13063 (movsf): Likewise; unify 4th and 5th alternative.
13064 (pushdf): Likewise.
13065 (movdf_1): Likewise; rename to movdf_integer.
13066 (pushxf): Likewise; rename to pushxf_integer; fix output template;
13067 remove redundant splitter.
13068 (movxf_1): Likewise; rename to movxf_integer; fix splitter's condition.
13069 (movdf_nointeger): New.
13070 (movxf_nointeger): New.
13071 (pushxf_nointeger): New.
13073 * i386.md (extend?f?f): Split to expander and pattern, refuse two
13074 memory operands in patterns.
13075 (fop*): Refuse two memory operands.
13077 * i386.md (ashrsi3_31): Allow cltd when optimizing for size even
13078 on !TARGET_USE_CLTD CPUs.
13080 Fri Nov 19 10:41:15 GMT 1999 Nathan Sidwell <nathan@acm.org>
13082 * extend.texi: Document C++ restricted pointers and references.
13084 1999-11-19 Bernd Schmidt <bernds@cygnus.co.uk>
13086 * cse.c (addr_affects_sp): No longer conditional on AUTO_INC_DEC.
13087 (invalidate_skipped_set): Call it unconditionally.
13088 (cse_set_around_loop): Likewise.
13090 Thu Nov 18 17:29:34 MST 1999 Diego Novillo <dnovillo@cygnus.com>
13092 * rtl.texi (mem): Add documentation for alias-set argument
13095 Fri Nov 18 13:39:22 CET 1999 Jan Hubicka <hubicka@freesoft.cz>
13097 * i386.h (struct_processor_costs): New fields int_load, int_store,
13098 fp_move, fp_load and fp_store
13099 (REGISTER_MOVE_COST): Fix comment, calculate exactly the cost of
13101 (MEMORY_MOVE_COST): New macro.
13102 * i386.c (386_cost): Define new fields.
13103 (i486_cost): Likewise.
13104 (pentium_cost): Likewise.
13105 (pentiumpro_cost): Likewise.
13106 (k6_cost): Likewise.
13108 Fri Nov 19 11:11:55 1999 Greg McGary <gkm@gnu.org>
13109 Geoffrey Keating <geoffk@cygnus.com>
13111 * config/m68k/m68kelf.h: Suppress '/* within comment' warning.
13113 * config/m68k/m68k.h (MASK_PCREL): Don't use same value as
13116 * config/m68k/m68k.h (MASK_NO_STRICT_ALIGNMENT): New macro.
13117 (TARGET_STRICT_ALIGNMENT): New macro.
13118 (TARGET_SWITCHES): Add "strict-align" and "no-strict-align".
13119 (STRICT_ALIGNMENT): Depend on TARGET_STRICT_ALIGNMENT.
13120 * invoke.texi (M680x0 Options): Document -mstrict-align.
13122 Thu Nov 18 11:10:03 1999 Jan Hubicka <hubicka@freesoft.cz>
13123 Richard Henderson <rth@cygnus.com>
13125 * i386-protos.h (split_xf, ix86_split_movdi): Remove.
13126 (ix86_split_long_move): Declare.
13127 * i386.c (split_xf, ix86_split_movdi): Remove.
13128 (ix86_split_to_parts, ix86_split_long_move): New.
13129 * i386.md (dimode move splitters): Use ix86_split_long_move.
13130 (dfmode move splitters): Likewise.
13131 (xfmode move splitters): Likewise.
13132 (movsf_1): Allow F->r.
13133 (movdf_1, movxf_1): Allow F->ro.
13135 1999-11-17 Mark Mitchell <mark@codesourcery.com>
13137 * except.h (struct eh_entry): Add goto_entry_p.
13138 (eh_region_from_symbol): Remove prototype.
13139 * except.c (find_func_region_from_symbol): New function.
13140 (emit_cleanup_handler): Likewise.
13141 (eh_region_from_symbol): Make it static.
13142 (add_new_handler): Verify the argument.
13143 (find_func_region): Update comment.
13144 (expand_eh_region_end): Expand handlers here, rater than waiting
13145 until expand_leftover_cleanups or start_all_catch.
13146 (expand_leftover_cleanups): Don't expand here.
13147 (expand_start_all_catch): Or here.
13148 (expand_rethrow): Check the return value from find_func_region.
13149 * function.c (expand_function_end): Emit the catch_clauses.
13151 1999-11-18 Gavin Romig-Koch <gavin@cygnus.com>
13153 * integrate.c (expand_inline_function): Add necessary check for NULL.
13155 1999-11-18 Nick Clifton <nickc@cygnus.com>
13157 * toplev.c (main): Correctly detect an unrecognised option.
13159 * cppinit.c (cpp_handle_option): Do not claim to have consumed
13160 a -f option if it has not been recognised.
13162 Thu Nov 18 00:59:11 1999 Michael Gschwind <mikeg@alagoas.watson.ibm.com>
13164 * basic-block.h (update_life_extent): Remove trailing comma on
13165 enumeration type list.
13167 1999-11-18 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
13169 * varasm.c (output_constructor) Solved problem with long long
13170 bitfields. Corrected calculating this_time and shift. Also
13171 corrected calculating mask when BITS_PER_UNIT == 32 (c4x).
13173 Wed Nov 17 23:46:14 1999 Jeffrey A Law (law@cygnus.com)
13175 * flow.c (split_edge): Take looping structure into account when
13176 determining where to put the new block note.
13178 Wed Nov 17 20:42:43 1999 Jeff Holcomb <jeffh@cygnus.com>
13180 * Makefile.in (ggc-none.o): Provide host specific version if
13183 Wed Nov 17 16:51:23 1999 Richard Henderson <rth@cygnus.com>
13185 * cse.c (delete_trivially_dead_insns): Identify no-op insns
13186 containing subregs too.
13188 Wed Nov 17 17:39:48 MST 1999 Diego Novillo <dnovillo@cygnus.com>
13190 * invoke.texi: Add documentation for -muninit-const-in-rodata.
13191 * config/mips/mips.h (MASK_UNINIT_CONST_IN_RODATA): Define.
13192 (TARGET_UNINIT_CONST_IN_RODATA): Define.
13193 (text_section): Add switches -munint-const-in-rodata and
13194 -mno-uninit-const-in-rodata.
13195 (ASM_OUTPUT_COMMON): Remove.
13196 (ASM_OUTPUT_ALIGNED_DECL_COMMON): Define. Check if uninitialized
13197 const objects should be placed in read-only data. Otherwise declare
13200 Wed Nov 17 16:38:32 1999 Richard Henderson <rth@cygnus.com>
13202 * jump.c (jump_optimize_1): Revert last change.
13204 Wed Nov 17 15:18:30 1999 Richard Henderson <rth@cygnus.com>
13206 * jump.c (jump_optimize_1): Don't try to duplicate the loop exit
13207 test if optimizing for size.
13209 1999-11-17 Mark Mitchell <mark@codesourcery.com>
13211 * Makefile.in (toplev.o): Depend on except.h.
13212 (dwarf2out.o,loop.o,flow.o,haifa-sched.o): Likewise.
13214 Mon Nov 15 22:45:39 CET 1999 Jan Hubicka <hubicka@freesoft.cz>
13216 * i386.md (divmodsi4): Rewrite to expander.
13217 (*divmodsi4_nocltd): New.
13218 (*divmodsi4_cltd): New.
13219 (divmodsi4 splitter): Handle the case when input comes in edx.
13220 (udivmodhi4): Do not use constraints in exander.
13221 (ashrsi3_31): Conditionize by TARGET_USE_CLTD.
13223 1999-11-17 Jason Merrill <jason@yorick.cygnus.com>
13225 * dwarf2out.c (push_decl_scope): Still use decl_scope_depth - 1
13226 for the common case.
13228 1999-11-16 Jakub Jelinek <jakub@redhat.com>
13230 * explow.c (hard_function_value): Add outgoing argument.
13231 * expr.h (hard_function_value): Declare it.
13232 * calls.c (expand_call, emit_library_call_value): Update callers.
13233 * function.c (aggregate_value_p): Ditto.
13234 (diddle_return_value): Must look at the outgoing registers
13235 on archs with register windows.
13237 Mon Nov 15 20:46:45 1999 Richard Henderson <rth@cygnus.com>
13239 * alpha.c (alpha_build_va_list): Use make_lang_type and
13240 initialize TYPE_NAME for the va_list record.
13242 * flow.c (calculate_global_regs_live): Zero bb->aux to begin.
13244 * ggc-common.c (ggc_print_statistics): Cast size_t to unsigned long
13246 * ggc.h (struct ggc_statistics): Rearrange elements for better
13247 packing on 64-bit hosts.
13248 * lcm.c (compute_laterin): Store a size_t not an int in bb->aux.
13249 (compute_nearerout): Likewise.
13251 Tue Nov 16 14:37:52 1999 Geoffrey Keating <geoffk@cygnus.com>
13253 * config/rs6000/rs6000.c (first_reg_to_save): Save
13254 PIC_OFFSET_TABLE_REGNUM when -fpic even though it is fixed.
13256 1999-11-15 Jason Merrill <jason@casey.cygnus.com>
13258 * dwarf2out.c (scope_die_for): Don't rely on the decl_scope_table
13259 notion of nesting to find the DIE for a type or function.
13260 DIEs can go in limbo even if we got a context_die.
13261 (push_decl_scope): Our context doesn't need to be in decl_scope_table.
13262 (gen_struct_or_union_type_die): Don't use TREE_PERMANENT to test
13264 (gen_decl_die): Ignore NAMESPACE_DECLs for now.
13265 (gen_type_die): Writing out the context doesn't cause member class
13266 template instantiations to be written out as well.
13268 Mon Nov 15 15:33:18 1999 Richard Henderson <rth@cygnus.com>
13270 * rs6000.h (ASM_OUTPUT_DEF): New.
13271 Based on proposed addition from David Edelsohn.
13273 1999-11-15 Robert Lipe <RobertLipe@usa.net>
13274 Bruce Korb <autogen@linuxbox.com>
13276 * fixinc/inclhack.def
13277 (AAB_svr4_replace_byteorder): added. Takes advantage of GCC features
13278 (unixware7_byteorder_fix): added. Removes conflicts for new defs
13280 (svr5_mach_defines): added. Like svr4_mach_defines, with new syntax
13281 (svr4_endian): enabled with SVR5
13282 (svr4_mkdev): simplified syntax and enabled with SVR5
13284 Sun Nov 14 18:49:37 1999 David O'Brien <obrien@FreeBSD.org>
13286 * configure.in: Handle libgcc2 threads support on FreeBSD platforms.
13287 * configure: Rebuilt.
13288 * config/t-freebsd-thread: New file.
13290 Sun Nov 14 23:11:05 1999 Jeffrey A Law (law@cygnus.com)
13292 * i386.c (ix86_decompose_address): Verify the base is a REG
13293 before trying to examine its register number.
13295 * basic-block.h: Remove all #defines and prototypes related to
13297 (free_bb_mem, compute_preds_succs): Remove prototype.
13298 * rtl.h (free_bb_mem): Remove prototype.
13299 * flow.c (alloc_int_list_node); Remove function.
13300 (add_inst_list_node, free_int_list, add_pred_succ): Likewise.
13301 (compute_preds_succs, free_bb_mem): Likewise.
13302 * gcse.c (gcse_main): Do not call free_bb_mem anymore.
13303 * toplev.c (rest_of_compilation): Likewise.
13304 * haifa-sched.c (build_control_flow): Use flow generated edge
13305 list to build the haifa specific edge list.
13306 (find_rgns): Use new CFG data structures instead of pred/succ lists.
13307 (schedule_insns): Do not build pred/succ lists anymore. Instead
13308 build the edge table.
13310 * basic-block.h (dump_bb_data): Remove declaration.
13311 * flow.c (dump_bb_data): Remove function.
13312 * sbitmap.c (sbitmap_intersect_of_predsucc): Delete function.
13313 (sbitmap_union_of_predsucc): Likewise.
13315 * gcse.c (delete_null_pointer_checks_1): Kill unused s_preds
13316 argument. All callers changed.
13317 (delete_null_pointer_checks_1): No longer need to compute the
13320 * gcse.c (pre_expr_reaches_here_p): Kill CHECK_PRE_COM argument.
13321 All callers changed.
13322 (pre_expr_reaches_here_p_work): Likewise.
13323 (pre_edge_insert): No longer call pre_expr_reaches_here_p.
13324 * lcm.c (compute_laterin): Fix initialization of LATER.
13325 (compute_nearerout): Similarly for NEARER.
13327 Sun Nov 14 12:41:57 1999 Bernd Schmidt <bernds@cygnus.co.uk>
13329 * cse.c (set_nonvarying_address_components): Delete unused function.
13330 (refers_to_p): Likewise.
13332 Fri Nov 12 20:53:22 1999 Jeffrey A Law (law@cygnus.com)
13334 * function.c (diddle_return_value): Set REG_FUNCTION_VALUE_P as
13337 Sat Nov 13 16:20:09 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
13339 * defaults.h (ASM_OUTPUT_ALTERNATE_LABEL_NAME): Wrap macro
13340 definition in do while (0).
13342 Fri Nov 12 16:26:25 1999 Jim Wilson <wilson@cygnus.com>
13344 * stmt.c (pushcase, pushcase_range): Partially revert Oct 28 change.
13346 Fri Nov 12 12:43:49 1999 Richard Henderson <rth@cygnus.com>
13348 * unroll.c (unroll_loop): Make temp an unsigned HOST_WIDE_INT.
13350 Fri Nov 12 15:14:19 1999 Vladimir Makarov <vmakarov@tofu.to.cygnus.com>
13352 * i960.h (CAN_DEBUG_WITHOUT_FP): Don't define it.
13353 (FRAME_POINTER_REQUIRED): Don't worry about nonlocal goto.
13354 (ELIMINABLE_REGS, CAN_ELIMINATE, INITIAL_ELIMINATION_OFFSET): New.
13355 (INITIAL_FRAME_POINTER_OFFSET): Remove it.
13357 * i960.c (i960_function_prologue): Don't allocate space for g8-g11
13358 saved on the stack. Output more accurate stack frame statistics
13359 into assembler file.
13361 1999-11-12 11:47 -0800 Zack Weinberg <zack@bitmover.com>
13363 * genextract.c (record_insn_name): New function.
13364 (get_insn_name): No longer a stub.
13365 (main): Call record_insn_name for each insn. After each label
13366 written, print the insn name in a comment.
13368 Fri Nov 12 13:45:02 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
13370 * output.h (const_section, init_section, fini_section): Add
13373 * alpha/elf.h (const_section): Delete declaration.
13375 * svr4.h (const_section): Likewise.
13377 Fri Nov 12 08:54:22 1999 Mark Mitchell <mark@codesourcery.com>
13379 * tree.h (SAVE_EXPR_PERSISTENT_P): New macro.
13380 * tree.c (array_type_nelts): Don't handle SAVE_EXPRs specially.
13381 (unsave_expr_now): Don't unsave SAVE_EXPR_PERSISTENT_P
13383 * stor-layout.c (variable_size): Set SAVE_EXPR_PERSISTENT_P on
13384 variable-sized array bounds.
13386 Fri Nov 12 08:04:45 1999 Catherine Moore <clm@cygnus.com>
13388 * defaults.h (ASM_OUTPUT_ALTERNATE_LABEL_NAME): Use
13391 Fri Nov 12 13:31:54 1999 Bernd Schmidt <bernds@cygnus.co.uk>
13393 * config/arm/arm.h (LEGITIMIZE_RELOAD_ADDRESS): Treat QImode
13394 addresses the same way GO_IF_LEGITIMATE_INDEX does.
13396 Fri Nov 12 12:36:04 1999 Bernd Schmidt <bernds@cygnus.co.uk>
13398 * cse.c (hash_arg_in_struct): Delete.
13399 (struct table_elt): Delete elt in_struct.
13400 (struct set): Delete elt src_in_struct.
13401 (merge_equiv_classes): Don't set either hash_arg_in_struct or
13402 the corresponding in_struct elts.
13403 (canon_hash): Likewise.
13404 (safe_hash): Likewise.
13405 (find_best_addr): Likewise.
13406 (record_jump_cond): Likewise.
13407 (cse_insn): Likewise.
13409 Thu Nov 11 19:45:24 1999 Jim Wilson <wilson@cygnus.com>
13411 * loop.c (invariant_p, case MEM): Put MEM_VOLATILE_P check back.
13413 * dbxout.c (dbxout_type, case INTEGER_TYPE): Handle too large
13416 Thu Nov 11 18:54:24 1999 Jeffrey A Law (law@cygnus.com)
13418 * function.c (diddle_return_value): Put back check that the DECL_RTL
13419 for the function is a register.
13421 * function.c (diddle_return_value): Use hard_function_value to
13422 get an rtx suitable for use in the USE/CLOBBER insn.
13424 * global.c (global_conflicts): Update comments.
13425 (record_conflicts): No need to record conflicts between pseudos here.
13427 1999-11-11 Bruce Korb <autogen@linuxbox.com>
13429 * fixinc/fixincl.c: Added verbose levels for status messages
13431 Thu Nov 11 13:23:04 1999 Bernd Schmidt <bernds@cygnus.co.uk>
13433 * jump.c (jump_optimize_1): Avoid passing an rtx that is not an
13434 operand as argument to expand_and or expand_binop.
13436 Thu Nov 11 02:21:16 1999 Rodney Brown <RodneyBrown@pmsc.com>
13438 * xcoffout.c (xcoffout_source_file): Change ggc_add_root to
13439 gcc_add_string_root.
13441 Wed Nov 10 21:24:19 1999 Jason Eckhardt <jle@cygnus.com>
13443 * config/pa/pa.h (MASK_RETURN_ADDR): Change 0xfffffffc to -4.
13445 Wed Nov 10 15:56:16 1999 Jeffrey A Law (law@cygnus.com)
13447 * flow.c (compute_flow_dominators): Initially put all blocks on
13449 * lcm.c (compute_antinout_edge, compute_available): Similarly.
13450 * gcse.c (compute_cprop_avinout): Remove.
13451 (compute_cprop_data): Use compute_available.
13452 (delete_null_pointer_checks_1): Use compute_available.
13454 * basic-block.h (compute_available): Returns a void now.
13455 * gcse.c (one_classic_gcse_pass): Do not expect compute_available
13456 to return a value anymore.
13457 * lcm.c (compute_available, compute_antinout_edge): Revamp to use
13458 worklists. Fix boundary cases. Compute maximal solutions.
13459 (compute_laterin, compute_nearerout): Similarly.
13461 * dwarf2out.c (add_AT_location_description): Allow
13462 (mem (plus (pseudo) (...)) too.
13464 Wed Nov 10 10:52:42 1999 Tom Tromey <tromey@cygnus.com>
13466 * gcc.c (do_spec_1): Support text between `%u' and `%O'.
13468 Wed Nov 10 12:43:21 1999 Philippe De Muyter <phdm@macqel.be>
13469 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
13471 * cppinit.c: Test `GCC_VERSION', not `HAVE_GCC_VERSION'.
13473 * gansidecl.h: Likewise.
13479 * toplev.h: Likewise.
13481 * tree.c: Likewise.
13483 * tree.h: Likewise.
13485 * varray.c: Likewise.
13487 * varray.h: Likewise.
13489 Wed Nov 10 10:57:22 1999 Clinton Popetz <cpopetz@cygnus.com>
13491 * gcov.c (struct arcdata): Add hits and total, remove prob.
13492 (output_branch_counts): New.
13493 (process_args): Set output_branch_counts if -c.
13494 (calculate_branch_probs): Store hits and total instead of
13496 (output_data): Emit counts if output_branch_counts is true.
13497 * gcov.texi (Invoking Gcov): Document -c switch..
13499 Wed Nov 10 01:10:41 1999 Philippe De Muyter <phdm@macqel.be>
13501 * genoutput.c (output_insn_data): Cast `INSN_OUTPUT_FORMAT_MULTI' and
13502 `INSN_OUTPUT_FORMAT_FUNCTION' to `PTR'-type.
13504 Wed Nov 10 00:51:41 1999 Hans-Peter Nilsson <hp@axis.se>
13506 * invoke.texi (C Dialect Options): Add missing builtins from
13507 c-common.c to list.
13508 * extend.texi (Other Builtins): Copy to this list.
13510 Wed Nov 10 04:58:09 1999 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
13512 * Makefile.in (recog.o): Use BASIC_BLOCK_H macro.
13513 (print-rtl.o, $(HOST_PREFIX_1)print-rtl.o): Likewise. Remove
13514 redundant bitmap.h.
13516 Wed Nov 10 00:02:53 1999 Jeffrey A Law (law@cygnus.com)
13518 * flow.c (compute_flow_dominators): No longer treat basic block 0
13519 or (n_basic_blocks - 1) specially. Clear the AUX field before
13520 starting computation of doms/pdoms. Fix initial state for pdoms.
13522 Wed Nov 10 03:58:08 1999 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
13524 * Makefile.in ($(HOST_PREFIX_1)rtl.o): Update dependencies to
13525 match rtl.o's: added ggc.h and toplev.h
13526 ($(HOST_PREFIX_1)print-rtl.o): Likewise: added system.h.
13527 ($(HOST_PREFIX_1)rtlanal.o): Likewise: added system.h.
13528 ($(HOST_PREFIX_1)obstack.o): Likewise: added $(CONFIG_H).
13530 Tue Nov 9 10:30:08 1999 Tom Tromey <tromey@cygnus.com>
13532 * config/i386/xm-djgpp.h (HAVE_DOS_BASED_FILE_SYSTEM): Renamed
13533 from HAVE_DOS_BASED_FILESYSTEM.
13534 * gcc.c (find_a_file): Use HAVE_DOS_BASED_FILE_SYSTEM, not
13535 HAVE_DOS_BASED_FILESYSTEM.
13537 (split_directories): Only special-case DOS file names if
13538 HAVE_DOS_BASED_FILE_SYSTEM is defined. Use IS_DIR_SEPARATOR
13539 instead of explicit tests. Conditionalize on !VMS.
13540 (make_relative_prefix): Use IS_DIR_SEPARATOR instead of explicit
13541 tests. Conditionalize on !VMS.
13542 (process_command): Only use make_relative_prefix if !VMS.
13543 (free_split_directories): Conditionalize on !VMS.
13544 (DIR_UP): Conditionalize on !VMS.
13546 Wed Jun 9 16:57:11 1999 Mumit Khan <khan@xraylith.wisc.edu>
13548 * gcc.c (STANDARD_BINDIR_PREFIX): Provide default.
13550 Fri Feb 5 14:22:01 1999 Mumit Khan <khan@xraylith.wisc.edu>
13552 * gcc.c (make_relative_prefix): Handle the HAVE_EXECUTABLE_SUFFIX
13555 Mon Nov 8 14:16:57 1999 Michael Meissner <meissner@cygnus.com>
13557 * invoke.texi (Environment Variables): Document relative path
13559 * gcc.c (DIR_UP): If not defined, define as "..".
13560 (standard_bindir_prefix): New static, holds target location to
13562 (split_directories): New function to split a filename into
13563 component directories.
13564 (free_split_directories): New function, release memory allocated
13565 by split_directories.
13566 (make_relative_prefix): New function, make a relative pathname if
13567 the compiler is not in the expected location.
13568 (process_command): If GCC_EXEC_PREFIX was not specified, see if we
13569 can figure out an appropriate prefix from argv[0].
13570 * Makefile.in (DRIVER_DEFINES): Use unlibsubdir in definition of
13571 STANDARD_STARTFILE_PREFIX and TOOLDIR_BASE_PREFIX. Define
13572 STANDARD_BINDIR_PREFIX.
13574 Wed Nov 10 11:47:54 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
13576 * config/c4x/c4x-protos.h: New file. Prototypes for functions defined
13578 * config/c4x/c4x.h: Moved prototypes to c4x.h.
13579 * config/c4x/c4x.c (c4x_preferred_reload_class, c4x_limit_reload_class,
13580 c4x_secondary_memory_needed) Delete.
13581 (fp_zero_operand): Add mode argument.
13583 Thu Nov 4 15:52:35 1999 Andrew Haley <aph@cygnus.com>
13585 * reload1.c (reload_reg_free_for_value_p): Don't use a register
13586 that is in reload_reg_used.
13588 Tue Nov 9 16:43:00 1999 Nick Clifton <nickc@cygnus.com>
13590 * config/arm/arm-protos.h: New file: Prototypes for functions
13591 defined in arm.c and pe.c.
13592 * config/arm/arm.h: Fix compile time warnings.
13593 * config/arm/arm.c: Fix compile time warnings.
13594 * config/arm/pe.h: Fix compile time warnings.
13595 * config/arm/aout.h: Fix compile time warnings.
13597 Tue Nov 9 14:55:44 1999 Nick Clifton <nickc@cygnus.com>
13599 * config/m32r/m32r-protos.h: New file: Prototypes for functions
13602 * config/m32r/m32r.h: Move prototypes to m32r-protos.h
13603 Add support for subtargets.
13604 Add prototypes for new predicates.
13605 Add scheduling macros.
13607 * config/m32r/m32r.c: Fix compile time warnings.
13608 (int8_operand): New predicate function.
13609 (reg_or_cmp_int16_operand): New predicate function.
13610 (extend_operand): New predicate function.
13611 (m32r_adjust_code): New scheduling function.
13612 (m32r_adjust_priorty): New scheduling function.
13613 (m32r_sched_init): New scheduling function.
13614 (m32r_sched_reorder): New scheduling function.
13615 (m32r_sched_variable_issue): New scheduling function.
13616 (direct_return): New codegen function.
13617 (m32r_not_same_reg): New rtl testsing function.
13619 * config/m32r/m32r.md: Fix compile time warnings.
13620 Add support for pre decrement and post increment memory
13622 Add S<cc> patterns.
13625 Mon Nov 8 22:20:13 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
13627 * global.c (EXECUTE_IF_CONFLICT): Don't define.
13628 (prune_preferences): Use EXECUTE_IF_SET_IN_ALLOCNO_SET instead.
13629 (find_reg): Likewise.
13631 Mon Nov 8 13:16:46 1999 Jason Eckhardt <jle@cygnus.com>
13633 * config/pa/pa.md (fmpynfadd,{sgl,dbl} insns): Use %fr0 rather than 0
13634 to avoid assembler errors.
13636 Mon Nov 8 15:38:41 1999 Nick Clifton <nickc@cygnus.com>
13638 * config/v850/v850-protos.h: New file: Prototypes for functions
13640 * config/v850/v850.h: Move prototypes to v850-protos.h
13641 * config/v850/v850.c: Move prototypes to v850-protos.h
13642 * config/v850/v850.md: Fix compile time warnings.
13644 * config/fr30/fr30-protos.h: New file: Prototypes for functions
13646 * config/fr30/fr30.h: Move prototypes to fr30-protos.h
13647 * config/fr30/fr30.c: Fix compile time warnings.
13648 * config/fr30/fr30.md: Fix compile time warnings.
13650 Mon Nov 8 07:25:37 1999 Mark Mitchell <mark@codesourcery.com>
13652 * tree.h (get_containing_scope): Declare it.
13653 * tree.c (get_containing_scope): New fucntion.
13654 (decl_function_context): Use it.
13655 * toplev.c (rest_of_compilation): Use get_containing_scope.
13657 aMon Nov 8 03:03:07 1999 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
13659 * Makefile.in (rtl.o): Depend on toplev.h.
13661 Sun Nov 7 20:55:14 1999 Mark Mitchell <mark@codesourcery.com>
13663 * cse.c (delete_trivially_dead_insns): Replace alloca with
13665 * except.c (update_rethrow_references): Likewise.
13666 (init_eh_nesting_info): Likewise.
13667 * function.c (identify_blocks): Likewise.
13668 * gcse.c (dump_hash_table): Likewise.
13669 * graph.c (print_rtl_graph_with_bb): Likewise.
13670 * loop.c (combine_movables): Likewise.
13671 (move_movables): Likewise.
13672 (count_loop_regs_set): Likewise.
13673 (strength_reduce): Likewise.
13674 * profile.c (compute_branch_probabilities): New function, split
13676 (branch_prob): Here. Replace alloca with xmalloc/xcalloc.
13677 * regclass.c (regclass): Likewise.
13678 * regmove.c (regmove_optimize): Likewise.
13679 * toplev.c (compile_file): Likewise.
13680 (main): Don't mess with the stack rlimit.
13682 Sun Nov 7 19:41:17 1999 Catherine Moore <clm@cygnus.com>
13684 * config/elfos.h (ASM_DECLARE_FUNCTION_NAME): Conditionally define.
13685 (ASM_DECLARE_FUNCTION_SIZE): Conditionally define.
13687 Sun Nov 7 10:23:28 1999 Mark P. Mitchell <mark@codesourcery.com>
13689 * integrate.c (save_for_inline_nocopy): Clear in_nonparm_insns.
13691 Sun Nov 7 02:58:48 1999 Jeffrey A Law (law@cygnus.com)
13693 * global.c (EXECUTE_IF_CONFLICT): Undo Robert's change.
13694 (EXECUTE_IF_SET_IN_ALLOCNO_SET): Put curleys around CODE in
13697 Sat Nov 6 23:48:30 1999 Robert Lipe (robertlipe@usa.net)
13699 * global.c (EXECUTE_IF_CONFLICT): Correct quoting typo.
13701 Sat Nov 6 17:34:39 1999 Jeffrey A Law (law@cygnus.com)
13703 * gcse.c (post_dominators): Kill.
13704 (alloc_code_hoist_mem, free_code_hoist_mem); Kill post_dominators.
13705 (compute_code_hoist_data): Use compute_flow_dominators. Do not
13706 pass in a pdom array since we do not need pdoms.
13707 * haifa-sched.c (schedule_insns): Similarly.
13708 * flow.c (compute_dominators): Remove dead function.
13709 (compute_flow_dominators): Do not compute doms or pdoms if the
13710 caller does not request them. Split up loop to build doms and
13711 pdoms. Use a worklist to compute doms and pdoms.
13712 * basic-block.h (compute_dominators): Remove prototype.
13714 Sat Nov 6 11:38:39 1999 Richard Henderson <rth@cygnus.com>
13716 * haifa-sched.c (struct haifa_insn_data, h_i_d): New.
13717 (insn_luid, insn_priority, insn_costs, insn_units): Remove.
13718 (insn_reg_weight, insn_depend, insn_dep_count): Remove.
13719 (insn_blockage, insn_ref_count, line_note, insn_tick): Remove.
13720 (cant_move, fed_by_spec_load, is_load_insn): Remove.
13721 (schedule_region): Remove unused variable.
13722 (schedule_insns): Allocate h_i_d, and not all the separate arrays.
13724 Sat Nov 6 10:00:34 1999 Mark Mitchell <mark@codesourcery.com>
13726 * local-alloc.c (local_alloc): Use xmalloc/xcalloc, not alloca.
13727 (update_equiv_regs): Likewise.
13728 (block_alloc): Likewise.
13729 * reg-stack.c (reg_to_stack): Likewise.
13730 (convert_regs_2): Likewise.
13731 * reload1.c (reload_as_needed): Likewise.
13733 Sat Nov 6 09:57:59 1999 Mark Mitchell <mark@codesourcery.com>
13735 * Makefile.in (dbxout.o): Depend on ggc.h.
13736 (dwarf2out.o): Likewise.
13737 (xcoffout.o): Likewise.
13738 * dbxout.c: Include ggc.h.
13739 (dbxout_init): Register lastfile as a root.
13740 * dwarf2out.c: Include ggc.h.
13741 (dwarf2out_line): Register lastfile as a root.
13742 * xcoffout.c: Include ggc.h.
13743 (xcoffout_source_line): Register xcoff_lastfile as a root.
13745 Sat Nov 6 09:52:09 1999 Richard Henderson <rth@cygnus.com>
13747 * i386.md (movdf_1, movxf_1): Earlyclobber general regs destination.
13749 Sat Nov 6 07:48:59 1999 Catherine Moore <clm@cygnus.com>
13751 * config/svr4.h (ASM_DECLARE_FUNCTION): Check if already
13753 (ASM_DECLARE_FUNCTION_SIZE): Likewise.
13755 Fri Nov 5 18:33:39 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
13757 * global.c (EXECUTE_IF_SET_IN_ALLOCNO_SET): New macro.
13758 (EXECUTE_IF_CONFLICT): Likewise.
13759 (ALLOCNO_LIVE_P): Avoid signed division.
13760 (SET_ALLOCNO_LIVE, CLEAR_ALLOCNO_LIVE): Likewise.
13761 (prune_preferences, find_reg): Use EXECUTE_IF_CONFLICT.
13762 (record_one_conflict): Use EXECUTE_IF_SET_IN_ALLOCNO_SET.
13764 Fri Nov 5 12:04:02 1999 Richard Henderson <rth@cygnus.com>
13766 * haifa-sched.c (schedule_block): Don't crash if there's no
13767 next insn for an interblock movement.
13768 (add_branch_dependences): Don't allow clobber insns to move either.
13770 Fri Nov 5 10:18:11 1999 Richard Henderson <rth@cygnus.com>
13772 * i386.c (split_xf): New.
13773 * i386-protos.h: Declare it.
13774 * i386.md (movxf_1): Add general regs alternatives.
13775 (movxf_1+1): New splitter for same.
13777 Fri Nov 5 12:05:52 1999 Nick Clifton <nickc@cygnus.com>
13779 * function.c (purge_addressof_1): Add missing return values.
13781 Fri Nov 5 10:07:25 1999 Nick Clifton <nickc@cygnus.com>
13783 * function.c (is_addressof): New function. Returns true if
13784 the given piece of RTL is an ADDRESSOF.
13785 (purge_addressof_1): Make boolean. Return false if the
13786 ADDRESSOFs could not be purged.
13787 (purge_addressof): If ADDRESSOFs could not be purged from the
13788 notes attached to an insn, remove the offending note(s),
13789 unless they are attached to a libcall.
13791 1999-11-05 Andreas Jaeger <aj@suse.de>
13793 * genoutput.c (null_operand =): Initialize all fields.
13795 * errors.h: Add extern to prototypes.
13797 Fri Nov 5 01:44:09 1999 Jeffrey A Law (law@cygnus.com)
13799 * configure.in (m68k-next-nextstep4): Handle Openstep 4.2.
13800 * configure: Rebuilt.
13802 Fri Nov 5 01:24:37 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
13804 * global.c (CONFLICTP, SET_CONFLICT): Avoid signed division.
13805 (mirror_conflicts): New function.
13806 (global_alloc): Call it.
13807 (expand_preferences): Remove redundant CONFLICTP test.
13808 (find_reg, dump_conflicts): Likewise.
13809 (prune_preferences): Process conflicts one word at a time.
13811 Fri Nov 5 01:05:21 1999 Richard Henderson <rth@cygnus.com>
13813 * global.c (build_insn_chain): Use EXECUTE_IF_SET_IN_BITMAP
13814 instead of an explicit loop.
13816 Thu Nov 4 23:07:14 1999 Jim Wilson <wilson@cygnus.com>
13818 * cse.c (cse_insn): Revert Oct 31 change. When computing src_elt,
13819 if REG_RETVAL check succeeds, then put classp in src_elt.
13821 Thu Nov 4 23:48:14 1999 Jeffrey A Law (law@cygnus.com)
13823 * function.c (pad_to_arg_alignment): Only update argument_pad
13824 if the argument's alignment is greater than STACK_BOUNDARY.
13826 Thu Nov 4 16:44:53 1999 Richard Henderson <rth@cygnus.com>
13828 * bitmap.h (BITMAP_XFREE): New.
13829 * flow.c (life_analysis): Use it.
13830 (life_analysis_1): Free blocks.
13832 * combine.c (undo_commit): New.
13833 (try_combine): Use it. Don't zap undobuf.undos.
13834 (combine_instructions): Don't zap undobuf.undos; free the
13835 undobuf.frees list.
13837 * local-alloc.c (local_alloc): Free qty_phys_num_sugg.
13839 * stmt.c (cost_table_): New.
13840 (estimate_case_costs): Use it instead of xmalloc.
13842 * toplev.c (compile_file): Reuse dumpname memory instead
13845 Thu Nov 4 16:36:44 1999 Richard Henderson <rth@cygnus.com>
13847 * reg-stack.c (convert_regs_1): Initialize target_stack->top
13848 after verifying an EH edge.
13850 * haifa-sched.c (init_rgn_data_dependences): Correctly
13851 size bb_pending_lists_length when zeroing.
13853 Thu Nov 4 16:36:36 1999 Richard Henderson <rth@cygnus.com>
13855 * function.c (diddle_return_value): New.
13856 (expand_function_end): Use it.
13857 * stmt.c (expand_null_return): Likewise.
13858 (expand_value_return): Likewise.
13860 * reg-stack.c (subst_stack_regs_pat): Handle clobbers at top-level.
13862 * reload1.c (reload): Don't remove return value clobbers.
13864 Thu Nov 4 13:33:46 1999 Richard Henderson <rth@cygnus.com>
13866 * rtl.c (read_rtx): Use fatal_with_file_and_line not fatal.
13868 Thu Nov 4 12:49:52 1999 Richard Henderson <rth@cygnus.com>
13870 * cse.c (cse_main): Use xmalloc, not alloca.
13871 (cse_basic_block): Likewise.
13872 * local-alloc.c (local_alloc): Likewise.
13874 Thu Nov 4 14:22:12 1999 David Billinghurst <David.Billinghurst@riotinto.com.au>
13875 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
13877 * rtl.c: Include toplev.h.
13878 (fatal): Remove declaration.
13880 Thu Nov 4 06:39:47 1999 Jeffrey A Law (law@cygnus.com)
13882 * haifa-sched.c (schedule_block): Fix thinko.
13884 1999-11-03 James McKelvey <mckelvey@fafnir.com>
13886 * fixinc/fixincl.c(create_file): Allow for systems that do not have
13887 S_IR* defined values
13889 1999-11-03 Philippe De Muyter <phdm@macqel.be>
13891 * fixlib.c (load_file_data): Do not call `realloc' with a NULL pointer;
13892 call `malloc' instead.
13894 Wed Nov 3 23:05:14 1999 Mark Mitchell <mark@codesourcery.com>
13896 * flags.h (flag_renumber_insns): Declare.
13897 * emit-rtl.c (renumber_insns): Check flag_renumber_insns. Print
13899 * rtl.h (renumber_insns): Change prototype.
13900 * toplev.c (flag_renumber_insns): Define.
13901 (rest_of_compilation): Pass rtl_dump_file to flag_renumber_insns.
13903 Wed Nov 3 15:11:27 1999 David S. Miller <davem@redhat.com>
13905 * config/sparc/sparc.md: Remove insn type fpsqrt, add fpsqrts
13906 and fpsqrtd. Use them and create fdiv function unit to more
13907 accurately represent fpu sqrt pipeline semantics on UltraSparc.
13908 * config/sparc/sparc.c: Account for fpsqrt{s,d} changes.
13910 Wed Nov 3 15:11:27 1999 Matteo Frigo <athena@fftw.org>
13912 * config/sparc/sparc.md: Adjust FADD/FMUL result latencies to
13914 * config/sparc/sparc.c (ultra_schedule_insn): Insert launched
13915 insn into ready list, do not use just a raw swap.
13917 Wed Nov 3 14:51:59 1999 Mark P. Mitchell <mark@codesourcery.com>
13919 * rtl.h (renumber_insns): New function.
13920 (remove_unnecessary_notes): Likewise.
13921 * emit-rtl.c (renumber_insns): Define.
13922 (remove_unncessary_notes): Likewise.
13923 * toplev.c (rest_of_compilation): Remove dead code.
13924 Use renumber_insns and remove_unncessary_notes.
13926 * gcse.c (struct null_pointer_info): New type.
13927 (get_bitmap_width): New function.
13928 (current_block): Remove.
13929 (nonnull_local): Likewise.
13930 (nonnull_killed): Likewise.
13931 (invalidate_nonnull_info): Take a null_pointer_info as input.
13932 (delete_null_pointer_checks_1): New function.
13933 (delete_null_pointer_checks): Use it.
13935 * haifa-sched.c (find_rgns): Replace uses of alloca with xmalloc.
13936 (split_edges): Likewise.
13937 (schedule_block): Likewise.
13938 (compute_block_backward_dependencies): Likewise.
13939 (schedule_region): Likewise.
13940 (schedule_insns): Likewise.
13942 Wed Nov 3 15:40:23 1999 Catherine Moore <clm@cygnus.com>
13944 * defaults.h (ASM_OUTPUT_ALTERNATE_LABEL_NAME): Provide default.
13945 * emit-rtl.c (gen_label_rtx): Support LABEL_ALTERNATE_NAME.
13946 * final.c (final_scan_insn): Emit LABEL_ALTERNATE_NAME.
13947 * ggc-common.c (ggc_mark_rtx_children): Mark LABEL_ALTERNATE_NAME.
13948 * jump.c (delete_unreferenced_labels): Don't delete if
13949 LABEL_ALTERNATE_NAME is set.
13950 * print-rtl.c (print_rtx): Dump alternate name.
13951 * rtl.def (CODE_LABEL): Change format to "iuuis00s".
13952 * rtl.h (LABEL_ALTERNATE_NAME): Define.
13953 * rtl.texi (LABEL_ALTERNATE_NAME): Document.
13954 * tm.texi (ASM_OUTPUT_ALTERNATE_LABEL_NAME): Document.
13956 Wed Nov 3 15:39:19 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
13958 * fix-header.c (recognized_extern, recognized_function): Constify
13961 * lcm.c (compute_laterin): Remove unused variable `temp_bitmap'.
13962 (pre_edge_lcm): Mark parameter `file' with ATTRIBUTE_UNUSED.
13963 (compute_available): Remove unused variable `last'.
13964 (compute_nearerout): Remove unused variable `temp_bitmap'.
13965 (pre_edge_rev_lcm): Mark parameter `file' with ATTRIBUTE_UNUSED.
13966 Remove unused variable `x'.
13968 * scan.h (recognized_function, recognized_extern): Constify a
13971 * simplify-rtx.c (simplify_rtx): Remove unused variable `new'.
13973 Wed Nov 3 10:40:53 1999 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
13975 * varasm.c (decode_rtx_const): Use XSTR to access the string
13978 Wed Nov 3 10:10:58 1999 Richard Henderson <rth@cygnus.com>
13980 * c-decl.c (duplicate_decls): Copy DECL_MODE too.
13982 Wed Nov 3 12:12:59 1999 Bernd Schmidt <bernds@cygnus.co.uk>
13984 * reload1.c (eliminate_regs_in_insn): If copying insn, also copy notes.
13986 Wed Nov 3 03:26:28 1999 Jeffrey A Law (law@cygnus.com)
13988 * pa.c (ireg_operand): New function.
13989 * pa.h (PREDICATE_CODES): Handle ireg_operand.
13990 * pa.md (parallel_addb, parallel_movb): Use ireg_operand.
13991 Fix out of date comment.
13993 * pa.md (negdi2): Turn into expander + anonymous pattern.
13995 * reload.c (find_reloads): Fix typos in recent change.
13997 * dwarf2out.c: Do not include ctype.h.
13999 Tue Nov 2 21:53:44 1999 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
14001 * regclass.c (record_reg_classes): Always use may_move_cost when
14002 seeing how operand fits with various register classes.
14004 Tue Nov 2 15:38:17 1999 Richard Henderson <rth@cygnus.com>
14006 * resource.c: Revert Oct 26 20:42 and Oct 27 00:56 changes.
14007 * toplev.c: Revert Nov 1 13:22 change.
14009 Tue Nov 2 14:21:37 1999 Jason Eckhardt <jle@cygnus.com>
14011 * config/pa/pa.md (height reduction patterns): Add checks for
14012 overlapping operands to avoid semantic-destroying splits for
14013 height reduction patterns.
14015 Tue Nov 2 15:27:31 1999 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
14017 * configure.in (m68k-hp-hpux*, xm_alloca.h): The underscore should
14018 have been an hyphen, fixed.
14019 * configure: Rebuilt.
14021 Tue Nov 2 17:04:36 1999 Nick Clifton <nickc@cygnus.com>
14023 * config/arm/tpe.h: Add prototypes for exported functions.
14024 * config/arm/pe.c: Fix compile time warnings.
14025 * config/arm/semi.h: Fix compile time warnings.
14026 * config/arm/arm.c: Fix compile time warnings.
14027 * config/arm/arm.h: Fix compile time warnings.
14028 * config/arm/arm.md: Fix compile time warnings.
14029 * config/arm/thumb.c: Fix compile time warnings.
14030 * config/arm/thumb.h: Fix compile time warnings.
14031 * config/arm/thumb.md: Fix compile time warnings.
14033 Tue Nov 2 04:10:24 1999 Jan Hubicka <hubicka@freesoft.cz>
14035 * jump.c (jump_optimize_1): Swap the incscc and the conditional mode
14038 * unroll.c (unroll_loop): Remove LOOP notes when loop is
14039 completely unrolled.
14041 Tue Nov 2 16:57:22 1999 Bernd Schmidt <bernds@cygnus.co.uk>
14043 * cse.c (simplify_plus_minus, check_fold_const): Delete declarations.
14045 Tue Nov 2 09:43:00 1999 Catherine Moore <clm@cygnus.com>
14047 * Makefile.in (genattrtab): Don't use (HOST_RTLANAL).
14048 * rtl.h (rtx_equal_p): Move prototype.
14049 * rtl.c (rtx_equal_function_value_matters): Move from
14051 (rtx_equal_p): Likewise.
14052 * rtlanal.c (rtx_equal_function_value_matters): Delete.
14053 (rtx_equal_p): Likewise.
14055 Mon Nov 1 23:21:17 1999 Jason Merrill <jason@yorick.cygnus.com>
14057 * libgcc2.c (__do_global_dtors): Only do EH frame stuff if
14058 ! HAS_INIT_SECTION.
14060 Mon Nov 1 23:37:38 1999 Jeffrey A Law (law@cygnus.com)
14062 * gcc.1 (PA options): Remove obsolete -mshared-libs options.
14064 * pa.h (ADDR_VEC_ALIGN): Define.
14066 * jump.c (jump_optimize_1): Also move LOOP_VTOP and LOOP_CONT
14067 notes when presented with "if (foo) break; end_of_loop" and
14068 the break sequence gets moved out of the loop.
14070 * unroll.c (unroll_loop): Allocate memory for MAP using xcalloc.
14071 Remove explicit zero initializations of entries within MAP.
14073 Mon Nov 1 18:09:14 1999 Richard Henderson <rth@cygnus.com>
14075 * reg-stack.c (convert_regs_1): Handle EH edges specially.
14077 Mon Nov 1 15:41:01 1999 Mark P. Mitchell <mark@codesourcery.com>
14079 * bitmap.h (BITMAP_XMALLOC): New macro.
14080 * flow.c (CLEAN_ALLOCA): Remove.
14081 (delete_unreachable_blocks): Use xmalloc/xcalloc instead of alloca.
14082 (life_analysis): Likewise.
14083 (update_life_info): Don't use CLEAN_ALLOCA.
14084 (life_analysis_1): Use xmalloc/xcalloc instead of alloca.
14085 (calculate_global_regs_live): Likewise.
14086 (print_rtl_with_bb): Likewise.
14087 (verify_flow_info): Likewise.
14088 * global.c (global_alloc): Likewise.
14089 (global_conflicts): Likewise.
14090 * integrate.c (save_for_inline_nocopy): Likewise.
14091 (expand_inline_function): Likewise.
14092 * jump.c (jump_optimize_1): Likewise.
14093 (duplicate_loop_exit_test): Likewise.
14094 (thread_jumps): Likewise.
14095 * loop.c (loop_optimize): Likewise.
14096 (combine_givs): Likewise.
14097 (recombine_givs): Likewise.
14098 * reorg.c (dbr_schedule): Likewise.
14099 * unroll.c (unroll_loop): Likewise.
14101 * combine.c (combine_instructions): Use xmalloc instead of alloca.
14103 Mon Nov 1 13:22:30 1999 Richard Henderson <rth@cygnus.com>
14105 * toplev.c (rest_of_compilation): Don't optimize the CFG
14106 when rebuilding, just before dbr.
14108 Mon Nov 1 14:35:50 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
14110 * output.h (assemble_end_function, assemble_destructor,
14111 assemble_constructor, assemble_gc_entry, assemble_global,
14112 assemble_label, output_constant_pool) Constify a char*.
14114 * varasm.c (assemble_destructor, assemble_constructor,
14115 assemble_gc_entry, assemble_end_function, assemble_global,
14116 assemble_label, output_constant_pool): Likewise.
14118 Mon Nov 1 14:22:51 1999 Nick Clifton <nickc@cygnus.com>
14120 * config/arm/thumb.c (thumb_expand_prologue): Add comments
14121 explaining what is goin on in this function.
14123 Mon Nov 1 08:03:15 1999 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
14125 * regclass.c (record_reg_classes): In matching case, recompute
14126 costs since the direction of movement is different.
14128 Sun Oct 31 21:59:34 MST 1999 Diego Novillo <dnovillo@cygnus.com>
14130 * resource.c (mark_target_live_regs): For unconditional branches,
14131 the resources found at the branch target should be added to the
14132 resources found so far, not intersected.
14134 Sun Oct 31 15:48:49 1999 Philippe De Muyter <phdm@macqel.be>
14136 * fixinc/fixtests.c, fixinc/fixfixes.c : Keep `#' in first column for
14138 * fixinc/fixincl.c (fcntl.h) : Do not include this file twice.
14139 (sys/mman.h): Include this file only if #HAVE_MMAP.
14140 (run_compiles): Initialize `esac_fmt' with one old KR string, not
14141 with automatically concatenated ANSI strings.
14143 Sun Oct 31 23:57:07 1999 Mark Mitchell <mark@codesourcery.com>
14145 * ggc-page.c (struct page_entry): Remove save_num_free_objects.
14146 (DIV_ROUND_UP): Robustify.
14147 (ggc_recalculate_in_use_p): New function.
14148 (release_pages): Don't inline it.
14149 (ggc_alloc_obj): Don't refuse to allocate objects on pages for
14151 (ggc_pop_context): Use ggc_recalculate_in_use_p.
14152 (clear_marks): Always save in_use_p.
14153 (sweep_pages): Use ggc_recalculate_in_use_p.
14154 (ggc_page_print_statistics): Avoid signed/unsigned comparisons.
14155 Release pages before counting statistics.
14157 Sun Oct 31 23:42:37 1999 Mark Mitchell <mark@codesourcery.com>
14159 * toplev.c (rest_of_compilation): Fix thinko in this change:
14161 Fri Oct 29 15:25:07 1999 Arnaud Charlet <charlet@ACT-Europe.FR>
14163 (rest_of_compilation): If inside an inlined external function,
14164 pretend we are just being declared.
14166 Sun Oct 31 23:03:25 1999 Jeffrey A Law (law@cygnus.com)
14168 * flow.c (calculate_global_regs_live): Fix thinko.
14170 * integrate.c (expand_inline_function): Fix bugs in previous
14171 change from Oct 28, 1999.
14173 Sun Oct 31 20:27:45 1999 Mark Mitchell <mark@codesourcery.com>
14175 * stmt.c (expand_value_return): Fix typo in this change:
14177 Thu Oct 28 18:06:50 1999 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
14178 (expand_value_return): Correctly convert VAL when promoting function
14179 return; support RETURN_REG being a PARALLEL.
14181 Sun Oct 31 20:25:42 1999 Mark P. Mitchell <mark@codesourcery.com>
14183 * expr.c (readonly_fields_p): Ignore everything except FIELD_DECLs.
14185 Sun Oct 31 20:42:17 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
14187 * hard-reg-set.h (reg_names): Constify a char*.
14189 * regclass.c (reg_names): Likewise.
14191 * regs.h (reg_names): Likewise
14193 * a29k/a29k.c (reg_names): Delete declaration.
14195 * a29k/a29k.h (CONDITIONAL_REGISTER_USAGE): Constify a char*.
14197 * arc/arc.c (arc_save_restore, arc_output_function_prologue,
14198 arc_output_function_epilogue): Likewise.
14200 * elxsi/elxsi.c (reg_names): Likewise.
14202 * gmicro/gmicro.h (FUNCTION_PROLOGUE, FUNCTION_EPILOGUE): Likewise.
14204 * m32r/m32r.c (m32r_output_function_epilogue, emit_cond_move):
14207 * m88k/m88k.c (output_function_profiler): Likewise.
14209 * sparc/sparc.c (sparc_flat_output_function_prologue,
14210 sparc_flat_output_function_epilogue): Likewise.
14212 Sun Oct 31 13:32:15 CET 1999 Marc Lehmann <pcg@goof.com>
14214 * toplev.c (rest_of_compilation): Seperate the setjmp/vfork clobber
14215 warning from -Wuninitialized and put it under -W.
14216 * function.c (uninitialized_vars_warning): Warn only when the
14217 corresponding flag is set.
14219 Sun Oct 31 01:53:30 1999 Jeffrey A Law (law@cygnus.com)
14221 * cse.c (cse_insn): If an insn has only a single set, SRC_EQV
14222 is nonzero and the single set does not have an elt, then assign
14225 * simplify-rtx.c: New file.
14226 * Makefile.in (OBJS): Add simplify-rtx.o
14227 (simplify-rtx.o): Add dependencies.
14228 * rtl.h (simplify_gen_binary, simplify_rtx): Add prototypes.
14229 * cse.c: Use simplify_gen_binary intead of cse_gen_binary.
14230 (cse_gen_binary, simplify_unary_operation): Delete.
14231 (simplify_binary_operation, simplify_plus_minus): Likewise.
14232 (check_fold_consts, simplify_relation_operation): Likewise.
14233 (simplify_ternary_operation): Likewise.
14234 (delete_trivially_dead_insns): Simplify the contents of the
14235 REG_EQUAL note before trying to substitute it into the source
14236 of the reg-reg copy at the end of a libcall sequence.
14238 * combine.c (combine_simplify_rtx): Renamed from simplify_rtx. All
14239 references/callers changed.
14241 * mn10200.c (mn10200_va_arg): Force the return value into a
14244 * fr30.h (EXTRA_CC_NAMES): Remove obsolete macro.
14246 * cccp.c (macroexpand): Avoid out of range accesses for omitted
14249 Sat Oct 30 22:42:50 1999 Stephen L Moshier <moshier@mediaone.net>
14251 * c-lex.c (yylex): Accept 'f' in mantissa of hex float constant.
14253 Sat Oct 30 22:19:26 1999 Jeffrey A Law (law@cygnus.com)
14255 * fold-const.c (fold): Fix thinko when optimizing comparisons
14258 Sat Oct 30 21:32:17 1999 David Starner <dstarner98@aasaa.ofe.org>
14260 * gcc.texi (Passes): Update front-end files to their current
14263 Sat Oct 30 14:41:40 1999 Richard Henderson <rth@cygnus.com>
14265 * alpha.h (SECONDARY_INPUT_RELOAD_CLASS): Call secondary_reload_class.
14266 (SECONDARY_OUTPUT_RELOAD_CLASS): Likewise.
14267 (PREDICATE_CODES): Add addition_operation.
14268 * alpha-protos.h (addition_operation): Declare.
14269 (secondary_reload_class): Likewise.
14270 * alpha.c (addition_operation): New.
14271 (secondary_reload_class): New, from old SECONDARY_INPUT_RELOAD_CLASS.
14272 * alpha.md (adddi3): Turn into expander.
14273 (*lda, *adddi_2): New.
14274 (movsf, movdf patterns): Don't preference integer regs.
14275 (movsi, movdi patterns): Don't preference fp regs.
14277 Sat Oct 30 14:38:22 1999 Richard Henderson <rth@cygnus.com>
14279 * genrecog.c (write_switch): Check for duplicate CODE cases.
14281 Sat Oct 30 14:31:48 1999 Richard Henderson <rth@cygnus.com>
14283 * ggc-common.c: Update pre-function commentary.
14284 * ggc-page.c: Likewise.
14286 (poison_pages): Use memset directly.
14287 (ggc_alloc_obj): Likewise. Use a different pattern than poison_pages.
14288 (ggc_collect): Poison before sweeping.
14289 * ggc-simple.c: Update pre-function commentary.
14290 (ggc_alloc_obj): Poison non-zeroed memory.
14292 Sat Oct 30 14:28:52 1999 Mark Mitchell <mark@codesourcery.com>
14294 * ggc-common.c (ggc_print_statistics): Make arguments to fprintf
14295 match format string, even on 64-bit hosts.
14296 * gcc-page.c (ggc_page_print_statistics): Likewise.
14298 Sat Oct 30 14:38:04 1999 Catherine Moore <clm@cygnus.com>
14300 * config/i386/i386.c (ix86_cpu): Revert last patch.
14301 * config/i386/i386.h (ix86_cpu): Ditto.
14303 Fri Oct 29 17:00:42 1999 Jim Wilson <wilson@cygnus.com>
14305 * stor-layout.c (layout_type): When compute TYPE_SIZE_UNIT from
14306 TYPE_SIZE, convert type of result to sizetype.
14308 Fri Oct 29 14:34:17 1999 Richard Henderson <rth@cygnus.com>
14310 * flow.c (count_or_remove_death_notes): Equate NULL with the
14313 * jump.c, reg-stack.c, toplev.c: Revert Oct 27 change.
14314 * toplev.c (rest_of_compilation): Rebuild CFG immediately before
14317 * i386.c (pic_label_no): Delete.
14318 (ix86_attr_length_default): Don't use single_set to peek
14321 * recog.c (peephole2_optimize): Allow recog_next_insn to index
14322 the first insn after bb->end.
14323 * i386.md (push mem peeps): Scratch is live after evaluation
14325 (cmp mem peep): Similarly.
14327 Fri Oct 29 11:50:11 1999 Catherine Moore <clm@cygnus.com>
14329 * calls.c (emit_library_call_value): Fix declaration of alignment_pad.
14330 * function.c (pad_to_arg_alignment): Add missing braces.
14332 Fri Oct 29 13:53:48 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
14334 * alpha/alpha-protos.h (literal_section): Add prototype.
14335 (alpha_need_linkage, alpha_start_function,alpha_end_function):
14338 * alpha/alpha.c (alpha_ra_ever_killed, set_frame_related_p): Add
14340 (alpha_start_function, alpha_end_function, float_strings,
14341 alpha_need_linkage): Constify a char*
14343 * alpha/alpha.h (ASM_OUTPUT_ASCII, ASM_OUTPUT_MI_THUNK): Likewise.
14345 * alpha/alpha32.h (ASM_OUTPUT_MI_THUNK): Likewise.
14347 * alpha/elf.h (ASM_FINISH_DECLARE_OBJECT): Likewise.
14349 * alpha/vms.h (ASM_OUTPUT_SECTION_NAME): Likewise.
14351 Fri Oct 29 13:49:39 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
14353 * flow.c (debug_flow_info): Add prototype.
14355 * gcc.c (main): Likewise.
14357 * gcse.c (expr_reaches_here_p_work, pre_expr_reaches_here_p_work):
14360 * reload1.c (failed_reload, set_reload_reg): Likewise.
14362 * mips-tfile.c (main): Likewise.
14363 (pfatal_with_name, fancy_abort, botch, fatal, catch_signal): Mark
14364 with ATTRIBUTE_NORETURN.
14366 Fri Oct 29 18:16:03 1999 Andrew Haley <aph@cygnus.com>
14368 * config/i386/i386.h (ENCODE_SECTION_INFO): Don't do anything if
14369 DECL is not a memory ref.
14371 Fri Oct 29 09:05:34 1999 Catherine Moore <clm@cygnus.com>
14373 * config/i386/i386.h (ix86_cpu): Remove extern attribute.
14374 * config/i386/i386.c (ix86_cpu): Add extern attribute.
14376 Fri Oct 29 16:30:04 1999 Andrew Haley <aph@cygnus.com>
14378 * config/mips/elf.h: remove NAME__MAIN and SYMBOL__MAIN.
14379 * config/mips/elf64.h: ditto.
14381 Fri Oct 29 08:03:57 1999 Catherine Moore <clm@cygnus.com>
14383 * expr.c (emit_push_insn): New argument alignment_pad.
14384 Update all callers. Adjust stack pointer based on alignment pad.
14385 * function.c (pad_to_arg_alignment): New argument alignment_pad.
14386 Update all callers. Track alignment_pad if boundary > PARM_BOUNDARY.
14387 (locate_and_pad_parm): New argument alignment_pad. Update all
14389 * expr.h (emit_push_insn): Update prototype.
14390 (locate_and_pad_parm): Update prototype.
14391 * calls.c (arg_data): Add new field alignment_pad.
14392 (initialize_argument_information): Initialize alignment_pad.
14394 Fri Oct 29 02:51:35 1999 Mark Mitchell <mark@codesourcery.com>
14396 * except.c (free_eh_nesting_info): Free the info itself.
14397 * function.c (free_after_compilation): Don't free NULL.
14398 * gcse.c (alloc_pre_mem): Free the temp_bitmap, too.
14399 (pre_edge_insert): Free inserted.
14400 * stmt.c (free_stmt_status): Don't free NULL.
14402 Fri Oct 29 15:25:07 1999 Arnaud Charlet <charlet@ACT-Europe.FR>
14404 * gcov.c (DIR_SEPARATOR): Provide default.
14405 (output_data): Add test for MS-DOS format absolute filename.
14406 (fancy_abort): Correct program name.
14407 (open_files): Open all files in binary mode.
14408 * libgcc2.c (__bb_exit_func): Likewise.
14410 * profile.c (init_branch_prob): Specify binary when opening files.
14412 * flags.h (flag_unwind_tables): New decl.
14413 * toplev.c (flag_unwind_table): New definition.
14414 (f_options): Add -funwind-tables.
14415 (decode_g_option): Clarify warning when unknown -g option is given.
14416 (rest_of_compilation): If inside an inlined external function,
14417 pretend we are just being declared.
14419 * dwarf2out.c (dwarf2out_do_frame): Check -funwind_tables.
14420 (dwarf2out_frame_finish): Likewise.
14422 Fri Oct 29 07:44:26 1999 Vasco Pedro <vp@di.fct.unl.pt>
14424 * fold-const.c (merge_ranges): If not in0, but in1, handle
14425 upper bounds equal like subset case.
14427 Thu Oct 28 19:22:24 1999 Douglas Rupp <rupp@gnat.com>
14429 * dbxout.c (dbxout_parms): Generate a second stabs line for parameters
14430 passed in a register but moved to the stack.
14432 Thu Oct 28 19:12:57 1999 Sam Tardieu <tardieu@act-europe.fr>
14434 * gcc.c (pass_exit_codes, greatest_status): New variables.
14435 (struct option_map): Add entry for "--pass-exit-codes".
14436 (execute): Update greatest_status if error.
14437 (display_help): Add documentation for -pass-exit-codes.
14438 (process_command): Handle -pass-exit-codes.
14439 (main): Look at pass_exit_codes and greatest_status on call to exit.
14441 Thu Oct 28 18:06:50 1999 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
14443 * reload.c (find_reloads): Refine test for no input reload
14444 case to not includes reloads emitted after insn.
14446 * function.c (find_temp_slots_from_address): Handle sum involving
14447 a register that points to a temp slot.
14448 (update_temp_slot_address): Make recursive call if both old and
14449 new are PLUS with a common operand.
14450 * calls.c (expand_call): Mark temp slot for result as having
14453 * rtlanal.c (reg_referenced_p, case IF_THEN_ELSE): New case.
14455 * gcc.c (process_command): Add standard_exec_prefix with "GCC"
14456 component as well as "BINUTILS".
14458 * integrate.h (copy_rtx_and_substitute): New arg, FOR_LHS.
14459 * integrate.c (copy_rtx_and_substitute): Likewise.
14460 (expand_inline_function, integrate_parm_decls, integrate_decl_tree):
14461 All callers changed.
14462 * unroll.c (inital_reg_note_copy, copy_loop_body): Likewise.
14464 * dbxout.c (dbxout_type, case INTEGER_TYPE_NODE): If can use
14465 gdb extensions, write size of type; also be more consistent
14466 in using references when this is a subtype.
14468 * pa.md (extv, extzv, insv): Use define_expand to reject constant
14469 that is out of range.
14471 * loop.c (unknown_constant_address_altered): New variable.
14472 (prescan_loop): Initialize it.
14473 (note_addr_stored): Set it for RTX_UNCHANGING_P MEM.
14474 (invariant_p, case MEM): Remove handling for volatile and readonly;
14475 check new variable if readonly.
14476 (check_dbra_loop): Chdeck unknown_constant_address_altered.
14478 * cse.c (canon_hash, case MEM): Do not record if BLKmode.
14479 (addr_affects_sp_p): Removed from note_mem_written and only
14480 define #ifdef AUTO_INC_DEC.
14482 * alpha.c (input_operand, case ADDRESSOF): Treat as REG.
14484 * regclass.c (record_reg_classes): Properly handle register move
14487 * varasm.c (initializer_constant_valid_p, case MINUS_EXPR):
14488 Don't think valid if both operands are invalid.
14489 (struct constant_descriptor): New field RTL.
14490 (mark_const_hash_entry): Mark it.
14491 (record_constant{,_rtx}): Initialize it.
14492 (output_constant_def): Allocate RTL in permanent obstack and
14494 ({record,compare}_constant_1): Modes must match for
14495 CONSTRUCTOR of ARRAY_TYPE.
14497 * c-common.h (initializer_constant_valid_p): Delete decl from here.
14498 * output.h (initializer_constant_valid_p): Move decl to here.
14499 * c-common.c (initializer_constant_valid_p): Delete function from here.
14500 * varasm.c (initializer_constant_valid_p): Move function to here.
14502 * tree.h (STRIP_SIGN_NOPS): New macro.
14503 * fold-const.c (optimize_minmax_comparison): New function.
14504 (invert_truthvalue, case WITH_RECORD_EXPR): New case.
14505 (fold): Use STRIP_SIGN_NOPS instead of STRIP_TYPE_NOPS.
14506 (fold, case EQ_EXPR): Call optimize_minmax_comparison and add
14507 cases with ABS_EXPR, NEGATE_EXPR, PLUS_EXPR, MINUS_EXPR, and
14508 widening conversions.
14509 (fold, case LE_EXPR): Rework changing unsigned to signed comparisons
14510 to look at size of mode, not precision of type; also add missing cases.
14511 (optimize_bit_field_compare, decode_field_reference): Don't try to
14512 optimize COMPONENT_REF of a PLACEHOLDER_EXPR.
14514 * dwarf2out.c (ctype.h): Include.
14515 (dwarf2out_set_demangle_name_func): New function.
14516 (size_of_line_info): Deleted.
14517 (output_line_info): Compute size of line info table from difference
14519 (base_type_die, add_name_attribute): Call demangle function, if any.
14520 (field_byte_offset): Use bits per word for variable length fields.
14521 (gen_array_type_die): Add array name.
14522 (gen_subprogram_die): Ignore DECL_INLINE if -fno-inline.
14523 (dwarf2out_add_library_unit_info): New function.
14525 * explow.c (set_stack_check_libfunc): New function.
14526 (stack_check_libfunc): New static variable.
14527 (probe_stack_range): Allow front-end to set up a libfunc to call.
14529 * combine.c (simplify_comparison): When making comparison in wider
14530 mode, check for having commuted an AND and a SUBREG.
14531 (contains_muldiv): New function.
14532 (try_combine): Call it when dividing a PARALLEL.
14533 (simplify_rtx, case TRUNCATE): Don't remove for umulsi3_highpart.
14534 (simplify_comparison, case ASHIFTRT): Recognize sign-extension of
14536 (record_value_for_reg): If TEM is a binary operation with two CLOBBERs,
14537 use one of the CLOBBERs instead.
14538 (if_then_else_cond): If comparing against zero, just return thing
14541 * optabs.c (expand_abs): If machine has MAX, ABS (x) is MAX (x, -x).
14542 Don't generate shifts and subtract if have conditional arithmetic.
14544 * rtl.h (delete_barrier): New declaration.
14545 * jump.c (jump_optimize): Set up to handle conditional call.
14546 In conditional arithmetic case, handle CALL_INSN followed by a BARRIER.
14547 (delete_barrier): New function.
14549 * rtl.c (read_rtx): Call fatal if bad RTL code; check for bad mode.
14551 * recog.c (nonmemory_operand): Accept ADDRESSOF.
14553 * tree.c (build_type_attribute_variant): Push to obstack of
14554 ttype around type_hash_canon call.
14556 * expr.c (placeholder_list): Move decl to file scope.
14557 (expand_expr): Don't force access to volatile just because its
14559 If ignoring reference operations, just expand the operands.
14560 (expand_expr, case COMPONENT_REF): Propagate
14561 EXPAND_CONST_ADDRESS to recursive call when expanding inner.
14562 Refine test for using bitfield operations vs pointer punning.
14563 (expand_expr, case CONVERT_EXPR): If converting to
14564 BLKmode UNION_TYPE from BLKmode, just return inner object.
14565 Use proper mode in store_field call.
14566 Properly set sizes of object to store and total size in store_field
14567 call for convert to union.
14568 (expand_expr, case ARRAY_REF): If OP0 is in a register, put it in
14569 memory (like for ADDR_EXPR). Also, don't put constant in register if
14570 we'll want it in memory.
14571 (readonly_fields_p): New function.
14572 (expand_expr, case INDIRECT_REF): Call it if LHS.
14573 (expand_assignment): Handle a RESULT_DECL where
14574 DECL_RTL is a PARALLEL.
14575 (do_jump, case WITH_RECORD_EXPR): New case.
14576 (get_inner_reference): Always go inside a CONVERT_EXPR
14577 and NOP_EXPR if both modes are the same.
14578 (store_field): Use bitfield operations if size of bitsize is not same
14579 as size of RHS's type.
14580 Check for bitpos not a multiple of alignment in BLKmode case.
14581 Do block move in largest possible alignment.
14582 (store_constructor): Set BITSIZE to -1 for variable size and properly
14583 in case of array of BLKmode.
14584 (expand_expr_unaligned): New function.
14585 (do_compare_and_jump): Call it.
14587 * mips/iris5.h (SWITCHES_NEED_SPACES): New macro.
14588 * collect2.c (main): Only allow -ofoo if SWITCHES_NEED_SPACES
14589 does not include 'o'.
14591 * function.c (instantiate_virtual_regs_1, case SET): Handle case where
14592 both SET_DEST and SET_SRC reference a virtual register.
14593 (gen_mem_addressof): Copy RTX_UNCHANGING_P from new REG to old REG.
14595 * integrate.c (expand_inline_function): Handle case of setting
14596 virtual stack vars register (from built in setjmp); when parameter
14597 lives in memory, expand virtual_{stack_vars,incoming_args}_rtx early.
14598 (subst_constant): Add new parm, MEMONLY.
14599 (expand_inline_function, integrate_parm_decls): Pass new parm.
14600 (integrate_decl_tree): Likewise.
14601 (copy_rtx_and_substitute, case MEM): Do copy RTX_UNCHANGING_P.
14602 (try_constants): Call subst_constants twice, with MEMONLY 0 and 1.
14603 (copy_rtx_and_substitute, case SET): Add explicit calls to
14604 copy_rtx_and_substitute for both sides.
14606 * stmt.c (expand_asm_operands): Don't use TREE_STRING_LENGTH for
14608 (pushcase{,_range}): Convert to NOMINAL_TYPE after checking for
14609 within INDEX_TYPE, instead of before.
14610 (fixup_gotos): Use f->target_rtl, not the next insn,
14611 since latter may be from a later fixup.
14612 (expand_value_return): Correctly convert VAL when promoting function
14613 return; support RETURN_REG being a PARALLEL.
14614 (expand_return): When checking for result in regs and having
14615 cleanup, consider PARALLEL in DECL_RTL as being in regs.
14617 1999-10-28 21:27 -0700 Zack Weinberg <zack@bitmover.com>
14619 * cpplib.h (struct cpp_buffer: fname, nominal_fname,
14620 last_nominal_fname): Mark const.
14621 (struct include_hash: name, nshort, control_macro): Mark
14623 (struct macrodef: symnam): Mark const.
14624 (struct if_stack: fname): Mark const.
14625 (is_idchar, is_idstart, is_hor_space, trigraph_table): Delete.
14626 (IStable): New character-syntax array which encompasses all
14627 the old is_foo arrays.
14628 (is_idchar, is_numchar, is_idstart, is_numstart, is_hspace,
14629 is_space): New macros for interrogating IStable.
14630 (check_macro_name): Kill last argument. All callers changed.
14632 * cppinit.c (initialize_char_syntax): Delete.
14633 (is_idchar, is_idstart, is_hor_space, is_space,
14634 trigraph_table): Delete.
14635 (IStable): New. Initialize with clever macros to avoid
14636 information duplication.
14637 (builtin_array): Table of builtins to get rid of explicit list
14638 in initialize_builtins.
14639 (initialize_builtins): Use builtins_array.
14640 (cpp_start_read): Call init_IStable, and set IStable['$'] if
14641 opts->dollars_in_ident.
14643 * cppexp.c: Change all refs to is_xyz[] arrays to use new
14645 (cpp_parse_expr): Avoid 'format string is not constant'
14646 warning. Use ISGRAPH to identify printable chars.
14647 * cppfiles.c: Change all refs to is_xyz[] arrays to use new
14649 (read_and_prescan): Map trigraphs to chars with open-coded
14650 if-else-if-... sequence, not a lookup table.
14651 * cpphash.c: Change all refs to is_xyz[] arrays to use new
14653 * cpplib.c: Change all refs to is_xyz[] arrays to use new
14654 is_xyz() macros. Kill SKIP_ALL_WHITE_SPACE (unused).
14655 (check_macro_name): Remove ability to report an invalid
14656 assertion name, which is never used.
14657 (do_line): Constify a couple of char *'s.
14658 * cppmain.c (main): Call cpp_cleanup before returning.
14660 Thu Oct 28 21:16:35 1999 Mark Mitchell <mark@codesourcery.com>
14662 * ggc.h (struct ggc_statistics): New type.
14663 (ggc_get_size): New function.
14664 (ggc_print_statistics): Likewise.
14665 * ggc-common.c (ggc_stats): New variable.
14666 (ggc_mark_rtx_children): Keep statistics.
14667 (ggc_mark_tree_children): Likewise.
14668 (ggc_print_statistics): New function.
14669 * ggc-page.c (struct globals): Add bytes_mapped field.
14670 (alloc_anon): Update it.
14671 (release_pages): Likewise.
14672 (ggc_get_size): New function.
14673 (ggc_page_print_statistics): New function.
14674 * ggc-simple.c (ggc_get_size): New function.
14676 Fri Oct 29 06:32:44 1999 Geoffrey Keating <geoffk@cygnus.com>
14678 * flow.c (propagate_block): When the last reference to a label
14679 before an ADDR_VEC is deleted because the reference is a dead
14680 store, delete the ADDR_VEC.
14682 Thu Oct 28 12:28:50 1999 Richard Henderson <rth@cygnus.com>
14684 * resource.c (find_free_register): Don't use the frame pointer
14685 if frame_pointer_needed.
14687 Thu Oct 28 10:02:00 1999 Jim Wilson <wilson@cygnus.com>
14689 * config/mips/mips.c (mips_va_arg): Delete gen_jump as emit_jump arg.
14690 (function_arg_pass_by_reference): Check for a NULL pointer in cum.
14692 * config/i960/i960.c (i960_va_start): New locals base, num.
14693 Use INDIRECT_REF instead of ARRAY_REF on valist.
14694 (i960_va_arg): Use INDIRECT_REF instead of ARRAY_REF on valist.
14696 Thu Oct 28 09:45:48 1999 Mark Mitchell <mark@codesourcery.com>
14698 * gcse.c (delete_null_pointer_checks): Fix typo in previous change.
14700 Thu Oct 28 03:37:50 1999 Peter Gerwinski <peter@gerwinski.de>
14702 * tree.def (PLACEHOLDER_EXPR): Update comments.
14704 Thu Oct 28 06:47:32 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
14706 * c-common.c (check_format_info): Avoid non-literal format string
14707 warnings when `first_arg_num' is zero.
14709 Thu Oct 28 12:28:48 1999 Bernd Schmidt <bernds@cygnus.co.uk>
14711 * rtl.texi: Delete explicit Prev, Up and Next entries in "@node"s.
14713 Thu Oct 28 11:05:13 1999 Richard Earnshaw <rearnsha@arm.com>
14715 * arm.md (casesi_insn): Add a clobber of the condition code
14718 Mon Oct 18 21:16:06 1999 Fred Fish <fnf@be.com>
14720 * tm.texi (CC1PLUS_SPEC): Make it clear in the docs that CC1_SPEC is
14721 used by both cc1 and cc1plus.
14723 Thu Oct 28 10:00:48 1999 Nick Clifton <nickc@cygnus.com>
14725 * config/arm/arm.c: Initialise arm_structure_size_boundary to
14726 DEFAULT_STRUCTURE_SIZE_BOUNDARY.
14727 * config/arm/arm.h (DEFAULT_STRUCTURE_SIZE_BOUNDARY): Define
14728 to the value 32 if it has not already been defined.
14729 * config/arm/netbsd.h (DEFAULT_STRUCTURE_SIZE_BOUNDARY):
14730 Override definition in arm.h with a value of 8.
14732 Thu Oct 28 03:12:02 1999 David Starner <dstarner98@aasaa.ofe.org>
14734 * c-pragma.c (push_alignment): Don't check the return value
14737 Thu Oct 28 03:08:38 1999 Matteo Frigo <athena@fftw.org>
14739 * sparc.h (ADJUST_COST): Fix thinko.
14741 Thu Oct 28 02:44:03 1999 Glen Nakamura <glen.nakamura@usa.net>
14743 * cccp.c (rescan): Fixed obp pointer handling around call to
14744 check_expand subroutine.
14746 Thu Oct 28 02:15:22 1999 Jeffrey A Law (law@cygnus.com)
14748 * gcse.c (delete_null_pointer_checks): Only record non-null info
14749 for pseudos when examining stores.
14751 * arm.md (adddi3, adddi_sesidi_di, adddi_sesidi_di): Add
14752 splitters for these patterns. Use "#" for output templates.
14753 (addsi3_carryin_shift): New pattern.
14755 Thu Oct 28 10:20:02 1999 Geoffrey Keating <geoffk@cygnus.com>
14757 * config/rs6000/rs6000.md (movsf): Don't convert a SUBREG
14758 of the function return register into a plain REG until
14759 after function inlining is done.
14761 Wed Oct 27 15:21:46 1999 Richard Henderson <rth@cygnus.com>
14763 * jump.c (jump_optimize_1): If we did cross-jumping, and
14764 the data will matter, rebuild the CFG.
14765 * reg-stack.c (reg_to_stack): Only (re)build the CFG if
14766 not optimizing. Don't run shorten_branches.
14767 * toplev.c (rest_of_compilation): Run shorten_branches after
14770 Wed Oct 27 12:33:40 1999 Mark Mitchell <mark@codesourcery.com>
14772 * rtl.h (note_stores): Add additional paramter.
14773 * rtlanal.c (reg_set_p_1): Take additional paramter.
14774 (reg_set_last_1): Likewise.
14775 (reg_set_p): Adjust call to note_stores.
14776 (reg_set_last): Likewise.
14777 (note_stores): Pass data parameter to worker function.
14778 * alias.c (record_set): Take additional parameter.
14779 (init_alias_analysis): Pass it.
14780 * caller-save.c (mark_set_regs): Take additional parameter.
14781 (save_call_clobbered_regs): Pass NULL to note_stores.
14782 * combine.c (set_nonzero_bits_and_sign_copies): Take additional
14784 (record_dead_and_set_regs_1): Likewise.
14785 (reg_dead_at_p_1): Likewise.
14786 (combine_instructions): Adjust calls to note_stores.
14787 (try_combine): Likewise.
14788 (record_dead_insn): Remove.
14789 (record_dead_and_set_regs): Adjust calls to note_stores.
14790 (reg_dead_at_p): Likewise.
14791 * cse.c (invalidate_skipped_set): Take additional parameter.
14792 (cse_check_loop_start): Likewise.
14793 (cse_check_loop_start_value): Remove.
14794 (cse_set_around_loop): Adjust calls to note_stores.
14795 * flow.c (notice_stack_pointer_modification): Take additional
14796 parameter. Remove duplicate declaration.
14797 (record_volatile_insns): Adjust calls to note_stores.
14798 * gcse.c (record_set_info): Take additional parameter.
14799 (record_last_set_info): Likewise.
14800 (invalidate_nonnull_info): Likewise.
14801 (record_set_insn): Remove.
14802 (compute_sets): Adjust calls to note_stores.
14803 (last_set_insn): Remove.
14804 (compute_hash_table): Adjust calls to note_stores.
14805 (insert_insn_end_bb): Likewise.
14806 (delete_null_pointer_checks): Likewise.
14807 * global.c (mark_reg_store): Take additional parameter.
14808 (mark_reg_clobber): Likewise.
14809 (reg_becomes_live): Likewise.
14810 (global_conflicts): Adjust calls to note_stores.
14811 (build_insn_chain): Likewise.
14812 * integrate.c (note_modified_parmregs): Take additional parameter.
14813 (mark_stores): Likewise. Make it static.
14814 (save_for_inline_nocopy): Adjust calls to note_stores.
14815 (try_constants): Likewise.
14816 * integrate.h (mark_stores): Remove declaration.
14817 * jump.c (mark_modified_reg): Take additional parameter.
14818 (thread_jumps): Adjust calls to note_stores.
14819 * local-alloc.c (validate_equiv_mem_from_store): Take additional
14821 (no_equiv): Likewise.
14822 (reg_is_set): Likewise.
14823 (validate_equiv_mem): Adjust calls to note_stores.
14824 (update_equiv_regs): Likewise.
14825 (block_alloc): Likewise.
14826 * loop.c (note_set_pseudo_multiple_uses_retval): Remove.
14827 (note_addr_stored): Take additional parameter.
14828 (note_set_pseudo_multiple_uses): Likewise.
14829 (record_initial): Likewise.
14830 (prescan_loop): Adjust calls to note_stores.
14831 (strength_reduce): Likewise.
14832 (check_dbra_loop): Likewise.
14833 * regmove.c (flags_set_1): Take additional paramter.
14834 (mark_flags_life_zones): Adjust calls to note_stores.
14835 * reload1.c (mark_not_eliminable): Take additional parameter.
14836 (forget_old_reloads_1): Likewise.
14837 (reload_cse_invalidate_rtx): Likewise.
14838 (reload_cse_check_clobber): Likewise.
14839 (reload_combine_note_store): Likewise.
14840 (move2add_note_store): Likewise.
14841 (reload): Adjust calls to note_stores.
14842 (reload_as_needed): Likewise.
14843 (emit_reload_insns): Likewise.
14844 (reload_cse_regs_1): Likewise.
14845 (reload_cse_record_set): Adjust calls to reload_cse_invalidate_rtx.
14846 (reload_combine): Adjust calls to note_stores.
14847 * resource.c (update_live_status): Take additional paramter.
14848 (mark_target_live_regs): Adjust calls to note_stores.
14849 * stupid.c (find_clobbered_regs): Take additional parameter.
14850 (stupid_life_analysis): Adjust calls to note_stores.
14852 Wed Oct 27 19:26:12 1999 Nick Clifton <nickc@cygnus.com>
14854 * config/arm/coff.h (STRUCTURE_SIZE_BOUNDARY): Delete
14857 * config/arm/elf.h (STRUCTURE_SIZE_BOUNDARY): Delete
14860 * config/arm/arm.h (STRUCTURE_SIZE_BOUNDARY): Define in terms
14861 of the variable arm_structure_size_boundary.
14863 Wed Oct 27 02:05:58 1999 Mark P. Mitchell <mark@codesourcery.com>
14865 * alias.c (init_alias_analysis): Allocate reg_known_value and
14866 reg_known_equiv_p on the heap. Likewise for new_reg_base_value
14868 (end_alias_analysis): Free reg_known_value and reg_known_equiv_p.
14869 * cse.c (cse_main): Call end_alias_analysis.
14870 * haifa-sched.c (schedule_insns): Likewise.
14871 * local-alloc. (update_equiv_regs): Likewise.
14872 * reload1.c (reload_cse_regs): Likewise.
14874 Wed Oct 27 01:49:17 1999 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
14876 * sparc/sparc.c (sparc_override_options): Clear MASK_FPU_SET.
14877 * sparc/sparc.h (TARGET_SWITCHES): Add "fpu" entry for reverse
14878 mapping from MASK_FPU.
14880 Wed Oct 27 01:42:26 1999 Scott Christley <scottc@net-community.com>
14882 * sparc.md (call): Don't bound structure return size to 0xfff.
14884 Wed Oct 27 00:56:59 1999 Richard Henderson <rth@cygnus.com>
14886 * resource.c (mark_target_live_regs): Check that the target
14887 insn wasn't created after compute_bb_for_insn.
14889 Tue Oct 26 23:15:03 1999 Mark Mitchell <mark@codesourcery.com>
14891 * ggc-page.c (poison_pages): Don't be overzealous.
14893 Tue Oct 26 23:29:18 1999 Jeffrey A Law (law@cygnus.com)
14895 * alias.c: Update comments for ADDRESS.
14896 (nonlocal_reference_p): Look inside the ADDRESS to determine if
14897 it is a local memory reference.
14899 * c-typeck.c (build_function_call): Check that the built-in
14900 function is of class BUILT_IN_NORMAL before trying to recongize
14901 it as BUILT_IN_ABS.
14902 * calls.c (calls_function_1): Similarly for BUILT_IN_ALLOCA.
14903 * stmt.c (expand_end_cae): Similarly for BUILT_IN_CLASSIFY_TYPE.
14905 Wed Oct 27 00:14:13 1999 Robert Lipe <robertlipe@usa.net>
14907 * gcse.c (expr_reaches_here_p): Use xcalloc and explit free instead
14909 (pre_gcse): Likewise.
14910 (hoist_expr_reaches_here_p): Likewise.
14911 (hoist_code): Likewise.
14912 (pre_expr_reaches_here_p): Replace alloca with xcalloc. Move core
14914 (pre_expr_reaches_here_p_work): ... here.
14915 (expr_reaches_here_p): Replace alloca with xcalloc. Move core
14917 (expr_reaches_here_p_work): ... here.
14919 Tue Oct 26 20:42:45 1999 Richard Henderson <rth@cygnus.com>
14921 * resource.c (find_basic_block): Delete.
14922 (mark_target_live_regs, incr_ticks_for_insn): Use BLOCK_NUM instead.
14923 (init_resource_info): Call compute_bb_for_insn.
14925 Tue Oct 26 20:21:02 1999 Richard Henderson <rth@cygnus.com>
14927 * flow.c (merge_blocks_move_predecessor_nojumps): Cope
14928 with already adjacent blocks, but no fallthru.
14929 (merge_blocks_move_successor_nojumps): Simplify.
14930 (debug_flow_info): New.
14932 * toplev.c (rest_of_compilation): Open jump1 dump file before
14933 jump and close after, as opposed to just using dump_rtl.
14935 Wed Oct 27 03:09:23 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
14937 * reload.h (earlyclobber_operand_p): Declare.
14938 * reload.c (earlyclobber_operand_p): Don't declare. No longer static.
14939 * reload1.c (reload_reg_free_for_value_p): RELOAD_OTHER reloads with
14940 an earlyclobbered output conflict with RELOAD_INPUT reloads - handle
14941 case where the RELOAD_OTHER reload is new. Use earlyclobber_operand_p.
14943 Tue Oct 26 18:23:38 1999 Jan Hubicka <hubicka@freesoft.cz>
14944 Richard Henderson <rth@cygnus.com>
14946 * emit-rtl.c (emit_block_insn_before): New.
14947 (emit_block_insn_after): New.
14948 * basic-block.h: Declare them.
14950 * bitmap.h: Protect from multiple inclusion.
14952 * recog.c (scratch_operand): Handle VOIDmode correctly.
14954 * rtl.h (JUMP_CROSS_JUMP_DEATH_MATTERS): New.
14956 * builtins.c (expand_builtin_apply_args_1): Remove STACK_REGS hack.
14957 * function.c (assign_parms): Likewise.
14958 * global.c (global_conflicts): Clarify STACK_REGS commentary.
14960 * reg-stack.c (max_uid): Remove.
14961 (blocks, block_begin, block_end, block_drops_in): Remove.
14962 (block_stack_in, block_out_reg_set, block_number): Remove.
14963 (struct block_info_def, BLOCK_INFO): New.
14964 (enum emit_where): New.
14965 (current_block): New.
14966 (BLOCK_NUM): Remove.
14967 (mark_regs_pat, record_label_references): Remove.
14968 (record_reg_life_pat, record_reg_life, find_blocks): Remove.
14970 (goto_block_pat, print_blocks, dump_stack_info): Remove.
14971 (reg_to_stack): Simplified test for existance of fp code. Use
14972 flow.c code. Call shorten_branches after cross-jump opt.
14973 (check_asm_stack_operands): Renamed from record_asm_reg_life.
14974 Return false if the asm doesn't use stack regs. Don't do life
14975 analysis on the asm.
14976 (emit_pop_insn): Replace function pointer arg `when' with
14977 enum `where'. Update all callers.
14978 (change_stack): Likewise. Update basic block end.
14979 (emit_swap_insn): Use current_block->head to limit reverse search
14980 for start of block. Use emit_block_insn_after.
14981 (subst_stack_regs_pat): Handle USE and CLOBBER patterns.
14982 (subst_asm_stack_regs): Use check_asm_stack_operands. Use direct
14983 structure assignment instead of bcopy.
14984 (print_stack): New.
14985 (convert_regs_entry, convert_regs_exit): New.
14986 (convert_regs_1, convert_regs_2): Split out from convert_regs.
14987 Work on basic blocks and the CFG.
14988 (convert_regs): Use them.
14990 * i386.c (output_fix_trunc): Remove code for DImode input operand
14991 not at top-of-stack.
14992 * i386.c (fix_truncdfdi2, fix_truncsfdi2): Use scratch with
14994 (fix_truncdi_1): Allow any mode scratch.
14996 Tue Oct 26 13:30:35 1999 Richard Henderson <rth@cygnus.com>
14998 * alpha.h (TARGET_MEM_FUNCTIONS): Define here.
14999 * linux.h, netbsd.h, vms.h: Not here.
15001 1999-10-26 Gavin Romig-Koch <gavin@cygnus.com>
15003 * config/mips/mips.h (ISA_HAS_64BIT_REGS,ISA_HAS_BRANCHLIKELY,
15004 ISA_HAS_FP4,ISA_HAS_CONDMOVE): New.
15005 (GENERATE_BRANCHLIKELY,HAVE_SQRT_P,
15006 CONDITIONAL_REGISTER_USEAGE): Use them.
15007 * config/mips/mips.c (mips_move_1word,mips_move_2words,
15008 gen_conditional_branch,override_options) : Use them.
15009 * config/mips/mips.md : Use them.
15011 Tue Oct 26 13:09:23 1999 Richard Henderson <rth@cygnus.com>
15013 * i386.md (zero_extendqihi2): Use SImode register name with andl.
15015 Tue Oct 26 12:35:38 1999 Richard Henderson <rth@cygnus.com>
15017 * integrate.c (function_cannot_inline_p): Don't allow inlining
15020 Tue Oct 26 14:10:23 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
15022 * c-parse.in (cast_expr): Constify.
15024 * cccp.c (special_symbol): Likewise.
15026 * cse.c (hash_cse_reg_info, cse_reg_info_equal_p): Likewise.
15028 * dwarf2out.c (base_type_die): Likewise.
15030 * global.c (allocno_compare): Likewise.
15032 * local-alloc.c (qty_compare_1, qty_sugg_compare_1): Likewise.
15034 * regclass.c (fix_register): Likewise.
15036 * rtl.h (fix_register): Likewise.
15038 * stupid.c (stupid_reg_compare): Likewise.
15040 * toplev.c (decode_f_option): Likewise.
15042 * tree.c (build_complex_type): Likewise.
15044 Tue Oct 26 18:35:25 1999 Richard Earnshaw <rearnsha@arm.com>
15046 * output.h: Don't unnecessarily conditionalize prototypes on TREE_CODE.
15048 Tue Oct 26 15:42:56 1999 Bernd Schmidt <bernds@cygnus.co.uk>
15050 * reload.c (find_reloads): Compute mode and nregs fields of all
15052 * reload1.c (calculate_needs_all_insns): Simplify a bit.
15053 (calculate_needs): Use precomputed mode/nregs values.
15054 (allocate_reload_reg): Likewise.
15056 (failed_reload, set_reload_reg): ... new functions.
15057 (choose_reload_regs_init): New function, mostly broken out from...
15058 (choose_reload_regs): ... here. Lose all the save_xxx nonsense.
15059 Also lose one #if 0 block.
15061 Tue Oct 26 02:48:32 1999 Marc Espie <espie@cvs.openbsd.org>
15063 * Makefile.in (AR_FOR_TARGET, RANLIB_FOR_TARGET): Fix target name
15066 Tue Oct 26 01:27:32 1999 Mark Mitchell <mark@codesourcery.com>
15068 * tree.h (BLOCK_TYPE_TAGS): Remove.
15069 (BLOCK_END_NOTE): Likewise.
15070 (BLOCK_LIVE_RANGE_FLAG): Likewise.
15071 (BLOCK_LIVE_RANGE_START): Likewise.
15072 (BLOCK_LIVE_RANGE_END): Likewise.
15073 (tree_block): Remove live_range_flag, live_range_var_flag, and
15074 type_tags. Remove end_note, live_range_start, and live_range_end.
15075 (remember_end_note): Remove prototype.
15076 * tree.c (build_block): Don't set BLOCK_TYPE_TAGS.
15077 * c-decl.c (poplevel): Don't set BLOCK_TYPE_TAGS or call
15079 * ggc-common.c (ggc_mark_tree_children): Don't mark
15080 BLOCK_TYPE_TAGS or BLOCK_END_NOTE.
15081 * integrate.c (adjust_copied_decl_tree): Remove.
15082 * print-tree.c (print_node): Don't print BLOCK_TYPE_TAGS.
15083 * stmt.c (last_block_end_note): Remove.
15084 (init_stmt): Don't add a GC root for it.
15085 (expand_fixup): Don't set it.
15086 (remember_end_note): Remove.
15087 (expand_end_bindings): Don't set last_block_end_note.
15089 Tue Oct 26 00:41:54 1999 Bernd Schmidt <bernds@cygnus.co.uk>
15091 * reload1.c (reload_reg_free_for_value_p): Show
15092 RELOAD_FOR_OTHER_ADDRESS reloads can conflict with RELOAD_OTHER
15095 Mon Oct 25 23:54:45 1999 Geoff Keating <geoffk@cygnus.com>
15097 * expmed.c (extract_bit_field): Allow for the case of non-integer
15098 objects that are smaller than a word (like SFmode on a 64-bit
15101 * loop.c (basic_induction_var): A non-integer variable which is
15102 being set by a paradoxical subreg is probably not a biv.
15104 1999-10-25 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
15106 * prefix.c (translate_name) Check for empty prefix string.
15108 Mon Oct 25 23:10:45 1999 Andreas Schwab <schwab@suse.de>
15110 * Makefile.in (CPP_CROSS_NAME): New variable.
15111 (install-cpp): Use it instead of CPP_INSTALL_NAME for the cross
15113 (uninstall-cpp): Use CPP_INSTALL_NAME and CPP_CROSS_NAME for the
15114 names of the files to be uninstalled.
15116 Mon Oct 25 23:03:09 1999 Jeffrey A Law (law@cygnus.com)
15118 * collect2.c (IS_DIR_SEPARATOR): Define.
15119 (prefix_from_string): Use IS_DIR_SEPARATOR and DIR_SEPARATOR.
15121 * som.h (ASM_DECLARE_FUNCTION_NAME): Set PRIV_LEV for static
15124 * haifa-sched.c (add_dependence): Update the true dependency
15125 cache the first time we add a true dependence to the LOG_LINKS chain.
15127 Mon Oct 25 22:27:40 1999 Jim Kingdon <http://developer.redhat.com/>
15129 * fold-const.c (fold): Fix comment.
15131 Mon Oct 25 22:49:34 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
15133 * dbxout.c (lastfile, cwd, dbxout_type_method_1,
15134 dbxout_symbol_location, dbxout_symbol_name, dbxout_init,
15135 dbxout_start_new_source_file, dbxout_source_file,
15136 dbxout_source_line, dbxout_finish, dbxout_type_fields,
15137 dbxout_type_methods, dbxout_symbol, dbxout_prepare_symbol):
15139 (dbxout_types, dbxout_args, dbxout_symbol): Delete prototypes.
15140 (dbxout_symbol): Mark parameter `local' with ATTRIBUTE_UNUSED.
15141 (dbxout_block): Initialize variable `blocknum'.
15143 * dbxout.h (dbxout_init, dbxout_finish,
15144 dbxout_start_new_source_file, dbxout_source_file, dbxout_types,
15145 dbxout_args, dbxout_source_line): Constify a char*.
15147 * dwarfout.c (dwarf_tag_name, dwarf_attr_name,
15148 dwarf_stack_op_name, dwarf_typemod_name, dwarf_fmt_byte_name,
15149 dwarf_fund_type_name, name_attribute, stmt_list_attribute,
15150 low_pc_attribute, high_pc_attribute, body_begin_attribute,
15151 body_end_attribute, comp_dir_attribute, sf_names_attribute,
15152 src_info_attribute, mac_info_attribute, producer_attribute,
15153 lookup_filename, generate_macinfo_entry, fundamental_type_code,
15154 dwarfout_line, dwarfout_start_new_source_file, dwarfout_define,
15155 dwarfout_undef): Constify a char*.
15156 (add_incomplete_type, retry_incomplete_types): Add prototypes.
15158 * dwarfout.h (dwarfout_define, dwarfout_undef,
15159 dwarfout_start_new_source_file, dwarfout_line): Constify a char*.
15161 1999-10-25 Gavin Romig-Koch <gavin@cygnus.com>
15163 * config/mips/mips.h (MIPS_ISA_DEFAULT): Insure it's defined.
15164 (MULTILIB_ISA_DEFAULT): New.
15165 (MULTILIB_DEFAULTS): Use it.
15166 * config/mips/mips.c (): Remove the now unnecessary definition
15167 of MIPS_ISA_DEFAULT.
15168 * config/mips/elf64.h (MULTILIB_DEFAULTS): Remove the now
15169 unnecessary definition.
15171 Mon Oct 25 22:08:35 1999 Richard Earnshaw (rearnsha@arm.com)
15173 * arm.md (pic_load_addr): Add constraints to operand 1.
15175 1999-10-25 Bruce Korb <autogen@linuxbox.com>
15177 * fixinc/genfixes: Provide a means for specifying -D options to
15180 Mon Oct 25 00:42:35 1999 Jeffrey A Law (law@cygnus.com)
15182 * arm.c (arm_override_options): Correct initialization of
15183 arm_fast_multiply, arm_arch4, arm_arch5, arm_ld_sched,
15184 arm_is_strong, and arm_is_6_or_7.
15186 * loop.c (note_set_pseudo_multiple_uses_retval): New variable.
15187 (note_set_pseudo_multiple_uses): New function.
15188 (check_dbra_loop): Use not_set_pseudo_multiple_uses to determine
15189 if a pseudo set in the loop exit is used elsewhere.
15191 Sun Oct 24 20:52:40 1999 Mark Mitchell <mark@codesourcery.com>
15193 * i386.md (mulsi3): Tweak to work with SCO OSR5 COFF assembler.
15195 Sun Oct 24 21:02:46 1999 Richard Henderson <rth@cygnus.com>
15197 * i386.md (*lea_0): Collapse addsi_0, addsi_lea_[123] into
15198 a single load-address pattern.
15200 Sun Oct 24 19:33:24 1999 Mark P. Mitchell <mark@codesourcery.com>
15202 * haifa-sched.c (schedule_insns): Don't assign LUIDs differently
15203 depending on whether or not line-number notes are present.
15205 Sun Oct 24 20:29:59 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
15207 * cccp.c (progname, file_buf, default_include, include_file,
15208 macrodef, definition, hashval, wchar_type, user_label_prefix,
15209 directive, out_fname, if_stack, safe_write, index0, get_lintcmd,
15210 expand_to_temp_buffer, is_system_include, base_name,
15211 absolute_filename, read_name_map, open_include_file,
15212 record_control_macro, check_precompiled, check_preconditions,
15213 pcfinclude, pass_thru_directive, create_definition,
15214 check_macro_name, comp_def_part, collect_expansion,
15215 check_assertion, read_token_list, assertion_install,
15216 assertion_lookup, eval_if_expression, conditional_skip,
15217 validate_else, skip_quoted_string, quote_string, macarg1,
15218 error_from_errno, install, lookup, hashf, dump_defn_1,
15219 perror_with_name, pfatal_with_name, main, trigraph_pcp,
15220 check_white_space, rescan, handle_directive, monthnames,
15221 special_symbol, do_include, remap_include_file, write_output,
15222 arglist, do_assert, do_unassert, do_line, do_error, do_once,
15223 do_ident, do_sccs, do_xifdef, skip_if_group,
15224 output_line_directive, macroexpand, macarg, change_newlines,
15225 initialize_builtins, make_definition): Constify a char*.
15227 * pcp.h (stringdef): Likewise.
15229 Sun Oct 24 13:29:28 1999 Richard Henderson <rth@cygnus.com>
15231 * unroll.c (copy_loop_body): Examine SET_DEST of single_set
15234 Sun Oct 24 13:14:20 1999 Graham <grahams@rcp.co.uk>
15235 Richard Henderson <rth@cygnus.com>
15237 * alias.c: Include ggc.h.
15238 (reg_base_value, new_reg_base_value, reg_base_value_size): Make static.
15239 (record_set): Verify enough room in reg_base_value.
15240 (init_alias_analysis): Allocate reg_base_value with xcalloc.
15241 Register it as a GC root.
15242 (end_alias_analysis): Free reg_base_value. Remove it as a GC root.
15243 * Makefile.in (alias.o): Depend on ggc.h.
15245 * unroll.c (unroll_loop): Verify the insn before a barrier
15246 is a JUMP_INSN before checking JUMP_LABEL.
15248 Sun Oct 24 15:46:44 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
15250 * mips/bsd-5.h (ASM_OUTPUT_ASCII): Constify a char*.
15251 * mips/iris4.h (ASM_OUTPUT_ASCII): Likewise.
15252 * mips/mips-5.h (ASM_OUTPUT_ASCII): Likewise.
15253 * mips/mips.h (ASM_OUTPUT_ASCII): Likewise.
15254 * mips/svr3-5.h (ASM_OUTPUT_ASCII): Likewise.
15255 * mips/svr4-5.h (ASM_OUTPUT_ASCII): Likewise.
15257 Sun Oct 24 15:35:43 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
15259 * output.h (ctors_section, dtors_section, bss_section): Prototype.
15261 * alpha/alpha-interix.h (text_section): Delete prototype.
15262 * alpha/elf.h (text_section): Likewise.
15263 * arm/linux-elf.h (text_section): Likewise.
15264 * arm/linux-telf.h (text_section): Likewise.
15265 * c4x/c4x.h (text_section): Likewise.
15266 * dsp16xx/dsp16xx.h (bss_section): Likewise.
15267 * elfos.h (text_section): Likewise.
15268 * i386/aix386ng.h (text_section): Likewise.
15269 * i386/i386-interix.h (text_section): Likewise.
15270 * i386/sco5.h (text_section): Likewise.
15271 * i386/svr3gas.h (text_section): Likewise.
15272 * nextstep.h (text_section): Likewise.
15273 * psos.h (text_section): Likewise.
15274 * ptx4.h (text_section): Likewise.
15275 * svr3.h (text_section): Likewise.
15276 * svr4.h (text_section, ctors_section, dtors_section): Likewise.
15278 Sun Oct 24 15:20:59 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
15280 * final.c (peephole): Delete prototype.
15282 * gcse.c (process_insert_insn, pre_edge_insert): Add prototypes.
15283 (pre_insert_copies): Remove unused variable `bb'.
15285 * genrecog.c (debug_decision_0, debug_decision_list, main): Add
15288 * output.h (peephole): Add prototype.
15290 Sun Oct 24 11:35:30 1999 Mark P. Mitchell <mark@codesourcery.com>
15292 * config/mips/iris6.h (SUBTARGET_ASM_OPTIMIZING_SPEC): Define to
15295 Sat Oct 23 21:13:00 1999 Mark Mitchell <mark@codesourcery.com>
15297 * integrate.c (integrate_decl_tree): Tweak setting of DECL_CONTEXT
15298 for inlined declarations.
15300 Fri Oct 22 18:05:43 1999 Jeffrey A Law (law@cygnus.com)
15302 * arm.c (logical_binary_operator): New fucntion.
15303 * arm.h (logical_binary_operator): Declare it.
15304 (PREDICATE_CODES): Handle logical_binary_operator.
15305 * arm.md (anddi3, anddi_zesidi_di, anddi_sesdi_di): Use "#" for
15306 output constraints. Add appropriate splitters.
15307 (anddi_notdi_di, anddi_notzesidi_di, anddi_notsesidi_di): Likewise.
15308 (iordi3, iordi_zesidi_di, iordi_sesidi_di): Likewise.
15309 (xordi3, xordi_zesidi_di, xordi_sesidi_di): Likewise.
15311 Fri Oct 22 23:46:50 1999 Bernd Schmidt <bernds@cygnus.co.uk>
15313 * genoutput.c (struct operand_data): New elt eliminable.
15314 (output_operand_data): Write it.
15315 (scan_operands): Set it for MATCH_OPERAND, clear for other matchers.
15316 (compare_operands): Take it into account.
15317 * recog.h (struct insn_operand_data): New elt eliminable.
15318 * reload1.c (check_eliminable_occurrences, elimination_effects): New
15320 (old_asm_operands_vec, new_asm_operands_vec): Delete.
15321 (eliminate_regs): Move code that detects changes to elimination
15322 target regs into new function elimination_effects.
15323 Delete one #if 0 block.
15324 Abort for USE, CLOBBER, ASM_OPERANDS and SET.
15325 (eliminate_regs_in_insn): Return immediately for USEs, CLOBBERs,
15326 ADDR_VECs, ADDR_DIFF_VECs and ASM_INPUTs.
15327 Only call eliminate_regs for real operands of the insn, not for parts
15328 of its structure or parts matched by things like match_operator.
15329 Use elimination_effects and check_eliminable_occurrences. Use
15330 copy_insn to duplicate the pattern when not in the final pass.
15332 Fri Oct 22 09:03:44 1999 Mark Mitchell <mark@codesourcery.com>
15334 * i386.md: Add missing `y' modifiers to uses of fst, fstp, fld,
15337 1999-10-22 Bruce Korb <autogen@linuxbox.com>
15339 * fixinc/README: document the "mach" machine matching test
15340 * fixinc/fixfixes.c: Implement the #else/#endif label fix
15341 * fixinc/fixtests.c: Implement the #else/#endif label test
15342 * fixinc/inclhack.def: utilize these tests and fixes
15343 * fixinc/inclhack.sh: regen
15344 * fixinc/fixincl.x: regen
15345 * fixinc/fixincl.sh: regen
15347 Thu Oct 21 20:37:19 1999 Jeffrey A Law (law@cygnus.com)
15349 * Makefile.in (cse.o): Depend on hashtab.h, not splay-tree.h. Also
15352 Thu Oct 21 20:30:19 1999 Matthias Klose <doko@debian.org>
15354 * gcc.1: Document exit codes.
15356 Thu Oct 21 12:49:05 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
15358 * calls.c: Include tm_p.h later, so everything we need is defined.
15359 * expr.c: Likewise.
15360 * function.c: Likewise.
15362 * except.c: Include tm_p.h.
15364 * sparc.c: Likewise.
15365 (dwarf2out_cfi_label): Don't prototype.
15366 (check_return_regs, epilogue_renumber,
15367 ultra_cmove_results_ready_p, ultra_fpmode_conflict_exists,
15368 ultra_find_type, ultra_build_types_avail, ultra_flush_pipeline,
15369 ultra_rescan_pipeline_state, set_extends, ultra_code_from_mask,
15370 ultra_schedule_insn): Add static prototype.
15371 (data_segment_operand, text_segment_operand): Call itself with the
15372 proper number of arguments.
15373 (sparc_flat_save_restore, sparc_v8plus_shift): Constify a char*.
15375 * sparc.h: Move all declarations to sparc-protos.h.
15376 (SELECT_RTX_SECTION): Pass a missing MODE argument to
15379 * sparc/sysv4.h (SELECT_RTX_SECTION): Likewise.
15381 * config/svr4.h (text_section, ctors_section, dtors_section): Add
15383 (ASM_OUTPUT_SECTION_NAME, UNIQUE_SECTION,
15384 ASM_FINISH_DECLARE_OBJECT, ASM_OUTPUT_LIMITED_STRING,
15385 ASM_OUTPUT_ASCII): Constify a char*.
15387 * sparc-protos.h: New file for sparc prototypes.
15389 Thu Oct 21 12:23:40 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
15391 * function.c (record_insns, contains): Always declare and define.
15392 (record_insns): Mark with ATTRIBUTE_UNUSED.
15394 Thu Oct 21 13:03:49 1999 Jonathan Larmour <jlarmour@cygnus.co.uk>
15396 * config/arm/telf.h (ASM_OUTPUT_SECTION_NAME): Add %nobits option
15397 to .section when outputting a .bss section to deal with multiple
15398 .bss input sections (as happens with -fdata-sections)
15399 Also output %progbits, not @progbits so the assembler doesn't treat as
15401 * config/arm/unknown-elf.h (ASM_OUTPUT_SECTION_NAME): Likewise
15403 * config/arm/lib1funcs.asm (_call_via_rX): Allow compilation of
15404 thumb parts even when building with non-thumb CPUs, by forcing
15407 Wed Oct 20 22:57:58 1999 Jeffrey A Law (law@cygnus.com)
15409 * sparc.md (movsf_const_intreg): If splitting, length must be > 1.
15410 (movdf_const_intreg_sp64): Similarly.
15412 * local-alloc.c (update_equiv_regs): Check the correct insn
15413 for pre-existing REG_EQUIV notes.
15415 Wed Oct 20 20:41:46 1999 Mark Mitchell <mark@codesourcery.com>
15417 * cse.c (cse_end_of_basic_block): Don't return the end of a basic
15418 block reached by a branch if we're not going to actually process
15421 Wed Oct 20 15:18:42 1999 Jim Wilson <wilson@cygnus.com>
15423 * integrate.c (integrate_decl_tree): Set DECL_CONTEXT to 0 if this is
15424 a local extern function declaration.
15426 Wed Oct 20 13:56:01 1999 Richard Henderson <rth@cygnus.com>
15428 * i386.c (ix86_expand_prologue): Properly wrap USE around
15429 reg for CALL_INSN_FUNCTION_USAGE.
15431 Thu Oct 14 18:51:37 1999 Andrew Haley <aph@cygnus.com>
15433 * config/mips/mips.md (movdf_internal1a): Allow floating-point
15434 move between GP_REGs.
15436 Wed Oct 20 15:36:11 1999 Andrew Haley <aph@cygnus.com>
15438 * config/arm/thumb.h (GO_IF_LEGITIMATE_ADDRESS): Take account of
15439 the mode size when finding out if an offset is legal.
15441 Wed Oct 20 06:26:58 1999 Richard Henderson <rth@cygnus.com>
15443 * basic-block.h (PROP_*): Move constants from ...
15444 * flow.c: ... here.
15445 (compute_bb_for_insn): Free the array before reallocating.
15446 (update_life_info): New arg PROP_FLAGS; pass on to propagate_block.
15447 (allocate_reg_life_data): Reset all reg variables collected by
15449 (get_block_head_tail): Don't convert from bb to block.
15450 (get_bb_head_tail): New. Update all callers of get_block_head_tail.
15451 (find_insn_reg_weight): Take block not bb.
15452 (schedule_block): Don't set block num for moved insns.
15453 (schedule_region): Don't update_life_info or find_insn_reg_weight.
15454 (schedule_insns): Do it here instead.
15455 * combine.c (combine_instructions): Invoke compute_bb_for_insn
15456 before update_life_info.
15457 * recog.c (split_all_insns, peephole2_optimize): Update for
15458 new arg to update_life_info.
15459 * rtlanal.c (remove_note): Cope with NULL note.
15460 * toplev.c (rest_of_compilation): Don't invoke recompute_reg_usage
15463 Wed Oct 20 10:46:41 1999 Richard Earnshaw (rearnsha@arm.com)
15465 * jump.c (jump_optimize_1): More accurately detect casesi insns.
15467 * flow.c (merge_blocks_move_predecessor_nojumps): Re-order the basic
15468 block records so that merge_blocks_nomove will clean up correctly.
15469 (split_edge): Handle casesi insns.
15471 * gcc-page.c: Try MAP_ANON if we don't have MAP_ANONYMOUS.
15473 Tue Oct 19 23:43:50 1999 Jeffrey A Law (law@cygnus.com)
15475 * pa.md (call, call_value): Do not emit a blockage after restoring
15478 Tue Oct 19 17:22:39 1999 Mark Mitchell <mark@codesourcery.com>
15480 * c-typeck.c (c_expand_asm_operands): Fix typo.
15482 Tue Oct 19 18:42:58 1999 Bernd Schmidt <bernds@cygnus.co.uk>
15484 * arm.c (fpu_rhs_operand): Verify modes.
15485 (fpu_add_operand): Likewise.
15486 (di_operand): Likewise.
15487 (soft_df_operand): Likewise.
15489 Tue Oct 19 15:26:11 1999 Richard Earnshaw (rearnsha@arm.com)
15491 * arm.c (arm_return_in_memory): APCS rules state that the elements
15492 of a structure returned in a register must be 'integer-like'.
15494 1999-10-19 Bruce Korb <autogen@linuxbox.com>
15496 * fixinc/Makefile.in: Change the generation rules to run `genfixes'
15497 in the source tree when the generated targets are out of date
15498 * fixinc/genfixes: Alter it to run individual fixes for make.
15499 * fixinc/README: rewrite
15500 * fixinc/inclhack.def: moved initial comments to README
15502 Tue Oct 19 14:01:34 1999 Nick Clifton <nickc@cygnus.com>
15504 * toplev.c (main): Do not generate an error message if an
15505 unrecognised command line switch is recognisable by another
15506 language. If extra_warnings are enabled, then generate a
15507 warning message instead.
15509 Tue Oct 19 11:41:12 1999 Mumit Khan <khan@xraylith.wisc.edu>
15511 * c-pragma.h (PRAGMA_INSERT_ATTRIBUTES): Delete macro.
15512 (insert_pack_attributes): Delete prototype.
15514 * c-pragma.c (default_alignment): New static variable.
15515 (push_alignment): Initialize to current effective alignment.
15516 (pop_alignment): Use to set new alignment.
15517 (insert_pack_attributes): Delete function.
15518 (handle_pragma_token): Set default_alignment as well each time
15519 a #pragma pack(<n>) is encountered.
15521 Tue Oct 19 02:03:00 1999 Jeffrey A Law (law@cygnus.com)
15523 * reg-stack.c (stack_result): Aggregates are not returned in
15526 Tue Oct 19 01:26:48 1999 Alasdair Baird <alasdair@wildcat.demon.co.uk>
15528 * fold-const.c (fold): Fix thinko in x+(-0) -> x transformation.
15530 Mon Oct 18 15:19:41 1999 Richard Henderson <rth@cygnus.com>
15532 * basic-block.h (set_block_num): Declare.
15533 * flow.c (update_life_info): Don't call compute_bb_for_insn
15534 or free_basic_block_vars.
15535 * haifa-sched.c (remove_dependence): Conditionalize on HAVE_cc0.
15536 (insn_orig_block): Remove.
15537 (INSN_BLOCK): Remove. Update all callers to use BLOCK_NUM.
15538 (schedule_block): Keep BLOCK_NUM up-to-date.
15539 (schedule_insns): Use compute_bb_for_insn.
15540 * recog.c (split_all_insns): Likewise.
15541 (peephole2_optimize): Likewise.
15543 Mon Oct 18 18:50:51 1999 Andreas Schwab <schwab@suse.de>
15545 * config/m68k/m68k.h (INITIAL_FRAME_POINTER_OFFSET): Add one word
15546 if the pic register is used.
15548 Mon Oct 18 02:38:46 1999 Bernd Schmidt <bernds@cygnus.co.uk>
15550 * c-decl.c (pushdecl): Use TYPE_CONTEXT rather than TREE_PERMANENT.
15551 (finish_decl): Duplicate test for TREE_ASM_WRITTEN in else branch of
15552 if that tests TREE_PERMANENT.
15554 Mon Oct 18 01:41:35 1999 Jeffrey A Law (law@cygnus.com)
15556 * cse.c (invalidate_for_call): Do not remove memory references from
15557 the table here. It's handled elsewhere.
15559 * haifa-sched.c (add_dependence): Protect references to the
15560 true dependency cache with #ifdef INSN_SCHEDULING.
15561 (remove_dependence): Similarly.
15563 * mn10200.md (outline_epilogue_jump): Embed a (return) to indicate
15564 to the cfg code that this is a return instruction.
15565 * mn10300.md (return_internal): Similarly.
15567 * combine.c (get_last_value): If the last set of a register
15568 is after subst_low_cuid, then we can not use it to determine
15569 the register's last value.
15571 Sun Oct 17 11:02:52 1999 Mark Mitchell <mark@codesourcery.com>
15573 * Makefile.in: Back out previous change.
15575 Sun Oct 17 15:22:50 1999 Jeffrey A Law (law@cygnus.com)
15577 * pa.c (move_operand): Reject (lo_sum (reg) (unspec ...)).
15579 * haifa-sched.c (add_dependence): Only check/update the cache
15581 (remove_dependence): Likewise.
15582 (schedule_insns): Only create the true_dependency_cache if the
15583 average number of instructions in a basic block is very large.
15585 Sun Oct 17 11:02:52 1999 Mark Mitchell <mark@codesourcery.com>
15587 * Makefile.in (ggc-common.o): Depend on genrtl.h.
15588 (ggc-simple.o): Likewise.
15589 (ggc-page.o): Likewise.
15591 Sun Oct 17 02:09:50 1999 Andrew MacLeod <amacleod@cygnus.com>
15593 * basic-block.h (pre_edge_lcm, pre_edge_rev_lcm, compute_available):
15594 Prototype for exported functions.
15595 (pre_lcm, pre_rev_lcm): Remove prototypes.
15596 * gcse.c (compute_ae_kill): Add ae_gen and ae_kill as parameters.
15597 (compute_available): Move to lcm.c, and change parameter order.
15598 (one_classic_gcse_pass): Call compute_ae_kill with parameters.
15599 (pre_insert, s_preds, s_succs, num_preds, num_succs): Delete.
15600 (gcse_main): No longer call compute_preds_succs. Rebuild the
15601 set table after reach pre pass.
15602 (pre_insert_map, pre_delete_map, edge_list): New.
15603 (alloc_pre_mem): Allocate edge vectors.
15604 (free_pre_mem): Delete edge vectors.
15605 (compute_pre_data): Call new edge based lcm routines.
15606 (process_insert_insn): New function.
15607 (insert_insn_end_bb): Use it.
15608 (pre_edge_insert): New function.
15609 (pre_insert_copy_insn): Formatting fixes. Update BLOCK_END as
15611 (pre_insert_copies): Revamp using new edge based lcm outputs.
15612 (pre_delete): Likewise.
15613 (one_pre_gcse_pass): Insert & remove fake edges to the exit
15615 (compute_code_hoist_vbeinout): New new edge based routines.
15616 * lcm.c: Remove all the old LCM functions. Replace with new ones
15617 that work with the new cfg datastructures and work with edges
15620 Sun Oct 17 00:44:17 1999 Bernd Schmidt <bernds@cygnus.co.uk>
15622 * reload.h (struct reload): Add new fields "mode" and "nregs".
15623 * reload1.c: Change all occurrences of reload_mode and reload_nregs
15624 to reference the "mode" and "nregs" field within struct reload.
15626 Sat Oct 16 21:50:28 1999 Jeffrey A Law (law@cygnus.com)
15628 * haifa-sched.c (true_dependency_cache): New.
15629 (add_dependence): Use the true dependency cache to avoid expensive
15630 walks down the LOG_LINKS dependency list. Add entries to the
15631 cache as necessary.
15632 (remove_dependence): Remove entries from the true dependency cache
15634 (schedule_insns): Allocate and initialize and free the true
15637 * haifa-sched.c (schedule_insns): Do not remove inter-block
15638 dependencies anymore.
15640 Sat Oct 16 11:19:52 1999 Richard Henderson <rth@cygnus.com>
15642 * i386/t-cygwin (winnt.o): Depend on RTL_H and TREE_H.
15643 * i386/t-winnt: Likewise.
15645 Sat Oct 16 11:11:54 1999 Richard Henderson <rth@cygnus.com>
15647 * ggc-page.c (init_ggc): Work around SunOS unaligned mmap bug.
15649 1999-10-16 Manfred Hollstein <mhollstein@cygnus.com>
15651 * Makefile.in (LANGUAGES): Omit "proto".
15652 (clean): Remove stale comment about removing unprotoize.c.
15654 Sat Oct 16 11:29:14 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
15656 * protoize.c (safe_read, safe_write): Avoid the gcc extension of
15657 using arithmetic on void pointers.
15659 Sat Oct 16 02:48:22 1999 Jeffrey A Law (law@cygnus.com)
15661 * haifa-sched.c (compute_block_forward_dependencies): Only check
15662 for notes, deleted insns and duplicates if ENABLE_CHECKING is defined.
15664 Sat Oct 16 00:07:01 1999 Richard Henderson <rth@cygnus.com>
15666 * gcse.c (hash_expr_1): Add in MEM_ALIAS_SET.
15667 (expr_equiv_p): Reject memories with different alias sets.
15669 Fri Oct 15 15:17:29 1999 Greg McGary <gkm@gnu.org>
15671 * flags.h (flag_bounds_check, flag_bounded_pointers): New extern decls.
15672 * toplev.c (flag_bounds_check, flag_bounded_pointers): New flags.
15673 (f_options): Add "bounded-pointers" and "bounds-check" entries.
15674 * c-lang.c (lang_init_options): Set flag_bounds_check as "unspecified".
15675 (lang_init): Set default for flag_bounds_check if still "unspecified".
15677 Sat Oct 16 13:42:29 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
15679 * config/c4x/c4x.md (HF mode patterns): Add missing modes.
15681 Sat Oct 16 13:37:46 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
15683 * config/c4x/c4x.md (movstrqi_small): Utilise parallel move
15686 Sat Oct 16 13:26:47 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
15688 * config/c4x/c4x.md (*db_noclobber,
15689 *decrement_and_branch_until_zero_noclobber): New patterns and
15690 associated splitters.
15692 Sat Oct 16 13:13:15 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
15694 * config/c4x/c4x.md (parallel instruction patterns): Rework
15695 constraints to keep reload happy.
15697 Sat Oct 16 13:03:16 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
15699 * config/c4x/c4x.md (*absqi2_noclobber, *negqi2_noclobber,
15700 *one_cmplqi2_noclobber, *subqi3_noclobber, *andqi3_255_noclobber,
15701 *andqi3_65535_noclobber, *andnqi3_noclobber, *xorqi3_noclobber):
15702 Add new patterns and associated post-reload splitters.
15704 Sat Oct 16 12:42:12 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
15706 * config/c4x/c4x.c (c4x_emit_libcall): Use ggc_alloc_string.
15708 Sat Oct 16 12:34:44 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
15710 * config/c4x/c4x.c (c4x_rptb_insert): Emit rpts_top pattern
15712 * config/c4x/c4x.md (rpts_top): New pattern and splitter.
15714 Sat Oct 16 12:26:30 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
15716 * config/c4x/c4x.c (src_operand): Check SYMBOL_REF and LABEL_REF
15719 Fri Oct 15 17:02:09 1999 Jeffrey A Law (law@cygnus.com)
15721 * pa.c (move_operand): Rely on memory_address_p to determine the
15722 validity of non-indexed memory addresses.
15723 * pa.h (GO_IF_LEGITIMATE_ADDRESS): Allow LO_SUM with a symbolic
15724 operand in DFmode and SFmode when generating PA2.0 code.
15726 Fri Oct 15 14:25:19 1999 Richard Henderson <rth@cygnus.com>
15728 * print-rtl.c (print_rtx): Limit last 'u' change to LABEL_REF.
15730 Fri Oct 15 13:48:45 1999 Richard Henderson <rth@cygnus.com>
15732 * mips.c (function_prologue): Fix argument types.
15733 * mips.md (casesi): Use emit_jump_insn for casesi_internal.
15734 (casesi_internal): Write to the scratch register.
15736 1999-10-15 11:16 -0700 Zack Weinberg <zack@bitmover.com>
15738 * cppexp.c (cpp_parse_escape): Make static. Change second arg
15740 (parse_charconst): Delete unnecessary cast when calling
15742 (cpplib.h): Kill prototype of cpp_parse_escape.
15744 Fri Oct 15 11:02:46 1999 Richard Henderson <rth@cygnus.com>
15746 Based on patch from Michael Gschwind <mikeg@watson.ibm.com>:
15747 * unroll.c (unroll_loop): Cast return value of alloca.
15748 * i370/i370.c: Include function.h and toplev.h.
15749 (i370_label_scan): Remove c++ commented abort.
15750 * i370/i370.h (HANDLE_PRAGMA): Takes three arguments.
15751 (ASM_OUTPUT_LABELREF): Fix TOUPPER/else broken 16 Sept.
15752 * i370/xm-i370.h (HOST_BITS_PER_LONGLONG): Define.
15753 * i370/xm-mvs.h, i370/xm-oe.h: Likewise.
15755 Fri Oct 15 03:01:01 1999 Loren Rittle <ljrittle@acm.org>
15757 * config/t-freebsd: Do not override USER_H.
15758 * ginclude/stddef.h: Generalize check for _MACHINE_ANSI_H_.
15760 Fri Oct 15 02:37:28 1999 Alastair J. Houghton <ajh8@doc.ic.ac.uk>
15761 Mumit Khan <khan@xraylith.wisc.edu>
15763 * c-parse.in (component_decl): Support anonymous struct/union.
15765 * c-parse.y: Regenerate.
15766 * c-parse.c: Likewise.
15767 * objc/objc-parse.y: Likewise.
15768 * objc/objc-parse.c: Likewise.
15769 * c-decl.c (finish_struct): Don't sort the fields.
15770 (field_decl_cmp): Delete unused function.
15772 Fri Oct 15 01:20:52 1999 Richard Henderson <rth@cygnus.com>
15774 * sparc.md (movsf_const_intreg): Revert last constraint change.
15775 (movdf_const_intreg_sp32): Likewise.
15777 Fri Oct 15 01:47:51 1999 Vladimir Makarov <vmakarov@loony.cygnus.com>
15779 * cse.c: Include hashtab.h instead of splay-tree.h
15780 (struct cse_reg_info): No longer use variant union. Add new
15781 field "regno". All references changed to avoid union.
15782 (cse_reg_info_used_list, cse_reg_info_used_list_end): New variables.
15783 (free_cse_reg_info): Remove.
15784 (hash_cse_reg_info, cse_reg_info_equal_p): New functions.
15785 (get_cse_reg_info): Revamp to use expandable hash tables instead
15786 of splay trees. Initialize new fields in cse_reg_info structure.
15787 (new_basic_block): Similarly.
15789 Thu Oct 14 23:51:56 1999 Richard Henderson <rth@cygnus.com>
15791 * genrecog.c (message_with_line): Prototype.
15792 (validate_pattern): Pass along the set for the dest, not a flag.
15793 Fix non-lvalue message. Don't warn for VOIDmode SET_DEST of CALL.
15794 Check for PC/CC0 as sources.
15795 (nodes_identical): Check for children position match before
15796 allowing the combination.
15798 * rtl.c (read_rtx): Track line number across \\\n.
15800 Thu Oct 14 23:50:25 1999 Richard Henderson <rth@cygnus.com>
15802 * mips.h (SPECIAL_MODE_PREDICATES): New.
15803 * mips.md (*) Use nonimmediate_operand not general_operand for outputs.
15804 (movdi+1, movsi+1): Add output reload constraint.
15805 (casesi_internal): Likewise. Fix commentary.
15806 (return_internal): Use pmode_register_operand.
15808 Thu Oct 14 23:19:34 1999 Richard Henderson <rth@cygnus.com>
15810 * 1750a.md (movstrqi): Add missing output reload constraint.
15811 (call_value): Likewise.
15812 * a29k.md (cpxxx patterns): Add missing match_operator mode.
15813 (jmpfdec): Add missing inout reload constraint.
15814 * elxsi.md (addsi patterns): Add missing output reload constraint.
15815 (move from sp): Use @ alternates.
15816 (call_value): No constraint on output.
15817 * fr30.md (movsi_pop): Add missing output reload constraint.
15818 (movsf_constant_store): Likewise.
15819 (splits): Remove constraints.
15820 (subsi3): Add missing mode.
15821 * i370.md (cmpstrsi+1): Add missing output reload constraint.
15822 (call_value): Likewise.
15823 * i960.md (cmpinc/cmpdec patterns): Add inout reload constraints.
15824 * m32r.h (PREDICATE_CODES): Add seth_add3_operand.
15825 * m32r.md (movsicc_internal): Add output reload constraint.
15826 (movstrsi_internal): Add inout reload constraints.
15827 * m88k.h (reg_names): Don't declare.
15828 (SPECIAL_MODE_PREDICATES): New.
15829 * m88k.md (*): Use register_operand not reg_or_0_operand
15831 * mn10200.h (PREDICATE_CODES): New.
15832 * ns32k.md (ffs pattern): Add output reload constraint.
15833 * pdp11.md (sob pattern): Add inout reload constraint.
15834 * sh.md (splits): Remove constraints.
15835 (indirect_jump_scratch, fpu_switch): Add output reload constraint.
15836 * v850.md (pattern_is_ok_for_epilogue): Likewise.
15837 * vax.md (jgequ pattern): Add inout reload constraint.
15839 Fri Oct 15 00:05:00 1999 Jeffrey A Law (law@cygnus.com)
15841 * configure.in (djgpp): Revert previous patch.
15842 * configure: Rebuit.
15843 * config/i386/djgpp.h: Revert previous patch.
15845 Fri Oct 15 00:00:24 1999 Loren J. Rittle <ljrittle@acm.org>
15847 * fixinc/inclhack.def: Restore patch lost during last merge of
15848 "no_bogosity" branch.
15849 * fixinc/inclhack.sh, fixinc/fixincl.x: Rebuilt.
15851 Thu Oct 14 23:57:56 1999 Gavin Romig-Koch <gavin@cygnus.com>
15853 * fixincludes: Add a HPUX 11 fix for inttypes.h.
15854 * fixinc/inclhack.def: Same.
15855 * fixinc/inclhack.sh, fixinc/fixincl.sh, fixinc/fixincl.x: Regenerate.
15857 Thu Oct 14 22:51:55 1999 Richard Henderson <rth@cygnus.com>
15859 * alpha.h (GO_IF_LEGITIMATE_SIMPLE_ADDRESS): Accept ADDRESSOF
15860 as the base of a PLUS.
15862 Fri Oct 15 18:36:07 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
15864 * config/c4x/c4x.md: Define mode for remaining unspec operators.
15865 * config/c4x/c4x.c (dst_operand): Use nonimmediate_operand.
15867 Thu Oct 14 22:14:23 1999 Richard Henderson <rth@cygnus.com>
15869 * pa.md (post_stw+1): Use pmode_register_operand.
15870 (dcacheflush, icacheflush): Likewise.
15872 * i386.md (movstricthi_1): Allow r/r.
15874 Thu Oct 14 19:44:08 1999 Jan Hubicka <hubicka@freesoft.cz>
15876 * fold-const.c (fold): Convert (or (not arg0) (not arg1))
15877 to (not (and (arg0) (arg1))). Similary for and.
15879 * fold-const.c (fold): Move bit_rotate code to the EXPR_PLUS case,
15880 fallthrough to associate code.
15881 Convert XOR to OR in code like (a&c1)^(a&c2) where c1 and c2 don't have
15884 * combine.c (simplify_logical): Convert XOR to IOR if operands have
15885 no bits in common; remove XOR to ROTATE conversion.
15887 Fri Oct 15 17:40:11 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
15889 * config/c4x/c4x.h (c4x_va_start, c4x_va_arg): Declare.
15891 Fri Oct 15 17:27:17 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
15893 * config/c4x/c4x.c (dst_operand): New.
15894 (PREDICATE_CODES): Update.
15895 * config/c4x/c4x.h (dst_operand): Declare it.
15896 * config/c4x/c4x.md: Define mode for each unspec usage.
15897 (move patterns): Use dst_operand predicate instead of src_operand.
15898 (movqi_update, movqf_update): Delete.
15900 Thu Oct 14 18:48:54 1999 Richard Henderson <rth@cygnus.com>
15902 * recog.c (pmode_register_operand): New.
15903 * recog.h: Declare it.
15904 * genrecog.c (pred_codes): Likewise.
15905 (special_mode_pred_table): Likewise.
15906 (validate_pattern): Don't warn no mode for address_operand.
15908 * print-rtl.c (print_rtx) [LABEL_REF]: Only do full subexpression
15909 if the operand is not insn-like.
15911 Thu Oct 14 19:38:42 1999 Jeffrey A Law (law@cygnus.com)
15912 Sylvian Pion <Sylvain.Pion@sophia.inria.fr>
15914 * fold-const.c (fold): Handle more simplifications allowed by IEEE.
15916 Thu Oct 14 17:30:14 1999 Richard Henderson <rth@cygnus.com>
15918 * sparc.md (*): Use {nonimmediate,register}_operand as appropriate
15919 instead of general_operand in a SET_DEST. Use const_double_operand
15920 instead of an explicit test against CONST_DOUBLE.
15921 (movsf_const_lo): Add missing register mode.
15922 (goto_handler_and_restore): Add auxiliary test for Pmode.
15923 (flush): Adjust to use address_operand.
15924 (return_sf_no_fpu): Add missing output constraint.
15926 Thu Oct 14 17:21:26 1999 Richard Henderson <rth@cygnus.com>
15928 * rs6000.md (call_value_indirect_aix32): Use wildcard match_operand
15929 for call return value.
15930 (call_value_indirect_aix64, call_value_indirect_nt): Likewise.
15932 Thu Oct 14 13:54:25 1999 Jason Merrill <jason@yorick.cygnus.com>
15934 * toplev.c (main): Only warn about options for other languages.
15935 * collect2.c (main): Pass -w to sub-gcc.
15937 Thu Oct 14 16:27:50 1999 Richard Henderson <rth@cygnus.com>
15939 * flow.c (propagate_block): Add call-clobbered registers to
15942 * flow.c (propagate_block): Use free_EXPR_LIST_list instead of
15943 zapping mem_set_list.
15944 (invalidate_mems_from_autoinc): Use free_EXPR_LIST_node.
15945 (mark_set_1, mark_used_regs): Likewise.
15947 Thu Oct 14 10:51:49 1999 Richard Henderson <rth@cygnus.com>
15949 * m68k.md (zero_extendsidi2): Add missing output reload constraint.
15951 Wed Oct 13 00:09:18 1999 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
15953 * invoke.texi: Label -Wbad-function-cast, -Wmissing-prototypes,
15954 -Wnested-externs, -Wstrict-prototypes, and -Wtraditional as C only
15955 options. Also add a new item "C-only Warning Options" to the
15958 1999-10-14 Gavin Romig-Koch <gavin@cygnus.com>
15960 * libgcc2.c (__do_global_dtors): Protect __deregister_frame_info
15961 from multiple calls.
15963 Thu Oct 14 04:54:54 1999 Richard Henderson <rth@cygnus.com>
15965 * i386.md (call value patterns): Move to the end of the file.
15966 (prologue_set_got, prologue_get_pc): Use register_operand for op 0.
15968 1999-10-14 Mark Elbrecht <snowball3@bigfoot.com>
15970 * configure.in (djgpp configuration): Define extra_objects..
15971 * configure: Rebuilt.
15972 * config/i386/djgpp.h (CTORS_SECTION_ASM_OP): Define.
15973 (DTORS_SECTION_ASM_OP): Define.
15974 (INIT_SECTION_ASM_OP): Define.
15975 (FINI_SECTION_ASM_OP): Define.
15976 (DATA_SECTION_ASM_OP): Define.
15977 (TEXT_SECTION_ASM_OP): Define.
15978 (EH_FRAME_SECTION_ASM_OP): Define.
15979 (LINK_COMMAND_SPEC): Remove -Tdjgpp.djl.
15980 (STARTFILE_SPEC): Add crtbegin.o.
15981 (ENDFILE_SPEC): Define and add crtend.o. Move argument -Tdjgpp.djl
15982 to here from LINK_COMMAND_SPEC.
15983 (DO_GLOBAL_CTORS_BODY): Define.
15984 (CRTSTUFF_USE_FINI_SECTION): Define
15985 (HAS_INIT_SECTION): Delete.
15987 Thu Oct 14 05:08:14 1999 Andreas Schwab <schwab@suse.de>
15989 * Makefile.in (all.cross): Depend on xcpp$(exeext).
15991 Thu Oct 14 04:00:40 1999 Richard Henderson <rth@cygnus.com>
15993 * pa.h (PREDICATE_CODES): New.
15995 * genrecog.c (validate_pattern): Condense the destination
15996 non-lvalue message.
15998 Thu Oct 14 03:23:08 1999 Richard Henderson <rth@cygnus.com>
16000 * alpha.md (call-1): Supply missing mode for operator.
16001 (*): Add missing output reload constraints. Remove constraints
16002 from define_splits.
16004 * i386.h (SPECIAL_MODE_PREDICATES): New.
16005 * i386.md (movstricthi_1): Use nonimmediate_operand for op 0.
16006 (movqi_1, movdi_1, movdi_2, some splits): Likewise.
16007 (addsi_lea_3): Add missing mode for op 3.
16008 (prologue_set_got, prologue_get_pc): Add missing modes.
16009 (*) Add missing output reload constraints.
16011 Thu Oct 14 03:59:57 1999 Stephane Carrez <stcarrez@worldnet.fr>
16013 * stor-layout.c (layout_union): Use HOST_WIDE_INT for const_size;
16014 check for member bit-size overflow and use var_size if it occurs.
16015 (layout_record): Use bitsize_int() to define the type size in bits.
16016 Likewise for computation and assignment to DECL_FIELD_BITPOS.
16017 (layout_decl): Likewise when assigning to DECL_SIZE.
16019 Thu Oct 14 02:57:05 1999 Richard Henderson <rth@cygnus.com>
16021 * genrecog.c (validate_pattern): Typo last change. Verify
16022 that output operands have output reloads.
16024 Thu Oct 14 01:49:54 1999 Richard Henderson <rth@cygnus.com>
16026 * genrecog.c (special_mode_pred_table): New.
16027 (NUM_SPECIAL_MODE_PREDS): New.
16028 (find_operand): New.
16029 (validate_pattern): New argument `insn'. Warn for assignment to
16030 any predicate accepting non-lvalues. Conditionaly warn for
16031 match_operand without a mode. Try much harder to match source
16032 and destination modes on a set.
16033 * tm.texi (SPECIAL_MODE_PREDICATES): Document.
16035 Thu Oct 14 02:54:13 1999 Jeffrey A Law (law@cygnus.com)
16037 * fold-const.c (fold): Detect rotates built from BIT_XOR_EXPRs.
16039 Thu Oct 14 02:18:19 1999 Marc Espie <espie@cvs.openbsd.org>
16041 * combine.c (simplify_logical): Recognize xor pattern that encodes
16044 Wed Oct 13 23:23:45 1999 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
16046 * rs6000.c (expand_block_move): Use INTVAL, not XINT to access
16049 Wed Oct 13 21:47:18 1999 Richard Henderson <rth@cygnus.com>
16051 * ggc-page.c (MAP_FAILED): Provide default.
16053 Wed Oct 13 21:41:59 1999 Richard Henderson <rth@cygnus.com>
16055 * sparc.c (symbolic_operand): Verify mode; don't accept CONST_DOUBLE.
16056 * sparc.h (PREDICATE_CODES): Update.
16058 Wed Oct 13 21:18:17 1999 Richard Henderson <rth@cygnus.com>
16060 * alpha.c (some_ni_operand): New.
16061 * alpha-protos.h: Declare it.
16062 * alpha.h (PREDICATE_CODES): Update.
16063 * alpha.md (sXaddq reload insns): Use some_ni_operand
16064 for SET_DEST instead of some_operand.
16066 Wed Oct 13 21:04:45 1999 Richard Henderson <rth@cygnus.com>
16067 Jim Wilson <wilson@cygnus.com>
16069 * genrecog.c (maybe_both_true_2): Don't compare modes of
16071 (process_tree): Elide peephole2_insns. Invoke simplify_tests
16072 after find_afterward.
16073 (debug_decision_1): Dump next and afterward codes.
16075 Wed Oct 13 20:35:16 1999 Richard Henderson <rth@cygnus.com>
16077 * rtl.c (dump_and_abort): Remove.
16078 (fatal_with_file_and_line): New.
16079 (fatal_expected_char): New.
16080 (read_rtx_lineno, read_rtx_filename): New.
16081 (read_skip_spaces): Track line number.
16082 (read_name): Use fatal_with_file_and_line.
16083 (read_rtx): Use fatal_expected_char. Track line number.
16084 * rtl.h (read_rtx_filename, read_rtx_lineno): Declare.
16086 * print-rtl.c (print_rtx): Don't special case LABEL_REF argument
16087 if it isn't a CODE_LABEL.
16089 * genattr.c (main): Set read_rtx_filename.
16090 * genattrtab.c (main): Likewise.
16091 * gencodes.c (main): Likewise.
16092 * genconfig.c (main): Likewise.
16093 * genemit.c (main): Likewise.
16094 * genextract.c (main): Likewise.
16095 * genflags.c (main): Likewise.
16096 * genopinit.c (main): Likewise.
16097 * genoutput.c (main): Likewise.
16098 * genpeep.c (main): Likewise.
16100 * genrecog.c (decision_test.u.insn): Add `lineno'.
16101 (pattern_lineno, error_count): New variables.
16102 (message_with_line): New.
16103 (add_to_sequence): Break out checking code to ...
16104 (validate_pattern): ... here. Detect SET_DEST matching CONST_INT.
16105 (merge_insn): Use message_with_line.
16106 (make_insn_sequence): Use validate_pattern. Record insn lineno.
16107 (main): Set read_rtx_filename, pattern_lineno. Exit early on error.
16109 Wed Oct 13 22:01:35 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
16111 * expr.c (store_constructor): Clear union if constructor is empty.
16113 Wed Oct 13 15:19:04 1999 Jim Wilson <wilson@cygnus.com>
16115 * config/rs6000/sysv4.h (CC1_SPEC): Fix errors from Jan 19 change.
16116 Add !endian checks. Change %{...} to %(...).
16118 Wed Oct 13 13:30:34 1999 Richard Henderson <rth@cygnus.com>
16120 * i386.md (*addsi3_cc): Renamed from addcsi3.
16121 (*addsi3_carry): Renamed from addxsi3.
16122 (*subsi3_cc): Renamed from subcsi3.
16123 (*subsi3_carry): Renamed from subxsi3.
16124 (*xorqi_cc_1): Renamed from xorcqi_1.
16125 (xorqi_cc_ext_1): Renamed from xorcqi_ext_1.
16126 * i386.c (ix86_expand_fp_compare): Update for xorqi_cc_ext_1.
16128 Wed Oct 13 13:10:46 1999 Richard Henderson <rth@cygnus.com>
16130 * Makefile.in (ggc-common.o): Depend on RTL_H not RTL_BASE_H.
16131 (ggc-simple.o, ggc-page.o, ggc-none.o, ggc-callbacks.o): Likewise.
16133 1999-10-13 Brendan Kehoe <brendan@cygnus.com>
16135 * regmove.c (optimize_reg_copy_3): Make sure P is non-nil as we
16136 climb up the chain of insns.
16138 Wed Oct 13 10:20:58 1999 Richard Henderson <rth@cygnus.com>
16140 * genrecog.c (write_subroutine): Careful for null trees.
16141 (process_tree): Don't elide empty functions.
16143 Wed Oct 13 10:07:54 1999 Richard Henderson <rth@cygnus.com>
16145 * Makefile.in (genrtl.o): Depend on ggc.h.
16146 * configure.in (valloc): Probe for it.
16147 (with-gc): Use ggc-page if valloc present.
16148 * ggc-common.c (ggc_mark_rtx_children): Use ggc_mark_if_gcable.
16149 (ggc_mark_rtvec_children): New from corpse of ggc_mark_rtvec.
16150 (ggc_alloc_string): Moved from ggc-page.c.
16151 * ggc-none.c (ggc_alloc_obj): New.
16152 (ggc_alloc_rtx, ggc_alloc_rtvec): Remove.
16153 * ggc-page.c (sys/mman.h): Only include if HAVE_MMAP.
16154 (struct globals): Likewise for dev_zero_fd.
16155 (init_ggc): Likewise for it's initialization.
16156 (ggc_allocated_p): Move careful dereference from ...
16157 (ggc_lookup_page_table): ... here. Delete.
16158 (lookup_page_table_entry): Don't use ggc_lookup_page_table.
16159 (alloc_anon): Use valloc if no mmap.
16160 (release_pages): Use free if using valloc.
16161 (ggc_alloc_obj): Renamed from alloc_obj.
16162 (ggc_set_mark): Renamed from mark_obj.
16163 (ggc_mark_if_gcable): Renamed from ggc_mark_string_if_gcable.
16164 (ggc_alloc_rtx, ggc_alloc_rtvec): Delete.
16165 (ggc_alloc_tree, ggc_alloc_string, ggc_alloc): Delete.
16166 (ggc_set_mark_rtx, ggc_set_mark_rtvec): Delete.
16167 (ggc_set_mark_tree, ggc_mark_string, ggc_mark): Delete.
16168 (ggc_collect): Use fp printing instead of our own rounding.
16169 * ggc-simple.c (IS_MARKED, IGNORE_MARK): Delete.
16170 (GGC_STRING_MAGIC, GGC_STRING_MAGIC_MARK): Delete.
16171 (GGC_ANY_MAGIC, GGC_ANY_MAGIC_MARK): Delete.
16172 (struct ggc_rtx, struct ggc_rtvec, struct ggc_tree): Delete.
16173 (struct ggc_string, struct ggc_any): Delete.
16174 (offsetof): Provide default definition.
16175 (GGC_BALANCE, GGC_ALWAYS_COLLECT, GGC_ALWAYS_VERIFY): New.
16177 (struct ggc_mem): New, from corpse of ggc_any.
16178 (struct ggc_status): Delete.
16179 (ggc_chain, ggc_allocated_strings, ggc_strings_used): Delete.
16180 (n_rtxs_collected, n_vecs_collected, n_trees_collected): Delete.
16181 (n_strings_collected, n_anys_collected): Delete.
16182 (ggc_alloc_rtx, ggc_alloc_rtvec, ggc_alloc_tree): Delete.
16183 (ggc_alloc_string, ggc_alloc): Delete.
16184 (ggc_free_rtx, ggc_free_rtvec, ggc_free_tree): Delete.
16185 (ggc_free_string, ggc_free_any): Delete.
16186 (ggc_set_mark_rtx, ggc_set_mark_rtvec, ggc_set_mark_tree): Delete.
16187 (ggc_compare_addresses, ggc_mark_string): Delete.
16188 (ggc_mark_string_if_gcable, ggc_mark): Delete.
16189 (search_data): Delete.
16190 (struct globals): New.
16191 (GGC_MIN_EXPAND_FOR_GC, GGC_MIN_LAST_ALLOCATED): New.
16192 (tree_insert, tree_lookup): New.
16193 (ggc_alloc_obj, ggc_set_mark, ggc_mark_if_gcable): New.
16194 (clear_marks, sweep_objs): New.
16195 (ggc_collect): Gut. Use clear_marks, sweep_objs.
16196 (init_ggc): Set allocated_last_gc.
16197 (ggc_push_context): Gut. Use G.context.
16198 (ggc_pop_context): Likewise.
16199 (ggc_pop_context_1): New.
16200 (debug_ggc_tree): New.
16201 (debug_ggc_balance, tally_leaves): New.
16202 * ggc.h (ggc_mark_rtvec, ggc_mark_string, ggc_mark): Remove decl.
16203 (ggc_mark_string_if_gcable): Remove decl.
16204 (ggc_mark_rtx, ggc_mark_tree): Use ggc_set_mark.
16205 (ggc_mark_rtvec_children): New.
16206 (ggc_mark_rtvec, ggc_mark_string, ggc_mark): New.
16207 (ggc_mark_if_gcable): New decl.
16208 (ggc_alloc_rtx, ggc_alloc_rtvec): Remove decl.
16209 (ggc_alloc_tree, ggc_alloc): Likewise.
16210 (ggc_set_mark_rtx, ggc_set_mark_rtvec, ggc_set_mark_tree): Likewise.
16211 (ggc_alloc_obj): New decl.
16212 (ggc_alloc_rtx, ggc_alloc_rtvec): New macros.
16213 (ggc_alloc_tree, ggc_alloc): Likewise.
16214 (ggc_set_mark): New decl.
16215 * rtl.h (struct rtx_def): Remove gc_mark.
16216 (struct rtvec_def): Likewise.
16217 * tree.h (struct tree_common): Likewise.
16219 Wed Oct 13 01:44:29 1999 Carol LePage <carolo@hal.com>
16221 * configure.in (sparc-hal-solaris2*): Fix xm_file, xm_defines,
16222 float_format and thread_file definitions.
16223 * configure: Rebuilt.
16225 Wed Oct 13 09:25:03 1999 Niels Möller <nisse@lysator.liu.se>
16227 * extend.texi (Function Names): Document types of function names.
16229 Wed Oct 13 00:45:04 1999 Bernd Schmidt <bernds@cygnus.co.uk>
16231 * reload1.c (reload_reg_free_for_value_p): RELOAD_OTHER reloads with
16232 an earlyclobbered output conflict with RELOAD_INPUT reloads.
16234 Tue Oct 12 23:28:28 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
16236 * sh.h (BOOL_TYPE_SIZE): Don't use INT_TYPE_SIZE / CHAR_TYPE_SIZE.
16238 Tue Oct 12 23:19:32 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
16240 * sh.h (REGISTER_MOVE_COST): Change PR_REG to PR_REGS.
16242 Tue Oct 12 17:09:38 1999 David Edelsohn <edelsohn@gnu.org>
16244 * collect2.c (main): Do prelimnary link on AIX if rflag.
16246 Tue Oct 12 09:45:19 1999 Jonathan Larmour <jlarmour@cygnus.co.uk>
16248 * config/rs6000/eabi-ctors.c (__do_global_ctors): Run through
16249 __CTOR_LIST__ in opposite order, which is the correct order for sorted
16251 (__do_global_dtors): similarly for __DTOR_LIST__.
16253 Fri Oct 8 19:46:03 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
16254 Diego Novillo <dnovillo@cygnus.com>
16256 * config/sh/sh.h (REGISTER_MOVE_COST): Handle moves from T_REGS to
16259 Tue Oct 12 07:38:41 1999 Bruce Korb <autogen@linuxbox.com>
16261 * fixincl/*: Merged "no_bogosity" branch
16262 * fixincl/fixlib.h: protect against doubly defining t_bool
16263 * fixincl/server.h: protect against doubly defining t_bool
16265 Mon Oct 11 20:18:41 1999 Jim Wilson <wilson@cygnus.com>
16267 * genoutput.c: Include toplev.h.
16269 Mon Oct 11 18:56:14 1999 Jim Wilson <wilson@cygnus.com>
16271 * config/sparc/liteelf.h (INIT_SECTION_ASM_OP, FINI_SECTION_ASM_OP):
16273 * configure.in (sparclite-*-elf, sparc86x-*-elf): Don't use libgloss.h.
16274 * configure: Regenerate.
16276 Mon Oct 11 16:07:49 1999 Richard Henderson <rth@cygnus.com>
16278 * gcse.c (delete_null_pointer_checks): Returns void.
16280 Mon Oct 11 20:31:51 1999 Bernd Schmidt <bernds@cygnus.co.uk>
16282 * rtl.c (copy_rtx): Don't use accessor macros to copy fields.
16283 * emit-rtl.c (copy_insn_1): Likewise.
16285 Mon Oct 11 13:29:06 1999 Geoffrey Keating <geoffk@cygnus.com>
16287 * config/mips/mips.c (mips_build_va_list): Correct
16288 TREE_CHAIN setting when hard-float.
16289 (mips_va_start): Use corrected setting.
16290 (mips_va_arg): Likewise. Also pass a tree to build of
16291 POSTINCREMENT_EXPR rather than a naked 'int'.
16293 Sun Oct 10 18:27:27 1999 Mark Mitchell <mark@codesourcery.com>
16295 * ggc.h (ggc_push_context): Fix comment.
16296 (ggc_pop_context): Likewise.
16297 (mark_string_if_gcable): Likewise.
16298 * ggc-common.c (ggc_mark_rtx_children): Use
16299 ggc_mark_string_if_gcable.
16300 * ggc-page.c (ggc_lookup_page_table): New function.
16301 (ggc_allocated_p): Likewise.
16302 (mark_obj): Fix formatting.
16303 (ggc_mark_string_if_gcable): New function.
16304 * ggc-simple.c (ggc_allocated_strings): New variable.
16305 (ggc_strings_used): Likewise.
16306 (ggc_compare_addresses): New function.
16307 (ggc_pop_context): Pop the `any' memory too.
16308 (ggc_mark_string_if_gcable): New function.
16309 (ggc_collect): Initialize and tear down ggc_allocated_strings.
16311 Sun Oct 10 20:05:21 1999 David Edelsohn <edelsohn@gnu.org>
16313 * rs6000.md (movstrsi_?reg): Use preferred rD/rS = r5 form.
16314 (scc patterns): Disable most SImode variants if TARGET_POWERPC64.
16315 * rs6000.c (expand_block_move): Match movstrsi_?reg register
16318 Sun Oct 10 16:37:01 1999 Richard Henderson <rth@cygnus.com>
16320 * haifa-sched.c (sched_reg_n_calls_crossed): Delete.
16321 (sched_reg_live_length, sched_reg_basic_block): Delete.
16322 (current_block_num, bb_live_regs, old_live_regs): Delete.
16323 (dead_notes, struct sometimes): Delete.
16324 (sched_note_set, birthing_insn_p): Delete.
16325 (adjust_priority): Gut useless reg lifetime code.
16326 (create_reg_dead_note, attach_deaths): Delete.
16327 (attach_deaths_insn, new_sometimes_live): Delete.
16328 (finish_sometimes_live): Delete.
16329 (find_pre_sched_live, find_post_sched_live): Delete.
16330 (update_reg_usage): Delete.
16331 (find_insn_reg_weight): New, from corpse of find_pre_sched_live.
16332 (schedule_insns): Delete reg lifetime code.
16333 (sched_analyze): Use REG_SAVE_NOTE to stuff NOTE_INSN notes away.
16334 (unlink_other_notes): Adjust REG_NOTE commentary.
16335 (reemit_notes): Use REG_SAVE_NOTE.
16336 (schedule_block): Likewise.
16337 (schedule_region): Allocate bitmap of blocks in region. Use
16338 count_or_remove_death_notes. Use update_life_info.
16340 * rtl.h (REG_SAVE_NOTE): New.
16341 * rtl.c (reg_note_name): Update.
16343 Sun Oct 10 16:14:16 1999 Richard Henderson <rth@cygnus.com>
16345 * combine.c (refresh_blocks, need_refresh): New.
16346 (combine_instructions): Allocate refresh_blocks. Invoke
16347 update_life_info if needed.
16348 (distribute_notes): Mark refresh_blocks instead of installing
16350 * flow.c (update_life_info): Remove notes if GLOBAL_RM_NOTES.
16351 * basic_block.h (enum update_life_extent): Add GLOBAL_RM_NOTES.
16353 * Makefile.in (recog.o): Depend on basic-block.h.
16355 Sun Oct 10 12:03:21 1999 Richard Henderson <rth@cygnus.com>
16357 * genrecog.c (add_to_sequence): Thinko last change: delete
16358 shadowing allow_const_int variable.
16360 Sun Oct 10 08:40:00 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
16362 * cppinit.c: Use HAVE_GCC_VERSION instead of explicitly testing
16363 __GNUC__ and __GNUC_MINOR__.
16365 * gansidecl.h: Likewise.
16371 * toplev.h: Likewise.
16373 * tree.c: Likewise.
16375 * tree.h: Likewise.
16377 * varray.c: Likewise.
16379 * varray.h: Likewise.
16381 Sun Oct 10 13:28:48 1999 Bernd Schmidt <bernds@cygnus.co.uk>
16383 * loop.c (find_and_verify_loops): When looking for a BARRIER, don't
16384 use one before a jump table.
16386 * rtl.def (ADDRESS): Change documentation to match reality.
16387 * md.texi: Don't document it.
16388 * gmicro.md (load address pattern): Use 'p' constraint, delete use
16391 * emit-rtl.c (copy_insn_1): Make format_ptr a const char *.
16393 Sun Oct 10 02:41:41 1999 Richard Henderson <rth@cygnus.com>
16395 * genrecog.c (add_to_sequence): Move allow_const_int test outside
16396 known predicate block; default allow_const_int true.
16397 (debug_decision_list): New.
16399 Sun Oct 10 00:43:08 1999 Richard Henderson <rth@cygnus.com>
16401 * i386.h (CC1_SPEC): Typo -- use cc1_cpu.
16403 Sat Oct 9 23:26:55 1999 Jeffrey A Law (law@cygnus.com)
16405 * gcse.c (gcse_main): Avoid global optimizations if we have a
16406 large number of basic blocks and the ratio of edges to blocks
16408 (delete_null_pointer_checks): Likewise.
16410 Sat Oct 9 23:16:01 1999 Ken Raeburn <raeburn@mit.edu>
16412 * c-common.c (check_format_info): Warn if format string isn't a
16415 Sat Oct 9 23:04:02 1999 Jonathan Larmour <jlarmour@cygnus.co.uk>
16417 * configure.in (arm*-*-*): Don't let autoconf remove brackets
16418 * configure: regenerate
16420 Sat Oct 9 13:15:53 1999 Richard Henderson <rth@cygnus.com>
16422 * alpha.md (extendsidi2): Turn into a splitter. Allow f/f.
16423 If TARGET_FIX, allow r/f. Remove cvtlq unspec pattern.
16424 (peepholes): Re-enable.
16426 Sat Oct 9 12:18:16 1999 Richard Henderson <rth@cygnus.com>
16428 * Makefile.in (flow.o): Depend on TREE_H.
16429 * basic-block.h (REG_SET_EQUAL_P): New.
16430 (XOR_REG_SET): New.
16431 (n_edges): Declare.
16432 (free_regset_vector): Remove declaration.
16433 (flow_delete_insn_chain): Declare.
16434 (enum update_life_extent): New.
16435 (update_life_info, count_or_remove_death_notes): Declare.
16436 * combine.c (distribute_notes) [REG_DEAD]: Stop search at bb->head.
16437 Verify register live at bb->global_live_at_start before adding USE.
16438 * flow.c (HAVE_epilogue, HAVE_prologue): Provide default.
16439 (CLEAN_ALLOCA): New.
16441 (PROP_*): New flags.
16442 (find_basic_blocks_1): Use alloc_EXPR_LIST.
16443 (clear_edges): Zero n_edges.
16444 (make_edge): Increment n_edges.
16445 (split_edge): Don't allocate bb->local_set. Increment n_edges.
16446 (flow_delete_insn_chain): Export.
16447 (delete_block): Decrement n_edges.
16448 (merge_blocks_nomove): Likewise.
16449 (life_analysis): Give life_analysis_1 PROP flags.
16450 (verify_wide_reg_1, verify_wide_reg): New.
16451 (verify_local_live_at_start): New.
16452 (update_life_info): Rewrite to call into propogate_block.
16454 (mark_regs_live_at_end): After reload, if epilogue as rtl,
16455 always mark stack pointer. Conditionally mark PIC register.
16456 After reload, mark call-saved registers, return regsiters.
16457 (life_analysis_1): Accept PROP flags not remove_dead_code.
16458 Call mark_regs_live_at_end before zeroing regs_ever_live.
16459 Use calculate_global_regs_live. Copy global_live_at_end before
16460 calling final propagate_block. Zero reg_next_use on exit.
16461 (calculate_global_regs_live): New.
16462 (allocate_bb_life_data): Don't allocate bb->local_set.
16463 (init_regset_vector, free_regset_vector): Remove.
16464 (propagate_block): Accept FLAGS not FINAL or REMOVE_DEAD_CODE.
16465 Test flags before every operation. Warn if prologue/epilogue insn
16466 would have been deleted.
16467 (mark_set_regs, mark_set_1): Accept and use FLAGS.
16468 Use alloc_EXPR_LIST.
16469 (mark_used_regs): Accept and use FLAGS, not FINAL.
16470 Remove special handling for RETURN.
16471 (try_pre_increment): Use alloc_EXPR_LIST.
16472 (dump_flow_info): Dump n_edges.
16473 (unlink_insn_chain, split_hard_reg_notes): Remove.
16474 (maybe_add_dead_note, maybe_add_dead_note_use): Remove.
16475 (find_insn_with_note, new_insn_dead_notes): Remove.
16476 (update_n_sets, sets_reg_or_subreg_1, sets_reg_or_subreg): Remove.
16477 (maybe_remove_dead_notes, prepend_reg_notes): Remove.
16478 (replace_insns): Remove.
16479 (count_or_remove_death_notes): New.
16480 (verify_flow_info): Abort on error after all checks.
16481 (remove_edge): Decrement n_edges.
16482 (remove_fake_edges): Tweak format.
16483 * haifa-sched.c (schedule_insns): Use split_all_insns.
16484 * output.h (update_life_info): Remove declaration.
16485 * recog.c (split_all_insns): From the corpse of split_block_insns,
16486 do the whole function block by block. Use update_life_info.
16487 (recog_last_allowed_insn): New.
16488 (recog_next_insn): Mind it.
16489 (peephole2_optimize): Set it. Walk backwards through blocks.
16490 Use update_life_info.
16491 * rtl.h (update_flow_info, replace_insns): Remove declarations.
16492 (split_all_insns): Declare.
16493 * toplev.c (rest_of_compilation): Thread prologue before flow2.
16494 Use split_all_insns.
16496 * i386.md (or -1 peep2s): Disable.
16498 Fri Oct 8 17:49:08 1999 Richard Henderson <rth@cygnus.com>
16500 * config/mips/mips.md (movstrsi+[123]) : Combine these into
16501 a single pattern. Scrap the 'd' versions as unnecessary.
16503 * config/mips/mips.md (tablejump_internal3,tablejump_mips161,
16504 tablejump_mips162,tablejump_internal4): The operands to a
16505 label_ref must be VOIDmode.
16507 Fri Oct 8 16:12:42 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
16509 * configure.in (c-mbchar): Append, don't overwrite, `extra_c_flags'.
16511 Fri Oct 8 11:58:34 1999 Richard Henderson <rth@cygnus.com>
16513 * mips.c (mips_va_arg) [EABI]: Return addr_rtx.
16515 Fri Oct 8 11:58:34 1999 Richard Henderson <rth@cygnus.com>
16517 * lists.c (init_EXPR_INSN_LIST_cache): Don't need to zap the
16518 cache every function if ggc_p.
16520 Fri Oct 8 18:46:11 1999 Bernd Schmidt <bernds@cygnus.co.uk>
16522 * jump.c (duplicate_loop_exit_test): Use copy_insn/copy_insn_1
16523 instead of copy_rtx. Accept sequences that contain asm statements.
16524 * emit-rtl.c (copy_insn_1, copy_insn): New functions.
16525 (copy_insn_scratch_in, copy_insn_scratch_out, copy_insn_n_scratches,
16526 orig_asm_operands_vector, copy_asm_operands_vector,
16527 orig_asm_constraints_vecotr, copy_asm_constraints_vector): New static
16529 * rtl.h (copy_insn, copy_insn_1): Declare.
16531 Fri Oct 8 13:08:12 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
16533 * Makefile.in (insn-recog.o): Depend on hard-reg-set.h and resource.h.
16535 * alpha.h (ASM_OUTPUT_MI_THUNK): Pass the correct number of
16536 arguments to `current_file_function_operand'.
16538 * genrecog.c: Include hard-reg-set.h and resource.h in the
16539 generated output file.
16541 * real.c: Include tm_p.h.
16543 Fri Oct 8 18:46:11 1999 Bernd Schmidt <bernds@cygnus.co.uk>
16545 * i386.md (prologue_allocate_stack): Add '=' constraint letter on
16548 Thu Oct 7 23:06:50 1999 Richard Henderson <rth@cygnus.com>
16550 * rs6000.md (fix_truncdfsi2_internal+1): Emit a clobber
16551 before the fctiwz insn.
16553 Thu Oct 7 22:53:00 1999 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
16554 Mark Mitchell <mark@codesourcery.com>
16556 * tree.c (make_lang_type_fn): New funtion pointer.
16557 (make_lang_type): Call it.
16558 * tree.h (make_lang_type): Declare.
16559 (make_lang_type_fn): Likewise.
16560 * rs6000.c (rs6000_build_va_list): Use make_lang_type.
16562 Thu Oct 7 00:36:17 1999 Diego Novillo <dnovillo@cygnus.com>
16564 * config/rs6000/rs6000.c (secondary_reload_class): For TARGET_ELF
16565 make sure that HIGH instructions are copied into BASE_REGS.
16567 Thu Oct 7 17:02:34 1999 Jason Merrill <jason@yorick.cygnus.com>
16569 * expr.c (expand_expr, TARGET_EXPR): Set TREE_USED sooner.
16571 Thu Oct 7 17:01:58 1999 Greg McGary <gkm@gnu.org>
16573 * c-decl.c (finish_struct): Use simpler method of
16574 removing elements of a singly-linked list.
16576 Thu Oct 7 15:23:28 1999 Michael Meissner <meissner@cygnus.com>
16578 * alpha.md (peephole2's): Comment out peephole2's that generate
16581 Thu Oct 7 12:00:53 1999 Richard Henderson <rth@cygnus.com>
16583 * genrecog.c (add_to_sequence): Disable mode check for
16586 Thu Oct 7 20:14:16 1999 Bernd Schmidt <bernds@cygnus.co.uk>
16588 * ggc-simple.c (init_ggc): Set empty_string.
16590 Thu Oct 7 01:13:15 1999 Richard Henderson <rth@cygnus.com>
16592 * configure.in: Detect mmap. Add --with-gc=foo to select
16593 garbage collector; default to page if mmap available.
16594 * Makefile.in (GGC): Substitute.
16596 Wed Oct 6 23:56:30 1999 Richard Henderson <rth@cygnus.com>
16598 * c-decl.c (ggc_p): Enable.
16600 Wed Oct 6 17:17:08 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
16602 * flow.c (verify_flow_info): Make it extern & unconditionally define.
16604 1999-10-06 Brendan Kehoe <brendan@cygnus.com>
16606 * sparc/sp86x-elf.h (SUBTARGET_SWITCHES): Add missing doc
16607 string for little-endian-data.
16609 Wed Oct 6 16:10:35 1999 Michael Meissner <meissner@cygnus.com>
16611 * varray.h (VARRAY_CHECK): Fix up appropriate revision check, in
16612 case somebody tries to compile --enable-checking code with gcc
16615 Wed Oct 6 12:22:50 1999 Richard Henderson <rth@cygnus.com>
16617 * genrecog.c (add_to_sequence): Verify operand to label_ref is
16620 Wed Oct 6 10:21:15 1999 Richard Henderson <rth@cygnus.com>
16622 * genconfig.c (main): Disable HAVE_conditional_arithmetic.
16623 * jump.c (jump_optimize_1): Document why.
16625 Wed Oct 6 10:41:56 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
16627 * collect2.c (scan_prog_file, scan_libraries): Prototype function
16628 pointers and casts for `int_handler' and `quit_handler'.
16630 * flow.c (verify_flow_info, split_hard_reg_notes,
16631 find_insn_with_note, sets_reg_or_subreg_1, prepend_reg_notes,
16632 remove_edge, remove_fake_successors): Add static prototypes.
16633 (verify_flow_info): Wrap with macro ENABLE_CHECKING.
16634 (mark_set_1): Initialize variable `regno'.
16635 (unlink_insn_chain): Likewise for variable `curr'.
16636 (remove_fake_edges): Remove unused variables `e', `tmp' and `last'.
16638 * loop.c (strength_reduce): Initialize variable
16639 `unrolled_insn_copies'.
16640 (cmp_combine_givs_stats, cmp_recombine_givs_stats): Add static
16641 prototypes. Change these functions to take const PTR parameters
16642 to avoid prototype conflict when used as the comparson argument
16644 (check_dbra_loop): Initialize variable `comparison_val'.
16646 * reload.c (debug_reload_to_stream, debug_reload): Add prototypes.
16647 (get_secondary_mem): Mark parameter `x' with ATTRIBUTE_UNUSED.
16648 (find_valid_class): Initialize variable `best_class'.
16649 (find_reloads): Call memcpy, not bcopy.
16651 * reload1.c (gen_mode_int, dump_needs): Add prototypes.
16652 (hard_reg_use_compare): Don't needlessly cast away const.
16653 (reload_reg_class_lower): Likewise.
16654 (choose_reload_regs): Initialize variable `regno'.
16656 Tue Oct 5 16:34:12 1999 Paul Burchard <burchard@pobox.com>
16658 * ggc-page.c (GGC_ALWAYS_COLLECT): Fix typo when undef'ing.
16660 Tue Oct 5 16:14:40 1999 Michael Meissner <meissner@cygnus.com>
16662 * libgcc1-test.c (toplevel): Include stddef.h to get size_t.
16663 ({,d}discard): Add forward declarations. Declare parameter as
16665 (main_without_main): Explicitly declare return type to be int.
16666 (memcpy): Properly declare.
16668 * libgcc2.c (toplevel): If inhibit_libc is defined and not
16669 building the trampoline support, declare malloc, free, and
16671 (__clear_cache): Mark arguments as potentially unused.
16673 * frame.c (toplevel): If inhibit_libc is defined, declare
16676 Tue Oct 5 12:00:32 1999 Richard Henderson <rth@cygnus.com>
16678 * flow.c (make_edge): Accept an optional 2D bitmap in which
16679 to cache edge existence. Update all callers.
16680 (make_label_edge, make_eh_edge): Pass through the edge cache.
16681 (make_edges): Provide the cache.
16683 Tue Oct 5 12:16:49 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
16685 * mbchar.c (literal_codeset, local_mbtowc, local_mblen): Constify
16687 (local_mbtowc): Change the type of variable `i' from int to size_t.
16689 * mbchar.h (ISSJIS1, ISSJIS2): Use parens around && within ||.
16690 (local_mbtowc, local_mblen, literal_codeset): Constify a char*.
16692 Tue Oct 5 11:34:52 1999 Michael Meissner <meissner@cygnus.com>
16694 * ggc-common.c (toplevel): Reorder includes, so that ggc.h comes
16695 after other includes that define the appropriate types. Include
16696 tm_p.h for getting user prototypes.
16697 * ggc-callbacks.c (toplevel): Ditto.
16698 * ggc-none.c (toplevel): Ditto.
16699 * gcc-page.c (toplevel): Ditto.
16700 * ggc-simple.c (toplevel): Ditto.
16702 Mon Oct 4 16:48:16 1999 Diego Novillo <dnovillo@cygnus.com>
16703 Jonathan Larmour <jlarmour@cygnus.co.uk>
16705 * config/mips/mips.c (mips_move_2words): Split doubles if
16706 ISA >= 3, !TARGET_64BIT, and destination is not an FP register.
16708 Mon Oct 4 21:47:31 1999 Richard Henderson <rth@cygnus.com>
16710 * genrecog.c (struct decision_test): New.
16711 (struct decision): Remove test-related members, sort the rest by size.
16712 (IS_SPLIT): Simplify.
16713 (new_decision, new_decision_test): New.
16714 (add_to_sequence): Use them. No special handling for args of
16716 (maybe_both_true): Renamed from not_both_true; return sense changed.
16717 (maybe_both_true_1, maybe_both_true_2): New. Broken out
16718 of maybe_both_true and adjusted for decision_test.
16719 (position_merit): Remove.
16720 (nodes_identical, nodes_identical_1): New, broken out of merge_trees.
16721 (merge_accept_insn): New, broken out of merge_trees.
16722 (merge_trees): Use them. No special case for c_test; no node
16723 splitting; use test type instead of position_merit.
16724 (factor_tests): New.
16725 (simplify_tests): New.
16726 (break_out_subroutines): Don't write code now.
16727 (find_afterward): New.
16728 (write_afterward, write_switch, write_cond): New.
16729 (write_action, is_unconditional): New.
16730 (write_node): New. Use them.
16731 (write_tree_1): Rewrite. Use the new functions above.
16732 (write_tree): Remove afterward processing.
16733 (write_subroutine): Simplify function variant emission.
16734 (write_subroutines): New.
16735 (same_codes, clear_codes): Remove.
16736 (same_modes, clear_modes): Remove.
16737 (write_header): New, broken out of main.
16738 (make_insn_sequence): Use new_decision and new_decision_test.
16739 (process_tree): New, broken out of main.
16740 (main): Adjust for merge_trees interface change.
16741 Don't #define operands in the output file.
16742 (record_insn_name): New, broken out of make_insn_sequence.
16743 (debug_decision_2, debug_decision_1, debug_decision_0): New.
16744 (debug_decision): New.
16746 1999-10-04 21:58 -0700 Zack Weinberg <zack@bitmover.com>
16748 * resource.c (find_free_register): Mark class_str argument const.
16749 * resource.h: Update prototype to match.
16751 * i386.h (PREDICATE_CODES): Add entry for long_memory_operand.
16752 * i386.md: Give all anonymous insns names.
16754 Mon Oct 4 21:12:02 1999 Jeffrey A Law (law@cygnus.com)
16756 * flow.c (merge_blocks): Avoid assing BASIC_BLOCK for non-existent
16759 Mon Oct 4 21:01:39 1999 Richard Henderson <rth@cygnus.com>
16761 * toplev.c (dbr_sched_time): Unconditional.
16762 (peephole2_time): New.
16763 (compile_file): Add pass numbers to all of the dump file suffixes.
16764 Dump peephole2_time. Don't dump times for non-applicable passes.
16765 (rest_of_compilation): Add pass numbers to dump file suffixes.
16766 Conditionalize calls to the scheduler.
16767 * invoke.texi: Update.
16769 Mon Oct 4 20:25:13 1999 Anthony Green <green@cygnus.com>
16771 * flow.c (make_edges): Fix insn iteration.
16772 (find_basic_blocks): Assign NULL_RTX, not 0, to rtx.
16773 (find_basic_blocks_1): Fix spelling mistake.
16775 Mon Oct 4 16:56:11 1999 Richard Henderson <rth@cygnus.com>
16777 * tree.c (build1): Set TREE_SIDE_EFFECTS for expressions that
16778 always have side-effects. Use memset not bzero.
16779 (make_node): Likewise.
16781 Mon Oct 4 16:22:20 1999 Mark Mitchell <mark@codesourcery.com>
16783 * stmt.c (expand_anon_union_decl): When any of the elements of the
16784 union is addressable, so is the entire union.
16786 Mon Oct 4 11:38:33 1999 Richard Henderson <rth@cygnus.com>
16788 * sbitmap.c (sbitmap_ones): Don't set too many bits.
16790 * bitmap.h (enum bitmap_bits): Add BITMAP_XOR.
16791 * bitmap.c (bitmap_operation): Return true iff TO changed.
16792 (bitmap_equal_p): New.
16793 (bitmap_bit_p): Tidy arithmetic.
16794 (debug_bitmap_file): Likewise.
16796 Mon Oct 4 11:28:37 1999 Richard Henderson <rth@cygnus.com>
16798 * toplev.c (rest_of_compilation): Turn on cse_not_expected
16799 before cse2 instead of after.
16801 Mon Oct 4 09:55:17 1999 Stan Cox <scox@cygnus.com>
16803 * mips.h (GO_IF_LEGITIMATE_ADDRESS): Let leasi/liadi handle large
16806 Mon Oct 4 08:54:12 1999 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
16808 * cppinit.c (is_idchar initializer): Loosen tests to accept
16811 Mon Oct 4 02:31:20 1999 Mark Mitchell <mark@codesourcery.com>
16813 * mips.md: Define conditional move patterns for floating point
16814 operands and DI mode conditions.
16816 Mon Oct 4 02:12:41 1999 Mark Mitchell <mark@codesourcery.com>
16818 * tree.c (make_node): Set TREE_SIDE_EFFECTS for expressions that
16819 always have side-effects.
16821 Sun Oct 3 14:14:16 1999 Jeffrey A Law (law@cygnus.com)
16823 * mn10200.c (asm_file_start): Fix typo.
16825 * cppinit.c (is_idchar initializer): Tighten tests for when
16826 to put the table into initialized memory.
16828 * ggc-none.c (ggc_alloc_rtvec): An rtvec is an array of rtx,
16829 not an array of rtunion.
16830 * gcc-page.c (ggc_alloc_rtvec): Similarly.
16831 * gcc-simple (ggc_free_rtvec): Similarly.
16833 * genattrtab.c (simplify_cond): Make TESTS an array of rtxs, instead
16836 * mbchar.h: Add missing #endif.
16838 * t-fr30 (LIB2FUNCS_EXTRA): Remove definition.
16839 (FPBIT, DPBIT): Define.
16841 Sun Oct 3 12:44:05 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
16843 * print-tree.c (print_node, indent_to): Remove redundant prototypes.
16845 * profile.c (instrument_arcs, output_gcov_string,
16846 tablejump_entry_p): Add static prototypes.
16847 (output_gcov_string): Constify a char*.
16849 * regmove.c (replacement_quality, fixup_match_2): Add static
16852 * resource.h (reg_dead_p): Add extern prototype.
16854 * rtl.c (trim_filename): Add static prototype.
16856 * scan-decls.c (skip_to_closing_brace): Likewise.
16858 * stmt.c (expand_decl_cleanup_no_eh): Hide definition.
16859 (expand_end_case): Initialize variable `range'.
16860 (emit_case_nodes): Remove unused prototype `rtx_fn'.
16862 * varasm.c (asm_emit_uninitialised): Add static prototype.
16863 (asm_emit_uninitialised, assemble_variable): Mark parameter with
16866 Sun Oct 3 12:24:52 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
16868 * cpplib.c (if_directive_nameo): Add static prototype.
16870 * cse.c (cse_insn): Remove unused variable `p'.
16872 * except.c (create_rethrow_ref, push_entry,
16873 receive_exception_label, new_eh_region_entry, find_func_region,
16874 clear_function_eh_region, process_nestinfo): Add static prototypes.
16875 (get_reg_for_handler): Hide definition.
16876 (process_nestinfo): Initialize variable `extra_handlers'.
16878 * expr.h (expand_builtin_longjmp): Add extern prototype.
16880 * final.c (final_addr_vec_align, align_fuzz): Add static prototypes.
16882 * function.c (prepare_function_start): Likewise.
16883 (pop_function_context_from): Mark parameter `context' with
16885 (push_temp_slots_for_block, flush_addressof): Hide definition.
16887 * gcov.c (init_arc, reverse_arcs, create_program_flow_graph,
16888 solve_program_flow_graph, calculate_branch_probs,
16889 function_summary, main, fancy_abort): Add prototypes.
16891 * gen-protos.c (add_hash, parse_fn_proto, main): Likewise.
16892 (add_hash): Constify a char*.
16894 * ggc-common.c (ggc_mark_rtx_ptr, ggc_mark_tree_ptr,
16895 ggc_mark_tree_varray_ptr, ggc_mark_tree_hash_table_ptr,
16896 ggc_mark_string_ptr, ggc_mark_tree_hash_table_entry): Add prototypes.
16898 * integrate.c (expand_inline_function_eh_labelmap): Likewise.
16900 * lists.c (free_list, zap_lists): Likewise.
16902 Sun Oct 3 12:05:28 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
16904 * alias.c (nonlocal_reference_p): Add static prototype.
16906 * bitmap.c (bitmap_element_allocate): Prototype args in function
16909 * builtins.c (stabilize_va_list): Add static prototype.
16910 (expand_builtin_va_arg): Constify a char*.
16912 * c-lex.c (getch, put_back, extend_token_buffer_to,
16913 read_line_number, token_getch, token_put_back): Add static
16916 * c-parse.gperf (hash, is_reserved_word): Likewise.
16918 * cccp.c (is_dir_separator): Likewise.
16920 Sat Oct 2 16:07:56 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
16922 * graph.h: New file to prototype functions exported by graph.c.
16924 * Makefile.in (graph.o, toplev.o): Depend on graph.h.
16926 * graph.c: Include graph.h.
16928 * toplev.c: Likewise. Remove redundant prototypes.
16930 Sat Oct 2 11:28:33 1999 Krister Walfridsson <cato@df.lth.se>
16932 * invoke.texi: Removed duplicated description for -Q.
16934 Sat Oct 2 11:16:00 1999 Jim Kingdon <http://developer.redhat.com>
16936 * extend.texi: Grammar fix in __extension__ text.
16938 Sat Oct 2 11:06:31 1999 Richard Henderson <rth@cygnus.com>
16940 * md.texi (define_peephole2): New section.
16942 Sat Oct 2 10:57:56 1999 Jan Hubicka <hubicka@freesoft.cz>
16944 * i386.md (mov?i patterns): Fix handling of TARGET_USE_MOV0
16945 (mov $-1 to or peepholer): Enable for pentium when optimizing for
16948 Sat Oct 2 10:55:25 1999 Jan Hubicka <hubicka@freesoft.cz>
16950 * builtins.c (expand_builtin_strlen): Fix best mode searching loop.
16952 Sat Oct 2 10:53:22 1999 Jan Hubicka <hubicka@freesoft.cz>
16954 * i386.md (ffs expander): Emit Pentium friendly code for
16957 Sat Oct 2 02:48:21 1999 Mark P. Mitchell <mark@codesourcery.com>
16959 * tree.c (build): Don't look at TREE_SIDE_EFFECTS or TREE_RAISES
16961 (build1): Likewise.
16963 Fri Oct 1 18:01:11 1999 Bernd Schmidt <bernds@cygnus.co.uk>
16965 * i386elf.h (TARGET_DEFAULT): Use symbolic constants.
16967 Fri Oct 1 12:42:53 1999 Andreas Schwab <schwab@suse.de>
16969 * config/m68k/m68k.c (use_return_insn): Return false if the pic
16970 register is in use.
16972 Fri Oct 1 10:56:06 1999 Bernd Schmidt <bernds@cygnus.co.uk>
16974 * md.texi (No Constraints): Delete section.
16975 * Makefile.in (genattrtab.o): Don't depend on "insn-config.h".
16976 * final.c (final_scan_insn): We always have register constraints.
16977 * genattrtab.c: Don't include "insn-config.h".
16978 (write_attr_case): We always have register constraints.
16979 * genconfig.c (register_constraint_flag): Delete.
16980 (walk_insn_part): Don't check whether we have register constraints.
16981 (main): Don't write out "#define REGISTER_CONSTRAINTS".
16982 * genoutput.c (have_constraints): Delete.
16983 (main): Don't set it.
16984 (output_operand_data): We always have constraints.
16985 (scan_operands): Likewise.
16986 (compare_operands): Likewise.
16987 * local-alloc.c (block_alloc): We always have constraints.
16988 (requires_inout): Always compile this function.
16989 * recog.c (extract_insn): We always have constraints.
16990 (constrain_operands, reg_fits_class_p): Always compile these
16992 * recog.h (struct recog_data): Delete non-REGISTER_CONSTRAINTS
16994 (struct insn_operand_data): Likewise.
16995 * regclass.c (regclass): We always have constraints.
16996 (record_reg_classes, copy_cost, record_address_regs,
16997 auto_inc_dec_reg_p): Always compile these functions.
16998 * regmove.c (regmove_optimize): We always have constraints.
16999 * reload.c (find_reloads): Likewise.
17000 * reload1.c (reload): Likewise.
17001 (reload_cse_simplify_operands): Likewise.
17002 * i860.c (output_delay_insn): Likewise.
17004 Thu Sep 30 23:04:41 1999 Mark P. Mitchell <mark@codesourcery.com>
17006 * iris6.h (BUILD_VA_LIST_TYPE): Define.
17008 Thu Sep 30 18:44:50 1999 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
17010 * rs6000.c (rs6000_build_va_list): Create a TYPE_DECL node
17011 for the va_list record.
17013 Thu Sep 30 18:34:54 1999 Jan Hubicka <hubicka@freesoft.cz>
17015 * i386.c (ix86_adjust_cost): Ignore false ebp dependencies in
17018 Thu Sep 30 18:31:36 1999 Jan Hubicka <hubicka@freesoft.cz>
17020 * alias.c: Include insn-flags.h.
17021 * Makefile.in (alias.o): Update.
17023 Thu Sep 30 18:21:30 1999 Jan Hubicka <hubicka@freesoft.cz>
17025 * i386.c (ix86_expand_int_movcc): Convert LEU and GTU comparisons
17026 to LTU and GEU. Handle more cases using sbb.
17028 Thu Sep 30 18:18:39 1999 Jan Hubicka <hubicka@freesoft.cz>
17030 * i386.md (truncatexfdf splitters): Do not use subreg.
17031 (fop XFmode patterns): Fix mode in operand testing.
17033 Thu Sep 30 18:04:13 1999 Richard Henderson <rth@cygnus.com>
17035 * jump.c (jump_optimize_1): Amend last change to test only the
17036 form of the operand, not the insn.
17038 * jump.c (jump_optimize_1) [conditional_move]: Use general_operand
17039 not register_operand to determine when B may need preloading.
17041 Thu Sep 30 17:39:16 1999 Richard Henderson <rth@cygnus.com>
17043 * alpha.md (*): Use nonimmediate not general_operand for SET_DEST.
17044 (ffsdi2, extxl, insxh, mskxh): Add missing DImode to SET_SRC.
17045 (call-value patterns): Move to end of file.
17046 (*): Remove mode from label_ref in (pc) context.
17047 (movstrqi): Use memory not general_operand for BLKmode operands.
17048 (prologue_stack_probe_loop, builtin_longjmp): Add missing mode
17049 to register_operand operands.
17050 (peep2 patterns): Convert from commented-out peephole patterns.
17052 Thu Sep 30 14:39:17 1999 Bernd Schmidt <bernds@cygnus.co.uk>
17054 * tree.h (enum built_in_function): Rename BUILT_IN_DWARF_REG_SIZE
17055 to BUILT_IN_INIT_DWARF_REG_SIZES.
17056 * builtins.c (expand_builtins, case BUILT_IN_INIT_DWARF_REG_SIZES):
17057 Renamed from BUILT_IN_DWARF_REG_SIZE; call
17058 expand_builtin_init_dwarf_reg_sizes.
17059 * c-decl.c (init_decl_processing): Replace __builtin_dwarf_reg_size
17060 with __builtin_init_dwarf_reg_size_table.
17061 * dwarf2out.c (struct reg_size_range): Delete.
17062 (expand_builtin_init_dwarf_reg_sizes): New function.
17063 (expand_builtin_dwarf_reg_size): Delete.
17064 * except.h (expand_builtin_init_dwarf_reg_sizes): Declare.
17065 (expand_builtin_dwarf_reg_size): Don't declare.
17066 * libgcc2.c (dwarf_reg_size_table_initialized): New.
17067 (dwarf_reg_size_table): New.
17068 (init_reg_size_table): New function.
17069 (copy_reg): Use dwarf_reg_size_table.
17070 (eh_context_initialize): Make sure dwarf_reg_size_table is initialized
17073 Thu Sep 30 05:40:34 1999 Richard Earnshaw <rearnsha@arm.com>
17075 * c-lang.c (finish_file case ndef ASM_OUTPUT_{CON,DE}STRUCTOR):
17076 Correctly build argument list to constructor and destructor functions.
17078 Thu Sep 30 00:13:27 1999 Dirk Zoller <duz@rtsffm.com>
17080 * c-tree.h (warn_float_equal): Declare.
17081 * c-decl.c (warn_float_equal): Define.
17082 (c_decode_option): Recognize -W[no-]float-equal.
17083 * c-typeck.c (build_binary_op): Conditionally warn
17084 about equality tests of floating point types.
17085 * toplev.c (documented_lan_options): Add -W[no-]float-equal.
17086 * invoke.texi: Add docs for -Wfloat-equal warning.
17088 Wed Sep 29 23:43:39 1999 Jeffrey A Law (law@cygnus.com)
17090 * h8300.h (INIT_TARGET_OPTABS): Use init_one_optab instead of
17091 generating RTL directly.
17092 * mips.h (INIT_TARGET_OPTABS): Likewise.
17093 * mn10200.h (INIT_TARGET_OPTABS): Likewise.
17095 * expr.h (init_mov_optab): Delete declaration
17097 * h8300.c (WORD_REG_USED): Update to avoid useless register
17098 saves in interrupt functions and functions which never return.
17100 * cse.c (struct set): Delete inner_dest_loc field.
17101 (cse_insn): Remove assignments to inner_dest_loc field.
17103 Wed Sep 29 16:06:20 1999 Richard Henderson <rth@cygnus.com>
17105 * ggc-page.c: Don't include <unistd.h> etc taken care of
17106 by "system.h". Include <sys/mman.h> afterward.
17108 Wed Sep 29 16:05:18 1999 Richard Henderson <rth@cygnus.com>
17110 * rs6000.c (rs6000_encode_section_info): If ggc_p, use
17113 Tue Sep 28 16:45:40 1999 David Edelsohn <edelsohn@gnu.org>
17115 * xcoffout.c (xcoffout_declare_function): Add documentation.
17116 * rs6000.c (num_insns_constant_wide): Use TARGET_POWERPC64 not
17117 TARGET_64BIT. Compare constant to -1, not bit pattern.
17118 (easy_fp_constant): Use TARGET_POWERPC64 not TARGET_64BIT.
17119 (expand_block_move): Allow 8 DImode loads for PowerPC64. Fix
17122 Tue Sep 28 16:43:14 1999 Nick Clifton <nickc@cygnus.com>
17124 * dwarf2out.c (add_abstract_origin_attribute): Abort if
17125 origin_die is NULL.
17126 (gen_inlined_enumeration_type_die): Do not abort if the type has
17127 not been writeen out.
17128 (gen_inlined_structure_type_die): Do not abort if the type has
17129 not been writeen out.
17130 (gen_inlined_union_type_die): Do not abort if the type has
17131 not been writeen out.
17132 (gen_tagged_type_instantiation_die): Do not abort if the type
17133 has not been written out.
17135 Tue Sep 28 14:33:47 1999 Bernd Schmidt <bernds@cygnus.co.uk>
17137 * c-decl.c (init_decl_processing): If MD_INIT_BUILTINS is defined,
17139 * reg-stack.c (straighten_stack): Copy hard reg set with
17142 Tue Sep 28 01:11:05 1999 Richard Henderson <rth@cygnus.com>
17144 * builtins.c (stabilize_va_list): Stabilize array type va_list
17145 to a pointer type, not the base record type.
17146 (expand_builtin_va_copy): Dereference the pointers explicitly;
17147 use the correct size for the copy.
17149 * rs6000.c (rs6000_va_start): Dereference valist to get to the record.
17150 (rs6000_va_arg): Likewise.
17152 Mon Sep 27 23:27:21 1999 Richard Henderson <rth@cygnus.com>
17154 * rtl.h (struct rtx_def): Move gc_mark to align mode field.
17156 Mon Sep 27 23:20:29 1999 Mark Mitchell <mark@codesourcery.com>
17158 * tree.h (struct tree_decl): Use `bclass', not `class', in name of
17160 (DECL_BUILT_IN_CLASS): Adjust accordingly.
17162 Mon Sep 27 23:03:16 1999 Richard Henderson <rth@cygnus.com>
17164 * ggc-page.c (GGC_MIN_LAST_ALLOCATED): New.
17165 (init_ggc): Use it instead of a constant.
17166 (ggc_collect): Bound allocated_last_gc by it.
17168 Mon Sep 27 19:06:04 1999 Jeffrey A Law (law@cygnus.com)
17170 * fixinc/fixinc.irix (stdio.h): Hack stdio.h to avoid problems
17173 Mon Sep 27 19:40:17 CEST 1999 Marc Espie <espie@cvs.openbsd.org>
17175 * configure.in (mips*el-*-openbsd*): Don't duplicate default settings.
17176 (mips*-*-openbsd*): Let big endian configuration be a fragment.
17177 * configure: Regen.
17178 * config/mips/openbsd.h: New, OpenBSD little endian target.
17179 * config/mips/openbsd-be.h: New, OpenBSD big endian target fragment.
17180 * config/mips/xm-openbsd.h: New, OpenBSD host.
17182 Mon Sep 27 10:28:48 1999 Andreas Schwab <schwab@suse.de>
17184 * config/m68k/m68k.c (output_function_prologue,
17185 output_function_epilogue): Use
17186 current_function_uses_pic_offset_table instead of regs_ever_live
17187 to decide whether to save/restore pic register.
17188 (legitimize_pic_address): Don't modify regs_ever_live any more.
17190 Sun Sep 26 10:55:36 1999 Mark Mitchell <mark@codesourcery.com>
17192 * function.h (struct function): Add x_dont_save_pending_sizes_p.
17193 * stor-layout.c (variable_size): Don't add sizes to the pending
17194 sizes list if x_dont_save_pending_sizes_p is set.
17196 Sun Sep 26 16:36:52 1999 Robert Lipe (robertlipe@usa.net)
17198 * config/i386/dgux.h (SELECT_RTX_SECTION): Provide dummy argument
17199 for symbolic_operand().
17200 * config/i386/sco5.h (SELECT_RTX_SECTION): Likewise.
17202 Sun Sep 26 07:37:11 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
17204 * combine.c (gen_rtx_combine): Add missing call to va_end().
17206 * final.c (asm_fprintf): Likewise.
17208 * genattrtab.c (attr_rtx): Likewise.
17210 Sat Sep 25 13:11:07 1999 Jeffrey A Law (law@cygnus.com)
17212 * cse.c: Update comments.
17213 (cse_insn): When converting a conditional/computed jump into
17214 an unconditional jump, always make sure a BARRIER immediately
17215 follows the converted jump. Do not delete unreachable code.
17216 (cse_basic_block): Do not delete unreachable code.
17217 * toplev.c (rest_of_compilation): Move call to
17218 delete_trivially_dead_insns after the conditional call to
17221 Sat Sep 25 09:03:17 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
17223 * collect2.c (make_temp_file): Don't prototype.
17225 * gcc.c (make_temp_file): Likewise.
17227 * mips.c (mips_make_temp_file): Renamed from `make_temp_file'.
17229 Sat Sep 25 13:42:15 1999 Nick Clifton <nickc@cygnus.com>
17231 * varasm.c (asm_emit_uninitialised): New function: Generate
17232 the assembler statements necessary to declare an uninitialised
17234 (ASM_EMIT_LOCAL): New macro: Emit a local, uninitialised
17236 (ASM_EMIT_BSS): New macro: Emit an entry in the bss section.
17237 (ASM_EMIT_COMMON): New macro: Emit an entry in the common
17239 (assemble_variable): Use asm_emit_uninitialised to emit an
17240 uninitialised variable.
17242 Fri Sep 24 17:10:56 1999 Nick Clifton <nickc@cygnus.com>
17244 * combine.c (simplify_comparison): Cope with downshifting a 32 bit
17245 constant on a 64 bit host. Patch supplied by Geoffrey Keating
17246 <geoffk@cygnus.com>.
17248 Fri Sep 24 10:48:10 1999 Bernd Schmidt <bernds@cygnus.co.uk>
17250 * builtins.c (expand_builtin): Use MD_EXPAND_BUILTIN if defined.
17251 * c-common.h (builtin_function): Don't declare.
17253 * c-decl.c (duplicate_decls): Use DECL_BUILT_IN_CLASS rather than
17255 (pushdecl): Likewise.
17256 (finish_decl): Likewise.
17257 (builtin_function): New arg CLASS. Arg FUNCTION_CODE now of type
17258 int. All callers changed.
17259 Set the builtin's DECL_BUILT_IN_CLASS.
17260 * tree.h (enum built_in_class): New.
17261 (enum built_in_function): Delete NOT_BUILT_IN.
17262 (DECL_FUNCTION_CODE): The corresponding field in tree_decl is now
17264 (DECL_SET_FUNCTION_CODE): Likewise.
17265 (DECL_BUILT_IN_CLASS): New macro.
17266 (DECL_BUILT_IN): Use DECL_BUILT_IN_CLASS.
17267 (struct tree_decl): Split builtin function code field into a
17269 (builtin_function): Declare.
17271 Fri Sep 24 01:45:05 1999 Mark Mitchell <mark@codesourcery.com>
17273 * optabs.c (init_traps): Fix typo in last change.
17275 Fri Sep 24 01:10:11 1999 Mark Mitchell <mark@codesourcery.com>
17277 * toplev.c (rest_of_decl_compilation): Update comment.
17279 Fri Sep 24 11:57:06 1999 Geoffrey Keating <geoffk@cygnus.com>
17281 * config/mips/elf.h (ASM_OUTPUT_ALIGNED_BSS): Put the symbol
17282 in .sbss if appropriate.
17283 (EXTRA_SECTION_FUNCTIONS): Add sbss.
17284 (SBSS_SECTION_ASM_OP): New macro.
17285 * config/mips/linux.h (EXTRA_SECTION_FUNCTIONS): Add sbss.
17286 (EXTRA_SECTIONS): Add in_sbss.
17287 * config/mips/mips.h: Prototype sbss_section.
17289 Thu Sep 23 18:18:55 1999 Mark Mitchell <mark@codesourcery.com>
17291 * stmt.c (expand_start_bindings): Don't allow cleanup instructions
17294 Thu Sep 23 18:07:01 1999 Mark Mitchell <mark@codesourcery.com>
17296 * optabs.c (init_traps): Register trap_rtx as a GC root.
17298 Thu Sep 23 17:41:47 1999 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
17300 * config/mips/mips.c (function_arg_pass_by_reference): Define
17301 unconditionally, since it's called unconditionally.
17303 Thu Sep 23 13:40:02 1999 Jason Merrill <jason@yorick.cygnus.com>
17305 * toplev.c (documented_lang_options): Add -fshort-wchar.
17306 * c-decl.c (c_decode_option): Likewise.
17307 (init_decl_processing): If -fshort-wchar, use 'short unsigned int'
17309 * c-common.c, c-lex.c: Get WCHAR_TYPE_SIZE from wchar_type_node.
17310 * gcc.c (default_compilers): If -fshort-wchar,
17311 override __WCHAR_TYPE__.
17312 * tm.texi (C Dialect Options): Add -fshort-wchar.
17314 * dwarf2out.c (output_aranges): Use DW_AT_location to find the
17315 symbol for a variable.
17317 * cpplib.h (CPP_PREPROCESSED): New macro.
17318 * cpplib.c (handle_directive): Don't complain about `# NUMBER' if
17319 we're seeing this input for a second time.
17321 Thu Sep 23 12:54:49 1999 Alex Samuel <samuel@codesourcery.com>
17323 * emit-rtl.c (init_emit_once): Initialize modes first.
17325 Sun Sep 19 01:23:23 1999 Alex Samuel <samuel@codesourcery.com>
17327 * config/i386/i386.c (pic_label_name): Change to char pointer.
17328 (global_offset_table): New variable.
17329 (load_pic_register): Fill global_offset_table if it hasn't
17330 already been done. Allocate pic_label_name dynamically.
17331 * ggc.h (empty_string): New variable.
17332 * ggc-simple.c (empty_string): Likewise.
17333 (init_ggc): Allocate empty_string and add as root.
17334 * stmt.c (digit_strings): New variable.
17335 (init_stmt): Add last_block_end_note as root. Allocate and
17336 initialize digit_strings.
17337 (expand_asm_operands): Use empty_string instead of string
17338 constant. Use digit_strings instead of string constants.
17339 * profile.c (init_arc_profiler): Allocate string with
17340 ggc_alloc_string instead of xmalloc.
17341 (output_func_start_profiler): Likewise.
17342 * c-typeck.c (digest_init): Check if init is error_mark_node.
17344 Thu Sep 23 12:59:14 1999 Alex Samuel <samuel@codesourcery.com>
17345 Richard Henderson <rth@cygnus.com>
17347 * ggc-page.c: New file.
17348 * Makefile.in (ggc-page.o): New.
17350 Thu Sep 23 13:55:21 1999 Jeffrey A Law (law@cygnus.com)
17352 * invoke.texi: Document -fdelete-null-pointer-checks
17353 * toplev.c (flag_delete_null_pointer_checks): New.
17354 (f_options): Add entry for -fdelete-null-pointer-checks.
17355 (rest_of_compilation): Conditionalize null pointer check
17356 elimination on flag_delete_null_pointer_checks.
17357 (main): If -O2 or greater, enable -fdelete-null-pointer-checks
17359 1999-09-23 10:56 -0700 Zack Weinberg <zack@bitmover.com>
17361 * iso646.h, stdarg.h, stdbool.h, stddef.h, varargs.h: Add
17362 copyright notice and special exception to GPL.
17364 Thu Sep 23 13:40:23 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
17366 * abi64.h (mips_function_value): Add prototype arguments.
17368 * mips-protos.h: New file with mips prototypes.
17370 * mips.c: Include "tm_p.h".
17371 (mktemp, lookup_name): Add prototype arguments.
17372 (extern_list, string_constant, mips_fill_delay_slot,
17373 mips_output_external, mips_output_external_libcall,
17374 mips_output_filename, mips_declare_object, function_prologue,
17375 mips_expand_prologue, function_epilogue, mips16_constant,
17376 build_mips16_function_stub, mips_output_conditional_branch):
17378 (mips_va_start): Remove unused variable `u'.
17379 (mips_va_arg): Cast value to unsigned when comparing against one.
17381 (save_restore_insns, mips_expand_prologue): Add missing arg in
17382 call to `large_int'.
17384 * mips.h: Move prototypes to mips-protos.h.
17385 (data_section, memory_address_p, rdata_section,
17386 readonly_data_section, simple_epilogue_p, text_section): Delete
17387 prototypes delcared elsewhere.
17388 (mips_epilogue_delay_slots, print_options): Delete unused decls.
17390 (GO_PRINTF, GO_PRINTF2): Call fprintf, not trace.
17392 * mips.md: Delete extra args in call to `mips_move_2words'.
17394 * xm-iris6.h (alloca): Add prototype argument.
17396 * genpeep.c: Include "tm_p.h" in generated output file.
17398 Thu Sep 23 10:36:55 EDT 1999 Andrew MacLeod <amacleod@cygnus.com>
17400 * basic-block.h (find_edge_index): Change parameters.
17401 * flow.c (verify_edge_list): Pass basic_block parameters to
17402 find_edge_index instead of integers.
17404 Thu Sep 23 15:54:12 1999 Nick Clifton <nickc@cygnus.com>
17406 * combine.c (simplify_comparison): Use an unsigned shift to adjust
17409 Thu Sep 23 08:46:21 1999 Guy Harris <guy@netapp.com>
17411 * gcc.1: Fix a formatting error.
17413 Wed Sep 22 16:10:21 1999 Martin v. Löwis <loewis@informatik.hu-berlin.de>
17415 * install.texi (Configurations): Remove pyramid. Add fr30, i686,
17416 i786, mn10200, mn10300, pdp11, v850.
17418 Thu Sep 23 07:37:13 1999 Dan Nicolaescu <dann@ics.uci.edu>
17420 * libgcc2.c (num_digits): Add prototype with
17421 __attribute__((const)).
17422 (__terminate): Add prototype.
17424 Thu Sep 23 05:32:06 1999 Richard Henderson <rth@cygnus.com>
17426 * builtins.c, dbxout.c, varasm.c: Include tm_p.h.
17428 * alpha/alpha.c (print_operand): Fix type of `code'.
17429 (alpha_output_filename): Constify.
17430 * alpha/alpha.h: Move all function declarations ...
17431 * alpha/alpha-protos.h: ... here. New file.
17432 * alpha/elf.h (CONST_SECTION_FUNCTION): Prototype the function.
17433 (SECTION_FUNCTION_TEMPLATE): Likewise.
17435 Thu Sep 23 11:15:36 1999 Bernd Schmidt <bernds@cygnus.co.uk>
17437 * expmed.c (do_cmp_and_jump): Pass ccp_jump to can_compare_p.
17438 * expr.c (expand_expr): Likewise.
17439 (do_jump): Likewise.
17440 (do_store_flag): Pass ccp_store_flag to can_compare_p.
17441 * expr.h (enum optab_index): Add cbranch, cmov, cstore optabs and
17443 (enum can_compare_purpose): New.
17444 (can_compare_p): Adjust prototype.
17445 (prepare_cmp_insn, prepare_operand): Declare.
17446 * genopinit.c (optabs): Add cbranch_optab, cmov_optab, cstore_optab.
17447 * optabs.c (cmp_available_p): Deleted.
17448 (expand_abs): Pass ccp_jump to can_compare_p.
17449 (can_compare_p): New arg PURPOSE. Check for combined optabs.
17450 (prepare_cmp_insn): No longer static. Add arg PURPOSE.
17451 Call can_compare_p rather than cmp_available_p.
17452 (prepare_operand): No longer static.
17453 (emit_cmp_and_jump_insn): Check for and use cbranch patterns.
17454 (emit_cmp_and_jump_insns): Pass ccp_jump to prepare_cmp_insn.
17455 (expand_float): Fix a slightly broken emit_cmp_insn/emit_jump_insn
17456 sequence to use emit_cmp_and_jump_insns.
17457 (init_optabs): Initialize cbranch_optab, cmov_optab, cstore_optab.
17459 Wed Sep 22 17:58:01 1999 Stan Cox <scox@cygnus.com>
17461 * mips.h (GO_IF_LEGITIMATE_ADDRESS): Don't accept large
17462 register offsets; let LEGITIMIZE_ADDRESS load it into a register.
17463 (LEGITIMIZE_ADDRESS): Use plus_constant to avoid
17464 (plus (reg) (const_int 0))
17465 * mips.md (call_internal3c): New pattern for -mips16 -mlong-calls.
17467 Wed Sep 22 17:55:31 1999 David Edelsohn <edelsohn@gnu.org>
17469 * rs6000.c (expand_block_move): DImode loads and stores require
17470 word-aligned displacements. Increment address registers with
17471 adddi3 on 64-bit platform. Use TARGET_POWERPC64 not TARGET_64BIT.
17473 Wed Sep 22 17:35:55 1999 Michael Meissner <meissner@cygnus.com>
17475 * dwarf2out.c (base_type_die): Use the name __unknown__ if there
17476 is no name for the base type, rather than segfault. If we are
17477 writing out a complex integer type, use DW_ATE_lo_user.
17479 * expr.c (emit_move_insn_1): If we are copying a complex that fits
17480 in one word or less (complex char, complex short, or on 64 bit
17481 systems complex float) to/from a hard register, copy it through
17482 memory instead of dying in gen_{real,imag}part. If we have a
17483 short complex type, prevent inlining since it allocates stack
17486 * tree.c (build_complex_type): If we are writing dwarf2 output,
17487 generate a name for complex integer types.
17489 Wed Sep 22 11:34:08 EDT 1999 Andrew MacLeod <amacleod@cygnus.com>
17491 * basic-block.h (add_noreturn_fake_exit_edges): Use correct name.
17492 * flow.c (remove_edge): Remove extra whitespace.
17493 (remove_fake_edges): Fix comment.
17494 (add_noreturn_fake_exit_edges): Use the correct name.
17496 Wed Sep 22 16:12:40 BST 1999 Nathan Sidwell <nathan@acm.org>
17498 * Makefile.in (INTL_MOSTLYCLEAN, INTL_CLEAN): New variables.
17499 (mostlyclean): Depend on INTL_MOSTLYCLEAN.
17500 (clean): Depend on INTL_CLEAN.
17501 (maintainer-clean): Adjust.
17503 Wed Sep 22 10:18:56 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
17505 * configure.in (AC_PREREQ): Bump to 2.13.
17506 (AC_C_STRINGIZE): Call this instead of using a custom macro.
17508 * gansidecl.h (HAVE_STRINGIZE): Define, if stage2 gcc && __STDC__.
17510 * system.h (HAVE_STRINGIZE): Test this instead of HAVE_CPP_STRINGIFY.
17512 * acconfig.h (HAVE_CPP_STRINGIFY): Delete.
17514 * alpha/xm-vms.h (HAVE_CPP_STRINGIFY): Delete.
17515 (HAVE_STRINGIZE): Define.
17517 Wed Sep 22 06:25:15 1999 Jim Kingdon <http://developer.redhat.com>
17519 * c-parse.in: save and restore warn_pointer_arith on __extension__
17520 along with pedantic.
17521 (SAVE_WARN_FLAGS, RESTORE_WARN_FLAGS): Added.
17522 Set the type of extension to itype rather than $<itype>1 kludge.
17523 * extend.texi (Alternate Keywords): Adjust documentation.
17524 * c-parse.c, c-parse.y, objc-parse.c, objc-parse.y: Rebuilt.
17526 Wed Sep 22 06:06:57 1999 Jeffrey A Law (law@cygnus.com)
17528 * pa.c, pa.h, pa.md: Support multiple assembler dialects in
17529 most assembler templates.
17531 * pa.c (hppa_legitimize_address): Handle full offsets for PA2.0
17532 FP loads and stores.
17533 (following_call): Always return zero for the PA8000.
17534 * pa.h (GO_IF_LEGITIMATE_ADDRESS): Handle full offsets for PA2.0
17535 FP loads and stores.
17536 (LEGITIMIZE_RELOAD_ADDRESS): Similarly.
17538 * pa.h (BRANCH_COST): Define.
17540 * pa.md (return, return_internal): Use bve for PA2.0.
17542 * pa.md (fused multiply): Add variants which reduce height for the
17543 fused multiply, but which still generate 2 insns.
17544 (fnegabs): Similarly.
17546 * pa.md (subsi3): Turn into an expander. Create two anonymous
17547 patterns. One for PA2.0 one for PA1.x. Use mtsarcm for PA2.0.
17548 * pa.h (EXTRA_CONSTRAINT): Handle 'S'.
17550 * pa.md (floatunssisf2, floatunssidf2): Generate different RTL
17552 (floatunssidf2_pa20, floatunssisf2_pa20): New patterns for PA2.0
17554 (floatunsdisf2, floatunsdidf2, fixuns_truncsfsi2): Likewise.
17555 (fixuns_truncdfsi2, fixuns_truncsfdi2, fixuns_truncdfsi2): Likewise.
17557 * regclass.c (init_regs): Add "top_of_stack" as a garbage
17560 * flow.c (record_active_eh_regions): Terminate loop after finding
17561 the last insn in the last basic block.
17563 Wed Sep 22 20:25:00 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
17565 * config/c4x/c4x.md: Delete parallel instruction peepholes.
17567 Wed Sep 22 19:59:19 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
17569 * config/c4x/c4x.c (c4x_add_gc_roots): Add tree roots.
17571 Wed Sep 22 19:56:25 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
17573 * config/c4x/c4x.c (c4x_process_after_reload): Rework machdep insn
17574 splitting to not use output template.
17576 Wed Sep 22 19:50:12 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
17578 * config/c4x/c4x.h (EXPAND_BUILTIN_VA_START): Call c4x_va_start.
17579 * config/c4x/c4x.c (c4x_va_start): New function.
17581 Tue Sep 21 18:40:01 1999 Jan Hubicka <hubicka@freesoft.cz>
17583 * genrecog.c (not_both_true): Handle correctly cases when called for
17584 tests with different positions in the insn.
17586 Tue Sep 21 18:29:11 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
17588 * machmode.h (HOST_PTR_PRINTF): Move from here ...
17590 * system.h (HOST_PTR_PRINTF): ... to here.
17592 * mips-tfile.c: Don't include machmode.h.
17594 * Makefile.in (MACHMODE_H): New variable. Update to use it.
17595 (mips-tfile.o): Don't depend on machmode.h.
17597 Tue Sep 21 18:27:34 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
17599 * haifa-sched.c (sched_analyze): Rename local variable `region' to
17600 avoid conflicts with typedef struct `region' at the top level scope.
17602 Tue Sep 21 14:14:50 1999 Richard Henderson <rth@cygnus.com>
17604 * basic-block.h (basic_block): Add eh_beg, eh_end.
17605 * flow.c (entry_exit_blocks): Update.
17606 (find_basic_blocks): Don't allocate bb_eh_end, or pass it around.
17607 Call new functions.
17608 (find_basic_blocks_1): Don't record eh_list at each bb. Use
17609 lists.c functions to allocate insn lists.
17610 (make_edges): Use eh_beg+eh_end, not the lists. Split out EH
17612 (make_eh_edge): ... here. New.
17613 (move_stray_eh_region_notes): New.
17614 (record_active_eh_regions): New.
17615 (delete_unreachable_blocks): Split out block merging ...
17616 (try_merge_blocks): ... here. New.
17617 (merge_blocks_move_predecessor_nojumps): Remove edge arg.
17618 Dump debugging data.
17619 (merge_blocks_move_successor_nojumps): Likewise.
17620 (merge_blocks): Use eh_beg+eh_end to validate block movement.
17622 Tue Sep 21 11:15:03 1999 Martin v. Löwis <loewis@informatik.hu-berlin.de>
17624 * extend.texi (Bound member functions): Document unbound pmf
17627 Tue Sep 21 14:55:11 EDT 1999 Andrew MacLeod <amacleod@cygnus.com>
17629 * flow.c (split_edge): Handle insertion on a fallthrough edge which
17630 has the EXIT_BLOCK as a dest.
17632 Tue Sep 21 14:51:23 EDT 1999 Andrew MacLeod <amacleod@cygnus.com>
17634 * flow.c (remove_edge): New function to remove an edge from the
17636 (remove_fake_successors): New function to remove fake successor edges.
17637 (remove_fake_edges): New function to remove all fake edges from the
17639 (add_fake_exit_edges): New function to add fake edges from all blocks
17640 with no successors to the exit block.
17641 * basic-block.h (remove_fake_edges, add_fake_exit_edges): Add
17642 prototypes for new functions.
17644 Tue Sep 21 14:49:53 EDT 1999 Andrew MacLeod <amacleod@cygnus.com>
17646 * config/mips/elf64.h (ASM_OUTPUT_CONSTRUCTOR, ASM_OUTPUT_DESTRUCTOR):
17647 Use Pmode to determine whether to output .dword or .word.
17649 Tue Sep 21 11:04:34 1999 Alex Samuel <samuel@codesourcery.com>
17651 * tree.c (built_in_filename): New variable.
17652 (BUILT_IN_FILENAME): New macro.
17653 (init_tree_codes): Allocate built_in_filename.
17654 (make_node): Use built_in_filename instead of string constant.
17656 Tue Sep 21 14:13:27 1999 Nick Clifton <nickc@cygnus.com>
17658 * configure.in: Add fr30 target.
17659 * configure: Regenerate.
17660 * config/fr30: New directory.
17661 * config/fr30/crti.asm: New file.
17662 * config/fr30/fr30.c: New file.
17663 * config/fr30/crtn.asm: New file.
17664 * config/fr30/fr30.h: New file.
17665 * config/fr30/fr30.md: New file.
17666 * config/fr30/lib1funcs.asm: New file.
17667 * config/fr30/t-fr30: New file.
17668 * config/fr30/xm-fr30.h: New file.
17670 Tue Sep 21 06:45:31 1999 Jeffrey A Law (law@cygnus.com)
17672 * flow.c (merge_blocks_move_successor_nojumps): Delete the
17673 BARRIER at the end of the successor, not the BARRIER before
17676 * pa.c (pa_add_gc_roots): Fix thinko in last change.
17678 Tue Sep 21 05:29:17 1999 Richard Earnshaw (rearnsha@arm.com)
17680 * stmt.c (any_pending_cleanups): Don't crash when
17681 current_function->stmt is unset.
17683 Tue Sep 21 00:59:49 1999 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
17685 * emit-rtl.c (init_emit_once): Initialize const_int_rtx before
17686 other initializations that may use it for relative offsets.
17688 Mon Sep 20 21:43:25 1999 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
17690 * config/i386/sol2.h (PREFERRED_DEBUGGING_TYPE): Use stabs.
17691 (ASM_SPEC): Moved from sol2dbg.h. Added work-around for gas.
17692 * config/i386/sol2dbg.h: Removed.
17693 * config/i386/sol2gas.h: New file, to enable gas work-around.
17694 * configure.in: Use i386/sol2gas.h on Solaris/x86 --with-gas.
17695 Don't use sol2dbg.h.
17696 * configure: Rebuilt.
17698 Mon Sep 20 13:29:41 1999 Mark Mitchell <mark@codesourcery.com>
17700 * invoke.texi (-fthis-is-variable): Remove documentation.
17702 Mon Sep 20 12:59:16 1999 Richard Henderson <rth@cygnus.com>
17704 * basic-block.h (compute_bb_for_insn): Declare.
17705 * flow.c (compute_bb_for_insn): Export. Don't accept the varray
17706 to use; set size of basic_block_for_insn directly.
17707 (find_basic_blocks): Update.
17709 Mon Sep 20 15:11:54 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
17711 * flow.c (verify_flow_info): Fix typo, "abort;" -> "abort ();".
17713 Mon Sep 20 14:56:34 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
17715 * crtstuff.c (ON_EXIT): Delete empty macro definition.
17716 (__do_global_ctors_aux): Call atexit(), not ON_EXIT().
17718 Mon Sep 20 15:25:35 1999 Nick Clifton <nickc@cygnus.com>
17720 * c-decl.c (c_decode_option): Extend comment.
17722 Mon Sep 20 14:43:37 1999 Nick Clifton <nickc@cygnus.com>
17724 * toplev.c (progname): Make 'const char *'
17725 (flag_print_mem): Move out of main.
17726 (version_flag): Move out of main.
17727 (filename): Move out of main.
17728 (debug_args): Remove g prefix from options.
17729 (documented_lang_options): Remove cpplib specific options.
17730 (display_help): Add g prefix to debug options.
17731 (check_lang_option): Delete this function.
17732 (decode_d_option): New function: Decode -d... option.
17733 (decode_f_option): New function: Decode -f... option.
17734 (decode_W_option): New function: Decode -W... option.
17735 (decode_g_option): New function: Decode -g... option.
17736 (independent_decode_option): New function: Decode a language
17737 independent command line option.
17738 (main): Invoke lang_decode_option and then
17739 independent_decode_option on each command line option in
17742 Mon Sep 20 05:41:36 1999 Jeffrey A Law (law@cygnus.com)
17744 Revert this change. Gavin's patch to operand_equal_p is a better fix.
17745 * fold-const.c (fold_range_test): Do not try to fold the range
17746 test if the rhs or lhs has side effects.
17748 * basic-block.h (compute_flow_dominators): Declare.
17750 * gcse.c (alloc_code_hoist_mem): New function.
17751 (free_code_hoist_mem, compute_code_hoist_vbeinout): Likewise.
17752 (compute_code_hoist_data, hoist_expr_reaches_here_p): Likewise.
17753 (hoist_code, one_code_hoisting_pass): Likewise.
17754 (gcse_main): If optimizing for size, then hoist expressions
17755 computed in multiple dominated basic blocks.
17757 * gcse.c (invalid_nonnull_info): New function.
17758 (delete_null_pointer_checks): Likewise.
17759 * rtl.h (delete_null_pointer_checks): Declare.
17760 * toplev.c (rest_of_compilation): Call delete_null_pointer_checks.
17762 * flow.c (merge_blocks_move_predecessor_nojumps): New function.
17763 (merge-blocks_move_successor_nojumps): Likewise.
17764 (merge_blocks): Allow merging of some blocks, even if it requires
17765 physical movement of the blocks, but not if it requires new jumps.
17767 * bitmap.c (debug_bitmap_file): Renmaed from bitmap_debug_file.
17768 Callers and prototype changed.
17769 * bitmap.h: Fix debug_bitmap and debug_bitmap_file prototypes.
17771 Mon Sep 20 06:56:32 1999 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
17773 * config/sparc/sol2.h (LINK_SPEC): Avoid the duplication of
17774 -YP when both -p and -pg are present. From i386/sol2.h.
17776 Mon Sep 20 10:49:05 1999 Bernd Schmidt <bernds@cygnus.co.uk>
17778 * Makefile.in (distclean): Delete tm_p.h.
17779 * configure.in: Create a new file, "tm_p.h", from a list in
17780 "tm_p_file". For ix86 systems, set up "tm_p_file" to include
17781 "i386/i386-protos.h".
17783 * alias.c: Include "tm_p.h".
17784 * c-typeck.c: Likewise.
17785 * calls.c: Likewise.
17787 * emit-rtl.c: Likewise.
17788 * explow.c: Likewise.
17789 * expmed.c: Likewise.
17790 * expr.c: Likewise.
17791 * final.c: Likewise.
17792 * flow.c: Likewise.
17793 * fold-const.c: Likewise.
17794 * function.c: Likewise.
17795 * gcse.c: Likewise.
17796 * global.c: Likewise.
17797 * haifa-sched.c: Likewise.
17798 * integrate.c: Likewise.
17799 * jump.c: Likewise.
17800 * local-alloc.c: Likewise.
17801 * loop.c: Likewise.
17802 * optabs.c: Likewise.
17803 * recog.c: Likewise.
17804 * reg-stack.c: Likewise.
17805 * regclass.c: Likewise.
17806 * regmove.c: Likewise.
17807 * reload.c: Likewise.
17808 * reload1.c: Likewise.
17809 * reorg.c: Likewise.
17810 * resource.c: Likewise.
17811 * stmt.c: Likewise.
17812 * stor-layout.c: Likewise.
17813 * toplev.c: Likewise.
17814 * tree.c: Likewise.
17815 * unroll.c: Likewise.
17816 * genattrtab.c (main): Make generated file include "tm_p.h".
17817 * genemit.c (main): Likewise.
17818 * genoutput.c (main): Likewise.
17819 * genrecog.c (main): Likewise.
17821 * i386.h: Delete all prototypes.
17822 * i386.c: Include "tm_p.h".
17823 (ix86_attr_length_default): Call constant_call_address_operand
17824 with correct number of arguments.
17825 * i386-protos.h: New file.
17826 * i386.md (unnamed patterns): Call constant_call_address_operand
17827 with correct number of arguments.
17828 (exception_receiver): Call load_pic_register with correct number
17831 Sun Sep 19 14:18:39 1999 Richard Henderson <rth@cygnus.com>
17833 * c-pragma.c (mark_align_stack): Dereference the void* properly.
17835 Sun Sep 19 09:03:40 1999 Mark Mitchell <mark@codesourcery.com>
17837 * rtl.h (insns_safe_to_move_p): New function.
17838 * loop.c (find_and_verify_loops): Use it.
17839 * rtlanal.c (insns_safe_to_move_p): Define it.
17841 Sun Sep 19 02:54:33 1999 Richard Henderson <rth@cygnus.com>
17843 * c-pragma.c: Include ggc.h.
17844 * Makefile.in (c-pragma.o): Update.
17846 Sat Sep 18 16:01:18 1999 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
17848 * config/i386/sol2.h (CPP_SPEC): Support -[p]threads
17849 (LIB_SPEC): Likewise.
17850 (LINK_SPEC): Do not assert -z text with -shared -mimpure-text.
17851 Reindent -YP/-p/-pg.
17852 Copied from config/sparc/sol2.h.
17854 Sat Sep 18 11:52:43 1999 Richard Henderson <rth@cygnus.com>
17856 * c-pragma.c (mark_align_stack): New.
17857 (init_pragma): New.
17858 * c-pragma.h (init_pragma): Declare it.
17859 * c-lex.c (init_parse): Call it.
17861 Sat Sep 18 15:20:38 1999 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
17863 * configure.in: Pick up thread library on Solaris/x86 just
17864 like on Solaris/sparc.
17865 * configure: Rebuilt.
17867 Sat Sep 18 11:15:58 1999 Alex Samuel <samuel@codesourcery.com>
17869 * rtl.h (global_rtx_index): New enum.
17870 (global_rtl): Change to array of rtx.
17871 (pc_rtx, cc0_rtx): Redefine accordingly.
17872 (cc0_rtx, stack_pointer_rtx, frame_pointer_rtx): Likewise.
17873 (hard_frame_pointer_rtx, arg_pointer_rtx): Likewise.
17874 (virtual_incoming_args_rtx, virtual_stack_vars_rtx): Likewise.
17875 (virtual_outgoing_args_rtx, virtual_cfa): Likewise.
17876 (const_int_rtx): Change to array of rtx.
17877 (const0_rtx, const1_rtx, const2_rtx, constm1_rtx): Redefine
17879 * emit-rtl.c (global_rtl): Change to array of rtx.
17880 (const_int_rtx): Change to aray of rtx.
17881 (gen_rtx_CONST_INT): Redefine accordingly.
17882 (init_emit_once): Allocate and initialize global_rtl. Likewise
17883 for const_int_rtx. Add both as GC roots.
17884 * genattrtab.c (global_rtl): Update declaration.
17886 1999-09-17 Ulrich Drepper <drepper@cygnus.com>
17888 * Makefile (USER_H): Add iso646.h back.
17890 Sat Sep 18 01:07:21 1999 Jeffrey A Law (law@cygnus.com)
17892 * haifa-sched.c (sched_analyze): Use free_INSN_LIST_list instead of
17893 zapping the LOG_LINKS of sched_before_next_call.
17895 * pa.h (INSN_SETS_ARE_DELAYED): Delete.
17896 * pa.c (insn_refs_are_delayed): Renamed from
17897 insn_sets_and_refs_are_delayed.
17899 Fri Sep 17 15:19:01 1999 Mark Mitchell <mark@codesourcery.com>
17901 * functiion.h (struct function): Add x_whole_function_mode_p.
17902 (retrofit_block): Declare.
17903 * function.c (retrofit_block): New function.
17904 (identify_blocks): Add assertions. Allow an incomplete set of
17905 block notes if we're still generating code for the function.
17906 * integrate.c: Include loop.h.
17907 (expand_inline_function): Call find_loop_tree_blocks to map block
17908 notes to blocks when in whole-function mode. Use retrofit_block
17909 to insert new BLOCKs for the inlined function, rather than
17911 * stmt.c (expand_fixup): Likewise. Don't use pushlevel/polevel.
17912 * Makefile.in (integrate.o): Depend on loop.h.
17914 Fri Sep 17 15:11:20 1999 Mark Mitchell <mark@codesourcery.com>
17916 * tree.h (warn_about_unused_variables): Declare.
17917 * stmt.c (warn_about_unused_variables): New function, split out
17919 (expand_end_bindings): Here.
17921 Fri Sep 17 15:07:37 1999 Mark Mitchell <mark@codesourcery.com>
17923 * stmt.c (preserve_subexpressions_p): Don't crash when
17924 current_function->stmt is unset.
17926 Fri Sep 17 15:03:16 1999 Mark Mitchell <mark@codesourcery.com>
17928 * stmt.c (expand_start_bindings): Allow callers to pass a flag
17929 indicating that no NOTE_INSN_BLOCK_BEG note is required.
17930 (expand_start_target_temps): Use it.
17931 * except.c (expand_eh_region_start_for_decl): Likewise.
17932 * expr.c (expand_expr): Likewise.
17934 Fri Sep 17 15:05:27 1999 Gavin Romig-Koch <gavin@cygnus.com>
17936 * fold-const.c (operand_equal_p): Pay attention to side effects.
17938 Fri Sep 17 11:14:17 1999 Jason Merrill <jason@yorick.cygnus.com>
17940 * libgcc2.c (L_exit): Check for ON_EXIT, not HAVE_ON_EXIT.
17941 * sparc/sunos4.h (HAVE_ON_EXIT): Remove.
17943 * tlink.c (scan_linker_output): Look for keywords before accepting
17944 a mangled name in quotes.
17946 Thu Sep 16 16:47:08 1999 Richard Henderson <rth@cygnus.com>
17948 * alpha/alpha-interix.h (DWARF2_UNWIND_INFO): Define to zero.
17949 * alpha/osf2or3.h (DWARF2_UNWIND_INFO): Likewise.
17951 Thu Sep 16 16:35:41 1999 Richard Henderson <rth@cygnus.com>
17953 * alpha.md: Revert Thu Nov 26 change that came in through the
17954 last gcc2 merge: reinstate (plus (plus ...)) reload patterns.
17955 Avoid earlyclobber when possible.
17957 Thu Sep 16 18:44:48 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
17959 * libgcc2.c (__do_global_ctors): Call atexit with one arg.
17961 * sparc/sunos4.h (on_exit): Wrap prototype parameters in PARAMS().
17962 Define HAVE_ON_EXIT.
17964 Thu Sep 16 18:06:35 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
17966 * system.h (CTYPE_CONV, TOUPPER, TOLOWER): New macros. Use
17967 CTYPE_CONV in all ctype macros.
17969 * cccp.c (initialize_char_syntax): Use uppercase ctype macro
17972 * cexp.y (initialize_random_junk): Likewise.
17974 * c4x.c (c4x_interrupt_function_p, c4x_handle_pragma): Likewise.
17976 * i370.c (handle_pragma): Likewise.
17978 * i370.h (ASM_OUTPUT_LABELREF, ASM_OUTPUT_ASCII): Likewise.
17980 * v850.c (override_options): Likewise.
17982 * doprint.c (_doprnt): Likewise.
17984 * fixinc/fixincl.c (main, quoted_file_exists, extract_quoted_files):
17987 * fixinc/server.c (load_data): Likewise.
17989 * fold-const.c (real_hex_to_f): Likewise.
17991 * genattr.c (write_upcase, gen_attr): Likewise.
17993 * genattrtab.c (convert_const_symbol_ref, evaluate_eq_attr,
17994 write_upcase): Likewise.
17996 * genemit.c (print_code): Likewise.
17998 * genopinit.c (gen_insn): Likewise.
18000 * genpeep.c (print_code): Likewise.
18002 * genrecog.c (print_code): Likewise.
18004 * optabs.c (init_libfuncs): Likewise.
18006 Thu Sep 16 14:03:32 1999 Mark Mitchell <mark@codesourcery.com>
18008 * haifa-sched.c (sched_analyze): Keep the list of notes organized
18010 (reemit_notes): Likewise.
18012 Thu Sep 16 11:50:52 1999 Alex Samuel <samuel@codesourcery.com>
18014 * ggc.h (ggc_root): Move to ggc-common.c.
18016 (ggc_mark_rtx, ggc_mark_tree): Change to macro.
18017 (ggc_mark_rtvec, ggc_mark_tree_varray): Declare extern.
18018 (ggc_mark_tree_hash_table, ggc_mark_string, ggc_mark): Likewise.
18019 (ggc_mark_roots, ggc_mark_rtx_children, ggc_mark_tree_children): New.
18020 * ggc-common.c (ggc_root): Move from ggc.h.
18021 (roots): Declare, static.
18022 (ggc_mark_rtx, ggc_mark_tree): Renamed to...
18023 (ggc_mark_rtx_children, ggc_mark_tree_children): Don't check for
18024 null or check/set mark bit.
18025 (ggc_mark_roots): New.
18026 * ggc-simple.c (ggc_collect): Call ggc_mark_roots.
18028 Thu Sep 16 11:37:32 1999 Richard Henderson <rth@cygnus.com>
18030 * m32r.c: Include toplev.h.
18031 (*): Add ATTRIBUTE_UNUSED as needed to arguments.
18032 (gen_compare): Rename swap_p to must_swap to match uses.
18033 Add default abort case.
18034 (m32r_output_function_epilogue): Remove unused variables.
18035 (m32r_print_operand): Use HOST_WIDE_INT_PRINT_HEX.
18036 * m32r.h (PROTO, STDIO_PROTO): Rename XPROTO; unconditionally
18037 define to empty parameter list. Update all uses.
18038 (predicate decls): Use enum machine_mode not int.
18039 * m32r.md (movsi): Call abort, not fatal_insn.
18040 (zero_branch_insn, rev_zero_branch_insn): Add default abort case.
18042 1999-09-14 Andrew Haley <aph@cygnus.com>
18044 * config/mips/mips.md (movsi_usw): if operand 1 is const_int 0,
18045 use $0 instead of 0.
18047 Thu Sep 16 10:53:36 1999 Bernd Schmidt <bernds@cygnus.co.uk>
18049 * reload1.c (order_regs_for_reload): Move hard_reg_n_uses
18050 computation out of loop over hard regs.
18052 Wed Sep 15 21:37:06 1999 Mark Mitchell <mark@codesourcery.com>
18054 * function.c (identify_blocks): Don't shadow a variable in an
18056 * integrate.c (integrate_decl_tree): Don't use pushlevel,
18057 pushdecl, or poplevel to build up the new BLOCK tree.
18058 (expand_inline_function): Likewise.
18059 (integrate_parm_decls): Likewise.
18061 Wed Sep 15 21:20:38 1999 Mark Mitchell <mark@codesourcery.com>
18063 * c-typeck.c (qualify_type): Merge qualifiers from both types.
18065 1999-09-15 Brad Lucier <lucier@math.purdue.edu>
18067 * toplev.c: Allow -f[no-]math-errno to set (clear) flag_errno_math
18068 * invoke.texi: Document this change.
18070 Wed Sep 15 17:56:00 1999 Richard Henderson <rth@cygnus.com>
18072 * emit-rtl.c (free_emit_status): Don't check DECL_DEFER_OUTPUT.
18074 (mark_emit_status): Renamed from mark_emit_state.
18075 * except.c (mark_eh_status): Renamed from mark_eh_state.
18076 Check not null before marking.
18077 (free_eh_status): New.
18078 * expr.c (mark_expr_status, free_expr_status): New.
18079 * function.c (free_machine_status): New.
18080 (free_after_parsing): New.
18081 (free_after_compilation): Move bits to free_after_parsing; call
18082 free_eh_status, free_expr_status; zero the marked members of the
18084 (prepare_function_start): No can_garbage_collect.
18085 Call init_eh_for_function.
18086 (expand_dummy_function_end): Free up current_function state.
18087 (mark_function_status): Renamed from mark_function_state.
18088 (mark_function_chain): No can_garbage_collect. Call mark_expr_status.
18089 * function.h (struct function): No can_garbage_collect.
18090 (free_machine_status, free_after_parsing): Declare.
18091 (free_eh_status, free_expr_status): Declare.
18092 * ggc.h (mark_expr_status): Declare.
18093 * stmt.c (free_stmt_status): Free the struct.
18094 (mark_stmt_status): Renamed from mark_stmt_state.
18095 (init_stmt): Don't call init_eh.
18096 (init_stmt_for_function): Don't call init_eh_for_function.
18097 * toplev.c (compile_file): Call init_eh.
18098 (rest_of_compilation): Free basic block info before ggc_collect.
18099 Call free_after_parsing; conditionally call free_after_compilation.
18100 * varasm.c (mark_varasm_status): Renamed from mark_varasm_state.
18101 Check not null before marking.
18102 (free_varasm_status): Don't check DECL_DEFER_OUTPUT. Free the struct.
18104 Wed Sep 15 17:53:16 1999 Richard Henderson <rth@cygnus.com>
18106 * c-lex.c (yylex): Initialize warn.
18108 Wed Sep 15 18:35:38 1999 Jeffrey A Law (law@cygnus.com)
18110 * pa.c (emit_move_sequence): Properly set the mode of the scratch
18111 register when performing secondary reloads for the SAR register.
18113 Wed Sep 15 15:51:52 1999 Mark Mitchell <mark@codesourcery.com>
18115 * rtl.h (NOTE_BLOCK_NUMBER): Replace with ...
18116 (NOTE_BLOCK): New macro.
18117 (NOTE_BLOCK_LIVE_RANGE_BLOCK): Remove.
18118 * function.h (identify_blocks): Change prototype.
18119 * function.c (identify_blocks): Simplify.
18120 (reorder_blocks): Likewise.
18121 * ggc-common.c (ggc_mark_rtx): Mark the BLOCK associated with a
18122 NOTE_INSN_BLOCK_{BEG,END}.
18123 * haifa-sched.c (sched_analyze): Don't put NOTE_BLOCK_NUMBER on
18124 the list of saved notes if the note isn't a
18125 NOTE_INSN_BLOCK_{BEG,END}.
18126 (move_insn1): Use NOTE_EH_HANDLER in comment, rather than
18128 (reemit_notes): Adjust recreation of notes to reflect new saved
18130 * print-rtl.c (print_rtx): Print the address of the BLOCK when
18131 printing a block note.
18132 * stmt.c (block_vector): Remove.
18133 (find_loop_tree_blocks): Simplify.
18134 (unroll_block_trees): Likewise.
18135 * tree.h (reorder_block): Change prototype.
18137 Wed Sep 15 14:39:35 1999 Jason Merrill <jason@yorick.cygnus.com>
18139 * gbl-ctors.h: Lose HAVE_ATEXIT. Don't define ON_EXIT.
18140 * libgcc2.c: Lose obsolete defn of WEAK_ALIAS.
18141 (__bb_init_func, __bb_init_prg): Use atexit instead of ON_EXIT.
18142 (__do_global_dtors): Likewise. Don't mess with _exit_dummy_decl.
18143 (atexit, exit): Simplify.
18144 * tm.texi: Document NEED_ATEXIT and ON_EXIT. Remove HAVE_ATEXIT.
18145 * config/lots: Remove defns of HAVE_ATEXIT.
18147 Wed Sep 15 10:25:12 1999 Mark Mitchell <mark@codesourcery.com>
18149 * calls.c (precompute_arguments): Fix typo in comment.
18150 * expr.c (preexpand_calls): Don't preexpand the cleanup in a
18153 Wed Sep 15 09:59:59 1999 Mark Mitchell <mark@codesourcery.com>
18155 * dsp16xx.c (override_options): Fix typos in GC root registration.
18157 Wed Sep 15 15:23:28 1999 Philip Blundell <pb@nexus.co.uk>
18159 * config/arm/linux-elf.h (MAKE_DECL_ONE_ONLY): Copy definition
18160 from config/svr4.h.
18161 (UNIQUE_SECTION_P, UNIQUE_SECTION): Likewise.
18162 (FUNCTION_PROFILER): Redefine appropriately for Linux.
18163 (CC1_SPEC): Likewise.
18165 Wed Sep 15 10:09:48 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
18167 * genattr.c (main): Add extern prototype. Call return, not exit.
18168 * genattrtab.c (main): Likewise.
18169 * gencheck.c (main): Likewise.
18170 * gencodes.c (main): Likewise.
18171 * genconfig.c (main): Likewise.
18172 * genemit.c (main): Likewise.
18173 * genextract.c (main): Likewise.
18174 * genflags.c (main): Likewise.
18175 * gengenrtl.c (main): Likewise.
18176 * genopinit.c (main): Likewise.
18177 * genoutput.c (main): Likewise.
18178 * genpeep.c (main): Likewise.
18179 * genrecog.c (main): Likewise.
18181 * genattr.c (get_insn_name): Mark parameter with ATTRIBUTE_UNUSED.
18182 * genattrtab.c (get_insn_name): Likewise.
18183 * gencodes.c (get_insn_name): Likewise.
18184 * genconfig.c (get_insn_name): Likewise.
18185 * genemit.c (get_insn_name): Likewise.
18186 * genextract.c (get_insn_name): Likewise.
18187 * genflags.c (get_insn_name): Likewise.
18188 * genopinit.c (get_insn_name): Likewise.
18189 * genpeep.c (get_insn_name): Likewise.
18191 * gencheck.c (usage): Add static prototype.
18192 * genextract.c (print_path): Constify a char*.
18193 * genopinit.c (optabs): Likewise.
18194 * genoutput.c (operand_data, data, output_predicate_decls,
18195 compare_operands): Likewise.
18196 * genrecog.c (write_tree): Add default case in switch.
18198 Wed Sep 15 09:59:16 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
18200 * rtl.h (get_insn_name, print_rtl_with_bb): Add prototypes.
18202 * print-rtl.c (get_insn_name): Remove prototype.
18204 * toplev.h (progname): Declare const.
18206 * toplev.c (init_decl_processing, init_obstacks, init_tree_codes,
18207 init_regs, init_optabs, init_stmt, init_reg_sets, dump_flow_info,
18208 dump_sched_info, dump_local_alloc, regset_release_memory,
18209 print_rtl, print_rtl_with_bb, rest_of_decl_compilation,
18210 error_with_file_and_line, error_with_decl, error_for_asm, error,
18211 fatal, warning_with_file_and_line, warning_with_decl, warning,
18212 pedwarn, pedwarn_with_decl, pedwarn_with_file_and_line, sorry):
18213 Remove redundant prototypes.
18215 (notice, check_lang_option, report_file_and_line, vnotice,
18216 mark_file_stack): Add static prototype.
18217 (set_fatal_function): Add prototype.
18218 (vnotice, report_file_and_line, set_fatal_function,
18219 check_lang_option): Constify a char*.
18220 (main): Prototype. Call return, not exit.
18222 Wed Sep 15 09:50:18 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
18224 * aclocal.m4 (AC_GCC_C_LONG_DOUBLE): New macro.
18226 * configure.in (AC_GCC_C_LONG_DOUBLE): Call it.
18228 * gansidecl.h (HAVE_LONG_DOUBLE): Define if gcc for stage2.
18230 * ggc-simple.c (HAVE_LONG_DOUBLE): Test before using long double.
18232 Wed Sep 15 11:04:43 1999 Bernd Schmidt <bernds@cygnus.co.uk>
18234 * function.c (assign_parms): Delete arg SECOND_TIME. Don't test it,
18235 behave as if it's zero in all cases.
18236 (expand_function_start): Adjust call to assign_parms.
18237 * tree.h (assign_parms): Adjust prototype.
18238 * objc/objc-act.c (hack_method_prototype): Adjust call to
18241 Tue Sep 14 21:47:06 1999 Jeffrey A Law (law@cygnus.com)
18243 * cse.c (FIXED_BASE_PLUS_P): Do not consider referneces to
18244 arg_pointer_rtx fixed if the argument pointer register is
18246 (NONZERO_BASE_PLUS_P): Likewise.
18248 Tue Sep 14 20:26:02 1999 Richard Henderson <rth@cygnus.com>
18250 * rtl.def (match_insn, match_insn2): Remove match_insn; rename
18251 match_insn2 to match_insn.
18252 * genrecog.c (add_to_sequence): Rename MATCH_INSN2.
18254 Tue Sep 14 20:10:29 1999 Richard Henderson <rth@cygnus.com>
18256 * Makefile.in (USER_H): Remove va-foo.h.
18258 * ginclude/{va-alpha.h,va-arc.h,va-c4x.h,va-clipper.h,va-h8300.h,
18259 va-i860.h,va-i960.h,va-m32r.h,va-m88k.h,va-mips.h,va-mn10200.h,
18260 va-mn10300.h,va-pa.h,va-ppc.h,va-pyr.h,va-sh.h,va-sparc.h,
18261 va-spur.h,va-v850.h}: Remove.
18263 Tue Sep 14 19:43:16 1999 Richard Henderson <rth@cygnus.com>
18265 * sparc/sparc.md (eligible_for_return_delay): New attribute.
18266 (in_return_delay): Use it instead of match_insn.
18268 Tue Sep 14 23:05:37 1999 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
18270 * config/alpha/va_list.h (va-alpha.h): Do not include.
18271 (__gnuc_va_list): Typedef as in varargs.h.
18273 Tue Sep 14 18:14:03 1999 Richard Henderson <rth@cygnus.com>
18275 * ggc-common.c (ggc_mark_tree): Mark DECL_SOURCE_FILE and
18276 DECL_LIVE_RANGE_RTL.
18278 Tue Sep 14 16:47:08 1999 Mark Mitchell <mark@codesourcery.com>
18280 * except.c (expand_eh_region_start_for_decl): Use NOTE_EH_HANDLER,
18281 not NOTE_BLOCK_NUMBER.
18282 (expand_eh_region_end): Likewise.
18283 (find_exception_handler_labels): Likewise.
18284 (scan_region): Likewise.
18285 (exception_optimize): Likewise.
18286 (update_rethrow_references): Likewise.
18287 (set_insn_eh_region): Likewise.
18288 * final.c (final_scan_insn): Likewise.
18289 * flow.c (make_edges): Likewise.
18290 * integrate.c (expand_inline_function): Likewise.
18291 * print-rtl.c (print_rtx): Likewise.
18293 Tue Sep 14 16:30:16 1999 Richard Henderson <rth@cygnus.com>
18295 * ginclude/stdarg.h, ginclude/varargs.h: Implement in
18296 terms of builtin functions and types.
18298 * mips.c (mips_build_va_list): New.
18299 (mips_va_start, mips_va_arg): New.
18300 * mips.h (BUILD_VA_LIST_TYPE): New.
18301 (EXPAND_BUILTIN_VA_START, EXPAND_BUILTIN_VA_ARG): New.
18303 * sh.c (sh_builtin_saveregs): Use get_varargs_alias_set.
18304 (sh_build_va_list, sh_va_start, sh_va_arg): New.
18305 * sh.h (BUILD_VA_LIST_TYPE): New.
18306 (EXPAND_BUILTIN_VA_START, EXPAND_BUILTIN_VA_ARG): New.
18308 Tue Sep 14 16:20:24 1999 Richard Henderson <rth@cygnus.com>
18310 * recog.h (struct recog_data): Make dup_num, operand_address_p,
18311 n_operands, n_dups, n_alternatives `char' instead of `unsigned char'.
18312 (struct insn_data): Likewise with n_operands, n_dups,
18313 n_alternatives, output_format.
18314 * regclass.c (scan_one_insn): Cast n_operands to int before
18315 arithmetic inside comparison.
18317 Tue Sep 14 15:13:36 1999 Richard Henderson <rth@cygnus.com>
18319 * toplev.c (compile_function): Unconditionally emit nop.
18321 Tue Sep 14 14:41:47 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
18323 * haifa-sched.c (actual_hazard): Move declaration of variable
18324 `this_cost' into the scope where it is used.
18326 Tue Sep 14 14:14:28 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
18328 * c-pragma.c (handle_pragma_token): Wrap variables `name' and
18329 `value' in HANDLE_PRAGMA_WEAK. Wrap variable `align' in
18330 HANDLE_PRAGMA_PACK||HANDLE_PRAGMA_PACK_PUSH_POP.
18332 * genrecog.c (make_insn_sequence): Call memset, not bzero.
18334 * jump.c (find_insert_position): Don't declare or define unless
18335 !HAVE_conditional_arithmetic.
18336 (returnjump_p_1, delete_prior_computation): Add static prototypes.
18338 * mips-tdump.c (fatal, fancy_abort, main): Add extern prototypes.
18340 * recog.c (offsettable_address_p): Prototype function pointer.
18341 (preprocess_constraints): Call memset, not bzero.
18343 * tree.c (tree_node_kind_names): Constify a char*. Make static.
18344 (gcc_obstack_init): Don't declare.
18345 (fix_sizetype): Add static prototype.
18346 (gcc_obstack_init): Use prototype casts in call to _obstack_begin.
18347 (tree_cons): Call memset, not bzero.
18349 * varasm.c (remove_from_pending_weak_list): Wrap declaration and
18350 definition in macro ASM_WEAKEN_LABEL.
18351 (mark_const_hash_entry): Add static prototype.
18353 Tue Sep 14 12:22:50 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
18355 * c-lex.c (handle_generic_pragma): Remove unused variable `c'.
18357 * unroll.c (find_common_reg_term, subtract_reg_term,
18358 loop_find_equiv_value): Add static prototypes.
18359 (unroll_loop): Wrap variable `prev' in macro HAVE_cc0.
18360 (copy_loop_body): Remove unreachable break statement.
18362 * sparc.c (sparc_va_arg): Remove unused variable `tmp'.
18364 * sparc.h (sparc_va_start, sparc_va_arg): Add extern prototypes.
18366 Tue Sep 14 15:28:00 1999 Bernd Schmidt <bernds@cygnus.co.uk>
18368 Undo some changes from the gcc2 merge:
18369 * rtl.def (CONSTANT_P_RTX): Fix the comment for this rtx code.
18370 * emit-rtl.c (gen_rtx_REG): Don't test special reg rtx's for null
18374 Sat Oct 3 07:20:28 1998 Stephen L Moshier <moshier@world.std.com>
18375 * emit-rtl.c (gen_lowpart_common): Disable optimization of
18376 initialized float-int union if the value is a NaN.
18378 Tue Sep 14 04:03:44 1999 Mumit Khan <khan@xraylith.wisc.edu>
18380 * gthr-win32.h: New file.
18382 * i386/winnt.c (i386_pe_valid_decl_attribute_p): Recognize
18383 shared as a valid attribute.
18384 * i386/cygwin.h (ASM_OUTPUT_SECTION): Handle shared attribute.
18385 * extend.texi: Document `shared' variable attribute.
18387 Tue Sep 14 04:01:46 1999 Loren Rittle <ljrittle@acm.org>
18389 * configure.in: Handle --enable-threads on FreeBSD.
18390 * configure: Rebuit.
18392 Tue Sep 14 03:58:44 1999 Andreas Jaeger <aj@arthur.rhein-neckar.de>
18394 * configure.in: Add crtbeginS.o, crtendS.o for mips-linux; add
18396 * configure: Rebuilt.
18398 Tue Sep 14 03:47:23 1999 Joel Sherrill <joel@OARcorp.com>
18399 Charles-Antoine Gauthier <charles.gauthier@iit.nrc.ca>
18400 Rosimildo DaSilva <rdasilva@connecttel.com>
18402 * configure.in (m68k-*-rtemscoff*): Added.
18403 * configure.in (mips64orion-*-rtems*): Converted to ELF.
18404 * configure.in (sparc-*-rtemsaout*): Added as alias for old
18405 sparc-rtems configuration.
18406 * configure.in (sparc-*-rtemself*): Added.
18407 * configure.in (sparc-*-rtems*): Now ELF not a.out.
18408 * config/i386/rtems.h: Added comment.
18409 * config/sparc/rtemself.h: New file.
18411 * configure.in (m68k-rtemself): Added.
18412 * config/elfos.h: Added ifndef wrapper for DWARF2_DEBUGGING_INFO
18413 and DWARF_DEBUGGING_INFO.
18414 * config/m68k/crti.s: New file.
18415 * config/m68k/crtn.s: New file.
18416 * config/m68k/t-crtstuff: New file.
18417 * config/m68k/rtemself.h: New file.
18419 * configure.in (i[[34567]]86-*-rtemself*): Now uses crtstuff for
18420 global ctor/dtor and C++ exception handling.
18421 * config/i386/rtemself.h: Now uses crtstuff (crti.o + crtbegin.o)
18422 for STARTFILE_SPEC and crtstuff (crtend.o + crtn.o) for
18424 * config/i386/t-rtems-i386: New File.
18426 Tue Sep 14 09:47:41 1999 Andreas Schwab <schwab@suse.de>
18428 * stmt.c (expand_end_case): Return right away if the case stack is
18431 Tue Sep 14 01:47:19 1999 Jeffrey A Law (law@cygnus.com)
18433 * Makefile.in (version.c): Remove rule incorrectly brought in from
18436 Tue Sep 14 01:42:27 1999 Marc Espie <espie@cvs.openbsd.org>
18438 * Makefile.in: Prepend $(SHELL) to move-if-change calls.
18439 * msdos/top.sed: Take into account a prepended $(SHELL) to
18441 * winnt/config-nt.sed: Likewise. Kill bogus substitution.
18443 * objc/Make-lang.in: Prepend $(SHELL) to move-if-change calls.
18445 Tue Sep 14 01:38:52 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
18447 * regmove.c (fixup_match_1): Don't change an unchanging register.
18448 (stable_but_for_p): Renamed to:
18449 (stable_and_no_regs_but_for_p). Reject unchanging registers too.
18450 Changed all callers.
18452 Tue Sep 14 01:33:15 1999 Andreas Schwab <schwab@suse.de>
18454 * loop.c (strength_reduce): Don't call reg_used_between_p if the
18455 insn from BL2 is after the insn from BL.
18457 Mon Sep 13 21:06:01 1999 Richard Henderson <rth@cygnus.com>
18459 * recog.h (INSN_OUTPUT_FORMAT_*): New.
18460 (struct insn_data): Merge `template' and `outfun' into `output'.
18461 Add `output_format'.
18462 * genoutput.c (INSN_OUTPUT_FORMAT_*): New.
18463 (struct data): Remove `outfun'; add `output_format'.
18464 (name_for_index): Remove declaration.
18465 (output_insn_data): Handle output formats.
18466 (process_template): Emit the bare array for @.
18467 (gen_expand, gen_split): Set output_format to NONE.
18468 * output.h (get_insn_template): Declare.
18469 * final.c (get_insn_template): New.
18470 (final_scan_insn): Use it.
18471 * toplev.c (compile_file): Likewise.
18473 * c4x/c4x.c (c4x_process_after_reload): Likewise.
18474 * i860/i860.c (output_delayed_branch): Likewise.
18475 (output_delay_insn): Likewise.
18477 1999-09-13 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
18479 * rtl.c (obstack_alloc_rtx): Removed.
18481 1999-09-13 17:03 -0700 Zack Weinberg <zack@bitmover.com>
18483 * config/gmicro/gmicro.md: Disable move DF->DI anonymous pattern.
18485 Mon Sep 13 15:21:46 1999 Richard Henderson <rth@cygnus.com>
18487 * i386.c (call_insn_operand): Reject const_int.
18488 (expander_call_insn_operand): Use call_insn_operand.
18490 Mon Sep 13 17:44:28 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
18492 * gcc.c (getrusage): Wrap prototype arguments in PROTO().
18494 1999-09-13 12:18 -0700 Zack Weinberg <zack@bitmover.com>
18496 * config/i370/i370.md (mulsi, divsi, modsi anonymous insns):
18497 Use DImode operation.
18499 1999-09-13 12:13 -0700 Zack Weinberg <zack@bitmover.com>
18501 * gcc.c: Include sys/resource.h.
18502 (report_times): New flag.
18503 (execute): If report_times is set, calculate and report the
18504 CPU time consumed by each subprocess.
18506 (rus, prus): New globals.
18507 (option_map): Add --time.
18508 (display_help): Document -time.
18509 (process_command): Set report_times if -time is given.
18510 Turn off -pipe if -time is given.
18512 * invoke.texi: Document new option -time.
18514 * configure.in: Check for getrusage. Check if we have to
18515 prototype getrusage.
18516 * acconfig.h: Add NEED_DECLARATION_GETRUSAGE.
18517 * configure: Regenerate.
18518 * config.in: Regenerate.
18520 Mon Sep 13 12:57:06 1999 Dave Brolley <brolley@cygnus.com>
18522 * cppinit.c (append_include_chain): Initialize 'next' and 'alloc'
18525 Mon Sep 13 10:01:33 1999 Nick Clifton <nickc@cygnus.com>
18527 * config/fp-bit.c: Define L_thenan_sf or L_thenan_df (as
18528 appropriate) if FINE_GRAINED_LIBRARIES is not defined.
18529 (nan): Return _thenan_sf or _thenan_df as appropriate.
18530 (L_thenan_sf): Define _thenan_sf.
18531 (L_thenan_df): Define _thenan_df.
18533 * Makefile.in (FPBIT_FUNCS): Add _thenan_sf.
18534 (DPBIT_FUNCS): Add _thenan_df.
18536 Mon Sep 13 09:38:53 1999 Andreas Schwab <schwab@suse.de>
18538 * tree.c (fix_sizetype): Exchange the types for TYPE_SIZE and
18541 Sun Sep 12 23:28:20 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
18543 * Makefile.in (gcc.o, gccspec.o, cppspec.o): Depend on gcc.h.
18546 (lang_specific_driver): Don't take a function pointer parameter.
18547 All callers changed.
18549 * gcc.c: Include gcc.h.
18550 (do_spec, fancy_abort,lang_specific_driver,lang_specific_pre_link,
18551 lang_specific_extra_outfiles, fatal): Don't declare.
18552 (multilib_defaults_raw): Constify.
18553 (read_specs): Call memset, rather than bzero.
18554 (main): Call return, not exit.
18555 (lookup_compiler): Call memcpy, not bcopy.
18556 (fatal): Make extern.
18558 * cppspec.c: Include gcc.h.
18559 (lang_specific_driver): Initialize variable `quote'. Constify a
18560 char*. All calls to the function pointer parameter now
18561 explicitly call `fatal'.
18563 * gccspec.c (lang_specific_driver): Include gcc.h.
18565 Sun Sep 12 19:52:10 1999 Richard Earnshaw <rearnsha@arm.com>
18567 * arm.c (note_invalid_constants): Use recog_data.operand_type
18570 Sun Sep 12 15:53:20 1999 Bernd Schmidt <bernds@cygnus.co.uk>
18572 * tree.h (build_common_tree_nodes, build_common_tree_nodes_2):
18575 * reload.h (reload_in, reload_out, reload_in_reg, reload_out_reg,
18576 reload_reg_class, reload_inmode, reload_outmode, reload_optional,
18577 reload_nongroup, reload_inc, reload_opnum, reload_secondary_p,
18578 reload_secondary_in_reload, reload_secondary_out_reload,
18579 reload_secondary_in_icode, reload_secondary_out_icode,
18580 reload_reg_rtx, reload_when_needed): Delete declarations.
18581 (struct reload): New structure.
18582 (rld): Declare new array.
18583 * reload.c (reload_in, reload_out, reload_in_reg, reload_out_reg,
18584 reload_reg_class, reload_inmode, reload_outmode, reload_optional,
18585 reload_nongroup, reload_inc, reload_opnum, reload_secondary_p,
18586 reload_secondary_in_reload, reload_secondary_out_reload,
18587 reload_secondary_in_icode, reload_secondary_out_icode,
18588 reload_reg_rtx, reload_when_needed): Delete definitions.
18590 (whole file): Replace uses of the deleted arrays with uses of rld.
18591 * reload1.c (whole file): Replace uses of the deleted arrays with
18593 (choose_reload_regs): Copy in/out of save_reload_reg_rtx with
18594 explicit loops, not with bcopy.
18596 Sun Sep 12 05:00:24 1999 Richard Henderson <rth@cygnus.com>
18598 * recog.h (insn_template, insn_outfun, insn_n_operands, insn_n_dups,
18599 insn_n_alternatives, insn_operand_constraint, insn_operand_address_p,
18600 insn_operand_mode, insn_operand_strict_low, insn_operand_predicate,
18601 insn_name): Delete and consolidate into new structures.
18602 (insn_operand_predicate_fn): New.
18603 (insn_output_fn): New.
18604 (insn_gen_fn): New.
18605 (struct insn_operand_data): New.
18606 (struct insn_data): New.
18608 (OUT_FCN): Update for insn_data change.
18609 * builtins.c (expand_builtin_strlen): Likewise.
18610 (expand_builtin_memcmp): Likewise.
18611 * combine.c (make_extraction, simplify_comparison): Likewise.
18612 * cse.c (canon_reg, cse_insn): Likewise.
18613 * explow.c (allocate_dynamic_stack_space, probe_stack_range): Likewise.
18614 * expmed.c (store_bit_field, extract_bit_field): Likewise.
18615 (emit_store_flag): Likewise.
18616 * expr.c (convert_move, emit_block_move): Likewise.
18617 (clear_storage, emit_push_insn, expand_increment): Likewise.
18618 (do_store_flag): Likewise.
18619 * expr.h (GEN_FCN): Likewise.
18620 (insn_gen_function): Die.
18621 * final.c (final_scan_insn): Update for insn_data change.
18622 (output_asm_name): Likewise.
18623 * function.c (fixup_var_refs_1): Likewise.
18624 * loop.c (check_dbra_loop): Likewise.
18625 * optabs.c (expand_binop, expand_twoval_binop): Likewise.
18626 (expand_unop, expand_complex_abs, emit_unop_insn): Likewise.
18627 (prepare_cmp_insn, prepare_operand, emit_indirect_jump): Likewise.
18628 (emit_conditional_move, gen_add2_insn, gen_sub2_insn): Likewise.
18629 * recog.c (validate_replace_rtx_1, extract_insn): Likewise.
18630 * regmove.c (gen_add3_insn): Likewise.
18631 * reload.c (push_secondary_reload, combine_reloads): Likewise.
18632 (find_reloads, find_reloads_address_1): Likewise.
18633 (debug_reload_to_stream): Likewise.
18634 * reload1.c (emit_reload_insns, gen_reload): Likewise.
18635 * stmt.c (expand_end_case): Likewise.
18636 * toplev.c (compile_file): Likewise.
18638 * c4x/c4x.c (c4x_process_after_reload): Likewise.
18639 * i860/i860.c (output_delayed_branch, output_delay_insn): Likewise.
18641 * print-rtl.c (insn_name_ptr): Remove declaration.
18642 (get_insn_name): Declare.
18643 (print_rtx): Use it.
18644 * genoutput.c (insn_name_ptr): Remove.
18645 (next_operand_number): New.
18646 (struct operand_data): New.
18647 (null_operand, odata, odata_end): New.
18648 (struct data): Use struct operand_data.
18649 (idata, idata_end): Renamed from insn_data and end_of_insn_data.
18650 (get_insn_name): Renamed from name_for_index.
18651 (output_prologue): Define NO_MD_PROTOTYPES.
18652 (output_predicate_decls): Break out from output_epilogue.
18653 Iterate over the operands list.
18654 (output_operand_data): Break out from output_epilogue. Emit
18655 just the operands list.
18656 (output_insn_data): Break out from output_epilogue. Emit just
18658 (output_epilogue): Remove.
18659 (output_get_insn_name): New.
18660 (constraints, op_n_alternatives, predicates, address_p): Die.
18661 (modes, strict_low, seen): Die.
18662 (scan_operands): Take new param `d' instead of writing to
18663 seven global variables.
18664 (compare_operands): New.
18665 (place_operands): New.
18666 (validate_insn_alternatives): Update for struct data change.
18667 (gen_insn): Don't zero or copy 7 global arrays. Update for
18668 scan_operands; call place_operands.
18669 (gen_peephole, gen_expand, gen_split): Likewise.
18670 (main): Update for new output routines.
18672 * genattr.c (insn_name_ptr): Remove.
18673 (get_insn_name): New function.
18674 * genattrtab.c, gencodes.c, genconfig.c, genemit.c: Likewise.
18675 * genextract.c, genflags.c, genopinit.c, genpeep.c: Likewise.
18676 * genrecog.c: Likewise.
18678 * alpha.md (adddi3): Make `pattern' array static.
18680 Sun Sep 12 22:05:21 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
18682 * config/c4x/c4x.h (c4x_rpts_cycles_string,
18683 c4x_cpu_version_string): Constify char *.
18684 * config/c4x/c4x.c (c4x_rpts_cycles_string,
18685 c4x_cpu_version_string): Likewise.
18687 Sat Sep 11 23:28:33 1999 Richard Henderson <rth@cygnus.com>
18689 * tree.c (save_tree_status): Revert 10 Sep change.
18690 (restore_tree_status): Likewise. Call obstack_free with NULL
18691 before freeing the obstack proper.
18693 Sat Sep 11 23:23:46 1999 Richard Henderson <rth@cygnus.com>
18695 * cse.c (cse_main): If gc'ing, collect around cse_basic_block.
18697 * ggc-simple.c (ggc_pop_context): Fold outstanding bytes into
18698 surrounding context.
18700 Sat Sep 11 19:52:43 1999 Mark Mitchell <mark@codesourcery.com>
18702 * tree.c (type_hash_canon): Put all types in the hash-table, when
18705 Sat Sep 11 18:37:04 1999 Richard Henderson <rth@cygnus.com>
18707 * recog.h (struct recog_data, recog_data): New.
18708 (recog_foo variables): Kill.
18709 * recog.c (recog_operand, recog_operand_loc): Kill.
18710 (recog_dup_loc, recog_dup_num, recog_n_operands): Kill.
18711 (recog_n_dups, recog_n_alternatives, recog_operand_mode): Kill.
18712 (recog_constraints, recog_op_type, recog_operand_address_p): Kill.
18713 (recog_data): Define.
18714 (extract_insn): Update all recog_foo references to use recog_data.
18715 (preprocess_constraints, constrain_operands): Likewise.
18716 * final.c (final_scan_insn, cleanup_subreg_operands): Likewise.
18717 * genattrtab.c (main): Likewise.
18718 * genextract.c (main): Likewise.
18719 * genoutput.c: Likewise.
18720 * genrecog.c (write_subroutine, main): Likewise.
18721 * local-alloc.c (block_alloc): Likewise.
18722 * reg-stack.c (record_asm_reg_life, subst_asm_stack_regs): Likewise.
18723 * regclass.c (scan_one_insn, record_reg_classes): Likewise.
18724 * regmove.c (regmove_optimize, find_matches, fixup_match_1): Likewise.
18725 * reload.c (find_reloads, find_reloads_toplev): Likewise.
18726 * reload1.c (maybe_fix_stack_asms, eliminate_regs_in_insn): Likewise.
18727 (reload_cse_simplify_operands): Likewise.
18729 * arc/arc.c (arc_final_prescan_insn): Likewise.
18730 * arm/arm.c (note_invalid_constants, arm_final_prescan_insn): Likewise.
18731 * h8300/h8300.c (notice_update_cc): Likewise.
18732 * i386/i386.c (ix86_attr_length_default, ix86_agi_dependant): Likewise.
18733 * i860/i860.c (output_delayed_branch, output_delay_insn): Likewise.
18734 * mn10200/mn10200.c (notice_update_cc): Likewise.
18735 * mn10300/mn10300.c (notice_update_cc): Likewise.
18736 * romp/romp.c (update_cc): Likewise.
18737 * sparc/sparc.c (check_pic): Likewise.
18738 * v850/v850.c (notice_update_cc): Likewise.
18740 * genemit.c (main): Don't declare recog_operand.
18742 Sat Sep 11 12:41:55 1999 Alex Samuel <samuel@codesourcery.com>
18744 * ggc.h (rtvec_def): Forward declare.
18745 (tree_node): Likewise.
18746 (ggc_root): Define.
18748 (ggc_set_mark_rtx): Add prototype.
18749 (ggc_set_mark_rtvec): Likewise.
18750 (ggc_set_mark_tree): Likewise.
18751 * ggc-simple.c (ggc_root): Don't define.
18752 (roots): Don't declare.
18753 (ggc_mark_rtx): Remove.
18754 (ggc_mark_rtvec): Likewise.
18755 (ggc_mark_tree): Likewise.
18756 (ggc_mark_varray): Likewise.
18757 (ggc_mark_tree_hash_table_entry): Likewise.
18758 (ggc_mark_tree_hash_table): Likewise.
18759 (ggc_set_mart_rtx): New function.
18760 (ggc_set_mark_rtvec): Likewise.
18761 (ggc_set_mark_tree): Likewise.
18762 (ggc_add_root): Remove.
18763 (ggc_add_rtx_root): Likewise.
18764 (ggc_remove_tree_root): Likewise.
18765 (ggc_add_string_root): Likewise.
18766 (ggc_add_tree_varray_root): Likewise.
18767 (ggc_add_tree_hash_table_root): Likewise.
18768 (ggc_del_root): Likewise.
18769 (ggc_mark_rtx_ptr): Likewise.
18770 (ggc_mark_tree_ptr): Likewise.
18771 (ggc_mark_string_ptr): Likewise.
18772 (ggc_mark_tree_varray_ptr): Likewise.
18773 (ggc_mark_tree_hash_table_ptr): Likewise.
18774 * ggc-common.c: New file.
18775 * Makefile.in (OBJS): Add ggc-common.o.
18776 (ggc-common.o): List dependencies.
18778 1999-09-10 22:37 -0700 Zack Weinberg <zack@bitmover.com>
18780 * cppalloc.c (xstrdup): Use memcpy.
18781 * cpperror.c (cpp_print_containing_files): Don't use
18783 * cpplib.c (conditional_skip): Set temp->lineno.
18784 (do_endif): Make error message less obscure.
18785 (if_directive_name): New function.
18786 (cpp_get_token [case EOF]): Unwind the if stack and generate
18787 error messages for each unterminated conditional in this file.
18788 (parse_string): Do not behave differently if -traditional.
18790 Fri Sep 10 14:04:07 1999 Richard Henderson <rth@cygnus.com>
18792 * builtins.c (expand_builtin_va_arg): Cope with an array-type
18793 va_list decomposing to pointer-type.
18794 * rs6000.c (rs6000_va_start) Unwrap the ARRAY_TYPE to get at fields.
18795 (rs6000_va_arg): Likewise.
18797 Fri Sep 10 13:21:21 1999 Jim Wilson <wilson@cygnus.com>
18799 * except.c (start_dynamic_handler): Compute size using
18800 STACK_SAVEAREA_MODE.
18802 Fri Sep 10 16:01:23 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
18804 * protoize.c: Remove various __STDC__ and POSIX hacks. Don't
18805 include directory headers. Don't define strrchr. Don't provide
18806 my_* replacement functions. Prefer PTR over `pointer_type'.
18807 Don't prototype system functions. Don't redefine getopt.
18809 (shortpath, fancy_abort, notice, savestring, dupnstr, substr,
18810 safe_read, safe_write, save_pointers, restore_pointers,
18811 is_id_char, in_system_include_dir, directory_specified_p,
18812 file_excluded_p, unexpand_if_needed, abspath, check_aux_info,
18813 find_corresponding_lparen, referenced_file_is_newer,
18814 save_def_or_dec, munge_compile_params, gen_aux_info_file,
18815 process_aux_info_file, identify_lineno, check_source,
18816 seek_to_line, forward_to_next_token_char, output_bytes,
18817 output_string, output_up_to, other_variable_style_function,
18818 find_rightmost_formals_list, do_cleaning, careful_find_l_paren,
18819 do_processing, is_syscalls_file, rename_c_file, find_extern_def,
18820 find_static_definition, connect_defs_and_decs, add_local_decl,
18821 add_global_decls, needs_to_be_converted, visit_each_hash_node,
18822 add_symbol, lookup, free_def_dec, find_file, reverse_def_dec_list,
18823 edit_fn_declaration, edit_formals_lists, edit_fn_definition,
18824 scan_for_missed_items, edit_file, string_list_cons): Add static
18826 (standard_exec_prefix, target_machine, target_version,
18827 default_syscalls_dir, string_list, string_list_cons, find_file,
18828 do_cleaning): Constify a char*.
18829 (safe_read, safe_write): Use PTR, not a char*.
18830 (is_id_char): Take an int, not a char.
18831 (main): Add prototype. Call return, not exit.
18833 Fri Sep 10 16:48:26 1999 Andrew Haley <aph@cygnus.com>
18835 * tree.c (type_hash_lookup): Check for equal TYPE_ALIGN fields
18836 when comparing types.
18838 Fri Sep 10 08:43:32 1999 Richard Henderson <rth@cygnus.com>
18840 * loop.c (basic_induction_var): Typo NULL_RTX -> NULL.
18841 (strength_reduce): Release the varrays from the no-bivs early exit.
18843 * reload1.c (order_regs_for_reload): Init hard_reg_n_uses before
18844 the loop over the registers.
18846 * tree.c (save_tree_status): Set maybepermanent_firstobj NULL
18848 (restore_tree_status): Check that instead when freeing the obstack.
18850 Wed Sep 8 16:12:04 1999 Andrew Haley <aph@cygnus.com>
18852 * alias.c (rtx_equal_for_memref_p): Allow CONST_DOUBLEs to be used
18855 Fri Sep 10 11:58:55 1999 Bernd Schmidt <bernds@cygnus.co.uk>
18857 * i386.md (ashlqi3): For NON_QI_REG_P regs, use sall. Fix some
18858 operand size modifiers.
18860 Fri Sep 10 10:32:32 1999 Bernd Schmidt <bernds@cygnus.co.uk>
18862 * c-common.c (c_common_nodes_and_builtins): Don't build
18864 * c-common.h (enum c_tree_index and related accesor macros): Remove
18865 everything now declared in tree.h.
18866 * c-decl.c (CHAR_TYPE_SIZE, SHORT_TYPE_SIZE, INT_TYPE_SIZE,
18867 LONG_TYPE_SIZE, LONG_LONG_TYPE_SIZE, WCHAR_UNSIGNED, FLOAT_TYPE_SIZE,
18868 DOUBLE_TYPE_SIZE, LONG_DOUBLE_TYPE_SIZE): Don't provide defaults.
18869 (error_mark_node, void_type_node, char_type_node, integer_type_node,
18870 unsigned_type_node, ptr_type_node, va_list_type_node,
18871 integer_zero_node, null_pointer_node, integer_one_node): Delete.
18872 (init_decl_processing): Call build_common_tree_nodes and
18873 build_common_tree_nodes_2 instead of building their nodes here.
18874 Don't add roots for these nodes.
18875 * stor-layout.c (size_zero_node, size_one_node): Delete.
18876 (set_sizetype): Make a new node for bitsizetype each time.
18877 * tree.c (global_trees): New variable.
18878 (init_obstacks): Add a gc root for it.
18879 (CHAR_TYPE_SIZE, SHORT_TYPE_SIZE, INT_TYPE_SIZE,
18880 LONG_TYPE_SIZE, LONG_LONG_TYPE_SIZE, FLOAT_TYPE_SIZE,
18881 DOUBLE_TYPE_SIZE, LONG_DOUBLE_TYPE_SIZE): Provide defaults.
18882 (build_common_tree_nodes): New function.
18883 (fix_sizetype): New function.
18884 (build_common_tree_nodes_2): New function.
18885 * tree.h (enum tree_index): New.
18886 (global_trees): Declare.
18887 Add accessor macros for all nodes now moved to global_trees.
18888 Delete their declarations.
18890 Thu Sep 9 20:15:46 1999 Richard Henderson <rth@cygnus.com>
18892 * c-decl.c (finish_function): When processing a nested function,
18893 push and pop GC context around rest_of_compilation.
18895 Thu Sep 9 16:42:06 1999 Richard Henderson <rth@cygnus.com>
18897 * i386.c (override_options): Remove ppro, pentium2, and p2 as aliases.
18898 Default ix86_arch to PROCESSOR_I386.
18899 * i386.h (CC1_CPU_SPEC): Don't add -march=foo. Remove -mno-foo.
18900 (CPP_486_SPEC, CPP_586_SPEC, CPP_686_SPEC): Delete.
18901 (CPP_CPU_DEFAULT_SPEC): Define to __tune_foo__.
18902 (CC1_CPU_SPEC): Make -march=foo define __foo__, and provide
18903 __tune_foo__ if no -mcpu. Make -mcpu=bar define __tune_bar__.
18904 (EXTRA_SPECS): Remove deleted specs.
18906 Thu Sep 9 16:03:06 1999 Richard Henderson <rth@cygnus.com>
18908 * function.c (assign_stack_local_1): Allocate from
18909 function->x_frame_offset, not frame_offset.
18911 Thu Sep 9 14:36:31 1999 Mark Mitchell <mark@codesourcery.com>
18913 * ggc.h (lang_cleanup_tree): Remove.
18914 * gcc-simple.c (ggc_free_tree): Don't call lang_cleanup_tree.
18915 * ggc-callbacks.c (lang_cleanup_tree): Remove.
18917 * c-decl.c (finish_struct): Use ggc_alloc to allocate
18918 TYPE_LANG_SPECIFIC when garbage collecting.
18919 (lang_mark_tree): Mark TYPE_LANG_SPECIFIC.
18920 (lang_cleanup_tree): Remove.
18922 Thu Sep 9 14:23:02 1999 Jason Merrill <jason@yorick.cygnus.com>
18924 * defaults.h (EH_FRAME_SECTION, EH_FRAME_SECTION_ASM_OP): Define here.
18925 * crtstuff.c: Not here.
18926 * dwarf2out.c: Or here.
18927 * libgcc2.c (__do_global_ctors, __do_global_dtors): Handle EH frame
18930 Thu Sep 9 09:40:58 1999 Mark Mitchell <mark@codesourcery.com>
18932 * function.h (free_after_compilation): Remove decl parameter.
18933 (free_varasm_status0: Likewise.
18934 (free_emit_status): Likewise.
18935 (free_stmt_status): Likewise.
18936 (free_after_compilation): Likewise.
18937 (init_lang_status): New variable.
18938 (free_lang_status): Likewise.
18939 * emit-rtl.c (free_emit_status): Make decl parameter implicit.
18940 * function.c (init_lang_status): New variable.
18941 (free_lang_status): Likewise.
18942 (push_function_context_to): Don't set function::decl here.
18943 (free_after_copmilation): Make decl parameter implicit. Call
18944 free_lang_status if defined.
18945 (prepare_function_start): Call init_lang_status if defined.
18946 (init_function_start): Set function::decl here.
18947 * profile.c (output_func_start_profiler): Don't call pushdecl
18948 until we've actually started the function.
18949 * stmt.c (free_stmt_status): Make decl parameter implicit.
18950 * toplev.c (rest_of_compilation): Don't pass decl to
18951 free_after_compilation.
18952 * varasm.c (free_varasm_status): Likewise.
18954 Thu Sep 9 17:23:19 1999 Bernd Schmidt <bernds@cygnus.co.uk>
18956 * except.c (call_get_eh_context): Add root when allocating static
18959 Thu Sep 9 15:24:59 BST 1999 Richard Earnshaw <rearnsha@arm.com>
18961 * arm.c: Include "ggc.h".
18962 (arm_add_gc_roots): New function.
18963 (arm_override_options): Call it.
18964 (aof_pic_entry): Add a GC root for aof_pic_label when it's allocated.
18966 * arm.md (define_asm_attributes): Add a pool_range attribute.
18968 Thu Sep 9 12:32:57 BST 1999 Nathan Sidwell <nathan@acm.org>
18970 * extend.texi (Volatiles): New node.
18972 Thu Sep 9 03:37:31 1999 Richard Henderson <rth@cygnus.com>
18974 * ggc-simple.c (IS_MARKED, IGNORE_MARK): New.
18975 (GGC_ANY_MAGIC, GGC_ANY_MAGIC_MARK): New.
18976 (struct ggc_any): Replace `mark' with `magic_mark'.
18977 (ggc_alloc_string): Use memcpy, not bcopy.
18978 (ggc_alloc_any): Set magic_mark. Update bytes_alloced_since_gc.
18979 (ggc_free_{rtx,rtvec,tree,string}): Mark inline.
18980 (ggc_free_any): New.
18981 (ggc_mark_string): Use IGNORE_MARK. Calc back to struct gcc_string.
18982 (ggc_mark): Use IGNORE_MARK. Abort if magic doesn't match.
18983 (ggc_collect): Re-enable collection avoidance. Use GGC_ANY_MARK.
18984 Use IS_MARKED. Use ggc_free_any.
18986 1999-09-09 Scott Bambrough <scottb@netwinder.org>
18988 * config/arm/linux-elf.h: define NO_IMPLICIT_EXTERN_C
18990 Thu Sep 9 01:55:21 1999 Richard Henderson <rth@cygnus.com>
18992 * toplev.c (main): Always init_ggc.
18994 Wed Sep 8 23:53:22 1999 Richard Henderson <rth@cygnus.com>
18996 * except.c (find_all_handler_type_matches): Free the list if
18997 we found no matches.
18999 * combine.c (SUBST): Break out to a real function do_SUBST.
19000 (SUBST_INT): Likewise.
19001 * gcse.c (free_pre_mem): Free `temp_bitmap'.
19002 (pre_insert): Free `inserted'.
19003 * loop.c (basic_induction_var): Always set `location'.
19005 * function.c (expand_function_end): Add initial_trampoline as a root.
19006 * rtl.h (init_varasm_once): Declare.
19007 * toplev.c (compile_file): Call it.
19008 * ggc-simple.c (ggc_mark_string_ptr): New.
19009 (ggc_add_string_root): New.
19010 (ggc_collect): Disable collection avoidance temporarily.
19011 * ggc.h (ggc_add_string_root): Declare.
19012 * except.c (create_rethrow_ref): Use ggc_alloc_string.
19013 * optabs.c (init_libfuncs): Likewise.
19014 * varasm.c (named_section): Use ggc_alloc_string.
19015 (make_function_rtl): Likewise.
19016 (make_decl_rtl): Likewise.
19017 (assemble_static_space): Likewise.
19018 (assemble_trampoline_template): Likewise.
19019 (output_constant_def): Likewise.
19020 (force_const_mem): Likewise.
19021 (mark_const_hash_entry): New.
19022 (mark_pool_sym_hash_table): New.
19023 (mark_varasm_state): Use it.
19024 (init_varasm_once): New.
19026 * expr.h (init_one_libfunc): Declare.
19027 * optabs.c (init_one_libfunc): New.
19028 (init_optabs): Use it.
19029 * config/gofast.h: Likewise.
19030 * config/sparc/sol2.h (INIT_SUBTARGET_OPTABS): Likewise.
19031 * config/sparc/sparc.h (INIT_TARGET_OPTABS): Likewise.
19033 Thu Sep 9 13:46:06 1999 Geoffrey Keating <geoffk@cygnus.com>
19035 * Makefile.in (cppexp.o): Depend on cpphash.h.
19036 * cppexp.c (cpp_lex): Handle `defined (xxx)' for poisoned xxx.
19038 * cpphash.c (special_symbol): Handle plain `xxx' for poisoned xxx.
19039 * cpplib.c (do_define): Generalise to handle poisoned definitions,
19040 redefining poisoned identifiers, etc.
19041 (do_undef): Don't allow poisoned identifiers to be undefined.
19042 (do_pragma): Add #pragma poison.
19043 (do_xifdef): Handle `#ifdef xxx' for poisoned xxx.
19045 * cccp.c: Add T_POISON node type.
19046 (special_symbol): Handle `defined(xxx)' and plain `xxx' for
19048 (do_define): Generalise to handle poisoned definitions,
19049 redefining poisoned identifiers, etc.
19050 (do_undef): Don't allow poisoned identifiers to be undefined.
19051 (do_pragma): Add #pragma poison.
19052 (do_xifdef): Handle `#ifdef xxx' for poisoned xxx.
19054 * c-pragma.c (handle_pragma_token): Ignore #pragma poison.
19055 * c-pragma.h: Add ps_poison state. We now always have generic
19058 Wed Sep 8 20:30:42 1999 Mark Mitchell <mark@codesourcery.com>
19060 * ggc.h (ggc_alloc): New function.
19061 (ggc_mark): Likewise.
19062 * ggc-simple.c (ggc_any): New structure.
19063 (ggc_status): Add anys.
19064 (n_anys_collected): New variable.
19065 (ggc_alloc): Define.
19066 (ggc_mark): Likewise.
19067 (ggc_collect): Collect the anys.
19069 Wed Sep 8 20:15:14 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
19071 * c-decl.c (mark_binding_level): Make static to match prototype.
19073 Wed Sep 8 16:41:27 1999 Richard Henderson <rth@cygnus.com>
19075 * flow.c (new_insn_dead_notes): Don't early out for preexisting regs.
19077 Wed Sep 8 16:07:52 1999 Richard Henderson <rth@cygnus.com>
19079 * gengenrtl.c (CONST_DOUBLE_FORMAT): Take the size REAL_ARITHMETIC
19080 will use into account. Expand the max width to 5.
19083 Wed Sep 8 16:01:14 1999 Richard Henderson <rth@cygnus.com>
19085 * ggc-simple.c (ggc_free_rtx): Poison the correct amount
19086 for the rtx length.
19088 Wed Sep 8 15:23:54 1999 Richard Henderson <rth@cygnus.com>
19090 * alpha.md (call value patterns): Remove the result predicates.
19092 Wed Sep 8 13:35:38 1999 Richard Henderson <rth@cygnus.com>
19094 * Makefile.in (stmp-fixinc): Remove extraneous exit 1 from
19097 Wed Sep 8 15:32:16 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
19099 * system.h (sbrk, malloc, calloc, realloc): Backup prototypes
19100 changed from extern char *, to extern PTR. Also fix typo in
19101 NEED_DECLARATION_REALLOC test.
19103 * mips-tdump.c (malloc, calloc, realloc): Don't prototype.
19105 Wed Sep 8 11:40:47 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
19107 * gansidecl.h (__attribute__, ATTRIBUTE_UNUSED_LABEL,
19108 ATTRIBUTE_UNUSED, ATTRIBUTE_NORETURN, ATTRIBUTE_PRINTF,
19109 ATTRIBUTE_PRINTF_1, ATTRIBUTE_PRINTF_2, ATTRIBUTE_PRINTF_3,
19110 ATTRIBUTE_PRINTF_4, ATTRIBUTE_PRINTF_5, GENERIC_PTR): Delete.
19112 * c-decl.c (field_decl_cmp): Use PTR instead of GENERIC_PTR.
19114 * cccp.c (pcfinclude): Likewise.
19116 * global.c (allocno_compare): Likewise.
19118 * haifa-sched.c (rank_for_schedule): Likewise.
19120 * local-alloc.c (qty_sugg_compare_1, qty_compare_1): Likewise.
19122 * reload1.c (hard_reg_use_compare, reload_reg_class_lower): Likewise.
19124 * stupid.c (stupid_reg_compare): Likewise.
19126 * tree.c (_obstack_allocated_p): Likewise.
19128 * varray.h (varray_data_tag, VARRAY_GENERIC_PTR_INIT): Likewise.
19130 1999-09-08 Bruce Korb autogen@linuxbox.com
19132 * Makefile.in: Give the hapless gperf user a hint about
19133 why "gperf -F" fails.
19135 Wed Sep 8 04:43:22 1999 Richard Henderson <rth@cygnus.com>
19137 * lists.c: Include ggc.h.
19139 (init_EXPR_INSN_LIST_cache): Install it.
19141 * ggc-simple.c (init_ggc): Absorb the old init.
19142 (ggc_push_context): Use xcalloc.
19143 (ggc_alloc_rtx, ggc_alloc_rtvec, ggc_alloc_tree): Likewise.
19144 (ggc_collect): Add [rvts] tags to the collection stats.
19146 Wed Sep 8 11:14:25 1999 Andreas Schwab <schwab@suse.de>
19148 * cccp.c (main): Fix handling of -include and -imacros options.
19150 Wed Sep 8 02:23:08 1999 Jeffrey A Law (law@cygnus.com)
19152 * cpplib.c (cpp_push_buffer): Fix order of arguments.
19154 Wed Sep 8 04:44:09 1999 Alexandre Oliva <oliva@dcc.unicamp.br>
19156 * rtl.h (obstack_alloc_rtx): Removed, it's now static in
19159 Wed Sep 8 00:33:43 1999 Alasdair Baird <alasdair@wildcat.demon.co.uk>
19161 * flow.c (insn_dead_p): Use XEXP rather than SUBREG_REG.
19162 * haifa-sched.c (sched_analyze_1): Use XEXP rather than SUBREG_REG
19163 and SET_DEST. Update comment.
19165 Wed Sep 8 18:55:17 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
19167 * config/c4x/c4x.c: Include ggc.h.
19168 (c4x_add_gc_roots): New function.
19169 (c4x_override_options): Call c4x_add_gc_roots.
19171 Wed Sep 8 00:00:16 1999 Richard Henderson <rth@cygnus.com>
19173 * defaults.h (TARGET_ESC): Move ...
19174 * system.h: ... here, where Linas had it in the first place. Silly me.
19176 Tue Sep 7 23:46:35 1999 Linas Vepstas <linas@linas.org>
19178 * c-common.c: Use ISGRAPH, ISLOWER, toupper.
19179 * c-lex.c, cccp.c, cexp.c, cexp.y, cppexp.c, dwarf2out.c, genattr.c,
19180 genattrtab.c, genemit.c, genextract.c, genpeep.c, tree.c: Likewise.
19181 * system.h (IN_CTYPE_DOMAIN): Define to 1 if HOST_EBCDIC.
19182 * defaults.h (TARGET_ESC): Add default.
19184 Tue Sep 7 23:36:59 1999 Linas Vepstas <linas@linas.org>
19186 * configure.in: add i370-*-openedition, i370-*-mvs and
19187 i370-*-linux targets
19189 Tue Sep 7 23:31:53 1999 Mark Mitchell <mark@codesourcery.com>
19191 * dsp16xxx.c: Include ggc.h
19192 (override_options): Mark GC roots.
19193 * mn10200.c: Include ggc.h.
19194 (asm_file_start): Mark GC roots.
19195 * tahoe.c: Include ggc.h.
19196 (extensible_operand): Mark GC roots.
19198 Tue Sep 7 23:23:15 1999 Linas Vepstas <linas@linas.org>
19200 * README: Add section discussing status of ELF ABI.
19201 * i370.c: Fix misc spelling mistakes.
19202 (i370_label_scan): Updated notes, exception handling.
19203 (i370_function_prolog): Simplify ELF stack handling.
19204 * i370.h: (FIXED_REGISTERS): Free up r12 for ELF.
19205 (STACK_GROWS_DOWNWARD): ELF stack grows down.
19206 (ASM_DECLARE_FUNCTION_NAME): Fix crazy malloc size.
19207 * i370.md: (movdi): Add notes.
19208 (floatsidf2): Use stack not rtca for scratch float area.
19209 (iorsi3): Correct operand constraints.
19210 * x-oe: Restore TAROUTOPTS which are used by pax.
19212 Tue Sep 7 22:39:18 1999 Mark Mitchell <mark@codesourcery.com>
19214 * rs6000.c: Include ggc.h.
19215 (rs6000_add_gc_roots): New function.
19216 (override_options): Call it.
19218 Tue Sep 7 22:09:03 1999 Richard Henderson <rth@cygnus.com>
19220 * alpha.h (alpha_compare): New.
19221 (alpha_compare_op0, alpha_compare_op1, alpha_compare_fp_p): Remove.
19222 * alpha.c: Likewise for the definitions.
19223 (alpha_emit_conditional_branch): Update for alpha_compare.
19224 (alpha_emit_conditional_move): Likewise.
19225 * alpha.md (cmpdf, cmpdi): Likewise.
19226 (setcc patterns): Likewise. Zero alpha_compare after use.
19227 (sne): Optimize (x != 0) into (0U < x).
19229 Tue Sep 7 21:55:02 1999 Richard Henderson <rth@cygnus.com>
19231 * alpha.h (alpha_eh_epilogue_sp_ofs): Remove.
19232 (struct machine_function): Declare; add eh_epilogue_sp_ofs.
19233 (INIT_EXPANDERS): Remove.
19234 * alpha.c: Include ggc.h.
19235 (alpha_eh_epilogue_sp_ofs, alpha_return_addr_rtx): Remove.
19236 (alpha_init_machine_status, alpha_mark_machine_status): New.
19237 (override_options): Install them.
19238 (struct machine_function): Moved to alpha.h.
19239 (alpha_save_machine_status, alpha_restore_machine_status): Remove.
19240 (alpha_init_expanders): Remove.
19241 (alpha_return_addr): Adjust to use current_function->machine.
19242 (alpha_ra_ever_killed): Likewise.
19243 (alpha_expand_epilogue): Likewise.
19244 * alpha.md (eh_epilogue): Likewise.
19246 Wed Sep 8 14:34:42 1999 Ian Piumarta <piumarta@prof.inria.fr>
19247 Melissa O'Neill <oneill@cs.sfu.ca>
19248 Geoffrey Keating <geoffk@cygnus.com>
19250 * config/rs6000/rs6000.c (first_reg_to_save): Don't save fixed or
19251 call-used registers (call-saved registers must still be contiguous
19252 and end with r31, of course).
19254 Tue Sep 7 21:41:38 1999 Richard Henderson <rth@cygnus.com>
19256 * c-typeck.c (type_lists_compatible_p): Use simple_type_promotes_to.
19257 (self_promoting_type_p): Delete.
19258 (self_promoting_args_p): Move ...
19259 * c-common.c: ... here.
19260 (c_common_nodes_and_builtins): Initialize lang_type_promotes_to.
19261 (simple_type_promotes_to): New.
19262 * builtins.c (lang_type_promotes_to): New.
19263 (expand_builtin_va_arg): Use it to give diagnostic for illegal types.
19264 * c-tree.h (C_PROMOTING_INTEGER_TYPE_P): Move ...
19265 * c-common.h: ... here.
19266 (self_promoting_args_p, simple_type_promotes_to): Declare.
19267 * c-decl.c (duplicate_decls): Use simple_type_promotes_to.
19268 (grokdeclarator): Likewise.
19269 * tree.h (lang_type_promotes_to): Declare.
19271 Tue Sep 7 17:15:21 1999 Mark Mitchell <mark@codesourcery.com>
19273 Add some machine-dependent GC roots.
19274 * sparc.c: Include ggc.h.
19275 (sparc_add_gc_roots): New function.
19276 (mark_ultrasparc_pipeline_state): Likewise.
19277 (override_options): Call sparc_add_gc_roots.
19278 * pa.c: Include ggc.h.
19279 (pa_add_gc_roots): New function.
19280 (mark_deferred_plabels): Likewise.
19281 (override_options): Call pa_add_gc_roots.
19282 * mips.c: Include ggc.h.
19283 (mips_add_gc_roots): New function.
19284 (override_options): Use it.
19286 Tue Sep 7 11:39:41 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
19288 * cpperror.c (cpp_file_line_for_message): Constify a char*.
19290 * cppexp.c (parse_number, parse_charconst, cpp_lex,
19291 cpp_parse_expr): Add static prototypes.
19292 (parse_charconst): Don't cast away const-ness.
19293 (token): Constify a char*.
19295 * cppfiles.c (file_name_list, include_hash, find_include_file,
19296 finclude, initialize_input_buffer): Constify a char*.
19297 (file_cleanup, find_position): Add static prototypes.
19299 * cpphash.c (macro_cleanup, macarg, timestamp, special_symbol,
19300 collect_expansion): Add static prototypes.
19301 (cpp_install, create_definition, monthnames): Constify a char*.
19303 * cpphash.h (cpp_install): Likewise.
19305 * cppinit.c (known_suffixes, default_include,
19306 dump_special_to_buffer, NAME, cpp_start_read, cpp_finish): Likewise.
19307 (base_name, dump_special_to_buffer, initialize_dependency_output):
19308 Add static prototypes.
19310 * cpplib.c (my_strerror): Constify a char*.
19311 (null_underflow, null_cleanup, skip_comment, copy_comment,
19312 copy_rest_of_line, handle_directive, pass_thru_directive,
19313 get_directive_token, read_line_number, cpp_print_file_and_line,
19314 v_cpp_error, v_cpp_warning, v_cpp_error_with_line,
19315 v_cpp_warning_with_line, detect_if_not_defined,
19316 consider_directive_while_skipping): Add static prototypes.
19317 (pass_thru_directive, check_macro_name, cpp_expand_to_buffer,
19318 cpp_pedwarn_with_file_and_line): Constify a char*.
19320 * cpplib.h (cpp_options, include_hash, progname, definition,
19321 cpp_pedwarn_with_file_and_line, cpp_expand_to_buffer,
19322 check_macro_name, cpp_pfatal_with_name, cpp_file_line_for_message,
19323 find_include_file, deps_output, include_hash): Constify a char*.
19325 * cppmain.c (progname): Constify.
19326 (main): Add prototype. Use return, not exit.
19328 * fix-header.c (fatal, add_symbols, lookup_std_proto, write_lbrac,
19329 recognized_macro, check_macro_names, read_scan_file, write_rbrac,
19330 inf_skip_spaces, inf_read_upto, inf_scan_ident, inf_scan_ident,
19331 check_protection): Add static prototype.
19333 (progname, recognized_macrom, recognized_extern): Constify a char*.
19334 (main): Add prototype.
19336 * gen-protos.c (progname): Constify a char*.
19338 Tue Sep 7 00:47:52 1999 Mark Mitchell <mark@codesourcery.com>
19340 * emit-rtl.c (free_emit_status): Take decl as a parameter.
19341 (init_emit_once): Add more GC roots.
19342 * except.c (mark_func_eh_entry): New function.
19343 (mark_eh_node): Mark false_label and rethrow_label.
19344 (init_eh): Add more GC roots.
19345 * function.c (free_after_compilation): Take decl as a paramter.
19346 Call free_stmt_status.
19347 (mark_function_state): Don't assume x_parm_reg_stack_loc is
19349 * function.h (free_after_compilation): Change prototype.
19350 (free_varasm_status): Likewise.
19351 (free_emit_status): Likewise.
19352 (free_stmt_status): New function.
19353 * ggc-simple.c (rtx, vecs, trees, strings, bytes_alloced_since_gc):
19354 Remove, replacing with ...
19355 (ggc_status): New structure.
19356 (ggc_chain): New variable.
19357 (init_gcc): Define.
19358 (ggc_push_context): New function.
19359 (ggc_pop_context): Likewise.
19360 (ggc_alloc_rtx): Adjust for use of ggc_chain.
19361 (ggc_alloc_rtvec): Likewise.
19362 (ggc_alloc_tree): Likewise.
19363 (ggc_alloc_string): Likewise.
19364 (ggc_mark_rtx): Mark NOTE_SOURCE_FILE and NOTE_RANGE_INFO.
19365 (ggc_mark_tree): Give language-dependent code a chance to mark
19367 (ggc_mark_tree_varray): Handle empty arrays.
19368 (ggc_collect): Adjust for use of ggc_chain. Clear
19369 bytes_alloced_since_last_gc.
19370 * ggc.h (ggc_pop_context): New function.
19371 (ggc_push_context): Likewise.
19372 * print-tree.c (print_node): Don't print obstacks when GC'ing.
19373 * stmt.c (free_stmt_status): New function.
19374 (init_stmt_for_function): Clear last_expr_value.
19375 * toplev.c (rest_of_compilation): Always call free_after_compilation.
19376 Conditionalize call to ggc_collect.
19377 (main): Call init_ggc.
19378 * tree.c (push_obstacks): Do the push, even when GC'ing.
19379 (push_obstacks_nochange): Likewise.
19380 (pop_obstacks): Liekwise.
19381 * varasm.c (free_varasm_status): Take decl as a parameter.
19383 Tue Sep 7 08:15:49 1999 Gavin Romig-Koch <gavin@cygnus.com>
19385 * config/mips/mips.h (MULTILIB_ENDIAN_DEFAULT) : New macro.
19386 (MULTILIB_ENDIAN_DEFAULT) : Use the new macro.
19387 * config/mips/elf64.h (MULTILIB_DEFAULTS) : Use the new macro.
19388 * config/mips/r3900.h (MULTILIB_DEFAULTS) : Use the new macro.
19390 Tue Sep 7 03:42:45 1999 Mark Klein (mklein@dis.com)
19392 * pa/x-pa-mpeix: New file for the MPE port.
19394 * pa/quadlib.asm: New file for long double support.
19396 * configure.in: Add hppa1.0-*-mpeix for MPE port.
19397 * configure: Rebuilt.
19399 Tue Sep 7 10:08:40 1999 Andreas Schwab <schwab@suse.de>
19401 * final.c (shorten_branches): Fix last change.
19403 Tue Sep 7 00:30:32 1999 Jeffrey A Law (law@cygnus.com)
19405 * pa.h (ASM_OUTPUT_DOUBLE_INT): Delete.
19407 Mon Sep 6 22:44:47 1999 Jeffrey A Law (law@cygnus.com)
19409 * Merge from gcc2 snapshot Jan 9, 1999. See FSFChangeLog for
19412 Mon Sep 6 22:31:28 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
19414 * c-aux-info.c (concat): Don't define.
19416 * cccp.c (my_strerror): Likewise. All callers changed to use
19418 (do_include): Call xstrdup, not xmalloc/strcpy.
19419 (grow_outbuf): Don't check if xrealloc returns NULL, it can't.
19420 (xmalloc, xrealloc, xcalloc, xstrdup): Don't define.
19422 * collect2.c (my_strsignal): Likewise. All callers changed to use
19424 (locatelib): Call xstrdup, not xmalloc/strcpy.
19426 * 1750a.h (ASM_OUTPUT_INTERNAL_LABEL): Call xmalloc, not malloc.
19428 * dsp16xx.c (override_options): Call xstrdup, not xmalloc/strcpy.
19430 * i370.h (ASM_DECLARE_FUNCTION_NAME): Call xmalloc, not malloc.
19432 * mips.c (build_mips16_call_stub): Call xstrdup, not xmalloc/strcpy.
19434 * cppinit.c (cpp_options_init): Call xcalloc, not xmalloc/bzero.
19436 * dwarfout.c (dwarfout_init): Call concat, not xmalloc/strcpy/...
19438 * except.c (new_eh_region_entry): Call xmalloc/xrealloc, not
19440 (find_all_handler_type_matches): Likewise. Don't check return
19442 (get_new_handler, init_insn_eh_region, process_nestinfo): Call
19443 xmalloc, not malloc.
19444 (init_eh_nesting_info): Likewise. Call xcalloc, not xmalloc/bzero.
19446 * gcc.c (xstrerror, xmalloc, xrealloc): Don't define.
19447 (init_spec): Call xcalloc, not xmalloc/bzero.
19448 (set_spec): Call xstrdup, not save_string.
19449 (record_temp_file): Call xstrdup, not xmalloc/strcpy.
19450 (find_a_file): Call xstrdup, not xmalloc/strcpy.
19451 (process_command): Call xstrdup, not save_string.
19452 (main): Call xcalloc, not xmalloc/bzero.
19454 * gcov.c (xmalloc): Don't define.
19455 (create_program_flow_graph): Call xcalloc, not xmalloc/bzero.
19456 (scan_for_source_files): Call xstrdup, not xmalloc/strcpy.
19457 (output_data): Call xcalloc, not xmalloc/bzero.
19459 * haifa-sched.c (schedule_insns): Call xcalloc, not xmalloc/bzero.
19461 * mips-tdump.c (xmalloc): Don't define.
19462 (print_symbol): Call xmalloc, not malloc.
19463 (read_tfile): Call xcalloc, not calloc.
19465 * mips-tfile.c (xfree, my_strsignal, xmalloc, xcalloc, xrealloc):
19466 Don't define. All callers of xfree/my_strsignal changed to use
19467 free/strsignal instead.
19468 (allocate_cluster): Call xcalloc, not calloc.
19470 * objc/objc-act.c (lang_init): Call concat, not xmalloc/strcpy/...
19471 Fix memory leak, free allocated memory.
19473 * prefix.c (translate_name): Call xstrdup, not save_string.
19474 (update_path): Likewise.
19476 * profile.c (branch_prob): Call xstrdup, not xmalloc/strcpy.
19478 * protoize.c (xstrerror, xmalloc, xrealloc, xfree, savestring2):
19479 Don't define. Callers of xfree/savestring2 changed to use
19480 free/concat instead.
19482 * reload1.c (reload): Call xcalloc, not xmalloc/bzero.
19483 (init_elim_table): Likewise.
19485 * resource.c (init_resource_info): Likewise.
19487 * stupid.c (stupid_life_analysis): Likewise.
19489 * toplev.c (xmalloc, xcalloc, xrealloc, xstrdup): Don't define.
19490 (open_dump_file): Call concat, not xmalloc/strcpy/...
19491 (clean_dump_file): Likewise.
19492 (compile_file): Call xstrdup, not xmalloc/strcpy.
19494 Mon Sep 6 15:04:55 1999 Richard Henderson <rth@cygnus.com>
19496 * v850.h (EXPAND_BUILTIN_VA_ARG): New.
19497 * v850.c (v850_va_arg): New.
19499 Tue Sep 7 09:36:01 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
19501 * haifa-sched.c: Tidy comments.
19503 Mon Sep 6 14:30:13 1999 Bernd Schmidt <bernds@cygnus.co.uk>
19505 * Makefile.in (C_AND_OBJC_OBJS): Remove ggc-callbacks.o.
19506 (c-parse.o, c-decl.o, c-lang.o, c-lex.o, c-common.o,
19507 $(out_object_file)): Depend on ggc.h.
19508 * c-common.c: Include "ggc.h".
19509 (combine_strings): If doing GC, use ggc_alloc_string.
19510 * c-decl.c: Include "ggc.h".
19511 (ggc_p): Define with value 0.
19512 (mark_binding_level): New function.
19513 (init_decl_processing): Add GC roots.
19514 (mark_c_function_context): New function.
19515 (lang_mark_false_label_stack): New function.
19516 (lang_mark_tree): New function.
19517 (lang_cleanup_tree): New function.
19518 * c-lang.c: Include "ggc.h".
19519 (lang_init): Call c_parse_init.
19520 * c-lex.c: Include "ggc.h".
19521 (check_linenum): If doing GC, don't copy filenames to permanent
19523 * c-parse.in: Include "ggc.h".
19524 (c_parse_init): New function.
19525 * c-tree.h (c_parse_init, mark_c_function_context): Declare.
19526 * objc/Make-lang.in (objc-parse.o): Depend on ggc.h.
19528 * except.c (mark_eh_state): Mark more state.
19529 * function.c (mark_function_state): Likewise.
19530 * ggc-simple.c (ggc_alloc_rtvec): Bring in sync with non-gc version.
19531 (ggc_alloc_string) [GGC_DUMP]: Fix typo.
19532 * toplev.c (mark_file_stack): New function.
19533 (compile_file): If doing GC, use ggc_alloc_string on input filename.
19534 (main): Add root for input_file_stack.
19536 * i386.c: Include "ggc.h".
19537 (ix86_mark_machine_status): New function.
19538 (override_options): Set mark_machine_status.
19540 Mon Sep 6 15:26:23 1999 Bernd Schmidt <bernds@cygnus.co.uk>
19542 * tree.c (copy_node): Copy node contents also if doing GC.
19544 Mon Sep 6 08:42:06 1999 Alexandre Oliva <oliva@dcc.unicamp.br>
19546 * collect2.c (scan_libraries): Fix double-thinko :-).
19548 Mon Sep 6 02:42:36 1999 Jeffrey A Law (law@cygnus.com)
19550 * collect2.c (scan_libraries): Fix thinko.
19552 * cse.c (delete_trivially_dead_insns): Do not skip the last
19553 insn if it is a real insn.
19555 Sun Sep 5 18:57:42 1999 Mark Mitchell <mark@codesourcery.com>
19557 * Makefile.in (ggc-simple.o): Depend on hash.h.
19558 * ggc.h (ggc_add_tree_hash_table_root): Declare.
19559 (ggc_mark_tree_varray): Likewise.
19560 (ggc_mark_tree_hash_table): Likewise.
19561 * ggc-simple.c: Include hash.h.
19562 (ggc_mark_tree_hash_table_ptr): New function.
19563 (ggc_mark_tree_hash_table_entry): Likewise.
19564 (ggc_mark_tree_hash_table): Likewise.
19565 (ggc_add_tree_hash_table_root): Likewise.
19566 * varray.h (const_equiv_data): Use struct rtx_def *, rather than
19567 rtx, when defining fields.
19569 Sun Sep 5 18:57:42 1999 Bernd Schmidt <crux@pool.informatik.rwth-aachen.de>
19571 * profile.c (output_func_start_profiler): Remove apparently
19572 nonsensical call to start_sequence.
19574 Sun Sep 5 17:34:33 1999 Richard Henderson <rth@cygnus.com>
19576 * clipper/clipper.c (clipper_va_start): Fix typos.
19578 * pyr/pyr.c (pyr_build_va_list, pyr_va_start, pyr_va_arg): New stubs.
19579 * spur/spur.c (spur_build_va_list, spur_va_start): New stubs.
19580 (spur_va_arg): New stub.
19582 * configure.in: Comment out pyramid.
19584 Sun Sep 5 19:11:01 1999 Michael Meissner <meissner@cygnus.com>
19586 * i386.h (MASK_{DEBUG_{ADDR,ARG},INTEL_SYNTAX}): Move so these
19587 don't conflict with the bits that win32, cygwin, and dgux
19590 Sun Sep 5 09:31:56 1999 Richard Henderson <rth@cygnus.com>
19591 Bernd Schmidt <bernds@cygnus.co.uk>
19593 * integrate.c (function_cannot_inline_p): Do not inline
19594 functions with forced labels.
19596 Sun Sep 5 00:35:17 1999 Richard Henderson <rth@cygnus.com>
19597 Bernd Schmidt <bernds@cygnus.co.uk>
19598 Mark Mitchell <mark@codesourcery.com>
19600 * Makefile.in (ggc-simple.o): Depend on varray.h.
19601 (rtl.o): Depend on ggc.h.
19602 (genattrtab.o): Depend on ggc.h.
19603 (print-tree.o): Likewise.
19604 (fold-const.o): Likewise.
19605 * emit-rtl.c (sequence_element_free_list): Remove, and all references.
19606 (make_insn_raw): Don't cache insns when GC'ing.
19607 (emit_insn_before): Likewise.
19608 (emit_insn_after): Likewise.
19609 (emit_insn): Likewise.
19610 (start_sequence): Use xmalloc to allocate the sequence_stack.
19611 (end_sequence): Add free to free it.
19612 (gen_sequence): Don't cache insns when GC'ing.
19613 (clear_emit_caches): Don't use sequence_element_free_list.
19614 (init_emit): Use xcalloc, not xmalloc+bzero.
19615 * fold-const.c (size_int_wide): Kill the cache, when GC'ing.
19616 * function.c (pop_function_context_from): Use free to free the
19617 fixup_var_refs_queue.
19618 (put_reg_into_stack): Allocate it with xmalloc.
19619 * genattrtab.c: Include ggc.h.
19620 (operate_exp): Don't use obstack_free when GC'ing.
19621 (simplify_cond): Likewise.
19622 (simplify_text_exp): Likewise.
19623 (optimize_attrs): Likewise.
19624 * gengenrtl.c (gendef): Use ggc_alloc_rtx to allocate RTL, when
19626 (gencode): Generate a #include for ggc.h.
19627 * ggc-callbacks.c (ggc_p): Define it to zero.
19628 * ggc-none.c (ggc_p): Likewise.
19629 * ggc-simple.c: Include varray.h.
19630 (ggc_mark_tree_varray): New function.
19631 (ggc_add_tree_varray_root): Likewise.
19632 (ggc_mark_tree_varray_ptr): Likewise.
19633 * ggc.h (ggc_p): Declare.
19634 (varray_head_tag): Likewise.
19635 (ggc_add_tree_varray_root): Declare.
19636 * print-tree.c (print_node): Don't check for TREE_PERMANENT
19637 inconsistencies when GC'ing.
19638 * rtl.c: Include ggc.h.
19639 (rtvec_alloc): Use ggc_alloc_rtvec when GC'ing.
19640 (rtx_alloc): Use ggc_alloc_rtx when GC'ing.
19641 (rtx_free): Don't call obstack_free when GC'ing.
19642 * toplev.c (rest_of_compilation): Call ggc_collect after every
19644 * tree.c (push_obstacks): Do nothing, if GC'ing.
19645 (pop_obstacks_nochange): Likewise.
19646 (pop_obstacks): Likewise.
19647 (make_node): Use ggc_alloc_tree when GC'ing.
19648 (copy_node): Likewise.
19649 (get_identifier): Use ggc_alloc_string when GC'ing.
19650 (build_string): Likewise.
19651 (make_tree_vec): Use ggc_alloc_tree when GC'ing.
19652 (tree_cons): Likewise.
19653 (build1): Likewise.
19654 (type_hash_canon): Don't call obstack_free when GC'ing.
19656 Sat Sep 4 21:52:32 1999 Richard Henderson <rth@cygnus.com>
19658 * haifa-sched.c (schedule_block): Use next_nonnote_insn instead
19659 of NEXT_INSN when examining speculative insns for SCHED_GROUP_P.
19661 Sat Sep 4 20:40:19 1999 Richard Henderson <rth@cygnus.com>
19662 Bernd Schmidt <bernds@cygnus.co.uk>
19663 Mark Mitchell <mark@codesourcery.com>
19665 * Makefile.in (stor-layout.o): Depend on ggc.h.
19666 (expr.o): Depend on ggc.h.
19667 (profile.o): Depend on ggc.h.
19668 (stor-layout.o): Depend on ggc.h.
19669 * emit-rtl.c (init_emit_once): Add gc roots.
19670 * expr.c: Include ggc.h.
19671 (emit_block_move): Add gc roots.
19672 (clear_storage): Likewise.
19673 * expr.h (init_stor_layout_once): New function.
19674 * profile.c: Include ggc.h.
19675 (init_arc_profiler): profiler_label is a root.
19676 * scan.c (make_sstring_space): Trust xrealloc to function
19677 correctly with first parameter NULL.
19678 * stor-layout.c: Include ggc.h.
19679 (set_sizetype): Add gc root.
19680 (init_stor_layout_once): New function.
19681 * toplev.c (compile_file): Call it.
19683 Sat Sep 4 19:26:25 1999 Richard Henderson <rth@cygnus.com>
19684 Bernd Schmidt <bernds@cygnus.co.uk>
19685 Mark Mitchell <mark@codesourcery.com>
19687 * Makefile.in (tree.o): Depend on ggc.h.
19688 (varasm.o): Likewise.
19689 (function.o): Likewise.
19690 (stmt.o): Likewise.
19691 (except.o): Likewise.
19692 (optabs.o): Likewise.
19693 (emit-rtl.o): Likewise.
19694 * emit-rtl.c: Include ggc.h.
19695 (sequence_element_free_list): Remove, and all references.
19696 (mark_sequence): New functions.
19697 (mark_emit_state): New function.
19698 * except.c: Include ggc.h.
19699 (mark_eh_node, mark_eh_stack, mark_eh_queue): New functions.
19700 (mark_tree_label_node): New functions.
19701 (mark_eh_state): New function.
19702 * function.c: Include ggc.h.
19703 (mark_temp_slot, mark_function_chain): New functions.
19704 (mark_function_state): New function.
19705 (init_function_once): New function.
19706 * function.h (init_function_once): New function.
19707 * ggc-callbacks.c (lang_mark_false_label_stack): New function.
19708 * ggc.h (label_node): Declare.
19709 (eh_status, emit_status, stmt_status, varasm_status): Likewise.
19710 (lang_mark_false_label_stack): New function.
19711 (mark_temp_slot): Remove declaration.
19712 (mark_function_chain): Likewise.
19713 (mark_eh_state): Adjust prototype.
19714 (mark_stmt_state, mark_emit_state, mark_varasm_state, mark_optab):
19716 * optabs.c: Include ggc.h.
19717 (mark_optab): New function.
19718 (init_optabs): Add gc roots.
19719 * stmt.c: Include ggc.h.
19720 (mark_cond_nesting, mark_loop_nesting): New functions.
19721 (mark_block_nesting, mark_case_nesting, mark_goto_fixup): Likewise.
19722 (mark_stmt_state): New function.
19723 * toplev.c (compile_file): Call init_function_once.
19724 * tree.c: Include ggc.h.
19725 (type_hash): Move declaration earlier in file.
19726 (TYPE_HASH_SIZE, type_hash_table): Likewise.
19727 (init_obstacks): Add gc roots.
19728 (mark_type_hash): New function.
19729 * varasm.c: Include ggc.h.
19730 (mark_pool_constant): New function.
19731 (mark_varasm_state): New function.
19733 Sat Sep 4 22:28:56 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
19735 * ggc-simple.c (ggc_root, ggc_collect): Wrap prototype with PROTO.
19737 Sat Sep 4 18:01:45 1999 Bernd Schmidt <bernds@cygnus.co.uk>
19739 * c-decl.c (struct language_function): Renamed from struct c_function.
19741 (c_function_chain): Delete.
19742 (push_c_function_context): New arg F. Don't warn about nested
19743 functions here. Fill LANGUAGE elt of F. Delete code to update
19744 c_function_chain. Don't call push_function_context.
19745 (pop_c_function_context): New arg F. Restore from there instead of
19746 from c_function_chain. Don't call pop_function_context. Clear out
19747 LANGUAGE field of F when done.
19748 * c-lang.c: Include "function.h"
19749 (lang_init): Initialize save_lang_status and restore_lang_status.
19750 * c-parse.in (nested_function, nested_function_notype): Warn about
19751 nested functions. Call push_function_context/pop_function_context
19752 instead of the _c_ variants.
19753 * c-tree.h (push_c_function_context, pop_c_function_context): Update
19755 * Makefile.in (c-lang.o): Update dependencies.
19757 * emit-rtl.c (init_emit): Use xmalloc to allocate regno_reg_rtx,
19758 regno_pointer_flag, regno_pointer_align.
19759 (gen_reg_rtx): Use xrealloc to enlarge them.
19760 (free_emit_status): New function.
19761 * function.c (mark_machine_status, mark_lang_status): New variables.
19762 (assign_stack_local_1): Renamed from assign_outer_stack_local. Merge
19763 in some bits from assign_stack_local. All callers changed to use new
19765 (assign_stack_local): Just call assign_stack_local_1.
19766 (free_after_compilation): New function.
19767 (put_reg_into_stack): Simplify to always call assign_stack_local_1.
19768 (trampoline_address): Likewise.
19769 (assign_parms): Use xcalloc/xrealloc to allocate parm_reg_stack_loc.
19770 (prepare_function_start): Explicitly clear some more variables.
19771 * function.h (struct function): New elt can_garbage_collect.
19772 (mark_machine_status, mark_lang_status): Declare variables.
19773 (free_after_compilation, free_emit_status, free_varasm_status,
19774 init_varasm_status): Declare functions.
19775 * toplev.c (rest_of_compilation): Call free_after_compilation when
19776 done with the current function.
19777 * varasm.c (free_varasm_status): New function.
19779 Sat Sep 4 17:15:13 1999 Richard Henderson <rth@cygnus.com>
19781 * sparc.h (EXPAND_BUILTIN_VA_START): Define.
19782 (EXPAND_BUILTIN_VA_ARG): Define.
19783 * sparc.c (sparc_va_start): New.
19784 (sparc_va_arg): New.
19786 Sun Sep 5 11:11:59 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
19788 * config/c4x/c4x.h (DBR_OUTPUT_SEQEND): Use XVECEXP not XEXPs.
19790 Sun Sep 5 10:13:19 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
19792 * config/c4x/c4x.h (CALLER_SAVE_PROFITABLE): Disable.
19794 Sat Sep 4 13:44:01 1999 Mark Mitchell <mark@codesourcery.com>
19796 * Makefile.in (C_AND_C_OBJS): Add gcc-callbacks.o.
19797 (OBJS): Add $(GGC).
19798 (ggc-callbacks.o): New target.
19799 * ggc-callbacks.c: New file.
19801 Sat Sep 4 22:53:13 1999 Bernd Schmidt <bernds@cygnus.co.uk>
19803 * expr.h: Collapse individual optab and libfunc vars to arrays.
19804 (optab_index, libfunc_index): New enumerations.
19805 (optab_table, libfunc_table): New arrays.
19806 Add accessor macros for both.
19808 * optabs.c (optab_table, libfunc_table): New.
19809 Delete declarations for individual optab and libfunc vars.
19811 Sat Sep 4 12:57:17 1999 Richard Henderson <rth@cygnus.com>
19813 * i386/sco5.h (RETURN_POPS_ARGS): Name change ix86_return_pops_args.
19815 Sat Sep 4 11:19:52 1999 Richard Henderson <rth@cygnus.com>
19817 * Makefile.in (GGC, GGC_LIB): New.
19818 (HOST_RTL): Include ggc-none.o.
19819 (ggc-simple.o): New target.
19820 (ggc-none.o): Likewise.
19821 * tree.h (tree_common): Add gc_mark.
19822 * rtl.h (struct rtx_def): Steal a bit from code to make gc_mark.
19823 (struct rtvec_def): Add gc_mark.
19824 * emit-rtl.c (global_rtl): Update static initializers to contain
19825 enough initializers.
19826 * ggc.h, ggc-none.c, ggc-simple.c: New files.
19827 * toplev.c (gc_time): New variable.
19828 (all_time): New variable.
19829 (compile_file): Print gc time.
19830 (print_time): Calculate percentage of the whole.
19832 Sat Sep 4 13:11:01 1999 Bernd Schmidt <bernds@cygnus.co.uk>
19834 Change obstack memory management and varasm constant pool handling so
19835 that nested functions are treated like any other functions.
19836 * function.c (init_machine_status): New variable.
19837 (push_function_context_to): Set contains_functions for the outer
19838 function. Don't call save_varasm_status.
19839 (pop_function_context_from): Don't call restore_varasm_status. Don't
19840 set current_function_contains_functions.
19841 (prepare_function_start): Call init_varasm_status rather than
19842 init_const_rtx_hash_table. Call (*init_machine_status) if the pointer
19844 * function.h (struct function) Add field varasm. Delete fields
19845 inline_obstacks, inl_emit, const_rtx_hash_table, first_pool,
19846 last_pool, const_rtx_sym_hash_table, pool_offset, const_double_chain.
19847 (init_machine_status): Declare.
19848 (save_varasm_status, restore_varasm_status): Delete declarations.
19849 (save_tree_status, restore_tree_status): Delete last argument.
19850 * integrate.c (initialize_for_inline): Lose arg COPY. Delete copying
19851 code. All callers changed.
19852 (copy_decl_list, copy_decl_tree, copy_decl_rtls, copy_for_inline,
19853 save_constants_in_decl_trees, restore_constants, save_constants,
19854 save_for_inline_eh_labelmap, save_for_inline_copying): Delete
19856 (inlining): New variable.
19857 (reg_map, label_map, insn_map, orig_asm_operands_vector,
19858 copy_asm_operands_vector, copy_asm_constraints_vector): Delete
19860 (save_for_inline_nocopy): Don't save constants.
19861 Don't set inl_emit field in current_function.
19862 (expand_inline_function): Use emit field, not inl_emit, of the inlined
19863 function. Set new variable inlining before
19864 calling copy_rtx_and_substitute.
19865 (copy_rtx_and_substitute): In MEM and SYMBOL_REF cases, handle
19866 constant pool references if inlining is nonzero.
19867 Delete ADDRESS and (most of the) CONST cases.
19868 (output_inline_function): Save and restore current_function/
19869 current_function_decl. Delete restore_constants code. Don't call
19870 init_const_rtx_hash_table.
19871 * output.h (init_const_rtx_hash_table): Don't declare.
19872 * rtl.h (struct function): Declare.
19873 (get_pool_constant_for_function, get_pool_mode_for_function): Declare.
19874 * toplev.c (rest_of_compilation): Don't treat nested functions or
19875 functions containing them specially. Delete all code to deal with
19876 save_for_inline_copying.
19877 * tree.c (toplev_inline_obstacks, extra_inline_obstacks,
19878 inline_obstacks): Delete variables.
19879 (save_tree_status): Lose arg CONTEXT. All callers changed.
19880 Simply allocate a new function_maybepermanent_obstack for the new
19881 function, delete all the special cases.
19882 Don't save inline_obstacks.
19883 (restore_tree_status): Lose arg CONTEXT. All callers changed.
19884 Delete special handling for function_maybepermanent_obstack; simply
19886 Don't restore inline_obstacks.
19887 (permanent_allocation): Delete code that frees inline_obstacks.
19888 (print_inline_obstack_statistics): Delete function.
19889 (dump_tree_statistics): Don't call it.
19890 * varasm.c (struct varasm_status): New.
19891 (const_rtx_hash_table, const_rtx_sym_hash_table, first_pool,
19892 last_pool, pool_offset, const_double_chain): Delete global
19893 variables, replace with accessor macros.
19894 (immed_double_const): Don't walk const_double_chain outside a
19895 function, but don't treat nested functions specially anymore.
19896 (immed_real_const_1): Likewise.
19897 (clear_const_double_mem): Don't treat nested functions specially.
19898 (init_const_rtx_hash_table): Deleted, code moved to init_varasm_status.
19899 (save_varasm_status, restore_varasm_status): Delete functions.
19900 (init_varasm_status): New function.
19901 (force_const_mem): Don't treat nested functions specially.
19902 (find_pool_constant): Accept new arg F, search for constants in
19903 that function's pool rather than the current one. All callers
19905 (get_pool_constant_for_function, get_pool_mode_for_function): New
19908 * i386.c (init_386_machine_status): New function, mostly from
19909 clear_386_stack_locals.
19910 (struct machine_functions): Rename element names to avoid name
19912 (pic_label_rtx, pic_label_name, i386_stack_locals): New accessor
19913 macros, replacing global variables.
19914 (clear_386_stack_locals, save_386_machine_status,
19915 restore_386_machine_status): Delete functions.
19916 (override_options): Initialize init_machine_status.
19917 * i386.h (INIT_EXPANDERS): Delete macro.
19918 (save_386_machine_status, restore_386_machine_status,
19919 clear_386_stack_locals): Delete declarations.
19921 Sat Sep 4 16:56:28 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
19923 * config/c4x/c4x.md (rptb_init): Renamed from *rptb_init.
19924 (doloop_begin): Simplify pattern and use emit_jump_insn.
19925 (doloop_end): Simplify pattern, switch operand order,
19926 and use emit_jump_insn.
19928 Fri Sep 3 19:02:38 1999 Bernd Schmidt <crux@pool.informatik.rwth-aachen.de>
19930 * function.h (struct function): Add new element LANGUAGE.
19931 (save_lang_status): Declare new variable.
19932 (restore_lang_status): Likewise.
19933 * function.c (save_lang_status): Define.
19934 (restore_lang_status): Likewise.
19935 (push_function_context_to): Call language-specific save function.
19936 (pop_function_context_from): Call language-specific restore function.
19938 Fri Sep 3 01:16:18 1999 Alasdair Baird <alasdair@wildcat.demon.co.uk>
19940 * i386.md (movsf_1): Check REG_P before use of REGNO.
19941 (movdf_1): Likewise.
19942 (movxf_1): Likewise.
19943 (extendsfdf2): Likewise.
19944 (extendsfxf2): Likewise.
19945 (extenddfxf2): Likewise.
19947 Sat Sep 4 11:37:15 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
19949 * config/c4x/c4x.c (c4x_emit_move_sequence): Do not force large
19950 constants into memory.
19951 (c4x_shiftable_constant): New function.
19952 * config/c4x/c4x.c (LEGITIMATE_CONSTANT_P): Allow any CONST_INT.
19953 (c4x_shiftable_constant): Declare.
19954 * config/c4x/c4x.md (loadqi_big_constant, loadhi_big_constant,
19955 ashlqi3_noclobber): Add new patterns and associated splitters.
19957 Fri Sep 3 16:22:17 1999 Richard Henderson <rth@cygnus.com>
19959 * dbxout.c (dbxout_init): Use xcalloc instead of xmalloc+bzero.
19960 * dwarf2out.c (dwarf2out_frame_init): Likewise.
19961 * final.c (shorten_branches): Likewise.
19962 * global.c (global_alloc): Likewise.
19963 * haifa-sched.c (build_control_flow): Likewise.
19964 * stmt.c (check_for_full_enumeration_handling): Likewise.
19965 (estimate_case_costs): Likewise.
19967 Fri Sep 3 15:49:56 1999 Mark Mitchell <mark@codesourcery.com>
19969 * rtl.h (RTL_CHECKC2): Fix typo in last change.
19971 Fri Sep 3 15:13:34 1999 Richard Henderson <rth@cygnus.com>
19973 * flow.c (propagate_block): Use XEXP not SET_DEST for a USE.
19974 (recompute_reg_usage): Likewise.
19975 * rtlanal.c (find_regno_fusage): Likewise.
19977 * rtl.c (rtl_check_failed_code1): New function.
19978 (rtl_check_failed_code2): New.
19979 * rtl.h (RTL_CHECK1, RTL_CHECK2, RTVEC_ELT): Parenthesize args.
19980 (RTL_CHECKC1, RTL_CHECKC2): New.
19981 (XC*): New accessor macros.
19982 (NOTE_*, LABEL_NAME, LABEL_NUSES, ADDRESSOF_REGNO): Use them.
19983 (ADDRESSOF_DECL, JUMP_LABEL, LABEL_REFS, LABEL_NEXTREF): Likewise.
19984 (CONTAINING_INSN, REGNO, INTVAL, SUBREG_REG, SUBREG_WORD): Likewise.
19985 (ASM_OPERANDS_*, MEM_ALIAS_SET, SET_SRC, SET_DEST): Likewise.
19986 (TRAP_*, RANGE_INFO_*): Likewise.
19988 Fri Sep 3 15:10:20 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
19990 * Makefile.in (tlink.o): Don't depend on toplev.h.
19992 * collect2.c (c_file, o_file, export_file, import_file, ldout,
19993 output_file, nm_file_name, ldd_file_name, strip_file_name,
19994 c_file_name, prefix_list, libexts, is_ctor_dtor, find_a_file,
19995 add_prefix, prefix_from_env, prefix_from_string, do_wait,
19996 fork_execute, maybe_unlink, add_to_list,
19997 extract_init_priority, write_list, dump_list,
19998 dump_prefix_list, write_list_with_asm, write_c_file,
19999 write_c_file_stat, write_c_file_glob, scan_prog_file,
20000 scan_libraries, is_in_list, resolve_lib_name, use_import_list,
20001 ignore_library, extract_string, notice, dump_file, target_machine,
20002 collect_wait, collect_execute, libname, locatelib, aix_std_libs,
20003 read_file, print_load_command): Constify a char*.
20004 (fdopen, error, fatal, fatal_perror): Don't prototype.
20005 (my_strerror): Remove. All callers use xstrerror instead.
20006 (xcalloc, xmalloc, xrealloc, xstrdup, putenv): Remove definitions.
20007 (main): Add prototype. Constify lots of char* ptrs. Change calls
20008 to xcalloc/strcpy/strcat/... to one call to concat.
20009 (main, scan_prog_file, scan_libraries): Use an intermediate
20010 `const char **' to build an argv array.
20011 (mapfile, libselect, libcompare, locatelib): Add prototypes.
20013 * collect2.h (collect_execute, collect_wait, dump_file,
20014 file_exists): Constify a char*.
20015 (ldout, c_file_name, temporary_obstack, permanent_obstack,
20016 temporary_firstobj, vflag, debug): Add extern declarations.
20017 (fancy_abort, error, notice, fatal, fatal_perror): Add prototypes.
20019 * tlink.c: Don't include toplev.h.
20020 (vflag, debug, ldout, c_file_name, temporary_obstack,
20021 permanent_obstack, temporary_firstobj): Don't declare.
20022 (tlink_execute, frob_extension, symbol_hash_lookup,
20023 file_hash_lookup, demangled_hash_lookup, tlink_init, freadsym,
20024 recompile_files, read_repo_files, demangle_new_symbols,
20025 scan_linker_output): Constify a char*.
20026 (symbol_hash_newfunc, file_hash_newfunc, demangled_hash_newfunc,
20027 do_tlink): Mark parameters with ATTRIBUTE_UNUSED.
20029 Fri Sep 3 18:09:24 1999 Andrew Haley <aph@cygnus.com>
20031 * config/m68k/m68kelf.h: Set USE_GAS; this makes gcc generate jbsr
20032 (relative) rather than jsr (absolute) subroutine call insns.
20033 * config/m68k/m68k-coff.h: Ditto.
20035 Fri Sep 3 17:24:31 1999 Richard Earnshaw <rearnsha@arm.com>
20037 * arm.c (note_invalid_constants): No need to ignore ASMs, we can
20038 now rework these too.
20039 (arm_reorg): If an insn can't reach the end of the current pool,
20040 ensure that we emit that pool before the insn.
20042 Fri Sep 3 09:14:32 1999 Marc Espie <espie@tetto.liafa.jussieu.fr>
20044 * tlink.c (scan_linker_output): Skip the initial underscore in
20045 a mangled name if appropriate.
20047 Fri Sep 3 01:28:33 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
20049 * objc/objc-act.c (objc_tree_code_type, objc_tree_code_length,
20050 objc_tree_code_name, synth_id_with_class_suffix, warn_with_method,
20051 error_with_ivar, gen_declarator, create_builtin_decl,
20052 my_build_string, generate_descriptor_table, generate_ivars_list,
20053 generate_dispatch_table, check_protocols, TAG_GETCLASS,
20054 TAG_GETMETACLASS, TAG_MSGSEND, TAG_MSGSENDSUPER, TAG_EXECCLASS,
20055 dump_base_name, lang_decode_option, build_encode_expr,
20056 start_class, finish_class, encode_pointer, really_start_method,
20057 gen_declaration, dump_interface, handle_class_ref, handle_impent):
20059 (objc_demangle, objc_printable_name, generate_struct_by_value_array):
20060 Add static prototypes.
20061 (build_objc_string_decl, build_selector_reference_decl,
20062 encode_bitfield, build_class_reference_decl): Remove unused
20063 parameter, all callers changed.
20064 (maybe_objc_method_name): Mark with ATTRIBUTE_UNUSED.
20065 (objc_printable_name): Likewise. Change second parameter to type int.
20066 (init_objc): Use memcpy, not bcopy, to avoid casts.
20068 Thu Sep 2 21:49:52 1999 Richard Henderson <rth@cygnus.com>
20070 * reload1.c (eliminate_regs_in_insn): Avoid eliminating the
20071 reg notes on a deleted insn.
20072 * gcse.c (hash_expr_1): Use XWINT on a CONST_DOUBLE.
20074 Thu Sep 2 20:18:12 1999 Jeffrey A Law (law@cygnus.com)
20076 * i386.c (ix86_attr_length_default): Handle TYPE_FXCH.
20078 Thu Sep 2 22:00:08 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
20080 * stmt.c (expand_asm_operands): Fix index into inout_mode when
20083 Thu Sep 2 13:00:48 1999 Richard Henderson <rth@cygnus.com>
20085 * stmt.c (expand_asm_operands): Invoke MD_ASM_CLOBBERS if present.
20086 * tm.texi (MD_ASM_CLOBBERS): Document it.
20088 Thu Sep 2 10:22:40 1999 Richard Henderson <rth@cygnus.com>
20090 * dwarf2out.c (dwarf2out_line): Constify `lastfile'.
20091 * except.c (expand_rethrow): Remove unused variable.
20092 * expr.c (do_jump_by_parts_greater_rtx): Likewise.
20093 * flow.c (replace_insns): Likewise.
20094 (create_edge_list, verify_edge_list): Likewise.
20095 * gcse.c (cprop_cc0_jump): Protect declaration with HAVE_cc0.
20097 * genemit.c (gen_expand): Only emit `operands[N]' decl if there
20098 is special code to run.
20099 (main): Don't define operands to emit_operand.
20100 * genrecog.c (main): Don't emit an empty peephole2_insn function.
20102 * rtl.h (NOTE_BASIC_BLOCK): Use X0BBDEF.
20104 * alpha/alpha.h (normal_memory_operand): Declare.
20105 (reg_no_subreg_operand): Declare.
20106 * alpha/elf.h (ASM_DECLARE_OBJECT_NAME): Use HOST_WIDE_INT_PRINT_DEC.
20108 Thu Sep 2 10:19:20 1999 Richard Henderson <rth@cygnus.com>
20110 * c-parse.in (compstmt_primary_start): New, broken out of first
20111 part of compstmt handling in primary.
20112 (primary): Use it. Add an error clause.
20113 (compstmt_nostart): Renamed from compstmt; remove all
20114 initial invocations of compstmt_start.
20117 Thu Sep 2 01:35:50 1999 Marc Espie <espie@cvs.openbsd.org>
20119 * protoize.c (gen_aux_info_file): Let pexecute call choose_temp_base if
20122 Thu Sep 2 00:43:59 1999 Finn Hakansson <finn@axis.com>
20124 * combine.c (simplify_shift_const): Remove extra semicolon.
20125 * dwarf2out.c (remove_AT): Likewise.
20126 * expmed.c (expand_mult): Likewise.
20127 * gcov.c (create_program_flow_graph): Likewise.
20128 * reorg.c (mostly_true_jump): Likewise.
20130 Thu Sep 2 00:06:43 1999 Jeffrey A Law (law@cygnus.com)
20132 * fold-const.c (fold_range_test): Do not try to fold the range
20133 test if the rhs or lhs has side effects.
20135 * combine.c (simplify_rtx): Recognize another case of a synthesized
20138 * varasm.c (mark_constant_pool): When marking indirect references,
20139 only look at SYMBOL_REFs.
20141 * except.c (expand_fixup_region_end): Do not peek at
20142 INSN_UID (node->entry->outer_context) for flag_new_exceptions.
20144 Thu Sep 2 13:52:53 1999 Geoffrey Keating <geoffk@cygnus.com>
20146 * flags.h: New variables align_loops, align_loops_log,
20147 align_jumps, align_jumps_log, align_labels, align_labels_log,
20148 align_functions, align_functions_log.
20149 * toplev.c: Define them.
20150 (f_options): Handle -falign-* when they have no argument.
20151 (main): Add logic to set variables for -falign-functions,
20152 -falign-jumps, -falign-labels, -falign-loops.
20153 Make it -fsched-verbose=<n> and -finline-limit=<n>.
20154 (display_help): Change help to match options.
20155 * final.c (LABEL_ALIGN): Default to align_labels_log.
20156 (LABEL_ALIGN_MAX_SKIP): Default to align_labels-1.
20157 (LOOP_ALIGN): Default to align_loops_log.
20158 (LOOP_ALIGN_MAX_SKIP): Default to align_loops-1.
20159 (LABEL_ALIGN_AFTER_BARRIER): Default to align_jumps_log.
20160 (LABEL_ALIGN_AFTER_BARRIER_MAX_SKIP): Default to align_jumps-1.
20161 * varasm.c (assemble_start_function): Handle align_functions.
20163 * config/sparc/sparc.h: Don't declare sparc_align_*.
20164 Don't provide LABEL_ALIGN_AFTER_BARRIER or LOOP_ALIGN.
20165 (DEFAULT_SPARC_ALIGN_FUNCS): Delete; take functionality into
20167 (FUNCTION_BOUNDARY): Fix incorrect use---it's not just a request,
20169 * config/sparc/sparc.c: Delete sparc_align_loops,
20170 sparc_align_jumps, sparc_align_funcs and the corresponding string
20172 (sparc_override_options): Default align_functions on ultrasparc.
20173 Delete -malign-* handling.
20175 * config/mips/mips.c (override_options): On 64-bit targets,
20176 try to align code to 64-bit boundaries.
20177 (print_operand): New substitution, %~,
20178 which aligns labels to align_labels_log.
20179 * config/mips/mips.md (div_trap_normal): Use %~.
20180 (div_trap_mips16): Likewise.
20182 (absdi2): Likewise.
20183 (ffssi2): Likewise.
20184 (ffsdi2): Likewise.
20185 (ashldi3_internal): Likewise.
20186 (ashrdi3_internal): Likewise.
20187 (lshrdi3_internal): Likewise.
20188 (casesi_internal): Likewise.
20190 Wed Sep 1 21:13:48 1999 Richard Henderson <rth@cygnus.com>
20192 Merge new ia32 backend from the branch!
20194 * i386.h, i386.c, i386.md, reg-stack.c, i386/unix.h: Many changes.
20195 See ChangeLog.P2 on new_ia32_branch for details.
20197 * rtl.h (stack_regs_mentioned_p): Delete prototype.
20198 * i386/cygwin.h (SUBTARGET_PROLOGUE): No more do_rtl.
20199 * i386/win32.h (SUBTARGET_PROLOGUE): Likewise.
20200 * i386/gas.h (ASM_FILE_START): Define.
20201 * i386/winnt.c (i386_pe_valid_decl_attribute_p): Update
20202 for name change of ix86_valid_decl_attribute_p.
20203 (i386_pe_valid_type_attribute_p): Similarly.
20205 Wed Sep 1 18:21:23 1999 Richard Henderson <rth@cygnus.com>
20207 * emit-rtl.c (init_emit_once): Don't use GET_MODE_WIDER_MODE
20208 to step through CC modes.
20210 Wed Sep 1 20:18:06 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
20212 * regmove.c (fixup_match_1): Don't move INSN in front of P if
20213 it would end up in the shadow of a live flags regsiter.
20215 Wed Sep 1 11:32:00 1999 Bernd Schmidt <bernds@cygnus.co.uk>
20217 * reload1.c: Fix many indentation problems.
20218 * reload.c: Likewise.
20220 Tue Aug 31 22:08:03 1999 Marc Espie <espie@cvs.openbsd.org>
20222 * alias.c (non_local_reference_p): Constify fmt.
20224 Tue Aug 31 23:19:35 1999 Michael Meissner <meissner@cygnus.com>
20226 * config/i386/xm-cygwin.h (HAVE_DOS_BASED_FILE_SYSTEM): Define.
20228 Tue Aug 31 16:44:52 1999 Jeffrey A Law (law@cygnus.com)
20230 * cse.c (delete_trivially_dead_insns): Do not delete stores to
20231 the internal_arg_pointer.
20233 Tue Aug 31 13:35:42 1999 Richard Henderson <rth@cygnus.com>
20235 Merge peephole2 from new_ia32_branch:
20236 * Makefile.in (STAGESTUFF): Add *.peephole2.
20237 (mostlyclean): Likewise.
20238 (recog.o): Depend on resource.h.
20240 * final.c (peephole): Conditionalize decl on HAVE_peephole.
20241 (final_scan_insn): Likewise for the invocation of peephole.
20242 * genconfig.c (main): Look for peephole and peephole2 patterns.
20243 Emit HAVE_peephole* accordingly.
20244 * genpeep.c (main): Conditionalize entire output on HAVE_peephole.
20245 * flags.h (flag_peephole2): Declare.
20246 * toplev.c: New pass peephole2. New flag -fpeephole2.
20248 * genattrtab.c (main): Count DEFINE_PEEPHOLE2.
20249 * gencodes.c (main): Likewise.
20250 * genextract.c (main): Likewise.
20251 * genoutput.c (main): Likewise.
20252 * genemit.c (max_operand_1): Look for the max scratch operand.
20253 (gen_rtx_scratch): New.
20254 (gen_exp): Use it, and pass on new arg subroutine_type.
20255 (gen_expand): Take max scratch into account.
20256 (gen_split): Emit peephole2 functions.
20257 (output_peephole2_scratch): New.
20258 (main): Include hard-reg-set.h and resource.h. Handle peephole2.
20259 * genrecog.c (routine_type): Add PEEPHOLE2.
20261 (make_insn_sequence): Match outer parallel for peep2. Discard
20262 top level scratches and dups.
20263 (add_to_sequence): New args insn_type and top. Update all callers.
20264 Handle toplevel peep2 matching insns.
20265 (write_subroutine): Handle peep2.
20266 (write_tree_1): Likewise.
20267 (write_tree): Likewise.
20269 (change_state): New arg afterward. Update all callers.
20270 Handle matching separate insns.
20271 * recog.c (recog_next_insn): New.
20272 (peephole2_optimize): New.
20273 * rtl.def (DEFINE_PEEPHOLE2): New.
20274 * resource.c (find_free_register): New argument last_insn. Use it
20275 to find a register available through the entire span.
20276 * resource.h (find_free_register): Update prototype.
20278 Tue Aug 31 11:51:06 1999 Jim Kingdon <http://developer.redhat.com>
20280 * i386.c (output_strlen_unroll): Don't write xops[7]
20281 label if it wasn't set.
20283 1999-08-31 12:44 -0700 Zack Weinberg <zack@bitmover.com>
20285 * cpplib.c (struct directive): Const-ify name pointer and
20286 function pointer prototype.
20287 (validate_else, do_define, do_line, do_include, do_undef,
20288 do_error, do_pragma, do_ident, do_if, do_xifdef, do_else,
20289 do_elif, do_endif, do_sccs, do_assert, do_unassert,
20290 do_warning): Const-ify second arg.
20291 (directive_table): Mark const. Reorder entries by frequency
20292 of usage, record statistics.
20294 1999-08-31 12:20 -0700 Zack Weinberg <zack@bitmover.com>
20296 * rtl.h (RTL_CHECK1, RTL_CHECK2): New macros which type- and
20297 bounds- check RTL accesses if --enable-checking.
20298 (RTVEC_ELT): Bounds check if --enable-checking.
20299 (XWINT, XINT, XSTR, XEXP, XVEC, XMODE, XBITMAP, XTREE,
20300 XBBDEF): Use RTL_CHECK1/RTL_CHECK2 as appropriate.
20301 (XVECEXP, XVECLEN): Define in terms of XVEC, RTVEC_ELT, and
20303 (X0WINT, X0INT, X0STR, X0EXP, X0VEC, X0MODE, X0BITMAP, X0TREE,
20304 X0BBDEF, X0ADVFLAGS): New macros for accessing '0' slots of RTXes.
20306 (ADDR_DIFF_VEC_FLAGS): Use X0ADVFLAGS.
20307 (NOTE_SOURCE_FILE): Use X0STR.
20308 (NOTE_BLOCK_NUMBER, NOTE_EH_HANDLER, LABEL_NUSES,
20309 MEM_ALIAS_SET): Use X0INT.
20310 (NOTE_RANGE_INFO, NOTE_LIVE_INFO, NOTE_BASIC_BLOCK,
20311 JUMP_LABEL, LABEL_REFS, LABEL_NEXTREF, CONTAINING_INSN):
20313 * real.h (CONST_DOUBLE_CHAIN): Use X0EXP.
20314 * rtl.c (copy_rtx, copy_most_rtx): Copy '0' slots with X0WINT.
20315 (rtl_check_failed_bounds, rtl_check_failed_type1,
20316 rtl_check_failed_type2, rtvec_check_failed_bounds): New
20318 (fancy_abort): Fix comment.
20320 * cse.c (canon_hash): Read CONST_DOUBLE data slots with XWINT.
20321 (cse_insn): Decrement LABEL_NUSES for jump target before
20322 deleting jump insn.
20323 * emit-rtl.c (gen_rtx_CONST_DOUBLE): Use X0EXP for slot 1.
20324 * final.c (alter_subreg): Compute regno before changing x to
20325 REG; set REGNO(x) after changing it.
20326 * flow.c (count_basic_blocks): Use XWINT to inspect EH_REGION
20327 notes containing CONST_INTs.
20328 (delete_eh_regions): Use NOTE_EH_HANDLER.
20329 * function.c (put_reg_into_stack): Make reg a MEM before
20331 (fixup_var_refs_insns): Save REG_NOTES (insn) in case we
20333 (gen_mem_addressof): Make reg a MEM before initializing it.
20334 * integrate.c (copy_rtx_and_substitute): Copy '0' slots with
20336 * local-alloc.c (update_equiv_regs): Zap REG_NOTES before
20337 deleting an insn, not after.
20338 (block_alloc): Only look at PATTERN(insn) if we have to, and
20339 only if it's format class 'i'.
20340 * loop.c (check_dbra_loop): Check bl->biv->add_val is a
20341 CONST_INT before using its INTVAL.
20342 * print-rtl.c (print_rtx): Use X0STR.
20343 * regmove.c (fixup_match_1): Don't look at PATTERN of
20344 non-class-'i' insn chain elements.
20345 * reload.c (loc_mentioned_in_p): Take address of
20346 in->fld[1].rtx directly.
20347 * reload1.c (reload): Change reg to a MEM before initializing
20349 * varasm.c (mark_constant_pool): Skip CONST_DOUBLES, which
20351 * config/i386/i386.md (decrement_and_branch_if_zero): Fix typo.
20353 Fri Aug 20 13:43:41 1999 Andrew Haley <aph@cygnus.com>
20355 * config/mips/mips.c (machine_dependent_reorg): Force a
20356 barrier to output the local constant pool if a barrier hasn't
20357 been found at a natural point in the instruction stream.
20359 Mon Aug 30 22:04:36 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
20361 * c-parse.in (language_string): Constify.
20363 * dwarf2out.c (language_string): Remove declaration.
20365 * dwarfout.c (language_string): Likewise.
20367 * toplev.c (language_string, init_parse, finish_parse): Likewise.
20369 * tree.h (language_string, init_parse, finish_parse): Declare.
20371 * i386/sun386.h (language_string): Remove declaration.
20373 * mips.h (language_string): Likewise.
20375 * nextstep.h (language_string): Likewise.
20377 * nextstep21.h (language_string): Likewise.
20379 * rs6000.c (language_string): Likewise.
20381 Mon Aug 30 20:56:08 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
20383 * Makefile.in (OBJS, PROTO_OBJS): Remove getpwd.o.
20384 (getpwd.o): Remove target.
20386 * getpwd.c: Delete file. Its in libiberty now.
20388 * dbxout.c (getpwd): Don't prototype.
20389 * dwarf2out.c (getpwd): Likewise
20390 * dwarfout.c (getpwd): Likewise
20391 * final.c (getpwd): Likewise.
20392 * protoize.c (getpwd): Likewise.
20394 Mon Aug 30 20:21:34 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
20396 * cse.c: (fold_rtx): Cast to HOST_WIDE_INT in left shift.
20398 Mon Aug 30 16:07:49 1999 Richard Henderson <rth@cygnus.com>
20400 * flow.c (new_insn_dead_notes): Use sets_reg_or_subreg not
20401 mark_set_resources.
20403 Mon Aug 30 12:23:53 1999 Jim Wilson <wilson@cygnus.com>
20405 * fixinc/Makefile.in (subdir): New.
20406 (fixincl.x, inclhack.sh, fixincl.sh): Use cp instead of $(CP).
20409 Mon Aug 30 01:02:09 1999 Jeffrey A Law (law@cygnus.com)
20411 * emit-rtl.c (copy_rtx_if_shared): A MEM which references
20412 virtual_stack_vars_rtx or virtual_incoming_args_rtx can not
20415 * invoke.texi: Fix typo.
20417 * dwarf2out.c (mem_loc_descriptor): New argument MODE. All callers
20418 changed. Handle autoincrement addressing modes.
20420 * integrate.c (copy_rtx_and_substitute): Handle internal_arg_pointer
20421 just like we would the virtual incoming args register when
20424 Sun Aug 29 23:17:54 1999 David Edelsohn <edelsohn@gnu.org>
20426 * rs6000.h (ASM_FILE_START): Specify complete filename, including
20427 path, in .file directive.
20429 Sun Aug 29 05:06:43 1999 Russ Allbery <rra@stanford.edu>
20431 * gcc.texi (External Bugs): Remove obsolete note about Perl on
20434 1999-08-29 08:38 -0700 Zack Weinberg <zack@bitmover.com>
20436 * stdbool.h: Make the typedef name _Bool, with bool a #defined
20439 Sun Aug 29 09:36:50 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
20441 * tree.c (tree_code_name): Constify a char*.
20443 * tree.h (tree_code_name, decl_printable_name): Likewise.
20445 * function.h (struct function): Likewise.
20447 * toplev.c (decl_name, decl_printable_name): Likewise.
20449 * vax/vms.h (MAYBE_VMS_FUNCTION_PROLOGUE): Likewise.
20451 * objc/objc-act.c (decl_printable_name): Remove redundant prototype.
20452 (init_objc): Remove function pointer cast.
20454 Sun Aug 29 05:01:17 1999 John David Anglin <dave@hiauly1.hia.nrc.ca>
20456 * pa.md (interspace_jump): New pattern.
20457 (builtin_longjmp): New expander.
20459 1999-08-29 Bernd Schmidt <bernds@cygnus.co.uk>
20461 * fp-bit.c (add, sub, multiply, divide, compare, _eq_f2, _ne_f2,
20462 _gt_f2, _ge_f2, _lt_f2, _le_f2, float_to_si, float_to_usi, negate,
20463 sf_to_df, df_to_sf): Fix potential problem with alias analysis.
20465 Sun Aug 29 04:30:52 1999 John Wehle (john@feith.com)
20467 * jump.c (delete_prior_computation): Also check calls
20468 to constant functions. Don't bother checking for a
20469 REG_UNUSED note before adding it.
20470 (delete_computation): Handle multi-word hard registers
20471 when synthesizing missing REG_DEAD notes for a register
20472 which is both set and used by an insn.
20474 1999-08-29 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
20476 * loop.c (this_loop_info): New variable.
20477 (loop_has_call, loop_has_volatile, loop_has_tablejump,
20478 loop_continue, loops_enclosed): Replace with fields in this_loop_info.
20480 (prescan_loop, strength_reduce): New argument loop_info. All callers
20482 (scan_loop): New variable loop_info, initialise to address of
20484 (prescan_loop): Set loop_info->vtop if find NOTE_INSN_LOOP_VTOP.
20485 Delete variable loop_has_multiple_exit targets and replace with
20486 field in this_loop_info.
20487 (find_and_verify_loops): Rename this_loop to this_loop_num.
20488 (strength_reduce): Delete loop_iteration_info. Replace variable
20489 loop_info with function argument of same name.
20490 (insert_bct): Rework test for loop being completely unrolled.
20492 * loop.h (struct loop_info): New fields num, loops_enclosed,
20493 has_call, has_volatile, has_tablejump, has_multiple_exit_targets,
20494 has_indirect_jump, and cont. Redefine use of unroll_number.
20495 (loop_unroll_number): Delete.
20497 * unroll.c (unroll_loop): Store loop unroll count in unroll_number
20498 field of loop_info.
20499 (loop_iterations): Delete variable vtop and instead use
20500 loop_info->vtop computed in prescan_loop.
20502 Sun Aug 29 03:27:23 1999 Scott Weikart <scott@igc.apc.org>
20504 * fix-header.c (main): Do not pass a null pointer to strcmp.
20506 Sun Aug 29 03:18:48 1999 William Bader (william@nscs.fast.net)
20508 * configure.in (i[34567]86-*-sco3.2v4*): Target does not truncate
20510 * configure: Rebuilt.
20512 Sat Aug 28 19:36:05 1999 Jeffrey A Law (law@cygnus.com)
20514 * jump.c (jump_optimize_1): Do not delete assignments to
20515 internal_arg_pointer.
20516 * cse.c (delete_trivially_dead_insns): Always consider a set of
20517 the internal_arg_pointer live.
20519 Sat Aug 28 16:24:31 1999 Richard Henderson <rth@cygnus.com>
20521 * flow.c (flow_delete_insn_chain): Rename from delete_insn_chain.
20522 (update_life_info) [REG_WAS_0]: Search the original insns rather
20523 than the new insns for the note. Fix typos finding note_dest.
20524 If no dest found, discard the note rather than abort.
20525 [REG_NOALIAS]: Handle as REG_NO_CONFLICT.
20526 (replace_insns): Remove the old insn list after update_life_info
20529 Sat Aug 28 16:20:12 1999 Richard Henderson <rth@cygnus.com>
20531 * haifa-sched.c (sched_analyze): Clear LOG_LINKS before calling
20532 sched_analyze_insn.
20533 (sched_analyze_1): Let add_dependence care for not adding dups.
20534 (sched_analyze_2): Likewise.
20535 (add_branch_dependences): Likewise.
20537 Sat Aug 28 15:58:16 1999 Mumit Khan <khan@xraylith.wisc.edu>
20539 * i386/winnt.c (export_list): New type.
20540 (exports_head): Rename to
20541 (export_head): this.
20542 (i386_pe_record_exported_symbol): Add is_data flag.
20543 (i386_pe_asm_file_end): Emit directive for exported variables.
20544 * i386/cygwin.h (i386_pe_record_exported_symbol): Update
20546 * i386/cygwin.h (ASM_OUTPUT_COMMON): Specify symbol type.
20547 (ASM_DECLARE_OBJECT_NAME): Likewise.
20548 (ASM_DECLARE_FUNCTION_NAME): Likewise.
20549 * i386/uwin.h (ASM_DECLARE_FUNCTION_NAME): Likewise.
20551 Fri Aug 27 15:35:24 1999 Jeffrey A Law (law@cygnus.com)
20553 * cse.c (fold_rtx): Work around bug in Sun V5.0 compilers.
20555 * pa.c (emit_move_sequence): Do not stop on SUBREG_WORD of an
20558 Fri Aug 27 14:01:19 1999 Marc Espie <espie@cvs.openbsd.org>
20560 * config/openbsd.h: Define SET_ASM_OP.
20561 * tm.texi: cross-reference SET_ASM_OP in the index.
20563 1999-08-27 13:27 -0700 Zack Weinberg <zack@bitmover.com>
20565 * rtl.c: Define CONST_DOUBLE_FORMAT to the appropriate format
20566 for a CONST_DOUBLE, at compile time. Initialize rtx_length
20567 and class_narrowest_mode at compile time. Kill init_rtl.
20568 Mark rtx_length, mode_class, mode_size, mode_unit_size,
20569 mode_wider_mode, mode_mask_array, class_narrowest_mode, and
20570 rtx_format as const. Kill all references to EXTRA_CC_MODES or
20572 * rtl.def (CONST_DOUBLE): Use CONST_DOUBLE_FORMAT macro for
20574 * rtl.h: Declare rtx_length and rtx_format as const.
20575 * machmode.def: Define CC(). Use CC() to define CCmode. If
20576 EXTRA_CC_MODES is defined, expand it here.
20577 * machmode.h: Declare mode_class, mode_size, mode_unit_size,
20578 mode_wider_mode, mode_mask_array, and class_narrowest_mode as
20579 const. Kill all references to EXTRA_CC_MODES.
20581 * toplev.c: Don't prototype or call init_rtl.
20582 * optabs.c: Don't call init_mov_optab.
20583 * genemit.c: Don't generate init_mov_optab. Don't call
20585 * gengenrtl.c: Duplicate calculation of CONST_DOUBLE_FORMAT
20587 * genattr.c, genattrtab.c, gencodes.c, genconfig.c,
20588 genextract.c, genflags.c, genopinit.c, genoutput.c, genpeep.c,
20589 genrecog.c: Don't call init_rtl.
20591 * arc.h, arm.h, c4x.h, i386.h, i960.h, m88k.h, pa.h, pdp11.h,
20592 rs6000.h, sparc.h: Don't define EXTRA_CC_NAMES. Use CC() in
20593 definition of EXTRA_CC_MODES.
20595 * md.texi: Kill ref to EXTRA_CC_NAMES.
20596 * tm.texi: Document new way to define EXTRA_CC_MODES.
20598 * genrecog.c: Do not look up the name of a define_split.
20599 (Unrelated bugfix.)
20601 Fri Aug 27 17:03:42 1999 Nick Clifton <nickc@cygnus.com>
20603 * config/v850/v850.md: Fix typo introduced by previous delta.
20605 Fri Aug 27 09:48:59 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
20607 * gcc.c (fatal): Make definition static to match prototype.
20609 Fri Aug 27 10:33:35 1999 Bernd Schmidt <bernds@cygnus.co.uk>
20611 * combine.c (get_last_value): Don't look for earlier sets if the last
20612 known set is somewhere in between the insns being combined.
20614 Fri Aug 27 10:03:12 BST 1999 Nathan Sidwell <nathan@acm.org>
20616 * configure.in: Don't use shell ! to negate exit codes
20617 * configure: Regenerate
20619 Fri Aug 27 09:36:17 1999 Andreas Schwab <schwab@suse.de>
20621 * function.c (assign_stack_temp_for_type): Fix change of Mar 5 for
20622 the fact that ALIGN is measured in bits, not bytes.
20624 1999-08-27 00:27 -0700 Zack Weinberg <zack@bitmover.com>
20626 * errors.c: New file; defines functions error, warning, and
20627 fatal, variables have_error and progname.
20628 * errors.h: New file; prototypes and decls for stuff in errors.c.
20630 * Makefile: Add rules to build errors.o and
20631 $(HOST_PREFIX)errors.o. Link genconfig, gencodes, genemit,
20632 genopinit, genrecog, genextract, genpeep, genattr, and
20633 genoutput with errors.o. Add errors.h to deps of genconfig.o,
20634 gencodes.o, genemit.o, genopinit.o, genrecog.o, genextract.o,
20635 genpeep.o, genattr.o, and genoutput.o.
20637 * genconfig.c, gencodes.c, genemit.c, genopinit.c, genrecog.c,
20638 genextract.c, genpeep.c, genattr.c: Include errors.h. Don't
20639 define or prototype fatal. Set progname at beginning of main.
20640 * genoutput.c: Likewise, and don't define or prototype error
20643 * c-typeck.c (c_expand_start_case): Return immediately if exp
20645 * fold-const.c (operand_equal_p): Return immediately if arg1
20646 or arg0 are ERROR_MARKs.
20647 * stor-layout.c (layout_type [case RECORD_TYPE]): Ignore
20648 fields of type ERROR_MARK when calculating if the record can
20651 Fri Aug 27 01:03:48 1999 Jim Kingdon <http://developer.redhat.com>
20652 with much help from Jeffrey A Law and Richard Henderson
20654 * i386.md: In the 6 insns which call output_fix_trunc,
20655 earlyclobber operands[0].
20657 Fri Aug 27 01:01:51 1999 Philip Blundell <pb@nexus.co.uk>
20659 * jump.c (duplicate_loop_exit_test): Call reg_scan_update after
20660 creating new registers.
20662 1999-08-26 23:09 -0700 Zack Weinberg <zack@bitmover.com>
20664 * i386.h: Declare ix86_cpu_string, ix86_arch_string,
20665 i386_reg_alloc_order, i386_regparm_string,
20666 i386_align_loops_string, i386_align_jumps_string,
20667 i386_align_funcs_string, i386_preferred_stack_boundary_string,
20668 and i386_branch_cost_string as type "const char *".
20669 * i386.c: Define all above strings as type "const char *".
20671 Thu Aug 26 20:36:30 1999 Jim Wilson <wilson@cygnus.com>
20673 * dwarf2out.c (output_aranges): Check DWARF_OFFSET_SIZE not PTR_SIZE
20674 when emitting alignment padding. Emit padding byte of 0 instead of 4.
20676 Thu Aug 26 18:11:20 1999 Mark Mitchell <mark@codesourcery.com>
20678 * tree.c (array_type_nelts): Don't create RTL_EXPRs from
20679 SAVE_EXPRs unless the SAVE_EXPRs have already been expanded.
20681 Thu Aug 26 19:33:23 1999 Jim Wilson <wilson@cygnus.com>
20683 * dwarf2out.c (DWARF2_ASM_LINE_DEBUG_INFO): Add default definition.
20684 (debug_dwarf): Add DWARF2_ASM_LINE_DEBUG_INFO support.
20685 (dwarf2out_line, dwarf2out_finish): Likewise.
20686 * tm.texi (DWARF2_ASM_LINE_DEBUG_INFO): Add documetation.
20688 Thu Aug 26 16:10:56 1999 Gavin Romig-Koch <gavin@cygnus.com>
20690 * tree.c (lang_unsave_expr_now) : Correct return type.
20691 * tree.h (lang_unsave_expr_now) : Same.
20693 Thu Aug 26 13:12:29 1999 Jeffrey A Law (law@cygnus.com)
20695 * pa.c (cint_ok_for_move): Use CONST_INT_OK_FOR_LETTER_P macros
20696 instead of duplicating code.
20698 Thu Aug 26 18:32:32 1999 Bernd Schmidt <bernds@cygnus.co.uk>
20700 * gcse.c (hash_scan_insn): Don't scan obvious no-ops.
20702 1999-08-26 09:42 -0700 Zack Weinberg <zack@bitmover.com>
20704 * tree.h: fancy_abort always takes three args.
20705 * resource.c: Move include of system.h before toplev.h.
20707 Thu Aug 26 09:46:16 1999 Nick Clifton <nickc@cygnus.com>
20709 * dwarf2out.c (mem_loc_descriptor): Accept LABEL_REFs as well
20712 1999-08-25 22:10 -0700 Zack Weinberg <zack@bitmover.com>
20714 * system.h: Don't redefine abort or trim_filename.
20715 * rtl.h: Define abort to fancy_abort (__FILE__, __LINE__, 0)
20716 or fancy_abort (__FILE__, __LINE__, __FUNCTION__) depending on
20717 whether or not __FUNCTION__ is available.
20718 * tree.h: Duplicate rtl.h's definition of abort, for files
20719 that don't include rtl.h. Delete all code to perform type
20720 checking with a compiler other than GCC.
20721 * varray.h: Delete all code to perform type checking with a
20722 compiler other than GCC. Make VARRAY_CHECK() always evaluate
20723 its arguments exactly once, using a statement expression.
20724 Adjust the VARRAY_<type> accessor macros to match.
20725 * toplev.h (fatal_insn, fatal_insn_not_found): Kill.
20726 (_fatal_insn, _fatal_insn_not_found): New fns, take info on
20727 caller's location. Define fatal_insn and fatal_insn_not_found
20728 as macros that use _fatal_insn and _fatal_insn_not_found.
20729 (fancy_abort, trim_filename): Kill prototypes.
20731 * rtl.c (trim_filename): Move here from toplev.c.
20732 (fancy_abort): New function.
20733 (DIR_SEPARATOR): Provide default definition.
20734 * tree.c (tree_check_failed, tree_class_check_failed): Go
20735 through fancy_abort.
20736 (tree_check, tree_class_check, cst_or_constructor_check,
20737 expr_check): Delete.
20738 * varray.c (varray_check_failed): New function.
20739 * toplev.c (fatal_insn, fatal_insn_not_found): Replace with
20740 _fatal_insn and _fatal_insn_not_found. Go through
20742 (trim_filename, fancy_abort): Delete.
20744 * builtins.c (expand_builtin_args_info): Report ICE with abort.
20745 * except.c (start_catch_handler): Report ICE with error/abort
20747 * final.c (output_operand_lossage): Likewise.
20748 * flow.c (verify_flow_info): Likewise.
20750 * gcc.c: Prototype fatal.
20751 * gengenrtl.c: Undef abort after including rtl.h not system.h.
20752 * genattr.c, genattrtab.c, genemit.c, genextract.c,
20753 genflags.c, genopinit.c, genoutput.c, genpeep.c, genrecog.c:
20754 Don't define fancy_abort.
20756 Wed Aug 25 17:56:59 1999 Richard Henderson <rth@cygnus.com>
20758 * optabs.c (emit_cmp_and_jump_insns): Be more thorough in
20761 Wed Aug 25 15:35:55 1999 Richard Henderson <rth@cygnus.com>
20763 * m88k.h (VERSION_INFO2): Kill.
20764 (VERSION_STRING): Kill.
20766 (VERSION_INFO1): Tidy.
20767 (TARGET_VERSION): Update.
20768 * m88k/dgux.h (VERSION_INFO2): Kill.
20769 (ASM_FIRST_LINE): Adjust for death of VERSION_STRING.
20770 * m88k/luna.h (VERSION_INFO1): Tidy.
20771 * m88k/sysv4.h (VERSION_INFO1): Likewise.
20772 * m88k.c (out_rcs_id, tm_rcs_id): Kill.
20773 (output_file_start): Adjust for death of VERSION_STRING.
20775 1999-08-25 13:51 -0700 Jim Meyering <meyering@ascend.com>
20777 * cpplib.c (detect_if_not_defined): New function.
20778 (do_if): Use it to detect potential once-only headers.
20780 Wed Aug 25 14:00:18 1999 Jason Merrill <jason@yorick.cygnus.com>
20782 * c-common.c (combine_strings): Always set TREE_CONSTANT.
20784 Wed Aug 25 15:27:22 1999 Gavin Romig-Koch <gavin@cygnus.com>
20786 * combine.c (nonzero_bits) : Allow single-ly set registers to be
20787 anywere in the function only if they are pseudos and set before
20788 being used (not live at the start of the function).
20789 (num_sign_bit_copies) : Same.
20790 (get_last_value_validate) : Same.
20791 (get_last_value) : Same.
20793 Wed Aug 25 11:13:29 1999 Richard Henderson <rth@cygnus.com>
20795 * loop.c (express_from): Try harder to unify (* c N) and (* c M)
20796 where N and M are constant and N is an integer multiple of M.
20798 Wed Aug 25 13:55:47 EDT 1999 Andrew MacLeod <amacleod@cygnus.com>
20800 * sbitmap.h (sbitmap_intersection_of_succs): Add prototype.
20801 (sbitmap_intersection_of_preds, sbitmap_union_of_succs,
20802 sbitmap_union_of_preds): Add prototypes.
20803 * sbitmap.c (sbitmap_intersection_of_succs): New function to compute
20804 the intersection of successors with the new flow graph structures.
20805 (sbitmap_intersection_of_preds): New function to compute the
20806 intersection of predecessors with the new flow graph structures.
20807 (sbitmap_union_of_succs): New function to compute the union of
20808 successors with the new flow graph structures.
20809 (sbitmap_union_of_preds): New function to compute the union of
20810 predecessors with the new flow graph structures.
20811 * gcse.c (compute_rdm, compute_available): Use new sbitmap routines.
20812 (expr_reaches_here_p): Use edge and basic_block structures instead
20813 of s_preds and s_succs.
20814 (compute_cprop_avinout): Use new sbitmap routines.
20815 (pre_expr_reaches_here_p): Use edge and basic_block structures instead
20816 of s_preds and s_succs.
20817 * flow.c (compute_flow_dominators): Compute dominators using
20818 edges and basic blocks instead of s_preds and s_succs.
20820 Wed Aug 25 13:41:47 EDT 1999 Andrew MacLeod <amacleod@cygnus.com>
20822 * lists.c (unused_insn_list, unused_expr_list): New file for
20823 maintaining various types of lists. New statics for maintaining a
20824 cache of available INSN_LIST and EXPR_LIST nodes.
20825 (free_list): Static function for freeing a list of INSN/EXPR nodes.
20826 (alloc_INSN_LIST): Function to get a free INSN_LIST node.
20827 (alloc_EXPR_LIST): Function to get a free EXPR_LIST node.
20828 (init_EXPR_INSN_LIST_cache): Initialize the cache lists.
20829 (free_EXPR_LIST_list): Free an entire list of EXPR_LIST nodes.
20830 (free_INSN_LIST_list): Free an entire list of INSN_LIST nodes.
20831 (free_EXPR_LIST_node): Free an individual EXPR_LIST node.
20832 (free_INSN_LIST_node): Free an individual INSN_LIST node.
20833 * haifa-sched.c (unused_insn_list, unused_expr_list): Moved to flow.c
20834 (free_list, alloc_INSN_LIST, alloc_EXPR_LIST): Moved to flow.c
20835 (remove_dependence, free_pending_lists): Use new global routines.
20836 (flush_pending_lists, sched_analyze_insn): Use new global routines.
20837 (sched_analyze, compute_block_backward_dependences): Use new routines.
20838 (sched_analyze_1, sched_analyze_2): Use new routines.
20839 (schedule_insns): Use new global routines.
20840 * rtl.h (init_EXPR_INSN_LIST_cache, free_EXPR_LIST_list): Add function
20842 (free_INSN_LIST_list, free_EXPR_LIST_node): Add prototypes.
20843 (free_INSN_LIST_node, alloc_INSN_LIST, alloc_EXPR_LIST): Add function
20845 * toplev.c (rest_of_compilation): Initialize node cache.
20846 * Makefile.in (OBJS): Add lists.o to list of object files.
20847 (lists.o): Add dependancies.
20849 Wed Aug 25 17:31:56 1999 Nick Clifton <nickc@cygnus.com>
20851 * config/v850/v850.md: Fix compile time warning messages.
20852 * config/v850/v850.c: Fix compile time warning messages.
20853 * config/v850/v850.h: Fix compile time warning messages.
20855 Wed Aug 25 09:44:43 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
20857 * genattr.c (gen_attr): Add prototype arguments for get_attr_*().
20858 Remove unused prototype for `init_lengths'.
20860 Wed Aug 25 09:32:31 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
20862 * calls.c (emit_call_1): Mark parameter `stack_size' with
20864 (expand_call): Initialize variable `insn'.
20865 (emit_library_call): Likewise for variable `high_to_save'.
20866 (emit_library_call_value): Likewise.
20867 (store_one_arg): Likewise for variables `lower_bound' and
20870 * combine.c (try_combine): Likewise for variables `i2_code_number'
20871 and `other_code_number'.
20872 (find_split_point): Likewise for variables `pos', `unsignedp' and
20874 (simplify_if_then_else): Likewise for variables `op' and `c1'.
20875 (simplify_and_const_int): Remove unused variable `width'.
20876 (merge_outer_ops): Likewise.
20878 * cse.c (simplify_binary_operation): Cast an INTVAL() to `unsigned
20879 HOST_WIDE_INT' when comparing against one.
20880 (simplify_relational_operation): Likewise.
20881 (cse_insn): Initialize variables `src_eqv_volatile',
20882 `src_eqv_in_memory', `src_eqv_in_struct', `src_eqv_hash' and `sets'.
20884 * final.c (init_final): Constify parameter `filename'.
20885 (final_start_function): Mark parameter `optimize' with
20887 (profile_function): Likewise for parameters `first' and `optimize'.
20888 (output_source_line): Likewise for parameter `file'.
20890 * integrate.c (subst_constants): Cast a value to `size_t' when
20891 comparing against one.
20892 (mark_stores): Initialize variable `mode'. Cast a value to
20893 `size_t' when comparing against one.
20895 * integrate.h (MAYBE_EXTEND_CONST_EQUIV_VARRAY): Likewise.
20897 * loop.c (move_movables): Initialize variable `first'.
20898 (strength_reduce): Likewise for variable `increment'.
20899 (check_dbra_loop): Likewise for variable `comparison_val'. Cast a
20900 value to `size_t' when comparing against one.
20901 (load_mems): Initialize variable `end_label'.
20903 * output.h (init_final): Constify parameter.
20905 * reload.c (decompose): Initialize variable `base'.
20907 * reload1.c (reload): Likewise for variable `is_scalar'.
20908 (spill_hard_reg): Mark parameter `dumpfile' with ATTRIBUTE_UNUSED.
20909 (choose_reload_regs): Initialize variable `mode'.
20910 (emit_reload_insns): Likewise for variable `store_insn'.
20911 (reload_cse_noop_set_p): Mark parameter `insn' with
20913 (reload_combine): Initialize variable `set'.
20915 * unroll.c (unroll_loop): Likewise for variable `local_label'.
20916 (copy_loop_body): Cast a value to `size_t' when comparing against
20919 * varasm.c (assemble_variable): Initialize variable `size_tree'.
20920 (const_hash): Add an `else abort()' in an if-else-if-else sequence.
20921 (remove_from_pending_weak_list): Mark parameter `name' with
20924 Wed Aug 25 11:18:39 1999 Bernd Schmidt <bernds@cygnus.co.uk>
20926 * toplev.c (rest_of_compilation): Use decl_printable_name when opening
20929 Wed Aug 25 10:57:12 1999 Nick Clifton <nickc@cygnus.com>
20931 * config/arm/telf.h (ASM_WEAKEN_LABEL): Define.
20932 (ASM_DECLARE_FUNCTION_NAME): Define.
20933 (TYPE_ASM_OP, SIZE_ASM_OP, TYPE_OPERAND_FORMAT,
20934 ASM_DECLARE_RESULT, ASM_DECLARE_OBJECT_NAME,
20935 ASM_FINISH_DECLARE_OBJECT, ASM_DECLARE_FUNCTION_SIZE): Define if
20936 not already defined.
20938 Wed Aug 25 01:36:11 1999 John David Anglin <dave@hiauly1.hia.nrc.ca>
20940 * calls.c (emit_call_1): Use call_pop/call_value_pop for all values
20941 of n_popped when call/call_value are not defined.
20943 Wed Aug 25 01:25:14 1999 Jeffrey A Law (law@cygnus.com)
20945 * tm.texi: GNU CC -> GCC conversion.
20946 (CC1_SPEC): Indicate it is used for all language front ends.
20948 Tue Aug 24 23:43:03 1999 Mark Mitchell <mark@codesourcery.com>
20950 * flow.c (delete_block): Spell NOTE_INSN_EH_REGION_BEG and
20951 NOTE_INSN_EH_REGION_END correctly.
20953 Tue Aug 24 23:26:44 1999 Michael Tiemann <tiemann@holodeck.cygnus.com>
20954 Jeff Law <law@cygnus.com>
20956 * loop.c (strength_reduce): Automatically unroll loops if the
20957 unrolled loop size is smaller than the rolled loop size.
20959 * loop.c (insert_bct): Replace use of sdiv_optab with asr_optab
20960 and delete comment that code should be rewritten.
20962 Tue Aug 24 22:56:35 1999 Jeffrey A Law (law@cygnus.com)
20964 * haifa-sched.c (find_rgns): Mark a block found during the DFS search
20967 * haifa-sched.c (get_visual_tbl_length): Fix off-by-one error.
20969 Tue Aug 24 22:41:06 1999 Mumit Khan <khan@xraylith.wisc.edu>
20971 * fixinc/mkfixinc.sh: Don't fix uwin headers.
20972 * i386/uwin.h (MD_STARTFILE_PREFIX): Define.
20973 (LINK_SPEC): Add -u _main when building executables.
20974 (ASM_DECLARE_FUNCTION): Update from Cygwin.
20975 (ASM_FILE_END): Use the default for ix86-pe.
20976 * i386/xm-uwin.h (HAVE_BCOPY): Undefine.
20978 Tue Aug 24 20:49:47 1999 Art Haas <ahaas@neosoft.com>
20980 * final.c (output_addr_const): Handle case where ASM_OPEN_PAREN
20981 and ASM_CLOSE_PAREN are empty strings.
20983 Wed Aug 25 12:46:22 1999 Fred Fish <fnf@cygnus.com>
20984 Geoffrey Keating <geoffk@cygnus.com>
20986 * Makefile.in (PREPROCESSOR_DEFINES): New macro.
20987 (protoize.o): Use PREPROCESSOR_DEFINES and DRIVER_DEFINES.
20988 (unprotoize.o): Ditto.
20989 (test-protoize-simple): Don't define STD_PROTO_DIR.
20990 * protoize.c: Use PARAMS rather than PROTO. Minor whitespace
20991 changes to make 'test-protoize-simple' pass.
20992 (STD_PROTO_DIR): Remove define.
20993 (STANDARD_EXEC_PREFIX): Supply default define.
20994 (standard_exec_prefix): New variable, init to STANDARD_EXEC_PREFIX.
20995 (target_machine): New variable, init to DEFAULT_TARGET_MACHINE.
20996 (target_version): New variable, init to DEFAULT_TARGET_VERSION.
20997 (GET_ENV_PATH_LIST): New macro.
20998 (default_syscalls_dir): No longer initialized to STD_PROTO_DIR.
20999 (do_processing): Initialize default_syscalls_dir using new
21000 macros. Use it to initialize syscalls_absolute_filename.
21002 Tue Aug 24 16:58:15 1999 Richard Henderson <rth@cygnus.com>
21004 * jump.c (jump_optimize_1): Do cmov opt on any single-set; force
21005 B into a register before emit_conditional_move.
21007 Tue Aug 24 15:37:03 1999 Richard Henderson <rth@cygnus.com>
21009 * fold-const.c (fold): Reassociate (+ (+ (* a b) c) (* d e))
21010 as (+ (+ (* a b) (* d e)) c). Factor a common power-of-two
21011 multiplicand out of (+ (* a b) (* c d)).
21013 Tue Aug 24 11:46:10 1999 Bob Manson <manson@cygnus.com>
21014 Richard Henderson <rth@cygnus.com>
21016 * haifa-sched.c (split_hard_reg_notes): Move to flow.c
21017 (new_insn_dead_notes): Likewise.
21018 (update_n_sets): Likewise.
21019 (update_flow_info): Move to flow.c, renamed to update_life_info;
21020 extend to handle multiple source insns.
21021 * flow.c: Include resource.h
21022 (unlink_insn_chain): New.
21023 (split_hard_reg_notes): New.
21024 (maybe_add_dead_note): New.
21025 (maybe_add_dead_note_use): New.
21026 (find_insn_with_note): New.
21027 (new_insn_dead_notes): New.
21028 (update_n_sets): New.
21029 (sets_reg_or_subreg_1, sets_reg_or_subreg): New.
21030 (maybe_remove_dead_notes): New.
21031 (update_life_info): New.
21032 (prepend_reg_notes): New.
21033 (replace_insns): New.
21034 * output.h (update_life_info): Declare.
21035 * recog.c (split_block_insns): Use update_life_info.
21036 * resource.c (find_free_register): Use reg_alloc_order, don't use
21037 fixed regs, make sure the mode is supported, don't use new regs.
21039 * rtl.h (replace_insns): Declare.
21041 Tue Aug 24 13:48:39 1999 Nathan Sidwell <nathan@acm.org>
21043 * expr.c (expand_expr): Cope with COND_EXPRs with one
21044 non-returning branch.
21046 Mon Aug 23 22:28:16 1999 Mark Mitchell <mark@codesourcery.com>
21048 * expr.c (store_expr): Always pass down the target, even when not
21051 1999-08-24 Nick Clifton <nickc@cygnus.com>
21053 * configure.in: Define target_cpu_default for v850 targets.
21054 * configure: Regenerate
21056 * config/v850/v850.h (TARGET_CPU_generic): Define.
21057 (GO_IF_LEGITIMATE_ADDRESS): Insist that SImode and larger constant
21058 addresses are 4 byte aligned.
21060 * config/v850/v850.c (print_operand): Cope with 'R' format DFmode
21063 Tue Aug 24 09:32:07 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
21065 * genattr.c (function_unit_desc): Constify a char*. Add prototype.
21066 (main): Add prototypes.
21068 * genattrtab.c (substitute_address, write_const_num_delay_slots,
21069 attr_eq, attr_numeral, attr_equal_p, attr_copy_rtx): Prototype.
21070 (write_attr_get): Emit prototypes along with function definition.
21071 (write_eligible_delay): Mark a parameter with ATTRIBUTE_UNUSED.
21072 (write_complex_function): Emit static prototype along with
21073 function definition.
21075 * genemit.c (gen_split): Emit prototypes along with function
21078 * genoutput.c (output_epilogue): Add prototype to `insn_outfun'.
21079 Likewise for predicates and `insn_operand_predicate'.
21080 (process_template): Emit static prototype along with function
21083 * genrecog.c (make_insn_sequence): Constify a char*. Add
21084 prototypes for get_split_*().
21085 (write_subroutine): Emit prototypes along with function
21088 Tue Aug 24 12:35:20 1999 Bernd Schmidt <bernds@cygnus.co.uk>
21090 * gcse.c (find_avail_set): Follow chains of register-register copies.
21091 Use oprs_not_set_p to guarantee that the returned value can be
21093 (cprop_insn): Don't verify the return value of find_avail_set with
21096 * gcse.c (cprop_jump): New function, broken out of cprop_insn.
21097 (cprop_cc0_jump): New function.
21098 (cprop_insn): Break out new function cprop_jump and use it.
21099 Also use cprop_cc0_jump for machines with CC0.
21100 (cprop): Don't crash if cprop_insn turned the insn into a NOTE.
21102 * tree.h (current_function_calls_setjmp,
21103 current_function_calls_longjmp): Delete declarations.
21104 * dsp16xx.c: Include "function.h".
21105 * elxsi.c: Likewise.
21106 * gmicro.c: Likewise.
21107 * h8300.c: Likewise.
21108 * i370.c: Likewise.
21109 * m32r.c: Likewise.
21110 * mn10200.c: Likewise.
21111 * mn10300.c: Likewise.
21112 * ns32k.c: Likewise.
21113 * spur.c: Likewise.
21114 * v850.c: Likewise.
21116 * rtl.h (rtx_equal_function_value_matters): Declare.
21117 * toplev.c (rtx_equal_function_value_matters): Don't declare.
21119 * function.c: Likewise.
21120 * emit-rtl.c: Likewise.
21122 Tue Aug 24 02:47:44 1999 Jeffrey A Law (law@cygnus.com)
21124 * expr.c (convert_move): Fix arguments to TRULY_NOOP_TRUNCATION
21127 1999-08-24 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
21129 * jump.c (delete_barrier_successors) Match (set (pc) (pc)) insn
21132 Mon Aug 23 23:35:52 1999 Matthias Klose <doko@cs.tu-berlin.de>
21134 * cpp.texi: Add a node documenting macro varargs (copied
21137 1999-08-23 22:23 -0700 Zack Weinberg <zack@bitmover.com>
21139 * cppspec.c: Put a null pointer at the end of the new argv.
21141 Mon Aug 23 21:23:24 1999 Jeffrey A Law (law@cygnus.com)
21143 * configure.in: Remove code to select/de-select the haifa
21144 scheduler. Every scheduled port gets haifa now.
21145 * configure: Rebuilt.
21146 * flags.h, genattrtab.c, rtl.h, toplev.c: Remove HAIFA ifdefs.
21148 * Makefile.in: Corresponding changes.
21150 Mon Aug 23 16:04:13 1999 Bernd Schmidt <bernds@cygnus.co.uk>
21152 * optabs.c (prepare_cmp_insn): Turn COMPARISON arg into a pointer.
21153 All callers changed.
21154 (prepare_float_lib_cmp): Likewise.
21155 Use FLOAT_LIB_COMPARE_RETURNS_BOOL.
21156 * expr.h (emit_float_lib_cmp): Delete declaration.
21157 * tm.texi (FLOAT_LIB_COMPARE_RETURNS_BOOL): Document.
21158 * sparc.h (FLOAT_LIB_COMPARE_RETURNS_BOOL): Define.
21159 * sparc.md (bcc and scc patterns): Don't handle TFmode comparisons
21161 (cmptf): Now conditional on TARGET_HARD_QUAD.
21163 Fri Aug 20 17:52:27 1999 Jim Wilson <wilson@cygnus.com>
21165 * resource.c (mark_target_live_regs): Use
21166 PIC_OFFSET_TABLE_REG_CALL_CLOBBERED.
21168 Fri Aug 20 19:07:55 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
21170 * rtl.c (rtx_class, note_insn_name, reg_note_name): Constify.
21172 * rtl.h (rtx_class, reg_note_name, note_insn_name): Likewise.
21174 * genopinit.c (gen_insn): Use accessor macro, not `rtx_class'.
21176 Fri Aug 20 18:53:43 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
21178 * rtl.h (rtx_format): Constify a char*.
21180 * rtl.c (rtx_format): Likewise.
21181 (copy_rtx, copy_most_rtx, read_rtx): Likewise.
21182 (init_rtl): Use accessor macro, not `rtx_format'.
21184 * alias.c (rtx_equal_for_memref_p, find_symbolic_term): Constify a
21187 * caller-save.c (mark_referenced_regs): Likewise.
21189 * combine.c (subst, make_compound_operation, known_cond,
21190 gen_rtx_combine, update_table_tick, get_last_value_validate,
21191 use_crosses_set_p, mark_used_regs_combine, move_deaths): Likewise.
21193 * cse.c (rtx_cost, mention_regs, canon_hash, exp_equiv_p,
21194 refers_to_p, canon_reg, fold_rtx, cse_process_notes,
21195 count_reg_usage): Likewise.
21197 * emit-rtl.c (gen_rtx, copy_rtx_if_shared, reset_used_flags):
21200 * final.c (leaf_renumber_regs_insn): Likewise.
21202 * flow.c (mark_used_regs, find_use_as_address, dump_flow_info,
21203 dump_edge_info, count_reg_references): Likewise.
21205 * function.c (fixup_var_refs_1, walk_fixup_memory_subreg,
21206 fixup_stack_1, purge_addressof_1, instantiate_virtual_regs_1):
21209 * gcse.c (oprs_unchanged_p, hash_expr_1, expr_equiv_p,
21210 oprs_not_set_p, expr_killed_p, compute_transp, find_used_regs,
21211 add_label_notes): Likewise.
21213 * genattrtab.c (attr_rtx, attr_copy_rtx, encode_units_mask,
21214 clear_struct_flag, count_sub_rtxs, count_alternatives,
21215 compares_alternatives_p, contained_in_p, walk_attr_value,
21216 write_expr_attr_cache): Likewise.
21218 * genconfig.c (walk_insn_part): Likewise.
21220 * genemit.c (max_operand_1, gen_exp): Likewise.
21222 * genextract.c (walk_rtx): Likewise.
21224 * genflags.c (num_operands): Likewise.
21226 * genoutput.c (scan_operands): Likewise.
21228 * genpeep.c (match_rtx): Likewise.
21230 * genrecog.c (add_to_sequence): Likewise.
21232 * haifa-sched.c (may_trap_exp, sched_analyze_2, attach_deaths):
21235 * integrate.c (save_constants, copy_for_inline,
21236 copy_rtx_and_substitute, subst_constants, restore_constants):
21239 * jump.c (mark_jump_label, invert_exp, redirect_exp,
21240 rtx_renumbered_equal_p, rtx_equal_for_thread_p): Likewise.
21242 * local-alloc.c (contains_replace_regs, memref_referenced_p):
21245 * loop.c (record_excess_regs, rtx_equal_for_loop_p,
21246 add_label_notes, replace_call_address, count_nonfixed_reads,
21247 invariant_p, find_single_use_in_loop, find_mem_givs,
21248 find_life_end, maybe_eliminate_biv_1, update_reg_last_use):
21251 * print-rtl.c (reg_names, print_rtx): Likewise.
21253 * recog.c (validate_replace_rtx_1, find_single_use_1): Likewise.
21255 * reg-stack.c (stack_regs_mentioned_p, record_label_references,
21256 record_reg_life_pat, swap_rtx_condition, goto_block_pat,
21257 print_blocks): Likewise.
21259 * regclass.c (fix_register, record_address_regs,
21260 reg_scan_mark_refs): Likewise.
21262 * regmove.c (stable_but_for_p): Likewise.
21264 * reload.c (loc_mentioned_in_p, operands_match_p,
21265 find_reloads_toplevsubst_reg_equivs, find_reloads_address_1,
21266 copy_replacements, refers_to_regno_for_reload_p,
21267 refers_to_mem_for_reload_p, find_inc_amount, regno_clobbered_p,
21268 reload_when_needed_name, reg_class_names, debug_reload_to_stream):
21271 * reload1.c (eliminate_regs, scan_paradoxical_subregs,
21272 delete_address_reloads_1, count_occurrences,
21273 reload_cse_mem_conflict_p, reload_combine_note_use,
21274 add_auto_inc_notes): Likewise.
21276 * resource.c (mark_referenced_resources, mark_set_resources):
21279 * rtlanal.c (rtx_unstable_p, rtx_varies_p, rtx_addr_varies_p,
21280 reg_mentioned_p, regs_set_between_p, modified_between_p,
21281 modified_in_p, refers_to_regno_p, reg_overlap_mentioned_p,
21282 rtx_equal_p, volatile_insn_p, volatile_refs_p, side_effects_p,
21283 may_trap_p, inequality_comparisons_p, replace_rtx, replace_regs,
21284 jmp_uses_reg_or_mem, for_each_rtx, regno_use_in): Likewise.
21286 * sched.c (sched_analyze_2, attach_deaths): Likewise.
21288 * stupid.c (stupid_mark_refs): Likewise.
21290 * unroll.c (remap_split_bivs): Likewise.
21292 * varasm.c (mark_constants): Likewise.
21294 * a29k/a29k.c (uses_local_reg_p): Likewise.
21296 * alpha/alpha.c (summarize_insn): Likewise.
21298 * arm/arm.c (symbol_mentioned_p, label_mentioned_p,
21299 eliminate_lr2ip): Likewise.
21301 * arm/thumb.c (symbol_mentioned_p, label_mentioned_p): Likewise.
21303 * i386/i386.c (symbolic_reference_mentioned_p, copy_all_rtx,
21304 reg_mentioned_in_mem): Likewise.
21306 * ns32k/ns32k.c (global_symbolic_reference_mentioned_p,
21307 symbolic_reference_mentioned_p): Likewise.
21309 * romp/romp.c (unsigned_comparisons_p, hash_rtx): Likewise.
21311 * sh/sh.c (regs_used, mark_use): Likewise.
21313 * vax/vax.c (vax_rtx_cost): Likewise.
21315 Fri Aug 20 18:38:43 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
21317 * machmode.h (mode_name): Constify a char*.
21319 * rtl.c (mode_name): Likewise.
21321 * genopinit.c (gen_insn): Use accessor macro, not `mode_name'.
21323 * optabs.c (init_libfuncs): Constify a char*.
21325 * print-tree.c (mode_name): Remove redundant declaration.
21326 (print_node): Use accessor macro, not `mode_name'.
21328 * reload1.c (dump_needs): Constify a char*. Use accessor macro,
21330 (new_spill_reg): Constify a char*.
21332 * tree.c (mode_name): Remove redundant declaration.
21334 Fri Aug 20 18:31:26 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
21336 * rtl.c (rtx_name): Constify a char*.
21338 * rtl.h (rtx_name, fix_sched_param): Likewise.
21340 * gmicro/gmicro.c (rtx_name): Remove redundant declaration.
21341 (mypr): Use accessor macro, not `rtx_name'.
21343 * genemit.c (print_code): Constify a char*.
21345 * genopinit.c (gen_insn): Use accessor macro, not `rtx_name'.
21347 * genpeep.c (print_code): Constify a char*.
21349 * genrecog.c (print_code): Likewise.
21351 * graph.c (start_fct, start_bb, node_data, draw_edge, end_fct,
21352 end_bb): Add static prototype.
21353 (draw_edge): Constify a char*.
21354 (end_bb): Remove unused parameter.
21356 * haifa-sched.c (fix_sched_param, safe_concat, print_exp
21357 print_block_visualization): Constify a char*.
21359 Fri Aug 20 15:02:10 1999 Mark Mitchell <mark@codesourcery.com>
21361 * c-common.c (c_get_alias_set): Update comment.
21363 1999-08-20 Andreas Jaeger <aj@arthur.rhein-neckar.de>
21365 * linux.h (LIB_SPEC): Added.
21367 Fri Aug 20 22:32:17 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
21369 * config/c4x/c4x.h (STARTFILE_SPEC): Don't def.
21371 1999-08-19 18:43 -0700 Zack Weinberg <zack@bitmover.com>
21373 * tree.c (expr_check): Fix typo in last change.
21375 1999-08-19 14:44 -0700 Zack Weinberg <zack@bitmover.com>
21377 * rtl.def (NOTE): Change format to "iuu0n".
21378 (ADDR_DIFF_VEC): Change format to "eEee0".
21379 (ADDRESSOF): Change format to "eit".
21381 * rtl.h (rtvec): Make "elem" an array of rtx, not rtunion.
21382 (RTVEC_ELT): Change to match.
21383 (XVECEXP): Use XVEC and RTVEC_ELT.
21384 (INSN_UID, INSN_CODE, CODE_LABEL_NUMBER, NOTE_LINE_NUMBER,
21385 ADDRESSOF_REGNO, REGNO, SUBREG_WORD): Use XINT.
21386 (PREV_INSN, NEXT_INSN, PATTERN, REG_NOTES,
21387 CALL_INSN_FUNCTION_USAGE, SUBREG_REG, SET_SRC, SET_DEST,
21388 TRAP_CONDITION, TRAP_CODE): Use XEXP.
21389 (INTVAL): Use XWINT.
21390 (ADDRESSOF_DECL): Use XTREE.
21391 (SET_ADDRESSOF_DECL): Delete.
21392 (NOTE_DECL_NAME, NOTE_DECL_CODE, NOTE_DECL_RTL,
21393 NOTE_DECL_IDENTIFIER, NOTE_DECL_TYPE): Kill. These have been
21394 ifdefed out since 2.6 at least.
21395 (gen_rtvec_vv): Delete prototype.
21397 * rtl.h (rtvec_alloc): rt->elem is now an array of rtx,
21399 (copy_most_rtx): Handle 't' format letter.
21400 * emit-rtl.c (gen_rtvec_v): rt_val->elem is an array of rtx.
21401 (gen_rtvec_vv): Delete function. All callers changed to use
21402 gen_rtvec_v instead.
21403 * print-rtl.c (print_rtx): Move special casing of NOTEs to
21404 the '0' format letter.
21406 * function.c (gen_mem_addressof): Don't use
21407 SET_ADDRESSOF_DECL; provide `decl' to gen_rtx_ADDRESSOF
21409 * integrate.c (copy_rtx_and_substitute): Likewise.
21410 Copy 't' slots with XTREE.
21411 (subst_constants): Treat 't' slots like '[swi]' slots.
21412 * cse.c (canon_hash, exp_equiv_p): Treat 't' slots like '0' slots.
21413 * jump.c (rtx_equal_for_thread_p): Likewise.
21414 * rtlanal.c (rtx_equal_p): Likewise.
21415 * stmt.c (expand_end_case): gen_rtx_ADDR_DIFF_VEC now takes
21416 only four arguments.
21417 * gengenrtl.c (type_from_format): Provide correct types for
21421 * tree.h [ENABLE_CHECKING] (TREE_CHECK, TREE_CLASS_CHECK):
21422 If a recent gcc is in use (always in stage2 and beyond), use
21423 statement expressions, so we don't make a function call unless
21424 the check fails. Evaluate arguments exactly once.
21425 (CHAIN_CHECK, DO_CHECK, DO_CHECK1, TREE_CHECK1,
21426 TREE_CLASS_CHECK1, TYPE_CHECK1, DECL_CHECK1, CST_CHECK1):
21428 (CST_OR_CONSTRUCTOR_CHECK, EXPR_CHECK): Redefine such that
21429 they evaluate their arguments exactly once, irrespective of
21430 the compiler in use.
21432 * tree.c [ENABLE_CHECKING]: Define whichever set of functions
21433 is used by the currently-enabled check macros. This is:
21434 (tree_check_failed, tree_class_check_failed): For gcc.
21435 (tree_check, tree_class_check, cst_or_constructor_check,
21436 expr_check): For other compilers.
21438 * gencheck.c: Do not define any *_CHECK1 macros.
21440 Thu Aug 19 14:42:38 1999 Mike Stump <mrs@wrs.com>
21441 Mark Mitchell <mark@codesourcery.com>
21443 * c-common.c (c_get_alias_set): Fix support for poitners and
21446 Thu Aug 19 11:51:22 EDT 1999 John Wehle (john@feith.com)
21448 * alias.c: Include tree.h.
21449 (nonlocal_reference_p, mark_constant_function): New functions.
21450 * flow.c (life_analysis): Call mark_constant_function.
21451 * rtl.h (mark_constant_function): Declare it.
21453 Thu Aug 19 15:02:01 1999 Nick Clifton <nickc@cygnus.com>
21455 * config/rs6000/rs6000.c (rs6000_override_options): Fix test for
21456 unrecognisable switches.
21458 Wed Aug 18 23:31:57 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
21460 * loop.c (recombine_givs): Set ix field after sorting.
21461 (recombine_givs): Remove bogus index / giv lockstep looping.
21463 Wed Aug 18 18:20:40 1999 Bernd Schmidt <bernds@cygnus.co.uk>
21465 * expmed.c (emit_store_flag): If UNSIGNEDP, call unsigned_condition
21467 (emit_store_flag_force): Use do_compare_rtx_and_jump.
21468 (do_cmp_and_jump): Formatting fixes.
21469 * expr.c (do_compare_and_jump): Renamed from compare; changed to call
21470 do_compare_rtx_and_jump instead of compare_from_rtx.
21471 (do_compare_rtx_and_jump): New function; mostly copied from
21473 (do_jump_for_compare): Delete.
21474 (expand_expr): Use do_compare_rtx_and_jump when handling MAX_EXPR and
21476 (do_jump): Use do_compare_and_jump or do_compare_rtx_and_jump instead
21477 of compare/do_jump_for_compare pairs.
21478 (do_jump_by_parts_greater): Use do_jump_by_parts_greater_rtx.
21479 (do_jump_by_parts_greater_rtx): Use do_compare_rtx_and_jump instead of
21480 compare_from_rtx/do_jump_for_compare pairs.
21481 (do_jump_by_parts_equality): Likewise.
21482 (do_jump_by_parts_equality_rtx): Likewise.
21483 * expr.h (do_compare_rtx_and_jump): Declare.
21484 * optabs.c (prepare_cmp_insn): New function, contains most of the code
21485 that used to be in emit_cmp_insn.
21486 (cmp_available_p): New function.
21487 (prepare_operand): New function.
21488 (emit_cmp_and_jump_insn_1): New function, contains some code that used
21489 to be in emit_cmp_insn.
21490 (prepare_float_lib_cmp): Renamed from emit_float_lib_cmp; change some
21491 parameters to be pointers; don't emit final compare but modify some of
21492 the values pointed to by the args so the caller can perform the
21493 correct comparison.
21494 (expand_binop): Call emit_store_flag_force with signed forms of
21496 (expand_abs): Use do_compare_rtx_and_jump instead of compare_from_rtx/
21497 emit_jump_insn pair.
21498 (emit_cmp_and_jump_insn): Use prepare_cmp_insn and
21499 emit_cmp_and_jump_insn_1. Call emit_queue.
21500 (emit_cmp_insn): Just call emit_cmp_and_jump_insns with zero for LABEL
21502 * flow.c (tidy_fallthru_edge): If HAVE_cc0, verify insn before a
21503 jump sets cc0 before deleting it.
21504 * integrate.c (expand_inline_function): Likewise.
21505 * unroll.c (unroll_loop): Similar changes in several places.
21506 (copy_loop_body): If HAVE_cc0, verify insn before a jump sets cc0
21507 before deleting it.
21509 Wed Aug 18 06:37:44 1999 Bernd Schmidt <bernds@cygnus.co.uk>
21511 * Makefile.in (insn-recog.o): Update dependencies.
21512 * genrecog.c (main): Make generated file include "function.h".
21514 Sat Aug 14 00:54:57 1999 Geoffrey Keating <geoffk@cygnus.com>
21516 * cse.c (cse_insn): Call never_reached_warning when a jump is
21517 changed to be unconditional.
21518 * flags.h: Declare warn_notreached.
21519 * flow.c (delete_block): Call never_reached_warning when
21520 a block is deleted.
21521 * jump.c (delete_barrier_successors): Call never_reached_warning
21522 when we delete everything after a BARRIER.
21523 (never_reached_warning): New function.
21524 * rtl.h: Declare never_reached_warning.
21525 * toplev.c (warn_notreached): New variable.
21526 (lang_independent_options): Set warn_notreached
21527 when -Wunreachable-code.
21528 (compile_file): We need line numbers for -Wunreachable-code.
21530 Tue Aug 17 22:06:11 1999 Jan Hubicka <hubicka@freesoft.cz>
21532 * haifa-sched.c (insn_unit): Fix typo on out of range test.
21533 * sched.c (insn_unit): Likewise.
21535 Tue Aug 17 21:57:23 1999 Andreas Schwab <schwab@suse.de>
21537 * combine.c (distribute_notes): Handle REG_EH_RETHROW.
21539 Tue Aug 17 17:39:43 EDT 1999 Andrew MacLeod <amacleod@cygnus.com>
21541 * flow.c (create_edge_list): Use xmalloc, not malloc.
21543 Tue Aug 17 01:40:54 1999 Loren Rittle <ljrittle@acm.org>
21545 * fixinc/inclhack.def (no_double_slash): Do not trash single-line
21546 C-style comments. Do not lose the character before double slash.
21548 Mon Aug 16 18:08:22 EDT 1999 Andrew MacLeod <amacleod@cygnus.com>
21550 * basic-block.h (struct edge_list): Stucture to maintain a vector
21552 (EDGE_INDEX_NO_EDGE, EDGE_INDEX, INDEX_EDGE_PRED_BB, INDEX_EDGE_SUCC_BB,
21553 INDEX_EDGE, NUM_EDGES): New Macros for accessing edge list.
21554 (create_edge_list, free_edge-List, print_edge_list, verify_edge_list):
21555 New function prototypes.
21556 * flow.c (create_edge_list): Function to create an edge list.
21557 (free_edge_list): Discards memory used by an edge list.
21558 (print_edge_list): Debug output showing an edge list.
21559 (verify_edge_list): Internal consistency check for an edge list.
21560 (find_edge_index): Function to find an edge index for a pred and succ.
21562 Mon Aug 16 11:56:36 1999 Mark Mitchell <mark@codesourcery.com>
21564 * tree.c (type_hash_add): Use permalloc to allocate nodes in the
21567 Mon Aug 16 17:04:15 1999 Jorn Rennecke <amylaar@cygnus.co.uk>
21569 * mips.h (CLASS_CANNOT_CHANGE_SIZE): Define.
21571 Fri Aug 13 15:20:43 1999 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
21573 * config/i386/freebsd.h (HANDLE_PRAGMA_PACK_PUSH_POP): Define.
21575 Fri Aug 13 10:21:28 1999 Nick Clifton <nickc@cygnus.com>
21577 * toplev.c (rest_of_compilation): Allow machine dependent
21578 reorganisation pass to place information into the RTL dump
21579 file if it so wishes.
21581 Sun Aug 15 12:41:21 1999 Jim Wilson <wilson@cygnus.com>
21583 * explow.c (hard_function_value): Use VOIDmode instead of
21585 * stmt.c (expand_return): Likewise.
21586 * stor-layout.c (get_best_mode): Likewise.
21588 * genemit.c (gen_expand): If next is MATCH_PAR_DUP, then output
21589 emit call instead of emit_insn call.
21591 Sat Aug 14 15:04:06 1999 Mumit Khan <khan@xraylith.wisc.edu>
21593 * configure.in: Handle --disable/enable-win32-registry.
21594 * install.texi: Document --disable/enable-win32-registry.
21595 * acconfig.h (ENABLE_WIN32_REGISTRY): New macro.
21596 (WIN32_REGISTRY_KEY): New macro.
21597 * prefix.c: Use to enable/disable win32-specific code.
21598 (lookup_key): Use versioned key.
21599 * configure: Regenerate.
21600 * config.in: Likewise.
21602 Fri Aug 13 17:41:55 1999 Jason Merrill <jason@yorick.cygnus.com>
21604 * cpplib.c (read_line_number): New fn, split out of...
21607 Fri Aug 13 14:18:27 1999 Gavin Romig-Koch <gavin@cygnus.com>
21609 tree.c (lang_unsave_expr_now) : New.
21610 (unsave_expr_now): Call lang_unsave_expr_now.
21611 tree.h (lang_unsave_expr_now) : New.
21613 Fri Aug 13 00:49:46 1999 Jason Merrill <jason@yorick.cygnus.com>
21615 * toplev.c (flag_new_exceptions): On by default.
21617 1999-08-13 Michael Meissner <meissner@cygnus.com>
21619 * Makefile.in (GCC_FOR_TARGET): Move -B./ after the tooldir -B.
21621 Fri Aug 13 01:29:57 1999 Alexandre Oliva <oliva@dcc.unicamp.br>
21623 * dwarfout.c (fundamental_type_code): Return FT_boolean for
21624 INTEGER_TYPE with precision==1, it's __java_boolean.
21626 Thu Aug 12 23:51:04 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
21628 * global.c (prune_preferences): Move some invariants out of the
21631 Thu Aug 12 15:30:29 1999 Jesse Perry (jap@unx.dec.com)
21633 * configure.in (alpha*-dec-osf*): Add osf5.
21635 Sun Aug 1 22:24:03 1999 Philip Blundell <philb@gnu.org>
21637 * configure.in: Rework handling of ARM GNU/Linux slightly.
21638 (arm*-*-linux-gnuoldld): New target.
21639 * configure: Regenerate.
21640 * install.texi (Configurations): Add arm-*-linux-gnu{oldld} and
21641 arm-*-elf. Mention that arm-*-linux-gnuaout is obsolete.
21642 * config/arm/linux-oldld.h: New file.
21643 * config/arm/linux-elf26.h: Don't include linux-elf.h.
21644 (TARGET_DEFAULT, SUBTARGET_LINK_SPEC, SUBTARGET_EXTRA_ASM_SPEC):
21646 * config/arm/linux-elf.h (ASM_SPEC): Define.
21647 (TARGET_DEFAULT, SUBTARGET_EXTRA_LINK_SPEC,
21648 SUBTARGET_EXTRA_ASM_SPEC, CPP_APCS_PC_DEFAULT): Add definitions
21649 for 26-bit APCS and old linker.
21650 (CPP_PREDEFINES): Define `__arm__'; don't define `arm' or
21652 (FP_DEFAULT): Define to FP_SOFT3 for all machines.
21653 * config/arm/linux-aout.h (CPP_PREDEFINES): Define `__arm__';
21654 don't define `arm' or `arm_elf'.
21655 * config/arm/t-linux (EXTRA_MULTILIB_PARTS, MULTILIB_OPTIONS,
21656 MULTILIB_DIRNAMES): Define. Fix typo in comment.
21658 Thu Aug 12 10:14:47 1999 Andreas Schwab <schwab@suse.de>
21660 * rtl.texi: Fix typo.
21662 Wed Aug 11 23:50:57 1999 Jason Merrill <jason@yorick.cygnus.com>
21664 * invoke.texi (C++ Dialect Options): Add -fms-extensions.
21666 Wed Aug 11 12:59:37 1999 Mark Mitchell <mark@codesourcery.com>
21668 * extend.texi (C++ Signatures): Remove node.
21669 * invoke.texi: Remove discussion of -fhandle-signatures,
21670 signature, sigof, __signature__, and __sigof__.
21672 Wed Aug 11 03:38:25 1999 Jeffrey A Law (law@cygnus.com)
21674 * Makefile.in (JAVAGC): Removed.
21676 Wed Aug 11 02:13:26 1999 Mumit Khan <khan@xraylith.wisc.edu>
21678 * i386/cygwin.h (ASM_OUTPUT_ALIGNED_BSS): Define.
21680 1999-08-11 Mark Elbrecht <snowball3@bigfoot.com>
21682 * i386/djgpp.h (ASM_OUTPUT_ALIGNED_BSS): Define.
21684 1999-08-11 Richard Earnshaw (rearnsha@arm.com)
21686 * emit-rtl.c (mark_reg_pointer): Don't increase the alignment of
21687 a register that is already known to be a pointer.
21689 1999-08-11 Bruce Korb <ddsinc09@ix.netcom.com>
21691 * fixinc/inclhack.tpl: Only install assert.h conditionally.
21692 * fixinc/inclhack.sh: Regenerated.
21693 * fixinc/fixincl.sh: Regenerated.
21695 Wed Aug 11 00:34:22 1999 Joe Buck <jbuck@synopsys.com>
21697 * invoke.texi: s/GNU CC/GCC/ for consistency with gcc.texi.
21698 Fix documentation of -ansi flag to describe its C++ behavior.
21699 Remove bogus reference to GCC 2.9.
21701 Tue Aug 10 17:19:02 1999 Jim Wilson <wilson@cygnus.com>
21703 * config/sh/sh.c (machine_dependent_reorg): Only call PUT_MODE on
21704 note if it is non-NULL.
21706 Tue Aug 10 10:47:42 EDT 1999 Andrew MacLeod <amacleod@cygnus.com>
21708 * except.h (eh_nesting_info): Add new structure defintion.
21709 (init_eh_nesting_info, free_eh_nesting_info): Add function prototypes.
21710 (reachable_handlers, update_rethrow_references): Add function
21712 * rtl.h (struct rtvec_def): Update comments. REG_EH_RETHROW takes
21713 a rethrow symbol instead of an integer exception region number.
21714 * flow.c (Make_edges): Use new exception nesting routines to determine
21715 which handlers are reachable from a CALL or asynchronous insn.
21716 Dont add an edge for calls with a REG_EH_REGION of -1 to non-local
21718 (delete_eh_regions): Update rethrow labels, and don't delete
21719 regions which are the target of a rethrow.
21720 * except.c (struct func_eh_entry): Add rethrow_ref field, now we can
21721 avoid overloading the SYMBOL_REF_USED flag.
21722 (rethrow_symbol_map): Use new rethrow_ref field.
21723 (rethrow_used): Use new rethrow_ref field.
21724 (expand_rethrow): REG_EH_RETHROW now has a SYMBOL_REF instead
21725 of an integer. Fix formatting.
21726 (output_exception_table_entry): Use new rethrow_ref field.
21727 (can_throw): Check for EH_REGION_NOTE before deciding
21728 whether a CALL can throw or not.
21729 (scan_region): Call rethrow_used() instead of accessing data structure.
21730 (update_rethrow_references): New function to make sure only regions
21731 which are still targets of a rethrow are flagged as such.
21732 (process_nestinfo): New static function to initialize a handler
21733 list for a specific region.
21734 (init_eh_nesting_info): New function to allocate and initialize
21735 the list of all EH handlers reachable from all regions.
21736 (reachable_handlers): New function to retrieve the list of handlers
21737 reachable from a specific region and insn.
21738 (free_eh_nesting_info): New function to dispose of a list of
21739 reachable handlers.
21741 Tue Aug 10 10:39:31 EDT 1999 Andrew MacLeod <amacleod@cygnus.com>
21743 * flow.c (split_edge): Set JUMP_LABEL field.
21744 (commit_one_edge_insertion): Set head correctly for insert_before.
21745 When inserting insns, update insn block numbers if allocated.
21747 Tue Aug 10 09:26:07 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
21749 * dwarf2out.c (dwarf2out_frame_debug_expr, add_incomplete_type,
21750 retry_incomplete_types): Add static prototype.
21751 (stripattributes, dwarf_cfi_name, ASM_OUTPUT_DWARF_STRING,
21752 dwarf_tag_name, dwarf_attr_name, dwarf_form_name,
21753 dwarf_stack_op_name, dwarf_type_encoding_name, add_AT_string,
21754 dwarf2_name, add_name_attribute, lookup_filename, dwarf2out_line,
21755 dwarf2out_start_source_file, dwarf2out_define, dwarf2out_undef):
21758 * dwarf2out.h (dwarf2out_define, dwarf2out_undef,
21759 dwarf2out_start_source_file, dwarf2out_line): Likewise.
21761 Tue Aug 10 09:21:46 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
21763 * output.h (assemble_name): Constify a char*.
21765 * varasm.c (UNIQUE_SECTION, assemble_start_function,
21766 assemble_variable, assemble_name): Likewise.
21768 * dwarf2out.c (ASM_NAME_TO_STRING): Likewise.
21770 * arm/pe.c (arm_pe_unique_section): Likewise.
21772 * i386/cygwin.h (STRIP_NAME_ENCODING): Likewise.
21774 * i386/i386-interix.h (STRIP_NAME_ENCODING): Likewise.
21776 * i386/interix.c (i386_pe_unique_section): Likewise.
21778 * i386/win32.h (STRIP_NAME_ENCODING): Likewise.
21780 * i386/winnt.c (i386_pe_unique_section): Likewise.
21782 * m32r/m32r.h (ASM_OUTPUT_LABELREF): Likewise.
21784 * mn10200/mn10200.h (ASM_OUTPUT_LABELREF): Likewise.
21786 * mn10300/mn10300.h (ASM_OUTPUT_LABELREF): Likewise.
21788 * pa/pa.c (output_call): Likewise.
21790 * pa/pa.h (ASM_OUTPUT_MI_THUNK): Likewise.
21792 * pa/som.h (ASM_OUTPUT_FUNCTION_PREFIX): Likewise.
21794 * rs6000/rs6000.c (rs6000_output_load_toc_table, output_toc):
21797 * rs6000/rs6000.h (RS6000_OUTPUT_BASENAME, STRIP_NAME_ENCODING):
21800 * rs6000/sol2.h (ASM_OUTPUT_SOURCE_LINE): Likewise.
21802 * rs6000/sysv4.h (ASM_DECLARE_FUNCTION_NAME, ASM_OUTPUT_INT,
21803 STRIP_NAME_ENCODING, ASM_OUTPUT_LABELREF): Likewise.
21805 * v850/v850.h (ASM_OUTPUT_LABELREF): Likewise.
21807 Mon Aug 9 19:54:05 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
21809 * real.c (GET_REAL, PUT_REAL): Use memcpy instead of bcopy.
21811 Mon Aug 9 19:36:00 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
21813 * tree.h (lang_identify): Constify a char*.
21814 (print_error_function): Add extern prototype. Constify a char*.
21816 * c-lang.c (lang_identify): Constify a char*.
21818 * objc/objc-act.c (lang_identify): Constify a char*.
21820 Mon Aug 9 16:21:53 1999 Bernd Schmidt <bernds@cygnus.co.uk>
21822 * genpeep.c (main): Make generated file include "function.h".
21823 * arm.c (function_really_clobbers_lr): Delete INLINE_HEADER case.
21825 Mon Aug 9 10:08:50 1999 Bernd Schmidt <bernds@cygnus.co.uk>
21827 * Makefile.in: Update dependencies.
21828 * alias.c: Include "function.h"
21829 * c-decl.c: Likewise.
21830 * caller-save.c: Likewise.
21831 * calls.c: Likewise.
21832 * combine.c: Likewise.
21834 * explow.c: Likewise.
21835 * final.c: Likewise.
21836 * global.c: Likewise.
21837 * graph.c: Likewise.
21838 * local-alloc.c: Likewise.
21839 * loop.c: Likewise.
21840 * optabs.c: Likewise.
21841 * profile.c: Likewise.
21842 * recog.c: Likewise.
21843 * regclass.c: Likewise.
21844 * regmove.c: Likewise.
21845 * reload.c: Likewise.
21846 * reorg.c: Likewise.
21847 * resource.c: Likewise.
21848 * sched.c: Likewise.
21849 * stupid.c: Likewise.
21850 * config/1750a/1750a.c: Likewise.
21851 * config/a29k/a29k.c: Likewise.
21852 * config/arc/arc.c: Likewise.
21853 * config/arm/arm.c: Likewise.
21854 * config/arm/thumb.c: Likewise.
21855 * config/c4x/c4x.c: Likewise.
21856 * config/clipper/clipper.c: Likewise.
21857 * config/convex/convex.c: Likewise.
21858 * config/fx80/fx80.c: Likewise.
21859 * config/i860/i860.c: Likewise.
21860 * config/m68k/m68k.c: Likewise.
21861 * config/m88k/m88k.c: Likewise.
21862 * config/mips/mips.c: Likewise.
21863 * config/pdp11/pdp11.c: Likewise.
21864 * config/pyr/pyr.c: Likewise.
21865 * config/romp/romp.c: Likewise.
21866 * config/sh/sh.c: Likewise.
21867 * config/tahoe/tahoe.c: Likewise.
21868 * config/vax/vax.c: Likewise.
21869 * config/we32k/we32k.c: Likewise.
21870 * config/sparc/sparc.c: Include "function.h".
21871 (mem_min_alignment): Test current_function rather than
21872 regno_pointer_align.
21873 * config/pa/pa.c: Likewise.
21874 (compute_frame_size): Delete declaration of
21875 current_function_outgoing_args_size.
21876 * config/arc/arc.h (current_function_varargs): Delete declaration.
21877 * config/elxsi/elxsi.h (current_function_calls_alloca): Delete
21879 * config/i370/i370.h (current_function_outgoing_args_size): Delete
21881 * config/i386/i386.h (FINALIZE_PIC): Delete declaration of
21882 current_function_uses_pic_offset_table.
21883 * config/m68k/a-ux.h (FUNCTION_EXTRA_EPILOGUE): Delete declaration
21884 of current_function_returns_pointer.
21885 * config/m68k/altos3068.h (FUNCTION_EXTRA_EPILOGUE): Likewise.
21886 * config/m68k/linux.h (FUNCTION_EXTRA_EPILOGUE): Likewise.
21887 * config/m68k/m68kv4.h (FUNCTION_EXTRA_EPILOGUE): Likewise.
21888 * config/m68k/mot3300.h (FUNCTION_EXTRA_EPILOGUE): Likewise.
21889 * config/m68k/pbb.h (FUNCTION_EXTRA_EPILOGUE): Likewise.
21890 * config/m68k/tower-as.h (FUNCTION_EXTRA_EPILOGUE): Likewise.
21891 * config/m88k/m88k.c: Include "function.h"
21892 (call_used_regs, current_function_pretend_args_size,
21893 current_function_outgoing_args_size, frame_pointer_needed): Delete
21895 * config/m88k/m88k.h (current_function_pretend_args_size): Delete
21897 * config/mips/mips.h (current_function_calls_alloca): Delete
21899 * config/mn10200/mn10200.h (current_function_needs_context,
21900 rtx_equal_function_value_matters): Delete declarations.
21901 * config/ns32k/ns32k (current_function_uses_pic_offset_table,
21902 flag_pic): Delete declarations.
21903 * config/pa/pa.h (current_function_pretend_args_size,
21904 current_function_decl): Delete declarations.
21905 * config/pa/som.h (current_function_varargs): Delete declaration.
21906 * config/pdp11/pdp11.h (current_function_pretend_args_size): Delete
21908 * config/pyr/pyr.h (current_function_pretend_args_size,
21909 current_function_args_size, current_function_calls_alloca): Delete
21911 * config/sh/sh.h (current_function_varargs): Delete declaration.
21912 * config/sparc/sparc.h (current_function_outgoing_args_size,
21913 current_function_calls_alloca, current_function_decl): Delete
21915 * config/spur/spur.h (current_function_pretend_args_size,
21916 current_function_calls_alloca): Delete declarations.
21917 * config/v850/v850.c (current_function_outgoing_args_size): Delete
21919 * config/vax/vms.h (current_function_name): Delete declaration.
21920 * gcse.c: Include "function.h".
21921 (current_function_name, current_function_calls_setjmp): Delete
21923 * haifa-sched.c: Include "function.h".
21924 (forced_labels): Delete declaration.
21925 * jump.c: Likewise.
21926 * reg-stack.c: Likewise.
21927 * reload1.c: Likewise.
21928 * genemit.c (main): Make generated file include function.h.
21929 * genoutput.c (output_prologue): Likewise.
21931 * builtins.c (saveregs_value, apply_args_value): Delete variables.
21932 * emit-rtl.c (reg_rtx_no, first_label_num, first_insn, last_insn,
21933 sequence_rtl_expr, cur_insn_uid, last_linenum, last_filename,
21934 regno_pointer_flag, regno_pointer_flag_length, regno_pointer_align,
21935 regno_reg_rtx, sequence_stack): Delete variables. Add accessor
21936 macros for some of them.
21937 (emit_filename, emit_lineno): Delete declarations.
21938 (gen_reg_rtx): Use memset/memcpy instead of bzero/bcopy. Access
21939 regno_pointer_* variables through current_function.
21940 (gen_inline_header_rtx): Delete function.
21941 (save_emit_status): Delete function.
21942 (set_new_last_label_num): New function.
21943 (clear_emit_caches): New function.
21944 (restore_emit_status): Just clear last_labelnum and call
21946 (get_last_insn_anywhere): Variable sequence_stack is now accessed
21947 through macro seq_stack.
21948 (add_insn_after): Likewise.
21949 (add_insn_before): Likewise.
21950 (remove_insn): Likewise.
21951 (pop_topmost_sequence): Likewise.
21952 (in_sequence_p): Likewise.
21953 (start_sequence_for_rtl_expr): Likewise.
21954 (start_sequence): Likewise, and likewise for
21955 sequence_rtl_expr/seq_rtl_expr.
21956 (push_topmost_sequence): Likewise.
21957 (end_sequence): Likewise.
21958 (init_virtual_regs): Now takes a "struct emit_status *" argument.
21959 All callers changed. Store into that pointer instead of globals.
21960 (init_emit): Allocate emit elt of current_function.
21961 Changes for sequence_rtl_expr/sequence_stack renaming.
21962 Call clear_emit_caches instead of doing it in-line.
21963 Access regno_pointer_* variables through current_function.
21964 (init_emit_once) Don't clear sequence_stack.
21966 * expr.c (pending_stack_adjust, inhibit_defer_pop, pending_chain):
21968 (arg_pointer_save_area): Delete declaration.
21969 (finish_expr_for_function): Renamed from init_queue; no longer static.
21970 (init_expr): Don't call init_queue.
21971 (save_expr_status, restore_expr_status): Delete functions.
21972 (expand_expr): Changes to reflect new layout of struct function.
21973 Don't access current_function_check_memory_usage when current_function
21975 * expr.h (forced_labels, save_expr_regs, saveregs_value,
21976 apply_args_value, current_function_calls_alloca, inhibit_defer_pop,
21977 current_function_outgoing_args_size, current_function_arg_offset_rtx,
21978 current_function_uses_const_pool, function_call_count,
21979 current_function_uses_pic_offset_table, nonlocal_labels,
21980 current_function_internal_arg_pointer, nonlocal_goto_stack_level,
21981 current_function_check_memory_usage, nonlocal_goto_handler_slots,
21982 pending_stack_adjust, target_temp_slot_level, temp_slot_level): Delete
21984 (finish_expr_for_function): Declare.
21985 * flags.h (current_function_has_nonlocal_label,
21986 current_function_has_nonlocal_goto, current_function_is_thunk,
21987 current_function_has_computed_jump): Delete declarations.
21988 * flow.c (forced_labels): Delete declaration.
21989 * function.c (current_function_pops_args,
21990 current_function_returns_struct, current_function_returns_pcc_struct,
21991 current_function_needs_context, current_function_calls_setjmp,
21992 current_function_calls_longjmp, current_function_has_nonlocal_label,
21993 current_function_has_nonlocal_goto, current_function_is_thunk,
21994 current_function_has_computed_jump, current_function_calls_alloca,
21995 current_function_contains_functions, current_function_returns_pointer,
21996 current_function_epilogue_delay_list, current_function_args_size,
21997 current_function_pretend_args_size, current_function_arg_offset_rtx,
21998 current_function_outgoing_args_size, current_function_varargs,
21999 current_function_stdarg, current_function_args_info, cleanup_label,
22000 current_function_name, current_function_uses_const_pool,
22001 current_function_instrument_entry_exit, current_function_return_rtx,
22002 current_function_uses_pic_offset_table, nonlocal_labels,
22003 current_function_internal_arg_pointer, current_function_cannot_inline,
22004 current_function_check_memory_usage, function_call_count,
22005 nonlocal_goto_handler_slots, nonlocal_goto_handler_labels,
22006 nonlocal_goto_stack_level, return_label, save_expr_regs,
22007 stack_slot_list, rtl_expr_chain, tail_recursion_label, temp_slots,
22008 tail_recursion_reentry, arg_pointer_save_area, frame_offset,
22009 context_display, trampoline_list, parm_birth_insn, invalid_stack_slot,
22010 last_parm_insn, max_parm_reg, parm_reg_stack_loc, sequence_rtl_expr,
22011 temp_slot_level, var_temp_slot_level, target_temp_slot_level):
22013 (push_function_context_to): Don't save them. Don't call
22014 save_storage_status, save_emit_status or save_expr_status.
22015 (pop_function_context_from): Don't restore them. Don't call
22016 restore_storage_status or restore_expr_status.
22017 (get_func_frame_size): New function.
22018 (get_frame_size): Use it.
22019 (assign_outer_stack_local): Reflect some member name changes in struct
22021 (put_reg_into_stack): Likewise.
22022 (assign_stack_temp_for_type): sequence_rtl_expr was renamed to
22024 (fixup_var_refs): Likewise.
22025 (fix_lexical_addr): Likewise.
22026 (trampoline_address): Likewise.
22027 (prepare_function_start): Clear field inlinable of current_function.
22028 (init_function_for_compilation): New function.
22029 (expand_dummy_function_end): New function.
22030 (expand_function_end): Call finish_expr_for_function.
22031 * function.h (struct emit_status): New; fields moved here from struct
22032 function and from global variables. Add accessor macros for some of
22034 (struct expr_status): Likewise.
22035 (REGNO_POINTER_ALIGN, REGNO_POINTER_FLAG): Moved here from regs.h.
22036 (struct function): Add fields expr and emit, inlinable, inl_emit,
22037 original_arg_vector, original_decl_initial, inl_last_parm_insn,
22038 inl_max_label_num. Add many comments.
22039 Add accessor macros for all elts of struct function that no longer
22040 have a global variable.
22041 (cleanup_label, return_label, frame_offset, tail_recursion_label,
22042 tail_recursion_reentry, arg_pointer_save_area, rtl_expr_chain,
22043 stack_slot_list): Delete declarations.
22044 (get_func_frame_size): Declare.
22045 (save_expr_status, restore_expr_status, save_emit_status,
22046 save_storage_status, restore_storage_status): Delete declarations.
22047 (init_virtual_regs): Declare.
22048 * output.h (current_function_pops_args,
22049 current_function_returns_struct, current_function_returns_pcc_struct,
22050 current_function_needs_context, current_function_calls_setjmp,
22051 current_function_calls_longjmp, current_function_calls_alloca,
22052 current_function_has_nonlocal_label, current_function_varargs,
22053 current_function_has_computed_jump, current_function_returns_pointer,
22054 current_function_contains_functions, current_function_args_size,
22055 current_function_pretend_args_size, current_function_stdarg,
22056 current_function_outgoing_args_size, current_function_args_info,
22057 current_function_name, current_function_return_rtx,
22058 current_function_epilogue_delay_list,
22059 current_function_uses_const_pool, current_function_cannot_inline):
22060 Delete declarations.
22061 * regs.h (reg_rtx_no, regno_pointer_flag, regno_pointer_flag_length,
22062 regno_reg_rtx): Delete declaration.
22063 (REGNO_POINTER_FLAG): Delete macro.
22064 * stmt.c (expand_goto): Changes to reflect that some fields in struct
22065 function were renamed.
22066 * stor-layout.c (save_storage_status, restore_storage_status): Delete
22068 * toplev.c: Include "function.h".
22069 (current_function_decl): Delete declaration.
22070 (compile_file): Call init_dummy_function_start and
22071 expand_dummy_function_end around some initializations that need to
22073 (rest_of_compilation): Use DECL_SAVED_INSNS properly.
22074 Call init_function_for_compilation.
22075 * unroll.c: Include "function.h"
22076 (unroll_loop): Access regno_pointer_* variables through
22079 * tree.h (struct tree_decl): Add elt f to saved_insns member.
22080 (DECL_SAVED_INSNS): use it.
22081 (expand_dummy_function_end): Declare.
22082 (init_function_for_compilation): Declare.
22083 * calls.c (calls_function_1): Change use of DECL_SAVED_INSNS now
22084 that it's no longer an INLINE_HEADER.
22085 (expand_call): Likewise.
22086 * integrate.c (finish_inline): Delete function.
22087 (max_parm_reg, parm_reg_stack_loc): Delete declarations.
22088 (initialize_for_inline): Delete min_labelno, max_labelno and max_reg
22089 args. Don't generate an INLINE_HEADER rtx, just return the arg
22090 vector. All callers changed.
22091 (save_for_inline_copying): Create a duplicate struct emit_status to
22092 hold the emit state for compiling the current function. Use this and
22093 the other new fields in struct function that are for integration
22094 instead of an INLINE_HEADER.
22095 Use memcpy instead of bcopy.
22096 Store the current struct function in DECL_SAVED_INSNS of fndecl.
22097 (save_for_inline_nocopy): Similar changes, except no new emit_status
22099 (expand_inline_function): Get information from function structure,
22100 not from an inline header rtx.
22101 (output_inline_function): Lose code to extract the necessary
22102 information from an inline header; simply put back the function
22103 structure into current_function. Clear its inlinable elt.
22104 * rtl.def (INLINE_HEADER): Delete.
22105 * rtl.h: Delete all accessors for an INLINE_HEADER.
22106 (gen_inline_header_rtx): Delete declaration.
22107 (regno_reg_rtx, regno_pointer_align, nonlocal_goto_handler_labels):
22108 Delete declarations.
22109 (REGNO_POINTER_ALIGN): Delete.
22110 (clear_emit_caches): Declare.
22111 (set_new_last_label_num): Declare.
22113 Mon Aug 9 01:52:24 1999 Jason Merrill <jason@yorick.cygnus.com>
22115 * print-tree.c (print_node): Print base for OFFSET_TYPEs.
22117 * except.c (expand_eh_region_start_for_decl): Always start a new block.
22118 * stmt.c (is_eh_region): Make sure current_function is present, too.
22120 Mon Aug 9 01:15:24 1999 Jeffrey A Law (law@cygnus.com)
22122 * pa.h (HARD_REGNO_MODE_OK): Correctly handle FPregs, even when
22123 for 64bit PA targets.
22125 * pa.h (SELECT_SECTION): Define.
22126 * som.h (SELECT_SECTION): Delete.
22128 Sun Aug 8 15:13:20 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
22130 * alias.c (init_alias_analysis): Wrap call to
22131 `prologue_epilogue_contains' within HAVE_prologue||HAVE_epilogue.
22133 1999-08-07 Bruce Korb <autogen@linuxbox.com>
22135 * fixinc/inclhack.def(irix_asm_apostrophe): IRIX 5.2's
22136 <sys/asm.h> contains an asm comment with an apostrophe
22137 * fixinc/inclhack.sh: regen
22138 * fixinc/fixincl.x: regen
22140 Sat Aug 7 19:37:07 1999 Richard Henderson <rth@cygnus.com>
22142 * function.c (init_function_start): Clear prologue & epilogue.
22143 (prologue_epilogue_contains): New function.
22144 * alias.c (init_alias_analysis): Use it.
22145 * rtl.h (prologue_epilogue_contains): Declare it.
22147 Sat Aug 7 19:32:16 1999 Richard Henderson <rth@cygnus.com>
22149 * jump.c (onlyjump_p): New function.
22150 * rtl.h: Declare it.
22151 * flow.c (delete_unreachable_blocks): Use onlyjump_p instead
22152 of condjump_p in calling tidy_fallthru_edge and merge_blocks.
22154 Sat Aug 7 17:09:36 1999 Richard Henderson <rth@cygnus.com>
22156 * global.c (build_insn_chain): Use EXECUTE_IF_SET_IN_REG_SET
22157 to invert loops. Simplify block scanning.
22159 Sat Aug 7 02:11:13 1999 Bernd Schmidt <bernds@cygnus.co.uk>
22161 * gcse.c (hash_scan_set): Treat SYMBOL_REFs like CONST_INTs.
22162 (cprop_insn): Treat SYMBOL_REFs like CONST_INTs.
22164 1999-08-07 Jonathan Larmour <jlarmour@cygnus.co.uk>
22166 * config/sparc/liteelf.h: New file to support sparclite-elf target
22167 * config/sparc/t-sp86x: New file to support sparc86x targets
22168 * config/sparc/sp86x-aout.h: New file to support sparc86x-aout target
22169 * config/sparc/sp86x-elf.h: New file to support sparc86x-elf target
22170 * configure.in: Support above target triplets
22171 * configure: Regenerated
22173 Sat Aug 7 01:39:27 1999 Philippe De Muyter <phdm@macqel.be>
22175 * fixinc/server.c (server_setup): Do not prefix function used as
22176 parameter with `&'.
22178 Sat Aug 7 00:21:20 1999 Richard Henderson <rth@cygnus.com>
22180 * alpha.md (movhi and movqi patterns): Correct predicate for !BWX.
22181 Remove fp reg alternatives.
22183 Sat Aug 7 00:06:54 1999 Jeffrey A Law (law@cygnus.com)
22185 * Makefiin (TAROUTOPTS): Kill.
22186 (install-headers-tar): Use "xpf" for tar headerfile extraction
22187 * i370/x-oe (TAROUTOPTS): Delete.
22188 * m68k/x-apollo68 (TAROUTOPTS): Delete.
22189 * m68k/x-hp320 (TAROUTOPTS): Delete.
22190 * m68k/x-hp320g (TAROUTOPTS): Delete.
22191 * gcc.texi: Update bug reporting text.
22193 1999-08-6 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
22195 * reg-stack.c (change_stack) Fixed problem with negative array index.
22197 Fri Aug 6 23:08:44 1999 Jeffrey A Law (law@cygnus.com)
22199 * extend.texi, install.texi: Fix spelling mistakes.
22201 * Makefile.in (PREMADE_ATTRTAB_MD, PREMADE_ATTRTAB): Delete.
22202 (s-attrtab); No longer try to use pre-made insn-attrtab file.
22203 * mips/t-bsd: Delete references to obsolete PREMADE_ATTRTAB and
22204 PREMADE_ATTRTAB_MD.
22205 * mips/t-ecoff: Likewise.
22206 * mips/t-elf: Likewise.
22207 * mips/t-mips: Likewise.
22208 * mips/t-osfrose: Likewise.
22209 * mips/t-r3900: Likewise.
22210 * mips/t-svr3: Likewise.
22211 * mips/t-svr4: Likewise.
22212 * mips/t-ultrix: Likewise.
22214 * gcc.texi: Document recommend means to provide software floating
22215 point libraries in libgcc.a
22217 1999-08-06 Jason Merrill <jason@yorick.cygnus.com>
22219 * c-lex.c (yylex): We can have a number with no digits.
22221 Fri Aug 6 16:53:55 EDT 1999 John Wehle (john@feith.com)
22223 * jump.c (delete_prior_computation): New function, broken
22224 out of delete_computation. Check for side effects with
22225 side_effects_p instead of FIND_REG_INC_NOTE. Handle
22226 multi-word hard registers.
22227 (delete_computation): Use it. Check for side effects with
22228 side_effects_p instead of FIND_REG_INC_NOTE. Synthesize a
22229 missing REG_DEAD note for a register which is both set and
22232 Fri Aug 6 11:05:29 1999 Jeffrey A Law (law@cygnus.com)
22234 * elf.h (TEXT_SPACE_P, FUNCTION_NAME_P): Delete.
22235 (ASM_GLOBALIZE_LABEL, ASM_OUTPUT_INT, ASM_OUTPUT_DOUBLE_INT): Likewise.
22236 (ASM_FILE_START): Import _mcount with the right type.
22237 (ASM_DECLARE_FUNCTION_NAME): Define.
22238 (ASM_OUTPUT_EXTERNAL, ASM_OUTPUT_EXTERNAL_LIBCALL): Define.
22239 * pa.c (output_function_prologue): Always emit the function's label
22241 * pa.h (TEXT_SPACE_P): Define.
22242 (FUNCTION_NAME_P, ENCODE_SECTION_INFO, STRIP_NAME_ENCODING): Likewise.
22243 (ASM_OUTPUT_INT, ASM_OUTPUT_DOUBLE_INT, ASM_GLOBALIZE_LABEL): Likewise.
22244 * som.h (TEXT_SPACE_P): Delete.
22245 (FUNCTION_NAME_P, ENCODE_SECTION_INFO, STRIP_NAME_ENCODING): Likewise.
22246 (ASM_GLOBALIZE_LABEL, ASM_OUTPUT_INT): Likewise.
22248 Thu Aug 5 19:29:39 1999 Jim Wilson <wilson@cygnus.com>
22250 * expr.c (emit_group_load): Allow src to be a CONCAT.
22252 Thu Aug 5 22:27:15 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
22254 * config/sh/lib1funcs.asm (___movstrSI0): Change or r0,r0,r0 to nop.
22255 (___mulsi3): Use '!' comment character.
22257 Thu Aug 5 13:34:14 1999 Bernd Schmidt <bernds@cygnus.co.uk>
22259 * reload1.c (maybe_fix_stack_asms): Also declare P as "const char *".
22261 Thu Aug 5 02:40:42 1999 Jeffrey A Law (law@cygnus.com)
22263 * gcc.c: Update URLs and mail addresses.
22264 * gcc.texi: Likewise.
22266 Thu Aug 5 01:14:13 1999 Daniel Jacobowitz <drow@false.org>
22268 * rs6000.c (current_file_function_operand): Return zero for
22270 (rs6000_encode_section_info): Do not set SYMBOL_REF_FLAG for
22272 * rs6000.h (ENCODE_SECTION_NIFO): Do not set SYMBOL_REF_FLAG
22275 Thu Aug 5 00:56:30 1999 Geoffrey Keating <geoffk@cygnus.com>
22277 * rs6000.c (rs6000_stack_info): For ABI_V4/ABI_SOLARIS -fpic, always
22278 allocate space in the stack frame for the PIC register.
22280 Thu Aug 5 00:20:47 1999 Jeffrey A Law (law@cygnus.com)
22282 * m68k.md (xordi3, anddi3): These patterns are not available on
22285 Wed Aug 4 23:39:20 1999 Mark Mitchell <mark@codesourcery.com>
22287 * real.c (GET_REAL): Don't violate ANSI/ISO aliasing rules.
22288 (PUT_REAL): Likewise.
22290 Wed Aug 4 20:45:04 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
22292 * final.c (shorten_branches): Don't add an alignment for loops
22293 that have no label inside.
22295 Wed Aug 4 16:39:24 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
22297 * builtins.c (expand_builtin_memcmp, expand_builtin_strcmp): Wrap
22298 prototypes in macro HAVE_cmpstrsi.
22300 * cpplib.c (cpp_get_token): Remove unused label `op3'.
22302 * emit-rtl.c (operand_subword): Remove unused variable
22305 * rtl.c (shallow_copy_rtx): Remove unused variable `format_ptr'.
22307 * tree.c (chainon): Wrap variable `t2' in macro ENABLE_CHECKING.
22309 Wed Aug 4 13:29:23 1999 Zack Weinberg <zack@bitmover.com>
22311 * cpphash.c (macroexpand): Delete leading whitespace when arg
22312 is concatenated before.
22313 (unsafe_chars): Correct test for whether + and - can extend a
22316 * cppinit.c (cpp_start_read): Do dependencies for
22317 -include/-imacros files also.
22319 * cpplib.c (cpp_scan_buffer): In no-output mode, don't bother
22320 tokenizing non-directive lines.
22321 (cpp_expand_to_buffer): Temporarily disable no-output mode.
22322 * cppmain.c: In no-output mode, just call cpp_scan_buffer for
22325 Wed Aug 4 12:53:44 1999 Jason Merrill <jason@yorick.cygnus.com>
22327 * expr.c (expand_expr, case PLUS_EXPR): Fix parallel case, too.
22329 * c-lex.c: Sync with C++ frontend.
22330 (linemode): New variable.
22331 (parse_float): imag, conversion_errno, and type are output only.
22332 (yylex): Adjust. Move initial '.' case into main switch.
22334 (handle_generic_pragma): Just deal with tokens.
22335 (readescape): Use ISXDIGIT and ISGRAPH.
22336 * c-parse.in: Add END_OF_LINE token.
22338 * c-lex.c (lang_init): Generalize.
22339 (nextchar): Remove. Replace uses with UNGETC.
22340 (skip_white_space): Handle linemode here. Optimize for cpplib.
22341 (skip_white_space_on_line): Remove.
22342 (extend_token_buffer_to): New fn.
22343 (extend_token_buffer): Use it.
22344 (read_line_number, check_newline): Just deal with tokens.
22345 (token_getch, token_put_back): New fns.
22346 (yylex): Use them. More cpplib optimizations. Simplify.
22348 Wed Aug 4 12:53:44 1999 Michael Tiemann <tiemann@holodeck.cygnus.com>
22349 Jason Merrill <jason@yorick.cygnus.com>
22351 * c-lex.c (init_parse): Set cpp_token to CPP_DIRECTIVE.
22352 (consume_string): Make this smart about USE_CPPLIB.
22353 (check_newline): Rewrite to be intelligent about USE_CPPLIB.
22354 (yylex): Rewrite to be intelligent about USE_CPPLIB.
22355 Also, clean up cases where we redundantly set token_buffer[0].
22356 (read_line_number): New fn.
22357 (ignore_escape_flag): New variable.
22359 Wed Aug 4 13:12:17 1999 Jeffrey A Law (law@cygnus.com)
22361 * a29k/t-a29kbare: Fix some comments.
22362 (LIB2FUNCS_EXTRA): Remove fp-bit.c and dp-bit.c
22363 (FPBIT, DPBIT): Define.
22364 * a29k/t-vx29k: Likewise.
22365 * arc/t-arc: Likewise.
22366 * arm/t-arm-elf: Likewise.
22367 * arm/t-bare: Likewise.
22368 * arm/t-pe: Likewise.
22369 * arm/t-pe-thumb: Likewise.
22370 * arm/t-semi: Likewise.
22371 * arm/t-thumb: Likewise.
22372 * arm/t-thumb-elf: Likewise.
22373 * arm/t-thumb-linux: Likewise.
22374 * h8300/t-h8300: Likewise.
22375 * i960/t-i960: Likewise.
22376 * i960/t-vxworks960: Likewise.
22377 * m32r/t-m32r: Likewise.
22378 * mips/t-ecoff: Likewise.
22379 * mips/t-elf: Likewise.
22380 * mips/t-r3900: Likewise.
22381 * pa/t-pro: Likewise.
22382 * rs6000/t-aix43: Likewise.
22383 * rs6000/t-beos: Likewise.
22384 * rs6000/t-newas: Likewise.
22385 * rs6000/t-ppccomm: Likewise.
22386 * rs6000/t-rs6000: Likewise.
22387 * rs6000/t-winnt: Likewise.
22388 * rs6000/t-xnewas: Likewise.
22389 * rs6000/t-xrs6000: Likewise.
22390 * sh/t-sh: Likewise.
22391 * sparc/t-elf: Likewise.
22392 * sparc/t-sparcbare: Likewise.
22393 * sparc/t-sparclite: Likewise.
22394 * sparc/t-splet: Likewise.
22395 * v850/t-v850: Likewise.
22396 * mn10200/t-mn10200: Fix comments.
22397 * mn10300/t-mn10300: Likewise.
22399 * pa.md (divsi3, udivsi3, modsi3, umodsi3 expanders): Clobber a new
22400 dummy operand. Allocate a new pseudo for the dummy operand.
22401 (divsi3, udivsi3, modis3, umodsi3 patterns): Corresponding changes.
22403 * pa.md (movqi, movhi patterns): Do not expose FP regs to regclass.
22405 Wed Aug 4 11:53:55 1999 Tom Tromey <tromey@cygnus.com>
22407 * configure: Rebuilt.
22408 * configure.in: Removed --enable-java-gc option and JAVAGC subst.
22410 Wed Aug 4 09:06:14 1999 Richard Earnshaw (rearnsha@arm.com)
22412 * recog.c (preproces_constraints): Zero recog_op_alt before
22413 processing the constraints.
22415 * arm.c (typedef minipool_node): Renamed from pool_node.
22416 (minipool_vector, minipool_size, minipool_vector_label): Similarly.
22417 (add_minipool_constant): New function.
22418 (dump_minipool): New function.
22419 (find_barrier): Remove special case for getting the insn size of
22420 an insn that references the constant pool.
22421 (minipool_fixup): New structure.
22422 (push_minipool_barrier): New function.
22423 (push_minipool_fix): New function.
22424 (note_invalid_constants): New function.
22425 (add_pool_constant, dump_table, fixit, broken_move): Delete.
22426 (arm_reorg): Rewrite code to fix up the constant pool into a
22427 series of mini-pools embedded in the insn stream.
22428 (arm_output_epilogue): New function, made mainly from the body
22429 of output_func_epilogue.
22430 (output_func_epilogue): Move insn generation part of epilogue code
22431 to arm_output_epilogue.
22432 * arm.h (ASM_OUTPUT_SPECIAL_POOL_ENTRY): Delete.
22433 * arm.md (pool_range): New attribute.
22434 (zero_extendqidi2): Add attribute pool_range.
22435 (zero_extend_hisi_insn, load_extendqisi, extendhisi_insn,
22436 extendqihi_insn, extendqisi_insn, movdi, movsi_insn, pic_load_addr,
22437 pic_load_addr_based_insn, movhi_insn_arch4, movhi_insn_littleend,
22438 movhi_insn_bigend, loadhi_si_bigend, movsf_hard_insn, movsf_soft_insn,
22439 movdf_hard_insn, movdf_soft_insn, movxf_hard_insn): Likewise.
22440 (epilogue): New expand.
22441 (epilogue_insn): New insn. Call arm_output_epilogue.
22443 * arm.c (arm_poke_function_name): Undo change of July 17. Tidy up.
22444 * arm.h (TARGET_SWITCHES): Add missing doc string for TARGET_DEFAULT.
22446 Mon Aug 2 19:18:44 1999 Jason Merrill <jason@yorick.cygnus.com>
22448 * linux.h (HANDLE_PRAGMA_PACK_PUSH_POP): Define.
22450 1999-08-04 Mark Elbrecht <snowball3@bigfoot.com>
22452 * config/i386/djgpp.h (BSS_SECTION_ASM_OP): Define.
22454 Wed Aug 4 02:15:32 1999 Richard Henderson <rth@cygnus.com>
22456 * jump.c (delete_insn): Delete the addr_vec when deleting a tablejump.
22458 Wed Aug 4 01:48:08 1999 Jim Kingdon <http://developer.redhat.com>
22460 * global.c: Fix comment.
22462 Wed Aug 4 01:43:01 1999 Ian Lance Taylor <ian@zembu.com>
22464 * gcc.c (access_check): New static function.
22465 (find_a_file): Use it when searching a directory list.
22466 * collect2.c (find_a_file): Don't accept directories found when
22467 searching a directory list.
22469 Wed Aug 4 01:40:43 1999 Philippe De Muyter <phdm@macqel.be>
22471 * tlink.c (symbol_hash_lookup): Do not prefix functions used as
22472 function parameters with `&'.
22473 (file_hash_lookup, demangled_hash_lookup, tlink_init): Ditto.
22475 Wed Aug 4 01:08:44 1999 Jeffrey A Law (law@cygnus.com)
22477 * flow.c (delete_unreachable_blocks): Do not call merge_blocks
22478 or tidy_fallthru_edge if the last insn in the block is not
22479 an unconditional jump or a simple conditional jump.
22481 Tue Aug 3 20:21:20 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
22483 * Makefile.in (c-decl.o): Depends on defaults.h.
22485 Tue Aug 3 14:14:52 1999 Jeffrey A Law (law@cygnus.com)
22487 * pa.h (HARD_REGNO_NREGS): FP registers are always 4 bytes wide for
22489 (CLASS_MAX_NREGS): Likewise.
22491 Tue Aug 3 03:51:20 1999 Jeffrey A Law (law@cygnus.com)
22493 * cse.c (cse_insn): Fix dumb thinko in last change.
22495 Tue Aug 3 10:36:13 1999 Bernd Schmidt <bernds@cygnus.co.uk>
22497 * reload1.c (maybe_fix_stack_asms): Declare CONSTRAINTS as
22500 Mon Aug 2 23:45:45 1999 Hans-Peter Nilsson <hp@bitrange.com>
22502 * dwarf2out.c (add_location_or_const_value_attribute): Correct
22503 test for sizes of passed and declared parameter types.
22505 Tue Aug 3 00:03:41 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
22507 * fixincludes: Fix the return type of bsearch, char* -> void*.
22509 * fixinc/inclhack.def: Likewise.
22511 Mon Aug 2 18:29:32 1999 Mark Mitchell <mark@codesourcery.com>
22513 * invoke.texi (-fdump-translation-unit): New option.
22515 Mon Aug 2 17:54:19 1999 Richard Henderson <rth@cygnus.com>
22517 * expr.h (PROMOTE_PROTOTYPES): Move ...
22518 * defaults.h: ... to here.
22519 * c-decl.c: Include defaults.h instead of expr.h.
22520 * c-typeck.c: Include defaults.h.
22522 Mon Aug 2 17:10:24 1999 Mark Mitchell <mark@codesourcery.com>
22524 * toplev.h (errorcount): Declare.
22525 (warningcount): Likewise.
22526 (sorrycount): Likewise.
22527 * c-lex.c (errorcount): Don't declare.
22528 * dwarf2out.c (errorcount): Don't declare.
22530 Mon Aug 2 17:02:08 1999 Jason Merrill <jason@yorick.cygnus.com>
22532 * config/libgloss.h: Add a note discouraging use with ELF.
22533 * configure.in: Don't use libgloss.h for ELF targets.
22534 Always use_collect2 on a.out targets.
22536 Mon Aug 2 16:27:42 1999 Jim Wilson <wilson@cygnus.com>
22538 * combine.c (force_to_mode, case LSHIFTRT): Add goto shiftrt.
22539 (force_to_mode, case ASHIFTRT): Add shiftrt label.
22541 Tue Aug 3 00:45:02 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
22543 * loop.c (strength_reduce): When doing biv->giv conversion, update
22544 reg note of NEXT->insn.
22546 1999-08-02 Jakub Jelinek <jj@ultra.linux.cz>
22548 * real.c (PUT_REAL): Clear unused bytes if long double is IEEE quad.
22550 1999-08-02 Jakub Jelinek <jj@ultra.linux.cz>
22552 * c-decl.c (get_parm_info, store_parm_decls): Change all uses of
22553 PROMOTE_PROTOTYPES, so that it tests it as a C expression.
22554 Ensure expr.h is included.
22555 * c-typecheck.c (convert_arguments): Ditto.
22557 * expr.h: Supply default for PROMOTE_PROTOTYPES (0).
22559 * config/arc/arc.h: Define PROMOTE_PROTOTYPES to 1.
22560 * config/convex/convex.h: Ditto.
22561 * config/dsp16xx/dsp16xx.h: Ditto.
22562 * config/fx80/fx80.h: Ditto.
22563 * config/gmicro/gmicro.h: Ditto.
22564 * config/i370/i370.h: Ditto.
22565 * config/i386/i386.h: Ditto.
22566 * config/m32r/m32r.h: Ditto.
22567 * config/m68k/m68k.h: Ditto.
22568 * config/m88k/m88k.h: Ditto.
22569 * config/mips/mips.h: Ditto.
22570 * config/pa/pa.h: Ditto.
22571 * config/pyr/pyr.h: Ditto.
22572 * config/tahoe/tahoe.h: Ditto.
22573 * config/we32k/we32k.h: Ditto.
22575 * config/sparc/sparc.h: Define PROMOTE_PROTOTYPES
22576 based on arch size.
22578 * config/i1750a/i1750a.h: Define PROMOTE_PROTOTYPES to 0.
22580 * config/i860/paragon.h: Remove PROMOTE_PROTOTYPES
22583 * tm.texi: Document new usage of PROMOTE_PROTOTYPES.
22585 1999-08-02 Richard Henderson <rth@cygnus.com>
22587 * m32r.c (m32r_setup_incoming_varargs): Use get_varargs_alias_set
22588 for the register spill block.
22589 (m32r_va_arg): New.
22590 * m32r.h (EXPAND_BUILTIN_VA_ARG): New.
22591 (EXPAND_BUILTIN_SAVEREGS): Delete #if 0 code.
22593 * m32r.h (INT8_P): Don't short-cut test with (unsigned).
22594 (INT16_P, CMP_INT16_P, UINT16_P): Likewise.
22595 (UPPER16_P, UINT24_P, INT32_P, UINT5_P): Likewise.
22597 1999-08-02 Jakub Jelinek <jj@ultra.linux.cz>
22599 * config/sparc/linux.h: Define WCHAR_TYPE as "int" and undef
22600 MAX_WCHAR_TYPE defined in sparc.h.
22601 * config/sparc/linuxaout.h: Likewise.
22602 * config/sparc/linux64.h: Likewise.
22603 Also default to -mvis if CPU is UltraSPARC.
22605 1999-08-02 Jakub Jelinek <jj@ultra.linux.cz>
22607 * config/sparc/sparc.h (ASM_DECLARE_REGISTER_GLOBAL): New macro.
22608 (RTX_OK_FOR_OLO10): Likewise.
22609 (GO_IF_LEGITIMATE_ADDRESS): If assembler supports offsetable
22610 %lo(), allow it in addresses...
22611 (PRINT_OPERAND_ADDRESS): ... and print it appropriately.
22612 * config/sparc/sparc.md (sethi_di_medlow_embmedany_pic): sethi %lo()
22613 does not make sense.
22614 * config/sparc/sparc.c (sparc_hard_reg_printed): New array.
22615 (sparc_output_scratch_registers): New function.
22616 (output_function_prologue, sparc_flat_output_function_prologue): Use
22618 * varasm.c (make_decl_rtl): Use ASM_DECLARE_REGISTER_GLOBAL if
22620 * tm.texi (ASM_DECLARE_REGISTER_GLOBAL): Document it.
22621 * configure.in: Add check for .register pseudo-op support in as and
22622 check for offsetable %lo().
22623 * acconfig.h: Add templates for the above checks.
22624 * configure: Regenerate.
22626 1999-08-02 Richard Henderson <rth@cygnus.com>
22628 * sparc/linux64.h (TARGET_DEFAULT): Remove MASK_APP_REGS.
22629 * sparc/sol2-sld-64.h (TARGET_DEFAULT): Likewise.
22630 * sparc/sol2.h (TARGET_DEFAULT): Likewise.
22632 Mon Aug 2 23:46:45 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
22634 * loop.c (strength_reduce): When doing biv->giv conversion, fix up
22637 1999-08-02 Jakub Jelinek <jj@ultra.linux.cz>
22639 * config/float-sparc.h: New file.
22640 * configure.in: Use float_format=sparc for sparc-*-linux-gnulibc1,
22641 sparc-*-linux-gnu and sparc64-*-linux*.
22643 1999-08-02 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
22645 * rs6000.c (rs6000_va_list): Type is an array.
22646 (rs6000_va_start): Don't doubly adjust for varargs.
22647 (rs6000_va_arg): Evaluate long long GPR adjustment.
22649 Mon Aug 2 16:15:57 1999 David Edelsohn <edelsohn@gnu.org>
22651 * rs6000/aix43.h (SUBTARGET_SWITCHES): Use -m64 and -m32 instead of
22652 -maix64 and -maix32.
22653 (ASM_SPEC, ASM_CPU_SPEC, CPP_SPEC, CPP_CPU_SPEC, LIB_SPEC,
22654 LINK_SPEC): Change appropriately.
22655 * rs6000/rs6000.c (short_cint_operand): Use CONST_OK_FOR_LETTER_P.
22656 (u_short_cint_operand): Likewise.
22657 * rs6000/rs6000.md (movdi splitters): Add TARGET_POWERPC64 support
22659 * rs6000/t-aix43 (MULTILIB): Change to -m64.
22661 * invoke.texi (RS/6000 Submodel): Document 64-bit processor options.
22663 Mon Aug 2 16:15:57 1999 Geoff Keating <geoffk@cygnus.com>
22665 * rs6000/rs6000.c (num_insns_constant_wide): Correct
22666 for type promotion.
22667 (add_operand): Get test correct for 64-bit HOST_WIDE_INT.
22668 (non_add_cint_operand): Likewise.
22669 (logical_operand): Likewise.
22670 (non_logical_cint_operand): Likewise.
22671 (print_operand): Correct printf()s for 64-bit HOST_WIDE_INT.
22672 (print_operand_address): Correct printf() for 64-bit HOST_WIDE_INT.
22673 (rs6000_select_rtx_section): Suppress warning.
22674 (small_data_operand): Suppress warning.
22675 (rs6000_got_register): Suppress warning.
22676 * rs6000/rs6000.md (andsi3): HOST_WIDE_INT is a signed
22677 type, so `J' is generally the wrong constraint for a SImode value;
22679 (andsi3_internal2): Likewise.
22680 (andsi3_internal3): Likewise.
22681 (iorsi3_internal1): Likewise.
22682 (xorsi3_internal1): Likewise.
22684 (movsf_softfloat): Likewise.
22685 (scc insns): Likewise.
22686 (movsi+2): Preserve sign bits of SImode constant.
22687 (floatsidf2_internal+1): Sign-extend SImode constant correctly.
22688 (movdf+1): Sign-extend properly.
22689 (movdi_32+1): Sign-extend properly.
22690 (scc insns): Sign-extend properly.
22692 * md.texi (RS/6000 EXTRA_CONSTRAINTS): Update documentation for J,
22695 1999-08-02 Richard Henderson <rth@cygnus.com>
22697 * alpha.c (override_options): Move ev6 alpha_tp frobbing out of
22698 -mcpu parsing code.
22699 (print_operand): Notice alpha_fptm not alpha_tp for sw completion.
22700 * alpha.md (all fp insns): Likewise.
22702 1999-08-02 Nick Clifton <nickc@cygnus.com>
22704 * config/v850/v850.h (STRICT_ALIGNMENT): Only define if not
22707 Mon Aug 2 03:38:33 1999 Jeffrey A Law (law@cygnus.com)
22709 * pa.c (legitimize_pic_address): Clarify comments. Do not call the
22710 pic_load_label generator directly.
22711 * pa.md (pic_load_label): Clarify comments. Remove modes on operands.
22712 No longer a named pattern.
22714 Mon Aug 2 09:38:10 1999 Nick Clifton <nickc@cygnus.com>
22716 * explow.c (force_reg): Call force_operand if X does not
22717 satisfy general_operand.
22719 Mon Aug 2 01:34:22 1999 Jeffrey A Law (law@cygnus.com)
22721 * fix-header.c (main): When testing for CONTINUED, use string
22722 equality, not pointer equality.
22724 Mon Aug 2 01:27:24 1999 Dan Nicolaescu <dann@ics.uci.edu>
22726 * sparc.c (sparc_block_profiler): Use the %g2 register, not %o0.
22728 Sun Aug 1 22:46:42 1999 Jeffrey A Law (law@cygnus.com)
22730 * cse.c (cse_insn): Fix loop which deletes insns after a jump
22731 that has become an unconditional jump.
22733 * m68k.c (output_function_prologue): Fix typo in CPU32 case.
22734 (output_function_epilogue): Similarly.
22736 Sun Aug 1 20:14:00 1999 Bernd Schmidt <bernds@cygnus.co.uk>
22738 * tree.h (init_dummy_function_start): Declare.
22740 Sun Aug 1 12:55:31 1999 Bernd Schmidt <bernds@cygnus.co.uk>
22742 * stmt.c (emit_filename, emit_lineno, expr_stmts_for_value,
22743 last_expr_type, last_expr_value, block_start_count, block_stack,
22744 stack_block_stack, cond_stack, loop_stack, case_stack, nesting_stack,
22745 nesting_depth, goto_fixup_chain): Delete global vars; now allocated
22746 dynamically in stmt elt of struct function for each function.
22747 (struct nesting): Rename function_call_count elt to n_function_calls,
22748 target_temp_slot_level to block_target_temp_slot_level. All users
22750 (struct stmt_status): New structure definition.
22751 Add many accessor macros for stmt_status elements which previously
22752 were global variables.
22753 (init_stmt_for_function): Allocate stmt elt for current_function.
22754 Reflect that block_start_count was renamed to
22755 current_block_start_count.
22756 (save_stmt_status, restore_stmt_status): Delete functions.
22757 (preserve_subexpressions_p): Don't access loop_stack when outside
22759 (expand_start_bindings): Reflect that block_start_count was renamed to
22760 current_block_start_count.
22761 (expand_fixup): Likewise.
22762 (expand_decl): Don't access block_stack when outside a function.
22763 (expand_decl_cleanup): Likewise.
22764 (expand_dcc_cleanup): Likewise.
22765 (expand_dhc_cleanup): Likewise.
22766 (expand_anon_union_decl): Likewise.
22767 (set_file_and_line_for_stmt): New function.
22768 (in_control_zone_p): New function.
22770 * function.h (struct function): Add new elt stmt.
22771 Delete elts block_stack, stack_block_stack, cond_stack, loop_stack,
22772 case_stack, nesting_stack, nesting_depth, block_start_count,
22773 last_expr_type, last_expr_value, expr_stmts_for_value, emit_filename,
22774 emit_lineno, goto_fixup_chain.
22775 (save_eh_status, restore_eh_status, save_stmt_status,
22776 restore_stmt_status): Delete declarations.
22777 * function.c (push_function_context_to): Don't call save_stmt_status.
22778 (pop_function_context_to): Don't call restore_stmt_status.
22779 * tree.h (in_control_zone_p): Declare.
22780 * rtl.h (set_file_and_line_for_stmt): Declare.
22782 * emit-rtl.c (emit_line_note): Don't set emit_filename/emit_lineno;
22783 call set_file_and_line_for_stmt.
22785 Thu Jul 31 12:34:45 1999 Joe Buck <jbuck@synopsys.com>
22787 * gcc.texi: Use terms "GNU Compiler Collection" and "GCC".
22788 Also update copyright.
22790 Sat Jul 31 11:10:07 1999 Bernd Schmidt <bernds@cygnus.co.uk>
22792 * c-pragma.c: Don't include "except.h".
22793 * emit-rtl.c: Likewise.
22794 * stor-layout.c: Likewise.
22795 * tree.c: Likewise.
22796 * varasm.c: Likewise.
22798 * flow.c: Include "function.h".
22799 * tree.h (init_dummy_function_start): Declare new function.
22801 * except.h (struct eh_status): New structure.
22802 (struct label_node, struct eh_entry): Declare even if tree.h hasn't
22804 (eh_return_stub_label, ehstack, catchstack, ehqueue,
22805 catch_clauses, false_label_stack, caught_return_label_stack,
22806 protect_list, current_function_ehc): Add accessor macros for the
22807 corresponding fields in current_function->eh; delete declarations
22808 for all items that used to be declared here.
22809 * except.c (eh_return_stub_label, ehstack, catchstack, ehqueue,
22810 catch_clauses, false_label_stack, caught_return_label_stack,
22811 protect_list, current_function_ehc): Delete variables.
22812 (init_eh_for_function): Allocate current_function->eh.
22813 (save_eh_status, restore_eh_status): Delete functions.
22815 * function.h (struct function): Add fields next_global and eh.
22816 Delete all exception handling related fields.
22817 * function.c (current_function): New variable.
22818 (all_functions): New variable.
22819 (push_function_context_to): Don't allocate a struct function,
22820 use current_function instead. Call init_dummy_function_start when
22821 outside a function. Clear current_function before returning.
22822 (pop_function_context_from): Restore current_function.
22823 Don't free the restored struct function.
22824 (prepare_function_start): New function.
22825 (init_dummy_function_start): New function.
22826 (init_function_start): Break out some code into prepare_function_start
22829 * stmt.c (save_stmt_status): Don't call save_eh_status.
22830 (restore_stmt_status): Don't call restore_eh_status.
22832 * Makefile.in: Update dependencies.
22834 Sat Jul 31 04:10:01 1999 Jeffrey A Law (law@cygnus.com)
22836 * pa.c (compute_frame_size): Use STARTINg_FRAME_OFFSET instead
22837 of depending on a magic constant value. Update comments.
22838 (hppa_expand_prologue): Similarly.
22840 * pa.md (reload_indi, reload_outdi): Allow any register for the
22841 original reload register.
22843 Fri Jul 30 19:41:35 1999 Jim Wilson <wilson@cygnus.com>
22845 * cccp.c (print_help): Change marcos to macros.
22847 1999-07-30 Richard Henderson <rth@cygnus.com>
22849 * c-typeck.c (initializer_constant_valid_p): Move ...
22850 * c-common.c (initializer_constant_valid_p): ... here. Use
22851 FOO_TYPE_P instead of tests against TREE_CODE. Allow subtraction
22852 of label addresses.
22853 * c-common.h (initializer_constant_valid_p): Declare.
22854 * c-tree.h (initializer_constant_valid_p): Remove.
22856 Fri Jul 30 16:33:42 1999 Mathias Froehlich <frohlich@na.uni-tuebingen.de>
22858 * config/i386/sol2-c1.asm: Align the stack.
22859 * config/i386/sol2-gc1.asm: Likewise.
22861 1999-07-30 Vladimir Makarov <vmakarov@loony.cygnus.com>
22863 * config/sparc/sparc.h (ASM_CPU32_DEFAULT_SPEC): Change -Av8 onto
22864 -Asparclite for sparc86x.
22865 (CPP_CPU32_DEFAULT_SPEC, CPP_CPU_SPEC): Remove -D__sparc_v8__ for
22867 (ASM_CPU_SPEC): Use -Asparclite for sparc86x.
22869 Fri Jul 30 14:53:56 1999 Jakub Jelinek <jj@ultra.linux.cz>
22871 * config/sparc/linux64.h (CC1_SPEC): Preserve CPU specified by
22872 the user if using the non-default arch size in BI_ARCH configuration.
22873 * config/sparc/sol2-sld-64.h (CC1_SPEC): Ditto.
22875 * config/sparc/sparc.md (cmp_mul_set, cmp_udiv_cc_set):
22876 Fix patterns so that they actually match.
22877 (cmp_sdiv_cc_set): Ditto, also don't require g0 to be zero.
22878 (mulsidi3_sp64, const_mulsidi3_sp64): New patterns.
22879 (const_mulsidi3_sp32): Renamed from const_mulsidi3, only on
22881 (mulsidi3): Reflect this in the expand.
22882 (smulsi3_highpart): Only on TARGET_ARCH32.
22883 (umulsidi3_sp64, const_umulsidi3_sp64): New patterns.
22884 (const_umulsidi3_sp32): Renamed from const_umulsidi3.
22885 (umulsidi3): Reflect this in the expand.
22886 (umulsi3_highpart): Only on TARGET_ARCH32.
22887 (divsi3_sp32): Renamed from divsi3, only on TARGET_ARCH32,
22888 don't require g0 to be zero.
22889 (udivsi3_sp32): Renamed from udivsi3, only on TARGET_ARCH32.
22890 ({,u}divsi3): New expands.
22891 ({,u}divsi3_sp64): New patterns.
22892 (after lshrdi3_v8plus): Four new patterns to help combiner
22893 optimizing nested mixed mode shifts.
22895 * config/sparc/sparc.c (sparc_override_options): Use deprecated
22896 v8 instructions if optimizing for UltraSPARC I, II, IIi, as it
22897 speed things up. Don't use them by default on plain v9 in 64bit
22898 mode, according to what SPAMv9 sais.
22900 * config/sparc/sparc.h: Fix comments, e.g. Linux already preserves
22901 top 32 bits of %[og][0-7] in signal handlers.
22902 Also, TARGET_HARD_MUL32 now is only true for TARGET_ARCH32.
22904 Fri Jul 30 03:00:41 1999 Jeffrey A Law (law@cygnus.com)
22906 * pa.md (zvdep_imm32): Renamed from zvdep_imm.
22907 (ashlsi3): Corresponding changes.
22909 * pa.c (compute_zdepwi_operands): Renamed from compute_zdepi_operands.
22911 Thu Jul 29 18:37:13 1999 Jeffrey A Law (law@cygnus.com)
22913 * pa.h (FIRST_PARM_CALLER_OFFSET): Delete.
22915 Thu Jul 29 19:01:58 1999 Bernd Schmidt <bernds@cygnus.co.uk>
22917 * arm.h (Hint): Delete macro.
22918 Substitute HOST_WIDE_INT for Hint in some prototypes.
22919 * arm.c: Substitute HOST_WIDE_INT for Hint in one prototype.
22921 Thu Jul 29 09:21:42 1999 Nick Clifton <nickc@cygnus.com>
22923 * builtins.c (expand_builtin_setjmp): Use force_operand to
22924 make sure that the buffer address is in a suitable form to be
22925 passed to force_reg.
22927 Wed Jul 28 12:50:48 1999 Geoff Keating <geoffk@cygnus.com>
22929 * config/mips/mips.c: system.h handles MIN and MAX, don't undefine
22932 Wed Jul 28 13:18:35 1999 Jeffrey A Law (law@cygnus.com)
22934 * pa.md (indirect_jump): Remove mode from match_operand. Verify
22935 proper mode in the condition string.
22936 (icacheflush, dcacheflush): Remove modes from match_operands.
22938 * pa.c (emit_move_sequence): Always convert scratch_reg to the
22939 proper mode before using it.
22941 * pa.md (adddi3, subdi3): Turn into a define_expand/define_insn
22944 * pa.c (store_reg): Do not call add_high_const generator directly.
22945 (load_reg, set_reg_plus_d): Likewise.
22946 * pa.md (add_high_const): No longer a named pattern.
22948 * pa.c (legitimize_address): Consistently use Pmode rather than
22949 SImode. Do not call gen_pic2_highpart directly anymore.
22950 * pa.md (pic2_highpart): No longer a named pattern.
22951 (pic2_lo_sum): Similarly. Reformat to make more readable.
22953 * pa.md (call, call_value): Use "word_mode" instead of "SImode" as
22958 Wed Jul 28 11:28:04 1999 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
22960 * builtins.c (expand_builtin): Typo in call to expand_builtin_ffs.
22962 Wed Jul 28 11:23:48 1999 Richard Henderson <rth@cygnus.com>
22964 * pa.c (hppa_builtin_saveregs): Use get_varargs_alias_set
22965 and tag the spill mems.
22966 (hppa_va_start): New.
22967 (hppa_va_arg): New.
22968 * pa.h (EXPAND_BUILTIN_VA_START): New.
22969 (EXPAND_BUILTIN_VA_ARG): New.
22971 Wed Jul 28 11:22:21 1999 Richard Henderson <rth@cygnus.com>
22973 * mn10300.c (mn10300_builtin_saveregs): Use get_varargs_alias_set
22974 and tag the spill mems.
22975 (mn10300_va_start): New.
22976 (mn10300_va_arg): New.
22977 * mn10300.h (EXPAND_BUILTIN_VA_START): New.
22978 (EXPAND_BUILTIN_VA_ARG): New.
22980 Wed Jul 28 11:20:19 1999 Richard Henderson <rth@cygnus.com>
22982 * mn10200.c (mn10200_va_arg): New.
22983 * mn10200.h (EXPAND_BUILTIN_VA_ARG): New.
22985 Wed Jul 28 11:19:06 1999 Richard Henderson <rth@cygnus.com>
22987 * builtins.c (std_expand_builtin_va_arg): Use int_size_in_bytes
22988 rather than play with TREE_INT_CST_LOW.
22990 1999-07-27 Philip Blundell <pb@nexus.co.uk>
22992 * config/arm/telf.h: Include dbxelf.h.
22993 (CPP_PREDEFINES): Only define if not already defined.
22994 (ASM_IDENTIFY_GCC): Likewise.
22995 (SUBTARGET_EXTRA_SECTIONS): Likewise.
22996 (SUBTARGET_EXTRA_SECTION_FUNCTIONS): Likewise.
22997 * config/arm/thumb.h (LINK_SPEC): Only define if not already
22999 (DBX_DEBUGGING_INFO): Don't define.
23000 * config/arm/linux-telf.h: New file.
23001 * config/arm/linux-tgas.h: New file.
23002 * config/arm/t-thumb-linux: New file.
23003 * config/arm/uclinux-elf.h: New file.
23004 * config/arm/uclinux-telf.h: New file.
23005 * configure.in (arm-*-uclinux, thumb-*-linux-gnu,
23006 thumb-*-uclinux): New targets.
23007 * configure: Regenerate.
23009 Tue Jul 27 23:20:21 1999 Jeffrey A Law (law@cygnus.com)
23011 * pa.md (post_store, pre_load): New expanders.
23012 (post_stwm, pre_ldwm): Renamed to post_stw and pre_ldw respectively.
23013 (post_ldwm, pre_stwm): Make these unnamed patterns since we never
23014 need to directly generate RTL for them.
23015 * pa.c (hppa_expand_prologue, hppa_expand_epilogue): Corresponding
23018 Tue Jul 27 16:05:52 1999 David Edelsohn <edelsohn@gnu.org>
23020 * aix43.h (ASM_CPU_SPEC, CPP_CPU_SPEC): Add rs64a and PPC630.
23021 * rs6000.c (processor_target_table): Add powerpc64, rs64a, and PPC630.
23022 (rs6000_cpu): Choose between 32-bit and 64-bit default processors.
23023 (secndary_reload_class): Make TARGET_ELF conditional compile.
23024 (print_operand_address): Similar.
23025 (output_toc): Print all values as hex.
23026 (get_issue_rate): Rearrange and add RS64A and PPC630.
23027 * rs6000.h (processor_type): Add RS64A and PPC630.
23028 (PROCESSOR_POWERPC64): New.
23029 (PROMOTE_MODE): Use word_mode.
23030 (RTX_COSTS): Add RS64A and PPC630.
23031 * rs6000.md (scheduling information): Add lmul and ldiv
23032 representing 64-bit integer multiply and divide. Add rs64a and
23033 PPC630 information.
23034 (ashldi3): Add support for "rldic" instruction.
23035 * sysv4.h (PROCESSOR_DEFAULT): Change to PROCESSOR_750.
23037 Tue Jul 27 15:31:53 1999 Vladimir Makarov <vmakarov@toad.to.cygnus.com>
23039 * config/sparc/sparc.c (sparc_override_options): Enable SPARCLITE
23040 instead of V8 for sparclite86x in cpu_table.
23042 Tue Jul 27 17:49:42 1999 Bernd Schmidt <bernds@cygnus.co.uk>
23044 * config/arm/coff.h (ASM_FILE_START): If generating SDB output, call
23045 output_file_directive.
23047 Tue Jul 27 03:15:33 1999 Jason Merrill <jason@yorick.cygnus.com>
23049 * expr.c (expand_expr, case PLUS_EXPR): Get the mode from the
23050 tree for op1, not the rtl.
23052 Tue Jul 27 00:18:34 1999 Richard Henderson <rth@cygnus.com>
23054 * m88k.c (m88k_builtin_saveregs): Break out the constructor code
23055 to m88k_va_start, leaving only the register spill.
23056 (m88k_build_va_list): New.
23057 (m88k_va_start): New.
23058 (m88k_va_arg): New.
23059 * m88k.h (BUILD_VA_LIST_TYPE): New.
23060 (EXPAND_BUILTIN_VA_START): New.
23061 (EXPAND_BUILTIN_VA_ARG): New.
23063 Mon Jul 26 19:07:11 1999 Geoff Keating <geoffk@cygnus.com>
23065 * config/rs6000/rs6000.c (rs6000_expand_builtin_saveregs):
23066 Rename from expand_builtin_saveregs.
23067 * config/rs6000/rs6000.h (EXPAND_BUILTIN_SAVEREGS): Change caller.
23069 Mon Jul 26 22:52:47 1999 Richard Henderson <rth@cygnus.com>
23071 * i960.c (i960_setup_incoming_varargs): Use get_varargs_alias_set
23072 for the register spill block.
23073 (i960_build_va_list): New.
23074 (i960_va_start): New.
23075 (i960_va_arg): New.
23076 * i960.h (BUILD_VA_LIST_TYPE): New.
23077 (EXPAND_BUILTIN_VA_START): New.
23078 (EXPAND_BUILTIN_VA_ARG): New.
23079 * i960.md (store_multiple): Use change_address on individul mems.
23081 Mon Jul 26 22:43:12 1999 Richard Henderson <rth@cygnus.com>
23083 * builtins.c (stabilize_va_list): Don't INDIRECT_REF through
23085 (std_expand_builtin_va_start): Back out one word if !stdarg_p.
23086 (expand_builtin_va_end): Evaluate arg for side effects.
23087 * c-common.c (c_common_nodes_and_builtins): Construct a
23088 va_list_arg_type_node to handle array decomposition to pointer.
23090 Mon Jul 26 18:51:34 1999 Richard Henderson <rth@cygnus.com>
23092 * except.c (st_dynamic_cleanup): Use force_operand on the
23095 Mon Jul 26 16:43:26 1999 Richard Henderson <rth@cygnus.com>
23097 * c4x.h (EXPAND_BUILTIN_VA_ARG): New.
23098 * c4x.c (c4x_va_arg): New.
23100 Mon Jul 26 12:30:09 1999 Jason Merrill <jason@yorick.cygnus.com>
23102 * cpplib.c (cpp_get_token): Don't return a CPP_POP if the buffer
23103 has manual_pop set.
23105 1999-07-26 Nathan Sidwell <nathan@acm.org>
23107 * eh-common.h (__eh_matcher): Prototype correctly.
23109 Mon Jul 26 17:24:51 1999 Philip Blundell <pb@nexus.co.uk>
23111 * config/arm/thumb.h (THUMB_FLAG_SINGLE_PIC_BASE): Define.
23112 (TARGET_SINGLE_PIC_BASE): Likewise.
23113 (GOT_PCREL, NEED_GOT_RELOC, NEED_PLT_RELOC): Provide default
23115 (TARGET_CALLEE_INTERWORKING): Fix typo in comment.
23116 (TARGET_SWITCHES): Add -m{no-}single-pic-base.
23117 (TARGET_OPTIONS): Add -mpic-register=N.
23118 (OUTPUT_INT_ADDR_CONST): New macro.
23119 (INDEX_REGISTER_RTX_P, PIC_OFFSET_TABLE_REGNUM, FINALIZE_PIC,
23120 LEGITIMATE_PIC_OPERAND_P): Likewise.
23121 (LEGITIMIZE_ADDRESS, GOT_IF_LEGITIMATE_ADDRESS): Support PIC.
23122 (ASM_OUTPUT_INT): Use OUTPUT_INT_ADDR_CONST rather than calling
23123 output_addr_const directly.
23124 (PRINT_OPERAND_PUNCT_VALID_P): Accept `|' for compatibility with
23126 (thumb_pic_register, thumb_pic_register_string): Declare.
23128 * config/arm/thumb.c (symbol_mentioned_p): New function: Imported
23130 (label_mentioned_p): New function: Imported from arm.c.
23131 (legitimize_pic_address): New function: Imported from arm.c.
23132 (is_pic):New function: Imported from arm.c.
23133 (thumb_finalize_pic):New function: Imported from arm.c.
23134 (add_constant): Cope with PIC constants.
23135 (fixit): Cope with PIC constants.
23136 (output_return): Do not treat the PIC register as live if
23137 TARGET_SINGLE_PIC_BASE is true.
23138 (thumb_function_prologue): Do not treat the PIC register as live if
23139 TARGET_SINGLE_PIC_BASE is true.
23140 (thumb_expand_prologue): Do not treat the PIC register as live if
23141 TARGET_SINGLE_PIC_BASE is true.
23142 (thumb_unexpand_epilogue): Do not treat the PIC register as live if
23143 TARGET_SINGLE_PIC_BASE is true.
23144 (thumb_print_operand): Accept '|'.
23145 (thumb_override_options): Process PIC options.
23147 * config/arm/thumb.md (movsi): Support PIC.
23148 (call_insn): Change "i" constraint to "X".
23149 (call_value_insn): Likewise.
23150 (consttable_4, consttable_8, consttable_end): Set and clear
23151 "making_const_table" as appropriate.
23152 (pic_load_addr, pic_add_dot_plus_four): New insns.
23154 * invoke.texi (Thumb Options): Fix spelling. Document new
23155 options -msingle-pic-base and -mpic-register=.
23157 1999-07-26 Andrew Haley <aph@cygnus.com>
23159 * config/m32r/initfini.c (__init): Use a full word immediate for
23160 __fini: this allows it to be placed in any memory region.
23162 * config/m32r/t-m32r: Compile crtinit.o and crtfini.o for
23163 -mmodel=medium. This is OK for all memory models.
23165 Mon Jul 26 11:58:46 1999 Nick Clifton <nickc@cygnus.com>
23167 * config/arm/arm.c: Replace %R%s in asm_fprintf strings with %r.
23168 * config/arm/arm.h: Replace %R%s in asm_fprintf strings with %r.
23170 Mon Jul 26 10:23:36 1999 Nick Clifton <nickc@cygnus.com>
23172 * final.c (asm_fprintf): Accept ASM_FPRINTF_EXTENSIONS, if
23175 * tm.texi: Document ASM_FPRINTF_EXTENSIONS.
23177 Sun Jul 25 23:51:59 1999 Richard Henderson <rth@cygnus.com>
23179 * i860.h (EXPAND_BUILTIN_SAVEREGS): New.
23180 (BUILD_VA_LIST_TYPE): New.
23181 (EXPAND_BUILTIN_VA_START): New.
23182 (EXPAND_BUILTIN_VA_ARG): New.
23183 * i860.c (output_delayed_branch): Disable.
23184 (output_delay_insn): Likewise.
23185 (i860_saveregs): New.
23186 (i860_build_va_list): New.
23187 (i860_va_start): New.
23188 (i860_va_arg): New.
23189 * i860.md: Disable all peepholes using output_delayed_branch.
23190 * i860/sysv4.h (I860_SVR4_VA_LIST): New.
23192 Sun Jul 25 23:44:13 1999 Richard Henderson <rth@cygnus.com>
23194 * clipper.h (EXPAND_BUILTIN_SAVEREGS): Remove argument.
23195 (BUILD_VA_LIST_TYPE): New.
23196 (EXPAND_BUILTIN_VA_START): New.
23197 (EXPAND_BUILTIN_VA_ARG): New.
23198 * clipper.c (clipper_builtin_saveregs): Only dump registers.
23199 Return the address of the save area.
23200 (clipper_build_va_list): New.
23201 (clipper_va_start): New.
23202 (clipper_va_arg): New.
23204 Sun Jul 25 22:56:47 1999 Richard Henderson <rth@cygnus.com>
23206 * arc.h (EXPAND_BUILTIN_VA_START): New.
23207 (EXPAND_BUILTIN_VA_ARG): New.
23208 * arc.c (arc_setup_incoming_varargs): Set alias set of
23210 (arc_va_start): New.
23213 Sun Jul 25 22:45:55 1999 Richard Henderson <rth@cygnus.com>
23215 * alpha.h (EXPAND_BUILTIN_SAVEREGS): Delete.
23216 (BUILD_VA_LIST_TYPE): New.
23217 (EXPAND_BUILTIN_VA_START): New.
23218 (EXPAND_BUILTIN_VA_ARG): New.
23219 * alpha.c (alpha_builtin_saveregs): Delete.
23220 (alpha_build_va_list): New.
23221 (alpha_va_start): New.
23222 (alpha_va_arg): New.
23224 Sun Jul 25 21:40:33 1999 Jeffrey A Law (law@cygnus.com)
23226 * config/svr4.h (CTORS_SECTION_ASM_OP): Do not emit directives in
23228 (DTORS_SECTION_ASM_OP, INIT_SECTION_ASM_OP): Likewise.
23229 (FINI_SECTION_ASM_OP, ASM_OUTPUT_SECTION_NAME): Likewise.
23231 * gcc.texi: More changes related to list conversion.
23232 * invoke.texi: Likewise.
23234 Sun Jul 25 18:15:39 1999 Richard Henderson <rth@cygnus.com>
23236 * builtins.c (expand_builtin_saveregs): Remove static, remove exp
23237 and ignore arguments, bail if no EXPAND_BUILTIN_SAVEREGS.
23238 (expand_builtin_next_arg): Accept ARGLIST not EXP.
23239 (stabilize_va_list): New function.
23240 (std_expand_builtin_va_start): New function.
23241 (expand_builtin_va_start): New function.
23242 (get_varargs_alias_set): New function.
23243 (std_expand_builtin_va_arg): New function.
23244 (expand_builtin_va_arg): New function.
23245 (expand_builtin_va_end): New function.
23246 (expand_builtin_va_copy): New function.
23247 (expand_builtin): Call them.
23248 * c-common.c (c_common_nodes_and_builtins): Build __builtin_va_list,
23249 __builtin_{varargs_start,stdarg_start,end,copy}.
23250 (build_va_arg): New function.
23251 * c-common.h (CTI_PTR_TYPE, ptr_type_node): Delete.
23252 (build_va_arg): Declare.
23253 * c-decl.c (ptr_type_node, va_list_type_node): New.
23254 * c-parse.gperf (__builtin_va_arg): New.
23255 * c-parse.in (VA_ARG): New token.
23256 (unary_expr): Recognize it.
23257 * expr.c (expand_expr): Expand VA_ARG_EXPR.
23258 * expr.h (std_expand_builtin_va_start): Declare.
23259 (std_expand_builtin_va_arg): Declare.
23260 (expand_builtin_va_arg): Declare.
23261 (get_varargs_alias_set): Declare.
23262 * tree.def (VA_ARG_EXPR): New.
23263 * tree.h (BUILT_IN_VARARGS_START): New.
23264 (BUILT_IN_STDARG_START, BUILT_IN_VA_END): New.
23265 (ptr_type_node, va_list_type_node): Declare.
23266 * tm.texi (EXPAND_BUILTIN_SAVEREGS): Kill unused ARGLIST argument.
23267 * m32r.h (EXPAND_BUILTIN_SAVEREGS): Likewise.
23268 * m88k.h, m88k.c: Likewise.
23269 * mn10300.h, mn10300.c: Likewise.
23270 * pa.h, pa.c: Likewise.
23271 * rs6000.h, rs6000.c: Likewise.
23272 * sh.h, sh.c: Likewise.
23273 * sparc.h, sparc.c: Likewise.
23275 * emit-rtl.c (operand_subword): Copy alias set.
23276 (change_address): Likewise.
23278 Sun Jul 25 15:04:37 1999 Jeffrey A Law (law@cygnus.com)
23280 * pa.c (compute_frame_size): Scan all the used callee saved registers,
23281 not just the first one.
23283 Fri Jul 23 14:09:58 1999 Philip Blundell <pb@nexus.co.uk>
23285 * config/arm/arm.h (TARGET_SWITCHES): Add
23286 -m{no-}single-pic-base. Correct help string for -mshort-load-words.
23287 (TARGET_OPTIONS): Add -mpic-register=.
23288 (ARM_FLAG_SINGLE_PIC_BASE, TARGET_SINGLE_PIC_BASE): Define.
23289 (arm_pic_register_string): Declare.
23290 (NEED_PLT_GOT): Delete, replace with ...
23291 (NEED_GOT_RELOC, NEED_PLT_RELOC): ... these. New macros.
23292 (OUTPUT_INT_ADDR_CONST): Replace NEED_PLT_GOT with NEED_GOT_RELOC.
23293 (ASM_OUTPUT_MI_THUNK): Replace NEED_PLT_GOT with NEED_PLT_RELOC.
23294 * config/arm/arm.c (arm_override_options): Add new option
23296 (arm_pic_register_string): New variable.
23297 (arm_finalize_pic): Respect TARGET_SINGLE_PIC_BASE.
23298 (output_func_prologue): If TARGET_SINGLE_PIC_BASE, treat the PIC
23299 register as never live. Use NEED_PLT_RELOC not NEED_PLT_GOT.
23300 (output_return_instruction): Likewise.
23301 * config/arm/elf.h (NEED_PLT_GOT): Delete, replace with ...
23302 (NEED_GOT_RELOC, NEED_PLT_RELOC): ... these. Define to flag_pic.
23303 * config/arm/arm.md: Use NEED_PLT_RELOC in place of NEED_PLT_GOT.
23305 * invoke.texi (ARM Options): Fix spelling. Remove duplicate
23306 mention of -msched-prolog. Document new options -msingle-pic-base
23307 and -mpic-register=.
23309 Thu Jul 22 18:23:56 1999 Richard Henderson <rth@cygnus.com>
23311 * haifa-sched.c (reemit_notes): Tidy.
23312 * sched.c (reemit_notes): Duplicate 1998-08-31 patch to
23315 Thu Jul 22 18:21:04 1999 Richard Henderson <rth@cygnus.com>
23317 * explow.c (trunc_int_for_mode): New function.
23318 (plus_constant_wide): Use it.
23319 * combine.c (simplify_and_const_int): Likewise.
23320 (merge_outer_ops): Likewise.
23321 (simplify_shift_const): Likewise.
23322 * cse.c (simplify_unary_operation): Likewise.
23323 (simplify_binary_operation): Likewise.
23324 * emit-rtl.c (operand_subword): Likewise.
23325 * rtl.h: Declare it.
23327 Thu Jul 22 14:34:59 1999 Bernd Schmidt <bernds@cygnus.co.uk>
23329 * config/arm/arm.c (arm_print_operand): Fix typo in 'M' case
23330 (use NUM_REGS instead of NUM_INTS).
23332 Thu Jul 22 11:25:20 1999 Bernd Schmidt <bernds@cygnus.co.uk>
23334 * builtins.c: New file.
23335 * expr.c (saveregs_value, apply_args_value): Delete definition,
23336 moved into builtins.c.
23337 (string_constant): No longer static.
23338 (get_pointer_alignment, c_strlen, get_memory_rtx, expand_builtin,
23339 apply_args_size, apply_result_size, result_vector,
23340 expand_builtin_apply_args, expand_builtin_apply,
23341 expand_builtin_return): Delete functions, moved into builtins.c.
23342 (INCOMING_REGNO, OUTGOING_REGNO): Delete unused macros.
23343 * expr.h (saveregs_value, apply_args_value): Declare variables.
23344 (expand_builtin, string_constant): Declare functions.
23345 * Makefile.in: Update to build builtin.o.
23347 Wed Jul 21 00:46:58 1999 Mark P. Mitchell <mark@codesourcery.com>
23349 * defaults.h (DWARF2_GENERATE_TEXT_SECTION_LABEL): New macro.
23350 * tm.texi (DWARF2_GENERATE_TEXT_SECTION_LABEL): Define it.
23351 * dwarf2out.c (dwarf2out_init): Don't output a label to mark the
23352 start of the text section if DWARF2_GENERATE_TEXT_SECTION_LABEL is
23354 * config/mips/iris6.h (DWARF2_GENERATE_TEXT_SECTION_LABEL):
23357 1999-07-21 Michael Meissner <meissner@cygnus.com>
23359 * print-rtl.c (print_rtx): Print the names of the virtual
23362 Wed Jul 21 16:00:32 1999 Nick Clifton <nickc@cygnus.com>
23364 * config/arm/arm.h (INITIAL_ELIMINATION_OFFSET): Fix typo
23365 introduced in previous delta.
23367 Wed Jul 21 14:30:51 1999 Bernd Schmidt <bernds@cygnus.co.uk>
23369 * c-lang.c (finish_file): Rename void_list_node to void_list_node_1
23370 to avoid name clash.
23372 Wed Jul 21 08:39:22 1999 Gavin Romig-Koch <gavin@cygnus.com>
23374 * c-lex.c (yylex) : Correct the test for overflow when lexing
23377 Tue Jul 20 18:02:42 1999 Richard Henderson <rth@cygnus.com>
23379 * haifa-sched.c (insn_cost): FREE implies cost 0 and vice versa.
23380 (adjust_priority): Always call ADJUST_PRIORITY.
23381 (schedule_insn): Only put insns into the ready at cost 0.
23382 (schedule_block): Remove redundant initial sort. Give clock_var
23383 and can_issue_more to MD_SCHED_REORDER. Requeue if hazard cost
23385 * tm.texi (MD_SCHED_REORDER): Update docs.
23387 * sparc.h (MD_SCHED_REORDER): Update. Set CAN_ISSUE_MORE.
23388 * sparc.c (ultra_reorder_called_this_block): Delete.
23389 (ultrasparc_sched_init): Don't set it.
23390 (ultrasparc_sched_reorder): Don't check it.
23392 Tue Jul 20 17:07:54 1999 Richard Henderson <rth@cygnus.com>
23394 * rs6000.h (struct rs6000_args): Add sysv_gregno.
23395 * rs6000.c (init_cumulative_args): Init sysv_gregno.
23396 (function_arg_boundary): Align DFmode.
23397 (function_arg_advance): Restructure for ABI_V4; use sysv_gregno
23398 to get fp reg and stack overflow correct.
23399 (function_arg): Likewise.
23400 (function_arg_pass_by_reference): True for TFmode for ABI_V4.
23401 (setup_incoming_varargs): Restructure for ABI_V4; use
23402 function_arg_advance to skip final named argument.
23403 (expand_builtin_saveregs): Properly unskip the last integer arg
23404 when doing varargs. Adjust overflow location calculation.
23406 * ginclude/va-ppc.h (struct __va_list_tag): Make gpr and fpr
23407 explicitly unsigned.
23408 (__VA_FP_REGSAVE): Use new OFS argument instead of AP->fpr directly.
23409 (__VA_GP_REGSAVE): Similarly.
23410 (__va_longlong_p): Delete.
23411 (__va_arg_type_violation): New declaration.
23412 (va_arg): Restructure. Flag promotion errors. Align double.
23413 TFmode passed by reference.
23415 * rs6000.md (movdi_32+1): Use GEN_INT after arithmetic
23416 in the HOST_BITS_PER_WIDE_INT > 32 case.
23418 Tue Jul 20 12:37:30 1999 Hans-Peter Nilsson <hp@bitrange.com>
23420 * dwarf2out.c (output_abbrev_section): Terminate with a zero.
23422 Tue Jul 20 12:12:27 1999 Jason Merrill <jason@yorick.cygnus.com>
23424 * gcc.c (default_compilers, cpp-output): Pass -fpreprocessed.
23425 * toplev.c (documented_lang_options): Add -fpreprocessed.
23426 * cpplib.h (struct cpp_buffer): Add preprocessed.
23427 * cppinit.c (cpp_handle_option): Handle -fpreprocessed.
23428 (cpp_start_read): Don't expand macros or emit an initial #line
23429 directive if -fpreprocessed.
23431 Tue Jul 20 12:12:09 1999 Michael Tiemann <tiemann@holodeck.cygnus.com>
23433 * cpplib.h (struct cpp_buffer): Added manual_pop for
23434 better C++ tokenization.
23435 * cpplib.c (cpp_get_token): Return CPP_EOF if manual_pop.
23436 Also, support C++ tokenization for ->*, .*, <?, and >? operators.
23437 * c-common.c (cpp_token): Make non-static.
23439 Tue Jul 20 11:24:19 1999 Bernd Schmidt <bernds@cygnus.co.uk>
23441 * c-common.h: New file.
23442 * c-common.c (permanent_obstack): Delete unused declaration.
23443 (c_global_trees): New array.
23444 (c_common_nodes_and_builtins): New function; split off common code
23445 from init_decl_processing in both c-decl.c and cp/decl.c.
23446 * c-tree.h: Delete lots of declarations of tree nodes; replaced by
23447 c_global_trees and accessor macros defined in c-common.h.
23448 Include c-common.h.
23449 * c-decl.c: Delete definitions for tree nodes that were replaced by
23451 (init_decl_processing): Build void_list_node.
23452 Call c_common_nodes_and_builtins; delete code to generate the common
23454 * objc/objc-act.c (build_module_descriptor): Rename variable
23455 void_list_node to avoid clash with c-common.h.
23457 * Makefile.in: Update dependencies.
23458 * objc/Make-lang.in: Likewise.
23460 Mon Jul 19 14:22:18 1999 Mark P. Mitchell <mark@codesourcery.com>
23462 * config/mips/iris6gld.h (MAKE_DECL_ONE_ONLY): Define.
23463 (UNIQUE_SECTION_P): Likewise.
23464 (UNIQUE_SECTION): Likewise.
23466 1999-07-19 Linas Vepstas <linas@linas.org>
23468 * config/i370/README: New file.
23469 * config/i370/linux.h: New file.
23470 * config/i370/mvs.h: New file.
23471 * config/i370/oe.h: New file.
23472 * config/i370/t-linux: New file.
23473 * config/i370/t-mvs: New file.
23474 * config/i370/t-oe: New file.
23475 * config/i370/x-oe: New file.
23476 * config/i370/xm-linux.h: New file.
23477 * config/i370/xm-mvs.h: New file.
23478 * config/i370/xm-oe.h: New file.
23480 * i370.c (label_node_t): Add first_ref_page, label_addr,
23481 label_first_ref, label_last_ref members.
23482 (mvs_need_base_reload): Renamed from mvs_label_emitted.
23483 (MAX_MVS_LABEL_SIZE): Define.
23484 (MAX_LONG_LABEL_SIZE): Define.
23485 (alias_node_t, alias_anchor, alias_number): New.
23486 (mvs_function_table): Reorder for EBCDIC.
23487 (ascebc, ebcasc): Unconditionally define.
23488 (i370_branch_dest, i370_branch_length): New functions.
23489 (i370_short_branch, i370_label_scan): New functions.
23490 (mvs_get_label): Renamed from mvs_add_label. Search for
23491 an existing label before creating a new one.
23492 (mvs_add_label): New function.
23493 (mvs_get_label_page): New function.
23494 (mvs_free_label_list): Renamed from mvs_free_label. Iterate
23495 over the entire list.
23496 (mvs_check_page) [TARGET_HLASM]: Use BASR not BALR.
23497 (mvs_check_page) [TARGET_ELF_ABI]: New function.
23498 (mvs_add_alias, mvs_need_alias): New functions.
23499 (mvs_get_alias, mvs_check_alias): New functions.
23500 (handle_pragma): New function.
23501 (mvs_function_check): New function.
23502 (unsigned_jump_follows_p): Search harder.
23503 (i370_function_prolog) [TARGET_HLASM]: Handle LE370. Scan labels.
23504 (i370_function_prolog) [TARGET_ELF_ABI]: New function.
23505 * i370.h (TARGET_VERSION): Delete.
23506 (CPP_SPEC, CPP_PREDEFINES): Delete.
23507 (mvs_label_emitted): Delete.
23508 (TARGET_EBCDIC): Delete.
23509 (MAP_CHARACTER): Define only if TARGET_EBCDIC.
23510 (HANDLE_PRAGMA): Define.
23511 (HARD_REGNO_NREGS): Handle complex modes.
23512 (HARD_REGNO_MODE_OK): Likewise.
23513 (CLASS_MAX_NREGS): Likewise.
23514 (RET_REG): Likewise.
23515 (EXTRA_CONSTRAINT): Define.
23516 (RETURN_IN_MEMORY): True for DImode.
23517 (TRAMPOLINE_TEMPLATE): Use gen_rtx instead of GEN_INT.
23518 (FUNCTION_PROFILER): Delete.
23519 (COUNT_REGS): Fail if REG_P but not REG_OK_FOR_BASE_P.
23520 (NOTICE_UPDATE_CC): Correct handling of MULT, DIV, logicals and shifts.
23521 (TARGET_ESC, TARGET_BELL): Conditionally define for TARGET_EBCDIC.
23522 (TARGET_BS, TARGET_TAB, TARGET_NEWLINE): Likewise.
23523 (TARGET_VT, TARGET_FF, TARGET_CR): Likewise.
23524 (ASM_FILE_START): Add "RMODE ANY".
23525 (ASM_OUTPUT_EXTERNAL): Check for aliases.
23526 (ASM_GLOBALIZE_LABEL): Likewise.
23527 (ASM_OUTPUT_LABELREF): Likewise.
23528 (ASM_OUTPUT_COMMON): Likewise.
23529 (PRINT_OPERAND): Handle 'K', 'W', default.
23530 (PRINT_OPERAND_ADDRESS): New.
23531 (Lots of defines): Add support for TARGET_ELF_ABI.
23532 * i370.md (attr length): New. Define for all patterns.
23533 (*): Lots of tweeks to assembly output and constraints.
23535 Mon Jul 19 15:09:29 1999 David Edelsohn <edelsohn@gnu.org>
23537 * rs6000.md (arithmetic, logical, and shift Rc combiner patterns):
23538 Disable patterns performing SImode comparisons with SImode values
23539 if TARGET_POWERPC64 and instruction does not sign-extend or does
23540 not mask to narrower than SImode, i.e. where bit 31 and bit 63 may
23541 differ for signed quantities.
23542 (indirect_jump): Add expander to choose RTL based on TARGET_64BIT.
23543 (tablejump): Patterns contingent on TARGET_64BIT not TARGET_POWERPC64.
23544 (decrement_and_branch_on_count): Add 64-bit variant.
23546 Mon Jul 19 09:36:27 1999 Bernd Schmidt <bernds@cygnus.co.uk>
23548 * final.c (output_asm_insn): When searching for the matching string
23549 for a given dialect, don't run past the end of the list of
23550 alternatives if there are fewer alternatives in the template than
23553 1999-07-17 Alexandre Oliva <oliva@dcc.unicamp.br>
23555 * gcc.texi: Update e-mail addresses and URLs to gcc.gnu.org.
23556 Removed paragraph about compression of files and size limitation,
23557 duplicated in the FAQ. Use gcc-patches for posting patches.
23558 * gcc.c (main): Updated URL with bug reporting instructions to
23559 gcc.gnu.org. Removed e-mail address.
23560 * system.h (abort): Likewise.
23562 1999-07-17 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
23564 * Makefile.in (stmp-multilib-sub): Make the files extracted
23565 from $(LIBGCC1) writable.
23567 Sat Jul 17 14:25:46 1999 Nick Clifton <nickc@cygnus.com>
23569 * config/arm/aout.h: Reformat for improved readability.
23571 * config/arm/arm.h: Reformat for improved readability.
23572 Replace uses of fprintf with asm_fprintf where appropriate.
23573 (ARM_DECLARE_FUNCTION_NAME): New macro: Perform any generic ARM
23574 function declaration assembler actions.
23575 (NUM_INTS): New macro: Convert from bytes to words.
23576 (NUM_REGS): New macro: Compute number of registers required to
23577 hold a quanitity of tyep MODE.
23578 (NUM_REGS2): New macro: Like NUM_REGS but also copes with BLKmode
23580 (NUM_ARG_REGS): New macro: The number of argument registers
23582 (ARG_REGISTER): New macro: Compute the register number of the Nth
23584 (LAST_ARG_REGNUM): New macro: The number of the last argument
23586 (SP_REGNUM): New macro: Register number of the stack pointer.
23587 (FP_REGNUM): New macro: Register number of the frame pointer.
23588 (FUNCTION_ARG, FUNCTION_ARG_PARTIAL_NREGS, INIT_CUMULATIVE_AGS,
23589 FUNCTION_ARG_ADVANCE, SETUP_INCOMING_VARARGS): Change
23590 CUMULATIVE_ARGS so that it counts registers not bytes.
23592 * config/arm/arm.c: Rename TARGET_THUMB_INTERWORK to
23594 Replace uses of fprintf with asm_fprintf where appropriate.
23595 (output_ascii_pseudo_op): Replace with version from thumb.c
23597 * config/arm/coff.h (ASM_FILE_START): Emit ASM_APP_OFF.
23599 * config/arm/elf.h (CPP_PREDEFINES): Replace with
23600 SUBTARGET_CPP_SPEC.
23601 (ASM_DECLARE_FUNCTION_NAME): Use ARM_DECLARE_FUNCTION_NAME.
23602 (ASM_FILE_START): Emit ASM_APP_OFF.
23604 Fri Jul 16 13:48:09 1999 Jeffrey A Law (law@cygnus.com)
23606 * pa.c (compute_frame_size): Round frame according to
23607 STACK_BOUNDARY rather than a hardwired value.
23609 * pa.h (POINTER_SIZE, PARM_BOUNDARY): Define in terms of BITS_PER_WORD.
23611 * configure.in (hppa*-*-hpux11*): Use symbolic MASK_PA_11 instead
23613 * configure: Rebuilt.
23615 * configure.in (hppa*-*-linux*): New configuration.
23616 * configure: Rebuilt.
23617 * pa.h (MAX_OFILE_ALIGNMENT): Delete.
23618 * pa/som.h (MAX_OFILE_ALIGNMENT): Define.
23619 * pa/pa-linux.h: New file.
23620 * pa/t-linux: New file.
23621 * pa/xm-linux.h: New file.
23623 * pa.c (hppa_legitimize_address): Change references from SImode to
23624 either Pmode or word_mode as appropriate.
23625 (emit_move_sequence, store_reg, load_reg): Likewise.
23626 (set_reg_plus_d, hppa_expand_prologue): Likewise.
23627 (output_mul_insn): Likewise.
23628 * pa.h (PROMOTE_MODE): Likewise.
23629 (INITIALZE_TRAMPOLINE): Likewise.
23630 (Pmode): Define to word_mode.
23632 * pa.c (compute_frame_size): Use UNITS_PER_WORD instead of hardwired
23633 value of 4. Allocate 8 bytes for each FP register save.
23634 (hppa_expand_epilogue): Use UNITS_PER_WORD instead of harwarewired
23636 (hppa_expand_prologue): Likewise.
23637 * pa.h (PROMOTE_MODE): Likewise.
23638 (HARD_REGNO_MODE_OK, FUNCTION_ARG_SIZE): Likewise.
23639 (FUNCTION_ARG_BOUNDARY): Likewise.
23641 * invoke.texi (HPPA Options): Remove -mspace/-mno-space.
23643 * pa.c (out_of_line_prologue_epilogue): Delete.
23644 (override_options): Remove -mspace related code.
23645 (hppa_expand_prologue, hppa_expand_epilogue): Likewise.
23646 (compute_frame_size): Only allocate space for register that
23647 actually need to be saved.
23648 * pa.h (MASK_SPACE, TARGET_SPACE): Delete.
23649 (TARGET_SWITCHES): Remove -mspace, -mno-space
23650 * pa/t-pa (LIB2FUNCS_EXTRA): Remove ee.asm and ee_fp.asm
23651 * pa/t-pro (LIB2FUNCS_EXTRA): Likewise. Remove -mspace multilib.
23652 * pa/ee.asm, pa/ee_fp.asm: Delete.
23654 * pa/elf.h (ASM_OUTPUT_DOUBLE_INT): Define.
23656 * config/svr4.h (CONST_SECTION_ASM_OP): Do not emit assembler
23657 directive in column zero.
23659 Fri Jul 16 01:39:57 1999 Jeffrey A Law (law@cygnus.com)
23661 * m68k.c (output_function_prologue): Fix computation of save mask
23662 when generating PIC code.
23664 Thu Jul 15 15:40:09 1999 Jim Wilson <wilson@cygnus.com>
23666 * tree.c (build_type_attribute_variant): Move current_obstack restore
23667 after build_qualified_type call.
23669 1999-07-15 Mark Mitchell <mark@codesourcery.com>
23671 * configure.in: Use t-iris6, even with GNU LD.
23672 * config/mips/iris6gld.h: Fix typo in linker spec.
23673 * config/mips/t-iris6gld: Remove.
23675 Thu Jul 15 15:15:43 1999 David Edelsohn <edelsohn@gnu.org>
23677 * rs6000.md (insv, extzv): Remove SImode dependence in named
23678 patterns. Explicitly generate DImode RTL if PowerPC64 and
23680 (insvdi): Reverse start and size in instruction template.
23682 1999-07-12 Joseph S. Myers <jsm28@cam.ac.uk>
23684 * invoke.texi: Typo fixes.
23686 Wed Jul 14 23:28:06 1999 Jeffrey A Law (law@cygnus.com)
23688 * emit-rtl.c (gen_realpart): Issue an error for cases GCC can not
23689 handle at this time instead of silently generating incorrect code.
23690 (gen_imagpart): Likewise.
23692 * reload.c (find_reloads): Emit a USE for a pseudo register without
23693 a hard register if we could not create an optional reload for the
23696 Wed Jul 14 23:45:48 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
23698 * c-typeck.c (output_init_element, process_init_element):
23699 When advancing constructor_unfilled_fields for a RECORD_TYPE,
23700 check for nameless bit fields.
23702 Wed Jul 14 01:57:39 1999 Richard Henderson <rth@cygnus.com>
23704 * regclass.c (scan_one_insn): Notice subregs that change the
23705 size of their operand.
23706 (record_reg_classes): Use that to obey CLASS_CANNOT_CHANGE_SIZE.
23708 Wed Jul 14 01:41:42 1999 Jeffrey A Law (law@cygnus.com)
23710 * configure.in (alpha*-*-*): Include alpha/t-ieee.
23711 * configure: Rebuilt.
23712 * alpha/t-ieee: New file.
23714 Tue Jul 13 10:45:58 1999 Jeffrey A Law (law@cygnus.com)
23716 * rs6000.c (find_addr_reg): Do not select r0 as an address
23719 Tue Jul 13 00:46:18 1999 Philippe De Muyter <phdm@macqel.be>
23721 * m68k/x-mot3300 (XCFLAGS): List of big files now includes `cse.o'.
23723 Mon Jul 12 14:29:15 1999 Jeffrey A Law (law@cygnus.com)
23725 * rs6000.md (movsf): Do not force easy FP constants into memory.
23727 * expr.c (expand_expr, case PLUS_EXPR): Pass constants through
23728 immed_double_const to ensure they are properly truncated then
23731 Mon Jul 12 10:40:01 1999 Vladimir Makarov <vmakarov@tofu.to.cygnus.com>
23733 * config/arm/thumb.c (thumb_reorg): Call replace_symbols_in_block
23734 always unless NO_DEBUG is used. Compile this code
23736 (replace_symbols_in_block): Compile it unconditionally.
23738 Sun Jul 11 12:32:32 1999 Jeffrey A Law (law@cygnus.com)
23740 * configure.in (i?86-*-elf*): New target.
23741 * configure: Rebuilt.
23742 * i386/i386elf.h, i386/t-i386elf: New files.
23744 Fri Jul 9 22:39:44 1999 Jason Merrill <jason@yorick.cygnus.com>
23746 * toplev.c (main): Don't complain about saying -gdwarf.
23747 (rest_of_compilation): Remove redundant code.
23749 Fri Jul 9 19:08:55 1999 Jim Wilson <wilson@cygnus.com>
23751 * unroll.c (unroll_loops): Don't delete named CODE_LABELs.
23753 Fri Jul 9 18:54:18 1999 Felix Lee <flee@cygnus.com>
23755 * config/i960/i960.c (ret_label): Change asm label from "LR:" to
23756 "Li960R:", to avoid name clash.
23758 Fri Jul 9 10:48:28 1999 Bernd Schmidt <bernds@cygnus.co.uk>
23760 * loop.c (check_dbra_loop): When reversing a loop, delete all
23761 REG_EQUAL notes referencing the reversed biv except those which are
23762 for a giv based on it.
23764 Fri Jul 9 03:51:52 1999 Jeffrey A Law (law@cygnus.com)
23766 * version.c: Drop "gcc-" prefix from version #.
23768 Thu Jul 8 18:06:30 1999 Jason Merrill <jason@yorick.cygnus.com>
23770 * dwarf2out.c (dwarf2out_line): Emit a line number comment after
23771 the label if we're being verbose.
23773 Thu Jul 8 14:18:46 1999 Richard Henderson <rth@cygnus.com>
23775 * m68k.c (output_function_prologue): Add pic register to mask
23776 if live and flag_pic.
23777 (output_function_epilogue): Likewise.
23779 Thu Jul 8 12:55:12 1999 Jeffrey A Law (law@cygnus.com)
23781 * dbxelf.h (ASM_OUTPUT_SOURCE_LINE): Do not put assembler
23782 directives in column zero.
23784 * pa/elf.h (ASM_FILE_START): Define.
23785 * pa/som.h (ASM_FILE_START): Include .level directives.
23786 * pa/hpux10.h (ASM_FILE_START): Delete.
23787 * pa/hpux11.h (ASM_FILE_START): Delete.
23789 * pa/elf.h (BSS_SECTION_ASM_OP): Use .section .bss.
23791 Thu Jul 8 18:03:19 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
23793 * reload1.c (choose_reload_regs): Never call remove_adress_replacements
23794 when reload_out equals reload_in.
23796 Thu Jul 8 16:50:14 1999 Nick Clifton <nickc@cygnus.com>
23798 * invoke.texi (Spec Files): New node: Describe the contents of
23801 Thu Jul 8 10:28:25 1999 Craig Burley <craig@jcb-sc.com>
23803 * invoke.texi (DEC Alpha Options): Put @end table at
23804 beginning of line, to avoid confusing texi2html.
23806 Thu Jul 8 09:22:06 1999 Nick Clifton <nickc@cygnus.com>
23808 * config/arm/elf.h (ASM_OUTPUT_INTERNAL_LABEL): Fixed typo
23809 introduced in previous delta.
23811 Wed Jul 7 02:00:04 1999 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
23813 * reload1.c (gen_reload): When synthesizing a 3 operand add
23814 sequence, improve test for when to reload OP1 into the reload
23815 register instead of OP0.
23817 Wed Jul 7 01:38:03 1999 Jim Wilson <wilson@cygnus.com>
23819 * unroll.c (unroll_loop): Don't delete NOTE_INSN_DELETED_LABEL notes.
23821 1999-07-07 Manfred Hollstein <mhollstein@cygnus.com>
23823 * m88k/dguxbcs.h (CPP_SPEC): Add missing \ in multi-line
23826 Wed Jul 7 01:16:43 1999 Richard Henderson <rth@cygnus.com>
23828 * ginclude/varargs.h (__builtin_va_alist_t): New typedef.
23829 (va_dcl): Use __builtin_va_alist_t.
23831 Wed Jul 7 01:14:42 1999 Jason Merrill <jason@yorick.cygnus.com>
23833 * dwarf2out.c (gen_struct_or_union_type_die): Only remember types
23834 on the permanent_obstack.
23835 * dwarfout.c (output_type): Likewise.
23837 Tue Jul 6 15:25:32 1999 Gavin Romig-Koch <gavin@cygnus.com>
23839 * c-common.c (unsigned_type,signed_type,signed_or_unsigned_type) :
23840 Merged from c-typeck.c and cp/typeck.c.
23841 * c-typeck.c (unsigned_type,signed_type,signed_or_unsigned_type) :
23842 Merged into c-common.
23844 Tue Jul 6 13:06:01 1999 Dave Brolley <brolley@cygnus.com>
23846 * c-lex.c (errorcount): Declare it.
23847 (finish_parse): Update errorcount when using CPPLIB.
23849 1999-07-06 Bruce Korb <ddsinc09@ix.netcom.com>
23851 * fixinc/inclhack.def(end_else_label): Double the backslash so
23852 sed gets a chance to see it.
23853 * fixinc/inclhack.sh: regen
23854 * fixinc/fixincl.x: regen
23856 Fri Jul 2 18:49:51 1999 Nick Clifton <nickc@cygnus.com>
23858 Add framework to support armv5 architecture when it becomes
23861 * config/arm/arm.c (FL_ARCH5): New processor capability flag.
23862 (arm_arch5): New variable.
23863 (all_architectures): Add armv5 line.
23864 * config/arm/arm.h (CPP_CPU_ARCH_SPEC): Define __ARM_ARCH_5__ if
23865 -march=armv5 is specified on the command line.
23866 (arm_arch5): Export this variable.
23867 * invoke.texi: Document new string accepted by -march= switch for
23870 * config/arm/arm.h: Replace use of constant 12 as a register
23871 number with IP_REGNUM. Similarly 14 and LR_REGNUM.
23872 * config/arm/arm.c: Replace use of constant 12 as a register
23873 number with IP_REGNUM. Similarly 14 and LR_REGNUM.
23875 * config/arm/elf.h: Tidy up.
23876 * config/arm/coff.h: Tidy up.
23878 Thu Jul 1 19:08:13 1999 Mark P. Mitchell <mark@codesourcery.com>
23880 * gcc/configure.in (mips-sgi-irix6*): Handle --with-gnu-ld.
23881 * gcc/config/mips/t-iris6gld: New file.
23882 * gcc/config/mips/iris6gld.h: Likewise.
23884 Fri Jul 2 13:23:39 1999 Gavin Romig-Koch <gavin@cygnus.com>
23886 * c-decl.c (widest_integer_literal_type_node,
23887 widest_unsigned_literal_type) : New.
23888 (init_decl_processing): Handle/use the two new types.
23889 * c-common.c (type_for_size,type_for_mode) : Same.
23890 * c-lex.c (yylex) : Same.
23891 * c-typeck.c (unsigned_type,signed_type,signed_or_unsigned_type) :
23893 * c-tree.h (widest_integer_literal_type_node,
23894 widest_unsigned_literal_type) : New.
23896 Fri Jul 2 03:05:44 1999 Jeffrey A Law (law@cygnus.com)
23898 * dwarfout.c (field_byte_offset): Correctly compute the object's
23899 byte offset for the first bit of a field which crosses an alignment
23900 boundary on a !BYTES_BIG_ENDIAN target.
23902 Fri Jul 2 01:36:36 1999 Robert Lipe <robertlipe@usa.net>
23904 * fixinc.svr4: Fix <arpa/inet.h> by deleting protos for htons and
23907 Fri Jul 2 00:46:47 1999 Richard Henderson <rth@cygnus.com>
23908 Jeff Law <law@cygnus.com>
23910 * ginclude/varargs.h (va_dcl): Use word_mode for type of
23913 * except.c: Include intl.h.
23914 (expand_eh_return): Set current_function_cannot_inline.
23915 (save_eh_status, restore_eh_status): Twiddle eh_return_stub_label.
23916 * function.h (struct function): Add eh_return_stub_label.
23917 * flow.c (delete_unreachable_blocks): Don't merge across EH edges.
23918 * Makefile.in (except.o): Depend on intl.h.
23920 Fri Jul 2 00:04:23 1999 David Edelsohn <edelsohn@gnu.org>
23922 * rs6000.md (movdf_hardfloat32): Handle PRE_INC and PRE_DEC the
23923 same as offsettable in cases 1 and 2.
23925 Thu Jul 1 20:54:10 1999 Richard Henderson <rth@cygnus.com>
23927 * alpha.md (extqh): Define as 64-((R&7)*8) instead of 56-(((R-1)&7)*8).
23928 (extlh, extwh): Likewise.
23930 Thu Jul 1 11:05:25 1999 Gavin Romig-Koch <gavin@cygnus.com>
23932 * c-lex.c (yylex): Improve 'integer constant out of range' messages.
23934 Wed Jun 30 16:51:41 1999 Nick Clifton <nickc@cygnus.com>
23936 * configure.in: Add arm-pe and thumb-pe targets.
23937 * configure: Regenerate.
23939 * thumb.c (arm_naked_function_p): New function: Determines if
23940 a function is naked (has no gcc generated prologue/epilogue).
23941 (is_called_in_ARM_mode): Return true if the func has the
23942 interfacearm attribute.
23943 (output_return): Do not generate a return for naked functions.
23944 (thumb_function_prologue): Do not generate a prologue for
23946 (thumb_expand_prologue): Do not generate a prologue for naked
23948 (thumb_expand_epilogue): Do not generate an epilogue for naked
23950 (arm_valid_machine_decl_attribute): New function, copied from
23951 arm.c: Permit naked and interfacearm attributes.
23953 * config/arm/pe.c: New file: Support code for arm-pe target.
23954 * config/arm/pe.h: New file: Header file for arm-pe target.
23955 * config/arm/tpe.h: New file: Header file for thumb-pe target.
23956 * config/arm/t-thumb-pe: New file: Makefile fragment for
23959 1999-07-01 Mark Kettenis <kettenis@gnu.org>
23961 * config/i386/gnu.h (CPP_SPEC): Define __PIC__ and __pic__ if
23962 -fPIC or -fpic is specified.
23964 Wed Jun 30 03:31:54 1999 Jeffrey A Law (law@cygnus.com)
23966 * expr.c (emit_block_move): Use copy_to_mode_reg for
23967 !TARGET_MEM_FUNCTIONS case too.
23969 * configure.in (hppa*-*-*): Add som.h or elf.h to tm_file as
23971 * configure: Rebuilt.
23972 (hppa1.1-*-pro*, hppa1.1-*-rtems*): Define target_cpu_default.
23973 * pa.h: Include dbxelf.h. Delete various dbx/stabs related
23974 definitions made redundant by dbxelf.h inclusion. Delete
23975 lots of definitions related to assembly output that are
23976 specific to the SOM object format.
23977 * pa.c (output_function_prologue): Do not emit the function's
23979 * pa-pro-end.h (STARTFILE_SPEC): Undefine before redefining.
23980 * pa-pro.h: Deleted.
23981 * som.h: New file with SOM specific definitions.
23982 * elf.h: New file with ELF specific definitions.
23984 * elfos.h (const_section): Output a tab before assembler directives.
23985 (ctors_section, dtors_section): Likewise.
23986 (ASM_OUTPUT_SECTION_NAME): Likewise.
23988 * pa/pa1.h: Delete unused file.
23990 Tue Jun 29 01:37:53 1999 Jeffrey A Law (law@cygnus.com)
23992 * configure.in (hppa*-hp-hpux11*): New configuration.
23993 * configure: Rebuilt.
23994 * pa/pa-hpux11.h: New file.
23995 * pa.h (CPP_SPEC): Conditionally add -D__STDC_EXT__ to the cpp
23998 * mips.md (leasi, leadi): New patterns.
24000 * expr.c (emit_block_move): Properly handle case where one of the
24001 block move arguments has a queued increment or decrement.
24002 (clear_storage): Similarly. Fix formatting goof.
24004 1999-06-28 "David O'Brien" <obrien@NUXI.com>
24006 * fixinc/inclhack.def(stdio_va_list): This patch Removes a
24007 semicolon from the BSD VA_LIST replacement expression.
24009 * fixinc/inclhack.sh: regen
24010 * fixinc/fixincl.x: regen
24012 * fixinc/mkfixinc.sh: Have `i[34567]86-*-freebsd*' machines
24013 now use the fixincl program.
24015 Mon Jun 28 05:28:12 1999 Jeffrey A Law (law@cygnus.com)
24017 * m68k.h (CONDITIONAL_REGISTER_USAGE): Define for !SUN_FPA
24018 case. Also make the PIC register call_used.
24020 * m68k.h (FINALIZE_PIC): Delete.
24021 * m68k.c (finalize_pic): Delete.
24023 Mon Jun 28 05:16:35 1999 Richard Henderson <rth@cygnus.com>
24025 * m68k.h (PREFERRED_RELOAD_CLASS): Don't force any FP const_doubles
24028 Mon Jun 28 04:07:27 1999 David Edelsohn <edelsohn@gnu.org>
24030 * expmed.c (expand_divmod): Ensure unsigned value fits in reg_note.
24032 Sun Jun 27 02:39:08 1999 Richard Henderson <rth@cygnus.com>
24034 * jump.c (jump_optimize_1): Validate the cmov copy to a temporary.
24036 Sat Jun 26 17:18:18 1999 David Edelsohn <edelsohn@gnu.org>
24038 * rs6000.c (print_operand, case 'L'): Use plus_constant_for_output.
24040 Fri Jun 25 11:33:24 1999 Richard Henderson <rth@cygnus.com>
24042 * alpha.c (override_options): Add -mcpu=ev45 as an alias for ev4.
24044 Fri Jun 25 13:41:25 1999 David Edelsohn <edelsohn@gnu.org>
24046 * rs6000.c (output_toc): Always use hex values for floating-point
24047 constants. Store single-precision values in upper-half of TOC
24048 entry in 64-bit mode.
24049 * rs6000.md (floatsidf2, floatunssidf2): Add !TARGET_POWERPC64
24050 to final constraints.
24051 (fix_truncdfsi2 splitter): Change pattern matching fctiwz.
24052 (fctiwz): Improve accuracy of RTL for pattern.
24054 Fri Jun 25 11:26:38 1999 Gavin Romig-Koch <gavin@cygnus.com>
24056 * expr.c (expand_expr): Allow RTL_EXPR's through the
24057 MAX_INTEGER_COMPUTATION_MODE checks.
24059 Fri Jun 25 06:06:37 1999 Richard Henderson <rth@cygnus.com>
24061 * alpha.h (MASK_SUPPORT_ARCH, MASK_CPU_EV5, MASK_CPU_EV6): Define
24062 such that MASK_SUPPORT_ARCH is not negative.
24064 Fri Jun 25 05:35:44 1999 Jeffrey A Law (law@cygnus.com)
24066 * loop.c (verify_dominator): Properly handle ADDR_VEC and
24067 ADDR_DIFF_VEC insns that appear inside loops.
24069 Thu Jun 24 22:54:05 1999 David Edelsohn <edelsohn@gnu.org>
24070 Jeff Law <law@cygnus.com>
24072 * rs6000.md (movdf_hardfloat32): Revert previous patch.
24073 Handle LO_SUM the same as offsettable in cases 1 and 2.
24074 * rs6000.c (find_addr_reg): Revert previous patch.
24076 Thu Jun 24 22:43:12 1999 Philippe De Muyter <phdm@macqel.be>
24078 * system.h (strstr): New external function declaration.
24079 * acconfig.h (NEED_DECLARATION_STRSTR): New define slot.
24080 * configure.in (GCC_NEED_DECLARATIONS): Check for strstr.
24081 * config.in, configure: Rebuilt.
24083 1999-06-24 Tom Tromey <tromey@cygnus.com>
24085 * gcc.c (main): Read user-specified specs files after computing
24086 additional startfile_prefixes.
24088 Thu Jun 24 15:00:47 1999 Mark Mitchell <mark@codesourcery.com>
24090 Revert these two patches:
24092 Thu Jun 17 21:34:24 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
24093 * loop.c (strength_reduce): When doing biv->giv conversion, update
24094 reg note of NEXT->insn.
24096 Thu Jun 17 17:22:07 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
24097 * loop.c (strength_reduce): When doing biv->giv conversion, fix up
24099 (recombine_givs): Set ix field after sorting.
24101 Wed Jun 23 21:26:00 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
24103 * rtlanal.c (reg_referenced_p): Use reg_overlap_mentioned_p
24104 for the parts of an UNSPEC / UNSPEC_VOLATILE.
24106 1999-06-23 Bruce Korb <ddsinc09@ix.netcom.com>
24108 *fixinc/inclhack.def: Add fix development commentary
24109 (read_ret_type): reactivate and add selection clause
24110 (zzz_*): tweak output file name to match what is used in hackshell.tpl
24111 *fixinc/{fixincl.x|inclhack.sh}: regen
24113 Wed Jun 23 00:48:21 1999 Jason Merrill <jason@yorick.cygnus.com>
24115 * expr.c (expand_expr): STRIP_NOPS before checking against
24116 MAX_INTEGER_COMPUTATION_MODE
24117 (check_max_integer_computation_mode): Likewise.
24119 Tue Jun 22 20:23:43 1999 Jim Wilson <wilson@cygnus.com>
24121 * md.texi (smul@var{m}3_highpart): Add missing 's' prefix.
24123 1999-06-22 Jim Wilson <wilson@cygnus.com>
24125 * expr.c (store_expr): When target is a promoted subreg, return a
24126 promoted subreg as a result.
24128 Tue Jun 22 17:14:58 1999 Michael Meissner <meissner@cygnus.com>
24130 * dwarf2out.c (dwarf2out_frame_debug_expr): Reformat to match GNU
24132 (dwarf2out_define): Mark unused parameters appropriately.
24133 (gen_unspecified_parameters_die): Ditto.
24134 (gen_subprogram_die): Fix signed/unsigned warnings.
24135 (gen_variable_die): Ditto.
24137 1999-06-22 Bruce Korb <ddsinc09@ix.netcom.com>
24139 * fixinc/inclhack.def(end_else_label): combined else_label
24140 and endif_label and fixed the sed expression.
24141 *fixinc/{fixincl.x|inclhack.sh}: regen
24143 Tue Jun 22 01:58:18 1999 Jeffrey A Law (law@cygnus.com)
24145 * rs6000.md (movdf_hardfloat32): Use %X instead of always emitting
24146 'x' when handling non-offsettable addresses
24148 Tue Jun 22 00:20:05 1999 Richard Earnshaw (rearnsha@arm.com)
24150 * final.c (shorten_branches): Don't try to split an insn that has
24153 Mon Jun 21 12:47:39 1999 Mark Mitchell <mark@codesourcery.com>
24155 * config/mips/mips.c (symbolic_expression_p): New function.
24156 (mips_select_rtx_section): Put symbolic expressions in the
24157 data section, not the read-only data section.
24159 Mon Jun 21 22:13:06 1999 Jeffrey A Law (law@cygnus.com)
24161 * rs6000.md (find_addr_reg): Handle LO_SUM addresses.
24163 Mon Jun 21 20:10:42 1999 Richard Henderson <rth@cygnus.com>
24165 * collect2.c (main): Log frame table count.
24166 (GCC_OK_SYMBOL) [ECOFF]: Accept stGlobal.
24167 (scan_prog_file) [COFF]: Handle frame tables.
24169 * alpha/alpha.h (UNALIGNED_SHORT_ASM_OP): Define.
24170 (UNALIGNED_INT_ASM_OP, UNALIGNED_DOUBLE_INT_ASM_OP): Define.
24171 * alpha/elf.h: Undef them again.
24172 * alpha/vms.h: Remove their definitions.
24174 Tue Jun 22 03:17:53 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
24176 * sh.c (machine_dependent_reorg): When fixing up fp pcloads,
24177 remove the clobber of r0 and change the REG_UNUSED note to
24180 1999-06-21 Jakub Jelinek <jj@ultra.linux.cz>
24182 * real.c (ereal_from_double): Fix for 64-bit big endian hosts.
24183 * emit-rtl.c (gen_lowpart_common): Add case for hosts where double
24184 fits in HOST_WIDE_INT and one uses union to access a long constant
24187 Mon Jun 21 17:18:25 1999 Richard Henderson <rth@cygnus.com>
24189 * sparc.c (sparc_override_options): Don't allow profiling for
24190 code models other than medlow.
24191 (sparc_function_profiler): New function from old FUNCTION_PROFILER
24192 macro. Use ASM_GENERATE_INTERNAL_LABEL and MCOUNT_FUNCTION.
24193 (sparc_function_block_profiler): Likewise. Use user_label_prefix.
24194 (sparc_block_profiler): Likewise.
24195 (sparc_function_block_profiler_exit): Likewise.
24196 * sparc.h (FUNCTION_PROFILER): Call new sparc.c function.
24197 (FUNCTION_BLOCK_PROFILER): Likewise.
24198 (BLOCK_PROFILER): Likewise.
24199 (FUNCTION_BLOCK_PROFILER_EXIT): Likewise.
24200 (MCOUNT_FUNCTION): New.
24201 * sparc/pbd.h (FUNCTION_PROFILER): Delete.
24202 (FUNCTION_BLOCK_PROFILER, BLOCK_PROFILER): Delete.
24203 * sparc/sun4o3.h (FUNCTION_PROFILER): Delete.
24204 (MCOUNT_FUNCTION): New.
24205 * sparc/sysv4.h (FUNCTION_BLOCK_PROFILER): Delete.
24206 (BLOCK_PROFILER): Delete.
24207 (MCOUNT_FUNCTION): New.
24209 Mon Jun 21 14:11:29 1999 David Edelsohn <edelsohn@gnu.org>
24211 * rs6000.md (movdf_hardfloat32): Fix typo in case 2.
24213 Mon Jun 21 12:27:17 1999 Vladimir Makarov <vmakarov@tofu.to.cygnus.com>
24215 * config/mips/elf.h (BSS_SECTION_ASM_OP, ASM_OUTPUT_ALIGNED_BSS):
24218 * config/m68k/m68kelf.h (BSS_SECTION_ASM_OP, ASM_OUTPUT_ALIGNED_BSS):
24221 * config/sh/sh.h (BSS_SECTION_ASM_OP, ASM_OUTPUT_ALIGNED_BSS):
24224 * config/arm/telf.h (BSS_SECTION_ASM_OP, ASM_OUTPUT_ALIGNED_BSS):
24227 Mon Jun 21 14:58:42 1999 Nick Clifton <nickc@cygnus.com>
24229 * config/arm/arm.h: Add cpp support for ARM920 and ARM920T cpu
24232 Mon Jun 21 06:22:21 1999 Mark Elbrecht <snowball3@bigfoot.com>
24234 * i386/djgpp.h (LIB_SPEC): New.
24235 (STARTFILE_SPEC): New.
24237 * i386/xm-djgpp.h (NO_SYS_SIGLIST): Deleted. Now obsolete.
24239 Mon Jun 21 06:19:33 1999 Philippe De Muyter <phdm@macqel.be>
24241 * fixinc/Makefile.in (gnu-regex.o): Do not define STDC_HEADERS in
24244 * system.h (WSTOPSIG): New macro.
24246 Mon Jun 21 05:33:15 1999 Mumit Khan <khan@xraylith.wisc.edu>
24248 * c-pragma.c (push_alignment): Don't ignore alignments greater than
24250 (insert_pack_attributes): Take into account member natural
24253 * i386/winnt.c (exports_head): New static variable.
24254 (i386_pe_record_exported_symbol): New function.
24255 (i386_pe_asm_file_end): Use.
24256 * i386/cygwin.h (ASM_OUTPUT_COMMON): Record the exported
24257 symbols to be emitted at end of assembly.
24258 (ASM_DECLARE_OBJECT_NAME): Likewise.
24259 (ASM_DECLARE_FUNCTION_NAME): Likewise.
24261 * i386/uwin.h (CPP_SPEC): Use -idirafter instead -iprefix and
24264 Mon Jun 21 04:44:31 1999 Jeffrey A Law (law@cygnus.com)
24266 * sparc.h (LEGITIMIZE_RELOAD_ADDRESS): Fix paren error introduced
24269 Sun Jun 20 17:27:20 1999 Richard Henderson <rth@cygnus.com>
24271 * haifa-sched.c (sched_analyze_1): Use free_list instead of
24272 zapping reg_last_uses directly.
24273 (sched_analyze_2, sched_analyze_insn): Likewise.
24274 (sched_analyze): Likewise. Don't clear reg_last_uses on calls.
24276 Sun Jun 20 16:57:29 1999 David Edelsohn <edelsohn@gnu.org>
24278 * rs6000.md (movdf_hardfloat32): Use worst case insn length
24279 attributes for cases 1 and 2.
24281 Sat Jun 19 22:52:55 1999 Richard Henderson <rth@cygnus.com>
24283 * haifa-sched.c (sched_analyze): Mark call-user regs as clobbered
24286 Sat Jun 19 05:40:07 1999 Philip Blundell <pb@nexus.co.uk>
24288 * arm.c (arm_reload_in_hi): Invert sense of test on BYTES_BIG_ENDIAN.
24290 Sat Jun 19 05:25:05 1999 Richard Earnshaw (rearnsha@arm.com)
24292 * arm.h (CONDITIONAL_REGISTER_USAGE): If flag_pic, never use
24293 PIC_OFFSET_TABLE_REGNUM for general alloaction.
24294 (INITIAL_ELIMINATION_OFFSET): Count the fact that the PIC register
24295 must be stacked if it is used for PIC accesses.
24296 * arm.c (use_return_insn): Handle PIC register specially.
24297 (output_return_instruction): Likewise.
24298 (output_func_{prologue,epilogue}): Likewise.
24299 (output_expand_prologue): Likewise.
24301 * arm.md (*adddf_esfdf_df): Renamed from *adddf_df_esfdf.
24302 (*strsi_predec): Renamed from *strqi_predec.
24303 (*loadsi_shiftpreinc): Renamed from *loadqi_shiftpreinc.
24304 (*loadsi_shiftpredec): Renamed from *loadqi_shiftpredec.
24306 * arm.c (arm_override_options): Remove warning about PIC code
24307 not being supported.
24309 Fri Jun 18 23:47:06 1999 David Edelsohn <edelsohn@gnu.org>
24311 * rs6000.c (find_addr_reg): New function.
24312 * rs6000.h (find_addr_reg): Declare.
24313 (offsettable_addr_operand): Delete.
24314 * rs6000.md (movdf_hardfloat32): Handle non-offsettable loads
24315 from and stores to GPRs.
24317 Fri Jun 18 15:44:18 1999 Richard Henderson <rth@cygnus.com>
24319 * alpha.c (alpha_expand_block_move): Use get_insns rather than
24320 gen_sequence as argument to emit_no_conflict_block.
24322 Fri Jun 18 07:02 1999 Bruce Korb <ddsinc09@ix.netcom.com>
24324 * fixinc/mkfixinc.sh: enable the fixincl program for DG/UX
24325 * fixinc/inclhack.def(dgux_int_varargs): script must end with \n
24326 *fixinc/fixincl.x: regen
24327 *fixinc/inclhack.sh: regen
24329 Thu Jun 17 15:06:10 PDT 1999 Don Lindsay <dlindsay@cygnus.com>
24331 * added support for -mpcrel (PC relative addressing for m68k)
24332 based on code done by Michael Tiemann <tiemann@axon.cygnus.com>.
24333 * invoke.texi (m68000 options): Add documentation for -mpcrel flag.
24334 * m68k.c (print_operand_address): Handle 32-bit PIC case.
24335 (comments for general_src_operand): Add some explanation
24336 about EXTRA_CONSTRAINTS.
24337 (OVERRIDE_OPTIONS): Enable -fPIC in combination with -mpcrel.
24338 * m68kelf.h (OVERRIDE_OPTIONS): Ditto.
24339 (LEGITIMATE_PIC_OPERAND_P): Fix typo.
24340 (LEGITIMATE_PIC_OPERAND_P): Re-derive from m68k.h case.
24341 * m68k.h (LEGITIMATE_PIC_OPERAND_P): Fix delete-o.
24342 (INDIRECTABLE_1_ADDRESS): Delete spurious '/' at end of macro.
24343 (OVERRIDE_OPTIONS): Change behavior so that -mpcrel implies -fpic
24344 if not already set.
24345 (OVERRIDE_OPTIONS): Merge in changes from m68k.h.
24346 * m68k.h (TARGET_PCREL): New target flag.
24347 (TARGET_SWITCHES): Add "pcrel" as a recognized switch.
24348 (OVERRIDE_OPTIONS): Add checks for -mpcrel.
24349 (LEGITIMATE_PIC_OPERAND_P): Don't normally accept anything that
24350 contains a SYMBOL_REF. Relax this constraint during reload, since
24351 we want to use the predicates, not reload's built-in concept of a
24352 valid memory address, to control what insns need reloading.
24353 (EXTRA_CONSTRAINT): Define constraints to accept pc-relative
24354 operands (essentially 'g', 'm', and 's' under normal circumstances).
24355 * m68k.c (print_operand): Cause printing of pc-relative addresses
24356 to include pc register.
24357 (print_operand_address): Ditto.
24358 (general_src_operand): Accept operands that are not only
24359 general_operands, but are also valid when used as a pc-relative
24361 (nonimmediate_src_operand): Similar, for nonimmediate_operands.
24362 (memory_src_operand): Similar, for memory_operands.
24363 (pcrel_address): New predicate to accept the special case of a
24364 pc-relative address.
24365 * m68k.md (many patterns): Rewrite common SImode, HImode, and
24366 QImode insns to accept *_src_operand instead of *_operand where
24367 pc-relative operands can fit. For example, a pc-relative operand
24368 can be used as a memory source operand for addsi3, but not as a
24369 memory destination.
24370 * hp320.h linux.h m68kv4.h (LEGITIMATE_PIC_OPERAND_P) as in m68k.h.
24372 Fri Jun 18 09:11:07 1999 Nick Clifton <nickc@cygnus.com>
24374 * config/arm/telf.h (ASM_OUTPUT_DEF_FROM_DECLS): New Marco: USe
24375 .thumb_set pseudo op to mark aliases of thumb functions.
24377 Wed Jun 16 18:19:13 1999 Nick Clifton <nickc@cygnus.com>
24379 * varasm.c (assemble_alias): Use ASM_OUTPUT_DEF_FROM_DECLS in
24380 preference to ASM_OUTPUT_DEF, if it is defined.
24382 * tm.texi: Document new, optional target macro
24383 ASM_OUTPUT_DEF_FROM_DECLS.
24385 Thu Jun 17 15:07 1999 Bruce Korb <ddsinc09@ix.netcom.com>
24387 * fixincludes: ISCNTL patch
24388 * fixinc/inclhack.def (ioctl_fix_ctrl): Fix the definition of [_]*ISCTRL().
24389 (dgux_int_varargs): new for DG/UX
24390 * fixinc/{fixincl.x,inclhack.sh}: Regenerated.
24392 Thu Jun 17 21:34:24 1999 Jeff Law <law@cygnus.com>
24394 * invoke.texi (ia32 options): Fix typo.
24396 Thu Jun 17 21:34:24 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
24398 * loop.c (strength_reduce): When doing biv->giv conversion, update
24399 reg note of NEXT->insn.
24401 Thu Jun 17 14:25:08 1999 Jeffrey A Law (law@cygnus.com)
24403 * loop.c (move_movables): Note issues with replacing REGs with
24405 * mips.h (GO_IF_LEGITIMATE_ADDRESS): Handle SUBREGs properly.
24407 Thu Jun 17 13:28:30 1999 David O'Brien <obrien@FreeBSD.org>
24409 * i386/freebsd-elf.h (LINK_SPEC): Fix typo.
24411 * i386/freebsd-elf.h (FUNCTION_PROFILER): labels are not needed and
24412 the reference to `mcount' was not correct for the ELF on FreeBSD.
24414 Thu Jun 17 17:22:07 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
24416 * loop.c (strength_reduce): When doing biv->giv conversion, fix up
24419 (recombine_givs): Set ix field after sorting.
24421 Thu Jun 17 02:54:30 1999 Jeffrey A Law (law@cygnus.com)
24423 * emit-rtl.c (operand_subword): Tighten checks for when it is safe
24424 to safe to extract a subword out of a REG.
24426 Thu Jun 17 01:45:24 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
24428 * sh.md (mulsi3): Don't add a no-op move at the end.
24430 Wed Jun 16 20:29:00 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
24432 * cse.c (cse_insn): Don't put hard register source into tables for
24433 the last insn of a libcall.
24435 Wed Jun 16 19:44:33 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
24437 * loop.c (strength_reduce): Insert sets of derived givs at every
24438 biv increment, even if it's the only one.
24440 Wed Jun 16 10:33:02 1999 Jason Merrill <jason@yorick.cygnus.com>
24442 * dwarfout.c (add_incomplete_type): New fn.
24443 (output_type): Call it.
24444 (retry_incomplete_types): New fn.
24445 (dwarfout_finish): Call it.
24447 From Eric Raskin <ehr@listworks.com>:
24448 (output_type): Output types for bases.
24450 Tue Jun 15 12:51:23 1999 Alexandre Oliva <oliva@dcc.unicamp.br>
24452 * mips.c (mips_output_conditional_branch): Add `break'
24453 between `default' label and `close braces'.
24455 Tue Jun 15 01:55:20 1999 David O'Brien <obrien@FreeBSD.org>
24457 * i386/freebsd-elf.h (LINK_SPEC): clean up the linking library
24458 specifications and make it realistic.
24459 (LIB_SPEC): Likewise.
24461 Mon Jun 14 15:38:43 1999 Jim Wilson <wilson@cygnus.com>
24463 * config/mips/mips.c (mips_secondary_reload_class): Check for
24464 (PLUS (SP) (REG)) and return appropriate register class.
24465 * config/mips/mips.md (reload_insi): Delete predicate for operand 1.
24466 Handle (PLUS (SP) (REG)).
24467 (tablejump): In mips16 code, use emit_insn instead of emit_jump_insn.
24468 (tablejump_mips161, tablejump_mips162): Use emit_jump_insn instead
24469 of emit_insn for tablejump.
24471 Mon Jun 14 17:26:40 1999 David Edelsohn <edelsohn@gnu.org>
24473 * rs6000.c (output_prolog): RS6000_CALL_GLUE must be
24474 asm_fprintf format string by itself.
24475 (output_function_profiler): Likewise.
24477 Mon Jun 14 12:57:38 1999 David Mosberger <davidm@hpl.hp.com>
24479 * combine.c (simplify_logical, case AND): Only call
24480 simplify_and_const_int if the mode is no wider than HOST_WIDE_INT
24481 or the constant is positive.
24483 Mon Jun 14 11:43:41 1999 Nick Clifton <nickc@cygnus.com>
24485 * configure.in: Fix typo in rs6000-ibm-aix4 case.
24486 * configure: Regenerate.
24488 Mon Jun 14 03:55:40 1999 Jeffrey A Law (law@cygnus.com)
24490 * configure.in (rs6000-ibm-aix4.3*, powerpc-ibm-aix4.3*): Do not
24491 require a sub-version #.
24492 * configure: Rebuilt.
24494 1999-06-14 Robert Lipe (robertlipe@usa.net)
24496 * svr4.h (DWARF2_DEBUGGING_INFO): Check for redefinition.
24498 Mon Jun 14 10:30:52 BST 1999 Nathan Sidwell <nathan@acm.org>
24500 * c-typeck.c (process_init_element): Detect excess elements in
24501 char array initializer.
24503 1999-06-14 Andreas Jaeger <aj@arthur.rhein-neckar.de>
24505 * gcc.texi: Mention gcc 2.96 instead of egcs 1.00.
24507 Sat Jun 12 22:29:48 EDT 1999 Jerry Quinn <jquinn@nortelnetworks.com>
24509 * invoke.texi (Option Summary): Add -fpermissive flag.
24511 Sat Jun 12 03:40:42 1999 Jeffrey A Law (law@cygnus.com)
24513 * sparc.h (LEGITIMIZE_RELOAD_ADDRESS): Do nothing with operands
24514 that require PIC code sequences.
24516 Wed Jun 9 16:29:01 1999 Nick Clifton <nickc@cygnus.com>
24518 * configure.in: Add new target: thumb-elf.
24519 * configure: Regenerate.
24520 * config/arm/t-thumb-elf: New file: Makefile fragment for
24522 * config/arm/telf.h: New file: Header file for thumb-elf
24525 Fri Jun 11 03:17:51 1999 Jeffrey A Law (law@cygnus.com)
24527 * Makefile.in (libgcc2): Pass MAYBE_USE_COLLECT2 as an argument.
24528 * libgcc2.c (__CTOR_LIST, __DTOR_LIST); Do not provide
24529 initializers is some circumstances.
24531 * fixinc/inclhack.def (endif_label): Add additional selector for
24532 more bogus stuff after #endif statements.
24533 * fixinc/inclhack.sh, fixinc/fixincl.x: Rebuilt.
24535 Thu Jun 10 20:44:36 1999 Mumit Khan <khan@xraylith.wisc.edu>
24537 * i386/cygwin.h (SET_ASM_OP): Define.
24539 Thu Jun 10 20:37:57 1999 Mumit Khan <khan@xraylith.wisc.edu>
24541 * reg-stack.c (stack_reg_life_analysis): Find all the RETURN insns.
24543 Thu Jun 10 19:23:00 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
24545 * sh.h (TARGET_HARWARD, TARGET_HARVARD): Changed the former to the
24548 * sh.md (ic_invalidate_line_i): Remove second alternative.
24550 Thu Jun 10 06:55 1999 Bruce Korb <ddsinc09@ix.netcom.com>
24552 *fixinc/inclhack.def(sun_auth_proto): We do not know how to
24553 test for the presence of valid prototypes. Delete bypass expr.
24554 (ioctl_fix_ctrl): Correct the selection expression.
24555 (no_double_slash): Correct quoting rules
24556 *fixinc/fixincl.x: regen
24557 *fixinc/inclhack.sh: regen
24559 Thu Jun 10 15:08:15 1999 Nick Clifton <nickc@cygnus.com>
24561 * config/arm/arm.c (struct all_cores): Add ARM920 and ARM920t.
24563 Wed Jun 9 15:57:57 1999 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
24565 * rs6000.md (movsi_got_internal_mem): Delete.
24566 * rs6000.h (CONDITIONAL_REGISTER_USAGE): Mark PIC_OFFSET_TABLE_REGNUM.
24567 (GOT_TOC_REGNUM): Delete.
24568 (PIC_OFFSET_TABLE_REGNUM): Define.
24569 (FINALIZE_PIC): Disable.
24570 * rs6000.c (rs6000_got_register): New code for fixed pic register.
24571 (rs6000_replace_regno): Delete.
24572 (rs6000_finalize_pic): Likewise.
24573 (output_prolog): Handle PIC_OFFSET_TABLE_REGNUM.
24575 Wed Jun 9 19:44:26 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
24577 * loop.c (loop_insn_first_p): Don't compare LUIDs when P
24578 is a note; use <= for the compare; advance P while it is
24581 Wed Jun 9 13:12:24 1999 Jeffrey A Law (law@cygnus.com)
24583 * fixinc/inclhack.def (no_double_slash): Fix quoting for test.
24584 * fixinc/inclhack.sh, fixinc/fixincl.x, fixinc/fixincl.sh; Rebuilt.
24586 * varasm.c (remove_from_pending_weak_list): Verify t->name
24587 is non-NULL before passing it to strcmp.
24589 Wed Jun 9 06:50 1999 Bruce Korb <ddsinc09@ix.netcom.com>
24591 *fixinc/inclhack.def(sun_auth_proto): bypass the patch if
24592 the typed arguments are not part of a comment
24593 (ioctl_fix_ctrl): Added a purpose comment
24594 *fixinc/fixincl.x: regenerate
24595 *fixinc/inclhack.sh: regenerate
24597 Wed Jun 9 22:57:02 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
24599 * invoke.texi: Add C4x invocation docs.
24601 Wed Jun 9 22:34:38 1999 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
24603 * config/c4x/c4x.h (TARGET_EXPOSE_LDP, LEGITIMIZE_RELOAD_ADDRESS):
24605 * config/c4x/c4x.c (c4x_emit_move_sequence, src_operand): Use
24607 (c4x_legitimize_reload_address): New function.
24608 * config/c4x/c4x.md: Update docs.
24610 Wed Jun 9 04:14:48 1999 Jeffrey A Law (law@cygnus.com)
24612 * fixincludes: Avoid removing '.'.
24613 * fixinc/fixinc.svr4: Likewise.
24614 * fixinc/fixinc.winnt: Likewise.
24615 * fixinc/inclhack.tpl: Likewise.
24616 * fixinc/fixincl.sh, fixinc/inclhack.sh: Rebuilt.
24618 1999-06-09 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
24620 * fixinc/inclhack.def (sun_catmacro): Escape parens in the select
24622 * fixinc/fixincl.x, fixinc/inclhack.sh: Rebuilt.
24624 Wed Jun 9 03:10:34 1999 Mumit Khan <khan@xraylith.wisc.edu>
24626 * c-pragma.c (handle_pragma_token): Handle `#pragma pack()'
24629 Tue Jun 8 13:06:15 1999 Jim Wilson <wilson@cygnus.com>
24631 * configure.in (rs6000-ibm-aix4.[12]*): Change rx6000 to rs6000.
24632 * configure: Regenerate.
24634 Tue Jun 8 05:47:48 1999 Richard Earnshaw (rearnsha@arm.com)
24636 * optabs.c (expand_cmplxdiv_wide): Use expand_abs to get the absolute
24639 Mon Jun 7 22:30:37 1999 Jeffrey A Law (law@cygnus.com)
24641 * fixinc/inclhack.def (avoid_bool): Also catch
24642 "typedef [unsigned] int bool".
24643 * fixinc/inclhack.sh, fixinc/fixincl.x, fixinc/fixincl.sh: Rebuilt.
24645 * m68k/x-hp3bsd44: Delete obsolete and incorrect file.
24646 * configure.in (m68k-hp-bsd4.4): No longer use x-hp3bsd44.
24647 * configure: Rebuilt.
24649 Mon Jun 7 22:05:03 1999 Mark Kettenis <kettenis@gnu.org>
24651 * config/i386/gnu.h: Include <gnu.h> right after <i386/linux.h>,
24652 such that we can override its definitions if necessary.
24653 (CPP_SPEC): New define. Support processor specific predefines via
24655 (CC1_SPEC): New define. Support processor specific compiler
24656 options via %(cc1_cpu).
24657 (STARTFILE_SPEC): New define. Use crt0.o instead of crt1.o for
24660 1999-06-07 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
24662 * fixinc/inclhack.def (math_gcc_ifndefs): Insert whitespace
24663 between sed's -e flag, and the open-quote following it.
24664 * fixinc/fixincl.x, fixinc/fixincl.sh: Rebuilt.
24666 Mon Jun 7 20:34:20 1999 Robert Lipe <robertlipe@usa.net>
24667 Jeffrey A Law (law@cygnus.com)
24669 * varasm.c (assemble_start_function): Remove the function
24670 from the pending weak decls list when we define a function.
24671 (assemble_variable): Similarly for variables.
24672 (weak_finish): Ignore items on the list with a NULL name.
24673 (remove_from_ending_weak_list); New function to "remove" an item
24674 from the pending weak declarations list.
24676 Mon Jun 7 19:27:07 1999 Jerry Quinn <jquinn@nortelnetworks.com>
24678 * pa.md (fmpyfadd, fmpynfadd, fnegabs): New patterns.
24680 Mon Jun 7 14:07:39 1999 Dave Brolley <brolley@cygnus.com>
24682 * c-lex.c (GETC): Redefine to call getch.
24683 (UNGETC): Redefine to call put_back.
24684 (putback_buffer): New structure type.
24685 (putback): New static structure.
24686 (getch): New function.
24687 (put_back): New function.
24688 (yylex): Replace unused bytes from bad multibyte character.
24690 Mon Jun 7 13:33:39 1999 Dave Brolley <brolley@cygnus.com>
24692 * cpplib.c (do_define): Cast `alloca' return value.
24693 (do_include, do_undef, do_pragma): Likewise.
24694 * cpphash.c (dump_definition): Cast `xstrdup' and `alloca' return
24696 * cppfiles.c (initialize_input_buffer): Cast `xmalloc' return values.
24697 * gcc/cppspec.c (lang_specific_driver): Cast xmalloc return value.
24699 Sun Jun 6 11:58:34 1999 Jakub Jelinek <jj@ultra.linux.cz>
24701 * sparc.md (abstf2): This should be an expand.
24702 (split after abstf2_notv9): Fix mode.
24703 (abstf2_hq_v9): New pattern.
24704 (abstf2_v9): Only use when no hard quad.
24705 (absdf2_v9): Fix if target is not the same as source.
24706 (ashrsi3_extend, ashrsi3_extend2, lshrsi3_extend, lshrsi3_extend2):
24707 Add correct output constraints.
24709 Sat Jun 5 17:04:16 1999 Craig Burley <craig@jcb-sc.com>
24711 From Dave Love to egcs-patches on 20 May 1999 17:38:38 +0100:
24712 * invoke.texi: Clarify text vis-a-vis Intel CPUs.
24714 Sat Jun 5 12:11:24 1999 Mark Mitchell <mark@codesourcery.com>
24716 * mips.h (mips_output_conditional_branch): New function.
24717 (mips_adjust_insn_length): Likewise.
24718 (ASSEMBLER_SCRATCH_REGNUM): New macro.
24719 (ADJUST_INSN_LENGTH): Likewise.
24720 * mips.c (print_operand): Add `F' and `W' for floating-point
24721 comparison opcodes.
24722 (machine_dependent_reorg): Adjust MIPS16 code; instruction-lengths
24724 (mips_adjust_insn_length): New function.
24725 (mips_output_conditional_branch): New function.
24726 * mips.md (length): Adjust attribute definition to handle
24727 conditional branches. Change lengths to bytes, rather than
24728 instructions throughout. Remove length attribute from
24729 instructions whose length is four bytes, and rely on the default
24731 (dslot): Fix typo in comment.
24732 Reword conditional branch patterns to use
24733 mips_output_conditional_branch.
24735 Fri Jun 4 13:30:27 1999 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
24737 * alpha/osf.h (CPP_SUBTARGET_SPEC): Handle -threads.
24738 (LIB_SPEC): Likewise.
24739 Link with -lprof1_r for -g/-pg.
24741 1999-06-04 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
24743 * loop.c (check_dbra_loop): Fix change of Jan 19.
24745 Fri Jun 4 00:12:40 1999 Marc Espie <espie@cvs.openbsd.org>
24747 * freebsd-elf.h (SWITCH_TAKES_ARG): Redefine, not define.
24748 (STARTFILE_SPEC): Define, override the svr4.h version.
24749 (ENDFILE_SPEC): Likewise.
24751 Thu Jun 3 23:58:55 1999 Jeffrey A Law (law@cygnus.com)
24753 * fixinc/inclhack.def (limits_ifndefs): Also apply to sys/limits.h
24754 * fixinc/fixincl.x: Regenerated.
24755 * fixinc/inclhack.sh: Regenerated.
24757 Fri Jun 4 05:42:23 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
24759 * sh.c (barrier_align): Don't return early for normal branch/barrier
24760 when optimizing for SH2.
24762 Thu Jun 3 22:27:50 1999 Robert Lipe <robertlipe@usa.net>
24764 * i386/udk.h (LINK_SPEC): Correct linker search path for
24767 Fri Jun 4 03:20:40 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
24769 * sh.c (fixup_addr_diff_vecs): Emit braf reference label.
24770 (braf_label_ref_operand): Delete.
24771 * sh.h (PREDICATE_CODES): Remove braf_label_ref_operand.
24772 * sh.md (casesi_jump_2): Operand1 is now the inside of a
24773 label_ref, and has no predicate.
24774 The patten has a predicate to guard against invalid substitutions.
24775 (dummy_jump): Delete.
24776 (casesi): Update use of casesi_jump_2.
24778 Thu Jun 3 07:48 1999 Bruce Korb <ddsinc09@ix.netcom.com>
24780 *fixinc/inclhack.def(Io_Def_Quotes): corrected sed expression
24781 *fixinc/fixincl.x: regenerate
24782 *fixinc/inclhack.sh: regenerate
24784 Thu Jun 3 02:15:07 1999 Jason Merrill <jason@yorick.cygnus.com>
24786 * dwarf2out.c (add_incomplete_type): New fn.
24787 (gen_struct_or_union_type_die): Call it.
24788 (retry_incomplete_types): New fn.
24789 (dwarf2out_finish): Call it.
24791 Thu Jun 3 01:19:03 1999 Jeffrey A Law (law@cygnus.com)
24793 * gcse.c (insert_insn_end_bb): Correct placement of insns when the
24794 current block starts with a CODE_LABEL and ends with a CALL and
24795 we can not find all the argument setup instructions for the CALL.
24797 Wed Jun 2 15:44:15 1999 Mark Mitchell <mark@codesourcery.com>
24799 Revert this change:
24800 * fold-const.c (fold): STRIP_NOPS when deciding whether or not
24801 something is a candidate for optimize_bit_field_compare.
24803 Wed Jun 2 21:53:05 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
24805 * sh.h (CONST_OK_FOR_I, CONST_OK_FOR_L): Cast VALUE to HOST_WIDE_INT.
24807 Wed Jun 2 12:25:55 1999 Richard Henderson <rth@cygnus.com>
24809 * alpha.c (override_options): Thinko in last patch.
24811 * alpha/osf.h (CPP_SUBTARGET_SPEC): Define.
24812 (LIB_SPEC): Recognize -pthread.
24814 Wed Jun 2 08:42:55 1999 Nick Clifton <nickc@cygnus.com>
24816 * config/arm/tcoff.h (USER_LABEL_PREFIX): Synchronise with
24817 definition in config/arm/coff.h
24818 * config/arm/coff.h: Add comment about USER_LABEL_PREFIX.
24820 Wed Jun 2 07:07 1999 Bruce Korb <ddsinc09@ix.netcom.com>
24822 * fixinc/fixincl.c(global def): Add FD_SHELL_SCRIPT to mark
24823 fixes that need "file=xxx\n" prepended before invocation
24824 (start_fixer - new): starting the fixer process is complex enough
24825 to warrent its own routine. It prepends the "file=xxx\n" stuff.
24826 (process): uses the new routine; omit usage of putenv()
24827 * fixinc/fixincl.tpl: mark shell scripts with FD_SHELL_SCRIPT
24828 * fixinc/fixincl.x: regenerate
24830 Wed Jun 2 02:29:07 1999 Jeffrey A Law (law@cygnus.com)
24832 * README, configure.in, gcc.1, gcc.texi: Update name (egcs -> gcc)
24833 and version #s (1.1 -> 2.96) as needed.
24834 * README.g77: Kill way out of date file in the toplevel directory.
24836 Wed Jun 2 00:52:34 1999 David O'Brien <obrien@FreeBSD.org>
24838 * configure.in (i[34567]86-*-freebsdelf): Don't include linux.h,
24839 i386/freebsd-elf.h no longer requires it. Instead include svr4.h.
24840 * configure: Rebuilt.
24841 * i386/freebsd-elf.h (DEFAULT_VTABLE_THUNKS): Define.
24842 (ASM_COMMENT_START, ASM_APP_ON, ASM_APP_OFF, SET_ASM_OP): Likewise.
24843 (PREFERRED_DEBUGGING_TYPE, WCHAR_UNSIGNED): Likewise.
24844 (SWITCH_TAKES_ARG): Likewise.
24845 * i386/freebsd.h: Remove FREEBSD_NATIVE support.
24846 * config/t-freebsd: Moved from config/i386/ so it can used for all
24849 Mon May 31 02:22:55 1999 Philippe De Muyter <phdm@macqel.be>
24851 * m68k/x-mot3300 (XCFLAGS): Fixed to match stb.o, not f/stb.o.
24853 Wed Jun 2 00:08:34 1999 Robert Lipe <robertlipe@usa.net>
24855 * configure.in (i[34567]86-*-udk*): Install headers with cpio.
24856 * configure: Rebuilt.
24858 Tue Jun 1 19:06:22 1999 David Edelsohn <edelsohn@gnu.org>
24860 * rs6000/aix41.h (RS6000_CALL_GLUE): Define.
24861 * rs6000/aix43.h (RS6000_CALL_GLUE): Likewise.
24862 * rs6000/rs6000.c (rs6000_file_start): Use putc.
24863 (rs6000_output_load_toc_table): Same.
24864 (output_prolog, output_mi_thunk): Same.
24865 * rs6000/rs6000.h (SELECT_SECTION): Formatting.
24866 (ASM_GLOBALIZE_LABEL): Use putc.
24868 Mon May 31 15:23:23 1999 Richard Henderson <rth@cygnus.com>
24870 * alpha.md (reload_*_help): New patterns and splitters.
24871 (reload_*): Use them.
24872 (mov[qh]i): Likewise.
24874 Mon May 31 11:48:07 1999 Mark Mitchell <mark@codesourcery.com>
24876 * cccp.c (handle_directive): Handle backslash-newlines in quoted
24879 Mon May 31 09:36:11 1999 Cort Dougan <cort@cs.nmt.edu>
24881 * rs6000/linux.h (LINK_SPEC): Use emulation elf32ppclinux.
24883 Mon May 31 11:40:20 EDT 1999 John Wehle (john@feith.com)
24885 * flow.c (mark_regs_live_at_end, insn_dead_p,
24886 mark_set_1, mark_used_regs): Only give FRAME_POINTER_REGNUM
24887 and HARD_FRAME_POINTER_REGNUM special treatment if reload
24888 hasn't run or the frame pointer is needed.
24889 * haifa-sched.c (attach_deaths): Likewise.
24890 * sched.c (attach_deaths): Likewise.
24892 Mon May 31 00:46:17 1999 Jeffrey A Law (law@cygnus.com)
24894 * jump.c (jump_optimize_1): Only set CAN_REACH_END if
24895 calculate_can_reach_end returns nonzero.
24897 * configure.in (native gas tests): Search for an assembler in the
24898 same manner that the installed compiler will.
24899 * configure: Rebuilt.
24900 * tm.texi (MD_EXEC_PREFIX): Note need to update configure.in too.
24902 * alias.c (find_base_term): Improve handling of addresses
24903 constructed from binary operations.
24905 Sun May 30 14:29:17 1999 Eric Raskin (ehr@listworks.com)
24907 * dgux.h (STARTFILE_SPEC): Fix incorrectly matched curly-braces.
24909 Sun May 30 14:19:13 1999 Jeffrey A Law (law@cygnus.com)
24911 * function.h (cleanup_label, frame_offset): Declare.
24912 (tail_recursion_label, tail_recursion_reentry): Likewise.
24913 (arg_pointer_save_area, rtl_expr_chain): Likewise.
24914 * stmt.c (cleanup_label, frame_offset): Delete extern declarations.
24915 (tail_recursion_label, tail_recursion_reentry): Likewise.
24916 (arg_pointer_save_area, rtl_expr_chain): Likewise.
24918 Sat May 29 19:08:10 1999 Philip Blundell <philb@gnu.org>
24920 * config/arm/aout.h (ASM_OUTPUT_ALIGN): Only define if not already
24922 * config/arm/elf.h (ASM_OUTPUT_ALIGN): Define.
24923 (MAX_OFILE_ALIGNMENT): Define.
24925 Fri May 28 21:40 1999 Robert Lipe <robertlipe@usa.net>
24927 * fixincl.c: Replace local include scheme with #includes of
24928 gansidecl.h and system.h.
24929 * procopen.c: Likewise.
24930 * server.c: Likewise.
24932 Fri May 28 03:47:03 1999 Eric Raskin (ehr@listworks.com)
24934 * i386/t-dgux (EXTRA_PARTS): Add crti.o
24935 (crti.o): Add build rule and dependencies.
24936 * fixinc/fixinc.dgux: Use modified _int_varargs.h
24938 Fri May 28 03:41:02 1999 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
24940 * rs6000/sysv4.h (CC1_SPEC): Add support for -profile
24941 (LIB_LINUX_SPEC): Likewise.
24942 (LIB_LINUX_SPEC): Add support for -pthread
24943 (CPP_OS_LINUX_SPEC): Likewise.
24944 (CPP_SYSV_SPEC): Avoid redefinitions if both -fpic and -fPIC are
24947 Thu May 27 13:04:52 1999 H.J. Lu (hjl@gnu.org)
24949 * i386.c (output_fp_cc0_set): Don't check the JUMP_INSN code for
24951 (notice_update_cc, output_float_compare): Enable TARGET_CMOVE support.
24952 (output_float_compare, output_fp_cc0_set): Fix the FLOAT comparison
24953 for IEEE math and CC_FCOMI.
24954 (put_jump_code): No IEEE if CC_FCOMI is set.
24956 1999-05-27 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
24958 * fold-const.c (fold_truthop): Make the field reference unsigned
24959 when converting a single bit compare.
24961 Thu May 27 02:40:48 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
24963 * loop.c (strength_reduce): Don't do biv->giv conversion on constants.
24965 Thu May 27 02:09:27 1999 Jeffrey A Law (law@cygnus.com)
24967 * varasm.c (STRIP_NAME_ENCODING): Remove default definition.
24968 * output.h (STRIP_NAME_ENCODING): Strip '*' like the old varasm
24971 * reload.c (push_reload): Do not call remove_address_replacements
24972 when presented with identical optional reloads.
24974 Wed May 26 14:18:05 1999 Richard Henderson <rth@cygnus.com>
24976 * alpha.h (MASK_FIX, TARGET_FIX): New.
24977 (MASK_*): Reorganize constants.
24978 (CPP_AM_FIX_SPEC): New.
24979 (TARGET_SWITCHES): Add FIX.
24980 (EXTRA_SPECS): Likewise.
24981 (CPP_CPU_EV6_SPEC): Use FIX, not CIX.
24982 (SECONDARY_MEMORY_NEEDED): Likewise.
24983 (REGISTER_MOVE_COST): Likewise.
24984 * alpha.c (override_options): Add FIX support. Always use
24985 ALPHA_TP_PROG for ev6.
24986 * alpha.md (sqrt and mov[sd]i patterns): Use FIX, not CIX.
24987 * alpha/elf.h (ASM_FILE_START): Look at FIX too.
24988 * configure.in (target_cpu_default2) [ev6]: Use FIX, not CIX.
24990 Wed May 26 09:53:05 1999 Mark Mitchell <mark@codesourcery.com>
24992 * fold-const.c (fold): STRIP_NOPS when deciding whether or not
24993 something is a candidate for optimize_bit_field_compare.
24995 Wed May 26 09:40:02 1999 Mark Mitchell <mark@codesourcery.com>
24997 * gcc.texi (Passes): Document branch-shortening.
24998 * invoke.texi (Debugging Options): Document the fact that `-dp'
24999 outputs length information for instructions.
25001 Wed May 26 08:49:31 1999 Nick Clifton <nickc@cygnus.com>
25003 * flow.c: Revert previous delta.
25005 Wed May 26 06:05:10 1999 Nick Clifton <nickc@cygnus.com>
25007 * flow.c (insn_dead_p): Check against frame_pointer_rtx not
25008 FRAME_POINTER_REGNUM.
25009 (mark_set_1): Ditto.
25010 (mark_used_regs): Ditto.
25012 Wed May 26 02:19:31 1999 Philip Blundell <pb@nexus.co.uk>
25014 * arm.h (NEED_PLT_GOT): Fix mistake in last change.
25015 (GOT_PCREL): New macro. Define to 1 if not already defined.
25016 * arm/elf.h (GOT_PCREL): Define to 0.
25017 * arm.c (arm_finalize_pic): Take into account the setting of
25020 Tue May 25 14:06:06 1999 Jeffrey A Law (law@cygnus.com)
25022 * output.h (STRIP_NAME_ENCODING): Provide default definition.
25023 * dwarf2out.c (ASM_NAME_TO_STRING): Use STRIP_NAME_ENCODING.
25025 * flow.c (mark_set_1): Do not record BLKmode stores as dead
25026 store elimination candidates.
25028 Tue May 25 08:55:57 1999 Gavin Romig-Koch <gavin@cygnus.com>
25030 * config/mips/mips.h (ASM_OUTPUT_DOUBLE_INT) : Use 'dword' if
25033 Mon May 24 20:30:08 1999 Jim Wilson <wilson@cygnus.com>
25035 * configure.in (rs6000-ibm-aix4.[12]*): Delete use of aix41-gld.h.
25036 Add use of x-aix41-gld.
25038 Mon May 24 16:44:09 1999 Jakub Jelinek <jj@ultra.linux.cz>
25040 * sparc/linux64.h (ASM_OUTPUT_CONSTRUCTOR): Define.
25041 (ASM_OUTPUT_DESTRUCTOR): Define.
25043 Mon May 24 14:35:24 1999 Jeffrey A Law (law@cygnus.com)
25045 * loop.c (strength_reduce): Do not clear NOT_EVERY_ITERATION at the
25046 last CODE_LABEL in a loop if we have previously passed a jump
25047 to the top of the loop.
25049 Mon May 24 07:56:29 1999 Nick Clifton <nickc@cygnus.com>
25051 * config/arm/arm.h (OUTPUT_INT_ADDR_CONST): Fix blunder made when
25052 applying Philip's patch.
25054 Mon May 24 01:02:12 1999 Mark Mitchell <mark@codesourcery.com>
25056 * stmt.c (expand_end_bindings): Ignore any elements of VARS that
25059 Sun May 23 20:31:16 1999 Jeffrey A Law (law@cygnus.com)
25061 * loop.c (strength_reduce): Grow reg_single_usage as needed.
25063 Sun May 23 10:13:20 1999 David O'Brien <obrien@FreeBSD.org>
25065 * i386/freebsd-elf.h (LINK_SPEC): Change -static to -Bstatic.
25066 Also remove a useless comment.
25068 Sun May 23 10:05:23 1999 Jerry Quinn <jquinn@nortelnetworks.com>
25070 * pa.md (negdf2,negsf2): Use fneg instead of fsub on pa 2.0.
25072 Sat May 22 21:02:06 1999 David Edelsohn <edelsohn@gnu.org>
25074 * collect2.c (main): Only generate import or export file and add
25075 to link arguments if non-empty. Use xmalloc not alloca.
25076 (write_{export,import}_file): Delete.
25077 (write_aix_file): New function.
25078 (locatelib): Use xmalloc not malloc.
25079 (GCC_OK_SYMBOL): Do not check type if aix64.
25081 Sat May 22 09:35:51 1999 Philip Blundell <pb@nexus.co.uk>
25083 Based on patch by Scott Bambrough and Pat Beirne:
25084 * config/arm/arm.c (making_const_table): New variable.
25085 * config/arm/arm.h (making_const_table): Declare.
25086 (OUTPUT_INT_ADDR_CONST): Mark symbols as position independent if
25088 * config/arm/arm.md (consttable_4, consttable_8, consttable_end):
25089 Keep track of when we are building the constant table.
25091 Sat May 22 09:34:22 1999 Philip Blundell <pb@nexus.co.uk>
25093 * config/arm/arm.c (arm_override_options): Fix erroneous warning
25096 Sat May 22 09:06:33 1999 Nick Clifton <nickc@cygnus.com>
25098 * config/arm/arm.h (NEED_PLT_GOT): Only define if not already
25101 Sat May 22 07:17:05 1999 Nick Clifton <nickc@cygnus.com>
25103 * tm.texi (FUNCTION_ARG): Correct description of a stack element
25106 Sat May 22 01:27:49 1999 Mark Mitchell <mark@codesourcery.com>
25108 * expr.h (lang_expand_constant): Guard with #ifdef TREE_CODE.
25110 Fri May 21 21:19:02 1999 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
25112 * rs6000.c (output_mi_thunk): Enable full support again.
25114 Fri May 21 20:09:52 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
25116 * sh.h (BRANCH_COST): Define.
25118 Thu May 20 10:00:42 1999 Stephen L Moshier <moshier@world.std.com>
25120 * Makefile.in (GCC_FOR_TARGET): Add -I$(build_tooldir)/include.
25122 Thu May 20 09:58:57 1999 Jan Hubicka <hubicka@freesoft.cz>
25124 * function.c (assign_stack_local): Align stack slot propertly.
25125 (assign_outer_stack_local): Likewise.
25127 Thu May 20 10:38:43 1999 Mark Mitchell <mark@codesourcery.com>
25129 * expr.h (lang_expand_constant): Declare.
25130 * toplev.c (lang_expand_constant): Define it.
25131 * varasm.c (output_constant): Use it.
25133 Thu May 20 11:28:53 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
25135 * optabs.c (expand_cmplxdiv_straight, expand_cmplxdiv_wide):
25136 Change function definitions to K&R style.
25138 Thu May 20 08:16:39 1999 Bruce Korb <ddsinc09@ix.netcom.com>
25140 * fixinc/fixincl.c: We must not ignore SIGCLD now.
25142 Thu May 20 07:06:39 1999 Alexandre Oliva <aoliva@acm.org>
25144 * fixinc/Makefile.in(gnu-regex.o): add $(INCLUDES) to compile options
25145 * fixinc/fixincl.c(wait_for_pid): K&R-ify arguments
25146 (several places): omit static initialization
25147 (process): use single fd, since only the read fd is used
25148 * fixinc/gnu-regex.c: define 'const' away, if not supported
25149 * fixinc/procopen.c(several places): omit static initialization
25150 * fixinc/server.c: define 'volitile' away, if not supported
25152 1999-05-20 Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
25154 * config/dbxcoff.h (DBX_OUTPUT_MAIN_SOURCE_FILE_END): Use
25155 asm_fprintf and %L to generate the label name.
25156 * config/dbxelf.h (DBX_OUTPUT_MAIN_SOURCE_FILE_END): Likewise.
25157 (ASM_OUTPUT_SOURCE_LINE): Correct generation of internal labels.
25159 Thu May 20 01:40:55 1999 Jeffrey A Law (law@cygnus.com)
25161 * jump.c (can_reverse_comparison_p): Do not abort if the comparison
25162 insn for a conditional jump can not be found.
25164 Wed May 19 23:58:58 1999 Jeffrey A Law (law@cygnus.com)
25166 * mips.h (ENCODE_SECTION_INFO): Do not perform GP optimizations
25167 on variables in specific sections other than .sbss and .sdata.
25169 Wed May 19 03:56:56 1999 Mark Mitchell <mark@codesourcery.com>
25171 * stmt.c (expand_return): Call start_cleanup_deferral and
25172 end_cleanup_deferral around conditional code.
25174 Wed May 19 08:40:08 1999 Bruce Korb <ddsinc09@ix.netcom.com>
25176 * fixinc/fixincl.tpl: Avoid depending on ANSI C features for
25177 filename lists. Utilizes new "krstr" AutoGen function.
25178 * fixinc/fixincl.x: Rebuilt.
25180 Wed May 19 02:47:11 1999 Jan Hubicka (hubicka@freesoft.cz)
25182 * i386.c (output_float_compare): Avoid GNU-C extensions.
25184 Wed May 19 00:34:40 1999 Jeffrey A Law (law@cygnus.com)
25186 * version.c: Bump to distinguish mainline tree from the
25189 See ChangeLog.1 for earlier changes.