OSDN Git Service

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