1 2000-08-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3 * cse.c (fold_rtx): Avoid empty body in an if-statement.
5 * doloop.c (doloop_iterations_max, doloop_modify): Avoid using the
6 `U' integer constant suffix.
8 * dwarf2out.c (add_subscript_info): Avoid empty body in an
11 * sparc/sol2.h (__enable_execute_stack): Prototype.
13 2000-08-14 David Edelsohn <edelsohn@gnu.org>
15 * collect2.c: Remove use of AIX import file.
17 * longlong.h: Test ARCH_PWR not ARCH_POWER.
19 * rs6000.c (print_operand, case 'E'): Add else.
21 2000-08-14 Richard Henderson <rth@cygnus.com>
23 * config/ia64/ia64.md (movdi): Delay calling ia64_expand_load_address.
24 (movdi_symbolic): New.
26 2000-08-14 Jim Wilson <wilson@cygnus.com>
28 * config/ia64/ia64.h (ASM_SPEC): Pass -mconstant-gp and -mauto-pic
29 to GNU as. For Intel as, pass -M const_gp and -M no_plabel.
30 * config/ia64/linux.h (ASM_SPEC): Pass -mconstant-gp and -mauto-pic
33 2000-08-14 Richard Henderson <rth@cygnus.com>
35 * expr.c (emit_group_load): Don't force constants into registers.
36 Special case source already in the correct mode.
38 2000-08-14 Zack Weinberg <zack@wolery.cumb.org>
40 * configure.in: Accept *-*-linux* not just *-*-linux-gnu*.
41 * fixinc/inclhack.def: Likewise.
42 * fixinc/mkfixinc.sh: Likewise.
43 * configure: Regenerate.
44 * fixinc/fixincl.x: Regenerate.
45 * install.texi: Document equivalence of linux and linux-gnu.
47 Mon Aug 14 18:51:44 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
49 * cse.c (insert_regs): Also in REG case: When finding an invalid
50 value, and we make a new quantity, make sure that it won't be
51 mistaken by for a valid one by mention_regs.
53 2000-08-13 Ralf Gütlein <ralf.guetlein@aranea.de>
55 * h8300.md: Remove obsolete peepholes.
57 2000-08-13 Kazu Hirata <kazu@hxi.com>
59 * invoke.texi (H8/300 Options): Fix typos.
60 * config/h8300.c: Fix formatting.
61 * config/h8300.h: Fix comment typos.
62 (OVERRIDE_OPTIONS): Fix formatting.
64 * function.c: Fix formatting.
66 * cse.c: Fix formatting.
68 2000-08-13 Geoff Keating <geoffk@cygnus.com>
70 * flow.c (attempt_auto_inc): Remove unused variable `bb'.
71 (attempt_auto_inc): Suppress parentheses warning.
72 * function.c (put_reg_into_stack): Remove unused variable `unsigned_p'.
73 * loop.c (load_mems): Remove `u' suffix in two places.
74 * config/rs6000/rs6000.c: Remove unnecessary `u' suffixes from
76 * config/rs6000/rs6000.h: Likewise.
77 * config/rs6000/sol-c0.c: Prototype some functions. Remove the
79 * config/rs6000/sysv4.h (ASM_DECLARE_FUNCTION_NAME): Remove unused
82 * config/rs6000/rs6000.c (rs6000_select_section): Rewrite to
83 not put stuff in .sdata unnecessarily.
84 (rs6000_unique_section): New function.
85 * config/rs6000/rs6000-protos.h: Add rs6000_unique_section.
86 * config/rs6000/sysv4.h (UNIQUE_SECTION): Define.
88 * c-typeck.c (build_array_ref): Don't complain about non-lvalue
89 arrays in C99. Don't try to look at DECL_REGISTER of a
90 COMPONENT_REF. Don't complain twice about the same error.
92 * fixinc/inclhack.def (aix_pthread): New fix.
93 (aix_sysmachine): New fix.
94 * fixinc/fixincl.x: Regenerate.
96 * expr.c (expand_expr): Call convert_modes when turning a large
97 multiply into a small one.
99 2000-08-12 Geoff Keating <geoffk@cygnus.com>
101 * tree.h (DECL_OFFSET_ALIGN): Make the off_align field of
102 the tree structure an exponent rather than an explicit alignment
103 so it doesn't overflow.
104 (SET_DECL_OFFSET_ALIGN): New macro.
105 * stor-layout.c (place_union_field): Use SET_DECL_OFFSET_ALIGN
106 rather than DECL_OFFSET_ALIGN.
107 (place_field): Likewise.
108 * expmed.c (store_bit_field): Abort on align==0 to avoid
109 antisocial machine behaviour.
111 2000-08-12 Richard Henderson <rth@cygnus.com>
113 * sibcall.c (uses_addressof): Accept both addressof and
114 current_function_internal_arg_pointer inside a mem.
115 (optimize_sibling_and_tail_recursive_call): Fail tail recursion
116 if current_function_uses_addressof.
117 * stmt.c (expand_return): Kill tail recursion and HAVE_return
120 2000-08-11 Richard Henderson <rth@cygnus.com>
122 * config/ia64/ia64.md (addsi3): Remove expander.
123 (subsi3, mulsi3, negsi2, one_cmplsi2): Likewise.
124 (*addsi3_shladd): New.
126 2000-08-11 Richard Henderson <rth@cygnus.com>
128 * config/ia64/ia64.c (do_spill): Pass cfa offset to move expander.
129 (do_restore): Likewise.
130 (gen_movdi_x, gen_fr_spill_x, gen_fr_restore_x): New.
131 (ia64_expand_prologue, ia64_expand_epilogue): Use them.
132 (rtx_needs_barrier): Track actual bit manipulation for
133 ar.unat moves, gr_spill, and gr_restore.
134 (emit_insn_group_barriers): Special case gr_spill/gr_restore.
135 (process_set): Don't handle varargs spills.
136 * config/ia64/ia64.md (gr_spill): Accept cfa offset. Emit
137 .mem.offset here instead of in process_set.
138 (gr_restore): Likewise.
140 2000-08-11 Richard Henderson <rth@cygnus.com>
142 * config/ia64/ia64.h (PROMOTE_MODE): Only extend to SImode.
144 2000-08-11 Mark Elbrecht <snowball3@bigfoot.com>
146 * gcc.texi (The Configuration File): Document
147 COLLECT2_HOST_INITIALIZATION, GCC_DRIVER_HOST_INITIALIZATION, and
148 UPDATE_PATH_HOST_CANONICALIZATION.
150 2000-08-11 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
152 * c-parse.in (cast_expr): Avoid -Wstrict-prototype warnings for
153 unprototyped function pointer casts on integer constants.
155 2000-08-11 Laurynas Biveinis <lauras@softhome.net>
157 * fixproto: Recognize DOS paths with drive letters as absolute paths.
159 2000-08-11 Nathan Sidwell <nathan@codesourcery.com>
161 * extend.texi (Volatiles): Fix typos.
163 2000-08-11 Kazu Hirata <kazu@hxi.com>
165 * flow.c: Fix formatting.
167 2000-08-11 Richard Henderson <rth@cygnus.com>
169 * reload.c (push_secondary_reload): When invoking a reload_{in,out}
170 pattern, always allocate a tertiary scratch register.
172 * config/alpha/alpha.md (reload_inqi): Use a DImode scratch.
173 (reload_inhi): Likewise.
175 2000-08-11 Richard Henderson <rth@cygnus.com>
177 * function.c (put_reg_into_stack): Allow type to be NULL.
178 (schedule_fixup_var_refs): Likewise.
179 (gen_mem_addressof): Allow decl to be NULL.
180 (put_addressof_into_stack): Likewise.
182 * flow.c (merge_blocks_nomove): Be more careful about
183 locating the beginning of block A.
185 * combine.c (simplify_shift_const): Obey SHIFT_COUNT_TRUNCATED.
187 Thu Aug 10 22:47:09 2000 Ovidiu Predescu <ovidiu@cup.hp.com>
192 * config.in: Reverted the check for <sched.h>.
194 2000-08-10 Chris Demetriou <cgd@sibyte.com>
196 * mips/elf.h (CTOR_SECTION_NAME, DTOR_SECTION_NAME): New
197 macros define the name of CTOR and DTOR sections.
198 (CTOR_LIST_BEGIN, CTOR_LIST_END, DTOR_LIST_BEGIN,
199 DTOR_LIST_END): Change to use attributes to specify
201 * mips/elf64.h (CTOR_SECTION_NAME, DTOR_SECTION_NAME,
202 (CTOR_LIST_BEGIN, CTOR_LIST_END, DTOR_LIST_BEGIN,
203 DTOR_LIST_END): Same as in mips/elf.h.
205 2000-08-10 Drew Moseley <dmoseley@redhat.com>
207 * config/mn10300/mn10300.h: Added no-crt0 option for explicitly
208 disabling just crt0.o.
210 2000-08-10 Richard Earnshaw <rearnshaw@arm.com> & Nick Clifton <nickc@cygnus.com>
212 * arm.h (CPP_SPEC): Use sub-spec cpp_interwork.
213 (CPP_INTERWORK_SPEC, CPP_INTERWORK_DEFAULT_SPEC): New sub-specs.
214 (EXTRA_SPECS): Add them.
215 * arm/lib1funcs.asm: Support builds for interworking.
216 Use macros to eliminate duplicated pieces of code.
218 2000-08-10 Kazu Hirata <kazu@hxi.com>
220 * h8300.c (expand_a_rotate): New.
221 (emit_a_rotate): Likewise.
222 (h8300_adjust_insn_length): Add support for the rotate insns.
223 * h8300.md (rotlqi3): New.
224 (*rotlqi3_1): Likewise.
226 (*rotlhi3_1): Likewise.
228 (*rotlhi3_1): Likewise.
229 * h8300-proto.h: Add prototypes for expand_a_rotate and
232 * h8300.c: Fix comment typos.
233 (dosize): Declare the variable amount as unsigned.
234 (get_shift_alg): Fix a comparison between signed and unsigned.
235 (emit_a_shift): Likewise.
236 (h8300_adjust_insn_length): Simplify the code.
238 * c-decl.c: Fix formatting.
240 2000-08-10 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
242 * c-lex.c (parse_float, yylex): For -Wtraditional, issue a
243 warning about non-traditional numeric constant suffixes.
245 * cppexp.c (parse_number): Likewise.
247 * invoke.texi: (-Wtraditional): Document new behavior.
249 Thu Aug 10 00:11:04 2000 Ovidiu Predescu <ovidiu@cup.hp.com>
251 * gthr-posix.h: Include auto-host.h. Conditionally include
253 * configure.in: Check for the <sched.h> header file.
254 * config.in: Added define for HAVE_SCHED_H.
256 2000-08-09 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
258 * c-typeck.c (process_init_element): For -Wtraditional, warn about
259 initialization of unions.
261 * invoke.texi (-Wtraditional): Document new behavior.
263 2000-08-09 Zack Weinberg <zack@wolery.cumb.org>
265 * configure.in (--enable-c-cpplib): Uncomment. Use AC_DEFINE
266 instead of extra_c_flags.
267 (--enable-c-mbchar): Use AC_DEFINE instead of extra_c_flags.
268 * configure: Regenerate.
269 * config.in: Regenerate.
271 * cpperror.c (cpp_type2name): New function.
272 * cpplex.c (lex_line): If we issued an error for an invalid
273 preprocessing directive, discard that logical line.
274 * cpplib.c (do_line): Call a hook function if the current file
276 (do_ident): Pass the contents of the string, not the entire
277 token, to the callback function.
278 * cpplib.h (CPP_LAST_PUNCTUATOR): New #define.
279 (cb.rename_file): New hook function.
280 (cb.ident): Adjust prototype.
281 (cpp_type2name): Prototype.
282 * cppmacro.c (dump_macro_args): Correct precedence lossage.
284 * cppmain.c (cb_ident): Update for changed interface.
285 (cb_rename_file): New function.
286 (main): Set rename callback.
288 2000-08-09 Alexandre Oliva <aoliva@redhat.com>
290 * caller-save.c (mark_referenced_regs): Mark partially-overwritten
291 multi-word registers.
293 2000-08-08 Joseph S. Myers <jsm28@cam.ac.uk>
295 * c-common.c (combine_strings, check_format_info): Refer to ISO C
296 or ISO C89 instead of ANSI C.
297 * c-decl.c (grokdeclarator, xref_tag, finish_struct,
298 build_enumerator, do_case): Likewise.
299 * c-lex.c (parse_float, yylex): Likewise.
300 * c-parse.in: Likewise.
301 * c-typeck.c (common_type, build_array_ref, build_binary_op,
302 build_unary_op, pedantic_lvalue_warning, build_conditional_expr,
303 build_c_cast, convert_for_assignment, set_init_index,
304 set_init_label, c_expand_start_case): Likewise.
305 * toplev.c (documented_lang_options, display_help): Likewise.
307 2000-08-08 Kazu Hirata <kazu@hxi.com>
309 * h8300.c: Fix formatting.
311 * h8300.md: Likewise.
312 (movsi_h8300hs): Fix formatting of the resulting assembly code.
314 * reload1.c: Fix formatting.
316 2000-08-08 Rodney Brown <RodneyBrown@mynd.com>
318 * alpha/alpha.c (alpha_emit_xfloating_libcall):
319 Use GEN_CALL_VALUE define.
320 * alpha/alpha.md (untyped_call): Use GEN_CALL define.
321 * clipper/clipper.md (untyped_call): Likewise.
322 * dsp16xx/dsp16xx.md (untyped_call): Likewise.
323 * fx80/fx80.md (untyped_call): Likewise.
324 * mips/mips.md (untyped_call): Likewise.
325 * ns32k/ns32k.md (untyped_call): Likewise.
326 * pa/pa.md (untyped_call): Likewise.
327 * romp/romp.md (untyped_call): Likewise.
328 * sparc/sparc.md (untyped_call): Likewise.
330 2000-08-08 Jason Eckhardt <jle@cygnus.com>
332 * config/i860/i860.c (singlemove_string): Do not generate assembler
333 pseudo instructions that must be expanded (that is, with signed
334 constants larger than 16 bits).
336 2000-08-08 Richard Henderson <rth@cygnus.com>
338 * flow.c (life_analysis): Only turn off PROP_LOG_LINKS and
339 PROP_AUTOINC at -O0. Don't collect alias info at -O0.
340 (init_propagate_block_info): Don't kill memory stores at -O0.
341 (mark_set_1, mark_used_regs): Likewise.
343 2000-08-08 David Edelsohn <edelsohn@gnu.org>
345 * rs6000.c (optimization_options): Decorate 'level' as
347 (mask64_operand): Remove sign-extend thinko.
348 (rldic_operand): New function.
349 (load_multiple_operation): regno's are unsigned ints.
350 (store_multiple_operation): Likewise.
351 (lmw_operation): Likewise.
352 (stmw_operation): Likewise.
353 (includes_lshift_p): shift_mask is unsigned int.
354 (includes_lshift64_p): New function.
355 (addrs_ok_for_quad_peep): unsigned int reg1.
356 (print_operand): Consistently add "else" after
357 output_operand_lossage().
358 (print_operand, case 'b'): Fold in case 'W'.
359 (print_operand, case 'W'): Print rldic MB value.
360 (output_epilogue): Update Objective-C language string.
361 (output_toc): unsigned HOST_WIDE_INT low, compare unsigned.
362 * rs6000.h (PREDICATE_CODES): Add rldic_operand.
363 * rs6000.md (ashldi3): Add rldic instruction.
364 (iordi3, xordi3): Remove redundant "else if CONST_DOUBLE".
365 (cmpsi_internal2, cmpdi_interal2): Use 'b' output template
368 2000-08-08 Richard Henderson <rth@cygnus.com>
370 * config/ia64/ia64-protos.h: Remove duplicates. Update
371 for massive code rearrangements.
372 * config/ia64/ia64.c (ia64_arpfs_regno): Remove.
373 (ia64_rp_regno, ia64_fp_regno, ia64_input_regs): Remove.
374 (ia64_local_regs, ia64_need_regstk): Remove.
375 (ar_ccv_reg_operand): New.
376 (ia64_gp_save_reg): New.
377 (struct ia64_frame_info): Combine most of the size elements;
378 add new gr save elements.
379 (find_gr_spill): New.
380 (next_scratch_gr_reg): New.
381 (mark_reg_gr_used_mask): New.
382 (ia64_compute_frame_size): Rewrite. Allocate special AR regs
383 to GR backing store regs when possible.
384 (ia64_initial_elimination_offset): New.
385 (ia64_rap_fp_offset): Remove.
386 (save_restore_insns): Remove.
387 (setup_spill_pointers): New.
388 (finish_spill_pointers): New.
389 (spill_restore_mem): New.
390 (do_spill, do_restore): New.
391 (ia64_expand_prologue): Rewrite to use them.
392 (ia64_expand_epilogue): Likewise.
393 (ia64_direct_return): Update for current_frame_info changes.
394 (ia64_function_prologue): Simplify .prologue emission. Emit
396 (ia64_setup_incoming_varargs): Don't ever emit rtl.
397 (ia64_dbx_register_number): New.
398 (ia64_initialize_trampoline): New.
399 (ia64_secondary_reload_class): Request GR_REGS for integer
400 arithmetic destined for FR_REGS.
401 (ia64_init_machine_status): Don't reset return_address_pointer_rtx.
402 (ia64_mark_machine_status): Mark ia64_gp_save.
403 (rws_access_regno): Rename from rws_access_reg; don't treat
404 predicates specially.
405 (rws_access_reg): New. Update all callers.
406 (rtx_needs_barrier): Remove dead unspecs.
407 (ia64_epilogue_uses): Mark ar.pfs and ar.unat live on exit.
408 (ia64_encode_section_info): Silence signed/unsigned warnings.
409 (spill_offset, sp_offset, spill_offset_emitted): Remove.
410 (tmp_reg, tmp_saved): Remove.
411 (process_set): Rewrite to expect complicated bits via
412 REG_FRAME_RELATED_EXPR.
413 (ia64_expand_fetch_and_op): Use emit_move_insn; be explicit
414 in the use of ar.ccv; never set RTX_UNCHANGING_P.
415 (ia64_expand_op_and_fetch): Likewise.
416 (ia64_expand_compare_and_swap): Likewise.
417 (ia64_expand_builtin): Likewise.
418 * config/ia64/ia64.h (AR_UNAT_REGNUM): New.
419 (FIRST_PSEUDO_REGISTER): Update.
420 (AR_M_REGNO_P): Update.
421 (FIXED_REGS): Don't mark three local registers as used.
422 (EXTRA_CC_MODES): New.
423 (SELECT_CC_MODE): New.
424 (HARD_REGNO_NREGS): Allow DImode in p0; handle CCImode.
425 (HARD_REGNO_MODE_OK): Disallow CCImode from non-predicates.
426 (FRAME_GROWS_DOWNWARD): Unset.
427 (STARTING_FRAME_OFFSET): Zero.
428 (ELIMINABLE_REGS): Eliminate from the soft to hard frame pointer.
429 (INITIAL_ELIMINATION_OFFSET): Defer to out of line function.
430 (HARD_FRAME_POINTER_REGNUM): New.
431 (CAN_DEBUG_WITHOUT_FP): Define.
432 (TRAMPOLINE_TEMPLATE): Remove.
433 (TRAMPOLINE_SIZE): Lower to 32.
434 (TRAMPOLINE_ALIGNMENT): Lower to 64.
435 (INITIALIZE_TRAMPOLINE): Defer to out of line function.
436 (PREDICATE_CODES): Update.
437 (struct machine_function): Add ia64_gp_save.
438 * config/ia64/ia64.md: Purge unused unspecs.
439 (movsi patterns): Allow moves to/from AR_M_REGS.
440 (movdi patterns): Allow moves to/from p0.
441 (call patterns): Move most setjmp hackery to ia64_gp_save_reg.
442 (gr_spill, gr_restore): Indicate ar.unat read/written.
443 (nonlocal_goto): Don't pass old frame_pointer.
444 (nonlocal_goto_receiver): Remove.
445 (exception_receiver): New.
446 (builtin_setjmp_setup): New.
447 (builtin_setjmp_receiver): New.
448 * config/ia64/lib1funcs.asm (__ia64_save_stack_nonlocal): Bundle.
449 (__ia64_nonlocal_goto): Bundle. Don't kill r7.
450 (__ia64_restore_stack_nonlocal): Likewise.
451 (__ia64_trampoline): New.
452 * config/ia64/sysv4.h (DBX_REGISTER_NUMBER): Defer to out of line
454 * config/ia64/t-ia64 (LIB1ASMFUNCS): Add __trampoline.
456 2000-08-08 Richard Henderson <rth@cygnus.com>
458 * frame.h (ia64_frame_state): Add my_psp.
459 * libgcc2.c (ia64_throw_helper): Add throw_sp argument.
460 (__throw): Pass it in. Don't clobber r7.
461 * config/ia64/frame-ia64.c (init_ia64_reg_loc): Mark inline.
462 (execute_one_ia64_descriptor) [mem_stack_v]: Sets psp.when
463 and nothing to do with sp.
464 (normalize_reg_loc): Use frame->my_psp.
465 (frame_translate): Handle frame-pointer-less functions. Set
466 spill_base correctly, in absence of being told.
467 (__build_ia64_frame_state): New sp argument. Fill in frame->my_sp.
468 (__ia64_backtrace_helper): New sp argument. Use
469 builtin_return_address instead of label addresses.
470 (print_record) [mem_stack_v]: No size member.
472 2000-08-08 Richard Henderson <rth@cygnus.com>
474 * regclass.c (choose_hard_reg_mode): Iterate over all CC modes.
476 2000-08-08 Richard Henderson <rth@cygnus.com>
478 * tm.texi (LOCAL_REGNO): Document.
479 * flow.c (LOCAL_REGNO, EPILOGUE_USES): Provide default.
480 (mark_regs_live_at_end): Don't mark LOCAL_REGNO registers.
481 * reload1.c (reload): Likewise when considering nonlocal labels.
483 * config/ia64/ia64.h (LOCAL_REGNO): New.
484 * config/sparc/sparc.h (LOCAL_REGNO): New.
486 2000-08-08 Joseph S. Myers <jsm28@cam.ac.uk>
488 * c-lex.c (yylex): Don't allow integer suffixes 'LUL', 'Ll', 'lL'.
490 2000-08-07 Nick Clifton <nickc@redhat.com>
492 * config/mips/mips.c: Fix compile time warning messages.
493 * config/mips/mips-protos.h: Add prototype for equality_op.
495 * mn10300.h (TARGET_SWITCHES): Document `-mam33'.
497 2000-08-07 Graham Stott <grahams@cygnus.co.uk>
499 * mn10300.md: Use nonimmediate_operand instead of general_operand
502 * mn10300.h (PREFERRED_RELOAD_CLASS): Limit memory reloads.
504 2000-08-07 Alexandre Oliva <aoliva@redhat.com>
506 * sh.h (EXTRA_CONSTRAINT_Q): Adjust to GNU Coding Standards.
507 * sh.c (expand_block_move): Break long lines.
508 (expand_ashiftrt, fpscr_set_from_mem): Likewise.
509 * sh.md (mulsi3): Likewise.
510 (movdi): Adjust spacing.
512 2000-08-07 Richard Henderson <rth@cygnus.com>
514 * expmed.c (store_bit_field): Don't require MEM_IN_STRUCT_P.
515 * expr.c (emit_group_store): Don't set it.
517 2000-08-07 Kazu Hirata <kazu@hxi.com>
519 * invoke.texi (Options for Debugging Your Program or GCC): Remove
520 duplicate entries for 'w' and 'z'.
522 * flow.c: Fix a comment typo.
524 Sun Aug 6 23:47:35 2000 Ovidiu Predescu <ovidiu@cup.hp.com>
526 * c-parse.in: Changed the language string for Objective-C to "GNU
529 Sun Aug 6 11:54:03 2000 Ovidiu Predescu <ovidiu@cup.hp.com>
531 * gthr-posix.h: Integrated Chris Ball's <cball@fmco.com> changes
532 to improve the Posix thread support for Objective-C.
534 2000-08-06 Joseph S. Myers <jsm28@cam.ac.uk>
536 * c-common.h (enum c_tree_index): Add CTI_SIGNED_SIZE_TYPE and
537 CTI_UNSIGNED_PTRDIFF_TYPE.
538 (signed_size_type_node): Define.
539 (unsigned_ptrdiff_type_node): Define.
540 * c-decl.c (init_decl_processing): Create the
541 signed_size_type_node and unsigned_ptrdiff_type_node types.
542 * c-common.c (T_SC): Define.
545 (print_char_table): Use T_SST for %zd, %zi, %zn. Use T_UPD for
546 %to, %tu, %tx, %tX. Allow %hhn (T_SC). Add "c" to the flags for
548 (scan_char_table): Use T_SC for %hhd, %hhi, %hhn. Use T_SST for
549 %zd, %zi, %zn. Use T_UPD for %to, %tu, %tx, %tX. Add "c" to the
550 flags for %c, %s and %[.
551 (check_format_info): Only allow leniency for signedness of targets
552 of character pointers (when pedantic) for formats flagged with
553 "c", so for strings but not for %hh formats. When pedantic, don't
554 allow character pointers to substitute for void pointers if a
555 second level of indirection is present.
557 2000-08-06 Kazu Hirata <kazu@hxi.com>
559 * invoke.texi (Options for Debugging Your Program or GCC): Update
560 the names of dump files.
562 * h8300.c (dosize): Rearrange code for conciseness.
563 (split_adds_subs): Likewise.
565 * loop.c: Fix formatting.
567 * dwarf2out.c: Fix formatting.
569 * tm.texi (FUNCTION_ARG_PARTIAL_NREGS): Fix a typo.
571 * expr.c: Fix formatting.
573 2000-08-06 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
575 * rs6000.c (rs6000_maybe_dead): Prototype.
577 2000-08-06 Richard Henderson <rth@cygnus.com>
579 * stmt.c (expand_goto): Do virtual_stack_vars_rtx replacement for
580 HAVE_nonlocal_goto as well.
581 * config/i960/i960.md (nonlocal_goto): Don't do it here.
582 * config/pj/pj.md (nonlocal_goto): Likewise.
584 2000-08-07 Michael Hayes <mhayes@cygnus.com>
586 * loop.c (try_swap_copy_prop): New function.
587 (load_mems): Rename copies to load_copies and add new regset
588 store_copies. Check for sets of shadow registers and mark
589 in store_copies. Call try_swap_copy_prop for registers
590 marked in store_copies.
592 Sun Aug 6 00:54:42 2000 Ovidiu Predescu <ovidiu@cup.hp.com>
594 * objc/objc-act.c: New command line option -fconstant-string-class
595 to allow specifying a user defined constant string class,
596 different from NXConstantString.
598 * toplev.c: Moved the Objective-C specific options to
601 * objc/lang-options.h: Moved the Objective-C specific options from
602 toplev.c. Added -fconstant-string-class.
604 2000-08-05 Chris Demetriou <cgd@sibyte.com>
606 * mips/elf.h (CTOR_LIST_BEGIN, CTOR_LIST_END,
607 DTOR_LIST_BEGIN, DTOR_LIST_END): change type of
608 __CTOR_LIST__ from func_ptr array to just func_ptr, to
609 avoid extra alignment imposed on arrays.
610 * mips/elf64.h (CTOR_LIST_BEGIN, CTOR_LIST_END,
611 DTOR_LIST_BEGIN, DTOR_LIST_END): Likewise.
613 * mips.h: Clean up comments and spacing near MASKs.
614 (TARGET_UNIX_ASM): Delete.
615 (MASK_MIPS16, MASK_NO_CHECK_ZERO_DIV, MASK_CHECK_RANGE_DIV,
616 MASK_UNINIT_CONST_IN_RODATA): Change values to make mask
619 2000-08-05 Joseph S. Myers <jsm28@cam.ac.uk>
621 * c-common.c (print_char_table): Add entries for the X/Open '
622 format flag (print decimals with locale's thousands grouping
623 character). Make %C expect wint_t.
624 (check_format_info): If pedantic, warn when the %n$ operand
625 number form is used. Allow for the ' flag; warn about it if
628 2000-08-05 Zack Weinberg <zack@wolery.cumb.org>
630 * i386.h (FUNCTION_OK_FOR_SIBCALL): Not OK if DECL's return
631 type is a float mode, cfun->decl's return type is not, and
632 TARGET_FLOAT_RETURNS_IN_80387.
634 2000-08-04 Andreas Schwab <schwab@suse.de>
636 * cppmain.c (cb_def_pragma): Skip the first two tokens from the
637 token list, which are always `#' and `pragma'.
639 2000-08-04 Zack Weinberg <zack@wolery.cumb.org>
641 * tree.c (tree_expr_nonnegative_p): Move to...
642 * fold-const.c: ... here. Also handle BIND_EXPR and RTL_EXPR.
643 (rtl_expr_nonnegative_p): New.
644 * tree.h: Add prototype for rtl_expr_nonnegative_p.
646 * real.h (CONST_DOUBLE_LOW, CONST_DOUBLE_HIGH, CONST_DOUBLE_MEM,
647 CONST_DOUBLE_CHAIN: Move to...
648 * rtl.h: ...here. Use XCINT/XCEXP.
650 * Makefile.in: Remove toplev.o from OBJS. Add rule to make
651 libbackend.a; add libbackend.a to STAGESTUFF. Add BACKEND
652 variable. Use BACKEND when linking cc1, not OBJS. Add BACKEND
655 * objc/Make-lang.in (cc1obj): Link with $(BACKEND).
657 2000-08-05 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
659 * config/c4x/c4x.md (return_indirect_internal): New.
660 * config/c4x/c4x.c (c4x_expand_epilogue): Use it.
662 2000-08-04 Joseph S. Myers <jsm28@cam.ac.uk>
664 * c-common.c (time_char_table): Mark up formats added in C99 and
665 make other corrections. %D and %g were added in C99. %Og is an
666 extension. %EX is permitted. %R, %T, %n, %r, %t were added in
667 C99. %e was added in C99. %Oj is an extension. %G and %z are in
668 C99 rather than GNU extensions, but %OG and %Oz are extensions.
669 %h was added in C99. %C was added in C99. %OY and %OC are
670 extensions. Add the C99 format %F.
671 (check_format_info): If pedantic and not in C99 mode, warn for C99
674 Fri Aug 4 23:01:58 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
676 * function.c (schedule_fixup_var_refs): New function, broken out
677 of put_reg_into_stack.
678 (put_reg_into_stack): Use it.
679 (put_var_into_stack): In CONCAT case, fixup up references for
680 components only after fixing up references to the whole concat.
682 2000-08-04 Rodney Brown <RodneyBrown@pmsc.com>
684 * alias.c (mark_constant_function): Use INSN_P.
685 (init_alias_analysis): Likewise.
686 * combine.c (combine_instructions): Use INSN_P.
687 (can_combine_p): Likewise.
688 (try_combine): Likewise.
689 (distribute_notes): Likewise.
690 (distribute_links): Likewise.
691 * cse.c (cse_around_loop): Use INSN_P.
692 (invalidate_skipped_block): Likewise.
693 (cse_set_around_loop): Likewise.
694 (cse_end_of_basic_block): Likewise.
695 (delete_trivially_dead_insns): Likewise.
696 * emit-rtl.c (unshare_all_rtl_again): Use INSN_P.
697 (unshare_all_rtl_1): Likewise.
698 (next_cc0_user): Likewise.
699 (try_split make_insn_raw): Likewise.
700 (remove_unnecessary_notes): Likewise.
701 * final.c (shorten_branches): Use INSN_P.
702 (leaf_renumber_regs): Likewise.
703 (leaf_renumber_regs_insn): Likewise.
704 * flow.c (find_label_refs): Use INSN_P.
705 (verify_wide_reg): Likewise.
706 (notice_stack_pointer_modification): Likewise.
707 (count_or_remove_death_notes): Likewise.
708 (verify_flow_info): Likewise.
709 (clear_log_links): Likewise.
710 * function.c (fixup_var_refs_insns): Use INSN_P.
711 (compute_insns_for_mem): Likewise.
712 * gcse.c (alloc_gcse_mem): Use INSN_P.
713 (compute_sets): Likewise.
714 (compute_hash_table): Likewise.
715 (classic_gcse): Likewise.
717 (insert_insn_end_bb): Likewise.
718 (delete_null_pointer_checks_1): Likewise.
719 * global.c (expand_preferences): Use INSN_P.
720 (build_insn_chain): Likewise.
721 * graph.c (node_data): Use INSN_P.
722 * haifa-sched.c (priority): Use INSN_P.
723 (rm_line_notes): Likewise.
724 (rm_other_notes): Likewise.
725 (find_insn_reg_weight): Likewise.
726 (init_target_units): Likewise.
727 (schedule_block): Likewise.
728 (compute_block_forward_dependences): Likewise.
729 (debug_dependencies): Likewise.
730 (set_priorities): Likewise.
731 * integrate.c (function_cannot_inline_p): Use INSN_P.
732 (save_parm_insns): Likewise.
733 (copy_insn_list): Likewise.
734 * jump.c (mark_all_labels): Use INSN_P.
735 (never_reached_warning): Likewise.
736 * lcm.c (optimize_mode_switching): Use INSN_P.
737 * local-alloc.c (validate_equiv_mem): Use INSN_P.
738 (memref_used_between_p): Likewise.
739 (update_equiv_regs): Likewise.
740 (block_alloc): Likewise.
741 (no_conflict_p): Likewise.
742 * loop.c (scan_loop): Use INSN_P.
743 (find_and_verify_loops): Likewise.
744 (count_loop_regs_set): Likewise.
745 (loop_reg_used_before_p): Likewise.
746 (strength_reduce): Likewise.
747 (recombine_givs): Likewise.
748 (check_dbra_loop): Likewise.
749 (load_mems): Likewise.
750 (try_copy_prop): Likewise.
751 * print-rtl.c (print_rtx): Use INSN_P.
752 * recog.c (find_single_use): Use INSN_P.
753 * reg-stack.c (stack_regs_mentioned): Use INSN_P.
754 (next_flags_user): Likewise.
755 (swap_rtx_condition): Likewise.
756 * regmove.c (mark_flags_life_zones): Use INSN_P.
757 (optimize_reg_copy_1): Likewise.
758 (optimize_reg_copy_2): Likewise.
759 (optimize_reg_copy_3): Likewise.
760 (reg_is_remote_constant_p): Likewise.
761 (fixup_match_2): Likewise.
762 (regmove_optimize): Likewise.
763 (fixup_match_1): Likewise.
764 * regrename.c (build_def_use): Use INSN_P.
765 (replace_reg_in_block): Likewise.
766 (consider_use): Likewise.
767 * reload.c (find_equiv_reg): Use INSN_P.
768 * reload1.c (reload): Use INSN_P.
769 (maybe_fix_stack_asms): Likewise.
770 (calculate_needs_all_insns): Likewise.
771 (reload_as_needed): Likewise.
772 (emit_output_reload_insns): Likewise.
773 (delete_address_reloads_1): Likewise.
774 (reload_cse_regs_1): Likewise.
775 (reload_combine): Likewise.
776 (reload_cse_move2add): Likewise.
777 * reorg.c (redundant_insn): Use INSN_P.
778 (dbr_schedule): Likewise.
779 * resource.c (find_dead_or_set_registers): Use INSN_P.
780 (mark_target_live_regs): Likewise.
781 * rtlanal.c (reg_used_between_p): Use INSN_P.
782 (reg_referenced_between_p): Likewise.
783 (reg_set_between_p): Likewise.
784 (reg_set_p): Likewise.
785 (single_set): Likewise.
786 (multiple_sets): Likewise.
787 (find_last_value): Likewise.
788 (reg_set_last): Likewise.
789 (find_reg_note): Likewise.
790 (find_regno_note): Likewise.
791 * sibcall.c (sequence_uses_addressof): Use INSN_P.
792 * simplify-rtx.c (cselib_process_insn): Use INSN_P.
793 * ssa.c (find_evaluations): Use INSN_P.
794 (rename_block): Likewise.
795 (rename_equivalent_regs): Likewise.
796 * unroll.c (loop_find_equiv_value): Use INSN_P.
797 (set_dominates_use): Likewise.
798 * varasm.c (mark_constant_pool): Use INSN_P.
799 (mark_constants): Likewise.
800 * config/alpha/alpha.c (alpha_does_function_need_gp): Use INSN_P.
801 (alphaev4_next_group): Likewise.
802 (alphaev5_next_group): Likewise.
803 * config/c4x/c4x.c (c4x_process_after_reload): Use INSN_P.
804 (c4x_rptb_rpts_p): Likewise.
805 * config/mips/mips.c (mips16_optimize_gp): Use INSN_P.
806 * config/rs6000/rs6000.c (uses_TOC): Use INSN_P.
807 (rs6000_adjust_priority): Likewise.
808 * config/sh/sh.c (sh_loop_align): Use INSN_P.
809 (machine_dependent_reorg): Likewise.
810 (split_branches): Likewise.
811 * config/tahoe/tahoe.c (tahoe_cmp_check): Use INSN_P.
813 Fri Aug 4 11:43:49 2000 John Wehle (john@feith.com)
815 * combine.c (recog_for_combine): Remove the old notes
816 prior to attempting to recognize the new pattern.
817 (distribute_notes): Ignore REG_NONNEG notes.
819 2000-08-04 Chandrakala Chavva <cchavva@redhat.com>
821 * varasm.c (output_constructor): Add .align 0 for packed vars.
823 2000-08-04 J. David Anglin <dave@hiauly1.hia.nrc.ca>
825 * configure.in: Use default thread_file even when enable_threads is
826 yes or dce because hpux10.20 pa port uses MULTILIB implementation.
827 * configure: Rebuilt.
829 * gthr-dce.h (__gthread_objc_condition_allocate): Fix typo.
831 2000-08-04 Donn Terry (donnte@microsoft.com)
833 * prefix.c (translate_name): Don't strip trailing DIR_SEPARATOR.
835 2000-08-04 Mark Elbrecht <snowball3@bigfoot.com>
837 * i386/x-djgpp: Delete code that conditionally modifies target_alias.
838 Delete code that conditionally modifies 'version'.
839 Delete X_CPPFLAGS. Add comment for SYSTEM_HEADER_DIR.
840 * i386/xm-djgpp.h (GCC_DRIVER_HOST_INITIALIZATION): New macro.
841 * gcc.c (main): Use it.
842 * config/i386/xm-djgpp.h (UPDATE_PATH_HOST_CANONICALIZE): New macro.
843 * prefix.c (update_path): Use it.
844 * i386/djgpp.h (STANDARD_INCLUDE_DIR): Define.
845 (MD_EXEC_PREFIX): Set to '/dev/env/DJDIR/bin/'.
846 (ASM_OUTPUT_SECTION_NAME): Add code attribute to sections containing
848 (SUPPORTS_WEAK, SUPPORTS_ONE_ONLY): Default to true.
849 (SUBTARGET_SWITCHES): Adjust.
850 (WCHAR_UNSIGNED, WCHAR_TYPE_SIZE, WCHAR_TYPE): Undefine before
852 (WINT_TYPE, SIZE_TYPE, PTRDIFF_TYPE): Define.
854 2000-08-04 Joseph S. Myers <jsm28@cam.ac.uk>
856 * c-common.h (flag_isoc94): Declare.
857 * c-decl.c (flag_isoc94): Define.
858 (c_decode_option): Set flag_isoc94 as appropriate.
859 * c-common.c (T_PD, T_IM, T_UIM): Define.
860 (format_char_info): Add tlen and jlen.
861 (print_char_table): Add entries for %t and %j. Allow %zn. Allow
863 (scan_char_table): Add entries for %t and %j. Allow %F. Allow
865 (time_char_table): Add NULL entries for %t and %j.
866 (check_format_info): Allow for %t and %j. Warn for %F if pedantic
867 and not C99. Warn for %lc, %ls and %l[ if pedantic and not C94.
868 Warn for printf %lf if pedantic and not C99. Don't warn for empty
869 precision. Allow precision argument to be unsigned int. If
870 pedantic, warn for %p passed an argument not a pointer to possibly
871 qualified void or a possibly qualified character type, and for
872 pointer targets of the wrong sign, except for character pointers.
874 2000-08-04 Joseph S. Myers <jsm28@cam.ac.uk>
876 * ginclude/stddef.h: Don't declare wint_t unless __need_wint_t.
877 * c-common.h (enum c_tree_index): Add CTI_WINT_TYPE.
878 (wint_type_node): Define.
879 * c-decl.c (WINT_TYPE): Define.
880 (init_decl_processing): Create the wint_type_node type.
881 * c-common.c (T_WI): Define.
882 (print_char_table): Use T_WI for %lc format.
884 2000-08-04 Bruce Korb <bkorb@gnu.org>
886 * fixinc/: Verified that the MSDOS patch does not break
887 the UNIX functionality and applied the next three patches
890 2000-07-28 Eli Zaretskii <eliz@is.elta.co.il>
892 * fixinc/fixfixes.c (main) [__MSDOS__]: Avoid overwriting the
893 output file with the temporary one by appending ".X" to generate
894 the temporary fuile's name. If the output file already has an
895 extension, replace it with ".X".
897 * fixinc/fixincl.c (fix_with_system) [__MSDOS__]: Use $ORIGDIR,
898 not $DESTDIR, to find applyfix. Use sprintf instead of snprintf;
899 reallocate the command buffer while copying the command-line
900 argument. Redirect the output directly to the temporary file,
901 instead of going through another temporary file.
902 (process): Close the temporary file before unlinking it.
903 (machine_matches) [__MSDOS__]: If the machine doesn't match, set
904 the FD_SKIP_TEST flag. Pay attention to the FD_MACH_IFNOT flag.
905 (run_compiles): Pass p_fixd argument to machine_matches, as it
908 * fixinc/fixincl.sh: Export ORIGDIR. If $DJDIR is set in the
909 environment, assume there are no symlinks in the include
910 directory. When cleaning up the DONE files, look for them
911 case-insensitively. Don't try to remove symlinks if they aren't
914 * fixinc/fixlib.c (make_raw_shell_str): Accept new argument smax;
915 all callers changed. Declare pz "const char *", to avoid compiler
918 * fixinc/fixlib.h (ENV_TABLE): Get ORIGDIR from the environment.
919 Change prototype of make_raw_shell_str.
921 2000-07-27 Eli Zaretskii <eliz@is.elta.co.il>
923 * fixinc/fixincl.c [__MSDOS__]: Don't include "server.h".
924 (initialize) [__MSDOS__]: Use tempnam.
925 (initialize): Don't use SIGPIPE if it is not defined.
927 * fixinc/fixfixes.c (main) [__MSDOS__]: freopen for stdout should
930 2000-07-25 Bruce Korb <bkorb@gnu.org>
932 * fixinc/fix*.[ch]: substantially reworked to make it possible
933 to run this program without using fork(2) or pipe(2) (i.e. in
936 2000-08-04 Joseph S. Myers <jsm28@cam.ac.uk>
938 * cppdefault.h (WINT_TYPE): Define.
939 * cppinit.c (builtin_array): Define __WINT_TYPE__.
940 * tradcpp.c (initialize_builtins): Define __WINT_TYPE__.
941 * tm.texi (NO_BUILTIN_WINT_TYPE, WINT_TYPE): Document.
943 Fri Aug 4 06:53:46 2000 Clinton Popetz <cpopetz@cygnus.com>
945 * (mips_legitimate_address_p): Don't allow register+offset
946 if the offset is large and negative, and we are compiling
947 for 64 bit registers.
949 2000-08-04 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
951 * gencodes.c (main): Define CODE_FOR_nothing as the last possible
952 insn_code_number + 1.
954 2000-08-04 Kazu Hirata <kazu@hxi.com>
956 * h8300.c (function_prologue): Rearrange code for conciseness.
957 (function_epilogue): Likewise.
958 * h8300.h (OK_FOR_U): Fix formatting.
960 * cse.c: Fix a comment typo. Fix formatting.
962 2000-08-03 Richard Henderson <rth@cygnus.com>
964 * config/i386/i386.md (return_indirect_internal): New.
965 * config/i386/i386.c (ix86_expand_epilogue): Use it.
967 2000-08-03 Zack Weinberg <zack@wolery.cumb.org>
969 * cpplex.c (parse_name): Might have to glue a CPP_OTHER token
971 (lex_line): Glue @ onto the beginning of identifiers and
972 string constants, in Objective-C mode.
973 (output_token, spell_token): Handle CPP_OSTRING.
974 (can_paste, maybe_paste_with_next): Handle pasting @ onto the
975 beginning of a NAME or a STRING, in objc mode.
977 * cpplib.c (get_define_node): Do not permit identifiers that
978 begin with @ to be #defined.
979 * cppmacro.c (CAN_PASTE_AFTER): Add CPP_OTHER.
980 * cpplib.h (TTYPE_TABLE): Add CPP_OSTRING.
982 * c-lang.c, objc/objc-act.c (build_objc_string): Delete.
983 * c-tree.h (build_objc_string): Delete prototype.
984 * objc/objc-tree.def: Delete OBJC_STRING_CST.
985 * c-lex.c (yylex): Use build_string for all three kinds of strings.
987 * c-parse.in, objc/objc-act.c: Update commentary.
989 2000-08-03 Mark Mitchell <mark@codesourcery.com>
991 * extend.texi: Fix typo in last change.
993 * extend.texi: Add commentary on statement-expressions and their
994 interactions with C++.
996 2000-08-03 Nick Clifton <nickc@cygnus.com>
998 * dwarf2.h (DW_LANG_Java): Change value to 0x000b.
999 * dwarf.h (LANG_JAVA): Change value to 0x000b.
1001 2000-08-03 Anthony Green <green@cygnus.com>
1003 * dwarf2out.c (gen_compile_unit_die): Add java language support.
1004 (add_bound_info): Check for java language.
1005 (is_java): New function.
1006 * dwarfout.c (output_compile_unit_die): Ditto.
1007 * dwarf.h (dwarf_source_language): Add java source language type.
1008 * dwarf2.h (dwarf_source_language): Ditto.
1010 Thu Aug 3 20:32:25 MET DST 2000 Jan Hubicka <jh@suse.cz>
1012 * reg-stack.c (subst_stack_regs_pat): Use replace_reg to swap
1015 * i386.c (ix86_expand_branch): Mode of comparison in
1016 IF_THEN_ELSE is VOIDmode.
1018 Thu Aug 3 10:05:53 2000 Akiko Matsushita <matusita@sra.co.jp>
1020 * gengenrtl.c, rtl.c: Avoid #elif.
1022 2000-08-03 Michael Poole <poole@troilus.org>
1024 * tm.texi (Register Classes): Clarify order of sub-initializers
1025 in REG_CLASS_CONTENTS.
1027 Thu Aug 3 15:53:03 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
1029 From SAITOH Masanobu:
1030 * sh.h (ASM_OUTPUT_REG_PUSH): Fix syntax.
1032 2000-08-03 David Billinghurst <David.Billinghurst@riotinto.com.au>
1034 * config/i386/cygwin.h: Remove -remap from CPP_SPEC since this option
1035 is not supported by tradcpp and isn't actually needed for cygwin.
1037 2000-08-03 Kazu Hirata <kazu@hxi.com>
1039 * h8300.c: Fix a comment typo.
1040 * h8300.h (OK_FOR_U): Accept a 32-bit constant address on H8/S.
1042 * jump.c: Fix formatting.
1044 * toplev.c: Fix formatting.
1046 Thu Aug 3 01:05:32 2000 Jeffrey A Law (law@cygnus.com)
1048 * flow.c (find_auto_inc): Verify that we've got a REG before
1049 peeking at its regno. Fail, don't abort if we can't find
1050 the increment of the desired register.
1052 * pa.md (shadd height reduction patterns/splitters): Remove.
1054 2000-08-02 Jim Wilson <wilson@cygnus.com>
1056 * config/ia64/ia64-protos.h (flag_ssa): Declare.
1057 * config/ia64/ia64.md (movti_internal, movti_internal+1): New.
1059 2000-08-02 Mark Mitchell <mark@codesourcery.com>
1061 * dce.c: Remove all uses of assert.
1062 * dwarf2out.c: Likewise.
1063 * dwarfout.c: Likewise.
1066 2000-08-02 Zack Weinberg <zack@wolery.cumb.org>
1068 * gcc.h (lang_specific_driver): Constify second argument.
1069 * gcc.c (translate_options, process_command, main): Likewise.
1070 Constify variables to match. Cast second argument to
1073 * cppspec.c, gccspec.c: Adjust type of second argument to
1074 lang_specific_driver, and update code as necessary.
1076 2000-08-02 Jakub Jelinek <jakub@redhat.com>
1078 * loop.c (scan_loop): Ensure update_end label does not
1079 go away until reg_scan_update is run.
1081 2000-08-02 Zack Weinberg <zack@wolery.cumb.org>
1083 * c-common.h: Prototype min_precision and c_build_qualified_type here...
1084 * c-tree.h: ... not here.
1085 * errors.h: Prototype fancy_abort.
1087 * emit-rtl.c (gen_lowpart_common): Move variable 'c' into
1088 HOST_BITS_PER_WIDE_INT == 64 ifdef block.
1089 * regrename.c (regrename_optimize): Make control flow explicit.
1090 (replace_reg_in_block): Initialize reg_use to 0.
1092 * i386.c (legitimate_address_p): Rename error label to
1093 report_error to avoid namespace clash.
1095 2000-08-02 Kazu Hirata <kazu@hxi.com>
1097 * fold-const.c: Fix formatting.
1099 Wed Aug 2 16:26:15 MET DST 2000 Jan Hubicka <jh@suse.cz>
1101 * i386.c (legitimate_address_p): Accept other bases than
1102 pic_offset_table_rtx for GOTOFF constructs.
1104 Wed Aug 2 15:59:34 MET DST 2000 Jan Hubicka <jh@suse.cz>
1106 * i386.md (shift to lea splitter): Use const_int_operand.
1108 2000-08-02 Zack Weinberg <zack@wolery.cumb.org>
1110 * cppexp.c, cppinit.c, cpplex.c, cpplib.c, cppmacro.c,
1111 cppspec.c: Do not use 'legal' or 'illegal' in error messages
1114 * cppmain.c (cb_define, cb_undef): Don't generate any output
1115 if not done_initializing.
1116 * cpplex.c (maybe_paste_with_next): When the token after a ##
1117 is an omitted rest argument, only delete the token before it
1118 if that token is a comma. Do not warn about bogus token
1119 pastes for , ## rest_arg.
1122 * cpp.1: Regenerate.
1124 2000-08-02 Fred Fish <fnf@be.com>
1126 * config/i386/beos-elf.h (STARTFILE_SPEC): Add i386-mcount.o
1127 when user gives -p option. Add init_term_dyn.o for BeOS 5.0
1130 * config/i386/beos-elf.h (INCLUDE_DEFAULTS): Add additional
1131 Be directories to search path.
1133 Remove support for __declspec(dllimport) and __declspec(dllexport).
1134 This is leftover cruft from the earlier BeOS gcc port when BeOS
1135 used Microsoft's PE object file format.
1136 * configure.in (i*86-*-beoself): Remove extra_objs=winnt.o.
1137 * config/i386/t-beos (winnt.o): Remove Makefile frag.
1138 * config/i386/beos-elf.h (TARGET_NOP_FUN_DLLIMPORT): Remove.
1139 (VALID_MACHINE_DECL_ATTRIBUTE): Remove.
1140 (VALID_MACHINE_TYPE_ATTRIBUTE): Remove.
1141 (MERGE_MACHINE_DECL_ATTRIBUTES): Remove.
1142 (REDO_SECTION_INFO_P): Remove.
1143 (ASM_EXPORT_DECL): Remove.
1144 (ASM_DECLARE_FUNCTION_NAME): Remove.
1145 (ASM_DECLARE_OBJECT_NAME): Remove.
1146 (ASM_OUTPUT_ALIGNED_COMMON): Remove.
1147 (ASM_OUTPUT_ALIGNED_DECL_COMMON): Remove.
1148 (ASM_OUTPUT_ALIGNED_LOCAL): Remove.
1149 (STRIP_NAME_ENCODING): Remove.
1151 Remove support for obsolete version of BeOS that is no longer
1153 * configure.in (i*86-*-beospe*): Remove.
1154 * config/i386/beos-pe.h: Remove.
1156 2000-08-01 Jeffrey Oldham <oldham@codesourcery.com>
1157 Mark Mitchell <mark@codesourcery.com>
1159 * Makefile.in (OBJS): Added dce.o.
1160 (ssa.o): Updated target to include ssa.h.
1162 (toplev.o): Likewise.
1163 (dce.o): Created target.
1164 * basic-block.h: Added comments.
1165 (INVALID_BLOCK): Added definition.
1166 (connect_infinite_loops_to_exit): Added declaration.
1167 Moved SSA declarations to ssa.h.
1168 * flow.c: Added inclusion of ssa.h.
1169 (struct depth_first_search_dsS, depth_first_search_ds):
1171 (compute_immediate_postdominators): Added definition.
1172 (connect_infinite_loops_to_exit): Likewise.
1173 (flow_dfs_compute_reverse_init): Likewise.
1174 (flow_dfs_compute_reverse_add_bb): Likewise.
1175 (flow_dfs_compute_reverse_execute): Likewise.
1176 (flow_dfs_compute_reverse_finish): Likewise.
1177 * rtl.h (rtx/in_struct): Added use to determine insn necessity.
1178 (LABEL_P): Added definition.
1181 (BARRIER_P): Likewise.
1182 (JUMP_TABLE_DATA_P): Likewise.
1183 (INSN_DEAD_CODE_P): Likewise.
1184 * ssa.c: Replaced inclusions with ssa.h inclusion.
1185 (CONVERT_HARD_REGISTER_TO_SSA_P): Moved to ssa.h.
1186 (rename_registers): Removed unnecessary variables.
1187 * ssa.h: Created by moving declarations from ssa.c and
1189 * timevar.def: Defined TV_DEAD_CODE_ELIM.
1190 * toplev.c: Added ssa.h inclusion.
1191 (dump_file_index): Added DFI_dce.
1192 (dump_file): Added "dce" entry.
1194 (f_options): Added dce entry.
1195 * invoke.texi: Document -fdce. Emphasize experimental status of
1199 2000-08-01 Zack Weinberg <zack@wolery.cumb.org>
1201 * cpperror.c (v_message): Split into _cpp_begin_message and
1202 v_message macro. All callers updated.
1203 (_cpp_begin_message): Do inhibit_errors/inhibit_warnings
1206 * cppfiles.c (cpp_syshdr_flags): New function.
1207 (read_include_file): Don't call cpp_output_tokens. Call
1209 * cppinit.c (dump_macros_helper): Moved to cppmain.c.
1210 (cpp_reader_init): Don't initialize token_buffer. Call
1211 _cpp_init_internal_pragmas.
1212 (cpp_cleanup): Don't clear token_buffer.
1213 (cpp_start_read): Don't worry about output from -D processing.
1214 Don't call cpp_output_tokens.
1215 (cpp_finish): Don't dump macros here. Don't call
1217 * cppmacro.c (_cpp_dump_definition): Rename
1218 cpp_dump_definition. Write directly to a FILE *.
1219 (dump_funlike_macro): Delete.
1220 (dump_macro_args): New.
1222 * cpplex.c (TOKEN_LEN): Convert to inline function.
1223 (_cpp_grow_token_buffer, safe_fwrite, cpp_output_tokens,
1224 cpp_scan_line, _cpp_dump_list): Delete.
1225 (cpp_printf, cpp_output_list): New.
1226 (output_line_command): Don't worry about entering or leaving files.
1227 (cpp_scan_buffer): Just output each token as we hit it.
1228 (process_directive): Don't call cpp_output_tokens.
1229 (_cpp_glue_header_name): Don't use token_buffer.
1230 (output_token, dump_param_spelling): Write directly to a FILE *.
1232 * cpplib.c (pass_thru_directive, dump_macro_name,
1233 pragma_dispatch, do_pragma_gcc): Delete.
1234 (do_define, do_undef, parse_include, do_line, do_ident, do_pragma,
1235 do_pragma_poison, cpp_pop_buffer): Call the appropriate hook
1237 (do_error, do_warning, pragma_dependency): Call
1238 _cpp_begin_message, then cpp_output_list.
1239 (cpp_register_pragma, cpp_register_pragma_space,
1240 _cpp_init_internal_pragmas): New.
1241 (do_pragma): Walk the pragmas table here.
1242 (do_pragma_once, do_pragma_poison, do_pragma_system_header,
1243 do_pragma_dependency): Return void.
1244 (do_pragma_implementation): Moved to cppmain.c.
1246 * cpplib.h: Update prototypes.
1247 (struct cpp_reader): Remove printer, token_buffer,
1248 token_buffer_size, and limit. Add struct cb, and pragmas.
1249 (struct cpp_printer): Remove last_id and written.
1250 (CPP_WRITTEN, CPP_PWRITTEN, CPP_SET_WRITTEN,
1251 CPP_ADJUST_WRITTEN): Delete.
1252 * cpphash.h: Update prototypes.
1253 (ufputs): New wrapper.
1255 * cppmain.c (cb_define, cb_undef, cb_include, cb_ident,
1256 cb_enter_file, cb_leave_file, cb_def_pragma): New functions.
1257 (main): Set up callbacks. Register #pragma implementation.
1258 Dump macros from here.
1260 2000-08-01 Geoff Keating <geoffk@cygnus.com>
1262 * rtl.h (enum reg_note): Add REG_MAYBE_DEAD.
1263 * rtl.c (reg_note_name): Add REG_MAYBE_DEAD.
1264 * flow.c (propagate_one_insn): Allow deletion of prologue/epilogue
1265 insns if they have a REG_MAYBE_DEAD note attached.
1266 * config/rs6000/rs6000.c (rs6000_maybe_dead): New function.
1267 (rs6000_emit_load_toc_table): TOC loads may go dead.
1269 2000-08-01 Jim Wilson <wilson@cygnus.com>
1271 * config/ia64/ia64.c (ia64_function_arg): Fix last change. Verify
1272 type exists before using it. Use number of words as alignment
1274 (ia64_function_arg_partial_nregs, ia64_function_arg_advance,
1275 ia64_va_arg): Propagate ia64_function_args changes here.
1277 2000-08-01 Richard Henderson <rth@cygnus.com>
1279 * config/elfos.h (ASM_DECLARE_OBJECT_NAME): Care for null DECL.
1280 * config/ia64/sysv4.h (ASM_OUTPUT_ALIGNED_DECL_LOCAL): Likewise.
1282 2000-08-01 Bernd Schmidt <bernds@cygnus.co.uk>
1284 From Joern Rennecke:
1285 * sh.h (CPP_SPEC, TARGET_SWITCHES): Add m4-nofpu.
1286 * sh.md (udivsi3, divsi3): Don't use libcalls that use the FPU
1287 unless TARGET_SH3E is set.
1288 * t-sh (MULTILIB_MATCHES): Add m2=m4-nofpu.
1290 * sh.md (ashlsi3_d, ashlsi3_k): Remove, replace with
1291 (ashlsi3_std): New pattern.
1292 (ashlsi3 expander): Use it for TARGET_SH3.
1293 * sh.c (gen_ashift): Use it instead of ashlsi3_k.
1295 Tue Aug 1 12:34:21 MET DST 2000 Jan Hubicka <jh@suse.cz>
1297 * loop.c (canonicalize_condition): Use destination, not source to
1298 determine SET's mode.
1300 2000-07-31 Mark Mitchell <mark@codesourcery.com>
1302 * flow.c (clear_log_links): Fix typo.
1304 Mon Jul 31 22:19:24 2000 Jeffrey A Law (law@cygnus.com)
1306 * loop.c (check_dbra_loop): Make change from July 17, 2000 work
1307 on targets which need more than one insn for a compare/cbranch
1310 2000-07-31 Jim Wilson <wilson@cygnus.com>
1312 * config/ia64/ia64.c (ia64_function_arg): Use alignment not size
1313 when computing offset.
1315 Mon Jul 31 20:35:50 2000 Denis Chertykov <denisc@overta.ru>
1317 * genpeep.c (main): Handle DEFINE_PEEPHOLE2.
1319 2000-07-31 Geoff Keating <geoffk@cygnus.com>
1321 * flow.c (clear_log_links): Nuke global_live_at_start and
1322 global_live_at_end data, since if the log_links stuff is invalid
1323 so is global_live_at_*.
1325 2000-07-31 Richard Henderson <rth@cygnus.com>
1327 * tm.texi (Addressing Modes): Clarify PRE/POST_MODIFY descriptions.
1329 2000-07-31 Jakub Jelinek <jakub@redhat.com>
1331 * cpplex.c (_cpp_get_line): If index is 0, return line 0 col 0.
1332 (_cpp_get_token): Don't macro expand a just pasted token if it
1333 was pasted at no_expand_level.
1335 2000-07-31 Zack Weinberg <zack@wolery.cumb.org>
1337 * cppmacro.c (find_param, count_params, save_expansion):
1338 Permit 'defined' as a macro parameter name.
1340 2000-07-31 Zack Weinberg <zack@wolery.cumb.org>
1342 * Makefile.in: Rename cpp to cpp0, tradcpp to tradcpp0, and
1343 xcpp to cpp throughout.
1344 (native): Remove unnecessary dependency on cpp.
1346 * gcc.c (trad_capable_cpp, C specs): Rename cpp to cpp,
1347 tradcpp to tradcpp0.
1348 (.i spec): Add missing output-file spec to cc1 command line.
1349 * objc/lang-specs.h: Rename cpp to cpp0 and/or tradcpp to tradcpp0.
1351 2000-07-31 Zack Weinberg <zack@wolery.cumb.org>
1353 * c-decl.c (mesg_implicit_function_declaration): Init to -1.
1354 (implicit_decl_warning): New function.
1355 (implicitly_declare): Use it.
1356 * c-typeck.c (build_external_ref): Use implicit_decl_warning
1357 to complain about implicit decls of builtins.
1359 * c-lang.c (lang_init): Set mesg_implicit_function_declaration
1360 based on pedantic && flag_isoc99, if not already set.
1361 * c-tree.h: Declare mesg_implicit_function_declaration.
1362 Prototype implicit_decl_warning.
1364 2000-07-30 Jeffrey D. Oldham <oldham@codesourcery.com>
1366 * Makefile.in (ssa.o): Updated header files in dependences.
1367 * basic-block.h: Added compute_immediate_postdominators declaration.
1368 * config/i386/i386.h (CONVERT_HARD_REGISTER_TO_SSA_P): Added
1370 * flow.c (compute_immediate_dominators): Updated comment.
1371 (compute_immediate_postdominators): Added definition.
1372 * rtl.h (HARD_REGISTER_P): Added definition.
1373 * ssa.c: Include additional header files.
1374 (assert): Added definition.
1375 (ssa_rename_to_lookup): Added to reimplement ssa_rename_to to
1376 include select hard registers.
1377 (ssa_rename_to_insert): Likewise.
1378 (ssa_rename_from_initialize): Likewise.
1379 (ssa_rename_from_lookup): Likewise.
1380 (original_register): Likewise.
1381 (ssa_rename_from_insert): Added to reimplement ssa_rename_from to
1382 include select hard reigsters.
1383 (ssa_rename_from_traverse): Likewise.
1384 (ssa_rename_from_free): Likewise.
1385 (ssa_rename_from_print): Likewise.
1386 (ssa_rename_from_print_1): Likewise.
1387 (ssa_rename_from_hash_function): Likewise.
1388 (ssa_rename_from_equal): Likewise.
1389 (ssa_rename_from_delete): Likewise.
1390 (simplify_to_immediate_dominators): Removed in favor of
1391 flow.c:compute_immediate_dominators.
1392 (find_evaluations_1): Modified to work with hard registers.
1393 (insert_phi_node): Likewise.
1394 (insert_phi_nodes): Likewise.
1395 (struct rename_set_data): Updated prev_reg comment.
1396 (create_delayed_rename): Modified to work with hard registers.
1397 (RENAME_NO_RTX): Updated comment.
1398 (apply_delayed_renames): Modified to work with hard registers.
1399 (rename_insn_1): Likewise and added handling of CLOBBER rtls.
1400 (rename_block): Updated to use revised ssa_rename_to interface.
1401 (rename_registers): Updated to use revised ssa_rename_to and
1402 ssa_rename_from interface.
1403 (convert_to_ssa): Revised to use compute_immediate_dominators and
1404 deal with hard registers.
1405 (make_regs_equivalent_over_bad_edges): Modified to work with hard
1406 registers. Added check for illegal unification of hard register.
1407 (make_equivalent_phi_alternatives_equivalent): Modified to work
1408 with hard registers.
1409 (compute_conservative_reg_partition): Likewise.
1410 (coalesce_if_unconflicting): Modified to work with hard registers
1411 and check for conflicting hard registers.
1412 (mark_phi_and_copy_regs): Revised loop to work only on pseudo
1414 (rename_equivalent_regs_in_insn): Modified to work with hard
1416 (record_canonical_element_1): Added definition.
1417 (check_hard_regs_in_partition): Added definition.
1418 (convert_from_ssa): Added data structure deallocation and check
1419 for illegal hard register unification.
1420 (conflict_hard_regs_p): Added definition.
1421 * toplev.c (rest_of_compilation): Added comment.
1423 2000-07-31 Anthony Green <green@redhat.com>
1425 * config/ia64/crtbegin.asm (__EH_FRAME_BEGIN__): Align correctly.
1427 2000-07-31 Jason McMullan <jmcmullan@linuxcare.com>
1429 * builtins.c (expand_builtin_apply): Don't defer pop during
1432 2000-07-31 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
1434 * calls.c (combine_pending_stack_adjustment_and_call): Only use
1435 preferred_unit_stack_boundary when it is > 1.
1437 2000-07-31 Joseph S. Myers <jsm28@cam.ac.uk>
1439 * c-common.c (init_function_format_info): Add C99 format functions
1442 * c-decl.c (get_parm_info): Don't treat 'const void', 'volatile
1443 void' or 'register void' as being the special case of 'void' alone
1444 in a parameter list.
1446 * c-typeck.c (build_c_cast): Change -Wcast-qual pedwarn for
1447 discarding qualifiers into a plain warning.
1449 2000-07-31 Kazu Hirata <kazu@hxi.com>
1451 * combine.c: Fix formatting.
1453 * h8300.md: Fix formatting.
1455 * local-alloc.c: Fix formatting.
1457 * h8300.c (get_shift_alg): Remove the variable alg.
1458 (emit_a_shift): Rearrange code to improve readability.
1460 * h8300.md (movsi_h8300hs): Rearrange code to improve readability.
1462 * h8300.h (MODES_TIEABLE_P): Accept a combination of QImode and
1463 HImode on all architectures and a combination of HImode and SImode
1464 on H8/300H and H8/S.
1466 * h8300.c (split_adds_subs): Rearrange code for conciseness.
1468 Mon Jul 31 12:27:55 MET DST 2000 Jan Hubicka <jh@suse.cz>
1470 * i386.md (addsi to lea splitter, ashlqi3_1_lea): Fix bugs
1473 Mon Jul 31 10:41:01 MET DST 2000 Jan Hubicka <jh@suse.cz>
1475 * recog.c (extract_insn): Set operand_mode according to
1476 operand if match_operand is VOIDmode.
1478 Mon Jul 31 10:36:38 MET DST 2000 Jan Hubicka <jh@suse.cz>
1480 * recog.c (validate_replace_rtx_1): Do not abort for (nil) expression.
1482 2000-07-31 Geoff Keating <geoffk@cygnus.com>
1484 * c-parse.in (extdefs): Call ggc_collect between external
1487 2000-07-30 Michael Hayes <mhayes@cygnus.com>
1488 Richard Henderson <rth@cygnus.com>
1490 * Makefile.in (OBJS): Add doloop.o.
1491 * doloop.c: New file.
1493 * final.c (insn_current_reference_address): Return 0 before final.
1494 * flags.h (flag_branch_on_count_reg): Fix typos in commentary.
1495 * jump.c (any_uncondjump_p): Likewise.
1496 * loop.c (indirect_jump_in_function): Make static.
1497 (strength_reduce): Call doloop_optimize.
1498 (insert_bct, instrument_loop_bct): Remove.
1499 * loop.h (doloop_optimize): Prototype.
1500 * recog.c (split_all_insns): Split all INSN_P.
1501 * toplev.c (flag_branch_on_count_reg): Default on.
1503 * config/c4x/c4x.c (c4x_optimization_options): Don't set
1504 flag_branch_on_count_reg.
1505 * config/i386/i386.c (override_options): Likewise.
1506 * config/rs6000/rs6000.c (optimization_options): Likewise.
1508 * config/i386/i386.md (decrement_and_branch_on_count): Remove.
1510 (dbra_ge): Remove, as well as all it's splitters.
1512 * config/rs6000/rs6000.md (decrement_and_branch_on_count): Remove.
1515 * config/ia64/ia64-protos.h (ar_lc_reg_operand): Declare.
1516 (ia64_register_move_cost): Declare.
1517 * config/ia64/ia64.c (ar_lc_reg_operand): New.
1518 (struct ia64_frame_info): Add ar_size.
1519 (ia64_compute_frame_size): Set it.
1520 (save_restore_insns): Save and restore ar.lc.
1521 (ia64_register_move_cost): New, moved from header file. Handle
1522 application registers.
1523 (REG_AR_PFS, REG_AR_EC): Remove. Replace with AR_*_REGNUM numbers.
1524 (emit_insn_group_barriers): Special case doloop_end_internal.
1525 (ia64_epilogue_uses): Mark ar.lc live at end.
1526 * config/ia64/ia64.h (AR_CCV_REGNUM, AR_LC_REGNUM): New registers.
1527 (AR_EC_REGNUM, AR_PFS_REGNUM): New registers.
1528 (FIRST_PSEUDO_REGISTER): Make room.
1529 (AR_M_REGNO_P, AR_I_REGNO_P, AR_REGNO_P): New.
1530 (FIXED_REGISTERS, CALL_USED_REGISTERS): Update.
1531 (REG_ALLOC_ORDER): Update.
1532 (HARD_REGNO_MODE_OK): Update.
1533 (REGISTER_NAMES): Update.
1534 (enum reg_class): Add AR_M_REGS and AR_I_REGS.
1535 (REG_CLASS_NAMES, REG_CLASS_CONTENTS): Update.
1536 (REGNO_REG_CLASS): Update.
1537 (LEGITIMATE_ADDRESS_DISP): Displacement range is 9 bits, not 10.
1538 (REGISTER_MOVE_COST): Move out of line.
1539 (PREDICATE_CODES): Update.
1540 * config/ia64/ia64.md (movdi patterns): Handle ar register classes.
1541 (addsi3_plus1_alt, adddi3_plus1_alt): New.
1542 (shladd_elim splitter): Allow constants in the predicate.
1543 (doloop_end, doloop_end_internal): New.
1545 2000-07-30 Richard Henderson <rth@cygnus.com>
1547 * genattrtab.c (struct insn_def): Add lineno member.
1548 (struct insn_ent): Likewise.
1549 (struct attr_desc): Likewise.
1550 (struct delay_desc): Likewise.
1551 (struct function_unit_op): Likewise.
1552 (struct function_unit): Likewise.
1553 (check_attr_value): Use message_with_line.
1554 (check_defs): Likewise.
1555 (expand_units): Likewise.
1556 (check_attr_test): Take a lineno argument.
1557 (gen_attr): Likewise.
1558 (gen_insn): Likewise.
1559 (gen_delay): Likewise.
1560 (gen_unit): Likewise.
1561 (main): Give it to them.
1562 (convert_set_attr_alternative): Take an insn_def argument
1563 instead of num_alt and insn_index.
1564 (convert_set_attr): Likewise.
1565 (write_test_expr): Protect INSN_ADDRESSES load
1566 with INSN_ADDRESSES_SET_P.
1568 2000-07-30 Richard Henderson <rth@cygnus.com>
1570 * flow.c (init_propagate_block_info): Use pc_set.
1572 Sun Jul 30 20:58:34 MET DST 2000 Jan Hubicka <jh@suse.cz>
1574 * i386.md (*lea_general_[123]) New insns and splits.
1575 (addsi3 to lea splitter): Handle other modes too.
1576 (shlsi3 to lea splitter): Likewise.
1577 (addhi_1_lea, shlhi_1_lea): New patterns.
1578 (addhi_1, shlhi_1): Conditionize by PARTIAL_REG_STALL.
1580 Sun Jul 30 20:51:25 MET DST 2000 Jan Hubicka <jh@suse.cz>
1582 * recog.c (general_operand, nonimmediate_operand): Accept
1583 any mode for VOIDmode CONSTANT_P operands.
1585 Sun Jul 30 20:42:21 MET DST 2000 Jan Hubicka <jh@suse.cz>
1587 * gcse.c (try_replace_reg): Use validate_replace_rtx_subexp
1588 instead of replace_rtx.
1589 * recog.c (validate_replace_rtx_subexp): New function.
1590 * recog.h (validate_replace_rtx_subexp): Declare.
1592 Sun Jul 30 20:38:26 MET DST 2000 Jan Hubicka <jh@suse.cz>
1594 * combine.c (simplify_set, make_extraction, make_compound_operation
1595 make_field_assignment): Use full mask instead of GET_MODE_MASK (mode)
1596 as force_to_mode argument.
1598 Sun Jul 30 20:30:41 MET DST 2000 Jan Hubicka <jh@suse.cz>
1600 * combine.c (if_then_else_cond): Be sure that mode fits in
1603 Sun Jul 30 20:27:36 MET DST 2000 Jan Hubicka <jh@suse.cz>
1605 * combine.c (record_promoted_value): Allow bitsize of mode
1606 to be equivalent to HOST_BITS_PER_WISE_INT.
1608 Sun Jul 30 20:25:21 MET DST 2000 Jan Hubicka <jh@suse.cz>
1610 * function.c (assign_stack_local_1, assign_stack_temp_for_type):
1611 Do not call gen_mode_alignment when mode is BLKmode.
1613 Sun Jul 30 20:21:54 MET DST 2000 Jan Hubicka <jh@suse.cz>
1615 * loop.c (express_from_1): Fix call of simplify_gen_binary.
1617 Sun Jul 30 20:08:37 MET DST 2000 Jan Hubicka <jh@suse.cz>
1619 * simplify-rtx.c (simplify_relational_operation): Verify that mode ==
1620 VOIDmode implies both operands to be VOIDmode.
1621 (simplify_ternary_operation): Compute properly the mode of comparison.
1622 * combine.c (combine_simplify_rtx): Likewise.
1624 2000-07-25 Michael Hayes <mph@paradise.net.nz>
1626 * basic-block.h (struct loops): New field rc_order.
1627 * flow.c (flow_loops_cfg_dump): Dump rc_order if computed.
1628 (flow_loops_free): Free rc_order.
1629 (flow_depth_first_order_compute): New parameter rc_order.
1630 (flow_loops_find): Allocate rc_order and swap usage with
1633 2000-07-30 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
1634 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
1636 * config/c4x/c4x.md (set_ldp_prologue): Add for RTL prologue/epilogue.
1637 (push_st, push_dp, pop_st, pop_dp, popqi_unspec): Likewise.
1638 (nodb_call, return_from_epilogue): Likewise.
1639 (return_from_interrupt_epilogue, prologue, epilogue): Likewise.
1640 * config/c4x/c4x.c (c4x_expand_prologue, c4x_expand_eplilogue): Add.
1641 * config/c4x/c4x-protos.h (c4x_interrupt_function_p): Add.
1642 (c4x_expand_prologue, c4x_expand_epilogue): Likewise.
1643 (c4x_valid_type_attribute_p): Likewise.
1644 * config/c4x/c4x.h (FUNCTION_PROLOGUE, FUNCTION_EPILOGUE): Delete.
1645 (FUNCTION_BLOCK_PROFILER_EXIT): Convert to emit RTL.
1647 2000-07-30 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
1649 * config/c4x/c4x.c (c4x_emit_move_sequence): Use loadqi_big_constant
1650 and loadhi_big_constant if applicable.
1651 * config/c4x/c4x.md (loadqi_big_constant, loadhi_big_constant): Tweak
1652 and add new splitter.s
1654 2000-07-30 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
1656 * config/c4x/c4x.c (c4x_rptb_insert): Make more robust.
1658 2000-07-30 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
1660 * config/c4x/c4x.h (ASM_FORMAT_PRIVATE_NAME): Output $ in label.
1662 2000-07-30 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
1664 * config/c4x/c4x.h (IS_XXX_REGNO): Rewrite to avoid unsigned warnings.
1666 2000-07-30 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
1668 * config/c4x/libgcc.S (divqf3): Improve accuracy.
1670 2000-07-27 Mark Mitchell <mark@codesourcery.com>
1672 Put phi nodes after NOTE_INSN_BASIC_BLOCK.
1673 * rtl.h (NOTE_INSN_BASIC_BLOCK_P): New macro.
1674 * bb-reorder.c (get_next_bb_note): Use NOTE_INSN_BASIC_BLOCK_P.
1675 (get_prev_bb_note): Likewise.
1676 (remove_scope_notes): Likewise.
1677 * flow.c (commit_one_edge_insertion): Likewise.
1678 (merge_blocks_nomove): Likewise.
1679 (verify_flow_info): Likewise.
1680 * gcse.c (insert_insn_end_bb): Likewise.
1681 * reg-stack.c (emit_swap_insn): Likewise.
1682 * ssa.c (first_insn_after_basic_block_note): New function.
1683 (insert_phi_node): Use it.
1684 (rename_block): Likewise.
1685 (eliminate_phi): Likewise.
1686 (make_regs_equivalent_over_bad_edges): Likewise.
1687 (make_equivalent_phi_alternatives_equivalent): Likewise.
1688 (for_each_successor_phi): Likewise.
1689 (convert_from_ssa): Modify phi-node deletion algorithm.
1691 2000-07-29 Andreas Jaeger <aj@suse.de>
1693 * configure.in (mips*-*-linux*): Use mips*el to check for little
1694 endian MIPS, add tmake_file.
1696 * config/mips/linux.h (TARGET_VERSION): Use GNU/Linux.
1697 (SUBTARGET_CPP_SPEC): Default MIPS_ISA is 1.
1698 Patches by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
1700 2000-07-28 Richard Henderson <rth@cygnus.com>
1702 * config/ia64/ia64.c (ia64_print_operand): Fix typos.
1703 Sign extend mode size before negating.
1705 2000-07-28 Richard Henderson <rth@cygnus.com>
1707 * emit-rtl.c (gen_lowpart_common): Add missing 'c' variable.
1709 2000-07-28 Bernd Schmidt <bernds@cygnus.co.uk>
1711 * cse.c (canon_hash): Handle PRE_MODIFY/POST_MODIFY.
1712 (cse_insn): Likewise.
1713 (addr_affects_sp_p): Likewise.
1714 * expr.c (move_by_pieces): Likewise.
1715 (clear_by_pieces): Likewise.
1716 * gcse.c (oprs_unchanged_p): Likewise.
1717 * haifa-sched.c (sched_analyze_2): Likewise.
1718 * recog.c (offsettable_address_p): Likewise.
1719 * regclass.c (record_address_regs): Likewise.
1720 * reload.c (find_reusable_reload): Likewise.
1721 (push_reload): Likewise.
1722 (operands_match_p): Likewise.
1723 (decompose): Likewise.
1724 (find_reloads_address_1): Likewise.
1725 (find_inc_amount): Likewise.
1726 * reload1.c (elimination_effects): Likewise.
1727 * resource.c (mark_set_resources): Likewise.
1728 * flow.c (attempt_auto_inc): New function; mostly broken out
1730 (find_auto_inc): Split into two functions and enhanced to
1731 generate POST_MODIFY.
1732 * rtl.def (PRE_MODIFY, POST_MODIFY): Adjust comment.
1733 * rtl.h (count_all_occurrences): Declare.
1734 (HAVE_{PRE,POST}_MODIFY_{DISP,REG}): Provide default of 0 if not
1736 * rtlanal.c (count_all_occurrences): New function.
1737 * tm.texi (HAVE_POST_MODIFY_DISP, HAVE_PRE_MODIFY_DISP,
1738 HAVE_POST_MODIFY_REG, HAVE_PRE_MODIFY_REG): Document.
1740 * config/ia64/ia64-protos.h (destination_operand): Declare.
1741 * config/ia64/ia64.c (destination_operand): New function.
1742 (ia64_print_operand): Handle POST_MODIFY.
1743 (rtx_needs_barrier): Likewise.
1744 * config/ia64/ia64.h (HAVE_POST_MODIFY_DISP): Define to 1.
1745 (HAVE_POST_MODIFY_REG): Define to 1.
1746 (MAX_REGS_PER_ADDRESS): Change to 2.
1747 (GO_IF_LEGITIMATE_ADDRESS): Accept POST_MODIFY too.
1748 (LEGITIMATE_ADDRESS_REG): New helper macro.
1749 (LEGITIMATE_ADDRESS_DISP): Likewise.
1750 (PREDICATE_CODES): Add entry for destination_operand.
1751 * config/ia64/ia64.md (all mov patterns): Use destination_operand
1752 predicate for operand 0.
1754 2000-07-28 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1756 * dwarf2out.c: Indent #error directive.
1758 * gbl-ctors.h: Fix typo in comment.
1759 (__do_global_ctors): Prototype.
1761 * gcse.c (record_one_set, pre_delete): Remove unused variables.
1763 * rs6000.c (rs6000_maybe_dead): Delete unused prototype.
1764 (print_operand): Initialize variable `t'.
1766 2000-07-27 Aldy Hernandez <aldyh@redhat.com>
1768 * config/arm/arm.md ("call_value"): removed constraints.
1769 Constraints are ignored in expanders.
1770 (*call_value_reg): split =rf into various constraints.
1771 (*call_value_mem): same
1772 (*call_value_symbol): same
1773 (*sibcall_value_insn): same
1775 2000-07-28 Philipp Thomas <pthomas@suse.de>
1777 * install.texi (--enable-nls): Change the description of the NLS
1778 related configure options to match the current state.
1779 (--with-included-gettext): Likewise.
1780 (--enable-maintainer-mode): New description added.
1781 * extend.texi (-fstrict-prototype): Add missing '.'.
1783 2000-07-27 Jim Wilson <wilson@cygnus.com>
1785 * dwarf2out.c (gen_decl_die): Don't call gen_abstract_function if
1786 DECL_INITIAL (decl) == NULL_TREE.
1788 2000-07-27 Alexandre Oliva <aoliva@redhat.com>
1790 * Makefile.in (INSN_ATTR_H): New macro. Replace all dependencies
1791 on insn-attr.h with it.
1792 * genattr.c: Generate `#include "insn-addr.h"' if HAVE_ATTR_length.
1793 * insn-addr.h: New header.
1794 (insn_addresses_): Renamed from insn_addresses.
1795 (INSN_ADDRESSES_DEFN, INSN_ADDRESSES, INSN_ADDRESSES_ALLOC,
1796 INSN_ADDRESSES_FREE, INSN_ADDRESSES_SET_P, INSN_ADDRESSES_SIZE,
1797 INSN_ADDRESSES_NEW): New macros.
1798 * genattrtab.c (write_test_expr): Use new macros.
1799 * final.c (insn_addresses, init_insn_lengths): Likewise.
1800 (align_fuzz, shorten_branches): Likewise.
1801 (final): Likewise. Do not reject new insns if their addresses
1802 have been added to INSN_ADDRESSES.
1803 * config/arm/arm.c, config/avr/avr.c: Use new macros.
1804 * config/h8300/h8300.c, config/i370/i370.c: Likewise.
1805 * config/m88k/m88k.c, config/pa/pa.c, config/pa/pa.md: Likewise.
1806 * config/sparc/sparc.c, config/sparc/sparc.md: Likewise.
1807 * config/sh/sh.c: Likewise.
1808 (output_branchy_insn): Use INSN_ADDRESSES_NEW.
1810 * Makefile.in (bootstrap): Move -BstageN/ back to the beginning.
1812 2000-07-27 Andrew Cagney <cagney@b1.cygnus.com>
1814 * gcc.c (struct prefix_list): Add member priority.
1815 (enum path_prefix_priority): Declare.
1816 (add_prefix): Replace ``first'' with ``priority''. Append new
1817 entry but keep list in priority order.
1818 (process_command): Update. Pass PREFIX_PRIORITY_B_OPT or
1819 PREFIX_PRIORITY_LAST to add_prefix.
1820 (process_command): Move include kludge - foo/stageN - to before
1823 2000-07-27 Jason Merrill <jason@redhat.com>
1825 * dwarf2out.c (gen_typedef_die): Abort if we get identical
1826 TREE_TYPE and DECL_ORIGINAL_TYPE on a typedef.
1828 2000-07-27 RodneyBrown <RodneyBrown@pmsc.com>
1830 * expr.h (get_alias_set, lang_get_alias_set): Delete prototypes.
1831 * tree.h (get_alias_set, lang_get_alias_set): Prototype.
1833 2000-07-27 Joseph S. Myers <jsm28@cam.ac.uk>
1835 * c-decl.c (finish_function): Don't treat 'main' specially unless
1836 flag_hosted. In C99 mode, return 0 from 'main' unless
1837 DEFAULT_MAIN_RETURN is otherwise defined.
1839 * c-decl.c (store_parm_decls): In C99 mode, pedwarn for function
1840 parameters defaulting to int in an old-style function definition.
1842 2000-07-27 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1844 * c-parse.in (string): For -Wtraditional, warn about string
1845 concatenation only once per line.
1847 Thu Jul 27 09:25:17 2000 Akiko Matsushita <matusita@sra.co.jp>
1849 * pa/x-pa-hpux: Add -D_HIUX_SOURCE to FIXPROTO_DEFINES
1850 for HI-UX/WE2 systems.
1852 2000-07-24 Bruce Korb <bkorb@gnu.org>
1854 * fixincl/fixfixes.c(emit_gnu_type): rewrote to *rely* on GCC
1855 defining the __xxx_TYPE__ macros.
1856 * fixincl/fixincl.tpl(gnu_type_map): now obsolete
1857 * fixincl/fixlib.h: don't need to include "tm.h" anymore
1858 * fixincl/inclhack.def(type_map): now obsolete
1860 Thu Jul 27 11:54:17 2000 Andrew Cagney <cagney@b1.cygnus.com>
1862 * cpp.texi: Append a trailing full-stop to xrefs where needed.
1864 2000-07-26 Dave Pitts <dpitts@cozx.com>
1866 * i370.c: Remove LONGEXTERNAL ifdef from alias_number. Added hash
1868 (mvs_hash_alias): New function.
1869 (mvs_add_alias): Change argument spacing.
1870 (mvs_need_alias): Change aliasing criteria. Added documentation.
1871 (mvs_get_alias): Change to use hashed name. The hashed name prevents
1872 CSECT name collisions.
1873 (mvs_check_alias): Likewise.
1874 (handle_pragma): Change documentation.
1875 * i370.md (mulsi3, divsi3, udivsi3, modsi3, umodsi3): Changed gen_rtx
1876 mode from SImode to DImode.
1877 (iorhi3): Changed LTORG size for insn.
1879 Wed Jul 26 19:44:05 2000 Hans-Peter Nilsson <hp@axis.com>
1881 * reload.c (find_reloads_toplev): Reload a paradoxical subreg of a
1882 mem if the address is a mode_dependent_address_p.
1884 2000-07-26 Kazu Hirata <kazu@hxi.com>
1886 * h8300.c (print_operand): Print ":8" when the 'R' operand is
1887 suitable for 8-bit absolute.
1888 * h8300.h (EIGHTBIT_CONSTANT_ADDRESS_P): New.
1889 (OK_FOR_U): Add a case for the 8-bit constant address on the
1892 Wed Jul 26 19:26:21 2000 Hans-Peter Nilsson <hp@axis.com>
1894 * varasm.c (assemble_variable) [! defined(ASM_OUTPUT_ALIGNED_COMMON)
1895 && ! defined (ASM_OUTPUT_ALIGNED_BSS]): Also test
1896 ! defined(ASM_OUTPUT_ALIGNED_DECL_COMMON) before complaining about
1897 lack of implemented alignment.
1899 2000-07-26 Geoffrey Keating <geoffk@cygnus.com>
1901 * emit-rtl.c (gen_lowpart_common) [REAL_ARITHMETIC]: Handle
1902 cross-compiling between 64-bit and 32-bit machines.
1904 2000-07-27 Richard Henderson <rth@cygnus.com>
1906 * config/ia64/ia64.md (movqicc_astep, movqi_internal_astep): New.
1907 (movhicc_astep, movhi_internal_astep): New.
1908 (movsicc_astep, movsi_internal_astep): New.
1909 (movdicc_astep, movdi_internal_astep): New.
1910 (movsfcc_astep, movsf_internal_astep): New.
1911 (movdfcc_astep, movdf_internal_astep): New.
1912 (movxfcc_astep, movxf_internal_astep): New.
1913 (cmovdi_internal_astep, cmovsi_internal_astep): New.
1914 Unify the cmov[ds]i splitters.
1916 2000-07-27 Rodney Brown <RodneyBrown@pmsc.com>
1918 * real.c (asctoeg): Rename `error' label to unexpected_char_error
1920 2000-07-26 Nick Clifton <nickc@cygnus.com>
1922 * config/arm/vxarm.h (CPP_PREDEFINES): Remove definition of
1923 __arm__. Allow it to be defined by CPP_ISA_SPEC in arm.h
1925 * dwarf2out.c (dwarf2out_frame_debug_expr): Accept SEQUENCE as
1926 well as PARALLEL blocks in FRAME_RELATED_EXPR notes.
1928 2000-07-26 Alexandre Oliva <aoliva@redhat.com>
1930 * c-decl.c (finish_enum): Convert enumerations that fit in an
1932 (build_enumerator): In pedantic mode, cast to `int' those that
1935 2000-07-25 Rodney Brown <RodneyBrown@pmsc.com>
1937 * config/alpha/osf.h (SIZE_TYPE, PTRDIFF_TYPE): New.
1939 Tue Jul 25 23:08:33 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
1941 * sh.md (cmpgtdi_t): Must be split.
1942 (cmpgtdi_t+1): New splitter.
1944 2000-07-25 Zack Weinberg <zack@wolery.cumb.org>
1946 * cpplib.c (_cpp_check_directive): Issue -Wtraditional
1947 warnings for indented directives even if we are skipping.
1949 2000-07-25 Nathan Sidwell <nathan@codesourcery.com>
1951 * invoke.texi (strict-prototypes): Remove.
1952 * extend.texi (Deprecated Features): Add strict-prototypes.
1953 (Backwards Compatibility): New node.
1955 2000-07-25 Jakub Jelinek <jakub@redhat.com>
1957 * config/i386/i386.md (andsi_1+1): Allow HImode.
1958 (andsi_1+2): Require q_regs_operand.
1960 2000-07-25 Jakub Jelinek <jakub@redhat.com>
1962 * config/i386/i386.md (call_pop): Check operands[0],
1963 not operands[1]. Only check SYMBOL_REF_FLAG for a SYMBOL_REF.
1965 (call_value_pop): Only check SYMBOL_REF_FLAG for a SYMBOL_REF.
1966 (call_value): Likewise.
1968 2000-07-25 Zack Weinberg <zack@wolery.cumb.org>
1970 * toplev.c (pipe_closed): Delete.
1971 (crash_signal): New. Generate ICE for a fatal signal.
1972 (float_signal): Call crash_signal outside a float-handler
1974 (main): Install crash_signal as handler for core-dumping signals.
1976 2000-07-25 David Edelsohn <edelsohn@gnu.org>
1978 * rs6000.c (print_operand, case 'T'): New case.
1980 * rs6000.md (call_indirect_aix32): Convert to expander of
1981 scheduled instructions.
1982 (call_indirect_aix64): Likewise.
1983 (call_value_indirect_aix{32,64}): Likewise.
1984 (call, call_value): Invoke expanders for AIX. Fall through to
1986 (call_indirect_nonlocal_aix{32,64}): New patterns (ctr and lr).
1987 (call_value_indirect_nonlocal_aix{32,64}): New patterns.
1988 (call_nonlocal_aix32): Remove CALL_LONG alternative. Operand 1
1989 only "g" constraint.
1990 (call_nonlocal_aix64): Likewise.
1991 (call_value_nonlocal_aix{32,64}): Likewise.
1992 (call_nonlocal_sysv): New pattern for ctr, lr, and symbolic
1994 (call_value_nonlocal_sysv): New pattern.
1995 (indirect_jump{si,di}): Use new 'T' modifier.
1996 (tablejump{si,di} matchers): Likewise.
1997 (return_internal_{si,di}): Likewise.
1998 (return_eh_{si,di}): Likewise.
2000 2000-07-24 Richard Henderson <rth@cygnus.com>
2002 * config/ia64/ia64.c (ia64_print_operand): Handle "%,".
2003 * config/ia64/ia64.h (PRINT_OPERAND_PUNCT_VALID_P): Likewise.
2004 * config/ia64/ia64.md (movdi_internal): Use it.
2006 2000-07-24 Zack Weinberg <zack@wolery.cumb.org>
2008 * cppexp.c: Warn about unary + if -Wtraditional.
2009 * cpplex.c (lex_line): Always set BOL on the first token of a line.
2011 2000-07-24 Michael Meissner <meissner@redhat.com>
2013 * d30v.h (FUNCTION_ARG_KEEP_AS_REFERENCE): Delete references to
2016 2000-07-24 Nick Clifton <nickc@cygnus.com>
2018 * config/arm/arm.c (emit_multi_reg_push): Generate a
2019 REG_FRAME_RELEATED_NOTE that is compatable with the code in
2020 dwarf2out_debug_frame_expr.
2022 2000-07-24 Jason Merrill <jason@redhat.com>
2024 * dwarf2out.c: Complain if DWARF2_DEBUGGING_INFO is defined without
2025 UNALIGNED_INT_ASM_OP.
2026 (def_cfa_1): Don't emit def_cfa_register or def_cfa_offset to adjust
2027 a location expression.
2028 (dwarf2out_frame_debug_expr): Lose cfa_old_reg stuff. Don't
2029 assume indirect access if we're saving the CFA address exactly.
2031 * Makefile.in (bootstrap): Move -BstageN/ to the end.
2033 2000-07-24 Jakub Jelinek <jakub@redhat.com>
2035 * tradcpp.c (main): Update max_include_len for cpp_include_defaults
2038 2000-07-24 Michael Meissner <meissner@redhat.com>
2040 * invoke.texi (D30V Options): Add d30v options.
2042 Mon Jul 24 02:04:52 2000 Jeffrey A Law (law@cygnus.com)
2044 * gcse.c (alloc_pre_mem): Do not alloc TRANSPOUT, it is not
2045 needed by our gcse pass anymore.
2046 (free_pre_mem): Corresponding changes.
2047 (compute_pre_data): Do not call compute_transpout anymore.
2049 * gcse.c (alloc_avail_expr_mem): Kill unused 'u_bitmap'.
2050 (free_avail_expr_mem, alloc_pre_mem, free_pre_mem): Corresponding
2053 * gcse.c (free_pre_mem): Do not free ANTLOC and AE_KILL here.
2054 (compute_pre_data): Do it here instead.
2056 * gcse.c (alloc_pre_mem, free_pre_mem): Delete unused bitmap
2058 (pre_delete): Corresponding changes.
2060 2000-07-23 Mark Mitchell <mark@codesourcery.com>
2062 * c-semantics.c (make_rtl_for_local_static): Use TREE_ASM_WRITTEN
2063 to figure out whether or not a variable has already been emitted.
2065 Sun Jul 23 14:49:12 2000 Jason Eckhardt <jle@cygnus.com>
2067 * config/i860/i860.md (untyped_call expander): Use GEN_CALL
2068 instead of gen_call.
2070 Sun Jul 23 11:52:03 2000 George Helffrich (george@gly.bris.ac.uk)
2072 * dbxout.c (dbxout_type, case COMPLEX_TYPE): Fix length field in stab.
2074 2000-07-23 Kazu Hirata <kazu@hxi.com>
2076 * h8300.c: Fix formatting.
2078 2000-07-23 Joseph S. Myers <jsm28@cam.ac.uk>
2080 * c-typeck.c (c_expand_start_case): Change -Wtraditional pedwarn
2081 for `long' switch expression into a plain warning.
2083 * c-lex.c (init_lex): Keep the "inline" keyword in C99 mode.
2084 (yylex): Don't pedwarn for "inline" in C99 mode.
2086 * bitmap.c (debug_bitmap_file): Cast pointers to PTR for printing
2088 * ggc-page.c (debug_print_page_list, alloc_page, free_page,
2089 ggc_alloc): Likewise.
2090 * bb-reorder.c (dump_scope_forest_1): Likewise.
2092 2000-07-22 Aldy Hernandez <aldyh@redhat.com>
2094 * reload.c (find_reloads_toplev): Add new parameter
2096 (find_reloads): Add new parameter to find_reloads_toplev calls.
2098 2000-07-22 Jeffrey Oldham <oldham@codesourcery.com>
2100 * collect2.c (main): Typo fixed.
2101 * diagnostic.c: Typo fixed.
2102 * dwarf2out.c (dwarf2out_frame_debug_expr): Typo fixed.
2103 * eh-common.h: Typo fixed.
2104 * emit-rtl.c (start_sequence): Typo fixed.
2105 * flow.c (find_label_refs): Typo fixed.
2106 (calculate_global_regs_live): Typo fixed.
2107 (mark_regno_cond_dead): Typo fixed.
2108 (create_edge_list): Typos fixed.
2109 (verify_edge_list): Typo fixed.
2110 * ggc-common.c (ggc_mark_rtx_children): Typo fixed.
2111 * loop.c (strength_reduce): Typo in function name fixed.
2112 * rtl.h: Added comments. Typo in function name fixed.
2113 * rtlanal.c: Typo in function name fixed.
2114 (insn_dependant_p): Rename to ...
2115 (insn_dependent_p): ... this.
2116 (computed_jumo_p): Typo fixed.
2118 2000-07-22 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2120 * system.h (__FUNCTION__): Wrap definition in #ifndef.
2122 2000-07-21 David Edelsohn <edelsohn@gnu.org>
2124 * rs6000.h (SIZE_TYPE): Define.
2126 2000-07-21 Mark Mitchell <mark@codesourcery.com>
2128 * ssa.c (rename_insn_1): Don't rename registers that are
2131 2000-07-21 Zack Weinberg <zack@wolery.cumb.org>
2133 * diagnostic.c (trim_filename, fancy_abort): Moved here from
2135 (fatal_function, set_fatal_function): Removed.
2136 (fatal): Don't prepare for or call the fatal_function.
2137 (diagnostic_lock, error_recursion): New.
2138 (diagnostic_for_decl, report_diagnostic): Guard against
2139 re-entering the error reporting routines.
2140 (fancy_abort): Assume function is not NULL.
2142 * errors.c (fancy_abort): New. Assume function is not NULL.
2143 * tradcpp.c (fancy_abort): Assume function is not NULL.
2145 * system.h: Provide default definition of __FUNCTION__.
2146 * rtl.h: Use __FUNCTION__ not __PRETTY_FUNCTION__ throughout.
2147 Always use __FUNCTION__ in definition of abort.
2149 * varray.h: Likewise.
2150 * toplev.h: Likewise. Don't prototype set_fatal_function.
2152 2000-07-20 Geoff Keating <geoffk@cygnus.com>
2154 * config/rs6000/aix43.h (CPP_SPEC): Define __LONG_MAX__ correctly
2156 * glimits.h: Don't do #if defined for ARCH_PPC.
2158 * config/rs6000/rs6000.h (ASM_OUTPUT_SPECIAL_POOL_ENTRY_P): All
2159 constants of size no larger than a pointer should go in the TOC.
2160 Add 'MODE' parameter.
2161 (LEGITIMIZE_RELOAD_ADDRESS): Add MODE parameter to
2162 ASM_OUTPUT_SPECIAL_POOL_ENTRY_P.
2163 (ASM_OUTPUT_SPECIAL_POOL_ENTRY): Likewise.
2164 * config/rs6000/aix.h (SELECT_RTX_SECTION): Likewise.
2165 * config/rs6000/netware.h (SELECT_RTX_SECTION): Likewise.
2166 * config/rs6000/rs6000.c (constant_pool_expr_1): Likewise.
2167 (rs6000_legitimize_address): Likewise.
2168 (rs6000_emit_move): Likewise.
2169 (rs6000_select_rtx_section): Likewise.
2170 (output_toc): Deal properly with outputting small constants like
2171 HImode, and SFmode in 32-bit mode, and DFmode in 64-bit mode.
2172 * config/rs6000/sysv4.h (ASM_OUTPUT_SPECIAL_POOL_ENTRY_P): Add
2173 MODE parameter. Put small constants in the TOC.
2175 * config/rs6000/rs6000.c (easy_fp_constant_p): All constants are
2177 (rs6000_emit_move): When reload calls us with an illegitimate
2178 address, exit early. Move the change_address calls to one place
2179 at the end of the routine. Merge the SImode and DImode expanders.
2180 When called by reload to put an integer into a FP register, force
2183 * config/rs6000/rs6000.c (struct toc_hash_struct): Add 'key_mode'
2185 (rs6000_hash_constant): Hash mode too.
2186 (toc_hash_function): Allow for key_mode.
2187 (toc_hash_eq): Structures are different if key_mode differs.
2188 (output_toc): Add 'mode' parameter. Save key_mode.
2189 * config/rs6000/rs6000.h (ASM_OUTPUT_SPECIAL_POOL_ENTRY):
2190 Pass 'mode' parameter.
2191 * config/rs6000/rs6000-protos.h (output_toc): Add 'mode' param.
2193 * config/rs6000/rs6000.c (output_toc): Use RS6000_OUTPUT_BASENAME
2194 for vtable references.
2196 * config/rs6000/rs6000.h (PREFERRED_RELOAD_CLASS): If we have a
2197 choice, don't put integer values in FP regs.
2199 Thu Jul 20 18:13:52 2000 Jeffrey A Law (law@cygnus.com)
2201 * flow.c (verify_flow_info): Revamp code to verify that the
2202 head and end of each basic block are in the insn chain.
2204 Thu Jul 20 18:02:35 2000 Michael Matz <matzmich@cs.tu-berlin.de>
2206 * gcse.c (record_one_set): Prepend instead of append onto
2207 reg_set_table, making it O(n) instead O(n^2).
2208 * lcm.c (compute_antinout_edge,compute_laterin,compute_available):
2209 Use a queue instead of a stack as worklist.
2211 2000-07-20 Kazu Hirata <kazu@hxi.com>
2213 * h8300.c (two_insn_adds_subs_operand): Fix a typo.
2214 * h8300.h (OK_FOR_T): New.
2215 (EXTRA_CONSTRAINT): Support OK_FOR_T.
2216 * h8300.md: Use inc/dec.[wl] for increment/decrement
2217 by 1 and 2 in HI and SI modes.
2219 2000-07-20 Jim Wilson <wilson@cygnus.com>
2221 * config/ia64/ia64.h (ASM_OUTPUT_MI_THUNK): Handle DELTA values
2222 larger than 14 bits.
2224 2000-07-20 Zack Weinberg <zack@wolery.cumb.org>
2226 * cppmacro.c (CAN_PASTE_AFTER): New macro.
2227 (count_params): Don't set GNU_REST_ARGS on anything.
2228 (save_expansion): Set PASTE_LEFT only on tokens for which
2229 CAN_PASTE_AFTER is true, or which are named operators.
2231 * cpplex.c (parse_args): Distinguish between a rest argument
2232 given one empty argument, and a rest argument given zero arguments.
2233 (maybe_paste_with_next): Look for VOID_REST tag, and trigger
2234 deletion of previous token based on that.
2235 (get_raw_token): Flatten some control structure.
2237 * cpplib.h (CPP_LAST_EQ): Correct.
2238 (VOID_REST): New token flag.
2239 (GNU_REST_ARGS): Delete.
2241 * tradcpp.c (main): Don't munge -D options.
2242 (make_definition): Bring -D handling in line with cpplib.
2243 (do_define): Strip all leading whitespace from macro definitions.
2245 2000-07-20 David Billinghurst <David.Billinghurst@riotinto.com.au>
2247 * Makefile.in (tradcpp): Depend on intl.o and version.o.
2249 2000-07-20 Bruce Korb <bkorb@gnu.org>
2251 * fixincl/check.tpl: strip the platform specific types before testing
2252 * fixincl/fixfixes.c(gnu_type_fix): use platform specific types
2253 * fixincl/fixincl.tpl: use platform specific types
2254 * fixincl/fixlib.h: include the platform specific types
2255 * fixincl/inclhack.def(gnu_types): don't supply the types
2256 * fixincl/fixincl.x: regen
2258 2000-07-19 Jim Wilson <wilson@cygnus.com>
2260 * config/ia64/ia64.h (HARD_REGNO_MODE_OK): Don't allow XFmode in
2263 2000-07-19 Zack Weinberg <zack@wolery.cumb.org>
2265 * tradcpp.c (rescan): Do not recognize directives when the #
2268 2000-07-19 Zack Weinberg <zack@wolery.cumb.org>
2270 Implement C++ named operators.
2272 * cpplib.h (TTYPE_TABLE): Move CPP_MIN and CPP_MAX into block
2273 of operators allowed in #if and having an _EQ variant. Add
2274 CPP_MIN_EQ, CPP_MAX_EQ, and CPP_DEFINED.
2275 (cpp_token flags): Add NAMED_OP.
2276 (enum node_type): Add T_OPERATOR.
2277 (struct cpp_hashnode): Add code slot to value union.
2278 * cpphash.h (spec_nodes): Remove n_defined.
2280 * cpplex.c (lex_line): Convert T_OPERATOR nodes to their proper types.
2281 (spell_token, can_paste, maybe_paste_with_next): Handle named operators.
2282 (is_macro_disabled): Tweak error messages.
2284 * cpplib.c (get_define_node): Disallow all named operators as
2285 macro names. Tweak error messages.
2286 (_cpp_init_stacks): Don't set up spec_nodes->n_defined.
2288 * cppinit.c (builtin_array): Add entries for the named operators.
2289 * cppexp.c (lex): Check for CPP_DEFINED token.
2290 (priority table): Add entries for CPP_MIN and CPP_MAX.
2291 (_cpp_parse_expr): Handle CPP_MIN and CPP_MAX.
2293 2000-07-19 Bernd Schmidt <bernds@cygnus.co.uk>
2295 * gcse.c (INSN_CUID): If ENABLE_CHECKING, abort if the uid is
2296 larger than the array of cuids.
2297 (alloc_gcse_mem): Use uid_cuid rather than INSN_CUID when computing
2300 2000-07-19 Bruce Korb <bkorb@gnu.org>
2302 * fixinc/fixincl.c: Convert to using a table of environment variables
2303 and activate the auto-edit marker on the fixed output files.
2304 * fixinc/fixlib.h: Define the environment table
2305 * fixinc/fixincl.sh: export the ${INPUT} dir
2306 * fixinc/check.tpl: likewise
2308 2000-07-18 Zack Weinberg <zack@wolery.cumb.org>
2310 * gcc.c (.h spec): Fix typo.
2312 Wed Jul 19 01:22:15 CEST 2000 Marc Espie <espie@cvs.openbsd.org>
2314 * Makefile.in: Fix tradcif.c path.
2316 2000-07-18 Zack Weinberg <zack@wolery.cumb.org>
2318 * cpplib.h (TTYPE_TABLE): Rearrange to use only two per-entry
2321 * cpphash.h (TOKEN_NAME): New macro.
2322 (_cpp_spell_operator): Deleted.
2323 (token_spellings): Now _cpp_token_spellings.
2325 * cppexp.c: Use TOKEN_NAME or TYPE_NAME, not _cpp_spell_operator.
2326 * cpplex.c: Use OP and TK macros when expanding the
2327 TTYPE_TABLE. Eliminate token_names. For non-OPERATOR tokens,
2328 store the stringification of the enumeration name (CPP_CHAR,
2329 etc.) in the name slot of token_spellings.
2330 Use TOKEN_NAME and/or TOKEN_SPELL, do not reference
2331 token_spellings directly.
2332 * cpplib.c: Use TOKEN_SPELL.
2334 * cpplex.c (_cpp_push_token): If the token being pushed back
2335 is the previous token in this context, just subtract one from
2337 * cppmacro.c (save_expansion): Clear aux field when storing a
2340 2000-07-18 Jakub Jelinek <jakub@redhat.com>
2342 * cpplex.c (cpp_scan_buffer): Output line command even at the stop
2343 buffer, provided it is not NULL.
2345 2000-07-18 Alexandre Oliva <aoliva@redhat.com>
2347 * c-decl.c (duplicate_decls): Do not call make_var_volatile() in
2348 case of invalid volatile re-declaration.
2350 2000-07-18 Jakub Jelinek <jakub@redhat.com>
2352 * calls.c (store_arg): Return non-zero if sibcall_failure is desired.
2353 (expand_call): Adjust caller.
2355 2000-07-17 Gabriel Dos Reis <gdr@codesourcery.com>
2357 * diagnostic.h (report_diagnostic): Change prototype.
2359 * diagnostic.c (output_do_verbatim, diagnostic_for_asm,
2360 diagnostic_for_decl): Change prototype.
2361 (error_with_decl, warning_with_decl, pedwarn_with_decl, warning,
2362 error, warning, error_with_file_and_line,
2363 warning_with_file_and_line, pedwarn_with_file_and_line, fatal):
2364 Adjust call to report_diagnostic, diagnostic_for_decl.
2365 (error_for_asm, warning_for_asm): Adjust call to diagnostic_for_asm.
2366 (output_verbatim, verbatim): Adjust call to output_do_verbatim.
2368 * c-errors.c (pedwarn_c99): Adjust call to report_diagnostic. End
2369 varaible argument list.
2371 2000-07-17 Zack Weinberg <zack@wolery.cumb.org>
2373 * cpphash.c: Don't include hashtab.h. Most macro-handling code
2374 moved to cppmacro.c.
2375 (hash_HASHNODE, eq_HASHNODE, _cpp_dump_macro_hash,
2376 dump_hash_helper): Delete.
2377 (expand_hash, higher_prime_number, _cpp_lookup_with_hash,
2378 cpp_forall_identifiers): New. Implement specialized version of
2379 Vlad's expandable hash table.
2380 (cpp_lookup): Use new functions.
2381 (_cpp_init_macros, _cpp_cleanup_macros): Adjust for new
2383 * cppmacro.c: New file.
2384 * cppinit.c (dump_macros_helper): New.
2385 (cpp_finish): Iterate over the identifier table directly.
2386 * cpplex.c (parse_name): Calculate the hash of the identifier
2387 while we scan it. Use _cpp_lookup_with_hash when we can.
2389 * cpphash.h: Update prototypes.
2390 (xcnewvec, HASHSTEP): New helper macros.
2391 * cpplib.h: Update prototypes.
2392 * Makefile.in (LIBCPP_OBJS): Add cppmacro.o.
2393 (cppmacro.o): New rule.
2394 (cpphash.o): Update deps.
2396 * cppmain.c: Do not set pfile->printer if no_output is on.
2398 2000-07-15 Neil Booth <neilb@earthling.net>
2400 * cpplib.c: Change all directive-handler functions to return
2402 * cpphash.h: Update typedefs.
2404 2000-07-17 Geoffrey Keating <geoffk@cygnus.com>
2406 * configure: Regenerate.
2408 * extend.texi (Extended Asm): Mention that a memory clobber
2409 does not count as a side-effect.
2411 * unroll.c (copy_loop_body): Fix one instance of using host
2412 arithmetic on the target; fixes loop-4 on a 32-bit -> 64-bit
2415 * tlink.c (scan_linker_output): Tweak for output of AIX ld.
2417 2000-07-17 Richard Henderson <rth@cygnus.com>
2419 * config/ia64/ia64.md (movdi): Split out load address code.
2420 New post-reload splitter for symbolic operands.
2421 (movdi_internal): Abort if we didn't split symbolic operands
2422 when we should have.
2423 * config/ia64/ia64.c (ia64_expand_load_address): New, from movdi bits.
2424 (ia64_reorg): Split insns when not optimizing.
2425 * config/ia64/ia64-protos.h (ia64_expand_load_address): Declare.
2427 Mon Jul 17 23:43:26 MET DST 2000 Jan Hubicka <jh@suse.cz>
2429 * real.h (REAL_VALUE_TO_TARGET_LONG_DOUBLE): Use LONG_DOUBLE_TYPE_SIZE
2430 instead of MAX_LONG_DOUBLE_TYPE_SIZE to decide output format.
2432 2000-07-17 Chandrakala Chavva <cchavva@cygnus.com>
2434 * loop.c (check_dbra_loop) : Changed loop_continue to loop->cont.
2436 2000-07-17 Jason Merrill <jason@redhat.com>
2438 * Makefile.in (clean): Remove libgcc directory.
2440 * configure.in (-Wno-long-long check): Use higher-level macros.
2442 2000-07-17 Zack Weinberg <zack@wolery.cumb.org>
2444 * simplify-rtx.c (simplify_binary_operation): Recognize
2445 (compare (gt[u] (cc) 0) (lt[u] (cc) 0)).
2446 (simplify_ternary_operation): Do not examine MODE_BITSIZE of
2447 a CONST_INT, it will always be zero.
2449 2000-07-17 Chandrakala Chavva <cchavva@cygnus.com>
2451 * loop.c (check_dbra_loop) : Return if more than one condition is
2452 present to control the loop.
2454 Mon Jul 17 08:26:35 2000 Clinton Popetz <cpopetz@cygnus.com>
2456 * mips.c (mips_expand_prologue): Don't calculate the last argument
2457 register unless we need it. When we are calculating this, make
2458 sure FUNCTION_ARG is giving us a REG.
2460 2000-07-17 Stephane Carrez <Stephane.Carrez@worldnet.fr>
2462 * flow.c (libcall_dead_p): Use single_set to verify the insn
2463 has only one set and get for analysis.
2464 (propagate_one_insn): Don't pass the PATTERN of the insn.
2466 2000-07-17 Mark Klein <mklein@dis.com>
2468 * pa.c (emit_hpdiv_const): Update to match new pattern for udivsi3.
2470 2000-07-17 J. David Anglin <dave@hiauly1.hia.nrc.ca>
2472 * Makefile.in (TARGET_GETGROUPS_T): New configuration variable.
2473 * configure.in (TARGET_GETGROUPS_T): Evaluate.
2474 * sys-protos.h (getgroups): Use TARGET_GETGROUPS_T for array type
2475 of second argument of getgroups.
2476 * configure, config.in: Rebuilt.
2478 2000-07-17 Geoffrey Keating <geoffk@cygnus.com>
2480 * simplify-rtx.c (simplify_relational_operation): Two signed
2481 values with equal high words are less/greater than each other if
2482 their low words are less/greater when considered as unsigned.
2484 Mon Jul 17 02:37:06 2000 Marc Espie <espie@openbsd.org>
2486 * configure.in (vax-*-openbsd): Change to new style configuration,
2487 add collect2/float_format information.
2488 * configure: Rebuilt.
2489 * config/vax/openbsd1.h: New.
2490 * config/vax/openbsd.h: New.
2491 * config/vax/t-openbsd: New.
2493 2000-07-17 Chip Salzenberg <chip@valinux.com>
2495 * c-common.c (shorten_compare): Quiet warnings about unsigned
2496 comparisons with zero when they occur in a system header.
2498 2000-07-17 Joseph S. Myers <jsm28@cam.ac.uk>
2500 * invoke.texi (-pedantic): Refer to ISO C instead of ANSI C, and
2501 update to describe current practice.
2503 * glimits.h (LLONG_MIN, LLONG_MAX, ULLONG_MAX): Define for C99.
2505 * contrib.texi, cpp.texi, extend.texi, invoke.texi: Update
2506 references to C9X. Change references to -fstd and -flang-isoc9x
2509 * c-common.c (scan_char_table): Allow "z" length modifiers on
2511 (check_format_info): Use TYPE_DOMAIN on the type matched against
2512 for "z" formats, to retrieve the language size_t rather than the
2515 * c-common.c (check_format_info): Do not make a pedantic objection
2516 to the 'L' length modifier if used with a floating point type
2519 * c-lex.c (yylex): Don't pedwarn for hexadecimal floating point
2520 constants in C99 mode.
2522 2000-07-17 Kazu Hirata <kazu@hxi.com>
2524 * h8300.md: Fix the format of mac.
2525 (movsi_h8300hs): Output a tab after stmac instead of a space.
2527 * h8300.c (two_insn_adds_subs_operand): Improve code for detecting
2528 profitable adds/subs sequences.
2530 * fold-const.c: Fix comment typos.
2532 2000-07-16 Laurynas Biveinis <lauras@softhome.net>
2534 * cppfiles.c (read_name_map): Set map_list_ptr->map_list_map to NULL.
2536 2000-07-16 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2538 * fixinc/fixfixes.c (emit_gnu_type): Avoid string concatenation.
2540 2000-07-16 Neil Booth <NeilB@earthling.net>
2542 * cpplex.c: Update comments.
2543 * README.Portability: Small update.
2545 2000-07-16 Neil Booth <NeilB@earthling.net>
2547 * README.Portability: Small update.
2549 2000-07-15 Richard Henderson <rth@cygnus.com>
2551 * config/ia64/ia64-protos.h (ia64_move_ok): Prototype.
2552 * config/ia64/ia64.c (ia64_move_ok): New function.
2553 * config/ia64/ia64.md (movqi, movqi_internal): Use it.
2554 (movhi, movsi, movdi, movsf, movdf, movxf): Likewise.
2556 2000-07-15 Zack Weinberg <zack@wolery.cumb.org>
2558 * cpphash.c (save_expansion): Clear PREV_WHITE on tokens
2559 immediately following a paste operator.
2560 * cppinit.c (sort_options): New function (only for HOST_EBCDIC).
2561 (cpp_reader_init): Call it, if HOST_EBCDIC.
2562 (cpp_handle_options): Do not sort option list here.
2563 (handle_option): Rename to cpp_handle_option and export.
2564 * cpplex.c (cpp_scan_buffer_nooutput, cpp_scan_buffer): Use
2565 _cpp_get_token directly.
2566 (cpp_scan_line): Return 0 at EOF, 1 otherwise.
2567 * cpplib.c (cpp_push_buffer): Don't set new->lineno to 1.
2568 * cpplib.h: Prototype cpp_handle_option. Update prototype of
2571 2000-07-15 Richard Henderson <rth@cygnus.com>
2573 * fold-const.c (extract_muldiv): Don't optimize past an unsigned
2574 cast around an expression. Tidy other unsigned tests.
2576 2000-07-15 Gabriel Dos Reis <gdr@codesourcery.com>
2578 * diagnostic.c (doing_line_wrapping, line_wrapper_printf, notice,
2579 v_error_with_decl, v_warning_with_decl, v_pedwarn_with_decl): Remove.
2580 (v_message_with_decl): Rename to ...
2581 (format_with_decl): ... this. Tweak
2582 (diagnostic_for_decl): New function.
2583 (fatal_io_error): Use verbatim in lieu of notice.
2584 (announce_function): Use verbatim.
2585 (default_print_error_function): Likewise.
2586 (error_with_decl, warning_with_decl, pedwarn_with_decl): Use new
2589 2000-07-15 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2591 * mips.c (function_arg_pass_by_reference): Don't do automatic
2592 aggregate initialization.
2593 (machine_dependent_reorg): Initialize variable `mode'.
2595 * mips.md (absdi2): Change variable `regno1' to unsigned int.
2596 (reload_indi): Rename loword/hiword to lo_word/hi_word to avoid
2597 conflicts with sys/param.h macro of the same name.
2598 (reload_outdi): Likewise.
2600 2000-07-15 Michael Meissner <meissner@redhat.com>
2602 * fold-const.c (fold): When optimizing FOO++ == CONST into ++FOO
2603 == CONST + INCREMENT, don't overwrite the tree node for FOO++,
2604 create a new node instead.
2606 2000-07-15 Neil Booth <NeilB@earthling.net>
2608 * README.Portability: Correct example about calling a function
2609 through a pointer to function. Format wide paragraphs.
2611 2000-07-15 Michael Meissner <meissner@redhat.com>
2613 * README.Portability: Update integer suffixes and function
2616 2000-07-15 Neil Booth <NeilB@earthling.net>
2618 * README.Portability: Small update.
2620 2000-07-15 Neil Booth <NeilB@earthling.net>
2622 * README.Portability: New file.
2624 Fri Jul 14 18:13:53 2000 Mark P Mitchell <mark@codesourcery.com>
2626 * INSTALL: Give special instructions for building GCC on Irix 6.
2627 * config/mips/x-iris6 (CC): Don't set it.
2630 2000-07-14 Jason Merrill <jason@redhat.com>
2632 * dwarf2out.c (dwarf2out_frame_debug_expr): If we store the CFA
2633 register in the stack and later in another register, use the new
2636 Fri Jul 14 10:25:53 2000 Clinton Popetz <cpopetz@cygnus.com>
2638 * config/mips/mips.md: (absdi2): Handle sign_extend for
2641 2000-07-14 Nathan Sidwell <nathan@codesourcery.com>
2643 * cpplib.c (do_pragma_dependency): Tidy warning messages.
2645 2000-07-14 Zack Weinberg <zack@wolery.cumb.org>
2647 * .cvsignore: Correct typo.
2649 2000-07-13 Mark Mitchell <mark@codesourcery.com>
2651 * .cvsignore: Add generated YACC files.
2652 * objc/.cvsignore: New file.
2654 2000-07-14 Neil Booth <NeilB@earthling.net>
2656 * cpplex.c (adjust_column): New funcion.
2657 (skip_whitespace): Use it.
2658 (skip_block_comment): Use it, and warn about /*/* with
2661 2000-07-14 Neil Booth <NeilB@earthling.net>
2663 * cpphash.c (struct macro_info): Add new members.
2664 (_cpp_free_definition): Delete the macro directly.
2665 (count_params): Return void, with first token of
2666 expansion in struct macro_info on success.
2667 (parse_define): Return int. Hoist syntax checking from
2668 save_macro_expansion. Leave call to save_expansion to
2669 _cpp_create_definition.
2670 (alloc_macro): Needs just 2 arguments.
2671 (free_macro): Delete.
2672 (save_expansion): Don't perform syntax check.
2673 (_cpp_create_definition): Call save_expansion.
2675 2000-07-13 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2677 * genrecog.c (write_header): Split long string.
2679 * cpphash.c (macro_info): Don't use the `signed' keyword.
2681 * system.h (alloca): Prototype if __GNUC__ && __SIZE_TYPE__.
2683 2000-07-13 Jakub Jelinek <jakub@redhat.com>
2685 * calls.c (stored_args_map): New variable.
2686 (check_sibcall_argument_overlap_1): New.
2687 (check_sibcall_argument_overlap): New.
2688 (expand_call): Initialize stored_args_map.
2689 Call check_sibcall_argument_overlap.
2691 2000-07-13 Bruce Korb <bkorb@gnu.org>
2693 * fixinc/fixfixes.c: move EXIT_BROKEN to header, add sub-expr max count
2694 (emit_gnu_type): utility procedure for gnu_type_fix
2695 (gnu_type_fix): implement various pre-processor guards around
2696 standard types so these types can be defined over and over
2697 * fixinc/fixincl.tpl: add a "gnu_type_map" that forces the standard
2698 types alluded to above will have GNU-compliant base types
2699 * fixinc/fixlib.h: add EXIT_BROKEN define and the gnu_type_map struct
2700 * fixinc/inclhack.def: add test_text entries and utilize the new
2701 "gnu_types" fix for the ptrdiff_t, size_t and wchar_t types.
2702 * fixinc/fixincl.x: regenerate
2704 2000-07-12 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
2706 * diagnostic.c (vline_wrapper_message_with_location,
2707 v_message_with_file_and_line, v_error_with_file_and_file,
2708 v_error_for_asm, v_warning_for_asm, vfatal,
2709 v_warning_with_file_and_line, v_pedwarn_with_file_and_line,
2710 vsorry, verror, vwarning, vpedwarn): Remove.
2711 (diagnostic_for_asm): New function.
2712 (pedwarn, error, warning, pedwarn_with_file_and_line,
2713 error_with_file_and_line, warning_with_file_and_line, sorry,
2714 error_for_asm, warning_for_asm, fatal): Reimplement.
2715 (finish_diagnostic): Clear diagnostic info as well.
2717 2000-07-13 Neil Booth <NeilB@earthling.net>
2719 * c-common.h (flag_digraphs): New.
2720 * c-decl.c (c_decode_option): Set flag_digraphs as appropriate.
2721 * c-lex.c (yylex): Use flag_digraphs to decide whether to
2724 2000-07-13 Zack Weinberg <zack@wolery.cumb.org>
2726 * gcc.c (do_spec_1): Add new %B operator.
2727 (set_input): Prepare for %B.
2729 (link_command_spec): Move up with the other tm.h-
2730 overrideable specs. Factor out the portion conditional on
2731 LINK_LIBGCC_SPECIAL into a new spec, %(link_libgcc).
2732 (struct compiler): Just have a single spec string. All users
2734 (default_compilers): Remove unnecessary braces.
2735 (static_specs): Update.
2737 (trad_capable_cpp, cpp_options, cc1_options, asm_options): New
2739 (C and assembly specs): Use the new named specs, as appropriate.
2741 * objc/lang-specs.h: Use the new named specs.
2742 Remove unnecessary braces.
2744 2000-07-12 Zack Weinberg <zack@wolery.cumb.org>
2746 * gcc.c (execute): If a subprocess gets a fatal signal, report
2747 strsignal() of the signal number, and ask for a bug report.
2748 Do not do this for SIGPIPE if there's already been an error.
2750 * tradcpp.c: Don't include signal.h. Don't catch SIGPIPE.
2753 * tradcif.c: Remove.
2755 2000-07-12 Zack Weinberg <zack@wolery.cumb.org>
2757 * final.c (profile_function): Do not emit profile counters in
2758 the data section, if NO_PROFILE_COUNTERS is defined.
2759 * tm.texi: Document NO_PROFILE_COUNTERS. Update doc for
2762 * config/i386/linux.h (NO_PROFILE_COUNTERS): Define.
2763 (FUNCTION_PROFILER): Just emit a call to mcount.
2765 2000-07-12 Zack Weinberg <zack@wolery.cumb.org>
2767 * tradcpp.c (main): Rename 'perror' label to 'sys_error'.
2769 * cppexp.c, cpphash.c, cpphash.h, cppinit.c, cpplex.c,
2770 cpplib.c, cpplib.h: Eradicate all traces of code dependent on
2771 traditional, lang_chill, or lang_fortran.
2773 * cppfiles.c: #undef strcmp to suppress warning about macros
2774 used without arguments.
2775 (_cpp_execute_include): Use f, not fname, in "No include path"
2777 (_cpp_pop_file_buffer): New function.
2778 * cpplib.c: Don't include <sys/mman.h>.
2779 (cpp_push_buffer): Set line_base and lineno in new buffer.
2780 (cpp_pop_buffer): Use _cpp_pop_file_buffer.
2782 * cpplex.c: Move all prototypes and structure declarations to the
2783 top of the file. Properly parenthesise some macro arguments.
2784 (cpp_scan_line): New function.
2785 (special_symbol [case T_INCLUDE_DEPTH]): Use pfile->include_depth,
2786 don't need to walk up the stack counting.
2788 2000-07-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2790 * c-common.c (combine_strings): Emit a pedantic warning when a
2791 string length is greater than the minimum ANSI C is required
2794 Wed Jul 12 13:24:30 2000 Jeffrey A Law (law@cygnus.com)
2796 * pa/xm-pa64.h (NO_SYS_SIGLIST): Kill.
2797 * d30v/xm-d30v.h (NO_SYS_SIGLIST): Kill.
2799 2000-07-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2801 * c-decl.c (define_label): Warn about identifier conflicts with
2802 labels in traditional C.
2804 * c-parse.in (unop +): Warn about the unary plus operator for
2807 * c-typeck.c (store_init_value): Warn about automatic aggregate
2808 initialization for traditional C.
2810 * invoke.texi (-Wtraditional): Document new warnings.
2812 2000-07-12 Gabriel Dos Reis <gdr@codesourcery.com>
2814 * Makefile.in (c-errors.o): Fix thinko in dependency.
2816 2000-07-12 Zack Weinberg <zack@wolery.cumb.org>
2818 * gcc.c (C specs [!USE_CPPLIB]): Invoke tradcpp if any of
2819 -traditional, -ftraditional, or -traditional-cpp was given.
2820 Do not pass -traditional to the preprocessor.
2821 (.S spec): Likewise. Don't bother defining __ASSEMBLER__, the
2822 preprocessor does it automatically.
2823 * objc/lang-specs.h: Likewise. Don't bother defining __OBJC__.
2825 * ch/lang-specs.h: Always use tradcpp. Do not pass
2826 -traditional, -trigraphs, or -pedantic to the preprocessor.
2827 * f/lang-specs.h (.F spec): Likewise. Don't bother defining
2830 2000-07-12 Zack Weinberg <zack@wolery.cumb.org>
2832 * cppexp.c (LOGICAL): Delete macro.
2833 (_cpp_parse_expr): Do not use UNARY for unary +. Implement ||
2836 * cpphash.c (HASHSIZE): Increase to 4096.
2837 (struct hashdummy): Add hash field.
2838 (eq_HASHNODE): Compare unreduced hashes, then lengths, then
2839 the string values using memcmp.
2840 (cpp_lookup): Set dummy.hash.
2842 Wed Jul 12 13:15:16 2000 Marc Espie <espie@openbsd.org>
2844 * configure.in (m88k-openbsd): Express configuration using new fragment
2846 * configure: Rebuilt.
2847 * m88k/aout-dbx.h: New.
2848 * m88k/openbsd.h: New.
2849 * m88k/xm-openbsd.h: New.
2851 2000-07-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2853 * expr.c (expand_expr): Return const0_rtx, not error_mark_node.
2855 2000-07-12 Richard Henderson <rth@cygnus.com>
2857 * reload.c (push_secondary_reload): Make sure to add the new
2858 reload at the end, after acquiring secondary memory.
2860 2000-07-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2862 * cpplex.c (is_macro_disabled): Use CPP_WTRADITIONAL.
2864 * c-decl.c (set_current_function_name_declared, anon_aggr_type_p,
2865 lang_expand_stmt): Mark parameters with ATTRIBUTE_UNUSED.
2867 * c-parse.in (stmt): Delete unused variables.
2869 * convert.c (convert_to_vector): Likewise.
2871 * gensupport.c (process_rtx): Declare attr as `rtvec' not `rtx'.
2873 * tree.c (finish_vector_type): Prototype.
2875 2000-07-12 Bruce Korb <bkorb@gnu.org>
2877 * fixinc/fixfixes.c: use xmalloc
2878 * fixinc/fixincl.c(initialize): set program name for xmalloc
2879 * fixinc/fixlib.c(must_malloc): obsolete
2880 (is_cxx_header): no longer used - disabled
2881 (skip_quote): inserted and disabled for future use
2882 * fixinc/fixlib.h: reflects above
2883 * fixinc/fixtests.c: removed dinkleberries
2885 2000-07-12 Neil Booth <NeilB@earthling.net>
2887 * cpphash.h: (TOKEN_SPELL) Pulled from cpplex.c.
2888 * cpplex.c (TOKEN_SPELL) Move to cpphash.h.
2890 * cpphash.c: (struct macro_info, alloc_macro, free_macro,
2891 struct toklist_dummy): New.
2892 (cpp_free_definition): Free macros with free_macro.
2893 (count_params): Don't save paramter spellings. Save macro
2894 information in a struct macro_info.
2895 (parse_define): Don't allocate a token list.
2896 (save_expansion): Allocate the macro's token list, and
2897 save parameter spellings if necessary. Use TOKEN_SPELL.
2898 (cpp_create_definition): Make list const.
2900 2000-07-12 Gabriel Dos Reis <gdr@codesourcery.com>
2902 * c-typeck.c (pedwarn_c99): Move to
2903 * c-errors.c: ... Here.
2904 * toplev.h (verror, vwarning, vpedwarn): Remove prototypes.
2905 * diagnostic.c (verror, vwarning, vpedwarn): Make static.
2906 * Makefile.in (C_AND_OBJC_OBJS): Include c-errors.o
2907 (c-errors.o): List dependency.
2909 2000-07-12 Mark Mitchell <mark@codesourcery.com>
2911 * c-parse.c: Remove.
2912 * c-parse.h: Likewise.
2913 * c-parse.y: Likewise.
2914 * objc/objc-parse.c: Likewise.
2915 * objc/objc-pasre.y: Likewise.
2917 2000-07-11 Rodney Brown <RodneyBrown@pmsc.com>
2919 * gcc.texi: Fix minor typos
2920 * extend.texi: Fix minor typos
2922 2000-07-11 Marc Espie <espie@openbsd.org>
2924 * collect2.c (main): Recognize .lo as object files.
2926 2000-07-11 J. David Anglin <dave@hiauly1.hia.nrc.ca>
2928 * pa.c (hppa_encode_label): Store labels in gc memory when ggc_p is
2931 * aclocal.m4 (AC_FUNC_MMAP_ANYWHERE): Extend test to detect systems
2932 with MAP_ANONYMOUS and MAP_ANON.
2933 * configure, config.in: Rebuilt.
2935 2000-07-12 Gabriel Dos Reis <gdr@codesourcery.com>
2937 * diagnostic.c (save_output_state): Remove.
2938 (restore_output_state): Likewise.
2939 (clear_text_info): New function.
2940 (clear_diagnostic_info): Likewise.
2941 (output_text_length, is_starting_newline, output_prefix,
2942 line_wrap_cutoff, ideal_line_wrap_cutoff, prefix_was_emitted_for,
2943 prefixing_policy, output_buffer_ptr_to_format_args): New macros
2944 (set_real_maximum_length, output_set_maximum_length,
2945 output_set_prefix, output_get_prefix, output_set_maximum_length,
2946 output_destroy_prefix, init_output_buffer,
2947 reshape_diagnostic_buffer, output_space_left, output_emit_prefix,
2948 output_add_newline, output_add_character, output_add_space,
2949 output_append_r, output_append, wrap_text, output_format,
2950 output_do_printf, output_printf, output_do_verbatim,
2951 output_verbatim, verbatim): Use them.
2952 (output_clear): Split into cleat_text_info and
2953 clear_diagnostic_info.
2954 (struct output_state): Move to...
2956 * diagnostic.h: ...Here
2957 (struct output_buffer): Adjust.
2959 2000-07-11 Zack Weinberg <zack@wolery.cumb.org>
2961 * cpplex.c (parse_name): No longer inline (premature optimization).
2962 (do_pop_context): Fold into pop_context.
2963 (pop_context): Returns int.
2964 (lex_next): Hoist test for end of directive into pop_context.
2965 (push_macro_context): Returns int; takes just reader and token.
2966 Hoist test for excessive nesting to caller.
2967 (push_arg_context): Returns void; takes just reader and token.
2968 Do not call stringify_arg or get_raw_token.
2969 (get_raw_token): Convert tail recursion through push_arg_context
2970 to a loop at this level. Call stringify_arg here if appropriate.
2971 (maybe_paste_with_next): Convert tail recursion to a while loop.
2972 Hoist test of paste_level to caller.
2974 (stringify_arg): Push arg context at beginning.
2975 (cpp_get_token): Split out core into _cpp_get_token. Call
2976 process_directive here. Throw away CPP_PLACEMARKER tokens.
2977 (_cpp_get_token): Convert tail recursion through
2978 push_macro_context to a loop at this level.
2979 (_cpp_glue_header_name, is_macro_disabled, stringify_arg,
2980 _cpp_get_raw_token): Use _cpp_get_token.
2981 (_cpp_skip_rest_of_line): Drop the context stack directly; do
2982 not call pop_context.
2983 (_cpp_run_directive): Call lex_next directly.
2985 * cpphash.h: Prototype _cpp_get_token.
2986 * cppexp.c (lex): Use it.
2987 * cpphash.c (parse_define): Use it.
2988 * cpplib.c (get_define_node, do_undef, parse_include,
2989 read_line_number, do_line, do_ident, do_pragma, do_pragma_gcc,
2990 do_pragma_implementation, do_pragma_poison, do_pragma_dependency,
2991 parse_ifdef, validate_else): Use it.
2992 (cpp_push_buffer): Tweak error message; abort if anyone tries
2993 to push a buffer while macro expansions are stacked.
2995 2000-07-11 Donn Terry <donnte@microsoft.com>
2997 * cpplex.c (free_macro_args, save_token): Cast arg of free
2998 and/or xrealloc to PTR.
2999 (_cpp_init_input_buffer): Clear all fields of the base context.
3001 Tue Jul 11 15:28:21 CDT 2000 Clinton Popetz <cpopetz@cygnus.com>
3003 * gensupport.c (process_rtx): Make rtl checking stop
3004 complaining about the define_insn while it is being
3005 converted from a define_insn_and_split.
3007 Tue Jul 11 16:26:17 2000 Clinton Popetz <cpopetz@cygnus.com>
3009 * config/mips/mips.c (simple_memory_operand): Access the
3010 INTVAL of the address, not it's containing MEM.
3012 2000-07-11 Bruce Korb <bkorb@gnu.org>
3014 * fixinc/fixtests.c(double_slash): obsolete
3015 (else_endif_label): likewise
3016 * fixinc/inclhack.def(irix_multiline_cmnt): obsolete
3017 (libc1_ifdefd_memx): correct initial comment
3018 and omit the #if/#endif pair from the memxxx declarations
3019 * fixinc/fixincl.x: regen
3021 2000-07-11 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3023 * cpplex.c (T, I, S, C, N): Avoid non-constant initializers.
3025 2000-07-11 Neil Booth <NeilB@earthling.net>
3029 2000-07-11 Neil Booth <NeilB@earthling.net>
3031 * cppinit.c: (cpp_reader_init): Allow digraphs by default.
3032 (handle_option): Set digraphs according to standard.
3033 Merge OPT_lang_c89 handler with OPT_std_c89.
3035 * cpplex.c: (lex_line, can_paste): Honour digraphs in
3036 accordance with the digraphs flag.
3038 * cpplib.h: (struct cpp_options): New option digraphs.
3040 2000-07-10 Hans-Peter Nilsson <hp@axis.com>
3041 Bruce Korb <bkorb@gnu.org>
3043 * fixinc/inclhack.def (libc1_ifdefd_memx): New fix.
3044 * fixinc/fixincl.x: Regenerate.
3045 * fixinc/tests/base/testing.h: Add testcase.
3047 2000-07-10 Richard Henderson <rth@cygnus.com>
3049 * config/ia64/ia64.c (got_symbolic_operand): New.
3050 (symbolic_operand, move_operand): Revert 0701 change.
3051 * config/ia64/ia64.h (PREDICATE_CODES): Update.
3052 * config/ia64/ia64-protos.h (got_symbolic_operand): Declare.
3053 * config/ia64/ia64.md (movdi): Revert 0701 wrt symbolic_operand;
3054 split the offset into a 14-bit low part instead of a 13-bit low part.
3055 (load_fptr): Mark the mem as unchanging.
3056 (load_symptr): Use got_symbolic_operand.
3058 2000-07-10 Nick Clifton <nickc@cygnus.com>
3060 * libgcc2.c (next_stack_level): Cast result of computation to
3061 (void **) so that the assignment does not generate a warning.
3063 2000-07-10 Chandrakala Chavva <cchavva@redhat.com>
3065 * flags.h : Add new variable flag_single_precision_constant.
3066 * toplev.c (display_help) : Add -fsingle-precision-constant option.
3067 (flag_single_precision_constant): New.
3068 * c-lex.c (yylex): Convert floating point constant to single
3070 * invoke.texi : Add documentation for this new option.
3072 2000-07-10 Gabriel Dos Reis <gdr@codesourcery.com>
3074 * diagnostic.c (output_octal): Second parameter is unsigned.
3075 (output_long_octal): Likewise.
3076 (output_hexadecimal): Likewise.
3077 (output_long_hexadecimal): Likewise.
3078 (output_format): Adjust arguments extraction. Tweak.
3079 (output_verbatim, verbatim): End variable argument list.
3080 (report_diagnostic): Improve documentation.
3082 2000-07-10 Benjamin Chelf <chelf@codesourcery.com>
3084 * c-common.h (build_stmt): Declare.
3085 (build_continue_stmt): Likewise.
3086 (build_break_stmt): Likewise.
3087 (build_return_stmt): Likewise.
3089 * c-decl.c (do_case): Rewrite to do what previously done in
3092 * c-semantics.c (build_stmt): Define.
3093 (build_return_stmt): Likewise.
3094 (build_break_stmt): Likewise.
3095 (build_continue_stmt): Likewise.
3096 (build_case_label): Likewise.
3098 * c-parse.in (BREAK): Change to build tree, then generate RTL.
3099 (CONTINUE): Likewise.
3102 (DEFAULT): Likewise.
3104 * c-parse.y: Regenerate.
3105 * c-pasre.c: Likewise.
3107 2000-07-09 Jason Merrill <jason@redhat.com>
3109 * expr.c (expand_expr): Bail earlier if we get an error_mark_node.
3111 * tree.h (STRIP_NOPS): Check for error_mark_node.
3112 (STRIP_SIGN_NOPS, STRIP_TYPE_NOPS): Likewise.
3113 (dwarf2out_*): Remove duplicate declarations.
3115 * c-decl.c (duplicate_decls): Copy DECL_ABSTRACT_ORIGIN from
3116 DECL_ABSTRACT_ORIGIN, not DECL_ORIGIN.
3118 2000-07-10 Gabriel Dos Reis <gdr@codesourcery.com>
3120 * diagnostic.c (wrap_text): New function.
3121 (maybe_wrap_text): Likewise.
3122 (output_add_string): Use it.
3123 (output_format): Likewise.
3124 (count_error): Use verbatim instead of notice.
3125 (report_error_function): Likewise. Don't use plain fprintf.
3126 (finish_diagnostic): New function.
3127 (output_do_verbatim): Tweak. Commonalize functionalities in
3128 output_verbatim and verbatim.
3129 (output_verbatim): Adjust.
3130 (verbatim): Likewise.
3131 (report_diagnostic): Define.
3133 * diagnostic.h (report_diagnostic): Prototype.
3135 2000-07-09 Zack Weinberg <zack@wolery.cumb.org>
3137 * cppexp.c (_cpp_parse_expr): Don't use unary plus.
3139 2000-07-09 Neil Booth <NeilB@earthling.net>
3141 * cpphash.h: ISvspace, is_vspace, is_nvspace: New.
3142 IShspace, ISspace: Update.
3144 * cppinit.c: ISTABLE: Update.
3147 * cpplex.c (IS_HSPACE, S_NEWLINE): Remove.
3148 (IS_DIRECTIVE): Rename KNOWN_DIRECTIVE.
3149 (skip_block_comment, skip_line_comment, parse_string,
3150 lex_line): Use is_vspace rather than IS_NEWLINE.
3151 (skip_whitespace, lex_line): Clean up to use is_nvspace.
3152 (lex_line): Use KNOWN_DIRECTIVE. Any kind of directive
3154 (lex_next): Unconditionally stop if within a directive.
3155 Treat directives within macro invocations as directives
3156 (after parse_args emits error), not as the argument.
3158 2000-07-09 Gabriel Dos Reis <gdr@codesourcery.com>
3160 * diagnostic.c (diagnostic_args): New macro.
3161 (diagnostic_msg): Likewise.
3162 (output_formatted_integer): Likewise.
3163 (output_state): New data type.
3164 (digit_buffer): Make global.
3165 (output_add_integer): Rename to output_decimal. Squeeze
3167 (output_long_decimal, output_unsigned_decimal,
3168 output_long_unsigned_decimal, output_octal, output_long_octal,
3169 output_hexadecimal, output_long_hexadecimal): New functions.
3170 (output_append_r): New function.
3171 (output_append): Tweak.
3172 (output_flush_on): Rename to output_to_stream.
3173 (output_format): Change prototype. Improve documentation. Handle
3174 more format specifiers.
3175 (build_location_prefix): Rename to context_as_prefix.
3176 (output_notice): Rename to output_do_printf.
3177 (output_printf): Tweak.
3178 (line_wrapper_printf): Likewise.
3179 (vline_wrapper_message_with_location): Adjust call to renamed
3181 (v_message_with_decl): Likewise.
3182 (default_print_error_function): Likewise.
3183 (save_output_state): New function.
3184 (restore_output_state): Likewise.
3185 (output_do_verbatim): Likewise.
3186 (output_verbatim): Define.
3187 (verbatim): Likewise.
3189 * diagnostic.h (printer_fn): Change return type from void to int.
3190 Improve documentation.
3191 (output_add_integer): Rename to output_decimal.
3192 (output_flush_on, output_format): Don't export.
3193 (output_verbatim, verbatim): Declare.
3195 2000-07-08 Toon Moene <toon@moene.indiv.nluug.nl>
3197 * fold-const.c (extract_muldiv) case PLUS_EXPR, MINUS_EXPR:
3198 Check whether c divides op1 exactly if operation is not
3201 2000-07-08 Richard Henderson <rth@cygnus.com>
3203 * final.c (final): Do not abort when reg-stack introduces
3206 2000-07-08 Zack Weinberg <zack@wolery.cumb.org>
3208 * cpplib.h (struct cpp_name): Now struct cpp_string.
3209 (CPP_INT, CPP_FLOAT, CPP_NUMBER, CPP_COMMENT,
3210 CPP_HEADER_NAME): Change to type S.
3211 (struct cpp_token): Rename 'name' field to 'str'. Add 'node'
3212 field, a cpp_hashnode *. All references to val.name updated
3213 to use val.str or val.node as appropriate.
3214 (struct cpp_reader): Add spec_nodes field.
3215 (cpp_idcmp): Now cpp_ideq; takes a token * and a char *.
3217 * cpphash.h (struct spec_nodes): New.
3218 (enum spell_type): Reorder. Only SPELL_STRING tokens use
3219 val.str. All references to 'spelling > SPELL_NONE' updated to
3222 (CPP_IN_SYSTEM_HEADER): Check pfile->buffer and
3223 pfile->buffer->inc are not NULL before dereferencing them.
3225 * cpplex.c (parse_name): Take a pointer to the current token,
3226 plus current position and limit as args; return the new
3227 position; don't copy the text of a name into the string
3228 buffer, instead call cpp_lookup and store the node pointer.
3229 If extending a token, copy out the text of the old into a
3230 scratch buffer, append the new, look that up and store the new
3231 node pointer. Inline.
3232 (maybe_paste_with_next): If the result of paste is a NAME,
3233 then look up the pasted text and store its node pointer.
3234 (lex_line): Adjust for new parse_name interface.
3235 Check for L"str", L'str' using spec_nodes->n_L.
3236 (spell_token): SPELL_IDENT tokens have their spelling in
3237 val.node->name. Handle SPELL_STRING tokens that don't have
3239 (_cpp_expand_name_space,
3240 (can_paste): Check for L ## "str" using spec_nodes->n_L.
3241 (cpp_get_token, special_symbol): No need to call cpp_lookup.
3242 (cpp_idcmp): Now cpp_ideq; take a token * and a const char *;
3243 return 1=equal 0=not, not a tristate.
3245 * cpphash.c (var_args_str): Delete.
3246 (find_param): Compare node fields directly.
3247 (is__va_args__): Use CPP_PEDANTIC. Just compare
3248 token->val.node with spec_nodes->n__VA_ARGS__.
3249 (dump_funlike_macro): Don't use var_args_str.
3251 * cpplib.c (_cpp_check_directive): Just walk through
3252 spec_nodes->dirs comparing pointers.
3253 (get_define_node, do_pragma_poison, detect_if_not_defined,
3254 parse_ifdef): The identifier has already been looked up.
3255 (do_ifdef, do_ifndef): parse_ifdef won't return a poisoned
3257 (do_if): Only call detect_if_not_defined at beginning of file.
3258 (_cpp_parse_assertion): Only copy string pointers for
3259 SPELL_STRING tokens.
3260 (pragma_dispatch): Take a node pointer and examine its name
3262 (_cpp_init_stacks): Also initialize the spec_nodes structure.
3264 * cppinit.c (cpp_reader_init): Call _cpp_init_stacks after
3266 (cpp_cleanup): Free pfile->spec_nodes. Call _cpp_cleanup_* in
3267 reverse order from the corresponding _cpp_init_* routines.
3269 * cppexp.c (parse_number, parse_charconst, parse_defined,
3270 lex): Check val.node->type instead of calling cpp_defined.
3271 Use spec_nodes entries where appropriate.
3273 * fix-header.c, scan-decls.c: Update for interface changes.
3275 2000-07-08 Geoffrey Keating <geoffk@cygnus.com>
3277 * config/rs6000/rs6000.c (rs6000_emit_move): Fix conditions for
3278 emitting aux_truncdfsf2.
3280 2000-07-03 Donn Terry (donnte@microsoft.com)
3282 * cppinit.c (print_help): split overlong line into ISO C89
3285 2000-07-07 Zack Weinberg <zack@wolery.cumb.org>
3287 * cppexp.c: Update all code for new lexer interface.
3288 (op_t, operator codes, struct token, tokentab2, op_to_str): Remove.
3289 (struct suffix, vsuf_1, vsuf_2, vsuf_3, op_to_prio): New.
3290 * cpplex.c (token_names): Trim leading CPP_ from names; make
3291 the strings unsigned.
3292 (_cpp_spell_operator): New.
3293 (is_macro_disabled): Disable all macros if rescanning
3295 (_cpp_get_directive_token): Remove.
3297 * cppinit.c: Don't set no_macro_expand.
3298 * cpplib.c (read_line_number, do_line): Check only for EOF,
3300 * cpphash.h: Update prototypes.
3301 * cpplib.h (CPP_VSPACE): Remove.
3302 (struct cpp_reader): Remove no_macro_expand.
3304 2000-07-08 Neil Booth <NeilB@earthling.net>
3306 * cpphash.c (is__va_args__): New function.
3307 (count_params): Fix line reported in error messages. Use
3308 is__va_args__. Don't return ')' on error. Flag GNU style
3309 rest args macro definitions.
3310 (parse_define): Check macro name is not __VA_ARGS__.
3311 (save_expansion): Check identifier in non-varargs-macro is
3312 not __VA_ARGS__. Don't flag GNU_VARARGS.
3313 * cpplex.c (parse_args): Accept no argument iff GNU_REST_ARGS.
3314 (maybe_paste_with_next): Use per-macro GNU_REST_ARGS rather
3315 than per-token GNU_VARARGS.
3316 * cpplib.h (GNU_VARARGS): Remove.
3317 (GNU_REST_ARGS): New.
3319 Sat Jul 8 01:38:25 MET DST 2000 Jan Hubicka <jh@suse.cz>
3321 * i386.md (call_pop, call, call_value_pop): Do not set
3322 current_function_uses_pic_offset_table for calls to static
3323 functions or indirect calls.
3325 2000-07-07 Jim Wilson <wilson@cygnus.com>
3327 * config/ia64/ia64.c (rws_access_reg): New local write_count. If
3328 is_predicate_reg, then take max write_count of register pair.
3330 2000-07-07 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3332 * tradcpp.c (main): Rename label `include' to `add_include' to
3333 avoid conflicts with variable `include' in traditional C.
3335 2000-07-07 Jakub Jelinek <jakub@redhat.com>
3337 * integrate.c (copy_insn_list): Remove REG_LABEL notes.
3339 2000-07-07 Jakub Jelinek <jakub@redhat.com>
3341 * sibcall.c (uses_addressof): Add INMEM argument, check for
3342 current_function_internal_arg_pointer outside of MEM rtxs in addition
3344 (sequence_uses_addressof): Update caller.
3346 2000-07-07 Zack Weinberg <zack@wolery.cumb.org>
3348 * tradcpp.c (initialize_builtins): Honor NO_BUILTIN_SIZE_TYPE
3351 2000-07-07 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3353 * system.h (UNION_INIT_ZERO): New macro for initializing union
3356 * cpplex.c (placemarker_token, eof_token): Use UNION_INIT_ZERO.
3358 2000-07-07 Neil Booth <NeilB@earthling.net>
3362 Fri Jul 7 07:47:35 2000 Jeffrey A Law (law@cygnus.com)
3364 * final.c (final): Detect out of bounds array access to
3365 the insn_lengths array.
3367 2000-07-07 Kazu Hirata <kazu@hxi.com>
3369 * fold-const.c (fold): Fix a comment typo.
3371 2000-07-07 Neil Booth <NeilB@earthling.net>
3373 * cpp.texi: Update to new lexer.
3375 2000-07-06 Zack Weinberg <zack@wolery.cumb.org>
3377 * tradcpp.c: New file.
3378 * tradcif.y: New file.
3379 * tradcif.c: New generated file.
3381 * Makefile.in: Add rules to build tradcpp.o, tradcif.o,
3382 $(srcdir)/tradcif.c. Add tradcpp to STAGESTUFF and
3383 dependencies of C. Install tradcpp from install-common, in
3386 2000-07-06 Zack Weinberg <zack@wolery.cumb.org>
3388 * cppinit.c: Include cppdefault.h. Refer to
3389 cpp_GCC_INCLUDE_DIR and cpp_GCC_INCLUDE_DIR_len, not directly
3390 to GCC_INCLUDE_DIR and its length.
3391 (SIZE_TYPE, PTRDIFF_TYPE, WCHAR_TYPE,
3392 USER_LABEL_PREFIX, REGISTER_PREFIX, struct default_include,
3393 STANDARD_INCLUDE_DIR, STANDARD_INCLUDE_COMPONENT): Move to
3395 (include_defaults_array): Move to cppdefault.c.
3397 * cppdefault.h: New file.
3398 * cppdefault.c: New file.
3400 * Makefile.in (LIBCPP_OBJS): Add cppdefault.o.
3401 (cppinit.o): Don't apply $(PREPROCESSOR_DEFINES) to this file.
3402 (cppdefault.o): New rule; apply $(PREPROCESSOR_DEFINES) to
3405 Thu Jul 6 18:30:36 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
3407 * reload.c (push_reload): When seeing if can reuse a register,
3408 check extra registers against widest of INMODE and OUTMODE.
3410 2000-07-06 Neil Booth <NeilB@earthling.net>
3412 * cpplib.c: (_cpp_parse_assertion): Perform hash lookups
3413 based on full length of predicate.
3415 2000-07-06 Hans-Peter Nilsson <hp@axis.com>
3417 * timevar.c: [HAVE_SYS_RESOURCE_H]: Include <sys/resource.h>.
3418 [NEED_DECLARATION_GETRUSAGE]: Declare getrusage.
3420 2000-07-05 Kazu Hirata <kazu@hxi.com>
3422 * h8300-proto.h: Fix formatting.
3423 * h8300.c: Likewise.
3424 * h8300.h: Likewise.
3426 2000-07-05 Jim Wilson <wilson@cygnus.com>
3428 * config/ia64/ia64.h (HARD_REGNO_MODE_OK): If FR_REGNO_P, disallow
3431 2000-07-05 Rodney Brown <RodneyBrown@pmsc.com>
3433 * invoke.texi: Fix minor typos
3434 * md.texi: Fix minor typos
3436 2000-07-05 Zack Weinberg <zack@wolery.cumb.org>
3438 * cpplib.c (_cpp_parse_assertion): Fix buffer overrun.
3440 2000-07-04 Zack Weinberg <zack@wolery.cumb.org>
3442 * cpplex.c: Don't include sys/mman.h.
3443 (cpp_push_buffer, cpp_pop_buffer): Moved to cpplib.c.
3445 * cpplib.c: Include sys/mman.h and obstack.h.
3446 (cpp_push_buffer): Moved from cpplex.c; allocate buffers on an
3448 (cpp_pop_buffer): Moved from cpplex.c; free buffers from an obstack.
3449 (_cpp_unwind_if_stack): Now static, unwind_if_stack. Don't
3450 bother freeing if stack entries (they will be freed with their buffer).
3451 (do_endif): Free if stack entries from the buffer obstack.
3452 (push_conditional): Allocate if stack entries from the buffer obstack.
3454 (find_answer): Rename to _cpp_find_answer.
3455 (do_assert, do_unassert): Update.
3457 * cpphash.h: Update prototypes.
3458 (xobnew): New convenience macro.
3459 * cpplib.h (struct cpp_reader): Add hash_ob and buffer_ob fields.
3461 (struct cpp_hashnode): Remove disabled field.
3463 * cppinit.c: Don't include hashtab.h or splay-tree.h.
3464 (report_missing_guard): Moved to cppfiles.c.
3465 (cpp_reader_init): Call cpp_init_stacks, cpp_init_macros,
3467 (cpp_cleanup): Call cpp_cleanup_stacks, cpp_cleanup_macros,
3468 cpp_cleanup_includes. Don't destroy hashtab or
3469 all_include_files here.
3470 (cpp_finish): Use _cpp_report_missing_guards.
3472 * cppfiles.c (report_missing_guard): Moved from cppinit.c.
3473 (_cpp_init_include_table): Rename _cpp_init_includes.
3474 (_cpp_cleanup_includes, _cpp_report_missing_guards): New.
3476 * cppexp.c (parse_assertion): Update for new name of
3479 * Makefile.in (cpplib.o, cpphash.o, cppinit.o): Update deps.
3481 2000-07-04 Zack Weinberg <zack@wolery.cumb.org>
3483 * cpplib.c (do_ident): s/VSPACE/EOF/
3485 2000-07-05 Neil Booth <NeilB@earthling.net>
3487 * cpplex.c: Fix trigraph replacement within strings.
3489 2000-07-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3491 * rs6000/aix.h (ASM_GENERATE_INTERNAL_LABEL): Fix format specifier.
3493 * xcoffout.c (assign_type_number): Constify.
3494 (xcoffout_source_file): Add static prototype. Don't needlessly
3495 cast away const-ness.
3497 2000-07-04 Jason Merrill <jason@redhat.com>
3499 * frame.h (frame_state): Move base_offset to end.
3501 Mon Jul 3 21:31:43 2000 Clinton Popetz <cpopetz@cygnus.com>
3503 * calls.c (emit_library_call_value_1): Revert previous change.
3505 2000-07-03 Zack Weinberg <zack@wolery.cumb.org>
3507 * fix-header.c (struct partial_proto): Remove unnecessary fields.
3508 (recognized_extern, recognized_function, read_scan_file):
3509 Update for new scheme.
3510 (check_protection): It's still a multiple include guard even
3511 if it doesn't always trigger.
3512 * scan-decls.c (skip_to_closing_brace, scan_decls): Update for
3514 * scan.h: Declare struct cpp_token. Update prototypes.
3516 2000-07-03 Neil Booth <neilb@earthling.net>
3517 Zack Weinberg <zack@wolery.cumb.org>
3519 Complete overhaul of the lexer and macro expander.
3521 * cpphash.c (object_defn, funct_defn, push_macro_expansion,
3522 arg, arglist, argdata, reflist, collect_objlike_expansion,
3523 collect_funlike_expansion, collect_params,
3524 warn_trad_stringify, trad_stringify, duplicate_arg_p, add_pat,
3525 unsafe_chars, macarg, compare_defs, special_symbol,
3526 scan_arguments, stringify, funlike_macroexpand,
3527 _cpp_quote_string, monthnames): Delete.
3528 (cpp_lookup, _cpp_free_definition, dump_funlike_macro,
3529 _cpp_create_definition, _cpp_dump_definition,
3530 dump_hash_helper): Adjust.
3531 (find_param, count_params, parse_define, var_args_str,
3532 check_macro_redefinition, save_expansion): New.
3534 * cpplex.c (skip_block_comment, skip_line_comment, parse_name,
3535 parse_string, output_line_command, trigraph_replace,
3536 lex_line, cpp_push_buffer, cpp_pop_buffer, cpp_output_tokens,
3537 cpp_scan_buffer_nooutput, cpp_scan_buffer, cpp_free_toklist,
3538 cpp_idcmp, _cpp_get_directive_token, _cpp_init_input_buffer,
3539 _cpp_skip_rest_of_line): Modify.
3541 (maybe_macroexpand, skip_comment, copy_comment, skip_string,
3542 find_position, null_warning, bump_column, expand_name_space,
3543 pedantic_whitespace, _cpp_output_list, _cpp_slice_toklist,
3544 _cpp_squeeze_toklist, _cpp_scan_until, _cpp_skip_hspace,
3545 _cpp_parse_name, _cpp_lex_token, cpp_get_non_space_token,
3546 _cpp_prescan): Delete.
3548 (dump_param_spelling, process_directive, lex_next,
3549 is_macro_disabled, stringify_arg, expand_context_stack,
3550 output_token, make_string_token, alloc_number_token,
3551 special_symbol, duplicate_token, maybe_paste_with_next,
3552 can_paste, prevent_macro_expansion, restore_macro_expansion,
3553 get_temp_token, release_temp_tokens, quote_string,
3554 token_names, token_spellings, _cpp_expand_name_space,
3555 _cpp_glue_header_name, _cpp_reserve_name_space,
3556 digraph_spellings, trigraph_ok, skip_whitespace, save_comment,
3557 placemarker_token, eof_token, cpp_context, macro_args,
3558 get_raw_token, parse_arg, parse_args, save_token,
3559 push_arg_context, push_macro_context, pop_context,
3560 do_pop_context, free_macro_args, _cpp_get_line,
3561 _cpp_run_directive): New.
3563 * cpplib.c (validate_else, parse_include, push_conditional,
3564 pass_thru_directive, read_line_number, parse_ifdef,
3565 detect_if_not_defined, _cpp_check_directive, do_define,
3566 do_undef, do_include, do_import, do_include_next, do_error,
3567 do_warning, do_ident, do_pragma, pragma_dispatch, gcc_pragmas,
3568 top_pragmas, do_pragma_gcc, do_pragma_implementation,
3569 do_pragma_poison, do_pragma_system_header,
3570 do_pragma_dependency, do_sccs, do_ifdef, do_ifndef, do_else,
3571 dl_elif, do_endif, _cpp_unwind_if_stack, do_assert,
3572 do_unassert, cpp_define, cpp_undef, cpp_assert, cpp_unassert,
3573 cpp_defined): Update for new scheme.
3574 (strtoul_for_line, get_define_node, dump_macro_name,
3575 _cpp_check_linemarker, _cpp_parse_assertion): New.
3576 (_cpp_handle_directive, do_pragma_default): Delete.
3578 * cpphash.h (struct predicate): Now struct answer.
3579 (enum spell_type, struct token_spelling, struct directive,
3580 directive_handler): New.
3581 Update prototypes. Remove unused macros.
3582 * cpplib.h: Update prototypes. Remove unused macros,
3583 structure definitions, and fields.
3585 * cpperror.c (print_containing_files, v_message): Adjust.
3586 * cppexp.c (parse_assertion, lex, parse_escape,
3587 _cpp_parse_expr): Adjust.
3588 * cppfiles.c (open_include_file, _cpp_execute_include,
3589 _cpp_compare_file_date, cpp_read_file, read_include_file):
3591 * cppinit.c (dump_special_to_buffer): Delete.
3592 (append_include_chain, merge_include_chains, cpp_reader_init,
3593 cpp_cleanup, initialize_builtins, builtin_array, cpp_start_read,
3594 cpp_finish, handle_option, print_help): Adjust.
3595 * cppmain.c (main): Adjust.
3597 2000-07-03 Zack Weinberg <zack@wolery.cumb.org>
3599 * cppspec.c (lang_specific_driver): Use double quotes in error
3602 Mon Jul 3 16:53:43 2000 Clinton Popetz <cpopetz@cygnus.com>
3604 * calls.c (emit_library_call_value_1): Use valreg instead
3605 of hard_libcall_value.
3607 2000-07-03 Geoff Keating <geoffk@cygnus.com>
3609 * config/rs6000/rs6000.c (rs6000_emit_move): New function.
3610 * config/rs6000/rs6000-proto.h: Prototype rs6000_emit_move.
3611 * config/rs6000/rs6000.md (movsi): Use rs6000_emit_move.
3619 * expmed.c (expand_mult_highpart): Use op1 instead of wide_op1 when
3620 mode instead of wider_mode is being used.
3622 2000-07-03 Jakub Jelinek <jakub@redhat.com>
3624 * config/i386/i386.md (movstrictqi_xor): Use 'q' constraint instead
3625 of 'r'. Use q_regs_operand.
3626 (andsi_1+2): Use q_regs_operand.
3628 2000-07-03 Jakub Jelinek <jakub@redhat.com>
3630 * builtins.c (get_memory_rtx): Always put into alias set 0.
3632 2000-07-03 Nick Clifton <nickc@cygnus.com>
3634 * config/arm/arm.md: Fix post increment and pre increment
3635 peepholes so that they do not generate UNPREDICATBLE opcodes.
3636 (ie ones where the increment clobbers the source/destination).
3638 2000-07-01 Marek Michalkiewicz <marekm@linux.org.pl>
3640 * config/avr/avr.c (out_adj_frame_ptr): Make "frame pointer
3641 change too big for -mtiny-stack" a warning, if larger than 63.
3642 (out_set_stack_ptr): Change the logic so -mno-interrupts is
3643 always safe to use on possible future devices.
3644 (function_prologue): Write SPH before SPL, for consistency.
3645 If interrupt_func_p true, we know we have enabled interrupts.
3646 (avr_num_arg_regs): New function. Round up to even number of
3647 bytes if no -mpack-args or if calling a libgcc function.
3648 (function_arg, function_arg_advance): Use it.
3649 (output_movsisf, ashlsi3_out, ashrsi3_out, lshrsi3_out):
3650 Output "movw" if available.
3651 (out_tsthi, out_tstsi, ashlqi3_out, lshrqi3_out): Change uses
3652 of TEST_HARD_REG_CLASS macro to test_hard_reg_class function.
3653 (asm_output_section_name): Add blanks for consistent output.
3654 (encode_section_info): Set TREE_READONLY for progmem data to
3655 avoid gas warnings about changed section attributes.
3656 (avr_hard_regno_mode_ok): Force non-QImode data to start in
3657 even numbered registers on devices with "movw".
3658 * config/avr/avr.h (MASK_*): Define bits for target_flags.
3659 (TARGET_SWITCHES): Mark help strings for translation.
3660 Add new -mpack-args and -menhanced switches.
3661 (TARGET_OPTIONS): Mark help strings for translation.
3662 (progmem_section): Add section attributes.
3663 * config/avr/avr.md (*movhi, call_insn, call_value_insn):
3664 Output "movw" if available.
3665 (mulqi3, mulqihi3, umulqihi3, mulhi3, *tablejump_enh):
3667 * config/avr/libgcc.S (_mulqi3, _divqi3): Update to the new
3668 call convention (arguments aligned on even registers).
3669 (_cleanup, _exit): Make weak symbols libc can override.
3671 2000-07-03 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3673 * fp-bit.h: New file.
3675 * fp-bit.c: Move common code, prototypes, etc into fp-bit.h.
3676 Comment #endif statements.
3677 (__thenan_sf, __thenan_df): Add missing braces around initializer.
3679 Mon Jul 3 00:32:47 2000 Jeffrey A Law (law@cygnus.com)
3681 * gcse.c (compute_pre_data): Compute ae_kill using other local
3682 properties instead of calling compute_ae_kill.
3684 * alias.c (init_alias_analysis): Do not call
3685 prologue_epilogue_contains until after reload has completed.
3687 2000-07-02 Benjamin Chelf <chelf@codesourcery.com>
3689 * c-common.h (genrtl_begin_compound_stmt): Remove declaration.
3690 (genrtl_finish_compound_stmt): Likewise.
3691 (genrtl_compound_stmt): Change to return void.
3693 * c-semantics.c (genrtl_begin_compound_stmt): Remove function and
3694 move code from here to ...
3695 (genrtl_compound_stmt): ... here.
3696 (genrtl_finish_compound_stmt): Remove.
3697 (expand_stmt): Add comment.
3699 2000-07-02 Zack Weinberg <zack@wolery.cumb.org>
3701 * c-typeck.c (build_indirect_ref): Use COMPLETE_OR_VOID_TYPE_P
3704 2000-07-02 Jakub Jelinek <jakub@redhat.com>
3706 * cpplib.h (struct cpp_reader): New field include_depth.
3707 (struct cpp_printer): Rename last_bsd to last_id.
3708 * cppfiles.c (read_include_file): Bump include_depth.
3709 * cpplex.c (cpp_pop_buffer): Decrement include_depth.
3710 (output_line_command): Output correct #line if a header
3711 is including itself and is not protected against multiple inclusion.
3712 Use include_depth instead of buffer_stack_depth, last_id instead of
3714 * cppinit.c (cpp_start_read): Initialize last_id instead of
3717 2000-07-01 Benjamin Chelf <chelf@codesourcery.com>
3719 * Makefile.in (C_AND_OBJC_OBJS): Added c-semantics.o.
3720 (c-semantics.o): New target.
3722 * c-common.h (TREE_LANG_FLAG_?): Added documentation.
3723 (genrtl_do_pushlevel): Moved from cp/cp-tree.h.
3724 (genrtl_clear_out_block): Likewise.
3725 (genrtl_goto_stmt): Likewise.
3726 (genrtl_expr_stmt): Likewise.
3727 (genrtl_decl_stmt): Likewise.
3728 (genrtl_if_stmt): Likewise.
3729 (genrtl_while_stmt): Likewise.
3730 (genrtl_do_stmt): Likewise.
3731 (genrtl_return_stmt): Likewise.
3732 (genrtl_for_stmt): Likewise.
3733 (genrtl_break_stmt): Likewise.
3734 (genrtl_continue_stmt): Likewise.
3735 (genrtl_scope_stmt): Likewise.
3736 (genrtl_switch_stmt): Likewise.
3737 (genrtl_case_label): Likewise.
3738 (genrtl_begin_compound_stmt): Likewise.
3739 (gerntl_finish_compound_stmt): Likewise.
3740 (genrtl_compound_stmt): Likewise.
3741 (genrtl_asm_stmt): Likewise.
3742 (genrtl_decl_cleanup): Likewise.
3743 (DECL_ANON_UNION_ELEMS): Likewise.
3744 (emit_local_var): Likewise.
3745 (make_rtl_for_local_static): Likewise.
3746 (expand_cond): Likewise.
3747 (expand_stmt): Likewise.
3748 (c_expand_return): Likewise.
3749 (c_expand_start_case): Likewise.
3750 (do_case): Likewise.
3751 (COMPOUND_STMT_NO_SCOPE): Likewise.
3752 (c_expand_asm_operands): Likewise.
3753 (NEW_FOR_SCOPE_P): New macro.
3754 (expand_expr_stmt_fn): New type.
3756 (set_current_function_name_declared): Likewise.
3757 (current_function_name_declared): Likewise.
3758 (lang_expand_stmt): Likewise.
3759 (stmts_are_full_exprs_p): Likewise.
3760 (anon_aggr_type_p): Likewise.
3761 (lang_expand_expr_stmt): Likewise.
3762 (build_case_label): Likewise.
3764 * c-decl.c (lang_expand_expr_stmt): Initialize.
3765 (stmts_are_full_exprs_p): Define.
3766 (current_function_name_declared): Likewise.
3767 (do_case): Likewise.
3768 (lang_expand_stmt): Likewise.
3769 (set_current_function_name_declared): Likewise.
3770 (anon_aggr_type_p): Likewise.
3772 * c-semantics.c: New file.
3773 (expand_cond): Moved from cp/semantics.c.
3774 (genrtl_do_pushlevel): Likewise.
3775 (genrtl_clear_out_block): Likewise.
3776 (genrtl_goto_stmt): Likewise.
3777 (genrtl_expr_stmt): Likewise.
3778 (genrtl_decl_stmt): Likewise.
3779 (genrtl_if_stmt): Likewise.
3780 (genrtl_while_stmt): Likewise.
3781 (genrtl_do_stmt): Likewise.
3782 (genrtl_return_stmt): Likewise.
3783 (genrtl_for_stmt): Likewise.
3784 (genrtl_break_stmt): Likewise.
3785 (genrtl_continue_stmt): Likewise.
3786 (genrtl_scope_stmt): Likewise.
3787 (genrtl_switch_stmt): Likewise.
3788 (genrtl_case_label): Likewise.
3789 (genrtl_begin_compound_stmt): Likewise.
3790 (genrtl_finish_compound_stmt): Likewise.
3791 (genrtl_compound_stmt): Likewise.
3792 (genrtl_asm_stmt): Likewise.
3793 (genrtl_decl_cleanup): Likewise.
3794 (make_rtl_for_local_static): Moved from cp/decl.c.
3795 (emit_local_var): Likewise.
3796 (expand_stmt): Define.
3798 * c-tree.h: (c_expand_asm_operands): Moved to c-common.h.
3799 (c_expand_return): Likewise.
3800 (c_expand_start_case): Likewise.
3802 2000-07-01 Richard Henderson <rth@cygnus.com>
3804 * config/ia64/ia64.c (symbolic_operand): Reject CONST expressions
3805 with the low 13 bits set.
3806 (move_operand): Check for CONST|SYMBOL_REF|LABEL_REF directly.
3807 * config/ia64/ia64.md (movdi): Likewise. Expand a CONST with one
3808 of the low 13 bits into a CONST plus an adddi3.
3809 (load_symptr): Set RTX_UNCHANGING_P.
3811 See ChangeLog.3 for earlier changes.