function.h (emit_status): Delete member regno_pointer_flag and rename regno_pointer_f...
[gcc.git] / gcc / ChangeLog
1 2000-11-29 John David Anglin <dave@hiauly1.hia.nrc.ca>
2
3 * function.h (emit_status): Delete member regno_pointer_flag and
4 rename regno_pointer_flag_length to regno_pointer_align_length.
5 Delete define for REGNO_POINTER_FLAG.
6 * integrate.h (inline_remap): Delete member regno_pointer_flag.
7 Add member x_regno_reg_rtx.
8 * rtl.h (rtx_def): Use frame_related bit to indicate register is
9 a pointer in REG expressions. Define REG_POINTER macro.
10 * alias.c (find_base_value, find_base_term): Use REG_POINTER
11 instead of REGNO_POINTER_FLAG.
12 * combine.c (nonzero_bits, num_sign_bit_copies): Likewise.
13 * emit-rtl.c (gen_reg_rtx): Use regno_pointer_align_length instead
14 of regno_pointer_flag_length. Remove code which refers to
15 regno_pointer_flag.
16 (mark_reg_pointer): Use REG_POINTER.
17 (free_emit_status): Remove code which refers to regno_pointer_flag.
18 (init_emit, mark_emit_status): Likewise.
19 * flow.c (dump_flow_info): Likewise.
20 * function.c (preserve_temp_slots): Likewise.
21 * integrate.c (expand_inline_function, copy_rtx_and_substitute):
22 Use x_regno_reg_rtx instead of regno_pointer_flag for function
23 pointer determination in map.
24 * loop.c (strength_reduce, maybe_eliminate_biv_1): Use REG_POINTER.
25 * predict.c (estimate_probability): Likewise.
26 * regclass.c (record_address_regs, reg_scan_mark_refs): Likewise.
27 * unroll.c (unroll_loop): Use x_regno_reg_rtx instead of
28 regno_pointer_flag for function pointer determination in map.
29 * convex.h (RTX_COSTS): Don't test regno_pointer_flag and use
30 REG_POINTER.
31 * pa.c (hppa_legitimize_address, emit_move_sequence, basereg_operand):
32 Use REG_POINTER.
33 (restore_unscaled_index_insn_codes): Revise comment.
34
35 * expr.c (do_compare_and_jump): Add missing TYPE_MODE in statement.
36
37 2000-11-30 Joseph S. Myers <jsm28@cam.ac.uk>
38
39 * extend.texi: Update documentation for attributes.
40
41 2000-11-29 David O'Brien <obrien@FreeBSD.org>
42
43 * config/alpha/elf.h (IDENT_ASM_OP): Protect the #define.
44 (ASM_DECLARE_OBJECT_NAME): Same.
45 (ASM_FILE_END): Same.
46 (ASM_FINISH_DECLARE_OBJECT): Same.
47 (ASM_IDENTIFY_GCC): Same.
48 (ASM_IDENTIFY_LANGUAGE): Same.
49 (ASM_OUTPUT_CONSTRUCTOR): Same.
50 (ASM_OUTPUT_DEF): Same.
51 (ASM_OUTPUT_DESTRUCTOR): Same.
52 (ASM_OUTPUT_EXTERNAL_LIBCALL): Same.
53 (ASM_OUTPUT_SECTION_NAME): Same.
54 (ASM_WEAKEN_LABEL): Same.
55 (BSS_SECTION_ASM_OP): Same.
56 (COMMON_ASM_OP): Same.
57 (CONST_SECTION_ASM_OP): Same.
58 (CONST_SECTION_FUNCTION): Same.
59 (CTORS_SECTION_ASM_OP): Same.
60 (DTORS_SECTION_ASM_OP): Same.
61 (ESCAPES): Same.
62 (FINI_SECTION_ASM_OP): Same.
63 (IDENT_ASM_OP): Same.
64 (IDENT_ASM_OP): Same.
65 (INIT_SECTION_ASM_OP): Same.
66 (INT_ASM_OP): Same.
67 (MAX_OFILE_ALIGNMENT): Same.
68 (SBSS_SECTION_ASM_OP): Same.
69 (SDATA_SECTION_ASM_OP): Same.
70 (SECTION_FUNCTION_TEMPLATE): Same.
71 (SELECT_SECTION): Same.
72 (SE_CONST_SECTION): Same.
73 (SIZE_ASM_OP): Same.
74 (SKIP_ASM_OP): Same.
75 (STRING_ASM_OP): Same.
76 (STRING_LIMIT): Same.
77 (TYPE_ASM_OP): Same.
78 (TYPE_OPERAND_FMT): Same.
79
80 2000-11-29 Neil Booth <neilb@earthling.net>
81
82 * c-decl.c (c_decode_option): Don't handle -lang-objc.
83 * objc/lang-options.h: Remove -lang-objc.
84 * objc/lang-specs.h: Don't pass -lang-objc to cc1obj.
85 * objc/objc-act.c (lang_init_options): Set c_language.
86
87 2000-11-29 Jakub Jelinek <jakub@redhat.com>
88
89 * expr.c (can_store_by_pieces): Reinitialize max_size for reverse
90 tests.
91
92 2000-11-29 Neil Booth <neilb@earthling.net>
93
94 * c-pragma.c (init_pragma): Update for parse_in type change.
95
96 2000-11-29 Laurynas Biveinis <lauras@softhome.net>
97
98 * configure.in: recognize DOS-style absolute paths.
99
100 2000-11-29 Jakub Jelinek <jakub@redhat.com>
101
102 * expr.h (store_by_pieces): Add prototype.
103 (can_store_by_pieces): Likewise.
104 * expr.c (struct store_by_pieces): Renamed from clear_by_pieces.
105 (can_store_by_pieces): New.
106 (store_by_pieces): New.
107 (clear_by_pieces): New.
108 (clear_by_pieces_1): New.
109 (store_by_pieces_1): Renamed from clear_by_pieces, handle storing
110 arbitrary compiler generated constants into memory block.
111 (store_by_pieces_2): Renamed from clear_by_pieces_1, likewise.
112 * builtins.c (c_readstr): New.
113 (builtin_memcpy_read_str): New.
114 (expand_builtin_memcpy): If src is string constant and
115 emit_block_move would move it by pieces, compute integer constants
116 from the string and store it into memory block instead.
117 (builtin_strncpy_read_str): New.
118 (expand_builtin_strncpy): If N is not constant zero and c_strlen does
119 not return INTEGER_CST, don't optimize.
120 If N is larger than strlen(src) + 1, try to copy the string
121 including padding with store_by_pieces.
122 (expand_builtin_strcmp): If both arguments have side effects, don't
123 optimize.
124 (expand_builtin_fputs): If STR has side effects, don't optimize.
125
126 2000-11-29 Richard Earnshaw <rearnsha@arm.com>
127
128 * arm.md (sibcall, sibcall_value, sibcall_insn, sibcall_value_insn):
129 Add use of link register.
130
131 2000-11-29 Joseph S. Myers <jsm28@cam.ac.uk>
132
133 * extend.texi: Update documentation for default format attributes.
134
135 Tue Nov 28 21:56:45 2000 Jeffrey A Law (law@cygnus.com)
136
137 * pa/pa-64.h (ASM_OUTPUT_SECTION_NAME): Use a hash table, not
138 a list, to keep track of the sections.
139
140 2000-11-28 Nick Clifton <nickc@redhat.com>
141
142 * config/arm/arm.md (pic_load_addr): Split into
143 pic_load_addr_arm and pic_load_addr_thumb.
144
145 * config/arm/arm.c (legitimize_pic_address): Generate either
146 ARM or Thumb versions of pic_load_addr.
147 (arm_finalize_pic): Generate either ARM or Thumb versions of
148 pic_load_addr.
149
150 2000-11-28 Richard Henderson <rth@redhat.com>
151
152 * calls.c (expand_call): Defer const/pure NO_DEFER_POP until
153 after sibcall do_pending_stack_adjust.
154
155 Wed Nov 29 00:08:23 2000 J"orn Rennecke <amylaar@redhat.com>
156
157 * jump.c (delete_insn): Check that REG_LABEL note actually contains
158 a CODE_LABEL.
159
160 2000-11-28 Neil Booth <neilb@earthling.net>
161
162 * c-common.h: Remove flag_digraphs.
163 * c-decl.c: Remove flag_digraphs.
164 (c_decode_option): Don't set it.
165 * c-lex.c (init_c_lex): Don't do anything for digraphs.
166
167 2000-11-28 Richard Henderson <rth@redhat.com>
168
169 * c-parse.in (finish_parse): Update for parse_in type change.
170 (_yylex): Likewise.
171
172 2000-11-28 Neil Booth <neilb@earthling.net>
173
174 * cppmacro.c (cpp_scan_buffer_nooutput): Take a boolean
175 indicating whether to scan all buffers on the stack or
176 just one.
177 * cppinit.c (do_includes): Update.
178 * cppmain.c (main): Update.
179 * cpplib.h: Update prototype.
180
181 2000-11-28 Richard Henderson <rth@redhat.com>
182
183 * genoutput.c (validate_insn_operands): New.
184 (gen_insn): Call it.
185
186 * config/alpha/alpha.md (divmodsi_internal): Renumber operands.
187 (divmoddi_internal): Likewise.
188 * config/arm/arm.md (andsi3_compare0_scratch): Likewise.
189 * config/i960/i960.md (branch patterns): Likewise.
190 * config/ia64/ia64.md (tbit_and_0): Likewise.
191 (tbit_and_1, tbit_or_0, tbit_or_1): Likewise.
192 * config/m68k/m68k.md (zero_extract memory patterns): Likewise.
193 * config/mips/mips.md (divmodsi4_internal): Likewise.
194 (divmoddi4_internal): Likewise.
195 * config/rs6000/rs6000.md (call patterns): Likewise.
196 * config/sh/sh.md (movsi_y): Likewise.
197 * config/sparc/sparc.md: Comment out if 0 v8p shift pattern.
198
199 2000-11-28 Richard Henderson <rth@redhat.com>
200
201 * config.gcc: Kill residual pyramid support.
202
203 2000-11-28 Neil Booth <neilb@earthling.net>
204
205 * c-lex.h (parse_in): Change parse_in to a cpp_reader *.
206 * c-decl.c (c_decode_option): Update to match.
207 * c-lex.c (init_c_lex, yyparse): Update to match.
208 * c-lang.c (lang_init_options): Use cpp_create_reader.
209 * cppinit.c (cpp_init): Rename initialize.
210 (cpp_reader_init): Rename cpp_create_reader. Create the
211 reader. Initialize cpplib if appropriate.
212 * cpplib.h (cpp_create_reader) New prototype.
213 (cpp_init, cpp_reader_init): Delete prototypes.
214 * cppmain.c (general_init, setup_callbacks): New functions.
215 (main): Use them.
216 * fix-header.c (scan_in): Change type to cpp_reader *.
217 (read_scan_file): Update for new cpplib interface and scan_in type.
218
219 * cp/decl.c (parse_in): Change to cpp_reader *.
220 (lang_decode_option): Update.
221 * cp/lex.c (lang_init_options): Use new cpplib interface.
222 (init_cp_pragma, finish_parse, handle_pragma_implementation): Update.
223 * cp/spew.c (read_token): Update.
224 * objc/objc-act.c (lang_init_options): Update new cpplib interface.
225
226 2000-11-28 Jakub Jelinek <jakub@redhat.com>
227
228 * loop.c (load_mems): Avoid using next_label to find end_label. If
229 jumping outside of the loop (other than loop end), don't hoist MEMs
230 out of loop.
231
232 2000-11-28 Jan Hubicka <jh@suse.cz>
233
234 * calls.c (expand_call): Don't disable tail recursion based
235 on the loop nest.
236
237 2000-11-28 Neil Booth <neilb@earthling.net>
238
239 * tradcpp.c (enum node_type): New hash types T_ASSERT, T_UNASSERT.
240 (struct directive): Drop 4th argument from handlers.
241 (do_define, do_line, do_include, do_undef, do_else, do_elif,
242 do_endif): Similarly.
243 (do_assert, do_unassert, do_ifdef, do_ifndef): New handlers.
244 (do_ifxdef): Update as common handler of do_ifdef and do_ifndef.
245 (make_definition, make_undef): Take a const char*.
246 (make_assertion): New function.
247 (struct directive_table): Update.
248 (main): Handle -A command line argument.
249 (handle_directive): Drop fourth handler argument.
250
251 2000-11-28 Bernd Schmidt <bernds@redhat.co.uk>
252
253 * simplify-rtx.c (cselib_record_sets): Ignore sets whose destination
254 is anything but REG or MEM, but look inside STRICT_LOW_PART.
255
256 Tue Nov 28 09:53:50 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
257
258 * system.h (IS_DIR_SEPARATOR): Use uppercase macro name.
259 (IS_ABSOLUTE_PATHNAME): New macro.
260 * gcc.c (find_a_file, process_command, do_spec_1, main): Use it.
261
262 2000-11-28 Jakub Jelinek <jakub@redhat.com>
263
264 * config/i386/i386.md (truncxfsf2_2): Fix predicate.
265
266 2000-11-27 Jim Wilson <wilson@redhat.com>
267
268 * reload1.c (reload): Use HOST_WIDE_INT for old_frame_size.
269
270 2000-11-27 Matthias Klose <doko@cs.tu-berlin.de>
271
272 * extend.texi (Nested Functions): Update URL of Usenix paper.
273
274 2000-11-27 Mark Mitchell <mark@codesourcery.com>
275
276 * function.c (free_after_compilation): Clear x_clobber_return_insn.
277
278 2000-11-27 Neil Booth <neilb@earthling.net>
279
280 * cppinit.c (cpp_reader_init): Remove handling of warn_paste
281 command line options.
282 (cpp_handle_option): Similarly.
283 * cpplib.h (struct cpp_options): Remove warn_paste.
284 * cppmacro.c (paste_tokens): Apart from assembler, make
285 unpasteable token warning mandatory.
286
287 2000-11-27 Neil Booth <neilb@earthling.net>
288
289 * tradcpp.c (enum pending_dir_t, struct pending_dir): New.
290 (main): Allocate a pending directive set of these. Use it.
291 Merge handling of -D and -U. Update handling of pending
292 directives. Free the memory after use.
293
294 2000-11-27 Bernd Schmidt <bernds@redhat.co.uk>
295
296 * flow.c (entry_exit_blocks): Add entry for cond_local_set.
297 (struct propagate_block_info): Add new member cond_local_set.
298 (propagate_block): Accept new arg cond_local_set. All callers
299 changed.
300 (init_propagate_block_info): Likewise.
301 (calculate_global_regs_live): Allocate & free cond_local_set. Always
302 rescan if there's overlap between cond_local_set and new_live_at_end.
303 (mark_set_1): Set bits either in cond_local_set or local_set, as
304 appropriate.
305 * basic-block.h (struct basic_block_def): New field cond_local_set.
306 (propagate_block, init_propagate_block_info): Update prototypes.
307
308 Mon Nov 27 17:29:44 2000 kaz Kojima <kkojima@rr.iij4u.or.jp>
309
310 * gcc/config/sh/sh.md (udivsi3_i4, udivsi3_i4_single): Clobber
311 T register.
312
313 2000-11-27 Richard Earnshaw <rearnsha@arm.com>
314
315 * arm.c (select_dominance_cc_mode): Handle new way that combine
316 canonicalizes conditional compares.
317 (arm_select_cc_mode): Likewise.
318 * arm.md: Garbage collect some dead code.
319 (cmp_and, cmp_ior): New patterns.
320 (splitter for conditional move with inverted false): Use cond_exec
321 and handle unordered comparisons.
322
323 Mon Nov 27 17:22:56 MET 2000 Jan Hubicka <jh@suse.cz>
324
325 * i386.c (ix86_force_to_memory, ix86_free_from_memory): New.
326 * i386-protos.h (ix86_force_to_memory, ix86_free_from_memory): Declare
327 * i386.md (float?i?f, int/fp operations): Rewrite spliters to use
328 ix86_force_to_memory and ix86_free_from_memory.
329
330 2000-11-27 Richard Earnshaw <rearnsha@arm.com>
331
332 * arm.md (arm_adddi3, adddi_sesidi_di, adddi_zesidi_di, arm_addsi3,
333 arm_subsi3_insn, anddi_zesidi_di, arm_andsi3_insn, anddi_notdi_di,
334 anddi_notzesidi_di, anddi_notsesidi_di, arm_iorsi3,
335 one_cmpldi2): Merge with splitters to create define_insn_and_split
336 patterns. Remove redundant splits.
337 (peephole2 for add:SI of invalid immediate): New.
338 (peephole2 for minus:SI of invalid immediate): New.
339 (peephole2 for ior:SI of invalid immediate): New.
340 (peephole for merge of move and compare): Convert ot peephole2.
341 (addsf3, adddf3): Mark as commutative.
342
343 * arm.md (thumb peephole for merging stack adjustments): Convert to
344 peephole2.
345
346 2000-11-27 Bernd Schmidt <bernds@redhat.co.uk>
347
348 * haifa-sched.c (print_pattern): Prettier output for COND_EXEC.
349
350 * reload1.c (reload_cse_simplify_set): Pass down mode to cselib_lookup.
351 (reload_cse_simplify_operands): Do nothing about operands where both
352 the operand and the match_operand fail to give us a mode.
353 * simplify-rtx.c (wrap_constant): New function.
354 (entry_and_rtx_equal_p): Except integer constants to come wrapped in a
355 CONST describing the proper mode.
356 (rtx_equal_for_cselib_p): Pass down modes to recursive calls of
357 cselib_lookup.
358 (cselib_lookup_mem): Call wrap_constant on the rtx that is passed to
359 htab_find_slot_with_hash.
360 (cselib_lookup): Likewise.
361
362 Based on a patch from Geoff Keating <geoffk@redhat.com>:
363 * loop.c (basic_induction_var): If a REG is set from something
364 that is not a biv, then the REG is not a biv. Even if it is
365 earlier set from something that is a biv.
366
367 2000-11-27 Alexandre Oliva <aoliva@redhat.com>
368
369 * configure.in (extra_objs): Enclose extra_headers in quotes.
370 * configure: Rebuilt.
371
372 2000-11-27 Neil Booth <neilb@earthling.net>
373
374 * c-lex.c (cb_enter_file, cb_leave_file, cb_rename_file):
375 Combine into the new function cb_change_file.
376 (init_c_lex): Update.
377 * cppfiles.c (stack_include_file): Use _cpp_do_file_change.
378 (cpp_syshdr_flags): Delete.
379 * cpphash.h (_cpp_do_file_change): New prototype.
380 Move struct cpp_buffer here from...
381 * cpplib.h (struct cpp_buffer): ... here.
382 (enum cpp_fc_reason, struct cpp_file_loc,
383 struct_cpp_file_change, change_file): New.
384 (enter_file, leave_file, rename_file, cpp_syshdr_flags): Delete.
385 * cpplib.c (do_line): Update for new cb_change_file callback.
386 (_cpp_do_file_change): New function.
387 (_cpp_pop_buffer): Update to use it.
388 * cppmain.c (move_printer): Delete.
389 (main): Set up single callback cb_change_file.
390 (cb_enter_file, cb_leave_file, cb_rename_file): Delete.
391 (cb_change_file): New.
392 * fix-header.c (cur_file, cb_change_file): New.
393 (recognized_function, read_scan_file): Update.
394 * scan-decls.c (scan_decls): Update.
395 * scan.h (recognized_function): Update prototype.
396
397 2000-11-26 Mark Mitchell <mark@codesourcery.com>
398
399 * tree.h (mark_tree_hashtable): New function.
400 * tree.c (mark_tree_hashtable_entry): New function.
401 (mark_tree_hashtable): Likewise.
402
403 2000-11-27 Michael Meissner <meissner@redhat.com>
404
405 * d30v-protos.h (srelational_si_operator): Correctly spell
406 function.
407 (urelational_si_operator): Ditto.
408 (relational_si_operator): Ditto.
409 (d30v_expand_prologue): Add prototype.
410 (d30v_expand_epilogue): Ditto.
411
412 * d30v.h (OPTIMIZATION_OPTIONS): Undo November 22nd change.
413
414 * d30v.md (movcccc_*): Delete now unused patterns.
415 (64 bit comparison splitters): Rewrite to use COND_EXEC instead of
416 IF_THEN_ELSE.
417 (define_cond_exec): Use 'b' to select branch flags.
418
419 2000-11-26 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
420
421 * builtins.c (expand_builtin_strncmp, expand_builtin_strncpy): New
422 functions.
423 (expand_builtin): Handle BUILT_IN_STRNCPY and BUILT_IN_STRNCMP.
424
425 * builtins.def (BUILT_IN_STRNCPY, BUILT_IN_STRNCMP): New entries.
426
427 * c-common.c (c_common_nodes_and_builtins): Declare builtin
428 strncpy and strncmp.
429
430 * extend.texi (strncmp, strncpy): Document new builtins.
431
432 2000-11-26 Mark Mitchell <mark@codesourcery.com>
433
434 * config/elfos.h (ASM_OUTPUT_SECTION_NAME): Use a hash table, not
435 a list, to keep track of the sections.
436 * tm.texi (ASM_OUTPUT_SECTION_NAME): Document the fact that the
437 parameter provided will always be a canonical string.
438
439 2000-11-26 Neil Booth <neilb@earthling.net>
440
441 * cppmacro.c (cpp_scan_buffer_nooutput): Only scan the
442 current buffer.
443
444 2000-11-26 Joseph S. Myers <jsm28@cam.ac.uk>
445
446 * makefile.vms: Remove EGCS references.
447
448 2000-11-26 Ulrich Drepper <drepper@redhat.com>
449
450 * dwarf2out.c (output_file_names): New function. Compute minimal
451 combination of directory and file name table and emit them.
452 (output_line_info): Remove code to emit directory and file name
453 table and call output_file_names instead.
454 (file_info_cmp): Helper function to sort directory names.
455
456 2000-11-26 Neil Booth <neilb@earthling.net>
457
458 * cpplib.h (struct cpp_reader): Remove lang_asm.
459 (struct cpp_options): Remove c89. New members lang,
460 extended_numbers.
461 * cppexp.c (parse_number): Use them.
462 * cpphash.h (VALID_SIGN): Use them.
463 * cppinit.c (set_lang, cpp_start_read): Update.
464 * cpplex.c (parse_string, _cpp_lex_token): Update.
465 * cpplib.c (_cpp_handle_directive): Update.
466 * cppmacro.c (parse_args): Update.
467 * cppmain.c (scan_buffer): Update.
468
469 Sun Nov 26 10:02:37 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
470
471 * fold-const.c (fold, case CONVERT_EXPR): Always return tree of
472 proper type.
473
474 2000-11-26 Neil Booth <neilb@earthling.net>
475
476 * Makefile.in: Remove MAYBE_CPPLIB and maybe_cpplib.
477 * c-decl.c: Remove parse_in declaration.
478 * c-lang.c: Similarly.
479 * c-lex.c: Similarly.
480 * c-parse.in: Similarly.
481 * c-pragma.c: Similarly.
482 * configure.in: Similarly.
483 * cp/Make-lang.in: Similarly.
484 * cp/spew.c: Similarly.
485 * cp/decl2.c: Remove check for lang-c++ option.
486 * cp/lang-specs.h: Remove -lang-c++ from cc1plus command line.
487 * cp/lex.c (lang_init_options): With cpp_reader_init, default to C++.
488 * c-lex.h: Add declaration of parse_in.
489 * cppinit.c: Call set_lang after allocating pfile->pending.
490 * configure: Regenerate.
491
492 2000-11-25 Zack Weinberg <zack@wolery.stanford.edu>
493
494 * combine.c (try_combine): Remove redundant test.
495
496 2000-11-25 Richard Henderson <rth@redhat.com>
497
498 * c-common.h (DECL_C_HARD_REGISTER): New.
499 * c-decl.c (finish_decl): Set it for asm register variables.
500 * c-semantics.c (emit_local_var): Test it when instantiating one.
501
502 2000-11-25 Richard Henderson <rth@redhat.com>
503
504 * c-decl.c (c_expand_body): Use DECL_SOURCE_LINE rather than
505 lineno for the start of the function.
506
507 2000-11-25 Richard Henderson <rth@redhat.com>
508
509 * dwarf2out.c (file_table, file_table_allocated): Remove.
510 (file_table_allocated): Remove.
511 (struct file_table): New.
512 (decl_file_table, line_file_table): New.
513 (print_dwarf_line_table): Use them.
514 (size_of_line_prolog): Likewise.
515 (output_line_info): Likewise.
516 (add_src_coords_attributes): Likewise.
517 (gen_subprogram_die): Likewise.
518 (gen_variable_die): Likewise.
519 (dwarf2out_add_library_unit_info): Likewise.
520 (dwarf2out_line): Likewise.
521 (lookup_filename): Take a struct file_table argument.
522 (init_file_table): New.
523 (dwarf2out_init): Use it.
524
525 2000-11-25 Joseph S. Myers <jsm28@cam.ac.uk>
526
527 * invoke.texi: Update sequence points references.
528
529 2000-11-25 Neil Booth <neilb@earthling.net>
530
531 * c-common.c: Remove USE_CPPLIB conditional inclusions.
532 * c-common.h: Similarly.
533 * c-decl.c: Similarly.
534 * c-lang.c: Similarly.
535 * c-lex.c: Similarly.
536 * c-parse.in: Similarly.
537 * c-pragma.c: Similarly.
538 * c-pragma.h: Similarly.
539 * gcc.c: Similarly.
540 * toplev.c: Similarly.
541 * cp/cp-tree.h: Similarly.
542 * cp/decl2.c: Similarly.
543 * cp/lang-specs.h: Similarly.
544 * cp/lex.c: Similarly.
545 * cp/lex.h: Similarly.
546 * cp/spew.c: Similarly.
547 * java/lang-options.h: Similarly.
548 * objc/lang-specs.h: Similarly.
549 * objc/objc-act.c: Similarly.
550
551 * configure.in: Remove configure option.
552 * config.in: Regenerate.
553 * configure: Regenerate.
554
555 2000-11-25 Richard Henderson <rth@redhat.com>
556
557 * haifa-sched.c (sched_analyze_1, sched_analyze_2, sched_analyze):
558 Revert 2000-11-22 change.
559
560 2000-11-25 Bernd Schmidt <bernds@redhat.co.uk>
561
562 * config/i386/i386.h (FIXED_REGS): Make the three flags registers
563 fixed.
564
565 2000-11-25 Philipp Thomas <pthomas@suse.de>
566 * configure.in (ALL_LINGUAS): Remove en_GB and add sv.
567 * configure: Rebuilt.
568
569 2000-11-25 Jakub Jelinek <jakub@redhat.com>
570
571 * config/sparc/sparc.md (muldi3_v8plus): Remove H constraint.
572 Handle CONST_INT as second argument.
573 * config/sparc/sparc.c (set_extends): Remove first argument.
574 Properly handle AND, CONST_INT and CONST_DOUBLE, handle IOR, XOR and
575 MOV.
576 (sparc_check_64): Abort if first argument is not REG.
577 If it is DImode REG, look at the lower register of the register
578 pair.
579
580 * config/sparc/sparc.c (load_pic_register, restore_regs,
581 output_return, sparc_v8plus_shift, sparc_function_profiler,
582 sparc_function_block_profiler, sparc_block_profiler): Fix output
583 formatting.
584
585 2000-11-25 Alexandre Oliva <aoliva@redhat.com>
586
587 * config/sh/sh.h (TARGET_NONE): New.
588 (TARGET_SWITCHES): For all variant-selecting switch, use
589 TARGET_NONE to reset all other variant-selecting switch. Added
590 empty strings to avoid warnings.
591 (TARGET_DEFAULT): Set to SH1_BIT.
592
593 * Makefile.in ($(INTL_TARGETS)): Added $(CONFIG_H) for
594 insn-codes.h.
595
596 * gcc/config/sh/sh.md (sibcalli, sibcalli_pcrel): New insns.
597 (sibcall_pcrel): New insn_and_split.
598 (sibcall, sibcall_value, sibcall_epilogue): New expands.
599
600 * config/sh/sh.md (GOTaddr2picreg, symGOT2reg, symGOTOFF2reg,
601 symPLT_label2reg, call, call_value): Don't set
602 current_function_uses_pic_offset_table.
603 * config/sh/sh.h (CONDITIONAL_REGISTER_USAGE): Don't mark
604 PIC_OFFSET_TABLE_REGNUM as call_used, so that calc_live_regs
605 takes it into account.
606 (FINALIZE_PIC): Delete, useless.
607 (LEGITIMATE_CONSTANT_P): Delete, unused.
608 * config/sh/sh.c (sh_expand_prologue): Don't use
609 current_function_uses_pic_offset_table. Don't special-case
610 PIC_OFFSET_TABLE_REGNUM. Initialize it if it's ever live and
611 PIC is enabled.
612 (sh_expand_epilogue, initial_elimination_offset): Don't
613 special case PIC_OFFSET_TABLE_REGNUM.
614
615 2000-11-25 Alexandre Oliva <aoliva@redhat.com>, NIIBE Yutaka <gniibe@m17n.org>
616
617 * config/sh/sh-protos.h (symbol_ref_operand): Declare.
618 * config/sh/sh.md (UNSPEC_CALLER): New constant.
619 (calli_pcrel, call_valuei_pcrel): Use PIC_REG.
620 (call_pcrel, call_value_pcrel): New insn_and_splits.
621 (call, call_value): Use them.
622 (call_site): New expand.
623 (sym_label2reg, symPLT_label2reg): Adjust to hold call_sites.
624 * config/sh/sh.h (OUTPUT_ADDR_CONST_EXTRA) [UNSPEC_CALLER]:
625 Output call_site label.
626 (PREDICATE_CODES): Added symbol_ref_operand.
627 * config/sh/sh.c (symbol_ref_operand): Define.
628 * emit-rtl.c (try_split): Propagate CALL_INSN_FUNCTION_USAGE
629 to CALL_INSNs in the split sequence.
630
631 2000-11-24 Nick Clifton <nickc@redhat.com>
632
633 * config.gcc (v850-*-*): Define c_target_objs and
634 cxx_target_objs.
635
636 * config/v850/t-v850: Define how to build v850-c.o
637
638 * config/v850/v850.h (struct data_area_stack_element): Move
639 definition here from v850.c.
640
641 * config/v850v850.c: Include gcc.h to avoid compile time
642 warning.
643 (push_data_area): Move to v850-c.c.
644 (pop_data_area): Move to v850-c.c.
645 (mark_current_function_as_interrupt): Move to v850-c.c.
646 (GHS_default_section_names): Allow to be exported.
647 (GHS_current_section_names): Allow to be exported.
648 (data_area_stack_elements): Allow to be exported.
649 (ghs_pragma_section): Move to v850-c.c.
650 (ghs_pragma_interrupt): Move to v850-c.c.
651 (ghs_pragma_starttda): Move to v850-c.c.
652 (ghs_pragma_startsda): Move to v850-c.c.
653 (ghs_pragma_startzda): Move to v850-c.c.
654 (ghs_pragma_endtda): Move to v850-c.c.
655 (ghs_pragma_endsda): Move to v850-c.c.
656 (ghs_pragma_endzda): Move to v850-c.c.
657
658 * config/v850/v850-c.c: New file: Contains v850 specific
659 pragma parsing functions.
660
661 2000-11-24 Nick Clifton <nickc@redhat.com>
662
663 * config.gcc (extra_objs): Remove duplicate description.
664 (c_target_objs): New variable. Contains target specific
665 object files for the gcc C compiler only.
666 (cxx_target_objs): New variable. Contains target specific
667 object files for the gxx C++ compiler only.
668
669 * configure.in (c_target_objs): Substitute in the makefile.
670 (cxx_target_objs): Substitute in the makefile.
671 * configure: Regenerate.
672
673 * Makefile.in (C_TARGET_OBJS): Define and initialise from
674 c_target_objs.
675 (CXX_TARGET_OBJS): Define and initialise from
676 cxx_target_objs.
677 (C_AND_OBJC_OBJS): Include C_TARGET_OBJS.
678
679 * cp/Make-lang.in (CXX_C_OBJS): Include CXX_TARGET_OBJS).
680
681 * tm.texi (REGISTER_TARGET_PRAGMAS): Add paragraph explaining
682 about how the use of the 'c_lex' function requires the use of
683 the target specific, language specific object files feature of
684 the configuration mechanism.
685
686 Fri Nov 24 18:50:58 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
687
688 * gcc.c (process_command): Use F_OK, not R_OK.
689
690 2000-11-24 Arno J. Klaassen <arno@heho.snv.jussieu.fr>
691
692 * flow.c (print_rtl_and_abort): Remove ANSIism.
693
694 Fri Nov 24 19:54:36 2000 Alexandre Oliva <aoliva@redhat.com>
695
696 * config/sh/sh.h (GENERAL_REGISTER_P,
697 GENERAL_OR_AP_REGISTER_P, FP_REGISTER_P, XD_REGISTER_P,
698 FP_OR_XD_REGISTER_P, FP_ANY_REGISTER_P): New macros. Use them
699 all over.
700 (SPECIAL_REG): Renamed to SPECIAL_REGISTER_P.
701 * config/sh/sh.c: Use new macros.
702 * config/sh/sh.md: Likewise.
703
704 Fri Nov 24 19:46:16 2000 Alexandre Oliva <aoliva@redhat.com>
705
706 * config/sh/sh.md: Clobber MACH_REG and MACL_REG in SImode,
707 instead of just MACH_REG in DImode. Always refer to FPSCR_REG
708 in PSImode.
709
710 Fri Nov 24 22:37:41 2000 Denis Chertykov <denisc@overta.ru>
711
712 * config/avr/avr.c (out_tsthi,out_tstsi): Test simplification bug
713 fixed.
714 (machine_dependent_reorg): Wrong optimization based on
715 NOTICE_UPDATE_CC removed.
716
717 Fri Nov 24 19:48:09 2000 J"orn Rennecke <amylaar@redhat.com>
718
719 * jump.c (delete_computation): Re-instate deletion of feeding insn.
720 (delete_insn): Look for REG_LABEL notes.
721 (redirect_tablejump): Delete feeding insns.
722
723 2000-11-24 Bernd Schmidt <bernds@redhat.co.uk>
724
725 * config/i386/i386.md (call_pop_0, call_pop_1, call_value_pop_0,
726 call_value_pop_1): Make sure operand numbers are contiguous.
727
728 * fold-const.c (fold_range_test): Avoid crash if LHS or RHS is null.
729
730 * reload1.c (conflicts_with_override): New function.
731 (emit_input_reload_insns): Use it to tighten test for validity
732 of substituting into output of previous insn.
733
734 * haifa-sched.c (struct ready_list): New.
735 (ready_lastpos, ready_add, ready_remove_first, ready_sort): New static
736 functions.
737 (schedule_insn): Replace args READY and N_READY with a pointer to a
738 ready_list; return void. Use the new functions to access the ready
739 list. All callers changed.
740 (queue_to_ready, debug_ready_list): Likewise.
741 (schedule_block): Initialize a ready_list structure. Use new
742 functions to access it.
743 (max_priority): Remove unused variable.
744 (schedule_insn): Don't set it.
745
746 * c-common.c (verify_tree): Don't recurse into CONSTRUCTORs.
747
748 * combine.c (cant_combine_insn_p): New function.
749 (try_combine): Use it.
750
751 * Makefile.in (c-common.o): Depend on $(OBSTACK_H).
752 * c-common.c (c-obstack.c): Include "obstack.h".
753 (struct reverse_tree): Delete.
754 (reverse_list, reverse_max_depth): Delete.
755 (build_reverse_tree, common_ancestor, modify_ok): Delete functions.
756 (struct tlist, struct tlist_cache): New.
757 (tlist_obstack, tlist_firstobj, warned_ids, save_expr_cache): New.
758 (add_tlist, merge_tlist, verify_tree, warning_candidate_p,
759 warn_for_collisions, warn_for_collisions_1, new_tlist): New
760 static functions.
761 (verify_sequence_points): Rewritten.
762 * fold-const.c (fold): Don't lose possibly important sequence
763 points when removing one arm of TRUTH_ORIF_EXPRs or TRUTH_ANDIF_EXPRs.
764
765 2000-11-24 Richard Sandiford <rsandifo@redhat.com>
766
767 * gcc/cse.c (cse_insn): Removed conversion of REG_EQUIV to REG_EQUAL
768 when reversing a register-to-register copy. Reversal now disabled
769 when the previous instruction has a REG_EQUIV.
770
771 2000-11-24 Nathan Sidwell <nathan@codesourcery.com>
772
773 * c-parse.in (unary_expr): Move VA_ARG from here ...
774 (primary): ... to here.
775
776 2000-11-23 Graham Stott <grahams@redhat.com>
777
778 * expr.c (store_constructor): If a field is non addressable and
779 the target is a MEM use MEM_ALIAS_SET otherwise use get_alias_set.
780
781 2000-11-23 Bernd Schmidt <bernds@redhat.co.uk>
782
783 * flow.c (print_rtl_and_abort): New function.
784 (verify_wide_reg, verify_local_live_at_start): Try to dump more
785 information before aborting.
786
787 2000-11-23 Alexandre Oliva <aoliva@redhat.com>
788
789 * emit-rtl.c (gen_lowpart_common): Use word 0 if register mode
790 is narrower than requested mode.
791 (gen_highpart): Abort if register mode is narrower than
792 requested mode.
793
794 2000-11-23 Graham Stott <grahams@redhat.com>
795
796 * cse.c (cse_insn): Initialise all regcost variables.
797 Fix a typo add missing '='.
798 Only compare costs if there is a replacement insn.
799
800 Thu Nov 23 04:33:33 2000 Alexandre Oliva <aoliva@redhat.com>
801
802 * final.c (output_addr_const) [LABEL_REF]: Simplify.
803 [MINUS]: Enclose non-CONST_INTs in parentheses.
804 [default]: Try OUTPUT_ADDR_CONST_EXTRA.
805 * tm.texi (OUTPUT_ADDR_CONST_EXTRA): Document it.
806 * varasm.c (decode_rtx_const) [CONST]: If it's not something
807 PLUS or MINUS a CONST_INT, use the whole CONST with offset 0
808 instead of abort()ing.
809 * sh.c (output_pic_addr_const): Removed. Fixed all callers.
810 * sh.h (OUTPUT_ADDR_CONST_EXTRA): New. Handle the UNSPECs
811 formerly handled in output_pic_addr_const.
812 * sh.md (sym_label2reg, symPLT_label2reg): Enclose UNSPEC
813 operands of MINUS in CONSTs so that decode_rtx_const() will
814 accept them.
815
816 Thu Nov 23 04:10:30 2000 Alexandre Oliva <aoliva@redhat.com>
817
818 * config/sh/sh.md (mova_const): New pattern.
819 (GOTaddr2picreg): Use it.
820 * config/sh/sh.c (broken_move): Match it.
821 (mova_p): Don't match it.
822 (machine_dependent_reorg): Adjust it.
823
824 Thu Nov 23 02:09:09 2000 Alexandre Oliva <aoliva@redhat.com>
825
826 * config/sh/sh.h (FIRST_GENERAL_REG, LAST_GENERAL_REG): New.
827 Moved most register-number #defines...
828 * config/sh/sh.md (define_constants): ... here. Use macros to
829 refer to registers and unspecs.
830 * config/sh/sh.c: Likewise.
831
832 Thu Nov 23 01:01:32 2000 J"orn Rennecke <amylaar@redhat.com>
833
834 * Makefile.in (HOST_CFLAGS): Add -DGENERATOR_FILE.
835 (rtl.o, print-rtl.o, bitmap.o, obstack.o): Build with -DGENERATOR_FILE.
836 (alloca.o, vfprintf.o, ggc-none.o, errors.o): Likewise.
837 (splay-tree.o, hash.o): Likewise.
838 GCONFIG_H: New.
839 (rtl.o, print-rtl.o): Depend on $(GCONFIG_H) instead of $(CONFIG_H).
840 (bitmap.o, obstack.o, vfprintf.o, ggc-none.o, errors.o): Likewise.
841 (hashtab.o): Likewise.
842 (gcov.o): Depend on $(CONFIG_H).
843 * configure.in: #include insn-codes.h in tm.h.
844
845 2000-11-22 Nick Clifton <nickc@redhat.com>
846
847 * config/arm/arm.c (arm_encode_call_attribute): Make 'newstr' a
848 const char * to avoid a compile time warning.
849
850 * config/arm/arm.md (define_constants): Define symbolic names for
851 the link register, last integer register and the fake CC register.
852 Update patterns to use these symbolic names.
853
854 2000-11-22 Neil Booth <neilb@earthling.net>
855
856 * cpplex.c (trigraph_ok): Ensure we don't warn twice.
857 * cpplib.h (struct cpp_buffer): New member last_Wtrigraphs.
858
859 2000-11-22 Richard Henderson <rth@redhat.com>
860
861 * haifa-sched.c (sched_analyze_1): Don't special-case calls
862 for clobbering registers.
863 (sched_analyze_2): Likewise.
864 (sched_analyze): Zap reg_last_uses and reg_last_sets after calls.
865
866 2000-11-22 Chris Demetriou <cgd@sibyte.com>
867 Neil Booth <neilb@earthling.net>
868
869 * gcc.c (validate_switches): Validate multiple switches named
870 in '|' (or) expressions in specs.
871 (handle_braces): If more than 1 alternative in a '|' spec
872 matches, call do_spec1 just once.
873
874 2000-11-22 Michael Meissner <meissner@redhat.com>
875
876 * d30v.h (TARGET_SWITCHES): Add documentation strings.
877 (TARGET_OPTIONS): Ditto.
878 (OPTIMIZATION_OPTIONS): Temporarily turn off -frename-registers if
879 -O3.
880
881 Wed Nov 22 06:40:56 2000 Jeffrey A Law (law@cygnus.com)
882
883 * pa.c (hppa_encode_label): Account for addition of encoding
884 character when allocating persistent space for the new label
885 name.
886
887 2000-11-22 Zack Weinberg <zack@wolery.stanford.edu>
888
889 * Makefile.in, config.gcc, configure.in: Expunge remaining
890 traces of facility for running MD files through C preprocessor.
891
892 2000-11-22 Joseph S. Myers <jsm28@cam.ac.uk>
893
894 * gcov.texi: Add magic comments for texi2pod.pl.
895 * Makefile.in: Add rules to generate and install gcov.1.
896 * gcov.1: New (generated) file.
897
898 2000-11-21 Richard Henderson <rth@redhat.com>
899
900 * regrename.c (scan_rtx_reg): Terminate the chain rather than
901 abort on mark_read with NO_REGS.
902
903 2000-11-21 Mike Stump <mrs@wrs.com>
904
905 * fixinc/fixtests.c (TEST_FOR_FIX_PROC_HEAD): Fix to allow
906 compilation with older compilers, such as /bin/cc on SunOS.
907 * fixinc/fixfixes.c (FIX_PROC_HEAD): Ditto.
908
909 2000-11-21 Richard Henderson <rth@redhat.com>
910
911 * varasm.c (record_constant): Pad the constructed
912 constant_descriptor appropriately.
913
914 Wed Nov 22 00:52:55 2000 J"orn Rennecke <amylaar@redhat.com>
915
916 * rtl.h (traverse_md_constants): Declare.
917 (struct md_constant): Define.
918 * Makefile.in (HOST_RTL): Add hashtab.o .
919 (OBJS): Add hashtab.o .
920 (hashtab.o): New rule.
921 (rtl.o): Depends on HASHTAB_H.
922 * rtl.c (hashtab.h): #include.
923 (md_constants): New static variable.
924 (def_hash, def_name_eq_p, read_constants): New static functions.
925 (traverse_md_constants): New function.
926 (read_name): Do constant expansion.
927 (read_rtx): Recognize define_constants.
928 * gencodes.c (print_md_constant): New function.
929 (main): Emit #defines for all constant definitions encountered.
930 * md.texi (Constant Definitions): New node.
931 * gensupport.c (xcalloc): New function.
932
933 2000-11-21 Richard Henderson <rth@redhat.com>
934
935 * config/alpha/alpha.c (alpha_split_tfmode_frobsign): New.
936 * config/alpha/alpha-protos.h: Declare it.
937 * config/alpha/alpha.md (abstf_internal): Use it.
938 (negtf_internal): Likewise.
939 (andnotdi3): Unstar the name.
940 (movtf_internal): Add o/G alternative.
941
942 2000-11-21 Zack Weinberg <zack@wolery.stanford.edu>
943
944 * stringpool.c (stringpool_statistics): Also report number and
945 percentage of entries which are identifiers.
946
947 2000-11-21 Diego Novillo <dnovillo@redhat.com>
948
949 * gcse.c (hoist_expr_reaches_here_p): Do not mark expr_bb as
950 visited before visiting it.
951
952 2000-11-21 Nick Clifton <nickc@redhat.com>
953
954 * config/arm/arm.h: Accept TARGET_CPU_arm9tdmi,
955 TARGET_CPU_strongarm110 and TARGET_SPU_strongarm1100.
956
957 * config.gcc: Accept --with-cpu=arm9 and --with-cpu=arm9tdmi.
958
959 2000-11-21 Richard Henderson <rth@redhat.com>
960
961 * c-common.c (c_unsafe_for_reeval): New function.
962 (add_c_tree_codes): Register it.
963 * c-common.h: Declare it.
964 * tree.c (lang_unsafe_for_reeval): New hook.
965 (unsafe_for_reeval): Call it.
966 * tree.h: Declare it.
967
968 2000-11-21 Richard Henderson <rth@redhat.com>
969
970 * config/i386/i386.c (i386_simplify_dwarf_addr): Simplify @GOT
971 references as well.
972
973 2000-11-21 Neil Booth <neilb@earthling.net>
974
975 * do_includes: Revert to using cpp_read_file.
976
977 2000-11-21 Bernd Schmidt <bernds@redhat.co.uk>
978
979 * loop.c (consec_sets_giv): If the reg we're examining is anything
980 but UNKNOWN_INDUCT, do nothing.
981 Reset the reg's type to UNKNOWN_INDUCT before returning.
982
983 Mostly from Vladimir Makarov (vmakarov@redhat.com)
984 * ia64.md (attr itanium_class): Define insn types as described in
985 Itanium docs.
986 (all insn patterns): Use itanium_class, not type attributes.
987 Occasionally split alternatives as necessary.
988 (attr type): Compute from new attr itanium_class.
989
990 2000-11-21 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
991
992 * tradcpp.c (output_line_command): Mark system headers as such in
993 `line' commands.
994
995 2000-11-21 Jakub Jelinek <jakub@redhat.com>
996
997 * configure.in (HAVE_AS_DWARF2_DEBUG_LINE): Sparc has .file/.loc
998 support in as as well.
999 * configure: Regenerate.
1000
1001 2000-11-20 Richard Henderson <rth@redhat.com>
1002
1003 * c-lex.c (orig_filename): New variable.
1004 (init_c_lex): Set it. Move call to cpp_start_read ...
1005 (yyparse): ... here. New function.
1006 * c-parse.in (yyparse_1): Rename the parser entry point.
1007 * c-tree.h: Declare it.
1008
1009 2000-11-21 Jakub Jelinek <jakub@redhat.com>
1010
1011 * expr.c (do_compare_and_jump): If op0 was replaced by promoted
1012 integer constant, use type of op1 for comparison.
1013
1014 2000-11-20 Stan Shebs <shebs@apple.com>
1015
1016 * config/rs6000/xm-darwin.h: New file, Darwin host definitions.
1017 * config/rs6000/x-darwin: New file, Darwin host fragment.
1018 * config.gcc (powerpc-*-darwin*): New host.
1019 * system.h (HAVE_DESIGNATED_INITIALIZERS): Allow this to be
1020 overridden by a config file.
1021
1022 2000-11-20 Neil Booth <neilb@earthling.net>
1023
1024 * cppmacro.c (paste_tokens): Rename from paste_payloads.
1025 Change token type after pasting spellings.
1026 (paste_all_tokens): Use it.
1027 * gcc.dg/cpp/paste2.c: Update test.
1028 * objc/execute/paste.m: New test.
1029
1030 2000-11-20 Richard Henderson <rth@redhat.com>
1031
1032 * dwarf.h (FMT_CODE): Adjust argument order; fix mapping to
1033 dwarf_subscr_data_formats bits.
1034 * dwarfout.c (simple_type_size_in_bits): Handle a type with
1035 no computed size as size zero.
1036 (field_byte_offset): Likewise.
1037 (subscript_data_attribute): Handle a range with no upper bound.
1038
1039 2000-11-20 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1040
1041 * gansidecl.h (const): Check __STDC__ before undef'ing `const'.
1042
1043 2000-11-20 Joseph S. Myers <jsm28@cam.ac.uk>
1044
1045 * c-typeck.c (build_conditional_expr): When merging type
1046 qualifiers for conditional expressions between a pointer and a
1047 pointer to a void type, merge the qualifiers on the target types
1048 rather than the pointer type. Remove obsolete conditioned out
1049 code.
1050
1051 2000-11-20 Neil Booth <neilb@earthling.net>
1052
1053 * c-lang.c (lang_init_options): Update call to
1054 cpp_reader_init.
1055 * cppmain.c (main): Similarly.
1056 * fix-header.c (read_scan_file): Similarly.
1057 * cp/lex.c (lang_init_options): Similarly.
1058 * objc/objc-act.c (lang_init_options): Similarly.
1059 * cppexp.c (parse_number): Only warn for unextended C89.
1060 * cppinit.c (set_lang): New function.
1061 (cpp_reader_init): Take a LANG argument and pass it to set_lang.
1062 (COMMAND_LINE_OPTIONS): New option std=c++98.
1063 (cpp_handle_option): Use set_lang.
1064 * cpplex.c (_cpp_lex_token): Warn pedantically if not C99.
1065 * cppib.h (enum_c_lang): New enumeration. Update comments.
1066
1067 2000-11-20 Will Cohen <wcohen@redhat.com>
1068
1069 * calls.c (expand_call): Clear target only when target is in
1070 hard register and current_function_check_memory_usage is set.
1071
1072 2000-11-20 Bernd Schmidt <bernds@redhat.co.uk>
1073
1074 * toplev.c (rest_of_compilation): Run optimize_mode_switching even
1075 if not optimizing.
1076 * sh.c (emit_sf_insn, emit_df_insn): Just call emit_insn.
1077
1078 2000-11-19 Richard Henderson <rth@redhat.com>
1079
1080 * crtstuff.c (force_to_data): Use array size 1 not 0.
1081
1082 * dwarf2out.c (simple_type_size_in_bits): Handle a type with
1083 no computed size as size zero.
1084 (field_byte_offset): Likewise.
1085
1086 2000-11-20 Joseph S. Myers <jsm28@cam.ac.uk>
1087
1088 * config.gcc: Fix another typo.
1089
1090 2000-11-19 Richard Henderson <rth@redhat.com>
1091
1092 * c-decl.c (grokdeclarator): Support flexible array members.
1093 Use open-ended ranges for these and zero-length arrays.
1094 * c-typeck.c (push_init_level): Validate the context of
1095 initialization of a zero-length array.
1096 * tree.c (int_fits_type_p): Be prepared for missing bounds.
1097 * varasm.c (array_size_for_constructor): New.
1098 (output_constructor): Use it for arrays of unspecified length.
1099 * extend.texi (Zero Length): Mention C99 flexible array members.
1100 Document initialization in a top-level struct as valid.
1101
1102 2000-11-19 Joseph S. Myers <jsm28@cam.ac.uk>
1103
1104 * config.gcc, invoke.texi: Fix errors in spelling of "deprecated".
1105
1106 * alias.c (mems_in_disjoint_alias_sets_p): Do use alias sets in
1107 stdarg and varargs functions.
1108
1109 2000-11-19 Zack Weinberg <zack@wolery.stanford.edu>
1110
1111 * gcc.c (process_command): Define 'j' variable when
1112 MODIFY_TARGET_NAME is defined.
1113
1114 2000-11-19 Richard Henderson <rth@redhat.com>
1115
1116 * stor-layout.c (variable_size): Only put SAVE_EXPRs on pending_sizes.
1117
1118 2000-11-19 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
1119
1120 * rs6000/rs6000.c (rs6000_encode_section_info): Fix string length
1121 calculation and allocation.
1122
1123 2000-11-19 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1124
1125 * builtins.c (c_getstr): Constify variable.
1126 * gmon-sol2.c (_mcleanup): Comment out #endif labels.
1127 * conflict.c (const_conflict_graph_arc): New typedef.
1128 (arc_hash, arc_eq): Avoid needlessly casting away const-ness.
1129 * cppmacro.c (builtin_macro): Likewise.
1130 * dwarf2out.c (output_comp_unit): Constify variable.
1131 * fix-header.c (v_fatal): Add ATTRIBUTE_PRINTF.
1132 * protoize.c (IS_SAME_PATH_CHAR): Use TOUPPER, not toupper.
1133 * ssa.c (ssa_rename_from_hash_function): Avoid needlessly casting
1134 away const-ness.
1135 * tradcpp.c (rescan, do_line, macroexpand, macarg): Use
1136 ISALNUM/ISDIGIT/ISPRINT, not isalnum/isdigit/isprint.
1137 * varasm.c (const_str_htab_hash, const_str_htab_eq,
1138 compare_constant_1, record_constant_1): Constify.
1139
1140 2000-11-18 Richard Henderson <rth@redhat.com>
1141
1142 * c-decl.c (grokdeclarator): Special case the creation of an
1143 index for a zero-length array.
1144 * tree.c (build_index_type): Revert Oct 20 change.
1145
1146 2000-11-18 Marek Michalkiewicz <marekm@linux.org.pl>
1147
1148 * config/avr/avr-protos.h (avr_output_addr_vec_elt): Prototype.
1149 * config/avr/avr.c (jump_tables_size): New variable.
1150 (function_prologue): Initialize it as 0.
1151 (function_epilogue): Add it to function_size.
1152 (avr_output_addr_vec_elt): New function. Count words in jump
1153 tables in jump_tables_size. Move code ...
1154 * config/avr/avr.h (ASM_OUTPUT_ADDR_VEC_ELT): ... from here.
1155 Call avr_output_addr_vec_elt instead.
1156 * config/avr/avr.md (tablejump): Remove disabled define_expand.
1157
1158 2000-11-18 Mark Mitchell <mark@codesourcery.com>
1159
1160 * configure.in: Make --enable-new-gxx-abi the default.
1161 * configure: Likewise.
1162
1163 2000-11-18 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1164
1165 * Makefile.in (tradcpp.o, tradcif.o): Depend on tradcpp.h.
1166
1167 * tradcif.y: Include tradcpp.h. Constify. Make functions static.
1168 Move extern function declarations to tradcpp.h.
1169
1170 * tradcpp.c: Likewise.
1171
1172 * tradcpp.h: New file.
1173
1174 2000-11-18 Joseph S. Myers <jsm28@cam.ac.uk>
1175
1176 * c-decl.c (check_for_loop_decls): New function.
1177 * c-parse.in (for_init_stmt): New.
1178 (select_or_iter_stmt): Use for_init_stmt.
1179 * c-tree.h (check_for_loop_decls): New declaration.
1180
1181 2000-11-18 Neil Booth <neilb@earthling.net>
1182
1183 * cppinit.c: Update comments.
1184 (cpp_reader_init): Make -imacro and -include use the standard
1185 #include "" search path.
1186 (do_includes): New function.
1187
1188 2000-11-18 Ben Elliston <bje@redhat.com>
1189
1190 * config/sh/crt1.asm (start_l): Move PC-relative move instruction
1191 out of a branch delay slot.
1192
1193 2000-11-17 Richard Henderson <rth@redhat.com>
1194
1195 * config/alpha/elf.h (PREFERRED_DEBUGGING_TYPE): Set to DWARF2_DEBUG.
1196 (ASM_SPEC): Disable and enable .mdebug based on -gstabs.
1197 (ASM_FILE_START): Only write out ecoff .file directive if
1198 emitting mdebug debugging.
1199
1200 2000-11-17 Richard Henderson <rth@redhat.com>
1201
1202 * configure.in (HAVE_AS_DWARF2_DEBUG_LINE): New. Detect
1203 whether as accepts .file/.loc and produces dwarf2 line info.
1204 * dwarf2out.c (DWARF2_ASM_LINE_DEBUG_INFO): Default on if
1205 the assembler supports it.
1206 * config.in, configure: Regenerate.
1207
1208 2000-11-17 Richard Henderson <rth@redhat.com>
1209
1210 * fixinc/mkfixinc.sh: Don't disable fixincludes for any linux*.
1211
1212 2000-11-17 Jim Wilson <wilson@redhat.com>
1213
1214 * config/ia64/ia64.c (emit_insn_group_barriers, case CALL_INSN):
1215 Don't clear need_barrier is next_insn is a CALL_INSN, or has
1216 instruction type B or UNKNOWN.
1217
1218 2000-11-17 Neil Booth <neilb@earthling.net>
1219
1220 * cpperror.c (print_file_and_line): Don't display line number if 0.
1221
1222 2000-11-17 Zack Weinberg <zack@wolery.stanford.edu>
1223
1224 * ggc.h: Delete ggc_add_string_root and ggc_mark_string. Add
1225 digit_vector and digit_string.
1226 * stringpool.c (digit_vector): New.
1227 (ggc_alloc_string): Use digit_string.
1228
1229 * stmt.c (digit_strings): Delete.
1230 (init_stmt): Do not initialize digit_strings.
1231 (expand_asm_operands): Use ggc.h's digit_string macro.
1232 * toplev.c (mark_file_stack): Delete.
1233 (compile_file): Don't call init_tree_codes.
1234 (main): No need to make the file stack a GC root.
1235 * tree.c (init_tree_codes): Delete.
1236 * tree.h (init_tree_codes): Delete.
1237
1238 * c-lex.c: Don't include ggc.h.
1239 (mark_splay_tree_node, mark_splay_tree): Delete.
1240 (init_c_lex): No need to ggc_strdup string constant. Don't add
1241 file_info_tree to GGC roots.
1242 (cb_enter_file, cb_rename_file): No need to ggc_strdup
1243 ip->nominal_fname.
1244
1245 * Makefile.in (c-lex.o): No longer depends on $(GGC_H).
1246
1247 * dbxout.c (dbxout_init),
1248 dwarf2out.c (dwarf2out_line),
1249 ggc-common.c (ggc_mark_rtx_children, ggc_mark_trees),
1250 varasm.c (mark_const_hash_entry, mark_pool_constant, init_varasm_once),
1251 xcoffout.c (xcoffout_source_file),
1252 i386.c (load_pic_register):
1253 Delete call(s) to ggc_add_string_root and/or ggc_mark_string.
1254
1255 * except.c (create_rethrow_ref),
1256 profile.c (init_edge_profiler),
1257 toplev.c (compile_file),
1258 varasm.c (named_section, assemble_static_space,
1259 assemble_trampoline_template, output_constant_def, force_const_mem),
1260 i386.c (load_pic_register),
1261 ia64.c (ia64_encode_section_info),
1262 rs6000.c (rs6000_emit_load_toc_table, create_TOC_reference,
1263 rs6000_emit_prologue, rs6000_emit_epilogue),
1264 rs6000.md (load_toc_aix_si, load_toc_aix_di):
1265 Change ggc_alloc_string (var, -1) to ggc_strdup (var).
1266
1267 * profile.c (output_func_start_profiler),
1268 tree.c (make_node),
1269 i386.c (load_pic_register): No need to ggc_strdup string constant.
1270
1271 2000-11-17 Hans-Peter Nilsson <hp@axis.com>
1272
1273 * Makefile.in (config.status): Depend on config.gcc.
1274 * configure.in <for machine in $build $host $target>: Move
1275 contents of loop into config.gcc, removing autoconf quoting.
1276 Fix changequote bug for alpha*-*-vxworks*.
1277 * configure: Regenerate.
1278 * config.gcc: New.
1279
1280 2000-11-16 Zack Weinberg <zack@wolery.stanford.edu>
1281
1282 * c-parse.in (if_prefix): Find the filename and line number at
1283 $-2 and $-1 respectively.
1284 * diagnostic.c (error_recursion): Add missing newline, use
1285 fputs, translate string.
1286
1287 2000-11-16 Zack Weinberg <zack@wolery.stanford.edu>
1288
1289 * stringpool.c: New file.
1290 * ggc-common.c (ggc_mark_string_ptr, ggc_add_string_root): Delete.
1291 (ggc_alloc_string): Now in stringpool.o.
1292 * ggc-page.c, ggc-simple.c: Do not define or allocate empty_string.
1293 * ggc.h: Delete prototype of ggc_add_string_root. #define
1294 ggc_add_string_root and ggc_mark_string to nothing. Prototype
1295 init_stringpool and stringpool_statistics.
1296 (ggc_alloc_string): Returns a const char *.
1297 * tree.c (hash_table, do_identifier_warnings): Delete.
1298 (init_obstacks): Don't initialize the identifier hash table.
1299 (get_identifier, maybe_get_identifier, start_identifier_warnings,
1300 set_identifier_size): Now in stringpool.c.
1301 * tree.h (struct tree_string): Constify pointer field.
1302 (approx_sqrt): Prototype.
1303
1304 * Makefile.in (stringpool.o): Add rule, mention in OBJS.
1305
1306 * toplev.c (approx_sqrt): New function.
1307 (compile_file): Call stringpool_statistics if mem_report is on.
1308 (main): Call init_stringpool.
1309
1310 * builtins.c (c_strlen), c-decl.c (finish_decl), c-lex.c
1311 (process_directive), c-typeck.c (constructor_asmspec, struct
1312 initializer_stack, start_init), except.c (create_rethrow_ref),
1313 stmt.c (digit_strings), toplev.c (decode_f_option), tree.c
1314 (built_in_filename), varasm,c (in_named_name,
1315 assemble_static_space, struct constant_descriptor, struct
1316 deferred_string, struct pool_constant, force_const_mem),
1317 i386.c (pic_label_name, global_offset_table_name), rs6000.c
1318 (rs6000_emit_prologue, rs6000_emit_epilogue) : Constify a char *.
1319
1320 * c-common.c (combine_strings): Combine strings in scratch
1321 buffer, then pass to build_string.
1322 * optabs.c (init_libfuncs), profile.c (init_edge_profiler,
1323 output_func_start_profiler), stmt.c (init_stmt), alpha.c
1324 (alpha_need_linkage), arm.c (arm_encode_call_attribute),
1325 i386.c (load_pic_register), ia64.c (ia64_encode_section_info),
1326 rs6000.c (rs6000_encode_section_info): Create string in
1327 scratch buffer, then pass to ggc_alloc_string.
1328
1329 * stmt.c (expand_asm_operands): If we must adjust the
1330 constraint strings, do so by creating a new one, not by
1331 modifying the old one in place. Constify some char *s.
1332 * config/pa/pa.c (hppa_encode_label): Drop unnecessary second
1333 argument. Create string in scratch buffer, then pass to
1334 ggc_alloc_string.
1335 * config/pa/pa-protos.h: Update prototype.
1336 * config/pa/elf.h, config/pa/pa.h, config/pa/som.h:
1337 hppa_encode_label takes only one argument.
1338
1339 2000-11-16 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1340
1341 * mcore.c (mcore_expand_prolog): Call xmalloc/xrealloc, not
1342 malloc/realloc.
1343
1344 * cpplib.c (glue_header_name): Likewise.
1345
1346 * fixincl.c (run_compiles, start_fixer): Likewise.
1347
1348 * fixlib.c (load_file_data): Likewise.
1349
1350 * mkdeps.c (munge): Likewise.
1351
1352 2000-11-17 Hans-Peter Nilsson <hp@axis.com>
1353
1354 * defaults.h [EH_FRAME_SECTION_ASM_OP] (EH_FRAME_SECTION): Remove
1355 trailing ';'. Fix formatting.
1356
1357 2000-11-16 Jim Wilson <wilson@redhat.com>
1358
1359 * config/ia64/ia64.h (MASK_INLINE_DIV_LAT, MASK_INLINE_DIV_THR):
1360 Shift masks left by one to avoid conflict.
1361
1362 * config/ia64/ia64.c (ia64_encode_section_info): Disallow decls with
1363 DECL_EXTERNAL set.
1364
1365 2000-11-16 Nick Clifton <nickc@redhat.com>
1366
1367 * config/arm/arm.c (output_arm_prologue): Note nested functions.
1368 (arm_expand_prologue): For nested functions preserve the
1369 static chain register during stack frame creation.
1370
1371 * config/arm/arm.h (STATIC_CHAIN_REGNUM): Change to 12.
1372 (ARM_INITIAL_FRAME_ELIMINATION_OFFSET): For a nested function
1373 with a stack frame there is a 4 byte gap between the arg
1374 pointer and the hard frame pointer (used to preserve the
1375 static chain register during stack frame creation).
1376
1377 2000-11-16 DJ Delorie <dj@redhat.com>
1378
1379 * rtl.c (read_rtx): Provide suitable names for unnamed
1380 define_insn and define_insn_and_split patterns, based on file
1381 and line numbers.
1382
1383 2000-11-15 Neil Booth <neilb@earthling.net>
1384
1385 * cpplib.c (start_directive, end_directive): New functions.
1386 (_cpp_handle_directive, run_directive): Use them.
1387 (_cpp_handle_directive): Don't -Wtraditional on indented
1388 null directives.
1389 (_cpp_push_buffer): Don't re-clear was_skipping.
1390 * cpplib.h (struct cpp_reader): New member la_saved.
1391 * cppmacro.c (cpp_get_token): Don't interpret _Pragma in
1392 directives.
1393
1394 gcc.dg/cpp/_Pragma1.c: Update.
1395 gcc.dg/cpp/_Pragma2.c: New test.
1396
1397 2000-11-15 Mark Mitchell <mark@codesourcery.com>
1398
1399 * toplev.c (wrapup_global_declarations): Don't write out
1400 artificial static variables that aren't needed.
1401
1402 2000-11-15 Bernd Schmidt <bernds@redhat.co.uk>
1403
1404 * ia64.c (struct group): New structure.
1405 (last_group): New static array.
1406 (group_idx): New static variable.
1407 (emit_group_barrier_after, errata_find_address_regs, errata_emit_nops):
1408 New static functions.
1409 (emit_insn_group_barriers): Initialize and keep track of group_idx
1410 and last_group.
1411 Call errata_emit_nops if TARGET_B_STEP or TARGET_A_STEP.
1412 Replace all calls to emit_insn_after that emit a group barrier to use
1413 emit_group_barrier_after.
1414 * ia64.h (MASK_B_STEP): New.
1415 (other MASK_XXX macros): Renumbered.
1416 (TARGET_B_STEP): New.
1417 (TARGET_SWITCHES): Add -mb-step.
1418
1419 2000-11-15 Fred Fish <fnf@be.com>
1420
1421 * fixinc/mkfixinc.sh (fixincludes): Add *-*-beos* to list of
1422 machines for which fixincludes is not needed.
1423 * config/i386/x-beos (STMP_FIXPROTO): Don't run fixproto.
1424
1425 2000-11-15 Jason Merrill <jason@redhat.com>
1426
1427 * diagnostic.c (finish_abort): New fn.
1428 (fancy_abort, error_recursion): Use it.
1429 * toplev.c (crash_signal): Likewise.
1430 * diagnostic.h: Declare it.
1431
1432 2000-11-13 Andrew Haley <aph@redhat.com>
1433
1434 * tree.c (build_type_no_quals): New function.
1435 * tree.h (build_type_no_quals): Declare.
1436 * c-common.c (c_get_alias_set): When considering type
1437 compatibility for pointer types, ignore cv-qualifiers anywhere in
1438 a pointer chain.
1439
1440 2000-11-15 Graham Stott <grahams@redhat.com>
1441
1442 * regrename.c (scan_rtx_rtx): Skip to the next chain on
1443 encountering a terminated chain.
1444
1445 2000-11-14 Mark Mitchell <mark@codesourcery.com>
1446
1447 * configure.in: Move check for V3 above check for C++ header-file
1448 directory.
1449 * configure: Regenerated.
1450
1451 2000-11-14 DJ Delorie <dj@redhat.com>
1452
1453 * config/v850/v850.c: Remove obstacks.
1454
1455 Tue Nov 14 21:54:31 2000 Marek Michalkiewicz <marekm@linux.org.pl> & Denis Chertykov <denisc@overta.ru>
1456
1457 * config/avr/avr.c (avr_case_values_threshold): New.
1458 (avr_override_options): Set it depending on options, make it large
1459 when not optimizing to work around "unable to generate reloads".
1460
1461 * config/avr/avr.h (TARGET_SWITCHES): Add -mno-tablejump option.
1462 (EXTRA_SECTION_FUNCTIONS): Make the .progmem.gcc_sw_table section
1463 executable if not AVR_MEGA. Make sure jump tables are word-aligned.
1464 (JUMP_TABLES_IN_TEXT_SECTION): Define as 0, not 1.
1465 (ASM_OUTPUT_ADDR_VEC_ELT): Optimize, use "rjmp" if not AVR_MEGA.
1466 (avr_case_values_threshold): Declare as extern int.
1467 (CASE_VALUES_THRESHOLD): Define as avr_case_values_threshold.
1468
1469 * config/avr/avr.md (tablejump): Removed.
1470 (*tablejump_rjmp): New for jump tables made from "rjmp" instructions.
1471 (*tablejump_lib, *tablejump_enh, *tablejump): Change to expect the
1472 index in the table, not multiplied by 2.
1473 (casesi): Change to match the above insns. Always enable.
1474
1475 * config/avr/libgcc.S (__tablejump__): Rename to __tablejump2__.
1476 Change to expect the word address of the table, multiply it by 2
1477 here and not in the caller. Change "adiw" to faster "inc".
1478
1479 2000-11-14 Neil Booth <neilb@earthling.net>
1480
1481 * cppexp.c (parse_defined): Call cpp_get_token not
1482 _cpp_get_token.
1483 (lex): Similarly.
1484 * cpplex.c (cpp_output_line): Similarly.
1485 * cpplib.c (glue_header_name, do_line, do_ident,
1486 parse_answer, parse_assertion): Similarly.
1487 (_cpp_handle_diretive): Don't save to lookaheads
1488 when processing directives.
1489 * cppmacro.c (parse_arg, expand_arg): Call cpp_get_token not
1490 _cpp_get_token.
1491 (funlike_invocation_p): Don't save to lookaheads
1492 when pre-expanding arguments.
1493 (_cpp_get_token): Delete.
1494 (cpp_get_token): Merge contents of _cpp_get_token.
1495
1496 2000-11-14 Jakub Jelinek <jakub@redhat.com>
1497
1498 * builtins.c (expand_builtin_setjmp): Set
1499 current_function_calls_setjmp.
1500 (expand_builtin_longjmp): Set current_function_calls_longjmp.
1501
1502 * config/sparc/sparc.md (builtin_setjmp_setup): New expand.
1503 (do_builtin_setjmp_setup): New insn.
1504
1505 Tue Nov 14 12:34:56 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
1506
1507 * tree.c (get_unwidened): Use host_integerp and tree_low_cst.
1508 (int_fits_type_p): For variable bounds, call force_fit_type.
1509
1510 2000-11-14 Jakub Jelinek <jakub@redhat.com>
1511
1512 * varasm.c (struct deferred_string): New structure.
1513 (const_str_htab): New variable.
1514 (STRHASH): New macro.
1515 (mark_const_str_htab_1, mark_const_str_htab, const_str_htab_hash,
1516 constr_str_htab_eq, const_str_htab_del): New functions.
1517 (output_constant_def): Add DEFER argument, defer string
1518 constants until mark_constant_pool time if requested.
1519 (mark_constant_pool): Walk the insn chain even if const_str_htab is
1520 not empty.
1521 (mark_constants): If a SYMBOL_REF for deferred string is found,
1522 output it and remove from hash table.
1523 (output_addressed_constants): Set DEFER to 0 in call to
1524 output_constant_def.
1525 * rtl.h (STRING_POOL_ADDRESS_P): Define.
1526 (output_constant_def): Adjust prototype.
1527 * expr.c (expand_expr): Set DEFER to 1 in call to output_constant_def.
1528
1529 2000-11-14 Chandrakala Chavva <cchavva@redhat.com>
1530
1531 * optabs.c (expand_complex_ab):: Use overflow-trapping optabs for
1532 signed types if flag_trapv.
1533
1534 2000-11-14 Zack Weinberg <zack@wolery.stanford.edu>
1535
1536 * tradcpp.c, tradcif.y: Update FSF mailing address, delete
1537 reference to GPLv1.
1538
1539 2000-11-14 Joseph S. Myers <jsm28@cam.ac.uk>
1540
1541 * c-common.h (CTI_C_SIZE_TYPE): Update comment.
1542
1543 2000-11-14 Jakub Jelinek <jakub@redhat.com>
1544
1545 * varasm.c (struct varasm_status): Change x_const_rtx_sym_hash_table
1546 to array of pool_constnat pointers.
1547 (struct pool_constant): Add next_sym and label members.
1548 (struct pool_sym): Remove.
1549 (init_varasm_status): Change pool_sym into pool_constant.
1550 (mark_pool_constant): Mark pc->label string as well.
1551 (mark_pool_sym_hash_table): Remove.
1552 (mark_varasm_status): Remove it from caller as well.
1553 (free_varasm_status): Don't free pool_sym structures.
1554 (force_const_mem): Don't allocate pool_sym structure, instead
1555 fill pool->label and chain it into rtx_sym hash table.
1556 (find_pool_constant, mark_constant_pool): Use pool_constant instead
1557 of pool_sym.
1558
1559 2000-11-14 Jakub Jelinek <jakub@redhat.com>
1560
1561 * reload1.c (emit_input_reload_insns): Honour forcing of constants
1562 into memory by PREFERRED_RELOAD_CLASS NO_REGS.
1563
1564 2000-11-14 Michael Matz <matzmich@cs.tu-berlin.de>
1565
1566 * dominance.c: New file.
1567 * Makefile.in (OBJS): Add dominance.o.
1568
1569 * flow.c (compute_flow_dominators): Remove.
1570 (compute_immediate_dominators): Remove.
1571 (compute_immediate_postdominators): Remove.
1572 * basic-block.h: Remove their prototypes.
1573 (calculate_dominance_info): Add prototype.
1574
1575 * dce.c (eliminate_dead_code): Change calls to above functions.
1576 Don't compute dominators but only immediate dominators.
1577 * flow.c (flow_loops_find): Change callers.
1578 * gcse.c (compute_code_hoist_data): Likewise.
1579 * haifa-sched.c (schedule_insns): Likewise.
1580 * ifcvt.c (if_convert): Likewise.
1581 * ssa.c (convert_to_ssa): Likewise, and only compute immediate
1582 dominators.
1583
1584 2000-11-14 Richard Henderson <rth@redhat.com>
1585
1586 * stmt.c (warn_if_unused_value): Don't warn if the expression
1587 has side effects.
1588
1589 * c-typeck.c (c_sizeof): Fold result to c_size_type_node.
1590 (c_sizeof_nowarn, c_alignof, c_alignof_expr): Likewise.
1591
1592 2000-11-13 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
1593
1594 * loop.c (basic_induction_var): Revert accidental checkin.
1595
1596 2000-11-13 Hans-Peter Nilsson <hp@axis.com>
1597
1598 * c-lex.c (cb_leave_file): Harmonize conditions and order of
1599 statements to those of process_directive for (action == act_pop).
1600
1601 * collect2.c (main): Pass on -B options from COLLECT_GCC_OPTIONS.
1602
1603 * local-alloc.c (equiv_init_movable_p): References to CC0 are not
1604 movable.
1605
1606 2000-11-13 Joseph S. Myers <jsm28@cam.ac.uk>
1607
1608 * c-parse.in (stmts_and_decls): Deprecate use of label at end of
1609 compound statement.
1610
1611 2000-11-13 Neil Booth <neilb@earthling.net>
1612
1613 * cpplex.c (_cpp_lex_token): CPP_COMMENT and true CPP_EOF
1614 cases return without MI check.
1615 * cpplib.c (do_diagnostic): Take boolean of whether to
1616 print the directive name.
1617 (do_error, do_warning): Update.
1618 (do_pragma_dependency): Use it.
1619 * cpplib.h (VARARGS_FIRST): Delete.
1620 (struct cpp_token): Delete integer.
1621 * cppmacro.c (enter_macro_context): Move disabled check
1622 to _cpp_get_token.
1623 (_cpp_get_token): Simplify into a single loop.
1624
1625 2000-11-13 Richard Earnshaw <rearnsha@arm.com>
1626
1627 * configure.in: Use 'test -f' not '[ -e'.
1628 * configure: Regenerated.
1629
1630 2000-11-13 DJ Delorie <dj@redhat.com>
1631
1632 * config/mn10300/mn10300.md (store_movm): Note which registers are
1633 really used or clobbered.
1634
1635 2000-11-13 Joseph S. Myers <jsm28@cam.ac.uk>
1636
1637 * c-parse.in (ends_in_label): Remove from %union and %type.
1638 (decls, stmts, lineno_stmt_or_labels, xstmts,
1639 lineno_stmt_or_label, stmt_or_label): Remove.
1640 (stmts_and_decls, lineno_stmt_decl_or_labels_ending_stmt,
1641 lineno_stmt_decl_or_labels_ending_decl,
1642 lineno_stmt_decl_or_labels_ending_label,
1643 lineno_stmt_decl_or_labels_ending_error,
1644 lineno_stmt_decl_or_labels, compstmt_contents_nonempty,
1645 lineno_stmt, lineno_label): New.
1646 (compstmt_nostart): Use compstmt_contents_nonempty.
1647
1648 2000-11-13 Joseph S. Myers <jsm28@cam.ac.uk>
1649
1650 * c-common.c (boolean_increment): New function.
1651 * c-common.h (enum c_tree_index): Add CTI_C_BOOL_TYPE,
1652 CTI_C_BOOL_TRUE and CTI_C_BOOL_FALSE.
1653 (c_bool_type_node, c_bool_true_node, c_bool_false_node): Define.
1654 (boolean_increment): Declare.
1655 * c-convert.c (convert): Allow for BOOLEAN_TYPE.
1656 * c-decl.c (init_decl_processing): Create boolean nodes.
1657 (finish_struct): Allow for _Bool bitfields.
1658 * c-parse.in (reswords): Add _Bool.
1659 (rid_to_yy): Allow for RID_BOOL.
1660 * c-typeck.c (default_conversion): Make booleans promote to int.
1661 (convert_arguments, build_unary_op, build_modify_expr,
1662 convert_for_assignment): Allow for booleans.
1663 * ginclude/stdbool.h: Make conforming to C99.
1664
1665 2000-11-13 Joseph S. Myers <jsm28@cam.ac.uk>
1666
1667 * c-parse.in (c99_block_start, c99_block_end,
1668 c99_block_lineno_labeled_stmt): New.
1669 (simple_if, do_stmt_start): Use c99_block_lineno_labeled_stmt.
1670 (stmt): Split off selection and iteration statements into...
1671 (select_or_iter_stmt): New. Use c99_block_lineno_labeled_stmt.
1672
1673 2000-11-13 Joseph S. Myers <jsm28@cam.ac.uk>
1674
1675 * invoke.texi (-Wtrigraphs, -fdump-translation-unit, -save-temps,
1676 -time): Update.
1677
1678 2000-11-13 Richard Earnshaw <rearnsha@arm.com>
1679
1680 * arm.md (mulsidi3adddi, umulsidi3adddi): Revert previous change.
1681 Rewrite to avoid use of match_dup. Don't try to tie registers that
1682 are not in the same mode.
1683
1684 2000-11-13 Joseph S. Myers <jsm28@cam.ac.uk>
1685
1686 * invoke.texi: Update lists of languages and suffixes supported.
1687
1688 2000-11-13 Joseph S. Myers <jsm28@cam.ac.uk>
1689
1690 * configure.in: Take toplevel configure arguments from the
1691 environment to create configargs.h and substitute
1692 gcc_config_arguments, taking account of any existing configargs.h
1693 if reconfiguring.
1694 * configure: Regenerate.
1695 * gccbug.in: Include toplevel configure arguments in gccbug.
1696
1697 2000-11-13 Richard Earnshaw <rearnsha@arm.com>
1698
1699 * varasm.c (struct constant_descriptor): Put CONTENTS inside a
1700 union to make it well-aligned. Update all uses.
1701
1702 2000-11-13 Joseph S. Myers <jsm28@cam.ac.uk>
1703
1704 * c-parse.in (initelt): Give appropriate pedantic warnings,
1705 depending on flag_isoc99, for non-ISO syntax and for C99 syntax
1706 outside C99 mode.
1707 (designator): If pedantic, pedwarn for a designator specifying a
1708 range of elements.
1709 * c-typeck.c (set_init_index, set_init_label): Don't pedwarn for
1710 these cases.
1711 * extend.texi: Document the C99 syntax as the preferred syntax,
1712 and the pre-2.5 syntax as obsolete. Mention use of designator
1713 lists for nested subobjects.
1714
1715 2000-11-13 Joseph S. Myers <jsm28@cam.ac.uk>
1716
1717 * diagnostic.c (vbuild_message_string, output_do_printf, vnotice):
1718 Add ATTRIBUTE_PRINTF.
1719 * tradcpp.c (v_message, warning, error, fatal, error_with_line):
1720 Add ATTRIBUTE_PRINTF*.
1721
1722 2000-11-12 Mark Mitchell <mark@codesourcery.com>
1723
1724 * function.c (assign_parms): When calling put_var_into_stack, make
1725 sure that there are no hidden pending sequences.
1726
1727 2000-11-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1728
1729 * builtins.c (expand_builtin): Handle BUILT_IN_INDEX and
1730 BUILT_IN_RINDEX. Add missing checks for BUILT_IN_STRCHR and
1731 BUILT_IN_STRRCHR.
1732
1733 * builtins.def (BUILT_IN_INDEX, BUILT_IN_RINDEX): New entries.
1734
1735 * c-common.c (c_common_nodes_and_builtins): Declare index and
1736 rindex when nonansi builtins are allowed.
1737
1738 * extend.texi (index, rindex): Document new builtins.
1739
1740 2000-11-12 Mark Mitchell <mark@codesourcery.com>
1741
1742 * configure.in: Turn on libstdc++ V3 by default.
1743 * configure: Regenerated.
1744
1745 * fixinc/mkfixinc.sh: Use the ordinary fixincludes on Solaris.
1746
1747 2000-11-12 Jakub Jelinek <jakub@redhat.com>
1748
1749 * reload1.c (set_label_offsets): Go inside of PARALLELs.
1750
1751 2000-11-12 Joseph S. Myers <jsm28@cam.ac.uk>
1752
1753 * invoke.texi: Clean up option summary.
1754
1755 2000-11-12 Nick Clifton <nickc@redhat.com>
1756
1757 * config/mcore/mcore.c: Fix comment formating, and adjust sequence
1758 of #include headers.
1759
1760 2000-11-12 Marc Espie <espie@openbsd.org>
1761
1762 * configure.in: Fix filds test.
1763 * configure: Regen.
1764
1765 2000-11-12 Mark Mitchell <mark@codesourcery.com>
1766
1767 * jump.c (delete_computation): Don't assume that just becuase an
1768 instruction sets a register, that register is dead.
1769
1770 2000-11-12 Neil Booth <neilb@earthling.net>
1771
1772 * cppexp.c: Don't worry about pfile->skipping.
1773 * cpplib.c (struct if_stack): Make was_skipping unsigned char.
1774 (cpp_handle_directive): Save pfile->skipping in struct cpp_buffer
1775 for handled directives.
1776 (skip_rest_of_line): Use _cpp_lex_token after popping contexts
1777 and releasing lookaheads.
1778 (do_ifdef, do_ifndef, do_if): Use buffer->was_skipping.
1779 (do_else, do_elif, push_conditional): Update logic.
1780 (do_endif): Set buffer->was_skipping rather than pfile->skipping.
1781 (unwind_if_stack): Inline into cpp_pop_buffer.
1782 (cpp_push_buffer): Clear ifs->was_skipping for cpp_handle_directive.
1783 * cpplex.c (_cpp_lex_token): Clear skipping on EOF. Handle
1784 multiple-include optimisation.
1785 * cpplib.h (struct cpp_buffer): New member was_skipping.
1786 * cppmacro.c (_cpp_get_token): Loop whilst pfile->skipping. This
1787 works because skipping == 0 in directives.
1788 (_cpp_release_lookahead): Renamed from release_lookahead.
1789 (cpp_get_token): No need to check skipping as _cpp_get_token does
1790 this for us. No need to handle MI optimisation.
1791
1792 Sat Nov 11 21:14:02 2000 Mark P Mitchell <mark@codesourcery.com>
1793
1794 * fixinc/inclhack.def (sunos_matherr_decl): Bypass matherr
1795 declarations that use `__MATH_EXCEPTION' in their prototypes, too.
1796 * fixinc/fixincl.x: Regenerated.
1797
1798 2000-11-11 Bruce Korb <bkorb@gnu.org>
1799
1800 * fixinc/inclhack.def (avoid_bool_type): avoid commenting out #endif
1801 (avoid_wchar_t_type): ditto
1802 * fixinc/fixinc.irix: obsoleted
1803
1804 2000-11-11 Zack Weinberg <zack@wolery.stanford.edu>
1805
1806 * configure.in: Don't add $outputs to all_lang_makefiles. Add
1807 $srcdir/$s/Makefile.in if it exists.
1808 * configure: Regenerate.
1809
1810 Sat Nov 11 18:41:20 2000 Mark P Mitchell <mark@codesourcery.com>
1811
1812 * fixinc/mkfixinc.sh: Use the ordinary fixincludes on IRIX.
1813
1814 2000-11-11 Jason Merrill <jason@redhat.com>
1815
1816 * function.c (assign_parms): If TREE_ADDRESSABLE is set, try to
1817 give the parm a register and then call put_var_into_stack.
1818 * stmt.c (expand_decl): Likewise.
1819
1820 2000-11-11 Joseph S. Myers <jsm28@cam.ac.uk>
1821
1822 * gcc.texi: Adjust wording.
1823
1824 2000-11-11 Mark Mitchell <mark@codesourcery.com>
1825
1826 * fixinc/inclhack.def (avoid_wchar_t_type): New fix.
1827 * fininc/fixincl.x: Regenerated.
1828
1829 2000-11-11 Joseph S. Myers <jsm28@cam.ac.uk>
1830
1831 * invoke.texi: Correct spelling of -foptimize-register-move.
1832
1833 2000-11-11 Neil Booth <neilb@earthling.net>
1834
1835 Remove CPP_PLACEMARKERs.
1836
1837 * cppexp.c (lex): Don't handle CPP_PLACEMARKER.
1838 * cpplex.c (_cpp_lex_token): Rename skip_newlines to next_bol
1839 * cpplib.c (skip_rest_of_line, check_eol, cpp_push_buffer):
1840 Similarly.
1841 * cpplib.h: Remove CPP_PLACEMARKER.
1842 (struct lexer_state): Rename skip_newlines to next_bol.
1843 * cppmacro.c (stringify_arg): Don't handle CPP_PLACEMARKER.
1844 Simplify prev_white handling as a result.
1845 (paste_all_tokens): Don't worry about CPP_PLACEMARKERs.
1846 (parse_arg): Empty arguments are now empty, not CPP_PLACEMARKERs.
1847 (parse_args): Similarly. Update argument count tests.
1848 (enter_macro_context): Return 2 to indicate an empty macro.
1849 (replace_args): Don't bother pre-expanding an empty argument.
1850 Handle placemarkers and ## extension during pre-expansion.
1851 (cpp_get_token): Handle empty macro expansions. Don't worry
1852 about CPP_PLACEMARKERs.
1853 (_cpp_create_definition): Empty macros are now empty.
1854 (cpp_macro_defintion): Don't special case empty macros.
1855 * scan-decls.c: Don't bother with CPP_PLACEMARKERs.
1856 * c-lex.c: Similarly.
1857
1858 2000-11-11 Joseph S. Myers <jsm28@cam.ac.uk>
1859
1860 * gcc.texi, invoke.texi: Add new section discussing language
1861 standards; link to it where appropriate; refer to ISO C instead of
1862 ANSI C.
1863
1864 2000-11-11 Alexandre Oliva <aoliva@redhat.com>
1865
1866 * builtins.c (std_expand_builtin_va_start): Take PARM_BOUNDARY
1867 into account.
1868
1869 * config/sh/sh.h (MODES_TIEABLE_P): Don't tie SFmode to other FP
1870 modes.
1871
1872 2000-11-10 Joseph S. Myers <jsm28@cam.ac.uk>
1873
1874 * gcc.texi, gcov.texi: Update dates and version numbers.
1875
1876 2000-11-10 Zack Weinberg <zack@wolery.stanford.edu>
1877
1878 * configure.in: Remove AC_PROG_LEX and AC_PROG_YACC. Look for
1879 flex and bison, specifically, first in a unified build and
1880 then installed on the system.
1881 * Makefile.in: Set BISON to @BISON@, FLEX to @FLEX@. Rename
1882 LEXFLAGS to FLEXFLAGS. Adjust ORDINARY_FLAGS_TO_PASS to
1883 match.
1884
1885 (collect2.o, gcc.o, prefix.o, toplev.o, alloca.o, intl.o,
1886 cppdefault.o): Remove pointless sed munging of source file
1887 name.
1888
1889 2000-11-10 Bernd Schmidt <bernds@redhat.co.uk>
1890
1891 * reload.c (find_reloads_address_1, case POST_MODIFY): Use RELOAD_OTHER
1892 for address reloads. Push replacements for REG_INC notes.
1893 (regno_clobbered_p): New arg SETS. Examine SETs if it's nonzero. All
1894 callers changed.
1895 * reload1.c (choose_reload_regs): Registers set in the insn can't be
1896 used for RELOAD_OTHER reloads.
1897
1898 2000-11-10 Mark Mitchell <mark@codesourcery.com>
1899
1900 * c-dump.h: New file.
1901
1902 2000-11-10 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1903
1904 * alpha.c (check_float_value): Use memcpy, not bcopy.
1905 * arm.c (output_move_double): Likewise.
1906 * arm.md: Likewise.
1907 * m88k.c (legitimize_operand): Likewise.
1908 * m88k.h (ORDER_REGS_FOR_LOCAL_ALLOC): Likewise.
1909 * m88k.md: Likewise.
1910 * mips.c (override_options): Likewise.
1911 * mips.md: Likewise.
1912 * romp.c (output_fpops): Likewise.
1913 * rs6000.c (rs6000_override_options): Likewise.
1914 * sh.md: Likewise.
1915 * vax.c (check_float_value): Likewise.
1916
1917 * emit-rtl.c (copy_rtx_if_shared, init_emit_once): Likewise.
1918 * expmed.c (synth_mult): Likewise.
1919 * final.c (add_bb_string): Likewise.
1920 * genattr.c (main): Likewise.
1921 * genattrtab.c (attr_string, simplify_cond, copy_rtx_unchanging):
1922 Likewise.
1923 * jump.c (thread_jumps): Likewise.
1924 * prefix.c (save_string): Likewise.
1925 * real.h (REAL_VALUE_FROM_CONST_DOUBLE): Likewise.
1926 * regclass.c (init_reg_sets, init_reg_sets_1): Likewise.
1927 * reload1.c (reload, eliminate_regs): Likewise.
1928
1929 2000-11-10 Joseph S. Myers <jsm28@cam.ac.uk>
1930
1931 * gcc.texi (Service): Update to reflect current practice and
1932 location of the GNU service directory.
1933
1934 2000-11-09 Bernd Schmidt <bernds@redhat.co.uk>
1935
1936 * regrename.c (build_def_use): Mark contents of REG_INC notes as
1937 needing replacement.
1938
1939 * config/ia64/ia64.md (extendsfdf2, extendsftf2, extenddftf2): Emit
1940 a no-op move if regs are equal.
1941 * toplev.c (rest_of_compilation): Do the noop moves elimination pass
1942 when calling jump after post-reload splitting.
1943
1944 2000-11-09 Jan van Male <jan.vanmale@fenk.wau.nl>
1945
1946 * c-tree.texi: Fix typos.
1947 * extend.texi: Likewise
1948 * gcov.texi: Likewise
1949 * rtl.texi: Likewise
1950 * tm.texi: Likewise
1951
1952 2000-11-09 Hans-Peter Nilsson <hp@axis.com>
1953
1954 * c-lex.c [! NO_IMPLICIT_EXTERN_C] (cb_enter_file): Check
1955 in_system_header and flags[1] before dereferencing flags[2].
1956
1957 2000-11-09 Matthew Hiller <hiller@redhat.com>
1958
1959 * reload1.c (reload_combine): Fixed calculation of
1960 first_index_reg, last_index_reg.
1961
1962 2000-11-09 Mark Mitchell <mark@codesourcery.com>
1963
1964 * c-dump.c (dequeue_and_dump): Dump function bodies.
1965
1966 * Makefile.in (C_AND_OBJC_OBJS): Add c-dump.o.
1967 (c-dump.o): New target.
1968 * c-common.h (flag_dump_translation_unit): New variable.
1969 (C_TYPE_QUALS): New macro.
1970 (strip_array_types): New function.
1971 (DECL_C_BIT_FIELD): New macro.
1972 (SET_DECL_C_BIT_FIELD): Likewise.
1973 (CLEAR_DECL_C_BIT_FIELD): Likewise.
1974 (dump_info_p): New typedef.
1975 (dump_tree_fn): Likewise.
1976 (lang_dump_tree): New variable.
1977 (dump_node_to_file): New function.
1978 * c-common.c (flag_dump_translation_unit): Define it.
1979 (strip_array_types): New function.
1980 * c-decl.c (c_decode_option): Handle -fdump-translation-unit.
1981 * c-lang.c (finish_file): Call dump_node_to_file if
1982 flag_dump_translation_unit.
1983 * c-semantics.c (mark_rtl_for_local_static): Fix typo in comment.
1984 * c-tree.h (DECL_C_BIT_FIELD): Remove declaration.
1985 * c-dump.c: New file.
1986
1987 2000-11-09 Christopher Faylor <cgf@cygnus.com>
1988
1989 * config/i386/cygwin.h: Add mingw startfile prefix.
1990
1991 2000-11-09 Richard Henderson <rth@redhat.com>
1992
1993 * flow.c (invalidate_mems_from_set): Split out from ...
1994 (mark_set_1): ... here.
1995 (try_pre_increment_1): Use it. Use propagate_block_delete_insn
1996 instead of turning insn into a NOTE_INSN_DELETED.
1997
1998 2000-11-10 Joseph S. Myers <jsm28@cam.ac.uk>
1999
2000 * extend.texi, invoke.texi: Move documentation of builtin versions
2001 of C library functions to one place and update.
2002
2003 2000-11-09 Richard Henderson <rth@redhat.com>
2004
2005 * fold-const.c (fold): Compare TYPE_MAIN_VARIANT rather than
2006 the types themselves to discover type equivalence.
2007
2008 2000-11-09 Mike Stump <mrs@wrs.com>
2009
2010 * Makefile.in (distclean): Remove a few extra leftovers.
2011
2012 2000-11-09 Richard Henderson <rth@redhat.com>
2013
2014 * recog.c (validate_replace_rtx_1): Consider subregs when
2015 replacing a register with a constant inside a sign/zero_extend.
2016
2017 * config/alpha/linux.h (HANDLE_PRAGMA_PACK_PUSH_POP): Define.
2018
2019 2000-11-09 Geoffrey Keating <geoffk@redhat.com>
2020
2021 * c-decl.c (finish_struct): When a structure is completed,
2022 check all its variant types for completeness.
2023
2024 2000-11-09 Neil Booth <neilb@earthling.net>
2025
2026 * cpphash.c: Move cpp_defined here from cpplib.c.
2027 * cpplib.c: Update comments, move cpp_defined to cpphash.c.
2028 * cpplex.c (_cpp_lex_token): Don't leave the lexer at EOL.
2029 * cppmacro.c (cpp_get_token): Update comments, no need now
2030 to catch the CPP_EOF meaning EOL case.
2031
2032 2000-11-08 Geoffrey Keating <geoffk@redhat.com>
2033
2034 * config/sparc/sparc.c (sparc_va_arg): When the required alignment
2035 is more than that provided, copy to a temporary.
2036
2037 2000-11-09 Alexandre Oliva <aoliva@redhat.com>
2038
2039 * mklibgcc.in (EXTRA_MULTILIB_PARTS): Prevent `make' from
2040 interpreting $out as a macro assignment.
2041 * Makefile.in (T_TARGET): New auxiliary macro and target.
2042 (all): Add a target right in the beginning, so that we don't build
2043 T_TARGET by default.
2044
2045 2000-11-09 Graham Stott <grahams@redhat.com>
2046
2047 * config/i386/i386.md (mmx_pinsrw): Output operands in correct
2048 order for -mintel-syntax. Remove comment now that the operand
2049 order has been checked.
2050 (mmx_pextrw): Likewise.
2051 (mmx_pshufw): Likewise.
2052
2053 2000-11-09 Jakub Jelinek <jakub@redhat.com>
2054
2055 * builtins.c (c_strlen): Use TREE_STRING_LENGTH - 1 for max.
2056 (c_getstr): New function.
2057 (expand_builtin_strstr): Do nothing if -fcheck-memory-usage.
2058 If both arguments are constant string, optimize out.
2059 (expand_builtin_strchr, expand_builtin_strrchr): New functions.
2060 (expand_builtin_strpbrk): Use c_getstr, do nothing if
2061 -fcheck-memory-usage.
2062 (expand_builtin_fputs): Likewise.
2063 (expand_builtin_strcmp): Add MODE argument.
2064 Use even if !HAVE_cmpstrsi.
2065 Optimize the case when both arguments are constant strings.
2066 (expand_builtin): Adjust expand_builtin_strcmp caller.
2067 Call expand_builtin_strchr and expand_builtin_strrchr.
2068 * c-common.c (c_common_nodes_and_builtins): Add strchr and strrchr
2069 builtins.
2070 * builtins.def (BUILT_IN_STRRCHR): Add.
2071
2072 2000-11-08 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
2073
2074 * fixinc/gnu-regex.c: Rename EGCS LOCAL markers to GCC LOCAL.
2075
2076 2000-11-09 Joseph S. Myers <jsm28@cam.ac.uk>
2077
2078 * calls.c (expand_call, emit_library_call_value_1), collect2.c
2079 (scan_prog_file), config/a29k/a29k.c (print_operand),
2080 config/sparc/sparc.c (order_regs_for_local_alloc): Use memcpy ()
2081 instead of bcopy ().
2082 * real.h: Use memcmp () instead of bcmp ().
2083 * config/m88k/m88k.c (m88k_layout_frame), config/sh/sh.c
2084 (split_branches), config/sparc/sparc.c (ultra_flush_pipeline,
2085 ultrasparc_sched_init, ultrasparc_sched_reorder),
2086 config/sparc/sparc.h (CONDITIONAL_REGISTER_USAGE): Use memset ()
2087 instead of bzero ().
2088 * config/vax/xm-xms.h (FILE_NAME_NONDIRECTORY): Use strrchr ()
2089 instead of rindex ().
2090 * configure.in: Don't check for bzero, bcmp, index or rindex.
2091 * configure, config.in: Regenerate.
2092 * system.h: Don't include declarations for bzero, bcmp, index or
2093 rindex.
2094 * config/i386/xm-beos.h, config/rs6000/xm-beos.h: Don't define
2095 bzero, bcmp, index or rindex.
2096
2097 Wed Nov 8 21:58:20 2000 Christopher Faylor <cgf@cygnus.com>
2098
2099 * config/i386/cygwin.h: Add -no-win32 switch. Separate -mno-cygwin
2100 include and library paths from -mcygwin case. Parameterize some
2101 declarations to avoid warnings. Use standard locations for include and
2102 lib dirs.
2103
2104 2000-11-08 Nick Clifton <nickc@redhat.com>
2105
2106 * config/arm/arm.md (mulsidi3adddi): Change output operand
2107 constraint from "=&" to "+&".
2108 (umulsidi3adddi): Change output operand constraint from "=&" to
2109 "+&".
2110
2111 2000-11-08 Richard Henderson <rth@redhat.com>
2112
2113 * flow.c (init_propagate_block_info): Protect the rtx stored in
2114 mem_set_list from modification by find_auto_inc.
2115 (mark_set_1): Likewise.
2116
2117 2000-11-08 Neil Booth <neilb@earthling.net>
2118
2119 Move directive handling into the lexer itself.
2120
2121 * cpplex.c (_cpp_lex_token): Handle directives directly.
2122 In the case of a directive interrupting a function-like
2123 macro invocation, use extra_char since read_ahead is
2124 used to store the '#'. Return a CPP_EOF in this case.
2125 * cppmacro.c (parse_arg): No need to handle CPP_DHASH any more.
2126 (cpp_get_token): Don't handle directives here.
2127 * cpplib.h: Remove CPP_DHASH token type.
2128
2129 Wed Nov 8 21:53:41 MET 2000 Jan Hubicka <jh@suse.cz>
2130
2131 * regmove.c (combine_stack_adjustments_for_blocks): Recognize pushes
2132 formed using PRE_MODIFY too.
2133
2134 2000-11-08 Mark Mitchell <mark@codesourcery.com>
2135
2136 * c-tree.texi (VAR_DECL): Describe representation of GCC's
2137 extension for placing variables in particular registers.
2138
2139 * c-tree.texi (FUNCTION_TYPE): Clarify TYPE_ARG_TYPES for
2140 unprototyped C functions with no parameters.
2141
2142 2000-11-08 Jakub Jelinek <jakub@redhat.com>
2143
2144 * config/sparc/sparc.h (ASM_OUTPUT_MI_THUNK): Cast DELTA to int
2145 before passing to fprintf.
2146
2147 2000-11-08 Jakub Jelinek <jakub@redhat.com>
2148
2149 * function.c (expand_function_start): Cast GET_MODE_SIZE to
2150 HOST_WIDE_INT before negating it.
2151
2152 2000-11-08 Jakub Jelinek <jakub@redhat.com>
2153
2154 * expr.c (expand_expr) [ADDR_EXPR]: Handle when op0 is RETURN_DECL
2155 passed in multiple non-contiguous locations.
2156
2157 2000-11-08 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
2158
2159 * README.gnat: Remove file.
2160
2161 2000-11-08 Alexandre Oliva <aoliva@redhat.com>
2162
2163 * mklibgcc.in (EXTRA_MULTILIB_PARTS): Generate multilib parts
2164 in-place.
2165
2166 2000-11-07 Richard Henderson <rth@redhat.com>
2167
2168 * dwarfout.c (INSN_LABEL_FMT): Remove.
2169 (output_label_die): Use ASM_GENERATE_INTERNAL_LABEL.
2170 (dwarfout_label): Remove.
2171 * dwarfout.h: Remove it's prototype.
2172 * dwarf2out.c (INSN_LABEL_FMT): Remove.
2173 (gen_label_die): Use ASM_GENERATE_INTERNAL_LABEL.
2174 (dwarf2out_label): Remove.
2175 * dwarf2out.h: Remove it's prototype.
2176 * final.c (final_scan_insn): Don't call dwarf[2]out_label.
2177
2178 2000-11-07 Richard Henderson <rth@redhat.com>
2179
2180 * config/ia64/fde-glibc.c (find_fde_for_dso): Do a binary
2181 search on the unwind region section.
2182
2183 * config/ia64/ia64.md (movbi): Add r/r alternative.
2184 (cmovdi_internal_astep): Describe all combinations of register
2185 classes for sources & destinations; remove matching constraints.
2186 (cmovdi_internal): Likewise.
2187
2188 * gcc.c (default_compilers) [@cpp-output]: Add -fpreprocessed.
2189
2190 2000-11-07 Richard Henderson <rth@redhat.com>
2191
2192 * c-lang.c (start_cdtor, finish_cdtor): New functions.
2193 (finish_file): Use them in building constructor/destructor functions.
2194
2195 * config/alpha/alpha.h (HAS_INIT_SECTION, LD_INIT_SWITCH,
2196 LD_FINI_SWITCH): Move ...
2197 * config/alpha/osf.h: ... here.
2198 * config/alpha/alpha-interix.h: Don't undef them.
2199
2200 2000-11-07 Jeffrey Oldham <oldham@oz.codesourcery.com>
2201
2202 * config/mips/t-iris6 (FPBIT): New. Added so that __unorddf2 is
2203 included in libgcc.a.
2204 (DPBIT): Likewise.
2205 (dp-bit.c): Likewise.
2206 (fp-bit.c): Likewise.
2207
2208 2000-11-07 Nick Clifton <nickc@redhat.com>
2209
2210 * config/m88k/m88k.h (GLOBAL_ASM_OP): Add missing tab.
2211 (INTERNAL_ASM_OP): Add missing tab.
2212
2213 2000-11-07 Joseph S. Myers <jsm28@cam.ac.uk>
2214
2215 * alias.c (init_alias_analysis), calls.c (expand_call,
2216 emit_library_call_value_1), combine.c (init_reg_last_arrays),
2217 cse.c (new_basic_block), dbxout.c (dbxout_type), diagnostic.c
2218 (init_output_buffer, set_diagnostic_context), dwarf2out.c
2219 (equate_decl_number_to_die, build_abbrev_table), emit-rtl.c
2220 (init_emit_once), fold-const.c (mul_double, div_and_round_double),
2221 function.c (assign_parms), gcse.c (compute_can_copy,
2222 alloc_gcse_mem, alloc_reg_set_mem, record_one_set,
2223 compute_hash_table, compute_set_hash_table,
2224 compute_expr_hash_table), genattrtab.c (optimize_attrs), global.c
2225 (global_alloc, global_conflicts), haifa-sched.c (compute_trg_info,
2226 clear_units, schedule_block), integrate.c (initialize_for_inline,
2227 expand_inline_function), jump.c (thread_jumps), local-alloc.c
2228 (local_alloc), loop.c (combine_movables, count_loop_regs_set,
2229 load_mems_and_recount_loop_regs_set), print-tree.c (debug_tree),
2230 regclass.c (init_reg_sets, init_reg_sets_1, regclass,
2231 record_reg_classes, allocate_reg_info), reload.c
2232 (get_secondary_mem, remove_address_replacements, find_reloads),
2233 reload1.c (reload, set_initial_label_offsets, finish_spills,
2234 reload_as_needed, choose_reload_regs_init,
2235 reload_cse_simplify_operands), reorg.c (dbr_schedule), sbitmap.c
2236 (sbitmap_zero), simplify-rtx.c (simplify_plus_minus), ssa.c
2237 (rename_registers), stmt.c (expand_end_case), unroll.c
2238 (unroll_loop), varray.c (varray_grow), objc/objc-act.c: Use memset
2239 () instead of bzero ().
2240
2241 2000-11-07 Neil Booth <neilb@earthling.net>
2242
2243 * cp/lang-specs.h: Fix -save-temps specs under USE_CPPLIB.
2244
2245 2000-11-07 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2246
2247 * c-common.c (combine_strings): Only warn about long strings for C.
2248
2249 Tue Nov 7 19:44:30 2000 J"orn Rennecke <amylaar@redhat.com>
2250
2251 * combine.c (distribute_notes): Fix typo in last change.
2252
2253 2000-11-07 Geoff Keating <geoffk@redhat.com>
2254
2255 * config/rs6000/rs6000.md (movdi_internal32+1): Use
2256 operand_subreg_force rather than gen_rtx_SUBREG.
2257 (movdi_internal32+2): Likewise.
2258
2259 2000-11-07 Philip Blundell <philb@gnu.org>
2260
2261 * configure.in (arm*-*-linuxaout*): Obsolete, deleted.
2262 * config/arm/linux-aout.h: Likewise.
2263 * configure: Regenerate.
2264
2265 2000-11-07 Philipp Thomas <pthomas@suse.de>
2266
2267 * ABOUT-GCC-NLS: Remove the patch for gettext as it has been
2268 accepted my the gettext maintainer.
2269
2270 2000-11-07 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2271
2272 * builtins.c (expand_builtin_strpbrk): New function.
2273 (expand_builtin): Handle BUILT_IN_STRPBRK.
2274
2275 * builtins.def (BUILT_IN_STRPBRK): New entry.
2276
2277 * c-common.c (c_common_nodes_and_builtins): Declare builtin
2278 strpbrk.
2279
2280 2000-11-07 David O'Brien <obrien@dragon.nuxi.com>
2281
2282 * config/alpha/freebsd.h: New file -- FreeBSD/alpha architecture file.
2283 * POTFILES.in: Add config/alpha/freebsd.h
2284 * configure.in: Add alpha*-freebsd support.
2285 * configure: Regenerate.
2286
2287 2000-11-07 Joseph S. Myers <jsm28@cam.ac.uk>
2288
2289 * tree.c (build_common_tree_nodes_2): Make va_list_type_node be a
2290 copy of ptr_type_node rather than ptr_type_node itself.
2291
2292 Tue Nov 7 06:29:24 2000 J"orn Rennecke <amylaar@redhat.com>
2293
2294 * combine.c (recog_for_combine): Allocate uninitialized vector with
2295 rtvec_alloc.
2296 * recog.c (apply_change_group): Likewise.
2297
2298 Tue Nov 7 06:24:02 2000 J"orn Rennecke <amylaar@redhat.com>
2299
2300 * flow.c (verify_local_live_at_start): Back out last change.
2301 * combine.c (distribute_notes): When parts of a hard reg are
2302 neither set nor referenced in PLACE, search backwards for a
2303 place to put a REG_UNUSED note; if none found, ask for flow
2304 info refresh.
2305
2306 Mon Nov 6 20:08:13 2000 J"orn Rennecke <amylaar@redhat.com>
2307
2308 * reload1.c (eliminate_regs_in_insn): Allow a set to be a PARALLEL
2309 with (clobber (match_scratch...)).
2310
2311 2000-11-06 Neil Booth <neilb@earthling.net>
2312
2313 * c-lex.c (init_c_lex): If cpp_start_read fails, exit with
2314 error status.
2315
2316 2000-11-06 Neil Booth <neilb@earthling.net>
2317
2318 * tradcpp.c (special_symbol): Assign an null string rather
2319 than writing to an unallocated buffer.
2320
2321 2000-11-06 Neil Booth <neilb@earthling.net>
2322
2323 * cpplex.c (_cpp_equiv_tokens): Check arg_no in the
2324 CPP_MACRO_ARG case.
2325
2326 2000-11-06 Neil Booth <neilb@earthling.net>
2327
2328 * c-lex.c (c_lex): Replace tok.val.aux with tok.val.c or
2329 tok.val.arg_no as appropriate.
2330 * cppexp.c (lex): Similarly.
2331 * cpplex.c (_cpp_lex_token, cpp_spell_token, cpp_output_token,
2332 cpp_equiv_tokens, cpp_can_paste, cpp_avoid_paste): Similarly.
2333 * cppmacro.c (stringify_arg, replace_args, lex_expansion_token,
2334 cpp_macro_definition): Similarly.
2335 * cpplib.h (struct cpp_token): Replace aux with c and arg_no.
2336
2337 2000-11-06 Jakub Jelinek <jakub@redhat.com>
2338
2339 * config/sparc/sparc.md (adddi3): If operands[2] is 4096 and
2340 operands[1] is constant, calculate the sum and generate movdi.
2341 (addsi3): Similarly. Use SImode in call to arith_4096_operand.
2342 (subsi3): Use SImode in call to arith_4096_operand.
2343
2344 2000-11-06 Jakub Jelinek <jakub@redhat.com>
2345
2346 * config/sparc/sparc.h (ASM_OUTPUT_MI_THUNK): On sparc64 we need to
2347 adjust %o1, not %o0 if the return type is large structure.
2348
2349 2000-11-06 Jakub Jelinek <jakub@redhat.com>
2350
2351 * config/sparc/sparc.md (smulsi3_highpart_v8plus, ashldi3_v8plus+1,
2352 update_return, flush, flushdi, ffssi2, ffsdi2): Fix output formatting.
2353
2354 Sat Sep 23 19:10:20 2000 Denis Chertykov <denisc@overta.ru> & Marek Michalkiewicz <marekm@linux.org.pl>
2355
2356 * expmed.c (expand_divmod): For signed divide by 2, prefer
2357 a branch and fewer shifts if branches are very cheap.
2358
2359 2000-11-05 Joseph S. Myers <jsm28@cam.ac.uk>
2360
2361 * Makefile.in: Remove all targets related to building
2362 distributions and diffs, or INSTALL.
2363 * INSTALL, install1.texi: Remove.
2364 * configure.in: Remove mention of distdir.
2365 * configure: Regenerate.
2366 * objc/Make-lang.in: Remove mention of distdir.
2367
2368 2000-11-04 Neil Booth <neilb@earthling.net>
2369
2370 * cpp.texi: Update for _Pragma.
2371
2372 2000-11-04 Joseph S. Myers <jsm28@cam.ac.uk>
2373
2374 * gcc.texi (Contributing): Update URL for projects web page.
2375
2376 2000-11-04 Neil Booth <neilb@earthling.net>
2377
2378 * cpplex.c (parse_string): Don't allow multiline strings in
2379 #include family directives.
2380
2381 2000-11-04 Neil Booth <neilb@earthling.net>
2382
2383 * cpplib.c (do_line): Only warn pedantically if not reading
2384 preprocessed input.
2385
2386 2000-11-04 Alexandre Oliva <aoliva@redhat.com>
2387
2388 * calls.c (emit_call_1) [sibcall_pop]: Use n_popped instead of
2389 RETURN_POPS_ARGS().
2390
2391 2000-11-03 Zack Weinberg <zack@wolery.stanford.edu>
2392
2393 * builtins.c (expand_builtin_strlen): Remove unused mode
2394 argument.
2395 * gcc.c (process_command): Remove unused variable.
2396 * fold-const.c: Include expr.h.
2397 * recog.c: Include reload.h.
2398 * Makefile.in (recog.o, fold-const.o): Update deps.
2399
2400 2000-11-02 Geoffrey Keating <geoffk@cygnus.com>
2401
2402 * fixinc/gnu-regex.c: Change 'CYGNUS LOCAL' to 'EGCS LOCAL'.
2403
2404 Fri Nov 3 13:41:04 2000 Mark P Mitchell <mark@codesourcery.com>
2405
2406 * config/mips/iris6.h (SUBTARGET_CC1_SPEC): Remove -static
2407 handling.
2408 (STARTFILE_SPEC): Likewise.
2409 (LINK_SPEC): Likewise.
2410
2411 2000-11-03 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2412
2413 * Makefile.in (fold-const.o): Depend on $(GGC_H), not ggc.h.
2414 (toplev.o): Likewise for $(LOOP_H)/loop.h and $(REGS_H)/regs.h.
2415 (simplify-rtx.o): Likewise for $(GGC_H)/ggc.h.
2416
2417 2000-11-03 Joseph S. Myers <jsm28@cam.ac.uk>
2418
2419 * c-decl.c (duplicate_decls, copy_lang_decl), dwarfout.c
2420 (dwarfout_line), gcc.c (main, save_string), tree.c (init_obstacks,
2421 perm_calloc, get_identifier, maybe_get_identifier,
2422 real_value_from_int_cst, simple_cst_equal), varasm.c
2423 (assemble_name, assemble_real, immed_real_const_1,
2424 compare_constant_1, decode_rtx_const, output_constant_pool): Use
2425 strrchr () instead of rindex (). Use memcmp () instead of bcmp
2426 (). Use memcpy () instead of bcopy (). Use memset () instead of
2427 bzero ().
2428
2429 2000-11-03 Nathan Sidwell <nathan@codesourcery.com>
2430
2431 * cppfiles.c (open_file): If already read, then don't reopen.
2432 Immediately close an empty file.
2433
2434 2000-11-01 Bernd Schmidt <bernds@redhat.co.uk>
2435
2436 * expr.h (fold_builtin): Move declaration...
2437 * tree.h (fold_builtin): ... here.
2438
2439 Fri Nov 3 05:41:07 2000 J"orn Rennecke <amylaar@redhat.com>
2440
2441 * flow.c (verify_local_live_at_start): Allow hard regs to die.
2442
2443 2000-11-02 Neil Booth <neilb@earthling.net>
2444
2445 config:
2446 * a29k/a29k.h, a29k/unix.h, a29k/vx29k.h,
2447 alpha/alpha-interix.h, alpha/alpha.h, alpha/linux.h,
2448 alpha/openbsd.h, alpha/osf.h, alpha/vms.h, alpha/vxworks.h,
2449 alpha/win-nt.h, arc/arc.h, arm/arm.h, arm/conix-elf.h,
2450 arm/linux-aout.h, arm/linux-elf.h, arm/netbsd.h, arm/riscix.h,
2451 arm/riscix1-1.h, arm/semiaof.h, arm/unknown-elf-oabi.h, arm/vxarm.h,
2452 c4x/rtems.h, clipper/clix.h, convex/convex.h, d30v/d30v.h,
2453 elxsi/elxsi.h, fr30/fr30.h, h8300/h8300.h, i370/linux.h, i370/mvs.h,
2454 i370/oe.h, i386/386bsd.h, i386/aix386ng.h, i386/beos-elf.h,
2455 i386/bsd386.h, i386/crtdll.h, i386/cygwin.h, i386/dgux.h,
2456 i386/djgpp-rtems.h, i386/djgpp.h, i386/freebsd-aout.h, i386/freebsd.h,
2457 i386/gnu.h, i386/i386-interix.h, i386/i386.h, i386/linux-aout.h,
2458 i386/linux-oldld.h, i386/linux.h, i386/lynx-ng.h, i386/lynx.h,
2459 i386/mach.h, i386/mingw32.h, i386/moss.h, i386/netbsd.h,
2460 i386/netware.h, i386/next.h, i386/openbsd.h, i386/osf1elf.h,
2461 i386/osfelf.h, i386/osfrose.h, i386/ptx4-i.h, i386/rtems.h,
2462 i386/rtemself.h, i386/sco.h, i386/sco4.h, i386/sco4dbx.h, i386/sco5.h,
2463 i386/scodbx.h, i386/sequent.h, i386/sol2.h, i386/sun.h, i386/sysv3.h,
2464 i386/sysv4.h, i386/uwin.h, i386/vsta.h, i386/vxi386.h, i386/win-nt.h,
2465 i386/win32.h, i860/fx2800.h, i860/i860.h, i860/mach.h, i860/sysv3.h,
2466 i860/sysv4.h, i960/i960.h, i960/rtems.h, i960/vx960-coff.h,
2467 ia64/ia64.h, ia64/linux.h, m32r/m32r.h, m68k/3b1.h, m68k/3b1g.h,
2468 m68k/a-ux.h, m68k/altos3068.h, m68k/amix.h, m68k/apollo68.h,
2469 m68k/crds.h, m68k/ctix.h, m68k/dpx2.h, m68k/hp2bsd.h, m68k/hp320.h,
2470 m68k/hp3bsd.h, m68k/hp3bsd44.h, m68k/isi.h, m68k/linux-aout.h,
2471 m68k/linux.h, m68k/lynx-ng.h, m68k/lynx.h, m68k/m68kemb.h,
2472 m68k/m68kv4.h, m68k/mot3300.h, m68k/netbsd.h, m68k/news.h,
2473 m68k/next.h, m68k/openbsd.h, m68k/pbb.h, m68k/plexus.h, m68k/rtems.h,
2474 m68k/rtemself.h, m68k/sun2.h, m68k/sun3.h, m68k/sun3mach.h,
2475 m68k/tower-as.h, m68k/tower.h, m68k/vxm68k.h, m88k/dgux.h,
2476 m88k/dolph.h, m88k/luna.h, m88k/m88k-aout.h, m88k/m88k-coff.h,
2477 m88k/openbsd.h, m88k/sysv3.h, m88k/sysv4.h, mips/bsd-4.h,
2478 mips/bsd-5.h, mips/dec-bsd.h, mips/dec-osf1.h, mips/gnu.h,
2479 mips/iris3.h, mips/iris5.h, mips/iris6.h, mips/linux.h, mips/mips.h,
2480 mips/netbsd.h, mips/news4.h, mips/news5.h, mips/nws3250v4.h,
2481 mips/openbsd.h, mips/osfrose.h, mips/rtems64.h, mips/sni-svr4.h,
2482 mips/svr3-4.h, mips/svr3-5.h, mips/svr4-4.h, mips/svr4-5.h,
2483 mips/ultrix.h, ns32k/encore.h, ns32k/merlin.h, ns32k/netbsd.h,
2484 ns32k/ns32k.h, ns32k/pc532-mach.h, ns32k/pc532.h, ns32k/sequent.h,
2485 ns32k/tek6000.h, ns32k/tek6100.h, ns32k/tek6200.h, pa/pa-hiux.h,
2486 pa/pa-hpux.h, pa/pa-hpux7.h, pa/pa-linux.h, pa/pa-osf.h,
2487 pa/pa-pro-end.h, pa/pa.h, pa/rtems.h, pj/linux.h, pj/pj.h,
2488 romp/romp.h, rs6000/aix.h, rs6000/aix31.h, rs6000/aix41.h,
2489 rs6000/aix43.h, rs6000/beos.h, rs6000/eabi.h, rs6000/eabisim.h,
2490 rs6000/linux.h, rs6000/lynx.h, rs6000/mach.h, rs6000/rtems.h,
2491 rs6000/sysv4.h, rs6000/vxppc.h, sh/elf.h, sh/linux.h, sh/rtems.h,
2492 sh/rtemself.h, sh/sh.h, sparc/aout.h, sparc/elf.h, sparc/linux-aout.h,
2493 sparc/linux.h, sparc/linux64.h, sparc/lite.h, sparc/litecoff.h,
2494 sparc/liteelf.h, sparc/lynx-ng.h, sparc/lynx.h, sparc/netbsd.h,
2495 sparc/openbsd.h, sparc/pbd.h, sparc/rtems.h, sparc/rtemself.h,
2496 sparc/sol2-sld-64.h, sparc/sol2.h, sparc/sp64-aout.h,
2497 sparc/sp64-elf.h, sparc/sp86x-aout.h, sparc/sp86x-elf.h,
2498 sparc/sparc.h, sparc/sysv4.h, sparc/vxsim.h, sparc/vxsparc.h,
2499 v850/rtems.h, vax/netbsd.h, vax/openbsd.h, vax/ultrix.h, vax/vax.h,
2500 vax/vaxv.h, vax/vms.h, we32k/we32k.h
2501
2502 Replace -A() with -A=, the new assertion syntax.
2503
2504 Thu Nov 2 21:52:35 2000 J"orn Rennecke <amylaar@redhat.com>
2505
2506 * combine.c (distribute_notes): Use rtx_equal_p to check elim_i2 /
2507 elim_i1.
2508 In REG_DEAD handling: When handling parts of multi-hard-reg hard
2509 registers, increment the loop counter by the size of the parts;
2510 use recursion to handle individual parts.
2511
2512 2000-11-02 Neil Booth <neilb@earthling.net>
2513
2514 * configure.in: Make integrated CPP the default.
2515 * configure: Regenerate.
2516
2517 Thu Nov 2 19:20:12 2000 J"orn Rennecke <amylaar@redhat.com>
2518
2519 * reload.c (find_equiv_reg): Test all hard registers for membership
2520 in the requested class.
2521
2522 2000-11-02 Joseph S. Myers <jsm28@cam.ac.uk>
2523
2524 * collect2.c (main, write_c_file_stat), gcc.c (translate_options,
2525 process_command, main), gcov.c (open_files, output_data), tlink.c
2526 (frob_extension, scan_linker_output), toplev.c
2527 (file_name_nondirectory): Use strchr () and strrchr () instead of
2528 index () and rindex ().
2529
2530 2000-11-02 Joseph S. Myers <jsm28@cam.ac.uk>
2531
2532 * c-common.c (get_flag_spec, check_format_info_main,
2533 check_format_types): Use strchr () instead of index (). Compare
2534 against error_mark_node instead of comparing the TREE_CODE against
2535 ERROR_MARK.
2536
2537 2000-11-02 Zack Weinberg <zackw@Stanford.EDU>
2538
2539 Integrated CPP.
2540
2541 * c-lex.c (init_c_lex): Update cpp_start_read call.
2542 (cb_ident): Update for new callback prototype.
2543 (cb_def_pragma): Update for new cpp_get_token prototype.
2544 (c_lex): Similarly. Use cpp_get_line.
2545
2546 * c-parse.in (finish_parse): Update for new cpp_finish
2547 prototype.
2548
2549 * cp/lex.c (finish_parse): Similarly.
2550
2551 2000-11-01 Geoff Keating <geoffk@cygnus.com>
2552
2553 * machmode.def: Add V16QImode.
2554
2555 2000-11-01 Richard Henderson <rth@redhat.com>
2556
2557 * dwarf2out.c (loc_descriptor_from_tree): Check for null result
2558 from rtl_for_decl_location.
2559 (add_location_or_const_value_attribute): Likewise.
2560
2561 2000-11-01 Neil Booth <neilb@earthling.net>
2562
2563 * cpplib.c (run_directive): Use correct line number for output
2564 of _Pragma. Remember any in-progress directive.
2565
2566 * gcc.dg/cpp/vararg2.c, gcc.dg/cpp/_Pragm1.c: New tests.
2567
2568 2000-11-01 Richard Henderson <rth@redhat.com>
2569
2570 * stmt.c (expand_start_null_loop): Set continue_label.
2571
2572 2000-11-01 Bernd Schmidt <bernds@redhat.co.uk>
2573
2574 * builtins.c (fold_builtin_constant_p, fold_builtin): New functions.
2575 (expand_builtin_constant_p): Move parts of the code into
2576 fold_builtin_constant_p.
2577 (expand_builtin_strlen): Move parts of the code into fold_builtin.
2578 * expr.h (fold_builtin): Declare.
2579 * fold-const.c (fold): Handle builtin calls.
2580
2581 * c-typeck.c (build_function_call): Call fold on the CALL_EXPR.
2582
2583 2000-11-01 Richard Henderson <rth@redhat.com>
2584
2585 * stmt.c (expand_start_null_loop): New.
2586 (expand_end_null_loop): New.
2587 * c-semantics.c (genrtl_do_stmt): Use them.
2588 * tree.h: Declare them.
2589
2590 2000-11-01 Richard Henderson <rth@redhat.com>
2591
2592 * cppmain.c (scan_buffer): Don't avoid paste for assembly.
2593
2594 2000-11-01 Neil Booth <neilb@earthling.net>
2595
2596 * c-parse.in (_yylex): Remove CPP_BACKSLASH case.
2597 * cp/spew.c: Similarly.
2598 * cpplex.c (_cpp_lex_token): Backslashes are now CPP_OTHER.
2599 * cppmacro.c (stringify_arg): Similarly.
2600 * cpplib.h (CPP_BACKSLASH): Delete.
2601
2602 2000-10-31 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2603
2604 * builtins.c (expand_builtin_strstr): New function.
2605 (expand_builtin): Handle BUILT_IN_STRSTR and BUILT_IN_STRCHR.
2606
2607 * builtins.def (BUILT_IN_STRSTR, BUILT_IN_STRCHR): New entries.
2608
2609 * c-common.c (c_common_nodes_and_builtins): Declare builtin strstr
2610 and builtin strchr.
2611
2612 2000-10-31 Richard Henderson <rth@redhat.com>
2613
2614 * config/i386/i386.c (fcmov_comparison_operator): Check for
2615 CCFPmode or CCFPUmode instead of CCmode.
2616 (ix86_expand_fp_movcc): Call ix86_expand_setcc for most
2617 unordered operations as well.
2618
2619 2000-10-31 Richard Henderson <rth@redhat.com>
2620
2621 * c-semantics.c (genrtl_do_stmt): Use integer_zerop instead
2622 of integer_zero_node.
2623
2624 2000-10-31 Richard Henderson <rth@redhat.com>
2625
2626 * c-semantics.c (genrtl_do_stmt): Special case do/while(0).
2627
2628 2000-10-31 Nick Clifton <nickc@redhat.com>
2629
2630 * config/arm/unknown-elf.h (UNIQUE_SECTION_P): Do not allow
2631 -fdata-sections to override the section attribute of a DECL.
2632
2633 2000-10-31 Chris Demetriou <cgd@sibyte.com>
2634
2635 * libgcc2.c (__shtab): Remove __shtab variable.
2636 * libgcc-std.ver (GCC_3.0): Remove __shtab from symbol list.
2637 * Makefile.in (LIB2FUNCS): Remove _shtab from list of library
2638 members.
2639
2640 2000-10-31 Jim Wilson <wilson@redhat.com>
2641
2642 * defaults.h (ASM_OUTPUT_DEBUG_LABEL): New.
2643 * tm.texi (ASM_OUTPUT_DEBUG_LABEL): Document.
2644 * dwarf2out.c (dwarf2out_begin_block): Use ASM_OUTPUT_DEBUG_LABEL
2645 instead of ASM_OUTPUT_INTERNAL_LABEL.
2646 (dwarf2out_end_block, dwarf2out_label): Likewise.
2647 * final.c (final_scan_insn, case NOTE_INSN_DELETED_LABEL): Likewise
2648 * config/ia64/ia64.h (ASM_OUTPUT_DEBUG_LABEL): Define.
2649
2650 2000-10-31 Richard Henderson <rth@redhat.com>
2651
2652 * dwarf2out.c (struct dw_loc_descr_struct): Add dw_loc_addr.
2653 (size_of_locs): Set it.
2654 (output_loc_operands): Use it to compute branch displacement.
2655 (int_loc_descriptor): New.
2656 (mem_loc_descriptor): Dereference memory in the proper size.
2657 Use DW_OP_plus_uconst when possible. Use int_loc_descriptor.
2658 (loc_descriptor_from_tree): New.
2659 (rtl_for_decl_location): Break out from ...
2660 (add_location_or_const_value_attribute): ... here.
2661 (add_bound_info): Use loc_descriptor_from_tree.
2662
2663 2000-10-31 Neil Booth <neilb@earthling.net>
2664
2665 * cpp.texi: Update for new command line assertion syntax.
2666 * cpplib.c (cpp_define): Simplify a bit.
2667 (cpp_assert, cpp_unassert): Use handle_assertion.
2668 (handle_assertion): New function; accept new command line
2669 syntax with '='.
2670 * testsuite/gcc.dg/cpp/assert3.c: New tests.
2671
2672 2000-10-31 Neil Booth <neilb@earthling.net>
2673
2674 * cppmacro.c (STDC_0_IN_SYSTEM_HEADERS): Define to 0 if
2675 undefined. Remove #ifdef check.
2676 * config/i386/sol2.h, config/rs6000/sol2.h, config/sparc/sol2.h:
2677 Define STDC_0_IN_SYSTEM_HEADERS to 1.
2678
2679 2000-10-31 Jan Hubicka <jh@suse.cz>
2680 Jakub Jelinek <jakub@redhat.com>
2681
2682 * config/i386/i386.h: Clarify CCNOmode description in comment.
2683 (EXTRA_CC_MODES): Remove CCRCmode.
2684 * config/i386/i386.c (ix86_comparison_operator): Remove CCRCmode.
2685 (put_condition_code, ix86_match_ccmode): Likewise.
2686 (ix86_cc_mode): Likewise. Fix comment.
2687 (ix86_expand_strlensi_unroll_1): *rc patterns are gone.
2688 * config/i386/i386.md: Add unspec 12 description.
2689 (adddi3 split): Use unspec 12 instead of CCRCmode.
2690 (addsi3_carry_rc): Remove.
2691 (addsi3_cc, addqi3_cc): New patterns.
2692 (addsi_3): Swap operands, match CCZmode.
2693 (addsi_4): Rewritten.
2694 (addsi_5): Renamed from addsi_6.
2695 (addsi_6): Removed.
2696 (addhi_3): Swap operands, match CCZmode.
2697 (addhi_4): Rewritten.
2698 (addhi_5): Renamed from addhi_6.
2699 (addhi_6): Removed.
2700 (addqi_3): Swap operands, match CCZmode.
2701 (addqi_4): Rewritten.
2702 (addqi_5): Renamed from addqi_6. Use =q constraint for clobber.
2703 (subsi3_carry_rc): Removed.
2704 (iorqi_3): Use =q constraint for clobber.
2705 (xorqi_cc_2): Likewise.
2706 (negdi2_1 split): Don't use CCRCmode, use ltu instead of gtu.
2707 (x86_movsicc_0_m1_rc): Removed.
2708 (cmp?i peepholes): Remove neg. Use CCGCmode instead of CCRCmode.
2709
2710 2000-10-31 Joseph S. Myers <jsm28@cam.ac.uk>
2711
2712 * c-typeck.c (build_unary_op): If pedantic, pedwarn for increment
2713 and decrement of complex types.
2714
2715 2000-10-31 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2716
2717 * builtins.c (expand_builtin_fputs): When deleting NOP calls to
2718 builtin fputs, ensure we still evaluate the stream in case it
2719 has side-effects.
2720
2721 2000-10-31 Jakub Jelinek <jakub@redhat.com>
2722
2723 * expr.c (do_store_flag): Pass operand_mode instead of GET_MODE (op0)
2724 to expand_shift.
2725
2726 Tue Oct 31 15:33:27 2000 J"orn Rennecke <amylaar@redhat.com>
2727
2728 * sh-protos.h (reg_no_subreg_operand, emit_fpscr_use): Don't declare.
2729 (fp_extended_operand, emit_fpscr_use): Likewise.
2730 * sh.c (reg_no_subreg_operand, fp_extended_operand): Delete functions.
2731 (fpul_operand): New function.
2732 * sh.h (PREDICATE_CODES): Remove reg_no_subreg_operand and
2733 fp_extended_operand. Add fpul_operand.
2734 * sh.md (mulsf3, mulsf3_i4): Use fp_arith_reg_operand for "f" operands.
2735 (mulsf3_ie, macsf3, cmpgtsf_t, cmpeqsf_t, ieee_ccmpeqsf_t): Likewise.
2736 (cmpgtsf_t_i4, cmpeqsf_t_i4, ieee_ccmpeqsf_t_4, negsf2): Likewise.
2737 (negsf2_i, sqrtsf2, sqrtsf2_i, abssf2, abssf2_i, adddf3): Likewise.
2738 (adddf3_i, subdf3, subdf3_i, muldf3, muldf3_i, divdf3): Likewise.
2739 (divdf3_i): Likewise.
2740 (floatsisf2): Likewise. Use fpul_operand for 'y' operand.
2741 (floatsisf2_i4, floatsisf2_ie, fix_truncsfsi2): Likewise.
2742 (fix_truncsfsi2_i4, fixsfsi, floatsidf2, floatsidf2_i): Likewise.
2743 (fix_truncdfsi2, fix_truncdfsi2_i, extendsfdf2): Likewise.
2744 (extendsfdf2_i4, truncdfsf2, truncdfsf2_i4): Likewise.
2745
2746 2000-10-31 Bernd Schmidt <bernds@redhat.co.uk>
2747
2748 * config/i386/i386.c (ix86_init_builtins): Correct return type
2749 building v4hi_ftype_v4hi_int_int tree node.
2750 (ix86_expand_builtin): Use correct operand numbers 0 and 1.
2751 Copy operand 0 into a Pmode register, don't generate a MEM rtx.
2752
2753 * config/i386/i386.md (sse_movntdi): Use mmx register constraint
2754 for operand 1.
2755 (mmx__uavgv8qi3): Correct insn mnemonic.
2756 (mmx_psadbw): Correct insn mnemonic. Use V8QI mode for operands 1 and 2.
2757 (mmx_punpckhwd): Correct insn mnemonic.
2758 (mmx_punpckhdq): Likewise.
2759 (mmx_punpcklwd): Likewise.
2760 (mmx_punpckldq): Likewise.
2761 (prefetch): Use immediare_operand and 'n' constraint for operand 1.
2762 Renumber case labels to match the _mm_prefetch constants defined in
2763 xmmintrin.h.
2764
2765 * recog.c (split_all_insns): Don't try to call cleanup_subreg_operands
2766 if the splitter didn't emit new insns.
2767 Make sure we call cleanup_subreg_operands even when splitting the last
2768 insn in a basic block.
2769
2770 * invoke.texi (Debugging Options): Describe -do.
2771 * toplev.c (enum_dump_file_index): New entry DFI_postreload.
2772 (dump_file): Likewise.
2773 (rest_of_compilation): Split .greg dump into .greg and .postreload.
2774
2775 2000-10-30 Neil Booth <neilb@earthling.net>
2776
2777 * cppfiles.c (stack_include_file): Check for stacked contexts
2778 here.
2779 * cpphash.h (_cpp_do__Pragma): New prototype.
2780 * cppinit.c (cpp_reader_init): Add _Pragma keyword to hash table.
2781
2782 * cpplex.c (skip_escaped_newlines): Only process trigraphs and
2783 escaped newlines if !(buffer->from_stage3).
2784 (_cpp_lex_token): Warn about missing newlines iff
2785 !buffer->from_stage3.
2786
2787 * cpplib.c (get__Pragma_string, destringize,
2788 _cpp_do__Pragma): New functions.
2789 (run_directive): Set output_line for _Pragma to avoid line
2790 markers in output. Set from_stage3 and prevent macro expansion
2791 for _Pragma and command-line options. Check buffer exhaustion.
2792 (cpp_push_buffer): Don't check for stacked macro contexts, as
2793 this is perfectly legitimate for _Pragma. Move the check to
2794 stack_include_file instead. Set from_stage3 iff buffer is
2795 preprocessed input.
2796
2797 * cpplib.h (struct cpp_buffer): Make warned_cplusplus_comments
2798 unsigned. New boolean from_stage3.
2799 (struct spec_nodes): Add n__Pragma.
2800
2801 * cppmacro.c (enter_macro_context): Flip sense of return value.
2802 (_cpp_get_token): Handle _Pragma operator.
2803
2804 2000-10-30 Phil Edwards <pme@sources.redhat.com>
2805
2806 * gcc.texi: The C++ standard isn't "draft" anymore.
2807
2808 2000-10-30 Mark Mitchell <mark@codesourcery.com>
2809
2810 * cppmacro.c (builtin_macro): Use NT_VOID, not T_VOID.
2811
2812 2000-10-29 Neil Booth <neilb@earthling.net>
2813
2814 * cpplib.c (skip_rest_of_line): Use _cpp_get_token.
2815
2816 2000-10-29 Joseph S. Myers <jsm28@cam.ac.uk>
2817
2818 * toplev.c, flags.h, fold-const.c, real.c, rtl.c,
2819 fixinc/inclhack.def: Change comments mentioning C9X to refer to
2820 C99 instead.
2821
2822 * invoke.texi: Document that -V will only work for very similar
2823 versions of driver and compiler.
2824
2825 2000-10-29 Neil Booth <neilb@earthling.net>
2826
2827 * cppmacro.c (_cpp_create_definition): Optimize the case of
2828 a macro defined to itself.
2829
2830 2000-10-29 Neil Booth <neilb@earthling.net>
2831
2832 * cpplex.c (save_comment): Don't store new lines in C++ comments.
2833
2834 2000-10-29 Michael Hayes <mhayes@redhat.com>
2835
2836 * integrate.c (copy_insn_list): Copy the unchanging flag for calls.
2837
2838 2000-10-28 Geoffrey Keating <geoffk@cygnus.com>
2839
2840 * cpphash.c (cpp_forall_identifiers): Add context variable
2841 for callback routine.
2842 * cppmain.c (dump_macro): Update to match cpp_forall_identifiers
2843 change.
2844 (main): Call cpp_forall_identifiers with null context.
2845 * cpplib.h (cpp_forall_identifiers): Update prototype.
2846
2847 * cppmain.c: Make `parse_in' and `print' static.
2848
2849 2000-10-28 Alan Modra <alan@linuxcare.com.au>
2850
2851 * c-decl.c (finish_function): Clear c_function_name_declared_p.
2852
2853 2000-10-28 Richard Henderson <rth@redhat.com>
2854
2855 * regrename.c (scan_rtx_address): Frob action, not class,
2856 when trying to disable optimization.
2857
2858 2000-10-28 Mark Mitchell <mark@codesourcery.com>
2859
2860 * c-semantics.c (make_rtl_for_local_static): Don't clobber
2861 DECL_ASSEMBLER_NAME.
2862
2863 2000-10-28 Joseph S. Myers <jsm28@cam.ac.uk>
2864
2865 * configure.in: Determine and substitute gcc_version_full.
2866 * configure: Regenerate.
2867 * gccbug.in: Use it to give full version. Don't allow
2868 confidential PRs.
2869
2870 2000-10-28 Richard Henderson <rth@redhat.com>
2871
2872 * recog.c (split_all_insns): Run cleanup_subreg_operands
2873 after reload.
2874
2875 * regrename.c (regrename_optimize): Verify that all registers of
2876 a multiple register mode are available.
2877 (scan_rtx_address): Accept the mode of the address; all callers
2878 changed.
2879
2880 * cpplib.c (run_directive): Fix prototype.
2881
2882 2000-10-28 Bernd Schmidt <bernds@redhat.co.uk>
2883
2884 * reload.c (find_reloads): Distinguish "wins" so that we know whether
2885 a given operand won because of a matching constraint or not; then use
2886 that information to compute goal_alternative_matched properly.
2887 * reload1.c (choose_reload_regs): Never set reload_override_in for an
2888 optional reload.
2889
2890 * config/ia64/ia64.h (RTX_COSTS): A few more entries, and a more
2891 accurate value for MULT.
2892 * config/ia64/ia64.c (ia64_print_operand): Require probability to be
2893 2% or > 98% before using static branch prediction bits.
2894
2895 2000-10-28 Neil Booth <neilb@earthling.net>
2896
2897 New macro expander.
2898
2899 * cpplib.c (struct answer): New.
2900 (struct if_stack): Use cpp_lexer_pos rather than line and col.
2901 Rename cmacro mi_cmacro.
2902 (struct directive, KANDR, STDC89, EXTENSION, COND, IF_COND, INCL,
2903 IN_I): New directive and flags.
2904 (skip_rest_of_line, check_eol, run_directive, glue_header_name,
2905 parse_answer, parse_assertion, find_answer): New functions.
2906 (parse_ifdef, detect_if_not_defined, validate_else): Remove.
2907 (lex_macro_node): New function to replace parse_ifdef and
2908 get_define_node.
2909
2910 (_cpp_handle_directive): New function, combines _cpp_check_directive
2911 and _cpp_check_linemarker.
2912
2913 (do_define, do_undef, parse_include, do_include, do_import,
2914 do_include_next, read_line_number, do_line, do_ident, do_pragma,
2915 do_pragma_once, do_pragma_poison, do_pragma_dependency):
2916 Update for new token getting interface.
2917
2918 (do_ifdef, do_ifndef, do_if, do_else, do_endif, push_conditional)
2919 : Update for new multiple-include optimisation technique.
2920 (do_elif): Don't forget to invalidate controlling macros.
2921
2922 (unwind_if_stack, cpp_defined, cpp_push_buffer, cpp_pop_buffer): Update.
2923 (parse_assertion, parse_answer, find_answer, _cpp_test_assertion):
2924 Functions to handle assertions with the new token interface.
2925 (do_assert, do_unassert): Use them.
2926
2927 (cpp_define, _cpp_define_builtin, cpp_undef, cpp_assert, cpp_unassert):
2928 Use run_directive.
2929
2930 (_cpp_init_stacks): Register directive names. Don't register special
2931 nodes.
2932
2933 * cpperror.c (print_containing_files, _cpp_begin_message): Update to
2934 new position recording regime.
2935 (cpp_ice, cpp_fatal, cpp_error, cpp_error_with_line, cpp_warning,
2936 cpp_warning_with_line, cpp_pedwarn, cpp_pedwarn_with_line,
2937 cpp_pedwarn_with_file_and_line): Update for _cpp_begin_message changes.
2938 (cpp_type2name): Move to cpplex.c.
2939
2940 * cppexp.c (parse_charconst): spec_nodes is no longer a pointer.
2941 (parse_defined): Update to handle new multiple include optimisation
2942 method. Remove poisoned identifier warning.
2943 (parse_assertion, TYPE_NAME): Delete.
2944 (lex): Update for multiple include optimisation, removal of
2945 CPP_DEFINED, to use _cpp_test_assertion for assertions and
2946 cpp_token_as_text.
2947 (_cpp_parse_expr): Update for MI optimisation, and to use op_as_text.
2948 (op_as_text): New function, to wrap cpp_token_as_text.
2949
2950 * cppfiles.c (stack_include_file, _cpp_pop_file_buffer):
2951 Update for MI optimisation.
2952 (_cpp_execute_include): Take a token rather than 3 arguments. Fix
2953 segfault on diagnostic.
2954 (_cpp_compare_file_date): Take a token rather than 3 args.
2955 (cpp_read_file): Work correctly for zero-length files.
2956
2957 * cpphash.c (_cpp_init_macros, _cpp_cleanup_macros): Rename
2958 _cpp_init_hashtable and _cpp_cleanup_hashtable.
2959 (cpp_lookup): Place identifiers at front of identifier pool
2960 for _cpp_lookup_with_hash.
2961 (_cpp_lookup_with_hash): Require identifiers to be at the front of
2962 the identifier pool. Commit the memory if not already in the
2963 hash table.
2964
2965 * cppinit.c (cpp_reader_init): Move cpp_init_completed test to top.
2966 Initialise various members of cpp_reader, memory pools, and the
2967 special nodes.
2968 (cpp_printer_init): Delete.
2969 (cpp_cleanup): Update.
2970 (struct builtin, builtin_array, initialize_builtins): Update for new
2971 hashnode definition and builtin handling.
2972 (cpp_start_read, cpp_finish): Don't take or initialise a
2973 printer. Update.
2974
2975 * cpplib.h (cpp_printer, cpp_toklist, CPP_DEFINED, BOL,
2976 PASTED, VAR_ARGS, BEG_OF_FILE, IN_DIRECTIVE, KNOWN_DIRECTIVE,
2977 T_VOID, T_SPECLINE, T_DATE, T_FILE, T_BASE_FILE, T_INCLUDE_LEVEL,
2978 T_TIME, T_STDC, T_OPERATOR, T_POISON, T_MACRO, T_ASSERTION): Delete.
2979 (struct cpp_pool, struct cpp_macro, struct cpp_lexer_pos,
2980 struct cpp_lookahead, CPP_DHASH, enum mi_state, enum mi_ind,
2981 NO_EXPAND, VARARGS_FIRST, struct cpp_token_with_pos,
2982 struct toklist, struct cpp_context, struct specnodes,
2983 TOKEN_LOOKAHEAD, TOKEN_BUFFSIZE, NODE_OPERATOR, NODE_POISONED,
2984 NODE_BUILTIN, NODE_DIAGNOSTIC, NT_VOID, NT_MACRO, NT_ASSERTION,
2985 enum builtin_type, cpp_can_paste): New.
2986 (struct cpp_token): Delete line and col members.
2987 (struct cpp_buffer): New member output_lineno.
2988 (struct lexer_state): Delete indented, in_lex_line, seen_dot.
2989 Add va_args_ok, poisoned_ok, prevent_expansion, parsing_args.
2990 (struct cpp_reader): New members lexer_pos, macro_pos, directive_pos,
2991 ident_pool, temp_string_pool, macro_pool, argument_pool, string_pool,
2992 base_context, context, directive, mi_state, mi_if_not_defined,
2993 mi_lexed, mi_cmacro, mi_ind_cmacro, la_read, la_write, la_unused,
2994 mlstring_pos, macro_buffer, macro_buffer_len.
2995 Delete members mls_line, mls_column, token_list, potential_control_macro,
2996 temp_tokens, temp_cap, temp_alloced, temp_used, first_directive_token,
2997 context_cap, cur_context, no_expand_level, paste_level, contexts, args,
2998 save_parameter_spellings, need_newline, .
2999 Change type of date, time and spec_nodes members.
3000 Change prototypes for include and ident callbacks.
3001 (struct cpp_hashnode): Change type of name. Remove union members
3002 expansion and code. Add members macro, operator and builtin.
3003
3004 (cpp_token_len, cpp_token_as_text, cpp_spell_token, cpp_start_read,
3005 cpp_finish, cpp_avoid_paste, cpp_get_token, cpp_get_line,
3006 cpp_get_output_line, cpp_macro_definition, cpp_start_lookahead,
3007 cpp_stop_lookahead): New prototypes.
3008 (cpp_printer_init, cpp_dump_definition): Delete prototypes.
3009
3010 (U_CHAR, U, ustrcmp, ustrncmp, ustrlen, uxstrdup, ustrchr, ufputs):
3011 Move from cpphash.h.
3012
3013 * cpphash.h (U_CHAR, U, ustrcmp, ustrncmp, ustrlen, uxstrdup, ustrchr,
3014 ufputs): Move to cpplib.h.
3015 (enum spell_type, struct token_spelling, _cpp_token_spellings, TOKEN_SPELL,
3016 TOKEN_NAME, struct answer, FREE_ANSWER, KANDR, STDC89, EXTENSION,
3017 COND, EXPAND, INCL, COMMENTS, IN_I, struct directive, directive_handler,
3018 struct spec_nodes, _cpp_digraph_spellings, _cpp_free_temp_tokens,
3019 _cpp_init_input_buffer, _cpp_grow_token_buffer, _cpp_init_toklist,
3020 _cpp_clear_toklist, _cpp_expand_token_space, _cpp_expand_name_space,
3021 _cpp_equiv_tokens, _cpp_equiv_toklists, _cpp_process_directive,
3022 _cpp_run_directive, _cpp_get_line, _cpp_get_raw_token, _cpp_glue_header_name,
3023 _cpp_can_paste, _cpp_check_directive, _cpp_check_linemarker,
3024 _cpp_parse_assertion, _cpp_find_answer): Delete.
3025 (VALID_SIGN, ALIGN, POOL_FRONT, POOL_LIMIT, POOL_BASE, POOL_SIZE,
3026 POOL_USED, POOL_COMMIT, struct cpp_chunk, _cpp_lex_token, _cpp_init_pool,
3027 _cpp_free_pool, _cpp_pool_reserve, _cpp_pool_alloc, _cpp_next_chunk,
3028 _cpp_lock_pool, _cpp_unlock_pool, _cpp_test_assertion,
3029 _cpp_handle_directive, DSC): New.
3030 (struct include_file): New member defined.
3031
3032 (DO_NOT_REREAD, _cpp_begin_message, _cpp_execute_include,
3033 _cpp_compare_file_date): Update.
3034 (_cpp_pop_context, _cpp_get_token, _cpp_free_lookaheads, _cpp_push_token): New.
3035 (_cpp_init_macros, _cpp_cleanup_macros): Rename to _cpp_init_hashtable,
3036 _cpp_cleanup_hashtable.
3037
3038 * Makefile.in: Remove cppoutput.c.
3039
3040 * cppoutput.c: Delete
3041
3042 * fixheader.c (read_scan_file): Update for new cpp_get_token
3043 prototype.
3044 (recognized_function): New argument LINE.
3045
3046 * scan-decls.c (skip_to_closing_brace, scan_decls): Update for
3047 new cpp_get_token prototype.
3048
3049 * scan.h (recognized_function): Update prototype.
3050
3051 * po/POTFILES.in: Remove cppoutput.c.
3052
3053 2000-10-27 Mark Mitchell <mark@codesourcery.com>
3054
3055 * c-typeck.c (check_init_type_bitfields): Remove.
3056 (constructor_incremental): Likewise.
3057 (struct constructor_stack): Remove incremental bit.
3058 (struct initializer_stack): Likewise.
3059 (start_init): Don't play with constructor_incremental.
3060 (finish_init): Likewise.
3061 (really_start_incremental_init): Likewise.
3062 (push_init_level): Likewise.
3063 (pop_init_level): Likewise.
3064 (output_init_level): Likewise.
3065 (output_pending_init_elements): Likewise.
3066
3067 2000-10-21 Mike Coleman <mcoleman2@kc.rr.com>
3068
3069 * c-pragma.c (handle_pragma_pack): Initialize align to -1.
3070 Improve error messages. Correct parsing of
3071 #pragma pack(pop [,id]). Do not check the user-supplied
3072 alignment if we're popping.
3073
3074 * gcc.dg/pack-test-1.c: New test case.
3075 * gcc.dg/pack-test-2.c: New test case.
3076 * gcc.dg/pack-test-1.h: New file.
3077
3078 2000-10-27 Neil Booth <neilb@earthling.net>
3079
3080 * cpp.texi: Update.
3081
3082 2000-10-27 Kelley Cook <kelley.cook@home.com>
3083
3084 * invoke.texi: Document -mintel-syntax
3085
3086 2000-10-27 Richard Henderson <rth@redhat.com>
3087
3088 * invoke.texi: Document -frename-registers. Add it to -O3.
3089 * toplev.c (rest_of_compilation): Run regrename before ifcvt2.
3090 (enum dump_file_index, dump_file): Update order.
3091 (main): Set flag_rename_registers at -O3.
3092
3093 2000-10-27 Richard Henderson <rth@redhat.com>
3094
3095 * config/alpha/alpha.h (enum reg_class): Add PV_REG.
3096 (REG_CLASS_NAMES, REG_CLASS_CONTENTS, REGNO_REG_CLASS): Update.
3097 (REG_CLASS_FROM_LETTER): Assign it to 'c'.
3098 * config/alpha/alpha.md (call_osf_1): Use it.
3099 (call_value_osf_1): Likewise.
3100
3101 * config/ia64/ia64.c: Revert 10-23 patch.
3102 (ia64_hard_regno_rename_ok): New.
3103 * config/ia64/ia64-protos.h: Declare it.
3104 * config/ia64/ia64.h (HARD_REGNO_RENAME_OK): Use it.
3105
3106 2000-10-27 Bernd Schmidt <bernds@redhat.co.uk>
3107 Richard Henderson <rth@redhat.com>
3108
3109 * regrename.c: Rewrite to handle multi-register modes and
3110 cond_exec instructions.
3111 * Makefile.in (regrename.o): Update dependancies.
3112 * recog.h (struct operand_alternative): Add is_address.
3113 * recog.c (preprocess_constraints) [case 'p']: Set it.
3114
3115 2000-10-27 Zack Weinberg <zack@wolery.stanford.edu>
3116
3117 * configure.in: If not NO_MINUS_C_MINUS_O, substitute
3118 OUTPUT_OPTION with '-o $@'. Make zlibdir, zlibinc relative to
3119 top level. Kill oldstyle_subdirs. Do not include
3120 $srcdir/$s/Makefile.in in all_lang_makefiles, but do include
3121 $outputs. Do not run configure.lang from config.status.
3122 Rearrange warning-flag logic to correspond to what the
3123 makefile wants. Put special vax stage1 options in
3124 @stage1_flags@ not @stage1_warn_cflags@. Don't do anything
3125 with extra_c_objs, extra_cxx_objs, or extra_cpp_objs.
3126 (--enable-c-cpplib): AC_SUBST(maybe_cpplib) with "libcpp.a" if
3127 switch is given, nothing otherwise.
3128 * configure.lang: Delete.
3129
3130 * Makefile.in: Expunge all traces of extra_c_objs,
3131 extra_cxx_objs, and extra_cpp_objs. Set MAYBE_CPPLIB from
3132 @maybe_cpplib@. Add $(MAYBE_CPPLIB) to C_AND_OBJC_OBJS. Set
3133 warning options via a three level scheme so that -pedantic and
3134 -Wtraditional are not used for non-C front ends: LOOSE_WARN,
3135 STRICT1_WARN, STRICT2_WARN -> $(@D)-warn, GCC_WARN_CFLAGS ->
3136 WARN_CFLAGS. Distinguish STAGE1_CFLAGS from BOOT_CFLAGS.
3137 Add -I$(@D) and -I$(srcdir)/$(@D) to INCLUDES.
3138 Set OUTPUT_OPTION, ZLIB, ZLIBINC. Do not set P,
3139 LANG_FLAGS_TO_PASS. Add OUTPUT_OPTION to all object-file
3140 generation rules. Wrap all rules that change the current
3141 directory in parentheses; pmake doesn't spawn a new shell for
3142 each command. Expunge all references to $(P). When one
3143 command depends on another and they're run all at once, use &&
3144 to separate them, not ;. Add libgcc_s$(SHLIB_EXT) to files
3145 deleted on make clean. Force OUTPUT_OPTION='-o $@' in stage2
3146 and beyond.
3147
3148 * objc/Make-lang.in: Wrap all rules that change the current
3149 directory in parentheses. Expunge all references to $(P).
3150 When one command depends on another and they're run all at
3151 once, use && to separate them, not ;. Add OUTPUT_OPTION to
3152 all object-file generation rules. Delete obsolete variables.
3153 * objc/Makefile.in: Delete.
3154
3155 2000-10-27 Jakub Jelinek <jakub@redhat.com>
3156
3157 * calls.c (expand_call): If sibcall_failure is set during pass 1,
3158 clear tail_call_insns as well.
3159
3160 2000-10-27 Nick Clifton <nickc@redhat.com>
3161
3162 * config/arm/arm-protos.h (arm_function_ok_for_sibcall): Add
3163 prototype.
3164
3165 2000-10-26 Richard Henderson <rth@redhat.com>
3166
3167 * calls.c (expand_call): Supress sibcall if we have a
3168 BLKmode return in registers.
3169
3170 2000-10-26 Bernd Schmidt <bernds@redhat.co.uk>
3171
3172 * ia64.h (PREFERRED_RELOAD_CLASS): Force floating point constants
3173 into memory.
3174
3175 2000-10-26 Nathan Sidwell <nathan@codesourcery.com>
3176
3177 * tree.c (make_node, case 't'): Set alignment to that of
3178 char_type_node.
3179 * expr.c (move_by_pieces_ninsns): Abort if some length remains.
3180
3181 2000-10-25 Mark Mitchell <mark@codesourcery.com>
3182
3183 * Makefile.in (site.exp): Define HAVE_LIBSTDCXX_V3.
3184 * configure.in (enable-libstdcxx-v3): Arrange to have
3185 HAVE_LIBSTDCXX_V3 substituted into the output files.
3186
3187 2000-10-25 Richard Henderson <rth@redhat.com>
3188
3189 * recog.c (constrain_operands): Initialize which_alternative
3190 before no alternatives early exit.
3191
3192 * cse.c (find_comparison_args): Check that we can reverse a
3193 comparison if needed before accepting the substitution.
3194
3195 * reload.c (find_reloads_address_part): Kill rtx obstack hackery.
3196
3197 * simplify-rtx.c (simplify_relational_operation): Sign extend
3198 low words before sign extending to high words.
3199
3200 2000-10-25 Nick Clifton <nickc@redhat.com>
3201
3202 * config/mcore/mcore.c: Include config.h before system.h.
3203
3204 2000-10-25 Ray Essick <essick@ddna.labs.mot.com>
3205
3206 * config/mcore/mcore.md (return): Force function epilogue to
3207 always be generated to work around epilogue suppression bug in
3208 M*Core backend.
3209
3210 2000-10-25 Joseph S. Myers <jsm28@cam.ac.uk>
3211
3212 * c-decl.c (grokdeclarator): Move warning for qualified void
3213 return types with -pedantic to when the function type is
3214 constructed. At -W, warn in general for qualified function return
3215 types, except for volatile void.
3216 * invoke.texi: Document this new warning at -W.
3217
3218 2000-10-25 Neil Booth <neilb@earthling.net>
3219
3220 * cpp.texi: Update with implementation-defined behavior and
3221 internal limits.
3222
3223 2000-10-25 Jakub Jelinek <jakub@redhat.com>
3224
3225 * stor-layout.c (layout_type): If TYPE_ALIAS_SET was already set on the
3226 incomplete type force it into alias set 0.
3227
3228 Wed Oct 25 01:02:44 EDT 2000 John Wehle (john@feith.com)
3229
3230 * alias.c: Include basic-block.h.
3231 (loop_p): New function.
3232 (mark_constant_function): Use it.
3233 * Makefile.in (alias.o): Update dependencies.
3234
3235 2000-10-24 Aldy Hernandez <aldyh@redhat.com>
3236
3237 * config/mn10300/mn10300.c (secondary_reload_class): Treat pseudos
3238 like memory.
3239
3240 2000-10-24 Jim Wilson <wilson@cygnus.com>
3241
3242 * expmed.c (store_bit_field): Move integer pun code down after
3243 code that calls emit_move_insn for entire register move.
3244 * stor-layout.c (compute_record_mode): Revert Mar 25, Aug 18, and
3245 Oct 20 changes. Only store mode in TYPE_MODE if RECORD_TYPE.
3246
3247 2000-10-24 Richard Henderson <rth@cygnus.com>
3248
3249 * rtlanal.c (rtx_unstable_p, rtx_varies_p): Don't consider pic
3250 register stable if PIC_OFFSET_TABLE_REG_CALL_CLOBBERED.
3251
3252 2000-10-24 Aldy Hernandez <aldyh@redhat.com>
3253
3254 * gcse.c (cprop_insn): do not propagate constants into jump_insn
3255 for machines with CC0 more than once.
3256
3257 2000-10-24 Richard Henderson <rth@cygnus.com>, Aldy <aldyh@cygnus.com>
3258
3259 * config/mn10300/mn10300.h (PREFERRED_RELOAD_CLASS): Treat
3260 pseudos just like memory.
3261
3262 2000-10-24 Alexandre Oliva <aoliva@redhat.com>
3263
3264 * combine.c (distribute_notes): Discard REG_LIBCALL and REG_RETVAL
3265 when deleting libcall sequence collapsed to a single instruction.
3266
3267 2000-10-24 Andrew Haley <aph@cygnus.co.uk>
3268
3269 * expr.c (do_store_flag): Don't crash if either side of a
3270 comparison is error_mark_node.
3271
3272 2000-10-24 Jakub Jelinek <jakub@redhat.com>
3273
3274 * sibcall.c (purge_mem_unchanging_flag): New function.
3275 (optimize_sibling_and_tail_recursive_calls): Call it.
3276
3277 2000-10-24 Philipp Thomas <pthomas@suse.de>
3278
3279 * Makefile.in (check-po): New target for doing checks in the po
3280 subdir if all languages configured.
3281 (CHECK_TARGETS): Add @CHECK_PO@, replaced with check-po via
3282 configure if NLS is enabled.
3283 * configure.in: If NLS is enabled, substitute CHECK_PO by check-po,
3284 otherwise leave empty.
3285 * configure: Regenerate.
3286
3287 2000-10-23 Diego Novillo <dnovillo@cygnus.com>
3288
3289 * i386.c (print_operand): Handle new 'A' formatting code.
3290 387 opcodes need suffixes even with -mintel-syntax.
3291 Check for explicit size override (codes 'b', 'w' and 'k').
3292 (print_operand_address): Check if register prefix is needed when
3293 emitting `ds' segment override.
3294 * i386.h: Add comment about new 'A' formatting code.
3295 * i386.md (jump and call patterns): Emit absolute references using %A.
3296
3297 2000-10-23 Richard Henderson <rth@cygnus.com>
3298
3299 * config/ia64/ia64.c (ia64_expand_prologue): Mark extra
3300 output registers as fixed.
3301 (ia64_function_epilogue): Undo output fixation.
3302
3303 2000-10-23 Richard Henderson <rth@cygnus.com>
3304
3305 * config/alpha/alpha.md: Add names for all unnamed insns; use
3306 define_insn_and_split in some obvious places.
3307 (lda): Remove.
3308 (zero_extendqihi2): Use an expander w/ nonimmediate_operand for BWX.
3309 (zero_extendqisi2, zero_extendqidi2): Likewise.
3310 (zero_extendhisi2, zero_extendhidi2): Likewise.
3311 (abs splitters): Fix match_scratch operand number.
3312 (bcc_reverse): Swap pc & label instead of non-canonical compare.
3313
3314 2000-10-23 Jim Wilson <wilson@cygnus.com>
3315
3316 * ia64.c (ia64_print_operand, case 'r'): Correct comment. Handle
3317 CONST_INT.
3318 * ia64.md (cmpsi_adjusted): Use %r3.
3319 (cmpdi_adjusted): Likewise.
3320
3321 2000-10-23 Diego Novillo <dnovillo@cygnus.com>
3322
3323 * config/i386/att.h (ASM_FILE_START): Define.
3324
3325 2000-10-23 Diego Novillo <dnovillo@cygnus.com>
3326
3327 * config/i386/linux.h (ASM_FILE_START): Define.
3328
3329 Wed Oct 18 11:16:40 2000 Donald Lindsay <dlindsay@cygnus.com>
3330
3331 * gcc/configure.in: m68k-coff tm_file should not have libgloss.h,
3332 since this (only) drags in a crt0.o reference that the .ld files
3333 also introduce.
3334
3335 2000-10-23 Geoff Keating <geoffk@cygnus.com>
3336
3337 * reload1.c (reload_reg_reaches_end_p): A RELOAD_OTHER can
3338 overwrite the value in a RELOAD_FOR_INPUT and other kinds of
3339 reloads just like an RELOAD_FOR_OUTPUT would.
3340
3341 * local-alloc.c (update_equiv_regs): Add an abort(). When
3342 deleting or moving insns, update reg_equiv[regno].init_insns.
3343
3344 2000-10-23 Mark Mitchell <mark@codesourcery.com>
3345
3346 * c-tree.texi: Improve documentation for IF_STMTs and related
3347 conditional statements.
3348
3349 2000-10-22 Mark Mitchell <mark@codesourcery.com>
3350
3351 * expr.c (do_preexpand_calls): Remove.
3352 (same_from_p): Don't use CALL_EXPR_RTL.
3353 (expand_expr): Don't call preexpand_calls, or use CALL_EXPR_RTL.
3354 (preexpand_calls): Remove.
3355 * tree.c (first_rtl_op): Remove CALL_EXPR case.
3356 (unsave_expr_1): Likewise.
3357 * tree.def (CALL_EXPR): Give it only two slots.
3358 * tree.h (CALL_EXPR_RTL): Remove.
3359
3360 2000-10-21 Chandrakala Chavva <cchavva@redhat.com>
3361
3362 * libgcc-std.ver (__addvsi3, __addvdi3, __subvsi3, __subvdi3,
3363 __mulvsi3, __negvsi2, __negvdi2, __absvsi2, __absvdi2, __mulvdi3):
3364 New functions.
3365
3366 2000-10-22 Alexandre Oliva <aoliva@redhat.com>
3367
3368 * calls.c (combine_pending_stack_adjustment_and_call): Don't
3369 adjust stack when unadjusted_alignment ends up as zero.
3370
3371 2000-10-22 Joseph S. Myers <jsm28@cam.ac.uk>
3372
3373 * fixinc/genfixes: Remove EGCS reference.
3374 * install.texi: Remove EGCS reference.
3375 * INSTALL: Regenerate.
3376
3377 2000-10-22 Mark Mitchell <mark@codesourcery.com>
3378
3379 * tree.h (TYPE_IS_SIZETYPE): Add more documentation.
3380
3381 2000-10-21 Joseph S. Myers <jsm28@cam.ac.uk>
3382
3383 * diagnostic.c: Remove EGCS reference in comment.
3384
3385 Sat Oct 21 08:24:25 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
3386
3387 * loop.c (strength_reduce): Fix error in last change.
3388
3389 2000-10-20 David Edelsohn <edelsohn@gnu.org>
3390
3391 * Makefile.in (SHLIB_NM_FLAGS): New.
3392 (libgcc.mk): Pass it.
3393 * mklibgcc.in (libgcc.map): Use it.
3394
3395 * rs6000/t-aix43 (SHLIB_EXT, SHLIB_LINK, SHLIB_LIBS,
3396 SHLIB_MKMAP, SHLIB_MAPFILES, SHLIB_NM_FLAGS): New.
3397
3398 2000-10-20 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3399
3400 * mips.h (REG_CLASS_FROM_LETTER): Cast array arg to unsigned char.
3401
3402 * sparc.c (load_pic_register): Delete unused varaible.
3403
3404 * libgcc2.c (__addvsi3): Delete unused variable.
3405
3406 * libgcc2.h (__absvsi2, __absvdi2, __addvsi3, __addvdi3,
3407 __subvsi3, __subvdi3, __mulvsi3, __mulvdi3, __negvsi2,
3408 __negvdi2): Prototype.
3409
3410 * ssa.c (apply_delayed_renames): Avoid undefined operation.
3411
3412 * toplev.c (display_target_options): Make static to match
3413 prototype. Delete empty declaration.
3414
3415 2000-10-20 Tom Tromey <tromey@cygnus.com>
3416
3417 * cppspec.c (DEFAULT_WORD_SWITCH_TAKES_ARG): Added -MF and -MT.
3418 * gcc.c (DEFAULT_WORD_SWITCH_TAKES_ARG): Added -MF and -MT.
3419
3420 Fri Oct 20 17:05:49 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
3421
3422 * expr.c (expand_expr, case SAVE_EXPR): Set RTX_UNCHANGING_P on
3423 returned MEM.
3424 (expand_expr_unaligned, case ARRAY_REF): Check that index is
3425 a constant before comparing it; use tree_low_cst.
3426 * tree.c (save_expr): Set TREE_READONLY.
3427 (substitute_expr): Return inside of NON_LVALUE_EXPR.
3428 (build, build1): Set TREE_READONLY if all operands are.
3429 (build_index_type): If upper bound is a negative number, lower
3430 bound is zero and sizetype is unsigned, use upper bound of one and
3431 lower of zero.
3432
3433 2000-10-20 David Edelsohn <edelsohn@gnu.org>
3434
3435 * gcc.c (process_command, main): Use "because" instead of
3436 "since" in error messages.
3437
3438 Fri Oct 20 13:33:16 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
3439
3440 * stor-layout.c (compute_record_mode): Use tree_low_cst.
3441 Don't use mode of field for record unless sizes are the same.
3442 (layout_type, case ARRAY_TYPE): Remove special bounds handling
3443 previously added for Ada; also change to using host_integerp
3444 and tree_low_cst.
3445
3446 * loop.c (strength_reduce): Show when new register made for
3447 giv is known to be a pointer and its aligment if so and known.
3448 (loop_dump_aux): Show VERBOSE parameter unused.
3449
3450 * gcse.c (set_hash_table_size): Now unsigned.
3451 * sdbout.c (template_name_p): Add "const" to avoid warnings.
3452 (sdbout_record_type_name, plain_type_1, sdbout_symbol): Likewise.
3453 (sdbout_one_type, sdbout_parms, sdbout_reg_parms): Likewise.
3454 (sdbout_end_epilogue): Remove variable NAME.
3455 * system.h (getopt): Add default definition.
3456 * config/alpha/alpha.c (print_operand): Don't continue processing
3457 after issuing error.
3458 (summarize_insn): Avoid use of UL in constant.
3459
3460 * function.c (locate_and_pad_parm): Use host_integerp and tree_low_cst.
3461
3462 * fold-const.c (force_fit_type): Unsigned values can overflow
3463 if they are sizetype.
3464 (int_const_binop): Don't use cache if overflows.
3465
3466 2000-10-20 Richard Henderson <rth@cygnus.com>
3467
3468 * function.c (locate_and_pad_parm): Zero alignment_pad.
3469
3470 * regrename.c (rr_replace_reg): Rewrite to use recog_data to
3471 perform substitutions, and apply_change_group to see if it worked.
3472
3473 Fri Oct 20 13:33:16 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
3474
3475 * dwarf2out.c (add_bound_info): Also ignore COND_EXPR.
3476
3477 * combine.c (struct undo): Change int to unsigned int.
3478 (do_SUBST_INT): Args are unsigned int.
3479 (make_extraction, force_to_mode): Use proper type when forming mask.
3480 (make_field_assignment): Likewise.
3481
3482 2000-10-20 Joseph S. Myers <jsm28@cam.ac.uk>
3483
3484 * c-common.c (check_format_info_recurse): Extract string constant
3485 initializers from non-volatile constant arrays and check them as
3486 formats.
3487 * c-typeck.c (decl_constant_value): Don't check pedantic or check
3488 for DECL_MODE (decl) != BLKmode.
3489 (decl_constant_value_for_broken_optimization): New function which
3490 includes these checks.
3491 (default_conversion, convert_for_assignment, digest_init): Use
3492 decl_constant_value_for_broken_optimization instead of
3493 decl_constant_value.
3494
3495 2000-10-20 Mark Mitchell <mark@codesourcery.com>
3496
3497 * tree.h (DECL_ALIGN_UNIT): New macro.
3498
3499 2000-10-14 Marek Michalkiewicz <marekm@linux.org.pl>
3500
3501 * config/avr/avr-protos.h (avr_output_bld): New.
3502 (out_shift_with_cnt): Add t_len argument.
3503 * config/avr/avr.c (avr_num_arg_regs): Remove -mpack-args.
3504 (output_movqi, output_movhi, output_movsisf): Optimize loading
3505 any constant with exactly one bit set to NO_LD_REGS.
3506 (out_shift_with_cnt): Optimize output code for size or speed,
3507 depending on optimize_size. Handle small shift counts as well
3508 (if not hand-optimized in ?sh??i3_out). Shifts can be done
3509 with or without a scratch register, with help of __tmp_reg__
3510 or __zero_reg__ if necessary. Add T_LEN argument to pass the
3511 length of TEMPLATE in words, return total insn length in *LEN.
3512 (ashlqi3_out, ashrqi3_out, lshrqi3_out): Change all calls to
3513 out_shift_with_cnt to work with the above change.
3514 (ashlhi3_out, ashlsi3_out, ashrhi3_out, ashrsi3_out, lshrhi3_out,
3515 lshrsi3_out): Likewise. Optimize more known shift count cases.
3516 Remove cases already well optimized in out_shift_with_cnt.
3517 (avr_output_bld): New function.
3518 * config/avr/avr.h (MASK_PACK_ARGS, TARGET_PACK_ARGS): Remove.
3519 (TARGET_SWITCHES): Remove -mpack-args backward compatibility.
3520 * config/avr/avr.md (*reload_inqi, *reload_inhi, *reload_insi):
3521 Add reload_completed to insn condition - only for peepholes.
3522 (ashlqi3, ashrqi3, lshrqi3): Correct insn length for shift counts
3523 in a register or memory.
3524 (ashlhi3, ashlsi3, ashrhi3, ashrsi3, lshrhi3, lshrsi3): Likewise.
3525 Do not require a scratch register.
3526 (*ashlhi3_const, *ashlsi3_const, *ashrhi3_const, *ashrsi3_const,
3527 *lshrhi3_const, *lshrsi3_const): New insns and matching peepholes.
3528 Optimize shifts by known count using a scratch register, but only
3529 if one is still available after register allocation.
3530
3531 2000-10-20 J. David Anglin <dave@hiauly1.hia.nrc.ca>
3532
3533 * t-vax: New file. Don't build modules from libgcc1.c.
3534
3535 Fri Oct 20 00:57:00 EDT 2000 John Wehle (john@feith.com)
3536
3537 * alias.c: (mark_constant_function): Don't check pure functions.
3538 Initialize and end alias analysis.
3539 (nonlocal_mentioned_p): Rename from nonlocal_reference_p.
3540 Don't make a special exception for recursion. Handle
3541 UNSPEC_VOLATILE. Don't assume ASM_OPERANDS is non-local
3542 unless it's volatile.
3543
3544 * local-alloc.c (equivalence): New structure.
3545 (reg_equiv): Define.
3546 (contains_replace_regs): Remove array and use
3547 field in reg_equiv.
3548 (memref_referenced_p): Likewise.
3549 (no_equiv): Likewise.
3550 (update_equiv_regs): Likewise.
3551
3552 (equiv_init_varies_p,
3553 equiv_init_movable_p): New functions.
3554 (update_equiv_regs): Use them. Use rtx_varies_p
3555 instead of function_invariant_p. Process insns
3556 from end to beginning. Allow a REG_EQUIV insn
3557 within the same loop as a use to be moved, also
3558 allow it to be moved out of a loop. Update
3559 REG_DEAD notes when substituting into an insn.
3560
3561 2000-10-19 Jim Wilson <wilson@cygnus.com>
3562
3563 * c-decl.c (start_decl): Check for error_mark_node type before using
3564 COMPLETE_TYPE_P.
3565 (finish_decl): Likewise. Don't give an error if decl type is
3566 already error_mark_node.
3567
3568 * haifa-sched.c (compute_trg_info): Add explanatory comments.
3569 New local update_blocks. Use update_blocks to remove duplicates
3570 when computing update blocks. Check for bblst_table overflow.
3571 (schedule_block): Add explanatory comment. Reduce bblst_size by
3572 factor of 2.
3573 * config/ia64/ia64.md (movdi_symbolic): Document loss of REG_LABEL
3574 notes.
3575
3576 2000-10-19 Chandrakala Chavva <cchavva@redhat.com>
3577
3578 * libgcc2.c (_mulvsi3): Change variables u and v to a and b.
3579
3580 2000-10-19 Chandrakala Chavva <cchavva@redhat.com>
3581
3582 * expmed.c: Minor corrections in comments.
3583 * invoke.texi: Added desciption for the new option -ftrapv.
3584
3585 2000-10-19 Chandrakala Chavva <cchavva@redhat.com>
3586
3587 * libgcc2.c: Added the missing #endif.
3588
3589 Thu Oct 19 14:25:11 MET DST 2000 Jan Hubicka <jh@suse.cz>
3590
3591 * i386.h (CONST_OK_FOR_LETTER): Re-add 'N'; document.
3592
3593 2000-10-18 Chandrakala Chavva <cchavva@redhat.com>
3594
3595 * expmed.c (expand_mult): Don't do synth_mult optimization for -ftrapv.
3596 Use smulv_optab for -ftrapv.
3597 (expand_mult_highpart): Use unsigned multiply.
3598 (expand_divmod): Special-case division by -1.
3599 For EXACT_DIV_EXPR, do right shift first, then the multiply.
3600 For complex divide, use abs with unsigned result.
3601 * expr.c (force_operand): Use unsigned multiply.
3602 (expand_expr): Use overflow-trapping optabs for signed types if
3603 flag_trapv.
3604 If flag_trapv, don't generate a recursive call with EXPAND_SUM
3605 if the type is signed and the original call wasn't EXPAND_SUM or
3606 EXPAND_INITIALIZER.
3607 * expr.h (addv_optab, subv_optab, smulv_optab, sdivv_optab): Declare.
3608 (negv_optab, absv_optab): Declare.
3609 * flags.h (flag_trapv): Declare.
3610 * genopinit.c (optabs): Add entries for addv_optab, subv_optab,
3611 smulv_optab, sdivv_optab, negv_optab and absv_optab.
3612 (gen_insn): Interpret '$P' as requiring an integer mode,
3613 including partial integer modes.
3614 * loop.c (emit_iv_add_mult): Use unsigned expand_mult_add.
3615 (product_cheap_p): Use unsigned expand_mult.
3616 * optabs.c (addv_optab, subv_optab, smulv_optab, sdivv_optab): Define.
3617 (negv_optab, absv_optab): Define.
3618 (expand_binop): Use overflow-trapping optabs for signed types if
3619 flag_trapv.
3620 Handle negv_optab libe neg_optab.
3621 (expand_abs): Take result_unsignedp argument instead of unsignedp one.
3622 Use overflow-trapping optabs for signed result if flag_trapv.
3623 (expand_complex_abs): Use overflow-trapping optabs for signed types if
3624 flag_trapv.
3625 Don't open-code complex absolute-value operation for flag_trapv.
3626 (init_optabs): Initialize addv_optab, subv_optab, smulv_optab,
3627 sdivv_optab, negv_optab and absv_optab.
3628 * toplev.c (flag_trapv): Define.
3629 (lang_independent_options f_options): Include flag_trapv.
3630 * tree.h (TYPE_TRAP_SIGNED): Define.
3631 * libgcc2.c (__addvsi3, __addvdi3, __subvsi3,__subvsi3, __subvdi3,
3632 __mulvsi3, __negvsi2, __negvdi2, __absvsi2, __absvdi2, __mulvdi3):
3633 New functions.
3634 * Makefile.in: add _absvsi2 _absvdi2 _addvsi3 _addvdi3 _subvsi3
3635 _subvdi3 _mulvsi3 _mulvdi3 _negvsi2 _negvdi2.
3636
3637 2000-10-18 Geoffrey Keating <geoffk@cygnus.com>
3638 David V. Henkel-Wallace <gumby@cygnus.com>
3639
3640 * config/i386/t-netware: Bring in from the Red Hat tree.
3641 * config/i386/netware.h: Likewise.
3642 * config/netware.h: Likewise.
3643 * config/rs6000/netware.h: Delete.
3644 * configure.in: Add i[34567]86-*-netware.
3645 * configure: Hand-edit to match configure.in change.
3646
3647 2000-10-18 Mark Mitchell <mark@codesourcery.com>
3648
3649 * c-common.h (flag_no_builtin): Declare.
3650 (flag_no_nonansi_builtin): Likewise.
3651 (c_common_nodes_and_builtins): Change prototype.
3652 * c-common.c (flag_no_builtin): New variable.
3653 (flag_no_nonansi_builtin): Likewise.
3654 (c_common_nodes_and_builtins): Remove parameters. Adjust
3655 accordingly.
3656 * c-decl.c (flag_no_builtin): Remove.
3657 (flag_no_nonansi_builtin): Likewise.
3658 (init_decl_processing): Adjust call to
3659 c_common_nodes_and_builtins.
3660
3661 2000-10-18 Marc Espie <espie@openbsd.org>
3662
3663 * tm.texi (LIBGCC_SPEC): Synch with reality.
3664
3665 2000-10-18 Joseph S. Myers <jsm28@cam.ac.uk>
3666
3667 * c-common.c (check_format_types): Check for writing through a
3668 NULL pointer argument.
3669
3670 2000-10-18 Hans-Peter Nilsson <hp@axis.com>
3671
3672 * tm.texi (Exception Region Output): Document
3673 DWARF_CIE_DATA_ALIGNMENT.
3674 * dwarf2out.c (DWARF_CIE_DATA_ALIGNMENT): Wrap definition in
3675 #ifndef.
3676 [ENABLE_CHECKING] (reg_save): Abort if offset is not a multiple of
3677 DWARF_CIE_DATA_ALIGNMENT.
3678
3679 2000-10-18 Michael Hayes <mhayes@cygnus.com>
3680
3681 * basic-block.h (struct loop): Delete fields pre_header_root
3682 and pre_header_trace and replace with pre_header_edges
3683 and num_pre_header_edges.
3684 * flow.c (flow_loop_dump): Dump pre_header_edges.
3685 (flow_loops_free): Free pre_header_edges.
3686 (flow_loop_pre_header_scan): Calculate pre_header_edges.
3687
3688 2000-10-18 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
3689
3690 * contrib.texi: Update references to steering committee members
3691 and Jeff Law's entry.
3692
3693 2000-10-18 Joseph S. Myers <jsm28@cam.ac.uk>
3694
3695 * c-common.c (CPLUSPLUS_STD_VER, C_STD_VER, C_STD_NAME): Define.
3696 (maybe_read_dollar_number, check_format_info_main): Use them for
3697 pedantic warning messages.
3698
3699 2000-10-18 Joseph S. Myers <jsm28@cam.ac.uk>
3700
3701 * c-common.c (check_format_info_main): Minor cleanup: move
3702 variables into inner scopes; initialize declarations where
3703 appropriate; don't hardcode "scanf" name on warning for zero
3704 width.
3705
3706 2000-10-17 Mark Mitchell <mark@codesourcery.com>
3707
3708 * c-common.c (back_end_hook): New variable.
3709 * c-common.h (back_end_hook): Declare it.
3710 * c-lang.c (finish_file): Use it.
3711
3712 * emit-rtl.c (init_emit_once): Initialize the const_int_htab
3713 earlier.
3714
3715 2000-10-18 Jan Hubicka <jh@suse.cz>
3716
3717 * i386.c (ix86_comparison_operator, put_condition_code,
3718 ix86_match_ccmode, ix86_cc_mode): Handle CCRCmode.
3719 (ix86_expand_strlensi_unroll_1): Use CCRCmode.
3720 * i386.h (EXTRA_CC_MODES): Add CCRCmode.
3721 * i386.md (adddi and negdi splitter): Use CCRCmode.
3722 (add?i_3, add?i_4, add?i_5): Use CCRCmode; swap operands
3723 (subsi3_carry): add '*'
3724 (addsi3_carry_rc, subsi3_carry_rc, x86_movsicc_0_m1_rc): New.
3725 (cmp to add peep2): Use CCRCmode; swap operands.
3726
3727 2000-10-18 Kazu Hirata <kazu@hxi.com>
3728
3729 * h8300.c: Fix a comment typo.
3730 (round_frame_size): New.
3731 (compute_saved_regs): Likewise.
3732 (push): Likewise.
3733 (pop): Likewise.
3734 (push_order): Remove.
3735 (pop_order): Likewise.
3736 (function_prologue): Rearrange code for readability.
3737 (function_epilogue): Likewise.
3738
3739 * config/h8300/h8300.md: Remove an unnecessary sign_extend
3740 expander that is used when not optimizing. Output a tab after
3741 each assembly insns.
3742
3743 * reorg.c: Fix formatting.
3744
3745 2000-10-17 Joern Rennecke <amylaar@redhat.co.uk>
3746
3747 * reload1.c (move2add_note_store): Check for simple
3748 auto-inc in destination.
3749
3750 2000-10-17 Michael Chastain <chastain@redhat.com>
3751
3752 * config/i386/i386-aout.h: define INT_ASM_OP.
3753
3754 Tue Oct 17 20:11:08 2000 Alan Modra <alan@linuxcare.com.au>
3755
3756 * pa.c (print_operand): Handle case 'c' for .vtable_inherit
3757
3758 Tue Oct 17 20:05:51 2000 Martin Buchholz <martin@xemacs.org>
3759
3760 * i370.md: Fix spelling typo.
3761
3762 2000-10-17 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
3763
3764 * function.c (locate_and_pad_parm): Don't align stack unconditionally.
3765 Fixes execute/20001017-1.c on powerpc-linux-gnu.
3766
3767 * expr.c (store_constructor): Apply MEM_ALIAS_SET to MEMs only.
3768 * rs6000/rs6000.c (rs6000_hash_constant): Use X0INT to access a
3769 LABEL_REF.
3770
3771 * rs6000/rs6000.h (NO_DOLLAR_IN_LABEL, DOLLARS_IN_IDENTIFIERS,
3772 ENCODE_SECTION_INFO, ASM_OUTPUT_SPECIAL_POOL_ENTRY_P): Move from
3773 here...
3774 * rs6000/aix.h: ...to here.
3775 * rs6000/linux.h (ASM_APP_ON, ASM_APP_OFF): Define to Linux-style.
3776
3777 2000-10-17 Jakub Jelinek <jakub@redhat.com>
3778
3779 * config/alpha/alpha.h (ASM_OUTPUT_MI_THUNK): Reload gp if needed.
3780
3781 * config/sparc/sparc.h (ASM_OUTPUT_MI_THUNK): Always use call, make
3782 sure linker can relax even the delay slot mov %g1,%o7, fix output
3783 formating.
3784
3785 2000-10-17 Kazu Hirata <kazu@hxi.com>
3786
3787 * config/h8300/h8300.md: Remove an unnecessary zero_extend
3788 expander that is used when not optimizing. Output a tab after
3789 each assembly insns.
3790
3791 2000-10-17 Chandrakala Chavva <cchavva@redhat.com>
3792
3793 * gcc.c: New options --target-help.
3794 (process_command): Added code to parse this new option.
3795 * toplev.c (display_target_options): New function to support the
3796 above new option.
3797 * cppinit.c (new_pending_directive) : New option OPT_target__help.
3798 (cpp_handle_option): Support this new option.
3799 * invoke.texi: Added notes about --target-help option.
3800
3801 2000-10-17 Graham Stott <grahams@redhat.com>
3802
3803 * config/i386/i386.md (testqi_1): Add missing operand prefix
3804 for operand 0.
3805 * config/i386/i386-protos.h: Add missing prototype.
3806
3807 2000-10-17 Diego Novillo <dnovillo@cygnus.com>
3808
3809 * config/i386/unix.h (ASM_OUTPUT_MI_THUNK): Symbol
3810 _GLOBAL_OFFSET_TABLE should not have a $ prefix when
3811 using -mintel-syntax.
3812
3813 2000-10-17 Joseph S. Myers <jsm28@cam.ac.uk>
3814
3815 * c-common.c (FMT_FLAG_DOLLAR_MULTIPLE): Define.
3816 (format_types): Use it for printf.
3817 (maybe_read_dollar_number): Add parameter for the kind of format
3818 involved. Warn for multiple use for arguments if this is
3819 inappropriate for the kind of format involved.
3820 (check_format_info_main): Update calls to maybe_read_dollar_number.
3821
3822 2000-10-17 J. David Anglin <dave@hiauly1.hia.nrc.ca>
3823
3824 * inclhack.def (hpux_maxint): Also apply fix to values.h.
3825 * fixincl.x: Rebuilt.
3826
3827 2000-10-17 Alexandre Oliva <aoliva@redhat.com>
3828
3829 * genrecog.c (write_switch): Return the first condition that needs a
3830 label.
3831
3832 2000-10-17 Bernd Schmidt <bernds@redhat.co.uk>
3833
3834 * c-tree.h (warn_sequence_point): Move declaration to...
3835 * c-common.h (warn_sequence_point): ... here.
3836 * c-decl.c (warn_sequence_point): Move definition to...
3837 * c-common.c (warn_sequence_point): ... here.
3838 (struct reverse_tree): New.
3839 (reverse_list, reverse_max_depth): New static variables.
3840 (build_reverse_tree, common_ancestor, modify_ok
3841 verify_sequence_points): New functions.
3842 (c_expand_expr_stmt): Call verify_sequence_points if -Wsequence-point.
3843 * c-typeck.c (check_modify_expr): Delete.
3844 (build_modify_expr): Don't call it.
3845
3846 2000-10-17 Joseph S. Myers <jsm28@cam.ac.uk>
3847
3848 * c-common.h (warn_missing_format_attribute): New variable.
3849 * c-decl.c (warn_missing_format_attribute): New variable.
3850 (c_decode_option): Decode -Wmissing-format-attribute and
3851 -Wno-missing-format-attribute.
3852 * c-common.c (check_function_format): If
3853 -Wmissing-format-attribute, give a warning where a vprintf or
3854 vscanf function is called by a function without its own printf or
3855 scanf attribute.
3856 * toplev.c (documented_lang_options): Add
3857 -Wmissing-format-attribute.
3858 * invoke.texi: Document -Wmissing-format-attribute.
3859
3860 2000-10-17 Marc Espie <espie@openbsd.org>
3861
3862 * invoke.texi (-shared): Insist on requiring code generation flags
3863 to be used along with -shared, and document the subtle failure that
3864 may occur otherwise.
3865
3866 2000-10-16 J. David Anglin <dave@hiauly1.hia.nrc.ca>
3867
3868 * pa.md (return_internal): Move `use' after `return'.
3869
3870 2000-10-16 Theodore Papadopoulo <Theodore.Papadopoulo@sophia.inria.fr>
3871
3872 * machmode.def: Correct comment.
3873
3874 2000-10-16 Rodney Brown <RodneyBrown@mynd.com>
3875
3876 * print-rtl.c (print_rtx_head): Constify.
3877 * rtl.h (print_rtx_head): Similarly.
3878
3879 * config/pa/pa/pa-protos.h (output_64bit_and, output_64bit_ior):
3880 Constify char * return value.
3881 * config/pa/pa/pa.c
3882 (output_64bit_and, output_64bit_ior): Constify char * return value.
3883 (pa_can_combine_p): Make static.
3884 (function_arg): Decorate unused `named' argument. Fix comment typo.
3885 (function_arg_partial_nregs): Decorate unused `named' argument.
3886
3887 2000-10-16 Joseph S. Myers <jsm28@cam.ac.uk>
3888
3889 * c-common.c (format_check_results): New structure.
3890 (finish_dollar_format_checking): Adjust to take a
3891 format_check_results * parameter.
3892 (check_format_info, check_format_info_recurse,
3893 check_format_info_main): Split check_format_info into three
3894 functions, the main checking going in check_format_info_main.
3895 Recurse when any reduction of the format string argument towards a
3896 string literal is done; go down both branches of a conditional
3897 expression. Don't warn for extra format arguments or empty format
3898 strings if they only occur in some branches of a conditional
3899 expression.
3900
3901 2000-10-16 Kazu Hirata <kazu@hxi.com>
3902
3903 * config/h8300/h8300.c: Remove obstack. Include ggc.h.
3904
3905 2000-10-16 Jakub Jelinek <jakub@redhat.com>
3906
3907 * rtlanal.c (may_trap_p): Check operand modes of COMPARE.
3908
3909 2000-10-15 Diego Novillo <dnovillo@cygnus.com>
3910
3911 * i386.md (*movsi_or): Switch operand order for intel syntax.
3912
3913 2000-10-14 Joseph S. Myers <jsm28@cam.ac.uk>
3914
3915 * PROBLEMS: Remove.
3916
3917 * gcc.texi (Contributing): Update.
3918
3919 2000-10-13 Diego Novillo <dnovillo@cygnus.com>
3920
3921 * config/i386/unix.h (ASM_OUTPUT_MI_THUNK): Output final jump using
3922 appropriate assembler dialect.
3923
3924 2000-10-13 Alexandre Oliva <aoliva@redhat.com>
3925
3926 * c-common.c (c_expand_builtin): PARAMS-ize prototype.
3927
3928 2000-10-12 Marek Michalkiewicz <marekm@linux.org.pl>
3929
3930 * config/avr/avr.c (output_movhi, output_movsisf): Fix loading
3931 constants 1 and 2 to NO_LD_REGS.
3932
3933 2000-10-13 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3934
3935 * Makefile.in (c-parse.c, tradcif.c): Create atomically.
3936
3937 * objc/Make-lang.in (objc-parse.c): Likewise.
3938
3939 2000-10-13 Richard Earnshaw <rearnsha@arm.com>
3940
3941 * arm.c: Include obstack.h
3942 (minipool_obstack, minipool_startobj): Define.
3943 (arm_add_gc_roots): Initialize them.
3944 (create_fix_barrier): Use our new obstack.
3945 (push_minipool_barrier, push_minipool_fix): Likewise.
3946 (arm_reorg): Release obstack memory.
3947
3948 2000-10-13 Jakub Jelinek <jakub@redhat.com>
3949
3950 * config/sparc/sparc.md (nonlocal_goto_receiver): Remove.
3951 (prologue, exception_receiver, builtin_setjmp_receiver): New
3952 patterns.
3953 * config/sparc/sparc.h (FINALIZE_PIC): Remove.
3954 * config/sparc/sparc-protos.h (finalize_pic): Remove.
3955 (load_pic_register): New prototype.
3956 * config/sparc/sparc.c (pic_setup_code): Remove.
3957 (finalize_pic): Rename to...
3958 (load_pic_register): ...this function.
3959 Don't look for nonlocal_goto_receivers and emit pic setup code
3960 directly. Don't check current_function_uses_pic_offset_table.
3961
3962 2000-10-13 Richard Earnshaw <rearnsha@arm.com>
3963
3964 * tree.h (struct obstack): Declare.
3965
3966 2000-10-12 Mark Mitchell <mark@codesourcery.com>
3967
3968 Remove obstacks.
3969 * Makefile.in (ggc-callbacks.o): Remove target.
3970 (flow.o): Depend on GGC_H.
3971 * alias.c (init_alias_analysis):
3972 Remove ggc_p conditionals.
3973 (end_alias_analysis): Likewise.
3974 * basic-block.h (init_flow): New function.
3975 (allocate_reg_life_data): Declare.
3976 * bb-reorder.c (function_obstack): Replace with ...
3977 (flow_obstack): ... new variable.
3978 (fixup_reorder_chain): Use it.
3979 * c-decl.c (ggc_p): Remove.
3980 (caller-save.c): Don't call oballoc/obfree.
3981 * combine.c (struct
3982 undobuf): Remove storage.
3983 (try_combine): Don't call oballoc.
3984 (undo_all): Don't call obfree.
3985 * cse.c (insert): Use xmalloc, not
3986 oballoc.
3987 (cse_main): Adjust accordingly.
3988 * dwarf2out.c (save_rtx): Remove
3989 obstack code.
3990 (dwarf2out_init): Remove ggc_p conditionals.
3991 * emit-rtl.c (rtl_obstack): Remove.
3992 (gen_rtx_CONST_INT): Remove ggc_p conditionals.
3993 (make_insn_raw): Likewise.
3994 (emit_insn_before): Likewise.
3995 (emit_insn_after): Likewise.
3996 (emit_insn): Likewise.
3997 (gen_sequence): Likewise.
3998 (copy_insn_1): Remove handling of `b' RTL components.
3999 (init_emit_once): Remove ggc_p conditionals.
4000 * except.c (create_rethrow_ref): Don't fool with obstacks.
4001 (add_partial_entry): Likewise.
4002 (call_get_eh_context): Likewise.
4003 (begin_protect_partials): Likewise.
4004 (protect_with_terminate): Likewise.
4005 * explow.c
4006 (plus_constant_wide): Likewise.
4007 * expr.c (init_expr_once):
4008 Likewise.
4009 (emit_block_move): Likewise.
4010 (clear_storage): Likewise.
4011 (expand_expr): Likewise.
4012 * flow.c (function_obstack): Remove.
4013 (flow_obstack): New variable.
4014 (flow_firstobj): Likewise.
4015 (create_base_block): Use the flow_obstack.
4016 (split_block): Likewise.
4017 (split_edge): Likewise.
4018 (calculate_global_regs_live): Likewise.
4019 (allocate_bb_life_data): Make it static. Likewiwse.
4020 (init_flow): New function.
4021 (size_int_type_wide): Remove ggc_p conditionals.
4022 * function.c
4023 (push_function_context_to): Don't call save_tree_status.
4024 (pop_function_context_from): Or restore_tree_status.
4025 (assign_stack_local_1): Don't call push_obstacks.
4026 (find_fixup_replacement): Use xmalloc.
4027 (fixup_var_refs_insns): Free the storage.
4028 (insns_for_mem_walk): Don't mess with obstacks.
4029 (instantiate_decls): Likewise.
4030 (trampoline_address): Likewise.
4031 (expand_function_end): Likewise.
4032 * function.h (sturct function):
4033 Remove obstack-related variables.
4034 (save_tree_status): Don't declare.
4035 (restore_tree_status): Likewise.
4036 * gcse.c (compute_can_copy):
4037 Don't call oballoc/obfree.
4038 * genattrtab.c (operate_exp): Remove
4039 ggc_p conditionals.
4040 (simplify_cond): Likewise.
4041 (simplify_test_exp): Don't mess with obstacks.
4042 (optimize_attrs): Likewise.
4043 * gengenrtl.c (gendef): Don't include
4044 ggc_p conditionals.
4045 * ggc-callbacks.c (ggc_p): Remove.
4046 * ggc-none.c (ggc_p): Remove.
4047 * ggc.h (ggc_p): Don't declare.
4048 * integrate.c (save_for_inline): Don't mess with obstacks.
4049 (integrate_decl_tree): Likewise.
4050 (output_inline_function): Likewise.
4051 * lists.c
4052 (init_EXPR_INSN_LIST_cache): Likewise.
4053 * loop.c (temp_obstack):
4054 Remove.
4055 (rtl_obstack): Likewise.
4056 (init_loop): Don't mess with obstacks.
4057 (reg_address_cost): Free BIVs and GIVs.
4058 (check_insns_for_bivs): Use xmalloc, not oballoc.
4059 (find_mem_givs): Likewise.
4060 (record_biv): Likewise.
4061 (general_induction_var): Likewise.
4062 (product_cheap_p): Likewse.
4063 * optabs.c (init_one_libfunc): Remove
4064 ggc_p conditional.
4065 * print-tree.c (debug_tree): Don't use
4066 oballoc/obfree.
4067 (print_node): Likewise.
4068 * profile.c (output_func_start_profiler):
4069 Remove call to temporary_allocation.
4070 * reload1.c
4071 (eliminate_regs_in_insn): Don't mess with obstacks.
4072 * resource.c
4073 (mark_target_live_regs): Use xmalloc.
4074 (free_resource_info): Free the memory.
4075 * rtl.c (rtl_obstack):
4076 Remove.
4077 (rtvec_alloc): Don't mess with obstacks.
4078 (rtx_alloc): Likewise.
4079 (rtx_free): Remove.
4080 (copy_rtx): Don't handle `b' cases.
4081 (read_rtx): Use a local rtl_obstack.
4082 * rtl.h (oballoc): Remove.
4083 (obfree): Likewise.
4084 (pop_obstacks): Likewise.
4085 (push_obstacks): Likewise.
4086 (allocate_bb_life_data): Likewise.
4087 (allocate_reg_life_data): Likewise.
4088 (rtx_free): Likewise.
4089 * sdbout.c (sdbout_queue_anonymous_type):
4090 Use tree_cons, not saveable_tree_cons.
4091 * simplify-rtx.c
4092 (cselib_init): Don't mess with obstacks.
4093 * stmt.c
4094 (mark_block_nesting): Mark the label_chain.
4095 (epxand_label): Use ggc_alloc, not oballoc.
4096 (clear_last_expr): Don't mess with obstacks.
4097 (expand_decl_cleanup): Likewise.
4098 (expand_dcc_cleanup): Likewise.
4099 (expand_dhc_cleanup): Likewise.
4100 (expand_anon_union_decl): Likewise.
4101 (add_case_node): Use xmalloc, not oballoc.
4102 (free_case_nodes): New function.
4103 (expand_end_case): Call it.
4104 * stor-layout.c (layout_type): Don't
4105 mess with obstacks.
4106 (layout_type): Likewise.
4107 * toplev.c (wrapup_global_declarations):
4108 Likewise.
4109 (compile_file): Remove ggc_p conditionals.
4110 (rest_of_compilation): Call init_flow. Remove ggc_p conditionals.
4111 (decode_f_option): Remove ggc_p conditionals.
4112 * tree.c
4113 (function_maybepermanent_obstack): Remove.
4114 (maybepermanent_obstack): Likewise.
4115 (function_obstack): Likewise.
4116 (tmeporary_obstack): Likewise.
4117 (momentary_obstack): Likewise.
4118 (temp_decl_obstack): Likewise.
4119 (saveable_obstack): Likewise.
4120 (rtl_obstack): Likewise.
4121 (current_obstack): Likewise.
4122 (expression_obstack): Likewise.
4123 (struct obstack_stack): Likewise.
4124 (obstack_stack): Likewise.
4125 (obstack_stack_obstack): Likewise.
4126 (maybepermanent_firstobj): Likewise.
4127 (temporary_firstobj): Likewise.
4128 (momentary_firstobj): Likewise.
4129 (temp_decl_firstobj): Likewise.
4130 (momentary_function_firstobj): Likewise.
4131 (all_types_permanent): Likewise.
4132 (struct momentary_level): Likewise.
4133 (momentary_stack): Likewise.
4134 (init_obstacks): Remove initialization of removed obstacks.
4135 (save_tree_status): Remove.
4136 (restore_tree_status): Likewise.
4137 (temporary_allocation): Liekwise.
4138 (end_temporary_allocation): Liekwise.
4139 (resume_temporary_allocation): Likewise.
4140 (saveable_allocation): Likewise.
4141 (push_obstacks): Likewise.
4142 (push_obstacks_nochange): Likewise.
4143 (pop_obstacks): Likewise.
4144 (allocation_temporary_p): Likewise.
4145 (permanent_allocation): Likewise.
4146 (preserve_data): Likewise.
4147 (preserve_initializer): Likewise.
4148 (rtl_in_current_obstack): Likewise.
4149 (rtl_in_saveable_obstack): Likewise.
4150 (oballoc): Likewise.
4151 (obfree): Likewise.
4152 (savealloc): Likewise.
4153 (expralloc): Likewise.
4154 (print_obstack_name): Likewise.
4155 (debug_obstack): Likewise.
4156 (object_permanent_p): Likewise.
4157 (push_momentary): Likewise.
4158 (perserve_momentary): Likewise.
4159 (clear_momentary): Likewise.
4160 (pop_momentary): Likewise.
4161 (pop_momentary_nofree): Likewise.
4162 (suspend_momentary): Likewise.
4163 (resume_momentary): Likewise.
4164 (make_node): Don't set TREE_PERMANENT.
4165 (copy_node): Remove ggc_p conditionals. Don't set TYPE_OBSTACK.
4166 Don't set TREE_PERMANENT.
4167 (get_identifier): Remove ggc_p conditionals.
4168 (build_string): Likewise.
4169 (make_tree_vec): Likewise.
4170 (build_decl_list): Remove.
4171 (build_expr_list): Likewise.
4172 (tree_cons): Remove ggc_p conditionals.
4173 (decl_tree_cons): Remove.
4174 (expr_tree_cons): Likewise.
4175 (perm_tree_cons): Likewise.
4176 (temp_tree_cons): Likewise.
4177 (saveable_tree_cons): Likewise.
4178 (build1): Remove ggc_p conditionals.
4179 (build_parse_node): Likewise.
4180 (build_type_attribute_variant): Don't mess with obstacks.
4181 (build_type_copy): Likewise.
4182 (type_hash_canon): Likewise.
4183 (build_pointer_type): Likewise.
4184 (build_reference_type): Likewise.
4185 (build_index_type): Likewise.
4186 (build_range_type): Likewise.
4187 (dump_tree_statistics): Don't print obstack information.
4188 * tree.h
4189 (struct tree_common): Remove permanent_flag.
4190 (TREE_PERMANENT): Remove.
4191 (TREE_SET_PERMANENT): Likewise.
4192 (TYPE_OBSTACK): Likewise.
4193 (struct tree_type): Remove obstack.
4194 (oballoc): Remove.
4195 (savealloc): Likewise.
4196 (build_decl_list): Likewise.
4197 (build_expr_list): Likewise.
4198 (perm_tree_cons): Likewise.
4199 (temp_tree_cons): Likewise.
4200 (saveable_tree_cons): Likewise.
4201 (decl_tree_cons): Likewise.
4202 (expr_tree_cons): Likewise.
4203 (suspend_momentary): Likewise.
4204 (allocation_temporary_p): Likewise.
4205 (resume_momentary): Likewise.
4206 (push_obstacks_nochange): Likewise.
4207 (permanent_allocation): Likewise.
4208 (push_momentary): Likewise.
4209 (clear_momentary): Likewise.
4210 (pop_momentary): Likewise.
4211 (end_temporary_allocation): Likewise.
4212 (pop_obstacks): Likewise.
4213 (push_obstacks): Likewise.
4214 (pop_momentary_nofree): LIkewise.
4215 (preserve_momentary): Likewise.
4216 (saveable_allocation): Likewise.
4217 (temporary_allocation): Likewise.
4218 (resume_temporary_allocation): Likewise.
4219 (perserve_initializer): Likewise.
4220 (debug_obstack): Likewise.
4221 (rtl_in_current_obstack): Likewise.
4222 (rtl_in_saveable_obstack): Likewise.
4223 (obfree): Likewise.
4224 * varasm.c (current_obstack): Remove.
4225 (saveable_obstack): Remove.
4226 (rtl_obstack): Remove.
4227 (immed_double_const): Don't mess with obstacks.
4228 (immed_real_cons): Likewise.
4229 (output_constant_def): Likewise.
4230 (init_varasm_status): Use xcalloc.
4231 (mark_pool_constant): Mark the pool constant itself.
4232 (free_varasm_status): Free memory.
4233 (decode_rtx_const): Call bzero directly, rather than expanding it
4234 inline.
4235 (record_rtx_const): Don't mess with obstacks.
4236 (force_const_mem): Likewise.
4237 * config/arm/arm.c (arm_encode_call_attribute): Remove ggc_p
4238 conditionals.
4239 (aof_pic_entry): Likewise.
4240 * config/ia64/ia64.c (ia64_encode_section_info): Likewise.
4241 * config/m32r/m32r.c (m32r_encode_section_info): Likewise.
4242 * config/pa/pa.c (saveable_obstack): Remove.
4243 (rtl_obstack): Likewise.
4244 (current_obstack): Likewise.
4245 (output_call): Don't mess with obstacks.
4246 (hppa_encode_label): Remove ggc_p conditionals.
4247 * config/romp/romp.c (get_symref): Don't mess with obstacks.
4248 * config/rs6000/rs6000.c (output_toc): Remove ggc_p conditional.
4249 (rs6000_encode_section_info): Likewise.
4250 * config/sh/sh.c (get_fpscr_rtx): Likewise.
4251
4252 Thu Oct 12 16:02:31 MET DST 2000 Jan Hubicka <jh@suse.cz>
4253
4254 * i386.md (adddi3, subdi3 splitters): Update for new pattern.
4255 (addsi3_cc, addqi3_cc, subsi3_cc): Remove
4256 (addsi3_carry): Canonicalize.
4257 (addqi_5): Remove '*'.
4258 (sbb pattern): Canonicalize.
4259
4260 * i386.md (cmp to inc/add peep2): New.
4261
4262 2000-10-12 Richard Earnshaw <rearnsha@arm.com>
4263
4264 * bb-reorder.c (reorder_basic_blocks): Allocate an aux block for
4265 the exit block.
4266
4267 2000-10-12 Joseph S. Myers <jsm28@cam.ac.uk>
4268
4269 * gcc.texi: Merge in contents of README.TRAD and TESTS.FLUNK.
4270 * README.TRAD, TESTS.FLUNK: Remove.
4271
4272 2000-10-12 Joseph S. Myers <jsm28@cam.ac.uk>
4273
4274 * c-common.c (decl_attributes): Don't allow strftime formats with
4275 first_arg_num nonzero.
4276 (check_format_info): Set wanted_type and wanted_type_name to zero
4277 before they are possibly assigned and used.
4278
4279 2000-10-12 Joseph S. Myers <jsm28@cam.ac.uk>
4280
4281 * c-common.c (scanf_flag_specs): Add flags ' and I.
4282 (strftime_flag_pairs): Disallow any pair of the _, - and 0 flags,
4283 or the ^ and # flags together.
4284 (scan_char_table): Handle the ' and I flags.
4285 (format_types): Add ' and I flags for scanf.
4286
4287 2000-10-12 Joseph S. Myers <jsm28@cam.ac.uk>
4288
4289 * c-common.c (print_char_table): Use the unpromoted type for
4290 lengths "h" and "hh" with conversions dioxXu.
4291 (check_format_types): Apply the default argument promotions where
4292 the wanted type is not a pointer target.
4293
4294 2000-10-11 Michael Meeks <mmeeks@gnu.org>
4295 Joseph S. Myers <jsm28@cam.ac.uk>
4296
4297 * c-typeck.c (check_modify_expr): New function.
4298 (build_modify_expr): Call it if warn_sequence_point.
4299 * c-decl.c (warn_sequence_point): New variable.
4300 (c_decode_option): Handle -Wsequence-point and
4301 -Wno-sequence-point. Enable -Wsequence-point as part of -Wall.
4302 * c-tree.h (warn_sequence_point): Declare.
4303 * invoke.texi (-Wsequence-point): Document.
4304 * toplev.c (documented_lang_options): Add -Wsequence-point and
4305 -Wno-sequence-point.
4306 Original work by Michael Meeks, 16 Jun 1998.
4307
4308 Wed Oct 11 06:15:41 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
4309
4310 * tree.c (get_narrower): Don't look at precision of field if
4311 not laid out yet.
4312
4313 Tue Oct 10 23:14:33 2000 Denis Chertykov <denisc@overta.ru>
4314
4315 * config/avr/avr.c (valid_machine_decl_attribute): Allow `extern'
4316 declaration for data with "progmem" attribute.
4317
4318 2000-10-09 Marek Michalkiewicz <marekm@linux.org.pl>
4319
4320 * config/avr/avr.c (out_shift_with_cnt): Use AS2 macro.
4321 Correct insn length if shift count is a memory operand.
4322 * config/avr/avr.md: New define_peephole2 to use *reload_inqi.
4323 (*iorhi3_clobber): Change lo8 to hi8.
4324 (zero_extendhisi2): Change %B0 to %A1.
4325 (ashlhi3, ashrhi3): Correct insn length.
4326 (andhi3, abssf2, extendqisi2, extendhisi2): Change "cc"
4327 from "clobber" to "set_n" in some alternatives.
4328
4329 2000-10-10 Jakub Jelinek <jakub@redhat.com>
4330
4331 * reload1.c (calculate_needs_all_insns): If deleting an instruction,
4332 remove its insn_chain structure as well.
4333
4334 2000-10-09 J. David Anglin <dave@hiauly1.hia.nrc.ca>
4335
4336 * dbxout.c (dbxout_source_line): Remove extra tab.
4337
4338 2000-10-09 Hans-Peter Nilsson <hp@bitrange.com>
4339
4340 * config/elfos.h (UNIQUE_SECTION): Apply STRIP_NAME_ENCODING on name.
4341
4342 2000-10-09 Richard Henderson <rth@cygnus.com>
4343
4344 * Makefile.in (LANG_LIB2FUNCS): Remove.
4345 (LIB2FUNCS): Remove _pure.
4346 (LIB2ADD): Remove LANG_LIB2FUNCS.
4347 (stage_a): Don't set LANG_LIB2FUNCS.
4348 * libgcc2.c (__terminate): Mark noreturn.
4349 (__pure_virtual): Remove.
4350 * mklibgcc.in: Remove LIB2ADD .txt processing.
4351
4352 2000-10-09 Richard Earnshaw <rearnsha@arm.com>
4353
4354 * arm.md (push_multi): Revert unintended change.
4355
4356 2000-10-09 Richard Earnshaw <rearnsha@arm.com>
4357
4358 * arm.c: Miscellaneous white space and comment clean-ups. No
4359 functional change.
4360 * arm.md: Likewise.
4361
4362 2000-10-09 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4363
4364 * c-common.c (c_expand_builtin_printf): Set the TREE_TYPE of a new
4365 STRING_CST by calling combine_strings.
4366
4367 2000-10-09 Richard Earnshaw <rearnsha@arm.com>
4368
4369 * arm.c (thumb_expand_movstrqi): Rewrite to support SSA form.
4370 (thumb_output_move_mem_multiple): Support new insn format.
4371 * arm.md (movmem12b): Use SSA compatible format.
4372 (movmem8b): Likewise.
4373
4374 2000-10-09 Richard Earnshaw <rearnsha@arm.com>
4375
4376 * arm.md (predicable): New attribute, default to "no".
4377 (all patterns): Mark as predicable if appropriate.
4378 (conditional execution splits): Split using predication format.
4379 (define_cond_exec): Define.
4380 * arm.c (arm_print_operand): handle insn predicate.
4381
4382 2000-10-09 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
4383
4384 * README.NS32K: Remove file.
4385
4386 2000-10-09 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
4387
4388 * README-bugs: Remove file.
4389
4390 2000-10-08 Philipp Thomas <pthomas@suse.de>
4391 * aclocal.m4 (AM_GNU_GETTEXT): Fix non portable use of == operator
4392 for test.
4393 * configure: Rebuilt.
4394
4395 2000-10-08 Philipp Thomas <pthomas@suse.de>
4396 * aclocal.m4 (AM_WITH_NLS): When not using included gettext,
4397 disable catalog building if no suitable program was found.
4398 Move warning message from here
4399 (AM_GNU_GETTEXT): To here.
4400 * configure: Rebuilt.
4401
4402 2000-10-08 Philipp Thomas <pthomas@suse.de>
4403 * aclocal.m4 (GCC_PATH_PROG): New. Like AC_PATH_PROG but uses
4404 different cache variables.
4405 (GCC_PATH_PROG_WITH_TEST): New. Like AM_PATH_PROG_WITH_TEST but
4406 uses different cache variables.
4407 (AM_WITH_NLS): Use GCC_PATH_PROG and GCC_PATH_PROG_WITH_TEST.
4408 * configure: Regenerated.
4409
4410 2000-10-08 Richard Henderson <rth@cygnus.com>
4411
4412 * Makefile.in (libgcc.mk): Pass SHLIB_EXT, not SHLIB_LIBS.
4413 * configure.in (sparc*-*-solaris*): Use t-slibgcc{,-sld}.
4414 * mklibgcc.in: Consider SHLIB_LINK the entire shlib build command.
4415 Use SHLIB_EXT.
4416
4417 * config/t-linux (SHLIB_EXT): New.
4418 (SHLIB_LINK): Use the entire build command, with substitutions.
4419 (SHLIB_LIBS): Remove.
4420 * config/alpha/t-osf4: Likewise.
4421 * config/mips/t-iris6: Likewise.
4422 * config/sparc/t-sol2: Likewise, but move shlib stuff...
4423 * config/sparc/t-slibgcc-sld: ...here.
4424 * config/sparc/t-slibgcc: New file.
4425
4426 2000-10-08 Joseph S. Myers <jsm28@cam.ac.uk>
4427
4428 * tm.texi (INTMAX_TYPE, UINTMAX_TYPE): Define.
4429 * c-common.h (enum c_tree_index): Add CTI_INTMAX_TYPE and
4430 CTI_UINTMAX_TYPE.
4431 (intmax_type_node, uintmax_type_node): Define.
4432 * c-common.c (decl_attributes): If pedantic, warn if `mode'
4433 attributes create a type wider than intmax_t.
4434 (T_IM, T_UIM): Define properly.
4435 * c-decl.c (INTMAX_TYPE, UINTMAX_TYPE): Define if not already
4436 defined.
4437 (init_decl_processing): Initialize intmax_type_node and
4438 uintmax_type_node.
4439 * c-lex.c (lex_number): When pedantic and warning for integer
4440 constants that are too large, in C99 mode warn for those that have
4441 a type wider than long long.
4442
4443 2000-10-08 Joseph S. Myers <jsm28@cam.ac.uk>
4444
4445 * c-common.c (FMT_FLAG_ARG_CONVERT, FMT_FLAG_SCANF_A_KLUDGE,
4446 FMT_FLAG_FANCY_PERCENT_OK): Define.
4447 (format_char_info): Add flag "4" to comment.
4448 (format_flag_spec, format_flag_pair): New structures.
4449 (format_kind_info): Add additional fields to control format
4450 checking.
4451 (printf_flag_specs, printf_flag_pairs, scanf_flag_specs,
4452 scanf_flag_pairs, strftime_flag_specs, strftime_flag_pairs): New
4453 arrays.
4454 (time_char_table): Use "4" flag to handle %Ey.
4455 (format_types): Add entries for new fields.
4456 (get_flag_spec): New function.
4457 (check_format_info): Increase size of flag_chars[] to 256.
4458 Control format checking using the new fields of a format_kind_info
4459 and the new tables; remove all conditionals on printf_format_type,
4460 scanf_format_type or strftime_format_type. Handle all details of
4461 bad combinations of flags (including width, precision and strftime
4462 modifiers) through data rather than ad hoc code. Handle all
4463 details of standard versions in which flags appeared through
4464 data. Use the "4" flag.
4465
4466 2000-10-07 Will Cohen <wcohen@redhat.com>, Kazu Hirata <kazu@hxi.com>
4467
4468 * config/h8300/h8300.md: Remove the memory alternative and correct
4469 the insn lengths in the templates for sign extention and zero
4470 extention.
4471
4472 2000-10-07 Richard Henderson <rth@cygnus.com>
4473
4474 * calls.c (expand_call): Disallow sibcalls to noreturn functions.
4475 * flow.c (make_edges): Revert last change.
4476
4477 * config/alpha/alpha.h (FUNCTION_OK_FOR_SIBCALL): Don't test
4478 TREE_THIS_VOLATILE.
4479 * config/pa/pa.h (FUNCTION_OK_FOR_SIBCALL): Likewise.
4480
4481 2000-10-06 David O'Brien <obrien@dragon.nuxi.com>
4482
4483 * config/alpha/elf.h: Standardize the formatting.
4484
4485 2000-10-06 David O'Brien <obrien@FreeBSD.org>
4486
4487 * config/alpha/elf.h: Protect the ASM_OUTPUT_IDENT definition with an
4488 #undef.
4489
4490 2000-10-06 Richard Henderson <rth@cygnus.com>
4491
4492 * function.c (diddle_return_value): Examine
4493 current_function_return_rtx instead of the DECL_RESULT.
4494 (expand_function_end): Handle reloading DECL_RESULT from memory
4495 into a hard register. Query promote_mode for sign of mismatched
4496 modes.
4497
4498 2000-10-06 Vladimir Makarov <vmakarov@touchme.toronto.redhat.com>
4499
4500 * haifa-sched.c (schedule_insns): Fix typo in freeing
4501 forward_dependency_cache.
4502
4503 2000-10-06 Alexandre Oliva <aoliva@redhat.com>
4504
4505 * config/sh/sh.md (calli_pcrel, call_valuei_pcrel): Add
4506 `TARGET_SH2' as a condition.
4507
4508 2000-10-06 Vladimir Makarov <vmakarov@touchme.toronto.redhat.com>
4509
4510 * haifa-sched.c (anti_dependency_cache, output_dependency_cache,
4511 forward_dependency_cache): New variables.
4512 (add_dependence, remove_dependence): Use anti_dependency_cache and
4513 output_dependency_cache.
4514 (compute_block_forward_dependences): Use forward_dependency_cache.
4515 (schedule_insns): Allocate and free memory for anti/output/forward
4516 dependencies caches.
4517
4518 2000-10-06 Alexandre Oliva <aoliva@redhat.com>
4519
4520 * config/sh/sh.md (call, call_value): Use `TARGET_SH2' instead of
4521 `! TARGET_SH1'. Reindent.
4522
4523 2000-10-06 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4524
4525 * builtins.c (is_valid_printf_arglist, expand_builtin_printf):
4526 Move functions from here ...
4527
4528 * c-common.c (is_valid_printf_arglist, c_expand_builtin_printf):
4529 ... to here.
4530 (c_expand_builtin): New function.
4531 (init_function_format_info): Don't set `check_function_format_ptr'.
4532 (c_common_nodes_and_builtins): Set built_in_class type for
4533 printf/__builtin_printf to BUILT_IN_FRONTEND.
4534 (c_expand_expr): Handle CALL_EXPRs that are front-end builtins.
4535
4536 * c-common.h (build_function_call): Declare.
4537
4538 * expr.c (expand_expr): Pass builtins with class BUILT_IN_FRONTEND
4539 to `lang_expand_expr' rather than `expand_builtin'.
4540
4541 * tree.c (check_function_format_ptr): Delete.
4542
4543 * tree.h (check_function_format_ptr): Likewise.
4544
4545 2000-10-06 Hans-Peter Nilsson <hp@bitrange.com>
4546
4547 * dwarf2out.c (build_cfa_loc): Correct to use DW_OP_regx or
4548 DW_OP_bregx when cfa->reg > 31.
4549
4550 * frame-dwarf2.c (decode_stack_op) [case DW_OP_regx]: Add missing
4551 break.
4552
4553 2000-10-05 Richard Henderson <rth@cygnus.com>
4554
4555 * c-decl.c (warn_missing_noreturn): Remove.
4556 (c_expand_body): Don't set or check can_reach_end.
4557 * c-tree.h (warn_missing_noreturn): Move ...
4558 * flags.h: ... here.
4559 (can_reach_end): Remove.
4560 * flow.c (check_function_return_warnings): New.
4561 (make_edges): No edge to exit for noreturn sibcalls.
4562 * function.c (expand_function_end): Save the return value
4563 clobber instruction.
4564 (mark_function_status): Mark it.
4565 * function.h (struct function): Add x_clobber_return_insn.
4566 * jump.c (can_reach_end): Remove.
4567 (calculate_can_reach_end): Remove.
4568 (jump_optimize_1): Don't call it.
4569 * output.h (check_function_return_warnings): Declare.
4570 * toplev.c (warn_missing_noreturn): Move from c-decl.c
4571 (rest_of_compilation): Call check_function_return_warnings.
4572
4573 2000-10-05 Richard Henderson <rth@cygnus.com>
4574
4575 * Makefile.in (NM_FOR_TARGET): New.
4576 (libgcc.mk): Pass SHLIB_MKMAP, SHLIB_MAPFILES.
4577 (libgcc.a, stmp-multilib): Pass NM_FOR_TARGET.
4578 * mklibgcc.in: If SHLIB_MKMAP, build libgcc.map. Depend the
4579 shared library build on that and EXTRA_MULTILIB_PARTS.
4580 * mkmap-flat.awk: New file.
4581 * mkmap-symver.awk: New file.
4582 * libgcc-std.ver: New file.
4583 * config/libgcc-glibc.ver: New file.
4584 * config/ia64/libgcc-ia64.ver: New file.
4585 * config/t-linux (SHLIB_MKMAP, SHLIB_MAPFILES): New.
4586 (SHLIB_LINK): Add --version-script.
4587 * config/ia64/t-ia64 (SHLIB_MAPFILES): Add libgcc-ia64.ver.
4588 * config/mips/t-iris6 (SHLIB_MKMAP, SHLIB_MAPFILES): New.
4589 * config/sparc/t-sol2 (SHLIB_MKMAP, SHLIB_MAPFILES): New.
4590 (SHLIB_LINK): Add -M.
4591
4592 2000-10-05 Richard Henderson <rth@cygnus.com>
4593
4594 * Makefile.in (LIB2FUNCS): Add _clz.
4595 * libgcc2.c (__ffsdi2): Use count_trailing_zeros.
4596 (__clz_tab): Put in its own unit, non-static.
4597 * libgcc2.h: Always include longlong.h.
4598
4599 * longlong.h [alpha] (count_leading_zeros): Use cmpbge with
4600 a zero instead of -1.
4601 (count_trailing_zeros): Likewise.
4602
4603 2000-10-05 Richard Henderson <rth@cygnus.com>
4604
4605 * config/alpha/alpha.c (alpha_emit_setcc): Don't swap GT tests
4606 when second op1 is const0_rtx. Validate op0 as a register.
4607 * config/alpha/alpha.md (setcc_internal): Don't allow constants
4608 in the first argument of the compare.
4609 (setcc_swapped_internal): Likewise.
4610 (setne_internal): Likewise.
4611
4612 2000-10-05 Geoff Keating <geoffk@cygnus.com>
4613
4614 * tree.c (tree_size): New function split out of copy_node.
4615 (make_node): Remove obstack handling. Use tree_size.
4616 (copy_node): Use tree_size.
4617 * tree.h: Prototype tree_size.
4618
4619 2000-10-05 Richard Henderson <rth@cygnus.com>
4620
4621 * diagnostic.c (output_format): Add missing break.
4622
4623 2000-10-05 Jim Wilson <wilson@cygnus.com>
4624
4625 * function.c (fixup_var_refs_1, case SET): When gen_move_insn returns a
4626 SEQUENCE, call emit_insn_before, copy PATTERN and REG_NOTES of last
4627 sequence insn to INSN, and delete last sequence insn.
4628
4629 2000-10-05 Phil Edwards <pme@gcc.gnu.org>
4630
4631 * gcc.c (main): Include generated configargs.h header
4632 and use arguments in '-v' output.
4633
4634 Thu Oct 5 16:16:57 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
4635
4636 * gcc.c: Move data on prefixes forward in file and reorganize.
4637 (md_exec_prefix, md_startfile_prefix, md_startfile_prefix_1):
4638 Always define, but make null if no value.
4639 (static_specs): Add "md_exec_prefix", "md_startfile_prefix",
4640 and "md_startfile_prefix_1".
4641 (main): Check whether md_exec_prefix and the others are the
4642 null string rather than whether the macro is defined.
4643
4644 Thu Oct 5 19:04:18 2000 J"orn Rennecke <amylaar@redhat.co.uk>
4645
4646 * (convert_move): Use zero_extendpsisi2 to do an unsigned extension
4647 from PSImode to SImode.
4648
4649 2000-10-05 Jakub Jelinek <jakub@redhat.com>
4650
4651 * emit-rtl.c (gen_lowpart_common) [REAL_ARITHMETICS]: Fix conversion
4652 from float to integral mode with HOST_BITS_PER_WIDE_INT 64.
4653 * dwarf2out.c (add_const_value_attribute): Divide by 4, not
4654 sizeof(long).
4655
4656 Thu Oct 5 09:31:31 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
4657
4658 * fold-const.c (fold, case MINUS_EXPR, case EQ_EXPR): Perform
4659 negation in proper type.a
4660
4661 2000-10-04 Richard Henderson <rth@cygnus.com>
4662
4663 * configure.in (enable-shared): New.
4664 * Makefile.in (LIBGCC_DEPS): Depend on EXTRA_PARTS as well.
4665 (libgcc.mk): Pass SHLIB_LINK, SHLIB_LIBS, SHLIB_MULTILIB to mklibgcc.
4666 * mklibgcc.in: Use them to link shared a libgcc.
4667 * config/t-linux (SHLIB_LINK, SHLIB_LIBS): New.
4668 * config/alpha/t-ieee (SHLIB_MULTILIB): New.
4669 * config/mips/t-iris6 (SHLIB_LINK, SHLIB_LIBS): New.
4670 * config/sparc/t-sol2 (SHLIB_LINK, SHLIB_LIBS): New.
4671
4672 * configure.in (alpha-osf*): Use t-osf and x-osf.
4673 * config/alpha/t-osf: New file.
4674 * config/alpha/t-osf4: New file.
4675 * config/alpha/x-osf: New file.
4676 * config/alpha/x-alpha: Remove file.
4677
4678 2000-10-04 Will Cohen <wcohen@redhat.com>
4679
4680 * c-typeck.c (process_init_element): Added warning for zero-length
4681 array.
4682
4683 * extend.texi (Zero Length): State that static initializers for
4684 zero-length arrays are not allowed.
4685
4686 Mon Oct 2 14:50:14 MET DST 2000 Jan Hubicka <jh@suse.cz>
4687
4688 * rtlanal.c (single_set_1): Do not require USE and CLOBBERs
4689 to come last.
4690
4691 2000-10-03 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
4692
4693 * config/float-c4x.h: New.
4694 * configure.in (c4x-*): Set float_format to c4x.
4695 * configure: Regenerate.
4696
4697 2000-10-02 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4698
4699 * configure.in (sparc-*-solaris2*): Disable 32-to-64 cross
4700 compilation for solaris versions 2.7 and greater.
4701
4702 2000-10-02 Marc Espie <espie@openbsd.org>
4703
4704 * config/alpha.h (WORD_SWITCH_TAKES_ARG): add -rpath to default,
4705 instead of redefining from scratch.
4706
4707 2000-10-02 David O'Brien <obrien@dragon.nuxi.com>
4708
4709 * config/i386/freebsd.h (NO_PROFILE_COUNTERS): Define.
4710
4711 2000-10-01 Mark Mitchell <mark@codesourcery.com>
4712
4713 * config/ns32k/genix.h: Remove.
4714 * config/ns32k/x-genix: Likewise.
4715 * config/ns32k/xm-genix.h: Likewise.
4716 * config/fx80: Remove all filee in directory.
4717 * config/pyr: Likewise.
4718 * config/tahoe: Likewise.
4719 * config/gmicro: Likewise.
4720 * config/spur: Likewise.
4721 * configure.in: Remove configury bits for above targets.
4722 * configure: Regenerated.
4723
4724 * configure.in: Don't configure chill by default.
4725 * configure: Regenerated.
4726
4727 * c-decl.c (c_expand_body): Don't generate RTL if flag_syntax_only.
4728 (lang_mark_false_label_stack): Remove.
4729 * c-lex.c (init_c_lex): Add file_info_tree as GC root. Allocate
4730 <top level> string in GC area.
4731 (mark_splay_tree_node): New function.
4732 (mark_splay_tree): Likewise.
4733 * except.c (mark_eh_status): Only call lang_mark_false_label_stack
4734 if it exists.
4735 * ggc-callbacks.c (lang_mark_false_label_stack): Remove.
4736 * ggc-common.c (lang_mark_false_label_stack): Change type.
4737 * ggc.h (ggc_alloc_string): Add comment.
4738 (ggc_strdup): New function.
4739
4740 Sat Sep 23 19:10:20 2000 Denis Chertykov <denisc@overta.ru>
4741
4742 * config/avr/avr.h (BRANCH_COST): Define as 0.
4743
4744 * config/pdp11/pdp11.c: #include "tree.h" added.
4745
4746 2000-09-30 Marek Michalkiewicz <marekm@linux.org.pl>
4747
4748 * config/avr/avr.c (ashlhi3_out, ashlsi3_out, ashrhi3_out,
4749 ashrsi3_out, lshrhi3_out, lshrsi3_out): Optimize more cases
4750 with known shift count.
4751 * config/avr/avr.md (ashlsi3, ashrsi3, lshrsi3):
4752 New alternative for shift count 2 with no scratch register.
4753 (ashlhi3, ashlsi3): Change "cc" attribute from "clobber" to
4754 "set_n" for shift counts 1 and 2.
4755
4756 2000-09-30 Geoff Keating <geoffk@cygnus.com>
4757
4758 * config/rs6000/rs6000.md (movsi_to_cr): Remove the USE. Calculate
4759 the mask value from the individual SET operations.
4760 (return_internal_si): Move the USE after the RETURN.
4761 (return_internal_di): Likewise.
4762 (return_and_restore_fpregs_si): Likewise.
4763 (return_and_restore_fpregs_di): Likewise.
4764 (return_eh_si): Likewise.
4765 (return_eh_di): Likewise.
4766 * config/rs6000/rs6000.c (mtcrf_operation): Don't look for,
4767 or check, the USE.
4768 (rs6000_emit_prologue): Don't emit the USE for movsi_to_cr.
4769 Don't generate a PARALLEL around a single operation movsi_to_cr.
4770 Generate the RETURN first in any PARALLELs.
4771
4772 * rtlanal.c (single_set_1): Use fatal_insn to display the
4773 invalid insn. Check for more cases when a USE or CLOBBER occurs
4774 before a SET.
4775 * Makefile.in: Update dependencies for rtlanal.o.
4776
4777 2000-09-30 Joseph S. Myers <jsm28@cam.ac.uk>
4778
4779 * i386.c: Move include of "config.h" to before that of <setjmp.h>.
4780
4781 2000-09-30 Joseph S. Myers <jsm28@cam.ac.uk>
4782
4783 * c-tree.texi, contrib.texi, gcc.texi, install.texi, invoke.texi:
4784 Consistently use @email for formatting email addresses.
4785
4786 2000-09-29 Richard Henderson <rth@cygnus.com>
4787
4788 * cse.c (notreg_cost): New argument outer.
4789 (COST): Pass in SET to notreg_cost
4790 (COST_IN): New.
4791 (fold_rtx): Use COST_IN. Prefer constants when costs
4792 are the same.
4793
4794 2000-09-29 David Edelsohn <edelsohn@gnu.org>
4795
4796 * fixinc/inclhack.def (broken_cabs): Generalize regex.
4797 * fixinc/fixincl.x: Regenerate.
4798
4799 2000-09-29 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
4800
4801 * loop.c (check_final_value): A GIV is not replaceable if used
4802 before set.
4803
4804 Fri Sep 29 10:04:12 2000 Jeffrey A Law (law@cygnus.com)
4805
4806 * version.c: Bump to gcc-2.97.
4807
4808 Frs Sep 29 13:37:59 MET DST 2000 Jan Hubicka <jh@suse.cz>
4809
4810 * final.c (final_scan_insn): Remove extra extract_insn call;
4811 Use caching for constrain_operands.
4812 (cleanup_subreg_operands): Use caching for extract_insn.
4813 * recog.c (constrain_operands_cached): New.
4814 * recog.h (constrain_operands_cached): Declare.
4815 * i386.c (ix86_attr_length_immediate_default,
4816 ix86_attr_length_address_default, ix86_agi_dependant): Cache
4817 extract_insn call.
4818
4819 * recog.c (asm_noperands): Tweak.
4820 (extract_insn): Do not call asm_noperads for non-asm instructions.
4821
4822 Fri Sep 29 13:20:42 MET DST 2000 Jan Hubicka <jh@suse.cz>
4823
4824 * recog.c (recog_memoized): Rename to recog_memoized_1.
4825 * recog.h (recog_memoized): Rename to recog_memoized_1.
4826 (recog_memoized): New macro.
4827 * rtl.h (single_set): Rename to single_set_1
4828 (single_set): New macro.
4829 * rtlanal.c (single_set): Rename to single_set_1; expect clobbers
4830 to be last.
4831
4832 * i386.md (strmovsi_1, strmovhi_1 strmovqi_1):
4833 Do not use match_dup of input operands at outputs.
4834 Use register_operand for memory expression.
4835 (rep_movsi): Put use last, canonicalize.
4836 Use register_operand for memory expression.
4837 (rep_movqi): Put use last.
4838 Use register_operand for memory expression.
4839 (strsetsi_1, strset_hi_1, strsetqi_1): Do not use match_dup
4840 of input operands at outputs. Use register_operand for memory
4841 expression.
4842 (rep_stossi): Put use last; canonicalize; fix match_dup in
4843 the address expression
4844 (rep_stosqi): Likewise.
4845 (memcmp expander): Update calls.
4846 (cmpstrsi_nz_1, cmpstrsi_1, strlensi_1): Avoid match_dups in
4847 the clobbers.
4848
4849 * i386.md (fp_jcc_3, fp_jcc_4, jp_fcc_5): if_then_else operand is
4850 VOIDmode.
4851 (fp_jcc_4, fp_jcc_3): Refuse unordered comparisons.
4852
4853 2000-09-28 David O'Brien <obrien@FreeBSD.org>
4854
4855 * config/i386/freebsd-aout.h: New, FreeBSD a.out config file.
4856 Contains the old contents of config/i386/freebsd.h
4857 * config/i386/freebsd.h: Now the ELF rather than a.out config file.
4858 Contains the old contents of config/i386/freebsd-elf.h
4859 * config/i386/freebsd-elf.h: Retire this file -- contents moved to
4860 config/i386/freebsd.h.
4861 * configure.in: Adjust for above changes.
4862 * po/POTFILES.in: Likewise.
4863 * po/en_GB.po: Likewise.
4864 * po/gcc.pot: Likewise.
4865 * configure: Rebuilt.
4866
4867 2000-09-28 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
4868
4869 * doloop.c (doloop_modify): Prevent delete_insn() from
4870 deleting too much. Prefer loop->top over loop->start as
4871 target for the new JUMP insn.
4872 (doloop_valid_p): Ignore loop with exit_count != 0.
4873
4874 2000-09-28 Philipp Thomas <pthomas@suse.de>
4875
4876 * invoke.texi (i386 Options): Add athlon to table of possible
4877 choices for -mcpu=.
4878
4879 2000-09-28 Gabriel Dos Reis <gdr@codesourcery.com>
4880
4881 * diagnostic.h (output_clear_message_text): New function.
4882 (output_message_text): New macro.
4883
4884 * diagnostic.c (clear_text_info): Rename to
4885 output_clear_message_text.
4886 (output_clear): Adjust.
4887 (output_finish): Rename to output_finalize_message. Tweek.
4888 (output_to_stream): Adjust.
4889
4890 2000-09-28 Neil Booth <neilb@earthling.net>
4891
4892 * cpperror.c (_cpp_begin_message): Do the test for suppression
4893 of warnings and pedantic warnings before the "is a warning an
4894 error" tests.
4895 * cppinit.c (cpp_handle_option): Remove surplus \n.
4896 * cpplex.c (ON_REST_ARG): Delete.
4897 (skip_block_comment): Initialise prevc.
4898 (parse_args): Improve error messages.
4899 (maybe_paste_with_next): Use CONTEXT_VARARGS rather
4900 than ON_REST_ARG.
4901 * cpplib.c (cpp_push_buffer): Fix grammar in message.
4902 * cppmain.c (main): Set callbacks for #ident and #pragma
4903 only if no_output option is false.
4904 (do_pragma_implementation): Only call the #pragma handler
4905 if it is set in the cpp_reader structure.
4906
4907 Wed Sep 27 14:00:07 2000 Donald Lindsay <dlindsay@cygnus.com>
4908
4909 * integrate.c (copy_insn_list): if an ignored return value
4910 is being clobbered, skip cloning that into the inline copy.
4911
4912 2000-09-27 Joseph S. Myers <jsm28@cam.ac.uk>
4913
4914 * extend.texi, invoke.texi, gcc.texi, install.texi: Consistently
4915 use @uref for formatting URLs.
4916
4917 2000-09-27 Mark Elbrecht <snowball3@bigfoot.com>
4918
4919 * config/i386/djgpp.h (UNIQUE_SECTION): Constify the variables
4920 name and prefix.
4921
4922 Tue 26-Sep-2000 18:25:38 BST Neil Booth <neilb@earthling.net>
4923
4924 * gcc.c (cpp_options): Add spec for -ftabstop=.
4925 (invoke_as): New spec that handles invoking as.
4926 Update specs to handle -save-temps and -traditional.
4927 * ch/lang-specs.h, f/lang-specs.h, java/lang-specs.h:
4928 Use invoke_as.
4929 * cp/lang-specs.h, objc/lang-specs.h: Update to use
4930 invoke_as, and handle -save-temps and -traditional (if
4931 appropriate).
4932
4933 2000-09-26 Jakub Jelinek <jakub@redhat.com>
4934
4935 * config/sparc/sparc.c (sparc_emit_set_const64): Don't abort when
4936 op0 is a SUBREG.
4937 (function_arg_slotno): Accept TImode/CTImode.
4938 * config/sparc/sparc.h (MIN_UNITS_PER_WORD): If IN_LIBGCC2 define
4939 to UNITS_PER_WORD.
4940
4941 2000-09-26 Michael Hayes <mhayes@cygnus.com>
4942
4943 * flow.c (flow_loop_pre_header_scan): Punt if loop enters
4944 from entry block.
4945
4946 2000-09-25 Jim Wilson <wilson@cygnus.com>
4947
4948 * config/ia64/ia64.h (INDEX_REG_CLASS): Define to GENERAL_REGS.
4949 (REGNO_OK_FOR_INDEX_P): Define to REGNO_OK_FOR_BASE_P.
4950 (LEGITIMATE_ADDRESS_DISP): Use LEGITIMATE_ADDRESS_REG.
4951 (REG_OK_FOR_INDEX): Define to REG_OK_FOR_BASE_P.
4952
4953 Tue 26-Sep-2000 00:16:22 BST Neil Booth <neilb@earthling.net>
4954
4955 * cpplex.c (parse_args): Don't set VOID_REST flag.
4956 (CONTEXT_VARARGS): New flag.
4957 (maybe_paste_with_next): Set context earlier in loop. Use
4958 it. Do varargs test with CONTEXT_VARARGS flag.
4959 (push_arg_context): Set CONTEXT_VARARGS flag if we're
4960 pushing an argument context for a varargs argument.
4961 * cpplib.h (VOID_REST): Delete.
4962 * gcc.dg/cpp/vararg1.c: Add test case.
4963
4964 2000-09-25 Branko Cibej <branko.cibej@hermes.si>
4965
4966 * flags.h: Declare warning flag warn_system_headers.
4967 * toplev.c: Define it.
4968 (W_options): Add option -Wsystem-headers.
4969 * diagnostic.c (count_error): Test warn_system_headers.
4970 * invoke.texi: Add description for -Wsystem-headers.
4971 * cpplib.h (cpp_options): New member warn_system_headers.
4972 * cpphash.h (CPP_PEDANTIC, CPP_WTRADITIONAL): Don't test
4973 CPP_IN_SYSTEM_HEADER.
4974 * cpplib.c (do_import, do_pragma_once): Likewise.
4975 * cpperror.c (_cpp_begin_message): Test warn_system_headers
4976 and CPP_IN_SYSTEM_HEADER.
4977 * cppinit.c (handle_option): Recognize -Wsystem_headers.
4978 (print_help): Describe -Wsystem_headers.
4979 * cpplex.c (lex_line): Reorganize condition so that warnings
4980 about C++ comments in system headers can be enabled. Remove
4981 label do_line_comment.
4982
4983 Mon 25-Sep-2000 23:38:27 BST Neil Booth <neilb@earthling.net>
4984
4985 * cpplex.c (save_comment): Only store the initial '/'
4986 now.
4987 (lex_token): Combine handling of the two comment types.
4988 Pass everything but the initial '/' to save_comment.
4989
4990 Mon 25-Sep-2000 23:31:45 BST Neil Booth <neilb@earthling.net>
4991
4992 * cpphash.h (_cpp_digraph_spellings, _cpp_process_directive,
4993 _cpp_can_paste): New library-internal prototypes.
4994 * cpplex.c (dump_param_spelling, output_line_command,
4995 output_token, cpp_scan_buffer, cpp_scan_buffer_nooutput,
4996 cpp_printf, cpp_output_list): Move to cppoutput.c.
4997 (process_directive, can_paste, digraph_spellings): Add _cpp_ prefix.
4998 * cppmacro.c (dump_macro_args, cpp_dump_definition) Move to
4999 cppoutput.c.
5000 * cppoutput.c (dump_macro_args, cpp_dump_definition, output_token,
5001 dump_param_spelling, output_line_command, cpp_scan_buffer,
5002 cpp_scan_buffer_nooutput, cpp_printf, cpp_output_list): Moved
5003 from elsewhere.
5004 * Makefile.in: Add cppoutput.c.
5005 * po/POTFILES.in: Add cppoutput.c.
5006
5007 2000-09-25 Richard Henderson <rth@cygnus.com>
5008
5009 * config/ia64/ia64.c (ia64_print_operand): Define 'e' as 64-n.
5010 * config/ia64/ia64.md (rotrsi3): Allow variable rotates; don't
5011 split until after reload.
5012 (rotlsi3, rotldi3): New.
5013
5014 2000-09-25 Gabriel Dos Reis <gdr@codesourcery.com>
5015
5016 * diagnostic.c (output_last_position): Define.
5017 (set_real_maximum_length): Tweek.
5018 * diagnostic.h (output_last_position): Declare.
5019
5020 2000-09-25 Kazu Hirata <kazu@hxi.com>
5021
5022 * config/i386/i386.c: Fix formatting.
5023
5024 2000-09-24 Alan Lehotsky <alehotsky@cygnus.com>
5025
5026 * emit-rtl-c (gen_lowpart_common): Accept non-paradoxical SUBREG when
5027 UNITS_PER_WORD is small.
5028
5029 2000-09-25 Joseph S. Myers <jsm28@cam.ac.uk>
5030
5031 * c-common.c (format_char_info): Add flags2; update comments.
5032 (print_char_table, scan_char_table, time_char_table): Split some
5033 flags out into flags2.
5034 (check_format_info): Use flags2 for those flags, for identifying
5035 the initial character of a scanf scanset, and for identifying
5036 printf formats where the '0' flag is ignored with precision.
5037
5038 2000-09-25 Hans-Peter Nilsson <hp@axis.com>
5039
5040 Changes below marked "here" add TABs on either or both sides,
5041 covering start of line, up to any operand for all noted .*ASM.*_OP
5042 definitions. All callers changed.
5043 * tm.texi: Make documented *_ASM.*_OP:s include spacing
5044 (TEXT_SECTION_ASM_OP, DATA_SECTION_ASM_OP, SHARED_SECTION_ASM_OP,
5045 BSS_SECTION_ASM_OP, SHARED_BSS_SECTION_ASM_OP, INIT_SECTION_ASM_OP,
5046 ASM_BYTE_OP, FINI_SECTION_ASM_OP, EH_FRAME_SECTION_ASM_OP,
5047 ASM_STABS_OP, ASM_STABD_OP, ASM_STABN_OP).
5048 Fix typos in description for LONG_LONG_TYPE_SIZE and
5049 FINI_SECTION_ASM_OP.
5050 * crtstuff.c (CTORS_SECTION_ASM_OP, DTORS_SECTION_ASM_OP): Explain
5051 why these defaults don't have leading spacing.
5052 * dbxout.c (ASM_STABS_OP, ASM_STABN_OP): Here.
5053 * dwarf2out.c (UNALIGNED_SHORT_ASM_OP, UNALIGNED_INT_ASM_OP,
5054 UNALIGNED_DOUBLE_INT_ASM_OP, SECTION_ASM_OP, ASM_BYTE_OP): Here.
5055 * dwarfout.c (FILE_ASM_OP, VERSION_ASM_OP,
5056 UNALIGNED_SHORT_ASM_OP, UNALIGNED_INT_ASM_OP, ASM_BYTE_OP,
5057 PUSHSECTION_ASM_OP, POPSECTION_ASM_OP): Here.
5058 * defaults.h (ASM_STABD_OP, EH_FRAME_SECTION_ASM_OP): Here.
5059 * varasm.c (ASM_STABS_OP): Here.
5060 * xcoffout.h (ASM_STABS_OP): Here.
5061 * config/elfos.h (IDENT_ASM_OP, ASM_BYTE_OP, SET_ASM_OP,
5062 SKIP_ASM_OP, ALIGN_ASM_OP, COMMON_ASM_OP, LOCAL_ASM_OP,
5063 INT_ASM_OP, ASCII_DATA_ASM_OP, TYPE_ASM_OP, SIZE_ASM_OP,
5064 STRING_ASM_OP): Here.
5065 * config/freebsd.h (IDENT_ASM_OP): Here.
5066 * config/linux-aout.h (SET_ASM_OP): Here.
5067 * config/linux.h (SET_ASM_OP): Here.
5068 * config/lynx.h (CTORS_SECTION_ASM_OP, DTORS_SECTION_ASM_OP,
5069 INT_ASM_OP): Here.
5070 * config/netbsd.h (TYPE_ASM_OP, SIZE_ASM_OP, SET_ASM_OP): Here.
5071 * config/nextstep.h (EH_FRAME_SECTION_ASM_OP, ALIGN_ASM_OP): Here.
5072 * config/openbsd.h (TYPE_ASM_OP, SIZE_ASM_OP, SET_ASM_OP): Here.
5073 * config/psos.h (CTORS_SECTION_ASM_OP, DTORS_SECTION_ASM_OP,
5074 INT_ASM_OP): Here.
5075 * config/ptx4.h (IDENT_ASM_OP, ASM_BYTE_OP, SET_ASM_OP,
5076 SKIP_ASM_OP, ALIGN_ASM_OP, COMMON_ASM_OP, LOCAL_ASM_OP,
5077 INT_ASM_OP, ASCII_DATA_ASM_OP, CONST_SECTION_ASM_OP,
5078 CTORS_SECTION_ASM_OP, DTORS_SECTION_ASM_OP, INIT_SECTION_ASM_OP,
5079 FINI_SECTION_ASM_OP, TYPE_ASM_OP, SIZE_ASM_OP STRING_ASM_OP): Here.
5080 * config/svr3.h (INIT_SECTION_ASM_OP, FINI_SECTION_ASM_OP,
5081 CONST_SECTION_ASM_OP, ASM_BYTE_OP): Here.
5082 * config/a29k/udi.h (INT_ASM_OP): Here.
5083 * config/alpha/alpha-interix.h (CONST_SECTION_ASM_OP,
5084 CTORS_SECTION_ASM_OP, DTORS_SECTION_ASM_OP, INT_ASM_OP,
5085 SET_ASM_OP): Here.
5086 * config/alpha/alpha.h (TEXT_SECTION_ASM_OP,
5087 READONLY_DATA_SECTION_ASM_OP, DATA_SECTION_ASM_OP,
5088 UNALIGNED_SHORT_ASM_OP, UNALIGNED_INT_ASM_OP,
5089 UNALIGNED_DOUBLE_INT_ASM_OP, ASM_STABS_OP, ASM_STABN_OP,
5090 ASM_STABD_OP): Here.
5091 * config/alpha/elf.h (IDENT_ASM_OP, SKIP_ASM_OP, ALIGN_ASM_OP,
5092 COMMON_ASM_OP, INT_ASM_OP, ASCII_DATA_ASM_OP,
5093 CONST_SECTION_ASM_OP, CTORS_SECTION_ASM_OP, DTORS_SECTION_ASM_OP,
5094 BSS_SECTION_ASM_OP, SBSS_SECTION_ASM_OP, SDATA_SECTION_ASM_OP,
5095 INIT_SECTION_ASM_OP, FINI_SECTION_ASM_OP, TYPE_ASM_OP,
5096 SIZE_ASM_OP, STRING_ASM_OP): Here.
5097 * config/alpha/vms.h (LINK_SECTION_ASM_OP,
5098 READONLY_SECTION_ASM_OP, LITERALS_SECTION_ASM_OP,
5099 CTORS_SECTION_ASM_OP, DTORS_SECTION_ASM_OP, COMMON_ASM_OP): Here.
5100 * config/arc/arc.h (ASM_BYTE_OP, SET_ASM_OP): Here.
5101 (PUSHSECTION_ASM_OP): Define this, not PUSHSECTION_FORMAT.
5102 * config/arm/aof.h (CTORS_SECTION_ASM_OP, DTORS_SECTION_ASM_OP):
5103 Here.
5104 * config/arm/aout.h (TEXT_SECTION_ASM_OP, DATA_SECTION_ASM_OP,
5105 BSS_SECTION_ASM_OP, SET_ASM_OP): Here.
5106 * config/arm/coff.h (INT_ASM_OP): Here.
5107 * config/arm/conix-elf.h (UNALIGNED_WORD_ASM_OP): Here.
5108 * config/arm/elf.h (TYPE_ASM_OP, SIZE_ASM_OP, INT_ASM_OP): Here.
5109 * config/arm/linux-elf.h (IDENT_ASM_OP, CONST_SECTION_ASM_OP,
5110 INIT_SECTION_ASM_OP, FINI_SECTION_ASM_OP): Here.
5111 * config/arm/unknown-elf.h (UNALIGNED_WORD_ASM_OP): Here.
5112 * config/avr/avr.h (TEXT_SECTION_ASM_OP, DATA_SECTION_ASM_OP,
5113 ASM_BYTE_OP, TYPE_ASM_OP, SIZE_ASM_OP, WEAK_ASM_OP,
5114 STRING_ASM_OP): Here. Update documentation copy in comments.
5115 * config/c4x/c4x.h (ASM_STABS_OP, BSS_SECTION_ASM_OP): Here.
5116 * config/clipper/clipper.h (TEXT_SECTION_ASM_OP,
5117 DATA_SECTION_ASM_OP): Here.
5118 * config/clipper/clix.h (BSS_SECTION_ASM_OP, INIT_SECTION_ASM_OP):
5119 Here.
5120 * config/convex/convex.h (TEXT_SECTION_ASM_OP,
5121 DATA_SECTION_ASM_OP, BSS_SECTION_ASM_OP): Here.
5122 * config/d30v/d30v.h (TEXT_SECTION_ASM_OP, DATA_SECTION_ASM_OP,
5123 BSS_SECTION_ASM_OP): Here.
5124 * config/fr30/fr30.h (TEXT_SECTION_ASM_OP, DATA_SECTION_ASM_OP,
5125 BSS_SECTION_ASM_OP): Here.
5126 * config/fx80/fx80.h (TEXT_SECTION_ASM_OP, DATA_SECTION_ASM_OP):
5127 Here.
5128 * config/gmicro/gmicro.h (TEXT_SECTION_ASM_OP,
5129 DATA_SECTION_ASM_OP, BSS_SECTION_ASM_OP): Here.
5130 * config/h8300/h8300.h (ASM_WORD_OP): Here.
5131 * config/i370/i370.h (TEXT_SECTION_ASM_OP, DATA_SECTION_ASM_OP,
5132 BSS_SECTION_ASM_OP): Here.
5133 * config/i386/aix386.h (INIT_SECTION_ASM_OP): Here.
5134 * config/i386/bsd.h (ASM_BYTE_OP): Here.
5135 * config/i386/cygwin.h (SET_ASM_OP, INT_ASM_OP): Here.
5136 * config/i386/dgux.h (CONST_SECTION_ASM_OP): Here.
5137 * config/i386/djgpp.h (IDENT_ASM_OP, INT_ASM_OP, SET_ASM_OP):
5138 Here.
5139 * config/i386/freebsd-elf.h (SET_ASM_OP): Here.
5140 * config/i386/freebsd.h (TYPE_ASM_OP, SIZE_ASM_OP, INT_ASM_OP):
5141 Here.
5142 * config/i386/i386-coff.h (CTORS_SECTION_ASM_OP,
5143 DTORS_SECTION_ASM_OP, INT_ASM_OP): Here.
5144 * config/i386/i386-interix.h (STRING_ASM_OP, CONST_SECTION_ASM_OP,
5145 CTORS_SECTION_ASM_OP, DTORS_SECTION_ASM_OP, INT_ASM_OP,
5146 SET_ASM_OP): Here.
5147 * config/i386/i386elf.h (BSS_SECTION_ASM_OP): Here.
5148 * config/i386/netbsd.h (INT_ASM_OP): Here.
5149 * config/i386/openbsd.h (INT_ASM_OP): Here.
5150 * config/i386/osfrose.h (TYPE_ASM_OP, SIZE_ASM_OP, SET_ASM_OP,
5151 IDENT_ASM_OP): Here.
5152 * config/i386/sco5.h (ALIGN_ASM_OP, ASCII_DATA_ASM_OP,
5153 ASM_BYTE_OP, IDENT_ASM_OP, COMMON_ASM_OP, SET_ASM_OP,
5154 LOCAL_ASM_OP, INT_ASM_OP, TYPE_ASM_OP, SIZE_ASM_OP, STRING_ASM_OP,
5155 SKIP_ASM_OP, GLOBAL_ASM_OP): Here.
5156 * config/i386/seq-sysv3.h (SHARED_SECTION_ASM_OP,
5157 SHARED_BSS_SECTION_ASM_OP): Here.
5158 * config/i386/sequent.h (SHARED_SECTION_ASM_OP): Here.
5159 * config/i386/sun386.h (ASM_BYTE_OP, TEXT_SECTION_ASM_OP,
5160 DATA_SECTION_ASM_OP): Here.
5161 * config/i386/svr3gas.h (INIT_SECTION_ASM_OP, FINI_SECTION_ASM_OP,
5162 CONST_SECTION_ASM_OP): Here.
5163 * config/i386/sysv3.h (INIT_SECTION_ASM_OP): Here.
5164 * config/i386/unix.h (TEXT_SECTION_ASM_OP, DATA_SECTION_ASM_OP,
5165 BSS_SECTION_ASM_OP): Here.
5166 * config/i860/bsd-gas.h (ASCII_DATA_ASM_OP): Here.
5167 * config/i860/bsd.h (ASCII_DATA_ASM_OP): Here.
5168 * config/i860/fx2800.h (ASM_STABS_OP, ASM_STABN_OP, ASM_STABD_OP,
5169 BSS_ASM_OP): Here, but use trailing spaces.
5170 * config/i860/i860.h (ASM_BYTE_OP, TEXT_SECTION_ASM_OP,
5171 DATA_SECTION_ASM_OP): Here.
5172 * config/i860/paragon.h (ASCII_DATA_ASM_OP, BSS_SECTION_ASM_OP):
5173 Here.
5174 * config/i860/sysv3.h (ASCII_DATA_ASM_OP, CTORS_SECTION_ASM_OP,
5175 DTORS_SECTION_ASM_OP, TDESC_SECTION_ASM_OP): Here.
5176 * config/i860/sysv4.h (CTORS_SECTION_ASM_OP, DTORS_SECTION_ASM_OP,
5177 TDESC_SECTION_ASM_OP): Here.
5178 * config/i960/i960-coff.h (CTORS_SECTION_ASM_OP,
5179 DTORS_SECTION_ASM_OP, INT_ASM_OP): Here.
5180 * config/i960/i960.h (TEXT_SECTION_ASM_OP, DATA_SECTION_ASM_OP):
5181 Here.
5182 * config/ia64/ia64.h (TEXT_SECTION_ASM_OP, DATA_SECTION_ASM_OP,
5183 BSS_SECTION_ASM_OP, EH_FRAME_SECTION_ASM_OP,
5184 UNALIGNED_SHORT_ASM_OP, UNALIGNED_INT_ASM_OP,
5185 UNALIGNED_DOUBLE_INT_ASM_OP): Here.
5186 * config/ia64/sysv4.h (ASM_BYTE_OP, STRING_ASM_OP, SKIP_ASM_OP,
5187 COMMON_ASM_OP, ASCII_DATA_ASM_OP, INIT_SECTION_ASM_OP,
5188 FINI_SECTION_ASM_OP, CTORS_SECTION_ASM_OP, DTORS_SECTION_ASM_OP,
5189 SDATA_SECTION_ASM_OP, SBSS_SECTION_ASM_OP): Here.
5190 * config/m32r/m32r.h (SCOMMON_ASM_OP): Here.
5191 * config/m68hc11/m68hc11.h (GLOBAL_ASM_OP): Here.
5192 * config/m68k/auxas.h (BYTE_ASM_OP, WORD_ASM_OP, LONG_ASM_OP,
5193 SPACE_ASM_OP, ALIGN_ASM_OP, GLOBAL_ASM_OP, SWBEG_ASM_OP,
5194 SET_ASM_OP): Here.
5195 * config/m68k/coff.h (BSS_SECTION_ASM_OP, CTORS_SECTION_ASM_OP,
5196 DTORS_SECTION_ASM_OP, INT_ASM_OP): Here.
5197 * config/m68k/crds.h (BSS_SECTION_ASM_OP): Here.
5198 * config/m68k/dpx2.h (ASM_BYTE_OP, GLOBAL_ASM_OP): Here.
5199 * config/m68k/hp320.h (ASCII_DATA_ASM_OP, GLOBAL_ASM_OP): Here.
5200 * config/m68k/linux.h (BSS_SECTION_ASM_OP): Here.
5201 * config/m68k/lynx.h (BSS_SECTION_ASM_OP): Here.
5202 * config/m68k/m68k.h (TEXT_SECTION_ASM_OP, DATA_SECTION_ASM_OP,
5203 GLOBAL_ASM_OP): Here.
5204 * config/m68k/m68kelf.h (SWBEG_ASM_OP, BSS_ASM_OP,
5205 BSS_SECTION_ASM_OP): Here.
5206 * config/m68k/m68kv4.h (BSS_ASM_OP): Here.
5207 * config/m68k/mot3300.h (TEXT_SECTION_ASM_OP, DATA_SECTION_ASM_OP,
5208 ASCII_DATA_ASM_OP, SET_ASM_OP, CTORS_SECTION_ASM_OP,
5209 DTORS_SECTION_ASM_OP, GLOBAL_ASM_OP, ASM_BYTE_OP, ALIGN_ASM_OP,
5210 SKIP_ASM_OP): Here.
5211 * config/m68k/newsgas.h (SET_ASM_OP): Here.
5212 * config/m68k/rtemself.h (INIT_SECTION_ASM_OP,
5213 FINI_SECTION_ASM_OP, EH_FRAME_SECTION_ASM_OP): Here.
5214 * config/m68k/sgs.h (BYTE_ASM_OP, WORD_ASM_OP, LONG_ASM_OP,
5215 SPACE_ASM_OP, ALIGN_ASM_OP, GLOBAL_ASM_OP, SWBEG_ASM_OP,
5216 SET_ASM_OP, UNALIGNED_SHORT_ASM_OP, UNALIGNED_INT_ASM_OP): Here,
5217 but use trailing spaces.
5218 * config/m68k/tower-as.h (TEXT_SECTION_ASM_OP,
5219 DATA_SECTION_ASM_OP, GLOBAL_ASM_OP, INIT_SECTION_ASM_OP,
5220 FINI_SECTION_ASM_OP, CONST_SECTION_ASM_OP, BSS_SECTION_ASM_OP):
5221 Here.
5222 * config/m88k/dgux.h (FINI_SECTION_ASM_OP, INIT_SECTION_ASM_OP,
5223 CTORS_SECTION_ASM_OP, DTORS_SECTION_ASM_OP): Here.
5224 * config/m88k/m88k.h (TEXT_SECTION_ASM_OP, DATA_SECTION_ASM_OP,
5225 CONST_SECTION_ASM_OP, TDESC_SECTION_ASM_OP, CTORS_SECTION_ASM_OP,
5226 DTORS_SECTION_ASM_OP, INIT_SECTION_ASM_OP, FINI_SECTION_ASM_OP,
5227 IDENT_ASM_OP, FILE_ASM_OP, SECTION_ASM_OP, SET_ASM_OP,
5228 GLOBAL_ASM_OP, ALIGN_ASM_OP, SKIP_ASM_OP, COMMON_ASM_OP,
5229 BSS_ASM_OP, FLOAT_ASM_OP, DOUBLE_ASM_OP, INT_ASM_OP, SHORT_ASM_OP,
5230 CHAR_ASM_OP, ASCII_DATA_ASM_OP, SBSS_ASM_OP, SCOMM_ASM_OP,
5231 SDATA_SECTION_ASM_OP, TYPE_ASM_OP, SIZE_ASM_OP, INTERNAL_ASM_OP,
5232 VERSION_ASM_OP, UNALIGNED_SHORT_ASM_OP, UNALIGNED_INT_ASM_OP,
5233 PUSHSECTION_ASM_OP, POPSECTION_ASM_OP, REQUIRES_88110_ASM_OP,
5234 ASM_BYTE_OP): Here.
5235 * config/m88k/openbsd.h (SET_ASM_OP): Here.
5236 * config/m88k/sysv4.h (INIT_SECTION_ASM_OP, FINI_SECTION_ASM_OP,
5237 CTORS_SECTION_ASM_OP, DTORS_SECTION_ASM_OP): Here.
5238 * config/mcore/mcore-elf.h (UNALIGNED_INT_ASM_OP,
5239 UNALIGNED_SHORT_ASM_OP, CTORS_SECTION_ASM_OP,
5240 DTORS_SECTION_ASM_OP): Here.
5241 * config/mcore/mcore-pe.h (CTORS_SECTION_ASM_OP,
5242 DTORS_SECTION_ASM_OP, INT_ASM_OP): Here.
5243 * config/mips/elf.h (TYPE_ASM_OP, SIZE_ASM_OP,
5244 BSS_SECTION_ASM_OP): Here.
5245 * config/mips/elf64.h (TYPE_ASM_OP, SIZE_ASM_OP): Here.
5246 * config/mips/iris5.h (ABICALLS_ASM_OP): Here.
5247 * config/mips/iris6.h (TYPE_ASM_OP, SIZE_ASM_OP,
5248 POPSECTION_ASM_OP, BSS_SECTION_ASM_OP, CONST_SECTION_ASM_OP_32,
5249 CONST_SECTION_ASM_OP_64, CTORS_SECTION_ASM_OP,
5250 DTORS_SECTION_ASM_OP, EH_FRAME_SECTION_ASM_OP): Here.
5251 * config/mips/mips.c (ABICALLS_ASM_OP): Here.
5252 * config/mips/mips.h (ASM_STABS_OP, ASM_STABN_OP, ASM_STABD_OP):
5253 Here.
5254 * config/mips/netbsd.h (TYPE_ASM_OP, SIZE_ASM_OP, WEAK_ASM_OP):
5255 Here.
5256 * config/mips/osfrose.h (SET_ASM_OP): Here.
5257 * config/mips/sni-svr4.h (ABICALLS_ASM_OP): Here.
5258 * config/ns32k/encore.h (SHARED_SECTION_ASM_OP): Here.
5259 * config/ns32k/merlin.h (SHARED_SECTION_ASM_OP): Here.
5260 * config/ns32k/ns32k.h (TEXT_SECTION_ASM_OP, DATA_SECTION_ASM_OP):
5261 Here.
5262 * config/ns32k/sequent.h (SHARED_SECTION_ASM_OP): Here.
5263 * config/ns32k/tek6000.h (SHARED_SECTION_ASM_OP): Here.
5264 * config/pa/pa-64.h (INT_ASM_OP, TYPE_ASM_OP, SIZE_ASM_OP): Here.
5265 * config/pa/pa.h (ASM_STABS_OP, ASM_STABN_OP): Here.
5266 * config/pj/pj.h (SET_ASM_OP, BSS_SECTION_ASM_OP): Here.
5267 * config/pyr/pyr.h (TEXT_SECTION_ASM_OP, DATA_SECTION_ASM_OP):
5268 Here.
5269 * config/romp/romp.h (TEXT_SECTION_ASM_OP, DATA_SECTION_ASM_OP):
5270 Here.
5271 * config/rs6000/rs6000.h (SET_ASM_OP): Here.
5272 * config/rs6000/sol2.h (ASM_STABN_OP): Here.
5273 * config/rs6000/sysv4.h (SKIP_ASM_OP, LOCAL_ASM_OP, LCOMM_ASM_OP):
5274 Here.
5275 * config/sh/sh.h (SET_ASM_OP, BSS_SECTION_ASM_OP,
5276 UNALIGNED_SHORT_ASM_OP, UNALIGNED_INT_ASM_OP): Here.
5277 * config/sparc/linux.h (COMMON_ASM_OP): Here.
5278 * config/sparc/linux64.h (COMMON_ASM_OP,
5279 UNALIGNED_DOUBLE_INT_ASM_OP): Here.
5280 * config/sparc/litecoff.h (BSS_SECTION_ASM_OP,
5281 CTORS_SECTION_ASM_OP, DTORS_SECTION_ASM_OP, INT_ASM_OP): Here.
5282 * config/sparc/lynx.h (BSS_SECTION_ASM_OP): Here.
5283 * config/sparc/pbd.h (ASM_INT_OP): Here.
5284 * config/sparc/sp64-elf.h (UNALIGNED_LONGLONG_ASM_OP): Here.
5285 * config/sparc/sparc.h (ASM_BYTE_OP, TEXT_SECTION_ASM_OP,
5286 DATA_SECTION_ASM_OP, IDENT_ASM_OP): Here.
5287 * config/sparc/sun4gas.h (UNALIGNED_DOUBLE_INT_ASM_OP,
5288 UNALIGNED_INT_ASM_OP, UNALIGNED_SHORT_ASM_OP): Here.
5289 * config/sparc/sysv4.h (STRING_ASM_OP, COMMON_ASM_OP, SKIP_ASM_OP,
5290 UNALIGNED_DOUBLE_INT_ASM_OP, UNALIGNED_INT_ASM_OP,
5291 UNALIGNED_SHORT_ASM_OP, PUSHSECTION_ASM_OP, POPSECTION_ASM_OP,
5292 TEXT_SECTION_ASM_OP, DATA_SECTION_ASM_OP, BSS_SECTION_ASM_OP,
5293 CONST_SECTION_ASM_OP, INIT_SECTION_ASM_OP, FINI_SECTION_ASM_OP,
5294 CTORS_SECTION_ASM_OP, DTORS_SECTION_ASM_OP,
5295 EH_FRAME_SECTION_ASM_OP): Here.
5296 * config/sparc/vxsim.h (COMMON_ASM_OP): Here.
5297 * config/spur/spur.h (TEXT_SECTION_ASM_OP, DATA_SECTION_ASM_OP):
5298 Here.
5299 * config/tahoe/tahoe.h (TEXT_SECTION_ASM_OP, DATA_SECTION_ASM_OP):
5300 Here.
5301 * config/v850/v850.h (SCOMMON_ASM_OP, ZCOMMON_ASM_OP,
5302 TCOMMON_ASM_OP): Here.
5303 * config/vax/vax.h (TEXT_SECTION_ASM_OP, DATA_SECTION_ASM_OP):
5304 Here.
5305 * config/we32k/we32k.h (TEXT_SECTION_ASM_OP, DATA_SECTION_ASM_OP,
5306 ASM_BYTE_OP): Here.
5307
5308 2000-09-25 Richard Henderson <rth@cygnus.com>
5309
5310 * expmed.c (store_bit_field): Adjust last change to not consider
5311 any word-sized field naturally aligned.
5312
5313 2000-09-24 Richard Henderson <rth@cygnus.com>
5314
5315 * config/alpha/alpha.c (alpha_emit_conditional_branch): Handle
5316 TFmode unordered compares properly. Revalidate integer compare
5317 operands.
5318 (alpha_emit_setcc): New.
5319 (alpha_emit_conditional_move): Revalidate integer compare operands.
5320 * config/alpha/alpha-protos.h: Update.
5321 * config/alpha/alpha.md (cmpdi): Allow general operands.
5322 (sne): Use alpha_emit_setcc.
5323 (seq, slt, sle, sgt, sge, sltu, sleu, sgtu, sgeu): Likewise.
5324 (sunordered, sordered): New.
5325
5326 2000-09-24 Richard Henderson <rth@cygnus.com>
5327
5328 * config/ia64/ia64-protos.h: Update.
5329 * config/ia64/ia64.c (call_multiple_values_operation): Remove.
5330 (ia64_expand_call): New.
5331 (ia64_expand_prologue): Emit an alloc if we need extra input
5332 registers.
5333 (ia64_expand_epilogue): New arg sibcall_p; don't emit the return
5334 instruction if true.
5335 (struct reg_flags): Add is_sibcall.
5336 (rtx_needs_barrier): A sibcall does not use CFM et al. Ignore USEs.
5337 (emit_insn_group_barriers): Set flags.is_sibcall. Remove hacks
5338 for CODE_FOR_gr_spill_internal/CODE_FOR_gr_restore_internal.
5339 * config/ia64/ia64.h (PREDICATE_CODES): Update.
5340 * config/ia64/ia64.md (call): Use ia64_expand_call.
5341 (call_value): Likewise.
5342 (sibcall, sibcall_value): New.
5343 (call patterns): Remove extra expanders; tidy.
5344 (sibcall_epilogue): New.
5345 (set_bsp): Remove the extra USE. Put the operand inside the UNSPEC.
5346
5347 2000-09-24 Richard Henderson <rth@cygnus.com>
5348
5349 * emit-rtl.c (gen_lowpart_common): Use trunc_int_for_mode.
5350
5351 * sibcall.c (skip_pic_restore): New.
5352 (identify_call_return_value): Use it.
5353
5354 2000-09-24 Mark Mitchell <mark@codesourcery.com>
5355
5356 * c-tree.texi: Moved here from cp/ir.texi. Documented nested
5357 functions. Generalize to handle both C and C++.
5358 * Makefile.in (c-tree.info): New target.
5359 (info): Add c-tree.info.
5360
5361 Sun Sep 24 09:15:48 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
5362
5363 * expr.c (store_field): If BITSIZE is negative, use size of type.
5364 (expand_expr, case COMPONENT_EXPR): Likewise.
5365
5366 Sun 24-Sep-2000 11:40:23 BST Neil Booth <NeilB@earthling.net>
5367
5368 * cpplex.c: Update TODO comment.
5369 * cpplib.c (do_error, do_warning): Merge common code of
5370 do_error and do_warning into do_diagnostic. Use it.
5371 (do_diagnostic): New function.
5372 * cpplib.h: Fix comment typo.
5373
5374 2000-09-24 Joseph S. Myers <jsm28@cam.ac.uk>
5375
5376 * c-common.c (check_format_info): Warn for a wide character string
5377 used as a non-wide format argument.
5378
5379 2000-09-24 Joseph S. Myers <jsm28@cam.ac.uk>
5380
5381 * builtins.def (BUILT_IN_LLABS): Add.
5382 * builtins.c (expand_builtin): Also abort on BUILT_IN_LLABS.
5383 * c-common.c (c_common_nodes_builtins): Create builtin functions
5384 __builtin_llabs, and plain llabs unless no_nonansi_builtins
5385 outside of C99 mode.
5386 (expand_tree_builtin): Handle BUILT_IN_LLABS.
5387
5388 Sat 23-Sep-2000 22:39:18 BST Neil Booth <NeilB@earthling.net>
5389
5390 * cpphash.h (CPP_RESERVE, CPP_PUTS_Q, CPP_PUTS, CPP_PUTC_Q,
5391 CPP_PUTC, DUMMY_TOKEN, NO_DUMMY_TOKEN): Delete.
5392 * cpplex.c (_cpp_expand_token_space, _cpp_init_toklist,
5393 _cpp_free_toklist): No need to worry about extra dummy token
5394 at the start of token lists any more.
5395 (trigraph_ok): Only warn outside comments.
5396 (skip_block_comment): Set and clear lexing_comment.
5397 (skip_line_comment): Take a cpp_reader not cpp_buffer.
5398 Set and clear lexing_comment.
5399 (parse_number): Handle leading '.' indicated by pfile->seen_dot.
5400 (check_long_token): Delete.
5401 (lex_percent, lex_dot): New subroutines of lex_token to
5402 handle lexing of '.' and '%' without lookback.
5403 (lex_token): Use lex_dot and lex_percent.
5404 (lex_line): Don't check for LIST_OFFSET.
5405 (_cpp_init_input_buffer): Update for new _cpp_init_toklist.
5406 * cpplib.c (_cpp_parse_assertion): Similarly.
5407 (cpp_push_buffer): Initialize extra_char.
5408 * cpplib.h (LIST_OFFSET): Delete.
5409 (struct cpp_buffer): New member extra_char.
5410 (struct lexer_state): New members lexing_comment and seen_dot.
5411
5412 2000-09-23 Jason Merrill <jason@redhat.com>
5413
5414 * config/rs6000/x-aix41 (CLIB): Define here.
5415 * config/rs6000/t-aix43: Not here.
5416 * config/rs6000/t-aix41: Or here. Remove.
5417 * configure.in: Don't use it.
5418
5419 2000-09-22 Jason Merrill <jason@redhat.com>
5420
5421 * configure.in: Add test for HAVE_LD_DWARF_LINKONCE.
5422 * toplev.c: Use it to initialize flag_eliminate_dwarf2dups.
5423 * config.in: Regenerate.
5424
5425 * configure.in: Fix checks for assembler features when using a
5426 one-tree assembler that has not yet been built.
5427 Fix --disable-threads.
5428
5429 2000-09-19 Geoff Keating <geoffk@cygnus.com>
5430
5431 * stmt.c (expand_asm_operands): Allow # in constraints.
5432
5433 2000-09-22 Jason Merrill <jason@redhat.com>
5434
5435 * c-lex.c (skip_white_space): Just treat CRs as horizontal whitespace.
5436
5437 * dbxout.c (dbxout_symbol_name): Just use DECL_NAME for
5438 function-local names.
5439
5440 2000-09-22 Brad Lucier <lucier@math.purdue.edu>
5441 Mark Mitchell <mark@codesourcery.com>
5442
5443 * toplev.c (warn_disabled_optimization): Declare new warning flag.
5444 * flags.h (warn_disabled_optimization): Add it here.
5445 * gcse.c (gcse_main): Add warning when disabled.
5446 * invoke.texi: Document -Wdisabled-optimization.
5447
5448 2000-09-21 Jason Merrill <jason@redhat.com>
5449
5450 * dwarf2out.c (add_const_value_attribute): Multiply by length, not 4.
5451
5452 * dwarf2out.c (tree_add_const_value_attribute): New fn.
5453 (gen_variable_die): Call it for non-definitions.
5454
5455 * dwarf2out.c (die_struct): Add die_mark field.
5456 (mark_dies, unmark_dies): New fns.
5457 (clear_die_sizes): Remove.
5458 (print_die): Check die_symbol rather than die_offset.
5459 (build_abbrev_table, output_pubnames, output_aranges): Check
5460 die_mark rather than die_offset.
5461 (output_comp_unit): Move calc_die_sizes after build_abbrev_table.
5462 Call mark_dies.
5463
5464 Thu 21-Sep-2000 18:19:05 BST Neil Booth <NeilB@earthling.net>
5465
5466 * cppfiles.c (lookup_include_file): Rename to open_file.
5467 Always create a splay tree value, even on syscall failures.
5468 Negative entries indicated by fd == -2.
5469 Re-open files closed in the meantime.
5470 (_cpp_fake_include): Create a negative splay tree entry.
5471 (find_include_file, cpp_read_file): Update for function name
5472 change.
5473 * gcc.gd/cpp/mi4.c: Testcase.
5474
5475 2000-09-21 Nick Clifton <nickc@redhat.com>
5476
5477 * config/arm/t-arm-elf (MULTILIB_DIRNAMES): Enable multilibs for
5478 ARM and THUMB modes.
5479
5480 * config/mcore/mcore.c: Fix compile time warnings.
5481 * config/mcore/mcore-protos.h: Fix compile time warnings.
5482
5483 2000-09-20 J. David Anglin <dave@hiauly1.hia.nrc.ca>
5484
5485 * configure.in: Correct test of gcc_cv_glibc.
5486 * configure: Rebuilt.
5487 * config.in: Rebuilt.
5488
5489 2000-09-20 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5490
5491 * builtins.c (expand_builtin_fputs): Also expand when length!=1.
5492 (expand_builtin): Handle BUILT_IN_FWRITE.
5493
5494 * builtins.def (BUILT_IN_FWRITE): New entry.
5495
5496 * c-common.c (c_common_nodes_and_builtins): Declare __builtin_fwrite.
5497
5498 Wed Sep 20 15:39:14 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
5499
5500 * gcc.c (modify_target): New variable and struct.
5501 (process_command): Handle MODIFY_TARGET_NAME.
5502 * tm.texi (MODIFY_TARGET_NAME): Add documentation for new macro.
5503 * config/pa/pa.h (MODIFY_TARGET_NAME): New macro.
5504
5505 * c-decl.c (finish_decl): Add else's to avoid referencing
5506 TYPE_DOMAIN of an ERROR_MARK.
5507
5508 Wed Sep 20 21:44:31 2000 Denis Chertykov <denisc@overta.ru>
5509
5510 * config/avr/avr.c (adjust_insn_length): Adjust lengths of
5511 `reload_in*' insns.
5512
5513 2000-09-19 Marek Michalkiewicz <marekm@linux.org.pl>
5514
5515 * config/avr/avr.md (neghi2): Add alternative for input and output
5516 operands in different registers, as in negsi2.
5517 (*negsi2): Remove '*' from the name. Use "movw" if available.
5518
5519 2000-09-19 Jim Wilson <wilson@cygnus.com>
5520
5521 * config/ia64/crtbegin.asm (__dso_handle): Delete use of
5522 HAVE_GAS_HIDDEN macro.
5523
5524 Tue 19-Sep-2000 22:38:57 BST Neil Booth <NeilB@earthling.net>
5525
5526 * cpplex.c (lex_line): Drop the EOF token for unknown
5527 directives in assembler.
5528
5529 2000-09-19 David Edelsohn <edelsohn@gnu.org>
5530
5531 * configure.in: Allow enable_threads_flag value of "aix". Define
5532 thread_file as "aix" for AIX 4.3 and above.
5533 * configure: Regenerated.
5534
5535 * gthr-aix.h: New file.
5536
5537 * rs6000/t-aix43: Replace soft-float multilib with pthread.
5538 Remove 403 processor multilib match. Fix rios2 processor multilib
5539 match.
5540
5541 * rs6000/aix.h (ASM_DECLARE_FUNCTION_NAME): Use function_section
5542 to return to appropriate csect.
5543
5544 2000-09-19 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5545
5546 * builtins.c (is_valid_printf_arglist, expand_builtin_printf): New
5547 functions.
5548 (expand_builtin_fputs): Set `target' parameter for `expand_expr'.
5549 (expand_builtin): Handle BUILT_IN_PUTCHAR, BUILT_IN_PUTS and
5550 BUILT_IN_PRINTF.
5551
5552 * builtins.def (BUILT_IN_PUTCHAR, BUILT_IN_PUTS, BUILT_IN_PRINTF):
5553 New entries.
5554
5555 * c-common.c (init_function_format_info): Handle __builtin_printf.
5556 Set `check_function_format_ptr'.
5557 (c_common_nodes_and_builtins): Set `puts_ftype' and
5558 `printf_ftype'. Declare __builtin_putchar, __builtin_puts,
5559 __builtin_printf and printf.
5560
5561 * tree.c, tree.h (check_function_format_ptr): Declare.
5562
5563 Tue 19-Sep-2000 18:26:57 BST Neil Booth <NeilB@earthling.net>
5564
5565 * cppfiles.c (read_include_file): Take no special action for
5566 zero-length files.
5567
5568 2000-09-19 Bernd Schmidt <bernds@redhat.co.uk>
5569
5570 * final.c (insn_current_reference_address): Use INSN_SHUID of seq
5571 rather than that of branch.
5572 (shorten_branches): Don't increment insn_current_address twice.
5573
5574 Undo most of the Wed Jan 27 23:39:53 1999 patch:
5575 * loop.h (struct induction): Delete members derived, ix and last_use.
5576 (struct loop_ivs): Delete members first_increment_giv and
5577 last_increment_giv.
5578 * loop.c (verify_dominator, find_life_end, cmp_recombine_givs_stats,
5579 recombine_givs): Delete functions.
5580 (find_and_verify_loops): Don't initialize cont_dominator.
5581 (strength_reduce): Lose code to try to find bivs that can be
5582 expressed as givs of another biv, and to convert biv increments
5583 into givs.
5584 Lose loop_scan_start variable, always use loop->scan_start.
5585 Don't call recombine_givs. Don't handle derived givs.
5586 (record_giv): Don't initialize derived and last_use fields.
5587 (biv_eliminiation_giv_has_0_offset): Lose code to handle derived
5588 givs.
5589 * unroll.c (derived_regs): Delete static variable.
5590 (unroll_loop): Don't initialize it.
5591 (copy_loop_body): Lose code to handle derived givs.
5592 (find_splittable_givs): Don't check for givs made from biv
5593 increments.
5594 Don't set derived_regs.
5595
5596 Fix misapplied earlier patch:
5597 * config/sh/sh.md (floatsisf_ie): Reenable. Remove explicit reference
5598 to fpul.
5599 (floatsisf2): Generate floatsisf_ie by default.
5600 (floatsisf_i4): Conditional on TARGET_SH4.
5601
5602 (floatsisf2, floatsidf2, extendsfdf2): Also use reg_no_subreg_operand
5603 predicate for the expanders.
5604
5605 2000-09-19 Richard Henderson <rth@cygnus.com>
5606
5607 * config/i386/i386.h (CPP_CPU_SPEC): Define i586 and i686 symbols
5608 in addition to pentium and pentiumpro symbols.
5609 (CPP_CPU_DEFAULT_SPEC): Likewise.
5610
5611 * c-typeck.c (c_expand_asm_operands): Restore the output tree
5612 after expanding.
5613
5614 * stmt.c (expand_expr_stmt): Only call warn_if_unused_value
5615 if the tree has side effects.
5616 (warn_if_unused_value): Do not warn about void constructs.
5617
5618 * c-decl.c (poplevel): Invoke warn_about_unused_variables.
5619
5620 * unroll.c (copy_loop_body): Update LABEL_NUSES before
5621 calling invert_jump.
5622
5623 2000-09-18 Geoff Keating <geoffk@cygnus.com>
5624
5625 * combine.c (can_combine_p): Don't substitute an ASM_OPERANDS
5626 into anything.
5627
5628 2000-09-18 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5629
5630 * Makefile.in (c-common.o): Depend on diagnostic.h.
5631
5632 * c-common.c: Include diagnostic.h.
5633 (tfaff): Delete.
5634 (status_warning): New function.
5635 (check_format_info, maybe_read_dollar_number, check_format_types,
5636 finish_dollar_format_checking, check_function_format): Accept a
5637 `status' parameter. All callers changed.
5638
5639 * c-common.h (check_function_format): Accept a `status' parameter.
5640
5641 * c-typeck.c: Update call to `check_function_format'.
5642
5643 2000-09-18 Richard Henderson <rth@cygnus.com>
5644
5645 * c-decl.c (c_expand_body): Call mark_varargs before
5646 expand_function_start.
5647
5648 2000-09-18 Geoff Keating <geoffk@cygnus.com>
5649
5650 * config/rs6000/eabi-cn.asm: Use /**/ to delimit comments, not #.
5651 * config/rs6000/eabi-ci.asm: Likewise.
5652
5653 2000-09-18 Richard Henderson <rth@cygnus.com>
5654
5655 * emit-rtl.c (init_emit_once): Initialize const_tiny_rtx
5656 for BImode.
5657
5658 2000-09-18 Jim Wilson <wilson@cygnus.com>
5659
5660 * unroll.c (loop_iterations): Pass increment to extend_for_giv_value
5661 before passing it to fold_rtx_mult_add.
5662
5663 * unroll.c (final_giv_value): Pass increment through
5664 extend_value_for_giv before passing it to emit_iv_add_mult.
5665
5666 * function.c (fixup_var_refs_1, case ZERO_EXTRACT): If we have a
5667 paradoxical subreg, then directly substitute the replacement and
5668 return.
5669
5670 Mon 18-Sep-2000 22:12:44 BST Neil Booth <NeilB@earthling.net>
5671
5672 * cpp.texi: Update documentation, including some clarifications,
5673 the treatment of various newline combinations, and space between
5674 backslash and newline.
5675
5676 Mon Sep 18 21:00:47 2000 J"orn Rennecke <amylaar@redhat.co.uk>
5677
5678 * sdbout.c (PUT_SDB_DEF, PUT_SDB_TAG, PUT_SDB_EPILOGUE_END):
5679 Replace ASM_OUTPUT_LABELREF with assemble_name.
5680
5681 Mon Sep 18 20:26:50 2000 J"orn Rennecke <amylaar@redhat.co.uk>
5682
5683 * sh.c (addsubcosts): CONST is not cheap.
5684 (find_barrier): For Sh1, take alignment after jumps into account.
5685
5686 2000-09-15 Andrew Haley <aph@redhat.com>
5687
5688 * toplev.c (rest_of_compilation): Call purge_hard_subreg_sets to
5689 remove all SETs of SUBREGs of hard registers.
5690 * function.c (purge_hard_subreg_sets): New function.
5691 (purge_single_hard_subreg_set): New function.
5692 * rtl.h: (purge_hard_subreg_sets): New function.
5693
5694 2000-09-18 Richard Henderson <rth@cygnus.com>
5695
5696 * config/ia64/ia64-protos.h: Update.
5697 * config/ia64/ia64.c (signed_inequality_operator): New.
5698 (ia64_expand_compare): New.
5699 (ia64_register_move_cost): Handle PR_REGS moves.
5700 (ia64_secondary_reload_class): Require a GR when moving to a PR.
5701 (struct reg_write_state): Add written_by_and/or.
5702 (struct reg_flags): Add is_and/or.
5703 (rws_update): Set them.
5704 (rws_access_regno): Test them to allow parallel comparisons.
5705 (rtx_needs_barrier): Recognize parallel comparisons.
5706 (emit_insn_group_barriers): Set prev_insn after a call stop bit.
5707 Call recog_memoized; ignore pred_rel_mutex.
5708 (emit_predicate_relation_info): Don't call find_basic_blocks here.
5709 (ia64_reorg): Do it here instead.
5710 * config/ia64/ia64.h: s/CCmode/BImode/g
5711 (MODES_TIEABLE_P): Don't tie BImode.
5712 (PREFERRED_RELOAD_CLASS): Do not reload operations into AR regs.
5713 (CONST_COSTS): Pick sensible values for CONST_INT based on context.
5714 (RTX_COSTS): Make multiply 4 insns.
5715 (MEMORY_MOVE_COST): New.
5716 (PREDICATE_CODES): Update.
5717 * config/ia64/ia64.md: s/CCmode/BImode/g
5718 (movcci, movbi): New.
5719 (andbi3, andcmbi3, iorbi3, iorcmbi3, one_cmplbi2): New.
5720 (cmpsi_and_0, cmpsi_and_1, cmpsi_andnot_0, cmpsi_andnot_1): New.
5721 (cmpdi_and_0, cmpdi_and_1, cmpdi_andnot_0, cmpdi_andnot_1): New.
5722 (tbit_and_0, tbit_and_1, tbit_and_2, tbit_and_3): New.
5723 (cmpsi_or_0, cmpsi_or_1, cmpsi_orcm_0, cmpsi_orcm_1): New.
5724 (cmpdi_or_0, cmpdi_or_1, cmpdi_orcm_0, cmpdi_orcm_1): New.
5725 (tbit_or_0, tbit_or_1, tbit_or_2, tbit_or_3): New.
5726 (mulsi, muldi): Use xmpy not xma.
5727 (cmpbi): New.
5728 (movcc, movcc_internal): Remove.
5729 (branch expanders): Use ia64_expand_compare.
5730 (setcc expanders): Likewise.
5731 (cmov insns): Use move_operand and ia64_move_ok.
5732 (pred_rel_mutex): Use unspec not unspec_volatile. Prevent the
5733 scheduler from moving it past a use.
5734 * config/ia64/build.hacks: Remove.
5735
5736 Mon 18-Sep-2000 19:21:35 BST Neil Booth <NeilB@earthling.net>
5737
5738 * cpphash.h (HASHSTEP): Take character rather than pointer
5739 to character.
5740 (_cpp_check_directive, _cpp_check_linemarker): Update prototypes.
5741
5742 * cpphash.c (cpp_loookup): Update for new HASHSTEP.
5743
5744 * cpplex.c (auto_expand_name_space, trigraph_replace,
5745 backslash_start, handle_newline, parse_name, INIT_TOKEN_STR,
5746 IMMED_TOKEN, PREV_TOKEN_TYPE, PUSH_TOKEN, REVISE_TOKEN,
5747 BACKUP_TOKEN, BACKUP_TRIGRAPH, MIGHT_BE_DIRECTIVE,
5748 KNOWN_DIRECTIVE): Delete.
5749
5750 (handle_newline, check_long_token, skip_escaped_newlines,
5751 unterminated): New functions.
5752 (ACCEPT_CHAR, SAVE_STATE, RESTORE_STATE): New macros.
5753
5754 (parse_identifier): Was parse_name, new implementation.
5755 (skip_line_comment, skip_block_comment, skip_whitespace,
5756 parse_number, parse_string, trigraph_ok, save_comment,
5757 adjust_column, _cpp_get_line): New implementations.
5758
5759 (lex_token): New function. Lexes a token at a time, looking
5760 forwards. Contains most of the guts of the old lex_line.
5761 (lex_line): New implementation, using lex_token to obtain
5762 individual tokens.
5763 (cpp_scan_buffer): Use the token's line, not the list's line.
5764
5765 * cpplib.c (_cpp_check_directive, _cpp_check_linemarker):
5766 New implementations.
5767 (do_assert): Don't bother setting the answer's list's line.
5768 (cpp_push_buffer): Initialise new pfile and read_ahead members
5769 of struct cpp_buffer.
5770
5771 * cpplib.h (cppchar_t): New typedef.
5772 (struct cpp_buffer): read_ahead, pfile and col_adjust are
5773 new members.
5774 (struct lexer_state): New structure that determines the state
5775 and behaviour of the lexer.
5776 (IN_DIRECTIVE, KNOWN_DIRECTIVE): New macros.
5777 (struct cpp_reader): New member "state". Rename
5778 multiline_string_line and multiline_string_column. Delete
5779 col_adjust, in_lex_line members.
5780 (CPP_BUF_COLUMN): Update.
5781
5782 2000-09-18 Richard Henderson <rth@cygnus.com>
5783
5784 * combine.c (simplify_comparison): Shift a NOT out of a single
5785 bit test.
5786
5787 * combine.c (if_then_else_cond): Canonicalize BImode true to
5788 STORE_FLAG_VALUE.
5789 * explow.c (trunc_int_for_mode): Likewise.
5790
5791 * combine.c (combine_simplify_rtx): Use gen_unary to distribute
5792 the NOT for De Morgan's rule.
5793 * simplify-rtx.c (simplify_unary_operation): Simplify a BImode NOT
5794 of a comparison to the reverse comparison.
5795
5796 * combine.c (try_combine): Allow split to create a single insn.
5797
5798 * machmode.def: Add BImode. Add a column for bitsize.
5799 * machmode.h (DEF_MACHMODE): Adjust for extra column.
5800 (GET_MODE_BITSIZE): Use it.
5801 * rtl.c (DEF_MACHMODE): Adjust for extra column.
5802 (mode_bitsize): New.
5803 (mode_mask_array): Use bitsize.
5804 * combine.c (combine_simplify_rtx): Require inner and outer
5805 modes to match on nonzero_bits optimizations.
5806
5807 2000-09-18 Bernd Schmidt <bernds@redhat.co.uk>
5808
5809 * reload1.c (forget_old_reloads_1): If a hard reg is stored, clear
5810 its entry in spill_reg_store.
5811 * config/sh/lib1funcs.ams (movstr_i4 functions): Always compile in.
5812 * sh.c (reg_no_subreg_operand): New function.
5813 * sh-protos.h (reg_no_subreg_operand): Declare it.
5814 * sh.h (PREDICATE_CODES): Add it.
5815 * sh.md (floatsisf2_i4, floatsidf2_i, extendsfdf2_i4): Use it for
5816 input operand that needs to be in fpul.
5817 (fix_truncsfsi2, fix_truncsfsi2_i4): Use register_operand for output.
5818 * sh.c (find_barrier): Take into account that machine_dependent_reorg
5819 might add new insns.
5820
5821 2000-09-18 Alexandre Oliva <aoliva@redhat.com>
5822
5823 * config/sh/sh.c (sh_expand_prologue): Mark GOTaddr2picreg as
5824 MAYBE_DEAD.
5825 (sh_expand_epilogue): Take the PIC register into account when
5826 computing the frame size.
5827
5828 * config/sh/sh.c (nonpic_symbol_mentioned_p): Check LABEL_REFs.
5829 * config/sh/sh.md (sym_label2reg, symPLT_label2reg): Protect
5830 LABEL_REFs with a PIC-safe unspec.
5831
5832 2000-09-18 Joseph S. Myers <jsm28@cam.ac.uk>
5833
5834 * c-common.c (check_format_info): Properly save the argument
5835 number and parameter for $ operand number formats in case width
5836 and precision arguments are also used. Allow printf width and
5837 precision arguments to have operand numbers even if none was
5838 specified for the main format, since this is OK for %*.*m. Only
5839 object to missing $ operand number if the format used requires an
5840 argument.
5841
5842 2000-09-18 Joseph S. Myers <jsm28@cam.ac.uk>
5843
5844 * c-common.c (format_char_info): Add 'W' flag to comment.
5845 (print_char_table, scan_char_table): Use it.
5846 (check_format_info): Use the 'W' flag to determine whether a
5847 format argument is written into.
5848
5849 2000-09-18 Joseph S. Myers <jsm28@cam.ac.uk>
5850
5851 * c-common.c (check_format_types): Reorganise and clean up,
5852 checking earlier for ERROR_MARKs and making cur_type into its
5853 TYPE_MAIN_VARIANT where convenient.
5854
5855 2000-09-18 Joseph S. Myers <jsm28@cam.ac.uk>
5856
5857 * gcc.c (cpp_options): Add specs for __STDC_HOSTED__.
5858
5859 2000-09-18 Bernd Schmidt <bernds@redhat.co.uk>
5860
5861 * optabs.c (emit_libcall_block): Set CONST_CALL_P for the call.
5862
5863 * i386-protos.h (ix86_init_builtins, ix86_expand_builtin): Declare.
5864 * i386.c (struct builtin_description): New.
5865 (bdesc_comi, bdesc_2arg, bdesc_1arg): New arrays.
5866 (mmx_reg_operand): Declare MODE arg as unused.
5867 (ix86_expand_sse_comi, ix86_expand_sse_compare, safe_vector_operand,
5868 ix86_expand_unop1_builtin, ix86_expand_unop_builtin,
5869 ix86_expand_binop_builtin, ix86_expand_store_builtin,
5870 ix86_init_builtins, ix86_expand_builtin): New functions.
5871 * i386.h (ix86_builtins): New enumeration.
5872 (MD_INIT_BUILTINS, MD_EXPAND_BUILTIN): New macros.
5873 * i386.md (attr length_immediate): 0 for mmx/sse types.
5874 (attr prefix_0f): 1 for mmx/sse types.
5875 (setcc_2): Remove "*" so we get gen_setcc_2.
5876 (emms): Account for changed register numbering. Set "memory" attr
5877 to unknown.
5878 (sfence): Set "memory" attr to unknown.
5879
5880 2000-09-18 Andreas Jaeger <aj@suse.de>
5881
5882 * configure.in: Define _GNU_SOURCE only when using the GNU C
5883 Library.
5884 * configure: Regenerated.
5885 * config.in: Regenerated.
5886
5887 2000-09-17 Mark Mitchell <mark@codesourcery.com>
5888
5889 * cppinit.c (cpp_init): Don't use ANSI prototypes.
5890 * flow.c (flow_dump_loop): Likewise.
5891 (flow_loops_dump): Likewise.
5892
5893 * c-typeck.c (c_start_case): Fix typo.
5894
5895 2000-09-17 Joseph S. Myers <jsm28@cam.ac.uk>
5896
5897 * c-decl.c (grokdeclarator): Don't give a warning about defaulting
5898 to int for plain complex which defaults to complex double. Do
5899 warn about defaulting to complex double if pedantic. Warn about
5900 complex integer types if pedantic. Warn about complex types if
5901 pedantic and not in C99 mode.
5902 * c-typeck.c (build_unary_op): If pedantic, warn about use of ~
5903 for complex conjugation.
5904
5905 2000-09-17 Joseph S. Myers <jsm28@cam.ac.uk>
5906
5907 * contrib.texi: Update my entry.
5908
5909 Sun Sep 17 18:48:32 2000 Denis Chertykov <denisc@overta.ru>
5910
5911 * config/avr/avr.md (mcu_enhanced): New attribute.
5912 (mcu_mega): Likewise.
5913 (extendhisi2): Use mcu_enhanced.
5914 (zero_extendhisi2): Likewise.
5915 (call_insn): Use mcu_enhanced and mcu_mega.
5916 (call_value_insn): Likewise.
5917 (*sbrx_branch): Use mcu_mega.
5918 (*sbrx_and_branchsi): Likewise.
5919 (*sbrx_and_branchhi): Likewise.
5920 (*tablejump_lib): Likewise.
5921
5922 Sun Sep 17 10:46:17 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
5923
5924 * alias.c (true_dependence): Allow non-unchanging read to conflict
5925 with unchanging write.
5926
5927 * expr.c (store_constructor_field): Accept ALIAS_SET arg.
5928 (store_constructor): Pass alias_set to it.
5929
5930 * c-decl.c (grokdeclarator): Reorder tests to avoid looking at
5931 TYPE_MAIN_VARIANT of ERROR_MARK.
5932 * c-lex.c (readescape): Avoid using printf syntax we don't recognize.
5933
5934 * simplify-rtx.c (simplify_unary_operation): Add cases
5935 FLOAT_EXTEND and FLOAT_TRUNCATE to ones that return 0.
5936
5937 2000-09-17 Bernd Schmidt <bernds@redhat.co.uk>
5938
5939 * expr.h (emit_library_call, emit_library_call_value): Delete
5940 declarations.
5941 * rtl.h (enum libcall_type): New.
5942 (emit_library_call, emit_library_call_value): Change fn_type arg to
5943 be of type enum libcall_type.
5944 * calls.c: Likewise for the function definitions. Several callers
5945 throughout changed to use the new enumeration appropriately.
5946 (emit_library_call_value_1): Likewise. Put back code to make libcall
5947 blocks of equal form, but only use it for the two new higher
5948 enumeration values.
5949
5950 2000-09-16 Mark Mitchell <mark@codesourcery.com>
5951
5952 Convert the C front-end to use function-at-a-time mode.
5953 * c-common.h: Include splay-tree.h.
5954 (C_DECLARED_LABEL_FLAG): New macro.
5955 (struct language_function): Add x_scope_stmt_stack and
5956 x_function_name_declared_p.
5957 (RECHAIN_STMTS): Move definition.
5958 (lang_statment_code_p): Likewise.
5959 (lang_expand_stmt): Likewise.
5960 (lang_expand_decl_stmt): New variable.
5961 (lang_expand_function_end): Likewise.
5962 (current_scope_stmt_stack): New function.
5963 (add_decl_stmt): Likewise.
5964 (add_scope_stmt): Likewise.
5965 (mark_stmt_tree): Likewise.
5966 (struct c_lang_decl): New structure.
5967 (DECL_SAVED_TREE): Define.
5968 (c_mark_lang_decl): New function.
5969 (c_expand_start_cond): Change prototype.
5970 (c_finish_then): New function.
5971 (c_finish_else): Likewise.
5972 (current_function_name_declared): Remove.
5973 (set_current_function_name_declared): Likewise.
5974 (mark_c_language_function): Declare.
5975 (case_compare): Likewise.
5976 (c_add_case_label): Likewise.
5977 (c_expand_expr): Likewise.
5978 (c_safe_from_p): Likewise.
5979 * c-common.c (lang_expand_function_end): New variable.
5980 (struct if_elt): Add if_stmt.
5981 (c_expand_start_cond): Add the if-statement to the statement-tree,
5982 rather than generating RTL.
5983 (c_finish_then): New function.
5984 (c_expand_start_else): Don't generate RTL.
5985 (c_finish_else): New function.
5986 (c_expand_expr_stmt): Don't generate RTL.
5987 (statement_code_p): Add SCOPE_STMT.
5988 (case_compare): New function.
5989 (c_add_case_label): Likewise.
5990 (mark_stmt_tree): Likewise.
5991 (c_mark_lang_decl): Likewise.
5992 (mark_c_language_function): Likewise.
5993 (c_expand_expr): Likewise.
5994 (c_safe_from_p): Likewise.
5995 * c-decl.c (c_stmt_tree): New variable
5996 (c_scope_stmt_stack): Likewise.
5997 (c_function_name_declared_p): Likewise.
5998 (lang_expand_expr_stmt): Remove.
5999 (poplevel): Don't call output_inline_function for nested
6000 functions.
6001 (pushdecl): Don't set DECL_CONTEXT for a local declaration of an
6002 `extern' function.
6003 (redeclaration_error_message): Change means of computing whether
6004 or not a function is nested.
6005 (lookup_label): Don't call label_rtx.
6006 (init_decl_processing): Add more GC roots.
6007 (start_decl): Add DECL_STMTs to the statement-tree, rather than
6008 calling rest_of_decl_compilation.
6009 (finish_decl): Don't call expand_decl.
6010 (store_parm_decls): Begin the statement-tree, but don't generate
6011 RTL.
6012 (finish_function): Tie off the statement-tree. Call c_expand_body
6013 if appropriate.
6014 (c_expand_body): New function.
6015 (push_c_function_context): Save more information.
6016 (pop_c_function_contxt): Likewise.
6017 (copy_lang_decl): Now that we use DECL_LANG_SPECIFIC, copy it.
6018 (lang_mark_tree): Mark it.
6019 (current_stmt_tree): Adjust.
6020 (current_scope_stmt_stack): New function.
6021 (do_case): Remove.
6022 (set_current_name_declared): Likewise.
6023 (c_begin_compound_stmt): Define.
6024 (c_expand_decl_stmt): Likewise.
6025 * c-lang.c: Include rtl.h and expr.h.
6026 (lang_init): Set more language-specific hooks.
6027 * c-lex.c: Include expr.h.
6028 * c-parse.in: Changes throughout to add statements to the
6029 statement-tree, rather than generating RTL after every statement.
6030 * c-semantics.c (lang_expand_decl_stmt): Define.
6031 (add_decl_stmt): New function.
6032 (add_scope_stmt): Likewise.
6033 (finish_stmt_tree): Tweak.
6034 (genrtl_expr_stmt): Likewise.
6035 (genrtl_decl_stmt): Handle local labels, and call
6036 lang_expand_decl_stmt if required.
6037 (genrtl_for_stmt): Fix line-number handling.
6038 (genrtl_case_label): Handle cleanups.
6039 (genrtl_asm_stmt): Don't call combine_strings.
6040 (genrtl_compound_stmt): Simplify.
6041 (expand_stmt): Handle SCOPE_STMTs.
6042 * c-tree.h (struct lang_decl): New structure.
6043 (C_DECLARED_LABEL_FLAG): Remove.
6044 (c_begin_compound_stmt): Declare.
6045 (c_expand_decl_stmt): Likewise.
6046 (c_expand_start_case): Rename to c_start_case.
6047 (c_finish_case): New function.
6048 * c-typeck.c (start_init): Tweak setting of
6049 constructor_incremental.
6050 (c_expand_asm_operands): Tweak error-handling. Add to the
6051 statement-tree.
6052 (c_expand_return): Add to the statement-tree.
6053 (c_expand_start_case): Rename to ...
6054 (c_start_case): ... this.
6055 (struct c_switch): New type.
6056 (switch_stack): New variable.
6057 (do_case): Simplify.
6058 (c_finish_case): New function.
6059 * dependence.c: Include expr.h.
6060 (enum dependence_type): Change spelling of enumerals.
6061 (check_node_dependence): Adjust.
6062 * expr.h (lang_safe_from_p): Declare.
6063 (safe_from_p): Likewise.
6064 * expr.c (lang_safe_from_p): New variable.
6065 (safe_from_p): Give it external linkage. Use lang_safe_from_p.
6066 * stmt.c (expand_expr_stmt): Avoid clobberring of last_expr_type.
6067 * toplev.c (rest_of_decl_compilation): Robustify.
6068 * tree.c (contains_placeholder_p): Likewise.
6069 * Makefile.in: Update dependencies.
6070 * objc/objc-act.h: Adjust calculation of value for dummy_tree_code.
6071 * objc/objc-act.c: Include rtl.h, expr.h, and c-common.h.
6072 (objc_expand_function_end): New function.
6073 (finish_method_def): Use it.
6074 (init_objc): Initialize more language-specific hooks.
6075 * objc/Make-lang.in: Update dependencies.
6076
6077 2000-09-16 Geoffrey Keating <geoffk@cygnus.com>
6078
6079 * configure.in: Define macros that affect features before
6080 testing for features. Don't define _XOPEN_SOURCE.
6081 * configure: Regenerated.
6082 * config.in: Regenerated.
6083
6084 Sat Sep 16 19:42:50 EDT 2000 John Wehle (john@feith.com)
6085
6086 * rtlanal.c (rtx_varies_p): Volatile asms vary.
6087 (rtx_unstable_p): Restructure code. Volatile asms
6088 are unstable.
6089
6090 Sat Sep 16 14:35:55 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
6091
6092 * function.h (no_debugging_symbols): New field.
6093 * integrate.c (save_for_inline): Renamed from save_for_inline_nocopy.
6094 Initialize no_debugging_symbols.
6095 (output_inline_function): Save and restore write_symbols and set from
6096 no_debugging_symbols.
6097 * toplev.c (rest_of_compilation): Call save_for_inline.
6098 * tree.h: Update comment.
6099
6100 * stor-layout.c (place_field): Don't do anything if field or
6101 its type are ERROR_MARK.
6102
6103 Sat Sep 16 19:14:00 2000 Laurynas Biveinis <lauras@softhome.net>
6104
6105 * cppfiles.c (purge_cache): Use munmap only if MMAP_THRESHOLD defined.
6106 (read_include_file): Ensure inc->mmaped is initialized.
6107
6108 2000-09-16 Richard Henderson <rth@cygnus.com>
6109
6110 * cppiles.c (purge_cache): Use PTR not caddr_t.
6111
6112 2000-09-16 Hans-Peter Nilsson <hp@axis.com>
6113
6114 * gcc.c: In description for %{<S}, say the option removed is -S.
6115 * invoke.texi (Spec Files): Ditto.
6116
6117 2000-09-16 Andreas Jaeger <aj@suse.de>
6118
6119 * configure.in: Always define _GNU_SOURCE to make interfaces
6120 visible that were hidden by only defining _GNU_SOURCE.
6121 * configure: Regenerated.
6122
6123 Sat 16-Sep-2000 08:13:45 BST Neil Booth <NeilB@earthling.net>
6124
6125 * cpplex.c (push_macro_context): Set an argument's level after
6126 calling parse_args. We could loop infinitely otherwise.
6127
6128 2000-09-15 Tom Tromey <tromey@cygnus.com>
6129
6130 * configure, config.in: Rebuilt.
6131 * configure.in: Check for iconv.h. Define _XOPEN_SOURCE.
6132
6133 2000-09-15 Greg McGary <greg@mcgary.org>
6134
6135 * cppmacro.c (check_trad_stringification): Check token
6136 text pointers against limit before dereferencing.
6137
6138 2000-09-15 Joseph S. Myers <jsm28@cam.ac.uk>
6139
6140 * c-common.c (format_wanted_type): New structure.
6141 (check_format_types): New function.
6142 (check_format_info): Pass all checking of types of format
6143 arguments, including width and precision arguments, to this new
6144 function.
6145
6146 2000-09-15 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
6147
6148 * BUGS: Remove file.
6149
6150 2000-09-15 Jakub Jelinek <jakub@redhat.com>
6151
6152 * config/alpha/alpha.c (override_options): ev6 cache latencies
6153 from Richard Henderson. Don't allow -mmemory-latency=L0.
6154
6155 * config/alpha/alpha.h (TARGET_CPU_EV5, TARGET_CPU_EV6): Define.
6156 (TARGET_OPTIONS): Add tune=.
6157 (alpha_tune_string): Declare.
6158 * config/alpha/alpha.c (override_options): Add cpu_table.
6159 Use alpha_cpu_string first to set both alpha_cpu and target_flags
6160 and then alpha_tune_string to set alpha_cpu only.
6161 Replace tests for PROCESSOR_EV* with TARGET_CPU_EV* tests.
6162 * config/alpha/elf.h (ASM_FILE_START): Likewise.
6163 * config/alpha/osf.h (ASM_FILE_START): Likewise.
6164 * config/alpha/openbsd.h (ASM_FILE_START): Likewise.
6165
6166 Fri Sep 15 19:45:55 MET DST 2000 Jan Hubicka <jh@suse.cz>
6167
6168 * i386-protos.h (no_comparison_operator, uno_comparison_operator):
6169 Remove.
6170 (ix86_comparison_operator, ix86_cc_mode): Declare
6171 * i386.h (CCGC, CCGCO): New modes.
6172 (SELECT_CC_MODE): Move offline to ....
6173 * i386.c (ix86_cc_mode): .... here; use new modes.
6174 (ix86_comparison_operator): New.
6175 (fcmov_comparison_operator): Ensure proper mode.
6176 (put_condition_mode): More sanity checking.
6177 (ix86_match_ccmode): Handle new modes.
6178 (ix86_expand_fp_compare): GEU requires CCmode.
6179 (ix86_expand_strlensi_unroll_1): Use emit_cmp_and_jump_insn instead of
6180 doing it by hand.
6181 * i386.md (cmp?i_ccz_1): Remove
6182 (cmp?i_ccno_1): Use ix86_match_ccmode.
6183 (cmp?i_minus_1): New.
6184 (cmpsi_1): New expander.
6185 (cmpqi_ext_1): Use match_ccmode
6186 (cmpqi_ext_3): New expander.
6187 (cmpqi_ext_3_insn): Rename from cmpqi_ext_3.
6188 (cmpqi_ext_4): Use match_ccmode.
6189 (add?i_?): Use match_ccmode.
6190 (add?i_6): New.
6191 (test?i_ccz_1): Remove
6192 (test?i_1): New.
6193 (testsi_ccno_1, testqi_ccz_1, testqi_ext_ccno_0): New expander.
6194 (testqi_ext_0): Use ix86_match_ccmode.
6195 (*xorqi_cc_ext_1): Use ix86_match_ccmode.
6196 (xorqi_cc_ext_1): New expander.
6197 (shift patterns): Use CCGOCmode for all shifts except for sar.
6198 (setcc_?, jcc_?, miv?icc_nic): Use ix86_comparison_operator.
6199 (setcc_3, jcc_3, miv?icc_c): Remove.
6200
6201 2000-09-15 Will Cohen <wcohen@redhat.com>
6202
6203 * dwarf2out.c (add_const_value_attribute): Changed array into a
6204 xmalloced object, so it exists after function exit.
6205 (free_AT): Added case for dw_val_class_float to free allocated
6206 memory.
6207
6208 2000-09-15 Kazu Hirata <kazu@hxi.com>
6209
6210 * config/i386/i386.md: Fix a comment typo.
6211 * gcc.c: Fix formatting.
6212
6213 2000-09-15 Bernd Schmidt <bernds@redhat.co.uk>
6214
6215 * optabs.c (emit_libcall_block): If target is a user variable,
6216 copy to a temporary first.
6217 * expr.c (convert_move): When generating a libcall, make a libcall
6218 block.
6219 * calls.c (emit_library_call_value_1): Don't create a libcall
6220 sequence here; our caller will in most cases do it.
6221
6222 * sh.h (SECONDARY_INPUT_RELOAD_CLASS): Handle moving T, MACL or
6223 MACH into FPUL.
6224 (SECONDARY_OUTPUT_RELOAD_CLASS): Similar case.
6225 * sh.md (reload_outsf): Generate recognizable patterns for
6226 TARGET_SH3E.
6227 (floatsisf2, floatsisf2_ie, floatsisf2_i4, fix_truncsfsi2,
6228 fix_truncsfsi2_i4, fixsfsi, floatsidf2, floatsidf2_i, fix_truncdfsi2,
6229 fix_truncdfsi2_i, extendsfdf2, extendsfdf2_i4, truncdfsf2,
6230 truncdfsf2_i4): Change not to use explicit references to fpul.
6231 (floatsisf2_ie): Remove USE of fpscr.
6232 (floatsisf2): Change default expansion to match this.
6233 (fix_truncsfsi2_i4_2, fix_truncdfsi2_i4 & splitters): Comment out
6234 unused patterns.
6235
6236 2000-09-15 Richard Henderson <rth@cygnus.com>
6237
6238 * expmed.c (store_bit_field): Consider naturally aligned
6239 memory for direct reference.
6240
6241 2000-09-15 Richard Henderson <rth@cygnus.com>
6242
6243 * config/alpha/alpha.c (alpha_expand_unaligned_load): Force all
6244 AND addresses into alias set 0.
6245 (alpha_expand_unaligned_store): Likewise.
6246 (alpha_expand_unaligned_load_words): Likewise.
6247 (alpha_expand_unaligned_store_words): Likewise.
6248
6249 2000-09-15 Bernd Schmidt <bernds@redhat.co.uk>
6250
6251 * config/sh/sh.h (CPP_SPEC): For -m4-nofpu, define __SH4_NOFPU__.
6252 * config/sh/lib1funcs.asm (movstr_i4): Also compile if __SH4_NOFPU__
6253 is defined.
6254 * config/mips/mips.c (mips_va_arg): Args passed by reference have a
6255 rsize of UNITS_PER_WORD.
6256
6257 Fri 15-Sep-2000 06:49:07 BST Neil Booth <NeilB@earthling.net>
6258
6259 * cpplex.c (ON_REST_ARG): Correct the test.
6260 (maybe_paste_with_next): Duplicate a token that fail pasting,
6261 and clear its PASTE_LEFT flag, so that nested pasting attempts
6262 do not occur.
6263
6264 2000-09-14 Richard Henderson <rth@cygnus.com>
6265
6266 * calls.c (precompute_register_parameters): Use COSTS_N_INSNS, not 2.
6267 * cse.c (rtx_cost): Likewise.
6268 * optabls.c (expand_binop): Likewise.
6269 (expand_twoval_binop, prepare_cmp_insn): Likewise.
6270 * regclass.c (copy_cost): Likewise.
6271 * reload1.c (reload_cse_move2add): Likewise.
6272
6273 2000-09-14 Joseph S. Myers <jsm28@cam.ac.uk>
6274
6275 * c-parse.in (reswords): Add _Complex.
6276
6277 2000-09-14 J. David Anglin <dave@hiauly1.hia.nrc.ca>
6278
6279 * gcc.1: Delete documentation for -undef preprocessor option.
6280
6281 2000-09-14 Alexandre Oliva <aoliva@redhat.com>
6282
6283 * config/sh/sh.h (INIT_SECTION_ASM_OP, FINI_SECTION_ASM_OP,
6284 STARTFILE_SPEC, ENDFILE_SPEC): Remove define.
6285 * config/sh/elf.h (INIT_SECTION_ASM_OP, FINI_SECTION_ASM_OP):
6286 Remove undefine before config/elfos.h.
6287 * config/sh/t-sh (EXTRA_MULTILIB_PARTS): Comment out.
6288
6289 2000-09-14 Kazu Hirata <kazu@hxi.com>
6290
6291 * invoke.texi (H8/300 Options): Add -ms2600.
6292 * config/h8300.c (h8300_init_once): Output an error when -ms2600
6293 is used without -ms.
6294 * config/h8300.h (TARGET_MAC): New.
6295 (TARGET_SWITCHES): Add -ms2600 and -mno-s2600.
6296 (CONDITIONA_REGISTER_USAGE): Disable the mac register on any
6297 machine other than H8/S2600.
6298 * config/h8300.md: Accept mac instructions on the H8/S2600 instead
6299 of the H8/S2000.
6300
6301 2000-09-14 Alexandre Oliva <aoliva@redhat.com>, Bernd Schmidt <bernds@redhat.co.uk>
6302
6303 * reload.c (find_reloads_address_1): Generate reloads for auto_inc
6304 pseudos that refer to the original pseudos, not only to their
6305 equivalent memory locations.
6306
6307 Thu Sep 14 12:10:16 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
6308
6309 * expr.c (expand_expr, case COMPONENT_EXPR): Copy memory attributes
6310 when making new MEM.
6311
6312 * Makefile.in (LN): Remove duplicate definition.
6313
6314 2000-09-12 Bernd Schmidt <bernds@redhat.co.uk>
6315
6316 From Joern Rennecke:
6317 * local-alloc.c (update_equiv_regs): If there is no REG_EQUAL note
6318 on an insn and function_invariant_p returns nonzero for the source,
6319 add a REG_EQUAL note.
6320
6321 Thu Sep 14 00:51:57 EDT 2000 John Wehle (john@feith.com)
6322
6323 * alias.c (memrefs_conflict_p): An ADDRESSOF doesn't
6324 conflict with frame_pointer_rtx.
6325
6326 2000-09-13 Kazu Hirata <kazu@hxi.com>
6327
6328 * loop.c: Fix formatting.
6329 * loop.h: Likewise.
6330
6331 2000-09-13 Richard Henderson <rth@cygnus.com>
6332
6333 * config/ia64/ia64.md (divsf3): New.
6334 (divsf3_internal_lat, divsf3_internal_thr): New.
6335 (divdf3, divdf3_internal_lat, divdf3_internal_thr): New.
6336 (divtf3, divtf3_internal_lat, divtf3_internal_thr): New.
6337 (adddf3_trunc, subdf3_trunc, muldf3_trunc): New.
6338 (madddf4_trunc, msubdf4_trunc, nmuldf3_trunc): New.
6339 (nmadddf4_alts, nmadddf4_trunc): New.
6340 (addtf3_truncsf, addtf3_truncdf, subtf3_truncsf): New.
6341 (subtf3_truncdf, multf3_truncsf, multf3_truncdf): New.
6342 (multf3_truncsf_alts, multf3_truncdf_alts): New.
6343 (maddtf4_truncsf, maddtf4_truncdf, maddtf4_alts_truncdf): New.
6344 (msubtf4_truncsf, msubtf4_truncdf, nmultf3_truncsf): New.
6345 (nmultf3_truncdf, nmaddtf4_truncsf, nmaddtf4_truncdf): New.
6346 (nmaddtf4_truncdf_alts): New.
6347 (recip_approx): Don't predicate.
6348
6349 2000-09-13 Richard Henderson <rth@cygnus.com>
6350
6351 * config/ia64/lib1funcs.asm (__divsf3): Protect fnorm.s with p6.
6352
6353 2000-09-13 Stephane Carrez <Stephane.Carrez@worldnet.fr>
6354
6355 * flags.h (flag_dump_rtl_in_asm): Declare.
6356 * toplev.c (flag_dump_rtl_in_asm): Define.
6357 (decode_d_option): Set flag_dump_rtl_in_asm and flag_print_asm_name
6358 if -dP is specified.
6359 * rtl.h (print_rtx_head): Declare.
6360 * print-rtl.c (print_rtx_head): Define.
6361 (print_rtx): Print the string pointed to by print_rtx_head
6362 at beginning of each dump line.
6363 (print_rtl): Likewise.
6364 (print_rtl_single): Likewise.
6365 * final.c (final_scan_insn): Dump the insn in the assembly
6366 file for debugging.
6367 * gcc.1: Document -dP option.
6368 * invoke.texi (Debugging Options): Likewise.
6369
6370 2000-09-13 Stephane Carrez <Stephane.Carrez@worldnet.fr>
6371
6372 * md.texi (Machine Constraints): Document the 68HC11 constraints.
6373 * install.texi (Configurations): Document the 68HC11&68HC12 port.
6374 * invoke.texi (Option Summary, M68hc1x Options): Document the options.
6375
6376 Tue Sep 12 13:51:13 2000 Denis Chertykov <denisc@overta.ru>
6377
6378 * config/avr/avr.h (ASSEMBLER_DIALECT): New macro declared.
6379 * config/avr/avr.md (*movstrqi_insn): Cleanup output template.
6380 (*clrstrqi): Likewise.
6381 (xorhi3,xorsi3,absqi2): Likewise.
6382 (one_cmplhi2,one_cmplsi2): Likewise.
6383 (addsi3): Two stupid constraint alternatives removed.
6384 (extendhisi2): Use `movw' for enhanced avr cores.
6385 (zero_extendhisi2): Likewise.
6386
6387 Wed Sep 13 02:31:23 EDT 2000 John Wehle (john@feith.com)
6388
6389 * alias.c (find_base_term): Use frame_pointer_rtx
6390 when handling an ADDRESSOF.
6391
6392 * cse.c (canon_hash): Handle USE of BLKmode memory.
6393 (cse_insn): Outgoing arguments for a libcall don't
6394 affect any recorded expressions.
6395
6396 2000-09-12 Tom Tromey <tromey@cygnus.com>
6397
6398 * configure, config.in: Rebuilt.
6399 * configure.in: Check for iconv, nl_langinfo, langinfo.h.
6400
6401 2000-09-12 Jakub Jelinek <jakub@redhat.com>
6402
6403 * c-lex.c (lex_string): Use charwidth to compute bytemask.
6404 * expr.c (expand_expr): Don't optimize constant array references
6405 initialized with wide string constants.
6406
6407 2000-09-13 Michael Hayes <mhayes@cygnus.com>
6408
6409 * loop.c (note_set_pseudo_multiple_uses): Correct.
6410
6411 2000-09-12 Jim Wilson <wilson@cygnus.com>
6412
6413 * ifcvt.c (noce_process_if_block): If A and B are the same, and no
6414 else block, and X has side-effects, then fail.
6415
6416 2000-09-12 Greg McGary <greg@mcgary.org>
6417
6418 * config/mips/mips-protos.h
6419 (trap_cmp_op, mips_gen_conditional_trap): New func decls.
6420 * config/mips/mips.h (ISA_HAS_COND_TRAP): New macro.
6421 (PREDICATE_CODES): Add "trap_cmp_op".
6422 * config/mips/mips.c
6423 (trap_cmp_op, mips_gen_conditional_trap): New functions.
6424 * config/mips/mips.md (trap, conditional_trap): New patterns.
6425
6426 2000-09-12 Bernd Schmidt <bernds@redhat.co.uk>
6427
6428 * flow.c (try_pre_increment_1): Don't do anything to sets of the stack
6429 pointer.
6430
6431 2000-09-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
6432
6433 * builtins.c (built_in_decls): New array.
6434 (expand_builtin_fputs): New function.
6435 (expand_builtin): Handle BUILT_IN_FPUTC and BUILT_IN_FPUTS.
6436
6437 * builtins.def (BUILT_IN_FPUTC, BUILT_IN_FPUTS): New members.
6438
6439 * c-common.c (c_common_nodes_and_builtins): Handle fputc/fputs.
6440
6441 * tree.h (built_in_decls): New array.
6442
6443 Tue Sep 12 08:53:57 2000 Jeffrey A Law (law@cygnus.com)
6444
6445 * convex.md: Use "+" instead of "=" for outputs wrapped in a
6446 STRICT_LOW_PART.
6447 * i370.md, i386.md, ns32k.md, sh.md, vax.md: Likewise.
6448
6449 2000-09-12 Kazu Hirata <kazu@hxi.com>
6450
6451 * haifa-sched.c: Fix formatting.
6452
6453 * genattrtab.c: Fix formatting.
6454
6455 * unroll.c: Fix formatting.
6456
6457 2000-09-12 Bruce Korb <bkorb@gnu.org>
6458
6459 * fixinc/fixfixes.c: make a type for the fix procedure & use it,
6460 remove obsolete code
6461 * fixinc/fixincl.c: Use PARAMS, not _P_. Add no-op default to switch.
6462 * fixinc/fixincl.tpl: make non-exported arrays static scope
6463 * fixinc/fixincl.x: regenerate
6464 * fixinc/fixlib.h: Use PARAMS, not _P_
6465 * fixinc/fixtests.c: make a type for the test proc & use it
6466 * fixinc/server.h: Use PARAMS, not _P_
6467
6468 2000-09-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
6469
6470 * c-typeck.c (process_init_element): Avoid union init warnings on
6471 floating point zero. Don't crash on unions containing structs.
6472
6473 2000-09-12 Alexandre Oliva <aoliva@redhat.com>
6474
6475 * config/sh/sh.h (PREDICATE_CODES): Add CONST_DOUBLE to
6476 general_movsrc_operand, and remove CONST_INT from
6477 general_movdst_operand.
6478
6479 2000-09-12 Bernd Schmidt <bernds@redhat.co.uk>
6480
6481 * cse.c (approx_reg_cost): If SMALL_REGISTER_CLASSES, return INT_MAX
6482 if a reference to non-fixed hardreg is seen. Otherwise, count hard
6483 regs with a higher cost.
6484 (preferrable): Deal with cases where either cost or regcost is
6485 MAX_COST.
6486 (cse_insn): Use MAX_COST rather than 10000. Always initialize
6487 regcost values.
6488 (COSTS_N_INSNS): Move definition...
6489 * rtl.h: ...here.
6490 (MAX_COST): New macro.
6491 * loop.c (init_loop): Use COSTS_N_INSNS macro instead of hardcoded
6492 constant.
6493
6494 2000-09-11 Mark Mitchell <mark@codesourcery.com>
6495
6496 * c-common.h (genrtl_clear_out_block): Remove.
6497 * c-semantics.c (genrtl_clear_out_block): Remove.
6498 (genrtl_while_stmt): Don't call it.
6499 (genrtl_for_stmt): Likewise.
6500
6501 2000-09-11 Zack Weinberg <zack@wolery.cumb.org>
6502
6503 * cppfiles.c: Move all default-#defines to top of file.
6504 (open_include_file): Replace by lookup_include_file.
6505 (read_with_read, read_file): Merged into read_include_file.
6506 (stack_include_file, purge_cache): New functions.
6507 (close_cached_fd): Delete.
6508 (lookup_include_file, read_include_file, _cpp_pop_file_buffer):
6509 Cache the in-memory buffer, not the file descriptor.
6510
6511 * cpphash.h (struct include_file): Add buffer, st, refcnt,
6512 mapped fields.
6513 (xcnew): New utility macro.
6514 (DO_NOT_REREAD, NEVER_REREAD): Move up by struct include_file.
6515 * cpplib.h (struct cpp_buffer): Remove mapped field.
6516
6517 2000-09-11 Zack Weinberg <zack@wolery.cumb.org>
6518
6519 * cpplex.c (parse_string): Accept backslash space newline as a
6520 line continuation.
6521 (lex_line): Likewise.
6522 (_cpp_get_token): Remove hard limit on macro nesting.
6523
6524 2000-09-12 Philipp Thomas <pthomas@suse.de>
6525
6526 * aclocal.m4 (AM_WITH_NLS): Don't force use of included gettext.
6527 * configure: Rebuilt.
6528
6529 2000-09-13 Michael Hayes <mhayes@cygnus.com>
6530
6531 * flow.c (split_block): Fix update of registers live at
6532 end of split block.
6533
6534 Tue Sep 12 01:51:38 MET DST 2000 Jan Hubicka <jh@suse.cz>
6535
6536 * i386.md (add?i_3, add?i_5): New.
6537 (add?i_4): Rename from add?i_3; Fix compare pattern.
6538 (sub?i_3, xor?i_3, ior?i_3): New.
6539
6540 * genrecog.c (write_tree): Output code to clear insn_extract cache.
6541 * genattrtab.c (write_attr_case): Gen call to extract_insn_cache
6542 instead of extract_insn and extract_constrain_insn_cache instead of
6543 extract_insn and constrain_operands.
6544 * recog.c (extract_insn_cached, extract_constrain_insn_cached):
6545 New functions.
6546 (extract_insn): Clear which_alternative.
6547 (constrain_operands): Set which_alternative to -1 when failed.
6548 * recog.h (extract_constrain_insn_cached, extract_insn_cached):
6549 Declare.
6550
6551 2000-09-11 Matthew Hiller <hiller@redhat.com>
6552
6553 * config/h8300/h8300.md (movstrictqi): Changed constraint modifier
6554 on operand 0 to '+'.
6555 (movstricthi): Likewise.
6556
6557 2000-09-12 Michael Hayes <mhayes@cygnus.com>
6558
6559 * loop.h (LOOP_IVS): New macro.
6560 (REG_IV_TYPE, REG_IV_INFO): Add ivs argument.
6561 (struct loop_ivs): New.
6562 (struct loop_info): Add ivs field.
6563 (reg_iv_type, reg_iv_info): Delete prototype.
6564 (reg_biv_class, loop_iv_list): Likewise.
6565 * loop.c (record_biv, find_life_end): Pass loop argument.
6566 (reg_iv_type): Remove global array and use
6567 field in loop_regs structure within loop_ivs structure.
6568 (reg_iv_info, reg_biv_class, loop_iv_list): Likewise.
6569 (first_increment_giv, last_increment_giv): Use entry in
6570 loop_ivs structure.
6571 (record_initial): Pass ivs pointer.
6572 * unroll.c (copy_loop_body, remap_split_bivs): Add loop argument.
6573
6574 2000-09-12 Michael Hayes <mhayes@cygnus.com>
6575
6576 * loop.h (LOOP_REGS): New macro.
6577 (struct loop_regs): New.
6578 (struct loop_info): Add regs field.
6579 * loop.c (set_in_loop): Remove global array and store
6580 in loop_regs structure as part of loop_info structure.
6581 (n_times_set, may_not_optimize): Likewise.
6582 (reg_single_usage, moved_once): Likewise.
6583 (count_one_set): Add regs argument.
6584 (combine_movables, rtx_equal_for_loop_p, combine_givs): Likewise.
6585 (set_pseudo_multiple_uses): Pass regs pointer.
6586
6587 2000-09-12 Michael Hayes <mhayes@cygnus.com>
6588
6589 * unroll.c (iteration_info): Subsume into loop_iterations.
6590 * loop.h (loop_info): New field iv.
6591
6592 2000-09-12 Michael Hayes <mhayes@cygnus.com>
6593
6594 * basic-block.h (LOOP_TREE, LOOP_PRE_HEADER, LOOP_EDGES): New.
6595 (LOOP_EXITS_DOMS, LOOP_ALL): Likewise.
6596 (flow_loops_update): New prototype.
6597 (flow_loops_find): Add flags to prototype.
6598 (struct loop): Add `pre_header_root' and `pre_header_trace' fields.
6599 * flow.c (flow_loop_pre_header_scan): New.
6600 (flow_loop_dump): Dump pre-header root and trace and exit dominators.
6601 (flow_loop_free): Free pre-header root and trace and exit dominators.
6602 (flow_loops_find): New argument flags.
6603 (flow_loops_update): New function.
6604 * toplev.c (rest_of_compilation): Add flag argument to flow_loops_find.
6605
6606 2000-09-12 Michael Hayes <mhayes@cygnus.com>
6607
6608 * basic-block.h (split_block, update_bb_for_insn): New prototypes.
6609 * flow.c (split_block, update_bb_for_insn): New functions.
6610
6611 2000-09-11 Richard Henderson <rth@cygnus.com>
6612
6613 * cse.c (fold_rtx): Honor NO_FUNCTION_CSE.
6614
6615 2000-09-11 Richard Henderson <rth@cygnus.com>
6616
6617 * config/ia64/ia64-protos.h (fr_nonimmediate_operand): Declare.
6618 * config/ia64/ia64.c (fr_nonimmediate_operand): New.
6619 (ia64_override_options): Prevent optimizing division for both
6620 latency and throughput.
6621 (rtx_needs_barrier): Handle frcpa.
6622 * config/ia64/ia64.h (MASK_INLINE_DIV_LAT): New.
6623 (MASK_INLINE_DIV_THR, TARGET_INLINE_DIV_LAT): New.
6624 (TARGET_INLINE_DIV_THR, TARGET_INLINE_DIV): New.
6625 (TARGET_SWITCHES): Add -minline-divide-min-latency and
6626 -minline-divide-max-throughput.
6627 (PREDICATE_CODES): Update.
6628 * config/ia64/ia64.md (extendsidi2): Remove * from f case.
6629 (zero_extendsidi2): Likewise. Fix typo in f case insn.
6630 (extendsfdf2): Add cases for gr<->fr and fr<->mem.
6631 (extendsftf2): Likewise.
6632 (extenddftf2): Likewise.
6633 (fix_trunctfdi2_alts): New.
6634 (fixuns_trunctfdi2_alts): New.
6635 (madd*4): Rename from madd*3.
6636 (divsi3, modsi3, udivsi3, umodsi3): New.
6637 (divsi3_internal): New.
6638 (divdi3, moddi3, udivdi3, umoddi3): New.
6639 (divdi3_internal_lat, divdi3_internal_thr): New.
6640 (multf3_alts, maddtf4_alts, nmaddtf4_alts): New.
6641 (recip_approx): New.
6642
6643 2000-09-11 Alexandre Oliva <aoliva@redhat.com>
6644
6645 * print-rtl.c (debug_call_placeholder_verbose): New variable.
6646 (print_rtx) [CALL_PLACEHOLDER]: Dump all call sequences if it is
6647 set.
6648 * integrate.c (copy_rtx_and_substitute): Don't share
6649 LEAF_REG_REMAPpable registers with the inlined function. Don't
6650 share the function value with calling sequences.
6651
6652 2000-09-11 Jakub Jelinek <jakub@redhat.com>
6653
6654 * c-decl.c (do_case): Fix a typo.
6655
6656 * combine.c (simplify_if_then_else): Don't convert a == b ? b : a
6657 to a if the comparison is floating mode and not -ffast-math.
6658 * simplify-rtx.c (simplify_ternary_operation): Likewise.
6659
6660 Mon Sep 11 20:07:48 2000 J"orn Rennecke <amylaar@redhat.co.uk>
6661
6662 * sh.h (INITIALIZE_TRAMPOLINE): Remove stray call to
6663 gen_ic_invalidate_line.
6664
6665 2000-09-11 Philip Blundell <pb@futuretv.com>
6666
6667 * config/arm/elf.h (SUBTARGET_CPP_SPEC): Don't define `arm_elf'.
6668
6669 Mon Sep 11 10:48:41 2000 Ulrich Drepper <drepper@redhat.com>
6670
6671 * install.texi (LANGUAGES): Update to include new languages.
6672 * INSTALL: Rebuilt.
6673
6674 2000-09-11 DJ Delorie <dj@redhat.com>
6675
6676 * gcc.c (main): Don't warn about unused -B prefixes
6677 (unused_prefix_warnings): remove
6678
6679 2000-09-11 Kazu Hirata <kazu@hxi.com>
6680
6681 * final.c: Fix formatting.
6682
6683 * integrate.c: Fix formatting.
6684
6685 2000-09-11 Geoff Keating <geoffk@cygnus.com>
6686
6687 * alias.c (memrefs_conflict_p): An ADDRESSOF does conflict, sorry.
6688
6689 2000-09-11 Bernd Schmidt <bernds@redhat.co.uk>
6690
6691 * reload.c (regno_clobbered_p): Fix thinko in previous change.
6692
6693 2000-09-10 Stephane Carrez <Stephane.Carrez@worldnet.fr>
6694
6695 * gcc.1: Document 68hc11 specific options.
6696
6697 2000-09-10 Geoff Keating <geoffk@cygnus.com>
6698
6699 * config/rs6000/sysv4.h (MASK_LONG_DOUBLE_128): Define.
6700 (TARGET_LONG_DOUBLE_128): Define.
6701 (SUBTARGET_SWITCHES): Add -mlong-double-64 and -mlong-double-128.
6702 (LONG_DOUBLE_TYPE_SIZE): Redefine.
6703 (MAX_LONG_DOUBLE_TYPE_SIZE): Define.
6704 (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Define depending on definition
6705 of __LONG_DOUBLE_128__.
6706 (CPP_SYSV_SPEC): Define __LONG_DOUBLE_128__ if -mlong-double-128
6707 passed.
6708 (CPP_LONGDOUBLE_DEFAULT_SPEC): Define.
6709 (CPP_SYSV_DEFAULT_SPEC): Define.
6710 (SUBTARGET_EXTRA_SPECS): Add cpp_longdouble_default.
6711 (INIT_TARGET_OPTABS): Define.
6712
6713 * config/rs6000/aix.h (RS6000_ITRUNC): Moved from rs6000.h.
6714 (RS6000_UITRUNC): Likewise.
6715 (INIT_TARGET_OPTABS): New macro.
6716 * config/rs6000/rs6000.c (rs6000_trunc_used): Delete.
6717 (trunc_defined): Delete.
6718 (output_prolog): Don't output .extern definitions for fp->int
6719 conversion routines, ASM_OUTPUT_EXTERNAL_LIBCALL will do it.
6720 * config/rs6000/rs6000.h (rs6000_trunc_used): Delete.
6721 (trunc_defined): Delete.
6722 (RS6000_ITRUNC): Moved to aix.h.
6723 (RS6000_UITRUNC): Likewise.
6724 * config/rs6000/rs6000.md (fix_truncdfsi2): Fail if it would
6725 only emit a libcall.
6726 (fixuns_truncdfsi2): Delete.
6727 (trunc_call): Delete.
6728 (trunc_call_rtl): Delete.
6729
6730 2000-09-10 Zack Weinberg <zack@wolery.cumb.org>
6731
6732 * varasm.c (make_decl_rtl): Restore leading star on
6733 DECL_ASSEMBLER_NAME set for decls with an asmspec.
6734
6735 2000-09-10 Zack Weinberg <zack@wolery.cumb.org>
6736
6737 * c-pragma.c (handle_pragma_pack): Correct parsing logic so it
6738 won't give a spurious error for '#pragma pack()'. Simplify
6739 control flow for readability. 'reset' action is not necessary.
6740
6741 2000-09-10 Zack Weinberg <zack@wolery.cumb.org>
6742
6743 * defaults.h: Provide default definitions for: CHAR_TYPE_SIZE,
6744 SHORT_TYPE_SIZE, INT_TYPE_SIZE, LONG_TYPE_SIZE,
6745 LONG_LONG_TYPE_SIZE, WCHAR_TYPE_SIZE, FLOAT_TYPE_SIZE,
6746 DOUBLE_TYPE_SIZE, LONG_DOUBLE_TYPE_SIZE, and WCHAR_UNSIGNED.
6747
6748 * cppexp.c, dwarfout.c, dwarf2out.c, emit-rtl.c, final.c, optabs.c,
6749 profile.c, sdbout.c, tradcif.y, tree.c:
6750 Include defaults.h if not already included.
6751 Don't define the above macros.
6752
6753 * Makefile.in: Update dependencies.
6754
6755 2000-09-10 Mark Mitchell <mark@codesourcery.com>
6756
6757 * c-common.h (add_stmt): Change prototype.
6758 (RECHAIN_STMTS): New macro.
6759 (CASE_LABEL_DECL): Likewise.
6760 (genrtl_case_label): Change prototype.
6761 (c_expand_start_case): Remove prototype.
6762 (build_case_label): Change prototype.
6763 (decl_constant_value): Declare.
6764 * c-common.c (check_case_value): Handle C++'s extensions to C
6765 semantics.
6766 * c-commnon.def (CASE_LABEL): Add room for the CASE_LABEL_DECL
6767 field.
6768 * c-parse.in (stmt): Adjust handling of return statements and case
6769 laels.
6770 * c-semantics.c (add_stmt): Return the new statement.
6771 (genrtl_return_stmt): Take the RETURN_STMT as input, not the
6772 returned expression. Directly generate RTL, rather than calling
6773 c_expand_return.
6774 (genrtl_switch_stmt): Don't call c_expand_start_case.
6775 (build_case_label): Take the LABEL_DECL as input, too.
6776 (genrtl_case_label): Just call add_case_node.
6777 (expand_stmt): Adjust calls to genrtl_return_stmt and
6778 genrtl_case_label.
6779 * c-tree.h (c_expand_start_case): Declare.
6780 * c-typeck.c (decl_constant_value): Give it external linkage.
6781 (c_expand_return): Don't call expand_return or expand_null_return;
6782 use genrtl_return_stmt instead.
6783 * stmt.c (struct nesting): Remove num_ranges field.
6784 (add_case_node): Give it external linkage.
6785 (expand_start_case): Don't set num_ranges.
6786 (expand_start_case_dummy): Don't clear it.
6787 (pushcase): Rely on add_case_node to handle `default' labels.
6788 (add_case_node): Handle `default' labels.
6789 * tree.c (tree_int_cst_compare): New function.
6790 * tree.h (tree_int_cst_compare): Declare.
6791 (add_case_node): Likewise.
6792
6793 2000-09-10 Richard Henderson <rth@cygnus.com>
6794
6795 * c-parse.in: Revert last change.
6796 (init_reswords): Do not enter disabled keywords into the ridpointers
6797 table, modulo objc weirdness.
6798 (_yylex): Return the canonical spelling for a keyword.
6799
6800 2000-09-10 Philip Blundell <philb@gnu.org>
6801
6802 * config/arm/arm.h (CPP_ISA_SPEC): Don't define `arm' or `thumb'.
6803 * config/arm/linux-elf.h (CPP_PREDEFINES): Don't define `__arm__'.
6804
6805 Sun Sep 10 14:30:28 EDT 2000 John Wehle (john@feith.com)
6806
6807 * alias.c (find_base_term): Handle ADDRESSOF.
6808 (memrefs_conflict_p): An ADDRESSOF doesn't conflict.
6809
6810 2000-09-10 Denis Chertykov <denisc@overta.ru>
6811
6812 * genoutput.c (output_insn_data): Translate <NEWLINE> to \n\ while
6813 outputting templates with many lines.
6814
6815 2000-09-10 Stephane Carrez <Stephane.Carrez@worldnet.fr>
6816
6817 * libgcc2.h: Use LONG_LONG_TYPE_SIZE instead of MIN_UNITS_PER_WORD
6818 to decide whether 64-bit support must be generated.
6819
6820 2000-09-10 Richard Henderson <rth@cygnus.com>
6821
6822 * c-parse.in (asm patterns): Fix volatile check.
6823
6824 2000-09-09 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
6825
6826 * cppmacro.c (check_trad_stringification): New function.
6827 (save_expansion): If -Wtraditional, warn about stringification of
6828 macro arguments.
6829
6830 2000-09-11 Michael Hayes <mhayes@cygnus.com>
6831
6832 * loop.h (struct loop_mem_info): Move from loop.c
6833 (struct loop_info): Add fields store_mems, mems, mems_idx,
6834 mems_allocated, unknown_address_altered,
6835 unknown_constant_address_altered, num_mem_sets, and
6836 first_loop_store_insn.
6837
6838 * loop.c (loop_store_mems): Replace with field in loop_info struct.
6839 (loop_mems, loop_mems_idx, loop_mems_allocated): Likewise.
6840 (unknown_address_altered, unknown_constant_address_altered): Likewise.
6841 (num_mem_sets): Likewise.
6842 (replace_loop_mems, replace_loop_regs): New.
6843 (struct loop_replace_args): New.
6844 (load_mems): Use replace_loop_mems.
6845 (try_copy_prop): Use replace_loop_regs.
6846 (replace_loop_reg, replace_loop_mem): Use loop_replace_args structure.
6847
6848 2000-09-09 Stephane Carrez <Stephane.Carrez@worldnet.fr>
6849
6850 * configure.in: Recognize m6811-elf and m6812-elf.
6851 * configure: Regenerate.
6852
6853 2000-09-09 Geoff Keating <geoffk@cygnus.com>
6854
6855 * recog.c (validate_replace_rtx_1): Correct MODE parameter in call
6856 to operand_subword.
6857
6858 2000-09-10 Michael Hayes <mhayes@cygnus.com>
6859
6860 * loop.c (struct movables): New.
6861 (num_movables): Move into struct movables.
6862 (the_movables): Change type to struct movables.
6863 (ignore_some_movables): Change struct movable arg to struct movables.
6864 (force_movables, combine_movables, regs_match_p): Likewise.
6865 (rtx_equal_for_loop_p, move_movables): Likewise.
6866 (scan_loop): Change movables to be of type struct movables.
6867 Replace last_movable with field in movables structure.
6868
6869 2000-09-08 Zack Weinberg <zack@wolery.cumb.org>
6870
6871 * c-pragma.c: Don't elide entire file if !HANDLE_GENERIC_PRAGMAS.
6872 (init_pragma): Avoid warning if pfile happens to be unused.
6873 * c-pragma.h: Never define HANDLE_GENERIC_PRAGMAS. Never
6874 define init_pragma to nothing. Always prototype
6875 init_pragma. Prototype dispatch_pragma if !USE_CPPLIB.
6876
6877 * c-lex.c (process_directive): Always call dispatch_pragma.
6878 Initialize entering_c_header to 0.
6879
6880 2000-09-08 Stephane Carrez <Stephane.Carrez@worldnet.fr>
6881
6882 * config/m68hc11/m68hc11.md: New file, machine description for
6883 68HC11 & 68HC12.
6884 * config/m68hc11/m68hc11.h: New file, definitions for 68HC11 & 68HC12.
6885 * config/m68hc11/m68hc11.c: New file, functions for 68HC11 & 68HC12.
6886 * config/m68hc11/m68hc12.h: New file, definitions for 68HC12.
6887 * config/m68hc11/m68hc11-protos.h: New file.
6888 * config/m68hc11/m68hc11-crt0.S: New file, startup code.
6889 * config/m68hc11/t-m68hc11-gas: New file, makefile fragment.
6890 * config/m68hc11/xm-m68hc11.h: New file, target defs.
6891 * config/m68hc11/larith.asm: New file, libgcc routines.
6892
6893 2000-09-08 Stephane Carrez <Stephane.Carrez@worldnet.fr>
6894
6895 * Makefile.in (DPBIT_FUNCS): Add _usi_to_df.
6896 (FPBIT_FUNCS): Add _usi_to_sf.
6897 * config/fp-bit.c (usi_to_float): New function.
6898 * config/fp-bit.h (L_usi_to_sf, L_usi_to_df): Define.
6899 (usi_to_float): Add appropriate #define.
6900
6901 2000-09-08 Bernd Schmidt <bernds@redhat.co.uk>
6902
6903 * i386-protos.h (sse_comparison_operator, mmx_reg_operand): Declare
6904 new functions.
6905 * i386.c (sse_comparison_operator, mmx_reg_operand): New functions.
6906 * i386.md (attr "type"): Add sse and mmx types.
6907 (attr "memory"): Handle them without a crash.
6908 (movsi_1, movdi_2): Allow MMX regs.
6909 (movdi splits): Don't split moves involving MMX regs.
6910 (setcc_4): Remove '*' from pattern name so we get a gen_setcc4.
6911 (movv4sf_internal, movv4si_internal, movv8qi_internal,
6912 movv4hi_internal, movv2si_internal, movv8qi, movv4hi, movv2si,
6913 movv4sf, movv4si, pushv4sf, pushv4si, pushv8qi, pushv4hi, pushv2si,
6914 sse_movaps, sse_movups, sse_movmskps, mmx_pmovmskb, mmx_maskmovq,
6915 sse_movntv4sf, sse_movntdi, sse_movhlps, sse_movlhps, sse_movhps,
6916 sse_movlps, sse_loadss, sse_movss, sse_storess, sse_shufps,
6917 addv4sf3, vmaddv4sf3, subv4sf3, vmsubv4sf3, mulv4sf3, vmmulv4sf3,
6918 divv4sf3, vmdivv4sf3, rcpv4sf2, vmrcpv4sf2, rsqrtv4sf2, vmrsqrtv4sf2,
6919 sqrtv4sf2, vmsqrtv4sf2, sse_andti3, sse_nandti3, sse_iorti3,
6920 sse_xorti3, maskcmpv4sf3, maskncmpv4sf3, vmmaskcmpv4sf3,
6921 vmmaskncmpv4sf3, sse_comi, sse_ucomi, sse_unpckhps, sse_unpcklps,
6922 smaxv4sf3, vmsmaxv4sf3, sminv4sf3, vmsminv4sf3, cvtpi2ps, cvtps2pi,
6923 cvttps2pi, cvtsi2ss, cvtss2si, cvttss2si, addv8qi3, addv4hi3,
6924 addv2si3, ssaddv8qi3, ssaddv4hi3, usaddv8qi3, usaddv4hi3, subv8qi3,
6925 subv4hi3, subv2si3, sssubv8qi3, sssubv4hi3, ussubv8qi3, ussubv4hi3,
6926 mulv4hi3, smulv4hi3_highpart, umulv4hi3_highpart, mmx_pmaddwd,
6927 mmx_iordi3, mmx_xordi3, mmx_anddi3, mmx_nanddi3, mmx_uavgv8qi3,
6928 mmx_uavgv4hi3, mmx_psadbw, mmx_pinsrw, mmx_pextrw, mmx_pshufw,
6929 eqv8qi3, eqv4hi3, eqv2si3, gtv8qi3, gtv4hi3, gtv2si3, umaxv8qi3,
6930 smaxv4hi3, uminv8qi3, sminv4hi3, ashrv4hi3, ashrv2si3, lshrv4hi3,
6931 lshrv2si3, mmx_lshrdi3, ashlv4hi3, ashlv2si3, mmx_ashldi3,
6932 mmx_packsswb, mmx_packssdw, mmx_packuswb, mmx_punpckhbw,
6933 mmx_punpckhwd, mmx_punpckhdq, mmx_punpcklbw, mmx_punpcklwd,
6934 mmx_punpckldq, emms, sfence, ldmxcsr, prefetch, stmxcsr, sse_clrti,
6935 mmx_clrdi): New patterns.
6936
6937 2000-09-08 Richard Earnshaw <rearnsha@arm.com>
6938
6939 * arm.c: Don't include tm.h directly.
6940
6941 Fri Sep 8 14:34:56 MET DST 2000 Jan Hubicka <jh@suse.cz>
6942
6943 * recog.c (validate_replace_rtx_1): Fix confusion about equality
6944 testing; simplify subregs of constants and nested subregs.
6945
6946 2000-09-08 Alexandre Oliva <aoliva@redhat.com>
6947
6948 * config/sh/sh.md (symPLT_label2reg): Use operand3 for PIC reg.
6949
6950 2000-09-08 Bernd Schmidt <bernds@redhat.co.uk>
6951
6952 * combine.c (combine_simplify_rtx): Try to simplify VEC_SELECT of a
6953 VEC_CONCAT.
6954 * rtl.texi (description of USE): Add note about possible pitfalls
6955 with this rtx.
6956 From Richard Henderson:
6957 * reload1.c (choose_reload_regs): Compute need_mode properly.
6958
6959 2000-09-07 Richard Henderson <rth@cygnus.com>
6960
6961 * config/ia64/lib1funcs.asm (__divsi3): Use .s1 for frcpa.
6962 (__modsi3, __umodsi3): Likewise.
6963 (__udivsi3): Likewise. Normalize the TFmode values.
6964
6965 2000-09-07 Geoff Keating <geoffk@cygnus.com>
6966
6967 * config/rs6000/sol-c0.c (_start): Declare `termfunc' parameter
6968 with a prototype.
6969 * config/rs6000/rs6000.h (RS6000_ARG_SIZE): Use cast to suppress
6970 warning.
6971
6972 Fri Sep 8 03:26:38 2000 J"orn Rennecke <amylaar@redhat.co.uk>
6973
6974 * sh.md (cmpeqsi_ior_t, cmpeqsi_and_t): Remove.
6975 (cmpeqdi_t): Add output pattern.
6976 (cmpeqdi_t+1): Don't split when not optimizing.
6977 Restore proper splitting operation.
6978
6979 2000-09-07 Richard Henderson <rth@cygnus.com>
6980
6981 * c-lex.c (process_directive): If not HANDLE_GENERIC_PRAGMAS,
6982 do not call dispatch_pragma.
6983
6984 2000-09-07 Jim Wilson <wilson@cygnus.com>
6985
6986 * reload.c (push_reload): Use CLASS_CANNOT_CHANGE_MODE_P in addition
6987 to CLASS_CANNOT_CHANGE_MODE.
6988 * config/ia64/ia64.h (CLASS_CANNOT_CHANGE_MODE_P): True only if the
6989 mode classes are different.
6990
6991 2000-09-07 Zack Weinberg <zack@wolery.cumb.org>
6992
6993 * cpplib.h (struct cpp_options): Add user_label_prefix member,
6994 left out of commit which removed cppulp.c.
6995
6996 2000-09-07 Richard Henderson <rth@cygnus.com>
6997
6998 * bb-reorder.c (fixup_reorder_chain): Add jump in new block
6999 after switch for CASE_DROPS_THROUGH.
7000
7001 2000-09-07 Richard Henderson <rth@cygnus.com>
7002
7003 * loop.c (strength_reduce): Call check_ext_dependant_givs.
7004 Properly extend the biv initial value for the giv.
7005 (record_biv): Zero ext_dependant.
7006 (record_giv): New argument ext_val. Update all callers.
7007 (general_induction_var): Likewise.
7008 (consec_sets_giv): Likewise.
7009 (simplify_giv_expr): Likewise. Fill in ext_val if we find
7010 a sign-extend, zero-extend, or truncate.
7011 (combine_givs_p): Make sure modes are compatible.
7012 (check_ext_dependant_givs): New.
7013 (extend_value_for_giv): New.
7014 * loop.h (struct induction): Add ext_dependant.
7015 * unroll.c (iteration_info): Extend the biv initial value for the giv.
7016 (find_splittable_givs): Likewise.
7017 (final_giv_value): Likewise.
7018
7019 2000-09-07 Zack Weinberg <zack@wolery.cumb.org>
7020
7021 * c-pragma.h: Define HANDLE_GENERIC_PRAGMAS if
7022 REGISTER_TARGET_PRAGMAS is defined. Duplicate some
7023 definitions from cpplib.h.
7024 * cpplib.h: Don't typedef struct cpp_reader if c-pragma.h has
7025 already done it.
7026 * tm.texi: Document HANDLE_PRAGMA as no longer supported. Add
7027 documentation for REGISTER_TARGET_PRAGMAS.
7028
7029 * c-lex.c: Include cpplib.h before c-pragma.h. Define a
7030 default-pragma callback to implement -Wunknown-pragmas if
7031 USE_CPPLIB.
7032 * c-parse.in: Move all includes to top of file.
7033 * c-pragma.c: Include cpplib.h before c-pragma.h. Include
7034 tm_p.h.
7035 (dispatch_pragma): Put the namespace in the -Wunknown-pragmas
7036 warning.
7037 (init_pragma): If REGISTER_TARGET_PRAGMAS is defined, call it.
7038
7039 * arm.h, arm-protos.h, arm.c,
7040 c4x.h, c4x-protos.h, c4x.c,
7041 h8300.h, h8300-protos.h, h8300.c,
7042 i370.h, i370-protos.h, i370.c,
7043 i960.h, i960-protos.h, i960.c,
7044 sh.h, sh-protos.h, sh.c,
7045 v850.h, v850-protos.h, v850.c: Convert HANDLE_PRAGMA-based
7046 pragmata scheme to use REGISTER_TARGET_PRAGMAS instead.
7047
7048 * d30v.h: Don't mention HANDLE_PRAGMA in comment. Add
7049 multiple include guard.
7050 * i370.md (untyped_call): Use GEN_CALL.
7051 (umodsi3): Remove unused variable.
7052 * sh/elf.h: Don't undef HANDLE_SYSV_PRAGMA.
7053 * v850.c (output_move_single, output_move_double): Constify
7054 return value.
7055 (print_operand): Constify a char *.
7056 * v850.h (struct small_memory_info): Constify name member.
7057
7058 2000-09-07 Kazu Hirata <kazu@hxi.com>
7059
7060 * config/h8300.h: Fix comment typos.
7061 * config/h8300/h8300.md: Likewise.
7062 * config/h8300/lib1funcs.asm: Likewise.
7063
7064 Thu 07-Sep-2000 21:29:00 BST Neil Booth <NeilB@earthling.net>
7065
7066 * Makefile.in: Remove references to cppulp.{c,o}.
7067 * cppinit.c (initialize_builtins, cpp_start_read,
7068 cpp_handle_option): Update to use cpp_options structure.
7069 * cppulp.c: Remove.
7070
7071 2000-09-07 Joseph S. Myers <jsm28@cam.ac.uk>
7072
7073 * c-common.c (time_char_table): Allow %#b and %#h.
7074
7075 2000-09-07 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
7076
7077 * reorg.c (find_end_label): If the basic block reorder pass moves the
7078 return insn to some other place try to locate it again and put our
7079 end_of_function_label there.
7080 * reorg.c (relax_delay_slots): Check if find_end_label created a
7081 new label that invalidates the current optimazation.
7082
7083 2000-09-07 Catherine Moore <clm@redhat.com>
7084
7085 * unroll.c (unroll_loop): Check for unconditional jumps
7086 to loop continuation. Delete if n_iterations is 1.
7087 (ujump_to_loop_cont): New routine.
7088
7089 2000-09-07 Bernd Schmidt <bernds@redhat.co.uk>
7090
7091 * rtl.c (class_narrowest_mode): Add entries for MODE_VECTOR_INT and
7092 MODE_VECTOR_FLOAT.
7093 * reload.c (regno_clobbered_p): Accept new arg, MODE, and use it
7094 to handle multiword modes correctly. All callers and the declaration
7095 changed.
7096
7097 2000-09-06 Mark Mitchell <mark@codesourcery.com>
7098
7099 * c-common.h (prep_stmt): Declare.
7100 (lang_expand_stmt): Likewise.
7101 * c-decl.c (lang_expand_stmt): Remove.
7102 * c-semantics.c (lang_expand_stmt): Define.
7103 (prep_stmt): New function.
7104 (expand_stmt): Handle common statement types here.
7105
7106 2000-09-07 Niibe Yutaka <gniibe@m17n.org>, Kaz Kojima <kkojima@rr.iij4u.or.jp>, Alexandre Oliva <aoliva@redhat.com>
7107
7108 * configure.in (sh-*-linux*): Added.
7109 * configure: Rebuilt.
7110 * config/sh/t-linux: New file.
7111 * config/sh/sh.h (USERMODE_BIT): Define.
7112 (TARGET_USERMODE): Likewise.
7113 (TARGET_SWITCHES): New switches for the bits above.
7114 (INITIALIZE_TRAMPOLINE): Call __ic_invalidate in USERMODE.
7115 * config/sh/linux.h: New file.
7116 * config/sh/lib1funcs.asm (GLOBAL): Don't prefix symbols with
7117 underscore on linux.
7118 (L_sdivsi3, L_udivsi3): Define for linux.
7119 (L_ic_invalidate): Define.
7120 * invoke.texi (SH Options): Document -musermode.
7121
7122 2000-09-07 Alexandre Oliva <aoliva@redhat.com>
7123
7124 * config/sh/sh.h (OVERRIDE_OPTIONS): Don't disable function
7125 CSE unless generating PIC.
7126
7127 * config/sh/sh.md (symPLT_label2reg): Force the initialization of
7128 the PIC register.
7129
7130 2000-09-06 H.J. Lu (hjl@gnu.org)
7131
7132 * Makefile.in (clean_s1): Depend on stage_b.
7133 (clean_s2): Depend on stage_d. Don't remove $(VOL_FILES) in
7134 stage2. They are used for "make compare".
7135
7136 2000-09-06 Mark Mitchell <mark@codesourcery.com>
7137
7138 Move statement-tree facilities from C++ to C front-end.
7139 * c-common.h (c_tree_index): Add CTI_VOID_ZERO.
7140 (void_zero_node): New macro.
7141 (struct stmt_tree_s): New type.
7142 (stmt_tree): New typedef.
7143 (struct language_function): New type.
7144 (last_tree): New macro.
7145 (last_expr_type): Likewise.
7146 (walk_tree_fn): New typedef.
7147 (current_stmt_tree): New function.
7148 (begin_stmt_tree): Likewise.
7149 (add_stmt): Likewise.
7150 (finish_stmt_tree): Likewise.
7151 (statement_code_p): Likewise.
7152 (lang_statement_code_p): New variable.
7153 (walk_stmt_tree): New function.
7154 (STMT_IS_FULL_EXPR_P): New macro.
7155 * c-common.c (lang_statement_code_p): New variable.
7156 (c_common_nodes_and_builtins): Initialize void_zero_node.
7157 (statement_code_p): New function.
7158 (walk_stmt_tree): Likewise.
7159 * c-decl.c (language_function): Rename to ...
7160 (c_language_function): ... this. Include language_function.
7161 (push_c_function_context): Adjust accordingly.
7162 (pop_c_function_context): Likewise.
7163 (mark_c_function_context): Likewise.
7164 (current_stmt_tree): Define.
7165 * c-semantics.c (begin_stmt_tree): New function.
7166 (add_stmt): Likewise.
7167 (prune_unused_decls): Likewise.
7168 (finish_stmt_tree): Likewise.
7169
7170 2000-09-06 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
7171
7172 * flow.c (insn_dead_p): Detect dead memory stores with auto increments.
7173
7174 2000-09-06 Kazu Hirata <kazu@hxi.com>
7175
7176 * calls.c: Fix formatting.
7177
7178 2000-09-06 Graham Stott <grahams@cygnus.co.uk>
7179
7180 * config/i386/i386.h (ADDRESS_COST): Fix typo.
7181
7182 2000-09-06 Zack Weinberg <zack@wolery.cumb.org>
7183
7184 Integrated preprocessor.
7185
7186 * Makefile.in: Remove all references to c-parse.gperf,
7187 c-gperf.h, and c-parse.h. Remove -d from yacc command line
7188 generating c-parse.c. Update dependencies.
7189 * c-parse.gperf, c-gperf.h: Delete.
7190
7191 * c-common.c: Don't define parse_options, cpp_token, yy_cur,
7192 yy_lim, or yy_get_token. Don't define get_directive_line if
7193 USE_CPPLIB.
7194 * c-common.h: Add multiple include guard. Define RID values
7195 for every keyword in C, C++, and Objective C. Put all the
7196 modifiers first.
7197 (struct c_fileinfo, get_fileinfo, dump_time_statistics): New.
7198 * c-decl.c (c_decode_option): Handle -lang-objc here.
7199 (print_lang_identifier): Handle C_IS_RESERVED_WORD case.
7200 (grokdeclarator): Adjust for new RID scheme.
7201 (extract_interface_info): New stub.
7202 * c-lang.c: Don't declare yy_cur or parse_options.
7203 (lang_init_options): Call cpp_init. Don't call
7204 cpp_options_init.
7205 (lang_init): Don't call check_newline if USE_CPPLIB.
7206
7207 * c-lex.c: Don't include c-parse.h. Do include timevar.h.
7208 Elide lots of unnecessary code if USE_CPPLIB. Delete code
7209 rendered unnecessary by new architecture. Move routines not
7210 shared with C++ to c-parse.in. Maintain a local idea of the
7211 line number. Handle C++ as well as C.
7212 [USE_CPPLIB]: Declare and register callbacks for #ident and
7213 for entering/leaving files.
7214 (init_c_lex, c_lex): Are now the entry points to this file.
7215 (check_newline): Break out directive handling to
7216 process_directive.
7217 (read_ucs, is_extended_char, utf8_extend_token): Moved here
7218 from C++ front end.
7219 (readescape, parse_float): Overhaul.
7220 (lex_number, lex_string, lex_charconst): Break out of c_lex
7221 (n'ee yylex).
7222 (get_fileinfo, update_header_times, dump_one_header,
7223 dump_time_statistics): New and/or moved here from C++.
7224 Support per-file data needed by C++ and per-header timing
7225 statistics (C++ only, at the moment).
7226 * c-lex.h: Update prototypes. Add multiple include guard.
7227 * c-tree.h (struct lang_identifier): Add rid_code field.
7228 (C_IS_RESERVED_WORD, C_RID_CODE): New.
7229
7230 * c-parse.in: Include c-pragma.h. Remove unnecesary calls to
7231 reinit_parse_for_function and/or position_after_white_space.
7232 (save_filename, save_lineno): Look ahead before saving.
7233 (label -> identifier ':'): Save file and line before shifting ':'.
7234 (reservedwords): No need to call get_identifier.
7235 (init_parse, finish_parse, yyerror, yylex, yyprint,
7236 make_pointer_declarator): Are now here for C/ObjC.
7237 (rid_to_yy): Conversion table from RID constants to Yacc codes.
7238
7239 * c-pragma.c: Rewrite parsing logic to fit with cpplib's
7240 #pragma registry. Provide dummy implementation of that
7241 interface if !USE_CPPLIB.
7242 * c-pragma.h: Update to match.
7243
7244 * flags.h: Add multiple include guard.
7245 (flag_detailed_statistics): Moved here from C++.
7246 * toplev.c: Define flag_detailed_statistics.
7247
7248 * gcc.c (C specs): Use %(trad_capable_cpp) for -E|-M|-MM case
7249 #if USE_CPPLIB.
7250 * timevar.def (TV_CPP, TV_LEX): New.
7251 * timevar.h: Add multiple include guard.
7252
7253 * objc/lang-specs.h: Use %(trad_capable_cpp) for -E|-M|-MM case
7254 #if USE_CPPLIB.
7255 * objc/objc-act.c: Don't mention yy_cur or parse_options.
7256 Initialize cpplib properly. Force lineno to 0 after first
7257 call to check_newline. Don't handle -lang-objc here.
7258 Move forget_protocol_qualifiers and remember_protocol_qualifiers here.
7259
7260 2000-09-06 David Edelsohn <edelsohn@gnu.org>
7261
7262 * rs6000.md: Correct function unit definitions for cr_logical and
7263 mtjmpr.
7264 (sCOND): Additionally fail for sgt, slt, sge, sle if !TARGET_POWER
7265 and use portable method for >=0 and floating point >=. Remove
7266 associated matchers.
7267
7268 2000-09-06 Mark Mitchell <mark@codesourcery.com>
7269
7270 * extend.texi: Mark named return value extension as deprecated.
7271
7272 2000-09-06 Geoff Keating <geoffk@cygnus.com>
7273
7274 * config/rs6000/rs6000.c (rs6000_reverse_condition): Return
7275 the result.
7276
7277 2000-09-06 Gabriel Dos Reis <gdr@codesourcery.com>
7278
7279 * toplev.c (display_help): Fix thinko in documentation.
7280
7281 * diagnostic.h (output_buffer::indent_skip): New fields.
7282 (output_indentation): New macro.
7283
7284 * diagnostic.c (output_indent): New function.
7285 (output_set_prefix, clear_diagnostic_info): Use.
7286 (output_emit_prefix): Predict future indentation.
7287
7288 2000-09-06 DJ Delorie <dj@redhat.com>
7289
7290 * Makefile.in (stage_*): add more dependencies to ensure parallel
7291 builds build correctly
7292
7293 2000-09-06 Manfred Hollstein <manfredh@redhat.com>
7294
7295 * Makefile.in (bootstrap-lean): Depend on bootstrap-lean_g,
7296 not bootstrap-lean_f.
7297
7298 2000-09-06 Andreas Schwab <schwab@suse.de>
7299
7300 * mklibgcc.in: Emit rule for libgcc-stage-start.
7301 * Makefile.in (stage1-start, stage2-start, stage3-start,
7302 stage4-start): Don't handle libgcc here, use libgcc.mk instead.
7303
7304 2000-09-06 Bernd Schmidt <bernds@redhat.co.uk>
7305
7306 * local-alloc.c (local_alloc): Ignore CLASS_LIKELY_SPILLED.
7307 (update_equiv_regs): Likewise, except for the mn10200 kludge.
7308 (combine_regs): Likewise.
7309
7310 * Makefile.in (cse.o): Depend on $(BASIC_BLOCK_H).
7311 * cse.c: Include "basic-block.h".
7312 (struct table_elt): New field REGCOST.
7313 (CHEAP_REG): Delete macro.
7314 (COST): Return 0 for REGs.
7315 (approx_reg_cost_1, approx_reg_cost, preferrable): New functions.
7316 (notreg_cost): Return 0 for appropriate SUBREGs.
7317 (COSTS_N_INSNS): Return N * 2.
7318 (rtx_cost): Return 0 for REGs, and use cost of nested rtx for cheap
7319 SUBREGs.
7320 (CHEAPER): Use new function preferrable.
7321 (insert): Initialize REGCOST member.
7322 (find_best_addr): Use approx_reg_cost for estimation of register
7323 usage.
7324 (cse_insn): Likewise.
7325 * loop.c (iv_add_mult_cost): New function.
7326 (add_cost, shift_cost, mult_cost): Delete variables.
7327 (init_loop): Don't initialize add_cost; reduce copy_cost by half.
7328 (strength_reduce): Use iv_add_mult_cost instead of fixed add_cost.
7329 Make code that detects autoinc opportunities slightly less optimistic.
7330 (simplify_giv_expr): If expression contains other reg that is also a
7331 giv, only increment benefit if this is the only use of that reg.
7332 (consec_sets_giv): Take that change into account.
7333 (combine_givs): Slightly more verbose output.
7334
7335 * i386.h (RTX_COSTS): For MULT, return true cost of multiplication,
7336 not the cost of an equivalent shift.
7337 * sh-protos.h (addsubcosts): Declare.
7338 * sh.c (addsubcosts): New function.
7339 * sh.h (CONST_COSTS): If CONST_OK_FOR_I, then return 0.
7340 (RTX_COSTS): Tweak. Use addsubcosts.
7341 (ADDRESS_COST): Return higher cost for reg+reg addressing.
7342
7343 2000-09-06 Geoff Keating <geoffk@cygnus.com>
7344
7345 * config/rs6000/rs6000.c (validate_condition_mode): New function.
7346 (branch_comparison_operator): Call validate_condition_mode to
7347 abort rather than returning 0.
7348 (branch_positive_comparison_operator): New function.
7349 (scc_comparison_operator): Call validate_condition_mode to abort
7350 rather than returning 0.
7351 (ccr_bit): Call validate_condition_mode. Update for
7352 new branch scheme.
7353 (print_operand): Delete %C modifier. Update %E case
7354 to use EQ bit not SO bit.
7355 (rs6000_reverse_condition): New function.
7356 (rs6000_generate_compare): New function.
7357 (rs6000_emit_sCOND): New function.
7358 (rs6000_emit_cbranch): New function.
7359 (output_cbranch): The length of a long branch insn is
7360 now only 8 bytes. Add validate_condition_mode. Use
7361 rs6000_reverse_condition. Remove cror generation.
7362
7363 * config/rs6000/rs6000.h: Update comments.
7364 (PREDICATE_CODES): Add new predicate. Update codes used
7365 by branch_comparison_operator and scc_comparison_operator.
7366 * config/rs6000/rs6000-protos.h: Add prototypes for
7367 new external functions.
7368 * config/rs6000/rs6000.md: Add new scheduling parameters
7369 for cr_logical instructions. Change length of branch
7370 instructions.
7371 (bCOND patterns): Call rs6000_emit_cbranch.
7372 (sCOND patterns): Call rs6000_emit_sCOND.
7373 (branch patterns): Change lengths to 4.
7374 (cr logical patterns): New.
7375
7376 2000-09-06 Richard Henderson <rth@cygnus.com>
7377
7378 * config/i386/i386.md (call_pop): Fix test for setting
7379 current_function_uses_pic_offset_table.
7380 (call, call_value_pop, call_value): Likewise.
7381
7382 2000-09-06 Zack Weinberg <zack@wolery.cumb.org>
7383
7384 * timevar.c (timevar_add): Delete.
7385 (timevar_get): Also count time since the selected timer was
7386 last updated. Do not examine the timevar stack if the
7387 selected timer is standalone.
7388
7389 2000-09-05 J. David Anglin <dave@hiauly1.hia.nrc.ca>
7390
7391 * gthr-dce.h (__gthread_objc_mutex_deallocate): Free mutex->backend.
7392
7393 2000-09-05 Jason Merrill <jason@redhat.com>
7394
7395 * c-decl.c (finish_incomplete_decl): Don't call complete_array_type
7396 for 'extern' arrays.
7397
7398 2000-09-05 Richard Henderson <rth@cygnus.com>
7399
7400 * config/ia64/lib1func.asm (__divtf3): Rebundle for Itanium.
7401 Eliminate final copy from non-trapping case.
7402 (__divdf3, __divsf3): Likewise.
7403
7404 2000-09-05 Richard Henderson <rth@cygnus.com>
7405
7406 * config/ia64/ia64.md (mulhi3): Fix typo last change.
7407 * config/ia64/lib1func.asm (__divdi3, __udivdi3, __umodsi3): Likewise.
7408
7409 2000-09-03 Donn Terry <donn@interix.com>, Laurynas Biveinis <lauras@softhome.net>
7410
7411 * Makefile.in: Restructure bootstrap stages to allow clean
7412 restart after failure.
7413
7414 2000-09-05 Richard Henderson <rth@cygnus.com>
7415
7416 * config/ia64.md (movsi and movdi patterns): Allow moves from
7417 8-bit constants to AR registers.
7418
7419 2000-09-05 Richard Henderson <rth@cygnus.com>
7420
7421 * config/ia64/ia64.md (mulhi3): New.
7422
7423 2000-09-05 Richard Henderson <rth@cygnus.com>
7424
7425 * config/ia64/ia64.h (INIT_TARGET_OPTABS): Remove.
7426 * config/ia64/lib1funcs.asm (__divdi3): Update from Intel IA-64
7427 Optimization Guide, minimum latency alternative.
7428 (__moddi3, __udivdi3, __umoddi3): Likewise.
7429 (__divsi3, __modsi3, __udivsi3, __umodsi3): Likewise.
7430
7431 2000-09-05 Bruce Korb <bkorb@gnu.org>
7432
7433 * fixinc/fixincl.c (load_file): always read header files
7434 with sizes that are a multiple of the page size.
7435 & use libiberty's getpagesize for determining that.
7436
7437 2000-09-05 Alexandre Oliva <aoliva@redhat.com>
7438
7439 * gcse.c (hash_string_1): Add prototype.
7440 * cse.c (canon_hash_string): Likewise.
7441
7442 2000-09-04 Craig Newell <CraigN@ieee.org>
7443
7444 * gcc.c: Undefine "__WCHAR_TYPE__" before redefining it.
7445
7446 2000-09-04 Andreas Schwab <schwab@suse.de>
7447
7448 * Makefile.in (STAGESTUFF): Remove libgcc.
7449 (stage1-start, stage2-start, stage3-start): Copy the contents of
7450 the libgcc directory explicitly.
7451 (mostlyclean): Clean libgcc.
7452
7453 2000-09-04 Andrew Haley <aph@redhat.com>
7454
7455 * dwarf2out.c: (stack_adjust_offset): New prototype.
7456
7457 Wed Jan 1 00:23:59 MET 1997 Jan Hubicka <jh@suse.cz>
7458
7459 * combine.c (make_extraction): Fix rtx_cost comparison to
7460 match the comment.
7461
7462 Wed Jan 1 00:17:32 MET 1997 Jan Hubicka <jh@suse.cz>
7463
7464 * i386.md (pushsi2, pushhi2, pophi2, swapsf, swapdf,
7465 umulsi3_highpart, smulsi3_highpart, testqi_ccno_1, xorqi_ext_1):
7466 Add '*' to insn pattern name.
7467
7468 2000-09-04 Jakub Jelinek <jakub@redhat.com>
7469
7470 * cpplex.c (ON_REST_ARG): Check VAR_ARGS flag of current context,
7471 use posn - 1 to index into tokens array.
7472 (maybe_paste_with_next): Adjust caller.
7473
7474 2000-09-03 Geoff Keating <geoffk@cygnus.com>
7475
7476 * invoke.texi: Document the -mvxworks option for rs6000 ELF.
7477
7478 * config/rs6000/rs6000.h: Update various comments about XER_REGNO.
7479 (REGNO_REG_CLASS): Use symbolic register
7480 names.
7481
7482 2000-09-03 Richard Earnshaw <rearnsha@arm.com>
7483
7484 * arm.c (final_prescan_insn): If the form of a jump insn isn't
7485 recognized, don't try to conditionally execute it.
7486
7487 Sun Sep 3 13:10:56 2000 Denis Chertykov <denisc@overta.ru>
7488
7489 * config/avr/avr.md ("*tablejump_lib"): New pattern.
7490 (call_value_insn): Right length claculation.
7491 (call_insn): Likewise.
7492
7493 2000-09-02 Marek Michalkiewicz <marekm@linux.org.pl>
7494
7495 * config/avr/avr-protos.h, config/avr/avr.c (unique_section,
7496 gas_output_limited_string, gas_output_ascii, output_movqi,
7497 output_movhi, out_movqi_r_mr, out_movqi_mr_r, out_movhi_r_mr,
7498 out_movhi_mr_r, out_movsi_r_mr, out_movsi_mr_r, output_movsisf,
7499 out_tstsi, out_tsthi, ret_cond_branch, ashlqi3_out, ashlhi3_out,
7500 ashlsi3_out, ashrqi3_out, ashrhi3_out, ashrsi3_out, lshrqi3_out,
7501 lshrhi3_out, lshrsi3_out, output_reload_inhi, output_reload_insisf,
7502 out_shift_with_cnt, ptrreg_to_str, cond_string, encode_section_info):
7503 Add "const" as needed to remove warnings.
7504
7505 * config/avr/avr.c (avr_override_options, avr_init_once,
7506 function_prologue, function_epilogue, frame_pointer_required_p,
7507 class_likely_spilled_p, order_regs_for_local_alloc,
7508 avr_address_cost, avr_ret_register): Use K&R style arguments.
7509 (initial_elimination_offset, gas_output_limited_string):
7510 Remove ATTRIBUTE_UNUSED from the used arguments.
7511 (output_mov*, out_mov*_r_mr, out_mov*_mr_r, output_reload_insisf):
7512 Use local variables src, dest, base to access operands[].
7513 Rename reg_dest to reg_src if that's what it is.
7514 (output_movhi, output_movsisf): Optimize loading 8-bit immediate
7515 constants to LD_REGS if reg_was_0.
7516 (output_reload_insisf): Change arg 3 to insn length and set it.
7517 (out_movhi_r_mr, out_movhi_mr_r): Use in/out for more efficient
7518 access to 16-bit I/O register pairs.
7519 (avr_address_cost): Lower cost for the above case.
7520 (out_tsthi): Use "or" (faster) instead of "sbiw" if the operand
7521 may be clobbered, also for LD_REGS.
7522 (adjust_insn_length): Correct insn length for iorhi3 and iorsi3
7523 with a CONST_INT.
7524
7525 * config/avr/avr.h (PTRDIFF_TYPE): Make signed.
7526
7527 * config/avr/avr.md: Change all uses of the TEST_HARD_REG_CLASS
7528 macro to test_hard_reg_class function.
7529 (*movsi, *movsf): Change "cc" attribute from "clobber" to "none"
7530 for loading immediate constants to LD_REGS.
7531 (andsi3, cmphi, cmpsi): Add return statements to avoid warnings.
7532
7533
7534 Sat Sep 2 13:58:23 2000 Marek Michalkiewicz <marekm@linux.org.pl>
7535
7536 * config/avr/avr.md ("*negsi2"): substitute %@ to __zero_reg__
7537 * config/avr/libgcc.S: Lost part of the previous patch.
7538
7539 2000-08-31 J. David Anglin <dave@hiauly1.hia.nrc.ca>
7540
7541 * gthr-dce.h (__gthread_objc_mutex_allocate): Create a pthread_mutex_t
7542 object before calling pthread_mutex_init.
7543
7544 2000-09-02 Alexandre Oliva <aoliva@redhat.com>
7545
7546 * config/sh/t-elf, config/sh/crt1.asm, config/sh/crti.asm,
7547 config/sh/crtn.asm: New files.
7548 * config/sh/t-sh (EXTRA_MULTILIB_PARTS): Set.
7549 (crt1.o, crti.o, crtn.o): New targets.
7550 * configure.in [sh-*-elf*, sh-*-rtemself*] (tmake_file): Added
7551 sh/t-elf.
7552 * configure: Rebuilt.
7553 * config/sh/sh.h (INIT_SECTION_ASM_OP, FINI_SECTION_ASM_OP,
7554 STARTFILE_SPEC, ENDFILE_SPEC, CRT_CALL_STATIC_FUNCTION): Define.
7555 * config/sh/elf.h (INIT_SECTION_ASM_OP, FINI_SECTION_ASM_OP):
7556 Undefine for config/elfos.h to redefine.
7557 (STARTFILE_SPEC, ENDFILE_SPEC): Redefine after config/elfos.h.
7558
7559 2000-09-02 Alexandre Oliva <aoliva@redhat.com>, Niibe Yutaka <gniibe@m17n.org>, Kaz Kojima <kkojima@rr.iij4u.or.jp>
7560
7561 * config/sh/sh-protos.h (nonpic_symbol_mentioned_p,
7562 legitimize_pic_address, output_pic_addr_const): Declare.
7563 * config/sh/sh.h (CONDITIONAL_REGISTER_USAGE): Fix PIC register.
7564 (PREFERGOT_BIT, TARGET_PREFERGOT): Likewise.
7565 (TARGET_SWITCHES): New switch -mprefergot.
7566 (OVERRIDE_OPTIONS): Set flag_no_function_cse unless -mprefergot.
7567 (PIC_OFFSET_TABLE_REGNUM): Define.
7568 (GOT_SYMBOL_TABLE): Likewise.
7569 (LEGITIMIZE_ADDRESS): Use legitimize_pic_address.
7570 (ENCODE_SECTION_INFO): Define.
7571 (FINALIZE_PIC): New macros.
7572 (LEGITIMATE_PIC_OPERAND_P, SYMBOLIC_CONST_P): New macro.
7573 (ASM_OUTPUT_INT, ASM_OUTPUT_SHORT): Use output_pic_addr_const.
7574 * config/sh/sh.c (print_operand_address): Use output_pic_addr_const.
7575 (prepare_move_operands): Call emit_pic_move or
7576 emit_pic_const_move if appropriate.
7577 (output_far_jump): For PIC, use braf and output long offset.
7578 (machine_dependent_reorg):
7579 (sh_expand_prologue): Save and initialize the PIC register.
7580 (sh_expand_epilogue): Restore it.
7581 (initial_elimination_offset): Account for it.
7582 (nonpic_symbol_mentioned_p): New function.
7583 (legitimize_pic_address): Likewise.
7584 (output_pic_addr_const): Likewise.
7585 * config/sh/sh.md (calli_pcrel, call_valuei_pcrel): New insns.
7586 (call, call_value): Use them.
7587 (GOTaddr2picreg, sym_label2reg, symGOT2reg, symGOTOFF2reg,
7588 symPLT_label2reg): New expands.
7589 * invoke.texi (SH Options): Document -mprefergot.
7590
7591 2000-09-01 Alexandre Oliva <aoliva@redhat.com>
7592
7593 * rtl.h (ASM_OPERANDS_INPUT_CONSTRAINT_EXP): New macro.
7594 * gcse.c (hash_string_1): New function.
7595 (hash_expr_1) <ASM_OPERANDS>: Disregard filename and line number.
7596 (expr_equiv_p) <ASM_OPERANDS>: Likewise.
7597 * cse.c (rtx_cost): Don't increase the cost of ASM_OPERANDS.
7598 (canon_hash_string): New function.
7599 (canon_hash) <ASM_OPERANDS>: Disregard filename and line number.
7600 (exp_equiv_p) <ASM_OPERANDS>: Likewise.
7601 (fold_rtx): Use ASM_OPERANDS accessor macros.
7602 * emit-rtl.c (copy_insn_1): Likewise.
7603 * integrate.c (copy_rtx_and_substitute): Likewise.
7604 * stmt.c (expand_asm_operands): Likewise. Give an
7605 ASM_OPERANDS rtx the mode of the output reg being set from it.
7606
7607 2000-09-01 Fred Fish <fnf@be.com>
7608
7609 * fix-header.c (write_rbrac): Add putc and getc to list of
7610 functions to protect against prior definition as a macro.
7611
7612 2000-09-01 Joseph S. Myers <jsm28@cam.ac.uk>
7613
7614 * c-common.h (enum c_tree_index): Add CTI_C_SIZE_TYPE.
7615 (c_size_type_node): Define.
7616 * c-decl.c (init_decl_processing): Initialize c_size_type_node.
7617 * c-common.c (enum format_lengths, enum format_std_version,
7618 format_length_info, format_type_detail, BADLEN, NOLENGTHS,
7619 format_kind_info, printf_length_specs, scanf_length_specs, T89_I,
7620 T99_I, T89_L, T99_LL, TEX_LL, T89_S, T89_UI, T99_UI, T89_UL,
7621 T99_ULL, TEX_ULL, T89_US, T89_F, T99_F, T89_D, T99_D, T89_LD,
7622 T99_LD, T89_C, T99_SC, T99_UC, T89_V, T94_W, TEX_W, T94_WI,
7623 TEX_WI, T99_ST, T99_SST, T99_PD, T99_UPD, T99_IM, T99_UIM,
7624 format_types): Define.
7625 (format_char_info, print_char_table, scan_char_table,
7626 time_char_table): Rearrange for new organization of information
7627 about format length modifiers and standard versions.
7628 (T_ST): Redefine to use c_size_type_node.
7629 (check_format_info): Obtain information about length modifiers and
7630 standard versions from tables. Adjust warning message wordings.
7631 Use the name from the user's program for `ll' and `hh' length
7632 modifiers in warning messages. Use more informative names for
7633 wanted types where available (for wchar_t, wint_t, size_t, signed
7634 size_t, ptrdiff_t, unsigned ptrdiff_t, intmax_t and uintmax_t).
7635
7636 2000-09-01 Jim Wilson <wilson@cygnus.com>
7637
7638 * calls.c (emit_call_1): Add REG_NORETURN note to call if ECF_NORETURN.
7639 * combine.c (distribute_notes): Handle REG_NORETURN.
7640 * rtl.c (reg_note_name): Add REG_NORETURN.
7641 * rtl.h (enum reg_note): Likewise.
7642
7643 * config/ia64/ia64-protos.h (emit_safe_across_calls): Renamed from
7644 ia64_file_start.
7645 * config/ia64/ia64.c (emit_safe_across_calls): Likewise.
7646 (rtx_needs_barrier): Handle unspec_volatile 8 and 9.
7647 (emit_predicate_relation_info): Handle conditional calls with
7648 REG_NORETURN.
7649 * config/ia64/ia64.h (ASM_FILE_START): Call emit_safe_across_calls
7650 instead of ia64_file_start.
7651 * config/ia64/sysv4.h (ASM_FILE_START): Likewise.
7652 * config/ia64/ia64.md (safe_across_calls_all,
7653 save_across_calls_normal): New patterns.
7654
7655 * loop.c (check_final_value): Check for biv use before checking for
7656 giv use. Check for both biv and giv uses. Always set last_giv_use
7657 if there is a giv use.
7658
7659 2000-09-01 Richard Henderson <rth@cygnus.com>
7660
7661 * config/ia64/ia64.md (mulsi3): Use grfr_register_operand.
7662 (madddi3): Likewise.
7663 (maddsi3): New.
7664
7665 Fri Sep 1 10:59:47 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
7666
7667 * expr.c (clear_storage): Don't use emit_move_insn unless
7668 either BLKmode or proper size.
7669 (store_constructor): Don't call clear_storage if REG of wrong size.
7670
7671 * flow.c (init_propagate_block_info): Don't mark frame dead at end
7672 of function if returns wiht stack pointer depressed.
7673
7674 2000-09-01 Andrew Haley <aph@redhat.com>
7675
7676 * dwarf2out.c (stack_adjust_offset): New function.
7677 (dwarf2out_stack_adjust): Break out stack adjust logic into
7678 new stack_adjust_offset function. Look inside parallels and
7679 sequences for stack adjustments.
7680
7681 2000-08-31 Jeff Law <law@cygnus.com>
7682
7683 * arm.md: Use no_new_pseudos to determine when it is safe
7684 to create new pseudo registers.
7685
7686 * arm.c (legitimize_pic_address): Use no_new_pseudos to determine
7687 when we can safely allocate new registers.
7688
7689 2000-08-31 Geoffrey Keating <geoffk@cygnus.com>
7690
7691 * stmt.c (expand_asm_operands): Twiddle generating_concat_p
7692 so that CONCATs are not generated for ASMs.
7693 * emit-rtl.c (gen_reg_rtx): Don't generate CONCATs when
7694 not generating_concat_p.
7695 * function.c (pop_function_context_from): Reset
7696 generating_concat_p.
7697 (prepare_function_start): Likewise.
7698 * rtl.c (generating_concat_p): Define.
7699 * rtl.h (generating_concat_p): Declare.
7700 * toplev.c (rest_of_compilation): No CONCATs after RTL generation.
7701
7702 2000-08-22 Philipp Thomas <pthomas@suse.de>
7703 Masanobu Yuhara <yuhara@flab.fujitsu.co.jp>
7704
7705 * gmicro.h (TARGET_SWITCHES): Add descriptions and mark them
7706 for translation.
7707
7708 2000-08-30 Greg McGary <greg@mcgary.org>
7709
7710 * Makefile.in (fixinc.sh): Pass CC, CFLAGS and LDFLAGS to mkfixinc.sh
7711 * fixinc/Makefile.in (fixincl): Pass $(LDFLAGS) to $(CC).
7712 * fixinc/mkfixinc.sh: Pass $CC, $CFLAGS and $LDFLAGS to $MAKE.
7713
7714 2000-08-30 Greg McGary <greg@mcgary.org>
7715
7716 * tree.h (struct tree_int_cst): Wrap low and high in a sub-struct.
7717 (TREE_INT_CST_LOW, TREE_INT_CST_HIGH): Access through sub-struct.
7718 (TREE_INT_CST): New macro.
7719 * varasm.c (const_hash, compare_constant_1, record_constant_1):
7720 Use new macro TREE_INT_CST.
7721
7722 Wed 30-Aug-2000 23:18:59 BST Neil Booth <NeilB@earthling.net>
7723
7724 * contrib.texi: Add self.
7725
7726 2000-08-30 Alexandre Oliva <aoliva@redhat.com>
7727
7728 * config/sh/sh.md (cmpeqsi_ior_t, cmpeqsi_and_t): New insns.
7729 (cmpeqdi_t splitter): Use cmpeqsi_and_t instead of emitting jumps
7730 and labels.
7731
7732 2000-08-30 J. David Anglin <dave@hiauly1.hia.nrc.ca>
7733
7734 * fixinc/gnu-regex.c: Don't define `const'.
7735
7736 Tue Aug 29 22:09:59 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
7737
7738 * expr.c (store_constructor): Allow variable bounds of array type.
7739 (expand_expr): Don't blow up if type is ERROR_MARK.
7740 * varasm.c (output_constructor): Don't access lower bound of array
7741 type unless need it if index is supplied (so it can be a variable
7742 if no index is supplied).
7743 Use tree_low_cst; use HOST_WIDE_INT for sizes; change BITPOS to POS.
7744 Other minor cleanups.
7745
7746 2000-08-29 J. David Anglin <dave@hiauly1.hia.nrc.ca>
7747
7748 * Makefile.in: Revamp handling of cflags to allow different WARN_CFLAGS
7749 for compilations in stage 1 and subsequent stages, respectively.
7750 * configure.in (vax): Add compiler-dependent CFLAGS for stage 1.
7751 * configure: Rebuilt.
7752 * x-vax, x-vax-gcc: Deleted.
7753
7754 2000-08-29 Zack Weinberg <zack@wolery.cumb.org>
7755
7756 * c-common.c (declare_function_name): Use func_id_node,
7757 function_id_node, and pretty_function_id_node. Do not make
7758 __func__ visible at file scope.
7759 * c-common.h (c_tree_index): Add CTI_FUNCTION_ID,
7760 CTI_PRETTY_FUNCTION_ID, and CTI_FUNC_ID.
7761 (function_id_node, pretty_function_id_node, func_id_node): New
7762 macros.
7763 * c-decl.c (init_decl_processing): Initialize function_id_node,
7764 pretty_function_id_node, and func_id_node.
7765 (c_make_fname_decl): Correct comment.
7766
7767 * tree.h (struct tree_identifier): Constify pointer member.
7768
7769 * c-decl.c (pushdecl, implicit_decl_warning): Constify a char *.
7770 * c-pragma.h (struct weak_syms): Constify name and value members.
7771 (add_weak): Constify arguments.
7772
7773 * calls.c (special_function_p): Constify a char *.
7774 (expand_call): Remove variable which is initialized and then
7775 never used.
7776 * dependence.c (struct def_use, struct induction, struct subscript):
7777 Constify 'variable' member.
7778 (get_low_bound, have_induction_variable): Constify char * argument.
7779 (find_induction_variable): Add braces to avoid dangling else.
7780 (classify_dependence): Constify char * arrays.
7781 * profile.c (output_func_start_profiler): Constify a char *.
7782 * stor-layout.c (finalize_record_size): Constify a char *.
7783 * tree.c (is_attribute_p): Constify a char *.
7784 * varasm.c (add_weak, remove_from_pending_weak_list): Constify argument.
7785
7786 * varasm.c (make_function_rtl, make_decl_rtl): Rearrange code
7787 for comprehensibility. Do not call get_identifier if we did
7788 not change the DECL_ASSEMBLER_NAME of the decl. Use alloca to
7789 create temporary string constants, not ggc_alloc_string. No
7790 need to copy result of ASM_FORMAT_PRIVATE_NAME. Use const
7791 char * to hold IDENTIFIER_POINTERs.
7792
7793 2000-08-29 Richard Henderson <rth@cygnus.com>
7794
7795 * config/ia64/ia64.md (muldi3): Use grfr_register_operand
7796 for the inputs.
7797
7798 2000-08-29 Richard Henderson <rth@cygnus.com>
7799
7800 * reload.c (push_secondary_reload): Allow class == reload_class
7801 if we're using a reload_in/out pattern.
7802
7803 * config/ia64/ia64.md (reload_inti): Use a TImode scratch. Use
7804 the half that does not conflict with the reload register.
7805 (reload_outti): Likewise.
7806
7807 2000-08-29 Kazu Hirata <kazu@hxi.com>
7808
7809 * reload.c: Fix formatting.
7810
7811 * stmt.c: Fix formatting.
7812
7813 * gcc.c: Fix formatting.
7814
7815 2000-08-29 Zack Weinberg <zack@wolery.cumb.org>
7816
7817 * flags.h (time_report, mem_report): New global flags.
7818 * toplev.c: Define time_report and mem_report.
7819 (f_options): Add -ftime-report and -fmem-report.
7820 (compile_file): Turn on time_report if quiet_flag is off.
7821 Call ggc_print_statistics at very end if mem_report is on.
7822 * timevar.c (TIMEVAR_ENABLE): Examine time_report, not quiet_flag.
7823
7824 * ggc-common.c (ggc_print_statistics): Rename to
7825 ggc_print_common_statistics; all callers changed. Scale
7826 quantities above 10K to kilobytes and above 10M to megabytes.
7827 * ggc-page.c (ggc_page_print_statistics): Rename to
7828 ggc_print_statistics. Report memory consumed by internal data
7829 structures for each allocation bucket. Scale quantities above
7830 10K to kilobytes and above 10M to megabytes.
7831 * ggc-simple.c: Prototype debug_ggc_tree to avoid warning.
7832 Cast PTR_KEY(p) to unsigned long in fprintf call to avoid warning.
7833 Define tally_leaves always.
7834 (ggc_print_statistics): New function.
7835 * ggc.h: Adjust for renamed functions.
7836
7837 Wed Aug 30 00:11:42 2000 Denis Chertykov <denisc@overta.ru>
7838
7839 * config/avr/avr.md ("*movsf","*movsi"): Pass NULL to
7840 output_movsisf instead of which_alternative.
7841
7842 * config/avr/avr.c (output_reload_inhi): Check for NULL ponter.
7843
7844 Tue Aug 29 22:29:58 2000 Denis Chertykov <denisc@overta.ru> & Marek Michalkiewicz <marekm@linux.org.pl>
7845
7846 * config/avr/avr-protos.h: (avr_output_ascii) Removed.
7847 (avr_progmem_p): New prototype.
7848 (output_movsisf): Prototype declaration changed.
7849 (output_movqi): New prototype.
7850 (output_movhi): New prototype.
7851 (call_insn_operand): Likewise.
7852 (final_prescan_insn): Likewise.
7853 (avr_simplify_comparision_p): Likewise.
7854 (avr_normalize_condition): Likewise.
7855 (compare_eq_p): Likewise.
7856 (out_shift_with_cnt): Likewise.
7857 (const_int_pow2_p): Likewise.
7858 (output_reload_inhi): Prototype declaration changed.
7859
7860 * config/avr/avr.c: (debug_hard_reg_set): Prototype declared.
7861 (ldi_reg_rtx): New. rtx for r31.
7862 (avr_init_stack): Initialize as "__stack".
7863 (function_prologue): Use it.
7864 Replace all TARGET_ENHANCED with AVR_ENHANCED.
7865 (avr_mcu_name): Initialize as "avr2".
7866 (avr_enhanced_p, avr_mega_p): New variables.
7867 (mcu_types, avr_override_options): Handle all known MCU types.
7868 Also handle avr1 (only preprocess, assemble and link).
7869 (print_operand): Using of `%K' in output template removed.
7870 (out_movqi_r_mr): Optimized.
7871 (out_movhi_r_mr): Likewise.
7872 (output_movqi): New function.
7873 (output_movhi): Likewise.
7874 (out_movsi_r_mr): Optimized.
7875 (output_movsisf): Compute insn length for `adjust_insn_length'
7876 (out_movqi_mr_r): Optimized.
7877 (out_movhi_mr_r): Optimized.
7878 (adjust_insn_length): Use output_movsisf, output_movqi,
7879 output_movhi for insn length adjusting.
7880 (reg_unused_after): Use dead_or_set_p.
7881 (preferred_reload_class): Now havn't any restriction.
7882 (reg_was_0): New function.
7883 (io_address_p): Likewise.
7884 (const_int_pow2_p): Likewise.
7885 (output_reload_inhi): Likewise.
7886 (output_reload_insisf): Likewise.
7887
7888 * config/avr/avr.h (MULTILIB_DEFAULTS): Define.
7889 (LIB_SPEC): Use -lc for all supported devices.
7890 (LIBGCC_SPEC): Use -lgcc for all supported devices.
7891 (AVR_MEGA): Define as avr_mega_p.
7892 (AVR_ENHANCED): New, define as avr_enhanced_p.
7893 (TARGET_SWITCHES): Remove -menhanced, now handled by -mmcu=...
7894 (CPP_SPEC, LINK_SPEC): Handle all known MCU types.
7895 (CRT_BINUTILS_SPECS): Handle all known MCU types.
7896 Rename gcrt1-*.o to make file names unique on 8.3 filesystems.
7897 (EXTRA_SPECS): Add CPP_AVR[1-5]_SPEC.
7898 (ASM_SPEC): Pass -mmcu=... to the assembler.
7899 Change all -DAVR_* to -D__AVR_*__.
7900 (INIT_TARGET_OPTABS), config/avr/libgcc.S:
7901 Rename library functions to start with two underscores.
7902 (ASM_OUTPUT_COMMON): Outputs `.comm VAR,VAR-SIZE,1' to avoid
7903 alignment.
7904 (ASM_WEAKEN_LABEL): Declared for __attribute__((weak)).
7905 (SUPPORTS_WEAK): Likewise.
7906 (LDI_REG_REGNO): New. Register r31 will be used as temporary
7907 register for loading constants to r0-r14.
7908
7909 * config/avr/avr.md: Replace all TARGET_ENHANCED with
7910 AVR_ENHANCED.
7911 (*mov_r_sp): Removed. Handled by output_movhi.
7912 (*mov_sp_r): Likewise.
7913 (*mov_sp_r_no_interrupts): Likewise
7914 (*mov_sp_r_tiny): Likewise.
7915 (*movqi): Use output_movqi.
7916 (*reload_inqi): New.
7917 (*movhi): Use output_movhi.
7918 (*reload_inhi): New.
7919 (*negsi2): Optimized.
7920 (*negsf2): Likewise.
7921 Added peepholes (define_peephole2) for loading constants to r0-r14
7922 and for using `cpse' command.
7923
7924 * config/avr/libgcc.S: Rename library functions to start with two
7925 underscores.
7926 Add support for enhanced core.
7927 (_moqhi3): Fix typo, now _modqi3.
7928 (__divsi_raw): Use __zero_reg__ as loop counter, smaller by 1 word.
7929 (__prologue_saves__): Remove test for stack adjust by 0.
7930 (__tablejump__): New.
7931
7932 * config/avr/t-avr: Build libgcc2 with -mcall-prologues.
7933 Add multilib support.
7934
7935 Tue Aug 29 15:17:54 EDT 2000 John Wehle (john@feith.com)
7936
7937 * loop.c (prescan_loop): Don't check unknown_address_altered
7938 when deciding if insert_loop_mem is safe. Add BLKmode MEMs
7939 to loop_store_mems as necessary.
7940 (loop_invariant_p): Don't check unknown_address_altered
7941 or unknown_constant_address_altered.
7942
7943 2000-08-29 J. David Anglin <dave@hiauly1.hia.nrc.ca>
7944
7945 * vax.md (sltu, sgeu): Delete sltu and sgeu insn patterns.
7946
7947 2000-08-29 Zack Weinberg <zack@wolery.cumb.org>
7948
7949 * cpperror.c (print_file_and_line): If line is (unsigned int)-1,
7950 print just the filename.
7951 * cpplex.c (_cpp_run_directive): Add additional argument, the
7952 name to give the synthetic buffer. This defaults to
7953 translated "<command line>".
7954 * cpplib.c (cpp_define, cpp_undef, cpp_assert, cpp_unassert):
7955 Adjust to match.
7956 (_cpp_define_builtin): New function.
7957 * cppinit.c (initialize_builtins): Use _cpp_define_builtin.
7958 * cpphash.h: Update prototypes.
7959
7960 * tradcpp.c (main): Process -D and -U simultaneously, in the
7961 order they appeared on the command line.
7962
7963 2000-08-29 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
7964
7965 * c-decl.c (define_label): Call warning_with_file_and_line and
7966 error_with_file_and_line instead of plain warning or error.
7967
7968 * c-parse.in (label): Use save_filename/save_lineno to ensure
7969 correct values for calls to define_label.
7970
7971 2000-08-29 Mark Mitchell <mark@codesourcery.com>
7972
7973 * calls.c (expand_call): Don't create a VAR_DECL just to throw it
7974 away.
7975 * expr.c (expand_expr, case TARGET_EXPR): Don't call
7976 mark_addressable.
7977 * tree.h (get_file_function_name): Remove two duplicate
7978 declarations.
7979
7980 2000-08-28 Kazu Hirata <kazu@hxi.com>
7981
7982 * tree.c: Fix formatting.
7983
7984 * xcoffout.c: Fix formatting.
7985
7986 2000-08-28 Jason Merrill <jason@redhat.com>
7987
7988 * dwarf2out.c (attr_checksum): Also ignore DW_AT_producer.
7989
7990 2000-08-28 Daniel Berlin <dberlin@redhat.com>
7991
7992 * dwarf2out.c (dwarf2out_finish): Don't bother calling
7993 break_out_includes if it won't do anything.
7994
7995 2000-08-28 Richard Henderson <rth@cygnus.com>
7996
7997 * reload.c (push_secondary_reload): Revert 2000-08-16 change.
7998 (find_reloads): Likewise.
7999 * config/alpha/alpha.md (reload_inqi): Revert 2000-08-11 change.
8000 (reload_inhi): Likewise.
8001
8002 2000-08-28 Richard Henderson <rth@cygnus.com>
8003
8004 * config/i386/i386.c: Don't error on EXTRA_CONSTRAINT defined.
8005 (call_insn_operand): Don't expect a surrounding mem.
8006 (constant_call_address_operand): Likewise.
8007 * config/i386/i386.h (PREDICATE_CODES): Update.
8008 * config/i386/i386.md (call patterns): Move the match_operand
8009 for the call destination inside the mem.
8010
8011 2000-08-28 Richard Henderson <rth@cygnus.com>
8012
8013 * local-alloc.c (requires_inout): Don't use reserved range for
8014 EXTRA_CONSTRAINTS; use anything not matched by REG_CLASS_FROM_LETTER.
8015 * recog.c (asm_operand_ok): Likewise.
8016 (preprocess_constraints, constrain_operands): Likewise.
8017 * regclass.c (record_reg_classes): Likewise.
8018 * reload.c (find_reloads): Likewise.
8019 * reload1.c (maybe_fix_stack_asms): Likewise.
8020 (reload_cse_simplify_operands): Likewise.
8021 * stmt.c (expand_asm_operands): Likewise.
8022
8023 * md.texi: Update constraints documentation.
8024 * tm.texi (EXTRA_CONSTRAINT): Update.
8025
8026 2000-08-28 Daniel Berlin <dberlin@redhat.com>
8027
8028 * dwarf2out.c (DIE_LABEL_PREFIX): Remove leading "__".
8029 (print_die): If we don't know the offset of the
8030 target die, try the symbol. Add a trailing newline.
8031 (reverse_all_dies): New fn.
8032 (dwarf2out_finish): Call it.
8033 (break_out_includes): Reorganize for clarity.
8034 (add_sibling_attributes): Don't call reverse_die_lists.
8035 (output_comp_unit): Rename from output_comdat_comp_unit. Use for
8036 primary CU, too.
8037 * flags.h: Add flag_eliminate_dwarf2_dups.
8038 * toplev.c (f_options): Support -feliminate-dwarf2-dups.
8039
8040 2000-08-28 Jason Merrill <jason@redhat.com>
8041
8042 * dwarf2.h (DW_TAG_GNU_BINCL, DW_TAG_GNU_EINCL): New tags.
8043 * dwarf2out.c: #include "md5.h".
8044 (DIE_LABEL_PREFIX): New macro.
8045 (dw_val_struct): Add 'external' flag to val_die_ref.
8046 (add_AT_die_ref, AT_ref): Adjust.
8047 (AT_ref_external, set_AT_ref_external): New fns.
8048 (build_abbrev_table): Call set_AT_ref_external.
8049 (value_format): Call AT_ref_external.
8050 (die_struct): Add die_symbol field.
8051 (new_die): Clear it.
8052 (dwarf_tag_name): Handle BINCL/EINCL.
8053 (dwarf2out_start_source_file): Add BINCL DIE.
8054 (dwarf2out_end_source_file): Add EINCL DIE.
8055 (push_new_compile_unit, pop_compile_unit, clear_die_sizes): New fns.
8056 (loc_checksum, attr_checksum, die_checksum): New fns.
8057 (is_type_die, is_comdat_die, is_symbol_die): New fns.
8058 (compute_section_prefix, assign_symbol_names): New fns.
8059 (gen_internal_sym, output_die_symbol, output_symbolic_ref): New fns.
8060 (output_die): Call output_die_symbol and AT_ref_external.
8061 (output_comdat_comp_unit): New fn, split out from...
8062 (dwarf2out_finish): ...here. Also call add_sibling_attributes for
8063 secondary CUs.
8064 (output_pubnames, output_aranges): Abort if we see entries from
8065 secondary CUs.
8066 * toplev.h: Declare file_name_nondirectory.
8067 * toplev.c (file_name_nondirectory): New fn, moved from C++ frontend.
8068 (rest_of_type_compilation): Call dwarf2out_decl if at toplevel.
8069 (debug_start_source_file): Call dwarf2out_start_source_file
8070 regardless of debug verbosity.
8071 (debug_end_source_file): Similarly.
8072 * tree.h: Declare clean_symbol_name.
8073 * tree.c (clean_symbol_name): Split out from...
8074 (get_file_function_name_long): ...here.
8075
8076 * dwarf2out.c (new_loc_descr): Use calloc.
8077 (splice_child_die): Remove the die from the right parent.
8078 (gen_struct_or_union_die): Don't add AT_name to a specification DIE.
8079
8080 Mon Aug 28 19:02:13 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
8081
8082 * toplev.c (decode_g_option): Don't give warning for unknown -g
8083 option; return 0 instead.
8084 (main): If -g option is not recognized by front end or
8085 language-independent code, give warning.
8086
8087 2000-08-28 Greg McGary <greg@mcgary.org>
8088
8089 * config/i386/i386-protos.h (ix86_expand_compare): Add extern decl.
8090 * config/i386/i386.c (ix86_expand_compare): Remove `static'.
8091 * config/i386/i386.md (trap, conditional_trap): New insn & expand.
8092
8093 2000-08-27 Greg McGary <greg@mcgary.org>
8094
8095 * cpplex.c (parse_string): Don't look for backslash
8096 before first char in `namebuf'.
8097 * loop.c (strength_reduce): Skip NOTEs.
8098
8099 2000-08-27 Jason Merrill <jason@redhat.com>
8100
8101 * c-decl.c (duplicate_decls): Don't set TREE_STATIC or clear
8102 DECL_EXTERNAL on a local extern. Don't set DECL_IGNORED_P or
8103 TREE_ASM_WRITTEN, either.
8104 (finish_decl): Adjust.
8105
8106 2000-08-28 Philipp Thomas <pthomas@suse.de>
8107
8108 * ABOUT-GCC-NLS: Remove gettext patches from Paul Eggert as
8109 they have been incorporated into the gettext CVS. Change the text to
8110 reflect the current status of NLS. Add instructions for accessing
8111 the gettext CVS and add the patch from Martin v. Loewis.
8112
8113 2000-08-27 Geoff Keating <geoffk@cygnus.com>
8114
8115 * config/rs6000/rs6000.md (movdi_internal64+5): Make SUBREG-safe
8116 by using gen_lowpart_common.
8117 (movdi_internal64+6): Likewise.
8118
8119 2000-08-26 Alexandre Oliva <aoliva@redhat.com>
8120
8121 * tm.texi (FINI_SECTION_ASM_OP, CRT_CALL_STATIC_FUNCTION):
8122 Document.
8123
8124 * config/mn10300/mn10300.h (DBX_REGISTER_NUMBER): Remap register
8125 numbers to the ranges used by GDB.
8126
8127 2000-08-25 Richard Henderson <rth@cygnus.com>
8128
8129 * config/ia64/ia64.h (struct machine_function): Add n_varargs.
8130 * config/ia64/ia64.c (ia64_compute_frame_size): Use it.
8131 (ia64_expand_prologue): Likewise.
8132 (ia64_setup_incoming_varargs): Set it. Properly skip the current
8133 argument for stdargs.
8134
8135 2000-08-25 Jason Merrill <jason@redhat.com>
8136
8137 * integrate.c (expand_inline_function): Pull out the original decl.
8138
8139 2000-08-25 Jim Wilson <wilson@cygnus.com>
8140
8141 * cse.c (cse_insn): Don't pass label subtraction to force_const_mem.
8142
8143 * function.c (gen_mem_addressof): Clear MEM_ALIAS_SET if no decl.
8144
8145 2000-08-25 Greg McGary <greg@mcgary.org>
8146
8147 * flow.c (dump_edge_info): Use ARRAY_SIZE.
8148 * config/alpha/alpha.c (alpha_expand_block_move): Likewise.
8149
8150 2000-08-25 Richard Earnshaw <rearnsha@arm.com>
8151
8152 * arm.h (STRUCT_VALUE): Define to 0, not NULL.
8153
8154 Fri Aug 25 12:52:49 EDT 2000 John Wehle (john@feith.com)
8155
8156 * i386.c (ix86_find_base_term): New.
8157 * i386-protos.h (ix86_find_base_term): Prototype.
8158 * i386.h (FIND_BASE_TERM): Define.
8159 * alias.c (find_base_term): Use it.
8160 * tm.texi (FIND_BASE_TERM): Document it.
8161
8162 * alias.c (true_dependence, write_dependence_p): Unchanging
8163 memory can't conflict with non-unchanging memory.
8164
8165 * alias.c (memrefs_conflict_p): A BLKmode reference
8166 to a symbol (or CONST_INT address) always conflicts
8167 with a reference to another symbol.
8168
8169 2000-08-25 Joseph S. Myers <jsm28@cam.ac.uk>
8170
8171 * c-common.c (time_char_table): Don't allow width and flags with
8172 "z" format.
8173
8174 2000-08-25 Jakub Jelinek <jakub@redhat.com>
8175
8176 * config/i386/i386.c (ix86_expand_branch): Treat GE and GEU the same
8177 way as LT and LTU when the second operand has 0 in low word.
8178
8179 2000-08-26 Michael Hayes <mhayes@cygnus.com>
8180
8181 * basic-block.h (struct loop): Rename `exits' field to
8182 `exit_edges'. Add `entry_edges' and `num_entries' fields.
8183
8184 * flow.c (flow_loop_exit_edges_find): Rename from flow_loop_exits_find.
8185 (flow_loop_entry_edges_find): Add.
8186 (flow_edge_list_print): Rename from flow_exits_print.
8187 (flow_loops_find): Call flow_loop_entry_edges_find.
8188 (flow_loop_dump): Dump entry_edges list.
8189 (flow_loops_free): Free entry_edges.
8190
8191 2000-08-26 Michael Hayes <mhayes@cygnus.com>
8192
8193 * loop.c (loop_dump_aux, debug_loop): New functions.
8194 (LOOP_BLOCK_NUM_1, LOOP_BLOCK_NUM, LOOP_INSN_UID): New macros.
8195
8196 * flow.c (flow_loops_dump): Add callback parameter.
8197 (flow_loop_dump): Add callback parameter and call it. Move
8198 loop note debugging code to loop_dump_aux.
8199
8200 * basic-block.h (flow_loop_dump): Add callback parameter
8201 (flow_loops_dump): Likewise.
8202
8203 * toplev.c (rest_of_compilation): Add NULL callback function pointer
8204 to call to flow_loops_dump.
8205
8206 2000-08-26 Michael Hayes <mhayes@cygnus.com>
8207
8208 * loop.c (count_loop_regs_set): Replace start and end arguments
8209 with loop argument. All callers udated.
8210
8211 2000-08-26 Michael Hayes <mhayes@cygnus.com>
8212
8213 * loop.c (constant_high_bytes): Delete.
8214
8215 2000-08-26 Michael Hayes <mhayes@cygnus.com>
8216
8217 * loop.c (prescan_loop): Move checks for NOTE_INSN_LOOP_CONT
8218 and NOTE_INSN_LOOP_VTOP to...
8219 (find_and_verify_loops) ...here.
8220
8221 Fri Aug 25 04:21:13 2000 Alexandre Oliva <aoliva@redhat.com>
8222
8223 * crtstuff.c (CRT_CALL_STATIC_FUNCTION): Define default.
8224 (fini_dummy, init_dummy): Use it.
8225
8226 Fri 25-Aug-2000 08:03:27 BST Neil Booth <NeilB@earthling.net>
8227
8228 * cpplex.c (is_macro_disabled): Caller has already checked
8229 that we're not a preprocessed file.
8230
8231 2000-08-24 Mark Mitchell <mark@codesourcery.com>
8232
8233 * Makefile.in (C_AND_OBJC_OBJS): Remove c-iterate.o.
8234 (c-iterate.o): Remove target.
8235 * gcc/c-common.h (enum rid): Remove RID_ITERATOR.
8236 * gcc/c-decl.c (init_decl_processing): Remove call to init_iterators.
8237 (finish_decl): Don't handle iterators.
8238 (grokdeclarator): Likewise.
8239 * gcc/c-parse.gperf: Remove __iterator and __iterator__ keywords.
8240 * gcc/c-gperf.h: Regenerated.
8241 * gcc/c-iterate.c: Removed.
8242 * gcc/c-lex.c (init_lex): Don't handle iterators.
8243 * gcc/c-parse.in (primary): Remove pop_iterator_stack call.
8244 (compstmt_primary_start): Remove push_iterator_stack call.
8245 (stmt): Don't allow iterator statements. Replace iterator_expand
8246 with expand_expr_stmt.
8247 (all_iter_stmt): Remove.
8248 (all_iter_stmt_simple): Likewise.
8249 (all_iter_stmt_with_decl): Likewise.
8250 * gcc/c-tree.h (ITERATOR_P): Remove.
8251 (ITERATOR_BOUND_P): Likewise.
8252 (init_iterators): Remove declaration.
8253 (iterator_expand): Likewise.
8254 (iterator_for_loop_start): Likewise.
8255 (iterator_for_loop_end): Likewise.
8256 (iterator_for_loop_record): Likewise.
8257 (push_iterator_stack): Likewise.
8258 (pop_iterator_stack): Likewise.
8259 * gcc/c-typeck.c (decl_constant_value): Don't check ITERATOR_P.
8260 (readonly_warning): Likewise.
8261 * gcc/tree.h (ITERATOR_BOUND_P): Don't mention it.
8262
8263 2000-08-24 Jim Wilson <wilson@cygnus.com>
8264
8265 * c-common.c (decl_attributes, case A_ALIGN): Revert last change.
8266 Copy type in a TYPE_DECL, just like pushdecl does.
8267
8268 2000-08-24 Richard Henderson <rth@cygnus.com>
8269
8270 * toplev.c (main): Enable flag_reorder_blocks at -O2.
8271
8272 2000-08-24 Zack Weinberg <zack@wolery.cumb.org>
8273
8274 * ggc-page.c (alloc_page): If HAVE_MMAP_ANYWHERE and we're
8275 asked for one page, allocate GGC_QUIRE_SIZE of them and put
8276 the extras on the free list.
8277 (release_pages): Clean up.
8278 (ggc_set_mark): Don't adjust G.allocated here...
8279 (sweep_pages): ... do it here.
8280
8281 2000-08-24 Zack Weinberg <zack@wolery.cumb.org>
8282
8283 * cppfiles.c (read_include_file): Rearrange initializations.
8284
8285 2000-08-24 Richard Henderson <rth@cygnus.com>
8286
8287 * stmt.c (expand_asm_operands): Treat EXTRA_CONSTRAINT like g or X.
8288
8289 * config/ia64/ia64-protos.h: Update.
8290 * config/ia64/ia64.c (gr_register_operand): New.
8291 (fr_register_operand, grfr_register_operand): New.
8292 (gr_nonimmediate_operand, grfr_nonimmediate_operand): New.
8293 (grfr_reg_or_8bit_operand): New.
8294 (gr_reg_or_0_operand): Rename from reg_or_0_operand and
8295 use gr_register_operand.
8296 (gr_reg_or_5bit_operand, gr_reg_or_6bit_operand): Likewise.
8297 (gr_reg_or_8bit_operand, gr_reg_or_8bit_adjusted_operand): Likewise.
8298 (gr_reg_or_8bit_and_adjusted_operand): Likewise.
8299 (gr_reg_or_14bit_operand, gr_reg_or_22bit_operand): Likewise.
8300 (fr_reg_or_fp01_operand): Likewise.
8301 (not_postinc_memory_operand): New.
8302 (ia64_split_timode): Remove unused variables.
8303 (rtx_needs_barrier): Check arguments to cmpxchg.
8304 (builtin_description): Remove.
8305 (bdesc_2argsi, bdesc_2argdi): Remove.
8306 (ia64_init_builtins): Declare all builtins directly.
8307 (ia64_expand_fetch_and_op): Rewrite to be called from
8308 ia64_expand_builtin directly. Use expand_binop and co.
8309 (ia64_expand_op_and_fetch): Likewise.
8310 (ia64_expand_compare_and_swap): Likewise.
8311 (ia64_expand_binop_builtin): Remove.
8312 (ia64_expand_lock_test_and_set): New.
8313 (ia64_expand_lock_release): New.
8314 (ia64_expand_builtin): Use them.
8315 * config/ia64/ia64.h (CONSTRAINT_OK_FOR_S): New.
8316 (EXTRA_CONSTRAINT): Use it.
8317 (PREDICATE_CODES): Update.
8318 * config/ia64/ia64.md (*): Use gr_register_operand and co.
8319 (mf): Indicate that we set memory as well as use it.
8320 (fetchadd_acq_si): Show memory being modified as well.
8321 (fetchadd_acq_di, cmpxchg_acq_si, cmpxchg_acq_di): Likewise.
8322 (val_compare_and_swap_si, val_compare_and_swap_di): Remove.
8323 (lock_test_and_set_si, lock_test_and_set_di): Remove.
8324 (fetch_and_add_si, fetch_and_sub_si, fetch_and_or_si): Remove.
8325 (fetch_and_and_si, fetch_and_xor_si, fetch_and_nand_si): Remove.
8326 (fetch_and_add_di, fetch_and_sub_di, fetch_and_or_di): Remove.
8327 (fetch_and_and_di, fetch_and_xor_di, fetch_and_nand_di): Remove.
8328 (add_and_fetch_di, sub_and_fetch_di, or_and_fetch_di): Remove.
8329 (and_and_fetch_di, xor_and_fetch_di, nand_and_fetch_di): Remove.
8330 (add_and_fetch_si, sub_and_fetch_si, or_and_fetch_si): Remove.
8331 (and_and_fetch_si, xor_and_fetch_si, nand_and_fetch_si): Remove.
8332 * config/ia64/ia64intrin.h (*): Cast result to the appropriate
8333 return type. Pretty print definitions.
8334
8335 2000-08-24 Jim Wilson <wilson@cygnus.com>
8336
8337 * config/ia64/ia64.md (movdi): Don't call gen_movdi_symbolic if
8338 we have a SYMBOL_REF with SYMBOL_REF_FLAG set.
8339
8340 2000-08-24 Jason Merrill <jason@redhat.com>
8341
8342 * dwarf2out.c (AT_flag, AT_int, AT_unsigned, AT_string, AT_ref,
8343 AT_loc, AT_addr, AT_lbl): Abort on unsuitable input.
8344 (get_AT_low_pc, get_AT_hi_pc, get_AT_string, get_AT_flag,
8345 get_AT_unsigned, get_AT_ref): Don't call them if get_AT fails.
8346
8347 2000-08-24 Greg McGary <greg@mcgary.org>
8348
8349 * optabs.c (init_optabs): Initialize fixtab, fixtrunctab, floattab,
8350 and extendtab within their proper array boundaries.
8351 * emit-rtl.c (init_emit_once): Pass `const_tiny_rtx' with bounds
8352 for the entire array.
8353
8354 * config/arm/arm.c (arm_override_options): Use ARRAY_SIZE.
8355 * config/alpha/alpha.c (alpha_lookup_xfloating_lib_func): Likewise.
8356 * config/avr/avr.c (order_regs_for_local_alloc): Likewise.
8357 * config/fr30/fr30.c (fr30_print_operand): Likewise.
8358 * config/i386/dgux.c (output_options): Likewise.
8359 * config/i386/dgux.h (ASM_FILE_START): Likewise.
8360 * config/m88k/m88k.c (output_options): Likewise.
8361 * config/m88k/m88k.h (ASM_FILE_START): Likewise.
8362 * config/mcore/mcore.c (mcore_output_inline_const_forced,
8363 layout_mcore_frame, handle_structs_in_regs): Likewise.
8364 * config/mips/mips.c (output_block_move): Likewise.
8365 * config/rs6000/rs6000.c (rs6000_override_options,
8366 rs6000_file_start): Likewise.
8367 * config/sparc/sparc.c (sparc_add_gc_roots): Likewise.
8368 * fixinc/fixfixes.c (FIX_TABLE_CT): Likewise.
8369 * fixinc/fixtests.c (TEST_TABLE_CT): Likewise.
8370 * builtins.c (expand_builtin_setjmp): Likewise.
8371 * expr.c (safe_from_p): Likewise.
8372 * flow.c (life_analysis): Likewise.
8373 * fold-const.c (size_int_type_wide): Likewise.
8374 * gcc.c (translate_options, init_spec, set_spec, main): Likewise.
8375 * genattrtab.c (make_length_attrs): Likewise.
8376 * genopinit.c (gen_insn): Likewise.
8377 * genrecog.c (NUM_KNOWN_PREDS, NUM_SPECIAL_MODE_PREDS): Likewise.
8378 * global.c (global_alloc): Likewise.
8379 * local-alloc.c (find_free_reg): Likewise.
8380 * mips-tdump.c (print_symbol): Likewise.
8381 * mips-tfile.c (parse_def, parse_input): Likewise.
8382 * reload1.c (NUM_ELIMINABLE_REGS): Likewise.
8383 * stmt.c (expand_nl_goto_receiver): Likewise.
8384 * stor-layout.c (set_sizetype): Likewise.
8385 * varasm.c (decode_reg_name): Likewise.
8386 * toplev.c (decode_f_option, decode_W_option,
8387 set_target_switch, print_switch_values): Likewise.
8388 (NUM_ELEM): Remove macro.
8389 (display_help, main): s/NUM_ELEM/ARRAY_SIZE/
8390
8391 2000-08-24 Greg McGary <greg@mcgary.org>
8392
8393 * tree.h (enum tree_index): New member `TI_MAIN_IDENTIFIER'.
8394 (MAIN_NAME_P, main_identifier_node): New macros.
8395 * c-common.c (c_common_nodes_and_builtins): Init main_identifier_node.
8396 * c-decl.c (start_decl, grokdeclarator, start_function,
8397 store_parm_decls, finish_function): Use MAIN_NAME_P.
8398 * config/avr/avr.c (function_prologue, function_epilogue): Likewise.
8399 * config/i386/cygwin.h (SUBTARGET_PROLOGUE): Likewise.
8400 * config/i386/win32.h (SUBTARGET_PROLOGUE): Likewise.
8401 * config/pdp11/pdp11.c (output_function_prologue): Likewise.
8402
8403 2000-08-24 Greg McGary <greg@mcgary.org>
8404
8405 * cppfiles.c (actual_directory): Don't write beyond `dir'
8406 when it contains "".
8407 * real.c (asctoeg): Stay within bounds of etens[][].
8408
8409 2000-08-24 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
8410
8411 * dependence.c (dependence_string, direction_string,
8412 dump_one_node, dump_node_dependence): Hide unused identifiers.
8413 (get_low_bound, normalize_coefficients): Match definition to
8414 static prototype.
8415 (get_one_coefficient): Initialize variables `value0_is_idx' and
8416 `value1_is_idx'.
8417 (ziv_test, gcd_test): Mark parameters with ATTRIBUTE_UNUSED.
8418 (ziv_test): Delete variable `idx', use parameter `sub' instead.
8419 (direction_merge): Avoid automatic aggregate initialization.
8420 (have_dependence_p): Use `src' not `dest' to set `src_idx'.
8421 Initialize variables `dest_idx' and `src_idx'.
8422 (end_dependence_analysis): Avoid C89 style function definition.
8423
8424 2000-08-24 Joseph S. Myers <jsm28@cam.ac.uk>
8425
8426 * c-common.c (time_char_table): Don't allow width with %F.
8427 (check_format_info): Don't allow "Z" length with scanf.
8428
8429 2000-08-24 Gabriel Dos Reis <gdr@codesourcery.com>
8430
8431 * diagnostic.c (finish_diagnostic): Define.
8432 (output_do_printf): Use wrap_text instead of output_add_string.
8433 (default_print_error_function): Avoid embedded '\n'.
8434
8435 * diagnostic.h (flush_diagnostic_buffer): Declare.
8436
8437 2000-08-23 Alexandre Oliva <aoliva@redhat.com>
8438
8439 * dependence.c: Replace `[][]' with `[][MAX_SUBSCRIPTS]'.
8440
8441 2000-08-23 Hans-Peter Nilsson <hp@axis.com>
8442
8443 * Makefile.in (GCC_PASSES): Add specs.
8444
8445 2000-08-23 Jim Wilson <wilson@cygnus.com>
8446
8447 * frame.h (IA64_UNW_EHANDLER, IA64_UNW_UHANDLER): New.
8448 * config/ia64/frame-ia64.c (__get_personality): Return zero if neither
8449 EHANDLER nor UHANDLER bit is set.
8450 (__get_except_table): Likewise.
8451
8452 2000-08-23 Nick Clifton <nickc@redhat.com>
8453
8454 * config/arm/lib1funcs.asm: Replace upper case condition codes
8455 with lower case versions.
8456
8457 * config/arm/arm.h (STRUCT_VALUE): Define.
8458 (STRUCT_VALUE_REGNUM): Delete.
8459
8460 2000-08-23 Zack Weinberg <zack@wolery.cumb.org>
8461
8462 * cpphash.h (IN_I): New flag for directive table.
8463 * cpplib.c (DIRECTIVE_TABLE): Mark #define, #undef, #ident, and
8464 #pragma with IN_I.
8465 (_cpp_check_directive): If -fpreprocessed, execute directives
8466 marked with IN_I. Issue no warnings in this case.
8467 * cpplex.c (_cpp_get_token): Expand no macros if -fpreprocessed.
8468
8469 2000-08-23 Joseph S. Myers <jsm28@cam.ac.uk>
8470
8471 * c-common.c (print_char_table): Allow 'I' flag with %d, %i and
8472 %u.
8473 (check_format_info): Support printf 'I' flag; warn about it with
8474 -pedantic.
8475
8476 2000-08-23 Richard Earnshaw (rearnsha@arm.com)
8477
8478 * arm.c (arm_expand_prologue): Ensure that the stack-adjustment
8479 barrier can't be ignored by the alias analysis code.
8480
8481 2000-08-12 Eli Zaretskii <eliz@is.elta.co.il>
8482
8483 * fixinc/inclhack.def (sysv68_string): Fix the Sed script so it
8484 works inside fixincl.
8485
8486 Wed Aug 23 04:55:48 2000 Alexandre Oliva <aoliva@redhat.com>
8487
8488 * simplify-rtx.c (simplify_rtx): Don't pass VOIDmode to
8489 simplify_relational_operation() unless both operands are of
8490 VOIDmode.
8491 * cse.c (fold_rtx): Likewise.
8492
8493 Tue Aug 22 23:53:27 EDT 2000 John Wehle (john@feith.com)
8494
8495 * rtlanal.c (rtx_unstable_p): The pic register is stable
8496 (within one function) and the actual rtx should be used
8497 when checking the registers.
8498 (rtx_addr_can_trap_p): Pic memory addresses can't trap.
8499
8500 * alias.c (true_dependence, write_dependence_p): Fix
8501 bug in previous patch.
8502
8503 * i386.c (ix86_GOT_alias_set): New.
8504 (legitimize_pic_address): Use it.
8505
8506 * rtlanal.c (rtx_unstable_p): An unchanging MEM is
8507 only stable if its address is stable.
8508 (rtx_varies_p): An unchanging MEM can't vary if
8509 its address doesn't vary.
8510
8511 2000-08-22 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
8512
8513 * c-parse.in (unop +): Restrict -Wtraditional warnings to user code.
8514
8515 2000-08-22 J. David Anglin <dave@hiauly1.hia.nrc.ca>
8516
8517 * vax.h (ASM_SPEC): Pass `-J' to assembler.
8518 * x-vax-gcc: New file for bootstrapping with gcc.
8519 * x-vax: Use X_CFLAGS rather than X_CPPFLAGS to pass `-J'.
8520 * configure.in: Use x-vax-gcc with gcc.
8521 * configure: Rebuilt.
8522
8523 Tue Aug 22 21:21:05 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
8524
8525 * toplev.c (rest_of_compilation): Rebuild label notes after
8526 post-reload splitting pass if new labels have been created.
8527
8528 2000-08-22 Gabriel Dos Reis <gdr@codesourcery.com>
8529
8530 * diagnostic.h (output_buffer_state): New macro.
8531 * diagnostic.c (diagnostic_for_decl, sorry,
8532 default_print_error_function, output_do_verbatim,
8533 report_diagnostic, report_problematic_module): Use it.
8534 (wrap_text): Tweak.
8535 (output_format): Use wrap_text instead of maybe_wrap_text.
8536
8537 2000-08-22 Nick Clifton <nickc@redhat.com>
8538
8539 * config/arm/lib1funcs.asm (ARM_DIV_MOD_BODY): New macro.
8540 Common code for ARM divide and modulus functions.
8541 (THUMB_DIV_MOD_BODY): New macro. Thumb equivalent of
8542 ARM_DIV_MOD_BODY.
8543 (FUNC_END): New macro: Common code at the end of the division and
8544 modulo functions.
8545 (THUMB_FUNCTION_START): New macro: Common code at the start of
8546 Thumb functions.
8547 (__divsi3, __udivsi3, __modsi3, __umodsi3): Use new macros.
8548
8549 Tue Aug 22 20:34:52 2000 Kaz Kojima <kkojima@rr.iij4u.or.jp>
8550
8551 * config/sh/sh.md (cmpeqdi_t splitter): Fix a reverse testing.
8552
8553 * config/sh/sh.c (prepare_scc_operands): Apply force_reg to
8554 sh_compare_op1 when the mode is DImode and sh_compare_op1 isn't
8555 const0_rtx.
8556
8557 2000-08-22 Nick Clifton <nickc@redhat.com>
8558
8559 * config/arm/lib1funcs.asm (__umodsi3): Before performing any
8560 restorative additions, test for bottom bits of IP being set,
8561 rather than relying upon the RORs not matching.
8562 (__modsi3): Ditto.
8563
8564 2000-08-22 David Edelsohn <edelsohn@gnu.org>
8565
8566 * aix.h (ASM_DECLARE_FUNCTION_NAME): Call named_section() or
8567 text_section() as appropriate instead of emitting text csect
8568 pseudo-op directly.
8569 (TEXT_SECTION_ASM_OP): Only require default 32-bit alignment.
8570 (UNIQUE_SECTION): Define macro.
8571 (ASM_OUTPUT_SECTION_NAME): Define macro.
8572 * rs6000.c (rs6000_override_options): Disable -ffunction-sections
8573 on AIX if debugging and -fdata-sections always.
8574
8575 2000-08-22 Steven King <sxking@uswest.net>
8576
8577 * config/float-i386.h (LDBL_EPSILON): Remove __convert_long_double
8578 machinery.
8579 (LDBL_MAX): Same here.
8580
8581 2000-08-22 Richard Henderson <rth@cygnus.com>
8582
8583 * flow.c (tidy_fallthru_edge): Update b->end properly.
8584
8585 2000-08-22 Stan Cox <scox@redhat.com>
8586
8587 * Makefile.in (OBJS): Add dependence.o.
8588 * dependence.c: New file.
8589
8590 2000-08-22 Alexandre Oliva <aoliva@redhat.com>, John David Anglin <dave.anglin@nrc.ca>
8591
8592 * calls.c (check_sibcall_argument_overlap_1): Adjust for
8593 ARGS_GROW_DOWNWARD.
8594 (check_sibcall_argument_overlap): Likewise.
8595
8596 2000-08-22 Alexandre Oliva <aoliva@redhat.com>
8597
8598 * invoke.texi (SH Options): Document -m4-nofpu,
8599 -m4-single-only, -m4-single, -m4, -mbigtable, -mfmovd,
8600 -mhitachi, -mnomacsave, -misize, -mpadstruct, -mspace.
8601
8602 2000-08-22 Joseph S. Myers <jsm28@cam.ac.uk>
8603
8604 * c-common.c (check_format_info): Give the 'some locales' warning
8605 for strftime %Ey rather than the unconditional 'only last 2 digits
8606 of year' one.
8607
8608 2000-08-22 Richard Henderson <rth@cygnus.com>
8609
8610 * alias.c (init_alias_analysis): Do not register
8611 struct_value_incoming_rtx or static_chain_rtx as pointing
8612 to stack memory.
8613
8614 Tue Aug 22 01:44:43 2000 Jeffrey A Law (law@cygnus.com)
8615
8616 * protoize.c (munge_compile_params): Fix typo and formatting buglets.
8617
8618 2000-08-22 Gabriel Dos Reis <gdr@codesourcery.com>
8619
8620 * diagnostic.h (report_problematic_module): Declare.
8621 * diagnostic.c (report_problematic_module): New function.
8622 (report_error_function): Tweak.
8623
8624 Tue Aug 22 02:31:26 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
8625
8626 * stmt.c (expand_goto_internal, fixup_gotos): Only check
8627 TYPE_RETURNS_STACK_DEPRESSED for FUNCTION_TYPE.
8628
8629 2000-08-21 Richard Henderson <rth@cygnus.com>
8630
8631 * flow.c (calculate_global_regs_live): Mark frame pointer live
8632 everywhere before reload.
8633
8634 2000-08-21 Jim Wilson <wilson@cygnus.com>
8635
8636 * real.c (ereal_from_int, ereal_from_uint, significand_size): Handle
8637 INTEL_EXTENDED_IEEE_FORMAT.
8638 (toe64): Delete INTEL_EXTENDED_IEEE_FORMAT support. Unconditionally
8639 clear last two bytes of output FP value.
8640
8641 2000-08-21 Graham Stott <grahams@cygnus.co.uk>
8642
8643 * config/ia64/ia64.h (REDO_SECTION_INFO_P): Change decl to DECL.
8644
8645 2000-08-21 Jakub Jelinek <jakub@redhat.com>
8646
8647 * unroll.c (loop_find_equiv_value): If ret is modified between
8648 insn and loop_start, ret might not be equivalent to reg.
8649
8650 2000-08-21 Joseph S. Myers <jsm28@cam.ac.uk>
8651
8652 * c-common.c (init_dollar_format_checking,
8653 maybe_read_dollar_number, finish_dollar_format_checking): New
8654 functions.
8655 (dollar_arguments_used, dollar_arguments_count,
8656 dollar_first_arg_num, dollar_max_arg_used, dollar_format_warned):
8657 New variables.
8658 (check_format_info): Support $ formats for scanf and printf width
8659 and precision. Always increment format_chars to advance past the
8660 '*' of precision, not just when the format parameters are
8661 available to check.
8662
8663 2000-08-21 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
8664
8665 * mips.c (block_move_loop, expand_block_move,
8666 function_arg_partial_nregs, save_restore_insns, function_prologue,
8667 mips_expand_prologue, RA_MASK): Avoid using the `U' integer
8668 constant suffix.
8669 (function_arg_advance, function_arg): Match argument to format
8670 specifier `%p'.
8671
8672 2000-08-21 Nix <nix@esperi.demon.co.uk>
8673
8674 * gcc.c (do_spec_1): Implement %j spec flag.
8675 Remove dead comment.
8676
8677 * gcc.texi (The Configuration File): Document HOST_BIT_BUCKET.
8678 * system.h (HOST_BIT_BUCKET): Default to "/dev/null".
8679 * config/i386/xm-dos.h (HOST_BIT_BUCKET): Define as "NUL".
8680 * config/i386/xm-os2.h, config/winnt/winnt.h: Likewise.
8681
8682 * protoize.c (munge_compile_params): Use HOST_BIT_BUCKET (if
8683 writable) instead of hardcoded value.
8684
8685 * toplev.c (compile_file): Output to a file even if -fsyntax-only.
8686
8687 * gcc.c, config/i386/xm-dos.h, config/i386/xm-os2.h: Kill
8688 MKTEMP_EACH_FILE.
8689
8690 * gcc.c (cc1_options): Do not process -o or run the assembler if
8691 -fsyntax-only.
8692 * objc/lang-spec.h: Likewise.
8693
8694 2000-08-21 Eli Zaretskii <eliz@is.elta.co.il>
8695
8696 * fixinc/fixincl.c (fix_with_system): Pipe the output of
8697 "external" fixes through `cat', to avoid truncating the input
8698 file by redirection.
8699
8700 2000-08-21 Jakub Jelinek <jakub@redhat.com>
8701
8702 * config/i386/i386.md (lea_general_1): Copy insn condition to split
8703 condition.
8704 (lea_general_2, lea_general_3): Likewise.
8705
8706 2000-08-21 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
8707
8708 * c-decl.c (duplicate_decls, define_label): Restrict -Wtraditional
8709 warnings to user code.
8710
8711 * c-lex.c (readescape, yylex): Likewise.
8712
8713 * c-typeck.c (store_init_value, process_init_element): Likewise
8714 (c_expand_start_case): Format.
8715
8716 2000-08-18 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
8717
8718 * mips/linux.h (LINK_SPEC): Use %(endian_spec).
8719
8720 * mips/mips.h: Change LINKER_ENDIAN_SPEC to ENDIAN_SPEC
8721 and linker_endian_spec to endian_spec.
8722 (ENDIAN_SPEC): Add %{EB} and %{EL}.
8723 (LINK_SPEC): Remove %{EB} and %{EL}.
8724 (ASM_SPEC): Likewise. Use %(endian_spec).
8725
8726 2000-08-21 Joseph S. Myers <jsm28@cam.ac.uk>
8727
8728 * c-tree.h (flag_hosted): Move declaration from here...
8729 * c-common.h (flag_hosted): ... to here.
8730 (flag_noniso_default_format_attributes): New declaration.
8731 * c-decl.c (flag_noniso_default_format_attributes): New variable.
8732 (c_decode_option): Set it appropriately for options choosing
8733 language standard variant.
8734 * c-common.c (init_function_format_info): Only provide default
8735 format attributes if flag_hosted. Only provide the gettext
8736 formats if flag_noniso_default_format_attributes. Update
8737 comments.
8738 (check_format_info): Disable treatment of %a as a scanf flag in
8739 C99 mode.
8740
8741 2000-08-21 Joseph S. Myers <jsm28@cam.ac.uk>
8742
8743 * c-common.c (scan_char_table): Add 'w' to flags for all formats
8744 except 'n'.
8745 (check_format_info): Set 'wide' for scanf format widths. Warn for
8746 a zero scanf width. Make the check for writing into a constant
8747 object at the first level of indirection; at later levels, warn if
8748 any type qualifiers are encountered.
8749
8750 Mon Aug 21 07:41:12 2000 Jeffrey A Law (law@cygnus.com)
8751
8752 * reload.c (reload_inner_reg_of_subreg): New function broken out of
8753 push_reload.
8754 (push_reload): Use reload_inner_reg_of_subreg.
8755 (combine_reloads): Do not combine reloads if the input reload
8756 is a SUBREG in which the inner part will need reloading.
8757
8758 * global.c (global_alloc): Avoid passing dumpfile argument to
8759 reload routines.
8760 * toplev.c (rest_of_compilation): Likewise.
8761 * reload.h (reload): Remove dumpfile argument. Callers changed.
8762 (debug_reload, debug_reload_to_stream): Move prototypes here.
8763 * rtl.h (reload): Remove dumpfile argument.
8764 * reload.c (debug_reload): Remove prototype.
8765 (debug_reload_to_stream): Likewise.
8766 * reload1.c: Avoid passing dumpfile around, rely on rtl_dump_file
8767 instead.
8768
8769 2000-08-21 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
8770
8771 * diagnostic.c (context_as_prefix): Export.
8772 (need_error_newline): Remove.
8773 (lang_diagnostic_starter, lang_diagnostic_finalizer): New objects.
8774 (error_module_changed, record_last_error_module,
8775 error_function_changed, record_last_error_function): New functions.
8776 (initialize_diagnostics): Default intialize
8777 lang_diagnostic_starter, lang_diagnostic_finalizer.
8778 (init_output_buffer): Tweak.
8779 (file_name_as_prefix): New function.
8780 (announce_function, default_print_error_function,
8781 report_error_function, set_diagnostic_context): Tweak.
8782
8783 2000-08-21 Richard Earnshaw <rearnsha@arm.com>
8784
8785 * flow.c (init_propagate_block_info): Handle SUBREG in a jump
8786 condition expression.
8787
8788 2000-08-20 Richard Henderson <rth@cygnus.com>
8789
8790 * flow.c (merge_blocks_nomove): Don't seek back past the bb note.
8791
8792 2000-08-20 Zack Weinberg <zack@wolery.cumb.org>
8793
8794 * cppinit.c (cpp_init): Set global flag when called.
8795 (cpp_reader_init): Bomb out if cpp_init hasn't been called.
8796
8797 Sun Aug 20 01:41:35 2000 Dennis Chernoivanov <cdi@sparc.spb.su>
8798
8799 * cpplex.c (cpp_scan_buffer): Move `output_line_command' just
8800 before `process_directive' so that newlines won't be missed
8801 for directives.
8802 (cpp_printf): Increment `print->lineno' when newline is emitted.
8803
8804 * cppmain.c (cb_ident): Likewise.
8805 (cb_define): Likewise.
8806 (cb_undef): Likewise.
8807 (cb_include): Likewise.
8808 (cb_def_pragma): Likewise.
8809 (dump_macros_helper): Likewise.
8810
8811 2000-08-20 Richard Henderson <rth@cygnus.com>
8812
8813 * config/ia64/ia64.c (emit_insn_group_barriers): Stop if ar.lc
8814 assigned before a loop.
8815
8816 * config/ia64/ia64.md (ashlsi3): Zero extend the shift count.
8817 (ashrsi3, lshrsi3): Likewise.
8818
8819 2000-08-20 Gabriel Dos Reis <gdr@codesourcery.com>
8820
8821 * c-lang.c: #include diagnostic.h
8822 (c_tree_printer): New function.
8823 (lang_init): Initialize lang_printer.
8824
8825 * Makefile.in (c-lang.o): Depends on diagnostic.h
8826
8827 2000-08-20 Gabriel Dos Reis <gdr@codesourcery.com>
8828
8829 * c-errors.c (pedwarn_c99): Adjust call to report_diagnostic.
8830
8831 * diagnostic.c (default_diagnostic_starter,
8832 default_diagnostic_finalizer): New functions.
8833 (diagnostic_for_asm, diagnostic_for_decl): Tweak.
8834 (pedwarn, pedwarn_with_file_and_line, error,
8835 error_with_file_and_line, fatal, warning,
8836 warning_with_file_and_line): Adjust call to report_diagnostic.
8837 (report_diagnostic): Rework.
8838 (set_diagnostic_context): New function.
8839
8840 * diagnostic.h (struct diagnostic_context): New data structure.
8841 (diagnostic_message, diagnostic_argument_list,
8842 diagnostic_file_location, diagnostic_line_location,
8843 diagnostic_is_warning, diagnostic_starter, diagnostic_finalizer,
8844 diagnostic_finalizer, diagnostic_auxiliary_data): New macros.
8845 (set_diagnostic_context): Declare.
8846 (report_diagnostic): Change prototype.
8847
8848 Sun 20-Aug-2000 09:25:45 BST Neil Booth <NeilB@earthling.net>
8849
8850 * fix-header.c (main): Initialize cpplib.
8851
8852 2000-08-19 Michael Meissner <meissner@redhat.com>
8853
8854 * ifcvt.c (find_if_block): Do not assume that a THEN block has any
8855 instructions in it before checking for indirect jumps.
8856
8857 * ifcvt.c (find_if_block): Do not consider a THEN block that ends
8858 in a indirect jump as a potential for conditional execution.
8859
8860 * d30v.h (d30v_init_expanders): Don't declare here.
8861 * d30v-protos.h (d30v_init_expanders): Declare here with a valid
8862 prototype.
8863
8864 Sat 19-Aug-2000 21:11:45 BST Neil Booth <NeilB@earthling.net>
8865
8866 * cpp.texi: Add @section for assertions.
8867
8868 Sat Aug 19 12:37:08 EDT 2000 John Wehle (john@feith.com)
8869
8870 * loop.c (scan_loop): Use CONST_CALL_P instead of
8871 checking for REG_LIBCALL / REG_RETVAL.
8872
8873 Sat Aug 19 09:18:47 2000 Jeffrey A Law (law@cygnus.com)
8874
8875 * reload1.c (reload_as_needed): Accept dumpfile argument,
8876 pass it to emit_reload_insns.
8877 (emit_reload_insns): Add new dumpfile argument. If non-null
8878 then dump the reloads for each insn into the dumpfile.
8879 (reload): Pass dumpfile to reload_as_needed.
8880
8881 * invoke.texi: Clean up linux-gnu vs linux comments.
8882
8883 2000-08-19 Richard Henderson <rth@cygnus.com>
8884
8885 * config/ia64/ia64.c (reg_or_5bit_operand): New.
8886 (ia64_depz_field_mask): New.
8887 * config/ia64/ia64.h (CONSTRAINT_OK_FOR_R): New.
8888 (PREDICATE_CODES): Update.
8889 * config/ia64/ia64.md: Update commentary.
8890 (depz_internal): New.
8891 (ashlsi3): Implement directly.
8892 (ashrsi3, lshrsi3): Simplify; rely on extv and extzv for constants.
8893 (ashldi3): Use shladd.
8894 * config/ia64/ia64-protos.h: Update.
8895
8896 2000-08-18 Zack Weinberg <zack@wolery.cumb.org>
8897
8898 * toplev.c (independent_decode_option): Always process -g.
8899 Remove third argument, now unused. Adjust caller to match.
8900
8901 2000-08-18 Richard Henderson <rth@cygnus.com>
8902
8903 * combine.c (make_compound_operation): Break after creating
8904 the extraction.
8905
8906 2000-08-18 Zack Weinberg <zack@wolery.cumb.org>
8907
8908 * cpplib.c (cpp_register_pragma_space): Just return if the
8909 namespace is already registered.
8910
8911 2000-08-18 Ray Essick <essick@ddna.labs.mot.com> & Nick Clifton <nickc@redhat.com>
8912
8913 * config/mcore/mcore.md (rotlsi3): Allow allow rotations by a
8914 constant amount. Do not generate ROTL instruction.
8915
8916 Fri Aug 18 16:22:20 2000 Alexandre Oliva <aoliva@redhat.com>
8917
8918 * config/sh/elf.h: Do not include sh/sh.h.
8919 * config/sh/rtems.h: Likewise.
8920 * config/sh/rtemself.h: Do not include sh/elf.h.
8921 * configure.in: Get them included with `tm_file's.
8922 * configure: Rebuilt.
8923
8924 * config/sh/sh.md (fpu_switch0, fpu_switch1): Simplify.
8925 * config/sh/sh.c (fpscr_set_from_mem): Use them.
8926
8927 Fri Aug 18 14:23:18 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
8928
8929 * stor-layout.c (compute_record_type): Don't use mode of single
8930 field as mode of record if not integer mode of same type.
8931
8932 * regmove.c (perhaps_ends_bb_p): New function.
8933 (optimize_reg_copy_1, optimize_reg_copy_2): Call it.
8934 (optimize_reg_copy_3, fixup_match_2, regmove_optimize): Likewise.
8935 (fixup_match_1): Likewise.
8936 (fixup_match_1, combine_stack_adjustments_for_block): Add casts to
8937 avoid signed/unsigned warnings.
8938
8939 * function.c (fixup_var_refs_1, case MEM): Update CODE after
8940 updating X.
8941
8942 Fri 18-Aug-2000 18:33:45 BST Neil Booth <NeilB@earthling.net>
8943
8944 * cpphash.h: Use HAVE_DESIGNATED_INITIALIZERS.
8945 (_cpp_trigraph_map): Declaration moved from cpplex.c
8946
8947 * cppinit.c: Define _cpp_trigraph_map. Use UCHAR_MAX + 1
8948 instead of 256. Use consistent test for designated initializers.
8949 (cpp_init): Initialize trigraph_map.
8950 (initialize_standard_includes, parse_option): Use memcmp
8951 instead of strncmp.
8952
8953 * cpplex.c (init_trigraph_map): Remove.
8954 (trigraph_ok, trigraph_replace, lex_line): Refer to
8955 _cpp_trigraph_map.
8956
8957 * cpplib.c (str_match, WARNING, ERROR, ICE): Delete.
8958 (do_unassert): Remove unused "next" local.
8959
8960 * system.h (HAVE_DESIGNATED_INITIALIZERS): New prototype.
8961
8962 2000-08-18 Emmanuel Marty <emarty@suntech.fr>
8963
8964 * arm/lib1funcs.asm (_umodsi3 THUMB VARIANT): Restore deleted return
8965 insn.
8966
8967 2000-08-17 Richard Henderson <rth@cygnus.com>
8968
8969 * config/ia64/ia64.c (spill_restore_mem): Handle emitting
8970 the first insn in a sequence.
8971
8972 Thu Aug 17 22:40:05 EDT 2000 John Wehle (john@feith.com)
8973
8974 * alias.c (true_dependence, write_dependence_p): A read
8975 involving a label_ref or the constant pool doesn't create
8976 a dependency.
8977
8978 * rtl.h (unchanging): Improve documentation.
8979
8980 2000-08-17 Rodney Brown <RodneyBrown@mynd.com>
8981
8982 * cse.c (insert_regs): Remove unused `regno'.
8983
8984 2000-08-17 Neil Booth <NeilB@earthling.net>
8985
8986 * (cppinit.c) merge_include_chains: Use remove_dup_dir,
8987 remove_dup_dirs. If qtail == brack, remove brack not
8988 qtail.
8989 (remove_dup_dir, remove_dup_dirs): New functions.
8990
8991 2000-08-17 Neil Booth <NeilB@earthling.net>
8992
8993 * cppinit.c (cpp_cleanup): Free include dir chains.
8994 * cpplib.c (do_undef): Let _cpp_free_definition make the node void.
8995 (do_unassert): Free the assert with _cpp_free_definition.
8996 * cppmacro.c (_cpp_free_definition): Free memory allocated for
8997 assertions. Make the node a T_VOID node.
8998
8999 2000-08-17 Neil Booth <NeilB@earthling.net>
9000
9001 * cppinit.c (path_include, append_include_chain):
9002 Remove 2nd parameter (struct cpp_pending *).
9003 (path_include, initialize_standard_includes, cpp_handle_option):
9004 Update callers appropriately.
9005 (cpp_handle_option): Use pend.
9006
9007 2000-08-17 Neil Booth <NeilB@earthling.net>
9008
9009 * cppinit.c (sort_options): Remove, put functionality in
9010 cpp_init.
9011 (cpp_init): New.
9012 (initialize_builtins): Free memory.
9013 (cpp_start_read): Move init_IStable to cpp_init.
9014
9015 * cpplib.h (cpp_init): New prototype.
9016 * cppmain.c (main): Call cpp_init.
9017
9018 Thu Aug 17 13:20:32 EDT 2000 John Wehle (john@feith.com)
9019
9020 * rtlanal.c (rtx_unstable_p): Use CONSTANT_P.
9021 (rtx_unstable_p, rtx_varies_p): Process vectors.
9022
9023 2000-08-16 Niibe Yutaka <gniibe@m17n.org>, Kaz Kojima <kkojima@rr.iij4u.or.jp>
9024
9025 * config/sh/lib1funcs.asm (GLOBAL): Define. Use for all
9026 references to GLOBAL symbols. Use LOCAL where appropriate.
9027
9028 2000-08-16 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
9029
9030 * configure.in (*-ibm-aix4.[12]*): Delete test for gnu ld. Always
9031 use t-aix41 when host == target.
9032
9033 2000-08-16 Richard Henderson <rth@cygnus.com>
9034
9035 * reload.c (push_secondary_reload): Revert last change.
9036 If we use a reload_in/out pattern, make the when the same
9037 as the primary reload.
9038 (find_reloads): Likewise.
9039
9040 2000-08-16 Manfred Hollstein <manfredh@redhat.com>
9041
9042 * configure.in (libstdcxx-v3): Fix test.
9043 * configure: Regenerate.
9044
9045 Wed Aug 16 08:10:32 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
9046
9047 * calls.c (calls_function_1, expand_call): Only test
9048 TYPE_RETURNS_STACK_DEPRESSED for FUNCTION_TYPE.
9049 * function.c (thread_prologue_and_epilogue_insns): Likewise.
9050
9051 2000-08-16 Richard Henderson <rth@cygnus.com>
9052
9053 * combine.c (simplify_shift_const): Revert previous two
9054 changes. If SHIFT_COUNT_TRUNCATED, crop the shift count
9055 before the main loop.
9056
9057 2000-08-15 Richard Henderson <rth@cygnus.com>
9058
9059 * combine.c (simplify_shift_const): Bound shift count when
9060 combining shifts.
9061
9062 Tue Aug 15 17:33:05 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
9063
9064 * calls.c (ECF_SP_DEPRESSED): New macro.
9065 (calls_function_1): Treat calling sp-depressed function as alloca.
9066 (emit_call_1): Don't adjust SP if calling sp-depressed function.
9067 (expand_call): Set ECF_SP_DEPRESSED if TYPE_RETURNS_STACK_DEPRESSED.
9068 If sp-depressed, ensure block saves and restores SP.
9069 * fold-const.c (extract_muldiv): Only check TYPE_IS_SIZETYPE
9070 for INTEGER_TYPE.
9071 * function.c (keep_stack_depressed): New function.
9072 (thread_prologue_and_epilogue_insns): Call it.
9073 * print-tree.c (print_node): Use HOST_WIDE_INT_PRINT_UNSIGNED
9074 to print DECL_OFFSET_ALIGN.
9075 Print no-force-blk and transparent-union flags properly.
9076 * stmt.c (expand_goto_internal): Don't restore stack if last block
9077 and function returns with sp depressed.
9078 (fixup_gotos): Likewise.
9079 (save_stack_pointer): New function, from code in expand_decl.
9080 (expand_decl): Call new function.
9081 * tree.h (TYPE_IS_SIZETYPE): Call INTEGER_TYPE_CHECK.
9082 (TYPE_RETURNS_STACK_DEPRESSED): New macro.
9083 (save_stack_pointer): New declaration.
9084
9085 * diagnostic.c (fatal_function): New variable.
9086 (set_fatal_function): New function.
9087 (fatal): Call it.
9088 * diagnostic.h (set_fatal_function): New declaration.
9089
9090 2000-08-15 William Cohen <wcohen@redhat.com>
9091
9092 * config/sh/elf.h (DWARF2_DEBUGGING_INFO): Defined.
9093 (PREFERRED_DEBUGGING_TYPE): Set to dwarf2 info.
9094 (DWARF2_ASM_LINE_DEBUG_INFO): Defined.
9095
9096 2000-08-15 Richard Henderson <rth@cygnus.com>
9097
9098 * flow.c (mark_used_reg): Set reg_cond_reg appropriately.
9099
9100 2000-08-15 Richard Earnshaw <rearnsha@arm.com>
9101
9102 * arm.c (arm_function_ok_for_sibcall): New function.
9103 * arm.h (FUNCTION_OK_FOR_SIBCALL): Define.
9104 * arm.md (call expanders): Don't check here for calls that can't
9105 be sibling calls.
9106
9107 2000-08-15 Richard Earnshaw <rearnsha@arm.com>
9108
9109 * arm.md (splits generating cond_exec): Disable.
9110
9111 2000-08-15 Richard Earnshaw <rearnsha@arm.com>
9112
9113 * arm/linux-elf.h (text_section): Delete declaration.
9114
9115 2000-08-15 Richard Earnshaw <rearnsha@arm.com>
9116
9117 ARM support for unordered FP operations.
9118 * arm-protos.h (arm_comparison_operator): Declare.
9119 * arm.c (arm_comparison_operator): New function.
9120 (arm_select_cc_mode): Add unordered comparison codes.
9121 (get_arm_condition_code): Likewise.
9122 (arm_final_prescan_insn): Can't handle unordered jumps that can't
9123 be done in one insn.
9124 * arm.h (PREDICATE_CODES): Add arm_comparison_operator.
9125 * arm.md (all uses of comparison_operator): Replace with
9126 arm_comparison_operator.
9127 (bunordered, bordered, bugt, bunlt, bunge, bunle, buneq, bltgt): New
9128 expands.
9129 (arm_buneq, arm_bltgt, arm_buneq_reversed, arm_bltgt_reveresed): New
9130 patterns.
9131
9132 Tue Aug 15 00:36:36 2000 Ovidiu Predescu <ovidiu@cup.hp.com>
9133
9134 * gthr-posix.h: Conditionally include <sched.h>; include
9135 <config.h> from libobjc/.
9136
9137 2000-08-14 Richard Henderson <rth@cygnus.com>
9138
9139 * config/i386/i386.c (legitimize_pic_address): Use Pmode
9140 for all CONSTs.
9141
9142 2000-08-14 Richard Henderson <rth@cygnus.com>
9143
9144 * configure.in (ia64-*): Set float_format for i386 long double.
9145
9146 * real.c (GET_REAL): Treat 128-bit INTEL_EXTENDED_IEEE_FORMAT
9147 as we would for i386 XFmode.
9148 (PUT_REAL): Likewise.
9149 (endian, ereal_atof, real_value_truncate): Likewise.
9150 (ereal_isneg, toe64, etens, make_nan): Likewise.
9151 * real.h (REAL_VALUE_TO_TARGET_LONG_DOUBLE): Likewise.
9152
9153 * config/ia64/ia64-protos.h: Update.
9154 * config/ia64/ia64.c (general_tfmode_operand): New.
9155 (destination_tfmode_operand): New.
9156 (tfreg_or_fp01_operand): New.
9157 (ia64_split_timode): New.
9158 (spill_tfmode_operand): New.
9159 (ia64_expand_prologue): Use TFmode not XFmode.
9160 (ia64_expand_epilogue): Likewise.
9161 (ia64_function_arg): Likewise.
9162 (ia64_function_arg_advance): Likewise.
9163 (ia64_return_in_memory): Likewise.
9164 (ia64_function_value): Likewise.
9165 (ia64_print_operand): Likewise.
9166 (ia64_register_move_cost): Set GR<->FR to 5.
9167 (ia64_secondary_reload_class): Get GR for TImode memory op.
9168 * config/ia64/ia64.h (ROUND_TYPE_SIZE): Remove.
9169 (ROUND_TYPE_ALIGN): Remove.
9170 (LONG_DOUBLE_TYPE_SIZE): Set to 128.
9171 (INTEL_EXTENDED_IEEE_FORMAT): Define.
9172 (HARD_REGNO_NREGS): Use TFmode, not XFmode.
9173 (HARD_REGNO_MODE_OK): Likewise. Disallow TImode in FRs.
9174 (MODES_TIEABLE_P): Use TFmode, not XFmode.
9175 (CLASS_MAX_NREGS): Likewise.
9176 (ASM_OUTPUT_LONG_DOUBLE): Output by 4 byte hunks.
9177 (PREDICATE_CODES): Update.
9178 * config/ia64/ia64.md (movti): New.
9179 (movti_internal): Use a clobber for memory alternatives.
9180 (reload_inti, reload_outti): New.
9181 (movsfcc_astep): Predicate properly.
9182 (movdfcc_astep): Likewise.
9183 (movxf): Remove.
9184 (movtf): New.
9185 (extendsftf2, extenddftf2): New.
9186 (trunctfsf2, trunctfdf2): New.
9187 (floatditf2, fix_trunctfdi2): New.
9188 (floatunsditf2, fixuns_trunctfdi2): New.
9189 (addtf3, subtf3, multf3, abstf2): New.
9190 (negtf2, nabstf2, mintf3, maxtf3): New.
9191 (maddtf3, msubtf3, nmultf3, nmaddtf3): New.
9192 (cmptf): New.
9193 (fr_spill): Use TFmode, not XFmode.
9194 (fr_restore): Likewise.
9195 * config/ia64/lib1funcs.asm (__divtf3): New.
9196 * config/ia64/t-ia64 (LIB1ASMFUNCS): Add it.
9197
9198 2000-08-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
9199
9200 * cse.c (fold_rtx): Avoid empty body in an if-statement.
9201
9202 * doloop.c (doloop_iterations_max, doloop_modify): Avoid using the
9203 `U' integer constant suffix.
9204
9205 * dwarf2out.c (add_subscript_info): Avoid empty body in an
9206 else-statement.
9207
9208 * sparc/sol2.h (__enable_execute_stack): Prototype.
9209
9210 2000-08-14 David Edelsohn <edelsohn@gnu.org>
9211
9212 * collect2.c: Remove use of AIX import file.
9213
9214 * longlong.h: Test ARCH_PWR not ARCH_POWER.
9215
9216 * rs6000.c (print_operand, case 'E'): Add else.
9217
9218 2000-08-14 Richard Henderson <rth@cygnus.com>
9219
9220 * config/ia64/ia64.md (movdi): Delay calling ia64_expand_load_address.
9221 (movdi_symbolic): New.
9222
9223 2000-08-14 Jim Wilson <wilson@cygnus.com>
9224
9225 * config/ia64/ia64.h (ASM_SPEC): Pass -mconstant-gp and -mauto-pic
9226 to GNU as. For Intel as, pass -M const_gp and -M no_plabel.
9227 * config/ia64/linux.h (ASM_SPEC): Pass -mconstant-gp and -mauto-pic
9228 to GNU as.
9229
9230 2000-08-14 Richard Henderson <rth@cygnus.com>
9231
9232 * expr.c (emit_group_load): Don't force constants into registers.
9233 Special case source already in the correct mode.
9234
9235 2000-08-14 Zack Weinberg <zack@wolery.cumb.org>
9236
9237 * configure.in: Accept *-*-linux* not just *-*-linux-gnu*.
9238 * fixinc/inclhack.def: Likewise.
9239 * fixinc/mkfixinc.sh: Likewise.
9240 * configure: Regenerate.
9241 * fixinc/fixincl.x: Regenerate.
9242 * install.texi: Document equivalence of linux and linux-gnu.
9243
9244 Mon Aug 14 18:51:44 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
9245
9246 * cse.c (insert_regs): Also in REG case: When finding an invalid
9247 value, and we make a new quantity, make sure that it won't be
9248 mistaken by for a valid one by mention_regs.
9249
9250 2000-08-13 Ralf Gütlein <ralf.guetlein@aranea.de>
9251
9252 * h8300.md: Remove obsolete peepholes.
9253
9254 2000-08-13 Kazu Hirata <kazu@hxi.com>
9255
9256 * invoke.texi (H8/300 Options): Fix typos.
9257 * config/h8300.c: Fix formatting.
9258 * config/h8300.h: Fix comment typos.
9259 (OVERRIDE_OPTIONS): Fix formatting.
9260
9261 * function.c: Fix formatting.
9262
9263 * cse.c: Fix formatting.
9264
9265 2000-08-13 Geoff Keating <geoffk@cygnus.com>
9266
9267 * flow.c (attempt_auto_inc): Remove unused variable `bb'.
9268 (attempt_auto_inc): Suppress parentheses warning.
9269 * function.c (put_reg_into_stack): Remove unused variable `unsigned_p'.
9270 * loop.c (load_mems): Remove `u' suffix in two places.
9271 * config/rs6000/rs6000.c: Remove unnecessary `u' suffixes from
9272 hex constants.
9273 * config/rs6000/rs6000.h: Likewise.
9274 * config/rs6000/sol-c0.c: Prototype some functions. Remove the
9275 __eabi dummy routine.
9276 * config/rs6000/sysv4.h (ASM_DECLARE_FUNCTION_NAME): Remove unused
9277 variable `buf_ptr'.
9278
9279 * config/rs6000/rs6000.c (rs6000_select_section): Rewrite to
9280 not put stuff in .sdata unnecessarily.
9281 (rs6000_unique_section): New function.
9282 * config/rs6000/rs6000-protos.h: Add rs6000_unique_section.
9283 * config/rs6000/sysv4.h (UNIQUE_SECTION): Define.
9284
9285 * c-typeck.c (build_array_ref): Don't complain about non-lvalue
9286 arrays in C99. Don't try to look at DECL_REGISTER of a
9287 COMPONENT_REF. Don't complain twice about the same error.
9288
9289 * fixinc/inclhack.def (aix_pthread): New fix.
9290 (aix_sysmachine): New fix.
9291 * fixinc/fixincl.x: Regenerate.
9292
9293 * expr.c (expand_expr): Call convert_modes when turning a large
9294 multiply into a small one.
9295
9296 2000-08-12 Geoff Keating <geoffk@cygnus.com>
9297
9298 * tree.h (DECL_OFFSET_ALIGN): Make the off_align field of
9299 the tree structure an exponent rather than an explicit alignment
9300 so it doesn't overflow.
9301 (SET_DECL_OFFSET_ALIGN): New macro.
9302 * stor-layout.c (place_union_field): Use SET_DECL_OFFSET_ALIGN
9303 rather than DECL_OFFSET_ALIGN.
9304 (place_field): Likewise.
9305 * expmed.c (store_bit_field): Abort on align==0 to avoid
9306 antisocial machine behaviour.
9307
9308 2000-08-12 Richard Henderson <rth@cygnus.com>
9309
9310 * sibcall.c (uses_addressof): Accept both addressof and
9311 current_function_internal_arg_pointer inside a mem.
9312 (optimize_sibling_and_tail_recursive_call): Fail tail recursion
9313 if current_function_uses_addressof.
9314 * stmt.c (expand_return): Kill tail recursion and HAVE_return
9315 optimizations.
9316
9317 2000-08-11 Richard Henderson <rth@cygnus.com>
9318
9319 * config/ia64/ia64.md (addsi3): Remove expander.
9320 (subsi3, mulsi3, negsi2, one_cmplsi2): Likewise.
9321 (*addsi3_shladd): New.
9322
9323 2000-08-11 Richard Henderson <rth@cygnus.com>
9324
9325 * config/ia64/ia64.c (do_spill): Pass cfa offset to move expander.
9326 (do_restore): Likewise.
9327 (gen_movdi_x, gen_fr_spill_x, gen_fr_restore_x): New.
9328 (ia64_expand_prologue, ia64_expand_epilogue): Use them.
9329 (rtx_needs_barrier): Track actual bit manipulation for
9330 ar.unat moves, gr_spill, and gr_restore.
9331 (emit_insn_group_barriers): Special case gr_spill/gr_restore.
9332 (process_set): Don't handle varargs spills.
9333 * config/ia64/ia64.md (gr_spill): Accept cfa offset. Emit
9334 .mem.offset here instead of in process_set.
9335 (gr_restore): Likewise.
9336
9337 2000-08-11 Richard Henderson <rth@cygnus.com>
9338
9339 * config/ia64/ia64.h (PROMOTE_MODE): Only extend to SImode.
9340
9341 2000-08-11 Mark Elbrecht <snowball3@bigfoot.com>
9342
9343 * gcc.texi (The Configuration File): Document
9344 COLLECT2_HOST_INITIALIZATION, GCC_DRIVER_HOST_INITIALIZATION, and
9345 UPDATE_PATH_HOST_CANONICALIZATION.
9346
9347 2000-08-11 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
9348
9349 * c-parse.in (cast_expr): Avoid -Wstrict-prototype warnings for
9350 unprototyped function pointer casts on integer constants.
9351
9352 2000-08-11 Laurynas Biveinis <lauras@softhome.net>
9353
9354 * fixproto: Recognize DOS paths with drive letters as absolute paths.
9355
9356 2000-08-11 Nathan Sidwell <nathan@codesourcery.com>
9357
9358 * extend.texi (Volatiles): Fix typos.
9359
9360 2000-08-11 Kazu Hirata <kazu@hxi.com>
9361
9362 * flow.c: Fix formatting.
9363
9364 2000-08-11 Richard Henderson <rth@cygnus.com>
9365
9366 * reload.c (push_secondary_reload): When invoking a reload_{in,out}
9367 pattern, always allocate a tertiary scratch register.
9368
9369 * config/alpha/alpha.md (reload_inqi): Use a DImode scratch.
9370 (reload_inhi): Likewise.
9371
9372 2000-08-11 Richard Henderson <rth@cygnus.com>
9373
9374 * function.c (put_reg_into_stack): Allow type to be NULL.
9375 (schedule_fixup_var_refs): Likewise.
9376 (gen_mem_addressof): Allow decl to be NULL.
9377 (put_addressof_into_stack): Likewise.
9378
9379 * flow.c (merge_blocks_nomove): Be more careful about
9380 locating the beginning of block A.
9381
9382 * combine.c (simplify_shift_const): Obey SHIFT_COUNT_TRUNCATED.
9383
9384 Thu Aug 10 22:47:09 2000 Ovidiu Predescu <ovidiu@cup.hp.com>
9385
9386 * configure.in:
9387 * configure:
9388 * gthr-posix.h:
9389 * config.in: Reverted the check for <sched.h>.
9390
9391 2000-08-10 Chris Demetriou <cgd@sibyte.com>
9392
9393 * mips/elf.h (CTOR_SECTION_NAME, DTOR_SECTION_NAME): New
9394 macros define the name of CTOR and DTOR sections.
9395 (CTOR_LIST_BEGIN, CTOR_LIST_END, DTOR_LIST_BEGIN,
9396 DTOR_LIST_END): Change to use attributes to specify
9397 sections.
9398 * mips/elf64.h (CTOR_SECTION_NAME, DTOR_SECTION_NAME,
9399 (CTOR_LIST_BEGIN, CTOR_LIST_END, DTOR_LIST_BEGIN,
9400 DTOR_LIST_END): Same as in mips/elf.h.
9401
9402 2000-08-10 Drew Moseley <dmoseley@redhat.com>
9403
9404 * config/mn10300/mn10300.h: Added no-crt0 option for explicitly
9405 disabling just crt0.o.
9406
9407 2000-08-10 Richard Earnshaw <rearnshaw@arm.com> & Nick Clifton <nickc@cygnus.com>
9408
9409 * arm.h (CPP_SPEC): Use sub-spec cpp_interwork.
9410 (CPP_INTERWORK_SPEC, CPP_INTERWORK_DEFAULT_SPEC): New sub-specs.
9411 (EXTRA_SPECS): Add them.
9412 * arm/lib1funcs.asm: Support builds for interworking.
9413 Use macros to eliminate duplicated pieces of code.
9414
9415 2000-08-10 Kazu Hirata <kazu@hxi.com>
9416
9417 * h8300.c (expand_a_rotate): New.
9418 (emit_a_rotate): Likewise.
9419 (h8300_adjust_insn_length): Add support for the rotate insns.
9420 * h8300.md (rotlqi3): New.
9421 (*rotlqi3_1): Likewise.
9422 (rotlhi3): Likewise.
9423 (*rotlhi3_1): Likewise.
9424 (rotlhi3): Likewise.
9425 (*rotlhi3_1): Likewise.
9426 * h8300-proto.h: Add prototypes for expand_a_rotate and
9427 emit_a_rotate.
9428
9429 * h8300.c: Fix comment typos.
9430 (dosize): Declare the variable amount as unsigned.
9431 (get_shift_alg): Fix a comparison between signed and unsigned.
9432 (emit_a_shift): Likewise.
9433 (h8300_adjust_insn_length): Simplify the code.
9434
9435 * c-decl.c: Fix formatting.
9436
9437 2000-08-10 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
9438
9439 * c-lex.c (parse_float, yylex): For -Wtraditional, issue a
9440 warning about non-traditional numeric constant suffixes.
9441
9442 * cppexp.c (parse_number): Likewise.
9443
9444 * invoke.texi: (-Wtraditional): Document new behavior.
9445
9446 Thu Aug 10 00:11:04 2000 Ovidiu Predescu <ovidiu@cup.hp.com>
9447
9448 * gthr-posix.h: Include auto-host.h. Conditionally include
9449 <sched.h>.
9450 * configure.in: Check for the <sched.h> header file.
9451 * config.in: Added define for HAVE_SCHED_H.
9452
9453 2000-08-09 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
9454
9455 * c-typeck.c (process_init_element): For -Wtraditional, warn about
9456 initialization of unions.
9457
9458 * invoke.texi (-Wtraditional): Document new behavior.
9459
9460 2000-08-09 Zack Weinberg <zack@wolery.cumb.org>
9461
9462 * configure.in (--enable-c-cpplib): Uncomment. Use AC_DEFINE
9463 instead of extra_c_flags.
9464 (--enable-c-mbchar): Use AC_DEFINE instead of extra_c_flags.
9465 * configure: Regenerate.
9466 * config.in: Regenerate.
9467
9468 * cpperror.c (cpp_type2name): New function.
9469 * cpplex.c (lex_line): If we issued an error for an invalid
9470 preprocessing directive, discard that logical line.
9471 * cpplib.c (do_line): Call a hook function if the current file
9472 is renamed by #line.
9473 (do_ident): Pass the contents of the string, not the entire
9474 token, to the callback function.
9475 * cpplib.h (CPP_LAST_PUNCTUATOR): New #define.
9476 (cb.rename_file): New hook function.
9477 (cb.ident): Adjust prototype.
9478 (cpp_type2name): Prototype.
9479 * cppmacro.c (dump_macro_args): Correct precedence lossage.
9480
9481 * cppmain.c (cb_ident): Update for changed interface.
9482 (cb_rename_file): New function.
9483 (main): Set rename callback.
9484
9485 2000-08-09 Alexandre Oliva <aoliva@redhat.com>
9486
9487 * caller-save.c (mark_referenced_regs): Mark partially-overwritten
9488 multi-word registers.
9489
9490 2000-08-08 Joseph S. Myers <jsm28@cam.ac.uk>
9491
9492 * c-common.c (combine_strings, check_format_info): Refer to ISO C
9493 or ISO C89 instead of ANSI C.
9494 * c-decl.c (grokdeclarator, xref_tag, finish_struct,
9495 build_enumerator, do_case): Likewise.
9496 * c-lex.c (parse_float, yylex): Likewise.
9497 * c-parse.in: Likewise.
9498 * c-typeck.c (common_type, build_array_ref, build_binary_op,
9499 build_unary_op, pedantic_lvalue_warning, build_conditional_expr,
9500 build_c_cast, convert_for_assignment, set_init_index,
9501 set_init_label, c_expand_start_case): Likewise.
9502 * toplev.c (documented_lang_options, display_help): Likewise.
9503
9504 2000-08-08 Kazu Hirata <kazu@hxi.com>
9505
9506 * h8300.c: Fix formatting.
9507 * h8300.h: Likewise.
9508 * h8300.md: Likewise.
9509 (movsi_h8300hs): Fix formatting of the resulting assembly code.
9510
9511 * reload1.c: Fix formatting.
9512
9513 2000-08-08 Rodney Brown <RodneyBrown@mynd.com>
9514
9515 * alpha/alpha.c (alpha_emit_xfloating_libcall):
9516 Use GEN_CALL_VALUE define.
9517 * alpha/alpha.md (untyped_call): Use GEN_CALL define.
9518 * clipper/clipper.md (untyped_call): Likewise.
9519 * dsp16xx/dsp16xx.md (untyped_call): Likewise.
9520 * fx80/fx80.md (untyped_call): Likewise.
9521 * mips/mips.md (untyped_call): Likewise.
9522 * ns32k/ns32k.md (untyped_call): Likewise.
9523 * pa/pa.md (untyped_call): Likewise.
9524 * romp/romp.md (untyped_call): Likewise.
9525 * sparc/sparc.md (untyped_call): Likewise.
9526
9527 2000-08-08 Jason Eckhardt <jle@cygnus.com>
9528
9529 * config/i860/i860.c (singlemove_string): Do not generate assembler
9530 pseudo instructions that must be expanded (that is, with signed
9531 constants larger than 16 bits).
9532
9533 2000-08-08 Richard Henderson <rth@cygnus.com>
9534
9535 * flow.c (life_analysis): Only turn off PROP_LOG_LINKS and
9536 PROP_AUTOINC at -O0. Don't collect alias info at -O0.
9537 (init_propagate_block_info): Don't kill memory stores at -O0.
9538 (mark_set_1, mark_used_regs): Likewise.
9539
9540 2000-08-08 David Edelsohn <edelsohn@gnu.org>
9541
9542 * rs6000.c (optimization_options): Decorate 'level' as
9543 ATTRIBUTE_UNUSED.
9544 (mask64_operand): Remove sign-extend thinko.
9545 (rldic_operand): New function.
9546 (load_multiple_operation): regno's are unsigned ints.
9547 (store_multiple_operation): Likewise.
9548 (lmw_operation): Likewise.
9549 (stmw_operation): Likewise.
9550 (includes_lshift_p): shift_mask is unsigned int.
9551 (includes_lshift64_p): New function.
9552 (addrs_ok_for_quad_peep): unsigned int reg1.
9553 (print_operand): Consistently add "else" after
9554 output_operand_lossage().
9555 (print_operand, case 'b'): Fold in case 'W'.
9556 (print_operand, case 'W'): Print rldic MB value.
9557 (output_epilogue): Update Objective-C language string.
9558 (output_toc): unsigned HOST_WIDE_INT low, compare unsigned.
9559 * rs6000.h (PREDICATE_CODES): Add rldic_operand.
9560 * rs6000.md (ashldi3): Add rldic instruction.
9561 (iordi3, xordi3): Remove redundant "else if CONST_DOUBLE".
9562 (cmpsi_internal2, cmpdi_interal2): Use 'b' output template
9563 modifier.
9564
9565 2000-08-08 Richard Henderson <rth@cygnus.com>
9566
9567 * config/ia64/ia64-protos.h: Remove duplicates. Update
9568 for massive code rearrangements.
9569 * config/ia64/ia64.c (ia64_arpfs_regno): Remove.
9570 (ia64_rp_regno, ia64_fp_regno, ia64_input_regs): Remove.
9571 (ia64_local_regs, ia64_need_regstk): Remove.
9572 (ar_ccv_reg_operand): New.
9573 (ia64_gp_save_reg): New.
9574 (struct ia64_frame_info): Combine most of the size elements;
9575 add new gr save elements.
9576 (find_gr_spill): New.
9577 (next_scratch_gr_reg): New.
9578 (mark_reg_gr_used_mask): New.
9579 (ia64_compute_frame_size): Rewrite. Allocate special AR regs
9580 to GR backing store regs when possible.
9581 (ia64_initial_elimination_offset): New.
9582 (ia64_rap_fp_offset): Remove.
9583 (save_restore_insns): Remove.
9584 (setup_spill_pointers): New.
9585 (finish_spill_pointers): New.
9586 (spill_restore_mem): New.
9587 (do_spill, do_restore): New.
9588 (ia64_expand_prologue): Rewrite to use them.
9589 (ia64_expand_epilogue): Likewise.
9590 (ia64_direct_return): Update for current_frame_info changes.
9591 (ia64_function_prologue): Simplify .prologue emission. Emit
9592 .spill when needed.
9593 (ia64_setup_incoming_varargs): Don't ever emit rtl.
9594 (ia64_dbx_register_number): New.
9595 (ia64_initialize_trampoline): New.
9596 (ia64_secondary_reload_class): Request GR_REGS for integer
9597 arithmetic destined for FR_REGS.
9598 (ia64_init_machine_status): Don't reset return_address_pointer_rtx.
9599 (ia64_mark_machine_status): Mark ia64_gp_save.
9600 (rws_access_regno): Rename from rws_access_reg; don't treat
9601 predicates specially.
9602 (rws_access_reg): New. Update all callers.
9603 (rtx_needs_barrier): Remove dead unspecs.
9604 (ia64_epilogue_uses): Mark ar.pfs and ar.unat live on exit.
9605 (ia64_encode_section_info): Silence signed/unsigned warnings.
9606 (spill_offset, sp_offset, spill_offset_emitted): Remove.
9607 (tmp_reg, tmp_saved): Remove.
9608 (process_set): Rewrite to expect complicated bits via
9609 REG_FRAME_RELATED_EXPR.
9610 (ia64_expand_fetch_and_op): Use emit_move_insn; be explicit
9611 in the use of ar.ccv; never set RTX_UNCHANGING_P.
9612 (ia64_expand_op_and_fetch): Likewise.
9613 (ia64_expand_compare_and_swap): Likewise.
9614 (ia64_expand_builtin): Likewise.
9615 * config/ia64/ia64.h (AR_UNAT_REGNUM): New.
9616 (FIRST_PSEUDO_REGISTER): Update.
9617 (AR_M_REGNO_P): Update.
9618 (FIXED_REGS): Don't mark three local registers as used.
9619 (EXTRA_CC_MODES): New.
9620 (SELECT_CC_MODE): New.
9621 (HARD_REGNO_NREGS): Allow DImode in p0; handle CCImode.
9622 (HARD_REGNO_MODE_OK): Disallow CCImode from non-predicates.
9623 (FRAME_GROWS_DOWNWARD): Unset.
9624 (STARTING_FRAME_OFFSET): Zero.
9625 (ELIMINABLE_REGS): Eliminate from the soft to hard frame pointer.
9626 (INITIAL_ELIMINATION_OFFSET): Defer to out of line function.
9627 (HARD_FRAME_POINTER_REGNUM): New.
9628 (CAN_DEBUG_WITHOUT_FP): Define.
9629 (TRAMPOLINE_TEMPLATE): Remove.
9630 (TRAMPOLINE_SIZE): Lower to 32.
9631 (TRAMPOLINE_ALIGNMENT): Lower to 64.
9632 (INITIALIZE_TRAMPOLINE): Defer to out of line function.
9633 (PREDICATE_CODES): Update.
9634 (struct machine_function): Add ia64_gp_save.
9635 * config/ia64/ia64.md: Purge unused unspecs.
9636 (movsi patterns): Allow moves to/from AR_M_REGS.
9637 (movdi patterns): Allow moves to/from p0.
9638 (call patterns): Move most setjmp hackery to ia64_gp_save_reg.
9639 (gr_spill, gr_restore): Indicate ar.unat read/written.
9640 (nonlocal_goto): Don't pass old frame_pointer.
9641 (nonlocal_goto_receiver): Remove.
9642 (exception_receiver): New.
9643 (builtin_setjmp_setup): New.
9644 (builtin_setjmp_receiver): New.
9645 * config/ia64/lib1funcs.asm (__ia64_save_stack_nonlocal): Bundle.
9646 (__ia64_nonlocal_goto): Bundle. Don't kill r7.
9647 (__ia64_restore_stack_nonlocal): Likewise.
9648 (__ia64_trampoline): New.
9649 * config/ia64/sysv4.h (DBX_REGISTER_NUMBER): Defer to out of line
9650 function.
9651 * config/ia64/t-ia64 (LIB1ASMFUNCS): Add __trampoline.
9652
9653 2000-08-08 Richard Henderson <rth@cygnus.com>
9654
9655 * frame.h (ia64_frame_state): Add my_psp.
9656 * libgcc2.c (ia64_throw_helper): Add throw_sp argument.
9657 (__throw): Pass it in. Don't clobber r7.
9658 * config/ia64/frame-ia64.c (init_ia64_reg_loc): Mark inline.
9659 (execute_one_ia64_descriptor) [mem_stack_v]: Sets psp.when
9660 and nothing to do with sp.
9661 (normalize_reg_loc): Use frame->my_psp.
9662 (frame_translate): Handle frame-pointer-less functions. Set
9663 spill_base correctly, in absence of being told.
9664 (__build_ia64_frame_state): New sp argument. Fill in frame->my_sp.
9665 (__ia64_backtrace_helper): New sp argument. Use
9666 builtin_return_address instead of label addresses.
9667 (print_record) [mem_stack_v]: No size member.
9668
9669 2000-08-08 Richard Henderson <rth@cygnus.com>
9670
9671 * regclass.c (choose_hard_reg_mode): Iterate over all CC modes.
9672
9673 2000-08-08 Richard Henderson <rth@cygnus.com>
9674
9675 * tm.texi (LOCAL_REGNO): Document.
9676 * flow.c (LOCAL_REGNO, EPILOGUE_USES): Provide default.
9677 (mark_regs_live_at_end): Don't mark LOCAL_REGNO registers.
9678 * reload1.c (reload): Likewise when considering nonlocal labels.
9679
9680 * config/ia64/ia64.h (LOCAL_REGNO): New.
9681 * config/sparc/sparc.h (LOCAL_REGNO): New.
9682
9683 2000-08-08 Joseph S. Myers <jsm28@cam.ac.uk>
9684
9685 * c-lex.c (yylex): Don't allow integer suffixes 'LUL', 'Ll', 'lL'.
9686
9687 2000-08-07 Nick Clifton <nickc@redhat.com>
9688
9689 * config/mips/mips.c: Fix compile time warning messages.
9690 * config/mips/mips-protos.h: Add prototype for equality_op.
9691
9692 * mn10300.h (TARGET_SWITCHES): Document `-mam33'.
9693
9694 2000-08-07 Graham Stott <grahams@cygnus.co.uk>
9695
9696 * mn10300.md: Use nonimmediate_operand instead of general_operand
9697 on output operands.
9698
9699 * mn10300.h (PREFERRED_RELOAD_CLASS): Limit memory reloads.
9700
9701 2000-08-07 Alexandre Oliva <aoliva@redhat.com>
9702
9703 * sh.h (EXTRA_CONSTRAINT_Q): Adjust to GNU Coding Standards.
9704 * sh.c (expand_block_move): Break long lines.
9705 (expand_ashiftrt, fpscr_set_from_mem): Likewise.
9706 * sh.md (mulsi3): Likewise.
9707 (movdi): Adjust spacing.
9708
9709 2000-08-07 Richard Henderson <rth@cygnus.com>
9710
9711 * expmed.c (store_bit_field): Don't require MEM_IN_STRUCT_P.
9712 * expr.c (emit_group_store): Don't set it.
9713
9714 2000-08-07 Kazu Hirata <kazu@hxi.com>
9715
9716 * invoke.texi (Options for Debugging Your Program or GCC): Remove
9717 duplicate entries for 'w' and 'z'.
9718
9719 * flow.c: Fix a comment typo.
9720
9721 Sun Aug 6 23:47:35 2000 Ovidiu Predescu <ovidiu@cup.hp.com>
9722
9723 * c-parse.in: Changed the language string for Objective-C to "GNU
9724 Objective-C".
9725
9726 Sun Aug 6 11:54:03 2000 Ovidiu Predescu <ovidiu@cup.hp.com>
9727
9728 * gthr-posix.h: Integrated Chris Ball's <cball@fmco.com> changes
9729 to improve the Posix thread support for Objective-C.
9730
9731 2000-08-06 Joseph S. Myers <jsm28@cam.ac.uk>
9732
9733 * c-common.h (enum c_tree_index): Add CTI_SIGNED_SIZE_TYPE and
9734 CTI_UNSIGNED_PTRDIFF_TYPE.
9735 (signed_size_type_node): Define.
9736 (unsigned_ptrdiff_type_node): Define.
9737 * c-decl.c (init_decl_processing): Create the
9738 signed_size_type_node and unsigned_ptrdiff_type_node types.
9739 * c-common.c (T_SC): Define.
9740 (T_SST): Define.
9741 (T_UPD): Define.
9742 (print_char_table): Use T_SST for %zd, %zi, %zn. Use T_UPD for
9743 %to, %tu, %tx, %tX. Allow %hhn (T_SC). Add "c" to the flags for
9744 %s and %p.
9745 (scan_char_table): Use T_SC for %hhd, %hhi, %hhn. Use T_SST for
9746 %zd, %zi, %zn. Use T_UPD for %to, %tu, %tx, %tX. Add "c" to the
9747 flags for %c, %s and %[.
9748 (check_format_info): Only allow leniency for signedness of targets
9749 of character pointers (when pedantic) for formats flagged with
9750 "c", so for strings but not for %hh formats. When pedantic, don't
9751 allow character pointers to substitute for void pointers if a
9752 second level of indirection is present.
9753
9754 2000-08-06 Kazu Hirata <kazu@hxi.com>
9755
9756 * invoke.texi (Options for Debugging Your Program or GCC): Update
9757 the names of dump files.
9758
9759 * h8300.c (dosize): Rearrange code for conciseness.
9760 (split_adds_subs): Likewise.
9761
9762 * loop.c: Fix formatting.
9763
9764 * dwarf2out.c: Fix formatting.
9765
9766 * tm.texi (FUNCTION_ARG_PARTIAL_NREGS): Fix a typo.
9767
9768 * expr.c: Fix formatting.
9769
9770 2000-08-06 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
9771
9772 * rs6000.c (rs6000_maybe_dead): Prototype.
9773
9774 2000-08-06 Richard Henderson <rth@cygnus.com>
9775
9776 * stmt.c (expand_goto): Do virtual_stack_vars_rtx replacement for
9777 HAVE_nonlocal_goto as well.
9778 * config/i960/i960.md (nonlocal_goto): Don't do it here.
9779 * config/pj/pj.md (nonlocal_goto): Likewise.
9780
9781 2000-08-07 Michael Hayes <mhayes@cygnus.com>
9782
9783 * loop.c (try_swap_copy_prop): New function.
9784 (load_mems): Rename copies to load_copies and add new regset
9785 store_copies. Check for sets of shadow registers and mark
9786 in store_copies. Call try_swap_copy_prop for registers
9787 marked in store_copies.
9788
9789 Sun Aug 6 00:54:42 2000 Ovidiu Predescu <ovidiu@cup.hp.com>
9790
9791 * objc/objc-act.c: New command line option -fconstant-string-class
9792 to allow specifying a user defined constant string class,
9793 different from NXConstantString.
9794
9795 * toplev.c: Moved the Objective-C specific options to
9796 objc/lang-options.h.
9797
9798 * objc/lang-options.h: Moved the Objective-C specific options from
9799 toplev.c. Added -fconstant-string-class.
9800
9801 2000-08-05 Chris Demetriou <cgd@sibyte.com>
9802
9803 * mips/elf.h (CTOR_LIST_BEGIN, CTOR_LIST_END,
9804 DTOR_LIST_BEGIN, DTOR_LIST_END): change type of
9805 __CTOR_LIST__ from func_ptr array to just func_ptr, to
9806 avoid extra alignment imposed on arrays.
9807 * mips/elf64.h (CTOR_LIST_BEGIN, CTOR_LIST_END,
9808 DTOR_LIST_BEGIN, DTOR_LIST_END): Likewise.
9809
9810 * mips.h: Clean up comments and spacing near MASKs.
9811 (TARGET_UNIX_ASM): Delete.
9812 (MASK_MIPS16, MASK_NO_CHECK_ZERO_DIV, MASK_CHECK_RANGE_DIV,
9813 MASK_UNINIT_CONST_IN_RODATA): Change values to make mask
9814 values contiguous.
9815
9816 2000-08-05 Joseph S. Myers <jsm28@cam.ac.uk>
9817
9818 * c-common.c (print_char_table): Add entries for the X/Open '
9819 format flag (print decimals with locale's thousands grouping
9820 character). Make %C expect wint_t.
9821 (check_format_info): If pedantic, warn when the %n$ operand
9822 number form is used. Allow for the ' flag; warn about it if
9823 pedantic.
9824
9825 2000-08-05 Zack Weinberg <zack@wolery.cumb.org>
9826
9827 * i386.h (FUNCTION_OK_FOR_SIBCALL): Not OK if DECL's return
9828 type is a float mode, cfun->decl's return type is not, and
9829 TARGET_FLOAT_RETURNS_IN_80387.
9830
9831 2000-08-04 Andreas Schwab <schwab@suse.de>
9832
9833 * cppmain.c (cb_def_pragma): Skip the first two tokens from the
9834 token list, which are always `#' and `pragma'.
9835
9836 2000-08-04 Zack Weinberg <zack@wolery.cumb.org>
9837
9838 * tree.c (tree_expr_nonnegative_p): Move to...
9839 * fold-const.c: ... here. Also handle BIND_EXPR and RTL_EXPR.
9840 (rtl_expr_nonnegative_p): New.
9841 * tree.h: Add prototype for rtl_expr_nonnegative_p.
9842
9843 * real.h (CONST_DOUBLE_LOW, CONST_DOUBLE_HIGH, CONST_DOUBLE_MEM,
9844 CONST_DOUBLE_CHAIN: Move to...
9845 * rtl.h: ...here. Use XCINT/XCEXP.
9846
9847 * Makefile.in: Remove toplev.o from OBJS. Add rule to make
9848 libbackend.a; add libbackend.a to STAGESTUFF. Add BACKEND
9849 variable. Use BACKEND when linking cc1, not OBJS. Add BACKEND
9850 to VOL_FILES.
9851
9852 * objc/Make-lang.in (cc1obj): Link with $(BACKEND).
9853
9854 2000-08-05 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
9855
9856 * config/c4x/c4x.md (return_indirect_internal): New.
9857 * config/c4x/c4x.c (c4x_expand_epilogue): Use it.
9858
9859 2000-08-04 Joseph S. Myers <jsm28@cam.ac.uk>
9860
9861 * c-common.c (time_char_table): Mark up formats added in C99 and
9862 make other corrections. %D and %g were added in C99. %Og is an
9863 extension. %EX is permitted. %R, %T, %n, %r, %t were added in
9864 C99. %e was added in C99. %Oj is an extension. %G and %z are in
9865 C99 rather than GNU extensions, but %OG and %Oz are extensions.
9866 %h was added in C99. %C was added in C99. %OY and %OC are
9867 extensions. Add the C99 format %F.
9868 (check_format_info): If pedantic and not in C99 mode, warn for C99
9869 formats, %E and %O.
9870
9871 Fri Aug 4 23:01:58 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
9872
9873 * function.c (schedule_fixup_var_refs): New function, broken out
9874 of put_reg_into_stack.
9875 (put_reg_into_stack): Use it.
9876 (put_var_into_stack): In CONCAT case, fixup up references for
9877 components only after fixing up references to the whole concat.
9878
9879 2000-08-04 Rodney Brown <RodneyBrown@pmsc.com>
9880
9881 * alias.c (mark_constant_function): Use INSN_P.
9882 (init_alias_analysis): Likewise.
9883 * combine.c (combine_instructions): Use INSN_P.
9884 (can_combine_p): Likewise.
9885 (try_combine): Likewise.
9886 (distribute_notes): Likewise.
9887 (distribute_links): Likewise.
9888 * cse.c (cse_around_loop): Use INSN_P.
9889 (invalidate_skipped_block): Likewise.
9890 (cse_set_around_loop): Likewise.
9891 (cse_end_of_basic_block): Likewise.
9892 (delete_trivially_dead_insns): Likewise.
9893 * emit-rtl.c (unshare_all_rtl_again): Use INSN_P.
9894 (unshare_all_rtl_1): Likewise.
9895 (next_cc0_user): Likewise.
9896 (try_split make_insn_raw): Likewise.
9897 (remove_unnecessary_notes): Likewise.
9898 * final.c (shorten_branches): Use INSN_P.
9899 (leaf_renumber_regs): Likewise.
9900 (leaf_renumber_regs_insn): Likewise.
9901 * flow.c (find_label_refs): Use INSN_P.
9902 (verify_wide_reg): Likewise.
9903 (notice_stack_pointer_modification): Likewise.
9904 (count_or_remove_death_notes): Likewise.
9905 (verify_flow_info): Likewise.
9906 (clear_log_links): Likewise.
9907 * function.c (fixup_var_refs_insns): Use INSN_P.
9908 (compute_insns_for_mem): Likewise.
9909 * gcse.c (alloc_gcse_mem): Use INSN_P.
9910 (compute_sets): Likewise.
9911 (compute_hash_table): Likewise.
9912 (classic_gcse): Likewise.
9913 (cprop): Likewise.
9914 (insert_insn_end_bb): Likewise.
9915 (delete_null_pointer_checks_1): Likewise.
9916 * global.c (expand_preferences): Use INSN_P.
9917 (build_insn_chain): Likewise.
9918 * graph.c (node_data): Use INSN_P.
9919 * haifa-sched.c (priority): Use INSN_P.
9920 (rm_line_notes): Likewise.
9921 (rm_other_notes): Likewise.
9922 (find_insn_reg_weight): Likewise.
9923 (init_target_units): Likewise.
9924 (schedule_block): Likewise.
9925 (compute_block_forward_dependences): Likewise.
9926 (debug_dependencies): Likewise.
9927 (set_priorities): Likewise.
9928 * integrate.c (function_cannot_inline_p): Use INSN_P.
9929 (save_parm_insns): Likewise.
9930 (copy_insn_list): Likewise.
9931 * jump.c (mark_all_labels): Use INSN_P.
9932 (never_reached_warning): Likewise.
9933 * lcm.c (optimize_mode_switching): Use INSN_P.
9934 * local-alloc.c (validate_equiv_mem): Use INSN_P.
9935 (memref_used_between_p): Likewise.
9936 (update_equiv_regs): Likewise.
9937 (block_alloc): Likewise.
9938 (no_conflict_p): Likewise.
9939 * loop.c (scan_loop): Use INSN_P.
9940 (find_and_verify_loops): Likewise.
9941 (count_loop_regs_set): Likewise.
9942 (loop_reg_used_before_p): Likewise.
9943 (strength_reduce): Likewise.
9944 (recombine_givs): Likewise.
9945 (check_dbra_loop): Likewise.
9946 (load_mems): Likewise.
9947 (try_copy_prop): Likewise.
9948 * print-rtl.c (print_rtx): Use INSN_P.
9949 * recog.c (find_single_use): Use INSN_P.
9950 * reg-stack.c (stack_regs_mentioned): Use INSN_P.
9951 (next_flags_user): Likewise.
9952 (swap_rtx_condition): Likewise.
9953 * regmove.c (mark_flags_life_zones): Use INSN_P.
9954 (optimize_reg_copy_1): Likewise.
9955 (optimize_reg_copy_2): Likewise.
9956 (optimize_reg_copy_3): Likewise.
9957 (reg_is_remote_constant_p): Likewise.
9958 (fixup_match_2): Likewise.
9959 (regmove_optimize): Likewise.
9960 (fixup_match_1): Likewise.
9961 * regrename.c (build_def_use): Use INSN_P.
9962 (replace_reg_in_block): Likewise.
9963 (consider_use): Likewise.
9964 * reload.c (find_equiv_reg): Use INSN_P.
9965 * reload1.c (reload): Use INSN_P.
9966 (maybe_fix_stack_asms): Likewise.
9967 (calculate_needs_all_insns): Likewise.
9968 (reload_as_needed): Likewise.
9969 (emit_output_reload_insns): Likewise.
9970 (delete_address_reloads_1): Likewise.
9971 (reload_cse_regs_1): Likewise.
9972 (reload_combine): Likewise.
9973 (reload_cse_move2add): Likewise.
9974 * reorg.c (redundant_insn): Use INSN_P.
9975 (dbr_schedule): Likewise.
9976 * resource.c (find_dead_or_set_registers): Use INSN_P.
9977 (mark_target_live_regs): Likewise.
9978 * rtlanal.c (reg_used_between_p): Use INSN_P.
9979 (reg_referenced_between_p): Likewise.
9980 (reg_set_between_p): Likewise.
9981 (reg_set_p): Likewise.
9982 (single_set): Likewise.
9983 (multiple_sets): Likewise.
9984 (find_last_value): Likewise.
9985 (reg_set_last): Likewise.
9986 (find_reg_note): Likewise.
9987 (find_regno_note): Likewise.
9988 * sibcall.c (sequence_uses_addressof): Use INSN_P.
9989 * simplify-rtx.c (cselib_process_insn): Use INSN_P.
9990 * ssa.c (find_evaluations): Use INSN_P.
9991 (rename_block): Likewise.
9992 (rename_equivalent_regs): Likewise.
9993 * unroll.c (loop_find_equiv_value): Use INSN_P.
9994 (set_dominates_use): Likewise.
9995 * varasm.c (mark_constant_pool): Use INSN_P.
9996 (mark_constants): Likewise.
9997 * config/alpha/alpha.c (alpha_does_function_need_gp): Use INSN_P.
9998 (alphaev4_next_group): Likewise.
9999 (alphaev5_next_group): Likewise.
10000 * config/c4x/c4x.c (c4x_process_after_reload): Use INSN_P.
10001 (c4x_rptb_rpts_p): Likewise.
10002 * config/mips/mips.c (mips16_optimize_gp): Use INSN_P.
10003 * config/rs6000/rs6000.c (uses_TOC): Use INSN_P.
10004 (rs6000_adjust_priority): Likewise.
10005 * config/sh/sh.c (sh_loop_align): Use INSN_P.
10006 (machine_dependent_reorg): Likewise.
10007 (split_branches): Likewise.
10008 * config/tahoe/tahoe.c (tahoe_cmp_check): Use INSN_P.
10009
10010 Fri Aug 4 11:43:49 2000 John Wehle (john@feith.com)
10011
10012 * combine.c (recog_for_combine): Remove the old notes
10013 prior to attempting to recognize the new pattern.
10014 (distribute_notes): Ignore REG_NONNEG notes.
10015
10016 2000-08-04 Chandrakala Chavva <cchavva@redhat.com>
10017
10018 * varasm.c (output_constructor): Add .align 0 for packed vars.
10019
10020 2000-08-04 J. David Anglin <dave@hiauly1.hia.nrc.ca>
10021
10022 * configure.in: Use default thread_file even when enable_threads is
10023 yes or dce because hpux10.20 pa port uses MULTILIB implementation.
10024 * configure: Rebuilt.
10025
10026 * gthr-dce.h (__gthread_objc_condition_allocate): Fix typo.
10027
10028 2000-08-04 Donn Terry (donnte@microsoft.com)
10029
10030 * prefix.c (translate_name): Don't strip trailing DIR_SEPARATOR.
10031
10032 2000-08-04 Mark Elbrecht <snowball3@bigfoot.com>
10033
10034 * i386/x-djgpp: Delete code that conditionally modifies target_alias.
10035 Delete code that conditionally modifies 'version'.
10036 Delete X_CPPFLAGS. Add comment for SYSTEM_HEADER_DIR.
10037 * i386/xm-djgpp.h (GCC_DRIVER_HOST_INITIALIZATION): New macro.
10038 * gcc.c (main): Use it.
10039 * config/i386/xm-djgpp.h (UPDATE_PATH_HOST_CANONICALIZE): New macro.
10040 * prefix.c (update_path): Use it.
10041 * i386/djgpp.h (STANDARD_INCLUDE_DIR): Define.
10042 (MD_EXEC_PREFIX): Set to '/dev/env/DJDIR/bin/'.
10043 (ASM_OUTPUT_SECTION_NAME): Add code attribute to sections containing
10044 code.
10045 (SUPPORTS_WEAK, SUPPORTS_ONE_ONLY): Default to true.
10046 (SUBTARGET_SWITCHES): Adjust.
10047 (WCHAR_UNSIGNED, WCHAR_TYPE_SIZE, WCHAR_TYPE): Undefine before
10048 defining.
10049 (WINT_TYPE, SIZE_TYPE, PTRDIFF_TYPE): Define.
10050
10051 2000-08-04 Joseph S. Myers <jsm28@cam.ac.uk>
10052
10053 * c-common.h (flag_isoc94): Declare.
10054 * c-decl.c (flag_isoc94): Define.
10055 (c_decode_option): Set flag_isoc94 as appropriate.
10056 * c-common.c (T_PD, T_IM, T_UIM): Define.
10057 (format_char_info): Add tlen and jlen.
10058 (print_char_table): Add entries for %t and %j. Allow %zn. Allow
10059 %F. Allow %lf.
10060 (scan_char_table): Add entries for %t and %j. Allow %F. Allow
10061 %l[.
10062 (time_char_table): Add NULL entries for %t and %j.
10063 (check_format_info): Allow for %t and %j. Warn for %F if pedantic
10064 and not C99. Warn for %lc, %ls and %l[ if pedantic and not C94.
10065 Warn for printf %lf if pedantic and not C99. Don't warn for empty
10066 precision. Allow precision argument to be unsigned int. If
10067 pedantic, warn for %p passed an argument not a pointer to possibly
10068 qualified void or a possibly qualified character type, and for
10069 pointer targets of the wrong sign, except for character pointers.
10070
10071 2000-08-04 Joseph S. Myers <jsm28@cam.ac.uk>
10072
10073 * ginclude/stddef.h: Don't declare wint_t unless __need_wint_t.
10074 * c-common.h (enum c_tree_index): Add CTI_WINT_TYPE.
10075 (wint_type_node): Define.
10076 * c-decl.c (WINT_TYPE): Define.
10077 (init_decl_processing): Create the wint_type_node type.
10078 * c-common.c (T_WI): Define.
10079 (print_char_table): Use T_WI for %lc format.
10080
10081 2000-08-04 Bruce Korb <bkorb@gnu.org>
10082
10083 * fixinc/: Verified that the MSDOS patch does not break
10084 the UNIX functionality and applied the next three patches
10085 from July:
10086
10087 2000-07-28 Eli Zaretskii <eliz@is.elta.co.il>
10088
10089 * fixinc/fixfixes.c (main) [__MSDOS__]: Avoid overwriting the
10090 output file with the temporary one by appending ".X" to generate
10091 the temporary fuile's name. If the output file already has an
10092 extension, replace it with ".X".
10093
10094 * fixinc/fixincl.c (fix_with_system) [__MSDOS__]: Use $ORIGDIR,
10095 not $DESTDIR, to find applyfix. Use sprintf instead of snprintf;
10096 reallocate the command buffer while copying the command-line
10097 argument. Redirect the output directly to the temporary file,
10098 instead of going through another temporary file.
10099 (process): Close the temporary file before unlinking it.
10100 (machine_matches) [__MSDOS__]: If the machine doesn't match, set
10101 the FD_SKIP_TEST flag. Pay attention to the FD_MACH_IFNOT flag.
10102 (run_compiles): Pass p_fixd argument to machine_matches, as it
10103 expects.
10104
10105 * fixinc/fixincl.sh: Export ORIGDIR. If $DJDIR is set in the
10106 environment, assume there are no symlinks in the include
10107 directory. When cleaning up the DONE files, look for them
10108 case-insensitively. Don't try to remove symlinks if they aren't
10109 there.
10110
10111 * fixinc/fixlib.c (make_raw_shell_str): Accept new argument smax;
10112 all callers changed. Declare pz "const char *", to avoid compiler
10113 warnings.
10114
10115 * fixinc/fixlib.h (ENV_TABLE): Get ORIGDIR from the environment.
10116 Change prototype of make_raw_shell_str.
10117
10118 2000-07-27 Eli Zaretskii <eliz@is.elta.co.il>
10119
10120 * fixinc/fixincl.c [__MSDOS__]: Don't include "server.h".
10121 (initialize) [__MSDOS__]: Use tempnam.
10122 (initialize): Don't use SIGPIPE if it is not defined.
10123
10124 * fixinc/fixfixes.c (main) [__MSDOS__]: freopen for stdout should
10125 return stdout.
10126
10127 2000-07-25 Bruce Korb <bkorb@gnu.org>
10128
10129 * fixinc/fix*.[ch]: substantially reworked to make it possible
10130 to run this program without using fork(2) or pipe(2) (i.e. in
10131 a DOS environment).
10132
10133 2000-08-04 Joseph S. Myers <jsm28@cam.ac.uk>
10134
10135 * cppdefault.h (WINT_TYPE): Define.
10136 * cppinit.c (builtin_array): Define __WINT_TYPE__.
10137 * tradcpp.c (initialize_builtins): Define __WINT_TYPE__.
10138 * tm.texi (NO_BUILTIN_WINT_TYPE, WINT_TYPE): Document.
10139
10140 Fri Aug 4 06:53:46 2000 Clinton Popetz <cpopetz@cygnus.com>
10141
10142 * (mips_legitimate_address_p): Don't allow register+offset
10143 if the offset is large and negative, and we are compiling
10144 for 64 bit registers.
10145
10146 2000-08-04 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
10147
10148 * gencodes.c (main): Define CODE_FOR_nothing as the last possible
10149 insn_code_number + 1.
10150
10151 2000-08-04 Kazu Hirata <kazu@hxi.com>
10152
10153 * h8300.c (function_prologue): Rearrange code for conciseness.
10154 (function_epilogue): Likewise.
10155 * h8300.h (OK_FOR_U): Fix formatting.
10156
10157 * cse.c: Fix a comment typo. Fix formatting.
10158
10159 2000-08-03 Richard Henderson <rth@cygnus.com>
10160
10161 * config/i386/i386.md (return_indirect_internal): New.
10162 * config/i386/i386.c (ix86_expand_epilogue): Use it.
10163
10164 2000-08-03 Zack Weinberg <zack@wolery.cumb.org>
10165
10166 * cpplex.c (parse_name): Might have to glue a CPP_OTHER token
10167 before the name.
10168 (lex_line): Glue @ onto the beginning of identifiers and
10169 string constants, in Objective-C mode.
10170 (output_token, spell_token): Handle CPP_OSTRING.
10171 (can_paste, maybe_paste_with_next): Handle pasting @ onto the
10172 beginning of a NAME or a STRING, in objc mode.
10173
10174 * cpplib.c (get_define_node): Do not permit identifiers that
10175 begin with @ to be #defined.
10176 * cppmacro.c (CAN_PASTE_AFTER): Add CPP_OTHER.
10177 * cpplib.h (TTYPE_TABLE): Add CPP_OSTRING.
10178
10179 * c-lang.c, objc/objc-act.c (build_objc_string): Delete.
10180 * c-tree.h (build_objc_string): Delete prototype.
10181 * objc/objc-tree.def: Delete OBJC_STRING_CST.
10182 * c-lex.c (yylex): Use build_string for all three kinds of strings.
10183
10184 * c-parse.in, objc/objc-act.c: Update commentary.
10185
10186 2000-08-03 Mark Mitchell <mark@codesourcery.com>
10187
10188 * extend.texi: Fix typo in last change.
10189
10190 * extend.texi: Add commentary on statement-expressions and their
10191 interactions with C++.
10192
10193 2000-08-03 Nick Clifton <nickc@cygnus.com>
10194
10195 * dwarf2.h (DW_LANG_Java): Change value to 0x000b.
10196 * dwarf.h (LANG_JAVA): Change value to 0x000b.
10197
10198 2000-08-03 Anthony Green <green@cygnus.com>
10199
10200 * dwarf2out.c (gen_compile_unit_die): Add java language support.
10201 (add_bound_info): Check for java language.
10202 (is_java): New function.
10203 * dwarfout.c (output_compile_unit_die): Ditto.
10204 * dwarf.h (dwarf_source_language): Add java source language type.
10205 * dwarf2.h (dwarf_source_language): Ditto.
10206
10207 Thu Aug 3 20:32:25 MET DST 2000 Jan Hubicka <jh@suse.cz>
10208
10209 * reg-stack.c (subst_stack_regs_pat): Use replace_reg to swap
10210 operands.
10211
10212 * i386.c (ix86_expand_branch): Mode of comparison in
10213 IF_THEN_ELSE is VOIDmode.
10214
10215 Thu Aug 3 10:05:53 2000 Akiko Matsushita <matusita@sra.co.jp>
10216
10217 * gengenrtl.c, rtl.c: Avoid #elif.
10218
10219 2000-08-03 Michael Poole <poole@troilus.org>
10220
10221 * tm.texi (Register Classes): Clarify order of sub-initializers
10222 in REG_CLASS_CONTENTS.
10223
10224 Thu Aug 3 15:53:03 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
10225
10226 From SAITOH Masanobu:
10227 * sh.h (ASM_OUTPUT_REG_PUSH): Fix syntax.
10228
10229 2000-08-03 David Billinghurst <David.Billinghurst@riotinto.com.au>
10230
10231 * config/i386/cygwin.h: Remove -remap from CPP_SPEC since this option
10232 is not supported by tradcpp and isn't actually needed for cygwin.
10233
10234 2000-08-03 Kazu Hirata <kazu@hxi.com>
10235
10236 * h8300.c: Fix a comment typo.
10237 * h8300.h (OK_FOR_U): Accept a 32-bit constant address on H8/S.
10238
10239 * jump.c: Fix formatting.
10240
10241 * toplev.c: Fix formatting.
10242
10243 Thu Aug 3 01:05:32 2000 Jeffrey A Law (law@cygnus.com)
10244
10245 * flow.c (find_auto_inc): Verify that we've got a REG before
10246 peeking at its regno. Fail, don't abort if we can't find
10247 the increment of the desired register.
10248
10249 * pa.md (shadd height reduction patterns/splitters): Remove.
10250
10251 2000-08-02 Jim Wilson <wilson@cygnus.com>
10252
10253 * config/ia64/ia64-protos.h (flag_ssa): Declare.
10254 * config/ia64/ia64.md (movti_internal, movti_internal+1): New.
10255
10256 2000-08-02 Mark Mitchell <mark@codesourcery.com>
10257
10258 * dce.c: Remove all uses of assert.
10259 * dwarf2out.c: Likewise.
10260 * dwarfout.c: Likewise.
10261 * ssa.c: Likewise.
10262
10263 2000-08-02 Zack Weinberg <zack@wolery.cumb.org>
10264
10265 * gcc.h (lang_specific_driver): Constify second argument.
10266 * gcc.c (translate_options, process_command, main): Likewise.
10267 Constify variables to match. Cast second argument to
10268 pexecute.
10269
10270 * cppspec.c, gccspec.c: Adjust type of second argument to
10271 lang_specific_driver, and update code as necessary.
10272
10273 2000-08-02 Jakub Jelinek <jakub@redhat.com>
10274
10275 * loop.c (scan_loop): Ensure update_end label does not
10276 go away until reg_scan_update is run.
10277
10278 2000-08-02 Zack Weinberg <zack@wolery.cumb.org>
10279
10280 * c-common.h: Prototype min_precision and c_build_qualified_type here...
10281 * c-tree.h: ... not here.
10282 * errors.h: Prototype fancy_abort.
10283
10284 * emit-rtl.c (gen_lowpart_common): Move variable 'c' into
10285 HOST_BITS_PER_WIDE_INT == 64 ifdef block.
10286 * regrename.c (regrename_optimize): Make control flow explicit.
10287 (replace_reg_in_block): Initialize reg_use to 0.
10288
10289 * i386.c (legitimate_address_p): Rename error label to
10290 report_error to avoid namespace clash.
10291
10292 2000-08-02 Kazu Hirata <kazu@hxi.com>
10293
10294 * fold-const.c: Fix formatting.
10295
10296 Wed Aug 2 16:26:15 MET DST 2000 Jan Hubicka <jh@suse.cz>
10297
10298 * i386.c (legitimate_address_p): Accept other bases than
10299 pic_offset_table_rtx for GOTOFF constructs.
10300
10301 Wed Aug 2 15:59:34 MET DST 2000 Jan Hubicka <jh@suse.cz>
10302
10303 * i386.md (shift to lea splitter): Use const_int_operand.
10304
10305 2000-08-02 Zack Weinberg <zack@wolery.cumb.org>
10306
10307 * cppexp.c, cppinit.c, cpplex.c, cpplib.c, cppmacro.c,
10308 cppspec.c: Do not use 'legal' or 'illegal' in error messages
10309 and comments.
10310
10311 * cppmain.c (cb_define, cb_undef): Don't generate any output
10312 if not done_initializing.
10313 * cpplex.c (maybe_paste_with_next): When the token after a ##
10314 is an omitted rest argument, only delete the token before it
10315 if that token is a comma. Do not warn about bogus token
10316 pastes for , ## rest_arg.
10317
10318 * cpp.texi: Update.
10319 * cpp.1: Regenerate.
10320
10321 2000-08-02 Fred Fish <fnf@be.com>
10322
10323 * config/i386/beos-elf.h (STARTFILE_SPEC): Add i386-mcount.o
10324 when user gives -p option. Add init_term_dyn.o for BeOS 5.0
10325 and later.
10326
10327 * config/i386/beos-elf.h (INCLUDE_DEFAULTS): Add additional
10328 Be directories to search path.
10329
10330 Remove support for __declspec(dllimport) and __declspec(dllexport).
10331 This is leftover cruft from the earlier BeOS gcc port when BeOS
10332 used Microsoft's PE object file format.
10333 * configure.in (i*86-*-beoself): Remove extra_objs=winnt.o.
10334 * config/i386/t-beos (winnt.o): Remove Makefile frag.
10335 * config/i386/beos-elf.h (TARGET_NOP_FUN_DLLIMPORT): Remove.
10336 (VALID_MACHINE_DECL_ATTRIBUTE): Remove.
10337 (VALID_MACHINE_TYPE_ATTRIBUTE): Remove.
10338 (MERGE_MACHINE_DECL_ATTRIBUTES): Remove.
10339 (REDO_SECTION_INFO_P): Remove.
10340 (ASM_EXPORT_DECL): Remove.
10341 (ASM_DECLARE_FUNCTION_NAME): Remove.
10342 (ASM_DECLARE_OBJECT_NAME): Remove.
10343 (ASM_OUTPUT_ALIGNED_COMMON): Remove.
10344 (ASM_OUTPUT_ALIGNED_DECL_COMMON): Remove.
10345 (ASM_OUTPUT_ALIGNED_LOCAL): Remove.
10346 (STRIP_NAME_ENCODING): Remove.
10347
10348 Remove support for obsolete version of BeOS that is no longer
10349 supported by Be.
10350 * configure.in (i*86-*-beospe*): Remove.
10351 * config/i386/beos-pe.h: Remove.
10352
10353 2000-08-01 Jeffrey Oldham <oldham@codesourcery.com>
10354 Mark Mitchell <mark@codesourcery.com>
10355
10356 * Makefile.in (OBJS): Added dce.o.
10357 (ssa.o): Updated target to include ssa.h.
10358 (flow.o): Likewise.
10359 (toplev.o): Likewise.
10360 (dce.o): Created target.
10361 * basic-block.h: Added comments.
10362 (INVALID_BLOCK): Added definition.
10363 (connect_infinite_loops_to_exit): Added declaration.
10364 Moved SSA declarations to ssa.h.
10365 * flow.c: Added inclusion of ssa.h.
10366 (struct depth_first_search_dsS, depth_first_search_ds):
10367 Added definitions.
10368 (compute_immediate_postdominators): Added definition.
10369 (connect_infinite_loops_to_exit): Likewise.
10370 (flow_dfs_compute_reverse_init): Likewise.
10371 (flow_dfs_compute_reverse_add_bb): Likewise.
10372 (flow_dfs_compute_reverse_execute): Likewise.
10373 (flow_dfs_compute_reverse_finish): Likewise.
10374 * rtl.h (rtx/in_struct): Added use to determine insn necessity.
10375 (LABEL_P): Added definition.
10376 (JUMP_P): Likewise.
10377 (NOTE_P): Likewise.
10378 (BARRIER_P): Likewise.
10379 (JUMP_TABLE_DATA_P): Likewise.
10380 (INSN_DEAD_CODE_P): Likewise.
10381 * ssa.c: Replaced inclusions with ssa.h inclusion.
10382 (CONVERT_HARD_REGISTER_TO_SSA_P): Moved to ssa.h.
10383 (rename_registers): Removed unnecessary variables.
10384 * ssa.h: Created by moving declarations from ssa.c and
10385 basic-block.h.
10386 * timevar.def: Defined TV_DEAD_CODE_ELIM.
10387 * toplev.c: Added ssa.h inclusion.
10388 (dump_file_index): Added DFI_dce.
10389 (dump_file): Added "dce" entry.
10390 Defined flag_ssa.
10391 (f_options): Added dce entry.
10392 * invoke.texi: Document -fdce. Emphasize experimental status of
10393 -fssa.
10394 * dce.c: New file.
10395
10396 2000-08-01 Zack Weinberg <zack@wolery.cumb.org>
10397
10398 * cpperror.c (v_message): Split into _cpp_begin_message and
10399 v_message macro. All callers updated.
10400 (_cpp_begin_message): Do inhibit_errors/inhibit_warnings
10401 checks here.
10402
10403 * cppfiles.c (cpp_syshdr_flags): New function.
10404 (read_include_file): Don't call cpp_output_tokens. Call
10405 enter_file hook.
10406 * cppinit.c (dump_macros_helper): Moved to cppmain.c.
10407 (cpp_reader_init): Don't initialize token_buffer. Call
10408 _cpp_init_internal_pragmas.
10409 (cpp_cleanup): Don't clear token_buffer.
10410 (cpp_start_read): Don't worry about output from -D processing.
10411 Don't call cpp_output_tokens.
10412 (cpp_finish): Don't dump macros here. Don't call
10413 cpp_output_tokens.
10414 * cppmacro.c (_cpp_dump_definition): Rename
10415 cpp_dump_definition. Write directly to a FILE *.
10416 (dump_funlike_macro): Delete.
10417 (dump_macro_args): New.
10418
10419 * cpplex.c (TOKEN_LEN): Convert to inline function.
10420 (_cpp_grow_token_buffer, safe_fwrite, cpp_output_tokens,
10421 cpp_scan_line, _cpp_dump_list): Delete.
10422 (cpp_printf, cpp_output_list): New.
10423 (output_line_command): Don't worry about entering or leaving files.
10424 (cpp_scan_buffer): Just output each token as we hit it.
10425 (process_directive): Don't call cpp_output_tokens.
10426 (_cpp_glue_header_name): Don't use token_buffer.
10427 (output_token, dump_param_spelling): Write directly to a FILE *.
10428
10429 * cpplib.c (pass_thru_directive, dump_macro_name,
10430 pragma_dispatch, do_pragma_gcc): Delete.
10431 (do_define, do_undef, parse_include, do_line, do_ident, do_pragma,
10432 do_pragma_poison, cpp_pop_buffer): Call the appropriate hook
10433 functions.
10434 (do_error, do_warning, pragma_dependency): Call
10435 _cpp_begin_message, then cpp_output_list.
10436 (cpp_register_pragma, cpp_register_pragma_space,
10437 _cpp_init_internal_pragmas): New.
10438 (do_pragma): Walk the pragmas table here.
10439 (do_pragma_once, do_pragma_poison, do_pragma_system_header,
10440 do_pragma_dependency): Return void.
10441 (do_pragma_implementation): Moved to cppmain.c.
10442
10443 * cpplib.h: Update prototypes.
10444 (struct cpp_reader): Remove printer, token_buffer,
10445 token_buffer_size, and limit. Add struct cb, and pragmas.
10446 (struct cpp_printer): Remove last_id and written.
10447 (CPP_WRITTEN, CPP_PWRITTEN, CPP_SET_WRITTEN,
10448 CPP_ADJUST_WRITTEN): Delete.
10449 * cpphash.h: Update prototypes.
10450 (ufputs): New wrapper.
10451
10452 * cppmain.c (cb_define, cb_undef, cb_include, cb_ident,
10453 cb_enter_file, cb_leave_file, cb_def_pragma): New functions.
10454 (main): Set up callbacks. Register #pragma implementation.
10455 Dump macros from here.
10456
10457 2000-08-01 Geoff Keating <geoffk@cygnus.com>
10458
10459 * rtl.h (enum reg_note): Add REG_MAYBE_DEAD.
10460 * rtl.c (reg_note_name): Add REG_MAYBE_DEAD.
10461 * flow.c (propagate_one_insn): Allow deletion of prologue/epilogue
10462 insns if they have a REG_MAYBE_DEAD note attached.
10463 * config/rs6000/rs6000.c (rs6000_maybe_dead): New function.
10464 (rs6000_emit_load_toc_table): TOC loads may go dead.
10465
10466 2000-08-01 Jim Wilson <wilson@cygnus.com>
10467
10468 * config/ia64/ia64.c (ia64_function_arg): Fix last change. Verify
10469 type exists before using it. Use number of words as alignment
10470 otherwise.
10471 (ia64_function_arg_partial_nregs, ia64_function_arg_advance,
10472 ia64_va_arg): Propagate ia64_function_args changes here.
10473
10474 2000-08-01 Richard Henderson <rth@cygnus.com>
10475
10476 * config/elfos.h (ASM_DECLARE_OBJECT_NAME): Care for null DECL.
10477 * config/ia64/sysv4.h (ASM_OUTPUT_ALIGNED_DECL_LOCAL): Likewise.
10478
10479 2000-08-01 Bernd Schmidt <bernds@cygnus.co.uk>
10480
10481 From Joern Rennecke:
10482 * sh.h (CPP_SPEC, TARGET_SWITCHES): Add m4-nofpu.
10483 * sh.md (udivsi3, divsi3): Don't use libcalls that use the FPU
10484 unless TARGET_SH3E is set.
10485 * t-sh (MULTILIB_MATCHES): Add m2=m4-nofpu.
10486
10487 * sh.md (ashlsi3_d, ashlsi3_k): Remove, replace with
10488 (ashlsi3_std): New pattern.
10489 (ashlsi3 expander): Use it for TARGET_SH3.
10490 * sh.c (gen_ashift): Use it instead of ashlsi3_k.
10491
10492 Tue Aug 1 12:34:21 MET DST 2000 Jan Hubicka <jh@suse.cz>
10493
10494 * loop.c (canonicalize_condition): Use destination, not source to
10495 determine SET's mode.
10496
10497 2000-07-31 Mark Mitchell <mark@codesourcery.com>
10498
10499 * flow.c (clear_log_links): Fix typo.
10500
10501 Mon Jul 31 22:19:24 2000 Jeffrey A Law (law@cygnus.com)
10502
10503 * loop.c (check_dbra_loop): Make change from July 17, 2000 work
10504 on targets which need more than one insn for a compare/cbranch
10505 operation.
10506
10507 2000-07-31 Jim Wilson <wilson@cygnus.com>
10508
10509 * config/ia64/ia64.c (ia64_function_arg): Use alignment not size
10510 when computing offset.
10511
10512 Mon Jul 31 20:35:50 2000 Denis Chertykov <denisc@overta.ru>
10513
10514 * genpeep.c (main): Handle DEFINE_PEEPHOLE2.
10515
10516 2000-07-31 Geoff Keating <geoffk@cygnus.com>
10517
10518 * flow.c (clear_log_links): Nuke global_live_at_start and
10519 global_live_at_end data, since if the log_links stuff is invalid
10520 so is global_live_at_*.
10521
10522 2000-07-31 Richard Henderson <rth@cygnus.com>
10523
10524 * tm.texi (Addressing Modes): Clarify PRE/POST_MODIFY descriptions.
10525
10526 2000-07-31 Jakub Jelinek <jakub@redhat.com>
10527
10528 * cpplex.c (_cpp_get_line): If index is 0, return line 0 col 0.
10529 (_cpp_get_token): Don't macro expand a just pasted token if it
10530 was pasted at no_expand_level.
10531
10532 2000-07-31 Zack Weinberg <zack@wolery.cumb.org>
10533
10534 * cppmacro.c (find_param, count_params, save_expansion):
10535 Permit 'defined' as a macro parameter name.
10536
10537 2000-07-31 Zack Weinberg <zack@wolery.cumb.org>
10538
10539 * Makefile.in: Rename cpp to cpp0, tradcpp to tradcpp0, and
10540 xcpp to cpp throughout.
10541 (native): Remove unnecessary dependency on cpp.
10542
10543 * gcc.c (trad_capable_cpp, C specs): Rename cpp to cpp,
10544 tradcpp to tradcpp0.
10545 (.i spec): Add missing output-file spec to cc1 command line.
10546 * objc/lang-specs.h: Rename cpp to cpp0 and/or tradcpp to tradcpp0.
10547
10548 2000-07-31 Zack Weinberg <zack@wolery.cumb.org>
10549
10550 * c-decl.c (mesg_implicit_function_declaration): Init to -1.
10551 (implicit_decl_warning): New function.
10552 (implicitly_declare): Use it.
10553 * c-typeck.c (build_external_ref): Use implicit_decl_warning
10554 to complain about implicit decls of builtins.
10555
10556 * c-lang.c (lang_init): Set mesg_implicit_function_declaration
10557 based on pedantic && flag_isoc99, if not already set.
10558 * c-tree.h: Declare mesg_implicit_function_declaration.
10559 Prototype implicit_decl_warning.
10560
10561 2000-07-30 Jeffrey D. Oldham <oldham@codesourcery.com>
10562
10563 * Makefile.in (ssa.o): Updated header files in dependences.
10564 * basic-block.h: Added compute_immediate_postdominators declaration.
10565 * config/i386/i386.h (CONVERT_HARD_REGISTER_TO_SSA_P): Added
10566 definition.
10567 * flow.c (compute_immediate_dominators): Updated comment.
10568 (compute_immediate_postdominators): Added definition.
10569 * rtl.h (HARD_REGISTER_P): Added definition.
10570 * ssa.c: Include additional header files.
10571 (assert): Added definition.
10572 (ssa_rename_to_lookup): Added to reimplement ssa_rename_to to
10573 include select hard registers.
10574 (ssa_rename_to_insert): Likewise.
10575 (ssa_rename_from_initialize): Likewise.
10576 (ssa_rename_from_lookup): Likewise.
10577 (original_register): Likewise.
10578 (ssa_rename_from_insert): Added to reimplement ssa_rename_from to
10579 include select hard reigsters.
10580 (ssa_rename_from_traverse): Likewise.
10581 (ssa_rename_from_free): Likewise.
10582 (ssa_rename_from_print): Likewise.
10583 (ssa_rename_from_print_1): Likewise.
10584 (ssa_rename_from_hash_function): Likewise.
10585 (ssa_rename_from_equal): Likewise.
10586 (ssa_rename_from_delete): Likewise.
10587 (simplify_to_immediate_dominators): Removed in favor of
10588 flow.c:compute_immediate_dominators.
10589 (find_evaluations_1): Modified to work with hard registers.
10590 (insert_phi_node): Likewise.
10591 (insert_phi_nodes): Likewise.
10592 (struct rename_set_data): Updated prev_reg comment.
10593 (create_delayed_rename): Modified to work with hard registers.
10594 (RENAME_NO_RTX): Updated comment.
10595 (apply_delayed_renames): Modified to work with hard registers.
10596 (rename_insn_1): Likewise and added handling of CLOBBER rtls.
10597 (rename_block): Updated to use revised ssa_rename_to interface.
10598 (rename_registers): Updated to use revised ssa_rename_to and
10599 ssa_rename_from interface.
10600 (convert_to_ssa): Revised to use compute_immediate_dominators and
10601 deal with hard registers.
10602 (make_regs_equivalent_over_bad_edges): Modified to work with hard
10603 registers. Added check for illegal unification of hard register.
10604 (make_equivalent_phi_alternatives_equivalent): Modified to work
10605 with hard registers.
10606 (compute_conservative_reg_partition): Likewise.
10607 (coalesce_if_unconflicting): Modified to work with hard registers
10608 and check for conflicting hard registers.
10609 (mark_phi_and_copy_regs): Revised loop to work only on pseudo
10610 registers.
10611 (rename_equivalent_regs_in_insn): Modified to work with hard
10612 registers.
10613 (record_canonical_element_1): Added definition.
10614 (check_hard_regs_in_partition): Added definition.
10615 (convert_from_ssa): Added data structure deallocation and check
10616 for illegal hard register unification.
10617 (conflict_hard_regs_p): Added definition.
10618 * toplev.c (rest_of_compilation): Added comment.
10619
10620 2000-07-31 Anthony Green <green@redhat.com>
10621
10622 * config/ia64/crtbegin.asm (__EH_FRAME_BEGIN__): Align correctly.
10623
10624 2000-07-31 Jason McMullan <jmcmullan@linuxcare.com>
10625
10626 * builtins.c (expand_builtin_apply): Don't defer pop during
10627 argument setup.
10628
10629 2000-07-31 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
10630
10631 * calls.c (combine_pending_stack_adjustment_and_call): Only use
10632 preferred_unit_stack_boundary when it is > 1.
10633
10634 2000-07-31 Joseph S. Myers <jsm28@cam.ac.uk>
10635
10636 * c-common.c (init_function_format_info): Add C99 format functions
10637 in C99 mode.
10638
10639 * c-decl.c (get_parm_info): Don't treat 'const void', 'volatile
10640 void' or 'register void' as being the special case of 'void' alone
10641 in a parameter list.
10642
10643 * c-typeck.c (build_c_cast): Change -Wcast-qual pedwarn for
10644 discarding qualifiers into a plain warning.
10645
10646 2000-07-31 Kazu Hirata <kazu@hxi.com>
10647
10648 * combine.c: Fix formatting.
10649
10650 * h8300.md: Fix formatting.
10651
10652 * local-alloc.c: Fix formatting.
10653
10654 * h8300.c (get_shift_alg): Remove the variable alg.
10655 (emit_a_shift): Rearrange code to improve readability.
10656
10657 * h8300.md (movsi_h8300hs): Rearrange code to improve readability.
10658
10659 * h8300.h (MODES_TIEABLE_P): Accept a combination of QImode and
10660 HImode on all architectures and a combination of HImode and SImode
10661 on H8/300H and H8/S.
10662
10663 * h8300.c (split_adds_subs): Rearrange code for conciseness.
10664
10665 Mon Jul 31 12:27:55 MET DST 2000 Jan Hubicka <jh@suse.cz>
10666
10667 * i386.md (addsi to lea splitter, ashlqi3_1_lea): Fix bugs
10668 in my last checkin.
10669
10670 Mon Jul 31 10:41:01 MET DST 2000 Jan Hubicka <jh@suse.cz>
10671
10672 * recog.c (extract_insn): Set operand_mode according to
10673 operand if match_operand is VOIDmode.
10674
10675 Mon Jul 31 10:36:38 MET DST 2000 Jan Hubicka <jh@suse.cz>
10676
10677 * recog.c (validate_replace_rtx_1): Do not abort for (nil) expression.
10678
10679 2000-07-31 Geoff Keating <geoffk@cygnus.com>
10680
10681 * c-parse.in (extdefs): Call ggc_collect between external
10682 definitions.
10683
10684 2000-07-30 Michael Hayes <mhayes@cygnus.com>
10685 Richard Henderson <rth@cygnus.com>
10686
10687 * Makefile.in (OBJS): Add doloop.o.
10688 * doloop.c: New file.
10689
10690 * final.c (insn_current_reference_address): Return 0 before final.
10691 * flags.h (flag_branch_on_count_reg): Fix typos in commentary.
10692 * jump.c (any_uncondjump_p): Likewise.
10693 * loop.c (indirect_jump_in_function): Make static.
10694 (strength_reduce): Call doloop_optimize.
10695 (insert_bct, instrument_loop_bct): Remove.
10696 * loop.h (doloop_optimize): Prototype.
10697 * recog.c (split_all_insns): Split all INSN_P.
10698 * toplev.c (flag_branch_on_count_reg): Default on.
10699
10700 * config/c4x/c4x.c (c4x_optimization_options): Don't set
10701 flag_branch_on_count_reg.
10702 * config/i386/i386.c (override_options): Likewise.
10703 * config/rs6000/rs6000.c (optimization_options): Likewise.
10704
10705 * config/i386/i386.md (decrement_and_branch_on_count): Remove.
10706 (doloop_end): New.
10707 (dbra_ge): Remove, as well as all it's splitters.
10708
10709 * config/rs6000/rs6000.md (decrement_and_branch_on_count): Remove.
10710 (doloop_end): New.
10711
10712 * config/ia64/ia64-protos.h (ar_lc_reg_operand): Declare.
10713 (ia64_register_move_cost): Declare.
10714 * config/ia64/ia64.c (ar_lc_reg_operand): New.
10715 (struct ia64_frame_info): Add ar_size.
10716 (ia64_compute_frame_size): Set it.
10717 (save_restore_insns): Save and restore ar.lc.
10718 (ia64_register_move_cost): New, moved from header file. Handle
10719 application registers.
10720 (REG_AR_PFS, REG_AR_EC): Remove. Replace with AR_*_REGNUM numbers.
10721 (emit_insn_group_barriers): Special case doloop_end_internal.
10722 (ia64_epilogue_uses): Mark ar.lc live at end.
10723 * config/ia64/ia64.h (AR_CCV_REGNUM, AR_LC_REGNUM): New registers.
10724 (AR_EC_REGNUM, AR_PFS_REGNUM): New registers.
10725 (FIRST_PSEUDO_REGISTER): Make room.
10726 (AR_M_REGNO_P, AR_I_REGNO_P, AR_REGNO_P): New.
10727 (FIXED_REGISTERS, CALL_USED_REGISTERS): Update.
10728 (REG_ALLOC_ORDER): Update.
10729 (HARD_REGNO_MODE_OK): Update.
10730 (REGISTER_NAMES): Update.
10731 (enum reg_class): Add AR_M_REGS and AR_I_REGS.
10732 (REG_CLASS_NAMES, REG_CLASS_CONTENTS): Update.
10733 (REGNO_REG_CLASS): Update.
10734 (LEGITIMATE_ADDRESS_DISP): Displacement range is 9 bits, not 10.
10735 (REGISTER_MOVE_COST): Move out of line.
10736 (PREDICATE_CODES): Update.
10737 * config/ia64/ia64.md (movdi patterns): Handle ar register classes.
10738 (addsi3_plus1_alt, adddi3_plus1_alt): New.
10739 (shladd_elim splitter): Allow constants in the predicate.
10740 (doloop_end, doloop_end_internal): New.
10741
10742 2000-07-30 Richard Henderson <rth@cygnus.com>
10743
10744 * genattrtab.c (struct insn_def): Add lineno member.
10745 (struct insn_ent): Likewise.
10746 (struct attr_desc): Likewise.
10747 (struct delay_desc): Likewise.
10748 (struct function_unit_op): Likewise.
10749 (struct function_unit): Likewise.
10750 (check_attr_value): Use message_with_line.
10751 (check_defs): Likewise.
10752 (expand_units): Likewise.
10753 (check_attr_test): Take a lineno argument.
10754 (gen_attr): Likewise.
10755 (gen_insn): Likewise.
10756 (gen_delay): Likewise.
10757 (gen_unit): Likewise.
10758 (main): Give it to them.
10759 (convert_set_attr_alternative): Take an insn_def argument
10760 instead of num_alt and insn_index.
10761 (convert_set_attr): Likewise.
10762 (write_test_expr): Protect INSN_ADDRESSES load
10763 with INSN_ADDRESSES_SET_P.
10764
10765 2000-07-30 Richard Henderson <rth@cygnus.com>
10766
10767 * flow.c (init_propagate_block_info): Use pc_set.
10768
10769 Sun Jul 30 20:58:34 MET DST 2000 Jan Hubicka <jh@suse.cz>
10770
10771 * i386.md (*lea_general_[123]) New insns and splits.
10772 (addsi3 to lea splitter): Handle other modes too.
10773 (shlsi3 to lea splitter): Likewise.
10774 (addhi_1_lea, shlhi_1_lea): New patterns.
10775 (addhi_1, shlhi_1): Conditionize by PARTIAL_REG_STALL.
10776
10777 Sun Jul 30 20:51:25 MET DST 2000 Jan Hubicka <jh@suse.cz>
10778
10779 * recog.c (general_operand, nonimmediate_operand): Accept
10780 any mode for VOIDmode CONSTANT_P operands.
10781
10782 Sun Jul 30 20:42:21 MET DST 2000 Jan Hubicka <jh@suse.cz>
10783
10784 * gcse.c (try_replace_reg): Use validate_replace_rtx_subexp
10785 instead of replace_rtx.
10786 * recog.c (validate_replace_rtx_subexp): New function.
10787 * recog.h (validate_replace_rtx_subexp): Declare.
10788
10789 Sun Jul 30 20:38:26 MET DST 2000 Jan Hubicka <jh@suse.cz>
10790
10791 * combine.c (simplify_set, make_extraction, make_compound_operation
10792 make_field_assignment): Use full mask instead of GET_MODE_MASK (mode)
10793 as force_to_mode argument.
10794
10795 Sun Jul 30 20:30:41 MET DST 2000 Jan Hubicka <jh@suse.cz>
10796
10797 * combine.c (if_then_else_cond): Be sure that mode fits in
10798 HOST_WIDE_INT.
10799
10800 Sun Jul 30 20:27:36 MET DST 2000 Jan Hubicka <jh@suse.cz>
10801
10802 * combine.c (record_promoted_value): Allow bitsize of mode
10803 to be equivalent to HOST_BITS_PER_WISE_INT.
10804
10805 Sun Jul 30 20:25:21 MET DST 2000 Jan Hubicka <jh@suse.cz>
10806
10807 * function.c (assign_stack_local_1, assign_stack_temp_for_type):
10808 Do not call gen_mode_alignment when mode is BLKmode.
10809
10810 Sun Jul 30 20:21:54 MET DST 2000 Jan Hubicka <jh@suse.cz>
10811
10812 * loop.c (express_from_1): Fix call of simplify_gen_binary.
10813
10814 Sun Jul 30 20:08:37 MET DST 2000 Jan Hubicka <jh@suse.cz>
10815
10816 * simplify-rtx.c (simplify_relational_operation): Verify that mode ==
10817 VOIDmode implies both operands to be VOIDmode.
10818 (simplify_ternary_operation): Compute properly the mode of comparison.
10819 * combine.c (combine_simplify_rtx): Likewise.
10820
10821 2000-07-25 Michael Hayes <mph@paradise.net.nz>
10822
10823 * basic-block.h (struct loops): New field rc_order.
10824 * flow.c (flow_loops_cfg_dump): Dump rc_order if computed.
10825 (flow_loops_free): Free rc_order.
10826 (flow_depth_first_order_compute): New parameter rc_order.
10827 (flow_loops_find): Allocate rc_order and swap usage with
10828 dfs_order.
10829
10830 2000-07-30 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
10831 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
10832
10833 * config/c4x/c4x.md (set_ldp_prologue): Add for RTL prologue/epilogue.
10834 (push_st, push_dp, pop_st, pop_dp, popqi_unspec): Likewise.
10835 (nodb_call, return_from_epilogue): Likewise.
10836 (return_from_interrupt_epilogue, prologue, epilogue): Likewise.
10837 * config/c4x/c4x.c (c4x_expand_prologue, c4x_expand_eplilogue): Add.
10838 * config/c4x/c4x-protos.h (c4x_interrupt_function_p): Add.
10839 (c4x_expand_prologue, c4x_expand_epilogue): Likewise.
10840 (c4x_valid_type_attribute_p): Likewise.
10841 * config/c4x/c4x.h (FUNCTION_PROLOGUE, FUNCTION_EPILOGUE): Delete.
10842 (FUNCTION_BLOCK_PROFILER_EXIT): Convert to emit RTL.
10843
10844 2000-07-30 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
10845
10846 * config/c4x/c4x.c (c4x_emit_move_sequence): Use loadqi_big_constant
10847 and loadhi_big_constant if applicable.
10848 * config/c4x/c4x.md (loadqi_big_constant, loadhi_big_constant): Tweak
10849 and add new splitter.s
10850
10851 2000-07-30 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
10852
10853 * config/c4x/c4x.c (c4x_rptb_insert): Make more robust.
10854
10855 2000-07-30 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
10856
10857 * config/c4x/c4x.h (ASM_FORMAT_PRIVATE_NAME): Output $ in label.
10858
10859 2000-07-30 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
10860
10861 * config/c4x/c4x.h (IS_XXX_REGNO): Rewrite to avoid unsigned warnings.
10862
10863 2000-07-30 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
10864
10865 * config/c4x/libgcc.S (divqf3): Improve accuracy.
10866
10867 2000-07-27 Mark Mitchell <mark@codesourcery.com>
10868
10869 Put phi nodes after NOTE_INSN_BASIC_BLOCK.
10870 * rtl.h (NOTE_INSN_BASIC_BLOCK_P): New macro.
10871 * bb-reorder.c (get_next_bb_note): Use NOTE_INSN_BASIC_BLOCK_P.
10872 (get_prev_bb_note): Likewise.
10873 (remove_scope_notes): Likewise.
10874 * flow.c (commit_one_edge_insertion): Likewise.
10875 (merge_blocks_nomove): Likewise.
10876 (verify_flow_info): Likewise.
10877 * gcse.c (insert_insn_end_bb): Likewise.
10878 * reg-stack.c (emit_swap_insn): Likewise.
10879 * ssa.c (first_insn_after_basic_block_note): New function.
10880 (insert_phi_node): Use it.
10881 (rename_block): Likewise.
10882 (eliminate_phi): Likewise.
10883 (make_regs_equivalent_over_bad_edges): Likewise.
10884 (make_equivalent_phi_alternatives_equivalent): Likewise.
10885 (for_each_successor_phi): Likewise.
10886 (convert_from_ssa): Modify phi-node deletion algorithm.
10887
10888 2000-07-29 Andreas Jaeger <aj@suse.de>
10889
10890 * configure.in (mips*-*-linux*): Use mips*el to check for little
10891 endian MIPS, add tmake_file.
10892
10893 * config/mips/linux.h (TARGET_VERSION): Use GNU/Linux.
10894 (SUBTARGET_CPP_SPEC): Default MIPS_ISA is 1.
10895 Patches by Maciej W. Rozycki <macro@ds2.pg.gda.pl>.
10896
10897 2000-07-28 Richard Henderson <rth@cygnus.com>
10898
10899 * config/ia64/ia64.c (ia64_print_operand): Fix typos.
10900 Sign extend mode size before negating.
10901
10902 2000-07-28 Richard Henderson <rth@cygnus.com>
10903
10904 * emit-rtl.c (gen_lowpart_common): Add missing 'c' variable.
10905
10906 2000-07-28 Bernd Schmidt <bernds@cygnus.co.uk>
10907
10908 * cse.c (canon_hash): Handle PRE_MODIFY/POST_MODIFY.
10909 (cse_insn): Likewise.
10910 (addr_affects_sp_p): Likewise.
10911 * expr.c (move_by_pieces): Likewise.
10912 (clear_by_pieces): Likewise.
10913 * gcse.c (oprs_unchanged_p): Likewise.
10914 * haifa-sched.c (sched_analyze_2): Likewise.
10915 * recog.c (offsettable_address_p): Likewise.
10916 * regclass.c (record_address_regs): Likewise.
10917 * reload.c (find_reusable_reload): Likewise.
10918 (push_reload): Likewise.
10919 (operands_match_p): Likewise.
10920 (decompose): Likewise.
10921 (find_reloads_address_1): Likewise.
10922 (find_inc_amount): Likewise.
10923 * reload1.c (elimination_effects): Likewise.
10924 * resource.c (mark_set_resources): Likewise.
10925 * flow.c (attempt_auto_inc): New function; mostly broken out
10926 of find_auto_inc.
10927 (find_auto_inc): Split into two functions and enhanced to
10928 generate POST_MODIFY.
10929 * rtl.def (PRE_MODIFY, POST_MODIFY): Adjust comment.
10930 * rtl.h (count_all_occurrences): Declare.
10931 (HAVE_{PRE,POST}_MODIFY_{DISP,REG}): Provide default of 0 if not
10932 defined.
10933 * rtlanal.c (count_all_occurrences): New function.
10934 * tm.texi (HAVE_POST_MODIFY_DISP, HAVE_PRE_MODIFY_DISP,
10935 HAVE_POST_MODIFY_REG, HAVE_PRE_MODIFY_REG): Document.
10936
10937 * config/ia64/ia64-protos.h (destination_operand): Declare.
10938 * config/ia64/ia64.c (destination_operand): New function.
10939 (ia64_print_operand): Handle POST_MODIFY.
10940 (rtx_needs_barrier): Likewise.
10941 * config/ia64/ia64.h (HAVE_POST_MODIFY_DISP): Define to 1.
10942 (HAVE_POST_MODIFY_REG): Define to 1.
10943 (MAX_REGS_PER_ADDRESS): Change to 2.
10944 (GO_IF_LEGITIMATE_ADDRESS): Accept POST_MODIFY too.
10945 (LEGITIMATE_ADDRESS_REG): New helper macro.
10946 (LEGITIMATE_ADDRESS_DISP): Likewise.
10947 (PREDICATE_CODES): Add entry for destination_operand.
10948 * config/ia64/ia64.md (all mov patterns): Use destination_operand
10949 predicate for operand 0.
10950
10951 2000-07-28 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
10952
10953 * dwarf2out.c: Indent #error directive.
10954
10955 * gbl-ctors.h: Fix typo in comment.
10956 (__do_global_ctors): Prototype.
10957
10958 * gcse.c (record_one_set, pre_delete): Remove unused variables.
10959
10960 * rs6000.c (rs6000_maybe_dead): Delete unused prototype.
10961 (print_operand): Initialize variable `t'.
10962
10963 2000-07-27 Aldy Hernandez <aldyh@redhat.com>
10964
10965 * config/arm/arm.md ("call_value"): removed constraints.
10966 Constraints are ignored in expanders.
10967 (*call_value_reg): split =rf into various constraints.
10968 (*call_value_mem): same
10969 (*call_value_symbol): same
10970 (*sibcall_value_insn): same
10971
10972 2000-07-28 Philipp Thomas <pthomas@suse.de>
10973
10974 * install.texi (--enable-nls): Change the description of the NLS
10975 related configure options to match the current state.
10976 (--with-included-gettext): Likewise.
10977 (--enable-maintainer-mode): New description added.
10978 * extend.texi (-fstrict-prototype): Add missing '.'.
10979
10980 2000-07-27 Jim Wilson <wilson@cygnus.com>
10981
10982 * dwarf2out.c (gen_decl_die): Don't call gen_abstract_function if
10983 DECL_INITIAL (decl) == NULL_TREE.
10984
10985 2000-07-27 Alexandre Oliva <aoliva@redhat.com>
10986
10987 * Makefile.in (INSN_ATTR_H): New macro. Replace all dependencies
10988 on insn-attr.h with it.
10989 * genattr.c: Generate `#include "insn-addr.h"' if HAVE_ATTR_length.
10990 * insn-addr.h: New header.
10991 (insn_addresses_): Renamed from insn_addresses.
10992 (INSN_ADDRESSES_DEFN, INSN_ADDRESSES, INSN_ADDRESSES_ALLOC,
10993 INSN_ADDRESSES_FREE, INSN_ADDRESSES_SET_P, INSN_ADDRESSES_SIZE,
10994 INSN_ADDRESSES_NEW): New macros.
10995 * genattrtab.c (write_test_expr): Use new macros.
10996 * final.c (insn_addresses, init_insn_lengths): Likewise.
10997 (align_fuzz, shorten_branches): Likewise.
10998 (final): Likewise. Do not reject new insns if their addresses
10999 have been added to INSN_ADDRESSES.
11000 * config/arm/arm.c, config/avr/avr.c: Use new macros.
11001 * config/h8300/h8300.c, config/i370/i370.c: Likewise.
11002 * config/m88k/m88k.c, config/pa/pa.c, config/pa/pa.md: Likewise.
11003 * config/sparc/sparc.c, config/sparc/sparc.md: Likewise.
11004 * config/sh/sh.c: Likewise.
11005 (output_branchy_insn): Use INSN_ADDRESSES_NEW.
11006
11007 * Makefile.in (bootstrap): Move -BstageN/ back to the beginning.
11008
11009 2000-07-27 Andrew Cagney <cagney@b1.cygnus.com>
11010
11011 * gcc.c (struct prefix_list): Add member priority.
11012 (enum path_prefix_priority): Declare.
11013 (add_prefix): Replace ``first'' with ``priority''. Append new
11014 entry but keep list in priority order.
11015 (process_command): Update. Pass PREFIX_PRIORITY_B_OPT or
11016 PREFIX_PRIORITY_LAST to add_prefix.
11017 (process_command): Move include kludge - foo/stageN - to before
11018 foo/include.
11019
11020 2000-07-27 Jason Merrill <jason@redhat.com>
11021
11022 * dwarf2out.c (gen_typedef_die): Abort if we get identical
11023 TREE_TYPE and DECL_ORIGINAL_TYPE on a typedef.
11024
11025 2000-07-27 RodneyBrown <RodneyBrown@pmsc.com>
11026
11027 * expr.h (get_alias_set, lang_get_alias_set): Delete prototypes.
11028 * tree.h (get_alias_set, lang_get_alias_set): Prototype.
11029
11030 2000-07-27 Joseph S. Myers <jsm28@cam.ac.uk>
11031
11032 * c-decl.c (finish_function): Don't treat 'main' specially unless
11033 flag_hosted. In C99 mode, return 0 from 'main' unless
11034 DEFAULT_MAIN_RETURN is otherwise defined.
11035
11036 * c-decl.c (store_parm_decls): In C99 mode, pedwarn for function
11037 parameters defaulting to int in an old-style function definition.
11038
11039 2000-07-27 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
11040
11041 * c-parse.in (string): For -Wtraditional, warn about string
11042 concatenation only once per line.
11043
11044 Thu Jul 27 09:25:17 2000 Akiko Matsushita <matusita@sra.co.jp>
11045
11046 * pa/x-pa-hpux: Add -D_HIUX_SOURCE to FIXPROTO_DEFINES
11047 for HI-UX/WE2 systems.
11048
11049 2000-07-24 Bruce Korb <bkorb@gnu.org>
11050
11051 * fixincl/fixfixes.c(emit_gnu_type): rewrote to *rely* on GCC
11052 defining the __xxx_TYPE__ macros.
11053 * fixincl/fixincl.tpl(gnu_type_map): now obsolete
11054 * fixincl/fixlib.h: don't need to include "tm.h" anymore
11055 * fixincl/inclhack.def(type_map): now obsolete
11056
11057 Thu Jul 27 11:54:17 2000 Andrew Cagney <cagney@b1.cygnus.com>
11058
11059 * cpp.texi: Append a trailing full-stop to xrefs where needed.
11060
11061 2000-07-26 Dave Pitts <dpitts@cozx.com>
11062
11063 * i370.c: Remove LONGEXTERNAL ifdef from alias_number. Added hash
11064 routine constants.
11065 (mvs_hash_alias): New function.
11066 (mvs_add_alias): Change argument spacing.
11067 (mvs_need_alias): Change aliasing criteria. Added documentation.
11068 (mvs_get_alias): Change to use hashed name. The hashed name prevents
11069 CSECT name collisions.
11070 (mvs_check_alias): Likewise.
11071 (handle_pragma): Change documentation.
11072 * i370.md (mulsi3, divsi3, udivsi3, modsi3, umodsi3): Changed gen_rtx
11073 mode from SImode to DImode.
11074 (iorhi3): Changed LTORG size for insn.
11075
11076 Wed Jul 26 19:44:05 2000 Hans-Peter Nilsson <hp@axis.com>
11077
11078 * reload.c (find_reloads_toplev): Reload a paradoxical subreg of a
11079 mem if the address is a mode_dependent_address_p.
11080
11081 2000-07-26 Kazu Hirata <kazu@hxi.com>
11082
11083 * h8300.c (print_operand): Print ":8" when the 'R' operand is
11084 suitable for 8-bit absolute.
11085 * h8300.h (EIGHTBIT_CONSTANT_ADDRESS_P): New.
11086 (OK_FOR_U): Add a case for the 8-bit constant address on the
11087 H8/300H.
11088
11089 Wed Jul 26 19:26:21 2000 Hans-Peter Nilsson <hp@axis.com>
11090
11091 * varasm.c (assemble_variable) [! defined(ASM_OUTPUT_ALIGNED_COMMON)
11092 && ! defined (ASM_OUTPUT_ALIGNED_BSS]): Also test
11093 ! defined(ASM_OUTPUT_ALIGNED_DECL_COMMON) before complaining about
11094 lack of implemented alignment.
11095
11096 2000-07-26 Geoffrey Keating <geoffk@cygnus.com>
11097
11098 * emit-rtl.c (gen_lowpart_common) [REAL_ARITHMETIC]: Handle
11099 cross-compiling between 64-bit and 32-bit machines.
11100
11101 2000-07-27 Richard Henderson <rth@cygnus.com>
11102
11103 * config/ia64/ia64.md (movqicc_astep, movqi_internal_astep): New.
11104 (movhicc_astep, movhi_internal_astep): New.
11105 (movsicc_astep, movsi_internal_astep): New.
11106 (movdicc_astep, movdi_internal_astep): New.
11107 (movsfcc_astep, movsf_internal_astep): New.
11108 (movdfcc_astep, movdf_internal_astep): New.
11109 (movxfcc_astep, movxf_internal_astep): New.
11110 (cmovdi_internal_astep, cmovsi_internal_astep): New.
11111 Unify the cmov[ds]i splitters.
11112
11113 2000-07-27 Rodney Brown <RodneyBrown@pmsc.com>
11114
11115 * real.c (asctoeg): Rename `error' label to unexpected_char_error
11116
11117 2000-07-26 Nick Clifton <nickc@cygnus.com>
11118
11119 * config/arm/vxarm.h (CPP_PREDEFINES): Remove definition of
11120 __arm__. Allow it to be defined by CPP_ISA_SPEC in arm.h
11121
11122 * dwarf2out.c (dwarf2out_frame_debug_expr): Accept SEQUENCE as
11123 well as PARALLEL blocks in FRAME_RELATED_EXPR notes.
11124
11125 2000-07-26 Alexandre Oliva <aoliva@redhat.com>
11126
11127 * c-decl.c (finish_enum): Convert enumerations that fit in an
11128 `int' to `int'.
11129 (build_enumerator): In pedantic mode, cast to `int' those that
11130 don't.
11131
11132 2000-07-25 Rodney Brown <RodneyBrown@pmsc.com>
11133
11134 * config/alpha/osf.h (SIZE_TYPE, PTRDIFF_TYPE): New.
11135
11136 Tue Jul 25 23:08:33 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
11137
11138 * sh.md (cmpgtdi_t): Must be split.
11139 (cmpgtdi_t+1): New splitter.
11140
11141 2000-07-25 Zack Weinberg <zack@wolery.cumb.org>
11142
11143 * cpplib.c (_cpp_check_directive): Issue -Wtraditional
11144 warnings for indented directives even if we are skipping.
11145
11146 2000-07-25 Nathan Sidwell <nathan@codesourcery.com>
11147
11148 * invoke.texi (strict-prototypes): Remove.
11149 * extend.texi (Deprecated Features): Add strict-prototypes.
11150 (Backwards Compatibility): New node.
11151
11152 2000-07-25 Jakub Jelinek <jakub@redhat.com>
11153
11154 * config/i386/i386.md (andsi_1+1): Allow HImode.
11155 (andsi_1+2): Require q_regs_operand.
11156
11157 2000-07-25 Jakub Jelinek <jakub@redhat.com>
11158
11159 * config/i386/i386.md (call_pop): Check operands[0],
11160 not operands[1]. Only check SYMBOL_REF_FLAG for a SYMBOL_REF.
11161 (call): Likewise.
11162 (call_value_pop): Only check SYMBOL_REF_FLAG for a SYMBOL_REF.
11163 (call_value): Likewise.
11164
11165 2000-07-25 Zack Weinberg <zack@wolery.cumb.org>
11166
11167 * toplev.c (pipe_closed): Delete.
11168 (crash_signal): New. Generate ICE for a fatal signal.
11169 (float_signal): Call crash_signal outside a float-handler
11170 block, not abort.
11171 (main): Install crash_signal as handler for core-dumping signals.
11172
11173 2000-07-25 David Edelsohn <edelsohn@gnu.org>
11174
11175 * rs6000.c (print_operand, case 'T'): New case.
11176
11177 * rs6000.md (call_indirect_aix32): Convert to expander of
11178 scheduled instructions.
11179 (call_indirect_aix64): Likewise.
11180 (call_value_indirect_aix{32,64}): Likewise.
11181 (call, call_value): Invoke expanders for AIX. Fall through to
11182 matchers for SysV.
11183 (call_indirect_nonlocal_aix{32,64}): New patterns (ctr and lr).
11184 (call_value_indirect_nonlocal_aix{32,64}): New patterns.
11185 (call_nonlocal_aix32): Remove CALL_LONG alternative. Operand 1
11186 only "g" constraint.
11187 (call_nonlocal_aix64): Likewise.
11188 (call_value_nonlocal_aix{32,64}): Likewise.
11189 (call_nonlocal_sysv): New pattern for ctr, lr, and symbolic
11190 operands.
11191 (call_value_nonlocal_sysv): New pattern.
11192 (indirect_jump{si,di}): Use new 'T' modifier.
11193 (tablejump{si,di} matchers): Likewise.
11194 (return_internal_{si,di}): Likewise.
11195 (return_eh_{si,di}): Likewise.
11196
11197 2000-07-24 Richard Henderson <rth@cygnus.com>
11198
11199 * config/ia64/ia64.c (ia64_print_operand): Handle "%,".
11200 * config/ia64/ia64.h (PRINT_OPERAND_PUNCT_VALID_P): Likewise.
11201 * config/ia64/ia64.md (movdi_internal): Use it.
11202
11203 2000-07-24 Zack Weinberg <zack@wolery.cumb.org>
11204
11205 * cppexp.c: Warn about unary + if -Wtraditional.
11206 * cpplex.c (lex_line): Always set BOL on the first token of a line.
11207
11208 2000-07-24 Michael Meissner <meissner@redhat.com>
11209
11210 * d30v.h (FUNCTION_ARG_KEEP_AS_REFERENCE): Delete references to
11211 unsupported macro.
11212
11213 2000-07-24 Nick Clifton <nickc@cygnus.com>
11214
11215 * config/arm/arm.c (emit_multi_reg_push): Generate a
11216 REG_FRAME_RELEATED_NOTE that is compatable with the code in
11217 dwarf2out_debug_frame_expr.
11218
11219 2000-07-24 Jason Merrill <jason@redhat.com>
11220
11221 * dwarf2out.c: Complain if DWARF2_DEBUGGING_INFO is defined without
11222 UNALIGNED_INT_ASM_OP.
11223 (def_cfa_1): Don't emit def_cfa_register or def_cfa_offset to adjust
11224 a location expression.
11225 (dwarf2out_frame_debug_expr): Lose cfa_old_reg stuff. Don't
11226 assume indirect access if we're saving the CFA address exactly.
11227
11228 * Makefile.in (bootstrap): Move -BstageN/ to the end.
11229
11230 2000-07-24 Jakub Jelinek <jakub@redhat.com>
11231
11232 * tradcpp.c (main): Update max_include_len for cpp_include_defaults
11233 as well.
11234
11235 2000-07-24 Michael Meissner <meissner@redhat.com>
11236
11237 * invoke.texi (D30V Options): Add d30v options.
11238
11239 Mon Jul 24 02:04:52 2000 Jeffrey A Law (law@cygnus.com)
11240
11241 * gcse.c (alloc_pre_mem): Do not alloc TRANSPOUT, it is not
11242 needed by our gcse pass anymore.
11243 (free_pre_mem): Corresponding changes.
11244 (compute_pre_data): Do not call compute_transpout anymore.
11245
11246 * gcse.c (alloc_avail_expr_mem): Kill unused 'u_bitmap'.
11247 (free_avail_expr_mem, alloc_pre_mem, free_pre_mem): Corresponding
11248 changes.
11249
11250 * gcse.c (free_pre_mem): Do not free ANTLOC and AE_KILL here.
11251 (compute_pre_data): Do it here instead.
11252
11253 * gcse.c (alloc_pre_mem, free_pre_mem): Delete unused bitmap
11254 'temp_bitmap'.
11255 (pre_delete): Corresponding changes.
11256
11257 2000-07-23 Mark Mitchell <mark@codesourcery.com>
11258
11259 * c-semantics.c (make_rtl_for_local_static): Use TREE_ASM_WRITTEN
11260 to figure out whether or not a variable has already been emitted.
11261
11262 Sun Jul 23 14:49:12 2000 Jason Eckhardt <jle@cygnus.com>
11263
11264 * config/i860/i860.md (untyped_call expander): Use GEN_CALL
11265 instead of gen_call.
11266
11267 Sun Jul 23 11:52:03 2000 George Helffrich (george@gly.bris.ac.uk)
11268
11269 * dbxout.c (dbxout_type, case COMPLEX_TYPE): Fix length field in stab.
11270
11271 2000-07-23 Kazu Hirata <kazu@hxi.com>
11272
11273 * h8300.c: Fix formatting.
11274
11275 2000-07-23 Joseph S. Myers <jsm28@cam.ac.uk>
11276
11277 * c-typeck.c (c_expand_start_case): Change -Wtraditional pedwarn
11278 for `long' switch expression into a plain warning.
11279
11280 * c-lex.c (init_lex): Keep the "inline" keyword in C99 mode.
11281 (yylex): Don't pedwarn for "inline" in C99 mode.
11282
11283 * bitmap.c (debug_bitmap_file): Cast pointers to PTR for printing
11284 with %p.
11285 * ggc-page.c (debug_print_page_list, alloc_page, free_page,
11286 ggc_alloc): Likewise.
11287 * bb-reorder.c (dump_scope_forest_1): Likewise.
11288
11289 2000-07-22 Aldy Hernandez <aldyh@redhat.com>
11290
11291 * reload.c (find_reloads_toplev): Add new parameter
11292 "address_reloaded".
11293 (find_reloads): Add new parameter to find_reloads_toplev calls.
11294
11295 2000-07-22 Jeffrey Oldham <oldham@codesourcery.com>
11296
11297 * collect2.c (main): Typo fixed.
11298 * diagnostic.c: Typo fixed.
11299 * dwarf2out.c (dwarf2out_frame_debug_expr): Typo fixed.
11300 * eh-common.h: Typo fixed.
11301 * emit-rtl.c (start_sequence): Typo fixed.
11302 * flow.c (find_label_refs): Typo fixed.
11303 (calculate_global_regs_live): Typo fixed.
11304 (mark_regno_cond_dead): Typo fixed.
11305 (create_edge_list): Typos fixed.
11306 (verify_edge_list): Typo fixed.
11307 * ggc-common.c (ggc_mark_rtx_children): Typo fixed.
11308 * loop.c (strength_reduce): Typo in function name fixed.
11309 * rtl.h: Added comments. Typo in function name fixed.
11310 * rtlanal.c: Typo in function name fixed.
11311 (insn_dependant_p): Rename to ...
11312 (insn_dependent_p): ... this.
11313 (computed_jumo_p): Typo fixed.
11314
11315 2000-07-22 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
11316
11317 * system.h (__FUNCTION__): Wrap definition in #ifndef.
11318
11319 2000-07-21 David Edelsohn <edelsohn@gnu.org>
11320
11321 * rs6000.h (SIZE_TYPE): Define.
11322
11323 2000-07-21 Mark Mitchell <mark@codesourcery.com>
11324
11325 * ssa.c (rename_insn_1): Don't rename registers that are
11326 CLOBBERed.
11327
11328 2000-07-21 Zack Weinberg <zack@wolery.cumb.org>
11329
11330 * diagnostic.c (trim_filename, fancy_abort): Moved here from
11331 rtl.c.
11332 (fatal_function, set_fatal_function): Removed.
11333 (fatal): Don't prepare for or call the fatal_function.
11334 (diagnostic_lock, error_recursion): New.
11335 (diagnostic_for_decl, report_diagnostic): Guard against
11336 re-entering the error reporting routines.
11337 (fancy_abort): Assume function is not NULL.
11338
11339 * errors.c (fancy_abort): New. Assume function is not NULL.
11340 * tradcpp.c (fancy_abort): Assume function is not NULL.
11341
11342 * system.h: Provide default definition of __FUNCTION__.
11343 * rtl.h: Use __FUNCTION__ not __PRETTY_FUNCTION__ throughout.
11344 Always use __FUNCTION__ in definition of abort.
11345 * tree.h: Likewise.
11346 * varray.h: Likewise.
11347 * toplev.h: Likewise. Don't prototype set_fatal_function.
11348
11349 2000-07-20 Geoff Keating <geoffk@cygnus.com>
11350
11351 * config/rs6000/aix43.h (CPP_SPEC): Define __LONG_MAX__ correctly
11352 in 64-bit mode.
11353 * glimits.h: Don't do #if defined for ARCH_PPC.
11354
11355 * config/rs6000/rs6000.h (ASM_OUTPUT_SPECIAL_POOL_ENTRY_P): All
11356 constants of size no larger than a pointer should go in the TOC.
11357 Add 'MODE' parameter.
11358 (LEGITIMIZE_RELOAD_ADDRESS): Add MODE parameter to
11359 ASM_OUTPUT_SPECIAL_POOL_ENTRY_P.
11360 (ASM_OUTPUT_SPECIAL_POOL_ENTRY): Likewise.
11361 * config/rs6000/aix.h (SELECT_RTX_SECTION): Likewise.
11362 * config/rs6000/netware.h (SELECT_RTX_SECTION): Likewise.
11363 * config/rs6000/rs6000.c (constant_pool_expr_1): Likewise.
11364 (rs6000_legitimize_address): Likewise.
11365 (rs6000_emit_move): Likewise.
11366 (rs6000_select_rtx_section): Likewise.
11367 (output_toc): Deal properly with outputting small constants like
11368 HImode, and SFmode in 32-bit mode, and DFmode in 64-bit mode.
11369 * config/rs6000/sysv4.h (ASM_OUTPUT_SPECIAL_POOL_ENTRY_P): Add
11370 MODE parameter. Put small constants in the TOC.
11371
11372 * config/rs6000/rs6000.c (easy_fp_constant_p): All constants are
11373 easy in SImode.
11374 (rs6000_emit_move): When reload calls us with an illegitimate
11375 address, exit early. Move the change_address calls to one place
11376 at the end of the routine. Merge the SImode and DImode expanders.
11377 When called by reload to put an integer into a FP register, force
11378 it to memory.
11379
11380 * config/rs6000/rs6000.c (struct toc_hash_struct): Add 'key_mode'
11381 field.
11382 (rs6000_hash_constant): Hash mode too.
11383 (toc_hash_function): Allow for key_mode.
11384 (toc_hash_eq): Structures are different if key_mode differs.
11385 (output_toc): Add 'mode' parameter. Save key_mode.
11386 * config/rs6000/rs6000.h (ASM_OUTPUT_SPECIAL_POOL_ENTRY):
11387 Pass 'mode' parameter.
11388 * config/rs6000/rs6000-protos.h (output_toc): Add 'mode' param.
11389
11390 * config/rs6000/rs6000.c (output_toc): Use RS6000_OUTPUT_BASENAME
11391 for vtable references.
11392
11393 * config/rs6000/rs6000.h (PREFERRED_RELOAD_CLASS): If we have a
11394 choice, don't put integer values in FP regs.
11395
11396 Thu Jul 20 18:13:52 2000 Jeffrey A Law (law@cygnus.com)
11397
11398 * flow.c (verify_flow_info): Revamp code to verify that the
11399 head and end of each basic block are in the insn chain.
11400
11401 Thu Jul 20 18:02:35 2000 Michael Matz <matzmich@cs.tu-berlin.de>
11402
11403 * gcse.c (record_one_set): Prepend instead of append onto
11404 reg_set_table, making it O(n) instead O(n^2).
11405 * lcm.c (compute_antinout_edge,compute_laterin,compute_available):
11406 Use a queue instead of a stack as worklist.
11407
11408 2000-07-20 Kazu Hirata <kazu@hxi.com>
11409
11410 * h8300.c (two_insn_adds_subs_operand): Fix a typo.
11411 * h8300.h (OK_FOR_T): New.
11412 (EXTRA_CONSTRAINT): Support OK_FOR_T.
11413 * h8300.md: Use inc/dec.[wl] for increment/decrement
11414 by 1 and 2 in HI and SI modes.
11415
11416 2000-07-20 Jim Wilson <wilson@cygnus.com>
11417
11418 * config/ia64/ia64.h (ASM_OUTPUT_MI_THUNK): Handle DELTA values
11419 larger than 14 bits.
11420
11421 2000-07-20 Zack Weinberg <zack@wolery.cumb.org>
11422
11423 * cppmacro.c (CAN_PASTE_AFTER): New macro.
11424 (count_params): Don't set GNU_REST_ARGS on anything.
11425 (save_expansion): Set PASTE_LEFT only on tokens for which
11426 CAN_PASTE_AFTER is true, or which are named operators.
11427
11428 * cpplex.c (parse_args): Distinguish between a rest argument
11429 given one empty argument, and a rest argument given zero arguments.
11430 (maybe_paste_with_next): Look for VOID_REST tag, and trigger
11431 deletion of previous token based on that.
11432 (get_raw_token): Flatten some control structure.
11433
11434 * cpplib.h (CPP_LAST_EQ): Correct.
11435 (VOID_REST): New token flag.
11436 (GNU_REST_ARGS): Delete.
11437
11438 * tradcpp.c (main): Don't munge -D options.
11439 (make_definition): Bring -D handling in line with cpplib.
11440 (do_define): Strip all leading whitespace from macro definitions.
11441
11442 2000-07-20 David Billinghurst <David.Billinghurst@riotinto.com.au>
11443
11444 * Makefile.in (tradcpp): Depend on intl.o and version.o.
11445
11446 2000-07-20 Bruce Korb <bkorb@gnu.org>
11447
11448 * fixincl/check.tpl: strip the platform specific types before testing
11449 * fixincl/fixfixes.c(gnu_type_fix): use platform specific types
11450 * fixincl/fixincl.tpl: use platform specific types
11451 * fixincl/fixlib.h: include the platform specific types
11452 * fixincl/inclhack.def(gnu_types): don't supply the types
11453 * fixincl/fixincl.x: regen
11454
11455 2000-07-19 Jim Wilson <wilson@cygnus.com>
11456
11457 * config/ia64/ia64.h (HARD_REGNO_MODE_OK): Don't allow XFmode in
11458 GR_REGS.
11459
11460 2000-07-19 Zack Weinberg <zack@wolery.cumb.org>
11461
11462 * tradcpp.c (rescan): Do not recognize directives when the #
11463 is indented.
11464
11465 2000-07-19 Zack Weinberg <zack@wolery.cumb.org>
11466
11467 Implement C++ named operators.
11468
11469 * cpplib.h (TTYPE_TABLE): Move CPP_MIN and CPP_MAX into block
11470 of operators allowed in #if and having an _EQ variant. Add
11471 CPP_MIN_EQ, CPP_MAX_EQ, and CPP_DEFINED.
11472 (cpp_token flags): Add NAMED_OP.
11473 (enum node_type): Add T_OPERATOR.
11474 (struct cpp_hashnode): Add code slot to value union.
11475 * cpphash.h (spec_nodes): Remove n_defined.
11476
11477 * cpplex.c (lex_line): Convert T_OPERATOR nodes to their proper types.
11478 (spell_token, can_paste, maybe_paste_with_next): Handle named operators.
11479 (is_macro_disabled): Tweak error messages.
11480
11481 * cpplib.c (get_define_node): Disallow all named operators as
11482 macro names. Tweak error messages.
11483 (_cpp_init_stacks): Don't set up spec_nodes->n_defined.
11484
11485 * cppinit.c (builtin_array): Add entries for the named operators.
11486 * cppexp.c (lex): Check for CPP_DEFINED token.
11487 (priority table): Add entries for CPP_MIN and CPP_MAX.
11488 (_cpp_parse_expr): Handle CPP_MIN and CPP_MAX.
11489
11490 2000-07-19 Bernd Schmidt <bernds@cygnus.co.uk>
11491
11492 * gcse.c (INSN_CUID): If ENABLE_CHECKING, abort if the uid is
11493 larger than the array of cuids.
11494 (alloc_gcse_mem): Use uid_cuid rather than INSN_CUID when computing
11495 cuids.
11496
11497 2000-07-19 Bruce Korb <bkorb@gnu.org>
11498
11499 * fixinc/fixincl.c: Convert to using a table of environment variables
11500 and activate the auto-edit marker on the fixed output files.
11501 * fixinc/fixlib.h: Define the environment table
11502 * fixinc/fixincl.sh: export the ${INPUT} dir
11503 * fixinc/check.tpl: likewise
11504
11505 2000-07-18 Zack Weinberg <zack@wolery.cumb.org>
11506
11507 * gcc.c (.h spec): Fix typo.
11508
11509 Wed Jul 19 01:22:15 CEST 2000 Marc Espie <espie@cvs.openbsd.org>
11510
11511 * Makefile.in: Fix tradcif.c path.
11512
11513 2000-07-18 Zack Weinberg <zack@wolery.cumb.org>
11514
11515 * cpplib.h (TTYPE_TABLE): Rearrange to use only two per-entry
11516 macros, not five.
11517
11518 * cpphash.h (TOKEN_NAME): New macro.
11519 (_cpp_spell_operator): Deleted.
11520 (token_spellings): Now _cpp_token_spellings.
11521
11522 * cppexp.c: Use TOKEN_NAME or TYPE_NAME, not _cpp_spell_operator.
11523 * cpplex.c: Use OP and TK macros when expanding the
11524 TTYPE_TABLE. Eliminate token_names. For non-OPERATOR tokens,
11525 store the stringification of the enumeration name (CPP_CHAR,
11526 etc.) in the name slot of token_spellings.
11527 Use TOKEN_NAME and/or TOKEN_SPELL, do not reference
11528 token_spellings directly.
11529 * cpplib.c: Use TOKEN_SPELL.
11530
11531 * cpplex.c (_cpp_push_token): If the token being pushed back
11532 is the previous token in this context, just subtract one from
11533 context->posn.
11534 * cppmacro.c (save_expansion): Clear aux field when storing a
11535 placemarker.
11536
11537 2000-07-18 Jakub Jelinek <jakub@redhat.com>
11538
11539 * cpplex.c (cpp_scan_buffer): Output line command even at the stop
11540 buffer, provided it is not NULL.
11541
11542 2000-07-18 Alexandre Oliva <aoliva@redhat.com>
11543
11544 * c-decl.c (duplicate_decls): Do not call make_var_volatile() in
11545 case of invalid volatile re-declaration.
11546
11547 2000-07-18 Jakub Jelinek <jakub@redhat.com>
11548
11549 * calls.c (store_arg): Return non-zero if sibcall_failure is desired.
11550 (expand_call): Adjust caller.
11551
11552 2000-07-17 Gabriel Dos Reis <gdr@codesourcery.com>
11553
11554 * diagnostic.h (report_diagnostic): Change prototype.
11555
11556 * diagnostic.c (output_do_verbatim, diagnostic_for_asm,
11557 diagnostic_for_decl): Change prototype.
11558 (error_with_decl, warning_with_decl, pedwarn_with_decl, warning,
11559 error, warning, error_with_file_and_line,
11560 warning_with_file_and_line, pedwarn_with_file_and_line, fatal):
11561 Adjust call to report_diagnostic, diagnostic_for_decl.
11562 (error_for_asm, warning_for_asm): Adjust call to diagnostic_for_asm.
11563 (output_verbatim, verbatim): Adjust call to output_do_verbatim.
11564
11565 * c-errors.c (pedwarn_c99): Adjust call to report_diagnostic. End
11566 varaible argument list.
11567
11568 2000-07-17 Zack Weinberg <zack@wolery.cumb.org>
11569
11570 * cpphash.c: Don't include hashtab.h. Most macro-handling code
11571 moved to cppmacro.c.
11572 (hash_HASHNODE, eq_HASHNODE, _cpp_dump_macro_hash,
11573 dump_hash_helper): Delete.
11574 (expand_hash, higher_prime_number, _cpp_lookup_with_hash,
11575 cpp_forall_identifiers): New. Implement specialized version of
11576 Vlad's expandable hash table.
11577 (cpp_lookup): Use new functions.
11578 (_cpp_init_macros, _cpp_cleanup_macros): Adjust for new
11579 implementation.
11580 * cppmacro.c: New file.
11581 * cppinit.c (dump_macros_helper): New.
11582 (cpp_finish): Iterate over the identifier table directly.
11583 * cpplex.c (parse_name): Calculate the hash of the identifier
11584 while we scan it. Use _cpp_lookup_with_hash when we can.
11585
11586 * cpphash.h: Update prototypes.
11587 (xcnewvec, HASHSTEP): New helper macros.
11588 * cpplib.h: Update prototypes.
11589 * Makefile.in (LIBCPP_OBJS): Add cppmacro.o.
11590 (cppmacro.o): New rule.
11591 (cpphash.o): Update deps.
11592
11593 * cppmain.c: Do not set pfile->printer if no_output is on.
11594
11595 2000-07-15 Neil Booth <neilb@earthling.net>
11596
11597 * cpplib.c: Change all directive-handler functions to return
11598 void, not int.
11599 * cpphash.h: Update typedefs.
11600
11601 2000-07-17 Geoffrey Keating <geoffk@cygnus.com>
11602
11603 * configure: Regenerate.
11604
11605 * extend.texi (Extended Asm): Mention that a memory clobber
11606 does not count as a side-effect.
11607
11608 * unroll.c (copy_loop_body): Fix one instance of using host
11609 arithmetic on the target; fixes loop-4 on a 32-bit -> 64-bit
11610 cross-compile.
11611
11612 * tlink.c (scan_linker_output): Tweak for output of AIX ld.
11613
11614 2000-07-17 Richard Henderson <rth@cygnus.com>
11615
11616 * config/ia64/ia64.md (movdi): Split out load address code.
11617 New post-reload splitter for symbolic operands.
11618 (movdi_internal): Abort if we didn't split symbolic operands
11619 when we should have.
11620 * config/ia64/ia64.c (ia64_expand_load_address): New, from movdi bits.
11621 (ia64_reorg): Split insns when not optimizing.
11622 * config/ia64/ia64-protos.h (ia64_expand_load_address): Declare.
11623
11624 Mon Jul 17 23:43:26 MET DST 2000 Jan Hubicka <jh@suse.cz>
11625
11626 * real.h (REAL_VALUE_TO_TARGET_LONG_DOUBLE): Use LONG_DOUBLE_TYPE_SIZE
11627 instead of MAX_LONG_DOUBLE_TYPE_SIZE to decide output format.
11628
11629 2000-07-17 Chandrakala Chavva <cchavva@cygnus.com>
11630
11631 * loop.c (check_dbra_loop) : Changed loop_continue to loop->cont.
11632
11633 2000-07-17 Jason Merrill <jason@redhat.com>
11634
11635 * Makefile.in (clean): Remove libgcc directory.
11636
11637 * configure.in (-Wno-long-long check): Use higher-level macros.
11638
11639 2000-07-17 Zack Weinberg <zack@wolery.cumb.org>
11640
11641 * simplify-rtx.c (simplify_binary_operation): Recognize
11642 (compare (gt[u] (cc) 0) (lt[u] (cc) 0)).
11643 (simplify_ternary_operation): Do not examine MODE_BITSIZE of
11644 a CONST_INT, it will always be zero.
11645
11646 2000-07-17 Chandrakala Chavva <cchavva@cygnus.com>
11647
11648 * loop.c (check_dbra_loop) : Return if more than one condition is
11649 present to control the loop.
11650
11651 Mon Jul 17 08:26:35 2000 Clinton Popetz <cpopetz@cygnus.com>
11652
11653 * mips.c (mips_expand_prologue): Don't calculate the last argument
11654 register unless we need it. When we are calculating this, make
11655 sure FUNCTION_ARG is giving us a REG.
11656
11657 2000-07-17 Stephane Carrez <Stephane.Carrez@worldnet.fr>
11658
11659 * flow.c (libcall_dead_p): Use single_set to verify the insn
11660 has only one set and get for analysis.
11661 (propagate_one_insn): Don't pass the PATTERN of the insn.
11662
11663 2000-07-17 Mark Klein <mklein@dis.com>
11664
11665 * pa.c (emit_hpdiv_const): Update to match new pattern for udivsi3.
11666
11667 2000-07-17 J. David Anglin <dave@hiauly1.hia.nrc.ca>
11668
11669 * Makefile.in (TARGET_GETGROUPS_T): New configuration variable.
11670 * configure.in (TARGET_GETGROUPS_T): Evaluate.
11671 * sys-protos.h (getgroups): Use TARGET_GETGROUPS_T for array type
11672 of second argument of getgroups.
11673 * configure, config.in: Rebuilt.
11674
11675 2000-07-17 Geoffrey Keating <geoffk@cygnus.com>
11676
11677 * simplify-rtx.c (simplify_relational_operation): Two signed
11678 values with equal high words are less/greater than each other if
11679 their low words are less/greater when considered as unsigned.
11680
11681 Mon Jul 17 02:37:06 2000 Marc Espie <espie@openbsd.org>
11682
11683 * configure.in (vax-*-openbsd): Change to new style configuration,
11684 add collect2/float_format information.
11685 * configure: Rebuilt.
11686 * config/vax/openbsd1.h: New.
11687 * config/vax/openbsd.h: New.
11688 * config/vax/t-openbsd: New.
11689
11690 2000-07-17 Chip Salzenberg <chip@valinux.com>
11691
11692 * c-common.c (shorten_compare): Quiet warnings about unsigned
11693 comparisons with zero when they occur in a system header.
11694
11695 2000-07-17 Joseph S. Myers <jsm28@cam.ac.uk>
11696
11697 * invoke.texi (-pedantic): Refer to ISO C instead of ANSI C, and
11698 update to describe current practice.
11699
11700 * glimits.h (LLONG_MIN, LLONG_MAX, ULLONG_MAX): Define for C99.
11701
11702 * contrib.texi, cpp.texi, extend.texi, invoke.texi: Update
11703 references to C9X. Change references to -fstd and -flang-isoc9x
11704 to refer to -std.
11705
11706 * c-common.c (scan_char_table): Allow "z" length modifiers on
11707 diouxXn formats.
11708 (check_format_info): Use TYPE_DOMAIN on the type matched against
11709 for "z" formats, to retrieve the language size_t rather than the
11710 internal one.
11711
11712 * c-common.c (check_format_info): Do not make a pedantic objection
11713 to the 'L' length modifier if used with a floating point type
11714 character.
11715
11716 * c-lex.c (yylex): Don't pedwarn for hexadecimal floating point
11717 constants in C99 mode.
11718
11719 2000-07-17 Kazu Hirata <kazu@hxi.com>
11720
11721 * h8300.md: Fix the format of mac.
11722 (movsi_h8300hs): Output a tab after stmac instead of a space.
11723
11724 * h8300.c (two_insn_adds_subs_operand): Improve code for detecting
11725 profitable adds/subs sequences.
11726
11727 * fold-const.c: Fix comment typos.
11728
11729 2000-07-16 Laurynas Biveinis <lauras@softhome.net>
11730
11731 * cppfiles.c (read_name_map): Set map_list_ptr->map_list_map to NULL.
11732
11733 2000-07-16 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
11734
11735 * fixinc/fixfixes.c (emit_gnu_type): Avoid string concatenation.
11736
11737 2000-07-16 Neil Booth <NeilB@earthling.net>
11738
11739 * cpplex.c: Update comments.
11740 * README.Portability: Small update.
11741
11742 2000-07-16 Neil Booth <NeilB@earthling.net>
11743
11744 * README.Portability: Small update.
11745
11746 2000-07-15 Richard Henderson <rth@cygnus.com>
11747
11748 * config/ia64/ia64-protos.h (ia64_move_ok): Prototype.
11749 * config/ia64/ia64.c (ia64_move_ok): New function.
11750 * config/ia64/ia64.md (movqi, movqi_internal): Use it.
11751 (movhi, movsi, movdi, movsf, movdf, movxf): Likewise.
11752
11753 2000-07-15 Zack Weinberg <zack@wolery.cumb.org>
11754
11755 * cpphash.c (save_expansion): Clear PREV_WHITE on tokens
11756 immediately following a paste operator.
11757 * cppinit.c (sort_options): New function (only for HOST_EBCDIC).
11758 (cpp_reader_init): Call it, if HOST_EBCDIC.
11759 (cpp_handle_options): Do not sort option list here.
11760 (handle_option): Rename to cpp_handle_option and export.
11761 * cpplex.c (cpp_scan_buffer_nooutput, cpp_scan_buffer): Use
11762 _cpp_get_token directly.
11763 (cpp_scan_line): Return 0 at EOF, 1 otherwise.
11764 * cpplib.c (cpp_push_buffer): Don't set new->lineno to 1.
11765 * cpplib.h: Prototype cpp_handle_option. Update prototype of
11766 cpp_scan_line.
11767
11768 2000-07-15 Richard Henderson <rth@cygnus.com>
11769
11770 * fold-const.c (extract_muldiv): Don't optimize past an unsigned
11771 cast around an expression. Tidy other unsigned tests.
11772
11773 2000-07-15 Gabriel Dos Reis <gdr@codesourcery.com>
11774
11775 * diagnostic.c (doing_line_wrapping, line_wrapper_printf, notice,
11776 v_error_with_decl, v_warning_with_decl, v_pedwarn_with_decl): Remove.
11777 (v_message_with_decl): Rename to ...
11778 (format_with_decl): ... this. Tweak
11779 (diagnostic_for_decl): New function.
11780 (fatal_io_error): Use verbatim in lieu of notice.
11781 (announce_function): Use verbatim.
11782 (default_print_error_function): Likewise.
11783 (error_with_decl, warning_with_decl, pedwarn_with_decl): Use new
11784 infratructure.
11785
11786 2000-07-15 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
11787
11788 * mips.c (function_arg_pass_by_reference): Don't do automatic
11789 aggregate initialization.
11790 (machine_dependent_reorg): Initialize variable `mode'.
11791
11792 * mips.md (absdi2): Change variable `regno1' to unsigned int.
11793 (reload_indi): Rename loword/hiword to lo_word/hi_word to avoid
11794 conflicts with sys/param.h macro of the same name.
11795 (reload_outdi): Likewise.
11796
11797 2000-07-15 Michael Meissner <meissner@redhat.com>
11798
11799 * fold-const.c (fold): When optimizing FOO++ == CONST into ++FOO
11800 == CONST + INCREMENT, don't overwrite the tree node for FOO++,
11801 create a new node instead.
11802
11803 2000-07-15 Neil Booth <NeilB@earthling.net>
11804
11805 * README.Portability: Correct example about calling a function
11806 through a pointer to function. Format wide paragraphs.
11807
11808 2000-07-15 Michael Meissner <meissner@redhat.com>
11809
11810 * README.Portability: Update integer suffixes and function
11811 prototype sections.
11812
11813 2000-07-15 Neil Booth <NeilB@earthling.net>
11814
11815 * README.Portability: Small update.
11816
11817 2000-07-15 Neil Booth <NeilB@earthling.net>
11818
11819 * README.Portability: New file.
11820
11821 Fri Jul 14 18:13:53 2000 Mark P Mitchell <mark@codesourcery.com>
11822
11823 * INSTALL: Give special instructions for building GCC on Irix 6.
11824 * config/mips/x-iris6 (CC): Don't set it.
11825 (OLDCC): Likewise.
11826
11827 2000-07-14 Jason Merrill <jason@redhat.com>
11828
11829 * dwarf2out.c (dwarf2out_frame_debug_expr): If we store the CFA
11830 register in the stack and later in another register, use the new
11831 register.
11832
11833 Fri Jul 14 10:25:53 2000 Clinton Popetz <cpopetz@cygnus.com>
11834
11835 * config/mips/mips.md: (absdi2): Handle sign_extend for
11836 second operand.
11837
11838 2000-07-14 Nathan Sidwell <nathan@codesourcery.com>
11839
11840 * cpplib.c (do_pragma_dependency): Tidy warning messages.
11841
11842 2000-07-14 Zack Weinberg <zack@wolery.cumb.org>
11843
11844 * .cvsignore: Correct typo.
11845
11846 2000-07-13 Mark Mitchell <mark@codesourcery.com>
11847
11848 * .cvsignore: Add generated YACC files.
11849 * objc/.cvsignore: New file.
11850
11851 2000-07-14 Neil Booth <NeilB@earthling.net>
11852
11853 * cpplex.c (adjust_column): New funcion.
11854 (skip_whitespace): Use it.
11855 (skip_block_comment): Use it, and warn about /*/* with
11856 -Wcomments.
11857
11858 2000-07-14 Neil Booth <NeilB@earthling.net>
11859
11860 * cpphash.c (struct macro_info): Add new members.
11861 (_cpp_free_definition): Delete the macro directly.
11862 (count_params): Return void, with first token of
11863 expansion in struct macro_info on success.
11864 (parse_define): Return int. Hoist syntax checking from
11865 save_macro_expansion. Leave call to save_expansion to
11866 _cpp_create_definition.
11867 (alloc_macro): Needs just 2 arguments.
11868 (free_macro): Delete.
11869 (save_expansion): Don't perform syntax check.
11870 (_cpp_create_definition): Call save_expansion.
11871
11872 2000-07-13 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
11873
11874 * genrecog.c (write_header): Split long string.
11875
11876 * cpphash.c (macro_info): Don't use the `signed' keyword.
11877
11878 * system.h (alloca): Prototype if __GNUC__ && __SIZE_TYPE__.
11879
11880 2000-07-13 Jakub Jelinek <jakub@redhat.com>
11881
11882 * calls.c (stored_args_map): New variable.
11883 (check_sibcall_argument_overlap_1): New.
11884 (check_sibcall_argument_overlap): New.
11885 (expand_call): Initialize stored_args_map.
11886 Call check_sibcall_argument_overlap.
11887
11888 2000-07-13 Bruce Korb <bkorb@gnu.org>
11889
11890 * fixinc/fixfixes.c: move EXIT_BROKEN to header, add sub-expr max count
11891 (emit_gnu_type): utility procedure for gnu_type_fix
11892 (gnu_type_fix): implement various pre-processor guards around
11893 standard types so these types can be defined over and over
11894 * fixinc/fixincl.tpl: add a "gnu_type_map" that forces the standard
11895 types alluded to above will have GNU-compliant base types
11896 * fixinc/fixlib.h: add EXIT_BROKEN define and the gnu_type_map struct
11897 * fixinc/inclhack.def: add test_text entries and utilize the new
11898 "gnu_types" fix for the ptrdiff_t, size_t and wchar_t types.
11899 * fixinc/fixincl.x: regenerate
11900
11901 2000-07-12 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
11902
11903 * diagnostic.c (vline_wrapper_message_with_location,
11904 v_message_with_file_and_line, v_error_with_file_and_file,
11905 v_error_for_asm, v_warning_for_asm, vfatal,
11906 v_warning_with_file_and_line, v_pedwarn_with_file_and_line,
11907 vsorry, verror, vwarning, vpedwarn): Remove.
11908 (diagnostic_for_asm): New function.
11909 (pedwarn, error, warning, pedwarn_with_file_and_line,
11910 error_with_file_and_line, warning_with_file_and_line, sorry,
11911 error_for_asm, warning_for_asm, fatal): Reimplement.
11912 (finish_diagnostic): Clear diagnostic info as well.
11913
11914 2000-07-13 Neil Booth <NeilB@earthling.net>
11915
11916 * c-common.h (flag_digraphs): New.
11917 * c-decl.c (c_decode_option): Set flag_digraphs as appropriate.
11918 * c-lex.c (yylex): Use flag_digraphs to decide whether to
11919 honour digraphs.
11920
11921 2000-07-13 Zack Weinberg <zack@wolery.cumb.org>
11922
11923 * gcc.c (do_spec_1): Add new %B operator.
11924 (set_input): Prepare for %B.
11925
11926 (link_command_spec): Move up with the other tm.h-
11927 overrideable specs. Factor out the portion conditional on
11928 LINK_LIBGCC_SPECIAL into a new spec, %(link_libgcc).
11929 (struct compiler): Just have a single spec string. All users
11930 updated.
11931 (default_compilers): Remove unnecessary braces.
11932 (static_specs): Update.
11933
11934 (trad_capable_cpp, cpp_options, cc1_options, asm_options): New
11935 named specs.
11936 (C and assembly specs): Use the new named specs, as appropriate.
11937
11938 * objc/lang-specs.h: Use the new named specs.
11939 Remove unnecessary braces.
11940
11941 2000-07-12 Zack Weinberg <zack@wolery.cumb.org>
11942
11943 * gcc.c (execute): If a subprocess gets a fatal signal, report
11944 strsignal() of the signal number, and ask for a bug report.
11945 Do not do this for SIGPIPE if there's already been an error.
11946
11947 * tradcpp.c: Don't include signal.h. Don't catch SIGPIPE.
11948 Delete pipe_closed.
11949
11950 * tradcif.c: Remove.
11951
11952 2000-07-12 Zack Weinberg <zack@wolery.cumb.org>
11953
11954 * final.c (profile_function): Do not emit profile counters in
11955 the data section, if NO_PROFILE_COUNTERS is defined.
11956 * tm.texi: Document NO_PROFILE_COUNTERS. Update doc for
11957 FUNCTION_PROFILER.
11958
11959 * config/i386/linux.h (NO_PROFILE_COUNTERS): Define.
11960 (FUNCTION_PROFILER): Just emit a call to mcount.
11961
11962 2000-07-12 Zack Weinberg <zack@wolery.cumb.org>
11963
11964 * tradcpp.c (main): Rename 'perror' label to 'sys_error'.
11965
11966 * cppexp.c, cpphash.c, cpphash.h, cppinit.c, cpplex.c,
11967 cpplib.c, cpplib.h: Eradicate all traces of code dependent on
11968 traditional, lang_chill, or lang_fortran.
11969
11970 * cppfiles.c: #undef strcmp to suppress warning about macros
11971 used without arguments.
11972 (_cpp_execute_include): Use f, not fname, in "No include path"
11973 error.
11974 (_cpp_pop_file_buffer): New function.
11975 * cpplib.c: Don't include <sys/mman.h>.
11976 (cpp_push_buffer): Set line_base and lineno in new buffer.
11977 (cpp_pop_buffer): Use _cpp_pop_file_buffer.
11978
11979 * cpplex.c: Move all prototypes and structure declarations to the
11980 top of the file. Properly parenthesise some macro arguments.
11981 (cpp_scan_line): New function.
11982 (special_symbol [case T_INCLUDE_DEPTH]): Use pfile->include_depth,
11983 don't need to walk up the stack counting.
11984
11985 2000-07-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
11986
11987 * c-common.c (combine_strings): Emit a pedantic warning when a
11988 string length is greater than the minimum ANSI C is required
11989 to support.
11990
11991 Wed Jul 12 13:24:30 2000 Jeffrey A Law (law@cygnus.com)
11992
11993 * pa/xm-pa64.h (NO_SYS_SIGLIST): Kill.
11994 * d30v/xm-d30v.h (NO_SYS_SIGLIST): Kill.
11995
11996 2000-07-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
11997
11998 * c-decl.c (define_label): Warn about identifier conflicts with
11999 labels in traditional C.
12000
12001 * c-parse.in (unop +): Warn about the unary plus operator for
12002 traditional C.
12003
12004 * c-typeck.c (store_init_value): Warn about automatic aggregate
12005 initialization for traditional C.
12006
12007 * invoke.texi (-Wtraditional): Document new warnings.
12008
12009 2000-07-12 Gabriel Dos Reis <gdr@codesourcery.com>
12010
12011 * Makefile.in (c-errors.o): Fix thinko in dependency.
12012
12013 2000-07-12 Zack Weinberg <zack@wolery.cumb.org>
12014
12015 * gcc.c (C specs [!USE_CPPLIB]): Invoke tradcpp if any of
12016 -traditional, -ftraditional, or -traditional-cpp was given.
12017 Do not pass -traditional to the preprocessor.
12018 (.S spec): Likewise. Don't bother defining __ASSEMBLER__, the
12019 preprocessor does it automatically.
12020 * objc/lang-specs.h: Likewise. Don't bother defining __OBJC__.
12021
12022 * ch/lang-specs.h: Always use tradcpp. Do not pass
12023 -traditional, -trigraphs, or -pedantic to the preprocessor.
12024 * f/lang-specs.h (.F spec): Likewise. Don't bother defining
12025 _LANGUAGE_FORTRAN.
12026
12027 2000-07-12 Zack Weinberg <zack@wolery.cumb.org>
12028
12029 * cppexp.c (LOGICAL): Delete macro.
12030 (_cpp_parse_expr): Do not use UNARY for unary +. Implement ||
12031 and && directly.
12032
12033 * cpphash.c (HASHSIZE): Increase to 4096.
12034 (struct hashdummy): Add hash field.
12035 (eq_HASHNODE): Compare unreduced hashes, then lengths, then
12036 the string values using memcmp.
12037 (cpp_lookup): Set dummy.hash.
12038
12039 Wed Jul 12 13:15:16 2000 Marc Espie <espie@openbsd.org>
12040
12041 * configure.in (m88k-openbsd): Express configuration using new fragment
12042 style.
12043 * configure: Rebuilt.
12044 * m88k/aout-dbx.h: New.
12045 * m88k/openbsd.h: New.
12046 * m88k/xm-openbsd.h: New.
12047
12048 2000-07-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
12049
12050 * expr.c (expand_expr): Return const0_rtx, not error_mark_node.
12051
12052 2000-07-12 Richard Henderson <rth@cygnus.com>
12053
12054 * reload.c (push_secondary_reload): Make sure to add the new
12055 reload at the end, after acquiring secondary memory.
12056
12057 2000-07-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
12058
12059 * cpplex.c (is_macro_disabled): Use CPP_WTRADITIONAL.
12060
12061 * c-decl.c (set_current_function_name_declared, anon_aggr_type_p,
12062 lang_expand_stmt): Mark parameters with ATTRIBUTE_UNUSED.
12063
12064 * c-parse.in (stmt): Delete unused variables.
12065
12066 * convert.c (convert_to_vector): Likewise.
12067
12068 * gensupport.c (process_rtx): Declare attr as `rtvec' not `rtx'.
12069
12070 * tree.c (finish_vector_type): Prototype.
12071
12072 2000-07-12 Bruce Korb <bkorb@gnu.org>
12073
12074 * fixinc/fixfixes.c: use xmalloc
12075 * fixinc/fixincl.c(initialize): set program name for xmalloc
12076 * fixinc/fixlib.c(must_malloc): obsolete
12077 (is_cxx_header): no longer used - disabled
12078 (skip_quote): inserted and disabled for future use
12079 * fixinc/fixlib.h: reflects above
12080 * fixinc/fixtests.c: removed dinkleberries
12081
12082 2000-07-12 Neil Booth <NeilB@earthling.net>
12083
12084 * cpphash.h: (TOKEN_SPELL) Pulled from cpplex.c.
12085 * cpplex.c (TOKEN_SPELL) Move to cpphash.h.
12086
12087 * cpphash.c: (struct macro_info, alloc_macro, free_macro,
12088 struct toklist_dummy): New.
12089 (cpp_free_definition): Free macros with free_macro.
12090 (count_params): Don't save paramter spellings. Save macro
12091 information in a struct macro_info.
12092 (parse_define): Don't allocate a token list.
12093 (save_expansion): Allocate the macro's token list, and
12094 save parameter spellings if necessary. Use TOKEN_SPELL.
12095 (cpp_create_definition): Make list const.
12096
12097 2000-07-12 Gabriel Dos Reis <gdr@codesourcery.com>
12098
12099 * c-typeck.c (pedwarn_c99): Move to
12100 * c-errors.c: ... Here.
12101 * toplev.h (verror, vwarning, vpedwarn): Remove prototypes.
12102 * diagnostic.c (verror, vwarning, vpedwarn): Make static.
12103 * Makefile.in (C_AND_OBJC_OBJS): Include c-errors.o
12104 (c-errors.o): List dependency.
12105
12106 2000-07-12 Mark Mitchell <mark@codesourcery.com>
12107
12108 * c-parse.c: Remove.
12109 * c-parse.h: Likewise.
12110 * c-parse.y: Likewise.
12111 * objc/objc-parse.c: Likewise.
12112 * objc/objc-pasre.y: Likewise.
12113
12114 2000-07-11 Rodney Brown <RodneyBrown@pmsc.com>
12115
12116 * gcc.texi: Fix minor typos
12117 * extend.texi: Fix minor typos
12118
12119 2000-07-11 Marc Espie <espie@openbsd.org>
12120
12121 * collect2.c (main): Recognize .lo as object files.
12122
12123 2000-07-11 J. David Anglin <dave@hiauly1.hia.nrc.ca>
12124
12125 * pa.c (hppa_encode_label): Store labels in gc memory when ggc_p is
12126 true.
12127
12128 * aclocal.m4 (AC_FUNC_MMAP_ANYWHERE): Extend test to detect systems
12129 with MAP_ANONYMOUS and MAP_ANON.
12130 * configure, config.in: Rebuilt.
12131
12132 2000-07-12 Gabriel Dos Reis <gdr@codesourcery.com>
12133
12134 * diagnostic.c (save_output_state): Remove.
12135 (restore_output_state): Likewise.
12136 (clear_text_info): New function.
12137 (clear_diagnostic_info): Likewise.
12138 (output_text_length, is_starting_newline, output_prefix,
12139 line_wrap_cutoff, ideal_line_wrap_cutoff, prefix_was_emitted_for,
12140 prefixing_policy, output_buffer_ptr_to_format_args): New macros
12141 (set_real_maximum_length, output_set_maximum_length,
12142 output_set_prefix, output_get_prefix, output_set_maximum_length,
12143 output_destroy_prefix, init_output_buffer,
12144 reshape_diagnostic_buffer, output_space_left, output_emit_prefix,
12145 output_add_newline, output_add_character, output_add_space,
12146 output_append_r, output_append, wrap_text, output_format,
12147 output_do_printf, output_printf, output_do_verbatim,
12148 output_verbatim, verbatim): Use them.
12149 (output_clear): Split into cleat_text_info and
12150 clear_diagnostic_info.
12151 (struct output_state): Move to...
12152
12153 * diagnostic.h: ...Here
12154 (struct output_buffer): Adjust.
12155
12156 2000-07-11 Zack Weinberg <zack@wolery.cumb.org>
12157
12158 * cpplex.c (parse_name): No longer inline (premature optimization).
12159 (do_pop_context): Fold into pop_context.
12160 (pop_context): Returns int.
12161 (lex_next): Hoist test for end of directive into pop_context.
12162 (push_macro_context): Returns int; takes just reader and token.
12163 Hoist test for excessive nesting to caller.
12164 (push_arg_context): Returns void; takes just reader and token.
12165 Do not call stringify_arg or get_raw_token.
12166 (get_raw_token): Convert tail recursion through push_arg_context
12167 to a loop at this level. Call stringify_arg here if appropriate.
12168 (maybe_paste_with_next): Convert tail recursion to a while loop.
12169 Hoist test of paste_level to caller.
12170
12171 (stringify_arg): Push arg context at beginning.
12172 (cpp_get_token): Split out core into _cpp_get_token. Call
12173 process_directive here. Throw away CPP_PLACEMARKER tokens.
12174 (_cpp_get_token): Convert tail recursion through
12175 push_macro_context to a loop at this level.
12176 (_cpp_glue_header_name, is_macro_disabled, stringify_arg,
12177 _cpp_get_raw_token): Use _cpp_get_token.
12178 (_cpp_skip_rest_of_line): Drop the context stack directly; do
12179 not call pop_context.
12180 (_cpp_run_directive): Call lex_next directly.
12181
12182 * cpphash.h: Prototype _cpp_get_token.
12183 * cppexp.c (lex): Use it.
12184 * cpphash.c (parse_define): Use it.
12185 * cpplib.c (get_define_node, do_undef, parse_include,
12186 read_line_number, do_line, do_ident, do_pragma, do_pragma_gcc,
12187 do_pragma_implementation, do_pragma_poison, do_pragma_dependency,
12188 parse_ifdef, validate_else): Use it.
12189 (cpp_push_buffer): Tweak error message; abort if anyone tries
12190 to push a buffer while macro expansions are stacked.
12191
12192 2000-07-11 Donn Terry <donnte@microsoft.com>
12193
12194 * cpplex.c (free_macro_args, save_token): Cast arg of free
12195 and/or xrealloc to PTR.
12196 (_cpp_init_input_buffer): Clear all fields of the base context.
12197
12198 Tue Jul 11 15:28:21 CDT 2000 Clinton Popetz <cpopetz@cygnus.com>
12199
12200 * gensupport.c (process_rtx): Make rtl checking stop
12201 complaining about the define_insn while it is being
12202 converted from a define_insn_and_split.
12203
12204 Tue Jul 11 16:26:17 2000 Clinton Popetz <cpopetz@cygnus.com>
12205
12206 * config/mips/mips.c (simple_memory_operand): Access the
12207 INTVAL of the address, not it's containing MEM.
12208
12209 2000-07-11 Bruce Korb <bkorb@gnu.org>
12210
12211 * fixinc/fixtests.c(double_slash): obsolete
12212 (else_endif_label): likewise
12213 * fixinc/inclhack.def(irix_multiline_cmnt): obsolete
12214 (libc1_ifdefd_memx): correct initial comment
12215 and omit the #if/#endif pair from the memxxx declarations
12216 * fixinc/fixincl.x: regen
12217
12218 2000-07-11 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
12219
12220 * cpplex.c (T, I, S, C, N): Avoid non-constant initializers.
12221
12222 2000-07-11 Neil Booth <NeilB@earthling.net>
12223
12224 * cpp.texi: Update.
12225
12226 2000-07-11 Neil Booth <NeilB@earthling.net>
12227
12228 * cppinit.c: (cpp_reader_init): Allow digraphs by default.
12229 (handle_option): Set digraphs according to standard.
12230 Merge OPT_lang_c89 handler with OPT_std_c89.
12231
12232 * cpplex.c: (lex_line, can_paste): Honour digraphs in
12233 accordance with the digraphs flag.
12234
12235 * cpplib.h: (struct cpp_options): New option digraphs.
12236
12237 2000-07-10 Hans-Peter Nilsson <hp@axis.com>
12238 Bruce Korb <bkorb@gnu.org>
12239
12240 * fixinc/inclhack.def (libc1_ifdefd_memx): New fix.
12241 * fixinc/fixincl.x: Regenerate.
12242 * fixinc/tests/base/testing.h: Add testcase.
12243
12244 2000-07-10 Richard Henderson <rth@cygnus.com>
12245
12246 * config/ia64/ia64.c (got_symbolic_operand): New.
12247 (symbolic_operand, move_operand): Revert 0701 change.
12248 * config/ia64/ia64.h (PREDICATE_CODES): Update.
12249 * config/ia64/ia64-protos.h (got_symbolic_operand): Declare.
12250 * config/ia64/ia64.md (movdi): Revert 0701 wrt symbolic_operand;
12251 split the offset into a 14-bit low part instead of a 13-bit low part.
12252 (load_fptr): Mark the mem as unchanging.
12253 (load_symptr): Use got_symbolic_operand.
12254
12255 2000-07-10 Nick Clifton <nickc@cygnus.com>
12256
12257 * libgcc2.c (next_stack_level): Cast result of computation to
12258 (void **) so that the assignment does not generate a warning.
12259
12260 2000-07-10 Chandrakala Chavva <cchavva@redhat.com>
12261
12262 * flags.h : Add new variable flag_single_precision_constant.
12263 * toplev.c (display_help) : Add -fsingle-precision-constant option.
12264 (flag_single_precision_constant): New.
12265 * c-lex.c (yylex): Convert floating point constant to single
12266 precision constant.
12267 * invoke.texi : Add documentation for this new option.
12268
12269 2000-07-10 Gabriel Dos Reis <gdr@codesourcery.com>
12270
12271 * diagnostic.c (output_octal): Second parameter is unsigned.
12272 (output_long_octal): Likewise.
12273 (output_hexadecimal): Likewise.
12274 (output_long_hexadecimal): Likewise.
12275 (output_format): Adjust arguments extraction. Tweak.
12276 (output_verbatim, verbatim): End variable argument list.
12277 (report_diagnostic): Improve documentation.
12278
12279 2000-07-10 Benjamin Chelf <chelf@codesourcery.com>
12280
12281 * c-common.h (build_stmt): Declare.
12282 (build_continue_stmt): Likewise.
12283 (build_break_stmt): Likewise.
12284 (build_return_stmt): Likewise.
12285
12286 * c-decl.c (do_case): Rewrite to do what previously done in
12287 c-parse.in.
12288
12289 * c-semantics.c (build_stmt): Define.
12290 (build_return_stmt): Likewise.
12291 (build_break_stmt): Likewise.
12292 (build_continue_stmt): Likewise.
12293 (build_case_label): Likewise.
12294
12295 * c-parse.in (BREAK): Change to build tree, then generate RTL.
12296 (CONTINUE): Likewise.
12297 (RETURN): Likewise.
12298 (CASE): Likewise.
12299 (DEFAULT): Likewise.
12300
12301 * c-parse.y: Regenerate.
12302 * c-pasre.c: Likewise.
12303
12304 2000-07-09 Jason Merrill <jason@redhat.com>
12305
12306 * expr.c (expand_expr): Bail earlier if we get an error_mark_node.
12307
12308 * tree.h (STRIP_NOPS): Check for error_mark_node.
12309 (STRIP_SIGN_NOPS, STRIP_TYPE_NOPS): Likewise.
12310 (dwarf2out_*): Remove duplicate declarations.
12311
12312 * c-decl.c (duplicate_decls): Copy DECL_ABSTRACT_ORIGIN from
12313 DECL_ABSTRACT_ORIGIN, not DECL_ORIGIN.
12314
12315 2000-07-10 Gabriel Dos Reis <gdr@codesourcery.com>
12316
12317 * diagnostic.c (wrap_text): New function.
12318 (maybe_wrap_text): Likewise.
12319 (output_add_string): Use it.
12320 (output_format): Likewise.
12321 (count_error): Use verbatim instead of notice.
12322 (report_error_function): Likewise. Don't use plain fprintf.
12323 (finish_diagnostic): New function.
12324 (output_do_verbatim): Tweak. Commonalize functionalities in
12325 output_verbatim and verbatim.
12326 (output_verbatim): Adjust.
12327 (verbatim): Likewise.
12328 (report_diagnostic): Define.
12329
12330 * diagnostic.h (report_diagnostic): Prototype.
12331
12332 2000-07-09 Zack Weinberg <zack@wolery.cumb.org>
12333
12334 * cppexp.c (_cpp_parse_expr): Don't use unary plus.
12335
12336 2000-07-09 Neil Booth <NeilB@earthling.net>
12337
12338 * cpphash.h: ISvspace, is_vspace, is_nvspace: New.
12339 IShspace, ISspace: Update.
12340
12341 * cppinit.c: ISTABLE: Update.
12342 V: New.
12343
12344 * cpplex.c (IS_HSPACE, S_NEWLINE): Remove.
12345 (IS_DIRECTIVE): Rename KNOWN_DIRECTIVE.
12346 (skip_block_comment, skip_line_comment, parse_string,
12347 lex_line): Use is_vspace rather than IS_NEWLINE.
12348 (skip_whitespace, lex_line): Clean up to use is_nvspace.
12349 (lex_line): Use KNOWN_DIRECTIVE. Any kind of directive
12350 gets a BOL flag.
12351 (lex_next): Unconditionally stop if within a directive.
12352 Treat directives within macro invocations as directives
12353 (after parse_args emits error), not as the argument.
12354
12355 2000-07-09 Gabriel Dos Reis <gdr@codesourcery.com>
12356
12357 * diagnostic.c (diagnostic_args): New macro.
12358 (diagnostic_msg): Likewise.
12359 (output_formatted_integer): Likewise.
12360 (output_state): New data type.
12361 (digit_buffer): Make global.
12362 (output_add_integer): Rename to output_decimal. Squeeze
12363 digit_buffer.
12364 (output_long_decimal, output_unsigned_decimal,
12365 output_long_unsigned_decimal, output_octal, output_long_octal,
12366 output_hexadecimal, output_long_hexadecimal): New functions.
12367 (output_append_r): New function.
12368 (output_append): Tweak.
12369 (output_flush_on): Rename to output_to_stream.
12370 (output_format): Change prototype. Improve documentation. Handle
12371 more format specifiers.
12372 (build_location_prefix): Rename to context_as_prefix.
12373 (output_notice): Rename to output_do_printf.
12374 (output_printf): Tweak.
12375 (line_wrapper_printf): Likewise.
12376 (vline_wrapper_message_with_location): Adjust call to renamed
12377 functions.
12378 (v_message_with_decl): Likewise.
12379 (default_print_error_function): Likewise.
12380 (save_output_state): New function.
12381 (restore_output_state): Likewise.
12382 (output_do_verbatim): Likewise.
12383 (output_verbatim): Define.
12384 (verbatim): Likewise.
12385
12386 * diagnostic.h (printer_fn): Change return type from void to int.
12387 Improve documentation.
12388 (output_add_integer): Rename to output_decimal.
12389 (output_flush_on, output_format): Don't export.
12390 (output_verbatim, verbatim): Declare.
12391
12392 2000-07-08 Toon Moene <toon@moene.indiv.nluug.nl>
12393
12394 * fold-const.c (extract_muldiv) case PLUS_EXPR, MINUS_EXPR:
12395 Check whether c divides op1 exactly if operation is not
12396 multiplication.
12397
12398 2000-07-08 Richard Henderson <rth@cygnus.com>
12399
12400 * final.c (final): Do not abort when reg-stack introduces
12401 a new insn.
12402
12403 2000-07-08 Zack Weinberg <zack@wolery.cumb.org>
12404
12405 * cpplib.h (struct cpp_name): Now struct cpp_string.
12406 (CPP_INT, CPP_FLOAT, CPP_NUMBER, CPP_COMMENT,
12407 CPP_HEADER_NAME): Change to type S.
12408 (struct cpp_token): Rename 'name' field to 'str'. Add 'node'
12409 field, a cpp_hashnode *. All references to val.name updated
12410 to use val.str or val.node as appropriate.
12411 (struct cpp_reader): Add spec_nodes field.
12412 (cpp_idcmp): Now cpp_ideq; takes a token * and a char *.
12413
12414 * cpphash.h (struct spec_nodes): New.
12415 (enum spell_type): Reorder. Only SPELL_STRING tokens use
12416 val.str. All references to 'spelling > SPELL_NONE' updated to
12417 match.
12418
12419 (CPP_IN_SYSTEM_HEADER): Check pfile->buffer and
12420 pfile->buffer->inc are not NULL before dereferencing them.
12421
12422 * cpplex.c (parse_name): Take a pointer to the current token,
12423 plus current position and limit as args; return the new
12424 position; don't copy the text of a name into the string
12425 buffer, instead call cpp_lookup and store the node pointer.
12426 If extending a token, copy out the text of the old into a
12427 scratch buffer, append the new, look that up and store the new
12428 node pointer. Inline.
12429 (maybe_paste_with_next): If the result of paste is a NAME,
12430 then look up the pasted text and store its node pointer.
12431 (lex_line): Adjust for new parse_name interface.
12432 Check for L"str", L'str' using spec_nodes->n_L.
12433 (spell_token): SPELL_IDENT tokens have their spelling in
12434 val.node->name. Handle SPELL_STRING tokens that don't have
12435 string delimiters.
12436 (_cpp_expand_name_space,
12437 (can_paste): Check for L ## "str" using spec_nodes->n_L.
12438 (cpp_get_token, special_symbol): No need to call cpp_lookup.
12439 (cpp_idcmp): Now cpp_ideq; take a token * and a const char *;
12440 return 1=equal 0=not, not a tristate.
12441
12442 * cpphash.c (var_args_str): Delete.
12443 (find_param): Compare node fields directly.
12444 (is__va_args__): Use CPP_PEDANTIC. Just compare
12445 token->val.node with spec_nodes->n__VA_ARGS__.
12446 (dump_funlike_macro): Don't use var_args_str.
12447
12448 * cpplib.c (_cpp_check_directive): Just walk through
12449 spec_nodes->dirs comparing pointers.
12450 (get_define_node, do_pragma_poison, detect_if_not_defined,
12451 parse_ifdef): The identifier has already been looked up.
12452 (do_ifdef, do_ifndef): parse_ifdef won't return a poisoned
12453 node.
12454 (do_if): Only call detect_if_not_defined at beginning of file.
12455 (_cpp_parse_assertion): Only copy string pointers for
12456 SPELL_STRING tokens.
12457 (pragma_dispatch): Take a node pointer and examine its name
12458 field.
12459 (_cpp_init_stacks): Also initialize the spec_nodes structure.
12460
12461 * cppinit.c (cpp_reader_init): Call _cpp_init_stacks after
12462 _cpp_init_macros.
12463 (cpp_cleanup): Free pfile->spec_nodes. Call _cpp_cleanup_* in
12464 reverse order from the corresponding _cpp_init_* routines.
12465
12466 * cppexp.c (parse_number, parse_charconst, parse_defined,
12467 lex): Check val.node->type instead of calling cpp_defined.
12468 Use spec_nodes entries where appropriate.
12469
12470 * fix-header.c, scan-decls.c: Update for interface changes.
12471
12472 2000-07-08 Geoffrey Keating <geoffk@cygnus.com>
12473
12474 * config/rs6000/rs6000.c (rs6000_emit_move): Fix conditions for
12475 emitting aux_truncdfsf2.
12476
12477 2000-07-03 Donn Terry (donnte@microsoft.com)
12478
12479 * cppinit.c (print_help): split overlong line into ISO C89
12480 maximum chunks.
12481
12482 2000-07-07 Zack Weinberg <zack@wolery.cumb.org>
12483
12484 * cppexp.c: Update all code for new lexer interface.
12485 (op_t, operator codes, struct token, tokentab2, op_to_str): Remove.
12486 (struct suffix, vsuf_1, vsuf_2, vsuf_3, op_to_prio): New.
12487 * cpplex.c (token_names): Trim leading CPP_ from names; make
12488 the strings unsigned.
12489 (_cpp_spell_operator): New.
12490 (is_macro_disabled): Disable all macros if rescanning
12491 preprocessed text.
12492 (_cpp_get_directive_token): Remove.
12493
12494 * cppinit.c: Don't set no_macro_expand.
12495 * cpplib.c (read_line_number, do_line): Check only for EOF,
12496 not VSPACE.
12497 * cpphash.h: Update prototypes.
12498 * cpplib.h (CPP_VSPACE): Remove.
12499 (struct cpp_reader): Remove no_macro_expand.
12500
12501 2000-07-08 Neil Booth <NeilB@earthling.net>
12502
12503 * cpphash.c (is__va_args__): New function.
12504 (count_params): Fix line reported in error messages. Use
12505 is__va_args__. Don't return ')' on error. Flag GNU style
12506 rest args macro definitions.
12507 (parse_define): Check macro name is not __VA_ARGS__.
12508 (save_expansion): Check identifier in non-varargs-macro is
12509 not __VA_ARGS__. Don't flag GNU_VARARGS.
12510 * cpplex.c (parse_args): Accept no argument iff GNU_REST_ARGS.
12511 (maybe_paste_with_next): Use per-macro GNU_REST_ARGS rather
12512 than per-token GNU_VARARGS.
12513 * cpplib.h (GNU_VARARGS): Remove.
12514 (GNU_REST_ARGS): New.
12515
12516 Sat Jul 8 01:38:25 MET DST 2000 Jan Hubicka <jh@suse.cz>
12517
12518 * i386.md (call_pop, call, call_value_pop): Do not set
12519 current_function_uses_pic_offset_table for calls to static
12520 functions or indirect calls.
12521
12522 2000-07-07 Jim Wilson <wilson@cygnus.com>
12523
12524 * config/ia64/ia64.c (rws_access_reg): New local write_count. If
12525 is_predicate_reg, then take max write_count of register pair.
12526
12527 2000-07-07 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
12528
12529 * tradcpp.c (main): Rename label `include' to `add_include' to
12530 avoid conflicts with variable `include' in traditional C.
12531
12532 2000-07-07 Jakub Jelinek <jakub@redhat.com>
12533
12534 * integrate.c (copy_insn_list): Remove REG_LABEL notes.
12535
12536 2000-07-07 Jakub Jelinek <jakub@redhat.com>
12537
12538 * sibcall.c (uses_addressof): Add INMEM argument, check for
12539 current_function_internal_arg_pointer outside of MEM rtxs in addition
12540 to ADDRESSOFs.
12541 (sequence_uses_addressof): Update caller.
12542
12543 2000-07-07 Zack Weinberg <zack@wolery.cumb.org>
12544
12545 * tradcpp.c (initialize_builtins): Honor NO_BUILTIN_SIZE_TYPE
12546 and friends.
12547
12548 2000-07-07 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
12549
12550 * system.h (UNION_INIT_ZERO): New macro for initializing union
12551 members in structs.
12552
12553 * cpplex.c (placemarker_token, eof_token): Use UNION_INIT_ZERO.
12554
12555 2000-07-07 Neil Booth <NeilB@earthling.net>
12556
12557 * cpp.texi: Update.
12558
12559 Fri Jul 7 07:47:35 2000 Jeffrey A Law (law@cygnus.com)
12560
12561 * final.c (final): Detect out of bounds array access to
12562 the insn_lengths array.
12563
12564 2000-07-07 Kazu Hirata <kazu@hxi.com>
12565
12566 * fold-const.c (fold): Fix a comment typo.
12567
12568 2000-07-07 Neil Booth <NeilB@earthling.net>
12569
12570 * cpp.texi: Update to new lexer.
12571
12572 2000-07-06 Zack Weinberg <zack@wolery.cumb.org>
12573
12574 * tradcpp.c: New file.
12575 * tradcif.y: New file.
12576 * tradcif.c: New generated file.
12577
12578 * Makefile.in: Add rules to build tradcpp.o, tradcif.o,
12579 $(srcdir)/tradcif.c. Add tradcpp to STAGESTUFF and
12580 dependencies of C. Install tradcpp from install-common, in
12581 $(libsubdir).
12582
12583 2000-07-06 Zack Weinberg <zack@wolery.cumb.org>
12584
12585 * cppinit.c: Include cppdefault.h. Refer to
12586 cpp_GCC_INCLUDE_DIR and cpp_GCC_INCLUDE_DIR_len, not directly
12587 to GCC_INCLUDE_DIR and its length.
12588 (SIZE_TYPE, PTRDIFF_TYPE, WCHAR_TYPE,
12589 USER_LABEL_PREFIX, REGISTER_PREFIX, struct default_include,
12590 STANDARD_INCLUDE_DIR, STANDARD_INCLUDE_COMPONENT): Move to
12591 cppdefault.h.
12592 (include_defaults_array): Move to cppdefault.c.
12593
12594 * cppdefault.h: New file.
12595 * cppdefault.c: New file.
12596
12597 * Makefile.in (LIBCPP_OBJS): Add cppdefault.o.
12598 (cppinit.o): Don't apply $(PREPROCESSOR_DEFINES) to this file.
12599 (cppdefault.o): New rule; apply $(PREPROCESSOR_DEFINES) to
12600 this file.
12601
12602 Thu Jul 6 18:30:36 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
12603
12604 * reload.c (push_reload): When seeing if can reuse a register,
12605 check extra registers against widest of INMODE and OUTMODE.
12606
12607 2000-07-06 Neil Booth <NeilB@earthling.net>
12608
12609 * cpplib.c: (_cpp_parse_assertion): Perform hash lookups
12610 based on full length of predicate.
12611
12612 2000-07-06 Hans-Peter Nilsson <hp@axis.com>
12613
12614 * timevar.c: [HAVE_SYS_RESOURCE_H]: Include <sys/resource.h>.
12615 [NEED_DECLARATION_GETRUSAGE]: Declare getrusage.
12616
12617 2000-07-05 Kazu Hirata <kazu@hxi.com>
12618
12619 * h8300-proto.h: Fix formatting.
12620 * h8300.c: Likewise.
12621 * h8300.h: Likewise.
12622
12623 2000-07-05 Jim Wilson <wilson@cygnus.com>
12624
12625 * config/ia64/ia64.h (HARD_REGNO_MODE_OK): If FR_REGNO_P, disallow
12626 CCmode.
12627
12628 2000-07-05 Rodney Brown <RodneyBrown@pmsc.com>
12629
12630 * invoke.texi: Fix minor typos
12631 * md.texi: Fix minor typos
12632
12633 2000-07-05 Zack Weinberg <zack@wolery.cumb.org>
12634
12635 * cpplib.c (_cpp_parse_assertion): Fix buffer overrun.
12636
12637 2000-07-04 Zack Weinberg <zack@wolery.cumb.org>
12638
12639 * cpplex.c: Don't include sys/mman.h.
12640 (cpp_push_buffer, cpp_pop_buffer): Moved to cpplib.c.
12641
12642 * cpplib.c: Include sys/mman.h and obstack.h.
12643 (cpp_push_buffer): Moved from cpplex.c; allocate buffers on an
12644 obstack.
12645 (cpp_pop_buffer): Moved from cpplex.c; free buffers from an obstack.
12646 (_cpp_unwind_if_stack): Now static, unwind_if_stack. Don't
12647 bother freeing if stack entries (they will be freed with their buffer).
12648 (do_endif): Free if stack entries from the buffer obstack.
12649 (push_conditional): Allocate if stack entries from the buffer obstack.
12650
12651 (find_answer): Rename to _cpp_find_answer.
12652 (do_assert, do_unassert): Update.
12653
12654 * cpphash.h: Update prototypes.
12655 (xobnew): New convenience macro.
12656 * cpplib.h (struct cpp_reader): Add hash_ob and buffer_ob fields.
12657 Update comments.
12658 (struct cpp_hashnode): Remove disabled field.
12659
12660 * cppinit.c: Don't include hashtab.h or splay-tree.h.
12661 (report_missing_guard): Moved to cppfiles.c.
12662 (cpp_reader_init): Call cpp_init_stacks, cpp_init_macros,
12663 cpp_init_includes.
12664 (cpp_cleanup): Call cpp_cleanup_stacks, cpp_cleanup_macros,
12665 cpp_cleanup_includes. Don't destroy hashtab or
12666 all_include_files here.
12667 (cpp_finish): Use _cpp_report_missing_guards.
12668
12669 * cppfiles.c (report_missing_guard): Moved from cppinit.c.
12670 (_cpp_init_include_table): Rename _cpp_init_includes.
12671 (_cpp_cleanup_includes, _cpp_report_missing_guards): New.
12672
12673 * cppexp.c (parse_assertion): Update for new name of
12674 find_answer.
12675
12676 * Makefile.in (cpplib.o, cpphash.o, cppinit.o): Update deps.
12677
12678 2000-07-04 Zack Weinberg <zack@wolery.cumb.org>
12679
12680 * cpplib.c (do_ident): s/VSPACE/EOF/
12681
12682 2000-07-05 Neil Booth <NeilB@earthling.net>
12683
12684 * cpplex.c: Fix trigraph replacement within strings.
12685
12686 2000-07-04 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
12687
12688 * rs6000/aix.h (ASM_GENERATE_INTERNAL_LABEL): Fix format specifier.
12689
12690 * xcoffout.c (assign_type_number): Constify.
12691 (xcoffout_source_file): Add static prototype. Don't needlessly
12692 cast away const-ness.
12693
12694 2000-07-04 Jason Merrill <jason@redhat.com>
12695
12696 * frame.h (frame_state): Move base_offset to end.
12697
12698 Mon Jul 3 21:31:43 2000 Clinton Popetz <cpopetz@cygnus.com>
12699
12700 * calls.c (emit_library_call_value_1): Revert previous change.
12701
12702 2000-07-03 Zack Weinberg <zack@wolery.cumb.org>
12703
12704 * fix-header.c (struct partial_proto): Remove unnecessary fields.
12705 (recognized_extern, recognized_function, read_scan_file):
12706 Update for new scheme.
12707 (check_protection): It's still a multiple include guard even
12708 if it doesn't always trigger.
12709 * scan-decls.c (skip_to_closing_brace, scan_decls): Update for
12710 new scheme.
12711 * scan.h: Declare struct cpp_token. Update prototypes.
12712
12713 2000-07-03 Neil Booth <neilb@earthling.net>
12714 Zack Weinberg <zack@wolery.cumb.org>
12715
12716 Complete overhaul of the lexer and macro expander.
12717
12718 * cpphash.c (object_defn, funct_defn, push_macro_expansion,
12719 arg, arglist, argdata, reflist, collect_objlike_expansion,
12720 collect_funlike_expansion, collect_params,
12721 warn_trad_stringify, trad_stringify, duplicate_arg_p, add_pat,
12722 unsafe_chars, macarg, compare_defs, special_symbol,
12723 scan_arguments, stringify, funlike_macroexpand,
12724 _cpp_quote_string, monthnames): Delete.
12725 (cpp_lookup, _cpp_free_definition, dump_funlike_macro,
12726 _cpp_create_definition, _cpp_dump_definition,
12727 dump_hash_helper): Adjust.
12728 (find_param, count_params, parse_define, var_args_str,
12729 check_macro_redefinition, save_expansion): New.
12730
12731 * cpplex.c (skip_block_comment, skip_line_comment, parse_name,
12732 parse_string, output_line_command, trigraph_replace,
12733 lex_line, cpp_push_buffer, cpp_pop_buffer, cpp_output_tokens,
12734 cpp_scan_buffer_nooutput, cpp_scan_buffer, cpp_free_toklist,
12735 cpp_idcmp, _cpp_get_directive_token, _cpp_init_input_buffer,
12736 _cpp_skip_rest_of_line): Modify.
12737
12738 (maybe_macroexpand, skip_comment, copy_comment, skip_string,
12739 find_position, null_warning, bump_column, expand_name_space,
12740 pedantic_whitespace, _cpp_output_list, _cpp_slice_toklist,
12741 _cpp_squeeze_toklist, _cpp_scan_until, _cpp_skip_hspace,
12742 _cpp_parse_name, _cpp_lex_token, cpp_get_non_space_token,
12743 _cpp_prescan): Delete.
12744
12745 (dump_param_spelling, process_directive, lex_next,
12746 is_macro_disabled, stringify_arg, expand_context_stack,
12747 output_token, make_string_token, alloc_number_token,
12748 special_symbol, duplicate_token, maybe_paste_with_next,
12749 can_paste, prevent_macro_expansion, restore_macro_expansion,
12750 get_temp_token, release_temp_tokens, quote_string,
12751 token_names, token_spellings, _cpp_expand_name_space,
12752 _cpp_glue_header_name, _cpp_reserve_name_space,
12753 digraph_spellings, trigraph_ok, skip_whitespace, save_comment,
12754 placemarker_token, eof_token, cpp_context, macro_args,
12755 get_raw_token, parse_arg, parse_args, save_token,
12756 push_arg_context, push_macro_context, pop_context,
12757 do_pop_context, free_macro_args, _cpp_get_line,
12758 _cpp_run_directive): New.
12759
12760 * cpplib.c (validate_else, parse_include, push_conditional,
12761 pass_thru_directive, read_line_number, parse_ifdef,
12762 detect_if_not_defined, _cpp_check_directive, do_define,
12763 do_undef, do_include, do_import, do_include_next, do_error,
12764 do_warning, do_ident, do_pragma, pragma_dispatch, gcc_pragmas,
12765 top_pragmas, do_pragma_gcc, do_pragma_implementation,
12766 do_pragma_poison, do_pragma_system_header,
12767 do_pragma_dependency, do_sccs, do_ifdef, do_ifndef, do_else,
12768 dl_elif, do_endif, _cpp_unwind_if_stack, do_assert,
12769 do_unassert, cpp_define, cpp_undef, cpp_assert, cpp_unassert,
12770 cpp_defined): Update for new scheme.
12771 (strtoul_for_line, get_define_node, dump_macro_name,
12772 _cpp_check_linemarker, _cpp_parse_assertion): New.
12773 (_cpp_handle_directive, do_pragma_default): Delete.
12774
12775 * cpphash.h (struct predicate): Now struct answer.
12776 (enum spell_type, struct token_spelling, struct directive,
12777 directive_handler): New.
12778 Update prototypes. Remove unused macros.
12779 * cpplib.h: Update prototypes. Remove unused macros,
12780 structure definitions, and fields.
12781
12782 * cpperror.c (print_containing_files, v_message): Adjust.
12783 * cppexp.c (parse_assertion, lex, parse_escape,
12784 _cpp_parse_expr): Adjust.
12785 * cppfiles.c (open_include_file, _cpp_execute_include,
12786 _cpp_compare_file_date, cpp_read_file, read_include_file):
12787 Adjust.
12788 * cppinit.c (dump_special_to_buffer): Delete.
12789 (append_include_chain, merge_include_chains, cpp_reader_init,
12790 cpp_cleanup, initialize_builtins, builtin_array, cpp_start_read,
12791 cpp_finish, handle_option, print_help): Adjust.
12792 * cppmain.c (main): Adjust.
12793
12794 2000-07-03 Zack Weinberg <zack@wolery.cumb.org>
12795
12796 * cppspec.c (lang_specific_driver): Use double quotes in error
12797 message.
12798
12799 Mon Jul 3 16:53:43 2000 Clinton Popetz <cpopetz@cygnus.com>
12800
12801 * calls.c (emit_library_call_value_1): Use valreg instead
12802 of hard_libcall_value.
12803
12804 2000-07-03 Geoff Keating <geoffk@cygnus.com>
12805
12806 * config/rs6000/rs6000.c (rs6000_emit_move): New function.
12807 * config/rs6000/rs6000-proto.h: Prototype rs6000_emit_move.
12808 * config/rs6000/rs6000.md (movsi): Use rs6000_emit_move.
12809 (movhi): Likewise.
12810 (movqi): Likewise.
12811 (movdf): Likewise.
12812 (movsf): Likewise.
12813 (movdi): Likewise.
12814 (movti): Likewise.
12815
12816 * expmed.c (expand_mult_highpart): Use op1 instead of wide_op1 when
12817 mode instead of wider_mode is being used.
12818
12819 2000-07-03 Jakub Jelinek <jakub@redhat.com>
12820
12821 * config/i386/i386.md (movstrictqi_xor): Use 'q' constraint instead
12822 of 'r'. Use q_regs_operand.
12823 (andsi_1+2): Use q_regs_operand.
12824
12825 2000-07-03 Jakub Jelinek <jakub@redhat.com>
12826
12827 * builtins.c (get_memory_rtx): Always put into alias set 0.
12828
12829 2000-07-03 Nick Clifton <nickc@cygnus.com>
12830
12831 * config/arm/arm.md: Fix post increment and pre increment
12832 peepholes so that they do not generate UNPREDICATBLE opcodes.
12833 (ie ones where the increment clobbers the source/destination).
12834
12835 2000-07-01 Marek Michalkiewicz <marekm@linux.org.pl>
12836
12837 * config/avr/avr.c (out_adj_frame_ptr): Make "frame pointer
12838 change too big for -mtiny-stack" a warning, if larger than 63.
12839 (out_set_stack_ptr): Change the logic so -mno-interrupts is
12840 always safe to use on possible future devices.
12841 (function_prologue): Write SPH before SPL, for consistency.
12842 If interrupt_func_p true, we know we have enabled interrupts.
12843 (avr_num_arg_regs): New function. Round up to even number of
12844 bytes if no -mpack-args or if calling a libgcc function.
12845 (function_arg, function_arg_advance): Use it.
12846 (output_movsisf, ashlsi3_out, ashrsi3_out, lshrsi3_out):
12847 Output "movw" if available.
12848 (out_tsthi, out_tstsi, ashlqi3_out, lshrqi3_out): Change uses
12849 of TEST_HARD_REG_CLASS macro to test_hard_reg_class function.
12850 (asm_output_section_name): Add blanks for consistent output.
12851 (encode_section_info): Set TREE_READONLY for progmem data to
12852 avoid gas warnings about changed section attributes.
12853 (avr_hard_regno_mode_ok): Force non-QImode data to start in
12854 even numbered registers on devices with "movw".
12855 * config/avr/avr.h (MASK_*): Define bits for target_flags.
12856 (TARGET_SWITCHES): Mark help strings for translation.
12857 Add new -mpack-args and -menhanced switches.
12858 (TARGET_OPTIONS): Mark help strings for translation.
12859 (progmem_section): Add section attributes.
12860 * config/avr/avr.md (*movhi, call_insn, call_value_insn):
12861 Output "movw" if available.
12862 (mulqi3, mulqihi3, umulqihi3, mulhi3, *tablejump_enh):
12863 New patterns.
12864 * config/avr/libgcc.S (_mulqi3, _divqi3): Update to the new
12865 call convention (arguments aligned on even registers).
12866 (_cleanup, _exit): Make weak symbols libc can override.
12867
12868 2000-07-03 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
12869
12870 * fp-bit.h: New file.
12871
12872 * fp-bit.c: Move common code, prototypes, etc into fp-bit.h.
12873 Comment #endif statements.
12874 (__thenan_sf, __thenan_df): Add missing braces around initializer.
12875
12876 Mon Jul 3 00:32:47 2000 Jeffrey A Law (law@cygnus.com)
12877
12878 * gcse.c (compute_pre_data): Compute ae_kill using other local
12879 properties instead of calling compute_ae_kill.
12880
12881 * alias.c (init_alias_analysis): Do not call
12882 prologue_epilogue_contains until after reload has completed.
12883
12884 2000-07-02 Benjamin Chelf <chelf@codesourcery.com>
12885
12886 * c-common.h (genrtl_begin_compound_stmt): Remove declaration.
12887 (genrtl_finish_compound_stmt): Likewise.
12888 (genrtl_compound_stmt): Change to return void.
12889
12890 * c-semantics.c (genrtl_begin_compound_stmt): Remove function and
12891 move code from here to ...
12892 (genrtl_compound_stmt): ... here.
12893 (genrtl_finish_compound_stmt): Remove.
12894 (expand_stmt): Add comment.
12895
12896 2000-07-02 Zack Weinberg <zack@wolery.cumb.org>
12897
12898 * c-typeck.c (build_indirect_ref): Use COMPLETE_OR_VOID_TYPE_P
12899 and VOID_TYPE_P.
12900
12901 2000-07-02 Jakub Jelinek <jakub@redhat.com>
12902
12903 * cpplib.h (struct cpp_reader): New field include_depth.
12904 (struct cpp_printer): Rename last_bsd to last_id.
12905 * cppfiles.c (read_include_file): Bump include_depth.
12906 * cpplex.c (cpp_pop_buffer): Decrement include_depth.
12907 (output_line_command): Output correct #line if a header
12908 is including itself and is not protected against multiple inclusion.
12909 Use include_depth instead of buffer_stack_depth, last_id instead of
12910 last_bsd.
12911 * cppinit.c (cpp_start_read): Initialize last_id instead of
12912 last_bsd.
12913
12914 2000-07-01 Benjamin Chelf <chelf@codesourcery.com>
12915
12916 * Makefile.in (C_AND_OBJC_OBJS): Added c-semantics.o.
12917 (c-semantics.o): New target.
12918
12919 * c-common.h (TREE_LANG_FLAG_?): Added documentation.
12920 (genrtl_do_pushlevel): Moved from cp/cp-tree.h.
12921 (genrtl_clear_out_block): Likewise.
12922 (genrtl_goto_stmt): Likewise.
12923 (genrtl_expr_stmt): Likewise.
12924 (genrtl_decl_stmt): Likewise.
12925 (genrtl_if_stmt): Likewise.
12926 (genrtl_while_stmt): Likewise.
12927 (genrtl_do_stmt): Likewise.
12928 (genrtl_return_stmt): Likewise.
12929 (genrtl_for_stmt): Likewise.
12930 (genrtl_break_stmt): Likewise.
12931 (genrtl_continue_stmt): Likewise.
12932 (genrtl_scope_stmt): Likewise.
12933 (genrtl_switch_stmt): Likewise.
12934 (genrtl_case_label): Likewise.
12935 (genrtl_begin_compound_stmt): Likewise.
12936 (gerntl_finish_compound_stmt): Likewise.
12937 (genrtl_compound_stmt): Likewise.
12938 (genrtl_asm_stmt): Likewise.
12939 (genrtl_decl_cleanup): Likewise.
12940 (DECL_ANON_UNION_ELEMS): Likewise.
12941 (emit_local_var): Likewise.
12942 (make_rtl_for_local_static): Likewise.
12943 (expand_cond): Likewise.
12944 (expand_stmt): Likewise.
12945 (c_expand_return): Likewise.
12946 (c_expand_start_case): Likewise.
12947 (do_case): Likewise.
12948 (COMPOUND_STMT_NO_SCOPE): Likewise.
12949 (c_expand_asm_operands): Likewise.
12950 (NEW_FOR_SCOPE_P): New macro.
12951 (expand_expr_stmt_fn): New type.
12952
12953 (set_current_function_name_declared): Likewise.
12954 (current_function_name_declared): Likewise.
12955 (lang_expand_stmt): Likewise.
12956 (stmts_are_full_exprs_p): Likewise.
12957 (anon_aggr_type_p): Likewise.
12958 (lang_expand_expr_stmt): Likewise.
12959 (build_case_label): Likewise.
12960
12961 * c-decl.c (lang_expand_expr_stmt): Initialize.
12962 (stmts_are_full_exprs_p): Define.
12963 (current_function_name_declared): Likewise.
12964 (do_case): Likewise.
12965 (lang_expand_stmt): Likewise.
12966 (set_current_function_name_declared): Likewise.
12967 (anon_aggr_type_p): Likewise.
12968
12969 * c-semantics.c: New file.
12970 (expand_cond): Moved from cp/semantics.c.
12971 (genrtl_do_pushlevel): Likewise.
12972 (genrtl_clear_out_block): Likewise.
12973 (genrtl_goto_stmt): Likewise.
12974 (genrtl_expr_stmt): Likewise.
12975 (genrtl_decl_stmt): Likewise.
12976 (genrtl_if_stmt): Likewise.
12977 (genrtl_while_stmt): Likewise.
12978 (genrtl_do_stmt): Likewise.
12979 (genrtl_return_stmt): Likewise.
12980 (genrtl_for_stmt): Likewise.
12981 (genrtl_break_stmt): Likewise.
12982 (genrtl_continue_stmt): Likewise.
12983 (genrtl_scope_stmt): Likewise.
12984 (genrtl_switch_stmt): Likewise.
12985 (genrtl_case_label): Likewise.
12986 (genrtl_begin_compound_stmt): Likewise.
12987 (genrtl_finish_compound_stmt): Likewise.
12988 (genrtl_compound_stmt): Likewise.
12989 (genrtl_asm_stmt): Likewise.
12990 (genrtl_decl_cleanup): Likewise.
12991 (make_rtl_for_local_static): Moved from cp/decl.c.
12992 (emit_local_var): Likewise.
12993 (expand_stmt): Define.
12994
12995 * c-tree.h: (c_expand_asm_operands): Moved to c-common.h.
12996 (c_expand_return): Likewise.
12997 (c_expand_start_case): Likewise.
12998
12999 2000-07-01 Richard Henderson <rth@cygnus.com>
13000
13001 * config/ia64/ia64.c (symbolic_operand): Reject CONST expressions
13002 with the low 13 bits set.
13003 (move_operand): Check for CONST|SYMBOL_REF|LABEL_REF directly.
13004 * config/ia64/ia64.md (movdi): Likewise. Expand a CONST with one
13005 of the low 13 bits into a CONST plus an adddi3.
13006 (load_symptr): Set RTX_UNCHANGING_P.
13007
13008 See ChangeLog.3 for earlier changes.