]> gcc.gnu.org Git - gcc.git/blame - gcc/ChangeLog
* config/sparc/sparc.md: Test TARGET_ARCH64 instead of TARGET_PTR64.
[gcc.git] / gcc / ChangeLog
CommitLineData
7a2bf7af
RK
1Mon Jan 1 07:38:33 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
2
3 * config/sparc/sparc.md: Test TARGET_ARCH64 instead of TARGET_PTR64.
4
14be28e5
MH
52001-01-01 Michael Hayes <mhayes@redhat.com>
6
86fee241
MH
7 * loop.c (check_insn_for_bivs): Use ivs->n_regs to check array bounds.
8 (find_mem_givs, record_biv, maybe_eliminate_biv): Likewise.
9 (record_initial): Likewise.
10 * unroll.c (copy_loop_body, loop_iterations): Likewise.
11 (remap_split_bivs): Likewise.
12
132001-01-01 Michael Hayes <mhayes@redhat.com>
14
b2735d9a
MH
15 * loop.c (loop_ivs_free): New function.
16 (strength_reduce): Break out from...
17
182001-01-01 Michael Hayes <mhayes@redhat.com>
19
14be28e5
MH
20 * loop.h (struct iv): New.
21 (REG_IV_TYPE, REG_IV_CLASS, REG_INFO): Modify to use 'struct iv'.
22 (struct loop_ivs): Replace 'reg_iv_type', 'reg_iv_info',
23 'reg_biv_class' fields with 'regs' and 'n_regs'.
24 (struct ivs): Rename 'loop_iv_list' field to 'list'.
25 * loop.c (loop_bivs_find, strength_reduce): Use ivs->regs array.
26 * unroll.c (loop_iterations): Check array bounds with ivs->n_regs.
27
1d2215fe
AO
282000-12-31 Alexandre Oliva <aoliva@redhat.com>
29
30 * resource.c (mark_referenced_resources): Abort() before
31 attempting to mark a pseudo register.
32 (mark_set_resources): Likewise.
33
8b634749
MH
342001-01-01 Michael Hayes <mhayes@redhat.com>
35
36 * loop.h (REG_IV_CLASS): New accessor macro.
37 * loop.c (REG_IV_CLASS): Use it instead of reg_iv_class array.
38 * unroll.c (REG_IV_CLASS): Likewise.
39
b4ae5201
RK
40Sun Dec 31 19:20:51 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
41
42 * dwarf2out.c (loc_descriptor_from_tree, case WITH_RECORD_EXPR): New.
43 (loc_descriptor_from_tree, case SAVE_EXPR): New.
44
e304a8e6
MH
452001-01-01 Michael Hayes <mhayes@redhat.com>
46
47 * loop.c (loop_giv_reduce_benefit): Break out from strength_reduce.
48 (loop_givs_dead_check, loop_givs_reduce, loop_givs_rescan): Likewise.
49 (prescan_loop): Set pre_header_has_call in loop_info.
50 * loop.h (struct_iv_class): Add `final_value' and `all_reduced'.
51 (struct loop_info): Add `pre_header_has_call'.
52
6ec73c7c
MH
53 * loop.c (loop_bivs_find): Break out from strength_reduce.
54 (loop_bivs_init_find, loop_bivs_check, loop_givs_find): Likewise.
55 (loop_givs_check, loop_biv_eliminable_p): Likewise.
56
b8056b46
MH
57 * loop.c (LOOP_REG_LIFETIME, LOOP_REG_GLOBAL_P): Define.
58 (scan_loop, record_giv): Use LOOP_REG_LIFETIME and LOOP_REG_GLOBAL_P.
59
8529a489
MH
60 * loop.h (REGNO_FIRST_LUID, REGNO_LAST_LUID): Define.
61 * loop.c (REGNO_FIRST_LUID, REGNO_LAST_LUID): Use in place of
62 direct access to uid_luid array.
63 * unroll.c (REGNO_FIRST_LUID, REGNO_LAST_LUID): Likewise.
64
6ec92010
MH
65 * loop.h (struct loop_movables): New.
66 (LOOP_MOVABLES): New.
67 (struct loop_info): Add movables field.
68 * loop.c (struct movables): Delete. Replace all uses
69 with struct loop_movables.
70 (the_movables): Delete. Replace all uses with movables
71 field in loop_info.
72 (loop_movables_add, loop_movables_free): New functions.
73 (scan_loop): Use xmalloc instead of alloca for movables.
74 Call loop_movables_free.
6ec92010 75
685efa54
MH
76 * loop.c (debug_loops): New.
77
e0cf507b
PB
782000-12-31 Philip Blundell <philb@gnu.org>
79
80 * config/arm/linux-gas.h (CLEAR_INSN_CACHE): Add missing asm
81 operands.
82
711d4bb3
RH
832000-12-30 Richard Henderson <rth@redhat.com>
84
85 * dbxout.c (dbxout_block): Invert logic on eliding LBRAC/RBRAC.
86 Initialize variables properly for DBX_LBRAC_FIRST.
87
27fb3e16
RK
882000-12-30 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
89
90 * expr.c (expand_expr, case COMPONENT_REF): Fix typo in last change.
91
019fa094
KG
922000-12-30 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
93
94 * builtins.c (validate_arglist): New function, use it.
95
f18969c0
PB
962000-12-30 Philip Blundell <philb@gnu.org>
97
98 * config/arm/arm.c (arm_expand_prologue): Fix typos in error
99 message and comment. Note location of testcase for an unhandled
100 situation.
101
2df88e9f
JO
1022000-12-30 Jeffrey Oldham <oldham@codesourcery.com>
103
104 * defaults.h (BUILD_VA_LIST_TYPE): New definition.
105 * tree.c (build_common_tree_nodes_2): Ensure the va_list_type_node
106 is a copy, not an alias.
107
1da68f56
RK
1082000-12-30 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
109
b367c416
RK
110 * calls.c (calls_function_1, case CONSTRUCTOR): New case.
111
1da68f56
RK
112 * alias.c (alias_sets_conflict_p): New function.
113 (mems_in_disjoint_alias_sets_p): Use it.
114 (readonly_fields_p): Moved from expr.c; check for record type.
115 (objects_must_conflict_p): New function.
116 * calls.c (expand_call): Use assign_temp as much as possible, use
117 readonly variant if assigned once, and don't set memory attributes.
118 (emit_library_call_value_1, store_one_arg): Likewise.
119 * integrate.c (expand_inline_function): Likewise.
120 * stmt.c (expand_asm_operands, expand_return): Likewise.
121 * expr.c (copy_blkmode_from_reg, store_constructor): Likewise.
122 (store_field, save_noncopied_parts, expand_expr): Likewise.
123 (expand_expr_unaligned): Likewise.
124 (readonly_fields_p): Moved to alias.c.
125 (safe_from_p): Rework handling of SAVE_EXPR.
126 MEMs ony conflict if alias sets conflict; likewise for INDIRECT_REF.
127 * function.c (struct temp_slot): Delete field ALIAS_SET; add TYPE.
128 (assign_stack_for_temp): Use objects_must_confict_p.
129 Set all memory attributes from type, if specified.
130 (mark_temp_slot): Mark TYPE field.
131 * tree.h (alias_sets_conflict_p, readonly_fields_p): New decls.
132 (objects_must_conflict_p): Likewise.
133
134 * stmt.c (expand_decl): Don't use assign_stack_temp in error case.
135 (add_case_node): No need to copy nodes anymore.
136
b94544e4
AO
1372000-12-30 Alexandre Oliva <aoliva@redhat.com>
138
139 * config/sh/sh.c (split_branches): Don't dereference re-computed
140 `beyond' before checking it's non-NULL.
141
b57d6be8
RL
1422000-12-29 Robert Lipe <robertl@sco.com>
143
144 Remove COFF support from i?86-pc-sco3.2v5.
145 * i386/sco5.h (PREFERRED_DEBUGGING_TYPE): Change to Dwarf II.
146 (TARGET_ELF): Now always true.
147 (SUBTARGET_SWTICHES: )Remove -mcoff.
148
149 * i386/t-sco5 (MULTILIB_OPTIONS, MULTILIB_DIRNAMES,
150 MULTILIB_EXCEPTION): Nuke coff.
151 (CRTSTUFF_T_CFLAGS_S): Deleted.
152 (TARGET_LIBGCC2_CFLAGS): Added.
153
e1b4533c
AO
1542000-12-29 Alexandre Oliva <aoliva@redhat.com>
155
156 * varasm.c (output_constant_def): Don't ENCODE_SECTION_INFO
157 twice. Update desc->rtl and ->label, in case ENCODE_SECTION_INFO
158 modifies them.
159
08394eef
BS
1602000-12-29 Bernd Schmidt <bernds@redhat.com>
161
b5d37c6f
BS
162 * ia64.c (ia64_expand_load_address): Accept additional scratch
163 register argument. All callers & prototype changed.
164 Use scratch register when generating load_symptr insns.
165 * ia64.md (movdi_symbolic): Clobber a scratch register. Use it
166 when calling ia64_expand_load_address.
167 (movdi): Generate movdi_symbolic with additional operand.
168 (load_gprel64): Use pic_offset_table_rtx instead of (reg:DI 1).
169 (load_symptr): Likewise. Use additional operand as a scratch
170 register instead of generating it here.
171
de10dbf5 172 * basic-block.h: Add a comment.
6152c64a
BS
173 * flow.c (PROP_POSTRELOAD): New macro.
174 (update_life_info): Add it to prop_flags.
175 (mark_set_1): If it is set, compute REG_N_SETS for the original
176 register number of a hard reg.
177
08394eef
BS
178 * emit-rtl.c (gen_raw_REG): New function.
179 (gen_rtx_REG, gen_reg_rtx, init_emit_once): Use it instead of
180 gen_rtx_raw_REG.
181 * print-rtl.c (print_rtx): Print ORIGINAL_REGNO.
182 * final.c (alter_subreg): Update it.
183 * regrename.c (do_replace): Likewise. Use gen_raw_REG.
184 * rtl.def (REG): Update comment.
185 * rtl.h (X0UINT, ORIGINAL_REGNO): New macros.
186 (gen_raw_REG): Declare.
187
e1a132c6
RK
1882000-12-29 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
189
5538d8a0
RK
190 * tree.c (get_set_constructor_bits): Use host_integerp and
191 tree_low_cst.
192
c2fd66f4
RK
193 * local-alloc.c (update_equiv_regs): Don't use copy_rtx on PATTERN.
194
e1a132c6
RK
195 * toplev.c (main): Call xmalloc_set_program_name.
196 * gcc.c (main): Likewise.
197
5184f7c5
PB
1982000-12-29 Philip Blundell <philb@gnu.org>
199
200 * config/arm/arm.c (arm_override_options): Fix typo in warning
201 message.
202
c17f08e1
RH
2032000-12-29 Richard Henderson <rth@redhat.com>
204
205 * config/alpha/alpha.c (alpha_expand_block_move): Initialize
206 src_align and dst_align in bits. Do unaligned quadword loads
207 if possible for BWX too.
208 (alpha_expand_block_clear): Initialize align in bits. Track
209 small leading offsets into a larger alignment. Play games with
210 stq_u for large 4-byte aligned blocks. Use load/mask/store
211 for appropreately aligned heads and tails.
212
f523247a
AO
2132000-12-29 Alexandre Oliva <aoliva@redhat.com>
214
215 * function.c (assign_parms): Convert arguments passed by
216 reference to the right mode.
217
fb8b656c
GK
2182000-12-28 Geoffrey Keating <geoffk@redhat.com>
219
220 * c-parse.in (select_or_iter_stmt): Use truthvalue_conversion
221 on the condition of a FOR statement, so that it gets typechecked
222 and optimised.
223
6b5273c3
AO
2242000-12-29 Alexandre Oliva <aoliva@redhat.com>
225
68940175
AO
226 * c-decl.c (grokdeclarator): Prevent crash in case of overflow in
227 array size.
228
6b5273c3
AO
229 * calls.c (emit_library_call_value_1): Add to call_fusage the
230 stack slot assigned to argument passed by reference.
231
328a8516
JO
2322000-12-28 Jeffrey Oldham <oldham@codesourcery.com>
233
234 * toplev.h (extern really_sorry): Remove extern declaration for
235 nonexistent function.
236
212addfa
JO
2372000-12-28 Jeffrey Oldham <oldham@codesourcery.com>
238
239 * varasm.c (initializer_constant_valid_p): Indicate subtraction of
240 pointers to the same string constant is absolute.
241
26f6672d
JM
2422000-12-28 Joseph S. Myers <jsm28@cam.ac.uk>
243
244 * c-common.c (enum format_type): Add strfmon_format_type.
245 (decl_attributes): Handle format attributes strfmon and
246 __strfmon__.
247 (FMT_FLAG_USE_DOLLAR, FMT_FLAG_ZERO_WIDTH_BAD,
248 FMT_FLAG_EMPTY_PREC_OK): Define.
249 (format_char_info): Update comment for flag_chars.
250 (format_flag_spec): Add skip_next_char.
251 (format_kind_info): Add left_precision_char.
252 (printf_flag_specs, scanf_flag_specs, strftime_flag_specs,
253 format_types): Update for these new structure members and flags.
254 (time_char_table): Make const.
255 (strfmon_length_specs, strfmon_flag_specs, strfmon_flag_pairs,
256 monetary_char_table): New.
257 (format_types): Add details of strfmon formats.
258 (init_function_format_info): Create default attribute for strfmon.
259 (check_format_info_main): Check the new flags. Handle
260 skip_next_char and left precision.
261 * toplev.c (documented_lang_options): Update description of
262 -Wformat.
263 * extend.texi: Document strfmon format attributes. Document
264 attribute forms such as __printf__. Clarify format_arg attribute
265 documentation.
266 * invoke.texi (-Wformat): Update for strfmon formats.
267
df7978d9
AJ
2682000-12-28 Andreas Jaeger <aj@suse.de>
269
270 * expmed.c (store_bit_field): Fix last patch.
271
78362efb
AO
2722000-12-28 Alexandre Oliva <aoliva@redhat.com>
273
274 * config/sh/crt1.asm (start_l): `__SH4_SINGLE_ONLY__' was missing
275 the trailing `__'.
276
3ba35c91 2772000-12-28 Alan Lehotsky <lehotsky@tiac.net>
5da1e2c4
AL
278
279 * expmed.c (store_bit_field): Correctly compute smallest mode that
280 is sufficient to contain all bits we are storing.
281
6385a28f
KG
2822000-12-27 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
283
284 * builtins.c (build_function_call_expr): New function. Use it
285 everywhere in lieu of manually constructing a CALL_EXPR.
286
57ec4709
CC
2872000-12-27 Chandrakala Chavva <cchavva@redhat.com>
288
289 * calls.c (store_one_arg): If parm is passed both in stack and in
290 register and offset is greater than reg_parm_stack_space, split
291 the offset and call emit_push_insn().
292
37f25cb9
NC
2932000-12-27 Nick Clifton <nickc@redhat.com>
294
295 * ifcvt.c (noce_emit_store_flag): Handle jump insns that are
296 PARALLEL.
297
715e2ab1
AO
2982000-12-27 Alexandre Oliva <aoliva@redhat.com>
299
300 * rtl.c (copy_most_rtx, shallow_copy_rtx): Copy frame_related
301 flag.
302
47986760
BK
3032000-12-27 Bruce Korb <bkorb@gnu.org>
304
305 * fixinc/Makefile.in: fix for ancient Bourne shell
306 * fixinc/Makefile.BEOS: obsolete
307 * fixinc/Makefile.DOS: obsolete
46159c15 308 * fixinc/fixincl.sh(LINKS): use `test -d' rather than `ls' for testing
47986760 309
0a1bb917
BS
3102000-12-27 Bernd Schmidt <bernds@redhat.com>
311
312 * sched-deps.c (get_condition, conditions_mutex_p): New functions.
313 (add_dependence): Use them to avoid adding unnecessary dependencies
314 between conditionally executed insns.
315 (sched_analyze_1, sched_analyze_2, sched_analyze_insn): Don't free
316 dependency lists if current insn is a COND_EXEC.
317
6cbadf36
GK
3182000-12-27 Geoffrey Keating <geoffk@redhat.com>
319
320 * config/rs6000/rs6000.md (define_attr "length"): Correct
321 calculation.
322
a3027199
KH
3232000-12-26 Kazu Hirata <kazu@hxi.com>
324
3e39bdb9
KH
325 * config/h8300/h8300.c: Fix a comment typo.
326 (get_shift_alg): Fix a typo in the assembly code for 12-bit
327 ASHIFTRT in HImode. Do not output extra whitespace after one line
328 of assembly code. Output a tab after an opcode instead of a
329 space.
330 (emit_a_shift): Output a tab after an opcode instead of a space.
a3027199 331
33d5e2dc
MM
3322000-12-23 Marek Michalkiewicz <marekm@linux.org.pl>
333
334 * config/avr/avr.c (out_movqi_r_mr, out_movhi_r_mr, out_movsi_r_mr,
335 out_movsi_mr_r, out_movqi_mr_r, out_movhi_mr_r): Use %o instead of
336 %4 in output templates, do not modify operands passed by the caller.
337
29b5ca41
JM
3382000-12-23 Joseph S. Myers <jsm28@cam.ac.uk>
339
340 * builtins.def (BUILT_IN_LABS, BUILT_IN_LLABS, BUILT_IN_IMAXABS):
341 Don't define.
342 * builtins.c (expand_builtin): Don't handle BUILT_IN_LABS,
343 BUILT_IN_LLABS and BUILT_IN_IMAXABS.
344 * c-common.c (c_common_nodes_and_builtins): Use BUILT_IN_ABS for
345 builtin labs, llabs and imaxabs.
346 (expand_tree_builtin): Don't handle BUILT_IN_LABS, BUILT_IN_LLABS
347 and BUILT_IN_IMAXABS.
348
fc2aaf30
JM
3492000-12-23 Joseph S. Myers <jsm28@cam.ac.uk>
350
351 * c-common.c (builtin_function_2): New function.
352 (c_common_nodes_and_builtins): Use it to define each pair (foo,
353 __builtin_foo) of builtins in one place.
354
0692b39c
JM
3552000-12-22 Joseph S. Myers <jsm28@cam.ac.uk>
356
357 * gccbug.in: Add libgcj and preprocessor categories.
358
394411d5
BS
3592000-12-22 Bernd Schmidt <bernds@redhat.com>
360
361 * config/ia64/ia64.c (itanium_reorder): Only schedule stops in
362 the final scheduling pass.
363
b53ef1a2
NC
3642000-12-22 Nick Clifton <nickc@redhat.com>
365
6f7ebcbb
NC
366 * config/arm/arm.h (struct machine_function): Add new field
367 'lr_save_eliminated'.
368 * config/arm/arm.c (arm_compute_save_reg_mask): Do not include the
369 link register if its save has been eliminated.
370 (output_arm_prologue): Mention if the save of the link register
371 has been eliminated.
372 (output_arm_epilogue): Rename 'live_regs_mask' to
373 'saved_regs_mask'.
374 Test 'saved_regs_mask' for the link register, not regs_ever_live.
375 (arm_expand_prologue): If the link register has not been saved set
376 lr_save_eliminated and emit a USE to prevent later passes from
377 scavenging it.
378
b53ef1a2
NC
379 * dwarf2out_frame_debug_expr: Allow the (scratch) frame
380 pointer to be initialised from the stack pointer plus a
381 constant.
382
fe08a886
BS
3832000-12-22 Bernd Schmidt <bernds@redhat.com>
384
385 * regrename.c (struct du_chain): New field "earlyclobber".
386 (enum scan_actions): Remove unused entry "note_reference".
387 (enum scan_actions_name): Likewise.
388 (note_sets, clear_dead_regs, merge_overlapping_regs): New static
389 functions.
390 (regrename_optimize): Use them to compute unavailable regs; get
391 rid of the more simpleminded code we used to have here.
392 Use a tick array to ensure registers are allocated in a more
393 round-robin way. Disable code that only optimizes registers
394 that were seen more than once.
395 (referenced_regs): Remove variable.
396 (scan_rtx_reg): New arg "earlyclobber". All callers changed.
397 Store its value in newly generated du_chain structures.
398 Add new du_chains at the end, not the start, of the list.
399 Don't handle the "note_reference" action.
400 (scan_rtx): New arg "earlyclobber". All callers changed.
401 (build_def_use): Lose code to keep track of referenced regs.
402
fc608b03
KG
4032000-12-22 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
404
405 * Makefile.in (sched-deps.o, sched-rgn.o): Fix dependency typo.
406
407 * fp-bit.h (usi_to_float): Add prototype.
408
83ab3907
KG
409 * i386.c (ix86_expand_builtin): Delete unused label.
410
411 * dwarf2out.c (file_info_cmp): Prototype.
fc608b03
KG
412 (dwarf2out_line): Hide variable `old_in_use'.
413
414 * objc-act.c (objc_fatal): Delete.
415
416 * sched-vis.c (visualize_stall_cycles): Remove unused variable.
417
418 * system.h (getopt): Fix error in last change.
419
420 * varasm.c (assemble_trampoline_template): Constify.
421
a545190e
JM
4222000-12-22 Jason Merrill <jason@redhat.com>
423
424 * collect2.c (main): Use auto_demangling.
425
fd81f5f6
AO
4262000-12-22 Alexandre Oliva <aoliva@redhat.com>
427
428 * function.c (assign_parms): Update parm's DECL_INCOMING_RTL
429 when optimizing PARALLEL to REG.
430
98c17df2
GS
4312000-12-22 Graham Stott <grahams@redhat.com>
432
433 * reload.c (update_auto_inc_notes): New, broken out from ...
434 (find_reloads_address_1): ... use here, also correct possible
435 use of uninitialised reloadnum.
436
78abb7b1
DB
4372000-12-21 David O'Brien <obrien@FreeBSD.org>
438
439 * config/freebsd.h (LIB_SPEC): remove -kthread option.
440
1fb9c5cd
MH
4412000-12-22 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
442
443 * resource.c (mark_set_resources): Use MARK_SRC_DEST for
444 PRE_MODIFY and POST_MODIFY cases.
445
446 * rtlanal.c (side_effects_p): Handle PRE_MODIFY and POST_MODIFY.
447
6e4fcc95
MH
4482000-12-22 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
449
450 * md.texi (Looping Patterns): New node.
451
a60b5209
JM
4522000-12-21 Joseph S. Myers <jsm28@cam.ac.uk>
453
454 * gcc.texi, cpp.texi: Update last-updated dates.
455
c165f94f
CC
4562000-12-21 Chandrakala Chavva <cchavva@redhat.com>
457
458 * varasm.c (output_addressed_constants): Use language specific
459 expander on unknown nodes.
460
98c17df2 4612000-12-21 Graham Stott <grahams@redhat.com>
f7cfa78d
GS
462
463 * combine.c (distribute_notes): Handle REG_NON_LOCAL_GOTO notes.
464
2130b7fb
BS
4652000-12-21 Bernd Schmidt <bernds@redhat.com>
466
467 * Makefile.in (out_object_file): Depend on sched-int.h.
468 * rtl.h (single_set_1): New macro.
469 (single_set_2): Renamed from single_set_1 and extra argument added.
470 * rtlanal.c (single_set_2): Likewise.
471
472 * config/ia64/ia64-protos.h (get_bundle_name, ia64_issue_rate,
473 ia64_adjust_cost, ia64_sched_init, ia64_sched_finish,
474 ia64_sched_reorder, ia64_sched_reorder2, ia64_variable_issue):
475 Declare.
476 * config/ia64/ia64.c: Include "sched-int.h".
477 (hard_regno_rename_ok): Also disallow renaming from the various
478 reg_save_* regs.
479 (ia64_safe_itanium_requiers_unit0, ia64_safe_itanium_class,
480 ia64_safe_type, init_insn_group_barriers, group_barrier_needed_p,
481 safe_group_barrier_needed_p, fixup_errata): New static functions.
482 (rtx_needs_barrier): Handle bundle selector and cycle display
483 insns.
484 (emit_insn_group_barriers): Accept additional FILE * arg. All
485 callers changed. Rework to only generate stop bits between
486 basic blocks that haven't been inserted by scheduling.
487 (struct bundle, struct ia64_packet): New structures.
488 (NR_BUNDLES, NR_PACKETS): New macros.
489 (bundle, packets, type_names): New static arrays.
490 (ia64_final_schedule): New variable.
491 (ia64_single_set, insn_matches_slot, ia64_emit_insn_before,
492 gen_nop_type, finish_last_head, rotate_one_bundle, rotate_two_bundles,
493 cycle_end_fill_slots, packet_matches_p, get_split, find_best_insn,
494 find_best_packet, itanium_reorder, dump_current_packet, schedule_stop):
495 New static functions.
496 (ia64_issue_rate, ia64_sched_init, ia64_sched_reorder,
497 ia64_sched_finish, ia64_sched_reorder2, ia64_variable_issue): New
498 functions.
499 (ia64_reorg): Perform a final scheduling pass.
500 * config/ia64/ia64.h (CONST_COSTS): Slightly increase SYMBOL_REF costs.
501 (MAX_CONDITIONAL_EXECUTE, ADJUST_COST, ISSUE_RATE, MD_SCHED_INIT,
502 MD_SCHED_REORDER, MD_SCHED_REORDER2, MD_SCHED_FINISH,
503 MD_SCHED_VARIABLE_ISSUE): Define macros.
504 (ia64_final_schedule): Declare variable.
505 * config/ia64/ia64.md (attr itanium_class): Add some more classes.
506 (attr type): Account for them.
507 (itanium_requires_unit0): New attribute.
508 (function units): Rewrite.
509 (some splitters): Don't create scheduling barriers here.
510 (gr_spill_internal, gr_restore_internal): Don't predicate the
511 pseudo-op.
512 (nop_m, nop_i, nop_f, nop_b, nop_x, cycle_display, cycle_display_1,
513 bundle_selector): New patterns.
514 (insn_group_barrier): Now has an operand.
515
5f446d21
DD
5162000-12-21 DJ Delorie <dj@redhat.com>
517
518 * dwarf2out.c (simple_decl_align_in_bits): new
519 (field_byte_offset): Try both the type align and the
520 decl align, use whichever works, preferring the type align.
521
e98df22a
JM
5222000-12-21 Joseph S. Myers <jsm28@cam.ac.uk>
523
524 * gccbug.in: Fix typo.
525
9d680205
BK
5262000-12-20 Benjamin Kosnik <bkoz@redhat.com>
527
528 * Makefile.in (gcc_gxx_target_include_dir): Use instead of
529 build_tooldir and libstdcxx_incdir.
530
01c70ab0
RL
5312000-12-20 Robert Lipe <robertlipe@usa.net>
532
533 * haifa-sched.c (schedule_block): Provide empty source statement
534 if not MD_SCHED_REORDER2.
535
4b01bd16
RH
5362000-12-20 Richard Henderson <rth@redhat.com>
537
538 * rtl.h (REG_NON_LOCAL_GOTO): New.
539 * rtl.c (reg_note_name): Update.
540 * stmt.c (expand_goto): Emit a REG_NON_LOCAL_GOTO note.
541 * builtins.c (expand_builtin_longjmp): Likewise.
542 * flow.c (make_edges): Check for REG_NON_LOCAL_GOTO and do
543 not emit an edge.
544
dfaf5abf
MM
5452000-12-20 Marek Michalkiewicz <marekm@linux.org.pl>
546
547 * config/avr/avr.c (out_movsi_r_mr, out_movsi_mr_r, out_movhi_mr_r):
548 Do not output undefined opcodes where source or destination register
549 overlaps with modified pointer register. Handle (X + d) addresses.
550 * config/avr/avr.md (*movhi, *movsi, *movsf): Correct insn length
551 in alternatives with memory operand.
552
64094f6a
RH
5532000-12-20 Richard Henderson <rth@redhat.com>
554
a545190e
JM
555 * c-typeck.c (build_asm_stmt): New, broken out from ...
556 (c_expand_asm_operands): ... here. Just do rtl expansion.
557 (c_expand_return): Return the new stmt node.
558 (c_start_case, do_case): Likewise.
559 * c-common.c (c_expand_expr_stmt): Likewise.
560 * c-common.h: Update declarations.
561 * c-tree.h: Likewise.
562 * c-semantics.c (build_stmt): Use STMT_LINENO not TREE_COMPLEXITY.
563 * c-parse.in (fndef): Set DECL_SOURCE_LINE to the open brace.
564 (nested_function, notype_nested_function): Likewise.
565 (compstmt): Return the compound statement not the binding level.
566 (lineno_labeled_stmt): Simplify.
567 (lineno_stmt, lineno_label): Set STMT_LINENO.
568 (stmt, label): Return the new stmt node.
64094f6a 569
fd7bcd6f
BS
5702000-12-20 Bernd Schmidt <bernds@redhat.com>
571
18e720b3
BS
572 * Makefile.in (OBJS): Add sched-ebb.o.
573 (sched-ebb.o): New rule.
574 (sched-vis.o): Depend on hard-reg-set.h and $(BASIC_BLOCK_H).
575 (haifa-sched.o): Depend on insn-flags.h.
576 * haifa-sched.c: Include "insn-flags.h".
577 (priority): Don't access BLOCK_NUM, use the new contributes_to_priority
578 callback.
579 * rtl.h (schedule_ebbs): Declare.
580 * sched-int.h (struct sched_info): Add new members
581 contributes_to_priority and compute_jump_reg_dependencies.
582 * sched-rgn.c (contributes_to_priority, compute_jump_reg_dependencies):
583 New functions.
584 (region_sched_info): Add them.
585 * sched-vis.c: Include "hard-reg-set.h" and "basic-block.h".
586 * sched-ebb.c: New file.
587 * sched-deps.c (sched_analyze_insn): Add code to handle JUMP_INSNs.
588
fd7bcd6f
BS
589 * flow.c (ior_reg_cond, and_reg_cond, elim_reg_cond): Properly
590 handle all relational operators.
591
99c8c61c
AO
5922000-12-20 Alexandre Oliva <aoliva@redhat.com>
593
594 * final.c (output_addr_const): Use ASM_OUTPUT_SYMBOL_REF.
595 * tm.texi: Document it.
596
1eddfef1
BK
5972000-12-19 Benjamin Kosnik <bkoz@redhat.com>
598
599 * Makefile.in (-DGPLUSPLUS_TOOL_INCLUDE_DIR): Use build_tooldir
600 instead of gcc_tooldir.
601
051a55e0
JDA
6022000-12-19 John David Anglin <dave@hiauly1.hia.nrc.ca>
603
604 * system.h (getopt): Update prototype to match include/getopt.h.
605
b088998d
JDA
6062000-12-19 John David Anglin <dave@hiauly1.hia.nrc.ca>
607
608 From Jeff Law.
609 * pa.c (basereg_operand): Simplify.
610
288c2c9e
BS
6112000-12-19 Bernd Schmidt <bernds@redhat.co.uk>
612
79c2ffde
BS
613 * haifa-sched.c (rm_line_notes): Arguments are now head and tail,
614 not block number. All callers and prototype changed.
615 (set_priorities): Likewise.
616 (save_line_notes): Add head and tail arguments; all callers and
617 prototype changed.
618 (restore_line_notes): Likewise. Don't crash on insns generated
619 during scheduling.
620 (schedule_block): Don't use BLOCK_HEAD/BLOCK_END macros.
621 Call MD_SCHED_INIT with additional argument.
622 When starting a new cycle, emit cycle_display insns if available.
623 Don't stop scheduling when encountering a JUMP_INSN, but add another
624 call to schedule_more_p in the inner loop.
625 Call MD_SCHED_REORDER2 after scheduling an insn.
626 Call MD_SCHED_FINISH once all insns are scheduled.
627 (sched_init): Compensate for the fact that get_block_head_tail
628 doesn't include leading notes.
629 * sched-deps.c (free_deps): Free vectors here.
630 * sched-rgn.c (compute_block_backward_dependencies): Not here.
631 (last_was_jump): New static variable.
632 (schedule_more_p): Test it.
633 (init_ready_list): Initialize it.
634 (can_schedule_ready_p): Set it if we have a JUMP_INSN.
635
636 * config/i386/i386.h (MD_SCHED_INIT): Add new arg.
637 * config/m32r/m32r.h (MD_SCHED_INIT): Add new arg.
638 * config/sparc/sparc.h (MD_SCHED_INIT): Add new arg.
639
640 * md.texi (cycle_display): Document.
641 * tm.texi (MD_SCHED_INIT): Document new arg.
642 (MD_SCHED_FINISH, MD_SCHED_REORDER2): Document.
643
288c2c9e
BS
644 * flow.c (ior_reg_cond, nand_reg_cond, not_reg_cond): Rewrite
645 to use different representation. All callers changed.
646 (and_reg_cond): Renamed from nand_reg_cond; caller changed.
647 (init_propagate_block_info): Don't test flags to determine
648 whether to compute conditional lifetimes.
649 Adjust code for new representation of conditional lifetimes.
650 (mark_regno_cond_dead): Similar adjustment.
651 (free_reg_cond_life_info): Similar adjustment.
652 (elim_reg_cond): New function.
653 (flush_reg_cond_1): Use it.
654
6a69653a
CM
6552000-12-19 Catherine Moore <clm@redhat.com>
656
657 * reload1.c (reload_combine): Take multi-hard-regs into account
658 when processing CALL_INSN_FUNCTION_USAGE.
659
3c0b7970
JM
6602000-12-19 Joseph S. Myers <jsm28@cam.ac.uk>
661
662 * invoke.texi (-print-search-dirs): Make references to cpp refer
663 to cpp0 instead.
664
9d2dc7da
KG
6652000-12-18 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
666
667 * fold-const.c (tree_expr_nonnegative_p): Treat truth values as
668 non-negative.
669
d0b6af71
R
670Tue Dec 19 00:37:08 2000 J"orn Rennecke <amylaar@redhat.com>
671
672 * reload.c (push_reload): When using a dying register for the reload
673 register in an in-out reload, use outmode if wider than inmode.
674
3173ca64
JM
6752000-12-19 Joseph S. Myers <jsm28@cam.ac.uk>
676
677 * config/d30v/d30v.h (EXIT_BODY): Update comment.
678
9e9b9afe
JM
6792000-12-18 Joseph S. Myers <jsm28@cam.ac.uk>
680
681 * config.gcc (*-*-linux*): Don't define HAVE_ATEXIT or BSTRING.
682 * tm.texi (EXIT_BODY): Update documentation.
683 * config/freebsd.h, config/netware.h, config/arm/coff.h,
684 config/arm/conix-elf.h, config/arm/unknown-elf.h,
685 config/d30v/d30v.h, config/mcore/mcore.h, config/pj/pj.h,
686 sparc/sp86x-aout.h: Remove definitions of HAVE_ATEXIT (some
687 commented out) and associated comments.
688
20d380b1
JM
6892000-12-18 Joseph S. Myers <jsm28@cam.ac.uk>
690
691 * c-common.c (STD_C9L, ADJ_STD): Define.
692 (printf_length_specs, scanf_length_specs): Mark "ll" as standard
693 STD_C9L.
694 (T99_LL): Rename to T9L_LL.
695 (T99_ULL): Rename to T9L_ULL.
696 (print_char_table, scan_char_table): Use T9L_LL and T9L_ULL
697 instead of T99_LL and T99_ULL.
698 (check_format_info_main): Use ADJ_STD on all format standard
699 versions being compared.
700 * c-common.h: Declare warn_long_long.
701 * c-tree.h: Don't declare warn_long_long.
702
2cb5082c
JM
7032000-12-18 Joseph S. Myers <jsm28@cam.ac.uk>
704
705 * COPYING: Update to current
706 ftp://ftp.gnu.org/pub/gnu/Licenses/COPYING-2.0 (fixes references
707 to 19yy as example year in copyright notice).
708
665ad678
NB
7092000-12-18 Neil Booth <neil@daikokuya.demon.co.uk>
710
711 * c-lex.c (cb_file_change): Treat in_system_header as strictly
712 boolean (0 or 1).
713
3cab4133
NB
7142000-12-18 Neil Booth <neil@daikokuya.demon.co.uk>
715
716 * cppmain.c: Update print.lineno with -P.
717
eb1f4d9d
NB
7182000-12-18 Neil Booth <neil@daikokuya.demon.co.uk>
719
720 * c-lex.c: s/change_file/file_change.
721 * cpplib.h: Similarly.
722 * cppmain.c: Similarly.
723 * fix-header.c: Similarly.
724 * cppfiles.c (stack_include_file): Pass the buffer location and
725 size to cpp_push_buffer. Generate the file_change callback,
726 so that sysp is already set.
727 * cpphash.h: Add _cpp_do_file_change.
728 * cpplib.c (do_line): Set buffer->sysp directly. Generate the
729 file_change callback after setting sysp.
730 (_cpp_do_file_change): Handle FC_ENTER and the FC_RENAME exception
731 here.
732 (cpp_push_buffer): Don't generate a callback. Clear sysp.
733 (cpp_pop_buffer): Clean up logic.
734
e2187d3b
BK
7352000-12-18 Benjamin Kosnik <bkoz@redhat.com>
736
737 * configure.in (gcc_gxx_include_dir): Simplify.
738 (libstdcxx_incdir): Export.
739 * configure: Regenerate.
740 * Makefile.in (PREPROCESSOR_DEFINES): Add in
741 GPLUSPLUS_TOOL_INCLUDE_DIR bits here..
742 (libstdcxx_incdir): Add.
743 * cppdefault.c (GPLUSPLUS_TOOL_INCLUDE_DIR): Add search path.
744
851ef036
NB
7452000-12-18 Neil Booth <neil@daikokuya.demon.co.uk>
746
747 * c-lex.c (lex_lineno): Remove.
748 (init_c_lex, c_lex): Remove lex_lineno.
749 (cb_change_file): Update lineno correctly, both before calling
750 push_srcloc and before leaving the function.
751 (cb_def_pragma): Set lineno before outputting diagnostics.
752
f2aca197
RK
753Sun Dec 17 18:45:41 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
754
755 * print-tree.c (print_node): Print DECL_USER_ALIGN and TYPE_USER_ALIGN.
756 Print TYPE_MIN_VALUE and TYPE_MAX_VALUE for REAL_TYPE.
757 Use print_node_brief to print bounds.
758
49fe13f6
NB
7592000-12-17 Neil Booth <neil@daikokuya.demon.co.uk>
760
761 * cpplib.h (struct cpp_reader): Remove references to string_pool
762 and temp_string_pool.
763 * cppinit.c (cpp_create_reader, cpp_cleanup): Similarly; using
764 ident_pool in place.
765 * cpplex.c (parse_number, unescaped_terminator_p, parse_string,
766 save_comment, cpp_token_as_text): Similarly.
767 * cpplib.c (do_define, glue_header_name, parse_assertion): Similarly.
768 * cppmacro.c (make_number_token, builtin_macro, lock_pools,
769 unlock_pools, stringify_arg, paste_tokens): Similarly.
770
ed972b14
RK
771Sun Dec 17 12:41:48 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
772
773 * dwarf2out.c (loc_descriptor_from_tree, case NOP_EXPR): New case.
774 (loc_descriptor_from_tree, case CONVERT_EXPR): Likewise.
775 (loc_descriptor_from_tree, case NON_LVALUE_EXPR): Likewise.
776
e108653c
RE
7772000-12-17 Richard Earnshaw <rearnsha@arm.com>
778
779 * Makefile.in (check-po): Use $(MAKE).
780 (risky-stage1, risky-stage2, risky-stage3, risky-stage4): Likewise.
781
dfbf62ec
NB
7822000-12-17 Neil Booth <neil@daikokuya.demon.co.uk>
783
784 * cppmain.c (check_multiline_token): New function.
785 (scan_buffer): Use it.
786 (cb_change_file): Restructure to avoid warning.
787 * cpperror.c (print_location): Initialize col.
788
04650349 7892000-12-14 Philipp Thomas <pthomas@suse.de>
ed972b14 790
04650349
PT
791 * protoize.c (main): Correctly set locale categories.
792 * gcc.c (main): Likewise.
793 * cppmain.c (general_init): Likewise.
794 * toplev.c (main): Likewise.
795 * gcov.c (main): Likewise.
796 * collect2.c (main): Likewise.
797
60291474
KG
7982000-12-17 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
799
800 * c-common.c (c_common_nodes_and_builtins): Create a
801 cstring_endlink, use it. Rename int_ftype_string_string to
802 int_ftype_cstring_cstring, string_ftype_string_int to
803 string_ftype_cstring_int, and string_ftype_string_string to
804 string_ftype_cstring_cstring. Prefer sizetype_endlink and
805 int_endlink to manually recreating them. Fix the prototype
806 set for __builtin_strspn/__builtin_strcspn.
807
cf14485b
MM
8082000-12-12 Marek Michalkiewicz <marekm@linux.org.pl>
809
810 * config/avr/avr.c (out_set_stack_ptr): Update comment.
811 (print_operand): Add support for %~ and %o.
812
8e0ed3b5
HB
8132000-12-17 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
814
815 * c4x.h: Add ASM_OUTPUT_DEF definition for bounded pointer code.
816
ad2a084d
NB
8172000-12-17 Neil Booth <neil@daikokuya.demon.co.uk>
818
819 * c-lex.c: Move main_input_filename handling to FC_ENTER. Clean up.
820 * cpperror.c (print_containing_files): Get right line number.
821 (print_location): Output column of 1 if 0.
822 * cppfiles.c (stack_include_file): cpp_push_buffer handles
823 the callback.
824 * cpphash.h (_cpp_do_file_change): No longer external.
825 * cpplib.c (do_file_change): Now local to cpplib.c.
826 (do_line): Fake a buffer stack for preprocessed files.
827 (cpp_push_buffer): Create a file_change callback. Handle faked
828 buffers.
829 (cpp_pop_buffer): Similarly.
830 * cpplib.h: BUF_FAKE: New buffer type.
831 * cppmain.c: Update to handle correct file renaming where a
832 #line is the first line of the main file, and produce only
833 the renamed file, not the original file, as output.
834
3b67042a
MH
8352000-12-17 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
836
837 * config/c4x/c4x.md: Remove redundant @s from output patterns.
838
9f416fac
MH
8392000-12-17 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
840 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
841
842 * config/c4x/c4x.h (REGISTER_TARGET_PRAGMAS): Call c4x_init_pragma.
843
844 * config/c4x/c4x-protos.h (c4x_init_pragma): New prototype.
845
846 * config/c4x/c4x.c (c4x_init_pragma): New function.
847 (c_lex_func): New variable.
848 (c4x_parse_pragma): Use c_lex_func.
849
94eebed9
MH
8502000-12-17 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
851 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
852
853 * config/c4x/c4x.h (MD_INIT_BUILTINS): Add void_list_node argument
854 to c4x_init_builtins.
855
856 * config/c4x/c4x-protos.h (c4x_init_builtins): Add tree argument.
857
858 * config/c4x/c4x.c (c4x_init_builtins): Add tree argument.
859 (c4x_output_ascii): Fix.
860
66f77154 8612000-12-17 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
8a119a7d 862 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
66f77154 863
8a119a7d
MH
864 * config/c4x/c4x.h (MD_INIT_BUILTINS, MD_EXPAND_BUILTIN): Define.
865
866 * config/c4x/c4x-protos.h (c4x_init_builtins): New prototype.
867 (c4x_expand_builtin): Likewise.
868
869 * config/c4x/c4x.c (c4x_init_builtins): New function.
870 (c4x_expand_builtin): Likewise.
871
872 * config/c4x/c4x.md (floatunsqihf2): New pattern.
873 (*floatqihf2_set, *fixhfqi_set, fix_trunchfqi2): Likewise.
874 (fixuns_trunchfqi2, toieee, frieee, *ldhf_conditional): Likewise.
875 (*ldhf_conditional_noov, movhfcc, trap, cond_trap_cc): Likewise.
876 (*toieee_movqf_clobber, *frieee_movqf_clobber): Likewise.
877
8782000-12-17 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
879
66f77154
MH
880 * libgcc2.h: Use Wtype for SItype and DWtype for DItype in prototypes.
881 * libgcc2.c (__absvsi2): Use Wtype and DWtype.
882 (__absvdi2, __addvsi3, __addvdi3, __subvsi3): Likewise.
883 (__subvdi3, __mulvsi3, __mulvdi3, __negvsi2, __negvdi2): Likewise.
884
f11009b7
AO
8852000-12-16 Alexandre Oliva <aoliva@redhat.com>
886
887 * config/sh/sh.h (INITIALIZE_TRAMPOLINE): Enclose the block
888 statement in do/while(0).
889
2bed3391
JH
890Sat Dec 16 19:56:24 MET 2000 Jan Hubicka <jh@suse.cz>
891
892 * i386.md (ashrsi3_cmpno, ashrhi3_cmpno, ashrqi3_cmpno, lshrsi3_cmpno,
893 lshrhi3_cmpno): Remove redundant '@' from the template.
894
895 * i386.md (cmpstrsi_1): Fix type of the compare.
896
897 * genattrtab.c (attr_rtx_cost): New function.
898 (simplify_test_exp): Avoid overactive inlining; use temporary
899 obstacks for tests.
900
23cb454a
RK
901Sat Dec 16 10:41:11 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
902
b372743a
RK
903 * diagnostic.c (finish_abort): Deleted.
904 (fatal): Add code from finish_abort.
905 (error_recursion, fancy_abort): Call fatal, not finish_abort.
906 (trim_filename): Remove leading "../".
907 * diagnostic.h (finish_abort): Deleted.
908 * toplev.c (crash_signal): Call fatal, not finish_abort.
909
67011d81
RK
910 * stor-layout.c (place_field): Treat overflowing DECL_SIZE_UNIT
911 as if size were variable.
912
23cb454a
RK
913 * expmed.c (expand_mult): Write REG_EQUAL note with proper mode.
914
3244472d
NB
9152000-12-16 Neil Booth <neil@daikokuya.demon.co.uk>
916
917 * tradcpp.c: T_WARNING: New.
918 (do_warning): New function.
919 (finclude): Skip past the newline and increase the line number
920 before calling output_line_command.
921 (do_line): Skip the new line after output_line_command. Don't
922 pre-decrement the line number.
923
112550d3
DN
9242000-12-15 Diego Novillo <dnovillo@redhat.com>
925
926 * i386/unix.h (ASM_OUTPUT_MI_THUNK): Fix references to
927 _GLOBAL_OFFSET_TABLE_ when using Intel syntax.
928
be768055
JJ
9292000-12-15 Jakub Jelinek <jakub@redhat.com>
930
931 * gcc.c (cpp_options): Pass -fno-operator-names.
932 * cpplib.h (struct cpp_options): Add operator_names.
933 * cppinit.c (cpp_create_reader): Initialize it.
934 (initialize_builtins): If -fno-operator-names, don't add
935 C++ alternate operator names.
936 (COMMAND_LINE_OPTIONS): Add -fno-operator-names.
937 (cpp_handle_option): Clear operator_names.
938
745b9093
JM
9392000-12-15 Jason Merrill <jason@redhat.com>
940
941 * jump.c (jump_optimize_1): Don't delete the line note after the
942 prologue even if it seems redundant.
943
944 * config/arm/arm.c (arm_expand_prologue): Set RTX_FRAME_RELATED_P
945 on all insns used to adjust the stack.
946
ad334b51
JH
947Fri Dec 15 15:32:16 MET 2000 Jan Hubicka <jh@suse.cz>
948
949 * combine.c (cant_combine_insn_p): Get around SUBREGs when determining
950 hardreg<->reg moves.
951
29360e56
JH
952Fri Dec 15 14:48:37 MET 2000 Jan Hubicka <jh@suse.cz>
953
954 * genrecog.c (add_to_sequence): Remove special case for
955 const_int_operand.
956 (maybe_both_true): Return 1 when falling out of sequence when
957 trying to find common possition in the pattern.
958
dde068d9
JH
959Fri Dec 15 14:44:51 MET 2000 Jan Hubicka <jh@suse.cz>
960
961 * integrate.c (copy_rtx_and_substitute): Copy mode too.
962
0bf7d71a
JH
963Fri Dec 15 14:11:57 MET 2000 Jan Hubicka <jh@suse.cz>
964
965 * flow.c (notice_stack_pointer_modification_1): Cleanup.
966
b33493e3
AO
9672000-12-15 Alexandre Oliva <aoliva@redhat.com>
968
969 * function.c (adjust_trampoline_addr): New function.
970 (trampoline_address): Call it instead of round_trampoline_addr().
971 * tm.texi (TRAMPOLINE_ADJUST_ADDRESS): Document it.
972
0eda43ce
ZW
9732000-12-14 Zack Weinberg <zack@wolery.stanford.edu>
974
975 * cppfiles.c (hack_vms_include_specification): Delete function
976 (not used since 1998).
977
4cf37b4a
R
978Fri Dec 15 03:37:51 2000 J"orn Rennecke <amylaar@redhat.com>
979
980 * haifa-sched.c (sched_init): Don't put a note in front of any BARRIER.
981
1d79fd2c
JW
9822000-12-14 Jim Wilson <wilson@redhat.com>
983
984 * alias.c (get_alias_set): Call record_component_aliases for
985 COMPLEX_TYPE.
986 (record_component_aliases): Handle COMPLEX_TYPE.
987
e7103ad2
KG
9882000-12-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
989
990 * fixinc/gnu-regex.c: Disable NLS.
991
34c659e2
RH
9922000-12-14 Richard Henderson <rth@redhat.com>
993
c53f9f5b
RH
994 * config/alpha/alpha.c (alpha_emit_conditional_move): Do not swap
995 comparison operands when that would create non-canonical rtl.
996
34c659e2
RH
997 * config/i386/i386.md (umulsi3_highpart): Remove * from name.
998 (smulsi3_highpart): Likewise.
999
7667db9b
NB
10002000-12-14 Neil Booth <neil@daikokuya.demon.co.uk>
1001
1002 * gcc.c (cpp_options): Add -remap.
1003
196a37f4
NB
10042000-12-14 Neil Booth <neil@daikokuya.demon.co.uk>
1005
1006 * gcc.c (cpp_options): Update to use '&'.
1007 (struct switchstr): Change type of validated to save space.
1008 New member 'ordering'.
1009 (handle_braces, validate_switches): Update to handle '&'.
1010
413c5c85
LB
10112000-12-13 Laurynas Biveinis <lauras@softhome.net>
1012
1013 * fixinc/inclhack.def: skip stdio_va_list fix if __DJ_va_list
1014 found in a header.
1015 * fixinc/fixincl.x: regenerated.
1016
60a8ab96
DD
10172000-12-13 DJ Delorie <dj@redhat.com>
1018
1019 * config.gcc (cygwin, win32, mingw32): Use float-i386.h.
1020
14dd2402
TT
10212000-12-13 Tom Tromey <tromey@redhat.com>
1022
1023 * gcc.c (handle_braces): Handle %{<S*} spec correctly.
1024
e68a6ce1
AO
10252000-12-13 Alexandre Oliva <aoliva@redhat.com>
1026
1027 * function.c (assign_parms): Optimize incoming PARALLELs into
1028 REGs if possible.
1029
2629a114
BK
10302000-12-13 Bruce Korb <bkorb@gnu.org>
1031
1032 * fixinc/Makefile.in(*): substantial rewrite to accommodate systems
1033 that cannot handle bi-directional pipes, viz. BeOS and DOS.
1034 * fixinc/fixlib.h(IGNORE_ARG): new macro
1035 (STATIC): define for all of fixinc to use
1036 * fixinc/fixfixes.c(*): eliminate unused arg warnings
1037 * fixinc/fixtests.c(*): ditto
1038 * fixinc/fixincl.c(start_fixer): chain_open now uses const arg list
1039 * fixinc/gnu-regex.c: reorder some includes to avoid _GNU_SOURCE
1040 warning. Also, eliminate the ``#ifdef emacs'' stuff.
1041 (re_syntax_options): make global as it is declared so.
1042 * fixinc/mkfixinc.sh: process the argument list more consistently
1043 (beos/msdosdjgpp): set TARGETS to twoprocess vs. oneprocess
1044 * fixinc/procopen.c(globals): include "fixlib.h" for std defs
1045 * fixinc/server.c(globals): ditto
1046 * fixinc/server.h(defines): ditto
1047
c36ee164
NB
10482000-12-13 Neil Booth <neil@daikokuya.demon.co.uk>
1049
1050 * tradcpp.c (special_symbol): Improve test for definedness,
1051 though it is still not perfect.
1052 (do_define): Don't define illegal macro names.
1053
a65fd88a
AH
10542000-12-07 Aldy Hernandez <aldyh@redhat.com>
1055
1056 * config/mips/elf.h (ASM_OUTPUT_SECTION_NAME): emit @nobits
1057 if changing into .bss section.
1058 * config/mips/elf64.h: same.
1059 * config/mips/iris6.h: same.
1060 * config/mips/netbsd.h: same.
1061 * config/mips/openbsd.h: same.
1062
8767c894
NB
10632000-12-13 Neil Booth <neil@daikokuya.demon.co.uk>
1064
1065 * cppfiles.c (read_name_map): Return null if open () fails.
1066 (remap_filename): Simplify logic. Add ICE if it doesn't work
1067 as expected. Perform secondary lookup attempt on base filename
1068 only.
1069
a4377974
JH
1070Wed Dec 13 19:48:04 MET 2000 Jan hubicka <jh@suse.cz>
1071
1072 * flow.c (notice_stack_pointer_modification_1): Notice midifications
1073 using PRE_MODIFY and POST_MODIFY.
1074
c6d79bee
JH
1075Wed Dec 13 17:25:32 MET 2000 Jan Hubicka <jh@suse.cz>
1076
1077 * genoutput.c (process_template): Add sanity checking for '@' templates.
1078
b639e6e4
BS
10792000-12-13 Bernd Schmidt <bernds@redhat.co.uk>
1080
1081 * simplify-rtx.c (cselib_finish): Free reg_values and used_regs
1082 varrays.
1083
ffc0eab4
MS
10842000-12-12 Mike Stump <mrs@wrs.com>
1085
1086 * Makefile.in (distclean): Remove safe-ctype.c as well.
1087
1df97aa4
BL
10882000-12-12 Brad Lucier <lucier@math.purdue.edu>
1089
1090 * tradcpp.c (do_error): Cast difference of pointers to int
1091 for error message.
1092
edf11378
FS
10932000-12-12 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
1094
1095 * config/rs6000/linux.h (HANDLE_PRAGMA_PACK_PUSH_POP): Move from here...
1096 * config/rs6000/sysv4.h (HANDLE_PRAGMA_PACK_PUSH_POP): ...to here.
1097
4d4182e9
JW
10982000-12-12 Jim Wilson <wilson@redhat.com>
1099
1100 * rtlanal.c (may_trap_p): Check operand modes of LE, LT, GE, and GT.
1101
2b60b2cb
AO
11022000-12-12 Alexandre Oliva <aoliva@redhat.com>
1103
1104 * configure.in: Simplify language enabling/disabling code.
1105 * configure: Rebuilt.
1106 * ch/config-lang.in (target_libs): Set.
1107 (build_by_default): Set to no.
1108 * cp/config-lang.in (target_libs): Set.
1109 * f/config-lang.in (target_libs): Set.
1110 * java/config-lang.in (target_libs): Set.
1111 * objc/config-lang.in (target_libs): Set.
1112
e793c609
NB
11132000-12-12 Neil Booth <neil@daikokuya.demon.co.uk>
1114
1115 * tradcpp.c (enum node_type): Add T_ERROR.
1116 (do_error): New function.
1117 (directive_table): Add #error handler.
1118
d033a989
FS
11192000-12-12 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
1120
1121 * configure.in (HAVE_AS_DWARF2_DEBUG_LINE): Enable .file/.loc check
1122 for powerpc*-*-*.
1123 * configure: Regenerated.
edf11378 1124 * config/rs6000/linux.h (HANDLE_PRAGMA_PACK_PUSH_POP): Define.
d033a989
FS
1125 * config/rs6000/rs6000.c (rs6000_unique_section): Use
1126 STRIP_NAME_ENCODING.
1127
27b18383
JL
1128Mon Dec 11 13:51:09 2000 Jeffrey A Law (law@cygnus.com)
1129
1130 * pa.c (cmpib_comparison_operator): Remove GEU and LTU.
1131 * pa.h (PREDICATE_CODES, cmpib_comparison_operator): Corresponding
1132 changes.
1133
37082e6d
BK
11342000-12-11 Bruce Korb <bkorb@gnu.org>
1135
1136 * fixinc/fixincl.tpl: initialize all fields for warnings
1137 * fixinc/fixincl.x: regenerate
1138
4028c3a1
NB
11392000-12-11 Neil Booth <neilb@earthling.net>
1140
1141 * tradcpp.h: For tradcpp, NUL is not whitespace.
1142
af57885e
NB
11432000-12-11 Neil Booth <neilb@earthling.net>
1144
1145 * fix-header.c (read_scan_file): Macro expansion is not a file buffer.
1146
89741abb
MM
11472000-12-05 Marek Michalkiewicz <marekm@linux.org.pl>
1148
1149 * config/avr/avr.c (compare_condition, compare_sign_p): New functions.
1150 (compare_diff_p, compare_eq_p): Call compare_condition.
1151 (out_tsthi, out_tstsi): Call compare_sign_p.
1152 (avr_progmem_p): Check for error_mark_node.
1153
0bda4760
NB
11542000-12-11 Neil Booth <neilb@earthling.net>
1155
745b9093
JM
1156 * cpperror.c (print_location): New function.
1157 (print_containing_files): Simplify.
1158 (_cpp_begin_message): Simplify and use print_location.
1159 * cppfiles.c (stack_include_file): Update.
1160 (_cpp_pop_file_buffer): Update.
1161 * cpphash.h (struct cpp_buffer): New members
1162 include_stack_listed and type.
1163 * cpplib.c (_cpp_handle_directive): Buffer->inc is not null.
1164 (run_directive): Take buffer type. cpp_push_buffer cannot fail.
1165 (_cpp_do__Pragma, cpp_define, _cpp_define_builtin, cpp_undef,
1166 handle_assertion): Update.
1167 (cpp_push_buffer): Take a buffer type and file name.
1168 (cpp_pop_buffer): Update. Clear include_stack_listed.
1169 * cpplib.h (input_stack_listing_current): Remove.
1170 (enum cpp_buffer_type): New.
1171 (cpp_push_buffer): New prototype.
1172 * cppmacro.c (builtin_macro): Simplify; buffer cannot be null.
1173 * fix-header.c (read_scan_file): Update.
0bda4760 1174
800635c1
RL
11752000-12-10 Robert Lipe <robertlipe@usa.net>
1176
1177 * install.texi (i*86-*-sco3.2v5*): Remove information duplicated
1178 in html version.
1179
c0ea284b
RH
11802000-12-10 Richard Henderson <rth@redhat.com>
1181
1182 * genrecog.c (find_operand): Handle 'V' format code.
1183 (find_matching_operand): New.
1184 (validate_pattern): Accept '=' for an in-out operand if there
1185 is another operand with a matching constraint.
1186
1187 * config/i386/i386.md (andqi_ext_0_cc): Use matching constraint
1188 for op1 to op0.
1189
e06d5f0b
RH
11902000-12-10 Richard Henderson <rth@redhat.com>
1191
1192 * genrecog.c (validate_pattern) [STRICT_LOW_PART]: Fix thinko.
1193
7297e9fc
RH
11942000-12-09 Richard Henderson <rth@redhat.com>
1195
1196 * genrecog.c (validate_pattern): Verify that ZERO_EXTRACT and
1197 STRICT_LOW_PART as SET_DEST have in-out constraints.
1198
e45046ae
JM
11992000-12-09 Joseph S. Myers <jsm28@cam.ac.uk>
1200
1201 * c-common.c (check_function_format): Don't suggest adding format
1202 attributes to functions with no parameter to which to add them.
1203
8e56560e
NC
12042000-12-09 Nick Clifton <nickc@redhat.com>
1205
1206 * config/arm/arm.c (arm_expand_prologue): Mark the generated
1207 insn not the set as being DWARF2_FRAME_RELATED_P.
1208
193ad8c6
LB
12092000-12-09 Laurynas Biveinis <lauras@softhome.net>
1210
1211 * Makefile.in: use $(build_exeext) for all build
1212 system executable targets.
1213
6a52a2ef
LB
12142000-12-09 Laurynas Biveinis <lauras@softhome.net>
1215
1216 * install.texi: remove i[345]86-*-winnt3.5 section.
1217 * configur.bat: removed.
1218 * config/msdos: directory removed.
1219
28e0f040
NB
12202000-12-09 Neil Booth <neilb@earthling.net>
1221
c0ea284b
RH
1222 * cppfiles.c (NEVER_REREAD, DO_NOT_REREAD): Move from cpphash.h.
1223 * cpphash.h (NEVER_REREAD, DO_NOT_REREAD, ABSOLUTE_PATH): Delete.
1224 * cpplex.c (parse_identifier): Improve diagnostic.
1225 (_cpp_lex_token): Return unconditionally at the end of a directive.
1226 * cpplib.c (read_flag): Verify legality of each flag.
1227 (end_directive): Resotre pfile->skipping before skip_rest_of_line.
1228 (do_line): Use the new read_flag.
1229 * cppmacro.c (struct cpp_macro, parse_arg, replace_args,
1230 check_macro_redefinition, parse_params): Rename var_args to
1231 variadic.
28e0f040 1232
1b32f732
JM
12332000-12-09 Joseph S. Myers <jsm28@cam.ac.uk>
1234
1235 * .cvsignore: Add info files.
1236
17f4d7aa
LB
12372000-12-08 Laurynas Biveinis <lauras@softhome.net>
1238
1239 * config/winnt: Remove obsolete directory.
1240 * install.texi (Configurations): Remove obsolete documentation for
1241 Windows NT.
1242
17db6582
JM
12432000-12-08 Joseph S. Myers <jsm28@cam.ac.uk>
1244
1245 * configure.in: Don't define INSTALL_INFO.
1246 * configure: Regenerate.
1247 * Makefile.in (INSTALL_INFO): Remove.
1248 (info): Depend on info files in source directory.
1249 (cpp.info, gcc.info, c-tree.info): Build info files in source
1250 directory.
1251 (distclean): Don't remove info files.
1252 (maintainer-clean): Remove info files from source directory.
1253 (install-normal): Depend on install-info.
1254 (install-info): Install info files from source directory, if they
1255 exist.
1256 * texinfo.tex: Update to version 2000-11-09.08 from ftp.gnu.org.
1257
25fa8bdc
AO
12582000-12-08 Alexandre Oliva <aoliva@redhat.com>
1259
1260 * lcm.c (optimize_mode_switching): Check whether an insn is a NOTE
1261 before taking its NOTE_LINE_NUMBER.
1262
6d3d9133
NC
12632000-12-08 Nick Clifton <nickc@redhat.com>
1264
859230d4
NC
1265 * config/arm/arm.md (load_indirect_jump): Add pool ranges.
1266
6d3d9133
NC
1267 * extend.texi: Document ARM "interrupt" function attribute.
1268 Mention that the ARM also support the "naked" function
1269 attribute.
1270
1271 * config/arm/arm-protos.h (arm_current_func_type): Add
1272 prototype.
1273
1274 * config/arm/arm.h (EXCEPTION_LR_REGNUM): Define.
1275 (struct machine_function): Add 'func_type' field.
1276 Define bit values for 'func_type' field.
1277 (ARM_FUNC_TYPE): New macro.
1278 (IS_INTERRUPT): New macro.
1279 (IS_VOLATILE): New macro.
1280 (IS_NAKED): New macro.
1281 (IS_NESTED): New macro.
1282 (ARM_INITIAL_ELIMINATION_OFFSET): Use IS_VOLATILE.
1283
1284 * config/arm/arm.c (isr_attribute_args): New Structure. A
1285 list of "interrupt" function attribute modifiers.
1286 (arm_isr_value): New Function: Returns the type of the current
1287 interrupt function.
1288 (arm_compute_func_type): New Function: Computes the type of
1289 the current function.
1290 (arm_current_func_type): New Function: Returns the type of the
1291 current function.
1292 (use_return_insn): Use arm_current_func_type.
1293 (arm_valid_type_attribute_p): Accept "interrupt" function
1294 attribute.
1295 (arm_comp_type_attributes): Check "interrupt" attributes.
1296 (arm_valid_machine_decl): Accept "interrupt" function
1297 attribute.
1298 (arm_function_ok_for_sibcall): Do not allow interrupt
1299 functions to use sibcalls.
1300 (arm_naked_function_p): Delete.
1301 (print_multi_reg): Remove redundant parameter 'hat'.
1302 (arm_compute_save_reg_mask): New Function: Compute a bit mask
1303 of registers saved during the current function's prologue.
1304 (output_arm_return_instruction): Use arm_current_func_type.
1305 Generate return instruction when LR is not poppsed off the
1306 stack.
1307 (arm_volatile_func): Delete.
1308 (output_arm_prologue): Use arm_current_func_type and
1309 arm_compute_save_reg_mask.
1310 Note presernce of interrupt functions.
1311 (arm_output_epilogue): Use arm_current_func_type and
1312 arm_compute_save_reg_mask.
1313 (arm_expand_prologue): Use arm_current_func_type and
1314 arm_compute_save_reg_mask.
1315 (arm_init_machine_status): Initialise func_type field, if
1316 necessary.
1317 (thumb_expand_prologue): Use arm_current_func_type.
1318 (output_thumb_prologue): Use arm_current_func_type.
1319
2bff3fd5
BL
13202000-12-08 Brad Lucier <lucier@math.purdue.edu>
1321
c0ea284b 1322 * tradcpp.c (do_include): Make pointer differences 64-bit clean.
2bff3fd5 1323
cf9f5da0
R
1324Fri Dec 8 08:23:29 2000 J"orn Rennecke <amylaar@redhat.com>
1325
1326 * fp-bit.c (_fpmul_parts): Use USItype variables as inputs
1327 for multiplies.
1328
2e35898e
MS
13292000-12-07 Mike Stump <mrs@wrs.com>
1330
1331 * Makefile.in (distclean): Remove alloca.c hashtab.c.
1332
f6bbde28
ZW
13332000-12-07 Zack Weinberg <zack@wolery.stanford.edu>
1334
1335 * Makefile.in (HOST_RTL): Add safe-ctype.o.
1336 (safe-ctype.o): New rule.
1337 * system.h: Include safe-ctype.h, not ctype.h. No need to
1338 wrap ctype macros.
1339
1340 * cpphash.h: Zap IStable and related macros. Define is_* in
1341 terms of safe-ctype.h macros.
1342 * cppinit.c: Delete the IStable and all related code.
1343
1344 * tradcpp.c: Delete is_idchar, is_idstart, is_hor_space, and
1345 is_space arrays. Delete initialize_char_syntax. Change all
1346 references to the above arrays to use macros instead.
1347 * tradcpp.h: Define is_idchar, is_idstart, is_space, and
1348 is_nvspace in terms of safe_ctype.h's macros.
1349 * tradcif.y: is_idchar, is_idstart are macros not arrays.
1350
1351 * config/i370/i370.c, config/winnt/dirent.c,
1352 config/winnt/fixinc-nt.c, config/winnt/ld.c:
1353 Use uppercase ctype macros. If we included ctype.h,
1354 include safe-ctype.h instead.
1355
1356 * fixinc/fixfixes.c: Use uppercase ctype macros. Don't test
1357 ISLOWER(c) before calling TOUPPER(c).
1358 * fixinc/fixincl.c (extract_quoted_files): Simplify out some gunk.
1359 * fixinc/gnu-regex.c: Include safe-ctype.h, not ctype.h. No need to
1360 wrap ctype macros. Don't test ISUPPER(x) before calling TOLOWER(x).
1361
54d7f9aa
DD
13622000-12-07 DJ Delorie <dj@redhat.com>
1363
1364 * c-decl.c (grokdeclarator): preserve previous alignments when
1365 rebuilding array types.
1366
642ce434
NB
13672000-12-07 Neil Booth <neilb@earthling.net>
1368
f6bbde28
ZW
1369 * cppfiles.c (struct include_file): Move from cpphash.h.
1370 (_cpp_never_reread): New function.
1371 (open_file, read_include_file): Use it.
1372 (stack_include_file): Set the buffer's sysp according to the
1373 path in which the file was found.
1374 (find_include_file): Don't set sysp.
1375 (cpp_make_system_header, actual_directory): Update.
1376 (_cpp_execute_include): Do #include_next lookup handling here,
1377 not in cpplib.c. Use _cpp_never_reread.
1378 * cpphash.h (struct_include_file): Remove.
1379 (struct cpp_buffer): New member sysp.
1380 (CPP_IN_SYSTEM_HEADER, _cpp_execute_include): Update.
1381 (_cpp_never_reread): New.
1382 * cpplib.c (read_line_number): Rename read_flag. Rework slightly.
1383 (end_directive): Clear line_extension flag.
1384 (_cpp_handle_directive): Set line_extension flag for #number.
1385 (do_include_next): Handle path lookup in _cpp_execute_include.
1386 (do_line): Cleanup to use read_flag. Don't allow flags in #line.
1387 (_cpp_do_file_change): Update.
1388 (do_pragma_once): Use cpp_never_reread. Clean up.
1389 * cpplib.h (struct lexer_state): New member line_extension.
642ce434 1390
f846e0de
RH
13912000-12-07 Richard Henderson <rth@redhat.com>
1392
1393 * flow.c (calculate_global_regs_live): Force the stack pointer live
1394 after reload as well.
1395
83c4781c
BK
13962000-12-07 Bruce Korb <bkorb@gnu.org>
1397
1398 * fixinc/Makefile.*(exeext): the variables are exeext, the
1399 substitution expression is build_exeext.
1400
47e4bafa
NB
14012000-12-07 Neil Booth <neilb@earthling.net>
1402
f6bbde28
ZW
1403 * c-common.c (parse_in): Make a cpp_reader *.
1404 * cppfiles.c (_cpp_fake_include): Remove.
1405 * cpphash.h: Similarly.
1406 * cpplib.c (do_line): Don't call _cpp_fake_include. A valid
1407 #line always creates a callback; FC_RENAME if there are no
1408 #line flags.
1409 * fix-header.c (read_scan_file): cpp_push_buffer cannot fail.
1410 The first EOF must be our get_char buffer.
47e4bafa 1411
c907e684
JM
14122000-12-07 Joseph S. Myers <jsm28@cam.ac.uk>
1413
1414 * c-common.c (warn_format_security): New variable.
1415 (check_format_info): Warn about non-literal formats with no format
1416 arguments if either -Wformat-nonliteral or -Wformat-security is
1417 specified.
1418 (set_Wformat): Set warn_format_security for settings other than 1.
1419 * c-common.h (warn_format_security): Declare.
1420 * c-decl.c (c_decode_option): Decode -Wformat-security and
1421 -Wno-format-security.
1422 * invoke.texi: Document -Wformat-security.
1423 * toplev.c (documented_lang_options): Include -Wformat-security
1424 and -Wno-format-security.
1425
1c248308
JM
14262000-12-07 Joseph S. Myers <jsm28@cam.ac.uk>
1427
1428 * c-common.c (check_format_info): Warn for non-constant format
1429 strings with strftime formats if -Wformat-nonliteral. Where the
1430 format can convert arguments, if the format is not a string
1431 literal and there are no arguments to the format, give a different
1432 warning message from the general non-string-literal case.
1433
014e7f1d
JM
14342000-12-07 Joseph S. Myers <jsm28@cam.ac.uk>
1435
1436 * c-common.c (format_wanted_type): Add reading_from_flag.
1437 (print_char_table): Mark %s and %S formats with flag "R".
1438 (check_format_info_main): Set up reading_from_flag appropriately.
1439 If aflag, always set writing_in_flag rather than relying on the
1440 format used being a scanf format and so having it set.
1441 (check_format_types): Check for formats reading through null
1442 pointers.
1443
8308e0b7
JM
14442000-12-07 Joseph S. Myers <jsm28@cam.ac.uk>
1445
1446 * invoke.texi (-Wformat): Document what format features are
1447 checked.
1448
1120a1d3
KH
14492000-12-06 Kazu Hirata <kazu@hxi.com>
1450
1451 * config/h8300/h8300.h: Fix formatting.
1452
bc98ef7f
JS
14532000-12-06 Joel Sherrill <joel@OARcorp.com>
1454
f6bbde28
ZW
1455 * config.gcc (a29k*-*-rtems*, arm*-*-rtems*, c4x-*-rtems*,
1456 h8300-*-rtems*, hppa1.1-*-rtems, *mips*-*-rtems*): New targets.
1457 * config.gcc (*-rtems*): Add support for gthr-rtems.h.
1458 * gthr-rtems.h, config/a29k/rtems.h, config/arm/rtems-elf.h,
1459 config/h8300/rtems.h, config/mips/rtems.h: New files.
bc98ef7f 1460
5eeab2e3
MK
14612000-12-06 Mark Kettenis <kettenis@gnu.org>
1462
1463 * config.gcc: Reorganize handling of *-*-gnu*, to share target
1464 specific make details with Linux. Update comments to clarify
f6bbde28 1465 the distinction between GNU/Linux and GNU/Hurd.
5eeab2e3 1466
6b4b8cb9
JL
1467Wed Dec 6 19:22:02 2000 Jeffrey A Law (law@cygnus.com)
1468
1469 * contrib.texi: Fix my email address. Update Per's
1470 list of contributions.
1471
2398fb2a
RB
14722000-12-06 Rodney Brown <RodneyBrown@mynd.com>
1473
f5720527
RB
1474 * c-lex.c (cb_indent): Decorate `str' argument, unused on HP-UX.
1475 * collect2.c (scan_libraries): Remove unused `ch'.
1476 (COFF specific stuff): Prototype ldgetname. Declare and prototype
1477 ldbtread and ldclose.
1478
2398fb2a
RB
1479 * config/alpha/osf.h: Standarize copyright statement.
1480 * config/arc/arc.h: Likewise.
1481 * config/arm/elf.h config/arm/coff.h config/arm/aout.h: Likewise.
1482 * config/arm/arm.c config/arm/arm.h: Likewise.
1483 * config/elxsi/elxsi.h: Likewise.
1484 * config/i386/sco.h: Likewise.
1485 * config/m68k/crds.h config/m68k/hp320.h config/m68k/lynx.h: Likewise.
1486 * config/m68k/m68kv4.h config/m68k/next21.h: Likewise.
1487 * config/m68k/sun3.h: Likewise.
1488 * config/m88k/dgux.h config/m88k/dguxbcs.h: Likewise.
1489 * config/pdp11/2bsd.h config/pdp11/pdp11.h: Likewise.
1490 * config/romp/romp.h: Likewise.
1491 * config/rs6000/aix41.h: Likewise.
1492 * config/sparc/sysv4.h: Likewise.
1493 * config/we32k/we32k.c config/we32k/we32k.h: Likewise.
1494 * fixinc/gnu-regex.c fixinc/gnu-regex.h: Likewise.
1495 * cpplib.h cppexp.c cselib.h profile.c: Likewise.
1496 * longlong.h: Likewise.
1497 * libgcc2.c: Likewise.
1498
ff08da30
JL
14992000-12-06 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
1500
1501 * machmode.def: Use correct definition for BITSIZE on targets where
1502 BITS_PER_UNIT != 8.
1503
6047d503
BK
15042000-12-06 Bruce Korb <bkorb@gnu.org>
1505
1506 * fixinc/Makefile.*: Reduce differences to (ultimately) reduce
1507 the number of them.
1508
ff08da30 15092000-12-06 J. David Anglin <dave@hiauly1.hia.nrc.ca>
becf1647
DA
1510
1511 * pa.c: Include expr.h before c-tree.h.
1512 (remove_useless_addtr_insns): Use reverse_condition_maybe_unordered
1513 instead of reverse_condition.
1514 (print_operand): Correct predicates for GT, GE, LT and LE. Add
1515 predicates for LTGT, UNLE, UNLT, UNGE, UNGT, UNEQ, UNORDERED and
1516 ORDERED.
1517 (cmpib_comparison_operator): Add GEU and LTU codes.
1518 * pa.h (PREDICATE_CODES): Add codes for cmpib_comparison_operator.
1519 * pa.md (bltgt, bunle, bunlt, bunge, bungt, buneq, bunordered,
1520 bordered): New float conditional branch patterns.
1521
2a841588
R
1522Wed Dec 6 21:03:41 2000 J"orn Rennecke <amylaar@redhat.com>
1523
1524 * final.c (final_addr_vec_align): Fix clipping to BIGGEST_ALIGNMENT.
1525
c673abe4 15262000-12-06 Sylvain Pion <Sylvain.Pion@sophia.inria.fr>
f6bbde28
ZW
1527
1528 * cpplex.c (skip_escaped_newlines): Don't warn for spaces between
1529 backslash and newline, when inside a comment.
c673abe4 1530
ee457005
JM
15312000-12-06 Joseph S. Myers <jsm28@cam.ac.uk>
1532
1533 * invoke.texi: Use @table @samp instead of @itemize @minus for
1534 table of language standards. Fix use of @pxref. From Zack
1535 Weinberg. Also exclude specs documentation from generated
1536 manpage, and create separate ENVIRONMENT section.
1537
b614171e
MM
15382000-12-06 Michael Matz <matzmich@cs.tu-berlin.de>
1539
1540 * gcse.c (compute_pre_data): Kill trapping expressions in
1541 destination blocks of abnormal edges.
1542
f6cd7c62
RS
15432000-12-05 Richard Sandiford <r.sandiford@redhat.com>
1544
1545 * config/mn10300/mn10300.c (mn10300_print_reg_list): Added.
1546 (mn10300_get_live_callee_saved_regs): Likewise.
1547 (mn10300_gen_multiple_store): Likewise.
1548 (store_multiple_operation): Likewise.
1549 (expand_prologue): Use mn10300_gen_multiple_store().
1550 * config/mn10300/mn10300-protos.h (mn10300_print_reg_list): Added.
1551 (mn10300_get_live_callee_saved_regs): Likewise.
1552 (mn10300_gen_multiple_store): Likewise.
1553 (store_multiple_operation): Likewise.
1554 * config/mn10300/mn10300.md (store_movm): Use a MATCH_PARALLEL
1555 tied to store_multiple_operation().
1556
dfb2c798
JL
1557Tue Dec 5 20:09:14 2000 Jeffrey A Law (law@cygnus.com)
1558
1559 * builtins.c (expand_builtin_setjmp_setup): Set
1560 current_function_has_nonlocal_label.
1561
3cf3593f
NB
15622000-12-05 Neil Booth <neilb@earthling.net>
1563
f6bbde28
ZW
1564 * cppfiles.c (stack_include_file): Push zero-length buffers
1565 in case of failure. Return void, as we don't fail any more.
1566 (read_include_file): Check for files we shouldn't re-read.
1567 Don't return an error code; errors are implied by marking the
1568 file NEVER_REREAD.
1569 (_cpp_execute_include): Move the recursion and in-macro checks
1570 here. Update for stack_include_file not failing.
1571 * cpplib.c (cpp_push_buffer): Always succeed, since
1572 _cpp_execute_include performs the recursion check. Tidy up.
1573 * cpplib.h (cpp_push_buffer): Update prototype.
3cf3593f 1574
4c42e347
AO
15752000-12-05 Alexandre Oliva <aoliva@redhat.com>
1576
1577 * sched-vis.c (visual_tbl_line_length): New variable.
1578 (get_visual_tbl_length): Set it.
1579 (visualize_stall_cycles): Don't let stalls overrun
1580 visual_tbl_line_length.
1581
06a3a6db
GK
15822000-12-05 Geoffrey Keating <geoffk@redhat.com>
1583
1584 * global.c (global_conflicts): Allow for a REG_UNUSED note
1585 with a different mode to the REG set in the insn.
1586
e7103ad2 15872000-12-05 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
9c101f4a
KG
1588
1589 * Makefile.in (fixinc.sh): Pass $WARN_CFLAGS into fixinc dir.
1590
1591 * fixinc/Makefile.in (FIXINC_DEFS): Add $(WARN_CFLAGS).
1592
1435059e
RE
15932000-12-05 Bruce Korb <bkorb@gnu.org>
1594
1595 * fixinc/mkfixinc.sh(*-gnu*): activate fixinc for GNU/Hurd and
1596 GNU/Linux.
1597
15982000-12-05 Richard Earnshaw <rearnsha@arm.com>
1599
1600 * fixinc/mkfixinc.sh: Run fixinc on netbsd.
1601 * fixinc/inclhack.def (machine/ansi.h): Run this rule on all files,
1602 to cope with aliased copies.
1603 * fixinc/fixincl.x: Regenerate.
1604
f56887a7
BS
16052000-12-05 Bernd Schmidt <bernds@redhat.co.uk>
1606
1607 * sched-vis.c: Guard with #ifdef INSN_SCHEDULING.
1608 * sched-rgn.c: Likewise.
1609 (rgn_print_insn): Fix output.
1610
4839149c
BK
16112000-12-05 Bruce Korb <bkorb@gnu.org>
1612
1613 * fixinc/Makefile.*: make these more consistent
1614 * fixinc/mkfixincl.sh: enable BeOS fixincludes
1615
eca93b05
RH
16162000-12-05 Richard Henderson <rth@redhat.com>
1617
1618 * stmt.c (warn_if_unused_value): Move side effects test earlier.
1619
de9e5c23
AM
16202000-12-05 Alan Modra <alan@linuxcare.com.au>
1621
1622 * bb-reorder.c (reorder_basic_blocks): Do check for EH edges even
1623 when using sjlj.
1624
39c39be9
RH
16252000-12-05 Richard Henderson <rth@redhat.com>
1626
1627 * flow.c (calculate_global_regs_live): Only force stack pointer
1628 live before reload. Force pic register live before reload.
1629 (insn_dead_p): Don't protect pic references from deletion.
1630
9d86bffc
JM
16312000-12-05 Joseph S. Myers <jsm28@cam.ac.uk>
1632
1633 * invoke.texi: Add support for using texi2pod.pl. Don't use
1634 @multitable.
1635
c84df4c5
NC
16362000-12-04 Nick Clifton <nickc@redhat.com>
1637
a67ded0f
NC
1638 * config/arm/arm.c (arm_override_options): Test 'insn_flags' not
1639 'tune_flags' for XScale nature.
f6bbde28 1640 Remove spurious test of HARD_FLOAT and XScale flags.
a67ded0f
NC
1641
1642 * config/arm/arm.md (umulsidi3adddi): Restore "=&r" register
1643 contraint, accidentally changed during XScale contribution.
1644
c84df4c5
NC
1645 * config/arm/lib1funcs.asm (interwork_call_via_, call_via_): Do
1646 not create these functions if the target architecture does not
1647 support Thumb instructions.
1648
c4f0b011
JM
16492000-12-04 Joseph S. Myers <jsm28@cam.ac.uk>
1650
1651 * ONEWS: New file with the current contents of NEWS up to EGCS
1652 1.1.
1653 * NEWS: Generate automatically from online release notes from EGCS
1654 1.0 to GCC 2.95.2, using ../contrib/gennews.
1655
7682e7bc
NB
16562000-12-04 Neil Booth <neilb@earthling.net>
1657
f6bbde28
ZW
1658 * tradcif.y: Move lexptr to top of file. Add rule to handle
1659 assertions in conditional expressions.
1660 * tradcpp.c (parse_answer): Assertions do not need to go to
1661 end of line in conditional directives.
1662 (parse_assertion): Get first character of identifiers correct.
1663 (test_assertion): New function.
1664 * tradcpp.h (test_assertion): New prototype.
7682e7bc 1665
23a535c4
RB
16662000-12-01 Rodney Brown <RodneyBrown@mynd.com>
1667
1668 * config.gcc: Fix typo for UnixWare 7.
1669
32fb1fb2
PE
16702000-12-03 Phil Edwards <pme@sources.redhat.com>
1671
1672 * invoke.texi: Replace `pedwarns' with clearer text.
1673
e1e0c658
BK
16742000-12-04 Bruce Korb <bkorb@gnu.org>
1675
1676 * fixinc/Makefile.*(clean): don't clean autogenerated files.
1677 (mainainer-clean): clean autogenerated files
1678
55e4756f
DD
16792000-12-04 DJ Delorie <dj@redhat.com>
1680
1681 * md.texi: Add overview, clarify match_dup and define_expand.
1682
7d492372
DD
16832000-12-04 DJ Delorie <dj@redhat.com>
1684
b3869591 1685 * print-tree.c (print_node): Target-specific builtins print
7d492372
DD
1686 numbers, not names.
1687
62c07905
JM
16882000-12-04 Jason Merrill <jason@redhat.com>
1689
1690 * stor-layout.c (int_mode_for_mode): Handle MODE_VECTOR_INT,
1691 MODE_VECTOR_FLOAT.
1692
1693 * diagnostic.c (report_problematic_module): s/function/module/.
1694
1695 * c-lex.h: Remove decl for check_newline.
1696
ae50db03
GP
16972000-12-04 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
1698
1699 * README.APOLLO: Remove obsolete file.
1700
6951bc4a
NB
17012000-12-04 Neil Booth <neilb@earthling.net>
1702
f6bbde28 1703 * cppinternals.texi: New file.
6951bc4a 1704
614c7d37
NB
17052000-12-04 Neil Booth <neilb@earthling.net>
1706
f6bbde28
ZW
1707 * cppfiles.c (cpp_make_system_header): Take 2 booleans,
1708 and operate on current buffer.
1709 (cpp_read_file): Rename _cpp_read_file.
1710 * cpplib.c (do_line, do_pragma_system_header): Update calls to
1711 cpp_make_system_header.
1712 * fix-header.c: Similarly.
1713 * cpphash.h (_cpp_read_file): Move from...
1714 * cpplib.h: ... here.
1715 * cppinit.c (do_includes, cpp_start_read): Update appropriately.
614c7d37 1716
e7103ad2 17172000-12-03 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
611b1df4
KG
1718
1719 * builtins.c (expand_builtin_strspn, expand_builtin_strcspn):
1720 Handle another transformation.
1721
d19fb8e3
NC
17222000-12-03 Nick Clifton <nickc@redhat.com>
1723
1724 * config.gcc: Add support for StrongARM targets.
1725 * config/arm/t-strongarm-elf: New file.
1726 * config/arm/t-strongarm-coff: New file.
1727 * config/arm/t-strongarm-pe: New file.
1728 * config/arm/strongarm-pe.h: New file.
1729
17302000-12-03 Nick Clifton <nickc@redhat.com>
1731
1732 * NEWS: Mention XScale has been added.
1733 * config.gcc: Add support for XScale targets.
1734 * config/arm/arm.h: Add support for XScale processor.
1735 * config/arm/arm.c: Add support for XScale processor.
1736 * config/arm/arm.md: Add support for XScale processor.
1737 * config/arm/t-xscale-elf: New file.
1738 * config/arm/t-xscale-coff: New file.
1739 * config/arm/xscale-elf.h: New file.
1740 * config/arm/xscale-coff.h: New file.
1741
250d07b6
RH
17422000-12-03 Richard Henderson <rth@redhat.com>
1743
1744 * bb-reorder.c (reorder_basic_blocks): Don't check for EH edges
1745 unless exception handling is enabled, and if not using sjlj.
1746
1747 * builtins.c (expand_builtin_setjmp_setup): New.
1748 (expand_builtin_setjmp_receiver): New.
1749 (expand_builtin_setjmp): Split out _setup and _receiver functions.
1750 Move argument parsing in from ...
1751 (expand_builtin): ... here.
1752 * except.c (receive_exception_label): Branch around receiver
1753 unless new-style exceptions. Call expand_builtin_setjmp_receiver.
1754 (start_dynamic_handler): Call expand_builtin_setjmp_setup.
1755 * expr.h: Update builtin setjmp decls.
1756
5c032c4d
BK
17572000-12-03 Bruce Korb <bkorb@gcc.org>
1758
1759 * fixinc/mkfixinc.sh(build machine): Sometimes, there is no canonical
1760 build machine name. Default to the target.
1761
3769600a
LB
17622000-12-03 Laurynas Biveinis <lauras@softhome.net>
1763
1764 * Makefile.in: use $(build_canonical), not $(canonical_build).
1765
b4ead7d4
BS
17662000-12-03 Bernd Schmidt <bernds@redhat.co.uk>
1767
1768 * Makefile.in (OBJS): Add sched-rgn.o.
1769 (sched-rgn.o): New rule. * haifa-sched.c (sched_verbose): No
1770 longer static.
1771 (INSN_PRIORITY, INSN_COST, INSN_UNIT, INSN_REG_WEIGHT,
1772 INSN_BLOCKAGE, UNIT_BITS, BLOCKAGE_MASK, ENCODE_BLOCKAGE,
1773 UNIT_BLOCKED, BLOCKAGE_RANGE, MIN_BLOCKAGE_COST,
1774 MAX_BLOCKAGE_COST): Move to sched-int.h.
1775 (MAX_RGN_BLOCKS, MAX_RGN_INSNS, INSN_REF_COUNT, FED_BY_SPEC_LOAD,
1776 IS_LOAD_INSN, struct haifa_edge, edge_table, NEXT_IN, NEXT_OUT,
1777 FROM_BLOCK, TO_BLOCK, nr_edges, in_edges, out_edges, IN_EDGES,
1778 OUT_EDGES, edgelst, struct region, nr_regions, rgn_table,
1779 rgn_bb_table, block_to_bb, containing_rgn, RGN_NR_BLOCKS,
1780 RGN_BLOCKS, BLOCK_TO_BB, BB_TO_BLOCK, CONTAINING_RGN,
1781 debug_regions, find_single_block_region, find_rgns, too_large,
1782 init_regions, current_nr_blocks, current_blocks, bitset, bitlst,
1783 bitlst_table_last, bitlst_table_size, bitlst_table, bitset_member,
1784 extract_bitlst, bblst, struct candidate, candidate_table,
1785 bblst_table, bblst_size, bblst_last, IS_VALID, IS_SPECULATIVE,
1786 SRC_PROB, target_bb, split_edges, compute_trg_info,
1787 debug_candidate, debug_candidates, bbset, bbset_size, dom,
1788 IS_RGN_ENTRY, IS_DOMINATED, prob, GET_SRC_PROB, edgeset,
1789 rgn_nr_edges, rgn_edges, edgeset_size, edgeset_bitsize,
1790 EDGE_TO_BIT, edge_to_bit, pot_split, ancestor_edges,
1791 compute_dom_prob_ps, ABS_VALUE, INSN_PROBABILITY,
1792 IS_SPECULATIVE_INSN, INSN_BB, MIN_DIFF_PRIORITY, MIN_PROBABILITY,
1793 MIN_PROB_DIFF, check_live_1, update_live_1, check_live,
1794 update_live, set_spec_fed, is_pfree, find_conditional_protection,
1795 is_conditionally_protected, may_trap_exp, haifa_classify_insn,
1796 is_prisky, is_exception_free, add_branch_dependences,
1797 propagate_deps, compute_block_backward_dependences,
1798 debug_dependencies, is_cfg_nonregular, build_control_flow,
1799 new_edge, bb_deps, BITSET_UNION, BITSET_INTER, BITSET_DIFFER,
1800 BITSET_INVERT, BITSET_ADD, BITSET_REMOVE, debug_regions,
1801 UPDATE_LOOP_RELATIONS, INSN_TRAP_CLASS, WORST_CLASS, IS_REACHABLE,
1802 CONST_BASED_ADDRESS_P, free_pending_lists, sched_target_n_insns,
1803 target_n_insns, sched_n_insns, init_ready_list, deaths_in_region,
1804 can_schedule_ready_p, new_ready, schedule_more_p, rgn_print_insn,
1805 rgn_rank, region_sched_info): Move to sched-rgn.c.
1806 (debug_reg_vector): Delete useless function.
1807 (get_bb_head_tail): Likewise.
1808 (insn_issue_delay, insn_cost, ready_add, get_block_head_tail,
1809 no_real_insns_p, rm_line_notes, save_line_notes,
1810 restore_line_notes, rm_redundant_line_notes, sched_init): No
1811 longer static.
1812 (rm_line_notes, save_line_notes, restore_line_notes,
1813 schedule_block, set_priorities): Change argument to be a real
1814 basic block, not one of haifa's "bb"s. All callers changed
1815 (rm_other_notes): Initialize note_list here, not in
1816 schedule_region.
1817 (sched_finish): New function, called from schedule_insn. * *
1818 sched-int.h (INSN_PRIORITY, INSN_COST, INSN_UNIT, INSN_REG_WEIGHT,
1819 INSN_BLOCKAGE, UNIT_BITS, BLOCKAGE_MASK, ENCODE_BLOCKAGE,
1820 UNIT_BLOCKED, BLOCKAGE_RANGE, MIN_BLOCKAGE_COST,
1821 MAX_BLOCKAGE_COST): Moved here from haifa-sched.c.
1822 (get_block_head_tail, no_real_insns_p, rm_line_notes,
1823 save_line_notes, restore_line_notes, rm_redundant_line_notes,
1824 rm_other_notes, insn_issue_delay, set_priorities, schedule_block,
1825 sched_init, sched_finish, ready_add, insn_cost): Declare.
1826
f415f5a4
LB
18272000-12-03 Laurynas Biveinis <lauras@softhome.net>
1828 Bruce Korb <bkorb@gnu.org>
1829
f6bbde28
ZW
1830 * Makefile.in: pass $(build_canonical) to mkfixinc.sh.
1831 * fixinc/mkfixinc.sh: accept build system name as an argument.
1832 Use it for choosing the fix build method. Use the target for
f415f5a4
LB
1833 selecting special fix rules.
1834
1708fd40
BS
18352000-12-03 Bernd Schmidt <bernds@redhat.co.uk>
1836
16f6ece6
BS
1837 * Makefile.in (OBJS): Add sched-deps.o.
1838 (sched-deps.o): New rule.
1839 * haifa-sched.c (struct deps, struct haifa_insn_data): Moved to
1840 sched-int.h.
1841 (INSN_DEPEND, INSN_LUID, CANT_MOVE, INSN_DEP_COUNT): Macros moved to
1842 sched-int.h.
1843 (SIZE_FOR_MODE): Delete unused macro.
1844 (reg_known_equiv_p, reg_known_value, reg_pending_clobbers,
1845 reg_pending_sets, reg_pending_sets_all, true_dependency_cache,
1846 anti_dependency_cache, output_dependency_cache,
1847 forward_dependency_cache): Variables moved to sched-deps.c.
1848 (add_dependence, remove_dependence, find_insn_list,
1849 find_insn_mem_list, add_insn_mem_dependence, flush_pending_lists,
1850 sched_analyze_insn, sched_analyze_1, sched_analyze_2,
1851 sched_analyze, group_leader, compute_forward_dependences,
1852 init_deps, free_deps, init_dependency_caches, free_dependency_caches):
1853 Functions moved to sched-deps.c.
1854 (schedule_region): Call init_deps_global and finish_deps_global
1855 instead of directly manipulating dependency data structures.
1856 * sched-deps.c: New file.
1857 (init_deps_global, finish_deps_global): New functions.
1858 * sched-int.h (struct haifa_insn_data, struct deps): Moved here from
1859 haifa-sched.c.
1860 (h_i_d): Declare.
1861 (INSN_DEPEND, INSN_LUID, CANT_MOVE, INSN_DEP_COUNT): Macros moved here
1862 from haifa-sched.c.
1863
c62c2659
BS
1864 * Makefile.in (OBJS): Add sched-vis.o.
1865 (sched-vis.o): New rule.
1866 * haifa-sched.c (get_unit_last_insn): New function.
1867 (sched_dump, insn_unit, actual_hazard_this_instance): No longer
1868 static.
1869 (schedule_block): Call visualize_alloc and visualize_free. Delete
1870 spurious return statement.
1871 (init_target_units, insn_print_units, get_visual_tbl_length,
1872 init_block_visualization, print_block_visualization, safe_concat,
1873 visualize_scheduled_inns, visualize_no_unit, visualize_stall_cycles,
1874 print_exp, print_value, print_pattern, print_insn, target_units,
1875 MAX_VISUAL_LINES, INSN_LEN, n_visual_lines, visual_tbl,
1876 n_vis_no_unit, vis_no_unit): Move scheduling visualization
1877 functions/variables...
1878 * sched-vis.c: ...here. New file.
1879 (visualize_alloc, visualize_free): New functions.
1880 (visualize_scheduled_insns, visualize_stall_cycles,
1881 print_block_visualization): Lose basic block argument. All callers
1882 changed.
1883 (visualize_scheduled_insns): Use new function get_unit_last_insn.
16f6ece6
BS
1884 * sched-int.h (current_sched_info, sched_dump): Declare.
1885 (init_target_units, insn_print_units, init_block_visualization,
1886 print_block_visualization, visualize_scheduled_inns,
1887 visualize_no_unit, visualize_stall_cycles, visualize_alloc,
1888 visualize_free): Declare functions.
c62c2659 1889
1708fd40
BS
1890 * sched-int.h: New file.
1891 * Makefile.in (haifa-sched.o): Depend on it.
1892 * haifa-sched.c: Include it.
1893 (no_real_insns_p): New function.
1894 (current_sched_info): New static variable.
1895 (__inline, HAIFA_INLINE): Moved to sched-int.h.
1896 (get_block_head_tail): Minor cleanup.
1897 (init_ready_list, can_schedule_ready_p, new_ready, schedule_more_p,
1898 rgn_print_insn, rgn_rank): New functions, broken out of
1899 rank_for_schedule, schedule_insn and schedule_block, where they
1900 are now called through function pointers in current_sched_info.
1901 (queue_insn, schedule_insn, queue_to_ready, debug_ready_list,
1902 print_insn): To display uid and block number, call the print_insn
1903 function pointer in current_schedule_info.
1904 (region_sched_info): New static variable.
1905 (sched_target_n_insns, sched_n_insns, target_n_insns): New global
1906 variables, moved out of schedule_block.
1907 (schedule_block): Return void. All callers changed.
1908 Move some of the setup code into schedule_region. Get head/tail
1909 from current_sched_info, and update it when done.
1910 (schedule_region): Slightly rearranged, some code moved here from
1911 schedule_block. Call no_real_insns_p to avoid doing work for a
1912 block that consists only of notes and labels.
1913 (schedule_insns): Initialize current_sched_info.
1914
8aaef6e0
NB
19152000-12-03 Neil Booth <neilb@earthling.net>
1916
f6bbde28
ZW
1917 * cppmacro.c (funlike_invocation_p): Re-disable macros enabled
1918 by contexts drops AFTER argument pre-expansion, so that they
1919 remain enabled during argument pre-expansion.
1920 (_cpp_pop_context): Unconditionally re-enable a macro when
1921 dropping a context level.
8aaef6e0 1922
94a3d3b9
MH
19232000-12-03 Manfred Hollstein <manfredh@redhat.com>
1924
1925 * arm/t-linux (MULTILIB_OPTIONS): Comment.
1926 (MULTILIB_DIRNAMES): Likewise.
1927 (EXTRA_MULTILIB_PARTS): Likewise.
1928 (LIBGCC): Likewise.
1929 (INSTALL_LIBGCC): Likewise.
1930
d118937d
KG
19312000-12-02 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1932
1933 * builtins.c (expand_builtin_strcat, expand_builtin_strncat,
1934 expand_builtin_strspn, expand_builtin_strcspn): New functions.
1935 (expand_builtin): Handle BUILT_IN_STRCAT, BUILT_IN_STRNCAT,
1936 BUILT_IN_STRSPN and BUILT_IN_STRCSPN.
1937
1938 * builtins.def (BUILT_IN_STRCAT, BUILT_IN_STRNCAT,
1939 BUILT_IN_STRSPN, BUILT_IN_STRCSPN): New entries.
1940
1941 * c-common.c (c_common_nodes_and_builtins): Declare builtin
1942 strcat, strncat, strspn and strcspn.
f6bbde28 1943 (string_ftype_string_cstring): Renamed from `string_ftype_ptr_ptr'.
d118937d
KG
1944
1945 * extend.texi (strcat, strcspn, strncat, strspn): Document new
1946 builtins.
1947
ca8034a0
KG
19482000-12-02 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1949
1950 * builtins.c (expand_builtin_strcmp): Use const*_rtx when
1951 expanding strcmp at compile-time. Add another transformation.
1952 (expand_builtin_strncmp): Add more transformations. Call
1953 expand_builtin_memcmp, not expand_builtin_strcmp, under
1954 appropriate conditions if HAVE_cmpstrsi.
1955
6c873122
DE
19562000-12-02 David Edelsohn <edelsohn@gnu.org>
1957
1958 * rs6000.md (anddi3_internal[23]): Prefer rldic? over andis
1959 instruction.
1960 (cr logic): Really make operands sequential.
1961
690c96c8
GK
19622000-12-02 Geoffrey Keating <geoffk@redhat.com>
1963
1964 * c-common.c (combine_strings): When the ISO C standard specifies
1965 the maximum length of a string, it doesn't include the trailing
1966 zero byte.
b43db0b3
GK
1967
1968 * cpplib.c (do_ifdef): Add check_eol() call.
1969 (do_ifndef): Likewise.
1970
283da1d3 19712000-12-02 Daniel Berlin <dberlin@redhat.com>
f6bbde28 1972 Bruce Korb <bkorb@gnu.org>
283da1d3 1973
f6bbde28
ZW
1974 * fixinc/*: global substitute /__MSDOS__/SEPARATE_FIX_PROC/
1975 * fixinc/mkfixinc.sh: prepare to use Makefile.BEOS for *-*-beos*
1976 * fixinc/Makefile.DOS: define SEPARATE_FIX_PROC for build
1977 * fixinc/fixfix.c(wrap_fix): avoid wrapping files that
1978 use the "__need_" hackery. It breaks them.
1979 * fixinc/fixincl.c(process - SEPARATE_FIX_PROC):
1980 Sometimes on DOS and BeOS the temp output file cannot be opened.
1981 Skip the file noisily. Ought to be fixed instead.
283da1d3 1982
6864a6c6
BK
19832000-12-02 Bruce Korb <bkorb@gnu.org>
1984
1985 From: 2000-11-19 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1986
1987 * fixfixes.c (emit_gnu_type, format_write): Prototype.
1988 (format_write, char_macro_use_fix, char_macro_def_fix): Use gcc's
1989 custom uppercase ctype macros.
1990 * fixincl.c (do_version): Make static and add ATTRIBUTE_NORETURN.
1991 Use gcc's custom uppercase ctype macros.
1992 (main): Prototype.
1993 (machine_matches): Add static prototype and constify variable.
1994 (create_file, test_test, egrep_test): Add static prototype.
1995 (quoted_file_exists): Likewise, and constify parameters.
1996 (extract_quoted_files, internal_fix, start_fixer, fix_applies,
1997 write_replacement, test_for_changes): Add static prototype.
1998 (write_replacement, test_for_changes): Delete excess argument to
1999 `create_file'.
2000 * fixtests.c (test): Make static.
2001 * server.c (load_data, sig_handler, server_setup, find_shell): Add
2002 static prototype.
2003 (sig_handler): Mark parameter with ATTRIBUTE_UNUSED.
2004
d7156fee
BK
20052000-12-02 Bruce Korb <bkorb@gnu.org>
2006
2007 * fixnc/mkfixinc.sh(msdosdjgpp): remove from fixincludes exception list
2008 (per Laurynas Biveinis <lauras@softhome.net>)
2009
f1008e52
RE
20102000-12-02 Richard Earnshaw <rearnsha@arm.com>
2011
2012 * arm.h (ARM_REGNO_OK_FOR_BASE_P, THUMB_REGNO_MODE_OK_FOR_BASE_P): New
2013 macros.
2014 (REGNO_MODE_OK_FOR_BASE_P): Define in terms of above.
2015 (REGNO_OK_FOR_FOR_BASE_P): Delete.
2016 (ARM_REG_OK_FOR_BASE_P, THUMB_REG_MODE_OK_FOR_BASE_P): New macros for
2017 both strict and non-strict uses.
2018 (REG_MODE_OK_FOR_BASE_P): Define in terms of above.
2019 (ARM_REG_OK_FOR_INDEX_P, THUMB_REG_OK_FOR_INDEX_P): New macros.
2020 (REG_OK_FOR_INDEX_P): Define in terms of above.
2021 (REG_OK_FOR_BASE_P): Delete.
2022 (REG_OK_FOR_PRE_POST_P): Delete.
2023 (ARM_BASE_REGISTER_RTX_P): Renamed from BASE_REGISTER_RTX_P.
2024 (ARM_INDEX_REGISTER_RTX_P): Renamed from INDEX_REGISTER_RTX_P.
2025 (ARM_GO_IF_LEGITIMATE_INDEX): Renamed from GO_IF_LEGITIMATE_INDEX.
2026 (THUMB_LEGITIMATE_OFFSET): Renamed from LEGITIMATE_OFFSET.
2027 (ARM_GO_IF_LEGITIMATE_ADDRESS): Adjust for name changes. Use ARM
2028 specific variants rather than general ones. Use ARM_REG_OK_FOR_BASE_P
2029 in pre/post increment cases.
2030 (THUMB_GO_IF_LEGITIMATE_ADDRESS): Similarly for Thumb.
2031 (ARM_LEGITIMIZE_ADDRESS): Similarly.
2032 (THUMB_LEGITIMIZE_RELOAD_ADDRESS): Similarly.
2033 * arm.c (legitimate_pic_address): Similarly.
2034
4eb191f3
NB
20352000-12-02 Neil Booth <neilb@earthling.net>
2036
f6bbde28
ZW
2037 * tradcpp.c (struct answer, parse_assertion, parse_answer,
2038 canonicalize_text, find_answer): New.
2039 (do_assert, do_unassert): Provide appropriate function bodies.
2040 (union hashval): New member answers.
4eb191f3 2041
84e6f1ba
MM
20422000-11-23 Marek Michalkiewicz <marekm@linux.org.pl>
2043
2044 * config/avr/avr.md: Document UNSPEC usage.
2045 (*tablejump_rjmp, *tablejump_lib, *tablejump_enh, *tablejump):
2046 Make operand 0 input only, clobber it. Use UNSPEC, not a bogus
2047 MEM for program memory word reference. Do not add the label to
2048 the table index in each of the asm output templates, instead ...
2049 (casesi): ... do it in RTL. Adjust to match the above change.
2050
a88f02e7
BS
20512000-12-02 Bernd Schmidt <bernds@redhat.co.uk>
2052
0884b60c
BS
2053 * c-common.c (PTRDIFF_TYPE): Provide default here, ...
2054 * c-decl.c: ... not here.
2055
a88f02e7
BS
2056 * haifa-sched.c (sched_dump): Renamed from dump. All users changed.
2057 (old_max_uid): New variable.
2058 (compute_forward_dependences): Renamed from
2059 compute_block_forward_dependences; changed to accept block head and
2060 tail instead of block number. Caller changed.
2061 (free_deps, init_dependency_caches, free_dependency_caches,
2062 init_regions, sched_init): New functions, split out from
2063 schedule_insns and compute_block_backward_dependences.
2064
fef1de5d
NB
20652000-12-02 Neil Booth <neilb@earthling.net>
2066
f6bbde28 2067 * cppexp.c (parse_number): Update diagnostic test.
fef1de5d 2068
88edcc06
BS
20692000-12-02 Bernd Schmidt <bernds@redhat.co.uk>
2070
2071 * reload1.c (free_for_value_p): New function, frontend to
2072 reload_reg_free_for_value_p. All callers of the latter now call
2073 this function with an additional mode argument.
2074
a325caa0
GP
20752000-12-02 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
2076
2077 * install.texi (Configurations): Remove obsolete documentation for
2078 hppa*-*-*.
2079
3808a17d
GP
20802000-12-02 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
2081
2082 * install.texi (Installation): Remove obsolete description for
2083 libstdc++ which is now an integral part of GCC.
f6bbde28 2084
27646dba
JB
20852000-12-01 Jim Blandy <jimb@redhat.com>
2086
2087 * dbxout.c (dbxout_parms): Correctly describe parameters passed by
2088 invisible reference in registers, but then spilled to the stack.
2089 Remove code to emit a second stab for such parameters; it attempts
2090 to describe the value's location by introducing a synthetic C++
2091 `reference' type, and then saying the stack slot has that
2092 reference type. This loses type information (breaking GDB's
2093 `ptype' command, among other things) just to describe a location
2094 which stabs can represent correctly in other ways.
2095
cb51ecd2
AO
20962000-12-01 Alexandre Oliva <aoliva@redhat.com>
2097
08106825
AO
2098 * final.c (output_addr_const) <PLUS>: Don't assume at least one
2099 operand is a CONST_INT.
2100
cb51ecd2
AO
2101 * config/sh/sh.c (reg_class_from_letter): Assign `k' to SIBCALL_REGS.
2102 (machine_dependent_reorg): Split all insns.
2103 * config/sh/sh.h (CONDITIONAL_REGISTER_USAGE): Compute
2104 reg_class_contents[SIBCALL_REGS].
2105 (reg_class, REG_CLASS_NAMES, REG_CLASS_CONTENTS): Add SIBCALL_REGS.
2106 * config/sh/sh.md (calli_pcrel, call_pcrel, call_valuei_pcrel,
2107 call_value_pcrel, call, call_value, sibcall): Match even when
2108 not optimizing.
2109 (sibcalli_pcrel, sibcall_pcrel): Likewise. Use constraint `k'
2110 for call address.
2111 (sibcalli): Likewise.
2112
4d808927
JM
21132000-12-01 Joseph S. Myers <jsm28@cam.ac.uk>
2114
2115 * c-common.c (warn_format, warn_format_y2k,
2116 warn_format_extra_args, warn_format_nonliteral): Define.
2117 (check_format_info): Check warn_format_nonliteral and
2118 warn_format_extra_args.
2119 (check_format_info_main): Check warn_format_y2k.
2120 (set_Wformat): New function.
2121 * c-common.h (warn_format_y2k, warn_format_extra_args,
2122 warn_format_nonliteral, set_Wformat): Declare.
2123 * c-decl.c (warn_format): Remove definition.
2124 (c_decode_option): Handle -Wformat-nonliteral,
2125 -Wno-format-extra-args and -Wno-format-y2k, and negated versions.
2126 Use set_Wformat.
2127 * invoke.texi: Document these new options and -Wformat=2.
2128 * toplev.c (documented_lang_options): Add these new options.
2129
e78f4a97
JM
21302000-12-01 Joseph S. Myers <jsm28@cam.ac.uk>
2131
2132 * builtins.def (BUILT_IN_IMAXABS): Add.
2133 * builtins.c (expand_builtin): Also abort on BUILT_IN_IMAXABS.
2134 * c-common.c (c_common_nodes_and_builtins): Create builtin
2135 functions __builtin_imaxabs, and plain imaxabs unless
2136 flag_no_nonansi_builtin outside C99 mode.
2137 (expand_tree_builtin): Handle BUILT_IN_IMAXABS.
2138 * extend.texi: Document builtin imaxabs.
2139
5fd8e536
JM
21402000-12-01 Joseph S. Myers <jsm28@cam.ac.uk>
2141
2142 * c-common.c: Include "defaults.h".
2143 (WINT_TYPE, INTMAX_TYPE, UINTMAX_TYPE): Define.
2144 (c_common_nodes_and_builtins): Create string_type_node,
2145 const_string_type_node, wint_type_node, intmax_type_node,
2146 uintmax_type_node, default_function_type, ptrdiff_type_node and
2147 unsigned_ptrdiff_type_node.
2148 * c-common.h (identifier_global_value): Declare.
2149 * c-decl.c (WINT_TYPE, INTMAX_TYPE, UINTMAX_TYPE): Don't define.
2150 (init_decl_processing): Don't create string_type_node,
2151 const_string_type_node, wint_type_node, intmax_type_node,
2152 uintmax_type_node, default_function_type, ptrdiff_type_node and
2153 unsigned_ptrdiff_type_node.
2154 (identifier_global_value): New function.
2155
8d9e9a08
NB
21562000-12-01 Neil Booth <neilb@earthling.net>
2157
f6bbde28
ZW
2158 * cppinit.c (initialize): Forgotten prototype.
2159 * cpplex.c (_cpp_lex_token): Loop until not skipping.
2160 Always clear PREV_WHITE upon meeting a new line.
2161 * cpplib.c (end_directive): Set pfile->skipping after
2162 skip_rest_of_line.
2163 * cpplib.h (cpp_reader): Remove macro_pos.
2164 * cppmacro.c (cpp_get_line): Don't do anything special inside
2165 macros.
2166 (parse_arg): Add PREV_WHITE if a token appears after new lines.
2167 (funlike_invocation_p): Save and restore the output position
2168 over a successful check for a '('.
2169 (enter_macro_context): Delete uses of macro_pos.
2170 (cpp_get_token): Don't use pfile->skipping.
8d9e9a08 2171
c4765d18
PE
21722000-12-01 Phil Edwards <pme@sources.redhat.com>
2173
2174 * diagnostic.c: Fix typos in comments.
2175 * diagnostic.h: Likewise.
2176
815d683e
PE
21772000-11-30 Phil Edwards <pme@sources.redhat.com>
2178
2179 * rtl.texi (Machine Modes): Document BImode and OImode.
2180
ae24178a
JM
21812000-12-01 Joseph S. Myers <jsm28@cam.ac.uk>
2182
2183 * gcc.c (default_compilers): Add suffixes .mi, .cp, .ii, .FOR and
2184 .FPP.
2185
c7b82833
JM
21862000-12-01 Joseph S. Myers <jsm28@cam.ac.uk>
2187
2188 * c-decl.c (grokdeclarator): If pedantic, warn about arrays with
2189 incomplete element type.
2190 (grokparms): Before checking for incomplete parameter type, check
2191 the type isn't error_mark_node.
2192
ab937357
JJ
21932000-12-01 Jakub Jelinek <jakub@redhat.com>
2194
2195 * builtins.c (target_char_cast): New function.
2196 (expand_builtin_strchr): Use it.
2197 (expand_builtin_strrchr): Use it.
2198 (builtin_memset_read_str): New function.
2199 (expand_builtin_memset): Use target_char_cast.
2200 Try to optimize memset with second argument non-zero using
2201 store_by_pieces.
2202
3a69a7d5
MM
22032000-11-30 Marek Michalkiewicz <marekm@linux.org.pl>
2204
2205 * install.texi (avr): Replace incomplete list of supported MCU
2206 types with a link to the current one ...
2207 * invoke.texi (AVR Options): ... here. Update -mmcu= to list
2208 all supported MCU types. Document -minit-stack= default.
2209 Document new options -mno-tablejump, -mtiny-stack.
2210 * md.texi (AVR family): Fix typo in 'w' constraint letter
2211 description. Document 'q'. Update 'O'.
2212
53895717
BS
22132000-12-01 Bernd Schmidt <bernds@redhat.co.uk>
2214
2215 * combine.c (cant_combine_insn_p): Only disallow insns involving
2216 hard regs if they are reg-reg moves.
2217 (try_combine, can_combine_p, combinable_i3pat): Delete old
2218 SMALL_REGISTER_CLASSES tests.
2219
f00018dd
AO
22202000-12-01 Alexandre Oliva <aoliva@redhat.com>
2221
3d422cb1
AO
2222 * config/sh/sh.c (shiftcosts): Don't get INTVAL before testing
2223 whether X is a CONST_INT.
2224 (addsubcosts): Likewise.
2225
f00018dd
AO
2226 * config/sh/sh.h (OUTPUT_ADDR_CONST_EXTRA): Use INTVAL instead of
2227 mis-used XINT.
2228 (ARG_POINTER_REGNUM): Set to AP_REG.
2229
95ac07b0
AO
22302000-11-30 Alexandre Oliva <aoliva@redhat.com>
2231
ecfdeaeb
AO
2232 * config/sh/sh.md (fpu_switch0, fpu_switch1, movpsi, fpu_switch,
2233 splits): Only match on TARGET_SH4.
2234
95ac07b0
AO
2235 * combine.c (try_combine): Disregard USEs when updating LOG_LINKS
2236 of subsequent insns.
2237
f2720858
RH
22382000-11-30 Richard Henderson <rth@redhat.com>
2239
2240 * config/alpha/alpha.h (ASM_OUTPUT_MI_THUNK): Disable.
2241 * config/alpha/alpha32.h (ASM_OUTPUT_MI_THUNK): Likewise.
2242
ef7d91cd
RH
22432000-11-30 Richard Henderson <rth@redhat.com>
2244
2245 * config/alpha/elf.h (ASM_OUTPUT_SECTION_NAME): Copy elfos.h defn.
2246 (DO_SELECT_SECTION): New.
2247 (SELECT_SECTION): Use it.
2248 (UNIQUE_SECTION_P): New.
2249 (UNIQUE_SECTION): New.
2250
29ced803
AO
22512000-11-30 Alexandre Oliva <aoliva@redhat.com>
2252
2253 * c-common.c (status_warning) [! ANSI_PROTOTYPES]: Load status
2254 from va_list before using it.
2255
25e4379f
MM
22562000-11-30 Michael Matz <matzmich@cs.tu-berlin.de>
2257
2258 * flow.c (make_edge): Early out, if no flags to set.
2259 (calculate_global_regs_live): Clear out garbage only when necessary.
2260
2261 * simplify-rtx.c (varray_type used_regs): New.
2262 (clear_table): Use it to only clear necessary items.
2263 (cselib_lookup, cselib_record_set): Remember newly set items.
2264 (cselib_update_varray_sizes, cselib_init): Initialize and grow
2265 used_regs.
2266
2267 * local-alloc.c (update_equiv_regs): New local `cleared_regs'.
2268 Move clearing of dead regs out of insn-loop.
2269
41c39533
RH
22702000-11-30 Richard Henderson <rth@redhat.com>
2271
2272 * calls.c (expand_call): Emit queued insns before creating
2273 the tail recursion sequence.
2274
039df8c7 22752000-11-30 J. David Anglin <dave.anglin@nrc.ca>
f6bbde28 2276 Bruce Korb <bkorb@gnu.org>
039df8c7
DA
2277
2278 * fixinc/inclhack.def(): prevent dual double definition protection
2279 * fixinc/fixincl.x: regenerate
2280
42cfed37
LR
22812000-11-29 Loren J. Rittle <ljrittle@acm.org>
2282
f6bbde28
ZW
2283 * fixinc/Makefile.in (fixincl.x): Explicitly state the
2284 location of the generated file.
42cfed37 2285
a6bb9efa
GP
22862000-11-30 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
2287
2288 * README.FRESCO: Remove obsolete file.
2289
255b8a49
JL
22902000-11-30 Mark Kettenis <kettenis@gnu.org>
2291
255b8a49
JL
2292 * config/t-gnu (LIBGCC1, CROSS_LIBGCC1, CRTSTUFF_T_CFLAGS,
2293 TARGET_LIBGCC2_CFLAGS): Remove. We now use the settings from
2294 config/t-linux for the Hurd.
2295
22962000-11-30 Stephane Carrez <Stephane.Carrez@worldnet.fr>
75273d08
SC
2297
2298 * config/mn10200/udivmod.c, config/mn10200/divmod.c,
2299 config/mn10200/udivmodsi4.c: Moved from here.
2300 * config/udivmod.c, config/divmod.c, config/udivmodsi4.c: To here.
2301 * config/mn10200/t-mn10200 (LIB2FUNCS_EXTRA): Use the generic
2302 C division functions.
2303 * config/m68hc11/t-m68hc11-gas (LIB2FUNCS_EXTRA): Likewise.
2304
15c2086a
JL
2305Thu Nov 30 01:12:52 2000 Jeffrey A Law (law@cygnus.com)
2306
2307 * pa.md (conditional moves): Avoid holes in operand list.
2308 (mod, umod patterns): Similarly.
2309 (variable extract/shift patterns): Similarly.
2310
9105f671
NB
23112000-11-30 Neil Booth <neilb@earthling.net>
2312
f6bbde28
ZW
2313 * objc/objc-act.c (lang_init, finish_file, maybe_objc_comptypes,
2314 maybe_objc_check_decl, build_objc_string_object,
2315 objc_declare_alias, objc_declare_class, build_message_expr,
2316 build_protocol_expr, build_selector_expr, build_encode_expr,
2317 get_class_ivars, start_class, start_protocol): Remove
2318 redundant code, assuming doing_objc_thang is true.
9105f671 2319
31a7659b
JDA
23202000-11-29 John David Anglin <dave@hiauly1.hia.nrc.ca>
2321
1f80ea95
JDA
2322 * pa.c (restore_unscaled_index_insn_codes): Delete procedure.
2323 (record_unscaled_index_insn_codes): Likewise.
2324 (unscaled_index_insn_codes): Delete.
2325 (max_unscaled_index_insn_codes_uid): Delete.
2326 (output_function_prologue, output_function_epilogue, pa_reorg):
2327 Don't use the unscaled index insn hack.
2328
d16ca6a6
JDA
2329 * pa.md: Remove hack from all index insns to reverse the operand
2330 order of frame and stack pointer references incorrectly created
2331 in the reload pass.
2332
3502dc9c
JDA
2333 * function.h (emit_status): Delete member regno_pointer_flag and
2334 rename regno_pointer_flag_length to regno_pointer_align_length.
2335 Delete define for REGNO_POINTER_FLAG.
2336 * integrate.h (inline_remap): Delete member regno_pointer_flag.
2337 Add member x_regno_reg_rtx.
2338 * rtl.h (rtx_def): Use frame_related bit to indicate register is
2339 a pointer in REG expressions. Define REG_POINTER macro.
2340 * alias.c (find_base_value, find_base_term): Use REG_POINTER
2341 instead of REGNO_POINTER_FLAG.
2342 * combine.c (nonzero_bits, num_sign_bit_copies): Likewise.
2343 * emit-rtl.c (gen_reg_rtx): Use regno_pointer_align_length instead
2344 of regno_pointer_flag_length. Remove code which refers to
2345 regno_pointer_flag.
2346 (mark_reg_pointer): Use REG_POINTER.
2347 (free_emit_status): Remove code which refers to regno_pointer_flag.
2348 (init_emit, mark_emit_status): Likewise.
2349 * flow.c (dump_flow_info): Likewise.
2350 * function.c (preserve_temp_slots): Likewise.
2351 * integrate.c (expand_inline_function, copy_rtx_and_substitute):
2352 Use x_regno_reg_rtx instead of regno_pointer_flag for function
2353 pointer determination in map.
2354 * loop.c (strength_reduce, maybe_eliminate_biv_1): Use REG_POINTER.
2355 * predict.c (estimate_probability): Likewise.
2356 * regclass.c (record_address_regs, reg_scan_mark_refs): Likewise.
2357 * unroll.c (unroll_loop): Use x_regno_reg_rtx instead of
2358 regno_pointer_flag for function pointer determination in map.
2359 * convex.h (RTX_COSTS): Don't test regno_pointer_flag and use
2360 REG_POINTER.
2361 * pa.c (hppa_legitimize_address, emit_move_sequence, basereg_operand):
2362 Use REG_POINTER.
2363 (restore_unscaled_index_insn_codes): Revise comment.
2364
31a7659b
JDA
2365 * expr.c (do_compare_and_jump): Add missing TYPE_MODE in statement.
2366
9f1bbeaa
JM
23672000-11-30 Joseph S. Myers <jsm28@cam.ac.uk>
2368
2369 * extend.texi: Update documentation for attributes.
2370
74e5aa4b
DB
23712000-11-29 David O'Brien <obrien@FreeBSD.org>
2372
2373 * config/alpha/elf.h (IDENT_ASM_OP): Protect the #define.
2374 (ASM_DECLARE_OBJECT_NAME): Same.
2375 (ASM_FILE_END): Same.
2376 (ASM_FINISH_DECLARE_OBJECT): Same.
2377 (ASM_IDENTIFY_GCC): Same.
2378 (ASM_IDENTIFY_LANGUAGE): Same.
2379 (ASM_OUTPUT_CONSTRUCTOR): Same.
2380 (ASM_OUTPUT_DEF): Same.
2381 (ASM_OUTPUT_DESTRUCTOR): Same.
2382 (ASM_OUTPUT_EXTERNAL_LIBCALL): Same.
2383 (ASM_OUTPUT_SECTION_NAME): Same.
2384 (ASM_WEAKEN_LABEL): Same.
2385 (BSS_SECTION_ASM_OP): Same.
2386 (COMMON_ASM_OP): Same.
2387 (CONST_SECTION_ASM_OP): Same.
2388 (CONST_SECTION_FUNCTION): Same.
2389 (CTORS_SECTION_ASM_OP): Same.
2390 (DTORS_SECTION_ASM_OP): Same.
2391 (ESCAPES): Same.
2392 (FINI_SECTION_ASM_OP): Same.
2393 (IDENT_ASM_OP): Same.
2394 (IDENT_ASM_OP): Same.
2395 (INIT_SECTION_ASM_OP): Same.
2396 (INT_ASM_OP): Same.
2397 (MAX_OFILE_ALIGNMENT): Same.
2398 (SBSS_SECTION_ASM_OP): Same.
2399 (SDATA_SECTION_ASM_OP): Same.
2400 (SECTION_FUNCTION_TEMPLATE): Same.
2401 (SELECT_SECTION): Same.
2402 (SE_CONST_SECTION): Same.
2403 (SIZE_ASM_OP): Same.
2404 (SKIP_ASM_OP): Same.
2405 (STRING_ASM_OP): Same.
2406 (STRING_LIMIT): Same.
2407 (TYPE_ASM_OP): Same.
2408 (TYPE_OPERAND_FMT): Same.
2409
0eaed3c6
NB
24102000-11-29 Neil Booth <neilb@earthling.net>
2411
f6bbde28
ZW
2412 * c-decl.c (c_decode_option): Don't handle -lang-objc.
2413 * objc/lang-options.h: Remove -lang-objc.
2414 * objc/lang-specs.h: Don't pass -lang-objc to cc1obj.
2415 * objc/objc-act.c (lang_init_options): Set c_language.
0eaed3c6 2416
98166639
JJ
24172000-11-29 Jakub Jelinek <jakub@redhat.com>
2418
2419 * expr.c (can_store_by_pieces): Reinitialize max_size for reverse
2420 tests.
2421
f3b55474
NB
24222000-11-29 Neil Booth <neilb@earthling.net>
2423
f6bbde28 2424 * c-pragma.c (init_pragma): Update for parse_in type change.
f3b55474 2425
b86ecfa9
LB
24262000-11-29 Laurynas Biveinis <lauras@softhome.net>
2427
2428 * configure.in: recognize DOS-style absolute paths.
2429
57814e5e
JJ
24302000-11-29 Jakub Jelinek <jakub@redhat.com>
2431
2432 * expr.h (store_by_pieces): Add prototype.
2433 (can_store_by_pieces): Likewise.
2434 * expr.c (struct store_by_pieces): Renamed from clear_by_pieces.
2435 (can_store_by_pieces): New.
2436 (store_by_pieces): New.
2437 (clear_by_pieces): New.
2438 (clear_by_pieces_1): New.
2439 (store_by_pieces_1): Renamed from clear_by_pieces, handle storing
2440 arbitrary compiler generated constants into memory block.
2441 (store_by_pieces_2): Renamed from clear_by_pieces_1, likewise.
2442 * builtins.c (c_readstr): New.
2443 (builtin_memcpy_read_str): New.
2444 (expand_builtin_memcpy): If src is string constant and
2445 emit_block_move would move it by pieces, compute integer constants
2446 from the string and store it into memory block instead.
2447 (builtin_strncpy_read_str): New.
2448 (expand_builtin_strncpy): If N is not constant zero and c_strlen does
2449 not return INTEGER_CST, don't optimize.
2450 If N is larger than strlen(src) + 1, try to copy the string
2451 including padding with store_by_pieces.
2452 (expand_builtin_strcmp): If both arguments have side effects, don't
2453 optimize.
2454 (expand_builtin_fputs): If STR has side effects, don't optimize.
2455
76b7dad3
RE
24562000-11-29 Richard Earnshaw <rearnsha@arm.com>
2457
2458 * arm.md (sibcall, sibcall_value, sibcall_insn, sibcall_value_insn):
2459 Add use of link register.
2460
b722c82c
JM
24612000-11-29 Joseph S. Myers <jsm28@cam.ac.uk>
2462
2463 * extend.texi: Update documentation for default format attributes.
2464
01fa3508
JL
2465Tue Nov 28 21:56:45 2000 Jeffrey A Law (law@cygnus.com)
2466
2467 * pa/pa-64.h (ASM_OUTPUT_SECTION_NAME): Use a hash table, not
2468 a list, to keep track of the sections.
2469
4bec9f7d
NC
24702000-11-28 Nick Clifton <nickc@redhat.com>
2471
2472 * config/arm/arm.md (pic_load_addr): Split into
2473 pic_load_addr_arm and pic_load_addr_thumb.
2474
2475 * config/arm/arm.c (legitimize_pic_address): Generate either
2476 ARM or Thumb versions of pic_load_addr.
2477 (arm_finalize_pic): Generate either ARM or Thumb versions of
2478 pic_load_addr.
2479
54fef245
RH
24802000-11-28 Richard Henderson <rth@redhat.com>
2481
2482 * calls.c (expand_call): Defer const/pure NO_DEFER_POP until
2483 after sibcall do_pending_stack_adjust.
2484
f423a6a7
R
2485Wed Nov 29 00:08:23 2000 J"orn Rennecke <amylaar@redhat.com>
2486
2487 * jump.c (delete_insn): Check that REG_LABEL note actually contains
2488 a CODE_LABEL.
2489
eaf299c6
NB
24902000-11-28 Neil Booth <neilb@earthling.net>
2491
01933a51 2492 * c-common.h: Remove flag_digraphs.
f6bbde28
ZW
2493 * c-decl.c: Remove flag_digraphs.
2494 (c_decode_option): Don't set it.
01933a51 2495 * c-lex.c (init_c_lex): Don't do anything for digraphs.
eaf299c6 2496
7dfe7bd6
RH
24972000-11-28 Richard Henderson <rth@redhat.com>
2498
2499 * c-parse.in (finish_parse): Update for parse_in type change.
2500 (_yylex): Likewise.
2501
8dc4676d
NB
25022000-11-28 Neil Booth <neilb@earthling.net>
2503
01933a51
JM
2504 * cppmacro.c (cpp_scan_buffer_nooutput): Take a boolean
2505 indicating whether to scan all buffers on the stack or
2506 just one.
2507 * cppinit.c (do_includes): Update.
2508 * cppmain.c (main): Update.
2509 * cpplib.h: Update prototype.
8dc4676d 2510
c77e04ae
RH
25112000-11-28 Richard Henderson <rth@redhat.com>
2512
2513 * genoutput.c (validate_insn_operands): New.
2514 (gen_insn): Call it.
2515
2516 * config/alpha/alpha.md (divmodsi_internal): Renumber operands.
2517 (divmoddi_internal): Likewise.
2518 * config/arm/arm.md (andsi3_compare0_scratch): Likewise.
2519 * config/i960/i960.md (branch patterns): Likewise.
2520 * config/ia64/ia64.md (tbit_and_0): Likewise.
2521 (tbit_and_1, tbit_or_0, tbit_or_1): Likewise.
2522 * config/m68k/m68k.md (zero_extract memory patterns): Likewise.
2523 * config/mips/mips.md (divmodsi4_internal): Likewise.
2524 (divmoddi4_internal): Likewise.
2525 * config/rs6000/rs6000.md (call patterns): Likewise.
2526 * config/sh/sh.md (movsi_y): Likewise.
2527 * config/sparc/sparc.md: Comment out if 0 v8p shift pattern.
2528
79bc4669
RH
25292000-11-28 Richard Henderson <rth@redhat.com>
2530
2531 * config.gcc: Kill residual pyramid support.
2532
cf44ea52
NB
25332000-11-28 Neil Booth <neilb@earthling.net>
2534
2535 * c-lex.h (parse_in): Change parse_in to a cpp_reader *.
2536 * c-decl.c (c_decode_option): Update to match.
2537 * c-lex.c (init_c_lex, yyparse): Update to match.
2538 * c-lang.c (lang_init_options): Use cpp_create_reader.
2539 * cppinit.c (cpp_init): Rename initialize.
2540 (cpp_reader_init): Rename cpp_create_reader. Create the
2541 reader. Initialize cpplib if appropriate.
2542 * cpplib.h (cpp_create_reader) New prototype.
2543 (cpp_init, cpp_reader_init): Delete prototypes.
2544 * cppmain.c (general_init, setup_callbacks): New functions.
2545 (main): Use them.
2546 * fix-header.c (scan_in): Change type to cpp_reader *.
2547 (read_scan_file): Update for new cpplib interface and scan_in type.
2548
2549 * cp/decl.c (parse_in): Change to cpp_reader *.
2550 (lang_decode_option): Update.
2551 * cp/lex.c (lang_init_options): Use new cpplib interface.
2552 (init_cp_pragma, finish_parse, handle_pragma_implementation): Update.
2553 * cp/spew.c (read_token): Update.
2554 * objc/objc-act.c (lang_init_options): Update new cpplib interface.
2555
48c4d691
JJ
25562000-11-28 Jakub Jelinek <jakub@redhat.com>
2557
2558 * loop.c (load_mems): Avoid using next_label to find end_label. If
2559 jumping outside of the loop (other than loop end), don't hoist MEMs
2560 out of loop.
2561
fb158467
JH
25622000-11-28 Jan Hubicka <jh@suse.cz>
2563
2564 * calls.c (expand_call): Don't disable tail recursion based
2565 on the loop nest.
2566
40bd4395
NB
25672000-11-28 Neil Booth <neilb@earthling.net>
2568
01933a51
JM
2569 * tradcpp.c (enum node_type): New hash types T_ASSERT, T_UNASSERT.
2570 (struct directive): Drop 4th argument from handlers.
2571 (do_define, do_line, do_include, do_undef, do_else, do_elif,
2572 do_endif): Similarly.
2573 (do_assert, do_unassert, do_ifdef, do_ifndef): New handlers.
2574 (do_ifxdef): Update as common handler of do_ifdef and do_ifndef.
2575 (make_definition, make_undef): Take a const char*.
2576 (make_assertion): New function.
2577 (struct directive_table): Update.
2578 (main): Handle -A command line argument.
2579 (handle_directive): Drop fourth handler argument.
40bd4395 2580
77ea49a4
BS
25812000-11-28 Bernd Schmidt <bernds@redhat.co.uk>
2582
2583 * simplify-rtx.c (cselib_record_sets): Ignore sets whose destination
2584 is anything but REG or MEM, but look inside STRICT_LOW_PART.
2585
c5c0b3d9
RK
2586Tue Nov 28 09:53:50 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
2587
2588 * system.h (IS_DIR_SEPARATOR): Use uppercase macro name.
2589 (IS_ABSOLUTE_PATHNAME): New macro.
2590 * gcc.c (find_a_file, process_command, do_spec_1, main): Use it.
2591
dd80b906
JJ
25922000-11-28 Jakub Jelinek <jakub@redhat.com>
2593
2594 * config/i386/i386.md (truncxfsf2_2): Fix predicate.
2595
102870fb
JW
25962000-11-27 Jim Wilson <wilson@redhat.com>
2597
2598 * reload1.c (reload): Use HOST_WIDE_INT for old_frame_size.
2599
9734e80c
MK
26002000-11-27 Matthias Klose <doko@cs.tu-berlin.de>
2601
2602 * extend.texi (Nested Functions): Update URL of Usenix paper.
2603
cf77f15f
MM
26042000-11-27 Mark Mitchell <mark@codesourcery.com>
2605
2606 * function.c (free_after_compilation): Clear x_clobber_return_insn.
2607
6a6b1628
NB
26082000-11-27 Neil Booth <neilb@earthling.net>
2609
f6bbde28 2610 * cppinit.c (cpp_reader_init): Remove handling of warn_paste
01933a51
JM
2611 command line options.
2612 (cpp_handle_option): Similarly.
2613 * cpplib.h (struct cpp_options): Remove warn_paste.
2614 * cppmacro.c (paste_tokens): Apart from assembler, make
2615 unpasteable token warning mandatory.
6a6b1628 2616
fb6a7b08
NB
26172000-11-27 Neil Booth <neilb@earthling.net>
2618
01933a51
JM
2619 * tradcpp.c (enum pending_dir_t, struct pending_dir): New.
2620 (main): Allocate a pending directive set of these. Use it.
2621 Merge handling of -D and -U. Update handling of pending
2622 directives. Free the memory after use.
fb6a7b08 2623
7dfc0fbe
BS
26242000-11-27 Bernd Schmidt <bernds@redhat.co.uk>
2625
2626 * flow.c (entry_exit_blocks): Add entry for cond_local_set.
2627 (struct propagate_block_info): Add new member cond_local_set.
2628 (propagate_block): Accept new arg cond_local_set. All callers
2629 changed.
2630 (init_propagate_block_info): Likewise.
2631 (calculate_global_regs_live): Allocate & free cond_local_set. Always
2632 rescan if there's overlap between cond_local_set and new_live_at_end.
2633 (mark_set_1): Set bits either in cond_local_set or local_set, as
2634 appropriate.
2635 * basic-block.h (struct basic_block_def): New field cond_local_set.
2636 (propagate_block, init_propagate_block_info): Update prototypes.
2637
5f6fa212
KK
2638Mon Nov 27 17:29:44 2000 kaz Kojima <kkojima@rr.iij4u.or.jp>
2639
2640 * gcc/config/sh/sh.md (udivsi3_i4, udivsi3_i4_single): Clobber
2641 T register.
2642
8bb9536a
RE
26432000-11-27 Richard Earnshaw <rearnsha@arm.com>
2644
2645 * arm.c (select_dominance_cc_mode): Handle new way that combine
2646 canonicalizes conditional compares.
2647 (arm_select_cc_mode): Likewise.
2648 * arm.md: Garbage collect some dead code.
2649 (cmp_and, cmp_ior): New patterns.
2650 (splitter for conditional move with inverted false): Use cond_exec
2651 and handle unordered comparisons.
2652
4211a8fb
JH
2653Mon Nov 27 17:22:56 MET 2000 Jan Hubicka <jh@suse.cz>
2654
2655 * i386.c (ix86_force_to_memory, ix86_free_from_memory): New.
2656 * i386-protos.h (ix86_force_to_memory, ix86_free_from_memory): Declare
2657 * i386.md (float?i?f, int/fp operations): Rewrite spliters to use
2658 ix86_force_to_memory and ix86_free_from_memory.
2659
bb6ae783
RE
26602000-11-27 Richard Earnshaw <rearnsha@arm.com>
2661
2662 * arm.md (arm_adddi3, adddi_sesidi_di, adddi_zesidi_di, arm_addsi3,
2663 arm_subsi3_insn, anddi_zesidi_di, arm_andsi3_insn, anddi_notdi_di,
f6bbde28 2664 anddi_notzesidi_di, anddi_notsesidi_di, arm_iorsi3,
bb6ae783
RE
2665 one_cmpldi2): Merge with splitters to create define_insn_and_split
2666 patterns. Remove redundant splits.
2667 (peephole2 for add:SI of invalid immediate): New.
2668 (peephole2 for minus:SI of invalid immediate): New.
2669 (peephole2 for ior:SI of invalid immediate): New.
2670 (peephole for merge of move and compare): Convert ot peephole2.
2671 (addsf3, adddf3): Mark as commutative.
2672
2673 * arm.md (thumb peephole for merging stack adjustments): Convert to
2674 peephole2.
2675
70bbeb8b
BS
26762000-11-27 Bernd Schmidt <bernds@redhat.co.uk>
2677
375de5b6
BS
2678 * haifa-sched.c (print_pattern): Prettier output for COND_EXEC.
2679
70bbeb8b
BS
2680 * reload1.c (reload_cse_simplify_set): Pass down mode to cselib_lookup.
2681 (reload_cse_simplify_operands): Do nothing about operands where both
2682 the operand and the match_operand fail to give us a mode.
2683 * simplify-rtx.c (wrap_constant): New function.
2684 (entry_and_rtx_equal_p): Except integer constants to come wrapped in a
2685 CONST describing the proper mode.
2686 (rtx_equal_for_cselib_p): Pass down modes to recursive calls of
2687 cselib_lookup.
2688 (cselib_lookup_mem): Call wrap_constant on the rtx that is passed to
2689 htab_find_slot_with_hash.
2690 (cselib_lookup): Likewise.
2691
7dbe6ae9
BS
2692 Based on a patch from Geoff Keating <geoffk@redhat.com>:
2693 * loop.c (basic_induction_var): If a REG is set from something
2694 that is not a biv, then the REG is not a biv. Even if it is
2695 earlier set from something that is a biv.
2696
6b2adea9
AO
26972000-11-27 Alexandre Oliva <aoliva@redhat.com>
2698
2699 * configure.in (extra_objs): Enclose extra_headers in quotes.
2700 * configure: Rebuilt.
2701
27e2564a
NB
27022000-11-27 Neil Booth <neilb@earthling.net>
2703
01933a51
JM
2704 * c-lex.c (cb_enter_file, cb_leave_file, cb_rename_file):
2705 Combine into the new function cb_change_file.
2706 (init_c_lex): Update.
2707 * cppfiles.c (stack_include_file): Use _cpp_do_file_change.
2708 (cpp_syshdr_flags): Delete.
2709 * cpphash.h (_cpp_do_file_change): New prototype.
2710 Move struct cpp_buffer here from...
2711 * cpplib.h (struct cpp_buffer): ... here.
2712 (enum cpp_fc_reason, struct cpp_file_loc,
2713 struct_cpp_file_change, change_file): New.
2714 (enter_file, leave_file, rename_file, cpp_syshdr_flags): Delete.
2715 * cpplib.c (do_line): Update for new cb_change_file callback.
2716 (_cpp_do_file_change): New function.
2717 (_cpp_pop_buffer): Update to use it.
2718 * cppmain.c (move_printer): Delete.
2719 (main): Set up single callback cb_change_file.
2720 (cb_enter_file, cb_leave_file, cb_rename_file): Delete.
2721 (cb_change_file): New.
2722 * fix-header.c (cur_file, cb_change_file): New.
2723 (recognized_function, read_scan_file): Update.
2724 * scan-decls.c (scan_decls): Update.
2725 * scan.h (recognized_function): Update prototype.
27e2564a 2726
9ccb25d5
MM
27272000-11-26 Mark Mitchell <mark@codesourcery.com>
2728
2729 * tree.h (mark_tree_hashtable): New function.
2730 * tree.c (mark_tree_hashtable_entry): New function.
2731 (mark_tree_hashtable): Likewise.
2732
5fcd86dd
MM
27332000-11-27 Michael Meissner <meissner@redhat.com>
2734
2735 * d30v-protos.h (srelational_si_operator): Correctly spell
2736 function.
2737 (urelational_si_operator): Ditto.
2738 (relational_si_operator): Ditto.
2739 (d30v_expand_prologue): Add prototype.
2740 (d30v_expand_epilogue): Ditto.
2741
2742 * d30v.h (OPTIMIZATION_OPTIONS): Undo November 22nd change.
2743
2744 * d30v.md (movcccc_*): Delete now unused patterns.
2745 (64 bit comparison splitters): Rewrite to use COND_EXEC instead of
2746 IF_THEN_ELSE.
2747 (define_cond_exec): Use 'b' to select branch flags.
2748
da9e9f08
KG
27492000-11-26 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2750
2751 * builtins.c (expand_builtin_strncmp, expand_builtin_strncpy): New
2752 functions.
2753 (expand_builtin): Handle BUILT_IN_STRNCPY and BUILT_IN_STRNCMP.
2754
2755 * builtins.def (BUILT_IN_STRNCPY, BUILT_IN_STRNCMP): New entries.
2756
2757 * c-common.c (c_common_nodes_and_builtins): Declare builtin
2758 strncpy and strncmp.
2759
2760 * extend.texi (strncmp, strncpy): Document new builtins.
2761
231db5f4
MM
27622000-11-26 Mark Mitchell <mark@codesourcery.com>
2763
2764 * config/elfos.h (ASM_OUTPUT_SECTION_NAME): Use a hash table, not
2765 a list, to keep track of the sections.
2766 * tm.texi (ASM_OUTPUT_SECTION_NAME): Document the fact that the
2767 parameter provided will always be a canonical string.
2768
7463ef45
NB
27692000-11-26 Neil Booth <neilb@earthling.net>
2770
5fcd86dd
MM
2771 * cppmacro.c (cpp_scan_buffer_nooutput): Only scan the
2772 current buffer.
7463ef45 2773
1ccfb3dd
JM
27742000-11-26 Joseph S. Myers <jsm28@cam.ac.uk>
2775
2776 * makefile.vms: Remove EGCS references.
2777
0b34cf1e
UD
27782000-11-26 Ulrich Drepper <drepper@redhat.com>
2779
2780 * dwarf2out.c (output_file_names): New function. Compute minimal
2781 combination of directory and file name table and emit them.
2782 (output_line_info): Remove code to emit directory and file name
2783 table and call output_file_names instead.
2784 (file_info_cmp): Helper function to sort directory names.
2785
5fcd86dd 27862000-11-26 Neil Booth <neilb@earthling.net>
bdb05a7b 2787
5fcd86dd
MM
2788 * cpplib.h (struct cpp_reader): Remove lang_asm.
2789 (struct cpp_options): Remove c89. New members lang,
2790 extended_numbers.
f6bbde28 2791 * cppexp.c (parse_number): Use them.
5fcd86dd
MM
2792 * cpphash.h (VALID_SIGN): Use them.
2793 * cppinit.c (set_lang, cpp_start_read): Update.
2794 * cpplex.c (parse_string, _cpp_lex_token): Update.
2795 * cpplib.c (_cpp_handle_directive): Update.
2796 * cppmacro.c (parse_args): Update.
2797 * cppmain.c (scan_buffer): Update.
bdb05a7b 2798
72bd1f9e
RK
2799Sun Nov 26 10:02:37 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
2800
2801 * fold-const.c (fold, case CONVERT_EXPR): Always return tree of
2802 proper type.
2803
5fcd86dd
MM
28042000-11-26 Neil Booth <neilb@earthling.net>
2805
2806 * Makefile.in: Remove MAYBE_CPPLIB and maybe_cpplib.
2807 * c-decl.c: Remove parse_in declaration.
2808 * c-lang.c: Similarly.
2809 * c-lex.c: Similarly.
2810 * c-parse.in: Similarly.
2811 * c-pragma.c: Similarly.
2812 * configure.in: Similarly.
2813 * cp/Make-lang.in: Similarly.
2814 * cp/spew.c: Similarly.
2815 * cp/decl2.c: Remove check for lang-c++ option.
2816 * cp/lang-specs.h: Remove -lang-c++ from cc1plus command line.
2817 * cp/lex.c (lang_init_options): With cpp_reader_init, default to C++.
2818 * c-lex.h: Add declaration of parse_in.
2819 * cppinit.c: Call set_lang after allocating pfile->pending.
2820 * configure: Regenerate.
056487e7 2821
1786009e
ZW
28222000-11-25 Zack Weinberg <zack@wolery.stanford.edu>
2823
2824 * combine.c (try_combine): Remove redundant test.
2825
3645c4dc
RH
28262000-11-25 Richard Henderson <rth@redhat.com>
2827
2828 * c-common.h (DECL_C_HARD_REGISTER): New.
2829 * c-decl.c (finish_decl): Set it for asm register variables.
2830 * c-semantics.c (emit_local_var): Test it when instantiating one.
2831
a17a5850
RH
28322000-11-25 Richard Henderson <rth@redhat.com>
2833
2834 * c-decl.c (c_expand_body): Use DECL_SOURCE_LINE rather than
2835 lineno for the start of the function.
2836
2e18bbae
RH
28372000-11-25 Richard Henderson <rth@redhat.com>
2838
2839 * dwarf2out.c (file_table, file_table_allocated): Remove.
2840 (file_table_allocated): Remove.
2841 (struct file_table): New.
2842 (decl_file_table, line_file_table): New.
2843 (print_dwarf_line_table): Use them.
2844 (size_of_line_prolog): Likewise.
2845 (output_line_info): Likewise.
2846 (add_src_coords_attributes): Likewise.
2847 (gen_subprogram_die): Likewise.
2848 (gen_variable_die): Likewise.
2849 (dwarf2out_add_library_unit_info): Likewise.
2850 (dwarf2out_line): Likewise.
2851 (lookup_filename): Take a struct file_table argument.
2852 (init_file_table): New.
2853 (dwarf2out_init): Use it.
2854
163686bd
JM
28552000-11-25 Joseph S. Myers <jsm28@cam.ac.uk>
2856
2857 * invoke.texi: Update sequence points references.
2858
a32f2771
NB
28592000-11-25 Neil Booth <neilb@earthling.net>
2860
01933a51
JM
2861 * c-common.c: Remove USE_CPPLIB conditional inclusions.
2862 * c-common.h: Similarly.
2863 * c-decl.c: Similarly.
a32f2771
NB
2864 * c-lang.c: Similarly.
2865 * c-lex.c: Similarly.
01933a51
JM
2866 * c-parse.in: Similarly.
2867 * c-pragma.c: Similarly.
2868 * c-pragma.h: Similarly.
2869 * gcc.c: Similarly.
2870 * toplev.c: Similarly.
2871 * cp/cp-tree.h: Similarly.
2872 * cp/decl2.c: Similarly.
2873 * cp/lang-specs.h: Similarly.
2874 * cp/lex.c: Similarly.
2875 * cp/lex.h: Similarly.
2876 * cp/spew.c: Similarly.
2877 * java/lang-options.h: Similarly.
2878 * objc/lang-specs.h: Similarly.
2879 * objc/objc-act.c: Similarly.
2880
2881 * configure.in: Remove configure option.
2882 * config.in: Regenerate.
2883 * configure: Regenerate.
a32f2771 2884
3e8aa6e3
RH
28852000-11-25 Richard Henderson <rth@redhat.com>
2886
2887 * haifa-sched.c (sched_analyze_1, sched_analyze_2, sched_analyze):
2888 Revert 2000-11-22 change.
2889
59a9e22e
BS
28902000-11-25 Bernd Schmidt <bernds@redhat.co.uk>
2891
2892 * config/i386/i386.h (FIXED_REGS): Make the three flags registers
2893 fixed.
2894
2be36552
PT
28952000-11-25 Philipp Thomas <pthomas@suse.de>
2896 * configure.in (ALL_LINGUAS): Remove en_GB and add sv.
2897 * configure: Rebuilt.
2898
4df1190a
JJ
28992000-11-25 Jakub Jelinek <jakub@redhat.com>
2900
2901 * config/sparc/sparc.md (muldi3_v8plus): Remove H constraint.
2902 Handle CONST_INT as second argument.
2903 * config/sparc/sparc.c (set_extends): Remove first argument.
2904 Properly handle AND, CONST_INT and CONST_DOUBLE, handle IOR, XOR and
2905 MOV.
2906 (sparc_check_64): Abort if first argument is not REG.
2907 If it is DImode REG, look at the lower register of the register
2908 pair.
2909
2910 * config/sparc/sparc.c (load_pic_register, restore_regs,
2911 output_return, sparc_v8plus_shift, sparc_function_profiler,
2912 sparc_function_block_profiler, sparc_block_profiler): Fix output
2913 formatting.
2914
6915629f
AO
29152000-11-25 Alexandre Oliva <aoliva@redhat.com>
2916
ae010e43
AO
2917 * config/sh/sh.h (TARGET_NONE): New.
2918 (TARGET_SWITCHES): For all variant-selecting switch, use
2919 TARGET_NONE to reset all other variant-selecting switch. Added
2920 empty strings to avoid warnings.
2921 (TARGET_DEFAULT): Set to SH1_BIT.
2922
8618466f
AO
2923 * Makefile.in ($(INTL_TARGETS)): Added $(CONFIG_H) for
2924 insn-codes.h.
2925
5db5a888
AO
2926 * gcc/config/sh/sh.md (sibcalli, sibcalli_pcrel): New insns.
2927 (sibcall_pcrel): New insn_and_split.
2928 (sibcall, sibcall_value, sibcall_epilogue): New expands.
2929
6915629f
AO
2930 * config/sh/sh.md (GOTaddr2picreg, symGOT2reg, symGOTOFF2reg,
2931 symPLT_label2reg, call, call_value): Don't set
2932 current_function_uses_pic_offset_table.
2933 * config/sh/sh.h (CONDITIONAL_REGISTER_USAGE): Don't mark
2934 PIC_OFFSET_TABLE_REGNUM as call_used, so that calc_live_regs
2935 takes it into account.
2936 (FINALIZE_PIC): Delete, useless.
2937 (LEGITIMATE_CONSTANT_P): Delete, unused.
2938 * config/sh/sh.c (sh_expand_prologue): Don't use
2939 current_function_uses_pic_offset_table. Don't special-case
2940 PIC_OFFSET_TABLE_REGNUM. Initialize it if it's ever live and
2941 PIC is enabled.
2942 (sh_expand_epilogue, initial_elimination_offset): Don't
2943 special case PIC_OFFSET_TABLE_REGNUM.
2944
2d01e445
AO
29452000-11-25 Alexandre Oliva <aoliva@redhat.com>, NIIBE Yutaka <gniibe@m17n.org>
2946
2947 * config/sh/sh-protos.h (symbol_ref_operand): Declare.
2948 * config/sh/sh.md (UNSPEC_CALLER): New constant.
2949 (calli_pcrel, call_valuei_pcrel): Use PIC_REG.
2950 (call_pcrel, call_value_pcrel): New insn_and_splits.
2951 (call, call_value): Use them.
2952 (call_site): New expand.
2953 (sym_label2reg, symPLT_label2reg): Adjust to hold call_sites.
2954 * config/sh/sh.h (OUTPUT_ADDR_CONST_EXTRA) [UNSPEC_CALLER]:
2955 Output call_site label.
2956 (PREDICATE_CODES): Added symbol_ref_operand.
2957 * config/sh/sh.c (symbol_ref_operand): Define.
2958 * emit-rtl.c (try_split): Propagate CALL_INSN_FUNCTION_USAGE
2959 to CALL_INSNs in the split sequence.
2960
c3edd394
NC
29612000-11-24 Nick Clifton <nickc@redhat.com>
2962
2963 * config.gcc (v850-*-*): Define c_target_objs and
f6bbde28 2964 cxx_target_objs.
c3edd394
NC
2965
2966 * config/v850/t-v850: Define how to build v850-c.o
2967
2968 * config/v850/v850.h (struct data_area_stack_element): Move
2969 definition here from v850.c.
2970
2971 * config/v850v850.c: Include gcc.h to avoid compile time
2972 warning.
2973 (push_data_area): Move to v850-c.c.
2974 (pop_data_area): Move to v850-c.c.
2975 (mark_current_function_as_interrupt): Move to v850-c.c.
2976 (GHS_default_section_names): Allow to be exported.
2977 (GHS_current_section_names): Allow to be exported.
2978 (data_area_stack_elements): Allow to be exported.
2979 (ghs_pragma_section): Move to v850-c.c.
2980 (ghs_pragma_interrupt): Move to v850-c.c.
2981 (ghs_pragma_starttda): Move to v850-c.c.
2982 (ghs_pragma_startsda): Move to v850-c.c.
2983 (ghs_pragma_startzda): Move to v850-c.c.
2984 (ghs_pragma_endtda): Move to v850-c.c.
2985 (ghs_pragma_endsda): Move to v850-c.c.
2986 (ghs_pragma_endzda): Move to v850-c.c.
2987
2988 * config/v850/v850-c.c: New file: Contains v850 specific
2989 pragma parsing functions.
2990
aac69a49
NC
29912000-11-24 Nick Clifton <nickc@redhat.com>
2992
2993 * config.gcc (extra_objs): Remove duplicate description.
2994 (c_target_objs): New variable. Contains target specific
2995 object files for the gcc C compiler only.
f6bbde28 2996 (cxx_target_objs): New variable. Contains target specific
aac69a49
NC
2997 object files for the gxx C++ compiler only.
2998
2999 * configure.in (c_target_objs): Substitute in the makefile.
3000 (cxx_target_objs): Substitute in the makefile.
3001 * configure: Regenerate.
3002
3003 * Makefile.in (C_TARGET_OBJS): Define and initialise from
3004 c_target_objs.
3005 (CXX_TARGET_OBJS): Define and initialise from
3006 cxx_target_objs.
3007 (C_AND_OBJC_OBJS): Include C_TARGET_OBJS.
3008
3009 * cp/Make-lang.in (CXX_C_OBJS): Include CXX_TARGET_OBJS).
3010
3011 * tm.texi (REGISTER_TARGET_PRAGMAS): Add paragraph explaining
3012 about how the use of the 'c_lex' function requires the use of
3013 the target specific, language specific object files feature of
3014 the configuration mechanism.
3015
7257bbc6
RK
3016Fri Nov 24 18:50:58 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
3017
3018 * gcc.c (process_command): Use F_OK, not R_OK.
3019
c3ff75c4
AK
30202000-11-24 Arno J. Klaassen <arno@heho.snv.jussieu.fr>
3021
3022 * flow.c (print_rtl_and_abort): Remove ANSIism.
3023
104ee20b
AO
3024Fri Nov 24 19:54:36 2000 Alexandre Oliva <aoliva@redhat.com>
3025
3026 * config/sh/sh.h (GENERAL_REGISTER_P,
3027 GENERAL_OR_AP_REGISTER_P, FP_REGISTER_P, XD_REGISTER_P,
3028 FP_OR_XD_REGISTER_P, FP_ANY_REGISTER_P): New macros. Use them
3029 all over.
3030 (SPECIAL_REG): Renamed to SPECIAL_REGISTER_P.
3031 * config/sh/sh.c: Use new macros.
3032 * config/sh/sh.md: Likewise.
3033
5d00b10a
AO
3034Fri Nov 24 19:46:16 2000 Alexandre Oliva <aoliva@redhat.com>
3035
3036 * config/sh/sh.md: Clobber MACH_REG and MACL_REG in SImode,
3037 instead of just MACH_REG in DImode. Always refer to FPSCR_REG
3038 in PSImode.
3039
33f77355
DC
3040Fri Nov 24 22:37:41 2000 Denis Chertykov <denisc@overta.ru>
3041
3042 * config/avr/avr.c (out_tsthi,out_tstsi): Test simplification bug
3043 fixed.
3044 (machine_dependent_reorg): Wrong optimization based on
f6bbde28 3045 NOTICE_UPDATE_CC removed.
33f77355 3046
692dc9c6
R
3047Fri Nov 24 19:48:09 2000 J"orn Rennecke <amylaar@redhat.com>
3048
3049 * jump.c (delete_computation): Re-instate deletion of feeding insn.
3050 (delete_insn): Look for REG_LABEL notes.
3051 (redirect_tablejump): Delete feeding insns.
3052
c3410241
BS
30532000-11-24 Bernd Schmidt <bernds@redhat.co.uk>
3054
90d10fb9
BS
3055 * config/i386/i386.md (call_pop_0, call_pop_1, call_value_pop_0,
3056 call_value_pop_1): Make sure operand numbers are contiguous.
3057
7cf5c9e1
BS
3058 * fold-const.c (fold_range_test): Avoid crash if LHS or RHS is null.
3059
ff6534ad
BS
3060 * reload1.c (conflicts_with_override): New function.
3061 (emit_input_reload_insns): Use it to tighten test for validity
3062 of substituting into output of previous insn.
3063
176f9a7b
BS
3064 * haifa-sched.c (struct ready_list): New.
3065 (ready_lastpos, ready_add, ready_remove_first, ready_sort): New static
3066 functions.
3067 (schedule_insn): Replace args READY and N_READY with a pointer to a
3068 ready_list; return void. Use the new functions to access the ready
3069 list. All callers changed.
3070 (queue_to_ready, debug_ready_list): Likewise.
3071 (schedule_block): Initialize a ready_list structure. Use new
3072 functions to access it.
3073 (max_priority): Remove unused variable.
3074 (schedule_insn): Don't set it.
3075
52a84e42
BS
3076 * c-common.c (verify_tree): Don't recurse into CONSTRUCTORs.
3077
c3410241
BS
3078 * combine.c (cant_combine_insn_p): New function.
3079 (try_combine): Use it.
3080
235cfbc4
BS
3081 * Makefile.in (c-common.o): Depend on $(OBSTACK_H).
3082 * c-common.c (c-obstack.c): Include "obstack.h".
3083 (struct reverse_tree): Delete.
3084 (reverse_list, reverse_max_depth): Delete.
3085 (build_reverse_tree, common_ancestor, modify_ok): Delete functions.
3086 (struct tlist, struct tlist_cache): New.
3087 (tlist_obstack, tlist_firstobj, warned_ids, save_expr_cache): New.
3088 (add_tlist, merge_tlist, verify_tree, warning_candidate_p,
3089 warn_for_collisions, warn_for_collisions_1, new_tlist): New
3090 static functions.
3091 (verify_sequence_points): Rewritten.
3092 * fold-const.c (fold): Don't lose possibly important sequence
3093 points when removing one arm of TRUTH_ORIF_EXPRs or TRUTH_ANDIF_EXPRs.
3094
58ecb5e2
RS
30952000-11-24 Richard Sandiford <rsandifo@redhat.com>
3096
3097 * gcc/cse.c (cse_insn): Removed conversion of REG_EQUIV to REG_EQUAL
3098 when reversing a register-to-register copy. Reversal now disabled
3099 when the previous instruction has a REG_EQUIV.
3100
2f401cc8
NS
31012000-11-24 Nathan Sidwell <nathan@codesourcery.com>
3102
3103 * c-parse.in (unary_expr): Move VA_ARG from here ...
3104 (primary): ... to here.
3105
963a2a84
GS
31062000-11-23 Graham Stott <grahams@redhat.com>
3107
3108 * expr.c (store_constructor): If a field is non addressable and
3109 the target is a MEM use MEM_ALIAS_SET otherwise use get_alias_set.
3110
f9b697bf
BS
31112000-11-23 Bernd Schmidt <bernds@redhat.co.uk>
3112
3113 * flow.c (print_rtl_and_abort): New function.
3114 (verify_wide_reg, verify_local_live_at_start): Try to dump more
3115 information before aborting.
3116
69295d6d
AO
31172000-11-23 Alexandre Oliva <aoliva@redhat.com>
3118
3119 * emit-rtl.c (gen_lowpart_common): Use word 0 if register mode
3120 is narrower than requested mode.
3121 (gen_highpart): Abort if register mode is narrower than
3122 requested mode.
3123
99a9c946
GS
31242000-11-23 Graham Stott <grahams@redhat.com>
3125
3126 * cse.c (cse_insn): Initialise all regcost variables.
3127 Fix a typo add missing '='.
3128 Only compare costs if there is a replacement insn.
3129
422be3c3
AO
3130Thu Nov 23 04:33:33 2000 Alexandre Oliva <aoliva@redhat.com>
3131
3132 * final.c (output_addr_const) [LABEL_REF]: Simplify.
3133 [MINUS]: Enclose non-CONST_INTs in parentheses.
3134 [default]: Try OUTPUT_ADDR_CONST_EXTRA.
3135 * tm.texi (OUTPUT_ADDR_CONST_EXTRA): Document it.
3136 * varasm.c (decode_rtx_const) [CONST]: If it's not something
3137 PLUS or MINUS a CONST_INT, use the whole CONST with offset 0
3138 instead of abort()ing.
3139 * sh.c (output_pic_addr_const): Removed. Fixed all callers.
3140 * sh.h (OUTPUT_ADDR_CONST_EXTRA): New. Handle the UNSPECs
3141 formerly handled in output_pic_addr_const.
3142 * sh.md (sym_label2reg, symPLT_label2reg): Enclose UNSPEC
3143 operands of MINUS in CONSTs so that decode_rtx_const() will
3144 accept them.
3145
43c05634
AO
3146Thu Nov 23 04:10:30 2000 Alexandre Oliva <aoliva@redhat.com>
3147
3148 * config/sh/sh.md (mova_const): New pattern.
3149 (GOTaddr2picreg): Use it.
3150 * config/sh/sh.c (broken_move): Match it.
3151 (mova_p): Don't match it.
3152 (machine_dependent_reorg): Adjust it.
3153
4773afa4
AO
3154Thu Nov 23 02:09:09 2000 Alexandre Oliva <aoliva@redhat.com>
3155
3156 * config/sh/sh.h (FIRST_GENERAL_REG, LAST_GENERAL_REG): New.
3157 Moved most register-number #defines...
3158 * config/sh/sh.md (define_constants): ... here. Use macros to
3159 refer to registers and unspecs.
3160 * config/sh/sh.c: Likewise.
3161
9196ece5
R
3162Thu Nov 23 01:01:32 2000 J"orn Rennecke <amylaar@redhat.com>
3163
3164 * Makefile.in (HOST_CFLAGS): Add -DGENERATOR_FILE.
3165 (rtl.o, print-rtl.o, bitmap.o, obstack.o): Build with -DGENERATOR_FILE.
3166 (alloca.o, vfprintf.o, ggc-none.o, errors.o): Likewise.
3167 (splay-tree.o, hash.o): Likewise.
3168 GCONFIG_H: New.
3169 (rtl.o, print-rtl.o): Depend on $(GCONFIG_H) instead of $(CONFIG_H).
3170 (bitmap.o, obstack.o, vfprintf.o, ggc-none.o, errors.o): Likewise.
3171 (hashtab.o): Likewise.
3172 (gcov.o): Depend on $(CONFIG_H).
3173 * configure.in: #include insn-codes.h in tm.h.
3174
48a08b9c
NC
31752000-11-22 Nick Clifton <nickc@redhat.com>
3176
57f56af4
NC
3177 * config/arm/arm.c (arm_encode_call_attribute): Make 'newstr' a
3178 const char * to avoid a compile time warning.
3179
48a08b9c
NC
3180 * config/arm/arm.md (define_constants): Define symbolic names for
3181 the link register, last integer register and the fake CC register.
3182 Update patterns to use these symbolic names.
3183
4a5b68a2
NB
31842000-11-22 Neil Booth <neilb@earthling.net>
3185
3186 * cpplex.c (trigraph_ok): Ensure we don't warn twice.
3187 * cpplib.h (struct cpp_buffer): New member last_Wtrigraphs.
f6bbde28 3188
a165f034
RH
31892000-11-22 Richard Henderson <rth@redhat.com>
3190
3191 * haifa-sched.c (sched_analyze_1): Don't special-case calls
3192 for clobbering registers.
3193 (sched_analyze_2): Likewise.
3194 (sched_analyze): Zap reg_last_uses and reg_last_sets after calls.
3195
f6bbde28 31962000-11-22 Chris Demetriou <cgd@sibyte.com>
a165f034 3197 Neil Booth <neilb@earthling.net>
10ebf5fe 3198
a165f034 3199 * gcc.c (validate_switches): Validate multiple switches named
f6bbde28 3200 in '|' (or) expressions in specs.
a165f034
RH
3201 (handle_braces): If more than 1 alternative in a '|' spec
3202 matches, call do_spec1 just once.
10ebf5fe 3203
fb0b2546
MM
32042000-11-22 Michael Meissner <meissner@redhat.com>
3205
3206 * d30v.h (TARGET_SWITCHES): Add documentation strings.
3207 (TARGET_OPTIONS): Ditto.
3208 (OPTIMIZATION_OPTIONS): Temporarily turn off -frename-registers if
3209 -O3.
f6bbde28 3210
67d6f2fc
JL
3211Wed Nov 22 06:40:56 2000 Jeffrey A Law (law@cygnus.com)
3212
3213 * pa.c (hppa_encode_label): Account for addition of encoding
3214 character when allocating persistent space for the new label
3215 name.
3216
d1209685
ZW
32172000-11-22 Zack Weinberg <zack@wolery.stanford.edu>
3218
3219 * Makefile.in, config.gcc, configure.in: Expunge remaining
3220 traces of facility for running MD files through C preprocessor.
3221
c01a508e
JM
32222000-11-22 Joseph S. Myers <jsm28@cam.ac.uk>
3223
3224 * gcov.texi: Add magic comments for texi2pod.pl.
3225 * Makefile.in: Add rules to generate and install gcov.1.
3226 * gcov.1: New (generated) file.
3227
a125d855
RH
32282000-11-21 Richard Henderson <rth@redhat.com>
3229
3230 * regrename.c (scan_rtx_reg): Terminate the chain rather than
3231 abort on mark_read with NO_REGS.
3232
ed311407
MS
32332000-11-21 Mike Stump <mrs@wrs.com>
3234
3235 * fixinc/fixtests.c (TEST_FOR_FIX_PROC_HEAD): Fix to allow
3236 compilation with older compilers, such as /bin/cc on SunOS.
3237 * fixinc/fixfixes.c (FIX_PROC_HEAD): Ditto.
3238
cac16ef9
RH
32392000-11-21 Richard Henderson <rth@redhat.com>
3240
3241 * varasm.c (record_constant): Pad the constructed
3242 constant_descriptor appropriately.
3243
c25c12b8
R
3244Wed Nov 22 00:52:55 2000 J"orn Rennecke <amylaar@redhat.com>
3245
3246 * rtl.h (traverse_md_constants): Declare.
3247 (struct md_constant): Define.
3248 * Makefile.in (HOST_RTL): Add hashtab.o .
3249 (OBJS): Add hashtab.o .
3250 (hashtab.o): New rule.
3251 (rtl.o): Depends on HASHTAB_H.
3252 * rtl.c (hashtab.h): #include.
3253 (md_constants): New static variable.
3254 (def_hash, def_name_eq_p, read_constants): New static functions.
3255 (traverse_md_constants): New function.
3256 (read_name): Do constant expansion.
3257 (read_rtx): Recognize define_constants.
3258 * gencodes.c (print_md_constant): New function.
3259 (main): Emit #defines for all constant definitions encountered.
3260 * md.texi (Constant Definitions): New node.
3261 * gensupport.c (xcalloc): New function.
3262
f940c352
RH
32632000-11-21 Richard Henderson <rth@redhat.com>
3264
3265 * config/alpha/alpha.c (alpha_split_tfmode_frobsign): New.
3266 * config/alpha/alpha-protos.h: Declare it.
3267 * config/alpha/alpha.md (abstf_internal): Use it.
3268 (negtf_internal): Likewise.
3269 (andnotdi3): Unstar the name.
3270 (movtf_internal): Add o/G alternative.
3271
dfc55970
ZW
32722000-11-21 Zack Weinberg <zack@wolery.stanford.edu>
3273
3274 * stringpool.c (stringpool_statistics): Also report number and
3275 percentage of entries which are identifiers.
3276
d1cc928a
DN
32772000-11-21 Diego Novillo <dnovillo@redhat.com>
3278
3279 * gcse.c (hoist_expr_reaches_here_p): Do not mark expr_bb as
3280 visited before visiting it.
3281
70f24e49
NC
32822000-11-21 Nick Clifton <nickc@redhat.com>
3283
3284 * config/arm/arm.h: Accept TARGET_CPU_arm9tdmi,
3285 TARGET_CPU_strongarm110 and TARGET_SPU_strongarm1100.
3286
3287 * config.gcc: Accept --with-cpu=arm9 and --with-cpu=arm9tdmi.
f6bbde28 3288
3fe30ff6
RH
32892000-11-21 Richard Henderson <rth@redhat.com>
3290
3291 * c-common.c (c_unsafe_for_reeval): New function.
3292 (add_c_tree_codes): Register it.
3293 * c-common.h: Declare it.
3294 * tree.c (lang_unsafe_for_reeval): New hook.
3295 (unsafe_for_reeval): Call it.
3296 * tree.h: Declare it.
3297
3adbce3d
RH
32982000-11-21 Richard Henderson <rth@redhat.com>
3299
3300 * config/i386/i386.c (i386_simplify_dwarf_addr): Simplify @GOT
3301 references as well.
3302
0736a307
NB
33032000-11-21 Neil Booth <neilb@earthling.net>
3304
a165f034 3305 * do_includes: Revert to using cpp_read_file.
0736a307 3306
52e12ad0
BS
33072000-11-21 Bernd Schmidt <bernds@redhat.co.uk>
3308
847dde95
BS
3309 * loop.c (consec_sets_giv): If the reg we're examining is anything
3310 but UNKNOWN_INDUCT, do nothing.
3311 Reset the reg's type to UNKNOWN_INDUCT before returning.
3312
52e12ad0
BS
3313 Mostly from Vladimir Makarov (vmakarov@redhat.com)
3314 * ia64.md (attr itanium_class): Define insn types as described in
3315 Itanium docs.
3316 (all insn patterns): Use itanium_class, not type attributes.
3317 Occasionally split alternatives as necessary.
3318 (attr type): Compute from new attr itanium_class.
f6bbde28 3319
b3e2d1eb
KG
33202000-11-21 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3321
3322 * tradcpp.c (output_line_command): Mark system headers as such in
3323 `line' commands.
3324
0faf814f
JJ
33252000-11-21 Jakub Jelinek <jakub@redhat.com>
3326
3327 * configure.in (HAVE_AS_DWARF2_DEBUG_LINE): Sparc has .file/.loc
3328 support in as as well.
3329 * configure: Regenerate.
3330
3aac38d7
RH
33312000-11-20 Richard Henderson <rth@redhat.com>
3332
3333 * c-lex.c (orig_filename): New variable.
3334 (init_c_lex): Set it. Move call to cpp_start_read ...
3335 (yyparse): ... here. New function.
3336 * c-parse.in (yyparse_1): Rename the parser entry point.
3337 * c-tree.h: Declare it.
3338
6b16805e
JJ
33392000-11-21 Jakub Jelinek <jakub@redhat.com>
3340
3341 * expr.c (do_compare_and_jump): If op0 was replaced by promoted
3342 integer constant, use type of op1 for comparison.
3343
18922061
SS
33442000-11-20 Stan Shebs <shebs@apple.com>
3345
3346 * config/rs6000/xm-darwin.h: New file, Darwin host definitions.
3347 * config/rs6000/x-darwin: New file, Darwin host fragment.
3348 * config.gcc (powerpc-*-darwin*): New host.
3349 * system.h (HAVE_DESIGNATED_INITIALIZERS): Allow this to be
3350 overridden by a config file.
3351
d63eefbf
NB
33522000-11-20 Neil Booth <neilb@earthling.net>
3353
3354 * cppmacro.c (paste_tokens): Rename from paste_payloads.
3355 Change token type after pasting spellings.
3356 (paste_all_tokens): Use it.
3357 * gcc.dg/cpp/paste2.c: Update test.
3358 * objc/execute/paste.m: New test.
3359
21bc13c9
RH
33602000-11-20 Richard Henderson <rth@redhat.com>
3361
3362 * dwarf.h (FMT_CODE): Adjust argument order; fix mapping to
3363 dwarf_subscr_data_formats bits.
3364 * dwarfout.c (simple_type_size_in_bits): Handle a type with
3365 no computed size as size zero.
3366 (field_byte_offset): Likewise.
3367 (subscript_data_attribute): Handle a range with no upper bound.
3368
250333d0
KG
33692000-11-20 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3370
3371 * gansidecl.h (const): Check __STDC__ before undef'ing `const'.
3372
1d7ff272
JM
33732000-11-20 Joseph S. Myers <jsm28@cam.ac.uk>
3374
3375 * c-typeck.c (build_conditional_expr): When merging type
3376 qualifiers for conditional expressions between a pointer and a
3377 pointer to a void type, merge the qualifiers on the target types
3378 rather than the pointer type. Remove obsolete conditioned out
3379 code.
3380
dd07b884
NB
33812000-11-20 Neil Booth <neilb@earthling.net>
3382
3383 * c-lang.c (lang_init_options): Update call to
3384 cpp_reader_init.
3385 * cppmain.c (main): Similarly.
3386 * fix-header.c (read_scan_file): Similarly.
3387 * cp/lex.c (lang_init_options): Similarly.
3388 * objc/objc-act.c (lang_init_options): Similarly.
3389 * cppexp.c (parse_number): Only warn for unextended C89.
3390 * cppinit.c (set_lang): New function.
3391 (cpp_reader_init): Take a LANG argument and pass it to set_lang.
3392 (COMMAND_LINE_OPTIONS): New option std=c++98.
3393 (cpp_handle_option): Use set_lang.
3394 * cpplex.c (_cpp_lex_token): Warn pedantically if not C99.
3395 * cppib.h (enum_c_lang): New enumeration. Update comments.
3396
8d50dfb8
WC
33972000-11-20 Will Cohen <wcohen@redhat.com>
3398
3399 * calls.c (expand_call): Clear target only when target is in
3400 hard register and current_function_check_memory_usage is set.
3401
bd675859
BS
34022000-11-20 Bernd Schmidt <bernds@redhat.co.uk>
3403
3404 * toplev.c (rest_of_compilation): Run optimize_mode_switching even
3405 if not optimizing.
3406 * sh.c (emit_sf_insn, emit_df_insn): Just call emit_insn.
3407
3df18884
RH
34082000-11-19 Richard Henderson <rth@redhat.com>
3409
52403abb
RH
3410 * crtstuff.c (force_to_data): Use array size 1 not 0.
3411
3df18884
RH
3412 * dwarf2out.c (simple_type_size_in_bits): Handle a type with
3413 no computed size as size zero.
3414 (field_byte_offset): Likewise.
3415
cfd1c7ea
JM
34162000-11-20 Joseph S. Myers <jsm28@cam.ac.uk>
3417
3418 * config.gcc: Fix another typo.
3419
a25f1211
RH
34202000-11-19 Richard Henderson <rth@redhat.com>
3421
3422 * c-decl.c (grokdeclarator): Support flexible array members.
3423 Use open-ended ranges for these and zero-length arrays.
3424 * c-typeck.c (push_init_level): Validate the context of
3425 initialization of a zero-length array.
3426 * tree.c (int_fits_type_p): Be prepared for missing bounds.
3427 * varasm.c (array_size_for_constructor): New.
3428 (output_constructor): Use it for arrays of unspecified length.
3429 * extend.texi (Zero Length): Mention C99 flexible array members.
3430 Document initialization in a top-level struct as valid.
3431
65fa2185
JM
34322000-11-19 Joseph S. Myers <jsm28@cam.ac.uk>
3433
9e8fc4b8
JM
3434 * config.gcc, invoke.texi: Fix errors in spelling of "deprecated".
3435
65fa2185
JM
3436 * alias.c (mems_in_disjoint_alias_sets_p): Do use alias sets in
3437 stdarg and varargs functions.
3438
2e59adac
ZW
34392000-11-19 Zack Weinberg <zack@wolery.stanford.edu>
3440
3441 * gcc.c (process_command): Define 'j' variable when
3442 MODIFY_TARGET_NAME is defined.
3443
856442b6
RH
34442000-11-19 Richard Henderson <rth@redhat.com>
3445
3446 * stor-layout.c (variable_size): Only put SAVE_EXPRs on pending_sizes.
3447
88c1e412
FS
34482000-11-19 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
3449
3450 * rs6000/rs6000.c (rs6000_encode_section_info): Fix string length
3451 calculation and allocation.
3452
ce1cc601
KG
34532000-11-19 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3454
3455 * builtins.c (c_getstr): Constify variable.
3456 * gmon-sol2.c (_mcleanup): Comment out #endif labels.
3457 * conflict.c (const_conflict_graph_arc): New typedef.
3458 (arc_hash, arc_eq): Avoid needlessly casting away const-ness.
3459 * cppmacro.c (builtin_macro): Likewise.
3460 * dwarf2out.c (output_comp_unit): Constify variable.
3461 * fix-header.c (v_fatal): Add ATTRIBUTE_PRINTF.
3462 * protoize.c (IS_SAME_PATH_CHAR): Use TOUPPER, not toupper.
3463 * ssa.c (ssa_rename_from_hash_function): Avoid needlessly casting
3464 away const-ness.
3465 * tradcpp.c (rescan, do_line, macroexpand, macarg): Use
f6bbde28 3466 ISALNUM/ISDIGIT/ISPRINT, not isalnum/isdigit/isprint.
ce1cc601
KG
3467 * varasm.c (const_str_htab_hash, const_str_htab_eq,
3468 compare_constant_1, record_constant_1): Constify.
3469
967e627a
RH
34702000-11-18 Richard Henderson <rth@redhat.com>
3471
3472 * c-decl.c (grokdeclarator): Special case the creation of an
3473 index for a zero-length array.
3474 * tree.c (build_index_type): Revert Oct 20 change.
3475
e9284adf
MM
34762000-11-18 Marek Michalkiewicz <marekm@linux.org.pl>
3477
3478 * config/avr/avr-protos.h (avr_output_addr_vec_elt): Prototype.
3479 * config/avr/avr.c (jump_tables_size): New variable.
3480 (function_prologue): Initialize it as 0.
3481 (function_epilogue): Add it to function_size.
3482 (avr_output_addr_vec_elt): New function. Count words in jump
3483 tables in jump_tables_size. Move code ...
3484 * config/avr/avr.h (ASM_OUTPUT_ADDR_VEC_ELT): ... from here.
3485 Call avr_output_addr_vec_elt instead.
3486 * config/avr/avr.md (tablejump): Remove disabled define_expand.
3487
67c72a63
MM
34882000-11-18 Mark Mitchell <mark@codesourcery.com>
3489
3490 * configure.in: Make --enable-new-gxx-abi the default.
3491 * configure: Likewise.
3492
0a8ad417
KG
34932000-11-18 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3494
3495 * Makefile.in (tradcpp.o, tradcif.o): Depend on tradcpp.h.
3496
3497 * tradcif.y: Include tradcpp.h. Constify. Make functions static.
3498 Move extern function declarations to tradcpp.h.
3499
3500 * tradcpp.c: Likewise.
3501
3502 * tradcpp.h: New file.
3503
77c4d6c0
JM
35042000-11-18 Joseph S. Myers <jsm28@cam.ac.uk>
3505
3506 * c-decl.c (check_for_loop_decls): New function.
3507 * c-parse.in (for_init_stmt): New.
3508 (select_or_iter_stmt): Use for_init_stmt.
3509 * c-tree.h (check_for_loop_decls): New declaration.
3510
4a58aab6
NB
35112000-11-18 Neil Booth <neilb@earthling.net>
3512
3513 * cppinit.c: Update comments.
3514 (cpp_reader_init): Make -imacro and -include use the standard
3515 #include "" search path.
3516 (do_includes): New function.
3517
c3e2d242
BE
35182000-11-18 Ben Elliston <bje@redhat.com>
3519
3520 * config/sh/crt1.asm (start_l): Move PC-relative move instruction
3521 out of a branch delay slot.
3522
48adb36e
RH
35232000-11-17 Richard Henderson <rth@redhat.com>
3524
3525 * config/alpha/elf.h (PREFERRED_DEBUGGING_TYPE): Set to DWARF2_DEBUG.
3526 (ASM_SPEC): Disable and enable .mdebug based on -gstabs.
3527 (ASM_FILE_START): Only write out ecoff .file directive if
3528 emitting mdebug debugging.
3529
9d147085
RH
35302000-11-17 Richard Henderson <rth@redhat.com>
3531
3532 * configure.in (HAVE_AS_DWARF2_DEBUG_LINE): New. Detect
3533 whether as accepts .file/.loc and produces dwarf2 line info.
3534 * dwarf2out.c (DWARF2_ASM_LINE_DEBUG_INFO): Default on if
3535 the assembler supports it.
3536 * config.in, configure: Regenerate.
3537
5b87e928
RH
35382000-11-17 Richard Henderson <rth@redhat.com>
3539
3540 * fixinc/mkfixinc.sh: Don't disable fixincludes for any linux*.
3541
95c8e04b
JW
35422000-11-17 Jim Wilson <wilson@redhat.com>
3543
f6bbde28 3544 * config/ia64/ia64.c (emit_insn_group_barriers, case CALL_INSN):
95c8e04b
JW
3545 Don't clear need_barrier is next_insn is a CALL_INSN, or has
3546 instruction type B or UNKNOWN.
3547
14fbab6d
NB
35482000-11-17 Neil Booth <neilb@earthling.net>
3549
a25f1211 3550 * cpperror.c (print_file_and_line): Don't display line number if 0.
14fbab6d 3551
a8a05998
ZW
35522000-11-17 Zack Weinberg <zack@wolery.stanford.edu>
3553
3554 * ggc.h: Delete ggc_add_string_root and ggc_mark_string. Add
3555 digit_vector and digit_string.
3556 * stringpool.c (digit_vector): New.
3557 (ggc_alloc_string): Use digit_string.
3558
3559 * stmt.c (digit_strings): Delete.
3560 (init_stmt): Do not initialize digit_strings.
3561 (expand_asm_operands): Use ggc.h's digit_string macro.
3562 * toplev.c (mark_file_stack): Delete.
3563 (compile_file): Don't call init_tree_codes.
3564 (main): No need to make the file stack a GC root.
3565 * tree.c (init_tree_codes): Delete.
3566 * tree.h (init_tree_codes): Delete.
3567
3568 * c-lex.c: Don't include ggc.h.
3569 (mark_splay_tree_node, mark_splay_tree): Delete.
3570 (init_c_lex): No need to ggc_strdup string constant. Don't add
3571 file_info_tree to GGC roots.
3572 (cb_enter_file, cb_rename_file): No need to ggc_strdup
3573 ip->nominal_fname.
3574
3575 * Makefile.in (c-lex.o): No longer depends on $(GGC_H).
3576
3577 * dbxout.c (dbxout_init),
3578 dwarf2out.c (dwarf2out_line),
3579 ggc-common.c (ggc_mark_rtx_children, ggc_mark_trees),
3580 varasm.c (mark_const_hash_entry, mark_pool_constant, init_varasm_once),
3581 xcoffout.c (xcoffout_source_file),
3582 i386.c (load_pic_register):
3583 Delete call(s) to ggc_add_string_root and/or ggc_mark_string.
3584
3585 * except.c (create_rethrow_ref),
3586 profile.c (init_edge_profiler),
3587 toplev.c (compile_file),
3588 varasm.c (named_section, assemble_static_space,
3589 assemble_trampoline_template, output_constant_def, force_const_mem),
3590 i386.c (load_pic_register),
3591 ia64.c (ia64_encode_section_info),
3592 rs6000.c (rs6000_emit_load_toc_table, create_TOC_reference,
3593 rs6000_emit_prologue, rs6000_emit_epilogue),
3594 rs6000.md (load_toc_aix_si, load_toc_aix_di):
3595 Change ggc_alloc_string (var, -1) to ggc_strdup (var).
3596
3597 * profile.c (output_func_start_profiler),
3598 tree.c (make_node),
3599 i386.c (load_pic_register): No need to ggc_strdup string constant.
3600
61ed06c3
HPN
36012000-11-17 Hans-Peter Nilsson <hp@axis.com>
3602
3603 * Makefile.in (config.status): Depend on config.gcc.
3604 * configure.in <for machine in $build $host $target>: Move
3605 contents of loop into config.gcc, removing autoconf quoting.
3606 Fix changequote bug for alpha*-*-vxworks*.
3607 * configure: Regenerate.
3608 * config.gcc: New.
3609
520a57c8
ZW
36102000-11-16 Zack Weinberg <zack@wolery.stanford.edu>
3611
3612 * c-parse.in (if_prefix): Find the filename and line number at
3613 $-2 and $-1 respectively.
3614 * diagnostic.c (error_recursion): Add missing newline, use
3615 fputs, translate string.
3616
36172000-11-16 Zack Weinberg <zack@wolery.stanford.edu>
3618
3619 * stringpool.c: New file.
3620 * ggc-common.c (ggc_mark_string_ptr, ggc_add_string_root): Delete.
3621 (ggc_alloc_string): Now in stringpool.o.
3622 * ggc-page.c, ggc-simple.c: Do not define or allocate empty_string.
3623 * ggc.h: Delete prototype of ggc_add_string_root. #define
3624 ggc_add_string_root and ggc_mark_string to nothing. Prototype
3625 init_stringpool and stringpool_statistics.
3626 (ggc_alloc_string): Returns a const char *.
3627 * tree.c (hash_table, do_identifier_warnings): Delete.
3628 (init_obstacks): Don't initialize the identifier hash table.
3629 (get_identifier, maybe_get_identifier, start_identifier_warnings,
3630 set_identifier_size): Now in stringpool.c.
3631 * tree.h (struct tree_string): Constify pointer field.
3632 (approx_sqrt): Prototype.
3633
3634 * Makefile.in (stringpool.o): Add rule, mention in OBJS.
3635
3636 * toplev.c (approx_sqrt): New function.
3637 (compile_file): Call stringpool_statistics if mem_report is on.
3638 (main): Call init_stringpool.
3639
3640 * builtins.c (c_strlen), c-decl.c (finish_decl), c-lex.c
3641 (process_directive), c-typeck.c (constructor_asmspec, struct
3642 initializer_stack, start_init), except.c (create_rethrow_ref),
3643 stmt.c (digit_strings), toplev.c (decode_f_option), tree.c
3644 (built_in_filename), varasm,c (in_named_name,
3645 assemble_static_space, struct constant_descriptor, struct
3646 deferred_string, struct pool_constant, force_const_mem),
3647 i386.c (pic_label_name, global_offset_table_name), rs6000.c
3648 (rs6000_emit_prologue, rs6000_emit_epilogue) : Constify a char *.
3649
3650 * c-common.c (combine_strings): Combine strings in scratch
3651 buffer, then pass to build_string.
3652 * optabs.c (init_libfuncs), profile.c (init_edge_profiler,
3653 output_func_start_profiler), stmt.c (init_stmt), alpha.c
3654 (alpha_need_linkage), arm.c (arm_encode_call_attribute),
3655 i386.c (load_pic_register), ia64.c (ia64_encode_section_info),
3656 rs6000.c (rs6000_encode_section_info): Create string in
3657 scratch buffer, then pass to ggc_alloc_string.
3658
3659 * stmt.c (expand_asm_operands): If we must adjust the
3660 constraint strings, do so by creating a new one, not by
3661 modifying the old one in place. Constify some char *s.
3662 * config/pa/pa.c (hppa_encode_label): Drop unnecessary second
3663 argument. Create string in scratch buffer, then pass to
3664 ggc_alloc_string.
3665 * config/pa/pa-protos.h: Update prototype.
3666 * config/pa/elf.h, config/pa/pa.h, config/pa/som.h:
3667 hppa_encode_label takes only one argument.
3668
dd3b81b4
KG
36692000-11-16 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3670
3671 * mcore.c (mcore_expand_prolog): Call xmalloc/xrealloc, not
3672 malloc/realloc.
3673
3674 * cpplib.c (glue_header_name): Likewise.
3675
3676 * fixincl.c (run_compiles, start_fixer): Likewise.
3677
3678 * fixlib.c (load_file_data): Likewise.
3679
3680 * mkdeps.c (munge): Likewise.
3681
5074c1fe
HPN
36822000-11-17 Hans-Peter Nilsson <hp@axis.com>
3683
3684 * defaults.h [EH_FRAME_SECTION_ASM_OP] (EH_FRAME_SECTION): Remove
3685 trailing ';'. Fix formatting.
3686
74fe26b2
JW
36872000-11-16 Jim Wilson <wilson@redhat.com>
3688
35d9f39d
JW
3689 * config/ia64/ia64.h (MASK_INLINE_DIV_LAT, MASK_INLINE_DIV_THR):
3690 Shift masks left by one to avoid conflict.
3691
74fe26b2
JW
3692 * config/ia64/ia64.c (ia64_encode_section_info): Disallow decls with
3693 DECL_EXTERNAL set.
3694
68dfd979
NC
36952000-11-16 Nick Clifton <nickc@redhat.com>
3696
3697 * config/arm/arm.c (output_arm_prologue): Note nested functions.
3698 (arm_expand_prologue): For nested functions preserve the
3699 static chain register during stack frame creation.
3700
3701 * config/arm/arm.h (STATIC_CHAIN_REGNUM): Change to 12.
3702 (ARM_INITIAL_FRAME_ELIMINATION_OFFSET): For a nested function
3703 with a stack frame there is a 4 byte gap between the arg
3704 pointer and the hard frame pointer (used to preserve the
3705 static chain register during stack frame creation).
3706
3ab9a08f
DD
37072000-11-16 DJ Delorie <dj@redhat.com>
3708
3709 * rtl.c (read_rtx): Provide suitable names for unnamed
3710 define_insn and define_insn_and_split patterns, based on file
3711 and line numbers.
3712
fe6c2db9
NB
37132000-11-15 Neil Booth <neilb@earthling.net>
3714
a8a05998
ZW
3715 * cpplib.c (start_directive, end_directive): New functions.
3716 (_cpp_handle_directive, run_directive): Use them.
3717 (_cpp_handle_directive): Don't -Wtraditional on indented
3718 null directives.
3719 (_cpp_push_buffer): Don't re-clear was_skipping.
3720 * cpplib.h (struct cpp_reader): New member la_saved.
3721 * cppmacro.c (cpp_get_token): Don't interpret _Pragma in
3722 directives.
fe6c2db9 3723
a8a05998
ZW
3724 gcc.dg/cpp/_Pragma1.c: Update.
3725 gcc.dg/cpp/_Pragma2.c: New test.
fe6c2db9 3726
62136084
MM
37272000-11-15 Mark Mitchell <mark@codesourcery.com>
3728
3729 * toplev.c (wrapup_global_declarations): Don't write out
3730 artificial static variables that aren't needed.
3731
099dde21
BS
37322000-11-15 Bernd Schmidt <bernds@redhat.co.uk>
3733
3734 * ia64.c (struct group): New structure.
3735 (last_group): New static array.
3736 (group_idx): New static variable.
3737 (emit_group_barrier_after, errata_find_address_regs, errata_emit_nops):
3738 New static functions.
3739 (emit_insn_group_barriers): Initialize and keep track of group_idx
3740 and last_group.
3741 Call errata_emit_nops if TARGET_B_STEP or TARGET_A_STEP.
3742 Replace all calls to emit_insn_after that emit a group barrier to use
3743 emit_group_barrier_after.
3744 * ia64.h (MASK_B_STEP): New.
3745 (other MASK_XXX macros): Renumbered.
3746 (TARGET_B_STEP): New.
3747 (TARGET_SWITCHES): Add -mb-step.
3748
4e7b85ed
FF
37492000-11-15 Fred Fish <fnf@be.com>
3750
3751 * fixinc/mkfixinc.sh (fixincludes): Add *-*-beos* to list of
3752 machines for which fixincludes is not needed.
3753 * config/i386/x-beos (STMP_FIXPROTO): Don't run fixproto.
3754
ee3400e8
JM
37552000-11-15 Jason Merrill <jason@redhat.com>
3756
3757 * diagnostic.c (finish_abort): New fn.
3758 (fancy_abort, error_recursion): Use it.
3759 * toplev.c (crash_signal): Likewise.
3760 * diagnostic.h: Declare it.
3761
12e1243e
AH
37622000-11-13 Andrew Haley <aph@redhat.com>
3763
3764 * tree.c (build_type_no_quals): New function.
3765 * tree.h (build_type_no_quals): Declare.
3766 * c-common.c (c_get_alias_set): When considering type
3767 compatibility for pointer types, ignore cv-qualifiers anywhere in
3768 a pointer chain.
3769
695e4773
GS
37702000-11-15 Graham Stott <grahams@redhat.com>
3771
3772 * regrename.c (scan_rtx_rtx): Skip to the next chain on
3773 encountering a terminated chain.
3774
5a7c1037
MM
37752000-11-14 Mark Mitchell <mark@codesourcery.com>
3776
3777 * configure.in: Move check for V3 above check for C++ header-file
3778 directory.
3779 * configure: Regenerated.
a8a05998 3780
568c5140
DD
37812000-11-14 DJ Delorie <dj@redhat.com>
3782
3783 * config/v850/v850.c: Remove obstacks.
3784
1268b05f
MM
3785Tue Nov 14 21:54:31 2000 Marek Michalkiewicz <marekm@linux.org.pl> & Denis Chertykov <denisc@overta.ru>
3786
3787 * config/avr/avr.c (avr_case_values_threshold): New.
3788 (avr_override_options): Set it depending on options, make it large
3789 when not optimizing to work around "unable to generate reloads".
3790
3791 * config/avr/avr.h (TARGET_SWITCHES): Add -mno-tablejump option.
3792 (EXTRA_SECTION_FUNCTIONS): Make the .progmem.gcc_sw_table section
3793 executable if not AVR_MEGA. Make sure jump tables are word-aligned.
3794 (JUMP_TABLES_IN_TEXT_SECTION): Define as 0, not 1.
3795 (ASM_OUTPUT_ADDR_VEC_ELT): Optimize, use "rjmp" if not AVR_MEGA.
3796 (avr_case_values_threshold): Declare as extern int.
3797 (CASE_VALUES_THRESHOLD): Define as avr_case_values_threshold.
3798
3799 * config/avr/avr.md (tablejump): Removed.
3800 (*tablejump_rjmp): New for jump tables made from "rjmp" instructions.
3801 (*tablejump_lib, *tablejump_enh, *tablejump): Change to expect the
3802 index in the table, not multiplied by 2.
3803 (casesi): Change to match the above insns. Always enable.
3804
3805 * config/avr/libgcc.S (__tablejump__): Rename to __tablejump2__.
3806 Change to expect the word address of the table, multiply it by 2
3807 here and not in the caller. Change "adiw" to faster "inc".
3808
7f2f1a66
NB
38092000-11-14 Neil Booth <neilb@earthling.net>
3810
3811 * cppexp.c (parse_defined): Call cpp_get_token not
3812 _cpp_get_token.
3813 (lex): Similarly.
3814 * cpplex.c (cpp_output_line): Similarly.
3815 * cpplib.c (glue_header_name, do_line, do_ident,
3816 parse_answer, parse_assertion): Similarly.
3817 (_cpp_handle_diretive): Don't save to lookaheads
3818 when processing directives.
3819 * cppmacro.c (parse_arg, expand_arg): Call cpp_get_token not
3820 _cpp_get_token.
3821 (funlike_invocation_p): Don't save to lookaheads
3822 when pre-expanding arguments.
3823 (_cpp_get_token): Delete.
3824 (cpp_get_token): Merge contents of _cpp_get_token.
3825
f36d6244
JJ
38262000-11-14 Jakub Jelinek <jakub@redhat.com>
3827
3828 * builtins.c (expand_builtin_setjmp): Set
3829 current_function_calls_setjmp.
3830 (expand_builtin_longjmp): Set current_function_calls_longjmp.
3831
3832 * config/sparc/sparc.md (builtin_setjmp_setup): New expand.
3833 (do_builtin_setjmp_setup): New insn.
3834
3401c26b
RK
3835Tue Nov 14 12:34:56 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
3836
3837 * tree.c (get_unwidened): Use host_integerp and tree_low_cst.
3838 (int_fits_type_p): For variable bounds, call force_fit_type.
3839
bd7cf17e
JJ
38402000-11-14 Jakub Jelinek <jakub@redhat.com>
3841
3842 * varasm.c (struct deferred_string): New structure.
3843 (const_str_htab): New variable.
3844 (STRHASH): New macro.
3845 (mark_const_str_htab_1, mark_const_str_htab, const_str_htab_hash,
3846 constr_str_htab_eq, const_str_htab_del): New functions.
3847 (output_constant_def): Add DEFER argument, defer string
3848 constants until mark_constant_pool time if requested.
3849 (mark_constant_pool): Walk the insn chain even if const_str_htab is
3850 not empty.
3851 (mark_constants): If a SYMBOL_REF for deferred string is found,
3852 output it and remove from hash table.
3853 (output_addressed_constants): Set DEFER to 0 in call to
3854 output_constant_def.
3855 * rtl.h (STRING_POOL_ADDRESS_P): Define.
3856 (output_constant_def): Adjust prototype.
3857 * expr.c (expand_expr): Set DEFER to 1 in call to output_constant_def.
3858
10e927ef
CC
38592000-11-14 Chandrakala Chavva <cchavva@redhat.com>
3860
3861 * optabs.c (expand_complex_ab):: Use overflow-trapping optabs for
3862 signed types if flag_trapv.
3863
ef90743a
ZW
38642000-11-14 Zack Weinberg <zack@wolery.stanford.edu>
3865
3866 * tradcpp.c, tradcif.y: Update FSF mailing address, delete
3867 reference to GPLv1.
3868
fe8ca71f
JM
38692000-11-14 Joseph S. Myers <jsm28@cam.ac.uk>
3870
3871 * c-common.h (CTI_C_SIZE_TYPE): Update comment.
3872
94b01be3
JJ
38732000-11-14 Jakub Jelinek <jakub@redhat.com>
3874
3875 * varasm.c (struct varasm_status): Change x_const_rtx_sym_hash_table
3876 to array of pool_constnat pointers.
3877 (struct pool_constant): Add next_sym and label members.
3878 (struct pool_sym): Remove.
3879 (init_varasm_status): Change pool_sym into pool_constant.
3880 (mark_pool_constant): Mark pc->label string as well.
3881 (mark_pool_sym_hash_table): Remove.
3882 (mark_varasm_status): Remove it from caller as well.
3883 (free_varasm_status): Don't free pool_sym structures.
3884 (force_const_mem): Don't allocate pool_sym structure, instead
3885 fill pool->label and chain it into rtx_sym hash table.
3886 (find_pool_constant, mark_constant_pool): Use pool_constant instead
3887 of pool_sym.
3888
716120a7
JJ
38892000-11-14 Jakub Jelinek <jakub@redhat.com>
3890
3891 * reload1.c (emit_input_reload_insns): Honour forcing of constants
3892 into memory by PREFERRED_RELOAD_CLASS NO_REGS.
3893
f8032688
MM
38942000-11-14 Michael Matz <matzmich@cs.tu-berlin.de>
3895
3896 * dominance.c: New file.
3897 * Makefile.in (OBJS): Add dominance.o.
3898
3899 * flow.c (compute_flow_dominators): Remove.
3900 (compute_immediate_dominators): Remove.
3901 (compute_immediate_postdominators): Remove.
3902 * basic-block.h: Remove their prototypes.
3903 (calculate_dominance_info): Add prototype.
3904
3905 * dce.c (eliminate_dead_code): Change calls to above functions.
3906 Don't compute dominators but only immediate dominators.
3907 * flow.c (flow_loops_find): Change callers.
3908 * gcse.c (compute_code_hoist_data): Likewise.
3909 * haifa-sched.c (schedule_insns): Likewise.
3910 * ifcvt.c (if_convert): Likewise.
3911 * ssa.c (convert_to_ssa): Likewise, and only compute immediate
3912 dominators.
3913
0caa3c8e
RH
39142000-11-14 Richard Henderson <rth@redhat.com>
3915
6f122550
RH
3916 * stmt.c (warn_if_unused_value): Don't warn if the expression
3917 has side effects.
3918
0caa3c8e
RH
3919 * c-typeck.c (c_sizeof): Fold result to c_size_type_node.
3920 (c_sizeof_nowarn, c_alignof, c_alignof_expr): Likewise.
3921
a78cc542
FS
39222000-11-13 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
3923
3924 * loop.c (basic_induction_var): Revert accidental checkin.
3925
d9068c61
HPN
39262000-11-13 Hans-Peter Nilsson <hp@axis.com>
3927
3928 * c-lex.c (cb_leave_file): Harmonize conditions and order of
3929 statements to those of process_directive for (action == act_pop).
3930
3931 * collect2.c (main): Pass on -B options from COLLECT_GCC_OPTIONS.
3932
3933 * local-alloc.c (equiv_init_movable_p): References to CC0 are not
3934 movable.
3935
ebf02523
JM
39362000-11-13 Joseph S. Myers <jsm28@cam.ac.uk>
3937
3938 * c-parse.in (stmts_and_decls): Deprecate use of label at end of
3939 compound statement.
3940
29b10746
NB
39412000-11-13 Neil Booth <neilb@earthling.net>
3942
ee3400e8
JM
3943 * cpplex.c (_cpp_lex_token): CPP_COMMENT and true CPP_EOF
3944 cases return without MI check.
3945 * cpplib.c (do_diagnostic): Take boolean of whether to
3946 print the directive name.
3947 (do_error, do_warning): Update.
3948 (do_pragma_dependency): Use it.
3949 * cpplib.h (VARARGS_FIRST): Delete.
3950 (struct cpp_token): Delete integer.
3951 * cppmacro.c (enter_macro_context): Move disabled check
3952 to _cpp_get_token.
3953 (_cpp_get_token): Simplify into a single loop.
29b10746 3954
8105825d
RE
39552000-11-13 Richard Earnshaw <rearnsha@arm.com>
3956
3957 * configure.in: Use 'test -f' not '[ -e'.
3958 * configure: Regenerated.
3959
481a6b4a
DD
39602000-11-13 DJ Delorie <dj@redhat.com>
3961
3962 * config/mn10300/mn10300.md (store_movm): Note which registers are
3963 really used or clobbered.
3964
b7438415
JM
39652000-11-13 Joseph S. Myers <jsm28@cam.ac.uk>
3966
3967 * c-parse.in (ends_in_label): Remove from %union and %type.
3968 (decls, stmts, lineno_stmt_or_labels, xstmts,
3969 lineno_stmt_or_label, stmt_or_label): Remove.
3970 (stmts_and_decls, lineno_stmt_decl_or_labels_ending_stmt,
3971 lineno_stmt_decl_or_labels_ending_decl,
3972 lineno_stmt_decl_or_labels_ending_label,
3973 lineno_stmt_decl_or_labels_ending_error,
3974 lineno_stmt_decl_or_labels, compstmt_contents_nonempty,
3975 lineno_stmt, lineno_label): New.
3976 (compstmt_nostart): Use compstmt_contents_nonempty.
3977
19552aa5
JM
39782000-11-13 Joseph S. Myers <jsm28@cam.ac.uk>
3979
3980 * c-common.c (boolean_increment): New function.
3981 * c-common.h (enum c_tree_index): Add CTI_C_BOOL_TYPE,
3982 CTI_C_BOOL_TRUE and CTI_C_BOOL_FALSE.
3983 (c_bool_type_node, c_bool_true_node, c_bool_false_node): Define.
3984 (boolean_increment): Declare.
3985 * c-convert.c (convert): Allow for BOOLEAN_TYPE.
3986 * c-decl.c (init_decl_processing): Create boolean nodes.
3987 (finish_struct): Allow for _Bool bitfields.
3988 * c-parse.in (reswords): Add _Bool.
3989 (rid_to_yy): Allow for RID_BOOL.
3990 * c-typeck.c (default_conversion): Make booleans promote to int.
3991 (convert_arguments, build_unary_op, build_modify_expr,
3992 convert_for_assignment): Allow for booleans.
3993 * ginclude/stdbool.h: Make conforming to C99.
3994
444ca59f
JM
39952000-11-13 Joseph S. Myers <jsm28@cam.ac.uk>
3996
3997 * c-parse.in (c99_block_start, c99_block_end,
3998 c99_block_lineno_labeled_stmt): New.
3999 (simple_if, do_stmt_start): Use c99_block_lineno_labeled_stmt.
4000 (stmt): Split off selection and iteration statements into...
4001 (select_or_iter_stmt): New. Use c99_block_lineno_labeled_stmt.
4002
f2ecb02d
JM
40032000-11-13 Joseph S. Myers <jsm28@cam.ac.uk>
4004
4005 * invoke.texi (-Wtrigraphs, -fdump-translation-unit, -save-temps,
4006 -time): Update.
4007
b082bfdb
RE
40082000-11-13 Richard Earnshaw <rearnsha@arm.com>
4009
4010 * arm.md (mulsidi3adddi, umulsidi3adddi): Revert previous change.
4011 Rewrite to avoid use of match_dup. Don't try to tie registers that
4012 are not in the same mode.
4013
b9265ec1
JM
40142000-11-13 Joseph S. Myers <jsm28@cam.ac.uk>
4015
4016 * invoke.texi: Update lists of languages and suffixes supported.
4017
cc1e60ea
JM
40182000-11-13 Joseph S. Myers <jsm28@cam.ac.uk>
4019
4020 * configure.in: Take toplevel configure arguments from the
4021 environment to create configargs.h and substitute
4022 gcc_config_arguments, taking account of any existing configargs.h
4023 if reconfiguring.
4024 * configure: Regenerate.
4025 * gccbug.in: Include toplevel configure arguments in gccbug.
4026
37357796
RE
40272000-11-13 Richard Earnshaw <rearnsha@arm.com>
4028
4029 * varasm.c (struct constant_descriptor): Put CONTENTS inside a
4030 union to make it well-aligned. Update all uses.
4031
26d4fec7
JM
40322000-11-13 Joseph S. Myers <jsm28@cam.ac.uk>
4033
4034 * c-parse.in (initelt): Give appropriate pedantic warnings,
4035 depending on flag_isoc99, for non-ISO syntax and for C99 syntax
4036 outside C99 mode.
4037 (designator): If pedantic, pedwarn for a designator specifying a
4038 range of elements.
4039 * c-typeck.c (set_init_index, set_init_label): Don't pedwarn for
4040 these cases.
4041 * extend.texi: Document the C99 syntax as the preferred syntax,
4042 and the pre-2.5 syntax as obsolete. Mention use of designator
4043 lists for nested subobjects.
4044
88f3c477
JM
40452000-11-13 Joseph S. Myers <jsm28@cam.ac.uk>
4046
4047 * diagnostic.c (vbuild_message_string, output_do_printf, vnotice):
4048 Add ATTRIBUTE_PRINTF.
4049 * tradcpp.c (v_message, warning, error, fatal, error_with_line):
4050 Add ATTRIBUTE_PRINTF*.
4051
db5fbfb4
MM
40522000-11-12 Mark Mitchell <mark@codesourcery.com>
4053
4054 * function.c (assign_parms): When calling put_var_into_stack, make
4055 sure that there are no hidden pending sequences.
4056
c7b6c6cd
KG
40572000-11-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4058
4059 * builtins.c (expand_builtin): Handle BUILT_IN_INDEX and
4060 BUILT_IN_RINDEX. Add missing checks for BUILT_IN_STRCHR and
4061 BUILT_IN_STRRCHR.
4062
4063 * builtins.def (BUILT_IN_INDEX, BUILT_IN_RINDEX): New entries.
4064
4065 * c-common.c (c_common_nodes_and_builtins): Declare index and
4066 rindex when nonansi builtins are allowed.
4067
4068 * extend.texi (index, rindex): Document new builtins.
4069
2f86842d
MM
40702000-11-12 Mark Mitchell <mark@codesourcery.com>
4071
34f6fbdb
MM
4072 * configure.in: Turn on libstdc++ V3 by default.
4073 * configure: Regenerated.
a8a05998 4074
2f86842d
MM
4075 * fixinc/mkfixinc.sh: Use the ordinary fixincludes on Solaris.
4076
0c0ba09c
JJ
40772000-11-12 Jakub Jelinek <jakub@redhat.com>
4078
4079 * reload1.c (set_label_offsets): Go inside of PARALLELs.
4080
84a0e7b8
JM
40812000-11-12 Joseph S. Myers <jsm28@cam.ac.uk>
4082
4083 * invoke.texi: Clean up option summary.
4084
4816b8e4
NC
40852000-11-12 Nick Clifton <nickc@redhat.com>
4086
4087 * config/mcore/mcore.c: Fix comment formating, and adjust sequence
4088 of #include headers.
4089
ee7692d2 40902000-11-12 Marc Espie <espie@openbsd.org>
a8a05998 4091
ee7692d2
ME
4092 * configure.in: Fix filds test.
4093 * configure: Regen.
4094
f8c4f860
MM
40952000-11-12 Mark Mitchell <mark@codesourcery.com>
4096
4097 * jump.c (delete_computation): Don't assume that just becuase an
4098 instruction sets a register, that register is dead.
4099
b528a07e
NB
41002000-11-12 Neil Booth <neilb@earthling.net>
4101
a8a05998
ZW
4102 * cppexp.c: Don't worry about pfile->skipping.
4103 * cpplib.c (struct if_stack): Make was_skipping unsigned char.
4104 (cpp_handle_directive): Save pfile->skipping in struct cpp_buffer
4105 for handled directives.
4106 (skip_rest_of_line): Use _cpp_lex_token after popping contexts
4107 and releasing lookaheads.
4108 (do_ifdef, do_ifndef, do_if): Use buffer->was_skipping.
4109 (do_else, do_elif, push_conditional): Update logic.
4110 (do_endif): Set buffer->was_skipping rather than pfile->skipping.
4111 (unwind_if_stack): Inline into cpp_pop_buffer.
4112 (cpp_push_buffer): Clear ifs->was_skipping for cpp_handle_directive.
4113 * cpplex.c (_cpp_lex_token): Clear skipping on EOF. Handle
4114 multiple-include optimisation.
4115 * cpplib.h (struct cpp_buffer): New member was_skipping.
4116 * cppmacro.c (_cpp_get_token): Loop whilst pfile->skipping. This
4117 works because skipping == 0 in directives.
4118 (_cpp_release_lookahead): Renamed from release_lookahead.
4119 (cpp_get_token): No need to check skipping as _cpp_get_token does
4120 this for us. No need to handle MI optimisation.
b528a07e 4121
995c461c
MM
4122Sat Nov 11 21:14:02 2000 Mark P Mitchell <mark@codesourcery.com>
4123
4124 * fixinc/inclhack.def (sunos_matherr_decl): Bypass matherr
4125 declarations that use `__MATH_EXCEPTION' in their prototypes, too.
4126 * fixinc/fixincl.x: Regenerated.
a8a05998 4127
56a77e1e
BK
41282000-11-11 Bruce Korb <bkorb@gnu.org>
4129
4130 * fixinc/inclhack.def (avoid_bool_type): avoid commenting out #endif
4131 (avoid_wchar_t_type): ditto
4132 * fixinc/fixinc.irix: obsoleted
4133
72aaffbd
ZW
41342000-11-11 Zack Weinberg <zack@wolery.stanford.edu>
4135
4136 * configure.in: Don't add $outputs to all_lang_makefiles. Add
4137 $srcdir/$s/Makefile.in if it exists.
4138 * configure: Regenerate.
4139
bbdd639d
MM
4140Sat Nov 11 18:41:20 2000 Mark P Mitchell <mark@codesourcery.com>
4141
4142 * fixinc/mkfixinc.sh: Use the ordinary fixincludes on IRIX.
4143
d96a6d1a
JM
41442000-11-11 Jason Merrill <jason@redhat.com>
4145
a8a05998 4146 * function.c (assign_parms): If TREE_ADDRESSABLE is set, try to
d96a6d1a
JM
4147 give the parm a register and then call put_var_into_stack.
4148 * stmt.c (expand_decl): Likewise.
4149
8ee322c9
JM
41502000-11-11 Joseph S. Myers <jsm28@cam.ac.uk>
4151
4152 * gcc.texi: Adjust wording.
4153
8b4c8a86
MM
41542000-11-11 Mark Mitchell <mark@codesourcery.com>
4155
4156 * fixinc/inclhack.def (avoid_wchar_t_type): New fix.
4157 * fininc/fixincl.x: Regenerated.
4158
639726ba
JM
41592000-11-11 Joseph S. Myers <jsm28@cam.ac.uk>
4160
4161 * invoke.texi: Correct spelling of -foptimize-register-move.
4162
4c2b647d
NB
41632000-11-11 Neil Booth <neilb@earthling.net>
4164
4165 Remove CPP_PLACEMARKERs.
4166
4167 * cppexp.c (lex): Don't handle CPP_PLACEMARKER.
4168 * cpplex.c (_cpp_lex_token): Rename skip_newlines to next_bol
4169 * cpplib.c (skip_rest_of_line, check_eol, cpp_push_buffer):
a8a05998 4170 Similarly.
4c2b647d
NB
4171 * cpplib.h: Remove CPP_PLACEMARKER.
4172 (struct lexer_state): Rename skip_newlines to next_bol.
4173 * cppmacro.c (stringify_arg): Don't handle CPP_PLACEMARKER.
4174 Simplify prev_white handling as a result.
4175 (paste_all_tokens): Don't worry about CPP_PLACEMARKERs.
4176 (parse_arg): Empty arguments are now empty, not CPP_PLACEMARKERs.
4177 (parse_args): Similarly. Update argument count tests.
4178 (enter_macro_context): Return 2 to indicate an empty macro.
4179 (replace_args): Don't bother pre-expanding an empty argument.
4180 Handle placemarkers and ## extension during pre-expansion.
4181 (cpp_get_token): Handle empty macro expansions. Don't worry
4182 about CPP_PLACEMARKERs.
4183 (_cpp_create_definition): Empty macros are now empty.
4184 (cpp_macro_defintion): Don't special case empty macros.
4185 * scan-decls.c: Don't bother with CPP_PLACEMARKERs.
4186 * c-lex.c: Similarly.
4187
c1030c7c
JM
41882000-11-11 Joseph S. Myers <jsm28@cam.ac.uk>
4189
4190 * gcc.texi, invoke.texi: Add new section discussing language
4191 standards; link to it where appropriate; refer to ISO C instead of
4192 ANSI C.
4193
93a77848
AO
41942000-11-11 Alexandre Oliva <aoliva@redhat.com>
4195
3650b695
AO
4196 * builtins.c (std_expand_builtin_va_start): Take PARM_BOUNDARY
4197 into account.
4198
93a77848
AO
4199 * config/sh/sh.h (MODES_TIEABLE_P): Don't tie SFmode to other FP
4200 modes.
4201
9a5a13c9
JM
42022000-11-10 Joseph S. Myers <jsm28@cam.ac.uk>
4203
4204 * gcc.texi, gcov.texi: Update dates and version numbers.
4205
1e608388
ZW
42062000-11-10 Zack Weinberg <zack@wolery.stanford.edu>
4207
4208 * configure.in: Remove AC_PROG_LEX and AC_PROG_YACC. Look for
4209 flex and bison, specifically, first in a unified build and
4210 then installed on the system.
4211 * Makefile.in: Set BISON to @BISON@, FLEX to @FLEX@. Rename
4212 LEXFLAGS to FLEXFLAGS. Adjust ORDINARY_FLAGS_TO_PASS to
4213 match.
4214
4215 (collect2.o, gcc.o, prefix.o, toplev.o, alloca.o, intl.o,
4216 cppdefault.o): Remove pointless sed munging of source file
4217 name.
4218
9532e31f
BS
42192000-11-10 Bernd Schmidt <bernds@redhat.co.uk>
4220
4221 * reload.c (find_reloads_address_1, case POST_MODIFY): Use RELOAD_OTHER
4222 for address reloads. Push replacements for REG_INC notes.
4223 (regno_clobbered_p): New arg SETS. Examine SETs if it's nonzero. All
4224 callers changed.
4225 * reload1.c (choose_reload_regs): Registers set in the insn can't be
4226 used for RELOAD_OTHER reloads.
4227
721de836
MM
42282000-11-10 Mark Mitchell <mark@codesourcery.com>
4229
4230 * c-dump.h: New file.
4231
4e135bdd
KG
42322000-11-10 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4233
4234 * alpha.c (check_float_value): Use memcpy, not bcopy.
4235 * arm.c (output_move_double): Likewise.
4236 * arm.md: Likewise.
4237 * m88k.c (legitimize_operand): Likewise.
4238 * m88k.h (ORDER_REGS_FOR_LOCAL_ALLOC): Likewise.
4239 * m88k.md: Likewise.
4240 * mips.c (override_options): Likewise.
4241 * mips.md: Likewise.
4242 * romp.c (output_fpops): Likewise.
4243 * rs6000.c (rs6000_override_options): Likewise.
4244 * sh.md: Likewise.
4245 * vax.c (check_float_value): Likewise.
4246
4247 * emit-rtl.c (copy_rtx_if_shared, init_emit_once): Likewise.
4248 * expmed.c (synth_mult): Likewise.
4249 * final.c (add_bb_string): Likewise.
4250 * genattr.c (main): Likewise.
4251 * genattrtab.c (attr_string, simplify_cond, copy_rtx_unchanging):
4252 Likewise.
4253 * jump.c (thread_jumps): Likewise.
4254 * prefix.c (save_string): Likewise.
4255 * real.h (REAL_VALUE_FROM_CONST_DOUBLE): Likewise.
4256 * regclass.c (init_reg_sets, init_reg_sets_1): Likewise.
4257 * reload1.c (reload, eliminate_regs): Likewise.
4258
c8abeb44
JM
42592000-11-10 Joseph S. Myers <jsm28@cam.ac.uk>
4260
4261 * gcc.texi (Service): Update to reflect current practice and
4262 location of the GNU service directory.
4263
6fb85418
BS
42642000-11-09 Bernd Schmidt <bernds@redhat.co.uk>
4265
4266 * regrename.c (build_def_use): Mark contents of REG_INC notes as
4267 needing replacement.
4268
0c478921
BS
4269 * config/ia64/ia64.md (extendsfdf2, extendsftf2, extenddftf2): Emit
4270 a no-op move if regs are equal.
4271 * toplev.c (rest_of_compilation): Do the noop moves elimination pass
a8a05998 4272 when calling jump after post-reload splitting.
0c478921 4273
3b7a2e58
JM
42742000-11-09 Jan van Male <jan.vanmale@fenk.wau.nl>
4275
a8a05998
ZW
4276 * c-tree.texi: Fix typos.
4277 * extend.texi: Likewise
4278 * gcov.texi: Likewise
4279 * rtl.texi: Likewise
4280 * tm.texi: Likewise
3b7a2e58 4281
59257980
HPN
42822000-11-09 Hans-Peter Nilsson <hp@axis.com>
4283
4284 * c-lex.c [! NO_IMPLICIT_EXTERN_C] (cb_enter_file): Check
4285 in_system_header and flags[1] before dereferencing flags[2].
4286
881a8969
MH
42872000-11-09 Matthew Hiller <hiller@redhat.com>
4288
4289 * reload1.c (reload_combine): Fixed calculation of
4290 first_index_reg, last_index_reg.
4291
0a7394bc
MM
42922000-11-09 Mark Mitchell <mark@codesourcery.com>
4293
13507bd8
MM
4294 * c-dump.c (dequeue_and_dump): Dump function bodies.
4295
0a7394bc
MM
4296 * Makefile.in (C_AND_OBJC_OBJS): Add c-dump.o.
4297 (c-dump.o): New target.
4298 * c-common.h (flag_dump_translation_unit): New variable.
4299 (C_TYPE_QUALS): New macro.
4300 (strip_array_types): New function.
4301 (DECL_C_BIT_FIELD): New macro.
4302 (SET_DECL_C_BIT_FIELD): Likewise.
4303 (CLEAR_DECL_C_BIT_FIELD): Likewise.
4304 (dump_info_p): New typedef.
4305 (dump_tree_fn): Likewise.
4306 (lang_dump_tree): New variable.
4307 (dump_node_to_file): New function.
4308 * c-common.c (flag_dump_translation_unit): Define it.
4309 (strip_array_types): New function.
4310 * c-decl.c (c_decode_option): Handle -fdump-translation-unit.
a8a05998 4311 * c-lang.c (finish_file): Call dump_node_to_file if
0a7394bc
MM
4312 flag_dump_translation_unit.
4313 * c-semantics.c (mark_rtl_for_local_static): Fix typo in comment.
4314 * c-tree.h (DECL_C_BIT_FIELD): Remove declaration.
4315 * c-dump.c: New file.
a8a05998 4316
abffe289
CF
43172000-11-09 Christopher Faylor <cgf@cygnus.com>
4318
4319 * config/i386/cygwin.h: Add mingw startfile prefix.
4320
1288c070
RH
43212000-11-09 Richard Henderson <rth@redhat.com>
4322
4323 * flow.c (invalidate_mems_from_set): Split out from ...
4324 (mark_set_1): ... here.
4325 (try_pre_increment_1): Use it. Use propagate_block_delete_insn
4326 instead of turning insn into a NOTE_INSN_DELETED.
4327
01702459
JM
43282000-11-10 Joseph S. Myers <jsm28@cam.ac.uk>
4329
4330 * extend.texi, invoke.texi: Move documentation of builtin versions
4331 of C library functions to one place and update.
4332
30355eaa
RH
43332000-11-09 Richard Henderson <rth@redhat.com>
4334
4335 * fold-const.c (fold): Compare TYPE_MAIN_VARIANT rather than
4336 the types themselves to discover type equivalence.
4337
5fcee6f3
MS
43382000-11-09 Mike Stump <mrs@wrs.com>
4339
4340 * Makefile.in (distclean): Remove a few extra leftovers.
4341
377b6fce
RH
43422000-11-09 Richard Henderson <rth@redhat.com>
4343
c0e3f87d
RH
4344 * recog.c (validate_replace_rtx_1): Consider subregs when
4345 replacing a register with a constant inside a sign/zero_extend.
4346
377b6fce
RH
4347 * config/alpha/linux.h (HANDLE_PRAGMA_PACK_PUSH_POP): Define.
4348
b52114d2
GK
43492000-11-09 Geoffrey Keating <geoffk@redhat.com>
4350
4351 * c-decl.c (finish_struct): When a structure is completed,
4352 check all its variant types for completeness.
4353
a949941c
NB
43542000-11-09 Neil Booth <neilb@earthling.net>
4355
4356 * cpphash.c: Move cpp_defined here from cpplib.c.
4357 * cpplib.c: Update comments, move cpp_defined to cpphash.c.
4358 * cpplex.c (_cpp_lex_token): Don't leave the lexer at EOL.
4359 * cppmacro.c (cpp_get_token): Update comments, no need now
4360 to catch the CPP_EOF meaning EOL case.
4361
9a0662b4
GK
43622000-11-08 Geoffrey Keating <geoffk@redhat.com>
4363
4364 * config/sparc/sparc.c (sparc_va_arg): When the required alignment
4365 is more than that provided, copy to a temporary.
4366
6c80a645
AO
43672000-11-09 Alexandre Oliva <aoliva@redhat.com>
4368
4369 * mklibgcc.in (EXTRA_MULTILIB_PARTS): Prevent `make' from
4370 interpreting $out as a macro assignment.
4371 * Makefile.in (T_TARGET): New auxiliary macro and target.
4372 (all): Add a target right in the beginning, so that we don't build
4373 T_TARGET by default.
4374
6a4afa6c
GS
43752000-11-09 Graham Stott <grahams@redhat.com>
4376
a8a05998 4377 * config/i386/i386.md (mmx_pinsrw): Output operands in correct
6a4afa6c
GS
4378 order for -mintel-syntax. Remove comment now that the operand
4379 order has been checked.
4380 (mmx_pextrw): Likewise.
4381 (mmx_pshufw): Likewise.
4382
2dee4af1
JJ
43832000-11-09 Jakub Jelinek <jakub@redhat.com>
4384
4385 * builtins.c (c_strlen): Use TREE_STRING_LENGTH - 1 for max.
4386 (c_getstr): New function.
4387 (expand_builtin_strstr): Do nothing if -fcheck-memory-usage.
4388 If both arguments are constant string, optimize out.
4389 (expand_builtin_strchr, expand_builtin_strrchr): New functions.
4390 (expand_builtin_strpbrk): Use c_getstr, do nothing if
4391 -fcheck-memory-usage.
4392 (expand_builtin_fputs): Likewise.
4393 (expand_builtin_strcmp): Add MODE argument.
4394 Use even if !HAVE_cmpstrsi.
4395 Optimize the case when both arguments are constant strings.
4396 (expand_builtin): Adjust expand_builtin_strcmp caller.
4397 Call expand_builtin_strchr and expand_builtin_strrchr.
4398 * c-common.c (c_common_nodes_and_builtins): Add strchr and strrchr
4399 builtins.
4400 * builtins.def (BUILT_IN_STRRCHR): Add.
4401
97dc9fc0
GP
44022000-11-08 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
4403
4404 * fixinc/gnu-regex.c: Rename EGCS LOCAL markers to GCC LOCAL.
4405
2e09e75a
JM
44062000-11-09 Joseph S. Myers <jsm28@cam.ac.uk>
4407
4408 * calls.c (expand_call, emit_library_call_value_1), collect2.c
4409 (scan_prog_file), config/a29k/a29k.c (print_operand),
4410 config/sparc/sparc.c (order_regs_for_local_alloc): Use memcpy ()
4411 instead of bcopy ().
4412 * real.h: Use memcmp () instead of bcmp ().
4413 * config/m88k/m88k.c (m88k_layout_frame), config/sh/sh.c
4414 (split_branches), config/sparc/sparc.c (ultra_flush_pipeline,
4415 ultrasparc_sched_init, ultrasparc_sched_reorder),
4416 config/sparc/sparc.h (CONDITIONAL_REGISTER_USAGE): Use memset ()
4417 instead of bzero ().
4418 * config/vax/xm-xms.h (FILE_NAME_NONDIRECTORY): Use strrchr ()
4419 instead of rindex ().
4420 * configure.in: Don't check for bzero, bcmp, index or rindex.
4421 * configure, config.in: Regenerate.
4422 * system.h: Don't include declarations for bzero, bcmp, index or
4423 rindex.
4424 * config/i386/xm-beos.h, config/rs6000/xm-beos.h: Don't define
4425 bzero, bcmp, index or rindex.
4426
03fb4780
CF
4427Wed Nov 8 21:58:20 2000 Christopher Faylor <cgf@cygnus.com>
4428
4429 * config/i386/cygwin.h: Add -no-win32 switch. Separate -mno-cygwin
4430 include and library paths from -mcygwin case. Parameterize some
4431 declarations to avoid warnings. Use standard locations for include and
4432 lib dirs.
4433
ca68ea18
NC
44342000-11-08 Nick Clifton <nickc@redhat.com>
4435
4436 * config/arm/arm.md (mulsidi3adddi): Change output operand
eb68ad7c 4437 constraint from "=&" to "+&".
ca68ea18 4438 (umulsidi3adddi): Change output operand constraint from "=&" to
eb68ad7c 4439 "+&".
ca68ea18 4440
c32e1e6f
RH
44412000-11-08 Richard Henderson <rth@redhat.com>
4442
4443 * flow.c (init_propagate_block_info): Protect the rtx stored in
4444 mem_set_list from modification by find_auto_inc.
4445 (mark_set_1): Likewise.
4446
adb84b42
NB
44472000-11-08 Neil Booth <neilb@earthling.net>
4448
a8a05998
ZW
4449 Move directive handling into the lexer itself.
4450
4451 * cpplex.c (_cpp_lex_token): Handle directives directly.
4452 In the case of a directive interrupting a function-like
4453 macro invocation, use extra_char since read_ahead is
4454 used to store the '#'. Return a CPP_EOF in this case.
4455 * cppmacro.c (parse_arg): No need to handle CPP_DHASH any more.
4456 (cpp_get_token): Don't handle directives here.
4457 * cpplib.h: Remove CPP_DHASH token type.
adb84b42 4458
756d6f0c
JH
4459Wed Nov 8 21:53:41 MET 2000 Jan Hubicka <jh@suse.cz>
4460
4461 * regmove.c (combine_stack_adjustments_for_blocks): Recognize pushes
4462 formed using PRE_MODIFY too.
4463
c39c0db3
MM
44642000-11-08 Mark Mitchell <mark@codesourcery.com>
4465
69908851
MM
4466 * c-tree.texi (VAR_DECL): Describe representation of GCC's
4467 extension for placing variables in particular registers.
4468
c39c0db3
MM
4469 * c-tree.texi (FUNCTION_TYPE): Clarify TYPE_ARG_TYPES for
4470 unprototyped C functions with no parameters.
4471
6cada0cd
JJ
44722000-11-08 Jakub Jelinek <jakub@redhat.com>
4473
4474 * config/sparc/sparc.h (ASM_OUTPUT_MI_THUNK): Cast DELTA to int
4475 before passing to fprintf.
4476
768f0669
JJ
44772000-11-08 Jakub Jelinek <jakub@redhat.com>
4478
4479 * function.c (expand_function_start): Cast GET_MODE_SIZE to
4480 HOST_WIDE_INT before negating it.
4481
df6018fd
JJ
44822000-11-08 Jakub Jelinek <jakub@redhat.com>
4483
4484 * expr.c (expand_expr) [ADDR_EXPR]: Handle when op0 is RETURN_DECL
4485 passed in multiple non-contiguous locations.
4486
14ae1d50 44872000-11-08 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
a8a05998 4488
14ae1d50
GP
4489 * README.gnat: Remove file.
4490
673887d5
AO
44912000-11-08 Alexandre Oliva <aoliva@redhat.com>
4492
4493 * mklibgcc.in (EXTRA_MULTILIB_PARTS): Generate multilib parts
4494 in-place.
4495
66234570
RH
44962000-11-07 Richard Henderson <rth@redhat.com>
4497
4498 * dwarfout.c (INSN_LABEL_FMT): Remove.
4499 (output_label_die): Use ASM_GENERATE_INTERNAL_LABEL.
4500 (dwarfout_label): Remove.
4501 * dwarfout.h: Remove it's prototype.
4502 * dwarf2out.c (INSN_LABEL_FMT): Remove.
4503 (gen_label_die): Use ASM_GENERATE_INTERNAL_LABEL.
4504 (dwarf2out_label): Remove.
4505 * dwarf2out.h: Remove it's prototype.
4506 * final.c (final_scan_insn): Don't call dwarf[2]out_label.
4507
81b75d96
RH
45082000-11-07 Richard Henderson <rth@redhat.com>
4509
cd5c4048
RH
4510 * config/ia64/fde-glibc.c (find_fde_for_dso): Do a binary
4511 search on the unwind region section.
4512
4513 * config/ia64/ia64.md (movbi): Add r/r alternative.
4514 (cmovdi_internal_astep): Describe all combinations of register
4515 classes for sources & destinations; remove matching constraints.
4516 (cmovdi_internal): Likewise.
4517
81b75d96
RH
4518 * gcc.c (default_compilers) [@cpp-output]: Add -fpreprocessed.
4519
6dbaddf9
RH
45202000-11-07 Richard Henderson <rth@redhat.com>
4521
4522 * c-lang.c (start_cdtor, finish_cdtor): New functions.
4523 (finish_file): Use them in building constructor/destructor functions.
4524
a8a05998 4525 * config/alpha/alpha.h (HAS_INIT_SECTION, LD_INIT_SWITCH,
6dbaddf9
RH
4526 LD_FINI_SWITCH): Move ...
4527 * config/alpha/osf.h: ... here.
4528 * config/alpha/alpha-interix.h: Don't undef them.
4529
99b13084
JO
45302000-11-07 Jeffrey Oldham <oldham@oz.codesourcery.com>
4531
4532 * config/mips/t-iris6 (FPBIT): New. Added so that __unorddf2 is
4533 included in libgcc.a.
4534 (DPBIT): Likewise.
4535 (dp-bit.c): Likewise.
4536 (fp-bit.c): Likewise.
4537
d7cac874
NC
45382000-11-07 Nick Clifton <nickc@redhat.com>
4539
4540 * config/m88k/m88k.h (GLOBAL_ASM_OP): Add missing tab.
4541 (INTERNAL_ASM_OP): Add missing tab.
4542
961192e1
JM
45432000-11-07 Joseph S. Myers <jsm28@cam.ac.uk>
4544
4545 * alias.c (init_alias_analysis), calls.c (expand_call,
4546 emit_library_call_value_1), combine.c (init_reg_last_arrays),
4547 cse.c (new_basic_block), dbxout.c (dbxout_type), diagnostic.c
4548 (init_output_buffer, set_diagnostic_context), dwarf2out.c
4549 (equate_decl_number_to_die, build_abbrev_table), emit-rtl.c
4550 (init_emit_once), fold-const.c (mul_double, div_and_round_double),
4551 function.c (assign_parms), gcse.c (compute_can_copy,
4552 alloc_gcse_mem, alloc_reg_set_mem, record_one_set,
4553 compute_hash_table, compute_set_hash_table,
4554 compute_expr_hash_table), genattrtab.c (optimize_attrs), global.c
4555 (global_alloc, global_conflicts), haifa-sched.c (compute_trg_info,
4556 clear_units, schedule_block), integrate.c (initialize_for_inline,
4557 expand_inline_function), jump.c (thread_jumps), local-alloc.c
4558 (local_alloc), loop.c (combine_movables, count_loop_regs_set,
4559 load_mems_and_recount_loop_regs_set), print-tree.c (debug_tree),
4560 regclass.c (init_reg_sets, init_reg_sets_1, regclass,
4561 record_reg_classes, allocate_reg_info), reload.c
4562 (get_secondary_mem, remove_address_replacements, find_reloads),
4563 reload1.c (reload, set_initial_label_offsets, finish_spills,
4564 reload_as_needed, choose_reload_regs_init,
4565 reload_cse_simplify_operands), reorg.c (dbr_schedule), sbitmap.c
4566 (sbitmap_zero), simplify-rtx.c (simplify_plus_minus), ssa.c
4567 (rename_registers), stmt.c (expand_end_case), unroll.c
4568 (unroll_loop), varray.c (varray_grow), objc/objc-act.c: Use memset
4569 () instead of bzero ().
4570
e3cc3581
NB
45712000-11-07 Neil Booth <neilb@earthling.net>
4572
4573 * cp/lang-specs.h: Fix -save-temps specs under USE_CPPLIB.
4574
f8136648
KG
45752000-11-07 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4576
4577 * c-common.c (combine_strings): Only warn about long strings for C.
4578
71fd5a51
R
4579Tue Nov 7 19:44:30 2000 J"orn Rennecke <amylaar@redhat.com>
4580
4581 * combine.c (distribute_notes): Fix typo in last change.
4582
bdaa0181
GK
45832000-11-07 Geoff Keating <geoffk@redhat.com>
4584
4585 * config/rs6000/rs6000.md (movdi_internal32+1): Use
4586 operand_subreg_force rather than gen_rtx_SUBREG.
4587 (movdi_internal32+2): Likewise.
4588
bc56a125
PB
45892000-11-07 Philip Blundell <philb@gnu.org>
4590
4591 * configure.in (arm*-*-linuxaout*): Obsolete, deleted.
4592 * config/arm/linux-aout.h: Likewise.
4593 * configure: Regenerate.
4594
a71d3613
PT
45952000-11-07 Philipp Thomas <pthomas@suse.de>
4596
4597 * ABOUT-GCC-NLS: Remove the patch for gettext as it has been
4598 accepted my the gettext maintainer.
4599
26a87cab
KG
46002000-11-07 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4601
4602 * builtins.c (expand_builtin_strpbrk): New function.
4603 (expand_builtin): Handle BUILT_IN_STRPBRK.
4604
4605 * builtins.def (BUILT_IN_STRPBRK): New entry.
4606
4607 * c-common.c (c_common_nodes_and_builtins): Declare builtin
4608 strpbrk.
4609
ace54f91
DB
46102000-11-07 David O'Brien <obrien@dragon.nuxi.com>
4611
4612 * config/alpha/freebsd.h: New file -- FreeBSD/alpha architecture file.
4613 * POTFILES.in: Add config/alpha/freebsd.h
4614 * configure.in: Add alpha*-freebsd support.
4615 * configure: Regenerate.
4616
0dec5df9
JM
46172000-11-07 Joseph S. Myers <jsm28@cam.ac.uk>
4618
4619 * tree.c (build_common_tree_nodes_2): Make va_list_type_node be a
4620 copy of ptr_type_node rather than ptr_type_node itself.
4621
bf103ec2
R
4622Tue Nov 7 06:29:24 2000 J"orn Rennecke <amylaar@redhat.com>
4623
4624 * combine.c (recog_for_combine): Allocate uninitialized vector with
4625 rtvec_alloc.
4626 * recog.c (apply_change_group): Likewise.
4627
c762163e
R
4628Tue Nov 7 06:24:02 2000 J"orn Rennecke <amylaar@redhat.com>
4629
4630 * flow.c (verify_local_live_at_start): Back out last change.
4631 * combine.c (distribute_notes): When parts of a hard reg are
4632 neither set nor referenced in PLACE, search backwards for a
4633 place to put a REG_UNUSED note; if none found, ask for flow
4634 info refresh.
4635
f34c06e5
R
4636Mon Nov 6 20:08:13 2000 J"orn Rennecke <amylaar@redhat.com>
4637
4638 * reload1.c (eliminate_regs_in_insn): Allow a set to be a PARALLEL
4639 with (clobber (match_scratch...)).
4640
2b892489
NB
46412000-11-06 Neil Booth <neilb@earthling.net>
4642
4643 * c-lex.c (init_c_lex): If cpp_start_read fails, exit with
4644 error status.
4645
ea33bfc5
NB
46462000-11-06 Neil Booth <neilb@earthling.net>
4647
a8a05998 4648 * tradcpp.c (special_symbol): Assign an null string rather
ea33bfc5
NB
4649 than writing to an unallocated buffer.
4650
56051c0a
NB
46512000-11-06 Neil Booth <neilb@earthling.net>
4652
4653 * cpplex.c (_cpp_equiv_tokens): Check arg_no in the
4654 CPP_MACRO_ARG case.
4655
6c53ebff
NB
46562000-11-06 Neil Booth <neilb@earthling.net>
4657
4658 * c-lex.c (c_lex): Replace tok.val.aux with tok.val.c or
4659 tok.val.arg_no as appropriate.
4660 * cppexp.c (lex): Similarly.
4661 * cpplex.c (_cpp_lex_token, cpp_spell_token, cpp_output_token,
4662 cpp_equiv_tokens, cpp_can_paste, cpp_avoid_paste): Similarly.
4663 * cppmacro.c (stringify_arg, replace_args, lex_expansion_token,
4664 cpp_macro_definition): Similarly.
4665 * cpplib.h (struct cpp_token): Replace aux with c and arg_no.
4666
8b1c5fd0
JJ
46672000-11-06 Jakub Jelinek <jakub@redhat.com>
4668
4669 * config/sparc/sparc.md (adddi3): If operands[2] is 4096 and
4670 operands[1] is constant, calculate the sum and generate movdi.
4671 (addsi3): Similarly. Use SImode in call to arith_4096_operand.
4672 (subsi3): Use SImode in call to arith_4096_operand.
4673
a0115140
JJ
46742000-11-06 Jakub Jelinek <jakub@redhat.com>
4675
4676 * config/sparc/sparc.h (ASM_OUTPUT_MI_THUNK): On sparc64 we need to
4677 adjust %o1, not %o0 if the return type is large structure.
4678
9ea2bda9
JJ
46792000-11-06 Jakub Jelinek <jakub@redhat.com>
4680
4681 * config/sparc/sparc.md (smulsi3_highpart_v8plus, ashldi3_v8plus+1,
4682 update_return, flush, flushdi, ffssi2, ffsdi2): Fix output formatting.
4683
1cf7847f
DC
4684Sat Sep 23 19:10:20 2000 Denis Chertykov <denisc@overta.ru> & Marek Michalkiewicz <marekm@linux.org.pl>
4685
4686 * expmed.c (expand_divmod): For signed divide by 2, prefer
4687 a branch and fewer shifts if branches are very cheap.
4688
436a88a6
JM
46892000-11-05 Joseph S. Myers <jsm28@cam.ac.uk>
4690
4691 * Makefile.in: Remove all targets related to building
4692 distributions and diffs, or INSTALL.
4693 * INSTALL, install1.texi: Remove.
4694 * configure.in: Remove mention of distdir.
4695 * configure: Regenerate.
4696 * objc/Make-lang.in: Remove mention of distdir.
4697
9cf11a47
NB
46982000-11-04 Neil Booth <neilb@earthling.net>
4699
4700 * cpp.texi: Update for _Pragma.
4701
f148ca88
JM
47022000-11-04 Joseph S. Myers <jsm28@cam.ac.uk>
4703
4704 * gcc.texi (Contributing): Update URL for projects web page.
4705
16eb2788
NB
47062000-11-04 Neil Booth <neilb@earthling.net>
4707
a8a05998
ZW
4708 * cpplex.c (parse_string): Don't allow multiline strings in
4709 #include family directives.
16eb2788 4710
9232b7d9
NB
47112000-11-04 Neil Booth <neilb@earthling.net>
4712
4713 * cpplib.c (do_line): Only warn pedantically if not reading
a8a05998 4714 preprocessed input.
9232b7d9 4715
f132f529
AO
47162000-11-04 Alexandre Oliva <aoliva@redhat.com>
4717
4718 * calls.c (emit_call_1) [sibcall_pop]: Use n_popped instead of
4719 RETURN_POPS_ARGS().
4720
0e9295cf
ZW
47212000-11-03 Zack Weinberg <zack@wolery.stanford.edu>
4722
4723 * builtins.c (expand_builtin_strlen): Remove unused mode
4724 argument.
4725 * gcc.c (process_command): Remove unused variable.
4726 * fold-const.c: Include expr.h.
4727 * recog.c: Include reload.h.
4728 * Makefile.in (recog.o, fold-const.o): Update deps.
4729
f2682362
GK
47302000-11-02 Geoffrey Keating <geoffk@cygnus.com>
4731
4732 * fixinc/gnu-regex.c: Change 'CYGNUS LOCAL' to 'EGCS LOCAL'.
4733
25f80eae
MM
4734Fri Nov 3 13:41:04 2000 Mark P Mitchell <mark@codesourcery.com>
4735
4736 * config/mips/iris6.h (SUBTARGET_CC1_SPEC): Remove -static
4737 handling.
4738 (STARTFILE_SPEC): Likewise.
4739 (LINK_SPEC): Likewise.
4740
426159a4
KG
47412000-11-03 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4742
4743 * Makefile.in (fold-const.o): Depend on $(GGC_H), not ggc.h.
4744 (toplev.o): Likewise for $(LOOP_H)/loop.h and $(REGS_H)/regs.h.
4745 (simplify-rtx.o): Likewise for $(GGC_H)/ggc.h.
4746
da61dec9
JM
47472000-11-03 Joseph S. Myers <jsm28@cam.ac.uk>
4748
4749 * c-decl.c (duplicate_decls, copy_lang_decl), dwarfout.c
4750 (dwarfout_line), gcc.c (main, save_string), tree.c (init_obstacks,
4751 perm_calloc, get_identifier, maybe_get_identifier,
4752 real_value_from_int_cst, simple_cst_equal), varasm.c
4753 (assemble_name, assemble_real, immed_real_const_1,
4754 compare_constant_1, decode_rtx_const, output_constant_pool): Use
4755 strrchr () instead of rindex (). Use memcmp () instead of bcmp
4756 (). Use memcpy () instead of bcopy (). Use memset () instead of
4757 bzero ().
4758
def3263a
NS
47592000-11-03 Nathan Sidwell <nathan@codesourcery.com>
4760
4761 * cppfiles.c (open_file): If already read, then don't reopen.
4762 Immediately close an empty file.
4763
94e9dc13
BS
47642000-11-01 Bernd Schmidt <bernds@redhat.co.uk>
4765
4766 * expr.h (fold_builtin): Move declaration...
4767 * tree.h (fold_builtin): ... here.
4768
6c6a14b5
R
4769Fri Nov 3 05:41:07 2000 J"orn Rennecke <amylaar@redhat.com>
4770
4771 * flow.c (verify_local_live_at_start): Allow hard regs to die.
4772
5b569332
NB
47732000-11-02 Neil Booth <neilb@earthling.net>
4774
4775config:
4776 * a29k/a29k.h, a29k/unix.h, a29k/vx29k.h,
4777 alpha/alpha-interix.h, alpha/alpha.h, alpha/linux.h,
4778 alpha/openbsd.h, alpha/osf.h, alpha/vms.h, alpha/vxworks.h,
4779 alpha/win-nt.h, arc/arc.h, arm/arm.h, arm/conix-elf.h,
4780 arm/linux-aout.h, arm/linux-elf.h, arm/netbsd.h, arm/riscix.h,
4781 arm/riscix1-1.h, arm/semiaof.h, arm/unknown-elf-oabi.h, arm/vxarm.h,
4782 c4x/rtems.h, clipper/clix.h, convex/convex.h, d30v/d30v.h,
4783 elxsi/elxsi.h, fr30/fr30.h, h8300/h8300.h, i370/linux.h, i370/mvs.h,
4784 i370/oe.h, i386/386bsd.h, i386/aix386ng.h, i386/beos-elf.h,
4785 i386/bsd386.h, i386/crtdll.h, i386/cygwin.h, i386/dgux.h,
4786 i386/djgpp-rtems.h, i386/djgpp.h, i386/freebsd-aout.h, i386/freebsd.h,
4787 i386/gnu.h, i386/i386-interix.h, i386/i386.h, i386/linux-aout.h,
4788 i386/linux-oldld.h, i386/linux.h, i386/lynx-ng.h, i386/lynx.h,
4789 i386/mach.h, i386/mingw32.h, i386/moss.h, i386/netbsd.h,
4790 i386/netware.h, i386/next.h, i386/openbsd.h, i386/osf1elf.h,
4791 i386/osfelf.h, i386/osfrose.h, i386/ptx4-i.h, i386/rtems.h,
4792 i386/rtemself.h, i386/sco.h, i386/sco4.h, i386/sco4dbx.h, i386/sco5.h,
4793 i386/scodbx.h, i386/sequent.h, i386/sol2.h, i386/sun.h, i386/sysv3.h,
4794 i386/sysv4.h, i386/uwin.h, i386/vsta.h, i386/vxi386.h, i386/win-nt.h,
4795 i386/win32.h, i860/fx2800.h, i860/i860.h, i860/mach.h, i860/sysv3.h,
4796 i860/sysv4.h, i960/i960.h, i960/rtems.h, i960/vx960-coff.h,
4797 ia64/ia64.h, ia64/linux.h, m32r/m32r.h, m68k/3b1.h, m68k/3b1g.h,
4798 m68k/a-ux.h, m68k/altos3068.h, m68k/amix.h, m68k/apollo68.h,
4799 m68k/crds.h, m68k/ctix.h, m68k/dpx2.h, m68k/hp2bsd.h, m68k/hp320.h,
4800 m68k/hp3bsd.h, m68k/hp3bsd44.h, m68k/isi.h, m68k/linux-aout.h,
4801 m68k/linux.h, m68k/lynx-ng.h, m68k/lynx.h, m68k/m68kemb.h,
4802 m68k/m68kv4.h, m68k/mot3300.h, m68k/netbsd.h, m68k/news.h,
4803 m68k/next.h, m68k/openbsd.h, m68k/pbb.h, m68k/plexus.h, m68k/rtems.h,
4804 m68k/rtemself.h, m68k/sun2.h, m68k/sun3.h, m68k/sun3mach.h,
4805 m68k/tower-as.h, m68k/tower.h, m68k/vxm68k.h, m88k/dgux.h,
4806 m88k/dolph.h, m88k/luna.h, m88k/m88k-aout.h, m88k/m88k-coff.h,
4807 m88k/openbsd.h, m88k/sysv3.h, m88k/sysv4.h, mips/bsd-4.h,
4808 mips/bsd-5.h, mips/dec-bsd.h, mips/dec-osf1.h, mips/gnu.h,
4809 mips/iris3.h, mips/iris5.h, mips/iris6.h, mips/linux.h, mips/mips.h,
4810 mips/netbsd.h, mips/news4.h, mips/news5.h, mips/nws3250v4.h,
4811 mips/openbsd.h, mips/osfrose.h, mips/rtems64.h, mips/sni-svr4.h,
4812 mips/svr3-4.h, mips/svr3-5.h, mips/svr4-4.h, mips/svr4-5.h,
4813 mips/ultrix.h, ns32k/encore.h, ns32k/merlin.h, ns32k/netbsd.h,
4814 ns32k/ns32k.h, ns32k/pc532-mach.h, ns32k/pc532.h, ns32k/sequent.h,
4815 ns32k/tek6000.h, ns32k/tek6100.h, ns32k/tek6200.h, pa/pa-hiux.h,
4816 pa/pa-hpux.h, pa/pa-hpux7.h, pa/pa-linux.h, pa/pa-osf.h,
4817 pa/pa-pro-end.h, pa/pa.h, pa/rtems.h, pj/linux.h, pj/pj.h,
4818 romp/romp.h, rs6000/aix.h, rs6000/aix31.h, rs6000/aix41.h,
4819 rs6000/aix43.h, rs6000/beos.h, rs6000/eabi.h, rs6000/eabisim.h,
4820 rs6000/linux.h, rs6000/lynx.h, rs6000/mach.h, rs6000/rtems.h,
4821 rs6000/sysv4.h, rs6000/vxppc.h, sh/elf.h, sh/linux.h, sh/rtems.h,
4822 sh/rtemself.h, sh/sh.h, sparc/aout.h, sparc/elf.h, sparc/linux-aout.h,
4823 sparc/linux.h, sparc/linux64.h, sparc/lite.h, sparc/litecoff.h,
4824 sparc/liteelf.h, sparc/lynx-ng.h, sparc/lynx.h, sparc/netbsd.h,
4825 sparc/openbsd.h, sparc/pbd.h, sparc/rtems.h, sparc/rtemself.h,
4826 sparc/sol2-sld-64.h, sparc/sol2.h, sparc/sp64-aout.h,
4827 sparc/sp64-elf.h, sparc/sp86x-aout.h, sparc/sp86x-elf.h,
4828 sparc/sparc.h, sparc/sysv4.h, sparc/vxsim.h, sparc/vxsparc.h,
4829 v850/rtems.h, vax/netbsd.h, vax/openbsd.h, vax/ultrix.h, vax/vax.h,
4830 vax/vaxv.h, vax/vms.h, we32k/we32k.h
a8a05998 4831
5b569332
NB
4832 Replace -A() with -A=, the new assertion syntax.
4833
03afaf36
R
4834Thu Nov 2 21:52:35 2000 J"orn Rennecke <amylaar@redhat.com>
4835
4836 * combine.c (distribute_notes): Use rtx_equal_p to check elim_i2 /
4837 elim_i1.
4838 In REG_DEAD handling: When handling parts of multi-hard-reg hard
4839 registers, increment the loop counter by the size of the parts;
4840 use recursion to handle individual parts.
4841
04e3be98
NB
48422000-11-02 Neil Booth <neilb@earthling.net>
4843
4844 * configure.in: Make integrated CPP the default.
4845 * configure: Regenerate.
4846
0192d704
R
4847Thu Nov 2 19:20:12 2000 J"orn Rennecke <amylaar@redhat.com>
4848
4849 * reload.c (find_equiv_reg): Test all hard registers for membership
4850 in the requested class.
4851
9473c522
JM
48522000-11-02 Joseph S. Myers <jsm28@cam.ac.uk>
4853
4854 * collect2.c (main, write_c_file_stat), gcc.c (translate_options,
4855 process_command, main), gcov.c (open_files, output_data), tlink.c
4856 (frob_extension, scan_linker_output), toplev.c
4857 (file_name_nondirectory): Use strchr () and strrchr () instead of
4858 index () and rindex ().
4859
0304bbad
JM
48602000-11-02 Joseph S. Myers <jsm28@cam.ac.uk>
4861
4862 * c-common.c (get_flag_spec, check_format_info_main,
4863 check_format_types): Use strchr () instead of index (). Compare
4864 against error_mark_node instead of comparing the TREE_CODE against
4865 ERROR_MARK.
4866
23356f93
ZW
48672000-11-02 Zack Weinberg <zackw@Stanford.EDU>
4868
a8a05998
ZW
4869 Integrated CPP.
4870
4871 * c-lex.c (init_c_lex): Update cpp_start_read call.
4872 (cb_ident): Update for new callback prototype.
4873 (cb_def_pragma): Update for new cpp_get_token prototype.
4874 (c_lex): Similarly. Use cpp_get_line.
4875
4876 * c-parse.in (finish_parse): Update for new cpp_finish
4877 prototype.
4878
4879 * cp/lex.c (finish_parse): Similarly.
23356f93 4880
7a099817
GK
48812000-11-01 Geoff Keating <geoffk@cygnus.com>
4882
4883 * machmode.def: Add V16QImode.
4884
a97c9600
RH
48852000-11-01 Richard Henderson <rth@redhat.com>
4886
4887 * dwarf2out.c (loc_descriptor_from_tree): Check for null result
4888 from rtl_for_decl_location.
4889 (add_location_or_const_value_attribute): Likewise.
4890
a0a9606d
NB
48912000-11-01 Neil Booth <neilb@earthling.net>
4892
a8a05998
ZW
4893 * cpplib.c (run_directive): Use correct line number for output
4894 of _Pragma. Remember any in-progress directive.
4895
4896 * gcc.dg/cpp/vararg2.c, gcc.dg/cpp/_Pragm1.c: New tests.
a0a9606d 4897
ba89764a
RH
48982000-11-01 Richard Henderson <rth@redhat.com>
4899
4900 * stmt.c (expand_start_null_loop): Set continue_label.
4901
b0b3afb2
BS
49022000-11-01 Bernd Schmidt <bernds@redhat.co.uk>
4903
4904 * builtins.c (fold_builtin_constant_p, fold_builtin): New functions.
4905 (expand_builtin_constant_p): Move parts of the code into
4906 fold_builtin_constant_p.
4907 (expand_builtin_strlen): Move parts of the code into fold_builtin.
4908 * expr.h (fold_builtin): Declare.
4909 * fold-const.c (fold): Handle builtin calls.
4910
4911 * c-typeck.c (build_function_call): Call fold on the CALL_EXPR.
4912
f0de0c5d
RH
49132000-11-01 Richard Henderson <rth@redhat.com>
4914
4915 * stmt.c (expand_start_null_loop): New.
a8a05998 4916 (expand_end_null_loop): New.
f0de0c5d
RH
4917 * c-semantics.c (genrtl_do_stmt): Use them.
4918 * tree.h: Declare them.
4919
3a59c77c
RH
49202000-11-01 Richard Henderson <rth@redhat.com>
4921
4922 * cppmain.c (scan_buffer): Don't avoid paste for assembly.
4923
12c4f523
NB
49242000-11-01 Neil Booth <neilb@earthling.net>
4925
4926 * c-parse.in (_yylex): Remove CPP_BACKSLASH case.
4927 * cp/spew.c: Similarly.
4928 * cpplex.c (_cpp_lex_token): Backslashes are now CPP_OTHER.
4929 * cppmacro.c (stringify_arg): Similarly.
4930 * cpplib.h (CPP_BACKSLASH): Delete.
4931
78e7629e
KG
49322000-10-31 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
4933
4934 * builtins.c (expand_builtin_strstr): New function.
4935 (expand_builtin): Handle BUILT_IN_STRSTR and BUILT_IN_STRCHR.
4936
4937 * builtins.def (BUILT_IN_STRSTR, BUILT_IN_STRCHR): New entries.
4938
4939 * c-common.c (c_common_nodes_and_builtins): Declare builtin strstr
4940 and builtin strchr.
4941
32ee391b
RH
49422000-10-31 Richard Henderson <rth@redhat.com>
4943
4944 * config/i386/i386.c (fcmov_comparison_operator): Check for
4945 CCFPmode or CCFPUmode instead of CCmode.
4946 (ix86_expand_fp_movcc): Call ix86_expand_setcc for most
4947 unordered operations as well.
4948
5f10ef5b
RH
49492000-10-31 Richard Henderson <rth@redhat.com>
4950
4951 * c-semantics.c (genrtl_do_stmt): Use integer_zerop instead
4952 of integer_zero_node.
4953
d599b81f
RH
49542000-10-31 Richard Henderson <rth@redhat.com>
4955
4956 * c-semantics.c (genrtl_do_stmt): Special case do/while(0).
4957
1426f761
NC
49582000-10-31 Nick Clifton <nickc@redhat.com>
4959
4960 * config/arm/unknown-elf.h (UNIQUE_SECTION_P): Do not allow
4961 -fdata-sections to override the section attribute of a DECL.
4962
a8c0159a
CD
49632000-10-31 Chris Demetriou <cgd@sibyte.com>
4964
4965 * libgcc2.c (__shtab): Remove __shtab variable.
4966 * libgcc-std.ver (GCC_3.0): Remove __shtab from symbol list.
4967 * Makefile.in (LIB2FUNCS): Remove _shtab from list of library
4968 members.
4969
8215347e
JW
49702000-10-31 Jim Wilson <wilson@redhat.com>
4971
4972 * defaults.h (ASM_OUTPUT_DEBUG_LABEL): New.
4973 * tm.texi (ASM_OUTPUT_DEBUG_LABEL): Document.
4974 * dwarf2out.c (dwarf2out_begin_block): Use ASM_OUTPUT_DEBUG_LABEL
4975 instead of ASM_OUTPUT_INTERNAL_LABEL.
4976 (dwarf2out_end_block, dwarf2out_label): Likewise.
4977 * final.c (final_scan_insn, case NOTE_INSN_DELETED_LABEL): Likewise
4978 * config/ia64/ia64.h (ASM_OUTPUT_DEBUG_LABEL): Define.
a8a05998 4979
d8041cc8
RH
49802000-10-31 Richard Henderson <rth@redhat.com>
4981
4982 * dwarf2out.c (struct dw_loc_descr_struct): Add dw_loc_addr.
4983 (size_of_locs): Set it.
4984 (output_loc_operands): Use it to compute branch displacement.
4985 (int_loc_descriptor): New.
4986 (mem_loc_descriptor): Dereference memory in the proper size.
4987 Use DW_OP_plus_uconst when possible. Use int_loc_descriptor.
4988 (loc_descriptor_from_tree): New.
4989 (rtl_for_decl_location): Break out from ...
4990 (add_location_or_const_value_attribute): ... here.
4991 (add_bound_info): Use loc_descriptor_from_tree.
4992
86368122
NB
49932000-10-31 Neil Booth <neilb@earthling.net>
4994
4995 * cpp.texi: Update for new command line assertion syntax.
4996 * cpplib.c (cpp_define): Simplify a bit.
4997 (cpp_assert, cpp_unassert): Use handle_assertion.
4998 (handle_assertion): New function; accept new command line
4999 syntax with '='.
5000 * testsuite/gcc.dg/cpp/assert3.c: New tests.
5001
e1998242
NB
50022000-10-31 Neil Booth <neilb@earthling.net>
5003
5004 * cppmacro.c (STDC_0_IN_SYSTEM_HEADERS): Define to 0 if
5005 undefined. Remove #ifdef check.
5006 * config/i386/sol2.h, config/rs6000/sol2.h, config/sparc/sol2.h:
5007 Define STDC_0_IN_SYSTEM_HEADERS to 1.
5008
7e08e190
JH
50092000-10-31 Jan Hubicka <jh@suse.cz>
5010 Jakub Jelinek <jakub@redhat.com>
5011
5012 * config/i386/i386.h: Clarify CCNOmode description in comment.
5013 (EXTRA_CC_MODES): Remove CCRCmode.
5014 * config/i386/i386.c (ix86_comparison_operator): Remove CCRCmode.
5015 (put_condition_code, ix86_match_ccmode): Likewise.
5016 (ix86_cc_mode): Likewise. Fix comment.
5017 (ix86_expand_strlensi_unroll_1): *rc patterns are gone.
5018 * config/i386/i386.md: Add unspec 12 description.
5019 (adddi3 split): Use unspec 12 instead of CCRCmode.
5020 (addsi3_carry_rc): Remove.
5021 (addsi3_cc, addqi3_cc): New patterns.
5022 (addsi_3): Swap operands, match CCZmode.
5023 (addsi_4): Rewritten.
5024 (addsi_5): Renamed from addsi_6.
5025 (addsi_6): Removed.
5026 (addhi_3): Swap operands, match CCZmode.
5027 (addhi_4): Rewritten.
5028 (addhi_5): Renamed from addhi_6.
5029 (addhi_6): Removed.
5030 (addqi_3): Swap operands, match CCZmode.
5031 (addqi_4): Rewritten.
5032 (addqi_5): Renamed from addqi_6. Use =q constraint for clobber.
5033 (subsi3_carry_rc): Removed.
5034 (iorqi_3): Use =q constraint for clobber.
5035 (xorqi_cc_2): Likewise.
5036 (negdi2_1 split): Don't use CCRCmode, use ltu instead of gtu.
5037 (x86_movsicc_0_m1_rc): Removed.
5038 (cmp?i peepholes): Remove neg. Use CCGCmode instead of CCRCmode.
5039
93cc1c69
JM
50402000-10-31 Joseph S. Myers <jsm28@cam.ac.uk>
5041
5042 * c-typeck.c (build_unary_op): If pedantic, pedwarn for increment
5043 and decrement of complex types.
5044
bcb38cc1
KG
50452000-10-31 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5046
5047 * builtins.c (expand_builtin_fputs): When deleting NOP calls to
5048 builtin fputs, ensure we still evaluate the stream in case it
5049 has side-effects.
5050
681cb233
JJ
50512000-10-31 Jakub Jelinek <jakub@redhat.com>
5052
5053 * expr.c (do_store_flag): Pass operand_mode instead of GET_MODE (op0)
5054 to expand_shift.
5055
4b9580a5
R
5056Tue Oct 31 15:33:27 2000 J"orn Rennecke <amylaar@redhat.com>
5057
5058 * sh-protos.h (reg_no_subreg_operand, emit_fpscr_use): Don't declare.
5059 (fp_extended_operand, emit_fpscr_use): Likewise.
5060 * sh.c (reg_no_subreg_operand, fp_extended_operand): Delete functions.
5061 (fpul_operand): New function.
5062 * sh.h (PREDICATE_CODES): Remove reg_no_subreg_operand and
5063 fp_extended_operand. Add fpul_operand.
5064 * sh.md (mulsf3, mulsf3_i4): Use fp_arith_reg_operand for "f" operands.
5065 (mulsf3_ie, macsf3, cmpgtsf_t, cmpeqsf_t, ieee_ccmpeqsf_t): Likewise.
5066 (cmpgtsf_t_i4, cmpeqsf_t_i4, ieee_ccmpeqsf_t_4, negsf2): Likewise.
5067 (negsf2_i, sqrtsf2, sqrtsf2_i, abssf2, abssf2_i, adddf3): Likewise.
5068 (adddf3_i, subdf3, subdf3_i, muldf3, muldf3_i, divdf3): Likewise.
5069 (divdf3_i): Likewise.
5070 (floatsisf2): Likewise. Use fpul_operand for 'y' operand.
5071 (floatsisf2_i4, floatsisf2_ie, fix_truncsfsi2): Likewise.
5072 (fix_truncsfsi2_i4, fixsfsi, floatsidf2, floatsidf2_i): Likewise.
5073 (fix_truncdfsi2, fix_truncdfsi2_i, extendsfdf2): Likewise.
5074 (extendsfdf2_i4, truncdfsf2, truncdfsf2_i4): Likewise.
5075
332316cd
BS
50762000-10-31 Bernd Schmidt <bernds@redhat.co.uk>
5077
a8a05998 5078 * config/i386/i386.c (ix86_init_builtins): Correct return type
332316cd
BS
5079 building v4hi_ftype_v4hi_int_int tree node.
5080 (ix86_expand_builtin): Use correct operand numbers 0 and 1.
5081 Copy operand 0 into a Pmode register, don't generate a MEM rtx.
5082
5083 * config/i386/i386.md (sse_movntdi): Use mmx register constraint
5084 for operand 1.
5085 (mmx__uavgv8qi3): Correct insn mnemonic.
5086 (mmx_psadbw): Correct insn mnemonic. Use V8QI mode for operands 1 and 2.
5087 (mmx_punpckhwd): Correct insn mnemonic.
5088 (mmx_punpckhdq): Likewise.
5089 (mmx_punpcklwd): Likewise.
5090 (mmx_punpckldq): Likewise.
5091 (prefetch): Use immediare_operand and 'n' constraint for operand 1.
5092 Renumber case labels to match the _mm_prefetch constants defined in
5093 xmmintrin.h.
5094
1d766db0
BS
5095 * recog.c (split_all_insns): Don't try to call cleanup_subreg_operands
5096 if the splitter didn't emit new insns.
5097 Make sure we call cleanup_subreg_operands even when splitting the last
5098 insn in a basic block.
5099
8bb16620
BS
5100 * invoke.texi (Debugging Options): Describe -do.
5101 * toplev.c (enum_dump_file_index): New entry DFI_postreload.
5102 (dump_file): Likewise.
5103 (rest_of_compilation): Split .greg dump into .greg and .postreload.
5104
a5c3cccd
NB
51052000-10-30 Neil Booth <neilb@earthling.net>
5106
5107 * cppfiles.c (stack_include_file): Check for stacked contexts
5108 here.
5109 * cpphash.h (_cpp_do__Pragma): New prototype.
5110 * cppinit.c (cpp_reader_init): Add _Pragma keyword to hash table.
5111
5112 * cpplex.c (skip_escaped_newlines): Only process trigraphs and
5113 escaped newlines if !(buffer->from_stage3).
5114 (_cpp_lex_token): Warn about missing newlines iff
5115 !buffer->from_stage3.
5116
5117 * cpplib.c (get__Pragma_string, destringize,
5118 _cpp_do__Pragma): New functions.
5119 (run_directive): Set output_line for _Pragma to avoid line
5120 markers in output. Set from_stage3 and prevent macro expansion
5121 for _Pragma and command-line options. Check buffer exhaustion.
5122 (cpp_push_buffer): Don't check for stacked macro contexts, as
5123 this is perfectly legitimate for _Pragma. Move the check to
5124 stack_include_file instead. Set from_stage3 iff buffer is
5125 preprocessed input.
5126
5127 * cpplib.h (struct cpp_buffer): Make warned_cplusplus_comments
5128 unsigned. New boolean from_stage3.
5129 (struct spec_nodes): Add n__Pragma.
5130
5131 * cppmacro.c (enter_macro_context): Flip sense of return value.
5132 (_cpp_get_token): Handle _Pragma operator.
5133
dbdaea41
PE
51342000-10-30 Phil Edwards <pme@sources.redhat.com>
5135
5136 * gcc.texi: The C++ standard isn't "draft" anymore.
5137
8a47978d
MM
51382000-10-30 Mark Mitchell <mark@codesourcery.com>
5139
5140 * cppmacro.c (builtin_macro): Use NT_VOID, not T_VOID.
5141
1641a823
NB
51422000-10-29 Neil Booth <neilb@earthling.net>
5143
5144 * cpplib.c (skip_rest_of_line): Use _cpp_get_token.
5145
8c7b74b9
JM
51462000-10-29 Joseph S. Myers <jsm28@cam.ac.uk>
5147
526aba28
JM
5148 * toplev.c, flags.h, fold-const.c, real.c, rtl.c,
5149 fixinc/inclhack.def: Change comments mentioning C9X to refer to
5150 C99 instead.
5151
8c7b74b9
JM
5152 * invoke.texi: Document that -V will only work for very similar
5153 versions of driver and compiler.
5154
44ed91a1
NB
51552000-10-29 Neil Booth <neilb@earthling.net>
5156
5157 * cppmacro.c (_cpp_create_definition): Optimize the case of
a8a05998 5158 a macro defined to itself.
44ed91a1 5159
3542203b
NB
51602000-10-29 Neil Booth <neilb@earthling.net>
5161
5162 * cpplex.c (save_comment): Don't store new lines in C++ comments.
5163
6f268adf
MH
51642000-10-29 Michael Hayes <mhayes@redhat.com>
5165
5166 * integrate.c (copy_insn_list): Copy the unchanging flag for calls.
5167
926c5678
GK
51682000-10-28 Geoffrey Keating <geoffk@cygnus.com>
5169
5170 * cpphash.c (cpp_forall_identifiers): Add context variable
5171 for callback routine.
5172 * cppmain.c (dump_macro): Update to match cpp_forall_identifiers
5173 change.
5174 (main): Call cpp_forall_identifiers with null context.
5175 * cpplib.h (cpp_forall_identifiers): Update prototype.
5176
5177 * cppmain.c: Make `parse_in' and `print' static.
5178
69f4cc4b
AM
51792000-10-28 Alan Modra <alan@linuxcare.com.au>
5180
5181 * c-decl.c (finish_function): Clear c_function_name_declared_p.
5182
ce73761f
RH
51832000-10-28 Richard Henderson <rth@redhat.com>
5184
5185 * regrename.c (scan_rtx_address): Frob action, not class,
5186 when trying to disable optimization.
5187
2c21b247
MM
51882000-10-28 Mark Mitchell <mark@codesourcery.com>
5189
5190 * c-semantics.c (make_rtl_for_local_static): Don't clobber
5191 DECL_ASSEMBLER_NAME.
5192
8763704d
JM
51932000-10-28 Joseph S. Myers <jsm28@cam.ac.uk>
5194
5195 * configure.in: Determine and substitute gcc_version_full.
5196 * configure: Regenerate.
5197 * gccbug.in: Use it to give full version. Don't allow
5198 confidential PRs.
5199
85941a0a
RH
52002000-10-28 Richard Henderson <rth@redhat.com>
5201
5202 * recog.c (split_all_insns): Run cleanup_subreg_operands
5203 after reload.
5204
5205 * regrename.c (regrename_optimize): Verify that all registers of
5206 a multiple register mode are available.
5207 (scan_rtx_address): Accept the mode of the address; all callers
5208 changed.
5209
5210 * cpplib.c (run_directive): Fix prototype.
5211
69add2a8
BS
52122000-10-28 Bernd Schmidt <bernds@redhat.co.uk>
5213
5214 * reload.c (find_reloads): Distinguish "wins" so that we know whether
5215 a given operand won because of a matching constraint or not; then use
5216 that information to compute goal_alternative_matched properly.
4c3a2649
BS
5217 * reload1.c (choose_reload_regs): Never set reload_override_in for an
5218 optional reload.
69add2a8 5219
005f39ce
BS
5220 * config/ia64/ia64.h (RTX_COSTS): A few more entries, and a more
5221 accurate value for MULT.
55d8cb78
BS
5222 * config/ia64/ia64.c (ia64_print_operand): Require probability to be
5223 2% or > 98% before using static branch prediction bits.
005f39ce 5224
93c80368
NB
52252000-10-28 Neil Booth <neilb@earthling.net>
5226
5227 New macro expander.
a8a05998 5228
93c80368
NB
5229 * cpplib.c (struct answer): New.
5230 (struct if_stack): Use cpp_lexer_pos rather than line and col.
5231 Rename cmacro mi_cmacro.
5232 (struct directive, KANDR, STDC89, EXTENSION, COND, IF_COND, INCL,
5233 IN_I): New directive and flags.
5234 (skip_rest_of_line, check_eol, run_directive, glue_header_name,
5235 parse_answer, parse_assertion, find_answer): New functions.
5236 (parse_ifdef, detect_if_not_defined, validate_else): Remove.
5237 (lex_macro_node): New function to replace parse_ifdef and
5238 get_define_node.
5239
5240 (_cpp_handle_directive): New function, combines _cpp_check_directive
5241 and _cpp_check_linemarker.
5242
5243 (do_define, do_undef, parse_include, do_include, do_import,
5244 do_include_next, read_line_number, do_line, do_ident, do_pragma,
5245 do_pragma_once, do_pragma_poison, do_pragma_dependency):
5246 Update for new token getting interface.
5247
5248 (do_ifdef, do_ifndef, do_if, do_else, do_endif, push_conditional)
5249 : Update for new multiple-include optimisation technique.
5250 (do_elif): Don't forget to invalidate controlling macros.
5251
5252 (unwind_if_stack, cpp_defined, cpp_push_buffer, cpp_pop_buffer): Update.
5253 (parse_assertion, parse_answer, find_answer, _cpp_test_assertion):
5254 Functions to handle assertions with the new token interface.
5255 (do_assert, do_unassert): Use them.
5256
5257 (cpp_define, _cpp_define_builtin, cpp_undef, cpp_assert, cpp_unassert):
5258 Use run_directive.
5259
5260 (_cpp_init_stacks): Register directive names. Don't register special
5261 nodes.
5262
5263 * cpperror.c (print_containing_files, _cpp_begin_message): Update to
5264 new position recording regime.
5265 (cpp_ice, cpp_fatal, cpp_error, cpp_error_with_line, cpp_warning,
5266 cpp_warning_with_line, cpp_pedwarn, cpp_pedwarn_with_line,
5267 cpp_pedwarn_with_file_and_line): Update for _cpp_begin_message changes.
5268 (cpp_type2name): Move to cpplex.c.
5269
5270 * cppexp.c (parse_charconst): spec_nodes is no longer a pointer.
5271 (parse_defined): Update to handle new multiple include optimisation
5272 method. Remove poisoned identifier warning.
5273 (parse_assertion, TYPE_NAME): Delete.
5274 (lex): Update for multiple include optimisation, removal of
5275 CPP_DEFINED, to use _cpp_test_assertion for assertions and
5276 cpp_token_as_text.
5277 (_cpp_parse_expr): Update for MI optimisation, and to use op_as_text.
5278 (op_as_text): New function, to wrap cpp_token_as_text.
5279
5280 * cppfiles.c (stack_include_file, _cpp_pop_file_buffer):
5281 Update for MI optimisation.
5282 (_cpp_execute_include): Take a token rather than 3 arguments. Fix
5283 segfault on diagnostic.
5284 (_cpp_compare_file_date): Take a token rather than 3 args.
5285 (cpp_read_file): Work correctly for zero-length files.
5286
5287 * cpphash.c (_cpp_init_macros, _cpp_cleanup_macros): Rename
5288 _cpp_init_hashtable and _cpp_cleanup_hashtable.
5289 (cpp_lookup): Place identifiers at front of identifier pool
5290 for _cpp_lookup_with_hash.
5291 (_cpp_lookup_with_hash): Require identifiers to be at the front of
5292 the identifier pool. Commit the memory if not already in the
5293 hash table.
5294
5295 * cppinit.c (cpp_reader_init): Move cpp_init_completed test to top.
5296 Initialise various members of cpp_reader, memory pools, and the
5297 special nodes.
5298 (cpp_printer_init): Delete.
5299 (cpp_cleanup): Update.
5300 (struct builtin, builtin_array, initialize_builtins): Update for new
5301 hashnode definition and builtin handling.
5302 (cpp_start_read, cpp_finish): Don't take or initialise a
5303 printer. Update.
5304
5305 * cpplib.h (cpp_printer, cpp_toklist, CPP_DEFINED, BOL,
5306 PASTED, VAR_ARGS, BEG_OF_FILE, IN_DIRECTIVE, KNOWN_DIRECTIVE,
5307 T_VOID, T_SPECLINE, T_DATE, T_FILE, T_BASE_FILE, T_INCLUDE_LEVEL,
5308 T_TIME, T_STDC, T_OPERATOR, T_POISON, T_MACRO, T_ASSERTION): Delete.
5309 (struct cpp_pool, struct cpp_macro, struct cpp_lexer_pos,
5310 struct cpp_lookahead, CPP_DHASH, enum mi_state, enum mi_ind,
5311 NO_EXPAND, VARARGS_FIRST, struct cpp_token_with_pos,
5312 struct toklist, struct cpp_context, struct specnodes,
5313 TOKEN_LOOKAHEAD, TOKEN_BUFFSIZE, NODE_OPERATOR, NODE_POISONED,
5314 NODE_BUILTIN, NODE_DIAGNOSTIC, NT_VOID, NT_MACRO, NT_ASSERTION,
5315 enum builtin_type, cpp_can_paste): New.
5316 (struct cpp_token): Delete line and col members.
5317 (struct cpp_buffer): New member output_lineno.
5318 (struct lexer_state): Delete indented, in_lex_line, seen_dot.
5319 Add va_args_ok, poisoned_ok, prevent_expansion, parsing_args.
5320 (struct cpp_reader): New members lexer_pos, macro_pos, directive_pos,
5321 ident_pool, temp_string_pool, macro_pool, argument_pool, string_pool,
5322 base_context, context, directive, mi_state, mi_if_not_defined,
5323 mi_lexed, mi_cmacro, mi_ind_cmacro, la_read, la_write, la_unused,
5324 mlstring_pos, macro_buffer, macro_buffer_len.
5325 Delete members mls_line, mls_column, token_list, potential_control_macro,
5326 temp_tokens, temp_cap, temp_alloced, temp_used, first_directive_token,
5327 context_cap, cur_context, no_expand_level, paste_level, contexts, args,
5328 save_parameter_spellings, need_newline, .
5329 Change type of date, time and spec_nodes members.
5330 Change prototypes for include and ident callbacks.
5331 (struct cpp_hashnode): Change type of name. Remove union members
5332 expansion and code. Add members macro, operator and builtin.
5333
5334 (cpp_token_len, cpp_token_as_text, cpp_spell_token, cpp_start_read,
5335 cpp_finish, cpp_avoid_paste, cpp_get_token, cpp_get_line,
5336 cpp_get_output_line, cpp_macro_definition, cpp_start_lookahead,
5337 cpp_stop_lookahead): New prototypes.
5338 (cpp_printer_init, cpp_dump_definition): Delete prototypes.
5339
5340 (U_CHAR, U, ustrcmp, ustrncmp, ustrlen, uxstrdup, ustrchr, ufputs):
5341 Move from cpphash.h.
5342
5343 * cpphash.h (U_CHAR, U, ustrcmp, ustrncmp, ustrlen, uxstrdup, ustrchr,
5344 ufputs): Move to cpplib.h.
5345 (enum spell_type, struct token_spelling, _cpp_token_spellings, TOKEN_SPELL,
5346 TOKEN_NAME, struct answer, FREE_ANSWER, KANDR, STDC89, EXTENSION,
5347 COND, EXPAND, INCL, COMMENTS, IN_I, struct directive, directive_handler,
5348 struct spec_nodes, _cpp_digraph_spellings, _cpp_free_temp_tokens,
5349 _cpp_init_input_buffer, _cpp_grow_token_buffer, _cpp_init_toklist,
5350 _cpp_clear_toklist, _cpp_expand_token_space, _cpp_expand_name_space,
5351 _cpp_equiv_tokens, _cpp_equiv_toklists, _cpp_process_directive,
5352 _cpp_run_directive, _cpp_get_line, _cpp_get_raw_token, _cpp_glue_header_name,
5353 _cpp_can_paste, _cpp_check_directive, _cpp_check_linemarker,
5354 _cpp_parse_assertion, _cpp_find_answer): Delete.
5355 (VALID_SIGN, ALIGN, POOL_FRONT, POOL_LIMIT, POOL_BASE, POOL_SIZE,
5356 POOL_USED, POOL_COMMIT, struct cpp_chunk, _cpp_lex_token, _cpp_init_pool,
5357 _cpp_free_pool, _cpp_pool_reserve, _cpp_pool_alloc, _cpp_next_chunk,
5358 _cpp_lock_pool, _cpp_unlock_pool, _cpp_test_assertion,
5359 _cpp_handle_directive, DSC): New.
5360 (struct include_file): New member defined.
5361
5362 (DO_NOT_REREAD, _cpp_begin_message, _cpp_execute_include,
5363 _cpp_compare_file_date): Update.
5364 (_cpp_pop_context, _cpp_get_token, _cpp_free_lookaheads, _cpp_push_token): New.
5365 (_cpp_init_macros, _cpp_cleanup_macros): Rename to _cpp_init_hashtable,
5366 _cpp_cleanup_hashtable.
5367
5368 * Makefile.in: Remove cppoutput.c.
a8a05998 5369
93c80368
NB
5370 * cppoutput.c: Delete
5371
5372 * fixheader.c (read_scan_file): Update for new cpp_get_token
5373 prototype.
5374 (recognized_function): New argument LINE.
5375
5376 * scan-decls.c (skip_to_closing_brace, scan_decls): Update for
5377 new cpp_get_token prototype.
5378
5379 * scan.h (recognized_function): Update prototype.
5380
5381 * po/POTFILES.in: Remove cppoutput.c.
a8a05998 5382
229a2e65
MM
53832000-10-27 Mark Mitchell <mark@codesourcery.com>
5384
5385 * c-typeck.c (check_init_type_bitfields): Remove.
5386 (constructor_incremental): Likewise.
5387 (struct constructor_stack): Remove incremental bit.
5388 (struct initializer_stack): Likewise.
5389 (start_init): Don't play with constructor_incremental.
5390 (finish_init): Likewise.
5391 (really_start_incremental_init): Likewise.
5392 (push_init_level): Likewise.
5393 (pop_init_level): Likewise.
5394 (output_init_level): Likewise.
5395 (output_pending_init_elements): Likewise.
5396
63eb1269
MC
53972000-10-21 Mike Coleman <mcoleman2@kc.rr.com>
5398
5399 * c-pragma.c (handle_pragma_pack): Initialize align to -1.
a8a05998 5400 Improve error messages. Correct parsing of
63eb1269
MC
5401 #pragma pack(pop [,id]). Do not check the user-supplied
5402 alignment if we're popping.
5403
5404 * gcc.dg/pack-test-1.c: New test case.
5405 * gcc.dg/pack-test-2.c: New test case.
5406 * gcc.dg/pack-test-1.h: New file.
5407
ae2eceaa
NB
54082000-10-27 Neil Booth <neilb@earthling.net>
5409
5410 * cpp.texi: Update.
5411
04e149ab
KC
54122000-10-27 Kelley Cook <kelley.cook@home.com>
5413
5414 * invoke.texi: Document -mintel-syntax
5415
2b2a8f1f
RH
54162000-10-27 Richard Henderson <rth@redhat.com>
5417
5418 * invoke.texi: Document -frename-registers. Add it to -O3.
5419 * toplev.c (rest_of_compilation): Run regrename before ifcvt2.
5420 (enum dump_file_index, dump_file): Update order.
5421 (main): Set flag_rename_registers at -O3.
5422
10c9f189
RH
54232000-10-27 Richard Henderson <rth@redhat.com>
5424
93c89ab3
RH
5425 * config/alpha/alpha.h (enum reg_class): Add PV_REG.
5426 (REG_CLASS_NAMES, REG_CLASS_CONTENTS, REGNO_REG_CLASS): Update.
5427 (REG_CLASS_FROM_LETTER): Assign it to 'c'.
5428 * config/alpha/alpha.md (call_osf_1): Use it.
5429 (call_value_osf_1): Likewise.
5430
10c9f189
RH
5431 * config/ia64/ia64.c: Revert 10-23 patch.
5432 (ia64_hard_regno_rename_ok): New.
5433 * config/ia64/ia64-protos.h: Declare it.
5434 * config/ia64/ia64.h (HARD_REGNO_RENAME_OK): Use it.
5435
541f7d56
BS
54362000-10-27 Bernd Schmidt <bernds@redhat.co.uk>
5437 Richard Henderson <rth@redhat.com>
5438
a8a05998
ZW
5439 * regrename.c: Rewrite to handle multi-register modes and
5440 cond_exec instructions.
5441 * Makefile.in (regrename.o): Update dependancies.
5442 * recog.h (struct operand_alternative): Add is_address.
5443 * recog.c (preprocess_constraints) [case 'p']: Set it.
541f7d56 5444
b8dad04b
ZW
54452000-10-27 Zack Weinberg <zack@wolery.stanford.edu>
5446
5447 * configure.in: If not NO_MINUS_C_MINUS_O, substitute
5448 OUTPUT_OPTION with '-o $@'. Make zlibdir, zlibinc relative to
5449 top level. Kill oldstyle_subdirs. Do not include
5450 $srcdir/$s/Makefile.in in all_lang_makefiles, but do include
5451 $outputs. Do not run configure.lang from config.status.
5452 Rearrange warning-flag logic to correspond to what the
5453 makefile wants. Put special vax stage1 options in
5454 @stage1_flags@ not @stage1_warn_cflags@. Don't do anything
5455 with extra_c_objs, extra_cxx_objs, or extra_cpp_objs.
5456 (--enable-c-cpplib): AC_SUBST(maybe_cpplib) with "libcpp.a" if
5457 switch is given, nothing otherwise.
5458 * configure.lang: Delete.
5459
a8a05998
ZW
5460 * Makefile.in: Expunge all traces of extra_c_objs,
5461 extra_cxx_objs, and extra_cpp_objs. Set MAYBE_CPPLIB from
5462 @maybe_cpplib@. Add $(MAYBE_CPPLIB) to C_AND_OBJC_OBJS. Set
5463 warning options via a three level scheme so that -pedantic and
5464 -Wtraditional are not used for non-C front ends: LOOSE_WARN,
5465 STRICT1_WARN, STRICT2_WARN -> $(@D)-warn, GCC_WARN_CFLAGS ->
5466 WARN_CFLAGS. Distinguish STAGE1_CFLAGS from BOOT_CFLAGS.
b8dad04b
ZW
5467 Add -I$(@D) and -I$(srcdir)/$(@D) to INCLUDES.
5468 Set OUTPUT_OPTION, ZLIB, ZLIBINC. Do not set P,
a8a05998
ZW
5469 LANG_FLAGS_TO_PASS. Add OUTPUT_OPTION to all object-file
5470 generation rules. Wrap all rules that change the current
5471 directory in parentheses; pmake doesn't spawn a new shell for
5472 each command. Expunge all references to $(P). When one
5473 command depends on another and they're run all at once, use &&
5474 to separate them, not ;. Add libgcc_s$(SHLIB_EXT) to files
5475 deleted on make clean. Force OUTPUT_OPTION='-o $@' in stage2
5476 and beyond.
b8dad04b
ZW
5477
5478 * objc/Make-lang.in: Wrap all rules that change the current
5479 directory in parentheses. Expunge all references to $(P).
5480 When one command depends on another and they're run all at
5481 once, use && to separate them, not ;. Add OUTPUT_OPTION to
5482 all object-file generation rules. Delete obsolete variables.
5483 * objc/Makefile.in: Delete.
5484
fadb729c
JJ
54852000-10-27 Jakub Jelinek <jakub@redhat.com>
5486
5487 * calls.c (expand_call): If sibcall_failure is set during pass 1,
5488 clear tail_call_insns as well.
5489
254bb256
NC
54902000-10-27 Nick Clifton <nickc@redhat.com>
5491
5492 * config/arm/arm-protos.h (arm_function_ok_for_sibcall): Add
5493 prototype.
5494
8eb99146
RH
54952000-10-26 Richard Henderson <rth@redhat.com>
5496
b8dad04b 5497 * calls.c (expand_call): Supress sibcall if we have a
8eb99146
RH
5498 BLKmode return in registers.
5499
036099eb
BS
55002000-10-26 Bernd Schmidt <bernds@redhat.co.uk>
5501
5502 * ia64.h (PREFERRED_RELOAD_CLASS): Force floating point constants
5503 into memory.
5504
13c6f0d5
NS
55052000-10-26 Nathan Sidwell <nathan@codesourcery.com>
5506
5507 * tree.c (make_node, case 't'): Set alignment to that of
5508 char_type_node.
5509 * expr.c (move_by_pieces_ninsns): Abort if some length remains.
5510
be5aeb60
MM
55112000-10-25 Mark Mitchell <mark@codesourcery.com>
5512
5513 * Makefile.in (site.exp): Define HAVE_LIBSTDCXX_V3.
5514 * configure.in (enable-libstdcxx-v3): Arrange to have
5515 HAVE_LIBSTDCXX_V3 substituted into the output files.
5516
78192b09
RH
55172000-10-25 Richard Henderson <rth@redhat.com>
5518
4667f705
RH
5519 * recog.c (constrain_operands): Initialize which_alternative
5520 before no alternatives early exit.
5521
78192b09
RH
5522 * cse.c (find_comparison_args): Check that we can reverse a
5523 comparison if needed before accepting the substitution.
5524
081b49f1
RH
5525 * reload.c (find_reloads_address_part): Kill rtx obstack hackery.
5526
d4f1c1fa
RH
5527 * simplify-rtx.c (simplify_relational_operation): Sign extend
5528 low words before sign extending to high words.
5529
bc27e96c
NC
55302000-10-25 Nick Clifton <nickc@redhat.com>
5531
5532 * config/mcore/mcore.c: Include config.h before system.h.
5533
55342000-10-25 Ray Essick <essick@ddna.labs.mot.com>
5535
5536 * config/mcore/mcore.md (return): Force function epilogue to
5537 always be generated to work around epilogue suppression bug in
5538 M*Core backend.
5539
e0c9fbb7
JM
55402000-10-25 Joseph S. Myers <jsm28@cam.ac.uk>
5541
5542 * c-decl.c (grokdeclarator): Move warning for qualified void
5543 return types with -pedantic to when the function type is
5544 constructed. At -W, warn in general for qualified function return
5545 types, except for volatile void.
5546 * invoke.texi: Document this new warning at -W.
5547
138e79e7
NB
55482000-10-25 Neil Booth <neilb@earthling.net>
5549
b8dad04b
ZW
5550 * cpp.texi: Update with implementation-defined behavior and
5551 internal limits.
138e79e7 5552
dc5041ab
JJ
55532000-10-25 Jakub Jelinek <jakub@redhat.com>
5554
5555 * stor-layout.c (layout_type): If TYPE_ALIAS_SET was already set on the
5556 incomplete type force it into alias set 0.
5557
e004f2f7
JW
5558Wed Oct 25 01:02:44 EDT 2000 John Wehle (john@feith.com)
5559
5560 * alias.c: Include basic-block.h.
5561 (loop_p): New function.
5562 (mark_constant_function): Use it.
5563 * Makefile.in (alias.o): Update dependencies.
5564
15c09738
AH
55652000-10-24 Aldy Hernandez <aldyh@redhat.com>
5566
5567 * config/mn10300/mn10300.c (secondary_reload_class): Treat pseudos
5568 like memory.
b8dad04b 5569
a8ca7756
JW
55702000-10-24 Jim Wilson <wilson@cygnus.com>
5571
5572 * expmed.c (store_bit_field): Move integer pun code down after
5573 code that calls emit_move_insn for entire register move.
5574 * stor-layout.c (compute_record_mode): Revert Mar 25, Aug 18, and
5575 Oct 20 changes. Only store mode in TYPE_MODE if RECORD_TYPE.
b8dad04b 5576
c0fc376b
RH
55772000-10-24 Richard Henderson <rth@cygnus.com>
5578
5579 * rtlanal.c (rtx_unstable_p, rtx_varies_p): Don't consider pic
5580 register stable if PIC_OFFSET_TABLE_REG_CALL_CLOBBERED.
5581
d7836e38
AH
55822000-10-24 Aldy Hernandez <aldyh@redhat.com>
5583
b8dad04b
ZW
5584 * gcse.c (cprop_insn): do not propagate constants into jump_insn
5585 for machines with CC0 more than once.
d7836e38 5586
5e2c51ba
RH
55872000-10-24 Richard Henderson <rth@cygnus.com>, Aldy <aldyh@cygnus.com>
5588
b8dad04b
ZW
5589 * config/mn10300/mn10300.h (PREFERRED_RELOAD_CLASS): Treat
5590 pseudos just like memory.
5e2c51ba 5591
c71e1201
AO
55922000-10-24 Alexandre Oliva <aoliva@redhat.com>
5593
5594 * combine.c (distribute_notes): Discard REG_LIBCALL and REG_RETVAL
5595 when deleting libcall sequence collapsed to a single instruction.
5596
5129d2ce
AH
55972000-10-24 Andrew Haley <aph@cygnus.co.uk>
5598
5599 * expr.c (do_store_flag): Don't crash if either side of a
5600 comparison is error_mark_node.
5601
f85b5d65
JJ
56022000-10-24 Jakub Jelinek <jakub@redhat.com>
5603
5604 * sibcall.c (purge_mem_unchanging_flag): New function.
5605 (optimize_sibling_and_tail_recursive_calls): Call it.
5606
4adee315
PT
56072000-10-24 Philipp Thomas <pthomas@suse.de>
5608
5609 * Makefile.in (check-po): New target for doing checks in the po
5610 subdir if all languages configured.
5611 (CHECK_TARGETS): Add @CHECK_PO@, replaced with check-po via
5612 configure if NLS is enabled.
5613 * configure.in: If NLS is enabled, substitute CHECK_PO by check-po,
5614 otherwise leave empty.
5615 * configure: Regenerate.
5616
fb204271
DN
56172000-10-23 Diego Novillo <dnovillo@cygnus.com>
5618
5619 * i386.c (print_operand): Handle new 'A' formatting code.
5620 387 opcodes need suffixes even with -mintel-syntax.
5621 Check for explicit size override (codes 'b', 'w' and 'k').
5622 (print_operand_address): Check if register prefix is needed when
5623 emitting `ds' segment override.
5624 * i386.h: Add comment about new 'A' formatting code.
5625 * i386.md (jump and call patterns): Emit absolute references using %A.
5626
8a959ea5
RH
56272000-10-23 Richard Henderson <rth@cygnus.com>
5628
b8dad04b 5629 * config/ia64/ia64.c (ia64_expand_prologue): Mark extra
8a959ea5
RH
5630 output registers as fixed.
5631 (ia64_function_epilogue): Undo output fixation.
5632
964686de
RH
56332000-10-23 Richard Henderson <rth@cygnus.com>
5634
5635 * config/alpha/alpha.md: Add names for all unnamed insns; use
5636 define_insn_and_split in some obvious places.
5637 (lda): Remove.
5638 (zero_extendqihi2): Use an expander w/ nonimmediate_operand for BWX.
5639 (zero_extendqisi2, zero_extendqidi2): Likewise.
5640 (zero_extendhisi2, zero_extendhidi2): Likewise.
5641 (abs splitters): Fix match_scratch operand number.
5642 (bcc_reverse): Swap pc & label instead of non-canonical compare.
5643
18a3c539
JW
56442000-10-23 Jim Wilson <wilson@cygnus.com>
5645
5646 * ia64.c (ia64_print_operand, case 'r'): Correct comment. Handle
5647 CONST_INT.
5648 * ia64.md (cmpsi_adjusted): Use %r3.
5649 (cmpdi_adjusted): Likewise.
5650
57dd137f
DN
56512000-10-23 Diego Novillo <dnovillo@cygnus.com>
5652
5653 * config/i386/att.h (ASM_FILE_START): Define.
5654
d984704d
DN
56552000-10-23 Diego Novillo <dnovillo@cygnus.com>
5656
5657 * config/i386/linux.h (ASM_FILE_START): Define.
5658
261f21e7
DL
5659Wed Oct 18 11:16:40 2000 Donald Lindsay <dlindsay@cygnus.com>
5660
5661 * gcc/configure.in: m68k-coff tm_file should not have libgloss.h,
5662 since this (only) drags in a crt0.o reference that the .ld files
5663 also introduce.
5664
96af667a
GK
56652000-10-23 Geoff Keating <geoffk@cygnus.com>
5666
2af88768
GK
5667 * reload1.c (reload_reg_reaches_end_p): A RELOAD_OTHER can
5668 overwrite the value in a RELOAD_FOR_INPUT and other kinds of
5669 reloads just like an RELOAD_FOR_OUTPUT would.
5670
96af667a
GK
5671 * local-alloc.c (update_equiv_regs): Add an abort(). When
5672 deleting or moving insns, update reg_equiv[regno].init_insns.
5673
d252a515
MM
56742000-10-23 Mark Mitchell <mark@codesourcery.com>
5675
5676 * c-tree.texi: Improve documentation for IF_STMTs and related
5677 conditional statements.
5678
f9808f81
MM
56792000-10-22 Mark Mitchell <mark@codesourcery.com>
5680
5681 * expr.c (do_preexpand_calls): Remove.
5682 (same_from_p): Don't use CALL_EXPR_RTL.
5683 (expand_expr): Don't call preexpand_calls, or use CALL_EXPR_RTL.
5684 (preexpand_calls): Remove.
5685 * tree.c (first_rtl_op): Remove CALL_EXPR case.
5686 (unsave_expr_1): Likewise.
5687 * tree.def (CALL_EXPR): Give it only two slots.
5688 * tree.h (CALL_EXPR_RTL): Remove.
5689
ae4bd622
CC
56902000-10-21 Chandrakala Chavva <cchavva@redhat.com>
5691
5692 * libgcc-std.ver (__addvsi3, __addvdi3, __subvsi3, __subvdi3,
b8dad04b
ZW
5693 __mulvsi3, __negvsi2, __negvdi2, __absvsi2, __absvdi2, __mulvdi3):
5694 New functions.
ae4bd622 5695
3e555c7d
AO
56962000-10-22 Alexandre Oliva <aoliva@redhat.com>
5697
5698 * calls.c (combine_pending_stack_adjustment_and_call): Don't
5699 adjust stack when unadjusted_alignment ends up as zero.
5700
99bdaa68
JM
57012000-10-22 Joseph S. Myers <jsm28@cam.ac.uk>
5702
5703 * fixinc/genfixes: Remove EGCS reference.
5704 * install.texi: Remove EGCS reference.
5705 * INSTALL: Regenerate.
5706
e36308b0
MM
57072000-10-22 Mark Mitchell <mark@codesourcery.com>
5708
5709 * tree.h (TYPE_IS_SIZETYPE): Add more documentation.
5710
bf6eb15f
JM
57112000-10-21 Joseph S. Myers <jsm28@cam.ac.uk>
5712
5713 * diagnostic.c: Remove EGCS reference in comment.
5714
e62ff0c3
RK
5715Sat Oct 21 08:24:25 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
5716
5717 * loop.c (strength_reduce): Fix error in last change.
5718
0ad7574f
DE
57192000-10-20 David Edelsohn <edelsohn@gnu.org>
5720
5721 * Makefile.in (SHLIB_NM_FLAGS): New.
5722 (libgcc.mk): Pass it.
5723 * mklibgcc.in (libgcc.map): Use it.
5724
5725 * rs6000/t-aix43 (SHLIB_EXT, SHLIB_LINK, SHLIB_LIBS,
5726 SHLIB_MKMAP, SHLIB_MAPFILES, SHLIB_NM_FLAGS): New.
5727
8f54374e
KG
57282000-10-20 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
5729
5730 * mips.h (REG_CLASS_FROM_LETTER): Cast array arg to unsigned char.
5731
5732 * sparc.c (load_pic_register): Delete unused varaible.
5733
5734 * libgcc2.c (__addvsi3): Delete unused variable.
5735
5736 * libgcc2.h (__absvsi2, __absvdi2, __addvsi3, __addvdi3,
5737 __subvsi3, __subvdi3, __mulvsi3, __mulvdi3, __negvsi2,
5738 __negvdi2): Prototype.
5739
5740 * ssa.c (apply_delayed_renames): Avoid undefined operation.
5741
5742 * toplev.c (display_target_options): Make static to match
5743 prototype. Delete empty declaration.
5744
3f568531
TT
57452000-10-20 Tom Tromey <tromey@cygnus.com>
5746
5747 * cppspec.c (DEFAULT_WORD_SWITCH_TAKES_ARG): Added -MF and -MT.
5748 * gcc.c (DEFAULT_WORD_SWITCH_TAKES_ARG): Added -MF and -MT.
5749
235783d1
RK
5750Fri Oct 20 17:05:49 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
5751
5752 * expr.c (expand_expr, case SAVE_EXPR): Set RTX_UNCHANGING_P on
5753 returned MEM.
5754 (expand_expr_unaligned, case ARRAY_REF): Check that index is
5755 a constant before comparing it; use tree_low_cst.
5756 * tree.c (save_expr): Set TREE_READONLY.
5757 (substitute_expr): Return inside of NON_LVALUE_EXPR.
5758 (build, build1): Set TREE_READONLY if all operands are.
5759 (build_index_type): If upper bound is a negative number, lower
5760 bound is zero and sizetype is unsigned, use upper bound of one and
5761 lower of zero.
5762
2e44948d
DE
57632000-10-20 David Edelsohn <edelsohn@gnu.org>
5764
5765 * gcc.c (process_command, main): Use "because" instead of
5766 "since" in error messages.
5767
44475138
RK
5768Fri Oct 20 13:33:16 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
5769
382110c0
RK
5770 * stor-layout.c (compute_record_mode): Use tree_low_cst.
5771 Don't use mode of field for record unless sizes are the same.
5772 (layout_type, case ARRAY_TYPE): Remove special bounds handling
5773 previously added for Ada; also change to using host_integerp
5774 and tree_low_cst.
5775
1dcdb0df
RK
5776 * loop.c (strength_reduce): Show when new register made for
5777 giv is known to be a pointer and its aligment if so and known.
5778 (loop_dump_aux): Show VERBOSE parameter unused.
5779
ebb13e7e
RK
5780 * gcse.c (set_hash_table_size): Now unsigned.
5781 * sdbout.c (template_name_p): Add "const" to avoid warnings.
5782 (sdbout_record_type_name, plain_type_1, sdbout_symbol): Likewise.
5783 (sdbout_one_type, sdbout_parms, sdbout_reg_parms): Likewise.
5784 (sdbout_end_epilogue): Remove variable NAME.
5785 * system.h (getopt): Add default definition.
5786 * config/alpha/alpha.c (print_operand): Don't continue processing
5787 after issuing error.
5788 (summarize_insn): Avoid use of UL in constant.
5789
1468899d
RK
5790 * function.c (locate_and_pad_parm): Use host_integerp and tree_low_cst.
5791
44475138
RK
5792 * fold-const.c (force_fit_type): Unsigned values can overflow
5793 if they are sizetype.
5794 (int_const_binop): Don't use cache if overflows.
391db8c9 5795
23ccfa6d
RH
57962000-10-20 Richard Henderson <rth@cygnus.com>
5797
5798 * function.c (locate_and_pad_parm): Zero alignment_pad.
5799
4ca0f257
RH
5800 * regrename.c (rr_replace_reg): Rewrite to use recog_data to
5801 perform substitutions, and apply_change_group to see if it worked.
5802
0345195a
RK
5803Fri Oct 20 13:33:16 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
5804
d57e164f
RK
5805 * dwarf2out.c (add_bound_info): Also ignore COND_EXPR.
5806
0345195a
RK
5807 * combine.c (struct undo): Change int to unsigned int.
5808 (do_SUBST_INT): Args are unsigned int.
5809 (make_extraction, force_to_mode): Use proper type when forming mask.
5810 (make_field_assignment): Likewise.
5811
2f74f7e9
JM
58122000-10-20 Joseph S. Myers <jsm28@cam.ac.uk>
5813
5814 * c-common.c (check_format_info_recurse): Extract string constant
5815 initializers from non-volatile constant arrays and check them as
5816 formats.
5817 * c-typeck.c (decl_constant_value): Don't check pedantic or check
5818 for DECL_MODE (decl) != BLKmode.
5819 (decl_constant_value_for_broken_optimization): New function which
5820 includes these checks.
5821 (default_conversion, convert_for_assignment, digest_init): Use
5822 decl_constant_value_for_broken_optimization instead of
5823 decl_constant_value.
5824
971774bb
MM
58252000-10-20 Mark Mitchell <mark@codesourcery.com>
5826
5827 * tree.h (DECL_ALIGN_UNIT): New macro.
5828
afee2a52
MM
58292000-10-14 Marek Michalkiewicz <marekm@linux.org.pl>
5830
5831 * config/avr/avr-protos.h (avr_output_bld): New.
5832 (out_shift_with_cnt): Add t_len argument.
5833 * config/avr/avr.c (avr_num_arg_regs): Remove -mpack-args.
5834 (output_movqi, output_movhi, output_movsisf): Optimize loading
5835 any constant with exactly one bit set to NO_LD_REGS.
5836 (out_shift_with_cnt): Optimize output code for size or speed,
5837 depending on optimize_size. Handle small shift counts as well
5838 (if not hand-optimized in ?sh??i3_out). Shifts can be done
5839 with or without a scratch register, with help of __tmp_reg__
5840 or __zero_reg__ if necessary. Add T_LEN argument to pass the
5841 length of TEMPLATE in words, return total insn length in *LEN.
5842 (ashlqi3_out, ashrqi3_out, lshrqi3_out): Change all calls to
5843 out_shift_with_cnt to work with the above change.
5844 (ashlhi3_out, ashlsi3_out, ashrhi3_out, ashrsi3_out, lshrhi3_out,
5845 lshrsi3_out): Likewise. Optimize more known shift count cases.
5846 Remove cases already well optimized in out_shift_with_cnt.
5847 (avr_output_bld): New function.
5848 * config/avr/avr.h (MASK_PACK_ARGS, TARGET_PACK_ARGS): Remove.
5849 (TARGET_SWITCHES): Remove -mpack-args backward compatibility.
5850 * config/avr/avr.md (*reload_inqi, *reload_inhi, *reload_insi):
5851 Add reload_completed to insn condition - only for peepholes.
5852 (ashlqi3, ashrqi3, lshrqi3): Correct insn length for shift counts
5853 in a register or memory.
5854 (ashlhi3, ashlsi3, ashrhi3, ashrsi3, lshrhi3, lshrsi3): Likewise.
5855 Do not require a scratch register.
5856 (*ashlhi3_const, *ashlsi3_const, *ashrhi3_const, *ashrsi3_const,
5857 *lshrhi3_const, *lshrsi3_const): New insns and matching peepholes.
5858 Optimize shifts by known count using a scratch register, but only
5859 if one is still available after register allocation.
5860
831f9339 58612000-10-20 J. David Anglin <dave@hiauly1.hia.nrc.ca>
b8dad04b 5862
831f9339
DA
5863 * t-vax: New file. Don't build modules from libgcc1.c.
5864
bf6d9fd7
JW
5865Fri Oct 20 00:57:00 EDT 2000 John Wehle (john@feith.com)
5866
5867 * alias.c: (mark_constant_function): Don't check pure functions.
5868 Initialize and end alias analysis.
5869 (nonlocal_mentioned_p): Rename from nonlocal_reference_p.
5870 Don't make a special exception for recursion. Handle
5871 UNSPEC_VOLATILE. Don't assume ASM_OPERANDS is non-local
5872 unless it's volatile.
5873
5874 * local-alloc.c (equivalence): New structure.
5875 (reg_equiv): Define.
5876 (contains_replace_regs): Remove array and use
5877 field in reg_equiv.
5878 (memref_referenced_p): Likewise.
5879 (no_equiv): Likewise.
5880 (update_equiv_regs): Likewise.
5881
5882 (equiv_init_varies_p,
5883 equiv_init_movable_p): New functions.
5884 (update_equiv_regs): Use them. Use rtx_varies_p
5885 instead of function_invariant_p. Process insns
5886 from end to beginning. Allow a REG_EQUIV insn
5887 within the same loop as a use to be moved, also
5888 allow it to be moved out of a loop. Update
5889 REG_DEAD notes when substituting into an insn.
5890
ef375129
JW
58912000-10-19 Jim Wilson <wilson@cygnus.com>
5892
f4fce7ed
JW
5893 * c-decl.c (start_decl): Check for error_mark_node type before using
5894 COMPLETE_TYPE_P.
5895 (finish_decl): Likewise. Don't give an error if decl type is
5896 already error_mark_node.
5897
ef375129
JW
5898 * haifa-sched.c (compute_trg_info): Add explanatory comments.
5899 New local update_blocks. Use update_blocks to remove duplicates
5900 when computing update blocks. Check for bblst_table overflow.
5901 (schedule_block): Add explanatory comment. Reduce bblst_size by
5902 factor of 2.
5903 * config/ia64/ia64.md (movdi_symbolic): Document loss of REG_LABEL
5904 notes.
b8dad04b 5905
3cf37281
CC
59062000-10-19 Chandrakala Chavva <cchavva@redhat.com>
5907
5908 * libgcc2.c (_mulvsi3): Change variables u and v to a and b.
5909
e6b4d09d
CC
59102000-10-19 Chandrakala Chavva <cchavva@redhat.com>
5911
5912 * expmed.c: Minor corrections in comments.
5913 * invoke.texi: Added desciption for the new option -ftrapv.
5914
3d2adde6
CC
59152000-10-19 Chandrakala Chavva <cchavva@redhat.com>
5916
5917 * libgcc2.c: Added the missing #endif.
5918
1aa9fd24
JH
5919Thu Oct 19 14:25:11 MET DST 2000 Jan Hubicka <jh@suse.cz>
5920
5921 * i386.h (CONST_OK_FOR_LETTER): Re-add 'N'; document.
5922
91ce572a
CC
59232000-10-18 Chandrakala Chavva <cchavva@redhat.com>
5924
b8dad04b
ZW
5925 * expmed.c (expand_mult): Don't do synth_mult optimization for -ftrapv.
5926 Use smulv_optab for -ftrapv.
5927 (expand_mult_highpart): Use unsigned multiply.
5928 (expand_divmod): Special-case division by -1.
5929 For EXACT_DIV_EXPR, do right shift first, then the multiply.
5930 For complex divide, use abs with unsigned result.
5931 * expr.c (force_operand): Use unsigned multiply.
5932 (expand_expr): Use overflow-trapping optabs for signed types if
5933 flag_trapv.
5934 If flag_trapv, don't generate a recursive call with EXPAND_SUM
5935 if the type is signed and the original call wasn't EXPAND_SUM or
5936 EXPAND_INITIALIZER.
5937 * expr.h (addv_optab, subv_optab, smulv_optab, sdivv_optab): Declare.
5938 (negv_optab, absv_optab): Declare.
5939 * flags.h (flag_trapv): Declare.
5940 * genopinit.c (optabs): Add entries for addv_optab, subv_optab,
5941 smulv_optab, sdivv_optab, negv_optab and absv_optab.
91ce572a 5942 (gen_insn): Interpret '$P' as requiring an integer mode,
b8dad04b
ZW
5943 including partial integer modes.
5944 * loop.c (emit_iv_add_mult): Use unsigned expand_mult_add.
5945 (product_cheap_p): Use unsigned expand_mult.
5946 * optabs.c (addv_optab, subv_optab, smulv_optab, sdivv_optab): Define.
5947 (negv_optab, absv_optab): Define.
5948 (expand_binop): Use overflow-trapping optabs for signed types if
5949 flag_trapv.
5950 Handle negv_optab libe neg_optab.
5951 (expand_abs): Take result_unsignedp argument instead of unsignedp one.
5952 Use overflow-trapping optabs for signed result if flag_trapv.
5953 (expand_complex_abs): Use overflow-trapping optabs for signed types if
5954 flag_trapv.
5955 Don't open-code complex absolute-value operation for flag_trapv.
5956 (init_optabs): Initialize addv_optab, subv_optab, smulv_optab,
5957 sdivv_optab, negv_optab and absv_optab.
5958 * toplev.c (flag_trapv): Define.
5959 (lang_independent_options f_options): Include flag_trapv.
5960 * tree.h (TYPE_TRAP_SIGNED): Define.
5961 * libgcc2.c (__addvsi3, __addvdi3, __subvsi3,__subvsi3, __subvdi3,
5962 __mulvsi3, __negvsi2, __negvdi2, __absvsi2, __absvdi2, __mulvdi3):
5963 New functions.
5964 * Makefile.in: add _absvsi2 _absvdi2 _addvsi3 _addvdi3 _subvsi3
5965 _subvdi3 _mulvsi3 _mulvdi3 _negvsi2 _negvdi2.
91ce572a 5966
4c2c5712
GK
59672000-10-18 Geoffrey Keating <geoffk@cygnus.com>
5968 David V. Henkel-Wallace <gumby@cygnus.com>
5969
5970 * config/i386/t-netware: Bring in from the Red Hat tree.
5971 * config/i386/netware.h: Likewise.
5972 * config/netware.h: Likewise.
5973 * config/rs6000/netware.h: Delete.
5974 * configure.in: Add i[34567]86-*-netware.
5975 * configure: Hand-edit to match configure.in change.
5976
6bcedb4e
MM
59772000-10-18 Mark Mitchell <mark@codesourcery.com>
5978
5979 * c-common.h (flag_no_builtin): Declare.
5980 (flag_no_nonansi_builtin): Likewise.
5981 (c_common_nodes_and_builtins): Change prototype.
5982 * c-common.c (flag_no_builtin): New variable.
5983 (flag_no_nonansi_builtin): Likewise.
5984 (c_common_nodes_and_builtins): Remove parameters. Adjust
5985 accordingly.
5986 * c-decl.c (flag_no_builtin): Remove.
5987 (flag_no_nonansi_builtin): Likewise.
5988 (init_decl_processing): Adjust call to
5989 c_common_nodes_and_builtins.
b8dad04b 5990
989b26a7
ME
59912000-10-18 Marc Espie <espie@openbsd.org>
5992
5993 * tm.texi (LIBGCC_SPEC): Synch with reality.
5994
81cf47b2
JM
59952000-10-18 Joseph S. Myers <jsm28@cam.ac.uk>
5996
5997 * c-common.c (check_format_types): Check for writing through a
5998 NULL pointer argument.
5999
27c35f4b
HPN
60002000-10-18 Hans-Peter Nilsson <hp@axis.com>
6001
6002 * tm.texi (Exception Region Output): Document
6003 DWARF_CIE_DATA_ALIGNMENT.
6004 * dwarf2out.c (DWARF_CIE_DATA_ALIGNMENT): Wrap definition in
6005 #ifndef.
6006 [ENABLE_CHECKING] (reg_save): Abort if offset is not a multiple of
6007 DWARF_CIE_DATA_ALIGNMENT.
6008
4a7da9b5
MH
60092000-10-18 Michael Hayes <mhayes@cygnus.com>
6010
6011 * basic-block.h (struct loop): Delete fields pre_header_root
6012 and pre_header_trace and replace with pre_header_edges
6013 and num_pre_header_edges.
6014 * flow.c (flow_loop_dump): Dump pre_header_edges.
6015 (flow_loops_free): Free pre_header_edges.
6016 (flow_loop_pre_header_scan): Calculate pre_header_edges.
6017
42c10750
GP
60182000-10-18 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
6019
6020 * contrib.texi: Update references to steering committee members
6021 and Jeff Law's entry.
6022
ade7d3cc
JM
60232000-10-18 Joseph S. Myers <jsm28@cam.ac.uk>
6024
6025 * c-common.c (CPLUSPLUS_STD_VER, C_STD_VER, C_STD_NAME): Define.
6026 (maybe_read_dollar_number, check_format_info_main): Use them for
6027 pedantic warning messages.
6028
c5251260
JM
60292000-10-18 Joseph S. Myers <jsm28@cam.ac.uk>
6030
6031 * c-common.c (check_format_info_main): Minor cleanup: move
6032 variables into inner scopes; initialize declarations where
6033 appropriate; don't hardcode "scanf" name on warning for zero
6034 width.
6035
67673f5c
MM
60362000-10-17 Mark Mitchell <mark@codesourcery.com>
6037
6038 * c-common.c (back_end_hook): New variable.
6039 * c-common.h (back_end_hook): Declare it.
6040 * c-lang.c (finish_file): Use it.
6041
6042 * emit-rtl.c (init_emit_once): Initialize the const_int_htab
6043 earlier.
b8dad04b 6044
1aa9fd24 60452000-10-18 Jan Hubicka <jh@suse.cz>
265dab10 6046
b8dad04b
ZW
6047 * i386.c (ix86_comparison_operator, put_condition_code,
6048 ix86_match_ccmode, ix86_cc_mode): Handle CCRCmode.
6049 (ix86_expand_strlensi_unroll_1): Use CCRCmode.
6050 * i386.h (EXTRA_CC_MODES): Add CCRCmode.
6051 * i386.md (adddi and negdi splitter): Use CCRCmode.
6052 (add?i_3, add?i_4, add?i_5): Use CCRCmode; swap operands
6053 (subsi3_carry): add '*'
6054 (addsi3_carry_rc, subsi3_carry_rc, x86_movsicc_0_m1_rc): New.
6055 (cmp to add peep2): Use CCRCmode; swap operands.
265dab10 6056
b054460b
KH
60572000-10-18 Kazu Hirata <kazu@hxi.com>
6058
8682223f
KH
6059 * h8300.c: Fix a comment typo.
6060 (round_frame_size): New.
6061 (compute_saved_regs): Likewise.
6062 (push): Likewise.
6063 (pop): Likewise.
6064 (push_order): Remove.
6065 (pop_order): Likewise.
6066 (function_prologue): Rearrange code for readability.
6067 (function_epilogue): Likewise.
6068
b054460b
KH
6069 * config/h8300/h8300.md: Remove an unnecessary sign_extend
6070 expander that is used when not optimizing. Output a tab after
6071 each assembly insns.
6072
f27e6bb2
KH
6073 * reorg.c: Fix formatting.
6074
19ca869b
JR
60752000-10-17 Joern Rennecke <amylaar@redhat.co.uk>
6076
6077 * reload1.c (move2add_note_store): Check for simple
6078 auto-inc in destination.
6079
2ddb1ca1
MC
60802000-10-17 Michael Chastain <chastain@redhat.com>
6081
6082 * config/i386/i386-aout.h: define INT_ASM_OP.
6083
11881f37
AM
6084Tue Oct 17 20:11:08 2000 Alan Modra <alan@linuxcare.com.au>
6085
6086 * pa.c (print_operand): Handle case 'c' for .vtable_inherit
6087
33e39e38
MB
6088Tue Oct 17 20:05:51 2000 Martin Buchholz <martin@xemacs.org>
6089
6090 * i370.md: Fix spelling typo.
6091
832ea3b3
FS
60922000-10-17 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
6093
6094 * function.c (locate_and_pad_parm): Don't align stack unconditionally.
2b7fb034 6095 Fixes execute/20001017-1.c on powerpc-linux-gnu.
832ea3b3
FS
6096
6097 * expr.c (store_constructor): Apply MEM_ALIAS_SET to MEMs only.
2b7fb034 6098 * rs6000/rs6000.c (rs6000_hash_constant): Use X0INT to access a
832ea3b3
FS
6099 LABEL_REF.
6100
6101 * rs6000/rs6000.h (NO_DOLLAR_IN_LABEL, DOLLARS_IN_IDENTIFIERS,
6102 ENCODE_SECTION_INFO, ASM_OUTPUT_SPECIAL_POOL_ENTRY_P): Move from
6103 here...
6104 * rs6000/aix.h: ...to here.
6105 * rs6000/linux.h (ASM_APP_ON, ASM_APP_OFF): Define to Linux-style.
6106
4c646291
JJ
61072000-10-17 Jakub Jelinek <jakub@redhat.com>
6108
6109 * config/alpha/alpha.h (ASM_OUTPUT_MI_THUNK): Reload gp if needed.
6110
6111 * config/sparc/sparc.h (ASM_OUTPUT_MI_THUNK): Always use call, make
6112 sure linker can relax even the delay slot mov %g1,%o7, fix output
6113 formating.
6114
07e0fe3d
KH
61152000-10-17 Kazu Hirata <kazu@hxi.com>
6116
6117 * config/h8300/h8300.md: Remove an unnecessary zero_extend
6118 expander that is used when not optimizing. Output a tab after
6119 each assembly insns.
6120
10501d8f
CC
61212000-10-17 Chandrakala Chavva <cchavva@redhat.com>
6122
6123 * gcc.c: New options --target-help.
6124 (process_command): Added code to parse this new option.
6125 * toplev.c (display_target_options): New function to support the
6126 above new option.
6127 * cppinit.c (new_pending_directive) : New option OPT_target__help.
6128 (cpp_handle_option): Support this new option.
6129 * invoke.texi: Added notes about --target-help option.
b8dad04b 6130
c330e9c1 61312000-10-17 Graham Stott <grahams@redhat.com>
b8dad04b 6132
c330e9c1
GS
6133 * config/i386/i386.md (testqi_1): Add missing operand prefix
6134 for operand 0.
6135 * config/i386/i386-protos.h: Add missing prototype.
b8dad04b 6136
69ac4831
DN
61372000-10-17 Diego Novillo <dnovillo@cygnus.com>
6138
6139 * config/i386/unix.h (ASM_OUTPUT_MI_THUNK): Symbol
6140 _GLOBAL_OFFSET_TABLE should not have a $ prefix when
6141 using -mintel-syntax.
6142
b691cb00
JM
61432000-10-17 Joseph S. Myers <jsm28@cam.ac.uk>
6144
6145 * c-common.c (FMT_FLAG_DOLLAR_MULTIPLE): Define.
6146 (format_types): Use it for printf.
6147 (maybe_read_dollar_number): Add parameter for the kind of format
6148 involved. Warn for multiple use for arguments if this is
6149 inappropriate for the kind of format involved.
6150 (check_format_info_main): Update calls to maybe_read_dollar_number.
6151
948eab23
DA
61522000-10-17 J. David Anglin <dave@hiauly1.hia.nrc.ca>
6153
6154 * inclhack.def (hpux_maxint): Also apply fix to values.h.
6155 * fixincl.x: Rebuilt.
6156
1651ab85
AO
61572000-10-17 Alexandre Oliva <aoliva@redhat.com>
6158
6159 * genrecog.c (write_switch): Return the first condition that needs a
6160 label.
6161
2683ed8d
BS
61622000-10-17 Bernd Schmidt <bernds@redhat.co.uk>
6163
6164 * c-tree.h (warn_sequence_point): Move declaration to...
6165 * c-common.h (warn_sequence_point): ... here.
6166 * c-decl.c (warn_sequence_point): Move definition to...
6167 * c-common.c (warn_sequence_point): ... here.
6168 (struct reverse_tree): New.
6169 (reverse_list, reverse_max_depth): New static variables.
6170 (build_reverse_tree, common_ancestor, modify_ok
6171 verify_sequence_points): New functions.
6172 (c_expand_expr_stmt): Call verify_sequence_points if -Wsequence-point.
6173 * c-typeck.c (check_modify_expr): Delete.
6174 (build_modify_expr): Don't call it.
6175
74ff4629
JM
61762000-10-17 Joseph S. Myers <jsm28@cam.ac.uk>
6177
6178 * c-common.h (warn_missing_format_attribute): New variable.
6179 * c-decl.c (warn_missing_format_attribute): New variable.
6180 (c_decode_option): Decode -Wmissing-format-attribute and
6181 -Wno-missing-format-attribute.
6182 * c-common.c (check_function_format): If
6183 -Wmissing-format-attribute, give a warning where a vprintf or
6184 vscanf function is called by a function without its own printf or
6185 scanf attribute.
6186 * toplev.c (documented_lang_options): Add
6187 -Wmissing-format-attribute.
6188 * invoke.texi: Document -Wmissing-format-attribute.
6189
1d3b0e2c
ME
61902000-10-17 Marc Espie <espie@openbsd.org>
6191
6192 * invoke.texi (-shared): Insist on requiring code generation flags
6193 to be used along with -shared, and document the subtle failure that
6194 may occur otherwise.
6195
1c217171
DA
61962000-10-16 J. David Anglin <dave@hiauly1.hia.nrc.ca>
6197
6198 * pa.md (return_internal): Move `use' after `return'.
6199
11f3dc89
TP
62002000-10-16 Theodore Papadopoulo <Theodore.Papadopoulo@sophia.inria.fr>
6201
6202 * machmode.def: Correct comment.
6203
0952f89b
RB
62042000-10-16 Rodney Brown <RodneyBrown@mynd.com>
6205
47c10e9b
RB
6206 * print-rtl.c (print_rtx_head): Constify.
6207 * rtl.h (print_rtx_head): Similarly.
6208
0952f89b
RB
6209 * config/pa/pa/pa-protos.h (output_64bit_and, output_64bit_ior):
6210 Constify char * return value.
6211 * config/pa/pa/pa.c
6212 (output_64bit_and, output_64bit_ior): Constify char * return value.
6213 (pa_can_combine_p): Make static.
6214 (function_arg): Decorate unused `named' argument. Fix comment typo.
6215 (function_arg_partial_nregs): Decorate unused `named' argument.
6216
6d2e1454
JM
62172000-10-16 Joseph S. Myers <jsm28@cam.ac.uk>
6218
6219 * c-common.c (format_check_results): New structure.
6220 (finish_dollar_format_checking): Adjust to take a
6221 format_check_results * parameter.
6222 (check_format_info, check_format_info_recurse,
6223 check_format_info_main): Split check_format_info into three
6224 functions, the main checking going in check_format_info_main.
6225 Recurse when any reduction of the format string argument towards a
6226 string literal is done; go down both branches of a conditional
6227 expression. Don't warn for extra format arguments or empty format
6228 strings if they only occur in some branches of a conditional
6229 expression.
6230
4d231df7
KH
62312000-10-16 Kazu Hirata <kazu@hxi.com>
6232
f2a9645f 6233 * config/h8300/h8300.c: Remove obstack. Include ggc.h.
4d231df7 6234
55143861
JJ
62352000-10-16 Jakub Jelinek <jakub@redhat.com>
6236
6237 * rtlanal.c (may_trap_p): Check operand modes of COMPARE.
6238
406df25c
DN
62392000-10-15 Diego Novillo <dnovillo@cygnus.com>
6240
6241 * i386.md (*movsi_or): Switch operand order for intel syntax.
6242
e8beb821
JM
62432000-10-14 Joseph S. Myers <jsm28@cam.ac.uk>
6244
2f6256e7
JM
6245 * PROBLEMS: Remove.
6246
e8beb821
JM
6247 * gcc.texi (Contributing): Update.
6248
c1f9de5a
DN
62492000-10-13 Diego Novillo <dnovillo@cygnus.com>
6250
6251 * config/i386/unix.h (ASM_OUTPUT_MI_THUNK): Output final jump using
6252 appropriate assembler dialect.
6253
f58e0b0c
AO
62542000-10-13 Alexandre Oliva <aoliva@redhat.com>
6255
6256 * c-common.c (c_expand_builtin): PARAMS-ize prototype.
6257
08f81276
MM
62582000-10-12 Marek Michalkiewicz <marekm@linux.org.pl>
6259
6260 * config/avr/avr.c (output_movhi, output_movsisf): Fix loading
6261 constants 1 and 2 to NO_LD_REGS.
6262
4b945402
KG
62632000-10-13 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
6264
6265 * Makefile.in (c-parse.c, tradcif.c): Create atomically.
b8dad04b 6266
4b945402
KG
6267 * objc/Make-lang.in (objc-parse.c): Likewise.
6268
c7319d87
RE
62692000-10-13 Richard Earnshaw <rearnsha@arm.com>
6270
6271 * arm.c: Include obstack.h
6272 (minipool_obstack, minipool_startobj): Define.
6273 (arm_add_gc_roots): Initialize them.
6274 (create_fix_barrier): Use our new obstack.
6275 (push_minipool_barrier, push_minipool_fix): Likewise.
6276 (arm_reorg): Release obstack memory.
6277
fccf9848
JJ
62782000-10-13 Jakub Jelinek <jakub@redhat.com>
6279
6280 * config/sparc/sparc.md (nonlocal_goto_receiver): Remove.
6281 (prologue, exception_receiver, builtin_setjmp_receiver): New
6282 patterns.
6283 * config/sparc/sparc.h (FINALIZE_PIC): Remove.
6284 * config/sparc/sparc-protos.h (finalize_pic): Remove.
6285 (load_pic_register): New prototype.
6286 * config/sparc/sparc.c (pic_setup_code): Remove.
6287 (finalize_pic): Rename to...
6288 (load_pic_register): ...this function.
6289 Don't look for nonlocal_goto_receivers and emit pic setup code
6290 directly. Don't check current_function_uses_pic_offset_table.
6291
7584b89f
RE
62922000-10-13 Richard Earnshaw <rearnsha@arm.com>
6293
6294 * tree.h (struct obstack): Declare.
6295
1f8f4a0b
MM
62962000-10-12 Mark Mitchell <mark@codesourcery.com>
6297
b8dad04b 6298 Remove obstacks.
1f8f4a0b 6299 * Makefile.in (ggc-callbacks.o): Remove target.
b8dad04b 6300 (flow.o): Depend on GGC_H.
1f8f4a0b
MM
6301 * alias.c (init_alias_analysis):
6302 Remove ggc_p conditionals.
b8dad04b 6303 (end_alias_analysis): Likewise.
1f8f4a0b 6304 * basic-block.h (init_flow): New function.
b8dad04b 6305 (allocate_reg_life_data): Declare.
1f8f4a0b
MM
6306 * bb-reorder.c (function_obstack): Replace with ...
6307 (flow_obstack): ... new variable.
b8dad04b 6308 (fixup_reorder_chain): Use it.
1f8f4a0b 6309 * c-decl.c (ggc_p): Remove.
b8dad04b 6310 (caller-save.c): Don't call oballoc/obfree.
1f8f4a0b
MM
6311 * combine.c (struct
6312 undobuf): Remove storage.
6313 (try_combine): Don't call oballoc.
b8dad04b 6314 (undo_all): Don't call obfree.
1f8f4a0b
MM
6315 * cse.c (insert): Use xmalloc, not
6316 oballoc.
b8dad04b 6317 (cse_main): Adjust accordingly.
1f8f4a0b
MM
6318 * dwarf2out.c (save_rtx): Remove
6319 obstack code.
b8dad04b 6320 (dwarf2out_init): Remove ggc_p conditionals.
1f8f4a0b
MM
6321 * emit-rtl.c (rtl_obstack): Remove.
6322 (gen_rtx_CONST_INT): Remove ggc_p conditionals.
6323 (make_insn_raw): Likewise.
6324 (emit_insn_before): Likewise.
6325 (emit_insn_after): Likewise.
6326 (emit_insn): Likewise.
6327 (gen_sequence): Likewise.
6328 (copy_insn_1): Remove handling of `b' RTL components.
b8dad04b 6329 (init_emit_once): Remove ggc_p conditionals.
1f8f4a0b
MM
6330 * except.c (create_rethrow_ref): Don't fool with obstacks.
6331 (add_partial_entry): Likewise.
6332 (call_get_eh_context): Likewise.
6333 (begin_protect_partials): Likewise.
b8dad04b 6334 (protect_with_terminate): Likewise.
1f8f4a0b 6335 * explow.c
b8dad04b 6336 (plus_constant_wide): Likewise.
1f8f4a0b
MM
6337 * expr.c (init_expr_once):
6338 Likewise.
6339 (emit_block_move): Likewise.
6340 (clear_storage): Likewise.
b8dad04b 6341 (expand_expr): Likewise.
1f8f4a0b
MM
6342 * flow.c (function_obstack): Remove.
6343 (flow_obstack): New variable.
6344 (flow_firstobj): Likewise.
6345 (create_base_block): Use the flow_obstack.
6346 (split_block): Likewise.
6347 (split_edge): Likewise.
6348 (calculate_global_regs_live): Likewise.
6349 (allocate_bb_life_data): Make it static. Likewiwse.
6350 (init_flow): New function.
b8dad04b 6351 (size_int_type_wide): Remove ggc_p conditionals.
1f8f4a0b
MM
6352 * function.c
6353 (push_function_context_to): Don't call save_tree_status.
6354 (pop_function_context_from): Or restore_tree_status.
6355 (assign_stack_local_1): Don't call push_obstacks.
6356 (find_fixup_replacement): Use xmalloc.
6357 (fixup_var_refs_insns): Free the storage.
6358 (insns_for_mem_walk): Don't mess with obstacks.
6359 (instantiate_decls): Likewise.
6360 (trampoline_address): Likewise.
b8dad04b 6361 (expand_function_end): Likewise.
1f8f4a0b
MM
6362 * function.h (sturct function):
6363 Remove obstack-related variables.
6364 (save_tree_status): Don't declare.
b8dad04b 6365 (restore_tree_status): Likewise.
1f8f4a0b 6366 * gcse.c (compute_can_copy):
b8dad04b 6367 Don't call oballoc/obfree.
1f8f4a0b
MM
6368 * genattrtab.c (operate_exp): Remove
6369 ggc_p conditionals.
6370 (simplify_cond): Likewise.
6371 (simplify_test_exp): Don't mess with obstacks.
b8dad04b 6372 (optimize_attrs): Likewise.
1f8f4a0b 6373 * gengenrtl.c (gendef): Don't include
b8dad04b
ZW
6374 ggc_p conditionals.
6375 * ggc-callbacks.c (ggc_p): Remove.
6376 * ggc-none.c (ggc_p): Remove.
6377 * ggc.h (ggc_p): Don't declare.
265dab10 6378 * integrate.c (save_for_inline): Don't mess with obstacks.
1f8f4a0b 6379 (integrate_decl_tree): Likewise.
b8dad04b 6380 (output_inline_function): Likewise.
1f8f4a0b 6381 * lists.c
b8dad04b 6382 (init_EXPR_INSN_LIST_cache): Likewise.
1f8f4a0b
MM
6383 * loop.c (temp_obstack):
6384 Remove.
6385 (rtl_obstack): Likewise.
6386 (init_loop): Don't mess with obstacks.
6387 (reg_address_cost): Free BIVs and GIVs.
6388 (check_insns_for_bivs): Use xmalloc, not oballoc.
6389 (find_mem_givs): Likewise.
6390 (record_biv): Likewise.
6391 (general_induction_var): Likewise.
b8dad04b 6392 (product_cheap_p): Likewse.
1f8f4a0b 6393 * optabs.c (init_one_libfunc): Remove
b8dad04b 6394 ggc_p conditional.
1f8f4a0b
MM
6395 * print-tree.c (debug_tree): Don't use
6396 oballoc/obfree.
b8dad04b 6397 (print_node): Likewise.
1f8f4a0b 6398 * profile.c (output_func_start_profiler):
b8dad04b 6399 Remove call to temporary_allocation.
1f8f4a0b 6400 * reload1.c
b8dad04b 6401 (eliminate_regs_in_insn): Don't mess with obstacks.
1f8f4a0b
MM
6402 * resource.c
6403 (mark_target_live_regs): Use xmalloc.
b8dad04b 6404 (free_resource_info): Free the memory.
1f8f4a0b
MM
6405 * rtl.c (rtl_obstack):
6406 Remove.
6407 (rtvec_alloc): Don't mess with obstacks.
6408 (rtx_alloc): Likewise.
6409 (rtx_free): Remove.
6410 (copy_rtx): Don't handle `b' cases.
b8dad04b 6411 (read_rtx): Use a local rtl_obstack.
1f8f4a0b
MM
6412 * rtl.h (oballoc): Remove.
6413 (obfree): Likewise.
6414 (pop_obstacks): Likewise.
6415 (push_obstacks): Likewise.
6416 (allocate_bb_life_data): Likewise.
6417 (allocate_reg_life_data): Likewise.
b8dad04b 6418 (rtx_free): Likewise.
1f8f4a0b 6419 * sdbout.c (sdbout_queue_anonymous_type):
b8dad04b 6420 Use tree_cons, not saveable_tree_cons.
1f8f4a0b 6421 * simplify-rtx.c
b8dad04b 6422 (cselib_init): Don't mess with obstacks.
1f8f4a0b
MM
6423 * stmt.c
6424 (mark_block_nesting): Mark the label_chain.
6425 (epxand_label): Use ggc_alloc, not oballoc.
6426 (clear_last_expr): Don't mess with obstacks.
6427 (expand_decl_cleanup): Likewise.
6428 (expand_dcc_cleanup): Likewise.
6429 (expand_dhc_cleanup): Likewise.
6430 (expand_anon_union_decl): Likewise.
6431 (add_case_node): Use xmalloc, not oballoc.
6432 (free_case_nodes): New function.
b8dad04b 6433 (expand_end_case): Call it.
1f8f4a0b
MM
6434 * stor-layout.c (layout_type): Don't
6435 mess with obstacks.
b8dad04b 6436 (layout_type): Likewise.
1f8f4a0b
MM
6437 * toplev.c (wrapup_global_declarations):
6438 Likewise.
6439 (compile_file): Remove ggc_p conditionals.
6440 (rest_of_compilation): Call init_flow. Remove ggc_p conditionals.
b8dad04b 6441 (decode_f_option): Remove ggc_p conditionals.
1f8f4a0b
MM
6442 * tree.c
6443 (function_maybepermanent_obstack): Remove.
6444 (maybepermanent_obstack): Likewise.
6445 (function_obstack): Likewise.
6446 (tmeporary_obstack): Likewise.
6447 (momentary_obstack): Likewise.
6448 (temp_decl_obstack): Likewise.
6449 (saveable_obstack): Likewise.
6450 (rtl_obstack): Likewise.
6451 (current_obstack): Likewise.
6452 (expression_obstack): Likewise.
6453 (struct obstack_stack): Likewise.
6454 (obstack_stack): Likewise.
6455 (obstack_stack_obstack): Likewise.
6456 (maybepermanent_firstobj): Likewise.
6457 (temporary_firstobj): Likewise.
6458 (momentary_firstobj): Likewise.
6459 (temp_decl_firstobj): Likewise.
6460 (momentary_function_firstobj): Likewise.
6461 (all_types_permanent): Likewise.
6462 (struct momentary_level): Likewise.
6463 (momentary_stack): Likewise.
6464 (init_obstacks): Remove initialization of removed obstacks.
6465 (save_tree_status): Remove.
6466 (restore_tree_status): Likewise.
6467 (temporary_allocation): Liekwise.
6468 (end_temporary_allocation): Liekwise.
6469 (resume_temporary_allocation): Likewise.
6470 (saveable_allocation): Likewise.
6471 (push_obstacks): Likewise.
6472 (push_obstacks_nochange): Likewise.
6473 (pop_obstacks): Likewise.
6474 (allocation_temporary_p): Likewise.
6475 (permanent_allocation): Likewise.
6476 (preserve_data): Likewise.
6477 (preserve_initializer): Likewise.
6478 (rtl_in_current_obstack): Likewise.
6479 (rtl_in_saveable_obstack): Likewise.
6480 (oballoc): Likewise.
6481 (obfree): Likewise.
6482 (savealloc): Likewise.
6483 (expralloc): Likewise.
6484 (print_obstack_name): Likewise.
6485 (debug_obstack): Likewise.
6486 (object_permanent_p): Likewise.
6487 (push_momentary): Likewise.
6488 (perserve_momentary): Likewise.
6489 (clear_momentary): Likewise.
6490 (pop_momentary): Likewise.
6491 (pop_momentary_nofree): Likewise.
6492 (suspend_momentary): Likewise.
6493 (resume_momentary): Likewise.
6494 (make_node): Don't set TREE_PERMANENT.
6495 (copy_node): Remove ggc_p conditionals. Don't set TYPE_OBSTACK.
6496 Don't set TREE_PERMANENT.
6497 (get_identifier): Remove ggc_p conditionals.
6498 (build_string): Likewise.
6499 (make_tree_vec): Likewise.
6500 (build_decl_list): Remove.
6501 (build_expr_list): Likewise.
6502 (tree_cons): Remove ggc_p conditionals.
6503 (decl_tree_cons): Remove.
6504 (expr_tree_cons): Likewise.
6505 (perm_tree_cons): Likewise.
6506 (temp_tree_cons): Likewise.
6507 (saveable_tree_cons): Likewise.
6508 (build1): Remove ggc_p conditionals.
6509 (build_parse_node): Likewise.
6510 (build_type_attribute_variant): Don't mess with obstacks.
6511 (build_type_copy): Likewise.
6512 (type_hash_canon): Likewise.
6513 (build_pointer_type): Likewise.
6514 (build_reference_type): Likewise.
6515 (build_index_type): Likewise.
6516 (build_range_type): Likewise.
b8dad04b 6517 (dump_tree_statistics): Don't print obstack information.
1f8f4a0b
MM
6518 * tree.h
6519 (struct tree_common): Remove permanent_flag.
6520 (TREE_PERMANENT): Remove.
6521 (TREE_SET_PERMANENT): Likewise.
6522 (TYPE_OBSTACK): Likewise.
6523 (struct tree_type): Remove obstack.
6524 (oballoc): Remove.
6525 (savealloc): Likewise.
6526 (build_decl_list): Likewise.
6527 (build_expr_list): Likewise.
6528 (perm_tree_cons): Likewise.
6529 (temp_tree_cons): Likewise.
6530 (saveable_tree_cons): Likewise.
6531 (decl_tree_cons): Likewise.
6532 (expr_tree_cons): Likewise.
6533 (suspend_momentary): Likewise.
6534 (allocation_temporary_p): Likewise.
6535 (resume_momentary): Likewise.
6536 (push_obstacks_nochange): Likewise.
6537 (permanent_allocation): Likewise.
6538 (push_momentary): Likewise.
6539 (clear_momentary): Likewise.
6540 (pop_momentary): Likewise.
6541 (end_temporary_allocation): Likewise.
6542 (pop_obstacks): Likewise.
6543 (push_obstacks): Likewise.
6544 (pop_momentary_nofree): LIkewise.
6545 (preserve_momentary): Likewise.
6546 (saveable_allocation): Likewise.
6547 (temporary_allocation): Likewise.
6548 (resume_temporary_allocation): Likewise.
6549 (perserve_initializer): Likewise.
6550 (debug_obstack): Likewise.
6551 (rtl_in_current_obstack): Likewise.
6552 (rtl_in_saveable_obstack): Likewise.
b8dad04b 6553 (obfree): Likewise.
1f8f4a0b
MM
6554 * varasm.c (current_obstack): Remove.
6555 (saveable_obstack): Remove.
6556 (rtl_obstack): Remove.
6557 (immed_double_const): Don't mess with obstacks.
6558 (immed_real_cons): Likewise.
6559 (output_constant_def): Likewise.
6560 (init_varasm_status): Use xcalloc.
6561 (mark_pool_constant): Mark the pool constant itself.
6562 (free_varasm_status): Free memory.
6563 (decode_rtx_const): Call bzero directly, rather than expanding it
6564 inline.
6565 (record_rtx_const): Don't mess with obstacks.
6566 (force_const_mem): Likewise.
6567 * config/arm/arm.c (arm_encode_call_attribute): Remove ggc_p
6568 conditionals.
6569 (aof_pic_entry): Likewise.
6570 * config/ia64/ia64.c (ia64_encode_section_info): Likewise.
6571 * config/m32r/m32r.c (m32r_encode_section_info): Likewise.
6572 * config/pa/pa.c (saveable_obstack): Remove.
6573 (rtl_obstack): Likewise.
6574 (current_obstack): Likewise.
6575 (output_call): Don't mess with obstacks.
6576 (hppa_encode_label): Remove ggc_p conditionals.
6577 * config/romp/romp.c (get_symref): Don't mess with obstacks.
6578 * config/rs6000/rs6000.c (output_toc): Remove ggc_p conditional.
6579 (rs6000_encode_section_info): Likewise.
6580 * config/sh/sh.c (get_fpscr_rtx): Likewise.
b8dad04b 6581
9dcbdc7e
JH
6582Thu Oct 12 16:02:31 MET DST 2000 Jan Hubicka <jh@suse.cz>
6583
6584 * i386.md (adddi3, subdi3 splitters): Update for new pattern.
6585 (addsi3_cc, addqi3_cc, subsi3_cc): Remove
6586 (addsi3_carry): Canonicalize.
6587 (addqi_5): Remove '*'.
6588 (sbb pattern): Canonicalize.
6589
6590 * i386.md (cmp to inc/add peep2): New.
6591
74490e05
RE
65922000-10-12 Richard Earnshaw <rearnsha@arm.com>
6593
6594 * bb-reorder.c (reorder_basic_blocks): Allocate an aux block for
6595 the exit block.
6596
bc87c1c8
JM
65972000-10-12 Joseph S. Myers <jsm28@cam.ac.uk>
6598
6599 * gcc.texi: Merge in contents of README.TRAD and TESTS.FLUNK.
6600 * README.TRAD, TESTS.FLUNK: Remove.
6601
9fa8f75d
JM
66022000-10-12 Joseph S. Myers <jsm28@cam.ac.uk>
6603
6604 * c-common.c (decl_attributes): Don't allow strftime formats with
6605 first_arg_num nonzero.
6606 (check_format_info): Set wanted_type and wanted_type_name to zero
6607 before they are possibly assigned and used.
6608
4831bc84
JM
66092000-10-12 Joseph S. Myers <jsm28@cam.ac.uk>
6610
6611 * c-common.c (scanf_flag_specs): Add flags ' and I.
6612 (strftime_flag_pairs): Disallow any pair of the _, - and 0 flags,
6613 or the ^ and # flags together.
6614 (scan_char_table): Handle the ' and I flags.
6615 (format_types): Add ' and I flags for scanf.
6616
2f7026a0
JM
66172000-10-12 Joseph S. Myers <jsm28@cam.ac.uk>
6618
6619 * c-common.c (print_char_table): Use the unpromoted type for
6620 lengths "h" and "hh" with conversions dioxXu.
6621 (check_format_types): Apply the default argument promotions where
6622 the wanted type is not a pointer target.
6623
bb58bec5 66242000-10-11 Michael Meeks <mmeeks@gnu.org>
b8dad04b 6625 Joseph S. Myers <jsm28@cam.ac.uk>
bb58bec5
JM
6626
6627 * c-typeck.c (check_modify_expr): New function.
6628 (build_modify_expr): Call it if warn_sequence_point.
6629 * c-decl.c (warn_sequence_point): New variable.
6630 (c_decode_option): Handle -Wsequence-point and
6631 -Wno-sequence-point. Enable -Wsequence-point as part of -Wall.
6632 * c-tree.h (warn_sequence_point): Declare.
6633 * invoke.texi (-Wsequence-point): Document.
6634 * toplev.c (documented_lang_options): Add -Wsequence-point and
6635 -Wno-sequence-point.
6636 Original work by Michael Meeks, 16 Jun 1998.
6637
0fba7208
RK
6638Wed Oct 11 06:15:41 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
6639
6640 * tree.c (get_narrower): Don't look at precision of field if
6641 not laid out yet.
6642
67e570ea
DC
6643Tue Oct 10 23:14:33 2000 Denis Chertykov <denisc@overta.ru>
6644
6645 * config/avr/avr.c (valid_machine_decl_attribute): Allow `extern'
6646 declaration for data with "progmem" attribute.
6647
80b8585d
MM
66482000-10-09 Marek Michalkiewicz <marekm@linux.org.pl>
6649
6650 * config/avr/avr.c (out_shift_with_cnt): Use AS2 macro.
6651 Correct insn length if shift count is a memory operand.
6652 * config/avr/avr.md: New define_peephole2 to use *reload_inqi.
6653 (*iorhi3_clobber): Change lo8 to hi8.
6654 (zero_extendhisi2): Change %B0 to %A1.
6655 (ashlhi3, ashrhi3): Correct insn length.
6656 (andhi3, abssf2, extendqisi2, extendhisi2): Change "cc"
6657 from "clobber" to "set_n" in some alternatives.
6658
462561b7
JJ
66592000-10-10 Jakub Jelinek <jakub@redhat.com>
6660
6661 * reload1.c (calculate_needs_all_insns): If deleting an instruction,
6662 remove its insn_chain structure as well.
6663
0b8833aa
DA
66642000-10-09 J. David Anglin <dave@hiauly1.hia.nrc.ca>
6665
6666 * dbxout.c (dbxout_source_line): Remove extra tab.
6667
c690f089
HPN
66682000-10-09 Hans-Peter Nilsson <hp@bitrange.com>
6669
6670 * config/elfos.h (UNIQUE_SECTION): Apply STRIP_NAME_ENCODING on name.
6671
1854631b
RH
66722000-10-09 Richard Henderson <rth@cygnus.com>
6673
6674 * Makefile.in (LANG_LIB2FUNCS): Remove.
6675 (LIB2FUNCS): Remove _pure.
6676 (LIB2ADD): Remove LANG_LIB2FUNCS.
6677 (stage_a): Don't set LANG_LIB2FUNCS.
6678 * libgcc2.c (__terminate): Mark noreturn.
6679 (__pure_virtual): Remove.
6680 * mklibgcc.in: Remove LIB2ADD .txt processing.
6681
880c4dcb
RE
66822000-10-09 Richard Earnshaw <rearnsha@arm.com>
6683
6684 * arm.md (push_multi): Revert unintended change.
6685
5895f793
RE
66862000-10-09 Richard Earnshaw <rearnsha@arm.com>
6687
b8dad04b 6688 * arm.c: Miscellaneous white space and comment clean-ups. No
5895f793
RE
6689 functional change.
6690 * arm.md: Likewise.
6691
1092710d
KG
66922000-10-09 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
6693
6694 * c-common.c (c_expand_builtin_printf): Set the TREE_TYPE of a new
6695 STRING_CST by calling combine_strings.
6696
ca356f3a
RE
66972000-10-09 Richard Earnshaw <rearnsha@arm.com>
6698
6699 * arm.c (thumb_expand_movstrqi): Rewrite to support SSA form.
6700 (thumb_output_move_mem_multiple): Support new insn format.
6701 * arm.md (movmem12b): Use SSA compatible format.
6702 (movmem8b): Likewise.
6703
cca0a211
RE
67042000-10-09 Richard Earnshaw <rearnsha@arm.com>
6705
6706 * arm.md (predicable): New attribute, default to "no".
6707 (all patterns): Mark as predicable if appropriate.
6708 (conditional execution splits): Split using predication format.
6709 (define_cond_exec): Define.
6710 * arm.c (arm_print_operand): handle insn predicate.
b8dad04b 6711
1146cfde
GP
67122000-10-09 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
6713
6714 * README.NS32K: Remove file.
6715
67162000-10-09 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
6717
6718 * README-bugs: Remove file.
6719
4d0230e1
PT
67202000-10-08 Philipp Thomas <pthomas@suse.de>
6721 * aclocal.m4 (AM_GNU_GETTEXT): Fix non portable use of == operator
6722 for test.
6723 * configure: Rebuilt.
6724
9fdf713f
PT
67252000-10-08 Philipp Thomas <pthomas@suse.de>
6726 * aclocal.m4 (AM_WITH_NLS): When not using included gettext,
6727 disable catalog building if no suitable program was found.
6728 Move warning message from here
6729 (AM_GNU_GETTEXT): To here.
6730 * configure: Rebuilt.
6731
00036f5c
PT
67322000-10-08 Philipp Thomas <pthomas@suse.de>
6733 * aclocal.m4 (GCC_PATH_PROG): New. Like AC_PATH_PROG but uses
6734 different cache variables.
6735 (GCC_PATH_PROG_WITH_TEST): New. Like AM_PATH_PROG_WITH_TEST but
6736 uses different cache variables.
6737 (AM_WITH_NLS): Use GCC_PATH_PROG and GCC_PATH_PROG_WITH_TEST.
6738 * configure: Regenerated.
b8dad04b 6739
aefa45d3
RH
67402000-10-08 Richard Henderson <rth@cygnus.com>
6741
6742 * Makefile.in (libgcc.mk): Pass SHLIB_EXT, not SHLIB_LIBS.
6743 * configure.in (sparc*-*-solaris*): Use t-slibgcc{,-sld}.
6744 * mklibgcc.in: Consider SHLIB_LINK the entire shlib build command.
6745 Use SHLIB_EXT.
6746
6747 * config/t-linux (SHLIB_EXT): New.
6748 (SHLIB_LINK): Use the entire build command, with substitutions.
6749 (SHLIB_LIBS): Remove.
6750 * config/alpha/t-osf4: Likewise.
6751 * config/mips/t-iris6: Likewise.
6752 * config/sparc/t-sol2: Likewise, but move shlib stuff...
6753 * config/sparc/t-slibgcc-sld: ...here.
6754 * config/sparc/t-slibgcc: New file.
6755
b15ad712
JM
67562000-10-08 Joseph S. Myers <jsm28@cam.ac.uk>
6757
6758 * tm.texi (INTMAX_TYPE, UINTMAX_TYPE): Define.
6759 * c-common.h (enum c_tree_index): Add CTI_INTMAX_TYPE and
6760 CTI_UINTMAX_TYPE.
6761 (intmax_type_node, uintmax_type_node): Define.
6762 * c-common.c (decl_attributes): If pedantic, warn if `mode'
6763 attributes create a type wider than intmax_t.
6764 (T_IM, T_UIM): Define properly.
6765 * c-decl.c (INTMAX_TYPE, UINTMAX_TYPE): Define if not already
6766 defined.
6767 (init_decl_processing): Initialize intmax_type_node and
6768 uintmax_type_node.
6769 * c-lex.c (lex_number): When pedantic and warning for integer
6770 constants that are too large, in C99 mode warn for those that have
6771 a type wider than long long.
6772
2588e44e
JM
67732000-10-08 Joseph S. Myers <jsm28@cam.ac.uk>
6774
6775 * c-common.c (FMT_FLAG_ARG_CONVERT, FMT_FLAG_SCANF_A_KLUDGE,
6776 FMT_FLAG_FANCY_PERCENT_OK): Define.
6777 (format_char_info): Add flag "4" to comment.
6778 (format_flag_spec, format_flag_pair): New structures.
6779 (format_kind_info): Add additional fields to control format
6780 checking.
6781 (printf_flag_specs, printf_flag_pairs, scanf_flag_specs,
6782 scanf_flag_pairs, strftime_flag_specs, strftime_flag_pairs): New
6783 arrays.
6784 (time_char_table): Use "4" flag to handle %Ey.
6785 (format_types): Add entries for new fields.
6786 (get_flag_spec): New function.
6787 (check_format_info): Increase size of flag_chars[] to 256.
6788 Control format checking using the new fields of a format_kind_info
6789 and the new tables; remove all conditionals on printf_format_type,
6790 scanf_format_type or strftime_format_type. Handle all details of
6791 bad combinations of flags (including width, precision and strftime
6792 modifiers) through data rather than ad hoc code. Handle all
6793 details of standard versions in which flags appeared through
6794 data. Use the "4" flag.
6795
7b7de7c0
WC
67962000-10-07 Will Cohen <wcohen@redhat.com>, Kazu Hirata <kazu@hxi.com>
6797
6798 * config/h8300/h8300.md: Remove the memory alternative and correct
6799 the insn lengths in the templates for sign extention and zero
6800 extention.
6801
9a1ba437
RH
68022000-10-07 Richard Henderson <rth@cygnus.com>
6803
6804 * calls.c (expand_call): Disallow sibcalls to noreturn functions.
6805 * flow.c (make_edges): Revert last change.
6806
6807 * config/alpha/alpha.h (FUNCTION_OK_FOR_SIBCALL): Don't test
6808 TREE_THIS_VOLATILE.
6809 * config/pa/pa.h (FUNCTION_OK_FOR_SIBCALL): Likewise.
6810
d38d55b4
DB
68112000-10-06 David O'Brien <obrien@dragon.nuxi.com>
6812
6813 * config/alpha/elf.h: Standardize the formatting.
6814
94984e91
DB
68152000-10-06 David O'Brien <obrien@FreeBSD.org>
6816
6817 * config/alpha/elf.h: Protect the ASM_OUTPUT_IDENT definition with an
6818 #undef.
6819
3e4eac3f
RH
68202000-10-06 Richard Henderson <rth@cygnus.com>
6821
6822 * function.c (diddle_return_value): Examine
6823 current_function_return_rtx instead of the DECL_RESULT.
6824 (expand_function_end): Handle reloading DECL_RESULT from memory
6825 into a hard register. Query promote_mode for sign of mismatched
6826 modes.
6827
4071f896
VM
68282000-10-06 Vladimir Makarov <vmakarov@touchme.toronto.redhat.com>
6829
6830 * haifa-sched.c (schedule_insns): Fix typo in freeing
6831 forward_dependency_cache.
6832
eb69f95c
AO
68332000-10-06 Alexandre Oliva <aoliva@redhat.com>
6834
6835 * config/sh/sh.md (calli_pcrel, call_valuei_pcrel): Add
6836 `TARGET_SH2' as a condition.
6837
178b88b9
VM
68382000-10-06 Vladimir Makarov <vmakarov@touchme.toronto.redhat.com>
6839
6840 * haifa-sched.c (anti_dependency_cache, output_dependency_cache,
6841 forward_dependency_cache): New variables.
6842 (add_dependence, remove_dependence): Use anti_dependency_cache and
6843 output_dependency_cache.
6844 (compute_block_forward_dependences): Use forward_dependency_cache.
6845 (schedule_insns): Allocate and free memory for anti/output/forward
6846 dependencies caches.
b8dad04b 6847
827bdee4
AO
68482000-10-06 Alexandre Oliva <aoliva@redhat.com>
6849
6850 * config/sh/sh.md (call, call_value): Use `TARGET_SH2' instead of
6851 `! TARGET_SH1'. Reindent.
6852
c70eaeaf
KG
68532000-10-06 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
6854
6855 * builtins.c (is_valid_printf_arglist, expand_builtin_printf):
6856 Move functions from here ...
6857
6858 * c-common.c (is_valid_printf_arglist, c_expand_builtin_printf):
6859 ... to here.
6860 (c_expand_builtin): New function.
6861 (init_function_format_info): Don't set `check_function_format_ptr'.
6862 (c_common_nodes_and_builtins): Set built_in_class type for
6863 printf/__builtin_printf to BUILT_IN_FRONTEND.
6864 (c_expand_expr): Handle CALL_EXPRs that are front-end builtins.
6865
6866 * c-common.h (build_function_call): Declare.
6867
6868 * expr.c (expand_expr): Pass builtins with class BUILT_IN_FRONTEND
6869 to `lang_expand_expr' rather than `expand_builtin'.
6870
6871 * tree.c (check_function_format_ptr): Delete.
6872
6873 * tree.h (check_function_format_ptr): Likewise.
6874
f299afab
HPN
68752000-10-06 Hans-Peter Nilsson <hp@bitrange.com>
6876
6877 * dwarf2out.c (build_cfa_loc): Correct to use DW_OP_regx or
6878 DW_OP_bregx when cfa->reg > 31.
6879
6880 * frame-dwarf2.c (decode_stack_op) [case DW_OP_regx]: Add missing
6881 break.
6882
b313a0fe
RH
68832000-10-05 Richard Henderson <rth@cygnus.com>
6884
6885 * c-decl.c (warn_missing_noreturn): Remove.
6886 (c_expand_body): Don't set or check can_reach_end.
6887 * c-tree.h (warn_missing_noreturn): Move ...
6888 * flags.h: ... here.
6889 (can_reach_end): Remove.
6890 * flow.c (check_function_return_warnings): New.
6891 (make_edges): No edge to exit for noreturn sibcalls.
6892 * function.c (expand_function_end): Save the return value
6893 clobber instruction.
6894 (mark_function_status): Mark it.
6895 * function.h (struct function): Add x_clobber_return_insn.
6896 * jump.c (can_reach_end): Remove.
6897 (calculate_can_reach_end): Remove.
6898 (jump_optimize_1): Don't call it.
6899 * output.h (check_function_return_warnings): Declare.
6900 * toplev.c (warn_missing_noreturn): Move from c-decl.c
6901 (rest_of_compilation): Call check_function_return_warnings.
6902
83dad10c
RH
69032000-10-05 Richard Henderson <rth@cygnus.com>
6904
6905 * Makefile.in (NM_FOR_TARGET): New.
6906 (libgcc.mk): Pass SHLIB_MKMAP, SHLIB_MAPFILES.
6907 (libgcc.a, stmp-multilib): Pass NM_FOR_TARGET.
6908 * mklibgcc.in: If SHLIB_MKMAP, build libgcc.map. Depend the
6909 shared library build on that and EXTRA_MULTILIB_PARTS.
6910 * mkmap-flat.awk: New file.
6911 * mkmap-symver.awk: New file.
6912 * libgcc-std.ver: New file.
6913 * config/libgcc-glibc.ver: New file.
6914 * config/ia64/libgcc-ia64.ver: New file.
6915 * config/t-linux (SHLIB_MKMAP, SHLIB_MAPFILES): New.
6916 (SHLIB_LINK): Add --version-script.
6917 * config/ia64/t-ia64 (SHLIB_MAPFILES): Add libgcc-ia64.ver.
6918 * config/mips/t-iris6 (SHLIB_MKMAP, SHLIB_MAPFILES): New.
6919 * config/sparc/t-sol2 (SHLIB_MKMAP, SHLIB_MAPFILES): New.
6920 (SHLIB_LINK): Add -M.
6921
d6eacd48
RH
69222000-10-05 Richard Henderson <rth@cygnus.com>
6923
6924 * Makefile.in (LIB2FUNCS): Add _clz.
6925 * libgcc2.c (__ffsdi2): Use count_trailing_zeros.
6926 (__clz_tab): Put in its own unit, non-static.
6927 * libgcc2.h: Always include longlong.h.
6928
29279975
RH
6929 * longlong.h [alpha] (count_leading_zeros): Use cmpbge with
6930 a zero instead of -1.
6931 (count_trailing_zeros): Likewise.
6932
c74fa144
RH
69332000-10-05 Richard Henderson <rth@cygnus.com>
6934
6935 * config/alpha/alpha.c (alpha_emit_setcc): Don't swap GT tests
6936 when second op1 is const0_rtx. Validate op0 as a register.
6937 * config/alpha/alpha.md (setcc_internal): Don't allow constants
6938 in the first argument of the compare.
6939 (setcc_swapped_internal): Likewise.
6940 (setne_internal): Likewise.
6941
c5620996
GK
69422000-10-05 Geoff Keating <geoffk@cygnus.com>
6943
6944 * tree.c (tree_size): New function split out of copy_node.
6945 (make_node): Remove obstack handling. Use tree_size.
6946 (copy_node): Use tree_size.
6947 * tree.h: Prototype tree_size.
6948
331fe257
RH
69492000-10-05 Richard Henderson <rth@cygnus.com>
6950
6951 * diagnostic.c (output_format): Add missing break.
6952
cc0cbae1
JW
69532000-10-05 Jim Wilson <wilson@cygnus.com>
6954
6955 * function.c (fixup_var_refs_1, case SET): When gen_move_insn returns a
6956 SEQUENCE, call emit_insn_before, copy PATTERN and REG_NOTES of last
6957 sequence insn to INSN, and delete last sequence insn.
6958
f5fa9a5b
PE
69592000-10-05 Phil Edwards <pme@gcc.gnu.org>
6960
6961 * gcc.c (main): Include generated configargs.h header
6962 and use arguments in '-v' output.
6963
2296d164
RK
6964Thu Oct 5 16:16:57 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
6965
6966 * gcc.c: Move data on prefixes forward in file and reorganize.
6967 (md_exec_prefix, md_startfile_prefix, md_startfile_prefix_1):
6968 Always define, but make null if no value.
6969 (static_specs): Add "md_exec_prefix", "md_startfile_prefix",
6970 and "md_startfile_prefix_1".
6971 (main): Check whether md_exec_prefix and the others are the
6972 null string rather than whether the macro is defined.
6973
43d75418
R
6974Thu Oct 5 19:04:18 2000 J"orn Rennecke <amylaar@redhat.co.uk>
6975
6976 * (convert_move): Use zero_extendpsisi2 to do an unsigned extension
6977 from PSImode to SImode.
6978
e389897b
JJ
69792000-10-05 Jakub Jelinek <jakub@redhat.com>
6980
6981 * emit-rtl.c (gen_lowpart_common) [REAL_ARITHMETICS]: Fix conversion
6982 from float to integral mode with HOST_BITS_PER_WIDE_INT 64.
6983 * dwarf2out.c (add_const_value_attribute): Divide by 4, not
6984 sizeof(long).
6985
b8fbe62c
RK
6986Thu Oct 5 09:31:31 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
6987
6988 * fold-const.c (fold, case MINUS_EXPR, case EQ_EXPR): Perform
6989 negation in proper type.a
6990
50503ac8
RH
69912000-10-04 Richard Henderson <rth@cygnus.com>
6992
6993 * configure.in (enable-shared): New.
6994 * Makefile.in (LIBGCC_DEPS): Depend on EXTRA_PARTS as well.
6995 (libgcc.mk): Pass SHLIB_LINK, SHLIB_LIBS, SHLIB_MULTILIB to mklibgcc.
6996 * mklibgcc.in: Use them to link shared a libgcc.
6997 * config/t-linux (SHLIB_LINK, SHLIB_LIBS): New.
6998 * config/alpha/t-ieee (SHLIB_MULTILIB): New.
6999 * config/mips/t-iris6 (SHLIB_LINK, SHLIB_LIBS): New.
7000 * config/sparc/t-sol2 (SHLIB_LINK, SHLIB_LIBS): New.
7001
7002 * configure.in (alpha-osf*): Use t-osf and x-osf.
7003 * config/alpha/t-osf: New file.
7004 * config/alpha/t-osf4: New file.
7005 * config/alpha/x-osf: New file.
7006 * config/alpha/x-alpha: Remove file.
7007
4b606faf
WC
70082000-10-04 Will Cohen <wcohen@redhat.com>
7009
7010 * c-typeck.c (process_init_element): Added warning for zero-length
7011 array.
7012
7013 * extend.texi (Zero Length): State that static initializers for
7014 zero-length arrays are not allowed.
7015
c9b89a21
JH
7016Mon Oct 2 14:50:14 MET DST 2000 Jan Hubicka <jh@suse.cz>
7017
7018 * rtlanal.c (single_set_1): Do not require USE and CLOBBERs
7019 to come last.
7020
81bce466
MH
70212000-10-03 Michael Hayes <m.hayes@elec.canterbury.ac.nz>
7022
7023 * config/float-c4x.h: New.
7024 * configure.in (c4x-*): Set float_format to c4x.
b8dad04b 7025 * configure: Regenerate.
81bce466 7026
72882e08
KG
70272000-10-02 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
7028
7029 * configure.in (sparc-*-solaris2*): Disable 32-to-64 cross
7030 compilation for solaris versions 2.7 and greater.
7031
ea205a52
ME
70322000-10-02 Marc Espie <espie@openbsd.org>
7033
7034 * config/alpha.h (WORD_SWITCH_TAKES_ARG): add -rpath to default,
7035 instead of redefining from scratch.
7036
618ec0d7
DB
70372000-10-02 David O'Brien <obrien@dragon.nuxi.com>
7038
7039 * config/i386/freebsd.h (NO_PROFILE_COUNTERS): Define.
7040
f15b9af9
MM
70412000-10-01 Mark Mitchell <mark@codesourcery.com>
7042
776749c5
MM
7043 * config/ns32k/genix.h: Remove.
7044 * config/ns32k/x-genix: Likewise.
7045 * config/ns32k/xm-genix.h: Likewise.
7046 * config/fx80: Remove all filee in directory.
7047 * config/pyr: Likewise.
7048 * config/tahoe: Likewise.
7049 * config/gmicro: Likewise.
7050 * config/spur: Likewise.
7051 * configure.in: Remove configury bits for above targets.
7052 * configure: Regenerated.
b8dad04b 7053
a7b4171a
MM
7054 * configure.in: Don't configure chill by default.
7055 * configure: Regenerated.
b8dad04b 7056
f15b9af9
MM
7057 * c-decl.c (c_expand_body): Don't generate RTL if flag_syntax_only.
7058 (lang_mark_false_label_stack): Remove.
7059 * c-lex.c (init_c_lex): Add file_info_tree as GC root. Allocate
7060 <top level> string in GC area.
7061 (mark_splay_tree_node): New function.
7062 (mark_splay_tree): Likewise.
7063 * except.c (mark_eh_status): Only call lang_mark_false_label_stack
7064 if it exists.
7065 * ggc-callbacks.c (lang_mark_false_label_stack): Remove.
7066 * ggc-common.c (lang_mark_false_label_stack): Change type.
7067 * ggc.h (ggc_alloc_string): Add comment.
7068 (ggc_strdup): New function.
b8dad04b 7069
51296ba0
DC
7070Sat Sep 23 19:10:20 2000 Denis Chertykov <denisc@overta.ru>
7071
7072 * config/avr/avr.h (BRANCH_COST): Define as 0.
7073
7074 * config/pdp11/pdp11.c: #include "tree.h" added.
7075
adcd8f77
MM
70762000-09-30 Marek Michalkiewicz <marekm@linux.org.pl>
7077
7078 * config/avr/avr.c (ashlhi3_out, ashlsi3_out, ashrhi3_out,
7079 ashrsi3_out, lshrhi3_out, lshrsi3_out): Optimize more cases
7080 with known shift count.
7081 * config/avr/avr.md (ashlsi3, ashrsi3, lshrsi3):
7082 New alternative for shift count 2 with no scratch register.
7083 (ashlhi3, ashlsi3): Change "cc" attribute from "clobber" to
7084 "set_n" for shift counts 1 and 2.
7085
e35b9579
GK
70862000-09-30 Geoff Keating <geoffk@cygnus.com>
7087
7088 * config/rs6000/rs6000.md (movsi_to_cr): Remove the USE. Calculate
7089 the mask value from the individual SET operations.
7090 (return_internal_si): Move the USE after the RETURN.
7091 (return_internal_di): Likewise.
7092 (return_and_restore_fpregs_si): Likewise.
7093 (return_and_restore_fpregs_di): Likewise.
7094 (return_eh_si): Likewise.
7095 (return_eh_di): Likewise.
7096 * config/rs6000/rs6000.c (mtcrf_operation): Don't look for,
7097 or check, the USE.
7098 (rs6000_emit_prologue): Don't emit the USE for movsi_to_cr.
7099 Don't generate a PARALLEL around a single operation movsi_to_cr.
7100 Generate the RETURN first in any PARALLELs.
7101
7102 * rtlanal.c (single_set_1): Use fatal_insn to display the
7103 invalid insn. Check for more cases when a USE or CLOBBER occurs
7104 before a SET.
7105 * Makefile.in: Update dependencies for rtlanal.o.
7106
1fba7553
JM
71072000-09-30 Joseph S. Myers <jsm28@cam.ac.uk>
7108
7109 * i386.c: Move include of "config.h" to before that of <setjmp.h>.
7110
28e6b1c2
JM
71112000-09-30 Joseph S. Myers <jsm28@cam.ac.uk>
7112
7113 * c-tree.texi, contrib.texi, gcc.texi, install.texi, invoke.texi:
7114 Consistently use @email for formatting email addresses.
7115
f2fa288f
RH
71162000-09-29 Richard Henderson <rth@cygnus.com>
7117
7118 * cse.c (notreg_cost): New argument outer.
7119 (COST): Pass in SET to notreg_cost
7120 (COST_IN): New.
7121 (fold_rtx): Use COST_IN. Prefer constants when costs
7122 are the same.
7123
a1c63101
DE
71242000-09-29 David Edelsohn <edelsohn@gnu.org>
7125
7126 * fixinc/inclhack.def (broken_cabs): Generalize regex.
7127 * fixinc/fixincl.x: Regenerate.
7128
70dd0f7f
FS
71292000-09-29 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
7130
7131 * loop.c (check_final_value): A GIV is not replaceable if used
7132 before set.
7133
0c6129af
JL
7134Fri Sep 29 10:04:12 2000 Jeffrey A Law (law@cygnus.com)
7135
7136 * version.c: Bump to gcc-2.97.
7137
7138Frs Sep 29 13:37:59 MET DST 2000 Jan Hubicka <jh@suse.cz>
6c698a6d
JH
7139
7140 * final.c (final_scan_insn): Remove extra extract_insn call;
7141 Use caching for constrain_operands.
7142 (cleanup_subreg_operands): Use caching for extract_insn.
7143 * recog.c (constrain_operands_cached): New.
7144 * recog.h (constrain_operands_cached): Declare.
7145 * i386.c (ix86_attr_length_immediate_default,
7146 ix86_attr_length_address_default, ix86_agi_dependant): Cache
7147 extract_insn call.
7148
7149 * recog.c (asm_noperands): Tweak.
7150 (extract_insn): Do not call asm_noperads for non-asm instructions.
7151
7152Fri Sep 29 13:20:42 MET DST 2000 Jan Hubicka <jh@suse.cz>
7153
7154 * recog.c (recog_memoized): Rename to recog_memoized_1.
7155 * recog.h (recog_memoized): Rename to recog_memoized_1.
7156 (recog_memoized): New macro.
7157 * rtl.h (single_set): Rename to single_set_1
7158 (single_set): New macro.
7159 * rtlanal.c (single_set): Rename to single_set_1; expect clobbers
7160 to be last.
7161
7162 * i386.md (strmovsi_1, strmovhi_1 strmovqi_1):
7163 Do not use match_dup of input operands at outputs.
7164 Use register_operand for memory expression.
7165 (rep_movsi): Put use last, canonicalize.
7166 Use register_operand for memory expression.
7167 (rep_movqi): Put use last.
7168 Use register_operand for memory expression.
7169 (strsetsi_1, strset_hi_1, strsetqi_1): Do not use match_dup
7170 of input operands at outputs. Use register_operand for memory
7171 expression.
7172 (rep_stossi): Put use last; canonicalize; fix match_dup in
7173 the address expression
7174 (rep_stosqi): Likewise.
7175 (memcmp expander): Update calls.
7176 (cmpstrsi_nz_1, cmpstrsi_1, strlensi_1): Avoid match_dups in
7177 the clobbers.
7178
7179 * i386.md (fp_jcc_3, fp_jcc_4, jp_fcc_5): if_then_else operand is
7180 VOIDmode.
7181 (fp_jcc_4, fp_jcc_3): Refuse unordered comparisons.
7182
41e5a1f5
DB
71832000-09-28 David O'Brien <obrien@FreeBSD.org>
7184
7185 * config/i386/freebsd-aout.h: New, FreeBSD a.out config file.
7186 Contains the old contents of config/i386/freebsd.h
7187 * config/i386/freebsd.h: Now the ELF rather than a.out config file.
7188 Contains the old contents of config/i386/freebsd-elf.h
7189 * config/i386/freebsd-elf.h: Retire this file -- contents moved to
7190 config/i386/freebsd.h.
7191 * configure.in: Adjust for above changes.
7192 * po/POTFILES.in: Likewise.
7193 * po/en_GB.po: Likewise.
7194 * po/gcc.pot: Likewise.
7195 * configure: Rebuilt.
7196
1db88ef9 71972000-09-28 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
70dd0f7f 7198
1db88ef9
FS
7199 * doloop.c (doloop_modify): Prevent delete_insn() from
7200 deleting too much. Prefer loop->top over loop->start as
7201 target for the new JUMP insn.
7202 (doloop_valid_p): Ignore loop with exit_count != 0.
7203
6a07a77f
PT
72042000-09-28 Philipp Thomas <pthomas@suse.de>
7205
7206 * invoke.texi (i386 Options): Add athlon to table of possible
7207 choices for -mcpu=.
7208
b5dd2c76
GDR
72092000-09-28 Gabriel Dos Reis <gdr@codesourcery.com>
7210
7211 * diagnostic.h (output_clear_message_text): New function.
7212 (output_message_text): New macro.
7213
7214 * diagnostic.c (clear_text_info): Rename to
b8dad04b 7215 output_clear_message_text.
b5dd2c76
GDR
7216 (output_clear): Adjust.
7217 (output_finish): Rename to output_finalize_message. Tweek.
b8dad04b 7218 (output_to_stream): Adjust.
b5dd2c76 7219
d8090680
NB
72202000-09-28 Neil Booth <neilb@earthling.net>
7221
7222 * cpperror.c (_cpp_begin_message): Do the test for suppression
b8dad04b
ZW
7223 of warnings and pedantic warnings before the "is a warning an
7224 error" tests.
d8090680
NB
7225 * cppinit.c (cpp_handle_option): Remove surplus \n.
7226 * cpplex.c (ON_REST_ARG): Delete.
7227 (skip_block_comment): Initialise prevc.
7228 (parse_args): Improve error messages.
7229 (maybe_paste_with_next): Use CONTEXT_VARARGS rather
7230 than ON_REST_ARG.
7231 * cpplib.c (cpp_push_buffer): Fix grammar in message.
7232 * cppmain.c (main): Set callbacks for #ident and #pragma
7233 only if no_output option is false.
7234 (do_pragma_implementation): Only call the #pragma handler
7235 if it is set in the cpp_reader structure.
7236
e93eff94
DL
7237Wed Sep 27 14:00:07 2000 Donald Lindsay <dlindsay@cygnus.com>
7238
7239 * integrate.c (copy_insn_list): if an ignored return value
7240 is being clobbered, skip cloning that into the inline copy.
7241
59c5d27a
JM
72422000-09-27 Joseph S. Myers <jsm28@cam.ac.uk>
7243
7244 * extend.texi, invoke.texi, gcc.texi, install.texi: Consistently
7245 use @uref for formatting URLs.
7246
15ca066d
ME
72472000-09-27 Mark Elbrecht <snowball3@bigfoot.com>
7248
7249 * config/i386/djgpp.h (UNIQUE_SECTION): Constify the variables
7250 name and prefix.
7251
5a8e2650
NB
7252Tue 26-Sep-2000 18:25:38 BST Neil Booth <neilb@earthling.net>
7253
7254 * gcc.c (cpp_options): Add spec for -ftabstop=.
7255 (invoke_as): New spec that handles invoking as.
7256 Update specs to handle -save-temps and -traditional.
7257 * ch/lang-specs.h, f/lang-specs.h, java/lang-specs.h:
7258 Use invoke_as.
7259 * cp/lang-specs.h, objc/lang-specs.h: Update to use
7260 invoke_as, and handle -save-temps and -traditional (if
7261 appropriate).
7262
380f6ad3
JJ
72632000-09-26 Jakub Jelinek <jakub@redhat.com>
7264
7265 * config/sparc/sparc.c (sparc_emit_set_const64): Don't abort when
7266 op0 is a SUBREG.
7267 (function_arg_slotno): Accept TImode/CTImode.
7268 * config/sparc/sparc.h (MIN_UNITS_PER_WORD): If IN_LIBGCC2 define
7269 to UNITS_PER_WORD.
7270
ef120fc0
MH
72712000-09-26 Michael Hayes <mhayes@cygnus.com>
7272
7273 * flow.c (flow_loop_pre_header_scan): Punt if loop enters
7274 from entry block.
7275
cf606f45
JW
72762000-09-25 Jim Wilson <wilson@cygnus.com>
7277
7278 * config/ia64/ia64.h (INDEX_REG_CLASS): Define to GENERAL_REGS.
7279 (REGNO_OK_FOR_INDEX_P): Define to REGNO_OK_FOR_BASE_P.
7280 (LEGITIMATE_ADDRESS_DISP): Use LEGITIMATE_ADDRESS_REG.
7281 (REG_OK_FOR_INDEX): Define to REG_OK_FOR_BASE_P.
7282
a94c1199
NB
7283Tue 26-Sep-2000 00:16:22 BST Neil Booth <neilb@earthling.net>
7284
b8dad04b 7285 * cpplex.c (parse_args): Don't set VOID_REST flag.
a94c1199
NB
7286 (CONTEXT_VARARGS): New flag.
7287 (maybe_paste_with_next): Set context earlier in loop. Use
7288 it. Do varargs test with CONTEXT_VARARGS flag.
7289 (push_arg_context): Set CONTEXT_VARARGS flag if we're
7290 pushing an argument context for a varargs argument.
7291 * cpplib.h (VOID_REST): Delete.
b8dad04b 7292 * gcc.dg/cpp/vararg1.c: Add test case.
a94c1199 7293
317639a8
BC
72942000-09-25 Branko Cibej <branko.cibej@hermes.si>
7295
b8dad04b
ZW
7296 * flags.h: Declare warning flag warn_system_headers.
7297 * toplev.c: Define it.
7298 (W_options): Add option -Wsystem-headers.
7299 * diagnostic.c (count_error): Test warn_system_headers.
7300 * invoke.texi: Add description for -Wsystem-headers.
317639a8
BC
7301 * cpplib.h (cpp_options): New member warn_system_headers.
7302 * cpphash.h (CPP_PEDANTIC, CPP_WTRADITIONAL): Don't test
7303 CPP_IN_SYSTEM_HEADER.
7304 * cpplib.c (do_import, do_pragma_once): Likewise.
7305 * cpperror.c (_cpp_begin_message): Test warn_system_headers
7306 and CPP_IN_SYSTEM_HEADER.
7307 * cppinit.c (handle_option): Recognize -Wsystem_headers.
7308 (print_help): Describe -Wsystem_headers.
7309 * cpplex.c (lex_line): Reorganize condition so that warnings
7310 about C++ comments in system headers can be enabled. Remove
7311 label do_line_comment.
7312
1c6d33ef
NB
7313Mon 25-Sep-2000 23:38:27 BST Neil Booth <neilb@earthling.net>
7314
7315 * cpplex.c (save_comment): Only store the initial '/'
7316 now.
7317 (lex_token): Combine handling of the two comment types.
b8dad04b 7318 Pass everything but the initial '/' to save_comment.
1c6d33ef 7319
7de4d004
NB
7320Mon 25-Sep-2000 23:31:45 BST Neil Booth <neilb@earthling.net>
7321
7322 * cpphash.h (_cpp_digraph_spellings, _cpp_process_directive,
7323 _cpp_can_paste): New library-internal prototypes.
7324 * cpplex.c (dump_param_spelling, output_line_command,
7325 output_token, cpp_scan_buffer, cpp_scan_buffer_nooutput,
7326 cpp_printf, cpp_output_list): Move to cppoutput.c.
7327 (process_directive, can_paste, digraph_spellings): Add _cpp_ prefix.
7328 * cppmacro.c (dump_macro_args, cpp_dump_definition) Move to
7329 cppoutput.c.
7330 * cppoutput.c (dump_macro_args, cpp_dump_definition, output_token,
7331 dump_param_spelling, output_line_command, cpp_scan_buffer,
7332 cpp_scan_buffer_nooutput, cpp_printf, cpp_output_list): Moved
7333 from elsewhere.
7334 * Makefile.in: Add cppoutput.c.
7335 * po/POTFILES.in: Add cppoutput.c.
7336
66db6b45
RH
73372000-09-25 Richard Henderson <rth@cygnus.com>
7338
7339 * config/ia64/ia64.c (ia64_print_operand): Define 'e' as 64-n.
7340 * config/ia64/ia64.md (rotrsi3): Allow variable rotates; don't
7341 split until after reload.
7342 (rotlsi3, rotldi3): New.
7343
4b40f758
GDR
73442000-09-25 Gabriel Dos Reis <gdr@codesourcery.com>
7345
7346 * diagnostic.c (output_last_position): Define.
7347 (set_real_maximum_length): Tweek.
7348 * diagnostic.h (output_last_position): Declare.
7349
0f290768
KH
73502000-09-25 Kazu Hirata <kazu@hxi.com>
7351
7352 * config/i386/i386.c: Fix formatting.
7353
90e9ee6c
AL
73542000-09-24 Alan Lehotsky <alehotsky@cygnus.com>
7355
7356 * emit-rtl-c (gen_lowpart_common): Accept non-paradoxical SUBREG when
7357 UNITS_PER_WORD is small.
7358
0e00b68b
JM
73592000-09-25 Joseph S. Myers <jsm28@cam.ac.uk>
7360
7361 * c-common.c (format_char_info): Add flags2; update comments.
7362 (print_char_table, scan_char_table, time_char_table): Split some
7363 flags out into flags2.
7364 (check_format_info): Use flags2 for those flags, for identifying
7365 the initial character of a scanf scanset, and for identifying
7366 printf formats where the '0' flag is ignored with precision.
7367
0a3e1f45
HPN
73682000-09-25 Hans-Peter Nilsson <hp@axis.com>
7369
7370 Changes below marked "here" add TABs on either or both sides,
7371 covering start of line, up to any operand for all noted .*ASM.*_OP
e8638df0 7372 definitions. All callers changed.
047c1c92
HPN
7373 * tm.texi: Make documented *_ASM.*_OP:s include spacing
7374 (TEXT_SECTION_ASM_OP, DATA_SECTION_ASM_OP, SHARED_SECTION_ASM_OP,
7375 BSS_SECTION_ASM_OP, SHARED_BSS_SECTION_ASM_OP, INIT_SECTION_ASM_OP,
7376 ASM_BYTE_OP, FINI_SECTION_ASM_OP, EH_FRAME_SECTION_ASM_OP,
7377 ASM_STABS_OP, ASM_STABD_OP, ASM_STABN_OP).
7378 Fix typos in description for LONG_LONG_TYPE_SIZE and
7379 FINI_SECTION_ASM_OP.
0a3e1f45
HPN
7380 * crtstuff.c (CTORS_SECTION_ASM_OP, DTORS_SECTION_ASM_OP): Explain
7381 why these defaults don't have leading spacing.
7382 * dbxout.c (ASM_STABS_OP, ASM_STABN_OP): Here.
7383 * dwarf2out.c (UNALIGNED_SHORT_ASM_OP, UNALIGNED_INT_ASM_OP,
7384 UNALIGNED_DOUBLE_INT_ASM_OP, SECTION_ASM_OP, ASM_BYTE_OP): Here.
7385 * dwarfout.c (FILE_ASM_OP, VERSION_ASM_OP,
7386 UNALIGNED_SHORT_ASM_OP, UNALIGNED_INT_ASM_OP, ASM_BYTE_OP,
7387 PUSHSECTION_ASM_OP, POPSECTION_ASM_OP): Here.
7388 * defaults.h (ASM_STABD_OP, EH_FRAME_SECTION_ASM_OP): Here.
7389 * varasm.c (ASM_STABS_OP): Here.
7390 * xcoffout.h (ASM_STABS_OP): Here.
e662a129
HPN
7391 * config/elfos.h (IDENT_ASM_OP, ASM_BYTE_OP, SET_ASM_OP,
7392 SKIP_ASM_OP, ALIGN_ASM_OP, COMMON_ASM_OP, LOCAL_ASM_OP,
7393 INT_ASM_OP, ASCII_DATA_ASM_OP, TYPE_ASM_OP, SIZE_ASM_OP,
7394 STRING_ASM_OP): Here.
7395 * config/freebsd.h (IDENT_ASM_OP): Here.
7396 * config/linux-aout.h (SET_ASM_OP): Here.
7397 * config/linux.h (SET_ASM_OP): Here.
7398 * config/lynx.h (CTORS_SECTION_ASM_OP, DTORS_SECTION_ASM_OP,
7399 INT_ASM_OP): Here.
7400 * config/netbsd.h (TYPE_ASM_OP, SIZE_ASM_OP, SET_ASM_OP): Here.
7401 * config/nextstep.h (EH_FRAME_SECTION_ASM_OP, ALIGN_ASM_OP): Here.
7402 * config/openbsd.h (TYPE_ASM_OP, SIZE_ASM_OP, SET_ASM_OP): Here.
7403 * config/psos.h (CTORS_SECTION_ASM_OP, DTORS_SECTION_ASM_OP,
7404 INT_ASM_OP): Here.
7405 * config/ptx4.h (IDENT_ASM_OP, ASM_BYTE_OP, SET_ASM_OP,
7406 SKIP_ASM_OP, ALIGN_ASM_OP, COMMON_ASM_OP, LOCAL_ASM_OP,
7407 INT_ASM_OP, ASCII_DATA_ASM_OP, CONST_SECTION_ASM_OP,
7408 CTORS_SECTION_ASM_OP, DTORS_SECTION_ASM_OP, INIT_SECTION_ASM_OP,
7409 FINI_SECTION_ASM_OP, TYPE_ASM_OP, SIZE_ASM_OP STRING_ASM_OP): Here.
7410 * config/svr3.h (INIT_SECTION_ASM_OP, FINI_SECTION_ASM_OP,
7411 CONST_SECTION_ASM_OP, ASM_BYTE_OP): Here.
8c13c7b3
HPN
7412 * config/a29k/udi.h (INT_ASM_OP): Here.
7413 * config/alpha/alpha-interix.h (CONST_SECTION_ASM_OP,
7414 CTORS_SECTION_ASM_OP, DTORS_SECTION_ASM_OP, INT_ASM_OP,
7415 SET_ASM_OP): Here.
7416 * config/alpha/alpha.h (TEXT_SECTION_ASM_OP,
7417 READONLY_DATA_SECTION_ASM_OP, DATA_SECTION_ASM_OP,
7418 UNALIGNED_SHORT_ASM_OP, UNALIGNED_INT_ASM_OP,
7419 UNALIGNED_DOUBLE_INT_ASM_OP, ASM_STABS_OP, ASM_STABN_OP,
7420 ASM_STABD_OP): Here.
7421 * config/alpha/elf.h (IDENT_ASM_OP, SKIP_ASM_OP, ALIGN_ASM_OP,
7422 COMMON_ASM_OP, INT_ASM_OP, ASCII_DATA_ASM_OP,
7423 CONST_SECTION_ASM_OP, CTORS_SECTION_ASM_OP, DTORS_SECTION_ASM_OP,
7424 BSS_SECTION_ASM_OP, SBSS_SECTION_ASM_OP, SDATA_SECTION_ASM_OP,
7425 INIT_SECTION_ASM_OP, FINI_SECTION_ASM_OP, TYPE_ASM_OP,
7426 SIZE_ASM_OP, STRING_ASM_OP): Here.
7427 * config/alpha/vms.h (LINK_SECTION_ASM_OP,
7428 READONLY_SECTION_ASM_OP, LITERALS_SECTION_ASM_OP,
7429 CTORS_SECTION_ASM_OP, DTORS_SECTION_ASM_OP, COMMON_ASM_OP): Here.
7430 * config/arc/arc.h (ASM_BYTE_OP, SET_ASM_OP): Here.
8202cda0 7431 (PUSHSECTION_ASM_OP): Define this, not PUSHSECTION_FORMAT.
8c13c7b3
HPN
7432 * config/arm/aof.h (CTORS_SECTION_ASM_OP, DTORS_SECTION_ASM_OP):
7433 Here.
7434 * config/arm/aout.h (TEXT_SECTION_ASM_OP, DATA_SECTION_ASM_OP,
7435 BSS_SECTION_ASM_OP, SET_ASM_OP): Here.
7436 * config/arm/coff.h (INT_ASM_OP): Here.
7437 * config/arm/conix-elf.h (UNALIGNED_WORD_ASM_OP): Here.
7438 * config/arm/elf.h (TYPE_ASM_OP, SIZE_ASM_OP, INT_ASM_OP): Here.
7439 * config/arm/linux-elf.h (IDENT_ASM_OP, CONST_SECTION_ASM_OP,
7440 INIT_SECTION_ASM_OP, FINI_SECTION_ASM_OP): Here.
7441 * config/arm/unknown-elf.h (UNALIGNED_WORD_ASM_OP): Here.
7442 * config/avr/avr.h (TEXT_SECTION_ASM_OP, DATA_SECTION_ASM_OP,
7443 ASM_BYTE_OP, TYPE_ASM_OP, SIZE_ASM_OP, WEAK_ASM_OP,
7444 STRING_ASM_OP): Here. Update documentation copy in comments.
4e8aa65c
HPN
7445 * config/c4x/c4x.h (ASM_STABS_OP, BSS_SECTION_ASM_OP): Here.
7446 * config/clipper/clipper.h (TEXT_SECTION_ASM_OP,
7447 DATA_SECTION_ASM_OP): Here.
7448 * config/clipper/clix.h (BSS_SECTION_ASM_OP, INIT_SECTION_ASM_OP):
7449 Here.
7450 * config/convex/convex.h (TEXT_SECTION_ASM_OP,
7451 DATA_SECTION_ASM_OP, BSS_SECTION_ASM_OP): Here.
7452 * config/d30v/d30v.h (TEXT_SECTION_ASM_OP, DATA_SECTION_ASM_OP,
7453 BSS_SECTION_ASM_OP): Here.
7454 * config/fr30/fr30.h (TEXT_SECTION_ASM_OP, DATA_SECTION_ASM_OP,
7455 BSS_SECTION_ASM_OP): Here.
7456 * config/fx80/fx80.h (TEXT_SECTION_ASM_OP, DATA_SECTION_ASM_OP):
7457 Here.
7458 * config/gmicro/gmicro.h (TEXT_SECTION_ASM_OP,
7459 DATA_SECTION_ASM_OP, BSS_SECTION_ASM_OP): Here.
7460 * config/h8300/h8300.h (ASM_WORD_OP): Here.
71d48a01
HPN
7461 * config/i370/i370.h (TEXT_SECTION_ASM_OP, DATA_SECTION_ASM_OP,
7462 BSS_SECTION_ASM_OP): Here.
7463 * config/i386/aix386.h (INIT_SECTION_ASM_OP): Here.
7464 * config/i386/bsd.h (ASM_BYTE_OP): Here.
7465 * config/i386/cygwin.h (SET_ASM_OP, INT_ASM_OP): Here.
7466 * config/i386/dgux.h (CONST_SECTION_ASM_OP): Here.
7467 * config/i386/djgpp.h (IDENT_ASM_OP, INT_ASM_OP, SET_ASM_OP):
7468 Here.
7469 * config/i386/freebsd-elf.h (SET_ASM_OP): Here.
7470 * config/i386/freebsd.h (TYPE_ASM_OP, SIZE_ASM_OP, INT_ASM_OP):
7471 Here.
7472 * config/i386/i386-coff.h (CTORS_SECTION_ASM_OP,
7473 DTORS_SECTION_ASM_OP, INT_ASM_OP): Here.
7474 * config/i386/i386-interix.h (STRING_ASM_OP, CONST_SECTION_ASM_OP,
7475 CTORS_SECTION_ASM_OP, DTORS_SECTION_ASM_OP, INT_ASM_OP,
7476 SET_ASM_OP): Here.
7477 * config/i386/i386elf.h (BSS_SECTION_ASM_OP): Here.
7478 * config/i386/netbsd.h (INT_ASM_OP): Here.
7479 * config/i386/openbsd.h (INT_ASM_OP): Here.
7480 * config/i386/osfrose.h (TYPE_ASM_OP, SIZE_ASM_OP, SET_ASM_OP,
7481 IDENT_ASM_OP): Here.
7482 * config/i386/sco5.h (ALIGN_ASM_OP, ASCII_DATA_ASM_OP,
7483 ASM_BYTE_OP, IDENT_ASM_OP, COMMON_ASM_OP, SET_ASM_OP,
7484 LOCAL_ASM_OP, INT_ASM_OP, TYPE_ASM_OP, SIZE_ASM_OP, STRING_ASM_OP,
7485 SKIP_ASM_OP, GLOBAL_ASM_OP): Here.
7486 * config/i386/seq-sysv3.h (SHARED_SECTION_ASM_OP,
7487 SHARED_BSS_SECTION_ASM_OP): Here.
7488 * config/i386/sequent.h (SHARED_SECTION_ASM_OP): Here.
7489 * config/i386/sun386.h (ASM_BYTE_OP, TEXT_SECTION_ASM_OP,
7490 DATA_SECTION_ASM_OP): Here.
7491 * config/i386/svr3gas.h (INIT_SECTION_ASM_OP, FINI_SECTION_ASM_OP,
7492 CONST_SECTION_ASM_OP): Here.
7493 * config/i386/sysv3.h (INIT_SECTION_ASM_OP): Here.
7494 * config/i386/unix.h (TEXT_SECTION_ASM_OP, DATA_SECTION_ASM_OP,
7495 BSS_SECTION_ASM_OP): Here.
de323aa1
HPN
7496 * config/i860/bsd-gas.h (ASCII_DATA_ASM_OP): Here.
7497 * config/i860/bsd.h (ASCII_DATA_ASM_OP): Here.
7498 * config/i860/fx2800.h (ASM_STABS_OP, ASM_STABN_OP, ASM_STABD_OP,
7499 BSS_ASM_OP): Here, but use trailing spaces.
7500 * config/i860/i860.h (ASM_BYTE_OP, TEXT_SECTION_ASM_OP,
7501 DATA_SECTION_ASM_OP): Here.
7502 * config/i860/paragon.h (ASCII_DATA_ASM_OP, BSS_SECTION_ASM_OP):
7503 Here.
7504 * config/i860/sysv3.h (ASCII_DATA_ASM_OP, CTORS_SECTION_ASM_OP,
7505 DTORS_SECTION_ASM_OP, TDESC_SECTION_ASM_OP): Here.
7506 * config/i860/sysv4.h (CTORS_SECTION_ASM_OP, DTORS_SECTION_ASM_OP,
7507 TDESC_SECTION_ASM_OP): Here.
7508 * config/i960/i960-coff.h (CTORS_SECTION_ASM_OP,
7509 DTORS_SECTION_ASM_OP, INT_ASM_OP): Here.
7510 * config/i960/i960.h (TEXT_SECTION_ASM_OP, DATA_SECTION_ASM_OP):
7511 Here.
7512 * config/ia64/ia64.h (TEXT_SECTION_ASM_OP, DATA_SECTION_ASM_OP,
7513 BSS_SECTION_ASM_OP, EH_FRAME_SECTION_ASM_OP,
7514 UNALIGNED_SHORT_ASM_OP, UNALIGNED_INT_ASM_OP,
7515 UNALIGNED_DOUBLE_INT_ASM_OP): Here.
7516 * config/ia64/sysv4.h (ASM_BYTE_OP, STRING_ASM_OP, SKIP_ASM_OP,
7517 COMMON_ASM_OP, ASCII_DATA_ASM_OP, INIT_SECTION_ASM_OP,
7518 FINI_SECTION_ASM_OP, CTORS_SECTION_ASM_OP, DTORS_SECTION_ASM_OP,
7519 SDATA_SECTION_ASM_OP, SBSS_SECTION_ASM_OP): Here.
6e7b07a7
HPN
7520 * config/m32r/m32r.h (SCOMMON_ASM_OP): Here.
7521 * config/m68hc11/m68hc11.h (GLOBAL_ASM_OP): Here.
7522 * config/m68k/auxas.h (BYTE_ASM_OP, WORD_ASM_OP, LONG_ASM_OP,
7523 SPACE_ASM_OP, ALIGN_ASM_OP, GLOBAL_ASM_OP, SWBEG_ASM_OP,
7524 SET_ASM_OP): Here.
7525 * config/m68k/coff.h (BSS_SECTION_ASM_OP, CTORS_SECTION_ASM_OP,
7526 DTORS_SECTION_ASM_OP, INT_ASM_OP): Here.
7527 * config/m68k/crds.h (BSS_SECTION_ASM_OP): Here.
7528 * config/m68k/dpx2.h (ASM_BYTE_OP, GLOBAL_ASM_OP): Here.
7529 * config/m68k/hp320.h (ASCII_DATA_ASM_OP, GLOBAL_ASM_OP): Here.
7530 * config/m68k/linux.h (BSS_SECTION_ASM_OP): Here.
7531 * config/m68k/lynx.h (BSS_SECTION_ASM_OP): Here.
7532 * config/m68k/m68k.h (TEXT_SECTION_ASM_OP, DATA_SECTION_ASM_OP,
7533 GLOBAL_ASM_OP): Here.
7534 * config/m68k/m68kelf.h (SWBEG_ASM_OP, BSS_ASM_OP,
7535 BSS_SECTION_ASM_OP): Here.
7536 * config/m68k/m68kv4.h (BSS_ASM_OP): Here.
7537 * config/m68k/mot3300.h (TEXT_SECTION_ASM_OP, DATA_SECTION_ASM_OP,
7538 ASCII_DATA_ASM_OP, SET_ASM_OP, CTORS_SECTION_ASM_OP,
7539 DTORS_SECTION_ASM_OP, GLOBAL_ASM_OP, ASM_BYTE_OP, ALIGN_ASM_OP,
7540 SKIP_ASM_OP): Here.
7541 * config/m68k/newsgas.h (SET_ASM_OP): Here.
7542 * config/m68k/rtemself.h (INIT_SECTION_ASM_OP,
7543 FINI_SECTION_ASM_OP, EH_FRAME_SECTION_ASM_OP): Here.
7544 * config/m68k/sgs.h (BYTE_ASM_OP, WORD_ASM_OP, LONG_ASM_OP,
7545 SPACE_ASM_OP, ALIGN_ASM_OP, GLOBAL_ASM_OP, SWBEG_ASM_OP,
7546 SET_ASM_OP, UNALIGNED_SHORT_ASM_OP, UNALIGNED_INT_ASM_OP): Here,
7547 but use trailing spaces.
7548 * config/m68k/tower-as.h (TEXT_SECTION_ASM_OP,
7549 DATA_SECTION_ASM_OP, GLOBAL_ASM_OP, INIT_SECTION_ASM_OP,
7550 FINI_SECTION_ASM_OP, CONST_SECTION_ASM_OP, BSS_SECTION_ASM_OP):
7551 Here.
7552 * config/m88k/dgux.h (FINI_SECTION_ASM_OP, INIT_SECTION_ASM_OP,
7553 CTORS_SECTION_ASM_OP, DTORS_SECTION_ASM_OP): Here.
7554 * config/m88k/m88k.h (TEXT_SECTION_ASM_OP, DATA_SECTION_ASM_OP,
7555 CONST_SECTION_ASM_OP, TDESC_SECTION_ASM_OP, CTORS_SECTION_ASM_OP,
7556 DTORS_SECTION_ASM_OP, INIT_SECTION_ASM_OP, FINI_SECTION_ASM_OP,
7557 IDENT_ASM_OP, FILE_ASM_OP, SECTION_ASM_OP, SET_ASM_OP,
7558 GLOBAL_ASM_OP, ALIGN_ASM_OP, SKIP_ASM_OP, COMMON_ASM_OP,
7559 BSS_ASM_OP, FLOAT_ASM_OP, DOUBLE_ASM_OP, INT_ASM_OP, SHORT_ASM_OP,
7560 CHAR_ASM_OP, ASCII_DATA_ASM_OP, SBSS_ASM_OP, SCOMM_ASM_OP,
7561 SDATA_SECTION_ASM_OP, TYPE_ASM_OP, SIZE_ASM_OP, INTERNAL_ASM_OP,
7562 VERSION_ASM_OP, UNALIGNED_SHORT_ASM_OP, UNALIGNED_INT_ASM_OP,
7563 PUSHSECTION_ASM_OP, POPSECTION_ASM_OP, REQUIRES_88110_ASM_OP,
7564 ASM_BYTE_OP): Here.
7565 * config/m88k/openbsd.h (SET_ASM_OP): Here.
7566 * config/m88k/sysv4.h (INIT_SECTION_ASM_OP, FINI_SECTION_ASM_OP,
7567 CTORS_SECTION_ASM_OP, DTORS_SECTION_ASM_OP): Here.
78d057d8
HPN
7568 * config/mcore/mcore-elf.h (UNALIGNED_INT_ASM_OP,
7569 UNALIGNED_SHORT_ASM_OP, CTORS_SECTION_ASM_OP,
7570 DTORS_SECTION_ASM_OP): Here.
7571 * config/mcore/mcore-pe.h (CTORS_SECTION_ASM_OP,
7572 DTORS_SECTION_ASM_OP, INT_ASM_OP): Here.
7573 * config/mips/elf.h (TYPE_ASM_OP, SIZE_ASM_OP,
7574 BSS_SECTION_ASM_OP): Here.
7575 * config/mips/elf64.h (TYPE_ASM_OP, SIZE_ASM_OP): Here.
7576 * config/mips/iris5.h (ABICALLS_ASM_OP): Here.
7577 * config/mips/iris6.h (TYPE_ASM_OP, SIZE_ASM_OP,
7578 POPSECTION_ASM_OP, BSS_SECTION_ASM_OP, CONST_SECTION_ASM_OP_32,
7579 CONST_SECTION_ASM_OP_64, CTORS_SECTION_ASM_OP,
7580 DTORS_SECTION_ASM_OP, EH_FRAME_SECTION_ASM_OP): Here.
7581 * config/mips/mips.c (ABICALLS_ASM_OP): Here.
7582 * config/mips/mips.h (ASM_STABS_OP, ASM_STABN_OP, ASM_STABD_OP):
7583 Here.
7584 * config/mips/netbsd.h (TYPE_ASM_OP, SIZE_ASM_OP, WEAK_ASM_OP):
7585 Here.
7586 * config/mips/osfrose.h (SET_ASM_OP): Here.
7587 * config/mips/sni-svr4.h (ABICALLS_ASM_OP): Here.
76bbee81
HPN
7588 * config/ns32k/encore.h (SHARED_SECTION_ASM_OP): Here.
7589 * config/ns32k/merlin.h (SHARED_SECTION_ASM_OP): Here.
7590 * config/ns32k/ns32k.h (TEXT_SECTION_ASM_OP, DATA_SECTION_ASM_OP):
7591 Here.
7592 * config/ns32k/sequent.h (SHARED_SECTION_ASM_OP): Here.
7593 * config/ns32k/tek6000.h (SHARED_SECTION_ASM_OP): Here.
7594 * config/pa/pa-64.h (INT_ASM_OP, TYPE_ASM_OP, SIZE_ASM_OP): Here.
7595 * config/pa/pa.h (ASM_STABS_OP, ASM_STABN_OP): Here.
7596 * config/pj/pj.h (SET_ASM_OP, BSS_SECTION_ASM_OP): Here.
7597 * config/pyr/pyr.h (TEXT_SECTION_ASM_OP, DATA_SECTION_ASM_OP):
7598 Here.
7599 * config/romp/romp.h (TEXT_SECTION_ASM_OP, DATA_SECTION_ASM_OP):
7600 Here.
7601 * config/rs6000/rs6000.h (SET_ASM_OP): Here.
7602 * config/rs6000/sol2.h (ASM_STABN_OP): Here.
7603 * config/rs6000/sysv4.h (SKIP_ASM_OP, LOCAL_ASM_OP, LCOMM_ASM_OP):
7604 Here.
471b6f1b
HPN
7605 * config/sh/sh.h (SET_ASM_OP, BSS_SECTION_ASM_OP,
7606 UNALIGNED_SHORT_ASM_OP, UNALIGNED_INT_ASM_OP): Here.
7607 * config/sparc/linux.h (COMMON_ASM_OP): Here.
7608 * config/sparc/linux64.h (COMMON_ASM_OP,
7609 UNALIGNED_DOUBLE_INT_ASM_OP): Here.
7610 * config/sparc/litecoff.h (BSS_SECTION_ASM_OP,
7611 CTORS_SECTION_ASM_OP, DTORS_SECTION_ASM_OP, INT_ASM_OP): Here.
7612 * config/sparc/lynx.h (BSS_SECTION_ASM_OP): Here.
7613 * config/sparc/pbd.h (ASM_INT_OP): Here.
7614 * config/sparc/sp64-elf.h (UNALIGNED_LONGLONG_ASM_OP): Here.
7615 * config/sparc/sparc.h (ASM_BYTE_OP, TEXT_SECTION_ASM_OP,
7616 DATA_SECTION_ASM_OP, IDENT_ASM_OP): Here.
7617 * config/sparc/sun4gas.h (UNALIGNED_DOUBLE_INT_ASM_OP,
7618 UNALIGNED_INT_ASM_OP, UNALIGNED_SHORT_ASM_OP): Here.
7619 * config/sparc/sysv4.h (STRING_ASM_OP, COMMON_ASM_OP, SKIP_ASM_OP,
7620 UNALIGNED_DOUBLE_INT_ASM_OP, UNALIGNED_INT_ASM_OP,
7621 UNALIGNED_SHORT_ASM_OP, PUSHSECTION_ASM_OP, POPSECTION_ASM_OP,
7622 TEXT_SECTION_ASM_OP, DATA_SECTION_ASM_OP, BSS_SECTION_ASM_OP,
7623 CONST_SECTION_ASM_OP, INIT_SECTION_ASM_OP, FINI_SECTION_ASM_OP,
7624 CTORS_SECTION_ASM_OP, DTORS_SECTION_ASM_OP,
7625 EH_FRAME_SECTION_ASM_OP): Here.
7626 * config/sparc/vxsim.h (COMMON_ASM_OP): Here.
7627 * config/spur/spur.h (TEXT_SECTION_ASM_OP, DATA_SECTION_ASM_OP):
7628 Here.
7629 * config/tahoe/tahoe.h (TEXT_SECTION_ASM_OP, DATA_SECTION_ASM_OP):
7630 Here.
7631 * config/v850/v850.h (SCOMMON_ASM_OP, ZCOMMON_ASM_OP,
7632 TCOMMON_ASM_OP): Here.
7633 * config/vax/vax.h (TEXT_SECTION_ASM_OP, DATA_SECTION_ASM_OP):
7634 Here.
7635 * config/we32k/we32k.h (TEXT_SECTION_ASM_OP, DATA_SECTION_ASM_OP,
7636 ASM_BYTE_OP): Here.
0a3e1f45 7637
ea9ea008
RH
76382000-09-25 Richard Henderson <rth@cygnus.com>
7639
7640 * expmed.c (store_bit_field): Adjust last change to not consider
7641 any word-sized field naturally aligned.
7642
9e495700
RH
76432000-09-24 Richard Henderson <rth@cygnus.com>
7644
7645 * config/alpha/alpha.c (alpha_emit_conditional_branch): Handle
7646 TFmode unordered compares properly. Revalidate integer compare
7647 operands.
7648 (alpha_emit_setcc): New.
7649 (alpha_emit_conditional_move): Revalidate integer compare operands.
7650 * config/alpha/alpha-protos.h: Update.
7651 * config/alpha/alpha.md (cmpdi): Allow general operands.
7652 (sne): Use alpha_emit_setcc.
7653 (seq, slt, sle, sgt, sge, sltu, sleu, sgtu, sgeu): Likewise.
7654 (sunordered, sordered): New.
7655
2ed4af6f
RH
76562000-09-24 Richard Henderson <rth@cygnus.com>
7657
7658 * config/ia64/ia64-protos.h: Update.
7659 * config/ia64/ia64.c (call_multiple_values_operation): Remove.
7660 (ia64_expand_call): New.
7661 (ia64_expand_prologue): Emit an alloc if we need extra input
7662 registers.
7663 (ia64_expand_epilogue): New arg sibcall_p; don't emit the return
7664 instruction if true.
7665 (struct reg_flags): Add is_sibcall.
7666 (rtx_needs_barrier): A sibcall does not use CFM et al. Ignore USEs.
7667 (emit_insn_group_barriers): Set flags.is_sibcall. Remove hacks
7668 for CODE_FOR_gr_spill_internal/CODE_FOR_gr_restore_internal.
7669 * config/ia64/ia64.h (PREDICATE_CODES): Update.
7670 * config/ia64/ia64.md (call): Use ia64_expand_call.
7671 (call_value): Likewise.
7672 (sibcall, sibcall_value): New.
7673 (call patterns): Remove extra expanders; tidy.
7674 (sibcall_epilogue): New.
7675 (set_bsp): Remove the extra USE. Put the operand inside the UNSPEC.
7676
e1389cac
RH
76772000-09-24 Richard Henderson <rth@cygnus.com>
7678
7679 * emit-rtl.c (gen_lowpart_common): Use trunc_int_for_mode.
7680
fd442cef
RH
7681 * sibcall.c (skip_pic_restore): New.
7682 (identify_call_return_value): Use it.
7683
c06aa51e
MM
76842000-09-24 Mark Mitchell <mark@codesourcery.com>
7685
7686 * c-tree.texi: Moved here from cp/ir.texi. Documented nested
7687 functions. Generalize to handle both C and C++.
7688 * Makefile.in (c-tree.info): New target.
7689 (info): Add c-tree.info.
b8dad04b 7690
bd5dab53
RK
7691Sun Sep 24 09:15:48 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
7692
7693 * expr.c (store_field): If BITSIZE is negative, use size of type.
7694 (expand_expr, case COMPONENT_EXPR): Likewise.
7695
838f313b
NB
7696Sun 24-Sep-2000 11:40:23 BST Neil Booth <NeilB@earthling.net>
7697
7698 * cpplex.c: Update TODO comment.
7699 * cpplib.c (do_error, do_warning): Merge common code of
7700 do_error and do_warning into do_diagnostic. Use it.
7701 (do_diagnostic): New function.
7702 * cpplib.h: Fix comment typo.
7703
c5412f06
JM
77042000-09-24 Joseph S. Myers <jsm28@cam.ac.uk>
7705
7706 * c-common.c (check_format_info): Warn for a wide character string
7707 used as a non-wide format argument.
7708
1c44c45d
JM
77092000-09-24 Joseph S. Myers <jsm28@cam.ac.uk>
7710
7711 * builtins.def (BUILT_IN_LLABS): Add.
7712 * builtins.c (expand_builtin): Also abort on BUILT_IN_LLABS.
7713 * c-common.c (c_common_nodes_builtins): Create builtin functions
7714 __builtin_llabs, and plain llabs unless no_nonansi_builtins
7715 outside of C99 mode.
7716 (expand_tree_builtin): Handle BUILT_IN_LLABS.
7717
cbcff6df
NB
7718Sat 23-Sep-2000 22:39:18 BST Neil Booth <NeilB@earthling.net>
7719
7720 * cpphash.h (CPP_RESERVE, CPP_PUTS_Q, CPP_PUTS, CPP_PUTC_Q,
7721 CPP_PUTC, DUMMY_TOKEN, NO_DUMMY_TOKEN): Delete.
7722 * cpplex.c (_cpp_expand_token_space, _cpp_init_toklist,
7723 _cpp_free_toklist): No need to worry about extra dummy token
7724 at the start of token lists any more.
7725 (trigraph_ok): Only warn outside comments.
7726 (skip_block_comment): Set and clear lexing_comment.
7727 (skip_line_comment): Take a cpp_reader not cpp_buffer.
7728 Set and clear lexing_comment.
7729 (parse_number): Handle leading '.' indicated by pfile->seen_dot.
7730 (check_long_token): Delete.
7731 (lex_percent, lex_dot): New subroutines of lex_token to
7732 handle lexing of '.' and '%' without lookback.
7733 (lex_token): Use lex_dot and lex_percent.
7734 (lex_line): Don't check for LIST_OFFSET.
7735 (_cpp_init_input_buffer): Update for new _cpp_init_toklist.
7736 * cpplib.c (_cpp_parse_assertion): Similarly.
7737 (cpp_push_buffer): Initialize extra_char.
7738 * cpplib.h (LIST_OFFSET): Delete.
7739 (struct cpp_buffer): New member extra_char.
7740 (struct lexer_state): New members lexing_comment and seen_dot.
7741
2abdcaee
JM
77422000-09-23 Jason Merrill <jason@redhat.com>
7743
7744 * config/rs6000/x-aix41 (CLIB): Define here.
7745 * config/rs6000/t-aix43: Not here.
7746 * config/rs6000/t-aix41: Or here. Remove.
7747 * configure.in: Don't use it.
7748
981d4858
JM
77492000-09-22 Jason Merrill <jason@redhat.com>
7750
2abdcaee
JM
7751 * configure.in: Add test for HAVE_LD_DWARF_LINKONCE.
7752 * toplev.c: Use it to initialize flag_eliminate_dwarf2dups.
7753 * config.in: Regenerate.
7754
981d4858
JM
7755 * configure.in: Fix checks for assembler features when using a
7756 one-tree assembler that has not yet been built.
7757 Fix --disable-threads.
7758
afa223c6
GK
77592000-09-19 Geoff Keating <geoffk@cygnus.com>
7760
7761 * stmt.c (expand_asm_operands): Allow # in constraints.
7762
a3a834aa
JM
77632000-09-22 Jason Merrill <jason@redhat.com>
7764
7765 * c-lex.c (skip_white_space): Just treat CRs as horizontal whitespace.
7766
7767 * dbxout.c (dbxout_symbol_name): Just use DECL_NAME for
7768 function-local names.
7769
18424ae1
BL
77702000-09-22 Brad Lucier <lucier@math.purdue.edu>
7771 Mark Mitchell <mark@codesourcery.com>
7772
b8dad04b
ZW
7773 * toplev.c (warn_disabled_optimization): Declare new warning flag.
7774 * flags.h (warn_disabled_optimization): Add it here.
7775 * gcse.c (gcse_main): Add warning when disabled.
7776 * invoke.texi: Document -Wdisabled-optimization.
18424ae1 7777
1bfb5f8f
JM
77782000-09-21 Jason Merrill <jason@redhat.com>
7779
7780 * dwarf2out.c (add_const_value_attribute): Multiply by length, not 4.
7781
7782 * dwarf2out.c (tree_add_const_value_attribute): New fn.
7783 (gen_variable_die): Call it for non-definitions.
7784
7785 * dwarf2out.c (die_struct): Add die_mark field.
7786 (mark_dies, unmark_dies): New fns.
7787 (clear_die_sizes): Remove.
7788 (print_die): Check die_symbol rather than die_offset.
7789 (build_abbrev_table, output_pubnames, output_aranges): Check
7790 die_mark rather than die_offset.
7791 (output_comp_unit): Move calc_die_sizes after build_abbrev_table.
7792 Call mark_dies.
7793
2047e26f
NB
7794Thu 21-Sep-2000 18:19:05 BST Neil Booth <NeilB@earthling.net>
7795
7796 * cppfiles.c (lookup_include_file): Rename to open_file.
7797 Always create a splay tree value, even on syscall failures.
7798 Negative entries indicated by fd == -2.
7799 Re-open files closed in the meantime.
7800 (_cpp_fake_include): Create a negative splay tree entry.
7801 (find_include_file, cpp_read_file): Update for function name
7802 change.
7803 * gcc.gd/cpp/mi4.c: Testcase.
7804
f27cd94d
NC
78052000-09-21 Nick Clifton <nickc@redhat.com>
7806
2359a5e1
NC
7807 * config/arm/t-arm-elf (MULTILIB_DIRNAMES): Enable multilibs for
7808 ARM and THUMB modes.
7809
f27cd94d 7810 * config/mcore/mcore.c: Fix compile time warnings.
b8dad04b 7811 * config/mcore/mcore-protos.h: Fix compile time warnings.
f27cd94d 7812
7373064a
DA
78132000-09-20 J. David Anglin <dave@hiauly1.hia.nrc.ca>
7814
7815 * configure.in: Correct test of gcc_cv_glibc.
7816 * configure: Rebuilt.
7817 * config.in: Rebuilt.
7818
07328167
KG
78192000-09-20 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
7820
7821 * builtins.c (expand_builtin_fputs): Also expand when length!=1.
7822 (expand_builtin): Handle BUILT_IN_FWRITE.
7823
7824 * builtins.def (BUILT_IN_FWRITE): New entry.
7825
7826 * c-common.c (c_common_nodes_and_builtins): Declare __builtin_fwrite.
7827
5fa7c8ce
RK
7828Wed Sep 20 15:39:14 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
7829
dc36ec2c
RK
7830 * gcc.c (modify_target): New variable and struct.
7831 (process_command): Handle MODIFY_TARGET_NAME.
7832 * tm.texi (MODIFY_TARGET_NAME): Add documentation for new macro.
7833 * config/pa/pa.h (MODIFY_TARGET_NAME): New macro.
7834
5fa7c8ce
RK
7835 * c-decl.c (finish_decl): Add else's to avoid referencing
7836 TYPE_DOMAIN of an ERROR_MARK.
7837
155b14a8
DC
7838Wed Sep 20 21:44:31 2000 Denis Chertykov <denisc@overta.ru>
7839
7840 * config/avr/avr.c (adjust_insn_length): Adjust lengths of
7841 `reload_in*' insns.
7842
78432000-09-19 Marek Michalkiewicz <marekm@linux.org.pl>
7844
7845 * config/avr/avr.md (neghi2): Add alternative for input and output
7846 operands in different registers, as in negsi2.
7847 (*negsi2): Remove '*' from the name. Use "movw" if available.
7848
fd09c61f
JW
78492000-09-19 Jim Wilson <wilson@cygnus.com>
7850
7851 * config/ia64/crtbegin.asm (__dso_handle): Delete use of
7852 HAVE_GAS_HIDDEN macro.
7853
7eea5554
NB
7854Tue 19-Sep-2000 22:38:57 BST Neil Booth <NeilB@earthling.net>
7855
7856 * cpplex.c (lex_line): Drop the EOF token for unknown
7857 directives in assembler.
7858
a473fe45
DE
78592000-09-19 David Edelsohn <edelsohn@gnu.org>
7860
7861 * configure.in: Allow enable_threads_flag value of "aix". Define
fd60bf96 7862 thread_file as "aix" for AIX 4.3 and above.
a473fe45 7863 * configure: Regenerated.
fd60bf96
DE
7864
7865 * gthr-aix.h: New file.
7866
a473fe45
DE
7867 * rs6000/t-aix43: Replace soft-float multilib with pthread.
7868 Remove 403 processor multilib match. Fix rios2 processor multilib
7869 match.
7870
fd60bf96
DE
7871 * rs6000/aix.h (ASM_DECLARE_FUNCTION_NAME): Use function_section
7872 to return to appropriate csect.
7873
ad3fd36f
KG
78742000-09-19 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
7875
7876 * builtins.c (is_valid_printf_arglist, expand_builtin_printf): New
7877 functions.
7878 (expand_builtin_fputs): Set `target' parameter for `expand_expr'.
7879 (expand_builtin): Handle BUILT_IN_PUTCHAR, BUILT_IN_PUTS and
7880 BUILT_IN_PRINTF.
7881
7882 * builtins.def (BUILT_IN_PUTCHAR, BUILT_IN_PUTS, BUILT_IN_PRINTF):
7883 New entries.
7884
7885 * c-common.c (init_function_format_info): Handle __builtin_printf.
7886 Set `check_function_format_ptr'.
7887 (c_common_nodes_and_builtins): Set `puts_ftype' and
7888 `printf_ftype'. Declare __builtin_putchar, __builtin_puts,
7889 __builtin_printf and printf.
7890
7891 * tree.c, tree.h (check_function_format_ptr): Declare.
7892
6f3d20a0
NB
7893Tue 19-Sep-2000 18:26:57 BST Neil Booth <NeilB@earthling.net>
7894
b8dad04b 7895 * cppfiles.c (read_include_file): Take no special action for
6f3d20a0
NB
7896 zero-length files.
7897
b4f75276
BS
78982000-09-19 Bernd Schmidt <bernds@redhat.co.uk>
7899
afc6898e
BS
7900 * final.c (insn_current_reference_address): Use INSN_SHUID of seq
7901 rather than that of branch.
7902 (shorten_branches): Don't increment insn_current_address twice.
7903
b4f75276
BS
7904 Undo most of the Wed Jan 27 23:39:53 1999 patch:
7905 * loop.h (struct induction): Delete members derived, ix and last_use.
7906 (struct loop_ivs): Delete members first_increment_giv and
7907 last_increment_giv.
7908 * loop.c (verify_dominator, find_life_end, cmp_recombine_givs_stats,
7909 recombine_givs): Delete functions.
7910 (find_and_verify_loops): Don't initialize cont_dominator.
7911 (strength_reduce): Lose code to try to find bivs that can be
7912 expressed as givs of another biv, and to convert biv increments
7913 into givs.
7914 Lose loop_scan_start variable, always use loop->scan_start.
7915 Don't call recombine_givs. Don't handle derived givs.
7916 (record_giv): Don't initialize derived and last_use fields.
7917 (biv_eliminiation_giv_has_0_offset): Lose code to handle derived
7918 givs.
7919 * unroll.c (derived_regs): Delete static variable.
7920 (unroll_loop): Don't initialize it.
7921 (copy_loop_body): Lose code to handle derived givs.
7922 (find_splittable_givs): Don't check for givs made from biv
7923 increments.
7924 Don't set derived_regs.
7925
0f805606
BS
7926 Fix misapplied earlier patch:
7927 * config/sh/sh.md (floatsisf_ie): Reenable. Remove explicit reference
7928 to fpul.
7929 (floatsisf2): Generate floatsisf_ie by default.
7930 (floatsisf_i4): Conditional on TARGET_SH4.
7931
7932 (floatsisf2, floatsidf2, extendsfdf2): Also use reg_no_subreg_operand
7933 predicate for the expanders.
7934
8aa0e194
RH
79352000-09-19 Richard Henderson <rth@cygnus.com>
7936
0d97fd9e
RH
7937 * config/i386/i386.h (CPP_CPU_SPEC): Define i586 and i686 symbols
7938 in addition to pentium and pentiumpro symbols.
7939 (CPP_CPU_DEFAULT_SPEC): Likewise.
7940
39b726dd
RH
7941 * c-typeck.c (c_expand_asm_operands): Restore the output tree
7942 after expanding.
7943
9790cefd
RH
7944 * stmt.c (expand_expr_stmt): Only call warn_if_unused_value
7945 if the tree has side effects.
7946 (warn_if_unused_value): Do not warn about void constructs.
7947
8e5a0fcb
RH
7948 * c-decl.c (poplevel): Invoke warn_about_unused_variables.
7949
8aa0e194
RH
7950 * unroll.c (copy_loop_body): Update LABEL_NUSES before
7951 calling invert_jump.
7952
62f7f1f5
GK
79532000-09-18 Geoff Keating <geoffk@cygnus.com>
7954
7955 * combine.c (can_combine_p): Don't substitute an ASM_OPERANDS
7956 into anything.
7957
3f80e6ac
KG
79582000-09-18 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
7959
7960 * Makefile.in (c-common.o): Depend on diagnostic.h.
7961
7962 * c-common.c: Include diagnostic.h.
7963 (tfaff): Delete.
7964 (status_warning): New function.
7965 (check_format_info, maybe_read_dollar_number, check_format_types,
7966 finish_dollar_format_checking, check_function_format): Accept a
7967 `status' parameter. All callers changed.
7968
7969 * c-common.h (check_function_format): Accept a `status' parameter.
7970
7971 * c-typeck.c: Update call to `check_function_format'.
7972
cfbd829c
RH
79732000-09-18 Richard Henderson <rth@cygnus.com>
7974
7975 * c-decl.c (c_expand_body): Call mark_varargs before
7976 expand_function_start.
7977
c21d86e1
GK
79782000-09-18 Geoff Keating <geoffk@cygnus.com>
7979
7980 * config/rs6000/eabi-cn.asm: Use /**/ to delimit comments, not #.
7981 * config/rs6000/eabi-ci.asm: Likewise.
7982
f0417c82
RH
79832000-09-18 Richard Henderson <rth@cygnus.com>
7984
7985 * emit-rtl.c (init_emit_once): Initialize const_tiny_rtx
7986 for BImode.
7987
226ed43f
JW
79882000-09-18 Jim Wilson <wilson@cygnus.com>
7989
5c3c320e
JW
7990 * unroll.c (loop_iterations): Pass increment to extend_for_giv_value
7991 before passing it to fold_rtx_mult_add.
7992
ec919c98
JW
7993 * unroll.c (final_giv_value): Pass increment through
7994 extend_value_for_giv before passing it to emit_iv_add_mult.
7995
226ed43f
JW
7996 * function.c (fixup_var_refs_1, case ZERO_EXTRACT): If we have a
7997 paradoxical subreg, then directly substitute the replacement and
7998 return.
7999
b542c0fb
NB
8000Mon 18-Sep-2000 22:12:44 BST Neil Booth <NeilB@earthling.net>
8001
b4f75276 8002 * cpp.texi: Update documentation, including some clarifications,
b542c0fb
NB
8003 the treatment of various newline combinations, and space between
8004 backslash and newline.
8005
800a6a0c
R
8006Mon Sep 18 21:00:47 2000 J"orn Rennecke <amylaar@redhat.co.uk>
8007
8008 * sdbout.c (PUT_SDB_DEF, PUT_SDB_TAG, PUT_SDB_EPILOGUE_END):
8009 Replace ASM_OUTPUT_LABELREF with assemble_name.
8010
50ceefc2
R
8011Mon Sep 18 20:26:50 2000 J"orn Rennecke <amylaar@redhat.co.uk>
8012
8013 * sh.c (addsubcosts): CONST is not cheap.
8014 (find_barrier): For Sh1, take alignment after jumps into account.
8015
659e47fb
AH
80162000-09-15 Andrew Haley <aph@redhat.com>
8017
8018 * toplev.c (rest_of_compilation): Call purge_hard_subreg_sets to
8019 remove all SETs of SUBREGs of hard registers.
7373064a 8020 * function.c (purge_hard_subreg_sets): New function.
659e47fb
AH
8021 (purge_single_hard_subreg_set): New function.
8022 * rtl.h: (purge_hard_subreg_sets): New function.
8023
f2f90c63
RH
80242000-09-18 Richard Henderson <rth@cygnus.com>
8025
8026 * config/ia64/ia64-protos.h: Update.
8027 * config/ia64/ia64.c (signed_inequality_operator): New.
8028 (ia64_expand_compare): New.
8029 (ia64_register_move_cost): Handle PR_REGS moves.
8030 (ia64_secondary_reload_class): Require a GR when moving to a PR.
8031 (struct reg_write_state): Add written_by_and/or.
8032 (struct reg_flags): Add is_and/or.
8033 (rws_update): Set them.
8034 (rws_access_regno): Test them to allow parallel comparisons.
8035 (rtx_needs_barrier): Recognize parallel comparisons.
8036 (emit_insn_group_barriers): Set prev_insn after a call stop bit.
8037 Call recog_memoized; ignore pred_rel_mutex.
8038 (emit_predicate_relation_info): Don't call find_basic_blocks here.
8039 (ia64_reorg): Do it here instead.
8040 * config/ia64/ia64.h: s/CCmode/BImode/g
8041 (MODES_TIEABLE_P): Don't tie BImode.
8042 (PREFERRED_RELOAD_CLASS): Do not reload operations into AR regs.
8043 (CONST_COSTS): Pick sensible values for CONST_INT based on context.
8044 (RTX_COSTS): Make multiply 4 insns.
8045 (MEMORY_MOVE_COST): New.
8046 (PREDICATE_CODES): Update.
8047 * config/ia64/ia64.md: s/CCmode/BImode/g
8048 (movcci, movbi): New.
8049 (andbi3, andcmbi3, iorbi3, iorcmbi3, one_cmplbi2): New.
8050 (cmpsi_and_0, cmpsi_and_1, cmpsi_andnot_0, cmpsi_andnot_1): New.
8051 (cmpdi_and_0, cmpdi_and_1, cmpdi_andnot_0, cmpdi_andnot_1): New.
8052 (tbit_and_0, tbit_and_1, tbit_and_2, tbit_and_3): New.
8053 (cmpsi_or_0, cmpsi_or_1, cmpsi_orcm_0, cmpsi_orcm_1): New.
8054 (cmpdi_or_0, cmpdi_or_1, cmpdi_orcm_0, cmpdi_orcm_1): New.
8055 (tbit_or_0, tbit_or_1, tbit_or_2, tbit_or_3): New.
8056 (mulsi, muldi): Use xmpy not xma.
8057 (cmpbi): New.
8058 (movcc, movcc_internal): Remove.
8059 (branch expanders): Use ia64_expand_compare.
8060 (setcc expanders): Likewise.
8061 (cmov insns): Use move_operand and ia64_move_ok.
8062 (pred_rel_mutex): Use unspec not unspec_volatile. Prevent the
8063 scheduler from moving it past a use.
8064 * config/ia64/build.hacks: Remove.
8065
0d9f234d
NB
8066Mon 18-Sep-2000 19:21:35 BST Neil Booth <NeilB@earthling.net>
8067
8068 * cpphash.h (HASHSTEP): Take character rather than pointer
8069 to character.
8070 (_cpp_check_directive, _cpp_check_linemarker): Update prototypes.
8071
8072 * cpphash.c (cpp_loookup): Update for new HASHSTEP.
8073
8074 * cpplex.c (auto_expand_name_space, trigraph_replace,
8075 backslash_start, handle_newline, parse_name, INIT_TOKEN_STR,
8076 IMMED_TOKEN, PREV_TOKEN_TYPE, PUSH_TOKEN, REVISE_TOKEN,
8077 BACKUP_TOKEN, BACKUP_TRIGRAPH, MIGHT_BE_DIRECTIVE,
8078 KNOWN_DIRECTIVE): Delete.
8079
8080 (handle_newline, check_long_token, skip_escaped_newlines,
8081 unterminated): New functions.
8082 (ACCEPT_CHAR, SAVE_STATE, RESTORE_STATE): New macros.
8083
8084 (parse_identifier): Was parse_name, new implementation.
8085 (skip_line_comment, skip_block_comment, skip_whitespace,
8086 parse_number, parse_string, trigraph_ok, save_comment,
8087 adjust_column, _cpp_get_line): New implementations.
8088
8089 (lex_token): New function. Lexes a token at a time, looking
8090 forwards. Contains most of the guts of the old lex_line.
8091 (lex_line): New implementation, using lex_token to obtain
8092 individual tokens.
8093 (cpp_scan_buffer): Use the token's line, not the list's line.
8094
8095 * cpplib.c (_cpp_check_directive, _cpp_check_linemarker):
8096 New implementations.
8097 (do_assert): Don't bother setting the answer's list's line.
8098 (cpp_push_buffer): Initialise new pfile and read_ahead members
8099 of struct cpp_buffer.
8100
8101 * cpplib.h (cppchar_t): New typedef.
8102 (struct cpp_buffer): read_ahead, pfile and col_adjust are
8103 new members.
8104 (struct lexer_state): New structure that determines the state
8105 and behaviour of the lexer.
8106 (IN_DIRECTIVE, KNOWN_DIRECTIVE): New macros.
8107 (struct cpp_reader): New member "state". Rename
8108 multiline_string_line and multiline_string_column. Delete
8109 col_adjust, in_lex_line members.
8110 (CPP_BUF_COLUMN): Update.
8111
a191f0ee
RH
81122000-09-18 Richard Henderson <rth@cygnus.com>
8113
9f8e169e
RH
8114 * combine.c (simplify_comparison): Shift a NOT out of a single
8115 bit test.
8116
1f3f36d1
RH
8117 * combine.c (if_then_else_cond): Canonicalize BImode true to
8118 STORE_FLAG_VALUE.
8119 * explow.c (trunc_int_for_mode): Likewise.
8120
5bd60ce6
RH
8121 * combine.c (combine_simplify_rtx): Use gen_unary to distribute
8122 the NOT for De Morgan's rule.
8123 * simplify-rtx.c (simplify_unary_operation): Simplify a BImode NOT
8124 of a comparison to the reverse comparison.
8125
d340408c
RH
8126 * combine.c (try_combine): Allow split to create a single insn.
8127
a191f0ee
RH
8128 * machmode.def: Add BImode. Add a column for bitsize.
8129 * machmode.h (DEF_MACHMODE): Adjust for extra column.
8130 (GET_MODE_BITSIZE): Use it.
8131 * rtl.c (DEF_MACHMODE): Adjust for extra column.
8132 (mode_bitsize): New.
8133 (mode_mask_array): Use bitsize.
8134 * combine.c (combine_simplify_rtx): Require inner and outer
8135 modes to match on nonzero_bits optimizations.
8136
5d77a50c
BS
81372000-09-18 Bernd Schmidt <bernds@redhat.co.uk>
8138
8139 * reload1.c (forget_old_reloads_1): If a hard reg is stored, clear
8140 its entry in spill_reg_store.
0fb8cb90 8141 * config/sh/lib1funcs.ams (movstr_i4 functions): Always compile in.
2e361e59
BS
8142 * sh.c (reg_no_subreg_operand): New function.
8143 * sh-protos.h (reg_no_subreg_operand): Declare it.
8144 * sh.h (PREDICATE_CODES): Add it.
8145 * sh.md (floatsisf2_i4, floatsidf2_i, extendsfdf2_i4): Use it for
8146 input operand that needs to be in fpul.
8147 (fix_truncsfsi2, fix_truncsfsi2_i4): Use register_operand for output.
42d5d0f1
BS
8148 * sh.c (find_barrier): Take into account that machine_dependent_reorg
8149 might add new insns.
5d77a50c 8150
55eec660
AO
81512000-09-18 Alexandre Oliva <aoliva@redhat.com>
8152
40fc375d
AO
8153 * config/sh/sh.c (sh_expand_prologue): Mark GOTaddr2picreg as
8154 MAYBE_DEAD.
8155 (sh_expand_epilogue): Take the PIC register into account when
8156 computing the frame size.
8157
55eec660
AO
8158 * config/sh/sh.c (nonpic_symbol_mentioned_p): Check LABEL_REFs.
8159 * config/sh/sh.md (sym_label2reg, symPLT_label2reg): Protect
8160 LABEL_REFs with a PIC-safe unspec.
8161
fc6df7e1
JM
81622000-09-18 Joseph S. Myers <jsm28@cam.ac.uk>
8163
8164 * c-common.c (check_format_info): Properly save the argument
8165 number and parameter for $ operand number formats in case width
8166 and precision arguments are also used. Allow printf width and
8167 precision arguments to have operand numbers even if none was
8168 specified for the main format, since this is OK for %*.*m. Only
8169 object to missing $ operand number if the format used requires an
8170 argument.
8171
effa5541
JM
81722000-09-18 Joseph S. Myers <jsm28@cam.ac.uk>
8173
8174 * c-common.c (format_char_info): Add 'W' flag to comment.
8175 (print_char_table, scan_char_table): Use it.
8176 (check_format_info): Use the 'W' flag to determine whether a
8177 format argument is written into.
8178
99303ae4
JM
81792000-09-18 Joseph S. Myers <jsm28@cam.ac.uk>
8180
8181 * c-common.c (check_format_types): Reorganise and clean up,
8182 checking earlier for ERROR_MARKs and making cur_type into its
8183 TYPE_MAIN_VARIANT where convenient.
8184
9231abf2
JM
81852000-09-18 Joseph S. Myers <jsm28@cam.ac.uk>
8186
8187 * gcc.c (cpp_options): Add specs for __STDC_HOSTED__.
8188
cf67d231
BS
81892000-09-18 Bernd Schmidt <bernds@redhat.co.uk>
8190
8191 * optabs.c (emit_libcall_block): Set CONST_CALL_P for the call.
8192
bd793c65
BS
8193 * i386-protos.h (ix86_init_builtins, ix86_expand_builtin): Declare.
8194 * i386.c (struct builtin_description): New.
8195 (bdesc_comi, bdesc_2arg, bdesc_1arg): New arrays.
8196 (mmx_reg_operand): Declare MODE arg as unused.
8197 (ix86_expand_sse_comi, ix86_expand_sse_compare, safe_vector_operand,
8198 ix86_expand_unop1_builtin, ix86_expand_unop_builtin,
8199 ix86_expand_binop_builtin, ix86_expand_store_builtin,
8200 ix86_init_builtins, ix86_expand_builtin): New functions.
8201 * i386.h (ix86_builtins): New enumeration.
8202 (MD_INIT_BUILTINS, MD_EXPAND_BUILTIN): New macros.
8203 * i386.md (attr length_immediate): 0 for mmx/sse types.
8204 (attr prefix_0f): 1 for mmx/sse types.
8205 (setcc_2): Remove "*" so we get gen_setcc_2.
8206 (emms): Account for changed register numbering. Set "memory" attr
8207 to unknown.
8208 (sfence): Set "memory" attr to unknown.
8209
4070d885
AJ
82102000-09-18 Andreas Jaeger <aj@suse.de>
8211
8212 * configure.in: Define _GNU_SOURCE only when using the GNU C
8213 Library.
a191f0ee
RH
8214 * configure: Regenerated.
8215 * config.in: Regenerated.
4070d885 8216
2ac86f90
MM
82172000-09-17 Mark Mitchell <mark@codesourcery.com>
8218
31a1fdad
MM
8219 * cppinit.c (cpp_init): Don't use ANSI prototypes.
8220 * flow.c (flow_dump_loop): Likewise.
8221 (flow_loops_dump): Likewise.
8222
2ac86f90
MM
8223 * c-typeck.c (c_start_case): Fix typo.
8224
60e9d01c
JM
82252000-09-17 Joseph S. Myers <jsm28@cam.ac.uk>
8226
8227 * c-decl.c (grokdeclarator): Don't give a warning about defaulting
8228 to int for plain complex which defaults to complex double. Do
8229 warn about defaulting to complex double if pedantic. Warn about
8230 complex integer types if pedantic. Warn about complex types if
8231 pedantic and not in C99 mode.
8232 * c-typeck.c (build_unary_op): If pedantic, warn about use of ~
8233 for complex conjugation.
8234
bc5006c7
JM
82352000-09-17 Joseph S. Myers <jsm28@cam.ac.uk>
8236
8237 * contrib.texi: Update my entry.
8238
7e3bd81e
DC
8239Sun Sep 17 18:48:32 2000 Denis Chertykov <denisc@overta.ru>
8240
23cb1766
RK
8241 * config/avr/avr.md (mcu_enhanced): New attribute.
8242 (mcu_mega): Likewise.
8243 (extendhisi2): Use mcu_enhanced.
8244 (zero_extendhisi2): Likewise.
8245 (call_insn): Use mcu_enhanced and mcu_mega.
8246 (call_value_insn): Likewise.
8247 (*sbrx_branch): Use mcu_mega.
8248 (*sbrx_and_branchsi): Likewise.
8249 (*sbrx_and_branchhi): Likewise.
8250 (*tablejump_lib): Likewise.
7e3bd81e 8251
6a51f4a0
RK
8252Sun Sep 17 10:46:17 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
8253
ec569656
RK
8254 * alias.c (true_dependence): Allow non-unchanging read to conflict
8255 with unchanging write.
8256
23cb1766
RK
8257 * expr.c (store_constructor_field): Accept ALIAS_SET arg.
8258 (store_constructor): Pass alias_set to it.
8259
a52fb89b
RK
8260 * c-decl.c (grokdeclarator): Reorder tests to avoid looking at
8261 TYPE_MAIN_VARIANT of ERROR_MARK.
8262 * c-lex.c (readescape): Avoid using printf syntax we don't recognize.
8263
6a51f4a0
RK
8264 * simplify-rtx.c (simplify_unary_operation): Add cases
8265 FLOAT_EXTEND and FLOAT_TRUNCATE to ones that return 0.
8266
ebb1b59a
BS
82672000-09-17 Bernd Schmidt <bernds@redhat.co.uk>
8268
a191f0ee 8269 * expr.h (emit_library_call, emit_library_call_value): Delete
ebb1b59a
BS
8270 declarations.
8271 * rtl.h (enum libcall_type): New.
8272 (emit_library_call, emit_library_call_value): Change fn_type arg to
a191f0ee 8273 be of type enum libcall_type.
ebb1b59a
BS
8274 * calls.c: Likewise for the function definitions. Several callers
8275 throughout changed to use the new enumeration appropriately.
8276 (emit_library_call_value_1): Likewise. Put back code to make libcall
a191f0ee 8277 blocks of equal form, but only use it for the two new higher
ebb1b59a
BS
8278 enumeration values.
8279
8f17b5c5
MM
82802000-09-16 Mark Mitchell <mark@codesourcery.com>
8281
8282 Convert the C front-end to use function-at-a-time mode.
8283 * c-common.h: Include splay-tree.h.
8284 (C_DECLARED_LABEL_FLAG): New macro.
8285 (struct language_function): Add x_scope_stmt_stack and
8286 x_function_name_declared_p.
8287 (RECHAIN_STMTS): Move definition.
8288 (lang_statment_code_p): Likewise.
8289 (lang_expand_stmt): Likewise.
8290 (lang_expand_decl_stmt): New variable.
8291 (lang_expand_function_end): Likewise.
8292 (current_scope_stmt_stack): New function.
8293 (add_decl_stmt): Likewise.
8294 (add_scope_stmt): Likewise.
8295 (mark_stmt_tree): Likewise.
8296 (struct c_lang_decl): New structure.
8297 (DECL_SAVED_TREE): Define.
8298 (c_mark_lang_decl): New function.
8299 (c_expand_start_cond): Change prototype.
8300 (c_finish_then): New function.
8301 (c_finish_else): Likewise.
8302 (current_function_name_declared): Remove.
8303 (set_current_function_name_declared): Likewise.
8304 (mark_c_language_function): Declare.
8305 (case_compare): Likewise.
8306 (c_add_case_label): Likewise.
8307 (c_expand_expr): Likewise.
8308 (c_safe_from_p): Likewise.
8309 * c-common.c (lang_expand_function_end): New variable.
8310 (struct if_elt): Add if_stmt.
8311 (c_expand_start_cond): Add the if-statement to the statement-tree,
8312 rather than generating RTL.
8313 (c_finish_then): New function.
8314 (c_expand_start_else): Don't generate RTL.
8315 (c_finish_else): New function.
8316 (c_expand_expr_stmt): Don't generate RTL.
8317 (statement_code_p): Add SCOPE_STMT.
8318 (case_compare): New function.
8319 (c_add_case_label): Likewise.
8320 (mark_stmt_tree): Likewise.
8321 (c_mark_lang_decl): Likewise.
8322 (mark_c_language_function): Likewise.
8323 (c_expand_expr): Likewise.
8324 (c_safe_from_p): Likewise.
8325 * c-decl.c (c_stmt_tree): New variable
8326 (c_scope_stmt_stack): Likewise.
8327 (c_function_name_declared_p): Likewise.
8328 (lang_expand_expr_stmt): Remove.
8329 (poplevel): Don't call output_inline_function for nested
8330 functions.
8331 (pushdecl): Don't set DECL_CONTEXT for a local declaration of an
8332 `extern' function.
8333 (redeclaration_error_message): Change means of computing whether
8334 or not a function is nested.
8335 (lookup_label): Don't call label_rtx.
8336 (init_decl_processing): Add more GC roots.
8337 (start_decl): Add DECL_STMTs to the statement-tree, rather than
8338 calling rest_of_decl_compilation.
8339 (finish_decl): Don't call expand_decl.
8340 (store_parm_decls): Begin the statement-tree, but don't generate
8341 RTL.
8342 (finish_function): Tie off the statement-tree. Call c_expand_body
8343 if appropriate.
8344 (c_expand_body): New function.
8345 (push_c_function_context): Save more information.
8346 (pop_c_function_contxt): Likewise.
8347 (copy_lang_decl): Now that we use DECL_LANG_SPECIFIC, copy it.
8348 (lang_mark_tree): Mark it.
8349 (current_stmt_tree): Adjust.
8350 (current_scope_stmt_stack): New function.
8351 (do_case): Remove.
8352 (set_current_name_declared): Likewise.
8353 (c_begin_compound_stmt): Define.
8354 (c_expand_decl_stmt): Likewise.
8355 * c-lang.c: Include rtl.h and expr.h.
8356 (lang_init): Set more language-specific hooks.
8357 * c-lex.c: Include expr.h.
8358 * c-parse.in: Changes throughout to add statements to the
8359 statement-tree, rather than generating RTL after every statement.
8360 * c-semantics.c (lang_expand_decl_stmt): Define.
8361 (add_decl_stmt): New function.
8362 (add_scope_stmt): Likewise.
8363 (finish_stmt_tree): Tweak.
8364 (genrtl_expr_stmt): Likewise.
8365 (genrtl_decl_stmt): Handle local labels, and call
8366 lang_expand_decl_stmt if required.
8367 (genrtl_for_stmt): Fix line-number handling.
8368 (genrtl_case_label): Handle cleanups.
8369 (genrtl_asm_stmt): Don't call combine_strings.
8370 (genrtl_compound_stmt): Simplify.
8371 (expand_stmt): Handle SCOPE_STMTs.
8372 * c-tree.h (struct lang_decl): New structure.
8373 (C_DECLARED_LABEL_FLAG): Remove.
8374 (c_begin_compound_stmt): Declare.
8375 (c_expand_decl_stmt): Likewise.
8376 (c_expand_start_case): Rename to c_start_case.
8377 (c_finish_case): New function.
8378 * c-typeck.c (start_init): Tweak setting of
8379 constructor_incremental.
8380 (c_expand_asm_operands): Tweak error-handling. Add to the
8381 statement-tree.
8382 (c_expand_return): Add to the statement-tree.
8383 (c_expand_start_case): Rename to ...
8384 (c_start_case): ... this.
8385 (struct c_switch): New type.
8386 (switch_stack): New variable.
8387 (do_case): Simplify.
8388 (c_finish_case): New function.
8389 * dependence.c: Include expr.h.
8390 (enum dependence_type): Change spelling of enumerals.
8391 (check_node_dependence): Adjust.
8392 * expr.h (lang_safe_from_p): Declare.
8393 (safe_from_p): Likewise.
8394 * expr.c (lang_safe_from_p): New variable.
8395 (safe_from_p): Give it external linkage. Use lang_safe_from_p.
8396 * stmt.c (expand_expr_stmt): Avoid clobberring of last_expr_type.
8397 * toplev.c (rest_of_decl_compilation): Robustify.
8398 * tree.c (contains_placeholder_p): Likewise.
8399 * Makefile.in: Update dependencies.
8400 * objc/objc-act.h: Adjust calculation of value for dummy_tree_code.
8401 * objc/objc-act.c: Include rtl.h, expr.h, and c-common.h.
8402 (objc_expand_function_end): New function.
8403 (finish_method_def): Use it.
8404 (init_objc): Initialize more language-specific hooks.
8405 * objc/Make-lang.in: Update dependencies.
7373064a 8406
4797e955
GK
84072000-09-16 Geoffrey Keating <geoffk@cygnus.com>
8408
8409 * configure.in: Define macros that affect features before
8410 testing for features. Don't define _XOPEN_SOURCE.
8411 * configure: Regenerated.
8412 * config.in: Regenerated.
8413
ae0fb1b9
JW
8414Sat Sep 16 19:42:50 EDT 2000 John Wehle (john@feith.com)
8415
8416 * rtlanal.c (rtx_varies_p): Volatile asms vary.
8417 (rtx_unstable_p): Restructure code. Volatile asms
8418 are unstable.
8419
5748b2cb 8420Sat Sep 16 14:35:55 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
ae0f4dee 8421
87c31d6b
RK
8422 * function.h (no_debugging_symbols): New field.
8423 * integrate.c (save_for_inline): Renamed from save_for_inline_nocopy.
8424 Initialize no_debugging_symbols.
8425 (output_inline_function): Save and restore write_symbols and set from
8426 no_debugging_symbols.
8427 * toplev.c (rest_of_compilation): Call save_for_inline.
8428 * tree.h: Update comment.
7373064a 8429
5748b2cb
RK
8430 * stor-layout.c (place_field): Don't do anything if field or
8431 its type are ERROR_MARK.
8432
8433Sat Sep 16 19:14:00 2000 Laurynas Biveinis <lauras@softhome.net>
8434
8435 * cppfiles.c (purge_cache): Use munmap only if MMAP_THRESHOLD defined.
8436 (read_include_file): Ensure inc->mmaped is initialized.
ae0f4dee 8437
6f84c9bd
RH
84382000-09-16 Richard Henderson <rth@cygnus.com>
8439
8440 * cppiles.c (purge_cache): Use PTR not caddr_t.
8441
50c57e7b
HPN
84422000-09-16 Hans-Peter Nilsson <hp@axis.com>
8443
8444 * gcc.c: In description for %{<S}, say the option removed is -S.
8445 * invoke.texi (Spec Files): Ditto.
8446
dd745546
AJ
84472000-09-16 Andreas Jaeger <aj@suse.de>
8448
8449 * configure.in: Always define _GNU_SOURCE to make interfaces
8450 visible that were hidden by only defining _GNU_SOURCE.
8451 * configure: Regenerated.
8452
08ebc1c5
NB
8453Sat 16-Sep-2000 08:13:45 BST Neil Booth <NeilB@earthling.net>
8454
8455 * cpplex.c (push_macro_context): Set an argument's level after
8456 calling parse_args. We could loop infinitely otherwise.
8457
16abe34a
TT
84582000-09-15 Tom Tromey <tromey@cygnus.com>
8459
8460 * configure, config.in: Rebuilt.
8461 * configure.in: Check for iconv.h. Define _XOPEN_SOURCE.
8462
61c16b10
GM
84632000-09-15 Greg McGary <greg@mcgary.org>
8464
8465 * cppmacro.c (check_trad_stringification): Check token
8466 text pointers against limit before dereferencing.
8467
6a357625
JM
84682000-09-15 Joseph S. Myers <jsm28@cam.ac.uk>
8469
8470 * c-common.c (format_wanted_type): New structure.
8471 (check_format_types): New function.
8472 (check_format_info): Pass all checking of types of format
8473 arguments, including width and precision arguments, to this new
8474 function.
8475
6a1d1088
GP
84762000-09-15 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
8477
8478 * BUGS: Remove file.
8479
a3b815cb
JJ
84802000-09-15 Jakub Jelinek <jakub@redhat.com>
8481
54f5c4b0
JJ
8482 * config/alpha/alpha.c (override_options): ev6 cache latencies
8483 from Richard Henderson. Don't allow -mmemory-latency=L0.
8484
a3b815cb
JJ
8485 * config/alpha/alpha.h (TARGET_CPU_EV5, TARGET_CPU_EV6): Define.
8486 (TARGET_OPTIONS): Add tune=.
8487 (alpha_tune_string): Declare.
8488 * config/alpha/alpha.c (override_options): Add cpu_table.
8489 Use alpha_cpu_string first to set both alpha_cpu and target_flags
8490 and then alpha_tune_string to set alpha_cpu only.
8491 Replace tests for PROCESSOR_EV* with TARGET_CPU_EV* tests.
8492 * config/alpha/elf.h (ASM_FILE_START): Likewise.
8493 * config/alpha/osf.h (ASM_FILE_START): Likewise.
8494 * config/alpha/openbsd.h (ASM_FILE_START): Likewise.
8495
9076b9c1
JH
8496Fri Sep 15 19:45:55 MET DST 2000 Jan Hubicka <jh@suse.cz>
8497
8498 * i386-protos.h (no_comparison_operator, uno_comparison_operator):
8499 Remove.
8500 (ix86_comparison_operator, ix86_cc_mode): Declare
8501 * i386.h (CCGC, CCGCO): New modes.
8502 (SELECT_CC_MODE): Move offline to ....
8503 * i386.c (ix86_cc_mode): .... here; use new modes.
8504 (ix86_comparison_operator): New.
8505 (fcmov_comparison_operator): Ensure proper mode.
8506 (put_condition_mode): More sanity checking.
8507 (ix86_match_ccmode): Handle new modes.
8508 (ix86_expand_fp_compare): GEU requires CCmode.
8509 (ix86_expand_strlensi_unroll_1): Use emit_cmp_and_jump_insn instead of
8510 doing it by hand.
8511 * i386.md (cmp?i_ccz_1): Remove
8512 (cmp?i_ccno_1): Use ix86_match_ccmode.
8513 (cmp?i_minus_1): New.
8514 (cmpsi_1): New expander.
8515 (cmpqi_ext_1): Use match_ccmode
8516 (cmpqi_ext_3): New expander.
8517 (cmpqi_ext_3_insn): Rename from cmpqi_ext_3.
8518 (cmpqi_ext_4): Use match_ccmode.
8519 (add?i_?): Use match_ccmode.
8520 (add?i_6): New.
8521 (test?i_ccz_1): Remove
8522 (test?i_1): New.
8523 (testsi_ccno_1, testqi_ccz_1, testqi_ext_ccno_0): New expander.
8524 (testqi_ext_0): Use ix86_match_ccmode.
8525 (*xorqi_cc_ext_1): Use ix86_match_ccmode.
8526 (xorqi_cc_ext_1): New expander.
8527 (shift patterns): Use CCGOCmode for all shifts except for sar.
8528 (setcc_?, jcc_?, miv?icc_nic): Use ix86_comparison_operator.
8529 (setcc_3, jcc_3, miv?icc_c): Remove.
8530
3724ec07
WC
85312000-09-15 Will Cohen <wcohen@redhat.com>
8532
8533 * dwarf2out.c (add_const_value_attribute): Changed array into a
8534 xmalloced object, so it exists after function exit.
8535 (free_AT): Added case for dw_val_class_float to free allocated
8536 memory.
8537
182a4620
KH
85382000-09-15 Kazu Hirata <kazu@hxi.com>
8539
8540 * config/i386/i386.md: Fix a comment typo.
d25a45d4 8541 * gcc.c: Fix formatting.
182a4620 8542
aff2c2d3
BS
85432000-09-15 Bernd Schmidt <bernds@redhat.co.uk>
8544
8545 * optabs.c (emit_libcall_block): If target is a user variable,
8546 copy to a temporary first.
642dfa8b
BS
8547 * expr.c (convert_move): When generating a libcall, make a libcall
8548 block.
188c5e6c
BS
8549 * calls.c (emit_library_call_value_1): Don't create a libcall
8550 sequence here; our caller will in most cases do it.
aff2c2d3 8551
0c4c9b16
BS
8552 * sh.h (SECONDARY_INPUT_RELOAD_CLASS): Handle moving T, MACL or
8553 MACH into FPUL.
8554 (SECONDARY_OUTPUT_RELOAD_CLASS): Similar case.
8555 * sh.md (reload_outsf): Generate recognizable patterns for
8556 TARGET_SH3E.
8557 (floatsisf2, floatsisf2_ie, floatsisf2_i4, fix_truncsfsi2,
8558 fix_truncsfsi2_i4, fixsfsi, floatsidf2, floatsidf2_i, fix_truncdfsi2,
8559 fix_truncdfsi2_i, extendsfdf2, extendsfdf2_i4, truncdfsf2,
8560 truncdfsf2_i4): Change not to use explicit references to fpul.
8561 (floatsisf2_ie): Remove USE of fpscr.
8562 (floatsisf2): Change default expansion to match this.
8563 (fix_truncsfsi2_i4_2, fix_truncdfsi2_i4 & splitters): Comment out
8564 unused patterns.
8565
308ecea0
RH
85662000-09-15 Richard Henderson <rth@cygnus.com>
8567
8568 * expmed.c (store_bit_field): Consider naturally aligned
8569 memory for direct reference.
8570
e01acbb1
RH
85712000-09-15 Richard Henderson <rth@cygnus.com>
8572
8573 * config/alpha/alpha.c (alpha_expand_unaligned_load): Force all
8574 AND addresses into alias set 0.
8575 (alpha_expand_unaligned_store): Likewise.
8576 (alpha_expand_unaligned_load_words): Likewise.
8577 (alpha_expand_unaligned_store_words): Likewise.
8578
c363a0c0
BS
85792000-09-15 Bernd Schmidt <bernds@redhat.co.uk>
8580
8581 * config/sh/sh.h (CPP_SPEC): For -m4-nofpu, define __SH4_NOFPU__.
8582 * config/sh/lib1funcs.asm (movstr_i4): Also compile if __SH4_NOFPU__
8583 is defined.
dd193c79
BS
8584 * config/mips/mips.c (mips_va_arg): Args passed by reference have a
8585 rsize of UNITS_PER_WORD.
c363a0c0 8586
ff94c747
NB
8587Fri 15-Sep-2000 06:49:07 BST Neil Booth <NeilB@earthling.net>
8588
8589 * cpplex.c (ON_REST_ARG): Correct the test.
8590 (maybe_paste_with_next): Duplicate a token that fail pasting,
8591 and clear its PASTE_LEFT flag, so that nested pasting attempts
8592 do not occur.
8593
b437f1a7
RH
85942000-09-14 Richard Henderson <rth@cygnus.com>
8595
8596 * calls.c (precompute_register_parameters): Use COSTS_N_INSNS, not 2.
8597 * cse.c (rtx_cost): Likewise.
8598 * optabls.c (expand_binop): Likewise.
8599 (expand_twoval_binop, prepare_cmp_insn): Likewise.
8600 * regclass.c (copy_cost): Likewise.
8601 * reload1.c (reload_cse_move2add): Likewise.
8602
d9dbd9b1
JM
86032000-09-14 Joseph S. Myers <jsm28@cam.ac.uk>
8604
8605 * c-parse.in (reswords): Add _Complex.
8606
9207d3b1
DA
86072000-09-14 J. David Anglin <dave@hiauly1.hia.nrc.ca>
8608
8609 * gcc.1: Delete documentation for -undef preprocessor option.
8610
395a451c
AO
86112000-09-14 Alexandre Oliva <aoliva@redhat.com>
8612
8613 * config/sh/sh.h (INIT_SECTION_ASM_OP, FINI_SECTION_ASM_OP,
8614 STARTFILE_SPEC, ENDFILE_SPEC): Remove define.
8615 * config/sh/elf.h (INIT_SECTION_ASM_OP, FINI_SECTION_ASM_OP):
8616 Remove undefine before config/elfos.h.
8617 * config/sh/t-sh (EXTRA_MULTILIB_PARTS): Comment out.
8618
17f0f8fa
KH
86192000-09-14 Kazu Hirata <kazu@hxi.com>
8620
8621 * invoke.texi (H8/300 Options): Add -ms2600.
8622 * config/h8300.c (h8300_init_once): Output an error when -ms2600
8623 is used without -ms.
8624 * config/h8300.h (TARGET_MAC): New.
8625 (TARGET_SWITCHES): Add -ms2600 and -mno-s2600.
8626 (CONDITIONA_REGISTER_USAGE): Disable the mac register on any
8627 machine other than H8/S2600.
8628 * config/h8300.md: Accept mac instructions on the H8/S2600 instead
8629 of the H8/S2000.
8630
9e8f528c
AO
86312000-09-14 Alexandre Oliva <aoliva@redhat.com>, Bernd Schmidt <bernds@redhat.co.uk>
8632
8633 * reload.c (find_reloads_address_1): Generate reloads for auto_inc
8634 pseudos that refer to the original pseudos, not only to their
8635 equivalent memory locations.
8636
9985f210
RK
8637Thu Sep 14 12:10:16 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
8638
fe7a8445
RK
8639 * expr.c (expand_expr, case COMPONENT_EXPR): Copy memory attributes
8640 when making new MEM.
8641
9985f210
RK
8642 * Makefile.in (LN): Remove duplicate definition.
8643
2f93c5c3
BS
86442000-09-12 Bernd Schmidt <bernds@redhat.co.uk>
8645
8646 From Joern Rennecke:
8647 * local-alloc.c (update_equiv_regs): If there is no REG_EQUAL note
8648 on an insn and function_invariant_p returns nonzero for the source,
8649 add a REG_EQUAL note.
8650
b24ea077
JW
8651Thu Sep 14 00:51:57 EDT 2000 John Wehle (john@feith.com)
8652
8653 * alias.c (memrefs_conflict_p): An ADDRESSOF doesn't
8654 conflict with frame_pointer_rtx.
8655
fd5d5b07
KH
86562000-09-13 Kazu Hirata <kazu@hxi.com>
8657
8658 * loop.c: Fix formatting.
8659 * loop.h: Likewise.
8660
26102535
RH
86612000-09-13 Richard Henderson <rth@cygnus.com>
8662
8663 * config/ia64/ia64.md (divsf3): New.
8664 (divsf3_internal_lat, divsf3_internal_thr): New.
8665 (divdf3, divdf3_internal_lat, divdf3_internal_thr): New.
8666 (divtf3, divtf3_internal_lat, divtf3_internal_thr): New.
8667 (adddf3_trunc, subdf3_trunc, muldf3_trunc): New.
8668 (madddf4_trunc, msubdf4_trunc, nmuldf3_trunc): New.
8669 (nmadddf4_alts, nmadddf4_trunc): New.
8670 (addtf3_truncsf, addtf3_truncdf, subtf3_truncsf): New.
8671 (subtf3_truncdf, multf3_truncsf, multf3_truncdf): New.
8672 (multf3_truncsf_alts, multf3_truncdf_alts): New.
8673 (maddtf4_truncsf, maddtf4_truncdf, maddtf4_alts_truncdf): New.
8674 (msubtf4_truncsf, msubtf4_truncdf, nmultf3_truncsf): New.
8675 (nmultf3_truncdf, nmaddtf4_truncsf, nmaddtf4_truncdf): New.
8676 (nmaddtf4_truncdf_alts): New.
8677 (recip_approx): Don't predicate.
8678
938566fb
RH
86792000-09-13 Richard Henderson <rth@cygnus.com>
8680
8681 * config/ia64/lib1funcs.asm (__divsf3): Protect fnorm.s with p6.
8682
c349e40b
SC
86832000-09-13 Stephane Carrez <Stephane.Carrez@worldnet.fr>
8684
8685 * flags.h (flag_dump_rtl_in_asm): Declare.
8686 * toplev.c (flag_dump_rtl_in_asm): Define.
8687 (decode_d_option): Set flag_dump_rtl_in_asm and flag_print_asm_name
8688 if -dP is specified.
8689 * rtl.h (print_rtx_head): Declare.
8690 * print-rtl.c (print_rtx_head): Define.
8691 (print_rtx): Print the string pointed to by print_rtx_head
8692 at beginning of each dump line.
8693 (print_rtl): Likewise.
8694 (print_rtl_single): Likewise.
8695 * final.c (final_scan_insn): Dump the insn in the assembly
8696 file for debugging.
8697 * gcc.1: Document -dP option.
8698 * invoke.texi (Debugging Options): Likewise.
8699
2856c3e3
SC
87002000-09-13 Stephane Carrez <Stephane.Carrez@worldnet.fr>
8701
8702 * md.texi (Machine Constraints): Document the 68HC11 constraints.
8703 * install.texi (Configurations): Document the 68HC11&68HC12 port.
8704 * invoke.texi (Option Summary, M68hc1x Options): Document the options.
8705
1ca04dc8
DC
8706Tue Sep 12 13:51:13 2000 Denis Chertykov <denisc@overta.ru>
8707
8708 * config/avr/avr.h (ASSEMBLER_DIALECT): New macro declared.
8709 * config/avr/avr.md (*movstrqi_insn): Cleanup output template.
8710 (*clrstrqi): Likewise.
8711 (xorhi3,xorsi3,absqi2): Likewise.
8712 (one_cmplhi2,one_cmplsi2): Likewise.
8713 (addsi3): Two stupid constraint alternatives removed.
8714 (extendhisi2): Use `movw' for enhanced avr cores.
8715 (zero_extendhisi2): Likewise.
8716
bb07060a
JW
8717Wed Sep 13 02:31:23 EDT 2000 John Wehle (john@feith.com)
8718
8719 * alias.c (find_base_term): Use frame_pointer_rtx
8720 when handling an ADDRESSOF.
8721
8722 * cse.c (canon_hash): Handle USE of BLKmode memory.
8723 (cse_insn): Outgoing arguments for a libcall don't
8724 affect any recorded expressions.
8725
d21445e7
TT
87262000-09-12 Tom Tromey <tromey@cygnus.com>
8727
8728 * configure, config.in: Rebuilt.
8729 * configure.in: Check for iconv, nl_langinfo, langinfo.h.
8730
5c80f6e6
JJ
87312000-09-12 Jakub Jelinek <jakub@redhat.com>
8732
8733 * c-lex.c (lex_string): Use charwidth to compute bytemask.
8734 * expr.c (expand_expr): Don't optimize constant array references
8735 initialized with wide string constants.
8736
635a2a90
MH
87372000-09-13 Michael Hayes <mhayes@cygnus.com>
8738
a191f0ee 8739 * loop.c (note_set_pseudo_multiple_uses): Correct.
635a2a90 8740
cc2999aa
JW
87412000-09-12 Jim Wilson <wilson@cygnus.com>
8742
8743 * ifcvt.c (noce_process_if_block): If A and B are the same, and no
8744 else block, and X has side-effects, then fail.
8745
a0b6cdee
GM
87462000-09-12 Greg McGary <greg@mcgary.org>
8747
8748 * config/mips/mips-protos.h
8749 (trap_cmp_op, mips_gen_conditional_trap): New func decls.
8750 * config/mips/mips.h (ISA_HAS_COND_TRAP): New macro.
8751 (PREDICATE_CODES): Add "trap_cmp_op".
8752 * config/mips/mips.c
8753 (trap_cmp_op, mips_gen_conditional_trap): New functions.
8754 * config/mips/mips.md (trap, conditional_trap): New patterns.
8755
24948ccc
BS
87562000-09-12 Bernd Schmidt <bernds@redhat.co.uk>
8757
8758 * flow.c (try_pre_increment_1): Don't do anything to sets of the stack
8759 pointer.
8760
3ff5f682
KG
87612000-09-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
8762
8763 * builtins.c (built_in_decls): New array.
8764 (expand_builtin_fputs): New function.
8765 (expand_builtin): Handle BUILT_IN_FPUTC and BUILT_IN_FPUTS.
8766
8767 * builtins.def (BUILT_IN_FPUTC, BUILT_IN_FPUTS): New members.
8768
8769 * c-common.c (c_common_nodes_and_builtins): Handle fputc/fputs.
8770
8771 * tree.h (built_in_decls): New array.
8772
208b0ab1
JL
8773Tue Sep 12 08:53:57 2000 Jeffrey A Law (law@cygnus.com)
8774
8775 * convex.md: Use "+" instead of "=" for outputs wrapped in a
8776 STRICT_LOW_PART.
8777 * i370.md, i386.md, ns32k.md, sh.md, vax.md: Likewise.
8778
a86dc4a3
KH
87792000-09-12 Kazu Hirata <kazu@hxi.com>
8780
7a403706
KH
8781 * haifa-sched.c: Fix formatting.
8782
c9541287
KH
8783 * genattrtab.c: Fix formatting.
8784
a86dc4a3
KH
8785 * unroll.c: Fix formatting.
8786
3af556f7
BK
87872000-09-12 Bruce Korb <bkorb@gnu.org>
8788
8789 * fixinc/fixfixes.c: make a type for the fix procedure & use it,
8790 remove obsolete code
8791 * fixinc/fixincl.c: Use PARAMS, not _P_. Add no-op default to switch.
8792 * fixinc/fixincl.tpl: make non-exported arrays static scope
8793 * fixinc/fixincl.x: regenerate
8794 * fixinc/fixlib.h: Use PARAMS, not _P_
8795 * fixinc/fixtests.c: make a type for the test proc & use it
8796 * fixinc/server.h: Use PARAMS, not _P_
8797
32892c52
KG
87982000-09-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
8799
8800 * c-typeck.c (process_init_element): Avoid union init warnings on
8801 floating point zero. Don't crash on unions containing structs.
8802
ae0a1c23
AO
88032000-09-12 Alexandre Oliva <aoliva@redhat.com>
8804
8805 * config/sh/sh.h (PREDICATE_CODES): Add CONST_DOUBLE to
8806 general_movsrc_operand, and remove CONST_INT from
8807 general_movdst_operand.
8808
f1c1dfc3
BS
88092000-09-12 Bernd Schmidt <bernds@redhat.co.uk>
8810
8811 * cse.c (approx_reg_cost): If SMALL_REGISTER_CLASSES, return INT_MAX
8812 if a reference to non-fixed hardreg is seen. Otherwise, count hard
8813 regs with a higher cost.
8814 (preferrable): Deal with cases where either cost or regcost is
8815 MAX_COST.
8816 (cse_insn): Use MAX_COST rather than 10000. Always initialize
8817 regcost values.
8818 (COSTS_N_INSNS): Move definition...
8819 * rtl.h: ...here.
8820 (MAX_COST): New macro.
8821 * loop.c (init_loop): Use COSTS_N_INSNS macro instead of hardcoded
8822 constant.
8823
f444e36b
MM
88242000-09-11 Mark Mitchell <mark@codesourcery.com>
8825
8826 * c-common.h (genrtl_clear_out_block): Remove.
8827 * c-semantics.c (genrtl_clear_out_block): Remove.
8828 (genrtl_while_stmt): Don't call it.
8829 (genrtl_for_stmt): Likewise.
8830
a58d32c2
ZW
88312000-09-11 Zack Weinberg <zack@wolery.cumb.org>
8832
8833 * cppfiles.c: Move all default-#defines to top of file.
8834 (open_include_file): Replace by lookup_include_file.
8835 (read_with_read, read_file): Merged into read_include_file.
8836 (stack_include_file, purge_cache): New functions.
8837 (close_cached_fd): Delete.
dd745546 8838 (lookup_include_file, read_include_file, _cpp_pop_file_buffer):
a58d32c2
ZW
8839 Cache the in-memory buffer, not the file descriptor.
8840
8841 * cpphash.h (struct include_file): Add buffer, st, refcnt,
8842 mapped fields.
8843 (xcnew): New utility macro.
8844 (DO_NOT_REREAD, NEVER_REREAD): Move up by struct include_file.
8845 * cpplib.h (struct cpp_buffer): Remove mapped field.
8846
88472000-09-11 Zack Weinberg <zack@wolery.cumb.org>
8848
8849 * cpplex.c (parse_string): Accept backslash space newline as a
8850 line continuation.
8851 (lex_line): Likewise.
8852 (_cpp_get_token): Remove hard limit on macro nesting.
8853
bfa29b63
PT
88542000-09-12 Philipp Thomas <pthomas@suse.de>
8855
8856 * aclocal.m4 (AM_WITH_NLS): Don't force use of included gettext.
8857 * configure: Rebuilt.
8858
97ca9316
MH
88592000-09-13 Michael Hayes <mhayes@cygnus.com>
8860
8861 * flow.c (split_block): Fix update of registers live at
8862 end of split block.
8863
d90ffc8d
JH
8864Tue Sep 12 01:51:38 MET DST 2000 Jan Hubicka <jh@suse.cz>
8865
8866 * i386.md (add?i_3, add?i_5): New.
8867 (add?i_4): Rename from add?i_3; Fix compare pattern.
8868 (sub?i_3, xor?i_3, ior?i_3): New.
8869
8870 * genrecog.c (write_tree): Output code to clear insn_extract cache.
8871 * genattrtab.c (write_attr_case): Gen call to extract_insn_cache
8872 instead of extract_insn and extract_constrain_insn_cache instead of
8873 extract_insn and constrain_operands.
8874 * recog.c (extract_insn_cached, extract_constrain_insn_cached):
8875 New functions.
8876 (extract_insn): Clear which_alternative.
8877 (constrain_operands): Set which_alternative to -1 when failed.
8878 * recog.h (extract_constrain_insn_cached, extract_insn_cached):
8879 Declare.
8880
4843bda9
MH
88812000-09-11 Matthew Hiller <hiller@redhat.com>
8882
8883 * config/h8300/h8300.md (movstrictqi): Changed constraint modifier
8884 on operand 0 to '+'.
8885 (movstricthi): Likewise.
8886
ed5bb68d
MH
88872000-09-12 Michael Hayes <mhayes@cygnus.com>
8888
8889 * loop.h (LOOP_IVS): New macro.
8890 (REG_IV_TYPE, REG_IV_INFO): Add ivs argument.
8891 (struct loop_ivs): New.
8892 (struct loop_info): Add ivs field.
8893 (reg_iv_type, reg_iv_info): Delete prototype.
8894 (reg_biv_class, loop_iv_list): Likewise.
8895 * loop.c (record_biv, find_life_end): Pass loop argument.
8896 (reg_iv_type): Remove global array and use
8897 field in loop_regs structure within loop_ivs structure.
8898 (reg_iv_info, reg_biv_class, loop_iv_list): Likewise.
8899 (first_increment_giv, last_increment_giv): Use entry in
8900 loop_ivs structure.
8901 (record_initial): Pass ivs pointer.
8902 * unroll.c (copy_loop_body, remap_split_bivs): Add loop argument.
8903
1ecd860b
MH
89042000-09-12 Michael Hayes <mhayes@cygnus.com>
8905
8906 * loop.h (LOOP_REGS): New macro.
8907 (struct loop_regs): New.
8908 (struct loop_info): Add regs field.
dd745546 8909 * loop.c (set_in_loop): Remove global array and store
1ecd860b
MH
8910 in loop_regs structure as part of loop_info structure.
8911 (n_times_set, may_not_optimize): Likewise.
8912 (reg_single_usage, moved_once): Likewise.
8913 (count_one_set): Add regs argument.
8914 (combine_movables, rtx_equal_for_loop_p, combine_givs): Likewise.
8915 (set_pseudo_multiple_uses): Pass regs pointer.
8916
0a5b41f2
MH
89172000-09-12 Michael Hayes <mhayes@cygnus.com>
8918
8919 * unroll.c (iteration_info): Subsume into loop_iterations.
8920 * loop.h (loop_info): New field iv.
8921
5d6a16e2
MH
89222000-09-12 Michael Hayes <mhayes@cygnus.com>
8923
8924 * basic-block.h (LOOP_TREE, LOOP_PRE_HEADER, LOOP_EDGES): New.
8925 (LOOP_EXITS_DOMS, LOOP_ALL): Likewise.
8926 (flow_loops_update): New prototype.
8927 (flow_loops_find): Add flags to prototype.
8928 (struct loop): Add `pre_header_root' and `pre_header_trace' fields.
8929 * flow.c (flow_loop_pre_header_scan): New.
8930 (flow_loop_dump): Dump pre-header root and trace and exit dominators.
8931 (flow_loop_free): Free pre-header root and trace and exit dominators.
8932 (flow_loops_find): New argument flags.
8933 (flow_loops_update): New function.
8934 * toplev.c (rest_of_compilation): Add flag argument to flow_loops_find.
8935
c586192c
MH
89362000-09-12 Michael Hayes <mhayes@cygnus.com>
8937
8938 * basic-block.h (split_block, update_bb_for_insn): New prototypes.
8939 * flow.c (split_block, update_bb_for_insn): New functions.
8940
a5e5cf67
RH
89412000-09-11 Richard Henderson <rth@cygnus.com>
8942
8943 * cse.c (fold_rtx): Honor NO_FUNCTION_CSE.
8944
655f2eb9
RH
89452000-09-11 Richard Henderson <rth@cygnus.com>
8946
8947 * config/ia64/ia64-protos.h (fr_nonimmediate_operand): Declare.
8948 * config/ia64/ia64.c (fr_nonimmediate_operand): New.
8949 (ia64_override_options): Prevent optimizing division for both
8950 latency and throughput.
8951 (rtx_needs_barrier): Handle frcpa.
8952 * config/ia64/ia64.h (MASK_INLINE_DIV_LAT): New.
8953 (MASK_INLINE_DIV_THR, TARGET_INLINE_DIV_LAT): New.
8954 (TARGET_INLINE_DIV_THR, TARGET_INLINE_DIV): New.
8955 (TARGET_SWITCHES): Add -minline-divide-min-latency and
8956 -minline-divide-max-throughput.
8957 (PREDICATE_CODES): Update.
8958 * config/ia64/ia64.md (extendsidi2): Remove * from f case.
8959 (zero_extendsidi2): Likewise. Fix typo in f case insn.
8960 (extendsfdf2): Add cases for gr<->fr and fr<->mem.
8961 (extendsftf2): Likewise.
8962 (extenddftf2): Likewise.
8963 (fix_trunctfdi2_alts): New.
8964 (fixuns_trunctfdi2_alts): New.
8965 (madd*4): Rename from madd*3.
8966 (divsi3, modsi3, udivsi3, umodsi3): New.
8967 (divsi3_internal): New.
8968 (divdi3, moddi3, udivdi3, umoddi3): New.
8969 (divdi3_internal_lat, divdi3_internal_thr): New.
8970 (multf3_alts, maddtf4_alts, nmaddtf4_alts): New.
8971 (recip_approx): New.
8972
b5d7770c
AO
89732000-09-11 Alexandre Oliva <aoliva@redhat.com>
8974
8975 * print-rtl.c (debug_call_placeholder_verbose): New variable.
8976 (print_rtx) [CALL_PLACEHOLDER]: Dump all call sequences if it is
8977 set.
8978 * integrate.c (copy_rtx_and_substitute): Don't share
8979 LEAF_REG_REMAPpable registers with the inlined function. Don't
8980 share the function value with calling sequences.
8981
6ff85fd8
JJ
89822000-09-11 Jakub Jelinek <jakub@redhat.com>
8983
2a1da89b
JJ
8984 * c-decl.c (do_case): Fix a typo.
8985
6ff85fd8
JJ
8986 * combine.c (simplify_if_then_else): Don't convert a == b ? b : a
8987 to a if the comparison is floating mode and not -ffast-math.
8988 * simplify-rtx.c (simplify_ternary_operation): Likewise.
8989
4102c782
R
8990Mon Sep 11 20:07:48 2000 J"orn Rennecke <amylaar@redhat.co.uk>
8991
8992 * sh.h (INITIALIZE_TRAMPOLINE): Remove stray call to
8993 gen_ic_invalidate_line.
8994
52a21fc6
PB
89952000-09-11 Philip Blundell <pb@futuretv.com>
8996
8997 * config/arm/elf.h (SUBTARGET_CPP_SPEC): Don't define `arm_elf'.
8998
669ed2b1
UD
8999Mon Sep 11 10:48:41 2000 Ulrich Drepper <drepper@redhat.com>
9000
9001 * install.texi (LANGUAGES): Update to include new languages.
9002 * INSTALL: Rebuilt.
9003
50936d27
DD
90042000-09-11 DJ Delorie <dj@redhat.com>
9005
9006 * gcc.c (main): Don't warn about unused -B prefixes
9007 (unused_prefix_warnings): remove
9008
00174bdf
KH
90092000-09-11 Kazu Hirata <kazu@hxi.com>
9010
f5d927c0
KH
9011 * final.c: Fix formatting.
9012
00174bdf
KH
9013 * integrate.c: Fix formatting.
9014
b14066a9
GK
90152000-09-11 Geoff Keating <geoffk@cygnus.com>
9016
9017 * alias.c (memrefs_conflict_p): An ADDRESSOF does conflict, sorry.
9018
e695931e
BS
90192000-09-11 Bernd Schmidt <bernds@redhat.co.uk>
9020
9021 * reload.c (regno_clobbered_p): Fix thinko in previous change.
9022
456aadaa
SC
90232000-09-10 Stephane Carrez <Stephane.Carrez@worldnet.fr>
9024
9025 * gcc.1: Document 68hc11 specific options.
9026
9cb8fcaf
GK
90272000-09-10 Geoff Keating <geoffk@cygnus.com>
9028
e0f7170a
GK
9029 * config/rs6000/sysv4.h (MASK_LONG_DOUBLE_128): Define.
9030 (TARGET_LONG_DOUBLE_128): Define.
9031 (SUBTARGET_SWITCHES): Add -mlong-double-64 and -mlong-double-128.
9032 (LONG_DOUBLE_TYPE_SIZE): Redefine.
9033 (MAX_LONG_DOUBLE_TYPE_SIZE): Define.
9034 (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Define depending on definition
9035 of __LONG_DOUBLE_128__.
9036 (CPP_SYSV_SPEC): Define __LONG_DOUBLE_128__ if -mlong-double-128
9037 passed.
9038 (CPP_LONGDOUBLE_DEFAULT_SPEC): Define.
9039 (CPP_SYSV_DEFAULT_SPEC): Define.
9040 (SUBTARGET_EXTRA_SPECS): Add cpp_longdouble_default.
9041 (INIT_TARGET_OPTABS): Define.
9042
9cb8fcaf
GK
9043 * config/rs6000/aix.h (RS6000_ITRUNC): Moved from rs6000.h.
9044 (RS6000_UITRUNC): Likewise.
9045 (INIT_TARGET_OPTABS): New macro.
9046 * config/rs6000/rs6000.c (rs6000_trunc_used): Delete.
9047 (trunc_defined): Delete.
9048 (output_prolog): Don't output .extern definitions for fp->int
9049 conversion routines, ASM_OUTPUT_EXTERNAL_LIBCALL will do it.
9050 * config/rs6000/rs6000.h (rs6000_trunc_used): Delete.
9051 (trunc_defined): Delete.
9052 (RS6000_ITRUNC): Moved to aix.h.
9053 (RS6000_UITRUNC): Likewise.
9054 * config/rs6000/rs6000.md (fix_truncdfsi2): Fail if it would
9055 only emit a libcall.
9056 (fixuns_truncdfsi2): Delete.
9057 (trunc_call): Delete.
9058 (trunc_call_rtl): Delete.
9059
8f820299
ZW
90602000-09-10 Zack Weinberg <zack@wolery.cumb.org>
9061
9062 * varasm.c (make_decl_rtl): Restore leading star on
dd745546 9063 DECL_ASSEMBLER_NAME set for decls with an asmspec.
8f820299 9064
4337bc93
ZW
90652000-09-10 Zack Weinberg <zack@wolery.cumb.org>
9066
9067 * c-pragma.c (handle_pragma_pack): Correct parsing logic so it
9068 won't give a spurious error for '#pragma pack()'. Simplify
9069 control flow for readability. 'reset' action is not necessary.
9070
d8ea8f28
ZW
90712000-09-10 Zack Weinberg <zack@wolery.cumb.org>
9072
9073 * defaults.h: Provide default definitions for: CHAR_TYPE_SIZE,
9074 SHORT_TYPE_SIZE, INT_TYPE_SIZE, LONG_TYPE_SIZE,
9075 LONG_LONG_TYPE_SIZE, WCHAR_TYPE_SIZE, FLOAT_TYPE_SIZE,
9076 DOUBLE_TYPE_SIZE, LONG_DOUBLE_TYPE_SIZE, and WCHAR_UNSIGNED.
9077
9078 * cppexp.c, dwarfout.c, dwarf2out.c, emit-rtl.c, final.c, optabs.c,
9079 profile.c, sdbout.c, tradcif.y, tree.c:
9080 Include defaults.h if not already included.
9081 Don't define the above macros.
9082
9083 * Makefile.in: Update dependencies.
9084
56cb9733
MM
90852000-09-10 Mark Mitchell <mark@codesourcery.com>
9086
9087 * c-common.h (add_stmt): Change prototype.
9088 (RECHAIN_STMTS): New macro.
9089 (CASE_LABEL_DECL): Likewise.
9090 (genrtl_case_label): Change prototype.
9091 (c_expand_start_case): Remove prototype.
9092 (build_case_label): Change prototype.
9093 (decl_constant_value): Declare.
9094 * c-common.c (check_case_value): Handle C++'s extensions to C
9095 semantics.
9096 * c-commnon.def (CASE_LABEL): Add room for the CASE_LABEL_DECL
d8ea8f28 9097 field.
56cb9733
MM
9098 * c-parse.in (stmt): Adjust handling of return statements and case
9099 laels.
9100 * c-semantics.c (add_stmt): Return the new statement.
9101 (genrtl_return_stmt): Take the RETURN_STMT as input, not the
9102 returned expression. Directly generate RTL, rather than calling
9103 c_expand_return.
9104 (genrtl_switch_stmt): Don't call c_expand_start_case.
9105 (build_case_label): Take the LABEL_DECL as input, too.
9106 (genrtl_case_label): Just call add_case_node.
9107 (expand_stmt): Adjust calls to genrtl_return_stmt and
9108 genrtl_case_label.
9109 * c-tree.h (c_expand_start_case): Declare.
9110 * c-typeck.c (decl_constant_value): Give it external linkage.
9111 (c_expand_return): Don't call expand_return or expand_null_return;
9112 use genrtl_return_stmt instead.
9113 * stmt.c (struct nesting): Remove num_ranges field.
9114 (add_case_node): Give it external linkage.
9115 (expand_start_case): Don't set num_ranges.
9116 (expand_start_case_dummy): Don't clear it.
9117 (pushcase): Rely on add_case_node to handle `default' labels.
9118 (add_case_node): Handle `default' labels.
9119 * tree.c (tree_int_cst_compare): New function.
9120 * tree.h (tree_int_cst_compare): Declare.
9121 (add_case_node): Likewise.
9122
aac02f4e
RH
91232000-09-10 Richard Henderson <rth@cygnus.com>
9124
9125 * c-parse.in: Revert last change.
9126 (init_reswords): Do not enter disabled keywords into the ridpointers
9127 table, modulo objc weirdness.
9128 (_yylex): Return the canonical spelling for a keyword.
9129
75d8aea7
PB
91302000-09-10 Philip Blundell <philb@gnu.org>
9131
9132 * config/arm/arm.h (CPP_ISA_SPEC): Don't define `arm' or `thumb'.
9133 * config/arm/linux-elf.h (CPP_PREDEFINES): Don't define `__arm__'.
9134
d982e46e
JW
9135Sun Sep 10 14:30:28 EDT 2000 John Wehle (john@feith.com)
9136
9137 * alias.c (find_base_term): Handle ADDRESSOF.
9138 (memrefs_conflict_p): An ADDRESSOF doesn't conflict.
9139
212d447c
DC
91402000-09-10 Denis Chertykov <denisc@overta.ru>
9141
9142 * genoutput.c (output_insn_data): Translate <NEWLINE> to \n\ while
9143 outputting templates with many lines.
9144
a746dbf5
SC
91452000-09-10 Stephane Carrez <Stephane.Carrez@worldnet.fr>
9146
9147 * libgcc2.h: Use LONG_LONG_TYPE_SIZE instead of MIN_UNITS_PER_WORD
9148 to decide whether 64-bit support must be generated.
9149
1d0f6d89
RH
91502000-09-10 Richard Henderson <rth@cygnus.com>
9151
9152 * c-parse.in (asm patterns): Fix volatile check.
9153
e1aa5140
KG
91542000-09-09 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
9155
9156 * cppmacro.c (check_trad_stringification): New function.
9157 (save_expansion): If -Wtraditional, warn about stringification of
9158 macro arguments.
9159
afa1738b
MH
91602000-09-11 Michael Hayes <mhayes@cygnus.com>
9161
9162 * loop.h (struct loop_mem_info): Move from loop.c
9163 (struct loop_info): Add fields store_mems, mems, mems_idx,
9164 mems_allocated, unknown_address_altered,
9165 unknown_constant_address_altered, num_mem_sets, and
9166 first_loop_store_insn.
9167
9168 * loop.c (loop_store_mems): Replace with field in loop_info struct.
9169 (loop_mems, loop_mems_idx, loop_mems_allocated): Likewise.
9170 (unknown_address_altered, unknown_constant_address_altered): Likewise.
9171 (num_mem_sets): Likewise.
dd745546 9172 (replace_loop_mems, replace_loop_regs): New.
afa1738b
MH
9173 (struct loop_replace_args): New.
9174 (load_mems): Use replace_loop_mems.
9175 (try_copy_prop): Use replace_loop_regs.
9176 (replace_loop_reg, replace_loop_mem): Use loop_replace_args structure.
9177
63883fc3
SC
91782000-09-09 Stephane Carrez <Stephane.Carrez@worldnet.fr>
9179
9180 * configure.in: Recognize m6811-elf and m6812-elf.
9181 * configure: Regenerate.
9182
808788fe
GK
91832000-09-09 Geoff Keating <geoffk@cygnus.com>
9184
9185 * recog.c (validate_replace_rtx_1): Correct MODE parameter in call
9186 to operand_subword.
9187
02055ad6
MH
91882000-09-10 Michael Hayes <mhayes@cygnus.com>
9189
9190 * loop.c (struct movables): New.
9191 (num_movables): Move into struct movables.
9192 (the_movables): Change type to struct movables.
9193 (ignore_some_movables): Change struct movable arg to struct movables.
dd745546 9194 (force_movables, combine_movables, regs_match_p): Likewise.
02055ad6
MH
9195 (rtx_equal_for_loop_p, move_movables): Likewise.
9196 (scan_loop): Change movables to be of type struct movables.
9197 Replace last_movable with field in movables structure.
9198
ae54392b
ZW
91992000-09-08 Zack Weinberg <zack@wolery.cumb.org>
9200
9201 * c-pragma.c: Don't elide entire file if !HANDLE_GENERIC_PRAGMAS.
9202 (init_pragma): Avoid warning if pfile happens to be unused.
9203 * c-pragma.h: Never define HANDLE_GENERIC_PRAGMAS. Never
9204 define init_pragma to nothing. Always prototype
9205 init_pragma. Prototype dispatch_pragma if !USE_CPPLIB.
9206
9207 * c-lex.c (process_directive): Always call dispatch_pragma.
9208 Initialize entering_c_header to 0.
9209
385c9217
SC
92102000-09-08 Stephane Carrez <Stephane.Carrez@worldnet.fr>
9211
9212 * config/m68hc11/m68hc11.md: New file, machine description for
9213 68HC11 & 68HC12.
9214 * config/m68hc11/m68hc11.h: New file, definitions for 68HC11 & 68HC12.
9215 * config/m68hc11/m68hc11.c: New file, functions for 68HC11 & 68HC12.
9216 * config/m68hc11/m68hc12.h: New file, definitions for 68HC12.
9217 * config/m68hc11/m68hc11-protos.h: New file.
9218 * config/m68hc11/m68hc11-crt0.S: New file, startup code.
9219 * config/m68hc11/t-m68hc11-gas: New file, makefile fragment.
9220 * config/m68hc11/xm-m68hc11.h: New file, target defs.
9221 * config/m68hc11/larith.asm: New file, libgcc routines.
9222
dfaf3cdb
SC
92232000-09-08 Stephane Carrez <Stephane.Carrez@worldnet.fr>
9224
9225 * Makefile.in (DPBIT_FUNCS): Add _usi_to_df.
9226 (FPBIT_FUNCS): Add _usi_to_sf.
9227 * config/fp-bit.c (usi_to_float): New function.
9228 * config/fp-bit.h (L_usi_to_sf, L_usi_to_df): Define.
9229 (usi_to_float): Add appropriate #define.
9230
915119a5
BS
92312000-09-08 Bernd Schmidt <bernds@redhat.co.uk>
9232
9233 * i386-protos.h (sse_comparison_operator, mmx_reg_operand): Declare
9234 new functions.
9235 * i386.c (sse_comparison_operator, mmx_reg_operand): New functions.
9236 * i386.md (attr "type"): Add sse and mmx types.
9237 (attr "memory"): Handle them without a crash.
9238 (movsi_1, movdi_2): Allow MMX regs.
9239 (movdi splits): Don't split moves involving MMX regs.
9240 (setcc_4): Remove '*' from pattern name so we get a gen_setcc4.
9241 (movv4sf_internal, movv4si_internal, movv8qi_internal,
9242 movv4hi_internal, movv2si_internal, movv8qi, movv4hi, movv2si,
9243 movv4sf, movv4si, pushv4sf, pushv4si, pushv8qi, pushv4hi, pushv2si,
9244 sse_movaps, sse_movups, sse_movmskps, mmx_pmovmskb, mmx_maskmovq,
9245 sse_movntv4sf, sse_movntdi, sse_movhlps, sse_movlhps, sse_movhps,
9246 sse_movlps, sse_loadss, sse_movss, sse_storess, sse_shufps,
9247 addv4sf3, vmaddv4sf3, subv4sf3, vmsubv4sf3, mulv4sf3, vmmulv4sf3,
9248 divv4sf3, vmdivv4sf3, rcpv4sf2, vmrcpv4sf2, rsqrtv4sf2, vmrsqrtv4sf2,
9249 sqrtv4sf2, vmsqrtv4sf2, sse_andti3, sse_nandti3, sse_iorti3,
dd745546
AJ
9250 sse_xorti3, maskcmpv4sf3, maskncmpv4sf3, vmmaskcmpv4sf3,
9251 vmmaskncmpv4sf3, sse_comi, sse_ucomi, sse_unpckhps, sse_unpcklps,
915119a5
BS
9252 smaxv4sf3, vmsmaxv4sf3, sminv4sf3, vmsminv4sf3, cvtpi2ps, cvtps2pi,
9253 cvttps2pi, cvtsi2ss, cvtss2si, cvttss2si, addv8qi3, addv4hi3,
9254 addv2si3, ssaddv8qi3, ssaddv4hi3, usaddv8qi3, usaddv4hi3, subv8qi3,
9255 subv4hi3, subv2si3, sssubv8qi3, sssubv4hi3, ussubv8qi3, ussubv4hi3,
9256 mulv4hi3, smulv4hi3_highpart, umulv4hi3_highpart, mmx_pmaddwd,
9257 mmx_iordi3, mmx_xordi3, mmx_anddi3, mmx_nanddi3, mmx_uavgv8qi3,
9258 mmx_uavgv4hi3, mmx_psadbw, mmx_pinsrw, mmx_pextrw, mmx_pshufw,
9259 eqv8qi3, eqv4hi3, eqv2si3, gtv8qi3, gtv4hi3, gtv2si3, umaxv8qi3,
9260 smaxv4hi3, uminv8qi3, sminv4hi3, ashrv4hi3, ashrv2si3, lshrv4hi3,
9261 lshrv2si3, mmx_lshrdi3, ashlv4hi3, ashlv2si3, mmx_ashldi3,
9262 mmx_packsswb, mmx_packssdw, mmx_packuswb, mmx_punpckhbw,
9263 mmx_punpckhwd, mmx_punpckhdq, mmx_punpcklbw, mmx_punpcklwd,
9264 mmx_punpckldq, emms, sfence, ldmxcsr, prefetch, stmxcsr, sse_clrti,
9265 mmx_clrdi): New patterns.
9266
8e49e00a
RE
92672000-09-08 Richard Earnshaw <rearnsha@arm.com>
9268
9269 * arm.c: Don't include tm.h directly.
9270
bd5621a3
JH
9271Fri Sep 8 14:34:56 MET DST 2000 Jan Hubicka <jh@suse.cz>
9272
9273 * recog.c (validate_replace_rtx_1): Fix confusion about equality
9274 testing; simplify subregs of constants and nested subregs.
e65d02cf 9275
6b3783de
AO
92762000-09-08 Alexandre Oliva <aoliva@redhat.com>
9277
9278 * config/sh/sh.md (symPLT_label2reg): Use operand3 for PIC reg.
9279
82be40f7
BS
92802000-09-08 Bernd Schmidt <bernds@redhat.co.uk>
9281
9282 * combine.c (combine_simplify_rtx): Try to simplify VEC_SELECT of a
9283 VEC_CONCAT.
9af354b7
BS
9284 * rtl.texi (description of USE): Add note about possible pitfalls
9285 with this rtx.
ce701d1b
BS
9286 From Richard Henderson:
9287 * reload1.c (choose_reload_regs): Compute need_mode properly.
82be40f7 9288
4287b5f1
RH
92892000-09-07 Richard Henderson <rth@cygnus.com>
9290
9291 * config/ia64/lib1funcs.asm (__divsi3): Use .s1 for frcpa.
9292 (__modsi3, __umodsi3): Likewise.
9293 (__udivsi3): Likewise. Normalize the TFmode values.
9294
c5d71f39
GK
92952000-09-07 Geoff Keating <geoffk@cygnus.com>
9296
9297 * config/rs6000/sol-c0.c (_start): Declare `termfunc' parameter
9298 with a prototype.
9299 * config/rs6000/rs6000.h (RS6000_ARG_SIZE): Use cast to suppress
9300 warning.
9301
712646d0
R
9302Fri Sep 8 03:26:38 2000 J"orn Rennecke <amylaar@redhat.co.uk>
9303
9304 * sh.md (cmpeqsi_ior_t, cmpeqsi_and_t): Remove.
9305 (cmpeqdi_t): Add output pattern.
9306 (cmpeqdi_t+1): Don't split when not optimizing.
9307 Restore proper splitting operation.
9308
30acbc3e
RH
93092000-09-07 Richard Henderson <rth@cygnus.com>
9310
9311 * c-lex.c (process_directive): If not HANDLE_GENERIC_PRAGMAS,
9312 do not call dispatch_pragma.
9313
46146529
JW
93142000-09-07 Jim Wilson <wilson@cygnus.com>
9315
9316 * reload.c (push_reload): Use CLASS_CANNOT_CHANGE_MODE_P in addition
9317 to CLASS_CANNOT_CHANGE_MODE.
9318 * config/ia64/ia64.h (CLASS_CANNOT_CHANGE_MODE_P): True only if the
9319 mode classes are different.
9320
6db83155
ZW
93212000-09-07 Zack Weinberg <zack@wolery.cumb.org>
9322
9323 * cpplib.h (struct cpp_options): Add user_label_prefix member,
9324 left out of commit which removed cppulp.c.
9325
0d45144b
RH
93262000-09-07 Richard Henderson <rth@cygnus.com>
9327
9328 * bb-reorder.c (fixup_reorder_chain): Add jump in new block
9329 after switch for CASE_DROPS_THROUGH.
9330
e8cb4873
RH
93312000-09-07 Richard Henderson <rth@cygnus.com>
9332
9333 * loop.c (strength_reduce): Call check_ext_dependant_givs.
9334 Properly extend the biv initial value for the giv.
9335 (record_biv): Zero ext_dependant.
9336 (record_giv): New argument ext_val. Update all callers.
9337 (general_induction_var): Likewise.
9338 (consec_sets_giv): Likewise.
9339 (simplify_giv_expr): Likewise. Fill in ext_val if we find
9340 a sign-extend, zero-extend, or truncate.
9341 (combine_givs_p): Make sure modes are compatible.
9342 (check_ext_dependant_givs): New.
9343 (extend_value_for_giv): New.
9344 * loop.h (struct induction): Add ext_dependant.
9345 * unroll.c (iteration_info): Extend the biv initial value for the giv.
9346 (find_splittable_givs): Likewise.
9347 (final_giv_value): Likewise.
9348
8b97c5f8
ZW
93492000-09-07 Zack Weinberg <zack@wolery.cumb.org>
9350
9351 * c-pragma.h: Define HANDLE_GENERIC_PRAGMAS if
9352 REGISTER_TARGET_PRAGMAS is defined. Duplicate some
9353 definitions from cpplib.h.
9354 * cpplib.h: Don't typedef struct cpp_reader if c-pragma.h has
9355 already done it.
9356 * tm.texi: Document HANDLE_PRAGMA as no longer supported. Add
9357 documentation for REGISTER_TARGET_PRAGMAS.
9358
9359 * c-lex.c: Include cpplib.h before c-pragma.h. Define a
9360 default-pragma callback to implement -Wunknown-pragmas if
9361 USE_CPPLIB.
9362 * c-parse.in: Move all includes to top of file.
9363 * c-pragma.c: Include cpplib.h before c-pragma.h. Include
9364 tm_p.h.
9365 (dispatch_pragma): Put the namespace in the -Wunknown-pragmas
9366 warning.
9367 (init_pragma): If REGISTER_TARGET_PRAGMAS is defined, call it.
9368
9369 * arm.h, arm-protos.h, arm.c,
9370 c4x.h, c4x-protos.h, c4x.c,
9371 h8300.h, h8300-protos.h, h8300.c,
9372 i370.h, i370-protos.h, i370.c,
9373 i960.h, i960-protos.h, i960.c,
d8ea8f28 9374 sh.h, sh-protos.h, sh.c,
8b97c5f8
ZW
9375 v850.h, v850-protos.h, v850.c: Convert HANDLE_PRAGMA-based
9376 pragmata scheme to use REGISTER_TARGET_PRAGMAS instead.
9377
9378 * d30v.h: Don't mention HANDLE_PRAGMA in comment. Add
9379 multiple include guard.
9380 * i370.md (untyped_call): Use GEN_CALL.
9381 (umodsi3): Remove unused variable.
9382 * sh/elf.h: Don't undef HANDLE_SYSV_PRAGMA.
9383 * v850.c (output_move_single, output_move_double): Constify
9384 return value.
9385 (print_operand): Constify a char *.
9386 * v850.h (struct small_memory_info): Constify name member.
9387
1898584f
KH
93882000-09-07 Kazu Hirata <kazu@hxi.com>
9389
9390 * config/h8300.h: Fix comment typos.
9391 * config/h8300/h8300.md: Likewise.
9392 * config/h8300/lib1funcs.asm: Likewise.
9393
771c4df3
NB
9394Thu 07-Sep-2000 21:29:00 BST Neil Booth <NeilB@earthling.net>
9395
9396 * Makefile.in: Remove references to cppulp.{c,o}.
9397 * cppinit.c (initialize_builtins, cpp_start_read,
9398 cpp_handle_option): Update to use cpp_options structure.
9399 * cppulp.c: Remove.
9400
2496f0b5
JM
94012000-09-07 Joseph S. Myers <jsm28@cam.ac.uk>
9402
9403 * c-common.c (time_char_table): Allow %#b and %#h.
9404
bf6302f0
HB
94052000-09-07 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
9406
9407 * reorg.c (find_end_label): If the basic block reorder pass moves the
9408 return insn to some other place try to locate it again and put our
9409 end_of_function_label there.
9410 * reorg.c (relax_delay_slots): Check if find_end_label created a
9411 new label that invalidates the current optimazation.
9412
4598ffe9
CM
94132000-09-07 Catherine Moore <clm@redhat.com>
9414
e8cb4873
RH
9415 * unroll.c (unroll_loop): Check for unconditional jumps
9416 to loop continuation. Delete if n_iterations is 1.
9417 (ujump_to_loop_cont): New routine.
4598ffe9 9418
ff427764
BS
94192000-09-07 Bernd Schmidt <bernds@redhat.co.uk>
9420
9421 * rtl.c (class_narrowest_mode): Add entries for MODE_VECTOR_INT and
9422 MODE_VECTOR_FLOAT.
8441bc30
BS
9423 * reload.c (regno_clobbered_p): Accept new arg, MODE, and use it
9424 to handle multiword modes correctly. All callers and the declaration
9425 changed.
d8ea8f28 9426
54f7877c
MM
94272000-09-06 Mark Mitchell <mark@codesourcery.com>
9428
9429 * c-common.h (prep_stmt): Declare.
9430 (lang_expand_stmt): Likewise.
9431 * c-decl.c (lang_expand_stmt): Remove.
9432 * c-semantics.c (lang_expand_stmt): Define.
9433 (prep_stmt): New function.
9434 (expand_stmt): Handle common statement types here.
d8ea8f28 9435
93ca1662
NY
94362000-09-07 Niibe Yutaka <gniibe@m17n.org>, Kaz Kojima <kkojima@rr.iij4u.or.jp>, Alexandre Oliva <aoliva@redhat.com>
9437
9438 * configure.in (sh-*-linux*): Added.
9439 * configure: Rebuilt.
9440 * config/sh/t-linux: New file.
9441 * config/sh/sh.h (USERMODE_BIT): Define.
9442 (TARGET_USERMODE): Likewise.
9443 (TARGET_SWITCHES): New switches for the bits above.
9444 (INITIALIZE_TRAMPOLINE): Call __ic_invalidate in USERMODE.
9445 * config/sh/linux.h: New file.
9446 * config/sh/lib1funcs.asm (GLOBAL): Don't prefix symbols with
9447 underscore on linux.
9448 (L_sdivsi3, L_udivsi3): Define for linux.
9449 (L_ic_invalidate): Define.
9450 * invoke.texi (SH Options): Document -musermode.
9451
71105114
AO
94522000-09-07 Alexandre Oliva <aoliva@redhat.com>
9453
4979c2a9
AO
9454 * config/sh/sh.h (OVERRIDE_OPTIONS): Don't disable function
9455 CSE unless generating PIC.
9456
71105114
AO
9457 * config/sh/sh.md (symPLT_label2reg): Force the initialization of
9458 the PIC register.
9459
d5cfb451
L
94602000-09-06 H.J. Lu (hjl@gnu.org)
9461
9462 * Makefile.in (clean_s1): Depend on stage_b.
9463 (clean_s2): Depend on stage_d. Don't remove $(VOL_FILES) in
9464 stage2. They are used for "make compare".
9465
ae499cce
MM
94662000-09-06 Mark Mitchell <mark@codesourcery.com>
9467
9468 Move statement-tree facilities from C++ to C front-end.
9469 * c-common.h (c_tree_index): Add CTI_VOID_ZERO.
9470 (void_zero_node): New macro.
9471 (struct stmt_tree_s): New type.
9472 (stmt_tree): New typedef.
9473 (struct language_function): New type.
9474 (last_tree): New macro.
9475 (last_expr_type): Likewise.
9476 (walk_tree_fn): New typedef.
9477 (current_stmt_tree): New function.
9478 (begin_stmt_tree): Likewise.
9479 (add_stmt): Likewise.
9480 (finish_stmt_tree): Likewise.
9481 (statement_code_p): Likewise.
9482 (lang_statement_code_p): New variable.
9483 (walk_stmt_tree): New function.
9484 (STMT_IS_FULL_EXPR_P): New macro.
9485 * c-common.c (lang_statement_code_p): New variable.
9486 (c_common_nodes_and_builtins): Initialize void_zero_node.
9487 (statement_code_p): New function.
9488 (walk_stmt_tree): Likewise.
9489 * c-decl.c (language_function): Rename to ...
9490 (c_language_function): ... this. Include language_function.
9491 (push_c_function_context): Adjust accordingly.
9492 (pop_c_function_context): Likewise.
9493 (mark_c_function_context): Likewise.
9494 (current_stmt_tree): Define.
9495 * c-semantics.c (begin_stmt_tree): New function.
9496 (add_stmt): Likewise.
9497 (prune_unused_decls): Likewise.
9498 (finish_stmt_tree): Likewise.
9499
4f4b88d0
HB
95002000-09-06 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
9501
e8cb4873 9502 * flow.c (insn_dead_p): Detect dead memory stores with auto increments.
4f4b88d0 9503
f725a3ec
KH
95042000-09-06 Kazu Hirata <kazu@hxi.com>
9505
9506 * calls.c: Fix formatting.
9507
0806f95f
GS
95082000-09-06 Graham Stott <grahams@cygnus.co.uk>
9509
e8cb4873 9510 * config/i386/i386.h (ADDRESS_COST): Fix typo.
0806f95f 9511
0e5921e8
ZW
95122000-09-06 Zack Weinberg <zack@wolery.cumb.org>
9513
9514 Integrated preprocessor.
9515
9516 * Makefile.in: Remove all references to c-parse.gperf,
9517 c-gperf.h, and c-parse.h. Remove -d from yacc command line
9518 generating c-parse.c. Update dependencies.
9519 * c-parse.gperf, c-gperf.h: Delete.
9520
9521 * c-common.c: Don't define parse_options, cpp_token, yy_cur,
9522 yy_lim, or yy_get_token. Don't define get_directive_line if
9523 USE_CPPLIB.
9524 * c-common.h: Add multiple include guard. Define RID values
9525 for every keyword in C, C++, and Objective C. Put all the
9526 modifiers first.
9527 (struct c_fileinfo, get_fileinfo, dump_time_statistics): New.
9528 * c-decl.c (c_decode_option): Handle -lang-objc here.
9529 (print_lang_identifier): Handle C_IS_RESERVED_WORD case.
9530 (grokdeclarator): Adjust for new RID scheme.
9531 (extract_interface_info): New stub.
9532 * c-lang.c: Don't declare yy_cur or parse_options.
9533 (lang_init_options): Call cpp_init. Don't call
9534 cpp_options_init.
9535 (lang_init): Don't call check_newline if USE_CPPLIB.
9536
9537 * c-lex.c: Don't include c-parse.h. Do include timevar.h.
9538 Elide lots of unnecessary code if USE_CPPLIB. Delete code
9539 rendered unnecessary by new architecture. Move routines not
9540 shared with C++ to c-parse.in. Maintain a local idea of the
9541 line number. Handle C++ as well as C.
9542 [USE_CPPLIB]: Declare and register callbacks for #ident and
9543 for entering/leaving files.
9544 (init_c_lex, c_lex): Are now the entry points to this file.
9545 (check_newline): Break out directive handling to
9546 process_directive.
9547 (read_ucs, is_extended_char, utf8_extend_token): Moved here
9548 from C++ front end.
9549 (readescape, parse_float): Overhaul.
9550 (lex_number, lex_string, lex_charconst): Break out of c_lex
9551 (n'ee yylex).
9552 (get_fileinfo, update_header_times, dump_one_header,
9553 dump_time_statistics): New and/or moved here from C++.
9554 Support per-file data needed by C++ and per-header timing
9555 statistics (C++ only, at the moment).
9556 * c-lex.h: Update prototypes. Add multiple include guard.
9557 * c-tree.h (struct lang_identifier): Add rid_code field.
9558 (C_IS_RESERVED_WORD, C_RID_CODE): New.
9559
9560 * c-parse.in: Include c-pragma.h. Remove unnecesary calls to
9561 reinit_parse_for_function and/or position_after_white_space.
9562 (save_filename, save_lineno): Look ahead before saving.
9563 (label -> identifier ':'): Save file and line before shifting ':'.
9564 (reservedwords): No need to call get_identifier.
9565 (init_parse, finish_parse, yyerror, yylex, yyprint,
9566 make_pointer_declarator): Are now here for C/ObjC.
9567 (rid_to_yy): Conversion table from RID constants to Yacc codes.
9568
9569 * c-pragma.c: Rewrite parsing logic to fit with cpplib's
9570 #pragma registry. Provide dummy implementation of that
9571 interface if !USE_CPPLIB.
9572 * c-pragma.h: Update to match.
9573
9574 * flags.h: Add multiple include guard.
9575 (flag_detailed_statistics): Moved here from C++.
9576 * toplev.c: Define flag_detailed_statistics.
9577
9578 * gcc.c (C specs): Use %(trad_capable_cpp) for -E|-M|-MM case
9579 #if USE_CPPLIB.
9580 * timevar.def (TV_CPP, TV_LEX): New.
9581 * timevar.h: Add multiple include guard.
9582
9583 * objc/lang-specs.h: Use %(trad_capable_cpp) for -E|-M|-MM case
9584 #if USE_CPPLIB.
9585 * objc/objc-act.c: Don't mention yy_cur or parse_options.
9586 Initialize cpplib properly. Force lineno to 0 after first
9587 call to check_newline. Don't handle -lang-objc here.
9588 Move forget_protocol_qualifiers and remember_protocol_qualifiers here.
9589
5638268e
DE
95902000-09-06 David Edelsohn <edelsohn@gnu.org>
9591
9592 * rs6000.md: Correct function unit definitions for cr_logical and
9593 mtjmpr.
9594 (sCOND): Additionally fail for sgt, slt, sge, sle if !TARGET_POWER
9595 and use portable method for >=0 and floating point >=. Remove
9596 associated matchers.
9597
44835fdd
MM
95982000-09-06 Mark Mitchell <mark@codesourcery.com>
9599
9600 * extend.texi: Mark named return value extension as deprecated.
9601
bab6226b
GK
96022000-09-06 Geoff Keating <geoffk@cygnus.com>
9603
9604 * config/rs6000/rs6000.c (rs6000_reverse_condition): Return
9605 the result.
9606
e6513023
GDR
96072000-09-06 Gabriel Dos Reis <gdr@codesourcery.com>
9608
9609 * toplev.c (display_help): Fix thinko in documentation.
9610
9611 * diagnostic.h (output_buffer::indent_skip): New fields.
9612 (output_indentation): New macro.
9613
9614 * diagnostic.c (output_indent): New function.
9615 (output_set_prefix, clear_diagnostic_info): Use.
9616 (output_emit_prefix): Predict future indentation.
9617
112c7aea
DD
96182000-09-06 DJ Delorie <dj@redhat.com>
9619
9620 * Makefile.in (stage_*): add more dependencies to ensure parallel
9621 builds build correctly
9622
1bac0fb4
MH
96232000-09-06 Manfred Hollstein <manfredh@redhat.com>
9624
9625 * Makefile.in (bootstrap-lean): Depend on bootstrap-lean_g,
9626 not bootstrap-lean_f.
9627
f472a17c
AS
96282000-09-06 Andreas Schwab <schwab@suse.de>
9629
9630 * mklibgcc.in: Emit rule for libgcc-stage-start.
9631 * Makefile.in (stage1-start, stage2-start, stage3-start,
9632 stage4-start): Don't handle libgcc here, use libgcc.mk instead.
9633
630c79be 96342000-09-06 Bernd Schmidt <bernds@redhat.co.uk>
611bbf2a
BS
9635
9636 * local-alloc.c (local_alloc): Ignore CLASS_LIKELY_SPILLED.
9637 (update_equiv_regs): Likewise, except for the mn10200 kludge.
9638 (combine_regs): Likewise.
9639
630c79be
BS
9640 * Makefile.in (cse.o): Depend on $(BASIC_BLOCK_H).
9641 * cse.c: Include "basic-block.h".
9642 (struct table_elt): New field REGCOST.
9643 (CHEAP_REG): Delete macro.
9644 (COST): Return 0 for REGs.
9645 (approx_reg_cost_1, approx_reg_cost, preferrable): New functions.
9646 (notreg_cost): Return 0 for appropriate SUBREGs.
9647 (COSTS_N_INSNS): Return N * 2.
9648 (rtx_cost): Return 0 for REGs, and use cost of nested rtx for cheap
9649 SUBREGs.
9650 (CHEAPER): Use new function preferrable.
9651 (insert): Initialize REGCOST member.
9652 (find_best_addr): Use approx_reg_cost for estimation of register
9653 usage.
9654 (cse_insn): Likewise.
9655 * loop.c (iv_add_mult_cost): New function.
9656 (add_cost, shift_cost, mult_cost): Delete variables.
9657 (init_loop): Don't initialize add_cost; reduce copy_cost by half.
9658 (strength_reduce): Use iv_add_mult_cost instead of fixed add_cost.
9659 Make code that detects autoinc opportunities slightly less optimistic.
9660 (simplify_giv_expr): If expression contains other reg that is also a
9661 giv, only increment benefit if this is the only use of that reg.
9662 (consec_sets_giv): Take that change into account.
9663 (combine_givs): Slightly more verbose output.
9664
9665 * i386.h (RTX_COSTS): For MULT, return true cost of multiplication,
9666 not the cost of an equivalent shift.
9667 * sh-protos.h (addsubcosts): Declare.
9668 * sh.c (addsubcosts): New function.
9669 * sh.h (CONST_COSTS): If CONST_OK_FOR_I, then return 0.
9670 (RTX_COSTS): Tweak. Use addsubcosts.
9671 (ADDRESS_COST): Return higher cost for reg+reg addressing.
9672
39a10a29
GK
96732000-09-06 Geoff Keating <geoffk@cygnus.com>
9674
9675 * config/rs6000/rs6000.c (validate_condition_mode): New function.
9676 (branch_comparison_operator): Call validate_condition_mode to
9677 abort rather than returning 0.
9678 (branch_positive_comparison_operator): New function.
9679 (scc_comparison_operator): Call validate_condition_mode to abort
9680 rather than returning 0.
9681 (ccr_bit): Call validate_condition_mode. Update for
9682 new branch scheme.
9683 (print_operand): Delete %C modifier. Update %E case
9684 to use EQ bit not SO bit.
9685 (rs6000_reverse_condition): New function.
9686 (rs6000_generate_compare): New function.
9687 (rs6000_emit_sCOND): New function.
9688 (rs6000_emit_cbranch): New function.
9689 (output_cbranch): The length of a long branch insn is
9690 now only 8 bytes. Add validate_condition_mode. Use
9691 rs6000_reverse_condition. Remove cror generation.
bab6226b 9692
39a10a29
GK
9693 * config/rs6000/rs6000.h: Update comments.
9694 (PREDICATE_CODES): Add new predicate. Update codes used
9695 by branch_comparison_operator and scc_comparison_operator.
9696 * config/rs6000/rs6000-protos.h: Add prototypes for
9697 new external functions.
9698 * config/rs6000/rs6000.md: Add new scheduling parameters
9699 for cr_logical instructions. Change length of branch
9700 instructions.
9701 (bCOND patterns): Call rs6000_emit_cbranch.
9702 (sCOND patterns): Call rs6000_emit_sCOND.
9703 (branch patterns): Change lengths to 4.
9704 (cr logical patterns): New.
9705
2a4bbffa
RH
97062000-09-06 Richard Henderson <rth@cygnus.com>
9707
9708 * config/i386/i386.md (call_pop): Fix test for setting
9709 current_function_uses_pic_offset_table.
9710 (call, call_value_pop, call_value): Likewise.
9711
eab828ba
ZW
97122000-09-06 Zack Weinberg <zack@wolery.cumb.org>
9713
9714 * timevar.c (timevar_add): Delete.
9715 (timevar_get): Also count time since the selected timer was
9716 last updated. Do not examine the timevar stack if the
9717 selected timer is standalone.
9718
f1d6a533
DA
97192000-09-05 J. David Anglin <dave@hiauly1.hia.nrc.ca>
9720
9721 * gthr-dce.h (__gthread_objc_mutex_deallocate): Free mutex->backend.
9722
53c5b5d7
JM
97232000-09-05 Jason Merrill <jason@redhat.com>
9724
9725 * c-decl.c (finish_incomplete_decl): Don't call complete_array_type
9726 for 'extern' arrays.
9727
3392dafc
RH
97282000-09-05 Richard Henderson <rth@cygnus.com>
9729
9730 * config/ia64/lib1func.asm (__divtf3): Rebundle for Itanium.
9731 Eliminate final copy from non-trapping case.
9732 (__divdf3, __divsf3): Likewise.
9733
2a7ffc85
RH
97342000-09-05 Richard Henderson <rth@cygnus.com>
9735
9736 * config/ia64/ia64.md (mulhi3): Fix typo last change.
9737 * config/ia64/lib1func.asm (__divdi3, __udivdi3, __umodsi3): Likewise.
9738
204093e6
DT
97392000-09-03 Donn Terry <donn@interix.com>, Laurynas Biveinis <lauras@softhome.net>
9740
9741 * Makefile.in: Restructure bootstrap stages to allow clean
9742 restart after failure.
9743
514f96e6
RH
97442000-09-05 Richard Henderson <rth@cygnus.com>
9745
9746 * config/ia64.md (movsi and movdi patterns): Allow moves from
9747 8-bit constants to AR registers.
9748
cf1f6ae3
RH
97492000-09-05 Richard Henderson <rth@cygnus.com>
9750
9751 * config/ia64/ia64.md (mulhi3): New.
9752
d8d7a286
RH
97532000-09-05 Richard Henderson <rth@cygnus.com>
9754
9755 * config/ia64/ia64.h (INIT_TARGET_OPTABS): Remove.
9756 * config/ia64/lib1funcs.asm (__divdi3): Update from Intel IA-64
9757 Optimization Guide, minimum latency alternative.
9758 (__moddi3, __udivdi3, __umoddi3): Likewise.
9759 (__divsi3, __modsi3, __udivsi3, __umodsi3): Likewise.
9760
a6efbece
BK
97612000-09-05 Bruce Korb <bkorb@gnu.org>
9762
0e5921e8
ZW
9763 * fixinc/fixincl.c (load_file): always read header files
9764 with sizes that are a multiple of the page size.
dc46505a 9765 & use libiberty's getpagesize for determining that.
a6efbece 9766
c0712acb
AO
97672000-09-05 Alexandre Oliva <aoliva@redhat.com>
9768
9769 * gcse.c (hash_string_1): Add prototype.
9770 * cse.c (canon_hash_string): Likewise.
9771
af7f0fde
CN
97722000-09-04 Craig Newell <CraigN@ieee.org>
9773
9774 * gcc.c: Undefine "__WCHAR_TYPE__" before redefining it.
9775
4993ddc1
AS
97762000-09-04 Andreas Schwab <schwab@suse.de>
9777
9778 * Makefile.in (STAGESTUFF): Remove libgcc.
9779 (stage1-start, stage2-start, stage3-start): Copy the contents of
9780 the libgcc directory explicitly.
9781 (mostlyclean): Clean libgcc.
9782
5e640c56
AH
97832000-09-04 Andrew Haley <aph@redhat.com>
9784
9785 * dwarf2out.c: (stack_adjust_offset): New prototype.
9786
25ffb1f6
JH
9787Wed Jan 1 00:23:59 MET 1997 Jan Hubicka <jh@suse.cz>
9788
9789 * combine.c (make_extraction): Fix rtx_cost comparison to
9790 match the comment.
9791
9792Wed Jan 1 00:17:32 MET 1997 Jan Hubicka <jh@suse.cz>
9793
0e5921e8 9794 * i386.md (pushsi2, pushhi2, pophi2, swapsf, swapdf,
25ffb1f6
JH
9795 umulsi3_highpart, smulsi3_highpart, testqi_ccno_1, xorqi_ext_1):
9796 Add '*' to insn pattern name.
9797
29844fa7
JJ
97982000-09-04 Jakub Jelinek <jakub@redhat.com>
9799
9800 * cpplex.c (ON_REST_ARG): Check VAR_ARGS flag of current context,
9801 use posn - 1 to index into tokens array.
9802 (maybe_paste_with_next): Adjust caller.
9803
0d86f538
GK
98042000-09-03 Geoff Keating <geoffk@cygnus.com>
9805
bff46771
GK
9806 * invoke.texi: Document the -mvxworks option for rs6000 ELF.
9807
0d86f538
GK
9808 * config/rs6000/rs6000.h: Update various comments about XER_REGNO.
9809 (REGNO_REG_CLASS): Use symbolic register
9810 names.
9811
4e67550b
RE
98122000-09-03 Richard Earnshaw <rearnsha@arm.com>
9813
0e5921e8 9814 * arm.c (final_prescan_insn): If the form of a jump insn isn't
4e67550b
RE
9815 recognized, don't try to conditionally execute it.
9816
150f4100
DC
9817Sun Sep 3 13:10:56 2000 Denis Chertykov <denisc@overta.ru>
9818
9819 * config/avr/avr.md ("*tablejump_lib"): New pattern.
9820 (call_value_insn): Right length claculation.
9821 (call_insn): Likewise.
9822
5fecfd8d
MM
98232000-09-02 Marek Michalkiewicz <marekm@linux.org.pl>
9824
9825 * config/avr/avr-protos.h, config/avr/avr.c (unique_section,
9826 gas_output_limited_string, gas_output_ascii, output_movqi,
9827 output_movhi, out_movqi_r_mr, out_movqi_mr_r, out_movhi_r_mr,
9828 out_movhi_mr_r, out_movsi_r_mr, out_movsi_mr_r, output_movsisf,
9829 out_tstsi, out_tsthi, ret_cond_branch, ashlqi3_out, ashlhi3_out,
9830 ashlsi3_out, ashrqi3_out, ashrhi3_out, ashrsi3_out, lshrqi3_out,
9831 lshrhi3_out, lshrsi3_out, output_reload_inhi, output_reload_insisf,
9832 out_shift_with_cnt, ptrreg_to_str, cond_string, encode_section_info):
9833 Add "const" as needed to remove warnings.
9834
9835 * config/avr/avr.c (avr_override_options, avr_init_once,
9836 function_prologue, function_epilogue, frame_pointer_required_p,
9837 class_likely_spilled_p, order_regs_for_local_alloc,
9838 avr_address_cost, avr_ret_register): Use K&R style arguments.
9839 (initial_elimination_offset, gas_output_limited_string):
9840 Remove ATTRIBUTE_UNUSED from the used arguments.
9841 (output_mov*, out_mov*_r_mr, out_mov*_mr_r, output_reload_insisf):
9842 Use local variables src, dest, base to access operands[].
9843 Rename reg_dest to reg_src if that's what it is.
9844 (output_movhi, output_movsisf): Optimize loading 8-bit immediate
9845 constants to LD_REGS if reg_was_0.
9846 (output_reload_insisf): Change arg 3 to insn length and set it.
9847 (out_movhi_r_mr, out_movhi_mr_r): Use in/out for more efficient
9848 access to 16-bit I/O register pairs.
9849 (avr_address_cost): Lower cost for the above case.
9850 (out_tsthi): Use "or" (faster) instead of "sbiw" if the operand
9851 may be clobbered, also for LD_REGS.
9852 (adjust_insn_length): Correct insn length for iorhi3 and iorsi3
9853 with a CONST_INT.
9854
9855 * config/avr/avr.h (PTRDIFF_TYPE): Make signed.
9856
9857 * config/avr/avr.md: Change all uses of the TEST_HARD_REG_CLASS
9858 macro to test_hard_reg_class function.
9859 (*movsi, *movsf): Change "cc" attribute from "clobber" to "none"
9860 for loading immediate constants to LD_REGS.
9861 (andsi3, cmphi, cmpsi): Add return statements to avoid warnings.
9862
9863
bad3869a
MM
9864Sat Sep 2 13:58:23 2000 Marek Michalkiewicz <marekm@linux.org.pl>
9865
9866 * config/avr/avr.md ("*negsi2"): substitute %@ to __zero_reg__
9867 * config/avr/libgcc.S: Lost part of the previous patch.
9868
802a8181
DA
98692000-08-31 J. David Anglin <dave@hiauly1.hia.nrc.ca>
9870
9871 * gthr-dce.h (__gthread_objc_mutex_allocate): Create a pthread_mutex_t
9872 object before calling pthread_mutex_init.
9873
1a66cd67
AO
98742000-09-02 Alexandre Oliva <aoliva@redhat.com>
9875
9876 * config/sh/t-elf, config/sh/crt1.asm, config/sh/crti.asm,
9877 config/sh/crtn.asm: New files.
9878 * config/sh/t-sh (EXTRA_MULTILIB_PARTS): Set.
9879 (crt1.o, crti.o, crtn.o): New targets.
9880 * configure.in [sh-*-elf*, sh-*-rtemself*] (tmake_file): Added
9881 sh/t-elf.
9882 * configure: Rebuilt.
9883 * config/sh/sh.h (INIT_SECTION_ASM_OP, FINI_SECTION_ASM_OP,
9884 STARTFILE_SPEC, ENDFILE_SPEC, CRT_CALL_STATIC_FUNCTION): Define.
9885 * config/sh/elf.h (INIT_SECTION_ASM_OP, FINI_SECTION_ASM_OP):
9886 Undefine for config/elfos.h to redefine.
9887 (STARTFILE_SPEC, ENDFILE_SPEC): Redefine after config/elfos.h.
9888
98892000-09-02 Alexandre Oliva <aoliva@redhat.com>, Niibe Yutaka <gniibe@m17n.org>, Kaz Kojima <kkojima@rr.iij4u.or.jp>
9890
9891 * config/sh/sh-protos.h (nonpic_symbol_mentioned_p,
9892 legitimize_pic_address, output_pic_addr_const): Declare.
9893 * config/sh/sh.h (CONDITIONAL_REGISTER_USAGE): Fix PIC register.
9894 (PREFERGOT_BIT, TARGET_PREFERGOT): Likewise.
9895 (TARGET_SWITCHES): New switch -mprefergot.
9896 (OVERRIDE_OPTIONS): Set flag_no_function_cse unless -mprefergot.
9897 (PIC_OFFSET_TABLE_REGNUM): Define.
9898 (GOT_SYMBOL_TABLE): Likewise.
9899 (LEGITIMIZE_ADDRESS): Use legitimize_pic_address.
9900 (ENCODE_SECTION_INFO): Define.
9901 (FINALIZE_PIC): New macros.
9902 (LEGITIMATE_PIC_OPERAND_P, SYMBOLIC_CONST_P): New macro.
9903 (ASM_OUTPUT_INT, ASM_OUTPUT_SHORT): Use output_pic_addr_const.
9904 * config/sh/sh.c (print_operand_address): Use output_pic_addr_const.
9905 (prepare_move_operands): Call emit_pic_move or
9906 emit_pic_const_move if appropriate.
9907 (output_far_jump): For PIC, use braf and output long offset.
0e5921e8 9908 (machine_dependent_reorg):
1a66cd67
AO
9909 (sh_expand_prologue): Save and initialize the PIC register.
9910 (sh_expand_epilogue): Restore it.
9911 (initial_elimination_offset): Account for it.
9912 (nonpic_symbol_mentioned_p): New function.
9913 (legitimize_pic_address): Likewise.
9914 (output_pic_addr_const): Likewise.
9915 * config/sh/sh.md (calli_pcrel, call_valuei_pcrel): New insns.
9916 (call, call_value): Use them.
9917 (GOTaddr2picreg, sym_label2reg, symGOT2reg, symGOTOFF2reg,
9918 symPLT_label2reg): New expands.
9919 * invoke.texi (SH Options): Document -mprefergot.
9920
6462bb43
AO
99212000-09-01 Alexandre Oliva <aoliva@redhat.com>
9922
9923 * rtl.h (ASM_OPERANDS_INPUT_CONSTRAINT_EXP): New macro.
9924 * gcse.c (hash_string_1): New function.
9925 (hash_expr_1) <ASM_OPERANDS>: Disregard filename and line number.
9926 (expr_equiv_p) <ASM_OPERANDS>: Likewise.
9927 * cse.c (rtx_cost): Don't increase the cost of ASM_OPERANDS.
9928 (canon_hash_string): New function.
9929 (canon_hash) <ASM_OPERANDS>: Disregard filename and line number.
9930 (exp_equiv_p) <ASM_OPERANDS>: Likewise.
9931 (fold_rtx): Use ASM_OPERANDS accessor macros.
9932 * emit-rtl.c (copy_insn_1): Likewise.
9933 * integrate.c (copy_rtx_and_substitute): Likewise.
9934 * stmt.c (expand_asm_operands): Likewise. Give an
9935 ASM_OPERANDS rtx the mode of the output reg being set from it.
9936
1b4f90cd
FF
99372000-09-01 Fred Fish <fnf@be.com>
9938
9939 * fix-header.c (write_rbrac): Add putc and getc to list of
9940 functions to protect against prior definition as a macro.
0e5921e8 9941
3c786c69
JM
99422000-09-01 Joseph S. Myers <jsm28@cam.ac.uk>
9943
9944 * c-common.h (enum c_tree_index): Add CTI_C_SIZE_TYPE.
9945 (c_size_type_node): Define.
9946 * c-decl.c (init_decl_processing): Initialize c_size_type_node.
9947 * c-common.c (enum format_lengths, enum format_std_version,
9948 format_length_info, format_type_detail, BADLEN, NOLENGTHS,
9949 format_kind_info, printf_length_specs, scanf_length_specs, T89_I,
9950 T99_I, T89_L, T99_LL, TEX_LL, T89_S, T89_UI, T99_UI, T89_UL,
9951 T99_ULL, TEX_ULL, T89_US, T89_F, T99_F, T89_D, T99_D, T89_LD,
9952 T99_LD, T89_C, T99_SC, T99_UC, T89_V, T94_W, TEX_W, T94_WI,
9953 TEX_WI, T99_ST, T99_SST, T99_PD, T99_UPD, T99_IM, T99_UIM,
9954 format_types): Define.
9955 (format_char_info, print_char_table, scan_char_table,
9956 time_char_table): Rearrange for new organization of information
9957 about format length modifiers and standard versions.
9958 (T_ST): Redefine to use c_size_type_node.
9959 (check_format_info): Obtain information about length modifiers and
9960 standard versions from tables. Adjust warning message wordings.
9961 Use the name from the user's program for `ll' and `hh' length
9962 modifiers in warning messages. Use more informative names for
9963 wanted types where available (for wchar_t, wint_t, size_t, signed
9964 size_t, ptrdiff_t, unsigned ptrdiff_t, intmax_t and uintmax_t).
9965
8a09bb27
JW
99662000-09-01 Jim Wilson <wilson@cygnus.com>
9967
ca3920ad
JW
9968 * calls.c (emit_call_1): Add REG_NORETURN note to call if ECF_NORETURN.
9969 * combine.c (distribute_notes): Handle REG_NORETURN.
9970 * rtl.c (reg_note_name): Add REG_NORETURN.
9971 * rtl.h (enum reg_note): Likewise.
9972
9973 * config/ia64/ia64-protos.h (emit_safe_across_calls): Renamed from
9974 ia64_file_start.
9975 * config/ia64/ia64.c (emit_safe_across_calls): Likewise.
9976 (rtx_needs_barrier): Handle unspec_volatile 8 and 9.
9977 (emit_predicate_relation_info): Handle conditional calls with
9978 REG_NORETURN.
9979 * config/ia64/ia64.h (ASM_FILE_START): Call emit_safe_across_calls
9980 instead of ia64_file_start.
9981 * config/ia64/sysv4.h (ASM_FILE_START): Likewise.
9982 * config/ia64/ia64.md (safe_across_calls_all,
9983 save_across_calls_normal): New patterns.
9984
8a09bb27
JW
9985 * loop.c (check_final_value): Check for biv use before checking for
9986 giv use. Check for both biv and giv uses. Always set last_giv_use
9987 if there is a giv use.
9988
11a13704
RH
99892000-09-01 Richard Henderson <rth@cygnus.com>
9990
9991 * config/ia64/ia64.md (mulsi3): Use grfr_register_operand.
9992 (madddi3): Likewise.
9993 (maddsi3): New.
9994
6324d2bb
RK
9995Fri Sep 1 10:59:47 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
9996
fcf1b822
RK
9997 * expr.c (clear_storage): Don't use emit_move_insn unless
9998 either BLKmode or proper size.
9999 (store_constructor): Don't call clear_storage if REG of wrong size.
10000
6324d2bb
RK
10001 * flow.c (init_propagate_block_info): Don't mark frame dead at end
10002 of function if returns wiht stack pointer depressed.
10003
1ba5ae8f
AH
100042000-09-01 Andrew Haley <aph@redhat.com>
10005
0e5921e8
ZW
10006 * dwarf2out.c (stack_adjust_offset): New function.
10007 (dwarf2out_stack_adjust): Break out stack adjust logic into
10008 new stack_adjust_offset function. Look inside parallels and
10009 sequences for stack adjustments.
1ba5ae8f 10010
893f3d5b
JL
100112000-08-31 Jeff Law <law@cygnus.com>
10012
94c51f7a
JL
10013 * arm.md: Use no_new_pseudos to determine when it is safe
10014 to create new pseudo registers.
10015
0e5921e8
ZW
10016 * arm.c (legitimize_pic_address): Use no_new_pseudos to determine
10017 when we can safely allocate new registers.
893f3d5b 10018
1b3d8f8a
GK
100192000-08-31 Geoffrey Keating <geoffk@cygnus.com>
10020
10021 * stmt.c (expand_asm_operands): Twiddle generating_concat_p
10022 so that CONCATs are not generated for ASMs.
10023 * emit-rtl.c (gen_reg_rtx): Don't generate CONCATs when
10024 not generating_concat_p.
10025 * function.c (pop_function_context_from): Reset
10026 generating_concat_p.
10027 (prepare_function_start): Likewise.
10028 * rtl.c (generating_concat_p): Define.
10029 * rtl.h (generating_concat_p): Declare.
10030 * toplev.c (rest_of_compilation): No CONCATs after RTL generation.
10031
4e8bd75f 100322000-08-22 Philipp Thomas <pthomas@suse.de>
0e5921e8 10033 Masanobu Yuhara <yuhara@flab.fujitsu.co.jp>
4e8bd75f
PT
10034
10035 * gmicro.h (TARGET_SWITCHES): Add descriptions and mark them
10036 for translation.
10037
b145ee27
GM
100382000-08-30 Greg McGary <greg@mcgary.org>
10039
10040 * Makefile.in (fixinc.sh): Pass CC, CFLAGS and LDFLAGS to mkfixinc.sh
10041 * fixinc/Makefile.in (fixincl): Pass $(LDFLAGS) to $(CC).
10042 * fixinc/mkfixinc.sh: Pass $CC, $CFLAGS and $LDFLAGS to $MAKE.
10043
2afaa41c
GM
100442000-08-30 Greg McGary <greg@mcgary.org>
10045
10046 * tree.h (struct tree_int_cst): Wrap low and high in a sub-struct.
10047 (TREE_INT_CST_LOW, TREE_INT_CST_HIGH): Access through sub-struct.
10048 (TREE_INT_CST): New macro.
10049 * varasm.c (const_hash, compare_constant_1, record_constant_1):
10050 Use new macro TREE_INT_CST.
10051
1d92b3e1
NB
10052Wed 30-Aug-2000 23:18:59 BST Neil Booth <NeilB@earthling.net>
10053
10054 * contrib.texi: Add self.
10055
b23ca156
AO
100562000-08-30 Alexandre Oliva <aoliva@redhat.com>
10057
10058 * config/sh/sh.md (cmpeqsi_ior_t, cmpeqsi_and_t): New insns.
10059 (cmpeqdi_t splitter): Use cmpeqsi_and_t instead of emitting jumps
10060 and labels.
10061
aef9fbbf
DA
100622000-08-30 J. David Anglin <dave@hiauly1.hia.nrc.ca>
10063
10064 * fixinc/gnu-regex.c: Don't define `const'.
10065
85f3d674
RK
10066Tue Aug 29 22:09:59 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
10067
10068 * expr.c (store_constructor): Allow variable bounds of array type.
10069 (expand_expr): Don't blow up if type is ERROR_MARK.
10070 * varasm.c (output_constructor): Don't access lower bound of array
10071 type unless need it if index is supplied (so it can be a variable
10072 if no index is supplied).
10073 Use tree_low_cst; use HOST_WIDE_INT for sizes; change BITPOS to POS.
10074 Other minor cleanups.
10075
5b67ad6f
DA
100762000-08-29 J. David Anglin <dave@hiauly1.hia.nrc.ca>
10077
10078 * Makefile.in: Revamp handling of cflags to allow different WARN_CFLAGS
10079 for compilations in stage 1 and subsequent stages, respectively.
10080 * configure.in (vax): Add compiler-dependent CFLAGS for stage 1.
10081 * configure: Rebuilt.
10082 * x-vax, x-vax-gcc: Deleted.
10083
63ad61ed
ZW
100842000-08-29 Zack Weinberg <zack@wolery.cumb.org>
10085
10086 * c-common.c (declare_function_name): Use func_id_node,
10087 function_id_node, and pretty_function_id_node. Do not make
0e5921e8 10088 __func__ visible at file scope.
63ad61ed
ZW
10089 * c-common.h (c_tree_index): Add CTI_FUNCTION_ID,
10090 CTI_PRETTY_FUNCTION_ID, and CTI_FUNC_ID.
10091 (function_id_node, pretty_function_id_node, func_id_node): New
10092 macros.
10093 * c-decl.c (init_decl_processing): Initialize function_id_node,
10094 pretty_function_id_node, and func_id_node.
10095 (c_make_fname_decl): Correct comment.
10096
10097 * tree.h (struct tree_identifier): Constify pointer member.
10098
10099 * c-decl.c (pushdecl, implicit_decl_warning): Constify a char *.
10100 * c-pragma.h (struct weak_syms): Constify name and value members.
0e5921e8 10101 (add_weak): Constify arguments.
63ad61ed
ZW
10102
10103 * calls.c (special_function_p): Constify a char *.
10104 (expand_call): Remove variable which is initialized and then
10105 never used.
10106 * dependence.c (struct def_use, struct induction, struct subscript):
10107 Constify 'variable' member.
10108 (get_low_bound, have_induction_variable): Constify char * argument.
10109 (find_induction_variable): Add braces to avoid dangling else.
10110 (classify_dependence): Constify char * arrays.
10111 * profile.c (output_func_start_profiler): Constify a char *.
10112 * stor-layout.c (finalize_record_size): Constify a char *.
10113 * tree.c (is_attribute_p): Constify a char *.
10114 * varasm.c (add_weak, remove_from_pending_weak_list): Constify argument.
10115
10116 * varasm.c (make_function_rtl, make_decl_rtl): Rearrange code
10117 for comprehensibility. Do not call get_identifier if we did
10118 not change the DECL_ASSEMBLER_NAME of the decl. Use alloca to
10119 create temporary string constants, not ggc_alloc_string. No
10120 need to copy result of ASM_FORMAT_PRIVATE_NAME. Use const
10121 char * to hold IDENTIFIER_POINTERs.
10122
cee58bc0
RH
101232000-08-29 Richard Henderson <rth@cygnus.com>
10124
10125 * config/ia64/ia64.md (muldi3): Use grfr_register_operand
10126 for the inputs.
10127
94aaab7a
RH
101282000-08-29 Richard Henderson <rth@cygnus.com>
10129
10130 * reload.c (push_secondary_reload): Allow class == reload_class
10131 if we're using a reload_in/out pattern.
10132
60a3c181
RH
10133 * config/ia64/ia64.md (reload_inti): Use a TImode scratch. Use
10134 the half that does not conflict with the reload register.
10135 (reload_outti): Likewise.
10136
9218435e
KH
101372000-08-29 Kazu Hirata <kazu@hxi.com>
10138
4381f7c2
KH
10139 * reload.c: Fix formatting.
10140
10141 * stmt.c: Fix formatting.
10142
9218435e
KH
10143 * gcc.c: Fix formatting.
10144
fba0bfd4
ZW
101452000-08-29 Zack Weinberg <zack@wolery.cumb.org>
10146
10147 * flags.h (time_report, mem_report): New global flags.
10148 * toplev.c: Define time_report and mem_report.
10149 (f_options): Add -ftime-report and -fmem-report.
10150 (compile_file): Turn on time_report if quiet_flag is off.
10151 Call ggc_print_statistics at very end if mem_report is on.
10152 * timevar.c (TIMEVAR_ENABLE): Examine time_report, not quiet_flag.
10153
10154 * ggc-common.c (ggc_print_statistics): Rename to
10155 ggc_print_common_statistics; all callers changed. Scale
10156 quantities above 10K to kilobytes and above 10M to megabytes.
10157 * ggc-page.c (ggc_page_print_statistics): Rename to
10158 ggc_print_statistics. Report memory consumed by internal data
10159 structures for each allocation bucket. Scale quantities above
10160 10K to kilobytes and above 10M to megabytes.
10161 * ggc-simple.c: Prototype debug_ggc_tree to avoid warning.
10162 Cast PTR_KEY(p) to unsigned long in fprintf call to avoid warning.
10163 Define tally_leaves always.
10164 (ggc_print_statistics): New function.
10165 * ggc.h: Adjust for renamed functions.
10166
612105a6
DC
10167Wed Aug 30 00:11:42 2000 Denis Chertykov <denisc@overta.ru>
10168
10169 * config/avr/avr.md ("*movsf","*movsi"): Pass NULL to
10170 output_movsisf instead of which_alternative.
10171
10172 * config/avr/avr.c (output_reload_inhi): Check for NULL ponter.
10173
6bec29c9
DC
10174Tue Aug 29 22:29:58 2000 Denis Chertykov <denisc@overta.ru> & Marek Michalkiewicz <marekm@linux.org.pl>
10175
10176 * config/avr/avr-protos.h: (avr_output_ascii) Removed.
10177 (avr_progmem_p): New prototype.
10178 (output_movsisf): Prototype declaration changed.
10179 (output_movqi): New prototype.
10180 (output_movhi): New prototype.
10181 (call_insn_operand): Likewise.
0e5921e8 10182 (final_prescan_insn): Likewise.
6bec29c9
DC
10183 (avr_simplify_comparision_p): Likewise.
10184 (avr_normalize_condition): Likewise.
10185 (compare_eq_p): Likewise.
10186 (out_shift_with_cnt): Likewise.
10187 (const_int_pow2_p): Likewise.
10188 (output_reload_inhi): Prototype declaration changed.
10189
10190 * config/avr/avr.c: (debug_hard_reg_set): Prototype declared.
10191 (ldi_reg_rtx): New. rtx for r31.
10192 (avr_init_stack): Initialize as "__stack".
10193 (function_prologue): Use it.
10194 Replace all TARGET_ENHANCED with AVR_ENHANCED.
10195 (avr_mcu_name): Initialize as "avr2".
10196 (avr_enhanced_p, avr_mega_p): New variables.
10197 (mcu_types, avr_override_options): Handle all known MCU types.
10198 Also handle avr1 (only preprocess, assemble and link).
10199 (print_operand): Using of `%K' in output template removed.
10200 (out_movqi_r_mr): Optimized.
10201 (out_movhi_r_mr): Likewise.
10202 (output_movqi): New function.
10203 (output_movhi): Likewise.
10204 (out_movsi_r_mr): Optimized.
10205 (output_movsisf): Compute insn length for `adjust_insn_length'
10206 (out_movqi_mr_r): Optimized.
10207 (out_movhi_mr_r): Optimized.
10208 (adjust_insn_length): Use output_movsisf, output_movqi,
10209 output_movhi for insn length adjusting.
10210 (reg_unused_after): Use dead_or_set_p.
10211 (preferred_reload_class): Now havn't any restriction.
10212 (reg_was_0): New function.
10213 (io_address_p): Likewise.
10214 (const_int_pow2_p): Likewise.
10215 (output_reload_inhi): Likewise.
10216 (output_reload_insisf): Likewise.
10217
10218 * config/avr/avr.h (MULTILIB_DEFAULTS): Define.
10219 (LIB_SPEC): Use -lc for all supported devices.
10220 (LIBGCC_SPEC): Use -lgcc for all supported devices.
10221 (AVR_MEGA): Define as avr_mega_p.
10222 (AVR_ENHANCED): New, define as avr_enhanced_p.
10223 (TARGET_SWITCHES): Remove -menhanced, now handled by -mmcu=...
10224 (CPP_SPEC, LINK_SPEC): Handle all known MCU types.
10225 (CRT_BINUTILS_SPECS): Handle all known MCU types.
10226 Rename gcrt1-*.o to make file names unique on 8.3 filesystems.
10227 (EXTRA_SPECS): Add CPP_AVR[1-5]_SPEC.
10228 (ASM_SPEC): Pass -mmcu=... to the assembler.
10229 Change all -DAVR_* to -D__AVR_*__.
10230 (INIT_TARGET_OPTABS), config/avr/libgcc.S:
10231 Rename library functions to start with two underscores.
10232 (ASM_OUTPUT_COMMON): Outputs `.comm VAR,VAR-SIZE,1' to avoid
10233 alignment.
10234 (ASM_WEAKEN_LABEL): Declared for __attribute__((weak)).
10235 (SUPPORTS_WEAK): Likewise.
10236 (LDI_REG_REGNO): New. Register r31 will be used as temporary
10237 register for loading constants to r0-r14.
10238
10239 * config/avr/avr.md: Replace all TARGET_ENHANCED with
10240 AVR_ENHANCED.
10241 (*mov_r_sp): Removed. Handled by output_movhi.
10242 (*mov_sp_r): Likewise.
10243 (*mov_sp_r_no_interrupts): Likewise
10244 (*mov_sp_r_tiny): Likewise.
10245 (*movqi): Use output_movqi.
10246 (*reload_inqi): New.
10247 (*movhi): Use output_movhi.
10248 (*reload_inhi): New.
10249 (*negsi2): Optimized.
10250 (*negsf2): Likewise.
10251 Added peepholes (define_peephole2) for loading constants to r0-r14
10252 and for using `cpse' command.
10253
10254 * config/avr/libgcc.S: Rename library functions to start with two
10255 underscores.
10256 Add support for enhanced core.
10257 (_moqhi3): Fix typo, now _modqi3.
10258 (__divsi_raw): Use __zero_reg__ as loop counter, smaller by 1 word.
10259 (__prologue_saves__): Remove test for stack adjust by 0.
10260 (__tablejump__): New.
10261
10262 * config/avr/t-avr: Build libgcc2 with -mcall-prologues.
10263 Add multilib support.
10264
20bd7bfa
JW
10265Tue Aug 29 15:17:54 EDT 2000 John Wehle (john@feith.com)
10266
10267 * loop.c (prescan_loop): Don't check unknown_address_altered
10268 when deciding if insert_loop_mem is safe. Add BLKmode MEMs
10269 to loop_store_mems as necessary.
10270 (loop_invariant_p): Don't check unknown_address_altered
10271 or unknown_constant_address_altered.
10272
76f941a8
DA
102732000-08-29 J. David Anglin <dave@hiauly1.hia.nrc.ca>
10274
10275 * vax.md (sltu, sgeu): Delete sltu and sgeu insn patterns.
10276
2c8f0515
ZW
102772000-08-29 Zack Weinberg <zack@wolery.cumb.org>
10278
10279 * cpperror.c (print_file_and_line): If line is (unsigned int)-1,
10280 print just the filename.
10281 * cpplex.c (_cpp_run_directive): Add additional argument, the
10282 name to give the synthetic buffer. This defaults to
10283 translated "<command line>".
10284 * cpplib.c (cpp_define, cpp_undef, cpp_assert, cpp_unassert):
10285 Adjust to match.
10286 (_cpp_define_builtin): New function.
10287 * cppinit.c (initialize_builtins): Use _cpp_define_builtin.
10288 * cpphash.h: Update prototypes.
10289
10290 * tradcpp.c (main): Process -D and -U simultaneously, in the
10291 order they appeared on the command line.
10292
6ad79f1b
KG
102932000-08-29 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
10294
10295 * c-decl.c (define_label): Call warning_with_file_and_line and
10296 error_with_file_and_line instead of plain warning or error.
10297
10298 * c-parse.in (label): Use save_filename/save_lineno to ensure
10299 correct values for calls to define_label.
10300
4361b41d
MM
103012000-08-29 Mark Mitchell <mark@codesourcery.com>
10302
10303 * calls.c (expand_call): Don't create a VAR_DECL just to throw it
10304 away.
10305 * expr.c (expand_expr, case TARGET_EXPR): Don't call
10306 mark_addressable.
10307 * tree.h (get_file_function_name): Remove two duplicate
10308 declarations.
10309
abf9af02
KH
103102000-08-28 Kazu Hirata <kazu@hxi.com>
10311
dc478a5d
KH
10312 * tree.c: Fix formatting.
10313
abf9af02
KH
10314 * xcoffout.c: Fix formatting.
10315
5f632b5e
JM
103162000-08-28 Jason Merrill <jason@redhat.com>
10317
10318 * dwarf2out.c (attr_checksum): Also ignore DW_AT_producer.
10319
103202000-08-28 Daniel Berlin <dberlin@redhat.com>
10321
10322 * dwarf2out.c (dwarf2out_finish): Don't bother calling
10323 break_out_includes if it won't do anything.
10324
38323cc3
RH
103252000-08-28 Richard Henderson <rth@cygnus.com>
10326
10327 * reload.c (push_secondary_reload): Revert 2000-08-16 change.
10328 (find_reloads): Likewise.
10329 * config/alpha/alpha.md (reload_inqi): Revert 2000-08-11 change.
10330 (reload_inhi): Likewise.
10331
e1ff012c
RH
103322000-08-28 Richard Henderson <rth@cygnus.com>
10333
10334 * config/i386/i386.c: Don't error on EXTRA_CONSTRAINT defined.
10335 (call_insn_operand): Don't expect a surrounding mem.
10336 (constant_call_address_operand): Likewise.
10337 * config/i386/i386.h (PREDICATE_CODES): Update.
10338 * config/i386/i386.md (call patterns): Move the match_operand
10339 for the call destination inside the mem.
10340
c2cba7a9
RH
103412000-08-28 Richard Henderson <rth@cygnus.com>
10342
10343 * local-alloc.c (requires_inout): Don't use reserved range for
10344 EXTRA_CONSTRAINTS; use anything not matched by REG_CLASS_FROM_LETTER.
10345 * recog.c (asm_operand_ok): Likewise.
10346 (preprocess_constraints, constrain_operands): Likewise.
10347 * regclass.c (record_reg_classes): Likewise.
10348 * reload.c (find_reloads): Likewise.
10349 * reload1.c (maybe_fix_stack_asms): Likewise.
10350 (reload_cse_simplify_operands): Likewise.
10351 * stmt.c (expand_asm_operands): Likewise.
10352
10353 * md.texi: Update constraints documentation.
10354 * tm.texi (EXTRA_CONSTRAINT): Update.
10355
5f632b5e
JM
103562000-08-28 Daniel Berlin <dberlin@redhat.com>
10357
10358 * dwarf2out.c (DIE_LABEL_PREFIX): Remove leading "__".
10359 (print_die): If we don't know the offset of the
10360 target die, try the symbol. Add a trailing newline.
10361 (reverse_all_dies): New fn.
10362 (dwarf2out_finish): Call it.
10363 (break_out_includes): Reorganize for clarity.
10364 (add_sibling_attributes): Don't call reverse_die_lists.
10365 (output_comp_unit): Rename from output_comdat_comp_unit. Use for
10366 primary CU, too.
10367 * flags.h: Add flag_eliminate_dwarf2_dups.
10368 * toplev.c (f_options): Support -feliminate-dwarf2-dups.
10369
5de0e8d4
JM
103702000-08-28 Jason Merrill <jason@redhat.com>
10371
5f632b5e
JM
10372 * dwarf2.h (DW_TAG_GNU_BINCL, DW_TAG_GNU_EINCL): New tags.
10373 * dwarf2out.c: #include "md5.h".
10374 (DIE_LABEL_PREFIX): New macro.
10375 (dw_val_struct): Add 'external' flag to val_die_ref.
10376 (add_AT_die_ref, AT_ref): Adjust.
10377 (AT_ref_external, set_AT_ref_external): New fns.
10378 (build_abbrev_table): Call set_AT_ref_external.
10379 (value_format): Call AT_ref_external.
10380 (die_struct): Add die_symbol field.
10381 (new_die): Clear it.
10382 (dwarf_tag_name): Handle BINCL/EINCL.
10383 (dwarf2out_start_source_file): Add BINCL DIE.
10384 (dwarf2out_end_source_file): Add EINCL DIE.
10385 (push_new_compile_unit, pop_compile_unit, clear_die_sizes): New fns.
10386 (loc_checksum, attr_checksum, die_checksum): New fns.
10387 (is_type_die, is_comdat_die, is_symbol_die): New fns.
10388 (compute_section_prefix, assign_symbol_names): New fns.
10389 (gen_internal_sym, output_die_symbol, output_symbolic_ref): New fns.
10390 (output_die): Call output_die_symbol and AT_ref_external.
10391 (output_comdat_comp_unit): New fn, split out from...
0e5921e8 10392 (dwarf2out_finish): ...here. Also call add_sibling_attributes for
5f632b5e
JM
10393 secondary CUs.
10394 (output_pubnames, output_aranges): Abort if we see entries from
10395 secondary CUs.
10396 * toplev.h: Declare file_name_nondirectory.
10397 * toplev.c (file_name_nondirectory): New fn, moved from C++ frontend.
10398 (rest_of_type_compilation): Call dwarf2out_decl if at toplevel.
10399 (debug_start_source_file): Call dwarf2out_start_source_file
10400 regardless of debug verbosity.
10401 (debug_end_source_file): Similarly.
10402 * tree.h: Declare clean_symbol_name.
10403 * tree.c (clean_symbol_name): Split out from...
10404 (get_file_function_name_long): ...here.
10405
5de0e8d4
JM
10406 * dwarf2out.c (new_loc_descr): Use calloc.
10407 (splice_child_die): Remove the die from the right parent.
10408 (gen_struct_or_union_die): Don't add AT_name to a specification DIE.
10409
04324727
RK
10410Mon Aug 28 19:02:13 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
10411
10412 * toplev.c (decode_g_option): Don't give warning for unknown -g
10413 option; return 0 instead.
10414 (main): If -g option is not recognized by front end or
10415 language-independent code, give warning.
10416
9e3e266c
GM
104172000-08-28 Greg McGary <greg@mcgary.org>
10418
10419 * config/i386/i386-protos.h (ix86_expand_compare): Add extern decl.
10420 * config/i386/i386.c (ix86_expand_compare): Remove `static'.
10421 * config/i386/i386.md (trap, conditional_trap): New insn & expand.
10422
a0bff95f
GM
104232000-08-27 Greg McGary <greg@mcgary.org>
10424
10425 * cpplex.c (parse_string): Don't look for backslash
10426 before first char in `namebuf'.
10427 * loop.c (strength_reduce): Skip NOTEs.
10428
edb4c415
JM
104292000-08-27 Jason Merrill <jason@redhat.com>
10430
10431 * c-decl.c (duplicate_decls): Don't set TREE_STATIC or clear
10432 DECL_EXTERNAL on a local extern. Don't set DECL_IGNORED_P or
10433 TREE_ASM_WRITTEN, either.
10434 (finish_decl): Adjust.
10435
6e88e75c
PT
104362000-08-28 Philipp Thomas <pthomas@suse.de>
10437
10438 * ABOUT-GCC-NLS: Remove gettext patches from Paul Eggert as
10439 they have been incorporated into the gettext CVS. Change the text to
10440 reflect the current status of NLS. Add instructions for accessing
10441 the gettext CVS and add the patch from Martin v. Loewis.
10442
e53ca51f
GK
104432000-08-27 Geoff Keating <geoffk@cygnus.com>
10444
10445 * config/rs6000/rs6000.md (movdi_internal64+5): Make SUBREG-safe
10446 by using gen_lowpart_common.
10447 (movdi_internal64+6): Likewise.
10448
a0a6fdc8
AO
104492000-08-26 Alexandre Oliva <aoliva@redhat.com>
10450
1b2dd04a
AO
10451 * tm.texi (FINI_SECTION_ASM_OP, CRT_CALL_STATIC_FUNCTION):
10452 Document.
10453
a0a6fdc8
AO
10454 * config/mn10300/mn10300.h (DBX_REGISTER_NUMBER): Remap register
10455 numbers to the ranges used by GDB.
10456
26a110f5
RH
104572000-08-25 Richard Henderson <rth@cygnus.com>
10458
10459 * config/ia64/ia64.h (struct machine_function): Add n_varargs.
10460 * config/ia64/ia64.c (ia64_compute_frame_size): Use it.
10461 (ia64_expand_prologue): Likewise.
10462 (ia64_setup_incoming_varargs): Set it. Properly skip the current
10463 argument for stdargs.
10464
ecff20d4
JM
104652000-08-25 Jason Merrill <jason@redhat.com>
10466
10467 * integrate.c (expand_inline_function): Pull out the original decl.
10468
caa511fd
JW
104692000-08-25 Jim Wilson <wilson@cygnus.com>
10470
d51ff7cb
JW
10471 * cse.c (cse_insn): Don't pass label subtraction to force_const_mem.
10472
caa511fd
JW
10473 * function.c (gen_mem_addressof): Clear MEM_ALIAS_SET if no decl.
10474
9a56f4f6
GM
104752000-08-25 Greg McGary <greg@mcgary.org>
10476
10477 * flow.c (dump_edge_info): Use ARRAY_SIZE.
10478 * config/alpha/alpha.c (alpha_expand_block_move): Likewise.
10479
31448271
RE
104802000-08-25 Richard Earnshaw <rearnsha@arm.com>
10481
10482 * arm.h (STRUCT_VALUE): Define to 0, not NULL.
10483
b949ea8b
JW
10484Fri Aug 25 12:52:49 EDT 2000 John Wehle (john@feith.com)
10485
10486 * i386.c (ix86_find_base_term): New.
10487 * i386-protos.h (ix86_find_base_term): Prototype.
10488 * i386.h (FIND_BASE_TERM): Define.
10489 * alias.c (find_base_term): Use it.
10490 * tm.texi (FIND_BASE_TERM): Document it.
10491
10492 * alias.c (true_dependence, write_dependence_p): Unchanging
10493 memory can't conflict with non-unchanging memory.
10494
10495 * alias.c (memrefs_conflict_p): A BLKmode reference
10496 to a symbol (or CONST_INT address) always conflicts
10497 with a reference to another symbol.
10498
343b7260
JM
104992000-08-25 Joseph S. Myers <jsm28@cam.ac.uk>
10500
10501 * c-common.c (time_char_table): Don't allow width and flags with
10502 "z" format.
10503
1f9124e4
JJ
105042000-08-25 Jakub Jelinek <jakub@redhat.com>
10505
10506 * config/i386/i386.c (ix86_expand_branch): Treat GE and GEU the same
10507 way as LT and LTU when the second operand has 0 in low word.
10508
6057c0e6
MH
105092000-08-26 Michael Hayes <mhayes@cygnus.com>
10510
135ebc36
MH
10511 * basic-block.h (struct loop): Rename `exits' field to
10512 `exit_edges'. Add `entry_edges' and `num_entries' fields.
10513
10514 * flow.c (flow_loop_exit_edges_find): Rename from flow_loop_exits_find.
10515 (flow_loop_entry_edges_find): Add.
10516 (flow_edge_list_print): Rename from flow_exits_print.
10517 (flow_loops_find): Call flow_loop_entry_edges_find.
10518 (flow_loop_dump): Dump entry_edges list.
10519 (flow_loops_free): Free entry_edges.
0e5921e8 10520
135ebc36 105212000-08-26 Michael Hayes <mhayes@cygnus.com>
0e5921e8 10522
6057c0e6
MH
10523 * loop.c (loop_dump_aux, debug_loop): New functions.
10524 (LOOP_BLOCK_NUM_1, LOOP_BLOCK_NUM, LOOP_INSN_UID): New macros.
10525
10526 * flow.c (flow_loops_dump): Add callback parameter.
10527 (flow_loop_dump): Add callback parameter and call it. Move
10528 loop note debugging code to loop_dump_aux.
10529
10530 * basic-block.h (flow_loop_dump): Add callback parameter
10531 (flow_loops_dump): Likewise.
10532
10533 * toplev.c (rest_of_compilation): Add NULL callback function pointer
10534 to call to flow_loops_dump.
0e5921e8 10535
028fc6e7
MH
105362000-08-26 Michael Hayes <mhayes@cygnus.com>
10537
10538 * loop.c (count_loop_regs_set): Replace start and end arguments
10539 with loop argument. All callers udated.
0e5921e8 10540
371502a8 105412000-08-26 Michael Hayes <mhayes@cygnus.com>
0e5921e8 10542
371502a8
MH
10543 * loop.c (constant_high_bytes): Delete.
10544
e375c819
MH
105452000-08-26 Michael Hayes <mhayes@cygnus.com>
10546
10547 * loop.c (prescan_loop): Move checks for NOTE_INSN_LOOP_CONT
10548 and NOTE_INSN_LOOP_VTOP to...
10549 (find_and_verify_loops) ...here.
10550
036cfb36
AO
10551Fri Aug 25 04:21:13 2000 Alexandre Oliva <aoliva@redhat.com>
10552
10553 * crtstuff.c (CRT_CALL_STATIC_FUNCTION): Define default.
10554 (fini_dummy, init_dummy): Use it.
10555
c2e20542
NB
10556Fri 25-Aug-2000 08:03:27 BST Neil Booth <NeilB@earthling.net>
10557
10558 * cpplex.c (is_macro_disabled): Caller has already checked
10559 that we're not a preprocessed file.
10560
83bab8db
MM
105612000-08-24 Mark Mitchell <mark@codesourcery.com>
10562
10563 * Makefile.in (C_AND_OBJC_OBJS): Remove c-iterate.o.
10564 (c-iterate.o): Remove target.
10565 * gcc/c-common.h (enum rid): Remove RID_ITERATOR.
10566 * gcc/c-decl.c (init_decl_processing): Remove call to init_iterators.
10567 (finish_decl): Don't handle iterators.
10568 (grokdeclarator): Likewise.
10569 * gcc/c-parse.gperf: Remove __iterator and __iterator__ keywords.
10570 * gcc/c-gperf.h: Regenerated.
10571 * gcc/c-iterate.c: Removed.
10572 * gcc/c-lex.c (init_lex): Don't handle iterators.
10573 * gcc/c-parse.in (primary): Remove pop_iterator_stack call.
10574 (compstmt_primary_start): Remove push_iterator_stack call.
10575 (stmt): Don't allow iterator statements. Replace iterator_expand
10576 with expand_expr_stmt.
10577 (all_iter_stmt): Remove.
10578 (all_iter_stmt_simple): Likewise.
10579 (all_iter_stmt_with_decl): Likewise.
10580 * gcc/c-tree.h (ITERATOR_P): Remove.
10581 (ITERATOR_BOUND_P): Likewise.
10582 (init_iterators): Remove declaration.
10583 (iterator_expand): Likewise.
10584 (iterator_for_loop_start): Likewise.
10585 (iterator_for_loop_end): Likewise.
10586 (iterator_for_loop_record): Likewise.
10587 (push_iterator_stack): Likewise.
10588 (pop_iterator_stack): Likewise.
10589 * gcc/c-typeck.c (decl_constant_value): Don't check ITERATOR_P.
10590 (readonly_warning): Likewise.
10591 * gcc/tree.h (ITERATOR_BOUND_P): Don't mention it.
0e5921e8 10592
aee3c6b0
JW
105932000-08-24 Jim Wilson <wilson@cygnus.com>
10594
10595 * c-common.c (decl_attributes, case A_ALIGN): Revert last change.
10596 Copy type in a TYPE_DECL, just like pushdecl does.
10597
58d8c980
RH
105982000-08-24 Richard Henderson <rth@cygnus.com>
10599
10600 * toplev.c (main): Enable flag_reorder_blocks at -O2.
10601
054f5e69
ZW
106022000-08-24 Zack Weinberg <zack@wolery.cumb.org>
10603
0e5921e8 10604 * ggc-page.c (alloc_page): If HAVE_MMAP_ANYWHERE and we're
054f5e69
ZW
10605 asked for one page, allocate GGC_QUIRE_SIZE of them and put
10606 the extras on the free list.
10607 (release_pages): Clean up.
10608 (ggc_set_mark): Don't adjust G.allocated here...
10609 (sweep_pages): ... do it here.
10610
106112000-08-24 Zack Weinberg <zack@wolery.cumb.org>
10612
10613 * cppfiles.c (read_include_file): Rearrange initializations.
10614
0551c32d
RH
106152000-08-24 Richard Henderson <rth@cygnus.com>
10616
10617 * stmt.c (expand_asm_operands): Treat EXTRA_CONSTRAINT like g or X.
10618
10619 * config/ia64/ia64-protos.h: Update.
10620 * config/ia64/ia64.c (gr_register_operand): New.
10621 (fr_register_operand, grfr_register_operand): New.
10622 (gr_nonimmediate_operand, grfr_nonimmediate_operand): New.
10623 (grfr_reg_or_8bit_operand): New.
0e5921e8 10624 (gr_reg_or_0_operand): Rename from reg_or_0_operand and
0551c32d
RH
10625 use gr_register_operand.
10626 (gr_reg_or_5bit_operand, gr_reg_or_6bit_operand): Likewise.
10627 (gr_reg_or_8bit_operand, gr_reg_or_8bit_adjusted_operand): Likewise.
10628 (gr_reg_or_8bit_and_adjusted_operand): Likewise.
10629 (gr_reg_or_14bit_operand, gr_reg_or_22bit_operand): Likewise.
10630 (fr_reg_or_fp01_operand): Likewise.
10631 (not_postinc_memory_operand): New.
10632 (ia64_split_timode): Remove unused variables.
10633 (rtx_needs_barrier): Check arguments to cmpxchg.
10634 (builtin_description): Remove.
10635 (bdesc_2argsi, bdesc_2argdi): Remove.
10636 (ia64_init_builtins): Declare all builtins directly.
10637 (ia64_expand_fetch_and_op): Rewrite to be called from
10638 ia64_expand_builtin directly. Use expand_binop and co.
10639 (ia64_expand_op_and_fetch): Likewise.
10640 (ia64_expand_compare_and_swap): Likewise.
10641 (ia64_expand_binop_builtin): Remove.
10642 (ia64_expand_lock_test_and_set): New.
10643 (ia64_expand_lock_release): New.
10644 (ia64_expand_builtin): Use them.
10645 * config/ia64/ia64.h (CONSTRAINT_OK_FOR_S): New.
10646 (EXTRA_CONSTRAINT): Use it.
10647 (PREDICATE_CODES): Update.
10648 * config/ia64/ia64.md (*): Use gr_register_operand and co.
10649 (mf): Indicate that we set memory as well as use it.
10650 (fetchadd_acq_si): Show memory being modified as well.
0e5921e8 10651 (fetchadd_acq_di, cmpxchg_acq_si, cmpxchg_acq_di): Likewise.
0551c32d
RH
10652 (val_compare_and_swap_si, val_compare_and_swap_di): Remove.
10653 (lock_test_and_set_si, lock_test_and_set_di): Remove.
10654 (fetch_and_add_si, fetch_and_sub_si, fetch_and_or_si): Remove.
10655 (fetch_and_and_si, fetch_and_xor_si, fetch_and_nand_si): Remove.
10656 (fetch_and_add_di, fetch_and_sub_di, fetch_and_or_di): Remove.
10657 (fetch_and_and_di, fetch_and_xor_di, fetch_and_nand_di): Remove.
10658 (add_and_fetch_di, sub_and_fetch_di, or_and_fetch_di): Remove.
10659 (and_and_fetch_di, xor_and_fetch_di, nand_and_fetch_di): Remove.
10660 (add_and_fetch_si, sub_and_fetch_si, or_and_fetch_si): Remove.
10661 (and_and_fetch_si, xor_and_fetch_si, nand_and_fetch_si): Remove.
10662 * config/ia64/ia64intrin.h (*): Cast result to the appropriate
10663 return type. Pretty print definitions.
10664
7c866fb5
JW
106652000-08-24 Jim Wilson <wilson@cygnus.com>
10666
10667 * config/ia64/ia64.md (movdi): Don't call gen_movdi_symbolic if
10668 we have a SYMBOL_REF with SYMBOL_REF_FLAG set.
10669
40e8cc95
JM
106702000-08-24 Jason Merrill <jason@redhat.com>
10671
10672 * dwarf2out.c (AT_flag, AT_int, AT_unsigned, AT_string, AT_ref,
10673 AT_loc, AT_addr, AT_lbl): Abort on unsuitable input.
0e5921e8 10674 (get_AT_low_pc, get_AT_hi_pc, get_AT_string, get_AT_flag,
40e8cc95
JM
10675 get_AT_unsigned, get_AT_ref): Don't call them if get_AT fails.
10676
b6a1cbae
GM
106772000-08-24 Greg McGary <greg@mcgary.org>
10678
10679 * optabs.c (init_optabs): Initialize fixtab, fixtrunctab, floattab,
10680 and extendtab within their proper array boundaries.
10681 * emit-rtl.c (init_emit_once): Pass `const_tiny_rtx' with bounds
10682 for the entire array.
10683
10684 * config/arm/arm.c (arm_override_options): Use ARRAY_SIZE.
10685 * config/alpha/alpha.c (alpha_lookup_xfloating_lib_func): Likewise.
10686 * config/avr/avr.c (order_regs_for_local_alloc): Likewise.
10687 * config/fr30/fr30.c (fr30_print_operand): Likewise.
10688 * config/i386/dgux.c (output_options): Likewise.
10689 * config/i386/dgux.h (ASM_FILE_START): Likewise.
10690 * config/m88k/m88k.c (output_options): Likewise.
10691 * config/m88k/m88k.h (ASM_FILE_START): Likewise.
10692 * config/mcore/mcore.c (mcore_output_inline_const_forced,
10693 layout_mcore_frame, handle_structs_in_regs): Likewise.
10694 * config/mips/mips.c (output_block_move): Likewise.
10695 * config/rs6000/rs6000.c (rs6000_override_options,
10696 rs6000_file_start): Likewise.
10697 * config/sparc/sparc.c (sparc_add_gc_roots): Likewise.
10698 * fixinc/fixfixes.c (FIX_TABLE_CT): Likewise.
10699 * fixinc/fixtests.c (TEST_TABLE_CT): Likewise.
10700 * builtins.c (expand_builtin_setjmp): Likewise.
10701 * expr.c (safe_from_p): Likewise.
10702 * flow.c (life_analysis): Likewise.
10703 * fold-const.c (size_int_type_wide): Likewise.
10704 * gcc.c (translate_options, init_spec, set_spec, main): Likewise.
10705 * genattrtab.c (make_length_attrs): Likewise.
10706 * genopinit.c (gen_insn): Likewise.
10707 * genrecog.c (NUM_KNOWN_PREDS, NUM_SPECIAL_MODE_PREDS): Likewise.
10708 * global.c (global_alloc): Likewise.
10709 * local-alloc.c (find_free_reg): Likewise.
10710 * mips-tdump.c (print_symbol): Likewise.
10711 * mips-tfile.c (parse_def, parse_input): Likewise.
10712 * reload1.c (NUM_ELIMINABLE_REGS): Likewise.
10713 * stmt.c (expand_nl_goto_receiver): Likewise.
10714 * stor-layout.c (set_sizetype): Likewise.
10715 * varasm.c (decode_reg_name): Likewise.
10716 * toplev.c (decode_f_option, decode_W_option,
10717 set_target_switch, print_switch_values): Likewise.
10718 (NUM_ELEM): Remove macro.
10719 (display_help, main): s/NUM_ELEM/ARRAY_SIZE/
10720
5b47282c
GM
107212000-08-24 Greg McGary <greg@mcgary.org>
10722
10723 * tree.h (enum tree_index): New member `TI_MAIN_IDENTIFIER'.
10724 (MAIN_NAME_P, main_identifier_node): New macros.
10725 * c-common.c (c_common_nodes_and_builtins): Init main_identifier_node.
10726 * c-decl.c (start_decl, grokdeclarator, start_function,
10727 store_parm_decls, finish_function): Use MAIN_NAME_P.
10728 * config/avr/avr.c (function_prologue, function_epilogue): Likewise.
10729 * config/i386/cygwin.h (SUBTARGET_PROLOGUE): Likewise.
10730 * config/i386/win32.h (SUBTARGET_PROLOGUE): Likewise.
10731 * config/pdp11/pdp11.c (output_function_prologue): Likewise.
10732
87ae0c74
GM
107332000-08-24 Greg McGary <greg@mcgary.org>
10734
10735 * cppfiles.c (actual_directory): Don't write beyond `dir'
10736 when it contains "".
10737 * real.c (asctoeg): Stay within bounds of etens[][].
10738
b148aeaa
KG
107392000-08-24 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
10740
10741 * dependence.c (dependence_string, direction_string,
10742 dump_one_node, dump_node_dependence): Hide unused identifiers.
10743 (get_low_bound, normalize_coefficients): Match definition to
10744 static prototype.
10745 (get_one_coefficient): Initialize variables `value0_is_idx' and
10746 `value1_is_idx'.
10747 (ziv_test, gcd_test): Mark parameters with ATTRIBUTE_UNUSED.
10748 (ziv_test): Delete variable `idx', use parameter `sub' instead.
10749 (direction_merge): Avoid automatic aggregate initialization.
10750 (have_dependence_p): Use `src' not `dest' to set `src_idx'.
10751 Initialize variables `dest_idx' and `src_idx'.
10752 (end_dependence_analysis): Avoid C89 style function definition.
10753
4894ecce
JM
107542000-08-24 Joseph S. Myers <jsm28@cam.ac.uk>
10755
10756 * c-common.c (time_char_table): Don't allow width with %F.
10757 (check_format_info): Don't allow "Z" length with scanf.
10758
2ab99c46
GDR
107592000-08-24 Gabriel Dos Reis <gdr@codesourcery.com>
10760
10761 * diagnostic.c (finish_diagnostic): Define.
10762 (output_do_printf): Use wrap_text instead of output_add_string.
10763 (default_print_error_function): Avoid embedded '\n'.
10764
10765 * diagnostic.h (flush_diagnostic_buffer): Declare.
10766
335e59bd
AO
107672000-08-23 Alexandre Oliva <aoliva@redhat.com>
10768
10769 * dependence.c: Replace `[][]' with `[][MAX_SUBSCRIPTS]'.
10770
d9fe00bb
HPN
107712000-08-23 Hans-Peter Nilsson <hp@axis.com>
10772
10773 * Makefile.in (GCC_PASSES): Add specs.
10774
b97644fc
JW
107752000-08-23 Jim Wilson <wilson@cygnus.com>
10776
10777 * frame.h (IA64_UNW_EHANDLER, IA64_UNW_UHANDLER): New.
10778 * config/ia64/frame-ia64.c (__get_personality): Return zero if neither
10779 EHANDLER nor UHANDLER bit is set.
10780 (__get_except_table): Likewise.
10781
64a7723d
NC
107822000-08-23 Nick Clifton <nickc@redhat.com>
10783
02689e18
NC
10784 * config/arm/lib1funcs.asm: Replace upper case condition codes
10785 with lower case versions.
10786
64a7723d
NC
10787 * config/arm/arm.h (STRUCT_VALUE): Define.
10788 (STRUCT_VALUE_REGNUM): Delete.
10789
bbdac7d0
ZW
107902000-08-23 Zack Weinberg <zack@wolery.cumb.org>
10791
10792 * cpphash.h (IN_I): New flag for directive table.
10793 * cpplib.c (DIRECTIVE_TABLE): Mark #define, #undef, #ident, and
10794 #pragma with IN_I.
10795 (_cpp_check_directive): If -fpreprocessed, execute directives
10796 marked with IN_I. Issue no warnings in this case.
10797 * cpplex.c (_cpp_get_token): Expand no macros if -fpreprocessed.
10798
d8eceea4
JM
107992000-08-23 Joseph S. Myers <jsm28@cam.ac.uk>
10800
10801 * c-common.c (print_char_table): Allow 'I' flag with %d, %i and
10802 %u.
10803 (check_format_info): Support printf 'I' flag; warn about it with
10804 -pedantic.
10805
e04c2d6c
RE
108062000-08-23 Richard Earnshaw (rearnsha@arm.com)
10807
10808 * arm.c (arm_expand_prologue): Ensure that the stack-adjustment
10809 barrier can't be ignored by the alias analysis code.
10810
f4306baa
EZ
108112000-08-12 Eli Zaretskii <eliz@is.elta.co.il>
10812
10813 * fixinc/inclhack.def (sysv68_string): Fix the Sed script so it
10814 works inside fixincl.
10815
95d0e5f1
AO
10816Wed Aug 23 04:55:48 2000 Alexandre Oliva <aoliva@redhat.com>
10817
10818 * simplify-rtx.c (simplify_rtx): Don't pass VOIDmode to
10819 simplify_relational_operation() unless both operands are of
10820 VOIDmode.
10821 * cse.c (fold_rtx): Likewise.
10822
55efb413
JW
10823Tue Aug 22 23:53:27 EDT 2000 John Wehle (john@feith.com)
10824
10825 * rtlanal.c (rtx_unstable_p): The pic register is stable
10826 (within one function) and the actual rtx should be used
10827 when checking the registers.
10828 (rtx_addr_can_trap_p): Pic memory addresses can't trap.
10829
10830 * alias.c (true_dependence, write_dependence_p): Fix
10831 bug in previous patch.
10832
10833 * i386.c (ix86_GOT_alias_set): New.
10834 (legitimize_pic_address): Use it.
10835
10836 * rtlanal.c (rtx_unstable_p): An unchanging MEM is
10837 only stable if its address is stable.
10838 (rtx_varies_p): An unchanging MEM can't vary if
10839 its address doesn't vary.
10840
aac625ac
KG
108412000-08-22 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
10842
10843 * c-parse.in (unop +): Restrict -Wtraditional warnings to user code.
10844
62432849
DA
108452000-08-22 J. David Anglin <dave@hiauly1.hia.nrc.ca>
10846
10847 * vax.h (ASM_SPEC): Pass `-J' to assembler.
10848 * x-vax-gcc: New file for bootstrapping with gcc.
dd745546 10849 * x-vax: Use X_CFLAGS rather than X_CPPFLAGS to pass `-J'.
62432849
DA
10850 * configure.in: Use x-vax-gcc with gcc.
10851 * configure: Rebuilt.
10852
1eb994b7
R
10853Tue Aug 22 21:21:05 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
10854
10855 * toplev.c (rest_of_compilation): Rebuild label notes after
10856 post-reload splitting pass if new labels have been created.
10857
f6a542de
GDR
108582000-08-22 Gabriel Dos Reis <gdr@codesourcery.com>
10859
10860 * diagnostic.h (output_buffer_state): New macro.
10861 * diagnostic.c (diagnostic_for_decl, sorry,
10862 default_print_error_function, output_do_verbatim,
10863 report_diagnostic, report_problematic_module): Use it.
10864 (wrap_text): Tweak.
10865 (output_format): Use wrap_text instead of maybe_wrap_text.
10866
888e552f
NC
108672000-08-22 Nick Clifton <nickc@redhat.com>
10868
10869 * config/arm/lib1funcs.asm (ARM_DIV_MOD_BODY): New macro.
10870 Common code for ARM divide and modulus functions.
10871 (THUMB_DIV_MOD_BODY): New macro. Thumb equivalent of
10872 ARM_DIV_MOD_BODY.
10873 (FUNC_END): New macro: Common code at the end of the division and
10874 modulo functions.
10875 (THUMB_FUNCTION_START): New macro: Common code at the start of
10876 Thumb functions.
10877 (__divsi3, __udivsi3, __modsi3, __umodsi3): Use new macros.
0e5921e8 10878
89e43e33
KK
10879Tue Aug 22 20:34:52 2000 Kaz Kojima <kkojima@rr.iij4u.or.jp>
10880
10881 * config/sh/sh.md (cmpeqdi_t splitter): Fix a reverse testing.
10882
10883 * config/sh/sh.c (prepare_scc_operands): Apply force_reg to
10884 sh_compare_op1 when the mode is DImode and sh_compare_op1 isn't
10885 const0_rtx.
10886
7405dc37
NC
108872000-08-22 Nick Clifton <nickc@redhat.com>
10888
10889 * config/arm/lib1funcs.asm (__umodsi3): Before performing any
10890 restorative additions, test for bottom bits of IP being set,
10891 rather than relying upon the RORs not matching.
10892 (__modsi3): Ditto.
10893
9861b0c9
DE
108942000-08-22 David Edelsohn <edelsohn@gnu.org>
10895
10896 * aix.h (ASM_DECLARE_FUNCTION_NAME): Call named_section() or
60a3c181 10897 text_section() as appropriate instead of emitting text csect
9861b0c9
DE
10898 pseudo-op directly.
10899 (TEXT_SECTION_ASM_OP): Only require default 32-bit alignment.
10900 (UNIQUE_SECTION): Define macro.
10901 (ASM_OUTPUT_SECTION_NAME): Define macro.
10902 * rs6000.c (rs6000_override_options): Disable -ffunction-sections
60a3c181 10903 on AIX if debugging and -fdata-sections always.
9861b0c9
DE
10904
109052000-08-22 Steven King <sxking@uswest.net>
df3a88f0
SK
10906
10907 * config/float-i386.h (LDBL_EPSILON): Remove __convert_long_double
10908 machinery.
10909 (LDBL_MAX): Same here.
10910
b578dbd7
RH
109112000-08-22 Richard Henderson <rth@cygnus.com>
10912
10913 * flow.c (tidy_fallthru_edge): Update b->end properly.
10914
d061bc1e
SC
109152000-08-22 Stan Cox <scox@redhat.com>
10916
60a3c181
RH
10917 * Makefile.in (OBJS): Add dependence.o.
10918 * dependence.c: New file.
0e5921e8 10919
23d16877 109202000-08-22 Alexandre Oliva <aoliva@redhat.com>, John David Anglin <dave.anglin@nrc.ca>
3cadd778 10921
d60eab50
AO
10922 * calls.c (check_sibcall_argument_overlap_1): Adjust for
10923 ARGS_GROW_DOWNWARD.
10924 (check_sibcall_argument_overlap): Likewise.
10925
23d16877
AO
109262000-08-22 Alexandre Oliva <aoliva@redhat.com>
10927
3cadd778
AO
10928 * invoke.texi (SH Options): Document -m4-nofpu,
10929 -m4-single-only, -m4-single, -m4, -mbigtable, -mfmovd,
10930 -mhitachi, -mnomacsave, -misize, -mpadstruct, -mspace.
10931
23e4d028
JM
109322000-08-22 Joseph S. Myers <jsm28@cam.ac.uk>
10933
10934 * c-common.c (check_format_info): Give the 'some locales' warning
10935 for strftime %Ey rather than the unconditional 'only last 2 digits
10936 of year' one.
10937
bc82c87c
RH
109382000-08-22 Richard Henderson <rth@cygnus.com>
10939
10940 * alias.c (init_alias_analysis): Do not register
10941 struct_value_incoming_rtx or static_chain_rtx as pointing
10942 to stack memory.
10943
7db9125f
JL
10944Tue Aug 22 01:44:43 2000 Jeffrey A Law (law@cygnus.com)
10945
10946 * protoize.c (munge_compile_params): Fix typo and formatting buglets.
10947
b413d64d
GDR
109482000-08-22 Gabriel Dos Reis <gdr@codesourcery.com>
10949
10950 * diagnostic.h (report_problematic_module): Declare.
10951 * diagnostic.c (report_problematic_module): New function.
10952 (report_error_function): Tweak.
10953
c4a6c0f3
RK
10954Tue Aug 22 02:31:26 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
10955
10956 * stmt.c (expand_goto_internal, fixup_gotos): Only check
10957 TYPE_RETURNS_STACK_DEPRESSED for FUNCTION_TYPE.
10958
770a7feb
RH
109592000-08-21 Richard Henderson <rth@cygnus.com>
10960
10961 * flow.c (calculate_global_regs_live): Mark frame pointer live
10962 everywhere before reload.
10963
280db205
JW
109642000-08-21 Jim Wilson <wilson@cygnus.com>
10965
10966 * real.c (ereal_from_int, ereal_from_uint, significand_size): Handle
10967 INTEL_EXTENDED_IEEE_FORMAT.
10968 (toe64): Delete INTEL_EXTENDED_IEEE_FORMAT support. Unconditionally
10969 clear last two bytes of output FP value.
10970
94c21c17
GS
109712000-08-21 Graham Stott <grahams@cygnus.co.uk>
10972
10973 * config/ia64/ia64.h (REDO_SECTION_INFO_P): Change decl to DECL.
10974
6315f068
JJ
109752000-08-21 Jakub Jelinek <jakub@redhat.com>
10976
10977 * unroll.c (loop_find_equiv_value): If ret is modified between
10978 insn and loop_start, ret might not be equivalent to reg.
10979
5804a754
JM
109802000-08-21 Joseph S. Myers <jsm28@cam.ac.uk>
10981
10982 * c-common.c (init_dollar_format_checking,
10983 maybe_read_dollar_number, finish_dollar_format_checking): New
10984 functions.
10985 (dollar_arguments_used, dollar_arguments_count,
10986 dollar_first_arg_num, dollar_max_arg_used, dollar_format_warned):
10987 New variables.
10988 (check_format_info): Support $ formats for scanf and printf width
10989 and precision. Always increment format_chars to advance past the
10990 '*' of precision, not just when the format parameters are
10991 available to check.
10992
95adab8e
KG
109932000-08-21 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
10994
10995 * mips.c (block_move_loop, expand_block_move,
10996 function_arg_partial_nregs, save_restore_insns, function_prologue,
10997 mips_expand_prologue, RA_MASK): Avoid using the `U' integer
10998 constant suffix.
10999 (function_arg_advance, function_arg): Match argument to format
11000 specifier `%p'.
11001
49009afd
JL
110022000-08-21 Nix <nix@esperi.demon.co.uk>
11003
11004 * gcc.c (do_spec_1): Implement %j spec flag.
11005 Remove dead comment.
11006
11007 * gcc.texi (The Configuration File): Document HOST_BIT_BUCKET.
60a3c181
RH
11008 * system.h (HOST_BIT_BUCKET): Default to "/dev/null".
11009 * config/i386/xm-dos.h (HOST_BIT_BUCKET): Define as "NUL".
11010 * config/i386/xm-os2.h, config/winnt/winnt.h: Likewise.
49009afd 11011
60a3c181 11012 * protoize.c (munge_compile_params): Use HOST_BIT_BUCKET (if
49009afd
JL
11013 writable) instead of hardcoded value.
11014
11015 * toplev.c (compile_file): Output to a file even if -fsyntax-only.
11016
60a3c181
RH
11017 * gcc.c, config/i386/xm-dos.h, config/i386/xm-os2.h: Kill
11018 MKTEMP_EACH_FILE.
49009afd 11019
60a3c181 11020 * gcc.c (cc1_options): Do not process -o or run the assembler if
49009afd 11021 -fsyntax-only.
05a3d06e 11022 * objc/lang-spec.h: Likewise.
49009afd
JL
11023
110242000-08-21 Eli Zaretskii <eliz@is.elta.co.il>
dc13bad7
EZ
11025
11026 * fixinc/fixincl.c (fix_with_system): Pipe the output of
11027 "external" fixes through `cat', to avoid truncating the input
11028 file by redirection.
11029
cb694d2c
JJ
110302000-08-21 Jakub Jelinek <jakub@redhat.com>
11031
11032 * config/i386/i386.md (lea_general_1): Copy insn condition to split
11033 condition.
11034 (lea_general_2, lea_general_3): Likewise.
11035
cde6e684
KG
110362000-08-21 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
11037
11038 * c-decl.c (duplicate_decls, define_label): Restrict -Wtraditional
11039 warnings to user code.
11040
11041 * c-lex.c (readescape, yylex): Likewise.
11042
11043 * c-typeck.c (store_init_value, process_init_element): Likewise
11044 (c_expand_start_case): Format.
11045
120dc6cd
MR
110462000-08-18 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
11047
11048 * mips/linux.h (LINK_SPEC): Use %(endian_spec).
11049
11050 * mips/mips.h: Change LINKER_ENDIAN_SPEC to ENDIAN_SPEC
0e5921e8 11051 and linker_endian_spec to endian_spec.
120dc6cd
MR
11052 (ENDIAN_SPEC): Add %{EB} and %{EL}.
11053 (LINK_SPEC): Remove %{EB} and %{EL}.
0e5921e8 11054 (ASM_SPEC): Likewise. Use %(endian_spec).
120dc6cd 11055
93e2382f
JM
110562000-08-21 Joseph S. Myers <jsm28@cam.ac.uk>
11057
11058 * c-tree.h (flag_hosted): Move declaration from here...
11059 * c-common.h (flag_hosted): ... to here.
11060 (flag_noniso_default_format_attributes): New declaration.
11061 * c-decl.c (flag_noniso_default_format_attributes): New variable.
11062 (c_decode_option): Set it appropriately for options choosing
11063 language standard variant.
11064 * c-common.c (init_function_format_info): Only provide default
11065 format attributes if flag_hosted. Only provide the gettext
11066 formats if flag_noniso_default_format_attributes. Update
11067 comments.
11068 (check_format_info): Disable treatment of %a as a scanf flag in
11069 C99 mode.
11070
f3d360aa
JM
110712000-08-21 Joseph S. Myers <jsm28@cam.ac.uk>
11072
11073 * c-common.c (scan_char_table): Add 'w' to flags for all formats
11074 except 'n'.
11075 (check_format_info): Set 'wide' for scanf format widths. Warn for
11076 a zero scanf width. Make the check for writing into a constant
11077 object at the first level of indirection; at later levels, warn if
11078 any type qualifiers are encountered.
11079
e04ca094
JL
11080Mon Aug 21 07:41:12 2000 Jeffrey A Law (law@cygnus.com)
11081
e6ea3b5f
JL
11082 * reload.c (reload_inner_reg_of_subreg): New function broken out of
11083 push_reload.
11084 (push_reload): Use reload_inner_reg_of_subreg.
11085 (combine_reloads): Do not combine reloads if the input reload
11086 is a SUBREG in which the inner part will need reloading.
11087
e04ca094
JL
11088 * global.c (global_alloc): Avoid passing dumpfile argument to
11089 reload routines.
11090 * toplev.c (rest_of_compilation): Likewise.
11091 * reload.h (reload): Remove dumpfile argument. Callers changed.
11092 (debug_reload, debug_reload_to_stream): Move prototypes here.
11093 * rtl.h (reload): Remove dumpfile argument.
11094 * reload.c (debug_reload): Remove prototype.
11095 (debug_reload_to_stream): Likewise.
11096 * reload1.c: Avoid passing dumpfile around, rely on rtl_dump_file
11097 instead.
11098
24805e80
GDR
110992000-08-21 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
11100
11101 * diagnostic.c (context_as_prefix): Export.
11102 (need_error_newline): Remove.
11103 (lang_diagnostic_starter, lang_diagnostic_finalizer): New objects.
11104 (error_module_changed, record_last_error_module,
11105 error_function_changed, record_last_error_function): New functions.
11106 (initialize_diagnostics): Default intialize
11107 lang_diagnostic_starter, lang_diagnostic_finalizer.
11108 (init_output_buffer): Tweak.
11109 (file_name_as_prefix): New function.
11110 (announce_function, default_print_error_function,
11111 report_error_function, set_diagnostic_context): Tweak.
11112
056b6841
RE
111132000-08-21 Richard Earnshaw <rearnsha@arm.com>
11114
11115 * flow.c (init_propagate_block_info): Handle SUBREG in a jump
11116 condition expression.
11117
7171b491
RH
111182000-08-20 Richard Henderson <rth@cygnus.com>
11119
11120 * flow.c (merge_blocks_nomove): Don't seek back past the bb note.
11121
3cb553b4
ZW
111222000-08-20 Zack Weinberg <zack@wolery.cumb.org>
11123
11124 * cppinit.c (cpp_init): Set global flag when called.
11125 (cpp_reader_init): Bomb out if cpp_init hasn't been called.
11126
9861b0c9 11127Sun Aug 20 01:41:35 2000 Dennis Chernoivanov <cdi@sparc.spb.su>
3cb553b4 11128
60a3c181
RH
11129 * cpplex.c (cpp_scan_buffer): Move `output_line_command' just
11130 before `process_directive' so that newlines won't be missed
11131 for directives.
11132 (cpp_printf): Increment `print->lineno' when newline is emitted.
3cb553b4 11133
60a3c181
RH
11134 * cppmain.c (cb_ident): Likewise.
11135 (cb_define): Likewise.
11136 (cb_undef): Likewise.
11137 (cb_include): Likewise.
11138 (cb_def_pragma): Likewise.
11139 (dump_macros_helper): Likewise.
3cb553b4 11140
9c668921
RH
111412000-08-20 Richard Henderson <rth@cygnus.com>
11142
11143 * config/ia64/ia64.c (emit_insn_group_barriers): Stop if ar.lc
11144 assigned before a loop.
11145
11146 * config/ia64/ia64.md (ashlsi3): Zero extend the shift count.
11147 (ashrsi3, lshrsi3): Likewise.
11148
4e1e6a01
GDR
111492000-08-20 Gabriel Dos Reis <gdr@codesourcery.com>
11150
11151 * c-lang.c: #include diagnostic.h
11152 (c_tree_printer): New function.
11153 (lang_init): Initialize lang_printer.
11154
11155 * Makefile.in (c-lang.o): Depends on diagnostic.h
11156
e2840263
GDR
111572000-08-20 Gabriel Dos Reis <gdr@codesourcery.com>
11158
11159 * c-errors.c (pedwarn_c99): Adjust call to report_diagnostic.
11160
11161 * diagnostic.c (default_diagnostic_starter,
11162 default_diagnostic_finalizer): New functions.
11163 (diagnostic_for_asm, diagnostic_for_decl): Tweak.
11164 (pedwarn, pedwarn_with_file_and_line, error,
11165 error_with_file_and_line, fatal, warning,
11166 warning_with_file_and_line): Adjust call to report_diagnostic.
11167 (report_diagnostic): Rework.
11168 (set_diagnostic_context): New function.
11169
11170 * diagnostic.h (struct diagnostic_context): New data structure.
11171 (diagnostic_message, diagnostic_argument_list,
11172 diagnostic_file_location, diagnostic_line_location,
11173 diagnostic_is_warning, diagnostic_starter, diagnostic_finalizer,
11174 diagnostic_finalizer, diagnostic_auxiliary_data): New macros.
11175 (set_diagnostic_context): Declare.
11176 (report_diagnostic): Change prototype.
11177
574f7425
NB
11178Sun 20-Aug-2000 09:25:45 BST Neil Booth <NeilB@earthling.net>
11179
11180 * fix-header.c (main): Initialize cpplib.
11181
f1e42c81
MM
111822000-08-19 Michael Meissner <meissner@redhat.com>
11183
34c9e848
MM
11184 * ifcvt.c (find_if_block): Do not assume that a THEN block has any
11185 instructions in it before checking for indirect jumps.
11186
f1e42c81
MM
11187 * ifcvt.c (find_if_block): Do not consider a THEN block that ends
11188 in a indirect jump as a potential for conditional execution.
11189
11190 * d30v.h (d30v_init_expanders): Don't declare here.
11191 * d30v-protos.h (d30v_init_expanders): Declare here with a valid
11192 prototype.
11193
9d6c2770
NB
11194Sat 19-Aug-2000 21:11:45 BST Neil Booth <NeilB@earthling.net>
11195
11196 * cpp.texi: Add @section for assertions.
11197
e76d9acb
JW
11198Sat Aug 19 12:37:08 EDT 2000 John Wehle (john@feith.com)
11199
11200 * loop.c (scan_loop): Use CONST_CALL_P instead of
11201 checking for REG_LIBCALL / REG_RETVAL.
11202
f49957d6
JL
11203Sat Aug 19 09:18:47 2000 Jeffrey A Law (law@cygnus.com)
11204
850aac53
JL
11205 * reload1.c (reload_as_needed): Accept dumpfile argument,
11206 pass it to emit_reload_insns.
11207 (emit_reload_insns): Add new dumpfile argument. If non-null
11208 then dump the reloads for each insn into the dumpfile.
11209 (reload): Pass dumpfile to reload_as_needed.
11210
f49957d6
JL
11211 * invoke.texi: Clean up linux-gnu vs linux comments.
11212
041f25e6
RH
112132000-08-19 Richard Henderson <rth@cygnus.com>
11214
11215 * config/ia64/ia64.c (reg_or_5bit_operand): New.
11216 (ia64_depz_field_mask): New.
11217 * config/ia64/ia64.h (CONSTRAINT_OK_FOR_R): New.
11218 (PREDICATE_CODES): Update.
11219 * config/ia64/ia64.md: Update commentary.
11220 (depz_internal): New.
11221 (ashlsi3): Implement directly.
11222 (ashrsi3, lshrsi3): Simplify; rely on extv and extzv for constants.
11223 (ashldi3): Use shladd.
11224 * config/ia64/ia64-protos.h: Update.
11225
319ea138
ZW
112262000-08-18 Zack Weinberg <zack@wolery.cumb.org>
11227
11228 * toplev.c (independent_decode_option): Always process -g.
11229 Remove third argument, now unused. Adjust caller to match.
11230
8231ad94
RH
112312000-08-18 Richard Henderson <rth@cygnus.com>
11232
11233 * combine.c (make_compound_operation): Break after creating
11234 the extraction.
11235
6e19bb38
ZW
112362000-08-18 Zack Weinberg <zack@wolery.cumb.org>
11237
11238 * cpplib.c (cpp_register_pragma_space): Just return if the
11239 namespace is already registered.
11240
477d303f
RE
112412000-08-18 Ray Essick <essick@ddna.labs.mot.com> & Nick Clifton <nickc@redhat.com>
11242
11243 * config/mcore/mcore.md (rotlsi3): Allow allow rotations by a
11244 constant amount. Do not generate ROTL instruction.
11245
ffe51c8a
AO
11246Fri Aug 18 16:22:20 2000 Alexandre Oliva <aoliva@redhat.com>
11247
11248 * config/sh/elf.h: Do not include sh/sh.h.
11249 * config/sh/rtems.h: Likewise.
11250 * config/sh/rtemself.h: Do not include sh/elf.h.
11251 * configure.in: Get them included with `tm_file's.
11252 * configure: Rebuilt.
11253
8845e874
AO
11254 * config/sh/sh.md (fpu_switch0, fpu_switch1): Simplify.
11255 * config/sh/sh.c (fpscr_set_from_mem): Use them.
11256
3f546a53
RK
11257Fri Aug 18 14:23:18 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
11258
7d2950e5
RK
11259 * stor-layout.c (compute_record_type): Don't use mode of single
11260 field as mode of record if not integer mode of same type.
11261
a1c1fdd0
RK
11262 * regmove.c (perhaps_ends_bb_p): New function.
11263 (optimize_reg_copy_1, optimize_reg_copy_2): Call it.
11264 (optimize_reg_copy_3, fixup_match_2, regmove_optimize): Likewise.
11265 (fixup_match_1): Likewise.
11266 (fixup_match_1, combine_stack_adjustments_for_block): Add casts to
11267 avoid signed/unsigned warnings.
0e5921e8 11268
3f546a53
RK
11269 * function.c (fixup_var_refs_1, case MEM): Update CODE after
11270 updating X.
11271
61d0346d
NB
11272Fri 18-Aug-2000 18:33:45 BST Neil Booth <NeilB@earthling.net>
11273
11274 * cpphash.h: Use HAVE_DESIGNATED_INITIALIZERS.
11275 (_cpp_trigraph_map): Declaration moved from cpplex.c
11276
11277 * cppinit.c: Define _cpp_trigraph_map. Use UCHAR_MAX + 1
11278 instead of 256. Use consistent test for designated initializers.
11279 (cpp_init): Initialize trigraph_map.
11280 (initialize_standard_includes, parse_option): Use memcmp
11281 instead of strncmp.
11282
11283 * cpplex.c (init_trigraph_map): Remove.
11284 (trigraph_ok, trigraph_replace, lex_line): Refer to
11285 _cpp_trigraph_map.
11286
11287 * cpplib.c (str_match, WARNING, ERROR, ICE): Delete.
11288 (do_unassert): Remove unused "next" local.
11289
11290 * system.h (HAVE_DESIGNATED_INITIALIZERS): New prototype.
11291
ef42b1dd
EM
112922000-08-18 Emmanuel Marty <emarty@suntech.fr>
11293
11294 * arm/lib1funcs.asm (_umodsi3 THUMB VARIANT): Restore deleted return
11295 insn.
11296
bc08aefe
RH
112972000-08-17 Richard Henderson <rth@cygnus.com>
11298
11299 * config/ia64/ia64.c (spill_restore_mem): Handle emitting
11300 the first insn in a sequence.
11301
49982682
JW
11302Thu Aug 17 22:40:05 EDT 2000 John Wehle (john@feith.com)
11303
11304 * alias.c (true_dependence, write_dependence_p): A read
11305 involving a label_ref or the constant pool doesn't create
11306 a dependency.
11307
11308 * rtl.h (unchanging): Improve documentation.
11309
889e5964
RB
113102000-08-17 Rodney Brown <RodneyBrown@mynd.com>
11311
11312 * cse.c (insert_regs): Remove unused `regno'.
11313
dd69c71b
NB
113142000-08-17 Neil Booth <NeilB@earthling.net>
11315
11316 * (cppinit.c) merge_include_chains: Use remove_dup_dir,
11317 remove_dup_dirs. If qtail == brack, remove brack not
11318 qtail.
11319 (remove_dup_dir, remove_dup_dirs): New functions.
11320
709e9e50
NB
113212000-08-17 Neil Booth <NeilB@earthling.net>
11322
11323 * cppinit.c (cpp_cleanup): Free include dir chains.
11324 * cpplib.c (do_undef): Let _cpp_free_definition make the node void.
11325 (do_unassert): Free the assert with _cpp_free_definition.
11326 * cppmacro.c (_cpp_free_definition): Free memory allocated for
11327 assertions. Make the node a T_VOID node.
11328
e33f6253
NB
113292000-08-17 Neil Booth <NeilB@earthling.net>
11330
11331 * cppinit.c (path_include, append_include_chain):
11332 Remove 2nd parameter (struct cpp_pending *).
11333 (path_include, initialize_standard_includes, cpp_handle_option):
11334 Update callers appropriately.
11335 (cpp_handle_option): Use pend.
11336
c154ba66
NB
113372000-08-17 Neil Booth <NeilB@earthling.net>
11338
11339 * cppinit.c (sort_options): Remove, put functionality in
11340 cpp_init.
11341 (cpp_init): New.
11342 (initialize_builtins): Free memory.
11343 (cpp_start_read): Move init_IStable to cpp_init.
11344
11345 * cpplib.h (cpp_init): New prototype.
11346 * cppmain.c (main): Call cpp_init.
11347
9c82ac6b
JW
11348Thu Aug 17 13:20:32 EDT 2000 John Wehle (john@feith.com)
11349
11350 * rtlanal.c (rtx_unstable_p): Use CONSTANT_P.
11351 (rtx_unstable_p, rtx_varies_p): Process vectors.
11352
acd50a92
NY
113532000-08-16 Niibe Yutaka <gniibe@m17n.org>, Kaz Kojima <kkojima@rr.iij4u.or.jp>
11354
11355 * config/sh/lib1funcs.asm (GLOBAL): Define. Use for all
11356 references to GLOBAL symbols. Use LOCAL where appropriate.
11357
cfedbb1f
KG
113582000-08-16 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
11359
11360 * configure.in (*-ibm-aix4.[12]*): Delete test for gnu ld. Always
11361 use t-aix41 when host == target.
11362
31989264
RH
113632000-08-16 Richard Henderson <rth@cygnus.com>
11364
11365 * reload.c (push_secondary_reload): Revert last change.
11366 If we use a reload_in/out pattern, make the when the same
11367 as the primary reload.
11368 (find_reloads): Likewise.
11369
d84c5634
MH
113702000-08-16 Manfred Hollstein <manfredh@redhat.com>
11371
11372 * configure.in (libstdcxx-v3): Fix test.
11373 * configure: Regenerate.
11374
43db0363
RK
11375Wed Aug 16 08:10:32 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
11376
11377 * calls.c (calls_function_1, expand_call): Only test
11378 TYPE_RETURNS_STACK_DEPRESSED for FUNCTION_TYPE.
11379 * function.c (thread_prologue_and_epilogue_insns): Likewise.
11380
853d8828
RH
113812000-08-16 Richard Henderson <rth@cygnus.com>
11382
11383 * combine.c (simplify_shift_const): Revert previous two
11384 changes. If SHIFT_COUNT_TRUNCATED, crop the shift count
11385 before the main loop.
11386
3e626beb
RH
113872000-08-15 Richard Henderson <rth@cygnus.com>
11388
11389 * combine.c (simplify_shift_const): Bound shift count when
11390 combining shifts.
11391
f507188a
RK
11392Tue Aug 15 17:33:05 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
11393
7393c642
RK
11394 * calls.c (ECF_SP_DEPRESSED): New macro.
11395 (calls_function_1): Treat calling sp-depressed function as alloca.
11396 (emit_call_1): Don't adjust SP if calling sp-depressed function.
11397 (expand_call): Set ECF_SP_DEPRESSED if TYPE_RETURNS_STACK_DEPRESSED.
11398 If sp-depressed, ensure block saves and restores SP.
11399 * fold-const.c (extract_muldiv): Only check TYPE_IS_SIZETYPE
11400 for INTEGER_TYPE.
11401 * function.c (keep_stack_depressed): New function.
11402 (thread_prologue_and_epilogue_insns): Call it.
11403 * print-tree.c (print_node): Use HOST_WIDE_INT_PRINT_UNSIGNED
11404 to print DECL_OFFSET_ALIGN.
11405 Print no-force-blk and transparent-union flags properly.
11406 * stmt.c (expand_goto_internal): Don't restore stack if last block
11407 and function returns with sp depressed.
11408 (fixup_gotos): Likewise.
11409 (save_stack_pointer): New function, from code in expand_decl.
11410 (expand_decl): Call new function.
11411 * tree.h (TYPE_IS_SIZETYPE): Call INTEGER_TYPE_CHECK.
11412 (TYPE_RETURNS_STACK_DEPRESSED): New macro.
11413 (save_stack_pointer): New declaration.
11414
f507188a
RK
11415 * diagnostic.c (fatal_function): New variable.
11416 (set_fatal_function): New function.
11417 (fatal): Call it.
11418 * diagnostic.h (set_fatal_function): New declaration.
11419
56847207
WC
114202000-08-15 William Cohen <wcohen@redhat.com>
11421
11422 * config/sh/elf.h (DWARF2_DEBUGGING_INFO): Defined.
11423 (PREFERRED_DEBUGGING_TYPE): Set to dwarf2 info.
11424 (DWARF2_ASM_LINE_DEBUG_INFO): Defined.
11425
7791b7f9
RH
114262000-08-15 Richard Henderson <rth@cygnus.com>
11427
11428 * flow.c (mark_used_reg): Set reg_cond_reg appropriately.
11429
f99fce0c
RE
114302000-08-15 Richard Earnshaw <rearnsha@arm.com>
11431
11432 * arm.c (arm_function_ok_for_sibcall): New function.
11433 * arm.h (FUNCTION_OK_FOR_SIBCALL): Define.
11434 * arm.md (call expanders): Don't check here for calls that can't
11435 be sibling calls.
11436
74da3101
RE
114372000-08-15 Richard Earnshaw <rearnsha@arm.com>
11438
11439 * arm.md (splits generating cond_exec): Disable.
11440
2c210617
RE
114412000-08-15 Richard Earnshaw <rearnsha@arm.com>
11442
11443 * arm/linux-elf.h (text_section): Delete declaration.
11444
05ed98a1
RE
114452000-08-15 Richard Earnshaw <rearnsha@arm.com>
11446
11447 ARM support for unordered FP operations.
11448 * arm-protos.h (arm_comparison_operator): Declare.
11449 * arm.c (arm_comparison_operator): New function.
11450 (arm_select_cc_mode): Add unordered comparison codes.
11451 (get_arm_condition_code): Likewise.
11452 (arm_final_prescan_insn): Can't handle unordered jumps that can't
11453 be done in one insn.
11454 * arm.h (PREDICATE_CODES): Add arm_comparison_operator.
11455 * arm.md (all uses of comparison_operator): Replace with
11456 arm_comparison_operator.
11457 (bunordered, bordered, bugt, bunlt, bunge, bunle, buneq, bltgt): New
11458 expands.
11459 (arm_buneq, arm_bltgt, arm_buneq_reversed, arm_bltgt_reveresed): New
11460 patterns.
0e5921e8 11461
ed78c862
OP
11462Tue Aug 15 00:36:36 2000 Ovidiu Predescu <ovidiu@cup.hp.com>
11463
11464 * gthr-posix.h: Conditionally include <sched.h>; include
11465 <config.h> from libobjc/.
11466
4859dd36
RH
114672000-08-14 Richard Henderson <rth@cygnus.com>
11468
11469 * config/i386/i386.c (legitimize_pic_address): Use Pmode
11470 for all CONSTs.
11471
3f622353
RH
114722000-08-14 Richard Henderson <rth@cygnus.com>
11473
11474 * configure.in (ia64-*): Set float_format for i386 long double.
11475
11476 * real.c (GET_REAL): Treat 128-bit INTEL_EXTENDED_IEEE_FORMAT
11477 as we would for i386 XFmode.
11478 (PUT_REAL): Likewise.
11479 (endian, ereal_atof, real_value_truncate): Likewise.
11480 (ereal_isneg, toe64, etens, make_nan): Likewise.
11481 * real.h (REAL_VALUE_TO_TARGET_LONG_DOUBLE): Likewise.
11482
11483 * config/ia64/ia64-protos.h: Update.
11484 * config/ia64/ia64.c (general_tfmode_operand): New.
11485 (destination_tfmode_operand): New.
11486 (tfreg_or_fp01_operand): New.
11487 (ia64_split_timode): New.
11488 (spill_tfmode_operand): New.
11489 (ia64_expand_prologue): Use TFmode not XFmode.
11490 (ia64_expand_epilogue): Likewise.
11491 (ia64_function_arg): Likewise.
11492 (ia64_function_arg_advance): Likewise.
11493 (ia64_return_in_memory): Likewise.
11494 (ia64_function_value): Likewise.
11495 (ia64_print_operand): Likewise.
11496 (ia64_register_move_cost): Set GR<->FR to 5.
11497 (ia64_secondary_reload_class): Get GR for TImode memory op.
11498 * config/ia64/ia64.h (ROUND_TYPE_SIZE): Remove.
11499 (ROUND_TYPE_ALIGN): Remove.
11500 (LONG_DOUBLE_TYPE_SIZE): Set to 128.
11501 (INTEL_EXTENDED_IEEE_FORMAT): Define.
11502 (HARD_REGNO_NREGS): Use TFmode, not XFmode.
11503 (HARD_REGNO_MODE_OK): Likewise. Disallow TImode in FRs.
11504 (MODES_TIEABLE_P): Use TFmode, not XFmode.
11505 (CLASS_MAX_NREGS): Likewise.
11506 (ASM_OUTPUT_LONG_DOUBLE): Output by 4 byte hunks.
11507 (PREDICATE_CODES): Update.
11508 * config/ia64/ia64.md (movti): New.
11509 (movti_internal): Use a clobber for memory alternatives.
11510 (reload_inti, reload_outti): New.
11511 (movsfcc_astep): Predicate properly.
11512 (movdfcc_astep): Likewise.
11513 (movxf): Remove.
11514 (movtf): New.
11515 (extendsftf2, extenddftf2): New.
11516 (trunctfsf2, trunctfdf2): New.
11517 (floatditf2, fix_trunctfdi2): New.
11518 (floatunsditf2, fixuns_trunctfdi2): New.
11519 (addtf3, subtf3, multf3, abstf2): New.
11520 (negtf2, nabstf2, mintf3, maxtf3): New.
11521 (maddtf3, msubtf3, nmultf3, nmaddtf3): New.
11522 (cmptf): New.
11523 (fr_spill): Use TFmode, not XFmode.
11524 (fr_restore): Likewise.
11525 * config/ia64/lib1funcs.asm (__divtf3): New.
11526 * config/ia64/t-ia64 (LIB1ASMFUNCS): Add it.
11527
e49a1d2e
KG
115282000-08-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
11529
11530 * cse.c (fold_rtx): Avoid empty body in an if-statement.
0e5921e8 11531
e49a1d2e
KG
11532 * doloop.c (doloop_iterations_max, doloop_modify): Avoid using the
11533 `U' integer constant suffix.
11534
11535 * dwarf2out.c (add_subscript_info): Avoid empty body in an
11536 else-statement.
11537
11538 * sparc/sol2.h (__enable_execute_stack): Prototype.
11539
78fbdbf7
DE
115402000-08-14 David Edelsohn <edelsohn@gnu.org>
11541
11542 * collect2.c: Remove use of AIX import file.
11543
11544 * longlong.h: Test ARCH_PWR not ARCH_POWER.
11545
11546 * rs6000.c (print_operand, case 'E'): Add else.
11547
9a89adb8
RH
115482000-08-14 Richard Henderson <rth@cygnus.com>
11549
11550 * config/ia64/ia64.md (movdi): Delay calling ia64_expand_load_address.
11551 (movdi_symbolic): New.
11552
00e149c7
JW
115532000-08-14 Jim Wilson <wilson@cygnus.com>
11554
11555 * config/ia64/ia64.h (ASM_SPEC): Pass -mconstant-gp and -mauto-pic
11556 to GNU as. For Intel as, pass -M const_gp and -M no_plabel.
11557 * config/ia64/linux.h (ASM_SPEC): Pass -mconstant-gp and -mauto-pic
11558 to GNU as.
11559
2ee5437b
RH
115602000-08-14 Richard Henderson <rth@cygnus.com>
11561
11562 * expr.c (emit_group_load): Don't force constants into registers.
11563 Special case source already in the correct mode.
11564
57119aa9
ZW
115652000-08-14 Zack Weinberg <zack@wolery.cumb.org>
11566
11567 * configure.in: Accept *-*-linux* not just *-*-linux-gnu*.
11568 * fixinc/inclhack.def: Likewise.
0e5921e8 11569 * fixinc/mkfixinc.sh: Likewise.
57119aa9
ZW
11570 * configure: Regenerate.
11571 * fixinc/fixincl.x: Regenerate.
11572 * install.texi: Document equivalence of linux and linux-gnu.
11573
d9f20424
R
11574Mon Aug 14 18:51:44 2000 J"orn Rennecke <amylaar@cygnus.co.uk>
11575
11576 * cse.c (insert_regs): Also in REG case: When finding an invalid
11577 value, and we make a new quantity, make sure that it won't be
11578 mistaken by for a valid one by mention_regs.
11579
c8fa6556
RG
11580