ARM support for unordered FP operations.
[official-gcc.git] / gcc / ChangeLog
blob641f3c218948884c65668a90b6cb18a6b8dba2a0
1 2000-08-15  Richard Earnshaw <rearnsha@arm.com>
3         ARM support for unordered FP operations.
4         * arm-protos.h (arm_comparison_operator): Declare.
5         * arm.c (arm_comparison_operator): New function.
6         (arm_select_cc_mode): Add unordered comparison codes.
7         (get_arm_condition_code): Likewise.
8         (arm_final_prescan_insn): Can't handle unordered jumps that can't
9         be done in one insn.
10         * arm.h (PREDICATE_CODES): Add arm_comparison_operator.
11         * arm.md (all uses of comparison_operator): Replace with
12         arm_comparison_operator.
13         (bunordered, bordered, bugt, bunlt, bunge, bunle, buneq, bltgt): New
14         expands.
15         (arm_buneq, arm_bltgt, arm_buneq_reversed, arm_bltgt_reveresed): New
16         patterns.
17         
18 Tue Aug 15 00:36:36 2000  Ovidiu Predescu  <ovidiu@cup.hp.com>
20         * gthr-posix.h: Conditionally include <sched.h>; include
21         <config.h> from libobjc/.
23 2000-08-14  Richard Henderson  <rth@cygnus.com>
25         * config/i386/i386.c (legitimize_pic_address): Use Pmode
26         for all CONSTs.
28 2000-08-14  Richard Henderson  <rth@cygnus.com>
30         * configure.in (ia64-*): Set float_format for i386 long double.
32         * real.c (GET_REAL): Treat 128-bit INTEL_EXTENDED_IEEE_FORMAT
33         as we would for i386 XFmode.
34         (PUT_REAL): Likewise.
35         (endian, ereal_atof, real_value_truncate): Likewise.
36         (ereal_isneg, toe64, etens, make_nan): Likewise.
37         * real.h (REAL_VALUE_TO_TARGET_LONG_DOUBLE): Likewise.
39         * config/ia64/ia64-protos.h: Update.
40         * config/ia64/ia64.c (general_tfmode_operand): New.
41         (destination_tfmode_operand): New.
42         (tfreg_or_fp01_operand): New.
43         (ia64_split_timode): New.
44         (spill_tfmode_operand): New.
45         (ia64_expand_prologue): Use TFmode not XFmode.
46         (ia64_expand_epilogue): Likewise.
47         (ia64_function_arg): Likewise.
48         (ia64_function_arg_advance): Likewise.
49         (ia64_return_in_memory): Likewise.
50         (ia64_function_value): Likewise.
51         (ia64_print_operand): Likewise.
52         (ia64_register_move_cost): Set GR<->FR to 5.
53         (ia64_secondary_reload_class): Get GR for TImode memory op.
54         * config/ia64/ia64.h (ROUND_TYPE_SIZE): Remove.
55         (ROUND_TYPE_ALIGN): Remove.
56         (LONG_DOUBLE_TYPE_SIZE): Set to 128.
57         (INTEL_EXTENDED_IEEE_FORMAT): Define.
58         (HARD_REGNO_NREGS): Use TFmode, not XFmode.
59         (HARD_REGNO_MODE_OK): Likewise.  Disallow TImode in FRs.
60         (MODES_TIEABLE_P): Use TFmode, not XFmode.
61         (CLASS_MAX_NREGS): Likewise.
62         (ASM_OUTPUT_LONG_DOUBLE): Output by 4 byte hunks.
63         (PREDICATE_CODES): Update.
64         * config/ia64/ia64.md (movti): New.
65         (movti_internal): Use a clobber for memory alternatives.
66         (reload_inti, reload_outti): New.
67         (movsfcc_astep): Predicate properly.
68         (movdfcc_astep): Likewise.
69         (movxf): Remove.
70         (movtf): New.
71         (extendsftf2, extenddftf2): New.
72         (trunctfsf2, trunctfdf2): New.
73         (floatditf2, fix_trunctfdi2): New.
74         (floatunsditf2, fixuns_trunctfdi2): New.
75         (addtf3, subtf3, multf3, abstf2): New.
76         (negtf2, nabstf2, mintf3, maxtf3): New.
77         (maddtf3, msubtf3, nmultf3, nmaddtf3): New.
78         (cmptf): New.
79         (fr_spill): Use TFmode, not XFmode.
80         (fr_restore): Likewise.
81         * config/ia64/lib1funcs.asm (__divtf3): New.
82         * config/ia64/t-ia64 (LIB1ASMFUNCS): Add it.
84 2000-08-14  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
86         * cse.c (fold_rtx): Avoid empty body in an if-statement.
87         
88         * doloop.c (doloop_iterations_max, doloop_modify): Avoid using the
89         `U' integer constant suffix.
91         * dwarf2out.c (add_subscript_info): Avoid empty body in an
92         else-statement.
94         * sparc/sol2.h (__enable_execute_stack): Prototype.
96 2000-08-14  David Edelsohn  <edelsohn@gnu.org>
98         * collect2.c: Remove use of AIX import file.
100         * longlong.h: Test ARCH_PWR not ARCH_POWER.
102         * rs6000.c (print_operand, case 'E'): Add else.
104 2000-08-14  Richard Henderson  <rth@cygnus.com>
106         * config/ia64/ia64.md (movdi): Delay calling ia64_expand_load_address.
107         (movdi_symbolic): New.
109 2000-08-14  Jim Wilson  <wilson@cygnus.com>
111         * config/ia64/ia64.h (ASM_SPEC): Pass -mconstant-gp and -mauto-pic
112         to GNU as.  For Intel as, pass -M const_gp and -M no_plabel.
113         * config/ia64/linux.h (ASM_SPEC): Pass -mconstant-gp and -mauto-pic
114         to GNU as.
116 2000-08-14  Richard Henderson  <rth@cygnus.com>
118         * expr.c (emit_group_load): Don't force constants into registers.
119         Special case source already in the correct mode.
121 2000-08-14  Zack Weinberg  <zack@wolery.cumb.org>
123         * configure.in: Accept *-*-linux* not just *-*-linux-gnu*.
124         * fixinc/inclhack.def: Likewise.
125         * fixinc/mkfixinc.sh: Likewise. 
126         * configure: Regenerate.
127         * fixinc/fixincl.x: Regenerate.
128         * install.texi: Document equivalence of linux and linux-gnu.
130 Mon Aug 14 18:51:44 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
132         * cse.c (insert_regs): Also in REG case: When finding an invalid
133         value, and we make a new quantity, make sure that it won't be
134         mistaken by for a valid one by mention_regs.
136 2000-08-13  Ralf Gütlein <ralf.guetlein@aranea.de>
138         * h8300.md: Remove obsolete peepholes.
140 2000-08-13  Kazu Hirata  <kazu@hxi.com>
142         * invoke.texi (H8/300 Options): Fix typos.
143         * config/h8300.c: Fix formatting.
144         * config/h8300.h: Fix comment typos.
145         (OVERRIDE_OPTIONS): Fix formatting.
147         * function.c: Fix formatting.
149         * cse.c: Fix formatting.
151 2000-08-13  Geoff Keating  <geoffk@cygnus.com>
153         * flow.c (attempt_auto_inc): Remove unused variable `bb'.
154         (attempt_auto_inc): Suppress parentheses warning.
155         * function.c (put_reg_into_stack): Remove unused variable `unsigned_p'.
156         * loop.c (load_mems): Remove `u' suffix in two places.
157         * config/rs6000/rs6000.c: Remove unnecessary `u' suffixes from
158         hex constants.
159         * config/rs6000/rs6000.h: Likewise.
160         * config/rs6000/sol-c0.c: Prototype some functions.  Remove the
161         __eabi dummy routine.
162         * config/rs6000/sysv4.h (ASM_DECLARE_FUNCTION_NAME): Remove unused
163         variable `buf_ptr'.
165         * config/rs6000/rs6000.c (rs6000_select_section): Rewrite to
166         not put stuff in .sdata unnecessarily.
167         (rs6000_unique_section): New function.
168         * config/rs6000/rs6000-protos.h: Add rs6000_unique_section.
169         * config/rs6000/sysv4.h (UNIQUE_SECTION): Define.
171         * c-typeck.c (build_array_ref): Don't complain about non-lvalue
172         arrays in C99.  Don't try to look at DECL_REGISTER of a
173         COMPONENT_REF.  Don't complain twice about the same error.
175         * fixinc/inclhack.def (aix_pthread): New fix.
176         (aix_sysmachine): New fix.
177         * fixinc/fixincl.x: Regenerate.
179         * expr.c (expand_expr): Call convert_modes when turning a large
180         multiply into a small one.
182 2000-08-12  Geoff Keating  <geoffk@cygnus.com>
184         * tree.h (DECL_OFFSET_ALIGN): Make the off_align field of
185         the tree structure an exponent rather than an explicit alignment
186         so it doesn't overflow.
187         (SET_DECL_OFFSET_ALIGN): New macro.
188         * stor-layout.c (place_union_field): Use SET_DECL_OFFSET_ALIGN
189         rather than DECL_OFFSET_ALIGN.
190         (place_field): Likewise.
191         * expmed.c (store_bit_field): Abort on align==0 to avoid
192         antisocial machine behaviour.
194 2000-08-12  Richard Henderson  <rth@cygnus.com>
196         * sibcall.c (uses_addressof): Accept both addressof and
197         current_function_internal_arg_pointer inside a mem.
198         (optimize_sibling_and_tail_recursive_call): Fail tail recursion
199         if current_function_uses_addressof.
200         * stmt.c (expand_return): Kill tail recursion and HAVE_return
201         optimizations.
203 2000-08-11  Richard Henderson  <rth@cygnus.com>
205         * config/ia64/ia64.md (addsi3): Remove expander.
206         (subsi3, mulsi3, negsi2, one_cmplsi2): Likewise.
207         (*addsi3_shladd): New.
209 2000-08-11  Richard Henderson  <rth@cygnus.com>
211         * config/ia64/ia64.c (do_spill): Pass cfa offset to move expander.
212         (do_restore): Likewise.
213         (gen_movdi_x, gen_fr_spill_x, gen_fr_restore_x): New.
214         (ia64_expand_prologue, ia64_expand_epilogue): Use them.
215         (rtx_needs_barrier): Track actual bit manipulation for 
216         ar.unat moves, gr_spill, and gr_restore.
217         (emit_insn_group_barriers): Special case gr_spill/gr_restore.
218         (process_set): Don't handle varargs spills.
219         * config/ia64/ia64.md (gr_spill): Accept cfa offset.  Emit
220         .mem.offset here instead of in process_set.
221         (gr_restore): Likewise.
223 2000-08-11  Richard Henderson  <rth@cygnus.com>
225         * config/ia64/ia64.h (PROMOTE_MODE): Only extend to SImode.
227 2000-08-11  Mark Elbrecht  <snowball3@bigfoot.com>
229         * gcc.texi (The Configuration File): Document
230         COLLECT2_HOST_INITIALIZATION, GCC_DRIVER_HOST_INITIALIZATION, and
231         UPDATE_PATH_HOST_CANONICALIZATION.
233 2000-08-11  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
235         * c-parse.in (cast_expr): Avoid -Wstrict-prototype warnings for
236         unprototyped function pointer casts on integer constants.
238 2000-08-11 Laurynas Biveinis <lauras@softhome.net>
240         * fixproto: Recognize DOS paths with drive letters as absolute paths.
242 2000-08-11  Nathan Sidwell  <nathan@codesourcery.com>
244         * extend.texi (Volatiles): Fix typos.
246 2000-08-11  Kazu Hirata  <kazu@hxi.com>
248         * flow.c: Fix formatting.
250 2000-08-11  Richard Henderson  <rth@cygnus.com>
252         * reload.c (push_secondary_reload): When invoking a reload_{in,out}
253         pattern, always allocate a tertiary scratch register.
255         * config/alpha/alpha.md (reload_inqi): Use a DImode scratch.
256         (reload_inhi): Likewise.
258 2000-08-11  Richard Henderson  <rth@cygnus.com>
260         * function.c (put_reg_into_stack): Allow type to be NULL.
261         (schedule_fixup_var_refs): Likewise.
262         (gen_mem_addressof): Allow decl to be NULL.
263         (put_addressof_into_stack): Likewise.
265         * flow.c (merge_blocks_nomove): Be more careful about
266         locating the beginning of block A.
268         * combine.c (simplify_shift_const): Obey SHIFT_COUNT_TRUNCATED.
270 Thu Aug 10 22:47:09 2000  Ovidiu Predescu  <ovidiu@cup.hp.com>
272         * configure.in:
273         * configure:
274         * gthr-posix.h:
275         * config.in: Reverted the check for <sched.h>.
277 2000-08-10  Chris Demetriou  <cgd@sibyte.com>
279         * mips/elf.h (CTOR_SECTION_NAME, DTOR_SECTION_NAME): New
280         macros define the name of CTOR and DTOR sections.
281         (CTOR_LIST_BEGIN, CTOR_LIST_END, DTOR_LIST_BEGIN,
282         DTOR_LIST_END): Change to use attributes to specify
283         sections.
284         * mips/elf64.h (CTOR_SECTION_NAME, DTOR_SECTION_NAME,
285         (CTOR_LIST_BEGIN, CTOR_LIST_END, DTOR_LIST_BEGIN,
286         DTOR_LIST_END): Same as in mips/elf.h.
288 2000-08-10  Drew Moseley  <dmoseley@redhat.com>
290         * config/mn10300/mn10300.h: Added no-crt0 option for explicitly
291         disabling just crt0.o.
293 2000-08-10  Richard Earnshaw <rearnshaw@arm.com> & Nick Clifton  <nickc@cygnus.com>
295         * arm.h (CPP_SPEC): Use sub-spec cpp_interwork.
296         (CPP_INTERWORK_SPEC, CPP_INTERWORK_DEFAULT_SPEC): New sub-specs.
297         (EXTRA_SPECS): Add them.
298         * arm/lib1funcs.asm: Support builds for interworking.
299         Use macros to eliminate duplicated pieces of code.
301 2000-08-10  Kazu Hirata  <kazu@hxi.com>
303         * h8300.c (expand_a_rotate): New.
304         (emit_a_rotate): Likewise.
305         (h8300_adjust_insn_length): Add support for the rotate insns.
306         * h8300.md (rotlqi3): New.
307         (*rotlqi3_1): Likewise.
308         (rotlhi3): Likewise.
309         (*rotlhi3_1): Likewise.
310         (rotlhi3): Likewise.
311         (*rotlhi3_1): Likewise.
312         * h8300-proto.h: Add prototypes for expand_a_rotate and
313         emit_a_rotate.
315         * h8300.c: Fix comment typos.
316         (dosize): Declare the variable amount as unsigned.
317         (get_shift_alg): Fix a comparison between signed and unsigned.
318         (emit_a_shift): Likewise.
319         (h8300_adjust_insn_length): Simplify the code.
321         * c-decl.c: Fix formatting.
323 2000-08-10  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
325         * c-lex.c (parse_float, yylex): For -Wtraditional, issue a
326         warning about non-traditional numeric constant suffixes.
328         * cppexp.c (parse_number): Likewise.
330         * invoke.texi: (-Wtraditional): Document new behavior.
332 Thu Aug 10 00:11:04 2000  Ovidiu Predescu  <ovidiu@cup.hp.com>
334         * gthr-posix.h: Include auto-host.h. Conditionally include
335         <sched.h>.
336         * configure.in: Check for the <sched.h> header file.
337         * config.in: Added define for HAVE_SCHED_H.
339 2000-08-09  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
341         * c-typeck.c (process_init_element): For -Wtraditional, warn about
342         initialization of unions.
344         * invoke.texi (-Wtraditional): Document new behavior.
346 2000-08-09  Zack Weinberg  <zack@wolery.cumb.org>
348         * configure.in (--enable-c-cpplib): Uncomment.  Use AC_DEFINE
349         instead of extra_c_flags.
350         (--enable-c-mbchar): Use AC_DEFINE instead of extra_c_flags.
351         * configure: Regenerate.
352         * config.in: Regenerate.
354         * cpperror.c (cpp_type2name): New function.
355         * cpplex.c (lex_line): If we issued an error for an invalid
356         preprocessing directive, discard that logical line.
357         * cpplib.c (do_line): Call a hook function if the current file
358         is renamed by #line.
359         (do_ident): Pass the contents of the string, not the entire
360         token, to the callback function.
361         * cpplib.h (CPP_LAST_PUNCTUATOR): New #define.
362         (cb.rename_file): New hook function.
363         (cb.ident): Adjust prototype.
364         (cpp_type2name): Prototype.
365         * cppmacro.c (dump_macro_args): Correct precedence lossage.
367         * cppmain.c (cb_ident): Update for changed interface.
368         (cb_rename_file): New function.
369         (main): Set rename callback.
371 2000-08-09  Alexandre Oliva  <aoliva@redhat.com>
373         * caller-save.c (mark_referenced_regs): Mark partially-overwritten
374         multi-word registers.
376 2000-08-08  Joseph S. Myers  <jsm28@cam.ac.uk>
378         * c-common.c (combine_strings, check_format_info): Refer to ISO C
379         or ISO C89 instead of ANSI C.
380         * c-decl.c (grokdeclarator, xref_tag, finish_struct,
381         build_enumerator, do_case): Likewise.
382         * c-lex.c (parse_float, yylex): Likewise.
383         * c-parse.in: Likewise.
384         * c-typeck.c (common_type, build_array_ref, build_binary_op,
385         build_unary_op, pedantic_lvalue_warning, build_conditional_expr,
386         build_c_cast, convert_for_assignment, set_init_index,
387         set_init_label, c_expand_start_case): Likewise.
388         * toplev.c (documented_lang_options, display_help): Likewise.
390 2000-08-08  Kazu Hirata  <kazu@hxi.com>
392         * h8300.c: Fix formatting.
393         * h8300.h: Likewise.
394         * h8300.md: Likewise.
395         (movsi_h8300hs): Fix formatting of the resulting assembly code.
397         * reload1.c: Fix formatting.
399 2000-08-08  Rodney Brown  <RodneyBrown@mynd.com>
401         * alpha/alpha.c (alpha_emit_xfloating_libcall):
402         Use GEN_CALL_VALUE define.
403         * alpha/alpha.md (untyped_call): Use GEN_CALL define.
404         * clipper/clipper.md (untyped_call): Likewise.
405         * dsp16xx/dsp16xx.md (untyped_call): Likewise.
406         * fx80/fx80.md (untyped_call): Likewise.
407         * mips/mips.md (untyped_call): Likewise.
408         * ns32k/ns32k.md (untyped_call): Likewise.
409         * pa/pa.md (untyped_call): Likewise.
410         * romp/romp.md (untyped_call): Likewise.
411         * sparc/sparc.md (untyped_call): Likewise.
413 2000-08-08  Jason Eckhardt  <jle@cygnus.com>
415         * config/i860/i860.c (singlemove_string): Do not generate assembler
416         pseudo instructions that must be expanded (that is, with signed
417         constants larger than 16 bits).
419 2000-08-08  Richard Henderson  <rth@cygnus.com>
421         * flow.c (life_analysis): Only turn off PROP_LOG_LINKS and
422         PROP_AUTOINC at -O0.  Don't collect alias info at -O0.
423         (init_propagate_block_info): Don't kill memory stores at -O0.
424         (mark_set_1, mark_used_regs): Likewise.
426 2000-08-08  David Edelsohn  <edelsohn@gnu.org>
428         * rs6000.c (optimization_options): Decorate 'level' as
429         ATTRIBUTE_UNUSED. 
430         (mask64_operand): Remove sign-extend thinko.
431         (rldic_operand): New function.
432         (load_multiple_operation): regno's are unsigned ints.
433         (store_multiple_operation): Likewise.
434         (lmw_operation): Likewise.
435         (stmw_operation): Likewise.
436         (includes_lshift_p): shift_mask is unsigned int.
437         (includes_lshift64_p): New function.
438         (addrs_ok_for_quad_peep): unsigned int reg1.
439         (print_operand): Consistently add "else" after
440         output_operand_lossage().
441         (print_operand, case 'b'): Fold in case 'W'.
442         (print_operand, case 'W'): Print rldic MB value.
443         (output_epilogue): Update Objective-C language string.
444         (output_toc): unsigned HOST_WIDE_INT low, compare unsigned.
445         * rs6000.h (PREDICATE_CODES): Add rldic_operand.
446         * rs6000.md (ashldi3): Add rldic instruction.
447         (iordi3, xordi3): Remove redundant "else if CONST_DOUBLE".
448         (cmpsi_internal2, cmpdi_interal2): Use 'b' output template
449         modifier.
451 2000-08-08  Richard Henderson  <rth@cygnus.com>
453         * config/ia64/ia64-protos.h: Remove duplicates.  Update
454         for massive code rearrangements.
455         * config/ia64/ia64.c (ia64_arpfs_regno): Remove.
456         (ia64_rp_regno, ia64_fp_regno, ia64_input_regs): Remove.
457         (ia64_local_regs, ia64_need_regstk): Remove.
458         (ar_ccv_reg_operand): New.
459         (ia64_gp_save_reg): New.
460         (struct ia64_frame_info): Combine most of the size elements;
461         add new gr save elements.
462         (find_gr_spill): New.
463         (next_scratch_gr_reg): New.
464         (mark_reg_gr_used_mask): New.
465         (ia64_compute_frame_size): Rewrite.  Allocate special AR regs
466         to GR backing store regs when possible.
467         (ia64_initial_elimination_offset): New.
468         (ia64_rap_fp_offset): Remove.
469         (save_restore_insns): Remove.
470         (setup_spill_pointers): New.
471         (finish_spill_pointers): New.
472         (spill_restore_mem): New.
473         (do_spill, do_restore): New.
474         (ia64_expand_prologue): Rewrite to use them.
475         (ia64_expand_epilogue): Likewise.
476         (ia64_direct_return): Update for current_frame_info changes.
477         (ia64_function_prologue): Simplify .prologue emission.  Emit
478         .spill when needed.
479         (ia64_setup_incoming_varargs): Don't ever emit rtl.
480         (ia64_dbx_register_number): New.
481         (ia64_initialize_trampoline): New.
482         (ia64_secondary_reload_class): Request GR_REGS for integer
483         arithmetic destined for FR_REGS.
484         (ia64_init_machine_status): Don't reset return_address_pointer_rtx.
485         (ia64_mark_machine_status): Mark ia64_gp_save.
486         (rws_access_regno): Rename from rws_access_reg; don't treat
487         predicates specially.
488         (rws_access_reg): New.  Update all callers.
489         (rtx_needs_barrier): Remove dead unspecs.
490         (ia64_epilogue_uses): Mark ar.pfs and ar.unat live on exit.
491         (ia64_encode_section_info): Silence signed/unsigned warnings.
492         (spill_offset, sp_offset, spill_offset_emitted): Remove.
493         (tmp_reg, tmp_saved): Remove.
494         (process_set): Rewrite to expect complicated bits via 
495         REG_FRAME_RELATED_EXPR.
496         (ia64_expand_fetch_and_op): Use emit_move_insn; be explicit
497         in the use of ar.ccv; never set RTX_UNCHANGING_P.
498         (ia64_expand_op_and_fetch): Likewise.
499         (ia64_expand_compare_and_swap): Likewise.
500         (ia64_expand_builtin): Likewise.
501         * config/ia64/ia64.h (AR_UNAT_REGNUM): New.
502         (FIRST_PSEUDO_REGISTER): Update.
503         (AR_M_REGNO_P): Update.
504         (FIXED_REGS): Don't mark three local registers as used.
505         (EXTRA_CC_MODES): New.
506         (SELECT_CC_MODE): New.
507         (HARD_REGNO_NREGS): Allow DImode in p0; handle CCImode.
508         (HARD_REGNO_MODE_OK): Disallow CCImode from non-predicates.
509         (FRAME_GROWS_DOWNWARD): Unset.
510         (STARTING_FRAME_OFFSET): Zero.
511         (ELIMINABLE_REGS): Eliminate from the soft to hard frame pointer.
512         (INITIAL_ELIMINATION_OFFSET): Defer to out of line function.
513         (HARD_FRAME_POINTER_REGNUM): New.
514         (CAN_DEBUG_WITHOUT_FP): Define.
515         (TRAMPOLINE_TEMPLATE): Remove.
516         (TRAMPOLINE_SIZE): Lower to 32.
517         (TRAMPOLINE_ALIGNMENT): Lower to 64.
518         (INITIALIZE_TRAMPOLINE): Defer to out of line function.
519         (PREDICATE_CODES): Update.
520         (struct machine_function): Add ia64_gp_save.
521         * config/ia64/ia64.md: Purge unused unspecs.
522         (movsi patterns): Allow moves to/from AR_M_REGS.
523         (movdi patterns): Allow moves to/from p0.
524         (call patterns): Move most setjmp hackery to ia64_gp_save_reg.
525         (gr_spill, gr_restore): Indicate ar.unat read/written.
526         (nonlocal_goto): Don't pass old frame_pointer.
527         (nonlocal_goto_receiver): Remove.
528         (exception_receiver): New.
529         (builtin_setjmp_setup): New.
530         (builtin_setjmp_receiver): New.
531         * config/ia64/lib1funcs.asm (__ia64_save_stack_nonlocal): Bundle.
532         (__ia64_nonlocal_goto): Bundle.  Don't kill r7.
533         (__ia64_restore_stack_nonlocal): Likewise.
534         (__ia64_trampoline): New.
535         * config/ia64/sysv4.h (DBX_REGISTER_NUMBER): Defer to out of line
536         function.
537         * config/ia64/t-ia64 (LIB1ASMFUNCS): Add __trampoline.
539 2000-08-08  Richard Henderson  <rth@cygnus.com>
541         * frame.h (ia64_frame_state): Add my_psp.
542         * libgcc2.c (ia64_throw_helper): Add throw_sp argument.
543         (__throw): Pass it in.  Don't clobber r7.
544         * config/ia64/frame-ia64.c (init_ia64_reg_loc): Mark inline.
545         (execute_one_ia64_descriptor) [mem_stack_v]: Sets psp.when
546         and nothing to do with sp.
547         (normalize_reg_loc): Use frame->my_psp.
548         (frame_translate): Handle frame-pointer-less functions.  Set
549         spill_base correctly, in absence of being told.
550         (__build_ia64_frame_state): New sp argument.  Fill in frame->my_sp.
551         (__ia64_backtrace_helper): New sp argument.  Use
552         builtin_return_address instead of label addresses.
553         (print_record) [mem_stack_v]: No size member.
555 2000-08-08  Richard Henderson  <rth@cygnus.com>
557         * regclass.c (choose_hard_reg_mode): Iterate over all CC modes.
559 2000-08-08  Richard Henderson  <rth@cygnus.com>
561         * tm.texi (LOCAL_REGNO): Document.
562         * flow.c (LOCAL_REGNO, EPILOGUE_USES): Provide default.
563         (mark_regs_live_at_end): Don't mark LOCAL_REGNO registers.
564         * reload1.c (reload): Likewise when considering nonlocal labels.
566         * config/ia64/ia64.h (LOCAL_REGNO): New.
567         * config/sparc/sparc.h (LOCAL_REGNO): New.
569 2000-08-08  Joseph S. Myers  <jsm28@cam.ac.uk>
571         * c-lex.c (yylex): Don't allow integer suffixes 'LUL', 'Ll', 'lL'.
573 2000-08-07  Nick Clifton  <nickc@redhat.com>
575         * config/mips/mips.c: Fix compile time warning messages.
576         * config/mips/mips-protos.h: Add prototype for equality_op.
578         * mn10300.h (TARGET_SWITCHES): Document `-mam33'.
580 2000-08-07  Graham Stott  <grahams@cygnus.co.uk>
582         * mn10300.md: Use nonimmediate_operand instead of general_operand
583         on output operands.
584         
585         * mn10300.h (PREFERRED_RELOAD_CLASS): Limit memory reloads.
587 2000-08-07  Alexandre Oliva  <aoliva@redhat.com>
589         * sh.h (EXTRA_CONSTRAINT_Q): Adjust to GNU Coding Standards.
590         * sh.c (expand_block_move): Break long lines.
591         (expand_ashiftrt, fpscr_set_from_mem): Likewise.
592         * sh.md (mulsi3): Likewise.
593         (movdi): Adjust spacing.
595 2000-08-07  Richard Henderson  <rth@cygnus.com>
597         * expmed.c (store_bit_field): Don't require MEM_IN_STRUCT_P.
598         * expr.c (emit_group_store): Don't set it.
600 2000-08-07  Kazu Hirata  <kazu@hxi.com>
602         * invoke.texi (Options for Debugging Your Program or GCC): Remove
603         duplicate entries for 'w' and 'z'.
605         * flow.c: Fix a comment typo.
607 Sun Aug  6 23:47:35 2000  Ovidiu Predescu  <ovidiu@cup.hp.com>
609         * c-parse.in: Changed the language string for Objective-C to "GNU
610         Objective-C".
612 Sun Aug  6 11:54:03 2000  Ovidiu Predescu  <ovidiu@cup.hp.com>
614         * gthr-posix.h: Integrated Chris Ball's <cball@fmco.com> changes
615         to improve the Posix thread support for Objective-C.
617 2000-08-06  Joseph S. Myers  <jsm28@cam.ac.uk>
619         * c-common.h (enum c_tree_index): Add CTI_SIGNED_SIZE_TYPE and
620         CTI_UNSIGNED_PTRDIFF_TYPE.
621         (signed_size_type_node): Define.
622         (unsigned_ptrdiff_type_node): Define.
623         * c-decl.c (init_decl_processing): Create the
624         signed_size_type_node and unsigned_ptrdiff_type_node types.
625         * c-common.c (T_SC): Define.
626         (T_SST): Define.
627         (T_UPD): Define.
628         (print_char_table): Use T_SST for %zd, %zi, %zn.  Use T_UPD for
629         %to, %tu, %tx, %tX.  Allow %hhn (T_SC).  Add "c" to the flags for
630         %s and %p.
631         (scan_char_table): Use T_SC for %hhd, %hhi, %hhn.  Use T_SST for
632         %zd, %zi, %zn.  Use T_UPD for %to, %tu, %tx, %tX.  Add "c" to the
633         flags for %c, %s and %[.
634         (check_format_info): Only allow leniency for signedness of targets
635         of character pointers (when pedantic) for formats flagged with
636         "c", so for strings but not for %hh formats.  When pedantic, don't
637         allow character pointers to substitute for void pointers if a
638         second level of indirection is present.
640 2000-08-06  Kazu Hirata  <kazu@hxi.com>
642         * invoke.texi (Options for Debugging Your Program or GCC): Update
643         the names of dump files.
645         * h8300.c (dosize): Rearrange code for conciseness.
646         (split_adds_subs): Likewise.
648         * loop.c: Fix formatting.
650         * dwarf2out.c: Fix formatting.
652         * tm.texi (FUNCTION_ARG_PARTIAL_NREGS): Fix a typo.
654         * expr.c: Fix formatting.
656 2000-08-06  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
658         * rs6000.c (rs6000_maybe_dead): Prototype.
660 2000-08-06  Richard Henderson  <rth@cygnus.com>
662         * stmt.c (expand_goto): Do virtual_stack_vars_rtx replacement for
663         HAVE_nonlocal_goto as well.
664         * config/i960/i960.md (nonlocal_goto): Don't do it here.
665         * config/pj/pj.md (nonlocal_goto): Likewise.
667 2000-08-07  Michael Hayes  <mhayes@cygnus.com>
669         * loop.c (try_swap_copy_prop): New function.
670         (load_mems): Rename copies to load_copies and add new regset
671         store_copies.  Check for sets of shadow registers and mark
672         in store_copies.   Call try_swap_copy_prop for registers
673         marked in store_copies.
675 Sun Aug  6 00:54:42 2000  Ovidiu Predescu  <ovidiu@cup.hp.com>
677         * objc/objc-act.c: New command line option -fconstant-string-class
678         to allow specifying a user defined constant string class,
679         different from NXConstantString.
681         * toplev.c: Moved the Objective-C specific options to
682         objc/lang-options.h.
684         * objc/lang-options.h: Moved the Objective-C specific options from
685         toplev.c. Added -fconstant-string-class.
687 2000-08-05  Chris Demetriou  <cgd@sibyte.com>
689         * mips/elf.h (CTOR_LIST_BEGIN, CTOR_LIST_END,
690         DTOR_LIST_BEGIN, DTOR_LIST_END): change type of
691         __CTOR_LIST__ from func_ptr array to just func_ptr, to
692         avoid extra alignment imposed on arrays.
693         * mips/elf64.h (CTOR_LIST_BEGIN, CTOR_LIST_END,
694         DTOR_LIST_BEGIN, DTOR_LIST_END): Likewise.
696         * mips.h: Clean up comments and spacing near MASKs.
697         (TARGET_UNIX_ASM): Delete.
698         (MASK_MIPS16, MASK_NO_CHECK_ZERO_DIV, MASK_CHECK_RANGE_DIV,
699         MASK_UNINIT_CONST_IN_RODATA): Change values to make mask
700         values contiguous.
702 2000-08-05  Joseph S. Myers  <jsm28@cam.ac.uk>
704         * c-common.c (print_char_table): Add entries for the X/Open '
705         format flag (print decimals with locale's thousands grouping
706         character).  Make %C expect wint_t.
707         (check_format_info): If pedantic, warn when the %n$ operand
708         number form is used.  Allow for the ' flag; warn about it if
709         pedantic.
711 2000-08-05  Zack Weinberg  <zack@wolery.cumb.org>
713         * i386.h (FUNCTION_OK_FOR_SIBCALL):  Not OK if DECL's return
714         type is a float mode, cfun->decl's return type is not, and
715         TARGET_FLOAT_RETURNS_IN_80387.
717 2000-08-04  Andreas Schwab  <schwab@suse.de>
719         * cppmain.c (cb_def_pragma): Skip the first two tokens from the
720         token list, which are always `#' and `pragma'.
722 2000-08-04  Zack Weinberg  <zack@wolery.cumb.org>
724         * tree.c (tree_expr_nonnegative_p): Move to...
725         * fold-const.c: ... here.  Also handle BIND_EXPR and RTL_EXPR.
726         (rtl_expr_nonnegative_p): New.                                
727         * tree.h: Add prototype for rtl_expr_nonnegative_p.
729         * real.h (CONST_DOUBLE_LOW, CONST_DOUBLE_HIGH, CONST_DOUBLE_MEM,
730         CONST_DOUBLE_CHAIN: Move to...
731         * rtl.h: ...here.  Use XCINT/XCEXP.
733         * Makefile.in: Remove toplev.o from OBJS.  Add rule to make
734         libbackend.a; add libbackend.a to STAGESTUFF.  Add BACKEND
735         variable.  Use BACKEND when linking cc1, not OBJS.  Add BACKEND
736         to VOL_FILES.
738         * objc/Make-lang.in (cc1obj): Link with $(BACKEND).
740 2000-08-05  Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
742         * config/c4x/c4x.md (return_indirect_internal): New.
743         * config/c4x/c4x.c (c4x_expand_epilogue): Use it.
745 2000-08-04  Joseph S. Myers  <jsm28@cam.ac.uk>
747         * c-common.c (time_char_table): Mark up formats added in C99 and
748         make other corrections.  %D and %g were added in C99.  %Og is an
749         extension.  %EX is permitted.  %R, %T, %n, %r, %t were added in
750         C99.  %e was added in C99.  %Oj is an extension.  %G and %z are in
751         C99 rather than GNU extensions, but %OG and %Oz are extensions.
752         %h was added in C99.  %C was added in C99.  %OY and %OC are
753         extensions.  Add the C99 format %F.
754         (check_format_info): If pedantic and not in C99 mode, warn for C99
755         formats, %E and %O.
757 Fri Aug  4 23:01:58 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
759         * function.c (schedule_fixup_var_refs): New function, broken out
760         of put_reg_into_stack.
761         (put_reg_into_stack): Use it.
762         (put_var_into_stack): In CONCAT case, fixup up references for
763         components only after fixing up references to the whole concat.
765 2000-08-04  Rodney Brown  <RodneyBrown@pmsc.com>
767         * alias.c (mark_constant_function): Use INSN_P.
768         (init_alias_analysis): Likewise.
769         * combine.c (combine_instructions): Use INSN_P.
770         (can_combine_p): Likewise.
771         (try_combine): Likewise.
772         (distribute_notes): Likewise.
773         (distribute_links): Likewise.
774         * cse.c (cse_around_loop): Use INSN_P.
775         (invalidate_skipped_block): Likewise.
776         (cse_set_around_loop): Likewise.
777         (cse_end_of_basic_block): Likewise.
778         (delete_trivially_dead_insns): Likewise.
779         * emit-rtl.c (unshare_all_rtl_again): Use INSN_P.
780         (unshare_all_rtl_1): Likewise.
781         (next_cc0_user): Likewise.
782         (try_split make_insn_raw): Likewise.
783         (remove_unnecessary_notes): Likewise.
784         * final.c (shorten_branches): Use INSN_P.
785         (leaf_renumber_regs): Likewise.
786         (leaf_renumber_regs_insn): Likewise.
787         * flow.c (find_label_refs): Use INSN_P.
788         (verify_wide_reg): Likewise.
789         (notice_stack_pointer_modification): Likewise.
790         (count_or_remove_death_notes): Likewise.
791         (verify_flow_info): Likewise.
792         (clear_log_links): Likewise.
793         * function.c (fixup_var_refs_insns): Use INSN_P.
794         (compute_insns_for_mem): Likewise.
795         * gcse.c (alloc_gcse_mem): Use INSN_P.
796         (compute_sets): Likewise.
797         (compute_hash_table): Likewise.
798         (classic_gcse): Likewise.
799         (cprop): Likewise.
800         (insert_insn_end_bb): Likewise.
801         (delete_null_pointer_checks_1): Likewise.
802         * global.c (expand_preferences): Use INSN_P.
803         (build_insn_chain): Likewise.
804         * graph.c (node_data): Use INSN_P.
805         * haifa-sched.c (priority): Use INSN_P.
806         (rm_line_notes): Likewise.
807         (rm_other_notes): Likewise.
808         (find_insn_reg_weight): Likewise.
809         (init_target_units): Likewise.
810         (schedule_block): Likewise.
811         (compute_block_forward_dependences): Likewise.
812         (debug_dependencies): Likewise.
813         (set_priorities): Likewise.
814         * integrate.c (function_cannot_inline_p): Use INSN_P.
815         (save_parm_insns): Likewise.
816         (copy_insn_list): Likewise.
817         * jump.c (mark_all_labels): Use INSN_P.
818         (never_reached_warning): Likewise.
819         * lcm.c (optimize_mode_switching): Use INSN_P.
820         * local-alloc.c (validate_equiv_mem): Use INSN_P.
821         (memref_used_between_p): Likewise.
822         (update_equiv_regs): Likewise.
823         (block_alloc): Likewise.
824         (no_conflict_p): Likewise.
825         * loop.c (scan_loop): Use INSN_P.
826         (find_and_verify_loops): Likewise.
827         (count_loop_regs_set): Likewise.
828         (loop_reg_used_before_p): Likewise.
829         (strength_reduce): Likewise.
830         (recombine_givs): Likewise.
831         (check_dbra_loop): Likewise.
832         (load_mems): Likewise.
833         (try_copy_prop): Likewise.
834         * print-rtl.c (print_rtx): Use INSN_P.
835         * recog.c (find_single_use): Use INSN_P.
836         * reg-stack.c (stack_regs_mentioned): Use INSN_P.
837         (next_flags_user): Likewise.
838         (swap_rtx_condition): Likewise.
839         * regmove.c (mark_flags_life_zones): Use INSN_P.
840         (optimize_reg_copy_1): Likewise.
841         (optimize_reg_copy_2): Likewise.
842         (optimize_reg_copy_3): Likewise.
843         (reg_is_remote_constant_p): Likewise.
844         (fixup_match_2): Likewise.
845         (regmove_optimize): Likewise.
846         (fixup_match_1): Likewise.
847         * regrename.c (build_def_use): Use INSN_P.
848         (replace_reg_in_block): Likewise.
849         (consider_use): Likewise.
850         * reload.c (find_equiv_reg): Use INSN_P.
851         * reload1.c (reload): Use INSN_P.
852         (maybe_fix_stack_asms): Likewise.
853         (calculate_needs_all_insns): Likewise.
854         (reload_as_needed): Likewise.
855         (emit_output_reload_insns): Likewise.
856         (delete_address_reloads_1): Likewise.
857         (reload_cse_regs_1): Likewise.
858         (reload_combine): Likewise.
859         (reload_cse_move2add): Likewise.
860         * reorg.c (redundant_insn): Use INSN_P.
861         (dbr_schedule): Likewise.
862         * resource.c (find_dead_or_set_registers): Use INSN_P.
863         (mark_target_live_regs): Likewise.
864         * rtlanal.c (reg_used_between_p): Use INSN_P.
865         (reg_referenced_between_p): Likewise.
866         (reg_set_between_p): Likewise.
867         (reg_set_p): Likewise.
868         (single_set): Likewise.
869         (multiple_sets): Likewise.
870         (find_last_value): Likewise.
871         (reg_set_last): Likewise.
872         (find_reg_note): Likewise.
873         (find_regno_note): Likewise.
874         * sibcall.c (sequence_uses_addressof): Use INSN_P.
875         * simplify-rtx.c (cselib_process_insn): Use INSN_P.
876         * ssa.c (find_evaluations): Use INSN_P.
877         (rename_block): Likewise.
878         (rename_equivalent_regs): Likewise.
879         * unroll.c (loop_find_equiv_value): Use INSN_P.
880         (set_dominates_use): Likewise.
881         * varasm.c (mark_constant_pool): Use INSN_P.
882         (mark_constants): Likewise.
883         * config/alpha/alpha.c (alpha_does_function_need_gp): Use INSN_P.
884         (alphaev4_next_group): Likewise.
885         (alphaev5_next_group): Likewise.
886         * config/c4x/c4x.c (c4x_process_after_reload): Use INSN_P.
887         (c4x_rptb_rpts_p): Likewise.
888         * config/mips/mips.c (mips16_optimize_gp): Use INSN_P.
889         * config/rs6000/rs6000.c (uses_TOC): Use INSN_P.
890         (rs6000_adjust_priority): Likewise.
891         * config/sh/sh.c (sh_loop_align): Use INSN_P.
892         (machine_dependent_reorg): Likewise.
893         (split_branches): Likewise.
894         * config/tahoe/tahoe.c (tahoe_cmp_check): Use INSN_P.
896 Fri Aug  4 11:43:49 2000  John Wehle  (john@feith.com)
898         * combine.c (recog_for_combine): Remove the old notes
899         prior to attempting to recognize the new pattern.
900         (distribute_notes): Ignore REG_NONNEG notes.
902 2000-08-04  Chandrakala Chavva  <cchavva@redhat.com>
904         * varasm.c (output_constructor): Add .align 0 for packed vars.
906 2000-08-04  J. David Anglin  <dave@hiauly1.hia.nrc.ca>
908         * configure.in: Use default thread_file even when enable_threads is
909         yes or dce because hpux10.20 pa port uses MULTILIB implementation.
910         * configure: Rebuilt.
912         * gthr-dce.h (__gthread_objc_condition_allocate): Fix typo.
914 2000-08-04  Donn Terry (donnte@microsoft.com)
916         * prefix.c (translate_name): Don't strip trailing DIR_SEPARATOR.
918 2000-08-04  Mark Elbrecht  <snowball3@bigfoot.com>
920         * i386/x-djgpp: Delete code that conditionally modifies target_alias.
921         Delete code that conditionally modifies 'version'.
922         Delete X_CPPFLAGS. Add comment for SYSTEM_HEADER_DIR.
923         * i386/xm-djgpp.h (GCC_DRIVER_HOST_INITIALIZATION): New macro.
924         * gcc.c (main): Use it.
925         * config/i386/xm-djgpp.h (UPDATE_PATH_HOST_CANONICALIZE): New macro.
926         * prefix.c (update_path): Use it.
927         * i386/djgpp.h (STANDARD_INCLUDE_DIR): Define.
928         (MD_EXEC_PREFIX): Set to '/dev/env/DJDIR/bin/'.
929         (ASM_OUTPUT_SECTION_NAME): Add code attribute to sections containing
930         code.
931         (SUPPORTS_WEAK, SUPPORTS_ONE_ONLY): Default to true.
932         (SUBTARGET_SWITCHES): Adjust.
933         (WCHAR_UNSIGNED, WCHAR_TYPE_SIZE, WCHAR_TYPE): Undefine before
934         defining.
935         (WINT_TYPE, SIZE_TYPE, PTRDIFF_TYPE): Define.
937 2000-08-04  Joseph S. Myers  <jsm28@cam.ac.uk>
939         * c-common.h (flag_isoc94): Declare.
940         * c-decl.c (flag_isoc94): Define.
941         (c_decode_option): Set flag_isoc94 as appropriate.
942         * c-common.c (T_PD, T_IM, T_UIM): Define.
943         (format_char_info): Add tlen and jlen.
944         (print_char_table): Add entries for %t and %j.  Allow %zn.  Allow
945         %F.  Allow %lf.
946         (scan_char_table): Add entries for %t and %j.  Allow %F.  Allow
947         %l[.
948         (time_char_table): Add NULL entries for %t and %j.
949         (check_format_info): Allow for %t and %j.  Warn for %F if pedantic
950         and not C99.  Warn for %lc, %ls and %l[ if pedantic and not C94.
951         Warn for printf %lf if pedantic and not C99.  Don't warn for empty
952         precision.  Allow precision argument to be unsigned int.  If
953         pedantic, warn for %p passed an argument not a pointer to possibly
954         qualified void or a possibly qualified character type, and for
955         pointer targets of the wrong sign, except for character pointers.
957 2000-08-04  Joseph S. Myers  <jsm28@cam.ac.uk>
959         * ginclude/stddef.h: Don't declare wint_t unless __need_wint_t.
960         * c-common.h (enum c_tree_index): Add CTI_WINT_TYPE.
961         (wint_type_node): Define.
962         * c-decl.c (WINT_TYPE): Define.
963         (init_decl_processing): Create the wint_type_node type.
964         * c-common.c (T_WI): Define.
965         (print_char_table): Use T_WI for %lc format.
967 2000-08-04  Bruce Korb  <bkorb@gnu.org>
969         * fixinc/:  Verified that the MSDOS patch does not break
970         the UNIX functionality and applied the next three patches
971         from July:
973 2000-07-28  Eli Zaretskii  <eliz@is.elta.co.il>
975         * fixinc/fixfixes.c (main) [__MSDOS__]: Avoid overwriting the
976         output file with the temporary one by appending ".X" to generate
977         the temporary fuile's name.  If the output file already has an
978         extension, replace it with ".X".
980         * fixinc/fixincl.c (fix_with_system) [__MSDOS__]: Use $ORIGDIR,
981         not $DESTDIR, to find applyfix.  Use sprintf instead of snprintf;
982         reallocate the command buffer while copying the command-line
983         argument.  Redirect the output directly to the temporary file,
984         instead of going through another temporary file.
985         (process): Close the temporary file before unlinking it.
986         (machine_matches) [__MSDOS__]: If the machine doesn't match, set
987         the FD_SKIP_TEST flag.  Pay attention to the FD_MACH_IFNOT flag.
988         (run_compiles): Pass p_fixd argument to machine_matches, as it
989         expects.
991         * fixinc/fixincl.sh: Export ORIGDIR.  If $DJDIR is set in the
992         environment, assume there are no symlinks in the include
993         directory.  When cleaning up the DONE files, look for them
994         case-insensitively.  Don't try to remove symlinks if they aren't
995         there.
997         * fixinc/fixlib.c (make_raw_shell_str): Accept new argument smax;
998         all callers changed.  Declare pz "const char *", to avoid compiler
999         warnings.
1001         * fixinc/fixlib.h (ENV_TABLE): Get ORIGDIR from the environment.
1002         Change prototype of make_raw_shell_str.
1004 2000-07-27  Eli Zaretskii  <eliz@is.elta.co.il>
1006         * fixinc/fixincl.c [__MSDOS__]: Don't include "server.h".
1007         (initialize) [__MSDOS__]: Use tempnam.
1008         (initialize): Don't use SIGPIPE if it is not defined.
1010         * fixinc/fixfixes.c (main) [__MSDOS__]: freopen for stdout should
1011         return stdout.
1013 2000-07-25  Bruce Korb  <bkorb@gnu.org>
1015         * fixinc/fix*.[ch]: substantially reworked to make it possible
1016         to run this program without using fork(2) or pipe(2) (i.e. in
1017         a DOS environment).
1019 2000-08-04  Joseph S. Myers  <jsm28@cam.ac.uk>
1021         * cppdefault.h (WINT_TYPE): Define.
1022         * cppinit.c (builtin_array): Define __WINT_TYPE__.
1023         * tradcpp.c (initialize_builtins): Define __WINT_TYPE__.
1024         * tm.texi (NO_BUILTIN_WINT_TYPE, WINT_TYPE): Document.
1026 Fri Aug  4 06:53:46 2000  Clinton Popetz  <cpopetz@cygnus.com>
1028         * (mips_legitimate_address_p): Don't allow register+offset              
1029         if the offset is large and negative, and we are compiling               
1030         for 64 bit registers.                                                   
1032 2000-08-04 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
1034         * gencodes.c (main): Define CODE_FOR_nothing as the last possible
1035         insn_code_number + 1.
1037 2000-08-04  Kazu Hirata  <kazu@hxi.com>
1039         * h8300.c (function_prologue): Rearrange code for conciseness.
1040         (function_epilogue): Likewise.
1041         * h8300.h (OK_FOR_U): Fix formatting.
1043         * cse.c: Fix a comment typo. Fix formatting.
1045 2000-08-03  Richard Henderson  <rth@cygnus.com>
1047         * config/i386/i386.md (return_indirect_internal): New.
1048         * config/i386/i386.c (ix86_expand_epilogue): Use it.
1050 2000-08-03  Zack Weinberg  <zack@wolery.cumb.org>
1052         * cpplex.c (parse_name): Might have to glue a CPP_OTHER token
1053         before the name.
1054         (lex_line): Glue @ onto the beginning of identifiers and
1055         string constants, in Objective-C mode.
1056         (output_token, spell_token): Handle CPP_OSTRING.
1057         (can_paste, maybe_paste_with_next): Handle pasting @ onto the
1058         beginning of a NAME or a STRING, in objc mode.
1060         * cpplib.c (get_define_node): Do not permit identifiers that
1061         begin with @ to be #defined.
1062         * cppmacro.c (CAN_PASTE_AFTER): Add CPP_OTHER.
1063         * cpplib.h (TTYPE_TABLE): Add CPP_OSTRING.
1065         * c-lang.c, objc/objc-act.c (build_objc_string): Delete.
1066         * c-tree.h (build_objc_string): Delete prototype.
1067         * objc/objc-tree.def: Delete OBJC_STRING_CST.
1068         * c-lex.c (yylex): Use build_string for all three kinds of strings.
1070         * c-parse.in, objc/objc-act.c: Update commentary.
1072 2000-08-03  Mark Mitchell  <mark@codesourcery.com>
1074         * extend.texi: Fix typo in last change.
1076         * extend.texi: Add commentary on statement-expressions and their
1077         interactions with C++.
1079 2000-08-03  Nick Clifton  <nickc@cygnus.com>
1081         * dwarf2.h (DW_LANG_Java): Change value to 0x000b.
1082         * dwarf.h (LANG_JAVA): Change value to 0x000b.
1084 2000-08-03  Anthony Green  <green@cygnus.com>
1086         * dwarf2out.c (gen_compile_unit_die): Add java language support.
1087         (add_bound_info): Check for java language.
1088         (is_java): New function.
1089         * dwarfout.c (output_compile_unit_die): Ditto.
1090         * dwarf.h (dwarf_source_language): Add java source language type.
1091         * dwarf2.h (dwarf_source_language): Ditto.
1093 Thu Aug  3 20:32:25 MET DST 2000  Jan Hubicka  <jh@suse.cz>
1095         * reg-stack.c (subst_stack_regs_pat):  Use replace_reg to swap
1096         operands.
1098         * i386.c (ix86_expand_branch): Mode of comparison in
1099         IF_THEN_ELSE is VOIDmode.
1101 Thu Aug  3 10:05:53 2000  Akiko Matsushita <matusita@sra.co.jp>
1103         * gengenrtl.c, rtl.c: Avoid #elif.
1105 2000-08-03  Michael Poole  <poole@troilus.org>
1107         * tm.texi (Register Classes): Clarify order of sub-initializers
1108         in REG_CLASS_CONTENTS.
1110 Thu Aug  3 15:53:03 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
1112         From SAITOH Masanobu:
1113         * sh.h (ASM_OUTPUT_REG_PUSH): Fix syntax.
1115 2000-08-03  David Billinghurst  <David.Billinghurst@riotinto.com.au>
1117         * config/i386/cygwin.h: Remove -remap from CPP_SPEC since this option
1118         is not supported by tradcpp and isn't actually needed for cygwin.
1120 2000-08-03  Kazu Hirata  <kazu@hxi.com>
1122         * h8300.c: Fix a comment typo.
1123         * h8300.h (OK_FOR_U): Accept a 32-bit constant address on H8/S.
1125         * jump.c: Fix formatting.
1127         * toplev.c: Fix formatting.
1129 Thu Aug  3 01:05:32 2000  Jeffrey A Law  (law@cygnus.com)
1131         * flow.c (find_auto_inc): Verify that we've got a REG before
1132         peeking at its regno.  Fail, don't abort if we can't find
1133         the increment of the desired register.
1135         * pa.md (shadd height reduction patterns/splitters): Remove.
1137 2000-08-02  Jim Wilson  <wilson@cygnus.com>
1139         * config/ia64/ia64-protos.h (flag_ssa): Declare.
1140         * config/ia64/ia64.md (movti_internal, movti_internal+1): New.
1142 2000-08-02  Mark Mitchell  <mark@codesourcery.com>
1144         * dce.c: Remove all uses of assert.
1145         * dwarf2out.c: Likewise.
1146         * dwarfout.c: Likewise.
1147         * ssa.c: Likewise.
1149 2000-08-02  Zack Weinberg  <zack@wolery.cumb.org>
1151         * gcc.h (lang_specific_driver): Constify second argument.
1152         * gcc.c (translate_options, process_command, main): Likewise.
1153         Constify variables to match.  Cast second argument to
1154         pexecute.
1156         * cppspec.c, gccspec.c: Adjust type of second argument to
1157         lang_specific_driver, and update code as necessary.
1159 2000-08-02  Jakub Jelinek  <jakub@redhat.com>
1161         * loop.c (scan_loop): Ensure update_end label does not
1162         go away until reg_scan_update is run.
1164 2000-08-02  Zack Weinberg  <zack@wolery.cumb.org>
1166         * c-common.h: Prototype min_precision and c_build_qualified_type here...
1167         * c-tree.h: ... not here.
1168         * errors.h: Prototype fancy_abort.
1170         * emit-rtl.c (gen_lowpart_common): Move variable 'c' into
1171         HOST_BITS_PER_WIDE_INT == 64 ifdef block.
1172         * regrename.c (regrename_optimize): Make control flow explicit.
1173         (replace_reg_in_block): Initialize reg_use to 0.
1175         * i386.c (legitimate_address_p): Rename error label to
1176         report_error to avoid namespace clash.
1178 2000-08-02  Kazu Hirata  <kazu@hxi.com>
1180         * fold-const.c: Fix formatting.
1182 Wed Aug  2 16:26:15 MET DST 2000  Jan Hubicka  <jh@suse.cz>
1184         * i386.c (legitimate_address_p): Accept other bases than
1185         pic_offset_table_rtx for GOTOFF constructs.
1187 Wed Aug  2 15:59:34 MET DST 2000  Jan Hubicka  <jh@suse.cz>
1189         * i386.md (shift to lea splitter): Use const_int_operand.
1191 2000-08-02  Zack Weinberg  <zack@wolery.cumb.org>
1193         * cppexp.c, cppinit.c, cpplex.c, cpplib.c, cppmacro.c,
1194         cppspec.c: Do not use 'legal' or 'illegal' in error messages
1195         and comments.
1197         * cppmain.c (cb_define, cb_undef): Don't generate any output
1198         if not done_initializing.
1199         * cpplex.c (maybe_paste_with_next): When the token after a ##
1200         is an omitted rest argument, only delete the token before it
1201         if that token is a comma.  Do not warn about bogus token
1202         pastes for , ## rest_arg.
1204         * cpp.texi: Update.
1205         * cpp.1: Regenerate.
1207 2000-08-02  Fred Fish  <fnf@be.com>
1209         * config/i386/beos-elf.h (STARTFILE_SPEC): Add i386-mcount.o
1210         when user gives -p option.  Add init_term_dyn.o for BeOS 5.0
1211         and later.
1213         * config/i386/beos-elf.h (INCLUDE_DEFAULTS): Add additional
1214         Be directories to search path.
1216         Remove support for __declspec(dllimport) and __declspec(dllexport).
1217         This is leftover cruft from the earlier BeOS gcc port when BeOS
1218         used Microsoft's PE object file format.
1219         * configure.in (i*86-*-beoself): Remove extra_objs=winnt.o.
1220         * config/i386/t-beos (winnt.o): Remove Makefile frag.
1221         * config/i386/beos-elf.h (TARGET_NOP_FUN_DLLIMPORT): Remove.
1222         (VALID_MACHINE_DECL_ATTRIBUTE): Remove.
1223         (VALID_MACHINE_TYPE_ATTRIBUTE): Remove.
1224         (MERGE_MACHINE_DECL_ATTRIBUTES): Remove.
1225         (REDO_SECTION_INFO_P): Remove.
1226         (ASM_EXPORT_DECL): Remove.
1227         (ASM_DECLARE_FUNCTION_NAME): Remove.
1228         (ASM_DECLARE_OBJECT_NAME): Remove.
1229         (ASM_OUTPUT_ALIGNED_COMMON): Remove.
1230         (ASM_OUTPUT_ALIGNED_DECL_COMMON): Remove.
1231         (ASM_OUTPUT_ALIGNED_LOCAL): Remove.
1232         (STRIP_NAME_ENCODING): Remove.
1234         Remove support for obsolete version of BeOS that is no longer
1235         supported by Be.
1236         * configure.in (i*86-*-beospe*): Remove.
1237         * config/i386/beos-pe.h: Remove.
1239 2000-08-01  Jeffrey Oldham  <oldham@codesourcery.com>
1240             Mark Mitchell <mark@codesourcery.com>
1242         * Makefile.in (OBJS): Added dce.o.
1243         (ssa.o): Updated target to include ssa.h.
1244         (flow.o): Likewise.
1245         (toplev.o): Likewise.
1246         (dce.o): Created target.
1247         * basic-block.h: Added comments.
1248         (INVALID_BLOCK): Added definition.
1249         (connect_infinite_loops_to_exit): Added declaration.
1250         Moved SSA declarations to ssa.h.
1251         * flow.c: Added inclusion of ssa.h.
1252         (struct depth_first_search_dsS, depth_first_search_ds):
1253         Added definitions.
1254         (compute_immediate_postdominators): Added definition.
1255         (connect_infinite_loops_to_exit): Likewise.
1256         (flow_dfs_compute_reverse_init): Likewise.
1257         (flow_dfs_compute_reverse_add_bb): Likewise.
1258         (flow_dfs_compute_reverse_execute): Likewise.
1259         (flow_dfs_compute_reverse_finish): Likewise.
1260         * rtl.h (rtx/in_struct): Added use to determine insn necessity.
1261         (LABEL_P): Added definition.
1262         (JUMP_P): Likewise.
1263         (NOTE_P): Likewise.
1264         (BARRIER_P): Likewise.
1265         (JUMP_TABLE_DATA_P): Likewise.
1266         (INSN_DEAD_CODE_P): Likewise.
1267         * ssa.c: Replaced inclusions with ssa.h inclusion.
1268         (CONVERT_HARD_REGISTER_TO_SSA_P): Moved to ssa.h.
1269         (rename_registers): Removed unnecessary variables.
1270         * ssa.h: Created by moving declarations from ssa.c and
1271         basic-block.h.
1272         * timevar.def: Defined TV_DEAD_CODE_ELIM.
1273         * toplev.c: Added ssa.h inclusion.
1274         (dump_file_index): Added DFI_dce.
1275         (dump_file): Added "dce" entry.
1276         Defined flag_ssa.
1277         (f_options): Added dce entry.
1278         * invoke.texi: Document -fdce.  Emphasize experimental status of
1279         -fssa.
1280         * dce.c: New file.
1282 2000-08-01  Zack Weinberg  <zack@wolery.cumb.org>
1284         * cpperror.c (v_message): Split into _cpp_begin_message and
1285         v_message macro.  All callers updated.
1286         (_cpp_begin_message): Do inhibit_errors/inhibit_warnings
1287         checks here.
1289         * cppfiles.c (cpp_syshdr_flags): New function.
1290         (read_include_file): Don't call cpp_output_tokens.  Call
1291         enter_file hook.
1292         * cppinit.c (dump_macros_helper): Moved to cppmain.c.
1293         (cpp_reader_init): Don't initialize token_buffer.  Call
1294         _cpp_init_internal_pragmas.
1295         (cpp_cleanup): Don't clear token_buffer.
1296         (cpp_start_read): Don't worry about output from -D processing.
1297         Don't call cpp_output_tokens.
1298         (cpp_finish): Don't dump macros here.  Don't call
1299         cpp_output_tokens.
1300         * cppmacro.c (_cpp_dump_definition): Rename
1301         cpp_dump_definition.  Write directly to a FILE *.
1302         (dump_funlike_macro): Delete.
1303         (dump_macro_args): New.
1305         * cpplex.c (TOKEN_LEN): Convert to inline function.
1306         (_cpp_grow_token_buffer, safe_fwrite, cpp_output_tokens,
1307         cpp_scan_line, _cpp_dump_list): Delete.
1308         (cpp_printf, cpp_output_list): New.
1309         (output_line_command): Don't worry about entering or leaving files.
1310         (cpp_scan_buffer): Just output each token as we hit it.
1311         (process_directive): Don't call cpp_output_tokens.
1312         (_cpp_glue_header_name): Don't use token_buffer.
1313         (output_token, dump_param_spelling): Write directly to a FILE *.
1315         * cpplib.c (pass_thru_directive, dump_macro_name,
1316         pragma_dispatch, do_pragma_gcc): Delete.
1317         (do_define, do_undef, parse_include, do_line, do_ident, do_pragma,
1318         do_pragma_poison, cpp_pop_buffer): Call the appropriate hook
1319         functions.
1320         (do_error, do_warning, pragma_dependency): Call
1321         _cpp_begin_message, then cpp_output_list.
1322         (cpp_register_pragma, cpp_register_pragma_space,
1323         _cpp_init_internal_pragmas): New.
1324         (do_pragma): Walk the pragmas table here.
1325         (do_pragma_once, do_pragma_poison, do_pragma_system_header,
1326         do_pragma_dependency): Return void.
1327         (do_pragma_implementation): Moved to cppmain.c.
1329         * cpplib.h: Update prototypes.
1330          (struct cpp_reader): Remove printer, token_buffer,
1331         token_buffer_size, and limit.  Add struct cb, and pragmas.
1332         (struct cpp_printer): Remove last_id and written.
1333         (CPP_WRITTEN, CPP_PWRITTEN, CPP_SET_WRITTEN,
1334         CPP_ADJUST_WRITTEN): Delete.
1335         * cpphash.h: Update prototypes.
1336         (ufputs): New wrapper.
1338         * cppmain.c (cb_define, cb_undef, cb_include, cb_ident,
1339         cb_enter_file, cb_leave_file, cb_def_pragma): New functions.
1340         (main): Set up callbacks.  Register #pragma implementation.
1341         Dump macros from here.
1343 2000-08-01  Geoff Keating  <geoffk@cygnus.com>
1345         * rtl.h (enum reg_note): Add REG_MAYBE_DEAD.
1346         * rtl.c (reg_note_name): Add REG_MAYBE_DEAD.
1347         * flow.c (propagate_one_insn): Allow deletion of prologue/epilogue
1348         insns if they have a REG_MAYBE_DEAD note attached.
1349         * config/rs6000/rs6000.c (rs6000_maybe_dead): New function.
1350         (rs6000_emit_load_toc_table): TOC loads may go dead.
1352 2000-08-01  Jim Wilson  <wilson@cygnus.com>
1354         * config/ia64/ia64.c (ia64_function_arg): Fix last change.  Verify
1355         type exists before using it.  Use number of words as alignment
1356         otherwise.
1357         (ia64_function_arg_partial_nregs, ia64_function_arg_advance,
1358         ia64_va_arg): Propagate ia64_function_args changes here.
1360 2000-08-01  Richard Henderson  <rth@cygnus.com>
1362         * config/elfos.h (ASM_DECLARE_OBJECT_NAME): Care for null DECL.
1363         * config/ia64/sysv4.h (ASM_OUTPUT_ALIGNED_DECL_LOCAL): Likewise.
1365 2000-08-01  Bernd Schmidt  <bernds@cygnus.co.uk>
1367         From Joern Rennecke:
1368         * sh.h (CPP_SPEC, TARGET_SWITCHES): Add m4-nofpu.
1369         * sh.md (udivsi3, divsi3): Don't use libcalls that use the FPU
1370         unless TARGET_SH3E is set.
1371         * t-sh (MULTILIB_MATCHES): Add m2=m4-nofpu.
1373         * sh.md (ashlsi3_d, ashlsi3_k): Remove, replace with
1374         (ashlsi3_std): New pattern.
1375         (ashlsi3 expander): Use it for TARGET_SH3.
1376         * sh.c (gen_ashift): Use it instead of ashlsi3_k.
1378 Tue Aug  1 12:34:21 MET DST 2000  Jan Hubicka  <jh@suse.cz>
1380         * loop.c (canonicalize_condition):  Use destination, not source to
1381         determine SET's mode.
1383 2000-07-31  Mark Mitchell  <mark@codesourcery.com>
1385         * flow.c (clear_log_links): Fix typo.
1387 Mon Jul 31 22:19:24 2000  Jeffrey A Law  (law@cygnus.com)
1389         * loop.c (check_dbra_loop): Make change from July 17, 2000 work
1390         on targets which need more than one insn for a compare/cbranch
1391         operation.
1393 2000-07-31  Jim Wilson  <wilson@cygnus.com>
1395         * config/ia64/ia64.c (ia64_function_arg): Use alignment not size
1396         when computing offset.
1398 Mon Jul 31 20:35:50 2000  Denis Chertykov  <denisc@overta.ru>
1400         * genpeep.c (main): Handle DEFINE_PEEPHOLE2.
1402 2000-07-31  Geoff Keating  <geoffk@cygnus.com>
1404         * flow.c (clear_log_links): Nuke global_live_at_start and
1405         global_live_at_end data, since if the log_links stuff is invalid
1406         so is global_live_at_*.
1408 2000-07-31  Richard Henderson  <rth@cygnus.com>
1410         * tm.texi (Addressing Modes): Clarify PRE/POST_MODIFY descriptions.
1412 2000-07-31  Jakub Jelinek  <jakub@redhat.com>
1414         * cpplex.c (_cpp_get_line): If index is 0, return line 0 col 0.
1415         (_cpp_get_token): Don't macro expand a just pasted token if it
1416         was pasted at no_expand_level.
1418 2000-07-31  Zack Weinberg  <zack@wolery.cumb.org>
1420         * cppmacro.c (find_param, count_params, save_expansion):
1421         Permit 'defined' as a macro parameter name.
1423 2000-07-31  Zack Weinberg  <zack@wolery.cumb.org>
1425         * Makefile.in: Rename cpp to cpp0, tradcpp to tradcpp0, and
1426         xcpp to cpp throughout.
1427         (native): Remove unnecessary dependency on cpp.
1429         * gcc.c (trad_capable_cpp, C specs): Rename cpp to cpp,
1430         tradcpp to tradcpp0.
1431         (.i spec): Add missing output-file spec to cc1 command line.
1432         * objc/lang-specs.h: Rename cpp to cpp0 and/or tradcpp to tradcpp0.
1434 2000-07-31  Zack Weinberg  <zack@wolery.cumb.org>
1436         * c-decl.c (mesg_implicit_function_declaration): Init to -1.
1437         (implicit_decl_warning): New function.
1438         (implicitly_declare): Use it.
1439         * c-typeck.c (build_external_ref): Use implicit_decl_warning
1440         to complain about implicit decls of builtins.
1442         * c-lang.c (lang_init): Set mesg_implicit_function_declaration
1443         based on pedantic && flag_isoc99, if not already set.
1444         * c-tree.h: Declare mesg_implicit_function_declaration.
1445         Prototype implicit_decl_warning.
1447 2000-07-30  Jeffrey D. Oldham  <oldham@codesourcery.com>
1449         * Makefile.in (ssa.o): Updated header files in dependences.
1450         * basic-block.h: Added compute_immediate_postdominators declaration.
1451         * config/i386/i386.h (CONVERT_HARD_REGISTER_TO_SSA_P): Added
1452         definition.
1453         * flow.c (compute_immediate_dominators): Updated comment.
1454         (compute_immediate_postdominators): Added definition.
1455         * rtl.h (HARD_REGISTER_P): Added definition.
1456         * ssa.c: Include additional header files.
1457         (assert): Added definition.
1458         (ssa_rename_to_lookup): Added to reimplement ssa_rename_to to
1459         include select hard registers.
1460         (ssa_rename_to_insert): Likewise.
1461         (ssa_rename_from_initialize): Likewise.
1462         (ssa_rename_from_lookup): Likewise.
1463         (original_register): Likewise.
1464         (ssa_rename_from_insert): Added to reimplement ssa_rename_from to
1465         include select hard reigsters.
1466         (ssa_rename_from_traverse): Likewise.
1467         (ssa_rename_from_free): Likewise.
1468         (ssa_rename_from_print): Likewise.
1469         (ssa_rename_from_print_1): Likewise.
1470         (ssa_rename_from_hash_function): Likewise.
1471         (ssa_rename_from_equal): Likewise.
1472         (ssa_rename_from_delete): Likewise.
1473         (simplify_to_immediate_dominators): Removed in favor of
1474         flow.c:compute_immediate_dominators.
1475         (find_evaluations_1): Modified to work with hard registers.
1476         (insert_phi_node): Likewise.
1477         (insert_phi_nodes): Likewise.
1478         (struct rename_set_data): Updated prev_reg comment.
1479         (create_delayed_rename): Modified to work with hard registers.
1480         (RENAME_NO_RTX): Updated comment.
1481         (apply_delayed_renames): Modified to work with hard registers.
1482         (rename_insn_1): Likewise and added handling of CLOBBER rtls.
1483         (rename_block): Updated to use revised ssa_rename_to interface.
1484         (rename_registers): Updated to use revised ssa_rename_to and
1485         ssa_rename_from interface.
1486         (convert_to_ssa): Revised to use compute_immediate_dominators and
1487         deal with hard registers.
1488         (make_regs_equivalent_over_bad_edges): Modified to work with hard
1489         registers.  Added check for illegal unification of hard register.
1490         (make_equivalent_phi_alternatives_equivalent): Modified to work
1491         with hard registers.
1492         (compute_conservative_reg_partition): Likewise.
1493         (coalesce_if_unconflicting): Modified to work with hard registers
1494         and check for conflicting hard registers.
1495         (mark_phi_and_copy_regs): Revised loop to work only on pseudo
1496         registers.
1497         (rename_equivalent_regs_in_insn): Modified to work with hard
1498         registers.
1499         (record_canonical_element_1): Added definition.
1500         (check_hard_regs_in_partition): Added definition.
1501         (convert_from_ssa): Added data structure deallocation and check
1502         for illegal hard register unification.
1503         (conflict_hard_regs_p): Added definition.
1504         * toplev.c (rest_of_compilation): Added comment.
1506 2000-07-31  Anthony Green  <green@redhat.com>
1508         * config/ia64/crtbegin.asm (__EH_FRAME_BEGIN__): Align correctly.
1510 2000-07-31  Jason McMullan  <jmcmullan@linuxcare.com>
1512         * builtins.c (expand_builtin_apply): Don't defer pop during
1513         argument setup.
1515 2000-07-31 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
1517         * calls.c (combine_pending_stack_adjustment_and_call): Only use
1518         preferred_unit_stack_boundary when it is > 1.
1520 2000-07-31  Joseph S. Myers  <jsm28@cam.ac.uk>
1522         * c-common.c (init_function_format_info): Add C99 format functions
1523         in C99 mode.
1525         * c-decl.c (get_parm_info): Don't treat 'const void', 'volatile
1526         void' or 'register void' as being the special case of 'void' alone
1527         in a parameter list.
1529         * c-typeck.c (build_c_cast): Change -Wcast-qual pedwarn for
1530         discarding qualifiers into a plain warning.
1532 2000-07-31  Kazu Hirata  <kazu@hxi.com>
1534         * combine.c: Fix formatting.
1536         * h8300.md: Fix formatting.
1538         * local-alloc.c: Fix formatting.
1540         * h8300.c (get_shift_alg): Remove the variable alg.
1541         (emit_a_shift): Rearrange code to improve readability.
1543         * h8300.md (movsi_h8300hs): Rearrange code to improve readability.
1545         * h8300.h (MODES_TIEABLE_P): Accept a combination of QImode and
1546         HImode on all architectures and a combination of HImode and SImode
1547         on H8/300H and H8/S.
1549         * h8300.c (split_adds_subs): Rearrange code for conciseness.
1551 Mon Jul 31 12:27:55 MET DST 2000  Jan Hubicka  <jh@suse.cz>
1553         * i386.md (addsi to lea splitter, ashlqi3_1_lea): Fix bugs
1554         in my last checkin.
1556 Mon Jul 31 10:41:01 MET DST 2000  Jan Hubicka  <jh@suse.cz>
1558         * recog.c (extract_insn): Set operand_mode according to
1559         operand if match_operand is VOIDmode.
1561 Mon Jul 31 10:36:38 MET DST 2000  Jan Hubicka  <jh@suse.cz>
1563         * recog.c (validate_replace_rtx_1): Do not abort for (nil) expression.
1565 2000-07-31  Geoff Keating  <geoffk@cygnus.com>
1567         * c-parse.in (extdefs): Call ggc_collect between external
1568         definitions.
1570 2000-07-30  Michael Hayes  <mhayes@cygnus.com>
1571             Richard Henderson  <rth@cygnus.com>
1573         * Makefile.in (OBJS): Add doloop.o.
1574         * doloop.c: New file.
1576         * final.c (insn_current_reference_address): Return 0 before final.
1577         * flags.h (flag_branch_on_count_reg): Fix typos in commentary.
1578         * jump.c (any_uncondjump_p): Likewise.
1579         * loop.c (indirect_jump_in_function): Make static.
1580         (strength_reduce): Call doloop_optimize.
1581         (insert_bct, instrument_loop_bct): Remove.
1582         * loop.h (doloop_optimize): Prototype.
1583         * recog.c (split_all_insns): Split all INSN_P.
1584         * toplev.c (flag_branch_on_count_reg): Default on.
1586         * config/c4x/c4x.c (c4x_optimization_options): Don't set
1587         flag_branch_on_count_reg.
1588         * config/i386/i386.c (override_options): Likewise.
1589         * config/rs6000/rs6000.c (optimization_options): Likewise.
1591         * config/i386/i386.md (decrement_and_branch_on_count): Remove.
1592         (doloop_end): New.
1593         (dbra_ge): Remove, as well as all it's splitters.
1595         * config/rs6000/rs6000.md (decrement_and_branch_on_count): Remove.
1596         (doloop_end): New.
1598         * config/ia64/ia64-protos.h (ar_lc_reg_operand): Declare.
1599         (ia64_register_move_cost): Declare.
1600         * config/ia64/ia64.c (ar_lc_reg_operand): New.
1601         (struct ia64_frame_info): Add ar_size.
1602         (ia64_compute_frame_size): Set it.
1603         (save_restore_insns): Save and restore ar.lc.
1604         (ia64_register_move_cost): New, moved from header file.  Handle
1605         application registers.
1606         (REG_AR_PFS, REG_AR_EC): Remove.  Replace with AR_*_REGNUM numbers.
1607         (emit_insn_group_barriers): Special case doloop_end_internal.
1608         (ia64_epilogue_uses): Mark ar.lc live at end.
1609         * config/ia64/ia64.h (AR_CCV_REGNUM, AR_LC_REGNUM): New registers.
1610         (AR_EC_REGNUM, AR_PFS_REGNUM): New registers.
1611         (FIRST_PSEUDO_REGISTER): Make room.
1612         (AR_M_REGNO_P, AR_I_REGNO_P, AR_REGNO_P): New.
1613         (FIXED_REGISTERS, CALL_USED_REGISTERS): Update.
1614         (REG_ALLOC_ORDER): Update.
1615         (HARD_REGNO_MODE_OK): Update.
1616         (REGISTER_NAMES): Update.
1617         (enum reg_class): Add AR_M_REGS and AR_I_REGS.
1618         (REG_CLASS_NAMES, REG_CLASS_CONTENTS): Update.
1619         (REGNO_REG_CLASS): Update.
1620         (LEGITIMATE_ADDRESS_DISP): Displacement range is 9 bits, not 10.
1621         (REGISTER_MOVE_COST): Move out of line.
1622         (PREDICATE_CODES): Update.
1623         * config/ia64/ia64.md (movdi patterns): Handle ar register classes.
1624         (addsi3_plus1_alt, adddi3_plus1_alt): New.
1625         (shladd_elim splitter): Allow constants in the predicate.
1626         (doloop_end, doloop_end_internal): New.
1628 2000-07-30  Richard Henderson  <rth@cygnus.com>
1630         * genattrtab.c (struct insn_def): Add lineno member.
1631         (struct insn_ent): Likewise.
1632         (struct attr_desc): Likewise.
1633         (struct delay_desc): Likewise.
1634         (struct function_unit_op): Likewise.
1635         (struct function_unit): Likewise.
1636         (check_attr_value): Use message_with_line.
1637         (check_defs): Likewise.
1638         (expand_units): Likewise.
1639         (check_attr_test): Take a lineno argument.
1640         (gen_attr): Likewise.
1641         (gen_insn): Likewise.
1642         (gen_delay): Likewise.
1643         (gen_unit): Likewise.
1644         (main): Give it to them.
1645         (convert_set_attr_alternative): Take an insn_def argument
1646         instead of num_alt and insn_index.
1647         (convert_set_attr): Likewise.
1648         (write_test_expr): Protect INSN_ADDRESSES load
1649         with INSN_ADDRESSES_SET_P.
1651 2000-07-30  Richard Henderson  <rth@cygnus.com>
1653         * flow.c (init_propagate_block_info): Use pc_set.
1655 Sun Jul 30 20:58:34 MET DST 2000  Jan Hubicka  <jh@suse.cz>
1657         * i386.md (*lea_general_[123]) New insns and splits.
1658         (addsi3 to lea splitter): Handle other modes too.
1659         (shlsi3 to lea splitter): Likewise.
1660         (addhi_1_lea, shlhi_1_lea): New patterns.
1661         (addhi_1, shlhi_1): Conditionize by PARTIAL_REG_STALL.
1663 Sun Jul 30 20:51:25 MET DST 2000  Jan Hubicka  <jh@suse.cz>
1665         * recog.c (general_operand, nonimmediate_operand): Accept
1666         any mode for VOIDmode CONSTANT_P operands.
1668 Sun Jul 30 20:42:21 MET DST 2000  Jan Hubicka  <jh@suse.cz>
1670         * gcse.c (try_replace_reg): Use validate_replace_rtx_subexp
1671         instead of replace_rtx.
1672         * recog.c (validate_replace_rtx_subexp): New function.
1673         * recog.h (validate_replace_rtx_subexp): Declare.
1675 Sun Jul 30 20:38:26 MET DST 2000  Jan Hubicka  <jh@suse.cz>
1677         * combine.c (simplify_set, make_extraction, make_compound_operation
1678         make_field_assignment): Use full mask instead of GET_MODE_MASK (mode)
1679         as force_to_mode argument.
1681 Sun Jul 30 20:30:41 MET DST 2000  Jan Hubicka  <jh@suse.cz>
1683         * combine.c (if_then_else_cond): Be sure that mode fits in
1684         HOST_WIDE_INT.
1686 Sun Jul 30 20:27:36 MET DST 2000  Jan Hubicka  <jh@suse.cz>
1688         * combine.c (record_promoted_value):  Allow bitsize of mode
1689         to be equivalent to HOST_BITS_PER_WISE_INT.
1691 Sun Jul 30 20:25:21 MET DST 2000  Jan Hubicka  <jh@suse.cz>
1693         * function.c (assign_stack_local_1, assign_stack_temp_for_type):
1694         Do not call gen_mode_alignment when mode is BLKmode.
1696 Sun Jul 30 20:21:54 MET DST 2000  Jan Hubicka  <jh@suse.cz>
1698         * loop.c (express_from_1): Fix call of simplify_gen_binary.
1700 Sun Jul 30 20:08:37 MET DST 2000  Jan Hubicka  <jh@suse.cz>
1702         * simplify-rtx.c (simplify_relational_operation): Verify that mode ==
1703         VOIDmode implies both operands to be VOIDmode.
1704         (simplify_ternary_operation): Compute properly the mode of comparison.
1705         * combine.c (combine_simplify_rtx): Likewise.
1707 2000-07-25  Michael Hayes  <mph@paradise.net.nz>
1709         * basic-block.h (struct loops): New field rc_order.
1710         * flow.c (flow_loops_cfg_dump): Dump rc_order if computed.
1711         (flow_loops_free): Free rc_order.
1712         (flow_depth_first_order_compute): New parameter rc_order.
1713         (flow_loops_find): Allocate rc_order and swap usage with
1714         dfs_order.
1716 2000-07-30 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
1717            Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
1719         * config/c4x/c4x.md (set_ldp_prologue): Add for RTL prologue/epilogue.
1720         (push_st, push_dp, pop_st, pop_dp, popqi_unspec): Likewise.
1721         (nodb_call, return_from_epilogue): Likewise.
1722         (return_from_interrupt_epilogue, prologue, epilogue): Likewise.
1723         * config/c4x/c4x.c (c4x_expand_prologue, c4x_expand_eplilogue): Add.
1724         * config/c4x/c4x-protos.h (c4x_interrupt_function_p): Add.
1725         (c4x_expand_prologue, c4x_expand_epilogue): Likewise.
1726         (c4x_valid_type_attribute_p): Likewise.
1727         * config/c4x/c4x.h (FUNCTION_PROLOGUE, FUNCTION_EPILOGUE): Delete.
1728         (FUNCTION_BLOCK_PROFILER_EXIT): Convert to emit RTL.
1730 2000-07-30  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
1732         * config/c4x/c4x.c (c4x_emit_move_sequence): Use loadqi_big_constant
1733         and loadhi_big_constant if applicable.
1734         * config/c4x/c4x.md (loadqi_big_constant, loadhi_big_constant): Tweak
1735         and add new splitter.s
1737 2000-07-30  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
1739         * config/c4x/c4x.c (c4x_rptb_insert): Make more robust.
1741 2000-07-30  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
1743         * config/c4x/c4x.h (ASM_FORMAT_PRIVATE_NAME): Output $ in label.
1745 2000-07-30  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
1747         * config/c4x/c4x.h (IS_XXX_REGNO): Rewrite to avoid unsigned warnings.
1749 2000-07-30  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
1751         * config/c4x/libgcc.S (divqf3): Improve accuracy.
1753 2000-07-27  Mark Mitchell  <mark@codesourcery.com>
1755         Put phi nodes after NOTE_INSN_BASIC_BLOCK.
1756         * rtl.h (NOTE_INSN_BASIC_BLOCK_P): New macro.
1757         * bb-reorder.c (get_next_bb_note): Use NOTE_INSN_BASIC_BLOCK_P.
1758         (get_prev_bb_note): Likewise.
1759         (remove_scope_notes): Likewise.
1760         * flow.c (commit_one_edge_insertion): Likewise.
1761         (merge_blocks_nomove): Likewise.
1762         (verify_flow_info): Likewise.
1763         * gcse.c (insert_insn_end_bb): Likewise.
1764         * reg-stack.c (emit_swap_insn): Likewise.
1765         * ssa.c (first_insn_after_basic_block_note): New function.
1766         (insert_phi_node): Use it.
1767         (rename_block): Likewise.
1768         (eliminate_phi): Likewise.
1769         (make_regs_equivalent_over_bad_edges): Likewise.
1770         (make_equivalent_phi_alternatives_equivalent): Likewise.
1771         (for_each_successor_phi): Likewise.
1772         (convert_from_ssa): Modify phi-node deletion algorithm.
1774 2000-07-29  Andreas Jaeger  <aj@suse.de>
1776         * configure.in (mips*-*-linux*): Use mips*el to check for little
1777         endian MIPS, add tmake_file.
1779         * config/mips/linux.h (TARGET_VERSION): Use GNU/Linux.
1780         (SUBTARGET_CPP_SPEC): Default MIPS_ISA is 1.
1781         Patches by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
1783 2000-07-28  Richard Henderson  <rth@cygnus.com>
1785         * config/ia64/ia64.c (ia64_print_operand): Fix typos.
1786         Sign extend mode size before negating.
1788 2000-07-28  Richard Henderson  <rth@cygnus.com>
1790         * emit-rtl.c (gen_lowpart_common): Add missing 'c' variable.
1792 2000-07-28  Bernd Schmidt  <bernds@cygnus.co.uk>
1794         * cse.c (canon_hash): Handle PRE_MODIFY/POST_MODIFY.
1795         (cse_insn): Likewise.
1796         (addr_affects_sp_p): Likewise.
1797         * expr.c (move_by_pieces): Likewise.
1798         (clear_by_pieces): Likewise.
1799         * gcse.c (oprs_unchanged_p): Likewise.
1800         * haifa-sched.c (sched_analyze_2): Likewise.
1801         * recog.c (offsettable_address_p): Likewise.
1802         * regclass.c (record_address_regs): Likewise.
1803         * reload.c (find_reusable_reload): Likewise.
1804         (push_reload): Likewise.
1805         (operands_match_p): Likewise.
1806         (decompose): Likewise.
1807         (find_reloads_address_1): Likewise.
1808         (find_inc_amount): Likewise.
1809         * reload1.c (elimination_effects): Likewise.
1810         * resource.c (mark_set_resources): Likewise.
1811         * flow.c (attempt_auto_inc): New function; mostly broken out
1812         of find_auto_inc.
1813         (find_auto_inc): Split into two functions and enhanced to
1814         generate POST_MODIFY.
1815         * rtl.def (PRE_MODIFY, POST_MODIFY): Adjust comment.
1816         * rtl.h (count_all_occurrences):  Declare.
1817         (HAVE_{PRE,POST}_MODIFY_{DISP,REG}): Provide default of 0 if not
1818         defined.
1819         * rtlanal.c (count_all_occurrences): New function.
1820         * tm.texi (HAVE_POST_MODIFY_DISP, HAVE_PRE_MODIFY_DISP,
1821         HAVE_POST_MODIFY_REG, HAVE_PRE_MODIFY_REG): Document.
1823         * config/ia64/ia64-protos.h (destination_operand): Declare.
1824         * config/ia64/ia64.c (destination_operand): New function.
1825         (ia64_print_operand): Handle POST_MODIFY.
1826         (rtx_needs_barrier): Likewise.
1827         * config/ia64/ia64.h (HAVE_POST_MODIFY_DISP): Define to 1.
1828         (HAVE_POST_MODIFY_REG): Define to 1.
1829         (MAX_REGS_PER_ADDRESS): Change to 2.
1830         (GO_IF_LEGITIMATE_ADDRESS): Accept POST_MODIFY too.
1831         (LEGITIMATE_ADDRESS_REG): New helper macro.
1832         (LEGITIMATE_ADDRESS_DISP): Likewise.
1833         (PREDICATE_CODES): Add entry for destination_operand.
1834         * config/ia64/ia64.md (all mov patterns): Use destination_operand
1835         predicate for operand 0.
1837 2000-07-28  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1839         * dwarf2out.c: Indent #error directive.
1841         * gbl-ctors.h: Fix typo in comment.
1842         (__do_global_ctors): Prototype.
1844         * gcse.c (record_one_set, pre_delete): Remove unused variables.
1846         * rs6000.c (rs6000_maybe_dead): Delete unused prototype.
1847         (print_operand): Initialize variable `t'.
1849 2000-07-27  Aldy Hernandez  <aldyh@redhat.com>
1851         * config/arm/arm.md ("call_value"): removed constraints.
1852         Constraints are ignored in expanders.
1853         (*call_value_reg): split =rf into various constraints.
1854         (*call_value_mem): same
1855         (*call_value_symbol): same
1856         (*sibcall_value_insn): same
1858 2000-07-28  Philipp Thomas  <pthomas@suse.de>
1860         * install.texi (--enable-nls): Change the description of the NLS
1861         related configure options to match the current state.
1862         (--with-included-gettext): Likewise.
1863         (--enable-maintainer-mode): New description added.
1864         * extend.texi (-fstrict-prototype): Add missing '.'.
1866 2000-07-27  Jim Wilson  <wilson@cygnus.com>
1868         * dwarf2out.c (gen_decl_die): Don't call gen_abstract_function if
1869         DECL_INITIAL (decl) == NULL_TREE.
1871 2000-07-27  Alexandre Oliva  <aoliva@redhat.com>
1873         * Makefile.in (INSN_ATTR_H): New macro.  Replace all dependencies
1874         on insn-attr.h with it.
1875         * genattr.c: Generate `#include "insn-addr.h"' if HAVE_ATTR_length.
1876         * insn-addr.h: New header.
1877         (insn_addresses_): Renamed from insn_addresses.
1878         (INSN_ADDRESSES_DEFN, INSN_ADDRESSES, INSN_ADDRESSES_ALLOC,
1879         INSN_ADDRESSES_FREE, INSN_ADDRESSES_SET_P, INSN_ADDRESSES_SIZE,
1880         INSN_ADDRESSES_NEW): New macros.
1881         * genattrtab.c (write_test_expr): Use new macros.
1882         * final.c (insn_addresses, init_insn_lengths): Likewise.
1883         (align_fuzz, shorten_branches): Likewise.
1884         (final): Likewise.  Do not reject new insns if their addresses
1885         have been added to INSN_ADDRESSES.
1886         * config/arm/arm.c, config/avr/avr.c: Use new macros.
1887         * config/h8300/h8300.c, config/i370/i370.c: Likewise.
1888         * config/m88k/m88k.c, config/pa/pa.c, config/pa/pa.md: Likewise.
1889         * config/sparc/sparc.c, config/sparc/sparc.md: Likewise.
1890         * config/sh/sh.c: Likewise.
1891         (output_branchy_insn): Use INSN_ADDRESSES_NEW.
1893         * Makefile.in (bootstrap): Move -BstageN/ back to the beginning.
1895 2000-07-27  Andrew Cagney  <cagney@b1.cygnus.com>
1897         * gcc.c (struct prefix_list): Add member priority.
1898         (enum path_prefix_priority): Declare.
1899         (add_prefix): Replace ``first'' with ``priority''.  Append new
1900         entry but keep list in priority order.
1901         (process_command): Update.  Pass PREFIX_PRIORITY_B_OPT or
1902         PREFIX_PRIORITY_LAST to add_prefix.
1903         (process_command): Move include kludge - foo/stageN - to before
1904         foo/include.
1906 2000-07-27  Jason Merrill  <jason@redhat.com>
1908         * dwarf2out.c (gen_typedef_die): Abort if we get identical
1909         TREE_TYPE and DECL_ORIGINAL_TYPE on a typedef.
1911 2000-07-27  RodneyBrown  <RodneyBrown@pmsc.com>
1913         * expr.h (get_alias_set, lang_get_alias_set): Delete prototypes.
1914         * tree.h (get_alias_set, lang_get_alias_set): Prototype.
1916 2000-07-27  Joseph S. Myers  <jsm28@cam.ac.uk>
1918         * c-decl.c (finish_function): Don't treat 'main' specially unless
1919         flag_hosted.  In C99 mode, return 0 from 'main' unless
1920         DEFAULT_MAIN_RETURN is otherwise defined.
1922         * c-decl.c (store_parm_decls): In C99 mode, pedwarn for function
1923         parameters defaulting to int in an old-style function definition.
1925 2000-07-27  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1927         * c-parse.in (string): For -Wtraditional, warn about string
1928         concatenation only once per line.
1930 Thu Jul 27 09:25:17 2000  Akiko Matsushita  <matusita@sra.co.jp>
1932         * pa/x-pa-hpux: Add -D_HIUX_SOURCE to FIXPROTO_DEFINES
1933         for HI-UX/WE2 systems.
1935 2000-07-24  Bruce Korb  <bkorb@gnu.org>
1937         * fixincl/fixfixes.c(emit_gnu_type): rewrote to *rely* on GCC
1938         defining the __xxx_TYPE__ macros.
1939         * fixincl/fixincl.tpl(gnu_type_map): now obsolete
1940         * fixincl/fixlib.h: don't need to include "tm.h" anymore
1941         * fixincl/inclhack.def(type_map): now obsolete
1943 Thu Jul 27 11:54:17 2000  Andrew Cagney  <cagney@b1.cygnus.com>
1945         * cpp.texi: Append a trailing full-stop to xrefs where needed.
1947 2000-07-26  Dave Pitts  <dpitts@cozx.com>
1949         * i370.c: Remove LONGEXTERNAL ifdef from alias_number. Added hash
1950         routine constants.
1951         (mvs_hash_alias): New function.
1952         (mvs_add_alias): Change argument spacing.
1953         (mvs_need_alias): Change aliasing criteria. Added documentation.
1954         (mvs_get_alias): Change to use hashed name. The hashed name prevents
1955         CSECT name collisions.
1956         (mvs_check_alias): Likewise.
1957         (handle_pragma): Change documentation.
1958         * i370.md (mulsi3, divsi3, udivsi3, modsi3, umodsi3): Changed gen_rtx
1959         mode from SImode to DImode.
1960         (iorhi3): Changed LTORG size for insn.
1962 Wed Jul 26 19:44:05 2000   Hans-Peter Nilsson  <hp@axis.com>
1964         * reload.c (find_reloads_toplev): Reload a paradoxical subreg of a
1965         mem if the address is a mode_dependent_address_p.
1967 2000-07-26  Kazu Hirata  <kazu@hxi.com>
1969         * h8300.c (print_operand): Print ":8" when the 'R' operand is
1970         suitable for 8-bit absolute.
1971         * h8300.h (EIGHTBIT_CONSTANT_ADDRESS_P): New.
1972         (OK_FOR_U): Add a case for the 8-bit constant address on the
1973         H8/300H.
1975 Wed Jul 26 19:26:21 2000  Hans-Peter Nilsson  <hp@axis.com>
1977         * varasm.c (assemble_variable) [! defined(ASM_OUTPUT_ALIGNED_COMMON)
1978         && ! defined (ASM_OUTPUT_ALIGNED_BSS]): Also test
1979         ! defined(ASM_OUTPUT_ALIGNED_DECL_COMMON) before complaining about
1980         lack of implemented alignment.
1982 2000-07-26  Geoffrey Keating  <geoffk@cygnus.com>
1984         * emit-rtl.c (gen_lowpart_common) [REAL_ARITHMETIC]: Handle
1985         cross-compiling between 64-bit and 32-bit machines.
1987 2000-07-27  Richard Henderson  <rth@cygnus.com>
1989         * config/ia64/ia64.md (movqicc_astep, movqi_internal_astep): New.
1990         (movhicc_astep, movhi_internal_astep): New.
1991         (movsicc_astep, movsi_internal_astep): New.
1992         (movdicc_astep, movdi_internal_astep): New.
1993         (movsfcc_astep, movsf_internal_astep): New.
1994         (movdfcc_astep, movdf_internal_astep): New.
1995         (movxfcc_astep, movxf_internal_astep): New.
1996         (cmovdi_internal_astep, cmovsi_internal_astep): New.
1997         Unify the cmov[ds]i splitters.
1999 2000-07-27  Rodney Brown  <RodneyBrown@pmsc.com>
2001         * real.c (asctoeg): Rename `error' label to unexpected_char_error
2003 2000-07-26  Nick Clifton  <nickc@cygnus.com>
2005         * config/arm/vxarm.h (CPP_PREDEFINES): Remove definition of
2006         __arm__.  Allow it to be defined by CPP_ISA_SPEC in arm.h
2008         * dwarf2out.c (dwarf2out_frame_debug_expr): Accept SEQUENCE as
2009         well as PARALLEL blocks in FRAME_RELATED_EXPR notes.
2011 2000-07-26  Alexandre Oliva  <aoliva@redhat.com>
2013         * c-decl.c (finish_enum): Convert enumerations that fit in an
2014         `int' to `int'.
2015         (build_enumerator): In pedantic mode, cast to `int' those that
2016         don't.
2018 2000-07-25  Rodney Brown  <RodneyBrown@pmsc.com>
2020         * config/alpha/osf.h (SIZE_TYPE, PTRDIFF_TYPE): New.
2022 Tue Jul 25 23:08:33 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
2024         * sh.md (cmpgtdi_t): Must be split.
2025         (cmpgtdi_t+1): New splitter.
2027 2000-07-25  Zack Weinberg  <zack@wolery.cumb.org>
2029         * cpplib.c (_cpp_check_directive): Issue -Wtraditional
2030         warnings for indented directives even if we are skipping.
2032 2000-07-25  Nathan Sidwell  <nathan@codesourcery.com>
2034         * invoke.texi (strict-prototypes): Remove.
2035         * extend.texi (Deprecated Features): Add strict-prototypes.
2036         (Backwards Compatibility): New node.
2038 2000-07-25  Jakub Jelinek  <jakub@redhat.com>
2040         * config/i386/i386.md (andsi_1+1): Allow HImode.
2041         (andsi_1+2): Require q_regs_operand.
2043 2000-07-25  Jakub Jelinek  <jakub@redhat.com>
2045         * config/i386/i386.md (call_pop): Check operands[0],
2046         not operands[1]. Only check SYMBOL_REF_FLAG for a SYMBOL_REF.
2047         (call): Likewise.
2048         (call_value_pop): Only check SYMBOL_REF_FLAG for a SYMBOL_REF.
2049         (call_value): Likewise.
2051 2000-07-25  Zack Weinberg  <zack@wolery.cumb.org>
2053         * toplev.c (pipe_closed): Delete.
2054         (crash_signal): New.  Generate ICE for a fatal signal.
2055         (float_signal): Call crash_signal outside a float-handler
2056         block, not abort.
2057         (main): Install crash_signal as handler for core-dumping signals.
2059 2000-07-25  David Edelsohn  <edelsohn@gnu.org>
2061         * rs6000.c (print_operand, case 'T'): New case.
2063         * rs6000.md (call_indirect_aix32): Convert to expander of
2064         scheduled instructions.
2065         (call_indirect_aix64): Likewise.
2066         (call_value_indirect_aix{32,64}): Likewise.
2067         (call, call_value): Invoke expanders for AIX.  Fall through to
2068         matchers for SysV.
2069         (call_indirect_nonlocal_aix{32,64}): New patterns (ctr and lr).
2070         (call_value_indirect_nonlocal_aix{32,64}): New patterns.
2071         (call_nonlocal_aix32): Remove CALL_LONG alternative.  Operand 1
2072         only "g" constraint.
2073         (call_nonlocal_aix64): Likewise.
2074         (call_value_nonlocal_aix{32,64}): Likewise.
2075         (call_nonlocal_sysv): New pattern for ctr, lr, and symbolic
2076         operands.
2077         (call_value_nonlocal_sysv): New pattern.
2078         (indirect_jump{si,di}): Use new 'T' modifier.
2079         (tablejump{si,di} matchers): Likewise.
2080         (return_internal_{si,di}): Likewise.
2081         (return_eh_{si,di}): Likewise.
2083 2000-07-24  Richard Henderson  <rth@cygnus.com>
2085         * config/ia64/ia64.c (ia64_print_operand): Handle "%,".
2086         * config/ia64/ia64.h (PRINT_OPERAND_PUNCT_VALID_P): Likewise.
2087         * config/ia64/ia64.md (movdi_internal): Use it.
2089 2000-07-24  Zack Weinberg  <zack@wolery.cumb.org>
2091         * cppexp.c: Warn about unary + if -Wtraditional.
2092         * cpplex.c (lex_line): Always set BOL on the first token of a line.
2094 2000-07-24  Michael Meissner  <meissner@redhat.com>
2096         * d30v.h (FUNCTION_ARG_KEEP_AS_REFERENCE): Delete references to
2097         unsupported macro.
2099 2000-07-24  Nick Clifton  <nickc@cygnus.com>
2101         * config/arm/arm.c (emit_multi_reg_push): Generate a
2102         REG_FRAME_RELEATED_NOTE that is compatable with the code in
2103         dwarf2out_debug_frame_expr.
2105 2000-07-24  Jason Merrill  <jason@redhat.com>
2107         * dwarf2out.c: Complain if DWARF2_DEBUGGING_INFO is defined without
2108         UNALIGNED_INT_ASM_OP.
2109         (def_cfa_1): Don't emit def_cfa_register or def_cfa_offset to adjust
2110         a location expression.
2111         (dwarf2out_frame_debug_expr): Lose cfa_old_reg stuff.  Don't
2112         assume indirect access if we're saving the CFA address exactly.
2114         * Makefile.in (bootstrap): Move -BstageN/ to the end.
2116 2000-07-24  Jakub Jelinek  <jakub@redhat.com>
2118         * tradcpp.c (main): Update max_include_len for cpp_include_defaults
2119         as well.
2121 2000-07-24  Michael Meissner  <meissner@redhat.com>
2123         * invoke.texi (D30V Options): Add d30v options.
2125 Mon Jul 24 02:04:52 2000  Jeffrey A Law  (law@cygnus.com)
2127         * gcse.c (alloc_pre_mem): Do not alloc TRANSPOUT, it is not
2128         needed by our gcse pass anymore.
2129         (free_pre_mem): Corresponding changes.
2130         (compute_pre_data): Do not call compute_transpout anymore.
2132         * gcse.c (alloc_avail_expr_mem): Kill unused 'u_bitmap'.
2133         (free_avail_expr_mem, alloc_pre_mem, free_pre_mem): Corresponding
2134         changes.
2136         * gcse.c (free_pre_mem): Do not free ANTLOC and AE_KILL here.
2137         (compute_pre_data): Do it here instead.
2139         * gcse.c (alloc_pre_mem, free_pre_mem): Delete unused bitmap
2140         'temp_bitmap'.
2141         (pre_delete): Corresponding changes.
2143 2000-07-23  Mark Mitchell  <mark@codesourcery.com>
2145         * c-semantics.c (make_rtl_for_local_static): Use TREE_ASM_WRITTEN
2146         to figure out whether or not a variable has already been emitted.
2148 Sun Jul 23 14:49:12 2000  Jason Eckhardt  <jle@cygnus.com>
2150         * config/i860/i860.md (untyped_call expander): Use GEN_CALL
2151         instead of gen_call.
2153 Sun Jul 23 11:52:03 2000  George Helffrich (george@gly.bris.ac.uk)
2155         * dbxout.c (dbxout_type, case COMPLEX_TYPE): Fix length field in stab.
2157 2000-07-23  Kazu Hirata  <kazu@hxi.com>
2159         * h8300.c: Fix formatting.
2161 2000-07-23  Joseph S. Myers  <jsm28@cam.ac.uk>
2163         * c-typeck.c (c_expand_start_case): Change -Wtraditional pedwarn
2164         for `long' switch expression into a plain warning.
2166         * c-lex.c (init_lex): Keep the "inline" keyword in C99 mode.
2167         (yylex): Don't pedwarn for "inline" in C99 mode.
2169         * bitmap.c (debug_bitmap_file): Cast pointers to PTR for printing
2170         with %p.
2171         * ggc-page.c (debug_print_page_list, alloc_page, free_page,
2172         ggc_alloc): Likewise.
2173         * bb-reorder.c (dump_scope_forest_1): Likewise.
2175 2000-07-22  Aldy Hernandez  <aldyh@redhat.com>
2177         * reload.c (find_reloads_toplev): Add new parameter
2178         "address_reloaded".
2179         (find_reloads): Add new parameter to find_reloads_toplev calls.
2181 2000-07-22  Jeffrey Oldham  <oldham@codesourcery.com>
2183         * collect2.c (main): Typo fixed.
2184         * diagnostic.c: Typo fixed.
2185         * dwarf2out.c (dwarf2out_frame_debug_expr): Typo fixed.
2186         * eh-common.h: Typo fixed.
2187         * emit-rtl.c (start_sequence): Typo fixed.
2188         * flow.c (find_label_refs): Typo fixed.
2189         (calculate_global_regs_live): Typo fixed.
2190         (mark_regno_cond_dead): Typo fixed.
2191         (create_edge_list): Typos fixed.
2192         (verify_edge_list): Typo fixed.
2193         * ggc-common.c (ggc_mark_rtx_children): Typo fixed.
2194         * loop.c (strength_reduce): Typo in function name fixed.
2195         * rtl.h: Added comments.  Typo in function name fixed.
2196         * rtlanal.c: Typo in function name fixed.
2197         (insn_dependant_p): Rename to ...
2198         (insn_dependent_p): ... this.
2199         (computed_jumo_p): Typo fixed.
2201 2000-07-22  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2203         * system.h (__FUNCTION__): Wrap definition in #ifndef.
2205 2000-07-21  David Edelsohn  <edelsohn@gnu.org>
2207         * rs6000.h (SIZE_TYPE): Define.
2209 2000-07-21  Mark Mitchell  <mark@codesourcery.com>
2211         * ssa.c (rename_insn_1): Don't rename registers that are
2212         CLOBBERed.
2214 2000-07-21  Zack Weinberg  <zack@wolery.cumb.org>
2216         * diagnostic.c (trim_filename, fancy_abort): Moved here from
2217         rtl.c.
2218         (fatal_function, set_fatal_function): Removed.
2219         (fatal): Don't prepare for or call the fatal_function.
2220         (diagnostic_lock, error_recursion): New.
2221         (diagnostic_for_decl, report_diagnostic): Guard against
2222         re-entering the error reporting routines.
2223         (fancy_abort): Assume function is not NULL.
2225         * errors.c (fancy_abort): New.  Assume function is not NULL.
2226         * tradcpp.c (fancy_abort): Assume function is not NULL.
2228         * system.h: Provide default definition of __FUNCTION__.
2229         * rtl.h: Use __FUNCTION__ not __PRETTY_FUNCTION__ throughout.
2230         Always use __FUNCTION__ in definition of abort.
2231         * tree.h: Likewise.
2232         * varray.h: Likewise.
2233         * toplev.h: Likewise.  Don't prototype set_fatal_function.
2235 2000-07-20  Geoff Keating  <geoffk@cygnus.com>
2237         * config/rs6000/aix43.h (CPP_SPEC): Define __LONG_MAX__ correctly
2238         in 64-bit mode.
2239         * glimits.h: Don't do #if defined for ARCH_PPC.
2241         * config/rs6000/rs6000.h (ASM_OUTPUT_SPECIAL_POOL_ENTRY_P): All
2242         constants of size no larger than a pointer should go in the TOC.
2243         Add 'MODE' parameter.
2244         (LEGITIMIZE_RELOAD_ADDRESS): Add MODE parameter to
2245         ASM_OUTPUT_SPECIAL_POOL_ENTRY_P.
2246         (ASM_OUTPUT_SPECIAL_POOL_ENTRY): Likewise.
2247         * config/rs6000/aix.h (SELECT_RTX_SECTION): Likewise.
2248         * config/rs6000/netware.h (SELECT_RTX_SECTION): Likewise.
2249         * config/rs6000/rs6000.c (constant_pool_expr_1): Likewise.
2250         (rs6000_legitimize_address): Likewise.
2251         (rs6000_emit_move): Likewise.
2252         (rs6000_select_rtx_section): Likewise.
2253         (output_toc): Deal properly with outputting small constants like
2254         HImode, and SFmode in 32-bit mode, and DFmode in 64-bit mode.
2255         * config/rs6000/sysv4.h (ASM_OUTPUT_SPECIAL_POOL_ENTRY_P): Add
2256         MODE parameter.  Put small constants in the TOC.
2258         * config/rs6000/rs6000.c (easy_fp_constant_p): All constants are
2259         easy in SImode.
2260         (rs6000_emit_move): When reload calls us with an illegitimate
2261         address, exit early.  Move the change_address calls to one place
2262         at the end of the routine.  Merge the SImode and DImode expanders.
2263         When called by reload to put an integer into a FP register, force
2264         it to memory.
2266         * config/rs6000/rs6000.c (struct toc_hash_struct): Add 'key_mode'
2267         field.
2268         (rs6000_hash_constant): Hash mode too.
2269         (toc_hash_function): Allow for key_mode.
2270         (toc_hash_eq): Structures are different if key_mode differs.
2271         (output_toc): Add 'mode' parameter.  Save key_mode.
2272         * config/rs6000/rs6000.h (ASM_OUTPUT_SPECIAL_POOL_ENTRY):
2273         Pass 'mode' parameter.
2274         * config/rs6000/rs6000-protos.h (output_toc): Add 'mode' param.
2276         * config/rs6000/rs6000.c (output_toc): Use RS6000_OUTPUT_BASENAME
2277         for vtable references.
2279         * config/rs6000/rs6000.h (PREFERRED_RELOAD_CLASS): If we have a
2280         choice, don't put integer values in FP regs.
2282 Thu Jul 20 18:13:52 2000  Jeffrey A Law  (law@cygnus.com)
2284         * flow.c (verify_flow_info): Revamp code to verify that the
2285         head and end of each basic block are in the insn chain.
2287 Thu Jul 20 18:02:35 2000  Michael Matz <matzmich@cs.tu-berlin.de>
2289         * gcse.c (record_one_set): Prepend instead of append onto
2290         reg_set_table, making it O(n) instead O(n^2).
2291         * lcm.c (compute_antinout_edge,compute_laterin,compute_available):
2292         Use a queue instead of a stack as worklist.
2294 2000-07-20  Kazu Hirata  <kazu@hxi.com>
2296         * h8300.c (two_insn_adds_subs_operand): Fix a typo.
2297         * h8300.h (OK_FOR_T): New.
2298         (EXTRA_CONSTRAINT): Support OK_FOR_T.
2299         * h8300.md: Use inc/dec.[wl] for increment/decrement
2300         by 1 and 2 in HI and SI modes.
2302 2000-07-20  Jim Wilson  <wilson@cygnus.com>
2304         * config/ia64/ia64.h (ASM_OUTPUT_MI_THUNK): Handle DELTA values
2305         larger than 14 bits.
2307 2000-07-20  Zack Weinberg  <zack@wolery.cumb.org>
2309         * cppmacro.c (CAN_PASTE_AFTER): New macro.
2310         (count_params): Don't set GNU_REST_ARGS on anything.
2311         (save_expansion): Set PASTE_LEFT only on tokens for which
2312         CAN_PASTE_AFTER is true, or which are named operators.
2314         * cpplex.c (parse_args): Distinguish between a rest argument
2315         given one empty argument, and a rest argument given zero arguments.
2316         (maybe_paste_with_next): Look for VOID_REST tag, and trigger
2317         deletion of previous token based on that.
2318         (get_raw_token): Flatten some control structure.
2320         * cpplib.h (CPP_LAST_EQ): Correct.
2321         (VOID_REST): New token flag.
2322         (GNU_REST_ARGS): Delete.
2324         * tradcpp.c (main): Don't munge -D options.
2325         (make_definition): Bring -D handling in line with cpplib.
2326         (do_define): Strip all leading whitespace from macro definitions.
2328 2000-07-20  David Billinghurst <David.Billinghurst@riotinto.com.au>
2330         * Makefile.in (tradcpp): Depend on intl.o and version.o.
2332 2000-07-20  Bruce Korb  <bkorb@gnu.org>
2334         * fixincl/check.tpl: strip the platform specific types before testing
2335         * fixincl/fixfixes.c(gnu_type_fix): use platform specific types
2336         * fixincl/fixincl.tpl: use platform specific types
2337         * fixincl/fixlib.h: include the platform specific types
2338         * fixincl/inclhack.def(gnu_types): don't supply the types
2339         * fixincl/fixincl.x: regen
2341 2000-07-19  Jim Wilson  <wilson@cygnus.com>
2343         * config/ia64/ia64.h (HARD_REGNO_MODE_OK): Don't allow XFmode in
2344         GR_REGS.
2346 2000-07-19  Zack Weinberg  <zack@wolery.cumb.org>
2348         * tradcpp.c (rescan): Do not recognize directives when the #
2349         is indented.
2351 2000-07-19  Zack Weinberg  <zack@wolery.cumb.org>
2353         Implement C++ named operators.
2355         * cpplib.h (TTYPE_TABLE): Move CPP_MIN and CPP_MAX into block
2356         of operators allowed in #if and having an _EQ variant.  Add
2357         CPP_MIN_EQ, CPP_MAX_EQ, and CPP_DEFINED.
2358         (cpp_token flags): Add NAMED_OP.
2359         (enum node_type): Add T_OPERATOR.
2360         (struct cpp_hashnode): Add code slot to value union.
2361         * cpphash.h (spec_nodes): Remove n_defined.
2363         * cpplex.c (lex_line): Convert T_OPERATOR nodes to their proper types.
2364         (spell_token, can_paste, maybe_paste_with_next): Handle named operators.
2365         (is_macro_disabled): Tweak error messages.
2367         * cpplib.c (get_define_node): Disallow all named operators as
2368         macro names.  Tweak error messages.
2369         (_cpp_init_stacks): Don't set up spec_nodes->n_defined.
2371         * cppinit.c (builtin_array): Add entries for the named operators.
2372         * cppexp.c (lex): Check for CPP_DEFINED token.
2373         (priority table): Add entries for CPP_MIN and CPP_MAX.
2374         (_cpp_parse_expr): Handle CPP_MIN and CPP_MAX.
2376 2000-07-19  Bernd Schmidt  <bernds@cygnus.co.uk>
2378         * gcse.c (INSN_CUID): If ENABLE_CHECKING, abort if the uid is
2379         larger than the array of cuids.
2380         (alloc_gcse_mem): Use uid_cuid rather than INSN_CUID when computing
2381         cuids.
2383 2000-07-19  Bruce Korb  <bkorb@gnu.org>
2385         * fixinc/fixincl.c:  Convert to using a table of environment variables
2386         and activate the auto-edit marker on the fixed output files.
2387         * fixinc/fixlib.h:  Define the environment table
2388         * fixinc/fixincl.sh: export the ${INPUT} dir
2389         * fixinc/check.tpl: likewise
2391 2000-07-18  Zack Weinberg  <zack@wolery.cumb.org>
2393         * gcc.c (.h spec): Fix typo.
2395 Wed Jul 19 01:22:15 CEST 2000  Marc Espie  <espie@cvs.openbsd.org>
2397         * Makefile.in: Fix tradcif.c path.
2399 2000-07-18  Zack Weinberg  <zack@wolery.cumb.org>
2401         * cpplib.h (TTYPE_TABLE): Rearrange to use only two per-entry
2402           macros, not five.
2404         * cpphash.h (TOKEN_NAME): New macro.
2405         (_cpp_spell_operator): Deleted.
2406         (token_spellings): Now _cpp_token_spellings.
2408         * cppexp.c: Use TOKEN_NAME or TYPE_NAME, not _cpp_spell_operator.
2409         * cpplex.c: Use OP and TK macros when expanding the
2410         TTYPE_TABLE.  Eliminate token_names.  For non-OPERATOR tokens,
2411         store the stringification of the enumeration name (CPP_CHAR,
2412         etc.) in the name slot of token_spellings.
2413         Use TOKEN_NAME and/or TOKEN_SPELL, do not reference
2414         token_spellings directly.
2415         * cpplib.c: Use TOKEN_SPELL.
2417         * cpplex.c (_cpp_push_token): If the token being pushed back
2418         is the previous token in this context, just subtract one from
2419         context->posn.
2420         * cppmacro.c (save_expansion): Clear aux field when storing a
2421         placemarker.
2423 2000-07-18  Jakub Jelinek  <jakub@redhat.com>
2425         * cpplex.c (cpp_scan_buffer): Output line command even at the stop
2426         buffer, provided it is not NULL.
2428 2000-07-18  Alexandre Oliva  <aoliva@redhat.com>
2430         * c-decl.c (duplicate_decls): Do not call make_var_volatile() in
2431         case of invalid volatile re-declaration.
2433 2000-07-18  Jakub Jelinek  <jakub@redhat.com>
2435         * calls.c (store_arg): Return non-zero if sibcall_failure is desired.
2436         (expand_call): Adjust caller.
2438 2000-07-17  Gabriel Dos Reis  <gdr@codesourcery.com>
2440         * diagnostic.h (report_diagnostic): Change prototype.
2442         * diagnostic.c (output_do_verbatim, diagnostic_for_asm,
2443         diagnostic_for_decl):  Change prototype.
2444         (error_with_decl, warning_with_decl, pedwarn_with_decl, warning,
2445         error, warning, error_with_file_and_line,
2446         warning_with_file_and_line, pedwarn_with_file_and_line, fatal):
2447         Adjust call to report_diagnostic, diagnostic_for_decl.
2448         (error_for_asm, warning_for_asm): Adjust call to diagnostic_for_asm.
2449         (output_verbatim, verbatim): Adjust call to output_do_verbatim.
2451         * c-errors.c (pedwarn_c99): Adjust call to report_diagnostic. End
2452         varaible argument list.
2454 2000-07-17  Zack Weinberg  <zack@wolery.cumb.org>
2456         * cpphash.c: Don't include hashtab.h.  Most macro-handling code
2457         moved to cppmacro.c.
2458         (hash_HASHNODE, eq_HASHNODE, _cpp_dump_macro_hash,
2459         dump_hash_helper): Delete.
2460         (expand_hash, higher_prime_number, _cpp_lookup_with_hash,
2461         cpp_forall_identifiers): New. Implement specialized version of
2462         Vlad's expandable hash table.
2463         (cpp_lookup): Use new functions.
2464         (_cpp_init_macros, _cpp_cleanup_macros): Adjust for new
2465         implementation.
2466         * cppmacro.c: New file.
2467         * cppinit.c (dump_macros_helper): New.
2468         (cpp_finish): Iterate over the identifier table directly.
2469         * cpplex.c (parse_name): Calculate the hash of the identifier
2470         while we scan it.  Use _cpp_lookup_with_hash when we can.
2472         * cpphash.h: Update prototypes.
2473         (xcnewvec, HASHSTEP): New helper macros.
2474         * cpplib.h: Update prototypes.
2475         * Makefile.in (LIBCPP_OBJS): Add cppmacro.o.
2476         (cppmacro.o): New rule.
2477         (cpphash.o): Update deps.
2479         * cppmain.c: Do not set pfile->printer if no_output is on.
2481 2000-07-15  Neil Booth  <neilb@earthling.net>
2483         * cpplib.c: Change all directive-handler functions to return
2484         void, not int.
2485         * cpphash.h: Update typedefs.
2487 2000-07-17  Geoffrey Keating  <geoffk@cygnus.com>
2489         * configure: Regenerate.
2491         * extend.texi (Extended Asm): Mention that a memory clobber
2492         does not count as a side-effect.
2494         * unroll.c (copy_loop_body): Fix one instance of using host
2495         arithmetic on the target; fixes loop-4 on a 32-bit -> 64-bit
2496         cross-compile.
2498         * tlink.c (scan_linker_output): Tweak for output of AIX ld.
2500 2000-07-17  Richard Henderson  <rth@cygnus.com>
2502         * config/ia64/ia64.md (movdi): Split out load address code.
2503         New post-reload splitter for symbolic operands.
2504         (movdi_internal): Abort if we didn't split symbolic operands
2505         when we should have.
2506         * config/ia64/ia64.c (ia64_expand_load_address): New, from movdi bits.
2507         (ia64_reorg): Split insns when not optimizing.
2508         * config/ia64/ia64-protos.h (ia64_expand_load_address): Declare.
2510 Mon Jul 17 23:43:26 MET DST 2000  Jan Hubicka  <jh@suse.cz>
2512         * real.h (REAL_VALUE_TO_TARGET_LONG_DOUBLE): Use LONG_DOUBLE_TYPE_SIZE
2513         instead of MAX_LONG_DOUBLE_TYPE_SIZE to decide output format.
2515 2000-07-17  Chandrakala Chavva   <cchavva@cygnus.com>
2517         * loop.c (check_dbra_loop) : Changed loop_continue to loop->cont.
2519 2000-07-17  Jason Merrill  <jason@redhat.com>
2521         * Makefile.in (clean): Remove libgcc directory.
2523         * configure.in (-Wno-long-long check): Use higher-level macros.
2525 2000-07-17  Zack Weinberg  <zack@wolery.cumb.org>
2527         * simplify-rtx.c (simplify_binary_operation): Recognize
2528            (compare (gt[u] (cc) 0) (lt[u] (cc) 0)).
2529         (simplify_ternary_operation):  Do not examine MODE_BITSIZE of
2530            a CONST_INT, it will always be zero.
2532 2000-07-17  Chandrakala Chavva   <cchavva@cygnus.com>
2534         * loop.c (check_dbra_loop) : Return if more than one condition is
2535         present to control the loop.
2537 Mon Jul 17 08:26:35 2000  Clinton Popetz  <cpopetz@cygnus.com>
2539         * mips.c (mips_expand_prologue): Don't calculate the last argument
2540         register unless we need it.  When we are calculating this, make
2541         sure FUNCTION_ARG is giving us a REG.
2543 2000-07-17  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
2545         * flow.c (libcall_dead_p): Use single_set to verify the insn
2546         has only one set and get for analysis.
2547         (propagate_one_insn): Don't pass the PATTERN of the insn.
2549 2000-07-17  Mark Klein <mklein@dis.com>
2551          * pa.c (emit_hpdiv_const): Update to match new pattern for udivsi3.
2553 2000-07-17  J. David Anglin  <dave@hiauly1.hia.nrc.ca>
2555         * Makefile.in (TARGET_GETGROUPS_T): New configuration variable.
2556         * configure.in (TARGET_GETGROUPS_T): Evaluate.
2557         * sys-protos.h (getgroups): Use TARGET_GETGROUPS_T for array type
2558         of second argument of getgroups.
2559         * configure, config.in: Rebuilt.
2561 2000-07-17  Geoffrey Keating  <geoffk@cygnus.com>
2563         * simplify-rtx.c (simplify_relational_operation): Two signed
2564         values with equal high words are less/greater than each other if
2565         their low words are less/greater when considered as unsigned.
2567 Mon Jul 17 02:37:06 2000  Marc Espie <espie@openbsd.org>
2569         * configure.in (vax-*-openbsd):  Change to new style configuration,
2570         add collect2/float_format information.
2571         * configure:  Rebuilt.
2572         * config/vax/openbsd1.h:  New.
2573         * config/vax/openbsd.h:  New.
2574         * config/vax/t-openbsd:  New.
2576 2000-07-17  Chip Salzenberg  <chip@valinux.com>
2578         * c-common.c (shorten_compare): Quiet warnings about unsigned
2579         comparisons with zero when they occur in a system header.
2581 2000-07-17  Joseph S. Myers  <jsm28@cam.ac.uk>
2583         * invoke.texi (-pedantic): Refer to ISO C instead of ANSI C, and
2584         update to describe current practice.
2586         * glimits.h (LLONG_MIN, LLONG_MAX, ULLONG_MAX): Define for C99.
2588         * contrib.texi, cpp.texi, extend.texi, invoke.texi: Update
2589         references to C9X.  Change references to -fstd and -flang-isoc9x
2590         to refer to -std.
2592         * c-common.c (scan_char_table): Allow "z" length modifiers on
2593         diouxXn formats.
2594         (check_format_info): Use TYPE_DOMAIN on the type matched against
2595         for "z" formats, to retrieve the language size_t rather than the
2596         internal one.
2598         * c-common.c (check_format_info): Do not make a pedantic objection
2599         to the 'L' length modifier if used with a floating point type
2600         character.
2602         * c-lex.c (yylex): Don't pedwarn for hexadecimal floating point
2603         constants in C99 mode.
2605 2000-07-17  Kazu Hirata  <kazu@hxi.com>
2607         * h8300.md: Fix the format of mac.
2608         (movsi_h8300hs): Output a tab after stmac instead of a space.
2610         * h8300.c (two_insn_adds_subs_operand): Improve code for detecting
2611         profitable adds/subs sequences.
2613         * fold-const.c: Fix comment typos.
2615 2000-07-16  Laurynas Biveinis  <lauras@softhome.net>
2617         * cppfiles.c (read_name_map): Set map_list_ptr->map_list_map to NULL.
2619 2000-07-16  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2621         * fixinc/fixfixes.c (emit_gnu_type): Avoid string concatenation.
2623 2000-07-16  Neil Booth  <NeilB@earthling.net>
2625         * cpplex.c: Update comments.
2626         * README.Portability: Small update.
2628 2000-07-16  Neil Booth  <NeilB@earthling.net>
2630         * README.Portability:  Small update.
2632 2000-07-15  Richard Henderson  <rth@cygnus.com>
2634         * config/ia64/ia64-protos.h (ia64_move_ok): Prototype.
2635         * config/ia64/ia64.c (ia64_move_ok): New function.
2636         * config/ia64/ia64.md (movqi, movqi_internal): Use it.
2637         (movhi, movsi, movdi, movsf, movdf, movxf): Likewise.
2639 2000-07-15  Zack Weinberg  <zack@wolery.cumb.org>
2641         * cpphash.c (save_expansion): Clear PREV_WHITE on tokens
2642         immediately following a paste operator.
2643         * cppinit.c (sort_options): New function (only for HOST_EBCDIC).
2644         (cpp_reader_init): Call it, if HOST_EBCDIC.
2645         (cpp_handle_options): Do not sort option list here.
2646         (handle_option): Rename to cpp_handle_option and export.
2647         * cpplex.c (cpp_scan_buffer_nooutput, cpp_scan_buffer): Use
2648         _cpp_get_token directly.
2649         (cpp_scan_line): Return 0 at EOF, 1 otherwise.
2650         * cpplib.c (cpp_push_buffer): Don't set new->lineno to 1.
2651         * cpplib.h: Prototype cpp_handle_option.  Update prototype of
2652         cpp_scan_line.
2654 2000-07-15  Richard Henderson  <rth@cygnus.com>
2656         * fold-const.c (extract_muldiv): Don't optimize past an unsigned
2657         cast around an expression.  Tidy other unsigned tests.
2659 2000-07-15  Gabriel Dos Reis  <gdr@codesourcery.com>
2661         * diagnostic.c (doing_line_wrapping, line_wrapper_printf, notice,
2662         v_error_with_decl, v_warning_with_decl, v_pedwarn_with_decl): Remove.
2663         (v_message_with_decl): Rename to ...
2664         (format_with_decl): ... this. Tweak
2665         (diagnostic_for_decl): New function.
2666         (fatal_io_error): Use verbatim in lieu of notice.
2667         (announce_function): Use verbatim.
2668         (default_print_error_function): Likewise.
2669         (error_with_decl, warning_with_decl, pedwarn_with_decl): Use new
2670         infratructure.
2672 2000-07-15  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2674         * mips.c (function_arg_pass_by_reference): Don't do automatic
2675         aggregate initialization.
2676         (machine_dependent_reorg): Initialize variable `mode'.
2678         * mips.md (absdi2): Change variable `regno1' to unsigned int.
2679         (reload_indi): Rename loword/hiword to lo_word/hi_word to avoid
2680         conflicts with sys/param.h macro of the same name.
2681         (reload_outdi): Likewise.
2683 2000-07-15  Michael Meissner  <meissner@redhat.com>
2685         * fold-const.c (fold): When optimizing FOO++ == CONST into ++FOO
2686         == CONST + INCREMENT, don't overwrite the tree node for FOO++,
2687         create a new node instead.
2689 2000-07-15  Neil Booth  <NeilB@earthling.net>
2691         * README.Portability: Correct example about calling a function
2692         through a pointer to function.  Format wide paragraphs.
2694 2000-07-15  Michael Meissner  <meissner@redhat.com>
2696         * README.Portability: Update integer suffixes and function
2697         prototype sections.
2699 2000-07-15  Neil Booth  <NeilB@earthling.net>
2701         * README.Portability: Small update.
2703 2000-07-15  Neil Booth  <NeilB@earthling.net>
2705         * README.Portability: New file.
2707 Fri Jul 14 18:13:53 2000  Mark P Mitchell  <mark@codesourcery.com>
2709         * INSTALL: Give special instructions for building GCC on Irix 6.
2710         * config/mips/x-iris6 (CC): Don't set it.
2711         (OLDCC): Likewise.
2713 2000-07-14  Jason Merrill  <jason@redhat.com>
2715         * dwarf2out.c (dwarf2out_frame_debug_expr): If we store the CFA
2716         register in the stack and later in another register, use the new
2717         register.
2719 Fri Jul 14 10:25:53 2000  Clinton Popetz  <cpopetz@cygnus.com>
2721         * config/mips/mips.md: (absdi2): Handle sign_extend for
2722         second operand.
2724 2000-07-14  Nathan Sidwell  <nathan@codesourcery.com>
2726         * cpplib.c (do_pragma_dependency): Tidy warning messages.
2728 2000-07-14  Zack Weinberg  <zack@wolery.cumb.org>
2730         * .cvsignore: Correct typo.
2732 2000-07-13  Mark Mitchell  <mark@codesourcery.com>
2734         * .cvsignore: Add generated YACC files.
2735         * objc/.cvsignore: New file.
2737 2000-07-14  Neil Booth  <NeilB@earthling.net>
2739         * cpplex.c (adjust_column): New funcion.
2740         (skip_whitespace): Use it.
2741         (skip_block_comment): Use it, and warn about /*/* with
2742         -Wcomments.
2744 2000-07-14  Neil Booth  <NeilB@earthling.net>
2746         * cpphash.c (struct macro_info): Add new members.
2747         (_cpp_free_definition): Delete the macro directly.
2748         (count_params): Return void, with first token of
2749         expansion in struct macro_info on success.
2750         (parse_define): Return int.  Hoist syntax checking from
2751         save_macro_expansion.  Leave call to save_expansion to
2752         _cpp_create_definition.
2753         (alloc_macro): Needs just 2 arguments.
2754         (free_macro): Delete.
2755         (save_expansion): Don't perform syntax check.
2756         (_cpp_create_definition): Call save_expansion.
2758 2000-07-13  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2760         * genrecog.c (write_header): Split long string.
2762         * cpphash.c (macro_info): Don't use the `signed' keyword.
2764         * system.h (alloca): Prototype if __GNUC__ && __SIZE_TYPE__.
2766 2000-07-13  Jakub Jelinek  <jakub@redhat.com>
2768         * calls.c (stored_args_map): New variable.
2769         (check_sibcall_argument_overlap_1): New.
2770         (check_sibcall_argument_overlap): New.
2771         (expand_call): Initialize stored_args_map.
2772         Call check_sibcall_argument_overlap.
2774 2000-07-13  Bruce Korb  <bkorb@gnu.org>
2776         * fixinc/fixfixes.c: move EXIT_BROKEN to header, add sub-expr max count
2777         (emit_gnu_type): utility procedure for gnu_type_fix
2778         (gnu_type_fix): implement various pre-processor guards around
2779         standard types so these types can be defined over and over
2780         * fixinc/fixincl.tpl: add a "gnu_type_map" that forces the standard
2781         types alluded to above will have GNU-compliant base types
2782         * fixinc/fixlib.h: add EXIT_BROKEN define and the gnu_type_map struct
2783         * fixinc/inclhack.def: add test_text entries and utilize the new
2784         "gnu_types" fix for the ptrdiff_t, size_t and wchar_t types.
2785         * fixinc/fixincl.x: regenerate
2787 2000-07-12  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>
2789         * diagnostic.c (vline_wrapper_message_with_location,
2790         v_message_with_file_and_line, v_error_with_file_and_file,
2791         v_error_for_asm, v_warning_for_asm, vfatal,
2792         v_warning_with_file_and_line, v_pedwarn_with_file_and_line,
2793         vsorry, verror, vwarning, vpedwarn): Remove.
2794         (diagnostic_for_asm): New function.
2795         (pedwarn, error, warning, pedwarn_with_file_and_line,
2796         error_with_file_and_line, warning_with_file_and_line, sorry,
2797         error_for_asm, warning_for_asm, fatal): Reimplement.
2798         (finish_diagnostic): Clear diagnostic info as well.
2800 2000-07-13  Neil Booth  <NeilB@earthling.net>
2802         * c-common.h (flag_digraphs): New.
2803         * c-decl.c (c_decode_option): Set flag_digraphs as appropriate.
2804         * c-lex.c (yylex): Use flag_digraphs to decide whether to
2805         honour digraphs.
2807 2000-07-13  Zack Weinberg  <zack@wolery.cumb.org>
2809         * gcc.c (do_spec_1): Add new %B operator.
2810         (set_input): Prepare for %B.
2812         (link_command_spec): Move up with the other tm.h-
2813         overrideable specs.  Factor out the portion conditional on
2814         LINK_LIBGCC_SPECIAL into a new spec, %(link_libgcc).
2815         (struct compiler): Just have a single spec string.  All users
2816         updated.
2817         (default_compilers): Remove unnecessary braces.
2818         (static_specs): Update.
2820         (trad_capable_cpp, cpp_options, cc1_options, asm_options): New
2821         named specs.
2822         (C and assembly specs): Use the new named specs, as appropriate.
2824         * objc/lang-specs.h: Use the new named specs.
2825         Remove unnecessary braces.
2827 2000-07-12  Zack Weinberg  <zack@wolery.cumb.org>
2829         * gcc.c (execute): If a subprocess gets a fatal signal, report
2830         strsignal() of the signal number, and ask for a bug report.
2831         Do not do this for SIGPIPE if there's already been an error.
2833         * tradcpp.c: Don't include signal.h.  Don't catch SIGPIPE.
2834         Delete pipe_closed.
2836         * tradcif.c: Remove.
2838 2000-07-12  Zack Weinberg  <zack@wolery.cumb.org>
2840         * final.c (profile_function): Do not emit profile counters in
2841         the data section, if NO_PROFILE_COUNTERS is defined.
2842         * tm.texi: Document NO_PROFILE_COUNTERS.  Update doc for
2843         FUNCTION_PROFILER.
2845         * config/i386/linux.h (NO_PROFILE_COUNTERS): Define.
2846         (FUNCTION_PROFILER): Just emit a call to mcount.
2848 2000-07-12  Zack Weinberg  <zack@wolery.cumb.org>
2850         * tradcpp.c (main): Rename 'perror' label to 'sys_error'.
2852         * cppexp.c, cpphash.c, cpphash.h, cppinit.c, cpplex.c,
2853         cpplib.c, cpplib.h: Eradicate all traces of code dependent on
2854         traditional, lang_chill, or lang_fortran.
2856         * cppfiles.c: #undef strcmp to suppress warning about macros
2857         used without arguments.
2858         (_cpp_execute_include): Use f, not fname, in "No include path"
2859         error.
2860         (_cpp_pop_file_buffer): New function.
2861         * cpplib.c: Don't include <sys/mman.h>.
2862         (cpp_push_buffer): Set line_base and lineno in new buffer.
2863         (cpp_pop_buffer): Use _cpp_pop_file_buffer.
2865         * cpplex.c: Move all prototypes and structure declarations to the
2866         top of the file.  Properly parenthesise some macro arguments.
2867         (cpp_scan_line): New function.
2868         (special_symbol [case T_INCLUDE_DEPTH]): Use pfile->include_depth,
2869         don't need to walk up the stack counting.
2871 2000-07-12  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2873         * c-common.c (combine_strings): Emit a pedantic warning when a
2874         string length is greater than the minimum ANSI C is required
2875         to support.
2877 Wed Jul 12 13:24:30 2000  Jeffrey A Law  (law@cygnus.com)
2879         * pa/xm-pa64.h (NO_SYS_SIGLIST): Kill.
2880         * d30v/xm-d30v.h (NO_SYS_SIGLIST): Kill.
2882 2000-07-12  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2884         * c-decl.c (define_label): Warn about identifier conflicts with
2885         labels in traditional C.
2887         * c-parse.in (unop +): Warn about the unary plus operator for
2888         traditional C.
2890         * c-typeck.c (store_init_value): Warn about automatic aggregate
2891         initialization for traditional C.
2893         * invoke.texi (-Wtraditional): Document new warnings.
2895 2000-07-12  Gabriel Dos Reis  <gdr@codesourcery.com>
2897         * Makefile.in (c-errors.o): Fix thinko in dependency.
2899 2000-07-12  Zack Weinberg  <zack@wolery.cumb.org>
2901         * gcc.c (C specs [!USE_CPPLIB]): Invoke tradcpp if any of
2902         -traditional, -ftraditional, or -traditional-cpp was given.
2903         Do not pass -traditional to the preprocessor.
2904         (.S spec): Likewise.  Don't bother defining __ASSEMBLER__, the
2905         preprocessor does it automatically.
2906         * objc/lang-specs.h: Likewise.  Don't bother defining __OBJC__.
2908         * ch/lang-specs.h: Always use tradcpp.  Do not pass
2909         -traditional, -trigraphs, or -pedantic to the preprocessor.
2910         * f/lang-specs.h (.F spec): Likewise.  Don't bother defining
2911         _LANGUAGE_FORTRAN.
2913 2000-07-12  Zack Weinberg  <zack@wolery.cumb.org>
2915         * cppexp.c (LOGICAL): Delete macro.
2916         (_cpp_parse_expr): Do not use UNARY for unary +.  Implement ||
2917         and && directly.
2919         * cpphash.c (HASHSIZE): Increase to 4096.
2920         (struct hashdummy): Add hash field.
2921         (eq_HASHNODE): Compare unreduced hashes, then lengths, then
2922         the string values using memcmp.
2923         (cpp_lookup): Set dummy.hash.
2925 Wed Jul 12 13:15:16 2000  Marc Espie <espie@openbsd.org>
2927         * configure.in (m88k-openbsd): Express configuration using new fragment
2928         style.
2929         * configure: Rebuilt.
2930         * m88k/aout-dbx.h: New.
2931         * m88k/openbsd.h: New.
2932         * m88k/xm-openbsd.h: New.
2934 2000-07-12  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2936         * expr.c (expand_expr): Return const0_rtx, not error_mark_node.
2938 2000-07-12  Richard Henderson  <rth@cygnus.com>
2940         * reload.c (push_secondary_reload): Make sure to add the new
2941         reload at the end, after acquiring secondary memory.
2943 2000-07-12  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2945         * cpplex.c (is_macro_disabled): Use CPP_WTRADITIONAL.
2947         * c-decl.c (set_current_function_name_declared, anon_aggr_type_p,
2948         lang_expand_stmt): Mark parameters with ATTRIBUTE_UNUSED.
2950         * c-parse.in (stmt): Delete unused variables.
2952         * convert.c (convert_to_vector): Likewise.
2954         * gensupport.c (process_rtx): Declare attr as `rtvec' not `rtx'.
2956         * tree.c (finish_vector_type): Prototype.
2958 2000-07-12  Bruce Korb  <bkorb@gnu.org>
2960         * fixinc/fixfixes.c: use xmalloc
2961         * fixinc/fixincl.c(initialize): set program name for xmalloc
2962         * fixinc/fixlib.c(must_malloc): obsolete
2963         (is_cxx_header): no longer used - disabled
2964         (skip_quote): inserted and disabled for future use
2965         * fixinc/fixlib.h: reflects above
2966         * fixinc/fixtests.c: removed dinkleberries
2968 2000-07-12  Neil Booth  <NeilB@earthling.net>
2970         * cpphash.h: (TOKEN_SPELL) Pulled from cpplex.c.
2971         * cpplex.c (TOKEN_SPELL) Move to cpphash.h.
2973         * cpphash.c: (struct macro_info, alloc_macro, free_macro,
2974         struct toklist_dummy): New.
2975         (cpp_free_definition): Free macros with free_macro.
2976         (count_params): Don't save paramter spellings.  Save macro
2977         information in a struct macro_info.
2978         (parse_define): Don't allocate a token list.
2979         (save_expansion): Allocate the macro's token list, and
2980         save parameter spellings if necessary.  Use TOKEN_SPELL.
2981         (cpp_create_definition): Make list const.
2983 2000-07-12  Gabriel Dos Reis  <gdr@codesourcery.com>
2985         * c-typeck.c (pedwarn_c99): Move to
2986         * c-errors.c: ... Here.
2987         * toplev.h (verror, vwarning, vpedwarn): Remove prototypes.
2988         * diagnostic.c (verror, vwarning, vpedwarn): Make static.
2989         * Makefile.in (C_AND_OBJC_OBJS): Include c-errors.o
2990         (c-errors.o): List dependency.
2992 2000-07-12  Mark Mitchell  <mark@codesourcery.com>
2994         * c-parse.c: Remove.
2995         * c-parse.h: Likewise.
2996         * c-parse.y: Likewise.
2997         * objc/objc-parse.c: Likewise.
2998         * objc/objc-pasre.y: Likewise.
3000 2000-07-11  Rodney Brown  <RodneyBrown@pmsc.com>
3002         * gcc.texi: Fix minor typos
3003         * extend.texi: Fix minor typos
3005 2000-07-11  Marc Espie <espie@openbsd.org>
3007         * collect2.c (main): Recognize .lo as object files.
3009 2000-07-11  J. David Anglin  <dave@hiauly1.hia.nrc.ca>
3011         * pa.c (hppa_encode_label): Store labels in gc memory when ggc_p is
3012         true.
3014         * aclocal.m4 (AC_FUNC_MMAP_ANYWHERE): Extend test to detect systems
3015         with MAP_ANONYMOUS and MAP_ANON.
3016         * configure, config.in: Rebuilt.
3018 2000-07-12  Gabriel Dos Reis  <gdr@codesourcery.com>
3020         * diagnostic.c (save_output_state): Remove.
3021         (restore_output_state): Likewise.
3022         (clear_text_info): New function.
3023         (clear_diagnostic_info): Likewise.
3024         (output_text_length, is_starting_newline, output_prefix,
3025         line_wrap_cutoff, ideal_line_wrap_cutoff, prefix_was_emitted_for,
3026         prefixing_policy, output_buffer_ptr_to_format_args): New macros
3027         (set_real_maximum_length, output_set_maximum_length,
3028         output_set_prefix, output_get_prefix, output_set_maximum_length,
3029         output_destroy_prefix, init_output_buffer,
3030         reshape_diagnostic_buffer, output_space_left, output_emit_prefix,
3031         output_add_newline, output_add_character, output_add_space,
3032         output_append_r, output_append, wrap_text, output_format,
3033         output_do_printf, output_printf, output_do_verbatim,
3034         output_verbatim, verbatim): Use them.
3035         (output_clear): Split into cleat_text_info and
3036         clear_diagnostic_info.
3037         (struct output_state): Move to...
3039         * diagnostic.h: ...Here
3040         (struct output_buffer): Adjust.
3042 2000-07-11  Zack Weinberg  <zack@wolery.cumb.org>
3044         * cpplex.c (parse_name): No longer inline (premature optimization).
3045         (do_pop_context): Fold into pop_context.
3046         (pop_context): Returns int.
3047         (lex_next): Hoist test for end of directive into pop_context.
3048         (push_macro_context): Returns int; takes just reader and token.
3049         Hoist test for excessive nesting to caller.
3050         (push_arg_context): Returns void; takes just reader and token.
3051         Do not call stringify_arg or get_raw_token.
3052         (get_raw_token): Convert tail recursion through push_arg_context
3053         to a loop at this level.  Call stringify_arg here if appropriate.
3054         (maybe_paste_with_next): Convert tail recursion to a while loop.
3055         Hoist test of paste_level to caller.
3057         (stringify_arg): Push arg context at beginning.
3058         (cpp_get_token): Split out core into _cpp_get_token.  Call
3059         process_directive here.  Throw away CPP_PLACEMARKER tokens.
3060         (_cpp_get_token): Convert tail recursion through
3061         push_macro_context to a loop at this level.
3062         (_cpp_glue_header_name, is_macro_disabled, stringify_arg,
3063         _cpp_get_raw_token): Use _cpp_get_token.
3064         (_cpp_skip_rest_of_line): Drop the context stack directly; do
3065         not call pop_context.
3066         (_cpp_run_directive): Call lex_next directly.
3068         * cpphash.h: Prototype _cpp_get_token.
3069         * cppexp.c (lex): Use it.
3070         * cpphash.c (parse_define): Use it.
3071         * cpplib.c (get_define_node, do_undef, parse_include,
3072         read_line_number, do_line, do_ident, do_pragma, do_pragma_gcc,
3073         do_pragma_implementation, do_pragma_poison, do_pragma_dependency,
3074         parse_ifdef, validate_else): Use it.
3075         (cpp_push_buffer): Tweak error message; abort if anyone tries
3076         to push a buffer while macro expansions are stacked.
3078 2000-07-11  Donn Terry  <donnte@microsoft.com>
3080         * cpplex.c (free_macro_args, save_token): Cast arg of free
3081         and/or xrealloc to PTR.
3082         (_cpp_init_input_buffer): Clear all fields of the base context.
3084 Tue Jul 11 15:28:21 CDT 2000  Clinton Popetz  <cpopetz@cygnus.com>
3086         * gensupport.c (process_rtx): Make rtl checking stop
3087         complaining about the define_insn while it is being
3088         converted from a define_insn_and_split.
3090 Tue Jul 11 16:26:17 2000  Clinton Popetz  <cpopetz@cygnus.com>
3092         * config/mips/mips.c (simple_memory_operand): Access the
3093         INTVAL of the address, not it's containing MEM.
3095 2000-07-11  Bruce Korb  <bkorb@gnu.org>
3097         * fixinc/fixtests.c(double_slash): obsolete
3098         (else_endif_label): likewise
3099         * fixinc/inclhack.def(irix_multiline_cmnt): obsolete
3100         (libc1_ifdefd_memx): correct initial comment
3101         and omit the #if/#endif pair from the memxxx declarations
3102         * fixinc/fixincl.x: regen
3104 2000-07-11  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
3106         * cpplex.c (T, I, S, C, N): Avoid non-constant initializers.
3108 2000-07-11  Neil Booth  <NeilB@earthling.net>
3110         * cpp.texi: Update.
3112 2000-07-11  Neil Booth  <NeilB@earthling.net>
3114         * cppinit.c: (cpp_reader_init): Allow digraphs by default.
3115         (handle_option): Set digraphs according to standard.
3116         Merge OPT_lang_c89 handler with OPT_std_c89.
3118         * cpplex.c: (lex_line, can_paste): Honour digraphs in
3119         accordance with the digraphs flag.
3121         * cpplib.h: (struct cpp_options): New option digraphs.
3123 2000-07-10  Hans-Peter Nilsson  <hp@axis.com>
3124             Bruce Korb  <bkorb@gnu.org>
3126         * fixinc/inclhack.def (libc1_ifdefd_memx): New fix.
3127         * fixinc/fixincl.x: Regenerate.
3128         * fixinc/tests/base/testing.h: Add testcase.
3130 2000-07-10  Richard Henderson  <rth@cygnus.com>
3132         * config/ia64/ia64.c (got_symbolic_operand): New.
3133         (symbolic_operand, move_operand): Revert 0701 change.
3134         * config/ia64/ia64.h (PREDICATE_CODES): Update.
3135         * config/ia64/ia64-protos.h (got_symbolic_operand): Declare.
3136         * config/ia64/ia64.md (movdi): Revert 0701 wrt symbolic_operand;
3137         split the offset into a 14-bit low part instead of a 13-bit low part.
3138         (load_fptr): Mark the mem as unchanging.
3139         (load_symptr): Use got_symbolic_operand.
3141 2000-07-10  Nick Clifton  <nickc@cygnus.com>
3143         * libgcc2.c (next_stack_level): Cast result of computation to
3144         (void **) so that the assignment does not generate a warning.
3146 2000-07-10  Chandrakala Chavva  <cchavva@redhat.com>
3148         * flags.h : Add new variable flag_single_precision_constant.
3149         * toplev.c (display_help) : Add -fsingle-precision-constant option.
3150         (flag_single_precision_constant): New.
3151         * c-lex.c (yylex): Convert floating point constant to single
3152         precision constant.
3153         * invoke.texi : Add documentation for this new option.
3155 2000-07-10  Gabriel Dos Reis  <gdr@codesourcery.com>
3157         * diagnostic.c (output_octal): Second parameter is unsigned.
3158         (output_long_octal): Likewise.
3159         (output_hexadecimal): Likewise.
3160         (output_long_hexadecimal): Likewise.
3161         (output_format): Adjust arguments extraction. Tweak.
3162         (output_verbatim, verbatim): End variable argument list.
3163         (report_diagnostic): Improve documentation.
3165 2000-07-10  Benjamin Chelf  <chelf@codesourcery.com>
3167         * c-common.h (build_stmt): Declare.
3168         (build_continue_stmt): Likewise.
3169         (build_break_stmt): Likewise.
3170         (build_return_stmt): Likewise.
3172         * c-decl.c (do_case): Rewrite to do what previously done in
3173         c-parse.in.
3175         * c-semantics.c (build_stmt): Define.
3176         (build_return_stmt): Likewise.
3177         (build_break_stmt): Likewise.
3178         (build_continue_stmt): Likewise.
3179         (build_case_label): Likewise.
3181         * c-parse.in (BREAK): Change to build tree, then generate RTL.
3182         (CONTINUE): Likewise.
3183         (RETURN): Likewise.
3184         (CASE): Likewise.
3185         (DEFAULT): Likewise.
3187         * c-parse.y: Regenerate.
3188         * c-pasre.c: Likewise.
3190 2000-07-09  Jason Merrill  <jason@redhat.com>
3192         * expr.c (expand_expr): Bail earlier if we get an error_mark_node.
3194         * tree.h (STRIP_NOPS): Check for error_mark_node.
3195         (STRIP_SIGN_NOPS, STRIP_TYPE_NOPS): Likewise.
3196         (dwarf2out_*): Remove duplicate declarations.
3198         * c-decl.c (duplicate_decls): Copy DECL_ABSTRACT_ORIGIN from
3199         DECL_ABSTRACT_ORIGIN, not DECL_ORIGIN.
3201 2000-07-10  Gabriel Dos Reis  <gdr@codesourcery.com>
3203         * diagnostic.c (wrap_text): New function.
3204         (maybe_wrap_text): Likewise.
3205         (output_add_string): Use it.
3206         (output_format): Likewise.
3207         (count_error): Use verbatim instead of notice.
3208         (report_error_function): Likewise. Don't use plain fprintf.
3209         (finish_diagnostic): New function.
3210         (output_do_verbatim): Tweak.  Commonalize functionalities in
3211         output_verbatim and verbatim.
3212         (output_verbatim): Adjust.
3213         (verbatim): Likewise.
3214         (report_diagnostic): Define.
3216         * diagnostic.h (report_diagnostic): Prototype.
3218 2000-07-09  Zack Weinberg  <zack@wolery.cumb.org>
3220         * cppexp.c (_cpp_parse_expr): Don't use unary plus.
3222 2000-07-09  Neil Booth  <NeilB@earthling.net>
3224         * cpphash.h: ISvspace, is_vspace, is_nvspace: New.
3225         IShspace, ISspace: Update.
3227         * cppinit.c: ISTABLE: Update.
3228         V: New.
3230         * cpplex.c (IS_HSPACE, S_NEWLINE): Remove.
3231         (IS_DIRECTIVE): Rename KNOWN_DIRECTIVE.
3232         (skip_block_comment, skip_line_comment, parse_string,
3233         lex_line): Use is_vspace rather than IS_NEWLINE.
3234         (skip_whitespace, lex_line): Clean up to use is_nvspace.
3235         (lex_line): Use KNOWN_DIRECTIVE.  Any kind of directive
3236         gets a BOL flag.
3237         (lex_next): Unconditionally stop if within a directive.
3238         Treat directives within macro invocations as directives
3239         (after parse_args emits error), not as the argument.
3241 2000-07-09  Gabriel Dos Reis  <gdr@codesourcery.com>
3243         * diagnostic.c (diagnostic_args): New macro.
3244         (diagnostic_msg): Likewise.
3245         (output_formatted_integer): Likewise.
3246         (output_state): New data type.
3247         (digit_buffer): Make global.
3248         (output_add_integer): Rename to output_decimal. Squeeze
3249         digit_buffer.
3250         (output_long_decimal, output_unsigned_decimal,
3251         output_long_unsigned_decimal, output_octal, output_long_octal,
3252         output_hexadecimal, output_long_hexadecimal): New functions.
3253         (output_append_r): New function.
3254         (output_append): Tweak.
3255         (output_flush_on): Rename to output_to_stream.
3256         (output_format): Change prototype.  Improve documentation. Handle
3257         more format specifiers.
3258         (build_location_prefix): Rename to context_as_prefix.
3259         (output_notice): Rename to output_do_printf.
3260         (output_printf): Tweak.
3261         (line_wrapper_printf): Likewise.
3262         (vline_wrapper_message_with_location): Adjust call to renamed
3263         functions.
3264         (v_message_with_decl): Likewise.
3265         (default_print_error_function): Likewise.
3266         (save_output_state): New function.
3267         (restore_output_state): Likewise.
3268         (output_do_verbatim): Likewise.
3269         (output_verbatim): Define.
3270         (verbatim): Likewise.
3272         * diagnostic.h (printer_fn): Change return type from void to int.
3273         Improve documentation.
3274         (output_add_integer): Rename to output_decimal.
3275         (output_flush_on, output_format): Don't export.
3276         (output_verbatim, verbatim): Declare.
3278 2000-07-08  Toon Moene  <toon@moene.indiv.nluug.nl>
3280         * fold-const.c (extract_muldiv) case PLUS_EXPR, MINUS_EXPR:
3281         Check whether c divides op1 exactly if operation is not
3282         multiplication.
3284 2000-07-08  Richard Henderson  <rth@cygnus.com>
3286         * final.c (final): Do not abort when reg-stack introduces
3287         a new insn.
3289 2000-07-08  Zack Weinberg  <zack@wolery.cumb.org>
3291         * cpplib.h (struct cpp_name): Now struct cpp_string.
3292         (CPP_INT, CPP_FLOAT, CPP_NUMBER, CPP_COMMENT,
3293         CPP_HEADER_NAME): Change to type S.
3294         (struct cpp_token): Rename 'name' field to 'str'.  Add 'node'
3295         field, a cpp_hashnode *.  All references to val.name updated
3296         to use val.str or val.node as appropriate.
3297         (struct cpp_reader): Add spec_nodes field.
3298         (cpp_idcmp): Now cpp_ideq; takes a token * and a char *.
3300         * cpphash.h (struct spec_nodes): New.
3301         (enum spell_type): Reorder.  Only SPELL_STRING tokens use
3302         val.str.  All references to 'spelling > SPELL_NONE' updated to
3303         match.
3305         (CPP_IN_SYSTEM_HEADER): Check pfile->buffer and
3306         pfile->buffer->inc are not NULL before dereferencing them.
3308         * cpplex.c (parse_name): Take a pointer to the current token,
3309         plus current position and limit as args; return the new
3310         position; don't copy the text of a name into the string
3311         buffer, instead call cpp_lookup and store the node pointer.
3312         If extending a token, copy out the text of the old into a
3313         scratch buffer, append the new, look that up and store the new
3314         node pointer.  Inline.
3315         (maybe_paste_with_next): If the result of paste is a NAME,
3316         then look up the pasted text and store its node pointer.
3317         (lex_line): Adjust for new parse_name interface.
3318         Check for L"str", L'str' using spec_nodes->n_L.
3319         (spell_token): SPELL_IDENT tokens have their spelling in
3320         val.node->name.  Handle SPELL_STRING tokens that don't have
3321         string delimiters.
3322         (_cpp_expand_name_space,
3323         (can_paste): Check for L ## "str" using spec_nodes->n_L.
3324         (cpp_get_token, special_symbol): No need to call cpp_lookup.
3325         (cpp_idcmp): Now cpp_ideq; take a token * and a const char *;
3326         return 1=equal 0=not, not a tristate.
3328         * cpphash.c (var_args_str): Delete.
3329         (find_param): Compare node fields directly.
3330         (is__va_args__): Use CPP_PEDANTIC.  Just compare
3331         token->val.node with spec_nodes->n__VA_ARGS__.
3332         (dump_funlike_macro): Don't use var_args_str.
3334         * cpplib.c (_cpp_check_directive): Just walk through
3335         spec_nodes->dirs comparing pointers.
3336         (get_define_node, do_pragma_poison, detect_if_not_defined,
3337         parse_ifdef): The identifier has already been looked up.
3338         (do_ifdef, do_ifndef): parse_ifdef won't return a poisoned
3339         node.
3340         (do_if): Only call detect_if_not_defined at beginning of file.
3341         (_cpp_parse_assertion): Only copy string pointers for
3342         SPELL_STRING tokens.
3343         (pragma_dispatch): Take a node pointer and examine its name
3344         field.
3345         (_cpp_init_stacks): Also initialize the spec_nodes structure.
3347         * cppinit.c (cpp_reader_init): Call _cpp_init_stacks after
3348         _cpp_init_macros.
3349         (cpp_cleanup): Free pfile->spec_nodes.  Call _cpp_cleanup_* in
3350         reverse order from the corresponding _cpp_init_* routines.
3352         * cppexp.c (parse_number, parse_charconst, parse_defined,
3353         lex): Check val.node->type instead of calling cpp_defined.
3354         Use spec_nodes entries where appropriate.
3356         * fix-header.c, scan-decls.c: Update for interface changes.
3358 2000-07-08  Geoffrey Keating  <geoffk@cygnus.com>
3360         * config/rs6000/rs6000.c (rs6000_emit_move): Fix conditions for
3361         emitting aux_truncdfsf2.
3363 2000-07-03  Donn Terry  (donnte@microsoft.com)
3365         * cppinit.c (print_help): split overlong line into ISO C89
3366         maximum chunks.
3368 2000-07-07  Zack Weinberg  <zack@wolery.cumb.org>
3370         * cppexp.c: Update all code for new lexer interface.
3371         (op_t, operator codes, struct token, tokentab2, op_to_str): Remove.
3372         (struct suffix, vsuf_1, vsuf_2, vsuf_3, op_to_prio): New.
3373         * cpplex.c (token_names): Trim leading CPP_ from names; make
3374         the strings unsigned.
3375         (_cpp_spell_operator): New.
3376         (is_macro_disabled): Disable all macros if rescanning
3377         preprocessed text.
3378         (_cpp_get_directive_token): Remove.
3380         * cppinit.c: Don't set no_macro_expand.
3381         * cpplib.c (read_line_number, do_line): Check only for EOF,
3382         not VSPACE.
3383         * cpphash.h: Update prototypes.
3384         * cpplib.h (CPP_VSPACE): Remove.
3385         (struct cpp_reader): Remove no_macro_expand.
3387 2000-07-08  Neil Booth  <NeilB@earthling.net>
3389         * cpphash.c (is__va_args__): New function.
3390         (count_params): Fix line reported in error messages.  Use
3391         is__va_args__.  Don't return ')' on error.  Flag GNU style
3392         rest args macro definitions.
3393         (parse_define): Check macro name is not __VA_ARGS__.
3394         (save_expansion): Check identifier in non-varargs-macro is
3395         not __VA_ARGS__.  Don't flag GNU_VARARGS.
3396         * cpplex.c (parse_args): Accept no argument iff GNU_REST_ARGS.
3397         (maybe_paste_with_next): Use per-macro GNU_REST_ARGS rather
3398          than per-token GNU_VARARGS.
3399         * cpplib.h (GNU_VARARGS): Remove.
3400         (GNU_REST_ARGS): New.
3402 Sat Jul  8 01:38:25 MET DST 2000  Jan Hubicka  <jh@suse.cz>
3404         * i386.md (call_pop, call, call_value_pop): Do not set
3405         current_function_uses_pic_offset_table for calls to static
3406         functions or indirect calls.
3408 2000-07-07  Jim Wilson  <wilson@cygnus.com>
3410         * config/ia64/ia64.c (rws_access_reg): New local write_count.  If
3411         is_predicate_reg, then take max write_count of register pair.
3413 2000-07-07  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
3415         * tradcpp.c (main): Rename label `include' to `add_include' to
3416         avoid conflicts with variable `include' in traditional C.
3418 2000-07-07  Jakub Jelinek  <jakub@redhat.com>
3420         * integrate.c (copy_insn_list): Remove REG_LABEL notes.
3422 2000-07-07  Jakub Jelinek  <jakub@redhat.com>
3424         * sibcall.c (uses_addressof): Add INMEM argument, check for
3425         current_function_internal_arg_pointer outside of MEM rtxs in addition
3426         to ADDRESSOFs.
3427         (sequence_uses_addressof): Update caller.
3429 2000-07-07  Zack Weinberg  <zack@wolery.cumb.org>
3431         * tradcpp.c (initialize_builtins): Honor NO_BUILTIN_SIZE_TYPE
3432         and friends.
3434 2000-07-07  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
3436         * system.h (UNION_INIT_ZERO): New macro for initializing union
3437         members in structs.
3439         * cpplex.c (placemarker_token, eof_token): Use UNION_INIT_ZERO.
3441 2000-07-07  Neil Booth  <NeilB@earthling.net>
3443         * cpp.texi: Update.
3445 Fri Jul  7 07:47:35 2000  Jeffrey A Law  (law@cygnus.com)
3447         * final.c (final): Detect out of bounds array access to
3448         the insn_lengths array.
3450 2000-07-07  Kazu Hirata  <kazu@hxi.com>
3452         * fold-const.c (fold): Fix a comment typo.
3454 2000-07-07  Neil Booth  <NeilB@earthling.net>
3456         * cpp.texi: Update to new lexer.
3458 2000-07-06  Zack Weinberg  <zack@wolery.cumb.org>
3460         * tradcpp.c: New file.
3461         * tradcif.y: New file.
3462         * tradcif.c: New generated file.
3464         * Makefile.in: Add rules to build tradcpp.o, tradcif.o,
3465         $(srcdir)/tradcif.c.  Add tradcpp to STAGESTUFF and
3466         dependencies of C.  Install tradcpp from install-common, in
3467         $(libsubdir).
3469 2000-07-06  Zack Weinberg  <zack@wolery.cumb.org>
3471         * cppinit.c: Include cppdefault.h.  Refer to
3472         cpp_GCC_INCLUDE_DIR and cpp_GCC_INCLUDE_DIR_len, not directly
3473         to GCC_INCLUDE_DIR and its length.
3474         (SIZE_TYPE, PTRDIFF_TYPE, WCHAR_TYPE,
3475         USER_LABEL_PREFIX, REGISTER_PREFIX, struct default_include,
3476         STANDARD_INCLUDE_DIR, STANDARD_INCLUDE_COMPONENT):  Move to
3477         cppdefault.h.
3478         (include_defaults_array): Move to cppdefault.c.
3480         * cppdefault.h: New file.
3481         * cppdefault.c: New file.
3483         * Makefile.in (LIBCPP_OBJS): Add cppdefault.o.
3484         (cppinit.o): Don't apply $(PREPROCESSOR_DEFINES) to this file.
3485         (cppdefault.o): New rule; apply $(PREPROCESSOR_DEFINES) to
3486         this file.
3488 Thu Jul  6 18:30:36 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
3490         * reload.c (push_reload): When seeing if can reuse a register,
3491         check extra registers against widest of INMODE and OUTMODE.
3493 2000-07-06  Neil Booth  <NeilB@earthling.net>
3495         * cpplib.c: (_cpp_parse_assertion):  Perform hash lookups
3496         based on full length of predicate.
3498 2000-07-06  Hans-Peter Nilsson  <hp@axis.com>
3500         * timevar.c: [HAVE_SYS_RESOURCE_H]: Include <sys/resource.h>.
3501         [NEED_DECLARATION_GETRUSAGE]: Declare getrusage.
3503 2000-07-05  Kazu Hirata  <kazu@hxi.com>
3505         * h8300-proto.h: Fix formatting.
3506         * h8300.c: Likewise.
3507         * h8300.h: Likewise.
3509 2000-07-05  Jim Wilson  <wilson@cygnus.com>
3511         * config/ia64/ia64.h (HARD_REGNO_MODE_OK): If FR_REGNO_P, disallow
3512         CCmode.
3514 2000-07-05  Rodney Brown  <RodneyBrown@pmsc.com>
3516         * invoke.texi: Fix minor typos
3517         * md.texi: Fix minor typos
3519 2000-07-05  Zack Weinberg  <zack@wolery.cumb.org>
3521         * cpplib.c (_cpp_parse_assertion): Fix buffer overrun.
3523 2000-07-04  Zack Weinberg  <zack@wolery.cumb.org>
3525         * cpplex.c: Don't include sys/mman.h.
3526         (cpp_push_buffer, cpp_pop_buffer): Moved to cpplib.c.
3528         * cpplib.c: Include sys/mman.h and obstack.h.
3529         (cpp_push_buffer): Moved from cpplex.c; allocate buffers on an
3530         obstack.
3531         (cpp_pop_buffer): Moved from cpplex.c; free buffers from an obstack.
3532         (_cpp_unwind_if_stack): Now static, unwind_if_stack.  Don't
3533         bother freeing if stack entries (they will be freed with their buffer).
3534         (do_endif): Free if stack entries from the buffer obstack.
3535         (push_conditional): Allocate if stack entries from the buffer obstack.
3537         (find_answer): Rename to _cpp_find_answer.
3538         (do_assert, do_unassert): Update.
3540         * cpphash.h: Update prototypes.
3541         (xobnew): New convenience macro.
3542         * cpplib.h (struct cpp_reader): Add hash_ob and buffer_ob fields.
3543         Update comments.
3544         (struct cpp_hashnode): Remove disabled field.
3546         * cppinit.c: Don't include hashtab.h or splay-tree.h.
3547         (report_missing_guard): Moved to cppfiles.c.
3548         (cpp_reader_init): Call cpp_init_stacks, cpp_init_macros,
3549         cpp_init_includes.
3550         (cpp_cleanup): Call cpp_cleanup_stacks, cpp_cleanup_macros,
3551         cpp_cleanup_includes.  Don't destroy hashtab or
3552         all_include_files here.
3553         (cpp_finish): Use _cpp_report_missing_guards.
3555         * cppfiles.c (report_missing_guard): Moved from cppinit.c.
3556         (_cpp_init_include_table): Rename _cpp_init_includes.
3557         (_cpp_cleanup_includes, _cpp_report_missing_guards): New.
3559         * cppexp.c (parse_assertion): Update for new name of
3560         find_answer.
3562         * Makefile.in (cpplib.o, cpphash.o, cppinit.o): Update deps.
3564 2000-07-04  Zack Weinberg  <zack@wolery.cumb.org>
3566         * cpplib.c (do_ident): s/VSPACE/EOF/
3568 2000-07-05  Neil Booth  <NeilB@earthling.net>
3570         * cpplex.c: Fix trigraph replacement within strings.
3572 2000-07-04  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
3574         * rs6000/aix.h (ASM_GENERATE_INTERNAL_LABEL): Fix format specifier.
3576         * xcoffout.c (assign_type_number): Constify.
3577         (xcoffout_source_file): Add static prototype.  Don't needlessly
3578         cast away const-ness.
3580 2000-07-04  Jason Merrill  <jason@redhat.com>
3582         * frame.h (frame_state): Move base_offset to end.
3584 Mon Jul  3 21:31:43 2000  Clinton Popetz  <cpopetz@cygnus.com>
3586         * calls.c (emit_library_call_value_1): Revert previous change.
3588 2000-07-03  Zack Weinberg  <zack@wolery.cumb.org>
3590         * fix-header.c (struct partial_proto): Remove unnecessary fields.
3591         (recognized_extern, recognized_function, read_scan_file):
3592         Update for new scheme.
3593         (check_protection): It's still a multiple include guard even
3594         if it doesn't always trigger.
3595         * scan-decls.c (skip_to_closing_brace, scan_decls): Update for
3596         new scheme.
3597         * scan.h: Declare struct cpp_token.  Update prototypes.
3599 2000-07-03  Neil Booth  <neilb@earthling.net>
3600             Zack Weinberg  <zack@wolery.cumb.org>
3602         Complete overhaul of the lexer and macro expander.
3604         * cpphash.c (object_defn, funct_defn, push_macro_expansion,
3605         arg, arglist, argdata, reflist, collect_objlike_expansion,
3606         collect_funlike_expansion, collect_params,
3607         warn_trad_stringify, trad_stringify, duplicate_arg_p, add_pat,
3608         unsafe_chars, macarg, compare_defs, special_symbol,
3609         scan_arguments, stringify, funlike_macroexpand,
3610         _cpp_quote_string, monthnames): Delete.
3611         (cpp_lookup, _cpp_free_definition, dump_funlike_macro,
3612         _cpp_create_definition, _cpp_dump_definition,
3613         dump_hash_helper): Adjust.
3614         (find_param, count_params, parse_define, var_args_str,
3615         check_macro_redefinition, save_expansion): New.
3617         * cpplex.c (skip_block_comment, skip_line_comment, parse_name,
3618         parse_string, output_line_command, trigraph_replace,
3619         lex_line, cpp_push_buffer, cpp_pop_buffer, cpp_output_tokens,
3620         cpp_scan_buffer_nooutput, cpp_scan_buffer, cpp_free_toklist,
3621         cpp_idcmp, _cpp_get_directive_token, _cpp_init_input_buffer,
3622         _cpp_skip_rest_of_line): Modify.
3624         (maybe_macroexpand, skip_comment, copy_comment, skip_string,
3625         find_position, null_warning, bump_column, expand_name_space,
3626         pedantic_whitespace, _cpp_output_list, _cpp_slice_toklist,
3627         _cpp_squeeze_toklist, _cpp_scan_until, _cpp_skip_hspace,
3628         _cpp_parse_name, _cpp_lex_token, cpp_get_non_space_token,
3629         _cpp_prescan): Delete.
3631         (dump_param_spelling, process_directive, lex_next,
3632         is_macro_disabled, stringify_arg, expand_context_stack,
3633         output_token, make_string_token, alloc_number_token,
3634         special_symbol, duplicate_token, maybe_paste_with_next,
3635         can_paste, prevent_macro_expansion, restore_macro_expansion,
3636         get_temp_token, release_temp_tokens, quote_string,
3637         token_names, token_spellings, _cpp_expand_name_space,
3638         _cpp_glue_header_name, _cpp_reserve_name_space,
3639         digraph_spellings, trigraph_ok, skip_whitespace, save_comment,
3640         placemarker_token, eof_token, cpp_context, macro_args,
3641         get_raw_token, parse_arg, parse_args, save_token,
3642         push_arg_context, push_macro_context, pop_context,
3643         do_pop_context, free_macro_args, _cpp_get_line,
3644         _cpp_run_directive): New.
3646         * cpplib.c (validate_else, parse_include, push_conditional,
3647         pass_thru_directive, read_line_number, parse_ifdef,
3648         detect_if_not_defined, _cpp_check_directive, do_define,
3649         do_undef, do_include, do_import, do_include_next, do_error,
3650         do_warning, do_ident, do_pragma, pragma_dispatch, gcc_pragmas,
3651         top_pragmas, do_pragma_gcc, do_pragma_implementation,
3652         do_pragma_poison, do_pragma_system_header,
3653         do_pragma_dependency, do_sccs, do_ifdef, do_ifndef, do_else,
3654         dl_elif, do_endif, _cpp_unwind_if_stack, do_assert,
3655         do_unassert, cpp_define, cpp_undef, cpp_assert, cpp_unassert,
3656         cpp_defined): Update for new scheme.
3657         (strtoul_for_line, get_define_node, dump_macro_name,
3658         _cpp_check_linemarker, _cpp_parse_assertion): New.
3659         (_cpp_handle_directive, do_pragma_default): Delete.
3661         * cpphash.h (struct predicate): Now struct answer.
3662         (enum spell_type, struct token_spelling, struct directive,
3663         directive_handler): New.
3664         Update prototypes.  Remove unused macros.
3665         * cpplib.h: Update prototypes.  Remove unused macros,
3666         structure definitions, and fields.
3668         * cpperror.c (print_containing_files, v_message): Adjust.
3669         * cppexp.c (parse_assertion, lex, parse_escape,
3670         _cpp_parse_expr): Adjust.
3671         * cppfiles.c (open_include_file, _cpp_execute_include,
3672         _cpp_compare_file_date, cpp_read_file, read_include_file):
3673         Adjust.
3674         * cppinit.c (dump_special_to_buffer): Delete.
3675         (append_include_chain, merge_include_chains, cpp_reader_init,
3676         cpp_cleanup, initialize_builtins, builtin_array, cpp_start_read,
3677         cpp_finish, handle_option, print_help): Adjust.
3678         * cppmain.c (main): Adjust.
3680 2000-07-03  Zack Weinberg  <zack@wolery.cumb.org>
3682         * cppspec.c (lang_specific_driver): Use double quotes in error
3683         message.
3685 Mon Jul  3 16:53:43 2000  Clinton Popetz  <cpopetz@cygnus.com>
3687         * calls.c (emit_library_call_value_1): Use valreg instead
3688         of hard_libcall_value.
3690 2000-07-03  Geoff Keating  <geoffk@cygnus.com>
3692         * config/rs6000/rs6000.c (rs6000_emit_move): New function.
3693         * config/rs6000/rs6000-proto.h: Prototype rs6000_emit_move.
3694         * config/rs6000/rs6000.md (movsi): Use rs6000_emit_move.
3695         (movhi): Likewise.
3696         (movqi): Likewise.
3697         (movdf): Likewise.
3698         (movsf): Likewise.
3699         (movdi): Likewise.
3700         (movti): Likewise.
3702         * expmed.c (expand_mult_highpart): Use op1 instead of wide_op1 when
3703         mode instead of wider_mode is being used.
3705 2000-07-03  Jakub Jelinek  <jakub@redhat.com>
3707         * config/i386/i386.md (movstrictqi_xor): Use 'q' constraint instead
3708         of 'r'. Use q_regs_operand.
3709         (andsi_1+2): Use q_regs_operand.
3711 2000-07-03  Jakub Jelinek  <jakub@redhat.com>
3713         * builtins.c (get_memory_rtx): Always put into alias set 0.
3715 2000-07-03  Nick Clifton  <nickc@cygnus.com>
3717         * config/arm/arm.md: Fix post increment and pre increment
3718         peepholes so that they do not generate UNPREDICATBLE opcodes.
3719         (ie ones where the increment clobbers the source/destination).
3721 2000-07-01  Marek Michalkiewicz  <marekm@linux.org.pl>
3723         * config/avr/avr.c (out_adj_frame_ptr): Make "frame pointer
3724         change too big for -mtiny-stack" a warning, if larger than 63.
3725         (out_set_stack_ptr): Change the logic so -mno-interrupts is
3726         always safe to use on possible future devices.
3727         (function_prologue): Write SPH before SPL, for consistency.
3728         If interrupt_func_p true, we know we have enabled interrupts.
3729         (avr_num_arg_regs): New function.  Round up to even number of
3730         bytes if no -mpack-args or if calling a libgcc function.
3731         (function_arg, function_arg_advance): Use it.
3732         (output_movsisf, ashlsi3_out, ashrsi3_out, lshrsi3_out):
3733         Output "movw" if available.
3734         (out_tsthi, out_tstsi, ashlqi3_out, lshrqi3_out): Change uses
3735         of TEST_HARD_REG_CLASS macro to test_hard_reg_class function.
3736         (asm_output_section_name): Add blanks for consistent output.
3737         (encode_section_info): Set TREE_READONLY for progmem data to
3738         avoid gas warnings about changed section attributes.
3739         (avr_hard_regno_mode_ok): Force non-QImode data to start in
3740         even numbered registers on devices with "movw".
3741         * config/avr/avr.h (MASK_*): Define bits for target_flags.
3742         (TARGET_SWITCHES): Mark help strings for translation.
3743         Add new -mpack-args and -menhanced switches.
3744         (TARGET_OPTIONS): Mark help strings for translation.
3745         (progmem_section): Add section attributes.
3746         * config/avr/avr.md (*movhi, call_insn, call_value_insn):
3747         Output "movw" if available.
3748         (mulqi3, mulqihi3, umulqihi3, mulhi3, *tablejump_enh):
3749         New patterns.
3750         * config/avr/libgcc.S (_mulqi3, _divqi3): Update to the new
3751         call convention (arguments aligned on even registers).
3752         (_cleanup, _exit): Make weak symbols libc can override.
3754 2000-07-03  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
3756         * fp-bit.h: New file.
3758         * fp-bit.c: Move common code, prototypes, etc into fp-bit.h.
3759         Comment #endif statements.
3760         (__thenan_sf, __thenan_df): Add missing braces around initializer.
3762 Mon Jul  3 00:32:47 2000  Jeffrey A Law  (law@cygnus.com)
3764         * gcse.c (compute_pre_data): Compute ae_kill using other local
3765         properties instead of calling compute_ae_kill.
3767         * alias.c (init_alias_analysis): Do not call
3768         prologue_epilogue_contains until after reload has completed.
3770 2000-07-02  Benjamin Chelf  <chelf@codesourcery.com>
3772         * c-common.h (genrtl_begin_compound_stmt): Remove declaration.
3773         (genrtl_finish_compound_stmt): Likewise.
3774         (genrtl_compound_stmt): Change to return void.
3776         * c-semantics.c (genrtl_begin_compound_stmt): Remove function and
3777         move code from here to ...
3778         (genrtl_compound_stmt): ... here.
3779         (genrtl_finish_compound_stmt): Remove.
3780         (expand_stmt): Add comment.
3782 2000-07-02  Zack Weinberg  <zack@wolery.cumb.org>
3784         * c-typeck.c (build_indirect_ref): Use COMPLETE_OR_VOID_TYPE_P
3785         and VOID_TYPE_P.
3787 2000-07-02  Jakub Jelinek  <jakub@redhat.com>
3789         * cpplib.h (struct cpp_reader): New field include_depth.
3790         (struct cpp_printer): Rename last_bsd to last_id.
3791         * cppfiles.c (read_include_file): Bump include_depth.
3792         * cpplex.c (cpp_pop_buffer): Decrement include_depth.
3793         (output_line_command): Output correct #line if a header
3794         is including itself and is not protected against multiple inclusion.
3795         Use include_depth instead of buffer_stack_depth, last_id instead of
3796         last_bsd.
3797         * cppinit.c (cpp_start_read): Initialize last_id instead of
3798         last_bsd.
3800 2000-07-01  Benjamin Chelf  <chelf@codesourcery.com>
3802         * Makefile.in (C_AND_OBJC_OBJS): Added c-semantics.o.
3803         (c-semantics.o): New target.
3805         * c-common.h (TREE_LANG_FLAG_?): Added documentation.
3806         (genrtl_do_pushlevel): Moved from cp/cp-tree.h.
3807         (genrtl_clear_out_block): Likewise.
3808         (genrtl_goto_stmt): Likewise.
3809         (genrtl_expr_stmt): Likewise.
3810         (genrtl_decl_stmt): Likewise.
3811         (genrtl_if_stmt): Likewise.
3812         (genrtl_while_stmt): Likewise.
3813         (genrtl_do_stmt): Likewise.
3814         (genrtl_return_stmt): Likewise.
3815         (genrtl_for_stmt): Likewise.
3816         (genrtl_break_stmt): Likewise.
3817         (genrtl_continue_stmt): Likewise.
3818         (genrtl_scope_stmt): Likewise.
3819         (genrtl_switch_stmt): Likewise.
3820         (genrtl_case_label): Likewise.
3821         (genrtl_begin_compound_stmt): Likewise.
3822         (gerntl_finish_compound_stmt): Likewise.
3823         (genrtl_compound_stmt): Likewise.
3824         (genrtl_asm_stmt): Likewise.
3825         (genrtl_decl_cleanup): Likewise.
3826         (DECL_ANON_UNION_ELEMS): Likewise.
3827         (emit_local_var): Likewise.
3828         (make_rtl_for_local_static): Likewise.
3829         (expand_cond): Likewise.
3830         (expand_stmt): Likewise.
3831         (c_expand_return): Likewise.
3832         (c_expand_start_case): Likewise.
3833         (do_case): Likewise.
3834         (COMPOUND_STMT_NO_SCOPE): Likewise.
3835         (c_expand_asm_operands): Likewise.
3836         (NEW_FOR_SCOPE_P): New macro.
3837         (expand_expr_stmt_fn): New type.
3839         (set_current_function_name_declared): Likewise.
3840         (current_function_name_declared): Likewise.
3841         (lang_expand_stmt): Likewise.
3842         (stmts_are_full_exprs_p): Likewise.
3843         (anon_aggr_type_p): Likewise.
3844         (lang_expand_expr_stmt): Likewise.
3845         (build_case_label): Likewise.
3847         * c-decl.c (lang_expand_expr_stmt): Initialize.
3848         (stmts_are_full_exprs_p): Define.
3849         (current_function_name_declared): Likewise.
3850         (do_case): Likewise.
3851         (lang_expand_stmt): Likewise.
3852         (set_current_function_name_declared): Likewise.
3853         (anon_aggr_type_p): Likewise.
3855         * c-semantics.c: New file.
3856         (expand_cond): Moved from cp/semantics.c.
3857         (genrtl_do_pushlevel): Likewise.
3858         (genrtl_clear_out_block): Likewise.
3859         (genrtl_goto_stmt): Likewise.
3860         (genrtl_expr_stmt): Likewise.
3861         (genrtl_decl_stmt): Likewise.
3862         (genrtl_if_stmt): Likewise.
3863         (genrtl_while_stmt): Likewise.
3864         (genrtl_do_stmt): Likewise.
3865         (genrtl_return_stmt): Likewise.
3866         (genrtl_for_stmt): Likewise.
3867         (genrtl_break_stmt): Likewise.
3868         (genrtl_continue_stmt): Likewise.
3869         (genrtl_scope_stmt): Likewise.
3870         (genrtl_switch_stmt): Likewise.
3871         (genrtl_case_label): Likewise.
3872         (genrtl_begin_compound_stmt): Likewise.
3873         (genrtl_finish_compound_stmt): Likewise.
3874         (genrtl_compound_stmt): Likewise.
3875         (genrtl_asm_stmt): Likewise.
3876         (genrtl_decl_cleanup): Likewise.
3877         (make_rtl_for_local_static): Moved from cp/decl.c.
3878         (emit_local_var): Likewise.
3879         (expand_stmt): Define.
3881         * c-tree.h: (c_expand_asm_operands): Moved to c-common.h.
3882         (c_expand_return): Likewise.
3883         (c_expand_start_case): Likewise.
3885 2000-07-01  Richard Henderson  <rth@cygnus.com>
3887         * config/ia64/ia64.c (symbolic_operand): Reject CONST expressions
3888         with the low 13 bits set.
3889         (move_operand): Check for CONST|SYMBOL_REF|LABEL_REF directly.
3890         * config/ia64/ia64.md (movdi): Likewise.  Expand a CONST with one
3891         of the low 13 bits into a CONST plus an adddi3.
3892         (load_symptr): Set RTX_UNCHANGING_P.
3894 See ChangeLog.3 for earlier changes.